Home
last modified time | relevance | path

Searched refs:pid (Results 1576 - 1600 of 7589) sorted by relevance

1...<<61626364656667686970>>...304

/foundation/communication/dsoftbus/core/frame/standard/client_manager/src/
H A Dpermission_status_change_cb.cpp23 if (InformPermissionChange(result.permStateChangeType, this->pkgName.c_str(), pid) != SOFTBUS_OK) { in PermStateChangeCallback()
29 const std::string& permissionName, const std::string& pkgName, int32_t pid) in RegisterDataSyncPermission()
35 std::make_shared<PermissionStatusChangeCb>(scopeInfo, pkgName, pid); in RegisterDataSyncPermission()
28 RegisterDataSyncPermission(const uint32_t& callingTokenId, const std::string& permissionName, const std::string& pkgName, int32_t pid) RegisterDataSyncPermission() argument
/foundation/communication/dsoftbus/core/frame/standard/client_manager/include/
H A Dpermission_status_change_cb.h28 : PermStateChangeCallbackCustomize(scopeInfo), pkgName(_pkgName), pid(_pid) {} in PermissionStatusChangeCb()
33 int32_t pid; member in OHOS::PermissionStatusChangeCb
37 const std::string& permissionName, const std::string& pkgName, int32_t pid);
/kernel/linux/build/test/moduletest/runtest/bin/rss_monitor_t/testcases/bin/
H A Drss_monitor01.sh16 # Description: Verify /proc/pid/rss take effect
38 pid=$(ps -ef | grep com.ohos.systemui | awk 'NR==1 {print $2}')
39 rss=$(cat /proc/$pid/rss | awk -F ':' '{print$2}'| awk '{print$1}')
40 statusVMRss=$(cat /proc/$pid/status | grep VmRSS | awk -F ':' '{print$2}' | awk '{print$1}')
H A Drss_monitor03.sh16 # Description: Verify /proc/pid/rss_threshold value
34 pid=$(ps -ef | grep com.ohos.systemui | awk 'NR==1 {print $2}')
35 echo 2000 > /proc/$pid/rss_threshold
36 value=$(cat /proc/$pid/rss_threshold | awk -F ':' '{print$2}'| awk '{print$1}')
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_send_signal_kern.c7 __u32 sig = 0, pid = 0, status = 0, signal_thread = 0; variable
13 if (status != 0 || sig == 0 || pid == 0) in bpf_send_signal_test()
16 if ((bpf_get_current_pid_tgid() >> 32) == pid) { in bpf_send_signal_test()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_lookup_key.c29 __u32 pid; in BPF_PROG() local
31 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG()
32 if (pid != monitored_pid) in BPF_PROG()
H A Dtest_global_map_resize.c10 const volatile pid_t pid; variable
37 if (pid != (bpf_get_current_pid_tgid() >> 32)) in bss_array_sum()
52 if (pid != (bpf_get_current_pid_tgid() >> 32)) in data_array_sum()
H A Dtest_send_signal_kern.c7 __u32 sig = 0, pid = 0, status = 0, signal_thread = 0; variable
13 if (status != 0 || pid == 0) in bpf_send_signal_test()
16 if ((bpf_get_current_pid_tgid() >> 32) == pid) { in bpf_send_signal_test()
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/dsa/
H A Dtest_bridge_fdb_stress.sh26 kill $pid && wait $pid &> /dev/null
41 pid=$!
/kernel/liteos_a/testsuites/unittest/container/full/
H A DIt_pid_container_013.cpp35 pid_t pid = getpid(); in ChildFun() local
36 if (pid != 1) { in ChildFun()
42 int ret = sched_rr_get_interval(pid, &ts); in ChildFun()
H A DIt_pid_container_022.cpp37 pid_t pid = getpid(); in ChildFun() local
39 ret = ohos_capget(pid, &cap); in ChildFun()
44 ret = kill(pid, SIGKILL); in ChildFun()
/kernel/linux/linux-6.6/tools/include/nolibc/
H A Dstackprotector.h24 pid_t pid; in __stack_chk_fail() local
26 pid = my_syscall0(__NR_getpid); in __stack_chk_fail()
27 my_syscall2(__NR_kill, pid, SIGABRT); in __stack_chk_fail()
/kernel/linux/linux-6.6/samples/bpf/
H A Dtest_overhead_kprobe.bpf.c21 u32 pid; in prog() local
25 pid = BPF_CORE_READ(tsk, pid); in prog()
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/
H A Dprocess_test_047.cpp37 int pid; in Testcase() local
60 pid = ret; in Testcase()
63 ICUNIT_ASSERT_EQUAL(ret, pid, ret); in Testcase()
/third_party/ltp/testcases/kernel/containers/mountns/
H A Dmountns_helper.h31 int pid, status; in check_newns() local
36 pid = do_clone_unshare_test(T_CLONE, CLONE_NEWNS, dummy_child, NULL); in check_newns()
37 if (pid == -1) in check_newns()
/third_party/ltp/testcases/kernel/containers/pidns/
H A Dpidns04.c39 pid_t pid; in run() local
41 pid = SAFE_CLONE(&args); in run()
42 if (!pid) { in run()
/third_party/ltp/testcases/kernel/containers/mqns/
H A Dmqns_helper.h36 int pid, status; in check_mqns() local
51 pid = do_clone_unshare_test(T_CLONE, CLONE_NEWIPC, dummy_child, NULL); in check_mqns()
52 if (pid == -1) in check_mqns()
/third_party/musl/porting/linux/user/src/process/
H A Dvfork.c21 pid_t parent_pid = self->pid; in vfork()
22 self->pid = 0; in vfork()
27 self->pid = parent_pid; in vfork()
/third_party/musl/src/linux/
H A Dptrace.c9 pid_t pid; in ptrace() local
14 pid = va_arg(ap, pid_t); in ptrace()
25 ret = syscall(SYS_ptrace, req, pid, addr, data, addr2); in ptrace()
/third_party/ltp/testcases/kernel/syscalls/execle/
H A Dexecle01.c21 pid_t pid; in verify_execle() local
31 pid = SAFE_FORK(); in verify_execle()
32 if (pid == 0) { in verify_execle()
/third_party/ltp/testcases/kernel/syscalls/execve/
H A Dexecve06.c23 pid_t pid; in verify_execve() local
35 pid = SAFE_FORK(); in verify_execve()
36 if (pid == 0) { in verify_execve()
H A Dexecve01.c22 pid_t pid; in verify_execve() local
34 pid = SAFE_FORK(); in verify_execve()
35 if (pid == 0) { in verify_execve()
/third_party/ltp/testcases/kernel/syscalls/execv/
H A Dexecv01.c21 pid_t pid; in verify_execv() local
28 pid = SAFE_FORK(); in verify_execv()
29 if (pid == 0) { in verify_execv()
/third_party/ltp/testcases/kernel/syscalls/pipe2/
H A Dpipe2_02.c30 int pid, status; in verify_pipe2() local
35 pid = SAFE_FORK(); in verify_pipe2()
36 if (pid == 0) in verify_pipe2()
/third_party/ltp/testcases/kernel/syscalls/signal/
H A Dsignal05.c37 pid_t pid; in do_test() local
41 pid = getpid(); in do_test()
43 SAFE_KILL(pid, siglist[n]); in do_test()

Completed in 14 milliseconds

1...<<61626364656667686970>>...304