/linux/lib/ |
H A D | test_ida.c | 36 IDA_BUG_ON(ida, ida_alloc(ida, GFP_KERNEL) != i); in ida_check_alloc() 41 id = ida_alloc(ida, GFP_KERNEL); in ida_check_alloc() 96 IDA_BUG_ON(ida, ida_alloc(ida, GFP_KERNEL) != 0); in ida_check_leaf() 141 IDA_BUG_ON(ida, ida_alloc(ida, GFP_KERNEL) != i); in ida_check_conv() 147 IDA_BUG_ON(ida, ida_alloc(ida, GFP_KERNEL) != i); in ida_check_conv()
|
H A D | memregion.c | 11 return ida_alloc(&memregion_ids, gfp); in memregion_alloc()
|
/linux/fs/smb/server/mgmt/ |
H A D | ksmbd_ida.c | 32 return ida_alloc(ida, KSMBD_DEFAULT_GFP); in ksmbd_acquire_id()
|
/linux/drivers/reset/amlogic/ |
H A D | reset-meson-aux.c | 99 ret = ida_alloc(&meson_rst_aux_ida, GFP_KERNEL); in devm_meson_rst_aux_register()
|
/linux/drivers/thermal/testing/ |
H A D | zone.c | 204 ret = ida_alloc(&tt_thermal_zones_ida, GFP_KERNEL); in tt_add_tz() 350 id = ida_alloc(&tt_zone->ida, GFP_KERNEL); in tt_zone_add_trip()
|
/linux/drivers/staging/greybus/ |
H A D | audio_manager.c | 47 id = ida_alloc(&module_id, GFP_KERNEL); in gb_audio_manager_add()
|
H A D | vibrator.c | 156 vib->minor = ida_alloc(&minors, GFP_KERNEL); in gb_vibrator_probe()
|
H A D | raw.c | 184 minor = ida_alloc(&minors, GFP_KERNEL); in gb_raw_probe()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_linecard_dev.c | 31 return ida_alloc(&mlxsw_linecard_bdev_ida, GFP_KERNEL); in mlxsw_linecard_bdev_id_alloc()
|
/linux/drivers/pps/clients/ |
H A D | pps_parport.c | 151 index = ida_alloc(&pps_client_index, GFP_KERNEL); in parport_attach()
|
/linux/drivers/counter/ |
H A D | counter-core.c | 103 err = ida_alloc(&counter_ida, GFP_KERNEL); in counter_alloc()
|
/linux/include/linux/ |
H A D | idr.h | 273 static inline int ida_alloc(struct ida *ida, gfp_t gfp) in ida_alloc() function
|
/linux/net/core/ |
H A D | sock_reuseport.c | 225 id = ida_alloc(&reuseport_ida, GFP_ATOMIC); in reuseport_alloc() 393 id = ida_alloc(&reuseport_ida, GFP_ATOMIC); in reuseport_resurrect()
|
/linux/drivers/gpu/drm/virtio/ |
H A D | virtgpu_object.c | 49 int handle = ida_alloc(&vgdev->resource_ida, GFP_KERNEL); in virtio_gpu_resource_id_get()
|
H A D | virtgpu_kms.c | 324 handle = ida_alloc(&vgdev->ctx_id_ida, GFP_KERNEL); in virtio_gpu_driver_open()
|
/linux/net/xdp/ |
H A D | xdp_umem.c | 256 err = ida_alloc(&umem_ida, GFP_KERNEL); in xdp_umem_create()
|
/linux/mm/ |
H A D | shrinker_debug.c | 174 id = ida_alloc(&shrinker_debugfs_ida, GFP_KERNEL); in shrinker_debugfs_add()
|
/linux/drivers/cxl/core/ |
H A D | pmem.c | 99 rc = ida_alloc(&cxl_nvdimm_bridge_ida, GFP_KERNEL); in cxl_nvdimm_bridge_alloc()
|
/linux/tools/testing/radix-tree/ |
H A D | idr-test.c | 461 int id = ida_alloc(&ida, GFP_NOWAIT); in ida_check_conv_user() 466 id = ida_alloc(&ida, GFP_KERNEL); in ida_check_conv_user()
|
/linux/drivers/base/ |
H A D | soc.c | 158 ret = ida_alloc(&soc_ida, GFP_KERNEL); in soc_device_register()
|
/linux/drivers/perf/arm_cspmu/ |
H A D | ampere_cspmu.c | 211 id = ida_alloc(&mcu_pmu_ida, GFP_KERNEL); in ampere_cspmu_format_name()
|
/linux/drivers/power/supply/ |
H A D | bq27xxx_battery_i2c.c | 154 num = ida_alloc(&battery_id, GFP_KERNEL); in bq27xxx_battery_i2c_probe()
|
/linux/drivers/misc/cb710/ |
H A D | core.c | 241 err = ida_alloc(&cb710_ida, GFP_KERNEL); in cb710_probe()
|
/linux/fs/ |
H A D | eventfd.c | 401 ctx->id = ida_alloc(&eventfd_ida, GFP_KERNEL); in do_eventfd()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | intf.c | 77 priv->adev_idx = ida_alloc(&mlx4_adev_ida, GFP_KERNEL); in mlx4_adev_init()
|