Home
last modified time | relevance | path

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

12

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_bmap.h27 xfs_fileoff_t offset; /* offset in file filling in */
182 void xfs_trim_extent(struct xfs_bmbt_irec *irec, xfs_fileoff_t bno,
193 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
195 xfs_fileoff_t *last_block, int whichfork);
196 int xfs_bmap_last_offset(struct xfs_inode *ip, xfs_fileoff_t *unused,
199 int xfs_bmapi_read(struct xfs_inode *ip, xfs_fileoff_t bno,
203 xfs_fileoff_t bno, xfs_filblks_t len, int flags,
206 xfs_fileoff_t bno, xfs_filblks_t *rlen, int flags,
209 xfs_fileoff_t bno, xfs_filblks_t len, int flags,
219 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)
144 xfs_fileoff_t br_startoff; /* starting file offset */
Dxfs_iext_tree.c283 xfs_fileoff_t offset) in xfs_iext_key_cmp()
295 xfs_fileoff_t offset) in xfs_iext_rec_cmp()
310 xfs_fileoff_t offset, in xfs_iext_find_level()
335 xfs_fileoff_t offset) in xfs_iext_node_pos()
350 xfs_fileoff_t offset) in xfs_iext_node_insert_pos()
432 xfs_fileoff_t old_offset, in xfs_iext_update_node()
433 xfs_fileoff_t new_offset, in xfs_iext_update_node()
637 xfs_fileoff_t offset = irec->br_startoff; in xfs_iext_insert()
730 xfs_fileoff_t offset, in xfs_iext_remove_node()
797 xfs_fileoff_t offset, in xfs_iext_rebalance_leaf()
[all …]
Dxfs_bmap.c488 xfs_fileoff_t bno, in xfs_bmap_validate_ret()
1311 xfs_fileoff_t *first_unused, /* unused block */ in xfs_bmap_first_unused()
1317 xfs_fileoff_t lastaddr = 0; in xfs_bmap_first_unused()
1318 xfs_fileoff_t lowest, max; in xfs_bmap_first_unused()
1362 xfs_fileoff_t *last_block, /* last block */ in xfs_bmap_last_before()
1465 xfs_fileoff_t *last_block, in xfs_bmap_last_offset()
1538 xfs_fileoff_t new_endoff; /* end offset of new entry */ in xfs_bmap_add_extent_delay_real()
2049 xfs_fileoff_t new_endoff; /* end offset of new entry */ in xfs_bmap_add_extent_unwritten_real()
2880 xfs_fileoff_t *offp, /* in/out: aligned offset */ in xfs_bmap_extsize_align()
2883 xfs_fileoff_t orig_off; /* original offset */ in xfs_bmap_extsize_align()
[all …]
Dxfs_attr_remote.c392 error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_get()
442 xfs_fileoff_t lfileoff = 0; in xfs_attr_rmtval_set()
484 error = xfs_bmapi_write(args->trans, dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_set()
524 error = xfs_bmapi_read(dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_set()
590 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.h37 xfs_fileoff_t offset) in xfs_rmap_ino_owner()
203 uint64_t owner, int whichfork, xfs_fileoff_t startoff,
Dxfs_refcount.h66 static inline xfs_fileoff_t xfs_refcount_max_unmap(int log_res) in xfs_refcount_max_unmap()
Dxfs_dir2.c560 xfs_fileoff_t bno; /* directory offset of new block */ in xfs_dir2_grow_inode()
601 xfs_fileoff_t last; /* last file offset */ in xfs_dir2_isblock()
621 xfs_fileoff_t last; /* last file offset */ in xfs_dir2_isleaf()
641 xfs_fileoff_t bno; /* directory file offset */ in xfs_dir2_shrink_inode()
Dxfs_bmap_btree.h92 extern xfs_fileoff_t xfs_bmbt_disk_get_startoff(xfs_bmbt_rec_t *r);
Dxfs_btree.h455 #define XFS_FILEOFF_MIN(a,b) min_t(xfs_fileoff_t, (a), (b))
456 #define XFS_FILEOFF_MAX(a,b) max_t(xfs_fileoff_t, (a), (b))
/linux-4.19.296/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.c109 xfs_fileoff_t *last_fsb) in xfs_iomap_eof_align_last_fsb()
114 xfs_fileoff_t new_last_fsb = roundup_64(*last_fsb, align); in xfs_iomap_eof_align_last_fsb()
152 xfs_fileoff_t offset_fsb; in xfs_iomap_write_direct()
153 xfs_fileoff_t last_fsb; in xfs_iomap_write_direct()
189 last_fsb = min(last_fsb, (xfs_fileoff_t) in xfs_iomap_write_direct()
377 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_prealloc_size()
510 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_file_iomap_begin_delay()
511 xfs_fileoff_t maxbytes_fsb = in xfs_file_iomap_begin_delay()
513 xfs_fileoff_t end_fsb; in xfs_file_iomap_begin_delay()
580 xfs_fileoff_t p_end_fsb; in xfs_file_iomap_begin_delay()
[all …]
Dxfs_bmap_util.c194 xfs_fileoff_t endoff, in xfs_bmap_eof()
457 xfs_fileoff_t bno, in xfs_getbmap_report_hole()
458 xfs_fileoff_t end) in xfs_getbmap_report_hole()
484 xfs_fileoff_t total_end) in xfs_getbmap_next_rec()
486 xfs_fileoff_t end = rec->br_startoff + rec->br_blockcount; in xfs_getbmap_next_rec()
516 xfs_fileoff_t bno, first_bno; in xfs_getbmap()
664 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap()
696 xfs_fileoff_t start_fsb, in xfs_bmap_punch_delalloc_range()
697 xfs_fileoff_t length) in xfs_bmap_punch_delalloc_range()
700 xfs_fileoff_t end_fsb = start_fsb + length; in xfs_bmap_punch_delalloc_range()
[all …]
Dxfs_reflink.c315 xfs_fileoff_t offset_fsb, in xfs_reflink_convert_cow_extent()
340 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_reflink_convert_cow()
341 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow()
368 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent()
406 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_reflink_allocate_cow()
500 xfs_fileoff_t offset_fsb, in xfs_reflink_cancel_cow_blocks()
501 xfs_fileoff_t end_fsb, in xfs_reflink_cancel_cow_blocks()
587 xfs_fileoff_t offset_fsb; in xfs_reflink_cancel_cow_range()
588 xfs_fileoff_t end_fsb; in xfs_reflink_cancel_cow_range()
640 xfs_fileoff_t offset_fsb; in xfs_reflink_end_cow()
[all …]
Dxfs_reflink.h23 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
24 xfs_fileoff_t end_fsb, bool cancel_real);
Dxfs_fsmap.h17 xfs_fileoff_t fmr_offset; /* file offset of segment */
Dxfs_iomap.h26 xfs_fileoff_t offset_fsb, in xfs_aligned_fsb_count()
Dxfs_trans.h255 uint64_t owner, int whichfork, xfs_fileoff_t startoff,
279 struct xfs_inode *ip, int whichfork, xfs_fileoff_t startoff,
/linux-4.19.296/fs/xfs/scrub/
Dcommon.h38 xfs_fileoff_t offset, int *error);
43 int whichfork, xfs_fileoff_t offset, int *error);
53 xfs_fileoff_t offset);
60 int whichfork, xfs_fileoff_t offset);
64 xfs_fileoff_t offset);
Dcommon.c127 xfs_fileoff_t offset, in __xchk_fblock_process_error()
157 xfs_fileoff_t offset, in xchk_fblock_process_error()
168 xfs_fileoff_t offset, in xchk_fblock_xref_process_error()
260 xfs_fileoff_t offset) in xchk_fblock_set_corrupt()
271 xfs_fileoff_t offset) in xchk_fblock_xref_set_corrupt()
295 xfs_fileoff_t offset) in xchk_fblock_set_warning()
Dquota.c95 xfs_fileoff_t offset; in xchk_quota_item()
204 xfs_fileoff_t max_dqid_off; in xchk_quota_data_fork()
Dtrace.h92 xfs_fileoff_t offset, int error, void *ret_ip),
99 __field(xfs_fileoff_t, offset)
198 xfs_fileoff_t offset, void *ret_ip),
205 __field(xfs_fileoff_t, offset)
228 xfs_fileoff_t offset, void *ret_ip), \
Ddir.c56 xfs_fileoff_t offset, in xchk_dir_check_ftype()
638 xfs_fileoff_t leaf_lblk; in xchk_directory_blocks()
639 xfs_fileoff_t free_lblk; in xchk_directory_blocks()
640 xfs_fileoff_t lblk; in xchk_directory_blocks()
Dbmap.c101 xfs_fileoff_t lastoff;
116 xfs_fileoff_t offset; in xchk_bmap_get_rmap()
610 xfs_fileoff_t endoff; in xchk_bmap()

12