Home
last modified time | relevance | path

Searched refs:xfs_fileoff_t (Results 1 – 25 of 45) sorted by relevance

12

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_bmap.h27 xfs_fileoff_t offset; /* offset in file filling in */
181 void xfs_trim_extent(struct xfs_bmbt_irec *irec, xfs_fileoff_t bno,
192 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
194 xfs_fileoff_t *last_block, int whichfork);
195 int xfs_bmap_last_offset(struct xfs_inode *ip, xfs_fileoff_t *unused,
198 int xfs_bmapi_read(struct xfs_inode *ip, xfs_fileoff_t bno,
202 xfs_fileoff_t bno, xfs_filblks_t len, int flags,
205 xfs_fileoff_t bno, xfs_filblks_t *rlen, int flags,
208 xfs_fileoff_t bno, xfs_filblks_t len, int flags,
218 xfs_fileoff_t *next_fsb, xfs_fileoff_t offset_shift_fsb,
[all …]
Dxfs_types.h32 typedef uint64_t xfs_fileoff_t; /* block number in a file */ typedef
50 #define NULLFILEOFF ((xfs_fileoff_t)-1)
166 xfs_fileoff_t br_startoff; /* starting file offset */
201 bool xfs_verify_dablk(struct xfs_mount *mp, xfs_fileoff_t off);
Dxfs_iext_tree.c279 xfs_fileoff_t offset) in xfs_iext_key_cmp()
291 xfs_fileoff_t offset) in xfs_iext_rec_cmp()
306 xfs_fileoff_t offset, in xfs_iext_find_level()
331 xfs_fileoff_t offset) in xfs_iext_node_pos()
346 xfs_fileoff_t offset) in xfs_iext_node_insert_pos()
428 xfs_fileoff_t old_offset, in xfs_iext_update_node()
429 xfs_fileoff_t new_offset, in xfs_iext_update_node()
632 xfs_fileoff_t offset = irec->br_startoff; in xfs_iext_insert()
725 xfs_fileoff_t offset, in xfs_iext_remove_node()
792 xfs_fileoff_t offset, in xfs_iext_rebalance_leaf()
[all …]
Dxfs_bmap.c483 xfs_fileoff_t bno, in xfs_bmap_validate_ret()
1310 xfs_fileoff_t *first_unused, /* unused block */ in xfs_bmap_first_unused()
1316 xfs_fileoff_t lastaddr = 0; in xfs_bmap_first_unused()
1317 xfs_fileoff_t lowest, max; in xfs_bmap_first_unused()
1361 xfs_fileoff_t *last_block, /* last block */ in xfs_bmap_last_before()
1464 xfs_fileoff_t *last_block, in xfs_bmap_last_offset()
1537 xfs_fileoff_t new_endoff; /* end offset of new entry */ in xfs_bmap_add_extent_delay_real()
2048 xfs_fileoff_t new_endoff; /* end offset of new entry */ in xfs_bmap_add_extent_unwritten_real()
2875 xfs_fileoff_t *offp, /* in/out: aligned offset */ in xfs_bmap_extsize_align()
2878 xfs_fileoff_t orig_off; /* original offset */ in xfs_bmap_extsize_align()
[all …]
Dxfs_attr_remote.c388 error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_get()
438 xfs_fileoff_t lfileoff = 0; in xfs_attr_rmtval_set()
480 error = xfs_bmapi_write(args->trans, dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_set()
520 error = xfs_bmapi_read(dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_set()
586 error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_remove()
Dxfs_inode_fork.h111 struct xfs_ifork *ifp, xfs_fileoff_t bno,
115 struct xfs_ifork *ifp, xfs_fileoff_t *end,
Dxfs_rmap.h27 xfs_fileoff_t offset) in xfs_rmap_ino_owner()
180 uint64_t owner, int whichfork, xfs_fileoff_t startoff,
Dxfs_dir2.c556 xfs_fileoff_t bno; /* directory offset of new block */ in xfs_dir2_grow_inode()
597 xfs_fileoff_t last; /* last file offset */ in xfs_dir2_isblock()
617 xfs_fileoff_t last; /* last file offset */ in xfs_dir2_isleaf()
637 xfs_fileoff_t bno; /* directory file offset */ in xfs_dir2_shrink_inode()
Dxfs_refcount.h66 static inline xfs_fileoff_t xfs_refcount_max_unmap(int log_res) in xfs_refcount_max_unmap()
Dxfs_bmap_btree.h92 extern xfs_fileoff_t xfs_bmbt_disk_get_startoff(xfs_bmbt_rec_t *r);
Dxfs_btree.h451 #define XFS_FILEOFF_MIN(a,b) min_t(xfs_fileoff_t, (a), (b))
452 #define XFS_FILEOFF_MAX(a,b) max_t(xfs_fileoff_t, (a), (b))
/Linux-v5.4/fs/xfs/
Dxfs_bmap_util.h33 int xfs_bmap_eof(struct xfs_inode *ip, xfs_fileoff_t endoff,
36 xfs_fileoff_t start_fsb, xfs_fileoff_t length);
51 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
Dxfs_iomap.c95 xfs_fileoff_t offset_fsb, in xfs_hole_to_iomap()
96 xfs_fileoff_t end_fsb) in xfs_hole_to_iomap()
150 xfs_fileoff_t *last_fsb) in xfs_iomap_eof_align_last_fsb()
155 xfs_fileoff_t new_last_fsb = roundup_64(*last_fsb, align); in xfs_iomap_eof_align_last_fsb()
176 xfs_fileoff_t offset_fsb; in xfs_iomap_write_direct()
177 xfs_fileoff_t last_fsb; in xfs_iomap_write_direct()
213 last_fsb = min(last_fsb, (xfs_fileoff_t) in xfs_iomap_write_direct()
402 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_prealloc_size()
535 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_file_iomap_begin_delay()
536 xfs_fileoff_t maxbytes_fsb = in xfs_file_iomap_begin_delay()
[all …]
Dxfs_bmap_util.c189 xfs_fileoff_t endoff, in xfs_bmap_eof()
452 xfs_fileoff_t bno, in xfs_getbmap_report_hole()
453 xfs_fileoff_t end) in xfs_getbmap_report_hole()
479 xfs_fileoff_t total_end) in xfs_getbmap_next_rec()
481 xfs_fileoff_t end = rec->br_startoff + rec->br_blockcount; in xfs_getbmap_next_rec()
511 xfs_fileoff_t bno, first_bno; in xfs_getbmap()
659 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap()
691 xfs_fileoff_t start_fsb, in xfs_bmap_punch_delalloc_range()
692 xfs_fileoff_t length) in xfs_bmap_punch_delalloc_range()
695 xfs_fileoff_t end_fsb = start_fsb + length; in xfs_bmap_punch_delalloc_range()
[all …]
Dxfs_reflink.c246 xfs_fileoff_t offset_fsb, in xfs_reflink_convert_cow_locked()
289 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_reflink_convert_cow()
290 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow()
314 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent()
356 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_reflink_allocate_cow()
462 xfs_fileoff_t offset_fsb, in xfs_reflink_cancel_cow_blocks()
463 xfs_fileoff_t end_fsb, in xfs_reflink_cancel_cow_blocks()
547 xfs_fileoff_t offset_fsb; in xfs_reflink_cancel_cow_range()
548 xfs_fileoff_t end_fsb; in xfs_reflink_cancel_cow_range()
601 xfs_fileoff_t offset_fsb, in xfs_reflink_end_cow_extent()
[all …]
Dxfs_reflink.h35 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
36 xfs_fileoff_t end_fsb, bool cancel_real);
Dxfs_fsmap.h17 xfs_fileoff_t fmr_offset; /* file offset of segment */
Dxfs_iomap.h24 xfs_fileoff_t offset_fsb, in xfs_aligned_fsb_count()
Dxfs_aops.c426 xfs_fileoff_t offset_fsb) in xfs_imap_valid()
466 xfs_fileoff_t offset_fsb) in xfs_convert_blocks()
496 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_map_blocks()
497 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_map_blocks()
498 xfs_fileoff_t cow_fsb = NULLFILEOFF; in xfs_map_blocks()
831 xfs_fileoff_t start_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_aops_discard_page()
Dxfs_dquot.h40 xfs_fileoff_t q_fileoffset; /* offset in quotas file */
/Linux-v5.4/fs/xfs/scrub/
Dcommon.h31 xfs_fileoff_t offset, int *error);
36 int whichfork, xfs_fileoff_t offset, int *error);
47 xfs_fileoff_t offset);
54 int whichfork, xfs_fileoff_t offset);
58 xfs_fileoff_t offset);
Dcommon.c120 xfs_fileoff_t offset, in __xchk_fblock_process_error()
150 xfs_fileoff_t offset, in xchk_fblock_process_error()
161 xfs_fileoff_t offset, in xchk_fblock_xref_process_error()
262 xfs_fileoff_t offset) in xchk_fblock_set_corrupt()
273 xfs_fileoff_t offset) in xchk_fblock_xref_set_corrupt()
297 xfs_fileoff_t offset) in xchk_fblock_set_warning()
Dquota.c84 xfs_fileoff_t offset; in xchk_quota_item()
193 xfs_fileoff_t max_dqid_off; in xchk_quota_data_fork()
Dbmap.c75 xfs_fileoff_t lastoff;
91 xfs_fileoff_t offset; in xchk_bmap_get_rmap()
280 xfs_fileoff_t off; in xchk_bmap_dirattr_extent()
631 xfs_fileoff_t endoff; in xchk_bmap()
Ddir.c46 xfs_fileoff_t offset, in xchk_dir_check_ftype()
631 xfs_fileoff_t leaf_lblk; in xchk_directory_blocks()
632 xfs_fileoff_t free_lblk; in xchk_directory_blocks()
633 xfs_fileoff_t lblk; in xchk_directory_blocks()

12