| Function report | 
| Source Code: kernel\pid.c | Create Date:2022-07-28 09:28:45 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__task_pid_nr_ns
Proto:pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns)
Type:pid_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | task | |
| enum pid_type | type | |
| struct pid_namespace * | ns | 
| 470 | nr = 0 | 
| 473 | If Not ns Then ns = task_active_pid_ns(current process) | 
| 479 | Return nr | 
| Name | Describe | 
|---|---|
| perf_event_pid_type | |
| task_pid_nr_ns | |
| task_pid_vnr | |
| task_pgrp_nr_ns | |
| task_pgrp_vnr | |
| task_session_nr_ns | |
| task_session_vnr | |
| task_tgid_nr_ns | |
| task_tgid_vnr | 
| 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 |