函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:irq_timings_alloc

函数原型:int irq_timings_alloc(int irq)

返回类型:int

参数:

类型参数名称
intirq
602  __percpus
611  s等于dr_find() - Return pointer for given ID
612  如果s则返回:0
615  s等于alloc_percpu( * s)
616  如果非s则返回:负ENOMEM
619  dr_preload - preload for idr_alloc()*@gfp_mask: allocation mask to use for preloading* Preallocate memory to use for the next call to idr_alloc(). This function* returns with preemption disabled. It will be enabled by idr_preload_end().
620  id等于dr_alloc() - Allocate an ID.*@idr: IDR handle.*@ptr: Pointer to be associated with the new ID.*@start: The minimum ID (inclusive).*@end: The maximum ID (exclusive).*@gfp: Memory allocation flags.
621  dr_preload_end - end preload section started with idr_preload()* Each idr_preload() should be matched with an invocation of this* function. See idr_preload() for details.
623  如果id小于0则
624  释放内存
625  返回:id
628  返回:0