/net/sunrpc/xprtrdma/ |
D | frwr_ops.c | 465 struct ib_send_wr *first, **prev, *last, *bad_wr; in frwr_op_unmap_sync() local 490 last = &f->fr_invwr; in frwr_op_unmap_sync() 491 memset(last, 0, sizeof(*last)); in frwr_op_unmap_sync() 492 last->wr_cqe = &f->fr_cqe; in frwr_op_unmap_sync() 493 last->opcode = IB_WR_LOCAL_INV; in frwr_op_unmap_sync() 494 last->ex.invalidate_rkey = mw->mw_handle; in frwr_op_unmap_sync() 497 *prev = last; in frwr_op_unmap_sync() 498 prev = &last->next; in frwr_op_unmap_sync() 507 last->send_flags = IB_SEND_SIGNALED; in frwr_op_unmap_sync()
|
/net/netfilter/ipvs/ |
D | ip_vs_wrr.c | 168 struct ip_vs_dest *dest, *last, *stop = NULL; in ip_vs_wrr_schedule() local 179 last = dest; in ip_vs_wrr_schedule() 201 &last->n_list == &svc->destinations) in ip_vs_wrr_schedule() 207 &last->n_list != &svc->destinations) { in ip_vs_wrr_schedule() 212 stop = last; in ip_vs_wrr_schedule()
|
D | ip_vs_rr.c | 62 struct ip_vs_dest *dest, *last; in ip_vs_rr_schedule() local 69 last = dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_rr_schedule() 79 if (dest == last) in ip_vs_rr_schedule()
|
/net/ipv4/ |
D | ip_input.c | 158 struct sock *last = NULL; in ip_call_ra_chain() local 176 if (last) { in ip_call_ra_chain() 179 raw_rcv(last, skb2); in ip_call_ra_chain() 181 last = sk; in ip_call_ra_chain() 185 if (last) { in ip_call_ra_chain() 186 raw_rcv(last, skb); in ip_call_ra_chain()
|
D | inet_fragment.c | 309 struct sk_buff *last = q->fragments_tail; in inet_frag_queue_insert() local 320 if (!last) in inet_frag_queue_insert() 322 else if (last->ip_defrag_offset + last->len < end) { in inet_frag_queue_insert() 325 if (offset < last->ip_defrag_offset + last->len) in inet_frag_queue_insert() 327 if (offset == last->ip_defrag_offset + last->len) in inet_frag_queue_insert()
|
/net/rds/ |
D | bind.c | 81 u16 rover, last; in rds_add_bound() local 88 last = rover; in rds_add_bound() 91 last = rover - 1; in rds_add_bound() 124 } while (rover++ != last); in rds_add_bound()
|
/net/wireless/ |
D | lib80211_crypt_ccmp.c | 221 int data_len, i, blocks, last, len; in lib80211_ccmp_encrypt() local 242 last = data_len % AES_BLOCK_LEN; in lib80211_ccmp_encrypt() 245 len = (i == blocks && last) ? last : AES_BLOCK_LEN; in lib80211_ccmp_encrypt() 294 int i, blocks, last, len; in lib80211_ccmp_decrypt() local 348 last = data_len % AES_BLOCK_LEN; in lib80211_ccmp_decrypt() 351 len = (i == blocks && last) ? last : AES_BLOCK_LEN; in lib80211_ccmp_decrypt()
|
/net/netfilter/ipset/ |
D | pfxlen.c | 294 u32 last; in ip_set_range_to_cidr() local 300 last = from | ~ip_set_hostmask(i); in ip_set_range_to_cidr() 301 if (!after(last, to)) { in ip_set_range_to_cidr() 303 return last; in ip_set_range_to_cidr()
|
/net/sctp/ |
D | ulpqueue.c | 338 struct sk_buff *pnext, *last; in sctp_make_reassembled_event() local 348 for (last = list; list; last = list, list = list->next) in sctp_make_reassembled_event() 354 if (last) in sctp_make_reassembled_event() 355 last->next = pos; in sctp_make_reassembled_event() 982 struct sk_buff *skb, *flist, *last; in sctp_ulpq_renege_list() local 1002 for (last = flist; flist; flist = flist->next) { in sctp_ulpq_renege_list() 1003 last = flist; in sctp_ulpq_renege_list() 1004 freed += skb_headlen(last); in sctp_ulpq_renege_list() 1006 if (last) in sctp_ulpq_renege_list() 1007 last_tsn = sctp_skb2event(last)->tsn; in sctp_ulpq_renege_list()
|
D | sm_make_chunk.c | 3797 __be16 last = 0; in sctp_verify_reconf() local 3810 (last && last != SCTP_PARAM_RESET_RESPONSE && in sctp_verify_reconf() 3811 last != SCTP_PARAM_RESET_IN_REQUEST)) in sctp_verify_reconf() 3816 (last && last != SCTP_PARAM_RESET_OUT_REQUEST)) in sctp_verify_reconf() 3822 (last && last != SCTP_PARAM_RESET_RESPONSE && in sctp_verify_reconf() 3823 last != SCTP_PARAM_RESET_OUT_REQUEST)) in sctp_verify_reconf() 3828 sizeof(struct sctp_strreset_tsnreq) || last) in sctp_verify_reconf() 3833 (last && last != SCTP_PARAM_RESET_ADD_OUT_STREAMS)) in sctp_verify_reconf() 3838 (last && last != SCTP_PARAM_RESET_ADD_IN_STREAMS)) in sctp_verify_reconf() 3845 last = param.p->type; in sctp_verify_reconf()
|
/net/sched/ |
D | sch_netem.c | 98 u32 last; member 165 state->last = prandom_u32(); in init_crandom() 182 answer = (value * ((1ull<<32) - rho) + state->last * rho) >> 32; in get_crandom() 183 state->last = answer; in get_crandom() 535 struct netem_skb_cb *last = NULL; in netem_enqueue() local 538 last = netem_skb_cb(sch->q.tail); in netem_enqueue() 545 if (!last || in netem_enqueue() 546 t_last->time_to_send > last->time_to_send) { in netem_enqueue() 547 last = t_last; in netem_enqueue() 551 if (last) { in netem_enqueue() [all …]
|
D | cls_fw.c | 172 static int fw_delete(struct tcf_proto *tp, void *arg, bool *last) in fw_delete() argument 198 *last = true; in fw_delete() 201 *last = false; in fw_delete()
|
D | sch_mqprio.c | 80 unsigned int last = qopt->offset[i] + qopt->count[i]; in mqprio_parse_opt() local 87 last > dev->real_num_tx_queues) in mqprio_parse_opt() 92 if (last > qopt->offset[j]) in mqprio_parse_opt()
|
/net/core/ |
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() 250 struct sk_buff **last) in __skb_try_recv_datagram() argument 273 peeked, off, &error, last); in __skb_try_recv_datagram() 284 } while (READ_ONCE(sk->sk_receive_queue.prev) != *last); in __skb_try_recv_datagram() 299 struct sk_buff *skb, *last; in __skb_recv_datagram() local 306 off, err, &last); in __skb_recv_datagram() 313 !__skb_wait_for_more_packets(sk, err, &timeo, last)); in __skb_recv_datagram()
|
/net/openvswitch/ |
D | actions.c | 169 bool last, bool clone_flow_key); 937 bool last) in sample() argument 952 if (last) in sample() 958 return clone_execute(dp, skb, key, 0, actions, rem, last, in sample() 1070 const struct nlattr *a, bool last) in execute_recirc() argument 1084 return clone_execute(dp, skb, key, recirc_id, NULL, 0, last, true); in execute_recirc() 1157 bool last = nla_is_last(a, rem); in do_execute_actions() local 1159 err = execute_recirc(dp, skb, key, a, last); in do_execute_actions() 1160 if (last) { in do_execute_actions() 1180 bool last = nla_is_last(a, rem); in do_execute_actions() local [all …]
|
/net/ax25/ |
D | ax25_out.c | 247 int last = 1; in ax25_kick() local 291 last = (next == end); in ax25_kick() 301 ax25_send_iframe(ax25, skbn, (last) ? AX25_POLLON : AX25_POLLOFF); in ax25_kick() 318 } while (!last && (skb = skb_dequeue(&ax25->write_queue)) != NULL); in ax25_kick()
|
/net/netfilter/ |
D | nft_limit.c | 22 u64 last; member 38 tokens = limit->tokens + now - limit->last; in nft_limit_eval() 42 limit->last = now; in nft_limit_eval() 101 limit->last = ktime_get_ns(); in nft_limit_init()
|
D | nfnetlink_acct.c | 194 struct nf_acct *cur, *last; in nfnl_acct_dump() local 200 last = (struct nf_acct *)cb->args[1]; in nfnl_acct_dump() 206 if (last) { in nfnl_acct_dump() 207 if (cur != last) in nfnl_acct_dump() 210 last = NULL; in nfnl_acct_dump()
|
D | nfnetlink_cttimeout.c | 210 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()
|
D | nf_conntrack_netlink.c | 828 struct nf_conn *ct, *last; in ctnetlink_dump_table() local 837 last = (struct nf_conn *)cb->args[1]; in ctnetlink_dump_table() 877 if (ct != last) in ctnetlink_dump_table() 906 if (last) { in ctnetlink_dump_table() 908 if ((struct nf_conn *)cb->args[1] == last) in ctnetlink_dump_table() 911 nf_ct_put(last); in ctnetlink_dump_table() 1285 struct nf_conn *ct, *last; in ctnetlink_dump_list() local 1298 last = (struct nf_conn *)cb->args[1]; in ctnetlink_dump_list() 1315 if (ct != last) in ctnetlink_dump_list() 1342 if (last) in ctnetlink_dump_list() [all …]
|
D | nf_conntrack_expect.c | 395 struct nf_conntrack_expect *exp, *last = NULL; in evict_oldest_expect() local 399 last = exp; in evict_oldest_expect() 402 if (last) in evict_oldest_expect() 403 nf_ct_remove_expect(last); in evict_oldest_expect()
|
/net/rxrpc/ |
D | sendmsg.c | 121 struct sk_buff *skb, bool last, in rxrpc_queue_packet() argument 133 if (last) { in rxrpc_queue_packet() 149 if (last) in rxrpc_queue_packet() 154 if (last || call->state == RXRPC_CALL_SERVER_ACK_REQUEST) { in rxrpc_queue_packet() 169 if (!last) in rxrpc_queue_packet()
|
/net/ipv6/ |
D | addrlabel.c | 249 struct ip6addrlbl_entry *last = NULL, *p = NULL; in __ip6addrlbl_add() local 272 last = p; in __ip6addrlbl_add() 274 if (last) in __ip6addrlbl_add() 275 hlist_add_behind_rcu(&newp->list, &last->list); in __ip6addrlbl_add()
|
/net/rfkill/ |
D | input.c | 143 static unsigned long rfkill_ratelimit(const unsigned long last) in rfkill_ratelimit() argument 146 return time_after(jiffies, last + delay) ? 0 : delay; in rfkill_ratelimit()
|
/net/unix/ |
D | af_unix.c | 2116 struct sk_buff *skb, *last; in unix_dgram_recvmsg() local 2132 &err, &last); in unix_dgram_recvmsg() 2141 !__skb_wait_for_more_packets(sk, &err, &timeo, last)); in unix_dgram_recvmsg() 2217 struct sk_buff *last, unsigned int last_len, in unix_stream_data_wait() argument 2229 if (tail != last || in unix_stream_data_wait() 2315 struct sk_buff *skb, *last; in unix_stream_read_generic() local 2323 last = skb = skb_peek(&sk->sk_receive_queue); in unix_stream_read_generic() 2324 last_len = last ? last->len : 0; in unix_stream_read_generic() 2348 timeo = unix_stream_data_wait(sk, timeo, last, in unix_stream_read_generic() 2366 last = skb; in unix_stream_read_generic() [all …]
|