Home
last modified time | relevance | path

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

12

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_bmap.h25 xfs_fileoff_t offset; /* offset in file filling in */
171 void xfs_trim_extent(struct xfs_bmbt_irec *irec, xfs_fileoff_t bno,
179 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
181 xfs_fileoff_t *last_block, int whichfork);
182 int xfs_bmap_last_offset(struct xfs_inode *ip, xfs_fileoff_t *unused,
184 int xfs_bmapi_read(struct xfs_inode *ip, xfs_fileoff_t bno,
188 xfs_fileoff_t bno, xfs_filblks_t len, uint32_t flags,
191 xfs_fileoff_t bno, xfs_filblks_t *rlen, uint32_t flags,
194 xfs_fileoff_t bno, xfs_filblks_t len, uint32_t flags,
204 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
49 #define NULLFILEOFF ((xfs_fileoff_t)-1)
163 xfs_fileoff_t br_startoff; /* starting file offset */
223 bool xfs_verify_dablk(struct xfs_mount *mp, xfs_fileoff_t off);
226 bool xfs_verify_fileoff(struct xfs_mount *mp, xfs_fileoff_t off);
227 bool xfs_verify_fileext(struct xfs_mount *mp, xfs_fileoff_t off,
228 xfs_fileoff_t len);
Dxfs_types.c200 xfs_fileoff_t dabno) in xfs_verify_dablk()
211 xfs_fileoff_t off) in xfs_verify_fileoff()
220 xfs_fileoff_t off, in xfs_verify_fileext()
221 xfs_fileoff_t len) in xfs_verify_fileext()
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.c484 xfs_fileoff_t bno, in xfs_bmap_validate_ret()
1207 xfs_fileoff_t *first_unused, /* unused block */ in xfs_bmap_first_unused()
1213 xfs_fileoff_t lastaddr = 0; in xfs_bmap_first_unused()
1214 xfs_fileoff_t lowest, max; in xfs_bmap_first_unused()
1254 xfs_fileoff_t *last_block, /* last block */ in xfs_bmap_last_before()
1354 xfs_fileoff_t *last_block, in xfs_bmap_last_offset()
1395 xfs_fileoff_t new_endoff; /* end offset of new entry */ in xfs_bmap_add_extent_delay_real()
1946 xfs_fileoff_t new_endoff; /* end offset of new entry */ in xfs_bmap_add_extent_unwritten_real()
2857 xfs_fileoff_t *offp, /* in/out: aligned offset */ in xfs_bmap_extsize_align()
2860 xfs_fileoff_t orig_off; /* original offset */ in xfs_bmap_extsize_align()
[all …]
Dxfs_attr_remote.c404 error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_get()
452 xfs_fileoff_t lfileoff = 0; in xfs_attr_rmt_find_hole()
503 error = xfs_bmapi_read(dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_set_value()
616 (xfs_fileoff_t)attr->xattri_lblkno, in xfs_attr_rmtval_set_blk()
658 error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_invalidate()
Dxfs_inode_fork.h189 struct xfs_ifork *ifp, xfs_fileoff_t bno,
193 struct xfs_ifork *ifp, xfs_fileoff_t *end,
Dxfs_rmap.h29 xfs_fileoff_t offset) in xfs_rmap_ino_owner()
183 uint64_t owner, int whichfork, xfs_fileoff_t startoff,
Dxfs_dir2.c574 xfs_fileoff_t bno; /* directory offset of new block */ in xfs_dir2_grow_inode()
616 xfs_fileoff_t eof; in xfs_dir2_isblock()
641 xfs_fileoff_t eof; in xfs_dir2_isleaf()
667 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(const struct xfs_bmbt_rec *r);
Dxfs_da_btree.h210 int xfs_da_grow_inode_int(struct xfs_da_args *args, xfs_fileoff_t *bno,
/linux-6.1.9/fs/xfs/
Dxfs_iomap.h14 int xfs_iomap_write_direct(struct xfs_inode *ip, xfs_fileoff_t offset_fsb,
15 xfs_fileoff_t count_fsb, unsigned int flags,
18 xfs_fileoff_t xfs_iomap_eof_align_last_fsb(struct xfs_inode *ip,
19 xfs_fileoff_t end_fsb);
31 xfs_fileoff_t offset_fsb, in xfs_aligned_fsb_count()
Dxfs_iomap.c101 xfs_fileoff_t offset_fsb, in xfs_hole_to_iomap()
102 xfs_fileoff_t end_fsb) in xfs_hole_to_iomap()
114 static inline xfs_fileoff_t
157 xfs_fileoff_t
160 xfs_fileoff_t end_fsb) in xfs_iomap_eof_align_last_fsb()
181 xfs_fileoff_t aligned_end_fsb = roundup_64(end_fsb, align); in xfs_iomap_eof_align_last_fsb()
195 xfs_fileoff_t offset_fsb, in xfs_iomap_write_direct()
196 xfs_fileoff_t count_fsb, in xfs_iomap_write_direct()
374 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_prealloc_size()
509 xfs_fileoff_t offset_fsb; in xfs_iomap_write_unwritten()
[all …]
Dxfs_bmap_util.c77 xfs_fileoff_t orig_offset = ap->offset; in xfs_bmap_rtalloc()
355 xfs_fileoff_t bno, in xfs_getbmap_report_hole()
356 xfs_fileoff_t end) in xfs_getbmap_report_hole()
382 xfs_fileoff_t total_end) in xfs_getbmap_next_rec()
384 xfs_fileoff_t end = rec->br_startoff + rec->br_blockcount; in xfs_getbmap_next_rec()
414 xfs_fileoff_t bno, first_bno; in xfs_getbmap()
561 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap()
593 xfs_fileoff_t start_fsb, in xfs_bmap_punch_delalloc_range()
594 xfs_fileoff_t length) in xfs_bmap_punch_delalloc_range()
597 xfs_fileoff_t end_fsb = start_fsb + length; in xfs_bmap_punch_delalloc_range()
[all …]
Dxfs_bmap_util.h34 xfs_fileoff_t start_fsb, xfs_fileoff_t length);
49 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
Dxfs_reflink.c247 xfs_fileoff_t offset_fsb, in xfs_reflink_convert_cow_locked()
290 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_reflink_convert_cow()
291 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow()
316 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent()
353 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_reflink_convert_unwritten()
582 xfs_fileoff_t offset_fsb, in xfs_reflink_cancel_cow_blocks()
583 xfs_fileoff_t end_fsb, in xfs_reflink_cancel_cow_blocks()
666 xfs_fileoff_t offset_fsb; in xfs_reflink_cancel_cow_range()
667 xfs_fileoff_t end_fsb; in xfs_reflink_cancel_cow_range()
720 xfs_fileoff_t *offset_fsb, in xfs_reflink_end_cow_extent()
[all …]
Dxfs_reflink.h31 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
32 xfs_fileoff_t end_fsb, bool cancel_real);
Dxfs_aops.c277 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_map_blocks()
278 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_map_blocks()
279 xfs_fileoff_t cow_fsb; in xfs_map_blocks()
462 xfs_fileoff_t start_fsb = XFS_B_TO_FSBT(mp, pos); in xfs_discard_folio()
463 xfs_fileoff_t pageoff_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_discard_folio()
Dxfs_fsmap.h17 xfs_fileoff_t fmr_offset; /* file offset of segment */
/linux-6.1.9/fs/xfs/scrub/
Dcommon.h38 xfs_fileoff_t offset, int *error);
43 int whichfork, xfs_fileoff_t offset, int *error);
54 xfs_fileoff_t offset);
61 int whichfork, xfs_fileoff_t offset);
65 xfs_fileoff_t offset);
Dcommon.c124 xfs_fileoff_t offset, in __xchk_fblock_process_error()
154 xfs_fileoff_t offset, in xchk_fblock_process_error()
165 xfs_fileoff_t offset, in xchk_fblock_xref_process_error()
266 xfs_fileoff_t offset) in xchk_fblock_set_corrupt()
277 xfs_fileoff_t offset) in xchk_fblock_xref_set_corrupt()
301 xfs_fileoff_t offset) in xchk_fblock_set_warning()
Dquota.c82 xfs_fileoff_t offset; in xchk_quota_item()
178 xfs_fileoff_t max_dqid_off; in xchk_quota_data_fork()
Dbmap.c93 xfs_fileoff_t lastoff;
109 xfs_fileoff_t offset; in xchk_bmap_get_rmap()
285 xfs_fileoff_t off; in xchk_bmap_dirattr_extent()
628 xfs_fileoff_t endoff; in xchk_bmap()
Ddir.c45 xfs_fileoff_t offset, in xchk_dir_check_ftype()
672 xfs_fileoff_t leaf_lblk; in xchk_directory_blocks()
673 xfs_fileoff_t free_lblk; in xchk_directory_blocks()
674 xfs_fileoff_t lblk; in xchk_directory_blocks()
Dtrace.h173 xfs_fileoff_t offset, int error, void *ret_ip),
180 __field(xfs_fileoff_t, offset)
272 xfs_fileoff_t offset, void *ret_ip),
279 __field(xfs_fileoff_t, offset)
302 xfs_fileoff_t offset, void *ret_ip), \

12