Home
last modified time | relevance | path

Searched refs:tws_queue_depth (Results 1 – 5 of 5) sorted by relevance

/dragonfly/sys/dev/raid/tws/
HDtws.c49 int tws_queue_depth = TWS_MAX_REQS; variable
455 if ( tws_queue_depth > TWS_MAX_REQS ) in tws_init()
456 tws_queue_depth = TWS_MAX_REQS; in tws_init()
457 if (tws_queue_depth < TWS_RESERVED_REQS+1) in tws_init()
458 tws_queue_depth = TWS_RESERVED_REQS+1; in tws_init()
463 dma_mem_size = (sizeof(struct tws_command_packet) * tws_queue_depth) + in tws_init()
535 sc->reqs = kmalloc(sizeof(struct tws_request) * tws_queue_depth, M_TWS, in tws_init()
537 sc->sense_bufs = kmalloc(sizeof(struct tws_sense) * tws_queue_depth, M_TWS, in tws_init()
608 for ( i=0; i< tws_queue_depth; i++) in tws_init_reqs()
858 TUNABLE_INT("hw.tws.queue_depth", &tws_queue_depth);
HDtws_hdm.c92 if ( tws_init_connect(sc, tws_queue_depth) ) in tws_init_ctlr()
127 while ( i < tws_queue_depth ) { in tws_init_obfl_q()
146 if ( i == tws_queue_depth ) in tws_init_obfl_q()
HDtws.h64 extern int tws_queue_depth;
HDtws_cam.c151 if ( tws_cam_depth > (tws_queue_depth - TWS_RESERVED_REQS) ) in tws_cam_attach()
152 tws_cam_depth = tws_queue_depth - TWS_RESERVED_REQS; in tws_cam_attach()
154 TWS_TRACE_DEBUG(sc, "depths,ctlr,cam", tws_queue_depth, tws_cam_depth); in tws_cam_attach()
1263 if ( tws_init_connect(sc, tws_queue_depth) ) { in tws_reinit()
HDtws_services.c372 if ( i>= 0 && i<tws_queue_depth) { in tws_find_sense_from_mfa()