Lines Matching refs:p
3275 char *p = pkt_dev->result; in show_results() local
3280 p += sprintf(p, "OK: %llu(c%llu+d%llu) usec, %llu (%dbyte,%dfrags)\n", in show_results()
3306 p += sprintf(p, " %llupps %lluMb/sec (%llubps) errors: %llu", in show_results()
3677 struct pktgen_dev *p, *pkt_dev = NULL; in pktgen_find_dev() local
3681 list_for_each_entry_rcu(p, &t->if_list, list) in pktgen_find_dev()
3682 if (strncmp(p->odevname, ifname, len) == 0) { in pktgen_find_dev()
3683 if (p->odevname[len]) { in pktgen_find_dev()
3684 if (exact || p->odevname[len] != '@') in pktgen_find_dev()
3687 pkt_dev = p; in pktgen_find_dev()
3821 struct task_struct *p; in pktgen_create_thread() local
3838 p = kthread_create_on_node(pktgen_thread_worker, in pktgen_create_thread()
3842 if (IS_ERR(p)) { in pktgen_create_thread()
3846 return PTR_ERR(p); in pktgen_create_thread()
3848 kthread_bind(p, cpu); in pktgen_create_thread()
3849 t->tsk = p; in pktgen_create_thread()
3856 kthread_stop(p); in pktgen_create_thread()
3863 get_task_struct(p); in pktgen_create_thread()
3864 wake_up_process(p); in pktgen_create_thread()
3877 struct pktgen_dev *p; in _rem_dev_from_if_list() local
3881 p = list_entry(q, struct pktgen_dev, list); in _rem_dev_from_if_list()
3882 if (p == pkt_dev) in _rem_dev_from_if_list()
3883 list_del_rcu(&p->list); in _rem_dev_from_if_list()