Searched refs:V_dn_cfg (Results 1 – 11 of 11) sorted by relevance
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_dn_io.c | 79 #define V_dn_cfg VNET(dn_cfg) macro 103 value = V_dn_cfg.hash_size; in sysctl_hash_size() 109 V_dn_cfg.hash_size = value; in sysctl_hash_size() 120 value = V_dn_cfg.slot_limit; in sysctl_limits() 122 value = V_dn_cfg.byte_limit; in sysctl_limits() 130 V_dn_cfg.slot_limit = value; in sysctl_limits() 134 V_dn_cfg.byte_limit = value; in sysctl_limits() 350 u_int t = div64((V_dn_cfg.curr_time - q->q_time), fs->lookup_step); in red_drops() 547 V_dn_cfg.io_pkt_drop++; in dn_enqueue() 580 heap_insert(&V_dn_cfg.evheap, pkt->output_time, dline); in transmit_event() [all …]
|
H A D | ip_dn_private.h | 47 if (V_dn_cfg.debug > lev) D(fmt, ## __VA_ARGS__); } while (0) 57 mtx_init(&V_dn_cfg.uh_mtx, "dn_uh", NULL, MTX_DEF); \ 58 mtx_init(&V_dn_cfg.bh_mtx, "dn_bh", NULL, MTX_DEF); \ 61 mtx_destroy(&V_dn_cfg.uh_mtx); \ 62 mtx_destroy(&V_dn_cfg.bh_mtx); \ 65 #define DN_UH_RLOCK() mtx_lock(&V_dn_cfg.uh_mtx) 66 #define DN_UH_RUNLOCK() mtx_unlock(&V_dn_cfg.uh_mtx) 67 #define DN_UH_WLOCK() mtx_lock(&V_dn_cfg.uh_mtx) 68 #define DN_UH_WUNLOCK() mtx_unlock(&V_dn_cfg.uh_mtx) 69 #define DN_UH_LOCK_ASSERT() mtx_assert(&V_dn_cfg.uh_mtx, MA_OWNED) [all …]
|
H A D | ip_dummynet.c | 381 V_dn_cfg.queue_count++; in q_new() 414 V_dn_cfg.queue_count--; in dn_delete_queue() 554 V_dn_cfg.si_count++; in si_new() 579 heap_extract(&V_dn_cfg.evheap, dl); in si_destroy() 582 heap_extract(&V_dn_cfg.evheap, si); in si_destroy() 601 V_dn_cfg.si_count--; in si_destroy() 632 si->credit = p->burst + (V_dn_cfg.io_fast ? p->bandwidth : 0); in si_reset_credit() 678 V_dn_cfg.fsk_count++; in fsk_new() 680 SLIST_INSERT_HEAD(&V_dn_cfg.fsu, fs, sch_chain); in fsk_new() 764 h = fs->sched ? &fs->sched->fsk_list : &V_dn_cfg.fsu; in fsk_detach() [all …]
|
H A D | dn_aqm.h | 40 #define NOW ((V_dn_cfg.curr_time * tick) / 1000) 42 #define AQM_UNOW (V_dn_cfg.curr_time * tick) 137 V_dn_cfg.io_pkt_drop++; in update_stats()
|
H A D | dn_sched_fq_codel.h | 105 V_dn_cfg.io_pkt_drop ++; in fq_update_stats() 149 si->main_q.q_time = V_dn_cfg.curr_time; in fq_codel_extract_head()
|
H A D | ip_dn_glue.c | 572 need += V_dn_cfg.schk_count * sizeof(struct dn_pipe8) / 2; in dn_compat_calc_size() 573 need += V_dn_cfg.fsk_count * sizeof(struct dn_flow_set); in dn_compat_calc_size() 574 need += V_dn_cfg.si_count * sizeof(struct dn_flow_queue8); in dn_compat_calc_size() 575 need += V_dn_cfg.queue_count * sizeof(struct dn_flow_queue8); in dn_compat_calc_size()
|
H A D | dn_sched.h | 193 q->q_time = V_dn_cfg.curr_time; in dn_dequeue()
|
H A D | dn_sched_fq_pie.c | 300 V_dn_cfg.io_pkt_drop ++; in fq_update_stats() 349 si->main_q.q_time = V_dn_cfg.curr_time; in fq_pie_extract_head() 776 si->main_q.q_time = V_dn_cfg.curr_time; in pie_drop_head()
|
H A D | dn_aqm_codel.c | 204 q->q_time = V_dn_cfg.curr_time; in codel_extract_head()
|
H A D | dn_sched_fq_codel.c | 166 si->main_q.q_time = V_dn_cfg.curr_time; in codel_drop_head()
|
H A D | dn_aqm_pie.c | 340 q->q_time = V_dn_cfg.curr_time; in pie_extract_head()
|