Lines Matching defs:trim
1189 static void qla_trim_buf(struct qla_qpair *qp, u16 trim)
1194 if (!trim)
1197 for (i = 0; i < trim; i++) {
1201 "QP id(%d): trim active buf[%d]. Remain %d bufs\n",
1218 qp->id, trim, qp->buf_pool.num_alloc);
1223 u32 trim;
1232 trim = qp->buf_pool.num_alloc - qp->buf_pool.max_used;
1233 trim = (trim * 10) / 100;
1234 trim = trim ? trim : 1;
1235 qla_trim_buf(qp, trim);