Home
last modified time | relevance | path

Searched refs:chunk_bits (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_bitmap.c28 return dev->chunk_bits + in yaffs_block_bits()
H A Dyaffs_guts.c2250 if (dev->chunk_bits_alt && dev->chunk_bits) in yaffs_deinit_blocks()
2251 vfree(dev->chunk_bits); in yaffs_deinit_blocks()
2253 kfree(dev->chunk_bits); in yaffs_deinit_blocks()
2255 dev->chunk_bits = NULL; in yaffs_deinit_blocks()
2263 dev->chunk_bits = NULL; in yaffs_init_blocks()
2282 dev->chunk_bits = in yaffs_init_blocks()
2284 if (!dev->chunk_bits) { in yaffs_init_blocks()
2285 dev->chunk_bits = in yaffs_init_blocks()
2291 if (!dev->chunk_bits) in yaffs_init_blocks()
2296 memset(dev->chunk_bits, 0, dev->chunk_bit_stride * n_blocks); in yaffs_init_blocks()
H A Dyaffs_yaffs2.c332 ok = (yaffs2_checkpt_wr(dev, dev->chunk_bits, n_bytes) == n_bytes); in yaffs2_wr_checkpt_dev()
363 ok = (yaffs2_checkpt_rd(dev, dev->chunk_bits, n_bytes) == n_bytes); in yaffs2_rd_checkpt_dev()
H A Dyaffs_guts.h674 u8 *chunk_bits; /* bitmap of chunks in use */ member
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-srv.c571 unsigned int chunk_bits; in map_cont_bufs() local
655 chunk_bits = ilog2(srv->queue_depth - 1) + 1; in map_cont_bufs()
656 srv_path->mem_bits = (MAX_IMM_PAYL_BITS - chunk_bits); in map_cont_bufs()
H A Drtrs-clt.c1409 unsigned int chunk_bits; in alloc_permits() local
1422 chunk_bits = ilog2(clt->queue_depth - 1) + 1; in alloc_permits()
1428 permit->mem_off = i << (MAX_IMM_PAYL_BITS - chunk_bits); in alloc_permits()