Home
last modified time | relevance | path

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

1234

/openbmc/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()
/openbmc/linux/drivers/misc/mchp_pci1xxxx/
H A 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()
/openbmc/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()
/openbmc/linux/drivers/pps/clients/
H A Dpps_parport.c151 index = ida_alloc(&pps_client_index, GFP_KERNEL); in parport_attach()
/openbmc/linux/drivers/counter/
H A Dcounter-core.c102 err = ida_alloc(&counter_ida, GFP_KERNEL); in counter_alloc()
/openbmc/linux/drivers/misc/cardreader/
H A Dalcor_pci.c115 ret = ida_alloc(&alcor_pci_idr, GFP_KERNEL); in alcor_pci_probe()
/openbmc/linux/include/linux/
H A Didr.h273 static inline int ida_alloc(struct ida *ida, gfp_t gfp) in ida_alloc() function
/openbmc/linux/drivers/gpio/
H A Dgpio-exar.c197 index = ida_alloc(&ida_index, GFP_KERNEL); in gpio_exar_probe()
/openbmc/linux/drivers/fpga/
H A Dfpga-region.c208 id = ida_alloc(&fpga_region_ida, GFP_KERNEL); in __fpga_region_register_full()
H A Dfpga-bridge.c353 id = ida_alloc(&fpga_bridge_ida, GFP_KERNEL); in __fpga_bridge_register()
/openbmc/linux/net/core/
H A Dsock_reuseport.c226 id = ida_alloc(&reuseport_ida, GFP_ATOMIC); in reuseport_alloc()
394 id = ida_alloc(&reuseport_ida, GFP_ATOMIC); in reuseport_resurrect()
/openbmc/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.c325 handle = ida_alloc(&vgdev->ctx_id_ida, GFP_KERNEL); in virtio_gpu_driver_open()
/openbmc/linux/net/xdp/
H A Dxdp_umem.c244 err = ida_alloc(&umem_ida, GFP_KERNEL); in xdp_umem_create()
/openbmc/linux/drivers/cxl/core/
H A Dpmem.c95 rc = ida_alloc(&cxl_nvdimm_bridge_ida, GFP_KERNEL); in cxl_nvdimm_bridge_alloc()
/openbmc/linux/tools/testing/radix-tree/
H A 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()
/openbmc/linux/mm/
H A Dshrinker_debug.c186 id = ida_alloc(&shrinker_debugfs_ida, GFP_KERNEL); in shrinker_debugfs_add()
/openbmc/linux/drivers/misc/cb710/
H A Dcore.c241 err = ida_alloc(&cb710_ida, GFP_KERNEL); in cb710_probe()
/openbmc/linux/drivers/thermal/
H A Dthermal_core.c687 result = ida_alloc(&tz->ida, GFP_KERNEL); in thermal_zone_bind_cooling_device()
879 ret = ida_alloc(&thermal_cdev_ida, GFP_KERNEL); in __thermal_cooling_device_register()
1304 id = ida_alloc(&thermal_tz_ida, GFP_KERNEL); in thermal_zone_device_register_with_trips()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dintf.c77 priv->adev_idx = ida_alloc(&mlx4_adev_ida, GFP_KERNEL); in mlx4_adev_init()
/openbmc/linux/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-common.c231 ret = ida_alloc(&intel_uncore_ida, GFP_KERNEL); in uncore_freq_add_entry()
/openbmc/linux/drivers/mcb/
H A Dmcb-core.c279 bus_nr = ida_alloc(&mcb_ida, GFP_KERNEL); in mcb_alloc_bus()
/openbmc/linux/drivers/rtc/
H A Dclass.c265 id = ida_alloc(&rtc_ida, GFP_KERNEL); in rtc_device_get_id()
/openbmc/linux/drivers/platform/x86/intel/
H A Dvsec.c149 id = ida_alloc(intel_vsec_dev->ida, GFP_KERNEL); in intel_vsec_add_aux()

1234