Searched refs:tqd (Results 1 – 2 of 2) sorted by relevance
607 int j, ntag = 0, nuntag = 0, tqd, utqd; in select_queue_depths() local623 tqd = (host->can_queue - utqd * nuntag) / (ntag ? ntag : 1); in select_queue_depths()625 if (tqd > max_queue_depth) tqd = max_queue_depth; in select_queue_depths()627 if (tqd < MAX_CMD_PER_LUN) tqd = MAX_CMD_PER_LUN; in select_queue_depths()635 dev->queue_depth = tqd; in select_queue_depths()
849 int j, ntag = 0, nuntag = 0, tqd, utqd; in select_queue_depths() local865 tqd = (host->can_queue - utqd * nuntag) / (ntag ? ntag : 1); in select_queue_depths()867 if (tqd > max_queue_depth) tqd = max_queue_depth; in select_queue_depths()869 if (tqd < MAX_CMD_PER_LUN) tqd = MAX_CMD_PER_LUN; in select_queue_depths()877 dev->queue_depth = tqd; in select_queue_depths()