| /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_offloads_pf_vf_devlink_port_attrs_set() 31 mlx5_query_nic_sw_system_image_guid(dev, ppid->id, &ppid->id_len); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 48 struct netdev_phys_item_id ppid = {}; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 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 in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 9 mlx5_esw_get_port_parent_id(struct mlx5_core_dev * dev,struct netdev_phys_item_id * ppid) mlx5_esw_get_port_parent_id() argument 28 struct netdev_phys_item_id ppid = {}; mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() local 136 struct netdev_phys_item_id ppid = {}; mlx5_esw_offloads_sf_devlink_port_attrs_set() local [all...] |
| /linux/drivers/spmi/ |
| H A D | spmi-pmic-arb.c | 131 u16 ppid; member 152 * @mapping_table: in-memory copy of PPID -> APID mapping table. 154 * @ppid_to_apid: in-memory copy of PPID -> APID mapping table. 219 * @ppid_to_apid: finds the apid for a given ppid. 223 * on v2 offset of per-ee and per-ppid channel. 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() [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/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() 107 ppids = strstr(tgids ?: bf, "PPid:"); in perf_event__get_comm_ids() 140 ppids += 5; /* strlen("PPid:") */ in perf_event__get_comm_ids() 141 *ppid = atoi(ppids); in perf_event__get_comm_ids() 143 pr_debug("PPid: string not found for pid %d\n", tid); in perf_event__get_comm_ids() 156 pid_t *tgid, pid_t *ppid, bool *kernel) in perf_event__prepare_comm() argument 160 *ppid in perf_event__prepare_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/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/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/testing/selftests/mm/ |
| H A D | memfd_secret.c | 125 pid_t ppid = getppid(); 135 ret = ptrace(PTRACE_ATTACH, ppid, 0, 0); in try_process_vm_read() 141 ret = waitpid(ppid, &status, WUNTRACED); in try_process_vm_read() 142 if ((ret != ppid) || !(WIFSTOPPED(status))) { in try_process_vm_read() 148 if (ptrace(PTRACE_PEEKDATA, ppid, mem, 0)) in try_process_vm_read() 152 pid_t ppid = getppid(); try_ptrace() local
|
| H A D | mrelease_test.c | 22 int ppid = getppid(); in alloc_noexit() local 40 while (getppid() == ppid && timeout > 0) { in alloc_noexit()
|
| /linux/Documentation/trace/postprocess/ |
| H A D | trace-pagealloc-postprocess.pl | 169 my $ppid; 176 die("Failed to match stat line process ppid:: $statline"); 179 # Read the ppid stat line 180 $ppid = $1; 181 return guess_process_pid($ppid, read_statline($ppid));
|
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd_open_test.c | 169 if (info.ppid != getppid()) { in main() 170 ksft_print_msg("ppid %d does not match ppid from ioctl %d\n", in main()
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | assert.c | 25 * addr2line -s -e /proc/$PPID/exe -fpai {backtrace addresses} | \ in test_dump_stack() 33 const char *addr2line = "addr2line -s -e /proc/$PPID/exe -fpai"; in test_dump_stack()
|
| /linux/drivers/net/ethernet/intel/ixgbe/devlink/ |
| H A D | devlink.c | 517 * @ppid: struct with switch id information 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/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/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/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/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/tools/testing/selftests/ptrace/ |
| H A D | peeksiginfo.c | 168 pid_t ppid = getppid(); in main() local 170 if (ppid != getppid()) in main()
|
| /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/tools/testing/selftests/net/packetdrill/ |
| H A D | set_sysctls.py | 12 file could restore sysctls by running `/tmp/sysctl_restore_${PPID}.sh`
|
| H A D | tcp_slow_start_slow-start-after-idle.pkt | 39 `/tmp/sysctl_restore_${PPID}.sh`
|
| H A D | tcp_zerocopy_fastopen-server.pkt | 46 `/tmp/sysctl_restore_${PPID}.sh`
|
| H A D | tcp_slow_start_slow-start-after-win-update.pkt | 50 `/tmp/sysctl_restore_${PPID}.sh`
|
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | port.c | 302 * @ppid: struct with switch id information 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()
|