Searched refs:idr_get_next (Results 1 – 14 of 14) sorted by relevance
/linux/include/linux/ |
H A D | idr.h | 122 void *idr_get_next(struct idr *, int *nextid); 188 for (id = 0; ((entry) = idr_get_next(idr, &(id))) != NULL; id += 1U) 215 for ((entry) = idr_get_next((idr), &(id)); \ 217 ++id, (entry) = idr_get_next((idr), &(id)))
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | idr.rst | 55 迭代器不符合您的需求,您也可以使用idr_get_next()。
|
/linux/tools/testing/radix-tree/ |
H A D | idr-test.c | 164 idr_get_next(&idr, &nextid); in idr_get_next_test() 193 ptr = idr_get_next(idr, &sid); in idr_u32_test1() 316 void *entry = idr_get_next(&find_idr, &id); in idr_find_test_1()
|
/linux/lib/ |
H A D | idr.c | 264 void *idr_get_next(struct idr *idr, int *nextid) in idr_get_next() function 274 EXPORT_SYMBOL(idr_get_next);
|
/linux/ipc/ |
H A D | util.c | 483 if (idr_get_next(&ids->ipcs_idr, &tmpidx)) in ipc_search_maxidx() 808 ipc = idr_get_next(&ids->ipcs_idr, &tmpidx); in sysvipc_find_ipc()
|
/linux/Documentation/core-api/ |
H A D | idr.rst | 53 also use idr_get_next() if the iterator doesn't fit your needs.
|
/linux/net/bluetooth/ |
H A D | msft.c | 461 monitor = idr_get_next(&hdev->adv_monitors_idr, &handle); in msft_suspend_sync() 594 monitor = idr_get_next(&hdev->adv_monitors_idr, &handle); in reregister_monitor()
|
H A D | hci_core.c | 1992 monitor = idr_get_next(&hdev->adv_monitors_idr, &idr_next_id); in hci_remove_all_adv_monitor()
|
/linux/drivers/char/tpm/ |
H A D | tpm-chip.c | 214 chip = idr_get_next(&dev_nums_idr, &chip_num); in tpm_default_chip()
|
/linux/kernel/ |
H A D | pid.c | 533 return idr_get_next(&ns->idr, &nr); in find_ge_pid()
|
/linux/kernel/bpf/ |
H A D | syscall.c | 4290 if (!idr_get_next(idr, &next_id)) in bpf_obj_get_next_id() 4306 map = idr_get_next(&map_idr, id); in bpf_map_get_curr_or_next() 4325 prog = idr_get_next(&prog_idr, id); in bpf_prog_get_curr_or_next() 5418 link = idr_get_next(&link_idr, id); in bpf_link_get_curr_or_next()
|
/linux/drivers/block/drbd/ |
H A D | drbd_nl.c | 3371 device = idr_get_next(idr_to_search, &minor); in drbd_adm_dump_devices() 3626 device = idr_get_next(idr_to_search, &minor); in drbd_adm_dump_peer_devices() 3894 device = idr_get_next(&resource->devices, &volume); in get_one_status()
|
/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_nested.c | 1703 if (!idr_get_next(&kvm->arch.kvm_nested_guest_idr, &ret)) in kvmhv_nested_next_lpid()
|
/linux/drivers/mtd/ |
H A D | mtdcore.c | 80 return idr_get_next(&mtd_idr, &i); in __mtd_next_device()
|