Home
last modified time | relevance | path

Searched refs:ip_lockres (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/ocfs2/dlmfs/
H A Ddlmfs.c146 status = user_dlm_cluster_lock(&ip->ip_lockres, level, flags); in dlmfs_file_open()
178 user_dlm_cluster_unlock(&ip->ip_lockres, level); in dlmfs_file_release()
213 poll_wait(file, &ip->ip_lockres.l_event, wait); in dlmfs_file_poll()
215 spin_lock(&ip->ip_lockres.l_lock); in dlmfs_file_poll()
216 if (ip->ip_lockres.l_flags & USER_LOCK_BLOCKED) in dlmfs_file_poll()
218 spin_unlock(&ip->ip_lockres.l_lock); in dlmfs_file_poll()
307 lockres = &ip->ip_lockres; in dlmfs_evict_inode()
380 user_dlm_lock_res_init(&ip->ip_lockres, dentry); in dlmfs_get_inode()
499 status = user_dlm_destroy_lock(&DLMFS_I(inode)->ip_lockres); in dlmfs_unlink()
H A Duserdlm.h75 struct user_lock_res ip_lockres; /* unused for directories. */ member
H A Duserdlm.c69 ip_lockres); in cluster_connection_from_user_lockres()
80 ip_lockres); in user_dlm_inode_from_user_lockres()
539 struct user_lock_res *lockres = &DLMFS_I(inode)->ip_lockres; in user_dlm_write_lvb()
555 struct user_lock_res *lockres = &DLMFS_I(inode)->ip_lockres; in user_dlm_read_lvb()