/linux/drivers/greybus/ |
A 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/drivers/watchdog/ |
A D | watchdog_core.c | 259 id = ida_simple_get(&watchdog_ida, ret, in __watchdog_register_device() 264 id = ida_simple_get(&watchdog_ida, 0, MAX_DOGS, GFP_KERNEL); in __watchdog_register_device() 277 id = ida_simple_get(&watchdog_ida, 1, MAX_DOGS, GFP_KERNEL); in __watchdog_register_device()
|
/linux/drivers/rpmsg/ |
A D | rpmsg_char.c | 370 ret = ida_simple_get(&rpmsg_minor_ida, 0, RPMSG_DEV_MAX, GFP_KERNEL); in rpmsg_eptdev_create() 375 ret = ida_simple_get(&rpmsg_ept_ida, 0, 0, GFP_KERNEL); in rpmsg_eptdev_create() 486 ret = ida_simple_get(&rpmsg_minor_ida, 0, RPMSG_DEV_MAX, GFP_KERNEL); in rpmsg_chrdev_probe() 491 ret = ida_simple_get(&rpmsg_ctrl_ida, 0, 0, GFP_KERNEL); in rpmsg_chrdev_probe()
|
/linux/drivers/fsi/ |
A D | fsi-occ.c | 608 occ->idx = ida_simple_get(&occ_ida, reg, reg + 1, in occ_probe() 611 occ->idx = ida_simple_get(&occ_ida, 1, INT_MAX, in occ_probe() 614 occ->idx = ida_simple_get(&occ_ida, 1, INT_MAX, in occ_probe() 618 occ->idx = ida_simple_get(&occ_ida, 1, INT_MAX, GFP_KERNEL); in occ_probe()
|
A D | fsi-core.c | 952 id = ida_simple_get(&fsi_minor_ida, id, id + 1, GFP_KERNEL); in __fsi_get_new_minor() 963 id = ida_simple_get(&fsi_minor_ida, FSI_CHAR_LEGACY_TOP, in __fsi_get_new_minor() 1311 master->idx = ida_simple_get(&master_ida, 0, INT_MAX, GFP_KERNEL); in fsi_master_register()
|
/linux/fs/ksmbd/mgmt/ |
A D | ksmbd_ida.c | 10 return ida_simple_get(ida, from, to, GFP_KERNEL); in __acquire_id()
|
/linux/drivers/staging/greybus/ |
A 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()
|
A D | audio_manager.c | 47 id = ida_simple_get(&module_id, 0, 0, GFP_KERNEL); in gb_audio_manager_add()
|
A D | vibrator.c | 157 vib->minor = ida_simple_get(&minors, 0, 0, GFP_KERNEL); in gb_vibrator_probe()
|
A D | gbphy.c | 228 id = ida_simple_get(&gbphy_id, 1, 0, GFP_KERNEL); in gb_gbphy_create_dev()
|
/linux/drivers/rtc/ |
A D | class.c | 250 id = ida_simple_get(&rtc_ida, of_id, of_id + 1, GFP_KERNEL); in rtc_device_get_id() 256 id = ida_simple_get(&rtc_ida, 0, 0, GFP_KERNEL); in rtc_device_get_id()
|
/linux/drivers/nvdimm/ |
A D | dax_devs.c | 58 nd_pfn->id = ida_simple_get(&nd_region->dax_ida, 0, 0, GFP_KERNEL); in nd_dax_alloc()
|
/linux/drivers/slimbus/ |
A D | core.c | 253 id = ida_simple_get(&ctrl_ida, 0, 0, GFP_KERNEL); in slim_register_controller() 439 ret = ida_simple_get(&ctrl->laddr_ida, in slim_device_alloc_laddr()
|
/linux/drivers/pps/clients/ |
A D | pps_parport.c | 151 index = ida_simple_get(&pps_client_index, 0, 0, GFP_KERNEL); in parport_attach()
|
/linux/drivers/thunderbolt/ |
A D | nvm.c | 33 ret = ida_simple_get(&nvm_ida, 0, 0, GFP_KERNEL); in tb_nvm_alloc()
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_doorbell.c | 263 int r = ida_simple_get(&kfd->doorbell_ida, 1, kfd->max_doorbell_slices, in kfd_alloc_process_doorbells()
|
/linux/include/linux/ |
A D | idr.h | 321 #define ida_simple_get(ida, start, end, gfp) \ macro
|
/linux/drivers/fpga/ |
A D | fpga-region.c | 206 id = ida_simple_get(&fpga_region_ida, 0, 0, GFP_KERNEL); in fpga_region_create()
|
/linux/drivers/char/hw_random/ |
A D | virtio-rng.c | 138 vi->index = index = ida_simple_get(&rng_index_ida, 0, 0, GFP_KERNEL); in probe_common()
|
/linux/drivers/base/ |
A D | soc.c | 142 ret = ida_simple_get(&soc_ida, 0, 0, GFP_KERNEL); in soc_device_register()
|
/linux/net/xdp/ |
A D | xdp_umem.c | 245 err = ida_simple_get(&umem_ida, 0, 0, GFP_KERNEL); in xdp_umem_create()
|
/linux/tools/testing/radix-tree/ |
A D | idr-test.c | 507 assert(ida_simple_get(&ida, 0, 20000, GFP_KERNEL) == i); in ida_simple_get_remove_test() 509 assert(ida_simple_get(&ida, 5, 30, GFP_KERNEL) < 0); in ida_simple_get_remove_test()
|
/linux/block/ |
A D | bsg.c | 199 ret = ida_simple_get(&bsg_minor_ida, 0, BSG_MAX_DEVS, GFP_KERNEL); in bsg_register_queue()
|
/linux/drivers/firmware/arm_scmi/ |
A D | bus.c | 184 id = ida_simple_get(&scmi_bus_id, 1, 0, GFP_KERNEL); in scmi_device_create()
|
/linux/drivers/thermal/ |
A D | thermal_core.c | 670 result = ida_simple_get(&tz->ida, 0, 0, GFP_KERNEL); in thermal_zone_bind_cooling_device() 904 ret = ida_simple_get(&thermal_cdev_ida, 0, 0, GFP_KERNEL); in __thermal_cooling_device_register() 1230 id = ida_simple_get(&thermal_tz_ida, 0, 0, GFP_KERNEL); in thermal_zone_device_register()
|