Lines Matching refs:new_fl

919 	struct file_lock *new_fl = NULL;  in flock_lock_inode()  local
934 new_fl = locks_alloc_lock(); in flock_lock_inode()
935 if (!new_fl) in flock_lock_inode()
973 locks_copy_lock(new_fl, request); in flock_lock_inode()
974 locks_insert_lock_ctx(new_fl, &ctx->flc_flock); in flock_lock_inode()
975 new_fl = NULL; in flock_lock_inode()
981 if (new_fl) in flock_lock_inode()
982 locks_free_lock(new_fl); in flock_lock_inode()
992 struct file_lock *new_fl = NULL; in posix_lock_inode() local
1014 new_fl = locks_alloc_lock(); in posix_lock_inode()
1133 if (!new_fl) in posix_lock_inode()
1135 locks_copy_lock(new_fl, request); in posix_lock_inode()
1136 request = new_fl; in posix_lock_inode()
1137 new_fl = NULL; in posix_lock_inode()
1162 if (!new_fl) { in posix_lock_inode()
1166 locks_copy_lock(new_fl, request); in posix_lock_inode()
1167 locks_insert_lock_ctx(new_fl, &fl->fl_list); in posix_lock_inode()
1168 fl = new_fl; in posix_lock_inode()
1169 new_fl = NULL; in posix_lock_inode()
1194 if (new_fl) in posix_lock_inode()
1195 locks_free_lock(new_fl); in posix_lock_inode()
1448 struct file_lock *new_fl, *fl, *tmp; in __break_lease() local
1453 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1454 if (IS_ERR(new_fl)) in __break_lease()
1455 return PTR_ERR(new_fl); in __break_lease()
1456 new_fl->fl_flags = type; in __break_lease()
1470 if (!any_leases_conflict(inode, new_fl)) in __break_lease()
1481 if (!leases_conflict(fl, new_fl)) in __break_lease()
1502 trace_break_lease_noblock(inode, new_fl); in __break_lease()
1514 locks_insert_block(fl, new_fl); in __break_lease()
1515 trace_break_lease_block(inode, new_fl); in __break_lease()
1520 error = wait_event_interruptible_timeout(new_fl->fl_wait, in __break_lease()
1521 !new_fl->fl_next, break_time); in __break_lease()
1525 trace_break_lease_unblock(inode, new_fl); in __break_lease()
1526 locks_delete_block(new_fl); in __break_lease()
1534 if (any_leases_conflict(inode, new_fl)) in __break_lease()
1542 locks_free_lock(new_fl); in __break_lease()