Searched refs:bex (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/fs/nfsd/ |
H A D | blocklayoutxdr.c | 118 struct pnfs_block_extent bex; nfsd4_block_decode_layoutupdate() local 120 memcpy(&bex.vol_id, p, sizeof(struct nfsd4_deviceid)); nfsd4_block_decode_layoutupdate() 123 p = xdr_decode_hyper(p, &bex.foff); nfsd4_block_decode_layoutupdate() 124 if (bex.foff & (block_size - 1)) { nfsd4_block_decode_layoutupdate() 126 __func__, bex.foff); nfsd4_block_decode_layoutupdate() 129 p = xdr_decode_hyper(p, &bex.len); nfsd4_block_decode_layoutupdate() 130 if (bex.len & (block_size - 1)) { nfsd4_block_decode_layoutupdate() 132 __func__, bex.foff); nfsd4_block_decode_layoutupdate() 135 p = xdr_decode_hyper(p, &bex.soff); nfsd4_block_decode_layoutupdate() 136 if (bex.soff & (block_size - 1)) { nfsd4_block_decode_layoutupdate() 138 __func__, bex.soff); nfsd4_block_decode_layoutupdate() 141 bex.es = be32_to_cpup(p++); nfsd4_block_decode_layoutupdate() 142 if (bex.es != PNFS_BLOCK_READWRITE_DATA) { nfsd4_block_decode_layoutupdate() 144 __func__, bex.es); nfsd4_block_decode_layoutupdate() 148 iomaps[i].offset = bex.foff; nfsd4_block_decode_layoutupdate() 149 iomaps[i].length = bex.len; nfsd4_block_decode_layoutupdate()
|
H A D | blocklayout.c | 54 struct pnfs_block_extent *bex; nfsd4_block_proc_layoutget() local 69 bex = kzalloc(sizeof(*bex), GFP_KERNEL); nfsd4_block_proc_layoutget() 70 if (!bex) nfsd4_block_proc_layoutget() 72 args->lg_content = bex; nfsd4_block_proc_layoutget() 91 bex->es = PNFS_BLOCK_READ_DATA; nfsd4_block_proc_layoutget() 93 bex->es = PNFS_BLOCK_READWRITE_DATA; nfsd4_block_proc_layoutget() 94 bex->soff = (iomap.blkno << 9); nfsd4_block_proc_layoutget() 106 bex->es = PNFS_BLOCK_INVALID_DATA; nfsd4_block_proc_layoutget() 107 bex->soff = (iomap.blkno << 9); nfsd4_block_proc_layoutget() 113 bex->es = PNFS_BLOCK_NONE_DATA; nfsd4_block_proc_layoutget() 123 error = nfsd4_set_deviceid(&bex->vol_id, fhp, device_generation); nfsd4_block_proc_layoutget() 126 bex->foff = iomap.offset; nfsd4_block_proc_layoutget() 127 bex->len = iomap.length; nfsd4_block_proc_layoutget() 132 dprintk("GET: 0x%llx:0x%llx %d\n", bex->foff, bex->len, bex->es); nfsd4_block_proc_layoutget()
|
/linux-4.1.27/arch/metag/ |
H A D | Makefile | 33 cflags-$(CONFIG_METAG_META21) += -mextensions=bex
|
/linux-4.1.27/fs/ext4/ |
H A D | mballoc.c | 1673 struct ext4_free_extent *bex = &ac->ac_b_ex; ext4_mb_check_limits() local 1692 if (bex->fe_len < gex->fe_len) ext4_mb_check_limits() 1696 && bex->fe_group == e4b->bd_group) { ext4_mb_check_limits() 1700 max = mb_find_extent(e4b, bex->fe_start, gex->fe_len, &ex); ext4_mb_check_limits() 1722 struct ext4_free_extent *bex = &ac->ac_b_ex; ext4_mb_measure_extent() local 1736 *bex = *ex; ext4_mb_measure_extent() 1745 *bex = *ex; ext4_mb_measure_extent() 1753 if (bex->fe_len == 0) { ext4_mb_measure_extent() 1754 *bex = *ex; ext4_mb_measure_extent() 1761 if (bex->fe_len < gex->fe_len) { ext4_mb_measure_extent() 1764 if (ex->fe_len > bex->fe_len) ext4_mb_measure_extent() 1765 *bex = *ex; ext4_mb_measure_extent() 1770 if (ex->fe_len < bex->fe_len) ext4_mb_measure_extent() 1771 *bex = *ex; ext4_mb_measure_extent()
|
Completed in 153 milliseconds