Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/tools/
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
131 if (next_bit > 0)
175 next_bit = 63
181 if (next_bit > 0)
212 if (next_bit != 63)
218 next_bit = 0
/linux-6.12.1/kernel/bpf/
Dlpm_trie.c249 unsigned int next_bit; in trie_lookup_elem() local
279 next_bit = extract_bit(key->data, node->prefixlen); in trie_lookup_elem()
280 node = rcu_dereference_check(node->child[next_bit], in trie_lookup_elem()
323 unsigned int next_bit; in trie_update_elem() local
371 next_bit = extract_bit(key->data, node->prefixlen); in trie_update_elem()
372 slot = &node->child[next_bit]; in trie_update_elem()
403 next_bit = extract_bit(node->data, matchlen); in trie_update_elem()
404 rcu_assign_pointer(new_node->child[next_bit], node); in trie_update_elem()
455 unsigned int next_bit; in trie_delete_elem() local
483 next_bit = extract_bit(key->data, node->prefixlen); in trie_delete_elem()
[all …]
/linux-6.12.1/fs/xfs/
Dxfs_buf_item.c97 int next_bit; in xfs_buf_item_size_segment() local
147 next_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, in xfs_buf_item_size_segment()
154 if (next_bit == -1) { in xfs_buf_item_size_segment()
156 } else if (next_bit != last_bit + 1 || in xfs_buf_item_size_segment()
158 last_bit = next_bit; in xfs_buf_item_size_segment()
159 first_bit = next_bit; in xfs_buf_item_size_segment()
281 int next_bit; in xfs_buf_item_format_segment() local
362 next_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, in xfs_buf_item_format_segment()
371 if (next_bit == -1) { in xfs_buf_item_format_segment()
376 } else if (next_bit != last_bit + 1 || in xfs_buf_item_format_segment()
[all …]
/linux-6.12.1/arch/x86/kernel/
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.12.1/drivers/gpu/drm/vmwgfx/
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.12.1/lib/
Dtest_bitmap.c675 unsigned int nbits, next_bit; in test_bitmap_arr32() local
686 next_bit = find_next_bit(bmap2, in test_bitmap_arr32()
688 if (next_bit < round_up(nbits, BITS_PER_LONG)) { in test_bitmap_arr32()
691 nbits, next_bit); in test_bitmap_arr32()
703 unsigned int nbits, next_bit; in test_bitmap_arr64() local
715 next_bit = find_next_bit(bmap2, round_up(nbits, BITS_PER_LONG), nbits); in test_bitmap_arr64()
716 if (next_bit < round_up(nbits, BITS_PER_LONG)) { in test_bitmap_arr64()
718 " tail is not safely cleared: %d\n", nbits, next_bit); in test_bitmap_arr64()
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.12.1/drivers/fsi/
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.12.1/fs/btrfs/
Dfree-space-tree.c613 int prev_bit, next_bit; in modify_free_space_bitmap() local
682 next_bit = free_space_test_bit(block_group, path, end); in modify_free_space_bitmap()
684 next_bit = -1; in modify_free_space_bitmap()
693 if (next_bit == 1) { in modify_free_space_bitmap()
703 if (next_bit == 1) { in modify_free_space_bitmap()
/linux-6.12.1/net/ceph/
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()