/openbmc/linux/include/linux/ |
H A D | find.h | 43 #ifndef find_next_bit 54 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit() function 428 unsigned long bit = find_next_bit(addr, size, offset); in find_next_bit_wrap() 450 bit = find_next_bit(bitmap, size, n); in __for_each_wrap() 459 bit = find_next_bit(bitmap, start, n); in __for_each_wrap() 491 return find_next_bit(addr, size, offset); in find_next_bit_le() 578 for (; (bit) = find_next_bit((addr), (size), (bit)), (bit) < (size); (bit)++) 598 (b) = find_next_bit((addr), (size), b), \ 612 (b) = find_next_bit((addr), (size), (b)), \ 627 (e) = find_next_bit((addr), (size), (b) + 1), \ [all …]
|
/openbmc/linux/tools/include/linux/ |
H A D | bitops.h | 55 (bit) = find_next_bit((addr), (size), (bit) + 1)) 64 for ((bit) = find_next_bit((addr), (size), (bit)); \ 66 (bit) = find_next_bit((addr), (size), (bit) + 1))
|
H A D | find.h | 22 #ifndef find_next_bit 33 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit() function
|
/openbmc/linux/arch/mips/kvm/ |
H A D | interrupt.c | 37 priority = find_next_bit(pending_clr, in kvm_mips_deliver_interrupts() 46 priority = find_next_bit(pending, in kvm_mips_deliver_interrupts()
|
/openbmc/qemu/target/s390x/ |
H A D | cpu_features.c | 109 feat = find_next_bit(features, S390_FEAT_MAX, feat + 1); in s390_fill_feat_block() 183 le_bit = find_next_bit((unsigned long *) data, nr_bits, le_bit + 1); in s390_add_from_feat_block() 211 feat = find_next_bit(bitmap, S390_FEAT_MAX, feat + 1); in s390_feat_bitmap_to_ascii()
|
/openbmc/linux/mm/ |
H A D | percpu-stats.c | 89 end = find_next_bit(chunk->bound_map, last_alloc, in chunk_map_stats() 93 end = find_next_bit(chunk->alloc_map, last_alloc, in chunk_map_stats()
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | bitops.h | 205 #define find_next_bit(p,sz,off) _find_next_bit_le(p,sz,off) macro 214 #define find_next_bit(p,sz,off) _find_next_bit_be(p,sz,off) macro
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | bitops.h | 413 static inline int find_next_bit(const unsigned long *vaddr, int size, in find_next_bit() function 441 #define find_next_bit find_next_bit macro
|
/openbmc/linux/lib/ |
H A D | find_bit.c | 130 #ifndef find_next_bit 226 offset = find_next_bit(addr, size, offset); in find_next_clump8()
|
H A D | find_bit_benchmark.c | 78 i = find_next_bit(bitmap, BITMAP_LEN, i) + 1; in test_find_next_bit()
|
/openbmc/linux/lib/math/ |
H A D | prime_numbers.c | 144 for (y = 2UL; y < sz; y = find_next_bit(new->primes, sz, y + 1)) in expand_to_next_prime() 201 x = find_next_bit(p->primes, p->last, x + 1); in next_prime_number()
|
/openbmc/linux/tools/lib/ |
H A D | find_bit.c | 102 #ifndef find_next_bit
|
H A D | bitmap.c | 42 cur = find_next_bit(bitmap, nbits, cur + 1); in bitmap_scnprintf()
|
/openbmc/qemu/util/ |
H A D | bitops.c | 20 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit() function
|
/openbmc/linux/fs/btrfs/ |
H A D | misc.h | 160 found_set = find_next_bit(addr, start + nbits, start); in bitmap_test_range_all_zero()
|
/openbmc/linux/arch/hexagon/kernel/ |
H A D | smp.c | 43 msg = find_next_bit(ops, BITS_PER_LONG, msg+1); in __handle_ipi()
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | mmu_context.h | 91 ia64_ctx.limit = find_next_bit(ia64_ctx.bitmap, in get_mmu_context()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_sseu.h | 144 return find_next_bit(sseu->subslice_mask.xehp, in intel_sseu_find_first_xehp_dss()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | sec.c | 113 n = find_next_bit(sec->cam_map, RTW_MAX_SEC_CAM_NUM, offset); in rtw_sec_cam_pg_backup()
|
/openbmc/linux/fs/ocfs2/dlm/ |
H A D | dlmdomain.c | 536 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, in __dlm_print_nodes() 612 node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, node + 1); in dlm_begin_exit_domain() 637 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, in dlm_leave_domain() 1071 while ((i = find_next_bit(node_map, O2NM_MAX_NODES, in dlm_send_regions() 1249 while ((i = find_next_bit(node_map, O2NM_MAX_NODES, in dlm_send_nodeinfo() 1393 while ((node = find_next_bit(node_map, O2NM_MAX_NODES, in dlm_send_join_cancels() 1533 while ((node = find_next_bit(node_map, O2NM_MAX_NODES, in dlm_send_join_asserts() 1615 while ((node = find_next_bit(ctxt->live_map, O2NM_MAX_NODES, in dlm_try_to_join_domain()
|
/openbmc/linux/security/selinux/ss/ |
H A D | ebitmap.h | 71 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1); in ebitmap_next_positive()
|
/openbmc/qemu/hw/smbios/ |
H A D | smbios_legacy.c | 137 if (find_next_bit(smbios_have_fields_bitmap, in smbios_get_table_legacy()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_u32.c | 381 i = find_next_bit(adapter->tids.hpftid_bmap, in cxgb4_delete_knode() 397 i = find_next_bit(adapter->tids.ftid_bmap, in cxgb4_delete_knode()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-mem.c | 200 last_zero_bit = find_next_bit(vmem->bitmap, vmem->bitmap_size, in virtio_mem_for_each_unplugged_range() 232 first_bit = find_next_bit(vmem->bitmap, vmem->bitmap_size, in virtio_mem_for_each_plugged_range() 272 first_bit = find_next_bit(vmem->bitmap, vmem->bitmap_size, first_bit); in virtio_mem_for_each_plugged_section() 288 first_bit = find_next_bit(vmem->bitmap, vmem->bitmap_size, in virtio_mem_for_each_plugged_section() 309 last_bit = find_next_bit(vmem->bitmap, vmem->bitmap_size, in virtio_mem_for_each_unplugged_section() 429 found_bit = find_next_bit(vmem->bitmap, last_bit + 1, first_bit); in virtio_mem_is_range_unplugged()
|
/openbmc/linux/fs/omfs/ |
H A D | bitmap.c | 33 x = find_next_bit(*addr, nbits, bit); in count_run()
|