/netbsd-src/usr.sbin/altq/libaltq/ |
H A D | qop_wfq.c | 89 int nqueues = 0; /* 0: use default */ in wfq_interface_parser() local 107 nqueues = (int)strtol(*argv, NULL, 0); in wfq_interface_parser() 147 hash_policy, nqueues, qsize) != 0) in wfq_interface_parser() 157 int nqueues, int qsize) in qcmd_wfq_add_if() argument 162 hash_policy, nqueues, qsize); in qcmd_wfq_add_if() 174 int hash_policy, int nqueues, int qsize) in qop_wfq_add_if() argument 183 wfq_ifinfo->nqueues = nqueues; in qop_wfq_add_if() 224 if (wfq_ifinfo->hash_policy != 0 || wfq_ifinfo->nqueues != 0 || in wfq_attach() 229 conf.nqueues = wfq_ifinfo->nqueues; in wfq_attach()
|
H A D | qop_wfq.h | 34 int nqueues; /* number of queues */ member 40 int nqueues, int qsize); 42 int hash_policy, int nqueues, int qsize);
|
/netbsd-src/usr.sbin/altq/altqstat/ |
H A D | qdisc_wfq.c | 66 int i, j, k, nqueues; in wfq_stat_loop() local 83 nqueues = i; in wfq_stat_loop() 84 printf("wfq on %s: %d queues are used\n", ifname, nqueues); in wfq_stat_loop() 86 if ((qinfo = malloc(nqueues * sizeof(struct wfqinfo))) == NULL) in wfq_stat_loop() 104 for (i = 0; i < nqueues; i++) { in wfq_stat_loop() 119 for (i = 0; i < nqueues; i++) { in wfq_stat_loop()
|
/netbsd-src/sys/altq/ |
H A D | altq_wfq.c | 572 if(cf->nqueues <= 0 || MAX_QSIZE < cf->nqueues) in wfq_config() 573 cf->nqueues = DEFAULT_QSIZE; in wfq_config() 575 if (cf->nqueues != wfqp->nums) { in wfq_config() 580 queue = malloc(sizeof(wfq) * cf->nqueues, M_DEVBUF, in wfq_config() 585 wfqp->nums = cf->nqueues; in wfq_config()
|
H A D | altq_wfq.h | 76 int nqueues; /* number of queues */ member
|
/netbsd-src/dist/pf/sbin/pfctl/ |
H A D | parse.y | 4393 struct node_queue *nqueues, struct node_queue_bw bwspec, in expand_altq() argument 4404 FREE_LIST(struct node_queue, nqueues); in expand_altq() 4427 if (nqueues && nqueues->tail) { in expand_altq() 4430 nqueues, in expand_altq() 4466 LOOP_THROUGH(struct node_queue, queue, nqueues, in expand_altq() 4495 FREE_LIST(struct node_queue, nqueues); in expand_altq() 4502 struct node_queue *nqueues, struct node_queue_bw bwspec, in expand_queue() argument 4511 FREE_LIST(struct node_queue, nqueues); in expand_queue() 4517 FREE_LIST(struct node_queue, nqueues); in expand_queue() 4546 if (nqueues != NULL) { in expand_queue() [all …]
|
/netbsd-src/sys/dev/pci/igc/ |
H A D | if_igc.c | 587 int nqueues = MIN(IGC_MAX_NQUEUES, ncpu); in igc_adjust_nqueues() local 591 nqueues = 1; in igc_adjust_nqueues() 592 else if (nmsix < nqueues + 1) in igc_adjust_nqueues() 593 nqueues = nmsix - 1; in igc_adjust_nqueues() 595 return nqueues; in igc_adjust_nqueues() 605 const int nqueues = igc_adjust_nqueues(sc); in igc_allocate_interrupts() local 606 if (nqueues > 1) { in igc_allocate_interrupts() 607 sc->sc_nintrs = nqueues + 1; in igc_allocate_interrupts() 610 sc->sc_nqueues = nqueues; in igc_allocate_interrupts()
|
/netbsd-src/sys/dev/usb/ |
H A D | if_urtwn.c | 3655 int hashq, hasnq, haslq, nqueues, nqpages, nrempages; in urtwn_r92c_dma_init() 3678 nqueues = hashq + hasnq + haslq; in urtwn_r92c_dma_init() 3679 if (nqueues == 0) in urtwn_r92c_dma_init() 3682 nqpages = (R92C_TX_PAGE_COUNT - R92C_PUBQ_NPAGES) / nqueues; in urtwn_r92c_dma_init() 3684 nrempages = (R92C_TX_PAGE_COUNT - R92C_PUBQ_NPAGES) % nqueues; in urtwn_r92c_dma_init() 3707 if (nqueues == 1) { in urtwn_r92c_dma_init() 3715 } else if (nqueues == 2) { in urtwn_r92c_dma_init() 3744 int nqueues; in urtwn_r88e_dma_init() 3758 nqueues = id->bNumEndpoints - 1; in urtwn_r88e_dma_init() 3759 if (nqueues in urtwn_r88e_dma_init() 3654 int hashq, hasnq, haslq, nqueues, nqpages, nrempages; urtwn_r92c_dma_init() local 3743 int nqueues; urtwn_r88e_dma_init() local [all...] |