Home
last modified time | relevance | path

Searched refs:qcount (Results 1 – 9 of 9) sorted by relevance

/NextBSD/sys/dev/ringbench/
HDringbench.c12 int (*ring_batch_enqueue) (void *ring, void *ents[], int count, int *qcount);
22 static int rb_br_batch_enqueue(void *ring, void *ents[], int count, int *qcount);
29 static int rb_brsc_batch_enqueue(void *ring, void *ents[], int count, int *qcount);
/NextBSD/usr.sbin/lpr/common_source/
HDmatchjobs.c493 scanq_jobspec(int qcount, struct jobqueue **squeue, int sopts, struct in scanq_jobspec() argument
500 if (qcount < 1) in scanq_jobspec()
516 for (qent = squeue, cnt = 0; cnt < qcount; in scanq_jobspec()
544 for (qent = squeue, cnt = 0; cnt < qcount; in scanq_jobspec()
/NextBSD/sys/dev/atkbdc/
HDatkbdc.c75 #define emptyq(q) ((q)->tail = (q)->head = (q)->qcount = 0)
299 sc->kbd.qcount = sc->kbd.max_qcount = 0; in atkbdc_setup()
301 sc->aux.qcount = sc->aux.max_qcount = 0; in atkbdc_setup()
420 ++q->qcount; in addq()
421 if (q->qcount > q->max_qcount) in addq()
422 q->max_qcount = q->qcount; in addq()
438 --q->qcount; in removeq()
HDatkbdcreg.h185 int qcount; member
/NextBSD/lib/libasl/
HDasl_memory.c1199 size_t qcount; in asl_memory_match_restricted_uuid() local
1208 qcount = asl_msg_list_count(query); in asl_memory_match_restricted_uuid()
1210 if (qcount == 0) in asl_memory_match_restricted_uuid()
1216 qp = (mem_record_t **)calloc(qcount, sizeof(mem_record_t *)); in asl_memory_match_restricted_uuid()
1219 qtype = (uint32_t *)calloc(qcount, sizeof(uint32_t)); in asl_memory_match_restricted_uuid()
1227 for (i = 0; i < qcount; i++) in asl_memory_match_restricted_uuid()
1262 for (i = 0; i < qcount; i++) asl_memory_record_free(s, qp[i]); in asl_memory_match_restricted_uuid()
1332 for (j = 0; (j < qcount) && (did_match == 0); j++) in asl_memory_match_restricted_uuid()
1382 for (i = 0; i < qcount; i++) asl_memory_record_free(s, qp[i]); in asl_memory_match_restricted_uuid()
HDasl_legacy1.c716 uint32_t mx, si, slot, i, qcount, match, didmatch, status; in match_worker() local
744 qcount = 0; in match_worker()
748 else qcount = query->count; in match_worker()
784 for (i = 0; i < qcount; i++) in match_worker()
/NextBSD/sys/dev/vnic/
HDnicvf_queues.c517 int tail, qcount; in nicvf_refill_rbdr() local
536 qcount = nicvf_queue_reg_read(nic, NIC_QSET_RBDR_0_1_STATUS0, rbdr_idx); in nicvf_refill_rbdr()
537 qcount &= 0x7FFFF; in nicvf_refill_rbdr()
539 if (qcount >= (qs->rbdr_len - 1)) { in nicvf_refill_rbdr()
543 refill_rb_cnt = qs->rbdr_len - qcount - 1; in nicvf_refill_rbdr()
HDnicvf_main.c186 int rid, qcount; in nicvf_attach() local
205 qcount = MAX_CMP_QUEUES_PER_QS; in nicvf_attach()
206 nic->max_queues = qcount; in nicvf_attach()
/NextBSD/contrib/apr-util/dbd/
HDapr_dbd_odbc.c1435 int qcount; in odbc_escape() local
1441 for (qcount = 1; (sq = strchr(sq + 1, '\'')); ) in odbc_escape()
1442 qcount++; in odbc_escape()
1443 newstr = apr_palloc(pool, strlen(s) + qcount + 1); in odbc_escape()