Searched refs:bex (Results 1 – 3 of 3) sorted by relevance
146 struct pnfs_block_extent bex; in nfsd4_block_decode_layoutupdate() local148 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 …]
27 struct pnfs_block_extent *bex; in nfsd4_block_proc_layoutget() local42 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 …]
2184 struct ext4_free_extent *bex = &ac->ac_b_ex; in ext4_mb_check_limits() local2201 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() local2251 *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 …]