Home
last modified time | relevance | path

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

/linux/fs/ceph/
H A Dfile.c2814 static int get_rd_wr_caps(struct file *src_filp, int *src_got, in get_rd_wr_caps() argument
2834 false, src_got); in get_rd_wr_caps()
2845 CEPH_CAP_FILE_SHARED, -1, src_got); in get_rd_wr_caps()
2849 ceph_put_cap_refs(ceph_inode(file_inode(src_filp)), *src_got); in get_rd_wr_caps()
2856 static void put_rd_wr_caps(struct ceph_inode_info *src_ci, int src_got, in put_rd_wr_caps() argument
2859 ceph_put_cap_refs(src_ci, src_got); in put_rd_wr_caps()
3037 int src_got = 0, dst_got = 0, err, dirty; in __ceph_copy_file_range() local
3107 err = get_rd_wr_caps(src_file, &src_got, in __ceph_copy_file_range()
3153 put_rd_wr_caps(src_ci, src_got, dst_ci, dst_got); in __ceph_copy_file_range()
3162 err = get_rd_wr_caps(src_file, &src_got, in __ceph_copy_file_range()
[all …]