Home
last modified time | relevance | path

Searched refs:find_next_bit (Results 1 – 25 of 42) sorted by relevance

12

/linux-4.19.296/include/asm-generic/bitops/
Dfind.h5 #ifndef find_next_bit
15 extern unsigned long find_next_bit(const unsigned long *addr, unsigned long
75 #define find_first_bit(addr, size) find_next_bit((addr), (size), 0)
Dle.h21 return find_next_bit(addr, size, offset); in find_next_bit_le()
/linux-4.19.296/lib/
Dfind_bit.c24 #if !defined(find_next_bit) || !defined(find_next_zero_bit) || \
67 #ifndef find_next_bit
71 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit() function
76 EXPORT_SYMBOL(find_next_bit);
Dprime_numbers.c145 for (y = 2UL; y < sz; y = find_next_bit(new->primes, sz, y + 1)) in expand_to_next_prime()
202 x = find_next_bit(p->primes, p->last, x + 1); in next_prime_number()
Dcpumask.c21 return find_next_bit(cpumask_bits(srcp), nr_cpumask_bits, n + 1); in cpumask_next()
Dfind_bit_benchmark.c67 i = find_next_bit(bitmap, BITMAP_LEN, i) + 1; in test_find_next_bit()
Dgenalloc.c253 bit = find_next_bit(chunk->bits, end_bit, 0); in gen_pool_destroy()
642 unsigned long next_bit = find_next_bit(map, size, index + nr); in gen_pool_best_fit()
Dbitmap.c327 i = find_next_bit(map, end, index); in bitmap_find_next_zero_area_off()
710 pos = find_next_bit(buf, nbits, pos + 1)) in bitmap_ord_to_pos()
Dtest_bitmap.c314 next_bit = find_next_bit(bmap2, in test_bitmap_arr32()
/linux-4.19.296/include/linux/
Dbitops.h25 (bit) = find_next_bit((addr), (size), (bit) + 1))
29 for ((bit) = find_next_bit((addr), (size), (bit)); \
31 (bit) = find_next_bit((addr), (size), (bit) + 1))
Dsbitmap.h268 nr = find_next_bit(&word->word, depth, nr); in __sbitmap_for_each_set()
/linux-4.19.296/drivers/iio/dummy/
Diio_simple_dummy_buffer.c81 j = find_next_bit(indio_dev->active_scan_mask, in iio_simple_dummy_trigger_h()
/linux-4.19.296/fs/ocfs2/dlm/
Ddlmdomain.c554 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, in __dlm_print_nodes()
630 node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, node + 1); in dlm_begin_exit_domain()
655 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, in dlm_leave_domain()
1066 if (find_next_bit(node_map, O2NM_MAX_NODES, 0) >= O2NM_MAX_NODES) in dlm_send_regions()
1089 while ((i = find_next_bit(node_map, O2NM_MAX_NODES, in dlm_send_regions()
1238 if (find_next_bit(node_map, O2NM_MAX_NODES, 0) >= O2NM_MAX_NODES) in dlm_send_nodeinfo()
1267 while ((i = find_next_bit(node_map, O2NM_MAX_NODES, in dlm_send_nodeinfo()
1411 while ((node = find_next_bit(node_map, O2NM_MAX_NODES, in dlm_send_join_cancels()
1551 while ((node = find_next_bit(node_map, O2NM_MAX_NODES, in dlm_send_join_asserts()
1635 while ((node = find_next_bit(ctxt->live_map, O2NM_MAX_NODES, in dlm_try_to_join_domain()
Ddlmmaster.c881 bit = find_next_bit(dlm->recovery_map, O2NM_MAX_NODES, 0); in dlm_get_lock_resource()
932 bit = find_next_bit(dlm->recovery_map, O2NM_MAX_NODES, 0); in dlm_get_lock_resource()
1099 bit = find_next_bit(mle->maybe_map, O2NM_MAX_NODES, 0); in dlm_wait_for_lock_mastery()
1205 bit = find_next_bit(iter->diff_bm, O2NM_MAX_NODES, in dlm_bitmap_diff_iter_next()
1254 int lowest = find_next_bit(mle->maybe_map, in dlm_restart_lock_mastery()
1264 lowest = find_next_bit(mle->maybe_map, in dlm_restart_lock_mastery()
1815 int bit = find_next_bit (mle->maybe_map, O2NM_MAX_NODES, 0); in dlm_assert_master_handler()
1931 while ((nn = find_next_bit (mle->response_map, O2NM_MAX_NODES, in dlm_assert_master_handler()
2125 bit = find_next_bit(nodemap, O2NM_MAX_NODES, in dlm_assert_master_worker()
2541 node_ref = find_next_bit(res->refmap, O2NM_MAX_NODES, 0); in dlm_is_lockres_migratable()
[all …]
Ddlmdebug.c65 bit = find_next_bit(res->refmap, O2NM_MAX_NODES, bit); in dlm_print_lockres_refmap()
277 while ((i = find_next_bit(nodemap, maxnodes, i + 1)) < maxnodes) in stringify_nodemap()
/linux-4.19.296/fs/omfs/
Dbitmap.c33 x = find_next_bit(*addr, nbits, bit); in count_run()
/linux-4.19.296/fs/f2fs/
Dsegment.h402 ret = find_next_bit(free_i->free_segmap, max, segno); in find_next_inuse()
418 next = find_next_bit(free_i->free_segmap, in __set_free()
453 next = find_next_bit(free_i->free_segmap, in __set_test_and_free()
/linux-4.19.296/drivers/lightnvm/
Dpblk-map.c171 bit = find_next_bit(d_line->blk_bitmap, in pblk_map_erase_rq()
/linux-4.19.296/drivers/gpio/
Dgpio-mmio.c220 while ((bit = find_next_bit(mask, gc->ngpio, bit + 1)) < gc->ngpio) in bgpio_get_multiple_be()
231 while ((bit = find_next_bit(&val, gc->ngpio, bit + 1)) < gc->ngpio) in bgpio_get_multiple_be()
Dgpio-max3191x.c245 while ((bit = find_next_bit(mask, gpio->ngpio, bit)) != gpio->ngpio) { in max3191x_get_multiple()
/linux-4.19.296/drivers/iio/accel/
Dcros_ec_accel_legacy.c131 i = find_next_bit(&scan_mask, MAX_AXIS, i); in read_ec_accel_data_unsafe()
/linux-4.19.296/fs/ocfs2/cluster/
Dheartbeat.c408 master_node = find_next_bit(live_node_bitmap, O2NM_MAX_NODES, 0); in o2hb_nego_timeout()
434 while ((i = find_next_bit(live_node_bitmap, in o2hb_nego_timeout()
1117 while ((i = find_next_bit(live_node_bitmap, in o2hb_do_disk_heartbeat()
1154 while((i = find_next_bit(configured_nodes, in o2hb_do_disk_heartbeat()
1350 while ((i = find_next_bit(map, db->db_len, i + 1)) < db->db_len) in o2hb_debug_open()
Dnetdebug.c464 while ((i = find_next_bit(map, O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) in o2net_fill_bitmap()
/linux-4.19.296/fs/ocfs2/
Dstack_o2cb.c304 while ((i = find_next_bit(hbmap, O2NM_MAX_NODES, in o2cb_cluster_check()
/linux-4.19.296/drivers/pci/controller/
Dpcie-tango.c34 while ((pos = find_next_bit(pcie->used_msi, MSI_MAX, pos)) < MSI_MAX) { in tango_msi_isr()

12