Home
last modified time | relevance | path

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

/linux-5.19.10/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.h1984 uint32_t ubifs_unpack_bits(const struct ubifs_info *c, uint8_t **addr, int *pos, int nrbits);
/linux-5.19.10/fs/nfs/
Dinternal.h672 unsigned char nrbits; in nfs_block_bits() local
674 for (nrbits = 31; nrbits && !(bsize & (1 << nrbits)); nrbits--) in nfs_block_bits()
676 bsize = 1 << nrbits; in nfs_block_bits()
678 *nrbitsp = nrbits; in nfs_block_bits()
/linux-5.19.10/drivers/mtd/
Dinftlcore.c447 static int nrbits(unsigned int val, int bitcount) in nrbits() function
583 parity = (nrbits(thisVUC, 16) & 0x1) ? 0x1 : 0; in INFTL_findwriteunit()
584 parity |= (nrbits(prev_block, 16) & 0x1) ? 0x2 : 0; in INFTL_findwriteunit()
585 parity |= (nrbits(anac, 8) & 0x1) ? 0x4 : 0; in INFTL_findwriteunit()
586 parity |= (nrbits(nacs, 8) & 0x1) ? 0x8 : 0; in INFTL_findwriteunit()
/linux-5.19.10/fs/btrfs/
Dfree-space-tree.c350 unsigned long nrbits, start_bit, end_bit; in convert_free_space_to_extents() local
431 nrbits = block_group->length >> block_group->fs_info->sectorsize_bits; in convert_free_space_to_extents()
432 start_bit = find_next_bit_le(bitmap, nrbits, 0); in convert_free_space_to_extents()
434 while (start_bit < nrbits) { in convert_free_space_to_extents()
435 end_bit = find_next_zero_bit_le(bitmap, nrbits, start_bit); in convert_free_space_to_extents()
449 start_bit = find_next_bit_le(bitmap, nrbits, end_bit); in convert_free_space_to_extents()