Lines Matching defs:fl
74 struct file_lock *fl = &lock->fl;
90 locks_init_lock(fl);
91 fl->c.flc_flags = FL_POSIX;
92 fl->c.flc_type = F_RDLCK;
94 fl->fl_start = s32_to_loff_t(start);
96 fl->fl_end = OFFSET_MAX;
98 fl->fl_end = s32_to_loff_t(end);
106 const struct file_lock *fl = &lock->fl;
110 if (xdr_stream_encode_bool(xdr, fl->c.flc_type != F_RDLCK) < 0)
116 start = loff_t_to_s32(fl->fl_start);
117 if (fl->fl_end == OFFSET_MAX)
120 len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1);
167 argp->lock.fl.c.flc_type = F_WRLCK;
187 argp->lock.fl.c.flc_type = F_WRLCK;
212 argp->lock.fl.c.flc_type = F_WRLCK;
226 argp->lock.fl.c.flc_type = F_UNLCK;
277 locks_init_lock(&lock->fl);