Function report |
Source Code:lib\idr.c |
Create Date:2022-07-28 06:13:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:int idr_alloc(struct idr *idr, void *ptr, int start, int end, gfp_t gfp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct idr * | idr | |
void * | ptr | |
int | start | |
int | end | |
gfp_t | gfp |
84 | If WARN_ON_ONCE(start < 0) Then Return -EINVAL |
91 | Return id |
Name | Describe |
---|---|
alloc_pid | |
irq_timings_alloc | |
cgroup_idr_alloc | IDR wrappers which synchronize using cgroup_idr_lock |
perf_pmu_register | |
mem_cgroup_alloc | |
bsg_register_queue |
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 |