Lines Matching refs:assert
988 int assert, sleep; in dlm_wait_for_lock_mastery() local
992 assert = 0; in dlm_wait_for_lock_mastery()
1069 assert = 1; in dlm_wait_for_lock_mastery()
1104 if (assert) { in dlm_wait_for_lock_mastery()
1629 struct dlm_assert_master assert; in dlm_do_assert_master() local
1654 memset(&assert, 0, sizeof(assert)); in dlm_do_assert_master()
1655 assert.node_idx = dlm->node_num; in dlm_do_assert_master()
1656 assert.namelen = namelen; in dlm_do_assert_master()
1657 memcpy(assert.name, lockname, namelen); in dlm_do_assert_master()
1658 assert.flags = cpu_to_be32(flags); in dlm_do_assert_master()
1661 &assert, sizeof(assert), to, &r); in dlm_do_assert_master()
1739 struct dlm_assert_master *assert = (struct dlm_assert_master *)msg->buf; in dlm_assert_master_handler() local
1750 name = assert->name; in dlm_assert_master_handler()
1751 namelen = assert->namelen; in dlm_assert_master_handler()
1753 flags = be32_to_cpu(assert->flags); in dlm_assert_master_handler()
1770 "MLE for it! (%.*s)\n", assert->node_idx, in dlm_assert_master_handler()
1778 "is asserting! (%.*s)\n", assert->node_idx, in dlm_assert_master_handler()
1780 } else if (bit != assert->node_idx) { in dlm_assert_master_handler()
1783 "back off\n", assert->node_idx, bit); in dlm_assert_master_handler()
1792 assert->node_idx, namelen, name, bit, in dlm_assert_master_handler()
1793 assert->node_idx); in dlm_assert_master_handler()
1801 assert->node_idx); in dlm_assert_master_handler()
1806 assert->node_idx); in dlm_assert_master_handler()
1823 "RECOVERING!\n", assert->node_idx, namelen, name); in dlm_assert_master_handler()
1828 res->owner != assert->node_idx) { in dlm_assert_master_handler()
1831 assert->node_idx, res->owner, namelen, in dlm_assert_master_handler()
1839 if (res->owner == assert->node_idx) { in dlm_assert_master_handler()
1841 "lock %.*s\n", assert->node_idx, in dlm_assert_master_handler()
1847 "(%.*s)\n", assert->node_idx, in dlm_assert_master_handler()
1855 assert->node_idx, in dlm_assert_master_handler()
1861 if (assert->node_idx != mle->new_master) { in dlm_assert_master_handler()
1865 assert->node_idx, mle->new_master, in dlm_assert_master_handler()
1891 if (nn != dlm->node_num && nn != assert->node_idx) in dlm_assert_master_handler()
1895 mle->master = assert->node_idx; in dlm_assert_master_handler()
1942 assert->node_idx, rr, extra_ref, mle->inuse); in dlm_assert_master_handler()
1957 if (res->owner != assert->node_idx) { in dlm_assert_master_handler()
1959 "owner is %u (%.*s), no mle\n", assert->node_idx, in dlm_assert_master_handler()
1981 assert->node_idx, dlm->name, namelen, name); in dlm_assert_master_handler()
1988 dlm->name, namelen, name, assert->node_idx); in dlm_assert_master_handler()