/kernel/linux/linux-5.10/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_dl_port_alloc() local 39 mlx5_esw_get_port_parent_id(dev, &ppid); in mlx5_esw_dl_port_alloc() 48 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 49 attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 52 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 53 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 56 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() [all …]
|
/kernel/linux/linux-5.10/drivers/spmi/ |
D | spmi-pmic-arb.c | 117 u16 ppid; member 186 int (*ppid_to_apid)(struct spmi_pmic_arb *pmic_arb, u16 ppid); 487 u16 ppid = pmic_arb->apid_data[apid].ppid; in cleanup_irq() local 488 u8 sid = ppid >> 8; in cleanup_irq() 489 u8 per = ppid & 0xFF; in cleanup_irq() 497 irq_mask, ppid); in cleanup_irq() 502 irq_mask, ppid); in cleanup_irq() 509 u8 sid = (pmic_arb->apid_data[apid].ppid >> 8) & 0xF; in periph_interrupt() 510 u8 per = pmic_arb->apid_data[apid].ppid & 0xFF; in periph_interrupt() 697 u16 apid, ppid; in qpnpint_irq_domain_translate() local [all …]
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/ |
D | process_test_052.cpp | 41 pid_t ppid = getppid(); in TestThread() local 43 printf("TestThread ppid : %d g_ppid : %d\n", ppid, g_ppid); in TestThread() 45 ICUNIT_ASSERT_EQUAL(ppid, g_ppid, g_ppid); in TestThread()
|
D | process_test_050.cpp | 38 pid_t ppid = getppid(); in TestThread() local 40 printf("TestThread ppid : %d g_ppid : %d\n", ppid, g_ppid); in TestThread() 42 ICUNIT_ASSERT_EQUAL(ppid, g_ppid, g_ppid); in TestThread()
|
D | process_test_051.cpp | 40 pid_t ppid = getppid(); in TestThread() local 42 printf("TestThread ppid : %d g_ppid : %d\n", ppid, g_ppid); in TestThread() 44 ICUNIT_ASSERT_EQUAL(ppid, g_ppid, g_ppid); in TestThread()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
D | test_freezer.c | 180 int ppid = getppid(); in child_fn() local 182 while (getppid() == ppid) in child_fn() 185 return getppid() == ppid; in child_fn() 399 int ppid; in forkbomb_fn() local 404 ppid = getppid(); in forkbomb_fn() 406 while (getppid() == ppid) in forkbomb_fn() 409 return getppid() == ppid; in forkbomb_fn()
|
D | test_memcontrol.c | 199 int ppid = getppid(); in alloc_pagecache_50M_noexit() local 204 while (getppid() == ppid) in alloc_pagecache_50M_noexit() 212 int ppid = getppid(); in alloc_anon_noexit() local 217 while (getppid() == ppid) in alloc_anon_noexit()
|
/kernel/linux/linux-5.10/Documentation/trace/postprocess/ |
D | trace-pagealloc-postprocess.pl | 169 my $ppid; 180 $ppid = $1; 181 return guess_process_pid($ppid, read_statline($ppid));
|
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/ |
D | resctrl.h | 35 kill(ppid, SIGKILL); \ 71 extern pid_t bm_pid, ppid;
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_switchdev.c | 26 struct netdev_phys_item_id ppid = { }; in nbp_switchdev_mark_set() local 31 err = dev_get_port_parent_id(p->dev, &ppid, true); in nbp_switchdev_mark_set()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | synthetic-events.c | 73 pid_t *tgid, pid_t *ppid) in perf_event__get_comm_ids() argument 82 *ppid = -1; in perf_event__get_comm_ids() 131 *ppid = atoi(ppids); in perf_event__get_comm_ids() 141 pid_t *tgid, pid_t *ppid) in perf_event__prepare_comm() argument 145 *ppid = -1; in perf_event__prepare_comm() 152 tgid, ppid) != 0) { in perf_event__prepare_comm() 181 pid_t tgid, ppid; in perf_event__synthesize_comm() local 183 if (perf_event__prepare_comm(event, pid, machine, &tgid, &ppid) != 0) in perf_event__synthesize_comm() 246 pid_t pid, pid_t tgid, pid_t ppid, in perf_event__synthesize_fork() argument 258 event->fork.ppid = ppid; in perf_event__synthesize_fork() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 168 pid_t ppid = getppid(); in main() local 170 if (ppid != getppid()) in main()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | array.c | 159 pid_t ppid, tpid = 0, tgid, ngid; in task_state() local 163 ppid = pid_alive(p) ? in task_state() 190 seq_put_decimal_ull(m, "\nPPid:\t", ppid); in task_state() 441 pid_t ppid = 0, pgid = -1, sid = -1; in do_task_stat() local 518 ppid = task_tgid_nr_ns(task->real_parent, ns); in do_task_stat() 546 seq_put_decimal_ll(m, " ", ppid); in do_task_stat()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/liteos_a/kernel/base/include/ |
D | los_info_pri.h | 70 UINT32 ppid; member
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-timechart.c | 93 int ppid; member 242 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork() argument 246 pp = find_create_pid(tchart, ppid); in pid_fork() 247 p->ppid = ppid; in pid_fork() 329 pid_fork(tchart, event->fork.pid, event->fork.ppid, event->fork.time); in process_fork_event() 984 if (cursor->ppid > p->ppid || in sort_pids() 985 (cursor->ppid == p->ppid && cursor->pid > p->pid)) { in sort_pids()
|
/kernel/linux/linux-5.10/include/linux/ |
D | sctp.h | 223 __u32 ppid; member 238 __u32 ppid; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | efx_common.h | 110 struct netdev_phys_item_id *ppid);
|
/kernel/linux/linux-5.10/net/core/ |
D | net-sysfs.c | 519 struct netdev_phys_item_id ppid; in phys_port_id_show() local 521 ret = dev_get_phys_port_id(netdev, &ppid); in phys_port_id_show() 523 ret = sprintf(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_port_id_show() 578 struct netdev_phys_item_id ppid = { }; in phys_switch_id_show() local 580 ret = dev_get_port_parent_id(netdev, &ppid, false); in phys_switch_id_show() 582 ret = sprintf(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_switch_id_show()
|
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 203 struct netdev_phys_item_id *ppid) in qtnf_netdev_port_parent_id() argument 208 ppid->id_len = sizeof(bus->hw_id); in qtnf_netdev_port_parent_id() 209 memcpy(&ppid->id, bus->hw_id, ppid->id_len); in qtnf_netdev_port_parent_id()
|
/kernel/linux/linux-5.10/drivers/staging/hungtask/ |
D | hungtask_base.c | 156 pid_t ppid = parent->tgid; in get_task_type() local 158 if (ppid == PID_KTHREAD) in get_task_type() 160 else if (ppid == appspawn_pid) in get_task_type() 162 else if (ppid == PID_INIT) in get_task_type()
|