Home
last modified time | relevance | path

Searched refs:bits_wanted (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/fs/ocfs2/
Dsuballoc.c87 u32 bits_wanted, u32 min_bits,
92 u32 bits_wanted, u32 min_bits,
97 u32 bits_wanted,
118 u32 bits_wanted, u64 max_block,
774 u32 bits_wanted = ac->ac_bits_wanted; in ocfs2_reserve_suballoc_bits() local
816 if (bits_wanted > free_bits) { in ocfs2_reserve_suballoc_bits()
819 trace_ocfs2_reserve_suballoc_bits_nospc(bits_wanted, in ocfs2_reserve_suballoc_bits()
827 slot, bits_wanted, free_bits); in ocfs2_reserve_suballoc_bits()
843 BUG_ON(bits_wanted > in ocfs2_reserve_suballoc_bits()
1146 u32 bits_wanted, u64 max_block, in ocfs2_reserve_clusters_with_limit() argument
[all …]
Dlocalalloc.h32 u32 bits_wanted,
38 u32 bits_wanted,
Dlocalalloc.c616 u32 bits_wanted, in ocfs2_reserve_local_alloc_bits() argument
644 (bits_wanted > osb->local_alloc_bits)) { in ocfs2_reserve_local_alloc_bits()
666 if (bits_wanted > free_bits) { in ocfs2_reserve_local_alloc_bits()
688 if (bits_wanted > free_bits) in ocfs2_reserve_local_alloc_bits()
707 bits_wanted, osb->slot_num, status); in ocfs2_reserve_local_alloc_bits()
717 u32 bits_wanted, in ocfs2_claim_local_alloc_bits() argument
733 start = ocfs2_local_alloc_find_clear_bits(osb, alloc, &bits_wanted, in ocfs2_claim_local_alloc_bits()
744 *num_bits = bits_wanted; in ocfs2_claim_local_alloc_bits()
756 bits_wanted); in ocfs2_claim_local_alloc_bits()
758 while(bits_wanted--) in ocfs2_claim_local_alloc_bits()
Dsuballoc.h70 u32 bits_wanted,
95 u32 bits_wanted,
/linux-6.12.1/lib/
Ddecompress_bunzip2.c116 static unsigned int INIT get_bits(struct bunzip_data *bd, char bits_wanted) in get_bits() argument
123 while (bd->inbufBitCount < bits_wanted) { in get_bits()
139 bits_wanted -= bd->inbufBitCount; in get_bits()
140 bits <<= bits_wanted; in get_bits()
148 bd->inbufBitCount -= bits_wanted; in get_bits()
149 bits |= (bd->inbufBits >> bd->inbufBitCount)&((1 << bits_wanted)-1); in get_bits()
/linux-6.12.1/drivers/parisc/
Dsba_iommu.c342 unsigned long bits_wanted) in sba_search_bitmap() argument
360 if (bits_wanted > (BITS_PER_LONG/2)) { in sba_search_bitmap()
364 ret = iommu_is_span_boundary(tpide, bits_wanted, in sba_search_bitmap()
368 *res_ptr = RESMAP_MASK(bits_wanted); in sba_search_bitmap()
383 unsigned long o = 1 << get_order(bits_wanted << PAGE_SHIFT); in sba_search_bitmap()
391 mask = RESMAP_MASK(bits_wanted) >> bitshiftcnt; in sba_search_bitmap()
399 ret = iommu_is_span_boundary(tpide, bits_wanted, in sba_search_bitmap()
410 mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap()
416 ioc->res_bitshift = bitshiftcnt + bits_wanted; in sba_search_bitmap()