Home
last modified time | relevance | path

Searched refs:idr_get_next (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/include/linux/
Didr.h122 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-6.6.21/Documentation/translations/zh_CN/core-api/
Didr.rst55 迭代器不符合您的需求,您也可以使用idr_get_next()。
/linux-6.6.21/tools/testing/radix-tree/
Didr-test.c164 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-6.6.21/lib/
Didr.c264 void *idr_get_next(struct idr *idr, int *nextid) in idr_get_next() function
274 EXPORT_SYMBOL(idr_get_next);
/linux-6.6.21/ipc/
Dutil.c483 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-6.6.21/Documentation/core-api/
Didr.rst53 also use idr_get_next() if the iterator doesn't fit your needs.
/linux-6.6.21/drivers/char/tpm/
Dtpm-chip.c211 chip = idr_get_next(&dev_nums_idr, &chip_num); in tpm_default_chip()
/linux-6.6.21/net/bluetooth/
Dmsft.c468 monitor = idr_get_next(&hdev->adv_monitors_idr, &handle); in msft_suspend_sync()
601 monitor = idr_get_next(&hdev->adv_monitors_idr, &handle); in reregister_monitor()
Dhci_core.c2026 monitor = idr_get_next(&hdev->adv_monitors_idr, &idr_next_id); in hci_remove_all_adv_monitor()
/linux-6.6.21/kernel/
Dpid.c523 return idr_get_next(&ns->idr, &nr); in find_ge_pid()
/linux-6.6.21/kernel/bpf/
Dsyscall.c4070 if (!idr_get_next(idr, &next_id)) in bpf_obj_get_next_id()
4086 map = idr_get_next(&map_idr, id); in bpf_map_get_curr_or_next()
4105 prog = idr_get_next(&prog_idr, id); in bpf_prog_get_curr_or_next()
5169 link = idr_get_next(&link_idr, id); in bpf_link_get_curr_or_next()
/linux-6.6.21/drivers/block/drbd/
Ddrbd_nl.c3380 device = idr_get_next(idr_to_search, &minor); in drbd_adm_dump_devices()
3635 device = idr_get_next(idr_to_search, &minor); in drbd_adm_dump_peer_devices()
3903 device = idr_get_next(&resource->devices, &volume); in get_one_status()
Ddrbd_main.c480 peer_device = idr_get_next(&connection->peer_devices, &vnr); in conn_lowest_minor()
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_hv_nested.c1673 if (!idr_get_next(&kvm->arch.kvm_nested_guest_idr, &ret)) in kvmhv_nested_next_lpid()
/linux-6.6.21/drivers/mtd/
Dmtdcore.c79 return idr_get_next(&mtd_idr, &i); in __mtd_next_device()