Home
last modified time | relevance | path

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

/arch/mips/cavium-octeon/executive/
Dcvmx-cmd-queue.c113 int max_depth, int fpa_pool, in cvmx_cmd_queue_initialize() argument
130 if ((max_depth < 0) || (max_depth > 1 << 20)) in cvmx_cmd_queue_initialize()
132 } else if (max_depth != 0) in cvmx_cmd_queue_initialize()
142 if (max_depth != (int)qstate->max_depth) { in cvmx_cmd_queue_initialize()
146 (int)qstate->max_depth); in cvmx_cmd_queue_initialize()
183 qstate->max_depth = max_depth; in cvmx_cmd_queue_initialize()
/arch/mips/include/asm/octeon/
Dcvmx-cmd-queue.h133 uint32_t max_depth; member
171 int max_depth, int fpa_pool,
343 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write()
345 (cvmx_cmd_queue_length(queue_id) > (int)qptr->max_depth)) { in cvmx_cmd_queue_write()
441 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write2()
443 (cvmx_cmd_queue_length(queue_id) > (int)qptr->max_depth)) { in cvmx_cmd_queue_write2()
542 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write3()
544 (cvmx_cmd_queue_length(queue_id) > (int)qptr->max_depth)) { in cvmx_cmd_queue_write3()
/arch/um/drivers/
Dvector_kern.c230 % qi->max_depth; in vector_advancehead()
260 % qi->max_depth; in vector_advancetail()
325 if (queue_depth < qi->max_depth) { in vector_enqueue()
387 int result = 0, send_len, queue_depth = qi->max_depth; in vector_send()
400 if (send_len + qi->head > qi->max_depth) in vector_send()
401 send_len = qi->max_depth - qi->head; in vector_send()
472 for (i = 0; i < qi->max_depth; i++) { in destroy_queue()
481 for (i = 0; i < qi->max_depth; i++) { in destroy_queue()
513 result->max_depth = max_size; in create_queue()
953 vp->fds->rx_fd, qi->mmsg_vector, qi->max_depth, 0); in vector_mmsg_rx()
[all …]
Dvector_kern.h43 int queue_depth, head, tail, max_depth, max_iov_frags; member