Lines Matching refs:mdsc
249 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir() local
332 req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); in ceph_readdir()
357 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_readdir()
614 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_lookup() local
654 req = ceph_mdsc_create_request(mdsc, op, USE_ANY_MDS); in ceph_lookup()
662 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_lookup()
701 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mknod() local
715 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_MKNOD, USE_AUTH_MDS); in ceph_mknod()
731 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_mknod()
754 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_symlink() local
762 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_SYMLINK, USE_AUTH_MDS); in ceph_symlink()
778 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_symlink()
791 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mkdir() local
814 req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); in ceph_mkdir()
830 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_mkdir()
849 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_link() local
858 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_LINK, USE_AUTH_MDS); in ceph_link()
871 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_link()
908 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink() local
925 req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); in ceph_unlink()
936 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_unlink()
948 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_rename() local
963 req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); in ceph_rename()
980 err = ceph_mdsc_do_request(mdsc, old_dir, req); in ceph_rename()
1294 struct ceph_mds_client *mdsc; in ceph_dentry_lru_add() local
1297 mdsc = ceph_sb_to_client(dn->d_sb)->mdsc; in ceph_dentry_lru_add()
1298 spin_lock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_add()
1299 list_add_tail(&di->lru, &mdsc->dentry_lru); in ceph_dentry_lru_add()
1300 mdsc->num_dentry++; in ceph_dentry_lru_add()
1301 spin_unlock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_add()
1307 struct ceph_mds_client *mdsc; in ceph_dentry_lru_touch() local
1311 mdsc = ceph_sb_to_client(dn->d_sb)->mdsc; in ceph_dentry_lru_touch()
1312 spin_lock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_touch()
1313 list_move_tail(&di->lru, &mdsc->dentry_lru); in ceph_dentry_lru_touch()
1314 spin_unlock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_touch()
1320 struct ceph_mds_client *mdsc; in ceph_dentry_lru_del() local
1323 mdsc = ceph_sb_to_client(dn->d_sb)->mdsc; in ceph_dentry_lru_del()
1324 spin_lock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_del()
1326 mdsc->num_dentry--; in ceph_dentry_lru_del()
1327 spin_unlock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_del()