Home
last modified time | relevance | path

Searched refs:f_file (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/fs/lockd/
Dsvcsubs.c89 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 …]
Dsvclock.c567 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()
Dsvc4proc.c56 lock->fl.c.flc_file = file->f_file[mode]; in nlm4svc_retrieve_args()
Dsvcproc.c81 lock->fl.c.flc_file = file->f_file[mode]; in nlmsvc_retrieve_args()
/linux-6.12.1/include/linux/lockd/
Dlockd.h158 struct file * f_file[2]; /* VFS file pointers, member
312 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()