Home
last modified time | relevance | path

Searched refs:assert_msg (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/
H A Dguest_print_test.c94 static void ucall_abort(const char *assert_msg, const char *expected_assert_msg) in ucall_abort() argument
96 int len_str = strlen(assert_msg); in ucall_abort()
102 assert_msg, expected_assert_msg); in ucall_abort()
104 TEST_ASSERT(strcmp(&assert_msg[offset], expected_assert_msg) == 0, in ucall_abort()
106 expected_assert_msg, &assert_msg[offset]); in ucall_abort()
/openbmc/linux/fs/ocfs2/dlm/
H A Ddlmdomain.c1504 struct dlm_assert_joined assert_msg; in dlm_send_one_join_assert() local
1508 memset(&assert_msg, 0, sizeof(assert_msg)); in dlm_send_one_join_assert()
1509 assert_msg.node_idx = dlm->node_num; in dlm_send_one_join_assert()
1510 assert_msg.name_len = strlen(dlm->name); in dlm_send_one_join_assert()
1511 memcpy(assert_msg.domain, dlm->name, assert_msg.name_len); in dlm_send_one_join_assert()
1514 &assert_msg, sizeof(assert_msg), node, in dlm_send_one_join_assert()