Lines Matching refs:new_fl
1008 struct file_lock *new_fl = NULL; in flock_lock_inode() local
1023 new_fl = locks_alloc_lock(); in flock_lock_inode()
1024 if (!new_fl) in flock_lock_inode()
1062 locks_copy_lock(new_fl, request); in flock_lock_inode()
1063 locks_move_blocks(new_fl, request); in flock_lock_inode()
1064 locks_insert_lock_ctx(new_fl, &ctx->flc_flock); in flock_lock_inode()
1065 new_fl = NULL; in flock_lock_inode()
1071 if (new_fl) in flock_lock_inode()
1072 locks_free_lock(new_fl); in flock_lock_inode()
1082 struct file_lock *new_fl = NULL; in posix_lock_inode() local
1106 new_fl = locks_alloc_lock(); in posix_lock_inode()
1243 if (!new_fl) in posix_lock_inode()
1245 locks_copy_lock(new_fl, request); in posix_lock_inode()
1246 locks_move_blocks(new_fl, request); in posix_lock_inode()
1247 request = new_fl; in posix_lock_inode()
1248 new_fl = NULL; in posix_lock_inode()
1273 if (!new_fl) { in posix_lock_inode()
1277 locks_copy_lock(new_fl, request); in posix_lock_inode()
1278 locks_move_blocks(new_fl, request); in posix_lock_inode()
1279 locks_insert_lock_ctx(new_fl, &fl->fl_list); in posix_lock_inode()
1280 fl = new_fl; in posix_lock_inode()
1281 new_fl = NULL; in posix_lock_inode()
1306 if (new_fl) in posix_lock_inode()
1307 locks_free_lock(new_fl); in posix_lock_inode()
1475 struct file_lock *new_fl, *fl, *tmp; in __break_lease() local
1480 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1481 if (IS_ERR(new_fl)) in __break_lease()
1482 return PTR_ERR(new_fl); in __break_lease()
1483 new_fl->fl_flags = type; in __break_lease()
1497 if (!any_leases_conflict(inode, new_fl)) in __break_lease()
1508 if (!leases_conflict(fl, new_fl)) in __break_lease()
1529 trace_break_lease_noblock(inode, new_fl); in __break_lease()
1541 locks_insert_block(fl, new_fl, leases_conflict); in __break_lease()
1542 trace_break_lease_block(inode, new_fl); in __break_lease()
1547 error = wait_event_interruptible_timeout(new_fl->fl_wait, in __break_lease()
1548 list_empty(&new_fl->fl_blocked_member), in __break_lease()
1553 trace_break_lease_unblock(inode, new_fl); in __break_lease()
1554 locks_delete_block(new_fl); in __break_lease()
1562 if (any_leases_conflict(inode, new_fl)) in __break_lease()
1571 locks_free_lock(new_fl); in __break_lease()