Home
last modified time | relevance | path

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

12

/net/rds/
Dib_send.c489 struct rds_ib_send_work *first; in rds_ib_xmit() local
619 first = send; in rds_ib_xmit()
723 failed_wr = &first->s_wr; in rds_ib_xmit()
724 ret = ib_post_send(ic->i_cm_id->qp, &first->s_wr, &failed_wr); in rds_ib_xmit()
726 first, &first->s_wr, ret, failed_wr); in rds_ib_xmit()
727 BUG_ON(failed_wr != &first->s_wr); in rds_ib_xmit()
843 struct rds_ib_send_work *first; in rds_ib_xmit_rdma() local
889 first = send; in rds_ib_xmit_rdma()
958 failed_wr = &first->s_rdma_wr.wr; in rds_ib_xmit_rdma()
959 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()
485 chpfirst = __this_cpu_read(cache->percpu->first); in rds_ib_recv_cache_put()
491 __this_cpu_write(cache->percpu->first, new_item); in rds_ib_recv_cache_put()
511 __this_cpu_write(cache->percpu->first, NULL); in rds_ib_recv_cache_put()
/net/sched/
Dsch_fq.c87 struct fq_flow *first; member
148 if (head->first) in fq_flow_add_tail()
151 head->first = flow; in fq_flow_add_tail()
503 if (!head->first) { in fq_dequeue()
505 if (!head->first) { in fq_dequeue()
512 f = head->first; in fq_dequeue()
516 head->first = f->next; in fq_dequeue()
527 head->first = f->next; in fq_dequeue()
541 head->first = f->next; in fq_dequeue()
543 if ((head == &q->new_flows) && q->old_flows.first) { in fq_dequeue()
[all …]
Dsch_drr.c347 bool first; in drr_enqueue() local
357 first = !cl->qdisc->q.qlen; in drr_enqueue()
367 if (first) { in drr_enqueue()
Dsch_taprio.c997 struct sched_entry *first; in setup_first_close_time() local
1000 first = list_first_entry(&sched->entries, in setup_first_close_time()
1008 first->close_time = ktime_add_ns(base, first->interval); in setup_first_close_time()
1009 taprio_set_budget(q, first); in setup_first_close_time()
Dsch_qfq.c899 return hlist_entry(grp->slots[grp->front].first, in qfq_slot_head()
1205 bool first; in qfq_enqueue() local
1227 first = !cl->qdisc->q.qlen; in qfq_enqueue()
1245 if (!first) { in qfq_enqueue()
/net/sunrpc/xprtrdma/
Dfrwr_ops.c527 struct ib_send_wr *first, **prev, *last; in frwr_unmap_sync() local
539 prev = &first; in frwr_unmap_sync()
572 rc = ib_post_send(r_xprt->rx_ia.ri_id->qp, first, &bad_wr); in frwr_unmap_sync()
578 if (bad_wr != first) in frwr_unmap_sync()
632 struct ib_send_wr *first, *last, **prev; in frwr_unmap_async() local
642 prev = &first; in frwr_unmap_async()
675 rc = ib_post_send(r_xprt->rx_ia.ri_id->qp, first, &bad_wr); in frwr_unmap_async()
Dsvc_rdma_recvfrom.c389 bool first; in xdr_check_read_list() local
391 first = true; in xdr_check_read_list()
393 if (first) { in xdr_check_read_list()
395 first = false; in xdr_check_read_list()
Drpc_rdma.c1125 bool first; in decode_write_list() local
1129 first = true; in decode_write_list()
1136 if (!first) in decode_write_list()
1142 first = false; in decode_write_list()
/net/can/j1939/
Dsocket.c151 struct j1939_session *first; in j1939_sk_queue_activate_next_locked() local
163 first = list_first_entry_or_null(&jsk->sk_session_queue, in j1939_sk_queue_activate_next_locked()
168 if (first != session) in j1939_sk_queue_activate_next_locked()
172 list_del_init(&first->sk_session_queue_entry); in j1939_sk_queue_activate_next_locked()
173 j1939_session_put(first); in j1939_sk_queue_activate_next_locked()
174 first = list_first_entry_or_null(&jsk->sk_session_queue, in j1939_sk_queue_activate_next_locked()
177 if (!first) in j1939_sk_queue_activate_next_locked()
180 if (WARN_ON_ONCE(j1939_session_activate(first))) { in j1939_sk_queue_activate_next_locked()
181 first->err = -EBUSY; in j1939_sk_queue_activate_next_locked()
190 j1939_tp_schedule_txtimer(first, time_ms); in j1939_sk_queue_activate_next_locked()
/net/netrom/
Dnr_route.c572 struct net_device *dev, *first = NULL; in nr_dev_first() local
577 if (first == NULL || strncmp(dev->name, first->name, 3) < 0) in nr_dev_first()
578 first = dev; in nr_dev_first()
580 if (first) in nr_dev_first()
581 dev_hold(first); in nr_dev_first()
584 return first; in nr_dev_first()
/net/ax25/
Dax25_out.c120 int frontlen, len, fragno, ka9qfrag, first = 1; in ax25_output() local
167 if (first) { in ax25_output()
169 first = 0; in ax25_output()
/net/batman-adv/
Dhard-interface.c395 struct hlist_node *first; in batadv_hardif_no_broadcast() local
401 first = rcu_dereference(hlist_first_rcu(&if_outgoing->neigh_list)); in batadv_hardif_no_broadcast()
402 if (!first) { in batadv_hardif_no_broadcast()
408 if (rcu_dereference(hlist_next_rcu(first))) in batadv_hardif_no_broadcast()
411 hardif_neigh = hlist_entry(first, struct batadv_hardif_neigh_node, in batadv_hardif_no_broadcast()
/net/netfilter/ipset/
Dip_set_bitmap_gen.h209 u32 id, first = cb->args[IPSET_CB_ARG0]; in mtype_list() local
231 if (id == first) { in mtype_list()
254 if (unlikely(id == first)) { in mtype_list()
Dip_set_list_set.c488 u32 i = 0, first = cb->args[IPSET_CB_ARG0]; in list_set_list() local
499 if (i < first || in list_set_list()
524 if (unlikely(i == first)) { in list_set_list()
/net/tipc/
Dname_table.c229 bool first = false; in tipc_service_insert_publ() local
235 first = list_empty(&sr->all_publ); in tipc_service_insert_publ()
254 p->port, p->node, p->scope, first); in tipc_service_insert_publ()
293 bool first; in tipc_service_subscribe() local
311 first = true; in tipc_service_subscribe()
316 p->node, p->scope, first); in tipc_service_subscribe()
317 first = false; in tipc_service_subscribe()
/net/sunrpc/
Dsvc.c1647 struct kvec *first, size_t total) in svc_fill_write_vector() argument
1656 if (first->iov_len) { in svc_fill_write_vector()
1657 vec[i].iov_base = first->iov_base; in svc_fill_write_vector()
1658 vec[i].iov_len = min_t(size_t, total, first->iov_len); in svc_fill_write_vector()
1687 char *svc_fill_symlink_pathname(struct svc_rqst *rqstp, struct kvec *first, in svc_fill_symlink_pathname() argument
1700 len = min_t(size_t, total, first->iov_len); in svc_fill_symlink_pathname()
1702 memcpy(dst, first->iov_base, len); in svc_fill_symlink_pathname()
/net/ipv4/
Dudp.c237 unsigned short first, last; in udp_lib_get_port() local
244 first = reciprocal_scale(rand, remaining) + low; in udp_lib_get_port()
249 last = first + udptable->mask + 1; in udp_lib_get_port()
251 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port()
257 snum = first; in udp_lib_get_port()
269 } while (snum != first); in udp_lib_get_port()
272 } while (++first != last); in udp_lib_get_port()
2145 struct sock *sk, *first = NULL; in __udp4_lib_mcast_deliver() local
2169 if (!first) { in __udp4_lib_mcast_deliver()
2170 first = sk; in __udp4_lib_mcast_deliver()
[all …]
Digmp.c467 int scount, stotal, first, isquery, truncate; in add_grec() local
502 first = 1; in add_grec()
528 first*sizeof(struct igmpv3_grec)) { in add_grec()
529 if (truncate && !first) in add_grec()
536 first = 1; in add_grec()
539 if (first) { in add_grec()
541 first = 0; in add_grec()
/net/rose/
Drose_route.c608 struct net_device *dev, *first = NULL; in rose_dev_first() local
613 if (first == NULL || strncmp(dev->name, first->name, 3) < 0) in rose_dev_first()
614 first = dev; in rose_dev_first()
618 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/
DKconfig37 filtering". The first two are required to allow configuration via
/net/sunrpc/auth_gss/
Dauth_gss.c1786 int first, last, i; in alloc_enc_pages() local
1796 first = snd_buf->page_base >> PAGE_SHIFT; in alloc_enc_pages()
1798 rqstp->rq_enc_pages_num = last - first + 1 + 1; in alloc_enc_pages()
1828 int first; in gss_wrap_req_priv() local
1844 first = snd_buf->page_base >> PAGE_SHIFT; in gss_wrap_req_priv()
1845 inpages = snd_buf->pages + first; in gss_wrap_req_priv()
1847 snd_buf->page_base -= first << PAGE_SHIFT; in gss_wrap_req_priv()
/net/ipv6/
Dudp.c747 struct sock *sk, *first = NULL; in __udp6_lib_mcast_deliver() local
777 if (!first) { in __udp6_lib_mcast_deliver()
778 first = sk; in __udp6_lib_mcast_deliver()
801 if (first) { in __udp6_lib_mcast_deliver()
802 if (udpv6_queue_rcv_skb(first, skb) > 0) in __udp6_lib_mcast_deliver()
Dmcast.c1738 int scount, stotal, first, isquery, truncate; in add_grec() local
1771 first = 1; in add_grec()
1797 first*sizeof(struct mld2_grec)) { in add_grec()
1798 if (truncate && !first) in add_grec()
1805 first = 1; in add_grec()
1808 if (first) { in add_grec()
1810 first = 0; in add_grec()

12