Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/tools/
Dgen-sysreg.awk61 if (msb != next_bit)
62 fatal(reg "." field " starts at " msb " not " next_bit)
72 next_bit = lsb - 1
102 next_bit = 63
108 if (next_bit > 0)
149 next_bit = 63
155 if (next_bit > 0)
184 if (next_bit != 63)
190 next_bit = 0
/linux-6.1.9/kernel/bpf/
Dlpm_trie.c238 unsigned int next_bit; in trie_lookup_elem() local
268 next_bit = extract_bit(key->data, node->prefixlen); in trie_lookup_elem()
269 node = rcu_dereference_check(node->child[next_bit], in trie_lookup_elem()
311 unsigned int next_bit; in trie_update_elem() local
359 next_bit = extract_bit(key->data, node->prefixlen); in trie_update_elem()
360 slot = &node->child[next_bit]; in trie_update_elem()
391 next_bit = extract_bit(node->data, matchlen); in trie_update_elem()
392 rcu_assign_pointer(new_node->child[next_bit], node); in trie_update_elem()
441 unsigned int next_bit; in trie_delete_elem() local
469 next_bit = extract_bit(key->data, node->prefixlen); in trie_delete_elem()
[all …]
/linux-6.1.9/fs/xfs/
Dxfs_buf_item.c96 int next_bit; in xfs_buf_item_size_segment() local
146 next_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, in xfs_buf_item_size_segment()
153 if (next_bit == -1) { in xfs_buf_item_size_segment()
155 } else if (next_bit != last_bit + 1 || in xfs_buf_item_size_segment()
157 last_bit = next_bit; in xfs_buf_item_size_segment()
158 first_bit = next_bit; in xfs_buf_item_size_segment()
280 int next_bit; in xfs_buf_item_format_segment() local
361 next_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, in xfs_buf_item_format_segment()
370 if (next_bit == -1) { in xfs_buf_item_format_segment()
375 } else if (next_bit != last_bit + 1 || in xfs_buf_item_format_segment()
[all …]
/linux-6.1.9/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.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_binding.c788 unsigned long i, next_bit; in vmw_collect_dirty_view_ids() local
792 next_bit = i; in vmw_collect_dirty_view_ids()
801 if (next_bit == i) { in vmw_collect_dirty_view_ids()
802 next_bit = find_next_bit(dirty, max_num, i + 1); in vmw_collect_dirty_view_ids()
803 if (next_bit >= max_num) in vmw_collect_dirty_view_ids()
1015 unsigned long i, next_bit; in vmw_collect_dirty_vbs() local
1020 next_bit = i; in vmw_collect_dirty_vbs()
1035 if (next_bit == i) { in vmw_collect_dirty_vbs()
1036 next_bit = find_next_bit(dirty, max_num, i + 1); in vmw_collect_dirty_vbs()
1037 if (next_bit >= max_num) in vmw_collect_dirty_vbs()
/linux-6.1.9/lib/
Dtest_bitmap.c605 unsigned int nbits, next_bit; in test_bitmap_arr32() local
616 next_bit = find_next_bit(bmap2, in test_bitmap_arr32()
618 if (next_bit < round_up(nbits, BITS_PER_LONG)) in test_bitmap_arr32()
621 nbits, next_bit); in test_bitmap_arr32()
631 unsigned int nbits, next_bit; in test_bitmap_arr64() local
643 next_bit = find_next_bit(bmap2, round_up(nbits, BITS_PER_LONG), nbits); in test_bitmap_arr64()
644 if (next_bit < round_up(nbits, BITS_PER_LONG)) in test_bitmap_arr64()
646 " 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.1.9/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.1.9/arch/s390/pci/
Dpci_dma.c279 offset = __dma_alloc_iommu(dev, zdev->next_bit, size); in dma_alloc_address()
295 zdev->next_bit = offset + size; in dma_alloc_address()
645 zdev->next_bit = 0; in zpci_dma_exit_device()
/linux-6.1.9/fs/btrfs/
Dfree-space-tree.c607 int prev_bit, next_bit; in modify_free_space_bitmap() local
676 next_bit = free_space_test_bit(block_group, path, end); in modify_free_space_bitmap()
678 next_bit = -1; in modify_free_space_bitmap()
687 if (next_bit == 1) { in modify_free_space_bitmap()
697 if (next_bit == 1) { in modify_free_space_bitmap()
/linux-6.1.9/arch/s390/include/asm/
Dpci.h166 unsigned int next_bit; member
/linux-6.1.9/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()