/net/sunrpc/ |
H A D | svcauth.c | 44 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 D | backchannel_rqst.c | 64 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 D | svc_rdma_marshal.c | 164 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 D | input.c | 734 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 D | tcp_probe.c | 74 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 D | tcp_fastopen.c | 17 static void tcp_fastopen_ctx_free(struct rcu_head *head) argument 20 container_of(head, struct tcp_fastopen_context, rcu);
|
/net/ipv6/ |
H A D | inet6_hashtables.c | 38 __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 D | tcpv6_offload.c | 35 static struct sk_buff **tcp6_gro_receive(struct sk_buff **head, argument 68 return tcp_gro_receive(head, skb);
|
/net/netfilter/ |
H A D | nf_conntrack_standalone.c | 71 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 D | nfnetlink_cttimeout.c | 94 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 D | nf_conntrack_expect.c | 299 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 D | nfnetlink_log.c | 101 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 D | wpan.c | 140 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 D | cls_flow.c | 284 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 D | sch_fq_codel.c | 40 * 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 D | bridge_loop_avoidance.c | 146 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 D | translation-table.c | 58 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 D | originator.c | 185 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 D | vis.c | 99 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 D | sysctl_net.c | 41 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 D | 6lowpan.c | 390 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 D | br_fdb.c | 78 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 D | bind.c | 55 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 D | auth_x.c | 51 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 D | tag_trailer.c | 45 skb_set_network_header(nskb, skb_network_header(skb) - skb->head); 46 skb_set_transport_header(nskb, skb_transport_header(skb) - skb->head);
|