Home
last modified time | relevance | path

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

/arch/um/drivers/
Dssl.c37 static int ssl_config(char *str, char **error_out);
38 static int ssl_get_config(char *dev, char *str, int size, char **error_out);
39 static int ssl_remove(int n, char **error_out);
71 static int ssl_config(char *str, char **error_out) in ssl_config() argument
74 error_out); in ssl_config()
77 static int ssl_get_config(char *dev, char *str, int size, char **error_out) in ssl_get_config() argument
80 size, error_out); in ssl_get_config()
83 static int ssl_remove(int n, char **error_out) in ssl_remove() argument
86 error_out); in ssl_remove()
Dstdio_console.c43 static int con_config(char *str, char **error_out);
44 static int con_get_config(char *dev, char *str, int size, char **error_out);
77 static int con_config(char *str, char **error_out) in con_config() argument
79 return line_config(vts, ARRAY_SIZE(vts), str, &opts, error_out); in con_config()
82 static int con_get_config(char *dev, char *str, int size, char **error_out) in con_get_config() argument
84 return line_get_config(dev, vts, ARRAY_SIZE(vts), str, size, error_out); in con_get_config()
87 static int con_remove(int n, char **error_out) in con_remove() argument
89 return line_remove(vts, ARRAY_SIZE(vts), n, error_out); in con_remove()
Dline.h86 const struct chan_opts *opts, char **error_out);
91 char **error_out);
94 char **error_out);
97 int size, char **error_out);
Dline.c367 const struct chan_opts *opts, char **error_out) in setup_one_line() argument
374 *error_out = "Device is already open"; in setup_one_line()
383 parse_chan_pair(NULL, line, n, opts, error_out); in setup_one_line()
389 *error_out = "Failed to allocate memory"; in setup_one_line()
398 err = parse_chan_pair(new, line, n, opts, error_out); in setup_one_line()
403 *error_out = "Failed to register device"; in setup_one_line()
405 parse_chan_pair(NULL, line, n, opts, error_out); in setup_one_line()
459 const struct chan_opts *opts, char **error_out) in line_config() argument
465 *error_out = "Can't configure all devices from mconsole"; in line_config()
471 *error_out = "Couldn't parse device number"; in line_config()
[all …]
Dchan_kern.c339 char **error_out) in one_chan_config_string() argument
362 char *str, int size, char **error_out) in chan_pair_config_string() argument
366 n = one_chan_config_string(in, str, size, error_out); in chan_pair_config_string()
376 n = one_chan_config_string(out, str, size, error_out); in chan_pair_config_string()
385 char **error_out) in chan_config_string() argument
394 return chan_pair_config_string(in, out, str, size, error_out); in chan_config_string()
439 const struct chan_opts *opts, char **error_out) in parse_chan() argument
458 *error_out = "No match for configured backends"; in parse_chan()
464 *error_out = "Configuration failed"; in parse_chan()
470 *error_out = "Memory allocation failed"; in parse_chan()
[all …]
Dchan.h32 const struct chan_opts *opts, char **error_out);
47 char **error_out);
Dubd_kern.c270 static int ubd_setup_common(char *str, int *index_out, char **error_out) in ubd_setup_common() argument
292 *error_out = "Didn't parse major number"; in ubd_setup_common()
298 *error_out = "Can't assign a fake major twice"; in ubd_setup_common()
314 *error_out = "Couldn't parse device number"; in ubd_setup_common()
318 *error_out = "Device number out of range"; in ubd_setup_common()
327 *error_out = "Device is already configured"; in ubd_setup_common()
356 *error_out = "Expected '=' or flag letter " in ubd_setup_common()
364 *error_out = "Too many flags specified"; in ubd_setup_common()
366 *error_out = "Missing '='"; in ubd_setup_common()
377 *error_out = "Can't specify both 'd' and a cow file"; in ubd_setup_common()
[all …]
Dmconsole_kern.c283 static int mem_config(char *str, char **error_out) in mem_config() argument
290 *error_out = "Expected '=' after 'mem'"; in mem_config()
301 *error_out = "Expected increment to start with '-' or '+'"; in mem_config()
308 *error_out = "Failed to parse memory increment"; in mem_config()
359 *error_out = "Failed to release memory"; in mem_config()
376 static int mem_get_config(char *name, char *str, int size, char **error_out) in mem_get_config() argument
395 static int mem_remove(int n, char **error_out) in mem_remove() argument
397 *error_out = "Memory doesn't support the remove operation"; in mem_remove()
Dnet_kern.c519 char **error_out) in eth_parse() argument
526 *error_out = "Bad device number"; in eth_parse()
532 *error_out = "Expected '=' after device number"; in eth_parse()
538 *error_out = "Device already configured"; in eth_parse()
670 static int net_config(char *str, char **error_out) in net_config() argument
674 err = eth_parse(str, &n, &str, error_out); in net_config()
683 *error_out = "net_config failed to strdup string"; in net_config()
707 static int net_remove(int n, char **error_out) in net_remove() argument
Dvector_kern.c692 char **error_out) in vector_parse() argument
702 *error_out = "Expected ':' after device number"; in vector_parse()
709 *error_out = "Bad device number"; in vector_parse()
715 *error_out = "Device already configured"; in vector_parse()
724 static int vector_config(char *str, char **error_out) in vector_config() argument
730 err = vector_parse(str, &n, &params, error_out); in vector_config()
741 *error_out = "vector_config failed to strdup string"; in vector_config()
748 *error_out = "vector_config failed to parse parameters"; in vector_config()
772 static int vector_remove(int n, char **error_out) in vector_remove() argument
/arch/powerpc/sysdev/
Dfsl_msi.c430 goto error_out; in fsl_of_msi_probe()
442 goto error_out; in fsl_of_msi_probe()
450 goto error_out; in fsl_of_msi_probe()
482 goto error_out; in fsl_of_msi_probe()
500 goto error_out; in fsl_of_msi_probe()
513 goto error_out; in fsl_of_msi_probe()
528 goto error_out; in fsl_of_msi_probe()
538 goto error_out; in fsl_of_msi_probe()
557 goto error_out; in fsl_of_msi_probe()
561 error_out: in fsl_of_msi_probe()
/arch/powerpc/platforms/powernv/
Dopal-core.c478 goto error_out; in opalcore_config_init()
489 goto error_out; in opalcore_config_init()
499 goto error_out; in opalcore_config_init()
526 goto error_out; in opalcore_config_init()
540 goto error_out; in opalcore_config_init()
552 goto error_out; in opalcore_config_init()
560 error_out: in opalcore_config_init()
/arch/mips/cavium-octeon/executive/
Dcvmx-bootmem.c251 goto error_out; in cvmx_bootmem_phy_alloc()
264 goto error_out; in cvmx_bootmem_phy_alloc()
303 goto error_out; in cvmx_bootmem_phy_alloc()
324 goto error_out; in cvmx_bootmem_phy_alloc()
430 error_out: in cvmx_bootmem_phy_alloc()
/arch/powerpc/platforms/4xx/
Dmsi.c246 goto error_out; in ppc4xx_msi_probe()
256 error_out: in ppc4xx_msi_probe()
/arch/powerpc/kernel/
Dfadump.c519 goto error_out; in fadump_reserve_mem()
542 goto error_out; in fadump_reserve_mem()
547 goto error_out; in fadump_reserve_mem()
606 goto error_out; in fadump_reserve_mem()
616 goto error_out; in fadump_reserve_mem()
620 goto error_out; in fadump_reserve_mem()
630 error_out: in fadump_reserve_mem()
/arch/powerpc/platforms/pseries/
Drtas-fadump.c349 goto error_out; in rtas_fadump_build_cpu_notes()
378 error_out: in rtas_fadump_build_cpu_notes()