Lines Matching refs:flp
347 static int lease_alloc(struct file *filp, int type, struct file_lock **flp)
361 *flp = fl;
1198 * @flp: input - file_lock to use, output - file_lock inserted
1200 * The (input) flp->fl_lmops->fl_break function is required
1205 static int __setlease(struct file *filp, long arg, struct file_lock **flp)
1215 if (!flp || !(*flp) || !(*flp)->fl_lmops || !(*flp)->fl_lmops->fl_break)
1218 lease = *flp;
1257 *flp = *my_before;
1279 *flp = fl;
1330 struct file_lock fl, *flp = &fl;
1350 error = __setlease(filp, arg, &flp);
1354 error = fasync_helper(fd, filp, 1, &flp->fl_fasync);
1357 flp->fl_type = F_UNLCK | F_INPROGRESS;
1358 flp->fl_break_time = jiffies- 10;