Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/util/
Devent.c65 pid_t *tgid, pid_t *ppid) in perf_event__get_comm_ids() argument
75 *ppid = -1; in perf_event__get_comm_ids()
126 *ppid = atoi(ppids); in perf_event__get_comm_ids()
136 pid_t *tgid, pid_t *ppid) in perf_event__prepare_comm() argument
140 *ppid = -1; in perf_event__prepare_comm()
147 tgid, ppid) != 0) { in perf_event__prepare_comm()
176 pid_t tgid, ppid; in perf_event__synthesize_comm() local
178 if (perf_event__prepare_comm(event, pid, machine, &tgid, &ppid) != 0) in perf_event__synthesize_comm()
189 pid_t pid, pid_t tgid, pid_t ppid, in perf_event__synthesize_fork() argument
201 event->fork.ppid = ppid; in perf_event__synthesize_fork()
[all …]
Dthread.c38 thread->ppid = -1; in thread__new()
221 thread->ppid = parent->tid; in thread__fork()
Dthread.h23 pid_t ppid; member
Devent.h44 u32 pid, ppid; member
Dpython.c115 member_def(fork_event, ppid, T_UINT, "event ppid"),
128 pevent->event.fork.ppid, in pyrf_task_event__repr()
Dbuild-id.c61 event->fork.ppid, event->fork.ptid); in perf_event__exit_del_thread()
Dmachine.c1396 event->fork.ppid, in machine__process_fork_event()
1409 if (parent->pid_ != (pid_t)event->fork.ppid) { in machine__process_fork_event()
1414 parent = machine__findnew_thread(machine, event->fork.ppid, in machine__process_fork_event()
Dsession.c420 event->fork.ppid = bswap_32(event->fork.ppid); in perf_event__task_swap()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dsriov.c75 struct netdev_phys_item_id *ppid) in efx_sriov_get_phys_port_id() argument
80 return efx->type->sriov_get_phys_port_id(efx, ppid); in efx_sriov_get_phys_port_id()
Dsriov.h27 struct netdev_phys_item_id *ppid);
Def10_sriov.h60 struct netdev_phys_item_id *ppid);
Def10_sriov.c735 struct netdev_phys_item_id *ppid) in efx_ef10_sriov_get_phys_port_id() argument
742 ppid->id_len = ETH_ALEN; in efx_ef10_sriov_get_phys_port_id()
743 memcpy(ppid->id, nic_data->port_id, ppid->id_len); in efx_ef10_sriov_get_phys_port_id()
Dnet_driver.h1345 struct netdev_phys_item_id *ppid);
/linux-4.4.14/Documentation/trace/postprocess/
Dtrace-pagealloc-postprocess.pl169 my $ppid;
180 $ppid = $1;
181 return guess_process_pid($ppid, read_statline($ppid));
/linux-4.4.14/fs/proc/
Darray.c150 pid_t ppid, tpid = 0, tgid, ngid; in task_state() local
154 ppid = pid_alive(p) ? in task_state()
182 tgid, ngid, pid_nr_ns(pid, ns), ppid, tpid, in task_state()
383 pid_t ppid = 0, pgid = -1, sid = -1; in do_task_stat() local
451 ppid = task_tgid_nr_ns(task->real_parent, ns); in do_task_stat()
475 seq_put_decimal_ll(m, ' ', ppid); in do_task_stat()
/linux-4.4.14/tools/testing/selftests/ptrace/
Dpeeksiginfo.c167 pid_t ppid = getppid(); in main() local
169 if (ppid != getppid()) in main()
/linux-4.4.14/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.4.14/drivers/spmi/
Dspmi-pmic-arb.c611 u16 ppid = spec->slave << 8 | spec->per; in search_mapping_table() local
619 if (ppid & (1 << SPMI_MAPPING_BIT_INDEX(data))) { in search_mapping_table()
712 u16 ppid = (sid << 8) | (addr >> 8); in pmic_arb_offset_v2() local
713 u8 chan = pa->ppid_to_chan[ppid]; in pmic_arb_offset_v2()
829 u16 ppid; in spmi_pmic_arb_probe() local
865 ppid = (regval >> 8) & 0xFFF; in spmi_pmic_arb_probe()
866 pa->ppid_to_chan[ppid] = chan; in spmi_pmic_arb_probe()
/linux-4.4.14/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.4.14/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()
986 if (cursor->ppid > p->ppid || in sort_pids()
987 (cursor->ppid == p->ppid && cursor->pid > p->pid)) { in sort_pids()
Dbuiltin-sched.c769 parent = machine__findnew_thread(machine, event->fork.ppid, in replay_fork_event()
/linux-4.4.14/include/net/sctp/
Dulpevent.h54 __u32 ppid; member
/linux-4.4.14/net/core/
Dnet-sysfs.c429 struct netdev_phys_item_id ppid; in phys_port_id_show() local
431 ret = dev_get_phys_port_id(netdev, &ppid); in phys_port_id_show()
433 ret = sprintf(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_port_id_show()
480 ret = sprintf(buf, "%*phN\n", attr.u.ppid.id_len, in phys_switch_id_show()
481 attr.u.ppid.id); in phys_switch_id_show()
Drtnetlink.c994 struct netdev_phys_item_id ppid; in rtnl_phys_port_id_fill() local
996 err = dev_get_phys_port_id(dev, &ppid); in rtnl_phys_port_id_fill()
1003 if (nla_put(skb, IFLA_PHYS_PORT_ID, ppid.id_len, ppid.id)) in rtnl_phys_port_id_fill()
1042 if (nla_put(skb, IFLA_PHYS_SWITCH_ID, attr.u.ppid.id_len, in rtnl_phys_switch_id_fill()
1043 attr.u.ppid.id)) in rtnl_phys_switch_id_fill()
Ddev.c6130 struct netdev_phys_item_id *ppid) in dev_get_phys_port_id() argument
6136 return ops->ndo_get_phys_port_id(dev, ppid); in dev_get_phys_port_id()
/linux-4.4.14/net/switchdev/
Dswitchdev.c1143 !netdev_phys_item_id_same(&prev_attr.u.ppid, &attr.u.ppid)) in switchdev_get_dev_by_nhs()
1284 return netdev_phys_item_id_same(&a_attr.u.ppid, &b_attr.u.ppid); in switchdev_port_same_parent_id()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c63 attr->u.ppid.id_len = sizeof(mlxsw_sp->base_mac); in mlxsw_sp_port_attr_get()
64 memcpy(&attr->u.ppid.id, &mlxsw_sp->base_mac, in mlxsw_sp_port_attr_get()
65 attr->u.ppid.id_len); in mlxsw_sp_port_attr_get()
Dswitchx2.c870 attr->u.ppid.id_len = sizeof(mlxsw_sx->hw_id); in mlxsw_sx_port_attr_get()
871 memcpy(&attr->u.ppid.id, &mlxsw_sx->hw_id, attr->u.ppid.id_len); in mlxsw_sx_port_attr_get()
/linux-4.4.14/include/net/
Dswitchdev.h56 struct netdev_phys_item_id ppid; /* PORT_PARENT_ID */ member
/linux-4.4.14/include/linux/
Dsctp.h226 __be32 ppid; member
Dnetdevice.h1210 struct netdev_phys_item_id *ppid);
3061 struct netdev_phys_item_id *ppid);
/linux-4.4.14/kernel/
Daudit.h137 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.4.14/net/dsa/
Dslave.c570 attr->u.ppid.id_len = sizeof(ds->index); in dsa_slave_port_attr_get()
571 memcpy(&attr->u.ppid.id, &ds->index, attr->u.ppid.id_len); in dsa_slave_port_attr_get()
/linux-4.4.14/Documentation/devicetree/bindings/crypto/
Dfsl-sec4.txt168 the ppid-to-liodn table that specifies the PPID to LIODN mapping.
289 the ppid-to-liodn table that specifies the PPID to LIODN
/linux-4.4.14/arch/ia64/include/asm/
Dpal.h1740 ppid :8, /* Physical processor ID */ member
1774 #define overview_ppid overview.overview_bits.ppid
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c463 struct netdev_phys_item_id *ppid) in qlcnic_get_phys_port_id() argument
471 ppid->id_len = sizeof(ahw->phys_port_id); in qlcnic_get_phys_port_id()
472 memcpy(ppid->id, ahw->phys_port_id, ppid->id_len); in qlcnic_get_phys_port_id()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2344 struct netdev_phys_item_id *ppid) in mlx4_en_get_phys_port_id() argument
2354 ppid->id_len = sizeof(phys_port_id); in mlx4_en_get_phys_port_id()
2356 ppid->id[i] = phys_port_id & 0xff; in mlx4_en_get_phys_port_id()
/linux-4.4.14/kernel/sched/
Dcore.c4904 int ppid; in sched_show_task() local
4925 ppid = 0; in sched_show_task()
4928 ppid = task_pid_nr(rcu_dereference(p->real_parent)); in sched_show_task()
4931 task_pid_nr(p), ppid, in sched_show_task()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_main.c5299 struct netdev_phys_item_id *ppid) in be_get_phys_port_id() argument
5308 ppid->id[0] = adapter->hba_port_num + 1; in be_get_phys_port_id()
5309 id = &ppid->id[1]; in be_get_phys_port_id()
5314 ppid->id_len = id_len; in be_get_phys_port_id()
/linux-4.4.14/drivers/net/ethernet/rocker/
Drocker.c4336 attr->u.ppid.id_len = sizeof(rocker->hw.id); in rocker_port_attr_get()
4337 memcpy(&attr->u.ppid.id, &rocker->hw.id, attr->u.ppid.id_len); in rocker_port_attr_get()
/linux-4.4.14/drivers/staging/lustre/
Dsysfs-fs-lustre242 Limit Lustre vfs operations gathering to just a single ppid.
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_main.c8375 struct netdev_phys_item_id *ppid) in i40e_get_phys_port_id() argument
8384 ppid->id_len = min_t(int, sizeof(hw->mac.port_addr), sizeof(ppid->id)); in i40e_get_phys_port_id()
8385 memcpy(ppid->id, hw->mac.port_addr, ppid->id_len); in i40e_get_phys_port_id()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12795 struct netdev_phys_item_id *ppid) in bnx2x_get_phys_port_id() argument
12802 ppid->id_len = sizeof(bp->phys_port_id); in bnx2x_get_phys_port_id()
12803 memcpy(ppid->id, bp->phys_port_id, ppid->id_len); in bnx2x_get_phys_port_id()
/linux-4.4.14/kernel/events/
Dcore.c5734 u32 ppid; member
5768 task_event->event_id.ppid = perf_event_pid(event, current); in perf_event_task_output()
/linux-4.4.14/Documentation/filesystems/
Dproc.txt285 ppid process id of the parent process