devres_alloc 398 drivers/ata/libahci_platform.c hpriv = devres_alloc(ahci_platform_put_resources, sizeof(*hpriv), devres_alloc 6142 drivers/ata/libata-core.c dr = devres_alloc(ata_devres_release, 0, GFP_KERNEL); devres_alloc 6398 drivers/ata/libata-core.c start_dr = devres_alloc(ata_host_stop, 0, GFP_KERNEL); devres_alloc 350 drivers/base/component.c match = devres_alloc(devm_component_match_release, devres_alloc 1379 drivers/base/core.c devres = devres_alloc(devm_attr_group_remove, devres_alloc 1432 drivers/base/core.c devres = devres_alloc(devm_attr_groups_remove, devres_alloc 727 drivers/base/devres.c devres = devres_alloc(devm_action_release, devres_alloc 1022 drivers/base/devres.c devres = devres_alloc(devm_pages_release, devres_alloc 1091 drivers/base/devres.c p = devres_alloc(devm_percpu_release, sizeof(void *), GFP_KERNEL); devres_alloc 608 drivers/base/firmware_loader/main.c fwn = devres_alloc(fw_name_devm_release, sizeof(struct fw_name_devm), devres_alloc 901 drivers/base/regmap/regmap-irq.c ptr = devres_alloc(devm_regmap_irq_chip_release, sizeof(*ptr), devres_alloc 602 drivers/base/regmap/regmap.c m = devres_alloc(dev_get_regmap_release, sizeof(*m), GFP_KERNEL); devres_alloc 1188 drivers/base/regmap/regmap.c ptr = devres_alloc(devm_regmap_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 98 drivers/bus/vexpress-config.c res = devres_alloc(vexpress_config_devres_release, sizeof(*res), devres_alloc 563 drivers/char/hw_random/core.c ptr = devres_alloc(devm_hwrng_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 16 drivers/clk/clk-devres.c ptr = devres_alloc(devm_clk_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 61 drivers/clk/clk-devres.c devres = devres_alloc(devm_clk_bulk_release, devres_alloc 101 drivers/clk/clk-devres.c devres = devres_alloc(devm_clk_bulk_release, devres_alloc 144 drivers/clk/clk-devres.c ptr = devres_alloc(devm_clk_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 3986 drivers/clk/clk.c clkp = devres_alloc(devm_clk_release, sizeof(*clkp), GFP_KERNEL); devres_alloc 4016 drivers/clk/clk.c hwp = devres_alloc(devm_clk_hw_release, sizeof(*hwp), GFP_KERNEL); devres_alloc 4422 drivers/clk/clk.c ptr = devres_alloc(devm_of_clk_release_provider, sizeof(*ptr), devres_alloc 437 drivers/clk/clkdev.c cl = devres_alloc(devm_clkdev_release, sizeof(*cl), GFP_KERNEL); devres_alloc 1506 drivers/counter/counter.c ptr = devres_alloc(devm_counter_unreg, sizeof(*ptr), GFP_KERNEL); devres_alloc 400 drivers/devfreq/devfreq-event.c ptr = devres_alloc(devm_devfreq_event_release, sizeof(*ptr), devres_alloc 805 drivers/devfreq/devfreq.c ptr = devres_alloc(devm_devfreq_dev_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 1574 drivers/devfreq/devfreq.c ptr = devres_alloc(devm_devfreq_opp_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 1690 drivers/devfreq/devfreq.c ptr = devres_alloc(devm_devfreq_notifier_release, sizeof(*ptr), devres_alloc 251 drivers/dma/acpi-dma.c res = devres_alloc(devm_acpi_dma_release, 0, GFP_KERNEL); devres_alloc 1152 drivers/dma/dmaengine.c p = devres_alloc(dmam_device_release, sizeof(void *), GFP_KERNEL); devres_alloc 70 drivers/extcon/devres.c ptr = devres_alloc(devm_extcon_dev_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 123 drivers/extcon/devres.c ptr = devres_alloc(devm_extcon_dev_unreg, sizeof(*ptr), GFP_KERNEL); devres_alloc 178 drivers/extcon/devres.c ptr = devres_alloc(devm_extcon_dev_notifier_unreg, sizeof(*ptr), devres_alloc 234 drivers/extcon/devres.c ptr = devres_alloc(devm_extcon_dev_notifier_all_unreg, sizeof(*ptr), devres_alloc 3098 drivers/firmware/ti_sci.c ptr = devres_alloc(devm_ti_sci_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 3181 drivers/firmware/ti_sci.c ptr = devres_alloc(devm_ti_sci_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 418 drivers/fpga/fpga-bridge.c ptr = devres_alloc(devm_fpga_bridge_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 658 drivers/fpga/fpga-mgr.c ptr = devres_alloc(devm_fpga_mgr_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 277 drivers/fpga/fpga-region.c ptr = devres_alloc(devm_fpga_region_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 475 drivers/gpio/gpiolib-acpi.c res = devres_alloc(devm_acpi_dev_release_driver_gpios, 0, GFP_KERNEL); devres_alloc 118 drivers/gpio/gpiolib-devres.c dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), devres_alloc 173 drivers/gpio/gpiolib-devres.c dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), devres_alloc 214 drivers/gpio/gpiolib-devres.c dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), devres_alloc 290 drivers/gpio/gpiolib-devres.c dr = devres_alloc(devm_gpiod_release_array, devres_alloc 432 drivers/gpio/gpiolib-devres.c dr = devres_alloc(devm_gpio_release, sizeof(unsigned), GFP_KERNEL); devres_alloc 462 drivers/gpio/gpiolib-devres.c dr = devres_alloc(devm_gpio_release, sizeof(unsigned), GFP_KERNEL); devres_alloc 1571 drivers/gpio/gpiolib.c ptr = devres_alloc(devm_gpio_chip_release, sizeof(*ptr), devres_alloc 228 drivers/gpu/drm/bridge/panel.c ptr = devres_alloc(devm_drm_panel_bridge_release, sizeof(*ptr), devres_alloc 568 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c ptr = devres_alloc(ttm_dma_pool_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 1246 drivers/hid/wacom_sys.c devres = devres_alloc(wacom_devm_sysfs_group_release, devres_alloc 809 drivers/hwmon/hwmon.c ptr = devres_alloc(devm_hwmon_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 849 drivers/hwmon/hwmon.c ptr = devres_alloc(devm_hwmon_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 620 drivers/hwspinlock/hwspinlock_core.c ptr = devres_alloc(devm_hwspin_lock_unreg, sizeof(*ptr), GFP_KERNEL); devres_alloc 900 drivers/hwspinlock/hwspinlock_core.c ptr = devres_alloc(devm_hwspin_lock_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 936 drivers/hwspinlock/hwspinlock_core.c ptr = devres_alloc(devm_hwspin_lock_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 967 drivers/i2c/i2c-core-base.c dr = devres_alloc(devm_i2c_release_dummy, sizeof(*dr), GFP_KERNEL); devres_alloc 172 drivers/iio/buffer/industrialio-hw-consumer.c ptr = devres_alloc(devm_iio_hw_consumer_release, sizeof(*ptr), devres_alloc 112 drivers/iio/buffer/industrialio-triggered-buffer.c ptr = devres_alloc(devm_iio_triggered_buffer_clean, sizeof(*ptr), devres_alloc 204 drivers/iio/buffer/kfifo_buf.c ptr = devres_alloc(devm_iio_kfifo_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 1509 drivers/iio/industrialio-core.c ptr = devres_alloc(devm_iio_device_release, sizeof(*ptr), devres_alloc 1746 drivers/iio/industrialio-core.c ptr = devres_alloc(devm_iio_device_unreg, sizeof(*ptr), GFP_KERNEL); devres_alloc 623 drivers/iio/industrialio-trigger.c ptr = devres_alloc(devm_iio_trigger_release, sizeof(*ptr), devres_alloc 689 drivers/iio/industrialio-trigger.c ptr = devres_alloc(devm_iio_trigger_unreg, sizeof(*ptr), GFP_KERNEL); devres_alloc 380 drivers/iio/inkern.c ptr = devres_alloc(devm_iio_channel_free, sizeof(*ptr), GFP_KERNEL); devres_alloc 500 drivers/iio/inkern.c ptr = devres_alloc(devm_iio_channel_free_all, sizeof(*ptr), GFP_KERNEL); devres_alloc 239 drivers/input/input-polldev.c devres = devres_alloc(devm_input_polldev_release, sizeof(*devres), devres_alloc 298 drivers/input/input-polldev.c devres = devres_alloc(devm_input_polldev_unregister, devres_alloc 1882 drivers/input/input.c devres = devres_alloc(devm_input_device_release, devres_alloc 2170 drivers/input/input.c devres = devres_alloc(devm_input_device_unregister, devres_alloc 387 drivers/leds/led-class.c dr = devres_alloc(devm_led_classdev_release, sizeof(*dr), GFP_KERNEL); devres_alloc 298 drivers/leds/led-triggers.c dr = devres_alloc(devm_led_trigger_release, sizeof(*dr), devres_alloc 565 drivers/macintosh/macio_asic.c dr = devres_alloc(maciom_release, sizeof(*dr), GFP_KERNEL); devres_alloc 583 drivers/mailbox/mailbox.c ptr = devres_alloc(__devm_mbox_controller_unregister, sizeof(*ptr), devres_alloc 1716 drivers/media/rc/rc-main.c dr = devres_alloc(devm_rc_alloc_release, sizeof(*dr), GFP_KERNEL); devres_alloc 1950 drivers/media/rc/rc-main.c dr = devres_alloc(devm_rc_release, sizeof(*dr), GFP_KERNEL); devres_alloc 367 drivers/mfd/mfd-core.c ptr = devres_alloc(devm_mfd_dev_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 224 drivers/mfd/rave-sp.c rcnb = devres_alloc(rave_sp_unregister_event_notifier, devres_alloc 887 drivers/mtd/nand/raw/atmel/pmecc.c ptr = devres_alloc(devm_atmel_pmecc_put, sizeof(*ptr), GFP_KERNEL); devres_alloc 225 drivers/mux/core.c ptr = devres_alloc(devm_mux_chip_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 264 drivers/mux/core.c ptr = devres_alloc(devm_mux_chip_reg_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 513 drivers/mux/core.c ptr = devres_alloc(devm_mux_control_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 240 drivers/net/arcnet/arcnet.c res = devres_alloc(arcnet_led_release, 0, GFP_KERNEL); devres_alloc 75 drivers/net/can/led.c res = devres_alloc(can_led_release, 0, GFP_KERNEL); devres_alloc 208 drivers/net/phy/mdio_bus.c ptr = devres_alloc(_devm_mdiobus_free, sizeof(*ptr), GFP_KERNEL); devres_alloc 240 drivers/ntb/msi.c dr = devres_alloc(ntbm_msi_callback_release, devres_alloc 498 drivers/nvmem/core.c ptr = devres_alloc(devm_nvmem_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 680 drivers/nvmem/core.c ptr = devres_alloc(devm_nvmem_device_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 850 drivers/nvmem/core.c ptr = devres_alloc(devm_nvmem_cell_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 607 drivers/of/platform.c ptr = devres_alloc(devm_of_platform_populate_release, devres_alloc 659 drivers/pci/endpoint/pci-epc-core.c ptr = devres_alloc(devm_pci_epc_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 1793 drivers/pci/pci.c new_dr = devres_alloc(pcim_release, sizeof(*new_dr), GFP_KERNEL); devres_alloc 4002 drivers/pci/pci.c ptr = devres_alloc(devm_pci_unmap_iospace, sizeof(*ptr), GFP_KERNEL); devres_alloc 4033 drivers/pci/pci.c ptr = devres_alloc(devm_ioremap_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 714 drivers/phy/phy-core.c ptr = devres_alloc(devm_phy_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 769 drivers/phy/phy-core.c ptr = devres_alloc(devm_phy_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 802 drivers/phy/phy-core.c ptr = devres_alloc(devm_phy_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 915 drivers/phy/phy-core.c ptr = devres_alloc(devm_phy_consume, sizeof(*ptr), GFP_KERNEL); devres_alloc 1048 drivers/phy/phy-core.c ptr = devres_alloc(devm_phy_provider_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 1341 drivers/pinctrl/core.c ptr = devres_alloc(devm_pinctrl_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 2210 drivers/pinctrl/core.c ptr = devres_alloc(devm_pinctrl_dev_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 2246 drivers/pinctrl/core.c ptr = devres_alloc(devm_pinctrl_dev_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 152 drivers/power/reset/reboot-mode.c dr = devres_alloc(devm_reboot_mode_release, sizeof(*dr), GFP_KERNEL); devres_alloc 549 drivers/power/supply/power_supply_core.c ptr = devres_alloc(devm_power_supply_put, sizeof(*ptr), GFP_KERNEL); devres_alloc 1185 drivers/power/supply/power_supply_core.c ptr = devres_alloc(devm_power_supply_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 1221 drivers/power/supply/power_supply_core.c ptr = devres_alloc(devm_power_supply_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 1028 drivers/pwm/core.c ptr = devres_alloc(devm_pwm_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 1061 drivers/pwm/core.c ptr = devres_alloc(devm_pwm_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 1095 drivers/pwm/core.c ptr = devres_alloc(devm_pwm_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 27 drivers/regulator/devres.c ptr = devres_alloc(devm_regulator_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 151 drivers/regulator/devres.c devres = devres_alloc(devm_regulator_bulk_release, devres_alloc 190 drivers/regulator/devres.c ptr = devres_alloc(devm_rdev_release, sizeof(*ptr), devres_alloc 276 drivers/regulator/devres.c match = devres_alloc(devm_regulator_destroy_supply_alias, devres_alloc 435 drivers/regulator/devres.c match = devres_alloc(devm_regulator_destroy_notifier, devres_alloc 338 drivers/regulator/of_regulator.c devm_matches = devres_alloc(devm_of_regulator_put_matches, devres_alloc 145 drivers/reset/core.c rcdevp = devres_alloc(devm_reset_controller_release, sizeof(*rcdevp), devres_alloc 784 drivers/reset/core.c ptr = devres_alloc(devm_reset_control_release, sizeof(*ptr), devres_alloc 925 drivers/reset/core.c devres = devres_alloc(devm_reset_control_release, sizeof(*devres), devres_alloc 315 drivers/rtc/class.c ptr = devres_alloc(devm_rtc_release_device, sizeof(*ptr), GFP_KERNEL); devres_alloc 580 drivers/spi/spi-mem.c ptr = devres_alloc(devm_spi_mem_dirmap_release, sizeof(*ptr), devres_alloc 2545 drivers/spi/spi.c ptr = devres_alloc(devm_spi_unregister, sizeof(*ptr), GFP_KERNEL); devres_alloc 1423 drivers/staging/fieldbus/anybuss/host.c dr = devres_alloc(host_release, sizeof(struct anybuss_host *), devres_alloc 39 drivers/staging/vc04_services/bcm2835-audio/bcm2835.c vchi_ctx = devres_alloc(bcm2835_devm_free_vchi_ctx, sizeof(*vchi_ctx), devres_alloc 623 drivers/thermal/of-thermal.c ptr = devres_alloc(devm_thermal_zone_of_sensor_release, sizeof(*ptr), devres_alloc 1086 drivers/thermal/thermal_core.c ptr = devres_alloc(thermal_cooling_device_release, sizeof(*ptr), devres_alloc 197 drivers/tty/serdev/core.c dr = devres_alloc(devm_serdev_device_release, sizeof(*dr), GFP_KERNEL); devres_alloc 419 drivers/usb/phy/phy.c ptr = devres_alloc(devm_usb_phy_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 494 drivers/usb/phy/phy.c ptr = devres_alloc(devm_usb_phy_release2, sizeof(*ptr), GFP_KERNEL); devres_alloc 536 drivers/video/backlight/backlight.c ptr = devres_alloc(devm_backlight_device_release, sizeof(*ptr), devres_alloc 282 drivers/video/backlight/lcd.c ptr = devres_alloc(devm_lcd_device_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 371 drivers/watchdog/watchdog_core.c rcwdd = devres_alloc(devm_watchdog_unregister_device, sizeof(*rcwdd), devres_alloc 880 include/linux/device.h static inline void *devres_alloc(dr_release_t release, size_t size, gfp_t gfp) devres_alloc 87 kernel/dma/mapping.c dr = devres_alloc(dmam_release, sizeof(*dr), gfp); devres_alloc 59 kernel/irq/devres.c dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), devres_alloc 106 kernel/irq/devres.c dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), devres_alloc 185 kernel/irq/devres.c dr = devres_alloc(devm_irq_desc_release, sizeof(*dr), GFP_KERNEL); devres_alloc 268 kernel/irq/devres.c dr = devres_alloc(devm_irq_remove_generic_chip, devres_alloc 151 kernel/irq/irq_sim.c dr = devres_alloc(devm_irq_sim_release, sizeof(*dr), GFP_KERNEL); devres_alloc 120 kernel/reboot.c rcnb = devres_alloc(devm_unregister_reboot_notifier, devres_alloc 1384 kernel/resource.c ptr = devres_alloc(devm_resource_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 1452 kernel/resource.c dr = devres_alloc(devm_region_release, sizeof(struct region_devres), devres_alloc 32 lib/devres.c ptr = devres_alloc(devm_ioremap_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 248 lib/devres.c ptr = devres_alloc(devm_ioport_map_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 322 lib/devres.c new_dr = devres_alloc(pcim_iomap_release, sizeof(*new_dr), GFP_KERNEL); devres_alloc 837 lib/genalloc.c ptr = devres_alloc(devm_gen_pool_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 511 mm/dmapool.c ptr = devres_alloc(dmam_pool_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 430 net/ethernet/eth.c dr = devres_alloc(devm_free_netdev, sizeof(*dr), GFP_KERNEL); devres_alloc 293 sound/hda/hdac_component.c acomp = devres_alloc(hdac_acomp_release, sizeof(*acomp) + extra_size, devres_alloc 571 sound/soc/codecs/sigmadsp.c sigmadsp = devres_alloc(devm_sigmadsp_release, sizeof(*sigmadsp), devres_alloc 34 sound/soc/soc-devres.c ptr = devres_alloc(devm_component_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 68 sound/soc/soc-devres.c ptr = devres_alloc(devm_card_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 106 sound/soc/soc-devres.c ptr = devres_alloc(devm_dmaengine_pcm_release, sizeof(*ptr), GFP_KERNEL); devres_alloc 356 sound/soc/soc-jack.c tbl = devres_alloc(jack_devres_free_gpios, sizeof(*tbl), GFP_KERNEL); devres_alloc 329 tools/testing/nvdimm/test/iomap.c d = devres_alloc(nfit_devres_release,