/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | devlink_port.c | 8 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() 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() 46 dl_port->attrs.switch_id.id_len = 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() [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | devlink.c | 33 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()
|
/linux-6.6.21/drivers/spmi/ |
D | spmi-pmic-arb.c | 123 u16 ppid; member 205 int (*ppid_to_apid)(struct spmi_pmic_arb *pmic_arb, u16 ppid); 608 u16 ppid = pmic_arb->apid_data[apid].ppid; in cleanup_irq() local 609 u8 sid = ppid >> 8; in cleanup_irq() 610 u8 per = ppid & 0xFF; in cleanup_irq() 623 u8 sid = (pmic_arb->apid_data[apid].ppid >> 8) & 0xF; in periph_interrupt() 624 u8 per = pmic_arb->apid_data[apid].ppid & 0xFF; in periph_interrupt() 865 u16 apid, ppid; in qpnpint_irq_domain_translate() local 878 ppid = intspec[0] << 8 | intspec[1]; in qpnpint_irq_domain_translate() 879 rc = pmic_arb->ver_ops->ppid_to_apid(pmic_arb, ppid); in qpnpint_irq_domain_translate() [all …]
|
/linux-6.6.21/tools/testing/selftests/cgroup/ |
D | test_kill.c | 48 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()
|
D | test_freezer.c | 123 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.6.21/tools/testing/selftests/powerpc/signal/ |
D | signal.c | 40 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.6.21/tools/testing/selftests/mm/ |
D | memfd_secret.c | 112 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()
|
D | mrelease_test.c | 22 int ppid = getppid(); in alloc_noexit() local 44 while (getppid() == ppid && timeout > 0) { in alloc_noexit()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/ |
D | nfp_port.c | 34 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.6.21/tools/perf/util/ |
D | thread.h | 42 pid_t ppid; in DECLARE_RC_STRUCT() local 159 return RC_CHK_ACCESS(thread)->ppid; in thread__ppid() 162 static inline void thread__set_ppid(struct thread *thread, pid_t ppid) in thread__set_ppid() argument 164 RC_CHK_ACCESS(thread)->ppid = ppid; in thread__set_ppid()
|
D | synthetic-events.c | 73 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.6.21/net/bridge/ |
D | br_switchdev.c | 209 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()
|
/linux-6.6.21/Documentation/trace/postprocess/ |
D | trace-pagealloc-postprocess.pl | 169 my $ppid; 180 $ppid = $1; 181 return guess_process_pid($ppid, read_statline($ppid));
|
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_netdev.c | 202 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.6.21/tools/testing/selftests/resctrl/ |
D | resctrl.h | 43 kill(ppid, SIGKILL); \ 75 extern pid_t bm_pid, ppid;
|
/linux-6.6.21/tools/perf/tests/shell/ |
D | test_intel_pt.sh | 263 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.6.21/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 221 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.6.21/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 168 pid_t ppid = getppid(); in main() local 170 if (ppid != getppid()) in main()
|
/linux-6.6.21/fs/proc/ |
D | array.c | 156 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()
|
/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/ |
D | lio_vf_rep.c | 41 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.6.21/tools/perf/ |
D | builtin-timechart.c | 96 int ppid; member 255 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork() argument 259 pp = find_create_pid(tchart, ppid); in pid_fork() 260 p->ppid = ppid; in pid_fork() 339 pid_fork(tchart, event->fork.pid, event->fork.ppid, event->fork.time); in process_fork_event() 993 if (cursor->ppid > p->ppid || in sort_pids() 994 (cursor->ppid == p->ppid && cursor->pid > p->pid)) { in sort_pids()
|
/linux-6.6.21/arch/um/os-Linux/ |
D | start_up.c | 32 int pid = os_getpid(), ppid = getppid(); in ptrace_child() local 51 else if (sc_result == ppid) in ptrace_child()
|
/linux-6.6.21/include/linux/ |
D | sctp.h | 224 __u32 ppid; member 239 __u32 ppid; member
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | ef100_rep.c | 82 struct netdev_phys_item_id *ppid) in efx_ef100_rep_get_port_parent_id() argument 90 ppid->id_len = sizeof(nic_data->port_id); in efx_ef100_rep_get_port_parent_id() 91 memcpy(ppid->id, nic_data->port_id, sizeof(nic_data->port_id)); in efx_ef100_rep_get_port_parent_id()
|
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 188 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()
|