Home
last modified time | relevance | path

Searched refs:gap (Results 1 – 9 of 9) sorted by relevance

/net/sctp/
A Dtsnmap.c71 u32 gap; in sctp_tsnmap_check() local
84 gap = tsn - map->base_tsn; in sctp_tsnmap_check()
87 if (gap < map->len && test_bit(gap, map->tsn_map)) in sctp_tsnmap_check()
98 u16 gap; in sctp_tsnmap_mark() local
105 if (gap >= map->len && !sctp_tsnmap_grow(map, gap + 1)) in sctp_tsnmap_mark()
192 u32 gap; in sctp_tsnmap_skip() local
205 map->base_tsn += gap; in sctp_tsnmap_skip()
207 if (gap >= map->len) { in sctp_tsnmap_skip()
253 u32 gap; in sctp_tsnmap_pending() local
258 if (gap == 0 || gap >= map->len) in sctp_tsnmap_pending()
[all …]
/net/netfilter/ipvs/
A Dip_vs_est.c177 long gap; in ip_vs_estimation_kthread() local
203 gap = kd->est_timer - now; in ip_vs_estimation_kthread()
204 if (gap > 0) { in ip_vs_estimation_kthread()
205 if (gap > IPVS_EST_TICK) { in ip_vs_estimation_kthread()
207 gap = IPVS_EST_TICK; in ip_vs_estimation_kthread()
209 schedule_timeout(gap); in ip_vs_estimation_kthread()
212 if (gap < -8 * IPVS_EST_TICK) in ip_vs_estimation_kthread()
248 long gap; in ip_vs_est_kthread_start() local
255 gap = kd->est_timer - now; in ip_vs_est_kthread_start()
257 if (abs(gap) > 4 * IPVS_EST_TICK) in ip_vs_est_kthread_start()
/net/tipc/
A Dlink.c259 u16 acked, u16 gap,
404 u16 gap = 0; in link_bc_rcv_gap() local
407 gap = l->snd_nxt - l->rcv_nxt; in link_bc_rcv_gap()
410 return gap; in link_bc_rcv_gap()
1480 gacks[n].gap = 0; in __tipc_build_gap_ack_blks()
1536 u16 acked, u16 gap, in tipc_link_advance_transmq() argument
1648 ngap = ntohs(gacks[n].gap); in tipc_link_advance_transmq()
1659 r->last_gap = gap; in tipc_link_advance_transmq()
2187 u16 gap = msg_seq_gap(hdr); in tipc_link_proto_rcv() local
2319 if (gap) in tipc_link_proto_rcv()
[all …]
A Dlink.h147 int tipc_link_bc_ack_rcv(struct tipc_link *l, u16 acked, u16 gap,
A Dmsg.h162 __be16 gap; member
/net/sched/
A Dsch_netem.c96 u32 gap; member
552 if (q->gap == 0 || /* not doing reordering */ in netem_enqueue()
553 q->counter < q->gap - 1 || /* inside last reordering gap */ in netem_enqueue()
1066 q->gap = qopt->gap; in netem_change()
1079 if (q->gap) in netem_change()
1224 qopt.gap = q->gap; in netem_dump()
/net/rxrpc/
A Drxgk.c288 size_t shdr, alloc, limit, part, offset, gap; in rxgk_alloc_txbuf() local
316 gap = 0; in rxgk_alloc_txbuf()
319 gap = RXRPC_JUMBO_DATALEN - alloc; in rxgk_alloc_txbuf()
335 if (gap) in rxgk_alloc_txbuf()
336 memset(txb->data + alloc - gap, 0, gap); in rxgk_alloc_txbuf()
A Drxkad.c410 size_t gap = txb->alloc_size - txb->pkt_len; in rxkad_secure_packet() local
413 memset(p + txb->pkt_len, 0, gap); in rxkad_secure_packet()
/net/bridge/netfilter/
A Debtables.c689 size_t gap; in ebt_check_entry() local
747 gap = e->next_offset - e->target_offset; in ebt_check_entry()
764 if (gap < sizeof(struct ebt_standard_target)) { in ebt_check_entry()
773 } else if (t->target_size > gap - sizeof(struct ebt_entry_target)) { in ebt_check_entry()

Completed in 29 milliseconds