Home
last modified time | relevance | path

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

12

/fs/xfs/libxfs/
Dxfs_bmap.h41 xfs_fileoff_t offset; /* offset in file filling in */
201 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
203 xfs_fileoff_t *last_block, int whichfork);
204 int xfs_bmap_last_offset(struct xfs_inode *ip, xfs_fileoff_t *unused,
209 int xfs_bmapi_read(struct xfs_inode *ip, xfs_fileoff_t bno,
212 int xfs_bmapi_delay(struct xfs_inode *ip, xfs_fileoff_t bno,
216 xfs_fileoff_t bno, xfs_filblks_t len, int flags,
221 xfs_fileoff_t bno, xfs_filblks_t len, int flags,
228 xfs_fileoff_t *next_fsb, xfs_fileoff_t offset_shift_fsb,
229 int *done, xfs_fileoff_t stop_fsb, xfs_fsblock_t *firstblock,
[all …]
Dxfs_bmap_btree.h112 extern xfs_fileoff_t xfs_bmbt_get_startoff(xfs_bmbt_rec_host_t *r);
116 extern xfs_fileoff_t xfs_bmbt_disk_get_startoff(xfs_bmbt_rec_t *r);
119 extern void xfs_bmbt_set_allf(xfs_bmbt_rec_host_t *r, xfs_fileoff_t o,
123 extern void xfs_bmbt_set_startoff(xfs_bmbt_rec_host_t *r, xfs_fileoff_t v);
126 extern void xfs_bmbt_disk_set_allf(xfs_bmbt_rec_t *r, xfs_fileoff_t o,
Dxfs_bmap.c110 xfs_fileoff_t off, in xfs_bmbt_lookup_eq()
124 xfs_fileoff_t off, in xfs_bmbt_lookup_ge()
163 xfs_fileoff_t off, in xfs_bmbt_update()
522 xfs_fileoff_t bno, in xfs_bmap_validate_ret()
1385 xfs_fileoff_t bno, /* block number searched for */ in xfs_bmap_search_multi_extents()
1432 xfs_fileoff_t bno, /* block number searched for */ in xfs_bmap_search_extents()
1477 xfs_fileoff_t *first_unused, /* unused block */ in xfs_bmap_first_unused()
1483 xfs_fileoff_t lastaddr; /* last block number seen */ in xfs_bmap_first_unused()
1484 xfs_fileoff_t lowest; /* lowest useful block */ in xfs_bmap_first_unused()
1485 xfs_fileoff_t max; /* starting useful block */ in xfs_bmap_first_unused()
[all …]
Dxfs_bmap_btree.c109 s->br_startoff = ((xfs_fileoff_t)l0 & in __xfs_bmbt_get_all()
155 xfs_fileoff_t
159 return ((xfs_fileoff_t)r->l0 & in xfs_bmbt_get_startoff()
187 xfs_fileoff_t
191 return ((xfs_fileoff_t)be64_to_cpu(r->l0) & in xfs_bmbt_disk_get_startoff()
202 xfs_fileoff_t startoff, in xfs_bmbt_set_allf()
242 xfs_fileoff_t startoff, in xfs_bmbt_disk_set_allf()
310 xfs_fileoff_t v) in xfs_bmbt_set_startoff()
Dxfs_types.h44 typedef __uint64_t xfs_fileoff_t; /* block number in a file */ typedef
56 #define NULLFILEOFF ((xfs_fileoff_t)-1)
Dxfs_attr_remote.c373 error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_get()
422 xfs_fileoff_t lfileoff = 0; in xfs_attr_rmtval_set()
467 error = xfs_bmapi_write(args->trans, dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_set()
520 error = xfs_bmapi_read(dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_set()
586 error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_remove()
Dxfs_inode_fork.h154 xfs_iext_bno_to_ext(struct xfs_ifork *, xfs_fileoff_t, int *);
156 xfs_iext_bno_to_irec(struct xfs_ifork *, xfs_fileoff_t, int *);
Dxfs_dir2.c586 xfs_fileoff_t bno; /* directory offset of new block */ in xfs_dir2_grow_inode()
627 xfs_fileoff_t last; /* last file offset */ in xfs_dir2_isblock()
646 xfs_fileoff_t last; /* last file offset */ in xfs_dir2_isleaf()
666 xfs_fileoff_t bno; /* directory file offset */ in xfs_dir2_shrink_inode()
Dxfs_btree.h447 #define XFS_FILEOFF_MIN(a,b) min_t(xfs_fileoff_t, (a), (b))
448 #define XFS_FILEOFF_MAX(a,b) max_t(xfs_fileoff_t, (a), (b))
Dxfs_da_btree.h195 int xfs_da_grow_inode_int(struct xfs_da_args *args, xfs_fileoff_t *bno,
Dxfs_dir2_priv.h114 extern int xfs_dir2_node_trim_free(struct xfs_da_args *args, xfs_fileoff_t fo,
Dxfs_da_btree.c2008 xfs_fileoff_t *bno, in xfs_da_grow_inode_int()
2042 xfs_fileoff_t b; in xfs_da_grow_inode_int()
2100 xfs_fileoff_t bno; in xfs_da_grow_inode()
2141 xfs_fileoff_t lastoff; in xfs_da3_swap_lastblock()
2394 xfs_fileoff_t off; in xfs_da_map_covers_blocks()
2495 error = xfs_bmapi_read(dp, (xfs_fileoff_t)bno, nfsb, irecs, in xfs_dabuf_map()
2501 irecs->br_startoff = (xfs_fileoff_t)bno; in xfs_dabuf_map()
Dxfs_inode_fork.c1531 xfs_fileoff_t bno, /* block number to search for */ in xfs_iext_bno_to_ext()
1542 xfs_fileoff_t startoff = 0; /* start offset of extent */ in xfs_iext_bno_to_ext()
1602 xfs_fileoff_t bno, /* block number to search for */ in xfs_iext_bno_to_irec()
Dxfs_dir2_node.c1723 xfs_fileoff_t fo; /* freespace block number */ in xfs_dir2_node_addname_int()
2226 xfs_fileoff_t fo, /* free block number */ in xfs_dir2_node_trim_free()
/fs/xfs/
Dxfs_bmap_util.h32 int xfs_bmap_eof(struct xfs_inode *ip, xfs_fileoff_t endoff,
37 xfs_fileoff_t start_fsb, xfs_fileoff_t length);
51 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
Dxfs_iomap.c50 xfs_fileoff_t *last_fsb) in xfs_iomap_eof_align_last_fsb()
85 xfs_fileoff_t new_last_fsb = roundup_64(*last_fsb, align); in xfs_iomap_eof_align_last_fsb()
121 xfs_fileoff_t offset_fsb; in xfs_iomap_write_direct()
122 xfs_fileoff_t last_fsb; in xfs_iomap_write_direct()
160 last_fsb = MIN(last_fsb, (xfs_fileoff_t) in xfs_iomap_write_direct()
299 xfs_fileoff_t start_fsb; in xfs_iomap_eof_want_preallocate()
368 xfs_fileoff_t start_fsb; in xfs_iomap_eof_prealloc_initial_size()
576 xfs_fileoff_t offset_fsb; in xfs_iomap_write_delay()
577 xfs_fileoff_t last_fsb; in xfs_iomap_write_delay()
579 xfs_fileoff_t ioalign; in xfs_iomap_write_delay()
[all …]
Dxfs_bmap_util.c282 xfs_fileoff_t endoff, in xfs_bmap_eof()
480 xfs_fileoff_t fileblock; in xfs_getbmapx_fix_eof_hole()
754 xfs_fileoff_t start_fsb, in xfs_bmap_punch_delalloc_range()
755 xfs_fileoff_t length) in xfs_bmap_punch_delalloc_range()
757 xfs_fileoff_t remaining = length; in xfs_bmap_punch_delalloc_range()
867 xfs_fileoff_t end_fsb; in xfs_free_eofblocks()
868 xfs_fileoff_t last_fsb; in xfs_free_eofblocks()
963 xfs_fileoff_t startoffset_fsb; in xfs_alloc_file_space()
1000 xfs_fileoff_t s, e; in xfs_alloc_file_space()
1026 resblks = min_t(xfs_fileoff_t, (e - s), (MAXEXTLEN * nimaps)); in xfs_alloc_file_space()
[all …]
Dxfs_file.c435 xfs_fileoff_t last_fsb = XFS_B_TO_FSBT(mp, isize); in xfs_zero_last_block()
483 xfs_fileoff_t start_zero_fsb; in xfs_zero_eof()
484 xfs_fileoff_t end_zero_fsb; in xfs_zero_eof()
485 xfs_fileoff_t zero_count_fsb; in xfs_zero_eof()
486 xfs_fileoff_t last_fsb; in xfs_zero_eof()
487 xfs_fileoff_t zero_off; in xfs_zero_eof()
518 last_fsb = isize ? XFS_B_TO_FSBT(mp, isize - 1) : (xfs_fileoff_t)-1; in xfs_zero_eof()
1337 xfs_fileoff_t fsbno; in xfs_seek_hole_data()
Dxfs_dquot.h53 xfs_fileoff_t q_fileoffset; /* offset in quotas file */
Dxfs_aops.c292 xfs_fileoff_t offset_fsb, end_fsb; in xfs_map_blocks()
908 xfs_fileoff_t start_fsb; in xfs_aops_discard_page()
1385 xfs_fileoff_t offset_fsb, end_fsb; in __xfs_get_blocks()
1738 xfs_fileoff_t start_fsb; in xfs_vm_kill_delalloc_range()
1739 xfs_fileoff_t end_fsb; in xfs_vm_kill_delalloc_range()
Dxfs_pnfs.c123 xfs_fileoff_t offset_fsb, end_fsb; in xfs_fs_map_blocks()
Dxfs_dquot.c303 xfs_fileoff_t offset_fsb, in xfs_qm_dqalloc()
472 dqp->q_fileoffset = (xfs_fileoff_t)id / mp->m_quotainfo->qi_dqperchunk; in xfs_qm_dqtobp()
Dxfs_attr_inactive.c73 error = xfs_bmapi_read(dp, (xfs_fileoff_t)tblkno, tblkcnt, in xfs_attr3_leaf_freextent()
Dxfs_trace.h223 __field(xfs_fileoff_t, startoff)
262 __field(xfs_fileoff_t, startoff)
1236 __field(xfs_fileoff_t, startoff)
1373 TP_PROTO(struct xfs_inode *ip, xfs_fileoff_t bno, xfs_filblks_t len,
1380 __field(xfs_fileoff_t, bno)
Dxfs_symlink.c182 xfs_fileoff_t first_fsb; in xfs_symlink()

12