Lines Matching defs:emsg
922 * @emsg: A pointer of const char * to store the error message
929 * In error cases, @emsg will be updated with an error message and
933 int __init xbc_init(const char *data, size_t size, const char **emsg, int *epos)
941 if (emsg)
942 *emsg = "Bootconfig is already initialized";
946 if (emsg)
947 *emsg = size ? "Config data is too big" :
954 if (emsg)
955 *emsg = "Failed to allocate bootconfig data";
964 if (emsg)
965 *emsg = "Failed to allocate bootconfig nodes";
978 if (emsg)
979 *emsg = xbc_err_msg;