Home
last modified time | relevance | path

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

/linux/kernel/bpf/
A Dlpm_trie.c237 unsigned int next_bit; in trie_lookup_elem() local
267 next_bit = extract_bit(key->data, node->prefixlen); in trie_lookup_elem()
268 node = rcu_dereference_check(node->child[next_bit], in trie_lookup_elem()
310 unsigned int next_bit; in trie_update_elem() local
358 next_bit = extract_bit(key->data, node->prefixlen); in trie_update_elem()
359 slot = &node->child[next_bit]; in trie_update_elem()
390 next_bit = extract_bit(node->data, matchlen); in trie_update_elem()
440 unsigned int next_bit; in trie_delete_elem() local
469 trim = &node->child[next_bit]; in trie_delete_elem()
621 unsigned int next_bit; in trie_get_next_key() local
[all …]
/linux/fs/xfs/
A Dxfs_buf_item.c95 int next_bit; in xfs_buf_item_size_segment() local
145 next_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, in xfs_buf_item_size_segment()
152 if (next_bit == -1) { in xfs_buf_item_size_segment()
154 } else if (next_bit != last_bit + 1 || in xfs_buf_item_size_segment()
156 last_bit = next_bit; in xfs_buf_item_size_segment()
157 first_bit = next_bit; in xfs_buf_item_size_segment()
279 int next_bit; in xfs_buf_item_format_segment() local
369 if (next_bit == -1) { in xfs_buf_item_format_segment()
374 } else if (next_bit != last_bit + 1 || in xfs_buf_item_format_segment()
379 first_bit = next_bit; in xfs_buf_item_format_segment()
[all …]
/linux/arch/x86/kernel/
A Damd_gart_64.c88 static unsigned long next_bit; /* protected by iommu_bitmap_lock */ variable
103 offset = iommu_area_alloc(iommu_gart_bitmap, iommu_pages, next_bit, in alloc_iommu()
112 next_bit = offset+size; in alloc_iommu()
113 if (next_bit >= iommu_pages) { in alloc_iommu()
114 next_bit = 0; in alloc_iommu()
131 if (offset >= next_bit) in free_iommu()
132 next_bit = offset + size; in free_iommu()
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_binding.c767 unsigned long i, next_bit; in vmw_collect_dirty_view_ids() local
771 next_bit = i; in vmw_collect_dirty_view_ids()
780 if (next_bit == i) { in vmw_collect_dirty_view_ids()
781 next_bit = find_next_bit(dirty, max_num, i + 1); in vmw_collect_dirty_view_ids()
782 if (next_bit >= max_num) in vmw_collect_dirty_view_ids()
994 unsigned long i, next_bit; in vmw_collect_dirty_vbs() local
999 next_bit = i; in vmw_collect_dirty_vbs()
1014 if (next_bit == i) { in vmw_collect_dirty_vbs()
1015 next_bit = find_next_bit(dirty, max_num, i + 1); in vmw_collect_dirty_vbs()
1016 if (next_bit >= max_num) in vmw_collect_dirty_vbs()
/linux/lib/
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()
A Dtest_bitmap.c528 unsigned int nbits, next_bit; in test_bitmap_arr32() local
539 next_bit = find_next_bit(bmap2, in test_bitmap_arr32()
541 if (next_bit < round_up(nbits, BITS_PER_LONG)) in test_bitmap_arr32()
544 nbits, next_bit); in test_bitmap_arr32()
/linux/drivers/fsi/
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/arch/s390/pci/
A 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/fs/btrfs/
A Dfree-space-tree.c593 int prev_bit, next_bit; in modify_free_space_bitmap() local
662 next_bit = free_space_test_bit(block_group, path, end); in modify_free_space_bitmap()
664 next_bit = -1; in modify_free_space_bitmap()
673 if (next_bit == 1) { in modify_free_space_bitmap()
683 if (next_bit == 1) { in modify_free_space_bitmap()
/linux/arch/s390/include/asm/
A Dpci.h163 unsigned int next_bit; member
/linux/net/ceph/
A Dosdmap.c2286 int next_bit = n << (old_bits - 1); in ceph_pg_is_split() local
2287 u32 s = next_bit | pgid->seed; in ceph_pg_is_split()

Completed in 31 milliseconds