Home
last modified time | relevance | path

Searched refs:xfs_fsblock_t (Results 1 – 25 of 53) sorted by relevance

123

/linux/fs/xfs/libxfs/
H A Dxfs_group.h67 xfs_fsblock_t fsbno, enum xfs_group_type type);
101 static inline xfs_fsblock_t
105 return ((xfs_fsblock_t)xg->xg_gno) << in xfs_group_start_fsb()
109 static inline xfs_fsblock_t
124 xfs_fsblock_t fsbno; in xfs_gbno_to_daddr()
129 fsbno = (xfs_fsblock_t)xg->xg_gno * g->blocks + gbno; in xfs_gbno_to_daddr()
137 xfs_fsblock_t fsbno, in xfs_fsb_to_gno()
148 xfs_fsblock_t fsbno, in xfs_fsb_to_gbno()
H A Dxfs_types.h33 typedef uint64_t xfs_fsblock_t; /* blockno in filesystem (agno|agbno) */ typedef
52 #define NULLFSBLOCK ((xfs_fsblock_t)-1)
157 xfs_fsblock_t br_startblock; /* starting block number */
269 bool xfs_verify_fsbno(struct xfs_mount *mp, xfs_fsblock_t fsbno);
270 bool xfs_verify_fsbext(struct xfs_mount *mp, xfs_fsblock_t fsbno,
271 xfs_fsblock_t len);
H A Dxfs_alloc.h39 xfs_fsblock_t fsbno; /* file system block number */
112 xfs_fsblock_t target);
119 xfs_fsblock_t target);
130 xfs_fsblock_t target);
138 xfs_fsblock_t target);
233 int xfs_free_extent_later(struct xfs_trans *tp, xfs_fsblock_t bno,
253 xfs_fsblock_t xefi_startblock;/* starting fs block number */
H A Dxfs_refcount.h63 xfs_fsblock_t ri_startblock;
94 xfs_fsblock_t fsb, xfs_extlen_t len);
96 xfs_fsblock_t fsb, xfs_extlen_t len);
H A Dxfs_types.c46 xfs_fsblock_t fsbno) in xfs_verify_fsbno()
62 xfs_fsblock_t fsbno, in xfs_verify_fsbext()
63 xfs_fsblock_t len) in xfs_verify_fsbext()
H A Dxfs_bmap.h28 xfs_fsblock_t blkno; /* starting block of new extent */
128 #define DELAYSTARTBLOCK ((xfs_fsblock_t)-1LL)
129 #define HOLESTARTBLOCK ((xfs_fsblock_t)-2LL)
282 xfs_fileoff_t bno, xfs_filblks_t len, xfs_fsblock_t startblock,
H A Dxfs_symlink_remote.h25 xfs_fsblock_t fs_blocks, uint resblks);
H A Dxfs_format.h102 xfs_fsblock_t sb_logstart; /* starting block of log if internal */
703 (((xfs_fsblock_t)(agno) << (mp)->m_sb.sb_agblklog) | (agbno))
710 (xfs_fsblock_t)(agno) * (mp)->m_sb.sb_agblocks + (agbno)))
1884 (((((xfs_fsblock_t)1) << STARTBLOCKMASKBITS) - 1) << STARTBLOCKVALBITS)
1886 static inline int isnullstartblock(xfs_fsblock_t x) in isnullstartblock()
1891 static inline xfs_fsblock_t nullstartblock(int k) in nullstartblock()
1897 static inline xfs_filblks_t startblockval(xfs_fsblock_t x) in startblockval()
H A Dxfs_rmap.h189 void xfs_rmap_alloc_extent(struct xfs_trans *tp, bool isrt, xfs_fsblock_t fsbno,
191 void xfs_rmap_free_extent(struct xfs_trans *tp, bool isrt, xfs_fsblock_t fsbno,
H A Dxfs_rtbitmap.h413 xfs_fsblock_t rtbno, xfs_filblks_t rtlen);
434 struct xfs_rtgroup *rtg, xfs_fsblock_t rtbno, in xfs_rtfree_blocks()
H A Dxfs_group.c226 xfs_fsblock_t fsbno, in xfs_group_get_by_fsb()
H A Dxfs_bmap.c235 xfs_fsblock_t fsbno, /* file system block number */ in xfs_bmap_read_buf()
257 xfs_fsblock_t bno) in xfs_bmap_get_bp()
349 xfs_fsblock_t bno; /* block # of "block" */ in xfs_bmap_check_leaf_extents()
430 xfs_fsblock_t nextbno; in xfs_bmap_check_leaf_extents()
571 xfs_fsblock_t cbno; /* child block number */ in xfs_bmap_btree_to_extents()
3001 xfs_fsblock_t x, in xfs_bmap_adjacent_valid()
3002 xfs_fsblock_t y) in xfs_bmap_adjacent_valid()
3029 xfs_fsblock_t adjust; /* adjustment to block numbers */ in xfs_bmap_adjacent()
3057 xfs_fsblock_t gotbno; /* right side block number */ in xfs_bmap_adjacent()
3058 xfs_fsblock_t gotdif in xfs_bmap_adjacent()
[all...]
/linux/fs/xfs/scrub/
H A Dnewbt.h36 xfs_fsblock_t alloc_hint);
54 xfs_fsblock_t alloc_hint;
62 const struct xfs_owner_info *oinfo, xfs_fsblock_t alloc_hint,
H A Dtrace.c39 static inline xfs_fsblock_t
H A Dfsb_bitmap.h9 /* Bitmaps, but for type-checked for xfs_fsblock_t */
26 xfs_fsblock_t start, xfs_filblks_t len) in xfsb_bitmap_set()
H A Dagb_bitmap.c60 xfs_fsblock_t fsbno; in xagb_bitmap_visit_btblock()
H A Dbmap_repair.c100 xfs_fsblock_t startblock, in xrep_bmap_discover_shared()
133 xfs_fsblock_t startblock, in xrep_bmap_from_rmap()
249 xfs_fsblock_t fsbno; in xrep_bmap_walk_rmap()
/linux/fs/xfs/
H A Dxfs_zone_alloc.h35 xfs_fsblock_t fsbno, xfs_filblks_t len);
38 xfs_fsblock_t old_startblock);
H A Dxfs_drain.h69 xfs_fsblock_t fsbno, enum xfs_group_type type);
H A Dxfs_rtalloc.h75 int xfs_rtallocate_rtgs(struct xfs_trans *tp, xfs_fsblock_t bno_hint,
H A Dxfs_drain.c106 xfs_fsblock_t fsbno, in xfs_group_intent_get()
H A Dxfs_bmap_util.h74 xfs_daddr_t xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb);
H A Dxfs_zone_alloc.c169 xfs_fsblock_t fsbno, in xfs_zone_record_blocks()
200 xfs_fsblock_t old_startblock) in xfs_zoned_map_extent()
274 xfs_fsblock_t old_startblock) in xfs_zoned_end_io()
328 xfs_fsblock_t fsbno, in xfs_zone_free_blocks()
1089 xfs_fsblock_t zsbno = xfs_daddr_to_rtb(mp, zone->start); in xfs_get_zone_info_cb()
H A Dxfs_mount.h94 * power of two, and thus lays out the xfs_fsblock_t/xfs_rtblock_t
121 xfs_fsblock_t start_fsb;
787 int xfs_zero_extent(struct xfs_inode *ip, xfs_fsblock_t start_fsb,
H A Dxfs_iomap.c357 xfs_fsblock_t alloc_blocks) in xfs_quota_need_throttle()
389 xfs_fsblock_t *qblocks, in xfs_quota_calc_throttle()
466 STATIC xfs_fsblock_t
480 xfs_fsblock_t qblocks; in xfs_iomap_prealloc_size()
481 xfs_fsblock_t alloc_blocks = 0; in xfs_iomap_prealloc_size()
1702 xfs_fsblock_t prealloc_blocks = 0; in xfs_buffered_write_iomap_begin()

123