Home
last modified time | relevance | path

Searched refs:ppid (Results 1 – 34 of 34) sorted by relevance

/linux-4.1.27/tools/perf/util/
Devent.c57 pid_t *tgid, pid_t *ppid) in perf_event__get_comm_ids() argument
66 *ppid = -1; in perf_event__get_comm_ids()
117 *ppid = atoi(ppids); in perf_event__get_comm_ids()
127 pid_t *tgid, pid_t *ppid) in perf_event__prepare_comm() argument
131 *ppid = -1; in perf_event__prepare_comm()
138 tgid, ppid) != 0) { in perf_event__prepare_comm()
167 pid_t tgid, ppid; in perf_event__synthesize_comm() local
169 if (perf_event__prepare_comm(event, pid, machine, &tgid, &ppid) != 0) in perf_event__synthesize_comm()
180 pid_t pid, pid_t tgid, pid_t ppid, in perf_event__synthesize_fork() argument
192 event->fork.ppid = ppid; in perf_event__synthesize_fork()
[all …]
Dthread.c38 thread->ppid = -1; in thread__new()
211 thread->ppid = parent->tid; in thread__fork()
Dthread.h22 pid_t ppid; member
Devent.h44 u32 pid, ppid; member
Dpython.c114 member_def(fork_event, ppid, T_UINT, "event ppid"),
127 pevent->event.fork.ppid, in pyrf_task_event__repr()
Dbuild-id.c60 event->fork.ppid, event->fork.ptid); in perf_event__exit_del_thread()
Dsession.c372 event->fork.ppid = bswap_32(event->fork.ppid); in perf_event__task_swap()
Dmachine.c1279 event->fork.ppid, in machine__process_fork_event()
/linux-4.1.27/Documentation/trace/postprocess/
Dtrace-pagealloc-postprocess.pl169 my $ppid;
180 $ppid = $1;
181 return guess_process_pid($ppid, read_statline($ppid));
/linux-4.1.27/fs/proc/
Darray.c142 pid_t ppid, tpid = 0, tgid, ngid; in task_state() local
146 ppid = pid_alive(p) ? in task_state()
174 tgid, ngid, pid_nr_ns(pid, ns), ppid, tpid, in task_state()
372 pid_t ppid = 0, pgid = -1, sid = -1; in do_task_stat() local
440 ppid = task_tgid_nr_ns(task->real_parent, ns); in do_task_stat()
464 seq_put_decimal_ll(m, ' ', ppid); in do_task_stat()
/linux-4.1.27/tools/testing/selftests/ptrace/
Dpeeksiginfo.c167 pid_t ppid = getppid(); in main() local
169 if (ppid != getppid()) in main()
/linux-4.1.27/net/sctp/
Dulpevent.c706 event->ppid = chunk->subh.data_hdr->ppid; in sctp_ulpevent_make_rcvmsg()
875 sinfo.sinfo_ppid = event->ppid; in sctp_ulpevent_read_sndrcvinfo()
903 rinfo.rcv_ppid = event->ppid; in sctp_ulpevent_read_rcvinfo()
925 nxtinfo.nxt_ppid = event->ppid; in __sctp_ulpevent_read_nxtinfo()
Dsm_make_chunk.c727 dp.ppid = sinfo->sinfo_ppid; in sctp_make_datafrag_empty()
/linux-4.1.27/drivers/spmi/
Dspmi-pmic-arb.c599 u16 ppid = spec->slave << 8 | spec->per; in search_mapping_table() local
607 if (ppid & (1 << SPMI_MAPPING_BIT_INDEX(data))) { in search_mapping_table()
700 u16 ppid = (sid << 8) | (addr >> 8); in pmic_arb_offset_v2() local
701 u8 chan = pa->ppid_to_chan[ppid]; in pmic_arb_offset_v2()
817 u16 ppid; in spmi_pmic_arb_probe() local
853 ppid = (regval >> 8) & 0xFFF; in spmi_pmic_arb_probe()
854 pa->ppid_to_chan[ppid] = chan; in spmi_pmic_arb_probe()
/linux-4.1.27/arch/um/os-Linux/
Dstart_up.c32 int pid = os_getpid(), ppid = getppid(); in ptrace_child() local
51 else if (sc_result == ppid) in ptrace_child()
/linux-4.1.27/net/core/
Dnet-sysfs.c417 struct netdev_phys_item_id ppid; in phys_port_id_show() local
419 ret = dev_get_phys_port_id(netdev, &ppid); in phys_port_id_show()
421 ret = sprintf(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_port_id_show()
461 struct netdev_phys_item_id ppid; in phys_switch_id_show() local
463 ret = netdev_switch_parent_id_get(netdev, &ppid); in phys_switch_id_show()
465 ret = sprintf(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_switch_id_show()
Drtnetlink.c971 struct netdev_phys_item_id ppid; in rtnl_phys_port_id_fill() local
973 err = dev_get_phys_port_id(dev, &ppid); in rtnl_phys_port_id_fill()
980 if (nla_put(skb, IFLA_PHYS_PORT_ID, ppid.id_len, ppid.id)) in rtnl_phys_port_id_fill()
Ddev.c5942 struct netdev_phys_item_id *ppid) in dev_get_phys_port_id() argument
5948 return ops->ndo_get_phys_port_id(dev, ppid); in dev_get_phys_port_id()
/linux-4.1.27/tools/perf/
Dbuiltin-timechart.c91 int ppid; member
240 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork() argument
244 pp = find_create_pid(tchart, ppid); in pid_fork()
245 p->ppid = ppid; in pid_fork()
327 pid_fork(tchart, event->fork.pid, event->fork.ppid, event->fork.time); in process_fork_event()
985 if (cursor->ppid > p->ppid || in sort_pids()
986 (cursor->ppid == p->ppid && cursor->pid > p->pid)) { in sort_pids()
Dbuiltin-sched.c767 parent = machine__findnew_thread(machine, event->fork.ppid, in replay_fork_event()
/linux-4.1.27/include/net/sctp/
Dulpevent.h54 __u32 ppid; member
/linux-4.1.27/kernel/
Daudit.h136 pid_t pid, ppid; member
Dauditsc.c464 if (!ctx->ppid) in audit_filter_rules()
465 ctx->ppid = task_ppid_nr(tsk); in audit_filter_rules()
466 result = audit_comparator(ctx->ppid, f->op, f->val); in audit_filter_rules()
1529 context->ppid = 0; in __audit_syscall_entry()
/linux-4.1.27/include/linux/
Dsctp.h226 __be32 ppid; member
Dnetdevice.h1184 struct netdev_phys_item_id *ppid);
2979 struct netdev_phys_item_id *ppid);
/linux-4.1.27/Documentation/devicetree/bindings/crypto/
Dfsl-sec4.txt151 the ppid-to-liodn table that specifies the PPID to LIODN mapping.
272 the ppid-to-liodn table that specifies the PPID to LIODN
/linux-4.1.27/arch/ia64/include/asm/
Dpal.h1740 ppid :8, /* Physical processor ID */ member
1774 #define overview_ppid overview.overview_bits.ppid
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c462 struct netdev_phys_item_id *ppid) in qlcnic_get_phys_port_id() argument
470 ppid->id_len = sizeof(ahw->phys_port_id); in qlcnic_get_phys_port_id()
471 memcpy(ppid->id, ahw->phys_port_id, ppid->id_len); in qlcnic_get_phys_port_id()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2293 struct netdev_phys_item_id *ppid) in mlx4_en_get_phys_port_id() argument
2303 ppid->id_len = sizeof(phys_port_id); in mlx4_en_get_phys_port_id()
2305 ppid->id[i] = phys_port_id & 0xff; in mlx4_en_get_phys_port_id()
/linux-4.1.27/kernel/sched/
Dcore.c4521 int ppid; in sched_show_task() local
4542 ppid = 0; in sched_show_task()
4545 ppid = task_pid_nr(rcu_dereference(p->real_parent)); in sched_show_task()
4548 task_pid_nr(p), ppid, in sched_show_task()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_main.c7915 struct netdev_phys_item_id *ppid) in i40e_get_phys_port_id() argument
7924 ppid->id_len = min_t(int, sizeof(hw->mac.port_addr), sizeof(ppid->id)); in i40e_get_phys_port_id()
7925 memcpy(ppid->id, hw->mac.port_addr, ppid->id_len); in i40e_get_phys_port_id()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12557 struct netdev_phys_item_id *ppid) in bnx2x_get_phys_port_id() argument
12564 ppid->id_len = sizeof(bp->phys_port_id); in bnx2x_get_phys_port_id()
12565 memcpy(ppid->id, bp->phys_port_id, ppid->id_len); in bnx2x_get_phys_port_id()
/linux-4.1.27/kernel/events/
Dcore.c5549 u32 ppid; member
5583 task_event->event_id.ppid = perf_event_pid(event, current); in perf_event_task_output()
/linux-4.1.27/Documentation/filesystems/
Dproc.txt282 ppid process id of the parent process