Home
last modified time | relevance | path

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

/fs/ubifs/
Dlpt.c222 …atic void pack_bits(const struct ubifs_info *c, uint8_t **addr, int *pos, uint32_t val, int nrbits) in pack_bits() argument
227 ubifs_assert(c, nrbits > 0); in pack_bits()
228 ubifs_assert(c, nrbits <= 32); in pack_bits()
231 ubifs_assert(c, (val >> nrbits) == 0 || nrbits == 32); in pack_bits()
234 nrbits += b; in pack_bits()
235 if (nrbits > 8) { in pack_bits()
237 if (nrbits > 16) { in pack_bits()
239 if (nrbits > 24) { in pack_bits()
241 if (nrbits > 32) in pack_bits()
248 if (nrbits > 8) { in pack_bits()
[all …]
Dubifs.h1960 uint32_t ubifs_unpack_bits(const struct ubifs_info *c, uint8_t **addr, int *pos, int nrbits);
/fs/nfs/
Dinternal.h663 unsigned char nrbits; in nfs_block_bits() local
665 for (nrbits = 31; nrbits && !(bsize & (1 << nrbits)); nrbits--) in nfs_block_bits()
667 bsize = 1 << nrbits; in nfs_block_bits()
669 *nrbitsp = nrbits; in nfs_block_bits()
/fs/btrfs/
Dfree-space-tree.c337 unsigned long nrbits, start_bit, end_bit; in convert_free_space_to_extents() local
419 nrbits = div_u64(block_group->length, block_group->fs_info->sectorsize); in convert_free_space_to_extents()
420 start_bit = find_next_bit_le(bitmap, nrbits, 0); in convert_free_space_to_extents()
422 while (start_bit < nrbits) { in convert_free_space_to_extents()
423 end_bit = find_next_zero_bit_le(bitmap, nrbits, start_bit); in convert_free_space_to_extents()
437 start_bit = find_next_bit_le(bitmap, nrbits, end_bit); in convert_free_space_to_extents()