函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\device.h Create Date:2022-07-27 06:45:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:devres_alloc

函数原型:static inline void *devres_alloc(dr_release_t release, size_t size, gfp_t gfp)

返回类型:void

参数:

类型参数名称
dr_release_trelease
size_tsize
gfp_tgfp
898  返回:devres_alloc_node(release, size, gfp, NUMA_NO_NODE)
调用者
名称描述
__devm_ioremap
devm_gen_pool_createdevm_gen_pool_create - managed gen_pool_create*@dev: device that provides the gen_pool*@min_alloc_order: log base 2 of number of bytes each bitmap bit represents*@nid: node selector for allocated gen_pool, %NUMA_NO_NODE for all nodes*@name: name of a
devm_request_resourcedevm_request_resource() - request and reserve an I/O or memory resource*@dev: device for which to request the resource*@root: root of the resource tree from which to request the resource*@new: descriptor of the resource to request
__devm_request_region
devm_register_reboot_notifier
devm_request_threaded_irqdevm_request_threaded_irq - allocate an interrupt line for a managed device*@dev: device to request interrupt for*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs
devm_request_any_context_irqdevm_request_any_context_irq - allocate an interrupt line for a managed device*@dev: device to request interrupt for*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs*@irqflags: Interrupt type flags*@devname: An ascii
__devm_irq_alloc_descs__devm_irq_alloc_descs - Allocate and initialize a range of irq descriptors* for a managed device*@dev: Device to allocate the descriptors for*@irq: Allocate for specific irq number if irq >= 0*@from: Start the search from this irq number*@cnt: Number of
devm_irq_sim_initq_sim_init - Initialize the interrupt simulator for a managed device.*@dev: Device to initialize the simulator object for.*@sim: The interrupt simulator object to initialize.*@num_irqs: Number of interrupts to allocate
dmam_alloc_attrsdmam_alloc_attrs - Managed dma_alloc_attrs()*@dev: Device to allocate non_coherent memory for*@size: Size of allocation*@dma_handle: Out argument for allocated DMA handle*@gfp: Allocation flags*@attrs: Flags in the DMA_ATTR_* namespace.
dmam_pool_createdmam_pool_create - Managed dma_pool_create()*@name: name of pool, for diagnostics*@dev: device that will be doing the DMA*@size: size of the blocks in this pool