Home
last modified time | relevance | path

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

123

/net/netfilter/
A Dnft_set_pipapo_avx2.c227 if (first) { in nft_pipapo_avx2_lookup_4b_2()
290 if (first) { in nft_pipapo_avx2_lookup_4b_4()
369 if (first) { in nft_pipapo_avx2_lookup_4b_8()
466 if (!first) in nft_pipapo_avx2_lookup_4b_12()
561 if (!first) in nft_pipapo_avx2_lookup_4b_32()
688 if (first) { in nft_pipapo_avx2_lookup_8b_1()
746 if (first) { in nft_pipapo_avx2_lookup_8b_2()
811 if (first) { in nft_pipapo_avx2_lookup_8b_4()
887 if (first) { in nft_pipapo_avx2_lookup_8b_6()
973 if (!first) in nft_pipapo_avx2_lookup_8b_16()
[all …]
A Dnft_set_rbtree.c291 struct rb_node *first) in nft_rbtree_update_first() argument
295 first_elem = rb_entry(first, struct nft_rbtree_elem, node); in nft_rbtree_update_first()
310 struct rb_node *node, *next, *parent, **p, *first = NULL; in __nft_rbtree_insert() local
331 if (!first || in __nft_rbtree_insert()
332 nft_rbtree_update_first(set, rbe, first)) in __nft_rbtree_insert()
333 first = &rbe->node; in __nft_rbtree_insert()
344 if (!first) in __nft_rbtree_insert()
345 first = rb_first(&priv->root); in __nft_rbtree_insert()
351 for (node = first; node != NULL; node = next) { in __nft_rbtree_insert()
A Dnft_set_pipapo.c1498 static unsigned int pipapo_rules_same_key(struct nft_pipapo_field *f, unsigned int first) argument
1503 for (r = first; r < f->rules; r++) {
1504 if (r != first && e != f->mt[r].e)
1505 return r - first;
1510 if (r != first)
1511 return r - first;
/net/tls/
A Dtls_strp.c284 struct sk_buff *nskb, *first, *last; in tls_strp_copyin_skb() local
304 first = shinfo->frag_list; in tls_strp_copyin_skb()
305 last = first->prev; in tls_strp_copyin_skb()
307 first->prev = nskb; in tls_strp_copyin_skb()
431 struct sk_buff *first, *skb; in tls_strp_check_queue_ok() local
435 skb = first; in tls_strp_check_queue_ok()
436 seq = TCP_SKB_CB(first)->seq; in tls_strp_check_queue_ok()
448 if (skb_cmp_decrypted(first, skb)) in tls_strp_check_queue_ok()
458 struct sk_buff *first; in tls_strp_load_anchor_with_queue() local
462 if (WARN_ON_ONCE(!first)) in tls_strp_load_anchor_with_queue()
[all …]
/net/rds/
A Dib_send.c490 struct rds_ib_send_work *first; in rds_ib_xmit() local
620 first = send; in rds_ib_xmit()
736 failed_wr = &first->s_wr; in rds_ib_xmit()
739 first, &first->s_wr, ret, failed_wr); in rds_ib_xmit()
740 BUG_ON(failed_wr != &first->s_wr); in rds_ib_xmit()
856 struct rds_ib_send_work *first; in rds_ib_xmit_rdma() local
911 first = send; in rds_ib_xmit_rdma()
986 failed_wr = &first->s_rdma_wr.wr; in rds_ib_xmit_rdma()
989 first, &first->s_rdma_wr.wr, ret, failed_wr); in rds_ib_xmit_rdma()
990 BUG_ON(failed_wr != &first->s_rdma_wr.wr); in rds_ib_xmit_rdma()
[all …]
A Dib_recv.c113 head->first = NULL; in rds_ib_recv_alloc_cache()
144 if (head->first) { in rds_ib_cache_splice_all_lists()
145 list_splice_entire_tail(head->first, caller_list); in rds_ib_cache_splice_all_lists()
146 head->first = NULL; in rds_ib_cache_splice_all_lists()
487 chpfirst = __this_cpu_read(cache->percpu->first); in rds_ib_recv_cache_put()
493 __this_cpu_write(cache->percpu->first, new_item); in rds_ib_recv_cache_put()
513 __this_cpu_write(cache->percpu->first, NULL); in rds_ib_recv_cache_put()
/net/ethtool/
A Dcabletest.c248 cfg->first = 100; in ethnl_act_cable_test_tdr_cfg()
264 cfg->first = nla_get_u32( in ethnl_act_cable_test_tdr_cfg()
284 if (cfg->first > MAX_CABLE_LENGTH_CM) { in ethnl_act_cable_test_tdr_cfg()
298 if (cfg->first > cfg->last) { in ethnl_act_cable_test_tdr_cfg()
310 if (cfg->step > (cfg->last - cfg->first)) { in ethnl_act_cable_test_tdr_cfg()
426 int ethnl_cable_test_step(struct phy_device *phydev, u32 first, u32 last, in ethnl_cable_test_step() argument
437 first)) in ethnl_cable_test_step()
/net/mptcp/
A Dsched.c176 if (msk->first && in mptcp_sched_get_send()
177 __tcp_can_send(msk->first) && in mptcp_sched_get_send()
178 sk_stream_memory_free(msk->first)) { in mptcp_sched_get_send()
179 mptcp_subflow_set_scheduled(mptcp_subflow_ctx(msk->first), true); in mptcp_sched_get_send()
A Dprotocol.c129 if (!msk->first) { in __mptcp_nmpc_sk()
135 return msk->first; in __mptcp_nmpc_sk()
1014 bool first = true; in mptcp_enter_memory_pressure() local
1019 if (first) in mptcp_enter_memory_pressure()
1023 first = false; in mptcp_enter_memory_pressure()
1598 if (first) { in __mptcp_subflow_push_pending()
1601 first = false; in __mptcp_subflow_push_pending()
1668 if (!msk->first) in mptcp_sendmsg_fastopen()
1671 ssk = msk->first; in mptcp_sendmsg_fastopen()
2437 if (ssk == msk->first) in __mptcp_close_ssk()
[all …]
/net/sunrpc/xprtrdma/
A Dfrwr_ops.c499 struct ib_send_wr *first, **prev, *last; in frwr_unmap_sync() local
510 prev = &first; in frwr_unmap_sync()
545 rc = ib_post_send(ep->re_id->qp, first, &bad_wr); in frwr_unmap_sync()
551 if (bad_wr != first) in frwr_unmap_sync()
605 struct ib_send_wr *first, *last, **prev; in frwr_unmap_async() local
613 prev = &first; in frwr_unmap_async()
645 rc = ib_post_send(ep->re_id->qp, first, NULL); in frwr_unmap_async()
A Dsvc_rdma_rw.c176 struct llist_node *first, *last; in svc_rdma_cc_release() local
182 first = last = NULL; in svc_rdma_cc_release()
191 ctxt->rw_node.next = first; in svc_rdma_cc_release()
192 first = &ctxt->rw_node; in svc_rdma_cc_release()
194 last = first; in svc_rdma_cc_release()
196 if (first) in svc_rdma_cc_release()
197 llist_add_batch(first, last, &rdma->sc_rw_ctxts); in svc_rdma_cc_release()
/net/can/j1939/
A Dsocket.c152 struct j1939_session *first; in j1939_sk_queue_activate_next_locked() local
164 first = list_first_entry_or_null(&jsk->sk_session_queue, in j1939_sk_queue_activate_next_locked()
169 if (first != session) in j1939_sk_queue_activate_next_locked()
173 list_del_init(&first->sk_session_queue_entry); in j1939_sk_queue_activate_next_locked()
174 j1939_session_put(first); in j1939_sk_queue_activate_next_locked()
178 if (!first) in j1939_sk_queue_activate_next_locked()
181 if (j1939_session_activate(first)) { in j1939_sk_queue_activate_next_locked()
182 netdev_warn_once(first->priv->ndev, in j1939_sk_queue_activate_next_locked()
184 __func__, first); in j1939_sk_queue_activate_next_locked()
185 first->err = -EBUSY; in j1939_sk_queue_activate_next_locked()
[all …]
/net/sched/
A Dsch_fq.c98 struct fq_flow *first; member
205 if (head->first) in fq_flow_add_tail()
208 head->first = flow; in fq_flow_add_tail()
642 if (pband->new_flows.first) in fq_pband_head_select()
693 f = head->first; in fq_dequeue()
697 head->first = f->next; in fq_dequeue()
708 head->first = f->next; in fq_dequeue()
723 head->first = f->next; in fq_dequeue()
827 q->band_flows[idx].new_flows.first = NULL; in fq_reset()
1177 q->band_flows[i].new_flows.first = NULL; in fq_init()
[all …]
A Dsch_taprio.c1244 struct sched_entry *first; in setup_first_end_time() local
1248 first = list_first_entry(&sched->entries, in setup_first_end_time()
1256 first->end_time = ktime_add_ns(base, first->interval); in setup_first_end_time()
1257 taprio_set_budgets(q, sched, first); in setup_first_end_time()
1260 if (first->gate_duration[tc] == sched->cycle_time) in setup_first_end_time()
1261 first->gate_close_time[tc] = KTIME_MAX; in setup_first_end_time()
1263 first->gate_close_time[tc] = ktime_add_ns(base, first->gate_duration[tc]); in setup_first_end_time()
/net/tipc/
A Dname_table.c338 bool first = false; in tipc_service_insert_publ() local
347 first = list_empty(&sr->all_publ); in tipc_service_insert_publ()
366 tipc_sub_report_overlap(sub, p, TIPC_PUBLISHED, first); in tipc_service_insert_publ()
424 struct publication *p, *first, *tmp; in tipc_service_subscribe() local
441 first = NULL; in tipc_service_subscribe()
445 else if (!first || publication_after(first, p)) in tipc_service_subscribe()
447 first = p; in tipc_service_subscribe()
449 if (first) in tipc_service_subscribe()
450 list_add_tail(&first->list, &publ_list); in tipc_service_subscribe()
/net/batman-adv/
A Dhard-interface.c407 struct hlist_node *first; in batadv_hardif_no_broadcast() local
413 first = rcu_dereference(hlist_first_rcu(&if_outgoing->neigh_list)); in batadv_hardif_no_broadcast()
414 if (!first) { in batadv_hardif_no_broadcast()
420 if (rcu_dereference(hlist_next_rcu(first))) in batadv_hardif_no_broadcast()
423 hardif_neigh = hlist_entry(first, struct batadv_hardif_neigh_node, in batadv_hardif_no_broadcast()
/net/ax25/
A Dax25_out.c130 int frontlen, len, fragno, ka9qfrag, first = 1; in ax25_output() local
177 if (first) { in ax25_output()
179 first = 0; in ax25_output()
/net/netrom/
A 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 dev_hold(first); in nr_dev_first()
583 return first; in nr_dev_first()
/net/rose/
A Drose_route.c603 struct net_device *dev, *first = NULL; in rose_dev_first() local
608 if (first == NULL || strncmp(dev->name, first->name, 3) < 0) in rose_dev_first()
609 first = dev; in rose_dev_first()
611 if (first) in rose_dev_first()
612 dev_hold(first); in rose_dev_first()
615 return first; in rose_dev_first()
/net/netfilter/ipset/
A 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()
A Dip_set_list_set.c483 u32 i = 0, first = cb->args[IPSET_CB_ARG0]; in list_set_list() local
494 if (i < first || in list_set_list()
519 if (unlikely(i == first)) { in list_set_list()
/net/ipv4/
A Dudp_tunnel_nic.c873 struct udp_tunnel_nic_shared_node *node, *first; in udp_tunnel_nic_unregister() local
886 first = list_first_entry_or_null(&info->shared->devices, in udp_tunnel_nic_unregister()
887 typeof(*first), list); in udp_tunnel_nic_unregister()
888 if (first) { in udp_tunnel_nic_unregister()
890 utn->dev = first->dev; in udp_tunnel_nic_unregister()
A Dtcp_ao.c1604 bool first = false; in tcp_ao_add_cmd() local
1692 first = true; in tcp_ao_add_cmd()
1730 if (first) { in tcp_ao_add_cmd()
1737 if (first) { in tcp_ao_add_cmd()
1757 if (first) in tcp_ao_add_cmd()
1964 bool first = false; in tcp_ao_info_cmd() local
1991 first = true; in tcp_ao_info_cmd()
2032 if (first) { in tcp_ao_info_cmd()
2042 if (first) in tcp_ao_info_cmd()
A Dudp.c249 unsigned short first, last; in udp_lib_get_port() local
262 last = first + udptable->mask + 1; in udp_lib_get_port()
264 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port()
270 snum = first; in udp_lib_get_port()
282 } while (snum != first); in udp_lib_get_port()
285 } while (++first != last); in udp_lib_get_port()
2506 struct sock *sk, *first = NULL; in __udp4_lib_mcast_deliver() local
2530 if (!first) { in __udp4_lib_mcast_deliver()
2531 first = sk; in __udp4_lib_mcast_deliver()
2554 if (first) { in __udp4_lib_mcast_deliver()
[all …]
/net/caif/
A 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()

Completed in 73 milliseconds

123