/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | cs-etm.c | 71 pid_t pid, tid; member 245 tidq->pid = -1; in cs_etm__init_traceid_queue() 1080 tidq->pid = tidq->thread->pid_; in cs_etm__set_pid_tid_cpu() 1156 sample.pid = tidq->pid; in cs_etm__synth_instruction_sample() 1212 sample.pid = tidq->pid; in cs_etm__synth_branch_sample() 2285 * Add the tid/pid to the log so that we can get a match when in cs_etm__process_itrace_start() 2289 event->itrace_start.pid, in cs_etm__process_itrace_start() 2321 * Add the tid/pid t in cs_etm__process_switch_cpu_wide() [all...] |
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | solos-pci.c | 135 pid_t pid; member 202 "L%05d\n%s\n", current->pid, attr->attr.name); in solos_param_show() 210 prm.pid = current->pid; in solos_param_show() 258 "L%05d\n%s\n%s\n", current->pid, attr->attr.name, buf); in solos_param_store() 266 prm.pid = current->pid; in solos_param_store() 432 if (prm->port == port && prm->pid == cmdpid) { in process_command()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_process.c | 502 /* Create proc/<pid>/queues/<queue id> folder */ in kfd_procfs_add_queue() 508 pr_warn("Creating proc/<pid>/queues/%u failed", in kfd_procfs_add_queue() 545 * - proc/<pid>/stats_<gpuid>/ in kfd_procfs_add_sysfs_stats() 546 * - proc/<pid>/stats_<gpuid>/evicted_ms in kfd_procfs_add_sysfs_stats() 547 * - proc/<pid>/stats_<gpuid>/cu_occupancy in kfd_procfs_add_sysfs_stats() 592 * - proc/<pid>/counters_<gpuid>/ in kfd_procfs_add_sysfs_counters() 593 * - proc/<pid>/counters_<gpuid>/faults in kfd_procfs_add_sysfs_counters() 594 * - proc/<pid>/counters_<gpuid>/page_in in kfd_procfs_add_sysfs_counters() 595 * - proc/<pid>/counters_<gpuid>/page_out in kfd_procfs_add_sysfs_counters() 635 * - proc/<pid>/vram in kfd_procfs_add_sysfs_files() 926 kfd_lookup_process_by_pid(struct pid *pid) kfd_lookup_process_by_pid() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_iter.c | 267 linfo.task.pid = getpid(); in test_task_tid() 281 linfo.task.pid = getpid(); in test_task_pid() 1179 * socket local storage, the test verifies that the resulting value is -pid. 1412 skel->bss->pid = getpid(); in test_task_vma_common() 1447 /* read CMP_BUFFER_SIZE (1kB) from /proc/pid/maps */ in test_task_vma_common() 1448 snprintf(maps_path, 64, "/proc/%u/maps", skel->bss->pid); in test_task_vma_common() 1482 skel->bss->pid = getpid(); in test_task_vma_dead_task() 1586 skel->bss->pid = getpid(); in test_task_vma_offset_common() 1623 linfo.task.pid = getpid(); in test_task_vma_offset() 1629 linfo.task.pid in test_task_vma_offset() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 1429 int wstatus, pid; in server_main() local 1431 pid = waitpid(env.worker_pids[i], &wstatus, 0); in server_main() 1432 if (pid != env.worker_pids[i]) in server_main() 1699 pid_t pid; in main() local 1705 pid = fork(); in main() 1706 if (pid < 0) { in main() 1709 } else if (pid != 0) { /* main process */ in main() 1711 env.worker_pids[i] = pid; in main()
|
/kernel/liteos_a/syscall/ |
H A D | fs_syscall.c | 315 static unsigned int ProcRealProcessIDGet(unsigned int pid) in ProcRealProcessIDGet() argument 318 if (OS_PID_CHECK_INVALID(pid)) { in ProcRealProcessIDGet() 323 LosProcessCB *pcb = OsGetPCBFromVpid(pid); in ProcRealProcessIDGet() 331 if ((rootPid == OS_INVALID_VALUE) || (rootPid == pid)) { in ProcRealProcessIDGet() 343 int pid, rootPid; in ProcRealProcessDirGet() local 372 pid = atoi(pidBuf); in ProcRealProcessDirGet() 373 if (pid == 0) { in ProcRealProcessDirGet() 378 rootPid = ProcRealProcessIDGet((unsigned)pid); in ProcRealProcessDirGet()
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
H A D | device.py | 832 for index, pid in enumerate(proc_pids): 837 if pid != "": 840 self._dump_pid_info(pid, name) 841 cmd = 'kill -9 {}'.format(pid) 862 def _dump_pid_info(self, pid, name): 867 file_path = os.path.join(path, "{}_pid_info_{}.txt".format(name, pid)) 869 ret = self.execute_shell_command("dumpcatcher -p {}".format(pid)) 873 LOG.error("Dump {} pid info fail. Error: {}".format(pid, e)) 913 self.log.debug('is_proc_running: agent pid [all...] |
/third_party/libuv/src/unix/ |
H A D | core.c | 1558 int uv_os_getpriority(uv_pid_t pid, int* priority) { in uv_os_getpriority() argument 1565 r = getpriority(PRIO_PROCESS, (int) pid); in uv_os_getpriority() 1575 int uv_os_setpriority(uv_pid_t pid, int priority) { in uv_os_setpriority() argument 1579 if (setpriority(PRIO_PROCESS, (int) pid, priority) != 0) in uv_os_setpriority() 1596 pid_t pid = gettid(); in uv_thread_getpriority() local 1609 r = getpriority(PRIO_PROCESS, pid); in uv_thread_getpriority() 1629 pid_t pid = gettid(); in set_nice_for_calling_thread() 1631 r = setpriority(PRIO_PROCESS, pid, nice); in set_nice_for_calling_thread()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/ |
H A D | mod.rs | 1471 pub fn clock_getcpuclockid(pid: ::pid_t, clk_id: *mut ::clockid_t) -> ::c_int; in clock_getcpuclockid() 1629 pub fn ptrace(request: ::c_int, pid: ::pid_t, addr: *mut ::c_char, data: ::c_int) -> ::c_int; in ptrace() 1635 pub fn rtprio(function: ::c_int, pid: ::pid_t, rtp: *mut rtprio) -> ::c_int; in rtprio() 1636 pub fn sched_rr_get_interval(pid: ::pid_t, t: *mut ::timespec) -> ::c_int; in sched_rr_get_interval() 1637 pub fn sched_getparam(pid: ::pid_t, param: *mut sched_param) -> ::c_int; in sched_getparam() 1638 pub fn sched_setparam(pid: ::pid_t, param: *const sched_param) -> ::c_int; in sched_setparam() 1639 pub fn sched_getscheduler(pid: ::pid_t) -> ::c_int; in sched_getscheduler() 1641 pid: ::pid_t, in sched_setscheduler()
|
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/ |
H A D | av7110.c | 320 dvbdmxfilter->feed->pid, in DvbDmxFilterCallback() 803 buf[2] = dvbdmxfeed->pid; in StartHWFilter() 850 printk(KERN_ERR "dvb-ttpci: %s error cmd %04x %04x %04x ret %x resp %04x %04x pid %d\n", in StopHWFilter() 852 answ[0], answ[1], dvbdmxfilter->feed->pid); in StopHWFilter() 864 u16 *pid = dvbdmx->pids, npids[5]; in dvb_feed_start_pid() local 872 npids[i] = (pid[i]&0x8000) ? 0 : pid[i]; in dvb_feed_start_pid() 907 u16 *pid = dvbdmx->pids, npids[5]; in dvb_feed_stop_pid() local 936 npids[i] = (pid[i]&0x8000) ? 0 : pid[ in dvb_feed_stop_pid() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mac.c | 529 struct ieee80211_sta *sta, int pid, in mt7615_mac_write_txwi() 645 val = MT_TXD5_TX_STATUS_HOST | FIELD_PREP(MT_TXD5_PID, pid); in mt7615_mac_write_txwi() 1322 struct mt7615_sta *sta, int pid, in mt7615_mac_add_txs_skb() 1329 if (pid < MT_PACKET_ID_FIRST) in mt7615_mac_add_txs_skb() 1332 trace_mac_txdone(mdev, sta->wcid.idx, pid); in mt7615_mac_add_txs_skb() 1335 skb = mt76_tx_status_skb_get(mdev, &sta->wcid, pid, &list); in mt7615_mac_add_txs_skb() 1361 u8 pid; in mt7615_mac_add_txs() local 1364 pid = FIELD_GET(MT_TXS0_PID, txs); in mt7615_mac_add_txs() 1368 if (pid == MT_PACKET_ID_NO_ACK) in mt7615_mac_add_txs() 1388 if (mt7615_mac_add_txs_skb(dev, msta, pid, txs_dat in mt7615_mac_add_txs() 527 mt7615_mac_write_txwi(struct mt7615_dev *dev, __le32 *txwi, struct sk_buff *skb, struct mt76_wcid *wcid, struct ieee80211_sta *sta, int pid, struct ieee80211_key_conf *key, bool beacon) mt7615_mac_write_txwi() argument 1321 mt7615_mac_add_txs_skb(struct mt7615_dev *dev, struct mt7615_sta *sta, int pid, __le32 *txs_data) mt7615_mac_add_txs_skb() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/octeon-usb/ |
H A D | octeon-hcd.c | 311 * the data pid needed 1371 usbc_hctsiz.s.pid = 3; /* Setup */ in cvmx_usb_start_channel_control() 1386 usbc_hctsiz.s.pid = 3; /* Setup */ in cvmx_usb_start_channel_control() 1397 usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); in cvmx_usb_start_channel_control() 1411 usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); in cvmx_usb_start_channel_control() 1423 usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); in cvmx_usb_start_channel_control() 1432 usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); in cvmx_usb_start_channel_control() 1731 usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); in cvmx_usb_start_channel() 1803 cvmx_usbcx_hctsizx, pid, 0); in cvmx_usb_start_channel() 1808 cvmx_usbcx_hctsizx, pid, in cvmx_usb_start_channel() [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/av7110/ |
H A D | av7110.c | 320 dvbdmxfilter->feed->pid, in DvbDmxFilterCallback() 803 buf[2] = dvbdmxfeed->pid; in StartHWFilter() 850 printk(KERN_ERR "dvb-ttpci: %s error cmd %04x %04x %04x ret %x resp %04x %04x pid %d\n", in StopHWFilter() 852 answ[0], answ[1], dvbdmxfilter->feed->pid); in StopHWFilter() 864 u16 *pid = dvbdmx->pids, npids[5]; in dvb_feed_start_pid() local 872 npids[i] = (pid[i]&0x8000) ? 0 : pid[i]; in dvb_feed_start_pid() 907 u16 *pid = dvbdmx->pids, npids[5]; in dvb_feed_stop_pid() local 936 npids[i] = (pid[i]&0x8000) ? 0 : pid[ in dvb_feed_stop_pid() [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | octeon-hcd.c | 313 * the data pid needed 1373 usbc_hctsiz.s.pid = 3; /* Setup */ in cvmx_usb_start_channel_control() 1388 usbc_hctsiz.s.pid = 3; /* Setup */ in cvmx_usb_start_channel_control() 1399 usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); in cvmx_usb_start_channel_control() 1413 usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); in cvmx_usb_start_channel_control() 1425 usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); in cvmx_usb_start_channel_control() 1434 usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); in cvmx_usb_start_channel_control() 1733 usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); in cvmx_usb_start_channel() 1805 cvmx_usbcx_hctsizx, pid, 0); in cvmx_usb_start_channel() 1810 cvmx_usbcx_hctsizx, pid, in cvmx_usb_start_channel() [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | f2fs.h | 2217 pid_t pid, char *pathname, char *command), 2219 TP_ARGS(inode, offset, bytes, pid, pathname, command), 2227 __field(pid_t, pid) 2244 __entry->pid = pid; 2249 " pid %d, i_size %llu, ino %lu", 2251 __get_str(cmdline), __entry->pid, __entry->i_size, 2281 pid_t pid, char *pathname, char *command), 2283 TP_ARGS(inode, offset, bytes, pid, pathname, command) 2296 pid_t pid, cha [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mac.c | 718 struct ieee80211_sta *sta, int pid, in mt7615_mac_write_txwi() 835 val = MT_TXD5_TX_STATUS_HOST | FIELD_PREP(MT_TXD5_PID, pid); in mt7615_mac_write_txwi() 1460 struct mt7615_sta *sta, int pid, in mt7615_mac_add_txs_skb() 1467 if (pid < MT_PACKET_ID_FIRST) in mt7615_mac_add_txs_skb() 1470 trace_mac_txdone(mdev, sta->wcid.idx, pid); in mt7615_mac_add_txs_skb() 1473 skb = mt76_tx_status_skb_get(mdev, &sta->wcid, pid, &list); in mt7615_mac_add_txs_skb() 1498 u8 pid; in mt7615_mac_add_txs() local 1500 pid = le32_get_bits(txs_data[0], MT_TXS0_PID); in mt7615_mac_add_txs() 1503 if (pid == MT_PACKET_ID_NO_ACK) in mt7615_mac_add_txs() 1523 if (mt7615_mac_add_txs_skb(dev, msta, pid, txs_dat in mt7615_mac_add_txs() 716 mt7615_mac_write_txwi(struct mt7615_dev *dev, __le32 *txwi, struct sk_buff *skb, struct mt76_wcid *wcid, struct ieee80211_sta *sta, int pid, struct ieee80211_key_conf *key, enum mt76_txq_id qid, bool beacon) mt7615_mac_write_txwi() argument 1459 mt7615_mac_add_txs_skb(struct mt7615_dev *dev, struct mt7615_sta *sta, int pid, __le32 *txs_data) mt7615_mac_add_txs_skb() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mac.c | 724 struct sk_buff *skb, struct mt76_wcid *wcid, int pid, in mt7915_mac_write_txwi() 735 mt76_connac2_mac_write_txwi(dev, txwi, skb, wcid, key, pid, qid, changed); in mt7915_mac_write_txwi() 755 int pid; in mt7915_tx_prepare_skb() local 781 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt7915_tx_prepare_skb() 782 mt7915_mac_write_txwi(mdev, txwi_ptr, tx_info->skb, wcid, pid, key, in mt7915_tx_prepare_skb() 1009 u8 pid; in mt7915_mac_add_txs() local 1012 pid = le32_get_bits(txs_data[3], MT_TXS3_PID); in mt7915_mac_add_txs() 1014 if (pid < MT_PACKET_ID_WED) in mt7915_mac_add_txs() 1028 if (pid == MT_PACKET_ID_WED) in mt7915_mac_add_txs() 1031 mt76_connac2_mac_add_txs_skb(&dev->mt76, wcid, pid, txs_dat in mt7915_mac_add_txs() 723 mt7915_mac_write_txwi(struct mt76_dev *dev, __le32 *txwi, struct sk_buff *skb, struct mt76_wcid *wcid, int pid, struct ieee80211_key_conf *key, enum mt76_txq_id qid, u32 changed) mt7915_mac_write_txwi() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-trace.c | 908 #include "trace/beauty/pid.c" 1469 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size) in pid__scnprintf_fd() argument 1472 struct thread *thread = machine__find_thread(trace->host, pid, pid); in pid__scnprintf_fd() 2288 sample->pid, sample->tid, sample->cpu); 2345 thread = machine__findnew_thread(trace->host, sample->pid, sample->tid); 2421 thread = machine__findnew_thread(trace->host, sample->pid, sample->tid); 2494 thread = machine__findnew_thread(trace->host, sample->pid, sample->tid); 2618 struct thread *thread = machine__findnew_thread(trace->host, sample->pid, sample->tid); 2682 sample->pid, 3050 pid_t pid = getpid(); global() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | signal_32.c | 842 tsk->comm, tsk->pid, in handle_rt_signal32() 1099 current->comm, current->pid, in COMPAT_SYSCALL_DEFINE0() 1188 current->comm, current->pid, in SYSCALL_DEFINE3() 1294 tsk->comm, tsk->pid, in handle_signal32() 1370 current->comm, current->pid, in COMPAT_SYSCALL_DEFINE0()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | af9013.c | 1181 static int af9013_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, in af9013_pid_filter() argument 1189 dev_dbg(&client->dev, "index %d, pid %04x, onoff %d\n", in af9013_pid_filter() 1190 index, pid, onoff); in af9013_pid_filter() 1192 if (pid > 0x1fff) { in af9013_pid_filter() 1193 /* 0x2000 is kernel virtual pid for whole ts (all pids) */ in af9013_pid_filter() 1198 buf[0] = (pid >> 0) & 0xff; in af9013_pid_filter() 1199 buf[1] = (pid >> 8) & 0xff; in af9013_pid_filter()
|
H A D | af9033.c | 980 static int af9033_pid_filter(struct dvb_frontend *fe, int index, u16 pid, in af9033_pid_filter() argument 986 u8 wbuf[2] = {(pid >> 0) & 0xff, (pid >> 8) & 0xff}; in af9033_pid_filter() 988 dev_dbg(&client->dev, "index=%d pid=%04x onoff=%d\n", in af9033_pid_filter() 989 index, pid, onoff); in af9033_pid_filter() 991 if (pid > 0x1fff) in af9033_pid_filter()
|
H A D | rtl2832.c | 973 static int rtl2832_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, in rtl2832_pid_filter() argument 981 dev_dbg(&client->dev, "index=%d pid=%04x onoff=%d slave_ts=%d\n", in rtl2832_pid_filter() 982 index, pid, onoff, dev->slave_ts); in rtl2832_pid_filter() 985 if (pid > 0x1fff || index > 32) in rtl2832_pid_filter() 1007 buf[0] = (pid >> 8) & 0xff; in rtl2832_pid_filter() 1008 buf[1] = (pid >> 0) & 0xff; in rtl2832_pid_filter()
|
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
H A D | zcrypt_msgtype6.c | 1032 ap_msg->psmid = (((unsigned long long) current->pid) << 32) + in zcrypt_msgtype6_modexpo() 1079 ap_msg->psmid = (((unsigned long long) current->pid) << 32) + in zcrypt_msgtype6_modexpo_crt() 1126 ap_msg->psmid = (((unsigned long long) current->pid) << 32) + in get_cprb_fc() 1183 ap_msg->psmid = (((unsigned long long) current->pid) << 32) + in get_ep11cprb_fc() 1279 ap_msg->psmid = (((unsigned long long) current->pid) << 32) + in get_rng_fc()
|
/kernel/linux/linux-5.10/drivers/tty/vt/ |
H A D | keyboard.c | 103 .pid = NULL, 604 if (vt_spawn_con.pid) in fn_spawn_con() 605 if (kill_pid(vt_spawn_con.pid, vt_spawn_con.sig, 1)) { in fn_spawn_con() 606 put_pid(vt_spawn_con.pid); in fn_spawn_con() 607 vt_spawn_con.pid = NULL; in fn_spawn_con()
|
/kernel/linux/linux-5.10/net/l2tp/ |
H A D | l2tp_ppp.c | 117 int owner; /* pid that opened the socket */ 551 ps->owner = current->pid; in pppol2tp_session_init() 937 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname() 955 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname() 973 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname() 992 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname()
|