Searched refs:pack_bits (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/fs/ubifs/ |
D | lpt.c | 222 static void pack_bits(const struct ubifs_info *c, uint8_t **addr, int *pos, uint32_t val, int nrbit… in pack_bits() function 347 pack_bits(c, &addr, &pos, UBIFS_LPT_PNODE, UBIFS_LPT_TYPE_BITS); in ubifs_pack_pnode() 349 pack_bits(c, &addr, &pos, pnode->num, c->pcnt_bits); in ubifs_pack_pnode() 351 pack_bits(c, &addr, &pos, pnode->lprops[i].free >> 3, in ubifs_pack_pnode() 353 pack_bits(c, &addr, &pos, pnode->lprops[i].dirty >> 3, in ubifs_pack_pnode() 356 pack_bits(c, &addr, &pos, 1, 1); in ubifs_pack_pnode() 358 pack_bits(c, &addr, &pos, 0, 1); in ubifs_pack_pnode() 364 pack_bits(c, &addr, &pos, crc, UBIFS_LPT_CRC_BITS); in ubifs_pack_pnode() 380 pack_bits(c, &addr, &pos, UBIFS_LPT_NNODE, UBIFS_LPT_TYPE_BITS); in ubifs_pack_nnode() 382 pack_bits(c, &addr, &pos, nnode->num, c->pcnt_bits); in ubifs_pack_nnode() [all …]
|
/linux-6.1.9/drivers/md/persistent-data/ |
D | dm-bitset.c | 48 static int pack_bits(uint32_t index, void *value, void *context) in pack_bits() function 80 return dm_array_new(&info->array_info, root, dm_div_up(size, 64), pack_bits, &p); in dm_bitset_new()
|