Lines Matching defs:emsg
926 * @emsg: A pointer of const char * to store the error message
933 * In error cases, @emsg will be updated with an error message and
937 int __init xbc_init(const char *data, size_t size, const char **emsg, int *epos)
945 if (emsg)
946 *emsg = "Bootconfig is already initialized";
950 if (emsg)
951 *emsg = size ? "Config data is too big" :
958 if (emsg)
959 *emsg = "Failed to allocate bootconfig data";
968 if (emsg)
969 *emsg = "Failed to allocate bootconfig nodes";
982 if (emsg)
983 *emsg = xbc_err_msg;