Lines Matching refs:file_ptr
219 unsigned long file_ptr; member
7111 return (struct file *) (slot->file_ptr & FFS_MASK); in io_file_from_index()
7116 unsigned long file_ptr = (unsigned long) file; in io_fixed_file_set() local
7119 file_ptr |= FFS_ASYNC_READ; in io_fixed_file_set()
7121 file_ptr |= FFS_ASYNC_WRITE; in io_fixed_file_set()
7123 file_ptr |= FFS_ISREG; in io_fixed_file_set()
7124 file_slot->file_ptr = file_ptr; in io_fixed_file_set()
7132 unsigned long file_ptr; in io_file_get_fixed() local
7139 file_ptr = io_fixed_file_slot(&ctx->file_table, fd)->file_ptr; in io_file_get_fixed()
7140 file = (struct file *) (file_ptr & FFS_MASK); in io_file_get_fixed()
7141 file_ptr &= ~FFS_MASK; in io_file_get_fixed()
7143 req->flags |= (file_ptr << REQ_F_NOWAIT_READ_BIT); in io_file_get_fixed()
8672 if (file_slot->file_ptr) { in io_install_fixed_file()
8679 old_file = (struct file *)(file_slot->file_ptr & FFS_MASK); in io_install_fixed_file()
8684 file_slot->file_ptr = 0; in io_install_fixed_file()
8722 if (!file_slot->file_ptr) in io_close_fixed()
8725 file = (struct file *)(file_slot->file_ptr & FFS_MASK); in io_close_fixed()
8730 file_slot->file_ptr = 0; in io_close_fixed()
8774 if (file_slot->file_ptr) { in __io_sqe_files_update()
8775 file = (struct file *)(file_slot->file_ptr & FFS_MASK); in __io_sqe_files_update()
8779 file_slot->file_ptr = 0; in __io_sqe_files_update()