Lines Matching refs:mdsc

305 	struct ceph_mds_client *mdsc = fsc->mdsc;  in ceph_readdir()  local
376 req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); in ceph_readdir()
413 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_readdir()
733 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_lookup() local
770 req = ceph_mdsc_create_request(mdsc, op, USE_ANY_MDS); in ceph_lookup()
783 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_lookup()
822 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mknod() local
841 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_MKNOD, USE_AUTH_MDS); in ceph_mknod()
858 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_mknod()
881 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_symlink() local
894 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_SYMLINK, USE_AUTH_MDS); in ceph_symlink()
911 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_symlink()
924 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mkdir() local
953 req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); in ceph_mkdir()
970 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_mkdir()
989 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_link() local
998 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_LINK, USE_AUTH_MDS); in ceph_link()
1012 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_link()
1029 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink() local
1046 req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); in ceph_unlink()
1058 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_unlink()
1071 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_rename() local
1094 req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); in ceph_rename()
1114 err = ceph_mdsc_do_request(mdsc, old_dir, req); in ceph_rename()
1257 struct ceph_mds_client *mdsc = in ceph_d_revalidate() local
1258 ceph_sb_to_client(dir->i_sb)->mdsc; in ceph_d_revalidate()
1268 req = ceph_mdsc_create_request(mdsc, op, USE_ANY_MDS); in ceph_d_revalidate()
1279 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_d_revalidate()
1430 struct ceph_mds_client *mdsc; in ceph_dentry_lru_add() local
1433 mdsc = ceph_sb_to_client(dn->d_sb)->mdsc; in ceph_dentry_lru_add()
1434 spin_lock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_add()
1435 list_add_tail(&di->lru, &mdsc->dentry_lru); in ceph_dentry_lru_add()
1436 mdsc->num_dentry++; in ceph_dentry_lru_add()
1437 spin_unlock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_add()
1443 struct ceph_mds_client *mdsc; in ceph_dentry_lru_touch() local
1447 mdsc = ceph_sb_to_client(dn->d_sb)->mdsc; in ceph_dentry_lru_touch()
1448 spin_lock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_touch()
1449 list_move_tail(&di->lru, &mdsc->dentry_lru); in ceph_dentry_lru_touch()
1450 spin_unlock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_touch()
1456 struct ceph_mds_client *mdsc; in ceph_dentry_lru_del() local
1459 mdsc = ceph_sb_to_client(dn->d_sb)->mdsc; in ceph_dentry_lru_del()
1460 spin_lock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_del()
1462 mdsc->num_dentry--; in ceph_dentry_lru_del()
1463 spin_unlock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_del()