Home
last modified time | relevance | path

Searched refs:find_next_zero_bit (Results 1 – 25 of 116) sorted by relevance

12345

/linux-6.6.21/include/linux/
Dfind.h162 #ifndef find_next_zero_bit
173 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, in find_next_zero_bit() function
485 return find_next_zero_bit(addr, size, offset); in find_next_zero_bit_le()
582 (bit) = find_next_zero_bit((addr), (size), (bit)), (bit) < (size); \
587 for (; (bit) = find_next_zero_bit((addr), (size), (bit)), (bit) < (size); (bit)++)
599 (e) = find_next_zero_bit((addr), (size), (b) + 1), \
613 (e) = find_next_zero_bit((addr), (size), (b) + 1), \
626 (b) = find_next_zero_bit((addr), (size), (b)), \
640 (b) = find_next_zero_bit((addr), (size), (b)), \
/linux-6.6.21/tools/include/linux/
Dfind.h80 #ifndef find_next_zero_bit
91 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, in find_next_zero_bit() function
Dbitops.h60 (bit) = find_next_zero_bit((addr), (size), (bit) + 1))
/linux-6.6.21/arch/sparc/lib/
Dbitext.c60 off_new = find_next_zero_bit(t->map, t->size, offset); in bit_map_string_get()
86 t->first_free = find_next_zero_bit in bit_map_string_get()
/linux-6.6.21/arch/arm64/kvm/
Dvmid.c112 vmid = find_next_zero_bit(vmid_map, NUM_USER_VMIDS, cur_idx); in new_vmid()
122 vmid = find_next_zero_bit(vmid_map, NUM_USER_VMIDS, 1); in new_vmid()
/linux-6.6.21/arch/csky/mm/
Dasid.c111 asid = find_next_zero_bit(info->map, NUM_CTXT_ASIDS(info), cur_idx); in new_context()
121 asid = find_next_zero_bit(info->map, NUM_CTXT_ASIDS(info), 1); in new_context()
/linux-6.6.21/arch/arm/mm/
Dcontext.c223 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context()
228 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); in new_context()
/linux-6.6.21/arch/arm/include/asm/
Dbitops.h203 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_le(p,sz,off) macro
212 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_be(p,sz,off) macro
/linux-6.6.21/arch/riscv/mm/
Dcontext.c126 asid = find_next_zero_bit(context_asid_map, num_asids, cur_idx); in __new_context()
137 asid = find_next_zero_bit(context_asid_map, num_asids, 1); in __new_context()
/linux-6.6.21/sound/soc/qcom/
Dlpass-sc7280.c125 chan = find_next_zero_bit(&drvdata->dma_ch_bit_map, in sc7280_lpass_alloc_dma_channel()
149 chan = find_next_zero_bit(&drvdata->rxtx_dma_ch_bit_map, in sc7280_lpass_alloc_dma_channel()
158 chan = find_next_zero_bit(&drvdata->va_dma_ch_bit_map, in sc7280_lpass_alloc_dma_channel()
/linux-6.6.21/arch/m68k/include/asm/
Dbitops.h358 static inline int find_next_zero_bit(const unsigned long *vaddr, int size, in find_next_zero_bit() function
386 #define find_next_zero_bit find_next_zero_bit macro
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dcam.c121 idx = find_next_zero_bit(cam_info->sec_cam_map, sec_cam_num, idx); in rtw89_cam_get_avail_sec_cam()
163 idx = find_next_zero_bit(addr_cam->sec_cam_map, in rtw89_cam_get_addr_cam_key_idx()
172 idx = find_next_zero_bit(addr_cam->sec_cam_map, in rtw89_cam_get_addr_cam_key_idx()
181 idx = find_next_zero_bit(addr_cam->sec_cam_map, in rtw89_cam_get_addr_cam_key_idx()
196 idx = find_next_zero_bit(addr_cam->sec_cam_map, in rtw89_cam_get_addr_cam_key_idx()
205 idx = find_next_zero_bit(addr_cam->sec_cam_map, in rtw89_cam_get_addr_cam_key_idx()
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-trace-id.c64 next_id = find_next_zero_bit(id_map->used_ids, in coresight_trace_id_find_odd_id()
103 id = find_next_zero_bit(id_map->used_ids, CORESIGHT_TRACE_ID_RES_TOP, 1); in coresight_trace_id_alloc_new_id()
/linux-6.6.21/arch/arm64/mm/
Dcontext.c197 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context()
207 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); in new_context()
/linux-6.6.21/arch/microblaze/include/asm/
Dmmu_context_mm.h87 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in get_mmu_context()
/linux-6.6.21/arch/powerpc/mm/book3s32/
Dmmu_context.c56 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context()
/linux-6.6.21/tools/lib/
Dfind_bit.c117 #ifndef find_next_zero_bit
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Did_table.c51 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); in c4iw_id_alloc()
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_doorbell.c92 obj = find_next_zero_bit(tbl->table, tbl->max, tbl->last); in pvrdma_uar_alloc()
/linux-6.6.21/drivers/clocksource/
Dingenic-timer.c320 timer->channel = find_next_zero_bit(&tcu->pwm_channels_mask, in ingenic_tcu_init()
326 tcu->cs_channel = find_next_zero_bit(&tcu->pwm_channels_mask, in ingenic_tcu_init()
/linux-6.6.21/fs/btrfs/
Dmisc.h150 found_zero = find_next_zero_bit(addr, start + nbits, start); in bitmap_test_range_all_set()
/linux-6.6.21/arch/ia64/include/asm/
Dmmu_context.h89 ia64_ctx.next = find_next_zero_bit(ia64_ctx.bitmap, in get_mmu_context()
/linux-6.6.21/lib/
Didr.c407 bit = find_next_zero_bit(&tmp, BITS_PER_XA_VALUE, bit); in ida_alloc_range()
430 bit = find_next_zero_bit(bitmap->bitmap, IDA_BITMAP_BITS, bit); in ida_alloc_range()
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dsec.c16 return find_next_zero_bit(sec->cam_map, RTW_MAX_SEC_CAM_NUM, in rtw_sec_get_free_cam()
/linux-6.6.21/io_uring/
Dfiletable.c26 ret = find_next_zero_bit(table->bitmap, nr, table->alloc_hint); in io_file_bitmap_get()

12345