Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 25 of 31) sorted by relevance

12

/net/ax25/
Dax25_iface.c55 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()
Dax25_in.c102 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/core/
Dscm.c57 if ((creds->pid == task_tgid_vnr(current) || in scm_check_creds()
182 p->creds.pid = creds.pid; in __scm_send()
183 if (!p->pid || pid_vnr(p->pid) != creds.pid) { in __scm_send()
184 struct pid *pid; in __scm_send() local
186 pid = find_get_pid(creds.pid); in __scm_send()
187 if (!pid) in __scm_send()
189 put_pid(p->pid); in __scm_send()
190 p->pid = pid; in __scm_send()
Dneighbour.c55 u32 pid);
2152 u32 pid, u32 seq, int type, int flags) in neightbl_fill_info() argument
2157 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_info()
2244 u32 pid, u32 seq, int type, in neightbl_fill_param_info() argument
2250 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_param_info()
2553 u32 pid, u32 seq, int type, unsigned int flags) in neigh_fill_info() argument
2561 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags); in neigh_fill_info()
2615 u32 pid, u32 seq, int type, unsigned int flags, in pneigh_fill_info() argument
2622 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags); in pneigh_fill_info()
2965 u32 pid, u32 seq) in neigh_get_reply() argument
[all …]
Dfib_rules.c102 u32 pid);
1009 u32 pid, u32 seq, int type, int flags, in fib_nl_fill_rule() argument
1015 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*frh), flags); in fib_nl_fill_rule()
1188 u32 pid) in notify_rule_change() argument
1199 err = fib_nl_fill_rule(skb, rule, pid, nlh->nlmsg_seq, event, 0, ops); in notify_rule_change()
1207 rtnl_notify(skb, net, pid, ops->nlgroup, nlh, GFP_KERNEL); in notify_rule_change()
Drtnetlink.c747 int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned int group, int echo) in rtnetlink_send() argument
751 return nlmsg_notify(rtnl, skb, pid, group, echo, GFP_KERNEL); in rtnetlink_send()
754 int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid) in rtnl_unicast() argument
758 return nlmsg_unicast(rtnl, skb, pid); in rtnl_unicast()
762 void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, u32 group, in rtnl_notify() argument
767 nlmsg_notify(rtnl, skb, pid, group, nlmsg_report(nlh), flags); in rtnl_notify()
1739 int type, u32 pid, u32 seq, u32 change, in rtnl_fill_ifinfo() argument
1749 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ifm), flags); in rtnl_fill_ifinfo()
3992 u8 *addr, u16 vid, u32 pid, u32 seq, in nlmsg_populate_fdb_fill() argument
3999 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), nlflags); in nlmsg_populate_fdb_fill()
[all …]
Dnet_namespace.c687 struct net *get_net_ns_by_pid(pid_t pid) in get_net_ns_by_pid() argument
695 tsk = find_task_by_vpid(pid); in get_net_ns_by_pid()
Dsock.c1564 static void cred_to_ucred(struct pid *pid, const struct cred *cred, in cred_to_ucred() argument
1567 ucred->pid = pid_vnr(pid); in cred_to_ucred()
/net/bpfilter/
Dbpfilter_kern.c19 struct pid *tgid = info->tgid; in shutdown_umh()
68 .pid = current->pid, in bpfilter_process_sockopt()
82 struct mbox_request req = { .pid = current->pid }; in start_umh()
Dmsgfmt.h10 __u32 pid; member
/net/unix/
Dscm.c145 scm.pid = UNIXCB(skb).pid; in unix_destruct_scm()
Daf_unix.c677 struct pid *old_pid; in init_peercred()
693 struct pid *old_pid; in copy_peercred()
1803 UNIXCB(skb).pid = get_pid(scm->pid); in unix_scm_to_skb()
1831 if (UNIXCB(skb).pid) in maybe_add_creds()
1834 UNIXCB(skb).pid = get_pid(task_tgid(current)); in maybe_add_creds()
1851 scm->pid = get_pid(task_tgid(current)); in maybe_init_creds()
1860 return UNIXCB(skb).pid == scm->pid && in unix_skb_scm_eq()
2496 scm_set_cred(&scm, UNIXCB(skb).pid, UNIXCB(skb).uid, UNIXCB(skb).gid); in __unix_dgram_recvmsg()
2823 scm_set_cred(&scm, UNIXCB(skb).pid, UNIXCB(skb).uid, UNIXCB(skb).gid); in unix_stream_read_generic()
/net/ipv6/
Dip6_flowlabel.c109 put_pid(fl->owner.pid); in fl_free_rcu()
444 fl->owner.pid = get_task_pid(current, PIDTYPE_PID); in fl_create()
670 (fl1->owner.pid != fl->owner.pid)) || in ipv6_flowlabel_get()
846 pid_nr_ns(fl->owner.pid, state->pid_ns) : in ip6fl_seq_show()
/net/ipv4/
Dfib_lookup.h42 int fib_dump_info(struct sk_buff *skb, u32 pid, u32 seq, int event,
/net/l2tp/
Dl2tp_ppp.c550 ps->owner = current->pid; in pppol2tp_session_init()
936 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname()
954 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname()
972 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname()
991 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname()
Dl2tp_debugfs.c280 pd->net = get_net_ns_by_pid(current->pid); in l2tp_dfs_seq_open()
/net/bridge/netfilter/
Debt_stp.c23 u8 pid; member
/net/sched/
Dsch_htb.c817 u32 *pid; in htb_lookup_leaf() member
823 sp->pid = &hprio->last_ptr_id; in htb_lookup_leaf()
826 if (!*sp->pptr && *sp->pid) { in htb_lookup_leaf()
831 htb_id_find_next_upper(prio, sp->root, *sp->pid); in htb_lookup_leaf()
833 *sp->pid = 0; /* ptr is valid now so that remove this hint as it in htb_lookup_leaf()
858 sp->pid = &clp->last_ptr_id; in htb_lookup_leaf()
/net/bluetooth/
Dl2cap_core.c1417 struct pid *pid; member
1424 struct pid *pid; in l2cap_ecred_defer_connect() local
1432 pid = chan->ops->get_peer_pid(chan); in l2cap_ecred_defer_connect()
1435 if (conn->pid != pid || chan->psm != conn->chan->psm || chan->ident || in l2cap_ecred_defer_connect()
1477 data.pid = chan->ops->get_peer_pid(chan); in l2cap_ecred_connect()
7925 struct pid *pid; member
7932 struct pid *pid; in l2cap_chan_by_pid() local
7940 pid = chan->ops->get_peer_pid(chan); in l2cap_chan_by_pid()
7943 if (d->pid != pid || chan->psm != d->chan->psm || chan->ident || in l2cap_chan_by_pid()
8075 data.pid = chan->ops->get_peer_pid(chan); in l2cap_chan_connect()
/net/bridge/
Dbr_netlink.c438 u32 pid, u32 seq, int event, unsigned int flags, in br_fill_ifinfo() argument
456 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*hdr), flags); in br_fill_ifinfo()
659 int br_getlink(struct sk_buff *skb, u32 pid, u32 seq, in br_getlink() argument
671 return br_fill_ifinfo(skb, port, pid, seq, RTM_NEWLINK, nlflags, in br_getlink()
Dbr_mdb.c586 int ifindex, u16 vid, u32 pid, in nlmsg_populate_rtr_fill() argument
593 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*bpm), 0); in nlmsg_populate_rtr_fill()
/net/can/
Dgw.c615 u32 pid, u32 seq, int flags) in cgw_put_job() argument
620 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*rtcan), flags); in cgw_put_job()
/net/
Dsocket.c1226 int pid, err; in sock_ioctl() local
1252 if (get_user(pid, (int __user *)argp)) in sock_ioctl()
1254 err = f_setown(sock->file, pid, 1); in sock_ioctl()
/net/ieee802154/
Dnl802154.c1260 u32 pid = nla_get_u32(info->attrs[NL802154_ATTR_PID]); in nl802154_wpan_phy_netns() local
1262 net = get_net_ns_by_pid(pid); in nl802154_wpan_phy_netns()
/net/sunrpc/
Dsvc_xprt.c599 trace_svc_wake_up(rqstp->rq_task->pid); in svc_wake_up()

12