| /net/core/ |
| A D | scm.c | 150 static inline int scm_replace_pid(struct scm_cookie *scm, struct pid *pid) in scm_replace_pid() argument 157 err = pidfs_register_pid(pid); in scm_replace_pid() 161 scm->pid = pid; in scm_replace_pid() 162 scm->creds.pid = pid_vnr(pid); in scm_replace_pid() 210 if (!p->pid || pid_vnr(p->pid) != creds.pid) { in __scm_send() 211 struct pid *pid; in __scm_send() local 213 pid = find_get_pid(creds.pid); in __scm_send() 214 if (!pid) in __scm_send() 222 put_pid(pid); in __scm_send() 483 if (!scm->pid) in scm_pidfd_recv() [all …]
|
| A D | neighbour.c | 55 u32 pid); 2224 u32 pid, u32 seq, int type, int flags) in neightbl_fill_info() argument 2316 u32 pid, u32 seq, int type, in neightbl_fill_param_info() argument 2626 u32 pid, u32 seq, int type, unsigned int flags) in neigh_fill_info() argument 2634 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags); in neigh_fill_info() 2688 u32 pid, u32 seq, int type, unsigned int flags, in pneigh_fill_info() argument 2696 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags); in pneigh_fill_info() 3038 u32 pid = NETLINK_CB(in_skb).portid; in neigh_get() local 3115 return rtnl_unicast(skb, net, pid); in neigh_get() 3536 u32 pid) in __neigh_notify() argument [all …]
|
| A D | fib_rules.c | 102 u32 pid); 1149 u32 pid, u32 seq, int type, int flags, in fib_nl_fill_rule() argument 1155 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*frh), flags); in fib_nl_fill_rule() 1332 u32 pid) in notify_rule_change() argument 1343 err = fib_nl_fill_rule(skb, rule, pid, nlh->nlmsg_seq, event, 0, ops); in notify_rule_change() 1351 rtnl_notify(skb, net, pid, ops->nlgroup, nlh, GFP_KERNEL); in notify_rule_change()
|
| A D | netdev-genl.c | 169 pid_t pid; in netdev_nl_napi_fill_one() local 192 pid = task_pid_nr(napi->thread); in netdev_nl_napi_fill_one() 193 if (nla_put_u32(rsp, NETDEV_A_NAPI_PID, pid)) in netdev_nl_napi_fill_one()
|
| A D | rtnetlink.c | 942 return nlmsg_notify(rtnl, skb, pid, group, echo, GFP_KERNEL); in rtnetlink_send() 945 int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid) in rtnl_unicast() argument 949 return nlmsg_unicast(rtnl, skb, pid); in rtnl_unicast() 958 nlmsg_notify(rtnl, skb, pid, group, nlmsg_report(nlh), flags); in rtnl_notify() 2021 int type, u32 pid, u32 seq, u32 change, in rtnl_fill_ifinfo() argument 2032 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ifm), flags); in rtnl_fill_ifinfo() 4456 u8 *addr, u16 vid, u32 pid, u32 seq, in nlmsg_populate_fdb_fill() argument 4463 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), nlflags); in nlmsg_populate_fdb_fill() 5205 int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, in ndo_dflt_bridge_getlink() argument 5902 int type, u32 pid, u32 seq, u32 change, in rtnl_fill_statsinfo() argument [all …]
|
| A D | net_namespace.c | 768 struct net *get_net_ns_by_pid(pid_t pid) in get_net_ns_by_pid() argument 776 tsk = find_task_by_vpid(pid); in get_net_ns_by_pid()
|
| A D | sock.c | 1691 static void cred_to_ucred(struct pid *pid, const struct cred *cred, in cred_to_ucred() argument 1694 ucred->pid = pid_vnr(pid); in cred_to_ucred() 1907 struct pid *peer_pid; in sk_getsockopt()
|
| /net/ax25/ |
| A D | ax25_iface.c | 55 void ax25_protocol_release(unsigned int pid) in ax25_protocol_release() argument 64 if (protocol->pid == pid) { in ax25_protocol_release() 70 if (protocol->next->pid == pid) { in ax25_protocol_release() 158 int (*ax25_protocol_function(unsigned int pid))(struct sk_buff *, ax25_cb *) in ax25_protocol_function() argument 165 if (protocol->pid == pid) { in ax25_protocol_function() 200 int ax25_protocol_is_registered(unsigned int pid) in ax25_protocol_is_registered() argument 207 if (protocol->pid == pid) { in ax25_protocol_is_registered()
|
| A D | ax25_in.c | 102 unsigned char pid; in ax25_rx_iframe() local 109 pid = *skb->data; in ax25_rx_iframe() 111 if (pid == AX25_P_IP) { in ax25_rx_iframe() 131 if (pid == AX25_P_SEGMENT) { in ax25_rx_iframe() 136 if ((func = ax25_protocol_function(pid)) != NULL) { in ax25_rx_iframe() 142 if ((!ax25->pidincl && ax25->sk->sk_protocol == pid) || in ax25_rx_iframe()
|
| /net/unix/ |
| A D | af_unix.h | 14 struct pid *pid; /* skb credentials */ member
|
| A D | af_unix.c | 752 struct pid *peer_pid; 758 struct pid *pid; in prepare_peercred() local 773 struct pid *pid = NULL; in drop_peercred() local 780 put_pid(pid); in drop_peercred() 794 struct pid *old_pid; in update_peercred() 1994 scm.pid = UNIXCB(skb).pid; in unix_destruct_scm() 2008 UNIXCB(skb).pid = get_pid(scm->pid); in unix_scm_to_skb() 2042 if (UNIXCB(skb).pid) in unix_maybe_add_creds() 2047 struct pid *pid; in unix_maybe_add_creds() local 2055 UNIXCB(skb).pid = get_pid(pid); in unix_maybe_add_creds() [all …]
|
| /net/ipv6/ |
| A D | ip6_flowlabel.c | 109 put_pid(fl->owner.pid); in fl_free_rcu() 447 fl->owner.pid = get_task_pid(current, PIDTYPE_PID); in fl_create() 673 (fl1->owner.pid != fl->owner.pid)) || in ipv6_flowlabel_get() 849 pid_nr_ns(fl->owner.pid, state->pid_ns) : in ip6fl_seq_show()
|
| /net/ipv4/ |
| A D | fib_lookup.h | 42 int fib_dump_info(struct sk_buff *skb, u32 pid, u32 seq, int event,
|
| /net/l2tp/ |
| A D | l2tp_ppp.c | 533 ps->owner = current->pid; in pppol2tp_session_init() 924 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname() 942 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname() 960 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname() 979 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname()
|
| A D | l2tp_debugfs.c | 279 pd->net = get_net_ns_by_pid(current->pid); in l2tp_dfs_seq_open()
|
| /net/sched/ |
| A D | sch_htb.c | 821 u32 *pid; in htb_lookup_leaf() member 829 sp->pid = &hprio->last_ptr_id; in htb_lookup_leaf() 832 if (!*sp->pptr && *sp->pid) { in htb_lookup_leaf() 837 htb_id_find_next_upper(prio, sp->root, *sp->pid); in htb_lookup_leaf() 839 *sp->pid = 0; /* ptr is valid now so that remove this hint as it in htb_lookup_leaf() 864 sp->pid = &clp->last_ptr_id; in htb_lookup_leaf()
|
| /net/bridge/netfilter/ |
| A D | ebt_stp.c | 23 u8 pid; member
|
| /net/bluetooth/ |
| A D | l2cap_core.c | 1298 struct pid *pid; member 1305 struct pid *pid; in l2cap_ecred_defer_connect() local 1313 pid = chan->ops->get_peer_pid(chan); in l2cap_ecred_defer_connect() 1316 if (conn->pid != pid || chan->psm != conn->chan->psm || chan->ident || in l2cap_ecred_defer_connect() 1358 data.pid = chan->ops->get_peer_pid(chan); in l2cap_ecred_connect() 6940 struct pid *pid; member 6947 struct pid *pid; in l2cap_chan_by_pid() local 6955 pid = chan->ops->get_peer_pid(chan); in l2cap_chan_by_pid() 6958 if (d->pid != pid || chan->psm != d->chan->psm || chan->ident || in l2cap_chan_by_pid() 7088 data.pid = chan->ops->get_peer_pid(chan); in l2cap_chan_connect()
|
| A D | af_bluetooth.c | 216 struct pid *old_pid; in bt_accept_enqueue()
|
| A D | hci_sock.c | 287 if (creds->pid == pid_vnr(sk->sk_peer_pid)) in hci_sock_copy_creds() 292 creds->pid = pid_vnr(sk->sk_peer_pid); in hci_sock_copy_creds()
|
| /net/bridge/ |
| A D | br_netlink.c | 454 u32 pid, u32 seq, int event, unsigned int flags, in br_fill_ifinfo() argument 473 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*hdr), flags); in br_fill_ifinfo() 676 int br_getlink(struct sk_buff *skb, u32 pid, u32 seq, in br_getlink() argument 688 return br_fill_ifinfo(skb, port, pid, seq, RTM_NEWLINK, nlflags, in br_getlink()
|
| A D | br_mdb.c | 567 int ifindex, u16 vid, u32 pid, in nlmsg_populate_rtr_fill() argument 574 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*bpm), 0); in nlmsg_populate_rtr_fill()
|
| /net/can/ |
| A D | gw.c | 628 u32 pid, u32 seq, int flags) in cgw_put_job() argument 634 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*rtcan), flags); in cgw_put_job()
|
| /net/sunrpc/ |
| A D | svc.c | 754 trace_svc_pool_thread_wake(pool, rqstp->rq_task->pid); in svc_pool_wake_idle_thread() 757 trace_svc_pool_thread_running(pool, rqstp->rq_task->pid); in svc_pool_wake_idle_thread()
|
| /net/ |
| A D | socket.c | 1271 int pid, err; in sock_ioctl() local 1298 if (get_user(pid, (int __user *)argp)) in sock_ioctl() 1300 err = f_setown(sock->file, pid, 1); in sock_ioctl()
|