Lines Matching defs:num_commands
33 u_int num_commands;
128 * Since num_commands == qsize - 1, there can never be too
131 new_sqtail = (qp->sqtail + 1) % (qp->num_commands + 1);
191 if (cid > qp->num_commands) {
209 qp->sqhd = (qp->sqhd + 1) % (qp->num_commands + 1);
275 NULL, qp->num_commands + 1, "Number of entries in queue");
307 qp->num_commands = nvlist_get_number(nvl, "qsize") - 1;
309 qp->num_commands += sc->num_aer;
312 qp->num_commands, M_NVMF, M_WAITOK | M_ZERO);
314 for (i = 0; i < qp->num_commands; i++) {
371 for (u_int i = 0; i < qp->num_commands; i++) {