Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Ddevlink_port.c13 ppid->id_len = sizeof(parent_id); in mlx5_esw_get_port_parent_id()
14 memcpy(ppid->id, &parent_id, sizeof(parent_id)); in mlx5_esw_get_port_parent_id()
29 struct netdev_phys_item_id ppid = {}; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() local
34 mlx5_esw_get_port_parent_id(dev, &ppid); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set()
41 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set()
42 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set()
45 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set()
50 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set()
108 struct netdev_phys_item_id ppid = {}; in mlx5_esw_offloads_sf_devlink_port_attrs_set() local
112 mlx5_esw_get_port_parent_id(dev, &ppid); in mlx5_esw_offloads_sf_devlink_port_attrs_set()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Ddevlink.c33 mlx5e_devlink_get_port_parent_id(struct mlx5_core_dev *dev, struct netdev_phys_item_id *ppid) in mlx5e_devlink_get_port_parent_id() argument
38 ppid->id_len = sizeof(parent_id); in mlx5e_devlink_get_port_parent_id()
39 memcpy(ppid->id, &parent_id, sizeof(parent_id)); in mlx5e_devlink_get_port_parent_id()
47 struct netdev_phys_item_id ppid = {}; in mlx5e_devlink_port_register() local
54 mlx5e_devlink_get_port_parent_id(mdev, &ppid); in mlx5e_devlink_port_register()
55 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5e_devlink_port_register()
56 attrs.switch_id.id_len = ppid.id_len; in mlx5e_devlink_port_register()
/openbmc/linux/drivers/spmi/
H A Dspmi-pmic-arb.c123 u16 ppid; member
608 u16 ppid = pmic_arb->apid_data[apid].ppid; in cleanup_irq() local
609 u8 sid = ppid >> 8; in cleanup_irq()
865 u16 apid, ppid; in qpnpint_irq_domain_translate() local
973 pmic_arb->apid_data[apid].ppid = ppid; in pmic_arb_ppid_to_apid_v1()
983 pmic_arb->apid_data[apid].ppid = ppid; in pmic_arb_ppid_to_apid_v1()
1021 apidd->ppid = id; in pmic_arb_find_apid()
1022 if (id == ppid) { in pmic_arb_find_apid()
1103 apidd->ppid = ppid; in pmic_arb_read_apid_map_v5()
1109 for (ppid = 0; ppid < PMIC_ARB_MAX_PPID; ppid++) { in pmic_arb_read_apid_map_v5()
[all …]
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_kill.c48 int ppid = getppid(); in child_fn() local
50 while (getppid() == ppid) in child_fn()
53 return getppid() == ppid; in child_fn()
206 int ppid; in forkbomb_fn() local
211 ppid = getppid(); in forkbomb_fn()
213 while (getppid() == ppid) in forkbomb_fn()
216 return getppid() == ppid; in forkbomb_fn()
H A Dtest_freezer.c123 int ppid = getppid(); in child_fn() local
125 while (getppid() == ppid) in child_fn()
128 return getppid() == ppid; in child_fn()
342 int ppid; in forkbomb_fn() local
347 ppid = getppid(); in forkbomb_fn()
349 while (getppid() == ppid) in forkbomb_fn()
352 return getppid() == ppid; in forkbomb_fn()
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/
H A Dsamples.py128 def __init__(self, writer, pid, cmd, ppid, start_time): argument
134 self.ppid = ppid
150 def split(self, writer, pid, cmd, ppid, start_time): argument
151 split = Process (writer, pid, cmd, ppid, start_time)
160 …return " ".join([str(self.pid), self.cmd, str(self.ppid), '[ ' + str(len(self.samples)) + ' sample…
184 if self.ppid != None:
185 self.parent = processMap.get (self.ppid)
187 not (self.ppid == 2000 or self.pid == 2000): # kernel threads: ppid=2
189 % (self.pid,self.cmd,self.ppid))
H A Dparsing.py137 if ppid:
143 ppid = find_parent_id_for (ppid)
149 return ppid
166 if ppid:
167 process.ppid = ppid * 1000
314 ppid *= 1000
368 ppid *= 1000
642 ppid = kernel.pid
649 processMap[func] = Process(writer, ppid + idx, name, ppid, time_ms / 10)
684 ppid = _read_le_int32 (file)
[all …]
H A Dprocess_tree.py142 if p.cmd == "rc" and p.ppid // 1000 == 1:
148 if p.pid > rcstartpid and p.pid < rcendpid and p.ppid // 1000 == 1:
149 p.ppid = rcstartpid
/openbmc/linux/tools/testing/selftests/powerpc/signal/
H A Dsignal.c40 pid_t ppid = getpid(); in test_signal() local
63 signal_self(ppid, SIGUSR1); in test_signal()
85 rc = signal_self(ppid, SIGUSR1); in test_signal()
/openbmc/linux/tools/testing/selftests/mm/
H A Dmemfd_secret.c112 pid_t ppid = getppid(); in try_ptrace() local
122 ret = ptrace(PTRACE_ATTACH, ppid, 0, 0); in try_ptrace()
128 ret = waitpid(ppid, &status, WUNTRACED); in try_ptrace()
129 if ((ret != ppid) || !(WIFSTOPPED(status))) { in try_ptrace()
135 if (ptrace(PTRACE_PEEKDATA, ppid, mem, 0)) in try_ptrace()
H A Dmrelease_test.c22 int ppid = getppid(); in alloc_noexit() local
44 while (getppid() == ppid && timeout > 0) { in alloc_noexit()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_port.c34 struct netdev_phys_item_id *ppid) in nfp_port_get_port_parent_id() argument
43 ppid->id_len = nfp_cpp_serial(port->app->cpp, &serial); in nfp_port_get_port_parent_id()
44 memcpy(&ppid->id, serial, ppid->id_len); in nfp_port_get_port_parent_id()
/openbmc/linux/tools/perf/util/
H A Dthread.h45 pid_t ppid; in DECLARE_RC_STRUCT() local
168 return RC_CHK_ACCESS(thread)->ppid; in thread__ppid()
171 static inline void thread__set_ppid(struct thread *thread, pid_t ppid) in thread__set_ppid() argument
173 RC_CHK_ACCESS(thread)->ppid = ppid; in thread__set_ppid()
/openbmc/linux/net/bridge/
H A Dbr_switchdev.c209 if (netdev_phys_item_id_same(&joining->ppid, &p->ppid)) { in nbp_switchdev_hwdom_set()
239 struct netdev_phys_item_id ppid, in nbp_switchdev_add() argument
250 if (!netdev_phys_item_id_same(&p->ppid, &ppid)) { in nbp_switchdev_add()
265 p->ppid = ppid; in nbp_switchdev_add()
829 struct netdev_phys_item_id ppid; in br_switchdev_port_offload() local
832 err = dev_get_port_parent_id(dev, &ppid, false); in br_switchdev_port_offload()
836 err = nbp_switchdev_add(p, ppid, tx_fwd_offload, extack); in br_switchdev_port_offload()
/openbmc/linux/Documentation/trace/postprocess/
H A Dtrace-pagealloc-postprocess.pl169 my $ppid;
180 $ppid = $1;
181 return guess_process_pid($ppid, read_statline($ppid));
/openbmc/linux/tools/testing/selftests/resctrl/
H A Dresctrl.h42 kill(ppid, SIGKILL); \
74 extern pid_t bm_pid, ppid;
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_netdev.c202 struct netdev_phys_item_id *ppid) in sparx5_get_port_parent_id() argument
207 ppid->id_len = sizeof(sparx5->base_mac); in sparx5_get_port_parent_id()
208 memcpy(&ppid->id, &sparx5->base_mac, ppid->id_len); in sparx5_get_port_parent_id()
/openbmc/openbmc/poky/meta/recipes-devtools/pkgconf/pkgconf/
H A Dpkg-config-esdk.in12 parentpid=`ps -o ppid= -p $$`
/openbmc/openbmc/poky/meta/recipes-devtools/pkgconfig/pkgconfig/
H A Dpkg-config-esdk.in12 parentpid=`ps -o ppid= -p $$`
/openbmc/linux/tools/testing/selftests/uevent/
H A Duevent_filtering.c221 pid_t ppid; in set_death_signal() local
226 ppid = getppid(); in set_death_signal()
227 if (ppid == 1) { in set_death_signal()
/openbmc/linux/tools/perf/tests/shell/
H A Dtest_intel_pt.sh263 ppid=$!
264 echo "perf PID is $ppid"
265 wait_for_perf_to_start ${ppid} "${errfile}" || return 1
269 is_running ${ppid} || return 1
273 wait_for_process_to_exit ${ppid} || return 1
/openbmc/linux/tools/testing/selftests/ptrace/
H A Dpeeksiginfo.c168 pid_t ppid = getppid(); in main() local
170 if (ppid != getppid()) in main()
/openbmc/linux/fs/proc/
H A Darray.c156 pid_t ppid, tpid = 0, tgid, ngid; in task_state() local
160 ppid = pid_alive(p) ? in task_state()
187 seq_put_decimal_ull(m, "\nPPid:\t", ppid); in task_state()
475 pid_t ppid = 0, pgid = -1, sid = -1; in do_task_stat() local
555 ppid = task_tgid_nr_ns(task->real_parent, ns); in do_task_stat()
587 seq_put_decimal_ll(m, " ", ppid); in do_task_stat()
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/tests/
H A Dparser_test.py53 print(process.pid / 1000, process.cmd, process.ppid, len(process.samples))
58 self.assertEqual(tokens[2], str(process.ppid // 1000))
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/breakpad/breakpad/
H A Dmcontext.patch10 info.ppid = status->pr_ppid;

1234