Lines Matching refs:fl
184 struct file_lock *fl; in nfsd4_layout_setlease() local
190 fl = locks_alloc_lock(); in nfsd4_layout_setlease()
191 if (!fl) in nfsd4_layout_setlease()
193 locks_init_lock(fl); in nfsd4_layout_setlease()
194 fl->fl_lmops = &nfsd4_layouts_lm_ops; in nfsd4_layout_setlease()
195 fl->fl_flags = FL_LAYOUT; in nfsd4_layout_setlease()
196 fl->fl_type = F_RDLCK; in nfsd4_layout_setlease()
197 fl->fl_end = OFFSET_MAX; in nfsd4_layout_setlease()
198 fl->fl_owner = ls; in nfsd4_layout_setlease()
199 fl->fl_pid = current->tgid; in nfsd4_layout_setlease()
200 fl->fl_file = ls->ls_file->nf_file; in nfsd4_layout_setlease()
202 status = vfs_setlease(fl->fl_file, fl->fl_type, &fl, NULL); in nfsd4_layout_setlease()
204 locks_free_lock(fl); in nfsd4_layout_setlease()
207 BUG_ON(fl != NULL); in nfsd4_layout_setlease()
725 nfsd4_layout_lm_break(struct file_lock *fl) in nfsd4_layout_lm_break() argument
732 fl->fl_break_time = 0; in nfsd4_layout_lm_break()
733 nfsd4_recall_file_layout(fl->fl_owner); in nfsd4_layout_lm_break()