Lines Matching refs:file_ptr
226 unsigned long file_ptr; member
6876 return (struct file *) (slot->file_ptr & FFS_MASK); in io_file_from_index()
6881 unsigned long file_ptr = (unsigned long) file; in io_fixed_file_set() local
6883 file_ptr |= io_file_get_flags(file); in io_fixed_file_set()
6884 file_slot->file_ptr = file_ptr; in io_fixed_file_set()
6891 unsigned long file_ptr; in io_file_get_fixed() local
6896 file_ptr = io_fixed_file_slot(&ctx->file_table, fd)->file_ptr; in io_file_get_fixed()
6897 file = (struct file *) (file_ptr & FFS_MASK); in io_file_get_fixed()
6898 file_ptr &= ~FFS_MASK; in io_file_get_fixed()
6900 req->flags |= (file_ptr << REQ_F_SUPPORT_NOWAIT_BIT); in io_file_get_fixed()
8463 if (file_slot->file_ptr) { in io_install_fixed_file()
8470 old_file = (struct file *)(file_slot->file_ptr & FFS_MASK); in io_install_fixed_file()
8475 file_slot->file_ptr = 0; in io_install_fixed_file()
8483 file_slot->file_ptr = 0; in io_install_fixed_file()
8520 if (!file_slot->file_ptr) in io_close_fixed()
8523 file = (struct file *)(file_slot->file_ptr & FFS_MASK); in io_close_fixed()
8528 file_slot->file_ptr = 0; in io_close_fixed()
8572 if (file_slot->file_ptr) { in __io_sqe_files_update()
8573 file = (struct file *)(file_slot->file_ptr & FFS_MASK); in __io_sqe_files_update()
8578 file_slot->file_ptr = 0; in __io_sqe_files_update()
8604 file_slot->file_ptr = 0; in __io_sqe_files_update()