Home
last modified time | relevance | path

Searched refs:bex (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/xfs/scrub/
Dbitmap.h22 #define for_each_xfs_bitmap_extent(bex, n, bitmap) \ argument
23 list_for_each_entry_safe((bex), (n), &(bitmap)->list, list)
25 #define for_each_xfs_bitmap_block(b, bex, n, bitmap) \ argument
26 list_for_each_entry_safe((bex), (n), &(bitmap)->list, list) \
27 for ((b) = bex->start; (b) < bex->start + bex->len; (b)++)
/linux-4.19.296/fs/nfsd/
Dblocklayoutxdr.c145 struct pnfs_block_extent bex; in nfsd4_block_decode_layoutupdate() local
147 memcpy(&bex.vol_id, p, sizeof(struct nfsd4_deviceid)); in nfsd4_block_decode_layoutupdate()
150 p = xdr_decode_hyper(p, &bex.foff); in nfsd4_block_decode_layoutupdate()
151 if (bex.foff & (block_size - 1)) { in nfsd4_block_decode_layoutupdate()
153 __func__, bex.foff); in nfsd4_block_decode_layoutupdate()
156 p = xdr_decode_hyper(p, &bex.len); in nfsd4_block_decode_layoutupdate()
157 if (bex.len & (block_size - 1)) { in nfsd4_block_decode_layoutupdate()
159 __func__, bex.foff); in nfsd4_block_decode_layoutupdate()
162 p = xdr_decode_hyper(p, &bex.soff); in nfsd4_block_decode_layoutupdate()
163 if (bex.soff & (block_size - 1)) { in nfsd4_block_decode_layoutupdate()
[all …]
Dblocklayout.c29 struct pnfs_block_extent *bex; in nfsd4_block_proc_layoutget() local
44 bex = kzalloc(sizeof(*bex), GFP_KERNEL); in nfsd4_block_proc_layoutget()
45 if (!bex) in nfsd4_block_proc_layoutget()
47 args->lg_content = bex; in nfsd4_block_proc_layoutget()
66 bex->es = PNFS_BLOCK_READ_DATA; in nfsd4_block_proc_layoutget()
68 bex->es = PNFS_BLOCK_READWRITE_DATA; in nfsd4_block_proc_layoutget()
69 bex->soff = iomap.addr; in nfsd4_block_proc_layoutget()
81 bex->es = PNFS_BLOCK_INVALID_DATA; in nfsd4_block_proc_layoutget()
82 bex->soff = iomap.addr; in nfsd4_block_proc_layoutget()
88 bex->es = PNFS_BLOCK_NONE_DATA; in nfsd4_block_proc_layoutget()
[all …]
/linux-4.19.296/fs/ext4/
Dmballoc.c1686 struct ext4_free_extent *bex = &ac->ac_b_ex; in ext4_mb_check_limits() local
1705 if (bex->fe_len < gex->fe_len) in ext4_mb_check_limits()
1709 && bex->fe_group == e4b->bd_group) { in ext4_mb_check_limits()
1713 max = mb_find_extent(e4b, bex->fe_start, gex->fe_len, &ex); in ext4_mb_check_limits()
1735 struct ext4_free_extent *bex = &ac->ac_b_ex; in ext4_mb_measure_extent() local
1749 *bex = *ex; in ext4_mb_measure_extent()
1758 *bex = *ex; in ext4_mb_measure_extent()
1766 if (bex->fe_len == 0) { in ext4_mb_measure_extent()
1767 *bex = *ex; in ext4_mb_measure_extent()
1774 if (bex->fe_len < gex->fe_len) { in ext4_mb_measure_extent()
[all …]