Lines Matching refs:file_ptr
219 unsigned long file_ptr; member
6749 return (struct file *) (slot->file_ptr & FFS_MASK); in io_file_from_index()
6754 unsigned long file_ptr = (unsigned long) file; in io_fixed_file_set() local
6757 file_ptr |= FFS_ASYNC_READ; in io_fixed_file_set()
6759 file_ptr |= FFS_ASYNC_WRITE; in io_fixed_file_set()
6761 file_ptr |= FFS_ISREG; in io_fixed_file_set()
6762 file_slot->file_ptr = file_ptr; in io_fixed_file_set()
6769 unsigned long file_ptr; in io_file_get_fixed() local
6774 file_ptr = io_fixed_file_slot(&ctx->file_table, fd)->file_ptr; in io_file_get_fixed()
6775 file = (struct file *) (file_ptr & FFS_MASK); in io_file_get_fixed()
6776 file_ptr &= ~FFS_MASK; in io_file_get_fixed()
6778 req->flags |= (file_ptr << REQ_F_NOWAIT_READ_BIT); in io_file_get_fixed()
8325 if (file_slot->file_ptr) { in io_install_fixed_file()
8332 old_file = (struct file *)(file_slot->file_ptr & FFS_MASK); in io_install_fixed_file()
8337 file_slot->file_ptr = 0; in io_install_fixed_file()
8345 file_slot->file_ptr = 0; in io_install_fixed_file()
8381 if (!file_slot->file_ptr) in io_close_fixed()
8384 file = (struct file *)(file_slot->file_ptr & FFS_MASK); in io_close_fixed()
8389 file_slot->file_ptr = 0; in io_close_fixed()
8433 if (file_slot->file_ptr) { in __io_sqe_files_update()
8434 file = (struct file *)(file_slot->file_ptr & FFS_MASK); in __io_sqe_files_update()
8438 file_slot->file_ptr = 0; in __io_sqe_files_update()
8464 file_slot->file_ptr = 0; in __io_sqe_files_update()