Home
last modified time | relevance | path

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

/linux-4.1.27/fs/xfs/libxfs/
Dxfs_bmap.h41 xfs_fileoff_t offset; /* offset in file filling in */
192 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
194 xfs_fileoff_t *last_block, int whichfork);
195 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,
203 int xfs_bmapi_delay(struct xfs_inode *ip, xfs_fileoff_t bno,
207 xfs_fileoff_t bno, xfs_filblks_t len, int flags,
212 xfs_fileoff_t bno, xfs_filblks_t len, int flags,
219 xfs_fileoff_t *next_fsb, xfs_fileoff_t offset_shift_fsb,
220 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_types.h44 typedef __uint64_t xfs_fileoff_t; /* block number in a file */ typedef
56 #define NULLFILEOFF ((xfs_fileoff_t)-1)
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()
1384 xfs_fileoff_t bno, /* block number searched for */ in xfs_bmap_search_multi_extents()
1431 xfs_fileoff_t bno, /* block number searched for */ in xfs_bmap_search_extents()
1476 xfs_fileoff_t *first_unused, /* unused block */ in xfs_bmap_first_unused()
1482 xfs_fileoff_t lastaddr; /* last block number seen */ in xfs_bmap_first_unused()
1483 xfs_fileoff_t lowest; /* lowest useful block */ in xfs_bmap_first_unused()
1484 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_attr_remote.c372 error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_get()
421 xfs_fileoff_t lfileoff = 0; in xfs_attr_rmtval_set()
466 error = xfs_bmapi_write(args->trans, dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_set()
519 error = xfs_bmapi_read(dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_set()
585 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.c583 xfs_fileoff_t bno; /* directory offset of new block */ in xfs_dir2_grow_inode()
624 xfs_fileoff_t last; /* last file offset */ in xfs_dir2_isblock()
643 xfs_fileoff_t last; /* last file offset */ in xfs_dir2_isleaf()
663 xfs_fileoff_t bno; /* directory file offset */ in xfs_dir2_shrink_inode()
Dxfs_btree.h440 #define XFS_FILEOFF_MIN(a,b) min_t(xfs_fileoff_t, (a), (b))
441 #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.c1997 xfs_fileoff_t *bno, in xfs_da_grow_inode_int()
2031 xfs_fileoff_t b; in xfs_da_grow_inode_int()
2089 xfs_fileoff_t bno; in xfs_da_grow_inode()
2130 xfs_fileoff_t lastoff; in xfs_da3_swap_lastblock()
2383 xfs_fileoff_t off; in xfs_da_map_covers_blocks()
2484 error = xfs_bmapi_read(dp, (xfs_fileoff_t)bno, nfsb, irecs, in xfs_dabuf_map()
2490 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.c1719 xfs_fileoff_t fo; /* freespace block number */ in xfs_dir2_node_addname_int()
2223 xfs_fileoff_t fo, /* free block number */ in xfs_dir2_node_trim_free()
Dxfs_format.h1353 xfs_fileoff_t br_startoff; /* starting file offset */
Dxfs_dir2_leaf.c1680 xfs_fileoff_t fo; /* freespace file offset */ in xfs_dir2_node_to_leaf()
/linux-4.1.27/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()
150 last_fsb = MIN(last_fsb, (xfs_fileoff_t) in xfs_iomap_write_direct()
261 xfs_fileoff_t start_fsb; in xfs_iomap_eof_want_preallocate()
330 xfs_fileoff_t start_fsb; in xfs_iomap_eof_prealloc_initial_size()
538 xfs_fileoff_t offset_fsb; in xfs_iomap_write_delay()
539 xfs_fileoff_t last_fsb; in xfs_iomap_write_delay()
541 xfs_fileoff_t ioalign; in xfs_iomap_write_delay()
[all …]
Dxfs_bmap_util.c256 xfs_fileoff_t endoff, in xfs_bmap_eof()
454 xfs_fileoff_t fileblock; in xfs_getbmapx_fix_eof_hole()
728 xfs_fileoff_t start_fsb, in xfs_bmap_punch_delalloc_range()
729 xfs_fileoff_t length) in xfs_bmap_punch_delalloc_range()
731 xfs_fileoff_t remaining = length; in xfs_bmap_punch_delalloc_range()
841 xfs_fileoff_t end_fsb; in xfs_free_eofblocks()
842 xfs_fileoff_t last_fsb; in xfs_free_eofblocks()
940 xfs_fileoff_t startoffset_fsb; in xfs_alloc_file_space()
977 xfs_fileoff_t s, e; in xfs_alloc_file_space()
1003 resblks = min_t(xfs_fileoff_t, (e - s), (MAXEXTLEN * nimaps)); in xfs_alloc_file_space()
[all …]
Dxfs_file.c403 xfs_fileoff_t last_fsb = XFS_B_TO_FSBT(mp, isize); in xfs_zero_last_block()
451 xfs_fileoff_t start_zero_fsb; in xfs_zero_eof()
452 xfs_fileoff_t end_zero_fsb; in xfs_zero_eof()
453 xfs_fileoff_t zero_count_fsb; in xfs_zero_eof()
454 xfs_fileoff_t last_fsb; in xfs_zero_eof()
455 xfs_fileoff_t zero_off; in xfs_zero_eof()
484 last_fsb = isize ? XFS_B_TO_FSBT(mp, isize - 1) : (xfs_fileoff_t)-1; in xfs_zero_eof()
1306 xfs_fileoff_t fsbno; in xfs_seek_hole_data()
Dxfs_dquot.h53 xfs_fileoff_t q_fileoffset; /* offset in quotas file */
Dxfs_aops.c285 xfs_fileoff_t offset_fsb, end_fsb; in xfs_map_blocks()
903 xfs_fileoff_t start_fsb; in xfs_aops_discard_page()
1356 xfs_fileoff_t offset_fsb, end_fsb; in __xfs_get_blocks()
1642 xfs_fileoff_t start_fsb; in xfs_vm_kill_delalloc_range()
1643 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_attr_inactive.c73 error = xfs_bmapi_read(dp, (xfs_fileoff_t)tblkno, tblkcnt, in xfs_attr3_leaf_freextent()
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_trace.h223 __field(xfs_fileoff_t, startoff)
262 __field(xfs_fileoff_t, startoff)
1187 __field(xfs_fileoff_t, startoff)
1323 TP_PROTO(struct xfs_inode *ip, xfs_fileoff_t bno, xfs_filblks_t len,
1330 __field(xfs_fileoff_t, bno)
Dxfs_symlink.c183 xfs_fileoff_t first_fsb; in xfs_symlink()
Dxfs_rtalloc.c767 xfs_fileoff_t bno; /* block number in file */ in xfs_growfs_rt_alloc()
Dxfs_inode.c1561 xfs_fileoff_t first_unmap_block; in xfs_itruncate_extents()
1562 xfs_fileoff_t last_block; in xfs_itruncate_extents()
Dxfs_qm.c949 xfs_fileoff_t lblkno; in xfs_qm_dqiterate()