Home
last modified time | relevance | path

Searched refs:lockid (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/fs/ocfs2/dlm/
H A Ddlmapi.h97 struct dlm_lock *lockid; member
188 void dlm_print_one_lock(struct dlm_lock *lockid);
H A Ddlmunlock.c607 if (!lksb->lockid || !lksb->lockid->lockres) { in dlmunlock()
612 lock = lksb->lockid; in dlmunlock()
H A Ddlmmaster.c702 const char *lockid, in dlm_get_lock_resource() argument
716 BUG_ON(!lockid); in dlm_get_lock_resource()
718 hash = dlm_lockid_hash(lockid, namelen); in dlm_get_lock_resource()
720 mlog(0, "get lockres %s (len %d)\n", lockid, namelen); in dlm_get_lock_resource()
789 res = dlm_new_lockres(dlm, lockid, namelen); in dlm_get_lock_resource()
814 blocked = dlm_find_mle(dlm, &mle, (char *)lockid, namelen); in dlm_get_lock_resource()
835 dlm->name, namelen, lockid, in dlm_get_lock_resource()
868 dlm->name, namelen, (char *)lockid, bit); in dlm_get_lock_resource()
897 if (dlm_is_recovery_lock(lockid, namelen)) { in dlm_get_lock_resource()
919 dlm->name, namelen, (char *)lockid, bit); in dlm_get_lock_resource()
[all …]
H A Ddlmlock.c429 lksb->lockid = lock; in dlm_new_lock()
586 lock = lksb->lockid; in dlmlock()
H A Ddlmdebug.c116 void dlm_print_one_lock(struct dlm_lock *lockid) in dlm_print_one_lock() argument
118 dlm_print_one_lock_resource(lockid->lockres); in dlm_print_one_lock()
H A Ddlmcommon.h879 const char *lockid,
/openbmc/linux/drivers/scsi/qla4xxx/
H A Dql4_83xx.c259 uint32_t lock = 0, lockid; in qla4_83xx_lock_recovery() local
262 lockid = ha->isp_ops->rd_reg_direct(ha, QLA83XX_DRV_LOCKRECOVERY); in qla4_83xx_lock_recovery()
265 if ((lockid & 0x3) != 0) in qla4_83xx_lock_recovery()
275 lockid = ha->isp_ops->rd_reg_direct(ha, QLA83XX_DRV_LOCKRECOVERY); in qla4_83xx_lock_recovery()
276 if ((lockid & 0x3C) != (ha->func_num << 2)) in qla4_83xx_lock_recovery()
296 lockid = ha->isp_ops->rd_reg_direct(ha, QLA83XX_DRV_LOCK_ID); in qla4_83xx_lock_recovery()
297 lockid = ((lockid + (1 << 8)) & ~0xFF) | ha->func_num; in qla4_83xx_lock_recovery()
298 ha->isp_ops->wr_reg_direct(ha, QLA83XX_DRV_LOCK_ID, lockid); in qla4_83xx_lock_recovery()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_nx2.c309 uint32_t lock = 0, lockid; in qla8044_lock_recovery() local
312 lockid = qla8044_rd_reg(ha, QLA8044_DRV_LOCKRECOVERY); in qla8044_lock_recovery()
315 if ((lockid & IDC_LOCK_RECOVERY_STATE_MASK) != 0) in qla8044_lock_recovery()
325 lockid = qla8044_rd_reg(ha, QLA8044_DRV_LOCKRECOVERY); in qla8044_lock_recovery()
326 if ((lockid & IDC_LOCK_RECOVERY_OWNER_MASK) != (ha->portnum << in qla8044_lock_recovery()
348 lockid = qla8044_rd_reg(ha, QLA8044_DRV_LOCK_ID); in qla8044_lock_recovery()
349 lockid = ((lockid + (1 << 8)) & ~0xFF) | ha->portnum; in qla8044_lock_recovery()
350 qla8044_wr_reg(ha, QLA8044_DRV_LOCK_ID, lockid); in qla8044_lock_recovery()
/openbmc/linux/fs/ocfs2/
H A Dstack_o2cb.c246 dlm_print_one_lock(lksb->lksb_o2dlm.lockid); in o2cb_dump_lksb()