/linux-4.1.27/tools/include/asm-generic/bitops/ |
H A D | find.h | 4 #ifndef find_next_bit 6 * find_next_bit - find the next set bit in a memory region 14 extern unsigned long find_next_bit(const unsigned long *addr, unsigned long
|
/linux-4.1.27/tools/lib/util/ |
H A D | find_next_bit.c | 0 /* find_next_bit.c: fallback find next bit implementation 3 * Copied from lib/find_next_bit.c to tools/lib/next_bit.c 20 #ifndef find_next_bit 24 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, find_next_bit() function
|
/linux-4.1.27/include/asm-generic/bitops/ |
H A D | find.h | 4 #ifndef find_next_bit 6 * find_next_bit - find the next set bit in a memory region 14 extern unsigned long find_next_bit(const unsigned long *addr, unsigned long 57 #define find_first_bit(addr, size) find_next_bit((addr), (size), 0)
|
H A D | le.h | 20 return find_next_bit(addr, size, offset); find_next_bit_le()
|
/linux-4.1.27/arch/unicore32/include/asm/ |
H A D | bitops.h | 42 #define find_next_bit find_next_bit macro
|
/linux-4.1.27/tools/include/linux/ |
H A D | bitops.h | 38 (bit) = find_next_bit((addr), (size), (bit) + 1)) 42 for ((bit) = find_next_bit((addr), (size), (bit)); \ 44 (bit) = find_next_bit((addr), (size), (bit) + 1))
|
/linux-4.1.27/lib/ |
H A D | find_bit.c | 8 * (Inspired by David Howell's find_next_bit implementation) 24 #if !defined(find_next_bit) || !defined(find_next_zero_bit) 27 * This is a common helper function for find_next_bit and 57 #ifndef find_next_bit 61 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, find_next_bit() function 66 EXPORT_SYMBOL(find_next_bit); variable
|
H A D | genalloc.c | 250 bit = find_next_bit(chunk->bits, end_bit, 0); gen_pool_destroy() 553 int next_bit = find_next_bit(map, size, index + nr); gen_pool_best_fit()
|
H A D | bitmap.c | 324 i = find_next_bit(map, end, index); bitmap_find_next_zero_area_off() 660 pos = find_next_bit(buf, nbits, pos + 1)) bitmap_ord_to_pos()
|
H A D | radix-tree.c | 146 * Unrollable variant of find_next_bit() for constant size arrays. 155 return find_next_bit(addr, size, offset); radix_tree_find_next_bit()
|
H A D | vsprintf.c | 862 cur = find_next_bit(bitmap, nr_bits, cur + 1); bitmap_list_string()
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | ksyms.c | 29 EXPORT_SYMBOL(find_next_bit); variable
|
/linux-4.1.27/arch/avr32/kernel/ |
H A D | avr32_ksyms.c | 60 EXPORT_SYMBOL(find_next_bit); variable
|
/linux-4.1.27/arch/mips/kvm/ |
H A D | interrupt.c | 220 priority = find_next_bit(pending_clr, kvm_mips_deliver_interrupts() 232 priority = find_next_bit(pending, kvm_mips_deliver_interrupts()
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_pasid.c | 57 ok = (find_next_bit(pasid_bitmap, pasid_limit, new_limit) == kfd_set_pasid_limit()
|
/linux-4.1.27/arch/avr32/include/asm/ |
H A D | bitops.h | 278 unsigned long find_next_bit(const unsigned long *addr, 281 #define find_next_bit find_next_bit macro
|
/linux-4.1.27/include/linux/ |
H A D | bitops.h | 41 (bit) = find_next_bit((addr), (size), (bit) + 1)) 45 for ((bit) = find_next_bit((addr), (size), (bit)); \ 47 (bit) = find_next_bit((addr), (size), (bit) + 1))
|
H A D | bitmap.h | 77 * find_next_bit(addr, nbits, bit) Position next set bit in *addr >= bit
|
H A D | nodemask.h | 259 return min_t(int,MAX_NUMNODES,find_next_bit(srcp->bits, MAX_NUMNODES, n+1)); __next_node()
|
H A D | cpumask.h | 189 return find_next_bit(cpumask_bits(srcp), nr_cpumask_bits, n+1); cpumask_next()
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | bitops.h | 399 static inline int find_next_bit(const unsigned long *vaddr, int size, find_next_bit() function 427 #define find_next_bit find_next_bit macro
|
/linux-4.1.27/security/selinux/ss/ |
H A D | ebitmap.h | 70 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1); ebitmap_next_positive()
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | bitops.h | 202 #define find_next_bit(p,sz,off) _find_next_bit_le(p,sz,off) macro 211 #define find_next_bit(p,sz,off) _find_next_bit_be(p,sz,off) macro
|
/linux-4.1.27/arch/powerpc/platforms/pasemi/ |
H A D | dma_lib.c | 132 bit = find_next_bit(txch_free, MAX_TXCH, start); pasemi_alloc_tx_chan() 392 bit = find_next_bit(flags_free, MAX_FLAGS, 0); pasemi_dma_alloc_flag() 457 bit = find_next_bit(fun_free, MAX_FLAGS, 0); pasemi_dma_alloc_fun()
|
/linux-4.1.27/drivers/staging/iio/ |
H A D | iio_simple_dummy_buffer.c | 79 j = find_next_bit(indio_dev->active_scan_mask, iio_simple_dummy_trigger_h()
|
/linux-4.1.27/fs/omfs/ |
H A D | bitmap.c | 32 x = find_next_bit(*addr, nbits, bit); count_run()
|
/linux-4.1.27/arch/hexagon/kernel/ |
H A D | smp.c | 55 msg = find_next_bit(ops, BITS_PER_LONG, msg+1); __handle_ipi()
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | mmu_context.h | 94 ia64_ctx.limit = find_next_bit(ia64_ctx.bitmap, get_mmu_context()
|
H A D | bitops.h | 8 * 02/06/02 find_next_bit() and find_first_bit() added from Erich Focht's ia64
|
/linux-4.1.27/mm/ |
H A D | cma_debug.c | 61 end = find_next_bit(cma->bitmap, cma->count, start); cma_maxchunk_get()
|
H A D | percpu.c | 254 *re = find_next_bit(chunk->populated, end, *rs + 1); pcpu_next_unpop() 260 *rs = find_next_bit(chunk->populated, end, *rs); pcpu_next_pop()
|
/linux-4.1.27/fs/ocfs2/dlm/ |
H A D | dlmdomain.c | 540 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, __dlm_print_nodes() 616 node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, node + 1); dlm_begin_exit_domain() 641 while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES, dlm_leave_domain() 1066 if (find_next_bit(node_map, O2NM_MAX_NODES, 0) >= O2NM_MAX_NODES) dlm_send_regions() 1089 while ((i = find_next_bit(node_map, O2NM_MAX_NODES, dlm_send_regions() 1238 if (find_next_bit(node_map, O2NM_MAX_NODES, 0) >= O2NM_MAX_NODES) dlm_send_nodeinfo() 1267 while ((i = find_next_bit(node_map, O2NM_MAX_NODES, dlm_send_nodeinfo() 1411 while ((node = find_next_bit(node_map, O2NM_MAX_NODES, dlm_send_join_cancels() 1544 while ((node = find_next_bit(node_map, O2NM_MAX_NODES, dlm_send_join_asserts() 1628 while ((node = find_next_bit(ctxt->live_map, O2NM_MAX_NODES, dlm_try_to_join_domain()
|
H A D | dlmmaster.c | 886 bit = find_next_bit(dlm->recovery_map, O2NM_MAX_NODES, 0); dlm_get_lock_resource() 937 bit = find_next_bit(dlm->recovery_map, O2NM_MAX_NODES, 0); dlm_get_lock_resource() 1104 bit = find_next_bit(mle->maybe_map, O2NM_MAX_NODES, 0); dlm_wait_for_lock_mastery() 1217 bit = find_next_bit(iter->diff_bm, O2NM_MAX_NODES, dlm_bitmap_diff_iter_next() 1266 int lowest = find_next_bit(mle->maybe_map, dlm_restart_lock_mastery() 1276 lowest = find_next_bit(mle->maybe_map, dlm_restart_lock_mastery() 1835 int bit = find_next_bit (mle->maybe_map, O2NM_MAX_NODES, 0); dlm_assert_master_handler() 1951 while ((nn = find_next_bit (mle->response_map, O2NM_MAX_NODES, dlm_assert_master_handler() 2145 bit = find_next_bit(nodemap, O2NM_MAX_NODES, dlm_assert_master_worker() 2459 node_ref = find_next_bit(res->refmap, O2NM_MAX_NODES, 0); 2890 bit = find_next_bit(res->refmap, O2NM_MAX_NODES, bit); 2938 noderef = find_next_bit(res->refmap, O2NM_MAX_NODES, 3236 bit = find_next_bit(mle->maybe_map, O2NM_MAX_NODES, 0); dlm_clean_block_mle() 3475 BUG_ON((find_next_bit(dlm->domain_map, O2NM_MAX_NODES, 0) < O2NM_MAX_NODES)); dlm_force_free_mles()
|
H A D | dlmdebug.c | 65 bit = find_next_bit(res->refmap, O2NM_MAX_NODES, bit); dlm_print_lockres_refmap() 277 while ((i = find_next_bit(nodemap, maxnodes, i + 1)) < maxnodes) stringify_nodemap()
|
H A D | dlmthread.c | 113 bit = find_next_bit(res->refmap, O2NM_MAX_NODES, 0); __dlm_lockres_unused()
|
H A D | dlmcommon.h | 1122 bit = find_next_bit(iter->node_map, O2NM_MAX_NODES, iter->curnode+1); dlm_node_iter_next()
|
H A D | dlmrecovery.c | 472 bit = find_next_bit (dlm->recovery_map, O2NM_MAX_NODES, 0); dlm_do_recovery() 759 num = find_next_bit (dlm->reco.node_map, O2NM_MAX_NODES, num); dlm_init_recovery_area()
|
/linux-4.1.27/fs/f2fs/ |
H A D | segment.h | 323 ret = find_next_bit(free_i->free_segmap, max, segno); find_next_inuse() 339 next = find_next_bit(free_i->free_segmap, __set_free() 371 next = find_next_bit(free_i->free_segmap, __set_test_and_free()
|
H A D | gc.c | 280 segno = find_next_bit(p.dirty_segmap, MAIN_SEGS(sbi), p.offset); get_victim_by_default()
|
H A D | segment.c | 68 * __find_rev_next(_zero)_bit is copied from lib/find_next_bit.c because 604 start = find_next_bit(prefree_map, MAIN_SEGS(sbi), end + 1); clear_prefree_segments()
|
/linux-4.1.27/arch/blackfin/mach-common/ |
H A D | smp.c | 153 msg = find_next_bit(&pending, BITS_PER_LONG, msg + 1); ipi_handler_int1()
|
/linux-4.1.27/drivers/iommu/ |
H A D | io-pgtable-arm.c | 927 j = find_next_bit(&cfg->pgsize_bitmap, BITS_PER_LONG, j); arm_lpae_run_tests() 963 j = find_next_bit(&cfg->pgsize_bitmap, BITS_PER_LONG, j); arm_lpae_run_tests()
|
H A D | intel-iommu.c | 1726 agaw = find_next_bit(&sagaw, 5, agaw); domain_init()
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | writeback.c | 347 stripe = find_next_bit(dc->disk.full_dirty_stripes, refill_full_stripes()
|
H A D | journal.c | 201 r = find_next_bit(bitmap, ca->sb.njournal_buckets, l + 1); for_each_cache()
|
/linux-4.1.27/fs/ocfs2/ |
H A D | stack_o2cb.c | 304 while ((i = find_next_bit(hbmap, O2NM_MAX_NODES, o2cb_cluster_check()
|
/linux-4.1.27/drivers/pnp/ |
H A D | manager.c | 162 res->start = find_next_bit(rule->map.bits, PNP_IRQ_NR, 16); pnp_assign_irq()
|
/linux-4.1.27/net/sctp/ |
H A D | tsnmap.c | 299 i = find_next_bit(map, len, off); sctp_tsnmap_find_gap_ack()
|
/linux-4.1.27/block/ |
H A D | blk-mq-tag.c | 431 bit = find_next_bit(&bm->word, bm->depth, bit + 1)) { bt_for_each()
|
H A D | blk-mq.c | 746 bit = find_next_bit(&bm->word, bm->depth, bit); flush_busy_ctxs()
|
/linux-4.1.27/fs/ocfs2/cluster/ |
H A D | netdebug.c | 463 while ((i = find_next_bit(map, O2NM_MAX_NODES, i + 1)) < O2NM_MAX_NODES) o2net_fill_bitmap()
|
H A D | heartbeat.c | 975 while ((i = find_next_bit(live_node_bitmap, o2hb_do_disk_heartbeat() 1012 while((i = find_next_bit(configured_nodes, o2hb_do_disk_heartbeat() 1231 while ((i = find_next_bit(map, db->db_len, i + 1)) < db->db_len) o2hb_debug_open()
|
/linux-4.1.27/arch/ia64/mm/ |
H A D | tlb.c | 83 ia64_ctx.limit = find_next_bit(ia64_ctx.bitmap, wrap_mmu_context()
|
/linux-4.1.27/kernel/irq/ |
H A D | irqdesc.c | 535 return find_next_bit(allocated_irqs, nr_irqs, offset); irq_get_next_irq()
|
/linux-4.1.27/kernel/ |
H A D | pid.c | 230 offset = find_next_bit((map)->page, BITS_PER_PAGE, offset); next_pidmap()
|
H A D | sysctl.c | 2681 bit_a = find_next_bit(bitmap, bitmap_len, bit_b); proc_do_large_bitmap()
|
/linux-4.1.27/drivers/iio/ |
H A D | industrialio-buffer.c | 1142 in_ind = find_next_bit(indio_dev->active_scan_mask, iio_buffer_update_demux() 1146 in_ind = find_next_bit(indio_dev->active_scan_mask, iio_buffer_update_demux()
|
/linux-4.1.27/drivers/net/can/ |
H A D | at91_can.c | 716 for (mb = find_next_bit(addr, get_mb_tx_first(priv), priv->rx_next); at91_poll_rx() 719 mb = find_next_bit(addr, get_mb_tx_first(priv), ++priv->rx_next)) { at91_poll_rx()
|
/linux-4.1.27/drivers/misc/ |
H A D | spear13xx_pcie_gadget.c | 475 pos = find_next_bit((ulong *)&size, 21, pos); pcie_gadget_store_bar0_size()
|
/linux-4.1.27/drivers/misc/mei/ |
H A D | hbm.c | 363 next_client_index = find_next_bit(dev->me_clients_map, MEI_CLIENTS_MAX, mei_hbm_prop_req()
|
/linux-4.1.27/drivers/pci/host/ |
H A D | pcie-designware.c | 174 while ((pos = find_next_bit(&val, 32, pos)) != 32) { dw_handle_msi_irq()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
H A D | perf_event_amd_ibs.c | 564 offset = find_next_bit(perf_ibs->offset_mask, perf_ibs_handle_irq()
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | perf_event.c | 680 b = find_next_bit(&mask, max_cnt, 0); tile_pmu_add()
|
/linux-4.1.27/arch/powerpc/kvm/ |
H A D | book3s.c | 355 priority = find_next_bit(pending, kvmppc_core_prepare_to_enter()
|
H A D | mpic.c | 299 irq = find_next_bit(q->queue, opp->max_irq, irq + 1); IRQ_check()
|
H A D | booke.c | 662 priority = find_next_bit(pending, kvmppc_core_check_exceptions()
|
/linux-4.1.27/drivers/tty/ |
H A D | n_tty.c | 2062 eol = find_next_bit(ldata->read_flags, size, tail); canon_copy_from_read_buf() 2066 eol = find_next_bit(ldata->read_flags, more, 0); canon_copy_from_read_buf()
|
/linux-4.1.27/drivers/lguest/ |
H A D | interrupts_and_traps.c | 217 *more = find_next_bit(blk, LGUEST_IRQS, irq+1); interrupt_pending()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_netdev.c | 830 vid = find_next_bit(interface->active_vlans, vid_limit, ++vid); fm10k_find_next_vlan()
|
/linux-4.1.27/drivers/rapidio/ |
H A D | rio-scan.c | 147 destid = find_next_bit(idtab->table, idtab->max, from); rio_destid_next()
|
/linux-4.1.27/fs/logfs/ |
H A D | segment.c | 517 return find_next_bit(addr, size, offset); fnb()
|
H A D | readwrite.c | 439 return find_next_bit(addr, size, offset); fnb()
|
/linux-4.1.27/drivers/misc/sgi-xp/ |
H A D | xpc_sn2.c | 1138 b = find_next_bit(&nasid_mask_long, BITS_PER_LONG, xpc_identify_activate_IRQ_sender_sn2()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_virtchnl_pf.c | 321 next_q = find_next_bit(&linklistmap, i40e_config_irq_link_list()
|
/linux-4.1.27/drivers/block/ |
H A D | xen-blkfront.c | 307 if (find_next_bit(minors, end, minor) >= end) { xlbd_reserve_minors()
|
/linux-4.1.27/drivers/vhost/ |
H A D | scsi.c | 735 while ((vq = find_next_bit(signal, VHOST_SCSI_MAX_VQ, vq + 1)) vhost_scsi_complete_cmd_work()
|
/linux-4.1.27/arch/arm/common/ |
H A D | edma.c | 677 channel = find_next_bit(edma_cc[i]->edma_unused, edma_alloc_channel()
|
/linux-4.1.27/drivers/dma/ |
H A D | ste_dma40.c | 1682 chan = find_next_bit((unsigned long *)regs, d40_handle_interrupt()
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda.c | 336 while ((i = find_next_bit(pe_alloc, phb->ioda.total_pe, i + 1)) <
|
/linux-4.1.27/kernel/power/ |
H A D | snapshot.c | 810 bit = find_next_bit(bm->cur.node->data, bits, memory_bm_next_pfn()
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_debug.c | 2817 next = find_next_bit(map_storep, map_size, index); map_state()
|
/linux-4.1.27/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 2981 slot = find_next_bit(port->cmds_to_issue, mtip_service_thread()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 16316 next_fcf_index = find_next_bit(phba->fcf.fcf_rr_bmask, lpfc_sli4_fcf_rr_next_index_get() 16327 next_fcf_index = find_next_bit(phba->fcf.fcf_rr_bmask, lpfc_sli4_fcf_rr_next_index_get()
|