Home
last modified time | relevance | path

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

/openbmc/linux/fs/ceph/
H A Dfile.c2637 static int get_rd_wr_caps(struct file *src_filp, int *src_got, in get_rd_wr_caps() argument
2657 false, src_got); in get_rd_wr_caps()
2668 CEPH_CAP_FILE_SHARED, -1, src_got); in get_rd_wr_caps()
2672 ceph_put_cap_refs(ceph_inode(file_inode(src_filp)), *src_got); in get_rd_wr_caps()
2679 static void put_rd_wr_caps(struct ceph_inode_info *src_ci, int src_got, in put_rd_wr_caps() argument
2682 ceph_put_cap_refs(src_ci, src_got); in put_rd_wr_caps()
2856 int src_got = 0, dst_got = 0, err, dirty; in __ceph_copy_file_range() local
2926 err = get_rd_wr_caps(src_file, &src_got, in __ceph_copy_file_range()
2971 put_rd_wr_caps(src_ci, src_got, dst_ci, dst_got); in __ceph_copy_file_range()
2980 err = get_rd_wr_caps(src_file, &src_got, in __ceph_copy_file_range()
[all …]