Lines Matching refs:mdsc
260 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir() local
326 req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); in ceph_readdir()
354 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_readdir()
624 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_lookup() local
664 req = ceph_mdsc_create_request(mdsc, op, USE_ANY_MDS); in ceph_lookup()
672 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_lookup()
711 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mknod() local
725 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_MKNOD, USE_AUTH_MDS); in ceph_mknod()
741 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_mknod()
764 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_symlink() local
772 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_SYMLINK, USE_AUTH_MDS); in ceph_symlink()
788 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_symlink()
801 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mkdir() local
824 req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); in ceph_mkdir()
840 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_mkdir()
859 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_link() local
868 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_LINK, USE_AUTH_MDS); in ceph_link()
881 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_link()
918 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink() local
935 req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); in ceph_unlink()
946 err = ceph_mdsc_do_request(mdsc, dir, req); in ceph_unlink()
958 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_rename() local
973 req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); in ceph_rename()
990 err = ceph_mdsc_do_request(mdsc, old_dir, req); in ceph_rename()
1243 struct ceph_mds_client *mdsc; in ceph_dentry_lru_add() local
1246 mdsc = ceph_sb_to_client(dn->d_sb)->mdsc; in ceph_dentry_lru_add()
1247 spin_lock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_add()
1248 list_add_tail(&di->lru, &mdsc->dentry_lru); in ceph_dentry_lru_add()
1249 mdsc->num_dentry++; in ceph_dentry_lru_add()
1250 spin_unlock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_add()
1256 struct ceph_mds_client *mdsc; in ceph_dentry_lru_touch() local
1260 mdsc = ceph_sb_to_client(dn->d_sb)->mdsc; in ceph_dentry_lru_touch()
1261 spin_lock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_touch()
1262 list_move_tail(&di->lru, &mdsc->dentry_lru); in ceph_dentry_lru_touch()
1263 spin_unlock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_touch()
1269 struct ceph_mds_client *mdsc; in ceph_dentry_lru_del() local
1272 mdsc = ceph_sb_to_client(dn->d_sb)->mdsc; in ceph_dentry_lru_del()
1273 spin_lock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_del()
1275 mdsc->num_dentry--; in ceph_dentry_lru_del()
1276 spin_unlock(&mdsc->dentry_lru_lock); in ceph_dentry_lru_del()