Lines Matching refs:assert
1011 int assert, sleep; in dlm_wait_for_lock_mastery() local
1015 assert = 0; in dlm_wait_for_lock_mastery()
1092 assert = 1; in dlm_wait_for_lock_mastery()
1120 if (assert) { in dlm_wait_for_lock_mastery()
1656 struct dlm_assert_master assert; in dlm_do_assert_master() local
1681 memset(&assert, 0, sizeof(assert)); in dlm_do_assert_master()
1682 assert.node_idx = dlm->node_num; in dlm_do_assert_master()
1683 assert.namelen = namelen; in dlm_do_assert_master()
1684 memcpy(assert.name, lockname, namelen); in dlm_do_assert_master()
1685 assert.flags = cpu_to_be32(flags); in dlm_do_assert_master()
1688 &assert, sizeof(assert), to, &r); in dlm_do_assert_master()
1766 struct dlm_assert_master *assert = (struct dlm_assert_master *)msg->buf; in dlm_assert_master_handler() local
1777 name = assert->name; in dlm_assert_master_handler()
1778 namelen = assert->namelen; in dlm_assert_master_handler()
1780 flags = be32_to_cpu(assert->flags); in dlm_assert_master_handler()
1797 "MLE for it! (%.*s)\n", assert->node_idx, in dlm_assert_master_handler()
1805 "is asserting! (%.*s)\n", assert->node_idx, in dlm_assert_master_handler()
1807 } else if (bit != assert->node_idx) { in dlm_assert_master_handler()
1810 "back off\n", assert->node_idx, bit); in dlm_assert_master_handler()
1819 assert->node_idx, namelen, name, bit, in dlm_assert_master_handler()
1820 assert->node_idx); in dlm_assert_master_handler()
1828 assert->node_idx); in dlm_assert_master_handler()
1833 assert->node_idx); in dlm_assert_master_handler()
1850 "RECOVERING!\n", assert->node_idx, namelen, name); in dlm_assert_master_handler()
1855 res->owner != assert->node_idx) { in dlm_assert_master_handler()
1858 assert->node_idx, res->owner, namelen, in dlm_assert_master_handler()
1866 if (res->owner == assert->node_idx) { in dlm_assert_master_handler()
1868 "lock %.*s\n", assert->node_idx, in dlm_assert_master_handler()
1874 "(%.*s)\n", assert->node_idx, in dlm_assert_master_handler()
1882 assert->node_idx, in dlm_assert_master_handler()
1888 if (assert->node_idx != mle->new_master) { in dlm_assert_master_handler()
1892 assert->node_idx, mle->new_master, in dlm_assert_master_handler()
1918 if (nn != dlm->node_num && nn != assert->node_idx) { in dlm_assert_master_handler()
1924 mle->master = assert->node_idx; in dlm_assert_master_handler()
1971 assert->node_idx, rr, extra_ref, mle->inuse); in dlm_assert_master_handler()
1986 if (res->owner != assert->node_idx) { in dlm_assert_master_handler()
1988 "owner is %u (%.*s), no mle\n", assert->node_idx, in dlm_assert_master_handler()
2010 assert->node_idx, dlm->name, namelen, name); in dlm_assert_master_handler()
2017 dlm->name, namelen, name, assert->node_idx); in dlm_assert_master_handler()