Searched refs:next_bit (Results 1 – 6 of 6) sorted by relevance
| /linux/rust/kernel/ |
| H A D | bitmap.rs | 171 /// assert_eq!(Some(0), b.next_bit(0)); in deref() 173 /// assert_eq!(Some(4), b.next_bit(1)); in deref() 502 pub fn next_bit(&self, start: usize) -> Option<usize> { 706 assert_eq!(None, b.next_bit(0)); 740 assert_eq!(None, b.next_bit(0)); 746 assert_eq!(Some(17), b.next_bit(0)); 747 assert_eq!(Some(17), b.next_bit(17)); 748 assert_eq!(None, b.next_bit(18)); 753 assert_eq!(Some(17), b.next_bit(0)); 754 assert_eq!(Some(17), b.next_bit(1 464 pub fn next_bit(&self, start: usize) -> Option<usize> { next_bit() method [all...] |
| /linux/arch/x86/kernel/ |
| H A D | amd_gart_64.c | 86 static unsigned long next_bit; /* protected by iommu_bitmap_lock */ variable 101 offset = iommu_area_alloc(iommu_gart_bitmap, iommu_pages, next_bit, in alloc_iommu() 110 next_bit = offset+size; in alloc_iommu() 111 if (next_bit >= iommu_pages) { in alloc_iommu() 112 next_bit = 0; in alloc_iommu() 129 if (offset >= next_bit) in free_iommu() 130 next_bit = offset + size; in free_iommu()
|
| /linux/lib/ |
| H A D | genalloc.c | 765 unsigned long next_bit = find_next_bit(map, size, index + nr); in gen_pool_best_fit() local 766 if ((next_bit - index) < len) { in gen_pool_best_fit() 767 len = next_bit - index; in gen_pool_best_fit() 773 next_bit + 1, nr, 0); in gen_pool_best_fit()
|
| H A D | test_bitmap.c | 697 unsigned int nbits, next_bit; in test_bitmap_arr32() 708 next_bit = find_next_bit(bmap2, in test_bitmap_arr32() 710 if (next_bit < round_up(nbits, BITS_PER_LONG)) { in test_bitmap_arr32() 713 nbits, next_bit); 725 unsigned int nbits, next_bit; in test_bitmap_arr64() 737 next_bit = find_next_bit(bmap2, round_up(nbits, BITS_PER_LONG), nbits); in test_bitmap_arr64() 738 if (next_bit < round_up(nbits, BITS_PER_LONG)) { in test_bitmap_arr64() 740 " tail is not safely cleared: %d\n", nbits, next_bit); in test_bitmap_arr64() 688 unsigned int nbits, next_bit; test_bitmap_arr32() local 716 unsigned int nbits, next_bit; test_bitmap_arr64() local
|
| /linux/drivers/fsi/ |
| H A D | fsi-master-gpio.c | 136 int next_bit; in serial_out() local 152 next_bit = (msg & sda_mask) >> (cmd->bits - 1); in serial_out() 153 if (last_bit ^ next_bit) { in serial_out() 154 sda_out(master, next_bit); in serial_out() 155 last_bit = next_bit; in serial_out()
|
| /linux/net/ceph/ |
| H A D | osdmap.c | 2325 int next_bit = n << (old_bits - 1); in ceph_pg_is_split() 2326 u32 s = next_bit | pgid->seed; in ceph_pg_is_split() 2313 int next_bit = n << (old_bits - 1); ceph_pg_is_split() local
|