Home
last modified time | relevance | path

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

1234567

/linux-6.12.1/lib/
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()
Dmemregion.c11 return ida_alloc(&memregion_ids, gfp); in memregion_alloc()
/linux-6.12.1/drivers/misc/mchp_pci1xxxx/
Dmchp_pci1xxxx_gp.c50 retval = ida_alloc(&gp_client_ida, GFP_KERNEL); in gp_aux_bus_probe()
77 retval = ida_alloc(&gp_client_ida, GFP_KERNEL); in gp_aux_bus_probe()
/linux-6.12.1/fs/smb/server/mgmt/
Dksmbd_ida.c31 return ida_alloc(ida, GFP_KERNEL); in ksmbd_acquire_id()
/linux-6.12.1/drivers/thermal/testing/
Dzone.c204 ret = ida_alloc(&tt_thermal_zones_ida, GFP_KERNEL); in tt_add_tz()
352 id = ida_alloc(&tt_zone->ida, GFP_KERNEL); in tt_zone_add_trip()
/linux-6.12.1/drivers/gpu/drm/bridge/
Daux-bridge.c52 ret = ida_alloc(&drm_aux_bridge_ida, GFP_KERNEL); in drm_aux_bridge_register()
Daux-hpd-bridge.c58 ret = ida_alloc(&drm_aux_hpd_bridge_ida, GFP_KERNEL); in devm_drm_dp_hpd_bridge_alloc()
/linux-6.12.1/drivers/staging/greybus/
Daudio_manager.c47 id = ida_alloc(&module_id, GFP_KERNEL); in gb_audio_manager_add()
Dvibrator.c156 vib->minor = ida_alloc(&minors, GFP_KERNEL); in gb_vibrator_probe()
/linux-6.12.1/drivers/nvdimm/
Ddax_devs.c58 nd_pfn->id = ida_alloc(&nd_region->dax_ida, GFP_KERNEL); in nd_dax_alloc()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dcore_linecard_dev.c31 return ida_alloc(&mlxsw_linecard_bdev_ida, GFP_KERNEL); in mlxsw_linecard_bdev_id_alloc()
/linux-6.12.1/drivers/pps/clients/
Dpps_parport.c151 index = ida_alloc(&pps_client_index, GFP_KERNEL); in parport_attach()
/linux-6.12.1/drivers/counter/
Dcounter-core.c103 err = ida_alloc(&counter_ida, GFP_KERNEL); in counter_alloc()
/linux-6.12.1/include/linux/
Didr.h273 static inline int ida_alloc(struct ida *ida, gfp_t gfp) in ida_alloc() function
/linux-6.12.1/drivers/misc/cardreader/
Dalcor_pci.c115 ret = ida_alloc(&alcor_pci_idr, GFP_KERNEL); in alcor_pci_probe()
/linux-6.12.1/drivers/fpga/
Dfpga-region.c208 id = ida_alloc(&fpga_region_ida, GFP_KERNEL); in __fpga_region_register_full()
/linux-6.12.1/drivers/char/hw_random/
Dvirtio-rng.c138 vi->index = index = ida_alloc(&rng_index_ida, GFP_KERNEL); in probe_common()
/linux-6.12.1/drivers/gpio/
Dgpio-exar.c195 index = ida_alloc(&ida_index, GFP_KERNEL); in gpio_exar_probe()
/linux-6.12.1/drivers/rpmsg/
Drpmsg_ctrl.c164 ret = ida_alloc(&rpmsg_ctrl_ida, GFP_KERNEL); in rpmsg_ctrldev_probe()
/linux-6.12.1/net/core/
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-6.12.1/net/xdp/
Dxdp_umem.c256 err = ida_alloc(&umem_ida, GFP_KERNEL); in xdp_umem_create()
/linux-6.12.1/drivers/gpu/drm/virtio/
Dvirtgpu_object.c49 int handle = ida_alloc(&vgdev->resource_ida, GFP_KERNEL); in virtio_gpu_resource_id_get()
/linux-6.12.1/mm/
Dshrinker_debug.c174 id = ida_alloc(&shrinker_debugfs_ida, GFP_KERNEL); in shrinker_debugfs_add()
/linux-6.12.1/tools/testing/radix-tree/
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-6.12.1/drivers/power/supply/
Dbq27xxx_battery_i2c.c154 num = ida_alloc(&battery_id, GFP_KERNEL); in bq27xxx_battery_i2c_probe()

1234567