Home
last modified time | relevance | path

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

/Linux-v5.10/fs/xfs/
Dxfs_buf_item.c76 int next_bit; in xfs_buf_item_size_segment() local
97 next_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, in xfs_buf_item_size_segment()
104 if (next_bit == -1) { in xfs_buf_item_size_segment()
106 } else if (next_bit != last_bit + 1) { in xfs_buf_item_size_segment()
107 last_bit = next_bit; in xfs_buf_item_size_segment()
109 } else if (xfs_buf_offset(bp, next_bit * XFS_BLF_CHUNK) != in xfs_buf_item_size_segment()
112 last_bit = next_bit; in xfs_buf_item_size_segment()
211 int next_bit, in xfs_buf_item_straddle() argument
214 return xfs_buf_offset(bp, offset + (next_bit << XFS_BLF_SHIFT)) != in xfs_buf_item_straddle()
231 int next_bit; in xfs_buf_item_format_segment() local
[all …]
/Linux-v5.10/kernel/bpf/
Dlpm_trie.c236 unsigned int next_bit; in trie_lookup_elem() local
266 next_bit = extract_bit(key->data, node->prefixlen); in trie_lookup_elem()
267 node = rcu_dereference(node->child[next_bit]); in trie_lookup_elem()
308 unsigned int next_bit; in trie_update_elem() local
356 next_bit = extract_bit(key->data, node->prefixlen); in trie_update_elem()
357 slot = &node->child[next_bit]; in trie_update_elem()
388 next_bit = extract_bit(node->data, matchlen); in trie_update_elem()
389 rcu_assign_pointer(new_node->child[next_bit], node); in trie_update_elem()
438 unsigned int next_bit; in trie_delete_elem() local
466 next_bit = extract_bit(key->data, node->prefixlen); in trie_delete_elem()
[all …]
/Linux-v5.10/arch/x86/kernel/
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-v5.10/drivers/gpu/drm/vmwgfx/
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()
995 unsigned long i, next_bit; in vmw_collect_dirty_vbs() local
1000 next_bit = i; in vmw_collect_dirty_vbs()
1015 if (next_bit == i) { in vmw_collect_dirty_vbs()
1016 next_bit = find_next_bit(dirty, max_num, i + 1); in vmw_collect_dirty_vbs()
1017 if (next_bit >= max_num) in vmw_collect_dirty_vbs()
/Linux-v5.10/lib/
Dtest_bitmap.c472 unsigned int nbits, next_bit; in test_bitmap_arr32() local
483 next_bit = find_next_bit(bmap2, in test_bitmap_arr32()
485 if (next_bit < round_up(nbits, BITS_PER_LONG)) in test_bitmap_arr32()
488 nbits, next_bit); in test_bitmap_arr32()
Dgenalloc.c758 int next_bit = find_next_bit(map, size, index + nr); in gen_pool_best_fit() local
759 if ((next_bit - index) < len) { in gen_pool_best_fit()
760 len = next_bit - index; in gen_pool_best_fit()
766 next_bit + 1, nr, 0); in gen_pool_best_fit()
/Linux-v5.10/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-v5.10/arch/s390/pci/
Dpci_dma.c277 offset = __dma_alloc_iommu(dev, zdev->next_bit, size); in dma_alloc_address()
293 zdev->next_bit = offset + size; in dma_alloc_address()
630 zdev->next_bit = 0; in zpci_dma_exit_device()
/Linux-v5.10/arch/s390/include/asm/
Dpci.h162 unsigned int next_bit; member
/Linux-v5.10/fs/btrfs/
Dfree-space-tree.c595 int prev_bit, next_bit; in modify_free_space_bitmap() local
664 next_bit = free_space_test_bit(block_group, path, end); in modify_free_space_bitmap()
666 next_bit = -1; in modify_free_space_bitmap()
675 if (next_bit == 1) { in modify_free_space_bitmap()
685 if (next_bit == 1) { in modify_free_space_bitmap()
/Linux-v5.10/net/ceph/
Dosdmap.c2267 int next_bit = n << (old_bits - 1); in ceph_pg_is_split() local
2268 u32 s = next_bit | pgid->seed; in ceph_pg_is_split()