Lines Matching defs:fl
117 struct file_lock *fl = &lock->fl;
128 locks_init_lock(fl);
129 fl->fl_flags = FL_POSIX;
130 fl->fl_type = F_RDLCK; /* as good as anything else */
135 fl->fl_start = s32_to_loff_t(start);
138 fl->fl_end = OFFSET_MAX;
140 fl->fl_end = s32_to_loff_t(end);
157 struct file_lock *fl = &resp->lock.fl;
159 *p++ = (fl->fl_type == F_RDLCK)? xdr_zero : xdr_one;
166 start = loff_t_to_s32(fl->fl_start);
167 if (fl->fl_end == OFFSET_MAX)
170 len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1);
196 argp->lock.fl.fl_type = F_WRLCK;
224 argp->lock.fl.fl_type = F_WRLCK;
245 argp->lock.fl.fl_type = F_WRLCK;
257 argp->lock.fl.fl_type = F_UNLCK;
268 locks_init_lock(&lock->fl);