Function report |
Source Code:kernel\bpf\percpu_freelist.c |
Create Date:2022-07-28 13:12:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__pcpu_freelist_pop
Proto:struct pcpu_freelist_node *__pcpu_freelist_pop(struct pcpu_freelist *s)
Type:struct pcpu_freelist_node
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pcpu_freelist * | s |
| 91 | When 1 cycle |
| 92 | head = per_cpu_ptr(freelist, cpu) |
| 93 | raw_spin_lock( & lock) |
| 95 | If node Then |
| 100 | raw_spin_unlock( & lock) |
| 101 | cpu = pumask_next - get the next cpu in a cpumask*@n: the cpu prior to the place to search (ie. return will be > @n)*@srcp: the cpumask pointer* Returns >= nr_cpu_ids if no further cpus set. |
| 102 | If cpu >= Setup number of possible processor ids Then cpu = 0 |
| Name | Describe |
|---|---|
| pcpu_freelist_pop |
| 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 |