Home
last modified time | relevance | path

Searched refs:ida_alloc (Results 1 – 25 of 118) sorted by relevance

12345

/linux/lib/
H A Dtest_ida.c36 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 Dmemregion.c11 return ida_alloc(&memregion_ids, gfp); in memregion_alloc()
/linux/fs/smb/server/mgmt/
H A Dksmbd_ida.c32 return ida_alloc(ida, KSMBD_DEFAULT_GFP); in ksmbd_acquire_id()
/linux/drivers/reset/amlogic/
H A Dreset-meson-aux.c99 ret = ida_alloc(&meson_rst_aux_ida, GFP_KERNEL); in devm_meson_rst_aux_register()
/linux/drivers/thermal/testing/
H A Dzone.c204 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 Daudio_manager.c47 id = ida_alloc(&module_id, GFP_KERNEL); in gb_audio_manager_add()
H A Dvibrator.c156 vib->minor = ida_alloc(&minors, GFP_KERNEL); in gb_vibrator_probe()
H A Draw.c184 minor = ida_alloc(&minors, GFP_KERNEL); in gb_raw_probe()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_linecard_dev.c31 return ida_alloc(&mlxsw_linecard_bdev_ida, GFP_KERNEL); in mlxsw_linecard_bdev_id_alloc()
/linux/drivers/pps/clients/
H A Dpps_parport.c151 index = ida_alloc(&pps_client_index, GFP_KERNEL); in parport_attach()
/linux/drivers/counter/
H A Dcounter-core.c103 err = ida_alloc(&counter_ida, GFP_KERNEL); in counter_alloc()
/linux/include/linux/
H A Didr.h273 static inline int ida_alloc(struct ida *ida, gfp_t gfp) in ida_alloc() function
/linux/net/core/
H A Dsock_reuseport.c225 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 Dvirtgpu_object.c49 int handle = ida_alloc(&vgdev->resource_ida, GFP_KERNEL); in virtio_gpu_resource_id_get()
H A Dvirtgpu_kms.c324 handle = ida_alloc(&vgdev->ctx_id_ida, GFP_KERNEL); in virtio_gpu_driver_open()
/linux/net/xdp/
H A Dxdp_umem.c256 err = ida_alloc(&umem_ida, GFP_KERNEL); in xdp_umem_create()
/linux/mm/
H A Dshrinker_debug.c174 id = ida_alloc(&shrinker_debugfs_ida, GFP_KERNEL); in shrinker_debugfs_add()
/linux/drivers/cxl/core/
H A Dpmem.c99 rc = ida_alloc(&cxl_nvdimm_bridge_ida, GFP_KERNEL); in cxl_nvdimm_bridge_alloc()
/linux/tools/testing/radix-tree/
H A Didr-test.c461 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 Dsoc.c158 ret = ida_alloc(&soc_ida, GFP_KERNEL); in soc_device_register()
/linux/drivers/perf/arm_cspmu/
H A Dampere_cspmu.c211 id = ida_alloc(&mcu_pmu_ida, GFP_KERNEL); in ampere_cspmu_format_name()
/linux/drivers/power/supply/
H A Dbq27xxx_battery_i2c.c154 num = ida_alloc(&battery_id, GFP_KERNEL); in bq27xxx_battery_i2c_probe()
/linux/drivers/misc/cb710/
H A Dcore.c241 err = ida_alloc(&cb710_ida, GFP_KERNEL); in cb710_probe()
/linux/fs/
H A Deventfd.c401 ctx->id = ida_alloc(&eventfd_ida, GFP_KERNEL); in do_eventfd()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dintf.c77 priv->adev_idx = ida_alloc(&mlx4_adev_ida, GFP_KERNEL); in mlx4_adev_init()

12345