Home
last modified time | relevance | path

Searched defs:pid (Results 1 – 25 of 1126) sorted by relevance

12345678910>>...46

/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
Dht_affinity.c43 #define sched_setaffinity(pid, cpusetsize, mask) syscall(__NR_sched_setaffinity, pid, cpusetsize, m… argument
44 #define sched_getaffinity(pid, cpusetsize, mask) syscall(__NR_sched_getaffinity, pid, cpusetsize, m… argument
52 pid_t pid; in HT_SetAffinity() local
129 unsigned long get_porc_affinity(pid_t pid) in get_porc_affinity()
151 pid_t pid; in HT_GetAffinity() local
183 pid_t pid; in HT_InheritAffinity() local
/external/autotest/client/bin/
Dparallel.py56 def _check_for_subprocess_exception(temp_dir, pid): argument
81 def fork_waitfor(tmp, pid): argument
89 def fork_waitfor_timed(tmp, pid, timeout): argument
117 def fork_nuke_subprocess(tmp, pid): argument
/external/clang/test/Analysis/
Dvfork.c10 pid_t pid = vfork(); // expected-warning{{Call to function 'vfork' is insecure}} in f1() local
40 pid_t pid = vfork(); // expected-warning{{Call to function 'vfork' is insecure}} in f2() local
96 pid_t pid; in f4() local
/external/valgrind/coregrind/
Dvgdb-invoker-solaris.c89 static int write_memory(pid_t pid, CORE_ADDR memaddr, in write_memory()
127 static Bool attach(pid_t pid) in attach()
203 static void detach(pid_t pid) in detach()
214 static Bool get_regs(pid_t pid, prgregset_t *regs) in get_regs()
252 static Bool setup_stack_frame(pid_t pid, prgregset_t *regs) in setup_stack_frame()
371 static Bool invoke_agent(pid_t pid, prgregset_t *regs, id_t *agent_lwpid) in invoke_agent()
447 static Bool wait_for_agent_exit(pid_t pid, id_t agent_lwpid) in wait_for_agent_exit()
487 Bool invoker_invoke_gdbserver(pid_t pid) in invoker_invoke_gdbserver()
Dvgdb-invoker-ptrace.c253 Bool waitstopped (pid_t pid, int signal_expected, const char *msg) in waitstopped()
335 Bool stop (pid_t pid, const char *msg) in stop()
354 Bool attach (pid_t pid, const char *msg) in attach()
384 Bool acquire_and_suspend_threads (pid_t pid) in acquire_and_suspend_threads()
476 void detach_from_all_threads (pid_t pid) in detach_from_all_threads()
552 Bool getregs (pid_t pid, void *regs, long regs_bsz) in getregs()
668 Bool setregs (pid_t pid, void *regs, long regs_bsz) in setregs()
743 void restore_and_detach (pid_t pid) in restore_and_detach()
793 Bool invoker_invoke_gdbserver (pid_t pid) in invoker_invoke_gdbserver()
/external/google-breakpad/src/client/mac/crash_generation/
Dclient_info.h37 explicit ClientInfo(pid_t pid) : pid_(pid) {} in ClientInfo()
39 pid_t pid() const { return pid_; } in pid() function
/external/libbrillo/brillo/
Dprocess_reaper_unittest.cc22 pid_t pid = fork(); in ForkChildAndExit() local
31 pid_t pid = fork(); in ForkChildAndKill() local
76 pid_t pid = ForkChildAndExit(123); in TEST_F() local
93 pid_t pid = ForkChildAndExit(exit_value); in TEST_F() local
120 pid_t pid = ForkChildAndKill(SIGKILL); in TEST_F() local
131 pid_t pid = ForkChildAndExit(0); in TEST_F() local
/external/toybox/toys/pending/
Dinit.c27 pid_t pid; member
228 pid_t pid; in final_run() local
272 static struct action_list_seed* mark_as_terminated_process(pid_t pid) in mark_as_terminated_process()
288 static void waitforpid(pid_t pid) in waitforpid()
301 pid_t pid; in run_action_from_list() local
337 pid_t pid; in halt_poweroff_reboot_handler() local
372 pid_t pid; in restart_init_handler() local
414 pid_t pid; in pause_handler() local
491 pid_t pid = waitpid(-1, NULL, suspected_WNOHANG); in init_main() local
/external/ltp/tools/pounder21/
Drun.c140 pid_t pid; in main() local
309 pid_t pid; in wait_for_pids() local
372 pid_t pid; in wait_for_daemons() local
413 static void note_process(pid_t pid, char *name) in note_process()
438 static void note_daemon(pid_t pid, char *name) in note_daemon()
466 pid_t pid; in spawn_test() local
583 static void note_child(pid_t pid, char *fname, char type) in note_child()
615 pid_t pid; in process_dir() local
/external/libbrillo/brillo/minijail/
Dminijail.cc73 bool Minijail::Run(struct minijail* jail, vector<char*> args, pid_t* pid) { in Run()
78 pid_t pid; in RunSync() local
88 pid_t* pid, in RunPipe()
101 pid_t* pid, in RunPipes()
116 pid_t* pid) { in RunAndDestroy()
132 pid_t* pid, in RunPipeAndDestroy()
141 pid_t* pid, in RunPipesAndDestroy()
/external/toybox/toys/other/
Dtaskset.c38 #define sched_setaffinity(pid, size, cpuset) \ argument
40 #define sched_getaffinity(pid, size, cpuset) \ argument
46 static void do_taskset(pid_t pid, int quiet) in do_taskset()
107 pid_t pid = strtol(toys.optargs[toys.optc-1], &c, 10); in taskset_main() local
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowProcess.java9 private static Integer pid; field in ShadowProcess
19 public static void setPid(int pid) { in setPid()
/external/strace/tests-mx32/
Dsched_xetaffinity.c45 getaffinity(unsigned long pid, unsigned long size, void *set) in getaffinity()
53 setaffinity(unsigned long pid, unsigned long size, void *set) in setaffinity()
64 const pid_t pid = getpid(); in main() local
/external/strace/tests/
Dsched_xetaffinity.c45 getaffinity(unsigned long pid, unsigned long size, void *set) in getaffinity()
53 setaffinity(unsigned long pid, unsigned long size, void *set) in setaffinity()
64 const pid_t pid = getpid(); in main() local
/external/strace/tests-m32/
Dsched_xetaffinity.c45 getaffinity(unsigned long pid, unsigned long size, void *set) in getaffinity()
53 setaffinity(unsigned long pid, unsigned long size, void *set) in setaffinity()
64 const pid_t pid = getpid(); in main() local
/external/autotest/client/site_tests/login_LogoutProcessCleanup/
Dlogin_LogoutProcessCleanup.py64 def __get_stat_fields(self, pid): argument
73 def __get_parent_pid(self, pid): argument
81 def __is_process_dead(self, pid): argument
95 def __process_has_ancestor(self, pid, ancestor_pid): argument
/external/google-breakpad/src/client/linux/crash_generation/
Dclient_info.h39 ClientInfo(pid_t pid, CrashGenerationServer* crash_server) in ClientInfo()
44 pid_t pid() const { return pid_; } in pid() function
/external/ltp/include/
Dtst_process_state.h50 #define TST_PROCESS_STATE_WAIT(pid, state) \ argument
63 # define TST_PROCESS_STATE_WAIT(cleanup_fn, pid, state) \ argument
/external/libcap/libcap/
Dcap_proc.c49 int capgetp(pid_t pid, cap_t cap_d) in capgetp()
69 cap_t cap_get_pid(pid_t pid) in cap_get_pid()
90 int capsetp(pid_t pid, cap_t cap_d) in capsetp()
/external/autotest/client/common_lib/cros/
Dpower_cycle_usb_util.py75 def power_cycle_usb_vidpid(dut, board, vid, pid): argument
106 def get_port_number_from_vidpid(dut, vid, pid): argument
133 def get_bus_dev_id(lsusb_output, vid, pid): argument
/external/ltp/testcases/kernel/syscalls/waitpid/
Dwaitpid09.c45 static void cleanup_pid(pid_t pid) in cleanup_pid()
55 pid_t pid, ret; in case0() local
88 pid_t pid, ret; in case1() local
/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dprocess_info.cc16 ProcessInfo::ProcessInfo(int pid) : memory_(pid), pid_(pid) {} in ProcessInfo()
18 bool ProcessInfo::IsProcess(int pid) { in IsProcess()
58 const int pid = pid_; in ReadThreadNames() local
/external/libchrome/base/process/
Dinternal_linux.cc29 FilePath GetProcPidDir(pid_t pid) { in GetProcPidDir()
44 pid_t pid; in ProcDirSlotToPid() local
65 bool ReadProcStats(pid_t pid, std::string* buffer) { in ReadProcStats()
136 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num) { in ReadProcStatsAndGetFieldAsInt64()
146 size_t ReadProcStatsAndGetFieldAsSizeT(pid_t pid, in ReadProcStatsAndGetFieldAsSizeT()
/external/llvm/include/llvm/
DPass.h89 explicit Pass(PassKind K, char &pid) in Pass()
250 explicit ModulePass(char &pid) : Pass(PT_Module, pid) {} in ModulePass()
282 explicit ImmutablePass(char &pid) in ImmutablePass()
300 explicit FunctionPass(char &pid) : Pass(PT_Function, pid) {} in FunctionPass()
337 explicit BasicBlockPass(char &pid) : Pass(PT_BasicBlock, pid) {} in BasicBlockPass()
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_filesystem_test.c576 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, in main() local
594 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, in main() local
611 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, in main() local

12345678910>>...46