/linux-4.1.27/include/asm-generic/bitops/ |
H A D | find.h | 18 #ifndef find_next_zero_bit 20 * find_next_zero_bit - find the next cleared bit in a memory region 28 extern unsigned long find_next_zero_bit(const unsigned long *addr, unsigned 58 #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0)
|
H A D | le.h | 14 return find_next_zero_bit(addr, size, offset); find_next_zero_bit_le()
|
/linux-4.1.27/arch/unicore32/include/asm/ |
H A D | bitops.h | 43 #define find_next_zero_bit find_next_zero_bit macro
|
/linux-4.1.27/lib/ |
H A D | find_bit.c | 24 #if !defined(find_next_bit) || !defined(find_next_zero_bit) 28 * find_next_zero_bit. The difference is the "invert" argument, which 69 #ifndef find_next_zero_bit find_next_zero_bit() 70 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, find_next_zero_bit() function 75 EXPORT_SYMBOL(find_next_zero_bit); variable
|
H A D | idr.c | 237 m = find_next_zero_bit(p->bitmap, IDR_SIZE, n); sub_alloc() 972 t = find_next_zero_bit(bitmap->bitmap, IDA_BITMAP_BITS, offset); ida_get_new_above()
|
H A D | bitmap.c | 316 index = find_next_zero_bit(map, size, start); bitmap_find_next_zero_area_off()
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | ksyms.c | 28 EXPORT_SYMBOL(find_next_zero_bit); variable
|
/linux-4.1.27/arch/sparc/lib/ |
H A D | bitext.c | 59 off_new = find_next_zero_bit(t->map, t->size, offset); bit_map_string_get() 85 t->first_free = find_next_zero_bit bit_map_string_get()
|
/linux-4.1.27/arch/avr32/kernel/ |
H A D | avr32_ksyms.c | 58 EXPORT_SYMBOL(find_next_zero_bit); variable
|
/linux-4.1.27/arch/avr32/include/asm/ |
H A D | bitops.h | 269 unsigned long find_next_zero_bit(const unsigned long *addr, 272 #define find_next_zero_bit find_next_zero_bit macro
|
/linux-4.1.27/include/linux/ |
H A D | bitops.h | 52 (bit) = find_next_zero_bit((addr), (size), (bit) + 1)) 56 for ((bit) = find_next_zero_bit((addr), (size), (bit)); \ 58 (bit) = find_next_zero_bit((addr), (size), (bit) + 1))
|
H A D | bitmap.h | 76 * find_next_zero_bit(addr, nbits, bit) Position next zero bit in *addr >= bit
|
H A D | cpumask.h | 204 return find_next_zero_bit(cpumask_bits(srcp), nr_cpumask_bits, n+1); cpumask_next_zero()
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | bitops.h | 344 static inline int find_next_zero_bit(const unsigned long *vaddr, int size, find_next_zero_bit() function 372 #define find_next_zero_bit find_next_zero_bit macro
|
H A D | mmu_context.h | 42 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); get_mmu_context()
|
/linux-4.1.27/drivers/infiniband/hw/amso1100/ |
H A D | c2_pd.c | 49 obj = find_next_zero_bit(c2dev->pd_table.table, c2dev->pd_table.max, c2_pd_alloc()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
H A D | id_table.c | 51 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); c4iw_id_alloc()
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | mmu_context_hash32.c | 69 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); __init_new_context()
|
H A D | mmu_context_nohash.c | 289 id = find_next_zero_bit(map, last_context+1, id); switch_mmu_context()
|
/linux-4.1.27/arch/arm/mm/ |
H A D | context.c | 209 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); new_context() 214 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); new_context()
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | bitops.h | 200 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_le(p,sz,off) macro 209 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_be(p,sz,off) macro
|
/linux-4.1.27/arch/microblaze/include/asm/ |
H A D | mmu_context_mm.h | 91 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); get_mmu_context()
|
/linux-4.1.27/fs/omfs/ |
H A D | bitmap.c | 144 bit = find_next_zero_bit(sbi->s_imap[i], bits_per_entry, omfs_allocate_range()
|
/linux-4.1.27/arch/frv/mm/ |
H A D | mmu-context.c | 57 cxn = find_next_zero_bit(cxn_bitmap, NR_CXN, 1); get_cxn()
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | mmu_context.h | 92 ia64_ctx.next = find_next_zero_bit(ia64_ctx.bitmap, get_mmu_context()
|
/linux-4.1.27/mm/ |
H A D | cma_debug.c | 58 start = find_next_zero_bit(cma->bitmap, cma->count, end); cma_maxchunk_get()
|
H A D | bootmem.c | 546 sidx = find_next_zero_bit(bdata->node_bootmem_map, midx, sidx); alloc_bootmem_bdata()
|
H A D | percpu.c | 253 *rs = find_next_zero_bit(chunk->populated, end, *rs); pcpu_next_unpop() 261 *re = find_next_zero_bit(chunk->populated, end, *rs + 1); pcpu_next_pop()
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_device.c | 415 found = find_next_zero_bit(kfd->gtt_sa_bitmap, kfd_gtt_sa_allocate() 451 find_next_zero_bit(kfd->gtt_sa_bitmap, kfd_gtt_sa_allocate()
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
H A D | mthca_allocator.c | 47 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); mthca_alloc()
|
/linux-4.1.27/arch/sparc/mm/ |
H A D | io-unit.c | 115 nexti: scan = find_next_zero_bit(iounit->bmap, limit, scan); iounit_get_area()
|
H A D | init_64.c | 692 new_ctx = find_next_zero_bit(mmu_context_bmap, 1 << CTX_NR_BITS, ctx); get_new_mmu_context() 695 new_ctx = find_next_zero_bit(mmu_context_bmap, ctx, 1); get_new_mmu_context()
|
/linux-4.1.27/drivers/net/ppp/ |
H A D | pptp.c | 141 call_id = find_next_zero_bit(callid_bitmap, MAX_CALLID, call_id + 1); add_chan() 143 call_id = find_next_zero_bit(callid_bitmap, MAX_CALLID, 1); add_chan()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | iommu.c | 173 int n = find_next_zero_bit(iommu->ctx_bitmap, IOMMU_NUM_CTXS, lowest); iommu_alloc_ctx() 176 n = find_next_zero_bit(iommu->ctx_bitmap, lowest, 1); iommu_alloc_ctx()
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | writeback.c | 353 next_stripe = find_next_zero_bit(dc->disk.full_dirty_stripes, refill_full_stripes()
|
H A D | journal.c | 189 l = find_next_zero_bit(bitmap, ca->sb.njournal_buckets, l + 1)) for_each_cache()
|
/linux-4.1.27/drivers/media/ |
H A D | media-devnode.c | 242 minor = find_next_zero_bit(media_devnode_nums, MEDIA_NUM_DEVICES, 0); media_devnode_register()
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_logging.c | 43 idx = find_next_zero_bit(&buf->map, map_bits, idx); scsi_log_reserve_buffer()
|
H A D | mvumi.c | 1697 index = find_next_zero_bit(ar_bitmap, size, index + 1); mvumi_proc_msg() 1705 index = find_next_zero_bit(re_bitmap, size, index + 1); mvumi_proc_msg()
|
H A D | scsi_debug.c | 2815 next = find_next_zero_bit(map_storep, map_size, index); map_state()
|
H A D | hpsa.c | 4688 i = find_next_zero_bit(h->cmd_pool_bits, h->nr_cmds, offset); cmd_alloc()
|
/linux-4.1.27/block/ |
H A D | blk-tag.c | 358 tag = find_next_zero_bit(bqt->tag_map, size, start); blk_queue_start_tag()
|
H A D | blk-mq-tag.c | 149 tag = find_next_zero_bit(&bm->word, bm->depth, last_tag); __bt_get_word()
|
/linux-4.1.27/net/sctp/ |
H A D | tsnmap.c | 308 i = find_next_zero_bit(map, len, i); sctp_tsnmap_find_gap_ack()
|
/linux-4.1.27/fs/f2fs/ |
H A D | segment.c | 607 end = find_next_zero_bit(prefree_map, MAIN_SEGS(sbi), clear_prefree_segments() 813 segno = find_next_zero_bit(free_i->free_segmap, get_new_segment() 820 secno = find_next_zero_bit(free_i->free_secmap, MAIN_SECS(sbi), hint); get_new_segment() 823 secno = find_next_zero_bit(free_i->free_secmap, get_new_segment() 839 left_start = find_next_zero_bit(free_i->free_secmap, get_new_segment()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
H A D | nes.h | 424 resource_num = find_next_zero_bit(resource_array, max_resources, *next); nes_alloc_resource()
|
H A D | nes_verbs.c | 804 nespd->mmap_db_index = find_next_zero_bit(nesucontext->allocated_doorbells, nes_alloc_pd() 1221 find_next_zero_bit(nes_ucontext->allocated_wqs, nes_create_qp()
|
/linux-4.1.27/drivers/block/mtip32xx/ |
H A D | mtip32xx.h | 108 * (i.e. test_and_set_bit, find_next_zero_bit)
|
/linux-4.1.27/arch/ia64/mm/ |
H A D | tlb.c | 81 ia64_ctx.next = find_next_zero_bit(ia64_ctx.bitmap, wrap_mmu_context()
|
/linux-4.1.27/kernel/ |
H A D | pid.c | 62 find_next_zero_bit((map)->page, BITS_PER_PAGE, off)
|
H A D | sysctl.c | 2684 bit_b = find_next_zero_bit(bitmap, bitmap_len, proc_do_large_bitmap()
|
/linux-4.1.27/net/sched/ |
H A D | cls_u32.c | 574 i = find_next_zero_bit(bitmap, NR_U32_NODE, 0x800); gen_new_kid() 576 i = find_next_zero_bit(bitmap, NR_U32_NODE, 1); gen_new_kid()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | alloc.c | 50 obj = find_next_zero_bit(bitmap->table, bitmap->max, bitmap->last); mlx4_bitmap_alloc()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
H A D | lpfc_vport.c | 90 vpi = find_next_zero_bit(phba->vpi_bmask, (phba->max_vpi + 1), 1); lpfc_alloc_vpi()
|
H A D | lpfc_sli.c | 14319 xri = find_next_zero_bit(phba->sli4_hba.xri_bmask, lpfc_sli4_alloc_xri() 15714 rpi = find_next_zero_bit(phba->sli4_hba.rpi_bmask, rpi_limit, 0); lpfc_sli4_alloc_rpi()
|
/linux-4.1.27/drivers/usb/wusbcore/ |
H A D | wa-rpipe.c | 153 rpipe_idx = find_next_zero_bit(wa->rpipe_bm, wa->rpipes, rpipe_idx); rpipe_get_idx()
|
/linux-4.1.27/drivers/uwb/ |
H A D | neh.c | 166 result = find_next_zero_bit(rc->ctx_bm, UWB_RC_CTX_MAX, __uwb_rc_ctx_get()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | sh_mobile_meram.c | 229 idx = find_next_zero_bit(&priv->used_icb, 32, 28); meram_plane_alloc()
|
/linux-4.1.27/arch/parisc/mm/ |
H A D | init.c | 837 index = find_next_zero_bit(space_id, NR_SPACE_IDS, space_id_index); alloc_sid()
|
/linux-4.1.27/fs/btrfs/ |
H A D | free-space-cache.c | 1748 next_zero = find_next_zero_bit(bitmap_info->bitmap, search_bitmap() 2174 j = find_next_zero_bit(bitmap->bitmap, BITS_PER_BITMAP, i); steal_from_bitmap_to_end() 2792 next_zero = find_next_zero_bit(entry->bitmap, btrfs_bitmap_cluster()
|
/linux-4.1.27/drivers/memstick/core/ |
H A D | ms_block.c | 1097 pba = find_next_zero_bit(msb->used_blocks_bitmap, msb_get_free_block() 1100 pba = find_next_zero_bit(msb->used_blocks_bitmap, msb_get_free_block()
|
/linux-4.1.27/drivers/isdn/mISDN/ |
H A D | tei.c | 266 i = find_next_zero_bit(ids, 64, 1); get_free_id()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
H A D | v4l2-dev.c | 137 return find_next_zero_bit(devnode_bits(vdev->vfl_type), to, from); devnode_find()
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
H A D | ipath_qp.c | 46 #define find_next_offset(map, off) find_next_zero_bit((map)->page, \
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
H A D | qib_qp.c | 62 off = find_next_zero_bit(map->page, BITS_PER_PAGE, off); find_next_offset()
|
/linux-4.1.27/fs/ |
H A D | file.c | 460 fd = find_next_zero_bit(fdt->open_fds, fdt->max_fds, fd); __alloc_fd()
|
/linux-4.1.27/net/netlink/ |
H A D | genetlink.c | 172 id = find_next_zero_bit(mc_groups, genl_allocate_reserve_groups()
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda.c | 149 pe = find_next_zero_bit(phb->ioda.pe_alloc, pnv_ioda_alloc_pe() 1224 win = find_next_zero_bit(&phb->ioda.m64_bar_alloc, pnv_pci_vf_assign_m64()
|
/linux-4.1.27/drivers/iommu/ |
H A D | arm-smmu.c | 515 idx = find_next_zero_bit(map, end, start); __arm_smmu_alloc_bitmap()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-input.c | 998 usage->code = find_next_zero_bit(bit, max + 1, usage->code); hidinput_configure_usage()
|
/linux-4.1.27/arch/arm/common/ |
H A D | edma.c | 775 slot = find_next_zero_bit(edma_cc[ctlr]->edma_inuse, edma_alloc_slot()
|
/linux-4.1.27/drivers/scsi/fnic/ |
H A D | fnic_scsi.c | 2167 tag = find_next_zero_bit(bqt->tag_map, bqt->max_depth, 1); fnic_scsi_host_start_tag()
|
/linux-4.1.27/drivers/atm/ |
H A D | he.c | 1903 i = find_next_zero_bit(he_dev->rbpl_table, RBPL_TABLE_SIZE, he_dev->rbpl_hint); he_service_rbpl()
|
/linux-4.1.27/drivers/usb/core/ |
H A D | hcd.c | 941 busnum = find_next_zero_bit(busmap, USB_MAXBUS, 1); usb_register_bus()
|
H A D | hub.c | 2076 devnum = find_next_zero_bit(bus->devmap.devicemap, 128, choose_devnum() 2079 devnum = find_next_zero_bit(bus->devmap.devicemap, choose_devnum()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 1517 stid = find_next_zero_bit(t->stid_bmap, cxgb4_alloc_sftid()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
H A D | cnic.c | 688 id = find_next_zero_bit(id_tbl->table, id_tbl->max, id_tbl->next); cnic_alloc_new_id()
|
/linux-4.1.27/fs/reiserfs/ |
H A D | journal.c | 487 find_next_zero_bit((unsigned long *) reiserfs_in_journal()
|