Searched refs:f_file (Results 1 – 5 of 5) sorted by relevance
89 struct file **fp = &file->f_file[mode]; in nlm_do_fopen()169 if (file->f_file[O_RDONLY]) in nlm_delete_file()170 nlmsvc_ops->fclose(file->f_file[O_RDONLY]); in nlm_delete_file()171 if (file->f_file[O_WRONLY]) in nlm_delete_file()172 nlmsvc_ops->fclose(file->f_file[O_WRONLY]); in nlm_delete_file()191 lock.c.flc_file = file->f_file[O_RDONLY]; in nlm_unlock_files()194 lock.c.flc_file = file->f_file[O_WRONLY]; in nlm_unlock_files()289 if (file->f_file[O_RDONLY]) in nlm_close_files()290 nlmsvc_ops->fclose(file->f_file[O_RDONLY]); in nlm_close_files()291 if (file->f_file[O_WRONLY]) in nlm_close_files()[all …]
567 error = vfs_lock_file(file->f_file[mode], F_SETLK, &lock->fl, NULL); in nlmsvc_lock()631 error = vfs_test_lock(file->f_file[mode], &lock->fl); in nlmsvc_testlock()686 lock->fl.c.flc_file = file->f_file[O_RDONLY]; in nlmsvc_unlock()690 lock->fl.c.flc_file = file->f_file[O_WRONLY]; in nlmsvc_unlock()729 vfs_cancel_lock(block->b_file->f_file[mode], fl); in nlmsvc_cancel_blocked()872 error = vfs_lock_file(file->f_file[mode], F_SETLK, &lock->fl, NULL); in nlmsvc_grant_blocked()
56 lock->fl.c.flc_file = file->f_file[mode]; in nlm4svc_retrieve_args()
81 lock->fl.c.flc_file = file->f_file[mode]; in nlmsvc_retrieve_args()
158 struct file * f_file[2]; /* VFS file pointers, member312 return file->f_file[O_RDONLY] ? in nlmsvc_file_file()313 file->f_file[O_RDONLY] : file->f_file[O_WRONLY]; in nlmsvc_file_file()