Home
last modified time | relevance | path

Searched refs:vino (Results 1 – 10 of 10) sorted by relevance

/fs/ceph/
Dexport.c127 struct ceph_vino vino; in __lookup_inode() local
130 vino.ino = ino; in __lookup_inode()
131 vino.snap = CEPH_NOSNAP; in __lookup_inode()
132 inode = ceph_find_inode(sb, vino); in __lookup_inode()
147 req->r_ino1 = vino; in __lookup_inode()
200 struct ceph_vino vino; in __snapfh_to_dentry() local
206 vino.ino = sfh->parent_ino; in __snapfh_to_dentry()
208 vino.snap = CEPH_NOSNAP; in __snapfh_to_dentry()
210 vino.snap = CEPH_SNAPDIR; in __snapfh_to_dentry()
212 vino.snap = sfh->snapid; in __snapfh_to_dentry()
[all …]
Dsuper.h436 static inline u32 ceph_ino_to_ino32(__u64 vino) in ceph_ino_to_ino32() argument
438 u32 ino = vino & 0xffffffff; in ceph_ino_to_ino32()
439 ino ^= vino >> 32; in ceph_ino_to_ino32()
448 static inline ino_t ceph_vino_to_ino(struct ceph_vino vino) in ceph_vino_to_ino() argument
451 return ceph_ino_to_ino32(vino.ino); in ceph_vino_to_ino()
453 return (ino_t)vino.ino; in ceph_vino_to_ino()
496 struct ceph_vino vino) in ceph_find_inode() argument
498 ino_t t = ceph_vino_to_ino(vino); in ceph_find_inode()
499 return ilookup5(sb, t, ceph_ino_compare, &vino); in ceph_find_inode()
901 struct ceph_vino vino);
Dquota.c43 struct ceph_vino vino; in ceph_handle_quota() local
60 vino.ino = le64_to_cpu(h->ino); in ceph_handle_quota()
61 vino.snap = CEPH_NOSNAP; in ceph_handle_quota()
62 inode = ceph_find_inode(sb, vino); in ceph_handle_quota()
64 pr_warn("Failed to find inode %llu\n", vino.ino); in ceph_handle_quota()
Dinode.c50 struct inode *ceph_get_inode(struct super_block *sb, struct ceph_vino vino) in ceph_get_inode() argument
53 ino_t t = ceph_vino_to_ino(vino); in ceph_get_inode()
55 inode = iget5_locked(sb, t, ceph_ino_compare, ceph_set_ino_cb, &vino); in ceph_get_inode()
64 dout("get_inode on %lu=%llx.%llx got %p\n", inode->i_ino, vino.ino, in ceph_get_inode()
65 vino.snap, inode); in ceph_get_inode()
74 struct ceph_vino vino = { in ceph_get_snapdir() local
78 struct inode *inode = ceph_get_inode(parent->i_sb, vino); in ceph_get_snapdir()
1481 struct ceph_vino vino; in readdir_prepopulate_inodes_only() local
1485 vino.ino = le64_to_cpu(rde->inode.in->ino); in readdir_prepopulate_inodes_only()
1486 vino.snap = le64_to_cpu(rde->inode.in->snapid); in readdir_prepopulate_inodes_only()
[all …]
Daddr.c306 struct ceph_vino vino; in start_read() local
356 vino = ceph_vino(inode); in start_read()
357 req = ceph_osdc_new_request(osdc, &ci->i_layout, vino, off, &len, in start_read()
777 struct ceph_vino vino = ceph_vino(inode); in ceph_writepages_start() local
1022 &ci->i_layout, vino, in ceph_writepages_start()
1029 &ci->i_layout, vino, in ceph_writepages_start()
Dfile.c937 struct ceph_vino vino; in ceph_direct_read_write() local
978 vino = ceph_vino(inode); in ceph_direct_read_write()
980 vino, pos, &size, 0, in ceph_direct_read_write()
1139 struct ceph_vino vino; in ceph_sync_write() local
1174 vino = ceph_vino(inode); in ceph_sync_write()
1176 vino, pos, &len, 0, 1, in ceph_sync_write()
Ddir.c501 struct ceph_vino vino; in ceph_readdir() local
514 vino.ino = le64_to_cpu(rde->inode.in->ino); in ceph_readdir()
515 vino.snap = le64_to_cpu(rde->inode.in->snapid); in ceph_readdir()
516 ino = ceph_vino_to_ino(vino); in ceph_readdir()
Dcaps.c3862 struct ceph_vino vino; in ceph_handle_caps() local
3876 vino.ino = le64_to_cpu(h->ino); in ceph_handle_caps()
3877 vino.snap = CEPH_NOSNAP; in ceph_handle_caps()
3964 inode = ceph_find_inode(mdsc->fsc->sb, vino); in ceph_handle_caps()
3966 dout(" op %s ino %llx.%llx inode %p\n", ceph_cap_op_name(op), vino.ino, in ceph_handle_caps()
3967 vino.snap, inode); in ceph_handle_caps()
3975 dout(" i don't have ino %llx\n", vino.ino); in ceph_handle_caps()
3979 cap->cap_ino = vino.ino; in ceph_handle_caps()
Dmds_client.c1490 struct ceph_vino vino; in remove_session_caps() local
1504 vino = cap->ci->i_vino; in remove_session_caps()
1507 inode = ceph_find_inode(sb, vino); in remove_session_caps()
3874 struct ceph_vino vino; in handle_lease() local
3883 vino.ino = le64_to_cpu(h->ino); in handle_lease()
3884 vino.snap = CEPH_NOSNAP; in handle_lease()
3892 inode = ceph_find_inode(sb, vino); in handle_lease()
3894 ceph_lease_op_name(h->action), vino.ino, inode, in handle_lease()
3901 dout("handle_lease no inode %llx\n", vino.ino); in handle_lease()
Dsnap.c939 struct ceph_vino vino = { in ceph_handle_snap() local
943 struct inode *inode = ceph_find_inode(sb, vino); in ceph_handle_snap()