| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | devlink_port.c | 29 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 31 mlx5_query_nic_sw_system_image_guid(dev, ppid->id, &ppid->id_len); in mlx5_esw_get_port_parent_id() 48 struct netdev_phys_item_id ppid = {}; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() local 54 mlx5_esw_get_port_parent_id(dev, &ppid); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 63 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 64 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 70 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 71 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 84 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 85 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() [all …]
|
| /linux/drivers/spmi/ |
| H A D | spmi-pmic-arb.c | 131 u16 ppid; member 244 int (*ppid_to_apid)(struct spmi_pmic_arb_bus *bus, u16 ppid); 718 u16 ppid = bus->apid_data[apid].ppid; in cleanup_irq() local 719 u8 sid = ppid >> 8; in cleanup_irq() 720 u8 per = ppid & 0xFF; in cleanup_irq() 734 u8 sid = (bus->apid_data[apid].ppid >> 8) & 0x1F; in periph_interrupt() 735 u8 per = bus->apid_data[apid].ppid & 0xFF; in periph_interrupt() 981 u16 apid, ppid; in qpnpint_irq_domain_translate() local 995 ppid = intspec[0] << 8 | intspec[1]; in qpnpint_irq_domain_translate() 996 rc = pmic_arb->ver_ops->ppid_to_apid(bus, ppid); in qpnpint_irq_domain_translate() [all …]
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_kill.c | 49 int ppid = getppid(); in child_fn() local 51 while (getppid() == ppid) in child_fn() 54 return getppid() == ppid; in child_fn() 208 int ppid; in forkbomb_fn() local 213 ppid = getppid(); in forkbomb_fn() 215 while (getppid() == ppid) in forkbomb_fn() 218 return getppid() == ppid; in forkbomb_fn()
|
| H A 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/tools/testing/selftests/powerpc/signal/ |
| H A 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/tools/testing/selftests/mm/ |
| H A D | memfd_secret.c | 125 pid_t ppid = getppid(); in try_ptrace() local 135 ret = ptrace(PTRACE_ATTACH, ppid, 0, 0); in try_ptrace() 141 ret = waitpid(ppid, &status, WUNTRACED); in try_ptrace() 142 if ((ret != ppid) || !(WIFSTOPPED(status))) { in try_ptrace() 148 if (ptrace(PTRACE_PEEKDATA, ppid, mem, 0)) in try_ptrace()
|
| H A D | mrelease_test.c | 22 int ppid = getppid(); in alloc_noexit() local 40 while (getppid() == ppid && timeout > 0) { in alloc_noexit()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A 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/tools/perf/util/ |
| H A D | thread.h | 38 /** @ppid: parent process of the process this thread belongs to. */ in DECLARE_RC_STRUCT() 39 pid_t ppid; in DECLARE_RC_STRUCT() local 175 return RC_CHK_ACCESS(thread)->ppid; in thread__set_ppid() 178 static inline void thread__set_ppid(struct thread *thread, pid_t ppid) in thread__cpu() 180 RC_CHK_ACCESS(thread)->ppid = ppid; in thread__cpu() 173 thread__set_ppid(struct thread * thread,pid_t ppid) thread__set_ppid() argument
|
| H A D | synthetic-events.c | 71 * the comm, tgid and ppid. 74 pid_t *tgid, pid_t *ppid, bool *kernel) in perf_event__get_comm_ids() argument 83 *ppid = -1; in perf_event__get_comm_ids() 99 pr_warning("Couldn't get COMM, tigd and ppid for pid %d\n", in perf_event__get_comm_ids() 141 *ppid = atoi(ppids); in perf_event__get_comm_ids() 156 pid_t *tgid, pid_t *ppid, bool *kernel) in perf_event__prepare_comm() argument 160 *ppid = -1; in perf_event__prepare_comm() 167 tgid, ppid, kernel) != 0) { in perf_event__prepare_comm() 197 pid_t tgid, ppid; in perf_event__synthesize_comm() 200 if (perf_event__prepare_comm(event, 0, pid, machine, &tgid, &ppid, in perf_event__synthesize_comm() 196 pid_t tgid, ppid; perf_event__synthesize_comm() local 263 perf_event__synthesize_fork(const struct perf_tool * tool,union perf_event * event,pid_t pid,pid_t tgid,pid_t ppid,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_fork() argument 784 pid_t tgid, ppid; __event__synthesize_thread() local [all...] |
| /linux/Documentation/trace/postprocess/ |
| H A D | trace-pagealloc-postprocess.pl | 169 my $ppid; 180 $ppid = $1; 181 return guess_process_pid($ppid, read_statline($ppid));
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_netdev.c | 215 struct netdev_phys_item_id *ppid) in sparx5_get_port_parent_id() argument 220 ppid->id_len = sizeof(sparx5->base_mac); in sparx5_get_port_parent_id() 221 memcpy(&ppid->id, &sparx5->base_mac, ppid->id_len); in sparx5_get_port_parent_id()
|
| /linux/tools/perf/tests/shell/ |
| H A D | test_intel_pt.sh | 226 ppid=$! 227 echo "perf PID is $ppid" 228 wait_for_perf_to_start ${ppid} "${errfile}" || return 1 232 is_running ${ppid} || return 1 236 wait_for_process_to_exit ${ppid} || return 1
|
| /linux/tools/testing/selftests/uevent/ |
| H A D | uevent_filtering.c | 223 pid_t ppid; in set_death_signal() local 228 ppid = getppid(); in set_death_signal() 229 if (ppid == 1) { in set_death_signal()
|
| /linux/tools/tracing/rtla/tests/scripts/lib/ |
| H A D | get_workload_pids.sh | 5 local rtla_pid=$(ps -o ppid= $shell_pid)
|
| /linux/tools/testing/selftests/ptrace/ |
| H A D | peeksiginfo.c | 168 pid_t ppid = getppid(); in main() local 170 if (ppid != getppid()) in main()
|
| /linux/tools/perf/ |
| H A D | builtin-timechart.c | 97 int ppid; 256 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork() 260 pp = find_create_pid(tchart, ppid); in pid_fork() 261 p->ppid = ppid; in pid_fork() 340 pid_fork(tchart, event->fork.pid, event->fork.ppid, event->fork.time); in process_fork_event() 1015 /* sort by ppid first, then by pid, lowest to highest */ in sort_pids() 1032 if (cursor->ppid > p->ppid || in draw_c_p_states() 1033 (cursor->ppid in draw_c_p_states() 96 int ppid; global() member 255 pid_fork(struct timechart * tchart,int pid,int ppid,u64 timestamp) pid_fork() argument [all...] |
| /linux/include/linux/ |
| H A D | sctp.h | 224 __u32 ppid; member 238 __u32 ppid; member
|
| /linux/drivers/net/ethernet/sfc/ |
| H A 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/drivers/net/ethernet/intel/ixgbe/devlink/ |
| H A D | devlink.c | 520 struct netdev_phys_item_id *ppid) in ixgbe_devlink_set_switch_id() argument 524 ppid->id_len = sizeof(id); in ixgbe_devlink_set_switch_id() 525 put_unaligned_be64(id, &ppid->id); in ixgbe_devlink_set_switch_id()
|
| /linux/arch/um/os-Linux/ |
| H A D | start_up.c | 44 int pid = os_getpid(), ppid = getppid(); in ptrace_child() local 63 else if (sc_result == ppid) in ptrace_child()
|
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | port.c | 305 ice_devlink_set_switch_id(struct ice_pf *pf, struct netdev_phys_item_id *ppid) in ice_devlink_set_switch_id() argument 312 ppid->id_len = sizeof(id); in ice_devlink_set_switch_id() 313 put_unaligned_be64(id, &ppid->id); in ice_devlink_set_switch_id()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | efx_common.h | 114 struct netdev_phys_item_id *ppid);
|
| /linux/net/core/ |
| H A D | net-sysfs.c | 635 struct netdev_phys_item_id ppid; in phys_port_id_show() local 642 ret = dev_get_phys_port_id(netdev, &ppid); in phys_port_id_show() 644 ret = sysfs_emit(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_port_id_show() 677 struct netdev_phys_item_id ppid = { }; in phys_switch_id_show() local 684 ret = netif_get_port_parent_id(netdev, &ppid, false); in phys_switch_id_show() 686 ret = sysfs_emit(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_switch_id_show()
|
| /linux/include/net/sctp/ |
| H A D | ulpevent.h | 47 __u32 ppid; member
|