Home
last modified time | relevance | path

Searched refs:next_bit (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/arch/arm64/tools/
H A Dgen-sysreg.awk78 if (msb != next_bit)
79 fatal(reg "." field " starts at " msb " not " next_bit)
89 next_bit = lsb - 1
125 next_bit = 63
132 if (next_bit > 0)
176 next_bit = 63
183 if (next_bit > 0)
214 if (next_bit != 63)
220 next_bit = 0
/linux-6.15/kernel/bpf/
H A Dlpm_trie.c251 unsigned int next_bit; in trie_lookup_elem() local
281 next_bit = extract_bit(key->data, node->prefixlen); in trie_lookup_elem()
282 node = rcu_dereference_check(node->child[next_bit], in trie_lookup_elem()
331 unsigned int next_bit; in trie_update_elem() local
369 next_bit = extract_bit(key->data, node->prefixlen); in trie_update_elem()
370 slot = &node->child[next_bit]; in trie_update_elem()
417 next_bit = extract_bit(node->data, matchlen); in trie_update_elem()
465 unsigned int next_bit; in trie_delete_elem() local
495 trim = &node->child[next_bit]; in trie_delete_elem()
663 unsigned int next_bit; in trie_get_next_key() local
[all …]
/linux-6.15/arch/x86/kernel/
H A Damd_gart_64.c86 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-6.15/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_binding.c789 unsigned long i, next_bit; in vmw_collect_dirty_view_ids() local
793 next_bit = i; in vmw_collect_dirty_view_ids()
802 if (next_bit == i) { in vmw_collect_dirty_view_ids()
803 next_bit = find_next_bit(dirty, max_num, i + 1); in vmw_collect_dirty_view_ids()
804 if (next_bit >= max_num) in vmw_collect_dirty_view_ids()
1016 unsigned long i, next_bit; in vmw_collect_dirty_vbs() local
1021 next_bit = i; in vmw_collect_dirty_vbs()
1036 if (next_bit == i) { in vmw_collect_dirty_vbs()
1037 next_bit = find_next_bit(dirty, max_num, i + 1); in vmw_collect_dirty_vbs()
1038 if (next_bit >= max_num) in vmw_collect_dirty_vbs()
/linux-6.15/lib/
H A Dtest_bitmap.c647 unsigned int nbits, next_bit; in test_bitmap_arr32() local
658 next_bit = find_next_bit(bmap2, in test_bitmap_arr32()
660 if (next_bit < round_up(nbits, BITS_PER_LONG)) { in test_bitmap_arr32()
663 nbits, next_bit); in test_bitmap_arr32()
675 unsigned int nbits, next_bit; in test_bitmap_arr64() local
687 next_bit = find_next_bit(bmap2, round_up(nbits, BITS_PER_LONG), nbits); in test_bitmap_arr64()
688 if (next_bit < round_up(nbits, BITS_PER_LONG)) { in test_bitmap_arr64()
690 " tail is not safely cleared: %d\n", nbits, next_bit); in test_bitmap_arr64()
H A Dgenalloc.c765 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()
/linux-6.15/drivers/fsi/
H A Dfsi-master-gpio.c136 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-6.15/fs/btrfs/
H A Dfree-space-tree.c608 int prev_bit, next_bit; in modify_free_space_bitmap() local
677 next_bit = free_space_test_bit(block_group, path, end); in modify_free_space_bitmap()
679 next_bit = -1; in modify_free_space_bitmap()
688 if (next_bit == 1) { in modify_free_space_bitmap()
698 if (next_bit == 1) { in modify_free_space_bitmap()
/linux-6.15/net/ceph/
H A Dosdmap.c2302 int next_bit = n << (old_bits - 1); in ceph_pg_is_split() local
2303 u32 s = next_bit | pgid->seed; in ceph_pg_is_split()