Home
last modified time | relevance | path

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

/Linux-v4.19/fs/ubifs/
Dlpt.c234 …atic void pack_bits(const struct ubifs_info *c, uint8_t **addr, int *pos, uint32_t val, int nrbits) in pack_bits() argument
239 ubifs_assert(c, nrbits > 0); in pack_bits()
240 ubifs_assert(c, nrbits <= 32); in pack_bits()
243 ubifs_assert(c, (val >> nrbits) == 0 || nrbits == 32); in pack_bits()
246 nrbits += b; in pack_bits()
247 if (nrbits > 8) { in pack_bits()
249 if (nrbits > 16) { in pack_bits()
251 if (nrbits > 24) { in pack_bits()
253 if (nrbits > 32) in pack_bits()
260 if (nrbits > 8) { in pack_bits()
[all …]
Dubifs.h1718 uint32_t ubifs_unpack_bits(const struct ubifs_info *c, uint8_t **addr, int *pos, int nrbits);
/Linux-v4.19/fs/nfs/
Dinternal.h614 unsigned char nrbits; in nfs_block_bits() local
616 for (nrbits = 31; nrbits && !(bsize & (1 << nrbits)); nrbits--) in nfs_block_bits()
618 bsize = 1 << nrbits; in nfs_block_bits()
620 *nrbitsp = nrbits; in nfs_block_bits()
/Linux-v4.19/drivers/mtd/
Dinftlcore.c460 static int nrbits(unsigned int val, int bitcount) in nrbits() function
596 parity = (nrbits(thisVUC, 16) & 0x1) ? 0x1 : 0; in INFTL_findwriteunit()
597 parity |= (nrbits(prev_block, 16) & 0x1) ? 0x2 : 0; in INFTL_findwriteunit()
598 parity |= (nrbits(anac, 8) & 0x1) ? 0x4 : 0; in INFTL_findwriteunit()
599 parity |= (nrbits(nacs, 8) & 0x1) ? 0x8 : 0; in INFTL_findwriteunit()
/Linux-v4.19/fs/btrfs/
Dfree-space-tree.c330 unsigned long nrbits, start_bit, end_bit; in convert_free_space_to_extents() local
412 nrbits = div_u64(block_group->key.offset, block_group->fs_info->sectorsize); in convert_free_space_to_extents()
413 start_bit = find_next_bit_le(bitmap, nrbits, 0); in convert_free_space_to_extents()
415 while (start_bit < nrbits) { in convert_free_space_to_extents()
416 end_bit = find_next_zero_bit_le(bitmap, nrbits, start_bit); in convert_free_space_to_extents()
430 start_bit = find_next_bit_le(bitmap, nrbits, end_bit); in convert_free_space_to_extents()