| /net/netfilter/ |
| A D | nft_last.c | 17 struct nft_last *last; member 33 last = kzalloc(sizeof(*last), GFP_KERNEL_ACCOUNT); in nft_last_init() 34 if (!last) in nft_last_init() 47 priv->last = last; in nft_last_init() 51 kfree(last); in nft_last_init() 60 struct nft_last *last = priv->last; in nft_last_eval() local 72 struct nft_last *last = priv->last; in nft_last_dump() local 102 kfree(priv->last); in nft_last_destroy() 110 priv_dst->last = kzalloc(sizeof(*priv_dst->last), gfp); in nft_last_clone() 114 priv_dst->last->set = priv_src->last->set; in nft_last_clone() [all …]
|
| A D | nft_set_pipapo_avx2.c | 244 if (last) in nft_pipapo_avx2_lookup_4b_2() 321 if (last) in nft_pipapo_avx2_lookup_4b_4() 416 if (last) in nft_pipapo_avx2_lookup_4b_8() 507 if (last) in nft_pipapo_avx2_lookup_4b_12() 643 if (last) in nft_pipapo_avx2_lookup_4b_32() 701 if (last) in nft_pipapo_avx2_lookup_8b_1() 766 if (last) in nft_pipapo_avx2_lookup_8b_2() 841 if (last) in nft_pipapo_avx2_lookup_8b_4() 927 if (last) in nft_pipapo_avx2_lookup_8b_6() 1021 if (last) in nft_pipapo_avx2_lookup_8b_16() [all …]
|
| A D | nf_tables_core.c | 244 #define nft_rule_dp_for_each_expr(expr, last, rule) \ argument 245 for ((expr) = nft_rule_expr_first(rule), (last) = nft_rule_expr_last(rule); \ 246 (expr) != (last); \ 254 const struct nft_expr *expr, *last; in nft_do_chain() local 276 nft_rule_dp_for_each_expr(expr, last, rule) { in nft_do_chain()
|
| A D | nf_tables_trace.c | 220 const struct nft_rule_dp_last *last; in nft_trace_get_chain() local 228 last = (const struct nft_rule_dp_last *)rule; in nft_trace_get_chain() 230 if (WARN_ON_ONCE(!last->chain)) in nft_trace_get_chain() 233 return last->chain; in nft_trace_get_chain()
|
| A D | nft_limit.c | 19 u64 last; member 39 tokens = priv->limit->tokens + now - priv->limit->last; in nft_limit_eval() 43 priv->limit->last = now; in nft_limit_eval() 120 priv->limit->last = ktime_get_ns(); in nft_limit_init() 167 priv_dst->limit->last = ktime_get_ns(); in nft_limit_clone()
|
| A D | nfnetlink_acct.c | 198 struct nf_acct *cur, *last; in nfnl_acct_dump() local 204 last = (struct nf_acct *)cb->args[1]; in nfnl_acct_dump() 210 if (last) { in nfnl_acct_dump() 211 if (cur != last) in nfnl_acct_dump() 214 last = NULL; in nfnl_acct_dump()
|
| A D | nfnetlink_cttimeout.c | 231 struct ctnl_timeout *cur, *last; in ctnl_timeout_dump() local 236 last = (struct ctnl_timeout *)cb->args[1]; in ctnl_timeout_dump() 243 if (last) { in ctnl_timeout_dump() 244 if (cur != last) in ctnl_timeout_dump() 247 last = NULL; in ctnl_timeout_dump()
|
| /net/sunrpc/xprtrdma/ |
| A D | frwr_ops.c | 516 last = &mr->mr_invwr; in frwr_unmap_sync() 517 last->next = NULL; in frwr_unmap_sync() 519 last->sg_list = NULL; in frwr_unmap_sync() 520 last->num_sge = 0; in frwr_unmap_sync() 527 *prev = last; in frwr_unmap_sync() 528 prev = &last->next; in frwr_unmap_sync() 619 last = &mr->mr_invwr; in frwr_unmap_async() 620 last->next = NULL; in frwr_unmap_async() 623 last->num_sge = 0; in frwr_unmap_async() 630 *prev = last; in frwr_unmap_async() [all …]
|
| /net/core/ |
| A D | datagram.c | 171 struct sk_buff **last) in __skb_try_recv_from_queue() argument 182 *last = queue->prev; in __skb_try_recv_from_queue() 245 struct sk_buff **last) in __skb_try_recv_datagram() argument 266 last); in __skb_try_recv_datagram() 277 } while (READ_ONCE(queue->prev) != *last); in __skb_try_recv_datagram() 291 struct sk_buff *skb, *last; in __skb_recv_datagram() local 298 &last); in __skb_recv_datagram() 306 &timeo, last)); in __skb_recv_datagram() 667 if (head == skb_frag_page(last) && in zerocopy_fill_skb_from_iter() 668 start == skb_frag_off(last) + skb_frag_size(last)) { in zerocopy_fill_skb_from_iter() [all …]
|
| A D | gro.c | 124 lp = NAPI_GRO_CB(p)->last; in skb_gro_receive() 204 if (NAPI_GRO_CB(p)->last == p) in skb_gro_receive() 207 NAPI_GRO_CB(p)->last->next = skb; in skb_gro_receive() 208 NAPI_GRO_CB(p)->last = skb; in skb_gro_receive() 231 if (NAPI_GRO_CB(p)->last == p) in skb_gro_receive_list() 234 NAPI_GRO_CB(p)->last->next = skb; in skb_gro_receive_list() 238 NAPI_GRO_CB(p)->last = skb; in skb_gro_receive_list() 547 NAPI_GRO_CB(skb)->last = skb; in dev_gro_receive()
|
| A D | page_pool_user.c | 394 struct page_pool *pool, *last; in page_pool_unreg_netdev() local 400 last = NULL; in page_pool_unreg_netdev() 405 last = pool; in page_pool_unreg_netdev() 407 if (last) in page_pool_unreg_netdev() 408 hlist_splice_init(&netdev->page_pools, &last->user.list, in page_pool_unreg_netdev()
|
| /net/netfilter/ipvs/ |
| A D | ip_vs_wrr.c | 163 struct ip_vs_dest *dest, *last, *stop = NULL; in ip_vs_wrr_schedule() local 174 last = dest; in ip_vs_wrr_schedule() 196 &last->n_list == &svc->destinations) in ip_vs_wrr_schedule() 202 &last->n_list != &svc->destinations) { in ip_vs_wrr_schedule() 207 stop = last; in ip_vs_wrr_schedule()
|
| A D | ip_vs_rr.c | 57 struct ip_vs_dest *dest, *last; in ip_vs_rr_schedule() local 64 last = dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_rr_schedule() 74 if (dest == last) in ip_vs_rr_schedule()
|
| /net/openvswitch/ |
| A D | actions.c | 123 bool last, bool clone_flow_key); 1005 bool last) in sample() argument 1023 if (last) in sample() 1034 if (!last) in sample() 1046 bool last) in clone() argument 1409 bool last = nla_is_last(a, rem); in do_execute_actions() local 1412 if (last) { in do_execute_actions() 1432 bool last = nla_is_last(a, rem); in do_execute_actions() local 1435 if (last) in do_execute_actions() 1487 if (last) in do_execute_actions() [all …]
|
| /net/netfilter/ipset/ |
| A D | pfxlen.c | 174 u32 last; in ip_set_range_to_cidr() local 180 last = from | ~ip_set_hostmask(i); in ip_set_range_to_cidr() 181 if (!after(last, to)) { in ip_set_range_to_cidr() 183 return last; in ip_set_range_to_cidr()
|
| /net/ethtool/ |
| A D | cabletest.c | 250 cfg->last = MAX_CABLE_LENGTH_CM; in ethnl_act_cable_test_tdr_cfg() 268 cfg->last = nla_get_u32(tb[ETHTOOL_A_CABLE_TEST_TDR_CFG_LAST]); in ethnl_act_cable_test_tdr_cfg() 291 if (cfg->last > 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 440 if (nla_put_u32(phydev->skb, ETHTOOL_A_CABLE_STEP_LAST_DISTANCE, last)) in ethnl_cable_test_step()
|
| /net/sched/ |
| A D | sch_cbs.c | 74 s64 last; /* timestamp in ns */ member 125 q->last = ktime_get_ns(); in cbs_enqueue_soft() 186 if (now < q->last) { in cbs_dequeue_soft() 187 qdisc_watchdog_schedule_ns(&q->watchdog, q->last); in cbs_dequeue_soft() 191 credits = timediff_to_credits(now - q->last, q->idleslope); in cbs_dequeue_soft() 202 q->last = now; in cbs_dequeue_soft() 223 q->last = now; in cbs_dequeue_soft() 225 q->last = now + div64_s64(len * NSEC_PER_SEC, in cbs_dequeue_soft()
|
| A D | sch_netem.c | 107 u32 last; member 183 state->last = get_random_u32(); in init_crandom() 202 state->last = answer; in get_crandom() 564 struct netem_skb_cb *last = NULL; in netem_enqueue() local 567 last = netem_skb_cb(sch->q.tail); in netem_enqueue() 574 if (!last || in netem_enqueue() 576 last = t_last; in netem_enqueue() 582 if (!last || in netem_enqueue() 584 last = t_last; in netem_enqueue() 587 if (last) { in netem_enqueue() [all …]
|
| A D | sch_mqprio_lib.c | 27 unsigned int last = qopt->offset[i] + qopt->count[i]; in mqprio_validate_queue_counts() local 39 last > dev->real_num_tx_queues) { in mqprio_validate_queue_counts() 52 if (intervals_overlap(qopt->offset[i], last, in mqprio_validate_queue_counts()
|
| A D | sch_etf.c | 34 ktime_t last; /* The txtime of the last skb sent to the netdevice. */ member 102 if (ktime_before(txtime, now) || ktime_before(txtime, q->last)) in is_packet_valid() 248 q->last = skb->tstamp; in timesortedlist_remove() 445 q->last = 0; in etf_reset()
|
| /net/sctp/ |
| A D | ulpqueue.c | 320 struct sk_buff *pnext, *last; in sctp_make_reassembled_event() local 330 for (last = list; list; last = list, list = list->next) in sctp_make_reassembled_event() 336 if (last) in sctp_make_reassembled_event() 337 last->next = pos; in sctp_make_reassembled_event() 963 struct sk_buff *skb, *flist, *last; in sctp_ulpq_renege_list() local 983 for (last = flist; flist; flist = flist->next) { in sctp_ulpq_renege_list() 984 last = flist; in sctp_ulpq_renege_list() 985 freed += skb_headlen(last); in sctp_ulpq_renege_list() 987 if (last) in sctp_ulpq_renege_list() 988 last_tsn = sctp_skb2event(last)->tsn; in sctp_ulpq_renege_list()
|
| /net/ipv4/ |
| A D | inet_fragment.c | 388 struct sk_buff *last = q->fragments_tail; in inet_frag_queue_insert() local 399 if (!last) in inet_frag_queue_insert() 401 else if (FRAG_CB(last)->ip_defrag_offset + last->len < end) { in inet_frag_queue_insert() 404 if (offset < FRAG_CB(last)->ip_defrag_offset + last->len) in inet_frag_queue_insert() 406 if (offset == FRAG_CB(last)->ip_defrag_offset + last->len) in inet_frag_queue_insert()
|
| A D | ip_input.c | 152 struct sock *last = NULL; in ip_call_ra_chain() local 169 if (last) { in ip_call_ra_chain() 172 raw_rcv(last, skb2); in ip_call_ra_chain() 174 last = sk; in ip_call_ra_chain() 178 if (last) { in ip_call_ra_chain() 179 raw_rcv(last, skb); in ip_call_ra_chain()
|
| /net/rds/ |
| A D | bind.c | 98 u16 rover, last; in rds_add_bound() local 105 last = rover; in rds_add_bound() 108 last = rover - 1; in rds_add_bound() 143 } while (rover++ != last); in rds_add_bound()
|
| /net/ax25/ |
| A D | ax25_out.c | 254 int last = 1; in ax25_kick() local 298 last = (next == end); in ax25_kick() 308 ax25_send_iframe(ax25, skbn, (last) ? AX25_POLLON : AX25_POLLOFF); in ax25_kick() 325 } while (!last && (skb = skb_dequeue(&ax25->write_queue)) != NULL); in ax25_kick()
|