Home
last modified time | relevance | path

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

12

/linux/fs/xfs/libxfs/
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_inode_fork.h195 struct xfs_ifork *ifp, xfs_fileoff_t bno,
199 struct xfs_ifork *ifp, xfs_fileoff_t *end,
H A Dxfs_da_btree.h214 int xfs_da_grow_inode_int(struct xfs_da_args *args, xfs_fileoff_t *bno,
H A 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/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);
50 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()
660 xfs_fileoff_t offset_fsb, in xfs_reflink_cancel_cow_blocks()
661 xfs_fileoff_t end_fsb, in xfs_reflink_cancel_cow_blocks()
744 xfs_fileoff_t offset_fsb; in xfs_reflink_cancel_cow_range()
745 xfs_fileoff_t end_fsb; in xfs_reflink_cancel_cow_range()
828 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_aops.c167 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_map_blocks()
168 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_map_blocks()
169 xfs_fileoff_t cow_fsb; in xfs_map_blocks()
411 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_zoned_map_blocks()
412 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + len); in xfs_zoned_map_blocks()
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()
955 xfs_fileoff_t bmbno) in xfs_growfs_rt_bmblock()
1115 static xfs_fileoff_t
1121 xfs_fileoff_t bmbno = 0; in xfs_last_rt_bmblock_to_extend()
1213 xfs_fileoff_t bmbno; in xfs_growfs_rtg()
[all …]
H A Dxfs_fsmap.h18 xfs_fileoff_t fmr_offset; /* file offset of segment */
H A Dxfs_bmap_util.h51 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
/linux/fs/xfs/scrub/
H A Dcommon.h18 xfs_fileoff_t offset, int *error);
23 int whichfork, xfs_fileoff_t offset, int *error);
29 int whichfork, xfs_fileoff_t offset);
38 xfs_fileoff_t offset);
49 int whichfork, xfs_fileoff_t offset);
53 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.c416 xfs_fileoff_t off, in xrep_tempfile_prealloc()
420 xfs_fileoff_t end = off + len; in xrep_tempfile_prealloc()
483 xfs_fileoff_t off, in xrep_tempfile_copyin()
491 xfs_fileoff_t flush_mask; in xrep_tempfile_copyin()
492 xfs_fileoff_t end = off + len; in xrep_tempfile_copyin()
610 xfs_fileoff_t off, in xrep_tempexch_prep_request()
818 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 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()
H A Drtbitmap.c154 xfs_fileoff_t off = 0; in xchk_rtbitmap_check_extents()
155 xfs_fileoff_t endoff; in xchk_rtbitmap_check_extents()
H A Dquota_repair.c114 xfs_fileoff_t offset = dq->q_id / qi->qi_dqperchunk; in xrep_quota_item_bmap()
408 xfs_fileoff_t max_dqid_off; in xrep_quota_data_fork()
409 xfs_fileoff_t off; in xrep_quota_data_fork()
H A Dcow_repair.c94 xfs_fileoff_t startoff; in xrep_cow_mark_file_range()
496 xfs_fileoff_t badoff, in xrep_cow_find_mapping()
548 xfs_fileoff_t startoff, in xrep_cow_replace_range()

12