Lines Matching refs:issued
1029 unsigned int *issued) in __submit_discard_cmd() argument
1057 while (total_len && *issued < dpolicy->max_requests && !err) { in __submit_discard_cmd()
1067 (*issued)++; in __submit_discard_cmd()
1068 if (*issued == dpolicy->max_requests) in __submit_discard_cmd()
1320 unsigned int issued = 0; in __issue_discard_cmd_orderly() local
1347 err = __submit_discard_cmd(sbi, dpolicy, dc, &issued); in __issue_discard_cmd_orderly()
1349 if (issued >= dpolicy->max_requests) in __issue_discard_cmd_orderly()
1365 if (!issued && io_interrupted) in __issue_discard_cmd_orderly()
1366 issued = -1; in __issue_discard_cmd_orderly()
1368 return issued; in __issue_discard_cmd_orderly()
1378 int i, issued = 0; in __issue_discard_cmd() local
1406 __submit_discard_cmd(sbi, dpolicy, dc, &issued); in __issue_discard_cmd()
1408 if (issued >= dpolicy->max_requests) in __issue_discard_cmd()
1415 if (issued >= dpolicy->max_requests || io_interrupted) in __issue_discard_cmd()
1419 if (!issued && io_interrupted) in __issue_discard_cmd()
1420 issued = -1; in __issue_discard_cmd()
1422 return issued; in __issue_discard_cmd()
1593 int issued; in issue_discard_thread() local
1625 issued = __issue_discard_cmd(sbi, &dpolicy); in issue_discard_thread()
1626 if (issued > 0) { in issue_discard_thread()
1629 } else if (issued == -1){ in issue_discard_thread()
2583 int issued; in __issue_discard_cmd_range() local
2587 issued = 0; in __issue_discard_cmd_range()
2616 err = __submit_discard_cmd(sbi, dpolicy, dc, &issued); in __issue_discard_cmd_range()
2618 if (issued >= dpolicy->max_requests) { in __issue_discard_cmd_range()