Home
last modified time | relevance | path

Searched refs:aio_cmd (Results 1 – 1 of 1) sorted by relevance

/drivers/target/
Dtarget_core_file.c268 struct target_core_file_cmd *aio_cmd; in fd_execute_rw_aio() local
275 aio_cmd = kmalloc(sizeof(struct target_core_file_cmd), GFP_KERNEL); in fd_execute_rw_aio()
276 if (!aio_cmd) in fd_execute_rw_aio()
281 kfree(aio_cmd); in fd_execute_rw_aio()
295 aio_cmd->cmd = cmd; in fd_execute_rw_aio()
296 aio_cmd->len = len; in fd_execute_rw_aio()
297 aio_cmd->iocb.ki_pos = cmd->t_task_lba * dev->dev_attrib.block_size; in fd_execute_rw_aio()
298 aio_cmd->iocb.ki_filp = file; in fd_execute_rw_aio()
299 aio_cmd->iocb.ki_complete = cmd_rw_aio_complete; in fd_execute_rw_aio()
300 aio_cmd->iocb.ki_flags = IOCB_DIRECT; in fd_execute_rw_aio()
[all …]