Lines Matching refs:file_lock
524 struct file_lock *i_flock;
739 void (*fl_insert)(struct file_lock *); /* lock insertion callback */
740 void (*fl_remove)(struct file_lock *); /* lock removal callback */
741 void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
742 void (*fl_release_private)(struct file_lock *);
746 int (*fl_compare_owner)(struct file_lock *, struct file_lock *);
747 void (*fl_notify)(struct file_lock *); /* unblock callback */
748 void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
749 void (*fl_release_private)(struct file_lock *);
750 void (*fl_break)(struct file_lock *);
751 int (*fl_mylease)(struct file_lock *, struct file_lock *);
752 int (*fl_change)(struct file_lock **, int);
758 struct file_lock { struct
759 struct file_lock *fl_next; /* singly linked list for this inode */ argument
810 extern void locks_init_lock(struct file_lock *);
811 extern void locks_copy_lock(struct file_lock *, struct file_lock *);
814 extern int posix_test_lock(struct file *, struct file_lock *, struct file_lock *);
815 extern int posix_lock_file_conf(struct file *, struct file_lock *, struct file_lock *);
816 extern int posix_lock_file(struct file *, struct file_lock *);
817 extern int posix_lock_file_wait(struct file *, struct file_lock *);
818 extern int posix_unblock_lock(struct file *, struct file_lock *);
819 extern int flock_lock_file_wait(struct file *filp, struct file_lock *fl);
822 extern int setlease(struct file *, long, struct file_lock **);
823 extern int lease_modify(struct file_lock **, int);
1073 int (*lock) (struct file *, int, struct file_lock *);
1081 int (*flock) (struct file *, int, struct file_lock *);