Lines Matching refs:endoff
2497 loff_t endoff, bool nonblock, int *got, int *err) in try_get_cap_refs() argument
2536 if (endoff >= 0 && endoff > (loff_t)ci->i_max_size) { in try_get_cap_refs()
2538 inode, endoff, ci->i_max_size); in try_get_cap_refs()
2539 if (endoff > ci->i_requested_max_size) { in try_get_cap_refs()
2651 static void check_max_size(struct inode *inode, loff_t endoff) in check_max_size() argument
2658 if (endoff >= ci->i_max_size && endoff > ci->i_wanted_max_size) { in check_max_size()
2660 inode, endoff); in check_max_size()
2661 ci->i_wanted_max_size = endoff; in check_max_size()
2701 loff_t endoff, int *got, struct page **pinned_page) in ceph_get_caps() argument
2710 if (endoff > 0) in ceph_get_caps()
2711 check_max_size(&ci->vfs_inode, endoff); in ceph_get_caps()
2715 ret = try_get_cap_refs(ci, need, want, endoff, in ceph_get_caps()
2726 while (!try_get_cap_refs(ci, need, want, endoff, in ceph_get_caps()