Home
last modified time | relevance | path

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

123

/linux/fs/xfs/libxfs/
H A Dxfs_bmap.h26 xfs_fileoff_t offset; /* offset in file filling in */
180 void xfs_trim_extent(struct xfs_bmbt_irec *irec, xfs_fileoff_t bno,
195 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
197 xfs_fileoff_t *last_block, int whichfork);
198 int xfs_bmap_last_offset(struct xfs_inode *ip, xfs_fileoff_t *unused,
200 int xfs_bmapi_read(struct xfs_inode *ip, xfs_fileoff_t bno,
204 xfs_fileoff_t bno, xfs_filblks_t len, uint32_t flags,
207 xfs_fileoff_t bno, xfs_filblks_t len, uint32_t flags,
217 xfs_fileoff_t *next_fsb, xfs_fileoff_t offset_shift_fsb,
219 int xfs_bmap_can_insert_extents(struct xfs_inode *ip, xfs_fileoff_t off,
[all …]
H A Dxfs_rtbitmap.h19 xfs_fileoff_t rbmoff; /* bitmap block number */
20 xfs_fileoff_t sumoff; /* summary block number */
164 xfs_fileoff_t off) in xfs_fileoff_roundup_rtx()
173 xfs_fileoff_t off) in xfs_fileoff_rounddown_rtx()
179 static inline xfs_fileoff_t
210 xfs_fileoff_t rbmoff) in xfs_rbmblock_to_rtx()
272 xfs_fileoff_t rbmoff) in xfs_rtsumoffs()
281 static inline xfs_fileoff_t
386 int xfs_rtbitmap_read_buf(struct xfs_rtalloc_args *args, xfs_fileoff_t block);
387 int xfs_rtsummary_read_buf(struct xfs_rtalloc_args *args, xfs_fileoff_t block);
[all …]
H A Dxfs_types.h36 typedef uint64_t xfs_fileoff_t; /* block number in a file */ typedef
55 #define NULLFILEOFF ((xfs_fileoff_t)-1)
156 xfs_fileoff_t br_startoff; /* starting file offset */
280 bool xfs_verify_dablk(struct xfs_mount *mp, xfs_fileoff_t off);
283 bool xfs_verify_fileoff(struct xfs_mount *mp, xfs_fileoff_t off);
284 bool xfs_verify_fileext(struct xfs_mount *mp, xfs_fileoff_t off,
285 xfs_fileoff_t len);
H A Dxfs_exchmaps.h19 xfs_fileoff_t xmi_startoff1;
20 xfs_fileoff_t xmi_startoff2;
55 xfs_fileoff_t startoff1;
56 xfs_fileoff_t startoff2;
H A Dxfs_types.c226 xfs_fileoff_t dabno) in xfs_verify_dablk()
237 xfs_fileoff_t off) in xfs_verify_fileoff()
246 xfs_fileoff_t off, in xfs_verify_fileext()
247 xfs_fileoff_t len) in xfs_verify_fileext()
H A 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()
435 xfs_fileoff_t old_offset, in xfs_iext_update_node()
436 xfs_fileoff_t new_offset, in xfs_iext_update_node()
638 xfs_fileoff_t offset = irec->br_startoff; in xfs_iext_insert_raw()
742 xfs_fileoff_t offset, in xfs_iext_remove_node()
809 xfs_fileoff_t offset, in xfs_iext_rebalance_leaf()
[all …]
H A Dxfs_bmap.c510 xfs_fileoff_t bno, in xfs_bmap_validate_ret()
1239 xfs_fileoff_t *first_unused, /* unused block */ in xfs_bmap_first_unused()
1245 xfs_fileoff_t lastaddr = 0; in xfs_bmap_first_unused()
1246 xfs_fileoff_t lowest, max; in xfs_bmap_first_unused()
1286 xfs_fileoff_t *last_block, /* last block */ in xfs_bmap_last_before()
1387 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()
2021 xfs_fileoff_t new_endoff; /* end offset of new entry */ in xfs_bmap_add_extent_unwritten_real()
2826 xfs_fileoff_t *offp, /* in/out: aligned offset */ in xfs_bmap_extsize_align()
2829 xfs_fileoff_t orig_off; /* original offset */ in xfs_bmap_extsize_align()
[all …]
H A Dxfs_rtbitmap.c152 xfs_fileoff_t block, /* block number in bitmap or summary */ in xfs_rtbuf_get()
158 xfs_fileoff_t *coffp; /* cached block number */ in xfs_rtbuf_get()
234 xfs_fileoff_t block) in xfs_rtbitmap_read_buf()
249 xfs_fileoff_t block) in xfs_rtsummary_read_buf()
272 xfs_fileoff_t block; /* bitmap block number */ in xfs_rtfind_back()
426 xfs_fileoff_t block; /* bitmap block number */ in xfs_rtfind_forw()
589 xfs_fileoff_t bbno, /* bitmap block number */ in xfs_rtmodify_summary()
625 xfs_fileoff_t bbno, /* bitmap block number */ in xfs_rtget_summary()
667 xfs_fileoff_t block; /* bitmap block number */ in xfs_rtmodify_range()
881 xfs_fileoff_t block; /* bitmap block number */ in xfs_rtcheck_range()
[all …]
H A Dxfs_attr_remote.c419 error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_get()
475 xfs_fileoff_t lfileoff = 0; in xfs_attr_rmt_find_hole()
526 error = xfs_bmapi_read(dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_set_value()
641 (xfs_fileoff_t)attr->xattri_lblkno, in xfs_attr_rmtval_set_blk()
682 error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_invalidate()
/linux/fs/xfs/
H A Dxfs_iomap.h15 int xfs_iomap_write_direct(struct xfs_inode *ip, xfs_fileoff_t offset_fsb,
16 xfs_fileoff_t count_fsb, unsigned int flags,
19 xfs_fileoff_t xfs_iomap_eof_align_last_fsb(struct xfs_inode *ip,
20 xfs_fileoff_t end_fsb);
34 xfs_fileoff_t offset_fsb, in xfs_aligned_fsb_count()
H A Dxfs_bmap_util.c199 xfs_fileoff_t bno, in xfs_getbmap_report_hole()
200 xfs_fileoff_t end) in xfs_getbmap_report_hole()
226 xfs_fileoff_t total_end) in xfs_getbmap_next_rec()
228 xfs_fileoff_t end = rec->br_startoff + rec->br_blockcount; in xfs_getbmap_next_rec()
258 xfs_fileoff_t bno, first_bno; in xfs_getbmap()
404 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap()
445 xfs_fileoff_t start_fsb = XFS_B_TO_FSBT(mp, start_byte); in xfs_bmap_punch_delalloc_range()
446 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, end_byte); in xfs_bmap_punch_delalloc_range()
508 xfs_fileoff_t end_fsb; in xfs_can_free_eofblocks()
509 xfs_fileoff_t last_fsb; in xfs_can_free_eofblocks()
[all …]
H A Dxfs_iomap.c176 xfs_fileoff_t offset_fsb, in xfs_hole_to_iomap()
177 xfs_fileoff_t end_fsb) in xfs_hole_to_iomap()
189 static inline xfs_fileoff_t
232 xfs_fileoff_t
235 xfs_fileoff_t end_fsb) in xfs_iomap_eof_align_last_fsb()
256 xfs_fileoff_t aligned_end_fsb = roundup_64(end_fsb, align); in xfs_iomap_eof_align_last_fsb()
270 xfs_fileoff_t offset_fsb, in xfs_iomap_write_direct()
271 xfs_fileoff_t count_fsb, in xfs_iomap_write_direct()
490 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_prealloc_size()
620 xfs_fileoff_t offset_fsb; in xfs_iomap_write_unwritten()
[all …]
H A Dxfs_reflink.c299 xfs_fileoff_t offset_fsb, in xfs_reflink_convert_cow_locked()
342 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_reflink_convert_cow()
343 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()
405 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_reflink_convert_unwritten()
624 xfs_fileoff_t offset_fsb, in xfs_reflink_cancel_cow_blocks()
625 xfs_fileoff_t end_fsb, in xfs_reflink_cancel_cow_blocks()
708 xfs_fileoff_t offset_fsb; in xfs_reflink_cancel_cow_range()
709 xfs_fileoff_t end_fsb; in xfs_reflink_cancel_cow_range()
792 xfs_fileoff_t *offset_fsb, in xfs_reflink_end_cow_extent_locked()
[all …]
H A Dxfs_reflink.h39 xfs_fileoff_t offset_fsb, xfs_filblks_t count_fsb);
42 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
43 xfs_fileoff_t end_fsb, bool cancel_real);
H A Dxfs_rtalloc.c47 xfs_fileoff_t bbno, /* bitmap block number */ in xfs_rtany_summary()
103 xfs_fileoff_t bbno; /* bitmap block number */ in xfs_rtcopy_summary()
245 xfs_fileoff_t bbno, /* bitmap block number */ in xfs_rtallocate_extent_block()
416 xfs_fileoff_t bbno; /* bitmap block number */ in xfs_rtallocate_extent_near()
561 xfs_fileoff_t i; /* bitmap block number */ in xfs_rtalloc_sumlevel()
805 xfs_fileoff_t bmbno) in xfs_growfs_rt_nrblocks()
947 xfs_fileoff_t bmbno) in xfs_growfs_rt_bmblock()
1107 static xfs_fileoff_t
1113 xfs_fileoff_t bmbno = 0; in xfs_last_rt_bmblock_to_extend()
1205 xfs_fileoff_t bmbno; in xfs_growfs_rtg()
[all …]
H A Dxfs_aops.c333 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_map_blocks()
334 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_map_blocks()
335 xfs_fileoff_t cow_fsb; in xfs_map_blocks()
577 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_zoned_map_blocks()
578 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + len); in xfs_zoned_map_blocks()
/linux/fs/xfs/scrub/
H A Dcommon.h18 xfs_fileoff_t offset, int *error);
23 int whichfork, xfs_fileoff_t offset, int *error);
34 xfs_fileoff_t offset);
45 int whichfork, xfs_fileoff_t offset);
49 xfs_fileoff_t offset);
H A Dtempfile.h25 int xrep_tempfile_prealloc(struct xfs_scrub *sc, xfs_fileoff_t off,
33 int xrep_tempfile_copyin(struct xfs_scrub *sc, xfs_fileoff_t off,
H A Dquota.c85 xfs_fileoff_t offset) in xchk_quota_item_bmap()
125 xfs_fileoff_t offset, in xchk_quota_item_timer()
147 xfs_fileoff_t offset; in xchk_quota_item()
269 xfs_fileoff_t max_dqid_off; in xchk_quota_data_fork()
H A Dtempfile.c415 xfs_fileoff_t off, in xrep_tempfile_prealloc()
419 xfs_fileoff_t end = off + len; in xrep_tempfile_prealloc()
482 xfs_fileoff_t off, in xrep_tempfile_copyin()
490 xfs_fileoff_t flush_mask; in xrep_tempfile_copyin()
491 xfs_fileoff_t end = off + len; in xrep_tempfile_copyin()
609 xfs_fileoff_t off, in xrep_tempexch_prep_request()
802 xfs_fileoff_t off, in xrep_tempexch_trans_reserve()
H A Drtsummary.c171 xfs_fileoff_t rbmoff; in xchk_rtsum_record_free()
235 xfs_fileoff_t off = 0; in xchk_rtsum_compare()
236 xfs_fileoff_t endoff; in xchk_rtsum_compare()
H A Dcow_repair.c99 xfs_fileoff_t startoff; in xrep_cow_mark_file_range()
479 xfs_fileoff_t startoff, in xrep_cow_find_mapping()
559 xfs_fileoff_t startoff, in xrep_cow_replace_range()
566 xfs_fileoff_t nextoff; in xrep_cow_replace_range()
584 alloc_len = min_t(xfs_fileoff_t, XFS_MAX_BMBT_EXTLEN, in xrep_cow_replace_range()
H A Ddqiterate.c49 xfs_fileoff_t fileoff; in xchk_dquot_iter_revalidate_bmap()
93 xfs_fileoff_t fileoff; in xchk_dquot_iter_advance_bmap()
H A Dtempexch.h15 xfs_fileoff_t off, xfs_filblks_t len, struct xrep_tempexch *ti);
H A Doff_bitmap.h26 xfs_fileoff_t off, xfs_filblks_t len) in xoff_bitmap_set()

123