Home
last modified time | relevance | path

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

/external/u-boot/fs/ubifs/
Dlpt.c228 static void pack_bits(uint8_t **addr, int *pos, uint32_t val, int nrbits) in pack_bits() argument
233 ubifs_assert(nrbits > 0); in pack_bits()
234 ubifs_assert(nrbits <= 32); in pack_bits()
237 ubifs_assert((val >> nrbits) == 0 || nrbits == 32); in pack_bits()
240 nrbits += b; in pack_bits()
241 if (nrbits > 8) { in pack_bits()
243 if (nrbits > 16) { in pack_bits()
245 if (nrbits > 24) { in pack_bits()
247 if (nrbits > 32) in pack_bits()
254 if (nrbits > 8) { in pack_bits()
[all …]
Dubifs.h2312 uint32_t ubifs_unpack_bits(uint8_t **addr, int *pos, int nrbits);