Searched refs:head (Results 26 - 50 of 204) sorted by relevance

123456789

/net/sunrpc/
H A Dsvcauth.c44 flavor = svc_getnl(&rqstp->rq_arg.head[0]);
140 struct hlist_head *head; local
142 head = &auth_domain_table[hash_str(name, DN_HASHBITS)];
146 hlist_for_each_entry(hp, head, hash) {
154 hlist_add_head(&new->hash, head);
H A Dbackchannel_rqst.c64 free_page((unsigned long)xbufp->head[0].iov_base);
66 free_page((unsigned long)xbufp->head[0].iov_base);
131 xbufp->head[0].iov_base = page_address(page_rcv);
132 xbufp->head[0].iov_len = PAGE_SIZE;
147 xbufp->head[0].iov_base = page_address(page_snd);
148 xbufp->head[0].iov_len = 0;
/net/sunrpc/xprtrdma/
H A Dsvc_rdma_marshal.c164 rmsgp = (struct rpcrdma_msg *)rqstp->rq_arg.head[0].iov_base;
191 rqstp->rq_arg.head[0].iov_base = va;
193 rqstp->rq_arg.head[0].iov_len -= hdrlen;
214 rqstp->rq_arg.head[0].iov_base = va;
216 rqstp->rq_arg.head[0].iov_len -= hdr_len;
232 rmsgp = (struct rpcrdma_msg *)rqstp->rq_arg.head[0].iov_base;
237 rqstp->rq_arg.head[0].iov_base = va;
239 rqstp->rq_arg.head[0].iov_len -= hdrlen;
271 rqstp->rq_arg.head[0].iov_base = va;
273 rqstp->rq_arg.head[
[all...]
/net/sctp/
H A Dinput.c734 struct sctp_hashbucket *head; local
739 head = &sctp_ep_hashtable[epb->hashent];
741 sctp_write_lock(&head->lock);
742 hlist_add_head(&epb->node, &head->chain);
743 sctp_write_unlock(&head->lock);
758 struct sctp_hashbucket *head; local
765 head = &sctp_ep_hashtable[epb->hashent];
767 sctp_write_lock(&head->lock);
769 sctp_write_unlock(&head->lock);
784 struct sctp_hashbucket *head; local
811 struct sctp_hashbucket *head; local
841 struct sctp_hashbucket *head; local
874 struct sctp_hashbucket *head; local
[all...]
/net/ipv4/
H A Dtcp_probe.c74 unsigned long head, tail; member in struct:__anon55
81 return (tcp_probe.head - tcp_probe.tail) & (bufsize - 1);
107 struct tcp_log *p = tcp_probe.log + tcp_probe.head;
122 tcp_probe.head = (tcp_probe.head + 1) & (bufsize - 1);
145 tcp_probe.head = tcp_probe.tail = 0;
189 if (tcp_probe.head == tcp_probe.tail) {
H A Dtcp_fastopen.c17 static void tcp_fastopen_ctx_free(struct rcu_head *head) argument
20 container_of(head, struct tcp_fastopen_context, rcu);
/net/ipv6/
H A Dinet6_hashtables.c38 __sk_nulls_add_node_rcu(sk, &ilb->head);
84 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; local
89 sk_nulls_for_each_rcu(sk, node, &head->chain) {
108 sk_nulls_for_each_rcu(sk, node, &head->twchain) {
177 sk_nulls_for_each(sk, node, &ilb->head) {
247 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); local
257 sk_nulls_for_each(sk2, node, &head->twchain) {
273 sk_nulls_for_each(sk2, node, &head->chain) {
287 __sk_nulls_add_node_rcu(sk, &head->chain);
H A Dtcpv6_offload.c35 static struct sk_buff **tcp6_gro_receive(struct sk_buff **head, argument
68 return tcp_gro_receive(head, skb);
/net/netfilter/
H A Dnf_conntrack_standalone.c71 struct hlist_nulls_node *head)
76 head = rcu_dereference(hlist_nulls_next_rcu(head));
77 while (is_a_nulls(head)) {
78 if (likely(get_nulls_value(head) == st->bucket)) {
82 head = rcu_dereference(
86 return head;
91 struct hlist_nulls_node *head = ct_get_first(seq); local
93 if (head)
94 while (pos && (head
70 ct_get_next(struct seq_file *seq, struct hlist_nulls_node *head) argument
[all...]
H A Dnfnetlink_cttimeout.c94 list_for_each_entry(timeout, &cttimeout_list, head) {
148 list_add_tail_rcu(&timeout->head, &cttimeout_list);
222 list_for_each_entry_rcu(cur, &cttimeout_list, head) {
263 list_for_each_entry(cur, &cttimeout_list, head) {
302 list_del_rcu(&timeout->head);
323 list_for_each_entry(cur, &cttimeout_list, head)
330 list_for_each_entry(cur, &cttimeout_list, head) {
349 list_for_each_entry_rcu(timeout, &cttimeout_list, head) {
423 list_for_each_entry_safe(cur, tmp, &cttimeout_list, head) {
424 list_del_rcu(&cur->head);
[all...]
H A Dnf_conntrack_expect.c299 static void nf_ct_expect_free_rcu(struct rcu_head *head) argument
303 exp = container_of(head, struct nf_conntrack_expect, rcu);
458 struct hlist_node *head)
463 head = rcu_dereference(hlist_next_rcu(head));
464 while (head == NULL) {
467 head = rcu_dereference(hlist_first_rcu(&net->ct.expect_hash[st->bucket]));
469 return head;
474 struct hlist_node *head = ct_expect_get_first(seq); local
476 if (head)
457 ct_expect_get_next(struct seq_file *seq, struct hlist_node *head) argument
[all...]
H A Dnfnetlink_log.c101 struct hlist_head *head; local
104 head = &log->instance_table[instance_hashfn(group_num)];
105 hlist_for_each_entry_rcu(inst, head, hlist) {
132 static void nfulnl_instance_free_rcu(struct rcu_head *head) argument
135 container_of(head, struct nfulnl_instance, rcu);
520 if (hwhdrp >= skb->head &&
748 struct hlist_head *head = &log->instance_table[i]; local
750 hlist_for_each_entry_safe(inst, t2, head, hlist) {
938 struct hlist_head *head = &log->instance_table[st->bucket]; local
940 if (!hlist_empty(head))
952 struct hlist_head *head; local
967 struct hlist_node *head; local
[all...]
/net/mac802154/
H A Dwpan.c140 u8 head[MAC802154_FRAME_HARD_HEADER_LEN]; local
146 head[pos++] = mac_cb(skb)->seq; /* DSN/BSN */
174 head[pos++] = daddr->pan_id & 0xff;
175 head[pos++] = daddr->pan_id >> 8;
178 head[pos++] = daddr->short_addr & 0xff;
179 head[pos++] = daddr->short_addr >> 8;
181 mac802154_haddr_copy_swap(head + pos, daddr->hwaddr);
194 head[pos++] = saddr->pan_id & 0xff;
195 head[pos++] = saddr->pan_id >> 8;
199 head[po
210 memcpy(skb_push(skb, pos), head, pos); local
454 u8 *head = skb->data; local
[all...]
/net/sched/
H A Dcls_flow.c284 struct flow_head *head = tp->root; local
291 list_for_each_entry(f, &head->filters, list) {
359 struct flow_head *head = tp->root; local
497 list_add_tail(&f->list, &head->filters);
532 struct flow_head *head; local
534 head = kzalloc(sizeof(*head), GFP_KERNEL);
535 if (head == NULL)
537 INIT_LIST_HEAD(&head->filters);
538 tp->root = head;
544 struct flow_head *head = tp->root; local
556 struct flow_head *head = tp->root; local
632 struct flow_head *head = tp->root; local
[all...]
H A Dsch_fq_codel.c40 * head drops only.
46 struct sk_buff *head; member in struct:fq_codel_flow
118 /* remove one skb from head of slot queue */
121 struct sk_buff *skb = flow->head;
123 flow->head = skb->next;
132 if (flow->head == NULL)
133 flow->head = skb;
224 if (flow->head) {
237 struct list_head *head; local
241 head
[all...]
/net/batman-adv/
H A Dbridge_loop_avoidance.c146 struct hlist_head *head; local
155 head = &hash->table[index];
158 hlist_for_each_entry_rcu(claim, head, hash_entry) {
186 struct hlist_head *head; local
198 head = &hash->table[index];
201 hlist_for_each_entry_rcu(backbone_gw, head, hash_entry) {
223 struct hlist_head *head; local
233 head = &hash->table[i];
238 head, hash_entry) {
461 struct hlist_head *head; local
959 struct hlist_head *head; local
1013 struct hlist_head *head; local
1061 struct hlist_head *head; local
1114 struct hlist_head *head; local
1322 struct hlist_head *head; local
1607 struct hlist_head *head; local
1651 struct hlist_head *head; local
[all...]
H A Dtranslation-table.c58 struct hlist_head *head; local
67 head = &hash->table[index];
70 hlist_for_each_entry_rcu(tt_common_entry, head, hash_entry) {
263 struct hlist_head *head; local
343 head = &tt_global->orig_list;
345 hlist_for_each_entry_rcu(orig_entry, head, list) {
470 struct hlist_head *head; local
490 head = &hash->table[i];
494 head, hash_entry) {
600 struct hlist_head *head)
599 batadv_tt_local_purge_list(struct batadv_priv *bat_priv, struct hlist_head *head) argument
630 struct hlist_head *head; local
651 struct hlist_head *head; local
722 const struct hlist_head *head; local
937 struct hlist_head *head; local
969 struct hlist_head *head; local
1016 struct hlist_head *head; local
1053 struct hlist_head *head; local
1072 struct hlist_head *head; local
1102 struct hlist_head *head; local
1197 struct hlist_head *head; local
1255 struct hlist_head *head; local
1296 struct hlist_head *head; local
1391 struct hlist_head *head; local
1442 struct hlist_head *head; local
1589 struct hlist_head *head; local
2290 struct hlist_head *head; local
2326 struct hlist_head *head; local
[all...]
H A Doriginator.c185 struct hlist_head *head; local
198 head = &hash->table[i];
203 head, hash_entry) {
374 struct hlist_head *head; local
384 head = &hash->table[i];
389 head, hash_entry) {
433 struct hlist_head *head; local
455 head = &hash->table[i];
458 hlist_for_each_entry_rcu(orig_node, head, hash_entry) {
535 struct hlist_head *head; local
618 struct hlist_head *head; local
[all...]
H A Dvis.c99 struct hlist_head *head; local
107 head = &hash->table[index];
110 hlist_for_each_entry_rcu(vis_info, head, hash_entry) {
215 const struct hlist_head *head)
226 hlist_for_each_entry_rcu(info, head, hash_entry) {
248 struct hlist_head *head; local
265 head = &hash->table[i];
266 batadv_vis_seq_print_text_bucket(seq, head);
517 struct hlist_head *head; local
526 head
214 batadv_vis_seq_print_text_bucket(struct seq_file *seq, const struct hlist_head *head) argument
568 struct hlist_head *head; local
670 struct hlist_head *head; local
696 struct hlist_head *head; local
[all...]
/net/
H A Dsysctl_net.c41 static int net_ctl_permissions(struct ctl_table_header *head, argument
44 struct net *net = container_of(head->set, struct net, sysctls);
/net/ieee802154/
H A D6lowpan.c390 u8 head[100]; local
400 hc06_ptr = head + 2;
565 head[0] = iphc0;
566 head[1] = iphc1;
569 memcpy(skb_push(skb, hc06_ptr - head), head, hc06_ptr - head);
963 * replace the compressed UDP head by the uncompressed UDP
1031 lowpan_fragment_xmit(struct sk_buff *skb, u8 *head, argument
1040 lowpan_raw_dump_inline(__func__, "6lowpan fragment header", head, hle
1051 memcpy(skb_put(frag, hlen), head, hlen); local
1069 u8 head[5]; local
1311 lowpan_dellink(struct net_device *dev, struct list_head *head) argument
[all...]
/net/bridge/
H A Dbr_fdb.c78 static void fdb_rcu_free(struct rcu_head *head) argument
81 = container_of(head, struct net_bridge_fdb_entry, rcu);
358 static struct net_bridge_fdb_entry *fdb_find(struct hlist_head *head, argument
364 hlist_for_each_entry(fdb, head, hlist) {
372 static struct net_bridge_fdb_entry *fdb_find_rcu(struct hlist_head *head, argument
378 hlist_for_each_entry_rcu(fdb, head, hlist) {
386 static struct net_bridge_fdb_entry *fdb_create(struct hlist_head *head, argument
401 hlist_add_head_rcu(&fdb->hlist, head);
409 struct hlist_head *head = &br->hash[br_mac_hash(addr, vid)]; local
415 fdb = fdb_find(head, add
452 struct hlist_head *head = &br->hash[br_mac_hash(addr, vid)]; local
616 struct hlist_head *head = &br->hash[br_mac_hash(addr, vid)]; local
751 struct hlist_head *head = &br->hash[br_mac_hash(addr, vlan)]; local
[all...]
/net/rds/
H A Dbind.c55 struct hlist_head *head = hash_to_bucket(addr, port); local
60 hlist_for_each_entry_rcu(rs, head, rs_bound_node) {
82 hlist_add_head_rcu(&insert->rs_bound_node, head);
/net/ceph/
H A Dauth_x.c51 struct ceph_x_encrypt_header head = { local
59 &head, sizeof(head), ibuf, ilen);
69 struct ceph_x_encrypt_header head; local
70 size_t head_len = sizeof(head);
78 ret = ceph_decrypt2(secret, &head, &head_len, obuf, &olen,
82 if (head.struct_v != 1 || le64_to_cpu(head.magic) != CEPHX_ENC_MAGIC)
399 struct ceph_x_request_header *head = buf; local
413 struct ceph_x_authenticate *auth = (void *)(head
477 struct ceph_x_reply_header *head = buf; local
[all...]
/net/dsa/
H A Dtag_trailer.c45 skb_set_network_header(nskb, skb_network_header(skb) - skb->head);
46 skb_set_transport_header(nskb, skb_transport_header(skb) - skb->head);

Completed in 707 milliseconds

123456789