Lines Matching refs:dispose
299 locks_dispose_list(struct list_head *dispose) in locks_dispose_list() argument
303 while (!list_empty(dispose)) { in locks_dispose_list()
304 fl = list_first_entry(dispose, struct file_lock, fl_list); in locks_dispose_list()
707 locks_delete_lock_ctx(struct file_lock *fl, struct list_head *dispose) in locks_delete_lock_ctx() argument
710 if (dispose) in locks_delete_lock_ctx()
711 list_add(&fl->fl_list, dispose); in locks_delete_lock_ctx()
876 LIST_HEAD(dispose); in flock_lock_inode()
901 locks_delete_lock_ctx(fl, &dispose); in flock_lock_inode()
933 locks_dispose_list(&dispose); in flock_lock_inode()
947 LIST_HEAD(dispose); in __posix_lock_file()
1040 locks_delete_lock_ctx(fl, &dispose); in __posix_lock_file()
1069 locks_delete_lock_ctx(fl, &dispose); in __posix_lock_file()
1086 locks_delete_lock_ctx(fl, &dispose); in __posix_lock_file()
1144 locks_dispose_list(&dispose); in __posix_lock_file()
1305 int lease_modify(struct file_lock *fl, int arg, struct list_head *dispose) in lease_modify() argument
1323 locks_delete_lock_ctx(fl, dispose); in lease_modify()
1337 static void time_out_leases(struct inode *inode, struct list_head *dispose) in time_out_leases() argument
1347 lease_modify(fl, F_RDLCK, dispose); in time_out_leases()
1349 lease_modify(fl, F_UNLCK, dispose); in time_out_leases()
1397 LIST_HEAD(dispose); in __break_lease()
1413 time_out_leases(inode, &dispose); in __break_lease()
1440 locks_delete_lock_ctx(fl, &dispose); in __break_lease()
1462 locks_dispose_list(&dispose); in __break_lease()
1474 time_out_leases(inode, &dispose); in __break_lease()
1481 locks_dispose_list(&dispose); in __break_lease()
1552 LIST_HEAD(dispose); in fcntl_getlease()
1557 time_out_leases(file_inode(filp), &dispose); in fcntl_getlease()
1565 locks_dispose_list(&dispose); in fcntl_getlease()
1609 LIST_HEAD(dispose); in generic_add_lease()
1638 time_out_leases(inode, &dispose); in generic_add_lease()
1675 error = lease->fl_lmops->lm_change(lease, arg, &dispose); in generic_add_lease()
1707 locks_dispose_list(&dispose); in generic_add_lease()
1721 LIST_HEAD(dispose); in generic_delete_lease()
1739 error = fl->fl_lmops->lm_change(victim, F_UNLCK, &dispose); in generic_delete_lease()
1741 locks_dispose_list(&dispose); in generic_delete_lease()
2462 LIST_HEAD(dispose); in locks_remove_lease()
2470 lease_modify(fl, F_UNLCK, &dispose); in locks_remove_lease()
2472 locks_dispose_list(&dispose); in locks_remove_lease()