Lines Matching refs:dql
1397 struct dql *dql = &queue->dql; in bql_show_hold_time() local
1399 return sysfs_emit(buf, "%u\n", jiffies_to_msecs(dql->slack_hold_time)); in bql_show_hold_time()
1405 struct dql *dql = &queue->dql; in bql_set_hold_time() local
1413 dql->slack_hold_time = msecs_to_jiffies(value); in bql_set_hold_time()
1424 struct dql *dql = &queue->dql; in bql_show_stall_thrs() local
1426 return sysfs_emit(buf, "%u\n", jiffies_to_msecs(dql->stall_thrs)); in bql_show_stall_thrs()
1432 struct dql *dql = &queue->dql; in bql_set_stall_thrs() local
1444 if (!dql->stall_thrs && value) in bql_set_stall_thrs()
1445 dql->last_reap = jiffies; in bql_set_stall_thrs()
1448 dql->stall_thrs = value; in bql_set_stall_thrs()
1458 return sysfs_emit(buf, "%u\n", READ_ONCE(queue->dql.stall_max)); in bql_show_stall_max()
1464 WRITE_ONCE(queue->dql.stall_max, 0); in bql_set_stall_max()
1473 struct dql *dql = &queue->dql; in bql_show_stall_cnt() local
1475 return sysfs_emit(buf, "%lu\n", dql->stall_cnt); in bql_show_stall_cnt()
1484 struct dql *dql = &queue->dql; in bql_show_inflight() local
1486 return sysfs_emit(buf, "%u\n", dql->num_queued - dql->num_completed); in bql_show_inflight()
1496 return bql_show(buf, queue->dql.FIELD); \
1502 return bql_set(buf, len, &queue->dql.FIELD); \