Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/tws/
H A Dtws.c48 int tws_queue_depth = TWS_MAX_REQS; variable
414 for ( i=0; i< tws_queue_depth; i++) { in tws_detach()
528 if ( tws_queue_depth > TWS_MAX_REQS ) in tws_init()
529 tws_queue_depth = TWS_MAX_REQS; in tws_init()
530 if (tws_queue_depth < TWS_RESERVED_REQS+1) in tws_init()
531 tws_queue_depth = TWS_RESERVED_REQS+1; in tws_init()
536 dma_mem_size = (sizeof(struct tws_command_packet) * tws_queue_depth) + in tws_init()
609 sc->reqs = malloc(sizeof(struct tws_request) * tws_queue_depth, M_TWS, in tws_init()
611 sc->sense_bufs = malloc(sizeof(struct tws_sense) * tws_queue_depth, M_TWS, in tws_init()
687 for ( i=0; i< tws_queue_depth; i++) in tws_init_reqs()
[all …]
H A Dtws_hdm.c92 if ( tws_init_connect(sc, tws_queue_depth) ) in tws_init_ctlr()
125 while ( i < tws_queue_depth ) { in tws_init_obfl_q()
141 if ( i == tws_queue_depth ) in tws_init_obfl_q()
H A Dtws.h67 extern int tws_queue_depth;
H A Dtws_cam.c145 if ( tws_cam_depth > (tws_queue_depth - TWS_RESERVED_REQS) ) in tws_cam_attach()
146 tws_cam_depth = tws_queue_depth - TWS_RESERVED_REQS; in tws_cam_attach()
148 TWS_TRACE_DEBUG(sc, "depths,ctlr,cam", tws_queue_depth, tws_cam_depth); in tws_cam_attach()
1292 if ( tws_init_connect(sc, tws_queue_depth) ) { in tws_reinit()
H A Dtws_services.c374 if ( i>= 0 && i<tws_queue_depth) { in tws_find_sense_from_mfa()