Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 601) sorted by relevance

12345678910>>...25

/arch/mips/include/asm/
Dftrace.h22 #define safe_load(load, src, dst, error) \ argument
26 " li %[" STR(error) "], 0\n" \
30 "3: li %[" STR(error) "], 1\n" \
38 : [dst] "=&r" (dst), [error] "=r" (error)\
44 #define safe_store(store, src, dst, error) \ argument
48 " li %[" STR(error) "], 0\n" \
52 "3: li %[" STR(error) "], 1\n" \
60 : [error] "=r" (error) \
66 #define safe_load_code(dst, src, error) \ argument
67 safe_load(STR(lw), src, dst, error)
[all …]
Dwar.h82 #error Check setting of R4600_V1_INDEX_ICACHEOP_WAR for your platform
112 #error Check setting of R4600_V1_HIT_CACHEOP_WAR for your platform
128 #error Check setting of R4600_V2_HIT_CACHEOP_WAR for your platform
141 #error Check setting of R5432_CP0_INTERRUPT_WAR for your platform
155 #error Check setting of BCM1250_M3_WAR for your platform
162 #error Check setting of SIBYTE_1956_WAR for your platform
178 #error Check setting of MIPS4K_ICACHE_REFILL_WAR for your platform
197 #error Check setting of MIPS_CACHE_SYNC_WAR for your platform
208 #error Check setting of TX49XX_ICACHE_INDEX_INV_WAR for your platform
216 #error Check setting of RM9000_CDEX_SMP_WAR for your platform
[all …]
/arch/blackfin/mach-common/
Darch_checks.c16 # error "VCO selected is more than maximum value. Please change the VCO multipler"
20 # error "Sclk value selected is more than maximum. Please select a proper value for SCLK multiplier"
24 # error "Sclk value selected is less than minimum. Please select a proper value for SCLK multiplier"
28 # error "ANOMALY 05000273, please make sure CCLK is at least 2x SCLK"
32 # error "Please select sclk less than cclk"
38 # error "The kernel load address must be after the fixed code section"
42 # error "The kernel load address must be 4 byte aligned"
47 # error "The kernel load address is too high; keep it below 10meg for safety"
51 # error the MPU will not function safely while Anomaly 05000263 applies
55 # error You are using a part with anomaly 05000448, this issue causes random memory read/write fail…
[all …]
/arch/powerpc/kernel/
Drtas-rtc.c18 int error; in rtas_get_boot_time() local
24 error = rtas_call(rtas_token("get-time-of-day"), 0, 8, ret); in rtas_get_boot_time()
26 wait_time = rtas_busy_delay_time(error); in rtas_get_boot_time()
33 if (error != 0) { in rtas_get_boot_time()
36 error); in rtas_get_boot_time()
50 int error; in rtas_get_rtc_time() local
56 error = rtas_call(rtas_token("get-time-of-day"), 0, 8, ret); in rtas_get_rtc_time()
58 wait_time = rtas_busy_delay_time(error); in rtas_get_rtc_time()
71 if (error != 0) { in rtas_get_rtc_time()
74 error); in rtas_get_rtc_time()
[all …]
Drtas-proc.c249 struct individual_sensor *s, int state, int error, const char *loc);
250 static char *ppc_rtas_process_error(int error);
312 int error = parse_number(buf, count, &nowtime); in ppc_rtas_poweron_write() local
313 if (error) in ppc_rtas_poweron_write()
314 return error; in ppc_rtas_poweron_write()
320 error = rtas_call(rtas_token("set-time-for-power-on"), 7, 1, NULL, in ppc_rtas_poweron_write()
323 if (error) in ppc_rtas_poweron_write()
325 ppc_rtas_process_error(error)); in ppc_rtas_poweron_write()
378 int error = parse_number(buf, count, &nowtime); in ppc_rtas_clock_write() local
379 if (error) in ppc_rtas_clock_write()
[all …]
Drtasd.c288 int error; in rtas_log_read() local
311 error = -EAGAIN; in rtas_log_read()
317 error = -ENODATA; in rtas_log_read()
325 error = wait_event_interruptible(rtas_log_wait, rtas_log_size); in rtas_log_read()
326 if (error) in rtas_log_read()
338 error = copy_to_user(buf, tmp, count) ? -EFAULT : count; in rtas_log_read()
341 return error; in rtas_log_read()
362 int error; in enable_surveillance() local
364 error = rtas_set_indicator(SURVEILLANCE_TOKEN, 0, timeout); in enable_surveillance()
366 if (error == 0) in enable_surveillance()
[all …]
/arch/parisc/hpux/
Dfs.c36 int error; in hpux_execve() local
40 error = PTR_ERR(filename); in hpux_execve()
44 error = do_execve(filename, in hpux_execve()
52 return error; in hpux_execve()
67 int error; member
80 buf->error = -EINVAL; /* only used if we fail.. */ in filldir()
85 buf->error = -EOVERFLOW; in filldir()
104 buf->error = -EFAULT; in filldir()
115 int error = -EBADF; in hpux_getdents() local
124 buf.error = 0; in hpux_getdents()
[all …]
Dsys_hpux.c204 int error = user_statfs(pathname, &st); in hpux_statfs() local
205 if (!error) in hpux_statfs()
206 error = do_statfs_hpux(&st, buf); in hpux_statfs()
207 return error; in hpux_statfs()
213 int error = fd_statfs(fd, &st); in hpux_fstatfs() local
214 if (!error) in hpux_fstatfs()
215 error = do_statfs_hpux(&st, buf); in hpux_fstatfs()
216 return error; in hpux_fstatfs()
231 int error; in hpux_uname() local
240 error = __copy_to_user(&name->sysname, &utsname()->sysname, in hpux_uname()
[all …]
/arch/sh/kernel/
Dtraps_64.c338 #error "Sign extend check only works for NEFF==32" in address_is_sign_extended()
426 int error; in misaligned_load() local
430 error = generate_and_check_address(regs, opcode, in misaligned_load()
432 if (error < 0) { in misaligned_load()
433 return error; in misaligned_load()
504 int error; in misaligned_store() local
508 error = generate_and_check_address(regs, opcode, in misaligned_store()
510 if (error < 0) { in misaligned_store()
511 return error; in misaligned_store()
580 int error; in misaligned_fpu_load() local
[all …]
/arch/mips/cobalt/
Dbuttons.c34 int error; in cobalt_add_buttons() local
40 error = platform_device_add_resources(pd, &cobalt_buttons_resource, 1); in cobalt_add_buttons()
41 if (error) in cobalt_add_buttons()
44 error = platform_device_add(pd); in cobalt_add_buttons()
45 if (error) in cobalt_add_buttons()
52 return error; in cobalt_add_buttons()
/arch/mips/txx9/generic/
D7segled.c88 int error, i; in tx_7segled_init_sysfs() local
91 error = subsys_system_register(&tx_7segled_subsys, NULL); in tx_7segled_init_sysfs()
92 if (error) in tx_7segled_init_sysfs()
93 return error; in tx_7segled_init_sysfs()
94 error = device_create_file(tx_7segled_subsys.dev_root, &dev_attr_map_seg7); in tx_7segled_init_sysfs()
95 if (error) in tx_7segled_init_sysfs()
96 return error; in tx_7segled_init_sysfs()
101 error = -ENODEV; in tx_7segled_init_sysfs()
106 error = device_register(dev); in tx_7segled_init_sysfs()
107 if (!error) { in tx_7segled_init_sysfs()
[all …]
/arch/arm/mach-omap2/
Domap_l3_smx.c42 static inline enum omap3_l3_code omap3_l3_decode_error_code(u64 error) in omap3_l3_decode_error_code() argument
44 return (error & 0x0f000000) >> L3_ERROR_LOG_CODE; in omap3_l3_decode_error_code()
52 static inline unsigned omap3_l3_decode_cmd(u64 error) in omap3_l3_decode_cmd() argument
54 return (error & 0x07) >> L3_ERROR_LOG_CMD; in omap3_l3_decode_cmd()
57 static inline enum omap3_l3_initiator_id omap3_l3_decode_initid(u64 error) in omap3_l3_decode_initid() argument
59 return (error & 0xff00) >> L3_ERROR_LOG_INITID; in omap3_l3_decode_initid()
62 static inline unsigned omap3_l3_decode_req_info(u64 error) in omap3_l3_decode_req_info() argument
64 return (error >> 32) & 0xffff; in omap3_l3_decode_req_info()
151 u64 error, int error_addr) in omap3_l3_block_irq() argument
153 u8 code = omap3_l3_decode_error_code(error); in omap3_l3_block_irq()
[all …]
/arch/cris/arch-v32/drivers/
Di2c.c393 int error, cntr = 3; in i2c_write() local
401 error = 0; in i2c_write()
412 error = 1; in i2c_write()
423 error |= 4; in i2c_write()
430 } while (error && cntr--); in i2c_write()
436 return -error; in i2c_write()
451 int error, cntr = 3; in i2c_read() local
457 error = 0; in i2c_read()
471 error = 1; in i2c_read()
491 } while (error && cntr--); in i2c_read()
[all …]
/arch/um/kernel/
Dexec.c51 long error; in execve1() local
53 error = do_execve(file, argv, env, &current->thread.regs); in execve1()
54 if (error == 0) { in execve1()
62 return error; in execve1()
78 long error; in sys_execve() local
82 error = PTR_ERR(filename); in sys_execve()
84 error = execve1(filename, argv, env); in sys_execve()
87 return error; in sys_execve()
/arch/powerpc/boot/
Dwii.c83 int error; in mipc_get_mem2_boundary() local
87 error = -1; in mipc_get_mem2_boundary()
94 error = -EINVAL; in mipc_get_mem2_boundary()
98 error = 0; in mipc_get_mem2_boundary()
100 return error; in mipc_get_mem2_boundary()
110 int error; in platform_fixups() local
124 error = mipc_get_mem2_boundary(&mem2_boundary); in platform_fixups()
125 if (error) { in platform_fixups()
/arch/x86/kernel/
Dkdebugfs.c110 int error = -ENOMEM; in create_setup_data_nodes() local
132 error = -ENXIO; in create_setup_data_nodes()
141 error = create_setup_data_node(d, no, node); in create_setup_data_nodes()
146 if (error) in create_setup_data_nodes()
155 return error; in create_setup_data_nodes()
166 int error = -ENOMEM; in boot_params_kdebugfs_init() local
182 error = create_setup_data_nodes(dbp); in boot_params_kdebugfs_init()
183 if (error) in boot_params_kdebugfs_init()
194 return error; in boot_params_kdebugfs_init()
200 int error = 0; in arch_kdebugfs_init() local
[all …]
/arch/arm/boot/compressed/
Dmisc.c26 extern void error(char *x);
114 void error(char *x) in error() function
127 error("Attempting division by 0!"); in __div0()
130 extern int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x));
149 output_data, error); in decompress_kernel()
151 error("decompressor returned an error"); in decompress_kernel()
/arch/tile/include/asm/
Dsyscall.h44 unsigned long error = regs->regs[0]; in syscall_get_error() local
45 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
56 int error, long val) in syscall_set_return_value() argument
58 regs->regs[0] = (long) error ?: val; in syscall_set_return_value()
/arch/alpha/kernel/
Dosf_sys.c102 int error; member
114 buf->error = -EINVAL; /* only used if we fail */ in osf_filldir()
119 buf->error = -EOVERFLOW; in osf_filldir()
139 buf->error = -EFAULT; in osf_filldir()
147 int error; in SYSCALL_DEFINE4() local
151 error = -EBADF; in SYSCALL_DEFINE4()
159 buf.error = 0; in SYSCALL_DEFINE4()
161 error = vfs_readdir(file, osf_filldir, &buf); in SYSCALL_DEFINE4()
162 if (error >= 0) in SYSCALL_DEFINE4()
163 error = buf.error; in SYSCALL_DEFINE4()
[all …]
Dtraps.c458 long error, tmp1, tmp2, tmp3, tmp4; in do_entUna() local
485 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) in do_entUna()
487 if (error) in do_entUna()
505 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) in do_entUna()
507 if (error) in do_entUna()
525 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) in do_entUna()
527 if (error) in do_entUna()
558 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), in do_entUna()
561 if (error) in do_entUna()
588 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), in do_entUna()
[all …]
/arch/arm/include/asm/
Dsyscall.h35 unsigned long error = regs->ARM_r0; in syscall_get_error() local
36 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
47 int error, long val) in syscall_set_return_value() argument
49 regs->ARM_r0 = (long) error ?: val; in syscall_set_return_value()
/arch/sh/boards/mach-landisk/
Dgio.c136 int error; in gio_init() local
142 if ((error = alloc_chrdev_region(&dev, 0, DEVCOUNT, "gio")) < 0) { in gio_init()
145 error); in gio_init()
151 error = cdev_add(cdev_p, dev, DEVCOUNT); in gio_init()
152 if (error) { in gio_init()
154 "gio: Couldn't cdev_add, error=%d\n", error); in gio_init()
/arch/powerpc/sysdev/
Dmv64x60_udbg.c99 goto error; in mv64x60_udbg_init()
109 goto error; in mv64x60_udbg_init()
114 goto error; in mv64x60_udbg_init()
119 goto error; in mv64x60_udbg_init()
124 goto error; in mv64x60_udbg_init()
145 error: in mv64x60_udbg_init()
Dmv64x60_dev.c71 goto error; in mv64x60_mpsc_register_shared_pdev()
75 goto error; in mv64x60_mpsc_register_shared_pdev()
79 goto error; in mv64x60_mpsc_register_shared_pdev()
83 error: in mv64x60_mpsc_register_shared_pdev()
193 goto error; in mv64x60_mpsc_device_setup()
197 goto error; in mv64x60_mpsc_device_setup()
201 goto error; in mv64x60_mpsc_device_setup()
205 error: in mv64x60_mpsc_device_setup()
306 goto error; in mv64x60_eth_device_setup()
310 goto error; in mv64x60_eth_device_setup()
[all …]
/arch/x86/boot/compressed/
Dmisc.c105 static void error(char *m);
173 void __putstr(int error, const char *s) in __putstr() argument
179 if (!error) in __putstr()
266 static void error(char *x) in error() function
293 error("Kernel is not a valid ELF file"); in parse_elf()
302 error("Failed to allocate space for phdrs"); in parse_elf()
359 error("Destination address inappropriately aligned"); in decompress_kernel()
362 error("Destination address too large"); in decompress_kernel()
365 error("Destination address too large"); in decompress_kernel()
369 error("Wrong destination address"); in decompress_kernel()
[all …]

12345678910>>...25