/net/sched/ |
H A D | sch_sfq.c | 108 sfq_index next; /* next slot in sfq RR chain */ 111 short allot; /* credit for this slot */ 125 u8 cur_depth; /* depth of longest slot */ 134 struct sfq_slot *tail; /* current slot in round */ 223 * x : slot number [0 .. SFQ_MAX_FLOWS - 1] 228 struct sfq_slot *slot = &q->slots[x]; local 229 int qlen = slot->qlen; 234 slot->dep.next = n; 235 slot->dep.prev = p; 278 /* remove one skb from tail of slot queu 279 slot_dequeue_tail(struct sfq_slot *slot) argument 290 slot_dequeue_head(struct sfq_slot *slot) argument 300 slot_queue_init(struct sfq_slot *slot) argument 307 slot_queue_add(struct sfq_slot *slot, struct sk_buff *skb) argument 321 struct sfq_slot *slot; local 374 struct sfq_slot *slot; local 505 struct sfq_slot *slot; local 560 struct sfq_slot *slot; local 868 const struct sfq_slot *slot = &q->slots[idx]; local [all...] |
H A D | sch_sfb.c | 72 u8 slot; /* current active bins (0 or 1) */ member in struct:sfb_sched_data 105 static u32 sfb_hash(const struct sk_buff *skb, u32 slot) argument 107 return sfb_skb_cb(skb)->hashes[slot]; 126 static void increment_one_qlen(u32 sfbhash, u32 slot, struct sfb_sched_data *q) argument 129 struct sfb_bucket *b = &q->bins[slot].bins[0][0]; 154 static void decrement_one_qlen(u32 sfbhash, u32 slot, argument 158 struct sfb_bucket *b = &q->bins[slot].bins[0][0]; 205 const struct sfb_bucket *b = &q->bins[q->slot].bins[0][0]; 221 static void sfb_init_perturbation(u32 slot, struct sfb_sched_data *q) argument 223 q->bins[slot] 288 u32 r, slot, salt, sfbhash; local [all...] |
H A D | sch_qfq.c | 148 struct hlist_node next; /* Link for the slot list. */ 176 unsigned int front; /* Index of the front slot. */ 848 * The index of the slot in which the input aggregate agg is to be 851 * backward by one slot after the aggregate has been inserted, and 855 * QFQ+ fully satisfies this bound to the slot index if the parameters 861 * the timestamps of agg are low enough that the slot index is never 867 * upper bound to the slot index guaranteed by QFQ+ grows to 873 * the timestamps of agg, if needed, so as to guarantee that the slot 880 * the slot index, and 2 < QFQ_MAX_SLOTS-2. Hence the aggregates whose 884 * The other event that may cause the slot inde 905 u64 slot = (roundedS - grp->S) >> grp->slot_shift; local 1428 qfq_drop_from_slot(struct qfq_sched *q, struct hlist_head *slot) argument [all...] |
H A D | sch_api.c | 540 int pkt_len, slot; local 546 slot = pkt_len + stab->szopts.cell_align; 547 if (unlikely(slot < 0)) 548 slot = 0; 550 slot >>= stab->szopts.cell_log; 551 if (likely(slot < stab->szopts.tsize)) 552 pkt_len = stab->data[slot]; 555 (slot / stab->szopts.tsize) + 556 stab->data[slot % stab->szopts.tsize];
|
/net/ipv4/ |
H A D | inet_timewait_sock.c | 215 const int slot) 230 inet_twsk_for_each_inmate(tw, &twdr->cells[slot]) { 273 if (inet_twdr_do_twkill_work(twdr, twdr->slot)) { 274 twdr->thread_slots |= (1 << twdr->slot); 278 /* We purged the entire slot, anything left? */ 281 twdr->slot = ((twdr->slot + 1) & (INET_TWDR_TWKILL_SLOTS - 1)); 344 int slot; local 370 slot = (timeo + (1 << INET_TWDR_RECYCLE_TICK) - 1) >> INET_TWDR_RECYCLE_TICK; 380 if (slot > 214 inet_twdr_do_twkill_work(struct inet_timewait_death_row *twdr, const int slot) argument 422 int n, slot; local 485 unsigned int slot; local [all...] |
H A D | udp_diag.c | 96 int num, s_num, slot, s_slot; local 102 for (slot = s_slot; slot <= table->mask; num = s_num = 0, slot++) { 105 struct udp_hslot *hslot = &table->hash[slot]; 140 cb->args[0] = slot;
|
H A D | inet_hashtables.c | 285 unsigned int slot = hash & hashinfo->ehash_mask; local 286 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; 310 if (get_nulls_value(node) != slot)
|
H A D | udp.c | 486 unsigned int hash2, slot2, slot = udp_hashfn(net, hnum, udptable->mask); local 487 struct udp_hslot *hslot2, *hslot = &udptable->hash[slot]; 543 if (get_nulls_value(node) != slot) 1860 unsigned int count, slot = udp_hashfn(net, hnum, udp_table.mask); local 1861 struct udp_hslot *hslot = &udp_table.hash[slot]; 1885 if (get_nulls_value(node) != slot) 2491 21, /* one slot per 2 MB */
|
/net/unix/ |
H A D | diag.c | 183 int num, s_num, slot, s_slot; local 192 for (slot = s_slot; 193 slot < ARRAY_SIZE(unix_socket_table); 194 s_num = 0, slot++) { 198 sk_for_each(sk, &unix_socket_table[slot]) { 216 cb->args[0] = slot;
|
/net/ipv6/ |
H A D | inet6_hashtables.c | 116 unsigned int slot = hash & hashinfo->ehash_mask; local 117 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; 136 if (get_nulls_value(node) != slot)
|
H A D | udp.c | 280 unsigned int hash2, slot2, slot = udp_hashfn(net, hnum, udptable->mask); local 281 struct udp_hslot *hslot2, *hslot = &udptable->hash[slot]; 336 if (get_nulls_value(node) != slot)
|
/net/llc/ |
H A D | llc_sap.c | 321 int slot = llc_sk_laddr_hashfn(sap, laddr); local 322 struct hlist_nulls_head *laddr_hb = &sap->sk_laddr_hash[slot]; 345 if (unlikely(get_nulls_value(node) != slot))
|
H A D | llc_conn.c | 502 int slot = llc_sk_laddr_hashfn(sap, laddr); local 503 struct hlist_nulls_head *laddr_hb = &sap->sk_laddr_hash[slot]; 526 if (unlikely(get_nulls_value(node) != slot)) 561 int slot = llc_sk_laddr_hashfn(sap, laddr); local 562 struct hlist_nulls_head *laddr_hb = &sap->sk_laddr_hash[slot]; 585 if (unlikely(get_nulls_value(node) != slot))
|
/net/irda/ |
H A D | irlap.c | 549 info.s = 0; /* Current slot */ 667 * Generate a random time slot between s and S-1 where 669 * s = Current slot 674 int slot; local 682 slot = s + rand % (S-s); 684 IRDA_ASSERT((slot >= s) || (slot < S), return 0;); 686 return slot;
|
H A D | irlap_event.c | 403 /* Assert that this is not the final slot */ 405 self->slot = irlap_generate_rand_time_slot(info->S, 407 if (self->slot == info->s) { 412 self->slot, 427 /* This is the final slot. How is it possible ? 634 /* This is the final slot! */ 666 * are waiting for the right time slot to send a response XID frame 699 /* If it's our slot, send our reply */ 700 if ((info->s >= self->slot) && (!self->frame_sent)) { 705 self->slot, [all...] |
/net/bridge/ |
H A D | br_multicast.c | 1167 struct hlist_node *slot = NULL; local 1172 slot = &p->rlist; 1175 if (slot) 1176 hlist_add_behind_rcu(&port->rlist, slot);
|