Lines Matching refs:issued

1002 						unsigned int *issued)  in __submit_discard_cmd()  argument
1030 while (total_len && *issued < dpolicy->max_requests && !err) { in __submit_discard_cmd()
1040 (*issued)++; in __submit_discard_cmd()
1041 if (*issued == dpolicy->max_requests) in __submit_discard_cmd()
1293 unsigned int issued = 0; in __issue_discard_cmd_orderly() local
1320 err = __submit_discard_cmd(sbi, dpolicy, dc, &issued); in __issue_discard_cmd_orderly()
1322 if (issued >= dpolicy->max_requests) in __issue_discard_cmd_orderly()
1338 if (!issued && io_interrupted) in __issue_discard_cmd_orderly()
1339 issued = -1; in __issue_discard_cmd_orderly()
1341 return issued; in __issue_discard_cmd_orderly()
1351 int i, issued = 0; in __issue_discard_cmd() local
1379 __submit_discard_cmd(sbi, dpolicy, dc, &issued); in __issue_discard_cmd()
1381 if (issued >= dpolicy->max_requests) in __issue_discard_cmd()
1388 if (issued >= dpolicy->max_requests || io_interrupted) in __issue_discard_cmd()
1392 if (!issued && io_interrupted) in __issue_discard_cmd()
1393 issued = -1; in __issue_discard_cmd()
1395 return issued; in __issue_discard_cmd()
1566 int issued; in issue_discard_thread() local
1598 issued = __issue_discard_cmd(sbi, &dpolicy); in issue_discard_thread()
1599 if (issued > 0) { in issue_discard_thread()
1602 } else if (issued == -1){ in issue_discard_thread()
2558 int issued; in __issue_discard_cmd_range() local
2562 issued = 0; in __issue_discard_cmd_range()
2591 err = __submit_discard_cmd(sbi, dpolicy, dc, &issued); in __issue_discard_cmd_range()
2593 if (issued >= dpolicy->max_requests) { in __issue_discard_cmd_range()