Home
last modified time | relevance | path

Searched refs:wr_sz (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/scsi/csiostor/
H A Dcsio_wr.c249 q->wr_sz = wrsize; /* If using fixed size WRs */ in csio_wr_alloc_q()
261 q->credits = (qsz - q->wr_sz) / q->wr_sz; in csio_wr_alloc_q()
263 - q->wr_sz); in csio_wr_alloc_q()
775 (i * q->wr_sz)); in csio_wr_cleanup_iq_ftr()
778 (q->wr_sz - sizeof(*ftr))); in csio_wr_cleanup_iq_ftr()
1091 iq_handler(hw, wr, q->wr_sz - sizeof(struct csio_iqwr_footer), in csio_wr_process_fl()
1134 void *wr = (void *)((uintptr_t)q->vstart + (q->cidx * q->wr_sz)); in csio_wr_process_iq()
1144 (q->wr_sz - sizeof(*ftr))); in csio_wr_process_iq()
1152 CSIO_DB_ASSERT(((uintptr_t)wr + q->wr_sz) <= in csio_wr_process_iq()
1160 iq_handler(hw, wr, q->wr_sz - sizeof(*ftr), NULL, priv); in csio_wr_process_iq()
[all …]
H A Dcsio_wr.h398 uint32_t wr_sz; /* Size of all WRs in this q member
462 #define csio_q_wr_sz(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->wr_sz)