Home
last modified time | relevance | path

Searched refs:V_dn_cfg (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/netpfil/ipfw/
H A Dip_dn_io.c79 #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 Dip_dn_private.h47 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 Dip_dummynet.c381 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 Ddn_aqm.h40 #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 Ddn_sched_fq_codel.h105 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 Dip_dn_glue.c572 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 Ddn_sched.h193 q->q_time = V_dn_cfg.curr_time; in dn_dequeue()
H A Ddn_sched_fq_pie.c300 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 Ddn_aqm_codel.c204 q->q_time = V_dn_cfg.curr_time; in codel_extract_head()
H A Ddn_sched_fq_codel.c166 si->main_q.q_time = V_dn_cfg.curr_time; in codel_drop_head()
H A Ddn_aqm_pie.c340 q->q_time = V_dn_cfg.curr_time; in pie_extract_head()