/kernel/linux/linux-5.10/fs/erofs/ |
H A D | zmap.c | 394 unsigned int lclusterbits, endoff; in z_erofs_map_blocks_iter() local 414 endoff = ofs & ((1 << lclusterbits) - 1); in z_erofs_map_blocks_iter() 425 if (endoff >= m.clusterofs) in z_erofs_map_blocks_iter() 429 if (endoff >= m.clusterofs) { in z_erofs_map_blocks_iter() 433 /* m.lcn should be >= 1 if endoff < m.clusterofs */ in z_erofs_map_blocks_iter()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | reflink.c | 15 u64 endoff, in clone_finish_inode_update() 30 if (endoff > destoff + olen) in clone_finish_inode_update() 31 endoff = destoff + olen; in clone_finish_inode_update() 32 if (endoff > inode->i_size) { in clone_finish_inode_update() 33 i_size_write(inode, endoff); in clone_finish_inode_update() 13 clone_finish_inode_update(struct btrfs_trans_handle *trans, struct inode *inode, u64 endoff, const u64 destoff, const u64 olen, int no_time_update) clone_finish_inode_update() argument
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | reflink.c | 23 u64 endoff, in clone_finish_inode_update() 39 if (endoff > destoff + olen) in clone_finish_inode_update() 40 endoff = destoff + olen; in clone_finish_inode_update() 41 if (endoff > inode->i_size) { in clone_finish_inode_update() 42 i_size_write(inode, endoff); in clone_finish_inode_update() 21 clone_finish_inode_update(struct btrfs_trans_handle *trans, struct inode *inode, u64 endoff, const u64 destoff, const u64 olen, int no_time_update) clone_finish_inode_update() argument
|
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | file.c | 1035 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete() local 1036 if (endoff > i_size_read(inode)) { in ceph_aio_complete() 1037 if (ceph_inode_set_size(inode, endoff)) in ceph_aio_complete() 1111 loff_t endoff = aio_req->iocb->ki_pos + rc; in ceph_aio_complete_req() local 1112 if (endoff < i_size) in ceph_aio_complete_req() 1114 i_size - endoff); in ceph_aio_complete_req() 2086 loff_t endoff = 0; in ceph_fallocate() local 2125 ret = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, endoff, &got, NULL); in ceph_fallocate() 2212 loff_t size, endoff; in is_file_size_ok() local 2228 endoff in is_file_size_ok() [all...] |
H A D | caps.c | 2729 loff_t endoff, int flags, int *got) in try_get_cap_refs() 2764 if (endoff >= 0 && endoff > (loff_t)ci->i_max_size) { in try_get_cap_refs() 2765 dout("get_cap_refs %p endoff %llu > maxsize %llu\n", in try_get_cap_refs() 2766 inode, endoff, ci->i_max_size); in try_get_cap_refs() 2767 if (endoff > ci->i_requested_max_size) in try_get_cap_refs() 2882 static void check_max_size(struct inode *inode, loff_t endoff) in check_max_size() argument 2889 if (endoff >= ci->i_max_size && endoff > ci->i_wanted_max_size) { in check_max_size() 2890 dout("write %p at large endoff in check_max_size() 2728 try_get_cap_refs(struct inode *inode, int need, int want, loff_t endoff, int flags, int *got) try_get_cap_refs() argument 2946 ceph_get_caps(struct file *filp, int need, int want, loff_t endoff, int *got, struct page **pinned_page) ceph_get_caps() argument [all...] |
H A D | super.h | 1154 loff_t endoff, int *got, struct page **pinned_page);
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | bmap.c | 649 xfs_fileoff_t endoff; in xchk_bmap() local 712 error = xfs_bmap_last_offset(ip, &endoff, whichfork); in xchk_bmap() 725 if (irec.br_startoff >= endoff) { in xchk_bmap()
|
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | file.c | 1214 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete() local 1215 if (endoff > i_size_read(inode)) { in ceph_aio_complete() 1216 if (ceph_inode_set_size(inode, endoff)) in ceph_aio_complete() 1283 loff_t endoff = aio_req->iocb->ki_pos + rc; in ceph_aio_complete_req() local 1284 if (endoff < i_size) in ceph_aio_complete_req() 1286 i_size - endoff); in ceph_aio_complete_req() 2562 loff_t endoff = 0; in ceph_fallocate() local 2601 ret = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, endoff, &got); in ceph_fallocate() 2695 loff_t size, endoff; in is_file_size_ok() local 2711 endoff in is_file_size_ok() [all...] |
H A D | caps.c | 2747 loff_t endoff, int flags, int *got) in try_get_cap_refs() 2782 if (endoff >= 0 && endoff > (loff_t)ci->i_max_size) { in try_get_cap_refs() 2783 dout("get_cap_refs %p endoff %llu > maxsize %llu\n", in try_get_cap_refs() 2784 inode, endoff, ci->i_max_size); in try_get_cap_refs() 2785 if (endoff > ci->i_requested_max_size) in try_get_cap_refs() 2900 static void check_max_size(struct inode *inode, loff_t endoff) in check_max_size() argument 2907 if (endoff >= ci->i_max_size && endoff > ci->i_wanted_max_size) { in check_max_size() 2908 dout("write %p at large endoff in check_max_size() 2746 try_get_cap_refs(struct inode *inode, int need, int want, loff_t endoff, int flags, int *got) try_get_cap_refs() argument 2964 __ceph_get_caps(struct inode *inode, struct ceph_file_info *fi, int need, int want, loff_t endoff, int *got) __ceph_get_caps() argument 3091 ceph_get_caps(struct file *filp, int need, int want, loff_t endoff, int *got) ceph_get_caps() argument [all...] |
H A D | super.h | 1274 int need, int want, loff_t endoff, int *got); 1276 loff_t endoff, int *got);
|
/kernel/linux/linux-6.6/fs/erofs/ |
H A D | zmap.c | 457 unsigned int lclusterbits, endoff, afmt; in z_erofs_do_map_blocks() local 464 endoff = ofs & ((1 << lclusterbits) - 1); in z_erofs_do_map_blocks() 480 if (endoff >= m.clusterofs) { in z_erofs_do_map_blocks() 492 /* m.lcn should be >= 1 if endoff < m.clusterofs */ in z_erofs_do_map_blocks()
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | bmap.c | 839 xfs_fileoff_t endoff; in xchk_bmap() local 898 error = xfs_bmap_last_offset(ip, &endoff, whichfork); in xchk_bmap() 915 if (irec.br_startoff >= endoff) { in xchk_bmap()
|
/kernel/linux/linux-6.6/fs/udf/ |
H A D | directory.c | 375 int endoff = off + udf_dir_entry_len(fi); in udf_copy_fi_to_bufs() local 389 endoff - off); in udf_copy_fi_to_bufs()
|
/kernel/linux/linux-5.10/fs/fuse/ |
H A D | file.c | 2312 size_t endoff = (pos + copied) & ~PAGE_MASK; in fuse_write_end() local 2313 if (endoff) in fuse_write_end() 2314 zero_user_segment(page, endoff, PAGE_SIZE); in fuse_write_end()
|
/kernel/linux/linux-6.6/fs/fuse/ |
H A D | file.c | 2377 size_t endoff = pos & ~PAGE_MASK; in fuse_write_end() local 2378 if (endoff) in fuse_write_end() 2379 zero_user_segment(page, endoff, PAGE_SIZE); in fuse_write_end()
|