/Linux-v5.4/drivers/watchdog/ |
D | watchdog_core.c | 208 id = ida_simple_get(&watchdog_ida, ret, in __watchdog_register_device() 213 id = ida_simple_get(&watchdog_ida, 0, MAX_DOGS, GFP_KERNEL); in __watchdog_register_device() 226 id = ida_simple_get(&watchdog_ida, 1, MAX_DOGS, GFP_KERNEL); in __watchdog_register_device()
|
/Linux-v5.4/drivers/greybus/ |
D | hd.c | 53 ret = ida_simple_get(id_map, cport_id, cport_id + 1, GFP_KERNEL); in gb_hd_cport_reserve() 92 return ida_simple_get(id_map, ida_start, ida_end, GFP_KERNEL); in gb_hd_cport_allocate() 165 ret = ida_simple_get(&gb_hd_bus_id_map, 1, 0, GFP_KERNEL); in gb_hd_create()
|
/Linux-v5.4/drivers/fsi/ |
D | fsi-occ.c | 528 occ->idx = ida_simple_get(&occ_ida, reg, reg + 1, in occ_probe() 531 occ->idx = ida_simple_get(&occ_ida, 1, INT_MAX, in occ_probe() 534 occ->idx = ida_simple_get(&occ_ida, 1, INT_MAX, in occ_probe() 538 occ->idx = ida_simple_get(&occ_ida, 1, INT_MAX, GFP_KERNEL); in occ_probe()
|
/Linux-v5.4/drivers/rpmsg/ |
D | rpmsg_char.c | 371 ret = ida_simple_get(&rpmsg_minor_ida, 0, RPMSG_DEV_MAX, GFP_KERNEL); in rpmsg_eptdev_create() 376 ret = ida_simple_get(&rpmsg_ept_ida, 0, 0, GFP_KERNEL); in rpmsg_eptdev_create() 487 ret = ida_simple_get(&rpmsg_minor_ida, 0, RPMSG_DEV_MAX, GFP_KERNEL); in rpmsg_chrdev_probe() 492 ret = ida_simple_get(&rpmsg_ctrl_ida, 0, 0, GFP_KERNEL); in rpmsg_chrdev_probe()
|
/Linux-v5.4/drivers/rtc/ |
D | class.c | 197 id = ida_simple_get(&rtc_ida, of_id, of_id + 1, GFP_KERNEL); in rtc_device_get_id() 203 id = ida_simple_get(&rtc_ida, 0, 0, GFP_KERNEL); in rtc_device_get_id()
|
/Linux-v5.4/drivers/staging/greybus/ |
D | fw-management.c | 165 ret = ida_simple_get(&fw_mgmt->id_map, 1, 256, GFP_KERNEL); in fw_mgmt_load_and_validate_operation() 316 ret = ida_simple_get(&fw_mgmt->id_map, 1, 256, GFP_KERNEL); in fw_mgmt_backend_fw_update_operation() 617 minor = ida_simple_get(&fw_mgmt_minors_map, 0, NUM_MINORS, GFP_KERNEL); in gb_fw_mgmt_connection_init()
|
D | audio_manager.c | 47 id = ida_simple_get(&module_id, 0, 0, GFP_KERNEL); in gb_audio_manager_add()
|
D | vibrator.c | 157 vib->minor = ida_simple_get(&minors, 0, 0, GFP_KERNEL); in gb_vibrator_probe()
|
/Linux-v5.4/drivers/misc/mic/bus/ |
D | cosm_bus.c | 77 ret = ida_simple_get(&cosm_index_ida, 0, 0, GFP_KERNEL); in cosm_register_device()
|
/Linux-v5.4/drivers/nvdimm/ |
D | dax_devs.c | 64 nd_pfn->id = ida_simple_get(&nd_region->dax_ida, 0, 0, GFP_KERNEL); in nd_dax_alloc()
|
/Linux-v5.4/drivers/slimbus/ |
D | core.c | 256 id = ida_simple_get(&ctrl_ida, 0, 0, GFP_KERNEL); in slim_register_controller() 443 ret = ida_simple_get(&ctrl->laddr_ida, in slim_device_alloc_laddr()
|
/Linux-v5.4/drivers/pps/clients/ |
D | pps_parport.c | 147 index = ida_simple_get(&pps_client_index, 0, 0, GFP_KERNEL); in parport_attach()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | gid.c | 99 index = ida_simple_get(&dev->roce.reserved_gids.ida, in mlx5_core_reserved_gid_alloc()
|
/Linux-v5.4/drivers/char/hw_random/ |
D | virtio-rng.c | 96 vi->index = index = ida_simple_get(&rng_index_ida, 0, 0, GFP_KERNEL); in probe_common()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_doorbell.c | 263 int r = ida_simple_get(&doorbell_ida, 1, max_doorbell_slices, in kfd_alloc_process_doorbells()
|
/Linux-v5.4/include/linux/ |
D | idr.h | 314 #define ida_simple_get(ida, start, end, gfp) \ macro
|
/Linux-v5.4/drivers/firmware/arm_scmi/ |
D | bus.c | 137 id = ida_simple_get(&scmi_bus_id, 1, 0, GFP_KERNEL); in scmi_device_create()
|
/Linux-v5.4/drivers/gpio/ |
D | gpio-exar.c | 147 index = ida_simple_get(&ida_index, 0, 0, GFP_KERNEL); in gpio_exar_probe()
|
/Linux-v5.4/drivers/fpga/ |
D | fpga-region.c | 206 id = ida_simple_get(&fpga_region_ida, 0, 0, GFP_KERNEL); in fpga_region_create()
|
/Linux-v5.4/drivers/thermal/ |
D | clock_cooling.c | 392 ret = ida_simple_get(&clock_ida, 0, 0, GFP_KERNEL); in clock_cooling_register()
|
/Linux-v5.4/drivers/base/ |
D | soc.c | 140 ret = ida_simple_get(&soc_ida, 0, 0, GFP_KERNEL); in soc_device_register()
|
/Linux-v5.4/tools/testing/radix-tree/ |
D | idr-test.c | 494 assert(ida_simple_get(&ida, 0, 20000, GFP_KERNEL) == i); in ida_simple_get_remove_test() 496 assert(ida_simple_get(&ida, 5, 30, GFP_KERNEL) < 0); in ida_simple_get_remove_test()
|
/Linux-v5.4/drivers/misc/mic/host/ |
D | mic_main.c | 170 mdev->id = ida_simple_get(&g_mic_ida, 0, MIC_MAX_NUM_DEVS, GFP_KERNEL); in mic_probe()
|
/Linux-v5.4/net/core/ |
D | sock_reuseport.c | 29 id = ida_simple_get(&reuseport_ida, REUSEPORT_MIN_ID, 0, in reuseport_get_id()
|
/Linux-v5.4/fs/ |
D | eventfd.c | 411 ctx->id = ida_simple_get(&eventfd_ida, 0, 0, GFP_KERNEL); in do_eventfd()
|