Function report |
Source Code:kernel\irq\msi.c |
Create Date:2022-07-28 10:15:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_msi_entry - Allocate an initialize msi_entry*@dev: Pointer to the device for which this is allocated*@nvec: The number of vectors used in this entry*@affinity: Optional pointer to an affinity mask array size of @nvec* If @affinity is not NULL then
Proto:struct msi_desc *alloc_msi_entry(struct device *dev, int nvec, const struct irq_affinity_desc *affinity)
Type:struct msi_desc
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
int | nvec | |
const struct irq_affinity_desc * | affinity |
34 | desc = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
35 | If Not desc Then Return NULL |
41 | If affinity Then |
44 | If Not affinity Then |
50 | Return desc |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |