Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dquorum.c34 #define INDEXSTR_LEN 32 macro
1016 char indexstr[INDEXSTR_LEN]; in quorum_open()
1017 ret = snprintf(indexstr, INDEXSTR_LEN, "children.%d", i); in quorum_open()
1018 assert(ret < INDEXSTR_LEN); in quorum_open()
1074 char indexstr[INDEXSTR_LEN]; in quorum_add_child()
1089 ret = snprintf(indexstr, INDEXSTR_LEN, "children.%u", s->next_child_index); in quorum_add_child()
1090 if (ret < 0 || ret >= INDEXSTR_LEN) { in quorum_add_child()
1114 char indexstr[INDEXSTR_LEN]; in quorum_del_child()
1136 snprintf(indexstr, INDEXSTR_LEN, "children.%u", s->next_child_index - 1); in quorum_del_child()
1137 if (!strncmp(child->name, indexstr, INDEXSTR_LEN)) { in quorum_del_child()