Home
last modified time | relevance | path

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

/openbmc/linux/fs/lockd/
H A 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.fl_file = file->f_file[O_RDONLY]; in nlm_unlock_files()
194 lock.fl_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 …]
H A Dsvclock.c549 error = vfs_lock_file(file->f_file[mode], F_SETLK, &lock->fl, NULL); in nlmsvc_lock()
618 error = vfs_test_lock(file->f_file[mode], &lock->fl); in nlmsvc_testlock()
673 lock->fl.fl_file = file->f_file[O_RDONLY]; in nlmsvc_unlock()
677 lock->fl.fl_file = file->f_file[O_WRONLY]; in nlmsvc_unlock()
716 vfs_cancel_lock(block->b_file->f_file[mode], fl); in nlmsvc_cancel_blocked()
859 error = vfs_lock_file(file->f_file[mode], F_SETLK, &lock->fl, NULL); in nlmsvc_grant_blocked()
H A Dsvc4proc.c56 lock->fl.fl_file = file->f_file[mode]; in nlm4svc_retrieve_args()
H A Dsvcproc.c81 lock->fl.fl_file = file->f_file[mode]; in nlmsvc_retrieve_args()
/openbmc/linux/include/linux/lockd/
H A 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()