/kernel/linux/linux-5.10/fs/jbd2/ |
H A D | transaction.c | 1810 pid_t pid; in jbd2_journal_stop() local 1870 pid = current->pid; in jbd2_journal_stop() 1871 if (handle->h_sync && journal->j_last_sync_writer != pid && in jbd2_journal_stop() 1875 journal->j_last_sync_writer = pid; in jbd2_journal_stop()
|
/kernel/linux/linux-5.10/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 1920 pid_t pid = 0; in o2hb_region_pid_show() local 1924 pid = task_pid_nr(reg->hr_task); in o2hb_region_pid_show() 1927 if (!pid) in o2hb_region_pid_show() 1930 return sprintf(page, "%u\n", pid); in o2hb_region_pid_show() 1937 CONFIGFS_ATTR_RO(o2hb_region_, pid);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_debugfs.c | 343 task = pid_task(ctx->pid ?: file->pid, PIDTYPE_PID); in print_context_stats() 1078 if (ctx->pid) { in i915_context_status() 1081 task = get_pid_task(ctx->pid, PIDTYPE_PID); in i915_context_status() 1084 task->comm, task->pid); in i915_context_status()
|
/kernel/linux/linux-6.6/fs/ |
H A D | locks.c | 2084 pr_warn_once("%s(%d): Attempt to set a LOCK_MAND lock via flock(2). This support has been removed and the request ignored.\n", current->comm, current->pid); in SYSCALL_DEFINE2() 2145 * @ns: The namespace into which the pid should be translated 2147 * Used to translate a fl_pid into a namespace virtual pid number 2152 struct pid *pid; in locks_translate_pid() local 2159 * If the flock owner process is dead and its pid has been already in locks_translate_pid() 2161 * flock owner pid number in init pidns. in locks_translate_pid() 2167 pid = find_pid_ns(fl->fl_pid, &init_pid_ns); in locks_translate_pid() 2168 vnr = pid_nr_ns(pid, ns); in locks_translate_pid() 2703 * If lock owner is dead (and pid i in lock_get_status() [all...] |
/kernel/linux/linux-6.6/fs/jbd2/ |
H A D | transaction.c | 1831 pid_t pid; in jbd2_journal_stop() local 1891 pid = current->pid; in jbd2_journal_stop() 1892 if (handle->h_sync && journal->j_last_sync_writer != pid && in jbd2_journal_stop() 1896 journal->j_last_sync_writer = pid; in jbd2_journal_stop()
|
/kernel/linux/linux-6.6/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 1909 pid_t pid = 0; in o2hb_region_pid_show() local 1913 pid = task_pid_nr(reg->hr_task); in o2hb_region_pid_show() 1916 if (!pid) in o2hb_region_pid_show() 1919 return sprintf(page, "%u\n", pid); in o2hb_region_pid_show() 1926 CONFIGFS_ATTR_RO(o2hb_region_, pid);
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 1177 current->pid); in assign_ctxt_affinity() 1321 rcd->pid = current->pid; in setup_ctxt() 1506 rcd->subpid[subctxt_fp(fp)] = current->pid; in find_shared_ctxt() 1837 rcd->pid = 0; in qib_close()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-top.c | 759 if (!intlist__has_entry(seen, sample->pid)) { in perf_event__process_sample() 761 sample->pid); in perf_event__process_sample() 762 intlist__add(seen, sample->pid); in perf_event__process_sample() 1185 sample.pid); in deliver_event() 1467 OPT_STRING('p', "pid", &target->pid, "pid", in cmd_top() 1512 "sort by key(s): pid, comm, dso, symbol, parent, cpu, srcline, ..." in cmd_top()
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | rawmidi.c | 371 substream->pid = get_pid(task_pid(current)); in open_substream() 579 put_pid(substream->pid); in close_substream() 580 substream->pid = NULL; in close_substream() 1788 pid_vnr(substream->pid)); in snd_rawmidi_proc_info_read() 1815 pid_vnr(substream->pid)); in snd_rawmidi_proc_info_read()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | bpf.c | 777 attr.link_create.uprobe_multi.pid = OPTS_GET(opts, uprobe_multi.pid, 0); in bpf_link_create() 1217 int bpf_task_fd_query(int pid, int fd, __u32 flags, char *buf, __u32 *buf_len, in bpf_task_fd_query() argument 1226 attr.task_fd_query.pid = pid; in bpf_task_fd_query()
|
/third_party/libbpf/src/ |
H A D | bpf.c | 777 attr.link_create.uprobe_multi.pid = OPTS_GET(opts, uprobe_multi.pid, 0); in bpf_link_create() 1233 int bpf_task_fd_query(int pid, int fd, __u32 flags, char *buf, __u32 *buf_len, in bpf_task_fd_query() argument 1242 attr.task_fd_query.pid = pid; in bpf_task_fd_query()
|
/third_party/rust/crates/libc/src/unix/ |
H A D | mod.rs | 901 pub fn getpgid(pid: pid_t) -> pid_t; in getpgid() 921 pub fn setpgid(pid: pid_t, pgid: pid_t) -> ::c_int; in setpgid() 956 pub fn waitpid(pid: pid_t, status: *mut ::c_int, options: ::c_int) -> pid_t; in waitpid() 981 pub fn kill(pid: pid_t, sig: ::c_int) -> ::c_int; in kill() 1436 pub fn getsid(pid: pid_t) -> pid_t; in getsid()
|
/third_party/toybox/toys/pending/ |
H A D | dhcp.c | 530 pid_t pid; in run_script() local 547 pid = vfork(); in run_script() 548 if (pid < 0) { in run_script() 552 if (!pid) { in run_script() 558 waitpid(pid, NULL,0); in run_script()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | ability_connect_manager.cpp | 557 const int32_t pid = (abilityRecord->GetPid() > 0) ? abilityRecord->GetPid() : -1; in ReportEventToRSS() local 561 bundleName.c_str(), pid, reason.c_str(), callerPid); in ReportEventToRSS() 562 taskHandler_->SubmitTask([uid, bundleName, reason, pid, callerPid]() { in ReportEventToRSS() 563 ResSchedUtil::GetInstance().ReportEventToRSS(uid, bundleName, reason, pid, callerPid); in ReportEventToRSS() 2023 const int32_t pid, std::vector<std::string> &extensionList) in GetActiveUIExtensionList() 2026 return uiExtensionAbilityRecordMgr_->GetActiveUIExtensionList(pid, extensionList); in GetActiveUIExtensionList() 2573 extensionInfo.pid = processInfo.pid_; in GetExtensionRunningInfo() 2756 TAG_LOGE(AAFwkTag::ABILITYMGR, "ability %{public}s pid invalid", ability->GetURI().c_str()); in PrintTimeOutLog() 2787 "LIFECYCLE_TIMEOUT: uid: %{public}d, pid: %{public}d, bundleName: %{public}s, abilityName: %{public}s," in PrintTimeOutLog() 2794 .pid in PrintTimeOutLog() 2022 GetActiveUIExtensionList( const int32_t pid, std::vector<std::string> &extensionList) GetActiveUIExtensionList() argument 3257 int32_t pid = 0; ReportAbilityStartInfoToRSS() local [all...] |
/kernel/linux/linux-5.10/virt/kvm/ |
H A D | kvm_main.c | 458 vcpu->pid = NULL; in kvm_vcpu_init() 478 * the vcpu->pid pointer, and at destruction time all file descriptors in kvm_vcpu_destroy() 481 put_pid(rcu_dereference_protected(vcpu->pid, 1)); in kvm_vcpu_destroy() 3009 struct pid *pid; in kvm_vcpu_yield_to() local 3014 pid = rcu_dereference(target->pid); in kvm_vcpu_yield_to() 3015 if (pid) in kvm_vcpu_yield_to() 3016 task = get_pid_task(pid, PIDTYPE_PID); in kvm_vcpu_yield_to() 3349 struct pid *oldpi in kvm_vcpu_ioctl() [all...] |
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 445 pub pid: ::pid_t, 3786 pid: ::pid_t, in process_vm_readv() 3794 pid: ::pid_t, in process_vm_writev() 4114 pub fn sched_getaffinity(pid: ::pid_t, cpusetsize: ::size_t, cpuset: *mut cpu_set_t) in sched_getaffinity() 4117 pid: ::pid_t, in sched_setaffinity() 4150 pub fn sched_rr_get_interval(pid: ::pid_t, tp: *mut ::timespec) -> ::c_int; in sched_rr_get_interval() 4153 pub fn sched_setparam(pid: ::pid_t, param: *const ::sched_param) -> ::c_int; in sched_setparam() 4171 pub fn sched_getparam(pid: ::pid_t, param: *mut ::sched_param) -> ::c_int; in sched_getparam() 4203 pub fn sched_getscheduler(pid: ::pid_t) -> ::c_int; in sched_getscheduler() 4229 pid in sched_setscheduler() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/mission/ |
H A D | mission_list_manager_interface.h | 109 virtual void GetActiveAbilityList(int32_t uid, std::vector<std::string> &abilityList, int32_t pid = NO_PID) = 0;
|
/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/ |
H A D | ecological_rule_interceptor.cpp | 222 callerInfo.pid = want.GetIntParam(Want::PARAM_RESV_CALLER_PID, IPCSkeleton::GetCallingPid()); in InitErmsCallerInfo()
|
/foundation/multimedia/audio_framework/test/fuzztest/audiomanager_fuzzer/ |
H A D | audio_manager_fuzzer.cpp | 68 focusInfo.first.pid = *reinterpret_cast<const int32_t *>(data); in AudioManagerFuzzTest()
|
/foundation/multimedia/av_codec/services/services/codec/server/ |
H A D | codec_server.h | 145 pid_t pid = -1; member
|
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/ |
H A D | photo_output.h | 496 void CameraServerDied(pid_t pid) override;
|
/foundation/systemabilitymgr/samgr/services/samgr/native/include/schedule/ |
H A D | system_ability_state_scheduler.h | 55 int32_t GetProcessNameByProcessId(int32_t pid, std::u16string& processName);
|
/foundation/window/window_manager/interfaces/innerkits/dm/ |
H A D | display_manager.h | 656 * @brief get to freeze status with specified pid list
658 * @param pidList Indicates the calling pid
683 DMError SetVirtualScreenSecurityExemption(ScreenId screenId, uint32_t pid, std::vector<uint64_t>& windowIdList);
|
/foundation/communication/ipc/ipc/native/src/mock/include/ |
H A D | binder_invoker.h | 246 bool GetDBinderCallingPidUid(int handle, bool isReply, pid_t &pid, uid_t &uid);
|
H A D | dbinder_base_invoker_define.h | 92 virtual void SetCallerPid(pid_t pid) = 0;
|