Home
last modified time | relevance | path

Searched refs:lockres (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/fs/ocfs2/dlmfs/
H A Duserdlm.c117 lockres->l_namelen, lockres->l_name, lockres->l_level, in user_ast()
132 lockres->l_namelen, lockres->l_name, lockres->l_flags); in user_ast()
143 lockres->l_level = lockres->l_requested; in user_ast()
204 lockres->l_namelen, lockres->l_name, level, lockres->l_level); in user_bast()
222 lockres->l_namelen, lockres->l_name, lockres->l_flags); in user_unlock_ast()
297 lockres->l_namelen, lockres->l_name, lockres->l_flags); in user_dlm_unblock_lock()
310 lockres->l_namelen, lockres->l_name); in user_dlm_unblock_lock()
347 lockres->l_namelen, lockres->l_name, in user_dlm_unblock_lock()
356 lockres->l_namelen, lockres->l_name, in user_dlm_unblock_lock()
366 lockres->l_namelen, lockres->l_name, lockres->l_level, new_level); in user_dlm_unblock_lock()
[all …]
H A Duserdlm.h56 void user_dlm_lock_res_init(struct user_lock_res *lockres,
58 int user_dlm_destroy_lock(struct user_lock_res *lockres);
59 int user_dlm_cluster_lock(struct user_lock_res *lockres,
62 void user_dlm_cluster_unlock(struct user_lock_res *lockres,
H A Ddlmfs.c299 struct user_lock_res *lockres; in dlmfs_evict_inode() local
307 lockres = &ip->ip_lockres; in dlmfs_evict_inode()
310 spin_lock(&lockres->l_lock); in dlmfs_evict_inode()
311 teardown = !!(lockres->l_flags & USER_LOCK_IN_TEARDOWN); in dlmfs_evict_inode()
312 spin_unlock(&lockres->l_lock); in dlmfs_evict_inode()
314 status = user_dlm_destroy_lock(lockres); in dlmfs_evict_inode()
/openbmc/linux/fs/ocfs2/
H A Ddlmglue.c328 return lockres->l_ops->get_osb(lockres); in ocfs2_get_lockres_osb()
998 lockres->l_name, level, lockres->l_level, lockres->l_blocking, in ocfs2_generic_handle_bast()
1169 lockres->l_unlock_action, lockres->l_level, lockres->l_requested); in ocfs2_locking_ast()
1185 lockres->l_name, lockres->l_action, lockres->l_flags, in ocfs2_locking_ast()
1944 lockres->l_flags, lockres->l_level, lockres->l_action); in ocfs2_flock_handle_signal()
2088 lockres->l_name, lockres->l_flags, lockres->l_level, in ocfs2_file_unlock()
3434 lockres->l_name, lockres->l_flags); in ocfs2_drop_lock()
3439 lockres->l_name, lockres->l_flags, lockres->l_action, in ocfs2_drop_lock()
3456 lockres->l_ops->set_lvb(lockres); in ocfs2_drop_lock()
3712 lockres->l_name, lockres->l_flags); in ocfs2_prepare_cancel_convert()
[all …]
H A Dlocks.c28 struct ocfs2_lock_res *lockres = &fp->fp_flock; in ocfs2_do_flock() local
37 if (lockres->l_flags & OCFS2_LOCK_ATTACHED && in ocfs2_do_flock()
38 lockres->l_level > LKM_NLMODE) { in ocfs2_do_flock()
42 if (lockres->l_level == LKM_EXMODE) in ocfs2_do_flock()
H A Ddlmglue.h115 void ocfs2_file_lock_res_init(struct ocfs2_lock_res *lockres,
118 void ocfs2_qinfo_lock_res_init(struct ocfs2_lock_res *lockres,
120 void ocfs2_refcount_lock_res_init(struct ocfs2_lock_res *lockres,
186 struct ocfs2_lock_res *lockres);
188 struct ocfs2_lock_res *lockres);
/openbmc/linux/fs/ocfs2/dlm/
H A Ddlmthread.c281 struct dlm_lock_resource *lockres; in dlm_run_purge_list() local
292 spin_lock(&lockres->spinlock); in dlm_run_purge_list()
304 spin_unlock(&lockres->spinlock); in dlm_run_purge_list()
319 lockres->lockname.name, in dlm_run_purge_list()
320 !unused, lockres->state, in dlm_run_purge_list()
323 spin_unlock(&lockres->spinlock); in dlm_run_purge_list()
327 dlm_lockres_get(lockres); in dlm_run_purge_list()
329 dlm_purge_lockres(dlm, lockres); in dlm_run_purge_list()
331 dlm_lockres_put(lockres); in dlm_run_purge_list()
582 res = lock->lockres; in dlm_flush_asts()
[all …]
H A Ddlmlock.c360 lock->lockres = res; in dlm_lock_attach_lockres()
368 res = lock->lockres; in dlm_lock_detach_lockres()
370 lock->lockres = NULL; in dlm_lock_detach_lockres()
593 res = lock->lockres; in dlmlock()
H A Ddlmast.c81 res = lock->lockres; in __dlm_queue_ast()
149 res = lock->lockres; in __dlm_queue_bast()
H A Ddlmcommon.h201 struct dlm_lock_resource *lockres; member
208 struct dlm_lock_resource *lockres; member
342 struct dlm_lock_resource *lockres; member
H A Ddlmunlock.c607 if (!lksb->lockid || !lksb->lockid->lockres) { in dlmunlock()
616 res = lock->lockres; in dlmunlock()
H A Ddlmrecovery.c1199 lock->lockres->lockname.len, lock->lockres->lockname.name, in dlm_prepare_lvb_for_migration()
1201 dlm_print_one_lock_resource(lock->lockres); in dlm_prepare_lvb_for_migration()
1509 item->u.ml.lockres = res; /* already have a ref */ in dlm_mig_lockres_handler()
1545 res = item->u.ml.lockres; in dlm_mig_lockres_worker()
H A Ddlmdebug.c118 dlm_print_one_lock_resource(lockid->lockres); in dlm_print_one_lock()
H A Ddlmmaster.c2061 item->u.am.lockres = res; /* already have a ref */ in dlm_dispatch_assert_master()
2091 res = item->u.am.lockres; in dlm_assert_master_worker()
/openbmc/linux/drivers/md/
H A Dmd-cluster.c258 static void add_resync_info(struct dlm_lock_resource *lockres, in add_resync_info() argument
263 ri = (struct resync_info *)lockres->lksb.sb_lvbptr; in add_resync_info()
269 struct dlm_lock_resource *lockres) in read_resync_info() argument
275 dlm_lock_sync(lockres, DLM_LOCK_CR); in read_resync_info()
276 memcpy(&ri, lockres->lksb.sb_lvbptr, sizeof(struct resync_info)); in read_resync_info()
282 dlm_unlock_sync(lockres); in read_resync_info()