Home
last modified time | relevance | path

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

12

/fs/xfs/libxfs/
Dxfs_bmap.h27 xfs_fileoff_t offset; /* offset in file filling in */
186 void xfs_trim_extent(struct xfs_bmbt_irec *irec, xfs_fileoff_t bno,
197 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
199 xfs_fileoff_t *last_block, int whichfork);
200 int xfs_bmap_last_offset(struct xfs_inode *ip, xfs_fileoff_t *unused,
202 int xfs_bmapi_read(struct xfs_inode *ip, xfs_fileoff_t bno,
206 xfs_fileoff_t bno, xfs_filblks_t len, int flags,
209 xfs_fileoff_t bno, xfs_filblks_t *rlen, int flags,
212 xfs_fileoff_t bno, xfs_filblks_t len, int flags,
222 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)
170 xfs_fileoff_t br_startoff; /* starting file offset */
209 bool xfs_verify_dablk(struct xfs_mount *mp, xfs_fileoff_t off);
212 bool xfs_verify_fileoff(struct xfs_mount *mp, xfs_fileoff_t off);
213 bool xfs_verify_fileext(struct xfs_mount *mp, xfs_fileoff_t off,
214 xfs_fileoff_t len);
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_types.c257 xfs_fileoff_t dabno) in xfs_verify_dablk()
268 xfs_fileoff_t off) in xfs_verify_fileoff()
277 xfs_fileoff_t off, in xfs_verify_fileext()
278 xfs_fileoff_t len) in xfs_verify_fileext()
Dxfs_bmap.c486 xfs_fileoff_t bno, in xfs_bmap_validate_ret()
1260 xfs_fileoff_t *first_unused, /* unused block */ in xfs_bmap_first_unused()
1266 xfs_fileoff_t lastaddr = 0; in xfs_bmap_first_unused()
1267 xfs_fileoff_t lowest, max; in xfs_bmap_first_unused()
1307 xfs_fileoff_t *last_block, /* last block */ in xfs_bmap_last_before()
1407 xfs_fileoff_t *last_block, in xfs_bmap_last_offset()
1448 xfs_fileoff_t new_endoff; /* end offset of new entry */ in xfs_bmap_add_extent_delay_real()
1999 xfs_fileoff_t new_endoff; /* end offset of new entry */ in xfs_bmap_add_extent_unwritten_real()
2910 xfs_fileoff_t *offp, /* in/out: aligned offset */ in xfs_bmap_extsize_align()
2913 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()
610 error = xfs_bmapi_write(args->trans, dp, (xfs_fileoff_t)dac->lblkno, in xfs_attr_rmtval_set_blk()
652 error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_invalidate()
Dxfs_inode_fork.h162 struct xfs_ifork *ifp, xfs_fileoff_t bno,
166 struct xfs_ifork *ifp, xfs_fileoff_t *end,
Dxfs_dir2.c562 xfs_fileoff_t bno; /* directory offset of new block */ in xfs_dir2_grow_inode()
603 xfs_fileoff_t last; /* last file offset */ in xfs_dir2_isblock()
625 xfs_fileoff_t last; /* last file offset */ in xfs_dir2_isleaf()
645 xfs_fileoff_t bno; /* directory file offset */ in xfs_dir2_shrink_inode()
Dxfs_rmap.h29 xfs_fileoff_t offset) in xfs_rmap_ino_owner()
183 uint64_t owner, int whichfork, xfs_fileoff_t startoff,
Dxfs_refcount.h73 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(const struct xfs_bmbt_rec *r);
/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, struct xfs_bmbt_irec *imap);
17 xfs_fileoff_t xfs_iomap_eof_align_last_fsb(struct xfs_inode *ip,
18 xfs_fileoff_t end_fsb);
25 xfs_fileoff_t offset_fsb, in xfs_aligned_fsb_count()
Dxfs_iomap.c95 xfs_fileoff_t offset_fsb, in xfs_hole_to_iomap()
96 xfs_fileoff_t end_fsb) in xfs_hole_to_iomap()
108 static inline xfs_fileoff_t
151 xfs_fileoff_t
154 xfs_fileoff_t end_fsb) in xfs_iomap_eof_align_last_fsb()
175 xfs_fileoff_t aligned_end_fsb = roundup_64(end_fsb, align); in xfs_iomap_eof_align_last_fsb()
189 xfs_fileoff_t offset_fsb, in xfs_iomap_write_direct()
190 xfs_fileoff_t count_fsb, in xfs_iomap_write_direct()
365 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_prealloc_size()
500 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()
560 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap()
592 xfs_fileoff_t start_fsb, in xfs_bmap_punch_delalloc_range()
593 xfs_fileoff_t length) in xfs_bmap_punch_delalloc_range()
596 xfs_fileoff_t end_fsb = start_fsb + length; in xfs_bmap_punch_delalloc_range()
[all …]
Dxfs_reflink.c244 xfs_fileoff_t offset_fsb, in xfs_reflink_convert_cow_locked()
287 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_reflink_convert_cow()
288 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow()
313 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent()
350 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_reflink_convert_unwritten()
579 xfs_fileoff_t offset_fsb, in xfs_reflink_cancel_cow_blocks()
580 xfs_fileoff_t end_fsb, in xfs_reflink_cancel_cow_blocks()
663 xfs_fileoff_t offset_fsb; in xfs_reflink_cancel_cow_range()
664 xfs_fileoff_t end_fsb; in xfs_reflink_cancel_cow_range()
717 xfs_fileoff_t offset_fsb, in xfs_reflink_end_cow_extent()
[all …]
Dxfs_bmap_util.h34 xfs_fileoff_t start_fsb, xfs_fileoff_t length);
49 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
Dxfs_aops.c263 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_map_blocks()
264 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_map_blocks()
265 xfs_fileoff_t cow_fsb; in xfs_map_blocks()
448 xfs_fileoff_t start_fsb = XFS_B_TO_FSBT(mp, fileoff); in xfs_discard_page()
449 xfs_fileoff_t pageoff_fsb = XFS_B_TO_FSBT(mp, pageoff); in xfs_discard_page()
Dxfs_reflink.h34 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
35 xfs_fileoff_t end_fsb, bool cancel_real);
Dxfs_fsmap.h17 xfs_fileoff_t fmr_offset; /* file offset of segment */
/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.c122 xfs_fileoff_t offset, in __xchk_fblock_process_error()
152 xfs_fileoff_t offset, in xchk_fblock_process_error()
163 xfs_fileoff_t offset, in xchk_fblock_xref_process_error()
264 xfs_fileoff_t offset) in xchk_fblock_set_corrupt()
275 xfs_fileoff_t offset) in xchk_fblock_xref_set_corrupt()
299 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()
301 xfs_fileoff_t off; in xchk_bmap_dirattr_extent()
644 xfs_fileoff_t endoff; in xchk_bmap()
Ddir.c45 xfs_fileoff_t offset, in xchk_dir_check_ftype()
667 xfs_fileoff_t leaf_lblk; in xchk_directory_blocks()
668 xfs_fileoff_t free_lblk; in xchk_directory_blocks()
669 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