Searched refs:endoff (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/fs/ceph/ |
D | file.c | 768 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete() local 769 if (endoff > i_size_read(inode)) { in ceph_aio_complete() 770 if (ceph_inode_set_size(inode, endoff)) in ceph_aio_complete() 833 loff_t endoff = aio_req->iocb->ki_pos + rc; in ceph_aio_complete_req() local 834 if (endoff < i_size) in ceph_aio_complete_req() 836 i_size - endoff); in ceph_aio_complete_req() 1782 loff_t endoff = 0; in ceph_fallocate() local 1821 ret = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, endoff, &got, NULL); in ceph_fallocate() 1908 loff_t size, endoff; in is_file_size_ok() local 1924 endoff = dst_off + len; in is_file_size_ok() [all …]
|
D | caps.c | 2541 loff_t endoff, int flags, int *got) in try_get_cap_refs() argument 2586 if (endoff >= 0 && endoff > (loff_t)ci->i_max_size) { in try_get_cap_refs() 2588 inode, endoff, ci->i_max_size); in try_get_cap_refs() 2589 if (endoff > ci->i_requested_max_size) in try_get_cap_refs() 2695 static void check_max_size(struct inode *inode, loff_t endoff) in check_max_size() argument 2702 if (endoff >= ci->i_max_size && endoff > ci->i_wanted_max_size) { in check_max_size() 2704 inode, endoff); in check_max_size() 2705 ci->i_wanted_max_size = endoff; in check_max_size() 2740 loff_t endoff, int *got, struct page **pinned_page) in ceph_get_caps() argument 2757 if (endoff > 0) in ceph_get_caps() [all …]
|
D | super.h | 1077 loff_t endoff, int *got, struct page **pinned_page);
|
/Linux-v5.4/fs/erofs/ |
D | zmap.c | 386 unsigned int lclusterbits, endoff; in z_erofs_map_blocks_iter() local 406 endoff = ofs & ((1 << lclusterbits) - 1); in z_erofs_map_blocks_iter() 417 if (endoff >= m.clusterofs) in z_erofs_map_blocks_iter() 421 if (endoff >= m.clusterofs) { in z_erofs_map_blocks_iter()
|
/Linux-v5.4/fs/xfs/ |
D | xfs_bmap_util.h | 33 int xfs_bmap_eof(struct xfs_inode *ip, xfs_fileoff_t endoff,
|
D | xfs_bmap_util.c | 189 xfs_fileoff_t endoff, in xfs_bmap_eof() argument 200 *eof = endoff >= rec.br_startoff + rec.br_blockcount; in xfs_bmap_eof()
|
/Linux-v5.4/fs/xfs/scrub/ |
D | bmap.c | 631 xfs_fileoff_t endoff; in xchk_bmap() local 697 error = xfs_bmap_last_offset(ip, &endoff, whichfork); in xchk_bmap() 710 if (irec.br_startoff >= endoff) { in xchk_bmap()
|
/Linux-v5.4/fs/btrfs/ |
D | ioctl.c | 3301 u64 endoff, in clone_finish_inode_update() argument 3316 if (endoff > destoff + olen) in clone_finish_inode_update() 3317 endoff = destoff + olen; in clone_finish_inode_update() 3318 if (endoff > inode->i_size) in clone_finish_inode_update() 3319 btrfs_i_size_write(BTRFS_I(inode), endoff); in clone_finish_inode_update()
|
/Linux-v5.4/fs/fuse/ |
D | file.c | 2203 size_t endoff = (pos + copied) & ~PAGE_MASK; in fuse_write_end() local 2204 if (endoff) in fuse_write_end() 2205 zero_user_segment(page, endoff, PAGE_SIZE); in fuse_write_end()
|