/netbsd-src/external/mit/libcbor/dist/test/ |
H A D | stream_expectations.c | 5 size_t queue_size = 0; variable 19 assertions_queue[queue_size++] = (struct test_assertion){ in assert_uint8_eq() 30 assertions_queue[queue_size++] = (struct test_assertion){ in assert_uint16_eq() 41 assertions_queue[queue_size++] = (struct test_assertion){ in assert_uint32_eq() 52 assertions_queue[queue_size++] = (struct test_assertion){ in assert_uint64_eq() 63 assertions_queue[queue_size++] = (struct test_assertion){ in assert_negint8_eq() 74 assertions_queue[queue_size++] = (struct test_assertion){ in assert_negint16_eq() 85 assertions_queue[queue_size++] = (struct test_assertion){ in assert_negint32_eq() 96 assertions_queue[queue_size++] = (struct test_assertion){ in assert_negint64_eq() 107 assertions_queue[queue_size++] = (struct test_assertion){ in assert_bstring_mem_eq() [all …]
|
H A D | stream_expectations.c.erb | 3 /* Ordered from 0 to queue_size - 1 */ 5 size_t queue_size = 0; 26 …assertions_queue[queue_size++] = (struct test_assertion) { <%= type.upcase %>INT<%= width %>_EQ, (… 40 …assertions_queue[queue_size++] = (struct test_assertion) { BSTRING_MEM_EQ, (union test_expectation… 53 assertions_queue[queue_size++] = (struct test_assertion) { .expectation = BSTRING_INDEF_START }; 64 assertions_queue[queue_size++] = (struct test_assertion) { .expectation = INDEF_BREAK }; 76 …assertions_queue[queue_size++] = (struct test_assertion) { <%= type.upcase %>_START, { .length = l… 89 …assertions_queue[queue_size++] = (struct test_assertion) { .expectation = <%= type.upcase %>_INDEF… 101 assertions_queue[queue_size++] = (struct test_assertion) { TAG_EQ , { .int64 = value } }; 115 …assertions_queue[queue_size++] = (struct test_assertion) { <%= decimal[0].upcase %>_EQ, { .float<%… [all …]
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
H A D | kfd_kernel_queue.c | 46 enum kfd_queue_type type, unsigned int queue_size) in kq_initialize() argument 56 queue_size); in kq_initialize() 89 retval = kfd_gtt_sa_allocate(dev, queue_size, &kq->pq); in kq_initialize() 91 pr_err("Failed to init pq queues size %d\n", queue_size); in kq_initialize() 128 memset(kq->pq_kernel_addr, 0, queue_size); in kq_initialize() 132 prop.queue_size = queue_size; in kq_initialize() 250 queue_size_dwords = kq->queue->properties.queue_size / 4; in kq_acquire_packet_buffer() 321 (kq->queue->properties.queue_size / 4); in kq_rollback_packet()
|
H A D | kfd_queue.c | 39 pr_debug("Queue Size: %llu\n", q->queue_size); in print_queue_properties() 56 pr_debug("Queue Size: %llu\n", q->properties.queue_size); in print_queue()
|
H A D | kfd_mqd_manager_cik.c | 176 uint32_t wptr_mask = (uint32_t)((p->queue_size / 4) - 1); in load_mqd() 210 m->cp_hqd_pq_control |= order_base_2(q->queue_size / 4) - 1; in __update_mqd() 246 m->sdma_rlc_rb_cntl = order_base_2(q->queue_size / 4) in update_mqd_sdma() 333 m->cp_hqd_pq_control |= order_base_2(q->queue_size / 4) - 1; in update_mqd_hiq()
|
H A D | kfd_mqd_manager_vi.c | 167 uint32_t wptr_mask = (uint32_t)((p->queue_size / 4) - 1); in load_mqd() 185 m->cp_hqd_pq_control |= order_base_2(q->queue_size / 4) - 1; in __update_mqd() 355 m->sdmax_rlcx_rb_cntl = order_base_2(q->queue_size / 4) in update_mqd_sdma()
|
H A D | kfd_mqd_manager_v10.c | 178 ffs(q->queue_size / sizeof(unsigned int)) - 1 - 1; in update_mqd() 332 m->sdmax_rlcx_rb_cntl = (ffs(q->queue_size / sizeof(unsigned int)) - 1) in update_mqd_sdma()
|
H A D | kfd_mqd_manager_v9.c | 215 m->cp_hqd_pq_control |= order_base_2(q->queue_size / 4) - 1; in update_mqd() 375 m->sdmax_rlcx_rb_cntl = order_base_2(q->queue_size / 4) in update_mqd_sdma()
|
H A D | kfd_process_queue_manager.c | 432 pqn->q->properties.queue_size = p->queue_size; in pqm_update_queue()
|
H A D | kfd_priv.h | 423 uint64_t queue_size; member 452 #define QUEUE_IS_ACTIVE(q) ((q).queue_size > 0 && \
|
H A D | kfd_chardev.c | 224 q_properties->queue_size = args->ring_size; in set_queue_properties_from_user() 258 q_properties->queue_size, args->ring_size); in set_queue_properties_from_user() 398 properties.queue_size = args->ring_size; in kfd_ioctl_update_queue()
|
/netbsd-src/external/ibm-public/postfix/dist/src/postqueue/ |
H A D | showq_compat.c | 186 unsigned long queue_size = 0; in showq_compat() local 201 queue_size += showq_message(showq_stream); in showq_compat() 219 queue_size / 1024, file_count, in showq_compat()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gfx_v9.c | 297 uint32_t queue_size = in kgd_gfx_v9_hqd_load() local 300 uint64_t guessed_wptr = m->cp_hqd_pq_rptr & (queue_size - 1); in kgd_gfx_v9_hqd_load() 302 if ((m->cp_hqd_pq_wptr_lo & (queue_size - 1)) < guessed_wptr) in kgd_gfx_v9_hqd_load() 303 guessed_wptr += queue_size; in kgd_gfx_v9_hqd_load() 304 guessed_wptr += m->cp_hqd_pq_wptr_lo & ~(queue_size - 1); in kgd_gfx_v9_hqd_load()
|
H A D | amdgpu_amdkfd_gfx_v10.c | 307 uint32_t queue_size = in kgd_hqd_load() local 310 uint64_t guessed_wptr = m->cp_hqd_pq_rptr & (queue_size - 1); in kgd_hqd_load() 312 if ((m->cp_hqd_pq_wptr_lo & (queue_size - 1)) < guessed_wptr) in kgd_hqd_load() 313 guessed_wptr += queue_size; in kgd_hqd_load() 314 guessed_wptr += m->cp_hqd_pq_wptr_lo & ~(queue_size - 1); in kgd_hqd_load()
|
/netbsd-src/sys/dev/pci/ |
H A D | if_ena.c | 1315 ctx.queue_size = adapter->tx_ring_size; in ena_create_io_queues() 1343 ctx.queue_size = adapter->rx_ring_size; in ena_create_io_queues() 3108 uint32_t queue_size = ENA_DEFAULT_RING_SIZE; in ena_calc_queue_size() local 3112 queue_size = min_t(uint32_t, queue_size, in ena_calc_queue_size() 3114 queue_size = min_t(uint32_t, queue_size, in ena_calc_queue_size() 3118 v = queue_size; in ena_calc_queue_size() 3120 if (powerof2(queue_size) != 0) in ena_calc_queue_size() 3123 q = rounddown2(queue_size, v); in ena_calc_queue_size() 3125 queue_size = q; in ena_calc_queue_size() 3130 if (unlikely(queue_size == 0)) { in ena_calc_queue_size() [all …]
|
/netbsd-src/external/mit/libuv/dist/src/unix/ |
H A D | stream.c | 976 unsigned int queue_size; in uv__stream_queue_fd() local 980 queue_size = 8; in uv__stream_queue_fd() 981 queued_fds = uv__malloc((queue_size - 1) * sizeof(*queued_fds->fds) + in uv__stream_queue_fd() 985 queued_fds->size = queue_size; in uv__stream_queue_fd() 991 queue_size = queued_fds->size + 8; in uv__stream_queue_fd() 993 (queue_size - 1) * sizeof(*queued_fds->fds) + in uv__stream_queue_fd() 1002 queued_fds->size = queue_size; in uv__stream_queue_fd()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/gcn/ |
H A D | gcn-run.cc | 327 uint32_t queue_size = 0; in init_device() local 329 &queue_size), in init_device() 331 XHSA (hsa_fns.hsa_queue_create_fn (device, queue_size, in init_device()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/gcn/ |
H A D | gcn-run.c | 345 uint32_t queue_size = 0; in init_device() local 347 &queue_size), in init_device() 349 XHSA (hsa_fns.hsa_queue_create_fn (device, queue_size, in init_device()
|
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/plugin/ |
H A D | plugin-hsa.c | 731 uint32_t queue_size; in GOMP_OFFLOAD_init_device() local 735 &queue_size); in GOMP_OFFLOAD_init_device() 743 status = hsa_fns.hsa_queue_create_fn (agent->id, queue_size, in GOMP_OFFLOAD_init_device() 751 status = hsa_fns.hsa_queue_create_fn (agent->id, queue_size, in GOMP_OFFLOAD_init_device()
|
H A D | plugin-gcn.c | 3444 uint32_t queue_size; in GOMP_OFFLOAD_init_device() local 3448 &queue_size); in GOMP_OFFLOAD_init_device() 3467 status = hsa_fns.hsa_queue_create_fn (agent->id, queue_size, in GOMP_OFFLOAD_init_device()
|
/netbsd-src/usr.sbin/syslogd/ |
H A D | syslogd.c | 149 int64_t queue_size; member 3303 &TypeInfo[i].queue_size) == -1) in read_config_file() 3305 &TypeInfo[i].queue_size) == -1) in read_config_file() 3685 TypeInfo[F_TLS].queue_size, TypeInfo[F_FILE].queue_size, in init() 3686 TypeInfo[F_PIPE].queue_size); in init() 4532 || (TypeInfo[f->f_type].queue_size != -1 in message_allqueues_check() 4533 && (size_t)TypeInfo[f->f_type].queue_size <= f->f_qsize)) { in message_allqueues_check()
|
/netbsd-src/sys/external/bsd/ena-com/ |
H A D | ena_com.h | 387 u16 queue_size; member
|
H A D | ena_com.c | 1803 io_cq->q_depth = ctx->queue_size; in ena_com_create_io_queue() 1809 io_sq->q_depth = ctx->queue_size; in ena_com_create_io_queue()
|
/netbsd-src/external/gpl3/gcc/dist/libgomp/plugin/ |
H A D | plugin-gcn.c | 3268 uint32_t queue_size; in GOMP_OFFLOAD_init_device() local 3272 &queue_size); in GOMP_OFFLOAD_init_device() 3291 status = hsa_fns.hsa_queue_create_fn (agent->id, queue_size, in GOMP_OFFLOAD_init_device()
|