Home
last modified time | relevance | path

Searched refs:numqueues (Results 1 – 4 of 4) sorted by relevance

/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/
DIt_posix_queue_090.cpp37 INT32 i, unresolved = 0, failure = 0, numqueues = 0, ret; in Testcase() local
39 for (i = 0; (i < _POSIX_OPEN_MAX) && (i < _POSIX_MQ_OPEN_MAX); i++, numqueues++) { in Testcase()
50 queue[numqueues] = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase()
51 if (queue[numqueues] != (mqd_t)-1) { in Testcase()
58 for (i = 0; i <= numqueues; i++) { in Testcase()
62 for (i = 0; i < numqueues; i++) { in Testcase()
70 "/mq090%d_%d", numqueues, LosCurTaskIDGet()); in Testcase()
83 for (i = 0; i <= numqueues; i++) { in Testcase()
/kernel/linux/linux-5.10/drivers/net/
Dtun.c191 unsigned int numqueues; member
539 u32 numqueues = 0; in tun_automq_select_queue() local
541 numqueues = READ_ONCE(tun->numqueues); in tun_automq_select_queue()
550 txq = ((u64)txq * numqueues) >> 32; in tun_automq_select_queue()
559 u32 numqueues; in tun_ebpf_select_queue() local
562 numqueues = READ_ONCE(tun->numqueues); in tun_ebpf_select_queue()
563 if (!numqueues) in tun_ebpf_select_queue()
570 return ret % numqueues; in tun_ebpf_select_queue()
601 netif_set_real_num_tx_queues(tun->dev, tun->numqueues); in tun_set_real_num_queues()
602 netif_set_real_num_rx_queues(tun->dev, tun->numqueues); in tun_set_real_num_queues()
[all …]
Dtap.c168 if (tap->numqueues == MAX_TAP_QUEUES) in tap_set_queue()
182 tap->numqueues++; in tap_set_queue()
233 tap->numqueues--; in tap_put_queue()
308 tap->numqueues--; in tap_del_queues()
312 BUG_ON(tap->numqueues); in tap_del_queues()
1284 int n = tap->numqueues; in tap_queue_resize()
/kernel/linux/linux-5.10/include/linux/
Dif_tap.h42 int numqueues; member