Searched refs:write_sg (Results 1 – 1 of 1) sorted by relevance
475 struct scatterlist *write_sg = NULL, *sg; in compare_and_write_callback() local516 write_sg = kmalloc(sizeof(struct scatterlist) * cmd->t_data_nents, in compare_and_write_callback()518 if (!write_sg) { in compare_and_write_callback()523 sg_init_table(write_sg, cmd->t_data_nents); in compare_and_write_callback()570 sg_set_page(&write_sg[i], m.page, block_size, in compare_and_write_callback()574 sg_set_page(&write_sg[i], m.page, block_size, in compare_and_write_callback()587 cmd->t_data_sg = write_sg; in compare_and_write_callback()619 kfree(write_sg); in compare_and_write_callback()