Searched refs:bits_wanted (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/fs/ocfs2/ |
D | suballoc.c | 83 u32 bits_wanted, u32 min_bits, 88 u32 bits_wanted, u32 min_bits, 93 u32 bits_wanted, 114 u32 bits_wanted, u64 max_block, 770 u32 bits_wanted = ac->ac_bits_wanted; in ocfs2_reserve_suballoc_bits() local 812 if (bits_wanted > free_bits) { in ocfs2_reserve_suballoc_bits() 815 trace_ocfs2_reserve_suballoc_bits_nospc(bits_wanted, in ocfs2_reserve_suballoc_bits() 823 slot, bits_wanted, free_bits); in ocfs2_reserve_suballoc_bits() 839 BUG_ON(bits_wanted > in ocfs2_reserve_suballoc_bits() 1142 u32 bits_wanted, u64 max_block, in ocfs2_reserve_clusters_with_limit() argument [all …]
|
D | localalloc.h | 32 u32 bits_wanted, 38 u32 bits_wanted,
|
D | localalloc.c | 615 u32 bits_wanted, in ocfs2_reserve_local_alloc_bits() argument 643 (bits_wanted > osb->local_alloc_bits)) { in ocfs2_reserve_local_alloc_bits() 665 if (bits_wanted > free_bits) { in ocfs2_reserve_local_alloc_bits() 687 if (bits_wanted > free_bits) in ocfs2_reserve_local_alloc_bits() 706 bits_wanted, osb->slot_num, status); in ocfs2_reserve_local_alloc_bits() 716 u32 bits_wanted, in ocfs2_claim_local_alloc_bits() argument 732 start = ocfs2_local_alloc_find_clear_bits(osb, alloc, &bits_wanted, in ocfs2_claim_local_alloc_bits() 743 *num_bits = bits_wanted; in ocfs2_claim_local_alloc_bits() 755 bits_wanted); in ocfs2_claim_local_alloc_bits() 757 while(bits_wanted--) in ocfs2_claim_local_alloc_bits()
|
D | suballoc.h | 70 u32 bits_wanted, 91 u32 bits_wanted,
|
/linux-6.1.9/lib/ |
D | decompress_bunzip2.c | 116 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.1.9/arch/ia64/hp/common/ |
D | sba_iommu.c | 476 unsigned long bits_wanted, int use_hint) in sba_search_bitmap() argument 509 bits_wanted = 1UL << get_iovp_order(bits_wanted << iovp_shift); in sba_search_bitmap() 511 if (likely(bits_wanted == 1)) { in sba_search_bitmap() 518 ioc->res_bitshift = bitshiftcnt + bits_wanted; in sba_search_bitmap() 526 if (likely(bits_wanted <= BITS_PER_LONG/2)) { in sba_search_bitmap() 533 unsigned long o = 1 << get_iovp_order(bits_wanted << iovp_shift); in sba_search_bitmap() 537 base_mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap() 547 ret = iommu_is_span_boundary(tpide, bits_wanted, in sba_search_bitmap() 553 ioc->res_bitshift = bitshiftcnt + bits_wanted; in sba_search_bitmap() 567 qwords = bits_wanted >> 6; /* /64 */ in sba_search_bitmap() [all …]
|
/linux-6.1.9/drivers/parisc/ |
D | sba_iommu.c | 343 unsigned long bits_wanted) in sba_search_bitmap() argument 361 if (bits_wanted > (BITS_PER_LONG/2)) { in sba_search_bitmap() 365 ret = iommu_is_span_boundary(tpide, bits_wanted, in sba_search_bitmap() 369 *res_ptr = RESMAP_MASK(bits_wanted); in sba_search_bitmap() 384 unsigned long o = 1 << get_order(bits_wanted << PAGE_SHIFT); in sba_search_bitmap() 392 mask = RESMAP_MASK(bits_wanted) >> bitshiftcnt; in sba_search_bitmap() 400 ret = iommu_is_span_boundary(tpide, bits_wanted, in sba_search_bitmap() 411 mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap() 417 ioc->res_bitshift = bitshiftcnt + bits_wanted; in sba_search_bitmap()
|