Lines Matching defs:emsg
924 * @emsg: A pointer of const char * to store the error message
931 * In error cases, @emsg will be updated with an error message and
935 int __init xbc_init(const char *data, size_t size, const char **emsg, int *epos)
943 if (emsg)
944 *emsg = "Bootconfig is already initialized";
948 if (emsg)
949 *emsg = size ? "Config data is too big" :
956 if (emsg)
957 *emsg = "Failed to allocate bootconfig data";
966 if (emsg)
967 *emsg = "Failed to allocate bootconfig nodes";
980 if (emsg)
981 *emsg = xbc_err_msg;