Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 71) sorted by relevance

123

/net/sunrpc/xprtrdma/
Dfrwr_ops.c527 struct ib_send_wr *first, **prev, *last; in frwr_unmap_sync() local
547 last = &frwr->fr_invwr; in frwr_unmap_sync()
548 last->next = NULL; in frwr_unmap_sync()
549 last->wr_cqe = &frwr->fr_cqe; in frwr_unmap_sync()
550 last->sg_list = NULL; in frwr_unmap_sync()
551 last->num_sge = 0; in frwr_unmap_sync()
552 last->opcode = IB_WR_LOCAL_INV; in frwr_unmap_sync()
553 last->send_flags = IB_SEND_SIGNALED; in frwr_unmap_sync()
554 last->ex.invalidate_rkey = mr->mr_handle; in frwr_unmap_sync()
556 *prev = last; in frwr_unmap_sync()
[all …]
/net/openvswitch/
Dactions.c157 bool last, bool clone_flow_key);
969 bool last) in sample() argument
984 if (last) in sample()
990 return clone_execute(dp, skb, key, 0, actions, rem, last, in sample()
1000 bool last) in clone() argument
1012 return clone_execute(dp, skb, key, 0, actions, rem, last, in clone()
1128 const struct nlattr *a, bool last) in execute_recirc() argument
1142 return clone_execute(dp, skb, key, recirc_id, NULL, 0, last, true); in execute_recirc()
1147 const struct nlattr *attr, bool last) in execute_check_pkt_len() argument
1176 nla_len(actions), last, clone_flow_key); in execute_check_pkt_len()
[all …]
/net/netfilter/ipvs/
Dip_vs_wrr.c163 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()
Dip_vs_rr.c57 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/netfilter/ipset/
Dpfxlen.c174 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/sctp/
Dulpqueue.c326 struct sk_buff *pnext, *last; in sctp_make_reassembled_event() local
336 for (last = list; list; last = list, list = list->next) in sctp_make_reassembled_event()
342 if (last) in sctp_make_reassembled_event()
343 last->next = pos; in sctp_make_reassembled_event()
970 struct sk_buff *skb, *flist, *last; in sctp_ulpq_renege_list() local
990 for (last = flist; flist; flist = flist->next) { in sctp_ulpq_renege_list()
991 last = flist; in sctp_ulpq_renege_list()
992 freed += skb_headlen(last); in sctp_ulpq_renege_list()
994 if (last) in sctp_ulpq_renege_list()
995 last_tsn = sctp_skb2event(last)->tsn; in sctp_ulpq_renege_list()
Dsm_make_chunk.c3833 __be16 last = 0; in sctp_verify_reconf() local
3846 (last && last != SCTP_PARAM_RESET_RESPONSE && in sctp_verify_reconf()
3847 last != SCTP_PARAM_RESET_IN_REQUEST)) in sctp_verify_reconf()
3852 (last && last != SCTP_PARAM_RESET_OUT_REQUEST)) in sctp_verify_reconf()
3858 (last && last != SCTP_PARAM_RESET_RESPONSE && in sctp_verify_reconf()
3859 last != SCTP_PARAM_RESET_OUT_REQUEST)) in sctp_verify_reconf()
3864 sizeof(struct sctp_strreset_tsnreq) || last) in sctp_verify_reconf()
3869 (last && last != SCTP_PARAM_RESET_ADD_OUT_STREAMS)) in sctp_verify_reconf()
3874 (last && last != SCTP_PARAM_RESET_ADD_IN_STREAMS)) in sctp_verify_reconf()
3881 last = param.p->type; in sctp_verify_reconf()
/net/sched/
Dsch_netem.c103 u32 last; member
174 state->last = prandom_u32(); in init_crandom()
191 answer = (value * ((1ull<<32) - rho) + state->last * rho) >> 32; in get_crandom()
192 state->last = answer; in get_crandom()
542 struct netem_skb_cb *last = NULL; in netem_enqueue() local
545 last = netem_skb_cb(sch->q.tail); in netem_enqueue()
552 if (!last || in netem_enqueue()
553 t_last->time_to_send > last->time_to_send) in netem_enqueue()
554 last = t_last; in netem_enqueue()
560 if (!last || in netem_enqueue()
[all …]
Dsch_cbs.c73 s64 last; /* timestamp in ns */ member
124 q->last = ktime_get_ns(); in cbs_enqueue_soft()
185 credits = timediff_to_credits(now - q->last, q->idleslope); in cbs_dequeue_soft()
196 q->last = now; in cbs_dequeue_soft()
215 q->last = now; in cbs_dequeue_soft()
Dsch_etf.c34 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()
247 q->last = skb->tstamp; in timesortedlist_remove()
450 q->last = 0; in etf_reset()
Dcls_fw.c154 static int fw_delete(struct tcf_proto *tp, void *arg, bool *last, in fw_delete() argument
181 *last = true; in fw_delete()
184 *last = false; in fw_delete()
/net/core/
Ddatagram.c171 struct sk_buff **last) in __skb_try_recv_from_queue() argument
182 *last = queue->prev; in __skb_try_recv_from_queue()
248 struct sk_buff **last) in __skb_try_recv_datagram() argument
270 off, &error, last); in __skb_try_recv_datagram()
281 } while (READ_ONCE(sk->sk_receive_queue.prev) != *last); in __skb_try_recv_datagram()
296 struct sk_buff *skb, *last; in __skb_recv_datagram() local
303 &last); in __skb_recv_datagram()
310 !__skb_wait_for_more_packets(sk, err, &timeo, last)); in __skb_recv_datagram()
/net/ipv4/
Dinet_fragment.c347 struct sk_buff *last = q->fragments_tail; in inet_frag_queue_insert() local
358 if (!last) in inet_frag_queue_insert()
360 else if (last->ip_defrag_offset + last->len < end) { in inet_frag_queue_insert()
363 if (offset < last->ip_defrag_offset + last->len) in inet_frag_queue_insert()
365 if (offset == last->ip_defrag_offset + last->len) in inet_frag_queue_insert()
Dip_input.c152 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/
Dbind.c98 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/
Dax25_out.c244 int last = 1; in ax25_kick() local
288 last = (next == end); in ax25_kick()
298 ax25_send_iframe(ax25, skbn, (last) ? AX25_POLLON : AX25_POLLOFF); in ax25_kick()
315 } while (!last && (skb = skb_dequeue(&ax25->write_queue)) != NULL); in ax25_kick()
/net/netfilter/
Dnft_limit.c19 u64 last; member
35 tokens = limit->tokens + now - limit->last; in nft_limit_eval()
39 limit->last = now; in nft_limit_eval()
98 limit->last = ktime_get_ns(); in nft_limit_init()
Dnfnetlink_acct.c191 struct nf_acct *cur, *last; in nfnl_acct_dump() local
197 last = (struct nf_acct *)cb->args[1]; in nfnl_acct_dump()
203 if (last) { in nfnl_acct_dump()
204 if (cur != last) in nfnl_acct_dump()
207 last = NULL; in nfnl_acct_dump()
Dnfnetlink_cttimeout.c210 struct ctnl_timeout *cur, *last; in ctnl_timeout_dump() local
215 last = (struct ctnl_timeout *)cb->args[1]; in ctnl_timeout_dump()
221 if (last) { in ctnl_timeout_dump()
222 if (cur != last) in ctnl_timeout_dump()
225 last = NULL; in ctnl_timeout_dump()
Dnf_conntrack_netlink.c907 struct nf_conn *ct, *last; in ctnetlink_dump_table() local
914 last = (struct nf_conn *)cb->args[1]; in ctnetlink_dump_table()
949 if (ct != last) in ctnetlink_dump_table()
978 if (last) { in ctnetlink_dump_table()
980 if ((struct nf_conn *)cb->args[1] == last) in ctnetlink_dump_table()
983 nf_ct_put(last); in ctnetlink_dump_table()
1398 struct nf_conn *ct, *last; in ctnetlink_dump_list() local
1411 last = (struct nf_conn *)cb->args[1]; in ctnetlink_dump_list()
1428 if (ct != last) in ctnetlink_dump_list()
1455 if (last) in ctnetlink_dump_list()
[all …]
/net/rxrpc/
Drecvmsg.c180 bool last = false; in rxrpc_rotate_rx_window() local
201 last = true; in rxrpc_rotate_rx_window()
211 if (last) { in rxrpc_rotate_rx_window()
276 bool last = false; in rxrpc_locate_data() local
287 last = true; in rxrpc_locate_data()
298 *_last = last; in rxrpc_locate_data()
Dsendmsg.c157 struct sk_buff *skb, bool last, in rxrpc_queue_packet() argument
170 if (last) in rxrpc_queue_packet()
184 if (last) in rxrpc_queue_packet()
189 if (last || call->state == RXRPC_CALL_SERVER_ACK_REQUEST) { in rxrpc_queue_packet()
204 if (!last) in rxrpc_queue_packet()
/net/ipv6/
Daddrlabel.c206 struct ip6addrlbl_entry *last = NULL, *p = NULL; in __ip6addrlbl_add() local
229 last = p; in __ip6addrlbl_add()
231 if (last) in __ip6addrlbl_add()
232 hlist_add_behind_rcu(&newp->list, &last->list); in __ip6addrlbl_add()
/net/rfkill/
Dinput.c140 static unsigned long rfkill_ratelimit(const unsigned long last) in rfkill_ratelimit() argument
143 return time_after(jiffies, last + delay) ? 0 : delay; in rfkill_ratelimit()
/net/unix/
Daf_unix.c2048 struct sk_buff *skb, *last; in unix_dgram_recvmsg() local
2064 &last); in unix_dgram_recvmsg()
2073 !__skb_wait_for_more_packets(sk, &err, &timeo, last)); in unix_dgram_recvmsg()
2149 struct sk_buff *last, unsigned int last_len, in unix_stream_data_wait() argument
2161 if (tail != last || in unix_stream_data_wait()
2247 struct sk_buff *skb, *last; in unix_stream_read_generic() local
2255 last = skb = skb_peek(&sk->sk_receive_queue); in unix_stream_read_generic()
2256 last_len = last ? last->len : 0; in unix_stream_read_generic()
2280 timeo = unix_stream_data_wait(sk, timeo, last, in unix_stream_read_generic()
2298 last = skb; in unix_stream_read_generic()
[all …]

123