Home
last modified time | relevance | path

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

12

/net/tipc/
Duser_reg.c68 static struct tipc_user *users = NULL; variable
84 if (!users) { in reg_init()
85 users = kzalloc(USER_LIST_SIZE, GFP_ATOMIC); in reg_init()
86 if (users) { in reg_init()
88 users[i].next = i - 1; in reg_init()
94 return users ? 0 : -ENOMEM; in reg_init()
128 if (users[u].callback) in tipc_reg_start()
130 (unsigned long)&users[u]); in tipc_reg_start()
143 if (!users) in tipc_reg_stop()
147 if (users[id].callback) in tipc_reg_stop()
[all …]
DKconfig30 for TIPC. Most users do not need to bother, so if
/net/netfilter/
Dnf_conntrack_proto.c41 struct ctl_table *table, unsigned int *users) in nf_ct_register_sysctl() argument
48 if (users != NULL) in nf_ct_register_sysctl()
49 (*users)++; in nf_ct_register_sysctl()
55 struct ctl_table *table, unsigned int *users) in nf_ct_unregister_sysctl() argument
57 if (users != NULL && --*users > 0) in nf_ct_unregister_sysctl()
/net/ipv6/
Dip6_flowlabel.c83 atomic_inc(&fl->users); in fl_lookup()
103 if (atomic_dec_and_test(&fl->users)) { in fl_release()
132 if (atomic_read(&fl->users) == 0) { in ip6_fl_gc()
166 if (fl->fl_net == net && atomic_read(&fl->users) == 0) { in ip6_fl_purge()
206 atomic_inc(&lfl->users); in fl_intern()
236 atomic_inc(&fl->users); in fl6_sock_lookup()
386 atomic_set(&fl->users, 1); in fl_create()
543 atomic_inc(&fl1->users); in ipv6_flowlabel_opt()
707 atomic_read(&fl->users), in ip6fl_seq_show()
Dsyncookies.c213 atomic_inc(&skb->users); in cookie_v6_check()
Dipv6_sockglue.c930 atomic_inc(&skb->users); in do_ipv6_getsockopt()
/net/xfrm/
Dxfrm_ipcomp.c34 int users; member
254 if (--pos->users) in ipcomp_free_tfms()
286 pos->users++; in ipcomp_alloc_tfms()
295 pos->users = 1; in ipcomp_alloc_tfms()
/net/mac80211/
Dscan.c61 atomic_inc(&bss->users); in ieee80211_rx_bss_get()
115 atomic_set(&bss->users, 2); in ieee80211_rx_bss_add()
147 atomic_inc(&bss->users); in ieee80211_rx_mesh_bss_get()
185 atomic_set(&bss->users, 2); in ieee80211_rx_mesh_bss_add()
210 if (!atomic_dec_and_lock(&bss->users, &local->bss_lock)) { in ieee80211_rx_bss_put()
Dieee80211_i.h77 atomic_t users; member
/net/ax25/
DKconfig87 users as well as information about how to configure an AX.25 port is
106 users as well as information about how to configure an AX.25 port is
/net/core/
Ddatagram.c176 atomic_inc(&skb->users); in __skb_recv_datagram()
245 atomic_dec(&skb->users); in skb_kill_datagram()
Dnetpoll.c226 atomic_inc(&skb->users); in zap_completion_queue()
258 atomic_set(&skb->users, 1); in find_skb()
Dskbuff.c195 atomic_set(&skb->users, 1); in __alloc_skb()
433 if (likely(atomic_read(&skb->users) == 1)) in kfree_skb()
435 else if (likely(!atomic_dec_and_test(&skb->users))) in kfree_skb()
549 atomic_set(&n->users, 1); in __skb_clone()
Dpktgen.c3442 atomic_inc(&(pkt_dev->skb->users)); in pktgen_xmit()
3457 atomic_dec(&(pkt_dev->skb->users)); in pktgen_xmit()
3488 if (atomic_read(&(pkt_dev->skb->users)) != 1) { in pktgen_xmit()
3490 while (atomic_read(&(pkt_dev->skb->users)) != 1) { in pktgen_xmit()
Ddev.c1399 if (atomic_dec_and_test(&skb->users)) { in dev_kfree_skb_irq()
2016 WARN_ON(atomic_read(&skb->users)); in net_tx_action()
2060 atomic_inc(&skb->users); in deliver_skb()
/net/sctp/
DKconfig21 services to its users:
Doutqueue.c990 atomic_read(&chunk->skb->users) : -1); in sctp_outq_flush()
/net/atm/
DKconfig71 This is an experimental mechanism for users who need to terminate a
/net/ipv4/
DKconfig62 Current FIB is very proven and good enough for most users.
299 users from being able to connect to your computer during an ongoing
305 protocol known as "SYN cookies" to enable legitimate users to
307 is no need for the legitimate users to change their TCP/IP software;
431 Nearly all users can safely say no here, and a safe default
Digmp.c1203 im->users++; in ip_mc_inc_group()
1213 im->users = 1; in ip_mc_inc_group()
1283 if (--i->users == 0) { in ip_mc_dec_group()
2396 im->multiaddr, im->users, in igmp_mc_seq_show()
/net/wireless/
DKconfig41 http://wireless.kernel.org/en/users/Documentation/iw
/net/netlink/
Daf_netlink.c1290 atomic_inc(&skb->users); in netlink_sendmsg()
1617 atomic_inc(&skb->users); in netlink_dump_start()
1742 atomic_inc(&skb->users); in nlmsg_notify()
/net/rxrpc/
Dar-internal.h772 CHECK_SLAB_OKAY(&skb->users); in __rxrpc_free_skb()
/net/ipv6/netfilter/
DKconfig30 packets which enables users to receive the filtered packets
/net/dccp/
Dipv6.c447 atomic_inc(&skb->users); in dccp_v6_conn_request()

12