Searched refs:slot (Results 1 – 10 of 10) sorted by relevance
/net/ipv4/ |
D | inet_timewait_sock.c | 148 const int slot) in inet_twdr_do_twkill_work() argument 164 inet_twsk_for_each_inmate(tw, node, &twdr->cells[slot]) { in inet_twdr_do_twkill_work() 207 if (inet_twdr_do_twkill_work(twdr, twdr->slot)) { in inet_twdr_hangman() 208 twdr->thread_slots |= (1 << twdr->slot); in inet_twdr_hangman() 216 twdr->slot = ((twdr->slot + 1) & (INET_TWDR_TWKILL_SLOTS - 1)); in inet_twdr_hangman() 281 int slot; in inet_twsk_schedule() local 307 slot = (timeo + (1 << INET_TWDR_RECYCLE_TICK) - 1) >> INET_TWDR_RECYCLE_TICK; in inet_twsk_schedule() 317 if (slot >= INET_TWDR_RECYCLE_SLOTS) { in inet_twsk_schedule() 320 slot = INET_TWDR_TWKILL_SLOTS - 1; in inet_twsk_schedule() 322 slot = DIV_ROUND_UP(timeo, twdr->period); in inet_twsk_schedule() [all …]
|
D | inet_hashtables.c | 203 unsigned int slot = hash & (hashinfo->ehash_size - 1); in __inet_lookup_established() local 204 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __inet_lookup_established() 226 if (get_nulls_value(node) != slot) in __inet_lookup_established() 251 if (get_nulls_value(node) != slot) in __inet_lookup_established()
|
D | route.c | 230 # define rt_hash_lock_addr(slot) &rt_hash_locks[(slot) & (RT_HASH_LOCK_SZ - 1)] argument 245 # define rt_hash_lock_addr(slot) NULL argument
|
/net/ipv6/ |
D | inet6_hashtables.c | 76 unsigned int slot = hash & (hashinfo->ehash_size - 1); in __inet6_lookup_established() local 77 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __inet6_lookup_established() 94 if (get_nulls_value(node) != slot) in __inet6_lookup_established() 112 if (get_nulls_value(node) != slot) in __inet6_lookup_established()
|
/net/sunrpc/xprtrdma/ |
D | transport.c | 292 kfree(xprt->slot); in xprt_rdma_destroy() 293 xprt->slot = NULL; in xprt_rdma_destroy() 334 xprt->slot = kcalloc(xprt->max_reqs, in xprt_setup_rdma() 336 if (xprt->slot == NULL) { in xprt_setup_rdma() 452 kfree(xprt->slot); in xprt_setup_rdma()
|
/net/irda/ |
D | irlap.c | 676 int slot; in irlap_generate_rand_time_slot() local 684 slot = s + rand % (S-s); in irlap_generate_rand_time_slot() 686 IRDA_ASSERT((slot >= s) || (slot < S), return 0;); in irlap_generate_rand_time_slot() 688 return slot; in irlap_generate_rand_time_slot()
|
D | irlap_event.c | 404 self->slot = irlap_generate_rand_time_slot(info->S, in irlap_state_ndm() 406 if (self->slot == info->s) { in irlap_state_ndm() 411 self->slot, in irlap_state_ndm() 699 if ((info->s >= self->slot) && (!self->frame_sent)) { in irlap_state_reply() 704 self->slot, in irlap_state_reply()
|
/net/sched/ |
D | sch_api.c | 421 int pkt_len, slot; in qdisc_calculate_pkt_len() local 427 slot = pkt_len + stab->szopts.cell_align; in qdisc_calculate_pkt_len() 428 if (unlikely(slot < 0)) in qdisc_calculate_pkt_len() 429 slot = 0; in qdisc_calculate_pkt_len() 431 slot >>= stab->szopts.cell_log; in qdisc_calculate_pkt_len() 432 if (likely(slot < stab->szopts.tsize)) in qdisc_calculate_pkt_len() 433 pkt_len = stab->data[slot]; in qdisc_calculate_pkt_len() 436 (slot / stab->szopts.tsize) + in qdisc_calculate_pkt_len() 437 stab->data[slot % stab->szopts.tsize]; in qdisc_calculate_pkt_len()
|
/net/sunrpc/ |
D | xprtsock.c | 823 kfree(xprt->slot); in xs_destroy() 1940 xprt->slot = kcalloc(xprt->max_reqs, sizeof(struct rpc_rqst), GFP_KERNEL); in xs_setup_xprt() 1941 if (xprt->slot == NULL) { in xs_setup_xprt() 2021 kfree(xprt->slot); in xs_setup_udp() 2086 kfree(xprt->slot); in xs_setup_tcp()
|
D | xprt.c | 1051 for (req = &xprt->slot[xprt->max_reqs-1]; req >= &xprt->slot[0]; req--) in xprt_create_transport()
|