Lines Matching defs:oh
800 struct ocfs2_lock_holder *oh)
802 INIT_LIST_HEAD(&oh->oh_list);
803 oh->oh_owner_pid = get_pid(task_pid(current));
806 list_add_tail(&oh->oh_list, &lockres->l_holders);
814 struct ocfs2_lock_holder *oh;
817 list_for_each_entry(oh, &lockres->l_holders, oh_list) {
818 if (oh->oh_owner_pid == pid) {
820 return oh;
828 struct ocfs2_lock_holder *oh)
831 list_del(&oh->oh_list);
834 put_pid(oh->oh_owner_pid);
2676 struct ocfs2_lock_holder *oh)
2699 oh->oh_ex = ex;
2700 ocfs2_add_holder(lockres, oh);
2732 struct ocfs2_lock_holder *oh,
2744 ocfs2_inode_unlock(inode, oh->oh_ex);
2745 ocfs2_remove_holder(lockres, oh);