Searched refs:last (Results 1 - 25 of 48) sorted by relevance

12

/net/netfilter/ipvs/
H A Dip_vs_rr.c62 struct ip_vs_dest *dest, *last; local
69 last = dest = list_entry(p, struct ip_vs_dest, n_list);
79 if (dest == last)
H A Dip_vs_wrr.c46 * last pass: cw = di
53 * so that last cw is 1 to catch such dests with weight below di:
58 * last pass: cw = 1
168 struct ip_vs_dest *dest, *last, *stop = NULL; local
179 last = dest;
180 /* Stop only after all dests were checked for weight >= 1 (last pass) */
194 /* Stop if we tried last pass from first dest:
197 * 2. last was head: the first and only traversal
201 &last->n_list == &svc->destinations)
207 &last
[all...]
/net/rds/
H A Dbind.c114 u16 rover, last; local
118 last = rover;
121 last = rover - 1;
136 } while (rover++ != last);
/net/core/
H A Ddst.c69 struct dst_entry *last = &head; local
80 last->next = dst;
81 last = dst;
113 last->next = NULL;
385 struct dst_entry *dst, *last = NULL; local
392 last = dst;
401 if (last)
402 last->next = dst;
H A Ddatagram.c83 * Wait for the last received packet to be different from skb
156 * * (BTW I've just killed the last cli() in IP/IPv6/core/netlink/packet
167 struct sk_buff *skb, *last; local
190 last = (struct sk_buff *)queue;
193 last = skb;
221 } while (!wait_for_more_packets(sk, err, &timeo, last));
/net/ipv4/
H A Dip_input.c157 struct sock *last = NULL; local
174 if (last) {
177 raw_rcv(last, skb2);
179 last = sk;
183 if (last) {
184 raw_rcv(last, skb);
/net/wireless/
H A Dlib80211_crypt_ccmp.c221 int data_len, i, blocks, last, len; local
242 last = data_len % AES_BLOCK_LEN;
245 len = (i == blocks && last) ? last : AES_BLOCK_LEN;
294 int i, blocks, last, len; local
348 last = data_len % AES_BLOCK_LEN;
351 len = (i == blocks && last) ? last : AES_BLOCK_LEN;
/net/ax25/
H A Dax25_out.c248 int last = 1; local
292 last = (next == end);
296 * bke 960114: do not set the Poll bit on the last frame
302 ax25_send_iframe(ax25, skbn, (last) ? AX25_POLLON : AX25_POLLOFF);
319 } while (!last && (skb = skb_dequeue(&ax25->write_queue)) != NULL);
/net/netfilter/
H A Dnfnetlink_acct.c188 struct nf_acct *cur, *last; local
194 last = (struct nf_acct *)cb->args[1];
200 if (last) {
201 if (cur != last)
204 last = NULL;
H A Dnf_conntrack_expect.c371 struct nf_conntrack_expect *exp, *last = NULL; local
375 last = exp;
378 if (last && del_timer(&last->timeout)) {
379 nf_ct_unlink_expect(last);
380 nf_ct_expect_put(last);
H A Dnf_tables_core.c108 const struct nft_expr *expr, *last; local
133 nft_rule_for_each_expr(expr, last, rule) {
H A Dnfnetlink_cttimeout.c212 struct ctnl_timeout *cur, *last; local
217 last = (struct ctnl_timeout *)cb->args[1];
223 if (last) {
224 if (cur != last)
227 last = NULL;
H A Dnf_conntrack_netlink.c763 struct nf_conn *ct, *last; local
775 last = (struct nf_conn *)cb->args[1];
797 if (ct != last)
829 if (last)
830 nf_ct_put(last);
1155 struct nf_conn *ct, *last; local
1168 last = (struct nf_conn *)cb->args[1];
1185 if (ct != last)
1212 if (last)
1213 nf_ct_put(last);
2478 struct nf_conntrack_expect *exp, *last; local
2522 struct nf_conntrack_expect *exp, *last; local
[all...]
/net/sctp/
H A Dulpqueue.c321 * This routine creates a re-assembled skb given the first and last skb's
333 struct sk_buff *pnext, *last; local
342 /* Get the last skb in the f_frag's frag_list if present. */
343 for (last = list; list; last = list, list = list->next)
349 if (last)
350 last->next = pos;
389 /* Break if we have reached the last fragment. */
403 /* Helper function to check if an incoming chunk has filled up the last
430 * we expect to find the remaining middle fragments and the last
977 struct sk_buff *skb, *flist, *last; local
[all...]
/net/sched/
H A Dsch_netem.c98 u32 last; member in struct:netem_sched_data::crndstate
184 state->last = prandom_u32();
188 * Next number depends on last value.
201 answer = (value * ((1ull<<32) - rho) + state->last * rho) >> 32;
202 state->last = answer;
485 q->counter < q->gap - 1 || /* inside last reordering gap */
496 struct sk_buff *last; local
499 last = skb_peek_tail(&sch->q);
501 last = netem_rb_to_skb(rb_last(&q->t_root));
502 if (last) {
[all...]
H A Dsch_mqprio.c72 unsigned int last = qopt->offset[i] + qopt->count[i]; local
75 * real_num_tx_queues indicates the last queue is in use.
79 last > dev->real_num_tx_queues)
84 if (last > qopt->offset[j])
/net/rfkill/
H A Dinput.c143 static unsigned long rfkill_ratelimit(const unsigned long last) argument
146 return time_after(jiffies, last + delay) ? 0 : delay;
/net/sunrpc/xprtrdma/
H A Dsvc_rdma_recvfrom.c57 * last one.
136 int last);
147 int last)
197 if (last && rs_length == 0)
240 int last)
296 if (last && rs_length == 0)
420 ((ch+1)->rc_discrim == 0) /* last */
484 /* rq_respages starts after the last arg page */
139 rdma_read_chunk_lcl(struct svcxprt_rdma *xprt, struct svc_rqst *rqstp, struct svc_rdma_op_ctxt *head, int *page_no, u32 *page_offset, u32 rs_handle, u32 rs_length, u64 rs_offset, int last) argument
232 rdma_read_chunk_frmr(struct svcxprt_rdma *xprt, struct svc_rqst *rqstp, struct svc_rdma_op_ctxt *head, int *page_no, u32 *page_offset, u32 rs_handle, u32 rs_length, u64 rs_offset, int last) argument
/net/netfilter/ipset/
H A Dip_set_hash_net.c147 u32 ip = 0, ip_to = 0, last; local
201 last = ip_set_range_to_cidr(ip, ip_to, &e.cidr);
207 ip = last + 1;
H A Dip_set_hash_netiface.c276 u32 ip = 0, ip_to = 0, last; local
346 last = ip_set_range_to_cidr(ip, ip_to, &e.cidr);
353 ip = last + 1;
H A Dip_set_hash_netnet.c165 u32 ip = 0, ip_to = 0, last; local
248 last = ip_set_range_to_cidr(ip, ip_to, &cidr);
264 ip = last + 1;
H A Dip_set_hash_netport.c165 u32 port, port_to, p = 0, ip = 0, ip_to = 0, last; local
250 last = ip_set_range_to_cidr(ip, ip_to, &cidr);
263 ip = last + 1;
/net/ipv6/
H A Daddrlabel.c254 struct ip6addrlbl_entry *last = NULL, *p = NULL; local
277 last = p;
279 if (last)
280 hlist_add_behind_rcu(&newp->list, &last->list);
/net/openvswitch/
H A Dflow_table.c261 u32 *bucket, u32 *last)
273 if (i < *last) {
277 *last = i + 1;
281 *last = 0;
260 ovs_flow_tbl_dump_next(struct table_instance *ti, u32 *bucket, u32 *last) argument
/net/8021q/
H A Dvlan.c357 bool last = false; local
453 /* removal of last vid destroys vlan_info, abort
456 last = true;
459 if (last)

Completed in 1594 milliseconds

12