/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 240 pid_t pid = getpid(); in join_cgroup_from_top() local
|
H A D | test_lru_map.c | 121 static int sched_next_online(int pid, int *next_to_try) in sched_next_online() argument 582 pid_t pid; in test_lru_sanity5() local
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | namespaces.c | 154 struct nsinfo *nsinfo__new(pid_t pid) in nsinfo__new() argument [all...] |
H A D | thread_map.c | 34 struct perf_thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid() argument 96 pid_t pid = strtol(dirent->d_name, &end, 10); in __thread_map__new_all_cpus() local 171 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new() argument 189 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() local 293 thread_map__new_str(const char *pid, const char *tid, uid_t uid, bool all_threads) thread_map__new_str() argument 319 get_comm(char **comm, pid_t pid) get_comm() argument 345 pid_t pid = perf_thread_map__pid(map, i); comm_init() local 398 thread_map__has(struct perf_thread_map *threads, pid_t pid) thread_map__has() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_hierarchical_stats.c | 170 pid_t pid; in attach_processes() local
|
H A D | uprobe_multi_test.c | 30 int pid; member 156 pid_t pid = child ? child->pid : -1; __test_attach_api() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/ |
H A D | pidfd_test.c | 96 pid_t pid; in test_pidfd_send_signal_exited_fail() local 445 int pid, pidfd = 0; test_pidfd_poll_exec() local 511 int pid, pidfd = 0; test_pidfd_poll_leader_exit() local [all...] |
H A D | pidfd_setns_test.c | 54 pid_t pid; in FIXTURE() local 70 static int sys_waitid(int which, pid_t pid, int options) in sys_waitid() argument 302 preserve_ns(const int pid, const char *ns) preserve_ns() argument 362 pid_t pid; TEST_F() local 380 pid_t pid; TEST_F() local 416 pid_t pid; TEST_F() local 453 pid_t pid; TEST_F() local [all...] |
H A D | pidfd_fdinfo_test.c | 88 pid_t pid; member [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | test_syscall_vdso.c | 342 pid_t pid; in ptrace_me() local
|
H A D | ptrace_syscall.c | 186 pid_t pid = getpid(), tid = syscall(SYS_gettid); in test_ptrace_syscall_restart() local 306 pid_t pid = getpid(), tid = syscall(SYS_gettid); in test_restart_under_ptrace() local
|
/kernel/linux/linux-6.6/tools/testing/selftests/breakpoints/ |
H A D | breakpoint_test.c | 389 pid_t pid; in main() local
|
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
H A D | test_freezer.c | 59 static int cg_enter_and_wait_for_frozen(const char *cgroup, int pid, in cg_enter_and_wait_for_frozen() argument 403 int pid; in test_cgfreezer_mkdir() local 512 int pid; in test_cgfreezer_migrate() local 588 int pid; test_cgfreezer_ptrace() local 643 proc_check_stopped(int pid) proc_check_stopped() argument 667 int pid, ret = KSFT_FAIL; test_cgfreezer_stopped() local 711 int pid, ret = KSFT_FAIL; test_cgfreezer_ptraced() local 765 int pid = vfork(); vfork_fn() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/binderfs/ |
H A D | binderfs_test.c | 187 static int wait_for_pid(pid_t pid) in wait_for_pid() argument 246 static int write_id_mapping(enum idmap_type type, pid_t pid, const char *buf, in write_id_mapping() argument 324 static void change_idmaps(struct __test_metadata *_metadata, int syncfds[2], pid_t pid) in change_idmaps() argument 383 pid_t pid; in TEST() local 507 pid_t pid; TEST() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | atomics.c | 13 __u32 pid = 0; variable
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-perf-hwbreak.c | 39 static inline long sys_ptrace(long request, pid_t pid, unsigned long addr, unsigned long data) in sys_ptrace() argument 49 static long ptrace_getregs(pid_t pid, struct pt_regs *result) in ptrace_getregs() argument 54 static long ptrace_setregs(pid_t pid, struct pt_regs *result) in ptrace_setregs() argument 59 static long ptrace_cont(pid_t pid, long signal) in ptrace_cont() argument 64 static long ptrace_singlestep(pid_t pid, long signal) in ptrace_singlestep() argument 69 ppc_ptrace_gethwdbginfo(pid_t pid, struct ppc_debug_info *dbginfo) ppc_ptrace_gethwdbginfo() argument 74 ppc_ptrace_sethwdbg(pid_t pid, struct ppc_hw_breakpoint *bp_info) ppc_ptrace_sethwdbg() argument 79 ppc_ptrace_delhwdbg(pid_t pid, int bp_id) ppc_ptrace_delhwdbg() argument 84 ptrace_getreg_pc(pid_t pid, void **pc) ptrace_getreg_pc() argument 98 ptrace_setreg_pc(pid_t pid, void *pc) ptrace_setreg_pc() argument 116 perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, int group_fd, unsigned long flags) perf_event_open() argument 175 check_watchpoints(pid_t pid) check_watchpoints() argument 190 ptrace_fork_child(pid_t *pid) ptrace_fork_child() argument 231 pid_t pid; /* PID of child process */ same_watch_addr_test() local 385 pid_t pid; /* PID of child process */ perf_then_ptrace_test() local [all...] |
H A D | core-pkey.c | 256 static int parent(struct shared_info *info, pid_t pid) in parent() argument 412 pid_t pid; in core_pkey() local 174 try_core_file(const char *filename, struct shared_info *info, pid_t pid) try_core_file() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/ |
H A D | cache.c | 38 static int perf_event_open_llc_miss(pid_t pid, int cpu_no) in perf_event_open_llc_miss() argument 64 static int reset_enable_llc_perf(pid_t pid, int cpu_no) in reset_enable_llc_perf() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/seccomp/ |
H A D | seccomp_benchmark.c | 27 pid_t pid, ret; in timing() local 53 pid_t pid, ret; in calibrate() local
|
/kernel/linux/linux-6.6/tools/testing/selftests/uevent/ |
H A D | uevent_filtering.c | 54 int wait_for_pid(pid_t pid) in wait_for_pid() argument 245 pid_t pid; in do_test() local [all...] |
/kernel/liteos_a/kernel/extended/hilog/ |
H A D | los_hilog.c | 51 unsigned int pid : 16; member
|
/kernel/liteos_a/kernel/base/misc/ |
H A D | task_shellcmd.c | 184 UINT32 pid = OS_KERNEL_IDLE_PROCESS_ID; in ProcessInfoShow() local [all...] |
/kernel/liteos_a/kernel/extended/hidumper/ |
H A D | los_hidumper.c | 149 UINT32 pid; in DoDumpCpuUsageUnsafe() local [all...] |
/kernel/liteos_a/kernel/extended/plimit/ |
H A D | los_plimits.c | 216 UINT32 OsPLimitsAddPid(ProcLimiterSet *plimits, UINT32 pid) in OsPLimitsAddPid() argument
|
/kernel/liteos_a/syscall/ |
H A D | ipc_syscall.c | 251 int SysKill(pid_t pid, int sig) in SysKill() argument 256 int SysPthreadKill(pid_t pid, int sig) in SysPthreadKill() argument
|