Home
last modified time | relevance | path

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

/linux-6.6.21/fs/nfsd/
Dblocklayoutxdr.c146 struct pnfs_block_extent bex; in nfsd4_block_decode_layoutupdate() local
148 memcpy(&bex.vol_id, p, sizeof(struct nfsd4_deviceid)); in nfsd4_block_decode_layoutupdate()
151 p = xdr_decode_hyper(p, &bex.foff); in nfsd4_block_decode_layoutupdate()
152 if (bex.foff & (block_size - 1)) { in nfsd4_block_decode_layoutupdate()
154 __func__, bex.foff); in nfsd4_block_decode_layoutupdate()
157 p = xdr_decode_hyper(p, &bex.len); in nfsd4_block_decode_layoutupdate()
158 if (bex.len & (block_size - 1)) { in nfsd4_block_decode_layoutupdate()
160 __func__, bex.foff); in nfsd4_block_decode_layoutupdate()
163 p = xdr_decode_hyper(p, &bex.soff); in nfsd4_block_decode_layoutupdate()
164 if (bex.soff & (block_size - 1)) { in nfsd4_block_decode_layoutupdate()
[all …]
Dblocklayout.c27 struct pnfs_block_extent *bex; in nfsd4_block_proc_layoutget() local
42 bex = kzalloc(sizeof(*bex), GFP_KERNEL); in nfsd4_block_proc_layoutget()
43 if (!bex) in nfsd4_block_proc_layoutget()
45 args->lg_content = bex; in nfsd4_block_proc_layoutget()
64 bex->es = PNFS_BLOCK_READ_DATA; in nfsd4_block_proc_layoutget()
66 bex->es = PNFS_BLOCK_READWRITE_DATA; in nfsd4_block_proc_layoutget()
67 bex->soff = iomap.addr; in nfsd4_block_proc_layoutget()
79 bex->es = PNFS_BLOCK_INVALID_DATA; in nfsd4_block_proc_layoutget()
80 bex->soff = iomap.addr; in nfsd4_block_proc_layoutget()
86 bex->es = PNFS_BLOCK_NONE_DATA; in nfsd4_block_proc_layoutget()
[all …]
/linux-6.6.21/fs/ext4/
Dmballoc.c2184 struct ext4_free_extent *bex = &ac->ac_b_ex; in ext4_mb_check_limits() local
2201 if (bex->fe_len < gex->fe_len) in ext4_mb_check_limits()
2236 struct ext4_free_extent *bex = &ac->ac_b_ex; in ext4_mb_measure_extent() local
2251 *bex = *ex; in ext4_mb_measure_extent()
2260 *bex = *ex; in ext4_mb_measure_extent()
2268 if (bex->fe_len == 0) { in ext4_mb_measure_extent()
2269 *bex = *ex; in ext4_mb_measure_extent()
2276 if (bex->fe_len < gex->fe_len) { in ext4_mb_measure_extent()
2279 if (ex->fe_len > bex->fe_len) in ext4_mb_measure_extent()
2280 *bex = *ex; in ext4_mb_measure_extent()
[all …]