@@ -884,9 +884,10 @@ EXPORT_SYMBOL(blk_get_request);
884
884
885
885
/**
886
886
* blk_make_request - given a bio, allocate a corresponding struct request.
887
- *
887
+ * @q: target request queue
888
888
* @bio: The bio describing the memory mappings that will be submitted for IO.
889
889
* It may be a chained-bio properly constructed by block/bio layer.
890
+ * @gfp_mask: gfp flags to be used for memory allocation
890
891
*
891
892
* blk_make_request is the parallel of generic_make_request for BLOCK_PC
892
893
* type commands. Where the struct request needs to be farther initialized by
@@ -1872,14 +1873,14 @@ EXPORT_SYMBOL(blk_fetch_request);
1872
1873
1873
1874
/**
1874
1875
* blk_update_request - Special helper function for request stacking drivers
1875
- * @rq: the request being processed
1876
+ * @req: the request being processed
1876
1877
* @error: %0 for success, < %0 for error
1877
- * @nr_bytes: number of bytes to complete @rq
1878
+ * @nr_bytes: number of bytes to complete @req
1878
1879
*
1879
1880
* Description:
1880
- * Ends I/O on a number of bytes attached to @rq , but doesn't complete
1881
- * the request structure even if @rq doesn't have leftover.
1882
- * If @rq has leftover, sets it up for the next range of segments.
1881
+ * Ends I/O on a number of bytes attached to @req , but doesn't complete
1882
+ * the request structure even if @req doesn't have leftover.
1883
+ * If @req has leftover, sets it up for the next range of segments.
1883
1884
*
1884
1885
* This special helper function is only for request stacking drivers
1885
1886
* (e.g. request-based dm) so that they can handle partial completion.
@@ -2145,7 +2146,7 @@ EXPORT_SYMBOL_GPL(blk_end_request);
2145
2146
/**
2146
2147
* blk_end_request_all - Helper function for drives to finish the request.
2147
2148
* @rq: the request to finish
2148
- * @err : %0 for success, < %0 for error
2149
+ * @error : %0 for success, < %0 for error
2149
2150
*
2150
2151
* Description:
2151
2152
* Completely finish @rq.
@@ -2166,7 +2167,7 @@ EXPORT_SYMBOL_GPL(blk_end_request_all);
2166
2167
/**
2167
2168
* blk_end_request_cur - Helper function to finish the current request chunk.
2168
2169
* @rq: the request to finish the current chunk for
2169
- * @err : %0 for success, < %0 for error
2170
+ * @error : %0 for success, < %0 for error
2170
2171
*
2171
2172
* Description:
2172
2173
* Complete the current consecutively mapped chunk from @rq.
@@ -2203,7 +2204,7 @@ EXPORT_SYMBOL_GPL(__blk_end_request);
2203
2204
/**
2204
2205
* __blk_end_request_all - Helper function for drives to finish the request.
2205
2206
* @rq: the request to finish
2206
- * @err : %0 for success, < %0 for error
2207
+ * @error : %0 for success, < %0 for error
2207
2208
*
2208
2209
* Description:
2209
2210
* Completely finish @rq. Must be called with queue lock held.
@@ -2224,7 +2225,7 @@ EXPORT_SYMBOL_GPL(__blk_end_request_all);
2224
2225
/**
2225
2226
* __blk_end_request_cur - Helper function to finish the current request chunk.
2226
2227
* @rq: the request to finish the current chunk for
2227
- * @err : %0 for success, < %0 for error
2228
+ * @error : %0 for success, < %0 for error
2228
2229
*
2229
2230
* Description:
2230
2231
* Complete the current consecutively mapped chunk from @rq. Must
0 commit comments