Home
last modified time | relevance | path

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

12

/Linux-v5.15/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-v5.15/drivers/gpio/
Dgpio-exar.c164 index = ida_alloc(&ida_index, GFP_KERNEL); in gpio_exar_probe()
/Linux-v5.15/include/linux/
Didr.h271 static inline int ida_alloc(struct ida *ida, gfp_t gfp) in ida_alloc() function
/Linux-v5.15/net/core/
Dsock_reuseport.c142 id = ida_alloc(&reuseport_ida, GFP_ATOMIC); in reuseport_alloc()
308 id = ida_alloc(&reuseport_ida, GFP_ATOMIC); in reuseport_resurrect()
/Linux-v5.15/drivers/cxl/core/
Dbus.c300 rc = ida_alloc(&cxl_port_ida, GFP_KERNEL); in cxl_port_alloc()
480 rc = ida_alloc(&port->decoder_ida, GFP_KERNEL); in cxl_decoder_alloc()
/Linux-v5.15/tools/testing/radix-tree/
Didr-test.c460 int id = ida_alloc(&ida, GFP_NOWAIT); in ida_check_conv_user()
465 id = ida_alloc(&ida, GFP_KERNEL); in ida_check_conv_user()
/Linux-v5.15/drivers/gpu/drm/virtio/
Dvirtgpu_object.c49 int handle = ida_alloc(&vgdev->resource_ida, GFP_KERNEL); in virtio_gpu_resource_id_get()
Dvirtgpu_kms.c299 handle = ida_alloc(&vgdev->ctx_id_ida, GFP_KERNEL); in virtio_gpu_driver_open()
/Linux-v5.15/drivers/misc/cb710/
Dcore.c241 err = ida_alloc(&cb710_ida, GFP_KERNEL); in cb710_probe()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Ddev.c258 return ida_alloc(&mlx5_adev_ida, GFP_KERNEL); in mlx5_adev_idx_alloc()
/Linux-v5.15/drivers/staging/media/atomisp/pci/
Datomisp_acc.c179 handle = ida_alloc(&asd->acc.ida, GFP_KERNEL); in atomisp_acc_load_to_pipe()
/Linux-v5.15/drivers/dma/
Ddmaengine.c1031 int rc = ida_alloc(&dma_ida, GFP_KERNEL); in get_dma_id()
1058 chan->chan_id = ida_alloc(&device->chan_ida, GFP_KERNEL); in __dma_async_device_channel_register()
/Linux-v5.15/drivers/vdpa/
Dvdpa.c103 err = ida_alloc(&vdpa_index_ida, GFP_KERNEL); in __vdpa_alloc_device()
/Linux-v5.15/drivers/dax/
Dbus.c728 mapping->id = ida_alloc(&dev_dax->ida, GFP_KERNEL); in devm_register_dax_mapping()
1298 rc = ida_alloc(&dax_region->ida, GFP_KERNEL); in devm_create_dev_dax()
/Linux-v5.15/drivers/base/power/
Dwakeup.c99 id = ida_alloc(&wakeup_ida, GFP_KERNEL); in wakeup_source_create()
/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_client.c305 ret = ida_alloc(&i40e_client_ida, GFP_KERNEL); in i40e_register_auxiliary_dev()
/Linux-v5.15/drivers/net/wwan/
Dwwan_core.c166 id = ida_alloc(&wwan_dev_ids, GFP_KERNEL); in wwan_create_dev()
/Linux-v5.15/drivers/dma/idxd/
Dinit.c511 idxd->id = ida_alloc(&idxd_ida, GFP_KERNEL); in idxd_alloc()
/Linux-v5.15/drivers/block/rsxx/
Dcore.c764 st = ida_alloc(&rsxx_disk_ida, GFP_KERNEL); in rsxx_pci_probe()
/Linux-v5.15/drivers/base/
Dplatform.c677 ret = ida_alloc(&platform_devid_ida, GFP_KERNEL); in platform_device_add()
/Linux-v5.15/drivers/misc/
Dxilinx_sdfec.c1411 err = ida_alloc(&dev_nrs, GFP_KERNEL); in xsdfec_probe()
/Linux-v5.15/drivers/target/iscsi/
Discsi_target_login.c295 ret = ida_alloc(&sess_ida, GFP_KERNEL); in iscsi_login_zero_tsih_s1()
/Linux-v5.15/drivers/nvmem/
Dcore.c761 rval = ida_alloc(&nvmem_ida, GFP_KERNEL); in nvmem_register()
/Linux-v5.15/drivers/bus/mhi/core/
Dinit.c972 mhi_cntrl->index = ida_alloc(&mhi_controller_ida, GFP_KERNEL); in mhi_register_controller()

12