Lines Matching defs:file_ptr
219 unsigned long file_ptr;
6937 return (struct file *) (slot->file_ptr & FFS_MASK);
6942 unsigned long file_ptr = (unsigned long) file;
6945 file_ptr |= FFS_ASYNC_READ;
6947 file_ptr |= FFS_ASYNC_WRITE;
6949 file_ptr |= FFS_ISREG;
6950 file_slot->file_ptr = file_ptr;
6958 unsigned long file_ptr;
6965 file_ptr = io_fixed_file_slot(&ctx->file_table, fd)->file_ptr;
6966 file = (struct file *) (file_ptr & FFS_MASK);
6967 file_ptr &= ~FFS_MASK;
6969 req->flags |= (file_ptr << REQ_F_NOWAIT_READ_BIT);
8496 if (file_slot->file_ptr) {
8503 old_file = (struct file *)(file_slot->file_ptr & FFS_MASK);
8508 file_slot->file_ptr = 0;
8546 if (!file_slot->file_ptr)
8549 file = (struct file *)(file_slot->file_ptr & FFS_MASK);
8554 file_slot->file_ptr = 0;
8598 if (file_slot->file_ptr) {
8599 file = (struct file *)(file_slot->file_ptr & FFS_MASK);
8603 file_slot->file_ptr = 0;