Searched refs:write_sg (Results 1 – 1 of 1) sorted by relevance
397 struct scatterlist *write_sg = NULL, *sg; in compare_and_write_callback() local435 write_sg = kmalloc(sizeof(struct scatterlist) * cmd->t_data_nents, in compare_and_write_callback()437 if (!write_sg) { in compare_and_write_callback()442 sg_init_table(write_sg, cmd->t_data_nents); in compare_and_write_callback()489 sg_set_page(&write_sg[i], m.page, block_size, in compare_and_write_callback()493 sg_set_page(&write_sg[i], m.page, block_size, in compare_and_write_callback()506 cmd->t_data_sg = write_sg; in compare_and_write_callback()538 kfree(write_sg); in compare_and_write_callback()