Searched refs:last_pid (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/fs/proc/
H A Dloadavg.c24 task_active_pid_ns(current)->last_pid); loadavg_proc_show()
/linux-4.1.27/include/linux/
H A Dpid_namespace.h28 int last_pid; member in struct:pid_namespace
/linux-4.1.27/kernel/
H A Dpid.c77 .last_pid = 0,
130 * We might be racing with someone else trying to set pid_ns->last_pid
139 * 'base' is the value of pid_ns->last_pid that we observed when
150 last_write = cmpxchg(&pid_ns->last_pid, prev, pid); set_last_pid()
156 int i, offset, max_scan, pid, last = pid_ns->last_pid; alloc_pidmap()
165 * If last_pid points into the middle of the map->page we alloc_pidmap()
H A Dpid_namespace.c283 * Writing directly to ns' last_pid field is OK, since this field pid_ns_ctl_handler()
288 tmp.data = &pid_ns->last_pid; pid_ns_ctl_handler()
/linux-4.1.27/kernel/trace/
H A Dtrace_functions_graph.c48 pid_t last_pid; member in struct:fgraph_cpu_data
539 pid_t *last_pid; verif_pid() local
544 last_pid = &(per_cpu_ptr(data->cpu_data, cpu)->last_pid); verif_pid()
546 if (*last_pid == pid) verif_pid()
549 prev_pid = *last_pid; verif_pid()
550 *last_pid = pid; verif_pid()
1328 pid_t *pid = &(per_cpu_ptr(data->cpu_data, cpu)->last_pid); for_each_possible_cpu()
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
H A Dsched.c1085 * Note that last_pid doesn't really make much sense for the show_spu_loadavg()
1095 task_active_pid_ns(current)->last_pid); show_spu_loadavg()
/linux-4.1.27/security/tomoyo/
H A Dcommon.c945 static pid_t last_pid; tomoyo_manager() local
947 if (last_pid != pid) { tomoyo_manager()
950 last_pid = pid; tomoyo_manager()

Completed in 389 milliseconds