aio_cmd 268 drivers/target/target_core_file.c struct target_core_file_cmd *aio_cmd; aio_cmd 275 drivers/target/target_core_file.c aio_cmd = kmalloc(sizeof(struct target_core_file_cmd), GFP_KERNEL); aio_cmd 276 drivers/target/target_core_file.c if (!aio_cmd) aio_cmd 281 drivers/target/target_core_file.c kfree(aio_cmd); aio_cmd 295 drivers/target/target_core_file.c aio_cmd->cmd = cmd; aio_cmd 296 drivers/target/target_core_file.c aio_cmd->len = len; aio_cmd 297 drivers/target/target_core_file.c aio_cmd->iocb.ki_pos = cmd->t_task_lba * dev->dev_attrib.block_size; aio_cmd 298 drivers/target/target_core_file.c aio_cmd->iocb.ki_filp = file; aio_cmd 299 drivers/target/target_core_file.c aio_cmd->iocb.ki_complete = cmd_rw_aio_complete; aio_cmd 300 drivers/target/target_core_file.c aio_cmd->iocb.ki_flags = IOCB_DIRECT; aio_cmd 303 drivers/target/target_core_file.c aio_cmd->iocb.ki_flags |= IOCB_DSYNC; aio_cmd 306 drivers/target/target_core_file.c ret = call_write_iter(file, &aio_cmd->iocb, &iter); aio_cmd 308 drivers/target/target_core_file.c ret = call_read_iter(file, &aio_cmd->iocb, &iter); aio_cmd 313 drivers/target/target_core_file.c cmd_rw_aio_complete(&aio_cmd->iocb, ret, 0);