Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ocfs2/
Dsuballoc.c99 u32 bits_wanted, u32 min_bits,
104 u32 bits_wanted, u32 min_bits,
109 u32 bits_wanted,
130 u32 bits_wanted, u64 max_block,
786 u32 bits_wanted = ac->ac_bits_wanted; in ocfs2_reserve_suballoc_bits() local
828 if (bits_wanted > free_bits) { in ocfs2_reserve_suballoc_bits()
831 trace_ocfs2_reserve_suballoc_bits_nospc(bits_wanted, in ocfs2_reserve_suballoc_bits()
839 slot, bits_wanted, free_bits); in ocfs2_reserve_suballoc_bits()
855 BUG_ON(bits_wanted > in ocfs2_reserve_suballoc_bits()
1158 u32 bits_wanted, u64 max_block, in ocfs2_reserve_clusters_with_limit() argument
[all …]
Dlocalalloc.h48 u32 bits_wanted,
54 u32 bits_wanted,
Dlocalalloc.c632 u32 bits_wanted, in ocfs2_reserve_local_alloc_bits() argument
660 (bits_wanted > osb->local_alloc_bits)) { in ocfs2_reserve_local_alloc_bits()
682 if (bits_wanted > free_bits) { in ocfs2_reserve_local_alloc_bits()
704 if (bits_wanted > free_bits) in ocfs2_reserve_local_alloc_bits()
723 bits_wanted, osb->slot_num, status); in ocfs2_reserve_local_alloc_bits()
733 u32 bits_wanted, in ocfs2_claim_local_alloc_bits() argument
749 start = ocfs2_local_alloc_find_clear_bits(osb, alloc, &bits_wanted, in ocfs2_claim_local_alloc_bits()
760 *num_bits = bits_wanted; in ocfs2_claim_local_alloc_bits()
772 bits_wanted); in ocfs2_claim_local_alloc_bits()
774 while(bits_wanted--) in ocfs2_claim_local_alloc_bits()
Dsuballoc.h86 u32 bits_wanted,
107 u32 bits_wanted,
/linux-4.19.296/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-4.19.296/drivers/parisc/
Dsba_iommu.c339 unsigned long bits_wanted) in sba_search_bitmap() argument
358 if (bits_wanted > (BITS_PER_LONG/2)) { in sba_search_bitmap()
362 ret = iommu_is_span_boundary(tpide, bits_wanted, in sba_search_bitmap()
366 *res_ptr = RESMAP_MASK(bits_wanted); in sba_search_bitmap()
381 unsigned long o = 1 << get_order(bits_wanted << PAGE_SHIFT); in sba_search_bitmap()
389 mask = RESMAP_MASK(bits_wanted) >> bitshiftcnt; in sba_search_bitmap()
397 ret = iommu_is_span_boundary(tpide, bits_wanted, in sba_search_bitmap()
408 mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap()
414 ioc->res_bitshift = bitshiftcnt + bits_wanted; in sba_search_bitmap()