Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ceph/
Dfile.c2745 static int get_rd_wr_caps(struct file *src_filp, int *src_got, in get_rd_wr_caps() argument
2765 false, src_got); in get_rd_wr_caps()
2776 CEPH_CAP_FILE_SHARED, -1, src_got); in get_rd_wr_caps()
2780 ceph_put_cap_refs(ceph_inode(file_inode(src_filp)), *src_got); in get_rd_wr_caps()
2787 static void put_rd_wr_caps(struct ceph_inode_info *src_ci, int src_got, in put_rd_wr_caps() argument
2790 ceph_put_cap_refs(src_ci, src_got); in put_rd_wr_caps()
2968 int src_got = 0, dst_got = 0, err, dirty; in __ceph_copy_file_range() local
3038 err = get_rd_wr_caps(src_file, &src_got, in __ceph_copy_file_range()
3084 put_rd_wr_caps(src_ci, src_got, dst_ci, dst_got); in __ceph_copy_file_range()
3093 err = get_rd_wr_caps(src_file, &src_got, in __ceph_copy_file_range()
[all …]