Home
last modified time | relevance | path

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

12345

/linux-6.12.1/include/linux/
Dfind.h164 #ifndef find_next_zero_bit
175 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, in find_next_zero_bit() function
512 return find_next_zero_bit(addr, size, offset); in find_next_zero_bit_le()
609 (bit) = find_next_zero_bit((addr), (size), (bit)), (bit) < (size); \
614 for (; (bit) = find_next_zero_bit((addr), (size), (bit)), (bit) < (size); (bit)++)
626 (e) = find_next_zero_bit((addr), (size), (b) + 1), \
640 (e) = find_next_zero_bit((addr), (size), (b) + 1), \
653 (b) = find_next_zero_bit((addr), (size), (b)), \
667 (b) = find_next_zero_bit((addr), (size), (b)), \
/linux-6.12.1/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.h62 (bit) = find_next_zero_bit((addr), (size), (bit) + 1))
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/arch/riscv/mm/
Dcontext.c125 asid = find_next_zero_bit(context_asid_map, num_asids, cur_idx); in __new_context()
136 asid = find_next_zero_bit(context_asid_map, num_asids, 1); in __new_context()
/linux-6.12.1/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.12.1/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.12.1/arch/m68k/include/asm/
Dbitops.h379 static inline int find_next_zero_bit(const unsigned long *vaddr, int size, in find_next_zero_bit() function
407 #define find_next_zero_bit find_next_zero_bit macro
/linux-6.12.1/drivers/hwtracing/coresight/
Dcoresight-trace-id.c58 next_id = find_next_zero_bit(id_map->used_ids, in coresight_trace_id_find_odd_id()
97 id = find_next_zero_bit(id_map->used_ids, CORESIGHT_TRACE_ID_RES_TOP, 1); in coresight_trace_id_alloc_new_id()
/linux-6.12.1/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()
161 idx = find_next_zero_bit(addr_cam->sec_cam_map, in rtw89_cam_get_addr_cam_key_idx()
170 idx = find_next_zero_bit(addr_cam->sec_cam_map, in rtw89_cam_get_addr_cam_key_idx()
179 idx = find_next_zero_bit(addr_cam->sec_cam_map, in rtw89_cam_get_addr_cam_key_idx()
194 idx = find_next_zero_bit(addr_cam->sec_cam_map, in rtw89_cam_get_addr_cam_key_idx()
203 idx = find_next_zero_bit(addr_cam->sec_cam_map, in rtw89_cam_get_addr_cam_key_idx()
/linux-6.12.1/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.12.1/arch/powerpc/mm/book3s32/
Dmmu_context.c56 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context()
/linux-6.12.1/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.12.1/drivers/infiniband/hw/cxgb4/
Did_table.c51 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); in c4iw_id_alloc()
/linux-6.12.1/tools/lib/
Dfind_bit.c117 #ifndef find_next_zero_bit
/linux-6.12.1/drivers/android/
Ddbitmap.h140 n = find_next_zero_bit(dmap->map, dmap->nbits, offset); in dbitmap_acquire_next_zero_bit()
/linux-6.12.1/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.12.1/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.12.1/fs/btrfs/
Dmisc.h152 found_zero = find_next_zero_bit(addr, start + nbits, start); in bitmap_test_range_all_set()
/linux-6.12.1/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.12.1/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.12.1/io_uring/
Dfiletable.c26 ret = find_next_zero_bit(table->bitmap, nr, table->alloc_hint); in io_file_bitmap_get()

12345