函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\irq_poll.c Create Date:2022-07-27 08:19:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:q_poll_init - Initialize this @iop*@iop: The parent iopoll structure*@weight: The default weight (or command completion budget)*@poll_fn: The handler to invoke* Description:* Initialize and enable this irq_poll structure.

函数原型:void irq_poll_init(struct irq_poll *iop, int weight, irq_poll_fn *poll_fn)

返回类型:void

参数:

类型参数名称
struct irq_poll *iop
intweight
irq_poll_fn *poll_fn
181  memset(iop, 0, iop的长度)
182  初始化链表头
183  weight等于weight
184  poll等于poll_fn