Searched refs:bits_wanted (Results 1 – 8 of 8) sorted by relevance
/linux-3.4.99/fs/ocfs2/ |
D | suballoc.c | 101 u32 bits_wanted, u32 min_bits, 106 u32 bits_wanted, u32 min_bits, 111 u32 bits_wanted, 138 u32 bits_wanted, u64 max_block, 809 u32 bits_wanted = ac->ac_bits_wanted; in ocfs2_reserve_suballoc_bits() local 851 if (bits_wanted > free_bits) { in ocfs2_reserve_suballoc_bits() 854 trace_ocfs2_reserve_suballoc_bits_nospc(bits_wanted, in ocfs2_reserve_suballoc_bits() 862 slot, bits_wanted, free_bits); in ocfs2_reserve_suballoc_bits() 878 BUG_ON(bits_wanted > in ocfs2_reserve_suballoc_bits() 1184 u32 bits_wanted, u64 max_block, in ocfs2_reserve_clusters_with_limit() argument [all …]
|
D | localalloc.h | 48 u32 bits_wanted, 54 u32 bits_wanted,
|
D | localalloc.c | 629 u32 bits_wanted, in ocfs2_reserve_local_alloc_bits() argument 657 (bits_wanted > osb->local_alloc_bits)) { in ocfs2_reserve_local_alloc_bits() 681 if (bits_wanted > free_bits) { in ocfs2_reserve_local_alloc_bits() 703 if (bits_wanted > free_bits) in ocfs2_reserve_local_alloc_bits() 722 bits_wanted, osb->slot_num, status); in ocfs2_reserve_local_alloc_bits() 732 u32 bits_wanted, in ocfs2_claim_local_alloc_bits() argument 748 start = ocfs2_local_alloc_find_clear_bits(osb, alloc, &bits_wanted, in ocfs2_claim_local_alloc_bits() 759 *num_bits = bits_wanted; in ocfs2_claim_local_alloc_bits() 771 bits_wanted); in ocfs2_claim_local_alloc_bits() 773 while(bits_wanted--) in ocfs2_claim_local_alloc_bits()
|
D | suballoc.h | 86 u32 bits_wanted, 91 u32 bits_wanted,
|
D | journal.h | 518 u32 bits_wanted) in ocfs2_calc_extend_credits() argument
|
/linux-3.4.99/lib/ |
D | decompress_bunzip2.c | 115 static unsigned int INIT get_bits(struct bunzip_data *bd, char bits_wanted) in get_bits() argument 122 while (bd->inbufBitCount < bits_wanted) { in get_bits() 138 bits_wanted -= bd->inbufBitCount; in get_bits() 139 bits <<= bits_wanted; in get_bits() 147 bd->inbufBitCount -= bits_wanted; in get_bits() 148 bits |= (bd->inbufBits >> bd->inbufBitCount)&((1 << bits_wanted)-1); in get_bits()
|
/linux-3.4.99/arch/ia64/hp/common/ |
D | sba_iommu.c | 484 unsigned long bits_wanted, int use_hint) in sba_search_bitmap() argument 518 bits_wanted = 1UL << get_iovp_order(bits_wanted << iovp_shift); in sba_search_bitmap() 520 if (likely(bits_wanted == 1)) { in sba_search_bitmap() 527 ioc->res_bitshift = bitshiftcnt + bits_wanted; in sba_search_bitmap() 535 if (likely(bits_wanted <= BITS_PER_LONG/2)) { in sba_search_bitmap() 542 unsigned long o = 1 << get_iovp_order(bits_wanted << iovp_shift); in sba_search_bitmap() 546 base_mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap() 556 ret = iommu_is_span_boundary(tpide, bits_wanted, in sba_search_bitmap() 562 ioc->res_bitshift = bitshiftcnt + bits_wanted; in sba_search_bitmap() 576 qwords = bits_wanted >> 6; /* /64 */ in sba_search_bitmap() [all …]
|
/linux-3.4.99/drivers/parisc/ |
D | sba_iommu.c | 337 unsigned long bits_wanted) in sba_search_bitmap() argument 356 if (bits_wanted > (BITS_PER_LONG/2)) { in sba_search_bitmap() 360 ret = iommu_is_span_boundary(tpide, bits_wanted, in sba_search_bitmap() 364 *res_ptr = RESMAP_MASK(bits_wanted); in sba_search_bitmap() 379 unsigned long o = 1 << get_order(bits_wanted << PAGE_SHIFT); in sba_search_bitmap() 387 mask = RESMAP_MASK(bits_wanted) >> bitshiftcnt; in sba_search_bitmap() 395 ret = iommu_is_span_boundary(tpide, bits_wanted, in sba_search_bitmap() 406 mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap() 412 ioc->res_bitshift = bitshiftcnt + bits_wanted; in sba_search_bitmap()
|