Signed-off-by: Jens Axboe <axboe@fb.com>
struct verify_header *hdr, unsigned int header_num,
unsigned int header_len);
struct verify_header *hdr, unsigned int header_num,
unsigned int header_len);
-static void fill_pattern(struct thread_data *td, void *p, unsigned int len,
- char *pattern, unsigned int pattern_bytes)
+static void fill_pattern(void *p, unsigned int len, char *pattern,
+ unsigned int pattern_bytes)
{
switch (pattern_bytes) {
case 0:
{
switch (pattern_bytes) {
case 0:
void fill_buffer_pattern(struct thread_data *td, void *p, unsigned int len)
{
void fill_buffer_pattern(struct thread_data *td, void *p, unsigned int len)
{
- fill_pattern(td, p, len, td->o.buffer_pattern, td->o.buffer_pattern_bytes);
+ fill_pattern(p, len, td->o.buffer_pattern, td->o.buffer_pattern_bytes);
}
void fill_verify_pattern(struct thread_data *td, void *p, unsigned int len,
}
void fill_verify_pattern(struct thread_data *td, void *p, unsigned int len,
- fill_pattern(td, p, len, td->o.verify_pattern, td->o.verify_pattern_bytes);
+ fill_pattern(p, len, td->o.verify_pattern, td->o.verify_pattern_bytes);
io_u->buf_filled_len = len;
}
io_u->buf_filled_len = len;
}