Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c8 mlx5_esw_get_port_parent_id(struct mlx5_core_dev *dev, struct netdev_phys_item_id *ppid) in mlx5_esw_get_port_parent_id() argument
13 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()
28 struct netdev_phys_item_id ppid = {}; in mlx5_esw_dl_port_alloc() local
38 mlx5_esw_get_port_parent_id(dev, &ppid); in mlx5_esw_dl_port_alloc()
47 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc()
48 attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
51 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc()
52 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
55 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Ddevlink.c8 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
13 ppid->id_len = sizeof(parent_id); in mlx5e_devlink_get_port_parent_id()
14 memcpy(ppid->id, &parent_id, sizeof(parent_id)); in mlx5e_devlink_get_port_parent_id()
21 struct netdev_phys_item_id ppid = {}; in mlx5e_devlink_port_register() local
30 mlx5e_devlink_get_port_parent_id(priv->mdev, &ppid); in mlx5e_devlink_port_register()
31 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5e_devlink_port_register()
32 attrs.switch_id.id_len = ppid.id_len; in mlx5e_devlink_port_register()
/linux-6.1.9/drivers/spmi/
Dspmi-pmic-arb.c117 u16 ppid; member
186 int (*ppid_to_apid)(struct spmi_pmic_arb *pmic_arb, u16 ppid);
588 u16 ppid = pmic_arb->apid_data[apid].ppid; in cleanup_irq() local
589 u8 sid = ppid >> 8; in cleanup_irq()
590 u8 per = ppid & 0xFF; in cleanup_irq()
603 u8 sid = (pmic_arb->apid_data[apid].ppid >> 8) & 0xF; in periph_interrupt()
604 u8 per = pmic_arb->apid_data[apid].ppid & 0xFF; in periph_interrupt()
841 u16 apid, ppid; in qpnpint_irq_domain_translate() local
854 ppid = intspec[0] << 8 | intspec[1]; in qpnpint_irq_domain_translate()
855 rc = pmic_arb->ver_ops->ppid_to_apid(pmic_arb, ppid); in qpnpint_irq_domain_translate()
[all …]
/linux-6.1.9/tools/testing/selftests/cgroup/
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()
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()
/linux-6.1.9/tools/testing/selftests/powerpc/signal/
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()
/linux-6.1.9/tools/testing/selftests/vm/
Dmemfd_secret.c109 pid_t ppid = getppid(); in try_ptrace() local
119 ret = ptrace(PTRACE_ATTACH, ppid, 0, 0); in try_ptrace()
125 ret = waitpid(ppid, &status, WUNTRACED); in try_ptrace()
126 if ((ret != ppid) || !(WIFSTOPPED(status))) { in try_ptrace()
132 if (ptrace(PTRACE_PEEKDATA, ppid, mem, 0)) in try_ptrace()
Dmrelease_test.c30 int ppid = getppid(); in alloc_noexit() local
52 while (getppid() == ppid && timeout > 0) { in alloc_noexit()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
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()
/linux-6.1.9/net/bridge/
Dbr_switchdev.c196 if (netdev_phys_item_id_same(&joining->ppid, &p->ppid)) { in nbp_switchdev_hwdom_set()
226 struct netdev_phys_item_id ppid, in nbp_switchdev_add() argument
237 if (!netdev_phys_item_id_same(&p->ppid, &ppid)) { in nbp_switchdev_add()
252 p->ppid = ppid; in nbp_switchdev_add()
784 struct netdev_phys_item_id ppid; in br_switchdev_port_offload() local
787 err = dev_get_port_parent_id(dev, &ppid, false); in br_switchdev_port_offload()
791 err = nbp_switchdev_add(p, ppid, tx_fwd_offload, extack); in br_switchdev_port_offload()
/linux-6.1.9/Documentation/trace/postprocess/
Dtrace-pagealloc-postprocess.pl169 my $ppid;
180 $ppid = $1;
181 return guess_process_pid($ppid, read_statline($ppid));
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
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()
/linux-6.1.9/tools/testing/selftests/resctrl/
Dresctrl.h43 kill(ppid, SIGKILL); \
78 extern pid_t bm_pid, ppid;
/linux-6.1.9/tools/perf/tests/shell/
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
/linux-6.1.9/tools/testing/selftests/uevent/
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()
/linux-6.1.9/tools/testing/selftests/ptrace/
Dpeeksiginfo.c168 pid_t ppid = getppid(); in main() local
170 if (ppid != getppid()) in main()
/linux-6.1.9/fs/proc/
Darray.c155 pid_t ppid, tpid = 0, tgid, ngid; in task_state() local
159 ppid = pid_alive(p) ? in task_state()
186 seq_put_decimal_ull(m, "\nPPid:\t", ppid); in task_state()
465 pid_t ppid = 0, pgid = -1, sid = -1; in do_task_stat() local
546 ppid = task_tgid_nr_ns(task->real_parent, ns); in do_task_stat()
575 seq_put_decimal_ll(m, " ", ppid); in do_task_stat()
/linux-6.1.9/tools/perf/util/
Dsynthetic-events.c73 pid_t *tgid, pid_t *ppid, bool *kernel) in perf_event__get_comm_ids() argument
82 *ppid = -1; in perf_event__get_comm_ids()
140 *ppid = atoi(ppids); in perf_event__get_comm_ids()
155 pid_t *tgid, pid_t *ppid, bool *kernel) in perf_event__prepare_comm() argument
159 *ppid = -1; in perf_event__prepare_comm()
166 tgid, ppid, kernel) != 0) { in perf_event__prepare_comm()
195 pid_t tgid, ppid; in perf_event__synthesize_comm() local
198 if (perf_event__prepare_comm(event, 0, pid, machine, &tgid, &ppid, in perf_event__synthesize_comm()
262 pid_t pid, pid_t tgid, pid_t ppid, in perf_event__synthesize_fork() argument
274 event->fork.ppid = ppid; in perf_event__synthesize_fork()
[all …]
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_rep.c41 struct netdev_phys_item_id *ppid);
449 struct netdev_phys_item_id *ppid) in lio_vf_get_port_parent_id() argument
455 ppid->id_len = ETH_ALEN; in lio_vf_get_port_parent_id()
456 ether_addr_copy(ppid->id, (void *)&lio->linfo.hw_addr + 2); in lio_vf_get_port_parent_id()
/linux-6.1.9/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-6.1.9/tools/perf/
Dbuiltin-timechart.c95 int ppid; member
254 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork() argument
258 pp = find_create_pid(tchart, ppid); in pid_fork()
259 p->ppid = ppid; in pid_fork()
338 pid_fork(tchart, event->fork.pid, event->fork.ppid, event->fork.time); in process_fork_event()
989 if (cursor->ppid > p->ppid || in sort_pids()
990 (cursor->ppid == p->ppid && cursor->pid > p->pid)) { in sort_pids()
/linux-6.1.9/drivers/net/ethernet/sfc/
Def100_rep.c80 struct netdev_phys_item_id *ppid) in efx_ef100_rep_get_port_parent_id() argument
88 ppid->id_len = sizeof(nic_data->port_id); in efx_ef100_rep_get_port_parent_id()
89 memcpy(ppid->id, nic_data->port_id, sizeof(nic_data->port_id)); in efx_ef100_rep_get_port_parent_id()
/linux-6.1.9/include/linux/
Dsctp.h224 __u32 ppid; member
239 __u32 ppid; member
/linux-6.1.9/net/core/
Ddev.h73 struct netdev_phys_item_id *ppid);
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/
Dcore.c188 struct netdev_phys_item_id *ppid) in qtnf_netdev_port_parent_id() argument
193 ppid->id_len = sizeof(bus->hw_id); in qtnf_netdev_port_parent_id()
194 memcpy(&ppid->id, bus->hw_id, ppid->id_len); in qtnf_netdev_port_parent_id()

1234