Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 43) sorted by relevance

12

/net/rds/
Dib_send.c493 struct rds_ib_send_work *first; in rds_ib_xmit() local
623 first = send; in rds_ib_xmit()
727 failed_wr = &first->s_wr; in rds_ib_xmit()
728 ret = ib_post_send(ic->i_cm_id->qp, &first->s_wr, &failed_wr); in rds_ib_xmit()
730 first, &first->s_wr, ret, failed_wr); in rds_ib_xmit()
731 BUG_ON(failed_wr != &first->s_wr); in rds_ib_xmit()
850 struct rds_ib_send_work *first; in rds_ib_xmit_rdma() local
896 first = send; in rds_ib_xmit_rdma()
964 failed_wr = &first->s_rdma_wr.wr; in rds_ib_xmit_rdma()
965 ret = ib_post_send(ic->i_cm_id->qp, &first->s_rdma_wr.wr, &failed_wr); in rds_ib_xmit_rdma()
[all …]
Dib_recv.c112 head->first = NULL; in rds_ib_recv_alloc_cache()
143 if (head->first) { in rds_ib_cache_splice_all_lists()
144 list_splice_entire_tail(head->first, caller_list); in rds_ib_cache_splice_all_lists()
145 head->first = NULL; in rds_ib_cache_splice_all_lists()
479 chpfirst = __this_cpu_read(cache->percpu->first); in rds_ib_recv_cache_put()
485 __this_cpu_write(cache->percpu->first, new_item); in rds_ib_recv_cache_put()
505 __this_cpu_write(cache->percpu->first, NULL); in rds_ib_recv_cache_put()
Dib.h50 struct list_head *first; member
/net/sched/
Dsch_fq.c78 struct fq_flow *first; member
138 if (head->first) in fq_flow_add_tail()
141 head->first = flow; in fq_flow_add_tail()
475 if (!head->first) { in fq_dequeue()
477 if (!head->first) { in fq_dequeue()
484 f = head->first; in fq_dequeue()
488 head->first = f->next; in fq_dequeue()
496 head->first = f->next; in fq_dequeue()
503 head->first = f->next; in fq_dequeue()
505 if ((head == &q->new_flows) && q->old_flows.first) { in fq_dequeue()
[all …]
Dcls_api.c118 u32 first = TC_H_MAKE(0xC0000000U, 0U); in tcf_auto_prio() local
121 first = tp->prio - 1; in tcf_auto_prio()
123 return TC_H_MAJ(first); in tcf_auto_prio()
Dcls_flower.c106 size_t i, first = 0, last = size - 1; in fl_mask_update_range() local
110 if (!first && i) in fl_mask_update_range()
111 first = i; in fl_mask_update_range()
115 mask->range.start = rounddown(first, sizeof(long)); in fl_mask_update_range()
/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c193 bool first; in xdr_check_read_list() local
195 first = true; in xdr_check_read_list()
197 if (first) { in xdr_check_read_list()
199 first = false; in xdr_check_read_list()
Dfrwr_ops.c465 struct ib_send_wr *first, **prev, *last, *bad_wr; in frwr_op_unmap_sync() local
478 prev = &first; in frwr_op_unmap_sync()
523 rc = ib_post_send(ia->ri_id->qp, first, &bad_wr); in frwr_op_unmap_sync()
524 if (bad_wr != first) in frwr_op_unmap_sync()
Drpc_rdma.c1090 bool first; in decode_write_list() local
1094 first = true; in decode_write_list()
1101 if (!first) in decode_write_list()
1107 first = false; in decode_write_list()
/net/switchdev/
Dswitchdev.c188 struct switchdev_attr first = { in switchdev_port_attr_get() local
209 if (first.id == SWITCHDEV_ATTR_ID_UNDEFINED) in switchdev_port_attr_get()
210 first = *attr; in switchdev_port_attr_get()
211 else if (memcmp(&first, attr, sizeof(*attr))) in switchdev_port_attr_get()
/net/netrom/
Dnr_route.c599 struct net_device *dev, *first = NULL; in nr_dev_first() local
604 if (first == NULL || strncmp(dev->name, first->name, 3) < 0) in nr_dev_first()
605 first = dev; in nr_dev_first()
607 if (first) in nr_dev_first()
608 dev_hold(first); in nr_dev_first()
611 return first; in nr_dev_first()
/net/ax25/
Dax25_out.c123 int frontlen, len, fragno, ka9qfrag, first = 1; in ax25_output() local
170 if (first) { in ax25_output()
172 first = 0; in ax25_output()
/net/batman-adv/
Dhard-interface.c399 struct hlist_node *first; in batadv_hardif_no_broadcast() local
405 first = rcu_dereference(hlist_first_rcu(&if_outgoing->neigh_list)); in batadv_hardif_no_broadcast()
406 if (!first) { in batadv_hardif_no_broadcast()
412 if (rcu_dereference(hlist_next_rcu(first))) in batadv_hardif_no_broadcast()
415 hardif_neigh = hlist_entry(first, struct batadv_hardif_neigh_node, in batadv_hardif_no_broadcast()
/net/netfilter/ipset/
Dip_set_bitmap_gen.h220 u32 id, first = cb->args[IPSET_CB_ARG0]; in mtype_list() local
241 if (id == first) { in mtype_list()
264 if (unlikely(id == first)) { in mtype_list()
Dip_set_list_set.c503 u32 i = 0, first = cb->args[IPSET_CB_ARG0]; in list_set_list() local
514 if (i < first || in list_set_list()
539 if (unlikely(i == first)) { in list_set_list()
/net/ipv4/
Dudp.c256 unsigned short first, last; in udp_lib_get_port() local
263 first = reciprocal_scale(rand, remaining) + low; in udp_lib_get_port()
268 last = first + udptable->mask + 1; in udp_lib_get_port()
270 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port()
276 snum = first; in udp_lib_get_port()
288 } while (snum != first); in udp_lib_get_port()
291 } while (++first != last); in udp_lib_get_port()
1977 struct sock *sk, *first = NULL; in __udp4_lib_mcast_deliver() local
2001 if (!first) { in __udp4_lib_mcast_deliver()
2002 first = sk; in __udp4_lib_mcast_deliver()
[all …]
Digmp.c472 int scount, stotal, first, isquery, truncate; in add_grec() local
507 first = 1; in add_grec()
533 first*sizeof(struct igmpv3_grec)) { in add_grec()
534 if (truncate && !first) in add_grec()
541 first = 1; in add_grec()
544 if (first) { in add_grec()
546 first = 0; in add_grec()
/net/rose/
Drose_route.c609 struct net_device *dev, *first = NULL; in rose_dev_first() local
614 if (first == NULL || strncmp(dev->name, first->name, 3) < 0) in rose_dev_first()
615 first = dev; in rose_dev_first()
619 return first; in rose_dev_first()
/net/caif/
Dcfctrl.c143 struct cfctrl_request_info *p, *tmp, *first; in cfctrl_remove_req() local
145 first = list_first_entry(&ctrl->list, struct cfctrl_request_info, list); in cfctrl_remove_req()
149 if (p != first) in cfctrl_remove_req()
/net/decnet/
DKconfig36 filtering". The first two are required to allow configuration via
/net/sunrpc/auth_gss/
Dauth_gss.c1746 int first, last, i; in alloc_enc_pages() local
1756 first = snd_buf->page_base >> PAGE_SHIFT; in alloc_enc_pages()
1758 rqstp->rq_enc_pages_num = last - first + 1 + 1; in alloc_enc_pages()
1789 int first; in gss_wrap_req_priv() local
1803 first = snd_buf->page_base >> PAGE_SHIFT; in gss_wrap_req_priv()
1804 inpages = snd_buf->pages + first; in gss_wrap_req_priv()
1806 snd_buf->page_base -= first << PAGE_SHIFT; in gss_wrap_req_priv()
/net/ipv6/
Dudp.c711 struct sock *sk, *first = NULL; in __udp6_lib_mcast_deliver() local
739 if (!first) { in __udp6_lib_mcast_deliver()
740 first = sk; in __udp6_lib_mcast_deliver()
763 if (first) { in __udp6_lib_mcast_deliver()
764 if (udpv6_queue_rcv_skb(first, skb) > 0) in __udp6_lib_mcast_deliver()
Dmcast.c1716 int scount, stotal, first, isquery, truncate; in add_grec() local
1749 first = 1; in add_grec()
1775 first*sizeof(struct mld2_grec)) { in add_grec()
1776 if (truncate && !first) in add_grec()
1783 first = 1; in add_grec()
1786 if (first) { in add_grec()
1788 first = 0; in add_grec()
/net/bluetooth/
DKconfig103 cases are run first thing at module load time. When the Bluetooth
/net/rxrpc/
Dpeer_event.c299 call = hlist_entry(peer->error_targets.first, in rxrpc_peer_error_distributor()

12