arch/alpha/boot/misc.c
108
error("ran out of input data");
arch/alpha/boot/misc.c
65
# define Assert(cond,msg) {if(!(cond)) error(msg);}
arch/alpha/boot/misc.c
82
static void error(char *m);
arch/alpha/boot/misc.c
91
static void error(char *m);
arch/alpha/kernel/osf_sys.c
108
int error;
arch/alpha/kernel/osf_sys.c
121
buf->error = -EINVAL; /* only used if we fail */
arch/alpha/kernel/osf_sys.c
126
buf->error = -EOVERFLOW;
arch/alpha/kernel/osf_sys.c
146
buf->error = -EFAULT;
arch/alpha/kernel/osf_sys.c
154
int error;
arch/alpha/kernel/osf_sys.c
166
error = iterate_dir(fd_file(arg), &buf.ctx);
arch/alpha/kernel/osf_sys.c
167
if (error >= 0)
arch/alpha/kernel/osf_sys.c
168
error = buf.error;
arch/alpha/kernel/osf_sys.c
170
error = count - buf.count;
arch/alpha/kernel/osf_sys.c
172
return error;
arch/alpha/kernel/osf_sys.c
347
int error = user_statfs(pathname, &linux_stat);
arch/alpha/kernel/osf_sys.c
348
if (!error)
arch/alpha/kernel/osf_sys.c
349
error = linux_to_osf_statfs(&linux_stat, buffer, bufsiz);
arch/alpha/kernel/osf_sys.c
350
return error;
arch/alpha/kernel/osf_sys.c
356
int error;
arch/alpha/kernel/osf_sys.c
358
error = vfs_stat(name, &stat);
arch/alpha/kernel/osf_sys.c
359
if (error)
arch/alpha/kernel/osf_sys.c
360
return error;
arch/alpha/kernel/osf_sys.c
368
int error;
arch/alpha/kernel/osf_sys.c
370
error = vfs_lstat(name, &stat);
arch/alpha/kernel/osf_sys.c
371
if (error)
arch/alpha/kernel/osf_sys.c
372
return error;
arch/alpha/kernel/osf_sys.c
380
int error;
arch/alpha/kernel/osf_sys.c
382
error = vfs_fstat(fd, &stat);
arch/alpha/kernel/osf_sys.c
383
if (error)
arch/alpha/kernel/osf_sys.c
384
return error;
arch/alpha/kernel/osf_sys.c
393
int error = fd_statfs(fd, &linux_stat);
arch/alpha/kernel/osf_sys.c
394
if (!error)
arch/alpha/kernel/osf_sys.c
395
error = linux_to_osf_statfs(&linux_stat, buffer, bufsiz);
arch/alpha/kernel/osf_sys.c
396
return error;
arch/alpha/kernel/osf_sys.c
403
int error = user_statfs(pathname, &linux_stat);
arch/alpha/kernel/osf_sys.c
404
if (!error)
arch/alpha/kernel/osf_sys.c
405
error = linux_to_osf_statfs64(&linux_stat, buffer, bufsiz);
arch/alpha/kernel/osf_sys.c
406
return error;
arch/alpha/kernel/osf_sys.c
413
int error = fd_statfs(fd, &linux_stat);
arch/alpha/kernel/osf_sys.c
414
if (!error)
arch/alpha/kernel/osf_sys.c
415
error = linux_to_osf_statfs64(&linux_stat, buffer, bufsiz);
arch/alpha/kernel/osf_sys.c
416
return error;
arch/alpha/kernel/osf_sys.c
637
long error;
arch/alpha/kernel/osf_sys.c
642
if (get_user(error, &args->set.nbytes))
arch/alpha/kernel/osf_sys.c
643
error = -EFAULT;
arch/alpha/kernel/osf_sys.c
646
if (get_user(error, &args->fset.nbytes))
arch/alpha/kernel/osf_sys.c
647
error = -EFAULT;
arch/alpha/kernel/osf_sys.c
650
error = get_user(min_buf_size_ptr, &args->get.min_buf_size);
arch/alpha/kernel/osf_sys.c
651
if (error)
arch/alpha/kernel/osf_sys.c
653
error = put_user(0, min_buf_size_ptr);
arch/alpha/kernel/osf_sys.c
656
error = get_user(min_buf_size_ptr, &args->fget.min_buf_size);
arch/alpha/kernel/osf_sys.c
657
if (error)
arch/alpha/kernel/osf_sys.c
659
error = put_user(0, min_buf_size_ptr);
arch/alpha/kernel/osf_sys.c
663
error = 0;
arch/alpha/kernel/osf_sys.c
666
error = -EOPNOTSUPP;
arch/alpha/kernel/osf_sys.c
669
return error;
arch/alpha/kernel/osf_sys.c
678
int error;
arch/alpha/kernel/osf_sys.c
683
error = -EFAULT;
arch/alpha/kernel/osf_sys.c
689
error = -EPERM;
arch/alpha/kernel/osf_sys.c
701
error = -EFAULT;
arch/alpha/kernel/osf_sys.c
707
error = 0;
arch/alpha/kernel/osf_sys.c
709
return error;
arch/alpha/kernel/pci_iommu.c
673
goto error;
arch/alpha/kernel/pci_iommu.c
689
error:
arch/alpha/kernel/traps.c
380
long error, tmp1, tmp2, tmp3, tmp4;
arch/alpha/kernel/traps.c
403
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2)
arch/alpha/kernel/traps.c
405
if (error)
arch/alpha/kernel/traps.c
419
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2)
arch/alpha/kernel/traps.c
421
if (error)
arch/alpha/kernel/traps.c
435
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2)
arch/alpha/kernel/traps.c
437
if (error)
arch/alpha/kernel/traps.c
462
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2),
arch/alpha/kernel/traps.c
465
if (error)
arch/alpha/kernel/traps.c
486
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2),
arch/alpha/kernel/traps.c
489
if (error)
arch/alpha/kernel/traps.c
510
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2),
arch/alpha/kernel/traps.c
513
if (error)
arch/alpha/kernel/traps.c
670
long error;
arch/alpha/kernel/traps.c
726
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2)
arch/alpha/kernel/traps.c
728
if (error)
arch/alpha/kernel/traps.c
742
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2)
arch/alpha/kernel/traps.c
744
if (error)
arch/alpha/kernel/traps.c
758
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2)
arch/alpha/kernel/traps.c
760
if (error)
arch/alpha/kernel/traps.c
774
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2)
arch/alpha/kernel/traps.c
776
if (error)
arch/alpha/kernel/traps.c
790
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2)
arch/alpha/kernel/traps.c
792
if (error)
arch/alpha/kernel/traps.c
817
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2),
arch/alpha/kernel/traps.c
820
if (error)
arch/alpha/kernel/traps.c
845
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2),
arch/alpha/kernel/traps.c
848
if (error)
arch/alpha/kernel/traps.c
873
: "=r"(error), "=&r"(tmp1), "=&r"(tmp2),
arch/alpha/kernel/traps.c
876
if (error)
arch/arc/include/asm/syscall.h
58
int error, long val)
arch/arc/include/asm/syscall.h
60
regs->r0 = (long) error ?: val;
arch/arm/boot/compressed/decompress.c
16
# define Assert(cond,msg) {if(!(cond)) error(msg);}
arch/arm/boot/compressed/decompress.c
63
int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x))
arch/arm/boot/compressed/decompress.c
65
return __decompress(input, len, NULL, NULL, output, 0, NULL, error);
arch/arm/boot/compressed/misc.c
128
error("Attempting division by 0!");
arch/arm/boot/compressed/misc.c
150
output_data, error);
arch/arm/boot/compressed/misc.c
152
error("decompressor returned an error");
arch/arm/boot/compressed/misc.c
159
error("detected buffer overflow");
arch/arm/boot/compressed/misc.h
16
int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x));
arch/arm/boot/compressed/misc.h
6
void error(char *x) __noreturn;
arch/arm/common/bL_switcher.c
566
goto error;
arch/arm/common/bL_switcher.c
570
goto error;
arch/arm/common/bL_switcher.c
588
error:
arch/arm/include/asm/assembler.h
274
.error "ALT_UP() content must assemble to exactly 4 bytes";\
arch/arm/include/asm/assembler.h
411
.error "Incompatible SMP platform"
arch/arm/include/asm/assembler.h
477
.error "Unsupported inc macro argument"
arch/arm/include/asm/assembler.h
495
.error "Unsupported rept macro argument"
arch/arm/include/asm/assembler.h
518
.error "Unsupported inc macro argument"
arch/arm/include/asm/syscall.h
54
unsigned long error = regs->ARM_r0;
arch/arm/include/asm/syscall.h
55
return IS_ERR_VALUE(error) ? error : 0;
arch/arm/include/asm/syscall.h
66
int error, long val)
arch/arm/include/asm/syscall.h
68
regs->ARM_r0 = (long) error ? error : val;
arch/arm/kernel/sys_oabi-compat.c
152
int error = vfs_stat(filename, &stat);
arch/arm/kernel/sys_oabi-compat.c
153
if (!error)
arch/arm/kernel/sys_oabi-compat.c
154
error = cp_oldabi_stat64(&stat, statbuf);
arch/arm/kernel/sys_oabi-compat.c
155
return error;
arch/arm/kernel/sys_oabi-compat.c
162
int error = vfs_lstat(filename, &stat);
arch/arm/kernel/sys_oabi-compat.c
163
if (!error)
arch/arm/kernel/sys_oabi-compat.c
164
error = cp_oldabi_stat64(&stat, statbuf);
arch/arm/kernel/sys_oabi-compat.c
165
return error;
arch/arm/kernel/sys_oabi-compat.c
172
int error = vfs_fstat(fd, &stat);
arch/arm/kernel/sys_oabi-compat.c
173
if (!error)
arch/arm/kernel/sys_oabi-compat.c
174
error = cp_oldabi_stat64(&stat, statbuf);
arch/arm/kernel/sys_oabi-compat.c
175
return error;
arch/arm/kernel/sys_oabi-compat.c
184
int error;
arch/arm/kernel/sys_oabi-compat.c
186
error = vfs_fstatat(dfd, filename, &stat, flag);
arch/arm/kernel/sys_oabi-compat.c
187
if (error)
arch/arm/kernel/sys_oabi-compat.c
188
return error;
arch/arm/kernel/unwind.c
361
goto error;
arch/arm/kernel/unwind.c
368
goto error;
arch/arm/kernel/unwind.c
385
goto error;
arch/arm/kernel/unwind.c
398
error:
arch/arm/mach-at91/pm.c
689
goto error;
arch/arm/mach-at91/pm.c
701
goto error;
arch/arm/mach-at91/pm.c
704
error:
arch/arm/mach-omap1/pm.c
564
int error = 0;
arch/arm/mach-omap1/pm.c
633
error = sysfs_create_file(power_kobj, &sleep_while_idle_attr.attr);
arch/arm/mach-omap1/pm.c
634
if (error)
arch/arm/mach-omap1/pm.c
635
pr_err("sysfs_create_file failed: %d\n", error);
arch/arm/mach-omap1/pm.c
642
return error;
arch/arm/mach-omap2/cpuidle34xx.c
112
int error;
arch/arm/mach-omap2/cpuidle34xx.c
130
error = cpu_pm_enter();
arch/arm/mach-omap2/cpuidle34xx.c
131
if (error)
arch/arm/mach-omap2/cpuidle44xx.c
125
int error;
arch/arm/mach-omap2/cpuidle44xx.c
163
error = cpu_pm_enter();
arch/arm/mach-omap2/cpuidle44xx.c
164
if (error)
arch/arm/mach-omap2/cpuidle44xx.c
176
error = cpu_cluster_pm_enter();
arch/arm/mach-omap2/cpuidle44xx.c
177
if (error) {
arch/arm/mach-omap2/omap_hwmod.c
2169
int error;
arch/arm/mach-omap2/omap_hwmod.c
2175
error = of_address_to_resource(child, oh->mpu_rt_idx, res);
arch/arm/mach-omap2/omap_hwmod.c
2176
if (error)
arch/arm/mach-omap2/omap_hwmod.c
2178
__func__, error);
arch/arm/mach-omap2/omap_hwmod.c
2245
int error;
arch/arm/mach-omap2/omap_hwmod.c
2266
error = omap_hwmod_parse_module_range(oh, np, &res);
arch/arm/mach-omap2/omap_hwmod.c
2267
if (!error)
arch/arm/mach-omap2/omap_hwmod.c
2925
goto error;
arch/arm/mach-omap2/omap_hwmod.c
2930
goto error;
arch/arm/mach-omap2/omap_hwmod.c
2933
error:
arch/arm/mach-omap2/omap_hwmod.c
3521
int error;
arch/arm/mach-omap2/omap_hwmod.c
3549
error = _register(oh);
arch/arm/mach-omap2/omap_hwmod.c
3555
error = omap_hwmod_init_regbits(dev, oh, data, &sysc_fields);
arch/arm/mach-omap2/omap_hwmod.c
3556
if (error)
arch/arm/mach-omap2/omap_hwmod.c
3557
return error;
arch/arm/mach-omap2/omap_hwmod.c
3559
error = omap_hwmod_init_reg_offs(dev, data, &rev_offs,
arch/arm/mach-omap2/omap_hwmod.c
3561
if (error)
arch/arm/mach-omap2/omap_hwmod.c
3562
return error;
arch/arm/mach-omap2/omap_hwmod.c
3564
error = omap_hwmod_init_sysc_flags(dev, data, &sysc_flags);
arch/arm/mach-omap2/omap_hwmod.c
3565
if (error)
arch/arm/mach-omap2/omap_hwmod.c
3566
return error;
arch/arm/mach-omap2/omap_hwmod.c
3568
error = omap_hwmod_init_idlemodes(dev, data, &idlemodes);
arch/arm/mach-omap2/omap_hwmod.c
3569
if (error)
arch/arm/mach-omap2/omap_hwmod.c
3570
return error;
arch/arm/mach-omap2/omap_hwmod.c
3589
error = omap_hwmod_check_module(dev, oh, data, sysc_fields,
arch/arm/mach-omap2/omap_hwmod.c
3592
if (!error)
arch/arm/mach-omap2/omap_hwmod.c
3593
return error;
arch/arm/mach-omap2/pm.c
139
int error;
arch/arm/mach-omap2/pm.c
153
error = omap_pm_soc_init();
arch/arm/mach-omap2/pm.c
154
if (error)
arch/arm/mach-omap2/pm.c
155
pr_warn("%s: pm soc init failed: %i\n", __func__, error);
arch/arm/mach-omap2/pm34xx.c
191
int error;
arch/arm/mach-omap2/pm34xx.c
221
error = cpu_cluster_pm_enter();
arch/arm/mach-omap2/pm34xx.c
222
if (error)
arch/arm/mach-omap2/usb-tusb6010.c
102
static const char error[] =
arch/arm/mach-omap2/usb-tusb6010.c
115
printk(error, "async", status);
arch/arm/mach-omap2/usb-tusb6010.c
120
printk(error, "sync", status);
arch/arm/mach-omap2/usb-tusb6010.c
158
static char error[] __initdata =
arch/arm/mach-omap2/usb-tusb6010.c
165
printk(error, 1, status);
arch/arm/mach-omap2/usb-tusb6010.c
180
printk(error, 2, status);
arch/arm/mach-omap2/usb-tusb6010.c
193
printk(error, 4, status);
arch/arm/mach-omap2/usb-tusb6010.c
199
printk(error, 5, status);
arch/arm/mach-omap2/usb-tusb6010.c
205
printk(error, 6, status);
arch/arm/mach-omap2/usb-tusb6010.c
213
printk(error, 7, status);
arch/arm/mach-rpc/include/mach/uncompress.h
179
if (nr_pages * page_size < 4096*1024) error("<4M of mem\n");
arch/arm/mach-shmobile/pm-rcar-gen2.c
53
int error;
arch/arm/mach-shmobile/pm-rcar-gen2.c
75
error = of_address_to_resource(np, 0, &res);
arch/arm/mach-shmobile/pm-rcar-gen2.c
77
if (error) {
arch/arm/mach-shmobile/pm-rcar-gen2.c
78
pr_err("Failed to get smp-sram address: %d\n", error);
arch/arm/mm/dma-mapping.c
872
goto error;
arch/arm/mm/dma-mapping.c
914
goto error;
arch/arm/mm/dma-mapping.c
930
error:
arch/arm64/include/asm/assembler.h
694
.error "regcount should be in the range [0 ... 10]"
arch/arm64/include/asm/assembler.h
697
.error "extra should be a multiple of 16 bytes"
arch/arm64/include/asm/assembler.h
701
.error "frame_push/frame_pop may not be nested"
arch/arm64/include/asm/assembler.h
719
.error "frame_push/frame_pop may not be nested"
arch/arm64/include/asm/fpsimdmacros.h
74
.error "Bad register number \nr."
arch/arm64/include/asm/fpsimdmacros.h
80
.error "Bad Scalable Vector Extension vector register number \znr."
arch/arm64/include/asm/fpsimdmacros.h
86
.error "Bad Scalable Vector Extension predicate register number \pnr."
arch/arm64/include/asm/fpsimdmacros.h
92
.error "Number \n out of range [\min,\max]"
arch/arm64/include/asm/fpsimdmacros.h
98
.error "Bad vector select register \v."
arch/arm64/include/asm/syscall.h
46
unsigned long error = syscall_get_return_value(task, regs);
arch/arm64/include/asm/syscall.h
48
return IS_ERR_VALUE(error) ? error : 0;
arch/arm64/include/asm/syscall.h
53
int error, long val)
arch/arm64/include/asm/syscall.h
55
if (error)
arch/arm64/include/asm/syscall.h
56
val = error;
arch/arm64/kernel/entry-common.c
294
UNHANDLED(el1t, 64, error)
arch/arm64/kernel/entry-common.c
955
UNHANDLED(el0t, 32, error)
arch/csky/include/asm/syscall.h
35
unsigned long error = regs->a0;
arch/csky/include/asm/syscall.h
37
return IS_ERR_VALUE(error) ? error : 0;
arch/csky/include/asm/syscall.h
48
int error, long val)
arch/csky/include/asm/syscall.h
50
regs->a0 = (long) error ?: val;
arch/hexagon/include/asm/syscall.h
64
int error, long val)
arch/hexagon/include/asm/syscall.h
66
regs->r00 = (long) error ?: val;
arch/loongarch/include/asm/syscall.h
45
unsigned long error = regs->regs[4];
arch/loongarch/include/asm/syscall.h
47
return IS_ERR_VALUE(error) ? error : 0;
arch/loongarch/include/asm/syscall.h
58
int error, long val)
arch/loongarch/include/asm/syscall.h
60
regs->regs[4] = (long) error ? error : val;
arch/loongarch/include/asm/unwind.h
26
bool first, error, reset;
arch/loongarch/include/asm/unwind.h
45
return state->error;
arch/loongarch/kernel/kgdb.c
382
int error = 0;
arch/loongarch/kernel/kgdb.c
385
error = get_step_address(regs, &addr);
arch/loongarch/kernel/kgdb.c
386
if (error)
arch/loongarch/kernel/kgdb.c
387
return error;
arch/loongarch/kernel/kgdb.c
390
error = get_kernel_nofault(stepped_opcode, (void *)addr);
arch/loongarch/kernel/kgdb.c
391
if (error)
arch/loongarch/kernel/kgdb.c
392
return error;
arch/loongarch/kernel/kgdb.c
397
error = copy_to_kernel_nofault((void *)stepped_address,
arch/loongarch/kernel/kgdb.c
401
if (error) {
arch/loongarch/kernel/kgdb.c
409
return error;
arch/loongarch/kernel/unwind_orc.c
417
state->error = true;
arch/loongarch/kernel/unwind_orc.c
518
state->error = true;
arch/m68k/amiga/chipram.c
75
int error;
arch/m68k/amiga/chipram.c
81
error = allocate_resource(&chipram_res, res, size, 0, UINT_MAX,
arch/m68k/amiga/chipram.c
83
if (error < 0) {
arch/m68k/amiga/chipram.c
85
error);
arch/m68k/amiga/platform.c
137
int error;
arch/m68k/amiga/platform.c
189
error = platform_device_add_data(pdev, &a1200_ide_pdata,
arch/m68k/amiga/platform.c
191
if (error)
arch/m68k/amiga/platform.c
192
return error;
arch/m68k/amiga/platform.c
200
error = platform_device_add_data(pdev, &a4000_ide_pdata,
arch/m68k/amiga/platform.c
202
if (error)
arch/m68k/amiga/platform.c
203
return error;
arch/m68k/atari/atakeyb.c
499
int error;
arch/m68k/atari/atakeyb.c
507
error = request_irq(IRQ_MFP_ACIA, atari_keyboard_interrupt, 0,
arch/m68k/atari/atakeyb.c
509
if (error)
arch/m68k/atari/atakeyb.c
510
return error;
arch/m68k/atari/config.c
897
int error;
arch/m68k/atari/config.c
901
error = platform_add_devices(atari_netusbee_devices,
arch/m68k/atari/config.c
903
if (error && !rv)
arch/m68k/atari/config.c
904
rv = error;
arch/m68k/atari/stram.c
157
int error;
arch/m68k/atari/stram.c
169
error = allocate_resource(&stram_pool, res, size, 0, UINT_MAX,
arch/m68k/atari/stram.c
171
if (error < 0) {
arch/m68k/atari/stram.c
173
error);
arch/m68k/emu/nfeth.c
228
int error, i;
arch/m68k/emu/nfeth.c
238
error = request_irq(nfEtherIRQ, nfeth_interrupt, IRQF_SHARED,
arch/m68k/emu/nfeth.c
240
if (error) {
arch/m68k/emu/nfeth.c
241
pr_err("request for irq %d failed %d", nfEtherIRQ, error);
arch/m68k/emu/nfeth.c
242
return error;
arch/m68k/fpsp040/fpsp.h
231
.set operr_bit,5 | operand error
arch/m68k/include/asm/sun3xflop.h
206
int error;
arch/m68k/include/asm/sun3xflop.h
210
error = request_irq(FLOPPY_IRQ, sun3xflop_hardint,
arch/m68k/include/asm/sun3xflop.h
212
return ((error == 0) ? 0 : -1);
arch/m68k/include/asm/syscall.h
33
unsigned long error = regs->d0;
arch/m68k/include/asm/syscall.h
35
return IS_ERR_VALUE(error) ? error : 0;
arch/m68k/include/asm/syscall.h
46
int error, long val)
arch/m68k/include/asm/syscall.h
48
regs->d0 = (long)error ?: val;
arch/microblaze/include/asm/syscall.h
44
int error, long val)
arch/microblaze/include/asm/syscall.h
46
if (error)
arch/microblaze/include/asm/syscall.h
47
regs->r3 = -error;
arch/mips/ath25/board.c
134
goto error;
arch/mips/ath25/board.c
139
goto error;
arch/mips/ath25/board.c
162
goto error;
arch/mips/ath25/board.c
183
error:
arch/mips/boot/compressed/decompress.c
104
(void *)VMLINUX_LOAD_ADDRESS_ULL, 0, 0, error);
arch/mips/boot/compressed/decompress.c
76
error("stack-protector: Kernel stack is corrupted\n");
arch/mips/boot/compressed/decompress.h
21
void error(char *x);
arch/mips/cobalt/buttons.c
21
int error;
arch/mips/cobalt/buttons.c
27
error = platform_device_add_resources(pd, &cobalt_buttons_resource, 1);
arch/mips/cobalt/buttons.c
28
if (error)
arch/mips/cobalt/buttons.c
31
error = platform_device_add(pd);
arch/mips/cobalt/buttons.c
32
if (error)
arch/mips/cobalt/buttons.c
39
return error;
arch/mips/include/asm/ftrace.h
22
#define safe_load(load, src, dst, error) \
arch/mips/include/asm/ftrace.h
38
: [tmp_dst] "=&r" (dst), [tmp_err] "=r" (error)\
arch/mips/include/asm/ftrace.h
44
#define safe_store(store, src, dst, error) \
arch/mips/include/asm/ftrace.h
60
: [tmp_err] "=r" (error) \
arch/mips/include/asm/ftrace.h
66
#define safe_load_code(dst, src, error) \
arch/mips/include/asm/ftrace.h
67
safe_load(STR(lw), src, dst, error)
arch/mips/include/asm/ftrace.h
68
#define safe_store_code(src, dst, error) \
arch/mips/include/asm/ftrace.h
69
safe_store(STR(sw), src, dst, error)
arch/mips/include/asm/ftrace.h
71
#define safe_load_stack(dst, src, error) \
arch/mips/include/asm/ftrace.h
72
safe_load(STR(PTR_L), src, dst, error)
arch/mips/include/asm/ftrace.h
74
#define safe_store_stack(src, dst, error) \
arch/mips/include/asm/ftrace.h
75
safe_store(STR(PTR_S), src, dst, error)
arch/mips/include/asm/ip32/mace.h
25
volatile unsigned int error;
arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h
82
# OCTEON II or better have bit 15 set. Clear the error bits.
arch/mips/include/asm/octeon/cvmx-fau.h
61
uint64_t error:1;
arch/mips/include/asm/octeon/cvmx-fau.h
71
uint64_t error:1;
arch/mips/include/asm/octeon/cvmx-fau.h
81
uint64_t error:1;
arch/mips/include/asm/octeon/cvmx-fau.h
91
uint64_t error:1;
arch/mips/include/asm/octeon/cvmx-sriox-defs.h
1512
uint64_t error:1;
arch/mips/include/asm/octeon/cvmx-sriox-defs.h
1524
uint64_t error:1;
arch/mips/include/asm/pci/bridge.h
283
error:1, /* Error occurred */
arch/mips/include/asm/sn/sn0/hubio.h
450
error: 1, /* CRB has an error */
arch/mips/include/asm/sn/sn0/hubio.h
472
error: 1, /* CRB has an error */
arch/mips/include/asm/sn/sn0/hubio.h
827
error: 1, /* Widget rcvd wr resp pkt w/ error */
arch/mips/include/asm/sn/sn0/hubio.h
841
#define iprb_error iprb_fields_s.error
arch/mips/include/asm/sn/sn0/hubio.h
868
u64 error: 1, /* 63, error occurred */
arch/mips/include/asm/syscall.h
129
int error, long val)
arch/mips/include/asm/syscall.h
131
if (error) {
arch/mips/include/asm/syscall.h
132
regs->regs[2] = -error;
arch/mips/include/asm/vdso/gettimeofday.h
100
return error ? -ret : ret;
arch/mips/include/asm/vdso/gettimeofday.h
113
register long error asm("a3");
arch/mips/include/asm/vdso/gettimeofday.h
117
: "=r" (ret), "=r" (error)
arch/mips/include/asm/vdso/gettimeofday.h
124
return error ? -ret : ret;
arch/mips/include/asm/vdso/gettimeofday.h
135
register long error asm("a3");
arch/mips/include/asm/vdso/gettimeofday.h
139
: "=r" (ret), "=r" (error)
arch/mips/include/asm/vdso/gettimeofday.h
146
return error ? -ret : ret;
arch/mips/include/asm/vdso/gettimeofday.h
37
register long error asm("a3");
arch/mips/include/asm/vdso/gettimeofday.h
41
: "=r" (ret), "=r" (error)
arch/mips/include/asm/vdso/gettimeofday.h
48
return error ? -ret : ret;
arch/mips/include/asm/vdso/gettimeofday.h
63
register long error asm("a3");
arch/mips/include/asm/vdso/gettimeofday.h
67
: "=r" (ret), "=r" (error)
arch/mips/include/asm/vdso/gettimeofday.h
74
return error ? -ret : ret;
arch/mips/include/asm/vdso/gettimeofday.h
89
register long error asm("a3");
arch/mips/include/asm/vdso/gettimeofday.h
93
: "=r" (ret), "=r" (error)
arch/mips/include/asm/xtalk/xwidget.h
244
unsigned error:1;
arch/mips/kernel/syscall.c
55
int error = do_pipe_flags(fd, 0);
arch/mips/kernel/syscall.c
56
if (error)
arch/mips/kernel/syscall.c
57
return error;
arch/mips/lantiq/xway/vmmc.c
33
int error;
arch/mips/lantiq/xway/vmmc.c
43
error = PTR_ERR_OR_ZERO(gpio);
arch/mips/lantiq/xway/vmmc.c
44
if (error) {
arch/mips/lantiq/xway/vmmc.c
47
gpio_count, error);
arch/mips/pci/ops-mace.c
60
mace->pci.error &= ~MACEPCI_ERROR_MASTER_ABORT;
arch/mips/pci/pci-alchemy.c
106
int error = PCIBIOS_SUCCESSFUL;
arch/mips/pci/pci-alchemy.c
167
error = -1;
arch/mips/pci/pci-alchemy.c
178
error = -1;
arch/mips/pci/pci-alchemy.c
185
return error;
arch/mips/pci/pci-ip32.c
130
mace->pci.error = 0;
arch/mips/pci/pci-ip32.c
28
unsigned int flags = mace->pci.error;
arch/mips/pci/pci-ip32.c
79
mace->pci.error = flags;
arch/mips/pci/pci-lantiq.c
129
error = PTR_ERR_OR_ZERO(reset_gpio);
arch/mips/pci/pci-lantiq.c
130
if (error) {
arch/mips/pci/pci-lantiq.c
131
dev_err(&pdev->dev, "failed to request gpio: %d\n", error);
arch/mips/pci/pci-lantiq.c
132
return error;
arch/mips/pci/pci-lantiq.c
98
int error;
arch/mips/sgi-ip22/ip22-gio.c
124
int error = -ENODEV;
arch/mips/sgi-ip22/ip22-gio.c
133
return error;
arch/mips/sgi-ip22/ip22-gio.c
139
error = drv->probe(gio_dev, match);
arch/mips/sgi-ip22/ip22-gio.c
140
if (error)
arch/mips/sgi-ip22/ip22-gio.c
143
return error;
arch/mips/sgi-ip22/ip28-berr.c
242
int error = 0;
arch/mips/sgi-ip22/ip28-berr.c
246
error |= 1;
arch/mips/sgi-ip22/ip28-berr.c
255
error |= 2;
arch/mips/sgi-ip22/ip28-berr.c
259
error |= 4;
arch/mips/sgi-ip22/ip28-berr.c
271
error |= 8;
arch/mips/sgi-ip22/ip28-berr.c
285
error |= 16;
arch/mips/sgi-ip22/ip28-berr.c
287
if (!error)
arch/mips/txx9/generic/setup.c
460
int error;
arch/mips/txx9/generic/setup.c
464
error = PTR_ERR(hw);
arch/mips/txx9/generic/setup.c
469
error = clk_hw_register_clkdev(hw, "imbus_clk", NULL);
arch/mips/txx9/generic/setup.c
470
if (error)
arch/mips/txx9/generic/setup.c
476
error = clk_hw_register_clkdev(hw, "spi-baseclk", NULL);
arch/mips/txx9/generic/setup.c
477
if (error)
arch/mips/txx9/generic/setup.c
485
pr_err("Failed to register clocks: %d\n", error);
arch/nios2/boot/compressed/misc.c
121
error("ran out of input data");
arch/nios2/boot/compressed/misc.c
55
# define Assert(cond, msg) {if (!(cond)) error(msg); }
arch/nios2/boot/compressed/misc.c
71
static void error(char *m);
arch/nios2/boot/compressed/misc.c
82
static void error(char *m);
arch/nios2/include/asm/syscall.h
43
struct pt_regs *regs, int error, long val)
arch/nios2/include/asm/syscall.h
45
if (error) {
arch/nios2/include/asm/syscall.h
47
regs->r2 = -error;
arch/nios2/mm/ioremap.c
106
error = 0;
arch/nios2/mm/ioremap.c
111
return error;
arch/nios2/mm/ioremap.c
79
int error;
arch/nios2/mm/ioremap.c
93
error = -ENOMEM;
arch/openrisc/include/asm/syscall.h
54
int error, long val)
arch/openrisc/include/asm/syscall.h
56
regs->gpr[11] = (long) error ?: val;
arch/openrisc/kernel/dma.c
68
int error;
arch/openrisc/kernel/dma.c
75
error = walk_kernel_page_table_range(va, va + size,
arch/openrisc/kernel/dma.c
79
if (error)
arch/openrisc/kernel/dma.c
80
return ERR_PTR(error);
arch/parisc/boot/compressed/misc.c
203
error("aborted.");
arch/parisc/boot/compressed/misc.c
250
error("Kernel is not a valid ELF file");
arch/parisc/boot/compressed/misc.c
260
error("Failed to allocate space for phdrs");
arch/parisc/boot/compressed/misc.c
317
error("Bootcode overlaps kernel code");
arch/parisc/boot/compressed/misc.c
352
error(NULL);
arch/parisc/boot/compressed/misc.c
36
void error(char *m) __noreturn;
arch/parisc/boot/compressed/misc.c
374
output, 0, NULL, error);
arch/parisc/include/asm/syscall.h
54
unsigned long error = regs->gr[28];
arch/parisc/include/asm/syscall.h
55
return IS_ERR_VALUE(error) ? error : 0;
arch/parisc/include/asm/syscall.h
66
int error, long val)
arch/parisc/include/asm/syscall.h
68
regs->gr[28] = error ? error : val;
arch/parisc/include/asm/uaccess.h
45
#define __probe_user_internal(sr, error, ptr) \
arch/parisc/include/asm/uaccess.h
50
: "=r"(error) \
arch/parisc/kernel/cache.c
939
ASM_EXCEPTIONTABLE_VAR(error);
arch/parisc/kernel/cache.c
959
: "+r" (start), "+r" (error)
arch/parisc/kernel/cache.c
963
if (cache & ICACHE && error == 0) {
arch/parisc/kernel/cache.c
974
: "+r" (start), "+r" (error)
arch/parisc/kernel/cache.c
978
return error;
arch/parisc/kernel/perf.c
217
long error;
arch/parisc/kernel/perf.c
221
error = perf_stop_counters(raddr);
arch/parisc/kernel/perf.c
222
if (error != 0) {
arch/parisc/kernel/perf.c
223
printk("perf_config: perf_stop_counters = %ld\n", error);
arch/parisc/kernel/perf.c
229
error = perf_write_image((uint64_t *)image_ptr);
arch/parisc/kernel/perf.c
230
if (error != 0) {
arch/parisc/kernel/perf.c
231
printk("perf_config: DOWNLOAD = %ld\n", error);
arch/parisc/kernel/perf.c
431
int error = 0;
arch/parisc/kernel/perf.c
444
error = -EFAULT;
arch/parisc/kernel/perf.c
451
error = -EFAULT;
arch/parisc/kernel/perf.c
458
error = put_user(PERF_VERSION, (int *)arg);
arch/parisc/kernel/perf.c
462
error = -ENOTTY;
arch/parisc/kernel/perf.c
465
return error;
arch/parisc/math-emu/fpudispatch.c
1160
u_int error = 0;
arch/parisc/math-emu/fpudispatch.c
1194
error = 1;
arch/parisc/math-emu/fpudispatch.c
1197
error = 1;
arch/parisc/math-emu/fpudispatch.c
1203
error = 1;
arch/parisc/math-emu/fpudispatch.c
1206
error = 1;
arch/parisc/math-emu/fpudispatch.c
1218
error = 1;
arch/parisc/math-emu/fpudispatch.c
1221
error = 1;
arch/parisc/math-emu/fpudispatch.c
1225
if (error)
arch/parisc/math-emu/fpudispatch.c
1265
error = 1;
arch/parisc/math-emu/fpudispatch.c
1268
error = 1;
arch/parisc/math-emu/fpudispatch.c
1273
error = 1;
arch/parisc/math-emu/fpudispatch.c
1276
error = 1;
arch/parisc/math-emu/fpudispatch.c
1278
if (error)
arch/parisc/math-emu/fpudispatch.c
1300
u_int error = 0;
arch/parisc/math-emu/fpudispatch.c
1329
error = 1;
arch/parisc/math-emu/fpudispatch.c
1331
error = 1;
arch/parisc/math-emu/fpudispatch.c
1332
if (error)
arch/parisc/math-emu/fpudispatch.c
1365
error = 1;
arch/parisc/math-emu/fpudispatch.c
1367
error = 1;
arch/parisc/math-emu/fpudispatch.c
1368
if (error)
arch/powerpc/boot/wii.c
105
int error;
arch/powerpc/boot/wii.c
119
error = mipc_get_mem2_boundary(&mem2_boundary);
arch/powerpc/boot/wii.c
120
if (error) {
arch/powerpc/boot/wii.c
78
int error;
arch/powerpc/boot/wii.c
82
error = -1;
arch/powerpc/boot/wii.c
89
error = -EINVAL;
arch/powerpc/boot/wii.c
93
error = 0;
arch/powerpc/boot/wii.c
95
return error;
arch/powerpc/include/asm/feature-fixups.h
43
.error "Feature section else case larger than body"; \
arch/powerpc/include/asm/head-64.h
125
.error "Fixed section exception vector misalignment"; \
arch/powerpc/include/asm/head-64.h
128
.error "Fixed section exception vector bad size"; \
arch/powerpc/include/asm/head-64.h
131
.error "Fixed section underflow"; \
arch/powerpc/include/asm/head-64.h
140
.error "Fixed section overflow"; \
arch/powerpc/include/asm/head-64.h
144
.error "Fixed entry overflow"; \
arch/powerpc/include/asm/syscall.h
62
unsigned long error = regs->gpr[3];
arch/powerpc/include/asm/syscall.h
64
return IS_ERR_VALUE(error) ? error : 0;
arch/powerpc/include/asm/syscall.h
82
int error, long val)
arch/powerpc/include/asm/syscall.h
85
regs->gpr[3] = (long) error ?: val;
arch/powerpc/include/asm/syscall.h
93
if (error) {
arch/powerpc/include/asm/syscall.h
95
regs->gpr[3] = error;
arch/powerpc/kernel/nvram_64.c
327
goto error;
arch/powerpc/kernel/nvram_64.c
338
goto error;
arch/powerpc/kernel/nvram_64.c
342
goto error;
arch/powerpc/kernel/nvram_64.c
345
goto error;
arch/powerpc/kernel/nvram_64.c
348
error:
arch/powerpc/kernel/optprobes.c
183
goto error;
arch/powerpc/kernel/optprobes.c
188
goto error;
arch/powerpc/kernel/optprobes.c
197
goto error;
arch/powerpc/kernel/optprobes.c
213
goto error;
arch/powerpc/kernel/optprobes.c
223
goto error;
arch/powerpc/kernel/optprobes.c
245
error:
arch/powerpc/kernel/rtas-proc.c
224
struct individual_sensor *s, int state, int error, const char *loc);
arch/powerpc/kernel/rtas-proc.c
225
static char *ppc_rtas_process_error(int error);
arch/powerpc/kernel/rtas-proc.c
282
int error = parse_number(buf, count, &nowtime);
arch/powerpc/kernel/rtas-proc.c
283
if (error)
arch/powerpc/kernel/rtas-proc.c
284
return error;
arch/powerpc/kernel/rtas-proc.c
290
error = rtas_call(rtas_function_token(RTAS_FN_SET_TIME_FOR_POWER_ON), 7, 1, NULL,
arch/powerpc/kernel/rtas-proc.c
293
if (error)
arch/powerpc/kernel/rtas-proc.c
295
ppc_rtas_process_error(error));
arch/powerpc/kernel/rtas-proc.c
348
int error = parse_number(buf, count, &nowtime);
arch/powerpc/kernel/rtas-proc.c
349
if (error)
arch/powerpc/kernel/rtas-proc.c
350
return error;
arch/powerpc/kernel/rtas-proc.c
353
error = rtas_call(rtas_function_token(RTAS_FN_SET_TIME_OF_DAY), 7, 1, NULL,
arch/powerpc/kernel/rtas-proc.c
356
if (error)
arch/powerpc/kernel/rtas-proc.c
358
ppc_rtas_process_error(error));
arch/powerpc/kernel/rtas-proc.c
365
int error = rtas_call(rtas_function_token(RTAS_FN_GET_TIME_OF_DAY), 0, 8, ret);
arch/powerpc/kernel/rtas-proc.c
367
if (error) {
arch/powerpc/kernel/rtas-proc.c
369
ppc_rtas_process_error(error));
arch/powerpc/kernel/rtas-proc.c
387
int state, error;
arch/powerpc/kernel/rtas-proc.c
410
error = rtas_call(get_sensor_state, 2, 2, &state,
arch/powerpc/kernel/rtas-proc.c
413
ppc_rtas_process_sensor(m, p, state, error, loc);
arch/powerpc/kernel/rtas-proc.c
452
static char *ppc_rtas_process_error(int error)
arch/powerpc/kernel/rtas-proc.c
454
switch (error) {
arch/powerpc/kernel/rtas-proc.c
486
struct individual_sensor *s, int state, int error, const char *loc)
arch/powerpc/kernel/rtas-proc.c
631
seq_printf(m, "%s\t", ppc_rtas_process_error(error));
arch/powerpc/kernel/rtas-proc.c
706
int error = parse_number(buf, count, &freq);
arch/powerpc/kernel/rtas-proc.c
707
if (error)
arch/powerpc/kernel/rtas-proc.c
708
return error;
arch/powerpc/kernel/rtas-proc.c
711
error = rtas_call(rtas_function_token(RTAS_FN_SET_INDICATOR), 3, 1, NULL,
arch/powerpc/kernel/rtas-proc.c
713
if (error)
arch/powerpc/kernel/rtas-proc.c
715
ppc_rtas_process_error(error));
arch/powerpc/kernel/rtas-proc.c
731
int error = parse_number(buf, count, &volume);
arch/powerpc/kernel/rtas-proc.c
732
if (error)
arch/powerpc/kernel/rtas-proc.c
733
return error;
arch/powerpc/kernel/rtas-proc.c
739
error = rtas_call(rtas_function_token(RTAS_FN_SET_INDICATOR), 3, 1, NULL,
arch/powerpc/kernel/rtas-proc.c
741
if (error)
arch/powerpc/kernel/rtas-proc.c
743
ppc_rtas_process_error(error));
arch/powerpc/kernel/rtas-rtc.c
106
if (error != 0)
arch/powerpc/kernel/rtas-rtc.c
109
error);
arch/powerpc/kernel/rtas-rtc.c
18
int error;
arch/powerpc/kernel/rtas-rtc.c
24
error = rtas_call(rtas_function_token(RTAS_FN_GET_TIME_OF_DAY), 0, 8, ret);
arch/powerpc/kernel/rtas-rtc.c
26
wait_time = rtas_busy_delay_time(error);
arch/powerpc/kernel/rtas-rtc.c
33
if (error != 0) {
arch/powerpc/kernel/rtas-rtc.c
36
error);
arch/powerpc/kernel/rtas-rtc.c
50
int error;
arch/powerpc/kernel/rtas-rtc.c
56
error = rtas_call(rtas_function_token(RTAS_FN_GET_TIME_OF_DAY), 0, 8, ret);
arch/powerpc/kernel/rtas-rtc.c
58
wait_time = rtas_busy_delay_time(error);
arch/powerpc/kernel/rtas-rtc.c
71
if (error != 0) {
arch/powerpc/kernel/rtas-rtc.c
74
error);
arch/powerpc/kernel/rtas-rtc.c
88
int error, wait_time;
arch/powerpc/kernel/rtas-rtc.c
93
error = rtas_call(rtas_function_token(RTAS_FN_SET_TIME_OF_DAY), 7, 1, NULL,
arch/powerpc/kernel/rtas-rtc.c
98
wait_time = rtas_busy_delay_time(error);
arch/powerpc/kernel/rtasd.c
304
int error;
arch/powerpc/kernel/rtasd.c
327
error = -EAGAIN;
arch/powerpc/kernel/rtasd.c
333
error = -ENODATA;
arch/powerpc/kernel/rtasd.c
341
error = wait_event_interruptible(rtas_log_wait, rtas_log_size);
arch/powerpc/kernel/rtasd.c
342
if (error)
arch/powerpc/kernel/rtasd.c
354
error = copy_to_user(buf, tmp, count) ? -EFAULT : count;
arch/powerpc/kernel/rtasd.c
357
return error;
arch/powerpc/kernel/rtasd.c
378
int error;
arch/powerpc/kernel/rtasd.c
380
error = rtas_set_indicator(SURVEILLANCE_TOKEN, 0, timeout);
arch/powerpc/kernel/rtasd.c
382
if (error == 0)
arch/powerpc/kernel/rtasd.c
385
if (error == -EINVAL) {
arch/powerpc/kernel/rtasd.c
396
int error;
arch/powerpc/kernel/rtasd.c
399
error = rtas_call(event_scan, 4, 1, NULL,
arch/powerpc/kernel/rtasd.c
402
if (error == -1) {
arch/powerpc/kernel/rtasd.c
407
if (error == 0) {
arch/powerpc/kernel/rtasd.c
415
} while(error == 0);
arch/powerpc/kvm/book3s_64_mmu_hv.c
1402
if (resize->error != -EBUSY) {
arch/powerpc/kvm/book3s_64_mmu_hv.c
1420
if (WARN_ON(resize->error != -EBUSY))
arch/powerpc/kvm/book3s_64_mmu_hv.c
1449
resize->error = err;
arch/powerpc/kvm/book3s_64_mmu_hv.c
1478
ret = resize->error;
arch/powerpc/kvm/book3s_64_mmu_hv.c
1503
resize->error = -EBUSY;
arch/powerpc/kvm/book3s_64_mmu_hv.c
1558
ret = resize->error;
arch/powerpc/kvm/book3s_64_mmu_hv.c
64
int error;
arch/powerpc/kvm/book3s_xive.c
896
goto error;
arch/powerpc/kvm/book3s_xive.c
906
goto error;
arch/powerpc/kvm/book3s_xive.c
928
error:
arch/powerpc/kvm/book3s_xive_native.c
696
goto error;
arch/powerpc/kvm/book3s_xive_native.c
701
error:
arch/powerpc/mm/book3s64/mmu_context.c
77
goto error;
arch/powerpc/mm/book3s64/mmu_context.c
86
error:
arch/powerpc/perf/imc-pmu.c
160
goto error;
arch/powerpc/perf/imc-pmu.c
165
goto error;
arch/powerpc/perf/imc-pmu.c
169
goto error;
arch/powerpc/perf/imc-pmu.c
177
goto error;
arch/powerpc/perf/imc-pmu.c
186
goto error;
arch/powerpc/perf/imc-pmu.c
190
error:
arch/powerpc/platforms/44x/warp.c
156
int error;
arch/powerpc/platforms/44x/warp.c
181
error = PTR_ERR_OR_ZERO(gpio);
arch/powerpc/platforms/44x/warp.c
182
if (error) {
arch/powerpc/platforms/44x/warp.c
184
led->name, error);
arch/powerpc/platforms/44x/warp.c
198
error = platform_device_register(&warp_gpio_leds);
arch/powerpc/platforms/44x/warp.c
199
if (error) {
arch/powerpc/platforms/44x/warp.c
201
error);
arch/powerpc/platforms/44x/warp.c
214
return error;
arch/powerpc/platforms/cell/spufs/file.c
1548
goto error;
arch/powerpc/platforms/cell/spufs/file.c
1552
goto error;
arch/powerpc/platforms/cell/spufs/file.c
1556
goto error;
arch/powerpc/platforms/cell/spufs/file.c
1560
goto error;
arch/powerpc/platforms/cell/spufs/file.c
1562
error:
arch/powerpc/platforms/cell/spufs/file.c
1591
int *error)
arch/powerpc/platforms/cell/spufs/file.c
1593
*error = ctx->ops->send_mfc_command(ctx, &cmd);
arch/powerpc/platforms/cell/spufs/file.c
1594
if (*error == -EAGAIN) {
arch/powerpc/platforms/cell/spufs/file.c
1600
*error = ctx->ops->send_mfc_command(ctx, &cmd);
arch/powerpc/platforms/cell/spufs/file.c
1601
if (*error == -EAGAIN)
arch/powerpc/platforms/cell/spufs/file.c
2337
int error = 0, cnt = 0;
arch/powerpc/platforms/cell/spufs/file.c
2342
error = spu_acquire(ctx);
arch/powerpc/platforms/cell/spufs/file.c
2343
if (error)
arch/powerpc/platforms/cell/spufs/file.c
2344
return error;
arch/powerpc/platforms/cell/spufs/file.c
2357
error = -EAGAIN;
arch/powerpc/platforms/cell/spufs/file.c
2366
error = spufs_wait(ctx->switch_log->wait,
arch/powerpc/platforms/cell/spufs/file.c
2371
if (error)
arch/powerpc/platforms/cell/spufs/file.c
2372
return error;
arch/powerpc/platforms/cell/spufs/file.c
2392
error = copy_to_user(buf + cnt, tbuf, width);
arch/powerpc/platforms/cell/spufs/file.c
2393
if (error)
arch/powerpc/platforms/cell/spufs/file.c
2400
return cnt == 0 ? error : cnt;
arch/powerpc/platforms/embedded6xx/wii.c
62
int error = -ENODEV;
arch/powerpc/platforms/embedded6xx/wii.c
69
error = of_address_to_resource(np, 0, &res);
arch/powerpc/platforms/embedded6xx/wii.c
70
if (error) {
arch/powerpc/platforms/powermac/backlight.c
109
int error = -ENXIO;
arch/powerpc/platforms/powermac/backlight.c
127
error = 0;
arch/powerpc/platforms/powermac/backlight.c
131
return error;
arch/powerpc/platforms/powermac/pfunc_core.c
100
cmd->error = 1;
arch/powerpc/platforms/powermac/pfunc_core.c
112
cmd->error = 1;
arch/powerpc/platforms/powermac/pfunc_core.c
126
if (cmd->error) \
arch/powerpc/platforms/powermac/pfunc_core.c
592
cmd.error = 0;
arch/powerpc/platforms/powermac/pfunc_core.c
609
if (cmd.error) {
arch/powerpc/platforms/powermac/pfunc_core.c
76
int error;
arch/powerpc/platforms/powernv/opal-imc.c
105
goto error;
arch/powerpc/platforms/powernv/opal-imc.c
109
goto error;
arch/powerpc/platforms/powernv/opal-imc.c
113
goto error;
arch/powerpc/platforms/powernv/opal-imc.c
126
error:
arch/powerpc/platforms/ps3/os-area.c
607
int error;
arch/powerpc/platforms/ps3/os-area.c
621
error = count;
arch/powerpc/platforms/ps3/os-area.c
630
error = -EINVAL;
arch/powerpc/platforms/ps3/os-area.c
638
error = db_verify(db);
arch/powerpc/platforms/ps3/os-area.c
639
if (error) {
arch/powerpc/platforms/ps3/os-area.c
654
error = count < 0 ? count : -EIO;
arch/powerpc/platforms/ps3/os-area.c
659
return error;
arch/powerpc/platforms/ps3/os-area.c
672
int error;
arch/powerpc/platforms/ps3/os-area.c
684
error = update_flash_db();
arch/powerpc/platforms/ps3/os-area.c
685
if (error)
arch/powerpc/platforms/ps3/repository.c
463
int error;
arch/powerpc/platforms/ps3/repository.c
466
error = ps3_repository_read_bus_type(i, &type);
arch/powerpc/platforms/ps3/repository.c
467
if (error) {
arch/powerpc/platforms/ps3/repository.c
471
return error;
arch/powerpc/platforms/pseries/ibmebus.c
355
int error = -ENODEV;
arch/powerpc/platforms/pseries/ibmebus.c
363
return error;
arch/powerpc/platforms/pseries/ibmebus.c
368
error = drv->probe(of_dev);
arch/powerpc/platforms/pseries/ibmebus.c
369
if (error)
arch/powerpc/platforms/pseries/ibmebus.c
372
return error;
arch/powerpc/platforms/pseries/papr-rtas-common.c
109
if (seq->error == 0)
arch/powerpc/platforms/pseries/papr-rtas-common.c
110
seq->error = err;
arch/powerpc/platforms/pseries/papr-rtas-common.c
112
return seq->error;
arch/powerpc/platforms/pseries/papr-rtas-common.c
147
if (seq->error) {
arch/powerpc/platforms/pseries/papr-rtas-common.c
149
return ERR_PTR(seq->error);
arch/powerpc/platforms/pseries/papr-rtas-common.c
238
if (seq->error)
arch/powerpc/platforms/pseries/papr-rtas-common.h
38
int error;
arch/powerpc/platforms/pseries/vio.c
1226
int error = -ENODEV;
arch/powerpc/platforms/pseries/vio.c
1229
return error;
arch/powerpc/platforms/pseries/vio.c
1235
error = vio_cmo_bus_probe(viodev);
arch/powerpc/platforms/pseries/vio.c
1236
if (error)
arch/powerpc/platforms/pseries/vio.c
1237
return error;
arch/powerpc/platforms/pseries/vio.c
1239
error = viodrv->probe(viodev, id);
arch/powerpc/platforms/pseries/vio.c
1240
if (error && firmware_has_feature(FW_FEATURE_CMO))
arch/powerpc/platforms/pseries/vio.c
1244
return error;
arch/riscv/errata/andes/errata.c
39
return ret.error ? 0 : ret.value;
arch/riscv/include/asm/insn-def.h
209
__ASM_STR(.error "hlv.d requires 64-bit support")
arch/riscv/include/asm/insn-def.h
278
__ASM_STR(.error "ld.aq requires 64-bit support")
arch/riscv/include/asm/insn-def.h
281
__ASM_STR(.error "ld.aqrl requires 64-bit support")
arch/riscv/include/asm/insn-def.h
284
__ASM_STR(.error "sd.rl requires 64-bit support")
arch/riscv/include/asm/insn-def.h
287
__ASM_STR(.error "sd.aqrl requires 64-bit support")
arch/riscv/include/asm/sbi.h
562
long error;
arch/riscv/include/asm/syscall.h
49
unsigned long error = regs->a0;
arch/riscv/include/asm/syscall.h
51
return IS_ERR_VALUE(error) ? error : 0;
arch/riscv/include/asm/syscall.h
62
int error, long val)
arch/riscv/include/asm/syscall.h
64
regs->a0 = (long) error ?: val;
arch/riscv/include/asm/trace.h
29
TP_PROTO(int ext, long error, long value),
arch/riscv/include/asm/trace.h
30
TP_ARGS(ext, error, value),
arch/riscv/include/asm/trace.h
34
__field(long, error)
arch/riscv/include/asm/trace.h
39
__entry->error = error;
arch/riscv/include/asm/trace.h
43
TP_printk("error=%ld value=0x%lx", __entry->error, __entry->value)
arch/riscv/kernel/cpu_ops_sbi.c
33
if (ret.error)
arch/riscv/kernel/cpu_ops_sbi.c
34
return sbi_err_map_linux_errno(ret.error);
arch/riscv/kernel/cpu_ops_sbi.c
46
if (ret.error)
arch/riscv/kernel/cpu_ops_sbi.c
47
return sbi_err_map_linux_errno(ret.error);
arch/riscv/kernel/cpu_ops_sbi.c
58
if (ret.error)
arch/riscv/kernel/cpu_ops_sbi.c
59
return sbi_err_map_linux_errno(ret.error);
arch/riscv/kernel/kgdb.c
124
int error = get_step_address(regs, &addr);
arch/riscv/kernel/kgdb.c
126
if (error)
arch/riscv/kernel/kgdb.c
127
return error;
arch/riscv/kernel/kgdb.c
130
error = get_kernel_nofault(stepped_opcode, (void *)addr);
arch/riscv/kernel/kgdb.c
131
if (error)
arch/riscv/kernel/kgdb.c
132
return error;
arch/riscv/kernel/kgdb.c
137
error = copy_to_kernel_nofault((void *)stepped_address,
arch/riscv/kernel/kgdb.c
141
if (!error) {
arch/riscv/kernel/kgdb.c
150
return error;
arch/riscv/kernel/paravirt.c
55
if (ret.error) {
arch/riscv/kernel/paravirt.c
60
return sbi_err_map_linux_errno(ret.error);
arch/riscv/kernel/sbi.c
197
if (ret.error) {
arch/riscv/kernel/sbi.c
198
result = sbi_err_map_linux_errno(ret.error);
arch/riscv/kernel/sbi.c
248
if (ret.error) {
arch/riscv/kernel/sbi.c
249
result = sbi_err_map_linux_errno(ret.error);
arch/riscv/kernel/sbi.c
308
atomic_t error;
arch/riscv/kernel/sbi.c
318
atomic_set(&req->error, ret);
arch/riscv/kernel/sbi.c
339
return sbi_err_map_linux_errno(ret.error);
arch/riscv/kernel/sbi.c
358
.error = ATOMIC_INIT(0),
arch/riscv/kernel/sbi.c
369
return atomic_read(&req.error);
arch/riscv/kernel/sbi.c
549
if (!ret.error)
arch/riscv/kernel/sbi.c
615
if (ret.error == SBI_ERR_FAILURE)
arch/riscv/kernel/sbi.c
617
return ret.error ? sbi_err_map_linux_errno(ret.error) : ret.value;
arch/riscv/kernel/sbi.c
644
if (ret.error == SBI_ERR_FAILURE)
arch/riscv/kernel/sbi.c
646
return ret.error ? sbi_err_map_linux_errno(ret.error) : ret.value;
arch/riscv/kernel/sbi.c
75
return ret.error;
arch/riscv/kernel/sbi_ecall.c
13
if (!ret.error)
arch/riscv/kernel/sbi_ecall.c
16
return sbi_err_map_linux_errno(ret.error);
arch/riscv/kernel/sbi_ecall.c
41
ret.error = a0;
arch/riscv/kernel/sbi_ecall.c
44
trace_sbi_return(ext, ret.error, ret.value);
arch/riscv/kernel/setup.c
165
goto error;
arch/riscv/kernel/setup.c
196
goto error;
arch/riscv/kernel/setup.c
217
goto error;
arch/riscv/kernel/setup.c
228
error:
arch/riscv/kernel/suspend.c
120
if (ret.error)
arch/riscv/kernel/suspend.c
121
return sbi_err_map_linux_errno(ret.error);
arch/riscv/kernel/suspend.c
159
return (ret.error) ? sbi_err_map_linux_errno(ret.error) : 0;
arch/riscv/kvm/nacl.c
65
rc = sbi_err_map_linux_errno(ret.error);
arch/s390/boot/boot.h
79
void error(char *m);
arch/s390/include/asm/asm-extable.h
46
stringify_in_c( .error "extable_reg: bad register argument1";) \
arch/s390/include/asm/asm-extable.h
58
stringify_in_c( .error "extable_reg: bad register argument2";) \
arch/s390/include/asm/eadm.h
112
blk_status_t error);
arch/s390/include/asm/eadm.h
119
void scm_irq_handler(struct aob *aob, blk_status_t error);
arch/s390/include/asm/idals.h
152
goto error;
arch/s390/include/asm/idals.h
156
error:
arch/s390/include/asm/nospec-insn.h
66
.error "__DECODE_R failed"
arch/s390/include/asm/nospec-insn.h
83
.error "__DECODE_RR failed"
arch/s390/include/asm/qdio.h
352
unsigned int *bufnr, unsigned int *error);
arch/s390/include/asm/qdio.h
354
unsigned int *bufnr, unsigned int *error);
arch/s390/include/asm/syscall.h
47
unsigned long error = regs->gprs[2];
arch/s390/include/asm/syscall.h
49
return IS_ERR_VALUE(error) ? error : 0;
arch/s390/include/asm/syscall.h
60
int error, long val)
arch/s390/include/asm/syscall.h
63
regs->gprs[2] = error ? error : val;
arch/s390/include/asm/tpi.h
26
u32 error:1;
arch/s390/include/asm/unwind.h
43
bool error;
arch/s390/include/asm/unwind.h
70
return state->error;
arch/s390/kernel/unwind_bc.c
118
state->error = true;
arch/s390/kernel/unwind_bc.c
158
state->error = true;
arch/s390/kvm/guestdbg.c
238
goto error;
arch/s390/kvm/guestdbg.c
245
goto error;
arch/s390/kvm/guestdbg.c
255
goto error;
arch/s390/kvm/guestdbg.c
271
error:
arch/s390/kvm/interrupt.c
3377
if ((info->forward || info->error) &&
arch/s390/mm/dump_pagetables.c
354
goto error;
arch/s390/mm/dump_pagetables.c
360
error:
arch/s390/pci/pci.c
838
goto error;
arch/s390/pci/pci.c
847
error:
arch/s390/pci/pci.c
872
goto error;
arch/s390/pci/pci.c
887
error:
arch/s390/pci/pci_bus.c
399
goto error;
arch/s390/pci/pci_bus.c
404
error:
arch/s390/pci/pci_bus.c
461
goto error;
arch/s390/pci/pci_bus.c
466
goto error;
arch/s390/pci/pci_bus.c
470
error:
arch/sh/boards/mach-landisk/gio.c
130
int error;
arch/sh/boards/mach-landisk/gio.c
136
if ((error = alloc_chrdev_region(&dev, 0, DEVCOUNT, "gio")) < 0) {
arch/sh/boards/mach-landisk/gio.c
139
error);
arch/sh/boards/mach-landisk/gio.c
145
error = cdev_add(cdev_p, dev, DEVCOUNT);
arch/sh/boards/mach-landisk/gio.c
146
if (error) {
arch/sh/boards/mach-landisk/gio.c
148
"gio: Couldn't cdev_add, error=%d\n", error);
arch/sh/boot/compressed/misc.c
108
error("stack-protector: Kernel stack is corrupted\n");
arch/sh/boot/compressed/misc.c
139
__decompress(input_data, input_len, NULL, NULL, output, 0, NULL, error);
arch/sh/boot/compressed/misc.c
35
static void error(char *m);
arch/sh/include/asm/syscall_32.h
53
int error, long val)
arch/sh/include/asm/syscall_32.h
55
regs->regs[0] = (long) error ?: val;
arch/sh/kernel/cpu/sh4/sq.c
343
int error;
arch/sh/kernel/cpu/sh4/sq.c
350
error = kobject_init_and_add(kobj, &ktype_percpu_entry, &dev->kobj,
arch/sh/kernel/cpu/sh4/sq.c
352
if (!error)
arch/sh/kernel/cpu/sh4/sq.c
354
return error;
arch/sh/kernel/sys_sh32.c
29
int error;
arch/sh/kernel/sys_sh32.c
31
error = do_pipe_flags(fd, 0);
arch/sh/kernel/sys_sh32.c
32
if (!error) {
arch/sh/kernel/sys_sh32.c
36
return error;
arch/sparc/include/asm/floppy_64.h
251
int error;
arch/sparc/include/asm/floppy_64.h
256
error = request_irq(FLOPPY_IRQ, sparc_floppy_irq,
arch/sparc/include/asm/floppy_64.h
259
return ((error == 0) ? 0 : -1);
arch/sparc/include/asm/syscall.h
100
if (error) {
arch/sparc/include/asm/syscall.h
102
regs->u_regs[UREG_I0] = -error;
arch/sparc/include/asm/syscall.h
98
int error, long val)
arch/sparc/kernel/nmi.c
179
goto error;
arch/sparc/kernel/nmi.c
202
goto error;
arch/sparc/kernel/nmi.c
210
error:
arch/sparc/kernel/sys_sparc32.c
100
if (!error)
arch/sparc/kernel/sys_sparc32.c
101
error = cp_compat_stat64(&stat, statbuf);
arch/sparc/kernel/sys_sparc32.c
102
return error;
arch/sparc/kernel/sys_sparc32.c
109
int error = vfs_lstat(filename, &stat);
arch/sparc/kernel/sys_sparc32.c
111
if (!error)
arch/sparc/kernel/sys_sparc32.c
112
error = cp_compat_stat64(&stat, statbuf);
arch/sparc/kernel/sys_sparc32.c
113
return error;
arch/sparc/kernel/sys_sparc32.c
120
int error = vfs_fstat(fd, &stat);
arch/sparc/kernel/sys_sparc32.c
122
if (!error)
arch/sparc/kernel/sys_sparc32.c
123
error = cp_compat_stat64(&stat, statbuf);
arch/sparc/kernel/sys_sparc32.c
124
return error;
arch/sparc/kernel/sys_sparc32.c
132
int error;
arch/sparc/kernel/sys_sparc32.c
134
error = vfs_fstatat(dfd, filename, &stat, flag);
arch/sparc/kernel/sys_sparc32.c
135
if (error)
arch/sparc/kernel/sys_sparc32.c
136
return error;
arch/sparc/kernel/sys_sparc32.c
98
int error = vfs_stat(filename, &stat);
arch/sparc/kernel/sys_sparc_32.c
87
int error;
arch/sparc/kernel/sys_sparc_32.c
89
error = do_pipe_flags(fd, 0);
arch/sparc/kernel/sys_sparc_32.c
90
if (error)
arch/sparc/kernel/sys_sparc_32.c
93
error = fd[0];
arch/sparc/kernel/sys_sparc_32.c
95
return error;
arch/sparc/kernel/sys_sparc_64.c
334
int error;
arch/sparc/kernel/sys_sparc_64.c
336
error = do_pipe_flags(fd, 0);
arch/sparc/kernel/sys_sparc_64.c
337
if (error)
arch/sparc/kernel/sys_sparc_64.c
340
error = fd[0];
arch/sparc/kernel/sys_sparc_64.c
342
return error;
arch/sparc/prom/tree_32.c
188
int error;
arch/sparc/prom/tree_32.c
192
error = prom_getproperty(thisnode, "name", promlib_buf,
arch/sparc/prom/tree_32.c
195
if(error == -1) continue;
arch/sparc/prom/tree_64.c
218
int error;
arch/sparc/prom/tree_64.c
223
error = prom_getproperty(thisnode, "name", promlib_buf,
arch/sparc/prom/tree_64.c
226
if(error == -1) continue;
arch/um/drivers/chan_user.c
100
goto error;
arch/um/drivers/chan_user.c
110
goto error;
arch/um/drivers/chan_user.c
123
error:
arch/um/drivers/chan_user.c
96
goto error;
arch/um/drivers/line.c
430
char *error;
arch/um/drivers/line.c
443
error = "Couldn't parse device number";
arch/um/drivers/line.c
447
error = "Device number out of range";
arch/um/drivers/line.c
456
"configuration string \"%s\" : %s\n", name, init, error);
arch/um/drivers/mconsole_kern.c
434
char default_buf[CONFIG_BUF_SIZE], *error, *buf;
arch/um/drivers/mconsole_kern.c
442
error = NULL;
arch/um/drivers/mconsole_kern.c
447
n = (*get_config)(name, buf, size, &error);
arch/um/drivers/mconsole_kern.c
448
if (error != NULL) {
arch/um/drivers/mconsole_kern.c
449
mconsole_reply(req, error, 1, 0);
arch/um/drivers/mconsole_kern.c
503
char error[256];
arch/um/drivers/mconsole_kern.c
523
sprintf(error, "Invalid device number - must be between "
arch/um/drivers/mconsole_kern.c
525
err_msg = error;
arch/um/drivers/ssl.c
164
char *error;
arch/um/drivers/ssl.c
168
if (setup_one_line(serial_lines, i, s, &opts, &error))
arch/um/drivers/ssl.c
170
"device %d : %s\n", i, error);
arch/um/drivers/stdio_console.c
164
char *error;
arch/um/drivers/stdio_console.c
170
if (setup_one_line(vts, i, s, &opts, &error))
arch/um/drivers/stdio_console.c
172
"device %d : %s\n", i, error);
arch/um/drivers/ubd_kern.c
1066
char *error;
arch/um/drivers/ubd_kern.c
1092
err = ubd_add(i, &error);
arch/um/drivers/ubd_kern.c
1095
"%s\n", i, error);
arch/um/drivers/ubd_kern.c
1241
io_req->error = 0;
arch/um/drivers/ubd_kern.c
1418
req->error = map_error(-os_sync_file(req->fds[0]));
arch/um/drivers/ubd_kern.c
1445
req->error = map_error(-n);
arch/um/drivers/ubd_kern.c
1454
req->error = map_error(-n);
arch/um/drivers/ubd_kern.c
1461
req->error = map_error(-n);
arch/um/drivers/ubd_kern.c
1468
req->error = map_error(-n);
arch/um/drivers/ubd_kern.c
1474
req->error = BLK_STS_NOTSUPP;
arch/um/drivers/ubd_kern.c
1482
req->error = update_bitmap(req, desc);
arch/um/drivers/ubd_kern.c
1519
for (i = 0; !req->error && i < req->desc_cnt; i++)
arch/um/drivers/ubd_kern.c
333
char *error;
arch/um/drivers/ubd_kern.c
336
err = ubd_setup_common(str, NULL, &error);
arch/um/drivers/ubd_kern.c
339
"%s\n", str, error);
arch/um/drivers/ubd_kern.c
450
if (io_req->error == BLK_STS_NOTSUPP) {
arch/um/drivers/ubd_kern.c
456
blk_mq_end_request(io_req->req, io_req->error);
arch/um/drivers/ubd_kern.c
64
int error;
arch/um/drivers/ubd_kern.c
758
goto error;
arch/um/drivers/ubd_kern.c
765
goto error;
arch/um/drivers/ubd_kern.c
771
if(err < 0) goto error;
arch/um/drivers/ubd_kern.c
775
error:
arch/um/drivers/vector_kern.c
1699
char *error;
arch/um/drivers/vector_kern.c
1703
err = vector_parse(str, &n, &str, &error);
arch/um/drivers/vector_kern.c
1705
pr_err("Couldn't parse '%s': %s\n", str, error);
arch/um/drivers/vfio_user.c
34
goto error;
arch/um/drivers/vfio_user.c
40
goto error;
arch/um/drivers/vfio_user.c
45
error:
arch/um/include/asm/syscall-generic.h
38
const long error = regs_return_value(regs);
arch/um/include/asm/syscall-generic.h
40
return IS_ERR_VALUE(error) ? error : 0;
arch/um/include/asm/syscall-generic.h
51
int error, long val)
arch/um/include/asm/syscall-generic.h
53
PT_REGS_SET_SYSCALL_RETURN(regs, (long) error ?: val);
arch/um/kernel/irq.c
520
goto error;
arch/um/kernel/irq.c
525
goto error;
arch/um/kernel/irq.c
528
error:
arch/um/os-Linux/file.c
378
goto error;
arch/um/os-Linux/file.c
382
goto error;
arch/um/os-Linux/file.c
386
error:
arch/x86/boot/compressed/acpi.c
67
error("EFI support advertised, but unable to locate system table.");
arch/x86/boot/compressed/acpi.c
71
error("EFI config table not found.");
arch/x86/boot/compressed/error.c
41
error(buf);
arch/x86/boot/compressed/error.h
8
void error(char *m) __noreturn;
arch/x86/boot/compressed/ident_map_64.c
106
error("Error: kernel_ident_mapping_init() failed\n");
arch/x86/boot/compressed/ident_map_64.c
358
error("Stopping.\n");
arch/x86/boot/compressed/kaslr.c
241
error("Failed to allocate space for tmp_cmdline");
arch/x86/boot/compressed/mem.c
44
error("Cannot accept memory: unknown platform\n");
arch/x86/boot/compressed/mem.c
73
error("Unknown version of unaccepted memory table\n");
arch/x86/boot/compressed/misc.c
258
error("32-bit relocation outside of kernel!\n");
arch/x86/boot/compressed/misc.c
269
error("64-bit relocation outside of kernel!\n");
arch/x86/boot/compressed/misc.c
298
error("Kernel is not a valid ELF file");
arch/x86/boot/compressed/misc.c
304
error("Failed to allocate space for phdrs");
arch/x86/boot/compressed/misc.c
315
error("Alignment of LOAD segment isn't multiple of 2MB");
arch/x86/boot/compressed/misc.c
345
void (*error)(char *x))
arch/x86/boot/compressed/misc.c
355
NULL, error) < 0)
arch/x86/boot/compressed/misc.c
497
error("Destination physical address inappropriately aligned");
arch/x86/boot/compressed/misc.c
499
error("Destination virtual address inappropriately aligned");
arch/x86/boot/compressed/misc.c
502
error("Destination address too large");
arch/x86/boot/compressed/misc.c
504
error("Destination virtual address is beyond the kernel mapping area");
arch/x86/boot/compressed/misc.c
507
error("Destination address too large");
arch/x86/boot/compressed/misc.c
511
error("Destination virtual address changed when not relocatable");
arch/x86/boot/compressed/misc.c
521
entry_offset = decompress_kernel(output, virt_addr, error);
arch/x86/boot/compressed/sev.c
117
error("SEV-ES CPU Features missing.");
arch/x86/boot/compressed/sev.c
135
error("Can't map GHCB page encrypted");
arch/x86/boot/compressed/sev.c
143
error("Can't unmap GHCB page");
arch/x86/boot/compressed/sev.c
397
error("SEV-SNP support indicated by CC blob, but not CPUID.");
arch/x86/boot/compressed/sev.c
433
error("SEV-SNP supported indicated by CC blob, but not SEV status MSR.");
arch/x86/boot/compressed/tdx.c
16
error("TDVMCALL failed. TDX module bug?");
arch/x86/coco/sev/vc-shared.c
630
error("RDRAND instruction not supported - no trusted source of randomness available\n");
arch/x86/events/core.c
2405
goto error;
arch/x86/events/core.c
2412
goto error;
arch/x86/events/core.c
2415
error:
arch/x86/events/intel/ds.c
3017
short error[INTEL_PMC_IDX_FIXED + MAX_FIXED_PEBS_EVENTS] = {};
arch/x86/events/intel/ds.c
3092
error[i]++;
arch/x86/events/intel/ds.c
3100
if ((counts[bit] == 0) && (error[bit] == 0))
arch/x86/events/intel/ds.c
3111
if (error[bit]) {
arch/x86/events/intel/ds.c
3112
perf_log_lost_samples(event, error[bit]);
arch/x86/include/asm/apm.h
53
bool error;
arch/x86/include/asm/apm.h
67
: "=a" (*eax), "=b" (error), "=c" (cx), "=d" (dx),
arch/x86/include/asm/apm.h
71
return error;
arch/x86/include/asm/boot.h
90
void (*error)(char *x));
arch/x86/include/asm/syscall.h
57
unsigned long error = regs->ax;
arch/x86/include/asm/syscall.h
68
error = (long) (int) error;
arch/x86/include/asm/syscall.h
70
return IS_ERR_VALUE(error) ? error : 0;
arch/x86/include/asm/syscall.h
81
int error, long val)
arch/x86/include/asm/syscall.h
83
regs->ax = (long) error ?: val;
arch/x86/include/asm/unwind.h
22
bool error;
arch/x86/include/asm/unwind.h
55
return state->error;
arch/x86/include/asm/unwind_hints.h
39
.error "UNWIND_HINT_REGS: bad base register"
arch/x86/include/uapi/asm/kvm.h
757
__u32 error;
arch/x86/kernel/acpi/boot.c
1259
int error;
arch/x86/kernel/acpi/boot.c
1266
error = early_acpi_parse_madt_lapic_addr_ovr();
arch/x86/kernel/acpi/boot.c
1267
if (!error) {
arch/x86/kernel/acpi/boot.c
1271
if (error == -EINVAL) {
arch/x86/kernel/acpi/boot.c
1285
int error;
arch/x86/kernel/acpi/boot.c
1292
error = acpi_parse_madt_lapic_entries();
arch/x86/kernel/acpi/boot.c
1293
if (!error) {
arch/x86/kernel/acpi/boot.c
1300
error = acpi_parse_madt_ioapic_entries();
arch/x86/kernel/acpi/boot.c
1302
if (!error) {
arch/x86/kernel/acpi/boot.c
1316
if (error == -EINVAL) {
arch/x86/kernel/amd_gart_64.c
419
goto error;
arch/x86/kernel/amd_gart_64.c
437
goto error;
arch/x86/kernel/amd_gart_64.c
446
error:
arch/x86/kernel/apic/vector.c
575
goto error;
arch/x86/kernel/apic/vector.c
610
goto error;
arch/x86/kernel/apic/vector.c
616
error:
arch/x86/kernel/apm_32.c
1100
int error = APM_NOT_ENGAGED; /* silence gcc */
arch/x86/kernel/apm_32.c
1108
error = set_power_state(dev[i], state);
arch/x86/kernel/apm_32.c
1110
if ((error == APM_SUCCESS) || (error == APM_NO_ERROR))
arch/x86/kernel/apm_32.c
1113
if (error == APM_NOT_ENGAGED)
arch/x86/kernel/apm_32.c
1117
if (error == APM_NOT_ENGAGED) {
arch/x86/kernel/apm_32.c
1123
apm_error("set display", error);
arch/x86/kernel/apm_32.c
1130
apm_error("set display", error);
arch/x86/kernel/apm_32.c
1274
int error;
arch/x86/kernel/apm_32.c
1281
error = apm_get_event(&event, &info);
arch/x86/kernel/apm_32.c
1282
if (error == APM_SUCCESS)
arch/x86/kernel/apm_32.c
1285
if ((error != APM_NO_EVENTS) && (notified++ == 0))
arch/x86/kernel/apm_32.c
1286
apm_error("get_event", error);
arch/x86/kernel/apm_32.c
1611
int error;
arch/x86/kernel/apm_32.c
1620
!(error = apm_get_power_status(&bx, &cx, &dx))) {
arch/x86/kernel/apm_32.c
1692
int error;
arch/x86/kernel/apm_32.c
1713
error = apm_driver_version(&apm_info.connection_version);
arch/x86/kernel/apm_32.c
1714
if (error != APM_SUCCESS) {
arch/x86/kernel/apm_32.c
1715
apm_error("driver version", error);
arch/x86/kernel/apm_32.c
1734
error = apm_enable_power_management(1);
arch/x86/kernel/apm_32.c
1735
if (error) {
arch/x86/kernel/apm_32.c
1736
apm_error("enable power management", error);
arch/x86/kernel/apm_32.c
1744
error = apm_engage_power_management(APM_DEVICE_ALL, 1);
arch/x86/kernel/apm_32.c
1745
if (error) {
arch/x86/kernel/apm_32.c
1746
apm_error("engage power management", error);
arch/x86/kernel/apm_32.c
1752
error = apm_get_power_status(&bx, &cx, &dx);
arch/x86/kernel/apm_32.c
1753
if (error)
arch/x86/kernel/apm_32.c
2359
int error;
arch/x86/kernel/apm_32.c
2366
error = apm_engage_power_management(APM_DEVICE_ALL, 0);
arch/x86/kernel/apm_32.c
2367
if (error)
arch/x86/kernel/apm_32.c
2368
apm_error("disengage power management", error);
arch/x86/kernel/apm_32.c
669
u8 error;
arch/x86/kernel/apm_32.c
688
error = apm_bios_call_simple_asm(call->func, call->ebx, call->ecx,
arch/x86/kernel/apm_32.c
696
return error;
arch/x86/kernel/cpu/aperfmperf.c
445
goto error;
arch/x86/kernel/cpu/aperfmperf.c
453
goto error;
arch/x86/kernel/cpu/aperfmperf.c
457
goto error;
arch/x86/kernel/cpu/aperfmperf.c
465
error:
arch/x86/kernel/cpu/mce/core.c
2711
goto error;
arch/x86/kernel/cpu/mce/core.c
2725
error:
arch/x86/kernel/cpu/microcode/core.c
889
int error;
arch/x86/kernel/cpu/microcode/core.c
915
error = sysfs_create_group(&dev_root->kobj, &cpu_root_microcode_group);
arch/x86/kernel/cpu/microcode/core.c
917
if (error) {
arch/x86/kernel/cpu/microcode/core.c
931
return error;
arch/x86/kernel/cpu/mtrr/mtrr.c
222
int i, replace, error;
arch/x86/kernel/cpu/mtrr/mtrr.c
228
error = mtrr_if->validate_add_page(base, size, type);
arch/x86/kernel/cpu/mtrr/mtrr.c
229
if (error)
arch/x86/kernel/cpu/mtrr/mtrr.c
230
return error;
arch/x86/kernel/cpu/mtrr/mtrr.c
254
error = -EINVAL;
arch/x86/kernel/cpu/mtrr/mtrr.c
296
error = i;
arch/x86/kernel/cpu/mtrr/mtrr.c
317
error = i;
arch/x86/kernel/cpu/mtrr/mtrr.c
321
return error;
arch/x86/kernel/cpu/mtrr/mtrr.c
400
int error = -EINVAL;
arch/x86/kernel/cpu/mtrr/mtrr.c
438
error = reg;
arch/x86/kernel/cpu/mtrr/mtrr.c
442
return error;
arch/x86/kernel/kdebugfs.c
107
error = -ENOMEM;
arch/x86/kernel/kdebugfs.c
114
error = -ENOMEM;
arch/x86/kernel/kdebugfs.c
125
error = -ENOMEM;
arch/x86/kernel/kdebugfs.c
157
return error;
arch/x86/kernel/kdebugfs.c
168
int error;
arch/x86/kernel/kdebugfs.c
175
error = create_setup_data_nodes(dbp);
arch/x86/kernel/kdebugfs.c
176
if (error)
arch/x86/kernel/kdebugfs.c
179
return error;
arch/x86/kernel/kdebugfs.c
185
int error = 0;
arch/x86/kernel/kdebugfs.c
190
error = boot_params_kdebugfs_init();
arch/x86/kernel/kdebugfs.c
193
return error;
arch/x86/kernel/kdebugfs.c
96
int error;
arch/x86/kernel/ldt.c
585
int error;
arch/x86/kernel/ldt.c
587
error = -EINVAL;
arch/x86/kernel/ldt.c
590
error = -EFAULT;
arch/x86/kernel/ldt.c
594
error = -EINVAL;
arch/x86/kernel/ldt.c
610
error = -EINVAL;
arch/x86/kernel/ldt.c
626
error = -ENOMEM;
arch/x86/kernel/ldt.c
643
error = map_ldt_struct(mm, new_ldt, old_ldt ? !old_ldt->slot : 0);
arch/x86/kernel/ldt.c
644
if (error) {
arch/x86/kernel/ldt.c
659
error = 0;
arch/x86/kernel/ldt.c
664
return error;
arch/x86/kernel/machine_kexec_32.c
137
int error;
arch/x86/kernel/machine_kexec_32.c
140
error = machine_kexec_alloc_page_tables(image);
arch/x86/kernel/machine_kexec_32.c
141
if (error)
arch/x86/kernel/machine_kexec_32.c
142
return error;
arch/x86/kernel/sys_ia32.c
200
int error;
arch/x86/kernel/sys_ia32.c
202
error = vfs_fstatat(dfd, filename, &stat, flag);
arch/x86/kernel/sys_ia32.c
203
if (error)
arch/x86/kernel/sys_ia32.c
204
return error;
arch/x86/kernel/unwind_frame.c
321
state->error = true;
arch/x86/kernel/unwind_orc.c
21
if (state->task == current && !state->error) { \
arch/x86/kernel/unwind_orc.c
518
state->error = true;
arch/x86/kernel/unwind_orc.c
690
state->error = true;
arch/x86/kernel/unwind_orc.c
751
state->error = true;
arch/x86/kernel/unwind_orc.c
778
state->error = true;
arch/x86/kvm/emulate.c
532
u32 error, bool valid)
arch/x86/kvm/emulate.c
538
ctxt->exception.error_code = error;
arch/x86/kvm/mmu/paging_tmpl.h
336
goto error;
arch/x86/kvm/mmu/paging_tmpl.h
359
goto error;
arch/x86/kvm/mmu/paging_tmpl.h
397
goto error;
arch/x86/kvm/mmu/paging_tmpl.h
402
goto error;
arch/x86/kvm/mmu/paging_tmpl.h
406
goto error;
arch/x86/kvm/mmu/paging_tmpl.h
418
goto error;
arch/x86/kvm/mmu/paging_tmpl.h
422
goto error;
arch/x86/kvm/mmu/paging_tmpl.h
438
goto error;
arch/x86/kvm/mmu/paging_tmpl.h
469
goto error;
arch/x86/kvm/mmu/paging_tmpl.h
476
error:
arch/x86/kvm/smm.c
306
goto error;
arch/x86/kvm/smm.c
311
goto error;
arch/x86/kvm/smm.c
333
goto error;
arch/x86/kvm/smm.c
363
goto error;
arch/x86/kvm/smm.c
369
error:
arch/x86/kvm/svm/sev.c
1035
ret = __sev_launch_update_vmsa(kvm, vcpu, &argp->error);
arch/x86/kvm/svm/sev.c
1081
ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_MEASURE, &data, &argp->error);
arch/x86/kvm/svm/sev.c
1114
return sev_issue_cmd(kvm, SEV_CMD_LAUNCH_FINISH, &data, &argp->error);
arch/x86/kvm/svm/sev.c
1129
ret = sev_issue_cmd(kvm, SEV_CMD_GUEST_STATUS, &data, &argp->error);
arch/x86/kvm/svm/sev.c
1145
int *error, bool enc)
arch/x86/kvm/svm/sev.c
1157
&data, error);
arch/x86/kvm/svm/sev.c
1216
int size, int *error)
arch/x86/kvm/svm/sev.c
123
int ret, error = 0;
arch/x86/kvm/svm/sev.c
1252
__sme_page_pa(dst_tpage), size, error);
arch/x86/kvm/svm/sev.c
1278
ret = __sev_issue_dbg_cmd(kvm, paddr, dst_paddr, len, error, true);
arch/x86/kvm/svm/sev.c
1349
len, &argp->error);
arch/x86/kvm/svm/sev.c
1356
len, &argp->error);
arch/x86/kvm/svm/sev.c
141
ret = sev_do_cmd(SEV_CMD_SNP_DF_FLUSH, NULL, &error);
arch/x86/kvm/svm/sev.c
143
ret = sev_guest_df_flush(&error);
arch/x86/kvm/svm/sev.c
1430
ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_UPDATE_SECRET, &data, &argp->error);
arch/x86/kvm/svm/sev.c
1482
ret = sev_issue_cmd(kvm, SEV_CMD_ATTESTATION_REPORT, &data, &argp->error);
arch/x86/kvm/svm/sev.c
149
sev_snp_enabled ? "-SNP" : "", ret, error);
arch/x86/kvm/svm/sev.c
1516
ret = sev_issue_cmd(kvm, SEV_CMD_SEND_START, &data, &argp->error);
arch/x86/kvm/svm/sev.c
1590
ret = sev_issue_cmd(kvm, SEV_CMD_SEND_START, &data, &argp->error);
arch/x86/kvm/svm/sev.c
1625
ret = sev_issue_cmd(kvm, SEV_CMD_SEND_UPDATE_DATA, &data, &argp->error);
arch/x86/kvm/svm/sev.c
1694
ret = sev_issue_cmd(kvm, SEV_CMD_SEND_UPDATE_DATA, &data, &argp->error);
arch/x86/kvm/svm/sev.c
1729
return sev_issue_cmd(kvm, SEV_CMD_SEND_FINISH, &data, &argp->error);
arch/x86/kvm/svm/sev.c
1740
return sev_issue_cmd(kvm, SEV_CMD_SEND_CANCEL, &data, &argp->error);
arch/x86/kvm/svm/sev.c
1748
int *error = &argp->error;
arch/x86/kvm/svm/sev.c
1787
error);
arch/x86/kvm/svm/sev.c
1792
ret = sev_bind_asid(kvm, start.handle, error);
arch/x86/kvm/svm/sev.c
1881
&argp->error);
arch/x86/kvm/svm/sev.c
1901
return sev_issue_cmd(kvm, SEV_CMD_RECEIVE_FINISH, &data, &argp->error);
arch/x86/kvm/svm/sev.c
2187
rc = __sev_issue_cmd(argp->sev_fd, SEV_CMD_SNP_GCTX_CREATE, &data, &argp->error);
arch/x86/kvm/svm/sev.c
2190
rc, argp->error);
arch/x86/kvm/svm/sev.c
2198
static int snp_bind_asid(struct kvm *kvm, int *error)
arch/x86/kvm/svm/sev.c
2205
return sev_issue_cmd(kvm, SEV_CMD_SNP_ACTIVATE, &data, error);
arch/x86/kvm/svm/sev.c
2250
rc = __sev_issue_cmd(argp->sev_fd, SEV_CMD_SNP_LAUNCH_START, &start, &argp->error);
arch/x86/kvm/svm/sev.c
2259
rc = snp_bind_asid(kvm, &argp->error);
arch/x86/kvm/svm/sev.c
2421
argp->error = sev_populate_args.fw_error;
arch/x86/kvm/svm/sev.c
2423
__func__, count, argp->error);
arch/x86/kvm/svm/sev.c
2469
&data, &argp->error);
arch/x86/kvm/svm/sev.c
2545
ret = sev_issue_cmd(kvm, SEV_CMD_SNP_LAUNCH_FINISH, data, &argp->error);
arch/x86/kvm/svm/sev.c
2979
int ret, error = 0;
arch/x86/kvm/svm/sev.c
2986
ret = sev_do_cmd(SEV_CMD_SNP_PLATFORM_STATUS, &buf, &error);
arch/x86/kvm/svm/sev.c
2989
ret, error, error);
arch/x86/kvm/svm/sev.c
5117
int error = 0;
arch/x86/kvm/svm/sev.c
5152
ret = sev_do_cmd(SEV_CMD_SNP_DBG_DECRYPT, &dbg, &error);
arch/x86/kvm/svm/sev.c
5164
ret, error, error);
arch/x86/kvm/svm/sev.c
5184
ret = sev_do_cmd(SEV_CMD_DBG_DECRYPT, &dbg, &error);
arch/x86/kvm/svm/sev.c
5187
ret, error, error);
arch/x86/kvm/svm/sev.c
521
argp->error = init_args.error;
arch/x86/kvm/svm/sev.c
572
static int sev_bind_asid(struct kvm *kvm, unsigned int handle, int *error)
arch/x86/kvm/svm/sev.c
581
ret = sev_guest_activate(&activate, error);
arch/x86/kvm/svm/sev.c
586
static int __sev_issue_cmd(int fd, int id, void *data, int *error)
arch/x86/kvm/svm/sev.c
593
return sev_issue_cmd_external_user(fd_file(f), id, data, error);
arch/x86/kvm/svm/sev.c
596
static int sev_issue_cmd(struct kvm *kvm, int id, void *data, int *error)
arch/x86/kvm/svm/sev.c
600
return __sev_issue_cmd(sev->fd, id, data, error);
arch/x86/kvm/svm/sev.c
609
int *error = &argp->error;
arch/x86/kvm/svm/sev.c
646
ret = __sev_issue_cmd(argp->sev_fd, SEV_CMD_LAUNCH_START, &start, error);
arch/x86/kvm/svm/sev.c
651
ret = sev_bind_asid(kvm, start.handle, error);
arch/x86/kvm/svm/sev.c
856
ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_UPDATE_DATA, &data, &argp->error);
arch/x86/kvm/svm/sev.c
971
int *error)
arch/x86/kvm/svm/sev.c
998
ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_UPDATE_VMSA, &vmsa, error);
arch/x86/kvm/vmx/tdx.c
1260
goto error;
arch/x86/kvm/vmx/tdx.c
1268
goto error;
arch/x86/kvm/vmx/tdx.c
1273
goto error;
arch/x86/kvm/vmx/tdx.c
1282
error:
arch/x86/kvm/vmx/tdx.c
1446
goto error;
arch/x86/kvm/vmx/tdx.c
1448
goto error;
arch/x86/kvm/vmx/tdx.c
1456
goto error;
arch/x86/kvm/vmx/tdx.c
1487
error:
arch/x86/kvm/vmx/vmx_ops.h
197
: : op1 : "cc" : error, fault); \
arch/x86/kvm/vmx/vmx_ops.h
199
error: \
arch/x86/kvm/vmx/vmx_ops.h
214
: : op1, op2 : "cc" : error, fault); \
arch/x86/kvm/vmx/vmx_ops.h
216
error: \
arch/x86/kvm/x86.c
2058
if (!vcpu->run->msr.error) {
arch/x86/kvm/x86.c
2066
return complete_emulated_insn_gp(vcpu, vcpu->run->msr.error);
arch/x86/kvm/x86.c
2077
return kvm_x86_call(complete_emulated_msr)(vcpu, vcpu->run->msr.error);
arch/x86/kvm/x86.c
2088
if (!vcpu->run->msr.error)
arch/x86/kvm/x86.c
2119
vcpu->run->msr.error = 0;
arch/x86/pci/xen.c
185
goto error;
arch/x86/pci/xen.c
203
error:
arch/x86/pci/xen.c
242
goto error;
arch/x86/pci/xen.c
253
goto error;
arch/x86/pci/xen.c
259
error:
arch/x86/platform/intel/iosf_mbi.c
348
goto error;
arch/x86/platform/intel/iosf_mbi.c
368
error:
arch/x86/platform/ts5500/ts5500.c
305
goto error;
arch/x86/platform/ts5500/ts5500.c
310
goto error;
arch/x86/platform/ts5500/ts5500.c
316
goto error;
arch/x86/platform/ts5500/ts5500.c
337
error:
arch/x86/platform/uv/uv_time.c
361
goto error;
arch/x86/platform/uv/uv_time.c
380
goto error;
arch/x86/platform/uv/uv_time.c
387
error:
arch/x86/power/hibernate_32.c
173
int error;
arch/x86/power/hibernate_32.c
181
error = set_up_temporary_text_mapping(resume_pg_dir);
arch/x86/power/hibernate_32.c
182
if (error)
arch/x86/power/hibernate_32.c
183
return error;
arch/x86/power/hibernate_32.c
185
error = resume_physical_mapping_init(resume_pg_dir);
arch/x86/power/hibernate_32.c
186
if (error)
arch/x86/power/hibernate_32.c
187
return error;
arch/x86/power/hibernate_32.c
191
error = relocate_restore_code();
arch/x86/power/hibernate_32.c
192
if (error)
arch/x86/power/hibernate_32.c
193
return error;
arch/x86/power/hibernate_64.c
129
int error;
arch/x86/power/hibernate_64.c
132
error = set_up_temporary_mappings();
arch/x86/power/hibernate_64.c
133
if (error)
arch/x86/power/hibernate_64.c
134
return error;
arch/x86/power/hibernate_64.c
136
error = relocate_restore_code();
arch/x86/power/hibernate_64.c
137
if (error)
arch/x86/power/hibernate_64.c
138
return error;
arch/xtensa/include/asm/asm-uaccess.h
49
.macro user_ok aa, as, at, error
arch/xtensa/include/asm/asm-uaccess.h
79
.macro access_ok aa, as, at, sp, error
arch/xtensa/include/asm/syscall.h
59
int error, long val)
arch/xtensa/include/asm/syscall.h
61
regs->areg[2] = (long) error ? error : val;
block/bdev.c
1092
int error;
block/bdev.c
1094
error = lookup_bdev(path, &dev);
block/bdev.c
1095
if (error)
block/bdev.c
1096
return ERR_PTR(error);
block/bdev.c
1216
int error;
block/bdev.c
1221
error = kern_path(pathname, LOOKUP_FOLLOW, &path);
block/bdev.c
1222
if (error)
block/bdev.c
1223
return error;
block/bdev.c
1226
error = -ENOTBLK;
block/bdev.c
1229
error = -EACCES;
block/bdev.c
1234
error = 0;
block/bdev.c
1237
return error;
block/bdev.c
303
int error = 0;
block/bdev.c
314
error = bdev->bd_holder_ops->freeze(bdev);
block/bdev.c
318
error = sync_blockdev(bdev);
block/bdev.c
321
if (error)
block/bdev.c
325
return error;
block/bdev.c
339
int error = -EINVAL, nr_freeze;
block/bdev.c
351
error = 0;
block/bdev.c
357
error = bdev->bd_holder_ops->thaw(bdev);
block/bdev.c
363
if (error)
block/bdev.c
367
return error;
block/bfq-cgroup.c
459
goto error;
block/bfq-cgroup.c
473
goto error;
block/bfq-cgroup.c
478
error:
block/bio.c
1531
int error;
block/bio.c
1539
error = submit_bio_wait(&bio);
block/bio.c
1541
return error;
block/blk-core.c
396
int error;
block/blk-core.c
407
error = q->id;
block/blk-core.c
413
error = -ENOMEM;
block/blk-core.c
417
error = blk_set_default_limits(lim);
block/blk-core.c
418
if (error)
block/blk-core.c
447
error = percpu_ref_init(&q->q_usage_counter,
block/blk-core.c
450
if (error)
block/blk-core.c
476
return ERR_PTR(error);
block/blk-flush.c
150
unsigned int seq, blk_status_t error)
block/blk-flush.c
160
if (likely(!error))
block/blk-flush.c
191
blk_mq_end_request(rq, error);
block/blk-flush.c
202
blk_status_t error,
block/blk-flush.c
215
fq->rq_status = error;
block/blk-flush.c
228
error = fq->rq_status;
block/blk-flush.c
251
blk_flush_complete_seq(rq, fq, seq, error);
block/blk-flush.c
339
blk_status_t error,
block/blk-flush.c
364
blk_flush_complete_seq(rq, fq, REQ_FSEQ_DATA, error);
block/blk-mq-dma.c
112
int error;
block/blk-mq-dma.c
121
error = dma_iova_link(dma_dev, state, vec->paddr, mapped,
block/blk-mq-dma.c
123
if (error)
block/blk-mq-dma.c
128
error = dma_iova_sync(dma_dev, state, 0, mapped);
block/blk-mq-dma.c
129
if (error)
block/blk-mq-dma.c
136
iter->status = errno_to_blk_status(error);
block/blk-mq.c
1159
inline void __blk_mq_end_request(struct request *rq, blk_status_t error)
block/blk-mq.c
1168
if (rq->end_io(rq, error, NULL) == RQ_END_IO_FREE)
block/blk-mq.c
1176
void blk_mq_end_request(struct request *rq, blk_status_t error)
block/blk-mq.c
1178
if (blk_update_request(rq, error, blk_rq_bytes(rq)))
block/blk-mq.c
1180
__blk_mq_end_request(rq, error);
block/blk-mq.c
954
bool blk_update_request(struct request *req, blk_status_t error,
block/blk-mq.c
961
trace_block_rq_complete(req, error, nr_bytes);
block/blk-mq.c
967
error == BLK_STS_OK)
block/blk-mq.c
977
if (unlikely(error && !blk_rq_is_passthrough(req) && !quiet) &&
block/blk-mq.c
979
blk_print_req_error(req, error);
block/blk-mq.c
980
trace_block_rq_error(req, error, nr_bytes);
block/blk-mq.c
990
if (unlikely(error))
block/blk-mq.c
991
bio->bi_status = error;
block/blk-mq.c
995
} else if (bio_is_zone_append(bio) && error == BLK_STS_OK) {
block/blk-settings.c
561
int error;
block/blk-settings.c
565
error = blk_validate_limits(lim);
block/blk-settings.c
566
if (error)
block/blk-settings.c
572
error = -EINVAL;
block/blk-settings.c
582
return error;
block/blk-zoned.c
903
int error;
block/blk-zoned.c
905
error = blkdev_do_report_zones(bdev, sector, 1, &args);
block/blk-zoned.c
906
if (error < 0)
block/blk-zoned.c
907
return error;
block/blk-zoned.c
908
if (error == 0)
block/elevator.c
415
ssize_t error = -ENODEV;
block/elevator.c
423
error = entry->show(e, page);
block/elevator.c
425
return error;
block/elevator.c
434
ssize_t error = -ENODEV;
block/elevator.c
442
error = entry->store(e, page, length);
block/elevator.c
444
return error;
block/elevator.c
461
int error;
block/elevator.c
463
error = kobject_add(&e->kobj, &q->disk->queue_kobj, "iosched");
block/elevator.c
464
if (!error) {
block/elevator.c
483
return error;
block/fops.c
557
int error;
block/fops.c
559
error = blkdev_iomap_begin(wpc->inode, offset, isize - offset,
block/fops.c
561
if (error)
block/fops.c
562
return error;
block/fops.c
617
int error;
block/fops.c
619
error = file_write_and_wait_range(filp, start, end);
block/fops.c
620
if (error)
block/fops.c
621
return error;
block/fops.c
628
error = blkdev_issue_flush(bdev);
block/fops.c
629
if (error == -EOPNOTSUPP)
block/fops.c
630
error = 0;
block/fops.c
632
return error;
block/fops.c
876
int error;
block/fops.c
922
error = -EOPNOTSUPP;
block/fops.c
930
error = truncate_bdev_range(bdev, file_to_blk_mode(file), start, end);
block/fops.c
931
if (error)
block/fops.c
934
error = blkdev_issue_zeroout(bdev, start >> SECTOR_SHIFT,
block/fops.c
939
return error;
block/genhd.c
1000
if (unlikely(error))
block/genhd.c
1001
return error;
block/genhd.c
895
int error;
block/genhd.c
900
error = request_module("block-major-%d-%d", MAJOR(devt), MINOR(devt));
block/genhd.c
902
if (error > 0)
block/genhd.c
903
error = request_module("block-major-%d", MAJOR(devt));
block/genhd.c
904
if (!error)
block/genhd.c
997
int error;
block/genhd.c
999
error = class_register(&block_class);
block/sed-opal.c
1172
int error;
block/sed-opal.c
1176
error = response_parse(dev->resp, IO_BUFFER_LENGTH, &dev->parsed);
block/sed-opal.c
1177
if (error) {
block/sed-opal.c
1179
return error;
block/sed-opal.c
1215
int error;
block/sed-opal.c
1217
error = parse_and_check_status(dev);
block/sed-opal.c
1218
if (error)
block/sed-opal.c
1219
return error;
block/sed-opal.c
1357
int error;
block/sed-opal.c
1359
error = parse_and_check_status(dev);
block/sed-opal.c
1360
if (error)
block/sed-opal.c
1361
return error;
block/sed-opal.c
259
static const char *opal_error_to_human(int error)
block/sed-opal.c
261
if (error == 0x3f)
block/sed-opal.c
264
if (error >= ARRAY_SIZE(opal_errors) || error < 0)
block/sed-opal.c
267
return opal_errors[error];
block/sed-opal.c
349
goto error;
block/sed-opal.c
360
goto error;
block/sed-opal.c
365
goto error;
block/sed-opal.c
368
error:
block/sed-opal.c
522
int error = step->fn(dev, step->data);
block/sed-opal.c
524
if (error) {
block/sed-opal.c
526
stepIndex, step->fn, error,
block/sed-opal.c
527
opal_error_to_human(error));
block/sed-opal.c
530
return error;
block/sed-opal.c
537
int error;
block/sed-opal.c
540
error = opal_discovery0_step(dev);
block/sed-opal.c
541
if (error)
block/sed-opal.c
542
return error;
block/sed-opal.c
545
error = execute_step(dev, &steps[state], state);
block/sed-opal.c
546
if (error)
block/sed-opal.c
564
return error;
certs/system_keyring.c
326
goto error;
certs/system_keyring.c
331
goto error;
certs/system_keyring.c
336
goto error;
certs/system_keyring.c
356
goto error;
certs/system_keyring.c
363
goto error;
certs/system_keyring.c
373
goto error;
certs/system_keyring.c
379
error:
crypto/asymmetric_keys/pkcs7_verify.c
101
goto error;
crypto/asymmetric_keys/pkcs7_verify.c
125
goto error;
crypto/asymmetric_keys/pkcs7_verify.c
130
error:
crypto/asymmetric_keys/pkcs7_verify.c
75
goto error;
crypto/asymmetric_keys/pkcs7_verify.c
86
goto error;
crypto/asymmetric_keys/pkcs7_verify.c
93
goto error;
crypto/asymmetric_keys/pkcs8_parser.c
108
goto error;
crypto/asymmetric_keys/pkcs8_parser.c
129
error:
crypto/asymmetric_keys/verify_pefile.c
359
goto error;
crypto/asymmetric_keys/verify_pefile.c
363
goto error;
crypto/asymmetric_keys/verify_pefile.c
368
goto error;
crypto/asymmetric_keys/verify_pefile.c
382
error:
crypto/asymmetric_keys/verify_pefile.c
443
goto error;
crypto/asymmetric_keys/verify_pefile.c
453
error:
crypto/asymmetric_keys/x509_public_key.c
80
goto error;
crypto/asymmetric_keys/x509_public_key.c
85
goto error;
crypto/asymmetric_keys/x509_public_key.c
95
error:
crypto/krb5/rfc3961_simplified.c
576
goto error;
crypto/krb5/rfc3961_simplified.c
583
goto error;
crypto/krb5/rfc3961_simplified.c
595
goto error;
crypto/krb5/rfc3961_simplified.c
599
error:
crypto/krb5/rfc3961_simplified.c
640
goto error;
crypto/krb5/rfc3961_simplified.c
647
error:
crypto/krb5/rfc3961_simplified.c
681
goto error;
crypto/krb5/rfc3961_simplified.c
686
goto error;
crypto/krb5/rfc3961_simplified.c
691
goto error;
crypto/krb5/rfc3961_simplified.c
696
goto error;
crypto/krb5/rfc3961_simplified.c
702
goto error;
crypto/krb5/rfc3961_simplified.c
706
error:
crypto/krb5/rfc3961_simplified.c
750
goto error;
crypto/krb5/rfc3961_simplified.c
755
goto error;
crypto/krb5/rfc3961_simplified.c
764
goto error;
crypto/krb5/rfc3961_simplified.c
768
goto error;
crypto/krb5/rfc3961_simplified.c
775
error:
crypto/krb5/rfc6803_camellia.c
101
error:
crypto/krb5/rfc6803_camellia.c
79
goto error;
crypto/krb5/rfc6803_camellia.c
91
goto error;
crypto/krb5/rfc6803_camellia.c
94
goto error;
crypto/krb5/rfc8009_aes2.c
102
error:
crypto/krb5/rfc8009_aes2.c
213
goto error;
crypto/krb5/rfc8009_aes2.c
220
goto error;
crypto/krb5/rfc8009_aes2.c
235
goto error;
crypto/krb5/rfc8009_aes2.c
239
error:
crypto/krb5/rfc8009_aes2.c
291
goto error;
crypto/krb5/rfc8009_aes2.c
298
error:
crypto/krb5/rfc8009_aes2.c
72
goto error;
crypto/krb5/rfc8009_aes2.c
90
goto error;
crypto/krb5/rfc8009_aes2.c
98
goto error;
crypto/mldsa.c
178
goto error;
crypto/mldsa.c
182
error:
drivers/accel/amdxdna/amdxdna_mailbox_helper.c
28
cb_arg->error = -EINVAL;
drivers/accel/amdxdna/amdxdna_mailbox_helper.c
36
ret = cb_arg->error;
drivers/accel/amdxdna/amdxdna_mailbox_helper.c
60
return hdl->error;
drivers/accel/amdxdna/amdxdna_mailbox_helper.h
18
int error;
drivers/accel/amdxdna/amdxdna_mailbox_helper.h
26
.error = 0, \
drivers/accel/drm_accel.c
195
goto error;
drivers/accel/drm_accel.c
202
error:
drivers/accel/ethosu/ethosu_job.c
190
if (unlikely(job->base.s_fence->finished.error))
drivers/accel/habanalabs/common/command_submission.c
100
node->error = error;
drivers/accel/habanalabs/common/command_submission.c
109
u64 seq, ktime_t *ts, int *error)
drivers/accel/habanalabs/common/command_submission.c
1104
pend->fence.error = -EIO;
drivers/accel/habanalabs/common/command_submission.c
1153
cs->fence->error = -EIO;
drivers/accel/habanalabs/common/command_submission.c
119
*error = node->error;
drivers/accel/habanalabs/common/command_submission.c
244
fence->error = 0;
drivers/accel/habanalabs/common/command_submission.c
2662
int rc = 0, error;
drivers/accel/habanalabs/common/command_submission.c
2674
if (!hl_pop_cs_outcome(&ctx->outcome_store, seq, ×tamp_kt, &error)) {
drivers/accel/habanalabs/common/command_submission.c
2698
error = fence->error;
drivers/accel/habanalabs/common/command_submission.c
2712
else if (error == -ETIMEDOUT || error == -EIO)
drivers/accel/habanalabs/common/command_submission.c
2713
rc = error;
drivers/accel/habanalabs/common/command_submission.c
3453
if (pend->fence.error == -EIO) {
drivers/accel/habanalabs/common/command_submission.c
3456
pend->fence.error);
drivers/accel/habanalabs/common/command_submission.c
3584
} else if (pend->fence.error) {
drivers/accel/habanalabs/common/command_submission.c
3587
pend->fence.error);
drivers/accel/habanalabs/common/command_submission.c
59
u64 seq, ktime_t ts, int error)
drivers/accel/habanalabs/common/command_submission.c
784
cs->fence->error = -ETIMEDOUT;
drivers/accel/habanalabs/common/command_submission.c
786
cs->fence->error = -EIO;
drivers/accel/habanalabs/common/command_submission.c
788
cs->fence->error = -EBUSY;
drivers/accel/habanalabs/common/command_submission.c
800
cs->fence->timestamp, cs->fence->error);
drivers/accel/habanalabs/common/habanalabs.h
1871
int error;
drivers/accel/habanalabs/common/habanalabs.h
849
int error;
drivers/accel/qaic/qaic_drv.c
629
static pci_ers_result_t qaic_pci_error_detected(struct pci_dev *pdev, pci_channel_state_t error)
drivers/accel/qaic/sahara.c
747
goto error;
drivers/accel/qaic/sahara.c
755
goto error;
drivers/accel/qaic/sahara.c
763
goto error;
drivers/accel/qaic/sahara.c
784
error:
drivers/accel/rocket/rocket_job.c
295
if (unlikely(job->base.s_fence->finished.error))
drivers/acpi/acpi_lpit.c
31
int error;
drivers/acpi/acpi_lpit.c
33
error = acpi_os_read_iomem(residency_info_mem.iomem_addr, &count,
drivers/acpi/acpi_lpit.c
35
if (error)
drivers/acpi/acpi_lpit.c
36
return error;
drivers/acpi/acpi_video.c
1855
int error;
drivers/acpi/acpi_video.c
1860
error = unregister_pm_notifier(&video->pm_nb);
drivers/acpi/acpi_video.c
1869
return error;
drivers/acpi/acpi_video.c
1890
int error;
drivers/acpi/acpi_video.c
1894
error = -ENOMEM;
drivers/acpi/acpi_video.c
1898
error = acpi_video_bus_start_devices(video);
drivers/acpi/acpi_video.c
1899
if (error)
drivers/acpi/acpi_video.c
1920
error = input_register_device(input);
drivers/acpi/acpi_video.c
1921
if (error)
drivers/acpi/acpi_video.c
1937
return error;
drivers/acpi/acpi_video.c
1987
int error;
drivers/acpi/acpi_video.c
2029
error = acpi_video_bus_check(video);
drivers/acpi/acpi_video.c
2030
if (error)
drivers/acpi/acpi_video.c
2036
error = acpi_video_bus_get_devices(video, device);
drivers/acpi/acpi_video.c
2037
if (error)
drivers/acpi/acpi_video.c
2070
error = acpi_video_bus_add_notify_handler(video, &aux_dev->dev);
drivers/acpi/acpi_video.c
2071
if (error)
drivers/acpi/acpi_video.c
2074
error = acpi_dev_install_notify_handler(device, ACPI_DEVICE_NOTIFY,
drivers/acpi/acpi_video.c
2076
if (error)
drivers/acpi/acpi_video.c
2095
return error;
drivers/acpi/arm64/gtdt.c
244
goto error;
drivers/acpi/arm64/gtdt.c
250
goto error;
drivers/acpi/arm64/gtdt.c
257
goto error;
drivers/acpi/arm64/gtdt.c
267
goto error;
drivers/acpi/arm64/gtdt.c
286
error:
drivers/acpi/button.c
541
int error = 0;
drivers/acpi/button.c
557
error = -ENOMEM;
drivers/acpi/button.c
587
error = -ENODEV;
drivers/acpi/button.c
590
if (!error)
drivers/acpi/button.c
591
error = acpi_button_add_fs(button);
drivers/acpi/button.c
593
if (error) {
drivers/acpi/button.c
622
error = input_register_device(input);
drivers/acpi/button.c
623
if (error) {
drivers/acpi/button.c
648
error = -ENODEV;
drivers/acpi/button.c
670
return error;
drivers/acpi/device_pm.c
1018
int error;
drivers/acpi/device_pm.c
1024
error = acpi_device_wakeup_enable(adev, target_state);
drivers/acpi/device_pm.c
1025
if (error)
drivers/acpi/device_pm.c
1031
error = acpi_dev_pm_low_power(dev, adev, target_state);
drivers/acpi/device_pm.c
1032
if (error && wakeup)
drivers/acpi/device_pm.c
1035
return error;
drivers/acpi/device_pm.c
104
error = acpi_dev_pm_explicit_get(device, &psc);
drivers/acpi/device_pm.c
1049
int error;
drivers/acpi/device_pm.c
105
if (error)
drivers/acpi/device_pm.c
1054
error = acpi_dev_pm_full_power(adev);
drivers/acpi/device_pm.c
1056
return error;
drivers/acpi/device_pm.c
106
return error;
drivers/acpi/device_pm.c
79
int error;
drivers/acpi/device_pm.c
853
int error = 0;
drivers/acpi/device_pm.c
866
error = acpi_enable_wakeup_device_power(adev, target_state);
drivers/acpi/device_pm.c
867
if (error) {
drivers/acpi/device_pm.c
881
error = -EIO;
drivers/acpi/device_pm.c
896
return error;
drivers/acpi/device_pm.c
951
int error;
drivers/acpi/device_pm.c
968
error = __acpi_device_wakeup_enable(adev, acpi_target_system_state());
drivers/acpi/device_pm.c
969
if (!error)
drivers/acpi/device_pm.c
97
error = acpi_power_get_inferred_state(device, &result);
drivers/acpi/device_pm.c
972
return error;
drivers/acpi/device_pm.c
98
if (error)
drivers/acpi/device_pm.c
99
return error;
drivers/acpi/event.c
170
int error;
drivers/acpi/event.c
176
error = acpi_event_genetlink_init();
drivers/acpi/event.c
177
if (error)
drivers/acpi/osl.c
746
int error;
drivers/acpi/osl.c
761
error = acpi_os_read_iomem(virt_addr, value, width);
drivers/acpi/osl.c
762
BUG_ON(error);
drivers/acpi/resource.c
888
int error;
drivers/acpi/resource.c
898
c->error = -ENOMEM;
drivers/acpi/resource.c
921
c->error = ret;
drivers/acpi/resource.c
965
c.error = 0;
drivers/acpi/resource.c
970
return c.error ? c.error : -EIO;
drivers/acpi/riscv/cppc.c
114
return (data.ret.error) ? sbi_err_map_linux_errno(data.ret.error) : 0;
drivers/acpi/riscv/cppc.c
122
return data.ret.error;
drivers/acpi/riscv/cppc.c
144
return (data.ret.error) ? sbi_err_map_linux_errno(data.ret.error) : 0;
drivers/acpi/riscv/cppc.c
151
return data.ret.error;
drivers/acpi/riscv/cppc.c
73
data->ret.error = 0;
drivers/acpi/riscv/cppc.c
76
data->ret.error = -EINVAL;
drivers/acpi/riscv/cppc.c
85
data->ret.error = -EINVAL;
drivers/acpi/scan.c
102
int error;
drivers/acpi/scan.c
104
error = acpi_scan_add_handler(handler);
drivers/acpi/scan.c
105
if (error)
drivers/acpi/scan.c
106
return error;
drivers/acpi/scan.c
334
int error = acpi_scan_try_to_offline(device);
drivers/acpi/scan.c
335
if (error)
drivers/acpi/scan.c
336
return error;
drivers/acpi/scan.c
445
int error = -ENODEV;
drivers/acpi/scan.c
459
error = dock_notify(adev, src);
drivers/acpi/scan.c
461
error = acpi_generic_hotplug_event(adev, src);
drivers/acpi/scan.c
473
error = notify(adev, src);
drivers/acpi/scan.c
477
switch (error) {
drivers/acpi/sleep.c
1007
int error;
drivers/acpi/sleep.c
1015
error = acpi_sleep_prepare(ACPI_STATE_S4);
drivers/acpi/sleep.c
1016
if (error)
drivers/acpi/sleep.c
1017
return error;
drivers/acpi/sleep.c
1020
error = suspend_nvs_alloc();
drivers/acpi/sleep.c
1021
if (error)
drivers/acpi/sleep.c
1022
return error;
drivers/acpi/sleep.c
459
int error = acpi_sleep_prepare(acpi_target_sleep_state);
drivers/acpi/sleep.c
460
if (error)
drivers/acpi/sleep.c
463
return error;
drivers/acpi/sleep.c
472
int error = __acpi_pm_prepare();
drivers/acpi/sleep.c
473
if (!error)
drivers/acpi/sleep.c
474
error = acpi_pm_pre_suspend();
drivers/acpi/sleep.c
476
return error;
drivers/acpi/sleep.c
573
int error;
drivers/acpi/sleep.c
575
error = (nvs_nosave || nvs_nosave_s3) ? 0 : suspend_nvs_alloc();
drivers/acpi/sleep.c
576
if (error)
drivers/acpi/sleep.c
577
return error;
drivers/acpi/sleep.c
602
int error;
drivers/acpi/sleep.c
614
error = acpi_suspend_lowlevel();
drivers/acpi/sleep.c
615
if (error)
drivers/acpi/sleep.c
616
return error;
drivers/acpi/sleep.c
706
int error = acpi_suspend_begin(pm_state);
drivers/acpi/sleep.c
707
if (!error)
drivers/acpi/sleep.c
708
error = __acpi_pm_prepare();
drivers/acpi/sleep.c
710
return error;
drivers/acpi/sleep.c
738
int error;
drivers/acpi/sleep.c
740
error = enable_irq_wake(acpi_sci_irq);
drivers/acpi/sleep.c
741
if (error)
drivers/acpi/sleep.c
743
acpi_sci_irq, error);
drivers/acpi/sleep.c
937
int error = suspend_nvs_alloc();
drivers/acpi/sleep.c
938
if (error)
drivers/acpi/sleep.c
939
return error;
drivers/acpi/sysfs.c
981
int error;
drivers/acpi/sysfs.c
986
error = kobject_init_and_add(&hotplug->kobj,
drivers/acpi/sysfs.c
988
if (error) {
drivers/acpi/thermal_lib.c
76
static int thermal_temp(int error, int temp_decik, int *ret_temp)
drivers/acpi/thermal_lib.c
78
if (error)
drivers/acpi/thermal_lib.c
79
return error;
drivers/android/binder.c
2952
uint32_t *error)
drivers/android/binder.c
2964
*error = BR_DEAD_REPLY;
drivers/android/binder.c
3002
u32 error)
drivers/android/binder.c
3012
trace_binder_netlink_report(context, t, data_size, error);
drivers/android/binder.c
3022
if (nla_put_u32(skb, BINDER_A_REPORT_ERROR, error) ||
drivers/android/binder.c
4555
int error;
drivers/android/binder.c
4560
error = binder_request_freeze_notification(proc, thread,
drivers/android/binder.c
4562
if (error)
drivers/android/binder.c
4563
return error;
drivers/android/binder.c
4568
int error;
drivers/android/binder.c
4573
error = binder_clear_freeze_notification(proc, thread, &handle_cookie);
drivers/android/binder.c
4574
if (error)
drivers/android/binder.c
4575
return error;
drivers/android/binder.c
4580
int error;
drivers/android/binder.c
4586
error = binder_freeze_notification_done(proc, thread, cookie);
drivers/android/binder.c
4587
if (error)
drivers/android/binder.c
4588
return error;
drivers/android/binder.c
6137
int error;
drivers/android/binder.c
6139
error = PTR_ERR(binderfs_entry);
drivers/android/binder.c
6141
strbuf, error);
drivers/android/binder_trace.h
409
u32 error),
drivers/android/binder_trace.h
410
TP_ARGS(context, t, data_size, error),
drivers/android/binder_trace.h
413
__field(u32, error)
drivers/android/binder_trace.h
425
__entry->error = error;
drivers/android/binder_trace.h
438
__entry->context, __entry->error, __entry->is_reply,
drivers/ata/libahci.c
2118
qc->result_tf.error = fis[3];
drivers/ata/libahci.c
2139
u8 status, error;
drivers/ata/libahci.c
2147
error = fis[3];
drivers/ata/libahci.c
2156
qc->result_tf.error = error;
drivers/ata/libahci.c
2181
qc->result_tf.error = fis[3];
drivers/ata/libata-acpi.c
624
tf->error = gtf->tf[0]; /* 0x1f1 */
drivers/ata/libata-acpi.c
757
rtf.status, rtf.error);
drivers/ata/libata-acpi.c
767
err_mask, rtf.status, rtf.error);
drivers/ata/libata-core.c
1247
if (err_mask == AC_ERR_DEV && (tf.error & ATA_ABORTED))
drivers/ata/libata-core.c
1311
(tf.error & (ATA_ABORTED | ATA_IDNF)))
drivers/ata/libata-core.c
1840
if ((err_mask == AC_ERR_DEV) && (tf.error & ATA_ABORTED)) {
drivers/ata/libata-core.c
4737
if (err_mask == AC_ERR_DEV && (tf.error & ATA_ABORTED))
drivers/ata/libata-eh.c
1434
*r_sense_key = tf.error >> 4;
drivers/ata/libata-eh.c
1655
u8 stat = tf->status, err = tf->error;
drivers/ata/libata-eh.c
1699
qc->result_tf.error >> 4);
drivers/ata/libata-eh.c
2749
res->status, res->error, res->nsect,
drivers/ata/libata-eh.c
2771
(res->error & (ATA_ICRC | ATA_UNC | ATA_AMNF | ATA_IDNF |
drivers/ata/libata-eh.c
2774
res->error & ATA_ICRC ? "ICRC " : "",
drivers/ata/libata-eh.c
2775
res->error & ATA_UNC ? "UNC " : "",
drivers/ata/libata-eh.c
2776
res->error & ATA_AMNF ? "AMNF " : "",
drivers/ata/libata-eh.c
2777
res->error & ATA_IDNF ? "IDNF " : "",
drivers/ata/libata-eh.c
2778
res->error & ATA_ABORTED ? "ABRT " : "");
drivers/ata/libata-sata.c
1507
tf->error = buf[3];
drivers/ata/libata-sata.c
1717
qc->result_tf.error = 0;
drivers/ata/libata-sata.c
197
tf->error = fis[3];
drivers/ata/libata-scsi.c
1013
ata_to_sense_error(tf->status, tf->error,
drivers/ata/libata-scsi.c
1022
tf->error, tf->status, qc->err_mask);
drivers/ata/libata-scsi.c
279
desc[3] = tf->error;
drivers/ata/libata-scsi.c
301
sb[3] = tf->error;
drivers/ata/libata-scsi.c
491
goto error;
drivers/ata/libata-scsi.c
521
goto error;
drivers/ata/libata-scsi.c
548
goto error;
drivers/ata/libata-scsi.c
554
error:
drivers/ata/libata-scsi.c
609
goto error;
drivers/ata/libata-scsi.c
639
goto error;
drivers/ata/libata-scsi.c
642
error:
drivers/ata/libata-scsi.c
952
ata_to_sense_error(tf->status, tf->error,
drivers/ata/libata-sff.c
1759
err = tf.error;
drivers/ata/libata-sff.c
396
tf->error = ioread8(ioaddr->error_addr);
drivers/ata/libata-transport.c
282
int error;
drivers/ata/libata-transport.c
297
error = device_add(dev);
drivers/ata/libata-transport.c
298
if (error) {
drivers/ata/libata-transport.c
307
error = transport_add_device(dev);
drivers/ata/libata-transport.c
308
if (error)
drivers/ata/libata-transport.c
312
error = ata_tlink_add(&ap->link);
drivers/ata/libata-transport.c
313
if (error) {
drivers/ata/libata-transport.c
326
return error;
drivers/ata/libata-transport.c
573
int error;
drivers/ata/libata-transport.c
585
error = device_add(dev);
drivers/ata/libata-transport.c
586
if (error) {
drivers/ata/libata-transport.c
588
return error;
drivers/ata/libata-transport.c
591
error = transport_add_device(dev);
drivers/ata/libata-transport.c
592
if (error) {
drivers/ata/libata-transport.c
595
return error;
drivers/ata/libata-transport.c
694
int error;
drivers/ata/libata-transport.c
706
error = device_add(dev);
drivers/ata/libata-transport.c
707
if (error)
drivers/ata/libata-transport.c
710
error = transport_add_device(dev);
drivers/ata/libata-transport.c
711
if (error)
drivers/ata/libata-transport.c
716
error = ata_tdev_add(ata_dev);
drivers/ata/libata-transport.c
717
if (error)
drivers/ata/libata-transport.c
730
return error;
drivers/ata/libata-transport.c
830
int error;
drivers/ata/libata-transport.c
832
error = transport_class_register(&ata_link_class);
drivers/ata/libata-transport.c
833
if (error)
drivers/ata/libata-transport.c
835
error = transport_class_register(&ata_port_class);
drivers/ata/libata-transport.c
836
if (error)
drivers/ata/libata-transport.c
838
error = transport_class_register(&ata_dev_class);
drivers/ata/libata-transport.c
839
if (error)
drivers/ata/libata-transport.c
848
return error;
drivers/ata/pata_ep93xx.c
419
tf->error = ep93xx_pata_read_reg(drv_data, IDECTRL_ADDR_FEATURE);
drivers/ata/pata_ns87415.c
268
tf->error = ioread8(ioaddr->error_addr);
drivers/ata/pata_octeon_cf.c
386
tf->error = blob >> 8;
drivers/ata/pata_parport/pata_parport.c
256
tf->error = pi->proto->read_regr(pi, 0, ATA_REG_ERR);
drivers/ata/pata_parport/pata_parport.c
587
int error;
drivers/ata/pata_parport/pata_parport.c
593
error = driver_register(&pr->driver);
drivers/ata/pata_parport/pata_parport.c
594
if (error)
drivers/ata/pata_parport/pata_parport.c
595
return error;
drivers/ata/pata_parport/pata_parport.c
598
error = idr_alloc(&protocols, pr, 0, 0, GFP_KERNEL);
drivers/ata/pata_parport/pata_parport.c
599
if (error < 0) {
drivers/ata/pata_parport/pata_parport.c
602
return error;
drivers/ata/pata_parport/pata_parport.c
775
int error;
drivers/ata/pata_parport/pata_parport.c
777
error = bus_register(&pata_parport_bus_type);
drivers/ata/pata_parport/pata_parport.c
778
if (error) {
drivers/ata/pata_parport/pata_parport.c
779
pr_err("failed to register pata_parport bus, error: %d\n", error);
drivers/ata/pata_parport/pata_parport.c
780
return error;
drivers/ata/pata_parport/pata_parport.c
783
error = device_register(&pata_parport_bus);
drivers/ata/pata_parport/pata_parport.c
784
if (error) {
drivers/ata/pata_parport/pata_parport.c
785
pr_err("failed to register pata_parport bus, error: %d\n", error);
drivers/ata/pata_parport/pata_parport.c
789
error = bus_create_file(&pata_parport_bus_type, &bus_attr_new_device);
drivers/ata/pata_parport/pata_parport.c
790
if (error) {
drivers/ata/pata_parport/pata_parport.c
791
pr_err("unable to create sysfs file, error: %d\n", error);
drivers/ata/pata_parport/pata_parport.c
795
error = bus_create_file(&pata_parport_bus_type, &bus_attr_delete_device);
drivers/ata/pata_parport/pata_parport.c
796
if (error) {
drivers/ata/pata_parport/pata_parport.c
797
pr_err("unable to create sysfs file, error: %d\n", error);
drivers/ata/pata_parport/pata_parport.c
801
error = parport_register_driver(&pata_parport_driver);
drivers/ata/pata_parport/pata_parport.c
802
if (error) {
drivers/ata/pata_parport/pata_parport.c
803
pr_err("unable to register parport driver, error: %d\n", error);
drivers/ata/pata_parport/pata_parport.c
817
return error;
drivers/ata/sata_inic162x.c
193
u8 error; /* ATA Error */
drivers/ata/sata_inic162x.c
560
tf->error = readb(port_base + PORT_TF_FEATURE);
drivers/ata/sata_inic162x.c
585
rtf->error = tf.error;
drivers/ata/sata_rcar.c
398
tf->error = ioread32(ioaddr->error_addr);
drivers/ata/sata_svw.c
198
u16 nsect, lbal, lbam, lbah, error;
drivers/ata/sata_svw.c
202
error = readw(ioaddr->error_addr);
drivers/ata/sata_svw.c
208
tf->error = error;
drivers/ata/sata_svw.c
215
tf->hob_feature = error >> 8;
drivers/ata/sata_sx4.c
1164
int error, i;
drivers/ata/sata_sx4.c
1201
error = 1;
drivers/ata/sata_sx4.c
1205
error = 0;
drivers/ata/sata_sx4.c
1210
return error;
drivers/ata/sata_vsc.c
186
u16 nsect, lbal, lbam, lbah, error;
drivers/ata/sata_vsc.c
190
error = readw(ioaddr->error_addr);
drivers/ata/sata_vsc.c
196
tf->error = error;
drivers/ata/sata_vsc.c
203
tf->hob_feature = error >> 8;
drivers/atm/atmtcp.c
123
int error;
drivers/atm/atmtcp.c
138
error = atmtcp_send_control(vcc,ATMTCP_CTRL_OPEN,&msg,ATM_VF_READY);
drivers/atm/atmtcp.c
139
if (error) return error;
drivers/atm/atmtcp.c
414
int error;
drivers/atm/atmtcp.c
416
error = atmtcp_create(itf,0,&dev);
drivers/atm/atmtcp.c
417
if (error) return error;
drivers/atm/atmtcp.c
51
int error = 0;
drivers/atm/atmtcp.c
77
error = -EUNATCH;
drivers/atm/atmtcp.c
85
return error;
drivers/atm/eni.c
1297
int error;
drivers/atm/eni.c
1340
error = comp_tx(eni_dev,&rate,tx->reserved,&pre,&res,unlimited);
drivers/atm/eni.c
1341
if (!error && txtp->min_pcr > rate) error = -EINVAL;
drivers/atm/eni.c
1342
if (!error && txtp->max_pcr && txtp->max_pcr != ATM_MAX_PCR &&
drivers/atm/eni.c
1343
txtp->max_pcr < rate) error = -EINVAL;
drivers/atm/eni.c
1344
if (!error && !ubr && rate > eni_dev->tx_bw+tx->reserved)
drivers/atm/eni.c
1345
error = -EINVAL;
drivers/atm/eni.c
1346
if (!error && set_rsv && !set_shp && rate < tx->shaping)
drivers/atm/eni.c
1347
error = -EINVAL;
drivers/atm/eni.c
1348
if (!error && !set_rsv && rate > tx->reserved && !ubr)
drivers/atm/eni.c
1349
error = -EINVAL;
drivers/atm/eni.c
1350
if (error) {
drivers/atm/eni.c
1355
return error;
drivers/atm/eni.c
1586
({ if (!error && !pci_error) { \
drivers/atm/eni.c
1591
({ if (!error && !pci_error) { \
drivers/atm/eni.c
1601
int error,failed,pci_error;
drivers/atm/eni.c
1605
error = pci_error = 0;
drivers/atm/eni.c
1608
for (i = 0; i < ESI_LEN && !error && !pci_error; i++) {
drivers/atm/eni.c
1640
if (failed) error = -EIO;
drivers/atm/eni.c
1662
if (!(tonga & SEPROM_DATA)) error = -EIO;
drivers/atm/eni.c
1679
error = -EIO;
drivers/atm/eni.c
1681
return error;
drivers/atm/eni.c
1707
int error,i,last;
drivers/atm/eni.c
1717
if ((error = pci_write_config_word(pci_dev,PCI_COMMAND,
drivers/atm/eni.c
1721
"(0x%02x)\n",dev->number,error);
drivers/atm/eni.c
1743
error = -EINVAL;
drivers/atm/eni.c
1771
error = -EINVAL;
drivers/atm/eni.c
1774
error = eni_dev->asic ? get_esi_asic(dev) : get_esi_fpga(dev,base);
drivers/atm/eni.c
1775
if (error)
drivers/atm/eni.c
1784
error = suni_init(dev);
drivers/atm/eni.c
1785
if (error)
drivers/atm/eni.c
1788
return error;
drivers/atm/eni.c
1809
int error;
drivers/atm/eni.c
1816
error = -EAGAIN;
drivers/atm/eni.c
1820
if ((error = pci_write_config_word(eni_dev->pci_dev,PCI_COMMAND,
drivers/atm/eni.c
1824
"master (0x%02x)\n",dev->number,error);
drivers/atm/eni.c
1827
if ((error = pci_write_config_byte(eni_dev->pci_dev,PCI_TONGA_CTRL,
drivers/atm/eni.c
1830
"(0x%02x)\n",dev->number,error);
drivers/atm/eni.c
1853
error = -ENOMEM;
drivers/atm/eni.c
1869
error = start_tx(dev);
drivers/atm/eni.c
1870
if (error) goto free_list;
drivers/atm/eni.c
1871
error = start_rx(dev);
drivers/atm/eni.c
1872
if (error) goto free_list;
drivers/atm/eni.c
1873
error = dev->phy->start(dev);
drivers/atm/eni.c
1874
if (error) goto free_list;
drivers/atm/eni.c
1889
return error;
drivers/atm/eni.c
1912
int error;
drivers/atm/eni.c
1931
if ((error = open_rx_first(vcc))) {
drivers/atm/eni.c
1933
return error;
drivers/atm/eni.c
1935
if ((error = open_tx_first(vcc))) {
drivers/atm/eni.c
1937
return error;
drivers/atm/eni.c
1941
if ((error = open_rx_second(vcc))) {
drivers/atm/eni.c
1943
return error;
drivers/atm/eni.c
1945
if ((error = open_tx_second(vcc))) {
drivers/atm/eni.c
1947
return error;
drivers/atm/eni.c
1960
int error,rate,rsv,shp;
drivers/atm/eni.c
1972
error = reserve_or_set_tx(vcc,&qos->txtp,rsv,shp);
drivers/atm/eni.c
1973
if (error) return error;
drivers/atm/fore200e.c
1795
int error;
drivers/atm/fore200e.c
1819
error = fore200e_set_oc3(fore200e, SUNI_MCT, mct_value, mct_mask);
drivers/atm/fore200e.c
1820
if (error == 0)
drivers/atm/fore200e.c
1823
return error;
drivers/atm/idt77252.c
2245
int error;
drivers/atm/idt77252.c
2291
error = idt77252_init_cbr(card, vc, vcc, qos);
drivers/atm/idt77252.c
2292
if (error) {
drivers/atm/idt77252.c
2295
return error;
drivers/atm/idt77252.c
2303
error = idt77252_init_ubr(card, vc, vcc, qos);
drivers/atm/idt77252.c
2304
if (error) {
drivers/atm/idt77252.c
2307
return error;
drivers/atm/idt77252.c
2391
int error;
drivers/atm/idt77252.c
2464
error = idt77252_init_tx(card, vc, vcc, &vcc->qos);
drivers/atm/idt77252.c
2465
if (error) {
drivers/atm/idt77252.c
2467
return error;
drivers/atm/idt77252.c
2472
error = idt77252_init_rx(card, vc, vcc, &vcc->qos);
drivers/atm/idt77252.c
2473
if (error) {
drivers/atm/idt77252.c
2475
return error;
drivers/atm/idt77252.c
2575
int error = 0;
drivers/atm/idt77252.c
2581
error = idt77252_init_tx(card, vc, vcc, qos);
drivers/atm/idt77252.c
2582
if (error)
drivers/atm/idt77252.c
2587
error = idt77252_init_cbr(card, vc, vcc, qos);
drivers/atm/idt77252.c
2588
if (error)
drivers/atm/idt77252.c
2593
error = idt77252_init_ubr(card, vc, vcc, qos);
drivers/atm/idt77252.c
2594
if (error)
drivers/atm/idt77252.c
2605
error = -EOPNOTSUPP;
drivers/atm/idt77252.c
2613
error = idt77252_init_rx(card, vc, vcc, qos);
drivers/atm/idt77252.c
2614
if (error)
drivers/atm/idt77252.c
2624
return error;
drivers/atm/idt77252.c
836
int error;
drivers/atm/idt77252.c
858
error = -EINVAL;
drivers/atm/idt77252.c
912
error = -EPROTONOSUPPORT;
drivers/atm/idt77252.c
933
return error;
drivers/atm/iphase.c
1062
int vci, error = 1;
drivers/atm/iphase.c
1073
error = readw(iadev->reass_ram+excpq_rd_ptr+2) & 0x0007;
drivers/atm/iphase.c
2288
int i, error;
drivers/atm/iphase.c
2293
error = pci_read_config_dword(iadev->pci, i * 4, &pci[i]);
drivers/atm/iphase.c
2294
if (error != PCIBIOS_SUCCESSFUL)
drivers/atm/iphase.c
2295
return error;
drivers/atm/iphase.c
2299
error = pci_write_config_dword(iadev->pci, i * 4, pci[i]);
drivers/atm/iphase.c
2300
if (error != PCIBIOS_SUCCESSFUL)
drivers/atm/iphase.c
2301
return error;
drivers/atm/iphase.c
2314
int error, i;
drivers/atm/iphase.c
2328
error = pci_read_config_word(iadev->pci, PCI_COMMAND, &command);
drivers/atm/iphase.c
2329
if (error) {
drivers/atm/iphase.c
2331
dev->number,error);
drivers/atm/iphase.c
2402
error = get_esi(dev);
drivers/atm/iphase.c
2403
if (error) {
drivers/atm/iphase.c
2405
return error;
drivers/atm/iphase.c
2504
int error;
drivers/atm/iphase.c
2512
error = -EAGAIN;
drivers/atm/iphase.c
2517
if ((error = pci_write_config_word(iadev->pci,
drivers/atm/iphase.c
2522
"master (0x%x)\n",dev->number, error);
drivers/atm/iphase.c
2523
error = -EIO;
drivers/atm/iphase.c
2557
error = tx_init(dev);
drivers/atm/iphase.c
2558
if (error)
drivers/atm/iphase.c
2560
error = rx_init(dev);
drivers/atm/iphase.c
2561
if (error)
drivers/atm/iphase.c
2580
error = suni_init(dev);
drivers/atm/iphase.c
2581
if (error)
drivers/atm/iphase.c
2584
error = dev->phy->start(dev);
drivers/atm/iphase.c
2585
if (error)
drivers/atm/iphase.c
2600
return error;
drivers/atm/iphase.c
2691
int error;
drivers/atm/iphase.c
2712
if ((error = open_rx(vcc)))
drivers/atm/iphase.c
2716
return error;
drivers/atm/iphase.c
2719
if ((error = open_tx(vcc)))
drivers/atm/iphase.c
2723
return error;
drivers/atm/iphase.h
846
u16 error;
drivers/atm/lanai.c
2134
goto error;
drivers/atm/lanai.c
2239
error:
drivers/atm/lanai.c
901
goto error; /* No ack seen */
drivers/atm/lanai.c
912
goto error; /* Spurious ack */
drivers/atm/lanai.c
920
error:
drivers/atm/nicstar.c
125
static void ns_init_card_error(ns_dev * card, int error);
drivers/atm/nicstar.c
184
unsigned int error;
drivers/atm/nicstar.c
189
error = ns_init_card(index, pcidev);
drivers/atm/nicstar.c
190
if (error) {
drivers/atm/nicstar.c
277
unsigned error = 0; /* Initialized to remove compile warning */
drivers/atm/nicstar.c
281
error = pci_register_driver(&nicstar_driver);
drivers/atm/nicstar.c
291
if (!error) {
drivers/atm/nicstar.c
297
return error;
drivers/atm/nicstar.c
353
unsigned error;
drivers/atm/nicstar.c
360
error = 0;
drivers/atm/nicstar.c
364
error = 2;
drivers/atm/nicstar.c
365
ns_init_card_error(card, error);
drivers/atm/nicstar.c
366
return error;
drivers/atm/nicstar.c
371
error = 2;
drivers/atm/nicstar.c
372
ns_init_card_error(card, error);
drivers/atm/nicstar.c
373
return error;
drivers/atm/nicstar.c
381
error = 2;
drivers/atm/nicstar.c
382
ns_init_card_error(card, error);
drivers/atm/nicstar.c
383
return error;
drivers/atm/nicstar.c
398
error = 3;
drivers/atm/nicstar.c
399
ns_init_card_error(card, error);
drivers/atm/nicstar.c
400
return error;
drivers/atm/nicstar.c
408
error = 6;
drivers/atm/nicstar.c
409
ns_init_card_error(card, error);
drivers/atm/nicstar.c
410
return error;
drivers/atm/nicstar.c
425
error = 7;
drivers/atm/nicstar.c
426
ns_init_card_error(card, error);
drivers/atm/nicstar.c
427
return error;
drivers/atm/nicstar.c
483
error = 8;
drivers/atm/nicstar.c
484
ns_init_card_error(card, error);
drivers/atm/nicstar.c
485
return error;
drivers/atm/nicstar.c
536
error = 9;
drivers/atm/nicstar.c
537
ns_init_card_error(card, error);
drivers/atm/nicstar.c
538
return error;
drivers/atm/nicstar.c
547
error = 10;
drivers/atm/nicstar.c
548
ns_init_card_error(card, error);
drivers/atm/nicstar.c
549
return error;
drivers/atm/nicstar.c
566
error = 11;
drivers/atm/nicstar.c
567
ns_init_card_error(card, error);
drivers/atm/nicstar.c
568
return error;
drivers/atm/nicstar.c
585
error = 12;
drivers/atm/nicstar.c
586
ns_init_card_error(card, error);
drivers/atm/nicstar.c
587
return error;
drivers/atm/nicstar.c
665
error = 13;
drivers/atm/nicstar.c
666
ns_init_card_error(card, error);
drivers/atm/nicstar.c
667
return error;
drivers/atm/nicstar.c
684
error = 14;
drivers/atm/nicstar.c
685
ns_init_card_error(card, error);
drivers/atm/nicstar.c
686
return error;
drivers/atm/nicstar.c
705
error = 14;
drivers/atm/nicstar.c
706
ns_init_card_error(card, error);
drivers/atm/nicstar.c
707
return error;
drivers/atm/nicstar.c
720
error = 15;
drivers/atm/nicstar.c
721
ns_init_card_error(card, error);
drivers/atm/nicstar.c
722
return error;
drivers/atm/nicstar.c
735
error = 15;
drivers/atm/nicstar.c
736
ns_init_card_error(card, error);
drivers/atm/nicstar.c
737
return error;
drivers/atm/nicstar.c
750
error = 16;
drivers/atm/nicstar.c
751
ns_init_card_error(card, error);
drivers/atm/nicstar.c
752
return error;
drivers/atm/nicstar.c
772
error = 17;
drivers/atm/nicstar.c
773
ns_init_card_error(card, error);
drivers/atm/nicstar.c
774
return error;
drivers/atm/nicstar.c
814
return error;
drivers/atm/nicstar.c
817
static void ns_init_card_error(ns_dev *card, int error)
drivers/atm/nicstar.c
819
if (error >= 17) {
drivers/atm/nicstar.c
822
if (error >= 16) {
drivers/atm/nicstar.c
827
if (error >= 15) {
drivers/atm/nicstar.c
833
if (error >= 14) {
drivers/atm/nicstar.c
838
if (error >= 13) {
drivers/atm/nicstar.c
843
if (error >= 12) {
drivers/atm/nicstar.c
847
if (error >= 11) {
drivers/atm/nicstar.c
851
if (error >= 10) {
drivers/atm/nicstar.c
854
if (error >= 4) {
drivers/atm/nicstar.c
857
if (error >= 3) {
drivers/atm/suni.c
101
if (arg) error = copy_to_user(arg,&tmp,sizeof(tmp));
drivers/atm/suni.c
102
if (zero && !error) sonet_subtract_stats(&PRIV(dev)->sonet_stats,&tmp);
drivers/atm/suni.c
103
return error ? -EFAULT : 0;
drivers/atm/suni.c
98
int error = 0;
drivers/base/attribute_container.c
392
int i, error;
drivers/base/attribute_container.c
404
error = device_create_file(classdev, attrs[i]);
drivers/base/attribute_container.c
405
if (error)
drivers/base/attribute_container.c
406
return error;
drivers/base/attribute_container.c
424
int error = device_add(classdev);
drivers/base/attribute_container.c
426
if (error)
drivers/base/attribute_container.c
427
return error;
drivers/base/bus.c
184
int error;
drivers/base/bus.c
189
error = sysfs_create_file(&sp->subsys.kobj, &attr->attr);
drivers/base/bus.c
192
return error;
drivers/base/bus.c
375
int error = 0;
drivers/base/bus.c
382
while (!error && (dev = next_device(&i)))
drivers/base/bus.c
383
error = fn(dev, data);
drivers/base/bus.c
386
return error;
drivers/base/bus.c
492
int error = 0;
drivers/base/bus.c
499
while ((drv = next_driver(&i)) && !error)
drivers/base/bus.c
500
error = fn(drv, data);
drivers/base/bus.c
503
return error;
drivers/base/bus.c
548
int error;
drivers/base/bus.c
566
error = device_add_groups(dev, sp->bus->dev_groups);
drivers/base/bus.c
567
if (error)
drivers/base/bus.c
571
error = device_add_group(dev, &driver_override_dev_group);
drivers/base/bus.c
572
if (error)
drivers/base/bus.c
576
error = sysfs_create_link(&sp->devices_kset->kobj, &dev->kobj, dev_name(dev));
drivers/base/bus.c
577
if (error)
drivers/base/bus.c
580
error = sysfs_create_link(&dev->kobj, &sp->subsys.kobj, "subsystem");
drivers/base/bus.c
581
if (error)
drivers/base/bus.c
596
return error;
drivers/base/bus.c
729
int error = 0;
drivers/base/bus.c
742
error = -ENOMEM;
drivers/base/bus.c
749
error = kobject_init_and_add(&priv->kobj, &driver_ktype, NULL,
drivers/base/bus.c
751
if (error)
drivers/base/bus.c
756
error = driver_attach(drv);
drivers/base/bus.c
757
if (error)
drivers/base/bus.c
760
error = module_add_driver(drv->owner, drv);
drivers/base/bus.c
761
if (error) {
drivers/base/bus.c
767
error = driver_create_file(drv, &driver_attr_uevent);
drivers/base/bus.c
768
if (error) {
drivers/base/bus.c
772
error = driver_add_groups(drv, sp->bus->drv_groups);
drivers/base/bus.c
773
if (error) {
drivers/base/bus.c
780
error = add_bind_files(drv);
drivers/base/bus.c
781
if (error) {
drivers/base/bus.c
800
return error;
drivers/base/class.c
133
int error;
drivers/base/class.c
138
error = sysfs_create_file_ns(&sp->subsys.kobj, &attr->attr, ns);
drivers/base/class.c
141
return error;
drivers/base/class.c
182
int error;
drivers/base/class.c
206
error = kobject_set_name(&cp->subsys.kobj, "%s", cls->name);
drivers/base/class.c
207
if (error)
drivers/base/class.c
214
error = kset_register(&cp->subsys);
drivers/base/class.c
215
if (error)
drivers/base/class.c
218
error = sysfs_create_groups(&cp->subsys.kobj, cls->class_groups);
drivers/base/class.c
219
if (error) {
drivers/base/class.c
229
return error;
drivers/base/class.c
274
goto error;
drivers/base/class.c
282
goto error;
drivers/base/class.c
286
error:
drivers/base/class.c
410
int error = 0;
drivers/base/class.c
422
error = fn(dev, data);
drivers/base/class.c
423
if (error)
drivers/base/class.c
429
return error;
drivers/base/core.c
2875
int error;
drivers/base/core.c
2882
error = sysfs_create_group(&dev->kobj, grp);
drivers/base/core.c
2883
if (error) {
drivers/base/core.c
2885
return error;
drivers/base/core.c
2898
int error;
drivers/base/core.c
2901
error = device_add_groups(dev, class->dev_groups);
drivers/base/core.c
2902
if (error)
drivers/base/core.c
2903
return error;
drivers/base/core.c
2907
error = device_add_groups(dev, type->groups);
drivers/base/core.c
2908
if (error)
drivers/base/core.c
2912
error = device_add_groups(dev, dev->groups);
drivers/base/core.c
2913
if (error)
drivers/base/core.c
2917
error = device_create_file(dev, &dev_attr_online);
drivers/base/core.c
2918
if (error)
drivers/base/core.c
2923
error = device_create_file(dev, &dev_attr_waiting_for_supplier);
drivers/base/core.c
2924
if (error)
drivers/base/core.c
2929
error = device_create_file(dev, &dev_attr_removable);
drivers/base/core.c
2930
if (error)
drivers/base/core.c
2935
error = device_add_group(dev,
drivers/base/core.c
2937
if (error)
drivers/base/core.c
2958
return error;
drivers/base/core.c
3047
int error = 0;
drivers/base/core.c
3056
error = sysfs_create_file(&dev->kobj, &attr->attr);
drivers/base/core.c
3059
return error;
drivers/base/core.c
3101
int error = -EINVAL;
drivers/base/core.c
3103
error = sysfs_create_bin_file(&dev->kobj, attr);
drivers/base/core.c
3104
return error;
drivers/base/core.c
3425
int error;
drivers/base/core.c
3428
error = sysfs_create_link(&dev->kobj, of_node_kobj(of_node), "of_node");
drivers/base/core.c
3429
if (error)
drivers/base/core.c
3430
dev_warn(dev, "Error %d creating of_node link\n",error);
drivers/base/core.c
3438
error = sysfs_create_link(&dev->kobj, &sp->subsys.kobj, "subsystem");
drivers/base/core.c
3439
if (error)
drivers/base/core.c
3443
error = sysfs_create_link(&dev->kobj, &dev->parent->kobj,
drivers/base/core.c
3445
if (error)
drivers/base/core.c
3450
error = sysfs_create_link(&sp->subsys.kobj, &dev->kobj, dev_name(dev));
drivers/base/core.c
3451
if (error)
drivers/base/core.c
3463
return error;
drivers/base/core.c
3512
int error = 0;
drivers/base/core.c
3517
error = sysfs_create_link(kobj, &dev->kobj, devt_str);
drivers/base/core.c
3520
return error;
drivers/base/core.c
3579
int error = -EINVAL;
drivers/base/core.c
3587
error = device_private_init(dev);
drivers/base/core.c
3588
if (error)
drivers/base/core.c
3598
error = dev_set_name(dev, "%s", dev->init_name);
drivers/base/core.c
3603
error = 0;
drivers/base/core.c
3606
error = dev_set_name(dev, "%s%u", dev->bus->dev_name, dev->id);
drivers/base/core.c
3608
error = -EINVAL;
drivers/base/core.c
3609
if (error)
drivers/base/core.c
3617
error = PTR_ERR(kobj);
drivers/base/core.c
3629
error = kobject_add(&dev->kobj, dev->kobj.parent, NULL);
drivers/base/core.c
3630
if (error) {
drivers/base/core.c
3638
error = device_create_file(dev, &dev_attr_uevent);
drivers/base/core.c
3639
if (error)
drivers/base/core.c
3642
error = device_add_class_symlinks(dev);
drivers/base/core.c
3643
if (error)
drivers/base/core.c
3645
error = device_add_attrs(dev);
drivers/base/core.c
3646
if (error)
drivers/base/core.c
3648
error = bus_add_device(dev);
drivers/base/core.c
3649
if (error)
drivers/base/core.c
3651
error = dpm_sysfs_add(dev);
drivers/base/core.c
3652
if (error)
drivers/base/core.c
3657
error = device_create_file(dev, &dev_attr_dev);
drivers/base/core.c
3658
if (error)
drivers/base/core.c
3661
error = device_create_sys_dev_entry(dev);
drivers/base/core.c
3662
if (error)
drivers/base/core.c
3720
return error;
drivers/base/core.c
4013
int error = 0;
drivers/base/core.c
4019
while (!error && (child = next_device(&i)))
drivers/base/core.c
4020
error = fn(child, data);
drivers/base/core.c
4022
return error;
drivers/base/core.c
4043
int error = 0;
drivers/base/core.c
4049
while ((child = prev_device(&i)) && !error)
drivers/base/core.c
4050
error = fn(child, data);
drivers/base/core.c
4052
return error;
drivers/base/core.c
4077
int error = 0;
drivers/base/core.c
4084
while ((child = prev_device(&i)) && !error)
drivers/base/core.c
4085
error = fn(child, data);
drivers/base/core.c
4087
return error;
drivers/base/core.c
4353
goto error;
drivers/base/core.c
4358
goto error;
drivers/base/core.c
4371
goto error;
drivers/base/core.c
4375
goto error;
drivers/base/core.c
4379
error:
drivers/base/core.c
4520
int error;
drivers/base/core.c
4531
error = -ENOMEM;
drivers/base/core.c
4539
error = -EINVAL;
drivers/base/core.c
4543
error = sysfs_rename_link_ns(&sp->subsys.kobj, kobj, old_device_name,
drivers/base/core.c
4545
if (error)
drivers/base/core.c
4551
error = kobject_rename(kobj, new_name);
drivers/base/core.c
4553
if (error && is_link_renamed)
drivers/base/core.c
4562
return error;
drivers/base/core.c
4570
int error = 0;
drivers/base/core.c
4575
error = sysfs_create_link(&dev->kobj, &new_parent->kobj,
drivers/base/core.c
4577
return error;
drivers/base/core.c
4589
int error;
drivers/base/core.c
4601
error = PTR_ERR(new_parent_kobj);
drivers/base/core.c
4608
error = kobject_move(&dev->kobj, new_parent_kobj);
drivers/base/core.c
4609
if (error) {
drivers/base/core.c
4625
error = device_move_class_links(dev, old_parent, new_parent);
drivers/base/core.c
4626
if (error) {
drivers/base/core.c
4665
return error;
drivers/base/core.c
4675
int error;
drivers/base/core.c
4682
error = sysfs_groups_change_owner(kobj, class->dev_groups, kuid,
drivers/base/core.c
4684
if (error)
drivers/base/core.c
4685
return error;
drivers/base/core.c
4693
error = sysfs_groups_change_owner(kobj, type->groups, kuid,
drivers/base/core.c
4695
if (error)
drivers/base/core.c
4696
return error;
drivers/base/core.c
4700
error = sysfs_groups_change_owner(kobj, dev->groups, kuid, kgid);
drivers/base/core.c
4701
if (error)
drivers/base/core.c
4702
return error;
drivers/base/core.c
4706
error = sysfs_file_change_owner(kobj, dev_attr_online.attr.name,
drivers/base/core.c
4708
if (error)
drivers/base/core.c
4709
return error;
drivers/base/core.c
4729
int error;
drivers/base/core.c
4741
error = sysfs_change_owner(kobj, kuid, kgid);
drivers/base/core.c
4742
if (error)
drivers/base/core.c
4750
error = sysfs_file_change_owner(kobj, dev_attr_uevent.attr.name, kuid,
drivers/base/core.c
4752
if (error)
drivers/base/core.c
4760
error = device_attrs_change_owner(dev, kuid, kgid);
drivers/base/core.c
4761
if (error)
drivers/base/core.c
4764
error = dpm_sysfs_change_owner(dev, kuid, kgid);
drivers/base/core.c
4765
if (error)
drivers/base/core.c
4776
error = -EINVAL;
drivers/base/core.c
4779
error = sysfs_link_change_owner(&sp->subsys.kobj, &dev->kobj, dev_name(dev), kuid, kgid);
drivers/base/core.c
4784
return error;
drivers/base/cpu.c
418
int error;
drivers/base/cpu.c
431
error = device_register(&cpu->dev);
drivers/base/cpu.c
432
if (error) {
drivers/base/cpu.c
434
return error;
drivers/base/cpu.c
471
goto error;
drivers/base/cpu.c
482
goto error;
drivers/base/cpu.c
486
goto error;
drivers/base/cpu.c
490
error:
drivers/base/driver.c
122
int error = 0;
drivers/base/driver.c
129
while (!error && (dev = next_device(&i)))
drivers/base/driver.c
130
error = fn(dev, data);
drivers/base/driver.c
132
return error;
drivers/base/driver.c
182
int error;
drivers/base/driver.c
185
error = sysfs_create_file(&drv->p->kobj, &attr->attr);
drivers/base/driver.c
187
error = -EINVAL;
drivers/base/driver.c
188
return error;
drivers/base/firmware_loader/main.c
340
goto error;
drivers/base/firmware_loader/main.c
347
goto error;
drivers/base/firmware_loader/main.c
355
goto error;
drivers/base/firmware_loader/main.c
363
error:
drivers/base/firmware_loader/sysfs_upload.c
49
const char *error = "unknown-error";
drivers/base/firmware_loader/sysfs_upload.c
52
error = fw_upload_err_str[err_code];
drivers/base/firmware_loader/sysfs_upload.c
57
return error;
drivers/base/firmware_loader/sysfs_upload.c
90
DEVICE_ATTR_RO(error);
drivers/base/isa.c
115
int error;
drivers/base/isa.c
121
error = driver_register(&isa_driver->driver);
drivers/base/isa.c
122
if (error)
drivers/base/isa.c
123
return error;
drivers/base/isa.c
130
error = -ENOMEM;
drivers/base/isa.c
146
error = device_register(&isa_dev->dev);
drivers/base/isa.c
147
if (error) {
drivers/base/isa.c
156
if (!error && !isa_driver->devices)
drivers/base/isa.c
157
error = -ENODEV;
drivers/base/isa.c
159
if (error)
drivers/base/isa.c
162
return error;
drivers/base/isa.c
168
int error;
drivers/base/isa.c
170
error = bus_register(&isa_bus_type);
drivers/base/isa.c
171
if (!error) {
drivers/base/isa.c
172
error = device_register(&isa_bus);
drivers/base/isa.c
173
if (error)
drivers/base/isa.c
176
return error;
drivers/base/node.c
874
int error;
drivers/base/node.c
889
error = device_register(&node->dev);
drivers/base/node.c
890
if (error) {
drivers/base/node.c
892
return error;
drivers/base/node.c
908
return error;
drivers/base/platform.c
1023
int error;
drivers/base/platform.c
1027
error = -ENOMEM;
drivers/base/platform.c
1031
error = platform_device_add_resources(pdev, res, n_res);
drivers/base/platform.c
1032
if (error)
drivers/base/platform.c
1035
error = platform_device_add_data(pdev, data, size);
drivers/base/platform.c
1036
if (error)
drivers/base/platform.c
1039
error = platform_device_add(pdev);
drivers/base/platform.c
1040
if (error)
drivers/base/platform.c
1043
error = __platform_driver_probe(driver, probe, module);
drivers/base/platform.c
1044
if (error)
drivers/base/platform.c
1054
return ERR_PTR(error);
drivers/base/platform.c
1084
goto error;
drivers/base/platform.c
1090
error:
drivers/base/platform.c
1526
int error;
drivers/base/platform.c
1530
error = device_register(&platform_bus);
drivers/base/platform.c
1531
if (error) {
drivers/base/platform.c
1533
return error;
drivers/base/platform.c
1535
error = bus_register(&platform_bus_type);
drivers/base/platform.c
1536
if (error)
drivers/base/platform.c
1539
return error;
drivers/base/power/clock_ops.c
293
goto error;
drivers/base/power/clock_ops.c
299
goto error;
drivers/base/power/clock_ops.c
307
error:
drivers/base/power/clock_ops.c
555
int error;
drivers/base/power/clock_ops.c
566
error = pm_clk_create(dev);
drivers/base/power/clock_ops.c
567
if (error)
drivers/base/power/main.c
1045
int error = 0;
drivers/base/power/main.c
1120
error = dpm_run_callback(callback, dev, state, info);
drivers/base/power/main.c
1128
TRACE_RESUME(error);
drivers/base/power/main.c
1130
if (error) {
drivers/base/power/main.c
1131
WRITE_ONCE(async_error, error);
drivers/base/power/main.c
1133
pm_dev_err(dev, state, async ? " async" : "", error);
drivers/base/power/main.c
1436
int error = 0;
drivers/base/power/main.c
1474
error = dpm_run_callback(callback, dev, state, info);
drivers/base/power/main.c
1475
if (error) {
drivers/base/power/main.c
1476
WRITE_ONCE(async_error, error);
drivers/base/power/main.c
1478
pm_dev_err(dev, state, async ? " async noirq" : " noirq", error);
drivers/base/power/main.c
1500
TRACE_SUSPEND(error);
drivers/base/power/main.c
1502
if (error || READ_ONCE(async_error))
drivers/base/power/main.c
1520
int error;
drivers/base/power/main.c
1572
error = READ_ONCE(async_error);
drivers/base/power/main.c
1573
if (error)
drivers/base/power/main.c
1576
dpm_show_time(starttime, state, error, "noirq");
drivers/base/power/main.c
1578
return error;
drivers/base/power/main.c
1631
int error = 0;
drivers/base/power/main.c
1684
error = dpm_run_callback(callback, dev, state, info);
drivers/base/power/main.c
1685
if (error) {
drivers/base/power/main.c
1686
WRITE_ONCE(async_error, error);
drivers/base/power/main.c
1688
pm_dev_err(dev, state, async ? " async late" : " late", error);
drivers/base/power/main.c
1698
TRACE_SUSPEND(error);
drivers/base/power/main.c
1701
if (error || READ_ONCE(async_error))
drivers/base/power/main.c
1723
int error;
drivers/base/power/main.c
1777
error = READ_ONCE(async_error);
drivers/base/power/main.c
1778
if (error) {
drivers/base/power/main.c
1782
dpm_show_time(starttime, state, error, "late");
drivers/base/power/main.c
1784
return error;
drivers/base/power/main.c
1794
int error;
drivers/base/power/main.c
1796
error = dpm_suspend_late(state);
drivers/base/power/main.c
1797
if (error)
drivers/base/power/main.c
1800
error = dpm_suspend_noirq(state);
drivers/base/power/main.c
1801
if (error)
drivers/base/power/main.c
1805
dpm_show_time(starttime, state, error, "end");
drivers/base/power/main.c
1806
return error;
drivers/base/power/main.c
1821
int error;
drivers/base/power/main.c
1827
error = cb(dev, state);
drivers/base/power/main.c
1828
trace_device_pm_callback_end(dev, error);
drivers/base/power/main.c
1829
suspend_report_result(dev, cb, error);
drivers/base/power/main.c
1831
initcall_debug_report(dev, calltime, cb, error);
drivers/base/power/main.c
1833
return error;
drivers/base/power/main.c
1870
int error = 0;
drivers/base/power/main.c
1953
error = legacy_suspend(dev, state, dev->bus->suspend,
drivers/base/power/main.c
1965
error = dpm_run_callback(callback, dev, state, info);
drivers/base/power/main.c
1968
if (!error) {
drivers/base/power/main.c
1981
if (error) {
drivers/base/power/main.c
1982
WRITE_ONCE(async_error, error);
drivers/base/power/main.c
1984
pm_dev_err(dev, state, async ? " async" : "", error);
drivers/base/power/main.c
1988
TRACE_SUSPEND(error);
drivers/base/power/main.c
1990
if (error || READ_ONCE(async_error))
drivers/base/power/main.c
2012
int error;
drivers/base/power/main.c
2068
error = READ_ONCE(async_error);
drivers/base/power/main.c
2069
if (error)
drivers/base/power/main.c
2072
dpm_show_time(starttime, state, error, NULL);
drivers/base/power/main.c
2074
return error;
drivers/base/power/main.c
2211
int error = 0;
drivers/base/power/main.c
2230
while (!list_empty(&dpm_list) && !error) {
drivers/base/power/main.c
2238
error = device_prepare(dev, state);
drivers/base/power/main.c
2239
trace_device_pm_callback_end(dev, error);
drivers/base/power/main.c
2243
if (!error) {
drivers/base/power/main.c
2247
} else if (error == -EAGAIN) {
drivers/base/power/main.c
2248
error = 0;
drivers/base/power/main.c
2251
error);
drivers/base/power/main.c
2262
return error;
drivers/base/power/main.c
2275
int error;
drivers/base/power/main.c
2277
error = dpm_prepare(state);
drivers/base/power/main.c
2278
if (error)
drivers/base/power/main.c
2282
error = dpm_suspend(state);
drivers/base/power/main.c
2285
dpm_show_time(starttime, state, error, "start");
drivers/base/power/main.c
2286
return error;
drivers/base/power/main.c
232
void *cb, int error)
drivers/base/power/main.c
240
dev_info(dev, "%ps returned %d after %Ld usecs\n", cb, error,
drivers/base/power/main.c
465
int error)
drivers/base/power/main.c
468
error);
drivers/base/power/main.c
471
static void dpm_show_time(ktime_t starttime, pm_message_t state, int error,
drivers/base/power/main.c
487
error ? "aborted" : "complete",
drivers/base/power/main.c
495
int error;
drivers/base/power/main.c
504
error = cb(dev);
drivers/base/power/main.c
505
trace_device_pm_callback_end(dev, error);
drivers/base/power/main.c
506
suspend_report_result(dev, cb, error);
drivers/base/power/main.c
508
initcall_debug_report(dev, calltime, cb, error);
drivers/base/power/main.c
510
return error;
drivers/base/power/main.c
732
int error = 0;
drivers/base/power/main.c
799
error = dpm_run_callback(callback, dev, state, info);
drivers/base/power/main.c
806
TRACE_RESUME(error);
drivers/base/power/main.c
808
if (error) {
drivers/base/power/main.c
809
WRITE_ONCE(async_error, error);
drivers/base/power/main.c
811
pm_dev_err(dev, state, async ? " async noirq" : " noirq", error);
drivers/base/power/main.c
901
int error = 0;
drivers/base/power/main.c
943
error = dpm_run_callback(callback, dev, state, info);
drivers/base/power/main.c
950
TRACE_RESUME(error);
drivers/base/power/main.c
954
if (error) {
drivers/base/power/main.c
955
WRITE_ONCE(async_error, error);
drivers/base/power/main.c
957
pm_dev_err(dev, state, async ? " async early" : " early", error);
drivers/base/power/runtime.c
1318
int error = 0;
drivers/base/power/runtime.c
1332
error = -EAGAIN;
drivers/base/power/runtime.c
1336
if (error)
drivers/base/power/runtime.c
1337
return error;
drivers/base/power/runtime.c
1348
error = rpm_get_suppliers(dev);
drivers/base/power/runtime.c
1349
if (error)
drivers/base/power/runtime.c
1377
error = -EBUSY;
drivers/base/power/runtime.c
1384
if (error) {
drivers/base/power/runtime.c
1392
if (!error)
drivers/base/power/runtime.c
1411
return error;
drivers/base/power/wakeup_stats.c
147
goto error;
drivers/base/power/wakeup_stats.c
161
goto error;
drivers/base/power/wakeup_stats.c
165
goto error;
drivers/base/power/wakeup_stats.c
169
error:
drivers/base/regmap/regmap-kunit.c
1746
int i, error;
drivers/base/regmap/regmap-kunit.c
1803
error = kunit_add_action_or_reset(test, regmap_exit_action, ret);
drivers/base/regmap/regmap-kunit.c
1804
if (error)
drivers/base/regmap/regmap-kunit.c
1805
ret = ERR_PTR(error);
drivers/base/regmap/regmap-kunit.c
192
int i, error;
drivers/base/regmap/regmap-kunit.c
240
error = kunit_add_action_or_reset(test, regmap_exit_action, ret);
drivers/base/regmap/regmap-kunit.c
241
if (error)
drivers/base/regmap/regmap-kunit.c
242
ret = ERR_PTR(error);
drivers/base/swnode.c
515
int error;
drivers/base/swnode.c
560
error = fwnode_property_read_u32(refnode, nargs_prop, &nargs_prop_val);
drivers/base/swnode.c
561
if (error)
drivers/base/swnode.c
562
return error;
drivers/base/test/property-entry-test.c
101
error = fwnode_property_read_u64_array(node, "prop-u64", array_u64, 2);
drivers/base/test/property-entry-test.c
102
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
104
error = fwnode_property_read_u64(node, "no-prop-u64", &val_u64);
drivers/base/test/property-entry-test.c
105
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
107
error = fwnode_property_read_u64_array(node, "no-prop-u64", array_u64, 1);
drivers/base/test/property-entry-test.c
108
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
111
error = fwnode_property_count_u16(node, "prop-u64");
drivers/base/test/property-entry-test.c
112
KUNIT_EXPECT_EQ(test, error, 4);
drivers/base/test/property-entry-test.c
136
int error;
drivers/base/test/property-entry-test.c
141
error = fwnode_property_read_u8(node, "prop-u8", &val_u8);
drivers/base/test/property-entry-test.c
142
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
145
error = fwnode_property_count_u8(node, "prop-u8");
drivers/base/test/property-entry-test.c
146
KUNIT_EXPECT_EQ(test, error, 10);
drivers/base/test/property-entry-test.c
148
error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 1);
drivers/base/test/property-entry-test.c
149
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
152
error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 2);
drivers/base/test/property-entry-test.c
153
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
157
error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 17);
drivers/base/test/property-entry-test.c
158
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
160
error = fwnode_property_read_u8(node, "no-prop-u8", &val_u8);
drivers/base/test/property-entry-test.c
161
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
163
error = fwnode_property_read_u8_array(node, "no-prop-u8", array_u8, 1);
drivers/base/test/property-entry-test.c
164
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
166
error = fwnode_property_read_u16(node, "prop-u16", &val_u16);
drivers/base/test/property-entry-test.c
167
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
170
error = fwnode_property_count_u16(node, "prop-u16");
drivers/base/test/property-entry-test.c
171
KUNIT_EXPECT_EQ(test, error, 10);
drivers/base/test/property-entry-test.c
173
error = fwnode_property_read_u16_array(node, "prop-u16", array_u16, 1);
drivers/base/test/property-entry-test.c
174
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
177
error = fwnode_property_read_u16_array(node, "prop-u16", array_u16, 2);
drivers/base/test/property-entry-test.c
178
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
182
error = fwnode_property_read_u16_array(node, "prop-u16", array_u16, 17);
drivers/base/test/property-entry-test.c
183
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
185
error = fwnode_property_read_u16(node, "no-prop-u16", &val_u16);
drivers/base/test/property-entry-test.c
186
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
188
error = fwnode_property_read_u16_array(node, "no-prop-u16", array_u16, 1);
drivers/base/test/property-entry-test.c
189
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
191
error = fwnode_property_read_u32(node, "prop-u32", &val_u32);
drivers/base/test/property-entry-test.c
192
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
195
error = fwnode_property_count_u32(node, "prop-u32");
drivers/base/test/property-entry-test.c
196
KUNIT_EXPECT_EQ(test, error, 10);
drivers/base/test/property-entry-test.c
198
error = fwnode_property_read_u32_array(node, "prop-u32", array_u32, 1);
drivers/base/test/property-entry-test.c
199
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
202
error = fwnode_property_read_u32_array(node, "prop-u32", array_u32, 2);
drivers/base/test/property-entry-test.c
203
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
207
error = fwnode_property_read_u32_array(node, "prop-u32", array_u32, 17);
drivers/base/test/property-entry-test.c
208
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
210
error = fwnode_property_read_u32(node, "no-prop-u32", &val_u32);
drivers/base/test/property-entry-test.c
211
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
213
error = fwnode_property_read_u32_array(node, "no-prop-u32", array_u32, 1);
drivers/base/test/property-entry-test.c
214
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
216
error = fwnode_property_read_u64(node, "prop-u64", &val_u64);
drivers/base/test/property-entry-test.c
217
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
220
error = fwnode_property_count_u64(node, "prop-u64");
drivers/base/test/property-entry-test.c
221
KUNIT_EXPECT_EQ(test, error, 10);
drivers/base/test/property-entry-test.c
223
error = fwnode_property_read_u64_array(node, "prop-u64", array_u64, 1);
drivers/base/test/property-entry-test.c
224
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
227
error = fwnode_property_read_u64_array(node, "prop-u64", array_u64, 2);
drivers/base/test/property-entry-test.c
228
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
232
error = fwnode_property_read_u64_array(node, "prop-u64", array_u64, 17);
drivers/base/test/property-entry-test.c
233
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
235
error = fwnode_property_read_u64(node, "no-prop-u64", &val_u64);
drivers/base/test/property-entry-test.c
236
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
238
error = fwnode_property_read_u64_array(node, "no-prop-u64", array_u64, 1);
drivers/base/test/property-entry-test.c
239
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
242
error = fwnode_property_count_u16(node, "prop-u64");
drivers/base/test/property-entry-test.c
243
KUNIT_EXPECT_EQ(test, error, 40);
drivers/base/test/property-entry-test.c
246
error = fwnode_property_count_u64(node, "prop-u16");
drivers/base/test/property-entry-test.c
247
KUNIT_EXPECT_EQ(test, error, 2);
drivers/base/test/property-entry-test.c
25
int error;
drivers/base/test/property-entry-test.c
269
int error;
drivers/base/test/property-entry-test.c
274
error = fwnode_property_read_string(node, "str", &str);
drivers/base/test/property-entry-test.c
275
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
278
error = fwnode_property_string_array_count(node, "str");
drivers/base/test/property-entry-test.c
279
KUNIT_EXPECT_EQ(test, error, 1);
drivers/base/test/property-entry-test.c
281
error = fwnode_property_read_string_array(node, "str", strs, 1);
drivers/base/test/property-entry-test.c
282
KUNIT_EXPECT_EQ(test, error, 1);
drivers/base/test/property-entry-test.c
286
error = fwnode_property_read_string_array(node, "str", strs, 2);
drivers/base/test/property-entry-test.c
287
KUNIT_EXPECT_EQ(test, error, 1);
drivers/base/test/property-entry-test.c
290
error = fwnode_property_read_string(node, "no-str", &str);
drivers/base/test/property-entry-test.c
291
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
293
error = fwnode_property_read_string_array(node, "no-str", strs, 1);
drivers/base/test/property-entry-test.c
294
KUNIT_EXPECT_LT(test, error, 0);
drivers/base/test/property-entry-test.c
296
error = fwnode_property_read_string(node, "empty", &str);
drivers/base/test/property-entry-test.c
297
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
30
error = fwnode_property_count_u8(node, "prop-u8");
drivers/base/test/property-entry-test.c
300
error = fwnode_property_string_array_count(node, "strs");
drivers/base/test/property-entry-test.c
301
KUNIT_EXPECT_EQ(test, error, 2);
drivers/base/test/property-entry-test.c
303
error = fwnode_property_read_string_array(node, "strs", strs, 3);
drivers/base/test/property-entry-test.c
304
KUNIT_EXPECT_EQ(test, error, 2);
drivers/base/test/property-entry-test.c
308
error = fwnode_property_read_string_array(node, "strs", strs, 1);
drivers/base/test/property-entry-test.c
309
KUNIT_EXPECT_EQ(test, error, 1);
drivers/base/test/property-entry-test.c
31
KUNIT_EXPECT_EQ(test, error, 1);
drivers/base/test/property-entry-test.c
313
error = fwnode_property_read_string_array(node, "strs", NULL, 0);
drivers/base/test/property-entry-test.c
314
KUNIT_EXPECT_EQ(test, error, 2);
drivers/base/test/property-entry-test.c
317
error = fwnode_property_read_string(node, "strs", &str);
drivers/base/test/property-entry-test.c
318
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
33
error = fwnode_property_read_u8(node, "prop-u8", &val_u8);
drivers/base/test/property-entry-test.c
34
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
37
error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 1);
drivers/base/test/property-entry-test.c
38
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
41
error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 2);
drivers/base/test/property-entry-test.c
42
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
426
int error;
drivers/base/test/property-entry-test.c
428
error = software_node_register_node_group(group);
drivers/base/test/property-entry-test.c
429
KUNIT_ASSERT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
434
error = fwnode_property_get_reference_args(node, "ref-1", NULL,
drivers/base/test/property-entry-test.c
436
KUNIT_ASSERT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
44
error = fwnode_property_read_u8(node, "no-prop-u8", &val_u8);
drivers/base/test/property-entry-test.c
441
error = fwnode_property_get_reference_args(node, "ref-1", NULL,
drivers/base/test/property-entry-test.c
443
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
445
error = fwnode_property_get_reference_args(node, "ref-2", NULL,
drivers/base/test/property-entry-test.c
447
KUNIT_ASSERT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
45
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
453
error = fwnode_property_get_reference_args(node, "ref-2", NULL,
drivers/base/test/property-entry-test.c
455
KUNIT_ASSERT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
463
error = fwnode_property_get_reference_args(node, "ref-2", NULL,
drivers/base/test/property-entry-test.c
465
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
468
error = fwnode_property_get_reference_args(node, "ref-3", NULL,
drivers/base/test/property-entry-test.c
47
error = fwnode_property_read_u8_array(node, "no-prop-u8", array_u8, 1);
drivers/base/test/property-entry-test.c
470
KUNIT_ASSERT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
475
error = fwnode_property_get_reference_args(node, "ref-3", NULL,
drivers/base/test/property-entry-test.c
477
KUNIT_ASSERT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
48
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
484
error = fwnode_property_get_reference_args(node, "ref-1", NULL,
drivers/base/test/property-entry-test.c
486
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
50
error = fwnode_property_read_u16(node, "prop-u16", &val_u16);
drivers/base/test/property-entry-test.c
51
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
54
error = fwnode_property_count_u16(node, "prop-u16");
drivers/base/test/property-entry-test.c
55
KUNIT_EXPECT_EQ(test, error, 1);
drivers/base/test/property-entry-test.c
57
error = fwnode_property_read_u16_array(node, "prop-u16", array_u16, 1);
drivers/base/test/property-entry-test.c
58
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
61
error = fwnode_property_read_u16_array(node, "prop-u16", array_u16, 2);
drivers/base/test/property-entry-test.c
62
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
64
error = fwnode_property_read_u16(node, "no-prop-u16", &val_u16);
drivers/base/test/property-entry-test.c
65
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
67
error = fwnode_property_read_u16_array(node, "no-prop-u16", array_u16, 1);
drivers/base/test/property-entry-test.c
68
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
70
error = fwnode_property_read_u32(node, "prop-u32", &val_u32);
drivers/base/test/property-entry-test.c
71
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
74
error = fwnode_property_count_u32(node, "prop-u32");
drivers/base/test/property-entry-test.c
75
KUNIT_EXPECT_EQ(test, error, 1);
drivers/base/test/property-entry-test.c
77
error = fwnode_property_read_u32_array(node, "prop-u32", array_u32, 1);
drivers/base/test/property-entry-test.c
78
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
81
error = fwnode_property_read_u32_array(node, "prop-u32", array_u32, 2);
drivers/base/test/property-entry-test.c
82
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
84
error = fwnode_property_read_u32(node, "no-prop-u32", &val_u32);
drivers/base/test/property-entry-test.c
85
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
87
error = fwnode_property_read_u32_array(node, "no-prop-u32", array_u32, 1);
drivers/base/test/property-entry-test.c
88
KUNIT_EXPECT_NE(test, error, 0);
drivers/base/test/property-entry-test.c
90
error = fwnode_property_read_u64(node, "prop-u64", &val_u64);
drivers/base/test/property-entry-test.c
91
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/test/property-entry-test.c
94
error = fwnode_property_count_u64(node, "prop-u64");
drivers/base/test/property-entry-test.c
95
KUNIT_EXPECT_EQ(test, error, 1);
drivers/base/test/property-entry-test.c
97
error = fwnode_property_read_u64_array(node, "prop-u64", array_u64, 1);
drivers/base/test/property-entry-test.c
98
KUNIT_EXPECT_EQ(test, error, 0);
drivers/base/transport_class.c
155
int error = attribute_container_add_class_device(classdev);
drivers/base/transport_class.c
159
if (error)
drivers/base/transport_class.c
163
error = sysfs_create_group(&classdev->kobj, tcont->statistics);
drivers/base/transport_class.c
164
if (error)
drivers/base/transport_class.c
169
error = sysfs_create_group(&classdev->kobj, tcont->encryption);
drivers/base/transport_class.c
170
if (error)
drivers/base/transport_class.c
182
return error;
drivers/block/amiflop.c
1426
int error, errcnt;
drivers/block/amiflop.c
1446
error = (*unit[drive].dtype->read_fkt)(drive);
drivers/block/amiflop.c
1447
if (error == 0) {
drivers/block/aoe/aoedev.c
45
int error = 0;
drivers/block/aoe/aoedev.c
52
error = -1;
drivers/block/aoe/aoedev.c
56
return error;
drivers/block/aoe/aoedev.c
64
int error = 0;
drivers/block/aoe/aoedev.c
75
error = -1;
drivers/block/aoe/aoedev.c
84
error = -1;
drivers/block/aoe/aoedev.c
93
error = -1;
drivers/block/aoe/aoedev.c
99
return error;
drivers/block/drbd/drbd_actlog.c
136
device->md_io.error = -ENODEV;
drivers/block/drbd/drbd_actlog.c
170
err = device->md_io.error;
drivers/block/drbd/drbd_bitmap.c
1020
ctx->error = -EIO;
drivers/block/drbd/drbd_bitmap.c
1091
.error = 0,
drivers/block/drbd/drbd_bitmap.c
1188
if (ctx->error) {
drivers/block/drbd/drbd_bitmap.c
951
ctx->error = blk_status_to_errno(bio->bi_status);
drivers/block/drbd/drbd_int.h
1682
int error, enum drbd_force_detach_flags forcedetach, const char *where)
drivers/block/drbd/drbd_int.h
1684
if (error) {
drivers/block/drbd/drbd_int.h
542
int error;
drivers/block/drbd/drbd_int.h
914
int error;
drivers/block/drbd/drbd_receiver.c
1065
int error;
drivers/block/drbd/drbd_receiver.c
1080
ctx->error = blk_status_to_errno(bio->bi_status);
drivers/block/drbd/drbd_receiver.c
1107
ctx->error = -ENOMEM;
drivers/block/drbd/drbd_receiver.c
1132
ctx.error = 0;
drivers/block/drbd/drbd_receiver.c
1155
if (ctx.error) {
drivers/block/drbd/drbd_req.c
179
if (unlikely(m->error))
drivers/block/drbd/drbd_req.c
180
m->bio->bi_status = errno_to_blk_status(m->error);
drivers/block/drbd/drbd_req.c
197
int error, ok;
drivers/block/drbd/drbd_req.c
234
error = PTR_ERR(req->private_bio);
drivers/block/drbd/drbd_req.c
271
m->error = ok ? 0 : (error ?: -EIO);
drivers/block/drbd/drbd_req.h
264
int error;
drivers/block/drbd/drbd_worker.c
55
device->md_io.error = blk_status_to_errno(bio->bi_status);
drivers/block/floppy.c
1471
cont->error();
drivers/block/floppy.c
1524
cont->error();
drivers/block/floppy.c
1548
cont->error();
drivers/block/floppy.c
1667
cont->error();
drivers/block/floppy.c
1790
pr_info("reset set in interrupt, calling %ps\n", cont->error);
drivers/block/floppy.c
1791
cont->error(); /* a reset just after a reset. BAD! */
drivers/block/floppy.c
2001
.error = empty,
drivers/block/floppy.c
2008
.error = empty,
drivers/block/floppy.c
2126
cont->error();
drivers/block/floppy.c
2222
.error = bad_flp_intr,
drivers/block/floppy.c
2258
static void floppy_end_request(struct request *req, blk_status_t error)
drivers/block/floppy.c
2264
if (error)
drivers/block/floppy.c
2266
if (blk_update_request(req, error, nr_sectors << 9))
drivers/block/floppy.c
2268
__blk_mq_end_request(req, error);
drivers/block/floppy.c
2376
cont->error();
drivers/block/floppy.c
2839
.error = bad_flp_intr,
drivers/block/floppy.c
2887
.error = generic_failure,
drivers/block/floppy.c
2919
.error = generic_failure,
drivers/block/floppy.c
3030
.error = generic_failure,
drivers/block/floppy.c
536
void (*error)(void); /* this is called to tally an error */
drivers/block/loop.c
1011
error = bd_prepare_to_claim(bdev, loop_configure, NULL);
drivers/block/loop.c
1012
if (error)
drivers/block/loop.c
1016
error = loop_global_lock_killable(lo, is_loop);
drivers/block/loop.c
1017
if (error)
drivers/block/loop.c
1020
error = -EBUSY;
drivers/block/loop.c
1024
error = loop_validate_file(file, bdev);
drivers/block/loop.c
1025
if (error)
drivers/block/loop.c
1029
error = -EINVAL;
drivers/block/loop.c
1033
error = loop_set_status_from_info(lo, &config->info);
drivers/block/loop.c
1034
if (error)
drivers/block/loop.c
1047
error = -ENOMEM;
drivers/block/loop.c
1064
error = queue_limits_commit_update(lo->lo_queue, &lim);
drivers/block/loop.c
1065
if (error)
drivers/block/loop.c
1112
return error;
drivers/block/loop.c
544
int error;
drivers/block/loop.c
551
error = loop_check_backing_file(file);
drivers/block/loop.c
552
if (error) {
drivers/block/loop.c
554
return error;
drivers/block/loop.c
561
error = loop_global_lock_killable(lo, is_loop);
drivers/block/loop.c
562
if (error)
drivers/block/loop.c
564
error = -ENXIO;
drivers/block/loop.c
569
error = -EINVAL;
drivers/block/loop.c
573
error = loop_validate_file(file, bdev);
drivers/block/loop.c
574
if (error)
drivers/block/loop.c
579
error = -EINVAL;
drivers/block/loop.c
620
error = 0;
drivers/block/loop.c
623
return error;
drivers/block/loop.c
987
int error;
drivers/block/loop.c
995
error = loop_check_backing_file(file);
drivers/block/loop.c
996
if (error) {
drivers/block/loop.c
998
return error;
drivers/block/mtip32xx/mtip32xx.c
4018
int error;
drivers/block/mtip32xx/mtip32xx.c
4023
error = register_blkdev(0, MTIP_DRV_NAME);
drivers/block/mtip32xx/mtip32xx.c
4024
if (error <= 0) {
drivers/block/mtip32xx/mtip32xx.c
4026
error);
drivers/block/mtip32xx/mtip32xx.c
4029
mtip_major = error;
drivers/block/mtip32xx/mtip32xx.c
4034
error = pci_register_driver(&mtip_pci_driver);
drivers/block/mtip32xx/mtip32xx.c
4035
if (error) {
drivers/block/mtip32xx/mtip32xx.c
4040
return error;
drivers/block/nbd.c
1475
int error = 0, i;
drivers/block/nbd.c
1502
error = device_create_file(disk_to_dev(nbd->disk), &pid_attr);
drivers/block/nbd.c
1503
if (error) {
drivers/block/nbd.c
1505
return error;
drivers/block/nbd.c
1645
int error = -EINVAL;
drivers/block/nbd.c
1663
error = __nbd_ioctl(bdev, nbd, cmd, arg);
drivers/block/nbd.c
1667
return error;
drivers/block/nbd.c
337
int error;
drivers/block/nbd.c
374
error = queue_limits_commit_update_frozen(nbd->disk->queue, &lim);
drivers/block/nbd.c
375
if (error)
drivers/block/nbd.c
376
return error;
drivers/block/nbd.c
928
if (ntohl(reply->error)) {
drivers/block/nbd.c
930
ntohl(reply->error));
drivers/block/null_blk/main.c
1415
blk_mq_end_request(rq, cmd->error);
drivers/block/null_blk/main.c
1450
cmd->error = null_handle_flush(nullb);
drivers/block/null_blk/main.c
1460
if (cmd->error == BLK_STS_OK)
drivers/block/null_blk/main.c
1461
cmd->error = sts;
drivers/block/null_blk/main.c
1608
cmd->error = null_process_cmd(cmd, req_op(req), blk_rq_pos(req),
drivers/block/null_blk/main.c
1610
if (!blk_mq_add_to_batch(req, iob, cmd->error != BLK_STS_OK,
drivers/block/null_blk/main.c
1612
blk_mq_end_request(req, cmd->error);
drivers/block/null_blk/main.c
1646
cmd->error = BLK_STS_TIMEOUT;
drivers/block/null_blk/main.c
1668
cmd->error = BLK_STS_OK;
drivers/block/null_blk/main.c
1843
int error;
drivers/block/null_blk/main.c
1858
error = null_init_tag_set(&tag_set, g_poll_queues);
drivers/block/null_blk/main.c
1859
if (error)
drivers/block/null_blk/main.c
1861
return error;
drivers/block/null_blk/main.c
848
blk_mq_end_request(blk_mq_rq_from_pdu(cmd), cmd->error);
drivers/block/null_blk/main.c
863
blk_mq_end_request(rq, cmd->error);
drivers/block/null_blk/null_blk.h
19
blk_status_t error;
drivers/block/null_blk/zoned.c
201
int error;
drivers/block/null_blk/zoned.c
228
error = disk_report_zone(disk, &blkz, i, args);
drivers/block/null_blk/zoned.c
229
if (error)
drivers/block/null_blk/zoned.c
230
return error;
drivers/block/ps3disk.c
207
blk_status_t error;
drivers/block/ps3disk.c
245
error = BLK_STS_IOERR;
drivers/block/ps3disk.c
249
error = 0;
drivers/block/ps3disk.c
256
blk_mq_end_request(req, error);
drivers/block/ps3disk.c
387
int error;
drivers/block/ps3disk.c
421
error = -ENOMEM;
drivers/block/ps3disk.c
431
error = -ENOMEM;
drivers/block/ps3disk.c
435
error = ps3stor_setup(dev, ps3disk_interrupt);
drivers/block/ps3disk.c
436
if (error)
drivers/block/ps3disk.c
441
error = blk_mq_alloc_sq_tag_set(&priv->tag_set, &ps3disk_mq_ops, 1, 0);
drivers/block/ps3disk.c
442
if (error)
drivers/block/ps3disk.c
449
error = PTR_ERR(gendisk);
drivers/block/ps3disk.c
470
error = device_add_disk(&dev->sbd.core, gendisk, NULL);
drivers/block/ps3disk.c
471
if (error)
drivers/block/ps3disk.c
490
return error;
drivers/block/ps3disk.c
525
int error;
drivers/block/ps3disk.c
530
error = register_blkdev(0, DEVICE_NAME);
drivers/block/ps3disk.c
531
if (error <= 0) {
drivers/block/ps3disk.c
533
__LINE__, error);
drivers/block/ps3disk.c
534
return error;
drivers/block/ps3disk.c
536
ps3disk_major = error;
drivers/block/ps3disk.c
541
error = ps3_system_bus_driver_register(&ps3disk);
drivers/block/ps3disk.c
542
if (error)
drivers/block/ps3disk.c
545
return error;
drivers/block/ps3vram.c
535
blk_status_t error = 0;
drivers/block/ps3vram.c
548
error = ps3vram_write(dev, offset, len, &retlen, ptr);
drivers/block/ps3vram.c
550
error = ps3vram_read(dev, offset, len, &retlen, ptr);
drivers/block/ps3vram.c
552
if (error) {
drivers/block/ps3vram.c
559
error = BLK_STS_IOERR;
drivers/block/ps3vram.c
574
bio->bi_status = error;
drivers/block/ps3vram.c
608
int error, status;
drivers/block/ps3vram.c
616
error = -ENOMEM;
drivers/block/ps3vram.c
629
error = -ENOMEM;
drivers/block/ps3vram.c
640
error = -EAGAIN;
drivers/block/ps3vram.c
649
error = -EINVAL;
drivers/block/ps3vram.c
664
error = -ENOMEM;
drivers/block/ps3vram.c
676
error = -ENOMEM;
drivers/block/ps3vram.c
689
error = -ENOMEM;
drivers/block/ps3vram.c
696
error = -ENOMEM;
drivers/block/ps3vram.c
703
error = -ENOMEM;
drivers/block/ps3vram.c
716
error = ps3vram_wait_ring(dev, 100);
drivers/block/ps3vram.c
718
if (error < 0) {
drivers/block/ps3vram.c
720
error = -ETIMEDOUT;
drivers/block/ps3vram.c
724
error = ps3vram_cache_init(dev);
drivers/block/ps3vram.c
725
if (error < 0) {
drivers/block/ps3vram.c
734
error = PTR_ERR(gendisk);
drivers/block/ps3vram.c
750
error = device_add_disk(&dev->core, gendisk, NULL);
drivers/block/ps3vram.c
751
if (error)
drivers/block/ps3vram.c
780
return error;
drivers/block/ps3vram.c
817
int error;
drivers/block/ps3vram.c
822
error = register_blkdev(0, DEVICE_NAME);
drivers/block/ps3vram.c
823
if (error <= 0) {
drivers/block/ps3vram.c
824
pr_err("%s: register_blkdev failed %d\n", DEVICE_NAME, error);
drivers/block/ps3vram.c
825
return error;
drivers/block/ps3vram.c
827
ps3vram_major = error;
drivers/block/ps3vram.c
832
error = ps3_system_bus_driver_register(&ps3vram);
drivers/block/ps3vram.c
833
if (error)
drivers/block/ps3vram.c
836
return error;
drivers/block/rnbd/rnbd-srv.c
423
int error;
drivers/block/rnbd/rnbd-srv.c
429
error = xa_alloc(&srv_sess->index_idr, &sess_dev->device_id, sess_dev,
drivers/block/rnbd/rnbd-srv.c
431
if (error < 0) {
drivers/block/rnbd/rnbd-srv.c
432
pr_warn("Allocating idr failed, err: %d\n", error);
drivers/block/rnbd/rnbd-srv.c
434
return ERR_PTR(error);
drivers/block/swim3.c
1099
in_8(&sw->error);
drivers/block/swim3.c
378
in_8(&sw->error);
drivers/block/swim3.c
398
in_8(&sw->error);
drivers/block/swim3.c
475
in_8(&sw->error);
drivers/block/swim3.c
65
REG(error);
drivers/block/swim3.c
670
err = (intr & ERROR_INTR)? in_8(&sw->error): 0;
drivers/block/ublk_drv.c
1474
static void ublk_end_request(struct request *req, blk_status_t error)
drivers/block/ublk_drv.c
1477
blk_mq_end_request(req, error);
drivers/block/virtio_blk.c
1695
int error;
drivers/block/virtio_blk.c
1703
error = major;
drivers/block/virtio_blk.c
1707
error = register_virtio_driver(&virtio_blk);
drivers/block/virtio_blk.c
1708
if (error)
drivers/block/virtio_blk.c
1716
return error;
drivers/block/xen-blkback/blkback.c
1037
blk_status_t error)
drivers/block/xen-blkback/blkback.c
1041
error == BLK_STS_NOTSUPP) {
drivers/block/xen-blkback/blkback.c
1046
error == BLK_STS_NOTSUPP) {
drivers/block/xen-blkback/blkback.c
1050
} else if (error) {
drivers/block/xen-blkback/blkback.c
1052
" error=%d\n", error);
drivers/block/xen-blkback/xenbus.c
443
int error;
drivers/block/xen-blkback/xenbus.c
445
error = device_create_file(&dev->dev, &dev_attr_physical_device);
drivers/block/xen-blkback/xenbus.c
446
if (error)
drivers/block/xen-blkback/xenbus.c
449
error = device_create_file(&dev->dev, &dev_attr_mode);
drivers/block/xen-blkback/xenbus.c
450
if (error)
drivers/block/xen-blkback/xenbus.c
453
error = sysfs_create_group(&dev->dev.kobj, &xen_vbdstat_group);
drivers/block/xen-blkback/xenbus.c
454
if (error)
drivers/block/xen-blkback/xenbus.c
462
return error;
drivers/block/xen-blkfront.c
119
blk_status_t error;
drivers/block/xen-blkfront.c
1596
blkif_req(req)->error = BLK_STS_OK;
drivers/block/xen-blkfront.c
1598
blkif_req(req)->error = BLK_STS_IOERR;
drivers/block/xen-blkfront.c
1607
blkif_req(req)->error = BLK_STS_NOTSUPP;
drivers/block/xen-blkfront.c
1619
blkif_req(req)->error = BLK_STS_NOTSUPP;
drivers/block/xen-blkfront.c
1625
blkif_req(req)->error = BLK_STS_NOTSUPP;
drivers/block/xen-blkfront.c
1627
if (unlikely(blkif_req(req)->error)) {
drivers/block/xen-blkfront.c
1628
if (blkif_req(req)->error == BLK_STS_NOTSUPP)
drivers/block/xen-blkfront.c
1629
blkif_req(req)->error = BLK_STS_OK;
drivers/block/xen-blkfront.c
939
blk_mq_end_request(rq, blkif_req(rq)->error);
drivers/block/zram/backend_deflate.c
65
goto error;
drivers/block/zram/backend_deflate.c
71
goto error;
drivers/block/zram/backend_deflate.c
76
goto error;
drivers/block/zram/backend_deflate.c
80
goto error;
drivers/block/zram/backend_deflate.c
84
error:
drivers/block/zram/backend_lz4.c
52
goto error;
drivers/block/zram/backend_lz4.c
56
goto error;
drivers/block/zram/backend_lz4.c
60
goto error;
drivers/block/zram/backend_lz4.c
65
error:
drivers/block/zram/backend_lz4hc.c
52
goto error;
drivers/block/zram/backend_lz4hc.c
56
goto error;
drivers/block/zram/backend_lz4hc.c
60
goto error;
drivers/block/zram/backend_lz4hc.c
65
error:
drivers/block/zram/backend_zstd.c
135
goto error;
drivers/block/zram/backend_zstd.c
139
goto error;
drivers/block/zram/backend_zstd.c
144
goto error;
drivers/block/zram/backend_zstd.c
148
goto error;
drivers/block/zram/backend_zstd.c
154
goto error;
drivers/block/zram/backend_zstd.c
158
goto error;
drivers/block/zram/backend_zstd.c
163
error:
drivers/block/zram/backend_zstd.c
77
goto error;
drivers/block/zram/backend_zstd.c
83
goto error;
drivers/block/zram/backend_zstd.c
87
error:
drivers/block/zram/zcomp.c
231
int error;
drivers/block/zram/zcomp.c
251
error = zcomp_init(comp, params);
drivers/block/zram/zcomp.c
252
if (error) {
drivers/block/zram/zcomp.c
254
return ERR_PTR(error);
drivers/block/zram/zram_drv.c
1473
req->error = submit_bio_wait(&bio);
drivers/block/zram/zram_drv.c
1495
if (req.error || zram->compressed_wb == false)
drivers/block/zram/zram_drv.c
1496
return req.error;
drivers/block/zram/zram_drv.c
530
int error;
drivers/bluetooth/ath3k.c
223
goto error;
drivers/bluetooth/ath3k.c
242
goto error;
drivers/bluetooth/ath3k.c
249
error:
drivers/bluetooth/bfusb.c
556
goto error;
drivers/bluetooth/bfusb.c
567
goto error;
drivers/bluetooth/bfusb.c
576
goto error;
drivers/bluetooth/bfusb.c
586
error:
drivers/bluetooth/bpa10x.c
210
goto error;
drivers/bluetooth/bpa10x.c
214
goto error;
drivers/bluetooth/bpa10x.c
218
error:
drivers/bluetooth/bt3c_cs.c
472
goto error;
drivers/bluetooth/bt3c_cs.c
501
goto error;
drivers/bluetooth/bt3c_cs.c
526
error:
drivers/bluetooth/bt3c_cs.c
574
goto error;
drivers/bluetooth/bt3c_cs.c
583
goto error;
drivers/bluetooth/bt3c_cs.c
593
goto error;
drivers/bluetooth/bt3c_cs.c
598
error:
drivers/bluetooth/btintel.c
2408
goto error;
drivers/bluetooth/btintel.c
2422
goto error;
drivers/bluetooth/btintel.c
2431
error:
drivers/bluetooth/btintel.c
2459
goto error;
drivers/bluetooth/btintel.c
2466
goto error;
drivers/bluetooth/btintel.c
2473
error:
drivers/bluetooth/btintel.c
3072
goto error;
drivers/bluetooth/btintel.c
3077
goto error;
drivers/bluetooth/btintel.c
3085
goto error;
drivers/bluetooth/btintel.c
3113
goto error;
drivers/bluetooth/btintel.c
3120
goto error;
drivers/bluetooth/btintel.c
3124
error:
drivers/bluetooth/btintel_pcie.c
2253
goto error;
drivers/bluetooth/btintel_pcie.c
2268
goto error;
drivers/bluetooth/btintel_pcie.c
2278
goto error;
drivers/bluetooth/btintel_pcie.c
2288
goto error;
drivers/bluetooth/btintel_pcie.c
2290
error:
drivers/bluetooth/btmtksdio.c
1001
goto error;
drivers/bluetooth/btmtksdio.c
1010
error:
drivers/bluetooth/btmtksdio.c
987
goto error;
drivers/bluetooth/btnxpuart.c
1169
__u16 err = __le16_to_cpu(req->error);
drivers/bluetooth/btnxpuart.c
1208
err = __le16_to_cpu(req->error);
drivers/bluetooth/btnxpuart.c
278
__le16 error;
drivers/bluetooth/hci_bcm.c
820
int error;
drivers/bluetooth/hci_bcm.c
839
error = enable_irq_wake(bdev->irq);
drivers/bluetooth/hci_bcm.c
840
if (!error)
drivers/bluetooth/hci_qca.c
1532
goto error;
drivers/bluetooth/hci_qca.c
1536
error:
drivers/bluetooth/hci_qca.c
2671
goto error;
drivers/bluetooth/hci_qca.c
2714
goto error;
drivers/bluetooth/hci_qca.c
2730
goto error;
drivers/bluetooth/hci_qca.c
2735
error:
drivers/bus/fsl-mc/dprc-driver.c
148
int error;
drivers/bus/fsl-mc/dprc-driver.c
156
error = device_attach(&mc_dev->dev);
drivers/bus/fsl-mc/dprc-driver.c
157
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
160
error);
drivers/bus/fsl-mc/dprc-driver.c
172
int error;
drivers/bus/fsl-mc/dprc-driver.c
183
error = fsl_mc_device_add(obj_desc, NULL, &mc_bus_dev->dev,
drivers/bus/fsl-mc/dprc-driver.c
185
if (error < 0)
drivers/bus/fsl-mc/dprc-driver.c
250
int error;
drivers/bus/fsl-mc/dprc-driver.c
255
error = dprc_get_obj_count(mc_bus_dev->mc_io,
drivers/bus/fsl-mc/dprc-driver.c
259
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
261
error);
drivers/bus/fsl-mc/dprc-driver.c
262
return error;
drivers/bus/fsl-mc/dprc-driver.c
283
error = dprc_get_obj(mc_bus_dev->mc_io,
drivers/bus/fsl-mc/dprc-driver.c
287
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
290
i, error);
drivers/bus/fsl-mc/dprc-driver.c
296
obj_desc->id = error;
drivers/bus/fsl-mc/dprc-driver.c
335
error = fsl_mc_populate_irq_pool(mc_bus_dev,
drivers/bus/fsl-mc/dprc-driver.c
337
if (error < 0)
drivers/bus/fsl-mc/dprc-driver.c
338
return error;
drivers/bus/fsl-mc/dprc-driver.c
367
int error = 0;
drivers/bus/fsl-mc/dprc-driver.c
376
error = dprc_scan_objects(mc_bus_dev, alloc_interrupts);
drivers/bus/fsl-mc/dprc-driver.c
379
return error;
drivers/bus/fsl-mc/dprc-driver.c
391
int error;
drivers/bus/fsl-mc/dprc-driver.c
410
error = dprc_get_irq_status(mc_io, 0, mc_dev->mc_handle, 0,
drivers/bus/fsl-mc/dprc-driver.c
412
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
414
"dprc_get_irq_status() failed: %d\n", error);
drivers/bus/fsl-mc/dprc-driver.c
418
error = dprc_clear_irq_status(mc_io, 0, mc_dev->mc_handle, 0,
drivers/bus/fsl-mc/dprc-driver.c
420
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
422
"dprc_clear_irq_status() failed: %d\n", error);
drivers/bus/fsl-mc/dprc-driver.c
432
error = dprc_scan_objects(mc_dev, true);
drivers/bus/fsl-mc/dprc-driver.c
433
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
440
if (error != -ENXIO) {
drivers/bus/fsl-mc/dprc-driver.c
442
error);
drivers/bus/fsl-mc/dprc-driver.c
460
int error;
drivers/bus/fsl-mc/dprc-driver.c
466
error = dprc_set_irq_enable(mc_io, 0, mc_dev->mc_handle, 0, 0);
drivers/bus/fsl-mc/dprc-driver.c
467
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
470
error);
drivers/bus/fsl-mc/dprc-driver.c
471
return error;
drivers/bus/fsl-mc/dprc-driver.c
477
error = dprc_set_irq_mask(mc_io, 0, mc_dev->mc_handle, 0, 0x0);
drivers/bus/fsl-mc/dprc-driver.c
478
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
481
error);
drivers/bus/fsl-mc/dprc-driver.c
482
return error;
drivers/bus/fsl-mc/dprc-driver.c
488
error = dprc_clear_irq_status(mc_io, 0, mc_dev->mc_handle, 0, ~0x0U);
drivers/bus/fsl-mc/dprc-driver.c
489
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
492
error);
drivers/bus/fsl-mc/dprc-driver.c
493
return error;
drivers/bus/fsl-mc/dprc-driver.c
510
int error;
drivers/bus/fsl-mc/dprc-driver.c
517
error = devm_request_threaded_irq(&mc_dev->dev,
drivers/bus/fsl-mc/dprc-driver.c
524
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
527
error);
drivers/bus/fsl-mc/dprc-driver.c
528
return error;
drivers/bus/fsl-mc/dprc-driver.c
537
int error;
drivers/bus/fsl-mc/dprc-driver.c
542
error = dprc_set_irq_mask(mc_dev->mc_io, 0, mc_dev->mc_handle, 0,
drivers/bus/fsl-mc/dprc-driver.c
544
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
547
error);
drivers/bus/fsl-mc/dprc-driver.c
549
return error;
drivers/bus/fsl-mc/dprc-driver.c
555
error = dprc_set_irq_enable(mc_dev->mc_io, 0, mc_dev->mc_handle, 0, 1);
drivers/bus/fsl-mc/dprc-driver.c
556
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
559
error);
drivers/bus/fsl-mc/dprc-driver.c
561
return error;
drivers/bus/fsl-mc/dprc-driver.c
574
int error;
drivers/bus/fsl-mc/dprc-driver.c
576
error = fsl_mc_allocate_irqs(mc_dev);
drivers/bus/fsl-mc/dprc-driver.c
577
if (error < 0)
drivers/bus/fsl-mc/dprc-driver.c
578
return error;
drivers/bus/fsl-mc/dprc-driver.c
580
error = disable_dprc_irq(mc_dev);
drivers/bus/fsl-mc/dprc-driver.c
581
if (error < 0)
drivers/bus/fsl-mc/dprc-driver.c
584
error = register_dprc_irq_handler(mc_dev);
drivers/bus/fsl-mc/dprc-driver.c
585
if (error < 0)
drivers/bus/fsl-mc/dprc-driver.c
588
error = enable_dprc_irq(mc_dev);
drivers/bus/fsl-mc/dprc-driver.c
589
if (error < 0)
drivers/bus/fsl-mc/dprc-driver.c
596
return error;
drivers/bus/fsl-mc/dprc-driver.c
618
int error;
drivers/bus/fsl-mc/dprc-driver.c
638
error = fsl_create_mc_io(&mc_dev->dev,
drivers/bus/fsl-mc/dprc-driver.c
644
if (error < 0)
drivers/bus/fsl-mc/dprc-driver.c
645
return error;
drivers/bus/fsl-mc/dprc-driver.c
649
error = fsl_mc_uapi_create_device_file(mc_bus);
drivers/bus/fsl-mc/dprc-driver.c
650
if (error < 0)
drivers/bus/fsl-mc/dprc-driver.c
664
error = dprc_open(mc_dev->mc_io, 0, mc_dev->obj_desc.id,
drivers/bus/fsl-mc/dprc-driver.c
666
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
667
dev_err(&mc_dev->dev, "dprc_open() failed: %d\n", error);
drivers/bus/fsl-mc/dprc-driver.c
671
error = dprc_get_attributes(mc_dev->mc_io, 0, mc_dev->mc_handle,
drivers/bus/fsl-mc/dprc-driver.c
673
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
675
error);
drivers/bus/fsl-mc/dprc-driver.c
679
error = dprc_get_api_version(mc_dev->mc_io, 0,
drivers/bus/fsl-mc/dprc-driver.c
682
if (error < 0) {
drivers/bus/fsl-mc/dprc-driver.c
684
error);
drivers/bus/fsl-mc/dprc-driver.c
692
error = -ENOTSUPP;
drivers/bus/fsl-mc/dprc-driver.c
713
return error;
drivers/bus/fsl-mc/dprc-driver.c
729
int error;
drivers/bus/fsl-mc/dprc-driver.c
731
error = dprc_setup(mc_dev);
drivers/bus/fsl-mc/dprc-driver.c
732
if (error < 0)
drivers/bus/fsl-mc/dprc-driver.c
733
return error;
drivers/bus/fsl-mc/dprc-driver.c
738
error = dprc_scan_container(mc_dev, true);
drivers/bus/fsl-mc/dprc-driver.c
739
if (error < 0)
drivers/bus/fsl-mc/dprc-driver.c
745
error = dprc_setup_irq(mc_dev);
drivers/bus/fsl-mc/dprc-driver.c
746
if (error < 0)
drivers/bus/fsl-mc/dprc-driver.c
756
return error;
drivers/bus/fsl-mc/dprc-driver.c
785
int error;
drivers/bus/fsl-mc/dprc-driver.c
806
error = dprc_close(mc_dev->mc_io, 0, mc_dev->mc_handle);
drivers/bus/fsl-mc/dprc-driver.c
807
if (error < 0)
drivers/bus/fsl-mc/dprc-driver.c
808
dev_err(&mc_dev->dev, "dprc_close() failed: %d\n", error);
drivers/bus/fsl-mc/fsl-mc-allocator.c
104
int error = -EINVAL;
drivers/bus/fsl-mc/fsl-mc-allocator.c
138
error = -EBUSY;
drivers/bus/fsl-mc/fsl-mc-allocator.c
151
error = 0;
drivers/bus/fsl-mc/fsl-mc-allocator.c
155
return error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
188
int error = -EINVAL;
drivers/bus/fsl-mc/fsl-mc-allocator.c
206
error = -ENXIO;
drivers/bus/fsl-mc/fsl-mc-allocator.c
224
error = 0;
drivers/bus/fsl-mc/fsl-mc-allocator.c
229
return error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
281
int error = -EINVAL;
drivers/bus/fsl-mc/fsl-mc-allocator.c
286
goto error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
289
goto error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
292
goto error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
296
error = fsl_mc_resource_allocate(mc_bus, pool_type, &resource);
drivers/bus/fsl-mc/fsl-mc-allocator.c
297
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-allocator.c
298
goto error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
302
error = -EINVAL;
drivers/bus/fsl-mc/fsl-mc-allocator.c
303
goto error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
310
error = -EINVAL;
drivers/bus/fsl-mc/fsl-mc-allocator.c
311
goto error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
316
error:
drivers/bus/fsl-mc/fsl-mc-allocator.c
320
return error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
361
int error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
374
error = fsl_mc_msi_domain_alloc_irqs(&mc_bus_dev->dev, irq_count);
drivers/bus/fsl-mc/fsl-mc-allocator.c
375
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-allocator.c
376
return error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
382
error = -ENOMEM;
drivers/bus/fsl-mc/fsl-mc-allocator.c
40
int error = -EINVAL;
drivers/bus/fsl-mc/fsl-mc-allocator.c
409
return error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
448
int error = -EINVAL;
drivers/bus/fsl-mc/fsl-mc-allocator.c
483
error = fsl_mc_resource_allocate(mc_bus, FSL_MC_POOL_IRQ,
drivers/bus/fsl-mc/fsl-mc-allocator.c
485
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-allocator.c
504
return error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
567
int error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
577
error = object_type_to_pool_type(mc_dev->obj_desc.type, &pool_type);
drivers/bus/fsl-mc/fsl-mc-allocator.c
578
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-allocator.c
579
return error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
581
error = fsl_mc_resource_pool_add_device(mc_bus, pool_type, mc_dev);
drivers/bus/fsl-mc/fsl-mc-allocator.c
582
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-allocator.c
583
return error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
596
int error;
drivers/bus/fsl-mc/fsl-mc-allocator.c
599
error = fsl_mc_resource_pool_remove_device(mc_dev);
drivers/bus/fsl-mc/fsl-mc-allocator.c
600
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-allocator.c
66
error = -ENOMEM;
drivers/bus/fsl-mc/fsl-mc-allocator.c
81
error = 0;
drivers/bus/fsl-mc/fsl-mc-allocator.c
85
return error;
drivers/bus/fsl-mc/fsl-mc-bus.c
1031
int error;
drivers/bus/fsl-mc/fsl-mc-bus.c
1064
error = acpi_dma_configure_id(&pdev->dev,
drivers/bus/fsl-mc/fsl-mc-bus.c
1067
if (error == -EPROBE_DEFER)
drivers/bus/fsl-mc/fsl-mc-bus.c
1068
return error;
drivers/bus/fsl-mc/fsl-mc-bus.c
1069
if (error)
drivers/bus/fsl-mc/fsl-mc-bus.c
1072
error);
drivers/bus/fsl-mc/fsl-mc-bus.c
1099
error = fsl_create_mc_io(&pdev->dev, mc_portal_phys_addr,
drivers/bus/fsl-mc/fsl-mc-bus.c
1102
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-bus.c
1103
return error;
drivers/bus/fsl-mc/fsl-mc-bus.c
1105
error = mc_get_version(mc_io, 0, &mc_version);
drivers/bus/fsl-mc/fsl-mc-bus.c
1106
if (error != 0) {
drivers/bus/fsl-mc/fsl-mc-bus.c
1108
"mc_get_version() failed with error %d\n", error);
drivers/bus/fsl-mc/fsl-mc-bus.c
1116
error = get_mc_addr_translation_ranges(&pdev->dev,
drivers/bus/fsl-mc/fsl-mc-bus.c
1119
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-bus.c
1123
error = dprc_get_container_id(mc_io, 0, &container_id);
drivers/bus/fsl-mc/fsl-mc-bus.c
1124
if (error < 0) {
drivers/bus/fsl-mc/fsl-mc-bus.c
1126
"dprc_get_container_id() failed: %d\n", error);
drivers/bus/fsl-mc/fsl-mc-bus.c
1131
error = dprc_get_api_version(mc_io, 0,
drivers/bus/fsl-mc/fsl-mc-bus.c
1134
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-bus.c
1143
error = fsl_mc_device_add(&obj_desc, mc_io, &pdev->dev, &mc_bus_dev);
drivers/bus/fsl-mc/fsl-mc-bus.c
1144
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-bus.c
1153
return error;
drivers/bus/fsl-mc/fsl-mc-bus.c
1247
int error;
drivers/bus/fsl-mc/fsl-mc-bus.c
1249
error = bus_register(&fsl_mc_bus_type);
drivers/bus/fsl-mc/fsl-mc-bus.c
1250
if (error < 0) {
drivers/bus/fsl-mc/fsl-mc-bus.c
1251
pr_err("bus type registration failed: %d\n", error);
drivers/bus/fsl-mc/fsl-mc-bus.c
1255
error = platform_driver_register(&fsl_mc_bus_driver);
drivers/bus/fsl-mc/fsl-mc-bus.c
1256
if (error < 0) {
drivers/bus/fsl-mc/fsl-mc-bus.c
1257
pr_err("platform_driver_register() failed: %d\n", error);
drivers/bus/fsl-mc/fsl-mc-bus.c
1261
error = dprc_driver_init();
drivers/bus/fsl-mc/fsl-mc-bus.c
1262
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-bus.c
1265
error = fsl_mc_allocator_driver_init();
drivers/bus/fsl-mc/fsl-mc-bus.c
1266
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-bus.c
1281
return error;
drivers/bus/fsl-mc/fsl-mc-bus.c
483
int error;
drivers/bus/fsl-mc/fsl-mc-bus.c
488
error = driver_register(&mc_driver->driver);
drivers/bus/fsl-mc/fsl-mc-bus.c
489
if (error < 0) {
drivers/bus/fsl-mc/fsl-mc-bus.c
491
mc_driver->driver.name, error);
drivers/bus/fsl-mc/fsl-mc-bus.c
492
return error;
drivers/bus/fsl-mc/fsl-mc-bus.c
580
int error;
drivers/bus/fsl-mc/fsl-mc-bus.c
582
error = dprc_open(mc_io, 0, container_id, &dprc_handle);
drivers/bus/fsl-mc/fsl-mc-bus.c
583
if (error < 0) {
drivers/bus/fsl-mc/fsl-mc-bus.c
584
dev_err(mc_io->dev, "dprc_open() failed: %d\n", error);
drivers/bus/fsl-mc/fsl-mc-bus.c
585
return error;
drivers/bus/fsl-mc/fsl-mc-bus.c
589
error = dprc_get_attributes(mc_io, 0, dprc_handle, attr);
drivers/bus/fsl-mc/fsl-mc-bus.c
590
if (error < 0) {
drivers/bus/fsl-mc/fsl-mc-bus.c
592
error);
drivers/bus/fsl-mc/fsl-mc-bus.c
596
error = 0;
drivers/bus/fsl-mc/fsl-mc-bus.c
600
return error;
drivers/bus/fsl-mc/fsl-mc-bus.c
607
int error;
drivers/bus/fsl-mc/fsl-mc-bus.c
609
error = get_dprc_attr(mc_io, container_id, &attr);
drivers/bus/fsl-mc/fsl-mc-bus.c
610
if (error == 0)
drivers/bus/fsl-mc/fsl-mc-bus.c
613
return error;
drivers/bus/fsl-mc/fsl-mc-bus.c
655
int error;
drivers/bus/fsl-mc/fsl-mc-bus.c
682
error = dprc_get_obj_region(mc_bus_dev->mc_io,
drivers/bus/fsl-mc/fsl-mc-bus.c
687
if (error < 0) {
drivers/bus/fsl-mc/fsl-mc-bus.c
689
"dprc_get_obj_region() failed: %d\n", error);
drivers/bus/fsl-mc/fsl-mc-bus.c
701
error = translate_mc_addr(mc_dev, mc_region_type,
drivers/bus/fsl-mc/fsl-mc-bus.c
721
if (error < 0) {
drivers/bus/fsl-mc/fsl-mc-bus.c
740
return error;
drivers/bus/fsl-mc/fsl-mc-bus.c
776
int error;
drivers/bus/fsl-mc/fsl-mc-bus.c
813
error = -ENODEV;
drivers/bus/fsl-mc/fsl-mc-bus.c
844
error = -EINVAL;
drivers/bus/fsl-mc/fsl-mc-bus.c
851
error = get_dprc_icid(mc_io2, obj_desc->id, &mc_dev->icid);
drivers/bus/fsl-mc/fsl-mc-bus.c
852
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-bus.c
874
error = fsl_mc_device_get_mmio_regions(mc_dev,
drivers/bus/fsl-mc/fsl-mc-bus.c
876
if (error < 0)
drivers/bus/fsl-mc/fsl-mc-bus.c
883
error = device_add(&mc_dev->dev);
drivers/bus/fsl-mc/fsl-mc-bus.c
884
if (error < 0) {
drivers/bus/fsl-mc/fsl-mc-bus.c
887
dev_name(&mc_dev->dev), error);
drivers/bus/fsl-mc/fsl-mc-bus.c
899
return error;
drivers/bus/fsl-mc/fsl-mc-msi.c
106
if (error < 0) {
drivers/bus/fsl-mc/fsl-mc-msi.c
108
"dprc_obj_set_irq() failed: %d\n", error);
drivers/bus/fsl-mc/fsl-mc-msi.c
214
int error = msi_setup_device_data(dev);
drivers/bus/fsl-mc/fsl-mc-msi.c
216
if (error)
drivers/bus/fsl-mc/fsl-mc-msi.c
217
return error;
drivers/bus/fsl-mc/fsl-mc-msi.c
223
error = msi_domain_alloc_irqs_range(dev, MSI_DEFAULT_DOMAIN, 0, irq_count - 1);
drivers/bus/fsl-mc/fsl-mc-msi.c
225
if (error)
drivers/bus/fsl-mc/fsl-mc-msi.c
227
return error;
drivers/bus/fsl-mc/fsl-mc-msi.c
62
int error;
drivers/bus/fsl-mc/fsl-mc-msi.c
86
error = dprc_set_irq(mc_bus_dev->mc_io,
drivers/bus/fsl-mc/fsl-mc-msi.c
91
if (error < 0) {
drivers/bus/fsl-mc/fsl-mc-msi.c
93
"dprc_set_irq() failed: %d\n", error);
drivers/bus/fsl-mc/fsl-mc-msi.c
99
error = dprc_set_obj_irq(mc_bus_dev->mc_io,
drivers/bus/fsl-mc/fsl-mc-uapi.c
456
int error;
drivers/bus/fsl-mc/fsl-mc-uapi.c
458
error = copy_from_user(&mc_cmd, (void __user *)arg, sizeof(mc_cmd));
drivers/bus/fsl-mc/fsl-mc-uapi.c
459
if (error)
drivers/bus/fsl-mc/fsl-mc-uapi.c
462
error = fsl_mc_command_check(mc_dev, &mc_cmd);
drivers/bus/fsl-mc/fsl-mc-uapi.c
463
if (error)
drivers/bus/fsl-mc/fsl-mc-uapi.c
464
return error;
drivers/bus/fsl-mc/fsl-mc-uapi.c
466
error = mc_send_command(mc_io, &mc_cmd);
drivers/bus/fsl-mc/fsl-mc-uapi.c
467
if (error)
drivers/bus/fsl-mc/fsl-mc-uapi.c
468
return error;
drivers/bus/fsl-mc/fsl-mc-uapi.c
470
error = copy_to_user((void __user *)arg, &mc_cmd, sizeof(mc_cmd));
drivers/bus/fsl-mc/fsl-mc-uapi.c
471
if (error)
drivers/bus/fsl-mc/fsl-mc-uapi.c
484
int error;
drivers/bus/fsl-mc/fsl-mc-uapi.c
500
error = fsl_mc_portal_allocate(root_mc_device, 0,
drivers/bus/fsl-mc/fsl-mc-uapi.c
502
if (error) {
drivers/bus/fsl-mc/fsl-mc-uapi.c
521
return error;
drivers/bus/fsl-mc/fsl-mc-uapi.c
556
int error;
drivers/bus/fsl-mc/fsl-mc-uapi.c
563
error = fsl_mc_uapi_send_command(root_mc_device, arg, priv_data->mc_io);
drivers/bus/fsl-mc/fsl-mc-uapi.c
567
error = -EINVAL;
drivers/bus/fsl-mc/fsl-mc-uapi.c
570
return error;
drivers/bus/fsl-mc/fsl-mc-uapi.c
584
int error;
drivers/bus/fsl-mc/fsl-mc-uapi.c
590
error = misc_register(&mc_uapi->misc);
drivers/bus/fsl-mc/fsl-mc-uapi.c
591
if (error)
drivers/bus/fsl-mc/fsl-mc-uapi.c
592
return error;
drivers/bus/fsl-mc/mc-io.c
112
error = fsl_mc_io_set_dpmcp(mc_io, dpmcp_dev);
drivers/bus/fsl-mc/mc-io.c
113
if (error < 0)
drivers/bus/fsl-mc/mc-io.c
122
return error;
drivers/bus/fsl-mc/mc-io.c
15
int error;
drivers/bus/fsl-mc/mc-io.c
174
int error = -EINVAL;
drivers/bus/fsl-mc/mc-io.c
182
return error;
drivers/bus/fsl-mc/mc-io.c
189
error = fsl_mc_resource_allocate(mc_bus, FSL_MC_POOL_DPMCP, &resource);
drivers/bus/fsl-mc/mc-io.c
190
if (error < 0)
drivers/bus/fsl-mc/mc-io.c
191
return error;
drivers/bus/fsl-mc/mc-io.c
193
error = -EINVAL;
drivers/bus/fsl-mc/mc-io.c
203
error = -ENOTSUPP;
drivers/bus/fsl-mc/mc-io.c
210
error = fsl_create_mc_io(&mc_bus_dev->dev,
drivers/bus/fsl-mc/mc-io.c
214
if (error < 0)
drivers/bus/fsl-mc/mc-io.c
227
error = -EINVAL;
drivers/bus/fsl-mc/mc-io.c
23
error = dpmcp_open(mc_io,
drivers/bus/fsl-mc/mc-io.c
239
return error;
drivers/bus/fsl-mc/mc-io.c
27
if (error < 0)
drivers/bus/fsl-mc/mc-io.c
28
return error;
drivers/bus/fsl-mc/mc-io.c
37
int error;
drivers/bus/fsl-mc/mc-io.c
40
error = dpmcp_close(mc_io,
drivers/bus/fsl-mc/mc-io.c
43
if (error < 0) {
drivers/bus/fsl-mc/mc-io.c
45
error);
drivers/bus/fsl-mc/mc-io.c
71
int error;
drivers/bus/fsl-mc/mc-sys.c
247
int error;
drivers/bus/fsl-mc/mc-sys.c
268
error = mc_polling_wait_preemptible(mc_io, cmd, &status);
drivers/bus/fsl-mc/mc-sys.c
270
error = mc_polling_wait_atomic(mc_io, cmd, &status);
drivers/bus/fsl-mc/mc-sys.c
272
if (error < 0)
drivers/bus/fsl-mc/mc-sys.c
284
error = mc_status_to_error(status);
drivers/bus/fsl-mc/mc-sys.c
288
error = 0;
drivers/bus/fsl-mc/mc-sys.c
295
return error;
drivers/bus/moxtet.c
860
goto error;
drivers/bus/moxtet.c
873
error:
drivers/bus/omap_l3_smx.c
140
u64 error, int error_addr)
drivers/bus/omap_l3_smx.c
142
u8 code = omap3_l3_decode_error_code(error);
drivers/bus/omap_l3_smx.c
143
u8 initid = omap3_l3_decode_initid(error);
drivers/bus/omap_l3_smx.c
144
u8 multi = error & L3_ERROR_LOG_MULTI;
drivers/bus/omap_l3_smx.c
160
u64 error;
drivers/bus/omap_l3_smx.c
177
error = omap3_l3_readll(base, L3_ERROR_LOG);
drivers/bus/omap_l3_smx.c
178
if (error) {
drivers/bus/omap_l3_smx.c
180
ret |= omap3_l3_block_irq(l3, error, error_addr);
drivers/bus/omap_l3_smx.c
197
omap3_l3_writell(base, L3_ERROR_LOG, error);
drivers/bus/omap_l3_smx.c
31
static inline enum omap3_l3_code omap3_l3_decode_error_code(u64 error)
drivers/bus/omap_l3_smx.c
33
return (error & 0x0f000000) >> L3_ERROR_LOG_CODE;
drivers/bus/omap_l3_smx.c
41
static inline unsigned omap3_l3_decode_cmd(u64 error)
drivers/bus/omap_l3_smx.c
43
return (error & 0x07) >> L3_ERROR_LOG_CMD;
drivers/bus/omap_l3_smx.c
46
static inline enum omap3_l3_initiator_id omap3_l3_decode_initid(u64 error)
drivers/bus/omap_l3_smx.c
48
return (error & 0xff00) >> L3_ERROR_LOG_INITID;
drivers/bus/omap_l3_smx.c
51
static inline unsigned omap3_l3_decode_req_info(u64 error)
drivers/bus/omap_l3_smx.c
53
return (error >> 32) & 0xffff;
drivers/bus/ti-sysc.c
1006
int error;
drivers/bus/ti-sysc.c
1015
error = sysc_enable_opt_clocks(ddata);
drivers/bus/ti-sysc.c
1016
if (error) {
drivers/bus/ti-sysc.c
1019
error);
drivers/bus/ti-sysc.c
1020
return error;
drivers/bus/ti-sysc.c
1028
error = sysc_wait_softreset(ddata);
drivers/bus/ti-sysc.c
1029
if (error)
drivers/bus/ti-sysc.c
1094
error = -EINVAL;
drivers/bus/ti-sysc.c
1113
error = 0;
drivers/bus/ti-sysc.c
1122
return error;
drivers/bus/ti-sysc.c
1222
int error;
drivers/bus/ti-sysc.c
1231
error = pdata->idle_module(dev, &ddata->cookie);
drivers/bus/ti-sysc.c
1232
if (error)
drivers/bus/ti-sysc.c
1234
__func__, error);
drivers/bus/ti-sysc.c
1245
int error;
drivers/bus/ti-sysc.c
1254
error = pdata->enable_module(dev, &ddata->cookie);
drivers/bus/ti-sysc.c
1255
if (error)
drivers/bus/ti-sysc.c
1257
__func__, error);
drivers/bus/ti-sysc.c
1267
int error = 0;
drivers/bus/ti-sysc.c
1277
error = sysc_runtime_suspend_legacy(dev, ddata);
drivers/bus/ti-sysc.c
1278
if (error)
drivers/bus/ti-sysc.c
1281
error = sysc_disable_module(dev);
drivers/bus/ti-sysc.c
1282
if (error)
drivers/bus/ti-sysc.c
1298
return error;
drivers/bus/ti-sysc.c
1304
int error = 0;
drivers/bus/ti-sysc.c
1315
error = sysc_enable_opt_clocks(ddata);
drivers/bus/ti-sysc.c
1316
if (error)
drivers/bus/ti-sysc.c
1320
error = sysc_enable_main_clocks(ddata);
drivers/bus/ti-sysc.c
1321
if (error)
drivers/bus/ti-sysc.c
1327
error = sysc_runtime_resume_legacy(dev, ddata);
drivers/bus/ti-sysc.c
1328
if (error)
drivers/bus/ti-sysc.c
1331
error = sysc_enable_module(dev);
drivers/bus/ti-sysc.c
1332
if (error)
drivers/bus/ti-sysc.c
1350
return error;
drivers/bus/ti-sysc.c
1378
int error;
drivers/bus/ti-sysc.c
1382
error = sysc_check_context(ddata);
drivers/bus/ti-sysc.c
1383
if (!error)
drivers/bus/ti-sysc.c
1387
error = sysc_runtime_suspend(dev);
drivers/bus/ti-sysc.c
1388
if (error)
drivers/bus/ti-sysc.c
1389
dev_warn(dev, "reinit suspend failed: %i\n", error);
drivers/bus/ti-sysc.c
1393
error = sysc_runtime_resume(dev);
drivers/bus/ti-sysc.c
1394
if (error)
drivers/bus/ti-sysc.c
1395
dev_warn(dev, "reinit resume failed: %i\n", error);
drivers/bus/ti-sysc.c
1399
error = sysc_reset(ddata);
drivers/bus/ti-sysc.c
1400
if (error)
drivers/bus/ti-sysc.c
1401
dev_warn(dev, "reinit reset failed: %i\n", error);
drivers/bus/ti-sysc.c
1407
return error;
drivers/bus/ti-sysc.c
1410
error = sysc_runtime_suspend(dev);
drivers/bus/ti-sysc.c
1411
if (error)
drivers/bus/ti-sysc.c
1412
dev_warn(dev, "reinit suspend failed: %i\n", error);
drivers/bus/ti-sysc.c
1414
return error;
drivers/bus/ti-sysc.c
1437
int error = 0;
drivers/bus/ti-sysc.c
1445
error = sysc_reinit_module(ddata, ddata->needs_resume);
drivers/bus/ti-sysc.c
1446
if (error)
drivers/bus/ti-sysc.c
1447
dev_warn(dev, "noirq_resume failed: %i\n", error);
drivers/bus/ti-sysc.c
1449
error = sysc_runtime_resume(dev);
drivers/bus/ti-sysc.c
1450
if (error)
drivers/bus/ti-sysc.c
1451
dev_warn(dev, "noirq_resume failed: %i\n", error);
drivers/bus/ti-sysc.c
1456
return error;
drivers/bus/ti-sysc.c
1815
int error;
drivers/bus/ti-sysc.c
1830
error = readl_poll_timeout(ddata->module_va + dispc_offset + 0x18,
drivers/bus/ti-sysc.c
1832
if (error)
drivers/bus/ti-sysc.c
1903
int error;
drivers/bus/ti-sysc.c
1912
error = readl_poll_timeout_atomic(ddata->module_va + 0x44, val,
drivers/bus/ti-sysc.c
1914
if (error)
drivers/bus/ti-sysc.c
1960
int wps, spr, error;
drivers/bus/ti-sysc.c
1967
error = readl_poll_timeout(ddata->module_va + wps, val,
drivers/bus/ti-sysc.c
1970
if (error)
drivers/bus/ti-sysc.c
1974
error = readl_poll_timeout(ddata->module_va + wps, val,
drivers/bus/ti-sysc.c
1977
if (error)
drivers/bus/ti-sysc.c
2068
int error;
drivers/bus/ti-sysc.c
2084
error = pdata->init_clockdomain(ddata->dev, fck, ick, &ddata->cookie);
drivers/bus/ti-sysc.c
2085
if (!error || error == -ENODEV)
drivers/bus/ti-sysc.c
2088
return error;
drivers/bus/ti-sysc.c
2099
int error;
drivers/bus/ti-sysc.c
2104
error = pdata->init_module(ddata->dev, ddata->mdata, &ddata->cookie);
drivers/bus/ti-sysc.c
2105
if (error == -EEXIST)
drivers/bus/ti-sysc.c
2106
error = 0;
drivers/bus/ti-sysc.c
2108
return error;
drivers/bus/ti-sysc.c
2117
int sysc_offset, sysc_val, error;
drivers/bus/ti-sysc.c
2155
error = sysc_wait_softreset(ddata);
drivers/bus/ti-sysc.c
2156
if (error)
drivers/bus/ti-sysc.c
2162
return error;
drivers/bus/ti-sysc.c
2174
int error = sysc_clockdomain_init(ddata);
drivers/bus/ti-sysc.c
2176
if (error)
drivers/bus/ti-sysc.c
2177
return error;
drivers/bus/ti-sysc.c
2185
error = sysc_enable_opt_clocks(ddata);
drivers/bus/ti-sysc.c
2186
if (error)
drivers/bus/ti-sysc.c
2187
return error;
drivers/bus/ti-sysc.c
2189
error = sysc_enable_main_clocks(ddata);
drivers/bus/ti-sysc.c
2190
if (error)
drivers/bus/ti-sysc.c
2194
error = reset_control_deassert(ddata->rsts);
drivers/bus/ti-sysc.c
2195
if (error)
drivers/bus/ti-sysc.c
2205
error = sysc_legacy_init(ddata);
drivers/bus/ti-sysc.c
2206
if (error)
drivers/bus/ti-sysc.c
2211
error = sysc_enable_module(ddata->dev);
drivers/bus/ti-sysc.c
2212
if (error)
drivers/bus/ti-sysc.c
2217
error = sysc_reset(ddata);
drivers/bus/ti-sysc.c
2218
if (error)
drivers/bus/ti-sysc.c
2219
dev_err(ddata->dev, "Reset failed with %d\n", error);
drivers/bus/ti-sysc.c
2221
if (error && !ddata->legacy_mode)
drivers/bus/ti-sysc.c
2226
if (error)
drivers/bus/ti-sysc.c
2230
if (error) {
drivers/bus/ti-sysc.c
2235
if (error && rstctrl_deasserted &&
drivers/bus/ti-sysc.c
2239
return error;
drivers/bus/ti-sysc.c
2245
int error;
drivers/bus/ti-sysc.c
2248
error = of_property_read_u32(np, "ti,sysc-mask", &val);
drivers/bus/ti-sysc.c
2249
if (error)
drivers/bus/ti-sysc.c
2276
int error;
drivers/bus/ti-sysc.c
2278
error = sysc_init_idlemode(ddata, &ddata->cfg.midlemodes,
drivers/bus/ti-sysc.c
2280
if (error)
drivers/bus/ti-sysc.c
2281
return error;
drivers/bus/ti-sysc.c
2283
error = sysc_init_idlemode(ddata, &ddata->cfg.sidlemodes,
drivers/bus/ti-sysc.c
2285
if (error)
drivers/bus/ti-sysc.c
2286
return error;
drivers/bus/ti-sysc.c
2301
int error;
drivers/bus/ti-sysc.c
2304
error = of_property_read_u32(np, "ti,syss-mask", &val);
drivers/bus/ti-sysc.c
2305
if (error) {
drivers/bus/ti-sysc.c
2332
int error = 0;
drivers/bus/ti-sysc.c
2339
error = -EEXIST;
drivers/bus/ti-sysc.c
2349
error = -ENOMEM;
drivers/bus/ti-sysc.c
2353
return error;
drivers/bus/ti-sysc.c
2359
int i, error;
drivers/bus/ti-sysc.c
2362
error = sysc_child_add_named_clock(ddata,
drivers/bus/ti-sysc.c
2365
if (error && error != -EEXIST) {
drivers/bus/ti-sysc.c
2367
ddata->clock_roles[i], error);
drivers/bus/ti-sysc.c
2369
return error;
drivers/bus/ti-sysc.c
2392
int error;
drivers/bus/ti-sysc.c
2396
error = pm_generic_runtime_suspend(dev);
drivers/bus/ti-sysc.c
2397
if (error)
drivers/bus/ti-sysc.c
2398
return error;
drivers/bus/ti-sysc.c
2409
int error;
drivers/bus/ti-sysc.c
2414
error = sysc_runtime_resume(ddata->dev);
drivers/bus/ti-sysc.c
2415
if (error < 0)
drivers/bus/ti-sysc.c
2417
"%s error: %i\n", __func__, error);
drivers/bus/ti-sysc.c
2498
int error;
drivers/bus/ti-sysc.c
2506
error = sysc_child_add_clocks(ddata, dev);
drivers/bus/ti-sysc.c
2507
if (error)
drivers/bus/ti-sysc.c
2508
return error;
drivers/bus/ti-sysc.c
252
int error, retries;
drivers/bus/ti-sysc.c
2559
int error;
drivers/bus/ti-sysc.c
2565
error = of_property_read_u32(np, "ti,sysc-delay-us", &val);
drivers/bus/ti-sysc.c
2566
if (!error) {
drivers/bus/ti-sysc.c
261
error = readx_poll_timeout_atomic(sysc_read_sysstatus, ddata,
drivers/bus/ti-sysc.c
272
error = -ETIMEDOUT;
drivers/bus/ti-sysc.c
275
return error;
drivers/bus/ti-sysc.c
280
int error, retries;
drivers/bus/ti-sysc.c
286
error = readx_poll_timeout_atomic(sysc_read_sysconfig, ddata,
drivers/bus/ti-sysc.c
297
error = -ETIMEDOUT;
drivers/bus/ti-sysc.c
300
return error;
drivers/bus/ti-sysc.c
306
int syss_offset, error = 0;
drivers/bus/ti-sysc.c
3087
int error = 0;
drivers/bus/ti-sysc.c
3093
error = -ENODEV;
drivers/bus/ti-sysc.c
3099
return error;
drivers/bus/ti-sysc.c
3109
int error;
drivers/bus/ti-sysc.c
3126
error = -ENXIO;
drivers/bus/ti-sysc.c
3129
error = -EBUSY;
drivers/bus/ti-sysc.c
3134
return error;
drivers/bus/ti-sysc.c
314
error = sysc_poll_reset_sysstatus(ddata);
drivers/bus/ti-sysc.c
3148
int error;
drivers/bus/ti-sysc.c
316
error = sysc_poll_reset_sysconfig(ddata);
drivers/bus/ti-sysc.c
3160
error = sysc_init_static_data(ddata);
drivers/bus/ti-sysc.c
3161
if (error)
drivers/bus/ti-sysc.c
3162
return error;
drivers/bus/ti-sysc.c
3164
error = sysc_init_match(ddata);
drivers/bus/ti-sysc.c
3165
if (error)
drivers/bus/ti-sysc.c
3166
return error;
drivers/bus/ti-sysc.c
3168
error = sysc_init_dts_quirks(ddata);
drivers/bus/ti-sysc.c
3169
if (error)
drivers/bus/ti-sysc.c
3170
return error;
drivers/bus/ti-sysc.c
3172
error = sysc_map_and_check_registers(ddata);
drivers/bus/ti-sysc.c
3173
if (error)
drivers/bus/ti-sysc.c
3174
return error;
drivers/bus/ti-sysc.c
3176
error = sysc_init_sysc_mask(ddata);
drivers/bus/ti-sysc.c
3177
if (error)
drivers/bus/ti-sysc.c
3178
return error;
drivers/bus/ti-sysc.c
318
return error;
drivers/bus/ti-sysc.c
3180
error = sysc_init_idlemodes(ddata);
drivers/bus/ti-sysc.c
3181
if (error)
drivers/bus/ti-sysc.c
3182
return error;
drivers/bus/ti-sysc.c
3184
error = sysc_init_syss_mask(ddata);
drivers/bus/ti-sysc.c
3185
if (error)
drivers/bus/ti-sysc.c
3186
return error;
drivers/bus/ti-sysc.c
3188
error = sysc_init_pdata(ddata);
drivers/bus/ti-sysc.c
3189
if (error)
drivers/bus/ti-sysc.c
3190
return error;
drivers/bus/ti-sysc.c
3194
error = sysc_check_disabled_devices(ddata);
drivers/bus/ti-sysc.c
3195
if (error)
drivers/bus/ti-sysc.c
3196
return error;
drivers/bus/ti-sysc.c
3198
error = sysc_check_active_timer(ddata);
drivers/bus/ti-sysc.c
3199
if (error == -ENXIO)
drivers/bus/ti-sysc.c
3201
else if (error)
drivers/bus/ti-sysc.c
3202
return error;
drivers/bus/ti-sysc.c
3204
error = sysc_get_clocks(ddata);
drivers/bus/ti-sysc.c
3205
if (error)
drivers/bus/ti-sysc.c
3206
return error;
drivers/bus/ti-sysc.c
3208
error = sysc_init_resets(ddata);
drivers/bus/ti-sysc.c
3209
if (error)
drivers/bus/ti-sysc.c
3212
error = sysc_init_module(ddata);
drivers/bus/ti-sysc.c
3213
if (error)
drivers/bus/ti-sysc.c
3217
error = pm_runtime_resume_and_get(ddata->dev);
drivers/bus/ti-sysc.c
3218
if (error < 0) {
drivers/bus/ti-sysc.c
3239
error = of_platform_populate(ddata->dev->of_node,
drivers/bus/ti-sysc.c
3243
if (error)
drivers/bus/ti-sysc.c
3269
return error;
drivers/bus/ti-sysc.c
3275
int error;
drivers/bus/ti-sysc.c
3281
error = pm_runtime_resume_and_get(ddata->dev);
drivers/bus/ti-sysc.c
3282
if (error < 0) {
drivers/bus/ti-sysc.c
374
int error, index;
drivers/bus/ti-sysc.c
386
error = sysc_add_named_clock_from_child(ddata, name, optfck_name);
drivers/bus/ti-sysc.c
387
if (error)
drivers/bus/ti-sysc.c
388
return error;
drivers/bus/ti-sysc.c
398
int error, i, index = -ENODEV;
drivers/bus/ti-sysc.c
427
error = clk_prepare(ddata->clocks[index]);
drivers/bus/ti-sysc.c
428
if (error) {
drivers/bus/ti-sysc.c
430
name, error);
drivers/bus/ti-sysc.c
432
return error;
drivers/bus/ti-sysc.c
443
int nr_fck = 0, nr_ick = 0, i, error = 0;
drivers/bus/ti-sysc.c
465
error = sysc_init_ext_opt_clock(ddata, NULL);
drivers/bus/ti-sysc.c
466
if (error)
drivers/bus/ti-sysc.c
467
return error;
drivers/bus/ti-sysc.c
500
error = sysc_get_one_clock(ddata, name);
drivers/bus/ti-sysc.c
501
if (error)
drivers/bus/ti-sysc.c
502
return error;
drivers/bus/ti-sysc.c
511
int i, error;
drivers/bus/ti-sysc.c
523
error = clk_enable(clock);
drivers/bus/ti-sysc.c
524
if (error)
drivers/bus/ti-sysc.c
541
return error;
drivers/bus/ti-sysc.c
564
int i, error;
drivers/bus/ti-sysc.c
576
error = clk_enable(clock);
drivers/bus/ti-sysc.c
577
if (error)
drivers/bus/ti-sysc.c
592
return error;
drivers/bus/ti-sysc.c
666
int error;
drivers/bus/ti-sysc.c
668
error = of_range_parser_init(&parser, np);
drivers/bus/ti-sysc.c
669
if (error)
drivers/bus/ti-sysc.c
670
return error;
drivers/bus/ti-sysc.c
804
int i, error;
drivers/bus/ti-sysc.c
807
error = sysc_parse_one(ddata, i);
drivers/bus/ti-sysc.c
808
if (error)
drivers/bus/ti-sysc.c
809
return error;
drivers/bus/ti-sysc.c
900
int error;
drivers/bus/ti-sysc.c
902
error = sysc_parse_and_check_child_range(ddata);
drivers/bus/ti-sysc.c
903
if (error)
drivers/bus/ti-sysc.c
904
return error;
drivers/bus/ti-sysc.c
911
error = sysc_parse_registers(ddata);
drivers/bus/ti-sysc.c
912
if (error)
drivers/bus/ti-sysc.c
913
return error;
drivers/bus/ti-sysc.c
915
error = sysc_ioremap(ddata);
drivers/bus/ti-sysc.c
916
if (error)
drivers/bus/ti-sysc.c
917
return error;
drivers/bus/ti-sysc.c
919
error = sysc_check_registers(ddata);
drivers/bus/ti-sysc.c
920
if (error)
drivers/bus/ti-sysc.c
921
return error;
drivers/cdrom/cdrom.c
1000
tracks->error = CDS_NO_INFO;
drivers/cdrom/cdrom.c
1008
tracks->error = CDS_NO_INFO;
drivers/cdrom/cdrom.c
1081
if (tracks.error == CDS_NO_DISC) {
drivers/cdrom/cdrom.c
1239
if (tracks.error)
drivers/cdrom/cdrom.c
1240
return(tracks.error);
drivers/cdrom/cdrom.c
2546
if (tracks.error)
drivers/cdrom/cdrom.c
2547
return tracks.error;
drivers/cdrom/cdrom.c
986
tracks->error = 0;
drivers/cdrom/cdrom.c
990
tracks->error = CDS_NO_INFO;
drivers/cdrom/cdrom.c
998
tracks->error = CDS_NO_DISC;
drivers/cdx/cdx.c
307
int error;
drivers/cdx/cdx.c
314
error = msi_setup_device_data(&cdx_dev->dev);
drivers/cdx/cdx.c
315
if (error)
drivers/cdx/cdx.c
316
return error;
drivers/cdx/cdx.c
319
error = cdx_drv->probe(cdx_dev);
drivers/cdx/cdx.c
320
if (error) {
drivers/cdx/cdx.c
321
dev_err_probe(dev, error, "%s failed\n", __func__);
drivers/cdx/cdx.c
322
return error;
drivers/cdx/cdx.c
663
int error;
drivers/cdx/cdx.c
668
error = driver_register(&cdx_driver->driver);
drivers/cdx/cdx.c
669
if (error) {
drivers/cdx/cdx.c
671
cdx_driver->driver.name, error);
drivers/cdx/cdx.c
672
return error;
drivers/cdx/controller/mcdi.c
660
unsigned int respcmd, error;
drivers/cdx/controller/mcdi.c
668
error = CDX_DWORD_FIELD(outbuf[0], MCDI_HEADER_ERROR);
drivers/cdx/controller/mcdi.c
692
if (error && resp_data_len == 0) {
drivers/cdx/controller/mcdi.c
696
if (WARN_ON_ONCE(error && resp_data_len < 4))
drivers/cdx/controller/mcdi.c
698
if (error) {
drivers/char/agp/backend.c
268
int error;
drivers/char/agp/backend.c
271
error = -ENODEV;
drivers/char/agp/backend.c
277
error = -EINVAL;
drivers/char/agp/backend.c
284
error = -EINVAL;
drivers/char/agp/backend.c
288
error = agp_backend_initialize(bridge);
drivers/char/agp/backend.c
289
if (error) {
drivers/char/agp/backend.c
308
return error;
drivers/char/agp/parisc-agp.c
347
int error = 0;
drivers/char/agp/parisc-agp.c
351
error = -ENOMEM;
drivers/char/agp/parisc-agp.c
355
error = agp_ioc_init(ioc_hpa);
drivers/char/agp/parisc-agp.c
356
if (error)
drivers/char/agp/parisc-agp.c
359
error = agp_lba_init(lba_hpa);
drivers/char/agp/parisc-agp.c
360
if (error)
drivers/char/agp/parisc-agp.c
365
error = -ENOMEM;
drivers/char/agp/parisc-agp.c
374
error = agp_add_bridge(bridge);
drivers/char/agp/parisc-agp.c
375
if (error)
drivers/char/agp/parisc-agp.c
381
return error;
drivers/char/hw_random/cavium-rng-vf.c
64
goto error;
drivers/char/hw_random/cavium-rng-vf.c
78
error:
drivers/char/hw_random/core.c
662
int error;
drivers/char/hw_random/core.c
668
error = hwrng_register(rng);
drivers/char/hw_random/core.c
669
if (error) {
drivers/char/hw_random/core.c
671
return error;
drivers/char/ipmi/kcs_bmc.c
107
int error = 0;
drivers/char/ipmi/kcs_bmc.c
122
error = rc;
drivers/char/ipmi/kcs_bmc.c
126
return error;
drivers/char/ipmi/kcs_bmc_cdev_ipmi.c
157
priv->error = KCS_LENGTH_ERROR;
drivers/char/ipmi/kcs_bmc_cdev_ipmi.c
170
priv->error = KCS_LENGTH_ERROR;
drivers/char/ipmi/kcs_bmc_cdev_ipmi.c
197
kcs_bmc_write_data(dev, priv->error);
drivers/char/ipmi/kcs_bmc_cdev_ipmi.c
225
priv->error = KCS_NO_ERROR;
drivers/char/ipmi/kcs_bmc_cdev_ipmi.c
240
if (priv->error == KCS_NO_ERROR)
drivers/char/ipmi/kcs_bmc_cdev_ipmi.c
241
priv->error = KCS_ABORTED_BY_COMMAND;
drivers/char/ipmi/kcs_bmc_cdev_ipmi.c
250
priv->error = KCS_ILLEGAL_CONTROL_CODE;
drivers/char/ipmi/kcs_bmc_cdev_ipmi.c
77
enum kcs_ipmi_errors error;
drivers/char/lp.c
243
int error = 0;
drivers/char/lp.c
254
error = -ENOSPC;
drivers/char/lp.c
260
error = -EIO;
drivers/char/lp.c
266
error = -EIO;
drivers/char/lp.c
277
return error;
drivers/char/lp.c
282
int error = 0;
drivers/char/lp.c
290
error = lp_check_status(minor);
drivers/char/lp.c
291
if (error && (nonblock || (LP_F(minor) & LP_ABORT)))
drivers/char/lp.c
294
error = -EINTR;
drivers/char/lp.c
297
} while (error);
drivers/char/lp.c
298
return error;
drivers/char/lp.c
363
int error;
drivers/char/lp.c
369
error = lp_wait_ready(minor, nonblock);
drivers/char/lp.c
371
if (error) {
drivers/char/lp.c
373
retv = error;
drivers/char/ps3flash.c
334
int error;
drivers/char/ps3flash.c
366
error = -ENOMEM;
drivers/char/ps3flash.c
378
error = ps3stor_setup(dev, ps3flash_interrupt);
drivers/char/ps3flash.c
379
if (error)
drivers/char/ps3flash.c
383
error = misc_register(&ps3flash_misc);
drivers/char/ps3flash.c
384
if (error) {
drivers/char/ps3flash.c
386
__func__, __LINE__, error);
drivers/char/ps3flash.c
403
return error;
drivers/char/sonypi.c
1152
int error;
drivers/char/sonypi.c
1169
error = -ENOMEM;
drivers/char/sonypi.c
1184
error = input_register_device(jog_dev);
drivers/char/sonypi.c
1185
if (error)
drivers/char/sonypi.c
1188
error = input_register_device(key_dev);
drivers/char/sonypi.c
1189
if (error)
drivers/char/sonypi.c
1205
return error;
drivers/char/sonypi.c
1292
int error;
drivers/char/sonypi.c
1299
error = kfifo_alloc(&sonypi_device.fifo, SONYPI_BUF_SIZE, GFP_KERNEL);
drivers/char/sonypi.c
1300
if (error) {
drivers/char/sonypi.c
1302
return error;
drivers/char/sonypi.c
1323
error = -EIO;
drivers/char/sonypi.c
1346
error = sonypi_setup_ioports(&sonypi_device, ioport_list);
drivers/char/sonypi.c
1347
if (error) {
drivers/char/sonypi.c
1352
error = sonypi_setup_irq(&sonypi_device, irq_list);
drivers/char/sonypi.c
1353
if (error) {
drivers/char/sonypi.c
1360
error = misc_register(&sonypi_misc_device);
drivers/char/sonypi.c
1361
if (error) {
drivers/char/sonypi.c
1370
error = sonypi_create_input_devices(dev);
drivers/char/sonypi.c
1371
if (error) {
drivers/char/sonypi.c
1378
error = kfifo_alloc(&sonypi_device.input_fifo, SONYPI_BUF_SIZE,
drivers/char/sonypi.c
1380
if (error) {
drivers/char/sonypi.c
1408
return error;
drivers/char/sonypi.c
1497
int error;
drivers/char/sonypi.c
1506
error = platform_driver_register(&sonypi_driver);
drivers/char/sonypi.c
1507
if (error)
drivers/char/sonypi.c
1508
return error;
drivers/char/sonypi.c
1512
error = -ENOMEM;
drivers/char/sonypi.c
1516
error = platform_device_add(sonypi_platform_device);
drivers/char/sonypi.c
1517
if (error)
drivers/char/sonypi.c
1531
return error;
drivers/char/ttyprintk.c
207
goto error;
drivers/char/ttyprintk.c
214
error:
drivers/char/xilinx_hwicap/xilinx_hwicap.c
377
goto error;
drivers/char/xilinx_hwicap/xilinx_hwicap.c
388
goto error;
drivers/char/xilinx_hwicap/xilinx_hwicap.c
416
goto error;
drivers/char/xilinx_hwicap/xilinx_hwicap.c
423
goto error;
drivers/char/xilinx_hwicap/xilinx_hwicap.c
432
error:
drivers/char/xilinx_hwicap/xilinx_hwicap.c
457
goto error;
drivers/char/xilinx_hwicap/xilinx_hwicap.c
463
goto error;
drivers/char/xilinx_hwicap/xilinx_hwicap.c
484
goto error;
drivers/char/xilinx_hwicap/xilinx_hwicap.c
490
goto error;
drivers/char/xilinx_hwicap/xilinx_hwicap.c
500
goto error;
drivers/char/xilinx_hwicap/xilinx_hwicap.c
521
error:
drivers/char/xilinx_hwicap/xilinx_hwicap.c
540
goto error;
drivers/char/xilinx_hwicap/xilinx_hwicap.c
546
goto error;
drivers/char/xilinx_hwicap/xilinx_hwicap.c
554
error:
drivers/char/xilinx_hwicap/xilinx_hwicap.c
577
goto error;
drivers/char/xilinx_hwicap/xilinx_hwicap.c
582
goto error;
drivers/char/xilinx_hwicap/xilinx_hwicap.c
584
error:
drivers/char/xillybus/xillyusb.c
1059
if (!xdev->error)
drivers/char/xillybus/xillyusb.c
1093
xdev->error))
drivers/char/xillybus/xillyusb.c
1096
if (xdev->error) {
drivers/char/xillybus/xillyusb.c
1097
rc = xdev->error;
drivers/char/xillybus/xillyusb.c
1161
xdev->error,
drivers/char/xillybus/xillyusb.c
1164
if (xdev->error)
drivers/char/xillybus/xillyusb.c
1165
return xdev->error;
drivers/char/xillybus/xillyusb.c
1190
xdev->error);
drivers/char/xillybus/xillyusb.c
1191
if (xdev->error)
drivers/char/xillybus/xillyusb.c
1192
return xdev->error;
drivers/char/xillybus/xillyusb.c
1209
xdev->error,
drivers/char/xillybus/xillyusb.c
1212
if (xdev->error)
drivers/char/xillybus/xillyusb.c
1213
return xdev->error;
drivers/char/xillybus/xillyusb.c
1263
if (xdev->error)
drivers/char/xillybus/xillyusb.c
1543
if (xdev->error) {
drivers/char/xillybus/xillyusb.c
1544
rc = xdev->error;
drivers/char/xillybus/xillyusb.c
1633
if (!xdev->error)
drivers/char/xillybus/xillyusb.c
1656
if (xdev->error) {
drivers/char/xillybus/xillyusb.c
1657
rc = xdev->error;
drivers/char/xillybus/xillyusb.c
1677
fifo->fill != fifo->size || xdev->error)) {
drivers/char/xillybus/xillyusb.c
172
int error;
drivers/char/xillybus/xillyusb.c
1887
if (chan->xdev->error)
drivers/char/xillybus/xillyusb.c
2053
if (xdev->error) {
drivers/char/xillybus/xillyusb.c
2054
rc = xdev->error;
drivers/char/xillybus/xillyusb.c
2162
xdev->error = 0;
drivers/char/xillybus/xillyusb.c
2224
msg_ep->drained || xdev->error,
drivers/char/xillybus/xillyusb.c
619
if (!xdev->error) {
drivers/char/xillybus/xillyusb.c
620
xdev->error = errcode;
drivers/char/xillybus/xillyusb.c
709
if (ep->shutting_down || xdev->error)
drivers/char/xillybus/xillyusb.c
777
if (ep->shutting_down || xdev->error)
drivers/clk/clk-cdce925.c
689
goto error;
drivers/clk/clk-cdce925.c
698
goto error;
drivers/clk/clk-cdce925.c
734
goto error;
drivers/clk/clk-cdce925.c
744
goto error;
drivers/clk/clk-cdce925.c
756
goto error;
drivers/clk/clk-cdce925.c
788
goto error;
drivers/clk/clk-cdce925.c
800
error:
drivers/clk/imx/clk-composite-8m.c
55
int error = INT_MAX;
drivers/clk/imx/clk-composite-8m.c
65
if (abs(new_error) < abs(error)) {
drivers/clk/imx/clk-composite-8m.c
68
error = new_error;
drivers/clk/mmp/clk-mix.c
183
goto error;
drivers/clk/mmp/clk-mix.c
194
error:
drivers/clk/renesas/clk-div6.c
344
goto error;
drivers/clk/renesas/clk-div6.c
357
goto error;
drivers/clk/renesas/clk-div6.c
365
error:
drivers/clk/renesas/clk-mstp.c
258
int error;
drivers/clk/renesas/clk-mstp.c
283
error = pm_clk_create(dev);
drivers/clk/renesas/clk-mstp.c
284
if (error)
drivers/clk/renesas/clk-mstp.c
287
error = pm_clk_add_clk(dev, clk);
drivers/clk/renesas/clk-mstp.c
288
if (error)
drivers/clk/renesas/clk-mstp.c
297
return error;
drivers/clk/renesas/clk-mstp.c
336
int error;
drivers/clk/renesas/clk-mstp.c
341
error = of_genpd_add_provider_simple(cpg_mstp_pd_np, cpg_mstp_pd_genpd);
drivers/clk/renesas/clk-mstp.c
344
return error;
drivers/clk/renesas/r8a7742-cpg-mssr.c
246
int error;
drivers/clk/renesas/r8a7742-cpg-mssr.c
248
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a7742-cpg-mssr.c
249
if (error)
drivers/clk/renesas/r8a7742-cpg-mssr.c
250
return error;
drivers/clk/renesas/r8a7743-cpg-mssr.c
242
int error;
drivers/clk/renesas/r8a7743-cpg-mssr.c
244
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a7743-cpg-mssr.c
245
if (error)
drivers/clk/renesas/r8a7743-cpg-mssr.c
246
return error;
drivers/clk/renesas/r8a7745-cpg-mssr.c
216
int error;
drivers/clk/renesas/r8a7745-cpg-mssr.c
218
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a7745-cpg-mssr.c
219
if (error)
drivers/clk/renesas/r8a7745-cpg-mssr.c
220
return error;
drivers/clk/renesas/r8a77470-cpg-mssr.c
199
int error;
drivers/clk/renesas/r8a77470-cpg-mssr.c
201
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a77470-cpg-mssr.c
202
if (error)
drivers/clk/renesas/r8a77470-cpg-mssr.c
203
return error;
drivers/clk/renesas/r8a774a1-cpg-mssr.c
312
int error;
drivers/clk/renesas/r8a774a1-cpg-mssr.c
314
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a774a1-cpg-mssr.c
315
if (error)
drivers/clk/renesas/r8a774a1-cpg-mssr.c
316
return error;
drivers/clk/renesas/r8a774b1-cpg-mssr.c
308
int error;
drivers/clk/renesas/r8a774b1-cpg-mssr.c
310
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a774b1-cpg-mssr.c
311
if (error)
drivers/clk/renesas/r8a774b1-cpg-mssr.c
312
return error;
drivers/clk/renesas/r8a774c0-cpg-mssr.c
278
int error;
drivers/clk/renesas/r8a774c0-cpg-mssr.c
280
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a774c0-cpg-mssr.c
281
if (error)
drivers/clk/renesas/r8a774c0-cpg-mssr.c
282
return error;
drivers/clk/renesas/r8a774e1-cpg-mssr.c
320
int error;
drivers/clk/renesas/r8a774e1-cpg-mssr.c
322
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a774e1-cpg-mssr.c
323
if (error)
drivers/clk/renesas/r8a774e1-cpg-mssr.c
324
return error;
drivers/clk/renesas/r8a7790-cpg-mssr.c
247
int error;
drivers/clk/renesas/r8a7790-cpg-mssr.c
249
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a7790-cpg-mssr.c
250
if (error)
drivers/clk/renesas/r8a7790-cpg-mssr.c
251
return error;
drivers/clk/renesas/r8a7791-cpg-mssr.c
247
int error;
drivers/clk/renesas/r8a7791-cpg-mssr.c
249
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a7791-cpg-mssr.c
250
if (error)
drivers/clk/renesas/r8a7791-cpg-mssr.c
251
return error;
drivers/clk/renesas/r8a7792-cpg-mssr.c
197
int error;
drivers/clk/renesas/r8a7792-cpg-mssr.c
199
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a7792-cpg-mssr.c
200
if (error)
drivers/clk/renesas/r8a7792-cpg-mssr.c
201
return error;
drivers/clk/renesas/r8a7794-cpg-mssr.c
224
int error;
drivers/clk/renesas/r8a7794-cpg-mssr.c
226
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a7794-cpg-mssr.c
227
if (error)
drivers/clk/renesas/r8a7794-cpg-mssr.c
228
return error;
drivers/clk/renesas/r8a7795-cpg-mssr.c
355
int error;
drivers/clk/renesas/r8a7795-cpg-mssr.c
366
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a7795-cpg-mssr.c
367
if (error)
drivers/clk/renesas/r8a7795-cpg-mssr.c
368
return error;
drivers/clk/renesas/r8a7796-cpg-mssr.c
343
int error;
drivers/clk/renesas/r8a7796-cpg-mssr.c
345
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a7796-cpg-mssr.c
346
if (error)
drivers/clk/renesas/r8a7796-cpg-mssr.c
347
return error;
drivers/clk/renesas/r8a77965-cpg-mssr.c
337
int error;
drivers/clk/renesas/r8a77965-cpg-mssr.c
339
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a77965-cpg-mssr.c
340
if (error)
drivers/clk/renesas/r8a77965-cpg-mssr.c
341
return error;
drivers/clk/renesas/r8a77970-cpg-mssr.c
209
int error;
drivers/clk/renesas/r8a77970-cpg-mssr.c
211
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a77970-cpg-mssr.c
212
if (error)
drivers/clk/renesas/r8a77970-cpg-mssr.c
213
return error;
drivers/clk/renesas/r8a77980-cpg-mssr.c
234
int error;
drivers/clk/renesas/r8a77980-cpg-mssr.c
236
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a77980-cpg-mssr.c
237
if (error)
drivers/clk/renesas/r8a77980-cpg-mssr.c
238
return error;
drivers/clk/renesas/r8a77990-cpg-mssr.c
292
int error;
drivers/clk/renesas/r8a77990-cpg-mssr.c
294
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a77990-cpg-mssr.c
295
if (error)
drivers/clk/renesas/r8a77990-cpg-mssr.c
296
return error;
drivers/clk/renesas/r8a77995-cpg-mssr.c
228
int error;
drivers/clk/renesas/r8a77995-cpg-mssr.c
230
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a77995-cpg-mssr.c
231
if (error)
drivers/clk/renesas/r8a77995-cpg-mssr.c
232
return error;
drivers/clk/renesas/r8a779a0-cpg-mssr.c
286
int error;
drivers/clk/renesas/r8a779a0-cpg-mssr.c
288
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a779a0-cpg-mssr.c
289
if (error)
drivers/clk/renesas/r8a779a0-cpg-mssr.c
290
return error;
drivers/clk/renesas/r8a779f0-cpg-mssr.c
202
int error;
drivers/clk/renesas/r8a779f0-cpg-mssr.c
204
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a779f0-cpg-mssr.c
205
if (error)
drivers/clk/renesas/r8a779f0-cpg-mssr.c
206
return error;
drivers/clk/renesas/r8a779g0-cpg-mssr.c
279
int error;
drivers/clk/renesas/r8a779g0-cpg-mssr.c
281
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a779g0-cpg-mssr.c
282
if (error)
drivers/clk/renesas/r8a779g0-cpg-mssr.c
283
return error;
drivers/clk/renesas/r8a779h0-cpg-mssr.c
275
int error;
drivers/clk/renesas/r8a779h0-cpg-mssr.c
277
error = rcar_rst_read_mode_pins(&cpg_mode);
drivers/clk/renesas/r8a779h0-cpg-mssr.c
278
if (error)
drivers/clk/renesas/r8a779h0-cpg-mssr.c
279
return error;
drivers/clk/renesas/r9a06g032-clocks.c
1319
int error;
drivers/clk/renesas/r9a06g032-clocks.c
1349
error = devm_register_sys_off_handler(dev, SYS_OFF_MODE_RESTART, SYS_OFF_PRIO_HIGH,
drivers/clk/renesas/r9a06g032-clocks.c
1351
if (error)
drivers/clk/renesas/r9a06g032-clocks.c
1352
dev_warn(dev, "couldn't register restart handler (%d)\n", error);
drivers/clk/renesas/r9a06g032-clocks.c
1387
error = of_clk_add_provider(np, of_clk_src_onecell_get, &clocks->data);
drivers/clk/renesas/r9a06g032-clocks.c
1388
if (error)
drivers/clk/renesas/r9a06g032-clocks.c
1389
return error;
drivers/clk/renesas/r9a06g032-clocks.c
1391
error = devm_add_action_or_reset(dev,
drivers/clk/renesas/r9a06g032-clocks.c
1393
if (error)
drivers/clk/renesas/r9a06g032-clocks.c
1394
return error;
drivers/clk/renesas/r9a06g032-clocks.c
1396
error = r9a06g032_add_clk_domain(dev);
drivers/clk/renesas/r9a06g032-clocks.c
1397
if (error)
drivers/clk/renesas/r9a06g032-clocks.c
1398
return error;
drivers/clk/renesas/r9a06g032-clocks.c
1402
error = of_platform_populate(np, NULL, NULL, dev);
drivers/clk/renesas/r9a06g032-clocks.c
1403
if (error)
drivers/clk/renesas/r9a06g032-clocks.c
1404
dev_err(dev, "Failed to populate children (%d)\n", error);
drivers/clk/renesas/r9a06g032-clocks.c
749
int error;
drivers/clk/renesas/r9a06g032-clocks.c
755
error = pm_clk_create(dev);
drivers/clk/renesas/r9a06g032-clocks.c
756
if (error) {
drivers/clk/renesas/r9a06g032-clocks.c
758
return error;
drivers/clk/renesas/r9a06g032-clocks.c
761
error = pm_clk_add_clk(dev, clk);
drivers/clk/renesas/r9a06g032-clocks.c
762
if (error) {
drivers/clk/renesas/r9a06g032-clocks.c
767
return error;
drivers/clk/renesas/r9a06g032-clocks.c
776
int error;
drivers/clk/renesas/r9a06g032-clocks.c
787
error = create_add_module_clock(&clkspec, dev);
drivers/clk/renesas/r9a06g032-clocks.c
789
if (error)
drivers/clk/renesas/r9a06g032-clocks.c
790
return error;
drivers/clk/renesas/renesas-cpg-mssr.c
1106
int error;
drivers/clk/renesas/renesas-cpg-mssr.c
1152
error = readl_poll_timeout_atomic(priv->pub.base0 + priv->status_regs[reg],
drivers/clk/renesas/renesas-cpg-mssr.c
1154
if (error)
drivers/clk/renesas/renesas-cpg-mssr.c
1252
int error;
drivers/clk/renesas/renesas-cpg-mssr.c
1255
error = info->init(dev);
drivers/clk/renesas/renesas-cpg-mssr.c
1256
if (error)
drivers/clk/renesas/renesas-cpg-mssr.c
1257
return error;
drivers/clk/renesas/renesas-cpg-mssr.c
1272
error = -ENOMEM;
drivers/clk/renesas/renesas-cpg-mssr.c
1278
error = -ENOMEM;
drivers/clk/renesas/renesas-cpg-mssr.c
1304
error = -EINVAL;
drivers/clk/renesas/renesas-cpg-mssr.c
1311
error = cpg_mssr_reserved_init(priv, info);
drivers/clk/renesas/renesas-cpg-mssr.c
1312
if (error)
drivers/clk/renesas/renesas-cpg-mssr.c
1315
error = of_clk_add_provider(np, cpg_mssr_clk_src_twocell_get, priv);
drivers/clk/renesas/renesas-cpg-mssr.c
1316
if (error)
drivers/clk/renesas/renesas-cpg-mssr.c
1332
return error;
drivers/clk/renesas/renesas-cpg-mssr.c
1338
int error;
drivers/clk/renesas/renesas-cpg-mssr.c
1341
error = cpg_mssr_common_init(NULL, np, info);
drivers/clk/renesas/renesas-cpg-mssr.c
1342
if (error)
drivers/clk/renesas/renesas-cpg-mssr.c
1362
int error;
drivers/clk/renesas/renesas-cpg-mssr.c
1367
error = cpg_mssr_common_init(dev, dev->of_node, info);
drivers/clk/renesas/renesas-cpg-mssr.c
1368
if (error)
drivers/clk/renesas/renesas-cpg-mssr.c
1369
return error;
drivers/clk/renesas/renesas-cpg-mssr.c
1382
error = devm_add_action_or_reset(dev,
drivers/clk/renesas/renesas-cpg-mssr.c
1385
if (error)
drivers/clk/renesas/renesas-cpg-mssr.c
1388
error = cpg_mssr_add_clk_domain(dev, info->core_pm_clks,
drivers/clk/renesas/renesas-cpg-mssr.c
1390
if (error)
drivers/clk/renesas/renesas-cpg-mssr.c
1397
error = cpg_mssr_reset_controller_register(priv);
drivers/clk/renesas/renesas-cpg-mssr.c
1402
return error;
drivers/clk/renesas/renesas-cpg-mssr.c
266
int error;
drivers/clk/renesas/renesas-cpg-mssr.c
319
error = readl_poll_timeout_atomic(priv->pub.base0 + priv->status_regs[reg],
drivers/clk/renesas/renesas-cpg-mssr.c
321
if (error)
drivers/clk/renesas/renesas-cpg-mssr.c
325
return error;
drivers/clk/renesas/renesas-cpg-mssr.c
607
int error;
drivers/clk/renesas/renesas-cpg-mssr.c
632
error = pm_clk_create(dev);
drivers/clk/renesas/renesas-cpg-mssr.c
633
if (error)
drivers/clk/renesas/renesas-cpg-mssr.c
636
error = pm_clk_add_clk(dev, clk);
drivers/clk/renesas/renesas-cpg-mssr.c
637
if (error)
drivers/clk/renesas/renesas-cpg-mssr.c
646
return error;
drivers/clk/renesas/rzg2l-cpg.c
1450
int error;
drivers/clk/renesas/rzg2l-cpg.c
1480
error = readl_poll_timeout_atomic(priv->base + CLK_MON_R(reg), value,
drivers/clk/renesas/rzg2l-cpg.c
1482
if (error)
drivers/clk/renesas/rzg2l-cpg.c
1486
return error;
drivers/clk/renesas/rzg2l-cpg.c
1911
int error;
drivers/clk/renesas/rzg2l-cpg.c
1921
error = pm_clk_create(dev);
drivers/clk/renesas/rzg2l-cpg.c
1922
if (error) {
drivers/clk/renesas/rzg2l-cpg.c
1930
error = PTR_ERR(clk);
drivers/clk/renesas/rzg2l-cpg.c
1934
error = pm_clk_add_clk(dev, clk);
drivers/clk/renesas/rzg2l-cpg.c
1935
if (error) {
drivers/clk/renesas/rzg2l-cpg.c
1936
dev_err(dev, "pm_clk_add_clk failed %d\n", error);
drivers/clk/renesas/rzg2l-cpg.c
1949
return error;
drivers/clk/renesas/rzg2l-cpg.c
1994
int error;
drivers/clk/renesas/rzg2l-cpg.c
2038
error = of_clk_add_provider(np, rzg2l_cpg_clk_src_twocell_get, priv);
drivers/clk/renesas/rzg2l-cpg.c
2039
if (error)
drivers/clk/renesas/rzg2l-cpg.c
2040
return error;
drivers/clk/renesas/rzg2l-cpg.c
2042
error = devm_add_action_or_reset(dev, rzg2l_cpg_del_clk_provider, np);
drivers/clk/renesas/rzg2l-cpg.c
2043
if (error)
drivers/clk/renesas/rzg2l-cpg.c
2044
return error;
drivers/clk/renesas/rzg2l-cpg.c
2046
error = rzg2l_cpg_add_clk_domain(priv);
drivers/clk/renesas/rzg2l-cpg.c
2047
if (error)
drivers/clk/renesas/rzg2l-cpg.c
2048
return error;
drivers/clk/renesas/rzg2l-cpg.c
2050
error = rzg2l_cpg_reset_controller_register(priv);
drivers/clk/renesas/rzg2l-cpg.c
2051
if (error)
drivers/clk/renesas/rzg2l-cpg.c
2052
return error;
drivers/clk/renesas/rzv2h-cpg.c
1199
int error;
drivers/clk/renesas/rzv2h-cpg.c
1224
error = readl_poll_timeout_atomic(priv->base + reg, value,
drivers/clk/renesas/rzv2h-cpg.c
1226
if (error)
drivers/clk/renesas/rzv2h-cpg.c
1230
return error;
drivers/clk/renesas/rzv2h-cpg.c
1496
int error;
drivers/clk/renesas/rzv2h-cpg.c
1506
error = pm_clk_create(dev);
drivers/clk/renesas/rzv2h-cpg.c
1507
if (error) {
drivers/clk/renesas/rzv2h-cpg.c
1515
error = PTR_ERR(clk);
drivers/clk/renesas/rzv2h-cpg.c
1519
error = pm_clk_add_clk(dev, clk);
drivers/clk/renesas/rzv2h-cpg.c
1520
if (error) {
drivers/clk/renesas/rzv2h-cpg.c
1522
error);
drivers/clk/renesas/rzv2h-cpg.c
1535
return error;
drivers/clk/renesas/rzv2h-cpg.c
1589
int error;
drivers/clk/renesas/rzv2h-cpg.c
1639
error = of_clk_add_provider(np, rzv2h_cpg_clk_src_twocell_get, priv);
drivers/clk/renesas/rzv2h-cpg.c
1640
if (error)
drivers/clk/renesas/rzv2h-cpg.c
1641
return error;
drivers/clk/renesas/rzv2h-cpg.c
1643
error = devm_add_action_or_reset(dev, rzv2h_cpg_del_clk_provider, np);
drivers/clk/renesas/rzv2h-cpg.c
1644
if (error)
drivers/clk/renesas/rzv2h-cpg.c
1645
return error;
drivers/clk/renesas/rzv2h-cpg.c
1647
error = rzv2h_cpg_add_pm_domains(priv);
drivers/clk/renesas/rzv2h-cpg.c
1648
if (error)
drivers/clk/renesas/rzv2h-cpg.c
1649
return error;
drivers/clk/renesas/rzv2h-cpg.c
1651
error = rzv2h_cpg_reset_controller_register(priv);
drivers/clk/renesas/rzv2h-cpg.c
1652
if (error)
drivers/clk/renesas/rzv2h-cpg.c
1653
return error;
drivers/clk/ti/adpll.c
803
static const char error[] = "need at least %i inputs";
drivers/clk/ti/adpll.c
809
dev_err(d->dev, error, nr_inputs);
drivers/clk/ti/fapll.c
221
int error;
drivers/clk/ti/fapll.c
226
error = ti_fapll_set_div_mult(req->rate, req->best_parent_rate,
drivers/clk/ti/fapll.c
228
if (error) {
drivers/clk/ti/fapll.c
229
req->rate = error;
drivers/clk/ti/fapll.c
245
int error;
drivers/clk/ti/fapll.c
250
error = ti_fapll_set_div_mult(rate, parent_rate,
drivers/clk/ti/fapll.c
252
if (error)
drivers/clk/ti/fapll.c
253
return error;
drivers/clocksource/timer-keystone.c
148
int irq, error;
drivers/clocksource/timer-keystone.c
169
error = clk_prepare_enable(clk);
drivers/clocksource/timer-keystone.c
170
if (error) {
drivers/clocksource/timer-keystone.c
197
error = request_irq(irq, keystone_timer_interrupt, IRQF_TIMER,
drivers/clocksource/timer-keystone.c
199
if (error) {
drivers/clocksource/timer-keystone.c
222
return error;
drivers/clocksource/timer-riscv.c
160
int error;
drivers/clocksource/timer-riscv.c
177
error = clocksource_register_hz(&riscv_clocksource, riscv_timebase);
drivers/clocksource/timer-riscv.c
178
if (error) {
drivers/clocksource/timer-riscv.c
179
pr_err("RISCV timer registration failed [%d]\n", error);
drivers/clocksource/timer-riscv.c
180
return error;
drivers/clocksource/timer-riscv.c
185
error = request_percpu_irq(riscv_clock_event_irq,
drivers/clocksource/timer-riscv.c
188
if (error) {
drivers/clocksource/timer-riscv.c
189
pr_err("registering percpu irq failed [%d]\n", error);
drivers/clocksource/timer-riscv.c
190
return error;
drivers/clocksource/timer-riscv.c
198
error = cpuhp_setup_state(CPUHP_AP_RISCV_TIMER_STARTING,
drivers/clocksource/timer-riscv.c
201
if (error)
drivers/clocksource/timer-riscv.c
203
error);
drivers/clocksource/timer-riscv.c
205
return error;
drivers/clocksource/timer-riscv.c
210
int cpuid, error;
drivers/clocksource/timer-riscv.c
214
error = riscv_of_processor_hartid(n, &hartid);
drivers/clocksource/timer-riscv.c
215
if (error < 0) {
drivers/clocksource/timer-riscv.c
218
return error;
drivers/clocksource/timer-ti-32k.c
100
__func__, name, error);
drivers/clocksource/timer-ti-32k.c
84
int error;
drivers/clocksource/timer-ti-32k.c
97
error = clk_prepare_enable(clock);
drivers/clocksource/timer-ti-32k.c
98
if (error) {
drivers/clocksource/timer-ti-dm-systimer.c
331
int error;
drivers/clocksource/timer-ti-dm-systimer.c
341
error = clk_prepare_enable(clock);
drivers/clocksource/timer-ti-dm-systimer.c
342
if (error)
drivers/clocksource/timer-ti-dm-systimer.c
343
return error;
drivers/clocksource/timer-ti-dm-systimer.c
366
int error;
drivers/clocksource/timer-ti-dm-systimer.c
380
error = of_clk_set_defaults(np, false);
drivers/clocksource/timer-ti-dm-systimer.c
381
if (error < 0)
drivers/clocksource/timer-ti-dm-systimer.c
382
pr_err("%s: clock source init failed: %i\n", __func__, error);
drivers/clocksource/timer-ti-dm-systimer.c
385
error = dmtimer_systimer_init_clock(t, np->parent, "fck", &rate);
drivers/clocksource/timer-ti-dm-systimer.c
386
if (error)
drivers/clocksource/timer-ti-dm-systimer.c
391
error = dmtimer_systimer_init_clock(t, np->parent, "ick", &rate);
drivers/clocksource/timer-ti-dm-systimer.c
392
if (error)
drivers/clocksource/timer-ti-dm-systimer.c
424
return error;
drivers/clocksource/timer-ti-dm-systimer.c
522
int error;
drivers/clocksource/timer-ti-dm-systimer.c
524
error = clk_enable(t->fck);
drivers/clocksource/timer-ti-dm-systimer.c
525
if (error)
drivers/clocksource/timer-ti-dm-systimer.c
526
pr_err("could not enable timer fck on resume: %i\n", error);
drivers/clocksource/timer-ti-dm-systimer.c
542
int error;
drivers/clocksource/timer-ti-dm-systimer.c
565
error = dmtimer_systimer_setup(np, &clkevt->t);
drivers/clocksource/timer-ti-dm-systimer.c
566
if (error)
drivers/clocksource/timer-ti-dm-systimer.c
567
return error;
drivers/clocksource/timer-ti-dm-systimer.c
578
error = request_irq(dev->irq, dmtimer_clockevent_interrupt,
drivers/clocksource/timer-ti-dm-systimer.c
580
if (error)
drivers/clocksource/timer-ti-dm-systimer.c
595
return error;
drivers/clocksource/timer-ti-dm-systimer.c
601
int error;
drivers/clocksource/timer-ti-dm-systimer.c
607
error = dmtimer_clkevt_init_common(clkevt, np,
drivers/clocksource/timer-ti-dm-systimer.c
612
if (error)
drivers/clocksource/timer-ti-dm-systimer.c
630
return error;
drivers/clocksource/timer-ti-dm-systimer.c
639
int error;
drivers/clocksource/timer-ti-dm-systimer.c
650
error = dmtimer_clkevt_init_common(clkevt, np, CLOCK_EVT_FEAT_ONESHOT,
drivers/clocksource/timer-ti-dm-systimer.c
653
if (error)
drivers/clocksource/timer-ti-dm-systimer.c
654
return error;
drivers/clocksource/timer-ti-dm-systimer.c
741
int error;
drivers/clocksource/timer-ti-dm-systimer.c
743
error = clk_enable(t->fck);
drivers/clocksource/timer-ti-dm-systimer.c
744
if (error)
drivers/clocksource/timer-ti-dm-systimer.c
745
pr_err("could not enable timer fck on resume: %i\n", error);
drivers/clocksource/timer-ti-dm-systimer.c
758
int error;
drivers/clocksource/timer-ti-dm-systimer.c
767
error = dmtimer_systimer_setup(np, t);
drivers/clocksource/timer-ti-dm-systimer.c
768
if (error)
drivers/comedi/comedi_fops.c
1673
goto error;
drivers/comedi/comedi_fops.c
1683
goto error;
drivers/comedi/comedi_fops.c
1695
goto error;
drivers/comedi/comedi_fops.c
1707
goto error;
drivers/comedi/comedi_fops.c
1714
goto error;
drivers/comedi/comedi_fops.c
1721
error:
drivers/comedi/comedi_fops.c
1773
goto error;
drivers/comedi/comedi_fops.c
1781
goto error;
drivers/comedi/comedi_fops.c
1792
goto error;
drivers/comedi/comedi_fops.c
1798
goto error;
drivers/comedi/comedi_fops.c
1803
error:
drivers/comedi/drivers/ni_mio_common.c
3784
goto error;
drivers/comedi/drivers/ni_mio_common.c
3800
goto error;
drivers/comedi/drivers/ni_mio_common.c
3813
error:
drivers/comedi/kcomedilib/kcomedilib_main.c
187
goto error;
drivers/comedi/kcomedilib/kcomedilib_main.c
193
goto error;
drivers/comedi/kcomedilib/kcomedilib_main.c
201
goto error;
drivers/comedi/kcomedilib/kcomedilib_main.c
210
goto error;
drivers/comedi/kcomedilib/kcomedilib_main.c
215
goto error;
drivers/comedi/kcomedilib/kcomedilib_main.c
233
error:
drivers/cpuidle/sysfs.c
701
int error;
drivers/cpuidle/sysfs.c
722
error = kobject_init_and_add(&kdev->kobj, &ktype_cpuidle, &cpu_dev->kobj,
drivers/cpuidle/sysfs.c
724
if (error) {
drivers/cpuidle/sysfs.c
727
return error;
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c
796
goto error;
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c
802
goto error;
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c
805
error:
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c
634
goto error;
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c
640
goto error;
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c
646
error:
drivers/crypto/atmel-sha.c
2198
goto error;
drivers/crypto/atmel-sha.c
2204
goto error;
drivers/crypto/atmel-sha.c
2221
error:
drivers/crypto/axis/artpec6_crypto.c
1322
int error = 0;
drivers/crypto/axis/artpec6_crypto.c
1342
error = artpec6_crypto_setup_out_descr(common,
drivers/crypto/axis/artpec6_crypto.c
1345
if (error)
drivers/crypto/axis/artpec6_crypto.c
1346
return error;
drivers/crypto/axis/artpec6_crypto.c
1348
error = artpec6_crypto_setup_out_descr(common,
drivers/crypto/axis/artpec6_crypto.c
1351
if (error)
drivers/crypto/axis/artpec6_crypto.c
1352
return error;
drivers/crypto/axis/artpec6_crypto.c
1380
error = artpec6_crypto_setup_out_descr(common,
drivers/crypto/axis/artpec6_crypto.c
1383
if (error)
drivers/crypto/axis/artpec6_crypto.c
1384
return error;
drivers/crypto/axis/artpec6_crypto.c
1386
error = artpec6_crypto_setup_in_descr(common, ac->pad_buffer, 4, false);
drivers/crypto/axis/artpec6_crypto.c
1387
if (error)
drivers/crypto/axis/artpec6_crypto.c
1388
return error;
drivers/crypto/axis/artpec6_crypto.c
1391
error = artpec6_crypto_setup_out_descr(common,
drivers/crypto/axis/artpec6_crypto.c
1395
if (error)
drivers/crypto/axis/artpec6_crypto.c
1396
return error;
drivers/crypto/axis/artpec6_crypto.c
1415
error = artpec6_crypto_setup_out_descr(common,
drivers/crypto/axis/artpec6_crypto.c
1419
if (error)
drivers/crypto/axis/artpec6_crypto.c
1420
return error;
drivers/crypto/axis/artpec6_crypto.c
1429
error = artpec6_crypto_setup_sg_descrs_out(common, &walk,
drivers/crypto/axis/artpec6_crypto.c
1432
if (error)
drivers/crypto/axis/artpec6_crypto.c
1433
return error;
drivers/crypto/axis/artpec6_crypto.c
1467
error = artpec6_crypto_setup_out_descr(common,
drivers/crypto/axis/artpec6_crypto.c
1471
if (error)
drivers/crypto/axis/artpec6_crypto.c
1472
return error;
drivers/crypto/axis/artpec6_crypto.c
1486
error = artpec6_crypto_setup_out_descr(common,
drivers/crypto/axis/artpec6_crypto.c
1492
if (error)
drivers/crypto/axis/artpec6_crypto.c
1493
return error;
drivers/crypto/axis/artpec6_crypto.c
1496
error = artpec6_crypto_setup_in_descr(common, areq->result,
drivers/crypto/axis/artpec6_crypto.c
1499
if (error)
drivers/crypto/axis/artpec6_crypto.c
1500
return error;
drivers/crypto/axis/artpec6_crypto.c
1507
error = artpec6_crypto_setup_in_descr(common,
drivers/crypto/axis/artpec6_crypto.c
1510
if (error)
drivers/crypto/axis/artpec6_crypto.c
1511
return error;
drivers/crypto/axis/artpec6_crypto.c
1518
error = artpec6_crypto_terminate_in_descrs(common);
drivers/crypto/axis/artpec6_crypto.c
1519
if (error)
drivers/crypto/axis/artpec6_crypto.c
1520
return error;
drivers/crypto/axis/artpec6_crypto.c
1522
error = artpec6_crypto_terminate_out_descrs(common);
drivers/crypto/axis/artpec6_crypto.c
1523
if (error)
drivers/crypto/axis/artpec6_crypto.c
1524
return error;
drivers/crypto/axis/artpec6_crypto.c
1526
error = artpec6_crypto_dma_map_descs(common);
drivers/crypto/axis/artpec6_crypto.c
1527
if (error)
drivers/crypto/axis/artpec6_crypto.c
1528
return error;
drivers/crypto/bcm/cipher.c
269
err = mssg->error;
drivers/crypto/caam/error.c
221
const char *error)
drivers/crypto/caam/error.c
261
error, idx_str, idx, cha_str, cha_err_code,
drivers/crypto/caam/error.c
268
const char *error)
drivers/crypto/caam/error.c
271
status, error, __func__);
drivers/crypto/caam/error.c
277
const char *error)
drivers/crypto/caam/error.c
302
status, error, idx_str, idx, err_str, err_err_code);
drivers/crypto/caam/error.c
308
const char *error)
drivers/crypto/caam/error.c
325
status, error, err_str, err_err_code);
drivers/crypto/caam/error.c
331
const char *error)
drivers/crypto/caam/error.c
334
status, error, __func__);
drivers/crypto/caam/error.c
340
const char *error)
drivers/crypto/caam/error.c
343
status, error, __func__);
drivers/crypto/caam/error.c
352
const char *error);
drivers/crypto/caam/error.c
353
const char *error;
drivers/crypto/caam/error.c
373
const char *error = status_src[ssrc].error;
drivers/crypto/caam/error.c
380
return status_src[ssrc].report_ssed(jrdev, status, error);
drivers/crypto/caam/error.c
382
if (error)
drivers/crypto/caam/error.c
383
dev_err(jrdev, "%d: %s\n", ssrc, error);
drivers/crypto/caam/jr.c
527
int i, error;
drivers/crypto/caam/jr.c
531
error = caam_reset_hw_jr(dev);
drivers/crypto/caam/jr.c
532
if (error)
drivers/crypto/caam/jr.c
533
return error;
drivers/crypto/caam/jr.c
568
error = devm_request_irq(dev, jrp->irq, caam_jr_interrupt, IRQF_SHARED,
drivers/crypto/caam/jr.c
570
if (error) {
drivers/crypto/caam/jr.c
576
return error;
drivers/crypto/caam/jr.c
595
int error;
drivers/crypto/caam/jr.c
624
error = dma_set_mask_and_coherent(jrdev, caam_get_dma_mask(jrdev));
drivers/crypto/caam/jr.c
625
if (error) {
drivers/crypto/caam/jr.c
627
error);
drivers/crypto/caam/jr.c
628
return error;
drivers/crypto/caam/jr.c
639
error = devm_add_action_or_reset(jrdev, caam_jr_crypto_engine_exit,
drivers/crypto/caam/jr.c
641
if (error)
drivers/crypto/caam/jr.c
642
return error;
drivers/crypto/caam/jr.c
645
error = crypto_engine_start(jrpriv->engine);
drivers/crypto/caam/jr.c
646
if (error) {
drivers/crypto/caam/jr.c
648
return error;
drivers/crypto/caam/jr.c
658
error = devm_add_action_or_reset(jrdev, caam_jr_irq_dispose_mapping,
drivers/crypto/caam/jr.c
660
if (error)
drivers/crypto/caam/jr.c
661
return error;
drivers/crypto/caam/jr.c
664
error = caam_jr_init(jrdev); /* now turn on hardware */
drivers/crypto/caam/jr.c
665
if (error)
drivers/crypto/caam/jr.c
666
return error;
drivers/crypto/ccp/sev-dev.c
1029
static int __sev_init_locked(int *error)
drivers/crypto/ccp/sev-dev.c
1045
return __sev_do_cmd_locked(SEV_CMD_INIT, &data, error);
drivers/crypto/ccp/sev-dev.c
1048
static int __sev_init_ex_locked(int *error)
drivers/crypto/ccp/sev-dev.c
1068
return __sev_do_cmd_locked(SEV_CMD_INIT_EX, &data, error);
drivers/crypto/ccp/sev-dev.c
1262
static int snp_get_platform_data(struct sev_device *sev, int *error)
drivers/crypto/ccp/sev-dev.c
1278
rc = sev_do_cmd(SEV_CMD_SNP_PLATFORM_STATUS, &buf, error);
drivers/crypto/ccp/sev-dev.c
1281
rc, *error);
drivers/crypto/ccp/sev-dev.c
1311
rc = sev_do_cmd(SEV_CMD_SNP_FEATURE_INFO, &snp_feat_info, error);
drivers/crypto/ccp/sev-dev.c
1316
rc, *error);
drivers/crypto/ccp/sev-dev.c
1353
static int __sev_snp_init_locked(int *error, unsigned int max_snp_asid)
drivers/crypto/ccp/sev-dev.c
1461
rc = __sev_do_cmd_locked(cmd, arg, error);
drivers/crypto/ccp/sev-dev.c
1465
rc, *error);
drivers/crypto/ccp/sev-dev.c
1471
rc = __sev_do_cmd_locked(SEV_CMD_SNP_DF_FLUSH, NULL, error);
drivers/crypto/ccp/sev-dev.c
1474
rc, *error);
drivers/crypto/ccp/sev-dev.c
1569
static int __sev_platform_init_locked(int *error)
drivers/crypto/ccp/sev-dev.c
1604
if (error)
drivers/crypto/ccp/sev-dev.c
1605
*error = psp_ret;
drivers/crypto/ccp/sev-dev.c
1654
rc = __sev_snp_init_locked(&args->error, args->max_snp_asid);
drivers/crypto/ccp/sev-dev.c
1662
return __sev_platform_init_locked(&args->error);
drivers/crypto/ccp/sev-dev.c
1677
static int __sev_platform_shutdown_locked(int *error)
drivers/crypto/ccp/sev-dev.c
1691
ret = __sev_do_cmd_locked(SEV_CMD_SHUTDOWN, NULL, error);
drivers/crypto/ccp/sev-dev.c
1694
*error, ret);
drivers/crypto/ccp/sev-dev.c
1704
static int sev_get_platform_state(int *state, int *error)
drivers/crypto/ccp/sev-dev.c
1709
rc = __sev_do_cmd_locked(SEV_CMD_PLATFORM_STATUS, &data, error);
drivers/crypto/ccp/sev-dev.c
1724
argp->error = SEV_RET_INVALID_PLATFORM_STATE;
drivers/crypto/ccp/sev-dev.c
1735
int error, rc;
drivers/crypto/ccp/sev-dev.c
1737
rc = __sev_snp_init_locked(&error, 0);
drivers/crypto/ccp/sev-dev.c
1739
argp->error = SEV_RET_INVALID_PLATFORM_STATE;
drivers/crypto/ccp/sev-dev.c
1764
rc = sev_get_platform_state(&state, &argp->error);
drivers/crypto/ccp/sev-dev.c
1772
rc = __sev_platform_shutdown_locked(&argp->error);
drivers/crypto/ccp/sev-dev.c
1777
return __sev_do_cmd_locked(SEV_CMD_FACTORY_RESET, NULL, &argp->error);
drivers/crypto/ccp/sev-dev.c
1787
ret = __sev_do_cmd_locked(SEV_CMD_PLATFORM_STATUS, &data, &argp->error);
drivers/crypto/ccp/sev-dev.c
1812
rc = __sev_do_cmd_locked(cmd, NULL, &argp->error);
drivers/crypto/ccp/sev-dev.c
1861
ret = __sev_do_cmd_locked(SEV_CMD_PEK_CSR, &data, &argp->error);
drivers/crypto/ccp/sev-dev.c
1901
int error = 0, ret;
drivers/crypto/ccp/sev-dev.c
1908
ret = snp_get_platform_data(sev, &error);
drivers/crypto/ccp/sev-dev.c
1913
ret = sev_platform_status(&status, &error);
drivers/crypto/ccp/sev-dev.c
1916
"SEV: failed to get status. Error: %#x\n", error);
drivers/crypto/ccp/sev-dev.c
1970
int ret, error, order;
drivers/crypto/ccp/sev-dev.c
2010
ret = sev_do_cmd(SEV_CMD_DOWNLOAD_FIRMWARE, data, &error);
drivers/crypto/ccp/sev-dev.c
2017
ret = sev_do_cmd(SEV_CMD_DOWNLOAD_FIRMWARE, data, &error);
drivers/crypto/ccp/sev-dev.c
2020
dev_dbg(dev, "Failed to update SEV firmware: %#x\n", error);
drivers/crypto/ccp/sev-dev.c
2030
static int __sev_snp_shutdown_locked(int *error, bool panic)
drivers/crypto/ccp/sev-dev.c
2060
ret = __sev_do_cmd_locked(SEV_CMD_SNP_SHUTDOWN_EX, &data, error);
drivers/crypto/ccp/sev-dev.c
2062
if (*error == SEV_RET_DFFLUSH_REQUIRED) {
drivers/crypto/ccp/sev-dev.c
2073
error);
drivers/crypto/ccp/sev-dev.c
2077
ret, *error);
drivers/crypto/ccp/sev-dev.c
2160
ret = __sev_do_cmd_locked(SEV_CMD_PEK_CERT_IMPORT, &data, &argp->error);
drivers/crypto/ccp/sev-dev.c
2208
ret = __sev_do_cmd_locked(SEV_CMD_GET_ID, &data, &argp->error);
drivers/crypto/ccp/sev-dev.c
2263
ret = __sev_do_cmd_locked(SEV_CMD_GET_ID, data, &argp->error);
drivers/crypto/ccp/sev-dev.c
2335
ret = __sev_do_cmd_locked(SEV_CMD_PDH_CERT_EXPORT, &data, &argp->error);
drivers/crypto/ccp/sev-dev.c
2403
ret = __sev_do_cmd_locked(SEV_CMD_SNP_PLATFORM_STATUS, &buf, &argp->error);
drivers/crypto/ccp/sev-dev.c
2432
int ret, error;
drivers/crypto/ccp/sev-dev.c
2442
ret = __sev_do_cmd_locked(SEV_CMD_SNP_COMMIT, &buf, &argp->error);
drivers/crypto/ccp/sev-dev.c
2445
__sev_snp_shutdown_locked(&error, false);
drivers/crypto/ccp/sev-dev.c
2455
int ret, error;
drivers/crypto/ccp/sev-dev.c
2472
ret = __sev_do_cmd_locked(SEV_CMD_SNP_CONFIG, &config, &argp->error);
drivers/crypto/ccp/sev-dev.c
2475
__sev_snp_shutdown_locked(&error, false);
drivers/crypto/ccp/sev-dev.c
2485
int ret, error;
drivers/crypto/ccp/sev-dev.c
2513
ret = __sev_do_cmd_locked(SEV_CMD_SNP_VLEK_LOAD, &input, &argp->error);
drivers/crypto/ccp/sev-dev.c
2516
__sev_snp_shutdown_locked(&error, false);
drivers/crypto/ccp/sev-dev.c
2605
int sev_platform_status(struct sev_user_data_status *data, int *error)
drivers/crypto/ccp/sev-dev.c
2607
return sev_do_cmd(SEV_CMD_PLATFORM_STATUS, data, error);
drivers/crypto/ccp/sev-dev.c
2611
int sev_guest_deactivate(struct sev_data_deactivate *data, int *error)
drivers/crypto/ccp/sev-dev.c
2613
return sev_do_cmd(SEV_CMD_DEACTIVATE, data, error);
drivers/crypto/ccp/sev-dev.c
2617
int sev_guest_activate(struct sev_data_activate *data, int *error)
drivers/crypto/ccp/sev-dev.c
2619
return sev_do_cmd(SEV_CMD_ACTIVATE, data, error);
drivers/crypto/ccp/sev-dev.c
2623
int sev_guest_decommission(struct sev_data_decommission *data, int *error)
drivers/crypto/ccp/sev-dev.c
2625
return sev_do_cmd(SEV_CMD_DECOMMISSION, data, error);
drivers/crypto/ccp/sev-dev.c
2629
int sev_guest_df_flush(int *error)
drivers/crypto/ccp/sev-dev.c
2631
return sev_do_cmd(SEV_CMD_DF_FLUSH, NULL, error);
drivers/crypto/ccp/sev-dev.c
2743
int error;
drivers/crypto/ccp/sev-dev.c
2745
__sev_platform_shutdown_locked(&error);
drivers/crypto/ccp/sev-dev.c
2773
__sev_snp_shutdown_locked(&error, panic);
drivers/crypto/ccp/sev-dev.c
2876
void *data, int *error)
drivers/crypto/ccp/sev-dev.c
2881
return sev_do_cmd(cmd, data, error);
drivers/crypto/chelsio/chcr_algo.c
1230
goto error;
drivers/crypto/chelsio/chcr_algo.c
1242
goto error;
drivers/crypto/chelsio/chcr_algo.c
1247
goto error;
drivers/crypto/chelsio/chcr_algo.c
1307
goto error;
drivers/crypto/chelsio/chcr_algo.c
1329
error:
drivers/crypto/chelsio/chcr_algo.c
1356
goto error;
drivers/crypto/chelsio/chcr_algo.c
1373
error:
drivers/crypto/chelsio/chcr_algo.c
1542
int error = 0;
drivers/crypto/chelsio/chcr_algo.c
1600
error = -ENOMEM;
drivers/crypto/chelsio/chcr_algo.c
1619
return ERR_PTR(error);
drivers/crypto/chelsio/chcr_algo.c
1633
int error;
drivers/crypto/chelsio/chcr_algo.c
1652
error = chcr_inc_wrcount(dev);
drivers/crypto/chelsio/chcr_algo.c
1653
if (error)
drivers/crypto/chelsio/chcr_algo.c
1661
error = -ENOSPC;
drivers/crypto/chelsio/chcr_algo.c
1666
error = chcr_hash_dma_map(&u_ctx->lldi.pdev->dev, req);
drivers/crypto/chelsio/chcr_algo.c
1667
if (error) {
drivers/crypto/chelsio/chcr_algo.c
1668
error = -ENOMEM;
drivers/crypto/chelsio/chcr_algo.c
1690
error = PTR_ERR(skb);
drivers/crypto/chelsio/chcr_algo.c
1711
return error;
drivers/crypto/chelsio/chcr_algo.c
1734
int error;
drivers/crypto/chelsio/chcr_algo.c
1742
error = chcr_inc_wrcount(dev);
drivers/crypto/chelsio/chcr_algo.c
1743
if (error)
drivers/crypto/chelsio/chcr_algo.c
1781
error = PTR_ERR(skb);
drivers/crypto/chelsio/chcr_algo.c
1791
return error;
drivers/crypto/chelsio/chcr_algo.c
1804
int error;
drivers/crypto/chelsio/chcr_algo.c
1813
error = chcr_inc_wrcount(dev);
drivers/crypto/chelsio/chcr_algo.c
1814
if (error)
drivers/crypto/chelsio/chcr_algo.c
1820
error = -ENOSPC;
drivers/crypto/chelsio/chcr_algo.c
1824
error = chcr_hash_dma_map(&u_ctx->lldi.pdev->dev, req);
drivers/crypto/chelsio/chcr_algo.c
1825
if (error) {
drivers/crypto/chelsio/chcr_algo.c
1826
error = -ENOMEM;
drivers/crypto/chelsio/chcr_algo.c
1873
error = PTR_ERR(skb);
drivers/crypto/chelsio/chcr_algo.c
1886
return error;
drivers/crypto/chelsio/chcr_algo.c
1902
int error;
drivers/crypto/chelsio/chcr_algo.c
1916
error = chcr_inc_wrcount(dev);
drivers/crypto/chelsio/chcr_algo.c
1917
if (error)
drivers/crypto/chelsio/chcr_algo.c
1923
error = -ENOSPC;
drivers/crypto/chelsio/chcr_algo.c
1928
error = chcr_hash_dma_map(&u_ctx->lldi.pdev->dev, req);
drivers/crypto/chelsio/chcr_algo.c
1929
if (error) {
drivers/crypto/chelsio/chcr_algo.c
1930
error = -ENOMEM;
drivers/crypto/chelsio/chcr_algo.c
1975
error = PTR_ERR(skb);
drivers/crypto/chelsio/chcr_algo.c
1987
return error;
drivers/crypto/chelsio/chcr_algo.c
2000
int error;
drivers/crypto/chelsio/chcr_algo.c
2043
error = PTR_ERR(skb);
drivers/crypto/chelsio/chcr_algo.c
2052
return error;
drivers/crypto/chelsio/chcr_algo.c
2293
int error = -EINVAL;
drivers/crypto/chelsio/chcr_algo.c
2305
error = chcr_aead_dma_map(&ULD_CTX(a_ctx(tfm))->lldi.pdev->dev, req,
drivers/crypto/chelsio/chcr_algo.c
2307
if (error) {
drivers/crypto/chelsio/chcr_algo.c
2308
error = -ENOMEM;
drivers/crypto/chelsio/chcr_algo.c
2314
return error;
drivers/crypto/chelsio/chcr_algo.c
2365
int error = -EINVAL;
drivers/crypto/chelsio/chcr_algo.c
2378
error = chcr_aead_common_init(req);
drivers/crypto/chelsio/chcr_algo.c
2379
if (error)
drivers/crypto/chelsio/chcr_algo.c
2380
return ERR_PTR(error);
drivers/crypto/chelsio/chcr_algo.c
2410
error = -ENOMEM;
drivers/crypto/chelsio/chcr_algo.c
2486
return ERR_PTR(error);
drivers/crypto/chelsio/chcr_algo.c
2493
int error;
drivers/crypto/chelsio/chcr_algo.c
2523
error = dma_map_sg(dev, req->src,
drivers/crypto/chelsio/chcr_algo.c
2526
if (!error)
drivers/crypto/chelsio/chcr_algo.c
2529
error = dma_map_sg(dev, req->src,
drivers/crypto/chelsio/chcr_algo.c
2532
if (!error)
drivers/crypto/chelsio/chcr_algo.c
2534
error = dma_map_sg(dev, req->dst,
drivers/crypto/chelsio/chcr_algo.c
2537
if (!error) {
drivers/crypto/chelsio/chcr_algo.c
2719
int error = 0;
drivers/crypto/chelsio/chcr_algo.c
2723
error = dma_map_sg(dev, req->src, sg_nents(req->src),
drivers/crypto/chelsio/chcr_algo.c
2725
if (!error)
drivers/crypto/chelsio/chcr_algo.c
2748
int error;
drivers/crypto/chelsio/chcr_algo.c
2751
error = dma_map_sg(dev, req->src, sg_nents(req->src),
drivers/crypto/chelsio/chcr_algo.c
2753
if (!error)
drivers/crypto/chelsio/chcr_algo.c
2756
error = dma_map_sg(dev, req->src, sg_nents(req->src),
drivers/crypto/chelsio/chcr_algo.c
2758
if (!error)
drivers/crypto/chelsio/chcr_algo.c
2760
error = dma_map_sg(dev, req->dst, sg_nents(req->dst),
drivers/crypto/chelsio/chcr_algo.c
2762
if (!error) {
drivers/crypto/chelsio/chcr_algo.c
2963
int error = -EINVAL;
drivers/crypto/chelsio/chcr_algo.c
2973
error = chcr_aead_common_init(req);
drivers/crypto/chelsio/chcr_algo.c
2974
if (error)
drivers/crypto/chelsio/chcr_algo.c
2975
return ERR_PTR(error);
drivers/crypto/chelsio/chcr_algo.c
2977
error = aead_ccm_validate_input(reqctx->op, req, aeadctx, sub_type);
drivers/crypto/chelsio/chcr_algo.c
2978
if (error)
drivers/crypto/chelsio/chcr_algo.c
3007
error = -ENOMEM;
drivers/crypto/chelsio/chcr_algo.c
3023
error = ccm_format_packet(req, ivptr, sub_type, reqctx->op, assoclen);
drivers/crypto/chelsio/chcr_algo.c
3024
if (error)
drivers/crypto/chelsio/chcr_algo.c
3042
return ERR_PTR(error);
drivers/crypto/chelsio/chcr_algo.c
3061
int error = -EINVAL;
drivers/crypto/chelsio/chcr_algo.c
3073
error = chcr_aead_common_init(req);
drivers/crypto/chelsio/chcr_algo.c
3074
if (error)
drivers/crypto/chelsio/chcr_algo.c
3075
return ERR_PTR(error);
drivers/crypto/chelsio/chcr_algo.c
3100
error = -ENOMEM;
drivers/crypto/chelsio/chcr_algo.c
3158
return ERR_PTR(error);
drivers/crypto/chelsio/chcr_algo.c
3370
int error;
drivers/crypto/chelsio/chcr_algo.c
3375
error = crypto_aead_setkey(aeadctx->sw_cipher, key, keylen);
drivers/crypto/chelsio/chcr_algo.c
3376
if (error)
drivers/crypto/chelsio/chcr_algo.c
3377
return error;
drivers/crypto/chelsio/chcr_algo.c
3385
int error;
drivers/crypto/chelsio/chcr_algo.c
3394
error = crypto_aead_setkey(aeadctx->sw_cipher, key, keylen);
drivers/crypto/chelsio/chcr_algo.c
3395
if (error)
drivers/crypto/chelsio/chcr_algo.c
3396
return error;
drivers/crypto/chelsio/chcr_algo.c
782
int error;
drivers/crypto/chelsio/chcr_algo.c
804
error = -ENOMEM;
drivers/crypto/chelsio/chcr_algo.c
866
return ERR_PTR(error);
drivers/crypto/chelsio/chcr_core.c
172
atomic_inc(&adap->chcr_stats.error);
drivers/crypto/gemini/sl3516-ce-core.c
356
goto error;
drivers/crypto/gemini/sl3516-ce-core.c
361
goto error;
drivers/crypto/gemini/sl3516-ce-core.c
367
error:
drivers/crypto/hifn_795x.c
1648
static void hifn_process_ready(struct skcipher_request *req, int error)
drivers/crypto/hifn_795x.c
1690
skcipher_request_complete(req, error);
drivers/crypto/hifn_795x.c
1693
static void hifn_clear_rings(struct hifn_device *dev, int error)
drivers/crypto/hifn_795x.c
1712
hifn_process_ready(dev->sa[i], error);
drivers/crypto/intel/keembay/keembay-ocs-aes-core.c
547
goto error;
drivers/crypto/intel/keembay/keembay-ocs-aes-core.c
553
goto error;
drivers/crypto/intel/keembay/keembay-ocs-aes-core.c
588
error:
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
433
goto error;
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
445
goto error;
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
455
goto error;
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
469
goto error;
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
480
goto error;
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
496
goto error;
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
508
goto error;
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
519
goto error;
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
525
goto error;
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
555
goto error;
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
565
error:
drivers/crypto/intel/qat/qat_common/qat_algs.c
483
goto error;
drivers/crypto/intel/qat/qat_common/qat_algs.c
486
goto error;
drivers/crypto/intel/qat/qat_common/qat_algs.c
493
error:
drivers/crypto/intel/qat/qat_common/qat_uclo.c
946
int error;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
958
error = qat_hal_set_modes(handle, obj_handle, ae,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
960
if (error)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
961
return error;
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
1076
goto error;
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
1106
goto error;
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
1121
goto error;
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
1134
error:
drivers/crypto/marvell/octeontx2/otx2_cptlf.h
174
goto error;
drivers/crypto/marvell/octeontx2/otx2_cptlf.h
186
error:
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c
472
goto error;
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c
478
goto error;
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c
493
error:
drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c
196
goto error;
drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c
204
error:
drivers/crypto/nx/nx-common-pseries.c
1073
goto error;
drivers/crypto/nx/nx-common-pseries.c
1078
goto error;
drivers/crypto/nx/nx-common-pseries.c
1088
goto error;
drivers/crypto/nx/nx-common-pseries.c
1097
goto error;
drivers/crypto/nx/nx-common-pseries.c
1108
error:
drivers/crypto/qce/aead.c
34
int error;
drivers/crypto/qce/aead.c
44
error = qce_dma_terminate_all(&qce->dma);
drivers/crypto/qce/aead.c
45
if (error)
drivers/crypto/qce/aead.c
47
error);
drivers/crypto/qce/aead.c
66
error = qce_check_status(qce, &status);
drivers/crypto/qce/aead.c
67
if (error < 0 && (error != -EBADMSG))
drivers/crypto/qce/aead.c
85
error = -EBADMSG;
drivers/crypto/qce/aead.c
89
qce->async_req_done(qce, error);
drivers/crypto/qce/sha.c
46
int error;
drivers/crypto/qce/sha.c
49
error = qce_dma_terminate_all(&qce->dma);
drivers/crypto/qce/sha.c
50
if (error)
drivers/crypto/qce/sha.c
51
dev_dbg(qce->dev, "ahash dma termination error (%d)\n", error);
drivers/crypto/qce/sha.c
63
error = qce_check_status(qce, &status);
drivers/crypto/qce/sha.c
64
if (error < 0)
drivers/crypto/qce/sha.c
72
qce->async_req_done(tmpl->qce, error);
drivers/crypto/qce/skcipher.c
37
int error;
drivers/crypto/qce/skcipher.c
44
error = qce_dma_terminate_all(&qce->dma);
drivers/crypto/qce/skcipher.c
45
if (error)
drivers/crypto/qce/skcipher.c
47
error);
drivers/crypto/qce/skcipher.c
55
error = qce_check_status(qce, &status);
drivers/crypto/qce/skcipher.c
56
if (error < 0)
drivers/crypto/qce/skcipher.c
60
qce->async_req_done(tmpl->qce, error);
drivers/crypto/s5p-sss.c
1016
ctx->error = true;
drivers/crypto/s5p-sss.c
1061
ctx->error = true;
drivers/crypto/s5p-sss.c
1321
if (!err && !ctx->error) {
drivers/crypto/s5p-sss.c
1326
ctx->error = true;
drivers/crypto/s5p-sss.c
1397
if (err != -EINPROGRESS && ctx->finup && !ctx->error)
drivers/crypto/s5p-sss.c
1528
if (ctx->error)
drivers/crypto/s5p-sss.c
1581
ctx->error = false;
drivers/crypto/s5p-sss.c
1605
ctx->error = true;
drivers/crypto/s5p-sss.c
1698
ctx->error = true;
drivers/crypto/s5p-sss.c
1703
ctx->error = false;
drivers/crypto/s5p-sss.c
366
bool error;
drivers/crypto/s5p-sss.c
701
goto error;
drivers/crypto/s5p-sss.c
705
goto error;
drivers/crypto/s5p-sss.c
737
error:
drivers/crypto/s5p-sss.c
972
ctx->error = true;
drivers/crypto/sahara.c
311
static void sahara_decode_error(struct sahara_dev *dev, unsigned int error)
drivers/crypto/sahara.c
313
u8 source = SAHARA_ERRSTATUS_GET_SOURCE(error);
drivers/crypto/sahara.c
314
u16 chasrc = ffs(SAHARA_ERRSTATUS_GET_CHASRC(error));
drivers/crypto/sahara.c
316
dev_err(dev->device, "%s: Error Register = 0x%08x\n", __func__, error);
drivers/crypto/sahara.c
321
if (error & SAHARA_ERRSTATUS_DMA_DIR)
drivers/crypto/sahara.c
327
sahara_err_dmasize[SAHARA_ERRSTATUS_GET_DMASZ(error)]);
drivers/crypto/sahara.c
329
sahara_err_dmasrc[SAHARA_ERRSTATUS_GET_DMASRC(error)]);
drivers/crypto/sahara.c
334
sahara_cha_err[SAHARA_ERRSTATUS_GET_CHAERR(error)]);
drivers/crypto/talitos.c
1197
void *context, int error))
drivers/crypto/talitos.c
1570
void *context, int error))
drivers/crypto/talitos.c
1790
void *context, int error))
drivers/crypto/talitos.c
272
void *context, int error),
drivers/crypto/talitos.c
342
static void flush_channel(struct device *dev, int ch, int error, int reset_ch)
drivers/crypto/talitos.c
365
if (!error)
drivers/crypto/talitos.c
368
status = error;
drivers/crypto/talitos.c
393
if (error && !reset_ch && status == error)
drivers/crypto/talitos.c
584
int ch, error, reset_dev = 0;
drivers/crypto/talitos.c
600
error = -EINVAL;
drivers/crypto/talitos.c
606
error = -EAGAIN;
drivers/crypto/talitos.c
612
error = -EAGAIN;
drivers/crypto/talitos.c
640
flush_channel(dev, ch, error, reset_ch);
drivers/crypto/talitos.h
84
void *context, int error);
drivers/crypto/virtio/virtio_crypto_akcipher_algs.c
72
int error;
drivers/crypto/virtio/virtio_crypto_akcipher_algs.c
76
error = 0;
drivers/crypto/virtio/virtio_crypto_akcipher_algs.c
80
error = -EINVAL;
drivers/crypto/virtio/virtio_crypto_akcipher_algs.c
83
error = -EBADMSG;
drivers/crypto/virtio/virtio_crypto_akcipher_algs.c
86
error = -EIO;
drivers/crypto/virtio/virtio_crypto_akcipher_algs.c
94
virtio_crypto_akcipher_finalize_req(vc_akcipher_req, akcipher_req, error);
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c
60
int error;
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c
66
error = 0;
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c
70
error = -EINVAL;
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c
73
error = -EBADMSG;
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c
76
error = -EIO;
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c
80
ablk_req, error);
drivers/cxl/core/pci.c
827
int error;
drivers/dio/dio-driver.c
49
int error = 0;
drivers/dio/dio-driver.c
58
error = drv->probe(d, id);
drivers/dio/dio-driver.c
59
if (error >= 0) {
drivers/dio/dio-driver.c
61
error = 0;
drivers/dio/dio-driver.c
64
return error;
drivers/dio/dio-sysfs.c
70
int error;
drivers/dio/dio-sysfs.c
73
if ((error = device_create_file(dev, &dev_attr_id)) ||
drivers/dio/dio-sysfs.c
74
(error = device_create_file(dev, &dev_attr_ipl)) ||
drivers/dio/dio-sysfs.c
75
(error = device_create_file(dev, &dev_attr_secid)) ||
drivers/dio/dio-sysfs.c
76
(error = device_create_file(dev, &dev_attr_name)) ||
drivers/dio/dio-sysfs.c
77
(error = device_create_file(dev, &dev_attr_resource)))
drivers/dio/dio-sysfs.c
78
return error;
drivers/dio/dio.c
176
int error;
drivers/dio/dio.c
186
error = device_register(&dio_bus.dev);
drivers/dio/dio.c
187
if (error) {
drivers/dio/dio.c
189
return error;
drivers/dio/dio.c
258
error = device_register(&dev->dev);
drivers/dio/dio.c
259
if (error) {
drivers/dio/dio.c
265
error = dio_create_sysfs_dev_files(dev);
drivers/dio/dio.c
266
if (error)
drivers/dma-buf/dma-fence-array.c
215
array->base.error = PENDING_ERROR;
drivers/dma-buf/dma-fence-array.c
29
int error)
drivers/dma-buf/dma-fence-array.c
35
if (error)
drivers/dma-buf/dma-fence-array.c
36
cmpxchg(&array->base.error, PENDING_ERROR, error);
drivers/dma-buf/dma-fence-array.c
42
cmpxchg(&array->base.error, PENDING_ERROR, 0);
drivers/dma-buf/dma-fence-array.c
62
dma_fence_array_set_pending_error(array, f->error);
drivers/dma-buf/dma-fence-array.c
89
int error = array->fences[i]->error;
drivers/dma-buf/dma-fence-array.c
91
dma_fence_array_set_pending_error(array, error);
drivers/dma-buf/dma-fence.c
1058
fence->error = 0;
drivers/dma-buf/dma-fence.c
591
fence->error = -EDEADLK;
drivers/dma/bcm-sba-raid.c
1049
msg->error = 0;
drivers/dma/bcm-sba-raid.c
1303
msg->error = 0;
drivers/dma/bcm-sba-raid.c
1441
if (m->error < 0)
drivers/dma/bcm-sba-raid.c
1443
dma_chan_name(&sba->dma_chan), m->error);
drivers/dma/bcm-sba-raid.c
359
req->msg.error = 0;
drivers/dma/bcm-sba-raid.c
367
ret = req->msg.error;
drivers/dma/bcm-sba-raid.c
611
msg->error = 0;
drivers/dma/bcm-sba-raid.c
699
msg->error = 0;
drivers/dma/bcm-sba-raid.c
838
msg->error = 0;
drivers/dma/bestcomm/bestcomm.c
103
error:
drivers/dma/bestcomm/bestcomm.c
74
goto error;
drivers/dma/bestcomm/bestcomm.c
83
goto error;
drivers/dma/bestcomm/bestcomm.c
90
goto error;
drivers/dma/bestcomm/bestcomm.c
94
goto error;
drivers/dma/idxd/debugfs.c
39
entry->e.error, entry->e.wq_idx, entry->e.operation,
drivers/dma/idxd/irq.c
321
status = DSA_COMP_STATUS(entry_head->error);
drivers/dma/idxd/registers.h
277
u64 error:8;
drivers/dma/idxd/registers.h
626
u64 error:8;
drivers/dma/imx-sdma.c
862
int error = 0;
drivers/dma/imx-sdma.c
880
error = -EIO;
drivers/dma/imx-sdma.c
906
if (error)
drivers/dma/imx-sdma.c
924
int i, error = 0;
drivers/dma/imx-sdma.c
935
error = -EIO;
drivers/dma/imx-sdma.c
939
if (error)
drivers/dma/ioat/init.c
1266
pci_channel_state_t error)
drivers/dma/ioat/init.c
1268
dev_dbg(&pdev->dev, "%s: PCIe AER error %d\n", DRV_NAME, error);
drivers/dma/moxart-dma.c
139
bool error;
drivers/dma/moxart-dma.c
318
ch->error = 0;
drivers/dma/moxart-dma.c
493
if (ch->error)
drivers/dma/moxart-dma.c
547
ch->error = 1;
drivers/dma/mpc512x_dma.c
188
int error;
drivers/dma/mpc512x_dma.c
337
mdesc->error = -EIO;
drivers/dma/mpc512x_dma.c
625
mdesc->error = 0;
drivers/dma/mpc512x_dma.c
733
mdesc->error = 0;
drivers/dma/nbpfaxi.c
1239
u32 error = nbpf_error_get(nbpf);
drivers/dma/nbpfaxi.c
1243
if (!error)
drivers/dma/nbpfaxi.c
1247
struct nbpf_channel *chan = nbpf_error_get_channel(nbpf, error);
drivers/dma/nbpfaxi.c
1251
error = nbpf_error_get(nbpf);
drivers/dma/nbpfaxi.c
1252
} while (error);
drivers/dma/nbpfaxi.c
360
static struct nbpf_channel *nbpf_error_get_channel(struct nbpf_device *nbpf, u32 error)
drivers/dma/nbpfaxi.c
362
return nbpf->chan + __ffs(error);
drivers/dma/qcom/qcom_adm.c
148
int error;
drivers/dma/qcom/qcom_adm.c
531
achan->error = 0;
drivers/dma/qcom/qcom_adm.c
599
achan->error = 1;
drivers/dma/qcom/qcom_adm.c
656
if (achan->error)
drivers/dma/sh/usb-dmac.c
804
goto error;
drivers/dma/sh/usb-dmac.c
813
goto error;
drivers/dma/sh/usb-dmac.c
820
goto error;
drivers/dma/sh/usb-dmac.c
846
goto error;
drivers/dma/sh/usb-dmac.c
851
error:
drivers/dma/ti/cppi41.c
1157
int error;
drivers/dma/ti/cppi41.c
1159
error = pm_runtime_get_sync(&pdev->dev);
drivers/dma/ti/cppi41.c
1160
if (error < 0)
drivers/dma/ti/cppi41.c
1162
__func__, error);
drivers/dma/ti/cppi41.c
375
int error;
drivers/dma/ti/cppi41.c
377
error = pm_runtime_get_sync(cdd->ddev.dev);
drivers/dma/ti/cppi41.c
378
if (error < 0) {
drivers/dma/ti/cppi41.c
380
__func__, error);
drivers/dma/ti/cppi41.c
383
return error;
drivers/dma/ti/cppi41.c
402
int error;
drivers/dma/ti/cppi41.c
404
error = pm_runtime_get_sync(cdd->ddev.dev);
drivers/dma/ti/cppi41.c
405
if (error < 0) {
drivers/dma/ti/cppi41.c
493
int error;
drivers/dma/ti/cppi41.c
495
error = pm_runtime_get(cdd->ddev.dev);
drivers/dma/ti/cppi41.c
496
if ((error != -EINPROGRESS) && error < 0) {
drivers/dma/ti/cppi41.c
499
error);
drivers/dma/ti/cppi41.c
591
int error;
drivers/dma/ti/cppi41.c
593
error = pm_runtime_get(cdd->ddev.dev);
drivers/dma/ti/cppi41.c
594
if (error < 0) {
drivers/dma/xilinx/xdma.c
107
bool error;
drivers/dma/xilinx/xdma.c
285
sw_desc->error = false;
drivers/dma/xilinx/xdma.c
853
if (desc->error) {
drivers/dma/xilinx/xdma.c
902
desc->error = true;
drivers/dma/xilinx/xilinx_dma.c
2113
goto error;
drivers/dma/xilinx/xilinx_dma.c
2150
error:
drivers/dma/xilinx/xilinx_dma.c
2187
goto error;
drivers/dma/xilinx/xilinx_dma.c
2206
error:
drivers/dma/xilinx/xilinx_dma.c
2254
goto error;
drivers/dma/xilinx/xilinx_dma.c
2299
error:
drivers/dma/xilinx/xilinx_dma.c
2351
goto error;
drivers/dma/xilinx/xilinx_dma.c
2401
error:
drivers/dma/xilinx/xilinx_dma.c
2459
goto error;
drivers/dma/xilinx/xilinx_dma.c
2508
error:
drivers/dma/xilinx/xilinx_dma.c
2561
goto error;
drivers/dma/xilinx/xilinx_dma.c
2605
error:
drivers/dma/xilinx/xilinx_dma.c
3341
goto error;
drivers/dma/xilinx/xilinx_dma.c
3355
goto error;
drivers/dma/xilinx/xilinx_dma.c
3363
goto error;
drivers/dma/xilinx/xilinx_dma.c
3377
error:
drivers/dma/xilinx/xilinx_dpdma.c
1249
if (active->error)
drivers/dma/xilinx/xilinx_dpdma.c
1256
active->error = true;
drivers/dma/xilinx/xilinx_dpdma.c
1608
u32 error;
drivers/dma/xilinx/xilinx_dpdma.c
1611
error = dpdma_read(xdev->reg, XILINX_DPDMA_EISR);
drivers/dma/xilinx/xilinx_dpdma.c
1612
if (!status && !error)
drivers/dma/xilinx/xilinx_dpdma.c
1616
dpdma_write(xdev->reg, XILINX_DPDMA_EISR, error);
drivers/dma/xilinx/xilinx_dpdma.c
1644
if (mask || error)
drivers/dma/xilinx/xilinx_dpdma.c
1645
xilinx_dpdma_handle_err_irq(xdev, mask, error);
drivers/dma/xilinx/xilinx_dpdma.c
1797
goto error;
drivers/dma/xilinx/xilinx_dpdma.c
1804
goto error;
drivers/dma/xilinx/xilinx_dpdma.c
1832
error:
drivers/dma/xilinx/xilinx_dpdma.c
202
bool error;
drivers/dma/xilinx/xilinx_dpdma.c
644
tx_desc->error = false;
drivers/dma/xilinx/xilinx_dpdma.c
707
goto error;
drivers/dma/xilinx/xilinx_dpdma.c
712
goto error;
drivers/dma/xilinx/xilinx_dpdma.c
745
error:
drivers/dpll/dpll_core.c
1135
goto error;
drivers/dpll/dpll_core.c
1139
error:
drivers/dpll/zl3073x/core.c
961
goto error;
drivers/dpll/zl3073x/core.c
972
goto error;
drivers/dpll/zl3073x/core.c
980
goto error;
drivers/dpll/zl3073x/core.c
986
error:
drivers/dpll/zl3073x/dpll.c
1629
goto error;
drivers/dpll/zl3073x/dpll.c
1634
goto error;
drivers/dpll/zl3073x/dpll.c
1641
error:
drivers/dpll/zl3073x/flash.c
559
goto error;
drivers/dpll/zl3073x/flash.c
567
goto error;
drivers/dpll/zl3073x/flash.c
574
goto error;
drivers/dpll/zl3073x/flash.c
581
goto error;
drivers/dpll/zl3073x/flash.c
588
goto error;
drivers/dpll/zl3073x/flash.c
596
error:
drivers/edac/e752x_edac.c
460
static void do_process_ded_retry(struct mem_ctl_info *mci, u16 error,
drivers/edac/e752x_edac.c
479
static inline void process_ded_retry(struct mem_ctl_info *mci, u16 error,
drivers/edac/e752x_edac.c
486
do_process_ded_retry(mci, error, retry_add);
drivers/edac/e752x_edac.c
489
static inline void process_threshold_ce(struct mem_ctl_info *mci, u16 error,
drivers/edac/edac_mc.c
370
goto error;
drivers/edac/edac_mc.c
374
goto error;
drivers/edac/edac_mc.c
389
goto error;
drivers/edac/edac_mc.c
392
goto error;
drivers/edac/edac_mc.c
398
error:
drivers/edac/i7300_edac.c
1007
goto error;
drivers/edac/i7300_edac.c
1012
error:
drivers/edac/i7300_edac.c
970
goto error;
drivers/edac/i7300_edac.c
994
goto error;
drivers/edac/i7core_edac.c
1469
goto error;
drivers/edac/i7core_edac.c
1473
goto error;
drivers/edac/i7core_edac.c
1506
goto error;
drivers/edac/i7core_edac.c
1519
error:
drivers/edac/i7core_edac.c
1698
unsigned long error = m->status & 0x1ff0000l;
drivers/edac/i7core_edac.c
1706
u32 errnum = find_first_bit(&error, 32);
drivers/edac/sb_edac.c
2662
goto error;
drivers/edac/sb_edac.c
2684
error:
drivers/edac/sb_edac.c
2746
goto error;
drivers/edac/sb_edac.c
2769
error:
drivers/firewire/core-device.c
1164
goto error;
drivers/firewire/core-device.c
1225
error:
drivers/firewire/ohci.c
826
goto error;
drivers/firewire/ohci.c
835
goto error;
drivers/firewire/ohci.c
842
error:
drivers/firmware/arm_sdei.c
1024
error:
drivers/firmware/arm_sdei.c
998
goto error;
drivers/firmware/cirrus/cs_dsp.c
3195
goto error;
drivers/firmware/cirrus/cs_dsp.c
3216
goto error;
drivers/firmware/cirrus/cs_dsp.c
3229
goto error;
drivers/firmware/cirrus/cs_dsp.c
3242
error:
drivers/firmware/dmi-sysfs.c
651
int error;
drivers/firmware/dmi-sysfs.c
656
error = -ENODATA;
drivers/firmware/dmi-sysfs.c
662
error = -ENOMEM;
drivers/firmware/dmi-sysfs.c
667
error = dmi_walk(dmi_sysfs_register_handle, &val);
drivers/firmware/dmi-sysfs.c
668
if (error)
drivers/firmware/dmi-sysfs.c
671
error = val;
drivers/firmware/dmi-sysfs.c
681
return error;
drivers/firmware/dmi_scan.c
695
goto error;
drivers/firmware/dmi_scan.c
705
goto error;
drivers/firmware/dmi_scan.c
713
goto error;
drivers/firmware/dmi_scan.c
724
goto error;
drivers/firmware/dmi_scan.c
760
error:
drivers/firmware/edd.c
684
int error = 0;
drivers/firmware/edd.c
687
for (i = 0; (attr = edd_attrs[i]) && !error; i++) {
drivers/firmware/edd.c
689
error = sysfs_create_file(&edev->kobj,&attr->attr);
drivers/firmware/edd.c
692
if (!error) {
drivers/firmware/edd.c
700
int error;
drivers/firmware/edd.c
706
error = kobject_init_and_add(&edev->kobj, &edd_ktype, NULL,
drivers/firmware/edd.c
708
if (!error) {
drivers/firmware/edd.c
712
return error;
drivers/firmware/efi/efi.c
412
int error;
drivers/firmware/efi/efi.c
442
error = -ENOMEM;
drivers/firmware/efi/efi.c
448
error = generic_ops_register();
drivers/firmware/efi/efi.c
449
if (error)
drivers/firmware/efi/efi.c
451
error = efivar_ssdt_load();
drivers/firmware/efi/efi.c
452
if (error)
drivers/firmware/efi/efi.c
453
pr_err("efi: failed to load SSDT, error %d.\n", error);
drivers/firmware/efi/efi.c
459
error = sysfs_create_group(efi_kobj, &efi_subsys_attr_group);
drivers/firmware/efi/efi.c
460
if (error) {
drivers/firmware/efi/efi.c
462
error);
drivers/firmware/efi/efi.c
467
error = sysfs_create_mount_point(efi_kobj, "efivars");
drivers/firmware/efi/efi.c
468
if (error) {
drivers/firmware/efi/efi.c
500
return error;
drivers/firmware/efi/esrt.c
370
int error;
drivers/firmware/efi/esrt.c
386
error = -ENOMEM;
drivers/firmware/efi/esrt.c
390
error = sysfs_create_group(esrt_kobj, &esrt_attr_group);
drivers/firmware/efi/esrt.c
391
if (error) {
drivers/firmware/efi/esrt.c
393
error);
drivers/firmware/efi/esrt.c
400
error = -ENOMEM;
drivers/firmware/efi/esrt.c
404
error = register_entries();
drivers/firmware/efi/esrt.c
405
if (error)
drivers/firmware/efi/esrt.c
421
return error;
drivers/firmware/efi/libstub/x86-stub.c
885
entry = decompress_kernel((void *)addr, virt_addr, error);
drivers/fpga/dfl-afu-error.c
119
u64 error;
drivers/fpga/dfl-afu-error.c
124
error = readq(base + PORT_ERROR);
drivers/fpga/dfl-afu-error.c
127
return sprintf(buf, "0x%llx\n", (unsigned long long)error);
drivers/fpga/dfl-afu-error.c
150
u64 error;
drivers/fpga/dfl-afu-error.c
155
error = readq(base + PORT_FIRST_ERROR);
drivers/fpga/dfl-afu-error.c
158
return sprintf(buf, "0x%llx\n", (unsigned long long)error);
drivers/fsi/fsi-master-i2cr.c
111
u64 error;
drivers/fsi/fsi-master-i2cr.c
114
i2cr_transfer(client, I2CR_ERROR_CMD, &error);
drivers/fsi/fsi-master-i2cr.c
117
trace_i2cr_status_error(client, status, error, log);
drivers/fsi/fsi-master-i2cr.c
128
dev_err(&client->dev, "status:%016llx error:%016llx log:%016llx\n", status, error,
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1629
goto error;
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1635
goto error;
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1642
goto error;
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1652
goto error;
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1680
error:
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1889
goto error;
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1897
goto error;
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1902
goto error;
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1925
goto error;
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1935
error:
drivers/gpio/gpio-aggregator.c
1358
int error = 0;
drivers/gpio/gpio-aggregator.c
1369
p = get_options(offsets, 0, &error);
drivers/gpio/gpio-aggregator.c
1370
if (error == 0 || *p) {
drivers/gpio/gpio-aggregator.c
1375
error = PTR_ERR(line);
drivers/gpio/gpio-aggregator.c
1380
error = configfs_register_group(&aggr->group,
drivers/gpio/gpio-aggregator.c
1382
if (error)
drivers/gpio/gpio-aggregator.c
1387
error = gpio_aggregator_add_gpio(aggr, key, U16_MAX, &n);
drivers/gpio/gpio-aggregator.c
1388
if (error)
drivers/gpio/gpio-aggregator.c
1396
error = bitmap_parselist(offsets, bitmap, AGGREGATOR_MAX_GPIOS);
drivers/gpio/gpio-aggregator.c
1397
if (error) {
drivers/gpio/gpio-aggregator.c
1398
pr_err("Cannot parse %s: %d\n", offsets, error);
drivers/gpio/gpio-aggregator.c
1406
error = PTR_ERR(line);
drivers/gpio/gpio-aggregator.c
1411
error = configfs_register_group(&aggr->group,
drivers/gpio/gpio-aggregator.c
1413
if (error)
drivers/gpio/gpio-aggregator.c
1418
error = gpio_aggregator_add_gpio(aggr, key, i, &n);
drivers/gpio/gpio-aggregator.c
1419
if (error)
drivers/gpio/gpio-aggregator.c
1428
error = -EINVAL;
drivers/gpio/gpio-aggregator.c
1436
return error;
drivers/gpio/gpio-aggregator.c
1537
int error;
drivers/gpio/gpio-aggregator.c
1542
error = kstrtouint(buf + strlen(DRV_NAME "."), 10, &id);
drivers/gpio/gpio-aggregator.c
1543
if (error)
drivers/gpio/gpio-aggregator.c
1544
return error;
drivers/gpio/gpio-aggregator.c
309
int error;
drivers/gpio/gpio-aggregator.c
316
error = gpiod_get_array_value_cansleep(j, descs, NULL, values);
drivers/gpio/gpio-aggregator.c
318
error = gpiod_get_array_value(j, descs, NULL, values);
drivers/gpio/gpio-aggregator.c
319
if (error)
drivers/gpio/gpio-aggregator.c
320
return error;
drivers/gpio/gpio-aggregator.c
334
int error;
drivers/gpio/gpio-aggregator.c
338
error = gpio_fwd_get_multiple(fwd, mask, bits);
drivers/gpio/gpio-aggregator.c
342
error = gpio_fwd_get_multiple(fwd, mask, bits);
drivers/gpio/gpio-aggregator.c
346
return error;
drivers/gpio/gpio-aggregator.c
833
int error;
drivers/gpio/gpio-aggregator.c
840
error = gpiochip_fwd_desc_add(fwd, descs[i], i);
drivers/gpio/gpio-aggregator.c
841
if (error)
drivers/gpio/gpio-aggregator.c
842
return ERR_PTR(error);
drivers/gpio/gpio-aggregator.c
846
error = gpiochip_fwd_setup_delay_line(fwd);
drivers/gpio/gpio-aggregator.c
847
if (error)
drivers/gpio/gpio-aggregator.c
848
return ERR_PTR(error);
drivers/gpio/gpio-aggregator.c
851
error = gpiochip_fwd_register(fwd, NULL);
drivers/gpio/gpio-aggregator.c
852
if (error)
drivers/gpio/gpio-aggregator.c
853
return ERR_PTR(error);
drivers/gpio/gpio-omap.c
443
goto error;
drivers/gpio/gpio-omap.c
449
goto error;
drivers/gpio/gpio-omap.c
466
error:
drivers/gpio/gpio-rcar.c
189
int error;
drivers/gpio/gpio-rcar.c
192
error = irq_set_irq_wake(p->irq_parent, on);
drivers/gpio/gpio-rcar.c
193
if (error) {
drivers/gpio/gpio-rcar.c
270
int error;
drivers/gpio/gpio-rcar.c
272
error = pm_runtime_get_sync(p->dev);
drivers/gpio/gpio-rcar.c
273
if (error < 0) {
drivers/gpio/gpio-rcar.c
275
return error;
drivers/gpio/gpio-rcar.c
278
error = pinctrl_gpio_request(chip, offset);
drivers/gpio/gpio-rcar.c
279
if (error)
drivers/gpio/gpio-rcar.c
282
return error;
drivers/gpio/gpio-tegra186.c
833
goto error;
drivers/gpio/gpio-tegra186.c
837
goto error;
drivers/gpio/gpio-tegra186.c
842
goto error;
drivers/gpio/gpio-tegra186.c
846
error:
drivers/gpio/gpio-viperboard.c
112
error = -EREMOTEIO;
drivers/gpio/gpio-viperboard.c
123
error = -EREMOTEIO;
drivers/gpio/gpio-viperboard.c
125
if (error)
drivers/gpio/gpio-viperboard.c
126
return error;
drivers/gpio/gpio-viperboard.c
84
int ret, answer, error = 0;
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1181
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1186
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1190
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1229
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1236
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1240
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1516
if (r > 0 && fence->error)
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1517
r = fence->error;
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1653
if (r > 0 && fence->error)
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1654
r = fence->error;
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1723
r = array[first]->error;
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
102
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
123
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
131
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
136
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
81
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
88
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
99
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
444
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
453
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
664
void amdgpu_fence_driver_set_error(struct amdgpu_ring *ring, int error)
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
676
dma_fence_set_error(fence, error);
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
159
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
163
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
181
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
191
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
211
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1000
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
762
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
769
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
775
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
813
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
915
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
921
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
929
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
948
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
366
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
372
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
397
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
402
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
406
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
417
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
445
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
399
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
415
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
422
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
445
if (finished->error < 0) {
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
239
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
244
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
246
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
266
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
190
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
203
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
213
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
239
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
480
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
491
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
502
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
522
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
531
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
553
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
562
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
774
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
783
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
474
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
479
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
485
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
983
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
996
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
864
amdgpu_ras_error_to_ta(enum amdgpu_ras_error_type error) {
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
865
switch (error) {
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
877
WARN_ONCE(1, "RAS ERROR: unexpected error type %d\n", error);
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
162
void amdgpu_fence_driver_set_error(struct amdgpu_ring *ring, int error);
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
103
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
110
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
113
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
149
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
156
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
86
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
92
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2577
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2583
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2590
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
329
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
334
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
362
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
370
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
407
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
418
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
434
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
428
int error)
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
439
dma_fence_set_error(f, error);
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
1336
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
1343
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
1347
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
1357
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
1199
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
1203
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
1211
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
1073
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
1077
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
1085
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
1101
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
1106
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
737
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
741
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
744
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
748
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
757
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
868
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
872
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
875
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
879
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
888
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
1003
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
1008
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
1019
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
534
goto error;
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
540
error:
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
995
goto error;
drivers/gpu/drm/amd/amdgpu/atombios_encoders.c
197
goto error;
drivers/gpu/drm/amd/amdgpu/atombios_encoders.c
209
goto error;
drivers/gpu/drm/amd/amdgpu/atombios_encoders.c
225
error:
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
1915
goto error;
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
1920
goto error;
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
1922
goto error;
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
1930
error:
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
2312
goto error;
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
2317
goto error;
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
2319
goto error;
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
2327
error:
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
342
goto error;
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
346
goto error;
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
354
error:
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
349
goto error;
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
353
goto error;
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
361
error:
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
1891
goto error;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2022
goto error;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2077
goto error;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2085
goto error;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2135
goto error;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2141
goto error;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2148
goto error;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2157
goto error;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2175
goto error;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2190
goto error;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2206
error:
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
378
struct fixed31_32 error;
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
393
error = dc_fixpt_sub(
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
399
} while (abs_i64(error.value) > 100ULL);
drivers/gpu/drm/amd/display/dc/sspl/spl_fixpt31_32.c
363
struct spl_fixed31_32 error;
drivers/gpu/drm/amd/display/dc/sspl/spl_fixpt31_32.c
378
error = spl_fixpt_sub(
drivers/gpu/drm/amd/display/dc/sspl/spl_fixpt31_32.c
384
} while (abs_i64(error.value) > 100ULL);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
1000
PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
1002
PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
1005
PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
1007
PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
1013
PP_ASSERT_WITH_CODE((result == 0), "EnableDiDt failed.", goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
1020
"Failed to enable DPM DIDT.", goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
1028
"Failed to enable workaround for CRC issue.", goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
1036
"Failed to enable workaround for CRC issue.", goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
1042
"Failed to enable workaround for CRC issue.", goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
1052
error:
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
1073
goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
1079
"Failed to disable DPM DIDT.", goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
1085
error:
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
985
PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
987
PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
990
PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_powertune.c
997
PP_ASSERT_WITH_CODE((result == 0), "DIDT Config failed.", goto error);
drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c
2375
bool error = false;
drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c
2388
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c
2400
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c
2418
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c
2428
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c
2438
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c
2440
return error ? 1 : 0;
drivers/gpu/drm/amd/pm/powerplay/smumgr/fiji_smumgr.c
2452
bool error = false;
drivers/gpu/drm/amd/pm/powerplay/smumgr/fiji_smumgr.c
2462
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/fiji_smumgr.c
2474
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/fiji_smumgr.c
2492
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/fiji_smumgr.c
2502
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/fiji_smumgr.c
2512
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/fiji_smumgr.c
2514
return error ? -1 : 0;
drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c
2285
bool error = false;
drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c
2296
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c
2308
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c
2329
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c
2340
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c
2352
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c
2363
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c
2365
return error ? 1 : 0;
drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c
2498
bool error = false;
drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c
2508
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c
2520
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c
2538
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c
2548
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c
2558
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c
2560
return error ? -1 : 0;
drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c
2764
bool error = false;
drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c
2774
error |= (result != 0);
drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c
2786
error |= (result != 0);
drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c
2805
error |= (result != 0);
drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c
2815
error |= (result != 0);
drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c
2825
error |= (result != 0);
drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c
2827
return error ? 1 : 0;
drivers/gpu/drm/amd/pm/powerplay/smumgr/vegam_smumgr.c
231
bool error = false;
drivers/gpu/drm/amd/pm/powerplay/smumgr/vegam_smumgr.c
241
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/vegam_smumgr.c
253
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/vegam_smumgr.c
271
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/vegam_smumgr.c
281
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/vegam_smumgr.c
291
error |= (0 != result);
drivers/gpu/drm/amd/pm/powerplay/smumgr/vegam_smumgr.c
293
return error ? -1 : 0;
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
384
static enum ras_ta_error_type __get_ras_ta_err_type(enum ras_ecc_err_type error)
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
386
switch (error) {
drivers/gpu/drm/ast/ast_drv.c
447
int error;
drivers/gpu/drm/ast/ast_drv.c
449
error = drm_mode_config_helper_suspend(dev);
drivers/gpu/drm/ast/ast_drv.c
450
if (error)
drivers/gpu/drm/ast/ast_drv.c
451
return error;
drivers/gpu/drm/ast/ast_drv.c
484
int error;
drivers/gpu/drm/ast/ast_drv.c
486
error = ast_drm_freeze(ddev);
drivers/gpu/drm/ast/ast_drv.c
487
if (error)
drivers/gpu/drm/ast/ast_drv.c
488
return error;
drivers/gpu/drm/bridge/ite-it66121.c
466
u32 error = IT66121_DDC_STATUS_NOACK | IT66121_DDC_STATUS_WAIT_BUS |
drivers/gpu/drm/bridge/ite-it66121.c
471
val & (error | done), IT66121_EDID_SLEEP_US,
drivers/gpu/drm/bridge/ite-it66121.c
476
if (val & error)
drivers/gpu/drm/bridge/lontium-lt8912b.c
572
goto error;
drivers/gpu/drm/bridge/lontium-lt8912b.c
576
error:
drivers/gpu/drm/bridge/nwl-dsi.c
110
int error;
drivers/gpu/drm/bridge/nwl-dsi.c
130
int ret = dsi->error;
drivers/gpu/drm/bridge/nwl-dsi.c
132
dsi->error = 0;
drivers/gpu/drm/bridge/nwl-dsi.c
140
if (dsi->error)
drivers/gpu/drm/bridge/nwl-dsi.c
148
dsi->error = ret;
drivers/gpu/drm/bridge/nwl-dsi.c
157
if (dsi->error)
drivers/gpu/drm/bridge/nwl-dsi.c
164
dsi->error = ret;
drivers/gpu/drm/bridge/parade-ps8622.c
101
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
106
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
114
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
119
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
124
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
129
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
134
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
139
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
144
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
149
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
154
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
159
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
164
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
169
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
174
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
180
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
185
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
189
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
194
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
198
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
203
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
208
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
213
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
218
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
223
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
228
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
233
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
238
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
243
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
248
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
253
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
258
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
263
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
268
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
275
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
281
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
286
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
292
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
297
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
302
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
308
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
313
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
318
error:
drivers/gpu/drm/bridge/parade-ps8622.c
91
goto error;
drivers/gpu/drm/bridge/parade-ps8622.c
96
goto error;
drivers/gpu/drm/bridge/sil-sii8620.c
139
int ret = ctx->error;
drivers/gpu/drm/bridge/sil-sii8620.c
141
ctx->error = 0;
drivers/gpu/drm/bridge/sil-sii8620.c
166
if (ctx->error)
drivers/gpu/drm/bridge/sil-sii8620.c
175
ctx->error = ret < 0 ? ret : -EIO;
drivers/gpu/drm/bridge/sil-sii8620.c
200
if (ctx->error)
drivers/gpu/drm/bridge/sil-sii8620.c
206
ctx->error = -ENOMEM;
drivers/gpu/drm/bridge/sil-sii8620.c
2107
ctx->error = -ENOMEM;
drivers/gpu/drm/bridge/sil-sii8620.c
2122
ctx->error = ret;
drivers/gpu/drm/bridge/sil-sii8620.c
223
ctx->error = ret ?: -EIO;
drivers/gpu/drm/bridge/sil-sii8620.c
282
if (ctx->error)
drivers/gpu/drm/bridge/sil-sii8620.c
390
ctx->error = -ENOMEM;
drivers/gpu/drm/bridge/sil-sii8620.c
401
if (ctx->error)
drivers/gpu/drm/bridge/sil-sii8620.c
405
ctx->error = -EINVAL;
drivers/gpu/drm/bridge/sil-sii8620.c
520
if (ctx->error < 0)
drivers/gpu/drm/bridge/sil-sii8620.c
610
ctx->error = -EINVAL;
drivers/gpu/drm/bridge/sil-sii8620.c
627
ctx->error = -EINVAL;
drivers/gpu/drm/bridge/sil-sii8620.c
73
int error;
drivers/gpu/drm/bridge/sil-sii8620.c
798
ctx->error = -ENOMEM;
drivers/gpu/drm/bridge/sil-sii8620.c
835
ctx->error = -ETIMEDOUT;
drivers/gpu/drm/bridge/sil-sii8620.c
855
ctx->error = -ENOMEM;
drivers/gpu/drm/bridge/tc358762.c
108
ctx->error = ret;
drivers/gpu/drm/bridge/tc358762.c
79
int error;
drivers/gpu/drm/bridge/tc358762.c
84
int ret = ctx->error;
drivers/gpu/drm/bridge/tc358762.c
86
ctx->error = 0;
drivers/gpu/drm/bridge/tc358762.c
96
if (ctx->error)
drivers/gpu/drm/bridge/tc358764.c
155
int error;
drivers/gpu/drm/bridge/tc358764.c
160
int ret = ctx->error;
drivers/gpu/drm/bridge/tc358764.c
162
ctx->error = 0;
drivers/gpu/drm/bridge/tc358764.c
171
if (ctx->error)
drivers/gpu/drm/bridge/tc358764.c
188
if (ctx->error)
drivers/gpu/drm/bridge/tc358764.c
200
ctx->error = ret;
drivers/gpu/drm/bridge/tc358764.c
213
if (ctx->error)
drivers/gpu/drm/bridge/tc358768.c
148
int error;
drivers/gpu/drm/bridge/tc358768.c
181
int ret = priv->error;
drivers/gpu/drm/bridge/tc358768.c
183
priv->error = 0;
drivers/gpu/drm/bridge/tc358768.c
193
if (priv->error)
drivers/gpu/drm/bridge/tc358768.c
200
priv->error = regmap_bulk_write(priv->regmap, reg, &tmpval, count);
drivers/gpu/drm/bridge/tc358768.c
207
if (priv->error)
drivers/gpu/drm/bridge/tc358768.c
216
priv->error = regmap_bulk_read(priv->regmap, reg, val, count);
drivers/gpu/drm/bridge/tc358768.c
226
if (priv->error)
drivers/gpu/drm/bridge/tc358768.c
241
if (priv->error)
drivers/gpu/drm/bridge/tc358768.c
245
priv->error = regmap_read_poll_timeout(priv->regmap, TC358768_DSICMD_TX, val,
drivers/gpu/drm/display/drm_dp_aux_dev.c
318
goto error;
drivers/gpu/drm/display/drm_dp_aux_dev.c
324
error:
drivers/gpu/drm/display/drm_dp_mst_topology.c
2284
goto error;
drivers/gpu/drm/display/drm_dp_mst_topology.c
2296
error:
drivers/gpu/drm/drm_drv.c
1246
goto error;
drivers/gpu/drm/drm_drv.c
1254
goto error;
drivers/gpu/drm/drm_drv.c
1258
goto error;
drivers/gpu/drm/drm_drv.c
1269
error:
drivers/gpu/drm/drm_gem_atomic_helper.c
168
goto error;
drivers/gpu/drm/drm_gem_atomic_helper.c
173
goto error;
drivers/gpu/drm/drm_gem_atomic_helper.c
180
goto error;
drivers/gpu/drm/drm_gem_atomic_helper.c
195
error:
drivers/gpu/drm/drm_gem_dma_helper.c
103
goto error;
drivers/gpu/drm/drm_gem_dma_helper.c
108
goto error;
drivers/gpu/drm/drm_gem_dma_helper.c
113
error:
drivers/gpu/drm/drm_gem_dma_helper.c
162
goto error;
drivers/gpu/drm/drm_gem_dma_helper.c
167
error:
drivers/gpu/drm/drm_lease.c
210
int error;
drivers/gpu/drm/drm_lease.c
227
error = 0;
drivers/gpu/drm/drm_lease.c
229
error = -ENOENT;
drivers/gpu/drm/drm_lease.c
231
error = -EBUSY;
drivers/gpu/drm/drm_lease.c
233
if (error != 0) {
drivers/gpu/drm/drm_lease.c
234
drm_dbg_lease(dev, "object %d failed %d\n", object, error);
drivers/gpu/drm/drm_lease.c
242
error = id;
drivers/gpu/drm/drm_lease.c
263
return ERR_PTR(error);
drivers/gpu/drm/etnaviv/etnaviv_sched.c
26
if (likely(!sched_job->s_fence->finished.error))
drivers/gpu/drm/gma500/cdv_intel_dp.c
225
int error;
drivers/gpu/drm/gma500/cdv_intel_dp.c
227
error = i2c_dp_aux_prepare_bus(adapter);
drivers/gpu/drm/gma500/cdv_intel_dp.c
228
if (error)
drivers/gpu/drm/gma500/cdv_intel_dp.c
229
return error;
drivers/gpu/drm/gma500/cdv_intel_dp.c
230
error = i2c_add_adapter(adapter);
drivers/gpu/drm/gma500/cdv_intel_dp.c
231
return error;
drivers/gpu/drm/hyperv/hyperv_drm_drv.c
100
error:
drivers/gpu/drm/hyperv/hyperv_drm_drv.c
94
goto error;
drivers/gpu/drm/hyperv/hyperv_drm_proto.c
502
goto error;
drivers/gpu/drm/hyperv/hyperv_drm_proto.c
520
error:
drivers/gpu/drm/i915/display/i9xx_plane.c
568
struct intel_plane_error *error)
drivers/gpu/drm/i915/display/i9xx_plane.c
573
error->ctl = intel_de_read(display, DSPCNTR(display, i9xx_plane));
drivers/gpu/drm/i915/display/i9xx_plane.c
574
error->surf = intel_de_read(display, DSPSURF(display, i9xx_plane));
drivers/gpu/drm/i915/display/i9xx_plane.c
575
error->surflive = intel_de_read(display, DSPSURFLIVE(display, i9xx_plane));
drivers/gpu/drm/i915/display/i9xx_plane.c
580
struct intel_plane_error *error)
drivers/gpu/drm/i915/display/i9xx_plane.c
585
error->ctl = intel_de_read(display, DSPCNTR(display, i9xx_plane));
drivers/gpu/drm/i915/display/i9xx_plane.c
586
error->surf = intel_de_read(display, DSPSURF(display, i9xx_plane));
drivers/gpu/drm/i915/display/i9xx_plane.c
591
struct intel_plane_error *error)
drivers/gpu/drm/i915/display/i9xx_plane.c
596
error->ctl = intel_de_read(display, DSPCNTR(display, i9xx_plane));
drivers/gpu/drm/i915/display/i9xx_plane.c
597
error->surf = intel_de_read(display, DSPADDR(display, i9xx_plane));
drivers/gpu/drm/i915/display/intel_cursor.c
760
struct intel_plane_error *error)
drivers/gpu/drm/i915/display/intel_cursor.c
764
error->ctl = intel_de_read(display, CURCNTR(display, crtc->pipe));
drivers/gpu/drm/i915/display/intel_cursor.c
765
error->surf = intel_de_read(display, CURBASE(display, crtc->pipe));
drivers/gpu/drm/i915/display/intel_cursor.c
766
error->surflive = intel_de_read(display, CURSURFLIVE(display, crtc->pipe));
drivers/gpu/drm/i915/display/intel_cursor.c
771
struct intel_plane_error *error)
drivers/gpu/drm/i915/display/intel_cursor.c
775
error->ctl = intel_de_read(display, CURCNTR(display, crtc->pipe));
drivers/gpu/drm/i915/display/intel_cursor.c
776
error->surf = intel_de_read(display, CURBASE(display, crtc->pipe));
drivers/gpu/drm/i915/display/intel_display_irq.c
108
struct intel_plane_error error = {};
drivers/gpu/drm/i915/display/intel_display_irq.c
115
plane->capture_error(crtc, plane, &error);
drivers/gpu/drm/i915/display/intel_display_irq.c
121
error.ctl, error.surf, error.surflive);
drivers/gpu/drm/i915/display/intel_display_types.h
1628
struct intel_plane_error *error);
drivers/gpu/drm/i915/display/intel_overlay.c
1482
struct intel_overlay_snapshot *error;
drivers/gpu/drm/i915/display/intel_overlay.c
1487
error = kmalloc_obj(*error, GFP_ATOMIC);
drivers/gpu/drm/i915/display/intel_overlay.c
1488
if (error == NULL)
drivers/gpu/drm/i915/display/intel_overlay.c
1491
error->dovsta = intel_de_read(display, DOVSTA);
drivers/gpu/drm/i915/display/intel_overlay.c
1492
error->isr = intel_de_read(display, GEN2_ISR);
drivers/gpu/drm/i915/display/intel_overlay.c
1493
error->base = overlay->flip_addr;
drivers/gpu/drm/i915/display/intel_overlay.c
1495
memcpy_fromio(&error->regs, overlay->regs, sizeof(error->regs));
drivers/gpu/drm/i915/display/intel_overlay.c
1497
return error;
drivers/gpu/drm/i915/display/intel_overlay.c
1501
intel_overlay_snapshot_print(const struct intel_overlay_snapshot *error,
drivers/gpu/drm/i915/display/intel_overlay.c
1504
if (!error)
drivers/gpu/drm/i915/display/intel_overlay.c
1508
error->dovsta, error->isr);
drivers/gpu/drm/i915/display/intel_overlay.c
1509
drm_printf(p, " Register file at 0x%08lx:\n", error->base);
drivers/gpu/drm/i915/display/intel_overlay.c
1511
#define P(x) drm_printf(p, " " #x ": 0x%08x\n", error->regs.x)
drivers/gpu/drm/i915/display/intel_overlay.h
61
void intel_overlay_snapshot_print(const struct intel_overlay_snapshot *error,
drivers/gpu/drm/i915/display/intel_overlay.h
69
static inline void intel_overlay_snapshot_print(const struct intel_overlay_snapshot *error,
drivers/gpu/drm/i915/display/intel_plane.c
1158
goto error;
drivers/gpu/drm/i915/display/intel_plane.c
1165
goto error;
drivers/gpu/drm/i915/display/intel_plane.c
1179
error:
drivers/gpu/drm/i915/display/intel_sprite.c
1221
struct intel_plane_error *error)
drivers/gpu/drm/i915/display/intel_sprite.c
1225
error->ctl = intel_de_read(display, DVSCNTR(crtc->pipe));
drivers/gpu/drm/i915/display/intel_sprite.c
1226
error->surf = intel_de_read(display, DVSSURF(crtc->pipe));
drivers/gpu/drm/i915/display/intel_sprite.c
1227
error->surflive = intel_de_read(display, DVSSURFLIVE(crtc->pipe));
drivers/gpu/drm/i915/display/intel_sprite.c
449
struct intel_plane_error *error)
drivers/gpu/drm/i915/display/intel_sprite.c
453
error->ctl = intel_de_read(display, SPCNTR(crtc->pipe, plane->id));
drivers/gpu/drm/i915/display/intel_sprite.c
454
error->surf = intel_de_read(display, SPSURF(crtc->pipe, plane->id));
drivers/gpu/drm/i915/display/intel_sprite.c
455
error->surflive = intel_de_read(display, SPSURFLIVE(crtc->pipe, plane->id));
drivers/gpu/drm/i915/display/intel_sprite.c
881
struct intel_plane_error *error)
drivers/gpu/drm/i915/display/intel_sprite.c
885
error->ctl = intel_de_read(display, SPRCTL(crtc->pipe));
drivers/gpu/drm/i915/display/intel_sprite.c
886
error->surf = intel_de_read(display, SPRSURF(crtc->pipe));
drivers/gpu/drm/i915/display/intel_sprite.c
887
error->surflive = intel_de_read(display, SPRSURFLIVE(crtc->pipe));
drivers/gpu/drm/i915/display/skl_universal_plane.c
1698
struct intel_plane_error *error)
drivers/gpu/drm/i915/display/skl_universal_plane.c
1702
error->ctl = intel_de_read(display, PLANE_CTL(crtc->pipe, plane->id));
drivers/gpu/drm/i915/display/skl_universal_plane.c
1703
error->surf = intel_de_read(display, PLANE_SURF(crtc->pipe, plane->id));
drivers/gpu/drm/i915/display/skl_universal_plane.c
1704
error->surflive = intel_de_read(display, PLANE_SURFLIVE(crtc->pipe, plane->id));
drivers/gpu/drm/i915/display/skl_universal_plane.c
3147
goto error;
drivers/gpu/drm/i915/display/skl_universal_plane.c
3155
goto error;
drivers/gpu/drm/i915/display/skl_universal_plane.c
3182
goto error;
drivers/gpu/drm/i915/display/skl_universal_plane.c
3213
error:
drivers/gpu/drm/i915/gem/i915_gem_shmem.c
316
int error = 0;
drivers/gpu/drm/i915/gem/i915_gem_shmem.c
324
while ((folio = writeback_iter(mapping, &wbc, folio, &error))) {
drivers/gpu/drm/i915/gem/i915_gem_shmem.c
328
error = shmem_writeout(folio, NULL, NULL);
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
409
if (unlikely(fence->error || I915_SELFTEST_ONLY(fail_gpu_migration))) {
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
448
dep->error);
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
516
-EINVAL : fence->error);
drivers/gpu/drm/i915/gt/intel_engine_cs.c
2376
struct i915_gpu_error * const error = &engine->i915->gpu_error;
drivers/gpu/drm/i915/gt/intel_engine_cs.c
2411
i915_reset_engine_count(error, engine),
drivers/gpu/drm/i915/gt/intel_engine_cs.c
2412
i915_reset_count(error));
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
220
int error)
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2216
struct i915_gpu_coredump *error;
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2225
struct intel_gt_coredump *gt = cap->error->gt;
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2239
cap->error->simulated = gt->simulated;
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2242
i915_error_state_store(cap->error);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2243
i915_gpu_coredump_put(cap->error);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2261
cap->error = i915_gpu_coredump_alloc(engine->i915, gfp);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2262
if (!cap->error)
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2265
cap->error->gt = intel_gt_coredump_alloc(engine->gt, gfp, CORE_DUMP_FLAG_NONE);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2266
if (!cap->error->gt)
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2269
cap->error->gt->engine = intel_engine_coredump_alloc(engine, gfp, CORE_DUMP_FLAG_NONE);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2270
if (!cap->error->gt->engine)
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2273
cap->error->gt->engine->hung = true;
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2278
kfree(cap->error->gt);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
228
if (error) {
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2280
kfree(cap->error);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
229
i915_request_set_error_once(rq, error);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2382
i915_gpu_coredump_put(cap->error);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
468
return rq->fence.error && i915_request_started(rq);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
838
!READ_ONCE(prev->fence.error)) {
drivers/gpu/drm/i915/gt/intel_ggtt.c
423
if (rq->fence.error)
drivers/gpu/drm/i915/gt/intel_gt.c
588
if (rq->fence.error) {
drivers/gpu/drm/i915/gt/intel_reset.c
1237
goto error;
drivers/gpu/drm/i915/gt/intel_reset.c
1294
error:
drivers/gpu/drm/i915/gt/selftest_execlists.c
2154
if (rq[0]->fence.error != 0) {
drivers/gpu/drm/i915/gt/selftest_execlists.c
2160
if (rq[1]->fence.error != -EIO) {
drivers/gpu/drm/i915/gt/selftest_execlists.c
2236
if (rq[0]->fence.error != -EIO) {
drivers/gpu/drm/i915/gt/selftest_execlists.c
2248
rq[1]->fence.error != 0) {
drivers/gpu/drm/i915/gt/selftest_execlists.c
2254
if (rq[2]->fence.error != -EIO) {
drivers/gpu/drm/i915/gt/selftest_execlists.c
4395
GEM_BUG_ON(rq->fence.error != -EIO);
drivers/gpu/drm/i915/gt/selftest_execlists.c
641
GEM_BUG_ON(rq->fence.error != -EIO);
drivers/gpu/drm/i915/gt/selftest_execlists.c
684
enum { GOOD = 0, BAD = -EIO } error[2];
drivers/gpu/drm/i915/gt/selftest_execlists.c
715
for (p = phases; p->error[0] != GOOD; p++) {
drivers/gpu/drm/i915/gt/selftest_execlists.c
716
struct i915_request *client[ARRAY_SIZE(phases->error)];
drivers/gpu/drm/i915/gt/selftest_execlists.c
753
if (p->error[i]) {
drivers/gpu/drm/i915/gt/selftest_execlists.c
777
error_repr(p->error[i]));
drivers/gpu/drm/i915/gt/selftest_execlists.c
782
error_repr(p->error[i]));
drivers/gpu/drm/i915/gt/selftest_execlists.c
789
if (client[i]->fence.error != p->error[i]) {
drivers/gpu/drm/i915/gt/selftest_execlists.c
792
error_repr(p->error[i]),
drivers/gpu/drm/i915/gt/selftest_execlists.c
794
client[i]->fence.error);
drivers/gpu/drm/i915/gt/selftest_execlists.c
807
p->error[0], p->error[1]);
drivers/gpu/drm/i915/gt/selftest_execlists.c
87
if (READ_ONCE(rq->fence.error))
drivers/gpu/drm/i915/gt/selftest_execlists.c
91
if (rq->fence.error != -EIO) {
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
1108
if (rq->fence.error != -EIO) {
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
1738
if (prev->fence.error != -EIO) {
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
1740
prev->fence.error);
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
1747
if (rq->fence.error) {
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
1749
rq->fence.error);
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
1814
struct i915_gpu_coredump *error;
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
1857
error = xchg(&global->first_error, (void *)-1);
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
1861
xchg(&global->first_error, error);
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
1863
if (rq->fence.error != -EIO) {
drivers/gpu/drm/i915/gt/selftest_lrc.c
1760
if (!rq->fence.error)
drivers/gpu/drm/i915/gt/selftest_lrc.c
1825
if (!hang->fence.error) {
drivers/gpu/drm/i915/gt/selftest_rc6.c
239
struct i915_gpu_error *error = >->i915->gpu_error;
drivers/gpu/drm/i915/gt/selftest_rc6.c
242
i915_reset_engine_count(error, engine);
drivers/gpu/drm/i915/gt/selftest_rc6.c
272
i915_reset_engine_count(error, engine)) {
drivers/gpu/drm/i915/gt/uc/intel_guc.c
577
u32 error = FIELD_GET(GUC_HXG_FAILURE_MSG_0_ERROR, header);
drivers/gpu/drm/i915/gt/uc/intel_guc.c
580
request[0], error, hint);
drivers/gpu/drm/i915/gvt/scheduler.c
1102
if (workload->req->fence.error == -EIO)
drivers/gpu/drm/i915/i915_deps.c
109
ret = fence->error;
drivers/gpu/drm/i915/i915_deps.c
146
ret = (*fences)->error;
drivers/gpu/drm/i915/i915_deps.c
187
ret = fence->error;
drivers/gpu/drm/i915/i915_driver.c
1214
int error;
drivers/gpu/drm/i915/i915_driver.c
1223
error = i915_drm_suspend(&i915->drm);
drivers/gpu/drm/i915/i915_driver.c
1224
if (error)
drivers/gpu/drm/i915/i915_driver.c
1225
return error;
drivers/gpu/drm/i915/i915_driver.c
1227
error = i915_drm_suspend_late(&i915->drm, false);
drivers/gpu/drm/i915/i915_driver.c
1228
if (error)
drivers/gpu/drm/i915/i915_driver.c
1229
return error;
drivers/gpu/drm/i915/i915_gpu_error.c
1004
ssize_t i915_gpu_coredump_copy_to_buffer(struct i915_gpu_coredump *error,
drivers/gpu/drm/i915/i915_gpu_error.c
1012
if (!error || !rem)
drivers/gpu/drm/i915/i915_gpu_error.c
1015
err = err_print_to_sgl(error);
drivers/gpu/drm/i915/i915_gpu_error.c
1019
sg = READ_ONCE(error->fit);
drivers/gpu/drm/i915/i915_gpu_error.c
1021
sg = error->sgl;
drivers/gpu/drm/i915/i915_gpu_error.c
1060
WRITE_ONCE(error->fit, sg);
drivers/gpu/drm/i915/i915_gpu_error.c
1084
static void cleanup_params(struct i915_gpu_coredump *error)
drivers/gpu/drm/i915/i915_gpu_error.c
1086
i915_params_free(&error->params);
drivers/gpu/drm/i915/i915_gpu_error.c
1122
struct i915_gpu_coredump *error =
drivers/gpu/drm/i915/i915_gpu_error.c
1123
container_of(error_ref, typeof(*error), ref);
drivers/gpu/drm/i915/i915_gpu_error.c
1125
while (error->gt) {
drivers/gpu/drm/i915/i915_gpu_error.c
1126
struct intel_gt_coredump *gt = error->gt;
drivers/gpu/drm/i915/i915_gpu_error.c
1128
error->gt = gt->next;
drivers/gpu/drm/i915/i915_gpu_error.c
1132
intel_display_snapshot_free(error->display_snapshot);
drivers/gpu/drm/i915/i915_gpu_error.c
1134
cleanup_params(error);
drivers/gpu/drm/i915/i915_gpu_error.c
1136
err_free_sgl(error->sgl);
drivers/gpu/drm/i915/i915_gpu_error.c
1137
kfree(error);
drivers/gpu/drm/i915/i915_gpu_error.c
1964
gt->error = intel_uncore_read(uncore, ERROR_GEN6);
drivers/gpu/drm/i915/i915_gpu_error.c
2028
static const char *error_msg(struct i915_gpu_coredump *error)
drivers/gpu/drm/i915/i915_gpu_error.c
2035
for (gt = error->gt; gt; gt = gt->next) {
drivers/gpu/drm/i915/i915_gpu_error.c
2047
len = scnprintf(error->error_msg, sizeof(error->error_msg),
drivers/gpu/drm/i915/i915_gpu_error.c
2049
GRAPHICS_VER(error->i915), hung_classes,
drivers/gpu/drm/i915/i915_gpu_error.c
2053
len += scnprintf(error->error_msg + len,
drivers/gpu/drm/i915/i915_gpu_error.c
2054
sizeof(error->error_msg) - len,
drivers/gpu/drm/i915/i915_gpu_error.c
2059
return error->error_msg;
drivers/gpu/drm/i915/i915_gpu_error.c
2062
static void capture_gen(struct i915_gpu_coredump *error)
drivers/gpu/drm/i915/i915_gpu_error.c
2064
struct drm_i915_private *i915 = error->i915;
drivers/gpu/drm/i915/i915_gpu_error.c
2066
error->wakelock = atomic_read(&i915->runtime_pm.wakeref_count);
drivers/gpu/drm/i915/i915_gpu_error.c
2067
error->suspended = pm_runtime_suspended(i915->drm.dev);
drivers/gpu/drm/i915/i915_gpu_error.c
2069
error->iommu = i915_vtd_active(i915);
drivers/gpu/drm/i915/i915_gpu_error.c
2070
error->reset_count = i915_reset_count(&i915->gpu_error);
drivers/gpu/drm/i915/i915_gpu_error.c
2071
error->suspend_count = i915->suspend_count;
drivers/gpu/drm/i915/i915_gpu_error.c
2073
i915_params_copy(&error->params, &i915->params);
drivers/gpu/drm/i915/i915_gpu_error.c
2074
memcpy(&error->device_info,
drivers/gpu/drm/i915/i915_gpu_error.c
2076
sizeof(error->device_info));
drivers/gpu/drm/i915/i915_gpu_error.c
2077
memcpy(&error->runtime_info,
drivers/gpu/drm/i915/i915_gpu_error.c
2079
sizeof(error->runtime_info));
drivers/gpu/drm/i915/i915_gpu_error.c
2080
error->driver_caps = i915->caps;
drivers/gpu/drm/i915/i915_gpu_error.c
2086
struct i915_gpu_coredump *error;
drivers/gpu/drm/i915/i915_gpu_error.c
2091
error = kzalloc_obj(*error, gfp);
drivers/gpu/drm/i915/i915_gpu_error.c
2092
if (!error)
drivers/gpu/drm/i915/i915_gpu_error.c
2095
kref_init(&error->ref);
drivers/gpu/drm/i915/i915_gpu_error.c
2096
error->i915 = i915;
drivers/gpu/drm/i915/i915_gpu_error.c
2098
error->time = ktime_get_real();
drivers/gpu/drm/i915/i915_gpu_error.c
2099
error->boottime = ktime_get_boottime();
drivers/gpu/drm/i915/i915_gpu_error.c
2100
error->uptime = ktime_sub(ktime_get(), to_gt(i915)->last_init_time);
drivers/gpu/drm/i915/i915_gpu_error.c
2101
error->capture = jiffies;
drivers/gpu/drm/i915/i915_gpu_error.c
2103
capture_gen(error);
drivers/gpu/drm/i915/i915_gpu_error.c
2105
return error;
drivers/gpu/drm/i915/i915_gpu_error.c
2173
struct i915_gpu_coredump *error;
drivers/gpu/drm/i915/i915_gpu_error.c
2176
error = READ_ONCE(i915->gpu_error.first_error);
drivers/gpu/drm/i915/i915_gpu_error.c
2177
if (IS_ERR(error))
drivers/gpu/drm/i915/i915_gpu_error.c
2178
return error;
drivers/gpu/drm/i915/i915_gpu_error.c
2180
error = i915_gpu_coredump_alloc(i915, ALLOW_FAIL);
drivers/gpu/drm/i915/i915_gpu_error.c
2181
if (!error)
drivers/gpu/drm/i915/i915_gpu_error.c
2184
error->gt = intel_gt_coredump_alloc(gt, ALLOW_FAIL, dump_flags);
drivers/gpu/drm/i915/i915_gpu_error.c
2185
if (error->gt) {
drivers/gpu/drm/i915/i915_gpu_error.c
2188
compress = i915_vma_capture_prepare(error->gt);
drivers/gpu/drm/i915/i915_gpu_error.c
2190
kfree(error->gt);
drivers/gpu/drm/i915/i915_gpu_error.c
2191
kfree(error);
drivers/gpu/drm/i915/i915_gpu_error.c
2196
error->gt->uc = gt_record_uc(error->gt, compress);
drivers/gpu/drm/i915/i915_gpu_error.c
2197
if (error->gt->uc) {
drivers/gpu/drm/i915/i915_gpu_error.c
2199
error->gt->uc->guc.is_guc_capture = true;
drivers/gpu/drm/i915/i915_gpu_error.c
2201
GEM_BUG_ON(error->gt->uc->guc.is_guc_capture);
drivers/gpu/drm/i915/i915_gpu_error.c
2205
gt_record_info(error->gt);
drivers/gpu/drm/i915/i915_gpu_error.c
2206
gt_record_engines(error->gt, engine_mask, compress, dump_flags);
drivers/gpu/drm/i915/i915_gpu_error.c
2209
i915_vma_capture_finish(error->gt, compress);
drivers/gpu/drm/i915/i915_gpu_error.c
2211
error->simulated |= error->gt->simulated;
drivers/gpu/drm/i915/i915_gpu_error.c
2214
error->display_snapshot = intel_display_snapshot_capture(display);
drivers/gpu/drm/i915/i915_gpu_error.c
2216
return error;
drivers/gpu/drm/i915/i915_gpu_error.c
2235
void i915_error_state_store(struct i915_gpu_coredump *error)
drivers/gpu/drm/i915/i915_gpu_error.c
2239
if (IS_ERR_OR_NULL(error))
drivers/gpu/drm/i915/i915_gpu_error.c
2242
i915 = error->i915;
drivers/gpu/drm/i915/i915_gpu_error.c
2243
drm_info(&i915->drm, "%s\n", error_msg(error));
drivers/gpu/drm/i915/i915_gpu_error.c
2245
if (error->simulated ||
drivers/gpu/drm/i915/i915_gpu_error.c
2246
cmpxchg(&i915->gpu_error.first_error, NULL, error))
drivers/gpu/drm/i915/i915_gpu_error.c
2249
i915_gpu_coredump_get(error);
drivers/gpu/drm/i915/i915_gpu_error.c
2269
struct i915_gpu_coredump *error;
drivers/gpu/drm/i915/i915_gpu_error.c
2271
error = i915_gpu_coredump(gt, engine_mask, dump_flags);
drivers/gpu/drm/i915/i915_gpu_error.c
2272
if (IS_ERR(error)) {
drivers/gpu/drm/i915/i915_gpu_error.c
2273
cmpxchg(>->i915->gpu_error.first_error, NULL, error);
drivers/gpu/drm/i915/i915_gpu_error.c
2277
i915_error_state_store(error);
drivers/gpu/drm/i915/i915_gpu_error.c
2278
i915_gpu_coredump_put(error);
drivers/gpu/drm/i915/i915_gpu_error.c
2284
struct i915_gpu_coredump *error;
drivers/gpu/drm/i915/i915_gpu_error.c
2287
error = i915->gpu_error.first_error;
drivers/gpu/drm/i915/i915_gpu_error.c
2288
if (!IS_ERR_OR_NULL(error))
drivers/gpu/drm/i915/i915_gpu_error.c
2289
i915_gpu_coredump_get(error);
drivers/gpu/drm/i915/i915_gpu_error.c
2292
return error;
drivers/gpu/drm/i915/i915_gpu_error.c
2297
struct i915_gpu_coredump *error;
drivers/gpu/drm/i915/i915_gpu_error.c
2300
error = i915->gpu_error.first_error;
drivers/gpu/drm/i915/i915_gpu_error.c
2301
if (error != ERR_PTR(-ENODEV)) /* if disabled, always disabled */
drivers/gpu/drm/i915/i915_gpu_error.c
2305
if (!IS_ERR_OR_NULL(error))
drivers/gpu/drm/i915/i915_gpu_error.c
2306
i915_gpu_coredump_put(error);
drivers/gpu/drm/i915/i915_gpu_error.c
2323
struct i915_gpu_coredump *error;
drivers/gpu/drm/i915/i915_gpu_error.c
2338
error = READ_ONCE(i915->gpu_error.first_error);
drivers/gpu/drm/i915/i915_gpu_error.c
2339
if (error) {
drivers/gpu/drm/i915/i915_gpu_error.c
2346
error = i915_gpu_coredump(gt, engine_mask, CORE_DUMP_FLAG_NONE);
drivers/gpu/drm/i915/i915_gpu_error.c
2348
if (IS_ERR(error)) {
drivers/gpu/drm/i915/i915_gpu_error.c
2350
l_count, line++, PTR_ERR(error));
drivers/gpu/drm/i915/i915_gpu_error.c
2358
i915_gpu_coredump_put(error);
drivers/gpu/drm/i915/i915_gpu_error.c
2370
ssize_t got = i915_gpu_coredump_copy_to_buffer(error, buf, pos_err, buf_size - 1);
drivers/gpu/drm/i915/i915_gpu_error.c
2452
struct i915_gpu_coredump *error;
drivers/gpu/drm/i915/i915_gpu_error.c
2456
error = file->private_data;
drivers/gpu/drm/i915/i915_gpu_error.c
2457
if (!error)
drivers/gpu/drm/i915/i915_gpu_error.c
2465
ret = i915_gpu_coredump_copy_to_buffer(error, buf, *pos, count);
drivers/gpu/drm/i915/i915_gpu_error.c
2516
struct i915_gpu_coredump *error = filp->private_data;
drivers/gpu/drm/i915/i915_gpu_error.c
2518
if (!error)
drivers/gpu/drm/i915/i915_gpu_error.c
2521
drm_dbg(&error->i915->drm, "Resetting error state\n");
drivers/gpu/drm/i915/i915_gpu_error.c
2522
i915_reset_error_state(error->i915);
drivers/gpu/drm/i915/i915_gpu_error.c
2529
struct i915_gpu_coredump *error;
drivers/gpu/drm/i915/i915_gpu_error.c
2531
error = i915_first_error_state(inode->i_private);
drivers/gpu/drm/i915/i915_gpu_error.c
2532
if (IS_ERR(error))
drivers/gpu/drm/i915/i915_gpu_error.c
2533
return PTR_ERR(error);
drivers/gpu/drm/i915/i915_gpu_error.c
2535
file->private_data = error;
drivers/gpu/drm/i915/i915_gpu_error.c
648
struct i915_gpu_coredump *error)
drivers/gpu/drm/i915/i915_gpu_error.c
652
intel_device_info_print(&error->device_info, &error->runtime_info, &p);
drivers/gpu/drm/i915/i915_gpu_error.c
653
intel_driver_caps_print(&error->driver_caps, &p);
drivers/gpu/drm/i915/i915_gpu_error.c
819
err_printf(m, "ERROR: 0x%08x\n", gt->error);
drivers/gpu/drm/i915/i915_gpu_error.c
895
struct i915_gpu_coredump *error)
drivers/gpu/drm/i915/i915_gpu_error.c
901
if (*error->error_msg)
drivers/gpu/drm/i915/i915_gpu_error.c
902
err_printf(m, "%s\n", error->error_msg);
drivers/gpu/drm/i915/i915_gpu_error.c
906
ts = ktime_to_timespec64(error->time);
drivers/gpu/drm/i915/i915_gpu_error.c
909
ts = ktime_to_timespec64(error->boottime);
drivers/gpu/drm/i915/i915_gpu_error.c
912
ts = ktime_to_timespec64(error->uptime);
drivers/gpu/drm/i915/i915_gpu_error.c
916
error->capture, jiffies_to_msecs(jiffies - error->capture));
drivers/gpu/drm/i915/i915_gpu_error.c
918
for (ee = error->gt ? error->gt->engine : NULL; ee; ee = ee->next)
drivers/gpu/drm/i915/i915_gpu_error.c
924
err_printf(m, "Reset count: %u\n", error->reset_count);
drivers/gpu/drm/i915/i915_gpu_error.c
925
err_printf(m, "Suspend count: %u\n", error->suspend_count);
drivers/gpu/drm/i915/i915_gpu_error.c
926
err_printf(m, "Platform: %s\n", intel_platform_name(error->device_info.platform));
drivers/gpu/drm/i915/i915_gpu_error.c
928
intel_subplatform(&error->runtime_info,
drivers/gpu/drm/i915/i915_gpu_error.c
929
error->device_info.platform));
drivers/gpu/drm/i915/i915_gpu_error.c
932
err_printf(m, "IOMMU enabled?: %d\n", error->iommu);
drivers/gpu/drm/i915/i915_gpu_error.c
934
err_printf(m, "RPM wakelock: %s\n", str_yes_no(error->wakelock));
drivers/gpu/drm/i915/i915_gpu_error.c
935
err_printf(m, "PM suspended: %s\n", str_yes_no(error->suspended));
drivers/gpu/drm/i915/i915_gpu_error.c
937
if (error->gt) {
drivers/gpu/drm/i915/i915_gpu_error.c
940
if (error->gt->uc && error->gt->uc->guc.is_guc_capture)
drivers/gpu/drm/i915/i915_gpu_error.c
943
err_print_gt_global_nonguc(m, error->gt);
drivers/gpu/drm/i915/i915_gpu_error.c
944
err_print_gt_fences(m, error->gt);
drivers/gpu/drm/i915/i915_gpu_error.c
951
err_print_gt_global(m, error->gt);
drivers/gpu/drm/i915/i915_gpu_error.c
953
err_print_gt_engines(m, error->gt);
drivers/gpu/drm/i915/i915_gpu_error.c
955
if (error->gt->uc)
drivers/gpu/drm/i915/i915_gpu_error.c
956
err_print_uc(m, error->gt->uc);
drivers/gpu/drm/i915/i915_gpu_error.c
958
err_print_gt_info(m, error->gt);
drivers/gpu/drm/i915/i915_gpu_error.c
961
err_print_capabilities(m, error);
drivers/gpu/drm/i915/i915_gpu_error.c
962
err_print_params(m, &error->params);
drivers/gpu/drm/i915/i915_gpu_error.c
964
intel_display_snapshot_print(error->display_snapshot, &p);
drivers/gpu/drm/i915/i915_gpu_error.c
967
static int err_print_to_sgl(struct i915_gpu_coredump *error)
drivers/gpu/drm/i915/i915_gpu_error.c
971
if (IS_ERR(error))
drivers/gpu/drm/i915/i915_gpu_error.c
972
return PTR_ERR(error);
drivers/gpu/drm/i915/i915_gpu_error.c
974
if (READ_ONCE(error->sgl))
drivers/gpu/drm/i915/i915_gpu_error.c
978
m.i915 = error->i915;
drivers/gpu/drm/i915/i915_gpu_error.c
980
__err_print_to_sgl(&m, error);
drivers/gpu/drm/i915/i915_gpu_error.c
998
if (cmpxchg(&error->sgl, NULL, m.sgl))
drivers/gpu/drm/i915/i915_gpu_error.h
151
u32 error; /* gen6+ */
drivers/gpu/drm/i915/i915_gpu_error.h
244
static inline u32 i915_reset_count(struct i915_gpu_error *error)
drivers/gpu/drm/i915/i915_gpu_error.h
246
return atomic_read(&error->reset_count);
drivers/gpu/drm/i915/i915_gpu_error.h
249
static inline u32 i915_reset_engine_count(struct i915_gpu_error *error,
drivers/gpu/drm/i915/i915_gpu_error.h
252
return atomic_read(&error->reset_engine_count[engine->class]);
drivers/gpu/drm/i915/i915_gpu_error.h
256
i915_increase_reset_engine_count(struct i915_gpu_error *error,
drivers/gpu/drm/i915/i915_gpu_error.h
259
atomic_inc(&error->reset_engine_count[engine->class]);
drivers/gpu/drm/i915/i915_gpu_error.h
307
void i915_error_state_store(struct i915_gpu_coredump *error);
drivers/gpu/drm/i915/i915_gpu_error.h
317
i915_gpu_coredump_copy_to_buffer(struct i915_gpu_coredump *error,
drivers/gpu/drm/i915/i915_gpu_error.h
393
i915_error_state_store(struct i915_gpu_coredump *error)
drivers/gpu/drm/i915/i915_request.c
1477
i915_sw_fence_set_error_once(&to->submit, from->fence.error);
drivers/gpu/drm/i915/i915_request.c
542
static bool fatal_error(int error)
drivers/gpu/drm/i915/i915_request.c
544
switch (error) {
drivers/gpu/drm/i915/i915_request.c
556
GEM_BUG_ON(!fatal_error(rq->fence.error));
drivers/gpu/drm/i915/i915_request.c
561
RQ_TRACE(rq, "error: %d\n", rq->fence.error);
drivers/gpu/drm/i915/i915_request.c
572
bool i915_request_set_error_once(struct i915_request *rq, int error)
drivers/gpu/drm/i915/i915_request.c
576
GEM_BUG_ON(!IS_ERR_VALUE((long)error));
drivers/gpu/drm/i915/i915_request.c
581
old = READ_ONCE(rq->fence.error);
drivers/gpu/drm/i915/i915_request.c
585
} while (!try_cmpxchg(&rq->fence.error, &old, error));
drivers/gpu/drm/i915/i915_request.c
640
if (unlikely(fatal_error(request->fence.error)))
drivers/gpu/drm/i915/i915_request.c
763
void i915_request_cancel(struct i915_request *rq, int error)
drivers/gpu/drm/i915/i915_request.c
765
if (!i915_request_set_error_once(rq, error))
drivers/gpu/drm/i915/i915_request.c
783
if (unlikely(fence->error))
drivers/gpu/drm/i915/i915_request.c
784
i915_request_set_error_once(request, fence->error);
drivers/gpu/drm/i915/i915_request.h
380
bool i915_request_set_error_once(struct i915_request *rq, int error);
drivers/gpu/drm/i915/i915_request.h
435
void i915_request_cancel(struct i915_request *rq, int error);
drivers/gpu/drm/i915/i915_sw_fence.c
175
wake_flags = fence->error;
drivers/gpu/drm/i915/i915_sw_fence.c
258
fence->error = 0;
drivers/gpu/drm/i915/i915_sw_fence.c
351
i915_sw_fence_set_error_once(fence, signaler->error);
drivers/gpu/drm/i915/i915_sw_fence.c
369
i915_sw_fence_set_error_once(fence, signaler->error);
drivers/gpu/drm/i915/i915_sw_fence.c
388
i915_sw_fence_wake(wq, 0, signaler->error, NULL);
drivers/gpu/drm/i915/i915_sw_fence.c
423
i915_sw_fence_set_error_once(cb->fence, dma->error);
drivers/gpu/drm/i915/i915_sw_fence.c
463
i915_sw_fence_set_error_once(fence, dma->error);
drivers/gpu/drm/i915/i915_sw_fence.c
494
i915_sw_fence_set_error_once(fence, dma->error);
drivers/gpu/drm/i915/i915_sw_fence.c
510
i915_sw_fence_set_error_once(fence, dma->error);
drivers/gpu/drm/i915/i915_sw_fence.c
549
i915_sw_fence_set_error_once(cb->fence, dma->error);
drivers/gpu/drm/i915/i915_sw_fence.c
562
i915_sw_fence_set_error_once(fence, dma->error);
drivers/gpu/drm/i915/i915_sw_fence.h
117
i915_sw_fence_set_error_once(struct i915_sw_fence *fence, int error)
drivers/gpu/drm/i915/i915_sw_fence.h
119
if (unlikely(error))
drivers/gpu/drm/i915/i915_sw_fence.h
120
cmpxchg(&fence->error, 0, error);
drivers/gpu/drm/i915/i915_sw_fence.h
37
int error;
drivers/gpu/drm/i915/i915_sw_fence_work.c
33
if (fence->error)
drivers/gpu/drm/i915/i915_sw_fence_work.c
34
dma_fence_set_error(&f->dma, fence->error);
drivers/gpu/drm/i915/i915_sw_fence_work.c
36
if (!f->dma.error) {
drivers/gpu/drm/i915/i915_vma.c
402
vw->base.dma.error = -EAGAIN; /* disable the worker by default */
drivers/gpu/drm/i915/i915_vma.c
436
err = fence->error;
drivers/gpu/drm/i915/i915_vma.c
565
work->base.dma.error = 0; /* enable the queue_work() */
drivers/gpu/drm/i915/selftests/i915_request.c
680
if (rq->fence.error != -EINTR) {
drivers/gpu/drm/i915/selftests/i915_request.c
682
engine->name, rq->fence.error);
drivers/gpu/drm/i915/selftests/i915_request.c
741
if (rq->fence.error != -EINTR) {
drivers/gpu/drm/i915/selftests/i915_request.c
743
engine->name, rq->fence.error);
drivers/gpu/drm/i915/selftests/i915_request.c
790
if (rq->fence.error) {
drivers/gpu/drm/i915/selftests/i915_request.c
792
engine->name, rq->fence.error);
drivers/gpu/drm/i915/selftests/i915_request.c
879
if (rq->fence.error != -EINTR) {
drivers/gpu/drm/i915/selftests/i915_request.c
881
engine->name, rq->fence.error);
drivers/gpu/drm/i915/selftests/i915_request.c
895
if (nop->fence.error != 0) {
drivers/gpu/drm/i915/selftests/i915_request.c
897
engine->name, nop->fence.error);
drivers/gpu/drm/i915/selftests/lib_sw_fence.c
43
fence->error = 0;
drivers/gpu/drm/lima/lima_gp.c
49
pipe->error = true;
drivers/gpu/drm/lima/lima_gp.c
57
pipe->error = false;
drivers/gpu/drm/lima/lima_pp.c
32
pipe->error = true;
drivers/gpu/drm/lima/lima_sched.c
215
if (job->s_fence->finished.error < 0)
drivers/gpu/drm/lima/lima_sched.c
267
pipe->error = false;
drivers/gpu/drm/lima/lima_sched.c
444
if (!pipe->error)
drivers/gpu/drm/lima/lima_sched.c
550
if (pipe->error) {
drivers/gpu/drm/lima/lima_sched.h
107
pipe->error = true;
drivers/gpu/drm/lima/lima_sched.h
71
bool error;
drivers/gpu/drm/logicvc/logicvc_drm.c
193
goto error;
drivers/gpu/drm/logicvc/logicvc_drm.c
201
goto error;
drivers/gpu/drm/logicvc/logicvc_drm.c
209
error:
drivers/gpu/drm/logicvc/logicvc_layer.c
476
goto error;
drivers/gpu/drm/logicvc/logicvc_layer.c
486
goto error;
drivers/gpu/drm/logicvc/logicvc_layer.c
494
goto error;
drivers/gpu/drm/logicvc/logicvc_layer.c
550
error:
drivers/gpu/drm/logicvc/logicvc_layer.c
594
goto error;
drivers/gpu/drm/logicvc/logicvc_layer.c
617
goto error;
drivers/gpu/drm/logicvc/logicvc_layer.c
625
error:
drivers/gpu/drm/loongson/lsdc_drv.c
408
int error;
drivers/gpu/drm/loongson/lsdc_drv.c
410
error = lsdc_pm_freeze(dev);
drivers/gpu/drm/loongson/lsdc_drv.c
411
if (error)
drivers/gpu/drm/loongson/lsdc_drv.c
412
return error;
drivers/gpu/drm/msm/adreno/a6xx_hfi.c
175
struct a6xx_hfi_msg_error *error =
drivers/gpu/drm/msm/adreno/a6xx_hfi.c
179
error->code);
drivers/gpu/drm/msm/adreno/a6xx_hfi.c
190
if (resp.error) {
drivers/gpu/drm/msm/adreno/a6xx_hfi.c
193
a6xx_hfi_msg_id[id], seqnum, resp.error);
drivers/gpu/drm/msm/adreno/a6xx_hfi.h
73
u32 error;
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
1169
goto error;
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
1295
error:
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c
1391
void dpu_plane_set_error(struct drm_plane *plane, bool error)
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c
1399
pdpu->is_error = error;
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h
53
void dpu_plane_set_error(struct drm_plane *plane, bool error);
drivers/gpu/drm/msm/dp/dp_audio.c
350
goto error;
drivers/gpu/drm/msm/dp/dp_audio.c
356
goto error;
drivers/gpu/drm/msm/dp/dp_audio.c
365
error:
drivers/gpu/drm/msm/dp/dp_display.c
776
goto error;
drivers/gpu/drm/msm/dp/dp_display.c
784
goto error;
drivers/gpu/drm/msm/dp/dp_display.c
826
error:
drivers/gpu/drm/msm/dsi/dsi_host.c
441
goto error;
drivers/gpu/drm/msm/dsi/dsi_host.c
471
error:
drivers/gpu/drm/msm/dsi/dsi_host.c
517
goto error;
drivers/gpu/drm/msm/dsi/dsi_host.c
546
error:
drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c
364
goto error;
drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c
377
error:
drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c
513
goto error;
drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c
535
error:
drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c
1014
goto error;
drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c
1023
error:
drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c
877
goto error;
drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c
895
goto error;
drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c
907
goto error;
drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c
919
goto error;
drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c
922
error:
drivers/gpu/drm/msm/msm_gem_submit.c
521
static void submit_cleanup(struct msm_gem_submit *submit, bool error)
drivers/gpu/drm/msm/msm_gem_submit.c
523
if (error)
drivers/gpu/drm/msm/msm_gem_submit.c
530
if (error)
drivers/gpu/drm/nouveau/nouveau_bo.c
563
bool error = evict;
drivers/gpu/drm/nouveau/nouveau_bo.c
567
error |= !(domain & NOUVEAU_GEM_DOMAIN_VRAM);
drivers/gpu/drm/nouveau/nouveau_bo.c
570
error |= !(domain & NOUVEAU_GEM_DOMAIN_GART);
drivers/gpu/drm/nouveau/nouveau_bo.c
576
if (error) {
drivers/gpu/drm/nouveau/nouveau_fence.c
78
nouveau_fence_context_kill(struct nouveau_fence_chan *fctx, int error)
drivers/gpu/drm/nouveau/nouveau_fence.c
85
if (error && !dma_fence_is_signaled_locked(&fence->base))
drivers/gpu/drm/nouveau/nouveau_fence.c
86
dma_fence_set_error(&fence->base, error);
drivers/gpu/drm/nouveau/nouveau_fence.h
73
void nouveau_fence_context_kill(struct nouveau_fence_chan *, int error);
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
125
goto error;
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
163
error:
drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.h
28
#define CONN_ERR(c,f,a...) CONN_MSG((c), error, f, ##a)
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
956
u32 error = nvkm_mask(device, 0x611848, 0x00000000, 0x00000000);
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
957
nvkm_warn(subdev, "error %08x\n", error);
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.h
124
#define OUTP_ERR(o,f,a...) OUTP_MSG((o), error, f, ##a)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1239
char error[128];
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1247
nvkm_snprintbf(error, sizeof(error), gf100_gpc_rop_error, trap[0]);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1251
gpc, trap[0], error, trap[1] & 0xffff, trap[1] >> 16,
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1414
char error[128];
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1421
nvkm_snprintbf(error, sizeof(error), gf100_dispatch_error,
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1423
nvkm_error(subdev, "DISPATCH %08x [%s]\n", stat, error);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1432
nvkm_snprintbf(error, sizeof(error), gf100_m2mf_error,
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1434
nvkm_error(subdev, "M2MF %08x [%s]\n", stat, error);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1444
nvkm_snprintbf(error, sizeof(error), gf100_ccache_error,
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1446
nvkm_error(subdev, "CCACHE %08x [%s]\n", stat, error);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1464
nvkm_snprintbf(error, sizeof(error), gf100_unk6_error,
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1466
nvkm_error(subdev, "UNK6 %08x [%s]\n", stat, error);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1478
nvkm_snprintbf(error, sizeof(error), gf100_macro_error,
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1481
stat, error, pc & 0x7ff,
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1493
nvkm_snprintbf(error, sizeof(error), gk104_sked_error, stat);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1494
nvkm_error(subdev, "SKED: %08x [%s]\n", stat, error);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
105
error("script needs OR link\n");
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
116
error("script needs head\n");
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
1356
error("error parsing sub-table\n");
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
137
error("script needs connector type\n");
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
1676
error("error parsing sub-table\n");
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2311
error("unknown opcode 0x%02x\n", opcode);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
308
error("script needs output for aux\n");
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
563
error("tmds opcodes need dcb\n");
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
568
error("tmds selector 0x%02x unknown\n", tmds);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
94
error("script needs OR!!\n");
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
1386
goto error;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
1390
goto error;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
1394
goto error;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
1403
goto error;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
1408
goto error;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
1428
error:
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
2008
goto error;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
2023
goto error;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
2027
goto error;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
2031
goto error;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
2035
goto error;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
2049
error:
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvrm/gsp.h
390
NvU32 error;
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.h
43
#define AUX_ERR(b,f,a...) AUX_MSG((b), error, f, ##a)
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.h
36
#define BUS_ERR(b,f,a...) BUS_MSG((b), error, f, ##a)
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.h
65
#define PAD_ERR(p,f,a...) PAD_MSG((p), error, f, ##a)
drivers/gpu/drm/omapdrm/dss/dispc.c
2257
int error;
drivers/gpu/drm/omapdrm/dss/dispc.c
2269
error = (in_width > maxsinglelinewidth || !*core_clk ||
drivers/gpu/drm/omapdrm/dss/dispc.c
2271
if (error) {
drivers/gpu/drm/omapdrm/dss/dispc.c
2281
} while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error);
drivers/gpu/drm/omapdrm/dss/dispc.c
2283
if (error) {
drivers/gpu/drm/omapdrm/dss/dispc.c
2306
int error;
drivers/gpu/drm/omapdrm/dss/dispc.c
2329
error = check_horiz_timing_omap3(pclk, lclk, vm,
drivers/gpu/drm/omapdrm/dss/dispc.c
2332
if (error && *five_taps) {
drivers/gpu/drm/omapdrm/dss/dispc.c
2337
error = (error || in_width > maxsinglelinewidth * 2 ||
drivers/gpu/drm/omapdrm/dss/dispc.c
2341
if (!error) {
drivers/gpu/drm/omapdrm/dss/dispc.c
2344
error = 1;
drivers/gpu/drm/omapdrm/dss/dispc.c
2348
error = 1;
drivers/gpu/drm/omapdrm/dss/dispc.c
2351
error = 1;
drivers/gpu/drm/omapdrm/dss/dispc.c
2355
if (error)
drivers/gpu/drm/omapdrm/dss/dispc.c
2357
} while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error);
drivers/gpu/drm/omapdrm/dss/dispc.c
2359
if (error) {
drivers/gpu/drm/omapdrm/dss/dsi.c
3175
static void dsi_handle_framedone(struct dsi_data *dsi, int error)
drivers/gpu/drm/omapdrm/dss/dsi.c
3187
if (!error)
drivers/gpu/drm/omapdrm/dss/dss.c
1201
goto error;
drivers/gpu/drm/omapdrm/dss/dss.c
1207
goto error;
drivers/gpu/drm/omapdrm/dss/dss.c
1218
error:
drivers/gpu/drm/omapdrm/dss/output.c
49
goto error;
drivers/gpu/drm/omapdrm/dss/output.c
58
goto error;
drivers/gpu/drm/omapdrm/dss/output.c
67
goto error;
drivers/gpu/drm/omapdrm/dss/output.c
72
error:
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1092
goto error;
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
1154
error:
drivers/gpu/drm/omapdrm/omap_fb.c
351
goto error;
drivers/gpu/drm/omapdrm/omap_fb.c
357
goto error;
drivers/gpu/drm/omapdrm/omap_fb.c
361
error:
drivers/gpu/drm/omapdrm/omap_plane.c
555
goto error;
drivers/gpu/drm/omapdrm/omap_plane.c
585
error:
drivers/gpu/drm/omapdrm/tcm-sita.c
230
goto error;
drivers/gpu/drm/omapdrm/tcm-sita.c
248
error:
drivers/gpu/drm/panel/panel-edp.c
486
goto error;
drivers/gpu/drm/panel/panel-edp.c
494
error:
drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c
412
goto error;
drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c
423
goto error;
drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c
441
error:
drivers/gpu/drm/panel/panel-samsung-atna33xc20.c
112
goto error;
drivers/gpu/drm/panel/panel-samsung-atna33xc20.c
119
goto error;
drivers/gpu/drm/panel/panel-samsung-atna33xc20.c
133
error:
drivers/gpu/drm/panel/panel-samsung-ld9040.c
111
int error;
drivers/gpu/drm/panel/panel-samsung-ld9040.c
121
int ret = ctx->error;
drivers/gpu/drm/panel/panel-samsung-ld9040.c
123
ctx->error = 0;
drivers/gpu/drm/panel/panel-samsung-ld9040.c
146
if (ctx->error < 0 || len == 0)
drivers/gpu/drm/panel/panel-samsung-ld9040.c
160
ctx->error = ret;
drivers/gpu/drm/panel/panel-samsung-s6e63m0.c
282
int error;
drivers/gpu/drm/panel/panel-samsung-s6e63m0.c
307
int ret = ctx->error;
drivers/gpu/drm/panel/panel-samsung-s6e63m0.c
309
ctx->error = 0;
drivers/gpu/drm/panel/panel-samsung-s6e63m0.c
315
if (ctx->error < 0)
drivers/gpu/drm/panel/panel-samsung-s6e63m0.c
318
ctx->error = ctx->dcs_read(ctx->dev, ctx->transport_data, cmd, data);
drivers/gpu/drm/panel/panel-samsung-s6e63m0.c
323
if (ctx->error < 0 || len == 0)
drivers/gpu/drm/panel/panel-samsung-s6e63m0.c
326
ctx->error = ctx->dcs_write(ctx->dev, ctx->transport_data, data, len);
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
120
int error;
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
130
int ret = ctx->error;
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
132
ctx->error = 0;
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
141
if (ctx->error < 0)
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
148
ctx->error = ret;
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
157
if (ctx->error < 0)
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
158
return ctx->error;
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
163
ctx->error = ret;
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
768
if (ctx->error)
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
808
if (ctx->error < 0)
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
816
ctx->error = ret;
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
828
ctx->error = -EIO;
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
840
ctx->error = -EINVAL;
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
909
ret = ctx->error;
drivers/gpu/drm/panfrost/panfrost_job.c
407
if (unlikely(job->base.s_fence->finished.error))
drivers/gpu/drm/qxl/qxl_drv.c
211
int error;
drivers/gpu/drm/qxl/qxl_drv.c
213
error = qxl_drm_freeze(drm_dev);
drivers/gpu/drm/qxl/qxl_drv.c
214
if (error)
drivers/gpu/drm/qxl/qxl_drv.c
215
return error;
drivers/gpu/drm/qxl/qxl_release.c
232
goto error;
drivers/gpu/drm/qxl/qxl_release.c
239
goto error;
drivers/gpu/drm/qxl/qxl_release.c
242
error:
drivers/gpu/drm/radeon/atombios_encoders.c
224
goto error;
drivers/gpu/drm/radeon/atombios_encoders.c
236
goto error;
drivers/gpu/drm/radeon/atombios_encoders.c
260
error:
drivers/gpu/drm/radeon/cik.c
8142
goto error;
drivers/gpu/drm/radeon/cik.c
8147
goto error;
drivers/gpu/drm/radeon/cik.c
8152
goto error;
drivers/gpu/drm/radeon/cik.c
8156
error:
drivers/gpu/drm/radeon/cik.c
8216
goto error;
drivers/gpu/drm/radeon/cik.c
8221
goto error;
drivers/gpu/drm/radeon/cik.c
8226
goto error;
drivers/gpu/drm/radeon/cik.c
8231
goto error;
drivers/gpu/drm/radeon/cik.c
8235
error:
drivers/gpu/drm/radeon/evergreen.c
4973
goto error;
drivers/gpu/drm/radeon/evergreen.c
4978
goto error;
drivers/gpu/drm/radeon/evergreen.c
4982
error:
drivers/gpu/drm/radeon/ni.c
2011
goto error;
drivers/gpu/drm/radeon/ni.c
2016
goto error;
drivers/gpu/drm/radeon/ni.c
2020
error:
drivers/gpu/drm/radeon/ni.c
2081
goto error;
drivers/gpu/drm/radeon/ni.c
2086
goto error;
drivers/gpu/drm/radeon/ni.c
2091
goto error;
drivers/gpu/drm/radeon/ni.c
2096
goto error;
drivers/gpu/drm/radeon/ni.c
2100
error:
drivers/gpu/drm/radeon/r600.c
3074
goto error;
drivers/gpu/drm/radeon/r600.c
3079
goto error;
drivers/gpu/drm/radeon/r600.c
3083
error:
drivers/gpu/drm/radeon/radeon_cs.c
415
static void radeon_cs_parser_fini(struct radeon_cs_parser *parser, int error)
drivers/gpu/drm/radeon/radeon_cs.c
419
if (!error) {
drivers/gpu/drm/radeon/radeon_display.c
1199
uint32_t feedback_div, current_freq = 0, error, vco_diff;
drivers/gpu/drm/radeon/radeon_display.c
1235
error = 0xffffffff;
drivers/gpu/drm/radeon/radeon_display.c
1237
error = freq - current_freq;
drivers/gpu/drm/radeon/radeon_display.c
1239
error = abs(current_freq - freq);
drivers/gpu/drm/radeon/radeon_display.c
1242
if ((best_vco == 0 && error < best_error) ||
drivers/gpu/drm/radeon/radeon_display.c
1244
((best_error > 100 && error < best_error - 100) ||
drivers/gpu/drm/radeon/radeon_display.c
1245
(abs(error - best_error) < 100 && vco_diff < best_vco_diff)))) {
drivers/gpu/drm/radeon/radeon_display.c
1251
best_error = error;
drivers/gpu/drm/radeon/radeon_display.c
1260
best_error = error;
drivers/gpu/drm/radeon/radeon_display.c
1273
best_error = error;
drivers/gpu/drm/radeon/radeon_legacy_encoders.c
400
goto error;
drivers/gpu/drm/radeon/radeon_legacy_encoders.c
412
goto error;
drivers/gpu/drm/radeon/radeon_legacy_encoders.c
461
error:
drivers/gpu/drm/radeon/radeon_vce.c
804
goto error;
drivers/gpu/drm/radeon/radeon_vce.c
810
goto error;
drivers/gpu/drm/radeon/radeon_vce.c
824
error:
drivers/gpu/drm/radeon/rv770.c
1720
goto error;
drivers/gpu/drm/radeon/rv770.c
1725
goto error;
drivers/gpu/drm/radeon/rv770.c
1729
error:
drivers/gpu/drm/radeon/si.c
6472
goto error;
drivers/gpu/drm/radeon/si.c
6477
goto error;
drivers/gpu/drm/radeon/si.c
6481
error:
drivers/gpu/drm/radeon/si.c
6541
goto error;
drivers/gpu/drm/radeon/si.c
6546
goto error;
drivers/gpu/drm/radeon/si.c
6551
goto error;
drivers/gpu/drm/radeon/si.c
6556
goto error;
drivers/gpu/drm/radeon/si.c
6560
error:
drivers/gpu/drm/radeon/uvd_v1_0.c
517
goto error;
drivers/gpu/drm/radeon/uvd_v1_0.c
523
goto error;
drivers/gpu/drm/radeon/uvd_v1_0.c
530
goto error;
drivers/gpu/drm/radeon/uvd_v1_0.c
534
goto error;
drivers/gpu/drm/radeon/uvd_v1_0.c
538
error:
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c
926
goto error;
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c
935
goto error;
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c
942
error:
drivers/gpu/drm/renesas/rcar-du/rcar_du_drv.c
726
goto error;
drivers/gpu/drm/renesas/rcar-du/rcar_du_drv.c
735
goto error;
drivers/gpu/drm/renesas/rcar-du/rcar_du_drv.c
743
error:
drivers/gpu/drm/renesas/rcar-du/rcar_lvds.c
151
int error;
drivers/gpu/drm/renesas/rcar-du/rcar_lvds.c
263
error = (long)(output - target) * 10000 / (long)target;
drivers/gpu/drm/renesas/rcar-du/rcar_lvds.c
267
clk, fin, output, target, error / 100,
drivers/gpu/drm/renesas/rcar-du/rcar_lvds.c
268
error < 0 ? -error % 100 : error % 100,
drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c
163
goto error;
drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c
172
goto error;
drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c
180
error:
drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c
611
goto error;
drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c
619
error:
drivers/gpu/drm/scheduler/sched_entity.c
169
r = fence ? fence->error : 0;
drivers/gpu/drm/scheduler/sched_entity.c
418
if (!fence->error && s_fence && s_fence->sched == sched &&
drivers/gpu/drm/scheduler/sched_main.c
1276
drm_sched_job_done(sched_job, fence->error);
drivers/gpu/drm/scheduler/sched_main.c
393
drm_sched_job_done(s_job, f->error);
drivers/gpu/drm/scheduler/sched_main.c
710
drm_sched_job_done(s_job, fence->error ?: errno);
drivers/gpu/drm/scheduler/tests/tests_basic.c
235
KUNIT_ASSERT_EQ(test, job->hw_fence.error, -ECANCELED);
drivers/gpu/drm/tegra/sor.c
1083
unsigned int error;
drivers/gpu/drm/tegra/sor.c
1093
s64 error;
drivers/gpu/drm/tegra/sor.c
1137
error = div_s64(active_sym - approx, tu_size);
drivers/gpu/drm/tegra/sor.c
1138
error *= params->num_clocks;
drivers/gpu/drm/tegra/sor.c
1140
if (error <= 0 && abs(error) < params->error) {
drivers/gpu/drm/tegra/sor.c
1144
params->error = abs(error);
drivers/gpu/drm/tegra/sor.c
1147
if (error == 0)
drivers/gpu/drm/tegra/sor.c
1179
params.error = 64 * f;
drivers/gpu/drm/tegra/sor.c
1210
watermark = div_u64(watermark + params.error, f);
drivers/gpu/drm/ttm/ttm_tt.c
396
goto error;
drivers/gpu/drm/ttm/ttm_tt.c
404
goto error;
drivers/gpu/drm/ttm/ttm_tt.c
418
error:
drivers/gpu/drm/udl/udl_main.c
305
goto error;
drivers/gpu/drm/udl/udl_main.c
309
error:
drivers/gpu/drm/v3d/v3d_sched.c
235
if (unlikely(job->base.base.s_fence->finished.error)) {
drivers/gpu/drm/v3d/v3d_sched.c
294
if (unlikely(job->base.base.s_fence->finished.error)) {
drivers/gpu/drm/v3d/v3d_sched.c
342
if (unlikely(job->base.base.s_fence->finished.error)) {
drivers/gpu/drm/v3d/v3d_sched.c
390
if (unlikely(job->base.base.s_fence->finished.error)) {
drivers/gpu/drm/v3d/v3d_submit.c
500
goto error;
drivers/gpu/drm/v3d/v3d_submit.c
507
goto error;
drivers/gpu/drm/v3d/v3d_submit.c
514
goto error;
drivers/gpu/drm/v3d/v3d_submit.c
521
error:
drivers/gpu/drm/v3d/v3d_submit.c
559
goto error;
drivers/gpu/drm/v3d/v3d_submit.c
566
goto error;
drivers/gpu/drm/v3d/v3d_submit.c
573
error:
drivers/gpu/drm/v3d/v3d_submit.c
614
goto error;
drivers/gpu/drm/v3d/v3d_submit.c
621
goto error;
drivers/gpu/drm/v3d/v3d_submit.c
628
goto error;
drivers/gpu/drm/v3d/v3d_submit.c
641
error:
drivers/gpu/drm/v3d/v3d_submit.c
665
goto error;
drivers/gpu/drm/v3d/v3d_submit.c
670
goto error;
drivers/gpu/drm/v3d/v3d_submit.c
679
goto error;
drivers/gpu/drm/v3d/v3d_submit.c
688
goto error;
drivers/gpu/drm/v3d/v3d_submit.c
698
goto error;
drivers/gpu/drm/v3d/v3d_submit.c
704
error:
drivers/gpu/drm/vboxvideo/vbox_drv.c
120
int error;
drivers/gpu/drm/vboxvideo/vbox_drv.c
122
error = drm_mode_config_helper_suspend(&vbox->ddev);
drivers/gpu/drm/vboxvideo/vbox_drv.c
123
if (error)
drivers/gpu/drm/vboxvideo/vbox_drv.c
124
return error;
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
118
struct list_head error;
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
1330
INIT_LIST_HEAD(&man->error);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
405
list_add_tail(&entry->list, &man->error);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
533
list_for_each_entry_safe(entry, next, &man->error, list) {
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
647
idle = list_empty(&man->error);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3886
fence_rep.error = ret;
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3908
if (unlikely(ret != 0) && (fence_rep.error == 0)) {
drivers/gpu/drm/xe/xe_guc.c
1511
u32 error = FIELD_GET(GUC_HXG_FAILURE_MSG_0_ERROR, header);
drivers/gpu/drm/xe/xe_guc.c
1513
if (unlikely(error == XE_GUC_RESPONSE_VF_MIGRATED)) {
drivers/gpu/drm/xe/xe_guc.c
1520
request[0], error, hint);
drivers/gpu/drm/xe/xe_guc_ct.c
1352
action[0], g2h_fence.error, g2h_fence.hint);
drivers/gpu/drm/xe/xe_guc_ct.c
1498
g2h_fence->error = FIELD_GET(GUC_HXG_FAILURE_MSG_0_ERROR, hxg[0]);
drivers/gpu/drm/xe/xe_guc_ct.c
189
u16 error;
drivers/gpu/drm/xe/xe_guc_hxg_helpers.h
80
static inline u32 guc_hxg_msg_encode_failure(u32 *msg, u32 error, u32 hint)
drivers/gpu/drm/xe/xe_guc_hxg_helpers.h
85
FIELD_PREP(GUC_HXG_FAILURE_MSG_0_ERROR, error);
drivers/gpu/drm/xe/xe_guc_relay.c
379
static int from_relay_error(u32 error)
drivers/gpu/drm/xe/xe_guc_relay.c
382
return error ? -error : -ENODATA;
drivers/gpu/drm/xe/xe_guc_relay.c
385
static u32 sanitize_relay_error(u32 error)
drivers/gpu/drm/xe/xe_guc_relay.c
389
error = GUC_RELAY_ERROR_UNDISCLOSED;
drivers/gpu/drm/xe/xe_guc_relay.c
390
return error;
drivers/gpu/drm/xe/xe_guc_relay.c
401
static u32 prepare_error_reply(u32 *msg, u32 error, u32 hint)
drivers/gpu/drm/xe/xe_guc_relay.c
406
FIELD_PREP(GUC_HXG_FAILURE_MSG_0_ERROR, error);
drivers/gpu/drm/xe/xe_guc_relay.c
408
XE_WARN_ON(!FIELD_FIT(GUC_HXG_FAILURE_MSG_0_ERROR, error));
drivers/gpu/drm/xe/xe_guc_relay.c
609
int error = FIELD_GET(GUC_HXG_FAILURE_MSG_0_ERROR, msg[0]);
drivers/gpu/drm/xe/xe_guc_relay.c
614
origin, rid, error, ERR_PTR(-error), hint, 4 * (len - 1), msg + 1);
drivers/gpu/drm/xe/xe_guc_relay.c
616
return relay_handle_reply(relay, origin, rid, error ?: -EREMOTEIO, NULL, 0);
drivers/gpu/drm/xe/xe_guc_relay.c
746
u32 error = to_relay_error(ret);
drivers/gpu/drm/xe/xe_guc_relay.c
754
sanitize_relay_error(error) : error,
drivers/gpu/drm/xe/xe_hw_fence.c
150
return dma_fence->error ||
drivers/gpu/drm/xe/xe_preempt_fence.c
22
if (pfence->error) {
drivers/gpu/drm/xe/xe_preempt_fence.c
23
dma_fence_set_error(&pfence->base, pfence->error);
drivers/gpu/drm/xe/xe_preempt_fence.c
76
pfence->error = q->ops->suspend(q);
drivers/gpu/drm/xe/xe_preempt_fence_types.h
31
int error;
drivers/gpu/drm/xe/xe_sched_job.c
188
static bool xe_fence_set_error(struct dma_fence *fence, int error)
drivers/gpu/drm/xe/xe_sched_job.c
196
dma_fence_set_error(fence, error);
drivers/gpu/drm/xe/xe_sched_job.c
202
void xe_sched_job_set_error(struct xe_sched_job *job, int error)
drivers/gpu/drm/xe/xe_sched_job.c
204
if (xe_fence_set_error(job->fence, error))
drivers/gpu/drm/xe/xe_sched_job.c
212
error);
drivers/gpu/drm/xe/xe_sched_job.h
49
void xe_sched_job_set_error(struct xe_sched_job *job, int error);
drivers/gpu/drm/xe/xe_sched_job.h
52
return job->fence->error < 0;
drivers/gpu/drm/xe/xe_sriov_vfio.c
51
DEFINE_XE_SRIOV_VFIO_FUNCTION(int, error, control_stop_vf);
drivers/gpu/drm/xe/xe_tlb_inval.c
90
fence->base.error = -ETIME;
drivers/gpu/drm/xe/xe_trace.h
243
__field(int, error)
drivers/gpu/drm/xe/xe_trace.h
257
__entry->error = job->fence ? job->fence->error : 0;
drivers/gpu/drm/xe/xe_trace.h
266
__entry->flags, __entry->error)
drivers/gpu/drm/xe/xe_vm.c
131
if (timeout < 0 || q->lr.pfence->error == -ETIME)
drivers/gpu/drm/xlnx/zynqmp_disp.c
1373
goto error;
drivers/gpu/drm/xlnx/zynqmp_disp.c
1379
goto error;
drivers/gpu/drm/xlnx/zynqmp_disp.c
1384
goto error;
drivers/gpu/drm/xlnx/zynqmp_disp.c
1397
error:
drivers/gpu/drm/xlnx/zynqmp_dp.c
1501
goto error;
drivers/gpu/drm/xlnx/zynqmp_dp.c
1509
error:
drivers/gpu/ipu-v3/ipu-di.c
441
unsigned div, error;
drivers/gpu/ipu-v3/ipu-di.c
448
error = rate / (sig->mode.pixelclock / 1000);
drivers/gpu/ipu-v3/ipu-di.c
451
rate, div, error < 1000 ? '-' : '+',
drivers/gpu/ipu-v3/ipu-di.c
452
abs(error - 1000) / 10, abs(error - 1000) % 10);
drivers/gpu/ipu-v3/ipu-di.c
455
if (error < 1010 && error >= 990) {
drivers/greybus/es2.c
1291
goto error;
drivers/greybus/es2.c
1294
goto error;
drivers/greybus/es2.c
1334
goto error;
drivers/greybus/es2.c
1345
goto error;
drivers/greybus/es2.c
1352
goto error;
drivers/greybus/es2.c
1371
goto error;
drivers/greybus/es2.c
1378
goto error;
drivers/greybus/es2.c
1397
goto error;
drivers/greybus/es2.c
1415
goto error;
drivers/greybus/es2.c
1431
error:
drivers/hid/hid-axff.c
105
error = input_ff_create_memless(dev, axff, axff_play);
drivers/hid/hid-axff.c
106
if (error)
drivers/hid/hid-axff.c
118
return error;
drivers/hid/hid-axff.c
129
int error;
drivers/hid/hid-axff.c
133
error = hid_parse(hdev);
drivers/hid/hid-axff.c
134
if (error) {
drivers/hid/hid-axff.c
136
return error;
drivers/hid/hid-axff.c
139
error = hid_hw_start(hdev, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF);
drivers/hid/hid-axff.c
140
if (error) {
drivers/hid/hid-axff.c
142
return error;
drivers/hid/hid-axff.c
145
error = axff_init(hdev);
drivers/hid/hid-axff.c
146
if (error) {
drivers/hid/hid-axff.c
153
error);
drivers/hid/hid-axff.c
160
error = hid_hw_open(hdev);
drivers/hid/hid-axff.c
161
if (error) {
drivers/hid/hid-axff.c
164
return error;
drivers/hid/hid-axff.c
71
int error;
drivers/hid/hid-betopff.c
109
error = input_ff_create_memless(dev, betopff, hid_betopff_play);
drivers/hid/hid-betopff.c
110
if (error) {
drivers/hid/hid-betopff.c
112
return error;
drivers/hid/hid-betopff.c
63
int error;
drivers/hid/hid-bigbenff.c
377
int n, error;
drivers/hid/hid-bigbenff.c
386
error = hid_parse(hid);
drivers/hid/hid-bigbenff.c
387
if (error) {
drivers/hid/hid-bigbenff.c
389
return error;
drivers/hid/hid-bigbenff.c
392
error = hid_hw_start(hid, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF);
drivers/hid/hid-bigbenff.c
393
if (error) {
drivers/hid/hid-bigbenff.c
395
return error;
drivers/hid/hid-bigbenff.c
401
error = -ENODEV;
drivers/hid/hid-bigbenff.c
407
error = -ENODEV;
drivers/hid/hid-bigbenff.c
417
error = input_ff_create_memless(hidinput->input, NULL,
drivers/hid/hid-bigbenff.c
419
if (error)
drivers/hid/hid-bigbenff.c
431
error = -ENOMEM;
drivers/hid/hid-bigbenff.c
445
error = devm_led_classdev_register(&hid->dev, led);
drivers/hid/hid-bigbenff.c
446
if (error)
drivers/hid/hid-bigbenff.c
464
return error;
drivers/hid/hid-core.c
2373
int error;
drivers/hid/hid-core.c
2375
error = hdev->ll_driver->start(hdev);
drivers/hid/hid-core.c
2376
if (error)
drivers/hid/hid-core.c
2377
return error;
drivers/hid/hid-core.c
2380
error = hid_connect(hdev, connect_mask);
drivers/hid/hid-core.c
2381
if (error) {
drivers/hid/hid-core.c
2383
return error;
drivers/hid/hid-cougar.c
163
int error = 0;
drivers/hid/hid-cougar.c
171
error = -ENOMEM;
drivers/hid/hid-cougar.c
182
error = devm_add_action_or_reset(&hdev->dev, cougar_remove_shared_data, cougar);
drivers/hid/hid-cougar.c
183
if (error) {
drivers/hid/hid-cougar.c
185
return error;
drivers/hid/hid-cougar.c
190
return error;
drivers/hid/hid-cougar.c
199
int error;
drivers/hid/hid-cougar.c
206
error = hid_parse(hdev);
drivers/hid/hid-cougar.c
207
if (error) {
drivers/hid/hid-cougar.c
209
return error;
drivers/hid/hid-cougar.c
218
error = hid_hw_start(hdev, connect_mask);
drivers/hid/hid-cougar.c
219
if (error) {
drivers/hid/hid-cougar.c
221
return error;
drivers/hid/hid-cougar.c
224
error = cougar_bind_shared_data(hdev, cougar);
drivers/hid/hid-cougar.c
225
if (error)
drivers/hid/hid-cougar.c
243
error = hid_hw_open(hdev);
drivers/hid/hid-cougar.c
244
if (error)
drivers/hid/hid-cougar.c
251
return error;
drivers/hid/hid-dr.c
113
error = input_ff_create_memless(dev, drff, drff_play);
drivers/hid/hid-dr.c
114
if (error) {
drivers/hid/hid-dr.c
116
return error;
drivers/hid/hid-dr.c
82
int error;
drivers/hid/hid-emsff.c
54
int error;
drivers/hid/hid-emsff.c
85
error = input_ff_create_memless(dev, emsff, emsff_play);
drivers/hid/hid-emsff.c
86
if (error) {
drivers/hid/hid-emsff.c
88
return error;
drivers/hid/hid-gaff.c
105
error = input_ff_create_memless(dev, gaff, hid_gaff_play);
drivers/hid/hid-gaff.c
106
if (error) {
drivers/hid/hid-gaff.c
108
return error;
drivers/hid/hid-gaff.c
72
int error;
drivers/hid/hid-goodix-spi.c
118
int error;
drivers/hid/hid-goodix-spi.c
131
error = spi_sync(spi, &spi_msg);
drivers/hid/hid-goodix-spi.c
132
if (error) {
drivers/hid/hid-goodix-spi.c
133
dev_err(ts->dev, "spi transfer error: %d", error);
drivers/hid/hid-goodix-spi.c
146
int error;
drivers/hid/hid-goodix-spi.c
165
error = spi_sync(spi, &spi_msg);
drivers/hid/hid-goodix-spi.c
166
if (error)
drivers/hid/hid-goodix-spi.c
167
dev_err(ts->dev, "spi transfer error: %d", error);
drivers/hid/hid-goodix-spi.c
171
return error;
drivers/hid/hid-goodix-spi.c
180
int error;
drivers/hid/hid-goodix-spi.c
199
error = spi_sync(spi, &spi_msg);
drivers/hid/hid-goodix-spi.c
200
if (error)
drivers/hid/hid-goodix-spi.c
201
dev_err(ts->dev, "spi transfer error: %d", error);
drivers/hid/hid-goodix-spi.c
203
return error;
drivers/hid/hid-goodix-spi.c
210
int error;
drivers/hid/hid-goodix-spi.c
217
error = goodix_spi_write(ts, GOODIX_DEV_CONFIRM_ADDR,
drivers/hid/hid-goodix-spi.c
219
if (error)
drivers/hid/hid-goodix-spi.c
220
return error;
drivers/hid/hid-goodix-spi.c
222
error = goodix_spi_read(ts, GOODIX_DEV_CONFIRM_ADDR,
drivers/hid/hid-goodix-spi.c
224
if (error)
drivers/hid/hid-goodix-spi.c
225
return error;
drivers/hid/hid-goodix-spi.c
249
int error;
drivers/hid/hid-goodix-spi.c
261
error = goodix_spi_read(ts, GOODIX_HID_REPORT_DESC_ADDR, rdesc, rsize);
drivers/hid/hid-goodix-spi.c
262
if (error) {
drivers/hid/hid-goodix-spi.c
263
dev_err(ts->dev, "failed get report desc, %d", error);
drivers/hid/hid-goodix-spi.c
264
return error;
drivers/hid/hid-goodix-spi.c
267
error = hid_parse_report(hid, rdesc, rsize);
drivers/hid/hid-goodix-spi.c
268
if (error) {
drivers/hid/hid-goodix-spi.c
269
dev_err(ts->dev, "failed parse report, %d", error);
drivers/hid/hid-goodix-spi.c
270
return error;
drivers/hid/hid-goodix-spi.c
344
int error;
drivers/hid/hid-goodix-spi.c
353
error = goodix_spi_read(ts, GOODIX_HID_CMD_ADDR,
drivers/hid/hid-goodix-spi.c
355
if (!error && (hdr.flag & GOODIX_HID_ACK_READY_FLAG)) {
drivers/hid/hid-goodix-spi.c
398
int error;
drivers/hid/hid-goodix-spi.c
405
error = goodix_spi_read(ts, GOODIX_HID_SIGN_ADDR, buf, len);
drivers/hid/hid-goodix-spi.c
406
if (error) {
drivers/hid/hid-goodix-spi.c
407
dev_err(ts->dev, "failed get win8 sign: %d", error);
drivers/hid/hid-goodix-spi.c
436
error = goodix_spi_write(ts, GOODIX_HID_CMD_ADDR, tmp_buf, tx_len);
drivers/hid/hid-goodix-spi.c
437
if (error) {
drivers/hid/hid-goodix-spi.c
438
dev_err(ts->dev, "failed send read feature cmd, %d", error);
drivers/hid/hid-goodix-spi.c
439
return error;
drivers/hid/hid-goodix-spi.c
447
error = goodix_hid_check_ack_status(ts, &response_data_len);
drivers/hid/hid-goodix-spi.c
448
if (error)
drivers/hid/hid-goodix-spi.c
449
return error;
drivers/hid/hid-goodix-spi.c
456
error = goodix_spi_read(ts, GOODIX_HID_CMD_ADDR +
drivers/hid/hid-goodix-spi.c
459
if (error) {
drivers/hid/hid-goodix-spi.c
460
dev_err(ts->dev, "failed read hid response data, %d", error);
drivers/hid/hid-goodix-spi.c
461
return error;
drivers/hid/hid-goodix-spi.c
497
int error;
drivers/hid/hid-goodix-spi.c
526
error = goodix_spi_write(ts, GOODIX_HID_CMD_ADDR, tmp_buf, tx_len);
drivers/hid/hid-goodix-spi.c
527
if (error) {
drivers/hid/hid-goodix-spi.c
529
return error;
drivers/hid/hid-goodix-spi.c
540
int error = -EINVAL;
drivers/hid/hid-goodix-spi.c
545
error = goodix_hid_get_raw_report(hid, reportnum, buf,
drivers/hid/hid-goodix-spi.c
550
error = goodix_hid_set_raw_report(hid, reportnum,
drivers/hid/hid-goodix-spi.c
557
return error;
drivers/hid/hid-goodix-spi.c
637
int error;
drivers/hid/hid-goodix-spi.c
640
error = goodix_spi_read(ts, GOODIX_HID_DESC_ADDR, &ts->hid_desc,
drivers/hid/hid-goodix-spi.c
642
if (error) {
drivers/hid/hid-goodix-spi.c
643
dev_err(ts->dev, "failed get hid desc, %d", error);
drivers/hid/hid-goodix-spi.c
644
return error;
drivers/hid/hid-goodix-spi.c
662
error = hid_add_device(hid);
drivers/hid/hid-goodix-spi.c
663
if (error) {
drivers/hid/hid-goodix-spi.c
664
dev_err(ts->dev, "failed add hid device, %d", error);
drivers/hid/hid-goodix-spi.c
666
return error;
drivers/hid/hid-goodix-spi.c
677
int error;
drivers/hid/hid-goodix-spi.c
682
error = spi_setup(spi);
drivers/hid/hid-goodix-spi.c
683
if (error)
drivers/hid/hid-goodix-spi.c
684
return error;
drivers/hid/hid-goodix-spi.c
706
error = goodix_dev_confirm(ts);
drivers/hid/hid-goodix-spi.c
707
if (error)
drivers/hid/hid-goodix-spi.c
708
return error;
drivers/hid/hid-goodix-spi.c
713
error = goodix_hid_init(ts);
drivers/hid/hid-goodix-spi.c
714
if (error) {
drivers/hid/hid-goodix-spi.c
716
return error;
drivers/hid/hid-goodix-spi.c
719
error = devm_request_threaded_irq(&ts->spi->dev, ts->spi->irq,
drivers/hid/hid-goodix-spi.c
722
if (error) {
drivers/hid/hid-goodix-spi.c
724
ts->spi->irq, error);
drivers/hid/hid-goodix-spi.c
732
return error;
drivers/hid/hid-goodix-spi.c
746
int error;
drivers/hid/hid-goodix-spi.c
752
error = goodix_spi_write(ts, GOODIX_HID_CMD_ADDR, power_control_cmd,
drivers/hid/hid-goodix-spi.c
754
if (error) {
drivers/hid/hid-goodix-spi.c
757
return error;
drivers/hid/hid-google-hammer.c
139
int error;
drivers/hid/hid-google-hammer.c
141
error = cbas_ec_query_base(ec, true, &base_present);
drivers/hid/hid-google-hammer.c
142
if (error) {
drivers/hid/hid-google-hammer.c
144
error);
drivers/hid/hid-google-hammer.c
181
int error;
drivers/hid/hid-google-hammer.c
183
error = cbas_ec_query_base(ec, false, &base_supported);
drivers/hid/hid-google-hammer.c
184
if (error)
drivers/hid/hid-google-hammer.c
185
return error;
drivers/hid/hid-google-hammer.c
199
error = input_register_device(input);
drivers/hid/hid-google-hammer.c
200
if (error) {
drivers/hid/hid-google-hammer.c
202
error);
drivers/hid/hid-google-hammer.c
203
return error;
drivers/hid/hid-google-hammer.c
207
error = cbas_ec_query_base(ec, true, &cbas_ec.base_present);
drivers/hid/hid-google-hammer.c
208
if (error) {
drivers/hid/hid-google-hammer.c
209
dev_err(&pdev->dev, "cannot query base state: %d\n", error);
drivers/hid/hid-google-hammer.c
210
return error;
drivers/hid/hid-google-hammer.c
226
error = blocking_notifier_chain_register(&ec->event_notifier,
drivers/hid/hid-google-hammer.c
228
if (error) {
drivers/hid/hid-google-hammer.c
229
dev_err(&pdev->dev, "cannot register notifier: %d\n", error);
drivers/hid/hid-google-hammer.c
231
return error;
drivers/hid/hid-google-hammer.c
483
int error;
drivers/hid/hid-google-hammer.c
491
error = hid_parse(hdev);
drivers/hid/hid-google-hammer.c
492
if (error)
drivers/hid/hid-google-hammer.c
493
return error;
drivers/hid/hid-google-hammer.c
495
error = hid_hw_start(hdev, HID_CONNECT_DEFAULT);
drivers/hid/hid-google-hammer.c
496
if (error)
drivers/hid/hid-google-hammer.c
497
return error;
drivers/hid/hid-google-hammer.c
499
error = devm_add_action(&hdev->dev, hammer_stop, hdev);
drivers/hid/hid-google-hammer.c
500
if (error)
drivers/hid/hid-google-hammer.c
501
return error;
drivers/hid/hid-google-hammer.c
511
error = hid_hw_open(hdev);
drivers/hid/hid-google-hammer.c
512
if (error)
drivers/hid/hid-google-hammer.c
513
return error;
drivers/hid/hid-google-hammer.c
519
error = hammer_register_leds(hdev);
drivers/hid/hid-google-hammer.c
520
if (error)
drivers/hid/hid-google-hammer.c
523
error);
drivers/hid/hid-google-hammer.c
598
int error;
drivers/hid/hid-google-hammer.c
600
error = platform_driver_register(&cbas_ec_driver);
drivers/hid/hid-google-hammer.c
601
if (error)
drivers/hid/hid-google-hammer.c
602
return error;
drivers/hid/hid-google-hammer.c
604
error = hid_register_driver(&hammer_driver);
drivers/hid/hid-google-hammer.c
605
if (error) {
drivers/hid/hid-google-hammer.c
607
return error;
drivers/hid/hid-google-stadiaff.c
66
int error;
drivers/hid/hid-google-stadiaff.c
89
error = input_ff_create_memless(dev, NULL, stadiaff_play);
drivers/hid/hid-google-stadiaff.c
90
if (error)
drivers/hid/hid-google-stadiaff.c
91
return error;
drivers/hid/hid-holtekff.c
131
int error;
drivers/hid/hid-holtekff.c
164
error = input_ff_create_memless(dev, holtekff, holtekff_play);
drivers/hid/hid-holtekff.c
165
if (error) {
drivers/hid/hid-holtekff.c
167
return error;
drivers/hid/hid-input.c
521
int error;
drivers/hid/hid-input.c
542
error = -ENOMEM;
drivers/hid/hid-input.c
584
error = PTR_ERR(dev->battery);
drivers/hid/hid-input.c
585
hid_warn(dev, "can't register power supply: %d\n", error);
drivers/hid/hid-input.c
597
return error;
drivers/hid/hid-lg2ff.c
55
int error;
drivers/hid/hid-lg2ff.c
75
error = input_ff_create_memless(dev, lg2ff, play_effect);
drivers/hid/hid-lg2ff.c
76
if (error) {
drivers/hid/hid-lg2ff.c
78
return error;
drivers/hid/hid-lg3ff.c
119
int error;
drivers/hid/hid-lg3ff.c
137
error = input_ff_create_memless(dev, NULL, hid_lg3ff_play);
drivers/hid/hid-lg3ff.c
138
if (error)
drivers/hid/hid-lg3ff.c
139
return error;
drivers/hid/hid-lg4ff.c
1271
int error, i, j;
drivers/hid/hid-lg4ff.c
1309
error = mmode_ret;
drivers/hid/hid-lg4ff.c
1325
error = -1;
drivers/hid/hid-lg4ff.c
1337
error = -1;
drivers/hid/hid-lg4ff.c
1346
error = input_ff_create_memless(dev, NULL, lg4ff_play);
drivers/hid/hid-lg4ff.c
1348
if (error)
drivers/hid/hid-lg4ff.c
1373
error = device_create_file(&hid->dev, &dev_attr_combine_pedals);
drivers/hid/hid-lg4ff.c
1374
if (error)
drivers/hid/hid-lg4ff.c
1375
hid_warn(hid, "Unable to create sysfs interface for \"combine\", errno %d\n", error);
drivers/hid/hid-lg4ff.c
1376
error = device_create_file(&hid->dev, &dev_attr_range);
drivers/hid/hid-lg4ff.c
1377
if (error)
drivers/hid/hid-lg4ff.c
1378
hid_warn(hid, "Unable to create sysfs interface for \"range\", errno %d\n", error);
drivers/hid/hid-lg4ff.c
1380
error = device_create_file(&hid->dev, &dev_attr_real_id);
drivers/hid/hid-lg4ff.c
1381
if (error)
drivers/hid/hid-lg4ff.c
1382
hid_warn(hid, "Unable to create sysfs interface for \"real_id\", errno %d\n", error);
drivers/hid/hid-lg4ff.c
1383
error = device_create_file(&hid->dev, &dev_attr_alternate_modes);
drivers/hid/hid-lg4ff.c
1384
if (error)
drivers/hid/hid-lg4ff.c
1385
hid_warn(hid, "Unable to create sysfs interface for \"alternate_modes\", errno %d\n", error);
drivers/hid/hid-lg4ff.c
1426
error = led_classdev_register(&hid->dev, led);
drivers/hid/hid-lg4ff.c
1428
if (error) {
drivers/hid/hid-lg4ff.c
1452
return error;
drivers/hid/hid-lgff.c
121
int error;
drivers/hid/hid-lgff.c
146
error = input_ff_create_memless(dev, NULL, hid_lgff_play);
drivers/hid/hid-lgff.c
147
if (error)
drivers/hid/hid-lgff.c
148
return error;
drivers/hid/hid-logitech-hidpp.c
2811
int error, j, num_slots = data->num_effects;
drivers/hid/hid-logitech-hidpp.c
2843
error = input_ff_create(dev, num_slots);
drivers/hid/hid-logitech-hidpp.c
2845
if (error) {
drivers/hid/hid-logitech-hidpp.c
2847
return error;
drivers/hid/hid-logitech-hidpp.c
2884
error = device_create_file(&(hidpp->hid_dev->dev), &dev_attr_range);
drivers/hid/hid-logitech-hidpp.c
2885
if (error)
drivers/hid/hid-logitech-hidpp.c
2886
hid_warn(hidpp->hid_dev, "Unable to create sysfs interface for \"range\", errno %d!\n", error);
drivers/hid/hid-magicmouse.c
541
int error;
drivers/hid/hid-magicmouse.c
618
error = input_mt_init_slots(input, 16, mt_flags);
drivers/hid/hid-magicmouse.c
619
if (error)
drivers/hid/hid-magicmouse.c
620
return error;
drivers/hid/hid-megaworld.c
44
int error;
drivers/hid/hid-megaworld.c
66
error = input_ff_create_memless(dev, mwctrl, mwctrl_play);
drivers/hid/hid-megaworld.c
67
if (error) {
drivers/hid/hid-megaworld.c
69
return error;
drivers/hid/hid-mf.c
101
return error;
drivers/hid/hid-mf.c
118
int error;
drivers/hid/hid-mf.c
125
error = hid_parse(hid);
drivers/hid/hid-mf.c
126
if (error) {
drivers/hid/hid-mf.c
128
return error;
drivers/hid/hid-mf.c
131
error = hid_hw_start(hid, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF);
drivers/hid/hid-mf.c
132
if (error) {
drivers/hid/hid-mf.c
134
return error;
drivers/hid/hid-mf.c
137
error = mf_init(hid);
drivers/hid/hid-mf.c
138
if (error) {
drivers/hid/hid-mf.c
141
return error;
drivers/hid/hid-mf.c
72
int error;
drivers/hid/hid-mf.c
98
error = input_ff_create_memless(dev, mf, mf_play);
drivers/hid/hid-mf.c
99
if (error) {
drivers/hid/hid-picolcd_core.c
221
int error;
drivers/hid/hid-picolcd_core.c
239
error = picolcd_check_version(hdev);
drivers/hid/hid-picolcd_core.c
240
if (error)
drivers/hid/hid-picolcd_core.c
241
return error;
drivers/hid/hid-picolcd_core.c
410
int error, i;
drivers/hid/hid-picolcd_core.c
442
error = input_register_device(idev);
drivers/hid/hid-picolcd_core.c
443
if (error) {
drivers/hid/hid-picolcd_core.c
446
return error;
drivers/hid/hid-picolcd_core.c
463
int error;
drivers/hid/hid-picolcd_core.c
466
error = picolcd_init_keys(data, picolcd_in_report(REPORT_KEY_STATE, hdev));
drivers/hid/hid-picolcd_core.c
467
if (error)
drivers/hid/hid-picolcd_core.c
471
error = picolcd_init_cir(data, picolcd_in_report(REPORT_IR_DATA, hdev));
drivers/hid/hid-picolcd_core.c
472
if (error)
drivers/hid/hid-picolcd_core.c
476
error = picolcd_init_lcd(data, picolcd_out_report(REPORT_CONTRAST, hdev));
drivers/hid/hid-picolcd_core.c
477
if (error)
drivers/hid/hid-picolcd_core.c
481
error = picolcd_init_backlight(data, picolcd_out_report(REPORT_BRIGHTNESS, hdev));
drivers/hid/hid-picolcd_core.c
482
if (error)
drivers/hid/hid-picolcd_core.c
486
error = picolcd_init_framebuffer(data);
drivers/hid/hid-picolcd_core.c
487
if (error)
drivers/hid/hid-picolcd_core.c
491
error = picolcd_init_leds(data, picolcd_out_report(REPORT_LED_STATE, hdev));
drivers/hid/hid-picolcd_core.c
492
if (error)
drivers/hid/hid-picolcd_core.c
508
return error;
drivers/hid/hid-picolcd_core.c
523
int error = -ENOMEM;
drivers/hid/hid-picolcd_core.c
546
error = hid_parse(hdev);
drivers/hid/hid-picolcd_core.c
547
if (error) {
drivers/hid/hid-picolcd_core.c
552
error = hid_hw_start(hdev, 0);
drivers/hid/hid-picolcd_core.c
553
if (error) {
drivers/hid/hid-picolcd_core.c
558
error = hid_hw_open(hdev);
drivers/hid/hid-picolcd_core.c
559
if (error) {
drivers/hid/hid-picolcd_core.c
564
error = device_create_file(&hdev->dev, &dev_attr_operation_mode_delay);
drivers/hid/hid-picolcd_core.c
565
if (error) {
drivers/hid/hid-picolcd_core.c
570
error = device_create_file(&hdev->dev, &dev_attr_operation_mode);
drivers/hid/hid-picolcd_core.c
571
if (error) {
drivers/hid/hid-picolcd_core.c
577
error = picolcd_probe_bootloader(hdev, data);
drivers/hid/hid-picolcd_core.c
579
error = picolcd_probe_lcd(hdev, data);
drivers/hid/hid-picolcd_core.c
580
if (error)
drivers/hid/hid-picolcd_core.c
596
return error;
drivers/hid/hid-picolcd_fb.c
467
int i, error = -ENOMEM;
drivers/hid/hid-picolcd_fb.c
522
error = picolcd_fb_reset(data, 1);
drivers/hid/hid-picolcd_fb.c
523
if (error) {
drivers/hid/hid-picolcd_fb.c
528
error = device_create_file(dev, &dev_attr_fb_update_rate);
drivers/hid/hid-picolcd_fb.c
529
if (error) {
drivers/hid/hid-picolcd_fb.c
535
error = register_framebuffer(info);
drivers/hid/hid-picolcd_fb.c
536
if (error) {
drivers/hid/hid-picolcd_fb.c
552
return error;
drivers/hid/hid-pl.c
151
error = input_ff_create_memless(dev, plff, hid_plff_play);
drivers/hid/hid-pl.c
152
if (error) {
drivers/hid/hid-pl.c
154
return error;
drivers/hid/hid-pl.c
78
int error;
drivers/hid/hid-roccat.c
153
int error = 0;
drivers/hid/hid-roccat.c
165
error = -ENODEV;
drivers/hid/hid-roccat.c
173
error = hid_hw_power(device->hid, PM_HINT_FULLON);
drivers/hid/hid-roccat.c
174
if (error < 0) {
drivers/hid/hid-roccat.c
179
error = hid_hw_open(device->hid);
drivers/hid/hid-roccat.c
180
if (error < 0) {
drivers/hid/hid-roccat.c
198
if (error)
drivers/hid/hid-roccat.c
200
return error;
drivers/hid/hid-roccat.c
429
goto error;
drivers/hid/hid-roccat.c
446
error:
drivers/hid/hid-sjoy.c
60
int error;
drivers/hid/hid-sjoy.c
94
error = input_ff_create_memless(dev, sjoyff, hid_sjoyff_play);
drivers/hid/hid-sjoy.c
95
if (error) {
drivers/hid/hid-sjoy.c
97
return error;
drivers/hid/hid-tmff.c
125
int error;
drivers/hid/hid-tmff.c
191
error = -ENODEV;
drivers/hid/hid-tmff.c
195
error = input_ff_create_memless(input_dev, tmff, tmff_play);
drivers/hid/hid-tmff.c
196
if (error)
drivers/hid/hid-tmff.c
204
return error;
drivers/hid/hid-universal-pidff.c
104
error = init_function(hdev, id->driver_data);
drivers/hid/hid-universal-pidff.c
105
if (error) {
drivers/hid/hid-universal-pidff.c
114
return error;
drivers/hid/hid-universal-pidff.c
61
int i, error;
drivers/hid/hid-universal-pidff.c
63
error = hid_parse(hdev);
drivers/hid/hid-universal-pidff.c
64
if (error) {
drivers/hid/hid-universal-pidff.c
69
error = hid_hw_start(hdev, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF);
drivers/hid/hid-universal-pidff.c
70
if (error) {
drivers/hid/hid-universal-pidff.c
76
error = 1;
drivers/hid/hid-universal-pidff.c
79
error = 0;
drivers/hid/hid-universal-pidff.c
90
if (error) {
drivers/hid/hid-wiimote-core.c
662
goto error;
drivers/hid/hid-wiimote-core.c
668
goto error;
drivers/hid/hid-wiimote-core.c
676
error:
drivers/hid/hid-zpff.c
59
int i, error;
drivers/hid/hid-zpff.c
80
error = input_ff_create_memless(dev, zpff, zpff_play);
drivers/hid/hid-zpff.c
81
if (error) {
drivers/hid/hid-zpff.c
83
return error;
drivers/hid/i2c-hid/i2c-hid-core.c
263
int error;
drivers/hid/i2c-hid/i2c-hid-core.c
290
error = i2c_hid_xfer(ihid, ihid->cmdbuf, length,
drivers/hid/i2c-hid/i2c-hid-core.c
292
if (error) {
drivers/hid/i2c-hid/i2c-hid-core.c
294
"failed to get a report from device: %d\n", error);
drivers/hid/i2c-hid/i2c-hid-core.c
295
return error;
drivers/hid/i2c-hid/i2c-hid-core.c
350
int error;
drivers/hid/i2c-hid/i2c-hid-core.c
390
error = i2c_hid_xfer(ihid, ihid->cmdbuf, length, NULL, 0);
drivers/hid/i2c-hid/i2c-hid-core.c
391
if (error) {
drivers/hid/i2c-hid/i2c-hid-core.c
393
"failed to set a report to device: %d\n", error);
drivers/hid/i2c-hid/i2c-hid-core.c
394
return error;
drivers/hid/i2c-hid/i2c-hid-core.c
898
int error;
drivers/hid/i2c-hid/i2c-hid-core.c
907
error = i2c_hid_read_register(ihid,
drivers/hid/i2c-hid/i2c-hid-core.c
911
if (error) {
drivers/hid/i2c-hid/i2c-hid-core.c
914
error);
drivers/hid/intel-ish-hid/ishtp-fw-loader.c
197
int error;
drivers/hid/intel-ish-hid/ishtp-fw-loader.c
301
client_data->response.error = 0;
drivers/hid/intel-ish-hid/ishtp-fw-loader.c
321
if (client_data->response.error < 0)
drivers/hid/intel-ish-hid/ishtp-fw-loader.c
322
return client_data->response.error;
drivers/hid/intel-ish-hid/ishtp-fw-loader.c
347
client_data->response.error = -EINVAL;
drivers/hid/intel-ish-hid/ishtp-fw-loader.c
354
client_data->response.error = -EINVAL;
drivers/hid/intel-ish-hid/ishtp-fw-loader.c
364
client_data->response.error = -EBADMSG;
drivers/hid/intel-ish-hid/ishtp-fw-loader.c
372
client_data->response.error = -EMSGSIZE;
drivers/hid/intel-ish-hid/ishtp-fw-loader.c
391
client_data->response.error = -EPROTO;
drivers/hid/intel-ish-hid/ishtp-fw-loader.c
399
client_data->response.error = -EMSGSIZE;
drivers/hid/intel-ish-hid/ishtp-fw-loader.c
407
client_data->response.error = -EIO;
drivers/hid/intel-ish-hid/ishtp-fw-loader.c
415
client_data->response.error = -EIO;
drivers/hid/usbhid/hid-pidff.c
1483
int error;
drivers/hid/usbhid/hid-pidff.c
1493
error = pidff_request_effect_upload(pidff, 1);
drivers/hid/usbhid/hid-pidff.c
1494
if (error) {
drivers/hid/usbhid/hid-pidff.c
1496
return error;
drivers/hid/usbhid/hid-pidff.c
1525
int error;
drivers/hid/usbhid/hid-pidff.c
1549
error = -ENODEV;
drivers/hid/usbhid/hid-pidff.c
1553
error = pidff_init_fields(pidff, dev);
drivers/hid/usbhid/hid-pidff.c
1554
if (error)
drivers/hid/usbhid/hid-pidff.c
1560
error = pidff_check_autocenter(pidff, dev);
drivers/hid/usbhid/hid-pidff.c
1561
if (error)
drivers/hid/usbhid/hid-pidff.c
1583
error = -EPERM;
drivers/hid/usbhid/hid-pidff.c
1589
error = input_ff_create(dev, max_effects);
drivers/hid/usbhid/hid-pidff.c
1590
if (error)
drivers/hid/usbhid/hid-pidff.c
1612
return error;
drivers/hid/usbhid/hid-pidff.c
928
int error = pidff_request_effect_upload(pidff, type_id);
drivers/hid/usbhid/hid-pidff.c
930
if (error)
drivers/hid/usbhid/hid-pidff.c
931
return error;
drivers/hid/usbhid/hiddev.c
247
int error;
drivers/hid/usbhid/hiddev.c
259
error = hid_hw_power(hiddev->hid, PM_HINT_FULLON);
drivers/hid/usbhid/hiddev.c
260
if (error < 0)
drivers/hid/usbhid/hiddev.c
263
error = hid_hw_open(hiddev->hid);
drivers/hid/usbhid/hiddev.c
264
if (error < 0)
drivers/hid/usbhid/hiddev.c
281
return error;
drivers/hid/usbhid/usbkbd.c
270
int error = -ENOMEM;
drivers/hid/usbhid/usbkbd.c
353
error = input_register_device(kbd->dev);
drivers/hid/usbhid/usbkbd.c
354
if (error)
drivers/hid/usbhid/usbkbd.c
366
return error;
drivers/hid/usbhid/usbmouse.c
114
int error = -ENOMEM;
drivers/hid/usbhid/usbmouse.c
186
error = input_register_device(mouse->dev);
drivers/hid/usbhid/usbmouse.c
187
if (error)
drivers/hid/usbhid/usbmouse.c
200
return error;
drivers/hid/wacom_sys.c
1265
int error;
drivers/hid/wacom_sys.c
1276
error = sysfs_create_group(devres->root, group);
drivers/hid/wacom_sys.c
1277
if (error) {
drivers/hid/wacom_sys.c
1279
return error;
drivers/hid/wacom_sys.c
1306
int error;
drivers/hid/wacom_sys.c
1315
error = kfifo_alloc(pen_fifo, fifo_size, GFP_KERNEL);
drivers/hid/wacom_sys.c
1316
if (error) {
drivers/hid/wacom_sys.c
1318
return error;
drivers/hid/wacom_sys.c
1357
int error;
drivers/hid/wacom_sys.c
1363
error = 0;
drivers/hid/wacom_sys.c
1372
error = wacom_led_control(wacom);
drivers/hid/wacom_sys.c
1377
return error;
drivers/hid/wacom_sys.c
1389
int error;
drivers/hid/wacom_sys.c
1420
error = devm_led_trigger_register(dev, &led->trigger);
drivers/hid/wacom_sys.c
1421
if (error) {
drivers/hid/wacom_sys.c
1424
led->cdev.name, error);
drivers/hid/wacom_sys.c
1425
return error;
drivers/hid/wacom_sys.c
1429
error = devm_led_classdev_register(dev, &led->cdev);
drivers/hid/wacom_sys.c
1430
if (error) {
drivers/hid/wacom_sys.c
1433
led->cdev.name, error);
drivers/hid/wacom_sys.c
1435
return error;
drivers/hid/wacom_sys.c
1454
int i, error;
drivers/hid/wacom_sys.c
1464
error = -ENOMEM;
drivers/hid/wacom_sys.c
1472
error = wacom_led_register_one(dev, wacom, &leds[i],
drivers/hid/wacom_sys.c
1474
if (error)
drivers/hid/wacom_sys.c
1491
error = devm_add_action_or_reset(&wacom->hdev->dev,
drivers/hid/wacom_sys.c
1494
if (error)
drivers/hid/wacom_sys.c
1495
return error;
drivers/hid/wacom_sys.c
1501
return error;
drivers/hid/wacom_sys.c
1560
int error;
drivers/hid/wacom_sys.c
1567
error = devm_add_action_or_reset(dev, wacom_led_groups_release, wacom);
drivers/hid/wacom_sys.c
1568
if (error)
drivers/hid/wacom_sys.c
1569
return error;
drivers/hid/wacom_sys.c
1581
int i, error;
drivers/hid/wacom_sys.c
1588
error = wacom_led_groups_allocate(wacom, group_count);
drivers/hid/wacom_sys.c
1589
if (error)
drivers/hid/wacom_sys.c
1590
return error;
drivers/hid/wacom_sys.c
1593
error = wacom_led_groups_alloc_and_register_one(dev, wacom, i,
drivers/hid/wacom_sys.c
1596
if (error)
drivers/hid/wacom_sys.c
1597
return error;
drivers/hid/wacom_sys.c
1605
int error;
drivers/hid/wacom_sys.c
1618
error = wacom_leds_alloc_and_register(wacom, 1, 4, false);
drivers/hid/wacom_sys.c
1619
if (error) {
drivers/hid/wacom_sys.c
1621
"cannot create leds err: %d\n", error);
drivers/hid/wacom_sys.c
1622
return error;
drivers/hid/wacom_sys.c
1625
error = wacom_devm_sysfs_create_group(wacom,
drivers/hid/wacom_sys.c
1639
error = wacom_leds_alloc_and_register(wacom, 1, 4, false);
drivers/hid/wacom_sys.c
1640
if (error) {
drivers/hid/wacom_sys.c
1642
"cannot create leds err: %d\n", error);
drivers/hid/wacom_sys.c
1643
return error;
drivers/hid/wacom_sys.c
1646
error = wacom_devm_sysfs_create_group(wacom,
drivers/hid/wacom_sys.c
1656
error = wacom_leds_alloc_and_register(wacom, 2, 4, false);
drivers/hid/wacom_sys.c
1657
if (error) {
drivers/hid/wacom_sys.c
1659
"cannot create leds err: %d\n", error);
drivers/hid/wacom_sys.c
1660
return error;
drivers/hid/wacom_sys.c
1663
error = wacom_devm_sysfs_create_group(wacom,
drivers/hid/wacom_sys.c
1676
error = wacom_leds_alloc_and_register(wacom, 1, 4, false);
drivers/hid/wacom_sys.c
1677
if (error) {
drivers/hid/wacom_sys.c
1679
"cannot create leds err: %d\n", error);
drivers/hid/wacom_sys.c
1680
return error;
drivers/hid/wacom_sys.c
1683
error = wacom_devm_sysfs_create_group(wacom,
drivers/hid/wacom_sys.c
1690
error = wacom_leds_alloc_and_register(wacom, 1, 4, false);
drivers/hid/wacom_sys.c
1691
if (error) {
drivers/hid/wacom_sys.c
1693
"cannot create leds err: %d\n", error);
drivers/hid/wacom_sys.c
1694
return error;
drivers/hid/wacom_sys.c
1701
error = wacom_led_groups_allocate(wacom, 5);
drivers/hid/wacom_sys.c
1702
if (error) {
drivers/hid/wacom_sys.c
1704
"cannot create leds err: %d\n", error);
drivers/hid/wacom_sys.c
1705
return error;
drivers/hid/wacom_sys.c
1713
if (error) {
drivers/hid/wacom_sys.c
1715
"cannot create sysfs group err: %d\n", error);
drivers/hid/wacom_sys.c
1716
return error;
drivers/hid/wacom_sys.c
1793
int error;
drivers/hid/wacom_sys.c
1812
error = PTR_ERR(ps_bat);
drivers/hid/wacom_sys.c
1825
return error;
drivers/hid/wacom_sys.c
1927
int error = 0;
drivers/hid/wacom_sys.c
1936
error = __wacom_devm_sysfs_create_group(wacom, remote->remote_dir,
drivers/hid/wacom_sys.c
1938
if (error) {
drivers/hid/wacom_sys.c
1941
"cannot create sysfs group err: %d\n", error);
drivers/hid/wacom_sys.c
1942
return error;
drivers/hid/wacom_sys.c
2019
int error = 0;
drivers/hid/wacom_sys.c
2035
error = kfifo_alloc(&remote->remote_fifo,
drivers/hid/wacom_sys.c
2038
if (error) {
drivers/hid/wacom_sys.c
2056
error = sysfs_create_files(remote->remote_dir, remote_unpair_attrs);
drivers/hid/wacom_sys.c
2058
if (error) {
drivers/hid/wacom_sys.c
2060
"cannot create sysfs group err: %d\n", error);
drivers/hid/wacom_sys.c
2063
return error;
drivers/hid/wacom_sys.c
2071
error = devm_add_action_or_reset(&wacom->hdev->dev,
drivers/hid/wacom_sys.c
2073
if (error)
drivers/hid/wacom_sys.c
2074
return error;
drivers/hid/wacom_sys.c
2127
int error = 0;
drivers/hid/wacom_sys.c
2136
error = wacom_setup_pen_input_capabilities(pen_input_dev, wacom_wac);
drivers/hid/wacom_sys.c
2137
if (error) {
drivers/hid/wacom_sys.c
2144
error = wacom_setup_touch_input_capabilities(touch_input_dev, wacom_wac);
drivers/hid/wacom_sys.c
2145
if (error) {
drivers/hid/wacom_sys.c
2152
error = wacom_setup_pad_input_capabilities(pad_input_dev, wacom_wac);
drivers/hid/wacom_sys.c
2153
if (error) {
drivers/hid/wacom_sys.c
2167
int error = 0;
drivers/hid/wacom_sys.c
2174
error = input_register_device(pen_input_dev);
drivers/hid/wacom_sys.c
2175
if (error)
drivers/hid/wacom_sys.c
2180
error = input_register_device(touch_input_dev);
drivers/hid/wacom_sys.c
2181
if (error)
drivers/hid/wacom_sys.c
2186
error = input_register_device(pad_input_dev);
drivers/hid/wacom_sys.c
2187
if (error)
drivers/hid/wacom_sys.c
2197
return error;
drivers/hid/wacom_sys.c
2371
int error;
drivers/hid/wacom_sys.c
2381
error = wacom_devm_kfifo_alloc(wacom);
drivers/hid/wacom_sys.c
2382
if (error)
drivers/hid/wacom_sys.c
2387
error = wacom_allocate_inputs(wacom);
drivers/hid/wacom_sys.c
2388
if (error)
drivers/hid/wacom_sys.c
2401
error = -ENODEV;
drivers/hid/wacom_sys.c
2415
error = features->type == HID_GENERIC ? -ENODEV : 0;
drivers/hid/wacom_sys.c
2419
error ? "Ignoring" : "Assuming pen");
drivers/hid/wacom_sys.c
2421
if (error)
drivers/hid/wacom_sys.c
2435
error = -ENODEV;
drivers/hid/wacom_sys.c
2439
error = wacom_add_shared_data(hdev);
drivers/hid/wacom_sys.c
2440
if (error)
drivers/hid/wacom_sys.c
2443
error = wacom_setup_inputs(wacom);
drivers/hid/wacom_sys.c
2444
if (error)
drivers/hid/wacom_sys.c
2451
error = hid_hw_start(hdev, connect_mask);
drivers/hid/wacom_sys.c
2452
if (error) {
drivers/hid/wacom_sys.c
2457
error = wacom_register_inputs(wacom);
drivers/hid/wacom_sys.c
2458
if (error)
drivers/hid/wacom_sys.c
2462
error = wacom_initialize_leds(wacom);
drivers/hid/wacom_sys.c
2463
if (error)
drivers/hid/wacom_sys.c
2466
error = wacom_initialize_remotes(wacom);
drivers/hid/wacom_sys.c
2467
if (error)
drivers/hid/wacom_sys.c
2481
error = -ENODEV;
drivers/hid/wacom_sys.c
2486
error = hid_hw_open(hdev);
drivers/hid/wacom_sys.c
2487
if (error) {
drivers/hid/wacom_sys.c
2502
return error;
drivers/hid/wacom_sys.c
2513
int error;
drivers/hid/wacom_sys.c
2563
error = wacom_parse_and_register(wacom1, true);
drivers/hid/wacom_sys.c
2564
if (error)
drivers/hid/wacom_sys.c
2575
error = wacom_parse_and_register(wacom2, true);
drivers/hid/wacom_sys.c
2576
if (error)
drivers/hid/wacom_sys.c
2638
int error, k;
drivers/hid/wacom_sys.c
2656
error = wacom_remote_create_attr_group(wacom, serial, index);
drivers/hid/wacom_sys.c
2657
if (error)
drivers/hid/wacom_sys.c
2662
error = -ENOMEM;
drivers/hid/wacom_sys.c
2669
error = -EINVAL;
drivers/hid/wacom_sys.c
2673
error = wacom_setup_pad_input_capabilities(remote->remotes[index].input,
drivers/hid/wacom_sys.c
2675
if (error)
drivers/hid/wacom_sys.c
2680
error = input_register_device(remote->remotes[index].input);
drivers/hid/wacom_sys.c
2681
if (error)
drivers/hid/wacom_sys.c
2684
error = wacom_led_groups_alloc_and_register_one(
drivers/hid/wacom_sys.c
2687
if (error)
drivers/hid/wacom_sys.c
2698
return error;
drivers/hid/wacom_sys.c
2704
int error;
drivers/hid/wacom_sys.c
2718
error = __wacom_initialize_battery(wacom,
drivers/hid/wacom_sys.c
2720
if (error)
drivers/hid/wacom_sys.c
2721
return error;
drivers/hid/wacom_sys.c
2785
int error = 0;
drivers/hid/wacom_sys.c
2804
error = wacom_parse_and_register(wacom1, false);
drivers/hid/wacom_sys.c
2805
if (error)
drivers/hid/wacom_sys.c
2810
error = wacom_parse_and_register(wacom2, false);
drivers/hid/wacom_sys.c
2811
if (error)
drivers/hid/wacom_sys.c
2824
int error;
drivers/hid/wacom_sys.c
2869
error = hid_parse(hdev);
drivers/hid/wacom_sys.c
2870
if (error) {
drivers/hid/wacom_sys.c
2872
return error;
drivers/hid/wacom_sys.c
2880
error = wacom_parse_and_register(wacom, false);
drivers/hid/wacom_sys.c
2881
if (error)
drivers/hid/wacom_sys.c
2882
return error;
drivers/hid/wacom_sys.c
2885
error = device_create_file(&hdev->dev, &dev_attr_speed);
drivers/hid/wacom_sys.c
2886
if (error)
drivers/hid/wacom_sys.c
2889
error);
drivers/hid/wacom_sys.c
588
int error = -ENOMEM, limit = 0;
drivers/hid/wacom_sys.c
608
error = wacom_set_report(hdev, HID_FEATURE_REPORT, rep_data,
drivers/hid/wacom_sys.c
610
if (error >= 0)
drivers/hid/wacom_sys.c
611
error = wacom_get_report(hdev, HID_FEATURE_REPORT,
drivers/hid/wacom_sys.c
613
} while (error >= 0 &&
drivers/hid/wacom_sys.c
619
return error < 0 ? error : 0;
drivers/hsi/clients/cmt_speech.c
701
goto error;
drivers/hsi/clients/cmt_speech.c
706
goto error;
drivers/hsi/clients/cmt_speech.c
711
goto error;
drivers/hsi/clients/cmt_speech.c
727
error:
drivers/hsi/clients/cmt_speech.c
949
goto error;
drivers/hsi/clients/cmt_speech.c
979
error:
drivers/hsi/controllers/omap_ssi_port.c
1124
goto error;
drivers/hsi/controllers/omap_ssi_port.c
1135
goto error;
drivers/hsi/controllers/omap_ssi_port.c
1143
goto error;
drivers/hsi/controllers/omap_ssi_port.c
1150
goto error;
drivers/hsi/controllers/omap_ssi_port.c
1156
goto error;
drivers/hsi/controllers/omap_ssi_port.c
1180
goto error;
drivers/hsi/controllers/omap_ssi_port.c
1184
goto error;
drivers/hsi/controllers/omap_ssi_port.c
1188
goto error;
drivers/hsi/controllers/omap_ssi_port.c
1191
goto error;
drivers/hsi/controllers/omap_ssi_port.c
1212
error:
drivers/hv/hv_common.c
423
goto error;
drivers/hv/hv_common.c
433
goto error;
drivers/hv/hv_common.c
462
error:
drivers/hv/hv_kvp.c
203
int error = 0;
drivers/hv/hv_kvp.c
236
error = HV_S_CONT;
drivers/hv/hv_kvp.c
244
error = message->error;
drivers/hv/hv_kvp.c
253
kvp_respond_to_host(message, error);
drivers/hv/hv_kvp.c
514
kvp_respond_to_host(struct hv_kvp_msg *msg_to_host, int error)
drivers/hv/hv_kvp.c
547
icmsghdrp->status = error;
drivers/hv/hv_kvp.c
553
if (error) {
drivers/hv/hv_kvp.c
93
static void kvp_respond_to_host(struct hv_kvp_msg *msg, int error);
drivers/hv/hv_snapshot.c
162
vss_respond_to_host(vss_msg->error);
drivers/hv/hv_snapshot.c
252
vss_respond_to_host(int error)
drivers/hv/hv_snapshot.c
278
icmsghdrp->status = error;
drivers/hv/hv_snapshot.c
65
static void vss_respond_to_host(int error);
drivers/hv/hv_util.c
614
goto error;
drivers/hv/hv_util.c
620
goto error;
drivers/hv/hv_util.c
625
error:
drivers/hwmon/acpi_power_meter.c
794
goto error;
drivers/hwmon/acpi_power_meter.c
801
goto error;
drivers/hwmon/acpi_power_meter.c
809
error:
drivers/hwmon/hwmon.c
1173
goto error;
drivers/hwmon/hwmon.c
1179
error:
drivers/hwmon/hwmon.c
1220
goto error;
drivers/hwmon/hwmon.c
1227
error:
drivers/hwmon/ibmaem.c
920
goto error;
drivers/hwmon/ibmaem.c
938
goto error;
drivers/hwmon/ibmaem.c
946
goto error;
drivers/hwmon/ibmaem.c
950
error:
drivers/hwmon/lm80.c
119
char error; /* !=0 if error occurred during last update */
drivers/hwmon/lm80.c
167
if (data->error)
drivers/hwmon/lm80.c
240
data->error = 0;
drivers/hwmon/lm80.c
247
data->error = 1;
drivers/hwmon/max197.c
305
goto error;
drivers/hwmon/max197.c
310
error:
drivers/hwmon/max6650.c
170
goto error;
drivers/hwmon/max6650.c
183
goto error;
drivers/hwmon/max6650.c
190
error:
drivers/hwmon/max6650.c
662
goto error;
drivers/hwmon/max6650.c
687
error:
drivers/hwmon/nct6683.c
1021
goto error;
drivers/hwmon/nct6683.c
1032
error:
drivers/hwmon/nct6683.c
1051
goto error;
drivers/hwmon/nct6683.c
1060
error:
drivers/hwmon/nct6683.c
1087
goto error;
drivers/hwmon/nct6683.c
1099
error:
drivers/hwmon/nct6683.c
990
goto error;
drivers/hwmon/nct6683.c
999
error:
drivers/hwmon/nct6775-platform.c
773
goto error;
drivers/hwmon/nct6775-platform.c
785
error:
drivers/hwmon/occ/common.c
153
occ->error = rc;
drivers/hwmon/occ/common.c
161
occ->error = 0;
drivers/hwmon/occ/common.c
169
occ->error = -EHOSTDOWN;
drivers/hwmon/occ/common.h
111
int error; /* final transfer error after retry */
drivers/hwmon/occ/sysfs.c
123
return sysfs_emit(buf, "%d\n", occ->error);
drivers/hwmon/occ/sysfs.c
233
if (occ->error && occ->error != occ->prev_error) {
drivers/hwmon/occ/sysfs.c
241
occ->prev_error = occ->error;
drivers/hwmon/pc87360.c
1540
goto error;
drivers/hwmon/pc87360.c
1546
goto error;
drivers/hwmon/pc87360.c
1556
goto error;
drivers/hwmon/pc87360.c
1560
goto error;
drivers/hwmon/pc87360.c
1568
goto error;
drivers/hwmon/pc87360.c
1573
goto error;
drivers/hwmon/pc87360.c
1579
goto error;
drivers/hwmon/pc87360.c
1584
goto error;
drivers/hwmon/pc87360.c
1588
error:
drivers/hwmon/sch5636.c
412
goto error;
drivers/hwmon/sch5636.c
421
goto error;
drivers/hwmon/sch5636.c
429
goto error;
drivers/hwmon/sch5636.c
442
goto error;
drivers/hwmon/sch5636.c
452
goto error;
drivers/hwmon/sch5636.c
461
goto error;
drivers/hwmon/sch5636.c
471
goto error;
drivers/hwmon/sch5636.c
481
goto error;
drivers/hwmon/sch5636.c
488
goto error;
drivers/hwmon/sch5636.c
497
error:
drivers/hwmon/w83627hf.c
1740
goto error;
drivers/hwmon/w83627hf.c
1775
goto error;
drivers/hwmon/w83627hf.c
1783
goto error;
drivers/hwmon/w83627hf.c
1790
goto error;
drivers/hwmon/w83627hf.c
1800
goto error;
drivers/hwmon/w83627hf.c
1807
goto error;
drivers/hwmon/w83627hf.c
1814
goto error;
drivers/hwmon/w83627hf.c
1820
goto error;
drivers/hwmon/w83627hf.c
1825
error:
drivers/hwtracing/coresight/coresight-cti-platform.c
465
goto error;
drivers/hwtracing/coresight/coresight-cti-platform.c
476
goto error;
drivers/hwtracing/coresight/coresight-cti-platform.c
484
error:
drivers/hwtracing/coresight/coresight-platform.c
834
goto error;
drivers/hwtracing/coresight/coresight-platform.c
839
goto error;
drivers/hwtracing/coresight/coresight-platform.c
849
error:
drivers/i2c/busses/i2c-ali1563.c
189
int error = 0;
drivers/i2c/busses/i2c-ali1563.c
210
error = ali1563_block_start(a);
drivers/i2c/busses/i2c-ali1563.c
211
if (error)
drivers/i2c/busses/i2c-ali1563.c
214
error = ali1563_block_start(a);
drivers/i2c/busses/i2c-ali1563.c
215
if (error)
drivers/i2c/busses/i2c-ali1563.c
229
return error;
drivers/i2c/busses/i2c-ali1563.c
236
int error = 0;
drivers/i2c/busses/i2c-ali1563.c
268
error = -EOPNOTSUPP;
drivers/i2c/busses/i2c-ali1563.c
298
error = ali1563_block(a, data, rw);
drivers/i2c/busses/i2c-ali1563.c
302
error = ali1563_transaction(a, size);
drivers/i2c/busses/i2c-ali1563.c
303
if (error)
drivers/i2c/busses/i2c-ali1563.c
321
return error;
drivers/i2c/busses/i2c-ali1563.c
399
int error;
drivers/i2c/busses/i2c-ali1563.c
401
error = ali1563_setup(dev);
drivers/i2c/busses/i2c-ali1563.c
402
if (error)
drivers/i2c/busses/i2c-ali1563.c
407
error = i2c_add_adapter(&ali1563_adapter);
drivers/i2c/busses/i2c-ali1563.c
408
if (error)
drivers/i2c/busses/i2c-ali1563.c
415
dev_warn(&dev->dev, "ALi1563 SMBus probe failed (%d)\n", error);
drivers/i2c/busses/i2c-ali1563.c
416
return error;
drivers/i2c/busses/i2c-ali15x3.c
174
goto error;
drivers/i2c/busses/i2c-ali15x3.c
177
goto error;
drivers/i2c/busses/i2c-ali15x3.c
182
goto error;
drivers/i2c/busses/i2c-ali15x3.c
214
error:
drivers/i2c/busses/i2c-amd756.c
317
int error;
drivers/i2c/busses/i2c-amd756.c
350
error = acpi_check_region(amd756_ioport, SMB_IOSIZE,
drivers/i2c/busses/i2c-amd756.c
352
if (error)
drivers/i2c/busses/i2c-amd756.c
372
error = i2c_add_adapter(&amd756_smbus);
drivers/i2c/busses/i2c-amd756.c
373
if (error)
drivers/i2c/busses/i2c-amd756.c
380
return error;
drivers/i2c/busses/i2c-amd8111.c
425
int error;
drivers/i2c/busses/i2c-amd8111.c
438
error = acpi_check_resource_conflict(&dev->resource[0]);
drivers/i2c/busses/i2c-amd8111.c
439
if (error)
drivers/i2c/busses/i2c-amd8111.c
456
error = i2c_add_adapter(&smbus->adapter);
drivers/i2c/busses/i2c-amd8111.c
457
if (error)
drivers/i2c/busses/i2c-amd8111.c
458
return error;
drivers/i2c/busses/i2c-at91-master.c
256
goto error;
drivers/i2c/busses/i2c-at91-master.c
268
error:
drivers/i2c/busses/i2c-at91-master.c
374
goto error;
drivers/i2c/busses/i2c-at91-master.c
386
error:
drivers/i2c/busses/i2c-at91-master.c
597
goto error;
drivers/i2c/busses/i2c-at91-master.c
602
goto error;
drivers/i2c/busses/i2c-at91-master.c
607
goto error;
drivers/i2c/busses/i2c-at91-master.c
612
goto error;
drivers/i2c/busses/i2c-at91-master.c
618
goto error;
drivers/i2c/busses/i2c-at91-master.c
623
goto error;
drivers/i2c/busses/i2c-at91-master.c
630
error:
drivers/i2c/busses/i2c-at91-master.c
783
goto error;
drivers/i2c/busses/i2c-at91-master.c
790
goto error;
drivers/i2c/busses/i2c-at91-master.c
797
goto error;
drivers/i2c/busses/i2c-at91-master.c
804
goto error;
drivers/i2c/busses/i2c-at91-master.c
817
error:
drivers/i2c/busses/i2c-digicolor.c
171
i2c->error = -EIO;
drivers/i2c/busses/i2c-digicolor.c
223
i2c->error = 0;
drivers/i2c/busses/i2c-digicolor.c
237
if (i2c->error)
drivers/i2c/busses/i2c-digicolor.c
238
return i2c->error;
drivers/i2c/busses/i2c-digicolor.c
59
int error;
drivers/i2c/busses/i2c-diolan-u2c.c
451
goto error;
drivers/i2c/busses/i2c-diolan-u2c.c
492
error:
drivers/i2c/busses/i2c-meson.c
288
i2c->error = -ENXIO;
drivers/i2c/busses/i2c-meson.c
363
i2c->error = 0;
drivers/i2c/busses/i2c-meson.c
410
if (i2c->error)
drivers/i2c/busses/i2c-meson.c
411
ret = i2c->error;
drivers/i2c/busses/i2c-meson.c
97
int error;
drivers/i2c/busses/i2c-nforce2.c
307
int error;
drivers/i2c/busses/i2c-nforce2.c
316
error = pci_read_config_word(dev, alt_reg, &iobase);
drivers/i2c/busses/i2c-nforce2.c
317
if (error != PCIBIOS_SUCCESSFUL) {
drivers/i2c/busses/i2c-nforce2.c
327
error = acpi_check_region(smbus->base, smbus->size,
drivers/i2c/busses/i2c-nforce2.c
329
if (error)
drivers/i2c/busses/i2c-nforce2.c
330
return error;
drivers/i2c/busses/i2c-nforce2.c
345
error = i2c_add_adapter(&smbus->adapter);
drivers/i2c/busses/i2c-nforce2.c
346
if (error) {
drivers/i2c/busses/i2c-nforce2.c
348
return error;
drivers/i2c/busses/i2c-octeon-core.c
315
goto error;
drivers/i2c/busses/i2c-octeon-core.c
322
error:
drivers/i2c/busses/i2c-octeon-core.h
191
int *error)
drivers/i2c/busses/i2c-octeon-core.h
201
if (error)
drivers/i2c/busses/i2c-octeon-core.h
202
*error = -EIO;
drivers/i2c/busses/i2c-octeon-core.h
212
#define octeon_i2c_data_read(i2c, error) \
drivers/i2c/busses/i2c-octeon-core.h
213
octeon_i2c_reg_read(i2c, SW_TWSI_EOP_TWSI_DATA, error)
drivers/i2c/busses/i2c-omap.c
358
int error;
drivers/i2c/busses/i2c-omap.c
378
error = PTR_ERR(fclk);
drivers/i2c/busses/i2c-omap.c
379
dev_err(omap->dev, "could not get fck: %i\n", error);
drivers/i2c/busses/i2c-omap.c
381
return error;
drivers/i2c/busses/i2c-omap.c
417
error = PTR_ERR(fclk);
drivers/i2c/busses/i2c-omap.c
418
dev_err(omap->dev, "could not get fck: %i\n", error);
drivers/i2c/busses/i2c-omap.c
420
return error;
drivers/i2c/busses/i2c-pasemi-core.c
425
int error;
drivers/i2c/busses/i2c-pasemi-core.c
445
error = devm_i2c_add_adapter(smbus->dev, &smbus->adapter);
drivers/i2c/busses/i2c-pasemi-core.c
446
if (error)
drivers/i2c/busses/i2c-pasemi-core.c
447
return error;
drivers/i2c/busses/i2c-pasemi-pci.c
31
int error;
drivers/i2c/busses/i2c-pasemi-pci.c
60
error = pasemi_i2c_common_probe(smbus);
drivers/i2c/busses/i2c-pasemi-pci.c
61
if (error)
drivers/i2c/busses/i2c-pasemi-pci.c
62
return error;
drivers/i2c/busses/i2c-pasemi-platform.c
51
int error;
drivers/i2c/busses/i2c-pasemi-platform.c
73
error = pasemi_platform_i2c_calc_clk_div(data, frequency);
drivers/i2c/busses/i2c-pasemi-platform.c
74
if (error)
drivers/i2c/busses/i2c-pasemi-platform.c
75
return error;
drivers/i2c/busses/i2c-pasemi-platform.c
78
error = pasemi_i2c_common_probe(smbus);
drivers/i2c/busses/i2c-pasemi-platform.c
79
if (error)
drivers/i2c/busses/i2c-pasemi-platform.c
80
return error;
drivers/i2c/busses/i2c-pasemi-platform.c
83
error = devm_request_irq(smbus->dev, irq_num, pasemi_irq_handler, 0, "pasemi_apple_i2c", (void *)smbus);
drivers/i2c/busses/i2c-pasemi-platform.c
85
if (!error)
drivers/i2c/busses/i2c-piix4.c
1003
goto error;
drivers/i2c/busses/i2c-piix4.c
1008
error:
drivers/i2c/busses/i2c-qcom-cci.c
615
goto error;
drivers/i2c/busses/i2c-qcom-cci.c
619
goto error;
drivers/i2c/busses/i2c-qcom-cci.c
649
error:
drivers/i2c/busses/i2c-rk3x.c
1039
i2c->error = 0;
drivers/i2c/busses/i2c-rk3x.c
1122
if (i2c->error) {
drivers/i2c/busses/i2c-rk3x.c
1123
ret = i2c->error;
drivers/i2c/busses/i2c-rk3x.c
224
int error;
drivers/i2c/busses/i2c-rk3x.c
269
static void rk3x_i2c_stop(struct rk3x_i2c *i2c, int error)
drivers/i2c/busses/i2c-rk3x.c
275
i2c->error = error;
drivers/i2c/busses/i2c-rk3x.c
416
rk3x_i2c_stop(i2c, i2c->error);
drivers/i2c/busses/i2c-rk3x.c
450
rk3x_i2c_stop(i2c, i2c->error);
drivers/i2c/busses/i2c-sibyte.c
33
int error;
drivers/i2c/busses/i2c-sibyte.c
90
error = csr_in32(SMB_CSR(adap, R_SMB_STATUS));
drivers/i2c/busses/i2c-sibyte.c
91
if (error & M_SMB_ERROR) {
drivers/i2c/busses/i2c-sibyte.c
94
return (error & M_SMB_ERROR_TYPE) ? -EIO : -ENXIO;
drivers/i2c/busses/i2c-sis5595.c
180
goto error;
drivers/i2c/busses/i2c-sis5595.c
183
goto error;
drivers/i2c/busses/i2c-sis5595.c
187
goto error;
drivers/i2c/busses/i2c-sis5595.c
193
goto error;
drivers/i2c/busses/i2c-sis5595.c
198
goto error;
drivers/i2c/busses/i2c-sis5595.c
201
goto error;
drivers/i2c/busses/i2c-sis5595.c
205
goto error;
drivers/i2c/busses/i2c-sis5595.c
212
error:
drivers/i2c/busses/i2c-thunderx-pcidrv.c
203
goto error;
drivers/i2c/busses/i2c-thunderx-pcidrv.c
208
goto error;
drivers/i2c/busses/i2c-thunderx-pcidrv.c
212
goto error;
drivers/i2c/busses/i2c-thunderx-pcidrv.c
235
goto error;
drivers/i2c/busses/i2c-thunderx-pcidrv.c
245
error:
drivers/i2c/busses/i2c-tiny-usb.c
238
goto error;
drivers/i2c/busses/i2c-tiny-usb.c
266
goto error;
drivers/i2c/busses/i2c-tiny-usb.c
279
error:
drivers/i2c/busses/i2c-uniphier-f.c
161
priv->error = -EAGAIN;
drivers/i2c/busses/i2c-uniphier-f.c
166
priv->error = -ENXIO;
drivers/i2c/busses/i2c-uniphier-f.c
323
priv->error = 0;
drivers/i2c/busses/i2c-uniphier-f.c
381
return priv->error;
drivers/i2c/busses/i2c-uniphier-f.c
86
int error;
drivers/i2c/busses/i2c-viai2c-zhaoxin.c
292
int error;
drivers/i2c/busses/i2c-viai2c-zhaoxin.c
297
error = viai2c_init(pdev, &i2c, VIAI2C_PLAT_ZHAOXIN);
drivers/i2c/busses/i2c-viai2c-zhaoxin.c
298
if (error)
drivers/i2c/busses/i2c-viai2c-zhaoxin.c
299
return error;
drivers/i2c/busses/i2c-viai2c-zhaoxin.c
305
error = devm_request_irq(&pdev->dev, i2c->irq, zxi2c_isr,
drivers/i2c/busses/i2c-viai2c-zhaoxin.c
307
if (error)
drivers/i2c/busses/i2c-viai2c-zhaoxin.c
308
return dev_err_probe(&pdev->dev, error,
drivers/i2c/busses/i2c-viapro.c
315
int error;
drivers/i2c/busses/i2c-viapro.c
346
error = acpi_check_region(vt596_smba, 8, vt596_driver.name);
drivers/i2c/busses/i2c-viapro.c
347
if (error)
drivers/i2c/busses/i2c-viapro.c
375
error = dev_err_probe(&pdev->dev, -ENODEV,
drivers/i2c/busses/i2c-viapro.c
412
error = i2c_add_adapter(&vt596_adapter);
drivers/i2c/busses/i2c-viapro.c
413
if (error) {
drivers/i2c/busses/i2c-viapro.c
427
return error;
drivers/i2c/busses/i2c-viperboard.c
271
error = 0;
drivers/i2c/busses/i2c-viperboard.c
298
error = ret;
drivers/i2c/busses/i2c-viperboard.c
302
error = ret;
drivers/i2c/busses/i2c-viperboard.c
304
ret = vprbrd_i2c_status(i2c, smsg, error);
drivers/i2c/busses/i2c-viperboard.c
306
error = ret;
drivers/i2c/busses/i2c-viperboard.c
308
if (error < 0)
drivers/i2c/busses/i2c-viperboard.c
309
goto error;
drivers/i2c/busses/i2c-viperboard.c
323
error = ret;
drivers/i2c/busses/i2c-viperboard.c
325
ret = vprbrd_i2c_status(i2c, smsg, error);
drivers/i2c/busses/i2c-viperboard.c
327
error = ret;
drivers/i2c/busses/i2c-viperboard.c
329
if (error < 0)
drivers/i2c/busses/i2c-viperboard.c
330
goto error;
drivers/i2c/busses/i2c-viperboard.c
335
error:
drivers/i2c/busses/i2c-viperboard.c
337
return error;
drivers/i2c/busses/i2c-viperboard.c
70
int error = 0;
drivers/i2c/busses/i2c-viperboard.c
81
error = -EREMOTEIO;
drivers/i2c/busses/i2c-viperboard.c
91
error = -EREMOTEIO;
drivers/i2c/busses/i2c-viperboard.c
93
return error;
drivers/i2c/busses/scx200_acb.c
110
goto error;
drivers/i2c/busses/scx200_acb.c
114
goto error;
drivers/i2c/busses/scx200_acb.c
206
error:
drivers/i3c/master/adi-i3c-master.c
250
cmd->error = REG_CMDR_FIFO_ERROR(cmdr);
drivers/i3c/master/adi-i3c-master.c
254
switch (xfer->cmds[i].error) {
drivers/i3c/master/adi-i3c-master.c
316
switch (cmd->error) {
drivers/i3c/master/adi-i3c-master.c
92
u32 error;
drivers/i3c/master/dw-i3c-master.c
252
u8 error;
drivers/i3c/master/dw-i3c-master.c
488
cmd->error = RESPONSE_PORT_ERR_STATUS(resp);
drivers/i3c/master/dw-i3c-master.c
489
if (cmd->rx_len && !cmd->error)
drivers/i3c/master/dw-i3c-master.c
495
switch (xfer->cmds[i].error) {
drivers/i3c/master/dw-i3c-master.c
750
if (xfer->cmds[0].error == RESPONSE_ERROR_IBA_NACK)
drivers/i3c/master/dw-i3c-master.c
791
if (xfer->cmds[0].error == RESPONSE_ERROR_IBA_NACK)
drivers/i3c/master/i3c-master-cdns.c
385
u32 error;
drivers/i3c/master/i3c-master-cdns.c
577
cmd->error = CMDR_ERROR(cmdr);
drivers/i3c/master/i3c-master-cdns.c
581
switch (xfer->cmds[i].error) {
drivers/i3c/master/i3c-master-cdns.c
665
switch (cmd->error) {
drivers/i3c/master/mipi-i3c-hci/core.c
268
bool error = false;
drivers/i3c/master/mipi-i3c-hci/core.c
270
for (int i = 0; i < n && !error; i++)
drivers/i3c/master/mipi-i3c-hci/core.c
271
error = RESP_STATUS(xfer[i].response);
drivers/i3c/master/mipi-i3c-hci/core.c
272
if (error)
drivers/idle/intel_idle.c
2517
goto error;
drivers/idle/intel_idle.c
2541
goto error;
drivers/idle/intel_idle.c
2545
goto error;
drivers/idle/intel_idle.c
2553
goto error;
drivers/idle/intel_idle.c
2569
goto error;
drivers/idle/intel_idle.c
2585
goto error;
drivers/idle/intel_idle.c
2596
error:
drivers/iio/accel/bma400_core.c
543
goto error;
drivers/iio/accel/bma400_core.c
549
goto error;
drivers/iio/accel/bma400_core.c
561
goto error;
drivers/iio/accel/bma400_core.c
563
error:
drivers/iio/adc/adi-axi-adc.c
286
bool *error)
drivers/iio/adc/adi-axi-adc.c
297
*error = true;
drivers/iio/adc/adi-axi-adc.c
299
*error = false;
drivers/iio/adc/cpcap-adc.c
1000
if (error)
drivers/iio/adc/cpcap-adc.c
1001
return error;
drivers/iio/adc/cpcap-adc.c
386
int error;
drivers/iio/adc/cpcap-adc.c
388
error = regmap_set_bits(ddata->reg, CPCAP_REG_ADCC2,
drivers/iio/adc/cpcap-adc.c
390
if (error)
drivers/iio/adc/cpcap-adc.c
405
int error;
drivers/iio/adc/cpcap-adc.c
415
error = regmap_update_bits(ddata->reg, CPCAP_REG_ADCC1,
drivers/iio/adc/cpcap-adc.c
423
if (error)
drivers/iio/adc/cpcap-adc.c
426
error = regmap_clear_bits(ddata->reg, CPCAP_REG_ADCC2,
drivers/iio/adc/cpcap-adc.c
430
if (error)
drivers/iio/adc/cpcap-adc.c
433
error = regmap_set_bits(ddata->reg, CPCAP_REG_ADCC2,
drivers/iio/adc/cpcap-adc.c
435
if (error)
drivers/iio/adc/cpcap-adc.c
438
error = regmap_set_bits(ddata->reg, CPCAP_REG_ADCC2, CPCAP_BIT_ASC);
drivers/iio/adc/cpcap-adc.c
439
if (error)
drivers/iio/adc/cpcap-adc.c
444
error = regmap_read(ddata->reg, CPCAP_REG_ADCC2, &value);
drivers/iio/adc/cpcap-adc.c
445
if (error)
drivers/iio/adc/cpcap-adc.c
453
error = regmap_clear_bits(ddata->reg, CPCAP_REG_ADCC1,
drivers/iio/adc/cpcap-adc.c
455
if (error)
drivers/iio/adc/cpcap-adc.c
467
int i, error;
drivers/iio/adc/cpcap-adc.c
474
error = regmap_read(ddata->reg, calibration_register,
drivers/iio/adc/cpcap-adc.c
476
if (error)
drivers/iio/adc/cpcap-adc.c
477
return error;
drivers/iio/adc/cpcap-adc.c
479
error = regmap_read(ddata->reg, calibration_register,
drivers/iio/adc/cpcap-adc.c
481
if (error)
drivers/iio/adc/cpcap-adc.c
482
return error;
drivers/iio/adc/cpcap-adc.c
509
int error;
drivers/iio/adc/cpcap-adc.c
511
error = cpcap_adc_calibrate_one(ddata, CPCAP_ADC_CHG_ISENSE,
drivers/iio/adc/cpcap-adc.c
515
if (error)
drivers/iio/adc/cpcap-adc.c
516
return error;
drivers/iio/adc/cpcap-adc.c
518
error = cpcap_adc_calibrate_one(ddata, CPCAP_ADC_BATTI,
drivers/iio/adc/cpcap-adc.c
522
if (error)
drivers/iio/adc/cpcap-adc.c
523
return error;
drivers/iio/adc/cpcap-adc.c
535
int error;
drivers/iio/adc/cpcap-adc.c
543
error = regmap_update_bits(ddata->reg, CPCAP_REG_ADCC2,
drivers/iio/adc/cpcap-adc.c
546
if (error)
drivers/iio/adc/cpcap-adc.c
579
error = regmap_update_bits(ddata->reg, CPCAP_REG_ADCC1,
drivers/iio/adc/cpcap-adc.c
587
if (error)
drivers/iio/adc/cpcap-adc.c
590
error = regmap_update_bits(ddata->reg, CPCAP_REG_ADCC2,
drivers/iio/adc/cpcap-adc.c
596
if (error)
drivers/iio/adc/cpcap-adc.c
600
error = regmap_set_bits(ddata->reg, CPCAP_REG_ADCC2,
drivers/iio/adc/cpcap-adc.c
602
if (error)
drivers/iio/adc/cpcap-adc.c
605
error = regmap_set_bits(ddata->reg, CPCAP_REG_ADCC2,
drivers/iio/adc/cpcap-adc.c
607
if (error)
drivers/iio/adc/cpcap-adc.c
610
error = regmap_set_bits(ddata->reg, CPCAP_REG_ADCC2,
drivers/iio/adc/cpcap-adc.c
612
if (error)
drivers/iio/adc/cpcap-adc.c
615
error = regmap_clear_bits(ddata->reg, CPCAP_REG_ADCC2,
drivers/iio/adc/cpcap-adc.c
617
if (error)
drivers/iio/adc/cpcap-adc.c
625
int i, error;
drivers/iio/adc/cpcap-adc.c
632
error = wait_event_interruptible_timeout(ddata->wq_data_avail,
drivers/iio/adc/cpcap-adc.c
635
if (error > 0)
drivers/iio/adc/cpcap-adc.c
638
if (error == 0) {
drivers/iio/adc/cpcap-adc.c
639
error = -ETIMEDOUT;
drivers/iio/adc/cpcap-adc.c
643
if (error < 0)
drivers/iio/adc/cpcap-adc.c
644
return error;
drivers/iio/adc/cpcap-adc.c
647
return error;
drivers/iio/adc/cpcap-adc.c
652
int error;
drivers/iio/adc/cpcap-adc.c
654
error = regmap_update_bits(ddata->reg, CPCAP_REG_ADCC1,
drivers/iio/adc/cpcap-adc.c
657
if (error)
drivers/iio/adc/cpcap-adc.c
658
return error;
drivers/iio/adc/cpcap-adc.c
782
int calibration_data, error, addr;
drivers/iio/adc/cpcap-adc.c
785
error = regmap_read(ddata->reg, CPCAP_REG_ADCAL1,
drivers/iio/adc/cpcap-adc.c
787
if (error)
drivers/iio/adc/cpcap-adc.c
788
return error;
drivers/iio/adc/cpcap-adc.c
792
error = regmap_read(ddata->reg, CPCAP_REG_ADCAL2,
drivers/iio/adc/cpcap-adc.c
794
if (error)
drivers/iio/adc/cpcap-adc.c
795
return error;
drivers/iio/adc/cpcap-adc.c
802
error = regmap_read(ddata->reg, addr, &req->result);
drivers/iio/adc/cpcap-adc.c
803
if (error)
drivers/iio/adc/cpcap-adc.c
804
return error;
drivers/iio/adc/cpcap-adc.c
843
int error;
drivers/iio/adc/cpcap-adc.c
845
error = regmap_read(ddata->reg, addr, val);
drivers/iio/adc/cpcap-adc.c
846
if (error)
drivers/iio/adc/cpcap-adc.c
847
return error;
drivers/iio/adc/cpcap-adc.c
862
int error;
drivers/iio/adc/cpcap-adc.c
864
error = cpcap_adc_init_request(&req, chan->channel);
drivers/iio/adc/cpcap-adc.c
865
if (error)
drivers/iio/adc/cpcap-adc.c
866
return error;
drivers/iio/adc/cpcap-adc.c
871
error = cpcap_adc_start_bank(ddata, &req);
drivers/iio/adc/cpcap-adc.c
872
if (error)
drivers/iio/adc/cpcap-adc.c
874
error = regmap_read(ddata->reg, chan->address, val);
drivers/iio/adc/cpcap-adc.c
875
if (error)
drivers/iio/adc/cpcap-adc.c
877
error = cpcap_adc_stop_bank(ddata);
drivers/iio/adc/cpcap-adc.c
878
if (error)
drivers/iio/adc/cpcap-adc.c
884
error = cpcap_adc_start_bank(ddata, &req);
drivers/iio/adc/cpcap-adc.c
885
if (error)
drivers/iio/adc/cpcap-adc.c
889
error = cpcap_adc_read_st_die_temp(ddata,
drivers/iio/adc/cpcap-adc.c
892
if (error)
drivers/iio/adc/cpcap-adc.c
895
error = cpcap_adc_read_bank_scaled(ddata, &req);
drivers/iio/adc/cpcap-adc.c
896
if (error)
drivers/iio/adc/cpcap-adc.c
899
error = cpcap_adc_stop_bank(ddata);
drivers/iio/adc/cpcap-adc.c
900
if (error)
drivers/iio/adc/cpcap-adc.c
913
dev_err(ddata->dev, "error reading ADC: %i\n", error);
drivers/iio/adc/cpcap-adc.c
915
return error;
drivers/iio/adc/cpcap-adc.c
953
int error;
drivers/iio/adc/cpcap-adc.c
978
error = cpcap_get_vendor(ddata->dev, ddata->reg, &ddata->vendor);
drivers/iio/adc/cpcap-adc.c
979
if (error)
drivers/iio/adc/cpcap-adc.c
980
return error;
drivers/iio/adc/cpcap-adc.c
988
error = devm_request_threaded_irq(&pdev->dev, ddata->irq, NULL,
drivers/iio/adc/cpcap-adc.c
992
if (error) {
drivers/iio/adc/cpcap-adc.c
994
error);
drivers/iio/adc/cpcap-adc.c
996
return error;
drivers/iio/adc/cpcap-adc.c
999
error = cpcap_adc_calibrate(ddata);
drivers/iio/adc/viperboard_adc.c
100
return error;
drivers/iio/adc/viperboard_adc.c
55
int ret, error = 0;
drivers/iio/adc/viperboard_adc.c
74
error = -EREMOTEIO;
drivers/iio/adc/viperboard_adc.c
88
error = -EREMOTEIO;
drivers/iio/adc/viperboard_adc.c
91
if (error)
drivers/iio/adc/viperboard_adc.c
92
goto error;
drivers/iio/adc/viperboard_adc.c
96
error = -EINVAL;
drivers/iio/adc/viperboard_adc.c
99
error:
drivers/iio/chemical/ccs811.c
71
u8 error;
drivers/iio/imu/bmi323/bmi323_core.c
428
int error, ret;
drivers/iio/imu/bmi323/bmi323_core.c
431
ret = regmap_read(data->regmap, BMI323_ERR_REG, &error);
drivers/iio/imu/bmi323/bmi323_core.c
435
if (error)
drivers/iio/imu/bmi323/bmi323_core.c
436
dev_err(data->dev, "Sensor error 0x%x\n", error);
drivers/iio/imu/bmi323/bmi323_core.c
438
return error;
drivers/iio/imu/smi330/smi330_core.c
386
int ret, i, reg, reg_val, error;
drivers/iio/imu/smi330/smi330_core.c
414
ret = regmap_read(data->regmap, SMI330_ERR_REG, &error);
drivers/iio/imu/smi330/smi330_core.c
418
if (FIELD_GET(SMI330_ERR_ACC_CONF_MASK, error) ||
drivers/iio/imu/smi330/smi330_core.c
419
FIELD_GET(SMI330_ERR_GYR_CONF_MASK, error))
drivers/iio/industrialio-backend.c
466
bool *error)
drivers/iio/industrialio-backend.c
468
return iio_backend_op_call(back, chan_status, chan, error);
drivers/iio/industrialio-buffer.c
1973
fence->error = ret;
drivers/iio/light/tcs3472.c
274
goto error;
drivers/iio/light/tcs3472.c
278
goto error;
drivers/iio/light/tcs3472.c
294
goto error;
drivers/iio/light/tcs3472.c
302
error:
drivers/iio/potentiometer/ad5110.c
102
goto error;
drivers/iio/potentiometer/ad5110.c
108
error:
drivers/iio/potentiometer/ad5110.c
123
goto error;
drivers/iio/potentiometer/ad5110.c
126
goto error;
drivers/iio/potentiometer/ad5110.c
131
error:
drivers/iio/potentiometer/ad5110.c
91
goto error;
drivers/iio/potentiometer/ad5110.c
94
goto error;
drivers/iio/potentiometer/ad5110.c
99
goto error;
drivers/iio/potentiometer/ad5272.c
86
goto error;
drivers/iio/potentiometer/ad5272.c
90
goto error;
drivers/iio/potentiometer/ad5272.c
94
error:
drivers/iio/pressure/hsc030pa.c
312
goto error;
drivers/iio/pressure/hsc030pa.c
320
error:
drivers/infiniband/core/cm.c
2384
goto error;
drivers/infiniband/core/cm.c
2390
goto error;
drivers/infiniband/core/cm.c
2410
error: spin_unlock_irqrestore(&cm_id_priv->lock, flags);
drivers/infiniband/core/cm.c
2521
goto error;
drivers/infiniband/core/cm.c
2538
goto error;
drivers/infiniband/core/cm.c
2562
goto error;
drivers/infiniband/core/cm.c
2589
error:
drivers/infiniband/core/cm.c
851
goto error;
drivers/infiniband/core/cm.c
856
error:
drivers/infiniband/core/mad.c
1282
goto error;
drivers/infiniband/core/mad.c
1286
goto error;
drivers/infiniband/core/mad.c
1292
goto error;
drivers/infiniband/core/mad.c
1309
goto error;
drivers/infiniband/core/mad.c
1347
goto error;
drivers/infiniband/core/mad.c
1351
error:
drivers/infiniband/core/mad.c
3171
goto error;
drivers/infiniband/core/mad.c
3178
error:
drivers/infiniband/core/mad.c
3342
goto error;
drivers/infiniband/core/mad.c
3361
error:
drivers/infiniband/core/mad_rmpp.c
291
goto error;
drivers/infiniband/core/mad_rmpp.c
318
error: kfree(rmpp_recv);
drivers/infiniband/hw/cxgb4/cm.c
205
int error = 0;
drivers/infiniband/hw/cxgb4/cm.c
212
error = cxgb4_l2t_send(rdev->lldi.ports[0], skb, l2e);
drivers/infiniband/hw/cxgb4/cm.c
213
if (error < 0)
drivers/infiniband/hw/cxgb4/cm.c
215
else if (error == NET_XMIT_DROP)
drivers/infiniband/hw/cxgb4/cm.c
217
return error < 0 ? error : 0;
drivers/infiniband/hw/cxgb4/cm.c
222
int error = 0;
drivers/infiniband/hw/cxgb4/cm.c
229
error = cxgb4_ofld_send(rdev->lldi.ports[0], skb);
drivers/infiniband/hw/cxgb4/cm.c
230
if (error < 0)
drivers/infiniband/hw/cxgb4/cm.c
232
return error < 0 ? error : 0;
drivers/infiniband/hw/cxgb4/restrack.c
293
if (rdma_nl_put_driver_u32(msg, "error", cq->error))
drivers/infiniband/hw/cxgb4/t4.h
698
u8 error;
drivers/infiniband/hw/cxgb4/t4.h
739
cq->error = 1;
drivers/infiniband/hw/cxgb4/t4.h
792
cq->error = 1;
drivers/infiniband/hw/cxgb4/t4.h
809
if (cq->error)
drivers/infiniband/hw/erdma/erdma_cm.c
1166
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
1173
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
1179
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
1219
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
1230
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
1237
error:
drivers/infiniband/hw/erdma/erdma_cm.c
1321
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
1326
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
1332
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
1336
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
1346
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
1356
error:
drivers/infiniband/hw/erdma/erdma_cm.c
650
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
654
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
662
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
674
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
685
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
699
goto error;
drivers/infiniband/hw/erdma/erdma_cm.c
706
error:
drivers/infiniband/hw/hfi1/opfn.c
164
if (extd->error)
drivers/infiniband/hw/hfi1/opfn.c
165
extd->error(qp);
drivers/infiniband/hw/hfi1/opfn.c
20
void (*error)(struct rvt_qp *qp);
drivers/infiniband/hw/hfi1/opfn.c
232
if (extd->error)
drivers/infiniband/hw/hfi1/opfn.c
233
extd->error(qp);
drivers/infiniband/hw/hfi1/opfn.c
28
.error = tid_rdma_conn_error,
drivers/infiniband/hw/hfi1/pcie.c
292
goto error;
drivers/infiniband/hw/hfi1/pcie.c
297
goto error;
drivers/infiniband/hw/hfi1/pcie.c
302
goto error;
drivers/infiniband/hw/hfi1/pcie.c
306
goto error;
drivers/infiniband/hw/hfi1/pcie.c
311
goto error;
drivers/infiniband/hw/hfi1/pcie.c
316
goto error;
drivers/infiniband/hw/hfi1/pcie.c
321
goto error;
drivers/infiniband/hw/hfi1/pcie.c
325
goto error;
drivers/infiniband/hw/hfi1/pcie.c
331
goto error;
drivers/infiniband/hw/hfi1/pcie.c
335
error:
drivers/infiniband/hw/hfi1/pcie.c
352
goto error;
drivers/infiniband/hw/hfi1/pcie.c
357
goto error;
drivers/infiniband/hw/hfi1/pcie.c
361
goto error;
drivers/infiniband/hw/hfi1/pcie.c
365
goto error;
drivers/infiniband/hw/hfi1/pcie.c
370
goto error;
drivers/infiniband/hw/hfi1/pcie.c
375
goto error;
drivers/infiniband/hw/hfi1/pcie.c
380
goto error;
drivers/infiniband/hw/hfi1/pcie.c
384
goto error;
drivers/infiniband/hw/hfi1/pcie.c
390
goto error;
drivers/infiniband/hw/hfi1/pcie.c
394
error:
drivers/infiniband/hw/irdma/cm.c
2057
if (!dst || dst->error) {
drivers/infiniband/hw/irdma/cm.c
2062
dst->error);
drivers/infiniband/hw/irdma/cm.c
3681
goto error;
drivers/infiniband/hw/irdma/cm.c
3687
goto error;
drivers/infiniband/hw/irdma/cm.c
3697
goto error;
drivers/infiniband/hw/irdma/cm.c
3708
goto error;
drivers/infiniband/hw/irdma/cm.c
3719
goto error;
drivers/infiniband/hw/irdma/cm.c
3761
goto error;
drivers/infiniband/hw/irdma/cm.c
3781
error:
drivers/infiniband/hw/irdma/cm.c
4046
goto error;
drivers/infiniband/hw/irdma/cm.c
4059
goto error;
drivers/infiniband/hw/irdma/cm.c
4067
goto error;
drivers/infiniband/hw/irdma/cm.c
4079
error:
drivers/infiniband/hw/irdma/cm.c
4156
goto error;
drivers/infiniband/hw/irdma/cm.c
4187
error:
drivers/infiniband/hw/irdma/ctrl.c
3169
u32 *tail, u32 *error)
drivers/infiniband/hw/irdma/ctrl.c
3173
*error = FIELD_GET(IRDMA_CQPTAIL_CQP_OP_ERR, *val);
drivers/infiniband/hw/irdma/ctrl.c
3269
u32 newtail, error, val;
drivers/infiniband/hw/irdma/ctrl.c
3272
irdma_get_cqp_reg_info(cqp, &val, &newtail, &error);
drivers/infiniband/hw/irdma/ctrl.c
3273
if (error) {
drivers/infiniband/hw/irdma/ctrl.c
3274
error = readl(cqp->dev->hw_regs[IRDMA_CQPERRCODES]);
drivers/infiniband/hw/irdma/ctrl.c
3277
error);
drivers/infiniband/hw/irdma/ctrl.c
3981
u32 error;
drivers/infiniband/hw/irdma/ctrl.c
4001
info->error = (bool)FIELD_GET(IRDMA_CQ_ERROR, temp);
drivers/infiniband/hw/irdma/ctrl.c
4004
if (info->error) {
drivers/infiniband/hw/irdma/ctrl.c
4006
error = readl(cqp->dev->hw_regs[IRDMA_CQPERRCODES]);
drivers/infiniband/hw/irdma/ctrl.c
4008
"CQP: CQPERRCODES error_code[x%08X]\n", error);
drivers/infiniband/hw/irdma/ctrl.c
4089
if (info.error && info.op_code != IRDMA_CQP_OP_QUERY_STAG) {
drivers/infiniband/hw/irdma/ctrl.c
4178
u32 tail, val, error;
drivers/infiniband/hw/irdma/ctrl.c
4198
irdma_get_cqp_reg_info(cqp, &val, &tail, &error);
drivers/infiniband/hw/irdma/ctrl.c
4239
u32 tail, val, error;
drivers/infiniband/hw/irdma/ctrl.c
4257
irdma_get_cqp_reg_info(cqp, &val, &tail, &error);
drivers/infiniband/hw/irdma/ctrl.c
4951
u32 tail, val, error;
drivers/infiniband/hw/irdma/ctrl.c
4977
irdma_get_cqp_reg_info(cqp, &val, &tail, &error);
drivers/infiniband/hw/irdma/ctrl.c
5222
u32 error, val, tail;
drivers/infiniband/hw/irdma/ctrl.c
5230
irdma_get_cqp_reg_info(cqp, &val, &tail, &error);
drivers/infiniband/hw/irdma/ctrl.c
5251
u32 tail, val, error;
drivers/infiniband/hw/irdma/ctrl.c
5270
irdma_get_cqp_reg_info(cqp, &val, &tail, &error);
drivers/infiniband/hw/irdma/ctrl.c
5346
u32 tail, val, error;
drivers/infiniband/hw/irdma/ctrl.c
5368
irdma_get_cqp_reg_info(cqp, &val, &tail, &error);
drivers/infiniband/hw/irdma/ctrl.c
5373
if (error || status)
drivers/infiniband/hw/irdma/hw.c
1750
goto error;
drivers/infiniband/hw/irdma/hw.c
1758
goto error;
drivers/infiniband/hw/irdma/hw.c
1769
goto error;
drivers/infiniband/hw/irdma/hw.c
1772
error:
drivers/infiniband/hw/irdma/hw.c
2221
if (info.error && irdma_cqp_crit_err(dev, cqp_request->info.cqp_cmd,
drivers/infiniband/hw/irdma/hw.c
2230
cqp_request->compl_info.error = info.error;
drivers/infiniband/hw/irdma/main.h
158
bool error;
drivers/infiniband/hw/irdma/pble.c
158
goto error;
drivers/infiniband/hw/irdma/pble.c
170
goto error;
drivers/infiniband/hw/irdma/pble.c
179
error:
drivers/infiniband/hw/irdma/pble.c
272
goto error;
drivers/infiniband/hw/irdma/pble.c
279
goto error;
drivers/infiniband/hw/irdma/pble.c
295
goto error;
drivers/infiniband/hw/irdma/pble.c
302
error:
drivers/infiniband/hw/irdma/pble.c
385
goto error;
drivers/infiniband/hw/irdma/pble.c
398
error:
drivers/infiniband/hw/irdma/puda.c
1078
goto error;
drivers/infiniband/hw/irdma/puda.c
1085
goto error;
drivers/infiniband/hw/irdma/puda.c
1091
goto error;
drivers/infiniband/hw/irdma/puda.c
1101
error:
drivers/infiniband/hw/irdma/puda.c
1377
goto error;
drivers/infiniband/hw/irdma/puda.c
1383
goto error;
drivers/infiniband/hw/irdma/puda.c
1396
goto error;
drivers/infiniband/hw/irdma/puda.c
1409
error:
drivers/infiniband/hw/irdma/puda.c
1605
goto error;
drivers/infiniband/hw/irdma/puda.c
1633
goto error;
drivers/infiniband/hw/irdma/puda.c
1640
goto error;
drivers/infiniband/hw/irdma/puda.c
1650
goto error;
drivers/infiniband/hw/irdma/puda.c
1662
error:
drivers/infiniband/hw/irdma/puda.c
224
bool error;
drivers/infiniband/hw/irdma/puda.c
265
error = (bool)FIELD_GET(IRDMA_CQ_ERROR, qword3);
drivers/infiniband/hw/irdma/puda.c
266
if (error) {
drivers/infiniband/hw/irdma/puda.c
801
goto error;
drivers/infiniband/hw/irdma/puda.c
807
error:
drivers/infiniband/hw/irdma/type.h
830
bool error:1;
drivers/infiniband/hw/irdma/uk.c
1221
info->error = (bool)FIELD_GET(IRDMA_CQ_ERROR, qword3);
drivers/infiniband/hw/irdma/uk.c
1228
if (info->error) {
drivers/infiniband/hw/irdma/uk.c
1252
info->error = 0;
drivers/infiniband/hw/irdma/user.h
386
bool error:1;
drivers/infiniband/hw/irdma/utils.c
2049
goto error;
drivers/infiniband/hw/irdma/utils.c
2052
error:
drivers/infiniband/hw/irdma/utils.c
2397
cpi->error = true;
drivers/infiniband/hw/irdma/utils.c
517
cqp_request->compl_info.error = true;
drivers/infiniband/hw/irdma/utils.c
637
cqp_error = cqp_request->compl_info.error;
drivers/infiniband/hw/irdma/utils.c
778
cqp_request->compl_info.error, cqp_request->compl_info.maj_err_code,
drivers/infiniband/hw/irdma/verbs.c
1016
goto error;
drivers/infiniband/hw/irdma/verbs.c
1022
goto error;
drivers/infiniband/hw/irdma/verbs.c
1054
goto error;
drivers/infiniband/hw/irdma/verbs.c
1079
goto error;
drivers/infiniband/hw/irdma/verbs.c
1092
goto error;
drivers/infiniband/hw/irdma/verbs.c
1102
goto error;
drivers/infiniband/hw/irdma/verbs.c
1136
error:
drivers/infiniband/hw/irdma/verbs.c
2116
goto error;
drivers/infiniband/hw/irdma/verbs.c
2123
goto error;
drivers/infiniband/hw/irdma/verbs.c
2140
goto error;
drivers/infiniband/hw/irdma/verbs.c
2157
error:
drivers/infiniband/hw/irdma/verbs.c
3561
goto error;
drivers/infiniband/hw/irdma/verbs.c
3567
goto error;
drivers/infiniband/hw/irdma/verbs.c
3573
goto error;
drivers/infiniband/hw/irdma/verbs.c
3578
goto error;
drivers/infiniband/hw/irdma/verbs.c
3583
goto error;
drivers/infiniband/hw/irdma/verbs.c
3587
error:
drivers/infiniband/hw/irdma/verbs.c
424
goto error;
drivers/infiniband/hw/irdma/verbs.c
4296
if (cq_poll_info->error) {
drivers/infiniband/hw/irdma/verbs.c
431
error:
drivers/infiniband/hw/irdma/verbs.c
4418
goto error;
drivers/infiniband/hw/irdma/verbs.c
4448
goto error;
drivers/infiniband/hw/irdma/verbs.c
4462
error:
drivers/infiniband/hw/irdma/verbs.c
4921
goto error;
drivers/infiniband/hw/irdma/verbs.c
4925
error:
drivers/infiniband/hw/irdma/verbs.c
5485
goto error;
drivers/infiniband/hw/irdma/verbs.c
5489
goto error;
drivers/infiniband/hw/irdma/verbs.c
5496
error:
drivers/infiniband/hw/mlx5/main.c
1943
goto error;
drivers/infiniband/hw/mlx5/main.c
1953
error:
drivers/infiniband/hw/mlx5/odp.c
431
int error)
drivers/infiniband/hw/mlx5/odp.c
448
MLX5_SET(mem_page_fault_info, info, error, !!error);
drivers/infiniband/hw/mlx5/odp.c
457
MLX5_SET(trans_page_fault_info, info, error, !!error);
drivers/infiniband/hw/qedr/qedr_iw_cm.c
492
if ((!dst) || dst->error) {
drivers/infiniband/hw/qedr/qedr_iw_cm.c
496
dst->error);
drivers/infiniband/sw/rxe/rxe_net.c
149
if (unlikely(ndst->error)) {
drivers/infiniband/sw/rxe/rxe_resp.c
269
if (srq->error)
drivers/infiniband/sw/rxe/rxe_srq.c
103
if (srq->error) {
drivers/infiniband/sw/rxe/rxe_verbs.c
493
if (srq->error) {
drivers/infiniband/sw/rxe/rxe_verbs.h
102
int error;
drivers/infiniband/sw/siw/siw_cm.c
1006
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1018
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1039
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1046
error:
drivers/infiniband/sw/siw/siw_cm.c
1438
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1445
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1456
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1463
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1485
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1558
error:
drivers/infiniband/sw/siw/siw_cm.c
1723
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1731
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1739
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1747
error:
drivers/infiniband/sw/siw/siw_cm.c
1840
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1853
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1864
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1872
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1877
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1886
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1891
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1921
goto error;
drivers/infiniband/sw/siw/siw_cm.c
1933
error:
drivers/infiniband/sw/siw/siw_cm.c
977
goto error;
drivers/infiniband/sw/siw/siw_cm.c
981
goto error;
drivers/infiniband/sw/siw/siw_cm.c
989
goto error;
drivers/infiniband/sw/siw/siw_main.c
322
goto error;
drivers/infiniband/sw/siw/siw_main.c
359
error:
drivers/infiniband/sw/siw/siw_qp_rx.c
1198
static int siw_rdmap_complete(struct siw_qp *qp, int error)
drivers/infiniband/sw/siw/siw_qp_rx.c
1219
if (error != 0 && wc_status == SIW_WC_SUCCESS)
drivers/infiniband/sw/siw/siw_qp_rx.c
1252
if (error != 0) {
drivers/infiniband/sw/siw/siw_qp_rx.c
1254
qp->rx_fpdu->first_ddp_seg) || error == -ENODATA)
drivers/infiniband/sw/siw/siw_qp_rx.c
1273
error = rv;
drivers/infiniband/sw/siw/siw_qp_rx.c
1280
if ((wqe->sqe.flags & SIW_WQE_SIGNALLED) || error != 0)
drivers/infiniband/sw/siw/siw_qp_rx.c
1285
if (!error) {
drivers/infiniband/sw/siw/siw_qp_rx.c
1295
if (!error) {
drivers/infiniband/sw/siw/siw_qp_rx.c
194
goto error;
drivers/infiniband/sw/siw/siw_qp_rx.c
201
goto error;
drivers/infiniband/sw/siw/siw_qp_rx.c
209
goto error;
drivers/infiniband/sw/siw/siw_qp_rx.c
212
error:
drivers/infiniband/sw/siw/siw_qp_rx.c
248
goto error;
drivers/infiniband/sw/siw/siw_qp_rx.c
256
goto error;
drivers/infiniband/sw/siw/siw_qp_rx.c
260
error:
drivers/infiniband/sw/siw/siw_qp_rx.c
292
goto error;
drivers/infiniband/sw/siw/siw_qp_rx.c
299
goto error;
drivers/infiniband/sw/siw/siw_qp_rx.c
305
goto error;
drivers/infiniband/sw/siw/siw_qp_rx.c
321
goto error;
drivers/infiniband/sw/siw/siw_qp_rx.c
324
error:
drivers/infiniband/ulp/ipoib/ipoib_ib.c
146
goto error;
drivers/infiniband/ulp/ipoib/ipoib_ib.c
150
error:
drivers/infiniband/ulp/iser/iscsi_iser.c
150
goto error;
drivers/infiniband/ulp/iser/iscsi_iser.c
159
goto error;
drivers/infiniband/ulp/iser/iscsi_iser.c
162
error:
drivers/infiniband/ulp/iser/iscsi_iser.c
286
int error = 0;
drivers/infiniband/ulp/iser/iscsi_iser.c
296
error = iser_send_data_out(conn, task, &hdr);
drivers/infiniband/ulp/iser/iscsi_iser.c
297
if (error) {
drivers/infiniband/ulp/iser/iscsi_iser.c
307
return error;
drivers/infiniband/ulp/iser/iscsi_iser.c
320
int error = 0;
drivers/infiniband/ulp/iser/iscsi_iser.c
338
error = iser_send_command(conn, task);
drivers/infiniband/ulp/iser/iscsi_iser.c
339
if (error)
drivers/infiniband/ulp/iser/iscsi_iser.c
346
error = iscsi_iser_task_xmit_unsol_data(conn, task);
drivers/infiniband/ulp/iser/iscsi_iser.c
349
return error;
drivers/infiniband/ulp/iser/iscsi_iser.c
455
int error;
drivers/infiniband/ulp/iser/iscsi_iser.c
457
error = iscsi_conn_bind(cls_session, cls_conn, is_leading);
drivers/infiniband/ulp/iser/iscsi_iser.c
458
if (error)
drivers/infiniband/ulp/iser/iscsi_iser.c
459
return error;
drivers/infiniband/ulp/iser/iscsi_iser.c
473
error = -EINVAL;
drivers/infiniband/ulp/iser/iscsi_iser.c
479
error = iser_alloc_rx_descriptors(iser_conn, conn->session);
drivers/infiniband/ulp/iser/iscsi_iser.c
480
if (error)
drivers/infiniband/ulp/iser/iscsi_iser.c
494
return error;
drivers/infiniband/ulp/srp/ib_srp.c
2369
goto error;
drivers/infiniband/ulp/srp/ib_srp.c
2375
goto error;
drivers/infiniband/ulp/srp/ib_srp.c
2383
goto error;
drivers/infiniband/ulp/srp/ib_srp.c
2390
goto error;
drivers/infiniband/ulp/srp/ib_srp.c
2418
error:
drivers/input/apm-power.c
53
int error;
drivers/input/apm-power.c
63
error = input_register_handle(handle);
drivers/input/apm-power.c
64
if (error) {
drivers/input/apm-power.c
66
error);
drivers/input/apm-power.c
68
return error;
drivers/input/apm-power.c
71
error = input_open_device(handle);
drivers/input/apm-power.c
72
if (error) {
drivers/input/apm-power.c
73
pr_err("Failed to open input power device, error %d\n", error);
drivers/input/apm-power.c
76
return error;
drivers/input/evdev.c
1008
error = bits_to_user(mask, cnt - 1,
drivers/input/evdev.c
1010
if (error < 0)
drivers/input/evdev.c
1011
return error;
drivers/input/evdev.c
1039
int error;
drivers/input/evdev.c
1181
error = input_ff_upload(dev, &effect, file);
drivers/input/evdev.c
1182
if (error)
drivers/input/evdev.c
1183
return error;
drivers/input/evdev.c
1340
int error;
drivers/input/evdev.c
1344
error = minor;
drivers/input/evdev.c
1345
pr_err("failed to reserve new minor: %d\n", error);
drivers/input/evdev.c
1346
return error;
drivers/input/evdev.c
1351
error = -ENOMEM;
drivers/input/evdev.c
1377
error = input_register_handle(&evdev->handle);
drivers/input/evdev.c
1378
if (error)
drivers/input/evdev.c
1383
error = cdev_device_add(&evdev->cdev, &evdev->dev);
drivers/input/evdev.c
1384
if (error)
drivers/input/evdev.c
1396
return error;
drivers/input/evdev.c
334
int error;
drivers/input/evdev.c
339
error = input_grab_device(&evdev->handle);
drivers/input/evdev.c
340
if (error)
drivers/input/evdev.c
341
return error;
drivers/input/evdev.c
466
int error;
drivers/input/evdev.c
478
error = evdev_open_device(evdev);
drivers/input/evdev.c
479
if (error)
drivers/input/evdev.c
490
return error;
drivers/input/evdev.c
563
int error;
drivers/input/evdev.c
596
error = wait_event_interruptible(client->wait,
drivers/input/evdev.c
599
if (error)
drivers/input/evdev.c
600
return error;
drivers/input/evdev.c
807
int error;
drivers/input/evdev.c
813
error = input_get_keycode(dev, &ke);
drivers/input/evdev.c
814
if (error)
drivers/input/evdev.c
815
return error;
drivers/input/evdev.c
826
int error;
drivers/input/evdev.c
831
error = input_get_keycode(dev, &ke);
drivers/input/evdev.c
832
if (error)
drivers/input/evdev.c
833
return error;
drivers/input/evdev.c
961
int error;
drivers/input/evdev.c
972
error = bits_from_user(mask, cnt - 1, codes_size, codes, compat);
drivers/input/evdev.c
973
if (error < 0) {
drivers/input/evdev.c
975
return error;
drivers/input/evdev.c
998
int error;
drivers/input/ff-core.c
117
error = compat_effect(ff, effect);
drivers/input/ff-core.c
118
if (error)
drivers/input/ff-core.c
119
return error;
drivers/input/ff-core.c
138
error = check_effect_access(ff, id, file);
drivers/input/ff-core.c
139
if (error)
drivers/input/ff-core.c
140
return error;
drivers/input/ff-core.c
148
error = ff->upload(dev, effect, old);
drivers/input/ff-core.c
149
if (error)
drivers/input/ff-core.c
150
return error;
drivers/input/ff-core.c
169
int error;
drivers/input/ff-core.c
171
error = check_effect_access(ff, effect_id, file);
drivers/input/ff-core.c
172
if (error)
drivers/input/ff-core.c
173
return error;
drivers/input/ff-core.c
181
error = ff->erase(dev, effect_id);
drivers/input/ff-core.c
182
if (error) {
drivers/input/ff-core.c
186
return error;
drivers/input/ff-core.c
96
int error;
drivers/input/ff-memless.c
508
int error;
drivers/input/ff-memless.c
523
error = input_ff_create(dev, FF_MEMLESS_EFFECTS);
drivers/input/ff-memless.c
524
if (error)
drivers/input/ff-memless.c
525
return error;
drivers/input/gameport/emu10k1-gp.c
44
int error;
drivers/input/gameport/emu10k1-gp.c
50
error = -ENOMEM;
drivers/input/gameport/emu10k1-gp.c
54
error = pci_enable_device(pdev);
drivers/input/gameport/emu10k1-gp.c
55
if (error)
drivers/input/gameport/emu10k1-gp.c
72
error = -EBUSY;
drivers/input/gameport/emu10k1-gp.c
87
return error;
drivers/input/gameport/fm801-gp.c
113
return error;
drivers/input/gameport/fm801-gp.c
69
int error;
drivers/input/gameport/fm801-gp.c
75
error = -ENOMEM;
drivers/input/gameport/fm801-gp.c
79
error = pci_enable_device(pci);
drivers/input/gameport/fm801-gp.c
80
if (error)
drivers/input/gameport/fm801-gp.c
97
error = -EBUSY;
drivers/input/gameport/gameport.c
217
int error;
drivers/input/gameport/gameport.c
225
error = device_bind_driver(&gameport->dev);
drivers/input/gameport/gameport.c
226
if (error) {
drivers/input/gameport/gameport.c
230
drv->description, error);
drivers/input/gameport/gameport.c
233
return error;
drivers/input/gameport/gameport.c
241
int error;
drivers/input/gameport/gameport.c
243
error = device_attach(&gameport->dev);
drivers/input/gameport/gameport.c
244
if (error < 0)
drivers/input/gameport/gameport.c
247
gameport->phys, gameport->name, error);
drivers/input/gameport/gameport.c
471
int error;
drivers/input/gameport/gameport.c
473
error = mutex_lock_interruptible(&gameport_mutex);
drivers/input/gameport/gameport.c
474
if (error)
drivers/input/gameport/gameport.c
475
return error;
drivers/input/gameport/gameport.c
486
error = gameport_bind_driver(gameport, to_gameport_driver(drv));
drivers/input/gameport/gameport.c
488
error = -EINVAL;
drivers/input/gameport/gameport.c
493
return error ? error : count;
drivers/input/gameport/gameport.c
582
int error;
drivers/input/gameport/gameport.c
600
error = device_add(&gameport->dev);
drivers/input/gameport/gameport.c
601
if (error)
drivers/input/gameport/gameport.c
604
gameport->phys, gameport->name, error);
drivers/input/gameport/gameport.c
742
int error;
drivers/input/gameport/gameport.c
744
error = driver_attach(&drv->driver);
drivers/input/gameport/gameport.c
745
if (error)
drivers/input/gameport/gameport.c
747
drv->driver.name, error);
drivers/input/gameport/gameport.c
753
int error;
drivers/input/gameport/gameport.c
765
error = driver_register(&drv->driver);
drivers/input/gameport/gameport.c
766
if (error) {
drivers/input/gameport/gameport.c
768
drv->driver.name, error);
drivers/input/gameport/gameport.c
769
return error;
drivers/input/gameport/gameport.c
776
error = gameport_queue_event(drv, NULL, GAMEPORT_ATTACH_DRIVER);
drivers/input/gameport/gameport.c
777
if (error) {
drivers/input/gameport/gameport.c
779
return error;
drivers/input/gameport/gameport.c
863
int error;
drivers/input/gameport/gameport.c
865
error = bus_register(&gameport_bus);
drivers/input/gameport/gameport.c
866
if (error) {
drivers/input/gameport/gameport.c
867
pr_err("failed to register gameport bus, error: %d\n", error);
drivers/input/gameport/gameport.c
868
return error;
drivers/input/gameport/ns558.c
235
int error;
drivers/input/gameport/ns558.c
237
error = pnp_register_driver(&ns558_pnp_driver);
drivers/input/gameport/ns558.c
238
if (error && error != -ENODEV) /* should be ENOSYS really */
drivers/input/gameport/ns558.c
239
return error;
drivers/input/gameport/ns558.c
250
return list_empty(&ns558_list) && error ? -ENODEV : 0;
drivers/input/input-leds.c
115
error = input_register_handle(&leds->handle);
drivers/input/input-leds.c
116
if (error)
drivers/input/input-leds.c
119
error = input_open_device(&leds->handle);
drivers/input/input-leds.c
120
if (error)
drivers/input/input-leds.c
136
error = -ENOMEM;
drivers/input/input-leds.c
145
error = led_classdev_register(&dev->dev, &led->cdev);
drivers/input/input-leds.c
146
if (error) {
drivers/input/input-leds.c
148
led->cdev.name, error);
drivers/input/input-leds.c
173
return error;
drivers/input/input-leds.c
98
int error;
drivers/input/input.c
1037
int error;
drivers/input/input.c
1039
error = mutex_lock_interruptible(&input_mutex);
drivers/input/input.c
1040
if (error) {
drivers/input/input.c
1042
return ERR_PTR(error);
drivers/input/input.c
1158
int error;
drivers/input/input.c
1160
error = mutex_lock_interruptible(&input_mutex);
drivers/input/input.c
1161
if (error) {
drivers/input/input.c
1163
return ERR_PTR(error);
drivers/input/input.c
1766
int error;
drivers/input/input.c
1775
error = dev->open(dev);
drivers/input/input.c
1776
if (error)
drivers/input/input.c
1777
return error;
drivers/input/input.c
2317
int error;
drivers/input/input.c
2343
error = input_device_tune_vals(dev);
drivers/input/input.c
2344
if (error)
drivers/input/input.c
2363
error = device_add(&dev->dev);
drivers/input/input.c
2364
if (error)
drivers/input/input.c
2373
error = -EINTR;
drivers/input/input.c
2394
return error;
drivers/input/input.c
2455
int error;
drivers/input/input.c
2457
error = input_handler_check_methods(handler);
drivers/input/input.c
2458
if (error)
drivers/input/input.c
2459
return error;
drivers/input/input.c
581
int error;
drivers/input/input.c
601
error = dev->open(dev);
drivers/input/input.c
602
if (error) {
drivers/input/input.c
610
return error;
drivers/input/input.c
779
int error;
drivers/input/input.c
787
error = input_scancode_to_scalar(ke, &index);
drivers/input/input.c
788
if (error)
drivers/input/input.c
789
return error;
drivers/input/input.c
808
int error;
drivers/input/input.c
817
error = input_scancode_to_scalar(ke, &index);
drivers/input/input.c
818
if (error)
drivers/input/input.c
819
return error;
drivers/input/input.c
893
int error;
drivers/input/input.c
900
error = dev->setkeycode(dev, ke, &old_keycode);
drivers/input/input.c
901
if (error)
drivers/input/input.c
902
return error;
drivers/input/input.c
988
int error;
drivers/input/input.c
994
error = handler->connect(handler, dev, id);
drivers/input/input.c
995
if (error && error != -ENODEV)
drivers/input/input.c
997
handler->name, kobject_name(&dev->dev.kobj), error);
drivers/input/input.c
999
return error;
drivers/input/joydev.c
1000
error = cdev_device_add(&joydev->cdev, &joydev->dev);
drivers/input/joydev.c
1001
if (error)
drivers/input/joydev.c
1013
return error;
drivers/input/joydev.c
262
int error;
drivers/input/joydev.c
272
error = joydev_open_device(joydev);
drivers/input/joydev.c
273
if (error)
drivers/input/joydev.c
284
return error;
drivers/input/joydev.c
915
int error;
drivers/input/joydev.c
919
error = minor;
drivers/input/joydev.c
920
pr_err("failed to reserve new minor: %d\n", error);
drivers/input/joydev.c
921
return error;
drivers/input/joydev.c
926
error = -ENOMEM;
drivers/input/joydev.c
994
error = input_register_handle(&joydev->handle);
drivers/input/joydev.c
995
if (error)
drivers/input/joystick/adc-joystick.c
137
int error, i;
drivers/input/joystick/adc-joystick.c
152
error = fwnode_property_read_u32(child, "reg", &i);
drivers/input/joystick/adc-joystick.c
153
if (error) {
drivers/input/joystick/adc-joystick.c
155
return error;
drivers/input/joystick/adc-joystick.c
163
error = fwnode_property_read_u32(child, "linux,code",
drivers/input/joystick/adc-joystick.c
165
if (error) {
drivers/input/joystick/adc-joystick.c
167
return error;
drivers/input/joystick/adc-joystick.c
170
error = fwnode_property_read_u32_array(child, "abs-range",
drivers/input/joystick/adc-joystick.c
172
if (error) {
drivers/input/joystick/adc-joystick.c
174
return error;
drivers/input/joystick/adc-joystick.c
235
int error;
drivers/input/joystick/adc-joystick.c
238
error = PTR_ERR_OR_ZERO(chans);
drivers/input/joystick/adc-joystick.c
239
if (error) {
drivers/input/joystick/adc-joystick.c
240
if (error != -EPROBE_DEFER)
drivers/input/joystick/adc-joystick.c
242
return error;
drivers/input/joystick/adc-joystick.c
245
error = device_property_read_u32(dev, "poll-interval", &poll_interval);
drivers/input/joystick/adc-joystick.c
246
if (error) {
drivers/input/joystick/adc-joystick.c
248
if (error != -EINVAL)
drivers/input/joystick/adc-joystick.c
249
return error;
drivers/input/joystick/adc-joystick.c
255
error = adc_joystick_count_channels(dev, chans, poll_interval != 0,
drivers/input/joystick/adc-joystick.c
257
if (error)
drivers/input/joystick/adc-joystick.c
258
return error;
drivers/input/joystick/adc-joystick.c
277
error = adc_joystick_set_axes(dev, joy);
drivers/input/joystick/adc-joystick.c
278
if (error)
drivers/input/joystick/adc-joystick.c
279
return error;
drivers/input/joystick/adc-joystick.c
295
error = devm_add_action_or_reset(dev, adc_joystick_cleanup,
drivers/input/joystick/adc-joystick.c
297
if (error) {
drivers/input/joystick/adc-joystick.c
299
return error;
drivers/input/joystick/adc-joystick.c
305
error = input_register_device(input);
drivers/input/joystick/adc-joystick.c
306
if (error) {
drivers/input/joystick/adc-joystick.c
308
return error;
drivers/input/joystick/analog.c
367
int error;
drivers/input/joystick/analog.c
442
error = input_register_device(analog->dev);
drivers/input/joystick/analog.c
443
if (error) {
drivers/input/joystick/analog.c
445
return error;
drivers/input/joystick/as5011.c
104
int error;
drivers/input/joystick/as5011.c
106
error = i2c_transfer(client->adapter, msg_set, 2);
drivers/input/joystick/as5011.c
107
if (error < 0)
drivers/input/joystick/as5011.c
108
return error;
drivers/input/joystick/as5011.c
128
int error;
drivers/input/joystick/as5011.c
131
error = as5011_i2c_read(as5011->i2c_client, AS5011_X_RES_INT, &x);
drivers/input/joystick/as5011.c
132
if (error < 0)
drivers/input/joystick/as5011.c
135
error = as5011_i2c_read(as5011->i2c_client, AS5011_Y_RES_INT, &y);
drivers/input/joystick/as5011.c
136
if (error < 0)
drivers/input/joystick/as5011.c
151
int error;
drivers/input/joystick/as5011.c
155
error = as5011_i2c_write(client, AS5011_CTRL1,
drivers/input/joystick/as5011.c
157
if (error < 0) {
drivers/input/joystick/as5011.c
159
return error;
drivers/input/joystick/as5011.c
164
error = as5011_i2c_write(client, AS5011_CTRL1,
drivers/input/joystick/as5011.c
168
if (error < 0) {
drivers/input/joystick/as5011.c
170
return error;
drivers/input/joystick/as5011.c
173
error = as5011_i2c_write(client, AS5011_CTRL2,
drivers/input/joystick/as5011.c
175
if (error < 0) {
drivers/input/joystick/as5011.c
177
return error;
drivers/input/joystick/as5011.c
181
error = as5011_i2c_write(client, AS5011_XP, plat_dat->xp);
drivers/input/joystick/as5011.c
182
if (error < 0) {
drivers/input/joystick/as5011.c
184
return error;
drivers/input/joystick/as5011.c
187
error = as5011_i2c_write(client, AS5011_XN, plat_dat->xn);
drivers/input/joystick/as5011.c
188
if (error < 0) {
drivers/input/joystick/as5011.c
190
return error;
drivers/input/joystick/as5011.c
193
error = as5011_i2c_write(client, AS5011_YP, plat_dat->yp);
drivers/input/joystick/as5011.c
194
if (error < 0) {
drivers/input/joystick/as5011.c
196
return error;
drivers/input/joystick/as5011.c
199
error = as5011_i2c_write(client, AS5011_YN, plat_dat->yn);
drivers/input/joystick/as5011.c
200
if (error < 0) {
drivers/input/joystick/as5011.c
202
return error;
drivers/input/joystick/as5011.c
206
error = as5011_i2c_read(client, AS5011_X_RES_INT, &value);
drivers/input/joystick/as5011.c
207
if (error < 0) {
drivers/input/joystick/as5011.c
209
return error;
drivers/input/joystick/as5011.c
221
int error;
drivers/input/joystick/as5011.c
245
error = -ENOMEM;
drivers/input/joystick/as5011.c
266
error = PTR_ERR(as5011->button_gpiod);
drivers/input/joystick/as5011.c
276
error = irq;
drivers/input/joystick/as5011.c
282
error = request_threaded_irq(as5011->button_irq,
drivers/input/joystick/as5011.c
287
if (error < 0) {
drivers/input/joystick/as5011.c
293
error = as5011_configure_chip(as5011, plat_data);
drivers/input/joystick/as5011.c
294
if (error)
drivers/input/joystick/as5011.c
297
error = request_threaded_irq(as5011->axis_irq, NULL,
drivers/input/joystick/as5011.c
301
if (error) {
drivers/input/joystick/as5011.c
307
error = input_register_device(as5011->input_dev);
drivers/input/joystick/as5011.c
308
if (error) {
drivers/input/joystick/as5011.c
325
return error;
drivers/input/joystick/as5011.c
80
int error;
drivers/input/joystick/as5011.c
82
error = i2c_transfer(client->adapter, &msg, 1);
drivers/input/joystick/as5011.c
83
return error < 0 ? error : 0;
drivers/input/joystick/iforce/iforce-main.c
220
int i, error;
drivers/input/joystick/iforce/iforce-main.c
269
error = -ENODEV;
drivers/input/joystick/iforce/iforce-main.c
376
error = input_ff_create(input_dev, ff_effects);
drivers/input/joystick/iforce/iforce-main.c
377
if (error)
drivers/input/joystick/iforce/iforce-main.c
391
error = input_register_device(iforce->dev);
drivers/input/joystick/iforce/iforce-main.c
392
if (error)
drivers/input/joystick/iforce/iforce-main.c
398
return error;
drivers/input/joystick/maplecontrol.c
100
int i, error;
drivers/input/joystick/maplecontrol.c
108
error = -ENOMEM;
drivers/input/joystick/maplecontrol.c
144
error = input_register_device(idev);
drivers/input/joystick/maplecontrol.c
145
if (error)
drivers/input/joystick/maplecontrol.c
157
return error;
drivers/input/joystick/pxrc.c
125
int error;
drivers/input/joystick/pxrc.c
131
error = usb_find_common_endpoints(intf->cur_altsetting,
drivers/input/joystick/pxrc.c
133
if (error) {
drivers/input/joystick/pxrc.c
135
return error;
drivers/input/joystick/pxrc.c
156
error = devm_add_action_or_reset(&intf->dev, pxrc_free_urb, pxrc);
drivers/input/joystick/pxrc.c
157
if (error)
drivers/input/joystick/pxrc.c
158
return error;
drivers/input/joystick/pxrc.c
192
error = input_register_device(pxrc->input);
drivers/input/joystick/pxrc.c
193
if (error)
drivers/input/joystick/pxrc.c
194
return error;
drivers/input/joystick/pxrc.c
36
int error;
drivers/input/joystick/pxrc.c
76
error = usb_submit_urb(urb, GFP_ATOMIC);
drivers/input/joystick/pxrc.c
77
if (error && error != -EPERM)
drivers/input/joystick/pxrc.c
80
__func__, error);
drivers/input/joystick/pxrc.c
86
int error;
drivers/input/joystick/pxrc.c
89
error = usb_submit_urb(pxrc->urb, GFP_KERNEL);
drivers/input/joystick/pxrc.c
90
if (error) {
drivers/input/joystick/pxrc.c
93
__func__, error);
drivers/input/joystick/sensehat-joystick.c
104
error = devm_request_threaded_irq(&pdev->dev, irq,
drivers/input/joystick/sensehat-joystick.c
108
if (error) {
drivers/input/joystick/sensehat-joystick.c
110
return error;
drivers/input/joystick/sensehat-joystick.c
39
int error;
drivers/input/joystick/sensehat-joystick.c
42
error = regmap_read(sensehat_joystick->regmap, JOYSTICK_SMB_REG, &keys);
drivers/input/joystick/sensehat-joystick.c
43
if (error < 0) {
drivers/input/joystick/sensehat-joystick.c
45
"Failed to read joystick state: %d", error);
drivers/input/joystick/sensehat-joystick.c
64
int error, i, irq;
drivers/input/joystick/sensehat-joystick.c
94
error = input_register_device(sensehat_joystick->keys_dev);
drivers/input/joystick/sensehat-joystick.c
95
if (error) {
drivers/input/joystick/sensehat-joystick.c
97
return error;
drivers/input/joystick/xpad.c
1098
int error;
drivers/input/joystick/xpad.c
1102
error = xpad_start_input(xpad);
drivers/input/joystick/xpad.c
1103
if (error)
drivers/input/joystick/xpad.c
1106
error);
drivers/input/joystick/xpad.c
1355
int error;
drivers/input/joystick/xpad.c
1359
error = usb_submit_urb(xpad->irq_out, GFP_ATOMIC);
drivers/input/joystick/xpad.c
1360
if (error) {
drivers/input/joystick/xpad.c
1361
if (error != -ENODEV)
drivers/input/joystick/xpad.c
1364
__func__, error);
drivers/input/joystick/xpad.c
1366
return error;
drivers/input/joystick/xpad.c
1380
int error;
drivers/input/joystick/xpad.c
1407
error = usb_submit_urb(urb, GFP_ATOMIC);
drivers/input/joystick/xpad.c
1408
if (error) {
drivers/input/joystick/xpad.c
1411
__func__, error);
drivers/input/joystick/xpad.c
1421
int error;
drivers/input/joystick/xpad.c
1437
error = -ENOMEM;
drivers/input/joystick/xpad.c
1452
return error;
drivers/input/joystick/xpad.c
1505
int error;
drivers/input/joystick/xpad.c
1514
error = usb_set_interface(xpad->udev,
drivers/input/joystick/xpad.c
1516
if (error)
drivers/input/joystick/xpad.c
1519
error);
drivers/input/joystick/xpad.c
1747
int error;
drivers/input/joystick/xpad.c
1758
error = xpad->pad_nr;
drivers/input/joystick/xpad.c
1770
error = led_classdev_register(&xpad->udev->dev, led_cdev);
drivers/input/joystick/xpad.c
1771
if (error)
drivers/input/joystick/xpad.c
1783
return error;
drivers/input/joystick/xpad.c
1803
int error;
drivers/input/joystick/xpad.c
1809
error = xpad_start_xbox_one(xpad);
drivers/input/joystick/xpad.c
1810
if (error) {
drivers/input/joystick/xpad.c
1812
return error;
drivers/input/joystick/xpad.c
1822
error = usb_control_msg_recv(xpad->udev, 0,
drivers/input/joystick/xpad.c
1831
if (error)
drivers/input/joystick/xpad.c
1834
error);
drivers/input/joystick/xpad.c
1874
int error;
drivers/input/joystick/xpad.c
1876
error = usb_submit_urb(xpad->irq_in, GFP_KERNEL);
drivers/input/joystick/xpad.c
1877
if (error)
drivers/input/joystick/xpad.c
1887
error = xpad_inquiry_pad_presence(xpad);
drivers/input/joystick/xpad.c
1888
if (error) {
drivers/input/joystick/xpad.c
1890
return error;
drivers/input/joystick/xpad.c
1961
int i, error;
drivers/input/joystick/xpad.c
2045
error = xpad_init_ff(xpad);
drivers/input/joystick/xpad.c
2046
if (error)
drivers/input/joystick/xpad.c
2049
error = xpad_led_probe(xpad);
drivers/input/joystick/xpad.c
2050
if (error)
drivers/input/joystick/xpad.c
2053
error = input_register_device(xpad->dev);
drivers/input/joystick/xpad.c
2054
if (error)
drivers/input/joystick/xpad.c
2066
return error;
drivers/input/joystick/xpad.c
2074
int i, error;
drivers/input/joystick/xpad.c
2095
error = -ENOMEM;
drivers/input/joystick/xpad.c
2101
error = -ENOMEM;
drivers/input/joystick/xpad.c
2143
error = -ENODEV;
drivers/input/joystick/xpad.c
2162
error = -ENODEV;
drivers/input/joystick/xpad.c
2166
error = xpad_init_output(intf, xpad, ep_irq_out);
drivers/input/joystick/xpad.c
2167
if (error)
drivers/input/joystick/xpad.c
2219
error = xpad360w_start_input(xpad);
drivers/input/joystick/xpad.c
2220
if (error)
drivers/input/joystick/xpad.c
2231
error = xpad_init_input(xpad);
drivers/input/joystick/xpad.c
2232
if (error)
drivers/input/joystick/xpad.c
2245
return error;
drivers/input/joystick/xpad.c
989
int error;
drivers/input/joystick/xpad.c
992
error = xpad_init_input(xpad);
drivers/input/joystick/xpad.c
993
if (error) {
drivers/input/joystick/xpad.c
996
"unable to init device: %d\n", error);
drivers/input/keyboard/adc-keys.c
110
int error;
drivers/input/keyboard/adc-keys.c
123
error = iio_get_channel_type(st->channel, &type);
drivers/input/keyboard/adc-keys.c
124
if (error < 0)
drivers/input/keyboard/adc-keys.c
125
return error;
drivers/input/keyboard/adc-keys.c
139
error = adc_keys_load_keymap(dev, st);
drivers/input/keyboard/adc-keys.c
140
if (error)
drivers/input/keyboard/adc-keys.c
141
return error;
drivers/input/keyboard/adc-keys.c
167
error = input_setup_polling(input, adc_keys_poll);
drivers/input/keyboard/adc-keys.c
168
if (error) {
drivers/input/keyboard/adc-keys.c
169
dev_err(dev, "Unable to set up polling: %d\n", error);
drivers/input/keyboard/adc-keys.c
170
return error;
drivers/input/keyboard/adc-keys.c
176
error = input_register_device(input);
drivers/input/keyboard/adc-keys.c
177
if (error) {
drivers/input/keyboard/adc-keys.c
178
dev_err(dev, "Unable to register input device: %d\n", error);
drivers/input/keyboard/adc-keys.c
179
return error;
drivers/input/keyboard/adp5585-keys.c
107
int error, n_pins;
drivers/input/keyboard/adp5585-keys.c
124
error = device_property_read_u32_array(dev, "adi,keypad-pins",
drivers/input/keyboard/adp5585-keys.c
126
if (error)
drivers/input/keyboard/adp5585-keys.c
127
return error;
drivers/input/keyboard/adp5585-keys.c
134
error = devm_add_action_or_reset(dev, adp5585_keys_pins_free, kpad);
drivers/input/keyboard/adp5585-keys.c
135
if (error)
drivers/input/keyboard/adp5585-keys.c
136
return error;
drivers/input/keyboard/adp5585-keys.c
172
error = matrix_keypad_build_keymap(NULL, NULL, rows, cols,
drivers/input/keyboard/adp5585-keys.c
174
if (error)
drivers/input/keyboard/adp5585-keys.c
175
return error;
drivers/input/keyboard/adp5585-keys.c
182
error = adp5585_keys_check_special_events(adp5585, kpad);
drivers/input/keyboard/adp5585-keys.c
183
if (error)
drivers/input/keyboard/adp5585-keys.c
184
return error;
drivers/input/keyboard/adp5585-keys.c
195
int error;
drivers/input/keyboard/adp5585-keys.c
206
error = regmap_write(adp5585->regmap, regs->pin_cfg_a + i,
drivers/input/keyboard/adp5585-keys.c
208
if (error)
drivers/input/keyboard/adp5585-keys.c
209
return error;
drivers/input/keyboard/adp5585-keys.c
275
int error;
drivers/input/keyboard/adp5585-keys.c
295
error = regmap_read(adp5585->regmap, ADP5585_ID, &revid);
drivers/input/keyboard/adp5585-keys.c
296
if (error)
drivers/input/keyboard/adp5585-keys.c
297
return dev_err_probe(dev, error, "Failed to read device ID\n");
drivers/input/keyboard/adp5585-keys.c
313
error = adp5585_keys_parse_fw(adp5585, kpad);
drivers/input/keyboard/adp5585-keys.c
314
if (error)
drivers/input/keyboard/adp5585-keys.c
315
return error;
drivers/input/keyboard/adp5585-keys.c
317
error = adp5585_keys_setup(adp5585, kpad);
drivers/input/keyboard/adp5585-keys.c
318
if (error)
drivers/input/keyboard/adp5585-keys.c
319
return error;
drivers/input/keyboard/adp5585-keys.c
322
error = blocking_notifier_chain_register(&adp5585->event_notifier,
drivers/input/keyboard/adp5585-keys.c
324
if (error)
drivers/input/keyboard/adp5585-keys.c
325
return error;
drivers/input/keyboard/adp5585-keys.c
327
error = devm_add_action_or_reset(dev, adp5585_keys_unreg_notifier, kpad);
drivers/input/keyboard/adp5585-keys.c
328
if (error)
drivers/input/keyboard/adp5585-keys.c
329
return error;
drivers/input/keyboard/adp5585-keys.c
331
error = input_register_device(kpad->input);
drivers/input/keyboard/adp5585-keys.c
332
if (error)
drivers/input/keyboard/adp5585-keys.c
333
return dev_err_probe(dev, error,
drivers/input/keyboard/adp5585-keys.c
76
int error;
drivers/input/keyboard/adp5585-keys.c
78
error = adp5585_keys_validate_events(kpad, adp5585->unlock_keys,
drivers/input/keyboard/adp5585-keys.c
80
if (error)
drivers/input/keyboard/adp5585-keys.c
81
return error;
drivers/input/keyboard/adp5585-keys.c
83
error = adp5585_keys_validate_events(kpad, adp5585->reset1_keys,
drivers/input/keyboard/adp5585-keys.c
85
if (error)
drivers/input/keyboard/adp5585-keys.c
86
return error;
drivers/input/keyboard/adp5588-keys.c
301
int error;
drivers/input/keyboard/adp5588-keys.c
312
error = adp5588_write(kpad->client, GPIO_DAT_OUT1 + bank,
drivers/input/keyboard/adp5588-keys.c
314
if (error)
drivers/input/keyboard/adp5588-keys.c
315
return error;
drivers/input/keyboard/adp5588-keys.c
317
error = adp5588_write(kpad->client, GPIO_DIR1 + bank, kpad->dir[bank]);
drivers/input/keyboard/adp5588-keys.c
318
if (error)
drivers/input/keyboard/adp5588-keys.c
319
return error;
drivers/input/keyboard/adp5588-keys.c
416
int i, error;
drivers/input/keyboard/adp5588-keys.c
450
error = devm_gpiochip_add_data(dev, &kpad->gc, kpad);
drivers/input/keyboard/adp5588-keys.c
451
if (error) {
drivers/input/keyboard/adp5588-keys.c
452
dev_err(dev, "gpiochip_add failed: %d\n", error);
drivers/input/keyboard/adp5588-keys.c
453
return error;
drivers/input/keyboard/adp5588-keys.c
729
int error;
drivers/input/keyboard/adp5588-keys.c
748
error = adp5588_fw_parse(kpad);
drivers/input/keyboard/adp5588-keys.c
749
if (error)
drivers/input/keyboard/adp5588-keys.c
750
return error;
drivers/input/keyboard/adp5588-keys.c
752
error = devm_regulator_get_enable(&client->dev, "vcc");
drivers/input/keyboard/adp5588-keys.c
753
if (error)
drivers/input/keyboard/adp5588-keys.c
754
return error;
drivers/input/keyboard/adp5588-keys.c
784
error = input_register_device(input);
drivers/input/keyboard/adp5588-keys.c
785
if (error) {
drivers/input/keyboard/adp5588-keys.c
787
error);
drivers/input/keyboard/adp5588-keys.c
788
return error;
drivers/input/keyboard/adp5588-keys.c
791
error = adp5588_setup(kpad);
drivers/input/keyboard/adp5588-keys.c
792
if (error)
drivers/input/keyboard/adp5588-keys.c
793
return error;
drivers/input/keyboard/adp5588-keys.c
795
error = adp5588_gpio_add(kpad);
drivers/input/keyboard/adp5588-keys.c
796
if (error)
drivers/input/keyboard/adp5588-keys.c
797
return error;
drivers/input/keyboard/adp5588-keys.c
800
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/keyboard/adp5588-keys.c
804
if (error) {
drivers/input/keyboard/adp5588-keys.c
806
client->irq, error);
drivers/input/keyboard/adp5588-keys.c
807
return error;
drivers/input/keyboard/atakbd.c
183
int i, error;
drivers/input/keyboard/atakbd.c
189
error = atari_keyb_init();
drivers/input/keyboard/atakbd.c
190
if (error)
drivers/input/keyboard/atakbd.c
191
return error;
drivers/input/keyboard/atakbd.c
214
error = input_register_device(atakbd_dev);
drivers/input/keyboard/atakbd.c
215
if (error) {
drivers/input/keyboard/atakbd.c
217
return error;
drivers/input/keyboard/atkbd.c
1362
int error;
drivers/input/keyboard/atkbd.c
1375
error = atkbd_probe(atkbd);
drivers/input/keyboard/atkbd.c
1376
if (error)
drivers/input/keyboard/atkbd.c
1377
return error;
drivers/input/keyboard/bcm-keypad.c
135
int error;
drivers/input/keyboard/bcm-keypad.c
138
error = clk_prepare_enable(kp->clk);
drivers/input/keyboard/bcm-keypad.c
139
if (error)
drivers/input/keyboard/bcm-keypad.c
140
return error;
drivers/input/keyboard/bcm-keypad.c
197
int error;
drivers/input/keyboard/bcm-keypad.c
205
error = matrix_keypad_parse_properties(dev, &kp->n_rows, &kp->n_cols);
drivers/input/keyboard/bcm-keypad.c
206
if (error) {
drivers/input/keyboard/bcm-keypad.c
208
return error;
drivers/input/keyboard/bcm-keypad.c
310
int error;
drivers/input/keyboard/bcm-keypad.c
343
error = bcm_kp_matrix_key_parse_dt(kp);
drivers/input/keyboard/bcm-keypad.c
344
if (error)
drivers/input/keyboard/bcm-keypad.c
345
return error;
drivers/input/keyboard/bcm-keypad.c
347
error = matrix_keypad_build_keymap(NULL, NULL,
drivers/input/keyboard/bcm-keypad.c
350
if (error) {
drivers/input/keyboard/bcm-keypad.c
352
return error;
drivers/input/keyboard/bcm-keypad.c
369
error = of_property_read_u32(pdev->dev.of_node,
drivers/input/keyboard/bcm-keypad.c
371
if (error < 0)
drivers/input/keyboard/bcm-keypad.c
378
error = clk_set_rate(kp->clk, actual_rate);
drivers/input/keyboard/bcm-keypad.c
379
if (error)
drivers/input/keyboard/bcm-keypad.c
380
return error;
drivers/input/keyboard/bcm-keypad.c
382
error = clk_prepare_enable(kp->clk);
drivers/input/keyboard/bcm-keypad.c
383
if (error)
drivers/input/keyboard/bcm-keypad.c
384
return error;
drivers/input/keyboard/bcm-keypad.c
394
error = devm_request_threaded_irq(&pdev->dev, kp->irq,
drivers/input/keyboard/bcm-keypad.c
397
if (error) {
drivers/input/keyboard/bcm-keypad.c
399
return error;
drivers/input/keyboard/bcm-keypad.c
402
error = input_register_device(input_dev);
drivers/input/keyboard/bcm-keypad.c
403
if (error) {
drivers/input/keyboard/bcm-keypad.c
405
return error;
drivers/input/keyboard/cap11xx.c
200
int i, error;
drivers/input/keyboard/cap11xx.c
215
error = regmap_update_bits(priv->regmap,
drivers/input/keyboard/cap11xx.c
219
if (error)
drivers/input/keyboard/cap11xx.c
220
return error;
drivers/input/keyboard/cap11xx.c
229
error = regmap_update_bits(priv->regmap,
drivers/input/keyboard/cap11xx.c
233
if (error)
drivers/input/keyboard/cap11xx.c
234
return error;
drivers/input/keyboard/cap11xx.c
251
error = regmap_update_bits(priv->regmap,
drivers/input/keyboard/cap11xx.c
255
if (error)
drivers/input/keyboard/cap11xx.c
256
return error;
drivers/input/keyboard/cap11xx.c
268
error = regmap_write(priv->regmap,
drivers/input/keyboard/cap11xx.c
271
if (error)
drivers/input/keyboard/cap11xx.c
272
return error;
drivers/input/keyboard/cap11xx.c
290
error = cap11xx_write_calib_sens_config_1(priv);
drivers/input/keyboard/cap11xx.c
291
if (error)
drivers/input/keyboard/cap11xx.c
292
return error;
drivers/input/keyboard/cap11xx.c
295
error = cap11xx_write_calib_sens_config_2(priv);
drivers/input/keyboard/cap11xx.c
296
if (error)
drivers/input/keyboard/cap11xx.c
297
return error;
drivers/input/keyboard/cap11xx.c
317
error = regmap_write(priv->regmap,
drivers/input/keyboard/cap11xx.c
320
if (error)
drivers/input/keyboard/cap11xx.c
321
return error;
drivers/input/keyboard/cap11xx.c
336
error = regmap_write(priv->regmap, CAP11XX_REG_REPEAT_RATE, 0);
drivers/input/keyboard/cap11xx.c
337
if (error)
drivers/input/keyboard/cap11xx.c
338
return error;
drivers/input/keyboard/cap11xx.c
422
int error;
drivers/input/keyboard/cap11xx.c
436
error = regmap_update_bits(priv->regmap,
drivers/input/keyboard/cap11xx.c
438
if (error)
drivers/input/keyboard/cap11xx.c
439
return error;
drivers/input/keyboard/cap11xx.c
441
error = regmap_update_bits(priv->regmap, CAP11XX_REG_LED_DUTY_CYCLE_4,
drivers/input/keyboard/cap11xx.c
445
if (error)
drivers/input/keyboard/cap11xx.c
446
return error;
drivers/input/keyboard/cap11xx.c
460
error = of_property_read_u32(child, "reg", ®);
drivers/input/keyboard/cap11xx.c
461
if (error != 0 || reg >= num_leds)
drivers/input/keyboard/cap11xx.c
467
error = devm_led_classdev_register(dev, &led->cdev);
drivers/input/keyboard/cap11xx.c
468
if (error)
drivers/input/keyboard/cap11xx.c
469
return error;
drivers/input/keyboard/cap11xx.c
491
int i, error;
drivers/input/keyboard/cap11xx.c
513
error = regmap_read(priv->regmap, CAP11XX_REG_PRODUCT_ID, &val);
drivers/input/keyboard/cap11xx.c
514
if (error)
drivers/input/keyboard/cap11xx.c
515
return error;
drivers/input/keyboard/cap11xx.c
523
error = regmap_read(priv->regmap, CAP11XX_REG_MANUFACTURER_ID, &val);
drivers/input/keyboard/cap11xx.c
524
if (error)
drivers/input/keyboard/cap11xx.c
525
return error;
drivers/input/keyboard/cap11xx.c
533
error = regmap_read(priv->regmap, CAP11XX_REG_REVISION, &rev);
drivers/input/keyboard/cap11xx.c
534
if (error < 0)
drivers/input/keyboard/cap11xx.c
535
return error;
drivers/input/keyboard/cap11xx.c
545
error = cap11xx_init_keys(priv);
drivers/input/keyboard/cap11xx.c
546
if (error)
drivers/input/keyboard/cap11xx.c
547
return error;
drivers/input/keyboard/cap11xx.c
576
error = cap11xx_init_leds(dev, priv, cap->num_leds);
drivers/input/keyboard/cap11xx.c
577
if (error)
drivers/input/keyboard/cap11xx.c
578
return error;
drivers/input/keyboard/cap11xx.c
588
error = input_register_device(priv->idev);
drivers/input/keyboard/cap11xx.c
589
if (error)
drivers/input/keyboard/cap11xx.c
590
return error;
drivers/input/keyboard/cap11xx.c
592
error = devm_request_threaded_irq(dev, i2c_client->irq,
drivers/input/keyboard/cap11xx.c
595
if (error)
drivers/input/keyboard/cap11xx.c
596
return error;
drivers/input/keyboard/cros_ec_keyb.c
547
int error;
drivers/input/keyboard/cros_ec_keyb.c
562
error = device_property_read_u32_array(ckdev->dev,
drivers/input/keyboard/cros_ec_keyb.c
565
if (error) {
drivers/input/keyboard/cros_ec_keyb.c
568
error);
drivers/input/keyboard/cypress-sf.c
110
error = device_property_read_u32_array(&client->dev, "linux,keycodes",
drivers/input/keyboard/cypress-sf.c
114
if (error) {
drivers/input/keyboard/cypress-sf.c
117
error);
drivers/input/keyboard/cypress-sf.c
124
error = regulator_bulk_enable(ARRAY_SIZE(touchkey->regulators),
drivers/input/keyboard/cypress-sf.c
126
if (error) {
drivers/input/keyboard/cypress-sf.c
128
"Failed to enable regulators: %d\n", error);
drivers/input/keyboard/cypress-sf.c
129
return error;
drivers/input/keyboard/cypress-sf.c
132
error = devm_add_action_or_reset(&client->dev,
drivers/input/keyboard/cypress-sf.c
135
if (error)
drivers/input/keyboard/cypress-sf.c
136
return error;
drivers/input/keyboard/cypress-sf.c
151
error = input_register_device(touchkey->input_dev);
drivers/input/keyboard/cypress-sf.c
152
if (error) {
drivers/input/keyboard/cypress-sf.c
154
"Failed to register input device: %d\n", error);
drivers/input/keyboard/cypress-sf.c
155
return error;
drivers/input/keyboard/cypress-sf.c
158
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/keyboard/cypress-sf.c
162
if (error) {
drivers/input/keyboard/cypress-sf.c
164
"Failed to register threaded irq: %d", error);
drivers/input/keyboard/cypress-sf.c
165
return error;
drivers/input/keyboard/cypress-sf.c
175
int error;
drivers/input/keyboard/cypress-sf.c
179
error = regulator_bulk_disable(ARRAY_SIZE(touchkey->regulators),
drivers/input/keyboard/cypress-sf.c
181
if (error) {
drivers/input/keyboard/cypress-sf.c
182
dev_err(dev, "Failed to disable regulators: %d", error);
drivers/input/keyboard/cypress-sf.c
184
return error;
drivers/input/keyboard/cypress-sf.c
194
int error;
drivers/input/keyboard/cypress-sf.c
196
error = regulator_bulk_enable(ARRAY_SIZE(touchkey->regulators),
drivers/input/keyboard/cypress-sf.c
198
if (error) {
drivers/input/keyboard/cypress-sf.c
199
dev_err(dev, "Failed to enable regulators: %d", error);
drivers/input/keyboard/cypress-sf.c
200
return error;
drivers/input/keyboard/cypress-sf.c
75
int key, error;
drivers/input/keyboard/cypress-sf.c
87
error = devm_regulator_bulk_get(&client->dev,
drivers/input/keyboard/cypress-sf.c
90
if (error) {
drivers/input/keyboard/cypress-sf.c
91
dev_err(&client->dev, "Failed to get regulators: %d\n", error);
drivers/input/keyboard/cypress-sf.c
92
return error;
drivers/input/keyboard/goldfish_events.c
111
int error;
drivers/input/keyboard/goldfish_events.c
162
error = devm_request_irq(&pdev->dev, edev->irq, events_interrupt, 0,
drivers/input/keyboard/goldfish_events.c
164
if (error)
drivers/input/keyboard/goldfish_events.c
165
return error;
drivers/input/keyboard/goldfish_events.c
167
error = input_register_device(input_dev);
drivers/input/keyboard/goldfish_events.c
168
if (error)
drivers/input/keyboard/goldfish_events.c
169
return error;
drivers/input/keyboard/gpio_keys.c
1002
bdata->irq, error);
drivers/input/keyboard/gpio_keys.c
1009
int error;
drivers/input/keyboard/gpio_keys.c
1015
error = gpio_keys_button_enable_wakeup(bdata);
drivers/input/keyboard/gpio_keys.c
1016
if (error)
drivers/input/keyboard/gpio_keys.c
1032
return error;
drivers/input/keyboard/gpio_keys.c
1053
int error;
drivers/input/keyboard/gpio_keys.c
1056
error = gpio_keys_enable_wakeup(ddata);
drivers/input/keyboard/gpio_keys.c
1057
if (error)
drivers/input/keyboard/gpio_keys.c
1058
return error;
drivers/input/keyboard/gpio_keys.c
1073
int error;
drivers/input/keyboard/gpio_keys.c
1081
error = gpio_keys_open(input);
drivers/input/keyboard/gpio_keys.c
1082
if (error)
drivers/input/keyboard/gpio_keys.c
1083
return error;
drivers/input/keyboard/gpio_keys.c
248
ssize_t error;
drivers/input/keyboard/gpio_keys.c
255
error = bitmap_parselist(buf, bits, n_events);
drivers/input/keyboard/gpio_keys.c
256
if (error)
drivers/input/keyboard/gpio_keys.c
257
return error;
drivers/input/keyboard/gpio_keys.c
326
ssize_t error; \
drivers/input/keyboard/gpio_keys.c
328
error = gpio_keys_attr_store_helper(ddata, buf, type); \
drivers/input/keyboard/gpio_keys.c
329
if (error) \
drivers/input/keyboard/gpio_keys.c
330
return error; \
drivers/input/keyboard/gpio_keys.c
510
int error;
drivers/input/keyboard/gpio_keys.c
520
error = PTR_ERR(bdata->gpiod);
drivers/input/keyboard/gpio_keys.c
521
if (error != -ENOENT)
drivers/input/keyboard/gpio_keys.c
522
return dev_err_probe(dev, error,
drivers/input/keyboard/gpio_keys.c
536
error = devm_gpio_request_one(dev, button->gpio, GPIOF_IN, desc);
drivers/input/keyboard/gpio_keys.c
537
if (error < 0) {
drivers/input/keyboard/gpio_keys.c
539
button->gpio, error);
drivers/input/keyboard/gpio_keys.c
540
return error;
drivers/input/keyboard/gpio_keys.c
555
error = gpiod_set_debounce(bdata->gpiod,
drivers/input/keyboard/gpio_keys.c
558
if (error < 0)
drivers/input/keyboard/gpio_keys.c
584
error = irq;
drivers/input/keyboard/gpio_keys.c
585
dev_err_probe(dev, error,
drivers/input/keyboard/gpio_keys.c
588
return error;
drivers/input/keyboard/gpio_keys.c
624
error = irq;
drivers/input/keyboard/gpio_keys.c
625
return dev_err_probe(dev, error,
drivers/input/keyboard/gpio_keys.c
659
error = devm_add_action(dev, gpio_keys_quiesce_key, bdata);
drivers/input/keyboard/gpio_keys.c
660
if (error) {
drivers/input/keyboard/gpio_keys.c
662
error);
drivers/input/keyboard/gpio_keys.c
663
return error;
drivers/input/keyboard/gpio_keys.c
673
error = devm_request_any_context_irq(dev, bdata->irq, isr, irqflags,
drivers/input/keyboard/gpio_keys.c
675
if (error < 0) {
drivers/input/keyboard/gpio_keys.c
677
bdata->irq, error);
drivers/input/keyboard/gpio_keys.c
678
return error;
drivers/input/keyboard/gpio_keys.c
697
error = devm_request_any_context_irq(dev, bdata->wakeirq, isr,
drivers/input/keyboard/gpio_keys.c
699
if (error < 0) {
drivers/input/keyboard/gpio_keys.c
701
bdata->irq, error);
drivers/input/keyboard/gpio_keys.c
702
return error;
drivers/input/keyboard/gpio_keys.c
731
int error;
drivers/input/keyboard/gpio_keys.c
734
error = pdata->enable(input->dev.parent);
drivers/input/keyboard/gpio_keys.c
735
if (error)
drivers/input/keyboard/gpio_keys.c
736
return error;
drivers/input/keyboard/gpio_keys.c
851
int i, error;
drivers/input/keyboard/gpio_keys.c
918
error = gpio_keys_setup_key(pdev, input, ddata,
drivers/input/keyboard/gpio_keys.c
920
if (error) {
drivers/input/keyboard/gpio_keys.c
922
return error;
drivers/input/keyboard/gpio_keys.c
931
error = input_register_device(input);
drivers/input/keyboard/gpio_keys.c
932
if (error) {
drivers/input/keyboard/gpio_keys.c
934
error);
drivers/input/keyboard/gpio_keys.c
935
return error;
drivers/input/keyboard/gpio_keys.c
946
int error;
drivers/input/keyboard/gpio_keys.c
948
error = enable_irq_wake(bdata->irq);
drivers/input/keyboard/gpio_keys.c
949
if (error) {
drivers/input/keyboard/gpio_keys.c
952
bdata->irq, error);
drivers/input/keyboard/gpio_keys.c
953
return error;
drivers/input/keyboard/gpio_keys.c
957
error = irq_set_irq_type(bdata->irq,
drivers/input/keyboard/gpio_keys.c
959
if (error) {
drivers/input/keyboard/gpio_keys.c
962
bdata->wakeup_trigger_type, bdata->irq, error);
drivers/input/keyboard/gpio_keys.c
964
return error;
drivers/input/keyboard/gpio_keys.c
979
int error;
drivers/input/keyboard/gpio_keys.c
991
error = irq_set_irq_type(bdata->irq, IRQ_TYPE_EDGE_BOTH);
drivers/input/keyboard/gpio_keys.c
992
if (error)
drivers/input/keyboard/gpio_keys.c
995
bdata->irq, error);
drivers/input/keyboard/gpio_keys.c
998
error = disable_irq_wake(bdata->irq);
drivers/input/keyboard/gpio_keys.c
999
if (error)
drivers/input/keyboard/gpio_keys_polled.c
233
int error;
drivers/input/keyboard/gpio_keys_polled.c
309
error = devm_gpio_request_one(dev, button->gpio, GPIOF_IN,
drivers/input/keyboard/gpio_keys_polled.c
311
if (error)
drivers/input/keyboard/gpio_keys_polled.c
312
return dev_err_probe(dev, error,
drivers/input/keyboard/gpio_keys_polled.c
344
error = input_setup_polling(input, gpio_keys_polled_poll);
drivers/input/keyboard/gpio_keys_polled.c
345
if (error) {
drivers/input/keyboard/gpio_keys_polled.c
346
dev_err(dev, "unable to set up polling, err=%d\n", error);
drivers/input/keyboard/gpio_keys_polled.c
347
return error;
drivers/input/keyboard/gpio_keys_polled.c
352
error = input_register_device(input);
drivers/input/keyboard/gpio_keys_polled.c
353
if (error) {
drivers/input/keyboard/gpio_keys_polled.c
355
error);
drivers/input/keyboard/gpio_keys_polled.c
356
return error;
drivers/input/keyboard/hil_kbd.c
448
int error;
drivers/input/keyboard/hil_kbd.c
453
error = -ENOMEM;
drivers/input/keyboard/hil_kbd.c
460
error = serio_open(serio, drv);
drivers/input/keyboard/hil_kbd.c
461
if (error)
drivers/input/keyboard/hil_kbd.c
472
error = wait_for_completion_killable(&dev->cmd_done);
drivers/input/keyboard/hil_kbd.c
473
if (error)
drivers/input/keyboard/hil_kbd.c
481
error = wait_for_completion_killable(&dev->cmd_done);
drivers/input/keyboard/hil_kbd.c
482
if (error)
drivers/input/keyboard/hil_kbd.c
490
error = wait_for_completion_killable(&dev->cmd_done);
drivers/input/keyboard/hil_kbd.c
491
if (error)
drivers/input/keyboard/hil_kbd.c
499
error = wait_for_completion_killable(&dev->cmd_done);
drivers/input/keyboard/hil_kbd.c
500
if (error)
drivers/input/keyboard/hil_kbd.c
515
error = -EINVAL;
drivers/input/keyboard/hil_kbd.c
548
error = input_register_device(input_dev);
drivers/input/keyboard/hil_kbd.c
549
if (error)
drivers/input/keyboard/hil_kbd.c
560
return error;
drivers/input/keyboard/hilkbd.c
353
int error;
drivers/input/keyboard/hilkbd.c
372
error = hil_keyb_init();
drivers/input/keyboard/hilkbd.c
373
if (error) {
drivers/input/keyboard/hilkbd.c
375
return error;
drivers/input/keyboard/imx_keypad.c
385
int error;
drivers/input/keyboard/imx_keypad.c
390
error = clk_prepare_enable(keypad->clk);
drivers/input/keyboard/imx_keypad.c
391
if (error)
drivers/input/keyboard/imx_keypad.c
392
return error;
drivers/input/keyboard/imx_keypad.c
423
int irq, error, i, row, col;
drivers/input/keyboard/imx_keypad.c
465
error = matrix_keypad_build_keymap(NULL, NULL,
drivers/input/keyboard/imx_keypad.c
469
if (error) {
drivers/input/keyboard/imx_keypad.c
471
return error;
drivers/input/keyboard/imx_keypad.c
492
error = clk_prepare_enable(keypad->clk);
drivers/input/keyboard/imx_keypad.c
493
if (error)
drivers/input/keyboard/imx_keypad.c
494
return error;
drivers/input/keyboard/imx_keypad.c
498
error = devm_request_irq(&pdev->dev, irq, imx_keypad_irq_handler, 0,
drivers/input/keyboard/imx_keypad.c
500
if (error) {
drivers/input/keyboard/imx_keypad.c
502
return error;
drivers/input/keyboard/imx_keypad.c
506
error = input_register_device(input_dev);
drivers/input/keyboard/imx_keypad.c
507
if (error) {
drivers/input/keyboard/imx_keypad.c
509
return error;
drivers/input/keyboard/imx_keypad.c
549
int error;
drivers/input/keyboard/imx_keypad.c
557
error = clk_prepare_enable(kbd->clk);
drivers/input/keyboard/imx_keypad.c
558
if (error)
drivers/input/keyboard/imx_keypad.c
559
return error;
drivers/input/keyboard/imx_sc_key.c
115
int error;
drivers/input/keyboard/imx_sc_key.c
121
error = imx_scu_get_handle(&priv->key_ipc_handle);
drivers/input/keyboard/imx_sc_key.c
122
if (error)
drivers/input/keyboard/imx_sc_key.c
123
return error;
drivers/input/keyboard/imx_sc_key.c
145
error = input_register_device(input);
drivers/input/keyboard/imx_sc_key.c
146
if (error) {
drivers/input/keyboard/imx_sc_key.c
148
return error;
drivers/input/keyboard/imx_sc_key.c
154
error = imx_scu_irq_group_enable(SC_IRQ_GROUP_WAKE, SC_IRQ_BUTTON,
drivers/input/keyboard/imx_sc_key.c
156
if (error) {
drivers/input/keyboard/imx_sc_key.c
158
return error;
drivers/input/keyboard/imx_sc_key.c
161
error = devm_add_action_or_reset(&pdev->dev, imx_sc_key_action, priv);
drivers/input/keyboard/imx_sc_key.c
162
if (error)
drivers/input/keyboard/imx_sc_key.c
163
return error;
drivers/input/keyboard/imx_sc_key.c
166
error = imx_scu_irq_register_notifier(&priv->key_notifier);
drivers/input/keyboard/imx_sc_key.c
167
if (error)
drivers/input/keyboard/imx_sc_key.c
170
return error;
drivers/input/keyboard/imx_sc_key.c
68
int error;
drivers/input/keyboard/imx_sc_key.c
75
error = imx_scu_call_rpc(priv->key_ipc_handle, &msg, true);
drivers/input/keyboard/imx_sc_key.c
76
if (error) {
drivers/input/keyboard/imx_sc_key.c
77
dev_err(&input->dev, "read imx sc key failed, error %d\n", error);
drivers/input/keyboard/ipaq-micro-keys.c
121
error = input_register_device(keys->input);
drivers/input/keyboard/ipaq-micro-keys.c
122
if (error)
drivers/input/keyboard/ipaq-micro-keys.c
123
return error;
drivers/input/keyboard/ipaq-micro-keys.c
90
int error;
drivers/input/keyboard/jornada680_kbd.c
182
int i, error;
drivers/input/keyboard/jornada680_kbd.c
216
error = input_setup_polling(input_dev, jornadakbd680_poll);
drivers/input/keyboard/jornada680_kbd.c
217
if (error) {
drivers/input/keyboard/jornada680_kbd.c
219
return error;
drivers/input/keyboard/jornada680_kbd.c
224
error = input_register_device(input_dev);
drivers/input/keyboard/jornada680_kbd.c
225
if (error) {
drivers/input/keyboard/jornada680_kbd.c
227
return error;
drivers/input/keyboard/lm8323.c
300
u8 error;
drivers/input/keyboard/lm8323.c
302
if (lm8323_read(lm, LM8323_CMD_READ_ERR, &error, 1) == 1) {
drivers/input/keyboard/lm8323.c
303
if (error & ERR_FIFOOVER)
drivers/input/keyboard/lm8323.c
305
if (error & ERR_KEYOVR)
drivers/input/keyboard/lm8323.c
308
if (error & ERR_CMDUNK)
drivers/input/keyboard/lm8323.c
311
if (error & ERR_BADPAR)
drivers/input/keyboard/lpc32xx-keys.c
111
int error;
drivers/input/keyboard/lpc32xx-keys.c
113
error = clk_prepare_enable(kscandat->clk);
drivers/input/keyboard/lpc32xx-keys.c
114
if (error)
drivers/input/keyboard/lpc32xx-keys.c
115
return error;
drivers/input/keyboard/lpc32xx-keys.c
163
int error;
drivers/input/keyboard/lpc32xx-keys.c
175
error = lpc32xx_parse_dt(&pdev->dev, kscandat);
drivers/input/keyboard/lpc32xx-keys.c
176
if (error) {
drivers/input/keyboard/lpc32xx-keys.c
178
return error;
drivers/input/keyboard/lpc32xx-keys.c
205
error = matrix_keypad_build_keymap(NULL, NULL,
drivers/input/keyboard/lpc32xx-keys.c
209
if (error) {
drivers/input/keyboard/lpc32xx-keys.c
211
return error;
drivers/input/keyboard/lpc32xx-keys.c
228
error = clk_prepare_enable(kscandat->clk);
drivers/input/keyboard/lpc32xx-keys.c
229
if (error)
drivers/input/keyboard/lpc32xx-keys.c
230
return error;
drivers/input/keyboard/lpc32xx-keys.c
241
error = devm_request_irq(&pdev->dev, irq, lpc32xx_kscan_irq, 0,
drivers/input/keyboard/lpc32xx-keys.c
243
if (error) {
drivers/input/keyboard/lpc32xx-keys.c
245
return error;
drivers/input/keyboard/lpc32xx-keys.c
248
error = input_register_device(kscandat->input);
drivers/input/keyboard/lpc32xx-keys.c
249
if (error) {
drivers/input/keyboard/lpc32xx-keys.c
251
return error;
drivers/input/keyboard/lpc32xx-keys.c
281
int error;
drivers/input/keyboard/lpc32xx-keys.c
287
error = clk_prepare_enable(kscandat->clk);
drivers/input/keyboard/lpc32xx-keys.c
288
if (error)
drivers/input/keyboard/lpc32xx-keys.c
289
return error;
drivers/input/keyboard/maple_keyb.c
147
int i, error;
drivers/input/keyboard/maple_keyb.c
156
error = -ENOMEM;
drivers/input/keyboard/maple_keyb.c
162
error = -ENOMEM;
drivers/input/keyboard/maple_keyb.c
183
error = input_register_device(idev);
drivers/input/keyboard/maple_keyb.c
184
if (error)
drivers/input/keyboard/maple_keyb.c
195
return error;
drivers/input/keyboard/maple_keyb.c
203
return error;
drivers/input/keyboard/max7359_keypad.c
165
int error;
drivers/input/keyboard/max7359_keypad.c
211
error = matrix_keypad_build_keymap(keymap_data, NULL,
drivers/input/keyboard/max7359_keypad.c
216
if (error) {
drivers/input/keyboard/max7359_keypad.c
218
return error;
drivers/input/keyboard/max7359_keypad.c
221
error = devm_request_threaded_irq(&client->dev, client->irq, NULL,
drivers/input/keyboard/max7359_keypad.c
225
if (error) {
drivers/input/keyboard/max7359_keypad.c
227
return error;
drivers/input/keyboard/max7359_keypad.c
231
error = input_register_device(input_dev);
drivers/input/keyboard/max7359_keypad.c
232
if (error) {
drivers/input/keyboard/max7359_keypad.c
234
return error;
drivers/input/keyboard/max7360-keypad.c
103
int error;
drivers/input/keyboard/max7360-keypad.c
106
error = regmap_write_bits(max7360_keypad->regmap, MAX7360_REG_CONFIG, MAX7360_CFG_SLEEP, 0);
drivers/input/keyboard/max7360-keypad.c
107
if (error)
drivers/input/keyboard/max7360-keypad.c
108
dev_err(dev, "Failed to write max7360 configuration: %d\n", error);
drivers/input/keyboard/max7360-keypad.c
115
int error;
drivers/input/keyboard/max7360-keypad.c
118
error = regmap_write_bits(max7360_keypad->regmap, MAX7360_REG_DEBOUNCE,
drivers/input/keyboard/max7360-keypad.c
121
if (error)
drivers/input/keyboard/max7360-keypad.c
122
return dev_err_probe(dev, error,
drivers/input/keyboard/max7360-keypad.c
125
error = regmap_write_bits(max7360_keypad->regmap, MAX7360_REG_INTERRUPT,
drivers/input/keyboard/max7360-keypad.c
128
if (error)
drivers/input/keyboard/max7360-keypad.c
129
return dev_err_probe(dev, error,
drivers/input/keyboard/max7360-keypad.c
142
int error;
drivers/input/keyboard/max7360-keypad.c
161
error = device_property_read_u32_array(dev, propname, keys, size);
drivers/input/keyboard/max7360-keypad.c
162
if (error) {
drivers/input/keyboard/max7360-keypad.c
163
dev_err(dev, "failed to read %s property: %d\n", propname, error);
drivers/input/keyboard/max7360-keypad.c
164
return error;
drivers/input/keyboard/max7360-keypad.c
169
error = matrix_keypad_build_keymap(&keymap_data, NULL,
drivers/input/keyboard/max7360-keypad.c
172
if (error)
drivers/input/keyboard/max7360-keypad.c
173
return error;
drivers/input/keyboard/max7360-keypad.c
182
int error;
drivers/input/keyboard/max7360-keypad.c
184
error = matrix_keypad_parse_properties(dev->parent, &max7360_keypad->rows,
drivers/input/keyboard/max7360-keypad.c
186
if (error)
drivers/input/keyboard/max7360-keypad.c
187
return error;
drivers/input/keyboard/max7360-keypad.c
200
error = device_property_read_u32(dev->parent, "keypad-debounce-delay-ms",
drivers/input/keyboard/max7360-keypad.c
202
if (error == -EINVAL) {
drivers/input/keyboard/max7360-keypad.c
205
} else if (error < 0) {
drivers/input/keyboard/max7360-keypad.c
207
return error;
drivers/input/keyboard/max7360-keypad.c
227
int error;
drivers/input/keyboard/max7360-keypad.c
244
error = max7360_keypad_parse_fw(dev, max7360_keypad, &autorepeat);
drivers/input/keyboard/max7360-keypad.c
245
if (error)
drivers/input/keyboard/max7360-keypad.c
246
return error;
drivers/input/keyboard/max7360-keypad.c
259
error = max7360_keypad_build_keymap(max7360_keypad);
drivers/input/keyboard/max7360-keypad.c
260
if (error)
drivers/input/keyboard/max7360-keypad.c
261
return dev_err_probe(dev, error, "Failed to build keymap\n");
drivers/input/keyboard/max7360-keypad.c
269
error = devm_request_threaded_irq(dev, irq, NULL, max7360_keypad_irq,
drivers/input/keyboard/max7360-keypad.c
272
if (error)
drivers/input/keyboard/max7360-keypad.c
273
return dev_err_probe(dev, error, "Failed to register interrupt\n");
drivers/input/keyboard/max7360-keypad.c
275
error = input_register_device(input);
drivers/input/keyboard/max7360-keypad.c
276
if (error)
drivers/input/keyboard/max7360-keypad.c
277
return dev_err_probe(dev, error, "Could not register input device\n");
drivers/input/keyboard/max7360-keypad.c
279
error = max7360_keypad_hw_init(max7360_keypad);
drivers/input/keyboard/max7360-keypad.c
280
if (error)
drivers/input/keyboard/max7360-keypad.c
281
return dev_err_probe(dev, error, "Failed to initialize max7360 keypad\n");
drivers/input/keyboard/max7360-keypad.c
284
error = dev_pm_set_wake_irq(dev, irq);
drivers/input/keyboard/max7360-keypad.c
285
if (error)
drivers/input/keyboard/max7360-keypad.c
286
dev_warn(dev, "Failed to set up wakeup irq: %d\n", error);
drivers/input/keyboard/max7360-keypad.c
44
int error;
drivers/input/keyboard/max7360-keypad.c
46
error = regmap_read(max7360_keypad->regmap, MAX7360_REG_KEYFIFO, &val);
drivers/input/keyboard/max7360-keypad.c
47
if (error) {
drivers/input/keyboard/max7360-keypad.c
55
error = regmap_read_poll_timeout(max7360_keypad->regmap, MAX7360_REG_KEYFIFO,
drivers/input/keyboard/max7360-keypad.c
57
if (error) {
drivers/input/keyboard/max7360-keypad.c
88
int error;
drivers/input/keyboard/max7360-keypad.c
91
error = regmap_write_bits(max7360_keypad->regmap, MAX7360_REG_CONFIG,
drivers/input/keyboard/max7360-keypad.c
93
if (error)
drivers/input/keyboard/max7360-keypad.c
94
dev_err(dev, "Failed to write max7360 configuration: %d\n", error);
drivers/input/keyboard/max7360-keypad.c
96
return error;
drivers/input/keyboard/mpr121_touchkey.c
204
int error;
drivers/input/keyboard/mpr121_touchkey.c
227
error = device_property_read_u32_array(dev, "linux,keycodes",
drivers/input/keyboard/mpr121_touchkey.c
230
if (error) {
drivers/input/keyboard/mpr121_touchkey.c
232
"failed to read linux,keycode property: %d\n", error);
drivers/input/keyboard/mpr121_touchkey.c
233
return error;
drivers/input/keyboard/mpr121_touchkey.c
251
error = mpr121_phys_init(mpr121, client, vdd_uv);
drivers/input/keyboard/mpr121_touchkey.c
252
if (error) {
drivers/input/keyboard/mpr121_touchkey.c
254
return error;
drivers/input/keyboard/mpr121_touchkey.c
260
error = devm_request_threaded_irq(dev, client->irq, NULL,
drivers/input/keyboard/mpr121_touchkey.c
265
if (error) {
drivers/input/keyboard/mpr121_touchkey.c
267
return error;
drivers/input/keyboard/mpr121_touchkey.c
276
error = input_setup_polling(input_dev, mpr_touchkey_report);
drivers/input/keyboard/mpr121_touchkey.c
277
if (error) {
drivers/input/keyboard/mpr121_touchkey.c
279
return error;
drivers/input/keyboard/mpr121_touchkey.c
293
error = input_register_device(input_dev);
drivers/input/keyboard/mpr121_touchkey.c
294
if (error)
drivers/input/keyboard/mpr121_touchkey.c
295
return error;
drivers/input/keyboard/mt6779-keypad.c
119
int error;
drivers/input/keyboard/mt6779-keypad.c
148
error = matrix_keypad_parse_properties(&pdev->dev, &keypad->n_rows,
drivers/input/keyboard/mt6779-keypad.c
150
if (error) {
drivers/input/keyboard/mt6779-keypad.c
152
return error;
drivers/input/keyboard/mt6779-keypad.c
188
error = matrix_keypad_build_keymap(NULL, NULL,
drivers/input/keyboard/mt6779-keypad.c
191
if (error) {
drivers/input/keyboard/mt6779-keypad.c
193
return error;
drivers/input/keyboard/mt6779-keypad.c
219
error = devm_request_threaded_irq(&pdev->dev, irq,
drivers/input/keyboard/mt6779-keypad.c
222
if (error) {
drivers/input/keyboard/mt6779-keypad.c
224
irq, error);
drivers/input/keyboard/mt6779-keypad.c
225
return error;
drivers/input/keyboard/mt6779-keypad.c
228
error = input_register_device(keypad->input_dev);
drivers/input/keyboard/mt6779-keypad.c
229
if (error) {
drivers/input/keyboard/mt6779-keypad.c
231
return error;
drivers/input/keyboard/mt6779-keypad.c
234
error = device_init_wakeup(&pdev->dev, wakeup);
drivers/input/keyboard/mt6779-keypad.c
235
if (error)
drivers/input/keyboard/mt6779-keypad.c
237
error);
drivers/input/keyboard/mtk-pmic-keys.c
165
int error;
drivers/input/keyboard/mtk-pmic-keys.c
170
error = of_property_read_u32(keys->dev->of_node, "power-off-time-sec",
drivers/input/keyboard/mtk-pmic-keys.c
172
if (error)
drivers/input/keyboard/mtk-pmic-keys.c
178
error = of_property_read_u32(keys->dev->of_node,
drivers/input/keyboard/mtk-pmic-keys.c
181
if (error)
drivers/input/keyboard/mtk-pmic-keys.c
327
int error, index = 0;
drivers/input/keyboard/mtk-pmic-keys.c
382
error = of_property_read_u32(child,
drivers/input/keyboard/mtk-pmic-keys.c
384
if (error) {
drivers/input/keyboard/mtk-pmic-keys.c
387
index, error);
drivers/input/keyboard/mtk-pmic-keys.c
388
return error;
drivers/input/keyboard/mtk-pmic-keys.c
394
error = mtk_pmic_key_setup(keys, &keys->keys[index]);
drivers/input/keyboard/mtk-pmic-keys.c
395
if (error)
drivers/input/keyboard/mtk-pmic-keys.c
396
return error;
drivers/input/keyboard/mtk-pmic-keys.c
401
error = input_register_device(input_dev);
drivers/input/keyboard/mtk-pmic-keys.c
402
if (error) {
drivers/input/keyboard/mtk-pmic-keys.c
404
"register input device failed (%d)\n", error);
drivers/input/keyboard/mtk-pmic-keys.c
405
return error;
drivers/input/keyboard/nspire-keypad.c
100
int error;
drivers/input/keyboard/nspire-keypad.c
102
error = clk_prepare_enable(keypad->clk);
drivers/input/keyboard/nspire-keypad.c
103
if (error)
drivers/input/keyboard/nspire-keypad.c
104
return error;
drivers/input/keyboard/nspire-keypad.c
152
int error;
drivers/input/keyboard/nspire-keypad.c
167
error = of_property_read_u32(of_node, "scan-interval",
drivers/input/keyboard/nspire-keypad.c
169
if (error) {
drivers/input/keyboard/nspire-keypad.c
171
return error;
drivers/input/keyboard/nspire-keypad.c
174
error = of_property_read_u32(of_node, "row-delay",
drivers/input/keyboard/nspire-keypad.c
176
if (error) {
drivers/input/keyboard/nspire-keypad.c
178
return error;
drivers/input/keyboard/nspire-keypad.c
199
error = clk_prepare_enable(keypad->clk);
drivers/input/keyboard/nspire-keypad.c
200
if (error) {
drivers/input/keyboard/nspire-keypad.c
202
return error;
drivers/input/keyboard/nspire-keypad.c
229
error = matrix_keypad_build_keymap(NULL, NULL,
drivers/input/keyboard/nspire-keypad.c
233
if (error) {
drivers/input/keyboard/nspire-keypad.c
235
return error;
drivers/input/keyboard/nspire-keypad.c
238
error = devm_request_irq(&pdev->dev, irq, nspire_keypad_irq, 0,
drivers/input/keyboard/nspire-keypad.c
240
if (error) {
drivers/input/keyboard/nspire-keypad.c
242
return error;
drivers/input/keyboard/nspire-keypad.c
245
error = input_register_device(input);
drivers/input/keyboard/nspire-keypad.c
246
if (error) {
drivers/input/keyboard/nspire-keypad.c
248
"unable to register input device: %d\n", error);
drivers/input/keyboard/nspire-keypad.c
249
return error;
drivers/input/keyboard/omap4-keypad.c
179
int error;
drivers/input/keyboard/omap4-keypad.c
182
error = pm_runtime_resume_and_get(dev);
drivers/input/keyboard/omap4-keypad.c
183
if (error)
drivers/input/keyboard/omap4-keypad.c
205
int error;
drivers/input/keyboard/omap4-keypad.c
207
error = pm_runtime_resume_and_get(dev);
drivers/input/keyboard/omap4-keypad.c
208
if (error)
drivers/input/keyboard/omap4-keypad.c
209
return error;
drivers/input/keyboard/omap4-keypad.c
211
error = clk_prepare_enable(keypad_data->fck);
drivers/input/keyboard/omap4-keypad.c
212
if (error)
drivers/input/keyboard/omap4-keypad.c
235
return error;
drivers/input/keyboard/omap4-keypad.c
254
int error;
drivers/input/keyboard/omap4-keypad.c
256
error = pm_runtime_resume_and_get(dev);
drivers/input/keyboard/omap4-keypad.c
257
if (error)
drivers/input/keyboard/omap4-keypad.c
259
__func__, error);
drivers/input/keyboard/omap4-keypad.c
349
int error;
drivers/input/keyboard/omap4-keypad.c
370
error = omap4_keypad_parse_dt(dev, keypad_data);
drivers/input/keyboard/omap4-keypad.c
371
if (error)
drivers/input/keyboard/omap4-keypad.c
372
return error;
drivers/input/keyboard/omap4-keypad.c
382
error = devm_add_action_or_reset(dev, omap4_disable_pm, dev);
drivers/input/keyboard/omap4-keypad.c
383
if (error) {
drivers/input/keyboard/omap4-keypad.c
385
return error;
drivers/input/keyboard/omap4-keypad.c
392
error = pm_runtime_resume_and_get(dev);
drivers/input/keyboard/omap4-keypad.c
393
if (error) {
drivers/input/keyboard/omap4-keypad.c
395
return error;
drivers/input/keyboard/omap4-keypad.c
398
error = omap4_keypad_check_revision(dev, keypad_data);
drivers/input/keyboard/omap4-keypad.c
399
if (!error) {
drivers/input/keyboard/omap4-keypad.c
405
if (error)
drivers/input/keyboard/omap4-keypad.c
406
return error;
drivers/input/keyboard/omap4-keypad.c
439
error = matrix_keypad_build_keymap(NULL, NULL,
drivers/input/keyboard/omap4-keypad.c
442
if (error) {
drivers/input/keyboard/omap4-keypad.c
444
return error;
drivers/input/keyboard/omap4-keypad.c
447
error = devm_request_threaded_irq(dev, keypad_data->irq,
drivers/input/keyboard/omap4-keypad.c
452
if (error) {
drivers/input/keyboard/omap4-keypad.c
454
return error;
drivers/input/keyboard/omap4-keypad.c
457
error = input_register_device(keypad_data->input);
drivers/input/keyboard/omap4-keypad.c
458
if (error) {
drivers/input/keyboard/omap4-keypad.c
460
return error;
drivers/input/keyboard/omap4-keypad.c
464
error = dev_pm_set_wake_irq(dev, keypad_data->irq);
drivers/input/keyboard/omap4-keypad.c
465
if (error)
drivers/input/keyboard/omap4-keypad.c
466
dev_warn(dev, "failed to set up wakeup irq: %d\n", error);
drivers/input/keyboard/opencores-kbd.c
100
return error;
drivers/input/keyboard/opencores-kbd.c
42
int irq, i, error;
drivers/input/keyboard/opencores-kbd.c
89
error = devm_request_irq(&pdev->dev, irq, &opencores_kbd_isr,
drivers/input/keyboard/opencores-kbd.c
92
if (error) {
drivers/input/keyboard/opencores-kbd.c
94
return error;
drivers/input/keyboard/opencores-kbd.c
97
error = input_register_device(input);
drivers/input/keyboard/opencores-kbd.c
98
if (error) {
drivers/input/keyboard/pinephone-keyboard.c
305
int error;
drivers/input/keyboard/pinephone-keyboard.c
307
error = ppkb_set_scan(client, true);
drivers/input/keyboard/pinephone-keyboard.c
308
if (error)
drivers/input/keyboard/pinephone-keyboard.c
309
return error;
drivers/input/keyboard/pinephone-keyboard.c
329
int error;
drivers/input/keyboard/pinephone-keyboard.c
331
error = devm_regulator_get_enable(dev, "vbat");
drivers/input/keyboard/pinephone-keyboard.c
332
if (error) {
drivers/input/keyboard/pinephone-keyboard.c
333
dev_err(dev, "Failed to get VBAT supply: %d\n", error);
drivers/input/keyboard/pinephone-keyboard.c
334
return error;
drivers/input/keyboard/pinephone-keyboard.c
339
error = ret < 0 ? ret : -EIO;
drivers/input/keyboard/pinephone-keyboard.c
340
dev_err(dev, "Failed to read device ID: %d\n", error);
drivers/input/keyboard/pinephone-keyboard.c
341
return error;
drivers/input/keyboard/pinephone-keyboard.c
365
error = ppkb_set_scan(client, false);
drivers/input/keyboard/pinephone-keyboard.c
366
if (error)
drivers/input/keyboard/pinephone-keyboard.c
367
return error;
drivers/input/keyboard/pinephone-keyboard.c
384
error = devm_i2c_add_adapter(dev, &ppkb->adapter);
drivers/input/keyboard/pinephone-keyboard.c
385
if (error) {
drivers/input/keyboard/pinephone-keyboard.c
386
dev_err(dev, "Failed to add I2C adapter: %d\n", error);
drivers/input/keyboard/pinephone-keyboard.c
387
return error;
drivers/input/keyboard/pinephone-keyboard.c
408
error = matrix_keypad_build_keymap(&ppkb_keymap_data, NULL,
drivers/input/keyboard/pinephone-keyboard.c
411
if (error) {
drivers/input/keyboard/pinephone-keyboard.c
412
dev_err(dev, "Failed to build keymap: %d\n", error);
drivers/input/keyboard/pinephone-keyboard.c
413
return error;
drivers/input/keyboard/pinephone-keyboard.c
416
error = input_register_device(ppkb->input);
drivers/input/keyboard/pinephone-keyboard.c
417
if (error) {
drivers/input/keyboard/pinephone-keyboard.c
418
dev_err(dev, "Failed to register input: %d\n", error);
drivers/input/keyboard/pinephone-keyboard.c
419
return error;
drivers/input/keyboard/pinephone-keyboard.c
422
error = devm_request_threaded_irq(dev, client->irq,
drivers/input/keyboard/pinephone-keyboard.c
425
if (error) {
drivers/input/keyboard/pinephone-keyboard.c
426
dev_err(dev, "Failed to request IRQ: %d\n", error);
drivers/input/keyboard/pinephone-keyboard.c
427
return error;
drivers/input/keyboard/pxa27x_keypad.c
148
int error;
drivers/input/keyboard/pxa27x_keypad.c
150
error = matrix_keypad_parse_properties(dev, &keypad->matrix_key_rows,
drivers/input/keyboard/pxa27x_keypad.c
152
if (error)
drivers/input/keyboard/pxa27x_keypad.c
153
return error;
drivers/input/keyboard/pxa27x_keypad.c
163
error = matrix_keypad_build_keymap(NULL, NULL,
drivers/input/keyboard/pxa27x_keypad.c
167
if (error)
drivers/input/keyboard/pxa27x_keypad.c
168
return error;
drivers/input/keyboard/pxa27x_keypad.c
180
int error;
drivers/input/keyboard/pxa27x_keypad.c
182
error = device_property_read_u32(dev, "marvell,direct-key-count",
drivers/input/keyboard/pxa27x_keypad.c
184
if (error) {
drivers/input/keyboard/pxa27x_keypad.c
189
return error == -EINVAL ? 0 : error;
drivers/input/keyboard/pxa27x_keypad.c
192
error = device_property_read_u32(dev, "marvell,direct-key-mask",
drivers/input/keyboard/pxa27x_keypad.c
194
if (error) {
drivers/input/keyboard/pxa27x_keypad.c
195
if (error != -EINVAL)
drivers/input/keyboard/pxa27x_keypad.c
196
return error;
drivers/input/keyboard/pxa27x_keypad.c
213
error = device_property_read_u16_array(dev, "marvell,direct-key-map",
drivers/input/keyboard/pxa27x_keypad.c
233
int error;
drivers/input/keyboard/pxa27x_keypad.c
235
error = device_property_read_u32(dev, "marvell,rotary-rel-key", &code);
drivers/input/keyboard/pxa27x_keypad.c
236
if (!error) {
drivers/input/keyboard/pxa27x_keypad.c
257
error = device_property_read_u32(dev, rotaryname[i], &code);
drivers/input/keyboard/pxa27x_keypad.c
258
if (error)
drivers/input/keyboard/pxa27x_keypad.c
259
return error;
drivers/input/keyboard/pxa27x_keypad.c
285
int error;
drivers/input/keyboard/pxa27x_keypad.c
287
error = pxa27x_keypad_matrix_key_parse(keypad);
drivers/input/keyboard/pxa27x_keypad.c
288
if (error) {
drivers/input/keyboard/pxa27x_keypad.c
290
return error;
drivers/input/keyboard/pxa27x_keypad.c
293
error = pxa27x_keypad_direct_key_parse(keypad);
drivers/input/keyboard/pxa27x_keypad.c
294
if (error) {
drivers/input/keyboard/pxa27x_keypad.c
296
return error;
drivers/input/keyboard/pxa27x_keypad.c
299
error = pxa27x_keypad_rotary_parse(keypad);
drivers/input/keyboard/pxa27x_keypad.c
300
if (error) {
drivers/input/keyboard/pxa27x_keypad.c
302
return error;
drivers/input/keyboard/pxa27x_keypad.c
305
error = device_property_read_u32(dev, "marvell,debounce-interval",
drivers/input/keyboard/pxa27x_keypad.c
307
if (error) {
drivers/input/keyboard/pxa27x_keypad.c
309
return error;
drivers/input/keyboard/pxa27x_keypad.c
584
int error;
drivers/input/keyboard/pxa27x_keypad.c
597
error = clk_prepare_enable(keypad->clk);
drivers/input/keyboard/pxa27x_keypad.c
598
if (error)
drivers/input/keyboard/pxa27x_keypad.c
599
return error;
drivers/input/keyboard/pxa27x_keypad.c
616
int error;
drivers/input/keyboard/pxa27x_keypad.c
659
error = pxa27x_keypad_parse_properties(keypad);
drivers/input/keyboard/pxa27x_keypad.c
660
if (error) {
drivers/input/keyboard/pxa27x_keypad.c
662
return error;
drivers/input/keyboard/pxa27x_keypad.c
665
error = devm_request_irq(&pdev->dev, irq, pxa27x_keypad_irq_handler,
drivers/input/keyboard/pxa27x_keypad.c
667
if (error) {
drivers/input/keyboard/pxa27x_keypad.c
669
return error;
drivers/input/keyboard/pxa27x_keypad.c
673
error = input_register_device(input_dev);
drivers/input/keyboard/pxa27x_keypad.c
674
if (error) {
drivers/input/keyboard/pxa27x_keypad.c
676
return error;
drivers/input/keyboard/qt2160.c
109
int error, idx = 0;
drivers/input/keyboard/qt2160.c
118
error = i2c_smbus_write_byte(client, inireg + idx);
drivers/input/keyboard/qt2160.c
119
if (error) {
drivers/input/keyboard/qt2160.c
121
"couldn't send request. Returned %d\n", error);
drivers/input/keyboard/qt2160.c
122
return error;
drivers/input/keyboard/qt2160.c
125
error = i2c_master_recv(client, buffer, count);
drivers/input/keyboard/qt2160.c
126
if (error != count) {
drivers/input/keyboard/qt2160.c
128
"couldn't read registers. Returned %d bytes\n", error);
drivers/input/keyboard/qt2160.c
129
return error;
drivers/input/keyboard/qt2160.c
136
error = i2c_smbus_write_byte(client, inireg + idx);
drivers/input/keyboard/qt2160.c
137
if (error) {
drivers/input/keyboard/qt2160.c
139
"couldn't send request. Returned %d\n", error);
drivers/input/keyboard/qt2160.c
140
return error;
drivers/input/keyboard/qt2160.c
242
int error;
drivers/input/keyboard/qt2160.c
255
error = devm_led_classdev_register(&client->dev, &led->cdev);
drivers/input/keyboard/qt2160.c
256
if (error)
drivers/input/keyboard/qt2160.c
257
return error;
drivers/input/keyboard/qt2160.c
313
int error;
drivers/input/keyboard/qt2160.c
354
error = qt2160_write(client, QT2160_CMD_CALIBRATE, 1);
drivers/input/keyboard/qt2160.c
355
if (error) {
drivers/input/keyboard/qt2160.c
357
return error;
drivers/input/keyboard/qt2160.c
361
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/keyboard/qt2160.c
365
if (error) {
drivers/input/keyboard/qt2160.c
368
return error;
drivers/input/keyboard/qt2160.c
371
error = input_setup_polling(input, qt2160_get_key_matrix);
drivers/input/keyboard/qt2160.c
372
if (error) {
drivers/input/keyboard/qt2160.c
374
return error;
drivers/input/keyboard/qt2160.c
379
error = qt2160_register_leds(qt2160);
drivers/input/keyboard/qt2160.c
380
if (error) {
drivers/input/keyboard/qt2160.c
382
return error;
drivers/input/keyboard/qt2160.c
385
error = input_register_device(qt2160->input);
drivers/input/keyboard/qt2160.c
386
if (error) {
drivers/input/keyboard/qt2160.c
389
return error;
drivers/input/keyboard/samsung-keypad.c
316
int error;
drivers/input/keyboard/samsung-keypad.c
394
error = matrix_keypad_build_keymap(keymap_data, NULL,
drivers/input/keyboard/samsung-keypad.c
397
if (error) {
drivers/input/keyboard/samsung-keypad.c
399
return error;
drivers/input/keyboard/samsung-keypad.c
410
error = keypad->irq;
drivers/input/keyboard/samsung-keypad.c
411
return error;
drivers/input/keyboard/samsung-keypad.c
414
error = devm_request_threaded_irq(&pdev->dev, keypad->irq, NULL,
drivers/input/keyboard/samsung-keypad.c
417
if (error) {
drivers/input/keyboard/samsung-keypad.c
419
return error;
drivers/input/keyboard/samsung-keypad.c
425
error = devm_pm_runtime_enable(&pdev->dev);
drivers/input/keyboard/samsung-keypad.c
426
if (error)
drivers/input/keyboard/samsung-keypad.c
427
return error;
drivers/input/keyboard/samsung-keypad.c
429
error = input_register_device(keypad->input_dev);
drivers/input/keyboard/samsung-keypad.c
430
if (error)
drivers/input/keyboard/samsung-keypad.c
431
return error;
drivers/input/keyboard/samsung-keypad.c
446
int error;
drivers/input/keyboard/samsung-keypad.c
452
error = enable_irq_wake(keypad->irq);
drivers/input/keyboard/samsung-keypad.c
453
if (!error)
drivers/input/keyboard/sh_keysc.c
168
int irq, error;
drivers/input/keyboard/sh_keysc.c
172
error = -EINVAL;
drivers/input/keyboard/sh_keysc.c
176
error = -ENXIO;
drivers/input/keyboard/sh_keysc.c
190
error = -ENOMEM;
drivers/input/keyboard/sh_keysc.c
201
error = -ENXIO;
drivers/input/keyboard/sh_keysc.c
208
error = -ENOMEM;
drivers/input/keyboard/sh_keysc.c
228
error = request_threaded_irq(irq, NULL, sh_keysc_isr, IRQF_ONESHOT,
drivers/input/keyboard/sh_keysc.c
230
if (error) {
drivers/input/keyboard/sh_keysc.c
239
error = input_register_device(input);
drivers/input/keyboard/sh_keysc.c
240
if (error) {
drivers/input/keyboard/sh_keysc.c
265
return error;
drivers/input/keyboard/snvs_pwrkey.c
119
int error;
drivers/input/keyboard/snvs_pwrkey.c
156
error = of_property_read_u32(np, "power-off-time-sec", &val);
drivers/input/keyboard/snvs_pwrkey.c
157
if (!error) {
drivers/input/keyboard/snvs_pwrkey.c
200
error = devm_add_action(&pdev->dev, imx_snvs_pwrkey_act, pdata);
drivers/input/keyboard/snvs_pwrkey.c
201
if (error) {
drivers/input/keyboard/snvs_pwrkey.c
203
return error;
drivers/input/keyboard/snvs_pwrkey.c
209
error = devm_request_irq(&pdev->dev, pdata->irq,
drivers/input/keyboard/snvs_pwrkey.c
212
if (error) {
drivers/input/keyboard/snvs_pwrkey.c
214
return error;
drivers/input/keyboard/snvs_pwrkey.c
217
error = input_register_device(input);
drivers/input/keyboard/snvs_pwrkey.c
218
if (error < 0) {
drivers/input/keyboard/snvs_pwrkey.c
220
return error;
drivers/input/keyboard/snvs_pwrkey.c
224
error = dev_pm_set_wake_irq(&pdev->dev, pdata->irq);
drivers/input/keyboard/snvs_pwrkey.c
225
if (error)
drivers/input/keyboard/spear-keyboard.c
103
int error;
drivers/input/keyboard/spear-keyboard.c
108
error = clk_enable(kbd->clk);
drivers/input/keyboard/spear-keyboard.c
109
if (error)
drivers/input/keyboard/spear-keyboard.c
110
return error;
drivers/input/keyboard/spear-keyboard.c
150
int error;
drivers/input/keyboard/spear-keyboard.c
162
error = device_property_read_u32(&pdev->dev, "st,mode", &kbd->mode);
drivers/input/keyboard/spear-keyboard.c
163
if (error) {
drivers/input/keyboard/spear-keyboard.c
165
return error;
drivers/input/keyboard/spear-keyboard.c
196
error = matrix_keypad_build_keymap(NULL, NULL, NUM_ROWS, NUM_COLS,
drivers/input/keyboard/spear-keyboard.c
198
if (error) {
drivers/input/keyboard/spear-keyboard.c
200
return error;
drivers/input/keyboard/spear-keyboard.c
209
error = devm_request_irq(&pdev->dev, irq, spear_kbd_interrupt, 0,
drivers/input/keyboard/spear-keyboard.c
211
if (error) {
drivers/input/keyboard/spear-keyboard.c
213
return error;
drivers/input/keyboard/spear-keyboard.c
216
error = input_register_device(input_dev);
drivers/input/keyboard/spear-keyboard.c
217
if (error) {
drivers/input/keyboard/spear-keyboard.c
219
return error;
drivers/input/keyboard/st-keyscan.c
106
int error;
drivers/input/keyboard/st-keyscan.c
108
error = matrix_keypad_parse_properties(dev, &keypad_data->n_rows,
drivers/input/keyboard/st-keyscan.c
110
if (error) {
drivers/input/keyboard/st-keyscan.c
112
return error;
drivers/input/keyboard/st-keyscan.c
128
int error;
drivers/input/keyboard/st-keyscan.c
156
error = keypad_matrix_key_parse_dt(keypad_data);
drivers/input/keyboard/st-keyscan.c
157
if (error)
drivers/input/keyboard/st-keyscan.c
158
return error;
drivers/input/keyboard/st-keyscan.c
160
error = matrix_keypad_build_keymap(NULL, NULL,
drivers/input/keyboard/st-keyscan.c
164
if (error) {
drivers/input/keyboard/st-keyscan.c
166
return error;
drivers/input/keyboard/st-keyscan.c
181
error = clk_enable(keypad_data->clk);
drivers/input/keyboard/st-keyscan.c
182
if (error) {
drivers/input/keyboard/st-keyscan.c
184
return error;
drivers/input/keyboard/st-keyscan.c
193
error = devm_request_irq(&pdev->dev, keypad_data->irq, keyscan_isr, 0,
drivers/input/keyboard/st-keyscan.c
195
if (error) {
drivers/input/keyboard/st-keyscan.c
197
return error;
drivers/input/keyboard/st-keyscan.c
200
error = input_register_device(input_dev);
drivers/input/keyboard/st-keyscan.c
201
if (error) {
drivers/input/keyboard/st-keyscan.c
203
return error;
drivers/input/keyboard/st-keyscan.c
234
int error;
drivers/input/keyboard/st-keyscan.c
241
error = keyscan_start(keypad);
drivers/input/keyboard/st-keyscan.c
242
if (error)
drivers/input/keyboard/st-keyscan.c
243
return error;
drivers/input/keyboard/st-keyscan.c
63
int error;
drivers/input/keyboard/st-keyscan.c
65
error = clk_enable(keypad->clk);
drivers/input/keyboard/st-keyscan.c
66
if (error)
drivers/input/keyboard/st-keyscan.c
67
return error;
drivers/input/keyboard/stmpe-keypad.c
339
int error;
drivers/input/keyboard/stmpe-keypad.c
366
error = matrix_keypad_parse_properties(&pdev->dev, &rows, &cols);
drivers/input/keyboard/stmpe-keypad.c
367
if (error)
drivers/input/keyboard/stmpe-keypad.c
368
return error;
drivers/input/keyboard/stmpe-keypad.c
370
error = matrix_keypad_build_keymap(NULL, NULL, rows, cols,
drivers/input/keyboard/stmpe-keypad.c
372
if (error)
drivers/input/keyboard/stmpe-keypad.c
373
return error;
drivers/input/keyboard/stmpe-keypad.c
383
error = stmpe_keypad_chip_init(keypad);
drivers/input/keyboard/stmpe-keypad.c
384
if (error < 0)
drivers/input/keyboard/stmpe-keypad.c
385
return error;
drivers/input/keyboard/stmpe-keypad.c
387
error = devm_request_threaded_irq(&pdev->dev, irq,
drivers/input/keyboard/stmpe-keypad.c
390
if (error) {
drivers/input/keyboard/stmpe-keypad.c
391
dev_err(&pdev->dev, "unable to get irq: %d\n", error);
drivers/input/keyboard/stmpe-keypad.c
392
return error;
drivers/input/keyboard/stmpe-keypad.c
395
error = input_register_device(input);
drivers/input/keyboard/stmpe-keypad.c
396
if (error) {
drivers/input/keyboard/stmpe-keypad.c
398
"unable to register input device: %d\n", error);
drivers/input/keyboard/stmpe-keypad.c
399
return error;
drivers/input/keyboard/sun4i-lradc-keys.c
151
int error;
drivers/input/keyboard/sun4i-lradc-keys.c
153
error = regulator_enable(lradc->vref_supply);
drivers/input/keyboard/sun4i-lradc-keys.c
154
if (error)
drivers/input/keyboard/sun4i-lradc-keys.c
155
return error;
drivers/input/keyboard/sun4i-lradc-keys.c
157
error = reset_control_deassert(lradc->reset);
drivers/input/keyboard/sun4i-lradc-keys.c
158
if (error)
drivers/input/keyboard/sun4i-lradc-keys.c
161
error = clk_prepare_enable(lradc->clk);
drivers/input/keyboard/sun4i-lradc-keys.c
162
if (error)
drivers/input/keyboard/sun4i-lradc-keys.c
184
return error;
drivers/input/keyboard/sun4i-lradc-keys.c
206
int error;
drivers/input/keyboard/sun4i-lradc-keys.c
229
error = of_property_read_u32(pp, "channel", &channel);
drivers/input/keyboard/sun4i-lradc-keys.c
230
if (error || channel != 0) {
drivers/input/keyboard/sun4i-lradc-keys.c
235
error = of_property_read_u32(pp, "voltage", &map->voltage);
drivers/input/keyboard/sun4i-lradc-keys.c
236
if (error) {
drivers/input/keyboard/sun4i-lradc-keys.c
241
error = of_property_read_u32(pp, "linux,code", &map->keycode);
drivers/input/keyboard/sun4i-lradc-keys.c
242
if (error) {
drivers/input/keyboard/sun4i-lradc-keys.c
257
int error, i, irq;
drivers/input/keyboard/sun4i-lradc-keys.c
263
error = sun4i_lradc_load_dt_keymap(dev, lradc);
drivers/input/keyboard/sun4i-lradc-keys.c
264
if (error)
drivers/input/keyboard/sun4i-lradc-keys.c
265
return error;
drivers/input/keyboard/sun4i-lradc-keys.c
315
error = devm_request_irq(dev, irq, sun4i_lradc_irq, 0,
drivers/input/keyboard/sun4i-lradc-keys.c
317
if (error)
drivers/input/keyboard/sun4i-lradc-keys.c
318
return error;
drivers/input/keyboard/sun4i-lradc-keys.c
320
error = input_register_device(lradc->input);
drivers/input/keyboard/sun4i-lradc-keys.c
321
if (error)
drivers/input/keyboard/sun4i-lradc-keys.c
322
return error;
drivers/input/keyboard/sun4i-lradc-keys.c
325
error = dev_pm_set_wake_irq(dev, irq);
drivers/input/keyboard/sun4i-lradc-keys.c
326
if (error)
drivers/input/keyboard/sun4i-lradc-keys.c
329
irq, error);
drivers/input/keyboard/tc3589x-keypad.c
294
int error;
drivers/input/keyboard/tc3589x-keypad.c
298
error = tc3589x_keypad_enable(keypad);
drivers/input/keyboard/tc3589x-keypad.c
299
if (error < 0) {
drivers/input/keyboard/tc3589x-keypad.c
301
return error;
drivers/input/keyboard/tc3589x-keypad.c
304
error = tc3589x_keypad_init_key_hardware(keypad);
drivers/input/keyboard/tc3589x-keypad.c
305
if (error < 0) {
drivers/input/keyboard/tc3589x-keypad.c
307
return error;
drivers/input/keyboard/tc3589x-keypad.c
379
int error, irq;
drivers/input/keyboard/tc3589x-keypad.c
413
error = matrix_keypad_build_keymap(plat->keymap_data, NULL,
drivers/input/keyboard/tc3589x-keypad.c
416
if (error) {
drivers/input/keyboard/tc3589x-keypad.c
418
return error;
drivers/input/keyboard/tc3589x-keypad.c
431
error = devm_request_threaded_irq(&pdev->dev, irq,
drivers/input/keyboard/tc3589x-keypad.c
435
if (error) {
drivers/input/keyboard/tc3589x-keypad.c
438
irq, error);
drivers/input/keyboard/tc3589x-keypad.c
439
return error;
drivers/input/keyboard/tc3589x-keypad.c
442
error = input_register_device(input);
drivers/input/keyboard/tc3589x-keypad.c
443
if (error) {
drivers/input/keyboard/tc3589x-keypad.c
445
return error;
drivers/input/keyboard/tca8418_keypad.c
125
int error;
drivers/input/keyboard/tca8418_keypad.c
127
error = i2c_smbus_write_byte_data(keypad_data->client, reg, val);
drivers/input/keyboard/tca8418_keypad.c
128
if (error < 0) {
drivers/input/keyboard/tca8418_keypad.c
131
__func__, reg, val, error);
drivers/input/keyboard/tca8418_keypad.c
132
return error;
drivers/input/keyboard/tca8418_keypad.c
144
int error;
drivers/input/keyboard/tca8418_keypad.c
146
error = i2c_smbus_read_byte_data(keypad_data->client, reg);
drivers/input/keyboard/tca8418_keypad.c
147
if (error < 0) {
drivers/input/keyboard/tca8418_keypad.c
150
__func__, reg, error);
drivers/input/keyboard/tca8418_keypad.c
151
return error;
drivers/input/keyboard/tca8418_keypad.c
154
*val = (u8)error;
drivers/input/keyboard/tca8418_keypad.c
163
int error, col, row;
drivers/input/keyboard/tca8418_keypad.c
167
error = tca8418_read_byte(keypad_data, REG_KEY_EVENT_A, ®);
drivers/input/keyboard/tca8418_keypad.c
168
if (error < 0) {
drivers/input/keyboard/tca8418_keypad.c
203
int error;
drivers/input/keyboard/tca8418_keypad.c
205
error = tca8418_read_byte(keypad_data, REG_INT_STAT, ®);
drivers/input/keyboard/tca8418_keypad.c
206
if (error) {
drivers/input/keyboard/tca8418_keypad.c
223
error = tca8418_write_byte(keypad_data, REG_INT_STAT, reg);
drivers/input/keyboard/tca8418_keypad.c
224
if (error)
drivers/input/keyboard/tca8418_keypad.c
237
int reg, error = 0;
drivers/input/keyboard/tca8418_keypad.c
244
error |= tca8418_write_byte(keypad_data, REG_KP_GPIO1, reg);
drivers/input/keyboard/tca8418_keypad.c
245
error |= tca8418_write_byte(keypad_data, REG_KP_GPIO2, reg >> 8);
drivers/input/keyboard/tca8418_keypad.c
246
error |= tca8418_write_byte(keypad_data, REG_KP_GPIO3, reg >> 16);
drivers/input/keyboard/tca8418_keypad.c
249
error |= tca8418_write_byte(keypad_data, REG_DEBOUNCE_DIS1, reg);
drivers/input/keyboard/tca8418_keypad.c
250
error |= tca8418_write_byte(keypad_data, REG_DEBOUNCE_DIS2, reg >> 8);
drivers/input/keyboard/tca8418_keypad.c
251
error |= tca8418_write_byte(keypad_data, REG_DEBOUNCE_DIS3, reg >> 16);
drivers/input/keyboard/tca8418_keypad.c
253
if (error)
drivers/input/keyboard/tca8418_keypad.c
254
return error;
drivers/input/keyboard/tca8418_keypad.c
256
error = tca8418_write_byte(keypad_data, REG_CFG,
drivers/input/keyboard/tca8418_keypad.c
259
return error;
drivers/input/keyboard/tca8418_keypad.c
268
int error, row_shift;
drivers/input/keyboard/tca8418_keypad.c
278
error = matrix_keypad_parse_properties(dev, &rows, &cols);
drivers/input/keyboard/tca8418_keypad.c
279
if (error)
drivers/input/keyboard/tca8418_keypad.c
280
return error;
drivers/input/keyboard/tca8418_keypad.c
303
error = tca8418_read_byte(keypad_data, REG_KEY_LCK_EC, ®);
drivers/input/keyboard/tca8418_keypad.c
304
if (error)
drivers/input/keyboard/tca8418_keypad.c
320
error = matrix_keypad_build_keymap(NULL, NULL, rows, cols, NULL, input);
drivers/input/keyboard/tca8418_keypad.c
321
if (error) {
drivers/input/keyboard/tca8418_keypad.c
323
return error;
drivers/input/keyboard/tca8418_keypad.c
331
error = devm_request_threaded_irq(dev, client->irq,
drivers/input/keyboard/tca8418_keypad.c
335
if (error) {
drivers/input/keyboard/tca8418_keypad.c
337
client->irq, error);
drivers/input/keyboard/tca8418_keypad.c
338
return error;
drivers/input/keyboard/tca8418_keypad.c
342
error = tca8418_configure(keypad_data, rows, cols);
drivers/input/keyboard/tca8418_keypad.c
343
if (error < 0)
drivers/input/keyboard/tca8418_keypad.c
344
return error;
drivers/input/keyboard/tca8418_keypad.c
346
error = input_register_device(input);
drivers/input/keyboard/tca8418_keypad.c
347
if (error) {
drivers/input/keyboard/tca8418_keypad.c
349
error);
drivers/input/keyboard/tca8418_keypad.c
350
return error;
drivers/input/keyboard/tm2-touchkey.c
112
int error;
drivers/input/keyboard/tm2-touchkey.c
114
error = regulator_bulk_enable(ARRAY_SIZE(touchkey->regulators),
drivers/input/keyboard/tm2-touchkey.c
116
if (error)
drivers/input/keyboard/tm2-touchkey.c
117
return error;
drivers/input/keyboard/tm2-touchkey.c
187
int error;
drivers/input/keyboard/tm2-touchkey.c
208
error = devm_regulator_bulk_get(&client->dev,
drivers/input/keyboard/tm2-touchkey.c
211
if (error) {
drivers/input/keyboard/tm2-touchkey.c
212
dev_err(&client->dev, "failed to get regulators: %d\n", error);
drivers/input/keyboard/tm2-touchkey.c
213
return error;
drivers/input/keyboard/tm2-touchkey.c
229
error = tm2_touchkey_power_enable(touchkey);
drivers/input/keyboard/tm2-touchkey.c
230
if (error) {
drivers/input/keyboard/tm2-touchkey.c
231
dev_err(&client->dev, "failed to power up device: %d\n", error);
drivers/input/keyboard/tm2-touchkey.c
232
return error;
drivers/input/keyboard/tm2-touchkey.c
235
error = devm_add_action_or_reset(&client->dev,
drivers/input/keyboard/tm2-touchkey.c
237
if (error) {
drivers/input/keyboard/tm2-touchkey.c
239
"failed to install poweroff handler: %d\n", error);
drivers/input/keyboard/tm2-touchkey.c
240
return error;
drivers/input/keyboard/tm2-touchkey.c
262
error = input_register_device(touchkey->input_dev);
drivers/input/keyboard/tm2-touchkey.c
263
if (error) {
drivers/input/keyboard/tm2-touchkey.c
265
"failed to register input device: %d\n", error);
drivers/input/keyboard/tm2-touchkey.c
266
return error;
drivers/input/keyboard/tm2-touchkey.c
269
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/keyboard/tm2-touchkey.c
273
if (error) {
drivers/input/keyboard/tm2-touchkey.c
275
"failed to request threaded irq: %d\n", error);
drivers/input/keyboard/tm2-touchkey.c
276
return error;
drivers/input/keyboard/tm2-touchkey.c
286
error = devm_led_classdev_register(&client->dev, &touchkey->led_dev);
drivers/input/keyboard/tm2-touchkey.c
287
if (error) {
drivers/input/keyboard/tm2-touchkey.c
289
"failed to register touchkey led: %d\n", error);
drivers/input/keyboard/tm2-touchkey.c
290
return error;
drivers/input/keyboard/twl4030_keypad.c
323
int error;
drivers/input/keyboard/twl4030_keypad.c
346
error = matrix_keypad_parse_properties(&pdev->dev,
drivers/input/keyboard/twl4030_keypad.c
348
if (error)
drivers/input/keyboard/twl4030_keypad.c
349
return error;
drivers/input/keyboard/twl4030_keypad.c
361
error = matrix_keypad_build_keymap(NULL, NULL,
drivers/input/keyboard/twl4030_keypad.c
365
if (error) {
drivers/input/keyboard/twl4030_keypad.c
367
return error;
drivers/input/keyboard/twl4030_keypad.c
373
error = input_register_device(input);
drivers/input/keyboard/twl4030_keypad.c
374
if (error) {
drivers/input/keyboard/twl4030_keypad.c
377
return error;
drivers/input/keyboard/twl4030_keypad.c
380
error = twl4030_kp_program(kp);
drivers/input/keyboard/twl4030_keypad.c
381
if (error)
drivers/input/keyboard/twl4030_keypad.c
382
return error;
drivers/input/keyboard/twl4030_keypad.c
390
error = devm_request_threaded_irq(&pdev->dev, kp->irq, NULL, do_kp_irq,
drivers/input/keyboard/twl4030_keypad.c
392
if (error) {
drivers/input/keyboard/twl4030_keypad.c
394
kp->irq, error);
drivers/input/keyboard/twl4030_keypad.c
395
return error;
drivers/input/matrix-keymap.c
100
error = device_property_read_u32_array(dev, propname, keys, size);
drivers/input/matrix-keymap.c
101
if (error) {
drivers/input/matrix-keymap.c
103
propname, error);
drivers/input/matrix-keymap.c
104
return error;
drivers/input/matrix-keymap.c
152
int error;
drivers/input/matrix-keymap.c
183
error = matrix_keypad_parse_keymap(keymap_name, rows, cols,
drivers/input/matrix-keymap.c
185
if (error)
drivers/input/matrix-keymap.c
186
return error;
drivers/input/matrix-keymap.c
78
int error;
drivers/input/misc/ab8500-ponkey.c
102
error = input_register_device(ponkey->idev);
drivers/input/misc/ab8500-ponkey.c
103
if (error) {
drivers/input/misc/ab8500-ponkey.c
104
dev_err(ab8500->dev, "Can't register input device: %d\n", error);
drivers/input/misc/ab8500-ponkey.c
105
return error;
drivers/input/misc/ab8500-ponkey.c
55
int error;
drivers/input/misc/ab8500-ponkey.c
84
error = devm_request_any_context_irq(&pdev->dev, ponkey->irq_dbf,
drivers/input/misc/ab8500-ponkey.c
87
if (error < 0) {
drivers/input/misc/ab8500-ponkey.c
89
ponkey->irq_dbf, error);
drivers/input/misc/ab8500-ponkey.c
90
return error;
drivers/input/misc/ab8500-ponkey.c
93
error = devm_request_any_context_irq(&pdev->dev, ponkey->irq_dbr,
drivers/input/misc/ab8500-ponkey.c
96
if (error < 0) {
drivers/input/misc/ab8500-ponkey.c
98
ponkey->irq_dbr, error);
drivers/input/misc/ab8500-ponkey.c
99
return error;
drivers/input/misc/ad714x-i2c.c
19
int error;
drivers/input/misc/ad714x-i2c.c
24
error = i2c_master_send(client, (u8 *)chip->xfer_buf,
drivers/input/misc/ad714x-i2c.c
26
if (unlikely(error < 0)) {
drivers/input/misc/ad714x-i2c.c
27
dev_err(&client->dev, "I2C write error: %d\n", error);
drivers/input/misc/ad714x-i2c.c
28
return error;
drivers/input/misc/ad714x-i2c.c
39
int error;
drivers/input/misc/ad714x-i2c.c
43
error = i2c_master_send(client, (u8 *)chip->xfer_buf,
drivers/input/misc/ad714x-i2c.c
45
if (error >= 0)
drivers/input/misc/ad714x-i2c.c
46
error = i2c_master_recv(client, (u8 *)chip->xfer_buf,
drivers/input/misc/ad714x-i2c.c
49
if (unlikely(error < 0)) {
drivers/input/misc/ad714x-i2c.c
50
dev_err(&client->dev, "I2C read error: %d\n", error);
drivers/input/misc/ad714x-i2c.c
51
return error;
drivers/input/misc/ad714x-spi.c
25
int error;
drivers/input/misc/ad714x-spi.c
40
error = spi_sync(spi, &message);
drivers/input/misc/ad714x-spi.c
41
if (unlikely(error)) {
drivers/input/misc/ad714x-spi.c
42
dev_err(chip->dev, "SPI read error: %d\n", error);
drivers/input/misc/ad714x-spi.c
43
return error;
drivers/input/misc/ad714x-spi.c
56
int error;
drivers/input/misc/ad714x-spi.c
61
error = spi_write(spi, (u8 *)chip->xfer_buf,
drivers/input/misc/ad714x-spi.c
63
if (unlikely(error)) {
drivers/input/misc/ad714x-spi.c
64
dev_err(chip->dev, "SPI write error: %d\n", error);
drivers/input/misc/ad714x-spi.c
65
return error;
drivers/input/misc/ad714x.c
1020
error = ad714x_hw_detect(ad714x);
drivers/input/misc/ad714x.c
1021
if (error)
drivers/input/misc/ad714x.c
1022
return ERR_PTR(error);
drivers/input/misc/ad714x.c
1051
error = input_register_device(input);
drivers/input/misc/ad714x.c
1052
if (error)
drivers/input/misc/ad714x.c
1053
return ERR_PTR(error);
drivers/input/misc/ad714x.c
1081
error = input_register_device(input);
drivers/input/misc/ad714x.c
1082
if (error)
drivers/input/misc/ad714x.c
1083
return ERR_PTR(error);
drivers/input/misc/ad714x.c
1114
error = input_register_device(input);
drivers/input/misc/ad714x.c
1115
if (error)
drivers/input/misc/ad714x.c
1116
return ERR_PTR(error);
drivers/input/misc/ad714x.c
1128
error = -ENOMEM;
drivers/input/misc/ad714x.c
1129
return ERR_PTR(error);
drivers/input/misc/ad714x.c
1144
error = input_register_device(input);
drivers/input/misc/ad714x.c
1145
if (error)
drivers/input/misc/ad714x.c
1146
return ERR_PTR(error);
drivers/input/misc/ad714x.c
1152
error = devm_request_threaded_irq(dev, ad714x->irq, NULL,
drivers/input/misc/ad714x.c
1155
if (error) {
drivers/input/misc/ad714x.c
1157
return ERR_PTR(error);
drivers/input/misc/ad714x.c
965
int error;
drivers/input/misc/ad714x.c
981
error = -EINVAL;
drivers/input/misc/ad714x.c
982
return ERR_PTR(error);
drivers/input/misc/ad714x.c
987
error = -EINVAL;
drivers/input/misc/ad714x.c
988
return ERR_PTR(error);
drivers/input/misc/ad714x.c
998
error = -ENOMEM;
drivers/input/misc/ad714x.c
999
return ERR_PTR(error);
drivers/input/misc/adxl34x-i2c.c
80
int error;
drivers/input/misc/adxl34x-i2c.c
82
error = i2c_check_functionality(client->adapter,
drivers/input/misc/adxl34x-i2c.c
84
if (!error) {
drivers/input/misc/adxl34x.c
458
int error;
drivers/input/misc/adxl34x.c
460
error = kstrtouint(buf, 10, &val);
drivers/input/misc/adxl34x.c
461
if (error)
drivers/input/misc/adxl34x.c
462
return error;
drivers/input/misc/adxl34x.c
542
int error;
drivers/input/misc/adxl34x.c
544
error = kstrtou8(buf, 10, &val);
drivers/input/misc/adxl34x.c
545
if (error)
drivers/input/misc/adxl34x.c
546
return error;
drivers/input/misc/adxl34x.c
575
int error;
drivers/input/misc/adxl34x.c
577
error = kstrtouint(buf, 10, &val);
drivers/input/misc/adxl34x.c
578
if (error)
drivers/input/misc/adxl34x.c
579
return error;
drivers/input/misc/adxl34x.c
617
int error;
drivers/input/misc/adxl34x.c
622
error = kstrtouint(buf, 16, &val);
drivers/input/misc/adxl34x.c
623
if (error)
drivers/input/misc/adxl34x.c
624
return error;
drivers/input/misc/adxl34x.c
690
int error, range, i;
drivers/input/misc/adxl34x.c
797
error = devm_request_threaded_irq(dev, ac->irq, NULL, adxl34x_irq,
drivers/input/misc/adxl34x.c
799
if (error) {
drivers/input/misc/adxl34x.c
801
return ERR_PTR(error);
drivers/input/misc/adxl34x.c
804
error = input_register_device(input_dev);
drivers/input/misc/adxl34x.c
805
if (error)
drivers/input/misc/adxl34x.c
806
return ERR_PTR(error);
drivers/input/misc/ariel-pwrbutton.c
119
error = input_register_device(priv->input);
drivers/input/misc/ariel-pwrbutton.c
120
if (error) {
drivers/input/misc/ariel-pwrbutton.c
121
dev_err(&spi->dev, "error registering input device: %d\n", error);
drivers/input/misc/ariel-pwrbutton.c
122
return error;
drivers/input/misc/ariel-pwrbutton.c
125
error = ec_input_read(priv, &response);
drivers/input/misc/ariel-pwrbutton.c
126
if (error < 0) {
drivers/input/misc/ariel-pwrbutton.c
127
dev_err(&spi->dev, "EC read failed: %d\n", error);
drivers/input/misc/ariel-pwrbutton.c
128
return error;
drivers/input/misc/ariel-pwrbutton.c
132
error = devm_request_threaded_irq(&spi->dev, spi->irq, NULL,
drivers/input/misc/ariel-pwrbutton.c
137
if (error) {
drivers/input/misc/ariel-pwrbutton.c
139
spi->irq, error);
drivers/input/misc/ariel-pwrbutton.c
140
return error;
drivers/input/misc/ariel-pwrbutton.c
54
int error;
drivers/input/misc/ariel-pwrbutton.c
57
error = ec_input_read(priv, &response);
drivers/input/misc/ariel-pwrbutton.c
58
if (error < 0) {
drivers/input/misc/ariel-pwrbutton.c
59
dev_err(&spi->dev, "EC read failed: %d\n", error);
drivers/input/misc/ariel-pwrbutton.c
99
int error;
drivers/input/misc/atc260x-onkey.c
197
int val, error;
drivers/input/misc/atc260x-onkey.c
203
error = device_property_read_u32(pdev->dev.parent,
drivers/input/misc/atc260x-onkey.c
205
if (error) {
drivers/input/misc/atc260x-onkey.c
265
error = devm_request_threaded_irq(&pdev->dev, onkey->irq, NULL,
drivers/input/misc/atc260x-onkey.c
268
if (error) {
drivers/input/misc/atc260x-onkey.c
270
"Failed to register IRQ %d: %d\n", onkey->irq, error);
drivers/input/misc/atc260x-onkey.c
271
return error;
drivers/input/misc/atc260x-onkey.c
277
error = input_register_device(input_dev);
drivers/input/misc/atc260x-onkey.c
278
if (error) {
drivers/input/misc/atc260x-onkey.c
280
"Failed to register input device: %d\n", error);
drivers/input/misc/atc260x-onkey.c
281
return error;
drivers/input/misc/atc260x-onkey.c
284
error = atc2603x_onkey_hw_init(onkey, reset_status,
drivers/input/misc/atc260x-onkey.c
286
if (error)
drivers/input/misc/atc260x-onkey.c
287
return error;
drivers/input/misc/atmel_captouch.c
132
int error;
drivers/input/misc/atmel_captouch.c
137
error = atmel_read(capdev, REG_KEY_STATE, &new_btn, 1);
drivers/input/misc/atmel_captouch.c
138
if (error) {
drivers/input/misc/atmel_captouch.c
139
dev_err(dev, "failed to read button state: %d\n", error);
drivers/input/misc/axp20x-pek.c
222
int error;
drivers/input/misc/axp20x-pek.c
250
error = devm_request_any_context_irq(&pdev->dev, axp20x_pek->irq_dbr,
drivers/input/misc/axp20x-pek.c
253
if (error < 0) {
drivers/input/misc/axp20x-pek.c
255
axp20x_pek->irq_dbr, error);
drivers/input/misc/axp20x-pek.c
256
return error;
drivers/input/misc/axp20x-pek.c
259
error = devm_request_any_context_irq(&pdev->dev, axp20x_pek->irq_dbf,
drivers/input/misc/axp20x-pek.c
262
if (error < 0) {
drivers/input/misc/axp20x-pek.c
264
axp20x_pek->irq_dbf, error);
drivers/input/misc/axp20x-pek.c
265
return error;
drivers/input/misc/axp20x-pek.c
268
error = input_register_device(idev);
drivers/input/misc/axp20x-pek.c
269
if (error) {
drivers/input/misc/axp20x-pek.c
271
error);
drivers/input/misc/axp20x-pek.c
272
return error;
drivers/input/misc/axp20x-pek.c
303
int error;
drivers/input/misc/axp20x-pek.c
318
error = axp20x_pek_probe_input_device(axp20x_pek, pdev);
drivers/input/misc/axp20x-pek.c
319
if (error)
drivers/input/misc/axp20x-pek.c
320
return error;
drivers/input/misc/bma150.c
181
int error;
drivers/input/misc/bma150.c
183
error = bma150_set_reg_bits(bma150->client, mode, BMA150_WAKE_UP_POS,
drivers/input/misc/bma150.c
185
if (error)
drivers/input/misc/bma150.c
186
return error;
drivers/input/misc/bma150.c
188
error = bma150_set_reg_bits(bma150->client, mode, BMA150_SLEEP_POS,
drivers/input/misc/bma150.c
190
if (error)
drivers/input/misc/bma150.c
191
return error;
drivers/input/misc/bma150.c
202
int error;
drivers/input/misc/bma150.c
204
error = bma150_set_reg_bits(bma150->client, 1, BMA150_SW_RES_POS,
drivers/input/misc/bma150.c
206
if (error)
drivers/input/misc/bma150.c
207
return error;
drivers/input/misc/bma150.c
228
int error;
drivers/input/misc/bma150.c
230
error = bma150_set_reg_bits(bma150->client, hyst,
drivers/input/misc/bma150.c
233
if (error)
drivers/input/misc/bma150.c
234
return error;
drivers/input/misc/bma150.c
236
error = bma150_write_byte(bma150->client, BMA150_LOW_G_DUR_REG, dur);
drivers/input/misc/bma150.c
237
if (error)
drivers/input/misc/bma150.c
238
return error;
drivers/input/misc/bma150.c
240
error = bma150_write_byte(bma150->client, BMA150_LOW_G_THRES_REG, thres);
drivers/input/misc/bma150.c
241
if (error)
drivers/input/misc/bma150.c
242
return error;
drivers/input/misc/bma150.c
252
int error;
drivers/input/misc/bma150.c
254
error = bma150_set_reg_bits(bma150->client, hyst,
drivers/input/misc/bma150.c
257
if (error)
drivers/input/misc/bma150.c
258
return error;
drivers/input/misc/bma150.c
260
error = bma150_write_byte(bma150->client,
drivers/input/misc/bma150.c
262
if (error)
drivers/input/misc/bma150.c
263
return error;
drivers/input/misc/bma150.c
265
error = bma150_write_byte(bma150->client,
drivers/input/misc/bma150.c
267
if (error)
drivers/input/misc/bma150.c
268
return error;
drivers/input/misc/bma150.c
279
int error;
drivers/input/misc/bma150.c
281
error = bma150_set_reg_bits(bma150->client, dur,
drivers/input/misc/bma150.c
285
if (error)
drivers/input/misc/bma150.c
286
return error;
drivers/input/misc/bma150.c
288
error = bma150_write_byte(bma150->client,
drivers/input/misc/bma150.c
290
if (error)
drivers/input/misc/bma150.c
291
return error;
drivers/input/misc/bma150.c
293
error = bma150_set_reg_bits(bma150->client, !!enable,
drivers/input/misc/bma150.c
296
if (error)
drivers/input/misc/bma150.c
297
return error;
drivers/input/misc/bma150.c
347
int error;
drivers/input/misc/bma150.c
349
error = pm_runtime_get_sync(&bma150->client->dev);
drivers/input/misc/bma150.c
350
if (error < 0 && error != -ENOSYS)
drivers/input/misc/bma150.c
351
return error;
drivers/input/misc/bma150.c
358
error = bma150_set_mode(bma150, BMA150_MODE_NORMAL);
drivers/input/misc/bma150.c
359
if (error)
drivers/input/misc/bma150.c
360
return error;
drivers/input/misc/bma150.c
379
int error;
drivers/input/misc/bma150.c
381
error = bma150_soft_reset(bma150);
drivers/input/misc/bma150.c
382
if (error)
drivers/input/misc/bma150.c
383
return error;
drivers/input/misc/bma150.c
385
error = bma150_set_bandwidth(bma150, cfg->bandwidth);
drivers/input/misc/bma150.c
386
if (error)
drivers/input/misc/bma150.c
387
return error;
drivers/input/misc/bma150.c
389
error = bma150_set_range(bma150, cfg->range);
drivers/input/misc/bma150.c
390
if (error)
drivers/input/misc/bma150.c
391
return error;
drivers/input/misc/bma150.c
394
error = bma150_set_any_motion_interrupt(bma150,
drivers/input/misc/bma150.c
398
if (error)
drivers/input/misc/bma150.c
399
return error;
drivers/input/misc/bma150.c
401
error = bma150_set_high_g_interrupt(bma150,
drivers/input/misc/bma150.c
404
if (error)
drivers/input/misc/bma150.c
405
return error;
drivers/input/misc/bma150.c
407
error = bma150_set_low_g_interrupt(bma150,
drivers/input/misc/bma150.c
410
if (error)
drivers/input/misc/bma150.c
411
return error;
drivers/input/misc/bma150.c
425
int error;
drivers/input/misc/bma150.c
446
error = pdata->irq_gpio_cfg();
drivers/input/misc/bma150.c
447
if (error) {
drivers/input/misc/bma150.c
450
client->irq, error);
drivers/input/misc/bma150.c
451
return error;
drivers/input/misc/bma150.c
459
error = bma150_initialize(bma150, cfg);
drivers/input/misc/bma150.c
460
if (error)
drivers/input/misc/bma150.c
461
return error;
drivers/input/misc/bma150.c
482
error = input_setup_polling(idev, bma150_poll);
drivers/input/misc/bma150.c
483
if (error)
drivers/input/misc/bma150.c
484
return error;
drivers/input/misc/bma150.c
491
error = input_register_device(idev);
drivers/input/misc/bma150.c
492
if (error)
drivers/input/misc/bma150.c
493
return error;
drivers/input/misc/bma150.c
496
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/misc/bma150.c
500
if (error) {
drivers/input/misc/bma150.c
503
client->irq, error);
drivers/input/misc/bma150.c
504
return error;
drivers/input/misc/cm109.c
344
int error;
drivers/input/misc/cm109.c
351
error = usb_submit_urb(dev->urb_ctl, GFP_ATOMIC);
drivers/input/misc/cm109.c
352
if (error)
drivers/input/misc/cm109.c
355
__func__, error);
drivers/input/misc/cm109.c
360
int error;
drivers/input/misc/cm109.c
380
error = usb_submit_urb(dev->urb_ctl, GFP_ATOMIC);
drivers/input/misc/cm109.c
381
if (error)
drivers/input/misc/cm109.c
384
__func__, error);
drivers/input/misc/cm109.c
438
int error;
drivers/input/misc/cm109.c
467
error = usb_submit_urb(dev->urb_irq, GFP_ATOMIC);
drivers/input/misc/cm109.c
468
if (error)
drivers/input/misc/cm109.c
471
__func__, error);
drivers/input/misc/cm109.c
490
int error;
drivers/input/misc/cm109.c
497
error = usb_control_msg(dev->udev,
drivers/input/misc/cm109.c
505
if (error < 0 && error != -EINTR)
drivers/input/misc/cm109.c
507
__func__, error);
drivers/input/misc/cm109.c
545
int error;
drivers/input/misc/cm109.c
547
error = usb_autopm_get_interface(dev->intf);
drivers/input/misc/cm109.c
548
if (error < 0) {
drivers/input/misc/cm109.c
550
__func__, error);
drivers/input/misc/cm109.c
551
return error;
drivers/input/misc/cm109.c
566
error = usb_submit_urb(dev->urb_ctl, GFP_KERNEL);
drivers/input/misc/cm109.c
567
if (!error) {
drivers/input/misc/cm109.c
577
__func__, error);
drivers/input/misc/cm109.c
579
return error;
drivers/input/misc/cm109.c
687
int error = -ENOMEM;
drivers/input/misc/cm109.c
797
error = input_register_device(dev->idev);
drivers/input/misc/cm109.c
798
if (error)
drivers/input/misc/cm109.c
808
return error;
drivers/input/misc/cma3000_d0x.c
273
int error;
drivers/input/misc/cma3000_d0x.c
277
error = -EINVAL;
drivers/input/misc/cma3000_d0x.c
284
error = -EINVAL;
drivers/input/misc/cma3000_d0x.c
291
error = -ENOMEM;
drivers/input/misc/cma3000_d0x.c
331
error = cma3000_reset(data);
drivers/input/misc/cma3000_d0x.c
332
if (error)
drivers/input/misc/cma3000_d0x.c
337
error = rev;
drivers/input/misc/cma3000_d0x.c
343
error = request_threaded_irq(irq, NULL, cma3000_thread_irq,
drivers/input/misc/cma3000_d0x.c
346
if (error) {
drivers/input/misc/cma3000_d0x.c
351
error = input_register_device(data->input_dev);
drivers/input/misc/cma3000_d0x.c
352
if (error) {
drivers/input/misc/cma3000_d0x.c
365
return ERR_PTR(error);
drivers/input/misc/cobalt_btns.c
103
error = input_setup_polling(input, handle_buttons);
drivers/input/misc/cobalt_btns.c
104
if (error)
drivers/input/misc/cobalt_btns.c
105
return error;
drivers/input/misc/cobalt_btns.c
109
error = input_register_device(input);
drivers/input/misc/cobalt_btns.c
110
if (error)
drivers/input/misc/cobalt_btns.c
111
return error;
drivers/input/misc/cobalt_btns.c
66
int error, i;
drivers/input/misc/cs40l50-vibra.c
224
int error;
drivers/input/misc/cs40l50-vibra.c
226
error = regmap_read(vib->regmap, vib->dsp.owt_size_reg, &size);
drivers/input/misc/cs40l50-vibra.c
227
if (error)
drivers/input/misc/cs40l50-vibra.c
228
return error;
drivers/input/misc/cs40l50-vibra.c
247
error = regmap_read(vib->regmap, vib->dsp.owt_offset_reg, &offset);
drivers/input/misc/cs40l50-vibra.c
248
if (error)
drivers/input/misc/cs40l50-vibra.c
249
return error;
drivers/input/misc/cs40l50-vibra.c
251
error = regmap_bulk_write(vib->regmap, vib->dsp.owt_base_reg +
drivers/input/misc/cs40l50-vibra.c
254
if (error)
drivers/input/misc/cs40l50-vibra.c
255
return error;
drivers/input/misc/cs40l50-vibra.c
257
error = vib->dsp.write(vib->dev, vib->regmap, vib->dsp.push_owt_cmd);
drivers/input/misc/cs40l50-vibra.c
258
if (error)
drivers/input/misc/cs40l50-vibra.c
259
return error;
drivers/input/misc/cs40l50-vibra.c
270
int error;
drivers/input/misc/cs40l50-vibra.c
272
error = pm_runtime_resume_and_get(vib->dev);
drivers/input/misc/cs40l50-vibra.c
273
if (error)
drivers/input/misc/cs40l50-vibra.c
281
error = -ENOMEM;
drivers/input/misc/cs40l50-vibra.c
289
error = cs40l50_effect_bank_set(work_data, effect);
drivers/input/misc/cs40l50-vibra.c
290
if (error)
drivers/input/misc/cs40l50-vibra.c
293
error = cs40l50_effect_index_set(work_data, effect);
drivers/input/misc/cs40l50-vibra.c
294
if (error)
drivers/input/misc/cs40l50-vibra.c
297
error = cs40l50_effect_gpio_mapping_set(work_data, effect);
drivers/input/misc/cs40l50-vibra.c
298
if (error)
drivers/input/misc/cs40l50-vibra.c
302
error = cs40l50_upload_owt(work_data);
drivers/input/misc/cs40l50-vibra.c
305
if (error)
drivers/input/misc/cs40l50-vibra.c
313
work_data->error = error;
drivers/input/misc/cs40l50-vibra.c
347
return work_data.error;
drivers/input/misc/cs40l50-vibra.c
420
int error;
drivers/input/misc/cs40l50-vibra.c
422
error = pm_runtime_resume_and_get(vib->dev);
drivers/input/misc/cs40l50-vibra.c
423
if (error)
drivers/input/misc/cs40l50-vibra.c
429
error = -EINVAL;
drivers/input/misc/cs40l50-vibra.c
434
error = regmap_write(vib->regmap, erase_effect->gpio_reg,
drivers/input/misc/cs40l50-vibra.c
436
if (error)
drivers/input/misc/cs40l50-vibra.c
441
error = vib->dsp.write(vib->dev, vib->regmap,
drivers/input/misc/cs40l50-vibra.c
444
if (error)
drivers/input/misc/cs40l50-vibra.c
458
work_data->error = error;
drivers/input/misc/cs40l50-vibra.c
476
return work_data.error;
drivers/input/misc/cs40l50-vibra.c
488
int error;
drivers/input/misc/cs40l50-vibra.c
510
error = input_ff_create(vib->input, CS40L50_EFFECTS_MAX);
drivers/input/misc/cs40l50-vibra.c
511
if (error) {
drivers/input/misc/cs40l50-vibra.c
513
return error;
drivers/input/misc/cs40l50-vibra.c
526
error = devm_add_action_or_reset(vib->dev, cs40l50_remove_wq, vib->vib_wq);
drivers/input/misc/cs40l50-vibra.c
527
if (error)
drivers/input/misc/cs40l50-vibra.c
528
return error;
drivers/input/misc/cs40l50-vibra.c
530
error = input_register_device(vib->input);
drivers/input/misc/cs40l50-vibra.c
531
if (error)
drivers/input/misc/cs40l50-vibra.c
532
return error;
drivers/input/misc/cs40l50-vibra.c
95
int error;
drivers/input/misc/da7280.c
1002
error = regmap_update_bits(haptics->regmap, DA7280_TOP_CFG4,
drivers/input/misc/da7280.c
1004
if (error)
drivers/input/misc/da7280.c
1031
error = regmap_update_bits(haptics->regmap, DA7280_TOP_CFG1, mask, val);
drivers/input/misc/da7280.c
1032
if (error)
drivers/input/misc/da7280.c
1035
error = regmap_update_bits(haptics->regmap, DA7280_TOP_CFG5,
drivers/input/misc/da7280.c
1039
if (error)
drivers/input/misc/da7280.c
1042
error = regmap_update_bits(haptics->regmap,
drivers/input/misc/da7280.c
1047
if (error)
drivers/input/misc/da7280.c
1051
error = regmap_write(haptics->regmap, DA7280_ACTUATOR1,
drivers/input/misc/da7280.c
1053
if (error)
drivers/input/misc/da7280.c
1058
error = regmap_write(haptics->regmap, DA7280_ACTUATOR2,
drivers/input/misc/da7280.c
1060
if (error)
drivers/input/misc/da7280.c
1064
error = regmap_update_bits(haptics->regmap, DA7280_ACTUATOR3,
drivers/input/misc/da7280.c
1066
if (error)
drivers/input/misc/da7280.c
1070
error = regmap_write(haptics->regmap, DA7280_CALIB_V2I_L,
drivers/input/misc/da7280.c
1072
if (error)
drivers/input/misc/da7280.c
1074
error = regmap_write(haptics->regmap, DA7280_CALIB_V2I_H,
drivers/input/misc/da7280.c
1076
if (error)
drivers/input/misc/da7280.c
1079
error = regmap_update_bits(haptics->regmap,
drivers/input/misc/da7280.c
1083
if (error)
drivers/input/misc/da7280.c
1087
error = da7280_haptic_mem_update(haptics);
drivers/input/misc/da7280.c
1088
if (error)
drivers/input/misc/da7280.c
1095
error = regmap_write(haptics->regmap, DA7280_SEQ_CTL2, val);
drivers/input/misc/da7280.c
1096
if (error)
drivers/input/misc/da7280.c
1107
error = regmap_write(haptics->regmap,
drivers/input/misc/da7280.c
1109
if (error)
drivers/input/misc/da7280.c
1114
error = regmap_update_bits(haptics->regmap,
drivers/input/misc/da7280.c
1118
if (error)
drivers/input/misc/da7280.c
1122
error = regmap_write(haptics->regmap, DA7280_IRQ_EVENT1, 0xff);
drivers/input/misc/da7280.c
1123
if (error)
drivers/input/misc/da7280.c
1126
error = regmap_update_bits(haptics->regmap,
drivers/input/misc/da7280.c
1131
if (error)
drivers/input/misc/da7280.c
1138
dev_err(haptics->dev, "chip initialization error: %d\n", error);
drivers/input/misc/da7280.c
1139
return error;
drivers/input/misc/da7280.c
1149
int error;
drivers/input/misc/da7280.c
1166
error = PTR_ERR_OR_ZERO(haptics->pwm_dev);
drivers/input/misc/da7280.c
1167
if (error) {
drivers/input/misc/da7280.c
1168
if (error != -EPROBE_DEFER)
drivers/input/misc/da7280.c
1170
error);
drivers/input/misc/da7280.c
1171
return error;
drivers/input/misc/da7280.c
1177
error = pwm_apply_might_sleep(haptics->pwm_dev, &state);
drivers/input/misc/da7280.c
1178
if (error) {
drivers/input/misc/da7280.c
1179
dev_err(dev, "Failed to apply PWM state: %d\n", error);
drivers/input/misc/da7280.c
1180
return error;
drivers/input/misc/da7280.c
1201
error = PTR_ERR_OR_ZERO(haptics->regmap);
drivers/input/misc/da7280.c
1202
if (error) {
drivers/input/misc/da7280.c
1203
dev_err(dev, "Failed to allocate register map: %d\n", error);
drivers/input/misc/da7280.c
1204
return error;
drivers/input/misc/da7280.c
1207
error = da7280_init(haptics);
drivers/input/misc/da7280.c
1208
if (error) {
drivers/input/misc/da7280.c
1209
dev_err(dev, "Failed to initialize device: %d\n", error);
drivers/input/misc/da7280.c
1210
return error;
drivers/input/misc/da7280.c
1232
error = input_ff_create(haptics->input_dev,
drivers/input/misc/da7280.c
1234
if (error) {
drivers/input/misc/da7280.c
1235
dev_err(dev, "Failed to create FF input device: %d\n", error);
drivers/input/misc/da7280.c
1236
return error;
drivers/input/misc/da7280.c
1243
error = input_register_device(input_dev);
drivers/input/misc/da7280.c
1244
if (error) {
drivers/input/misc/da7280.c
1245
dev_err(dev, "Failed to register input device: %d\n", error);
drivers/input/misc/da7280.c
1246
return error;
drivers/input/misc/da7280.c
1249
error = devm_request_threaded_irq(dev, client->irq,
drivers/input/misc/da7280.c
1253
if (error) {
drivers/input/misc/da7280.c
1255
client->irq, error);
drivers/input/misc/da7280.c
1256
return error;
drivers/input/misc/da7280.c
1284
int error;
drivers/input/misc/da7280.c
1288
error = da7280_haptic_start(haptics);
drivers/input/misc/da7280.c
1289
if (error)
drivers/input/misc/da7280.c
1290
return error;
drivers/input/misc/da7280.c
286
int error;
drivers/input/misc/da7280.c
289
error = regmap_read(haptics->regmap, DA7280_IRQ_STATUS1, &val);
drivers/input/misc/da7280.c
290
if (error)
drivers/input/misc/da7280.c
291
return error;
drivers/input/misc/da7280.c
300
error = regmap_read(haptics->regmap, DA7280_MEM_CTL2, &val);
drivers/input/misc/da7280.c
301
if (error)
drivers/input/misc/da7280.c
302
return error;
drivers/input/misc/da7280.c
309
error = regmap_update_bits(haptics->regmap,
drivers/input/misc/da7280.c
313
if (error)
drivers/input/misc/da7280.c
314
return error;
drivers/input/misc/da7280.c
316
error = regmap_read(haptics->regmap, DA7280_MEM_CTL1, &val);
drivers/input/misc/da7280.c
317
if (error)
drivers/input/misc/da7280.c
318
return error;
drivers/input/misc/da7280.c
328
int error;
drivers/input/misc/da7280.c
354
error = pwm_apply_might_sleep(haptics->pwm_dev, &state);
drivers/input/misc/da7280.c
355
if (error)
drivers/input/misc/da7280.c
356
dev_err(haptics->dev, "Failed to apply pwm state: %d\n", error);
drivers/input/misc/da7280.c
358
return error;
drivers/input/misc/da7280.c
363
int error;
drivers/input/misc/da7280.c
377
error = regmap_write(haptics->regmap, DA7280_TOP_CTL2,
drivers/input/misc/da7280.c
379
if (error) {
drivers/input/misc/da7280.c
382
haptics->level, error);
drivers/input/misc/da7280.c
412
error = regmap_update_bits(haptics->regmap,
drivers/input/misc/da7280.c
416
if (error) {
drivers/input/misc/da7280.c
418
"Failed to set operation mode: %d", error);
drivers/input/misc/da7280.c
424
error = regmap_update_bits(haptics->regmap,
drivers/input/misc/da7280.c
428
if (error) {
drivers/input/misc/da7280.c
430
"Failed to start sequence: %d\n", error);
drivers/input/misc/da7280.c
440
int error;
drivers/input/misc/da7280.c
446
error = regmap_update_bits(haptics->regmap,
drivers/input/misc/da7280.c
449
if (error) {
drivers/input/misc/da7280.c
451
"Failed to clear operation mode: %d", error);
drivers/input/misc/da7280.c
457
error = regmap_write(haptics->regmap,
drivers/input/misc/da7280.c
459
if (error) {
drivers/input/misc/da7280.c
461
"Failed to disable DRO mode: %d\n", error);
drivers/input/misc/da7280.c
473
error = regmap_update_bits(haptics->regmap,
drivers/input/misc/da7280.c
476
if (error) {
drivers/input/misc/da7280.c
479
error);
drivers/input/misc/da7280.c
512
int error;
drivers/input/misc/da7280.c
576
error = da7280_haptic_mem_update(haptics);
drivers/input/misc/da7280.c
577
if (error) {
drivers/input/misc/da7280.c
579
"Failed to upload waveform: %d\n", error);
drivers/input/misc/da7280.c
580
return error;
drivers/input/misc/da7280.c
607
error = regmap_write(haptics->regmap, DA7280_SEQ_CTL2, val);
drivers/input/misc/da7280.c
608
if (error) {
drivers/input/misc/da7280.c
610
"Failed to update PS sequence: %d\n", error);
drivers/input/misc/da7280.c
611
return error;
drivers/input/misc/da7280.c
638
error = regmap_update_bits(haptics->regmap,
drivers/input/misc/da7280.c
642
if (error) {
drivers/input/misc/da7280.c
644
"Failed to update GPI sequence: %d\n", error);
drivers/input/misc/da7280.c
645
return error;
drivers/input/misc/da7280.c
678
int error;
drivers/input/misc/da7280.c
680
error = regmap_update_bits(haptics->regmap,
drivers/input/misc/da7280.c
684
if (error) {
drivers/input/misc/da7280.c
685
dev_err(haptics->dev, "Unable to enable device: %d\n", error);
drivers/input/misc/da7280.c
686
return error;
drivers/input/misc/da7280.c
694
int error;
drivers/input/misc/da7280.c
701
error = regmap_update_bits(haptics->regmap, DA7280_TOP_CTL1,
drivers/input/misc/da7280.c
703
if (error)
drivers/input/misc/da7280.c
704
dev_err(haptics->dev, "Failed to disable device: %d\n", error);
drivers/input/misc/da7280.c
780
int error;
drivers/input/misc/da7280.c
786
error = device_property_read_string(dev, "dlg,actuator-type", &str);
drivers/input/misc/da7280.c
787
if (!error)
drivers/input/misc/da7280.c
791
error = device_property_read_u32(dev, "dlg,const-op-mode", &val);
drivers/input/misc/da7280.c
792
if (!error && val == DA7280_FF_PERIODIC_PWM)
drivers/input/misc/da7280.c
796
error = device_property_read_u32(dev, "dlg,periodic-op-mode", &val);
drivers/input/misc/da7280.c
797
if (!error && val == DA7280_FF_PERIODIC_ETWM)
drivers/input/misc/da7280.c
801
error = device_property_read_u32(dev, "dlg,nom-microvolt", &val);
drivers/input/misc/da7280.c
802
if (!error && val < DA7280_VOLTAGE_RATE_MAX)
drivers/input/misc/da7280.c
806
error = device_property_read_u32(dev, "dlg,abs-max-microvolt", &val);
drivers/input/misc/da7280.c
807
if (!error && val < DA7280_VOLTAGE_RATE_MAX)
drivers/input/misc/da7280.c
811
error = device_property_read_u32(dev, "dlg,imax-microamp", &val);
drivers/input/misc/da7280.c
812
if (!error && val < DA7280_IMAX_LIMIT)
drivers/input/misc/da7280.c
816
error = device_property_read_u32(dev, "dlg,impd-micro-ohms", &val);
drivers/input/misc/da7280.c
817
if (!error && val <= DA7280_IMPD_MAX)
drivers/input/misc/da7280.c
822
error = device_property_read_u32(dev, "dlg,resonant-freq-hz", &val);
drivers/input/misc/da7280.c
823
if (!error) {
drivers/input/misc/da7280.c
838
error = device_property_read_u32(dev, "dlg,ps-seq-id", &val);
drivers/input/misc/da7280.c
839
if (!error && val <= DA7280_SEQ_ID_MAX)
drivers/input/misc/da7280.c
843
error = device_property_read_u32(dev, "dlg,ps-seq-loop", &val);
drivers/input/misc/da7280.c
844
if (!error && val <= DA7280_SEQ_LOOP_MAX)
drivers/input/misc/da7280.c
851
error = device_property_read_u32 (dev, gpi_str1, &val);
drivers/input/misc/da7280.c
852
if (!error && val <= DA7280_SEQ_ID_MAX)
drivers/input/misc/da7280.c
857
error = device_property_read_string(dev, gpi_str2, &str);
drivers/input/misc/da7280.c
858
if (!error)
drivers/input/misc/da7280.c
864
error = device_property_read_string(dev, gpi_str3, &str);
drivers/input/misc/da7280.c
865
if (!error)
drivers/input/misc/da7280.c
882
error = device_property_read_u32_array(dev, "dlg,mem-array",
drivers/input/misc/da7280.c
884
if (!error) {
drivers/input/misc/da7280.c
906
int error;
drivers/input/misc/da7280.c
909
error = regmap_bulk_read(haptics->regmap, DA7280_IRQ_EVENT1,
drivers/input/misc/da7280.c
911
if (error) {
drivers/input/misc/da7280.c
912
dev_err(dev, "failed to read interrupt data: %d\n", error);
drivers/input/misc/da7280.c
917
error = regmap_write(haptics->regmap, DA7280_IRQ_EVENT1, events[0]);
drivers/input/misc/da7280.c
918
if (error) {
drivers/input/misc/da7280.c
919
dev_err(dev, "failed to clear interrupts: %d\n", error);
drivers/input/misc/da7280.c
928
error = regmap_update_bits(haptics->regmap, DA7280_TOP_CTL1,
drivers/input/misc/da7280.c
930
if (error)
drivers/input/misc/da7280.c
932
error);
drivers/input/misc/da7280.c
965
int error, i;
drivers/input/misc/da7280.c
973
error = regmap_read(haptics->regmap, DA7280_TOP_CFG1, &val);
drivers/input/misc/da7280.c
974
if (error)
drivers/input/misc/da7280.c
984
error = regmap_write(haptics->regmap, DA7280_FRQ_LRA_PER_H,
drivers/input/misc/da7280.c
986
if (error)
drivers/input/misc/da7280.c
988
error = regmap_write(haptics->regmap, DA7280_FRQ_LRA_PER_L,
drivers/input/misc/da7280.c
990
if (error)
drivers/input/misc/da7280.c
993
error = regmap_update_bits(haptics->regmap, DA7280_TOP_INT_CFG1,
drivers/input/misc/da7280.c
995
if (error)
drivers/input/misc/da9052_onkey.c
102
error = da9052_request_irq(onkey->da9052, DA9052_IRQ_NONKEY, "ONKEY",
drivers/input/misc/da9052_onkey.c
104
if (error < 0) {
drivers/input/misc/da9052_onkey.c
106
"Failed to register ONKEY IRQ: %d\n", error);
drivers/input/misc/da9052_onkey.c
110
error = input_register_device(onkey->input);
drivers/input/misc/da9052_onkey.c
111
if (error) {
drivers/input/misc/da9052_onkey.c
113
error);
drivers/input/misc/da9052_onkey.c
127
return error;
drivers/input/misc/da9052_onkey.c
76
int error;
drivers/input/misc/da9052_onkey.c
87
error = -ENOMEM;
drivers/input/misc/da9063_onkey.c
100
error = regmap_update_bits(onkey->regmap,
drivers/input/misc/da9063_onkey.c
104
if (error) {
drivers/input/misc/da9063_onkey.c
106
"Failed to reset the Key Delay %d\n", error);
drivers/input/misc/da9063_onkey.c
120
error = regmap_read(onkey->regmap,
drivers/input/misc/da9063_onkey.c
123
if (error) {
drivers/input/misc/da9063_onkey.c
125
"Cannot read FAULT_LOG: %d\n", error);
drivers/input/misc/da9063_onkey.c
127
error = regmap_write(onkey->regmap,
drivers/input/misc/da9063_onkey.c
130
if (error) {
drivers/input/misc/da9063_onkey.c
133
error);
drivers/input/misc/da9063_onkey.c
140
error = regmap_write(onkey->regmap,
drivers/input/misc/da9063_onkey.c
143
if (error)
drivers/input/misc/da9063_onkey.c
146
error);
drivers/input/misc/da9063_onkey.c
160
int error;
drivers/input/misc/da9063_onkey.c
162
error = regmap_read(onkey->regmap,
drivers/input/misc/da9063_onkey.c
165
if (onkey->key_power && !error && (val & config->onkey_nonkey_mask)) {
drivers/input/misc/da9063_onkey.c
184
int error;
drivers/input/misc/da9063_onkey.c
217
error = devm_delayed_work_autocancel(&pdev->dev, &onkey->work,
drivers/input/misc/da9063_onkey.c
219
if (error)
drivers/input/misc/da9063_onkey.c
220
return error;
drivers/input/misc/da9063_onkey.c
226
error = devm_request_threaded_irq(&pdev->dev, irq,
drivers/input/misc/da9063_onkey.c
230
if (error)
drivers/input/misc/da9063_onkey.c
231
return dev_err_probe(&pdev->dev, error,
drivers/input/misc/da9063_onkey.c
234
error = dev_pm_set_wake_irq(&pdev->dev, irq);
drivers/input/misc/da9063_onkey.c
235
if (error)
drivers/input/misc/da9063_onkey.c
238
irq, error);
drivers/input/misc/da9063_onkey.c
242
error = input_register_device(onkey->input);
drivers/input/misc/da9063_onkey.c
243
if (error)
drivers/input/misc/da9063_onkey.c
244
return error;
drivers/input/misc/da9063_onkey.c
87
int error;
drivers/input/misc/da9063_onkey.c
90
error = regmap_read(onkey->regmap,
drivers/input/misc/da9063_onkey.c
93
if (error) {
drivers/input/misc/da9063_onkey.c
95
"Failed to read ON status: %d\n", error);
drivers/input/misc/drv260x.c
213
int error;
drivers/input/misc/drv260x.c
219
error = regmap_write(haptics->regmap,
drivers/input/misc/drv260x.c
221
if (error) {
drivers/input/misc/drv260x.c
223
"Failed to write set mode: %d\n", error);
drivers/input/misc/drv260x.c
225
error = regmap_write(haptics->regmap,
drivers/input/misc/drv260x.c
227
if (error)
drivers/input/misc/drv260x.c
229
"Failed to set magnitude: %d\n", error);
drivers/input/misc/drv260x.c
256
int error;
drivers/input/misc/drv260x.c
260
error = regmap_write(haptics->regmap, DRV260X_MODE, DRV260X_STANDBY);
drivers/input/misc/drv260x.c
261
if (error)
drivers/input/misc/drv260x.c
263
"Failed to enter standby mode: %d\n", error);
drivers/input/misc/drv260x.c
309
int error;
drivers/input/misc/drv260x.c
312
error = regmap_write(haptics->regmap,
drivers/input/misc/drv260x.c
314
if (error) {
drivers/input/misc/drv260x.c
317
error);
drivers/input/misc/drv260x.c
318
return error;
drivers/input/misc/drv260x.c
321
error = regmap_write(haptics->regmap,
drivers/input/misc/drv260x.c
323
if (error) {
drivers/input/misc/drv260x.c
326
error);
drivers/input/misc/drv260x.c
327
return error;
drivers/input/misc/drv260x.c
332
error = regmap_register_patch(haptics->regmap,
drivers/input/misc/drv260x.c
335
if (error) {
drivers/input/misc/drv260x.c
338
error);
drivers/input/misc/drv260x.c
339
return error;
drivers/input/misc/drv260x.c
345
error = regmap_register_patch(haptics->regmap,
drivers/input/misc/drv260x.c
348
if (error) {
drivers/input/misc/drv260x.c
351
error);
drivers/input/misc/drv260x.c
352
return error;
drivers/input/misc/drv260x.c
355
error = regmap_update_bits(haptics->regmap, DRV260X_LIB_SEL,
drivers/input/misc/drv260x.c
358
if (error) {
drivers/input/misc/drv260x.c
361
error);
drivers/input/misc/drv260x.c
362
return error;
drivers/input/misc/drv260x.c
368
error = regmap_register_patch(haptics->regmap,
drivers/input/misc/drv260x.c
371
if (error) {
drivers/input/misc/drv260x.c
374
error);
drivers/input/misc/drv260x.c
375
return error;
drivers/input/misc/drv260x.c
378
error = regmap_update_bits(haptics->regmap, DRV260X_LIB_SEL,
drivers/input/misc/drv260x.c
381
if (error) {
drivers/input/misc/drv260x.c
384
error);
drivers/input/misc/drv260x.c
385
return error;
drivers/input/misc/drv260x.c
392
error = regmap_write(haptics->regmap, DRV260X_GO, DRV260X_GO_BIT);
drivers/input/misc/drv260x.c
393
if (error) {
drivers/input/misc/drv260x.c
396
error);
drivers/input/misc/drv260x.c
397
return error;
drivers/input/misc/drv260x.c
402
error = regmap_read(haptics->regmap, DRV260X_GO, &cal_buf);
drivers/input/misc/drv260x.c
403
if (error) {
drivers/input/misc/drv260x.c
406
error);
drivers/input/misc/drv260x.c
407
return error;
drivers/input/misc/drv260x.c
427
int error;
drivers/input/misc/drv260x.c
433
error = device_property_read_u32(dev, "mode", &haptics->mode);
drivers/input/misc/drv260x.c
434
if (error) {
drivers/input/misc/drv260x.c
435
dev_err(dev, "Can't fetch 'mode' property: %d\n", error);
drivers/input/misc/drv260x.c
436
return error;
drivers/input/misc/drv260x.c
445
error = device_property_read_u32(dev, "library-sel", &haptics->library);
drivers/input/misc/drv260x.c
446
if (error) {
drivers/input/misc/drv260x.c
447
dev_err(dev, "Can't fetch 'library-sel' property: %d\n", error);
drivers/input/misc/drv260x.c
448
return error;
drivers/input/misc/drv260x.c
472
error = device_property_read_u32(dev, "vib-rated-mv", &voltage);
drivers/input/misc/drv260x.c
473
haptics->rated_voltage = error ? DRV260X_DEF_RATED_VOLT :
drivers/input/misc/drv260x.c
476
error = device_property_read_u32(dev, "vib-overdrive-mv", &voltage);
drivers/input/misc/drv260x.c
477
haptics->overdrive_voltage = error ? DRV260X_DEF_OD_CLAMP_VOLT :
drivers/input/misc/drv260x.c
482
error = PTR_ERR(haptics->regulator);
drivers/input/misc/drv260x.c
483
dev_err(dev, "unable to get regulator, error: %d\n", error);
drivers/input/misc/drv260x.c
484
return error;
drivers/input/misc/drv260x.c
503
error = input_ff_create_memless(haptics->input_dev, NULL,
drivers/input/misc/drv260x.c
505
if (error) {
drivers/input/misc/drv260x.c
506
dev_err(dev, "input_ff_create() failed: %d\n", error);
drivers/input/misc/drv260x.c
507
return error;
drivers/input/misc/drv260x.c
517
error = PTR_ERR(haptics->regmap);
drivers/input/misc/drv260x.c
518
dev_err(dev, "Failed to allocate register map: %d\n", error);
drivers/input/misc/drv260x.c
519
return error;
drivers/input/misc/drv260x.c
522
error = drv260x_init(haptics);
drivers/input/misc/drv260x.c
523
if (error) {
drivers/input/misc/drv260x.c
524
dev_err(dev, "Device init failed: %d\n", error);
drivers/input/misc/drv260x.c
525
return error;
drivers/input/misc/drv260x.c
528
error = input_register_device(haptics->input_dev);
drivers/input/misc/drv260x.c
529
if (error) {
drivers/input/misc/drv260x.c
530
dev_err(dev, "couldn't register input device: %d\n", error);
drivers/input/misc/drv260x.c
531
return error;
drivers/input/misc/drv260x.c
540
int error;
drivers/input/misc/drv260x.c
545
error = regmap_update_bits(haptics->regmap,
drivers/input/misc/drv260x.c
549
if (error) {
drivers/input/misc/drv260x.c
551
return error;
drivers/input/misc/drv260x.c
556
error = regulator_disable(haptics->regulator);
drivers/input/misc/drv260x.c
557
if (error) {
drivers/input/misc/drv260x.c
562
return error;
drivers/input/misc/drv260x.c
572
int error;
drivers/input/misc/drv260x.c
577
error = regulator_enable(haptics->regulator);
drivers/input/misc/drv260x.c
578
if (error) {
drivers/input/misc/drv260x.c
580
return error;
drivers/input/misc/drv260x.c
583
error = regmap_update_bits(haptics->regmap,
drivers/input/misc/drv260x.c
586
if (error) {
drivers/input/misc/drv260x.c
589
return error;
drivers/input/misc/drv2665.c
116
int error;
drivers/input/misc/drv2665.c
120
error = regmap_update_bits(haptics->regmap, DRV2665_CTRL_2,
drivers/input/misc/drv2665.c
122
if (error)
drivers/input/misc/drv2665.c
124
"Failed to enter standby mode: %d\n", error);
drivers/input/misc/drv2665.c
134
int error;
drivers/input/misc/drv2665.c
136
error = regmap_register_patch(haptics->regmap,
drivers/input/misc/drv2665.c
139
if (error) {
drivers/input/misc/drv2665.c
142
error);
drivers/input/misc/drv2665.c
143
return error;
drivers/input/misc/drv2665.c
162
int error;
drivers/input/misc/drv2665.c
170
error = PTR_ERR(haptics->regulator);
drivers/input/misc/drv2665.c
172
"unable to get regulator, error: %d\n", error);
drivers/input/misc/drv2665.c
173
return error;
drivers/input/misc/drv2665.c
188
error = input_ff_create_memless(haptics->input_dev, NULL,
drivers/input/misc/drv2665.c
190
if (error) {
drivers/input/misc/drv2665.c
192
error);
drivers/input/misc/drv2665.c
193
return error;
drivers/input/misc/drv2665.c
203
error = PTR_ERR(haptics->regmap);
drivers/input/misc/drv2665.c
205
error);
drivers/input/misc/drv2665.c
206
return error;
drivers/input/misc/drv2665.c
209
error = drv2665_init(haptics);
drivers/input/misc/drv2665.c
210
if (error) {
drivers/input/misc/drv2665.c
211
dev_err(&client->dev, "Device init failed: %d\n", error);
drivers/input/misc/drv2665.c
212
return error;
drivers/input/misc/drv2665.c
215
error = input_register_device(haptics->input_dev);
drivers/input/misc/drv2665.c
216
if (error) {
drivers/input/misc/drv2665.c
218
error);
drivers/input/misc/drv2665.c
219
return error;
drivers/input/misc/drv2665.c
228
int error;
drivers/input/misc/drv2665.c
233
error = regmap_update_bits(haptics->regmap, DRV2665_CTRL_2,
drivers/input/misc/drv2665.c
235
if (error) {
drivers/input/misc/drv2665.c
238
return error;
drivers/input/misc/drv2665.c
241
error = regulator_disable(haptics->regulator);
drivers/input/misc/drv2665.c
242
if (error) {
drivers/input/misc/drv2665.c
247
return error;
drivers/input/misc/drv2665.c
257
int error;
drivers/input/misc/drv2665.c
262
error = regulator_enable(haptics->regulator);
drivers/input/misc/drv2665.c
263
if (error) {
drivers/input/misc/drv2665.c
265
return error;
drivers/input/misc/drv2665.c
268
error = regmap_update_bits(haptics->regmap, DRV2665_CTRL_2,
drivers/input/misc/drv2665.c
270
if (error) {
drivers/input/misc/drv2665.c
273
return error;
drivers/input/misc/drv2665.c
81
int error;
drivers/input/misc/drv2665.c
83
error = regmap_read(haptics->regmap, DRV2665_STATUS, &read_buf);
drivers/input/misc/drv2665.c
84
if (error) {
drivers/input/misc/drv2665.c
86
"Failed to read status: %d\n", error);
drivers/input/misc/drv2665.c
91
error = regmap_bulk_write(haptics->regmap,
drivers/input/misc/drv2665.c
95
if (error) {
drivers/input/misc/drv2665.c
97
"Failed to write FIFO: %d\n", error);
drivers/input/misc/drv2667.c
133
int error;
drivers/input/misc/drv2667.c
145
error = regmap_read(haptics->regmap, DRV2667_PAGE, &read_buf);
drivers/input/misc/drv2667.c
146
if (error) {
drivers/input/misc/drv2667.c
148
"Failed to read the page number: %d\n", error);
drivers/input/misc/drv2667.c
154
error = regmap_write(haptics->regmap,
drivers/input/misc/drv2667.c
156
if (error) {
drivers/input/misc/drv2667.c
158
"Failed to set the page: %d\n", error);
drivers/input/misc/drv2667.c
163
error = regmap_write(haptics->regmap, DRV2667_RAM_FREQ, freq);
drivers/input/misc/drv2667.c
164
if (error)
drivers/input/misc/drv2667.c
166
"Failed to set the frequency: %d\n", error);
drivers/input/misc/drv2667.c
171
error = regmap_write(haptics->regmap, DRV2667_PAGE, read_buf);
drivers/input/misc/drv2667.c
172
if (error) {
drivers/input/misc/drv2667.c
174
"Failed to set the page: %d\n", error);
drivers/input/misc/drv2667.c
179
return error;
drivers/input/misc/drv2667.c
185
int error;
drivers/input/misc/drv2667.c
188
error = regmap_write(haptics->regmap,
drivers/input/misc/drv2667.c
190
if (error) {
drivers/input/misc/drv2667.c
192
"Failed to set the page: %d\n", error);
drivers/input/misc/drv2667.c
196
error = regmap_write(haptics->regmap, DRV2667_RAM_AMP,
drivers/input/misc/drv2667.c
198
if (error) {
drivers/input/misc/drv2667.c
200
"Failed to set the amplitude: %d\n", error);
drivers/input/misc/drv2667.c
204
error = regmap_write(haptics->regmap,
drivers/input/misc/drv2667.c
206
if (error) {
drivers/input/misc/drv2667.c
208
"Failed to set the page: %d\n", error);
drivers/input/misc/drv2667.c
212
error = regmap_write(haptics->regmap,
drivers/input/misc/drv2667.c
214
if (error) {
drivers/input/misc/drv2667.c
216
"Failed to set the GO bit: %d\n", error);
drivers/input/misc/drv2667.c
219
error = regmap_update_bits(haptics->regmap, DRV2667_CTRL_2,
drivers/input/misc/drv2667.c
221
if (error) {
drivers/input/misc/drv2667.c
223
"Failed to unset the GO bit: %d\n", error);
drivers/input/misc/drv2667.c
248
int error;
drivers/input/misc/drv2667.c
252
error = regmap_update_bits(haptics->regmap, DRV2667_CTRL_2,
drivers/input/misc/drv2667.c
254
if (error)
drivers/input/misc/drv2667.c
256
"Failed to enter standby mode: %d\n", error);
drivers/input/misc/drv2667.c
280
int error;
drivers/input/misc/drv2667.c
286
error = regmap_register_patch(haptics->regmap,
drivers/input/misc/drv2667.c
289
if (error) {
drivers/input/misc/drv2667.c
292
error);
drivers/input/misc/drv2667.c
293
return error;
drivers/input/misc/drv2667.c
296
error = regmap_write(haptics->regmap, DRV2667_PAGE, haptics->page);
drivers/input/misc/drv2667.c
297
if (error) {
drivers/input/misc/drv2667.c
299
error);
drivers/input/misc/drv2667.c
303
error = drv2667_set_waveform_freq(haptics);
drivers/input/misc/drv2667.c
304
if (error)
drivers/input/misc/drv2667.c
307
error = regmap_register_patch(haptics->regmap,
drivers/input/misc/drv2667.c
310
if (error) {
drivers/input/misc/drv2667.c
313
error);
drivers/input/misc/drv2667.c
314
return error;
drivers/input/misc/drv2667.c
317
error = regmap_write(haptics->regmap, DRV2667_PAGE, DRV2667_PAGE_0);
drivers/input/misc/drv2667.c
318
return error;
drivers/input/misc/drv2667.c
323
return error;
drivers/input/misc/drv2667.c
339
int error;
drivers/input/misc/drv2667.c
347
error = PTR_ERR(haptics->regulator);
drivers/input/misc/drv2667.c
349
"unable to get regulator, error: %d\n", error);
drivers/input/misc/drv2667.c
350
return error;
drivers/input/misc/drv2667.c
365
error = input_ff_create_memless(haptics->input_dev, NULL,
drivers/input/misc/drv2667.c
367
if (error) {
drivers/input/misc/drv2667.c
369
error);
drivers/input/misc/drv2667.c
370
return error;
drivers/input/misc/drv2667.c
380
error = PTR_ERR(haptics->regmap);
drivers/input/misc/drv2667.c
382
error);
drivers/input/misc/drv2667.c
383
return error;
drivers/input/misc/drv2667.c
386
error = drv2667_init(haptics);
drivers/input/misc/drv2667.c
387
if (error) {
drivers/input/misc/drv2667.c
388
dev_err(&client->dev, "Device init failed: %d\n", error);
drivers/input/misc/drv2667.c
389
return error;
drivers/input/misc/drv2667.c
392
error = input_register_device(haptics->input_dev);
drivers/input/misc/drv2667.c
393
if (error) {
drivers/input/misc/drv2667.c
395
error);
drivers/input/misc/drv2667.c
396
return error;
drivers/input/misc/drv2667.c
405
int error;
drivers/input/misc/drv2667.c
410
error = regmap_update_bits(haptics->regmap, DRV2667_CTRL_2,
drivers/input/misc/drv2667.c
412
if (error) {
drivers/input/misc/drv2667.c
415
return error;
drivers/input/misc/drv2667.c
418
error = regulator_disable(haptics->regulator);
drivers/input/misc/drv2667.c
419
if (error) {
drivers/input/misc/drv2667.c
424
return error;
drivers/input/misc/drv2667.c
434
int error;
drivers/input/misc/drv2667.c
439
error = regulator_enable(haptics->regulator);
drivers/input/misc/drv2667.c
440
if (error) {
drivers/input/misc/drv2667.c
442
return error;
drivers/input/misc/drv2667.c
445
error = regmap_update_bits(haptics->regmap, DRV2667_CTRL_2,
drivers/input/misc/drv2667.c
447
if (error) {
drivers/input/misc/drv2667.c
450
return error;
drivers/input/misc/e3x0-button.c
100
return error;
drivers/input/misc/e3x0-button.c
103
error = input_register_device(input);
drivers/input/misc/e3x0-button.c
104
if (error) {
drivers/input/misc/e3x0-button.c
105
dev_err(&pdev->dev, "Can't register input device: %d\n", error);
drivers/input/misc/e3x0-button.c
106
return error;
drivers/input/misc/e3x0-button.c
65
int error;
drivers/input/misc/e3x0-button.c
85
error = devm_request_irq(&pdev->dev, irq_press,
drivers/input/misc/e3x0-button.c
88
if (error) {
drivers/input/misc/e3x0-button.c
90
irq_press, error);
drivers/input/misc/e3x0-button.c
91
return error;
drivers/input/misc/e3x0-button.c
94
error = devm_request_irq(&pdev->dev, irq_release,
drivers/input/misc/e3x0-button.c
97
if (error) {
drivers/input/misc/e3x0-button.c
99
irq_release, error);
drivers/input/misc/hisi_powerkey.c
101
if (error < 0) {
drivers/input/misc/hisi_powerkey.c
103
hi65xx_irq_info[i].name, error);
drivers/input/misc/hisi_powerkey.c
104
return error;
drivers/input/misc/hisi_powerkey.c
108
error = input_register_device(input);
drivers/input/misc/hisi_powerkey.c
109
if (error) {
drivers/input/misc/hisi_powerkey.c
110
dev_err(dev, "failed to register input device: %d\n", error);
drivers/input/misc/hisi_powerkey.c
111
return error;
drivers/input/misc/hisi_powerkey.c
76
int irq, i, error;
drivers/input/misc/hisi_powerkey.c
96
error = devm_request_any_context_irq(dev, irq,
drivers/input/misc/ibm-panel.c
123
int error;
drivers/input/misc/ibm-panel.c
138
error = device_property_read_u32_array(&client->dev,
drivers/input/misc/ibm-panel.c
142
if (error) {
drivers/input/misc/ibm-panel.c
155
error = input_register_device(panel->input);
drivers/input/misc/ibm-panel.c
156
if (error) {
drivers/input/misc/ibm-panel.c
158
"Failed to register input device: %d\n", error);
drivers/input/misc/ibm-panel.c
159
return error;
drivers/input/misc/ibm-panel.c
163
error = i2c_slave_register(client, ibm_panel_i2c_slave_cb);
drivers/input/misc/ibm-panel.c
164
if (error) {
drivers/input/misc/ibm-panel.c
166
"Failed to register as i2c slave: %d\n", error);
drivers/input/misc/ibm-panel.c
167
return error;
drivers/input/misc/ideapad_slidebar.c
171
int error;
drivers/input/misc/ideapad_slidebar.c
173
error = kstrtou8(buf, 0, &mode);
drivers/input/misc/ideapad_slidebar.c
174
if (error)
drivers/input/misc/ideapad_slidebar.c
175
return error;
drivers/input/misc/ims-pcu.c
1003
int error;
drivers/input/misc/ims-pcu.c
1014
error = led_classdev_register(pcu->dev, &backlight->cdev);
drivers/input/misc/ims-pcu.c
1015
if (error) {
drivers/input/misc/ims-pcu.c
1018
error);
drivers/input/misc/ims-pcu.c
1019
return error;
drivers/input/misc/ims-pcu.c
1067
int error;
drivers/input/misc/ims-pcu.c
1080
error = ims_pcu_set_info(pcu);
drivers/input/misc/ims-pcu.c
1088
if (error)
drivers/input/misc/ims-pcu.c
1089
return error;
drivers/input/misc/ims-pcu.c
1125
int error;
drivers/input/misc/ims-pcu.c
1127
error = kstrtoint(buf, 0, &value);
drivers/input/misc/ims-pcu.c
1128
if (error)
drivers/input/misc/ims-pcu.c
1129
return error;
drivers/input/misc/ims-pcu.c
1136
error = ims_pcu_execute_command(pcu, PCU_RESET, &reset_byte, 1);
drivers/input/misc/ims-pcu.c
1137
if (error) {
drivers/input/misc/ims-pcu.c
1140
error);
drivers/input/misc/ims-pcu.c
1141
return error;
drivers/input/misc/ims-pcu.c
1156
int error;
drivers/input/misc/ims-pcu.c
1158
error = kstrtoint(buf, 0, &value);
drivers/input/misc/ims-pcu.c
1159
if (error)
drivers/input/misc/ims-pcu.c
1160
return error;
drivers/input/misc/ims-pcu.c
1166
error = request_ihex_firmware(&fw, IMS_PCU_FIRMWARE_NAME, pcu->dev);
drivers/input/misc/ims-pcu.c
1167
if (error) {
drivers/input/misc/ims-pcu.c
1169
IMS_PCU_FIRMWARE_NAME, error);
drivers/input/misc/ims-pcu.c
1170
return error;
drivers/input/misc/ims-pcu.c
1183
error = ims_pcu_handle_firmware_update(pcu, fw);
drivers/input/misc/ims-pcu.c
1185
error = ims_pcu_switch_to_bootloader(pcu);
drivers/input/misc/ims-pcu.c
1187
if (error)
drivers/input/misc/ims-pcu.c
1188
return error;
drivers/input/misc/ims-pcu.c
1257
int error;
drivers/input/misc/ims-pcu.c
1260
error = ims_pcu_execute_command(pcu, OFN_GET_CONFIG,
drivers/input/misc/ims-pcu.c
1262
if (error)
drivers/input/misc/ims-pcu.c
1263
return error;
drivers/input/misc/ims-pcu.c
1277
int error;
drivers/input/misc/ims-pcu.c
1280
error = ims_pcu_execute_command(pcu, OFN_SET_CONFIG,
drivers/input/misc/ims-pcu.c
1282
if (error)
drivers/input/misc/ims-pcu.c
1283
return error;
drivers/input/misc/ims-pcu.c
1298
int error;
drivers/input/misc/ims-pcu.c
1302
error = ims_pcu_read_ofn_config(pcu, pcu->ofn_reg_addr, &data);
drivers/input/misc/ims-pcu.c
1303
if (error)
drivers/input/misc/ims-pcu.c
1304
return error;
drivers/input/misc/ims-pcu.c
1316
int error;
drivers/input/misc/ims-pcu.c
1319
error = kstrtou8(buf, 0, &value);
drivers/input/misc/ims-pcu.c
1320
if (error)
drivers/input/misc/ims-pcu.c
1321
return error;
drivers/input/misc/ims-pcu.c
1325
error = ims_pcu_write_ofn_config(pcu, pcu->ofn_reg_addr, value);
drivers/input/misc/ims-pcu.c
1326
if (error)
drivers/input/misc/ims-pcu.c
1327
return error;
drivers/input/misc/ims-pcu.c
1353
int error;
drivers/input/misc/ims-pcu.c
1356
error = kstrtou8(buf, 0, &value);
drivers/input/misc/ims-pcu.c
1357
if (error)
drivers/input/misc/ims-pcu.c
1358
return error;
drivers/input/misc/ims-pcu.c
1384
int error;
drivers/input/misc/ims-pcu.c
1388
error = ims_pcu_read_ofn_config(pcu, attr->addr, &data);
drivers/input/misc/ims-pcu.c
1389
if (error)
drivers/input/misc/ims-pcu.c
1390
return error;
drivers/input/misc/ims-pcu.c
1404
int error;
drivers/input/misc/ims-pcu.c
1408
error = kstrtoint(buf, 0, &value);
drivers/input/misc/ims-pcu.c
1409
if (error)
drivers/input/misc/ims-pcu.c
1410
return error;
drivers/input/misc/ims-pcu.c
1416
error = ims_pcu_read_ofn_config(pcu, attr->addr, &data);
drivers/input/misc/ims-pcu.c
1417
if (error)
drivers/input/misc/ims-pcu.c
1418
return error;
drivers/input/misc/ims-pcu.c
1425
error = ims_pcu_write_ofn_config(pcu, attr->addr, data);
drivers/input/misc/ims-pcu.c
1426
if (error)
drivers/input/misc/ims-pcu.c
1427
return error;
drivers/input/misc/ims-pcu.c
1525
int error;
drivers/input/misc/ims-pcu.c
1538
error = -ENOMEM;
drivers/input/misc/ims-pcu.c
1558
error = -ENOMEM;
drivers/input/misc/ims-pcu.c
1567
error = -ENOMEM;
drivers/input/misc/ims-pcu.c
1574
error = -ENOMEM;
drivers/input/misc/ims-pcu.c
1599
return error;
drivers/input/misc/ims-pcu.c
1735
int error;
drivers/input/misc/ims-pcu.c
1737
error = usb_submit_urb(pcu->urb_ctrl, GFP_KERNEL);
drivers/input/misc/ims-pcu.c
1738
if (error) {
drivers/input/misc/ims-pcu.c
1741
error);
drivers/input/misc/ims-pcu.c
1745
error = usb_submit_urb(pcu->urb_in, GFP_KERNEL);
drivers/input/misc/ims-pcu.c
1746
if (error) {
drivers/input/misc/ims-pcu.c
1749
error);
drivers/input/misc/ims-pcu.c
1767
int error;
drivers/input/misc/ims-pcu.c
1773
error = usb_control_msg(pcu->udev, usb_sndctrlpipe(pcu->udev, 0),
drivers/input/misc/ims-pcu.c
1779
if (error < 0) {
drivers/input/misc/ims-pcu.c
1781
error);
drivers/input/misc/ims-pcu.c
1782
return error;
drivers/input/misc/ims-pcu.c
1785
error = usb_control_msg(pcu->udev, usb_sndctrlpipe(pcu->udev, 0),
drivers/input/misc/ims-pcu.c
1790
if (error < 0) {
drivers/input/misc/ims-pcu.c
1792
error);
drivers/input/misc/ims-pcu.c
1793
return error;
drivers/input/misc/ims-pcu.c
1801
int error;
drivers/input/misc/ims-pcu.c
1803
error = ims_pcu_get_info(pcu);
drivers/input/misc/ims-pcu.c
1804
if (error)
drivers/input/misc/ims-pcu.c
1805
return error;
drivers/input/misc/ims-pcu.c
1807
error = ims_pcu_execute_query(pcu, GET_FW_VERSION);
drivers/input/misc/ims-pcu.c
1808
if (error) {
drivers/input/misc/ims-pcu.c
1810
"GET_FW_VERSION command failed, error: %d\n", error);
drivers/input/misc/ims-pcu.c
1811
return error;
drivers/input/misc/ims-pcu.c
1819
error = ims_pcu_execute_query(pcu, GET_BL_VERSION);
drivers/input/misc/ims-pcu.c
1820
if (error) {
drivers/input/misc/ims-pcu.c
1822
"GET_BL_VERSION command failed, error: %d\n", error);
drivers/input/misc/ims-pcu.c
1823
return error;
drivers/input/misc/ims-pcu.c
1831
error = ims_pcu_execute_query(pcu, RESET_REASON);
drivers/input/misc/ims-pcu.c
1832
if (error) {
drivers/input/misc/ims-pcu.c
1834
"RESET_REASON command failed, error: %d\n", error);
drivers/input/misc/ims-pcu.c
1835
return error;
drivers/input/misc/ims-pcu.c
1855
int error;
drivers/input/misc/ims-pcu.c
1857
error = ims_pcu_execute_query(pcu, GET_DEVICE_ID);
drivers/input/misc/ims-pcu.c
1858
if (error) {
drivers/input/misc/ims-pcu.c
1860
"GET_DEVICE_ID command failed, error: %d\n", error);
drivers/input/misc/ims-pcu.c
1861
return error;
drivers/input/misc/ims-pcu.c
1875
int error;
drivers/input/misc/ims-pcu.c
1877
error = ims_pcu_get_device_info(pcu);
drivers/input/misc/ims-pcu.c
1878
if (error) {
drivers/input/misc/ims-pcu.c
1880
return error;
drivers/input/misc/ims-pcu.c
1883
error = ims_pcu_identify_type(pcu, &pcu->device_id);
drivers/input/misc/ims-pcu.c
1884
if (error) {
drivers/input/misc/ims-pcu.c
1886
"Failed to identify device, error: %d\n", error);
drivers/input/misc/ims-pcu.c
1905
error = ims_pcu_setup_backlight(pcu);
drivers/input/misc/ims-pcu.c
1906
if (error)
drivers/input/misc/ims-pcu.c
1907
return error;
drivers/input/misc/ims-pcu.c
1910
error = ims_pcu_setup_buttons(pcu, info->keymap, info->keymap_len);
drivers/input/misc/ims-pcu.c
1911
if (error)
drivers/input/misc/ims-pcu.c
1915
error = ims_pcu_setup_gamepad(pcu);
drivers/input/misc/ims-pcu.c
1916
if (error)
drivers/input/misc/ims-pcu.c
1928
return error;
drivers/input/misc/ims-pcu.c
1946
int error;
drivers/input/misc/ims-pcu.c
1948
error = ims_pcu_execute_bl_command(pcu, QUERY_DEVICE, NULL, 0,
drivers/input/misc/ims-pcu.c
1950
if (error) {
drivers/input/misc/ims-pcu.c
1952
return error;
drivers/input/misc/ims-pcu.c
1964
error = request_firmware_nowait(THIS_MODULE, true,
drivers/input/misc/ims-pcu.c
1968
if (error) {
drivers/input/misc/ims-pcu.c
1992
int error;
drivers/input/misc/ims-pcu.c
2005
error = ims_pcu_parse_cdc_data(intf, pcu);
drivers/input/misc/ims-pcu.c
2006
if (error)
drivers/input/misc/ims-pcu.c
2009
error = usb_driver_claim_interface(&ims_pcu_driver,
drivers/input/misc/ims-pcu.c
2011
if (error) {
drivers/input/misc/ims-pcu.c
2014
error);
drivers/input/misc/ims-pcu.c
2020
error = ims_pcu_buffers_alloc(pcu);
drivers/input/misc/ims-pcu.c
2021
if (error)
drivers/input/misc/ims-pcu.c
2024
error = ims_pcu_start_io(pcu);
drivers/input/misc/ims-pcu.c
2025
if (error)
drivers/input/misc/ims-pcu.c
2028
error = ims_pcu_line_setup(pcu);
drivers/input/misc/ims-pcu.c
2029
if (error)
drivers/input/misc/ims-pcu.c
2032
error = pcu->bootloader_mode ?
drivers/input/misc/ims-pcu.c
2035
if (error)
drivers/input/misc/ims-pcu.c
2048
return error;
drivers/input/misc/ims-pcu.c
206
int error;
drivers/input/misc/ims-pcu.c
236
error = input_register_device(input);
drivers/input/misc/ims-pcu.c
237
if (error) {
drivers/input/misc/ims-pcu.c
240
error);
drivers/input/misc/ims-pcu.c
242
return error;
drivers/input/misc/ims-pcu.c
287
int error;
drivers/input/misc/ims-pcu.c
294
error = -ENOMEM;
drivers/input/misc/ims-pcu.c
323
error = input_register_device(input);
drivers/input/misc/ims-pcu.c
324
if (error) {
drivers/input/misc/ims-pcu.c
327
error);
drivers/input/misc/ims-pcu.c
337
return error;
drivers/input/misc/ims-pcu.c
511
int error;
drivers/input/misc/ims-pcu.c
513
error = usb_bulk_msg(pcu->udev,
drivers/input/misc/ims-pcu.c
518
if (error < 0) {
drivers/input/misc/ims-pcu.c
521
command, chunk, error);
drivers/input/misc/ims-pcu.c
522
return error;
drivers/input/misc/ims-pcu.c
535
int error;
drivers/input/misc/ims-pcu.c
559
error = ims_pcu_send_cmd_chunk(pcu, command,
drivers/input/misc/ims-pcu.c
561
if (error)
drivers/input/misc/ims-pcu.c
562
return error;
drivers/input/misc/ims-pcu.c
578
error = ims_pcu_send_cmd_chunk(pcu, command, ++chunk, count);
drivers/input/misc/ims-pcu.c
579
if (error)
drivers/input/misc/ims-pcu.c
580
return error;
drivers/input/misc/ims-pcu.c
598
int error;
drivers/input/misc/ims-pcu.c
603
error = ims_pcu_send_command(pcu, command, data, len);
drivers/input/misc/ims-pcu.c
604
if (error)
drivers/input/misc/ims-pcu.c
605
return error;
drivers/input/misc/ims-pcu.c
652
int error;
drivers/input/misc/ims-pcu.c
658
error = __ims_pcu_execute_command(pcu,
drivers/input/misc/ims-pcu.c
662
if (error) {
drivers/input/misc/ims-pcu.c
665
pcu->cmd_buf[0], error);
drivers/input/misc/ims-pcu.c
666
return error;
drivers/input/misc/ims-pcu.c
692
int error;
drivers/input/misc/ims-pcu.c
694
error = ims_pcu_execute_query(pcu, GET_INFO);
drivers/input/misc/ims-pcu.c
695
if (error) {
drivers/input/misc/ims-pcu.c
697
"GET_INFO command failed, error: %d\n", error);
drivers/input/misc/ims-pcu.c
698
return error;
drivers/input/misc/ims-pcu.c
716
int error;
drivers/input/misc/ims-pcu.c
725
error = ims_pcu_execute_command(pcu, SET_INFO,
drivers/input/misc/ims-pcu.c
728
if (error) {
drivers/input/misc/ims-pcu.c
731
error);
drivers/input/misc/ims-pcu.c
732
return error;
drivers/input/misc/ims-pcu.c
740
int error;
drivers/input/misc/ims-pcu.c
743
error = ims_pcu_execute_command(pcu, JUMP_TO_BTLDR, NULL, 0);
drivers/input/misc/ims-pcu.c
744
if (error) {
drivers/input/misc/ims-pcu.c
747
error);
drivers/input/misc/ims-pcu.c
748
return error;
drivers/input/misc/ims-pcu.c
783
int error;
drivers/input/misc/ims-pcu.c
789
error = ims_pcu_execute_bl_command(pcu, READ_APP, NULL, 5,
drivers/input/misc/ims-pcu.c
791
if (error) {
drivers/input/misc/ims-pcu.c
794
addr, len, error);
drivers/input/misc/ims-pcu.c
795
return error;
drivers/input/misc/ims-pcu.c
827
int error;
drivers/input/misc/ims-pcu.c
829
error = ims_pcu_execute_bl_command(pcu, ERASE_APP, NULL, 0, 2000);
drivers/input/misc/ims-pcu.c
830
if (error) {
drivers/input/misc/ims-pcu.c
833
error);
drivers/input/misc/ims-pcu.c
834
return error;
drivers/input/misc/ims-pcu.c
858
error = ims_pcu_execute_bl_command(pcu, PROGRAM_DEVICE,
drivers/input/misc/ims-pcu.c
861
if (error) {
drivers/input/misc/ims-pcu.c
864
addr, len, error);
drivers/input/misc/ims-pcu.c
865
return error;
drivers/input/misc/ims-pcu.c
869
error = ims_pcu_verify_block(pcu, addr, len, rec->data);
drivers/input/misc/ims-pcu.c
870
if (error)
drivers/input/misc/ims-pcu.c
871
return error;
drivers/input/misc/ims-pcu.c
880
error = ims_pcu_execute_bl_command(pcu, PROGRAM_COMPLETE,
drivers/input/misc/ims-pcu.c
882
if (error)
drivers/input/misc/ims-pcu.c
885
error);
drivers/input/misc/ims-pcu.c
921
int error;
drivers/input/misc/ims-pcu.c
929
error = ihex_validate_fw(fw);
drivers/input/misc/ims-pcu.c
930
if (error) {
drivers/input/misc/ims-pcu.c
959
int error;
drivers/input/misc/ims-pcu.c
963
error = ims_pcu_execute_command(pcu, SET_BRIGHTNESS,
drivers/input/misc/ims-pcu.c
965
if (error && error != -ENODEV)
drivers/input/misc/ims-pcu.c
968
value, error);
drivers/input/misc/ims-pcu.c
970
return error;
drivers/input/misc/ims-pcu.c
981
int error;
drivers/input/misc/ims-pcu.c
985
error = ims_pcu_execute_query(pcu, GET_BRIGHTNESS);
drivers/input/misc/ims-pcu.c
986
if (error) {
drivers/input/misc/ims-pcu.c
989
error);
drivers/input/misc/iqs269a.c
1042
error = iqs269_parse_chan(iqs269, ch_node);
drivers/input/misc/iqs269a.c
1043
if (error)
drivers/input/misc/iqs269a.c
1044
return error;
drivers/input/misc/iqs269a.c
1102
error = device_property_read_u32_array(&client->dev,
drivers/input/misc/iqs269a.c
1105
if (error) {
drivers/input/misc/iqs269a.c
1107
error);
drivers/input/misc/iqs269a.c
1108
return error;
drivers/input/misc/iqs269a.c
1190
int error;
drivers/input/misc/iqs269a.c
1200
error = regmap_multi_reg_write(iqs269->regmap, iqs269_tws_init,
drivers/input/misc/iqs269a.c
1202
if (error)
drivers/input/misc/iqs269a.c
1203
return error;
drivers/input/misc/iqs269a.c
1206
error = regmap_update_bits(iqs269->regmap, IQS269_HALL_UI,
drivers/input/misc/iqs269a.c
1209
if (error)
drivers/input/misc/iqs269a.c
1210
return error;
drivers/input/misc/iqs269a.c
1212
error = regmap_raw_write(iqs269->regmap, IQS269_SYS_SETTINGS,
drivers/input/misc/iqs269a.c
1214
if (error)
drivers/input/misc/iqs269a.c
1215
return error;
drivers/input/misc/iqs269a.c
1232
int error, i, j;
drivers/input/misc/iqs269a.c
1309
error = input_register_device(iqs269->slider[i]);
drivers/input/misc/iqs269a.c
1310
if (error) {
drivers/input/misc/iqs269a.c
1312
"Failed to register slider %d: %d\n", i, error);
drivers/input/misc/iqs269a.c
1313
return error;
drivers/input/misc/iqs269a.c
1325
int error, i, j;
drivers/input/misc/iqs269a.c
1329
error = regmap_raw_read(iqs269->regmap, IQS269_SYS_FLAGS, &flags,
drivers/input/misc/iqs269a.c
1331
if (error) {
drivers/input/misc/iqs269a.c
1333
error);
drivers/input/misc/iqs269a.c
1334
return error;
drivers/input/misc/iqs269a.c
1345
error = iqs269_dev_init(iqs269);
drivers/input/misc/iqs269a.c
1346
if (error)
drivers/input/misc/iqs269a.c
1348
"Failed to re-initialize device: %d\n", error);
drivers/input/misc/iqs269a.c
1350
return error;
drivers/input/misc/iqs269a.c
1358
error = regmap_raw_read(iqs269->regmap, IQS269_SLIDER_X,
drivers/input/misc/iqs269a.c
1360
if (error) {
drivers/input/misc/iqs269a.c
1362
"Failed to read slider position: %d\n", error);
drivers/input/misc/iqs269a.c
1363
return error;
drivers/input/misc/iqs269a.c
1484
int error;
drivers/input/misc/iqs269a.c
1499
error = regmap_raw_read(iqs269->regmap,
drivers/input/misc/iqs269a.c
1506
if (error)
drivers/input/misc/iqs269a.c
1507
return error;
drivers/input/misc/iqs269a.c
1519
int error;
drivers/input/misc/iqs269a.c
1523
error = regmap_read(iqs269->regmap, IQS269_CAL_DATA_A, &val);
drivers/input/misc/iqs269a.c
1528
if (error)
drivers/input/misc/iqs269a.c
1529
return error;
drivers/input/misc/iqs269a.c
1564
int error;
drivers/input/misc/iqs269a.c
1566
error = kstrtouint(buf, 10, &val);
drivers/input/misc/iqs269a.c
1567
if (error)
drivers/input/misc/iqs269a.c
1568
return error;
drivers/input/misc/iqs269a.c
1592
int error;
drivers/input/misc/iqs269a.c
1594
error = kstrtouint(buf, 10, &val);
drivers/input/misc/iqs269a.c
1595
if (error)
drivers/input/misc/iqs269a.c
1596
return error;
drivers/input/misc/iqs269a.c
1622
int error;
drivers/input/misc/iqs269a.c
1624
error = kstrtouint(buf, 10, &val);
drivers/input/misc/iqs269a.c
1625
if (error)
drivers/input/misc/iqs269a.c
1626
return error;
drivers/input/misc/iqs269a.c
1644
int error;
drivers/input/misc/iqs269a.c
1646
error = iqs269_ati_mode_get(iqs269, iqs269->ch_num, &val);
drivers/input/misc/iqs269a.c
1647
if (error)
drivers/input/misc/iqs269a.c
1648
return error;
drivers/input/misc/iqs269a.c
1659
int error;
drivers/input/misc/iqs269a.c
1661
error = kstrtouint(buf, 10, &val);
drivers/input/misc/iqs269a.c
1662
if (error)
drivers/input/misc/iqs269a.c
1663
return error;
drivers/input/misc/iqs269a.c
1665
error = iqs269_ati_mode_set(iqs269, iqs269->ch_num, val);
drivers/input/misc/iqs269a.c
1666
if (error)
drivers/input/misc/iqs269a.c
1667
return error;
drivers/input/misc/iqs269a.c
1677
int error;
drivers/input/misc/iqs269a.c
1679
error = iqs269_ati_base_get(iqs269, iqs269->ch_num, &val);
drivers/input/misc/iqs269a.c
1680
if (error)
drivers/input/misc/iqs269a.c
1681
return error;
drivers/input/misc/iqs269a.c
1692
int error;
drivers/input/misc/iqs269a.c
1694
error = kstrtouint(buf, 10, &val);
drivers/input/misc/iqs269a.c
1695
if (error)
drivers/input/misc/iqs269a.c
1696
return error;
drivers/input/misc/iqs269a.c
1698
error = iqs269_ati_base_set(iqs269, iqs269->ch_num, val);
drivers/input/misc/iqs269a.c
1699
if (error)
drivers/input/misc/iqs269a.c
1700
return error;
drivers/input/misc/iqs269a.c
1710
int error;
drivers/input/misc/iqs269a.c
1712
error = iqs269_ati_target_get(iqs269, iqs269->ch_num, &val);
drivers/input/misc/iqs269a.c
1713
if (error)
drivers/input/misc/iqs269a.c
1714
return error;
drivers/input/misc/iqs269a.c
1725
int error;
drivers/input/misc/iqs269a.c
1727
error = kstrtouint(buf, 10, &val);
drivers/input/misc/iqs269a.c
1728
if (error)
drivers/input/misc/iqs269a.c
1729
return error;
drivers/input/misc/iqs269a.c
1731
error = iqs269_ati_target_set(iqs269, iqs269->ch_num, val);
drivers/input/misc/iqs269a.c
1732
if (error)
drivers/input/misc/iqs269a.c
1733
return error;
drivers/input/misc/iqs269a.c
1755
int error;
drivers/input/misc/iqs269a.c
1757
error = kstrtouint(buf, 10, &val);
drivers/input/misc/iqs269a.c
1758
if (error)
drivers/input/misc/iqs269a.c
1759
return error;
drivers/input/misc/iqs269a.c
1767
error = iqs269_dev_init(iqs269);
drivers/input/misc/iqs269a.c
1772
if (error)
drivers/input/misc/iqs269a.c
1773
return error;
drivers/input/misc/iqs269a.c
1815
int error;
drivers/input/misc/iqs269a.c
1826
error = PTR_ERR(iqs269->regmap);
drivers/input/misc/iqs269a.c
1828
error);
drivers/input/misc/iqs269a.c
1829
return error;
drivers/input/misc/iqs269a.c
1837
error = regmap_raw_read(iqs269->regmap, IQS269_VER_INFO,
drivers/input/misc/iqs269a.c
1839
if (error)
drivers/input/misc/iqs269a.c
1840
return error;
drivers/input/misc/iqs269a.c
1848
error = iqs269_parse_prop(iqs269);
drivers/input/misc/iqs269a.c
1849
if (error)
drivers/input/misc/iqs269a.c
1850
return error;
drivers/input/misc/iqs269a.c
1852
error = iqs269_dev_init(iqs269);
drivers/input/misc/iqs269a.c
1853
if (error) {
drivers/input/misc/iqs269a.c
1855
error);
drivers/input/misc/iqs269a.c
1856
return error;
drivers/input/misc/iqs269a.c
1859
error = iqs269_input_init(iqs269);
drivers/input/misc/iqs269a.c
1860
if (error)
drivers/input/misc/iqs269a.c
1861
return error;
drivers/input/misc/iqs269a.c
1863
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/misc/iqs269a.c
1866
if (error) {
drivers/input/misc/iqs269a.c
1867
dev_err(&client->dev, "Failed to request IRQ: %d\n", error);
drivers/input/misc/iqs269a.c
1868
return error;
drivers/input/misc/iqs269a.c
1881
error = input_register_device(iqs269->keypad);
drivers/input/misc/iqs269a.c
1882
if (error) {
drivers/input/misc/iqs269a.c
1883
dev_err(&client->dev, "Failed to register keypad: %d\n", error);
drivers/input/misc/iqs269a.c
1884
return error;
drivers/input/misc/iqs269a.c
1887
return error;
drivers/input/misc/iqs269a.c
1904
int error;
drivers/input/misc/iqs269a.c
1912
error = regmap_write(iqs269->regmap, IQS269_SYS_SETTINGS, general);
drivers/input/misc/iqs269a.c
1917
return error;
drivers/input/misc/iqs269a.c
1924
int error;
drivers/input/misc/iqs269a.c
1932
error = regmap_write(iqs269->regmap, IQS269_SYS_SETTINGS,
drivers/input/misc/iqs269a.c
1934
if (!error)
drivers/input/misc/iqs269a.c
1935
error = regmap_write(iqs269->regmap, IQS269_SYS_SETTINGS,
drivers/input/misc/iqs269a.c
1941
return error;
drivers/input/misc/iqs269a.c
524
int count, error, i;
drivers/input/misc/iqs269a.c
533
error = fwnode_property_read_u32_array(fwnode, propname, val, count);
drivers/input/misc/iqs269a.c
534
if (error)
drivers/input/misc/iqs269a.c
535
return error;
drivers/input/misc/iqs269a.c
556
int error, i;
drivers/input/misc/iqs269a.c
558
error = fwnode_property_read_u32(ch_node, "reg", ®);
drivers/input/misc/iqs269a.c
559
if (error) {
drivers/input/misc/iqs269a.c
561
error);
drivers/input/misc/iqs269a.c
562
return error;
drivers/input/misc/iqs269a.c
584
error = iqs269_parse_mask(ch_node, "azoteq,rx-enable",
drivers/input/misc/iqs269a.c
586
if (error) {
drivers/input/misc/iqs269a.c
588
reg, error);
drivers/input/misc/iqs269a.c
589
return error;
drivers/input/misc/iqs269a.c
592
error = iqs269_parse_mask(ch_node, "azoteq,tx-enable",
drivers/input/misc/iqs269a.c
594
if (error) {
drivers/input/misc/iqs269a.c
596
reg, error);
drivers/input/misc/iqs269a.c
597
return error;
drivers/input/misc/iqs269a.c
682
error = iqs269_ati_mode_set(iqs269, reg, val);
drivers/input/misc/iqs269a.c
683
if (error) {
drivers/input/misc/iqs269a.c
686
return error;
drivers/input/misc/iqs269a.c
691
error = iqs269_ati_base_set(iqs269, reg, val);
drivers/input/misc/iqs269a.c
692
if (error) {
drivers/input/misc/iqs269a.c
695
return error;
drivers/input/misc/iqs269a.c
700
error = iqs269_ati_target_set(iqs269, reg, val);
drivers/input/misc/iqs269a.c
701
if (error) {
drivers/input/misc/iqs269a.c
705
return error;
drivers/input/misc/iqs269a.c
709
error = iqs269_parse_mask(ch_node, "azoteq,assoc-select",
drivers/input/misc/iqs269a.c
711
if (error) {
drivers/input/misc/iqs269a.c
713
reg, error);
drivers/input/misc/iqs269a.c
714
return error;
drivers/input/misc/iqs269a.c
767
error = fwnode_property_read_u32(ev_node, "linux,code", &val);
drivers/input/misc/iqs269a.c
768
if (error == -EINVAL) {
drivers/input/misc/iqs269a.c
770
} else if (error) {
drivers/input/misc/iqs269a.c
773
error);
drivers/input/misc/iqs269a.c
774
return error;
drivers/input/misc/iqs269a.c
806
int error;
drivers/input/misc/iqs269a.c
811
error = regmap_raw_read(iqs269->regmap, IQS269_SYS_SETTINGS, sys_reg,
drivers/input/misc/iqs269a.c
813
if (error)
drivers/input/misc/iqs269a.c
814
return error;
drivers/input/misc/iqs626a.c
1125
error = iqs626_parse_pins(iqs626, ch_node, "azoteq,rx-enable",
drivers/input/misc/iqs626a.c
1127
if (error)
drivers/input/misc/iqs626a.c
1128
return error;
drivers/input/misc/iqs626a.c
1130
error = iqs626_parse_pins(iqs626, ch_node, "azoteq,tx-enable",
drivers/input/misc/iqs626a.c
1132
if (error)
drivers/input/misc/iqs626a.c
1133
return error;
drivers/input/misc/iqs626a.c
1228
int error, i;
drivers/input/misc/iqs626a.c
1242
error = regmap_raw_read(iqs626->regmap, IQS626_SYS_SETTINGS, sys_reg,
drivers/input/misc/iqs626a.c
1244
if (error)
drivers/input/misc/iqs626a.c
1245
return error;
drivers/input/misc/iqs626a.c
1374
error = iqs626_parse_channel(iqs626, ch_node, i);
drivers/input/misc/iqs626a.c
1375
if (error)
drivers/input/misc/iqs626a.c
1376
return error;
drivers/input/misc/iqs626a.c
1397
error = regmap_raw_write(iqs626->regmap, IQS626_SYS_SETTINGS,
drivers/input/misc/iqs626a.c
1399
if (error)
drivers/input/misc/iqs626a.c
1400
return error;
drivers/input/misc/iqs626a.c
1411
int error, i, j;
drivers/input/misc/iqs626a.c
1478
error = input_register_device(iqs626->trackpad);
drivers/input/misc/iqs626a.c
1479
if (error)
drivers/input/misc/iqs626a.c
1481
error);
drivers/input/misc/iqs626a.c
1483
return error;
drivers/input/misc/iqs626a.c
1492
int error, i, j;
drivers/input/misc/iqs626a.c
1496
error = regmap_raw_read(iqs626->regmap, IQS626_SYS_FLAGS, &flags,
drivers/input/misc/iqs626a.c
1498
if (error) {
drivers/input/misc/iqs626a.c
1500
error);
drivers/input/misc/iqs626a.c
1501
return error;
drivers/input/misc/iqs626a.c
1512
error = regmap_raw_write(iqs626->regmap, IQS626_SYS_SETTINGS,
drivers/input/misc/iqs626a.c
1514
if (error)
drivers/input/misc/iqs626a.c
1516
"Failed to re-initialize device: %d\n", error);
drivers/input/misc/iqs626a.c
1518
return error;
drivers/input/misc/iqs626a.c
1530
error = regmap_raw_read(iqs626->regmap, IQS626_HALL_OUTPUT,
drivers/input/misc/iqs626a.c
1532
if (error) {
drivers/input/misc/iqs626a.c
1534
"Failed to read Hall output: %d\n", error);
drivers/input/misc/iqs626a.c
1535
return error;
drivers/input/misc/iqs626a.c
1632
int error;
drivers/input/misc/iqs626a.c
1643
error = PTR_ERR(iqs626->regmap);
drivers/input/misc/iqs626a.c
1645
error);
drivers/input/misc/iqs626a.c
1646
return error;
drivers/input/misc/iqs626a.c
1651
error = regmap_raw_read(iqs626->regmap, IQS626_VER_INFO, &ver_info,
drivers/input/misc/iqs626a.c
1653
if (error)
drivers/input/misc/iqs626a.c
1654
return error;
drivers/input/misc/iqs626a.c
1662
error = iqs626_parse_prop(iqs626);
drivers/input/misc/iqs626a.c
1663
if (error)
drivers/input/misc/iqs626a.c
1664
return error;
drivers/input/misc/iqs626a.c
1666
error = iqs626_input_init(iqs626);
drivers/input/misc/iqs626a.c
1667
if (error)
drivers/input/misc/iqs626a.c
1668
return error;
drivers/input/misc/iqs626a.c
1670
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/misc/iqs626a.c
1673
if (error) {
drivers/input/misc/iqs626a.c
1674
dev_err(&client->dev, "Failed to request IRQ: %d\n", error);
drivers/input/misc/iqs626a.c
1675
return error;
drivers/input/misc/iqs626a.c
1688
error = input_register_device(iqs626->keypad);
drivers/input/misc/iqs626a.c
1689
if (error)
drivers/input/misc/iqs626a.c
1690
dev_err(&client->dev, "Failed to register keypad: %d\n", error);
drivers/input/misc/iqs626a.c
1692
return error;
drivers/input/misc/iqs626a.c
1700
int error;
drivers/input/misc/iqs626a.c
1712
error = regmap_update_bits(iqs626->regmap, IQS626_SYS_SETTINGS,
drivers/input/misc/iqs626a.c
1714
if (error)
drivers/input/misc/iqs626a.c
1721
error = regmap_read_poll_timeout(iqs626->regmap, IQS626_SYS_FLAGS, val,
drivers/input/misc/iqs626a.c
1725
if (error)
drivers/input/misc/iqs626a.c
1728
error = regmap_update_bits(iqs626->regmap, IQS626_SYS_SETTINGS,
drivers/input/misc/iqs626a.c
1732
if (error)
drivers/input/misc/iqs626a.c
1740
error = regmap_read_poll_timeout(iqs626->regmap, IQS626_SYS_FLAGS, val,
drivers/input/misc/iqs626a.c
1751
return error;
drivers/input/misc/iqs626a.c
1759
int error;
drivers/input/misc/iqs626a.c
1766
error = regmap_update_bits(iqs626->regmap, IQS626_SYS_SETTINGS,
drivers/input/misc/iqs626a.c
1768
if (error)
drivers/input/misc/iqs626a.c
1775
error = regmap_read_poll_timeout(iqs626->regmap, IQS626_SYS_FLAGS, val,
drivers/input/misc/iqs626a.c
1779
if (error)
drivers/input/misc/iqs626a.c
1782
error = regmap_update_bits(iqs626->regmap, IQS626_SYS_SETTINGS,
drivers/input/misc/iqs626a.c
1784
if (error)
drivers/input/misc/iqs626a.c
1792
error = iqs626_report(iqs626);
drivers/input/misc/iqs626a.c
1798
return error;
drivers/input/misc/iqs626a.c
666
int error, count, i;
drivers/input/misc/iqs626a.c
684
error = fwnode_property_read_u32_array(ch_node, propname, val, count);
drivers/input/misc/iqs626a.c
685
if (error) {
drivers/input/misc/iqs626a.c
688
fwnode_get_name(ch_node), error);
drivers/input/misc/iqs626a.c
689
return error;
drivers/input/misc/iqs626a.c
715
int error, count, i;
drivers/input/misc/iqs626a.c
819
error = fwnode_property_read_u32_array(ch_node, "linux,keycodes",
drivers/input/misc/iqs626a.c
821
if (error) {
drivers/input/misc/iqs626a.c
822
dev_err(&client->dev, "Failed to read keycodes: %d\n", error);
drivers/input/misc/iqs626a.c
823
return error;
drivers/input/misc/iqs626a.c
880
int error, i;
drivers/input/misc/iqs626a.c
907
error = iqs626_parse_ati_target(iqs626, ch_node, ch_id);
drivers/input/misc/iqs626a.c
908
if (error)
drivers/input/misc/iqs626a.c
909
return error;
drivers/input/misc/iqs626a.c
911
error = iqs626_parse_events(iqs626, ch_node, ch_id);
drivers/input/misc/iqs626a.c
912
if (error)
drivers/input/misc/iqs626a.c
913
return error;
drivers/input/misc/iqs7222.c
1562
int error;
drivers/input/misc/iqs7222.c
1572
error = iqs7222_irq_poll(iqs7222, IQS7222_RESET_TIMEOUT_MS);
drivers/input/misc/iqs7222.c
1573
if (error)
drivers/input/misc/iqs7222.c
1574
dev_err(&client->dev, "Failed to reset device: %d\n", error);
drivers/input/misc/iqs7222.c
1576
return error;
drivers/input/misc/iqs7222.c
1689
int error;
drivers/input/misc/iqs7222.c
1691
error = iqs7222_read_burst(iqs7222, reg, &val_buf, sizeof(val_buf));
drivers/input/misc/iqs7222.c
1692
if (error)
drivers/input/misc/iqs7222.c
1693
return error;
drivers/input/misc/iqs7222.c
1771
int error, i;
drivers/input/misc/iqs7222.c
1779
error = iqs7222_read_word(iqs7222, IQS7222_SYS_SETUP, &sys_setup);
drivers/input/misc/iqs7222.c
1780
if (error)
drivers/input/misc/iqs7222.c
1781
return error;
drivers/input/misc/iqs7222.c
1788
error = iqs7222_write_word(iqs7222, IQS7222_SYS_SETUP,
drivers/input/misc/iqs7222.c
1791
if (error)
drivers/input/misc/iqs7222.c
1792
return error;
drivers/input/misc/iqs7222.c
1797
error = iqs7222_irq_poll(iqs7222,
drivers/input/misc/iqs7222.c
1799
if (error)
drivers/input/misc/iqs7222.c
1802
error = iqs7222_read_word(iqs7222, IQS7222_SYS_STATUS,
drivers/input/misc/iqs7222.c
1804
if (error)
drivers/input/misc/iqs7222.c
1805
return error;
drivers/input/misc/iqs7222.c
1842
int error, i, j, k;
drivers/input/misc/iqs7222.c
1849
error = iqs7222_write_word(iqs7222, IQS7222_SYS_SETUP,
drivers/input/misc/iqs7222.c
1852
if (error)
drivers/input/misc/iqs7222.c
1853
return error;
drivers/input/misc/iqs7222.c
1864
error = iqs7222_read_word(iqs7222,
drivers/input/misc/iqs7222.c
1867
if (error)
drivers/input/misc/iqs7222.c
1868
return error;
drivers/input/misc/iqs7222.c
1870
error = iqs7222_write_word(iqs7222,
drivers/input/misc/iqs7222.c
1873
if (error)
drivers/input/misc/iqs7222.c
1874
return error;
drivers/input/misc/iqs7222.c
1899
error = iqs7222_read_burst(iqs7222, reg,
drivers/input/misc/iqs7222.c
1908
error = iqs7222_write_burst(iqs7222, reg,
drivers/input/misc/iqs7222.c
1913
error = -EINVAL;
drivers/input/misc/iqs7222.c
1916
if (error)
drivers/input/misc/iqs7222.c
1925
if (error)
drivers/input/misc/iqs7222.c
1926
return error;
drivers/input/misc/iqs7222.c
1932
error = iqs7222_read_word(iqs7222,
drivers/input/misc/iqs7222.c
1935
if (error)
drivers/input/misc/iqs7222.c
1936
return error;
drivers/input/misc/iqs7222.c
1938
error = iqs7222_write_word(iqs7222,
drivers/input/misc/iqs7222.c
1941
if (error)
drivers/input/misc/iqs7222.c
1942
return error;
drivers/input/misc/iqs7222.c
1959
int error, i;
drivers/input/misc/iqs7222.c
1961
error = iqs7222_read_burst(iqs7222, IQS7222_PROD_NUM, dev_id,
drivers/input/misc/iqs7222.c
1963
if (error)
drivers/input/misc/iqs7222.c
1964
return error;
drivers/input/misc/iqs7222.c
1999
int error, count, i;
drivers/input/misc/iqs7222.c
2019
error = fwnode_property_read_u32_array(child_node,
drivers/input/misc/iqs7222.c
2022
if (error) {
drivers/input/misc/iqs7222.c
2024
fwnode_get_name(child_node), error);
drivers/input/misc/iqs7222.c
2025
return error;
drivers/input/misc/iqs7222.c
2078
int error;
drivers/input/misc/iqs7222.c
2111
error = fwnode_property_read_u32(reg_grp_node, name, &val);
drivers/input/misc/iqs7222.c
2112
if (error) {
drivers/input/misc/iqs7222.c
2114
fwnode_get_name(reg_grp_node), label, error);
drivers/input/misc/iqs7222.c
2115
return error;
drivers/input/misc/iqs7222.c
2145
int error;
drivers/input/misc/iqs7222.c
2147
error = iqs7222_parse_props(iqs7222, event_node, reg_grp_index,
drivers/input/misc/iqs7222.c
2149
if (error)
drivers/input/misc/iqs7222.c
2150
return error;
drivers/input/misc/iqs7222.c
2152
error = iqs7222_gpio_select(iqs7222, event_node, event_enable,
drivers/input/misc/iqs7222.c
2154
if (error)
drivers/input/misc/iqs7222.c
2155
return error;
drivers/input/misc/iqs7222.c
2157
error = fwnode_property_read_u32(event_node, "linux,code", event_code);
drivers/input/misc/iqs7222.c
2158
if (error == -EINVAL) {
drivers/input/misc/iqs7222.c
2160
} else if (error) {
drivers/input/misc/iqs7222.c
2162
fwnode_get_name(event_node), error);
drivers/input/misc/iqs7222.c
2163
return error;
drivers/input/misc/iqs7222.c
2171
error = fwnode_property_read_u32(event_node, "linux,input-type",
drivers/input/misc/iqs7222.c
2173
if (error == -EINVAL) {
drivers/input/misc/iqs7222.c
2175
} else if (error) {
drivers/input/misc/iqs7222.c
2177
fwnode_get_name(event_node), error);
drivers/input/misc/iqs7222.c
2178
return error;
drivers/input/misc/iqs7222.c
2196
int error, count, i;
drivers/input/misc/iqs7222.c
2221
error = fwnode_property_read_u32_array(cycle_node, "azoteq,tx-enable",
drivers/input/misc/iqs7222.c
2223
if (error) {
drivers/input/misc/iqs7222.c
2225
fwnode_get_name(cycle_node), error);
drivers/input/misc/iqs7222.c
2226
return error;
drivers/input/misc/iqs7222.c
2251
int error, i;
drivers/input/misc/iqs7222.c
2270
error = fwnode_property_read_u32(chan_node, "azoteq,ref-select",
drivers/input/misc/iqs7222.c
2272
if (error) {
drivers/input/misc/iqs7222.c
2275
fwnode_get_name(chan_node), error);
drivers/input/misc/iqs7222.c
2276
return error;
drivers/input/misc/iqs7222.c
2295
error = fwnode_property_read_u32(chan_node, "azoteq,ref-weight",
drivers/input/misc/iqs7222.c
2297
if (!error) {
drivers/input/misc/iqs7222.c
2306
} else if (error != -EINVAL) {
drivers/input/misc/iqs7222.c
2309
fwnode_get_name(chan_node), error);
drivers/input/misc/iqs7222.c
2310
return error;
drivers/input/misc/iqs7222.c
2356
error = fwnode_property_read_u32_array(chan_node,
drivers/input/misc/iqs7222.c
2359
if (error) {
drivers/input/misc/iqs7222.c
2362
fwnode_get_name(chan_node), error);
drivers/input/misc/iqs7222.c
2363
return error;
drivers/input/misc/iqs7222.c
2391
error = fwnode_property_read_u32(event_node,
drivers/input/misc/iqs7222.c
2394
if (!error) {
drivers/input/misc/iqs7222.c
2413
} else if (error != -EINVAL) {
drivers/input/misc/iqs7222.c
2416
fwnode_get_name(event_node), error);
drivers/input/misc/iqs7222.c
2417
return error;
drivers/input/misc/iqs7222.c
2420
error = iqs7222_parse_event(iqs7222, event_node, chan_index,
drivers/input/misc/iqs7222.c
2427
if (error)
drivers/input/misc/iqs7222.c
2428
return error;
drivers/input/misc/iqs7222.c
2455
int count, error, reg_offset, i;
drivers/input/misc/iqs7222.c
2476
error = fwnode_property_read_u32_array(sldr_node,
drivers/input/misc/iqs7222.c
2479
if (error) {
drivers/input/misc/iqs7222.c
2481
fwnode_get_name(sldr_node), error);
drivers/input/misc/iqs7222.c
2482
return error;
drivers/input/misc/iqs7222.c
2518
error = fwnode_property_read_u32(sldr_node, "azoteq,slider-size", &val);
drivers/input/misc/iqs7222.c
2519
if (!error) {
drivers/input/misc/iqs7222.c
2533
} else if (error != -EINVAL) {
drivers/input/misc/iqs7222.c
2535
fwnode_get_name(sldr_node), error);
drivers/input/misc/iqs7222.c
2536
return error;
drivers/input/misc/iqs7222.c
2546
error = fwnode_property_read_u32(sldr_node, "azoteq,top-speed", &val);
drivers/input/misc/iqs7222.c
2547
if (!error) {
drivers/input/misc/iqs7222.c
2560
} else if (error != -EINVAL) {
drivers/input/misc/iqs7222.c
2562
fwnode_get_name(sldr_node), error);
drivers/input/misc/iqs7222.c
2563
return error;
drivers/input/misc/iqs7222.c
2566
error = fwnode_property_read_u32(sldr_node, "linux,axis", &val);
drivers/input/misc/iqs7222.c
2567
if (!error) {
drivers/input/misc/iqs7222.c
2581
} else if (error != -EINVAL) {
drivers/input/misc/iqs7222.c
2583
fwnode_get_name(sldr_node), error);
drivers/input/misc/iqs7222.c
2584
return error;
drivers/input/misc/iqs7222.c
2631
error = iqs7222_parse_event(iqs7222, event_node, sldr_index,
drivers/input/misc/iqs7222.c
2639
if (error)
drivers/input/misc/iqs7222.c
2640
return error;
drivers/input/misc/iqs7222.c
2679
int count, error, i;
drivers/input/misc/iqs7222.c
2684
error = iqs7222_parse_props(iqs7222, tpad_node, tpad_index,
drivers/input/misc/iqs7222.c
2687
if (error)
drivers/input/misc/iqs7222.c
2688
return error;
drivers/input/misc/iqs7222.c
2701
error = fwnode_property_read_u32_array(tpad_node,
drivers/input/misc/iqs7222.c
2704
if (error) {
drivers/input/misc/iqs7222.c
2706
fwnode_get_name(tpad_node), error);
drivers/input/misc/iqs7222.c
2707
return error;
drivers/input/misc/iqs7222.c
2753
error = iqs7222_parse_event(iqs7222, event_node, tpad_index,
drivers/input/misc/iqs7222.c
2759
if (error)
drivers/input/misc/iqs7222.c
2760
return error;
drivers/input/misc/iqs7222.c
2816
int error;
drivers/input/misc/iqs7222.c
2834
error = iqs7222_parse_props(iqs7222, reg_grp_node, reg_grp_index,
drivers/input/misc/iqs7222.c
2836
if (error)
drivers/input/misc/iqs7222.c
2837
return error;
drivers/input/misc/iqs7222.c
2840
error = iqs7222_parse_extra[reg_grp](iqs7222, reg_grp_node,
drivers/input/misc/iqs7222.c
2842
if (error)
drivers/input/misc/iqs7222.c
2843
return error;
drivers/input/misc/iqs7222.c
2854
int error, i, j;
drivers/input/misc/iqs7222.c
2899
error = iqs7222_parse_reg_grp(iqs7222, i, j);
drivers/input/misc/iqs7222.c
2900
if (error)
drivers/input/misc/iqs7222.c
2901
return error;
drivers/input/misc/iqs7222.c
2914
int error, i, j;
drivers/input/misc/iqs7222.c
2917
error = iqs7222_read_burst(iqs7222, IQS7222_SYS_STATUS, status,
drivers/input/misc/iqs7222.c
2919
if (error)
drivers/input/misc/iqs7222.c
2920
return error;
drivers/input/misc/iqs7222.c
3058
int error, irq;
drivers/input/misc/iqs7222.c
3081
error = PTR_ERR(iqs7222->irq_gpio);
drivers/input/misc/iqs7222.c
3083
error);
drivers/input/misc/iqs7222.c
3084
return error;
drivers/input/misc/iqs7222.c
3090
error = PTR_ERR(iqs7222->reset_gpio);
drivers/input/misc/iqs7222.c
3092
error);
drivers/input/misc/iqs7222.c
3093
return error;
drivers/input/misc/iqs7222.c
3096
error = iqs7222_hard_reset(iqs7222);
drivers/input/misc/iqs7222.c
3097
if (error)
drivers/input/misc/iqs7222.c
3098
return error;
drivers/input/misc/iqs7222.c
3100
error = iqs7222_dev_info(iqs7222);
drivers/input/misc/iqs7222.c
3101
if (error)
drivers/input/misc/iqs7222.c
3102
return error;
drivers/input/misc/iqs7222.c
3104
error = iqs7222_dev_init(iqs7222, READ);
drivers/input/misc/iqs7222.c
3105
if (error)
drivers/input/misc/iqs7222.c
3106
return error;
drivers/input/misc/iqs7222.c
3108
error = iqs7222_parse_all(iqs7222);
drivers/input/misc/iqs7222.c
3109
if (error)
drivers/input/misc/iqs7222.c
3110
return error;
drivers/input/misc/iqs7222.c
3112
error = iqs7222_dev_init(iqs7222, WRITE);
drivers/input/misc/iqs7222.c
3113
if (error)
drivers/input/misc/iqs7222.c
3114
return error;
drivers/input/misc/iqs7222.c
3116
error = iqs7222_report(iqs7222);
drivers/input/misc/iqs7222.c
3117
if (error)
drivers/input/misc/iqs7222.c
3118
return error;
drivers/input/misc/iqs7222.c
3120
error = input_register_device(iqs7222->keypad);
drivers/input/misc/iqs7222.c
3121
if (error) {
drivers/input/misc/iqs7222.c
3122
dev_err(&client->dev, "Failed to register device: %d\n", error);
drivers/input/misc/iqs7222.c
3123
return error;
drivers/input/misc/iqs7222.c
3134
error = devm_request_threaded_irq(&client->dev, irq, NULL, iqs7222_irq,
drivers/input/misc/iqs7222.c
3136
if (error)
drivers/input/misc/iqs7222.c
3137
dev_err(&client->dev, "Failed to request IRQ: %d\n", error);
drivers/input/misc/iqs7222.c
3139
return error;
drivers/input/misc/keyspan_remote.c
450
int i, error;
drivers/input/misc/keyspan_remote.c
459
error = -ENOMEM;
drivers/input/misc/keyspan_remote.c
471
error = -ENOMEM;
drivers/input/misc/keyspan_remote.c
477
error = -ENOMEM;
drivers/input/misc/keyspan_remote.c
481
error = keyspan_setup(udev);
drivers/input/misc/keyspan_remote.c
482
if (error) {
drivers/input/misc/keyspan_remote.c
483
error = -ENODEV;
drivers/input/misc/keyspan_remote.c
538
error = input_register_device(remote->input);
drivers/input/misc/keyspan_remote.c
539
if (error)
drivers/input/misc/keyspan_remote.c
552
return error;
drivers/input/misc/kxtj9.c
310
int error;
drivers/input/misc/kxtj9.c
312
error = kstrtouint(buf, 10, &interval);
drivers/input/misc/kxtj9.c
313
if (error < 0)
drivers/input/misc/kxtj9.c
314
return error;
drivers/input/misc/max7360-rotary.c
106
int error;
drivers/input/misc/max7360-rotary.c
128
error = device_property_read_u32(dev->parent, "rotary-encoder,steps",
drivers/input/misc/max7360-rotary.c
130
if (error)
drivers/input/misc/max7360-rotary.c
153
error = devm_request_threaded_irq(dev, irq, NULL, max7360_rotary_irq,
drivers/input/misc/max7360-rotary.c
156
if (error)
drivers/input/misc/max7360-rotary.c
157
return dev_err_probe(dev, error, "Failed to register interrupt\n");
drivers/input/misc/max7360-rotary.c
159
error = input_register_device(input);
drivers/input/misc/max7360-rotary.c
160
if (error)
drivers/input/misc/max7360-rotary.c
161
return dev_err_probe(dev, error, "Could not register input device\n");
drivers/input/misc/max7360-rotary.c
163
error = max7360_rotary_hw_init(max7360_rotary);
drivers/input/misc/max7360-rotary.c
164
if (error)
drivers/input/misc/max7360-rotary.c
165
return dev_err_probe(dev, error, "Failed to initialize max7360 rotary\n");
drivers/input/misc/max7360-rotary.c
168
error = dev_pm_set_wake_irq(dev, irq);
drivers/input/misc/max7360-rotary.c
169
if (error)
drivers/input/misc/max7360-rotary.c
170
dev_warn(dev, "Failed to set up wakeup irq: %d\n", error);
drivers/input/misc/max7360-rotary.c
68
int error;
drivers/input/misc/max7360-rotary.c
70
error = regmap_read(max7360_rotary->regmap, MAX7360_REG_RTR_CNT, &val);
drivers/input/misc/max7360-rotary.c
71
if (error < 0) {
drivers/input/misc/max7360-rotary.c
88
int error;
drivers/input/misc/max7360-rotary.c
92
error = regmap_write(max7360_rotary->regmap, MAX7360_REG_RTRCFG, val);
drivers/input/misc/max7360-rotary.c
93
if (error)
drivers/input/misc/max7360-rotary.c
96
return error;
drivers/input/misc/max77650-onkey.c
100
if (error < 0)
drivers/input/misc/max77650-onkey.c
101
return error;
drivers/input/misc/max77650-onkey.c
103
error = devm_request_any_context_irq(dev, irq_r, max77650_onkey_rising,
drivers/input/misc/max77650-onkey.c
105
if (error < 0)
drivers/input/misc/max77650-onkey.c
106
return error;
drivers/input/misc/max77650-onkey.c
47
int irq_r, irq_f, error, mode;
drivers/input/misc/max77650-onkey.c
64
error = device_property_read_u32(dev, "linux,code", &onkey->code);
drivers/input/misc/max77650-onkey.c
65
if (error)
drivers/input/misc/max77650-onkey.c
76
error = regmap_update_bits(map, MAX77650_REG_CNFG_GLBL,
drivers/input/misc/max77650-onkey.c
78
if (error)
drivers/input/misc/max77650-onkey.c
79
return error;
drivers/input/misc/max77650-onkey.c
98
error = devm_request_any_context_irq(dev, irq_f, max77650_onkey_falling,
drivers/input/misc/max77693-haptic.c
100
str_enable_disable(on), error);
drivers/input/misc/max77693-haptic.c
101
return error;
drivers/input/misc/max77693-haptic.c
111
int error;
drivers/input/misc/max77693-haptic.c
138
error = regmap_write(haptic->regmap_haptic,
drivers/input/misc/max77693-haptic.c
140
if (error) {
drivers/input/misc/max77693-haptic.c
142
"failed to update haptic config: %d\n", error);
drivers/input/misc/max77693-haptic.c
143
return error;
drivers/input/misc/max77693-haptic.c
151
int error;
drivers/input/misc/max77693-haptic.c
156
error = regmap_update_bits(haptic->regmap_pmic,
drivers/input/misc/max77693-haptic.c
160
if (error) {
drivers/input/misc/max77693-haptic.c
161
dev_err(haptic->dev, "cannot update pmic regmap: %d\n", error);
drivers/input/misc/max77693-haptic.c
162
return error;
drivers/input/misc/max77693-haptic.c
171
int error;
drivers/input/misc/max77693-haptic.c
180
error = pwm_apply_might_sleep(haptic->pwm_dev, &state);
drivers/input/misc/max77693-haptic.c
181
if (error) {
drivers/input/misc/max77693-haptic.c
183
"failed to enable haptic pwm device: %d\n", error);
drivers/input/misc/max77693-haptic.c
187
error = max77693_haptic_lowsys(haptic, true);
drivers/input/misc/max77693-haptic.c
188
if (error)
drivers/input/misc/max77693-haptic.c
191
error = max77693_haptic_configure(haptic, true);
drivers/input/misc/max77693-haptic.c
192
if (error)
drivers/input/misc/max77693-haptic.c
207
int error;
drivers/input/misc/max77693-haptic.c
212
error = max77693_haptic_configure(haptic, false);
drivers/input/misc/max77693-haptic.c
213
if (error)
drivers/input/misc/max77693-haptic.c
216
error = max77693_haptic_lowsys(haptic, false);
drivers/input/misc/max77693-haptic.c
217
if (error)
drivers/input/misc/max77693-haptic.c
271
int error;
drivers/input/misc/max77693-haptic.c
273
error = max77843_haptic_bias(haptic, true);
drivers/input/misc/max77693-haptic.c
274
if (error)
drivers/input/misc/max77693-haptic.c
275
return error;
drivers/input/misc/max77693-haptic.c
277
error = regulator_enable(haptic->motor_reg);
drivers/input/misc/max77693-haptic.c
278
if (error) {
drivers/input/misc/max77693-haptic.c
280
"failed to enable regulator: %d\n", error);
drivers/input/misc/max77693-haptic.c
281
return error;
drivers/input/misc/max77693-haptic.c
290
int error;
drivers/input/misc/max77693-haptic.c
295
error = regulator_disable(haptic->motor_reg);
drivers/input/misc/max77693-haptic.c
296
if (error)
drivers/input/misc/max77693-haptic.c
298
"failed to disable regulator: %d\n", error);
drivers/input/misc/max77693-haptic.c
307
int error;
drivers/input/misc/max77693-haptic.c
365
error = input_ff_create_memless(haptic->input_dev, NULL,
drivers/input/misc/max77693-haptic.c
367
if (error) {
drivers/input/misc/max77693-haptic.c
369
return error;
drivers/input/misc/max77693-haptic.c
372
error = input_register_device(haptic->input_dev);
drivers/input/misc/max77693-haptic.c
373
if (error) {
drivers/input/misc/max77693-haptic.c
375
return error;
drivers/input/misc/max77693-haptic.c
72
int error;
drivers/input/misc/max77693-haptic.c
77
error = pwm_apply_might_sleep(haptic->pwm_dev, &state);
drivers/input/misc/max77693-haptic.c
78
if (error) {
drivers/input/misc/max77693-haptic.c
80
"failed to set pwm duty cycle: %d\n", error);
drivers/input/misc/max77693-haptic.c
81
return error;
drivers/input/misc/max77693-haptic.c
89
int error;
drivers/input/misc/max77693-haptic.c
94
error = regmap_update_bits(haptic->regmap_haptic,
drivers/input/misc/max77693-haptic.c
98
if (error) {
drivers/input/misc/max8925_onkey.c
102
error = devm_request_threaded_irq(&pdev->dev, irq[0], NULL,
drivers/input/misc/max8925_onkey.c
105
if (error < 0) {
drivers/input/misc/max8925_onkey.c
107
irq[0], error);
drivers/input/misc/max8925_onkey.c
108
return error;
drivers/input/misc/max8925_onkey.c
111
error = devm_request_threaded_irq(&pdev->dev, irq[1], NULL,
drivers/input/misc/max8925_onkey.c
114
if (error < 0) {
drivers/input/misc/max8925_onkey.c
116
irq[1], error);
drivers/input/misc/max8925_onkey.c
117
return error;
drivers/input/misc/max8925_onkey.c
120
error = input_register_device(info->idev);
drivers/input/misc/max8925_onkey.c
121
if (error) {
drivers/input/misc/max8925_onkey.c
122
dev_err(chip->dev, "Can't register input device: %d\n", error);
drivers/input/misc/max8925_onkey.c
123
return error;
drivers/input/misc/max8925_onkey.c
71
int irq[2], error;
drivers/input/misc/max8997_haptic.c
144
int error;
drivers/input/misc/max8997_haptic.c
152
error = regulator_enable(chip->regulator);
drivers/input/misc/max8997_haptic.c
153
if (error) {
drivers/input/misc/max8997_haptic.c
175
error = pwm_apply_might_sleep(chip->pwm, &state);
drivers/input/misc/max8997_haptic.c
176
if (error) {
drivers/input/misc/max8997_haptic.c
240
int error;
drivers/input/misc/max8997_haptic.c
254
error = -ENOMEM;
drivers/input/misc/max8997_haptic.c
281
error = PTR_ERR(chip->pwm);
drivers/input/misc/max8997_haptic.c
284
error);
drivers/input/misc/max8997_haptic.c
293
error = -EINVAL;
drivers/input/misc/max8997_haptic.c
299
error = PTR_ERR(chip->regulator);
drivers/input/misc/max8997_haptic.c
302
error);
drivers/input/misc/max8997_haptic.c
313
error = input_ff_create_memless(input_dev, NULL,
drivers/input/misc/max8997_haptic.c
315
if (error) {
drivers/input/misc/max8997_haptic.c
318
error);
drivers/input/misc/max8997_haptic.c
322
error = input_register_device(input_dev);
drivers/input/misc/max8997_haptic.c
323
if (error) {
drivers/input/misc/max8997_haptic.c
326
error);
drivers/input/misc/max8997_haptic.c
344
return error;
drivers/input/misc/mma8450.c
59
int error;
drivers/input/misc/mma8450.c
61
error = i2c_smbus_write_byte_data(c, off, v);
drivers/input/misc/mma8450.c
62
if (error < 0) {
drivers/input/misc/mma8450.c
65
off, error);
drivers/input/misc/mma8450.c
66
return error;
drivers/input/misc/nxp-bbnsm-pwrkey.c
116
int error;
drivers/input/misc/nxp-bbnsm-pwrkey.c
160
error = devm_add_action(&pdev->dev, bbnsm_pwrkey_act, bbnsm);
drivers/input/misc/nxp-bbnsm-pwrkey.c
161
if (error) {
drivers/input/misc/nxp-bbnsm-pwrkey.c
163
return error;
drivers/input/misc/nxp-bbnsm-pwrkey.c
169
error = devm_request_irq(&pdev->dev, bbnsm->irq, bbnsm_pwrkey_interrupt,
drivers/input/misc/nxp-bbnsm-pwrkey.c
171
if (error) {
drivers/input/misc/nxp-bbnsm-pwrkey.c
173
return error;
drivers/input/misc/nxp-bbnsm-pwrkey.c
176
error = input_register_device(input);
drivers/input/misc/nxp-bbnsm-pwrkey.c
177
if (error) {
drivers/input/misc/nxp-bbnsm-pwrkey.c
179
return error;
drivers/input/misc/nxp-bbnsm-pwrkey.c
183
error = dev_pm_set_wake_irq(&pdev->dev, bbnsm->irq);
drivers/input/misc/nxp-bbnsm-pwrkey.c
184
if (error)
drivers/input/misc/palmas-pwrbutton.c
110
int i, error;
drivers/input/misc/palmas-pwrbutton.c
123
error = of_property_read_u32(np, "ti,palmas-long-press-seconds", &val);
drivers/input/misc/palmas-pwrbutton.c
124
if (!error) {
drivers/input/misc/palmas-pwrbutton.c
133
error = of_property_read_u32(np,
drivers/input/misc/palmas-pwrbutton.c
136
if (!error) {
drivers/input/misc/palmas-pwrbutton.c
163
int error;
drivers/input/misc/palmas-pwrbutton.c
174
error = -ENOMEM;
drivers/input/misc/palmas-pwrbutton.c
190
error = palmas_update_bits(palmas, PALMAS_PMU_CONTROL_BASE,
drivers/input/misc/palmas-pwrbutton.c
195
if (error) {
drivers/input/misc/palmas-pwrbutton.c
196
dev_err(dev, "LONG_PRESS_KEY_UPDATE failed: %d\n", error);
drivers/input/misc/palmas-pwrbutton.c
207
error = pwron->irq;
drivers/input/misc/palmas-pwrbutton.c
211
error = request_threaded_irq(pwron->irq, NULL, pwron_irq,
drivers/input/misc/palmas-pwrbutton.c
216
if (error) {
drivers/input/misc/palmas-pwrbutton.c
217
dev_err(dev, "Can't get IRQ for pwron: %d\n", error);
drivers/input/misc/palmas-pwrbutton.c
221
error = input_register_device(input_dev);
drivers/input/misc/palmas-pwrbutton.c
222
if (error) {
drivers/input/misc/palmas-pwrbutton.c
223
dev_err(dev, "Can't register power button: %d\n", error);
drivers/input/misc/palmas-pwrbutton.c
239
return error;
drivers/input/misc/palmas-pwrbutton.c
60
int error;
drivers/input/misc/palmas-pwrbutton.c
62
error = palmas_read(pwron->palmas, PALMAS_INTERRUPT_BASE,
drivers/input/misc/palmas-pwrbutton.c
64
if (error) {
drivers/input/misc/palmas-pwrbutton.c
66
"Cannot read palmas PWRON status: %d\n", error);
drivers/input/misc/pf1550-onkey.c
113
error = devm_request_threaded_irq(&pdev->dev, irq, NULL,
drivers/input/misc/pf1550-onkey.c
117
if (error)
drivers/input/misc/pf1550-onkey.c
118
return dev_err_probe(&pdev->dev, error,
drivers/input/misc/pf1550-onkey.c
123
error = input_register_device(input);
drivers/input/misc/pf1550-onkey.c
124
if (error)
drivers/input/misc/pf1550-onkey.c
125
return dev_err_probe(&pdev->dev, error,
drivers/input/misc/pf1550-onkey.c
65
int i, irq, error;
drivers/input/misc/pf1550-onkey.c
83
error = regmap_clear_bits(onkey->pf1550->regmap,
drivers/input/misc/pf1550-onkey.c
86
if (error)
drivers/input/misc/pf1550-onkey.c
87
return dev_err_probe(&pdev->dev, error,
drivers/input/misc/pm8941-pwrkey.c
102
error = regmap_update_bits(pwrkey->regmap,
drivers/input/misc/pm8941-pwrkey.c
106
if (error)
drivers/input/misc/pm8941-pwrkey.c
109
error);
drivers/input/misc/pm8941-pwrkey.c
131
error = regmap_update_bits(pwrkey->regmap,
drivers/input/misc/pm8941-pwrkey.c
135
if (error)
drivers/input/misc/pm8941-pwrkey.c
137
error);
drivers/input/misc/pm8941-pwrkey.c
139
error = regmap_update_bits(pwrkey->regmap,
drivers/input/misc/pm8941-pwrkey.c
143
if (error)
drivers/input/misc/pm8941-pwrkey.c
144
dev_err(pwrkey->dev, "unable to re-set enable: %d\n", error);
drivers/input/misc/pm8941-pwrkey.c
193
int error;
drivers/input/misc/pm8941-pwrkey.c
205
error = regmap_read(pwrkey->regmap, addr, &val);
drivers/input/misc/pm8941-pwrkey.c
206
if (error)
drivers/input/misc/pm8941-pwrkey.c
207
return error;
drivers/input/misc/pm8941-pwrkey.c
254
int error;
drivers/input/misc/pm8941-pwrkey.c
308
error = regmap_read(pwrkey->regmap, pwrkey->baseaddr + PON_REV2,
drivers/input/misc/pm8941-pwrkey.c
310
if (error) {
drivers/input/misc/pm8941-pwrkey.c
311
dev_err(&pdev->dev, "failed to read revision: %d\n", error);
drivers/input/misc/pm8941-pwrkey.c
312
return error;
drivers/input/misc/pm8941-pwrkey.c
315
error = regmap_read(pwrkey->regmap, pwrkey->baseaddr + PON_SUBTYPE,
drivers/input/misc/pm8941-pwrkey.c
317
if (error) {
drivers/input/misc/pm8941-pwrkey.c
318
dev_err(&pdev->dev, "failed to read subtype: %d\n", error);
drivers/input/misc/pm8941-pwrkey.c
319
return error;
drivers/input/misc/pm8941-pwrkey.c
322
error = of_property_read_u32(pdev->dev.of_node, "linux,code",
drivers/input/misc/pm8941-pwrkey.c
324
if (error) {
drivers/input/misc/pm8941-pwrkey.c
326
"no linux,code assuming power (%d)\n", error);
drivers/input/misc/pm8941-pwrkey.c
353
error = regmap_update_bits(pwrkey->regmap,
drivers/input/misc/pm8941-pwrkey.c
357
if (error) {
drivers/input/misc/pm8941-pwrkey.c
359
error);
drivers/input/misc/pm8941-pwrkey.c
360
return error;
drivers/input/misc/pm8941-pwrkey.c
364
error = pm8941_pwrkey_sw_debounce_init(pwrkey);
drivers/input/misc/pm8941-pwrkey.c
365
if (error)
drivers/input/misc/pm8941-pwrkey.c
366
return error;
drivers/input/misc/pm8941-pwrkey.c
369
error = regmap_update_bits(pwrkey->regmap,
drivers/input/misc/pm8941-pwrkey.c
374
if (error) {
drivers/input/misc/pm8941-pwrkey.c
375
dev_err(&pdev->dev, "failed to set pull: %d\n", error);
drivers/input/misc/pm8941-pwrkey.c
376
return error;
drivers/input/misc/pm8941-pwrkey.c
380
error = devm_request_threaded_irq(&pdev->dev, pwrkey->irq,
drivers/input/misc/pm8941-pwrkey.c
384
if (error) {
drivers/input/misc/pm8941-pwrkey.c
385
dev_err(&pdev->dev, "failed requesting IRQ: %d\n", error);
drivers/input/misc/pm8941-pwrkey.c
386
return error;
drivers/input/misc/pm8941-pwrkey.c
389
error = input_register_device(pwrkey->input);
drivers/input/misc/pm8941-pwrkey.c
390
if (error) {
drivers/input/misc/pm8941-pwrkey.c
392
error);
drivers/input/misc/pm8941-pwrkey.c
393
return error;
drivers/input/misc/pm8941-pwrkey.c
398
error = register_reboot_notifier(&pwrkey->reboot_notifier);
drivers/input/misc/pm8941-pwrkey.c
399
if (error) {
drivers/input/misc/pm8941-pwrkey.c
401
error);
drivers/input/misc/pm8941-pwrkey.c
402
return error;
drivers/input/misc/pm8941-pwrkey.c
94
int error;
drivers/input/misc/pm8xxx-vibrator.c
206
int error;
drivers/input/misc/pm8xxx-vibrator.c
225
error = fwnode_property_read_u32(pdev->dev.fwnode, "reg", ®_base);
drivers/input/misc/pm8xxx-vibrator.c
226
if (error < 0)
drivers/input/misc/pm8xxx-vibrator.c
227
return dev_err_probe(&pdev->dev, error, "Failed to read reg address\n");
drivers/input/misc/pm8xxx-vibrator.c
235
error = regmap_read(vib->regmap, vib->drv_addr, &val);
drivers/input/misc/pm8xxx-vibrator.c
236
if (error < 0)
drivers/input/misc/pm8xxx-vibrator.c
237
return error;
drivers/input/misc/pm8xxx-vibrator.c
240
error = regmap_write(vib->regmap, vib->drv_addr, val);
drivers/input/misc/pm8xxx-vibrator.c
241
if (error < 0)
drivers/input/misc/pm8xxx-vibrator.c
242
return error;
drivers/input/misc/pm8xxx-vibrator.c
253
error = input_ff_create_memless(input_dev, NULL,
drivers/input/misc/pm8xxx-vibrator.c
255
if (error) {
drivers/input/misc/pm8xxx-vibrator.c
258
return error;
drivers/input/misc/pm8xxx-vibrator.c
261
error = input_register_device(input_dev);
drivers/input/misc/pm8xxx-vibrator.c
262
if (error) {
drivers/input/misc/pm8xxx-vibrator.c
264
return error;
drivers/input/misc/pmic8xxx-pwrkey.c
128
int error;
drivers/input/misc/pmic8xxx-pwrkey.c
133
error = pwrkey->shutdown_fn(pwrkey, reset);
drivers/input/misc/pmic8xxx-pwrkey.c
134
if (error)
drivers/input/misc/pmic8xxx-pwrkey.c
162
int error;
drivers/input/misc/pmic8xxx-pwrkey.c
167
error = regmap_write(regmap, test2_addr, bank);
drivers/input/misc/pmic8xxx-pwrkey.c
168
if (error)
drivers/input/misc/pmic8xxx-pwrkey.c
169
return error;
drivers/input/misc/pmic8xxx-pwrkey.c
171
error = regmap_read(regmap, test2_addr, ®);
drivers/input/misc/pmic8xxx-pwrkey.c
172
if (error)
drivers/input/misc/pmic8xxx-pwrkey.c
173
return error;
drivers/input/misc/pmic8xxx-pwrkey.c
179
error = regmap_read(regmap, ctrl_addr, ®);
drivers/input/misc/pmic8xxx-pwrkey.c
180
if (error)
drivers/input/misc/pmic8xxx-pwrkey.c
181
return error;
drivers/input/misc/pmic8xxx-pwrkey.c
210
error = regmap_write(regmap, test2_addr, bank);
drivers/input/misc/pmic8xxx-pwrkey.c
211
if (error)
drivers/input/misc/pmic8xxx-pwrkey.c
212
return error;
drivers/input/misc/pmic8xxx-pwrkey.c
214
error = regmap_update_bits(regmap, test2_addr,
drivers/input/misc/pmic8xxx-pwrkey.c
219
if (error)
drivers/input/misc/pmic8xxx-pwrkey.c
220
return error;
drivers/input/misc/pmic8xxx-pwrkey.c
224
error = regmap_write(regmap, test2_addr, bank);
drivers/input/misc/pmic8xxx-pwrkey.c
225
if (error)
drivers/input/misc/pmic8xxx-pwrkey.c
226
return error;
drivers/input/misc/pmic8xxx-pwrkey.c
228
error = regmap_update_bits(regmap, test2_addr,
drivers/input/misc/pmic8xxx-pwrkey.c
235
if (error)
drivers/input/misc/pmic8xxx-pwrkey.c
236
return error;
drivers/input/misc/pmic8xxx-pwrkey.c
239
error = regmap_update_bits(regmap, ctrl_addr,
drivers/input/misc/pmic8xxx-pwrkey.c
246
if (error)
drivers/input/misc/pmic8xxx-pwrkey.c
247
return error;
drivers/input/misc/pmic8xxx-pwrkey.c
251
error = regmap_update_bits(regmap, master_enable_addr,
drivers/input/misc/pmic8xxx-pwrkey.c
253
if (error)
drivers/input/misc/pmic8xxx-pwrkey.c
254
return error;
drivers/input/misc/pmic8xxx-pwrkey.c
265
int error;
drivers/input/misc/pmic8xxx-pwrkey.c
268
error = regmap_update_bits(regmap, master_enable_addr,
drivers/input/misc/pmic8xxx-pwrkey.c
270
if (error)
drivers/input/misc/pmic8xxx-pwrkey.c
271
return error;
drivers/input/misc/pmic8xxx-pwrkey.c
281
int error;
drivers/input/misc/pmic8xxx-pwrkey.c
307
error = regmap_update_bits(regmap, PM8058_L22_CTRL, 0xbf, 0x93);
drivers/input/misc/pmic8xxx-pwrkey.c
308
if (error)
drivers/input/misc/pmic8xxx-pwrkey.c
309
return error;
drivers/input/misc/powermate.c
301
int error = -ENOMEM;
drivers/input/misc/powermate.c
386
error = -EIO;
drivers/input/misc/powermate.c
390
error = input_register_device(pm->input);
drivers/input/misc/powermate.c
391
if (error)
drivers/input/misc/powermate.c
408
return error;
drivers/input/misc/pwm-beeper.c
128
int error;
drivers/input/misc/pwm-beeper.c
141
error = pwm_apply_might_sleep(beeper->pwm, &state);
drivers/input/misc/pwm-beeper.c
142
if (error) {
drivers/input/misc/pwm-beeper.c
144
error);
drivers/input/misc/pwm-beeper.c
145
return error;
drivers/input/misc/pwm-beeper.c
155
error = device_property_read_u32(dev, "beeper-hz", &bell_frequency);
drivers/input/misc/pwm-beeper.c
156
if (error) {
drivers/input/misc/pwm-beeper.c
186
error = input_register_device(beeper->input);
drivers/input/misc/pwm-beeper.c
187
if (error) {
drivers/input/misc/pwm-beeper.c
188
dev_err(dev, "Failed to register input device: %d\n", error);
drivers/input/misc/pwm-beeper.c
189
return error;
drivers/input/misc/pwm-beeper.c
34
int error;
drivers/input/misc/pwm-beeper.c
42
error = pwm_apply_might_sleep(beeper->pwm, &state);
drivers/input/misc/pwm-beeper.c
43
if (error)
drivers/input/misc/pwm-beeper.c
44
return error;
drivers/input/misc/pwm-beeper.c
47
error = regulator_enable(beeper->amplifier);
drivers/input/misc/pwm-beeper.c
48
if (error) {
drivers/input/misc/pwm-beeper.c
50
return error;
drivers/input/misc/rave-sp-pwrbutton.c
46
int error;
drivers/input/misc/rave-sp-pwrbutton.c
60
error = input_register_device(idev);
drivers/input/misc/rave-sp-pwrbutton.c
61
if (error)
drivers/input/misc/rave-sp-pwrbutton.c
62
return error;
drivers/input/misc/rave-sp-pwrbutton.c
68
error = devm_rave_sp_register_event_notifier(dev, &pb->nb);
drivers/input/misc/rave-sp-pwrbutton.c
69
if (error)
drivers/input/misc/rave-sp-pwrbutton.c
70
return error;
drivers/input/misc/rb532_button.c
58
int error;
drivers/input/misc/rb532_button.c
70
error = input_setup_polling(input, rb532_button_poll);
drivers/input/misc/rb532_button.c
71
if (error)
drivers/input/misc/rb532_button.c
72
return error;
drivers/input/misc/rb532_button.c
76
error = input_register_device(input);
drivers/input/misc/rb532_button.c
77
if (error)
drivers/input/misc/rb532_button.c
78
return error;
drivers/input/misc/regulator-haptic.c
119
int error;
drivers/input/misc/regulator-haptic.c
127
error = of_property_read_u32(node, "max-microvolt", &haptic->max_volt);
drivers/input/misc/regulator-haptic.c
128
if (error) {
drivers/input/misc/regulator-haptic.c
130
return error;
drivers/input/misc/regulator-haptic.c
133
error = of_property_read_u32(node, "min-microvolt", &haptic->min_volt);
drivers/input/misc/regulator-haptic.c
134
if (error) {
drivers/input/misc/regulator-haptic.c
136
return error;
drivers/input/misc/regulator-haptic.c
147
int error;
drivers/input/misc/regulator-haptic.c
162
error = regulator_haptic_parse_dt(&pdev->dev, haptic);
drivers/input/misc/regulator-haptic.c
163
if (error)
drivers/input/misc/regulator-haptic.c
164
return error;
drivers/input/misc/regulator-haptic.c
187
error = input_ff_create_memless(input_dev, NULL,
drivers/input/misc/regulator-haptic.c
189
if (error) {
drivers/input/misc/regulator-haptic.c
191
return error;
drivers/input/misc/regulator-haptic.c
194
error = input_register_device(haptic->input_dev);
drivers/input/misc/regulator-haptic.c
195
if (error) {
drivers/input/misc/regulator-haptic.c
197
return error;
drivers/input/misc/regulator-haptic.c
39
int error;
drivers/input/misc/regulator-haptic.c
43
error = on ? regulator_enable(haptic->regulator) :
drivers/input/misc/regulator-haptic.c
45
if (error) {
drivers/input/misc/regulator-haptic.c
48
str_on_off(on), error);
drivers/input/misc/regulator-haptic.c
49
return error;
drivers/input/misc/regulator-haptic.c
63
int error;
drivers/input/misc/regulator-haptic.c
68
error = regulator_set_voltage(haptic->regulator,
drivers/input/misc/regulator-haptic.c
71
if (error) {
drivers/input/misc/regulator-haptic.c
73
intensity + haptic->min_volt, error);
drivers/input/misc/regulator-haptic.c
74
return error;
drivers/input/misc/retu-pwrbutton.c
49
int error;
drivers/input/misc/retu-pwrbutton.c
65
error = devm_request_threaded_irq(&pdev->dev, irq,
drivers/input/misc/retu-pwrbutton.c
69
if (error)
drivers/input/misc/retu-pwrbutton.c
70
return error;
drivers/input/misc/retu-pwrbutton.c
72
error = input_register_device(idev);
drivers/input/misc/retu-pwrbutton.c
73
if (error)
drivers/input/misc/retu-pwrbutton.c
74
return error;
drivers/input/misc/rt5120-pwrkey.c
28
int error;
drivers/input/misc/rt5120-pwrkey.c
30
error = regmap_read(priv->regmap, RT5120_REG_INTSTAT, &stat);
drivers/input/misc/rt5120-pwrkey.c
31
if (error)
drivers/input/misc/rt5120-pwrkey.c
46
int error;
drivers/input/misc/rt5120-pwrkey.c
76
error = input_register_device(priv->input);
drivers/input/misc/rt5120-pwrkey.c
77
if (error) {
drivers/input/misc/rt5120-pwrkey.c
78
dev_err(dev, "Failed to register input device: %d\n", error);
drivers/input/misc/rt5120-pwrkey.c
79
return error;
drivers/input/misc/rt5120-pwrkey.c
82
error = devm_request_threaded_irq(dev, press_irq,
drivers/input/misc/rt5120-pwrkey.c
85
if (error) {
drivers/input/misc/rt5120-pwrkey.c
87
"Failed to register pwrkey press irq: %d\n", error);
drivers/input/misc/rt5120-pwrkey.c
88
return error;
drivers/input/misc/rt5120-pwrkey.c
91
error = devm_request_threaded_irq(dev, release_irq,
drivers/input/misc/rt5120-pwrkey.c
94
if (error) {
drivers/input/misc/rt5120-pwrkey.c
96
"Failed to register pwrkey release irq: %d\n", error);
drivers/input/misc/rt5120-pwrkey.c
97
return error;
drivers/input/misc/sc27xx-vibra.c
119
int error;
drivers/input/misc/sc27xx-vibra.c
137
error = device_property_read_u32(&pdev->dev, "reg", &info->base);
drivers/input/misc/sc27xx-vibra.c
138
if (error) {
drivers/input/misc/sc27xx-vibra.c
140
return error;
drivers/input/misc/sc27xx-vibra.c
159
error = sc27xx_vibra_hw_init(info);
drivers/input/misc/sc27xx-vibra.c
160
if (error) {
drivers/input/misc/sc27xx-vibra.c
162
return error;
drivers/input/misc/sc27xx-vibra.c
165
error = input_ff_create_memless(info->input_dev, NULL,
drivers/input/misc/sc27xx-vibra.c
167
if (error) {
drivers/input/misc/sc27xx-vibra.c
169
return error;
drivers/input/misc/sc27xx-vibra.c
172
error = input_register_device(info->input_dev);
drivers/input/misc/sc27xx-vibra.c
173
if (error) {
drivers/input/misc/sc27xx-vibra.c
175
return error;
drivers/input/misc/sgi_btns.c
110
error = input_setup_polling(input, handle_buttons);
drivers/input/misc/sgi_btns.c
111
if (error)
drivers/input/misc/sgi_btns.c
112
return error;
drivers/input/misc/sgi_btns.c
116
error = input_register_device(input);
drivers/input/misc/sgi_btns.c
117
if (error)
drivers/input/misc/sgi_btns.c
118
return error;
drivers/input/misc/sgi_btns.c
82
int error, i;
drivers/input/misc/soc_button_array.c
163
int error, gpio, irq;
drivers/input/misc/soc_button_array.c
191
error = soc_button_lookup_gpio(&pdev->dev, info->acpi_index, &gpio, &irq);
drivers/input/misc/soc_button_array.c
192
if (error || irq < 0) {
drivers/input/misc/soc_button_array.c
228
error = -ENODEV;
drivers/input/misc/soc_button_array.c
240
error = PTR_ERR_OR_ZERO(pd);
drivers/input/misc/soc_button_array.c
241
if (error) {
drivers/input/misc/soc_button_array.c
243
"failed registering gpio-keys: %d\n", error);
drivers/input/misc/soc_button_array.c
251
return ERR_PTR(error);
drivers/input/misc/soc_button_array.c
438
int error;
drivers/input/misc/soc_button_array.c
442
error = device_data->check(dev);
drivers/input/misc/soc_button_array.c
443
if (error)
drivers/input/misc/soc_button_array.c
444
return error;
drivers/input/misc/soc_button_array.c
455
error = gpiod_count(dev, NULL);
drivers/input/misc/soc_button_array.c
456
if (error < 0) {
drivers/input/misc/soc_button_array.c
470
error = PTR_ERR(pd);
drivers/input/misc/soc_button_array.c
471
if (error != -ENODEV) {
drivers/input/misc/soc_button_array.c
473
return error;
drivers/input/misc/sparcspkr.c
152
int error;
drivers/input/misc/sparcspkr.c
171
error = input_register_device(input_dev);
drivers/input/misc/sparcspkr.c
172
if (error) {
drivers/input/misc/sparcspkr.c
174
return error;
drivers/input/misc/stpmic1_onkey.c
117
error = devm_request_threaded_irq(dev, onkey->irq_falling, NULL,
drivers/input/misc/stpmic1_onkey.c
120
if (error) {
drivers/input/misc/stpmic1_onkey.c
121
dev_err(dev, "Can't get IRQ Onkey Falling: %d\n", error);
drivers/input/misc/stpmic1_onkey.c
122
return error;
drivers/input/misc/stpmic1_onkey.c
125
error = devm_request_threaded_irq(dev, onkey->irq_rising, NULL,
drivers/input/misc/stpmic1_onkey.c
128
if (error) {
drivers/input/misc/stpmic1_onkey.c
129
dev_err(dev, "Can't get IRQ Onkey Rising: %d\n", error);
drivers/input/misc/stpmic1_onkey.c
130
return error;
drivers/input/misc/stpmic1_onkey.c
133
error = input_register_device(input_dev);
drivers/input/misc/stpmic1_onkey.c
134
if (error) {
drivers/input/misc/stpmic1_onkey.c
135
dev_err(dev, "Can't register power button: %d\n", error);
drivers/input/misc/stpmic1_onkey.c
136
return error;
drivers/input/misc/stpmic1_onkey.c
57
int error;
drivers/input/misc/stpmic1_onkey.c
85
error = regmap_update_bits(pmic->regmap, PKEY_TURNOFF_CR,
drivers/input/misc/stpmic1_onkey.c
87
if (error) {
drivers/input/misc/stpmic1_onkey.c
88
dev_err(dev, "PKEY_TURNOFF_CR write failed: %d\n", error);
drivers/input/misc/stpmic1_onkey.c
89
return error;
drivers/input/misc/stpmic1_onkey.c
93
error = regmap_update_bits(pmic->regmap, PADS_PULL_CR,
drivers/input/misc/stpmic1_onkey.c
96
if (error) {
drivers/input/misc/stpmic1_onkey.c
98
error);
drivers/input/misc/stpmic1_onkey.c
99
return error;
drivers/input/misc/tps65218-pwrbutton.c
122
error = devm_request_threaded_irq(dev, irq, NULL, tps6521x_pb_irq,
drivers/input/misc/tps65218-pwrbutton.c
127
if (error) {
drivers/input/misc/tps65218-pwrbutton.c
128
dev_err(dev, "failed to request IRQ #%d: %d\n", irq, error);
drivers/input/misc/tps65218-pwrbutton.c
129
return error;
drivers/input/misc/tps65218-pwrbutton.c
132
error= input_register_device(idev);
drivers/input/misc/tps65218-pwrbutton.c
133
if (error) {
drivers/input/misc/tps65218-pwrbutton.c
134
dev_err(dev, "Can't register power button: %d\n", error);
drivers/input/misc/tps65218-pwrbutton.c
135
return error;
drivers/input/misc/tps65218-pwrbutton.c
60
int error;
drivers/input/misc/tps65218-pwrbutton.c
62
error = regmap_read(pwr->regmap, tps_data->reg_status, ®);
drivers/input/misc/tps65218-pwrbutton.c
63
if (error) {
drivers/input/misc/tps65218-pwrbutton.c
64
dev_err(pwr->dev, "can't read register: %d\n", error);
drivers/input/misc/tps65218-pwrbutton.c
87
int error;
drivers/input/misc/tps65219-pwrbutton.c
100
return error;
drivers/input/misc/tps65219-pwrbutton.c
103
error = input_register_device(idev);
drivers/input/misc/tps65219-pwrbutton.c
104
if (error) {
drivers/input/misc/tps65219-pwrbutton.c
105
dev_err(dev, "Can't register power button: %d\n", error);
drivers/input/misc/tps65219-pwrbutton.c
106
return error;
drivers/input/misc/tps65219-pwrbutton.c
51
int error;
drivers/input/misc/tps65219-pwrbutton.c
83
error = devm_request_threaded_irq(dev, push_irq, NULL,
drivers/input/misc/tps65219-pwrbutton.c
87
if (error) {
drivers/input/misc/tps65219-pwrbutton.c
89
error);
drivers/input/misc/tps65219-pwrbutton.c
90
return error;
drivers/input/misc/tps65219-pwrbutton.c
93
error = devm_request_threaded_irq(dev, release_irq, NULL,
drivers/input/misc/tps65219-pwrbutton.c
97
if (error) {
drivers/input/misc/tps65219-pwrbutton.c
99
release_irq, error);
drivers/input/misc/tps6594-pwrbutton.c
101
error = input_register_device(idev);
drivers/input/misc/tps6594-pwrbutton.c
102
if (error) {
drivers/input/misc/tps6594-pwrbutton.c
103
dev_err(dev, "Can't register power button: %d\n", error);
drivers/input/misc/tps6594-pwrbutton.c
104
return error;
drivers/input/misc/tps6594-pwrbutton.c
49
int error;
drivers/input/misc/tps6594-pwrbutton.c
81
error = devm_request_threaded_irq(dev, push_irq, NULL,
drivers/input/misc/tps6594-pwrbutton.c
85
if (error) {
drivers/input/misc/tps6594-pwrbutton.c
87
error);
drivers/input/misc/tps6594-pwrbutton.c
88
return error;
drivers/input/misc/tps6594-pwrbutton.c
91
error = devm_request_threaded_irq(dev, release_irq, NULL,
drivers/input/misc/tps6594-pwrbutton.c
95
if (error) {
drivers/input/misc/tps6594-pwrbutton.c
97
release_irq, error);
drivers/input/misc/tps6594-pwrbutton.c
98
return error;
drivers/input/misc/twl6040-vibra.c
235
int error;
drivers/input/misc/twl6040-vibra.c
275
error = devm_request_threaded_irq(&pdev->dev, info->irq, NULL,
drivers/input/misc/twl6040-vibra.c
279
if (error) {
drivers/input/misc/twl6040-vibra.c
280
dev_err(info->dev, "VIB IRQ request failed: %d\n", error);
drivers/input/misc/twl6040-vibra.c
281
return error;
drivers/input/misc/twl6040-vibra.c
290
error = devm_regulator_bulk_get(twl6040_core_dev,
drivers/input/misc/twl6040-vibra.c
293
if (error) {
drivers/input/misc/twl6040-vibra.c
294
dev_err(info->dev, "couldn't get regulators %d\n", error);
drivers/input/misc/twl6040-vibra.c
295
return error;
drivers/input/misc/twl6040-vibra.c
299
error = regulator_set_voltage(info->supplies[0].consumer,
drivers/input/misc/twl6040-vibra.c
301
if (error) {
drivers/input/misc/twl6040-vibra.c
303
error);
drivers/input/misc/twl6040-vibra.c
304
return error;
drivers/input/misc/twl6040-vibra.c
309
error = regulator_set_voltage(info->supplies[1].consumer,
drivers/input/misc/twl6040-vibra.c
311
if (error) {
drivers/input/misc/twl6040-vibra.c
313
error);
drivers/input/misc/twl6040-vibra.c
314
return error;
drivers/input/misc/twl6040-vibra.c
333
error = input_ff_create_memless(info->input_dev, NULL, vibra_play);
drivers/input/misc/twl6040-vibra.c
334
if (error) {
drivers/input/misc/twl6040-vibra.c
336
return error;
drivers/input/misc/twl6040-vibra.c
339
error = input_register_device(info->input_dev);
drivers/input/misc/twl6040-vibra.c
340
if (error) {
drivers/input/misc/twl6040-vibra.c
342
return error;
drivers/input/misc/uinput.c
312
int error, nslot;
drivers/input/misc/uinput.c
322
error = -EINVAL;
drivers/input/misc/uinput.c
328
error = input_mt_init_slots(dev, nslot, 0);
drivers/input/misc/uinput.c
329
if (error)
drivers/input/misc/uinput.c
339
error = -EINVAL;
drivers/input/misc/uinput.c
344
error = input_ff_create(dev, udev->ff_effects_max);
drivers/input/misc/uinput.c
345
if (error)
drivers/input/misc/uinput.c
365
error = input_register_device(udev->dev);
drivers/input/misc/uinput.c
366
if (error)
drivers/input/misc/uinput.c
375
return error;
drivers/input/misc/uinput.c
440
int error;
drivers/input/misc/uinput.c
453
error = uinput_validate_absinfo(dev, cnt, &dev->absinfo[cnt]);
drivers/input/misc/uinput.c
454
if (error)
drivers/input/misc/uinput.c
455
return error;
drivers/input/misc/uinput.c
494
int error;
drivers/input/misc/uinput.c
510
error = uinput_validate_absinfo(dev, setup.code, &setup.absinfo);
drivers/input/misc/uinput.c
511
if (error)
drivers/input/misc/uinput.c
512
return error;
drivers/input/misc/wistron_btns.c
1213
int error;
drivers/input/misc/wistron_btns.c
1226
error = sparse_keymap_setup(wistron_idev, keymap, wistron_setup_keymap);
drivers/input/misc/wistron_btns.c
1227
if (error)
drivers/input/misc/wistron_btns.c
1230
error = input_setup_polling(wistron_idev, wistron_poll);
drivers/input/misc/wistron_btns.c
1231
if (error)
drivers/input/misc/wistron_btns.c
1236
error = input_register_device(wistron_idev);
drivers/input/misc/wistron_btns.c
1237
if (error)
drivers/input/misc/wistron_btns.c
1244
return error;
drivers/input/misc/xen-kbdfront.c
267
goto error;
drivers/input/misc/xen-kbdfront.c
324
goto error;
drivers/input/misc/xen-kbdfront.c
365
goto error;
drivers/input/misc/xen-kbdfront.c
373
goto error;
drivers/input/misc/xen-kbdfront.c
381
goto error;
drivers/input/misc/xen-kbdfront.c
386
goto error;
drivers/input/misc/xen-kbdfront.c
393
error:
drivers/input/mouse/alps.c
1403
int error;
drivers/input/mouse/alps.c
1436
error = input_register_device(dev3);
drivers/input/mouse/alps.c
1437
if (error) {
drivers/input/mouse/alps.c
1440
error);
drivers/input/mouse/alps.c
1449
return error;
drivers/input/mouse/alps.c
1456
int error;
drivers/input/mouse/alps.c
1461
error = alps_do_register_bare_ps2_mouse(priv);
drivers/input/mouse/alps.c
1462
if (error) {
drivers/input/mouse/alps.c
1467
priv->dev3 = ERR_PTR(error);
drivers/input/mouse/alps.c
2106
goto error;
drivers/input/mouse/alps.c
2115
error:
drivers/input/mouse/alps.c
2142
goto error;
drivers/input/mouse/alps.c
2146
goto error;
drivers/input/mouse/alps.c
2151
error:
drivers/input/mouse/alps.c
2230
goto error;
drivers/input/mouse/alps.c
2235
goto error;
drivers/input/mouse/alps.c
2240
goto error;
drivers/input/mouse/alps.c
2242
goto error;
drivers/input/mouse/alps.c
2246
goto error;
drivers/input/mouse/alps.c
2248
goto error;
drivers/input/mouse/alps.c
2251
goto error;
drivers/input/mouse/alps.c
2253
goto error;
drivers/input/mouse/alps.c
2256
goto error;
drivers/input/mouse/alps.c
2258
goto error;
drivers/input/mouse/alps.c
2261
goto error;
drivers/input/mouse/alps.c
2263
goto error;
drivers/input/mouse/alps.c
2266
goto error;
drivers/input/mouse/alps.c
2268
goto error;
drivers/input/mouse/alps.c
2282
error:
drivers/input/mouse/alps.c
2341
goto error;
drivers/input/mouse/alps.c
2347
goto error;
drivers/input/mouse/alps.c
2350
goto error;
drivers/input/mouse/alps.c
2354
goto error;
drivers/input/mouse/alps.c
2356
goto error;
drivers/input/mouse/alps.c
2359
goto error;
drivers/input/mouse/alps.c
2364
goto error;
drivers/input/mouse/alps.c
2366
goto error;
drivers/input/mouse/alps.c
2371
error:
drivers/input/mouse/alps.c
2398
goto error;
drivers/input/mouse/alps.c
2402
goto error;
drivers/input/mouse/alps.c
2406
goto error;
drivers/input/mouse/alps.c
2409
goto error;
drivers/input/mouse/alps.c
2412
goto error;
drivers/input/mouse/alps.c
2415
goto error;
drivers/input/mouse/alps.c
2418
goto error;
drivers/input/mouse/alps.c
2421
goto error;
drivers/input/mouse/alps.c
2424
goto error;
drivers/input/mouse/alps.c
2427
goto error;
drivers/input/mouse/alps.c
2455
error:
drivers/input/mouse/alps.c
2675
goto error;
drivers/input/mouse/alps.c
2678
goto error;
drivers/input/mouse/alps.c
2681
goto error;
drivers/input/mouse/alps.c
2685
goto error;
drivers/input/mouse/alps.c
2687
goto error;
drivers/input/mouse/alps.c
2692
error:
drivers/input/mouse/alps.c
2708
goto error;
drivers/input/mouse/alps.c
2715
goto error;
drivers/input/mouse/alps.c
2721
error:
drivers/input/mouse/alps.c
2890
int error;
drivers/input/mouse/alps.c
2952
error = alps_set_protocol(psmouse, priv, protocol);
drivers/input/mouse/alps.c
2953
if (error)
drivers/input/mouse/alps.c
2954
return error;
drivers/input/mouse/alps.c
3047
int error;
drivers/input/mouse/alps.c
3049
error = priv->hw_init(psmouse);
drivers/input/mouse/alps.c
3050
if (error)
drivers/input/mouse/alps.c
3103
error = -ENOMEM;
drivers/input/mouse/alps.c
3136
error = input_register_device(dev2);
drivers/input/mouse/alps.c
3137
if (error) {
drivers/input/mouse/alps.c
3140
error);
drivers/input/mouse/alps.c
3175
return error;
drivers/input/mouse/alps.c
3181
int error;
drivers/input/mouse/alps.c
3183
error = alps_identify(psmouse, NULL);
drivers/input/mouse/alps.c
3184
if (error)
drivers/input/mouse/alps.c
3185
return error;
drivers/input/mouse/alps.c
3213
error = alps_identify(psmouse, priv);
drivers/input/mouse/alps.c
3214
if (error) {
drivers/input/mouse/alps.c
3216
return error;
drivers/input/mouse/amimouse.c
73
int error;
drivers/input/mouse/amimouse.c
80
error = request_irq(IRQ_AMIGA_VERTB, amimouse_interrupt, 0, "amimouse",
drivers/input/mouse/amimouse.c
82
if (error)
drivers/input/mouse/amimouse.c
85
return error;
drivers/input/mouse/appletouch.c
835
int i, error = -ENOMEM;
drivers/input/mouse/appletouch.c
882
error = atp_handle_geyser(dev);
drivers/input/mouse/appletouch.c
883
if (error)
drivers/input/mouse/appletouch.c
918
error = input_register_device(dev->input);
drivers/input/mouse/appletouch.c
919
if (error)
drivers/input/mouse/appletouch.c
936
return error;
drivers/input/mouse/appletouch.c
957
int error;
drivers/input/mouse/appletouch.c
959
error = atp_handle_geyser(dev);
drivers/input/mouse/appletouch.c
960
if (error)
drivers/input/mouse/appletouch.c
961
return error;
drivers/input/mouse/atarimouse.c
110
int error;
drivers/input/mouse/atarimouse.c
115
error = atari_keyb_init();
drivers/input/mouse/atarimouse.c
116
if (error)
drivers/input/mouse/atarimouse.c
117
return error;
drivers/input/mouse/atarimouse.c
138
error = input_register_device(atamouse_dev);
drivers/input/mouse/atarimouse.c
139
if (error) {
drivers/input/mouse/atarimouse.c
141
return error;
drivers/input/mouse/bcm5974.c
1009
error = input_register_device(dev->input);
drivers/input/mouse/bcm5974.c
1010
if (error)
drivers/input/mouse/bcm5974.c
1033
return error;
drivers/input/mouse/bcm5974.c
709
int error;
drivers/input/mouse/bcm5974.c
714
error = bcm5974_wellspring_mode(dev, false);
drivers/input/mouse/bcm5974.c
715
if (error) {
drivers/input/mouse/bcm5974.c
722
error = bcm5974_wellspring_mode(dev, true);
drivers/input/mouse/bcm5974.c
723
if (error)
drivers/input/mouse/bcm5974.c
731
int error;
drivers/input/mouse/bcm5974.c
753
error = usb_submit_urb(dev->bt_urb, GFP_ATOMIC);
drivers/input/mouse/bcm5974.c
754
if (error)
drivers/input/mouse/bcm5974.c
755
dev_err(&intf->dev, "button urb failed: %d\n", error);
drivers/input/mouse/bcm5974.c
762
int error;
drivers/input/mouse/bcm5974.c
798
error = usb_submit_urb(dev->tp_urb, GFP_ATOMIC);
drivers/input/mouse/bcm5974.c
799
if (error)
drivers/input/mouse/bcm5974.c
800
dev_err(&intf->dev, "trackpad urb failed: %d\n", error);
drivers/input/mouse/bcm5974.c
823
int error;
drivers/input/mouse/bcm5974.c
825
error = bcm5974_wellspring_mode(dev, true);
drivers/input/mouse/bcm5974.c
826
if (error) {
drivers/input/mouse/bcm5974.c
832
error = usb_submit_urb(dev->bt_urb, GFP_KERNEL);
drivers/input/mouse/bcm5974.c
833
if (error)
drivers/input/mouse/bcm5974.c
837
error = usb_submit_urb(dev->tp_urb, GFP_KERNEL);
drivers/input/mouse/bcm5974.c
838
if (error)
drivers/input/mouse/bcm5974.c
848
return error;
drivers/input/mouse/bcm5974.c
869
int error;
drivers/input/mouse/bcm5974.c
871
error = usb_autopm_get_interface(dev->intf);
drivers/input/mouse/bcm5974.c
872
if (error)
drivers/input/mouse/bcm5974.c
873
return error;
drivers/input/mouse/bcm5974.c
876
error = bcm5974_start_traffic(dev);
drivers/input/mouse/bcm5974.c
877
if (!error)
drivers/input/mouse/bcm5974.c
881
if (error)
drivers/input/mouse/bcm5974.c
884
return error;
drivers/input/mouse/bcm5974.c
930
int error = -ENOMEM;
drivers/input/mouse/byd.c
397
int retry = 0, error = 0;
drivers/input/mouse/byd.c
404
error = byd_detect(psmouse, 0);
drivers/input/mouse/byd.c
405
} while (error && ++retry < 3);
drivers/input/mouse/byd.c
407
if (error)
drivers/input/mouse/byd.c
408
return error;
drivers/input/mouse/byd.c
412
error = byd_reset_touchpad(psmouse);
drivers/input/mouse/byd.c
413
if (error) {
drivers/input/mouse/byd.c
415
return error;
drivers/input/mouse/cyapa.c
1001
error = mutex_lock_interruptible(&cyapa->state_sync_lock);
drivers/input/mouse/cyapa.c
1002
if (error)
drivers/input/mouse/cyapa.c
1003
return error;
drivers/input/mouse/cyapa.c
1013
int error;
drivers/input/mouse/cyapa.c
1015
error = request_firmware(&fw, fw_name, dev);
drivers/input/mouse/cyapa.c
1016
if (error) {
drivers/input/mouse/cyapa.c
1018
fw_name, error);
drivers/input/mouse/cyapa.c
1019
return error;
drivers/input/mouse/cyapa.c
1022
error = cyapa->ops->check_fw(cyapa, fw);
drivers/input/mouse/cyapa.c
1023
if (error) {
drivers/input/mouse/cyapa.c
1039
error = cyapa->ops->bl_enter(cyapa);
drivers/input/mouse/cyapa.c
1040
if (error) {
drivers/input/mouse/cyapa.c
1041
dev_err(dev, "bl_enter failed, %d\n", error);
drivers/input/mouse/cyapa.c
1045
error = cyapa->ops->bl_activate(cyapa);
drivers/input/mouse/cyapa.c
1046
if (error) {
drivers/input/mouse/cyapa.c
1047
dev_err(dev, "bl_activate failed, %d\n", error);
drivers/input/mouse/cyapa.c
1051
error = cyapa->ops->bl_initiate(cyapa, fw);
drivers/input/mouse/cyapa.c
1052
if (error) {
drivers/input/mouse/cyapa.c
1053
dev_err(dev, "bl_initiate failed, %d\n", error);
drivers/input/mouse/cyapa.c
1057
error = cyapa->ops->update_fw(cyapa, fw);
drivers/input/mouse/cyapa.c
1058
if (error) {
drivers/input/mouse/cyapa.c
1059
dev_err(dev, "update_fw failed, %d\n", error);
drivers/input/mouse/cyapa.c
1069
return error;
drivers/input/mouse/cyapa.c
1078
int ret, error;
drivers/input/mouse/cyapa.c
1101
error = mutex_lock_interruptible(&cyapa->state_sync_lock);
drivers/input/mouse/cyapa.c
1102
if (error) {
drivers/input/mouse/cyapa.c
1108
return error;
drivers/input/mouse/cyapa.c
1111
error = cyapa_firmware(cyapa, fw_name);
drivers/input/mouse/cyapa.c
1112
if (error)
drivers/input/mouse/cyapa.c
1113
dev_err(dev, "firmware update failed: %d\n", error);
drivers/input/mouse/cyapa.c
1124
error = error ? error : ret;
drivers/input/mouse/cyapa.c
1129
return error ? error : count;
drivers/input/mouse/cyapa.c
1137
int error;
drivers/input/mouse/cyapa.c
1139
error = mutex_lock_interruptible(&cyapa->state_sync_lock);
drivers/input/mouse/cyapa.c
1140
if (error)
drivers/input/mouse/cyapa.c
1141
return error;
drivers/input/mouse/cyapa.c
1145
error = cyapa->ops->calibrate_store(dev, attr, buf, count);
drivers/input/mouse/cyapa.c
1148
error = -EBUSY; /* Still running in bootloader mode. */
drivers/input/mouse/cyapa.c
1152
return error < 0 ? error : count;
drivers/input/mouse/cyapa.c
1159
ssize_t error;
drivers/input/mouse/cyapa.c
1161
error = mutex_lock_interruptible(&cyapa->state_sync_lock);
drivers/input/mouse/cyapa.c
1162
if (error)
drivers/input/mouse/cyapa.c
1163
return error;
drivers/input/mouse/cyapa.c
1167
error = cyapa->ops->show_baseline(dev, attr, buf);
drivers/input/mouse/cyapa.c
1170
error = -EBUSY; /* Still running in bootloader mode. */
drivers/input/mouse/cyapa.c
1174
return error;
drivers/input/mouse/cyapa.c
1203
int error;
drivers/input/mouse/cyapa.c
1205
error = mutex_lock_interruptible(&cyapa->state_sync_lock);
drivers/input/mouse/cyapa.c
1206
if (error)
drivers/input/mouse/cyapa.c
1207
return error;
drivers/input/mouse/cyapa.c
1247
int error;
drivers/input/mouse/cyapa.c
1275
error = PTR_ERR(cyapa->vcc);
drivers/input/mouse/cyapa.c
1276
dev_err(dev, "failed to get vcc regulator: %d\n", error);
drivers/input/mouse/cyapa.c
1277
return error;
drivers/input/mouse/cyapa.c
1280
error = regulator_enable(cyapa->vcc);
drivers/input/mouse/cyapa.c
1281
if (error) {
drivers/input/mouse/cyapa.c
1282
dev_err(dev, "failed to enable regulator: %d\n", error);
drivers/input/mouse/cyapa.c
1283
return error;
drivers/input/mouse/cyapa.c
1286
error = devm_add_action_or_reset(dev, cyapa_disable_regulator, cyapa);
drivers/input/mouse/cyapa.c
1287
if (error) {
drivers/input/mouse/cyapa.c
1289
error);
drivers/input/mouse/cyapa.c
1290
return error;
drivers/input/mouse/cyapa.c
1293
error = cyapa_initialize(cyapa);
drivers/input/mouse/cyapa.c
1294
if (error) {
drivers/input/mouse/cyapa.c
1296
return error;
drivers/input/mouse/cyapa.c
1299
error = cyapa_prepare_wakeup_controls(cyapa);
drivers/input/mouse/cyapa.c
1300
if (error) {
drivers/input/mouse/cyapa.c
1301
dev_err(dev, "failed to prepare wakeup controls: %d\n", error);
drivers/input/mouse/cyapa.c
1302
return error;
drivers/input/mouse/cyapa.c
1305
error = cyapa_start_runtime(cyapa);
drivers/input/mouse/cyapa.c
1306
if (error) {
drivers/input/mouse/cyapa.c
1307
dev_err(dev, "failed to start pm_runtime: %d\n", error);
drivers/input/mouse/cyapa.c
1308
return error;
drivers/input/mouse/cyapa.c
1311
error = devm_request_threaded_irq(dev, client->irq,
drivers/input/mouse/cyapa.c
1315
if (error) {
drivers/input/mouse/cyapa.c
1316
dev_err(dev, "failed to request threaded irq: %d\n", error);
drivers/input/mouse/cyapa.c
1317
return error;
drivers/input/mouse/cyapa.c
1329
error = cyapa_create_input_dev(cyapa);
drivers/input/mouse/cyapa.c
1330
if (error) {
drivers/input/mouse/cyapa.c
1332
error);
drivers/input/mouse/cyapa.c
1333
return error;
drivers/input/mouse/cyapa.c
1345
int error;
drivers/input/mouse/cyapa.c
1347
error = mutex_lock_interruptible(&cyapa->input->mutex);
drivers/input/mouse/cyapa.c
1348
if (error)
drivers/input/mouse/cyapa.c
1349
return error;
drivers/input/mouse/cyapa.c
1351
error = mutex_lock_interruptible(&cyapa->state_sync_lock);
drivers/input/mouse/cyapa.c
1352
if (error) {
drivers/input/mouse/cyapa.c
1354
return error;
drivers/input/mouse/cyapa.c
1373
error = cyapa->ops->set_power_mode(cyapa, power_mode,
drivers/input/mouse/cyapa.c
1375
if (error)
drivers/input/mouse/cyapa.c
1377
error);
drivers/input/mouse/cyapa.c
1400
int error;
drivers/input/mouse/cyapa.c
1414
error = cyapa_reinitialize(cyapa);
drivers/input/mouse/cyapa.c
1415
if (error)
drivers/input/mouse/cyapa.c
1416
dev_warn(dev, "failed to reinitialize TP device: %d\n", error);
drivers/input/mouse/cyapa.c
1428
int error;
drivers/input/mouse/cyapa.c
1430
error = cyapa->ops->set_power_mode(cyapa,
drivers/input/mouse/cyapa.c
1434
if (error)
drivers/input/mouse/cyapa.c
1435
dev_warn(dev, "runtime suspend failed: %d\n", error);
drivers/input/mouse/cyapa.c
1443
int error;
drivers/input/mouse/cyapa.c
1445
error = cyapa->ops->set_power_mode(cyapa,
drivers/input/mouse/cyapa.c
1447
if (error)
drivers/input/mouse/cyapa.c
1448
dev_warn(dev, "runtime resume failed: %d\n", error);
drivers/input/mouse/cyapa.c
172
int error;
drivers/input/mouse/cyapa.c
182
error = cyapa_i2c_reg_read_block(cyapa, BL_HEAD_OFFSET, BL_STATUS_SIZE,
drivers/input/mouse/cyapa.c
190
if (cyapa->smbus && (error == -ETIMEDOUT || error == -ENXIO)) {
drivers/input/mouse/cyapa.c
192
error = cyapa_read_block(cyapa,
drivers/input/mouse/cyapa.c
197
if (error != BL_STATUS_SIZE)
drivers/input/mouse/cyapa.c
198
goto error;
drivers/input/mouse/cyapa.c
210
error = cyapa_gen3_ops.state_parse(cyapa,
drivers/input/mouse/cyapa.c
212
if (!error)
drivers/input/mouse/cyapa.c
218
error = cyapa_pip_state_parse(cyapa,
drivers/input/mouse/cyapa.c
220
if (!error)
drivers/input/mouse/cyapa.c
227
error = cyapa_gen5_ops.state_parse(cyapa,
drivers/input/mouse/cyapa.c
229
if (!error)
drivers/input/mouse/cyapa.c
240
error = cyapa_i2c_write(cyapa, 0, 2, cmd);
drivers/input/mouse/cyapa.c
241
if (error)
drivers/input/mouse/cyapa.c
242
goto error;
drivers/input/mouse/cyapa.c
246
error = cyapa_i2c_read(cyapa, BL_HEAD_OFFSET,
drivers/input/mouse/cyapa.c
248
if (error)
drivers/input/mouse/cyapa.c
249
goto error;
drivers/input/mouse/cyapa.c
253
goto error;
drivers/input/mouse/cyapa.c
260
error:
drivers/input/mouse/cyapa.c
261
return (error < 0) ? error : -EAGAIN;
drivers/input/mouse/cyapa.c
281
int error;
drivers/input/mouse/cyapa.c
285
error = cyapa_get_state(cyapa);
drivers/input/mouse/cyapa.c
286
if (!error && cyapa->state > CYAPA_STATE_BL_BUSY)
drivers/input/mouse/cyapa.c
292
return (error == -EAGAIN || error == -ETIMEDOUT) ? -ETIMEDOUT : error;
drivers/input/mouse/cyapa.c
313
int error;
drivers/input/mouse/cyapa.c
315
error = cyapa_poll_state(cyapa, 4000);
drivers/input/mouse/cyapa.c
316
if (error)
drivers/input/mouse/cyapa.c
317
return error;
drivers/input/mouse/cyapa.c
333
error = cyapa->ops->operational_check(cyapa);
drivers/input/mouse/cyapa.c
334
if (!error && cyapa_is_operational_mode(cyapa))
drivers/input/mouse/cyapa.c
339
return error;
drivers/input/mouse/cyapa.c
351
int error;
drivers/input/mouse/cyapa.c
353
error = cyapa_check_is_operational(cyapa);
drivers/input/mouse/cyapa.c
354
if (error) {
drivers/input/mouse/cyapa.c
355
if (error != -ETIMEDOUT && error != -ENODEV &&
drivers/input/mouse/cyapa.c
361
dev_err(dev, "no device detected: %d\n", error);
drivers/input/mouse/cyapa.c
362
return error;
drivers/input/mouse/cyapa.c
373
int error;
drivers/input/mouse/cyapa.c
375
error = mutex_lock_interruptible(&cyapa->state_sync_lock);
drivers/input/mouse/cyapa.c
376
if (error)
drivers/input/mouse/cyapa.c
377
return error;
drivers/input/mouse/cyapa.c
385
error = cyapa->ops->set_power_mode(cyapa,
drivers/input/mouse/cyapa.c
387
if (error) {
drivers/input/mouse/cyapa.c
388
dev_warn(dev, "set active power failed: %d\n", error);
drivers/input/mouse/cyapa.c
392
error = cyapa_reinitialize(cyapa);
drivers/input/mouse/cyapa.c
393
if (error || !cyapa->operational) {
drivers/input/mouse/cyapa.c
394
error = error ? error : -EAGAIN;
drivers/input/mouse/cyapa.c
409
return error;
drivers/input/mouse/cyapa.c
436
int error;
drivers/input/mouse/cyapa.c
506
error = input_mt_init_slots(input, CYAPA_MAX_MT_SLOTS,
drivers/input/mouse/cyapa.c
508
if (error) {
drivers/input/mouse/cyapa.c
509
dev_err(dev, "failed to initialize MT slots: %d\n", error);
drivers/input/mouse/cyapa.c
510
return error;
drivers/input/mouse/cyapa.c
514
error = input_register_device(input);
drivers/input/mouse/cyapa.c
515
if (error) {
drivers/input/mouse/cyapa.c
516
dev_err(dev, "failed to register input device: %d\n", error);
drivers/input/mouse/cyapa.c
517
return error;
drivers/input/mouse/cyapa.c
591
int error = 0;
drivers/input/mouse/cyapa.c
606
error = cyapa_gen3_ops.initialize(cyapa);
drivers/input/mouse/cyapa.c
607
if (!error)
drivers/input/mouse/cyapa.c
608
error = cyapa_gen5_ops.initialize(cyapa);
drivers/input/mouse/cyapa.c
609
if (!error)
drivers/input/mouse/cyapa.c
610
error = cyapa_gen6_ops.initialize(cyapa);
drivers/input/mouse/cyapa.c
611
if (error)
drivers/input/mouse/cyapa.c
612
return error;
drivers/input/mouse/cyapa.c
614
error = cyapa_detect(cyapa);
drivers/input/mouse/cyapa.c
615
if (error)
drivers/input/mouse/cyapa.c
616
return error;
drivers/input/mouse/cyapa.c
630
int error;
drivers/input/mouse/cyapa.c
640
error = cyapa_detect(cyapa);
drivers/input/mouse/cyapa.c
641
if (error)
drivers/input/mouse/cyapa.c
645
error = cyapa_create_input_dev(cyapa);
drivers/input/mouse/cyapa.c
646
if (error) {
drivers/input/mouse/cyapa.c
648
error);
drivers/input/mouse/cyapa.c
659
} else if (!error && cyapa->operational) {
drivers/input/mouse/cyapa.c
671
return error;
drivers/input/mouse/cyapa.c
678
int error;
drivers/input/mouse/cyapa.c
699
error = cyapa->ops->irq_handler(cyapa);
drivers/input/mouse/cyapa.c
714
if (!cyapa->operational || error) {
drivers/input/mouse/cyapa.c
743
int error;
drivers/input/mouse/cyapa.c
745
error = mutex_lock_interruptible(&cyapa->state_sync_lock);
drivers/input/mouse/cyapa.c
746
if (error)
drivers/input/mouse/cyapa.c
747
return error;
drivers/input/mouse/cyapa.c
780
int error;
drivers/input/mouse/cyapa.c
782
error = mutex_lock_interruptible(&cyapa->state_sync_lock);
drivers/input/mouse/cyapa.c
783
if (error)
drivers/input/mouse/cyapa.c
784
return error;
drivers/input/mouse/cyapa.c
829
int error;
drivers/input/mouse/cyapa.c
832
error = sysfs_merge_group(&dev->kobj,
drivers/input/mouse/cyapa.c
834
if (error) {
drivers/input/mouse/cyapa.c
836
error);
drivers/input/mouse/cyapa.c
837
return error;
drivers/input/mouse/cyapa.c
840
error = devm_add_action_or_reset(dev,
drivers/input/mouse/cyapa.c
842
if (error) {
drivers/input/mouse/cyapa.c
844
error);
drivers/input/mouse/cyapa.c
845
return error;
drivers/input/mouse/cyapa.c
866
int error;
drivers/input/mouse/cyapa.c
868
error = mutex_lock_interruptible(&cyapa->state_sync_lock);
drivers/input/mouse/cyapa.c
869
if (error)
drivers/input/mouse/cyapa.c
870
return error;
drivers/input/mouse/cyapa.c
889
int error;
drivers/input/mouse/cyapa.c
903
error = mutex_lock_interruptible(&cyapa->state_sync_lock);
drivers/input/mouse/cyapa.c
904
if (error)
drivers/input/mouse/cyapa.c
905
return error;
drivers/input/mouse/cyapa.c
943
int error;
drivers/input/mouse/cyapa.c
949
error = sysfs_merge_group(&dev->kobj, &cyapa_power_runtime_group);
drivers/input/mouse/cyapa.c
950
if (error) {
drivers/input/mouse/cyapa.c
952
"failed to create power runtime group: %d\n", error);
drivers/input/mouse/cyapa.c
953
return error;
drivers/input/mouse/cyapa.c
956
error = devm_add_action_or_reset(dev, cyapa_remove_power_runtime_group,
drivers/input/mouse/cyapa.c
958
if (error) {
drivers/input/mouse/cyapa.c
961
error);
drivers/input/mouse/cyapa.c
962
return error;
drivers/input/mouse/cyapa.c
982
int error;
drivers/input/mouse/cyapa.c
985
error = mutex_lock_interruptible(&cyapa->state_sync_lock);
drivers/input/mouse/cyapa.c
986
if (error)
drivers/input/mouse/cyapa.c
987
return error;
drivers/input/mouse/cyapa.c
988
error = sysfs_emit(buf, "%d.%d\n",
drivers/input/mouse/cyapa.c
991
return error;
drivers/input/mouse/cyapa.c
999
int error;
drivers/input/mouse/cyapa_gen3.c
1061
int error;
drivers/input/mouse/cyapa_gen3.c
1065
error = cyapa_gen3_bl_deactivate(cyapa);
drivers/input/mouse/cyapa_gen3.c
1066
if (error) {
drivers/input/mouse/cyapa_gen3.c
1067
dev_err(dev, "failed to bl_deactivate: %d\n", error);
drivers/input/mouse/cyapa_gen3.c
1068
return error;
drivers/input/mouse/cyapa_gen3.c
1076
error = cyapa_gen3_bl_exit(cyapa);
drivers/input/mouse/cyapa_gen3.c
1077
if (error) {
drivers/input/mouse/cyapa_gen3.c
1078
dev_err(dev, "failed to bl_exit: %d\n", error);
drivers/input/mouse/cyapa_gen3.c
1079
return error;
drivers/input/mouse/cyapa_gen3.c
1088
error = cyapa_gen3_set_power_mode(cyapa,
drivers/input/mouse/cyapa_gen3.c
1090
if (error)
drivers/input/mouse/cyapa_gen3.c
1092
__func__, error);
drivers/input/mouse/cyapa_gen3.c
1093
error = cyapa_gen3_get_query_data(cyapa);
drivers/input/mouse/cyapa_gen3.c
1094
if (error < 0)
drivers/input/mouse/cyapa_gen3.c
1095
return error;
drivers/input/mouse/cyapa_gen3.c
411
int error;
drivers/input/mouse/cyapa_gen3.c
414
error = cyapa_poll_state(cyapa, 500);
drivers/input/mouse/cyapa_gen3.c
415
if (error)
drivers/input/mouse/cyapa_gen3.c
416
return error;
drivers/input/mouse/cyapa_gen3.c
427
error = cyapa_write_byte(cyapa, CYAPA_CMD_SOFT_RESET, 0x01);
drivers/input/mouse/cyapa_gen3.c
428
if (error)
drivers/input/mouse/cyapa_gen3.c
434
error = cyapa_poll_state(cyapa, 500);
drivers/input/mouse/cyapa_gen3.c
435
if (error) {
drivers/input/mouse/cyapa_gen3.c
436
if (error == -ETIMEDOUT) {
drivers/input/mouse/cyapa_gen3.c
440
return error;
drivers/input/mouse/cyapa_gen3.c
460
int error;
drivers/input/mouse/cyapa_gen3.c
462
error = cyapa_i2c_reg_write_block(cyapa, 0, sizeof(bl_activate),
drivers/input/mouse/cyapa_gen3.c
464
if (error)
drivers/input/mouse/cyapa_gen3.c
465
return error;
drivers/input/mouse/cyapa_gen3.c
469
error = cyapa_poll_state(cyapa, 11000);
drivers/input/mouse/cyapa_gen3.c
470
if (error)
drivers/input/mouse/cyapa_gen3.c
471
return error;
drivers/input/mouse/cyapa_gen3.c
480
int error;
drivers/input/mouse/cyapa_gen3.c
482
error = cyapa_i2c_reg_write_block(cyapa, 0, sizeof(bl_deactivate),
drivers/input/mouse/cyapa_gen3.c
484
if (error)
drivers/input/mouse/cyapa_gen3.c
485
return error;
drivers/input/mouse/cyapa_gen3.c
489
error = cyapa_poll_state(cyapa, 500);
drivers/input/mouse/cyapa_gen3.c
490
if (error)
drivers/input/mouse/cyapa_gen3.c
491
return error;
drivers/input/mouse/cyapa_gen3.c
512
int error;
drivers/input/mouse/cyapa_gen3.c
514
error = cyapa_i2c_reg_write_block(cyapa, 0, sizeof(bl_exit), bl_exit);
drivers/input/mouse/cyapa_gen3.c
515
if (error)
drivers/input/mouse/cyapa_gen3.c
516
return error;
drivers/input/mouse/cyapa_gen3.c
529
error = cyapa_poll_state(cyapa, 4000);
drivers/input/mouse/cyapa_gen3.c
530
if (error < 0)
drivers/input/mouse/cyapa_gen3.c
531
return error;
drivers/input/mouse/cyapa_gen3.c
611
int error;
drivers/input/mouse/cyapa_gen3.c
623
error = cyapa_i2c_reg_write_block(cyapa, 0, cmd_len + 1, cmd);
drivers/input/mouse/cyapa_gen3.c
624
if (error)
drivers/input/mouse/cyapa_gen3.c
625
return error;
drivers/input/mouse/cyapa_gen3.c
702
int error;
drivers/input/mouse/cyapa_gen3.c
710
error = cyapa_gen3_write_fw_block(cyapa, block, data);
drivers/input/mouse/cyapa_gen3.c
711
if (error)
drivers/input/mouse/cyapa_gen3.c
712
return error;
drivers/input/mouse/cyapa_gen3.c
721
int error;
drivers/input/mouse/cyapa_gen3.c
724
error = cyapa_gen3_write_blocks(cyapa,
drivers/input/mouse/cyapa_gen3.c
727
if (error) {
drivers/input/mouse/cyapa_gen3.c
728
dev_err(dev, "FW update aborted, write image: %d\n", error);
drivers/input/mouse/cyapa_gen3.c
729
return error;
drivers/input/mouse/cyapa_gen3.c
733
error = cyapa_gen3_write_blocks(cyapa,
drivers/input/mouse/cyapa_gen3.c
736
if (error) {
drivers/input/mouse/cyapa_gen3.c
737
dev_err(dev, "FW update aborted, write checksum: %d\n", error);
drivers/input/mouse/cyapa_gen3.c
738
return error;
drivers/input/mouse/cyapa_gen5.c
1061
int error;
drivers/input/mouse/cyapa_gen5.c
1104
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen5.c
1108
if (error || resp_len != PIP_BL_INITIATE_RESP_LEN ||
drivers/input/mouse/cyapa_gen5.c
1111
return error ? error : -EAGAIN;
drivers/input/mouse/cyapa_gen5.c
1145
int error;
drivers/input/mouse/cyapa_gen5.c
1148
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen5.c
1152
if (error)
drivers/input/mouse/cyapa_gen5.c
1153
return error;
drivers/input/mouse/cyapa_gen5.c
1171
int error;
drivers/input/mouse/cyapa_gen5.c
1173
error = cyapa_poll_state(cyapa, 500);
drivers/input/mouse/cyapa_gen5.c
1174
if (error < 0)
drivers/input/mouse/cyapa_gen5.c
1175
return error;
drivers/input/mouse/cyapa_gen5.c
1192
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen5.c
1197
if (error || resp_data[0] != 0x00 || resp_data[1] != 0x00)
drivers/input/mouse/cyapa_gen5.c
1198
return error < 0 ? error : -EAGAIN;
drivers/input/mouse/cyapa_gen5.c
1331
int error;
drivers/input/mouse/cyapa_gen5.c
1370
error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, cmd_len,
drivers/input/mouse/cyapa_gen5.c
1373
if (error || resp_len != PIP_BL_BLOCK_WRITE_RESP_LEN ||
drivers/input/mouse/cyapa_gen5.c
1376
return error < 0 ? error : -EAGAIN;
drivers/input/mouse/cyapa_gen5.c
1388
int error;
drivers/input/mouse/cyapa_gen5.c
1400
error = cyapa_pip_write_fw_block(cyapa, &image_records[i]);
drivers/input/mouse/cyapa_gen5.c
1401
if (error) {
drivers/input/mouse/cyapa_gen5.c
1403
__func__, error);
drivers/input/mouse/cyapa_gen5.c
1404
return error;
drivers/input/mouse/cyapa_gen5.c
1416
int error;
drivers/input/mouse/cyapa_gen5.c
1420
error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, sizeof(cmd),
drivers/input/mouse/cyapa_gen5.c
1423
if (error || !VALID_CMD_RESP_HEADER(resp_data, 0x08) ||
drivers/input/mouse/cyapa_gen5.c
1425
return error < 0 ? error : -EINVAL;
drivers/input/mouse/cyapa_gen5.c
1440
int error;
drivers/input/mouse/cyapa_gen5.c
1476
error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, cmd_len,
drivers/input/mouse/cyapa_gen5.c
1479
if (error || resp_data[5] != parameter_id ||
drivers/input/mouse/cyapa_gen5.c
1482
return error < 0 ? error : -EINVAL;
drivers/input/mouse/cyapa_gen5.c
1498
int error;
drivers/input/mouse/cyapa_gen5.c
1530
error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, cmd_len,
drivers/input/mouse/cyapa_gen5.c
1533
if (error || resp_data[5] != parameter_id || resp_data[6] == 0 ||
drivers/input/mouse/cyapa_gen5.c
1535
return error < 0 ? error : -EINVAL;
drivers/input/mouse/cyapa_gen5.c
1551
int error;
drivers/input/mouse/cyapa_gen5.c
1564
error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, sizeof(cmd),
drivers/input/mouse/cyapa_gen5.c
1567
if (error || resp_data[5] != GEN5_PARAMETER_DISABLE_PIP_REPORT ||
drivers/input/mouse/cyapa_gen5.c
1570
return error < 0 ? error : -EINVAL;
drivers/input/mouse/cyapa_gen5.c
1582
int error;
drivers/input/mouse/cyapa_gen5.c
1585
error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, sizeof(cmd),
drivers/input/mouse/cyapa_gen5.c
1588
if (error || !VALID_CMD_RESP_HEADER(resp_data, PIP_SET_PROXIMITY) ||
drivers/input/mouse/cyapa_gen5.c
1590
error = (error == -ETIMEDOUT) ? -EOPNOTSUPP : error;
drivers/input/mouse/cyapa_gen5.c
1591
return error < 0 ? error : -EINVAL;
drivers/input/mouse/cyapa_gen5.c
1602
int error;
drivers/input/mouse/cyapa_gen5.c
1606
error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, sizeof(cmd),
drivers/input/mouse/cyapa_gen5.c
1609
if (error || ((resp_data[3] & PIP_DEEP_SLEEP_STATE_MASK) != state))
drivers/input/mouse/cyapa_gen5.c
1620
int error = 0;
drivers/input/mouse/cyapa_gen5.c
1654
error = cyapa_pip_deep_sleep(cyapa, PIP_DEEP_SLEEP_STATE_OFF);
drivers/input/mouse/cyapa_gen5.c
1655
if (error) {
drivers/input/mouse/cyapa_gen5.c
1656
dev_err(dev, "enter deep sleep fail: %d\n", error);
drivers/input/mouse/cyapa_gen5.c
1670
error = cyapa_pip_deep_sleep(cyapa, PIP_DEEP_SLEEP_STATE_ON);
drivers/input/mouse/cyapa_gen5.c
1671
if (error) {
drivers/input/mouse/cyapa_gen5.c
1672
dev_err(dev, "deep sleep wake fail: %d\n", error);
drivers/input/mouse/cyapa_gen5.c
1678
error = cyapa_gen5_change_power_state(cyapa,
drivers/input/mouse/cyapa_gen5.c
1680
if (error) {
drivers/input/mouse/cyapa_gen5.c
1681
dev_err(dev, "change to active fail: %d\n", error);
drivers/input/mouse/cyapa_gen5.c
1687
error = cyapa_gen5_change_power_state(cyapa,
drivers/input/mouse/cyapa_gen5.c
1689
if (error) {
drivers/input/mouse/cyapa_gen5.c
1690
dev_err(dev, "fail to button only mode: %d\n", error);
drivers/input/mouse/cyapa_gen5.c
1712
error = cyapa_gen5_change_power_state(cyapa, power_state);
drivers/input/mouse/cyapa_gen5.c
1713
if (error) {
drivers/input/mouse/cyapa_gen5.c
1715
power_state, error);
drivers/input/mouse/cyapa_gen5.c
1738
return error;
drivers/input/mouse/cyapa_gen5.c
1746
int error;
drivers/input/mouse/cyapa_gen5.c
1752
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen5.c
1756
if (error || !VALID_CMD_RESP_HEADER(resp_data, 0x04))
drivers/input/mouse/cyapa_gen5.c
1770
int error;
drivers/input/mouse/cyapa_gen5.c
1776
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen5.c
1780
if (error || !VALID_CMD_RESP_HEADER(resp_data, 0x03))
drivers/input/mouse/cyapa_gen5.c
1796
int error;
drivers/input/mouse/cyapa_gen5.c
1809
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen5.c
1813
if (error || !VALID_CMD_RESP_HEADER(resp_data, PIP_CMD_CALIBRATE) ||
drivers/input/mouse/cyapa_gen5.c
1815
return error < 0 ? error : -EAGAIN;
drivers/input/mouse/cyapa_gen5.c
1825
int error, calibrate_error;
drivers/input/mouse/cyapa_gen5.c
1828
error = cyapa_pip_suspend_scanning(cyapa);
drivers/input/mouse/cyapa_gen5.c
1829
if (error)
drivers/input/mouse/cyapa_gen5.c
1830
return error;
drivers/input/mouse/cyapa_gen5.c
1846
error = cyapa_pip_resume_scanning(cyapa);
drivers/input/mouse/cyapa_gen5.c
1847
if (error || calibrate_error)
drivers/input/mouse/cyapa_gen5.c
1848
return error ? error : calibrate_error;
drivers/input/mouse/cyapa_gen5.c
1950
int error;
drivers/input/mouse/cyapa_gen5.c
2023
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen5.c
2028
if (error || resp_len < GEN5_RESP_DATA_STRUCTURE_OFFSET ||
drivers/input/mouse/cyapa_gen5.c
2032
return (error < 0) ? error : -EAGAIN;
drivers/input/mouse/cyapa_gen5.c
2127
int error;
drivers/input/mouse/cyapa_gen5.c
2133
error = cyapa_gen5_read_idac_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
2138
if (error)
drivers/input/mouse/cyapa_gen5.c
2139
return error;
drivers/input/mouse/cyapa_gen5.c
2141
error = cyapa_gen5_read_idac_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
2146
return error;
drivers/input/mouse/cyapa_gen5.c
2154
int error;
drivers/input/mouse/cyapa_gen5.c
2160
error = cyapa_gen5_read_idac_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
2165
if (error)
drivers/input/mouse/cyapa_gen5.c
2166
return error;
drivers/input/mouse/cyapa_gen5.c
2170
error = cyapa_gen5_read_idac_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
2175
return error;
drivers/input/mouse/cyapa_gen5.c
2184
int error;
drivers/input/mouse/cyapa_gen5.c
2193
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen5.c
2197
if (error || resp_len != sizeof(resp_data) ||
drivers/input/mouse/cyapa_gen5.c
2201
return error ? error : -EAGAIN;
drivers/input/mouse/cyapa_gen5.c
2224
int error;
drivers/input/mouse/cyapa_gen5.c
2253
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen5.c
2257
if (error || resp_len < GEN5_RESP_DATA_STRUCTURE_OFFSET ||
drivers/input/mouse/cyapa_gen5.c
2261
return error ? error : -EAGAIN;
drivers/input/mouse/cyapa_gen5.c
2315
int error, resume_error;
drivers/input/mouse/cyapa_gen5.c
2322
error = cyapa_pip_suspend_scanning(cyapa);
drivers/input/mouse/cyapa_gen5.c
2323
if (error)
drivers/input/mouse/cyapa_gen5.c
2324
return error;
drivers/input/mouse/cyapa_gen5.c
2328
error = cyapa_gen5_read_mutual_idac_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
2332
if (error)
drivers/input/mouse/cyapa_gen5.c
2336
error = cyapa_gen5_read_self_idac_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
2340
if (error)
drivers/input/mouse/cyapa_gen5.c
2344
error = cyapa_gen5_execute_panel_scan(cyapa);
drivers/input/mouse/cyapa_gen5.c
2345
if (error)
drivers/input/mouse/cyapa_gen5.c
2349
error = cyapa_gen5_read_panel_scan_raw_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
2356
if (error)
drivers/input/mouse/cyapa_gen5.c
2360
error = cyapa_gen5_read_panel_scan_raw_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
2367
if (error)
drivers/input/mouse/cyapa_gen5.c
2371
error = cyapa_gen5_read_panel_scan_raw_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
2378
if (error)
drivers/input/mouse/cyapa_gen5.c
2382
error = cyapa_gen5_read_panel_scan_raw_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
2389
if (error)
drivers/input/mouse/cyapa_gen5.c
2393
error = cyapa_gen5_read_panel_scan_raw_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
2400
if (error)
drivers/input/mouse/cyapa_gen5.c
2404
error = cyapa_gen5_read_panel_scan_raw_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
2411
if (error)
drivers/input/mouse/cyapa_gen5.c
2417
if (resume_error || error)
drivers/input/mouse/cyapa_gen5.c
2418
return resume_error ? resume_error : error;
drivers/input/mouse/cyapa_gen5.c
2451
int error;
drivers/input/mouse/cyapa_gen5.c
2454
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen5.c
2458
if (error || resp_len < PIP_BL_APP_INFO_RESP_LENGTH ||
drivers/input/mouse/cyapa_gen5.c
2460
return error ? error : -EIO;
drivers/input/mouse/cyapa_gen5.c
2483
int error;
drivers/input/mouse/cyapa_gen5.c
2486
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen5.c
2490
if (error || resp_len < sizeof(resp_data))
drivers/input/mouse/cyapa_gen5.c
2491
return error ? error : -EIO;
drivers/input/mouse/cyapa_gen5.c
2543
int error;
drivers/input/mouse/cyapa_gen5.c
2550
error = cyapa_pip_bl_exit(cyapa);
drivers/input/mouse/cyapa_gen5.c
2551
if (error) {
drivers/input/mouse/cyapa_gen5.c
2567
error = cyapa_gen5_set_power_mode(cyapa,
drivers/input/mouse/cyapa_gen5.c
2569
if (error)
drivers/input/mouse/cyapa_gen5.c
2575
error = cyapa_pip_set_proximity(cyapa, true);
drivers/input/mouse/cyapa_gen5.c
2576
if (error)
drivers/input/mouse/cyapa_gen5.c
2583
error = cyapa_gen5_get_query_data(cyapa);
drivers/input/mouse/cyapa_gen5.c
2584
if (error)
drivers/input/mouse/cyapa_gen5.c
2591
error = -EINVAL;
drivers/input/mouse/cyapa_gen5.c
2595
error = -EINVAL;
drivers/input/mouse/cyapa_gen5.c
2599
return error;
drivers/input/mouse/cyapa_gen5.c
452
int error;
drivers/input/mouse/cyapa_gen5.c
479
error = cyapa_i2c_pip_read(cyapa, pip->empty_buf,
drivers/input/mouse/cyapa_gen5.c
481
if (error < 0)
drivers/input/mouse/cyapa_gen5.c
482
return error;
drivers/input/mouse/cyapa_gen5.c
505
error = cyapa_i2c_pip_read(cyapa, pip->empty_buf, length);
drivers/input/mouse/cyapa_gen5.c
506
if (error < 0)
drivers/input/mouse/cyapa_gen5.c
507
return error;
drivers/input/mouse/cyapa_gen5.c
530
error = -EINVAL;
drivers/input/mouse/cyapa_gen5.c
533
return error;
drivers/input/mouse/cyapa_gen5.c
542
int error;
drivers/input/mouse/cyapa_gen5.c
548
error = cyapa_i2c_pip_write(cyapa, cmd, cmd_len);
drivers/input/mouse/cyapa_gen5.c
549
if (error) {
drivers/input/mouse/cyapa_gen5.c
551
return (error < 0) ? error : -EIO;
drivers/input/mouse/cyapa_gen5.c
575
int error;
drivers/input/mouse/cyapa_gen5.c
578
error = cyapa_i2c_pip_write(cyapa, cmd, cmd_len);
drivers/input/mouse/cyapa_gen5.c
579
if (error) {
drivers/input/mouse/cyapa_gen5.c
581
return error < 0 ? error : -EIO;
drivers/input/mouse/cyapa_gen5.c
590
error = cyapa_empty_pip_output_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
592
if (error || *resp_len == 0)
drivers/input/mouse/cyapa_gen5.c
597
if ((error || *resp_len == 0) || tries <= 0)
drivers/input/mouse/cyapa_gen5.c
598
error = error ? error : -ETIMEDOUT;
drivers/input/mouse/cyapa_gen5.c
602
return error;
drivers/input/mouse/cyapa_gen5.c
614
int error;
drivers/input/mouse/cyapa_gen5.c
620
error = mutex_lock_interruptible(&pip->cmd_lock);
drivers/input/mouse/cyapa_gen5.c
621
if (error)
drivers/input/mouse/cyapa_gen5.c
622
return error;
drivers/input/mouse/cyapa_gen5.c
641
error = cyapa_do_i2c_pip_cmd_irq_sync(cyapa, cmd, cmd_len,
drivers/input/mouse/cyapa_gen5.c
643
if (error == -ETIMEDOUT && resp_data &&
drivers/input/mouse/cyapa_gen5.c
650
error = cyapa_empty_pip_output_data(cyapa,
drivers/input/mouse/cyapa_gen5.c
652
if (error || *resp_len == 0)
drivers/input/mouse/cyapa_gen5.c
653
error = error ? error : -ETIMEDOUT;
drivers/input/mouse/cyapa_gen5.c
657
error = cyapa_do_i2c_pip_cmd_polling(cyapa, cmd, cmd_len,
drivers/input/mouse/cyapa_gen5.c
667
return error;
drivers/input/mouse/cyapa_gen5.c
775
int error;
drivers/input/mouse/cyapa_gen5.c
799
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen5.c
805
if (error)
drivers/input/mouse/cyapa_gen5.c
806
return error;
drivers/input/mouse/cyapa_gen6.c
104
if (error || resp_len < PIP_BL_GET_INFO_RESP_LENGTH)
drivers/input/mouse/cyapa_gen6.c
105
return error ? error : -EIO;
drivers/input/mouse/cyapa_gen6.c
116
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen6.c
120
if (error || resp_len < PIP_READ_SYS_INFO_RESP_LENGTH)
drivers/input/mouse/cyapa_gen6.c
121
return error ? error : -EIO;
drivers/input/mouse/cyapa_gen6.c
143
int error;
drivers/input/mouse/cyapa_gen6.c
158
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen6.c
164
if (error)
drivers/input/mouse/cyapa_gen6.c
165
return error;
drivers/input/mouse/cyapa_gen6.c
176
error = cyapa_get_pip_fixed_info(cyapa, &pip_info, is_bootloader);
drivers/input/mouse/cyapa_gen6.c
177
if (error)
drivers/input/mouse/cyapa_gen6.c
178
return error;
drivers/input/mouse/cyapa_gen6.c
200
int error;
drivers/input/mouse/cyapa_gen6.c
204
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen6.c
208
if (error || resp_len < sizeof(resp_data))
drivers/input/mouse/cyapa_gen6.c
209
return error ? error : -EIO;
drivers/input/mouse/cyapa_gen6.c
262
int error;
drivers/input/mouse/cyapa_gen6.c
265
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen6.c
269
if (error || resp_len < PIP_BL_APP_INFO_RESP_LENGTH ||
drivers/input/mouse/cyapa_gen6.c
271
return error ? error : -EIO;
drivers/input/mouse/cyapa_gen6.c
295
int error;
drivers/input/mouse/cyapa_gen6.c
298
error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, sizeof(cmd),
drivers/input/mouse/cyapa_gen6.c
301
if (error || !VALID_CMD_RESP_HEADER(resp_data, cmd_code) ||
drivers/input/mouse/cyapa_gen6.c
304
return error < 0 ? error : -EINVAL;
drivers/input/mouse/cyapa_gen6.c
311
int error;
drivers/input/mouse/cyapa_gen6.c
314
error = cyapa_pip_set_proximity(cyapa, enable);
drivers/input/mouse/cyapa_gen6.c
317
return error;
drivers/input/mouse/cyapa_gen6.c
325
int error;
drivers/input/mouse/cyapa_gen6.c
328
error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, sizeof(cmd),
drivers/input/mouse/cyapa_gen6.c
331
if (error || !VALID_CMD_RESP_HEADER(resp_data, 0x46))
drivers/input/mouse/cyapa_gen6.c
332
return error < 0 ? error : -EINVAL;
drivers/input/mouse/cyapa_gen6.c
356
int error;
drivers/input/mouse/cyapa_gen6.c
372
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen6.c
376
if (error ||
drivers/input/mouse/cyapa_gen6.c
378
return error < 0 ? error : -EINVAL;
drivers/input/mouse/cyapa_gen6.c
395
int error;
drivers/input/mouse/cyapa_gen6.c
398
error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, sizeof(cmd),
drivers/input/mouse/cyapa_gen6.c
401
if (error ||
drivers/input/mouse/cyapa_gen6.c
403
return error < 0 ? error : -EINVAL;
drivers/input/mouse/cyapa_gen6.c
434
int error;
drivers/input/mouse/cyapa_gen6.c
465
error = cyapa_gen6_deep_sleep(cyapa, PIP_DEEP_SLEEP_STATE_OFF);
drivers/input/mouse/cyapa_gen6.c
466
if (error) {
drivers/input/mouse/cyapa_gen6.c
467
dev_err(dev, "enter deep sleep fail: %d\n", error);
drivers/input/mouse/cyapa_gen6.c
468
return error;
drivers/input/mouse/cyapa_gen6.c
481
error = cyapa_gen6_deep_sleep(cyapa, PIP_DEEP_SLEEP_STATE_ON);
drivers/input/mouse/cyapa_gen6.c
482
if (error) {
drivers/input/mouse/cyapa_gen6.c
483
dev_err(dev, "deep sleep wake fail: %d\n", error);
drivers/input/mouse/cyapa_gen6.c
484
return error;
drivers/input/mouse/cyapa_gen6.c
495
error = cyapa_gen6_change_power_state(cyapa,
drivers/input/mouse/cyapa_gen6.c
497
if (error) {
drivers/input/mouse/cyapa_gen6.c
498
dev_err(dev, "change to active fail: %d\n", error);
drivers/input/mouse/cyapa_gen6.c
508
error = cyapa_gen6_change_power_state(cyapa,
drivers/input/mouse/cyapa_gen6.c
510
if (error) {
drivers/input/mouse/cyapa_gen6.c
511
dev_err(dev, "fail to button only mode: %d\n", error);
drivers/input/mouse/cyapa_gen6.c
538
error = cyapa_gen6_change_power_state(cyapa, lp_mode);
drivers/input/mouse/cyapa_gen6.c
539
if (error) {
drivers/input/mouse/cyapa_gen6.c
541
lp_mode, error);
drivers/input/mouse/cyapa_gen6.c
552
return error;
drivers/input/mouse/cyapa_gen6.c
572
int error;
drivers/input/mouse/cyapa_gen6.c
584
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cyapa_gen6.c
589
if (error || !PIP_CMD_COMPLETE_SUCCESS(resp_data) ||
drivers/input/mouse/cyapa_gen6.c
592
return (error < 0) ? error : -EAGAIN;
drivers/input/mouse/cyapa_gen6.c
613
int error;
drivers/input/mouse/cyapa_gen6.c
620
error = cyapa_pip_suspend_scanning(cyapa);
drivers/input/mouse/cyapa_gen6.c
621
if (error)
drivers/input/mouse/cyapa_gen6.c
622
return error;
drivers/input/mouse/cyapa_gen6.c
626
error = cyapa_pip_retrieve_data_structure(cyapa, 0, data_len,
drivers/input/mouse/cyapa_gen6.c
629
if (error)
drivers/input/mouse/cyapa_gen6.c
643
error = cyapa_pip_retrieve_data_structure(cyapa, 0, data_len,
drivers/input/mouse/cyapa_gen6.c
646
if (error)
drivers/input/mouse/cyapa_gen6.c
657
if (resume_error || error) {
drivers/input/mouse/cyapa_gen6.c
659
return resume_error ? resume_error : error;
drivers/input/mouse/cyapa_gen6.c
668
int error;
drivers/input/mouse/cyapa_gen6.c
675
error = cyapa_pip_bl_exit(cyapa);
drivers/input/mouse/cyapa_gen6.c
676
if (error) {
drivers/input/mouse/cyapa_gen6.c
692
error = cyapa_gen6_set_power_mode(cyapa,
drivers/input/mouse/cyapa_gen6.c
694
if (error)
drivers/input/mouse/cyapa_gen6.c
699
error = cyapa_pip_set_proximity(cyapa, true);
drivers/input/mouse/cyapa_gen6.c
700
if (error)
drivers/input/mouse/cyapa_gen6.c
705
error = cyapa_gen6_read_sys_info(cyapa);
drivers/input/mouse/cyapa_gen6.c
706
if (error)
drivers/input/mouse/cyapa_gen6.c
713
error = -EINVAL;
drivers/input/mouse/cyapa_gen6.c
717
error = -EINVAL;
drivers/input/mouse/cyapa_gen6.c
721
return error;
drivers/input/mouse/cyapa_gen6.c
94
int error;
drivers/input/mouse/cyapa_gen6.c
99
error = cyapa_i2c_pip_cmd_irq_sync(cyapa,
drivers/input/mouse/cypress_ps2.c
130
int error;
drivers/input/mouse/cypress_ps2.c
142
error = ps2_command(&psmouse->ps2dev, param, ps2_cmd);
drivers/input/mouse/cypress_ps2.c
143
if (error) {
drivers/input/mouse/cypress_ps2.c
145
cmd, error);
drivers/input/mouse/cypress_ps2.c
282
int error;
drivers/input/mouse/cypress_ps2.c
284
error = cypress_read_fw_version(psmouse);
drivers/input/mouse/cypress_ps2.c
285
if (error)
drivers/input/mouse/cypress_ps2.c
286
return error;
drivers/input/mouse/cypress_ps2.c
288
error = cypress_read_tp_metrics(psmouse);
drivers/input/mouse/cypress_ps2.c
289
if (error)
drivers/input/mouse/cypress_ps2.c
290
return error;
drivers/input/mouse/cypress_ps2.c
299
int error;
drivers/input/mouse/cypress_ps2.c
301
error = cypress_send_ext_cmd(psmouse, CYTP_CMD_ABS_WITH_PRESSURE_MODE,
drivers/input/mouse/cypress_ps2.c
303
if (error)
drivers/input/mouse/cypress_ps2.c
304
return error;
drivers/input/mouse/cypress_ps2.c
329
int error;
drivers/input/mouse/cypress_ps2.c
346
error = input_mt_init_slots(input, CYTP_MAX_MT_SLOTS,
drivers/input/mouse/cypress_ps2.c
348
if (error)
drivers/input/mouse/cypress_ps2.c
349
return error;
drivers/input/mouse/cypress_ps2.c
41
int error;
drivers/input/mouse/cypress_ps2.c
43
error = ps2_sendbyte(ps2dev, cmd, CYTP_CMD_TIMEOUT);
drivers/input/mouse/cypress_ps2.c
44
if (error) {
drivers/input/mouse/cypress_ps2.c
47
cmd, ps2dev->nak, error);
drivers/input/mouse/cypress_ps2.c
48
return error;
drivers/input/mouse/cypress_ps2.c
601
int error;
drivers/input/mouse/cypress_ps2.c
605
error = cypress_detect(psmouse, false);
drivers/input/mouse/cypress_ps2.c
606
} while (error && (--tries > 0));
drivers/input/mouse/cypress_ps2.c
608
if (error) {
drivers/input/mouse/cypress_ps2.c
610
return error;
drivers/input/mouse/cypress_ps2.c
613
error = cypress_set_absolute_mode(psmouse);
drivers/input/mouse/cypress_ps2.c
614
if (error) {
drivers/input/mouse/cypress_ps2.c
616
return error;
drivers/input/mouse/cypress_ps2.c
625
int error;
drivers/input/mouse/cypress_ps2.c
636
error = cypress_query_hardware(psmouse);
drivers/input/mouse/cypress_ps2.c
637
if (error) {
drivers/input/mouse/cypress_ps2.c
642
error = cypress_set_absolute_mode(psmouse);
drivers/input/mouse/cypress_ps2.c
643
if (error) {
drivers/input/mouse/cypress_ps2.c
648
error = cypress_set_input_params(psmouse->dev, cytp);
drivers/input/mouse/cypress_ps2.c
649
if (error) {
drivers/input/mouse/cypress_ps2.c
674
return error;
drivers/input/mouse/elan_i2c_core.c
1039
int error;
drivers/input/mouse/elan_i2c_core.c
1052
error = data->ops->get_report(data->client, report, data->report_len);
drivers/input/mouse/elan_i2c_core.c
1053
if (error)
drivers/input/mouse/elan_i2c_core.c
1117
int error;
drivers/input/mouse/elan_i2c_core.c
1129
error = input_mt_init_slots(input, ETP_MAX_FINGERS,
drivers/input/mouse/elan_i2c_core.c
1131
if (error) {
drivers/input/mouse/elan_i2c_core.c
1132
dev_err(dev, "failed to initialize MT slots: %d\n", error);
drivers/input/mouse/elan_i2c_core.c
1133
return error;
drivers/input/mouse/elan_i2c_core.c
1190
int error;
drivers/input/mouse/elan_i2c_core.c
1221
error = regulator_enable(data->vcc);
drivers/input/mouse/elan_i2c_core.c
1222
if (error) {
drivers/input/mouse/elan_i2c_core.c
1223
dev_err(dev, "Failed to enable regulator: %d\n", error);
drivers/input/mouse/elan_i2c_core.c
1224
return error;
drivers/input/mouse/elan_i2c_core.c
1227
error = devm_add_action_or_reset(dev, elan_disable_regulator, data);
drivers/input/mouse/elan_i2c_core.c
1228
if (error) {
drivers/input/mouse/elan_i2c_core.c
1230
error);
drivers/input/mouse/elan_i2c_core.c
1231
return error;
drivers/input/mouse/elan_i2c_core.c
1235
error = i2c_smbus_read_byte(client);
drivers/input/mouse/elan_i2c_core.c
1236
if (error < 0) {
drivers/input/mouse/elan_i2c_core.c
1237
dev_dbg(&client->dev, "nothing at this address: %d\n", error);
drivers/input/mouse/elan_i2c_core.c
1242
error = elan_initialize(data, false);
drivers/input/mouse/elan_i2c_core.c
1243
if (error)
drivers/input/mouse/elan_i2c_core.c
1244
return error;
drivers/input/mouse/elan_i2c_core.c
1246
error = elan_query_device_info(data);
drivers/input/mouse/elan_i2c_core.c
1247
if (error)
drivers/input/mouse/elan_i2c_core.c
1248
return error;
drivers/input/mouse/elan_i2c_core.c
1250
error = elan_query_device_parameters(data);
drivers/input/mouse/elan_i2c_core.c
1251
if (error)
drivers/input/mouse/elan_i2c_core.c
1252
return error;
drivers/input/mouse/elan_i2c_core.c
1274
error = elan_setup_input_device(data);
drivers/input/mouse/elan_i2c_core.c
1275
if (error)
drivers/input/mouse/elan_i2c_core.c
1276
return error;
drivers/input/mouse/elan_i2c_core.c
1279
error = elan_setup_trackpoint_input_device(data);
drivers/input/mouse/elan_i2c_core.c
1280
if (error)
drivers/input/mouse/elan_i2c_core.c
1281
return error;
drivers/input/mouse/elan_i2c_core.c
1293
error = devm_request_threaded_irq(dev, client->irq, NULL, elan_isr,
drivers/input/mouse/elan_i2c_core.c
1296
if (error) {
drivers/input/mouse/elan_i2c_core.c
1298
return error;
drivers/input/mouse/elan_i2c_core.c
1301
error = input_register_device(data->input);
drivers/input/mouse/elan_i2c_core.c
1302
if (error) {
drivers/input/mouse/elan_i2c_core.c
1303
dev_err(dev, "failed to register input device: %d\n", error);
drivers/input/mouse/elan_i2c_core.c
1304
return error;
drivers/input/mouse/elan_i2c_core.c
1308
error = input_register_device(data->tp_input);
drivers/input/mouse/elan_i2c_core.c
1309
if (error) {
drivers/input/mouse/elan_i2c_core.c
1312
error);
drivers/input/mouse/elan_i2c_core.c
1313
return error;
drivers/input/mouse/elan_i2c_core.c
1323
int error;
drivers/input/mouse/elan_i2c_core.c
1329
error = elan_set_power(data, false);
drivers/input/mouse/elan_i2c_core.c
1330
if (error)
drivers/input/mouse/elan_i2c_core.c
1331
return error;
drivers/input/mouse/elan_i2c_core.c
1333
error = regulator_disable(data->vcc);
drivers/input/mouse/elan_i2c_core.c
1334
if (error) {
drivers/input/mouse/elan_i2c_core.c
1337
error);
drivers/input/mouse/elan_i2c_core.c
1340
return error;
drivers/input/mouse/elan_i2c_core.c
1350
int error;
drivers/input/mouse/elan_i2c_core.c
1360
error = __elan_suspend(data);
drivers/input/mouse/elan_i2c_core.c
1361
if (error) {
drivers/input/mouse/elan_i2c_core.c
1363
return error;
drivers/input/mouse/elan_i2c_core.c
1374
int error;
drivers/input/mouse/elan_i2c_core.c
1377
error = regulator_enable(data->vcc);
drivers/input/mouse/elan_i2c_core.c
1378
if (error) {
drivers/input/mouse/elan_i2c_core.c
1379
dev_err(dev, "error %d enabling regulator\n", error);
drivers/input/mouse/elan_i2c_core.c
1384
error = elan_set_power(data, true);
drivers/input/mouse/elan_i2c_core.c
1385
if (error) {
drivers/input/mouse/elan_i2c_core.c
1386
dev_err(dev, "power up when resuming failed: %d\n", error);
drivers/input/mouse/elan_i2c_core.c
1390
error = elan_initialize(data, data->quirks & ETP_QUIRK_QUICK_WAKEUP);
drivers/input/mouse/elan_i2c_core.c
1391
if (error)
drivers/input/mouse/elan_i2c_core.c
1392
dev_err(dev, "initialize when resuming failed: %d\n", error);
drivers/input/mouse/elan_i2c_core.c
1396
return error;
drivers/input/mouse/elan_i2c_core.c
192
int error;
drivers/input/mouse/elan_i2c_core.c
195
error = data->ops->power_control(data->client, on);
drivers/input/mouse/elan_i2c_core.c
196
if (error >= 0)
drivers/input/mouse/elan_i2c_core.c
203
str_on_off(on), error);
drivers/input/mouse/elan_i2c_core.c
204
return error;
drivers/input/mouse/elan_i2c_core.c
210
int error;
drivers/input/mouse/elan_i2c_core.c
213
error = data->ops->sleep_control(data->client, true);
drivers/input/mouse/elan_i2c_core.c
214
if (!error)
drivers/input/mouse/elan_i2c_core.c
220
return error;
drivers/input/mouse/elan_i2c_core.c
225
int error;
drivers/input/mouse/elan_i2c_core.c
227
error = data->ops->get_product_id(data->client, &data->product_id);
drivers/input/mouse/elan_i2c_core.c
228
if (error)
drivers/input/mouse/elan_i2c_core.c
229
return error;
drivers/input/mouse/elan_i2c_core.c
231
error = data->ops->get_pattern(data->client, &data->pattern);
drivers/input/mouse/elan_i2c_core.c
232
if (error)
drivers/input/mouse/elan_i2c_core.c
233
return error;
drivers/input/mouse/elan_i2c_core.c
235
error = data->ops->get_sm_version(data->client, data->pattern,
drivers/input/mouse/elan_i2c_core.c
238
if (error)
drivers/input/mouse/elan_i2c_core.c
239
return error;
drivers/input/mouse/elan_i2c_core.c
265
int error;
drivers/input/mouse/elan_i2c_core.c
268
error = data->ops->initialize(client);
drivers/input/mouse/elan_i2c_core.c
269
if (error) {
drivers/input/mouse/elan_i2c_core.c
270
dev_err(&client->dev, "device initialize failed: %d\n", error);
drivers/input/mouse/elan_i2c_core.c
271
return error;
drivers/input/mouse/elan_i2c_core.c
275
error = elan_query_product(data);
drivers/input/mouse/elan_i2c_core.c
276
if (error)
drivers/input/mouse/elan_i2c_core.c
277
return error;
drivers/input/mouse/elan_i2c_core.c
285
error = data->ops->sleep_control(client, false);
drivers/input/mouse/elan_i2c_core.c
286
if (error) {
drivers/input/mouse/elan_i2c_core.c
288
"failed to wake device up: %d\n", error);
drivers/input/mouse/elan_i2c_core.c
289
return error;
drivers/input/mouse/elan_i2c_core.c
297
error = data->ops->set_mode(client, data->mode);
drivers/input/mouse/elan_i2c_core.c
298
if (error) {
drivers/input/mouse/elan_i2c_core.c
300
"failed to switch to absolute mode: %d\n", error);
drivers/input/mouse/elan_i2c_core.c
301
return error;
drivers/input/mouse/elan_i2c_core.c
305
error = data->ops->sleep_control(client, false);
drivers/input/mouse/elan_i2c_core.c
306
if (error) {
drivers/input/mouse/elan_i2c_core.c
308
"failed to wake device up: %d\n", error);
drivers/input/mouse/elan_i2c_core.c
309
return error;
drivers/input/mouse/elan_i2c_core.c
319
int error;
drivers/input/mouse/elan_i2c_core.c
322
error = __elan_initialize(data, skip_reset);
drivers/input/mouse/elan_i2c_core.c
323
if (!error)
drivers/input/mouse/elan_i2c_core.c
330
return error;
drivers/input/mouse/elan_i2c_core.c
335
int error;
drivers/input/mouse/elan_i2c_core.c
337
error = data->ops->get_version(data->client, data->pattern, false,
drivers/input/mouse/elan_i2c_core.c
339
if (error)
drivers/input/mouse/elan_i2c_core.c
340
return error;
drivers/input/mouse/elan_i2c_core.c
342
error = data->ops->get_checksum(data->client, false,
drivers/input/mouse/elan_i2c_core.c
344
if (error)
drivers/input/mouse/elan_i2c_core.c
345
return error;
drivers/input/mouse/elan_i2c_core.c
347
error = data->ops->get_version(data->client, data->pattern,
drivers/input/mouse/elan_i2c_core.c
349
if (error)
drivers/input/mouse/elan_i2c_core.c
350
return error;
drivers/input/mouse/elan_i2c_core.c
352
error = data->ops->get_pressure_adjustment(data->client,
drivers/input/mouse/elan_i2c_core.c
354
if (error)
drivers/input/mouse/elan_i2c_core.c
355
return error;
drivers/input/mouse/elan_i2c_core.c
357
error = data->ops->get_report_features(data->client, data->pattern,
drivers/input/mouse/elan_i2c_core.c
360
if (error)
drivers/input/mouse/elan_i2c_core.c
361
return error;
drivers/input/mouse/elan_i2c_core.c
365
error = elan_get_fwinfo(data->ic_type, data->iap_version,
drivers/input/mouse/elan_i2c_core.c
369
if (error)
drivers/input/mouse/elan_i2c_core.c
400
int error;
drivers/input/mouse/elan_i2c_core.c
406
error = data->ops->get_max(data->client,
drivers/input/mouse/elan_i2c_core.c
409
if (error)
drivers/input/mouse/elan_i2c_core.c
410
return error;
drivers/input/mouse/elan_i2c_core.c
423
error = data->ops->get_num_traces(data->client,
drivers/input/mouse/elan_i2c_core.c
425
if (error)
drivers/input/mouse/elan_i2c_core.c
426
return error;
drivers/input/mouse/elan_i2c_core.c
435
error = data->ops->get_resolution(data->client,
drivers/input/mouse/elan_i2c_core.c
437
if (error)
drivers/input/mouse/elan_i2c_core.c
438
return error;
drivers/input/mouse/elan_i2c_core.c
465
int error;
drivers/input/mouse/elan_i2c_core.c
468
error = data->ops->write_fw_block(data->client, page_size,
drivers/input/mouse/elan_i2c_core.c
470
if (!error)
drivers/input/mouse/elan_i2c_core.c
474
"IAP retrying page %d (error: %d)\n", idx, error);
drivers/input/mouse/elan_i2c_core.c
477
return error;
drivers/input/mouse/elan_i2c_core.c
486
int error;
drivers/input/mouse/elan_i2c_core.c
491
error = data->ops->prepare_fw_update(client, data->ic_type,
drivers/input/mouse/elan_i2c_core.c
494
if (error)
drivers/input/mouse/elan_i2c_core.c
495
return error;
drivers/input/mouse/elan_i2c_core.c
507
error = elan_write_fw_block(data, data->fw_page_size,
drivers/input/mouse/elan_i2c_core.c
509
if (error) {
drivers/input/mouse/elan_i2c_core.c
510
dev_err(dev, "write page %d fail: %d\n", i, error);
drivers/input/mouse/elan_i2c_core.c
511
return error;
drivers/input/mouse/elan_i2c_core.c
520
error = data->ops->finish_fw_update(client, &data->fw_completion);
drivers/input/mouse/elan_i2c_core.c
521
if (error)
drivers/input/mouse/elan_i2c_core.c
522
return error;
drivers/input/mouse/elan_i2c_core.c
524
error = data->ops->get_checksum(client, true, &fw_checksum);
drivers/input/mouse/elan_i2c_core.c
525
if (error)
drivers/input/mouse/elan_i2c_core.c
526
return error;
drivers/input/mouse/elan_i2c_core.c
625
int error;
drivers/input/mouse/elan_i2c_core.c
642
error = request_firmware(&fw, fw_name, dev);
drivers/input/mouse/elan_i2c_core.c
643
if (error) {
drivers/input/mouse/elan_i2c_core.c
644
dev_err(dev, "failed to request firmware: %d\n", error);
drivers/input/mouse/elan_i2c_core.c
645
return error;
drivers/input/mouse/elan_i2c_core.c
658
error = elan_update_firmware(data, fw);
drivers/input/mouse/elan_i2c_core.c
659
if (error)
drivers/input/mouse/elan_i2c_core.c
660
return error;
drivers/input/mouse/elan_i2c_core.c
672
int error;
drivers/input/mouse/elan_i2c_core.c
714
error = data->ops->set_mode(data->client, data->mode);
drivers/input/mouse/elan_i2c_core.c
715
if (error) {
drivers/input/mouse/elan_i2c_core.c
717
error);
drivers/input/mouse/elan_i2c_core.c
719
retval = error;
drivers/input/mouse/elan_i2c_core.c
730
int error;
drivers/input/mouse/elan_i2c_core.c
733
error = elan_calibrate(data);
drivers/input/mouse/elan_i2c_core.c
734
if (error)
drivers/input/mouse/elan_i2c_core.c
735
return error;
drivers/input/mouse/elan_i2c_core.c
747
int error;
drivers/input/mouse/elan_i2c_core.c
751
error = data->ops->iap_get_mode(data->client, &mode);
drivers/input/mouse/elan_i2c_core.c
752
if (error)
drivers/input/mouse/elan_i2c_core.c
753
return error;
drivers/input/mouse/elan_i2c_core.c
790
int error;
drivers/input/mouse/elan_i2c_core.c
827
error = data->ops->set_mode(client, data->mode);
drivers/input/mouse/elan_i2c_core.c
828
if (error) {
drivers/input/mouse/elan_i2c_core.c
830
error);
drivers/input/mouse/elan_i2c_core.c
832
retval = error;
drivers/input/mouse/elan_i2c_core.c
843
int error;
drivers/input/mouse/elan_i2c_core.c
846
error = elan_acquire_baseline(data);
drivers/input/mouse/elan_i2c_core.c
847
if (error)
drivers/input/mouse/elan_i2c_core.c
848
return error;
drivers/input/mouse/elan_i2c_i2c.c
142
int error;
drivers/input/mouse/elan_i2c_i2c.c
145
error = elan_i2c_write_cmd(client, ETP_I2C_STAND_CMD, ETP_I2C_RESET);
drivers/input/mouse/elan_i2c_i2c.c
146
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
147
dev_err(dev, "device reset failed: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
148
return error;
drivers/input/mouse/elan_i2c_i2c.c
155
error = i2c_master_recv(client, val, ETP_I2C_INF_LENGTH);
drivers/input/mouse/elan_i2c_i2c.c
156
if (error < 0) {
drivers/input/mouse/elan_i2c_i2c.c
157
dev_err(dev, "failed to read reset response: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
158
return error;
drivers/input/mouse/elan_i2c_i2c.c
161
error = elan_i2c_read_block(client, ETP_I2C_DESC_CMD,
drivers/input/mouse/elan_i2c_i2c.c
163
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
164
dev_err(dev, "cannot get device descriptor: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
165
return error;
drivers/input/mouse/elan_i2c_i2c.c
168
error = elan_i2c_read_block(client, ETP_I2C_REPORT_DESC_CMD,
drivers/input/mouse/elan_i2c_i2c.c
170
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
171
dev_err(dev, "fetching report descriptor failed.: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
172
return error;
drivers/input/mouse/elan_i2c_i2c.c
188
int error;
drivers/input/mouse/elan_i2c_i2c.c
190
error = elan_i2c_read_cmd(client, ETP_I2C_POWER_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
191
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
194
error);
drivers/input/mouse/elan_i2c_i2c.c
195
return error;
drivers/input/mouse/elan_i2c_i2c.c
204
error = elan_i2c_write_cmd(client, ETP_I2C_POWER_CMD, reg);
drivers/input/mouse/elan_i2c_i2c.c
205
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
208
error);
drivers/input/mouse/elan_i2c_i2c.c
209
return error;
drivers/input/mouse/elan_i2c_i2c.c
234
int error;
drivers/input/mouse/elan_i2c_i2c.c
237
error = elan_i2c_read_cmd(client,
drivers/input/mouse/elan_i2c_i2c.c
241
if (error)
drivers/input/mouse/elan_i2c_i2c.c
242
return error;
drivers/input/mouse/elan_i2c_i2c.c
251
int error;
drivers/input/mouse/elan_i2c_i2c.c
254
error = elan_i2c_read_cmd(client, ETP_I2C_PATTERN_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
255
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
256
dev_err(&client->dev, "failed to get pattern: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
257
return error;
drivers/input/mouse/elan_i2c_i2c.c
273
int error;
drivers/input/mouse/elan_i2c_i2c.c
284
error = elan_i2c_read_cmd(client, cmd, val);
drivers/input/mouse/elan_i2c_i2c.c
285
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
287
iap ? "IAP" : "FW", error);
drivers/input/mouse/elan_i2c_i2c.c
288
return error;
drivers/input/mouse/elan_i2c_i2c.c
301
int error;
drivers/input/mouse/elan_i2c_i2c.c
305
error = elan_i2c_read_cmd(client, ETP_I2C_IC_TYPE_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
306
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
308
error);
drivers/input/mouse/elan_i2c_i2c.c
309
return error;
drivers/input/mouse/elan_i2c_i2c.c
313
error = elan_i2c_read_cmd(client, ETP_I2C_NSM_VERSION_CMD,
drivers/input/mouse/elan_i2c_i2c.c
315
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
317
error);
drivers/input/mouse/elan_i2c_i2c.c
318
return error;
drivers/input/mouse/elan_i2c_i2c.c
323
error = elan_i2c_read_cmd(client, ETP_I2C_OSM_VERSION_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
324
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
326
error);
drivers/input/mouse/elan_i2c_i2c.c
327
return error;
drivers/input/mouse/elan_i2c_i2c.c
331
error = elan_i2c_read_cmd(client, ETP_I2C_IC_TYPE_P0_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
332
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
334
error);
drivers/input/mouse/elan_i2c_i2c.c
335
return error;
drivers/input/mouse/elan_i2c_i2c.c
339
error = elan_i2c_read_cmd(client, ETP_I2C_NSM_VERSION_CMD,
drivers/input/mouse/elan_i2c_i2c.c
341
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
343
error);
drivers/input/mouse/elan_i2c_i2c.c
344
return error;
drivers/input/mouse/elan_i2c_i2c.c
354
int error;
drivers/input/mouse/elan_i2c_i2c.c
357
error = elan_i2c_read_cmd(client, ETP_I2C_UNIQUEID_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
358
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
359
dev_err(&client->dev, "failed to get product ID: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
360
return error;
drivers/input/mouse/elan_i2c_i2c.c
370
int error;
drivers/input/mouse/elan_i2c_i2c.c
373
error = elan_i2c_read_cmd(client,
drivers/input/mouse/elan_i2c_i2c.c
377
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
379
iap ? "IAP" : "FW", error);
drivers/input/mouse/elan_i2c_i2c.c
380
return error;
drivers/input/mouse/elan_i2c_i2c.c
390
int error;
drivers/input/mouse/elan_i2c_i2c.c
393
error = elan_i2c_read_cmd(client, ETP_I2C_MAX_X_AXIS_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
394
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
395
dev_err(&client->dev, "failed to get X dimension: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
396
return error;
drivers/input/mouse/elan_i2c_i2c.c
401
error = elan_i2c_read_cmd(client, ETP_I2C_MAX_Y_AXIS_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
402
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
403
dev_err(&client->dev, "failed to get Y dimension: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
404
return error;
drivers/input/mouse/elan_i2c_i2c.c
415
int error;
drivers/input/mouse/elan_i2c_i2c.c
418
error = elan_i2c_read_cmd(client, ETP_I2C_RESOLUTION_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
419
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
420
dev_err(&client->dev, "failed to get resolution: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
421
return error;
drivers/input/mouse/elan_i2c_i2c.c
434
int error;
drivers/input/mouse/elan_i2c_i2c.c
437
error = elan_i2c_read_cmd(client, ETP_I2C_XY_TRACENUM_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
438
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
439
dev_err(&client->dev, "failed to get trace info: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
440
return error;
drivers/input/mouse/elan_i2c_i2c.c
452
int error;
drivers/input/mouse/elan_i2c_i2c.c
455
error = elan_i2c_read_cmd(client, ETP_I2C_PRESSURE_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
456
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
458
error);
drivers/input/mouse/elan_i2c_i2c.c
459
return error;
drivers/input/mouse/elan_i2c_i2c.c
472
int error;
drivers/input/mouse/elan_i2c_i2c.c
476
error = elan_i2c_read_cmd(client, ETP_I2C_IAP_CTRL_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
477
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
480
error);
drivers/input/mouse/elan_i2c_i2c.c
481
return error;
drivers/input/mouse/elan_i2c_i2c.c
494
int error;
drivers/input/mouse/elan_i2c_i2c.c
496
error = elan_i2c_write_cmd(client, ETP_I2C_IAP_RESET_CMD,
drivers/input/mouse/elan_i2c_i2c.c
498
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
499
dev_err(&client->dev, "cannot reset IC: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
500
return error;
drivers/input/mouse/elan_i2c_i2c.c
508
int error;
drivers/input/mouse/elan_i2c_i2c.c
510
error = elan_i2c_write_cmd(client, ETP_I2C_IAP_CMD,
drivers/input/mouse/elan_i2c_i2c.c
512
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
513
dev_err(&client->dev, "cannot set flash key: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
514
return error;
drivers/input/mouse/elan_i2c_i2c.c
522
int error;
drivers/input/mouse/elan_i2c_i2c.c
528
error = elan_i2c_write_cmd(client, ETP_I2C_IAP_TYPE_CMD,
drivers/input/mouse/elan_i2c_i2c.c
530
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
532
"cannot write iap type: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
533
return error;
drivers/input/mouse/elan_i2c_i2c.c
536
error = elan_i2c_read_cmd(client, ETP_I2C_IAP_TYPE_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
537
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
540
error);
drivers/input/mouse/elan_i2c_i2c.c
541
return error;
drivers/input/mouse/elan_i2c_i2c.c
559
int error;
drivers/input/mouse/elan_i2c_i2c.c
565
error = elan_i2c_iap_get_mode(client, &mode);
drivers/input/mouse/elan_i2c_i2c.c
566
if (error)
drivers/input/mouse/elan_i2c_i2c.c
567
return error;
drivers/input/mouse/elan_i2c_i2c.c
571
error = elan_i2c_iap_reset(client);
drivers/input/mouse/elan_i2c_i2c.c
572
if (error)
drivers/input/mouse/elan_i2c_i2c.c
573
return error;
drivers/input/mouse/elan_i2c_i2c.c
579
error = elan_i2c_set_flash_key(client);
drivers/input/mouse/elan_i2c_i2c.c
580
if (error)
drivers/input/mouse/elan_i2c_i2c.c
581
return error;
drivers/input/mouse/elan_i2c_i2c.c
587
error = elan_i2c_iap_get_mode(client, &mode);
drivers/input/mouse/elan_i2c_i2c.c
588
if (error)
drivers/input/mouse/elan_i2c_i2c.c
589
return error;
drivers/input/mouse/elan_i2c_i2c.c
597
error = elan_read_write_iap_type(client, fw_page_size);
drivers/input/mouse/elan_i2c_i2c.c
598
if (error)
drivers/input/mouse/elan_i2c_i2c.c
599
return error;
drivers/input/mouse/elan_i2c_i2c.c
603
error = elan_i2c_set_flash_key(client);
drivers/input/mouse/elan_i2c_i2c.c
604
if (error)
drivers/input/mouse/elan_i2c_i2c.c
605
return error;
drivers/input/mouse/elan_i2c_i2c.c
611
error = elan_i2c_read_cmd(client, ETP_I2C_IAP_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
612
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
614
error);
drivers/input/mouse/elan_i2c_i2c.c
615
return error;
drivers/input/mouse/elan_i2c_i2c.c
633
int ret, error;
drivers/input/mouse/elan_i2c_i2c.c
647
error = ret < 0 ? ret : -EIO;
drivers/input/mouse/elan_i2c_i2c.c
648
dev_err(dev, "Failed to write page %d: %d\n", idx, error);
drivers/input/mouse/elan_i2c_i2c.c
649
return error;
drivers/input/mouse/elan_i2c_i2c.c
655
error = elan_i2c_read_cmd(client, ETP_I2C_IAP_CTRL_CMD, val);
drivers/input/mouse/elan_i2c_i2c.c
656
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
657
dev_err(dev, "Failed to read IAP write result: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
658
return error;
drivers/input/mouse/elan_i2c_i2c.c
675
int error = 0;
drivers/input/mouse/elan_i2c_i2c.c
681
error = len < 0 ? len : -EIO;
drivers/input/mouse/elan_i2c_i2c.c
683
error, len);
drivers/input/mouse/elan_i2c_i2c.c
689
error = elan_i2c_write_cmd(client, ETP_I2C_STAND_CMD, ETP_I2C_RESET);
drivers/input/mouse/elan_i2c_i2c.c
690
if (error) {
drivers/input/mouse/elan_i2c_i2c.c
691
dev_err(dev, "device reset failed: %d\n", error);
drivers/input/mouse/elan_i2c_i2c.c
695
error = -ETIMEDOUT;
drivers/input/mouse/elan_i2c_i2c.c
700
if (error)
drivers/input/mouse/elan_i2c_i2c.c
701
return error;
drivers/input/mouse/elan_i2c_i2c.c
705
error = len < 0 ? len : -EIO;
drivers/input/mouse/elan_i2c_i2c.c
707
error, len);
drivers/input/mouse/elan_i2c_i2c.c
708
return error;
drivers/input/mouse/elan_i2c_smbus.c
117
int error;
drivers/input/mouse/elan_i2c_smbus.c
122
error = i2c_smbus_read_block_data(client,
drivers/input/mouse/elan_i2c_smbus.c
124
if (error < 0)
drivers/input/mouse/elan_i2c_smbus.c
125
return error;
drivers/input/mouse/elan_i2c_smbus.c
134
int error;
drivers/input/mouse/elan_i2c_smbus.c
137
error = i2c_smbus_read_block_data(client,
drivers/input/mouse/elan_i2c_smbus.c
142
if (error < 0)
drivers/input/mouse/elan_i2c_smbus.c
143
return error;
drivers/input/mouse/elan_i2c_smbus.c
153
int error;
drivers/input/mouse/elan_i2c_smbus.c
156
error = i2c_smbus_read_block_data(client,
drivers/input/mouse/elan_i2c_smbus.c
160
if (error < 0) {
drivers/input/mouse/elan_i2c_smbus.c
162
iap ? "IAP" : "FW", error);
drivers/input/mouse/elan_i2c_smbus.c
163
return error;
drivers/input/mouse/elan_i2c_smbus.c
173
int error;
drivers/input/mouse/elan_i2c_smbus.c
176
error = i2c_smbus_read_block_data(client,
drivers/input/mouse/elan_i2c_smbus.c
178
if (error < 0) {
drivers/input/mouse/elan_i2c_smbus.c
179
dev_err(&client->dev, "failed to get SM version: %d\n", error);
drivers/input/mouse/elan_i2c_smbus.c
180
return error;
drivers/input/mouse/elan_i2c_smbus.c
191
int error;
drivers/input/mouse/elan_i2c_smbus.c
194
error = i2c_smbus_read_block_data(client,
drivers/input/mouse/elan_i2c_smbus.c
196
if (error < 0) {
drivers/input/mouse/elan_i2c_smbus.c
197
dev_err(&client->dev, "failed to get product ID: %d\n", error);
drivers/input/mouse/elan_i2c_smbus.c
198
return error;
drivers/input/mouse/elan_i2c_smbus.c
208
int error;
drivers/input/mouse/elan_i2c_smbus.c
211
error = i2c_smbus_read_block_data(client,
drivers/input/mouse/elan_i2c_smbus.c
215
if (error < 0) {
drivers/input/mouse/elan_i2c_smbus.c
217
iap ? "IAP" : "FW", error);
drivers/input/mouse/elan_i2c_smbus.c
218
return error;
drivers/input/mouse/elan_i2c_smbus.c
229
int error;
drivers/input/mouse/elan_i2c_smbus.c
234
error = ret < 0 ? ret : -EIO;
drivers/input/mouse/elan_i2c_smbus.c
235
dev_err(&client->dev, "failed to get dimensions: %d\n", error);
drivers/input/mouse/elan_i2c_smbus.c
236
return error;
drivers/input/mouse/elan_i2c_smbus.c
249
int error;
drivers/input/mouse/elan_i2c_smbus.c
254
error = ret < 0 ? ret : -EIO;
drivers/input/mouse/elan_i2c_smbus.c
255
dev_err(&client->dev, "failed to get resolution: %d\n", error);
drivers/input/mouse/elan_i2c_smbus.c
256
return error;
drivers/input/mouse/elan_i2c_smbus.c
270
int error;
drivers/input/mouse/elan_i2c_smbus.c
275
error = ret < 0 ? ret : -EIO;
drivers/input/mouse/elan_i2c_smbus.c
276
dev_err(&client->dev, "failed to get trace info: %d\n", error);
drivers/input/mouse/elan_i2c_smbus.c
277
return error;
drivers/input/mouse/elan_i2c_smbus.c
296
int error;
drivers/input/mouse/elan_i2c_smbus.c
300
error = i2c_smbus_read_block_data(client, ETP_SMBUS_IAP_CTRL_CMD, val);
drivers/input/mouse/elan_i2c_smbus.c
301
if (error < 0) {
drivers/input/mouse/elan_i2c_smbus.c
303
error);
drivers/input/mouse/elan_i2c_smbus.c
304
return error;
drivers/input/mouse/elan_i2c_smbus.c
317
int error;
drivers/input/mouse/elan_i2c_smbus.c
319
error = i2c_smbus_write_byte(client, ETP_SMBUS_IAP_RESET_CMD);
drivers/input/mouse/elan_i2c_smbus.c
320
if (error) {
drivers/input/mouse/elan_i2c_smbus.c
321
dev_err(&client->dev, "cannot reset IC: %d\n", error);
drivers/input/mouse/elan_i2c_smbus.c
322
return error;
drivers/input/mouse/elan_i2c_smbus.c
330
int error;
drivers/input/mouse/elan_i2c_smbus.c
333
error = i2c_smbus_write_block_data(client, ETP_SMBUS_IAP_CMD,
drivers/input/mouse/elan_i2c_smbus.c
335
if (error) {
drivers/input/mouse/elan_i2c_smbus.c
336
dev_err(&client->dev, "cannot set flash key: %d\n", error);
drivers/input/mouse/elan_i2c_smbus.c
337
return error;
drivers/input/mouse/elan_i2c_smbus.c
348
int error;
drivers/input/mouse/elan_i2c_smbus.c
355
error = elan_smbus_iap_get_mode(client, &mode);
drivers/input/mouse/elan_i2c_smbus.c
356
if (error)
drivers/input/mouse/elan_i2c_smbus.c
357
return error;
drivers/input/mouse/elan_i2c_smbus.c
362
error = elan_smbus_set_flash_key(client);
drivers/input/mouse/elan_i2c_smbus.c
363
if (error)
drivers/input/mouse/elan_i2c_smbus.c
364
return error;
drivers/input/mouse/elan_i2c_smbus.c
373
error = i2c_smbus_write_block_data(client, ETP_SMBUS_IAP_CMD,
drivers/input/mouse/elan_i2c_smbus.c
375
if (error) {
drivers/input/mouse/elan_i2c_smbus.c
377
error);
drivers/input/mouse/elan_i2c_smbus.c
378
return error;
drivers/input/mouse/elan_i2c_smbus.c
389
error = len < 0 ? len : -EIO;
drivers/input/mouse/elan_i2c_smbus.c
391
error);
drivers/input/mouse/elan_i2c_smbus.c
392
return error;
drivers/input/mouse/elan_i2c_smbus.c
405
error = elan_smbus_set_flash_key(client);
drivers/input/mouse/elan_i2c_smbus.c
406
if (error)
drivers/input/mouse/elan_i2c_smbus.c
407
return error;
drivers/input/mouse/elan_i2c_smbus.c
410
error = elan_smbus_iap_reset(client);
drivers/input/mouse/elan_i2c_smbus.c
411
if (error)
drivers/input/mouse/elan_i2c_smbus.c
412
return error;
drivers/input/mouse/elan_i2c_smbus.c
422
int error;
drivers/input/mouse/elan_i2c_smbus.c
431
error = i2c_smbus_write_block_data(client,
drivers/input/mouse/elan_i2c_smbus.c
435
if (error) {
drivers/input/mouse/elan_i2c_smbus.c
437
idx, 1, error);
drivers/input/mouse/elan_i2c_smbus.c
438
return error;
drivers/input/mouse/elan_i2c_smbus.c
441
error = i2c_smbus_write_block_data(client,
drivers/input/mouse/elan_i2c_smbus.c
445
if (error) {
drivers/input/mouse/elan_i2c_smbus.c
447
idx, 2, error);
drivers/input/mouse/elan_i2c_smbus.c
448
return error;
drivers/input/mouse/elan_i2c_smbus.c
455
error = i2c_smbus_read_block_data(client,
drivers/input/mouse/elan_i2c_smbus.c
457
if (error < 0) {
drivers/input/mouse/elan_i2c_smbus.c
459
error);
drivers/input/mouse/elan_i2c_smbus.c
460
return error;
drivers/input/mouse/elan_i2c_smbus.c
58
int len, error;
drivers/input/mouse/elan_i2c_smbus.c
65
error = len < 0 ? len : -EIO;
drivers/input/mouse/elan_i2c_smbus.c
66
return error;
drivers/input/mouse/elan_i2c_smbus.c
77
error = i2c_smbus_write_byte(client, ETP_SMBUS_ENABLE_TP);
drivers/input/mouse/elan_i2c_smbus.c
78
if (error) {
drivers/input/mouse/elan_i2c_smbus.c
79
dev_err(&client->dev, "failed to enable touchpad: %d\n", error);
drivers/input/mouse/elan_i2c_smbus.c
80
return error;
drivers/input/mouse/elantech.c
1986
int error;
drivers/input/mouse/elantech.c
2004
error = elantech_create_smbus(psmouse, info, leave_breadcrumbs);
drivers/input/mouse/elantech.c
2005
if (error) {
drivers/input/mouse/elantech.c
2006
if (error == -EAGAIN)
drivers/input/mouse/elantech.c
2011
return error;
drivers/input/mouse/elantech.c
2046
int error;
drivers/input/mouse/elantech.c
2050
error = elantech_query_info(psmouse, &info);
drivers/input/mouse/elantech.c
2051
if (error)
drivers/input/mouse/elantech.c
2055
error = -ENXIO;
drivers/input/mouse/elantech.c
2062
return error;
drivers/input/mouse/elantech.c
2074
int error = -EINVAL;
drivers/input/mouse/elantech.c
2103
error = sysfs_create_group(&psmouse->ps2dev.serio->dev.kobj,
drivers/input/mouse/elantech.c
2105
if (error) {
drivers/input/mouse/elantech.c
2108
error);
drivers/input/mouse/elantech.c
2116
error = -ENOMEM;
drivers/input/mouse/elantech.c
2140
error = input_register_device(etd->tp_dev);
drivers/input/mouse/elantech.c
2141
if (error < 0)
drivers/input/mouse/elantech.c
2159
return error;
drivers/input/mouse/elantech.c
2165
int error;
drivers/input/mouse/elantech.c
2169
error = elantech_query_info(psmouse, &info);
drivers/input/mouse/elantech.c
2170
if (error)
drivers/input/mouse/elantech.c
2173
error = elantech_setup_ps2(psmouse, &info);
drivers/input/mouse/elantech.c
2174
if (error)
drivers/input/mouse/elantech.c
2180
return error;
drivers/input/mouse/elantech.c
2186
int error;
drivers/input/mouse/elantech.c
2190
error = elantech_query_info(psmouse, &info);
drivers/input/mouse/elantech.c
2191
if (error)
drivers/input/mouse/elantech.c
2203
error = elantech_setup_smbus(psmouse, &info, true);
drivers/input/mouse/elantech.c
2204
if (!error)
drivers/input/mouse/elantech.c
2210
error = elantech_setup_ps2(psmouse, &info);
drivers/input/mouse/elantech.c
2211
if (error < 0) {
drivers/input/mouse/elantech.c
2223
return error;
drivers/input/mouse/focaltech.c
308
int error;
drivers/input/mouse/focaltech.c
312
error = focaltech_switch_protocol(psmouse);
drivers/input/mouse/focaltech.c
313
if (error) {
drivers/input/mouse/focaltech.c
315
return error;
drivers/input/mouse/focaltech.c
409
int error;
drivers/input/mouse/focaltech.c
417
error = focaltech_read_size(psmouse);
drivers/input/mouse/focaltech.c
418
if (error) {
drivers/input/mouse/focaltech.c
424
error = focaltech_switch_protocol(psmouse);
drivers/input/mouse/focaltech.c
425
if (error) {
drivers/input/mouse/focaltech.c
453
return error;
drivers/input/mouse/gpio_mouse.c
131
error = input_setup_polling(input, gpio_mouse_scan);
drivers/input/mouse/gpio_mouse.c
132
if (error)
drivers/input/mouse/gpio_mouse.c
133
return error;
drivers/input/mouse/gpio_mouse.c
137
error = input_register_device(input);
drivers/input/mouse/gpio_mouse.c
138
if (error) {
drivers/input/mouse/gpio_mouse.c
140
return error;
drivers/input/mouse/gpio_mouse.c
74
int error;
drivers/input/mouse/gpio_mouse.c
81
error = device_property_read_u32(dev, "scan-interval-ms",
drivers/input/mouse/gpio_mouse.c
83
if (error || gmouse->scan_ms == 0) {
drivers/input/mouse/lifebook.c
203
int error;
drivers/input/mouse/lifebook.c
205
error = psmouse_reset(psmouse);
drivers/input/mouse/lifebook.c
206
if (error)
drivers/input/mouse/lifebook.c
207
return error;
drivers/input/mouse/lifebook.c
274
int error = -ENOMEM;
drivers/input/mouse/lifebook.c
298
error = input_register_device(priv->dev2);
drivers/input/mouse/lifebook.c
299
if (error)
drivers/input/mouse/lifebook.c
308
return error;
drivers/input/mouse/lifebook.c
315
int error;
drivers/input/mouse/lifebook.c
317
error = lifebook_absolute_mode(psmouse);
drivers/input/mouse/lifebook.c
318
if (error)
drivers/input/mouse/lifebook.c
319
return error;
drivers/input/mouse/lifebook.c
331
error = lifebook_create_relative_device(psmouse);
drivers/input/mouse/lifebook.c
332
if (error) {
drivers/input/mouse/lifebook.c
334
return error;
drivers/input/mouse/logips2pp.c
115
int error;
drivers/input/mouse/logips2pp.c
117
error = ps2_sliced_command(&psmouse->ps2dev, command);
drivers/input/mouse/logips2pp.c
118
if (error)
drivers/input/mouse/logips2pp.c
119
return error;
drivers/input/mouse/logips2pp.c
121
error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_POLL | 0x0300);
drivers/input/mouse/logips2pp.c
122
if (error)
drivers/input/mouse/logips2pp.c
123
return error;
drivers/input/mouse/logips2pp.c
329
int error;
drivers/input/mouse/logips2pp.c
338
error = device_create_file(&psmouse->ps2dev.serio->dev,
drivers/input/mouse/logips2pp.c
340
if (error) {
drivers/input/mouse/logips2pp.c
343
error);
drivers/input/mouse/logips2pp.c
344
return error;
drivers/input/mouse/logips2pp.c
364
int error;
drivers/input/mouse/logips2pp.c
430
error = ps2pp_setup_protocol(psmouse, model_info);
drivers/input/mouse/logips2pp.c
431
if (error)
drivers/input/mouse/logips2pp.c
432
return error;
drivers/input/mouse/maplemouse.c
100
error = input_register_device(input_dev);
drivers/input/mouse/maplemouse.c
101
if (error)
drivers/input/mouse/maplemouse.c
107
return error;
drivers/input/mouse/maplemouse.c
114
return error;
drivers/input/mouse/maplemouse.c
72
int error;
drivers/input/mouse/maplemouse.c
78
error = -ENOMEM;
drivers/input/mouse/maplemouse.c
84
error = -ENOMEM;
drivers/input/mouse/psmouse-base.c
1250
int error;
drivers/input/mouse/psmouse-base.c
1259
error = ps2_command(ps2dev, param, PSMOUSE_CMD_GETID);
drivers/input/mouse/psmouse-base.c
1260
if (error)
drivers/input/mouse/psmouse-base.c
1261
return error;
drivers/input/mouse/psmouse-base.c
1271
error = ps2_command(ps2dev, NULL, PSMOUSE_CMD_RESET_DIS);
drivers/input/mouse/psmouse-base.c
1272
if (error)
drivers/input/mouse/psmouse-base.c
1274
ps2dev->serio->phys, error);
drivers/input/mouse/psmouse-base.c
1315
int error;
drivers/input/mouse/psmouse-base.c
1317
error = ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_DISABLE);
drivers/input/mouse/psmouse-base.c
1318
if (error) {
drivers/input/mouse/psmouse-base.c
1320
psmouse->ps2dev.serio->phys, error);
drivers/input/mouse/psmouse-base.c
1321
return error;
drivers/input/mouse/psmouse-base.c
1581
int retval = 0, error = -ENOMEM;
drivers/input/mouse/psmouse-base.c
1607
error = serio_open(serio, drv);
drivers/input/mouse/psmouse-base.c
1608
if (error)
drivers/input/mouse/psmouse-base.c
1616
error = -ENODEV;
drivers/input/mouse/psmouse-base.c
1632
error = input_register_device(input_dev);
drivers/input/mouse/psmouse-base.c
1633
if (error)
drivers/input/mouse/psmouse-base.c
1671
retval = error;
drivers/input/mouse/psmouse-base.c
1888
int error;
drivers/input/mouse/psmouse-base.c
1955
error = input_register_device(psmouse->dev);
drivers/input/mouse/psmouse-base.c
1956
if (error) {
drivers/input/mouse/psmouse-base.c
1968
return error;
drivers/input/mouse/psmouse-base.c
435
int error;
drivers/input/mouse/psmouse-base.c
437
error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_RESET_BAT);
drivers/input/mouse/psmouse-base.c
438
if (error)
drivers/input/mouse/psmouse-base.c
439
return error;
drivers/input/mouse/psmouse-smbus.c
233
int error;
drivers/input/mouse/psmouse-smbus.c
267
error = i2c_for_each_dev(smbdev, psmouse_smbus_create_companion);
drivers/input/mouse/psmouse-smbus.c
287
if (error < 0 || !leave_breadcrumbs) {
drivers/input/mouse/psmouse-smbus.c
295
return error < 0 ? error : -EAGAIN;
drivers/input/mouse/psmouse-smbus.c
300
int error;
drivers/input/mouse/psmouse-smbus.c
306
error = bus_register_notifier(&i2c_bus_type, &psmouse_smbus_notifier);
drivers/input/mouse/psmouse-smbus.c
307
if (error) {
drivers/input/mouse/psmouse-smbus.c
308
pr_err("failed to register i2c bus notifier: %d\n", error);
drivers/input/mouse/psmouse-smbus.c
310
return error;
drivers/input/mouse/sentelic.c
1016
int error;
drivers/input/mouse/sentelic.c
1044
error = fsp_activate_protocol(psmouse);
drivers/input/mouse/sentelic.c
1045
if (error)
drivers/input/mouse/sentelic.c
1049
error = fsp_set_input_params(psmouse);
drivers/input/mouse/sentelic.c
1050
if (error)
drivers/input/mouse/sentelic.c
1053
error = sysfs_create_group(&psmouse->ps2dev.serio->dev.kobj,
drivers/input/mouse/sentelic.c
1055
if (error) {
drivers/input/mouse/sentelic.c
1057
"Failed to create sysfs attributes (%d)", error);
drivers/input/mouse/sentelic.c
1066
return error;
drivers/input/mouse/synaptics.c
1293
int error;
drivers/input/mouse/synaptics.c
1332
error = input_mt_init_slots(dev, 2,
drivers/input/mouse/synaptics.c
1334
if (error)
drivers/input/mouse/synaptics.c
1335
return error;
drivers/input/mouse/synaptics.c
1347
error = input_mt_init_slots(dev, 2,
drivers/input/mouse/synaptics.c
1352
if (error)
drivers/input/mouse/synaptics.c
1353
return error;
drivers/input/mouse/synaptics.c
1465
int error;
drivers/input/mouse/synaptics.c
1480
error = synaptics_detect(psmouse, 0);
drivers/input/mouse/synaptics.c
1481
} while (error && ++retry < 3);
drivers/input/mouse/synaptics.c
1483
if (error)
drivers/input/mouse/synaptics.c
1484
return error;
drivers/input/mouse/synaptics.c
1489
error = synaptics_query_hardware(psmouse, &info);
drivers/input/mouse/synaptics.c
1490
if (error) {
drivers/input/mouse/synaptics.c
1492
return error;
drivers/input/mouse/synaptics.c
1495
error = synaptics_set_mode(psmouse);
drivers/input/mouse/synaptics.c
1496
if (error) {
drivers/input/mouse/synaptics.c
1498
return error;
drivers/input/mouse/synaptics.c
1702
int error;
drivers/input/mouse/synaptics.c
1706
error = synaptics_query_hardware(psmouse, &info);
drivers/input/mouse/synaptics.c
1707
if (error) {
drivers/input/mouse/synaptics.c
1708
psmouse_err(psmouse, "Unable to query device: %d\n", error);
drivers/input/mouse/synaptics.c
1709
return error;
drivers/input/mouse/synaptics.c
1729
int error;
drivers/input/mouse/synaptics.c
1743
error = synaptics_init_ps2(psmouse, info, absolute_mode);
drivers/input/mouse/synaptics.c
1744
if (error)
drivers/input/mouse/synaptics.c
1745
return error;
drivers/input/mouse/synaptics.c
1822
int error;
drivers/input/mouse/synaptics.c
1843
error = synaptics_create_intertouch(psmouse, info, leave_breadcrumbs);
drivers/input/mouse/synaptics.c
1844
if (error) {
drivers/input/mouse/synaptics.c
1845
if (error == -EAGAIN)
drivers/input/mouse/synaptics.c
1850
return error;
drivers/input/mouse/synaptics.c
1859
int error;
drivers/input/mouse/synaptics.c
1863
error = synaptics_query_hardware(psmouse, &info);
drivers/input/mouse/synaptics.c
1864
if (error) {
drivers/input/mouse/synaptics.c
1865
psmouse_err(psmouse, "Unable to query device: %d\n", error);
drivers/input/mouse/synaptics.c
1866
return error;
drivers/input/mouse/synaptics.c
1898
int error;
drivers/input/mouse/synaptics.c
1903
error = synaptics_query_hardware(psmouse, &info);
drivers/input/mouse/synaptics.c
1904
if (error) {
drivers/input/mouse/synaptics.c
1905
psmouse_err(psmouse, "Unable to query device: %d\n", error);
drivers/input/mouse/synaptics.c
1906
return error;
drivers/input/mouse/synaptics.c
1919
error = synaptics_setup_intertouch(psmouse, &info, true);
drivers/input/mouse/synaptics.c
1920
if (!error)
drivers/input/mouse/synaptics.c
218
int error;
drivers/input/mouse/synaptics.c
220
error = ps2_sliced_command(&psmouse->ps2dev, cmd);
drivers/input/mouse/synaptics.c
221
if (error)
drivers/input/mouse/synaptics.c
222
return error;
drivers/input/mouse/synaptics.c
224
error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETINFO);
drivers/input/mouse/synaptics.c
225
if (error)
drivers/input/mouse/synaptics.c
226
return error;
drivers/input/mouse/synaptics.c
233
int error;
drivers/input/mouse/synaptics.c
239
error = synaptics_send_cmd(psmouse, query_cmd, resp.buf + 1);
drivers/input/mouse/synaptics.c
240
if (error)
drivers/input/mouse/synaptics.c
241
return error;
drivers/input/mouse/synaptics.c
254
int error;
drivers/input/mouse/synaptics.c
256
error = synaptics_query_int(psmouse, SYN_QUE_IDENTIFY, &info->identity);
drivers/input/mouse/synaptics.c
257
if (error)
drivers/input/mouse/synaptics.c
258
return error;
drivers/input/mouse/synaptics.c
291
int error;
drivers/input/mouse/synaptics.c
297
error = synaptics_send_cmd(psmouse, SYN_QUE_MODES, bid);
drivers/input/mouse/synaptics.c
298
if (error)
drivers/input/mouse/synaptics.c
299
return error;
drivers/input/mouse/synaptics.c
317
int error;
drivers/input/mouse/synaptics.c
319
error = synaptics_query_int(psmouse, SYN_QUE_CAPABILITIES,
drivers/input/mouse/synaptics.c
321
if (error)
drivers/input/mouse/synaptics.c
322
return error;
drivers/input/mouse/synaptics.c
341
error = synaptics_query_int(psmouse, SYN_QUE_EXT_CAPAB,
drivers/input/mouse/synaptics.c
343
if (error) {
drivers/input/mouse/synaptics.c
357
error = synaptics_query_int(psmouse, SYN_QUE_EXT_CAPAB_0C,
drivers/input/mouse/synaptics.c
359
if (error)
drivers/input/mouse/synaptics.c
375
int error;
drivers/input/mouse/synaptics.c
380
error = synaptics_send_cmd(psmouse, SYN_QUE_RESOLUTION, resp);
drivers/input/mouse/synaptics.c
381
if (!error) {
drivers/input/mouse/synaptics.c
390
error = synaptics_send_cmd(psmouse,
drivers/input/mouse/synaptics.c
392
if (error) {
drivers/input/mouse/synaptics.c
412
error = synaptics_send_cmd(psmouse,
drivers/input/mouse/synaptics.c
414
if (error) {
drivers/input/mouse/synaptics.c
432
int error;
drivers/input/mouse/synaptics.c
436
error = synaptics_identify(psmouse, info);
drivers/input/mouse/synaptics.c
437
if (error)
drivers/input/mouse/synaptics.c
438
return error;
drivers/input/mouse/synaptics.c
440
error = synaptics_model_id(psmouse, info);
drivers/input/mouse/synaptics.c
441
if (error)
drivers/input/mouse/synaptics.c
442
return error;
drivers/input/mouse/synaptics.c
444
error = synaptics_firmware_id(psmouse, info);
drivers/input/mouse/synaptics.c
445
if (error)
drivers/input/mouse/synaptics.c
446
return error;
drivers/input/mouse/synaptics.c
448
error = synaptics_query_modes(psmouse, info);
drivers/input/mouse/synaptics.c
449
if (error)
drivers/input/mouse/synaptics.c
450
return error;
drivers/input/mouse/synaptics.c
452
error = synaptics_capability(psmouse, info);
drivers/input/mouse/synaptics.c
453
if (error)
drivers/input/mouse/synaptics.c
454
return error;
drivers/input/mouse/synaptics.c
456
error = synaptics_resolution(psmouse, info);
drivers/input/mouse/synaptics.c
457
if (error)
drivers/input/mouse/synaptics.c
458
return error;
drivers/input/mouse/synaptics.c
575
int error;
drivers/input/mouse/synaptics.c
577
error = ps2_sliced_command(&psmouse->ps2dev, SYN_QUE_MODEL);
drivers/input/mouse/synaptics.c
578
if (error)
drivers/input/mouse/synaptics.c
579
return error;
drivers/input/mouse/synaptics.c
581
error = ps2_command(&psmouse->ps2dev, ¶m, PSMOUSE_CMD_SETRATE);
drivers/input/mouse/synaptics.c
582
if (error)
drivers/input/mouse/synaptics.c
583
return error;
drivers/input/mouse/synaptics.c
591
int error;
drivers/input/mouse/synaptics.c
603
error = synaptics_mode_cmd(psmouse, priv->mode);
drivers/input/mouse/synaptics.c
604
if (error)
drivers/input/mouse/synaptics.c
605
return error;
drivers/input/mouse/synaptics.c
608
error = synaptics_set_advanced_gesture_mode(psmouse);
drivers/input/mouse/synaptics.c
609
if (error) {
drivers/input/mouse/synaptics.c
612
error);
drivers/input/mouse/synaptics.c
613
return error;
drivers/input/mouse/synaptics.c
642
int error;
drivers/input/mouse/synaptics.c
644
error = ps2_sliced_command(&parent->ps2dev, c);
drivers/input/mouse/synaptics.c
645
if (error)
drivers/input/mouse/synaptics.c
646
return error;
drivers/input/mouse/synaptics.c
648
error = ps2_command(&parent->ps2dev, &rate_param, PSMOUSE_CMD_SETRATE);
drivers/input/mouse/synaptics.c
649
if (error)
drivers/input/mouse/synaptics.c
650
return error;
drivers/input/mouse/synaptics.c
82
int error;
drivers/input/mouse/synaptics.c
84
error = ps2_sliced_command(&psmouse->ps2dev, mode);
drivers/input/mouse/synaptics.c
85
if (error)
drivers/input/mouse/synaptics.c
86
return error;
drivers/input/mouse/synaptics.c
89
error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_SETRATE);
drivers/input/mouse/synaptics.c
90
if (error)
drivers/input/mouse/synaptics.c
91
return error;
drivers/input/mouse/synaptics_i2c.c
243
int error;
drivers/input/mouse/synaptics_i2c.c
245
error = i2c_smbus_write_byte_data(client, PAGE_SEL_REG, reg >> 8);
drivers/input/mouse/synaptics_i2c.c
246
if (error)
drivers/input/mouse/synaptics_i2c.c
247
return error;
drivers/input/mouse/synaptics_i2c.c
254
int error;
drivers/input/mouse/synaptics_i2c.c
256
error = i2c_smbus_write_byte_data(client, PAGE_SEL_REG, reg >> 8);
drivers/input/mouse/synaptics_i2c.c
257
if (error)
drivers/input/mouse/synaptics_i2c.c
258
return error;
drivers/input/mouse/synaptics_i2c.c
260
error = i2c_smbus_write_byte_data(client, reg & 0xff, val);
drivers/input/mouse/synaptics_i2c.c
261
if (error)
drivers/input/mouse/synaptics_i2c.c
262
return error;
drivers/input/mouse/synaptics_i2c.c
264
return error;
drivers/input/mouse/synaptics_i2c.c
269
int error;
drivers/input/mouse/synaptics_i2c.c
271
error = i2c_smbus_write_byte_data(client, PAGE_SEL_REG, reg >> 8);
drivers/input/mouse/synaptics_i2c.c
272
if (error)
drivers/input/mouse/synaptics_i2c.c
273
return error;
drivers/input/mouse/synaptics_i2c.c
281
int error;
drivers/input/mouse/synaptics_i2c.c
285
error = synaptics_i2c_reg_set(client, DEV_CONTROL_REG, 0xc1);
drivers/input/mouse/synaptics_i2c.c
286
if (error)
drivers/input/mouse/synaptics_i2c.c
287
return error;
drivers/input/mouse/synaptics_i2c.c
291
error = synaptics_i2c_reg_set(client, INTERRUPT_EN_REG, int_en);
drivers/input/mouse/synaptics_i2c.c
292
if (error)
drivers/input/mouse/synaptics_i2c.c
293
return error;
drivers/input/mouse/synaptics_i2c.c
302
error = synaptics_i2c_reg_set(client, GENERAL_2D_CONTROL_REG, control);
drivers/input/mouse/synaptics_i2c.c
303
if (error)
drivers/input/mouse/synaptics_i2c.c
304
return error;
drivers/input/mouse/synaptics_i2c.c
311
int error;
drivers/input/mouse/synaptics_i2c.c
314
error = synaptics_i2c_reg_set(client, DEV_COMMAND_REG, RESET_COMMAND);
drivers/input/mouse/synaptics_i2c.c
315
if (error) {
drivers/input/mouse/synaptics_i2c.c
317
return error;
drivers/input/mouse/synaptics_i2c.c
321
error = synaptics_i2c_config(client);
drivers/input/mouse/synaptics_i2c.c
322
if (error) {
drivers/input/mouse/synaptics_i2c.c
324
return error;
drivers/input/mouse/synaptics_i2c.c
333
int error;
drivers/input/mouse/synaptics_i2c.c
339
error = synaptics_i2c_reset_config(client);
drivers/input/mouse/synaptics_i2c.c
340
if (error)
drivers/input/mouse/synaptics_i2c.c
341
return error;
drivers/input/mouse/synaptics_i2c.c
469
int error;
drivers/input/mouse/synaptics_i2c.c
471
error = synaptics_i2c_reset_config(touch->client);
drivers/input/mouse/synaptics_i2c.c
472
if (error)
drivers/input/mouse/synaptics_i2c.c
473
return error;
drivers/input/mouse/synaptics_i2c.c
520
int error;
drivers/input/mouse/synaptics_i2c.c
532
error = synaptics_i2c_reset_config(client);
drivers/input/mouse/synaptics_i2c.c
533
if (error)
drivers/input/mouse/synaptics_i2c.c
534
return error;
drivers/input/mouse/synaptics_i2c.c
548
error = devm_request_irq(dev, client->irq, synaptics_i2c_irq,
drivers/input/mouse/synaptics_i2c.c
551
if (error) {
drivers/input/mouse/synaptics_i2c.c
553
error);
drivers/input/mouse/synaptics_i2c.c
563
error = input_register_device(touch->input);
drivers/input/mouse/synaptics_i2c.c
564
if (error) {
drivers/input/mouse/synaptics_i2c.c
565
dev_err(dev, "Input device register failed: %d\n", error);
drivers/input/mouse/synaptics_i2c.c
566
return error;
drivers/input/mouse/synaptics_i2c.c
592
int error;
drivers/input/mouse/synaptics_i2c.c
594
error = synaptics_i2c_reset_config(client);
drivers/input/mouse/synaptics_i2c.c
595
if (error)
drivers/input/mouse/synaptics_i2c.c
596
return error;
drivers/input/mouse/synaptics_usb.c
191
int error;
drivers/input/mouse/synaptics_usb.c
216
error = usb_submit_urb(urb, GFP_ATOMIC);
drivers/input/mouse/synaptics_usb.c
217
if (error && error != -EPERM)
drivers/input/mouse/synaptics_usb.c
220
__func__, error);
drivers/input/mouse/synaptics_usb.c
300
int error;
drivers/input/mouse/synaptics_usb.c
302
error = usb_set_interface(udev, intf_num, altsetting);
drivers/input/mouse/synaptics_usb.c
303
if (error) {
drivers/input/mouse/synaptics_usb.c
306
altsetting, error);
drivers/input/mouse/synaptics_usb.c
307
return error;
drivers/input/mouse/synaptics_usb.c
317
error = -ENOMEM;
drivers/input/mouse/synaptics_usb.c
338
error = -ENOMEM;
drivers/input/mouse/synaptics_usb.c
345
error = -ENOMEM;
drivers/input/mouse/synaptics_usb.c
424
error = synusb_open(input_dev);
drivers/input/mouse/synaptics_usb.c
425
if (error)
drivers/input/mouse/synaptics_usb.c
429
error = input_register_device(input_dev);
drivers/input/mouse/synaptics_usb.c
430
if (error) {
drivers/input/mouse/synaptics_usb.c
433
error);
drivers/input/mouse/synaptics_usb.c
452
return error;
drivers/input/mouse/trackpoint.c
273
int error;
drivers/input/mouse/trackpoint.c
275
error = ps2_command(&psmouse->ps2dev,
drivers/input/mouse/trackpoint.c
277
if (error)
drivers/input/mouse/trackpoint.c
278
return error;
drivers/input/mouse/trackpoint.c
379
int error;
drivers/input/mouse/trackpoint.c
382
error = trackpoint_start_protocol(psmouse, NULL, NULL);
drivers/input/mouse/trackpoint.c
383
if (error)
drivers/input/mouse/trackpoint.c
384
return error;
drivers/input/mouse/trackpoint.c
389
error = trackpoint_sync(psmouse, was_reset);
drivers/input/mouse/trackpoint.c
390
if (error)
drivers/input/mouse/trackpoint.c
391
return error;
drivers/input/mouse/trackpoint.c
403
int error;
drivers/input/mouse/trackpoint.c
405
error = trackpoint_start_protocol(psmouse, &variant_id, &firmware_id);
drivers/input/mouse/trackpoint.c
406
if (error)
drivers/input/mouse/trackpoint.c
407
return error;
drivers/input/mouse/trackpoint.c
432
error = trackpoint_read(ps2dev, TP_EXT_BTN, &button_info);
drivers/input/mouse/trackpoint.c
433
if (error) {
drivers/input/mouse/trackpoint.c
458
error = device_add_group(&ps2dev->serio->dev, &trackpoint_attr_group);
drivers/input/mouse/trackpoint.c
459
if (error) {
drivers/input/mouse/trackpoint.c
462
error);
drivers/input/mouse/vmmouse.c
376
int error;
drivers/input/mouse/vmmouse.c
380
error = vmmouse_enable(psmouse);
drivers/input/mouse/vmmouse.c
381
if (error) {
drivers/input/mouse/vmmouse.c
384
error);
drivers/input/mouse/vmmouse.c
385
return error;
drivers/input/mouse/vmmouse.c
405
int error;
drivers/input/mouse/vmmouse.c
408
error = vmmouse_enable(psmouse);
drivers/input/mouse/vmmouse.c
409
if (error)
drivers/input/mouse/vmmouse.c
410
return error;
drivers/input/mouse/vmmouse.c
415
error = -ENOMEM;
drivers/input/mouse/vmmouse.c
446
error = input_register_device(priv->abs_dev);
drivers/input/mouse/vmmouse.c
447
if (error)
drivers/input/mouse/vmmouse.c
467
return error;
drivers/input/mouse/vsxxxaa.c
306
unsigned char error;
drivers/input/mouse/vsxxxaa.c
329
error = buf[2] & 0x7f;
drivers/input/mouse/vsxxxaa.c
343
if (error <= 0x1f) {
drivers/input/mouse/vsxxxaa.c
351
if (error != 0)
drivers/input/mouse/vsxxxaa.c
353
mouse->name, mouse->phys, error);
drivers/input/mousedev.c
1076
int error;
drivers/input/mousedev.c
1078
error = misc_register(&psaux_mouse);
drivers/input/mousedev.c
1079
if (error)
drivers/input/mousedev.c
1081
error);
drivers/input/mousedev.c
1098
int error;
drivers/input/mousedev.c
1104
error = input_register_handler(&mousedev_handler);
drivers/input/mousedev.c
1105
if (error) {
drivers/input/mousedev.c
1107
return error;
drivers/input/mousedev.c
456
int error;
drivers/input/mousedev.c
458
error = mutex_lock_interruptible(&mixdev->mutex);
drivers/input/mousedev.c
459
if (error)
drivers/input/mousedev.c
460
return error;
drivers/input/mousedev.c
537
int error;
drivers/input/mousedev.c
556
error = mousedev->open_device(mousedev);
drivers/input/mousedev.c
557
if (error)
drivers/input/mousedev.c
568
return error;
drivers/input/mousedev.c
848
int error;
drivers/input/mousedev.c
852
error = minor;
drivers/input/mousedev.c
858
error = -ENOMEM;
drivers/input/mousedev.c
900
error = input_register_handle(&mousedev->handle);
drivers/input/mousedev.c
901
if (error)
drivers/input/mousedev.c
907
error = cdev_device_add(&mousedev->cdev, &mousedev->dev);
drivers/input/mousedev.c
908
if (error)
drivers/input/mousedev.c
922
return ERR_PTR(error);
drivers/input/mousedev.c
979
int error;
drivers/input/mousedev.c
985
error = mixdev_add_device(mousedev);
drivers/input/mousedev.c
986
if (error) {
drivers/input/mousedev.c
988
return error;
drivers/input/rmi4/rmi_bus.c
110
return error;
drivers/input/rmi4/rmi_bus.c
179
int i, error;
drivers/input/rmi4/rmi_bus.c
192
error = devm_request_threaded_irq(&fn->dev, fn->irq[i], NULL,
drivers/input/rmi4/rmi_bus.c
195
if (error) {
drivers/input/rmi4/rmi_bus.c
196
dev_err(&fn->dev, "Error %d registering IRQ\n", error);
drivers/input/rmi4/rmi_bus.c
197
return error;
drivers/input/rmi4/rmi_bus.c
209
int error;
drivers/input/rmi4/rmi_bus.c
214
error = handler->probe(fn);
drivers/input/rmi4/rmi_bus.c
215
if (error)
drivers/input/rmi4/rmi_bus.c
216
return error;
drivers/input/rmi4/rmi_bus.c
220
error = rmi_create_function_irq(fn, handler);
drivers/input/rmi4/rmi_bus.c
221
if (error)
drivers/input/rmi4/rmi_bus.c
222
return error;
drivers/input/rmi4/rmi_bus.c
243
int error;
drivers/input/rmi4/rmi_bus.c
254
error = device_add(&fn->dev);
drivers/input/rmi4/rmi_bus.c
255
if (error) {
drivers/input/rmi4/rmi_bus.c
269
return error;
drivers/input/rmi4/rmi_bus.c
303
int error;
drivers/input/rmi4/rmi_bus.c
311
error = driver_register(driver);
drivers/input/rmi4/rmi_bus.c
312
if (error) {
drivers/input/rmi4/rmi_bus.c
314
driver->name, error);
drivers/input/rmi4/rmi_bus.c
315
return error;
drivers/input/rmi4/rmi_bus.c
441
int error;
drivers/input/rmi4/rmi_bus.c
443
error = bus_register(&rmi_bus_type);
drivers/input/rmi4/rmi_bus.c
444
if (error) {
drivers/input/rmi4/rmi_bus.c
446
__func__, error);
drivers/input/rmi4/rmi_bus.c
447
return error;
drivers/input/rmi4/rmi_bus.c
450
error = rmi_register_function_handlers();
drivers/input/rmi4/rmi_bus.c
451
if (error)
drivers/input/rmi4/rmi_bus.c
454
error = rmi_register_physical_driver();
drivers/input/rmi4/rmi_bus.c
455
if (error) {
drivers/input/rmi4/rmi_bus.c
457
__func__, error);
drivers/input/rmi4/rmi_bus.c
465
return error;
drivers/input/rmi4/rmi_bus.c
79
int error;
drivers/input/rmi4/rmi_bus.c
98
error = device_add(&rmi_dev->dev);
drivers/input/rmi4/rmi_bus.c
99
if (error)
drivers/input/rmi4/rmi_driver.c
1269
int error;
drivers/input/rmi4/rmi_driver.c
1271
error = driver_register(&rmi_physical_driver.driver);
drivers/input/rmi4/rmi_driver.c
1272
if (error) {
drivers/input/rmi4/rmi_driver.c
1274
error);
drivers/input/rmi4/rmi_driver.c
1275
return error;
drivers/input/rmi4/rmi_driver.c
134
int error;
drivers/input/rmi4/rmi_driver.c
140
error = rmi_read_block(rmi_dev,
drivers/input/rmi4/rmi_driver.c
143
if (error < 0) {
drivers/input/rmi4/rmi_driver.c
144
dev_err(dev, "Failed to read irqs, code=%d\n", error);
drivers/input/rmi4/rmi_driver.c
145
return error;
drivers/input/rmi4/rmi_driver.c
370
int error = 0;
drivers/input/rmi4/rmi_driver.c
378
error = rmi_write_block(rmi_dev,
drivers/input/rmi4/rmi_driver.c
381
if (error < 0) {
drivers/input/rmi4/rmi_driver.c
393
return error;
drivers/input/rmi4/rmi_driver.c
399
int error = 0;
drivers/input/rmi4/rmi_driver.c
409
error = rmi_write_block(rmi_dev,
drivers/input/rmi4/rmi_driver.c
412
if (error < 0) {
drivers/input/rmi4/rmi_driver.c
422
return error;
drivers/input/rmi4/rmi_driver.c
428
int error;
drivers/input/rmi4/rmi_driver.c
440
error = rmi_read_block(rmi_dev,
drivers/input/rmi4/rmi_driver.c
443
if (error < 0) {
drivers/input/rmi4/rmi_driver.c
446
return error;
drivers/input/rmi4/rmi_driver.c
449
error = rmi_driver_process_reset_requests(rmi_dev);
drivers/input/rmi4/rmi_driver.c
450
if (error < 0)
drivers/input/rmi4/rmi_driver.c
451
return error;
drivers/input/rmi4/rmi_driver.c
453
error = rmi_driver_process_config_requests(rmi_dev);
drivers/input/rmi4/rmi_driver.c
454
if (error < 0)
drivers/input/rmi4/rmi_driver.c
455
return error;
drivers/input/rmi4/rmi_driver.c
464
int error;
drivers/input/rmi4/rmi_driver.c
466
error = rmi_read_block(rmi_dev, pdt_address, buf, RMI_PDT_ENTRY_SIZE);
drivers/input/rmi4/rmi_driver.c
467
if (error) {
drivers/input/rmi4/rmi_driver.c
469
pdt_address, error);
drivers/input/rmi4/rmi_driver.c
470
return error;
drivers/input/rmi4/rmi_driver.c
514
int error;
drivers/input/rmi4/rmi_driver.c
518
error = rmi_read_pdt_entry(rmi_dev, &pdt_entry, addr);
drivers/input/rmi4/rmi_driver.c
519
if (error)
drivers/input/rmi4/rmi_driver.c
520
return error;
drivers/input/rmi4/rmi_driver.c
795
int error;
drivers/input/rmi4/rmi_driver.c
804
error = rmi_dev->xport->ops->reset(rmi_dev->xport,
drivers/input/rmi4/rmi_driver.c
806
if (error)
drivers/input/rmi4/rmi_driver.c
807
return error;
drivers/input/rmi4/rmi_driver.c
813
error = rmi_write_block(rmi_dev, cmd_addr, &cmd_buf, 1);
drivers/input/rmi4/rmi_driver.c
814
if (error) {
drivers/input/rmi4/rmi_driver.c
816
"Initial reset failed. Code = %d.\n", error);
drivers/input/rmi4/rmi_driver.c
817
return error;
drivers/input/rmi4/rmi_driver.c
837
int error;
drivers/input/rmi4/rmi_driver.c
863
error = rmi_register_function(fn);
drivers/input/rmi4/rmi_driver.c
864
if (error)
drivers/input/rmi4/rmi_driver.c
865
return error;
drivers/input/rmi4/rmi_f01.c
389
int error;
drivers/input/rmi4/rmi_f01.c
395
error = rmi_f01_of_probe(&fn->dev, pdata);
drivers/input/rmi4/rmi_f01.c
396
if (error)
drivers/input/rmi4/rmi_f01.c
397
return error;
drivers/input/rmi4/rmi_f01.c
411
error = rmi_read(rmi_dev, fn->fd.control_base_addr,
drivers/input/rmi4/rmi_f01.c
413
if (error) {
drivers/input/rmi4/rmi_f01.c
414
dev_err(&fn->dev, "Failed to read F01 control: %d\n", error);
drivers/input/rmi4/rmi_f01.c
415
return error;
drivers/input/rmi4/rmi_f01.c
443
error = rmi_write(rmi_dev, fn->fd.control_base_addr,
drivers/input/rmi4/rmi_f01.c
445
if (error) {
drivers/input/rmi4/rmi_f01.c
446
dev_err(&fn->dev, "Failed to write F01 control: %d\n", error);
drivers/input/rmi4/rmi_f01.c
447
return error;
drivers/input/rmi4/rmi_f01.c
451
error = rmi_read(rmi_dev, fn->fd.data_base_addr + 1, &temp);
drivers/input/rmi4/rmi_f01.c
452
if (error < 0) {
drivers/input/rmi4/rmi_f01.c
454
return error;
drivers/input/rmi4/rmi_f01.c
457
error = rmi_f01_read_properties(rmi_dev, fn->fd.query_base_addr,
drivers/input/rmi4/rmi_f01.c
459
if (error < 0) {
drivers/input/rmi4/rmi_f01.c
461
return error;
drivers/input/rmi4/rmi_f01.c
480
error = rmi_write(rmi_dev, f01->doze_interval_addr,
drivers/input/rmi4/rmi_f01.c
482
if (error) {
drivers/input/rmi4/rmi_f01.c
485
error);
drivers/input/rmi4/rmi_f01.c
486
return error;
drivers/input/rmi4/rmi_f01.c
489
error = rmi_read(rmi_dev, f01->doze_interval_addr,
drivers/input/rmi4/rmi_f01.c
491
if (error) {
drivers/input/rmi4/rmi_f01.c
494
error);
drivers/input/rmi4/rmi_f01.c
495
return error;
drivers/input/rmi4/rmi_f01.c
505
error = rmi_write(rmi_dev, f01->wakeup_threshold_addr,
drivers/input/rmi4/rmi_f01.c
507
if (error) {
drivers/input/rmi4/rmi_f01.c
510
error);
drivers/input/rmi4/rmi_f01.c
511
return error;
drivers/input/rmi4/rmi_f01.c
514
error = rmi_read(rmi_dev, f01->wakeup_threshold_addr,
drivers/input/rmi4/rmi_f01.c
516
if (error < 0) {
drivers/input/rmi4/rmi_f01.c
519
error);
drivers/input/rmi4/rmi_f01.c
520
return error;
drivers/input/rmi4/rmi_f01.c
535
error = rmi_write(rmi_dev, f01->doze_holdoff_addr,
drivers/input/rmi4/rmi_f01.c
537
if (error) {
drivers/input/rmi4/rmi_f01.c
540
error);
drivers/input/rmi4/rmi_f01.c
541
return error;
drivers/input/rmi4/rmi_f01.c
544
error = rmi_read(rmi_dev, f01->doze_holdoff_addr,
drivers/input/rmi4/rmi_f01.c
546
if (error) {
drivers/input/rmi4/rmi_f01.c
549
error);
drivers/input/rmi4/rmi_f01.c
550
return error;
drivers/input/rmi4/rmi_f01.c
555
error = rmi_read(rmi_dev, fn->fd.data_base_addr, &device_status);
drivers/input/rmi4/rmi_f01.c
556
if (error < 0) {
drivers/input/rmi4/rmi_f01.c
558
"Failed to read device status: %d\n", error);
drivers/input/rmi4/rmi_f01.c
559
return error;
drivers/input/rmi4/rmi_f01.c
571
error = sysfs_create_group(&fn->rmi_dev->dev.kobj, &rmi_f01_attr_group);
drivers/input/rmi4/rmi_f01.c
572
if (error)
drivers/input/rmi4/rmi_f01.c
573
dev_warn(&fn->dev, "Failed to create sysfs group: %d\n", error);
drivers/input/rmi4/rmi_f01.c
587
int error;
drivers/input/rmi4/rmi_f01.c
589
error = rmi_write(fn->rmi_dev, fn->fd.control_base_addr,
drivers/input/rmi4/rmi_f01.c
591
if (error) {
drivers/input/rmi4/rmi_f01.c
593
"Failed to write device_control register: %d\n", error);
drivers/input/rmi4/rmi_f01.c
594
return error;
drivers/input/rmi4/rmi_f01.c
598
error = rmi_write(fn->rmi_dev, f01->doze_interval_addr,
drivers/input/rmi4/rmi_f01.c
600
if (error) {
drivers/input/rmi4/rmi_f01.c
602
"Failed to write doze interval: %d\n", error);
drivers/input/rmi4/rmi_f01.c
603
return error;
drivers/input/rmi4/rmi_f01.c
606
error = rmi_write_block(fn->rmi_dev,
drivers/input/rmi4/rmi_f01.c
610
if (error) {
drivers/input/rmi4/rmi_f01.c
613
error);
drivers/input/rmi4/rmi_f01.c
614
return error;
drivers/input/rmi4/rmi_f01.c
619
error = rmi_write(fn->rmi_dev, f01->doze_holdoff_addr,
drivers/input/rmi4/rmi_f01.c
621
if (error) {
drivers/input/rmi4/rmi_f01.c
623
"Failed to write doze holdoff: %d\n", error);
drivers/input/rmi4/rmi_f01.c
624
return error;
drivers/input/rmi4/rmi_f01.c
634
int error;
drivers/input/rmi4/rmi_f01.c
646
error = rmi_write(fn->rmi_dev, fn->fd.control_base_addr,
drivers/input/rmi4/rmi_f01.c
648
if (error) {
drivers/input/rmi4/rmi_f01.c
649
dev_err(&fn->dev, "Failed to write sleep mode: %d.\n", error);
drivers/input/rmi4/rmi_f01.c
654
return error;
drivers/input/rmi4/rmi_f01.c
663
int error;
drivers/input/rmi4/rmi_f01.c
671
error = rmi_write(fn->rmi_dev, fn->fd.control_base_addr,
drivers/input/rmi4/rmi_f01.c
673
if (error) {
drivers/input/rmi4/rmi_f01.c
675
"Failed to restore normal operation: %d.\n", error);
drivers/input/rmi4/rmi_f01.c
676
return error;
drivers/input/rmi4/rmi_f01.c
686
int error;
drivers/input/rmi4/rmi_f01.c
689
error = rmi_read(rmi_dev, fn->fd.data_base_addr, &device_status);
drivers/input/rmi4/rmi_f01.c
690
if (error) {
drivers/input/rmi4/rmi_f01.c
692
"Failed to read device status: %d.\n", error);
drivers/input/rmi4/rmi_f01.c
693
return IRQ_RETVAL(error);
drivers/input/rmi4/rmi_f01.c
702
error = rmi_dev->driver->reset_handler(rmi_dev);
drivers/input/rmi4/rmi_f01.c
703
if (error) {
drivers/input/rmi4/rmi_f01.c
704
dev_err(&fn->dev, "Device reset failed: %d\n", error);
drivers/input/rmi4/rmi_f01.c
705
return IRQ_RETVAL(error);
drivers/input/rmi4/rmi_f03.c
104
error = rmi_read(fn->rmi_dev, fn->fd.query_base_addr, &query1);
drivers/input/rmi4/rmi_f03.c
105
if (error) {
drivers/input/rmi4/rmi_f03.c
106
dev_err(dev, "Failed to read query register (%d).\n", error);
drivers/input/rmi4/rmi_f03.c
107
return error;
drivers/input/rmi4/rmi_f03.c
124
error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr + 1,
drivers/input/rmi4/rmi_f03.c
126
if (error) {
drivers/input/rmi4/rmi_f03.c
129
error);
drivers/input/rmi4/rmi_f03.c
130
return error;
drivers/input/rmi4/rmi_f03.c
146
int error;
drivers/input/rmi4/rmi_f03.c
153
error = rmi_read_block(fn->rmi_dev, data_addr, &obs, ob_len);
drivers/input/rmi4/rmi_f03.c
154
if (!error)
drivers/input/rmi4/rmi_f03.c
202
int error;
drivers/input/rmi4/rmi_f03.c
210
error = rmi_f03_initialize(f03);
drivers/input/rmi4/rmi_f03.c
211
if (error < 0)
drivers/input/rmi4/rmi_f03.c
212
return error;
drivers/input/rmi4/rmi_f03.c
225
int error;
drivers/input/rmi4/rmi_f03.c
228
error = rmi_f03_register_pt(f03);
drivers/input/rmi4/rmi_f03.c
229
if (error)
drivers/input/rmi4/rmi_f03.c
230
return error;
drivers/input/rmi4/rmi_f03.c
257
int error;
drivers/input/rmi4/rmi_f03.c
272
error = rmi_read_block(fn->rmi_dev, data_addr, &obs, ob_len);
drivers/input/rmi4/rmi_f03.c
273
if (error) {
drivers/input/rmi4/rmi_f03.c
276
__func__, error);
drivers/input/rmi4/rmi_f03.c
278
return IRQ_RETVAL(error);
drivers/input/rmi4/rmi_f03.c
77
int error;
drivers/input/rmi4/rmi_f03.c
83
error = rmi_write(f03->fn->rmi_dev, f03->fn->fd.data_base_addr, val);
drivers/input/rmi4/rmi_f03.c
84
if (error) {
drivers/input/rmi4/rmi_f03.c
87
__func__, error);
drivers/input/rmi4/rmi_f03.c
88
return error;
drivers/input/rmi4/rmi_f03.c
98
int error;
drivers/input/rmi4/rmi_f11.c
1306
int error;
drivers/input/rmi4/rmi_f11.c
1323
error = rmi_read_block(rmi_dev,
drivers/input/rmi4/rmi_f11.c
1326
if (error < 0)
drivers/input/rmi4/rmi_f11.c
1327
return IRQ_RETVAL(error);
drivers/input/rmi4/rmi_f11.c
1338
int error;
drivers/input/rmi4/rmi_f11.c
1346
error = rmi_write(fn->rmi_dev, fn->fd.command_base_addr,
drivers/input/rmi4/rmi_f11.c
1348
if (error) {
drivers/input/rmi4/rmi_f11.c
1351
__func__, error);
drivers/input/rmi4/rmi_f11.c
1352
return error;
drivers/input/rmi4/rmi_f11.c
1360
int error;
drivers/input/rmi4/rmi_f11.c
1363
error = rmi_f11_initialize(fn);
drivers/input/rmi4/rmi_f11.c
1364
if (error)
drivers/input/rmi4/rmi_f11.c
1365
return error;
drivers/input/rmi4/rmi_f11.c
1368
error = rmi_2d_sensor_configure_input(fn, &f11->sensor);
drivers/input/rmi4/rmi_f11.c
1369
if (error)
drivers/input/rmi4/rmi_f11.c
1370
return error;
drivers/input/rmi4/rmi_f11.c
757
int error = 0;
drivers/input/rmi4/rmi_f11.c
760
error = rmi_read_block(rmi_dev, ctrl_base_addr, ctrl->ctrl0_11,
drivers/input/rmi4/rmi_f11.c
762
if (error < 0) {
drivers/input/rmi4/rmi_f11.c
763
dev_err(&fn->dev, "Failed to read ctrl0, code: %d.\n", error);
drivers/input/rmi4/rmi_f11.c
764
return error;
drivers/input/rmi4/rmi_f11.c
776
int error;
drivers/input/rmi4/rmi_f11.c
778
error = rmi_write_block(rmi_dev, ctrl_base_addr, ctrl->ctrl0_11,
drivers/input/rmi4/rmi_f11.c
780
if (error < 0)
drivers/input/rmi4/rmi_f11.c
781
return error;
drivers/input/rmi4/rmi_f1a.c
113
int error;
drivers/input/rmi4/rmi_f1a.c
126
error = rmi_f1a_initialize(fn, f1a);
drivers/input/rmi4/rmi_f1a.c
127
if (error)
drivers/input/rmi4/rmi_f1a.c
128
return error;
drivers/input/rmi4/rmi_f1a.c
23
int error;
drivers/input/rmi4/rmi_f1a.c
30
error = n_keys < 0 ? n_keys : -EINVAL;
drivers/input/rmi4/rmi_f1a.c
32
buttons_property, error);
drivers/input/rmi4/rmi_f1a.c
33
return error;
drivers/input/rmi4/rmi_f1a.c
41
error = device_property_read_u32_array(dev, buttons_property,
drivers/input/rmi4/rmi_f1a.c
43
if (error) {
drivers/input/rmi4/rmi_f1a.c
45
buttons_property, error);
drivers/input/rmi4/rmi_f1a.c
46
return error;
drivers/input/rmi4/rmi_f1a.c
61
int error;
drivers/input/rmi4/rmi_f1a.c
63
error = rmi_read_block(fn->rmi_dev, fn->fd.data_base_addr,
drivers/input/rmi4/rmi_f1a.c
65
if (error) {
drivers/input/rmi4/rmi_f1a.c
67
error);
drivers/input/rmi4/rmi_f1a.c
68
return IRQ_RETVAL(error);
drivers/input/rmi4/rmi_f1a.c
91
int error;
drivers/input/rmi4/rmi_f1a.c
94
error = rmi_f1a_parse_device_properties(fn, f1a);
drivers/input/rmi4/rmi_f1a.c
95
if (error)
drivers/input/rmi4/rmi_f1a.c
96
return error;
drivers/input/rmi4/rmi_f21.c
112
int error;
drivers/input/rmi4/rmi_f21.c
125
error = rmi_f21_initialize(fn, f21);
drivers/input/rmi4/rmi_f21.c
126
if (error)
drivers/input/rmi4/rmi_f21.c
127
return error;
drivers/input/rmi4/rmi_f21.c
134
error = rmi_read_block(fn->rmi_dev,
drivers/input/rmi4/rmi_f21.c
137
if (error)
drivers/input/rmi4/rmi_f21.c
138
return dev_err_probe(&fn->dev, error,
drivers/input/rmi4/rmi_f21.c
47
int error;
drivers/input/rmi4/rmi_f21.c
61
error = rmi_read_block(fn->rmi_dev, fn->fd.data_base_addr,
drivers/input/rmi4/rmi_f21.c
63
if (error) {
drivers/input/rmi4/rmi_f21.c
65
error);
drivers/input/rmi4/rmi_f21.c
66
return IRQ_RETVAL(error);
drivers/input/rmi4/rmi_f30.c
127
int error;
drivers/input/rmi4/rmi_f30.c
142
error = rmi_read_block(fn->rmi_dev, fn->fd.data_base_addr,
drivers/input/rmi4/rmi_f30.c
144
if (error) {
drivers/input/rmi4/rmi_f30.c
147
__func__, error);
drivers/input/rmi4/rmi_f30.c
148
return IRQ_RETVAL(error);
drivers/input/rmi4/rmi_f30.c
169
int error;
drivers/input/rmi4/rmi_f30.c
185
error = rmi_write_block(fn->rmi_dev, fn->fd.control_base_addr,
drivers/input/rmi4/rmi_f30.c
187
if (error) {
drivers/input/rmi4/rmi_f30.c
190
__func__, fn->fd.control_base_addr, error);
drivers/input/rmi4/rmi_f30.c
191
return error;
drivers/input/rmi4/rmi_f30.c
278
int error;
drivers/input/rmi4/rmi_f30.c
280
error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr,
drivers/input/rmi4/rmi_f30.c
282
if (error) {
drivers/input/rmi4/rmi_f30.c
284
return error;
drivers/input/rmi4/rmi_f30.c
349
error = rmi_f30_read_control_parameters(fn, f30);
drivers/input/rmi4/rmi_f30.c
350
if (error) {
drivers/input/rmi4/rmi_f30.c
353
error);
drivers/input/rmi4/rmi_f30.c
354
return error;
drivers/input/rmi4/rmi_f30.c
358
error = rmi_f30_map_gpios(fn, f30);
drivers/input/rmi4/rmi_f30.c
359
if (error)
drivers/input/rmi4/rmi_f30.c
360
return error;
drivers/input/rmi4/rmi_f30.c
373
int error;
drivers/input/rmi4/rmi_f30.c
389
error = rmi_f30_initialize(fn, f30);
drivers/input/rmi4/rmi_f30.c
390
if (error)
drivers/input/rmi4/rmi_f30.c
391
return error;
drivers/input/rmi4/rmi_f30.c
87
int error;
drivers/input/rmi4/rmi_f30.c
89
error = rmi_read_block(fn->rmi_dev, fn->fd.control_base_addr,
drivers/input/rmi4/rmi_f30.c
91
if (error) {
drivers/input/rmi4/rmi_f30.c
94
__func__, fn->fd.control_base_addr, error);
drivers/input/rmi4/rmi_f30.c
95
return error;
drivers/input/rmi4/rmi_f34.c
455
int error;
drivers/input/rmi4/rmi_f34.c
467
error = request_firmware(&fw, fw_name, dev);
drivers/input/rmi4/rmi_f34.c
468
if (error)
drivers/input/rmi4/rmi_f34.c
469
return error;
drivers/input/rmi4/rmi_f34.c
473
error = rmi_firmware_update(data, fw);
drivers/input/rmi4/rmi_f34.c
474
if (error)
drivers/input/rmi4/rmi_f34.c
475
return error;
drivers/input/rmi4/rmi_f34.c
523
int error;
drivers/input/rmi4/rmi_f34.c
527
error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr,
drivers/input/rmi4/rmi_f34.c
529
if (error) {
drivers/input/rmi4/rmi_f34.c
532
return error;
drivers/input/rmi4/rmi_f34.c
558
error = rmi_read_block(fn->rmi_dev, fn->fd.control_base_addr,
drivers/input/rmi4/rmi_f34.c
560
if (error) {
drivers/input/rmi4/rmi_f34.c
562
return error;
drivers/input/rmi4/rmi_f34.c
581
int error;
drivers/input/rmi4/rmi_f34.c
590
error = version == 0 ? rmi_f34v5_probe(f34) : rmi_f34v7_probe(f34);
drivers/input/rmi4/rmi_f34.c
591
if (error)
drivers/input/rmi4/rmi_f34.c
592
return error;
drivers/input/rmi4/rmi_f3a.c
172
int error;
drivers/input/rmi4/rmi_f3a.c
174
error = rmi_read(fn->rmi_dev, fn->fd.query_base_addr, &buf);
drivers/input/rmi4/rmi_f3a.c
175
if (error < 0) {
drivers/input/rmi4/rmi_f3a.c
177
error);
drivers/input/rmi4/rmi_f3a.c
185
error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr + 1,
drivers/input/rmi4/rmi_f3a.c
187
if (error) {
drivers/input/rmi4/rmi_f3a.c
189
return error;
drivers/input/rmi4/rmi_f3a.c
193
error = rmi_read_block(fn->rmi_dev, fn->fd.control_base_addr + 1,
drivers/input/rmi4/rmi_f3a.c
195
if (error) {
drivers/input/rmi4/rmi_f3a.c
197
return error;
drivers/input/rmi4/rmi_f3a.c
200
error = rmi_f3a_map_gpios(fn, f3a, query1, ctrl1);
drivers/input/rmi4/rmi_f3a.c
201
if (error)
drivers/input/rmi4/rmi_f3a.c
202
return error;
drivers/input/rmi4/rmi_f3a.c
212
int error;
drivers/input/rmi4/rmi_f3a.c
225
error = rmi_f3a_initialize(fn, f3a);
drivers/input/rmi4/rmi_f3a.c
226
if (error)
drivers/input/rmi4/rmi_f3a.c
227
return error;
drivers/input/rmi4/rmi_f3a.c
61
int error;
drivers/input/rmi4/rmi_f3a.c
75
error = rmi_read_block(fn->rmi_dev, fn->fd.data_base_addr,
drivers/input/rmi4/rmi_f3a.c
77
if (error) {
drivers/input/rmi4/rmi_f3a.c
80
__func__, error);
drivers/input/rmi4/rmi_f3a.c
81
return IRQ_RETVAL(error);
drivers/input/rmi4/rmi_f54.c
181
int error;
drivers/input/rmi4/rmi_f54.c
185
error = rmi_write(rmi_dev, f54->fn->fd.data_base_addr,
drivers/input/rmi4/rmi_f54.c
187
if (error)
drivers/input/rmi4/rmi_f54.c
188
return error;
drivers/input/rmi4/rmi_f54.c
201
error = rmi_write(rmi_dev, fn->fd.command_base_addr, F54_GET_REPORT);
drivers/input/rmi4/rmi_f54.c
202
if (error < 0)
drivers/input/rmi4/rmi_f54.c
215
return error;
drivers/input/rmi4/rmi_f54.c
538
int error;
drivers/input/rmi4/rmi_f54.c
547
error = -EINVAL;
drivers/input/rmi4/rmi_f54.c
548
goto error; /* retry won't help */
drivers/input/rmi4/rmi_f54.c
555
error = rmi_read(fn->rmi_dev, f54->fn->fd.command_base_addr,
drivers/input/rmi4/rmi_f54.c
557
if (error) {
drivers/input/rmi4/rmi_f54.c
559
goto error;
drivers/input/rmi4/rmi_f54.c
564
error = -ETIMEDOUT;
drivers/input/rmi4/rmi_f54.c
567
goto error;
drivers/input/rmi4/rmi_f54.c
577
error = rmi_write_block(fn->rmi_dev,
drivers/input/rmi4/rmi_f54.c
580
if (error) {
drivers/input/rmi4/rmi_f54.c
585
error = rmi_read_block(fn->rmi_dev, fn->fd.data_base_addr +
drivers/input/rmi4/rmi_f54.c
588
if (error) {
drivers/input/rmi4/rmi_f54.c
590
__func__, size, error);
drivers/input/rmi4/rmi_f54.c
596
f54->report_size = error ? 0 : report_size;
drivers/input/rmi4/rmi_f54.c
597
error:
drivers/input/rmi4/rmi_f54.c
598
if (error)
drivers/input/rmi4/rmi_f54.c
601
if (report_size == 0 && !error) {
drivers/input/rmi4/rmi_f54.c
623
int error;
drivers/input/rmi4/rmi_f54.c
629
error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr,
drivers/input/rmi4/rmi_f54.c
631
if (error) {
drivers/input/rmi4/rmi_f54.c
634
return error;
drivers/input/rmi4/rmi_f55.c
41
int error;
drivers/input/rmi4/rmi_f55.c
45
error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr,
drivers/input/rmi4/rmi_f55.c
47
if (error) {
drivers/input/rmi4/rmi_f55.c
50
return error;
drivers/input/rmi4/rmi_f55.c
73
error = rmi_read_block(fn->rmi_dev,
drivers/input/rmi4/rmi_f55.c
76
if (!error) {
drivers/input/rmi4/rmi_f55.c
86
error = rmi_read_block(fn->rmi_dev,
drivers/input/rmi4/rmi_f55.c
89
if (!error) {
drivers/input/rmi4/rmi_i2c.c
207
int error;
drivers/input/rmi4/rmi_i2c.c
232
error = devm_regulator_bulk_get(&client->dev,
drivers/input/rmi4/rmi_i2c.c
235
if (error < 0)
drivers/input/rmi4/rmi_i2c.c
236
return error;
drivers/input/rmi4/rmi_i2c.c
238
error = regulator_bulk_enable(ARRAY_SIZE(rmi_i2c->supplies),
drivers/input/rmi4/rmi_i2c.c
240
if (error < 0)
drivers/input/rmi4/rmi_i2c.c
241
return error;
drivers/input/rmi4/rmi_i2c.c
243
error = devm_add_action_or_reset(&client->dev,
drivers/input/rmi4/rmi_i2c.c
246
if (error)
drivers/input/rmi4/rmi_i2c.c
247
return error;
drivers/input/rmi4/rmi_i2c.c
267
error = rmi_set_page(rmi_i2c, 0);
drivers/input/rmi4/rmi_i2c.c
268
if (error) {
drivers/input/rmi4/rmi_i2c.c
270
return error;
drivers/input/rmi4/rmi_i2c.c
275
error = rmi_register_transport_device(&rmi_i2c->xport);
drivers/input/rmi4/rmi_i2c.c
276
if (error) {
drivers/input/rmi4/rmi_i2c.c
277
dev_err(&client->dev, "failed to register sensor: %d\n", error);
drivers/input/rmi4/rmi_i2c.c
278
return error;
drivers/input/rmi4/rmi_i2c.c
281
error = devm_add_action_or_reset(&client->dev,
drivers/input/rmi4/rmi_i2c.c
284
if (error)
drivers/input/rmi4/rmi_i2c.c
285
return error;
drivers/input/rmi4/rmi_smbus.c
291
int error;
drivers/input/rmi4/rmi_smbus.c
329
error = rmi_smb_enable_smbus_mode(rmi_smb);
drivers/input/rmi4/rmi_smbus.c
330
if (error)
drivers/input/rmi4/rmi_smbus.c
331
return error;
drivers/input/rmi4/rmi_smbus.c
337
error = rmi_register_transport_device(&rmi_smb->xport);
drivers/input/rmi4/rmi_smbus.c
338
if (error) {
drivers/input/rmi4/rmi_smbus.c
339
dev_err(&client->dev, "failed to register sensor: %d\n", error);
drivers/input/rmi4/rmi_smbus.c
340
return error;
drivers/input/rmi4/rmi_spi.c
376
int error;
drivers/input/rmi4/rmi_spi.c
389
error = rmi_spi_of_probe(spi, pdata);
drivers/input/rmi4/rmi_spi.c
390
if (error)
drivers/input/rmi4/rmi_spi.c
391
return error;
drivers/input/rmi4/rmi_spi.c
402
error = spi_setup(spi);
drivers/input/rmi4/rmi_spi.c
403
if (error < 0) {
drivers/input/rmi4/rmi_spi.c
405
return error;
drivers/input/rmi4/rmi_spi.c
419
error = rmi_spi_manage_pools(rmi_spi, RMI_SPI_DEFAULT_XFER_BUF_SIZE);
drivers/input/rmi4/rmi_spi.c
420
if (error)
drivers/input/rmi4/rmi_spi.c
421
return error;
drivers/input/rmi4/rmi_spi.c
427
error = rmi_set_page(rmi_spi, 0);
drivers/input/rmi4/rmi_spi.c
428
if (error) {
drivers/input/rmi4/rmi_spi.c
430
return error;
drivers/input/rmi4/rmi_spi.c
435
error = rmi_register_transport_device(&rmi_spi->xport);
drivers/input/rmi4/rmi_spi.c
436
if (error) {
drivers/input/rmi4/rmi_spi.c
437
dev_err(&spi->dev, "failed to register sensor: %d\n", error);
drivers/input/rmi4/rmi_spi.c
438
return error;
drivers/input/rmi4/rmi_spi.c
441
error = devm_add_action_or_reset(&spi->dev,
drivers/input/rmi4/rmi_spi.c
444
if (error)
drivers/input/rmi4/rmi_spi.c
445
return error;
drivers/input/serio/altera_ps2.c
100
return error;
drivers/input/serio/altera_ps2.c
82
int error, irq;
drivers/input/serio/altera_ps2.c
96
error = devm_request_irq(&pdev->dev, irq, altera_ps2_rxint, 0,
drivers/input/serio/altera_ps2.c
98
if (error) {
drivers/input/serio/arc_ps2.c
186
int error, id, i;
drivers/input/serio/arc_ps2.c
213
error = devm_request_irq(&pdev->dev, irq, arc_ps2_interrupt,
drivers/input/serio/arc_ps2.c
215
if (error) {
drivers/input/serio/arc_ps2.c
217
return error;
drivers/input/serio/arc_ps2.c
221
error = arc_ps2_create_port(pdev, arc_ps2, i);
drivers/input/serio/arc_ps2.c
222
if (error) {
drivers/input/serio/arc_ps2.c
225
return error;
drivers/input/serio/ct82c710.c
199
int error;
drivers/input/serio/ct82c710.c
201
error = ct82c710_detect();
drivers/input/serio/ct82c710.c
202
if (error)
drivers/input/serio/ct82c710.c
203
return error;
drivers/input/serio/ct82c710.c
205
error = platform_driver_register(&ct82c710_driver);
drivers/input/serio/ct82c710.c
206
if (error)
drivers/input/serio/ct82c710.c
207
return error;
drivers/input/serio/ct82c710.c
211
error = -ENOMEM;
drivers/input/serio/ct82c710.c
215
error = platform_device_add_resources(ct82c710_device, &ct82c710_iores, 1);
drivers/input/serio/ct82c710.c
216
if (error)
drivers/input/serio/ct82c710.c
219
error = platform_device_add(ct82c710_device);
drivers/input/serio/ct82c710.c
220
if (error)
drivers/input/serio/ct82c710.c
229
return error;
drivers/input/serio/hyperv-keyboard.c
260
int error;
drivers/input/serio/hyperv-keyboard.c
269
error = vmbus_sendpacket(hv_dev->channel, request,
drivers/input/serio/hyperv-keyboard.c
274
if (error)
drivers/input/serio/hyperv-keyboard.c
275
return error;
drivers/input/serio/hyperv-keyboard.c
317
int error;
drivers/input/serio/hyperv-keyboard.c
322
error = -ENOMEM;
drivers/input/serio/hyperv-keyboard.c
343
error = vmbus_open(hv_dev->channel,
drivers/input/serio/hyperv-keyboard.c
349
if (error)
drivers/input/serio/hyperv-keyboard.c
352
error = hv_kbd_connect_to_vsp(hv_dev);
drivers/input/serio/hyperv-keyboard.c
353
if (error)
drivers/input/serio/hyperv-keyboard.c
367
return error;
drivers/input/serio/i8042.c
1152
int error;
drivers/input/serio/i8042.c
1154
error = i8042_command(¶m, 0x1059);
drivers/input/serio/i8042.c
1155
if (error)
drivers/input/serio/i8042.c
1156
pr_warn("Failed to enable DRITEK extension: %d\n", error);
drivers/input/serio/i8042.c
1169
int error;
drivers/input/serio/i8042.c
1171
error = i8042_controller_check();
drivers/input/serio/i8042.c
1172
if (error)
drivers/input/serio/i8042.c
1173
return error;
drivers/input/serio/i8042.c
1177
error = i8042_controller_selftest();
drivers/input/serio/i8042.c
1178
if (error)
drivers/input/serio/i8042.c
1179
return error;
drivers/input/serio/i8042.c
1448
int error;
drivers/input/serio/i8042.c
1455
error = i8042_create_aux_port(-1);
drivers/input/serio/i8042.c
1456
if (error)
drivers/input/serio/i8042.c
1461
error = i8042_create_aux_port(i);
drivers/input/serio/i8042.c
1462
if (error)
drivers/input/serio/i8042.c
1468
error = request_irq(I8042_AUX_IRQ, i8042_interrupt, IRQF_SHARED,
drivers/input/serio/i8042.c
1470
if (error)
drivers/input/serio/i8042.c
1473
error = aux_enable();
drivers/input/serio/i8042.c
1474
if (error)
drivers/input/serio/i8042.c
1484
return error;
drivers/input/serio/i8042.c
1489
int error;
drivers/input/serio/i8042.c
1491
error = i8042_create_kbd_port();
drivers/input/serio/i8042.c
1492
if (error)
drivers/input/serio/i8042.c
1493
return error;
drivers/input/serio/i8042.c
1495
error = request_irq(I8042_KBD_IRQ, i8042_interrupt, IRQF_SHARED,
drivers/input/serio/i8042.c
1497
if (error)
drivers/input/serio/i8042.c
1500
error = i8042_enable_kbd_port();
drivers/input/serio/i8042.c
1501
if (error)
drivers/input/serio/i8042.c
1511
return error;
drivers/input/serio/i8042.c
1539
int error;
drivers/input/serio/i8042.c
1542
error = i8042_controller_selftest();
drivers/input/serio/i8042.c
1543
if (error)
drivers/input/serio/i8042.c
1544
return error;
drivers/input/serio/i8042.c
1547
error = i8042_controller_init();
drivers/input/serio/i8042.c
1548
if (error)
drivers/input/serio/i8042.c
1549
return error;
drivers/input/serio/i8042.c
1557
error = i8042_setup_aux();
drivers/input/serio/i8042.c
1558
if (error && error != -ENODEV && error != -EBUSY)
drivers/input/serio/i8042.c
1563
error = i8042_setup_kbd();
drivers/input/serio/i8042.c
1564
if (error)
drivers/input/serio/i8042.c
1579
return error;
drivers/input/serio/i8042.c
287
int i, error;
drivers/input/serio/i8042.c
292
error = i8042_wait_write();
drivers/input/serio/i8042.c
293
if (error)
drivers/input/serio/i8042.c
294
return error;
drivers/input/serio/i8042.c
300
error = i8042_wait_write();
drivers/input/serio/i8042.c
301
if (error) {
drivers/input/serio/i8042.c
303
return error;
drivers/input/serio/i8042.c
310
error = i8042_wait_read();
drivers/input/serio/i8042.c
311
if (error) {
drivers/input/serio/i8042.c
313
return error;
drivers/input/serio/i8042.c
346
int error;
drivers/input/serio/i8042.c
350
error = i8042_wait_write();
drivers/input/serio/i8042.c
351
if (error)
drivers/input/serio/i8042.c
352
return error;
drivers/input/serio/i8042.c
63
int error;
drivers/input/serio/i8042.c
67
error = kstrtobool(val, &reset);
drivers/input/serio/i8042.c
68
if (error)
drivers/input/serio/i8042.c
69
return error;
drivers/input/serio/libps2.c
49
int error;
drivers/input/serio/libps2.c
59
error = serio_write(ps2dev->serio, byte);
drivers/input/serio/libps2.c
60
if (error)
drivers/input/serio/libps2.c
62
"failed to write %#02x: %d\n", byte, error);
drivers/input/serio/libps2.c
73
if (!error) {
drivers/input/serio/libps2.c
78
error = -EAGAIN;
drivers/input/serio/libps2.c
81
error = -EPROTO;
drivers/input/serio/libps2.c
84
error = -EIO;
drivers/input/serio/libps2.c
89
if (error || attempt > 1)
drivers/input/serio/libps2.c
92
byte, error, ps2dev->nak, attempt);
drivers/input/serio/libps2.c
94
return error;
drivers/input/serio/maceps2.c
167
int error;
drivers/input/serio/maceps2.c
169
error = platform_driver_register(&maceps2_driver);
drivers/input/serio/maceps2.c
170
if (error)
drivers/input/serio/maceps2.c
171
return error;
drivers/input/serio/maceps2.c
175
error = -ENOMEM;
drivers/input/serio/maceps2.c
184
error = platform_device_add(maceps2_device);
drivers/input/serio/maceps2.c
185
if (error)
drivers/input/serio/maceps2.c
194
return error;
drivers/input/serio/olpc_apsp.c
172
int error;
drivers/input/serio/olpc_apsp.c
208
error = -ENOMEM;
drivers/input/serio/olpc_apsp.c
222
error = request_irq(priv->irq, olpc_apsp_rx, 0, "olpc-apsp", priv);
drivers/input/serio/olpc_apsp.c
223
if (error) {
drivers/input/serio/olpc_apsp.c
238
return error;
drivers/input/serio/ps2-gpio.c
405
int error;
drivers/input/serio/ps2-gpio.c
410
error = -ENOMEM;
drivers/input/serio/ps2-gpio.c
414
error = ps2_gpio_get_props(dev, drvdata);
drivers/input/serio/ps2-gpio.c
415
if (error)
drivers/input/serio/ps2-gpio.c
421
error = -EINVAL;
drivers/input/serio/ps2-gpio.c
427
error = drvdata->irq;
drivers/input/serio/ps2-gpio.c
431
error = devm_request_irq(dev, drvdata->irq, ps2_gpio_irq,
drivers/input/serio/ps2-gpio.c
434
if (error) {
drivers/input/serio/ps2-gpio.c
436
drvdata->irq, error);
drivers/input/serio/ps2-gpio.c
474
return error;
drivers/input/serio/ps2mult.c
158
int error;
drivers/input/serio/ps2mult.c
172
error = ps2mult_create_port(psm, i);
drivers/input/serio/ps2mult.c
173
if (error)
drivers/input/serio/ps2mult.c
180
error = serio_open(serio, drv);
drivers/input/serio/ps2mult.c
181
if (error)
drivers/input/serio/ps2mult.c
199
return error;
drivers/input/serio/q40kbd.c
103
int error;
drivers/input/serio/q40kbd.c
108
error = -ENOMEM;
drivers/input/serio/q40kbd.c
125
error = request_irq(Q40_IRQ_KEYBOARD, q40kbd_interrupt, 0,
drivers/input/serio/q40kbd.c
127
if (error) {
drivers/input/serio/q40kbd.c
142
return error;
drivers/input/serio/serio.c
102
return error;
drivers/input/serio/serio.c
110
int error;
drivers/input/serio/serio.c
112
error = device_attach(&serio->dev);
drivers/input/serio/serio.c
113
if (error < 0 && error != -EPROBE_DEFER)
drivers/input/serio/serio.c
116
serio->phys, serio->name, error);
drivers/input/serio/serio.c
358
int error;
drivers/input/serio/serio.c
371
error = serio_bind_driver(serio, to_serio_driver(drv));
drivers/input/serio/serio.c
373
if (error)
drivers/input/serio/serio.c
374
return error;
drivers/input/serio/serio.c
499
int error;
drivers/input/serio/serio.c
512
error = device_add(&serio->dev);
drivers/input/serio/serio.c
513
if (error)
drivers/input/serio/serio.c
516
serio->phys, serio->name, error);
drivers/input/serio/serio.c
558
int error = serio_reconnect_driver(serio);
drivers/input/serio/serio.c
560
if (error) {
drivers/input/serio/serio.c
565
return error;
drivers/input/serio/serio.c
575
int error;
drivers/input/serio/serio.c
578
error = serio_reconnect_port(s);
drivers/input/serio/serio.c
579
if (!error) {
drivers/input/serio/serio.c
775
int error;
drivers/input/serio/serio.c
777
error = driver_attach(&drv->driver);
drivers/input/serio/serio.c
778
if (error)
drivers/input/serio/serio.c
780
drv->driver.name, error);
drivers/input/serio/serio.c
786
int error;
drivers/input/serio/serio.c
798
error = driver_register(&drv->driver);
drivers/input/serio/serio.c
799
if (error) {
drivers/input/serio/serio.c
801
drv->driver.name, error);
drivers/input/serio/serio.c
802
return error;
drivers/input/serio/serio.c
811
error = serio_queue_event(drv, NULL, SERIO_ATTACH_DRIVER);
drivers/input/serio/serio.c
812
if (error) {
drivers/input/serio/serio.c
814
return error;
drivers/input/serio/serio.c
84
int error;
drivers/input/serio/serio.c
908
int error = -ENOENT;
drivers/input/serio/serio.c
912
error = serio->drv->fast_reconnect(serio);
drivers/input/serio/serio.c
913
if (error && error != -ENOENT)
drivers/input/serio/serio.c
915
error);
drivers/input/serio/serio.c
919
if (error) {
drivers/input/serio/serio.c
94
error = device_bind_driver(&serio->dev);
drivers/input/serio/serio.c
95
if (error) {
drivers/input/serio/serio.c
99
drv->description, error);
drivers/input/serio/serio.c
994
int error;
drivers/input/serio/serio.c
996
error = bus_register(&serio_bus);
drivers/input/serio/serio.c
997
if (error) {
drivers/input/serio/serio.c
998
pr_err("Failed to register serio bus, error: %d\n", error);
drivers/input/serio/serio.c
999
return error;
drivers/input/serio/serio_raw.c
149
int error;
drivers/input/serio/serio_raw.c
172
error = wait_event_interruptible(serio_raw->wait,
drivers/input/serio/serio_raw.c
175
if (error)
drivers/input/serio/serio_raw.c
176
return error;
drivers/input/serio/sun4i-ps2.c
210
int error;
drivers/input/serio/sun4i-ps2.c
215
error = -ENOMEM;
drivers/input/serio/sun4i-ps2.c
225
error = -ENXIO;
drivers/input/serio/sun4i-ps2.c
232
error = -ENOMEM;
drivers/input/serio/sun4i-ps2.c
238
error = PTR_ERR(drvdata->clk);
drivers/input/serio/sun4i-ps2.c
239
dev_err(dev, "couldn't get clock %d\n", error);
drivers/input/serio/sun4i-ps2.c
243
error = clk_prepare_enable(drvdata->clk);
drivers/input/serio/sun4i-ps2.c
244
if (error) {
drivers/input/serio/sun4i-ps2.c
245
dev_err(dev, "failed to enable clock %d\n", error);
drivers/input/serio/sun4i-ps2.c
264
error = drvdata->irq;
drivers/input/serio/sun4i-ps2.c
271
error = request_irq(drvdata->irq, sun4i_ps2_interrupt, 0,
drivers/input/serio/sun4i-ps2.c
273
if (error) {
drivers/input/serio/sun4i-ps2.c
275
drvdata->irq, error);
drivers/input/serio/sun4i-ps2.c
293
return error;
drivers/input/serio/userio.c
138
int error;
drivers/input/serio/userio.c
165
error = wait_event_interruptible(userio->waitq,
drivers/input/serio/userio.c
167
if (error)
drivers/input/serio/userio.c
168
return error;
drivers/input/serio/userio.c
231
int error;
drivers/input/serio/userio.c
242
error = userio_execute_cmd(userio, &cmd);
drivers/input/serio/userio.c
243
if (error)
drivers/input/serio/userio.c
244
return error;
drivers/input/serio/xilinx_ps2.c
180
int error;
drivers/input/serio/xilinx_ps2.c
183
error = request_irq(drvdata->irq, &xps2_interrupt, 0,
drivers/input/serio/xilinx_ps2.c
185
if (error) {
drivers/input/serio/xilinx_ps2.c
188
return error;
drivers/input/serio/xilinx_ps2.c
232
int error;
drivers/input/serio/xilinx_ps2.c
237
error = of_address_to_resource(dev->of_node, 0, &r_mem);
drivers/input/serio/xilinx_ps2.c
238
if (error) {
drivers/input/serio/xilinx_ps2.c
240
return error;
drivers/input/serio/xilinx_ps2.c
253
error = -ENOMEM;
drivers/input/serio/xilinx_ps2.c
267
error = -EBUSY;
drivers/input/serio/xilinx_ps2.c
276
error = -EFAULT;
drivers/input/serio/xilinx_ps2.c
315
return error;
drivers/input/sparse-keymap.c
175
int error;
drivers/input/sparse-keymap.c
188
error = setup(dev, entry);
drivers/input/sparse-keymap.c
189
if (error)
drivers/input/sparse-keymap.c
190
return error;
drivers/input/tablet/hanwang.c
319
int error;
drivers/input/tablet/hanwang.c
328
error = -ENOMEM;
drivers/input/tablet/hanwang.c
333
error = -ENXIO;
drivers/input/tablet/hanwang.c
340
error = -ENOMEM;
drivers/input/tablet/hanwang.c
346
error = -ENOMEM;
drivers/input/tablet/hanwang.c
398
error = input_register_device(hanwang->dev);
drivers/input/tablet/hanwang.c
399
if (error)
drivers/input/tablet/hanwang.c
411
return error;
drivers/input/tablet/kbtab.c
115
int error = -ENOMEM;
drivers/input/tablet/kbtab.c
169
error = input_register_device(kbtab->dev);
drivers/input/tablet/kbtab.c
170
if (error)
drivers/input/tablet/kbtab.c
181
return error;
drivers/input/tablet/pegasus_notetaker.c
119
error = result < 0 ? result : -EIO;
drivers/input/tablet/pegasus_notetaker.c
121
error);
drivers/input/tablet/pegasus_notetaker.c
122
return error;
drivers/input/tablet/pegasus_notetaker.c
212
int error;
drivers/input/tablet/pegasus_notetaker.c
214
error = pegasus_set_mode(pegasus, PEN_MODE_XY, NOTETAKER_LED_MOUSE);
drivers/input/tablet/pegasus_notetaker.c
215
if (error)
drivers/input/tablet/pegasus_notetaker.c
217
error);
drivers/input/tablet/pegasus_notetaker.c
222
int error;
drivers/input/tablet/pegasus_notetaker.c
230
error = pegasus_set_mode(pegasus, PEN_MODE_XY, NOTETAKER_LED_MOUSE);
drivers/input/tablet/pegasus_notetaker.c
231
if (error) {
drivers/input/tablet/pegasus_notetaker.c
234
return error;
drivers/input/tablet/pegasus_notetaker.c
245
int error;
drivers/input/tablet/pegasus_notetaker.c
247
error = usb_autopm_get_interface(pegasus->intf);
drivers/input/tablet/pegasus_notetaker.c
248
if (error)
drivers/input/tablet/pegasus_notetaker.c
249
return error;
drivers/input/tablet/pegasus_notetaker.c
251
error = __pegasus_open(pegasus);
drivers/input/tablet/pegasus_notetaker.c
252
if (error) {
drivers/input/tablet/pegasus_notetaker.c
254
return error;
drivers/input/tablet/pegasus_notetaker.c
281
int error;
drivers/input/tablet/pegasus_notetaker.c
299
error = -ENOMEM;
drivers/input/tablet/pegasus_notetaker.c
312
error = -EINVAL;
drivers/input/tablet/pegasus_notetaker.c
320
error = -EINVAL;
drivers/input/tablet/pegasus_notetaker.c
327
error = -ENOMEM;
drivers/input/tablet/pegasus_notetaker.c
333
error = -ENOMEM;
drivers/input/tablet/pegasus_notetaker.c
393
error = input_register_device(pegasus->dev);
drivers/input/tablet/pegasus_notetaker.c
394
if (error)
drivers/input/tablet/pegasus_notetaker.c
409
return error;
drivers/input/tablet/pegasus_notetaker.c
454
int error;
drivers/input/tablet/pegasus_notetaker.c
459
error = pegasus_set_mode(pegasus, PEN_MODE_XY,
drivers/input/tablet/pegasus_notetaker.c
461
if (error)
drivers/input/tablet/pegasus_notetaker.c
462
return error;
drivers/input/tablet/pegasus_notetaker.c
98
int error;
drivers/input/touch-overlay.c
31
int error;
drivers/input/touch-overlay.c
33
error = fwnode_property_read_u32(segment_node, "x-origin",
drivers/input/touch-overlay.c
35
if (error)
drivers/input/touch-overlay.c
36
return error;
drivers/input/touch-overlay.c
38
error = fwnode_property_read_u32(segment_node, "y-origin",
drivers/input/touch-overlay.c
40
if (error)
drivers/input/touch-overlay.c
41
return error;
drivers/input/touch-overlay.c
43
error = fwnode_property_read_u32(segment_node, "x-size",
drivers/input/touch-overlay.c
45
if (error)
drivers/input/touch-overlay.c
46
return error;
drivers/input/touch-overlay.c
48
error = fwnode_property_read_u32(segment_node, "y-size",
drivers/input/touch-overlay.c
50
if (error)
drivers/input/touch-overlay.c
51
return error;
drivers/input/touch-overlay.c
53
error = fwnode_property_read_u32(segment_node, "linux,code",
drivers/input/touch-overlay.c
55
if (!error)
drivers/input/touch-overlay.c
57
else if (error != -EINVAL)
drivers/input/touch-overlay.c
58
return error;
drivers/input/touch-overlay.c
78
int error;
drivers/input/touch-overlay.c
91
error = touch_overlay_get_segment(fw_segment, segment, input);
drivers/input/touch-overlay.c
92
if (error) {
drivers/input/touch-overlay.c
94
return error;
drivers/input/touchscreen.c
22
int error;
drivers/input/touchscreen.c
24
error = device_property_read_u32(dev, property, &val);
drivers/input/touchscreen.c
25
if (error) {
drivers/input/touchscreen/ad7877.c
390
int error;
drivers/input/touchscreen/ad7877.c
392
error = spi_sync(ts->spi, &ts->msg);
drivers/input/touchscreen/ad7877.c
393
if (error) {
drivers/input/touchscreen/ad7877.c
394
dev_err(&ts->spi->dev, "spi_sync --> %d\n", error);
drivers/input/touchscreen/ad7877.c
399
error = ad7877_process_data(ts);
drivers/input/touchscreen/ad7877.c
400
if (!error)
drivers/input/touchscreen/ad7877.c
476
int error;
drivers/input/touchscreen/ad7877.c
478
error = kstrtouint(buf, 10, &val);
drivers/input/touchscreen/ad7877.c
479
if (error)
drivers/input/touchscreen/ad7877.c
480
return error;
drivers/input/touchscreen/ad7877.c
506
int error;
drivers/input/touchscreen/ad7877.c
508
error = kstrtouint(buf, 10, &val);
drivers/input/touchscreen/ad7877.c
509
if (error)
drivers/input/touchscreen/ad7877.c
510
return error;
drivers/input/touchscreen/ad7877.c
536
int error;
drivers/input/touchscreen/ad7877.c
538
error = kstrtouint(buf, 10, &val);
drivers/input/touchscreen/ad7877.c
539
if (error)
drivers/input/touchscreen/ad7877.c
540
return error;
drivers/input/touchscreen/ad7877.c
567
int error;
drivers/input/touchscreen/ad7877.c
569
error = kstrtouint(buf, 10, &val);
drivers/input/touchscreen/ad7877.c
570
if (error)
drivers/input/touchscreen/ad7877.c
571
return error;
drivers/input/touchscreen/ad7879.c
139
int error;
drivers/input/touchscreen/ad7879.c
141
error = regmap_read(ts->regmap, reg, &val);
drivers/input/touchscreen/ad7879.c
142
if (error) {
drivers/input/touchscreen/ad7879.c
144
reg, error);
drivers/input/touchscreen/ad7879.c
145
return error;
drivers/input/touchscreen/ad7879.c
153
int error;
drivers/input/touchscreen/ad7879.c
155
error = regmap_write(ts->regmap, reg, val);
drivers/input/touchscreen/ad7879.c
156
if (error) {
drivers/input/touchscreen/ad7879.c
159
val, reg, error);
drivers/input/touchscreen/ad7879.c
160
return error;
drivers/input/touchscreen/ad7879.c
249
int error;
drivers/input/touchscreen/ad7879.c
251
error = regmap_bulk_read(ts->regmap, AD7879_REG_XPLUS,
drivers/input/touchscreen/ad7879.c
253
if (error)
drivers/input/touchscreen/ad7879.c
255
AD7879_REG_XPLUS, error);
drivers/input/touchscreen/ad7879.c
373
int error;
drivers/input/touchscreen/ad7879.c
375
error = kstrtouint(buf, 10, &val);
drivers/input/touchscreen/ad7879.c
376
if (error)
drivers/input/touchscreen/ad7879.c
377
return error;
drivers/input/touchscreen/ads7846.c
281
int error;
drivers/input/touchscreen/ads7846.c
283
error = regulator_enable(ts->reg);
drivers/input/touchscreen/ads7846.c
284
if (error != 0)
drivers/input/touchscreen/ads7846.c
285
dev_err(&ts->spi->dev, "Failed to enable supply: %d\n", error);
drivers/input/touchscreen/ads7846.c
827
int error;
drivers/input/touchscreen/ads7846.c
835
error = spi_sync(ts->spi, m);
drivers/input/touchscreen/ads7846.c
836
if (error) {
drivers/input/touchscreen/ads7846.c
837
dev_err_ratelimited(&ts->spi->dev, "spi_sync --> %d\n", error);
drivers/input/touchscreen/ads7846.c
842
error = ads7846_filter(ts);
drivers/input/touchscreen/ads7846.c
843
if (error)
drivers/input/touchscreen/apple_z2.c
129
int error;
drivers/input/touchscreen/apple_z2.c
142
error = spi_sync_transfer(z2->spidev, &xfer, 1);
drivers/input/touchscreen/apple_z2.c
143
if (error)
drivers/input/touchscreen/apple_z2.c
144
return error;
drivers/input/touchscreen/apple_z2.c
151
error = spi_read(z2->spidev, z2->rx_buf, pkt_len);
drivers/input/touchscreen/apple_z2.c
152
if (error)
drivers/input/touchscreen/apple_z2.c
153
return error;
drivers/input/touchscreen/apple_z2.c
183
int error;
drivers/input/touchscreen/apple_z2.c
208
error = device_property_read_u8_array(&z2->spidev->dev, CAL_PROP_NAME,
drivers/input/touchscreen/apple_z2.c
210
if (error)
drivers/input/touchscreen/apple_z2.c
211
return ERR_PTR(error);
drivers/input/touchscreen/apple_z2.c
227
int error;
drivers/input/touchscreen/apple_z2.c
246
error = spi_sync(z2->spidev, &msg);
drivers/input/touchscreen/apple_z2.c
247
if (error)
drivers/input/touchscreen/apple_z2.c
248
return error;
drivers/input/touchscreen/apple_z2.c
260
int error;
drivers/input/touchscreen/apple_z2.c
267
error = request_firmware(&fw, z2->fw_name, &z2->spidev->dev);
drivers/input/touchscreen/apple_z2.c
268
if (error) {
drivers/input/touchscreen/apple_z2.c
270
return error;
drivers/input/touchscreen/apple_z2.c
300
error = apple_z2_send_firmware_blob(z2, fw->data + fw_idx,
drivers/input/touchscreen/apple_z2.c
302
if (error)
drivers/input/touchscreen/apple_z2.c
303
return error;
drivers/input/touchscreen/apple_z2.c
315
error = apple_z2_send_firmware_blob(z2, data, size, false);
drivers/input/touchscreen/apple_z2.c
316
if (error)
drivers/input/touchscreen/apple_z2.c
317
return error;
drivers/input/touchscreen/apple_z2.c
334
int error;
drivers/input/touchscreen/apple_z2.c
342
error = apple_z2_upload_firmware(z2);
drivers/input/touchscreen/apple_z2.c
343
if (error) {
drivers/input/touchscreen/apple_z2.c
346
return error;
drivers/input/touchscreen/apple_z2.c
356
int error;
drivers/input/touchscreen/apple_z2.c
379
error = devm_request_threaded_irq(dev, z2->spidev->irq, NULL, apple_z2_irq,
drivers/input/touchscreen/apple_z2.c
382
if (error)
drivers/input/touchscreen/apple_z2.c
383
return dev_err_probe(dev, error, "unable to request irq\n");
drivers/input/touchscreen/apple_z2.c
385
error = device_property_read_string(dev, "firmware-name", &z2->fw_name);
drivers/input/touchscreen/apple_z2.c
386
if (error)
drivers/input/touchscreen/apple_z2.c
387
return dev_err_probe(dev, error, "unable to get firmware name\n");
drivers/input/touchscreen/apple_z2.c
409
error = input_mt_init_slots(z2->input_dev, 256, INPUT_MT_DIRECT);
drivers/input/touchscreen/apple_z2.c
410
if (error)
drivers/input/touchscreen/apple_z2.c
411
return dev_err_probe(dev, error, "unable to initialize multitouch slots\n");
drivers/input/touchscreen/apple_z2.c
413
error = input_register_device(z2->input_dev);
drivers/input/touchscreen/apple_z2.c
414
if (error)
drivers/input/touchscreen/apple_z2.c
415
return dev_err_probe(dev, error, "unable to register input device\n");
drivers/input/touchscreen/apple_z2.c
419
error = apple_z2_boot(z2);
drivers/input/touchscreen/apple_z2.c
420
if (error)
drivers/input/touchscreen/apple_z2.c
421
return error;
drivers/input/touchscreen/ar1021_i2c.c
125
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/ar1021_i2c.c
129
if (error) {
drivers/input/touchscreen/ar1021_i2c.c
131
"Failed to enable IRQ, error: %d\n", error);
drivers/input/touchscreen/ar1021_i2c.c
132
return error;
drivers/input/touchscreen/ar1021_i2c.c
135
error = input_register_device(ar1021->input);
drivers/input/touchscreen/ar1021_i2c.c
136
if (error) {
drivers/input/touchscreen/ar1021_i2c.c
138
"Failed to register input device, error: %d\n", error);
drivers/input/touchscreen/ar1021_i2c.c
139
return error;
drivers/input/touchscreen/ar1021_i2c.c
70
int error;
drivers/input/touchscreen/ar1021_i2c.c
72
error = i2c_master_send(ar1021->client, cmd_enable_touch,
drivers/input/touchscreen/ar1021_i2c.c
74
if (error < 0)
drivers/input/touchscreen/ar1021_i2c.c
75
return error;
drivers/input/touchscreen/ar1021_i2c.c
94
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
1270
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
1275
error = mxt_process_messages_until_invalid(data);
drivers/input/touchscreen/atmel_mxt_ts.c
1276
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
1277
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
1371
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
1385
error = __mxt_read_reg(client,
drivers/input/touchscreen/atmel_mxt_ts.c
1388
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
1389
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
1501
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
1510
error = __mxt_write_reg(data->client,
drivers/input/touchscreen/atmel_mxt_ts.c
1513
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
1515
"Config write error, ret=%d\n", error);
drivers/input/touchscreen/atmel_mxt_ts.c
1516
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
1858
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
1875
error = __mxt_read_reg(client, 0, size, id_buf);
drivers/input/touchscreen/atmel_mxt_ts.c
1876
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
1886
error = -ENOMEM;
drivers/input/touchscreen/atmel_mxt_ts.c
1892
error = __mxt_read_reg(client, MXT_OBJECT_START,
drivers/input/touchscreen/atmel_mxt_ts.c
1895
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
1913
error = -EIO;
drivers/input/touchscreen/atmel_mxt_ts.c
1927
error = mxt_parse_object_table(data, id_buf + MXT_OBJECT_START);
drivers/input/touchscreen/atmel_mxt_ts.c
1928
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
1929
dev_err(&client->dev, "Error %d parsing object table\n", error);
drivers/input/touchscreen/atmel_mxt_ts.c
1931
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
1940
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
1946
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
1955
error = __mxt_read_reg(client,
drivers/input/touchscreen/atmel_mxt_ts.c
1958
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
1959
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
1961
error = __mxt_read_reg(client,
drivers/input/touchscreen/atmel_mxt_ts.c
1964
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
1965
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
1967
error = __mxt_read_reg(client,
drivers/input/touchscreen/atmel_mxt_ts.c
1970
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
1971
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
1976
error = __mxt_read_reg(client,
drivers/input/touchscreen/atmel_mxt_ts.c
1979
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
1980
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
1992
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
2003
error = __mxt_read_reg(client,
drivers/input/touchscreen/atmel_mxt_ts.c
2006
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2007
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2011
error = __mxt_read_reg(client,
drivers/input/touchscreen/atmel_mxt_ts.c
2014
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2015
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2019
error = __mxt_read_reg(client,
drivers/input/touchscreen/atmel_mxt_ts.c
2022
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2023
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2025
error = __mxt_read_reg(client,
drivers/input/touchscreen/atmel_mxt_ts.c
2028
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2029
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2032
error = __mxt_read_reg(client,
drivers/input/touchscreen/atmel_mxt_ts.c
2035
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2036
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2043
error = __mxt_read_reg(client,
drivers/input/touchscreen/atmel_mxt_ts.c
2046
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2047
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2096
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
2104
error = mxt_read_t9_resolution(data);
drivers/input/touchscreen/atmel_mxt_ts.c
2105
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2111
error = mxt_read_t100_config(data);
drivers/input/touchscreen/atmel_mxt_ts.c
2112
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2170
error = input_mt_init_slots(input_dev, num_mt_slots, mt_flags);
drivers/input/touchscreen/atmel_mxt_ts.c
2171
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
2172
dev_err(dev, "Error %d initialising slots\n", error);
drivers/input/touchscreen/atmel_mxt_ts.c
2227
error = input_register_device(input_dev);
drivers/input/touchscreen/atmel_mxt_ts.c
2228
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
2229
dev_err(dev, "Error %d registering input device\n", error);
drivers/input/touchscreen/atmel_mxt_ts.c
2239
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2255
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
2258
error = mxt_read_info_block(data);
drivers/input/touchscreen/atmel_mxt_ts.c
2259
if (!error)
drivers/input/touchscreen/atmel_mxt_ts.c
2263
error = mxt_probe_bootloader(data, false);
drivers/input/touchscreen/atmel_mxt_ts.c
2264
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
2266
error = mxt_probe_bootloader(data, true);
drivers/input/touchscreen/atmel_mxt_ts.c
2267
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
2269
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2289
error = mxt_check_retrigen(data);
drivers/input/touchscreen/atmel_mxt_ts.c
2290
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2291
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2293
error = mxt_acquire_irq(data);
drivers/input/touchscreen/atmel_mxt_ts.c
2294
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2295
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2297
error = request_firmware_nowait(THIS_MODULE, true, MXT_CFG_NAME,
drivers/input/touchscreen/atmel_mxt_ts.c
2300
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
2302
error);
drivers/input/touchscreen/atmel_mxt_ts.c
2303
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2312
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
2321
error = __mxt_write_reg(data->client, data->T7_address,
drivers/input/touchscreen/atmel_mxt_ts.c
2323
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2324
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2335
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
2339
error = __mxt_read_reg(data->client, data->T7_address,
drivers/input/touchscreen/atmel_mxt_ts.c
2341
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2342
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2706
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
2710
goto error;
drivers/input/touchscreen/atmel_mxt_ts.c
2716
goto error;
drivers/input/touchscreen/atmel_mxt_ts.c
2720
goto error;
drivers/input/touchscreen/atmel_mxt_ts.c
2739
goto error;
drivers/input/touchscreen/atmel_mxt_ts.c
2746
error = v4l2_device_register(&data->client->dev, &dbg->v4l2);
drivers/input/touchscreen/atmel_mxt_ts.c
2747
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2748
goto error;
drivers/input/touchscreen/atmel_mxt_ts.c
2757
error = vb2_queue_init(&dbg->queue);
drivers/input/touchscreen/atmel_mxt_ts.c
2758
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2768
error = video_register_device(&dbg->vdev, VFL_TYPE_TOUCH, -1);
drivers/input/touchscreen/atmel_mxt_ts.c
2769
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2776
error:
drivers/input/touchscreen/atmel_mxt_ts.c
2789
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
2791
error = mxt_init_t7_power_cfg(data);
drivers/input/touchscreen/atmel_mxt_ts.c
2792
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
2794
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2798
error = mxt_update_cfg(data, cfg);
drivers/input/touchscreen/atmel_mxt_ts.c
2799
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2800
dev_warn(dev, "Error %d updating config\n", error);
drivers/input/touchscreen/atmel_mxt_ts.c
2804
error = mxt_initialize_input_device(data);
drivers/input/touchscreen/atmel_mxt_ts.c
2805
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2806
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
2859
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
2867
error = 0;
drivers/input/touchscreen/atmel_mxt_ts.c
2880
error = __mxt_read_reg(data->client, addr, size, obuf);
drivers/input/touchscreen/atmel_mxt_ts.c
2881
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
2890
return error ?: count;
drivers/input/touchscreen/atmel_mxt_ts.c
3043
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
3045
error = mxt_load_fw(dev, MXT_FW_NAME);
drivers/input/touchscreen/atmel_mxt_ts.c
3046
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
3047
dev_err(dev, "The firmware update failed(%d)\n", error);
drivers/input/touchscreen/atmel_mxt_ts.c
3048
count = error;
drivers/input/touchscreen/atmel_mxt_ts.c
3052
error = mxt_initialize(data);
drivers/input/touchscreen/atmel_mxt_ts.c
3053
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
3054
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
3141
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
3146
error = n_keys < 0 ? n_keys : -EINVAL;
drivers/input/touchscreen/atmel_mxt_ts.c
3148
keymap_property, error);
drivers/input/touchscreen/atmel_mxt_ts.c
3149
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
3157
error = device_property_read_u32_array(dev, keymap_property,
drivers/input/touchscreen/atmel_mxt_ts.c
3159
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
3161
keymap_property, error);
drivers/input/touchscreen/atmel_mxt_ts.c
3162
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
3172
error = n_keys < 0 ? n_keys : -EINVAL;
drivers/input/touchscreen/atmel_mxt_ts.c
3174
buttons_property, error);
drivers/input/touchscreen/atmel_mxt_ts.c
3175
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
3183
error = device_property_read_u32_array(dev, buttons_property,
drivers/input/touchscreen/atmel_mxt_ts.c
3185
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
3187
buttons_property, error);
drivers/input/touchscreen/atmel_mxt_ts.c
3188
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
3216
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
3261
error = mxt_parse_device_properties(data);
drivers/input/touchscreen/atmel_mxt_ts.c
3262
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
3263
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
3271
error = devm_regulator_bulk_get(&client->dev, ARRAY_SIZE(data->regulators),
drivers/input/touchscreen/atmel_mxt_ts.c
3273
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
3274
if (error != -EPROBE_DEFER)
drivers/input/touchscreen/atmel_mxt_ts.c
3276
error);
drivers/input/touchscreen/atmel_mxt_ts.c
3277
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
3284
error = PTR_ERR(data->reset_gpio);
drivers/input/touchscreen/atmel_mxt_ts.c
3285
dev_err(&client->dev, "Failed to get reset gpio: %d\n", error);
drivers/input/touchscreen/atmel_mxt_ts.c
3286
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
3293
error = PTR_ERR(data->wake_gpio);
drivers/input/touchscreen/atmel_mxt_ts.c
3294
dev_err(&client->dev, "Failed to get wake gpio: %d\n", error);
drivers/input/touchscreen/atmel_mxt_ts.c
3295
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
3298
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/atmel_mxt_ts.c
3302
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
3304
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
3307
error = regulator_bulk_enable(ARRAY_SIZE(data->regulators),
drivers/input/touchscreen/atmel_mxt_ts.c
3309
if (error) {
drivers/input/touchscreen/atmel_mxt_ts.c
3311
error);
drivers/input/touchscreen/atmel_mxt_ts.c
3312
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
3346
error = mxt_initialize(data);
drivers/input/touchscreen/atmel_mxt_ts.c
3347
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
3355
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
521
int error;
drivers/input/touchscreen/atmel_mxt_ts.c
525
error = mxt_lookup_bootloader_address(data, alt_address);
drivers/input/touchscreen/atmel_mxt_ts.c
526
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
527
return error;
drivers/input/touchscreen/atmel_mxt_ts.c
529
error = mxt_bootloader_read(data, &val, 1);
drivers/input/touchscreen/atmel_mxt_ts.c
530
if (error)
drivers/input/touchscreen/atmel_mxt_ts.c
531
return error;
drivers/input/touchscreen/auo-pixcir-ts.c
490
int error;
drivers/input/touchscreen/auo-pixcir-ts.c
549
error = PTR_ERR_OR_ZERO(ts->gpio_int);
drivers/input/touchscreen/auo-pixcir-ts.c
550
if (error) {
drivers/input/touchscreen/auo-pixcir-ts.c
552
"request of int gpio failed: %d\n", error);
drivers/input/touchscreen/auo-pixcir-ts.c
553
return error;
drivers/input/touchscreen/auo-pixcir-ts.c
561
error = PTR_ERR_OR_ZERO(ts->gpio_rst);
drivers/input/touchscreen/auo-pixcir-ts.c
562
if (error) {
drivers/input/touchscreen/auo-pixcir-ts.c
564
"request of reset gpio failed: %d\n", error);
drivers/input/touchscreen/auo-pixcir-ts.c
565
return error;
drivers/input/touchscreen/auo-pixcir-ts.c
570
error = devm_add_action_or_reset(&client->dev, auo_pixcir_reset, ts);
drivers/input/touchscreen/auo-pixcir-ts.c
571
if (error) {
drivers/input/touchscreen/auo-pixcir-ts.c
573
error);
drivers/input/touchscreen/auo-pixcir-ts.c
574
return error;
drivers/input/touchscreen/auo-pixcir-ts.c
581
error = version;
drivers/input/touchscreen/auo-pixcir-ts.c
582
return error;
drivers/input/touchscreen/auo-pixcir-ts.c
588
error = auo_pixcir_int_config(ts, AUO_PIXCIR_INT_TOUCH_IND);
drivers/input/touchscreen/auo-pixcir-ts.c
589
if (error)
drivers/input/touchscreen/auo-pixcir-ts.c
590
return error;
drivers/input/touchscreen/auo-pixcir-ts.c
592
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/auo-pixcir-ts.c
596
if (error) {
drivers/input/touchscreen/auo-pixcir-ts.c
598
client->irq, error);
drivers/input/touchscreen/auo-pixcir-ts.c
599
return error;
drivers/input/touchscreen/auo-pixcir-ts.c
603
error = auo_pixcir_stop(ts);
drivers/input/touchscreen/auo-pixcir-ts.c
604
if (error)
drivers/input/touchscreen/auo-pixcir-ts.c
605
return error;
drivers/input/touchscreen/auo-pixcir-ts.c
607
error = input_register_device(input_dev);
drivers/input/touchscreen/auo-pixcir-ts.c
608
if (error) {
drivers/input/touchscreen/auo-pixcir-ts.c
610
error);
drivers/input/touchscreen/auo-pixcir-ts.c
611
return error;
drivers/input/touchscreen/bcm_iproc_tsc.c
266
int error;
drivers/input/touchscreen/bcm_iproc_tsc.c
270
error = clk_prepare_enable(priv->tsc_clk);
drivers/input/touchscreen/bcm_iproc_tsc.c
271
if (error) {
drivers/input/touchscreen/bcm_iproc_tsc.c
273
__func__, error);
drivers/input/touchscreen/bcm_iproc_tsc.c
274
return error;
drivers/input/touchscreen/bcm_iproc_tsc.c
421
int error;
drivers/input/touchscreen/bcm_iproc_tsc.c
431
error = PTR_ERR(priv->regmap);
drivers/input/touchscreen/bcm_iproc_tsc.c
432
dev_err(&pdev->dev, "unable to map I/O memory:%d\n", error);
drivers/input/touchscreen/bcm_iproc_tsc.c
433
return error;
drivers/input/touchscreen/bcm_iproc_tsc.c
438
error = PTR_ERR(priv->tsc_clk);
drivers/input/touchscreen/bcm_iproc_tsc.c
440
"failed getting clock tsc_clk: %d\n", error);
drivers/input/touchscreen/bcm_iproc_tsc.c
441
return error;
drivers/input/touchscreen/bcm_iproc_tsc.c
445
error = iproc_get_tsc_config(&pdev->dev, priv);
drivers/input/touchscreen/bcm_iproc_tsc.c
446
if (error) {
drivers/input/touchscreen/bcm_iproc_tsc.c
447
dev_err(&pdev->dev, "get_tsc_config failed: %d\n", error);
drivers/input/touchscreen/bcm_iproc_tsc.c
448
return error;
drivers/input/touchscreen/bcm_iproc_tsc.c
488
error = devm_request_irq(&pdev->dev, irq,
drivers/input/touchscreen/bcm_iproc_tsc.c
491
if (error)
drivers/input/touchscreen/bcm_iproc_tsc.c
492
return error;
drivers/input/touchscreen/bcm_iproc_tsc.c
494
error = input_register_device(priv->idev);
drivers/input/touchscreen/bcm_iproc_tsc.c
495
if (error) {
drivers/input/touchscreen/bcm_iproc_tsc.c
497
"failed to register input device: %d\n", error);
drivers/input/touchscreen/bcm_iproc_tsc.c
498
return error;
drivers/input/touchscreen/bu21013_ts.c
240
int error;
drivers/input/touchscreen/bu21013_ts.c
243
error = bu21013_do_touch_report(ts);
drivers/input/touchscreen/bu21013_ts.c
244
if (error) {
drivers/input/touchscreen/bu21013_ts.c
264
int error;
drivers/input/touchscreen/bu21013_ts.c
266
error = i2c_smbus_write_byte_data(client, BU21013_RESET_REG,
drivers/input/touchscreen/bu21013_ts.c
268
if (error) {
drivers/input/touchscreen/bu21013_ts.c
270
return error;
drivers/input/touchscreen/bu21013_ts.c
274
error = i2c_smbus_write_byte_data(client, BU21013_SENSOR_0_7_REG,
drivers/input/touchscreen/bu21013_ts.c
276
if (error) {
drivers/input/touchscreen/bu21013_ts.c
278
return error;
drivers/input/touchscreen/bu21013_ts.c
281
error = i2c_smbus_write_byte_data(client, BU21013_SENSOR_8_15_REG,
drivers/input/touchscreen/bu21013_ts.c
283
if (error) {
drivers/input/touchscreen/bu21013_ts.c
285
return error;
drivers/input/touchscreen/bu21013_ts.c
288
error = i2c_smbus_write_byte_data(client, BU21013_SENSOR_16_23_REG,
drivers/input/touchscreen/bu21013_ts.c
290
if (error) {
drivers/input/touchscreen/bu21013_ts.c
292
return error;
drivers/input/touchscreen/bu21013_ts.c
295
error = i2c_smbus_write_byte_data(client, BU21013_POS_MODE1_REG,
drivers/input/touchscreen/bu21013_ts.c
298
if (error) {
drivers/input/touchscreen/bu21013_ts.c
300
return error;
drivers/input/touchscreen/bu21013_ts.c
303
error = i2c_smbus_write_byte_data(client, BU21013_POS_MODE2_REG,
drivers/input/touchscreen/bu21013_ts.c
309
if (error) {
drivers/input/touchscreen/bu21013_ts.c
311
return error;
drivers/input/touchscreen/bu21013_ts.c
314
error = i2c_smbus_write_byte_data(client, BU21013_CLK_MODE_REG,
drivers/input/touchscreen/bu21013_ts.c
317
if (error) {
drivers/input/touchscreen/bu21013_ts.c
319
return error;
drivers/input/touchscreen/bu21013_ts.c
322
error = i2c_smbus_write_byte_data(client, BU21013_IDLE_REG,
drivers/input/touchscreen/bu21013_ts.c
325
if (error) {
drivers/input/touchscreen/bu21013_ts.c
327
return error;
drivers/input/touchscreen/bu21013_ts.c
330
error = i2c_smbus_write_byte_data(client, BU21013_INT_MODE_REG,
drivers/input/touchscreen/bu21013_ts.c
332
if (error) {
drivers/input/touchscreen/bu21013_ts.c
334
return error;
drivers/input/touchscreen/bu21013_ts.c
337
error = i2c_smbus_write_byte_data(client, BU21013_FILTER_REG,
drivers/input/touchscreen/bu21013_ts.c
340
if (error) {
drivers/input/touchscreen/bu21013_ts.c
342
return error;
drivers/input/touchscreen/bu21013_ts.c
345
error = i2c_smbus_write_byte_data(client, BU21013_TH_ON_REG,
drivers/input/touchscreen/bu21013_ts.c
347
if (error) {
drivers/input/touchscreen/bu21013_ts.c
349
return error;
drivers/input/touchscreen/bu21013_ts.c
352
error = i2c_smbus_write_byte_data(client, BU21013_TH_OFF_REG,
drivers/input/touchscreen/bu21013_ts.c
354
if (error) {
drivers/input/touchscreen/bu21013_ts.c
356
return error;
drivers/input/touchscreen/bu21013_ts.c
359
error = i2c_smbus_write_byte_data(client, BU21013_GAIN_REG,
drivers/input/touchscreen/bu21013_ts.c
361
if (error) {
drivers/input/touchscreen/bu21013_ts.c
363
return error;
drivers/input/touchscreen/bu21013_ts.c
366
error = i2c_smbus_write_byte_data(client, BU21013_OFFSET_MODE_REG,
drivers/input/touchscreen/bu21013_ts.c
368
if (error) {
drivers/input/touchscreen/bu21013_ts.c
370
return error;
drivers/input/touchscreen/bu21013_ts.c
373
error = i2c_smbus_write_byte_data(client, BU21013_XY_EDGE_REG,
drivers/input/touchscreen/bu21013_ts.c
378
if (error) {
drivers/input/touchscreen/bu21013_ts.c
380
return error;
drivers/input/touchscreen/bu21013_ts.c
383
error = i2c_smbus_write_byte_data(client, BU21013_DONE_REG,
drivers/input/touchscreen/bu21013_ts.c
385
if (error) {
drivers/input/touchscreen/bu21013_ts.c
387
return error;
drivers/input/touchscreen/bu21013_ts.c
414
int error;
drivers/input/touchscreen/bu21013_ts.c
471
error = input_mt_init_slots(in_dev, MAX_FINGERS,
drivers/input/touchscreen/bu21013_ts.c
474
if (error) {
drivers/input/touchscreen/bu21013_ts.c
476
return error;
drivers/input/touchscreen/bu21013_ts.c
485
error = regulator_enable(ts->regulator);
drivers/input/touchscreen/bu21013_ts.c
486
if (error) {
drivers/input/touchscreen/bu21013_ts.c
488
return error;
drivers/input/touchscreen/bu21013_ts.c
491
error = devm_add_action_or_reset(dev, bu21013_power_off, ts);
drivers/input/touchscreen/bu21013_ts.c
492
if (error) {
drivers/input/touchscreen/bu21013_ts.c
494
return error;
drivers/input/touchscreen/bu21013_ts.c
504
error = devm_add_action_or_reset(dev, bu21013_disable_chip, ts);
drivers/input/touchscreen/bu21013_ts.c
505
if (error) {
drivers/input/touchscreen/bu21013_ts.c
507
return error;
drivers/input/touchscreen/bu21013_ts.c
512
error = PTR_ERR_OR_ZERO(ts->int_gpiod);
drivers/input/touchscreen/bu21013_ts.c
513
if (error)
drivers/input/touchscreen/bu21013_ts.c
514
return dev_err_probe(dev, error, "failed to get INT GPIO\n");
drivers/input/touchscreen/bu21013_ts.c
520
error = bu21013_init_chip(ts);
drivers/input/touchscreen/bu21013_ts.c
521
if (error) {
drivers/input/touchscreen/bu21013_ts.c
523
return error;
drivers/input/touchscreen/bu21013_ts.c
526
error = devm_request_threaded_irq(dev, client->irq, NULL, bu21013_gpio_irq,
drivers/input/touchscreen/bu21013_ts.c
528
if (error) {
drivers/input/touchscreen/bu21013_ts.c
530
return error;
drivers/input/touchscreen/bu21013_ts.c
533
error = input_register_device(in_dev);
drivers/input/touchscreen/bu21013_ts.c
534
if (error) {
drivers/input/touchscreen/bu21013_ts.c
536
return error;
drivers/input/touchscreen/bu21013_ts.c
572
int error;
drivers/input/touchscreen/bu21013_ts.c
575
error = regulator_enable(ts->regulator);
drivers/input/touchscreen/bu21013_ts.c
576
if (error) {
drivers/input/touchscreen/bu21013_ts.c
579
return error;
drivers/input/touchscreen/bu21013_ts.c
582
error = bu21013_init_chip(ts);
drivers/input/touchscreen/bu21013_ts.c
583
if (error) {
drivers/input/touchscreen/bu21013_ts.c
586
return error;
drivers/input/touchscreen/bu21029_ts.c
224
int error;
drivers/input/touchscreen/bu21029_ts.c
230
error = i2c_smbus_read_i2c_block_data(bu21029->client, BU21029_AUTOSCAN,
drivers/input/touchscreen/bu21029_ts.c
232
if (error < 0)
drivers/input/touchscreen/bu21029_ts.c
267
int error, i;
drivers/input/touchscreen/bu21029_ts.c
270
error = regulator_enable(bu21029->vdd);
drivers/input/touchscreen/bu21029_ts.c
271
if (error) {
drivers/input/touchscreen/bu21029_ts.c
272
dev_err(&i2c->dev, "failed to power up chip: %d", error);
drivers/input/touchscreen/bu21029_ts.c
273
return error;
drivers/input/touchscreen/bu21029_ts.c
282
error = i2c_smbus_read_i2c_block_data(i2c, BU21029_HWID_REG,
drivers/input/touchscreen/bu21029_ts.c
284
if (error < 0) {
drivers/input/touchscreen/bu21029_ts.c
292
error = -ENODEV;
drivers/input/touchscreen/bu21029_ts.c
297
error = i2c_smbus_write_byte_data(i2c,
drivers/input/touchscreen/bu21029_ts.c
300
if (error < 0) {
drivers/input/touchscreen/bu21029_ts.c
304
error);
drivers/input/touchscreen/bu21029_ts.c
309
error = i2c_smbus_write_byte(i2c, BU21029_AUTOSCAN);
drivers/input/touchscreen/bu21029_ts.c
310
if (error < 0) {
drivers/input/touchscreen/bu21029_ts.c
321
return error;
drivers/input/touchscreen/bu21029_ts.c
340
int error;
drivers/input/touchscreen/bu21029_ts.c
354
error = device_property_read_u32(dev, "rohm,x-plate-ohms", &bu21029->x_plate_ohms);
drivers/input/touchscreen/bu21029_ts.c
355
if (error) {
drivers/input/touchscreen/bu21029_ts.c
356
dev_err(dev, "invalid 'x-plate-ohms' supplied: %d\n", error);
drivers/input/touchscreen/bu21029_ts.c
357
return error;
drivers/input/touchscreen/bu21029_ts.c
393
error = devm_request_threaded_irq(dev, client->irq, NULL,
drivers/input/touchscreen/bu21029_ts.c
397
if (error) {
drivers/input/touchscreen/bu21029_ts.c
398
dev_err(dev, "unable to request touch irq: %d\n", error);
drivers/input/touchscreen/bu21029_ts.c
399
return error;
drivers/input/touchscreen/bu21029_ts.c
402
error = input_register_device(in_dev);
drivers/input/touchscreen/bu21029_ts.c
403
if (error) {
drivers/input/touchscreen/bu21029_ts.c
404
dev_err(dev, "unable to register input device: %d\n", error);
drivers/input/touchscreen/bu21029_ts.c
405
return error;
drivers/input/touchscreen/chipone_icn8318.c
182
int error;
drivers/input/touchscreen/chipone_icn8318.c
217
error = input_mt_init_slots(input, ICN8318_MAX_TOUCHES,
drivers/input/touchscreen/chipone_icn8318.c
219
if (error)
drivers/input/touchscreen/chipone_icn8318.c
220
return error;
drivers/input/touchscreen/chipone_icn8318.c
226
error = devm_request_threaded_irq(dev, client->irq, NULL, icn8318_irq,
drivers/input/touchscreen/chipone_icn8318.c
228
if (error) {
drivers/input/touchscreen/chipone_icn8318.c
229
dev_err(dev, "Error requesting irq: %d\n", error);
drivers/input/touchscreen/chipone_icn8318.c
230
return error;
drivers/input/touchscreen/chipone_icn8318.c
236
error = input_register_device(input);
drivers/input/touchscreen/chipone_icn8318.c
237
if (error)
drivers/input/touchscreen/chipone_icn8318.c
238
return error;
drivers/input/touchscreen/chipone_icn8505.c
156
int error;
drivers/input/touchscreen/chipone_icn8505.c
158
error = icn8505_read_xfer(icn8505->client, icn8505->client->addr, reg,
drivers/input/touchscreen/chipone_icn8505.c
160
if (error)
drivers/input/touchscreen/chipone_icn8505.c
161
return error;
drivers/input/touchscreen/chipone_icn8505.c
203
int error;
drivers/input/touchscreen/chipone_icn8505.c
208
error = icn8505_write_prog_reg(icn8505, 0xcc3355, 0x5a);
drivers/input/touchscreen/chipone_icn8505.c
209
if (error)
drivers/input/touchscreen/chipone_icn8505.c
210
return error;
drivers/input/touchscreen/chipone_icn8505.c
214
error = icn8505_write_prog_reg(icn8505, 0x040400, 0x01);
drivers/input/touchscreen/chipone_icn8505.c
215
if (error)
drivers/input/touchscreen/chipone_icn8505.c
216
return error;
drivers/input/touchscreen/chipone_icn8505.c
220
error = icn8505_read_prog_data(icn8505, 0x040002, buf, 1);
drivers/input/touchscreen/chipone_icn8505.c
221
if (error)
drivers/input/touchscreen/chipone_icn8505.c
222
return error;
drivers/input/touchscreen/chipone_icn8505.c
232
error = icn8505_write_prog_reg(icn8505, 0x40028, 1);
drivers/input/touchscreen/chipone_icn8505.c
233
if (error)
drivers/input/touchscreen/chipone_icn8505.c
234
return error;
drivers/input/touchscreen/chipone_icn8505.c
239
error = icn8505_write_prog_data(icn8505, offset,
drivers/input/touchscreen/chipone_icn8505.c
241
if (error)
drivers/input/touchscreen/chipone_icn8505.c
242
return error;
drivers/input/touchscreen/chipone_icn8505.c
246
error = icn8505_write_prog_reg(icn8505, 0x40028, 0);
drivers/input/touchscreen/chipone_icn8505.c
247
if (error)
drivers/input/touchscreen/chipone_icn8505.c
248
return error;
drivers/input/touchscreen/chipone_icn8505.c
251
error = icn8505_read_prog_data(icn8505, 0x40034, buf, 2);
drivers/input/touchscreen/chipone_icn8505.c
252
if (error)
drivers/input/touchscreen/chipone_icn8505.c
253
return error;
drivers/input/touchscreen/chipone_icn8505.c
260
error = icn8505_read_prog_data(icn8505, 0x4002c, buf, 4);
drivers/input/touchscreen/chipone_icn8505.c
261
if (error)
drivers/input/touchscreen/chipone_icn8505.c
262
return error;
drivers/input/touchscreen/chipone_icn8505.c
271
error = icn8505_write_prog_reg(icn8505, 0x40400, 0x03);
drivers/input/touchscreen/chipone_icn8505.c
272
if (error)
drivers/input/touchscreen/chipone_icn8505.c
273
return error;
drivers/input/touchscreen/chipone_icn8505.c
283
int i, error;
drivers/input/touchscreen/chipone_icn8505.c
290
error = firmware_request_platform(&fw, icn8505->firmware_name, dev);
drivers/input/touchscreen/chipone_icn8505.c
291
if (error) {
drivers/input/touchscreen/chipone_icn8505.c
292
dev_err(dev, "Firmware request error %d\n", error);
drivers/input/touchscreen/chipone_icn8505.c
293
return error;
drivers/input/touchscreen/chipone_icn8505.c
301
error = icn8505_try_fw_upload(icn8505, fw);
drivers/input/touchscreen/chipone_icn8505.c
302
if (!error)
drivers/input/touchscreen/chipone_icn8505.c
306
error, i, MAX_FW_UPLOAD_TRIES);
drivers/input/touchscreen/chipone_icn8505.c
312
return error;
drivers/input/touchscreen/chipone_icn8505.c
326
int i, error;
drivers/input/touchscreen/chipone_icn8505.c
328
error = icn8505_read_data(icn8505, ICN8505_REG_TOUCHDATA,
drivers/input/touchscreen/chipone_icn8505.c
330
if (error) {
drivers/input/touchscreen/chipone_icn8505.c
331
dev_err(dev, "Error reading touch data: %d\n", error);
drivers/input/touchscreen/chipone_icn8505.c
367
int error;
drivers/input/touchscreen/chipone_icn8505.c
370
error = PTR_ERR_OR_ZERO(subsys);
drivers/input/touchscreen/chipone_icn8505.c
371
if (error == -ENODATA)
drivers/input/touchscreen/chipone_icn8505.c
373
else if (error)
drivers/input/touchscreen/chipone_icn8505.c
374
return error;
drivers/input/touchscreen/chipone_icn8505.c
389
int error;
drivers/input/touchscreen/chipone_icn8505.c
415
error = icn8505_probe_acpi(icn8505, dev);
drivers/input/touchscreen/chipone_icn8505.c
416
if (error)
drivers/input/touchscreen/chipone_icn8505.c
417
return error;
drivers/input/touchscreen/chipone_icn8505.c
419
error = icn8505_upload_fw(icn8505);
drivers/input/touchscreen/chipone_icn8505.c
420
if (error)
drivers/input/touchscreen/chipone_icn8505.c
421
return error;
drivers/input/touchscreen/chipone_icn8505.c
423
error = icn8505_read_data(icn8505, ICN8505_REG_CONFIGDATA,
drivers/input/touchscreen/chipone_icn8505.c
425
if (error) {
drivers/input/touchscreen/chipone_icn8505.c
426
dev_err(dev, "Error reading resolution: %d\n", error);
drivers/input/touchscreen/chipone_icn8505.c
427
return error;
drivers/input/touchscreen/chipone_icn8505.c
442
error = input_mt_init_slots(input, ICN8505_MAX_TOUCHES,
drivers/input/touchscreen/chipone_icn8505.c
444
if (error)
drivers/input/touchscreen/chipone_icn8505.c
445
return error;
drivers/input/touchscreen/chipone_icn8505.c
447
error = devm_request_threaded_irq(dev, client->irq, NULL, icn8505_irq,
drivers/input/touchscreen/chipone_icn8505.c
449
if (error) {
drivers/input/touchscreen/chipone_icn8505.c
450
dev_err(dev, "Error requesting irq: %d\n", error);
drivers/input/touchscreen/chipone_icn8505.c
451
return error;
drivers/input/touchscreen/chipone_icn8505.c
454
error = input_register_device(input);
drivers/input/touchscreen/chipone_icn8505.c
455
if (error)
drivers/input/touchscreen/chipone_icn8505.c
456
return error;
drivers/input/touchscreen/chipone_icn8505.c
476
int error;
drivers/input/touchscreen/chipone_icn8505.c
478
error = icn8505_upload_fw(icn8505);
drivers/input/touchscreen/chipone_icn8505.c
479
if (error)
drivers/input/touchscreen/chipone_icn8505.c
480
return error;
drivers/input/touchscreen/colibri-vf50-ts.c
264
int error;
drivers/input/touchscreen/colibri-vf50-ts.c
270
error = devm_add_action(dev, vf50_ts_channel_release, channels);
drivers/input/touchscreen/colibri-vf50-ts.c
271
if (error) {
drivers/input/touchscreen/colibri-vf50-ts.c
274
return error;
drivers/input/touchscreen/colibri-vf50-ts.c
293
error = of_property_read_u32(dev->of_node, "vf50-ts-min-pressure",
drivers/input/touchscreen/colibri-vf50-ts.c
295
if (error)
drivers/input/touchscreen/colibri-vf50-ts.c
296
return error;
drivers/input/touchscreen/colibri-vf50-ts.c
318
error = input_register_device(input);
drivers/input/touchscreen/colibri-vf50-ts.c
319
if (error) {
drivers/input/touchscreen/colibri-vf50-ts.c
321
return error;
drivers/input/touchscreen/colibri-vf50-ts.c
324
error = vf50_ts_get_gpiod(dev, &touchdev->gpio_xp, "xp", GPIOD_OUT_LOW);
drivers/input/touchscreen/colibri-vf50-ts.c
325
if (error)
drivers/input/touchscreen/colibri-vf50-ts.c
326
return error;
drivers/input/touchscreen/colibri-vf50-ts.c
328
error = vf50_ts_get_gpiod(dev, &touchdev->gpio_xm,
drivers/input/touchscreen/colibri-vf50-ts.c
330
if (error)
drivers/input/touchscreen/colibri-vf50-ts.c
331
return error;
drivers/input/touchscreen/colibri-vf50-ts.c
333
error = vf50_ts_get_gpiod(dev, &touchdev->gpio_yp, "yp", GPIOD_OUT_LOW);
drivers/input/touchscreen/colibri-vf50-ts.c
334
if (error)
drivers/input/touchscreen/colibri-vf50-ts.c
335
return error;
drivers/input/touchscreen/colibri-vf50-ts.c
337
error = vf50_ts_get_gpiod(dev, &touchdev->gpio_ym, "ym", GPIOD_OUT_LOW);
drivers/input/touchscreen/colibri-vf50-ts.c
338
if (error)
drivers/input/touchscreen/colibri-vf50-ts.c
339
return error;
drivers/input/touchscreen/colibri-vf50-ts.c
345
error = devm_request_threaded_irq(dev, touchdev->pen_irq,
drivers/input/touchscreen/colibri-vf50-ts.c
348
if (error) {
drivers/input/touchscreen/colibri-vf50-ts.c
350
touchdev->pen_irq, error);
drivers/input/touchscreen/colibri-vf50-ts.c
351
return error;
drivers/input/touchscreen/colibri-vf50-ts.c
56
int error;
drivers/input/touchscreen/colibri-vf50-ts.c
64
error = iio_read_channel_raw(channel, &val);
drivers/input/touchscreen/colibri-vf50-ts.c
65
if (error < 0) {
drivers/input/touchscreen/colibri-vf50-ts.c
66
value = error;
drivers/input/touchscreen/cy8ctma140.c
173
int error;
drivers/input/touchscreen/cy8ctma140.c
175
error = regulator_bulk_enable(ARRAY_SIZE(ts->regulators),
drivers/input/touchscreen/cy8ctma140.c
177
if (error) {
drivers/input/touchscreen/cy8ctma140.c
179
return error;
drivers/input/touchscreen/cy8ctma140.c
206
int error;
drivers/input/touchscreen/cy8ctma140.c
241
error = input_mt_init_slots(input, CY8CTMA140_MAX_FINGERS,
drivers/input/touchscreen/cy8ctma140.c
243
if (error)
drivers/input/touchscreen/cy8ctma140.c
244
return error;
drivers/input/touchscreen/cy8ctma140.c
259
error = devm_regulator_bulk_get(dev, ARRAY_SIZE(ts->regulators),
drivers/input/touchscreen/cy8ctma140.c
261
if (error)
drivers/input/touchscreen/cy8ctma140.c
262
return dev_err_probe(dev, error, "Failed to get regulators\n");
drivers/input/touchscreen/cy8ctma140.c
264
error = cy8ctma140_power_up(ts);
drivers/input/touchscreen/cy8ctma140.c
265
if (error)
drivers/input/touchscreen/cy8ctma140.c
266
return error;
drivers/input/touchscreen/cy8ctma140.c
268
error = devm_add_action_or_reset(dev, cy8ctma140_power_off_action, ts);
drivers/input/touchscreen/cy8ctma140.c
269
if (error) {
drivers/input/touchscreen/cy8ctma140.c
271
return error;
drivers/input/touchscreen/cy8ctma140.c
274
error = devm_request_threaded_irq(dev, client->irq,
drivers/input/touchscreen/cy8ctma140.c
277
if (error) {
drivers/input/touchscreen/cy8ctma140.c
278
dev_err(dev, "irq %d busy? error %d\n", client->irq, error);
drivers/input/touchscreen/cy8ctma140.c
279
return error;
drivers/input/touchscreen/cy8ctma140.c
282
error = cy8ctma140_init(ts);
drivers/input/touchscreen/cy8ctma140.c
283
if (error)
drivers/input/touchscreen/cy8ctma140.c
284
return error;
drivers/input/touchscreen/cy8ctma140.c
286
error = input_register_device(input);
drivers/input/touchscreen/cy8ctma140.c
287
if (error)
drivers/input/touchscreen/cy8ctma140.c
288
return error;
drivers/input/touchscreen/cy8ctma140.c
310
int error;
drivers/input/touchscreen/cy8ctma140.c
313
error = cy8ctma140_power_up(ts);
drivers/input/touchscreen/cy8ctma140.c
314
if (error)
drivers/input/touchscreen/cy8ctma140.c
315
return error;
drivers/input/touchscreen/cyttsp5.c
221
int error;
drivers/input/touchscreen/cyttsp5.c
226
error = regmap_bulk_read(ts->regmap, HID_INPUT_REG, temp, sizeof(temp));
drivers/input/touchscreen/cyttsp5.c
227
if (error)
drivers/input/touchscreen/cyttsp5.c
228
return error;
drivers/input/touchscreen/cyttsp5.c
381
int error;
drivers/input/touchscreen/cyttsp5.c
396
error = input_mt_init_slots(ts->input, si->tch_abs[CY_TCH_T].max,
drivers/input/touchscreen/cyttsp5.c
398
if (error)
drivers/input/touchscreen/cyttsp5.c
399
return error;
drivers/input/touchscreen/cyttsp5.c
401
error = input_register_device(ts->input);
drivers/input/touchscreen/cyttsp5.c
402
if (error) {
drivers/input/touchscreen/cyttsp5.c
403
dev_err(dev, "failed to register input device: %d\n", error);
drivers/input/touchscreen/cyttsp5.c
404
return error;
drivers/input/touchscreen/cyttsp5.c
407
return error;
drivers/input/touchscreen/cyttsp5.c
701
int error;
drivers/input/touchscreen/cyttsp5.c
703
error = cyttsp5_read(ts, ts->input_buf, CY_MAX_INPUT);
drivers/input/touchscreen/cyttsp5.c
704
if (error)
drivers/input/touchscreen/cyttsp5.c
740
int error;
drivers/input/touchscreen/cyttsp5.c
742
error = regmap_bulk_read(ts->regmap, HID_INPUT_REG, buf, sizeof(buf));
drivers/input/touchscreen/cyttsp5.c
743
if (error < 0)
drivers/input/touchscreen/cyttsp5.c
744
return error;
drivers/input/touchscreen/cyttsp5.c
777
int error;
drivers/input/touchscreen/cyttsp5.c
779
error = cyttsp5_deassert_int(ts);
drivers/input/touchscreen/cyttsp5.c
780
if (error) {
drivers/input/touchscreen/cyttsp5.c
781
dev_err(ts->dev, "Error on deassert int r=%d\n", error);
drivers/input/touchscreen/cyttsp5.c
789
error = cyttsp5_hid_output_bl_launch_app(ts);
drivers/input/touchscreen/cyttsp5.c
790
if (error < 0) {
drivers/input/touchscreen/cyttsp5.c
791
dev_err(ts->dev, "Error on launch app r=%d\n", error);
drivers/input/touchscreen/cyttsp5.c
792
return error;
drivers/input/touchscreen/cyttsp5.c
795
error = cyttsp5_get_hid_descriptor(ts, &ts->hid_desc);
drivers/input/touchscreen/cyttsp5.c
796
if (error < 0) {
drivers/input/touchscreen/cyttsp5.c
797
dev_err(ts->dev, "Error on getting HID descriptor r=%d\n", error);
drivers/input/touchscreen/cyttsp5.c
798
return error;
drivers/input/touchscreen/cyttsp5.c
801
error = cyttsp5_fill_all_touch(ts);
drivers/input/touchscreen/cyttsp5.c
802
if (error < 0) {
drivers/input/touchscreen/cyttsp5.c
803
dev_err(ts->dev, "Error on report descriptor r=%d\n", error);
drivers/input/touchscreen/cyttsp5.c
804
return error;
drivers/input/touchscreen/cyttsp5.c
807
error = cyttsp5_hid_output_get_sysinfo(ts);
drivers/input/touchscreen/cyttsp5.c
808
if (error) {
drivers/input/touchscreen/cyttsp5.c
809
dev_err(ts->dev, "Error on getting sysinfo r=%d\n", error);
drivers/input/touchscreen/cyttsp5.c
810
return error;
drivers/input/touchscreen/cyttsp5.c
813
return error;
drivers/input/touchscreen/cyttsp5.c
828
int error, i;
drivers/input/touchscreen/cyttsp5.c
845
error = devm_regulator_bulk_get(dev, ARRAY_SIZE(ts->supplies),
drivers/input/touchscreen/cyttsp5.c
847
if (error) {
drivers/input/touchscreen/cyttsp5.c
848
dev_err(ts->dev, "Failed to get regulators, error %d\n", error);
drivers/input/touchscreen/cyttsp5.c
849
return error;
drivers/input/touchscreen/cyttsp5.c
852
error = devm_add_action_or_reset(dev, cyttsp5_cleanup, ts);
drivers/input/touchscreen/cyttsp5.c
853
if (error)
drivers/input/touchscreen/cyttsp5.c
854
return error;
drivers/input/touchscreen/cyttsp5.c
856
error = regulator_bulk_enable(ARRAY_SIZE(ts->supplies), ts->supplies);
drivers/input/touchscreen/cyttsp5.c
857
if (error) {
drivers/input/touchscreen/cyttsp5.c
858
dev_err(ts->dev, "Failed to enable regulators, error %d\n", error);
drivers/input/touchscreen/cyttsp5.c
859
return error;
drivers/input/touchscreen/cyttsp5.c
876
error = PTR_ERR(ts->reset_gpio);
drivers/input/touchscreen/cyttsp5.c
877
dev_err(dev, "Failed to request reset gpio, error %d\n", error);
drivers/input/touchscreen/cyttsp5.c
878
return error;
drivers/input/touchscreen/cyttsp5.c
888
error = devm_request_threaded_irq(dev, irq, NULL, cyttsp5_handle_irq,
drivers/input/touchscreen/cyttsp5.c
890
if (error) {
drivers/input/touchscreen/cyttsp5.c
892
return error;
drivers/input/touchscreen/cyttsp5.c
895
error = cyttsp5_startup(ts);
drivers/input/touchscreen/cyttsp5.c
896
if (error) {
drivers/input/touchscreen/cyttsp5.c
897
dev_err(ts->dev, "Fail initial startup r=%d\n", error);
drivers/input/touchscreen/cyttsp5.c
898
return error;
drivers/input/touchscreen/cyttsp5.c
901
error = cyttsp5_parse_dt_key_code(dev);
drivers/input/touchscreen/cyttsp5.c
902
if (error < 0) {
drivers/input/touchscreen/cyttsp5.c
903
dev_err(ts->dev, "Error while parsing dts %d\n", error);
drivers/input/touchscreen/cyttsp5.c
904
return error;
drivers/input/touchscreen/cyttsp_core.c
103
error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command,
drivers/input/touchscreen/cyttsp_core.c
105
if (!error)
drivers/input/touchscreen/cyttsp_core.c
139
int error;
drivers/input/touchscreen/cyttsp_core.c
147
error = ttsp_write_block_data(ts, CY_REG_BASE,
drivers/input/touchscreen/cyttsp_core.c
149
if (error)
drivers/input/touchscreen/cyttsp_core.c
150
return error;
drivers/input/touchscreen/cyttsp_core.c
155
error = cyttsp_load_bl_regs(ts);
drivers/input/touchscreen/cyttsp_core.c
156
if (error)
drivers/input/touchscreen/cyttsp_core.c
157
return error;
drivers/input/touchscreen/cyttsp_core.c
167
int error;
drivers/input/touchscreen/cyttsp_core.c
169
error = ttsp_send_command(ts, CY_OPERATE_MODE);
drivers/input/touchscreen/cyttsp_core.c
170
if (error)
drivers/input/touchscreen/cyttsp_core.c
171
return error;
drivers/input/touchscreen/cyttsp_core.c
174
error = ttsp_read_block_data(ts, CY_REG_BASE,
drivers/input/touchscreen/cyttsp_core.c
176
if (error)
drivers/input/touchscreen/cyttsp_core.c
177
return error;
drivers/input/touchscreen/cyttsp_core.c
179
error = cyttsp_handshake(ts);
drivers/input/touchscreen/cyttsp_core.c
180
if (error)
drivers/input/touchscreen/cyttsp_core.c
181
return error;
drivers/input/touchscreen/cyttsp_core.c
188
int error;
drivers/input/touchscreen/cyttsp_core.c
193
error = ttsp_send_command(ts, CY_SYSINFO_MODE);
drivers/input/touchscreen/cyttsp_core.c
194
if (error)
drivers/input/touchscreen/cyttsp_core.c
195
return error;
drivers/input/touchscreen/cyttsp_core.c
199
error = ttsp_read_block_data(ts, CY_REG_BASE, sizeof(ts->sysinfo_data),
drivers/input/touchscreen/cyttsp_core.c
201
if (error)
drivers/input/touchscreen/cyttsp_core.c
202
return error;
drivers/input/touchscreen/cyttsp_core.c
204
error = cyttsp_handshake(ts);
drivers/input/touchscreen/cyttsp_core.c
205
if (error)
drivers/input/touchscreen/cyttsp_core.c
206
return error;
drivers/input/touchscreen/cyttsp_core.c
369
int error;
drivers/input/touchscreen/cyttsp_core.c
377
error = ttsp_read_block_data(ts, CY_REG_BASE,
drivers/input/touchscreen/cyttsp_core.c
379
if (error)
drivers/input/touchscreen/cyttsp_core.c
383
error = cyttsp_handshake(ts);
drivers/input/touchscreen/cyttsp_core.c
384
if (error)
drivers/input/touchscreen/cyttsp_core.c
395
error = cyttsp_exit_bl_mode(ts);
drivers/input/touchscreen/cyttsp_core.c
396
if (error) {
drivers/input/touchscreen/cyttsp_core.c
399
error);
drivers/input/touchscreen/cyttsp_core.c
412
int error;
drivers/input/touchscreen/cyttsp_core.c
414
error = cyttsp_soft_reset(ts);
drivers/input/touchscreen/cyttsp_core.c
415
if (error)
drivers/input/touchscreen/cyttsp_core.c
416
return error;
drivers/input/touchscreen/cyttsp_core.c
418
error = cyttsp_load_bl_regs(ts);
drivers/input/touchscreen/cyttsp_core.c
419
if (error)
drivers/input/touchscreen/cyttsp_core.c
420
return error;
drivers/input/touchscreen/cyttsp_core.c
424
error = cyttsp_exit_bl_mode(ts);
drivers/input/touchscreen/cyttsp_core.c
425
if (error) {
drivers/input/touchscreen/cyttsp_core.c
427
return error;
drivers/input/touchscreen/cyttsp_core.c
436
error = cyttsp_set_sysinfo_mode(ts);
drivers/input/touchscreen/cyttsp_core.c
437
if (error)
drivers/input/touchscreen/cyttsp_core.c
438
return error;
drivers/input/touchscreen/cyttsp_core.c
440
error = cyttsp_set_sysinfo_regs(ts);
drivers/input/touchscreen/cyttsp_core.c
441
if (error)
drivers/input/touchscreen/cyttsp_core.c
442
return error;
drivers/input/touchscreen/cyttsp_core.c
444
error = cyttsp_set_operational_mode(ts);
drivers/input/touchscreen/cyttsp_core.c
445
if (error)
drivers/input/touchscreen/cyttsp_core.c
446
return error;
drivers/input/touchscreen/cyttsp_core.c
449
error = cyttsp_act_dist_setup(ts);
drivers/input/touchscreen/cyttsp_core.c
450
if (error)
drivers/input/touchscreen/cyttsp_core.c
451
return error;
drivers/input/touchscreen/cyttsp_core.c
460
int error;
drivers/input/touchscreen/cyttsp_core.c
468
error = ttsp_read_block_data(ts, CY_REG_BASE,
drivers/input/touchscreen/cyttsp_core.c
470
if (error)
drivers/input/touchscreen/cyttsp_core.c
471
return error;
drivers/input/touchscreen/cyttsp_core.c
483
int error;
drivers/input/touchscreen/cyttsp_core.c
485
error = ttsp_send_command(ts, CY_LOW_POWER_MODE);
drivers/input/touchscreen/cyttsp_core.c
486
if (error)
drivers/input/touchscreen/cyttsp_core.c
487
return error;
drivers/input/touchscreen/cyttsp_core.c
628
int error;
drivers/input/touchscreen/cyttsp_core.c
643
error = devm_regulator_bulk_get_enable(dev, ARRAY_SIZE(supplies),
drivers/input/touchscreen/cyttsp_core.c
645
if (error) {
drivers/input/touchscreen/cyttsp_core.c
646
dev_err(dev, "Failed to enable regulators: %d\n", error);
drivers/input/touchscreen/cyttsp_core.c
647
return ERR_PTR(error);
drivers/input/touchscreen/cyttsp_core.c
652
error = PTR_ERR(ts->reset_gpio);
drivers/input/touchscreen/cyttsp_core.c
653
dev_err(dev, "Failed to request reset gpio, error %d\n", error);
drivers/input/touchscreen/cyttsp_core.c
654
return ERR_PTR(error);
drivers/input/touchscreen/cyttsp_core.c
657
error = cyttsp_parse_properties(ts);
drivers/input/touchscreen/cyttsp_core.c
658
if (error)
drivers/input/touchscreen/cyttsp_core.c
659
return ERR_PTR(error);
drivers/input/touchscreen/cyttsp_core.c
679
error = input_mt_init_slots(input_dev, CY_MAX_ID, INPUT_MT_DIRECT);
drivers/input/touchscreen/cyttsp_core.c
680
if (error) {
drivers/input/touchscreen/cyttsp_core.c
682
return ERR_PTR(error);
drivers/input/touchscreen/cyttsp_core.c
685
error = devm_request_threaded_irq(dev, ts->irq, NULL, cyttsp_irq,
drivers/input/touchscreen/cyttsp_core.c
688
if (error) {
drivers/input/touchscreen/cyttsp_core.c
690
ts->irq, error);
drivers/input/touchscreen/cyttsp_core.c
691
return ERR_PTR(error);
drivers/input/touchscreen/cyttsp_core.c
696
error = cyttsp_power_on(ts);
drivers/input/touchscreen/cyttsp_core.c
697
if (error)
drivers/input/touchscreen/cyttsp_core.c
698
return ERR_PTR(error);
drivers/input/touchscreen/cyttsp_core.c
700
error = input_register_device(input_dev);
drivers/input/touchscreen/cyttsp_core.c
701
if (error) {
drivers/input/touchscreen/cyttsp_core.c
703
error);
drivers/input/touchscreen/cyttsp_core.c
704
return ERR_PTR(error);
drivers/input/touchscreen/cyttsp_core.c
81
int error;
drivers/input/touchscreen/cyttsp_core.c
85
error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command,
drivers/input/touchscreen/cyttsp_core.c
87
if (!error)
drivers/input/touchscreen/cyttsp_core.c
99
int error;
drivers/input/touchscreen/cyttsp_spi.c
143
int error;
drivers/input/touchscreen/cyttsp_spi.c
148
error = spi_setup(spi);
drivers/input/touchscreen/cyttsp_spi.c
149
if (error < 0) {
drivers/input/touchscreen/cyttsp_spi.c
151
__func__, error);
drivers/input/touchscreen/cyttsp_spi.c
152
return error;
drivers/input/touchscreen/da9034-ts.c
301
int error;
drivers/input/touchscreen/da9034-ts.c
347
error = input_register_device(input_dev);
drivers/input/touchscreen/da9034-ts.c
348
if (error)
drivers/input/touchscreen/da9034-ts.c
349
return error;
drivers/input/touchscreen/da9052_tsi.c
140
int error;
drivers/input/touchscreen/da9052_tsi.c
142
error = da9052_reg_update(da9052, DA9052_GPIO_2_3_REG, 0x30, 0);
drivers/input/touchscreen/da9052_tsi.c
143
if (error < 0)
drivers/input/touchscreen/da9052_tsi.c
144
return error;
drivers/input/touchscreen/da9052_tsi.c
146
error = da9052_reg_update(da9052, DA9052_GPIO_4_5_REG, 0x33, 0);
drivers/input/touchscreen/da9052_tsi.c
147
if (error < 0)
drivers/input/touchscreen/da9052_tsi.c
148
return error;
drivers/input/touchscreen/da9052_tsi.c
150
error = da9052_reg_update(da9052, DA9052_GPIO_6_7_REG, 0x33, 0);
drivers/input/touchscreen/da9052_tsi.c
151
if (error < 0)
drivers/input/touchscreen/da9052_tsi.c
152
return error;
drivers/input/touchscreen/da9052_tsi.c
159
int error;
drivers/input/touchscreen/da9052_tsi.c
161
error = da9052_ts_configure_gpio(tsi->da9052);
drivers/input/touchscreen/da9052_tsi.c
162
if (error)
drivers/input/touchscreen/da9052_tsi.c
163
return error;
drivers/input/touchscreen/da9052_tsi.c
166
error = da9052_reg_update(tsi->da9052, DA9052_ADC_CONT_REG,
drivers/input/touchscreen/da9052_tsi.c
168
if (error < 0)
drivers/input/touchscreen/da9052_tsi.c
169
return error;
drivers/input/touchscreen/da9052_tsi.c
172
error = da9052_reg_update(tsi->da9052, DA9052_TSI_CONT_A_REG, 0xFC, 0xC0);
drivers/input/touchscreen/da9052_tsi.c
173
if (error < 0)
drivers/input/touchscreen/da9052_tsi.c
174
return error;
drivers/input/touchscreen/da9052_tsi.c
177
error = da9052_reg_write(tsi->da9052, DA9052_LDO9_REG, 0x59);
drivers/input/touchscreen/da9052_tsi.c
178
if (error < 0)
drivers/input/touchscreen/da9052_tsi.c
179
return error;
drivers/input/touchscreen/da9052_tsi.c
229
int error;
drivers/input/touchscreen/da9052_tsi.c
238
error = -ENOMEM;
drivers/input/touchscreen/da9052_tsi.c
271
error = da9052_request_irq(tsi->da9052, DA9052_IRQ_PENDOWN,
drivers/input/touchscreen/da9052_tsi.c
273
if (error) {
drivers/input/touchscreen/da9052_tsi.c
275
"Failed to register PENDWN IRQ: %d\n", error);
drivers/input/touchscreen/da9052_tsi.c
279
error = da9052_request_irq(tsi->da9052, DA9052_IRQ_TSIREADY,
drivers/input/touchscreen/da9052_tsi.c
281
if (error) {
drivers/input/touchscreen/da9052_tsi.c
283
"Failed to register TSIRDY IRQ :%d\n", error);
drivers/input/touchscreen/da9052_tsi.c
291
error = da9052_configure_tsi(tsi);
drivers/input/touchscreen/da9052_tsi.c
292
if (error)
drivers/input/touchscreen/da9052_tsi.c
295
error = input_register_device(tsi->dev);
drivers/input/touchscreen/da9052_tsi.c
296
if (error)
drivers/input/touchscreen/da9052_tsi.c
311
return error;
drivers/input/touchscreen/edt-ft5x06.c
1002
error = device_property_read_u32(dev, "offset-x", &val);
drivers/input/touchscreen/edt-ft5x06.c
1003
if (!error) {
drivers/input/touchscreen/edt-ft5x06.c
1009
error = device_property_read_u32(dev, "offset-y", &val);
drivers/input/touchscreen/edt-ft5x06.c
1010
if (!error) {
drivers/input/touchscreen/edt-ft5x06.c
1144
int error;
drivers/input/touchscreen/edt-ft5x06.c
1166
error = devm_add_action_or_reset(&client->dev, edt_ft5x06_exit_regmap,
drivers/input/touchscreen/edt-ft5x06.c
1168
if (error)
drivers/input/touchscreen/edt-ft5x06.c
1169
return error;
drivers/input/touchscreen/edt-ft5x06.c
1188
error = PTR_ERR(tsdata->iovcc);
drivers/input/touchscreen/edt-ft5x06.c
1189
if (error != -EPROBE_DEFER)
drivers/input/touchscreen/edt-ft5x06.c
1191
"failed to request iovcc regulator: %d\n", error);
drivers/input/touchscreen/edt-ft5x06.c
1192
return error;
drivers/input/touchscreen/edt-ft5x06.c
1195
error = regulator_enable(tsdata->iovcc);
drivers/input/touchscreen/edt-ft5x06.c
1196
if (error < 0) {
drivers/input/touchscreen/edt-ft5x06.c
1197
dev_err(&client->dev, "failed to enable iovcc: %d\n", error);
drivers/input/touchscreen/edt-ft5x06.c
1198
return error;
drivers/input/touchscreen/edt-ft5x06.c
1204
error = regulator_enable(tsdata->vcc);
drivers/input/touchscreen/edt-ft5x06.c
1205
if (error < 0) {
drivers/input/touchscreen/edt-ft5x06.c
1206
dev_err(&client->dev, "failed to enable vcc: %d\n", error);
drivers/input/touchscreen/edt-ft5x06.c
1208
return error;
drivers/input/touchscreen/edt-ft5x06.c
1211
error = devm_add_action_or_reset(&client->dev,
drivers/input/touchscreen/edt-ft5x06.c
1214
if (error)
drivers/input/touchscreen/edt-ft5x06.c
1215
return error;
drivers/input/touchscreen/edt-ft5x06.c
1220
error = PTR_ERR(tsdata->reset_gpio);
drivers/input/touchscreen/edt-ft5x06.c
1222
"Failed to request GPIO reset pin, error %d\n", error);
drivers/input/touchscreen/edt-ft5x06.c
1223
return error;
drivers/input/touchscreen/edt-ft5x06.c
1229
error = PTR_ERR(tsdata->wake_gpio);
drivers/input/touchscreen/edt-ft5x06.c
1231
"Failed to request GPIO wake pin, error %d\n", error);
drivers/input/touchscreen/edt-ft5x06.c
1232
return error;
drivers/input/touchscreen/edt-ft5x06.c
1272
error = edt_ft5x06_ts_identify(client, tsdata);
drivers/input/touchscreen/edt-ft5x06.c
1273
if (error) {
drivers/input/touchscreen/edt-ft5x06.c
1275
return error;
drivers/input/touchscreen/edt-ft5x06.c
1324
error = input_mt_init_slots(input, tsdata->max_support_points,
drivers/input/touchscreen/edt-ft5x06.c
1326
if (error) {
drivers/input/touchscreen/edt-ft5x06.c
1328
return error;
drivers/input/touchscreen/edt-ft5x06.c
1336
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/edt-ft5x06.c
1339
if (error) {
drivers/input/touchscreen/edt-ft5x06.c
1341
return error;
drivers/input/touchscreen/edt-ft5x06.c
1344
error = input_register_device(input);
drivers/input/touchscreen/edt-ft5x06.c
1345
if (error)
drivers/input/touchscreen/edt-ft5x06.c
1346
return error;
drivers/input/touchscreen/edt-ft5x06.c
304
int error;
drivers/input/touchscreen/edt-ft5x06.c
307
error = regmap_bulk_read(tsdata->regmap, tsdata->tdata_cmd, rdbuf,
drivers/input/touchscreen/edt-ft5x06.c
309
if (error) {
drivers/input/touchscreen/edt-ft5x06.c
311
error);
drivers/input/touchscreen/edt-ft5x06.c
384
int error = 0;
drivers/input/touchscreen/edt-ft5x06.c
390
error = -EIO;
drivers/input/touchscreen/edt-ft5x06.c
410
error = -ENODEV;
drivers/input/touchscreen/edt-ft5x06.c
415
error = regmap_read(tsdata->regmap, addr, &val);
drivers/input/touchscreen/edt-ft5x06.c
416
if (error) {
drivers/input/touchscreen/edt-ft5x06.c
419
dattr->attr.name, error);
drivers/input/touchscreen/edt-ft5x06.c
436
return error ?: count;
drivers/input/touchscreen/edt-ft5x06.c
449
int error;
drivers/input/touchscreen/edt-ft5x06.c
455
error = -EIO;
drivers/input/touchscreen/edt-ft5x06.c
459
error = kstrtouint(buf, 0, &val);
drivers/input/touchscreen/edt-ft5x06.c
460
if (error)
drivers/input/touchscreen/edt-ft5x06.c
464
error = -ERANGE;
drivers/input/touchscreen/edt-ft5x06.c
484
error = -ENODEV;
drivers/input/touchscreen/edt-ft5x06.c
489
error = regmap_write(tsdata->regmap, addr, val);
drivers/input/touchscreen/edt-ft5x06.c
490
if (error) {
drivers/input/touchscreen/edt-ft5x06.c
493
dattr->attr.name, error);
drivers/input/touchscreen/edt-ft5x06.c
501
return error ?: count;
drivers/input/touchscreen/edt-ft5x06.c
608
int error;
drivers/input/touchscreen/edt-ft5x06.c
623
error = -ENOMEM;
drivers/input/touchscreen/edt-ft5x06.c
629
error = regmap_write(tsdata->regmap, WORK_REGISTER_OPMODE, 0x03);
drivers/input/touchscreen/edt-ft5x06.c
630
if (error) {
drivers/input/touchscreen/edt-ft5x06.c
632
"failed to switch to factory mode, error %d\n", error);
drivers/input/touchscreen/edt-ft5x06.c
640
error = regmap_read(tsdata->regmap, FACTORY_REGISTER_OPMODE,
drivers/input/touchscreen/edt-ft5x06.c
642
if (!error && val == 0x03)
drivers/input/touchscreen/edt-ft5x06.c
649
error = -EIO;
drivers/input/touchscreen/edt-ft5x06.c
661
return error;
drivers/input/touchscreen/edt-ft5x06.c
669
int error;
drivers/input/touchscreen/edt-ft5x06.c
672
error = regmap_write(tsdata->regmap, FACTORY_REGISTER_OPMODE, 0x1);
drivers/input/touchscreen/edt-ft5x06.c
673
if (error) {
drivers/input/touchscreen/edt-ft5x06.c
675
"failed to switch to work mode, error: %d\n", error);
drivers/input/touchscreen/edt-ft5x06.c
676
return error;
drivers/input/touchscreen/edt-ft5x06.c
684
error = regmap_read(tsdata->regmap, WORK_REGISTER_OPMODE, &val);
drivers/input/touchscreen/edt-ft5x06.c
685
if (!error && val == 0x01)
drivers/input/touchscreen/edt-ft5x06.c
745
int i, error;
drivers/input/touchscreen/edt-ft5x06.c
756
error = -EIO;
drivers/input/touchscreen/edt-ft5x06.c
760
error = regmap_write(tsdata->regmap, 0x08, 0x01);
drivers/input/touchscreen/edt-ft5x06.c
761
if (error) {
drivers/input/touchscreen/edt-ft5x06.c
763
"failed to write 0x08 register, error %d\n", error);
drivers/input/touchscreen/edt-ft5x06.c
769
error = regmap_read(tsdata->regmap, 0x08, &val);
drivers/input/touchscreen/edt-ft5x06.c
770
if (error) {
drivers/input/touchscreen/edt-ft5x06.c
773
error);
drivers/input/touchscreen/edt-ft5x06.c
784
error = -ETIMEDOUT;
drivers/input/touchscreen/edt-ft5x06.c
793
error = regmap_bulk_read(tsdata->regmap, 0xf5, rdbuf, colbytes);
drivers/input/touchscreen/edt-ft5x06.c
794
if (error)
drivers/input/touchscreen/edt-ft5x06.c
802
error = -EFAULT;
drivers/input/touchscreen/edt-ft5x06.c
809
return error ?: read;
drivers/input/touchscreen/edt-ft5x06.c
857
int error;
drivers/input/touchscreen/edt-ft5x06.c
866
error = regmap_bulk_read(tsdata->regmap, 0xBB, rdbuf, EDT_NAME_LEN - 1);
drivers/input/touchscreen/edt-ft5x06.c
867
if (error)
drivers/input/touchscreen/edt-ft5x06.c
868
return error;
drivers/input/touchscreen/edt-ft5x06.c
922
error = regmap_bulk_read(tsdata->regmap, 0xA6, rdbuf, 2);
drivers/input/touchscreen/edt-ft5x06.c
923
if (error)
drivers/input/touchscreen/edt-ft5x06.c
924
return error;
drivers/input/touchscreen/edt-ft5x06.c
928
error = regmap_bulk_read(tsdata->regmap, 0xA8, rdbuf, 1);
drivers/input/touchscreen/edt-ft5x06.c
929
if (error)
drivers/input/touchscreen/edt-ft5x06.c
930
return error;
drivers/input/touchscreen/edt-ft5x06.c
957
error = regmap_bulk_read(tsdata->regmap, 0x53, rdbuf, 1);
drivers/input/touchscreen/edt-ft5x06.c
958
if (error)
drivers/input/touchscreen/edt-ft5x06.c
959
return error;
drivers/input/touchscreen/edt-ft5x06.c
981
int error;
drivers/input/touchscreen/edt-ft5x06.c
983
error = device_property_read_u32(dev, "threshold", &val);
drivers/input/touchscreen/edt-ft5x06.c
984
if (!error) {
drivers/input/touchscreen/edt-ft5x06.c
989
error = device_property_read_u32(dev, "gain", &val);
drivers/input/touchscreen/edt-ft5x06.c
990
if (!error) {
drivers/input/touchscreen/edt-ft5x06.c
995
error = device_property_read_u32(dev, "offset", &val);
drivers/input/touchscreen/edt-ft5x06.c
996
if (!error) {
drivers/input/touchscreen/eeti_ts.c
106
error = eeti_ts_read(eeti);
drivers/input/touchscreen/eeti_ts.c
107
if (error)
drivers/input/touchscreen/eeti_ts.c
166
int error;
drivers/input/touchscreen/eeti_ts.c
212
error = devm_request_threaded_irq(dev, client->irq,
drivers/input/touchscreen/eeti_ts.c
216
if (error) {
drivers/input/touchscreen/eeti_ts.c
218
error);
drivers/input/touchscreen/eeti_ts.c
219
return error;
drivers/input/touchscreen/eeti_ts.c
228
error = input_register_device(input);
drivers/input/touchscreen/eeti_ts.c
229
if (error)
drivers/input/touchscreen/eeti_ts.c
230
return error;
drivers/input/touchscreen/eeti_ts.c
68
int len, error;
drivers/input/touchscreen/eeti_ts.c
73
error = len < 0 ? len : -EIO;
drivers/input/touchscreen/eeti_ts.c
76
error);
drivers/input/touchscreen/eeti_ts.c
77
return error;
drivers/input/touchscreen/eeti_ts.c
90
int error;
drivers/input/touchscreen/egalax_ts.c
163
int error;
drivers/input/touchscreen/egalax_ts.c
181
error = egalax_wake_up_device(client);
drivers/input/touchscreen/egalax_ts.c
182
if (error)
drivers/input/touchscreen/egalax_ts.c
183
return error;
drivers/input/touchscreen/egalax_ts.c
185
error = egalax_firmware_version(client);
drivers/input/touchscreen/egalax_ts.c
186
if (error < 0) {
drivers/input/touchscreen/egalax_ts.c
188
return error;
drivers/input/touchscreen/egalax_ts.c
206
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/egalax_ts.c
209
if (error < 0) {
drivers/input/touchscreen/egalax_ts.c
211
return error;
drivers/input/touchscreen/egalax_ts.c
214
error = input_register_device(ts->input_dev);
drivers/input/touchscreen/egalax_ts.c
215
if (error)
drivers/input/touchscreen/egalax_ts.c
216
return error;
drivers/input/touchscreen/egalax_ts_serial.c
100
int error;
drivers/input/touchscreen/egalax_ts_serial.c
105
error = -ENOMEM;
drivers/input/touchscreen/egalax_ts_serial.c
129
error = serio_open(serio, drv);
drivers/input/touchscreen/egalax_ts_serial.c
130
if (error)
drivers/input/touchscreen/egalax_ts_serial.c
133
error = input_register_device(input_dev);
drivers/input/touchscreen/egalax_ts_serial.c
134
if (error)
drivers/input/touchscreen/egalax_ts_serial.c
146
return error;
drivers/input/touchscreen/ektf2127.c
220
int error;
drivers/input/touchscreen/ektf2127.c
229
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/ektf2127.c
230
dev_err(dev, "Failed to request %s: %d\n", what, error);
drivers/input/touchscreen/ektf2127.c
231
return error;
drivers/input/touchscreen/ektf2127.c
239
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/ektf2127.c
240
dev_err(dev, "Failed to receive %s data: %d\n", what, error);
drivers/input/touchscreen/ektf2127.c
241
return error;
drivers/input/touchscreen/ektf2127.c
261
int error;
drivers/input/touchscreen/ektf2127.c
305
error = input_mt_init_slots(input, EKTF2127_MAX_TOUCHES,
drivers/input/touchscreen/ektf2127.c
309
if (error)
drivers/input/touchscreen/ektf2127.c
310
return error;
drivers/input/touchscreen/ektf2127.c
322
error = devm_request_threaded_irq(dev, client->irq,
drivers/input/touchscreen/ektf2127.c
325
if (error) {
drivers/input/touchscreen/ektf2127.c
326
dev_err(dev, "Error requesting irq: %d\n", error);
drivers/input/touchscreen/ektf2127.c
327
return error;
drivers/input/touchscreen/ektf2127.c
333
error = input_register_device(input);
drivers/input/touchscreen/ektf2127.c
334
if (error)
drivers/input/touchscreen/ektf2127.c
335
return error;
drivers/input/touchscreen/elants_i2c.c
1187
int error;
drivers/input/touchscreen/elants_i2c.c
1189
error = mutex_lock_interruptible(&ts->sysfs_mutex);
drivers/input/touchscreen/elants_i2c.c
1190
if (error)
drivers/input/touchscreen/elants_i2c.c
1191
return error;
drivers/input/touchscreen/elants_i2c.c
1193
error = elants_i2c_calibrate(ts);
drivers/input/touchscreen/elants_i2c.c
1196
return error ?: count;
drivers/input/touchscreen/elants_i2c.c
1205
int error;
drivers/input/touchscreen/elants_i2c.c
1207
error = mutex_lock_interruptible(&ts->sysfs_mutex);
drivers/input/touchscreen/elants_i2c.c
1208
if (error)
drivers/input/touchscreen/elants_i2c.c
1209
return error;
drivers/input/touchscreen/elants_i2c.c
1211
error = elants_i2c_fw_update(ts);
drivers/input/touchscreen/elants_i2c.c
1212
dev_dbg(dev, "firmware update result: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
1215
return error ?: count;
drivers/input/touchscreen/elants_i2c.c
1236
int error;
drivers/input/touchscreen/elants_i2c.c
1238
error = elants_i2c_execute_command(client, cmd, sizeof(cmd),
drivers/input/touchscreen/elants_i2c.c
1241
if (error)
drivers/input/touchscreen/elants_i2c.c
1242
return sprintf(buf, "%d\n", error);
drivers/input/touchscreen/elants_i2c.c
1320
int error;
drivers/input/touchscreen/elants_i2c.c
1329
error = regulator_enable(ts->vcc33);
drivers/input/touchscreen/elants_i2c.c
1330
if (error) {
drivers/input/touchscreen/elants_i2c.c
1333
error);
drivers/input/touchscreen/elants_i2c.c
1334
return error;
drivers/input/touchscreen/elants_i2c.c
1337
error = regulator_enable(ts->vccio);
drivers/input/touchscreen/elants_i2c.c
1338
if (error) {
drivers/input/touchscreen/elants_i2c.c
1341
error);
drivers/input/touchscreen/elants_i2c.c
1343
return error;
drivers/input/touchscreen/elants_i2c.c
1413
int error;
drivers/input/touchscreen/elants_i2c.c
1449
error = PTR_ERR(ts->reset_gpio);
drivers/input/touchscreen/elants_i2c.c
1451
if (error == -EPROBE_DEFER)
drivers/input/touchscreen/elants_i2c.c
1452
return error;
drivers/input/touchscreen/elants_i2c.c
1454
if (error != -ENOENT && error != -ENOSYS) {
drivers/input/touchscreen/elants_i2c.c
1457
error);
drivers/input/touchscreen/elants_i2c.c
1458
return error;
drivers/input/touchscreen/elants_i2c.c
1464
error = elants_i2c_power_on(ts);
drivers/input/touchscreen/elants_i2c.c
1465
if (error)
drivers/input/touchscreen/elants_i2c.c
1466
return error;
drivers/input/touchscreen/elants_i2c.c
1468
error = devm_add_action_or_reset(&client->dev,
drivers/input/touchscreen/elants_i2c.c
1470
if (error) {
drivers/input/touchscreen/elants_i2c.c
1472
"failed to install power off action: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
1473
return error;
drivers/input/touchscreen/elants_i2c.c
1483
error = elants_i2c_initialize(ts);
drivers/input/touchscreen/elants_i2c.c
1484
if (error) {
drivers/input/touchscreen/elants_i2c.c
1485
dev_err(&client->dev, "failed to initialize: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
1486
return error;
drivers/input/touchscreen/elants_i2c.c
1519
error = input_mt_init_slots(ts->input, MAX_CONTACT_NUM,
drivers/input/touchscreen/elants_i2c.c
1521
if (error) {
drivers/input/touchscreen/elants_i2c.c
1523
"failed to initialize MT slots: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
1524
return error;
drivers/input/touchscreen/elants_i2c.c
1527
error = input_register_device(ts->input);
drivers/input/touchscreen/elants_i2c.c
1528
if (error) {
drivers/input/touchscreen/elants_i2c.c
1530
"unable to register input device: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
1531
return error;
drivers/input/touchscreen/elants_i2c.c
1543
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/elants_i2c.c
1547
if (error) {
drivers/input/touchscreen/elants_i2c.c
1549
return error;
drivers/input/touchscreen/elants_i2c.c
1563
int error;
drivers/input/touchscreen/elants_i2c.c
1579
error = elants_i2c_send(client, set_sleep_cmd,
drivers/input/touchscreen/elants_i2c.c
1581
if (!error)
drivers/input/touchscreen/elants_i2c.c
1585
"suspend command failed: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
1602
int error;
drivers/input/touchscreen/elants_i2c.c
1608
error = elants_i2c_send(client, set_active_cmd,
drivers/input/touchscreen/elants_i2c.c
1610
if (!error)
drivers/input/touchscreen/elants_i2c.c
1614
"resume command failed: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
301
int ret, error;
drivers/input/touchscreen/elants_i2c.c
322
error = ret < 0 ? ret : -ETIMEDOUT;
drivers/input/touchscreen/elants_i2c.c
325
error);
drivers/input/touchscreen/elants_i2c.c
326
return error;
drivers/input/touchscreen/elants_i2c.c
342
int error;
drivers/input/touchscreen/elants_i2c.c
344
error = elants_i2c_send(client, soft_rst_cmd,
drivers/input/touchscreen/elants_i2c.c
346
if (error) {
drivers/input/touchscreen/elants_i2c.c
347
dev_err(&client->dev, "software reset failed: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
348
return error;
drivers/input/touchscreen/elants_i2c.c
371
int error;
drivers/input/touchscreen/elants_i2c.c
374
error = elants_i2c_execute_command(client, cmd, sizeof(cmd),
drivers/input/touchscreen/elants_i2c.c
377
if (error)
drivers/input/touchscreen/elants_i2c.c
378
return error;
drivers/input/touchscreen/elants_i2c.c
396
int error;
drivers/input/touchscreen/elants_i2c.c
399
error = elants_i2c_execute_command(client, cmd, sizeof(cmd),
drivers/input/touchscreen/elants_i2c.c
402
if (error)
drivers/input/touchscreen/elants_i2c.c
403
return error;
drivers/input/touchscreen/elants_i2c.c
421
int error;
drivers/input/touchscreen/elants_i2c.c
426
error = elants_i2c_execute_command(client, cmd, sizeof(cmd),
drivers/input/touchscreen/elants_i2c.c
429
if (error) {
drivers/input/touchscreen/elants_i2c.c
431
return error;
drivers/input/touchscreen/elants_i2c.c
447
int error;
drivers/input/touchscreen/elants_i2c.c
449
error = elants_i2c_execute_command(client, cmd, sizeof(cmd),
drivers/input/touchscreen/elants_i2c.c
452
if (error)
drivers/input/touchscreen/elants_i2c.c
453
return error;
drivers/input/touchscreen/elants_i2c.c
465
int error;
drivers/input/touchscreen/elants_i2c.c
476
error = elants_i2c_execute_command(client, get_xres_cmd,
drivers/input/touchscreen/elants_i2c.c
480
if (error)
drivers/input/touchscreen/elants_i2c.c
481
return error;
drivers/input/touchscreen/elants_i2c.c
485
error = elants_i2c_execute_command(client, get_yres_cmd,
drivers/input/touchscreen/elants_i2c.c
489
if (error)
drivers/input/touchscreen/elants_i2c.c
490
return error;
drivers/input/touchscreen/elants_i2c.c
509
int error;
drivers/input/touchscreen/elants_i2c.c
526
error = elants_i2c_execute_command(client,
drivers/input/touchscreen/elants_i2c.c
531
if (error)
drivers/input/touchscreen/elants_i2c.c
532
return error;
drivers/input/touchscreen/elants_i2c.c
541
error = elants_i2c_execute_command(client,
drivers/input/touchscreen/elants_i2c.c
544
if (error)
drivers/input/touchscreen/elants_i2c.c
545
return error;
drivers/input/touchscreen/elants_i2c.c
549
error = elants_i2c_execute_command(client,
drivers/input/touchscreen/elants_i2c.c
554
if (error)
drivers/input/touchscreen/elants_i2c.c
555
return error;
drivers/input/touchscreen/elants_i2c.c
559
error = elants_i2c_execute_command(client,
drivers/input/touchscreen/elants_i2c.c
564
if (error)
drivers/input/touchscreen/elants_i2c.c
565
return error;
drivers/input/touchscreen/elants_i2c.c
591
int error;
drivers/input/touchscreen/elants_i2c.c
593
error = elants_i2c_send(client, boot_cmd, sizeof(boot_cmd));
drivers/input/touchscreen/elants_i2c.c
594
if (error) {
drivers/input/touchscreen/elants_i2c.c
595
dev_err(&client->dev, "boot failed: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
596
return error;
drivers/input/touchscreen/elants_i2c.c
606
int error, error2, retry_cnt;
drivers/input/touchscreen/elants_i2c.c
612
error = elants_i2c_sw_reset(client);
drivers/input/touchscreen/elants_i2c.c
613
if (error) {
drivers/input/touchscreen/elants_i2c.c
619
error = elants_i2c_fastboot(client);
drivers/input/touchscreen/elants_i2c.c
620
if (error) {
drivers/input/touchscreen/elants_i2c.c
629
error = elants_i2c_read(client, buf, sizeof(buf));
drivers/input/touchscreen/elants_i2c.c
630
if (error) {
drivers/input/touchscreen/elants_i2c.c
632
"failed to read 'hello' packet: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
641
error = -EIO;
drivers/input/touchscreen/elants_i2c.c
644
error = -EINVAL;
drivers/input/touchscreen/elants_i2c.c
655
if (!error)
drivers/input/touchscreen/elants_i2c.c
656
error = error2;
drivers/input/touchscreen/elants_i2c.c
658
if (!error)
drivers/input/touchscreen/elants_i2c.c
659
error = elants_i2c_query_fw_version(ts);
drivers/input/touchscreen/elants_i2c.c
660
if (!error)
drivers/input/touchscreen/elants_i2c.c
661
error = elants_i2c_query_test_version(ts);
drivers/input/touchscreen/elants_i2c.c
665
if (!error)
drivers/input/touchscreen/elants_i2c.c
666
error = elants_i2c_query_ts_info_ekth(ts);
drivers/input/touchscreen/elants_i2c.c
669
if (!error)
drivers/input/touchscreen/elants_i2c.c
670
error = elants_i2c_query_ts_info_ektf(ts);
drivers/input/touchscreen/elants_i2c.c
676
if (error)
drivers/input/touchscreen/elants_i2c.c
692
int error;
drivers/input/touchscreen/elants_i2c.c
695
error = elants_i2c_send(client, page, ELAN_FW_PAGESIZE);
drivers/input/touchscreen/elants_i2c.c
696
if (error) {
drivers/input/touchscreen/elants_i2c.c
698
"IAP Write Page failed: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
702
error = elants_i2c_read(client, buf, 2);
drivers/input/touchscreen/elants_i2c.c
703
if (error) {
drivers/input/touchscreen/elants_i2c.c
705
"IAP Ack read failed: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
706
return error;
drivers/input/touchscreen/elants_i2c.c
712
error = -EIO;
drivers/input/touchscreen/elants_i2c.c
718
return error;
drivers/input/touchscreen/elants_i2c.c
725
int error;
drivers/input/touchscreen/elants_i2c.c
732
error = elants_i2c_execute_command(client, cmd, sizeof(cmd),
drivers/input/touchscreen/elants_i2c.c
735
if (error)
drivers/input/touchscreen/elants_i2c.c
736
return error;
drivers/input/touchscreen/elants_i2c.c
795
int error;
drivers/input/touchscreen/elants_i2c.c
803
error = elants_i2c_validate_remark_id(ts, fw);
drivers/input/touchscreen/elants_i2c.c
804
if (error)
drivers/input/touchscreen/elants_i2c.c
805
return error;
drivers/input/touchscreen/elants_i2c.c
808
error = elants_i2c_send(client, enter_iap2, sizeof(enter_iap2));
drivers/input/touchscreen/elants_i2c.c
809
if (error) {
drivers/input/touchscreen/elants_i2c.c
811
error);
drivers/input/touchscreen/elants_i2c.c
812
return error;
drivers/input/touchscreen/elants_i2c.c
819
error = elants_i2c_send(client, close_idle, sizeof(close_idle));
drivers/input/touchscreen/elants_i2c.c
820
if (error)
drivers/input/touchscreen/elants_i2c.c
821
dev_err(&client->dev, "Failed close idle: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
828
error = elants_i2c_validate_remark_id(ts, fw);
drivers/input/touchscreen/elants_i2c.c
829
if (error)
drivers/input/touchscreen/elants_i2c.c
830
return error;
drivers/input/touchscreen/elants_i2c.c
833
error = elants_i2c_send(client, enter_iap, sizeof(enter_iap));
drivers/input/touchscreen/elants_i2c.c
834
if (error) {
drivers/input/touchscreen/elants_i2c.c
836
error);
drivers/input/touchscreen/elants_i2c.c
837
return error;
drivers/input/touchscreen/elants_i2c.c
844
error = elants_i2c_read(client, buf, 4);
drivers/input/touchscreen/elants_i2c.c
845
if (error) {
drivers/input/touchscreen/elants_i2c.c
848
error);
drivers/input/touchscreen/elants_i2c.c
849
return error;
drivers/input/touchscreen/elants_i2c.c
862
error = elants_i2c_send(client, &send_id, 1);
drivers/input/touchscreen/elants_i2c.c
863
if (error) {
drivers/input/touchscreen/elants_i2c.c
865
error);
drivers/input/touchscreen/elants_i2c.c
866
return error;
drivers/input/touchscreen/elants_i2c.c
870
error = elants_i2c_send(client, fw->data, ELAN_FW_PAGESIZE);
drivers/input/touchscreen/elants_i2c.c
871
if (error) {
drivers/input/touchscreen/elants_i2c.c
873
error);
drivers/input/touchscreen/elants_i2c.c
874
return error;
drivers/input/touchscreen/elants_i2c.c
877
error = elants_i2c_read(client, buf, 2);
drivers/input/touchscreen/elants_i2c.c
878
if (error) {
drivers/input/touchscreen/elants_i2c.c
881
error);
drivers/input/touchscreen/elants_i2c.c
882
return error;
drivers/input/touchscreen/elants_i2c.c
889
error = elants_i2c_fw_write_page(client,
drivers/input/touchscreen/elants_i2c.c
891
if (error) {
drivers/input/touchscreen/elants_i2c.c
894
page, error);
drivers/input/touchscreen/elants_i2c.c
895
return error;
drivers/input/touchscreen/elants_i2c.c
911
int error;
drivers/input/touchscreen/elants_i2c.c
918
error = request_firmware(&fw, fw_name, &client->dev);
drivers/input/touchscreen/elants_i2c.c
920
if (error) {
drivers/input/touchscreen/elants_i2c.c
922
error);
drivers/input/touchscreen/elants_i2c.c
923
return error;
drivers/input/touchscreen/elants_i2c.c
929
error = -EINVAL;
drivers/input/touchscreen/elants_i2c.c
935
error = elants_i2c_do_update_firmware(client, fw,
drivers/input/touchscreen/elants_i2c.c
937
if (error) {
drivers/input/touchscreen/elants_i2c.c
938
dev_err(&client->dev, "firmware update failed: %d\n", error);
drivers/input/touchscreen/elants_i2c.c
943
error = elants_i2c_initialize(ts);
drivers/input/touchscreen/elants_i2c.c
944
if (error) {
drivers/input/touchscreen/elants_i2c.c
947
error);
drivers/input/touchscreen/elants_i2c.c
959
if (!error)
drivers/input/touchscreen/elants_i2c.c
963
return error;
drivers/input/touchscreen/exc3000.c
345
int error, max_xy, retry;
drivers/input/touchscreen/exc3000.c
368
error = devm_regulator_get_enable(&client->dev, "vdd");
drivers/input/touchscreen/exc3000.c
369
if (error && error != -ENODEV)
drivers/input/touchscreen/exc3000.c
370
return dev_err_probe(&client->dev, error,
drivers/input/touchscreen/exc3000.c
395
error = input_mt_init_slots(input, EXC3000_NUM_SLOTS,
drivers/input/touchscreen/exc3000.c
397
if (error)
drivers/input/touchscreen/exc3000.c
398
return error;
drivers/input/touchscreen/exc3000.c
400
error = input_register_device(input);
drivers/input/touchscreen/exc3000.c
401
if (error)
drivers/input/touchscreen/exc3000.c
402
return error;
drivers/input/touchscreen/exc3000.c
404
error = devm_add_action_or_reset(&client->dev, exc3000_shutdown_timer,
drivers/input/touchscreen/exc3000.c
406
if (error)
drivers/input/touchscreen/exc3000.c
407
return error;
drivers/input/touchscreen/exc3000.c
409
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/exc3000.c
412
if (error)
drivers/input/touchscreen/exc3000.c
413
return error;
drivers/input/touchscreen/exc3000.c
426
error = exc3000_vendor_data_request(data, (u8[]){'E'}, 1,
drivers/input/touchscreen/exc3000.c
428
if (error > 0) {
drivers/input/touchscreen/exc3000.c
430
error = 0;
drivers/input/touchscreen/exc3000.c
434
retry + 1, error);
drivers/input/touchscreen/exc3000.c
437
if (error)
drivers/input/touchscreen/exc3000.c
438
return error;
drivers/input/touchscreen/fsl-imx25-tcq.c
375
int error;
drivers/input/touchscreen/fsl-imx25-tcq.c
398
error = imx25_setup_queue_4wire(priv, settling_cnt, &itemct);
drivers/input/touchscreen/fsl-imx25-tcq.c
399
if (error)
drivers/input/touchscreen/fsl-imx25-tcq.c
400
return error;
drivers/input/touchscreen/fsl-imx25-tcq.c
436
int error;
drivers/input/touchscreen/fsl-imx25-tcq.c
444
error = of_property_read_u32(np, "fsl,wires", &wires);
drivers/input/touchscreen/fsl-imx25-tcq.c
445
if (error) {
drivers/input/touchscreen/fsl-imx25-tcq.c
447
return error;
drivers/input/touchscreen/fsl-imx25-tcq.c
469
int error;
drivers/input/touchscreen/fsl-imx25-tcq.c
471
error = clk_prepare_enable(priv->clk);
drivers/input/touchscreen/fsl-imx25-tcq.c
472
if (error) {
drivers/input/touchscreen/fsl-imx25-tcq.c
474
return error;
drivers/input/touchscreen/fsl-imx25-tcq.c
477
error = mx25_tcq_init(priv);
drivers/input/touchscreen/fsl-imx25-tcq.c
478
if (error) {
drivers/input/touchscreen/fsl-imx25-tcq.c
481
return error;
drivers/input/touchscreen/fsl-imx25-tcq.c
506
int error;
drivers/input/touchscreen/fsl-imx25-tcq.c
517
error = mx25_tcq_parse_dt(pdev, priv);
drivers/input/touchscreen/fsl-imx25-tcq.c
518
if (error)
drivers/input/touchscreen/fsl-imx25-tcq.c
519
return error;
drivers/input/touchscreen/fsl-imx25-tcq.c
559
error = devm_request_threaded_irq(dev, priv->irq, mx25_tcq_irq,
drivers/input/touchscreen/fsl-imx25-tcq.c
562
if (error) {
drivers/input/touchscreen/fsl-imx25-tcq.c
564
return error;
drivers/input/touchscreen/fsl-imx25-tcq.c
567
error = input_register_device(idev);
drivers/input/touchscreen/fsl-imx25-tcq.c
568
if (error) {
drivers/input/touchscreen/fsl-imx25-tcq.c
570
return error;
drivers/input/touchscreen/goodix.c
1042
int error;
drivers/input/touchscreen/goodix.c
1050
error = goodix_i2c_read(ts->client, ts->chip->config_addr,
drivers/input/touchscreen/goodix.c
1052
if (error) {
drivers/input/touchscreen/goodix.c
1079
int error;
drivers/input/touchscreen/goodix.c
1083
error = goodix_i2c_read(ts->client, GOODIX_REG_ID, buf, sizeof(buf));
drivers/input/touchscreen/goodix.c
1084
if (error)
drivers/input/touchscreen/goodix.c
1085
return error;
drivers/input/touchscreen/goodix.c
1107
int error;
drivers/input/touchscreen/goodix.c
1111
error = goodix_i2c_read(client, GOODIX_REG_ID, &test, 1);
drivers/input/touchscreen/goodix.c
1112
if (!error)
drivers/input/touchscreen/goodix.c
1118
return error;
drivers/input/touchscreen/goodix.c
1133
int error;
drivers/input/touchscreen/goodix.c
1185
error = goodix_reset(ts);
drivers/input/touchscreen/goodix.c
1186
if (error)
drivers/input/touchscreen/goodix.c
1187
return error;
drivers/input/touchscreen/goodix.c
1215
error = input_mt_init_slots(ts->input_dev, ts->max_touch_num,
drivers/input/touchscreen/goodix.c
1217
if (error) {
drivers/input/touchscreen/goodix.c
1219
"Failed to initialize MT slots: %d", error);
drivers/input/touchscreen/goodix.c
1220
return error;
drivers/input/touchscreen/goodix.c
1226
error = input_setup_polling(ts->input_dev, goodix_ts_work_i2c_poll);
drivers/input/touchscreen/goodix.c
1227
if (error) {
drivers/input/touchscreen/goodix.c
1229
"could not set up polling mode, %d\n", error);
drivers/input/touchscreen/goodix.c
1230
return error;
drivers/input/touchscreen/goodix.c
1235
error = input_register_device(ts->input_dev);
drivers/input/touchscreen/goodix.c
1236
if (error) {
drivers/input/touchscreen/goodix.c
1238
"Failed to register input device: %d", error);
drivers/input/touchscreen/goodix.c
1239
return error;
drivers/input/touchscreen/goodix.c
1249
error = goodix_create_pen_input(ts);
drivers/input/touchscreen/goodix.c
1250
if (error)
drivers/input/touchscreen/goodix.c
1251
return error;
drivers/input/touchscreen/goodix.c
1254
error = goodix_request_irq(ts);
drivers/input/touchscreen/goodix.c
1255
if (error) {
drivers/input/touchscreen/goodix.c
1256
dev_err(&ts->client->dev, "request IRQ failed: %d\n", error);
drivers/input/touchscreen/goodix.c
1257
return error;
drivers/input/touchscreen/goodix.c
1275
int error;
drivers/input/touchscreen/goodix.c
1281
error = goodix_check_cfg(ts, cfg->data, cfg->size);
drivers/input/touchscreen/goodix.c
1282
if (error)
drivers/input/touchscreen/goodix.c
1288
error = goodix_send_cfg(ts, cfg->data, cfg->size);
drivers/input/touchscreen/goodix.c
1289
if (error)
drivers/input/touchscreen/goodix.c
1312
int error;
drivers/input/touchscreen/goodix.c
1330
error = goodix_get_gpio_config(ts);
drivers/input/touchscreen/goodix.c
1331
if (error)
drivers/input/touchscreen/goodix.c
1332
return error;
drivers/input/touchscreen/goodix.c
1335
error = regulator_enable(ts->avdd28);
drivers/input/touchscreen/goodix.c
1336
if (error) {
drivers/input/touchscreen/goodix.c
1339
error);
drivers/input/touchscreen/goodix.c
1340
return error;
drivers/input/touchscreen/goodix.c
1343
error = regulator_enable(ts->vddio);
drivers/input/touchscreen/goodix.c
1344
if (error) {
drivers/input/touchscreen/goodix.c
1347
error);
drivers/input/touchscreen/goodix.c
1349
return error;
drivers/input/touchscreen/goodix.c
1352
error = devm_add_action_or_reset(&client->dev,
drivers/input/touchscreen/goodix.c
1354
if (error)
drivers/input/touchscreen/goodix.c
1355
return error;
drivers/input/touchscreen/goodix.c
1360
error = goodix_reset(ts);
drivers/input/touchscreen/goodix.c
1361
if (error)
drivers/input/touchscreen/goodix.c
1362
return error;
drivers/input/touchscreen/goodix.c
1365
error = goodix_i2c_test(client);
drivers/input/touchscreen/goodix.c
1366
if (error) {
drivers/input/touchscreen/goodix.c
1373
dev_err(&client->dev, "I2C communication failure: %d\n", error);
drivers/input/touchscreen/goodix.c
1374
return error;
drivers/input/touchscreen/goodix.c
1377
error = goodix_firmware_check(ts);
drivers/input/touchscreen/goodix.c
1378
if (error)
drivers/input/touchscreen/goodix.c
1379
return error;
drivers/input/touchscreen/goodix.c
1381
error = goodix_read_version(ts);
drivers/input/touchscreen/goodix.c
1382
if (error)
drivers/input/touchscreen/goodix.c
1383
return error;
drivers/input/touchscreen/goodix.c
1389
error = device_property_read_string(&client->dev,
drivers/input/touchscreen/goodix.c
1392
if (!error)
drivers/input/touchscreen/goodix.c
1399
error = request_firmware_nowait(THIS_MODULE, true, ts->cfg_name,
drivers/input/touchscreen/goodix.c
1402
if (error) {
drivers/input/touchscreen/goodix.c
1405
error);
drivers/input/touchscreen/goodix.c
1406
return error;
drivers/input/touchscreen/goodix.c
1411
error = goodix_configure_dev(ts);
drivers/input/touchscreen/goodix.c
1412
if (error)
drivers/input/touchscreen/goodix.c
1413
return error;
drivers/input/touchscreen/goodix.c
1431
int error;
drivers/input/touchscreen/goodix.c
1449
error = goodix_irq_direction_output(ts, 0);
drivers/input/touchscreen/goodix.c
1450
if (error) {
drivers/input/touchscreen/goodix.c
1452
return error;
drivers/input/touchscreen/goodix.c
1457
error = goodix_i2c_write_u8(ts->client, GOODIX_REG_COMMAND,
drivers/input/touchscreen/goodix.c
1459
if (error) {
drivers/input/touchscreen/goodix.c
1479
int error;
drivers/input/touchscreen/goodix.c
1490
error = goodix_irq_direction_output(ts, 1);
drivers/input/touchscreen/goodix.c
1491
if (error)
drivers/input/touchscreen/goodix.c
1492
return error;
drivers/input/touchscreen/goodix.c
1496
error = goodix_int_sync(ts);
drivers/input/touchscreen/goodix.c
1497
if (error)
drivers/input/touchscreen/goodix.c
1498
return error;
drivers/input/touchscreen/goodix.c
1500
error = goodix_i2c_read(ts->client, ts->chip->config_addr,
drivers/input/touchscreen/goodix.c
1502
if (!error && config_ver != ts->config[0])
drivers/input/touchscreen/goodix.c
1506
if (error != 0 || config_ver != ts->config[0]) {
drivers/input/touchscreen/goodix.c
1507
error = goodix_reset(ts);
drivers/input/touchscreen/goodix.c
1508
if (error)
drivers/input/touchscreen/goodix.c
1509
return error;
drivers/input/touchscreen/goodix.c
1511
error = goodix_send_cfg(ts, ts->config, ts->chip->config_len);
drivers/input/touchscreen/goodix.c
1512
if (error)
drivers/input/touchscreen/goodix.c
1513
return error;
drivers/input/touchscreen/goodix.c
1516
error = goodix_request_irq(ts);
drivers/input/touchscreen/goodix.c
1517
if (error)
drivers/input/touchscreen/goodix.c
1518
return error;
drivers/input/touchscreen/goodix.c
257
int error;
drivers/input/touchscreen/goodix.c
273
error = goodix_i2c_read(ts->client, addr, data,
drivers/input/touchscreen/goodix.c
275
if (error)
drivers/input/touchscreen/goodix.c
276
return error;
drivers/input/touchscreen/goodix.c
286
error = goodix_i2c_read(ts->client,
drivers/input/touchscreen/goodix.c
290
if (error)
drivers/input/touchscreen/goodix.c
291
return error;
drivers/input/touchscreen/goodix.c
352
int input_x, input_y, input_w, error;
drivers/input/touchscreen/goodix.c
356
error = input_register_device(ts->input_pen);
drivers/input/touchscreen/goodix.c
357
ts->pen_input_registered = (error == 0) ? 1 : error;
drivers/input/touchscreen/goodix.c
655
int error;
drivers/input/touchscreen/goodix.c
657
error = goodix_check_cfg(ts, cfg, len);
drivers/input/touchscreen/goodix.c
658
if (error)
drivers/input/touchscreen/goodix.c
659
return error;
drivers/input/touchscreen/goodix.c
661
error = goodix_i2c_write(ts->client, ts->chip->config_addr, cfg, len);
drivers/input/touchscreen/goodix.c
662
if (error)
drivers/input/touchscreen/goodix.c
663
return error;
drivers/input/touchscreen/goodix.c
751
int error;
drivers/input/touchscreen/goodix.c
753
error = goodix_irq_direction_output(ts, 0);
drivers/input/touchscreen/goodix.c
754
if (error)
drivers/input/touchscreen/goodix.c
755
goto error;
drivers/input/touchscreen/goodix.c
759
error = goodix_irq_direction_input(ts);
drivers/input/touchscreen/goodix.c
760
if (error)
drivers/input/touchscreen/goodix.c
761
goto error;
drivers/input/touchscreen/goodix.c
765
error:
drivers/input/touchscreen/goodix.c
767
return error;
drivers/input/touchscreen/goodix.c
777
int error;
drivers/input/touchscreen/goodix.c
780
error = gpiod_direction_output(ts->gpiod_rst, 0);
drivers/input/touchscreen/goodix.c
781
if (error)
drivers/input/touchscreen/goodix.c
782
goto error;
drivers/input/touchscreen/goodix.c
787
error = goodix_irq_direction_output(ts, ts->client->addr == 0x14);
drivers/input/touchscreen/goodix.c
788
if (error)
drivers/input/touchscreen/goodix.c
789
goto error;
drivers/input/touchscreen/goodix.c
793
error = gpiod_direction_output(ts->gpiod_rst, 1);
drivers/input/touchscreen/goodix.c
794
if (error)
drivers/input/touchscreen/goodix.c
795
goto error;
drivers/input/touchscreen/goodix.c
801
error:
drivers/input/touchscreen/goodix.c
803
return error;
drivers/input/touchscreen/goodix.c
813
int error;
drivers/input/touchscreen/goodix.c
815
error = goodix_reset_no_int_sync(ts);
drivers/input/touchscreen/goodix.c
816
if (error)
drivers/input/touchscreen/goodix.c
817
return error;
drivers/input/touchscreen/goodix_berlin_core.c
221
int error;
drivers/input/touchscreen/goodix_berlin_core.c
225
error = regmap_raw_write(cd->regmap,
drivers/input/touchscreen/goodix_berlin_core.c
228
if (error)
drivers/input/touchscreen/goodix_berlin_core.c
229
return error;
drivers/input/touchscreen/goodix_berlin_core.c
231
error = regmap_raw_read(cd->regmap,
drivers/input/touchscreen/goodix_berlin_core.c
234
if (error)
drivers/input/touchscreen/goodix_berlin_core.c
235
return error;
drivers/input/touchscreen/goodix_berlin_core.c
251
int error;
drivers/input/touchscreen/goodix_berlin_core.c
253
error = regulator_enable(cd->vddio);
drivers/input/touchscreen/goodix_berlin_core.c
254
if (error) {
drivers/input/touchscreen/goodix_berlin_core.c
255
dev_err(cd->dev, "Failed to enable vddio: %d\n", error);
drivers/input/touchscreen/goodix_berlin_core.c
256
return error;
drivers/input/touchscreen/goodix_berlin_core.c
262
error = regulator_enable(cd->avdd);
drivers/input/touchscreen/goodix_berlin_core.c
263
if (error) {
drivers/input/touchscreen/goodix_berlin_core.c
264
dev_err(cd->dev, "Failed to enable avdd: %d\n", error);
drivers/input/touchscreen/goodix_berlin_core.c
276
error = goodix_berlin_dev_confirm(cd);
drivers/input/touchscreen/goodix_berlin_core.c
277
if (error)
drivers/input/touchscreen/goodix_berlin_core.c
290
return error;
drivers/input/touchscreen/goodix_berlin_core.c
302
int error;
drivers/input/touchscreen/goodix_berlin_core.c
304
error = regmap_raw_read(cd->regmap, cd->ic_data->fw_version_info_addr,
drivers/input/touchscreen/goodix_berlin_core.c
306
if (error) {
drivers/input/touchscreen/goodix_berlin_core.c
307
dev_err(cd->dev, "error reading fw version, %d\n", error);
drivers/input/touchscreen/goodix_berlin_core.c
308
return error;
drivers/input/touchscreen/goodix_berlin_core.c
366
int error;
drivers/input/touchscreen/goodix_berlin_core.c
372
error = regmap_raw_read(cd->regmap, cd->ic_data->ic_info_addr,
drivers/input/touchscreen/goodix_berlin_core.c
374
if (error) {
drivers/input/touchscreen/goodix_berlin_core.c
375
dev_err(cd->dev, "failed get ic info length, %d\n", error);
drivers/input/touchscreen/goodix_berlin_core.c
376
return error;
drivers/input/touchscreen/goodix_berlin_core.c
385
error = regmap_raw_read(cd->regmap, cd->ic_data->ic_info_addr, afe_data,
drivers/input/touchscreen/goodix_berlin_core.c
387
if (error) {
drivers/input/touchscreen/goodix_berlin_core.c
388
dev_err(cd->dev, "failed get ic info data, %d\n", error);
drivers/input/touchscreen/goodix_berlin_core.c
389
return error;
drivers/input/touchscreen/goodix_berlin_core.c
403
error = goodix_berlin_parse_ic_info(cd, afe_data, length);
drivers/input/touchscreen/goodix_berlin_core.c
404
if (error)
drivers/input/touchscreen/goodix_berlin_core.c
405
return error;
drivers/input/touchscreen/goodix_berlin_core.c
422
int error;
drivers/input/touchscreen/goodix_berlin_core.c
424
error = regmap_raw_read(cd->regmap, addr,
drivers/input/touchscreen/goodix_berlin_core.c
427
if (error) {
drivers/input/touchscreen/goodix_berlin_core.c
429
error);
drivers/input/touchscreen/goodix_berlin_core.c
430
return error;
drivers/input/touchscreen/goodix_berlin_core.c
477
int error;
drivers/input/touchscreen/goodix_berlin_core.c
488
error = goodix_berlin_get_remaining_contacts(cd, touch_num);
drivers/input/touchscreen/goodix_berlin_core.c
489
if (error)
drivers/input/touchscreen/goodix_berlin_core.c
520
int error;
drivers/input/touchscreen/goodix_berlin_core.c
557
error = regmap_raw_read(cd->regmap, cd->touch_data_addr,
drivers/input/touchscreen/goodix_berlin_core.c
562
if (error) {
drivers/input/touchscreen/goodix_berlin_core.c
564
"failed get event head data: %d\n", error);
drivers/input/touchscreen/goodix_berlin_core.c
609
int error;
drivers/input/touchscreen/goodix_berlin_core.c
631
error = input_mt_init_slots(cd->input_dev, GOODIX_BERLIN_MAX_TOUCH,
drivers/input/touchscreen/goodix_berlin_core.c
633
if (error)
drivers/input/touchscreen/goodix_berlin_core.c
634
return error;
drivers/input/touchscreen/goodix_berlin_core.c
636
error = input_register_device(cd->input_dev);
drivers/input/touchscreen/goodix_berlin_core.c
637
if (error)
drivers/input/touchscreen/goodix_berlin_core.c
638
return error;
drivers/input/touchscreen/goodix_berlin_core.c
656
int error;
drivers/input/touchscreen/goodix_berlin_core.c
658
error = goodix_berlin_power_on(cd);
drivers/input/touchscreen/goodix_berlin_core.c
659
if (error)
drivers/input/touchscreen/goodix_berlin_core.c
660
return error;
drivers/input/touchscreen/goodix_berlin_core.c
683
int error;
drivers/input/touchscreen/goodix_berlin_core.c
685
error = regmap_raw_read(cd->regmap, off, buf, count);
drivers/input/touchscreen/goodix_berlin_core.c
687
return error ? error : count;
drivers/input/touchscreen/goodix_berlin_core.c
696
int error;
drivers/input/touchscreen/goodix_berlin_core.c
698
error = regmap_raw_write(cd->regmap, off, buf, count);
drivers/input/touchscreen/goodix_berlin_core.c
700
return error ? error : count;
drivers/input/touchscreen/goodix_berlin_core.c
725
int error;
drivers/input/touchscreen/goodix_berlin_core.c
756
error = goodix_berlin_power_on(cd);
drivers/input/touchscreen/goodix_berlin_core.c
757
if (error) {
drivers/input/touchscreen/goodix_berlin_core.c
759
return error;
drivers/input/touchscreen/goodix_berlin_core.c
762
error = devm_add_action_or_reset(dev, goodix_berlin_power_off_act, cd);
drivers/input/touchscreen/goodix_berlin_core.c
763
if (error)
drivers/input/touchscreen/goodix_berlin_core.c
764
return error;
drivers/input/touchscreen/goodix_berlin_core.c
766
error = goodix_berlin_read_version(cd);
drivers/input/touchscreen/goodix_berlin_core.c
767
if (error) {
drivers/input/touchscreen/goodix_berlin_core.c
769
return error;
drivers/input/touchscreen/goodix_berlin_core.c
772
error = goodix_berlin_get_ic_info(cd);
drivers/input/touchscreen/goodix_berlin_core.c
773
if (error) {
drivers/input/touchscreen/goodix_berlin_core.c
775
return error;
drivers/input/touchscreen/goodix_berlin_core.c
778
error = goodix_berlin_input_dev_config(cd, id);
drivers/input/touchscreen/goodix_berlin_core.c
779
if (error) {
drivers/input/touchscreen/goodix_berlin_core.c
781
return error;
drivers/input/touchscreen/goodix_berlin_core.c
784
error = devm_request_threaded_irq(dev, cd->irq, NULL, goodix_berlin_irq,
drivers/input/touchscreen/goodix_berlin_core.c
786
if (error) {
drivers/input/touchscreen/goodix_berlin_core.c
787
dev_err(dev, "request threaded irq failed: %d\n", error);
drivers/input/touchscreen/goodix_berlin_core.c
788
return error;
drivers/input/touchscreen/goodix_berlin_i2c.c
37
int error;
drivers/input/touchscreen/goodix_berlin_i2c.c
43
error = goodix_berlin_probe(&client->dev, client->irq,
drivers/input/touchscreen/goodix_berlin_i2c.c
46
if (error)
drivers/input/touchscreen/goodix_berlin_i2c.c
47
return error;
drivers/input/touchscreen/goodix_berlin_spi.c
107
error = spi_sync(spi, &spi_msg);
drivers/input/touchscreen/goodix_berlin_spi.c
108
if (error < 0) {
drivers/input/touchscreen/goodix_berlin_spi.c
109
dev_err(&spi->dev, "spi transfer error, %d", error);
drivers/input/touchscreen/goodix_berlin_spi.c
110
return error;
drivers/input/touchscreen/goodix_berlin_spi.c
134
int error = 0;
drivers/input/touchscreen/goodix_berlin_spi.c
138
error = spi_setup(spi);
drivers/input/touchscreen/goodix_berlin_spi.c
139
if (error)
drivers/input/touchscreen/goodix_berlin_spi.c
140
return error;
drivers/input/touchscreen/goodix_berlin_spi.c
152
error = goodix_berlin_probe(&spi->dev, spi->irq,
drivers/input/touchscreen/goodix_berlin_spi.c
155
if (error)
drivers/input/touchscreen/goodix_berlin_spi.c
156
return error;
drivers/input/touchscreen/goodix_berlin_spi.c
44
int error;
drivers/input/touchscreen/goodix_berlin_spi.c
69
error = spi_sync(spi, &spi_msg);
drivers/input/touchscreen/goodix_berlin_spi.c
70
if (error < 0) {
drivers/input/touchscreen/goodix_berlin_spi.c
71
dev_err(&spi->dev, "spi transfer error, %d", error);
drivers/input/touchscreen/goodix_berlin_spi.c
72
return error;
drivers/input/touchscreen/goodix_berlin_spi.c
76
return error;
drivers/input/touchscreen/goodix_berlin_spi.c
87
int error;
drivers/input/touchscreen/goodix_fwupload.c
100
if (error)
drivers/input/touchscreen/goodix_fwupload.c
101
return error;
drivers/input/touchscreen/goodix_fwupload.c
113
error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_DSP_CTL, 0x00);
drivers/input/touchscreen/goodix_fwupload.c
114
if (error)
drivers/input/touchscreen/goodix_fwupload.c
115
return error;
drivers/input/touchscreen/goodix_fwupload.c
118
error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_TMR0_EN, 0x00);
drivers/input/touchscreen/goodix_fwupload.c
119
if (error)
drivers/input/touchscreen/goodix_fwupload.c
120
return error;
drivers/input/touchscreen/goodix_fwupload.c
123
error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_CACHE_EN, 0x00);
drivers/input/touchscreen/goodix_fwupload.c
124
if (error)
drivers/input/touchscreen/goodix_fwupload.c
125
return error;
drivers/input/touchscreen/goodix_fwupload.c
128
error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_BOOTCTL, 0x02);
drivers/input/touchscreen/goodix_fwupload.c
129
if (error)
drivers/input/touchscreen/goodix_fwupload.c
130
return error;
drivers/input/touchscreen/goodix_fwupload.c
133
error = goodix_i2c_write_u8(client,
drivers/input/touchscreen/goodix_fwupload.c
135
if (error)
drivers/input/touchscreen/goodix_fwupload.c
136
return error;
drivers/input/touchscreen/goodix_fwupload.c
139
error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_BOOTCTL, 0x00);
drivers/input/touchscreen/goodix_fwupload.c
140
if (error)
drivers/input/touchscreen/goodix_fwupload.c
141
return error;
drivers/input/touchscreen/goodix_fwupload.c
144
error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_BOOT_OPT, 0x00);
drivers/input/touchscreen/goodix_fwupload.c
145
if (error)
drivers/input/touchscreen/goodix_fwupload.c
146
return error;
drivers/input/touchscreen/goodix_fwupload.c
149
error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_MEM_CD_EN, 0x01);
drivers/input/touchscreen/goodix_fwupload.c
150
if (error)
drivers/input/touchscreen/goodix_fwupload.c
151
return error;
drivers/input/touchscreen/goodix_fwupload.c
158
int error;
drivers/input/touchscreen/goodix_fwupload.c
162
error = goodix_i2c_write_u8(client, GOODIX_REG_SW_WDT, 0xaa);
drivers/input/touchscreen/goodix_fwupload.c
163
if (error)
drivers/input/touchscreen/goodix_fwupload.c
164
return error;
drivers/input/touchscreen/goodix_fwupload.c
167
error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_SWRST, 0x00);
drivers/input/touchscreen/goodix_fwupload.c
168
if (error)
drivers/input/touchscreen/goodix_fwupload.c
169
return error;
drivers/input/touchscreen/goodix_fwupload.c
171
error = goodix_i2c_read(client, GOODIX_REG_SW_WDT, &val, 1);
drivers/input/touchscreen/goodix_fwupload.c
172
if (error)
drivers/input/touchscreen/goodix_fwupload.c
173
return error;
drivers/input/touchscreen/goodix_fwupload.c
182
error = goodix_i2c_write_u8(client, GOODIX_REG_SW_WDT, 0xaa);
drivers/input/touchscreen/goodix_fwupload.c
183
if (error)
drivers/input/touchscreen/goodix_fwupload.c
184
return error;
drivers/input/touchscreen/goodix_fwupload.c
194
int error;
drivers/input/touchscreen/goodix_fwupload.c
198
error = request_firmware(&fw, fw_name, &ts->client->dev);
drivers/input/touchscreen/goodix_fwupload.c
199
if (error) {
drivers/input/touchscreen/goodix_fwupload.c
200
dev_err(&ts->client->dev, "Firmware request error %d\n", error);
drivers/input/touchscreen/goodix_fwupload.c
201
return error;
drivers/input/touchscreen/goodix_fwupload.c
204
error = goodix_firmware_verify(&ts->client->dev, fw);
drivers/input/touchscreen/goodix_fwupload.c
205
if (error)
drivers/input/touchscreen/goodix_fwupload.c
208
error = goodix_reset_no_int_sync(ts);
drivers/input/touchscreen/goodix_fwupload.c
209
if (error)
drivers/input/touchscreen/goodix_fwupload.c
212
error = goodix_enter_upload_mode(ts->client);
drivers/input/touchscreen/goodix_fwupload.c
213
if (error)
drivers/input/touchscreen/goodix_fwupload.c
217
error = goodix_i2c_write_u8(ts->client,
drivers/input/touchscreen/goodix_fwupload.c
219
if (error)
drivers/input/touchscreen/goodix_fwupload.c
223
error = goodix_i2c_write(ts->client, GOODIX_FW_UPLOAD_ADDRESS,
drivers/input/touchscreen/goodix_fwupload.c
225
if (error)
drivers/input/touchscreen/goodix_fwupload.c
229
error = goodix_i2c_write_u8(ts->client,
drivers/input/touchscreen/goodix_fwupload.c
231
if (error)
drivers/input/touchscreen/goodix_fwupload.c
235
error = goodix_i2c_write(ts->client, GOODIX_FW_UPLOAD_ADDRESS,
drivers/input/touchscreen/goodix_fwupload.c
237
if (error)
drivers/input/touchscreen/goodix_fwupload.c
241
error = goodix_i2c_write_u8(ts->client,
drivers/input/touchscreen/goodix_fwupload.c
243
if (error)
drivers/input/touchscreen/goodix_fwupload.c
247
error = goodix_i2c_write(ts->client, GOODIX_FW_UPLOAD_ADDRESS,
drivers/input/touchscreen/goodix_fwupload.c
249
if (error)
drivers/input/touchscreen/goodix_fwupload.c
252
error = goodix_start_firmware(ts->client);
drivers/input/touchscreen/goodix_fwupload.c
253
if (error)
drivers/input/touchscreen/goodix_fwupload.c
256
error = goodix_int_sync(ts);
drivers/input/touchscreen/goodix_fwupload.c
259
return error;
drivers/input/touchscreen/goodix_fwupload.c
350
int error;
drivers/input/touchscreen/goodix_fwupload.c
353
error = goodix_i2c_read(ts->client, GOODIX_REG_REQUEST, &val, 1);
drivers/input/touchscreen/goodix_fwupload.c
354
if (error)
drivers/input/touchscreen/goodix_fwupload.c
365
error = goodix_send_cfg(ts, ts->config, ts->chip->config_len);
drivers/input/touchscreen/goodix_fwupload.c
366
if (error)
drivers/input/touchscreen/goodix_fwupload.c
371
error = goodix_prepare_bak_ref(ts);
drivers/input/touchscreen/goodix_fwupload.c
372
if (error)
drivers/input/touchscreen/goodix_fwupload.c
375
error = goodix_i2c_write(ts->client, GOODIX_REG_BAK_REF,
drivers/input/touchscreen/goodix_fwupload.c
377
if (error)
drivers/input/touchscreen/goodix_fwupload.c
382
error = goodix_firmware_upload(ts);
drivers/input/touchscreen/goodix_fwupload.c
383
if (error)
drivers/input/touchscreen/goodix_fwupload.c
388
error = goodix_send_main_clock(ts);
drivers/input/touchscreen/goodix_fwupload.c
389
if (error)
drivers/input/touchscreen/goodix_fwupload.c
408
int error;
drivers/input/touchscreen/goodix_fwupload.c
414
error = goodix_i2c_read(ts->client, GOODIX_REG_STATUS, &val, 1);
drivers/input/touchscreen/goodix_fwupload.c
415
if (error)
drivers/input/touchscreen/goodix_fwupload.c
421
error = goodix_i2c_read(ts->client, GOODIX_REG_BAK_REF,
drivers/input/touchscreen/goodix_fwupload.c
423
if (error) {
drivers/input/touchscreen/goodix_fwupload.c
88
int tries, error;
drivers/input/touchscreen/goodix_fwupload.c
93
error = goodix_i2c_write_u8(client,
drivers/input/touchscreen/goodix_fwupload.c
95
if (error)
drivers/input/touchscreen/goodix_fwupload.c
96
return error;
drivers/input/touchscreen/goodix_fwupload.c
98
error = goodix_i2c_read(client,
drivers/input/touchscreen/hideep.c
1021
int error;
drivers/input/touchscreen/hideep.c
1044
error = PTR_ERR(ts->reg);
drivers/input/touchscreen/hideep.c
1046
"failed to initialize regmap: %d\n", error);
drivers/input/touchscreen/hideep.c
1047
return error;
drivers/input/touchscreen/hideep.c
1063
error = hideep_power_on(ts);
drivers/input/touchscreen/hideep.c
1064
if (error) {
drivers/input/touchscreen/hideep.c
1065
dev_err(&client->dev, "power on failed: %d\n", error);
drivers/input/touchscreen/hideep.c
1066
return error;
drivers/input/touchscreen/hideep.c
1069
error = devm_add_action_or_reset(&client->dev, hideep_power_off, ts);
drivers/input/touchscreen/hideep.c
1070
if (error)
drivers/input/touchscreen/hideep.c
1071
return error;
drivers/input/touchscreen/hideep.c
1073
error = hideep_load_dwz(ts);
drivers/input/touchscreen/hideep.c
1074
if (error) {
drivers/input/touchscreen/hideep.c
1075
dev_err(&client->dev, "failed to load dwz: %d", error);
drivers/input/touchscreen/hideep.c
1076
return error;
drivers/input/touchscreen/hideep.c
1081
error = hideep_init_input(ts);
drivers/input/touchscreen/hideep.c
1082
if (error)
drivers/input/touchscreen/hideep.c
1083
return error;
drivers/input/touchscreen/hideep.c
1085
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/hideep.c
1088
if (error) {
drivers/input/touchscreen/hideep.c
1090
client->irq, error);
drivers/input/touchscreen/hideep.c
1091
return error;
drivers/input/touchscreen/hideep.c
243
int error;
drivers/input/touchscreen/hideep.c
245
error = hideep_pgm_r_mem(ts, addr, &data, 1);
drivers/input/touchscreen/hideep.c
246
if (error) {
drivers/input/touchscreen/hideep.c
249
addr, error);
drivers/input/touchscreen/hideep.c
250
return error;
drivers/input/touchscreen/hideep.c
260
int error;
drivers/input/touchscreen/hideep.c
262
error = hideep_pgm_w_mem(ts, addr, &data, 1);
drivers/input/touchscreen/hideep.c
263
if (error) {
drivers/input/touchscreen/hideep.c
266
addr, val, error);
drivers/input/touchscreen/hideep.c
267
return error;
drivers/input/touchscreen/hideep.c
317
int error;
drivers/input/touchscreen/hideep.c
319
error = regmap_bulk_write(ts->reg, p1, &p2, 1);
drivers/input/touchscreen/hideep.c
320
if (error) {
drivers/input/touchscreen/hideep.c
323
__func__, error);
drivers/input/touchscreen/hideep.c
324
return error;
drivers/input/touchscreen/hideep.c
330
error = hideep_pgm_w_reg(ts, HIDEEP_ESI_TX_INVALID, 0x01);
drivers/input/touchscreen/hideep.c
331
if (error)
drivers/input/touchscreen/hideep.c
332
return error;
drivers/input/touchscreen/hideep.c
334
error = hideep_pgm_r_reg(ts, HIDEEP_SYSCON_PGM_ID, pattern);
drivers/input/touchscreen/hideep.c
335
if (error)
drivers/input/touchscreen/hideep.c
336
return error;
drivers/input/touchscreen/hideep.c
345
int error;
drivers/input/touchscreen/hideep.c
348
error = hideep_pgm_get_pattern(ts, &pattern);
drivers/input/touchscreen/hideep.c
349
if (error) {
drivers/input/touchscreen/hideep.c
351
"hideep_pgm_get_pattern failed: %d\n", error);
drivers/input/touchscreen/hideep.c
373
int error;
drivers/input/touchscreen/hideep.c
376
error = hideep_pgm_r_reg(ts, 0x0000000C, &unmask_code);
drivers/input/touchscreen/hideep.c
378
if (error)
drivers/input/touchscreen/hideep.c
379
return error;
drivers/input/touchscreen/hideep.c
404
int error;
drivers/input/touchscreen/hideep.c
407
error = hideep_pgm_r_reg(ts, HIDEEP_FLASH_STA, &status);
drivers/input/touchscreen/hideep.c
408
if (!error && status)
drivers/input/touchscreen/hideep.c
421
int error;
drivers/input/touchscreen/hideep.c
423
error = hideep_check_status(ts);
drivers/input/touchscreen/hideep.c
424
if (error)
drivers/input/touchscreen/hideep.c
437
error = hideep_check_status(ts);
drivers/input/touchscreen/hideep.c
438
if (error)
drivers/input/touchscreen/hideep.c
457
error = hideep_check_status(ts);
drivers/input/touchscreen/hideep.c
458
if (error)
drivers/input/touchscreen/hideep.c
474
int error;
drivers/input/touchscreen/hideep.c
476
error = hideep_nvm_unlock(ts);
drivers/input/touchscreen/hideep.c
477
if (error)
drivers/input/touchscreen/hideep.c
478
return error;
drivers/input/touchscreen/hideep.c
484
error = hideep_pgm_r_mem(ts, 0x00000000 + addr,
drivers/input/touchscreen/hideep.c
486
if (error) {
drivers/input/touchscreen/hideep.c
489
__func__, addr, error);
drivers/input/touchscreen/hideep.c
490
return error;
drivers/input/touchscreen/hideep.c
495
error = hideep_program_page(ts, addr,
drivers/input/touchscreen/hideep.c
497
if (error) {
drivers/input/touchscreen/hideep.c
500
__func__, addr, error);
drivers/input/touchscreen/hideep.c
501
return error;
drivers/input/touchscreen/hideep.c
524
int error;
drivers/input/touchscreen/hideep.c
530
error = hideep_pgm_r_mem(ts, 0x00000000 + addr,
drivers/input/touchscreen/hideep.c
532
if (error) {
drivers/input/touchscreen/hideep.c
535
__func__, addr, error);
drivers/input/touchscreen/hideep.c
536
return error;
drivers/input/touchscreen/hideep.c
565
int error;
drivers/input/touchscreen/hideep.c
567
error = hideep_enter_pgm(ts);
drivers/input/touchscreen/hideep.c
568
if (error)
drivers/input/touchscreen/hideep.c
569
return error;
drivers/input/touchscreen/hideep.c
573
error = hideep_pgm_r_mem(ts, HIDEEP_DWZ_INFO,
drivers/input/touchscreen/hideep.c
580
if (error) {
drivers/input/touchscreen/hideep.c
582
"failed to fetch DWZ data: %d\n", error);
drivers/input/touchscreen/hideep.c
583
return error;
drivers/input/touchscreen/hideep.c
615
int error;
drivers/input/touchscreen/hideep.c
618
error = hideep_program_nvm(ts, ucode, ucode_len);
drivers/input/touchscreen/hideep.c
619
if (!error) {
drivers/input/touchscreen/hideep.c
620
error = hideep_verify_nvm(ts, ucode, ucode_len);
drivers/input/touchscreen/hideep.c
621
if (!error)
drivers/input/touchscreen/hideep.c
626
return error;
drivers/input/touchscreen/hideep.c
632
int error, error2;
drivers/input/touchscreen/hideep.c
637
error = hideep_enter_pgm(ts);
drivers/input/touchscreen/hideep.c
638
if (error)
drivers/input/touchscreen/hideep.c
639
return error;
drivers/input/touchscreen/hideep.c
641
error = hideep_flash_firmware(ts, ucode, ucode_len);
drivers/input/touchscreen/hideep.c
642
if (error)
drivers/input/touchscreen/hideep.c
644
"firmware update failed: %d\n", error);
drivers/input/touchscreen/hideep.c
656
return error ?: error2;
drivers/input/touchscreen/hideep.c
661
int error = 0;
drivers/input/touchscreen/hideep.c
663
error = regulator_enable(ts->vcc_vdd);
drivers/input/touchscreen/hideep.c
664
if (error)
drivers/input/touchscreen/hideep.c
666
"failed to enable 'vdd' regulator: %d", error);
drivers/input/touchscreen/hideep.c
670
error = regulator_enable(ts->vcc_vid);
drivers/input/touchscreen/hideep.c
671
if (error)
drivers/input/touchscreen/hideep.c
674
error);
drivers/input/touchscreen/hideep.c
681
error = regmap_write(ts->reg, HIDEEP_RESET_CMD, 0x01);
drivers/input/touchscreen/hideep.c
682
if (error)
drivers/input/touchscreen/hideep.c
684
"failed to send 'reset' command: %d\n", error);
drivers/input/touchscreen/hideep.c
689
return error;
drivers/input/touchscreen/hideep.c
757
int error;
drivers/input/touchscreen/hideep.c
761
error = regmap_bulk_read(ts->reg, HIDEEP_EVENT_ADDR,
drivers/input/touchscreen/hideep.c
763
if (error) {
drivers/input/touchscreen/hideep.c
764
dev_err(&ts->client->dev, "failed to read events: %d\n", error);
drivers/input/touchscreen/hideep.c
777
int error;
drivers/input/touchscreen/hideep.c
779
error = regmap_bulk_read(ts->reg, 0x28, val, ARRAY_SIZE(val));
drivers/input/touchscreen/hideep.c
780
if (error)
drivers/input/touchscreen/hideep.c
781
return error;
drivers/input/touchscreen/hideep.c
796
int error;
drivers/input/touchscreen/hideep.c
817
error = hideep_get_axis_info(ts);
drivers/input/touchscreen/hideep.c
818
if (error)
drivers/input/touchscreen/hideep.c
819
return error;
drivers/input/touchscreen/hideep.c
822
error = input_mt_init_slots(ts->input_dev, HIDEEP_MT_MAX,
drivers/input/touchscreen/hideep.c
824
if (error)
drivers/input/touchscreen/hideep.c
825
return error;
drivers/input/touchscreen/hideep.c
838
error = device_property_read_u32_array(dev, "linux,keycodes",
drivers/input/touchscreen/hideep.c
841
if (error) {
drivers/input/touchscreen/hideep.c
842
dev_dbg(dev, "failed to read keymap: %d", error);
drivers/input/touchscreen/hideep.c
843
return error;
drivers/input/touchscreen/hideep.c
857
error = input_register_device(ts->input_dev);
drivers/input/touchscreen/hideep.c
858
if (error) {
drivers/input/touchscreen/hideep.c
859
dev_err(dev, "failed to register input device: %d", error);
drivers/input/touchscreen/hideep.c
860
return error;
drivers/input/touchscreen/hideep.c
875
int error;
drivers/input/touchscreen/hideep.c
877
error = kstrtoint(buf, 0, &mode);
drivers/input/touchscreen/hideep.c
878
if (error)
drivers/input/touchscreen/hideep.c
879
return error;
drivers/input/touchscreen/hideep.c
886
error = request_firmware(&fw_entry, fw_name, dev);
drivers/input/touchscreen/hideep.c
887
if (error) {
drivers/input/touchscreen/hideep.c
889
fw_name, error);
drivers/input/touchscreen/hideep.c
895
error = -EINVAL;
drivers/input/touchscreen/hideep.c
902
error = -EFBIG;
drivers/input/touchscreen/hideep.c
909
error = hideep_update_firmware(ts, (const __be32 *)fw_entry->data,
drivers/input/touchscreen/hideep.c
920
return error ?: count;
drivers/input/touchscreen/hideep.c
993
int error;
drivers/input/touchscreen/hideep.c
995
error = hideep_power_on(ts);
drivers/input/touchscreen/hideep.c
996
if (error) {
drivers/input/touchscreen/hideep.c
998
return error;
drivers/input/touchscreen/himax_hx83112b.c
104
int error;
drivers/input/touchscreen/himax_hx83112b.c
107
error = himax_bus_enable_burst(ts);
drivers/input/touchscreen/himax_hx83112b.c
108
if (error)
drivers/input/touchscreen/himax_hx83112b.c
109
return error;
drivers/input/touchscreen/himax_hx83112b.c
112
error = regmap_write(ts->regmap, HIMAX_AHB_ADDR_BYTE_0, address);
drivers/input/touchscreen/himax_hx83112b.c
113
if (error)
drivers/input/touchscreen/himax_hx83112b.c
114
return error;
drivers/input/touchscreen/himax_hx83112b.c
116
error = regmap_write(ts->regmap, HIMAX_AHB_ADDR_ACCESS_DIRECTION,
drivers/input/touchscreen/himax_hx83112b.c
118
if (error)
drivers/input/touchscreen/himax_hx83112b.c
119
return error;
drivers/input/touchscreen/himax_hx83112b.c
122
error = regmap_noinc_read(ts->regmap, HIMAX_AHB_ADDR_RDATA_BYTE_0,
drivers/input/touchscreen/himax_hx83112b.c
125
error = regmap_read(ts->regmap, HIMAX_AHB_ADDR_RDATA_BYTE_0,
drivers/input/touchscreen/himax_hx83112b.c
127
if (error)
drivers/input/touchscreen/himax_hx83112b.c
128
return error;
drivers/input/touchscreen/himax_hx83112b.c
150
int error;
drivers/input/touchscreen/himax_hx83112b.c
152
error = himax_bus_read(ts, HIMAX_REG_ADDR_ICID, product_id,
drivers/input/touchscreen/himax_hx83112b.c
154
if (error)
drivers/input/touchscreen/himax_hx83112b.c
155
return error;
drivers/input/touchscreen/himax_hx83112b.c
163
int error;
drivers/input/touchscreen/himax_hx83112b.c
166
error = himax_read_product_id(ts, &product_id);
drivers/input/touchscreen/himax_hx83112b.c
167
if (error)
drivers/input/touchscreen/himax_hx83112b.c
168
return error;
drivers/input/touchscreen/himax_hx83112b.c
182
int error;
drivers/input/touchscreen/himax_hx83112b.c
199
error = input_mt_init_slots(ts->input_dev, HIMAX_MAX_POINTS,
drivers/input/touchscreen/himax_hx83112b.c
201
if (error) {
drivers/input/touchscreen/himax_hx83112b.c
203
"Failed to initialize MT slots: %d\n", error);
drivers/input/touchscreen/himax_hx83112b.c
204
return error;
drivers/input/touchscreen/himax_hx83112b.c
207
error = input_register_device(ts->input_dev);
drivers/input/touchscreen/himax_hx83112b.c
208
if (error) {
drivers/input/touchscreen/himax_hx83112b.c
210
"Failed to register input device: %d\n", error);
drivers/input/touchscreen/himax_hx83112b.c
211
return error;
drivers/input/touchscreen/himax_hx83112b.c
294
int error;
drivers/input/touchscreen/himax_hx83112b.c
297
error = ts->chip->read_events(ts, &event, sizeof(event));
drivers/input/touchscreen/himax_hx83112b.c
298
if (error) {
drivers/input/touchscreen/himax_hx83112b.c
300
error);
drivers/input/touchscreen/himax_hx83112b.c
301
return error;
drivers/input/touchscreen/himax_hx83112b.c
316
int error;
drivers/input/touchscreen/himax_hx83112b.c
319
error = himax_handle_input(ts);
drivers/input/touchscreen/himax_hx83112b.c
320
if (error)
drivers/input/touchscreen/himax_hx83112b.c
328
int error;
drivers/input/touchscreen/himax_hx83112b.c
346
error = PTR_ERR_OR_ZERO(ts->regmap);
drivers/input/touchscreen/himax_hx83112b.c
347
if (error) {
drivers/input/touchscreen/himax_hx83112b.c
348
dev_err(dev, "Failed to initialize regmap: %d\n", error);
drivers/input/touchscreen/himax_hx83112b.c
349
return error;
drivers/input/touchscreen/himax_hx83112b.c
353
error = PTR_ERR_OR_ZERO(ts->gpiod_rst);
drivers/input/touchscreen/himax_hx83112b.c
354
if (error) {
drivers/input/touchscreen/himax_hx83112b.c
355
dev_err(dev, "Failed to get reset GPIO: %d\n", error);
drivers/input/touchscreen/himax_hx83112b.c
356
return error;
drivers/input/touchscreen/himax_hx83112b.c
362
error = himax_check_product_id(ts);
drivers/input/touchscreen/himax_hx83112b.c
363
if (error)
drivers/input/touchscreen/himax_hx83112b.c
364
return error;
drivers/input/touchscreen/himax_hx83112b.c
367
error = himax_input_register(ts);
drivers/input/touchscreen/himax_hx83112b.c
368
if (error)
drivers/input/touchscreen/himax_hx83112b.c
369
return error;
drivers/input/touchscreen/himax_hx83112b.c
371
error = devm_request_threaded_irq(dev, client->irq, NULL,
drivers/input/touchscreen/himax_hx83112b.c
374
if (error)
drivers/input/touchscreen/himax_hx83112b.c
375
return error;
drivers/input/touchscreen/himax_hx83112b.c
86
int error;
drivers/input/touchscreen/himax_hx83112b.c
88
error = regmap_write(ts->regmap, HIMAX_AHB_ADDR_CONTI,
drivers/input/touchscreen/himax_hx83112b.c
90
if (error)
drivers/input/touchscreen/himax_hx83112b.c
91
return error;
drivers/input/touchscreen/himax_hx83112b.c
93
error = regmap_write(ts->regmap, HIMAX_AHB_ADDR_INCR4,
drivers/input/touchscreen/himax_hx83112b.c
95
if (error)
drivers/input/touchscreen/himax_hx83112b.c
96
return error;
drivers/input/touchscreen/himax_hx852x.c
106
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/himax_hx852x.c
107
dev_err(&client->dev, "failed to read %#x: %d\n", cmd, error);
drivers/input/touchscreen/himax_hx852x.c
108
return error;
drivers/input/touchscreen/himax_hx852x.c
117
int error;
drivers/input/touchscreen/himax_hx852x.c
119
error = regulator_bulk_enable(ARRAY_SIZE(hx->supplies), hx->supplies);
drivers/input/touchscreen/himax_hx852x.c
120
if (error) {
drivers/input/touchscreen/himax_hx852x.c
121
dev_err(dev, "failed to enable regulators: %d\n", error);
drivers/input/touchscreen/himax_hx852x.c
122
return error;
drivers/input/touchscreen/himax_hx852x.c
136
int error;
drivers/input/touchscreen/himax_hx852x.c
138
error = i2c_smbus_write_byte(hx->client, HX852X_TS_SLEEP_OUT);
drivers/input/touchscreen/himax_hx852x.c
139
if (error) {
drivers/input/touchscreen/himax_hx852x.c
140
dev_err(dev, "failed to send TS_SLEEP_OUT: %d\n", error);
drivers/input/touchscreen/himax_hx852x.c
141
return error;
drivers/input/touchscreen/himax_hx852x.c
145
error = i2c_smbus_write_byte(hx->client, HX852X_TS_SENSE_ON);
drivers/input/touchscreen/himax_hx852x.c
146
if (error) {
drivers/input/touchscreen/himax_hx852x.c
147
dev_err(dev, "failed to send TS_SENSE_ON: %d\n", error);
drivers/input/touchscreen/himax_hx852x.c
148
return error;
drivers/input/touchscreen/himax_hx852x.c
158
int error;
drivers/input/touchscreen/himax_hx852x.c
160
error = i2c_smbus_write_byte(hx->client, HX852X_TS_SENSE_OFF);
drivers/input/touchscreen/himax_hx852x.c
161
if (error) {
drivers/input/touchscreen/himax_hx852x.c
162
dev_err(dev, "failed to send TS_SENSE_OFF: %d\n", error);
drivers/input/touchscreen/himax_hx852x.c
163
return error;
drivers/input/touchscreen/himax_hx852x.c
167
error = i2c_smbus_write_byte(hx->client, HX852X_TS_SLEEP_IN);
drivers/input/touchscreen/himax_hx852x.c
168
if (error) {
drivers/input/touchscreen/himax_hx852x.c
169
dev_err(dev, "failed to send TS_SLEEP_IN: %d\n", error);
drivers/input/touchscreen/himax_hx852x.c
170
return error;
drivers/input/touchscreen/himax_hx852x.c
180
int error;
drivers/input/touchscreen/himax_hx852x.c
182
error = regulator_bulk_disable(ARRAY_SIZE(hx->supplies), hx->supplies);
drivers/input/touchscreen/himax_hx852x.c
183
if (error) {
drivers/input/touchscreen/himax_hx852x.c
184
dev_err(dev, "failed to disable regulators: %d\n", error);
drivers/input/touchscreen/himax_hx852x.c
185
return error;
drivers/input/touchscreen/himax_hx852x.c
196
int error, error2;
drivers/input/touchscreen/himax_hx852x.c
198
error = hx852x_power_on(hx);
drivers/input/touchscreen/himax_hx852x.c
199
if (error)
drivers/input/touchscreen/himax_hx852x.c
200
return error;
drivers/input/touchscreen/himax_hx852x.c
203
error = hx852x_start(hx);
drivers/input/touchscreen/himax_hx852x.c
204
if (error)
drivers/input/touchscreen/himax_hx852x.c
207
error = hx852x_stop(hx);
drivers/input/touchscreen/himax_hx852x.c
208
if (error)
drivers/input/touchscreen/himax_hx852x.c
211
error = i2c_smbus_write_byte_data(hx->client, HX852X_REG_SRAM_SWITCH,
drivers/input/touchscreen/himax_hx852x.c
213
if (error)
drivers/input/touchscreen/himax_hx852x.c
216
error = i2c_smbus_write_word_data(hx->client, HX852X_REG_SRAM_ADDR,
drivers/input/touchscreen/himax_hx852x.c
218
if (error)
drivers/input/touchscreen/himax_hx852x.c
221
error = hx852x_i2c_read(hx, HX852X_REG_FLASH_RPLACE, &conf, sizeof(conf));
drivers/input/touchscreen/himax_hx852x.c
222
if (error)
drivers/input/touchscreen/himax_hx852x.c
234
error = -EINVAL;
drivers/input/touchscreen/himax_hx852x.c
245
error = error ?: error2;
drivers/input/touchscreen/himax_hx852x.c
248
return error ?: error2;
drivers/input/touchscreen/himax_hx852x.c
271
int error;
drivers/input/touchscreen/himax_hx852x.c
273
error = hx852x_i2c_read(hx, HX852X_READ_ALL_EVENTS, buf,
drivers/input/touchscreen/himax_hx852x.c
275
if (error)
drivers/input/touchscreen/himax_hx852x.c
276
return error;
drivers/input/touchscreen/himax_hx852x.c
309
int error;
drivers/input/touchscreen/himax_hx852x.c
311
error = hx852x_handle_events(hx);
drivers/input/touchscreen/himax_hx852x.c
312
if (error) {
drivers/input/touchscreen/himax_hx852x.c
314
"failed to handle events: %d\n", error);
drivers/input/touchscreen/himax_hx852x.c
324
int error;
drivers/input/touchscreen/himax_hx852x.c
326
error = hx852x_power_on(hx);
drivers/input/touchscreen/himax_hx852x.c
327
if (error)
drivers/input/touchscreen/himax_hx852x.c
328
return error;
drivers/input/touchscreen/himax_hx852x.c
330
error = hx852x_start(hx);
drivers/input/touchscreen/himax_hx852x.c
331
if (error) {
drivers/input/touchscreen/himax_hx852x.c
333
return error;
drivers/input/touchscreen/himax_hx852x.c
352
int error, count;
drivers/input/touchscreen/himax_hx852x.c
368
error = device_property_read_u32_array(dev, "linux,keycodes",
drivers/input/touchscreen/himax_hx852x.c
370
if (error) {
drivers/input/touchscreen/himax_hx852x.c
371
dev_err(dev, "failed to read linux,keycodes: %d\n", error);
drivers/input/touchscreen/himax_hx852x.c
372
return error;
drivers/input/touchscreen/himax_hx852x.c
382
int error, i;
drivers/input/touchscreen/himax_hx852x.c
411
error = devm_regulator_bulk_get(dev, ARRAY_SIZE(hx->supplies), hx->supplies);
drivers/input/touchscreen/himax_hx852x.c
412
if (error)
drivers/input/touchscreen/himax_hx852x.c
413
return dev_err_probe(dev, error, "failed to get regulators\n");
drivers/input/touchscreen/himax_hx852x.c
420
error = devm_request_threaded_irq(dev, client->irq, NULL, hx852x_interrupt,
drivers/input/touchscreen/himax_hx852x.c
422
if (error)
drivers/input/touchscreen/himax_hx852x.c
423
return dev_err_probe(dev, error, "failed to request irq %d", client->irq);
drivers/input/touchscreen/himax_hx852x.c
425
error = hx852x_read_config(hx);
drivers/input/touchscreen/himax_hx852x.c
426
if (error)
drivers/input/touchscreen/himax_hx852x.c
427
return error;
drivers/input/touchscreen/himax_hx852x.c
434
error = hx852x_parse_properties(hx);
drivers/input/touchscreen/himax_hx852x.c
435
if (error)
drivers/input/touchscreen/himax_hx852x.c
436
return error;
drivers/input/touchscreen/himax_hx852x.c
444
error = input_mt_init_slots(hx->input_dev, hx->max_fingers,
drivers/input/touchscreen/himax_hx852x.c
446
if (error)
drivers/input/touchscreen/himax_hx852x.c
447
return dev_err_probe(dev, error, "failed to init MT slots\n");
drivers/input/touchscreen/himax_hx852x.c
449
error = input_register_device(hx->input_dev);
drivers/input/touchscreen/himax_hx852x.c
450
if (error)
drivers/input/touchscreen/himax_hx852x.c
451
return dev_err_probe(dev, error, "failed to register input device\n");
drivers/input/touchscreen/himax_hx852x.c
86
int error;
drivers/input/touchscreen/hycon-hy46xx.c
106
int error;
drivers/input/touchscreen/hycon-hy46xx.c
110
error = regmap_bulk_read(tsdata->regmap, 0, rdbuf, sizeof(rdbuf));
drivers/input/touchscreen/hycon-hy46xx.c
111
if (error) {
drivers/input/touchscreen/hycon-hy46xx.c
113
error);
drivers/input/touchscreen/hycon-hy46xx.c
185
int error = 0;
drivers/input/touchscreen/hycon-hy46xx.c
190
error = regmap_read(tsdata->regmap, attr->address, &val);
drivers/input/touchscreen/hycon-hy46xx.c
191
if (error < 0) {
drivers/input/touchscreen/hycon-hy46xx.c
194
dattr->attr.name, error);
drivers/input/touchscreen/hycon-hy46xx.c
209
return error ?: count;
drivers/input/touchscreen/hycon-hy46xx.c
222
int error;
drivers/input/touchscreen/hycon-hy46xx.c
226
error = kstrtouint(buf, 0, &val);
drivers/input/touchscreen/hycon-hy46xx.c
227
if (error)
drivers/input/touchscreen/hycon-hy46xx.c
231
error = -ERANGE;
drivers/input/touchscreen/hycon-hy46xx.c
235
error = regmap_write(tsdata->regmap, attr->address, val);
drivers/input/touchscreen/hycon-hy46xx.c
236
if (error < 0) {
drivers/input/touchscreen/hycon-hy46xx.c
239
dattr->attr.name, error);
drivers/input/touchscreen/hycon-hy46xx.c
246
return error ?: count;
drivers/input/touchscreen/hycon-hy46xx.c
282
int error;
drivers/input/touchscreen/hycon-hy46xx.c
285
error = device_property_read_u32(dev, "hycon,threshold", &val);
drivers/input/touchscreen/hycon-hy46xx.c
286
if (!error) {
drivers/input/touchscreen/hycon-hy46xx.c
287
error = regmap_write(tsdata->regmap, HY46XX_THRESHOLD, val);
drivers/input/touchscreen/hycon-hy46xx.c
288
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
295
error = regmap_write(tsdata->regmap, HY46XX_GLOVE_EN, val_bool);
drivers/input/touchscreen/hycon-hy46xx.c
296
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
300
error = device_property_read_u32(dev, "hycon,report-speed-hz", &val);
drivers/input/touchscreen/hycon-hy46xx.c
301
if (!error) {
drivers/input/touchscreen/hycon-hy46xx.c
302
error = regmap_write(tsdata->regmap, HY46XX_REPORT_SPEED, val);
drivers/input/touchscreen/hycon-hy46xx.c
303
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
310
error = regmap_write(tsdata->regmap, HY46XX_PWR_NOISE_EN, val_bool);
drivers/input/touchscreen/hycon-hy46xx.c
311
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
315
error = device_property_read_u32(dev, "hycon,filter-data", &val);
drivers/input/touchscreen/hycon-hy46xx.c
316
if (!error) {
drivers/input/touchscreen/hycon-hy46xx.c
317
error = regmap_write(tsdata->regmap, HY46XX_FILTER_DATA, val);
drivers/input/touchscreen/hycon-hy46xx.c
318
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
324
error = device_property_read_u32(dev, "hycon,gain", &val);
drivers/input/touchscreen/hycon-hy46xx.c
325
if (!error) {
drivers/input/touchscreen/hycon-hy46xx.c
326
error = regmap_write(tsdata->regmap, HY46XX_GAIN, val);
drivers/input/touchscreen/hycon-hy46xx.c
327
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
333
error = device_property_read_u32(dev, "hycon,edge-offset", &val);
drivers/input/touchscreen/hycon-hy46xx.c
334
if (!error) {
drivers/input/touchscreen/hycon-hy46xx.c
335
error = regmap_write(tsdata->regmap, HY46XX_EDGE_OFFSET, val);
drivers/input/touchscreen/hycon-hy46xx.c
336
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
349
int error;
drivers/input/touchscreen/hycon-hy46xx.c
352
error = regmap_read(tsdata->regmap, HY46XX_THRESHOLD, &val);
drivers/input/touchscreen/hycon-hy46xx.c
353
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
357
error = regmap_read(tsdata->regmap, HY46XX_GLOVE_EN, &val);
drivers/input/touchscreen/hycon-hy46xx.c
358
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
362
error = regmap_read(tsdata->regmap, HY46XX_REPORT_SPEED, &val);
drivers/input/touchscreen/hycon-hy46xx.c
363
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
367
error = regmap_read(tsdata->regmap, HY46XX_PWR_NOISE_EN, &val);
drivers/input/touchscreen/hycon-hy46xx.c
368
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
372
error = regmap_read(tsdata->regmap, HY46XX_FILTER_DATA, &val);
drivers/input/touchscreen/hycon-hy46xx.c
373
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
377
error = regmap_read(tsdata->regmap, HY46XX_GAIN, &val);
drivers/input/touchscreen/hycon-hy46xx.c
378
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
382
error = regmap_read(tsdata->regmap, HY46XX_EDGE_OFFSET, &val);
drivers/input/touchscreen/hycon-hy46xx.c
383
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
387
error = regmap_read(tsdata->regmap, HY46XX_RX_NR_USED, &val);
drivers/input/touchscreen/hycon-hy46xx.c
388
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
392
error = regmap_read(tsdata->regmap, HY46XX_TX_NR_USED, &val);
drivers/input/touchscreen/hycon-hy46xx.c
393
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
397
error = regmap_read(tsdata->regmap, HY46XX_PWR_MODE, &val);
drivers/input/touchscreen/hycon-hy46xx.c
398
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
402
error = regmap_read(tsdata->regmap, HY46XX_FW_VERSION, &val);
drivers/input/touchscreen/hycon-hy46xx.c
403
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
407
error = regmap_read(tsdata->regmap, HY46XX_LIB_VERSION, &val);
drivers/input/touchscreen/hycon-hy46xx.c
408
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
412
error = regmap_read(tsdata->regmap, HY46XX_TP_INFO, &val);
drivers/input/touchscreen/hycon-hy46xx.c
413
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
417
error = regmap_read(tsdata->regmap, HY46XX_TP_CHIP_ID, &val);
drivers/input/touchscreen/hycon-hy46xx.c
418
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
422
error = regmap_read(tsdata->regmap, HY46XX_BOOT_VER, &val);
drivers/input/touchscreen/hycon-hy46xx.c
423
if (error < 0)
drivers/input/touchscreen/hycon-hy46xx.c
443
int error;
drivers/input/touchscreen/hycon-hy46xx.c
453
error = PTR_ERR(tsdata->vcc);
drivers/input/touchscreen/hycon-hy46xx.c
454
if (error != -EPROBE_DEFER)
drivers/input/touchscreen/hycon-hy46xx.c
456
"failed to request regulator: %d\n", error);
drivers/input/touchscreen/hycon-hy46xx.c
457
return error;
drivers/input/touchscreen/hycon-hy46xx.c
460
error = regulator_enable(tsdata->vcc);
drivers/input/touchscreen/hycon-hy46xx.c
461
if (error < 0) {
drivers/input/touchscreen/hycon-hy46xx.c
462
dev_err(&client->dev, "failed to enable vcc: %d\n", error);
drivers/input/touchscreen/hycon-hy46xx.c
463
return error;
drivers/input/touchscreen/hycon-hy46xx.c
466
error = devm_add_action_or_reset(&client->dev,
drivers/input/touchscreen/hycon-hy46xx.c
469
if (error)
drivers/input/touchscreen/hycon-hy46xx.c
470
return error;
drivers/input/touchscreen/hycon-hy46xx.c
475
error = PTR_ERR(tsdata->reset_gpio);
drivers/input/touchscreen/hycon-hy46xx.c
477
"Failed to request GPIO reset pin, error %d\n", error);
drivers/input/touchscreen/hycon-hy46xx.c
478
return error;
drivers/input/touchscreen/hycon-hy46xx.c
518
error = input_mt_init_slots(input, HY46XX_MAX_SUPPORTED_POINTS,
drivers/input/touchscreen/hycon-hy46xx.c
520
if (error) {
drivers/input/touchscreen/hycon-hy46xx.c
522
return error;
drivers/input/touchscreen/hycon-hy46xx.c
527
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/hycon-hy46xx.c
530
if (error) {
drivers/input/touchscreen/hycon-hy46xx.c
532
return error;
drivers/input/touchscreen/hycon-hy46xx.c
535
error = input_register_device(input);
drivers/input/touchscreen/hycon-hy46xx.c
536
if (error)
drivers/input/touchscreen/hycon-hy46xx.c
537
return error;
drivers/input/touchscreen/hynitron-cst816x.c
195
int error;
drivers/input/touchscreen/hynitron-cst816x.c
211
error = cst816x_parse_keycodes(dev, priv);
drivers/input/touchscreen/hynitron-cst816x.c
212
if (error)
drivers/input/touchscreen/hynitron-cst816x.c
215
error = cst816x_register_input(priv);
drivers/input/touchscreen/hynitron-cst816x.c
216
if (error)
drivers/input/touchscreen/hynitron-cst816x.c
217
return dev_err_probe(dev, error, "input register failed\n");
drivers/input/touchscreen/hynitron-cst816x.c
219
error = devm_request_threaded_irq(dev, client->irq,
drivers/input/touchscreen/hynitron-cst816x.c
222
if (error)
drivers/input/touchscreen/hynitron-cst816x.c
223
return dev_err_probe(dev, error, "irq request failed\n");
drivers/input/touchscreen/hynitron-cst816x.c
39
int error;
drivers/input/touchscreen/hynitron-cst816x.c
44
error = count;
drivers/input/touchscreen/hynitron-cst816x.c
45
dev_err(dev, "failed to count keys: %d\n", error);
drivers/input/touchscreen/hynitron-cst816x.c
46
return error;
drivers/input/touchscreen/hynitron-cst816x.c
53
error = device_property_read_u32_array(dev, "linux,keycodes",
drivers/input/touchscreen/hynitron-cst816x.c
56
if (error) {
drivers/input/touchscreen/hynitron-cst816x.c
57
dev_err(dev, "failed to read keycodes: %d\n", error);
drivers/input/touchscreen/hynitron-cst816x.c
58
return error;
drivers/input/touchscreen/hynitron-cst816x.c
82
int error;
drivers/input/touchscreen/hynitron-cst816x.c
87
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/hynitron-cst816x.c
88
dev_err(&priv->client->dev, "i2c rx err: %d\n", error);
drivers/input/touchscreen/hynitron-cst816x.c
89
return error;
drivers/input/touchscreen/ili210x.c
1013
error = ili251x_firmware_update_cached_state(dev);
drivers/input/touchscreen/ili210x.c
1014
if (error)
drivers/input/touchscreen/ili210x.c
1016
error);
drivers/input/touchscreen/ili210x.c
1020
error = input_mt_init_slots(input, priv->chip->max_touches,
drivers/input/touchscreen/ili210x.c
1022
if (error)
drivers/input/touchscreen/ili210x.c
1023
return dev_err_probe(dev, error, "Unable to set up slots\n");
drivers/input/touchscreen/ili210x.c
1028
error = devm_request_threaded_irq(dev, client->irq, NULL, ili210x_irq,
drivers/input/touchscreen/ili210x.c
1030
if (error)
drivers/input/touchscreen/ili210x.c
1031
return dev_err_probe(dev, error, "Unable to request touchscreen IRQ\n");
drivers/input/touchscreen/ili210x.c
1033
error = input_setup_polling(input, ili210x_work_i2c_poll);
drivers/input/touchscreen/ili210x.c
1034
if (error)
drivers/input/touchscreen/ili210x.c
1035
return dev_err_probe(dev, error, "Could not set up polling mode\n");
drivers/input/touchscreen/ili210x.c
1040
error = devm_add_action_or_reset(dev, ili210x_stop, priv);
drivers/input/touchscreen/ili210x.c
1041
if (error)
drivers/input/touchscreen/ili210x.c
1042
return error;
drivers/input/touchscreen/ili210x.c
1044
error = input_register_device(priv->input);
drivers/input/touchscreen/ili210x.c
1045
if (error)
drivers/input/touchscreen/ili210x.c
1046
return dev_err_probe(dev, error, "Cannot register input device\n");
drivers/input/touchscreen/ili210x.c
138
int error;
drivers/input/touchscreen/ili210x.c
144
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/ili210x.c
145
dev_err(&client->dev, "%s failed: %d\n", __func__, error);
drivers/input/touchscreen/ili210x.c
146
return error;
drivers/input/touchscreen/ili210x.c
231
int error;
drivers/input/touchscreen/ili210x.c
244
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/ili210x.c
245
dev_err(&client->dev, "%s failed: %d\n", __func__, error);
drivers/input/touchscreen/ili210x.c
257
int error;
drivers/input/touchscreen/ili210x.c
259
error = ili251x_read_reg_common(client, REG_TOUCHDATA,
drivers/input/touchscreen/ili210x.c
261
if (!error && data[0] == 2) {
drivers/input/touchscreen/ili210x.c
262
error = i2c_master_recv(client, data + ILI251X_DATA_SIZE1,
drivers/input/touchscreen/ili210x.c
264
if (error >= 0)
drivers/input/touchscreen/ili210x.c
265
error = error == ILI251X_DATA_SIZE2 ? 0 : -EIO;
drivers/input/touchscreen/ili210x.c
268
return error;
drivers/input/touchscreen/ili210x.c
339
int error;
drivers/input/touchscreen/ili210x.c
343
error = chip->get_touch_data(client, touchdata);
drivers/input/touchscreen/ili210x.c
344
if (error) {
drivers/input/touchscreen/ili210x.c
346
"Unable to get touch data: %d\n", error);
drivers/input/touchscreen/ili210x.c
382
int error;
drivers/input/touchscreen/ili210x.c
385
error = priv->chip->read_reg(client, REG_PANEL_INFO, &rs, sizeof(rs));
drivers/input/touchscreen/ili210x.c
386
if (!error) {
drivers/input/touchscreen/ili210x.c
392
error = -EINVAL;
drivers/input/touchscreen/ili210x.c
401
if (error) {
drivers/input/touchscreen/ili210x.c
412
return error;
drivers/input/touchscreen/ili210x.c
419
int error;
drivers/input/touchscreen/ili210x.c
423
error = priv->chip->read_reg(client, REG_FIRMWARE_VERSION,
drivers/input/touchscreen/ili210x.c
425
if (!error)
drivers/input/touchscreen/ili210x.c
428
return error;
drivers/input/touchscreen/ili210x.c
435
int error;
drivers/input/touchscreen/ili210x.c
439
error = priv->chip->read_reg(client, REG_KERNEL_VERSION,
drivers/input/touchscreen/ili210x.c
441
if (!error)
drivers/input/touchscreen/ili210x.c
444
return error;
drivers/input/touchscreen/ili210x.c
451
int error;
drivers/input/touchscreen/ili210x.c
455
error = priv->chip->read_reg(client, REG_PROTOCOL_VERSION,
drivers/input/touchscreen/ili210x.c
457
if (!error)
drivers/input/touchscreen/ili210x.c
460
return error;
drivers/input/touchscreen/ili210x.c
467
int error;
drivers/input/touchscreen/ili210x.c
471
error = priv->chip->read_reg(client, REG_GET_MODE, &md, sizeof(md));
drivers/input/touchscreen/ili210x.c
472
if (!error)
drivers/input/touchscreen/ili210x.c
475
return error;
drivers/input/touchscreen/ili210x.c
482
int error;
drivers/input/touchscreen/ili210x.c
491
error = ili251x_firmware_update_resolution(dev);
drivers/input/touchscreen/ili210x.c
492
if (error)
drivers/input/touchscreen/ili210x.c
493
return error;
drivers/input/touchscreen/ili210x.c
495
error = ili251x_firmware_update_firmware_version(dev);
drivers/input/touchscreen/ili210x.c
496
if (error)
drivers/input/touchscreen/ili210x.c
497
return error;
drivers/input/touchscreen/ili210x.c
499
error = ili251x_firmware_update_kernel_version(dev);
drivers/input/touchscreen/ili210x.c
500
if (error)
drivers/input/touchscreen/ili210x.c
501
return error;
drivers/input/touchscreen/ili210x.c
503
error = ili251x_firmware_update_protocol_version(dev);
drivers/input/touchscreen/ili210x.c
504
if (error)
drivers/input/touchscreen/ili210x.c
505
return error;
drivers/input/touchscreen/ili210x.c
507
error = ili251x_firmware_update_ic_mode(dev);
drivers/input/touchscreen/ili210x.c
508
if (error)
drivers/input/touchscreen/ili210x.c
509
return error;
drivers/input/touchscreen/ili210x.c
645
int error;
drivers/input/touchscreen/ili210x.c
647
error = priv->chip->read_reg(client, REG_GET_MODE, md, sizeof(md));
drivers/input/touchscreen/ili210x.c
648
if (error)
drivers/input/touchscreen/ili210x.c
649
return error;
drivers/input/touchscreen/ili210x.c
656
error = i2c_master_send(client, cmd_wren, sizeof(cmd_wren));
drivers/input/touchscreen/ili210x.c
657
if (error != sizeof(cmd_wren))
drivers/input/touchscreen/ili210x.c
663
error = i2c_master_send(client, &cmd_mode, 1);
drivers/input/touchscreen/ili210x.c
664
if (error != 1)
drivers/input/touchscreen/ili210x.c
670
error = priv->chip->read_reg(client, REG_GET_MODE, md, sizeof(md));
drivers/input/touchscreen/ili210x.c
671
if (error)
drivers/input/touchscreen/ili210x.c
672
return error;
drivers/input/touchscreen/ili210x.c
684
int error, i = 0;
drivers/input/touchscreen/ili210x.c
689
error = priv->chip->read_reg(client, REG_IC_BUSY, &data, 1);
drivers/input/touchscreen/ili210x.c
690
if (error)
drivers/input/touchscreen/ili210x.c
691
return error;
drivers/input/touchscreen/ili210x.c
708
int error;
drivers/input/touchscreen/ili210x.c
724
error = i2c_master_send(client, cmd_wr, sizeof(cmd_wr));
drivers/input/touchscreen/ili210x.c
725
if (error != sizeof(cmd_wr))
drivers/input/touchscreen/ili210x.c
728
error = ili251x_firmware_busy(client);
drivers/input/touchscreen/ili210x.c
729
if (error)
drivers/input/touchscreen/ili210x.c
730
return error;
drivers/input/touchscreen/ili210x.c
735
error = i2c_master_send(client, fw_data, 33);
drivers/input/touchscreen/ili210x.c
736
if (error != sizeof(fw_data))
drivers/input/touchscreen/ili210x.c
737
return error;
drivers/input/touchscreen/ili210x.c
738
error = ili251x_firmware_busy(client);
drivers/input/touchscreen/ili210x.c
739
if (error)
drivers/input/touchscreen/ili210x.c
740
return error;
drivers/input/touchscreen/ili210x.c
743
error = i2c_master_send(client, &cmd_crc, 1);
drivers/input/touchscreen/ili210x.c
744
if (error != 1)
drivers/input/touchscreen/ili210x.c
747
error = ili251x_firmware_busy(client);
drivers/input/touchscreen/ili210x.c
748
if (error)
drivers/input/touchscreen/ili210x.c
749
return error;
drivers/input/touchscreen/ili210x.c
751
error = priv->chip->read_reg(client, REG_READ_DATA_CRC,
drivers/input/touchscreen/ili210x.c
753
if (error)
drivers/input/touchscreen/ili210x.c
754
return error;
drivers/input/touchscreen/ili210x.c
766
int error;
drivers/input/touchscreen/ili210x.c
768
error = i2c_master_send(client, cmd_reset, sizeof(cmd_reset));
drivers/input/touchscreen/ili210x.c
769
if (error != sizeof(cmd_reset))
drivers/input/touchscreen/ili210x.c
789
int error;
drivers/input/touchscreen/ili210x.c
792
error = ili251x_firmware_reset(client);
drivers/input/touchscreen/ili210x.c
793
if (error)
drivers/input/touchscreen/ili210x.c
794
return error;
drivers/input/touchscreen/ili210x.c
798
error = ili251x_switch_ic_mode(client, REG_SET_MODE_BL);
drivers/input/touchscreen/ili210x.c
799
if (!error)
drivers/input/touchscreen/ili210x.c
803
if (error)
drivers/input/touchscreen/ili210x.c
804
return error;
drivers/input/touchscreen/ili210x.c
810
error = ili251x_firmware_write_to_ic(dev, fwbuf, 0xf000, df_end, 1);
drivers/input/touchscreen/ili210x.c
811
if (error) {
drivers/input/touchscreen/ili210x.c
812
dev_err(dev, "DF firmware update failed, error=%d\n", error);
drivers/input/touchscreen/ili210x.c
813
return error;
drivers/input/touchscreen/ili210x.c
818
error = ili251x_firmware_write_to_ic(dev, fwbuf, 0x2000, ac_end, 0);
drivers/input/touchscreen/ili210x.c
819
if (error) {
drivers/input/touchscreen/ili210x.c
820
dev_err(dev, "AC firmware update failed, error=%d\n", error);
drivers/input/touchscreen/ili210x.c
821
return error;
drivers/input/touchscreen/ili210x.c
828
error = ili251x_switch_ic_mode(client, REG_SET_MODE_AP);
drivers/input/touchscreen/ili210x.c
829
if (!error)
drivers/input/touchscreen/ili210x.c
833
if (error)
drivers/input/touchscreen/ili210x.c
834
return error;
drivers/input/touchscreen/ili210x.c
838
error = ili251x_firmware_update_cached_state(dev);
drivers/input/touchscreen/ili210x.c
839
if (error)
drivers/input/touchscreen/ili210x.c
840
return error;
drivers/input/touchscreen/ili210x.c
851
int error;
drivers/input/touchscreen/ili210x.c
857
error = ili210x_do_firmware_update(priv, fwbuf, ac_end, df_end);
drivers/input/touchscreen/ili210x.c
861
dev_dbg(dev, "Firmware update ended, error=%i\n", error);
drivers/input/touchscreen/ili210x.c
863
return error;
drivers/input/touchscreen/ili210x.c
873
int error;
drivers/input/touchscreen/ili210x.c
876
error = request_ihex_firmware(&fw, fwname, dev);
drivers/input/touchscreen/ili210x.c
877
if (error) {
drivers/input/touchscreen/ili210x.c
879
fwname, error);
drivers/input/touchscreen/ili210x.c
880
return error;
drivers/input/touchscreen/ili210x.c
885
error = PTR_ERR_OR_ZERO(fwbuf);
drivers/input/touchscreen/ili210x.c
886
if (error)
drivers/input/touchscreen/ili210x.c
887
return error;
drivers/input/touchscreen/ili210x.c
89
int error, ret;
drivers/input/touchscreen/ili210x.c
898
error = ili210x_firmware_update(dev, fwbuf, ac_end, df_end);
drivers/input/touchscreen/ili210x.c
900
error = ili210x_firmware_update(dev, fwbuf, ac_end, df_end);
drivers/input/touchscreen/ili210x.c
903
return error ?: count;
drivers/input/touchscreen/ili210x.c
93
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/ili210x.c
94
dev_err(&client->dev, "%s failed: %d\n", __func__, error);
drivers/input/touchscreen/ili210x.c
95
return error;
drivers/input/touchscreen/ili210x.c
965
int error;
drivers/input/touchscreen/ili210x.c
981
error = devm_add_action_or_reset(dev, ili210x_power_down,
drivers/input/touchscreen/ili210x.c
983
if (error)
drivers/input/touchscreen/ili210x.c
984
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
115
error = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
drivers/input/touchscreen/ilitek_ts_i2c.c
116
if (error < 0)
drivers/input/touchscreen/ilitek_ts_i2c.c
117
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
120
error = i2c_transfer(client->adapter, msgs, 1);
drivers/input/touchscreen/ilitek_ts_i2c.c
121
if (error < 0)
drivers/input/touchscreen/ilitek_ts_i2c.c
122
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
128
error = i2c_transfer(client->adapter, msgs + 1, 1);
drivers/input/touchscreen/ilitek_ts_i2c.c
129
if (error < 0)
drivers/input/touchscreen/ilitek_ts_i2c.c
130
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
151
int error = 0;
drivers/input/touchscreen/ilitek_ts_i2c.c
161
error = ilitek_i2c_write_and_read(ts, NULL, 0, 0, buf, 64);
drivers/input/touchscreen/ilitek_ts_i2c.c
162
if (error) {
drivers/input/touchscreen/ilitek_ts_i2c.c
163
dev_err(dev, "get touch info failed, err:%d\n", error);
drivers/input/touchscreen/ilitek_ts_i2c.c
164
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
181
error = ilitek_i2c_write_and_read(ts, NULL, 0, 0,
drivers/input/touchscreen/ilitek_ts_i2c.c
183
if (error) {
drivers/input/touchscreen/ilitek_ts_i2c.c
185
count, error);
drivers/input/touchscreen/ilitek_ts_i2c.c
186
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
222
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
228
error = ts->ptl_cb_func[idx].func(ts, cmd, inbuf, outbuf);
drivers/input/touchscreen/ilitek_ts_i2c.c
229
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
230
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
238
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
242
error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 3);
drivers/input/touchscreen/ilitek_ts_i2c.c
243
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
244
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
255
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
259
error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 32);
drivers/input/touchscreen/ilitek_ts_i2c.c
260
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
261
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
273
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
277
error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 8);
drivers/input/touchscreen/ilitek_ts_i2c.c
278
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
279
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
289
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
293
error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 8);
drivers/input/touchscreen/ilitek_ts_i2c.c
294
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
295
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
308
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
312
error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 15);
drivers/input/touchscreen/ilitek_ts_i2c.c
313
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
314
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
329
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
333
error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 2);
drivers/input/touchscreen/ilitek_ts_i2c.c
334
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
335
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
408
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
414
error = api_protocol_set_cmd(ts, GET_PTL_VER, NULL, outbuf);
drivers/input/touchscreen/ilitek_ts_i2c.c
415
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
416
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
430
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
432
error = api_protocol_set_cmd(ts, GET_PTL_VER, NULL, outbuf);
drivers/input/touchscreen/ilitek_ts_i2c.c
433
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
434
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
436
error = api_protocol_set_cmd(ts, GET_MCU_VER, NULL, outbuf);
drivers/input/touchscreen/ilitek_ts_i2c.c
437
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
438
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
440
error = api_protocol_set_cmd(ts, GET_FW_VER, NULL, outbuf);
drivers/input/touchscreen/ilitek_ts_i2c.c
441
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
442
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
445
error = api_protocol_set_cmd(ts, GET_SCRN_RES, NULL,
drivers/input/touchscreen/ilitek_ts_i2c.c
447
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
448
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
451
error = api_protocol_set_cmd(ts, GET_TP_RES, NULL, outbuf);
drivers/input/touchscreen/ilitek_ts_i2c.c
452
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
453
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
455
error = api_protocol_set_cmd(ts, GET_IC_MODE, NULL, outbuf);
drivers/input/touchscreen/ilitek_ts_i2c.c
456
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
457
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
464
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
484
error = input_mt_init_slots(input, ts->max_tp,
drivers/input/touchscreen/ilitek_ts_i2c.c
486
if (error) {
drivers/input/touchscreen/ilitek_ts_i2c.c
487
dev_err(dev, "initialize MT slots failed, err:%d\n", error);
drivers/input/touchscreen/ilitek_ts_i2c.c
488
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
491
error = input_register_device(input);
drivers/input/touchscreen/ilitek_ts_i2c.c
492
if (error) {
drivers/input/touchscreen/ilitek_ts_i2c.c
493
dev_err(dev, "register input device failed, err:%d\n", error);
drivers/input/touchscreen/ilitek_ts_i2c.c
494
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
503
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
505
error = ilitek_process_and_report_v6(ts);
drivers/input/touchscreen/ilitek_ts_i2c.c
506
if (error < 0) {
drivers/input/touchscreen/ilitek_ts_i2c.c
507
dev_err(&ts->client->dev, "[%s] err:%d\n", __func__, error);
drivers/input/touchscreen/ilitek_ts_i2c.c
551
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
567
error = PTR_ERR(ts->reset_gpio);
drivers/input/touchscreen/ilitek_ts_i2c.c
568
dev_err(dev, "request gpiod failed: %d", error);
drivers/input/touchscreen/ilitek_ts_i2c.c
569
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
574
error = ilitek_protocol_init(ts);
drivers/input/touchscreen/ilitek_ts_i2c.c
575
if (error) {
drivers/input/touchscreen/ilitek_ts_i2c.c
576
dev_err(dev, "protocol init failed: %d", error);
drivers/input/touchscreen/ilitek_ts_i2c.c
577
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
580
error = ilitek_read_tp_info(ts, true);
drivers/input/touchscreen/ilitek_ts_i2c.c
581
if (error) {
drivers/input/touchscreen/ilitek_ts_i2c.c
582
dev_err(dev, "read tp info failed: %d", error);
drivers/input/touchscreen/ilitek_ts_i2c.c
583
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
586
error = ilitek_input_dev_init(dev, ts);
drivers/input/touchscreen/ilitek_ts_i2c.c
587
if (error) {
drivers/input/touchscreen/ilitek_ts_i2c.c
588
dev_err(dev, "input dev init failed: %d", error);
drivers/input/touchscreen/ilitek_ts_i2c.c
589
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
592
error = devm_request_threaded_irq(dev, ts->client->irq,
drivers/input/touchscreen/ilitek_ts_i2c.c
595
if (error) {
drivers/input/touchscreen/ilitek_ts_i2c.c
596
dev_err(dev, "request threaded irq failed: %d\n", error);
drivers/input/touchscreen/ilitek_ts_i2c.c
597
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
607
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
612
error = api_protocol_set_cmd(ts, SET_IC_SLEEP, NULL, NULL);
drivers/input/touchscreen/ilitek_ts_i2c.c
613
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
614
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
624
int error;
drivers/input/touchscreen/ilitek_ts_i2c.c
627
error = api_protocol_set_cmd(ts, SET_IC_WAKE, NULL, NULL);
drivers/input/touchscreen/ilitek_ts_i2c.c
628
if (error)
drivers/input/touchscreen/ilitek_ts_i2c.c
629
return error;
drivers/input/touchscreen/ilitek_ts_i2c.c
97
int error;
drivers/input/touchscreen/imagis.c
101
return error;
drivers/input/touchscreen/imagis.c
110
int error;
drivers/input/touchscreen/imagis.c
112
error = imagis_i2c_read_reg(ts, ts->tdata->interrupt_msg_cmd, &intr_message);
drivers/input/touchscreen/imagis.c
113
if (error) {
drivers/input/touchscreen/imagis.c
115
"failed to read the interrupt message: %d\n", error);
drivers/input/touchscreen/imagis.c
131
error = imagis_i2c_read_reg(ts,
drivers/input/touchscreen/imagis.c
135
error = imagis_i2c_read_reg(ts,
drivers/input/touchscreen/imagis.c
137
if (error) {
drivers/input/touchscreen/imagis.c
140
i, error);
drivers/input/touchscreen/imagis.c
177
int error;
drivers/input/touchscreen/imagis.c
179
error = regulator_bulk_enable(ARRAY_SIZE(ts->supplies), ts->supplies);
drivers/input/touchscreen/imagis.c
180
if (error)
drivers/input/touchscreen/imagis.c
181
return error;
drivers/input/touchscreen/imagis.c
190
int error;
drivers/input/touchscreen/imagis.c
192
error = imagis_power_on(ts);
drivers/input/touchscreen/imagis.c
193
if (error)
drivers/input/touchscreen/imagis.c
194
return error;
drivers/input/touchscreen/imagis.c
227
int error;
drivers/input/touchscreen/imagis.c
271
error = input_mt_init_slots(input_dev,
drivers/input/touchscreen/imagis.c
274
if (error) {
drivers/input/touchscreen/imagis.c
276
"Failed to initialize MT slots: %d", error);
drivers/input/touchscreen/imagis.c
277
return error;
drivers/input/touchscreen/imagis.c
280
error = input_register_device(input_dev);
drivers/input/touchscreen/imagis.c
281
if (error) {
drivers/input/touchscreen/imagis.c
283
"Failed to register input device: %d", error);
drivers/input/touchscreen/imagis.c
284
return error;
drivers/input/touchscreen/imagis.c
305
int chip_id, error;
drivers/input/touchscreen/imagis.c
319
error = imagis_init_regulators(ts);
drivers/input/touchscreen/imagis.c
320
if (error) {
drivers/input/touchscreen/imagis.c
321
dev_err(dev, "regulator init error: %d\n", error);
drivers/input/touchscreen/imagis.c
322
return error;
drivers/input/touchscreen/imagis.c
325
error = imagis_power_on(ts);
drivers/input/touchscreen/imagis.c
326
if (error) {
drivers/input/touchscreen/imagis.c
327
dev_err(dev, "failed to enable regulators: %d\n", error);
drivers/input/touchscreen/imagis.c
328
return error;
drivers/input/touchscreen/imagis.c
331
error = devm_add_action_or_reset(dev, imagis_power_off, ts);
drivers/input/touchscreen/imagis.c
332
if (error) {
drivers/input/touchscreen/imagis.c
333
dev_err(dev, "failed to install poweroff action: %d\n", error);
drivers/input/touchscreen/imagis.c
334
return error;
drivers/input/touchscreen/imagis.c
337
error = imagis_i2c_read_reg(ts, ts->tdata->whoami_cmd, &chip_id);
drivers/input/touchscreen/imagis.c
338
if (error) {
drivers/input/touchscreen/imagis.c
339
dev_err(dev, "chip ID read failure: %d\n", error);
drivers/input/touchscreen/imagis.c
340
return error;
drivers/input/touchscreen/imagis.c
348
error = devm_request_threaded_irq(dev, i2c->irq,
drivers/input/touchscreen/imagis.c
352
if (error) {
drivers/input/touchscreen/imagis.c
354
i2c->irq, error);
drivers/input/touchscreen/imagis.c
355
return error;
drivers/input/touchscreen/imagis.c
358
error = imagis_init_input_dev(ts);
drivers/input/touchscreen/imagis.c
359
if (error)
drivers/input/touchscreen/imagis.c
360
return error;
drivers/input/touchscreen/imagis.c
84
int ret, error;
drivers/input/touchscreen/imagis.c
95
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/imagis.c
98
__func__, error, ret);
drivers/input/touchscreen/ipaq-micro-ts.c
109
error = input_register_device(ts->input);
drivers/input/touchscreen/ipaq-micro-ts.c
110
if (error) {
drivers/input/touchscreen/ipaq-micro-ts.c
112
return error;
drivers/input/touchscreen/ipaq-micro-ts.c
83
int error;
drivers/input/touchscreen/iqs5xx.c
1000
return error;
drivers/input/touchscreen/iqs5xx.c
1007
int error = 0;
drivers/input/touchscreen/iqs5xx.c
1010
return error;
drivers/input/touchscreen/iqs5xx.c
1015
error = iqs5xx_set_state(iqs5xx->client, IQS5XX_RESUME);
drivers/input/touchscreen/iqs5xx.c
1019
return error;
drivers/input/touchscreen/iqs5xx.c
1027
int error;
drivers/input/touchscreen/iqs5xx.c
1039
error = PTR_ERR(iqs5xx->reset_gpio);
drivers/input/touchscreen/iqs5xx.c
1040
dev_err(&client->dev, "Failed to request GPIO: %d\n", error);
drivers/input/touchscreen/iqs5xx.c
1041
return error;
drivers/input/touchscreen/iqs5xx.c
1046
error = iqs5xx_dev_init(client);
drivers/input/touchscreen/iqs5xx.c
1047
if (error)
drivers/input/touchscreen/iqs5xx.c
1048
return error;
drivers/input/touchscreen/iqs5xx.c
1050
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/iqs5xx.c
1053
if (error) {
drivers/input/touchscreen/iqs5xx.c
1054
dev_err(&client->dev, "Failed to request IRQ: %d\n", error);
drivers/input/touchscreen/iqs5xx.c
1055
return error;
drivers/input/touchscreen/iqs5xx.c
1059
error = input_register_device(iqs5xx->input);
drivers/input/touchscreen/iqs5xx.c
1060
if (error)
drivers/input/touchscreen/iqs5xx.c
1063
error);
drivers/input/touchscreen/iqs5xx.c
1066
return error;
drivers/input/touchscreen/iqs5xx.c
179
int error;
drivers/input/touchscreen/iqs5xx.c
181
error = iqs5xx_read_burst(client, reg, &val_buf, sizeof(val_buf));
drivers/input/touchscreen/iqs5xx.c
182
if (error)
drivers/input/touchscreen/iqs5xx.c
183
return error;
drivers/input/touchscreen/iqs5xx.c
331
int error, i, j;
drivers/input/touchscreen/iqs5xx.c
343
error = iqs5xx_bl_cmd(client, IQS5XX_BL_CMD_VER, 0);
drivers/input/touchscreen/iqs5xx.c
344
if (!error)
drivers/input/touchscreen/iqs5xx.c
346
else if (error != -EINVAL)
drivers/input/touchscreen/iqs5xx.c
349
return error;
drivers/input/touchscreen/iqs5xx.c
353
dev_err(&client->dev, "Failed to open bootloader: %d\n", error);
drivers/input/touchscreen/iqs5xx.c
355
return error;
drivers/input/touchscreen/iqs5xx.c
492
int error;
drivers/input/touchscreen/iqs5xx.c
508
error = iqs5xx_read_word(client, IQS5XX_X_RES, &max_x);
drivers/input/touchscreen/iqs5xx.c
509
if (error)
drivers/input/touchscreen/iqs5xx.c
510
return error;
drivers/input/touchscreen/iqs5xx.c
512
error = iqs5xx_read_word(client, IQS5XX_Y_RES, &max_y);
drivers/input/touchscreen/iqs5xx.c
513
if (error)
drivers/input/touchscreen/iqs5xx.c
514
return error;
drivers/input/touchscreen/iqs5xx.c
533
error = iqs5xx_write_word(client, IQS5XX_X_RES, prop->max_x);
drivers/input/touchscreen/iqs5xx.c
534
if (error)
drivers/input/touchscreen/iqs5xx.c
535
return error;
drivers/input/touchscreen/iqs5xx.c
539
error = iqs5xx_write_word(client, IQS5XX_Y_RES, prop->max_y);
drivers/input/touchscreen/iqs5xx.c
540
if (error)
drivers/input/touchscreen/iqs5xx.c
541
return error;
drivers/input/touchscreen/iqs5xx.c
544
error = input_mt_init_slots(input, IQS5XX_NUM_CONTACTS,
drivers/input/touchscreen/iqs5xx.c
546
if (error)
drivers/input/touchscreen/iqs5xx.c
548
error);
drivers/input/touchscreen/iqs5xx.c
550
return error;
drivers/input/touchscreen/iqs5xx.c
557
int error;
drivers/input/touchscreen/iqs5xx.c
560
error = iqs5xx_read_burst(client, IQS5XX_PROD_NUM,
drivers/input/touchscreen/iqs5xx.c
562
if (error)
drivers/input/touchscreen/iqs5xx.c
596
error = iqs5xx_read_burst(client, IQS5XX_EXP_FILE,
drivers/input/touchscreen/iqs5xx.c
598
if (error)
drivers/input/touchscreen/iqs5xx.c
599
return error;
drivers/input/touchscreen/iqs5xx.c
601
error = iqs5xx_axis_init(client);
drivers/input/touchscreen/iqs5xx.c
602
if (error)
drivers/input/touchscreen/iqs5xx.c
603
return error;
drivers/input/touchscreen/iqs5xx.c
605
error = iqs5xx_write_byte(client, IQS5XX_SYS_CTRL0, IQS5XX_ACK_RESET);
drivers/input/touchscreen/iqs5xx.c
606
if (error)
drivers/input/touchscreen/iqs5xx.c
607
return error;
drivers/input/touchscreen/iqs5xx.c
609
error = iqs5xx_write_byte(client, IQS5XX_SYS_CFG0,
drivers/input/touchscreen/iqs5xx.c
612
if (error)
drivers/input/touchscreen/iqs5xx.c
613
return error;
drivers/input/touchscreen/iqs5xx.c
615
error = iqs5xx_write_byte(client, IQS5XX_SYS_CFG1,
drivers/input/touchscreen/iqs5xx.c
617
if (error)
drivers/input/touchscreen/iqs5xx.c
618
return error;
drivers/input/touchscreen/iqs5xx.c
620
error = iqs5xx_write_byte(client, IQS5XX_END_COMM, 0);
drivers/input/touchscreen/iqs5xx.c
621
if (error)
drivers/input/touchscreen/iqs5xx.c
622
return error;
drivers/input/touchscreen/iqs5xx.c
643
int error, i;
drivers/input/touchscreen/iqs5xx.c
653
error = iqs5xx_read_burst(client, IQS5XX_SYS_INFO0,
drivers/input/touchscreen/iqs5xx.c
655
if (error)
drivers/input/touchscreen/iqs5xx.c
661
error = iqs5xx_dev_init(client);
drivers/input/touchscreen/iqs5xx.c
662
if (error) {
drivers/input/touchscreen/iqs5xx.c
664
"Failed to re-initialize device: %d\n", error);
drivers/input/touchscreen/iqs5xx.c
689
error = iqs5xx_write_byte(client, IQS5XX_END_COMM, 0);
drivers/input/touchscreen/iqs5xx.c
690
if (error)
drivers/input/touchscreen/iqs5xx.c
709
int error, i;
drivers/input/touchscreen/iqs5xx.c
725
error = request_firmware(&fw, fw_file, &client->dev);
drivers/input/touchscreen/iqs5xx.c
726
if (error) {
drivers/input/touchscreen/iqs5xx.c
728
fw_file, error);
drivers/input/touchscreen/iqs5xx.c
729
return error;
drivers/input/touchscreen/iqs5xx.c
735
error = -EINVAL;
drivers/input/touchscreen/iqs5xx.c
744
error = -EINVAL;
drivers/input/touchscreen/iqs5xx.c
748
error = hex2bin(rec_hdr, rec->len, sizeof(rec_hdr));
drivers/input/touchscreen/iqs5xx.c
749
if (error) {
drivers/input/touchscreen/iqs5xx.c
761
error = -EINVAL;
drivers/input/touchscreen/iqs5xx.c
766
error = hex2bin(rec_data, rec->data, rec_len);
drivers/input/touchscreen/iqs5xx.c
767
if (error) {
drivers/input/touchscreen/iqs5xx.c
773
error = hex2bin(&rec_chksm,
drivers/input/touchscreen/iqs5xx.c
775
if (error) {
drivers/input/touchscreen/iqs5xx.c
792
error = -EINVAL;
drivers/input/touchscreen/iqs5xx.c
803
error = -EINVAL;
drivers/input/touchscreen/iqs5xx.c
814
error = -EINVAL;
drivers/input/touchscreen/iqs5xx.c
817
if (error)
drivers/input/touchscreen/iqs5xx.c
830
return error;
drivers/input/touchscreen/iqs5xx.c
836
int error, error_init = 0;
drivers/input/touchscreen/iqs5xx.c
843
error = iqs5xx_fw_file_parse(client, fw_file, pmap);
drivers/input/touchscreen/iqs5xx.c
844
if (error)
drivers/input/touchscreen/iqs5xx.c
858
error = iqs5xx_bl_cmd(client, IQS5XX_BL_CMD_VER, 0);
drivers/input/touchscreen/iqs5xx.c
859
if (error) {
drivers/input/touchscreen/iqs5xx.c
860
error = iqs5xx_bl_open(client);
drivers/input/touchscreen/iqs5xx.c
861
if (error)
drivers/input/touchscreen/iqs5xx.c
865
error = iqs5xx_bl_write(client, IQS5XX_CHKSM, pmap, IQS5XX_PMAP_LEN);
drivers/input/touchscreen/iqs5xx.c
866
if (error)
drivers/input/touchscreen/iqs5xx.c
869
error = iqs5xx_bl_cmd(client, IQS5XX_BL_CMD_CRC, 0);
drivers/input/touchscreen/iqs5xx.c
870
if (error)
drivers/input/touchscreen/iqs5xx.c
873
error = iqs5xx_bl_verify(client, IQS5XX_CSTM,
drivers/input/touchscreen/iqs5xx.c
892
return error ? : error_init;
drivers/input/touchscreen/iqs5xx.c
904
int error;
drivers/input/touchscreen/iqs5xx.c
918
error = iqs5xx_fw_file_write(client, fw_file);
drivers/input/touchscreen/iqs5xx.c
919
if (error)
drivers/input/touchscreen/iqs5xx.c
920
return error;
drivers/input/touchscreen/iqs5xx.c
927
error = input_register_device(iqs5xx->input);
drivers/input/touchscreen/iqs5xx.c
928
if (error) {
drivers/input/touchscreen/iqs5xx.c
931
error);
drivers/input/touchscreen/iqs5xx.c
932
return error;
drivers/input/touchscreen/iqs5xx.c
988
int error = 0;
drivers/input/touchscreen/iqs5xx.c
991
return error;
drivers/input/touchscreen/iqs5xx.c
996
error = iqs5xx_set_state(iqs5xx->client, IQS5XX_SUSPEND);
drivers/input/touchscreen/iqs7211.c
1204
int error, val;
drivers/input/touchscreen/iqs7211.c
1206
error = readx_poll_timeout(gpiod_get_value_cansleep, iqs7211->irq_gpio,
drivers/input/touchscreen/iqs7211.c
1209
return val < 0 ? val : error;
drivers/input/touchscreen/iqs7211.c
1348
int error;
drivers/input/touchscreen/iqs7211.c
1350
error = iqs7211_read_burst(iqs7211, reg, &val_buf, sizeof(val_buf));
drivers/input/touchscreen/iqs7211.c
1351
if (error)
drivers/input/touchscreen/iqs7211.c
1352
return error;
drivers/input/touchscreen/iqs7211.c
1426
int error;
drivers/input/touchscreen/iqs7211.c
1440
error = device_property_read_u32(&client->dev,
drivers/input/touchscreen/iqs7211.c
1442
if (error == -EINVAL) {
drivers/input/touchscreen/iqs7211.c
1444
} else if (error) {
drivers/input/touchscreen/iqs7211.c
1447
error);
drivers/input/touchscreen/iqs7211.c
1448
return error;
drivers/input/touchscreen/iqs7211.c
1459
error = iqs7211_hard_reset(iqs7211);
drivers/input/touchscreen/iqs7211.c
1460
if (error) {
drivers/input/touchscreen/iqs7211.c
1461
dev_err(&client->dev, "Failed to reset device: %d\n", error);
drivers/input/touchscreen/iqs7211.c
1462
return error;
drivers/input/touchscreen/iqs7211.c
1465
error = iqs7211_read_burst(iqs7211, IQS7211_PROD_NUM,
drivers/input/touchscreen/iqs7211.c
1468
if (error)
drivers/input/touchscreen/iqs7211.c
1469
return error;
drivers/input/touchscreen/iqs7211.c
1477
error = iqs7211_read_word(iqs7211, dev_desc->sys_ctrl + 1,
drivers/input/touchscreen/iqs7211.c
1479
if (error)
drivers/input/touchscreen/iqs7211.c
1480
return error;
drivers/input/touchscreen/iqs7211.c
1487
error = iqs7211_write_word(iqs7211, dev_desc->sys_ctrl + 1,
drivers/input/touchscreen/iqs7211.c
1489
if (error)
drivers/input/touchscreen/iqs7211.c
1490
return error;
drivers/input/touchscreen/iqs7211.c
1497
error = iqs7211_read_burst(iqs7211, dev_desc->exp_file,
drivers/input/touchscreen/iqs7211.c
1500
if (error)
drivers/input/touchscreen/iqs7211.c
1501
return error;
drivers/input/touchscreen/iqs7211.c
1503
error = iqs7211_read_burst(iqs7211, dev_desc->tp_config,
drivers/input/touchscreen/iqs7211.c
1506
if (error)
drivers/input/touchscreen/iqs7211.c
1507
return error;
drivers/input/touchscreen/iqs7211.c
1509
error = iqs7211_write_word(iqs7211, dev_desc->sys_ctrl + 1,
drivers/input/touchscreen/iqs7211.c
1511
if (error)
drivers/input/touchscreen/iqs7211.c
1512
return error;
drivers/input/touchscreen/iqs7211.c
1528
int error, i;
drivers/input/touchscreen/iqs7211.c
1535
error = iqs7211_write_burst(iqs7211, dev_desc->sys_ctrl, sys_ctrl,
drivers/input/touchscreen/iqs7211.c
1537
if (error)
drivers/input/touchscreen/iqs7211.c
1538
return error;
drivers/input/touchscreen/iqs7211.c
1550
error = iqs7211_write_word(iqs7211, dev_desc->sys_ctrl + 1,
drivers/input/touchscreen/iqs7211.c
1552
if (error)
drivers/input/touchscreen/iqs7211.c
1553
return error;
drivers/input/touchscreen/iqs7211.c
1561
error = iqs7211_read_word(iqs7211, reg_field->addr,
drivers/input/touchscreen/iqs7211.c
1563
if (error)
drivers/input/touchscreen/iqs7211.c
1564
return error;
drivers/input/touchscreen/iqs7211.c
1573
error = iqs7211_write_word(iqs7211, reg_field->addr, new_val);
drivers/input/touchscreen/iqs7211.c
1574
if (error)
drivers/input/touchscreen/iqs7211.c
1575
return error;
drivers/input/touchscreen/iqs7211.c
1578
error = iqs7211_write_burst(iqs7211, dev_desc->tp_config,
drivers/input/touchscreen/iqs7211.c
1581
if (error)
drivers/input/touchscreen/iqs7211.c
1582
return error;
drivers/input/touchscreen/iqs7211.c
1585
error = iqs7211_write_burst(iqs7211, dev_desc->rx_tx_map,
drivers/input/touchscreen/iqs7211.c
1588
if (error)
drivers/input/touchscreen/iqs7211.c
1589
return error;
drivers/input/touchscreen/iqs7211.c
1592
error = iqs7211_write_burst(iqs7211,
drivers/input/touchscreen/iqs7211.c
1596
if (error)
drivers/input/touchscreen/iqs7211.c
1597
return error;
drivers/input/touchscreen/iqs7211.c
1659
int error;
drivers/input/touchscreen/iqs7211.c
1667
error = fwnode_property_read_u32(reg_grp_node, name, &val);
drivers/input/touchscreen/iqs7211.c
1668
if (error == -EINVAL) {
drivers/input/touchscreen/iqs7211.c
1670
} else if (error) {
drivers/input/touchscreen/iqs7211.c
1672
fwnode_get_name(reg_grp_node), label, error);
drivers/input/touchscreen/iqs7211.c
1673
return error;
drivers/input/touchscreen/iqs7211.c
1688
error = iqs7211_add_field(iqs7211, reg_field);
drivers/input/touchscreen/iqs7211.c
1689
if (error)
drivers/input/touchscreen/iqs7211.c
1690
return error;
drivers/input/touchscreen/iqs7211.c
1706
int error;
drivers/input/touchscreen/iqs7211.c
1708
error = iqs7211_parse_props(iqs7211, event_node, reg_grp, reg_key);
drivers/input/touchscreen/iqs7211.c
1709
if (error)
drivers/input/touchscreen/iqs7211.c
1710
return error;
drivers/input/touchscreen/iqs7211.c
1714
error = fwnode_property_read_u32(event_node,
drivers/input/touchscreen/iqs7211.c
1716
if (!error) {
drivers/input/touchscreen/iqs7211.c
1728
error = iqs7211_add_field(iqs7211, reg_field);
drivers/input/touchscreen/iqs7211.c
1729
if (error)
drivers/input/touchscreen/iqs7211.c
1730
return error;
drivers/input/touchscreen/iqs7211.c
1731
} else if (error != -EINVAL) {
drivers/input/touchscreen/iqs7211.c
1734
fwnode_get_name(event_node), error);
drivers/input/touchscreen/iqs7211.c
1735
return error;
drivers/input/touchscreen/iqs7211.c
1739
error = fwnode_property_read_u32(event_node, "linux,code", event_code);
drivers/input/touchscreen/iqs7211.c
1740
if (error == -EINVAL)
drivers/input/touchscreen/iqs7211.c
1741
error = 0;
drivers/input/touchscreen/iqs7211.c
1742
else if (error)
drivers/input/touchscreen/iqs7211.c
1744
fwnode_get_name(event_node), error);
drivers/input/touchscreen/iqs7211.c
1746
return error;
drivers/input/touchscreen/iqs7211.c
1755
int error, count, i, j, k, cycle_start;
drivers/input/touchscreen/iqs7211.c
1813
error = fwnode_property_read_u32_array(tp_node,
drivers/input/touchscreen/iqs7211.c
1816
if (error) {
drivers/input/touchscreen/iqs7211.c
1818
error);
drivers/input/touchscreen/iqs7211.c
1819
return error;
drivers/input/touchscreen/iqs7211.c
1871
int error, count, i, j;
drivers/input/touchscreen/iqs7211.c
1884
error = fwnode_property_read_u32_array(tp_node, "azoteq,rx-enable",
drivers/input/touchscreen/iqs7211.c
1886
if (error) {
drivers/input/touchscreen/iqs7211.c
1887
dev_err(&client->dev, "Failed to read CRx pins: %d\n", error);
drivers/input/touchscreen/iqs7211.c
1888
return error;
drivers/input/touchscreen/iqs7211.c
1911
error = fwnode_property_read_u32_array(tp_node, "azoteq,tx-enable",
drivers/input/touchscreen/iqs7211.c
1913
if (error) {
drivers/input/touchscreen/iqs7211.c
1914
dev_err(&client->dev, "Failed to read CTx pins: %d\n", error);
drivers/input/touchscreen/iqs7211.c
1915
return error;
drivers/input/touchscreen/iqs7211.c
1947
int error, count, i;
drivers/input/touchscreen/iqs7211.c
1959
error = fwnode_property_read_u32_array(alp_node,
drivers/input/touchscreen/iqs7211.c
1962
if (error) {
drivers/input/touchscreen/iqs7211.c
1964
error);
drivers/input/touchscreen/iqs7211.c
1965
return error;
drivers/input/touchscreen/iqs7211.c
1983
error = iqs7211_add_field(iqs7211, reg_field);
drivers/input/touchscreen/iqs7211.c
1984
if (error)
drivers/input/touchscreen/iqs7211.c
1985
return error;
drivers/input/touchscreen/iqs7211.c
1998
error = fwnode_property_read_u32_array(alp_node,
drivers/input/touchscreen/iqs7211.c
2001
if (error) {
drivers/input/touchscreen/iqs7211.c
2003
error);
drivers/input/touchscreen/iqs7211.c
2004
return error;
drivers/input/touchscreen/iqs7211.c
2021
error = iqs7211_add_field(iqs7211, reg_field);
drivers/input/touchscreen/iqs7211.c
2022
if (error)
drivers/input/touchscreen/iqs7211.c
2023
return error;
drivers/input/touchscreen/iqs7211.c
2042
int error, i;
drivers/input/touchscreen/iqs7211.c
2044
error = iqs7211_parse_props(iqs7211, reg_grp_node, reg_grp,
drivers/input/touchscreen/iqs7211.c
2046
if (error)
drivers/input/touchscreen/iqs7211.c
2047
return error;
drivers/input/touchscreen/iqs7211.c
2050
error = iqs7211_parse_extra[reg_grp](iqs7211, reg_grp_node);
drivers/input/touchscreen/iqs7211.c
2051
if (error)
drivers/input/touchscreen/iqs7211.c
2052
return error;
drivers/input/touchscreen/iqs7211.c
2079
error = iqs7211_parse_event(iqs7211, event_node,
drivers/input/touchscreen/iqs7211.c
2084
if (error)
drivers/input/touchscreen/iqs7211.c
2085
return error;
drivers/input/touchscreen/iqs7211.c
2100
int error, i;
drivers/input/touchscreen/iqs7211.c
2123
error = input_register_device(kp_idev);
drivers/input/touchscreen/iqs7211.c
2124
if (error)
drivers/input/touchscreen/iqs7211.c
2126
kp_idev->name, error);
drivers/input/touchscreen/iqs7211.c
2128
return error;
drivers/input/touchscreen/iqs7211.c
2137
int error;
drivers/input/touchscreen/iqs7211.c
2139
error = device_property_read_u32(&client->dev, "azoteq,num-contacts",
drivers/input/touchscreen/iqs7211.c
2141
if (error == -EINVAL) {
drivers/input/touchscreen/iqs7211.c
2143
} else if (error) {
drivers/input/touchscreen/iqs7211.c
2145
error);
drivers/input/touchscreen/iqs7211.c
2146
return error;
drivers/input/touchscreen/iqs7211.c
2192
error = input_mt_init_slots(tp_idev, iqs7211->num_contacts,
drivers/input/touchscreen/iqs7211.c
2194
if (error) {
drivers/input/touchscreen/iqs7211.c
2196
error);
drivers/input/touchscreen/iqs7211.c
2197
return error;
drivers/input/touchscreen/iqs7211.c
2200
error = input_register_device(tp_idev);
drivers/input/touchscreen/iqs7211.c
2201
if (error)
drivers/input/touchscreen/iqs7211.c
2203
tp_idev->name, error);
drivers/input/touchscreen/iqs7211.c
2205
return error;
drivers/input/touchscreen/iqs7211.c
2215
int error, i;
drivers/input/touchscreen/iqs7211.c
2217
error = iqs7211_read_burst(iqs7211, dev_desc->sys_stat, status,
drivers/input/touchscreen/iqs7211.c
2220
if (error)
drivers/input/touchscreen/iqs7211.c
2221
return error;
drivers/input/touchscreen/iqs7211.c
2350
int error;
drivers/input/touchscreen/iqs7211.c
2362
error = iqs7211_write_word(iqs7211, dev_desc->sys_ctrl,
drivers/input/touchscreen/iqs7211.c
2367
return error;
drivers/input/touchscreen/iqs7211.c
2378
int error;
drivers/input/touchscreen/iqs7211.c
2389
error = iqs7211_write_burst(iqs7211, dev_desc->sys_ctrl, sys_ctrl,
drivers/input/touchscreen/iqs7211.c
2394
return error;
drivers/input/touchscreen/iqs7211.c
2443
int error, irq;
drivers/input/touchscreen/iqs7211.c
2473
error = PTR_ERR(iqs7211->irq_gpio);
drivers/input/touchscreen/iqs7211.c
2475
error);
drivers/input/touchscreen/iqs7211.c
2476
return error;
drivers/input/touchscreen/iqs7211.c
2486
error = PTR_ERR(iqs7211->reset_gpio);
drivers/input/touchscreen/iqs7211.c
2488
"Failed to request reset GPIO: %d\n", error);
drivers/input/touchscreen/iqs7211.c
2489
return error;
drivers/input/touchscreen/iqs7211.c
2493
error = iqs7211_start_comms(iqs7211);
drivers/input/touchscreen/iqs7211.c
2494
if (error)
drivers/input/touchscreen/iqs7211.c
2495
return error;
drivers/input/touchscreen/iqs7211.c
2510
error = iqs7211_parse_reg_grp(iqs7211, reg_grp_node, reg_grp);
drivers/input/touchscreen/iqs7211.c
2512
if (error)
drivers/input/touchscreen/iqs7211.c
2513
return error;
drivers/input/touchscreen/iqs7211.c
2516
error = iqs7211_register_kp(iqs7211);
drivers/input/touchscreen/iqs7211.c
2517
if (error)
drivers/input/touchscreen/iqs7211.c
2518
return error;
drivers/input/touchscreen/iqs7211.c
2520
error = iqs7211_register_tp(iqs7211);
drivers/input/touchscreen/iqs7211.c
2521
if (error)
drivers/input/touchscreen/iqs7211.c
2522
return error;
drivers/input/touchscreen/iqs7211.c
2524
error = iqs7211_init_device(iqs7211);
drivers/input/touchscreen/iqs7211.c
2525
if (error)
drivers/input/touchscreen/iqs7211.c
2526
return error;
drivers/input/touchscreen/iqs7211.c
2536
error = devm_request_threaded_irq(&client->dev, irq, NULL, iqs7211_irq,
drivers/input/touchscreen/iqs7211.c
2538
if (error)
drivers/input/touchscreen/iqs7211.c
2539
dev_err(&client->dev, "Failed to request IRQ: %d\n", error);
drivers/input/touchscreen/iqs7211.c
2541
return error;
drivers/input/touchscreen/jornada720_ts.c
101
int error, irq;
drivers/input/touchscreen/jornada720_ts.c
133
error = devm_request_irq(&pdev->dev, irq, jornada720_ts_interrupt,
drivers/input/touchscreen/jornada720_ts.c
136
if (error) {
drivers/input/touchscreen/jornada720_ts.c
138
return error;
drivers/input/touchscreen/jornada720_ts.c
141
error = input_register_device(jornada_ts->dev);
drivers/input/touchscreen/jornada720_ts.c
142
if (error)
drivers/input/touchscreen/jornada720_ts.c
143
return error;
drivers/input/touchscreen/lpc32xx_ts.c
205
int error;
drivers/input/touchscreen/lpc32xx_ts.c
251
error = devm_request_irq(dev, tsc->irq, lpc32xx_ts_interrupt,
drivers/input/touchscreen/lpc32xx_ts.c
253
if (error) {
drivers/input/touchscreen/lpc32xx_ts.c
255
return error;
drivers/input/touchscreen/lpc32xx_ts.c
258
error = input_register_device(input);
drivers/input/touchscreen/lpc32xx_ts.c
259
if (error) {
drivers/input/touchscreen/lpc32xx_ts.c
261
return error;
drivers/input/touchscreen/max11801_ts.c
175
int error;
drivers/input/touchscreen/max11801_ts.c
199
error = devm_request_threaded_irq(&client->dev, client->irq, NULL,
drivers/input/touchscreen/max11801_ts.c
203
if (error) {
drivers/input/touchscreen/max11801_ts.c
205
return error;
drivers/input/touchscreen/max11801_ts.c
208
error = input_register_device(data->input_dev);
drivers/input/touchscreen/max11801_ts.c
209
if (error)
drivers/input/touchscreen/max11801_ts.c
210
return error;
drivers/input/touchscreen/melfas_mip4.c
1008
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/melfas_mip4.c
1010
"Failed to send read page size: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
1011
return error;
drivers/input/touchscreen/melfas_mip4.c
1020
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/melfas_mip4.c
1022
"Failed to send 'read' command: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
1023
return error;
drivers/input/touchscreen/melfas_mip4.c
1027
error = mip4_bl_read_status(ts);
drivers/input/touchscreen/melfas_mip4.c
1028
if (error)
drivers/input/touchscreen/melfas_mip4.c
1029
return error;
drivers/input/touchscreen/melfas_mip4.c
1045
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/melfas_mip4.c
1048
buf_offset, MIP4_BL_PACKET_SIZE, error);
drivers/input/touchscreen/melfas_mip4.c
1067
error = -EINVAL;
drivers/input/touchscreen/melfas_mip4.c
1073
return error ? error : 0;
drivers/input/touchscreen/melfas_mip4.c
1085
int error, error2;
drivers/input/touchscreen/melfas_mip4.c
1090
error = mip4_bl_enter(ts);
drivers/input/touchscreen/melfas_mip4.c
1091
if (error) {
drivers/input/touchscreen/melfas_mip4.c
1094
error);
drivers/input/touchscreen/melfas_mip4.c
1095
return error;
drivers/input/touchscreen/melfas_mip4.c
1099
error = mip4_bl_get_address(ts, &buf_addr);
drivers/input/touchscreen/melfas_mip4.c
1100
if (error)
drivers/input/touchscreen/melfas_mip4.c
1112
error = mip4_bl_program_page(ts, offset, fw_data + offset,
drivers/input/touchscreen/melfas_mip4.c
1114
if (error)
drivers/input/touchscreen/melfas_mip4.c
1118
error = mip4_bl_verify_page(ts, offset, fw_data + offset,
drivers/input/touchscreen/melfas_mip4.c
1120
if (error)
drivers/input/touchscreen/melfas_mip4.c
1132
if (!error)
drivers/input/touchscreen/melfas_mip4.c
1133
error = error2;
drivers/input/touchscreen/melfas_mip4.c
1152
return error ? error : 0;
drivers/input/touchscreen/melfas_mip4.c
1252
int error;
drivers/input/touchscreen/melfas_mip4.c
1254
error = mip4_parse_firmware(ts, fw,
drivers/input/touchscreen/melfas_mip4.c
1256
if (error)
drivers/input/touchscreen/melfas_mip4.c
1257
return error;
drivers/input/touchscreen/melfas_mip4.c
1262
error = mip4_power_on(ts);
drivers/input/touchscreen/melfas_mip4.c
1263
if (error)
drivers/input/touchscreen/melfas_mip4.c
1264
return error;
drivers/input/touchscreen/melfas_mip4.c
1269
error = mip4_flash_fw(ts, fw->data, fw_size, fw_start_offset);
drivers/input/touchscreen/melfas_mip4.c
1270
if (!error)
drivers/input/touchscreen/melfas_mip4.c
1274
if (error)
drivers/input/touchscreen/melfas_mip4.c
1276
"Failed to flash firmware: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
1284
return error ? error : 0;
drivers/input/touchscreen/melfas_mip4.c
1294
int error;
drivers/input/touchscreen/melfas_mip4.c
1296
error = request_firmware(&fw, ts->fw_name, dev);
drivers/input/touchscreen/melfas_mip4.c
1297
if (error) {
drivers/input/touchscreen/melfas_mip4.c
1300
ts->fw_name, error);
drivers/input/touchscreen/melfas_mip4.c
1301
return error;
drivers/input/touchscreen/melfas_mip4.c
1311
error = mip4_execute_fw_update(ts, fw);
drivers/input/touchscreen/melfas_mip4.c
1317
if (error) {
drivers/input/touchscreen/melfas_mip4.c
1319
"Firmware update failed: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
1320
return error;
drivers/input/touchscreen/melfas_mip4.c
1428
int error;
drivers/input/touchscreen/melfas_mip4.c
1454
error = mip4_power_on(ts);
drivers/input/touchscreen/melfas_mip4.c
1455
if (error)
drivers/input/touchscreen/melfas_mip4.c
1456
return error;
drivers/input/touchscreen/melfas_mip4.c
1457
error = mip4_query_device(ts);
drivers/input/touchscreen/melfas_mip4.c
1459
if (error)
drivers/input/touchscreen/melfas_mip4.c
1460
return error;
drivers/input/touchscreen/melfas_mip4.c
1490
error = input_mt_init_slots(input, MIP4_MAX_FINGERS, INPUT_MT_DIRECT);
drivers/input/touchscreen/melfas_mip4.c
1491
if (error)
drivers/input/touchscreen/melfas_mip4.c
1492
return error;
drivers/input/touchscreen/melfas_mip4.c
1496
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/melfas_mip4.c
1500
if (error) {
drivers/input/touchscreen/melfas_mip4.c
1503
client->irq, error);
drivers/input/touchscreen/melfas_mip4.c
1504
return error;
drivers/input/touchscreen/melfas_mip4.c
1507
error = input_register_device(input);
drivers/input/touchscreen/melfas_mip4.c
1508
if (error) {
drivers/input/touchscreen/melfas_mip4.c
1510
"Failed to register input device: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
1511
return error;
drivers/input/touchscreen/melfas_mip4.c
198
int error;
drivers/input/touchscreen/melfas_mip4.c
205
error = res < 0 ? res : -EIO;
drivers/input/touchscreen/melfas_mip4.c
208
__func__, error, res);
drivers/input/touchscreen/melfas_mip4.c
211
return error;
drivers/input/touchscreen/melfas_mip4.c
229
int error;
drivers/input/touchscreen/melfas_mip4.c
231
error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), buf, sizeof(buf));
drivers/input/touchscreen/melfas_mip4.c
232
if (error) {
drivers/input/touchscreen/melfas_mip4.c
234
return error;
drivers/input/touchscreen/melfas_mip4.c
248
int error;
drivers/input/touchscreen/melfas_mip4.c
265
error = mip4_i2c_xfer(ts, cmd, sizeof(cmd),
drivers/input/touchscreen/melfas_mip4.c
267
if (error)
drivers/input/touchscreen/melfas_mip4.c
269
"Failed to retrieve product name: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
277
error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), buf, 2);
drivers/input/touchscreen/melfas_mip4.c
278
if (error) {
drivers/input/touchscreen/melfas_mip4.c
280
"Failed to retrieve product id: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
294
error = mip4_i2c_xfer(ts, cmd, sizeof(cmd),
drivers/input/touchscreen/melfas_mip4.c
296
if (error)
drivers/input/touchscreen/melfas_mip4.c
298
"Failed to retrieve IC name: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
304
error = mip4_get_fw_version(ts);
drivers/input/touchscreen/melfas_mip4.c
305
if (error)
drivers/input/touchscreen/melfas_mip4.c
307
"Failed to retrieve FW version: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
316
error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), buf, 14);
drivers/input/touchscreen/melfas_mip4.c
317
if (error) {
drivers/input/touchscreen/melfas_mip4.c
320
error);
drivers/input/touchscreen/melfas_mip4.c
347
error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), buf, 7);
drivers/input/touchscreen/melfas_mip4.c
348
if (error) {
drivers/input/touchscreen/melfas_mip4.c
350
"Failed to retrieve device type: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
406
int error;
drivers/input/touchscreen/melfas_mip4.c
408
error = mip4_power_on(ts);
drivers/input/touchscreen/melfas_mip4.c
409
if (error)
drivers/input/touchscreen/melfas_mip4.c
410
return error;
drivers/input/touchscreen/melfas_mip4.c
587
int error;
drivers/input/touchscreen/melfas_mip4.c
595
error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), ts->buf, 1);
drivers/input/touchscreen/melfas_mip4.c
596
if (error) {
drivers/input/touchscreen/melfas_mip4.c
598
"Failed to read packet info: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
615
error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), ts->buf, size);
drivers/input/touchscreen/melfas_mip4.c
616
if (error) {
drivers/input/touchscreen/melfas_mip4.c
618
"Failed to read packet data: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
626
error = mip4_handle_packet(ts, &ts->buf[i]);
drivers/input/touchscreen/melfas_mip4.c
627
if (error)
drivers/input/touchscreen/melfas_mip4.c
724
int error;
drivers/input/touchscreen/melfas_mip4.c
730
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/melfas_mip4.c
733
error);
drivers/input/touchscreen/melfas_mip4.c
734
return error;
drivers/input/touchscreen/melfas_mip4.c
748
error = -EBUSY;
drivers/input/touchscreen/melfas_mip4.c
755
error = -EINVAL;
drivers/input/touchscreen/melfas_mip4.c
762
return error;
drivers/input/touchscreen/melfas_mip4.c
788
int error;
drivers/input/touchscreen/melfas_mip4.c
795
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/melfas_mip4.c
798
mode, error, ret);
drivers/input/touchscreen/melfas_mip4.c
799
return error;
drivers/input/touchscreen/melfas_mip4.c
811
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/melfas_mip4.c
813
"Failed to read device mode: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
814
return error;
drivers/input/touchscreen/melfas_mip4.c
862
int error;
drivers/input/touchscreen/melfas_mip4.c
866
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/melfas_mip4.c
869
error);
drivers/input/touchscreen/melfas_mip4.c
870
return error;
drivers/input/touchscreen/melfas_mip4.c
887
int error;
drivers/input/touchscreen/melfas_mip4.c
908
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/melfas_mip4.c
910
"Failed to send write page address: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
920
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/melfas_mip4.c
922
"Failed to send write page size: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
938
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/melfas_mip4.c
941
buf_offset, MIP4_BL_PACKET_SIZE, error);
drivers/input/touchscreen/melfas_mip4.c
952
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/melfas_mip4.c
954
"Failed to send 'write' command: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
959
error = mip4_bl_read_status(ts);
drivers/input/touchscreen/melfas_mip4.c
963
return error ? error : 0;
drivers/input/touchscreen/melfas_mip4.c
985
int error;
drivers/input/touchscreen/melfas_mip4.c
996
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/melfas_mip4.c
998
"Failed to send read page address: %d\n", error);
drivers/input/touchscreen/melfas_mip4.c
999
return error;
drivers/input/touchscreen/migor_ts.c
123
int error;
drivers/input/touchscreen/migor_ts.c
129
error = -ENOMEM;
drivers/input/touchscreen/migor_ts.c
153
error = request_threaded_irq(priv->irq, NULL, migor_ts_isr,
drivers/input/touchscreen/migor_ts.c
156
if (error) {
drivers/input/touchscreen/migor_ts.c
161
error = input_register_device(input);
drivers/input/touchscreen/migor_ts.c
162
if (error)
drivers/input/touchscreen/migor_ts.c
175
return error;
drivers/input/touchscreen/mms114.c
113
error = i2c_transfer(client->adapter, xfer, 2);
drivers/input/touchscreen/mms114.c
114
if (error != 2) {
drivers/input/touchscreen/mms114.c
116
"%s: i2c transfer failed (%d)\n", __func__, error);
drivers/input/touchscreen/mms114.c
117
return error < 0 ? error : -EIO;
drivers/input/touchscreen/mms114.c
127
int error;
drivers/input/touchscreen/mms114.c
132
error = __mms114_read_reg(data, reg, 1, &val);
drivers/input/touchscreen/mms114.c
133
return error < 0 ? error : val;
drivers/input/touchscreen/mms114.c
141
int error;
drivers/input/touchscreen/mms114.c
146
error = i2c_master_send(client, buf, 2);
drivers/input/touchscreen/mms114.c
147
if (error != 2) {
drivers/input/touchscreen/mms114.c
149
"%s: i2c send failed (%d)\n", __func__, error);
drivers/input/touchscreen/mms114.c
150
return error < 0 ? error : -EIO;
drivers/input/touchscreen/mms114.c
224
int error;
drivers/input/touchscreen/mms114.c
243
error = __mms114_read_reg(data, MMS114_INFORMATION, packet_size,
drivers/input/touchscreen/mms114.c
245
if (error < 0)
drivers/input/touchscreen/mms114.c
294
int error;
drivers/input/touchscreen/mms114.c
298
error = __mms114_read_reg(data, MMS152_FW_REV, 3, buf);
drivers/input/touchscreen/mms114.c
299
if (error)
drivers/input/touchscreen/mms114.c
300
return error;
drivers/input/touchscreen/mms114.c
307
error = __mms114_read_reg(data, MMS152_FW_REV, 3, buf);
drivers/input/touchscreen/mms114.c
308
if (error)
drivers/input/touchscreen/mms114.c
309
return error;
drivers/input/touchscreen/mms114.c
323
error = __mms114_read_reg(data, MMS114_TSP_REV, 6, buf);
drivers/input/touchscreen/mms114.c
324
if (error)
drivers/input/touchscreen/mms114.c
325
return error;
drivers/input/touchscreen/mms114.c
339
int error;
drivers/input/touchscreen/mms114.c
341
error = mms114_get_version(data);
drivers/input/touchscreen/mms114.c
342
if (error < 0)
drivers/input/touchscreen/mms114.c
343
return error;
drivers/input/touchscreen/mms114.c
350
error = mms114_set_active(data, true);
drivers/input/touchscreen/mms114.c
351
if (error < 0)
drivers/input/touchscreen/mms114.c
352
return error;
drivers/input/touchscreen/mms114.c
356
error = mms114_write_reg(data, MMS114_XY_RESOLUTION_H, val);
drivers/input/touchscreen/mms114.c
357
if (error < 0)
drivers/input/touchscreen/mms114.c
358
return error;
drivers/input/touchscreen/mms114.c
361
error = mms114_write_reg(data, MMS114_X_RESOLUTION, val);
drivers/input/touchscreen/mms114.c
362
if (error < 0)
drivers/input/touchscreen/mms114.c
363
return error;
drivers/input/touchscreen/mms114.c
366
error = mms114_write_reg(data, MMS114_Y_RESOLUTION, val);
drivers/input/touchscreen/mms114.c
367
if (error < 0)
drivers/input/touchscreen/mms114.c
368
return error;
drivers/input/touchscreen/mms114.c
371
error = mms114_write_reg(data, MMS114_CONTACT_THRESHOLD,
drivers/input/touchscreen/mms114.c
373
if (error < 0)
drivers/input/touchscreen/mms114.c
374
return error;
drivers/input/touchscreen/mms114.c
378
error = mms114_write_reg(data, MMS114_MOVING_THRESHOLD,
drivers/input/touchscreen/mms114.c
380
if (error < 0)
drivers/input/touchscreen/mms114.c
381
return error;
drivers/input/touchscreen/mms114.c
390
int error;
drivers/input/touchscreen/mms114.c
392
error = regulator_enable(data->core_reg);
drivers/input/touchscreen/mms114.c
393
if (error) {
drivers/input/touchscreen/mms114.c
394
dev_err(&client->dev, "Failed to enable avdd: %d\n", error);
drivers/input/touchscreen/mms114.c
395
return error;
drivers/input/touchscreen/mms114.c
398
error = regulator_enable(data->io_reg);
drivers/input/touchscreen/mms114.c
399
if (error) {
drivers/input/touchscreen/mms114.c
400
dev_err(&client->dev, "Failed to enable vdd: %d\n", error);
drivers/input/touchscreen/mms114.c
402
return error;
drivers/input/touchscreen/mms114.c
407
error = mms114_setup_regs(data);
drivers/input/touchscreen/mms114.c
408
if (error < 0) {
drivers/input/touchscreen/mms114.c
411
return error;
drivers/input/touchscreen/mms114.c
422
int error;
drivers/input/touchscreen/mms114.c
426
error = regulator_disable(data->io_reg);
drivers/input/touchscreen/mms114.c
427
if (error)
drivers/input/touchscreen/mms114.c
428
dev_warn(&client->dev, "Failed to disable vdd: %d\n", error);
drivers/input/touchscreen/mms114.c
430
error = regulator_disable(data->core_reg);
drivers/input/touchscreen/mms114.c
431
if (error)
drivers/input/touchscreen/mms114.c
432
dev_warn(&client->dev, "Failed to disable avdd: %d\n", error);
drivers/input/touchscreen/mms114.c
484
int error;
drivers/input/touchscreen/mms114.c
526
error = device_property_read_u32_array(&client->dev,
drivers/input/touchscreen/mms114.c
530
if (error) {
drivers/input/touchscreen/mms114.c
533
error);
drivers/input/touchscreen/mms114.c
534
return error;
drivers/input/touchscreen/mms114.c
555
error = mms114_parse_legacy_bindings(data);
drivers/input/touchscreen/mms114.c
556
if (error)
drivers/input/touchscreen/mms114.c
557
return error;
drivers/input/touchscreen/mms114.c
591
error = input_mt_init_slots(input_dev, MMS114_MAX_TOUCH,
drivers/input/touchscreen/mms114.c
593
if (error)
drivers/input/touchscreen/mms114.c
594
return error;
drivers/input/touchscreen/mms114.c
601
error = PTR_ERR(data->core_reg);
drivers/input/touchscreen/mms114.c
603
"Unable to get the Core regulator (%d)\n", error);
drivers/input/touchscreen/mms114.c
604
return error;
drivers/input/touchscreen/mms114.c
609
error = PTR_ERR(data->io_reg);
drivers/input/touchscreen/mms114.c
611
"Unable to get the IO regulator (%d)\n", error);
drivers/input/touchscreen/mms114.c
612
return error;
drivers/input/touchscreen/mms114.c
615
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/mms114.c
619
if (error) {
drivers/input/touchscreen/mms114.c
621
return error;
drivers/input/touchscreen/mms114.c
624
error = input_register_device(data->input_dev);
drivers/input/touchscreen/mms114.c
625
if (error) {
drivers/input/touchscreen/mms114.c
627
return error;
drivers/input/touchscreen/mms114.c
662
int error;
drivers/input/touchscreen/mms114.c
666
error = mms114_start(data);
drivers/input/touchscreen/mms114.c
667
if (error < 0) {
drivers/input/touchscreen/mms114.c
669
return error;
drivers/input/touchscreen/mms114.c
96
int error;
drivers/input/touchscreen/msg2638.c
252
int error;
drivers/input/touchscreen/msg2638.c
254
error = regulator_bulk_enable(ARRAY_SIZE(msg2638->supplies),
drivers/input/touchscreen/msg2638.c
256
if (error) {
drivers/input/touchscreen/msg2638.c
258
"Failed to enable regulators: %d\n", error);
drivers/input/touchscreen/msg2638.c
259
return error;
drivers/input/touchscreen/msg2638.c
273
int error;
drivers/input/touchscreen/msg2638.c
277
error = regulator_bulk_disable(ARRAY_SIZE(msg2638->supplies),
drivers/input/touchscreen/msg2638.c
279
if (error) {
drivers/input/touchscreen/msg2638.c
281
"Failed to disable regulators: %d\n", error);
drivers/input/touchscreen/msg2638.c
282
return error;
drivers/input/touchscreen/msg2638.c
306
int error;
drivers/input/touchscreen/msg2638.c
342
error = input_mt_init_slots(input_dev, msg2638->max_fingers,
drivers/input/touchscreen/msg2638.c
344
if (error) {
drivers/input/touchscreen/msg2638.c
345
dev_err(dev, "Failed to initialize MT slots: %d\n", error);
drivers/input/touchscreen/msg2638.c
346
return error;
drivers/input/touchscreen/msg2638.c
349
error = input_register_device(input_dev);
drivers/input/touchscreen/msg2638.c
350
if (error) {
drivers/input/touchscreen/msg2638.c
351
dev_err(dev, "Failed to register input device: %d\n", error);
drivers/input/touchscreen/msg2638.c
352
return error;
drivers/input/touchscreen/msg2638.c
363
int error;
drivers/input/touchscreen/msg2638.c
387
error = devm_regulator_bulk_get(dev, ARRAY_SIZE(msg2638->supplies),
drivers/input/touchscreen/msg2638.c
389
if (error) {
drivers/input/touchscreen/msg2638.c
390
dev_err(dev, "Failed to get regulators: %d\n", error);
drivers/input/touchscreen/msg2638.c
391
return error;
drivers/input/touchscreen/msg2638.c
396
error = PTR_ERR(msg2638->reset_gpiod);
drivers/input/touchscreen/msg2638.c
397
dev_err(dev, "Failed to request reset GPIO: %d\n", error);
drivers/input/touchscreen/msg2638.c
398
return error;
drivers/input/touchscreen/msg2638.c
416
error = device_property_read_u32_array(dev, "linux,keycodes",
drivers/input/touchscreen/msg2638.c
419
if (error) {
drivers/input/touchscreen/msg2638.c
421
error);
drivers/input/touchscreen/msg2638.c
422
return error;
drivers/input/touchscreen/msg2638.c
426
error = devm_request_threaded_irq(dev, client->irq,
drivers/input/touchscreen/msg2638.c
430
if (error) {
drivers/input/touchscreen/msg2638.c
431
dev_err(dev, "Failed to request IRQ: %d\n", error);
drivers/input/touchscreen/msg2638.c
432
return error;
drivers/input/touchscreen/msg2638.c
435
error = msg2638_init_input_dev(msg2638);
drivers/input/touchscreen/msg2638.c
436
if (error) {
drivers/input/touchscreen/msg2638.c
437
dev_err(dev, "Failed to initialize input device: %d\n", error);
drivers/input/touchscreen/msg2638.c
438
return error;
drivers/input/touchscreen/novatek-nvt-ts.c
100
if (error)
drivers/input/touchscreen/novatek-nvt-ts.c
146
int error;
drivers/input/touchscreen/novatek-nvt-ts.c
148
error = regulator_bulk_enable(ARRAY_SIZE(data->regulators), data->regulators);
drivers/input/touchscreen/novatek-nvt-ts.c
149
if (error) {
drivers/input/touchscreen/novatek-nvt-ts.c
151
return error;
drivers/input/touchscreen/novatek-nvt-ts.c
198
int error, width, height, irq_type;
drivers/input/touchscreen/novatek-nvt-ts.c
225
error = devm_regulator_bulk_get(dev, ARRAY_SIZE(data->regulators), data->regulators);
drivers/input/touchscreen/novatek-nvt-ts.c
226
if (error) {
drivers/input/touchscreen/novatek-nvt-ts.c
227
dev_err(dev, "cannot get regulators: %d\n", error);
drivers/input/touchscreen/novatek-nvt-ts.c
228
return error;
drivers/input/touchscreen/novatek-nvt-ts.c
231
error = regulator_bulk_enable(ARRAY_SIZE(data->regulators), data->regulators);
drivers/input/touchscreen/novatek-nvt-ts.c
232
if (error) {
drivers/input/touchscreen/novatek-nvt-ts.c
233
dev_err(dev, "failed to enable regulators: %d\n", error);
drivers/input/touchscreen/novatek-nvt-ts.c
234
return error;
drivers/input/touchscreen/novatek-nvt-ts.c
238
error = PTR_ERR_OR_ZERO(data->reset_gpio);
drivers/input/touchscreen/novatek-nvt-ts.c
239
if (error) {
drivers/input/touchscreen/novatek-nvt-ts.c
241
dev_err(dev, "failed to request reset GPIO: %d\n", error);
drivers/input/touchscreen/novatek-nvt-ts.c
242
return error;
drivers/input/touchscreen/novatek-nvt-ts.c
247
error = nvt_ts_read_data(data->client, NVT_TS_PARAMETERS_START,
drivers/input/touchscreen/novatek-nvt-ts.c
251
if (error)
drivers/input/touchscreen/novatek-nvt-ts.c
252
return error;
drivers/input/touchscreen/novatek-nvt-ts.c
287
error = input_mt_init_slots(input, data->max_touches,
drivers/input/touchscreen/novatek-nvt-ts.c
289
if (error)
drivers/input/touchscreen/novatek-nvt-ts.c
290
return error;
drivers/input/touchscreen/novatek-nvt-ts.c
295
error = devm_request_threaded_irq(dev, client->irq, NULL, nvt_ts_irq,
drivers/input/touchscreen/novatek-nvt-ts.c
299
if (error) {
drivers/input/touchscreen/novatek-nvt-ts.c
300
dev_err(dev, "failed to request irq: %d\n", error);
drivers/input/touchscreen/novatek-nvt-ts.c
301
return error;
drivers/input/touchscreen/novatek-nvt-ts.c
304
error = input_register_device(input);
drivers/input/touchscreen/novatek-nvt-ts.c
305
if (error) {
drivers/input/touchscreen/novatek-nvt-ts.c
306
dev_err(dev, "failed to register input device: %d\n", error);
drivers/input/touchscreen/novatek-nvt-ts.c
307
return error;
drivers/input/touchscreen/novatek-nvt-ts.c
94
int i, error, slot, x, y;
drivers/input/touchscreen/novatek-nvt-ts.c
98
error = nvt_ts_read_data(data->client, NVT_TS_TOUCH_START, data->buf,
drivers/input/touchscreen/pixcir_i2c_ts.c
340
int error;
drivers/input/touchscreen/pixcir_i2c_ts.c
348
error = pixcir_set_int_mode(ts, PIXCIR_INT_LEVEL_TOUCH, 0);
drivers/input/touchscreen/pixcir_i2c_ts.c
349
if (error) {
drivers/input/touchscreen/pixcir_i2c_ts.c
350
dev_err(dev, "Failed to set interrupt mode: %d\n", error);
drivers/input/touchscreen/pixcir_i2c_ts.c
351
return error;
drivers/input/touchscreen/pixcir_i2c_ts.c
358
error = pixcir_int_enable(ts, true);
drivers/input/touchscreen/pixcir_i2c_ts.c
359
if (error) {
drivers/input/touchscreen/pixcir_i2c_ts.c
361
error);
drivers/input/touchscreen/pixcir_i2c_ts.c
362
return error;
drivers/input/touchscreen/pixcir_i2c_ts.c
370
int error;
drivers/input/touchscreen/pixcir_i2c_ts.c
373
error = pixcir_int_enable(ts, false);
drivers/input/touchscreen/pixcir_i2c_ts.c
374
if (error) {
drivers/input/touchscreen/pixcir_i2c_ts.c
377
error);
drivers/input/touchscreen/pixcir_i2c_ts.c
378
return error;
drivers/input/touchscreen/pixcir_i2c_ts.c
471
int error;
drivers/input/touchscreen/pixcir_i2c_ts.c
508
error = input_mt_init_slots(input, tsdata->chip->max_fingers,
drivers/input/touchscreen/pixcir_i2c_ts.c
510
if (error) {
drivers/input/touchscreen/pixcir_i2c_ts.c
512
return error;
drivers/input/touchscreen/pixcir_i2c_ts.c
543
error = devm_request_threaded_irq(dev, client->irq, NULL, pixcir_ts_isr,
drivers/input/touchscreen/pixcir_i2c_ts.c
546
if (error) {
drivers/input/touchscreen/pixcir_i2c_ts.c
548
return error;
drivers/input/touchscreen/pixcir_i2c_ts.c
554
error = pixcir_set_power_mode(tsdata, PIXCIR_POWER_IDLE);
drivers/input/touchscreen/pixcir_i2c_ts.c
555
if (error) {
drivers/input/touchscreen/pixcir_i2c_ts.c
557
return error;
drivers/input/touchscreen/pixcir_i2c_ts.c
561
error = pixcir_stop(tsdata);
drivers/input/touchscreen/pixcir_i2c_ts.c
562
if (error)
drivers/input/touchscreen/pixcir_i2c_ts.c
563
return error;
drivers/input/touchscreen/pixcir_i2c_ts.c
565
error = input_register_device(input);
drivers/input/touchscreen/pixcir_i2c_ts.c
566
if (error)
drivers/input/touchscreen/pixcir_i2c_ts.c
567
return error;
drivers/input/touchscreen/raspberrypi-ts.c
128
int error;
drivers/input/touchscreen/raspberrypi-ts.c
152
error = devm_add_action_or_reset(dev, rpi_ts_dma_cleanup, ts);
drivers/input/touchscreen/raspberrypi-ts.c
153
if (error) {
drivers/input/touchscreen/raspberrypi-ts.c
154
dev_err(dev, "failed to devm_add_action_or_reset, %d\n", error);
drivers/input/touchscreen/raspberrypi-ts.c
155
return error;
drivers/input/touchscreen/raspberrypi-ts.c
159
error = rpi_firmware_property(fw, RPI_FIRMWARE_FRAMEBUFFER_SET_TOUCHBUF,
drivers/input/touchscreen/raspberrypi-ts.c
161
if (error || touchbuf != 0) {
drivers/input/touchscreen/raspberrypi-ts.c
162
dev_warn(dev, "Failed to set touchbuf, %d\n", error);
drivers/input/touchscreen/raspberrypi-ts.c
163
return error;
drivers/input/touchscreen/raspberrypi-ts.c
184
error = input_mt_init_slots(input, RPI_TS_MAX_SUPPORTED_POINTS,
drivers/input/touchscreen/raspberrypi-ts.c
186
if (error) {
drivers/input/touchscreen/raspberrypi-ts.c
187
dev_err(dev, "could not init mt slots, %d\n", error);
drivers/input/touchscreen/raspberrypi-ts.c
188
return error;
drivers/input/touchscreen/raspberrypi-ts.c
191
error = input_setup_polling(input, rpi_ts_poll);
drivers/input/touchscreen/raspberrypi-ts.c
192
if (error) {
drivers/input/touchscreen/raspberrypi-ts.c
193
dev_err(dev, "could not set up polling mode, %d\n", error);
drivers/input/touchscreen/raspberrypi-ts.c
194
return error;
drivers/input/touchscreen/raspberrypi-ts.c
199
error = input_register_device(input);
drivers/input/touchscreen/raspberrypi-ts.c
200
if (error) {
drivers/input/touchscreen/raspberrypi-ts.c
201
dev_err(dev, "could not register input device, %d\n", error);
drivers/input/touchscreen/raspberrypi-ts.c
202
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
1019
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
1026
error = regulator_enable(ts->avdd);
drivers/input/touchscreen/raydium_i2c_ts.c
1027
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
1029
"failed to enable avdd regulator: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
1033
error = regulator_enable(ts->vccio);
drivers/input/touchscreen/raydium_i2c_ts.c
1034
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
1037
"failed to enable vccio regulator: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
1046
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
1047
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
1069
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
1102
error = raydium_i2c_power_on(ts);
drivers/input/touchscreen/raydium_i2c_ts.c
1103
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
1104
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
1106
error = devm_add_action_or_reset(&client->dev,
drivers/input/touchscreen/raydium_i2c_ts.c
1108
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
1110
"failed to install power off action: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
1111
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
1121
error = raydium_i2c_initialize(ts);
drivers/input/touchscreen/raydium_i2c_ts.c
1122
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
1123
dev_err(&client->dev, "failed to initialize: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
1124
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
1151
error = input_mt_init_slots(ts->input, RM_MAX_TOUCH_NUM,
drivers/input/touchscreen/raydium_i2c_ts.c
1153
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
1155
"failed to initialize MT slots: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
1156
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
1159
error = input_register_device(ts->input);
drivers/input/touchscreen/raydium_i2c_ts.c
1160
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
1162
"unable to register input device: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
1163
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
1166
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/raydium_i2c_ts.c
1169
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
1171
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
1180
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
1182
error = raydium_i2c_send(client, RM_CMD_ENTER_SLEEP,
drivers/input/touchscreen/raydium_i2c_ts.c
1184
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
1186
"sleep command failed: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
171
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
211
error = raydium_i2c_xfer(client, addr, xfer, ARRAY_SIZE(xfer));
drivers/input/touchscreen/raydium_i2c_ts.c
212
if (likely(!error))
drivers/input/touchscreen/raydium_i2c_ts.c
218
dev_err(&client->dev, "%s failed: %d\n", __func__, error);
drivers/input/touchscreen/raydium_i2c_ts.c
221
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
227
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
266
error = raydium_i2c_xfer(client, addr, xfer, ARRAY_SIZE(xfer));
drivers/input/touchscreen/raydium_i2c_ts.c
267
if (unlikely(error))
drivers/input/touchscreen/raydium_i2c_ts.c
268
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
281
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
283
error = raydium_i2c_send(client, RM_RESET_MSG_ADDR, &soft_rst_cmd,
drivers/input/touchscreen/raydium_i2c_ts.c
285
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
286
dev_err(&client->dev, "software reset failed: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
287
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
302
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
304
error = raydium_i2c_send(client, RM_CMD_BOOT_WRT,
drivers/input/touchscreen/raydium_i2c_ts.c
306
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
307
dev_err(&client->dev, "WRT HWID command failed: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
308
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
311
error = raydium_i2c_send(client, RM_CMD_BOOT_ACK, rbuf, 1);
drivers/input/touchscreen/raydium_i2c_ts.c
312
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
313
dev_err(&client->dev, "Ack HWID command failed: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
314
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
317
error = raydium_i2c_read(client, RM_CMD_BOOT_CHK, rbuf, sizeof(rbuf));
drivers/input/touchscreen/raydium_i2c_ts.c
318
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
320
error, rbuf + 1);
drivers/input/touchscreen/raydium_i2c_ts.c
330
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
339
int error, retry_cnt;
drivers/input/touchscreen/raydium_i2c_ts.c
342
error = raydium_i2c_read(client, RM_CMD_DATA_BANK,
drivers/input/touchscreen/raydium_i2c_ts.c
344
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
368
error = raydium_i2c_read(client, RM_CMD_QUERY_BANK,
drivers/input/touchscreen/raydium_i2c_ts.c
371
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
374
error = raydium_i2c_read(client, le32_to_cpu(query_bank_addr),
drivers/input/touchscreen/raydium_i2c_ts.c
376
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
382
dev_err(&client->dev, "failed to query device parameters: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
383
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
392
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
394
error = raydium_i2c_read(client, RM_CMD_BOOT_READ, buf, sizeof(buf));
drivers/input/touchscreen/raydium_i2c_ts.c
395
if (!error) {
drivers/input/touchscreen/raydium_i2c_ts.c
403
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
409
int error, retry_cnt;
drivers/input/touchscreen/raydium_i2c_ts.c
415
error = raydium_i2c_check_fw_status(ts);
drivers/input/touchscreen/raydium_i2c_ts.c
416
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
418
"failed to read 'hello' packet: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
428
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
436
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
445
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
453
error = raydium_i2c_read(client, RM_CMD_BOOT_CHK,
drivers/input/touchscreen/raydium_i2c_ts.c
455
if (!error && rbuf[0] == RM_BOOT_RDY)
drivers/input/touchscreen/raydium_i2c_ts.c
461
error = raydium_i2c_read(client, RM_CMD_BOOT_CHK,
drivers/input/touchscreen/raydium_i2c_ts.c
463
if (!error && !memcmp(rbuf, ack_ok, sizeof(ack_ok)))
drivers/input/touchscreen/raydium_i2c_ts.c
484
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
487
error = raydium_i2c_send(client, RM_CMD_BOOT_WRT, data, len);
drivers/input/touchscreen/raydium_i2c_ts.c
488
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
490
error);
drivers/input/touchscreen/raydium_i2c_ts.c
491
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
494
error = raydium_i2c_send(client, RM_CMD_BOOT_ACK, cmd, sizeof(cmd));
drivers/input/touchscreen/raydium_i2c_ts.c
495
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
496
dev_err(&client->dev, "Ack obj command failed: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
497
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
500
error = raydium_i2c_bl_chk_state(client, state);
drivers/input/touchscreen/raydium_i2c_ts.c
501
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
502
dev_err(&client->dev, "BL check state failed: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
503
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
520
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
523
error = raydium_i2c_write_object(client, cmd[i], sizeof(cmd[i]),
drivers/input/touchscreen/raydium_i2c_ts.c
525
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
528
i, error);
drivers/input/touchscreen/raydium_i2c_ts.c
529
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
546
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
549
error = raydium_i2c_write_object(client, cmd[i], sizeof(cmd[i]),
drivers/input/touchscreen/raydium_i2c_ts.c
551
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
554
i, error);
drivers/input/touchscreen/raydium_i2c_ts.c
555
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
565
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
567
error = raydium_i2c_write_object(client, cmd, sizeof(cmd),
drivers/input/touchscreen/raydium_i2c_ts.c
569
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
570
dev_err(&client->dev, "check path command failed: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
571
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
580
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
582
error = raydium_i2c_write_object(client, cal_cmd, sizeof(cal_cmd),
drivers/input/touchscreen/raydium_i2c_ts.c
584
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
585
dev_err(&client->dev, "enter bl command failed: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
586
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
596
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
598
error = raydium_i2c_write_object(client, leave_cmd, sizeof(leave_cmd),
drivers/input/touchscreen/raydium_i2c_ts.c
600
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
601
dev_err(&client->dev, "leave bl command failed: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
602
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
613
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
618
error = raydium_i2c_write_object(client,
drivers/input/touchscreen/raydium_i2c_ts.c
621
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
623
error);
drivers/input/touchscreen/raydium_i2c_ts.c
624
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
633
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
635
error = raydium_i2c_write_object(client, cmd, sizeof(cmd),
drivers/input/touchscreen/raydium_i2c_ts.c
637
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
639
error);
drivers/input/touchscreen/raydium_i2c_ts.c
640
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
651
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
667
error = raydium_i2c_write_object(client, buf, RM_BL_WRT_LEN,
drivers/input/touchscreen/raydium_i2c_ts.c
669
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
672
page_idx, i, error);
drivers/input/touchscreen/raydium_i2c_ts.c
673
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
680
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
703
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
711
error = raydium_i2c_check_fw_status(ts);
drivers/input/touchscreen/raydium_i2c_ts.c
712
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
713
dev_err(&client->dev, "Unable to access IC %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
714
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
719
error = raydium_i2c_enter_bl(client);
drivers/input/touchscreen/raydium_i2c_ts.c
720
if (!error) {
drivers/input/touchscreen/raydium_i2c_ts.c
721
error = raydium_i2c_check_fw_status(ts);
drivers/input/touchscreen/raydium_i2c_ts.c
722
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
725
error);
drivers/input/touchscreen/raydium_i2c_ts.c
726
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
737
error);
drivers/input/touchscreen/raydium_i2c_ts.c
742
error = raydium_i2c_disable_watch_dog(client);
drivers/input/touchscreen/raydium_i2c_ts.c
743
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
744
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
746
error = raydium_i2c_check_path(client);
drivers/input/touchscreen/raydium_i2c_ts.c
747
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
748
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
750
error = raydium_i2c_boot_trigger(client);
drivers/input/touchscreen/raydium_i2c_ts.c
751
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
752
dev_err(&client->dev, "send boot trigger fail: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
753
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
765
error = raydium_i2c_fw_write_page(client, page_nr++, data, len);
drivers/input/touchscreen/raydium_i2c_ts.c
766
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
767
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
775
error = raydium_i2c_leave_bl(client);
drivers/input/touchscreen/raydium_i2c_ts.c
776
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
778
"failed to leave boot loader: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
779
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
785
error = raydium_i2c_check_fw_status(ts);
drivers/input/touchscreen/raydium_i2c_ts.c
786
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
789
error);
drivers/input/touchscreen/raydium_i2c_ts.c
790
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
796
error);
drivers/input/touchscreen/raydium_i2c_ts.c
800
error = raydium_i2c_fw_trigger(client);
drivers/input/touchscreen/raydium_i2c_ts.c
801
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
802
dev_err(&client->dev, "failed to trigger fw: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
803
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
808
error = raydium_i2c_write_checksum(client, fw->size, fw_checksum);
drivers/input/touchscreen/raydium_i2c_ts.c
809
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
810
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
820
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
829
error = request_firmware(&fw, fw_file, &client->dev);
drivers/input/touchscreen/raydium_i2c_ts.c
830
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
837
error = raydium_i2c_do_update_firmware(ts, fw);
drivers/input/touchscreen/raydium_i2c_ts.c
838
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
839
dev_err(&client->dev, "firmware update failed: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
844
error = raydium_i2c_initialize(ts);
drivers/input/touchscreen/raydium_i2c_ts.c
845
if (error) {
drivers/input/touchscreen/raydium_i2c_ts.c
848
error);
drivers/input/touchscreen/raydium_i2c_ts.c
864
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
903
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
910
error = raydium_i2c_read(ts->client, ts->data_bank_addr,
drivers/input/touchscreen/raydium_i2c_ts.c
912
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
966
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
968
error = mutex_lock_interruptible(&ts->sysfs_mutex);
drivers/input/touchscreen/raydium_i2c_ts.c
969
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
970
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
972
error = raydium_i2c_fw_update(ts);
drivers/input/touchscreen/raydium_i2c_ts.c
976
return error ?: count;
drivers/input/touchscreen/raydium_i2c_ts.c
986
int error;
drivers/input/touchscreen/raydium_i2c_ts.c
988
error = mutex_lock_interruptible(&ts->sysfs_mutex);
drivers/input/touchscreen/raydium_i2c_ts.c
989
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
990
return error;
drivers/input/touchscreen/raydium_i2c_ts.c
992
error = raydium_i2c_write_object(client, cal_cmd, sizeof(cal_cmd),
drivers/input/touchscreen/raydium_i2c_ts.c
994
if (error)
drivers/input/touchscreen/raydium_i2c_ts.c
995
dev_err(&client->dev, "calibrate command failed: %d\n", error);
drivers/input/touchscreen/raydium_i2c_ts.c
998
return error ?: count;
drivers/input/touchscreen/resistive-adc-touch.c
111
int error;
drivers/input/touchscreen/resistive-adc-touch.c
114
error = iio_channel_start_all_cb(st->iio_cb);
drivers/input/touchscreen/resistive-adc-touch.c
115
if (error) {
drivers/input/touchscreen/resistive-adc-touch.c
117
return error;
drivers/input/touchscreen/resistive-adc-touch.c
155
int error;
drivers/input/touchscreen/resistive-adc-touch.c
157
error = grts_map_channel(st, dev, GRTS_CH_X, "x", false);
drivers/input/touchscreen/resistive-adc-touch.c
158
if (error)
drivers/input/touchscreen/resistive-adc-touch.c
159
return error;
drivers/input/touchscreen/resistive-adc-touch.c
161
error = grts_map_channel(st, dev, GRTS_CH_Y, "y", false);
drivers/input/touchscreen/resistive-adc-touch.c
162
if (error)
drivers/input/touchscreen/resistive-adc-touch.c
163
return error;
drivers/input/touchscreen/resistive-adc-touch.c
166
error = grts_map_channel(st, dev, GRTS_CH_PRESSURE, "pressure", true);
drivers/input/touchscreen/resistive-adc-touch.c
167
if (error)
drivers/input/touchscreen/resistive-adc-touch.c
168
return error;
drivers/input/touchscreen/resistive-adc-touch.c
176
error = grts_map_channel(st, dev, GRTS_CH_Z1, "z1", true);
drivers/input/touchscreen/resistive-adc-touch.c
177
if (error)
drivers/input/touchscreen/resistive-adc-touch.c
178
return error;
drivers/input/touchscreen/resistive-adc-touch.c
184
error = grts_map_channel(st, dev, GRTS_CH_Z2, "z2", true);
drivers/input/touchscreen/resistive-adc-touch.c
185
if (error)
drivers/input/touchscreen/resistive-adc-touch.c
186
return error;
drivers/input/touchscreen/resistive-adc-touch.c
188
error = device_property_read_u32(dev,
drivers/input/touchscreen/resistive-adc-touch.c
191
if (error) {
drivers/input/touchscreen/resistive-adc-touch.c
193
return error;
drivers/input/touchscreen/resistive-adc-touch.c
205
int error;
drivers/input/touchscreen/resistive-adc-touch.c
219
error = grts_get_properties(st, dev);
drivers/input/touchscreen/resistive-adc-touch.c
220
if (error) {
drivers/input/touchscreen/resistive-adc-touch.c
222
return error;
drivers/input/touchscreen/resistive-adc-touch.c
226
error = device_property_read_u32(dev,
drivers/input/touchscreen/resistive-adc-touch.c
229
if (error) {
drivers/input/touchscreen/resistive-adc-touch.c
260
error = input_register_device(input);
drivers/input/touchscreen/resistive-adc-touch.c
261
if (error) {
drivers/input/touchscreen/resistive-adc-touch.c
263
return error;
drivers/input/touchscreen/resistive-adc-touch.c
272
error = devm_add_action_or_reset(dev, grts_disable, st->iio_cb);
drivers/input/touchscreen/resistive-adc-touch.c
273
if (error) {
drivers/input/touchscreen/resistive-adc-touch.c
275
return error;
drivers/input/touchscreen/rohm_bu21023.c
1000
return error;
drivers/input/touchscreen/rohm_bu21023.c
1003
error = i2c_smbus_write_byte_data(client, INT_MASK,
drivers/input/touchscreen/rohm_bu21023.c
1006
if (error)
drivers/input/touchscreen/rohm_bu21023.c
1007
return error;
drivers/input/touchscreen/rohm_bu21023.c
1009
error = i2c_smbus_write_byte_data(client, ERR_MASK,
drivers/input/touchscreen/rohm_bu21023.c
1012
if (error)
drivers/input/touchscreen/rohm_bu21023.c
1013
return error;
drivers/input/touchscreen/rohm_bu21023.c
1016
error = i2c_smbus_write_byte_data(client, SYSTEM,
drivers/input/touchscreen/rohm_bu21023.c
1018
if (error)
drivers/input/touchscreen/rohm_bu21023.c
1019
return error;
drivers/input/touchscreen/rohm_bu21023.c
1026
int error;
drivers/input/touchscreen/rohm_bu21023.c
1028
error = i2c_smbus_write_byte_data(client, SYSTEM,
drivers/input/touchscreen/rohm_bu21023.c
1030
if (error) {
drivers/input/touchscreen/rohm_bu21023.c
1032
"failed to power off device CPU: %d\n", error);
drivers/input/touchscreen/rohm_bu21023.c
1033
return error;
drivers/input/touchscreen/rohm_bu21023.c
1036
error = i2c_smbus_write_byte_data(client, SYSTEM,
drivers/input/touchscreen/rohm_bu21023.c
1038
if (error)
drivers/input/touchscreen/rohm_bu21023.c
1040
"failed to power off the device: %d\n", error);
drivers/input/touchscreen/rohm_bu21023.c
1042
return error;
drivers/input/touchscreen/rohm_bu21023.c
1049
int error;
drivers/input/touchscreen/rohm_bu21023.c
1052
error = rohm_ts_device_init(client, ts->setup2);
drivers/input/touchscreen/rohm_bu21023.c
1053
if (error) {
drivers/input/touchscreen/rohm_bu21023.c
1055
"device initialization failed: %d\n", error);
drivers/input/touchscreen/rohm_bu21023.c
1056
return error;
drivers/input/touchscreen/rohm_bu21023.c
1079
int error;
drivers/input/touchscreen/rohm_bu21023.c
1092
error = rohm_ts_power_off(client);
drivers/input/touchscreen/rohm_bu21023.c
1093
if (error)
drivers/input/touchscreen/rohm_bu21023.c
1094
return error;
drivers/input/touchscreen/rohm_bu21023.c
1121
error = input_mt_init_slots(input, MAX_CONTACTS,
drivers/input/touchscreen/rohm_bu21023.c
1124
if (error) {
drivers/input/touchscreen/rohm_bu21023.c
1126
return error;
drivers/input/touchscreen/rohm_bu21023.c
1129
error = devm_request_threaded_irq(dev, client->irq,
drivers/input/touchscreen/rohm_bu21023.c
1132
if (error) {
drivers/input/touchscreen/rohm_bu21023.c
1133
dev_err(dev, "failed to request IRQ: %d\n", error);
drivers/input/touchscreen/rohm_bu21023.c
1134
return error;
drivers/input/touchscreen/rohm_bu21023.c
1137
error = input_register_device(input);
drivers/input/touchscreen/rohm_bu21023.c
1138
if (error) {
drivers/input/touchscreen/rohm_bu21023.c
1139
dev_err(dev, "failed to register input device: %d\n", error);
drivers/input/touchscreen/rohm_bu21023.c
1140
return error;
drivers/input/touchscreen/rohm_bu21023.c
1143
return error;
drivers/input/touchscreen/rohm_bu21023.c
332
int error, error2;
drivers/input/touchscreen/rohm_bu21023.c
347
error = i2c_smbus_write_byte_data(client, INT_MASK,
drivers/input/touchscreen/rohm_bu21023.c
350
if (error)
drivers/input/touchscreen/rohm_bu21023.c
353
error = i2c_smbus_write_byte_data(client, TEST1,
drivers/input/touchscreen/rohm_bu21023.c
355
if (error)
drivers/input/touchscreen/rohm_bu21023.c
364
error = rohm_i2c_burst_read(client, PRM1_X_H, buf, sizeof(buf));
drivers/input/touchscreen/rohm_bu21023.c
365
if (error)
drivers/input/touchscreen/rohm_bu21023.c
378
error = i2c_smbus_write_byte_data(client, TEST1,
drivers/input/touchscreen/rohm_bu21023.c
380
if (error)
drivers/input/touchscreen/rohm_bu21023.c
413
error = i2c_smbus_write_byte_data(client,
drivers/input/touchscreen/rohm_bu21023.c
415
if (error)
drivers/input/touchscreen/rohm_bu21023.c
418
error = i2c_smbus_write_byte_data(client,
drivers/input/touchscreen/rohm_bu21023.c
420
if (error)
drivers/input/touchscreen/rohm_bu21023.c
423
error = i2c_smbus_write_byte_data(client,
drivers/input/touchscreen/rohm_bu21023.c
425
if (error)
drivers/input/touchscreen/rohm_bu21023.c
431
error = i2c_smbus_write_byte_data(client, FORCE_CALIBRATION,
drivers/input/touchscreen/rohm_bu21023.c
433
if (error)
drivers/input/touchscreen/rohm_bu21023.c
436
error = i2c_smbus_write_byte_data(client, FORCE_CALIBRATION,
drivers/input/touchscreen/rohm_bu21023.c
438
if (error)
drivers/input/touchscreen/rohm_bu21023.c
442
error = i2c_smbus_write_byte_data(client, INT_CLEAR, 0xff);
drivers/input/touchscreen/rohm_bu21023.c
443
if (error)
drivers/input/touchscreen/rohm_bu21023.c
459
error = val;
drivers/input/touchscreen/rohm_bu21023.c
470
error = val;
drivers/input/touchscreen/rohm_bu21023.c
479
error = i2c_smbus_write_byte_data(client, CALIBRATION_REG1,
drivers/input/touchscreen/rohm_bu21023.c
481
if (error)
drivers/input/touchscreen/rohm_bu21023.c
484
error = i2c_smbus_write_byte_data(client, CALIBRATION_REG2,
drivers/input/touchscreen/rohm_bu21023.c
486
if (error)
drivers/input/touchscreen/rohm_bu21023.c
489
error = i2c_smbus_write_byte_data(client, CALIBRATION_REG3,
drivers/input/touchscreen/rohm_bu21023.c
491
if (error)
drivers/input/touchscreen/rohm_bu21023.c
495
error = i2c_smbus_write_byte_data(client, TEST1,
drivers/input/touchscreen/rohm_bu21023.c
498
if (error)
drivers/input/touchscreen/rohm_bu21023.c
504
error = -EBUSY;
drivers/input/touchscreen/rohm_bu21023.c
513
return error ? error : error2;
drivers/input/touchscreen/rohm_bu21023.c
536
int error;
drivers/input/touchscreen/rohm_bu21023.c
539
error = i2c_smbus_write_byte_data(client, INT_MASK, INT_ALL);
drivers/input/touchscreen/rohm_bu21023.c
540
if (error)
drivers/input/touchscreen/rohm_bu21023.c
544
error = i2c_smbus_write_byte_data(client, INT_CLEAR, 0xff);
drivers/input/touchscreen/rohm_bu21023.c
545
if (error)
drivers/input/touchscreen/rohm_bu21023.c
550
error = rohm_i2c_burst_read(client, POS_X1_H, buf, sizeof(buf));
drivers/input/touchscreen/rohm_bu21023.c
551
if (error)
drivers/input/touchscreen/rohm_bu21023.c
629
error = rohm_ts_manual_calibration(ts);
drivers/input/touchscreen/rohm_bu21023.c
630
if (error)
drivers/input/touchscreen/rohm_bu21023.c
632
error);
drivers/input/touchscreen/rohm_bu21023.c
649
int error, error2;
drivers/input/touchscreen/rohm_bu21023.c
652
error = request_firmware(&fw, firmware_name, dev);
drivers/input/touchscreen/rohm_bu21023.c
653
if (error) {
drivers/input/touchscreen/rohm_bu21023.c
655
firmware_name, error);
drivers/input/touchscreen/rohm_bu21023.c
656
return error;
drivers/input/touchscreen/rohm_bu21023.c
659
error = i2c_smbus_write_byte_data(client, INT_MASK,
drivers/input/touchscreen/rohm_bu21023.c
662
if (error)
drivers/input/touchscreen/rohm_bu21023.c
670
error = i2c_smbus_write_byte_data(client, EX_WDAT, 0);
drivers/input/touchscreen/rohm_bu21023.c
671
if (error)
drivers/input/touchscreen/rohm_bu21023.c
675
error = i2c_smbus_write_byte_data(client, EX_ADDR_H, 0);
drivers/input/touchscreen/rohm_bu21023.c
676
if (error)
drivers/input/touchscreen/rohm_bu21023.c
679
error = i2c_smbus_write_byte_data(client, EX_ADDR_L, 0);
drivers/input/touchscreen/rohm_bu21023.c
680
if (error)
drivers/input/touchscreen/rohm_bu21023.c
683
error = i2c_smbus_write_byte_data(client, COMMON_SETUP1,
drivers/input/touchscreen/rohm_bu21023.c
685
if (error)
drivers/input/touchscreen/rohm_bu21023.c
695
error = i2c_smbus_write_i2c_block_data(client, EX_WDAT,
drivers/input/touchscreen/rohm_bu21023.c
697
if (error)
drivers/input/touchscreen/rohm_bu21023.c
707
error = status;
drivers/input/touchscreen/rohm_bu21023.c
712
error = i2c_smbus_write_byte_data(client, INT_CLEAR, 0xff);
drivers/input/touchscreen/rohm_bu21023.c
713
if (error)
drivers/input/touchscreen/rohm_bu21023.c
719
error = -EIO;
drivers/input/touchscreen/rohm_bu21023.c
725
return error ? error : error2;
drivers/input/touchscreen/rohm_bu21023.c
731
int error;
drivers/input/touchscreen/rohm_bu21023.c
740
error = i2c_smbus_write_byte_data(ts->client,
drivers/input/touchscreen/rohm_bu21023.c
743
if (error)
drivers/input/touchscreen/rohm_bu21023.c
744
return error;
drivers/input/touchscreen/rohm_bu21023.c
766
int error;
drivers/input/touchscreen/rohm_bu21023.c
768
error = kstrtouint(buf, 0, &val);
drivers/input/touchscreen/rohm_bu21023.c
769
if (error)
drivers/input/touchscreen/rohm_bu21023.c
770
return error;
drivers/input/touchscreen/rohm_bu21023.c
772
error = rohm_ts_update_setting(ts, SWAP_XY, val);
drivers/input/touchscreen/rohm_bu21023.c
773
return error ?: count;
drivers/input/touchscreen/rohm_bu21023.c
791
int error;
drivers/input/touchscreen/rohm_bu21023.c
793
error = kstrtouint(buf, 0, &val);
drivers/input/touchscreen/rohm_bu21023.c
794
if (error)
drivers/input/touchscreen/rohm_bu21023.c
795
return error;
drivers/input/touchscreen/rohm_bu21023.c
797
error = rohm_ts_update_setting(ts, INV_X, val);
drivers/input/touchscreen/rohm_bu21023.c
798
return error ?: count;
drivers/input/touchscreen/rohm_bu21023.c
816
int error;
drivers/input/touchscreen/rohm_bu21023.c
818
error = kstrtouint(buf, 0, &val);
drivers/input/touchscreen/rohm_bu21023.c
819
if (error)
drivers/input/touchscreen/rohm_bu21023.c
820
return error;
drivers/input/touchscreen/rohm_bu21023.c
822
error = rohm_ts_update_setting(ts, INV_Y, val);
drivers/input/touchscreen/rohm_bu21023.c
823
return error ?: count;
drivers/input/touchscreen/rohm_bu21023.c
841
int error;
drivers/input/touchscreen/rohm_bu21023.c
851
error = i2c_smbus_write_byte_data(client, SYSTEM,
drivers/input/touchscreen/rohm_bu21023.c
853
if (error)
drivers/input/touchscreen/rohm_bu21023.c
854
return error;
drivers/input/touchscreen/rohm_bu21023.c
860
error = i2c_smbus_write_byte_data(client, INT_CLEAR, 0xff);
drivers/input/touchscreen/rohm_bu21023.c
861
if (error)
drivers/input/touchscreen/rohm_bu21023.c
862
return error;
drivers/input/touchscreen/rohm_bu21023.c
864
error = i2c_smbus_write_byte_data(client, EX_WDAT, 0);
drivers/input/touchscreen/rohm_bu21023.c
865
if (error)
drivers/input/touchscreen/rohm_bu21023.c
866
return error;
drivers/input/touchscreen/rohm_bu21023.c
868
error = i2c_smbus_write_byte_data(client, COMMON_SETUP1, 0);
drivers/input/touchscreen/rohm_bu21023.c
869
if (error)
drivers/input/touchscreen/rohm_bu21023.c
870
return error;
drivers/input/touchscreen/rohm_bu21023.c
872
error = i2c_smbus_write_byte_data(client, COMMON_SETUP2, setup2);
drivers/input/touchscreen/rohm_bu21023.c
873
if (error)
drivers/input/touchscreen/rohm_bu21023.c
874
return error;
drivers/input/touchscreen/rohm_bu21023.c
876
error = i2c_smbus_write_byte_data(client, COMMON_SETUP3,
drivers/input/touchscreen/rohm_bu21023.c
878
if (error)
drivers/input/touchscreen/rohm_bu21023.c
879
return error;
drivers/input/touchscreen/rohm_bu21023.c
881
error = i2c_smbus_write_byte_data(client, THRESHOLD_GESTURE,
drivers/input/touchscreen/rohm_bu21023.c
883
if (error)
drivers/input/touchscreen/rohm_bu21023.c
884
return error;
drivers/input/touchscreen/rohm_bu21023.c
886
error = i2c_smbus_write_byte_data(client, INTERVAL_TIME,
drivers/input/touchscreen/rohm_bu21023.c
888
if (error)
drivers/input/touchscreen/rohm_bu21023.c
889
return error;
drivers/input/touchscreen/rohm_bu21023.c
891
error = i2c_smbus_write_byte_data(client, CPU_FREQ, CPU_FREQ_10MHZ);
drivers/input/touchscreen/rohm_bu21023.c
892
if (error)
drivers/input/touchscreen/rohm_bu21023.c
893
return error;
drivers/input/touchscreen/rohm_bu21023.c
895
error = i2c_smbus_write_byte_data(client, PRM_SWOFF_TIME,
drivers/input/touchscreen/rohm_bu21023.c
897
if (error)
drivers/input/touchscreen/rohm_bu21023.c
898
return error;
drivers/input/touchscreen/rohm_bu21023.c
900
error = i2c_smbus_write_byte_data(client, ADC_CTRL, ADC_DIV_DEFAULT);
drivers/input/touchscreen/rohm_bu21023.c
901
if (error)
drivers/input/touchscreen/rohm_bu21023.c
902
return error;
drivers/input/touchscreen/rohm_bu21023.c
904
error = i2c_smbus_write_byte_data(client, ADC_WAIT, ADC_WAIT_DEFAULT);
drivers/input/touchscreen/rohm_bu21023.c
905
if (error)
drivers/input/touchscreen/rohm_bu21023.c
906
return error;
drivers/input/touchscreen/rohm_bu21023.c
911
error = i2c_smbus_write_byte_data(client, STEP_X, STEP_X_DEFAULT);
drivers/input/touchscreen/rohm_bu21023.c
912
if (error)
drivers/input/touchscreen/rohm_bu21023.c
913
return error;
drivers/input/touchscreen/rohm_bu21023.c
915
error = i2c_smbus_write_byte_data(client, STEP_Y, STEP_Y_DEFAULT);
drivers/input/touchscreen/rohm_bu21023.c
916
if (error)
drivers/input/touchscreen/rohm_bu21023.c
917
return error;
drivers/input/touchscreen/rohm_bu21023.c
919
error = i2c_smbus_write_byte_data(client, OFFSET_X, OFFSET_X_DEFAULT);
drivers/input/touchscreen/rohm_bu21023.c
920
if (error)
drivers/input/touchscreen/rohm_bu21023.c
921
return error;
drivers/input/touchscreen/rohm_bu21023.c
923
error = i2c_smbus_write_byte_data(client, OFFSET_Y, OFFSET_Y_DEFAULT);
drivers/input/touchscreen/rohm_bu21023.c
924
if (error)
drivers/input/touchscreen/rohm_bu21023.c
925
return error;
drivers/input/touchscreen/rohm_bu21023.c
927
error = i2c_smbus_write_byte_data(client, THRESHOLD_TOUCH,
drivers/input/touchscreen/rohm_bu21023.c
929
if (error)
drivers/input/touchscreen/rohm_bu21023.c
930
return error;
drivers/input/touchscreen/rohm_bu21023.c
932
error = i2c_smbus_write_byte_data(client, EVR_XY, EVR_XY_DEFAULT);
drivers/input/touchscreen/rohm_bu21023.c
933
if (error)
drivers/input/touchscreen/rohm_bu21023.c
934
return error;
drivers/input/touchscreen/rohm_bu21023.c
936
error = i2c_smbus_write_byte_data(client, EVR_X, EVR_X_DEFAULT);
drivers/input/touchscreen/rohm_bu21023.c
937
if (error)
drivers/input/touchscreen/rohm_bu21023.c
938
return error;
drivers/input/touchscreen/rohm_bu21023.c
940
error = i2c_smbus_write_byte_data(client, EVR_Y, EVR_Y_DEFAULT);
drivers/input/touchscreen/rohm_bu21023.c
941
if (error)
drivers/input/touchscreen/rohm_bu21023.c
942
return error;
drivers/input/touchscreen/rohm_bu21023.c
945
error = i2c_smbus_write_byte_data(client, CALIBRATION_ADJUST,
drivers/input/touchscreen/rohm_bu21023.c
947
if (error)
drivers/input/touchscreen/rohm_bu21023.c
948
return error;
drivers/input/touchscreen/rohm_bu21023.c
950
error = i2c_smbus_write_byte_data(client, SWCONT, SWCONT_DEFAULT);
drivers/input/touchscreen/rohm_bu21023.c
951
if (error)
drivers/input/touchscreen/rohm_bu21023.c
952
return error;
drivers/input/touchscreen/rohm_bu21023.c
954
error = i2c_smbus_write_byte_data(client, TEST1,
drivers/input/touchscreen/rohm_bu21023.c
957
if (error)
drivers/input/touchscreen/rohm_bu21023.c
958
return error;
drivers/input/touchscreen/rohm_bu21023.c
960
error = rohm_ts_load_firmware(client, BU21023_FIRMWARE_NAME);
drivers/input/touchscreen/rohm_bu21023.c
961
if (error) {
drivers/input/touchscreen/rohm_bu21023.c
962
dev_err(dev, "failed to load firmware: %d\n", error);
drivers/input/touchscreen/rohm_bu21023.c
963
return error;
drivers/input/touchscreen/rohm_bu21023.c
972
error = i2c_smbus_write_byte_data(client, CALIBRATION_REG1,
drivers/input/touchscreen/rohm_bu21023.c
974
if (error)
drivers/input/touchscreen/rohm_bu21023.c
975
return error;
drivers/input/touchscreen/rohm_bu21023.c
977
error = i2c_smbus_write_byte_data(client, CALIBRATION_REG2,
drivers/input/touchscreen/rohm_bu21023.c
979
if (error)
drivers/input/touchscreen/rohm_bu21023.c
980
return error;
drivers/input/touchscreen/rohm_bu21023.c
982
error = i2c_smbus_write_byte_data(client, CALIBRATION_REG3,
drivers/input/touchscreen/rohm_bu21023.c
984
if (error)
drivers/input/touchscreen/rohm_bu21023.c
985
return error;
drivers/input/touchscreen/rohm_bu21023.c
987
error = i2c_smbus_write_byte_data(client, FORCE_CALIBRATION,
drivers/input/touchscreen/rohm_bu21023.c
989
if (error)
drivers/input/touchscreen/rohm_bu21023.c
990
return error;
drivers/input/touchscreen/rohm_bu21023.c
992
error = i2c_smbus_write_byte_data(client, FORCE_CALIBRATION,
drivers/input/touchscreen/rohm_bu21023.c
994
if (error)
drivers/input/touchscreen/rohm_bu21023.c
995
return error;
drivers/input/touchscreen/rohm_bu21023.c
998
error = i2c_smbus_write_byte_data(client, INT_CLEAR, 0xff);
drivers/input/touchscreen/rohm_bu21023.c
999
if (error)
drivers/input/touchscreen/silead.c
124
int error;
drivers/input/touchscreen/silead.c
149
error = input_register_device(data->input);
drivers/input/touchscreen/silead.c
150
if (error) {
drivers/input/touchscreen/silead.c
151
dev_err(dev, "Failed to register input device: %d\n", error);
drivers/input/touchscreen/silead.c
152
return error;
drivers/input/touchscreen/silead.c
161
int error;
drivers/input/touchscreen/silead.c
183
error = input_register_device(data->pen_input);
drivers/input/touchscreen/silead.c
184
if (error) {
drivers/input/touchscreen/silead.c
185
dev_err(dev, "Failed to register pen input device: %d\n", error);
drivers/input/touchscreen/silead.c
186
return error;
drivers/input/touchscreen/silead.c
248
int touch_nr, softbutton, error, i;
drivers/input/touchscreen/silead.c
251
error = i2c_smbus_read_i2c_block_data(client, SILEAD_REG_DATA,
drivers/input/touchscreen/silead.c
253
if (error < 0) {
drivers/input/touchscreen/silead.c
254
dev_err(dev, "Data read error %d\n", error);
drivers/input/touchscreen/silead.c
317
int error;
drivers/input/touchscreen/silead.c
319
error = i2c_smbus_write_byte_data(client, SILEAD_REG_RESET,
drivers/input/touchscreen/silead.c
321
if (error)
drivers/input/touchscreen/silead.c
325
error = i2c_smbus_write_byte_data(client, SILEAD_REG_TOUCH_NR,
drivers/input/touchscreen/silead.c
327
if (error)
drivers/input/touchscreen/silead.c
331
error = i2c_smbus_write_byte_data(client, SILEAD_REG_CLOCK,
drivers/input/touchscreen/silead.c
333
if (error)
drivers/input/touchscreen/silead.c
337
error = i2c_smbus_write_byte_data(client, SILEAD_REG_RESET,
drivers/input/touchscreen/silead.c
339
if (error)
drivers/input/touchscreen/silead.c
346
dev_err(&client->dev, "Registers clear error %d\n", error);
drivers/input/touchscreen/silead.c
347
return error;
drivers/input/touchscreen/silead.c
352
int error;
drivers/input/touchscreen/silead.c
354
error = i2c_smbus_write_byte_data(client, SILEAD_REG_RESET,
drivers/input/touchscreen/silead.c
356
if (error)
drivers/input/touchscreen/silead.c
360
error = i2c_smbus_write_byte_data(client, SILEAD_REG_CLOCK,
drivers/input/touchscreen/silead.c
362
if (error)
drivers/input/touchscreen/silead.c
366
error = i2c_smbus_write_byte_data(client, SILEAD_REG_POWER,
drivers/input/touchscreen/silead.c
368
if (error)
drivers/input/touchscreen/silead.c
375
dev_err(&client->dev, "Chip reset error %d\n", error);
drivers/input/touchscreen/silead.c
376
return error;
drivers/input/touchscreen/silead.c
381
int error;
drivers/input/touchscreen/silead.c
383
error = i2c_smbus_write_byte_data(client, SILEAD_REG_RESET, 0x00);
drivers/input/touchscreen/silead.c
384
if (error) {
drivers/input/touchscreen/silead.c
385
dev_err(&client->dev, "Startup error %d\n", error);
drivers/input/touchscreen/silead.c
386
return error;
drivers/input/touchscreen/silead.c
401
int error;
drivers/input/touchscreen/silead.c
427
error = firmware_request_nowarn(&fw, data->fw_name, dev);
drivers/input/touchscreen/silead.c
428
if (error) {
drivers/input/touchscreen/silead.c
429
error = firmware_request_platform(&fw, data->fw_name, dev);
drivers/input/touchscreen/silead.c
430
if (error) {
drivers/input/touchscreen/silead.c
431
dev_err(dev, "Firmware request error %d\n", error);
drivers/input/touchscreen/silead.c
432
return error;
drivers/input/touchscreen/silead.c
435
error = device_property_read_u32_array(dev, "silead,efi-fw-min-max",
drivers/input/touchscreen/silead.c
438
if (!error)
drivers/input/touchscreen/silead.c
454
error = i2c_smbus_write_i2c_block_data(client,
drivers/input/touchscreen/silead.c
458
if (error) {
drivers/input/touchscreen/silead.c
459
dev_err(dev, "Firmware load error %d\n", error);
drivers/input/touchscreen/silead.c
465
return error ?: 0;
drivers/input/touchscreen/silead.c
470
int error;
drivers/input/touchscreen/silead.c
473
error = i2c_smbus_read_i2c_block_data(client, SILEAD_REG_STATUS,
drivers/input/touchscreen/silead.c
475
if (error < 0) {
drivers/input/touchscreen/silead.c
476
dev_err(&client->dev, "Status read error %d\n", error);
drivers/input/touchscreen/silead.c
477
return error;
drivers/input/touchscreen/silead.c
487
int error;
drivers/input/touchscreen/silead.c
489
error = i2c_smbus_read_i2c_block_data(client, SILEAD_REG_ID,
drivers/input/touchscreen/silead.c
491
if (error < 0)
drivers/input/touchscreen/silead.c
492
return error;
drivers/input/touchscreen/silead.c
502
int error;
drivers/input/touchscreen/silead.c
543
error = silead_ts_get_id(client);
drivers/input/touchscreen/silead.c
544
if (error) {
drivers/input/touchscreen/silead.c
545
dev_err(&client->dev, "Chip ID read error %d\n", error);
drivers/input/touchscreen/silead.c
546
return error;
drivers/input/touchscreen/silead.c
549
error = silead_ts_init(client);
drivers/input/touchscreen/silead.c
550
if (error)
drivers/input/touchscreen/silead.c
551
return error;
drivers/input/touchscreen/silead.c
553
error = silead_ts_reset(client);
drivers/input/touchscreen/silead.c
554
if (error)
drivers/input/touchscreen/silead.c
555
return error;
drivers/input/touchscreen/silead.c
557
error = silead_ts_load_fw(client);
drivers/input/touchscreen/silead.c
558
if (error)
drivers/input/touchscreen/silead.c
559
return error;
drivers/input/touchscreen/silead.c
561
error = silead_ts_startup(client);
drivers/input/touchscreen/silead.c
562
if (error)
drivers/input/touchscreen/silead.c
563
return error;
drivers/input/touchscreen/silead.c
590
int error;
drivers/input/touchscreen/silead.c
592
error = device_property_read_string(dev, "firmware-name", &str);
drivers/input/touchscreen/silead.c
593
if (!error)
drivers/input/touchscreen/silead.c
651
int error;
drivers/input/touchscreen/silead.c
668
error = silead_ts_set_default_fw_name(data, id);
drivers/input/touchscreen/silead.c
669
if (error)
drivers/input/touchscreen/silead.c
670
return error;
drivers/input/touchscreen/silead.c
680
error = devm_regulator_bulk_get(dev, ARRAY_SIZE(data->regulators),
drivers/input/touchscreen/silead.c
682
if (error)
drivers/input/touchscreen/silead.c
683
return error;
drivers/input/touchscreen/silead.c
689
error = regulator_bulk_enable(ARRAY_SIZE(data->regulators),
drivers/input/touchscreen/silead.c
691
if (error)
drivers/input/touchscreen/silead.c
692
return error;
drivers/input/touchscreen/silead.c
694
error = devm_add_action_or_reset(dev, silead_disable_regulator, data);
drivers/input/touchscreen/silead.c
695
if (error)
drivers/input/touchscreen/silead.c
696
return error;
drivers/input/touchscreen/silead.c
704
error = silead_ts_setup(client);
drivers/input/touchscreen/silead.c
705
if (error)
drivers/input/touchscreen/silead.c
706
return error;
drivers/input/touchscreen/silead.c
708
error = silead_ts_request_input_dev(data);
drivers/input/touchscreen/silead.c
709
if (error)
drivers/input/touchscreen/silead.c
710
return error;
drivers/input/touchscreen/silead.c
712
error = silead_ts_request_pen_input_dev(data);
drivers/input/touchscreen/silead.c
713
if (error)
drivers/input/touchscreen/silead.c
714
return error;
drivers/input/touchscreen/silead.c
716
error = devm_request_threaded_irq(dev, client->irq,
drivers/input/touchscreen/silead.c
719
if (error) {
drivers/input/touchscreen/silead.c
720
if (error != -EPROBE_DEFER)
drivers/input/touchscreen/silead.c
721
dev_err(dev, "IRQ request failed %d\n", error);
drivers/input/touchscreen/silead.c
722
return error;
drivers/input/touchscreen/silead.c
741
int error, status;
drivers/input/touchscreen/silead.c
746
error = silead_ts_reset(client);
drivers/input/touchscreen/silead.c
747
if (error)
drivers/input/touchscreen/silead.c
748
return error;
drivers/input/touchscreen/silead.c
751
error = silead_ts_load_fw(client);
drivers/input/touchscreen/silead.c
752
if (error)
drivers/input/touchscreen/silead.c
753
return error;
drivers/input/touchscreen/silead.c
756
error = silead_ts_startup(client);
drivers/input/touchscreen/silead.c
757
if (error)
drivers/input/touchscreen/silead.c
758
return error;
drivers/input/touchscreen/sis_i2c.c
230
int error;
drivers/input/touchscreen/sis_i2c.c
234
error = sis_read_packet(ts->client, ts->packet,
drivers/input/touchscreen/sis_i2c.c
236
if (error)
drivers/input/touchscreen/sis_i2c.c
253
error = sis_ts_report_contact(ts, contact, report_id);
drivers/input/touchscreen/sis_i2c.c
254
if (error)
drivers/input/touchscreen/sis_i2c.c
303
int error;
drivers/input/touchscreen/sis_i2c.c
342
error = input_mt_init_slots(input, SIS_MAX_FINGERS, INPUT_MT_DIRECT);
drivers/input/touchscreen/sis_i2c.c
343
if (error) {
drivers/input/touchscreen/sis_i2c.c
345
"Failed to initialize MT slots: %d\n", error);
drivers/input/touchscreen/sis_i2c.c
346
return error;
drivers/input/touchscreen/sis_i2c.c
349
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/sis_i2c.c
353
if (error) {
drivers/input/touchscreen/sis_i2c.c
354
dev_err(&client->dev, "Failed to request IRQ: %d\n", error);
drivers/input/touchscreen/sis_i2c.c
355
return error;
drivers/input/touchscreen/sis_i2c.c
358
error = input_register_device(ts->input);
drivers/input/touchscreen/sis_i2c.c
359
if (error) {
drivers/input/touchscreen/sis_i2c.c
361
"Failed to register input device: %d\n", error);
drivers/input/touchscreen/sis_i2c.c
362
return error;
drivers/input/touchscreen/st1232.c
117
int error;
drivers/input/touchscreen/st1232.c
120
error = st1232_ts_read_data(ts, REG_XY_RESOLUTION, 3);
drivers/input/touchscreen/st1232.c
121
if (error)
drivers/input/touchscreen/st1232.c
122
return error;
drivers/input/touchscreen/st1232.c
184
int error;
drivers/input/touchscreen/st1232.c
186
error = st1232_ts_read_data(ts, REG_XY_COORDINATES, ts->read_buf_len);
drivers/input/touchscreen/st1232.c
187
if (error)
drivers/input/touchscreen/st1232.c
237
int error;
drivers/input/touchscreen/st1232.c
279
error = PTR_ERR(ts->reset_gpio);
drivers/input/touchscreen/st1232.c
281
error);
drivers/input/touchscreen/st1232.c
282
return error;
drivers/input/touchscreen/st1232.c
287
error = devm_add_action_or_reset(&client->dev, st1232_ts_power_off, ts);
drivers/input/touchscreen/st1232.c
288
if (error) {
drivers/input/touchscreen/st1232.c
290
"Failed to install power off action: %d\n", error);
drivers/input/touchscreen/st1232.c
291
return error;
drivers/input/touchscreen/st1232.c
298
error = st1232_ts_wait_ready(ts);
drivers/input/touchscreen/st1232.c
299
if (error)
drivers/input/touchscreen/st1232.c
300
return error;
drivers/input/touchscreen/st1232.c
308
error = touch_overlay_map(&ts->touch_overlay_list, input_dev);
drivers/input/touchscreen/st1232.c
309
if (error)
drivers/input/touchscreen/st1232.c
310
return error;
drivers/input/touchscreen/st1232.c
318
error = st1232_ts_read_resolution(ts, &max_x, &max_y);
drivers/input/touchscreen/st1232.c
319
if (error) {
drivers/input/touchscreen/st1232.c
321
"Failed to read resolution: %d\n", error);
drivers/input/touchscreen/st1232.c
322
return error;
drivers/input/touchscreen/st1232.c
333
error = input_mt_init_slots(input_dev, ts->chip_info->max_fingers,
drivers/input/touchscreen/st1232.c
336
if (error) {
drivers/input/touchscreen/st1232.c
338
return error;
drivers/input/touchscreen/st1232.c
341
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/st1232.c
345
if (error) {
drivers/input/touchscreen/st1232.c
347
return error;
drivers/input/touchscreen/st1232.c
350
error = input_register_device(ts->input_dev);
drivers/input/touchscreen/st1232.c
351
if (error) {
drivers/input/touchscreen/st1232.c
354
return error;
drivers/input/touchscreen/st1232.c
95
int error;
drivers/input/touchscreen/st1232.c
98
error = st1232_ts_read_data(ts, REG_STATUS, 1);
drivers/input/touchscreen/st1232.c
99
if (!error) {
drivers/input/touchscreen/stmpe-ts.c
292
int error;
drivers/input/touchscreen/stmpe-ts.c
316
error = devm_request_threaded_irq(&pdev->dev, ts_irq,
drivers/input/touchscreen/stmpe-ts.c
319
if (error) {
drivers/input/touchscreen/stmpe-ts.c
321
return error;
drivers/input/touchscreen/stmpe-ts.c
324
error = stmpe_init_hw(ts);
drivers/input/touchscreen/stmpe-ts.c
325
if (error)
drivers/input/touchscreen/stmpe-ts.c
326
return error;
drivers/input/touchscreen/stmpe-ts.c
344
error = input_register_device(idev);
drivers/input/touchscreen/stmpe-ts.c
345
if (error) {
drivers/input/touchscreen/stmpe-ts.c
347
return error;
drivers/input/touchscreen/sun4i-ts.c
209
int error;
drivers/input/touchscreen/sun4i-ts.c
211
error = sun4i_get_temp(ts, &temp);
drivers/input/touchscreen/sun4i-ts.c
212
if (error)
drivers/input/touchscreen/sun4i-ts.c
213
return error;
drivers/input/touchscreen/sun4i-ts.c
241
int error;
drivers/input/touchscreen/sun4i-ts.c
309
error = devm_request_irq(dev, ts->irq, sun4i_ts_irq, 0, "sun4i-ts", ts);
drivers/input/touchscreen/sun4i-ts.c
310
if (error)
drivers/input/touchscreen/sun4i-ts.c
311
return error;
drivers/input/touchscreen/sun4i-ts.c
367
error = input_register_device(ts->input);
drivers/input/touchscreen/sun4i-ts.c
368
if (error) {
drivers/input/touchscreen/sun4i-ts.c
370
return error;
drivers/input/touchscreen/sur40.c
274
goto error;
drivers/input/touchscreen/sur40.c
281
goto error;
drivers/input/touchscreen/sur40.c
288
goto error;
drivers/input/touchscreen/sur40.c
291
error:
drivers/input/touchscreen/sur40.c
308
goto error;
drivers/input/touchscreen/sur40.c
315
goto error;
drivers/input/touchscreen/sur40.c
318
error:
drivers/input/touchscreen/sur40.c
348
goto error;
drivers/input/touchscreen/sur40.c
354
goto error;
drivers/input/touchscreen/sur40.c
358
goto error;
drivers/input/touchscreen/sur40.c
362
goto error;
drivers/input/touchscreen/sur40.c
366
goto error;
drivers/input/touchscreen/sur40.c
370
goto error;
drivers/input/touchscreen/sur40.c
374
goto error;
drivers/input/touchscreen/sur40.c
382
error:
drivers/input/touchscreen/sur40.c
619
int error;
drivers/input/touchscreen/sur40.c
640
error = input_mt_init_slots(input_dev, MAX_CONTACTS,
drivers/input/touchscreen/sur40.c
642
if (error) {
drivers/input/touchscreen/sur40.c
644
return error;
drivers/input/touchscreen/sur40.c
659
int error;
drivers/input/touchscreen/sur40.c
681
error = -ENOMEM;
drivers/input/touchscreen/sur40.c
701
error = sur40_input_setup_events(input);
drivers/input/touchscreen/sur40.c
702
if (error)
drivers/input/touchscreen/sur40.c
706
error = input_setup_polling(input, sur40_poll);
drivers/input/touchscreen/sur40.c
707
if (error) {
drivers/input/touchscreen/sur40.c
724
error = -ENOMEM;
drivers/input/touchscreen/sur40.c
729
error = input_register_device(input);
drivers/input/touchscreen/sur40.c
730
if (error) {
drivers/input/touchscreen/sur40.c
738
error = v4l2_device_register(sur40->dev, &sur40->v4l2);
drivers/input/touchscreen/sur40.c
739
if (error) {
drivers/input/touchscreen/sur40.c
752
error = vb2_queue_init(&sur40->queue);
drivers/input/touchscreen/sur40.c
753
if (error)
drivers/input/touchscreen/sur40.c
786
if (sur40->hdl.error) {
drivers/input/touchscreen/sur40.c
790
error = sur40->hdl.error;
drivers/input/touchscreen/sur40.c
794
error = video_register_device(&sur40->vdev, VFL_TYPE_TOUCH, -1);
drivers/input/touchscreen/sur40.c
795
if (error) {
drivers/input/touchscreen/sur40.c
818
return error;
drivers/input/touchscreen/surface3_spi.c
246
int error;
drivers/input/touchscreen/surface3_spi.c
269
error = input_register_device(input);
drivers/input/touchscreen/surface3_spi.c
270
if (error) {
drivers/input/touchscreen/surface3_spi.c
272
"Failed to register input device: %d", error);
drivers/input/touchscreen/surface3_spi.c
273
return error;
drivers/input/touchscreen/surface3_spi.c
282
int error;
drivers/input/touchscreen/surface3_spi.c
310
error = input_register_device(input);
drivers/input/touchscreen/surface3_spi.c
311
if (error) {
drivers/input/touchscreen/surface3_spi.c
313
"Failed to register input device: %d", error);
drivers/input/touchscreen/surface3_spi.c
314
return error;
drivers/input/touchscreen/surface3_spi.c
323
int error;
drivers/input/touchscreen/surface3_spi.c
328
error = spi_setup(spi);
drivers/input/touchscreen/surface3_spi.c
329
if (error)
drivers/input/touchscreen/surface3_spi.c
330
return error;
drivers/input/touchscreen/surface3_spi.c
339
error = surface3_spi_get_gpio_config(data);
drivers/input/touchscreen/surface3_spi.c
340
if (error)
drivers/input/touchscreen/surface3_spi.c
341
return error;
drivers/input/touchscreen/surface3_spi.c
347
error = surface3_spi_create_touch_input(data);
drivers/input/touchscreen/surface3_spi.c
348
if (error)
drivers/input/touchscreen/surface3_spi.c
349
return error;
drivers/input/touchscreen/surface3_spi.c
351
error = surface3_spi_create_pen_input(data);
drivers/input/touchscreen/surface3_spi.c
352
if (error)
drivers/input/touchscreen/surface3_spi.c
353
return error;
drivers/input/touchscreen/surface3_spi.c
355
error = devm_request_threaded_irq(&spi->dev, spi->irq,
drivers/input/touchscreen/surface3_spi.c
359
if (error)
drivers/input/touchscreen/surface3_spi.c
360
return error;
drivers/input/touchscreen/sx8654.c
263
int error;
drivers/input/touchscreen/sx8654.c
266
error = i2c_smbus_write_byte_data(client, I2C_REG_TOUCH0,
drivers/input/touchscreen/sx8654.c
268
if (error) {
drivers/input/touchscreen/sx8654.c
270
return error;
drivers/input/touchscreen/sx8654.c
273
error = i2c_smbus_write_byte(client, CMD_PENTRG);
drivers/input/touchscreen/sx8654.c
274
if (error) {
drivers/input/touchscreen/sx8654.c
276
return error;
drivers/input/touchscreen/sx8654.c
288
int error;
drivers/input/touchscreen/sx8654.c
296
error = i2c_smbus_write_byte(client, sx8654->data->cmd_manual);
drivers/input/touchscreen/sx8654.c
297
if (error) {
drivers/input/touchscreen/sx8654.c
302
error = i2c_smbus_write_byte_data(client, I2C_REG_TOUCH0, RATE_MANUAL);
drivers/input/touchscreen/sx8654.c
303
if (error) {
drivers/input/touchscreen/sx8654.c
314
int error;
drivers/input/touchscreen/sx8654.c
367
error = sx8654_reset(sx8654);
drivers/input/touchscreen/sx8654.c
368
if (error) {
drivers/input/touchscreen/sx8654.c
370
return error;
drivers/input/touchscreen/sx8654.c
373
error = i2c_smbus_write_byte_data(client, I2C_REG_CHANMASK,
drivers/input/touchscreen/sx8654.c
375
if (error) {
drivers/input/touchscreen/sx8654.c
377
return error;
drivers/input/touchscreen/sx8654.c
381
error = i2c_smbus_write_byte_data(client, I2C_REG_IRQMASK,
drivers/input/touchscreen/sx8654.c
384
if (error) {
drivers/input/touchscreen/sx8654.c
386
return error;
drivers/input/touchscreen/sx8654.c
390
error = i2c_smbus_write_byte_data(client, I2C_REG_TOUCH1,
drivers/input/touchscreen/sx8654.c
392
if (error) {
drivers/input/touchscreen/sx8654.c
394
return error;
drivers/input/touchscreen/sx8654.c
397
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/sx8654.c
401
if (error) {
drivers/input/touchscreen/sx8654.c
404
client->irq, error);
drivers/input/touchscreen/sx8654.c
405
return error;
drivers/input/touchscreen/sx8654.c
411
error = input_register_device(sx8654->input);
drivers/input/touchscreen/sx8654.c
412
if (error)
drivers/input/touchscreen/sx8654.c
413
return error;
drivers/input/touchscreen/tps6507x-ts.c
205
int error;
drivers/input/touchscreen/tps6507x-ts.c
262
error = tps6507x_adc_standby(tsc);
drivers/input/touchscreen/tps6507x-ts.c
263
if (error)
drivers/input/touchscreen/tps6507x-ts.c
264
return error;
drivers/input/touchscreen/tps6507x-ts.c
266
error = input_setup_polling(input_dev, tps6507x_ts_poll);
drivers/input/touchscreen/tps6507x-ts.c
267
if (error)
drivers/input/touchscreen/tps6507x-ts.c
268
return error;
drivers/input/touchscreen/tps6507x-ts.c
274
error = input_register_device(input_dev);
drivers/input/touchscreen/tps6507x-ts.c
275
if (error)
drivers/input/touchscreen/tps6507x-ts.c
276
return error;
drivers/input/touchscreen/ts4800-ts.c
114
int error;
drivers/input/touchscreen/ts4800-ts.c
129
error = of_property_read_u32_index(np, "syscon", 1, ®);
drivers/input/touchscreen/ts4800-ts.c
130
if (error < 0) {
drivers/input/touchscreen/ts4800-ts.c
132
return error;
drivers/input/touchscreen/ts4800-ts.c
137
error = of_property_read_u32_index(np, "syscon", 2, &bit);
drivers/input/touchscreen/ts4800-ts.c
138
if (error < 0) {
drivers/input/touchscreen/ts4800-ts.c
140
return error;
drivers/input/touchscreen/ts4800-ts.c
152
int error;
drivers/input/touchscreen/ts4800-ts.c
158
error = ts4800_parse_dt(pdev, ts);
drivers/input/touchscreen/ts4800-ts.c
159
if (error)
drivers/input/touchscreen/ts4800-ts.c
160
return error;
drivers/input/touchscreen/ts4800-ts.c
186
error = input_setup_polling(input_dev, ts4800_ts_poll);
drivers/input/touchscreen/ts4800-ts.c
187
if (error) {
drivers/input/touchscreen/ts4800-ts.c
188
dev_err(&pdev->dev, "Unable to set up polling: %d\n", error);
drivers/input/touchscreen/ts4800-ts.c
189
return error;
drivers/input/touchscreen/ts4800-ts.c
194
error = input_register_device(input_dev);
drivers/input/touchscreen/ts4800-ts.c
195
if (error) {
drivers/input/touchscreen/ts4800-ts.c
197
"Unable to register input device: %d\n", error);
drivers/input/touchscreen/ts4800-ts.c
198
return error;
drivers/input/touchscreen/ts4800-ts.c
51
int error;
drivers/input/touchscreen/ts4800-ts.c
56
error = regmap_update_bits(ts->regmap, ts->reg, ts->bit, ts->bit);
drivers/input/touchscreen/ts4800-ts.c
57
if (error) {
drivers/input/touchscreen/ts4800-ts.c
58
dev_warn(ts->dev, "Failed to enable touchscreen: %d\n", error);
drivers/input/touchscreen/ts4800-ts.c
59
return error;
drivers/input/touchscreen/tsc2005.c
34
int error;
drivers/input/touchscreen/tsc2005.c
39
error = spi_sync(spi, &msg);
drivers/input/touchscreen/tsc2005.c
40
if (error) {
drivers/input/touchscreen/tsc2005.c
42
__func__, cmd, error);
drivers/input/touchscreen/tsc2005.c
43
return error;
drivers/input/touchscreen/tsc2005.c
51
int error;
drivers/input/touchscreen/tsc2005.c
58
error = spi_setup(spi);
drivers/input/touchscreen/tsc2005.c
59
if (error)
drivers/input/touchscreen/tsc2005.c
60
return error;
drivers/input/touchscreen/tsc2007_iio.c
110
int error;
drivers/input/touchscreen/tsc2007_iio.c
127
error = devm_iio_device_register(&ts->client->dev, indio_dev);
drivers/input/touchscreen/tsc2007_iio.c
128
if (error) {
drivers/input/touchscreen/tsc2007_iio.c
130
"iio_device_register() failed: %d\n", error);
drivers/input/touchscreen/tsc2007_iio.c
131
return error;
drivers/input/touchscreen/tsc200x-core.c
142
int error;
drivers/input/touchscreen/tsc200x-core.c
145
error = regmap_bulk_read(ts->regmap, TSC200X_REG_X, &tsdata,
drivers/input/touchscreen/tsc200x-core.c
147
if (unlikely(error))
drivers/input/touchscreen/tsc200x-core.c
258
int error;
drivers/input/touchscreen/tsc200x-core.c
260
error = regmap_read(ts->regmap, TSC200X_REG_TEMP_HIGH, &temp_high_orig);
drivers/input/touchscreen/tsc200x-core.c
261
if (error) {
drivers/input/touchscreen/tsc200x-core.c
262
dev_warn(ts->dev, "selftest failed: read error %d\n", error);
drivers/input/touchscreen/tsc200x-core.c
263
return error;
drivers/input/touchscreen/tsc200x-core.c
268
error = regmap_write(ts->regmap, TSC200X_REG_TEMP_HIGH, temp_high_test);
drivers/input/touchscreen/tsc200x-core.c
269
if (error) {
drivers/input/touchscreen/tsc200x-core.c
270
dev_warn(ts->dev, "selftest failed: write error %d\n", error);
drivers/input/touchscreen/tsc200x-core.c
271
return error;
drivers/input/touchscreen/tsc200x-core.c
274
error = regmap_read(ts->regmap, TSC200X_REG_TEMP_HIGH, &temp_high);
drivers/input/touchscreen/tsc200x-core.c
275
if (error) {
drivers/input/touchscreen/tsc200x-core.c
277
"selftest failed: read error %d after write\n", error);
drivers/input/touchscreen/tsc200x-core.c
278
return error;
drivers/input/touchscreen/tsc200x-core.c
291
error = regmap_read(ts->regmap, TSC200X_REG_TEMP_HIGH, &temp_high);
drivers/input/touchscreen/tsc200x-core.c
292
if (error) {
drivers/input/touchscreen/tsc200x-core.c
294
"selftest failed: read error %d after reset\n", error);
drivers/input/touchscreen/tsc200x-core.c
295
return error;
drivers/input/touchscreen/tsc200x-core.c
312
int error;
drivers/input/touchscreen/tsc200x-core.c
317
error = tsc200x_do_selftest(ts);
drivers/input/touchscreen/tsc200x-core.c
322
return sprintf(buf, "%d\n", !error);
drivers/input/touchscreen/tsc200x-core.c
361
int error;
drivers/input/touchscreen/tsc200x-core.c
378
error = regmap_read(ts->regmap, TSC200X_REG_CFR0, &r);
drivers/input/touchscreen/tsc200x-core.c
379
if (!error &&
drivers/input/touchscreen/tsc200x-core.c
440
int error;
drivers/input/touchscreen/tsc200x-core.c
469
error = device_property_read_u32(dev, "ti,x-plate-ohms", &x_plate_ohm);
drivers/input/touchscreen/tsc200x-core.c
470
ts->x_plate_ohm = error ? TSC200X_DEF_RESISTOR : x_plate_ohm;
drivers/input/touchscreen/tsc200x-core.c
472
error = device_property_read_u32(dev, "ti,esd-recovery-timeout-ms",
drivers/input/touchscreen/tsc200x-core.c
474
ts->esd_timeout = error ? 0 : esd_timeout;
drivers/input/touchscreen/tsc200x-core.c
517
error = PTR_ERR_OR_ZERO(ts->reset_gpio);
drivers/input/touchscreen/tsc200x-core.c
518
if (error) {
drivers/input/touchscreen/tsc200x-core.c
519
dev_err(dev, "error acquiring reset gpio: %d\n", error);
drivers/input/touchscreen/tsc200x-core.c
520
return error;
drivers/input/touchscreen/tsc200x-core.c
523
error = devm_regulator_get_enable(dev, "vio");
drivers/input/touchscreen/tsc200x-core.c
524
if (error) {
drivers/input/touchscreen/tsc200x-core.c
525
dev_err(dev, "error acquiring vio regulator: %d\n", error);
drivers/input/touchscreen/tsc200x-core.c
526
return error;
drivers/input/touchscreen/tsc200x-core.c
534
error = devm_request_threaded_irq(dev, irq, NULL, tsc200x_irq_thread,
drivers/input/touchscreen/tsc200x-core.c
536
if (error) {
drivers/input/touchscreen/tsc200x-core.c
537
dev_err(dev, "Failed to request irq, err: %d\n", error);
drivers/input/touchscreen/tsc200x-core.c
538
return error;
drivers/input/touchscreen/tsc200x-core.c
543
error = input_register_device(ts->idev);
drivers/input/touchscreen/tsc200x-core.c
544
if (error) {
drivers/input/touchscreen/tsc200x-core.c
546
"Failed to register input device, err: %d\n", error);
drivers/input/touchscreen/tsc200x-core.c
547
return error;
drivers/input/touchscreen/tsc40.c
112
error = serio_open(serio, drv);
drivers/input/touchscreen/tsc40.c
113
if (error)
drivers/input/touchscreen/tsc40.c
116
error = input_register_device(ptsc->dev);
drivers/input/touchscreen/tsc40.c
117
if (error)
drivers/input/touchscreen/tsc40.c
129
return error;
drivers/input/touchscreen/tsc40.c
84
int error;
drivers/input/touchscreen/tsc40.c
89
error = -ENOMEM;
drivers/input/touchscreen/wacom_i2c.c
113
int error;
drivers/input/touchscreen/wacom_i2c.c
115
error = i2c_master_recv(wac_i2c->client,
drivers/input/touchscreen/wacom_i2c.c
117
if (error < 0)
drivers/input/touchscreen/wacom_i2c.c
171
int error;
drivers/input/touchscreen/wacom_i2c.c
178
error = wacom_query_device(client, &features);
drivers/input/touchscreen/wacom_i2c.c
179
if (error)
drivers/input/touchscreen/wacom_i2c.c
180
return error;
drivers/input/touchscreen/wacom_i2c.c
216
error = devm_request_threaded_irq(dev, client->irq, NULL, wacom_i2c_irq,
drivers/input/touchscreen/wacom_i2c.c
218
if (error) {
drivers/input/touchscreen/wacom_i2c.c
219
dev_err(dev, "Failed to request IRQ: %d\n", error);
drivers/input/touchscreen/wacom_i2c.c
220
return error;
drivers/input/touchscreen/wacom_i2c.c
226
error = input_register_device(wac_i2c->input);
drivers/input/touchscreen/wacom_i2c.c
227
if (error) {
drivers/input/touchscreen/wacom_i2c.c
228
dev_err(dev, "Failed to register input device: %d\n", error);
drivers/input/touchscreen/wacom_i2c.c
229
return error;
drivers/input/touchscreen/wacom_w8001.c
409
int error;
drivers/input/touchscreen/wacom_w8001.c
411
error = w8001_command(w8001, W8001_CMD_STOP, false);
drivers/input/touchscreen/wacom_w8001.c
412
if (error)
drivers/input/touchscreen/wacom_w8001.c
413
return error;
drivers/input/touchscreen/wacom_w8001.c
425
int error;
drivers/input/touchscreen/wacom_w8001.c
428
error = w8001_command(w8001, W8001_CMD_QUERY, true);
drivers/input/touchscreen/wacom_w8001.c
429
if (error)
drivers/input/touchscreen/wacom_w8001.c
430
return error;
drivers/input/touchscreen/wacom_w8001.c
466
int error;
drivers/input/touchscreen/wacom_w8001.c
470
error = w8001_command(w8001, W8001_CMD_TOUCHQUERY, true);
drivers/input/touchscreen/wacom_w8001.c
471
if (error)
drivers/input/touchscreen/wacom_w8001.c
472
return error;
drivers/input/touchscreen/wacom_w8001.c
521
error = input_mt_init_slots(dev, 2, 0);
drivers/input/touchscreen/wacom_w8001.c
522
if (error) {
drivers/input/touchscreen/wacom_w8001.c
524
"failed to initialize MT slots: %d\n", error);
drivers/input/touchscreen/wacom_w8001.c
525
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
1000
dev_err(&client->dev, "read v1 raw data failed: %d\n", error);
drivers/input/touchscreen/wdt87xx_i2c.c
1026
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
1053
error = input_register_device(input);
drivers/input/touchscreen/wdt87xx_i2c.c
1054
if (error)
drivers/input/touchscreen/wdt87xx_i2c.c
1055
return dev_err_probe(dev, error, "failed to register input device\n");
drivers/input/touchscreen/wdt87xx_i2c.c
1063
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
1083
error = wdt87xx_get_sysparam(client, &wdt->param);
drivers/input/touchscreen/wdt87xx_i2c.c
1084
if (error)
drivers/input/touchscreen/wdt87xx_i2c.c
1085
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
1087
error = wdt87xx_ts_create_input_device(wdt);
drivers/input/touchscreen/wdt87xx_i2c.c
1088
if (error)
drivers/input/touchscreen/wdt87xx_i2c.c
1089
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
1091
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/wdt87xx_i2c.c
1095
if (error)
drivers/input/touchscreen/wdt87xx_i2c.c
1096
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
1104
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
1108
error = wdt87xx_send_command(client, VND_CMD_STOP, MODE_IDLE);
drivers/input/touchscreen/wdt87xx_i2c.c
1109
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
1113
error);
drivers/input/touchscreen/wdt87xx_i2c.c
1114
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
1123
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
1131
error = wdt87xx_send_command(client, VND_CMD_START, 0);
drivers/input/touchscreen/wdt87xx_i2c.c
1132
if (error)
drivers/input/touchscreen/wdt87xx_i2c.c
1135
error);
drivers/input/touchscreen/wdt87xx_i2c.c
205
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
210
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/wdt87xx_i2c.c
212
__func__, error);
drivers/input/touchscreen/wdt87xx_i2c.c
213
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
223
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
227
error = wdt87xx_i2c_xfer(client, tx_buf, sizeof(tx_buf),
drivers/input/touchscreen/wdt87xx_i2c.c
229
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
230
dev_err(&client->dev, "get desc failed: %d\n", error);
drivers/input/touchscreen/wdt87xx_i2c.c
231
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
251
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
256
error = wdt87xx_i2c_xfer(client, tx_buf, sizeof(tx_buf),
drivers/input/touchscreen/wdt87xx_i2c.c
258
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
259
dev_err(&client->dev, "get string failed: %d\n", error);
drivers/input/touchscreen/wdt87xx_i2c.c
260
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
284
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
303
error = wdt87xx_i2c_xfer(client, tx_buf, tx_len, rx_buf, rx_len);
drivers/input/touchscreen/wdt87xx_i2c.c
304
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
305
dev_err(&client->dev, "get feature failed: %d\n", error);
drivers/input/touchscreen/wdt87xx_i2c.c
306
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
322
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
346
error = i2c_master_send(client, tx_buf, tx_len);
drivers/input/touchscreen/wdt87xx_i2c.c
347
if (error < 0) {
drivers/input/touchscreen/wdt87xx_i2c.c
348
dev_err(&client->dev, "set feature failed: %d\n", error);
drivers/input/touchscreen/wdt87xx_i2c.c
349
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
399
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
403
error = wdt87xx_send_command(client, VND_CMD_RESET, 0);
drivers/input/touchscreen/wdt87xx_i2c.c
404
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
406
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
438
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
440
error = wdt87xx_get_desc(client, WDT_GD_DEVICE, buf, 18);
drivers/input/touchscreen/wdt87xx_i2c.c
441
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
443
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
449
error = wdt87xx_get_string(client, STRIDX_PARAMETERS, buf, 34);
drivers/input/touchscreen/wdt87xx_i2c.c
450
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
452
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
470
error = wdt87xx_get_string(client, STRIDX_PLATFORM_ID, buf, 8);
drivers/input/touchscreen/wdt87xx_i2c.c
471
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
473
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
479
error = wdt87xx_get_feature(client, buf, 16);
drivers/input/touchscreen/wdt87xx_i2c.c
480
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
482
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
568
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
588
error = wdt87xx_set_feature(client, pkt_buf, sizeof(pkt_buf));
drivers/input/touchscreen/wdt87xx_i2c.c
589
if (error)
drivers/input/touchscreen/wdt87xx_i2c.c
590
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
644
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
649
error = wdt87xx_send_command(client, VND_SET_CHECKSUM_LENGTH, length);
drivers/input/touchscreen/wdt87xx_i2c.c
650
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
652
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
655
error = wdt87xx_send_command(client, VND_SET_CHECKSUM_CALC, address);
drivers/input/touchscreen/wdt87xx_i2c.c
656
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
658
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
668
error = wdt87xx_set_feature(client, cmd_buf, sizeof(cmd_buf));
drivers/input/touchscreen/wdt87xx_i2c.c
669
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
671
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
676
error = wdt87xx_get_feature(client, pkt_buf, sizeof(pkt_buf));
drivers/input/touchscreen/wdt87xx_i2c.c
677
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
679
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
691
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
699
error = wdt87xx_send_command(client, VND_CMD_STOP, MODE_STOP);
drivers/input/touchscreen/wdt87xx_i2c.c
700
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
702
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
705
error = wdt87xx_send_command(client, VND_CMD_SFUNL, 0);
drivers/input/touchscreen/wdt87xx_i2c.c
706
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
721
error = wdt87xx_send_command(client, VND_CMD_ERASE,
drivers/input/touchscreen/wdt87xx_i2c.c
723
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
731
error = wdt87xx_write_data(client, data, start_addr,
drivers/input/touchscreen/wdt87xx_i2c.c
733
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
740
error = wdt87xx_get_checksum(client, &device_checksum,
drivers/input/touchscreen/wdt87xx_i2c.c
742
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
762
error = -EIO;
drivers/input/touchscreen/wdt87xx_i2c.c
782
return error ? error : err1;
drivers/input/touchscreen/wdt87xx_i2c.c
789
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
798
error = wdt87xx_validate_fw_chunk(chunk, ck_id);
drivers/input/touchscreen/wdt87xx_i2c.c
799
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
801
ck_id, error);
drivers/input/touchscreen/wdt87xx_i2c.c
802
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
805
error = wdt87xx_write_firmware(client, chunk);
drivers/input/touchscreen/wdt87xx_i2c.c
806
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
809
ck_id, error);
drivers/input/touchscreen/wdt87xx_i2c.c
810
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
821
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
823
error = wdt87xx_validate_firmware(wdt, fw);
drivers/input/touchscreen/wdt87xx_i2c.c
824
if (error)
drivers/input/touchscreen/wdt87xx_i2c.c
825
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
827
error = mutex_lock_interruptible(&wdt->fw_mutex);
drivers/input/touchscreen/wdt87xx_i2c.c
828
if (error)
drivers/input/touchscreen/wdt87xx_i2c.c
829
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
833
error = wdt87xx_load_chunk(client, fw, chunk_id);
drivers/input/touchscreen/wdt87xx_i2c.c
834
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
837
chunk_id, error);
drivers/input/touchscreen/wdt87xx_i2c.c
841
error = wdt87xx_sw_reset(client);
drivers/input/touchscreen/wdt87xx_i2c.c
842
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
843
dev_err(&client->dev, "soft reset failed: %d\n", error);
drivers/input/touchscreen/wdt87xx_i2c.c
848
error = wdt87xx_get_sysparam(client, &wdt->param);
drivers/input/touchscreen/wdt87xx_i2c.c
849
if (error)
drivers/input/touchscreen/wdt87xx_i2c.c
851
"failed to refresh system parameters: %d\n", error);
drivers/input/touchscreen/wdt87xx_i2c.c
856
return error ? error : 0;
drivers/input/touchscreen/wdt87xx_i2c.c
864
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
866
error = request_firmware(&fw, fw_name, dev);
drivers/input/touchscreen/wdt87xx_i2c.c
867
if (error) {
drivers/input/touchscreen/wdt87xx_i2c.c
869
fw_name, error);
drivers/input/touchscreen/wdt87xx_i2c.c
870
return error;
drivers/input/touchscreen/wdt87xx_i2c.c
873
error = wdt87xx_do_update_firmware(client, fw, chunk_id);
drivers/input/touchscreen/wdt87xx_i2c.c
877
return error ? error : 0;
drivers/input/touchscreen/wdt87xx_i2c.c
915
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
917
error = wdt87xx_update_firmware(dev, WDT87XX_CFG_NAME, CHUNK_ID_CNFG);
drivers/input/touchscreen/wdt87xx_i2c.c
919
return error ? error : count;
drivers/input/touchscreen/wdt87xx_i2c.c
926
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
928
error = wdt87xx_update_firmware(dev, WDT87XX_FW_NAME, CHUNK_ID_FRWR);
drivers/input/touchscreen/wdt87xx_i2c.c
930
return error ? error : count;
drivers/input/touchscreen/wdt87xx_i2c.c
995
int error;
drivers/input/touchscreen/wdt87xx_i2c.c
998
error = i2c_master_recv(client, raw_buf, WDT_V1_RAW_BUF_COUNT);
drivers/input/touchscreen/wdt87xx_i2c.c
999
if (error < 0) {
drivers/input/touchscreen/wm831x-ts.c
238
int error, irqf;
drivers/input/touchscreen/wm831x-ts.c
247
error = -ENOMEM;
drivers/input/touchscreen/wm831x-ts.c
318
error = request_threaded_irq(wm831x_ts->data_irq,
drivers/input/touchscreen/wm831x-ts.c
322
if (error) {
drivers/input/touchscreen/wm831x-ts.c
324
wm831x_ts->data_irq, error);
drivers/input/touchscreen/wm831x-ts.c
333
error = request_threaded_irq(wm831x_ts->pd_irq,
drivers/input/touchscreen/wm831x-ts.c
337
if (error) {
drivers/input/touchscreen/wm831x-ts.c
339
wm831x_ts->pd_irq, error);
drivers/input/touchscreen/wm831x-ts.c
361
error = input_register_device(input_dev);
drivers/input/touchscreen/wm831x-ts.c
362
if (error)
drivers/input/touchscreen/wm831x-ts.c
374
return error;
drivers/input/touchscreen/zet6223.c
106
int error;
drivers/input/touchscreen/zet6223.c
111
error = devm_regulator_bulk_get(dev, ARRAY_SIZE(ts->supplies),
drivers/input/touchscreen/zet6223.c
113
if (error)
drivers/input/touchscreen/zet6223.c
114
return error;
drivers/input/touchscreen/zet6223.c
116
error = regulator_bulk_enable(ARRAY_SIZE(ts->supplies), ts->supplies);
drivers/input/touchscreen/zet6223.c
117
if (error)
drivers/input/touchscreen/zet6223.c
118
return error;
drivers/input/touchscreen/zet6223.c
122
error = devm_add_action_or_reset(dev, zet6223_power_off, ts);
drivers/input/touchscreen/zet6223.c
123
if (error) {
drivers/input/touchscreen/zet6223.c
124
dev_err(dev, "failed to install poweroff action: %d\n", error);
drivers/input/touchscreen/zet6223.c
125
return error;
drivers/input/touchscreen/zet6223.c
136
int error;
drivers/input/touchscreen/zet6223.c
140
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/zet6223.c
142
"touchpanel info cmd failed: %d\n", error);
drivers/input/touchscreen/zet6223.c
143
return error;
drivers/input/touchscreen/zet6223.c
148
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/zet6223.c
150
"failed to retrieve touchpanel info: %d\n", error);
drivers/input/touchscreen/zet6223.c
151
return error;
drivers/input/touchscreen/zet6223.c
173
int error;
drivers/input/touchscreen/zet6223.c
186
error = zet6223_power_on(ts);
drivers/input/touchscreen/zet6223.c
187
if (error)
drivers/input/touchscreen/zet6223.c
188
return error;
drivers/input/touchscreen/zet6223.c
190
error = zet6223_query_device(ts);
drivers/input/touchscreen/zet6223.c
191
if (error)
drivers/input/touchscreen/zet6223.c
192
return error;
drivers/input/touchscreen/zet6223.c
210
error = input_mt_init_slots(input, ts->fingernum,
drivers/input/touchscreen/zet6223.c
212
if (error)
drivers/input/touchscreen/zet6223.c
213
return error;
drivers/input/touchscreen/zet6223.c
215
error = devm_request_threaded_irq(dev, client->irq, NULL, zet6223_irq,
drivers/input/touchscreen/zet6223.c
217
if (error) {
drivers/input/touchscreen/zet6223.c
219
client->irq, error);
drivers/input/touchscreen/zet6223.c
220
return error;
drivers/input/touchscreen/zet6223.c
225
error = input_register_device(input);
drivers/input/touchscreen/zet6223.c
226
if (error)
drivers/input/touchscreen/zet6223.c
227
return error;
drivers/input/touchscreen/zet6223.c
64
int error;
drivers/input/touchscreen/zet6223.c
68
error = ret < 0 ? ret : -EIO;
drivers/input/touchscreen/zet6223.c
70
"Error reading input data: %d\n", error);
drivers/input/touchscreen/zforce_ts.c
178
int error;
drivers/input/touchscreen/zforce_ts.c
186
error = zforce_send_wait(ts, &buf[0], ARRAY_SIZE(buf));
drivers/input/touchscreen/zforce_ts.c
187
if (error) {
drivers/input/touchscreen/zforce_ts.c
189
error);
drivers/input/touchscreen/zforce_ts.c
190
return error;
drivers/input/touchscreen/zforce_ts.c
238
int error;
drivers/input/touchscreen/zforce_ts.c
242
error = zforce_command_wait(ts, COMMAND_INITIALIZE);
drivers/input/touchscreen/zforce_ts.c
243
if (error) {
drivers/input/touchscreen/zforce_ts.c
244
dev_err(&client->dev, "Unable to initialize, %d\n", error);
drivers/input/touchscreen/zforce_ts.c
245
return error;
drivers/input/touchscreen/zforce_ts.c
248
error = zforce_resolution(ts, ts->prop.max_x, ts->prop.max_y);
drivers/input/touchscreen/zforce_ts.c
249
if (error) {
drivers/input/touchscreen/zforce_ts.c
250
dev_err(&client->dev, "Unable to set resolution, %d\n", error);
drivers/input/touchscreen/zforce_ts.c
254
error = zforce_scan_frequency(ts, 10, 50, 50);
drivers/input/touchscreen/zforce_ts.c
255
if (error) {
drivers/input/touchscreen/zforce_ts.c
257
error);
drivers/input/touchscreen/zforce_ts.c
261
error = zforce_setconfig(ts, SETCONFIG_DUALTOUCH);
drivers/input/touchscreen/zforce_ts.c
262
if (error) {
drivers/input/touchscreen/zforce_ts.c
268
error = zforce_command(ts, COMMAND_DATAREQUEST);
drivers/input/touchscreen/zforce_ts.c
269
if (error) {
drivers/input/touchscreen/zforce_ts.c
284
return error;
drivers/input/touchscreen/zforce_ts.c
290
int error;
drivers/input/touchscreen/zforce_ts.c
295
error = zforce_command_wait(ts, COMMAND_DEACTIVATE);
drivers/input/touchscreen/zforce_ts.c
296
if (error) {
drivers/input/touchscreen/zforce_ts.c
298
error);
drivers/input/touchscreen/zforce_ts.c
299
return error;
drivers/input/touchscreen/zforce_ts.c
443
int error;
drivers/input/touchscreen/zforce_ts.c
474
error = zforce_read_packet(ts, payload_buffer);
drivers/input/touchscreen/zforce_ts.c
475
if (error) {
drivers/input/touchscreen/zforce_ts.c
477
"could not read packet, ret: %d\n", error);
drivers/input/touchscreen/zforce_ts.c
562
int error;
drivers/input/touchscreen/zforce_ts.c
564
error = zforce_stop(ts);
drivers/input/touchscreen/zforce_ts.c
565
if (error)
drivers/input/touchscreen/zforce_ts.c
573
int error;
drivers/input/touchscreen/zforce_ts.c
586
error = zforce_start(ts);
drivers/input/touchscreen/zforce_ts.c
587
if (error)
drivers/input/touchscreen/zforce_ts.c
588
return error;
drivers/input/touchscreen/zforce_ts.c
596
error = zforce_stop(ts);
drivers/input/touchscreen/zforce_ts.c
597
if (error)
drivers/input/touchscreen/zforce_ts.c
598
return error;
drivers/input/touchscreen/zforce_ts.c
629
int error;
drivers/input/touchscreen/zforce_ts.c
642
error = zforce_stop(ts);
drivers/input/touchscreen/zforce_ts.c
643
if (error)
drivers/input/touchscreen/zforce_ts.c
644
return error;
drivers/input/touchscreen/zforce_ts.c
651
error = zforce_start(ts);
drivers/input/touchscreen/zforce_ts.c
652
if (error)
drivers/input/touchscreen/zforce_ts.c
653
return error;
drivers/input/touchscreen/zforce_ts.c
685
int error;
drivers/input/touchscreen/zforce_ts.c
693
error = PTR_ERR_OR_ZERO(ts->gpio_rst);
drivers/input/touchscreen/zforce_ts.c
694
if (error)
drivers/input/touchscreen/zforce_ts.c
695
return dev_err_probe(&client->dev, error,
drivers/input/touchscreen/zforce_ts.c
701
error = PTR_ERR_OR_ZERO(ts->gpio_int);
drivers/input/touchscreen/zforce_ts.c
702
if (error)
drivers/input/touchscreen/zforce_ts.c
703
return dev_err_probe(&client->dev, error,
drivers/input/touchscreen/zforce_ts.c
715
error = PTR_ERR_OR_ZERO(ts->gpio_int);
drivers/input/touchscreen/zforce_ts.c
716
if (error)
drivers/input/touchscreen/zforce_ts.c
717
return dev_err_probe(&client->dev, error,
drivers/input/touchscreen/zforce_ts.c
723
error = PTR_ERR_OR_ZERO(ts->gpio_rst);
drivers/input/touchscreen/zforce_ts.c
724
if (error)
drivers/input/touchscreen/zforce_ts.c
725
return dev_err_probe(&client->dev, error,
drivers/input/touchscreen/zforce_ts.c
729
error = devm_regulator_get_enable(&client->dev, "vdd");
drivers/input/touchscreen/zforce_ts.c
730
if (error)
drivers/input/touchscreen/zforce_ts.c
731
return dev_err_probe(&client->dev, error,
drivers/input/touchscreen/zforce_ts.c
740
error = devm_add_action_or_reset(&client->dev, zforce_reset, ts);
drivers/input/touchscreen/zforce_ts.c
741
if (error)
drivers/input/touchscreen/zforce_ts.c
742
return dev_err_probe(&client->dev, error,
drivers/input/touchscreen/zforce_ts.c
773
error = input_mt_init_slots(input_dev, ZFORCE_REPORT_POINTS,
drivers/input/touchscreen/zforce_ts.c
775
if (error)
drivers/input/touchscreen/zforce_ts.c
776
return error;
drivers/input/touchscreen/zforce_ts.c
789
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/zforce_ts.c
792
if (error)
drivers/input/touchscreen/zforce_ts.c
793
return dev_err_probe(&client->dev, error,
drivers/input/touchscreen/zforce_ts.c
806
error = zforce_command_wait(ts, COMMAND_INITIALIZE);
drivers/input/touchscreen/zforce_ts.c
807
if (error)
drivers/input/touchscreen/zforce_ts.c
808
return dev_err_probe(&client->dev, error, "unable to initialize\n");
drivers/input/touchscreen/zforce_ts.c
811
error = zforce_command_wait(ts, COMMAND_STATUS);
drivers/input/touchscreen/zforce_ts.c
812
if (error) {
drivers/input/touchscreen/zforce_ts.c
813
dev_err_probe(&client->dev, error, "couldn't get status\n");
drivers/input/touchscreen/zforce_ts.c
815
return error;
drivers/input/touchscreen/zforce_ts.c
819
error = zforce_stop(ts);
drivers/input/touchscreen/zforce_ts.c
820
if (error)
drivers/input/touchscreen/zforce_ts.c
821
return error;
drivers/input/touchscreen/zforce_ts.c
825
error = input_register_device(input_dev);
drivers/input/touchscreen/zforce_ts.c
826
if (error)
drivers/input/touchscreen/zforce_ts.c
827
return dev_err_probe(&client->dev, error,
drivers/input/touchscreen/zinitix.c
215
int error;
drivers/input/touchscreen/zinitix.c
218
error = zinitix_read_data(client, vreg, (void *)&val, 2);
drivers/input/touchscreen/zinitix.c
219
if (error)
drivers/input/touchscreen/zinitix.c
229
int error;
drivers/input/touchscreen/zinitix.c
232
error = zinitix_write_cmd(client, ZINITIX_SWRESET_CMD);
drivers/input/touchscreen/zinitix.c
233
if (error) {
drivers/input/touchscreen/zinitix.c
235
return error;
drivers/input/touchscreen/zinitix.c
279
error = zinitix_write_u16(client, ZINITIX_INT_ENABLE_FLAG, 0x0);
drivers/input/touchscreen/zinitix.c
280
if (error) {
drivers/input/touchscreen/zinitix.c
283
return error;
drivers/input/touchscreen/zinitix.c
287
error = zinitix_write_u16(client, ZINITIX_X_RESOLUTION,
drivers/input/touchscreen/zinitix.c
289
if (error)
drivers/input/touchscreen/zinitix.c
290
return error;
drivers/input/touchscreen/zinitix.c
292
error = zinitix_write_u16(client, ZINITIX_Y_RESOLUTION,
drivers/input/touchscreen/zinitix.c
294
if (error)
drivers/input/touchscreen/zinitix.c
295
return error;
drivers/input/touchscreen/zinitix.c
297
error = zinitix_write_u16(client, ZINITIX_SUPPORTED_FINGER_NUM,
drivers/input/touchscreen/zinitix.c
299
if (error)
drivers/input/touchscreen/zinitix.c
300
return error;
drivers/input/touchscreen/zinitix.c
302
error = zinitix_write_u16(client, ZINITIX_BUTTON_SUPPORTED_NUM,
drivers/input/touchscreen/zinitix.c
304
if (error)
drivers/input/touchscreen/zinitix.c
305
return error;
drivers/input/touchscreen/zinitix.c
307
error = zinitix_write_u16(client, ZINITIX_INITIAL_TOUCH_MODE,
drivers/input/touchscreen/zinitix.c
309
if (error)
drivers/input/touchscreen/zinitix.c
310
return error;
drivers/input/touchscreen/zinitix.c
312
error = zinitix_write_u16(client, ZINITIX_TOUCH_MODE,
drivers/input/touchscreen/zinitix.c
314
if (error)
drivers/input/touchscreen/zinitix.c
315
return error;
drivers/input/touchscreen/zinitix.c
321
error = zinitix_write_u16(client, ZINITIX_INT_ENABLE_FLAG, int_flags);
drivers/input/touchscreen/zinitix.c
322
if (error)
drivers/input/touchscreen/zinitix.c
323
return error;
drivers/input/touchscreen/zinitix.c
337
int error;
drivers/input/touchscreen/zinitix.c
352
error = devm_regulator_bulk_get(dev,
drivers/input/touchscreen/zinitix.c
355
if (error < 0) {
drivers/input/touchscreen/zinitix.c
356
dev_err(dev, "Failed to get regulators: %d\n", error);
drivers/input/touchscreen/zinitix.c
357
return error;
drivers/input/touchscreen/zinitix.c
365
int error;
drivers/input/touchscreen/zinitix.c
368
error = zinitix_write_u16(client, 0xc000, 0x0001);
drivers/input/touchscreen/zinitix.c
369
if (error) {
drivers/input/touchscreen/zinitix.c
372
return error;
drivers/input/touchscreen/zinitix.c
376
error = zinitix_write_cmd(client, 0xc004);
drivers/input/touchscreen/zinitix.c
377
if (error) {
drivers/input/touchscreen/zinitix.c
380
return error;
drivers/input/touchscreen/zinitix.c
384
error = zinitix_write_u16(client, 0xc002, 0x0001);
drivers/input/touchscreen/zinitix.c
385
if (error) {
drivers/input/touchscreen/zinitix.c
388
return error;
drivers/input/touchscreen/zinitix.c
392
error = zinitix_write_u16(client, 0xc001, 0x0001);
drivers/input/touchscreen/zinitix.c
393
if (error) {
drivers/input/touchscreen/zinitix.c
396
return error;
drivers/input/touchscreen/zinitix.c
450
int error;
drivers/input/touchscreen/zinitix.c
455
error = zinitix_read_data(bt541->client, ZINITIX_POINT_STATUS_REG,
drivers/input/touchscreen/zinitix.c
457
if (error) {
drivers/input/touchscreen/zinitix.c
463
error = zinitix_read_data(bt541->client, bt541->icon_status_reg,
drivers/input/touchscreen/zinitix.c
465
if (error) {
drivers/input/touchscreen/zinitix.c
492
int error;
drivers/input/touchscreen/zinitix.c
494
error = regulator_bulk_enable(ARRAY_SIZE(bt541->supplies),
drivers/input/touchscreen/zinitix.c
496
if (error) {
drivers/input/touchscreen/zinitix.c
498
"Failed to enable regulators: %d\n", error);
drivers/input/touchscreen/zinitix.c
499
return error;
drivers/input/touchscreen/zinitix.c
504
error = zinitix_send_power_on_sequence(bt541);
drivers/input/touchscreen/zinitix.c
505
if (error) {
drivers/input/touchscreen/zinitix.c
507
"Error while sending power-on sequence: %d\n", error);
drivers/input/touchscreen/zinitix.c
508
return error;
drivers/input/touchscreen/zinitix.c
511
error = zinitix_init_touch(bt541);
drivers/input/touchscreen/zinitix.c
512
if (error) {
drivers/input/touchscreen/zinitix.c
515
return error;
drivers/input/touchscreen/zinitix.c
525
int error;
drivers/input/touchscreen/zinitix.c
529
error = regulator_bulk_disable(ARRAY_SIZE(bt541->supplies),
drivers/input/touchscreen/zinitix.c
531
if (error) {
drivers/input/touchscreen/zinitix.c
533
"Failed to disable regulators: %d\n", error);
drivers/input/touchscreen/zinitix.c
534
return error;
drivers/input/touchscreen/zinitix.c
557
int error;
drivers/input/touchscreen/zinitix.c
596
error = input_mt_init_slots(input_dev, MAX_SUPPORTED_FINGER_NUM,
drivers/input/touchscreen/zinitix.c
598
if (error) {
drivers/input/touchscreen/zinitix.c
600
"Failed to initialize MT slots: %d", error);
drivers/input/touchscreen/zinitix.c
601
return error;
drivers/input/touchscreen/zinitix.c
604
error = input_register_device(input_dev);
drivers/input/touchscreen/zinitix.c
605
if (error) {
drivers/input/touchscreen/zinitix.c
607
"Failed to register input device: %d", error);
drivers/input/touchscreen/zinitix.c
608
return error;
drivers/input/touchscreen/zinitix.c
617
int error;
drivers/input/touchscreen/zinitix.c
632
error = zinitix_init_regulators(bt541);
drivers/input/touchscreen/zinitix.c
633
if (error) {
drivers/input/touchscreen/zinitix.c
635
"Failed to initialize regulators: %d\n", error);
drivers/input/touchscreen/zinitix.c
636
return error;
drivers/input/touchscreen/zinitix.c
639
error = devm_request_threaded_irq(&client->dev, client->irq,
drivers/input/touchscreen/zinitix.c
643
if (error) {
drivers/input/touchscreen/zinitix.c
644
dev_err(&client->dev, "Failed to request IRQ: %d\n", error);
drivers/input/touchscreen/zinitix.c
645
return error;
drivers/input/touchscreen/zinitix.c
661
error = device_property_read_u32_array(&client->dev,
drivers/input/touchscreen/zinitix.c
665
if (error) {
drivers/input/touchscreen/zinitix.c
668
error);
drivers/input/touchscreen/zinitix.c
669
return error;
drivers/input/touchscreen/zinitix.c
673
error = zinitix_init_input_dev(bt541);
drivers/input/touchscreen/zinitix.c
674
if (error) {
drivers/input/touchscreen/zinitix.c
676
"Failed to initialize input device: %d\n", error);
drivers/input/touchscreen/zinitix.c
677
return error;
drivers/input/touchscreen/zinitix.c
680
error = device_property_read_u32(&client->dev, "zinitix,mode",
drivers/input/touchscreen/zinitix.c
682
if (error < 0) {
drivers/iommu/apple-dart.c
1030
u32 error = readl(dart->regs + DART_T8020_ERROR);
drivers/iommu/apple-dart.c
1031
u32 error_code = FIELD_GET(DART_T8020_ERROR_CODE, error);
drivers/iommu/apple-dart.c
1035
u8 stream_idx = FIELD_GET(DART_T8020_ERROR_STREAM, error);
drivers/iommu/apple-dart.c
1037
if (!(error & DART_T8020_ERROR_FLAG))
drivers/iommu/apple-dart.c
1057
error, stream_idx, error_code, fault_name, addr);
drivers/iommu/apple-dart.c
1059
writel(error, dart->regs + DART_T8020_ERROR);
drivers/iommu/apple-dart.c
1067
u32 error = readl(dart->regs + DART_T8110_ERROR);
drivers/iommu/apple-dart.c
1068
u32 error_code = FIELD_GET(DART_T8110_ERROR_CODE, error);
drivers/iommu/apple-dart.c
1072
u8 stream_idx = FIELD_GET(DART_T8110_ERROR_STREAM, error);
drivers/iommu/apple-dart.c
1074
if (!(error & DART_T8110_ERROR_FLAG))
drivers/iommu/apple-dart.c
1096
error, stream_idx, error_code, fault_name, addr);
drivers/iommu/apple-dart.c
1098
writel(error, dart->regs + DART_T8110_ERROR);
drivers/iommu/apple-dart.c
1235
.error = DART_T8020_ERROR,
drivers/iommu/apple-dart.c
1261
.error = DART_T8020_ERROR,
drivers/iommu/apple-dart.c
1287
.error = DART_T8020_ERROR,
drivers/iommu/apple-dart.c
1312
.error = DART_T8110_ERROR,
drivers/iommu/apple-dart.c
175
u32 error;
drivers/iommu/apple-dart.c
489
writel(readl(dart->regs + dart->hw->error), dart->regs + dart->hw->error);
drivers/iommu/dma-iommu.c
1855
int error;
drivers/iommu/dma-iommu.c
1861
error = __dma_iova_link(dev, addr - iova_start_pad,
drivers/iommu/dma-iommu.c
1864
if (error)
drivers/iommu/dma-iommu.c
1867
return error;
drivers/iommu/dma-iommu.c
1881
int error;
drivers/iommu/dma-iommu.c
1886
error = iommu_dma_iova_bounce_and_link(dev, addr, phys,
drivers/iommu/dma-iommu.c
1888
if (error)
drivers/iommu/dma-iommu.c
1889
return error;
drivers/iommu/dma-iommu.c
1899
error = __dma_iova_link(dev, addr + mapped, phys + mapped, size, dir,
drivers/iommu/dma-iommu.c
1901
if (error)
drivers/iommu/dma-iommu.c
1906
error = iommu_dma_iova_bounce_and_link(dev, addr + mapped,
drivers/iommu/dma-iommu.c
1908
if (error)
drivers/iommu/dma-iommu.c
1917
return error;
drivers/iommu/fsl_pamu.c
604
goto error;
drivers/iommu/fsl_pamu.c
610
goto error;
drivers/iommu/fsl_pamu.c
616
goto error;
drivers/iommu/fsl_pamu.c
627
goto error;
drivers/iommu/fsl_pamu.c
633
goto error;
drivers/iommu/fsl_pamu.c
639
goto error;
drivers/iommu/fsl_pamu.c
645
goto error;
drivers/iommu/fsl_pamu.c
682
goto error;
drivers/iommu/fsl_pamu.c
690
goto error;
drivers/iommu/fsl_pamu.c
701
error:
drivers/iommu/fsl_pamu.c
785
goto error;
drivers/iommu/fsl_pamu.c
791
goto error;
drivers/iommu/fsl_pamu.c
800
goto error;
drivers/iommu/fsl_pamu.c
807
goto error;
drivers/iommu/fsl_pamu.c
815
goto error;
drivers/iommu/fsl_pamu.c
835
goto error;
drivers/iommu/fsl_pamu.c
845
goto error;
drivers/iommu/fsl_pamu.c
872
goto error;
drivers/iommu/fsl_pamu.c
906
error:
drivers/iommu/intel/dmar.c
1058
goto error;
drivers/iommu/intel/dmar.c
1163
error:
drivers/iommu/intel/irq_remapping.c
1056
goto error;
drivers/iommu/intel/irq_remapping.c
1062
error:
drivers/iommu/intel/irq_remapping.c
724
goto error;
drivers/iommu/intel/irq_remapping.c
730
goto error;
drivers/iommu/intel/irq_remapping.c
757
goto error;
drivers/iommu/intel/irq_remapping.c
763
error:
drivers/iommu/intel/irq_remapping.c
813
goto error;
drivers/iommu/intel/irq_remapping.c
823
error:
drivers/iommu/iommu-sysfs.c
76
goto error;
drivers/iommu/iommu-sysfs.c
80
goto error;
drivers/iommu/iommu-sysfs.c
86
error:
drivers/iommu/ipmmu-vmsa.c
814
goto error;
drivers/iommu/ipmmu-vmsa.c
824
goto error;
drivers/iommu/ipmmu-vmsa.c
829
error:
drivers/iommu/omap-iommu.c
1351
bool error = false;
drivers/iommu/omap-iommu.c
1362
error = true;
drivers/iommu/omap-iommu.c
1371
return error ? 0 : bytes;
drivers/irqchip/irq-gic.c
1177
goto error;
drivers/irqchip/irq-gic.c
1215
goto error;
drivers/irqchip/irq-gic.c
1221
goto error;
drivers/irqchip/irq-gic.c
1225
goto error;
drivers/irqchip/irq-gic.c
1229
error:
drivers/irqchip/irq-gic.c
1396
goto error;
drivers/irqchip/irq-gic.c
1400
goto error;
drivers/irqchip/irq-gic.c
1409
error:
drivers/irqchip/irq-mips-gic.c
779
goto error;
drivers/irqchip/irq-mips-gic.c
785
goto error;
drivers/irqchip/irq-mips-gic.c
792
goto error;
drivers/irqchip/irq-mips-gic.c
796
goto error;
drivers/irqchip/irq-mips-gic.c
802
error:
drivers/irqchip/irq-sifive-plic.c
619
int error = 0, nr_contexts, nr_handlers = 0, cpu, i;
drivers/irqchip/irq-sifive-plic.c
644
error = plic_parse_nr_irqs_and_contexts(fwnode, &nr_irqs, &nr_contexts, &gsi_base, &id);
drivers/irqchip/irq-sifive-plic.c
645
if (error)
drivers/irqchip/irq-sifive-plic.c
650
error = -ENOMEM;
drivers/irqchip/irq-sifive-plic.c
672
error = -ENOMEM;
drivers/irqchip/irq-sifive-plic.c
677
error = plic_parse_context_parent(fwnode, i, &parent_hwirq, &cpu,
drivers/irqchip/irq-sifive-plic.c
679
if (error) {
drivers/irqchip/irq-sifive-plic.c
739
error = -ENOMEM;
drivers/irqchip/irq-sifive-plic.c
752
error = -ENOMEM;
drivers/irqchip/irq-sifive-plic.c
823
return error;
drivers/irqchip/irq-xilinx-intc.c
183
goto error;
drivers/irqchip/irq-xilinx-intc.c
220
goto error;
drivers/irqchip/irq-xilinx-intc.c
232
goto error;
drivers/irqchip/irq-xilinx-intc.c
242
error:
drivers/isdn/capi/kcapi.c
318
goto error;
drivers/isdn/capi/kcapi.c
367
goto error;
drivers/isdn/capi/kcapi.c
375
error:
drivers/isdn/hardware/mISDN/avmfritz.c
1062
goto error;
drivers/isdn/hardware/mISDN/avmfritz.c
1076
error:
drivers/isdn/hardware/mISDN/hfcmulti.c
4257
goto error;
drivers/isdn/hardware/mISDN/hfcmulti.c
4292
error:
drivers/isdn/hardware/mISDN/hfcpci.c
2115
goto error;
drivers/isdn/hardware/mISDN/hfcpci.c
2119
goto error;
drivers/isdn/hardware/mISDN/hfcpci.c
2123
error:
drivers/isdn/hardware/mISDN/mISDNinfineon.c
928
goto error;
drivers/isdn/hardware/mISDN/mISDNinfineon.c
937
error:
drivers/isdn/hardware/mISDN/netjet.c
1032
goto error;
drivers/isdn/hardware/mISDN/netjet.c
1036
goto error;
drivers/isdn/hardware/mISDN/netjet.c
1043
error:
drivers/isdn/hardware/mISDN/netjet.c
930
goto error;
drivers/isdn/hardware/mISDN/netjet.c
933
goto error;
drivers/isdn/hardware/mISDN/netjet.c
936
error:
drivers/isdn/hardware/mISDN/speedfax.c
408
goto error;
drivers/isdn/hardware/mISDN/speedfax.c
412
goto error;
drivers/isdn/hardware/mISDN/speedfax.c
427
error:
drivers/isdn/mISDN/layer2.c
2247
goto error;
drivers/isdn/mISDN/layer2.c
2255
error:
drivers/isdn/mISDN/tei.c
1386
goto error;
drivers/isdn/mISDN/tei.c
1407
error:
drivers/leds/flash/leds-sy7802.c
502
goto error;
drivers/leds/flash/leds-sy7802.c
507
goto error;
drivers/leds/flash/leds-sy7802.c
513
goto error;
drivers/leds/flash/leds-sy7802.c
517
error:
drivers/leds/leds-an30259a.c
106
goto error;
drivers/leds/leds-an30259a.c
112
goto error;
drivers/leds/leds-an30259a.c
117
error:
drivers/leds/leds-an30259a.c
139
goto error;
drivers/leds/leds-an30259a.c
145
goto error;
drivers/leds/leds-an30259a.c
162
goto error;
drivers/leds/leds-an30259a.c
168
goto error;
drivers/leds/leds-an30259a.c
172
goto error;
drivers/leds/leds-an30259a.c
179
goto error;
drivers/leds/leds-an30259a.c
184
goto error;
drivers/leds/leds-an30259a.c
192
error:
drivers/leds/leds-an30259a.c
89
goto error;
drivers/leds/leds-apu.c
141
goto error;
drivers/leds/leds-apu.c
146
goto error;
drivers/leds/leds-apu.c
153
error:
drivers/leds/leds-aw2013.c
165
goto error;
drivers/leds/leds-aw2013.c
172
goto error;
drivers/leds/leds-aw2013.c
181
goto error;
drivers/leds/leds-aw2013.c
186
goto error;
drivers/leds/leds-aw2013.c
191
error:
drivers/leds/leds-aw2013.c
356
goto error;
drivers/leds/leds-aw2013.c
368
goto error;
drivers/leds/leds-aw2013.c
376
goto error;
drivers/leds/leds-aw2013.c
406
goto error;
drivers/leds/leds-aw2013.c
417
error:
drivers/leds/leds-clevo-mail.c
176
int error = 0;
drivers/leds/leds-clevo-mail.c
195
error = platform_driver_probe(&clevo_mail_led_driver,
drivers/leds/leds-clevo-mail.c
197
if (error) {
drivers/leds/leds-clevo-mail.c
202
error = PTR_ERR(pdev);
drivers/leds/leds-clevo-mail.c
204
return error;
drivers/leds/leds-da9052.c
115
error = -ENOMEM;
drivers/leds/leds-da9052.c
127
error = led_classdev_register(pdev->dev.parent, &led[i].cdev);
drivers/leds/leds-da9052.c
128
if (error) {
drivers/leds/leds-da9052.c
134
error = da9052_set_led_brightness(&led[i],
drivers/leds/leds-da9052.c
136
if (error) {
drivers/leds/leds-da9052.c
142
error = da9052_configure_leds(led->da9052);
drivers/leds/leds-da9052.c
143
if (error) {
drivers/leds/leds-da9052.c
144
dev_err(&pdev->dev, "Failed to configure GPIO LED%d\n", error);
drivers/leds/leds-da9052.c
156
return error;
drivers/leds/leds-da9052.c
43
int error;
drivers/leds/leds-da9052.c
47
error = da9052_reg_write(led->da9052, led_reg[led->led_index], val);
drivers/leds/leds-da9052.c
48
if (error < 0)
drivers/leds/leds-da9052.c
50
error);
drivers/leds/leds-da9052.c
51
return error;
drivers/leds/leds-da9052.c
65
int error;
drivers/leds/leds-da9052.c
69
error = da9052_reg_update(da9052, DA9052_GPIO_14_15_REG,
drivers/leds/leds-da9052.c
73
if (error < 0) {
drivers/leds/leds-da9052.c
75
error);
drivers/leds/leds-da9052.c
76
return error;
drivers/leds/leds-da9052.c
79
error = da9052_reg_update(da9052, DA9052_GPIO_14_15_REG,
drivers/leds/leds-da9052.c
82
if (error < 0)
drivers/leds/leds-da9052.c
84
error);
drivers/leds/leds-da9052.c
86
return error;
drivers/leds/leds-da9052.c
95
int error = -ENODEV;
drivers/leds/rgb/leds-qcom-lpg.c
429
unsigned int error;
drivers/leds/rgb/leds-qcom-lpg.c
508
error = period - actual;
drivers/leds/rgb/leds-qcom-lpg.c
509
if (error < best_err) {
drivers/leds/rgb/leds-qcom-lpg.c
510
best_err = error;
drivers/macintosh/ams/ams-input.c
115
int error = 0;
drivers/macintosh/ams/ams-input.c
128
error = ams_input_enable();
drivers/macintosh/ams/ams-input.c
135
return error ? error : count;
drivers/macintosh/ams/ams-input.c
54
int error;
drivers/macintosh/ams/ams-input.c
75
error = input_setup_polling(input, ams_idev_poll);
drivers/macintosh/ams/ams-input.c
76
if (error)
drivers/macintosh/ams/ams-input.c
81
error = input_register_device(input);
drivers/macintosh/ams/ams-input.c
82
if (error)
drivers/macintosh/ams/ams-input.c
92
return error;
drivers/macintosh/mac_hid.c
113
error = input_register_handle(handle);
drivers/macintosh/mac_hid.c
114
if (error) {
drivers/macintosh/mac_hid.c
117
"error %d\n", error);
drivers/macintosh/mac_hid.c
121
error = input_open_device(handle);
drivers/macintosh/mac_hid.c
122
if (error) {
drivers/macintosh/mac_hid.c
125
error);
drivers/macintosh/mac_hid.c
135
return error;
drivers/macintosh/mac_hid.c
99
int error;
drivers/macintosh/macio-adb.c
115
out_8(&adb->error.r, 0);
drivers/macintosh/macio-adb.c
239
err = in_8(&adb->error.r);
drivers/macintosh/macio-adb.c
260
out_8(&adb->error.r, 0);
drivers/macintosh/macio-adb.c
33
struct preg error;
drivers/macintosh/macio_asic.c
71
int error = -ENODEV;
drivers/macintosh/macio_asic.c
80
return error;
drivers/macintosh/macio_asic.c
86
error = drv->probe(macio_dev, match);
drivers/macintosh/macio_asic.c
87
if (error)
drivers/macintosh/macio_asic.c
90
return error;
drivers/macintosh/via-pmu.c
2274
int error = 0;
drivers/macintosh/via-pmu.c
2292
error = powerbook_sleep_3400();
drivers/macintosh/via-pmu.c
2296
error = powerbook_sleep_grackle();
drivers/macintosh/via-pmu.c
2299
error = powerbook_sleep_Core99();
drivers/macintosh/via-pmu.c
2305
if (error)
drivers/macintosh/via-pmu.c
2306
return error;
drivers/macintosh/via-pmu.c
2355
int error = -EINVAL;
drivers/macintosh/via-pmu.c
2387
error = get_user(brightness, argp);
drivers/macintosh/via-pmu.c
2388
if (error)
drivers/macintosh/via-pmu.c
2389
return error;
drivers/macintosh/via-pmu.c
2413
return error;
drivers/macintosh/windfarm_ad7417_sensor.c
115
goto error;
drivers/macintosh/windfarm_ad7417_sensor.c
124
goto error;
drivers/macintosh/windfarm_ad7417_sensor.c
129
goto error;
drivers/macintosh/windfarm_ad7417_sensor.c
142
error:
drivers/macintosh/windfarm_ad7417_sensor.c
50
goto error;
drivers/macintosh/windfarm_ad7417_sensor.c
53
goto error;
drivers/macintosh/windfarm_ad7417_sensor.c
64
error:
drivers/macintosh/windfarm_lm87_sensor.c
51
goto error;
drivers/macintosh/windfarm_lm87_sensor.c
54
goto error;
drivers/macintosh/windfarm_lm87_sensor.c
56
error:
drivers/macintosh/windfarm_pid.c
101
st->errors[i] = error;
drivers/macintosh/windfarm_pid.c
109
st->errors[st->index] = error;
drivers/macintosh/windfarm_pid.c
35
s64 error, integ, deriv;
drivers/macintosh/windfarm_pid.c
40
error = new_sample - st->param.itarget;
drivers/macintosh/windfarm_pid.c
46
st->errors[i] = error;
drivers/macintosh/windfarm_pid.c
53
st->errors[st->index] = error;
drivers/macintosh/windfarm_pid.c
68
error * (s64)st->param.gp) >> 36);
drivers/macintosh/windfarm_pid.c
91
s32 error, target, sval, adj;
drivers/macintosh/windfarm_pid.c
95
error = st->param.pmaxadj - new_power;
drivers/mailbox/bcm-flexrm-mailbox.c
1059
msg->error = ret;
drivers/mailbox/bcm-flexrm-mailbox.c
1140
msg->error = err;
drivers/mailbox/bcm-flexrm-mailbox.c
1196
msg->error = rc;
drivers/mailbox/bcm-flexrm-mailbox.c
1398
msg->error = -EIO;
drivers/mailbox/bcm-flexrm-mailbox.c
988
msg->error = 0;
drivers/mailbox/imx-mailbox.c
473
goto error;
drivers/mailbox/imx-mailbox.c
482
goto error;
drivers/mailbox/imx-mailbox.c
499
error:
drivers/mailbox/mailbox-mchp-ipc-sbi.c
124
if (ret.error)
drivers/mailbox/mailbox-mchp-ipc-sbi.c
125
return sbi_err_map_linux_errno(ret.error);
drivers/mailbox/mailbox-mchp-ipc-sbi.c
137
if (ret.error)
drivers/mailbox/mailbox-mchp-ipc-sbi.c
138
return sbi_err_map_linux_errno(ret.error);
drivers/mailbox/pcc.c
109
struct pcc_chan_reg error;
drivers/mailbox/pcc.c
275
ret = pcc_chan_reg_read(&pchan->error, &val);
drivers/mailbox/pcc.c
279
if (val & pchan->error.status_mask) {
drivers/mailbox/pcc.c
280
val &= pchan->error.preserve_mask;
drivers/mailbox/pcc.c
281
pcc_chan_reg_write(&pchan->error, val);
drivers/mailbox/pcc.c
668
ret = pcc_chan_reg_init(&pchan->error,
drivers/mailbox/riscv-sbi-mpxy-mbox.c
145
if (sret.error)
drivers/mailbox/riscv-sbi-mpxy-mbox.c
154
return sbi_err_map_linux_errno(sret.error);
drivers/mailbox/riscv-sbi-mpxy-mbox.c
174
if (sret.error)
drivers/mailbox/riscv-sbi-mpxy-mbox.c
188
return sbi_err_map_linux_errno(sret.error);
drivers/mailbox/riscv-sbi-mpxy-mbox.c
206
if (sret.error)
drivers/mailbox/riscv-sbi-mpxy-mbox.c
213
return sbi_err_map_linux_errno(sret.error);
drivers/mailbox/riscv-sbi-mpxy-mbox.c
234
return sbi_err_map_linux_errno(sret.error);
drivers/mailbox/riscv-sbi-mpxy-mbox.c
259
if (rx && !sret.error) {
drivers/mailbox/riscv-sbi-mpxy-mbox.c
272
return sbi_err_map_linux_errno(sret.error);
drivers/mailbox/riscv-sbi-mpxy-mbox.c
296
return sbi_err_map_linux_errno(sret.error);
drivers/mailbox/riscv-sbi-mpxy-mbox.c
315
if (sret.error)
drivers/mailbox/riscv-sbi-mpxy-mbox.c
323
return sbi_err_map_linux_errno(sret.error);
drivers/mailbox/riscv-sbi-mpxy-mbox.c
332
if (sret.error)
drivers/mailbox/riscv-sbi-mpxy-mbox.c
333
return sbi_err_map_linux_errno(sret.error);
drivers/mailbox/riscv-sbi-mpxy-mbox.c
359
if (sret.error) {
drivers/mailbox/riscv-sbi-mpxy-mbox.c
362
return sbi_err_map_linux_errno(sret.error);
drivers/mailbox/riscv-sbi-mpxy-mbox.c
403
msg->error = 0;
drivers/mailbox/riscv-sbi-mpxy-mbox.c
426
msg->error = -EOPNOTSUPP;
drivers/mailbox/riscv-sbi-mpxy-mbox.c
432
msg->error = -EOPNOTSUPP;
drivers/mailbox/riscv-sbi-mpxy-mbox.c
438
msg->error = -EINVAL;
drivers/mailbox/riscv-sbi-mpxy-mbox.c
442
msg->error = -EIO;
drivers/mailbox/riscv-sbi-mpxy-mbox.c
445
msg->error = mpxy_send_message_with_resp(mchan->channel_id,
drivers/mailbox/riscv-sbi-mpxy-mbox.c
456
msg->error = -EINVAL;
drivers/mailbox/riscv-sbi-mpxy-mbox.c
460
msg->error = -EIO;
drivers/mailbox/riscv-sbi-mpxy-mbox.c
463
msg->error = mpxy_send_message_without_resp(mchan->channel_id,
drivers/mailbox/riscv-sbi-mpxy-mbox.c
469
msg->error = -EOPNOTSUPP;
drivers/mailbox/riscv-sbi-mpxy-mbox.c
490
msg.error = 0;
drivers/md/bcache/bcache.h
974
void bch_count_io_errors(struct cache *ca, blk_status_t error,
drivers/md/bcache/bcache.h
977
blk_status_t error, const char *m);
drivers/md/bcache/bcache.h
979
blk_status_t error, const char *m);
drivers/md/bcache/io.c
120
if (error) {
drivers/md/bcache/io.c
137
blk_status_t error, const char *m)
drivers/md/bcache/io.c
163
bch_count_io_errors(ca, error, is_read, m);
drivers/md/bcache/io.c
167
blk_status_t error, const char *m)
drivers/md/bcache/io.c
171
bch_bbio_count_io_errors(c, bio, error, m);
drivers/md/bcache/io.c
82
blk_status_t error,
drivers/md/bcache/writeback.c
129
if ((error < 0 && dc->writeback_rate_integral > 0) ||
drivers/md/bcache/writeback.c
130
(error > 0 && time_before64(local_clock(),
drivers/md/bcache/writeback.c
142
dc->writeback_rate_integral += error *
drivers/md/bcache/writeback.c
85
int64_t error = dirty - target;
drivers/md/bcache/writeback.c
87
div_s64(error, dc->writeback_rate_p_term_inverse);
drivers/md/dm-audit.c
51
dev_minor, !result ? ti->error : "success");
drivers/md/dm-bio-prison-v1.c
254
struct dm_bio_prison_cell *cell, blk_status_t error)
drivers/md/dm-bio-prison-v1.c
263
bio->bi_status = error;
drivers/md/dm-bio-prison-v1.h
99
struct dm_bio_prison_cell *cell, blk_status_t error);
drivers/md/dm-bufio.c
1290
static void dmio_complete(unsigned long error, void *context)
drivers/md/dm-bufio.c
1294
b->end_io(b, unlikely(error != 0) ? BLK_STS_IOERR : 0);
drivers/md/dm-bufio.c
1934
int error = blk_status_to_errno(b->read_error);
drivers/md/dm-bufio.c
1938
return ERR_PTR(error);
drivers/md/dm-cache-target.c
2046
static bool at_least_one_arg(struct dm_arg_set *as, char **error)
drivers/md/dm-cache-target.c
2049
*error = "Insufficient args";
drivers/md/dm-cache-target.c
2057
char **error)
drivers/md/dm-cache-target.c
2062
if (!at_least_one_arg(as, error))
drivers/md/dm-cache-target.c
2068
*error = "Error opening metadata device";
drivers/md/dm-cache-target.c
2081
char **error)
drivers/md/dm-cache-target.c
2085
if (!at_least_one_arg(as, error))
drivers/md/dm-cache-target.c
2091
*error = "Error opening cache device";
drivers/md/dm-cache-target.c
2100
char **error)
drivers/md/dm-cache-target.c
2104
if (!at_least_one_arg(as, error))
drivers/md/dm-cache-target.c
2110
*error = "Error opening origin device";
drivers/md/dm-cache-target.c
2118
char **error)
drivers/md/dm-cache-target.c
2122
if (!at_least_one_arg(as, error))
drivers/md/dm-cache-target.c
2129
*error = "Invalid data block size";
drivers/md/dm-cache-target.c
2134
*error = "Data block size is larger than the cache device";
drivers/md/dm-cache-target.c
2152
char **error)
drivers/md/dm-cache-target.c
2165
r = dm_read_arg_group(_args, as, &argc, error);
drivers/md/dm-cache-target.c
2194
*error = "Unrecognised cache feature requested";
drivers/md/dm-cache-target.c
2200
*error = "Duplicate cache io_mode features requested";
drivers/md/dm-cache-target.c
2208
char **error)
drivers/md/dm-cache-target.c
2216
if (!at_least_one_arg(as, error))
drivers/md/dm-cache-target.c
2221
r = dm_read_arg_group(_args, as, &ca->policy_argc, error);
drivers/md/dm-cache-target.c
2232
char **error)
drivers/md/dm-cache-target.c
2240
r = parse_metadata_dev(ca, &as, error);
drivers/md/dm-cache-target.c
2244
r = parse_cache_dev(ca, &as, error);
drivers/md/dm-cache-target.c
2248
r = parse_origin_dev(ca, &as, error);
drivers/md/dm-cache-target.c
2252
r = parse_block_size(ca, &as, error);
drivers/md/dm-cache-target.c
2256
r = parse_features(ca, &as, error);
drivers/md/dm-cache-target.c
2260
r = parse_policy(ca, &as, error);
drivers/md/dm-cache-target.c
2323
char **error)
drivers/md/dm-cache-target.c
2330
*error = "Error creating cache's policy";
drivers/md/dm-cache-target.c
2383
char **error = &ca->ti->error;
drivers/md/dm-cache-target.c
2440
r = create_cache_policy(cache, ca, error);
drivers/md/dm-cache-target.c
2449
*error = "Error setting cache policy's config values";
drivers/md/dm-cache-target.c
2458
*error = "Error creating metadata object";
drivers/md/dm-cache-target.c
2465
*error = "Unable to get write access to metadata, please check/repair metadata.";
drivers/md/dm-cache-target.c
2475
*error = "dm_cache_metadata_all_clean() failed";
drivers/md/dm-cache-target.c
2480
*error = "Cannot enter passthrough mode unless all blocks are clean";
drivers/md/dm-cache-target.c
2498
*error = "could not allocate dirty bitset";
drivers/md/dm-cache-target.c
2510
*error = "could not allocate discard bitset";
drivers/md/dm-cache-target.c
2517
*error = "could not allocate bitset for invalid blocks";
drivers/md/dm-cache-target.c
2524
*error = "could not create kcopyd client";
drivers/md/dm-cache-target.c
2532
*error = "could not create workqueue for metadata object";
drivers/md/dm-cache-target.c
2541
*error = "could not create bio prison";
drivers/md/dm-cache-target.c
2548
*error = "Error creating cache's migration mempool";
drivers/md/dm-cache-target.c
2617
ti->error = "Error allocating memory for cache";
drivers/md/dm-cache-target.c
2622
r = parse_cache_args(ca, argc, argv, &ti->error);
drivers/md/dm-cache-target.c
2676
static int cache_end_io(struct dm_target *ti, struct bio *bio, blk_status_t *error)
drivers/md/dm-clone-target.c
1373
static int clone_endio(struct dm_target *ti, struct bio *bio, blk_status_t *error)
drivers/md/dm-clone-target.c
1450
goto error;
drivers/md/dm-clone-target.c
1458
goto error;
drivers/md/dm-clone-target.c
1507
error:
drivers/md/dm-clone-target.c
1547
.error = "Invalid number of feature arguments"
drivers/md/dm-clone-target.c
1554
r = dm_read_arg_group(&args, as, &argc, &ti->error);
drivers/md/dm-clone-target.c
1567
ti->error = "Invalid feature argument";
drivers/md/dm-clone-target.c
1586
.error = "Invalid number of core arguments"
drivers/md/dm-clone-target.c
1597
r = dm_read_arg_group(&args, as, &argc, &ti->error);
drivers/md/dm-clone-target.c
1602
ti->error = "Number of core arguments must be even";
drivers/md/dm-clone-target.c
1612
ti->error = "Invalid value for argument `hydration_threshold'";
drivers/md/dm-clone-target.c
1618
ti->error = "Invalid value for argument `hydration_batch_size'";
drivers/md/dm-clone-target.c
1623
ti->error = "Invalid core argument";
drivers/md/dm-clone-target.c
1631
static int parse_region_size(struct clone *clone, struct dm_arg_set *as, char **error)
drivers/md/dm-clone-target.c
1639
arg.error = "Invalid region size";
drivers/md/dm-clone-target.c
1641
r = dm_read_arg(&arg, as, ®ion_size, error);
drivers/md/dm-clone-target.c
1647
*error = "Region size is not a power of 2";
drivers/md/dm-clone-target.c
1654
*error = "Region size is not a multiple of device logical block size";
drivers/md/dm-clone-target.c
1663
static int validate_nr_regions(unsigned long n, char **error)
drivers/md/dm-clone-target.c
1670
*error = "Too many regions. Consider increasing the region size";
drivers/md/dm-clone-target.c
1677
static int parse_metadata_dev(struct clone *clone, struct dm_arg_set *as, char **error)
drivers/md/dm-clone-target.c
1685
*error = "Error opening metadata device";
drivers/md/dm-clone-target.c
1697
static int parse_dest_dev(struct clone *clone, struct dm_arg_set *as, char **error)
drivers/md/dm-clone-target.c
1704
*error = "Error opening destination device";
drivers/md/dm-clone-target.c
1711
static int parse_source_dev(struct clone *clone, struct dm_arg_set *as, char **error)
drivers/md/dm-clone-target.c
1718
*error = "Error opening source device";
drivers/md/dm-clone-target.c
1725
static int copy_ctr_args(struct clone *clone, int argc, const char **argv, char **error)
drivers/md/dm-clone-target.c
1732
goto error;
drivers/md/dm-clone-target.c
1741
goto error;
drivers/md/dm-clone-target.c
1749
error:
drivers/md/dm-clone-target.c
1750
*error = "Failed to allocate memory for table line";
drivers/md/dm-clone-target.c
1762
ti->error = "Invalid number of arguments";
drivers/md/dm-clone-target.c
1771
ti->error = "Failed to allocate clone structure";
drivers/md/dm-clone-target.c
1782
r = parse_metadata_dev(clone, &as, &ti->error);
drivers/md/dm-clone-target.c
1786
r = parse_dest_dev(clone, &as, &ti->error);
drivers/md/dm-clone-target.c
1790
r = parse_source_dev(clone, &as, &ti->error);
drivers/md/dm-clone-target.c
1794
r = parse_region_size(clone, &as, &ti->error);
drivers/md/dm-clone-target.c
1803
ti->error = "Too many regions. Consider increasing the region size";
drivers/md/dm-clone-target.c
1810
r = validate_nr_regions(clone->nr_regions, &ti->error);
drivers/md/dm-clone-target.c
1816
ti->error = "Failed to set max io len";
drivers/md/dm-clone-target.c
1832
ti->error = "Failed to load metadata";
drivers/md/dm-clone-target.c
1840
ti->error = "Unable to get write access to metadata, please check/repair metadata";
drivers/md/dm-clone-target.c
1850
ti->error = "Failed to allocate hydration hash table";
drivers/md/dm-clone-target.c
1867
ti->error = "Failed to allocate workqueue";
drivers/md/dm-clone-target.c
1884
ti->error = "Failed to create dm_clone_region_hydration memory pool";
drivers/md/dm-clone-target.c
1889
r = copy_ctr_args(clone, argc - 3, (const char **)argv + 3, &ti->error);
drivers/md/dm-crypt.c
1169
ti->error = "Integrity profile not supported.";
drivers/md/dm-crypt.c
1174
ti->error = "Integrity profile tag size mismatch.";
drivers/md/dm-crypt.c
1179
ti->error = "Integrity profile sector size mismatch.";
drivers/md/dm-crypt.c
1189
ti->error = "Integrity AEAD auth tag size is not supported.";
drivers/md/dm-crypt.c
1197
ti->error = "Not enough space for integrity tag in the profile.";
drivers/md/dm-crypt.c
1203
ti->error = "Integrity profile not supported.";
drivers/md/dm-crypt.c
1464
static void kcryptd_async_done(void *async_req, int error);
drivers/md/dm-crypt.c
1759
io->error = 0;
drivers/md/dm-crypt.c
1783
blk_status_t error = io->error;
drivers/md/dm-crypt.c
1792
io->error = 0;
drivers/md/dm-crypt.c
1805
base_bio->bi_status = error;
drivers/md/dm-crypt.c
1832
blk_status_t error = clone->bi_status;
drivers/md/dm-crypt.c
1834
if (io->ctx.aead_recheck && !error) {
drivers/md/dm-crypt.c
1847
if (rw == READ && !error) {
drivers/md/dm-crypt.c
1852
if (unlikely(error))
drivers/md/dm-crypt.c
1853
io->error = error;
drivers/md/dm-crypt.c
1912
io->error = BLK_STS_RESOURCE;
drivers/md/dm-crypt.c
1993
if (unlikely(io->error)) {
drivers/md/dm-crypt.c
2061
io->error = r;
drivers/md/dm-crypt.c
2092
io->error = BLK_STS_IOERR;
drivers/md/dm-crypt.c
2119
io->error = r;
drivers/md/dm-crypt.c
2138
if (!io->error) {
drivers/md/dm-crypt.c
2159
io->error = r;
drivers/md/dm-crypt.c
2194
io->error = r;
drivers/md/dm-crypt.c
2202
static void kcryptd_async_done(void *data, int error)
drivers/md/dm-crypt.c
2214
if (error == -EINPROGRESS) {
drivers/md/dm-crypt.c
2219
if (!error && cc->iv_gen_ops && cc->iv_gen_ops->post)
drivers/md/dm-crypt.c
2220
error = cc->iv_gen_ops->post(cc, org_iv_of_dmreq(cc, dmreq), dmreq);
drivers/md/dm-crypt.c
2222
if (error == -EBADMSG) {
drivers/md/dm-crypt.c
2232
io->error = BLK_STS_PROTECTION;
drivers/md/dm-crypt.c
2233
} else if (error < 0)
drivers/md/dm-crypt.c
2234
io->error = BLK_STS_IOERR;
drivers/md/dm-crypt.c
2851
ti->error = "Invalid IV mode";
drivers/md/dm-crypt.c
2931
ti->error = "Invalid AEAD cipher spec";
drivers/md/dm-crypt.c
2941
ti->error = "Digest algorithm missing for ESSIV mode";
drivers/md/dm-crypt.c
2947
ti->error = "Cannot allocate cipher string";
drivers/md/dm-crypt.c
2958
ti->error = "Error allocating crypto tfm";
drivers/md/dm-crypt.c
2980
ti->error = "Bad cipher specification";
drivers/md/dm-crypt.c
2996
ti->error = "Bad cipher key count specification";
drivers/md/dm-crypt.c
3015
ti->error = "IV mechanism required";
drivers/md/dm-crypt.c
3025
ti->error = "Digest algorithm missing for ESSIV mode";
drivers/md/dm-crypt.c
3043
ti->error = "Error allocating crypto tfm";
drivers/md/dm-crypt.c
3051
ti->error = "Cannot allocate cipher strings";
drivers/md/dm-crypt.c
3063
ti->error = "Cannot allocate cipher strings";
drivers/md/dm-crypt.c
3082
ti->error = "Error decoding and setting key";
drivers/md/dm-crypt.c
3090
ti->error = "Error creating IV";
drivers/md/dm-crypt.c
3099
ti->error = "Error initialising IV";
drivers/md/dm-crypt.c
3127
ret = dm_read_arg_group(_args, &as, &opt_params, &ti->error);
drivers/md/dm-crypt.c
3134
ti->error = "Not enough feature arguments";
drivers/md/dm-crypt.c
3154
ti->error = "Invalid integrity arguments";
drivers/md/dm-crypt.c
3162
ti->error = "Unknown integrity profile";
drivers/md/dm-crypt.c
3171
ti->error = "Invalid integrity_key_size argument";
drivers/md/dm-crypt.c
3180
ti->error = "Invalid feature value for sector_size";
drivers/md/dm-crypt.c
3184
ti->error = "Device size is not multiple of sector_size feature";
drivers/md/dm-crypt.c
3191
ti->error = "Invalid feature arguments";
drivers/md/dm-crypt.c
3230
ti->error = "Not enough arguments";
drivers/md/dm-crypt.c
3236
ti->error = "Cannot parse key size";
drivers/md/dm-crypt.c
3242
ti->error = "Cannot allocate encryption context";
drivers/md/dm-crypt.c
3304
ti->error = "Cannot allocate crypt request mempool";
drivers/md/dm-crypt.c
3314
ti->error = "Cannot allocate page mempool";
drivers/md/dm-crypt.c
3320
ti->error = "Cannot allocate crypt bioset";
drivers/md/dm-crypt.c
3329
ti->error = "Invalid iv_offset sector";
drivers/md/dm-crypt.c
3336
ti->error = "Device lookup failed";
drivers/md/dm-crypt.c
3342
ti->error = "Invalid device sector";
drivers/md/dm-crypt.c
3383
ti->error = "Cannot allocate integrity tags mempool";
drivers/md/dm-crypt.c
3392
ti->error = "Couldn't get workqueue id";
drivers/md/dm-crypt.c
3407
ti->error = "Couldn't create kcryptd io queue";
drivers/md/dm-crypt.c
3425
ti->error = "Couldn't create kcryptd queue";
drivers/md/dm-crypt.c
3436
ti->error = "Couldn't spawn write thread";
drivers/md/dm-crypt.c
3674
goto error;
drivers/md/dm-crypt.c
3703
error:
drivers/md/dm-crypt.c
419
ti->error = "cypher blocksize is not a power of 2";
drivers/md/dm-crypt.c
424
ti->error = "cypher blocksize is > 512";
drivers/md/dm-crypt.c
472
ti->error = "Unsupported sector size for LMK";
drivers/md/dm-crypt.c
477
ti->error = "LMK support is disabled due to FIPS";
drivers/md/dm-crypt.c
490
ti->error = "Error kmallocing seed storage in LMK";
drivers/md/dm-crypt.c
599
ti->error = "Unsupported sector size for TCW";
drivers/md/dm-crypt.c
604
ti->error = "Wrong key size for TCW";
drivers/md/dm-crypt.c
612
ti->error = "Error allocating seed storage in TCW";
drivers/md/dm-crypt.c
720
ti->error = "AEAD transforms not supported for EBOIV";
drivers/md/dm-crypt.c
725
ti->error = "Block size of EBOIV cipher does not match IV size of block cipher";
drivers/md/dm-crypt.c
90
blk_status_t error;
drivers/md/dm-delay.c
189
ti->error = "Invalid device sector";
drivers/md/dm-delay.c
195
ti->error = "Invalid delay";
drivers/md/dm-delay.c
201
ti->error = "Device lookup failed";
drivers/md/dm-delay.c
223
ti->error = "Requires exactly 3, 6 or 9 arguments";
drivers/md/dm-delay.c
229
ti->error = "Cannot allocate context";
drivers/md/dm-dust.c
332
ti->error = "Invalid argument count";
drivers/md/dm-dust.c
337
ti->error = "Invalid block size parameter";
drivers/md/dm-dust.c
342
ti->error = "Block size must be at least 512";
drivers/md/dm-dust.c
347
ti->error = "Block size must be a power of 2";
drivers/md/dm-dust.c
352
ti->error = "Block size is too large";
drivers/md/dm-dust.c
359
ti->error = "Invalid device offset sector";
drivers/md/dm-dust.c
365
ti->error = "Cannot allocate context";
drivers/md/dm-dust.c
370
ti->error = "Device lookup failed";
drivers/md/dm-ebs-target.c
256
ti->error = "Invalid argument count";
drivers/md/dm-ebs-target.c
262
ti->error = "Cannot allocate ebs context";
drivers/md/dm-ebs-target.c
270
ti->error = "Invalid device offset sector";
drivers/md/dm-ebs-target.c
278
ti->error = "Invalid emulated block size";
drivers/md/dm-ebs-target.c
285
ti->error = "Invalid underlying block size";
drivers/md/dm-ebs-target.c
295
ti->error = "Device lookup failed";
drivers/md/dm-ebs-target.c
304
ti->error = "Invalid retrieved underlying block size";
drivers/md/dm-ebs-target.c
313
ti->error = "Device offset must be multiple of underlying block size";
drivers/md/dm-ebs-target.c
320
ti->error = "Cannot create dm bufio client";
drivers/md/dm-ebs-target.c
328
ti->error = "Cannot create dm-" DM_MSG_PREFIX " workqueue";
drivers/md/dm-era-target.c
1472
ti->error = "Invalid argument count";
drivers/md/dm-era-target.c
1478
ti->error = "Error allocating era structure";
drivers/md/dm-era-target.c
1487
ti->error = "Error opening metadata device";
drivers/md/dm-era-target.c
1495
ti->error = "Error opening data device";
drivers/md/dm-era-target.c
1502
ti->error = "Error parsing block size";
drivers/md/dm-era-target.c
1509
ti->error = "could not set max io len";
drivers/md/dm-era-target.c
1515
ti->error = "Invalid block size";
drivers/md/dm-era-target.c
1526
ti->error = "Error reading metadata";
drivers/md/dm-era-target.c
1534
ti->error = "could not create workqueue for metadata object";
drivers/md/dm-exception-store.c
144
const char *chunk_size_arg, char **error)
drivers/md/dm-exception-store.c
149
*error = "Invalid chunk size";
drivers/md/dm-exception-store.c
158
return dm_exception_store_set_chunk_size(store, chunk_size, error);
drivers/md/dm-exception-store.c
163
char **error)
drivers/md/dm-exception-store.c
167
*error = "Chunk size is not a power of 2";
drivers/md/dm-exception-store.c
176
*error = "Chunk size is not a multiple of device blocksize";
drivers/md/dm-exception-store.c
181
*error = "Chunk size is too high";
drivers/md/dm-exception-store.c
203
ti->error = "Insufficient exception store arguments";
drivers/md/dm-exception-store.c
209
ti->error = "Exception store allocation failed";
drivers/md/dm-exception-store.c
219
ti->error = "Exception store type is not P or N";
drivers/md/dm-exception-store.c
225
ti->error = "Exception store type not recognised";
drivers/md/dm-exception-store.c
233
r = set_chunk_size(tmp_store, argv[1], &ti->error);
drivers/md/dm-exception-store.c
239
ti->error = "Exception store type constructor failed";
drivers/md/dm-exception-store.h
186
char **error);
drivers/md/dm-flakey.c
101
ti->error = "Feature drop_writes duplicated";
drivers/md/dm-flakey.c
104
ti->error = "Feature drop_writes conflicts with feature error_writes";
drivers/md/dm-flakey.c
116
ti->error = "Feature error_writes duplicated";
drivers/md/dm-flakey.c
120
ti->error = "Feature error_writes conflicts with feature drop_writes";
drivers/md/dm-flakey.c
132
ti->error = "Feature corrupt_bio_byte duplicated";
drivers/md/dm-flakey.c
135
ti->error = "Feature corrupt_bio_byte requires 4 parameters";
drivers/md/dm-flakey.c
139
r = dm_read_arg(_args + 1, as, &fc->corrupt_bio_byte, &ti->error);
drivers/md/dm-flakey.c
153
ti->error = "Invalid corrupt bio direction (r or w)";
drivers/md/dm-flakey.c
161
r = dm_read_arg(_args + 2, as, &fc->corrupt_bio_value, &ti->error);
drivers/md/dm-flakey.c
173
&ti->error);
drivers/md/dm-flakey.c
183
ti->error = "Feature random_read_corrupt duplicated";
drivers/md/dm-flakey.c
186
ti->error = "Feature random_read_corrupt requires a parameter";
drivers/md/dm-flakey.c
189
r = dm_read_arg(_args + 4, as, &fc->random_read_corrupt, &ti->error);
drivers/md/dm-flakey.c
199
ti->error = "Feature random_write_corrupt duplicated";
drivers/md/dm-flakey.c
202
ti->error = "Feature random_write_corrupt requires a parameter";
drivers/md/dm-flakey.c
205
r = dm_read_arg(_args + 4, as, &fc->random_write_corrupt, &ti->error);
drivers/md/dm-flakey.c
213
ti->error = "Unrecognised flakey feature requested";
drivers/md/dm-flakey.c
220
ti->error = "drop_writes is incompatible with random_write_corrupt or corrupt_bio_byte with the WRITE flag set";
drivers/md/dm-flakey.c
226
ti->error = "error_writes is incompatible with random_write_corrupt or corrupt_bio_byte with the WRITE flag set";
drivers/md/dm-flakey.c
231
ti->error = "error_reads is incompatible with random_read_corrupt or corrupt_bio_byte with the READ flag set";
drivers/md/dm-flakey.c
276
ti->error = "Invalid argument count";
drivers/md/dm-flakey.c
282
ti->error = "Cannot allocate context";
drivers/md/dm-flakey.c
291
ti->error = "Invalid device sector";
drivers/md/dm-flakey.c
296
r = dm_read_arg(_args, &as, &fc->up_interval, &ti->error);
drivers/md/dm-flakey.c
300
r = dm_read_arg(_args + 1, &as, &fc->down_interval, &ti->error);
drivers/md/dm-flakey.c
305
ti->error = "Total (up + down) interval is zero";
drivers/md/dm-flakey.c
311
ti->error = "Interval overflow";
drivers/md/dm-flakey.c
322
ti->error = "Device lookup failed";
drivers/md/dm-flakey.c
574
blk_status_t *error)
drivers/md/dm-flakey.c
582
if (!*error && pb->bio_can_corrupt && (bio_data_dir(bio) == READ)) {
drivers/md/dm-flakey.c
69
if (as->argc && (r = dm_read_arg_group(_args, as, &argc, &ti->error)))
drivers/md/dm-flakey.c
81
ti->error = "Insufficient feature arguments";
drivers/md/dm-flakey.c
90
ti->error = "Feature error_reads duplicated";
drivers/md/dm-ima.c
115
goto error;
drivers/md/dm-ima.c
122
error:
drivers/md/dm-ima.c
202
goto error;
drivers/md/dm-ima.c
206
goto error;
drivers/md/dm-ima.c
211
goto error;
drivers/md/dm-ima.c
215
goto error;
drivers/md/dm-ima.c
221
goto error;
drivers/md/dm-ima.c
225
goto error;
drivers/md/dm-ima.c
275
goto error;
drivers/md/dm-ima.c
316
goto error;
drivers/md/dm-ima.c
326
goto error;
drivers/md/dm-ima.c
331
goto error;
drivers/md/dm-ima.c
353
error:
drivers/md/dm-ima.c
384
goto error;
drivers/md/dm-ima.c
447
goto error;
drivers/md/dm-ima.c
461
error:
drivers/md/dm-ima.c
556
goto error;
drivers/md/dm-ima.c
573
error:
drivers/md/dm-ima.c
706
goto error;
drivers/md/dm-ima.c
710
goto error;
drivers/md/dm-ima.c
713
goto error;
drivers/md/dm-ima.c
728
error:
drivers/md/dm-ima.c
74
goto error;
drivers/md/dm-ima.c
80
goto error;
drivers/md/dm-ima.c
85
goto error;
drivers/md/dm-ima.c
91
error:
drivers/md/dm-integrity.c
1038
static void complete_journal_io(unsigned long error, void *context)
drivers/md/dm-integrity.c
1042
if (unlikely(error != 0))
drivers/md/dm-integrity.c
1499
static void flush_notify(unsigned long error, void *fr_)
drivers/md/dm-integrity.c
1503
if (unlikely(error != 0))
drivers/md/dm-integrity.c
1909
goto error;
drivers/md/dm-integrity.c
1929
goto error;
drivers/md/dm-integrity.c
1970
goto error;
drivers/md/dm-integrity.c
2006
goto error;
drivers/md/dm-integrity.c
2016
error:
drivers/md/dm-integrity.c
2897
static void complete_copy_from_journal(unsigned long error, void *context)
drivers/md/dm-integrity.c
2905
if (unlikely(error != 0))
drivers/md/dm-integrity.c
4330
static int get_alg_and_key(const char *arg, struct alg_spec *a, char **error, char *error_inval)
drivers/md/dm-integrity.c
4357
*error = error_inval;
drivers/md/dm-integrity.c
4360
*error = "Out of memory for an argument";
drivers/md/dm-integrity.c
4365
struct alg_spec *a, char **error, char *error_alg, char *error_key)
drivers/md/dm-integrity.c
4379
*error = error_key;
drivers/md/dm-integrity.c
4383
*error = error_key;
drivers/md/dm-integrity.c
4392
*error = error_alg;
drivers/md/dm-integrity.c
4400
*error = error_key;
drivers/md/dm-integrity.c
4404
*error = error_key;
drivers/md/dm-integrity.c
4409
*error = error_alg;
drivers/md/dm-integrity.c
4416
static int create_journal(struct dm_integrity_c *ic, char **error)
drivers/md/dm-integrity.c
4433
*error = "Journal doesn't fit into memory";
drivers/md/dm-integrity.c
4441
*error = "Could not allocate memory for journal";
drivers/md/dm-integrity.c
4452
*error = "Invalid journal cipher";
drivers/md/dm-integrity.c
4464
*error = "Error setting encryption key";
drivers/md/dm-integrity.c
4473
*error = "Could not allocate memory for journal io";
drivers/md/dm-integrity.c
4483
*error = "Could not allocate crypt request";
drivers/md/dm-integrity.c
4490
*error = "Could not allocate iv";
drivers/md/dm-integrity.c
4497
*error = "Could not allocate memory for journal xor";
drivers/md/dm-integrity.c
4505
*error = "Unable to allocate sg list";
drivers/md/dm-integrity.c
4527
*error = "Unable to encrypt journal";
drivers/md/dm-integrity.c
4539
*error = "Could not allocate crypt request";
drivers/md/dm-integrity.c
4546
*error = "Could not allocate iv";
drivers/md/dm-integrity.c
4553
*error = "Unable to allocate crypt data";
drivers/md/dm-integrity.c
4560
*error = "Unable to allocate sg list";
drivers/md/dm-integrity.c
4566
*error = "Unable to allocate sg list";
drivers/md/dm-integrity.c
4574
*error = "Unable to allocate sk requests";
drivers/md/dm-integrity.c
4596
*error = "Unable to generate iv";
drivers/md/dm-integrity.c
4602
*error = "Unable to allocate crypt request";
drivers/md/dm-integrity.c
4610
*error = "Unable to allocate iv";
drivers/md/dm-integrity.c
4637
*error = "Journal doesn't fit into memory";
drivers/md/dm-integrity.c
4643
*error = "Could not allocate memory for journal tree";
drivers/md/dm-integrity.c
4700
ti->error = "Invalid argument count";
drivers/md/dm-integrity.c
4706
ti->error = "Cannot allocate integrity context";
drivers/md/dm-integrity.c
4724
ti->error = "Device lookup failed";
drivers/md/dm-integrity.c
4729
ti->error = "Invalid starting offset";
drivers/md/dm-integrity.c
4737
ti->error = "Invalid tag size";
drivers/md/dm-integrity.c
4748
ti->error = "Invalid mode (expecting J, B, D, R, I)";
drivers/md/dm-integrity.c
4762
r = dm_read_arg_group(_args, &as, &extra_args, &ti->error);
drivers/md/dm-integrity.c
4774
ti->error = "Not enough feature arguments";
drivers/md/dm-integrity.c
4795
ti->error = "Device lookup failed";
drivers/md/dm-integrity.c
4803
ti->error = "Invalid block_size argument";
drivers/md/dm-integrity.c
4812
ti->error = "Invalid bitmap_flush_interval argument";
drivers/md/dm-integrity.c
4817
r = get_alg_and_key(opt_string, &ic->internal_hash_alg, &ti->error,
drivers/md/dm-integrity.c
4822
r = get_alg_and_key(opt_string, &ic->journal_crypt_alg, &ti->error,
drivers/md/dm-integrity.c
4827
r = get_alg_and_key(opt_string, &ic->journal_mac_alg, &ti->error,
drivers/md/dm-integrity.c
4846
ti->error = "Invalid argument";
drivers/md/dm-integrity.c
4866
r = get_mac(&ic->internal_shash, &ic->internal_ahash, &ic->internal_hash_alg, &ti->error,
drivers/md/dm-integrity.c
4880
ti->error = "Cannot allocate mempool";
drivers/md/dm-integrity.c
4885
r = get_mac(&ic->journal_mac, NULL, &ic->journal_mac_alg, &ti->error,
drivers/md/dm-integrity.c
4892
ti->error = "Unknown tag size";
drivers/md/dm-integrity.c
4899
ti->error = "Too big tag size";
drivers/md/dm-integrity.c
4912
ti->error = "Metadata device not supported in inline mode";
drivers/md/dm-integrity.c
4917
ti->error = "Internal hash not set in inline mode";
drivers/md/dm-integrity.c
4922
ti->error = "Journal crypt not supported in inline mode";
drivers/md/dm-integrity.c
4927
ti->error = "Discards not supported in inline mode";
drivers/md/dm-integrity.c
4933
ti->error = "Integrity profile not supported";
drivers/md/dm-integrity.c
4939
ti->error = "The integrity profile is smaller than tag size";
drivers/md/dm-integrity.c
4944
ti->error = "Too big tuple size";
drivers/md/dm-integrity.c
4950
ti->error = "Integrity profile sector size mismatch";
drivers/md/dm-integrity.c
4957
ti->error = "Bitmap mode can be only used with internal hash";
drivers/md/dm-integrity.c
4963
ti->error = "Discard can be only used with internal hash";
drivers/md/dm-integrity.c
4975
ti->error = "Cannot allocate dm io";
drivers/md/dm-integrity.c
4981
ti->error = "Cannot allocate mempool";
drivers/md/dm-integrity.c
4987
ti->error = "Cannot allocate mempool";
drivers/md/dm-integrity.c
4994
ti->error = "Cannot allocate bio set";
drivers/md/dm-integrity.c
4999
ti->error = "Cannot allocate bio set";
drivers/md/dm-integrity.c
5008
ti->error = "Cannot allocate workqueue";
drivers/md/dm-integrity.c
5019
ti->error = "Cannot allocate workqueue";
drivers/md/dm-integrity.c
5028
ti->error = "Cannot allocate workqueue";
drivers/md/dm-integrity.c
5036
ti->error = "Cannot allocate workqueue";
drivers/md/dm-integrity.c
5046
ti->error = "Cannot allocate workqueue";
drivers/md/dm-integrity.c
5056
ti->error = "Cannot allocate superblock area";
drivers/md/dm-integrity.c
5062
ti->error = "Error reading superblock";
drivers/md/dm-integrity.c
5070
ti->error = "The device is not initialized";
drivers/md/dm-integrity.c
5077
ti->error = "Could not initialize superblock";
drivers/md/dm-integrity.c
5086
ti->error = "Unknown version";
drivers/md/dm-integrity.c
5091
ti->error = "Inline flag mismatch";
drivers/md/dm-integrity.c
5096
ti->error = "Tag size doesn't match the information in superblock";
drivers/md/dm-integrity.c
5101
ti->error = "Block size doesn't match the information in superblock";
drivers/md/dm-integrity.c
5107
ti->error = "Corrupted superblock, journal_sections is 0";
drivers/md/dm-integrity.c
5113
ti->error = "Corrupted superblock, journal_sections is not 0";
drivers/md/dm-integrity.c
5122
ti->error = "Invalid interleave_sectors in the superblock";
drivers/md/dm-integrity.c
5128
ti->error = "Invalid interleave_sectors in the superblock";
drivers/md/dm-integrity.c
5134
ti->error = "Journal mac mismatch";
drivers/md/dm-integrity.c
5141
ti->error = "The device is too small";
drivers/md/dm-integrity.c
5154
ti->error = "The device is too small";
drivers/md/dm-integrity.c
5184
ti->error = "Not enough provided sectors for requested mapping size";
drivers/md/dm-integrity.c
5219
ti->error = "Cannot allocate workqueue";
drivers/md/dm-integrity.c
5226
ti->error = "Recalculate can only be specified with internal_hash";
drivers/md/dm-integrity.c
5235
ti->error = "Recalculating with HMAC is disabled for security reasons - if you really need it, use the argument \"legacy_recalculate\"";
drivers/md/dm-integrity.c
5244
ti->error = "Cannot initialize dm-bufio";
drivers/md/dm-integrity.c
5251
r = create_journal(ic, &ti->error);
drivers/md/dm-integrity.c
5263
ti->error = "Could not allocate memory for bitmap";
drivers/md/dm-integrity.c
5269
ti->error = "Could not allocate memory for bitmap";
drivers/md/dm-integrity.c
5276
ti->error = "Could not allocate memory for bitmap";
drivers/md/dm-integrity.c
5303
ti->error = "Error initializing journal";
drivers/md/dm-integrity.c
5308
ti->error = "Error initializing superblock";
drivers/md/dm-io.c
133
static void dec_count(struct io *io, unsigned int region, blk_status_t error)
drivers/md/dm-io.c
135
if (error)
drivers/md/dm-io.c
146
blk_status_t error;
drivers/md/dm-io.c
156
error = bio->bi_status;
drivers/md/dm-io.c
159
dec_count(io, region, error);
drivers/md/dm-io.c
437
static void sync_io_complete(unsigned long error, void *context)
drivers/md/dm-io.c
441
sio->error_bits = error;
drivers/md/dm-kcopyd.c
520
static void complete_io(unsigned long error, void *context)
drivers/md/dm-kcopyd.c
527
if (error) {
drivers/md/dm-kcopyd.c
529
job->write_err |= error;
drivers/md/dm-linear.c
38
ti->error = "Invalid argument count";
drivers/md/dm-linear.c
44
ti->error = "Cannot allocate linear context";
drivers/md/dm-linear.c
50
ti->error = "Invalid device sector";
drivers/md/dm-linear.c
57
ti->error = "Device lookup failed";
drivers/md/dm-log-userspace-transfer.c
103
pkg->error = -msg->ack;
drivers/md/dm-log-userspace-transfer.c
109
if (pkg->error != -EAGAIN)
drivers/md/dm-log-userspace-transfer.c
116
pkg->error = -ENOSPC;
drivers/md/dm-log-userspace-transfer.c
118
pkg->error = tfr->error;
drivers/md/dm-log-userspace-transfer.c
252
r = pkg.error;
drivers/md/dm-log-userspace-transfer.c
49
int error;
drivers/md/dm-log-writes.c
232
goto error;
drivers/md/dm-log-writes.c
253
error:
drivers/md/dm-log-writes.c
384
goto error;
drivers/md/dm-log-writes.c
395
error:
drivers/md/dm-log-writes.c
518
ti->error = "Invalid argument count";
drivers/md/dm-log-writes.c
524
ti->error = "Cannot allocate context";
drivers/md/dm-log-writes.c
538
ti->error = "Device lookup failed";
drivers/md/dm-log-writes.c
546
ti->error = "Log device lookup failed";
drivers/md/dm-log-writes.c
556
ti->error = "Couldn't alloc kthread";
drivers/md/dm-log-writes.c
768
blk_status_t *error)
drivers/md/dm-mpath.c
1003
ti->error = "not enough priority group arguments";
drivers/md/dm-mpath.c
1009
ti->error = "couldn't allocate priority group";
drivers/md/dm-mpath.c
1021
r = dm_read_arg(_args, as, &pg->nr_pgpaths, &ti->error);
drivers/md/dm-mpath.c
1025
r = dm_read_arg(_args + 1, as, &nr_selector_args, &ti->error);
drivers/md/dm-mpath.c
1035
ti->error = "not enough path parameters";
drivers/md/dm-mpath.c
1071
if (dm_read_arg_group(_args, as, &hw_argc, &ti->error))
drivers/md/dm-mpath.c
1095
ti->error = "memory allocation failed";
drivers/md/dm-mpath.c
1125
r = dm_read_arg_group(_args, as, &argc, &ti->error);
drivers/md/dm-mpath.c
1148
r = dm_read_arg(_args + 1, as, &m->pg_init_retries, &ti->error);
drivers/md/dm-mpath.c
1155
r = dm_read_arg(_args + 2, as, &m->pg_init_delay_msecs, &ti->error);
drivers/md/dm-mpath.c
1170
ti->error = "Unknown 'queue_mode' requested";
drivers/md/dm-mpath.c
1177
ti->error = "Unrecognised multipath feature request";
drivers/md/dm-mpath.c
1203
ti->error = "can't allocate multipath";
drivers/md/dm-mpath.c
1219
r = dm_read_arg(_args, &as, &m->nr_priority_groups, &ti->error);
drivers/md/dm-mpath.c
1223
r = dm_read_arg(_args + 1, &as, &next_pg_num, &ti->error);
drivers/md/dm-mpath.c
1229
ti->error = "invalid initial priority group";
drivers/md/dm-mpath.c
1256
ti->error = "priority group count mismatch";
drivers/md/dm-mpath.c
1648
blk_status_t error, union map_info *map_context)
drivers/md/dm-mpath.c
1665
if (error && blk_path_error(error)) {
drivers/md/dm-mpath.c
1668
if (error == BLK_STS_RESOURCE)
drivers/md/dm-mpath.c
1678
if (error == BLK_STS_IOERR)
drivers/md/dm-mpath.c
1697
blk_status_t *error)
drivers/md/dm-mpath.c
1705
if (!*error || !blk_path_error(*error))
drivers/md/dm-mpath.c
1718
*error = BLK_STS_IOERR;
drivers/md/dm-mpath.c
855
ti->error = "unknown path selector type";
drivers/md/dm-mpath.c
859
r = dm_read_arg_group(_args, as, &ps_argc, &ti->error);
drivers/md/dm-mpath.c
868
ti->error = "path selector constructor failed";
drivers/md/dm-mpath.c
879
const char **attached_handler_name, char **error)
drivers/md/dm-mpath.c
909
*error = "error attaching hardware handler";
drivers/md/dm-mpath.c
916
*error = "unable to set hardware handler parameters";
drivers/md/dm-mpath.c
936
ti->error = "no device given";
drivers/md/dm-mpath.c
947
ti->error = "error getting device";
drivers/md/dm-mpath.c
963
ti->error = "error allocating handler name";
drivers/md/dm-mpath.c
969
r = setup_scsi_dh(p->path.dev->bdev, m, &attached_handler_name, &ti->error);
drivers/md/dm-mpath.c
975
r = ps->type->add_path(ps, &p->path, as->argc, as->argv, &ti->error);
drivers/md/dm-path-selector.h
64
int argc, char **argv, char **error);
drivers/md/dm-pcache/dm_pcache.c
105
char **error)
drivers/md/dm-pcache/dm_pcache.c
109
if (!at_least_one_arg(as, error))
drivers/md/dm-pcache/dm_pcache.c
115
*error = "Error opening cache device";
drivers/md/dm-pcache/dm_pcache.c
123
char **error)
drivers/md/dm-pcache/dm_pcache.c
127
if (!at_least_one_arg(as, error))
drivers/md/dm-pcache/dm_pcache.c
134
*error = "Error opening backing device";
drivers/md/dm-pcache/dm_pcache.c
148
char **error)
drivers/md/dm-pcache/dm_pcache.c
162
ret = dm_read_arg_group(_args, as, &argc, error);
drivers/md/dm-pcache/dm_pcache.c
175
*error = "Invalid cache mode parameter";
drivers/md/dm-pcache/dm_pcache.c
186
*error = "Invalid data crc parameter";
drivers/md/dm-pcache/dm_pcache.c
191
*error = "Unrecognised cache option requested";
drivers/md/dm-pcache/dm_pcache.c
199
static int pcache_start(struct dm_pcache *pcache, char **error)
drivers/md/dm-pcache/dm_pcache.c
205
*error = "Failed to start cache dev";
drivers/md/dm-pcache/dm_pcache.c
211
*error = "Failed to start backing dev";
drivers/md/dm-pcache/dm_pcache.c
217
*error = "Failed to start pcache";
drivers/md/dm-pcache/dm_pcache.c
239
char **error)
drivers/md/dm-pcache/dm_pcache.c
250
ret = parse_cache_dev(pcache, &as, error);
drivers/md/dm-pcache/dm_pcache.c
256
ret = parse_backing_dev(pcache, &as, error);
drivers/md/dm-pcache/dm_pcache.c
262
ret = parse_cache_opts(pcache, &as, error);
drivers/md/dm-pcache/dm_pcache.c
279
ti->error = "Don't support table loading for live md";
drivers/md/dm-pcache/dm_pcache.c
300
ret = pcache_parse_args(pcache, argc, argv, &ti->error);
drivers/md/dm-pcache/dm_pcache.c
304
ret = pcache_start(pcache, &ti->error);
drivers/md/dm-pcache/dm_pcache.c
94
static bool at_least_one_arg(struct dm_arg_set *as, char **error)
drivers/md/dm-pcache/dm_pcache.c
97
*error = "Insufficient args";
drivers/md/dm-ps-historical-service-time.c
268
int argc, char **argv, char **error)
drivers/md/dm-ps-historical-service-time.c
282
*error = "historical-service-time ps: incorrect number of arguments";
drivers/md/dm-ps-historical-service-time.c
287
*error = "historical-service-time ps: invalid repeat count";
drivers/md/dm-ps-historical-service-time.c
294
*error = "historical-service-time ps: Error allocating path context";
drivers/md/dm-ps-io-affinity.c
44
int argc, char **argv, char **error)
drivers/md/dm-ps-io-affinity.c
52
*error = "io-affinity ps: invalid number of arguments";
drivers/md/dm-ps-io-affinity.c
58
*error = "io-affinity ps: Error allocating path context";
drivers/md/dm-ps-io-affinity.c
67
*error = "io-affinity ps: Error allocating cpumask context";
drivers/md/dm-ps-io-affinity.c
74
*error = "io-affinity ps: invalid cpumask";
drivers/md/dm-ps-io-affinity.c
97
*error = "io-affinity ps: No new/valid CPU mapping found";
drivers/md/dm-ps-queue-length.c
116
int argc, char **argv, char **error)
drivers/md/dm-ps-queue-length.c
130
*error = "queue-length ps: incorrect number of arguments";
drivers/md/dm-ps-queue-length.c
135
*error = "queue-length ps: invalid repeat count";
drivers/md/dm-ps-queue-length.c
147
*error = "queue-length ps: Error allocating path information";
drivers/md/dm-ps-round-robin.c
122
int argc, char **argv, char **error)
drivers/md/dm-ps-round-robin.c
131
*error = "round-robin ps: incorrect number of arguments";
drivers/md/dm-ps-round-robin.c
137
*error = "round-robin ps: invalid repeat count";
drivers/md/dm-ps-round-robin.c
149
*error = "round-robin ps: Error allocating path context";
drivers/md/dm-ps-service-time.c
113
int argc, char **argv, char **error)
drivers/md/dm-ps-service-time.c
134
*error = "service-time ps: incorrect number of arguments";
drivers/md/dm-ps-service-time.c
139
*error = "service-time ps: invalid repeat count";
drivers/md/dm-ps-service-time.c
151
*error = "service-time ps: invalid relative_throughput value";
drivers/md/dm-ps-service-time.c
158
*error = "service-time ps: Error allocating path context";
drivers/md/dm-raid.c
1146
rs->ti->error = "Bad numerical argument given for chunk_size";
drivers/md/dm-raid.c
1159
rs->ti->error = "Chunk size must be a power of 2";
drivers/md/dm-raid.c
1162
rs->ti->error = "Chunk size value is too small";
drivers/md/dm-raid.c
1196
rs->ti->error = "Not enough raid parameters given";
drivers/md/dm-raid.c
1202
rs->ti->error = "Only one 'nosync' argument allowed";
drivers/md/dm-raid.c
1209
rs->ti->error = "Only one 'sync' argument allowed";
drivers/md/dm-raid.c
1216
rs->ti->error = "Only one 'raid10_use_new_sets' argument allowed";
drivers/md/dm-raid.c
1225
rs->ti->error = "Wrong number of raid parameters given";
drivers/md/dm-raid.c
1235
rs->ti->error = "Only one 'raid10_format' argument pair allowed";
drivers/md/dm-raid.c
1239
rs->ti->error = "'raid10_format' is an invalid parameter for this RAID type";
drivers/md/dm-raid.c
1244
rs->ti->error = "Invalid 'raid10_format' value given";
drivers/md/dm-raid.c
1256
rs->ti->error = "Only one raid4/5/6 set journaling device allowed";
drivers/md/dm-raid.c
1260
rs->ti->error = "'journal_dev' is an invalid parameter for this RAID type";
drivers/md/dm-raid.c
1266
rs->ti->error = "raid4/5/6 journal device lookup failure";
drivers/md/dm-raid.c
1275
rs->ti->error = "No space for raid4/5/6 journal";
drivers/md/dm-raid.c
1288
rs->ti->error = "raid4/5/6 'journal_mode' is invalid without 'journal_dev'";
drivers/md/dm-raid.c
1292
rs->ti->error = "Only one raid4/5/6 'journal_mode' argument allowed";
drivers/md/dm-raid.c
1297
rs->ti->error = "Invalid 'journal_mode' argument";
drivers/md/dm-raid.c
1308
rs->ti->error = "Bad numerical argument given in raid params";
drivers/md/dm-raid.c
1319
rs->ti->error = "Invalid rebuild index given";
drivers/md/dm-raid.c
1324
rs->ti->error = "rebuild for this index already given";
drivers/md/dm-raid.c
1335
rs->ti->error = "write_mostly option is only valid for RAID1";
drivers/md/dm-raid.c
1340
rs->ti->error = "Invalid write_mostly index given";
drivers/md/dm-raid.c
1349
rs->ti->error = "max_write_behind option is only valid for RAID1";
drivers/md/dm-raid.c
1354
rs->ti->error = "Only one max_write_behind argument pair allowed";
drivers/md/dm-raid.c
1359
rs->ti->error = "Max write-behind limit out of range";
drivers/md/dm-raid.c
1366
rs->ti->error = "Only one daemon_sleep argument pair allowed";
drivers/md/dm-raid.c
1370
rs->ti->error = "daemon sleep period out of range";
drivers/md/dm-raid.c
1377
rs->ti->error = "Only one data_offset argument pair allowed";
drivers/md/dm-raid.c
1383
rs->ti->error = "Bogus data_offset value";
drivers/md/dm-raid.c
1390
rs->ti->error = "Only one delta_disks argument pair allowed";
drivers/md/dm-raid.c
1395
rs->ti->error = "Too many delta_disk requested";
drivers/md/dm-raid.c
1402
rs->ti->error = "Only one stripe_cache argument pair allowed";
drivers/md/dm-raid.c
1407
rs->ti->error = "Inappropriate argument: stripe_cache";
drivers/md/dm-raid.c
1412
rs->ti->error = "Bogus stripe cache entries value";
drivers/md/dm-raid.c
1418
rs->ti->error = "Only one min_recovery_rate argument pair allowed";
drivers/md/dm-raid.c
1423
rs->ti->error = "min_recovery_rate out of range";
drivers/md/dm-raid.c
1429
rs->ti->error = "Only one max_recovery_rate argument pair allowed";
drivers/md/dm-raid.c
1434
rs->ti->error = "max_recovery_rate out of range";
drivers/md/dm-raid.c
1440
rs->ti->error = "Only one region_size argument pair allowed";
drivers/md/dm-raid.c
1448
rs->ti->error = "Only one raid10_copies argument pair allowed";
drivers/md/dm-raid.c
1453
rs->ti->error = "Bad value for 'raid10_copies'";
drivers/md/dm-raid.c
1460
rs->ti->error = "Unable to parse RAID parameter";
drivers/md/dm-raid.c
1467
rs->ti->error = "sync and nosync are mutually exclusive";
drivers/md/dm-raid.c
1474
rs->ti->error = "sync/nosync and rebuild are mutually exclusive";
drivers/md/dm-raid.c
1479
rs->ti->error = "Can't set all raid1 devices to write_mostly";
drivers/md/dm-raid.c
1485
rs->ti->error = "Bogus recovery rates";
drivers/md/dm-raid.c
1502
rs->ti->error = "Not enough devices to satisfy specification";
drivers/md/dm-raid.c
1508
rs->ti->error = "Error getting raid10 format";
drivers/md/dm-raid.c
1514
rs->ti->error = "Failed to recognize new raid10 layout";
drivers/md/dm-raid.c
1521
rs->ti->error = "RAID10 format 'near' and 'raid10_use_near_sets' are incompatible";
drivers/md/dm-raid.c
1546
rs->ti->error = "Inappropriate raid level; cannot change stripe_cache size";
drivers/md/dm-raid.c
1558
rs->ti->error = "Cannot change stripe_cache size on inactive RAID set";
drivers/md/dm-raid.c
1566
rs->ti->error = "Failed to set raid4/5/6 stripe cache size";
drivers/md/dm-raid.c
1617
rs->ti->error = "Component device(s) too small";
drivers/md/dm-raid.c
1664
rs->ti->error = "Bogus raid10 data copies or delta disks";
drivers/md/dm-raid.c
1689
rs->ti->error = "Target length not divisible by number of data devices";
drivers/md/dm-raid.c
1749
rs->ti->error = "Can't takeover degraded raid set";
drivers/md/dm-raid.c
1754
rs->ti->error = "Can't takeover reshaping raid set";
drivers/md/dm-raid.c
1893
rs->ti->error = "takeover not possible";
drivers/md/dm-raid.c
2046
rs->ti->error = "Reshape not supported";
drivers/md/dm-raid.c
2048
rs->ti->error = "Can't reshape degraded raid set";
drivers/md/dm-raid.c
2050
rs->ti->error = "Convert request on recovering raid set prohibited";
drivers/md/dm-raid.c
2052
rs->ti->error = "raid set already reshaping!";
drivers/md/dm-raid.c
2054
rs->ti->error = "Reshaping only supported for raid1/4/5/6/10";
drivers/md/dm-raid.c
2430
rs->ti->error =
drivers/md/dm-raid.c
2440
rs->ti->error = "Cannot change device positions in raid set";
drivers/md/dm-raid.c
2478
rs->ti->error = "Unable to assemble array: Unknown flag(s) in compatible feature flags";
drivers/md/dm-raid.c
2483
rs->ti->error = "Unable to assemble array: No incompatible feature flags supported yet";
drivers/md/dm-raid.c
2605
rs->ti->error = "Unable to assemble array: Invalid superblocks";
drivers/md/dm-raid.c
2610
rs->ti->error = "Insufficient redundancy to activate array";
drivers/md/dm-raid.c
2699
rs->ti->error = data_offset ? "No space for forward reshape" :
drivers/md/dm-raid.c
2801
rs->ti->error = "Can't reshape raid10 mirror groups";
drivers/md/dm-raid.c
2828
rs->ti->error = "Called with bogus raid type";
drivers/md/dm-raid.c
3029
ti->error = "No arguments";
drivers/md/dm-raid.c
3035
ti->error = "Unrecognised raid_type";
drivers/md/dm-raid.c
3040
if (dm_read_arg_group(_args, &as, &num_raid_params, &ti->error))
drivers/md/dm-raid.c
3047
if (dm_read_arg(_args + 1, &as_nrd, &num_raid_devs, &ti->error))
drivers/md/dm-raid.c
3051
ti->error = "Invalid number of supplied raid devices";
drivers/md/dm-raid.c
3098
ti->error = "Invalid rdev size";
drivers/md/dm-raid.c
3129
ti->error = "'nosync' not allowed for new raid6 set";
drivers/md/dm-raid.c
3142
ti->error = "Can't resize a reshaping raid set";
drivers/md/dm-raid.c
3149
ti->error = "Can't takeover a reshaping raid set";
drivers/md/dm-raid.c
3156
ti->error = "Can't takeover a journaled raid4/5/6 set";
drivers/md/dm-raid.c
3192
ti->error = "Can't reshape a journaled raid4/5/6 set";
drivers/md/dm-raid.c
3264
ti->error = "Failed to run raid array";
drivers/md/dm-raid.c
3271
ti->error = "Failed to start raid array";
drivers/md/dm-raid.c
3279
ti->error = "Failed to set raid4/5/6 journal mode";
drivers/md/dm-raid.c
3305
ti->error = "Reshape check failed";
drivers/md/dm-raid.c
4010
rs->ti->error = "pers->check_reshape() failed";
drivers/md/dm-raid.c
4021
rs->ti->error = "pers->start_reshape() failed";
drivers/md/dm-raid.c
516
rs->ti->error = "Invalid flags combination";
drivers/md/dm-raid.c
743
ti->error = "Insufficient number of devices";
drivers/md/dm-raid.c
749
ti->error = "Cannot allocate raid context";
drivers/md/dm-raid.c
755
ti->error = "Cannot initialize raid context";
drivers/md/dm-raid.c
861
rs->ti->error = "RAID metadata device lookup failure";
drivers/md/dm-raid.c
867
rs->ti->error = "Failed to allocate superblock page";
drivers/md/dm-raid.c
879
rs->ti->error = "Drive designated for rebuild not specified";
drivers/md/dm-raid.c
884
rs->ti->error = "No data device supplied with metadata device";
drivers/md/dm-raid.c
894
rs->ti->error = "RAID device lookup failure";
drivers/md/dm-raid.c
927
rs->ti->error = "Unable to rebuild drive while array is not in-sync";
drivers/md/dm-raid.c
969
rs->ti->error = "Supplied region size is too large";
drivers/md/dm-raid.c
976
rs->ti->error = "Supplied region size is too small";
drivers/md/dm-raid.c
981
rs->ti->error = "Region size is not a power of 2";
drivers/md/dm-raid.c
986
rs->ti->error = "Region size is smaller than the chunk size";
drivers/md/dm-raid1.c
1006
ti->error = "Error creating mirror dirty log";
drivers/md/dm-raid1.c
1027
ti->error = "Invalid number of features";
drivers/md/dm-raid1.c
1036
ti->error = "Not enough arguments to support feature count";
drivers/md/dm-raid1.c
1046
ti->error = "Unrecognised feature requested";
drivers/md/dm-raid1.c
1055
ti->error = "keep_log feature requires the handle_errors feature";
drivers/md/dm-raid1.c
1091
ti->error = "Invalid number of mirrors";
drivers/md/dm-raid1.c
1099
ti->error = "Too few mirror arguments";
drivers/md/dm-raid1.c
1160
ti->error = "Too many mirror arguments";
drivers/md/dm-raid1.c
1246
blk_status_t *error)
drivers/md/dm-raid1.c
1265
if (*error == BLK_STS_NOTSUPP)
drivers/md/dm-raid1.c
1271
if (unlikely(*error)) {
drivers/md/dm-raid1.c
514
static void read_callback(unsigned long error, void *context)
drivers/md/dm-raid1.c
522
if (likely(!error)) {
drivers/md/dm-raid1.c
603
static void write_callback(unsigned long error, void *context)
drivers/md/dm-raid1.c
620
if (likely(!error)) {
drivers/md/dm-raid1.c
636
if (test_bit(i, &error))
drivers/md/dm-raid1.c
896
ti->error = "Cannot allocate mirror context";
drivers/md/dm-raid1.c
917
ti->error = "Error creating dm_io client";
drivers/md/dm-raid1.c
927
ti->error = "Error creating dirty region hash";
drivers/md/dm-raid1.c
956
ti->error = "Invalid offset";
drivers/md/dm-raid1.c
963
ti->error = "Device lookup failure";
drivers/md/dm-raid1.c
987
ti->error = "Insufficient mirror log arguments";
drivers/md/dm-raid1.c
992
ti->error = "Invalid mirror log argument count";
drivers/md/dm-raid1.c
999
ti->error = "Insufficient mirror log arguments";
drivers/md/dm-rq.c
102
tio->error = error;
drivers/md/dm-rq.c
164
static void dm_end_request(struct request *clone, blk_status_t error)
drivers/md/dm-rq.c
174
blk_mq_end_request(rq, error);
drivers/md/dm-rq.c
211
static void dm_done(struct request *clone, blk_status_t error, bool mapped)
drivers/md/dm-rq.c
221
r = rq_end_io(tio->ti, clone, error, &tio->info);
drivers/md/dm-rq.c
224
if (unlikely(error == BLK_STS_TARGET)) {
drivers/md/dm-rq.c
23
blk_status_t error;
drivers/md/dm-rq.c
236
dm_end_request(clone, error);
drivers/md/dm-rq.c
268
blk_mq_end_request(rq, tio->error);
drivers/md/dm-rq.c
276
dm_done(clone, tio->error, mapped);
drivers/md/dm-rq.c
283
static void dm_complete_request(struct request *rq, blk_status_t error)
drivers/md/dm-rq.c
287
tio->error = error;
drivers/md/dm-rq.c
297
static void dm_kill_unmapped_request(struct request *rq, blk_status_t error)
drivers/md/dm-rq.c
300
dm_complete_request(rq, error);
drivers/md/dm-rq.c
304
blk_status_t error,
drivers/md/dm-rq.c
309
dm_complete_request(tio->orig, error);
drivers/md/dm-rq.c
352
tio->error = 0;
drivers/md/dm-rq.c
84
blk_status_t error = clone->bi_status;
drivers/md/dm-rq.c
89
if (tio->error)
drivers/md/dm-rq.c
96
else if (error) {
drivers/md/dm-snap.c
1193
r = dm_read_arg_group(_args, as, &argc, &ti->error);
drivers/md/dm-snap.c
1208
ti->error = "Unrecognised feature requested";
drivers/md/dm-snap.c
1219
ti->error = "discard_passdown_origin feature depends on discard_zeroes_cow";
drivers/md/dm-snap.c
1241
ti->error = "requires 4 or more arguments";
drivers/md/dm-snap.c
1253
ti->error = "Cannot allocate private snapshot structure";
drivers/md/dm-snap.c
1271
ti->error = "Cannot get origin device";
drivers/md/dm-snap.c
1281
ti->error = "Cannot get COW device";
drivers/md/dm-snap.c
1285
ti->error = "COW device cannot be the same as origin device";
drivers/md/dm-snap.c
1292
ti->error = "Couldn't create exception store";
drivers/md/dm-snap.c
1320
ti->error = "Unable to allocate hash table space";
drivers/md/dm-snap.c
1330
ti->error = "Could not create kcopyd client";
drivers/md/dm-snap.c
1336
ti->error = "Could not allocate mempool for pending exceptions";
drivers/md/dm-snap.c
1355
ti->error = "Snapshot origin struct allocation failed";
drivers/md/dm-snap.c
1376
ti->error = "Failed to read snapshot metadata";
drivers/md/dm-snap.c
1384
ti->error = "Chunk size not set";
drivers/md/dm-snap.c
1643
int error = 0;
drivers/md/dm-snap.c
1650
error = 1;
drivers/md/dm-snap.c
1659
error = 1;
drivers/md/dm-snap.c
1671
error = 1;
drivers/md/dm-snap.c
1707
if (error) {
drivers/md/dm-snap.c
2174
blk_status_t *error)
drivers/md/dm-snap.c
2621
ti->error = "origin: incorrect number of arguments";
drivers/md/dm-snap.c
2627
ti->error = "Cannot allocate private origin structure";
drivers/md/dm-snap.c
2634
ti->error = "Cannot get target device";
drivers/md/dm-snap.c
500
snap->ti->error = "Snapshot cow pairing for exception table handover failed";
drivers/md/dm-snap.c
521
snap->ti->error = "A snapshot is already merging.";
drivers/md/dm-snap.c
527
snap->ti->error = "Snapshot exception store does not support snapshot-merge.";
drivers/md/dm-stripe.c
103
ti->error = "Invalid stripe count";
drivers/md/dm-stripe.c
108
ti->error = "Invalid chunk_size";
drivers/md/dm-stripe.c
114
ti->error = "Target length not divisible by number of stripes";
drivers/md/dm-stripe.c
120
ti->error = "Target length not divisible by chunk size";
drivers/md/dm-stripe.c
128
ti->error = "Not enough destinations specified";
drivers/md/dm-stripe.c
134
ti->error = "Memory allocation for striped context failed";
drivers/md/dm-stripe.c
176
ti->error = "Couldn't parse stripe destination";
drivers/md/dm-stripe.c
405
blk_status_t *error)
drivers/md/dm-stripe.c
411
if (!*error)
drivers/md/dm-stripe.c
417
if (*error == BLK_STS_NOTSUPP)
drivers/md/dm-stripe.c
98
ti->error = "Not enough arguments";
drivers/md/dm-switch.c
103
ti->error = "Region table too large";
drivers/md/dm-switch.c
113
ti->error = "Region table too large";
drivers/md/dm-switch.c
120
ti->error = "Cannot allocate region table";
drivers/md/dm-switch.c
214
ti->error = "Device lookup failed";
drivers/md/dm-switch.c
219
ti->error = "Invalid device starting offset";
drivers/md/dm-switch.c
269
r = dm_read_arg(_args, &as, &nr_paths, &ti->error);
drivers/md/dm-switch.c
273
r = dm_read_arg(_args + 1, &as, ®ion_size, &ti->error);
drivers/md/dm-switch.c
277
r = dm_read_arg_group(_args + 2, &as, &nr_optional_args, &ti->error);
drivers/md/dm-switch.c
283
ti->error = "Incorrect number of path arguments";
drivers/md/dm-switch.c
289
ti->error = "Cannot allocate redirection context";
drivers/md/dm-switch.c
295
goto error;
drivers/md/dm-switch.c
300
goto error;
drivers/md/dm-switch.c
305
goto error;
drivers/md/dm-switch.c
314
error:
drivers/md/dm-table.c
705
ti->error = "singleton target type must appear alone in table";
drivers/md/dm-table.c
713
ti->error = "target type may not be included in a read-only table";
drivers/md/dm-table.c
719
ti->error = "immutable target type cannot be mixed with other target types";
drivers/md/dm-table.c
724
ti->error = "immutable target type cannot be mixed with other target types";
drivers/md/dm-table.c
733
ti->error = "Unknown error";
drivers/md/dm-table.c
739
ti->error = "Gap in table";
drivers/md/dm-table.c
745
ti->error = "couldn't split parameters";
drivers/md/dm-table.c
769
DMERR("%s: %s: %s (%pe)", dm_device_name(t->md), type, ti->error, ERR_PTR(r));
drivers/md/dm-table.c
778
unsigned int *value, char **error, unsigned int grouped)
drivers/md/dm-table.c
788
*error = arg->error;
drivers/md/dm-table.c
796
unsigned int *value, char **error)
drivers/md/dm-table.c
798
return validate_next_arg(arg, arg_set, value, error, 0);
drivers/md/dm-table.c
803
unsigned int *value, char **error)
drivers/md/dm-table.c
805
return validate_next_arg(arg, arg_set, value, error, 1);
drivers/md/dm-target.c
133
tt->error = "Cannot allocate io_err context";
drivers/md/dm-target.c
140
tt->error = "Invalid device sector";
drivers/md/dm-target.c
147
tt->error = "Device lookup failed";
drivers/md/dm-thin.c
1616
blk_status_t error = should_error_unserviceable_bio(pool);
drivers/md/dm-thin.c
1618
if (error) {
drivers/md/dm-thin.c
1619
bio->bi_status = error;
drivers/md/dm-thin.c
1629
blk_status_t error;
drivers/md/dm-thin.c
1631
error = should_error_unserviceable_bio(pool);
drivers/md/dm-thin.c
1632
if (error) {
drivers/md/dm-thin.c
1633
cell_error_with_code(pool, cell, error);
drivers/md/dm-thin.c
2938
int read_only, char **error)
drivers/md/dm-thin.c
2948
*error = "Error creating metadata object";
drivers/md/dm-thin.c
2954
*error = "Error allocating memory for pool";
drivers/md/dm-thin.c
2969
*error = "Error creating pool's bio prison";
drivers/md/dm-thin.c
2977
*error = "Error creating pool's kcopyd client";
drivers/md/dm-thin.c
2988
*error = "Error creating pool's workqueue";
drivers/md/dm-thin.c
3010
*error = "Error creating pool's shared read deferred set";
drivers/md/dm-thin.c
3017
*error = "Error creating pool's all io deferred set";
drivers/md/dm-thin.c
3026
*error = "Error creating pool's mapping mempool";
drivers/md/dm-thin.c
3035
*error = "Error allocating cell sort array";
drivers/md/dm-thin.c
3088
char **error, int *created)
drivers/md/dm-thin.c
3094
*error = "metadata device already in use by a pool";
drivers/md/dm-thin.c
3098
*error = "data device already in use by a pool";
drivers/md/dm-thin.c
3107
*error = "different pool cannot replace a pool";
drivers/md/dm-thin.c
3113
pool = pool_create(pool_md, metadata_dev, data_dev, block_size, read_only, error);
drivers/md/dm-thin.c
3158
r = dm_read_arg_group(_args, as, &argc, &ti->error);
drivers/md/dm-thin.c
3182
ti->error = "Unrecognised pool feature requested";
drivers/md/dm-thin.c
3302
ti->error = "Invalid argument count";
drivers/md/dm-thin.c
3312
ti->error = "Error setting metadata or data device";
drivers/md/dm-thin.c
3331
ti->error = "Error opening metadata block device";
drivers/md/dm-thin.c
3338
ti->error = "Error getting data device";
drivers/md/dm-thin.c
3346
ti->error = "Invalid block size";
drivers/md/dm-thin.c
3352
ti->error = "Invalid low water mark";
drivers/md/dm-thin.c
3364
block_size, pf.mode == PM_READ_ONLY, &ti->error, &pool_created);
drivers/md/dm-thin.c
3377
ti->error = "Discard support cannot be disabled once enabled";
drivers/md/dm-thin.c
3413
ti->error = "Error registering metadata threshold";
drivers/md/dm-thin.c
4191
ti->error = "Invalid argument count";
drivers/md/dm-thin.c
4198
ti->error = "Out of memory";
drivers/md/dm-thin.c
4211
ti->error = "Error setting origin device";
drivers/md/dm-thin.c
4218
ti->error = "Error opening origin device";
drivers/md/dm-thin.c
4226
ti->error = "Error opening pool device";
drivers/md/dm-thin.c
4232
ti->error = "Invalid device id";
drivers/md/dm-thin.c
4239
ti->error = "Couldn't get pool mapped device";
drivers/md/dm-thin.c
4246
ti->error = "Couldn't find pool object";
drivers/md/dm-thin.c
4253
ti->error = "Couldn't open thin device, Pool is in fail mode";
drivers/md/dm-thin.c
4260
ti->error = "Couldn't open thin internal device";
drivers/md/dm-thin.c
4287
ti->error = "Unable to activate thin device while pool is suspended";
drivers/md/dm-thin.c
595
static void error_bio_list(struct bio_list *bios, blk_status_t error)
drivers/md/dm-thin.c
600
bio->bi_status = error;
drivers/md/dm-thin.c
606
blk_status_t error)
drivers/md/dm-thin.c
616
error_bio_list(&bios, error);
drivers/md/dm-thin.c
650
static void error_retry_list_with_code(struct pool *pool, blk_status_t error)
drivers/md/dm-thin.c
656
error_thin_bio_list(tc, &tc->retry_on_resume_list, error);
drivers/md/dm-unstripe.c
47
ti->error = "Invalid number of arguments";
drivers/md/dm-unstripe.c
53
ti->error = "Memory allocation for unstriped context failed";
drivers/md/dm-unstripe.c
58
ti->error = "Invalid stripe count";
drivers/md/dm-unstripe.c
63
ti->error = "Invalid chunk_size";
drivers/md/dm-unstripe.c
68
ti->error = "Invalid stripe number";
drivers/md/dm-unstripe.c
73
ti->error = "Please provide stripe between [0, # of stripes]";
drivers/md/dm-unstripe.c
78
ti->error = "Couldn't get striped device";
drivers/md/dm-unstripe.c
83
ti->error = "Invalid striped device offset";
drivers/md/dm-unstripe.c
94
ti->error = "Target length not divisible by chunk size";
drivers/md/dm-unstripe.c
99
ti->error = "Failed to set max io len";
drivers/md/dm-vdo/data-vio.c
277
int error = vdo_status_to_errno(data_vio->vio.completion.result);
drivers/md/dm-vdo/data-vio.c
291
bio->bi_status = errno_to_blk_status(error);
drivers/md/dm-vdo/dm-vdo-target.c
1471
ti->error = "Cannot share storage device with already-running VDO";
drivers/md/dm-vdo/dm-vdo-target.c
1475
result = vdo_make(instance, config, &ti->error, &vdo);
drivers/md/dm-vdo/dm-vdo-target.c
1478
result, ti->error);
drivers/md/dm-vdo/dm-vdo-target.c
1486
ti->error = ((result == VDO_INVALID_ADMIN_STATE) ?
drivers/md/dm-vdo/dm-vdo-target.c
1490
result, ti->error);
drivers/md/dm-vdo/dm-vdo-target.c
1600
vdo_log_error_strerror(result, "parsing failed: %s", ti->error);
drivers/md/dm-vdo/dm-vdo-target.c
1822
&ti->error);
drivers/md/dm-vdo/dm-vdo-target.c
1837
ti->error = "Device vdo_prepare_to_grow_logical failed";
drivers/md/dm-vdo/dm-vdo-target.c
1856
ti->error = "Device vdo_prepare_to_grow_physical failed (specified physical size too big based on formatted slab size)";
drivers/md/dm-vdo/dm-vdo-target.c
1858
ti->error = "Device vdo_prepare_to_grow_physical failed";
drivers/md/dm-vdo/dm-vdo-target.c
714
char **error_ptr = &ti->error;
drivers/md/dm-vdo/errors.c
216
int uds_status_to_errno(int error)
drivers/md/dm-vdo/errors.c
222
if (likely(error <= 0))
drivers/md/dm-vdo/errors.c
223
return error;
drivers/md/dm-vdo/errors.c
225
if (error < 1024) {
drivers/md/dm-vdo/errors.c
227
return -error;
drivers/md/dm-vdo/errors.c
231
switch (error) {
drivers/md/dm-vdo/errors.c
252
__func__, error,
drivers/md/dm-vdo/errors.c
253
uds_string_error_name(error, error_name,
drivers/md/dm-vdo/errors.c
255
uds_string_error(error, error_message,
drivers/md/dm-vdo/errors.h
67
int uds_status_to_errno(int error);
drivers/md/dm-vdo/indexer/io-factory.c
299
.error = UDS_SUCCESS,
drivers/md/dm-vdo/indexer/io-factory.c
318
writer->error = UDS_OUT_OF_RANGE;
drivers/md/dm-vdo/indexer/io-factory.c
324
writer->error = -PTR_ERR(data);
drivers/md/dm-vdo/indexer/io-factory.c
325
return writer->error;
drivers/md/dm-vdo/indexer/io-factory.c
339
return writer->error;
drivers/md/dm-vdo/indexer/io-factory.c
341
if (writer->error == UDS_SUCCESS) {
drivers/md/dm-vdo/indexer/io-factory.c
355
return writer->error;
drivers/md/dm-vdo/indexer/io-factory.c
382
int result = writer->error;
drivers/md/dm-vdo/indexer/io-factory.c
411
if (writer->error != UDS_SUCCESS)
drivers/md/dm-vdo/indexer/io-factory.c
412
return writer->error;
drivers/md/dm-vdo/indexer/io-factory.c
54
int error;
drivers/md/dm-vdo/status-codes.c
70
int vdo_status_to_errno(int error)
drivers/md/dm-vdo/status-codes.c
76
if (likely(error <= 0))
drivers/md/dm-vdo/status-codes.c
77
return error;
drivers/md/dm-vdo/status-codes.c
78
if (error < 1024)
drivers/md/dm-vdo/status-codes.c
79
return -error;
drivers/md/dm-vdo/status-codes.c
82
switch (error) {
drivers/md/dm-vdo/status-codes.c
89
__func__, error,
drivers/md/dm-vdo/status-codes.c
90
uds_string_error_name(error, error_name, sizeof(error_name)),
drivers/md/dm-vdo/status-codes.c
91
uds_string_error(error, error_message, sizeof(error_message)));
drivers/md/dm-vdo/status-codes.h
84
int vdo_status_to_errno(int error);
drivers/md/dm-verity-fec.c
128
goto error;
drivers/md/dm-verity-fec.c
160
error:
drivers/md/dm-verity-fec.c
550
ti->error = "FEC feature arguments require a value";
drivers/md/dm-verity-fec.c
559
ti->error = "FEC device already specified";
drivers/md/dm-verity-fec.c
564
ti->error = "FEC device lookup failed";
drivers/md/dm-verity-fec.c
572
ti->error = "Invalid " DM_VERITY_OPT_FEC_BLOCKS;
drivers/md/dm-verity-fec.c
581
ti->error = "Invalid " DM_VERITY_OPT_FEC_START;
drivers/md/dm-verity-fec.c
590
ti->error = "Invalid " DM_VERITY_OPT_FEC_ROOTS;
drivers/md/dm-verity-fec.c
596
ti->error = "Unrecognized verity FEC feature request";
drivers/md/dm-verity-fec.c
612
v->ti->error = "Cannot allocate FEC structure";
drivers/md/dm-verity-fec.c
658
ti->error = "Block sizes must match to use FEC";
drivers/md/dm-verity-fec.c
663
ti->error = "Missing " DM_VERITY_OPT_FEC_ROOTS;
drivers/md/dm-verity-fec.c
669
ti->error = "Missing " DM_VERITY_OPT_FEC_BLOCKS;
drivers/md/dm-verity-fec.c
682
ti->error = "Invalid " DM_VERITY_OPT_FEC_BLOCKS;
drivers/md/dm-verity-fec.c
692
ti->error = "Hash device is too small for "
drivers/md/dm-verity-fec.c
703
ti->error = "Cannot initialize FEC bufio client";
drivers/md/dm-verity-fec.c
711
ti->error = "FEC device is too small";
drivers/md/dm-verity-fec.c
719
ti->error = "Cannot initialize FEC data bufio client";
drivers/md/dm-verity-fec.c
724
ti->error = "Data device is too small";
drivers/md/dm-verity-fec.c
733
ti->error = "Cannot allocate FEC IO pool";
drivers/md/dm-verity-fec.c
741
ti->error = "Cannot allocate RS pool";
drivers/md/dm-verity-fec.c
749
ti->error = "Cannot create FEC buffer cache";
drivers/md/dm-verity-fec.c
757
ti->error = "Cannot allocate FEC buffer prealloc pool";
drivers/md/dm-verity-fec.c
765
ti->error = "Cannot allocate FEC output pool";
drivers/md/dm-verity-target.c
1118
ti->error = "device too large to use check_at_most_once";
drivers/md/dm-verity-target.c
1126
ti->error = "failed to allocate bitset for check_at_most_once";
drivers/md/dm-verity-target.c
1221
r = dm_read_arg_group(_args, as, &argc, &ti->error);
drivers/md/dm-verity-target.c
1237
ti->error = "Conflicting error handling parameters";
drivers/md/dm-verity-target.c
1247
ti->error = "Conflicting error handling parameters";
drivers/md/dm-verity-target.c
1257
ti->error = "Cannot allocate zero digest";
drivers/md/dm-verity-target.c
1304
ti->error = "Unrecognized verity feature request";
drivers/md/dm-verity-target.c
1318
ti->error = "Cannot allocate algorithm name";
drivers/md/dm-verity-target.c
1324
ti->error = "Cannot initialize hash function";
drivers/md/dm-verity-target.c
1330
ti->error = "Digest size too big";
drivers/md/dm-verity-target.c
1360
ti->error = "Cannot allocate salt";
drivers/md/dm-verity-target.c
1365
ti->error = "Invalid salt";
drivers/md/dm-verity-target.c
1374
ti->error = "Cannot allocate initial hash state";
drivers/md/dm-verity-target.c
1391
ti->error = "Cannot allocate initial hash state";
drivers/md/dm-verity-target.c
1399
ti->error = "Cannot set up initial hash state";
drivers/md/dm-verity-target.c
1435
ti->error = "Cannot allocate verity structure";
drivers/md/dm-verity-target.c
1446
ti->error = "Device must be readonly";
drivers/md/dm-verity-target.c
1452
ti->error = "Not enough arguments";
drivers/md/dm-verity-target.c
1468
ti->error = "Invalid version";
drivers/md/dm-verity-target.c
1476
ti->error = "Data device lookup failed";
drivers/md/dm-verity-target.c
1482
ti->error = "Hash device lookup failed";
drivers/md/dm-verity-target.c
1490
ti->error = "Invalid data device block size";
drivers/md/dm-verity-target.c
1500
ti->error = "Invalid hash device block size";
drivers/md/dm-verity-target.c
1509
ti->error = "Invalid data blocks";
drivers/md/dm-verity-target.c
1516
ti->error = "Data device is too small";
drivers/md/dm-verity-target.c
1524
ti->error = "Invalid hash start";
drivers/md/dm-verity-target.c
1536
ti->error = "Cannot allocate root digest";
drivers/md/dm-verity-target.c
1542
ti->error = "Invalid root digest";
drivers/md/dm-verity-target.c
1570
ti->error = "Root hash verification failed";
drivers/md/dm-verity-target.c
1576
ti->error = "Cannot allocate root digest signature";
drivers/md/dm-verity-target.c
1591
ti->error = "Too many tree levels";
drivers/md/dm-verity-target.c
1604
ti->error = "Hash device offset overflow";
drivers/md/dm-verity-target.c
1614
ti->error = "Cannot allocate mempool";
drivers/md/dm-verity-target.c
1622
ti->error = "Cannot allocate dm io";
drivers/md/dm-verity-target.c
1631
ti->error = "Cannot initialize dm-bufio";
drivers/md/dm-verity-target.c
1638
ti->error = "Hash device is too small";
drivers/md/dm-verity-target.c
1656
ti->error = "Cannot allocate workqueue";
drivers/md/dm-verity-target.c
548
goto error;
drivers/md/dm-verity-target.c
560
goto error;
drivers/md/dm-verity-target.c
579
goto error;
drivers/md/dm-verity-target.c
586
goto error;
drivers/md/dm-verity-target.c
591
error:
drivers/md/dm-verity-verify-sig.c
105
ti->error = DM_VERITY_VERIFY_ERR("Could not allocate memory for signature key");
drivers/md/dm-verity-verify-sig.c
85
ti->error = DM_VERITY_VERIFY_ERR("root_hash_sig_key_desc already specified");
drivers/md/dm-verity-verify-sig.c
90
ti->error = DM_VERITY_VERIFY_ERR("Signature key not specified");
drivers/md/dm-verity-verify-sig.c
99
ti->error = DM_VERITY_VERIFY_ERR("Invalid key specified");
drivers/md/dm-writecache.c
131
int error;
drivers/md/dm-writecache.c
1672
c->error = likely(!(read_err | write_err)) ? 0 : -EIO;
drivers/md/dm-writecache.c
1729
if (unlikely(c->error))
drivers/md/dm-writecache.c
1730
writecache_error(wc, c->error, "copy error");
drivers/md/dm-writecache.c
2250
ti->error = "Cannot allocate writecache structure";
drivers/md/dm-writecache.c
2272
ti->error = "Unable to allocate dm-io client";
drivers/md/dm-writecache.c
2281
ti->error = "Could not allocate writeback workqueue";
drivers/md/dm-writecache.c
2295
ti->error = "Couldn't spawn endio thread";
drivers/md/dm-writecache.c
2319
ti->error = "Persistent memory or DAX not supported on this system";
drivers/md/dm-writecache.c
2331
ti->error = "Could not allocate bio set";
drivers/md/dm-writecache.c
2338
ti->error = "Could not allocate mempool";
drivers/md/dm-writecache.c
2351
ti->error = "Origin data device lookup failed";
drivers/md/dm-writecache.c
236
int error;
drivers/md/dm-writecache.c
2364
ti->error = "Cache data device lookup failed";
drivers/md/dm-writecache.c
2379
ti->error = "Invalid block size";
drivers/md/dm-writecache.c
2385
ti->error = "Block size is smaller than device logical block size";
drivers/md/dm-writecache.c
2397
r = dm_read_arg_group(_args, &as, &opt_params, &ti->error);
drivers/md/dm-writecache.c
2495
ti->error = "Invalid optional argument";
drivers/md/dm-writecache.c
2502
ti->error = "High watermark must be greater than or equal to low watermark";
drivers/md/dm-writecache.c
2509
ti->error = "Asynchronous persistent memory not supported as pmem cache";
drivers/md/dm-writecache.c
2515
ti->error = "Unable to map persistent memory for cache";
drivers/md/dm-writecache.c
2529
ti->error = "Couldn't spawn flush thread";
drivers/md/dm-writecache.c
2536
ti->error = "Invalid device size";
drivers/md/dm-writecache.c
2545
ti->error = "Invalid device size";
drivers/md/dm-writecache.c
2552
ti->error = "Unable to allocate memory for metadata";
drivers/md/dm-writecache.c
2559
ti->error = "Unable to allocate dm-kcopyd client";
drivers/md/dm-writecache.c
2570
ti->error = "Unable to allocate dirty bitmap";
drivers/md/dm-writecache.c
2576
ti->error = "Unable to read first block of metadata";
drivers/md/dm-writecache.c
2583
ti->error = "Hardware memory error when reading superblock";
drivers/md/dm-writecache.c
2589
ti->error = "Unable to initialize device";
drivers/md/dm-writecache.c
2595
ti->error = "Hardware memory error when reading superblock";
drivers/md/dm-writecache.c
2601
ti->error = "Invalid magic in the superblock";
drivers/md/dm-writecache.c
2607
ti->error = "Invalid version in the superblock";
drivers/md/dm-writecache.c
2613
ti->error = "Block size does not match superblock";
drivers/md/dm-writecache.c
2623
ti->error = "Overflow in size calculation";
drivers/md/dm-writecache.c
2636
ti->error = "Memory area is too small";
drivers/md/dm-writecache.c
2658
ti->error = "Cannot allocate memory";
drivers/md/dm-writecache.c
2673
ti->error = "Bad arguments";
drivers/md/dm-writecache.c
449
if (!cmpxchg(&(wc)->error, 0, err)) \
drivers/md/dm-writecache.c
454
#define writecache_has_error(wc) (unlikely(READ_ONCE((wc)->error)))
drivers/md/dm-writecache.c
477
static void writecache_notify_io(unsigned long error, void *context)
drivers/md/dm-writecache.c
481
if (unlikely(error != 0))
drivers/md/dm-zero.c
22
ti->error = "No arguments required";
drivers/md/dm-zoned-target.c
700
ti->error = "Get target device failed";
drivers/md/dm-zoned-target.c
707
ti->error = "Invalid regular device";
drivers/md/dm-zoned-target.c
711
ti->error = "First device must be a regular device";
drivers/md/dm-zoned-target.c
715
ti->error = "Too many regular devices";
drivers/md/dm-zoned-target.c
722
ti->error = "Too many zoned devices";
drivers/md/dm-zoned-target.c
726
ti->error = "First device must be a regular device";
drivers/md/dm-zoned-target.c
736
ti->error = "Partial mapping is not supported";
drivers/md/dm-zoned-target.c
777
ti->error = "Primary disk is not a regular device";
drivers/md/dm-zoned-target.c
785
ti->error = "Secondary disk is not a zoned device";
drivers/md/dm-zoned-target.c
790
ti->error = "Zone nr sectors mismatch";
drivers/md/dm-zoned-target.c
802
ti->error = "Disk is not a zoned device";
drivers/md/dm-zoned-target.c
836
ti->error = "Invalid argument count";
drivers/md/dm-zoned-target.c
843
ti->error = "Unable to allocate the zoned target descriptor";
drivers/md/dm-zoned-target.c
848
ti->error = "Unable to allocate the zoned device descriptors";
drivers/md/dm-zoned-target.c
854
ti->error = "Unable to allocate the dm device descriptors";
drivers/md/dm-zoned-target.c
876
ti->error = "Metadata initialization failed";
drivers/md/dm-zoned-target.c
896
ti->error = "Create BIO set failed";
drivers/md/dm-zoned-target.c
907
ti->error = "Create chunk workqueue failed";
drivers/md/dm-zoned-target.c
919
ti->error = "Create flush workqueue failed";
drivers/md/dm-zoned-target.c
929
ti->error = "Zone reclaim initialization failed";
drivers/md/dm.c
1048
static void dm_io_set_error(struct dm_io *io, blk_status_t error)
drivers/md/dm.c
1056
io->status = error;
drivers/md/dm.c
1061
static void dm_io_dec_pending(struct dm_io *io, blk_status_t error)
drivers/md/dm.c
1063
if (unlikely(error))
drivers/md/dm.c
1064
dm_io_set_error(io, error);
drivers/md/dm.c
1085
blk_status_t error = bio->bi_status;
drivers/md/dm.c
1092
if (unlikely(error == BLK_STS_TARGET)) {
drivers/md/dm.c
1106
int r = endio(ti, bio, &error);
drivers/md/dm.c
1117
error = BLK_STS_IOERR;
drivers/md/dm.c
1119
error = BLK_STS_DM_REQUEUE;
drivers/md/dm.c
1121
error = BLK_STS_DM_REQUEUE;
drivers/md/dm.c
1139
dm_io_dec_pending(io, error);
drivers/md/dm.c
1182
ti->error = "Maximum size of target IO is too large";
drivers/md/dm.c
1952
blk_status_t error = BLK_STS_OK;
drivers/md/dm.c
2030
error = __send_zone_reset_all(&ci);
drivers/md/dm.c
2034
error = __split_and_process_bio(&ci);
drivers/md/dm.c
2035
if (error || !ci.sector_count)
drivers/md/dm.c
2053
if (error || !ci.submit_as_polled) {
drivers/md/dm.c
2058
if (error)
drivers/md/dm.c
2060
dm_io_dec_pending(io, error);
drivers/md/md-bitmap.c
2172
goto error;
drivers/md/md-bitmap.c
2178
goto error;
drivers/md/md-bitmap.c
2185
goto error;
drivers/md/md-bitmap.c
2188
error:
drivers/md/md-cluster.c
699
int error;
drivers/md/md-cluster.c
701
error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX);
drivers/md/md-cluster.c
702
if (error) {
drivers/md/md-cluster.c
704
__func__, __LINE__, error);
drivers/md/md-cluster.c
709
return error;
drivers/md/md-cluster.c
766
int error, unlock_error;
drivers/md/md-cluster.c
771
error = dlm_lock_sync(cinfo->message_lockres, DLM_LOCK_EX);
drivers/md/md-cluster.c
772
if (error) {
drivers/md/md-cluster.c
773
pr_err("md-cluster: failed to get EX on MESSAGE (%d)\n", error);
drivers/md/md-cluster.c
774
return error;
drivers/md/md-cluster.c
780
error = dlm_lock_sync(cinfo->message_lockres, DLM_LOCK_CW);
drivers/md/md-cluster.c
781
if (error) {
drivers/md/md-cluster.c
783
error);
drivers/md/md-cluster.c
788
error = dlm_lock_sync(cinfo->ack_lockres, DLM_LOCK_EX);
drivers/md/md-cluster.c
789
if (error) {
drivers/md/md-cluster.c
791
error);
drivers/md/md-cluster.c
796
error = dlm_lock_sync(cinfo->ack_lockres, DLM_LOCK_CR);
drivers/md/md-cluster.c
797
if (error) {
drivers/md/md-cluster.c
799
error);
drivers/md/md-cluster.c
808
return error;
drivers/md/md.c
6294
int error;
drivers/md/md.c
6305
error = PTR_ERR(mddev);
drivers/md/md.c
6323
error = -EEXIST;
drivers/md/md.c
6336
error = PTR_ERR(disk);
drivers/md/md.c
6354
error = add_disk(disk);
drivers/md/md.c
6355
if (error)
drivers/md/md.c
6359
error = kobject_add(&mddev->kobj, &disk_to_dev(disk)->kobj, "%s", "md");
drivers/md/md.c
6360
if (error) {
drivers/md/md.c
6369
return ERR_PTR(error);
drivers/md/md.c
6384
return ERR_PTR(error);
drivers/md/md.c
851
int error;
drivers/md/md.c
860
error = mddev_init(new);
drivers/md/md.c
861
if (error)
drivers/md/md.c
866
error = -EEXIST;
drivers/md/md.c
876
error = -ENODEV;
drivers/md/md.c
893
return ERR_PTR(error);
drivers/md/md.c
8949
int error;
drivers/md/md.c
8951
error = seq_open(file, &md_seq_ops);
drivers/md/md.c
8952
if (error)
drivers/md/md.c
8953
return error;
drivers/md/md.c
8957
return error;
drivers/md/raid5-cache.c
2472
goto error;
drivers/md/raid5-cache.c
2493
goto error;
drivers/md/raid5-cache.c
2503
error:
drivers/md/raid5.c
5398
blk_status_t error = bi->bi_status;
drivers/md/raid5.c
5404
if (!error) {
drivers/media/cec/core/cec-pin-error-inj.c
189
error = pin->error_inj + CEC_ERROR_INJ_OP_ANY;
drivers/media/cec/core/cec-pin-error-inj.c
193
error = pin->error_inj + op;
drivers/media/cec/core/cec-pin-error-inj.c
220
*error = 0;
drivers/media/cec/core/cec-pin-error-inj.c
224
*error &= ~CEC_ERROR_INJ_RX_MASK;
drivers/media/cec/core/cec-pin-error-inj.c
228
*error &= ~CEC_ERROR_INJ_TX_MASK;
drivers/media/cec/core/cec-pin-error-inj.c
270
*error &= ~mode_mask;
drivers/media/cec/core/cec-pin-error-inj.c
271
*error |= (u64)mode << mode_offset;
drivers/media/cec/core/cec-pin-error-inj.c
82
u64 *error;
drivers/media/cec/usb/extron-da-hd-4k-plus/cec-splitter.c
221
bool error = true;
drivers/media/cec/usb/extron-da-hd-4k-plus/cec-splitter.c
255
error = false;
drivers/media/cec/usb/extron-da-hd-4k-plus/cec-splitter.c
257
return error ? -ENODEV : 0;
drivers/media/cec/usb/extron-da-hd-4k-plus/cec-splitter.c
320
bool error = true;
drivers/media/cec/usb/extron-da-hd-4k-plus/cec-splitter.c
350
error = false;
drivers/media/cec/usb/extron-da-hd-4k-plus/cec-splitter.c
352
return error ? -ENODEV : 0;
drivers/media/cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.c
1553
err = port->hdl.error;
drivers/media/common/b2c2/flexcop.c
256
goto error;
drivers/media/common/b2c2/flexcop.c
262
goto error;
drivers/media/common/b2c2/flexcop.c
275
goto error;
drivers/media/common/b2c2/flexcop.c
280
error:
drivers/media/common/cx2341x.c
1715
if (hdl->error) {
drivers/media/common/cx2341x.c
1716
int err = hdl->error;
drivers/media/common/saa7146/saa7146_fops.c
261
if (hdl->error) {
drivers/media/common/saa7146/saa7146_fops.c
262
err = hdl->error;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1818
unsigned error = 0;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1828
error += fract_part;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1829
if (error >= tpg->scaled_width) {
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1830
error -= tpg->scaled_width;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1839
error += fract_part;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1840
if (error >= tpg->scaled_width) {
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1841
error -= tpg->scaled_width;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2639
unsigned error = 0;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2663
error += fract_part;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2664
if (error >= tpg->compose.height) {
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2665
error -= tpg->compose.height;
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2692
if (error + fract_part >= tpg->compose.height)
drivers/media/common/videobuf2/videobuf2-core.c
1023
error:
drivers/media/common/videobuf2/videobuf2-core.c
1091
goto error;
drivers/media/common/videobuf2/videobuf2-core.c
1099
goto error;
drivers/media/common/videobuf2/videobuf2-core.c
1147
error:
drivers/media/common/videobuf2/videobuf2-core.c
1549
if (q->error) {
drivers/media/common/videobuf2/videobuf2-core.c
1831
if (q->error) {
drivers/media/common/videobuf2/videobuf2-core.c
2006
if (q->error) {
drivers/media/common/videobuf2/videobuf2-core.c
2042
q->error);
drivers/media/common/videobuf2/videobuf2-core.c
2230
q->error = 0;
drivers/media/common/videobuf2/videobuf2-core.c
2354
q->error = 1;
drivers/media/common/videobuf2/videobuf2-core.c
2731
if (!vb2_is_streaming(q) || q->error)
drivers/media/common/videobuf2/videobuf2-core.c
942
goto error;
drivers/media/common/videobuf2/videobuf2-core.c
947
goto error;
drivers/media/common/videobuf2/videobuf2-core.c
953
goto error;
drivers/media/common/videobuf2/videobuf2-core.c
964
goto error;
drivers/media/dvb-core/dmxdev.c
1221
if (dmxdevfilter->buffer.error)
drivers/media/dvb-core/dmxdev.c
1356
if (dmxdev->dvr_buffer.error)
drivers/media/dvb-core/dmxdev.c
361
dmxdevfilter->buffer.error = -ETIMEDOUT;
drivers/media/dvb-core/dmxdev.c
389
dmxdevfilter->buffer.error) {
drivers/media/dvb-core/dmxdev.c
417
dmxdevfilter->buffer.error = ret;
drivers/media/dvb-core/dmxdev.c
463
if (buffer->error) {
drivers/media/dvb-core/dmxdev.c
474
buffer->error = ret;
drivers/media/dvb-core/dmxdev.c
64
if (src->error) {
drivers/media/dvb-core/dmxdev.c
65
ret = src->error;
drivers/media/dvb-core/dmxdev.c
78
(src->error != 0));
drivers/media/dvb-core/dmxdev.c
82
if (src->error) {
drivers/media/dvb-core/dmxdev.c
83
ret = src->error;
drivers/media/dvb-core/dvb_net.c
1076
goto error;
drivers/media/dvb-core/dvb_net.c
1085
goto error;
drivers/media/dvb-core/dvb_net.c
1124
goto error;
drivers/media/dvb-core/dvb_net.c
1140
goto error;
drivers/media/dvb-core/dvb_net.c
1148
error:
drivers/media/dvb-core/dvb_net.c
316
bool error;
drivers/media/dvb-core/dvb_net.c
441
h->error = true;
drivers/media/dvb-core/dvb_net.c
445
if (h->error || h->priv->ule_sndu_remain) {
drivers/media/dvb-core/dvb_net.c
448
h->error = false;
drivers/media/dvb-core/dvb_net.c
778
.error = false,
drivers/media/dvb-core/dvb_ringbuffer.c
108
rbuf->error = 0;
drivers/media/dvb-core/dvb_ringbuffer.c
120
rbuf->error = 0;
drivers/media/dvb-core/dvb_ringbuffer.c
44
rbuf->error = 0;
drivers/media/dvb-core/dvbdev.c
1099
goto error;
drivers/media/dvb-core/dvbdev.c
1105
goto error;
drivers/media/dvb-core/dvbdev.c
1111
error:
drivers/media/dvb-frontends/au8522_decoder.c
740
if (hdl->error) {
drivers/media/dvb-frontends/au8522_decoder.c
741
int err = hdl->error;
drivers/media/dvb-frontends/au8522_dig.c
870
goto error;
drivers/media/dvb-frontends/au8522_dig.c
878
error:
drivers/media/dvb-frontends/bcm3510.c
233
goto error;
drivers/media/dvb-frontends/bcm3510.c
240
error:
drivers/media/dvb-frontends/bcm3510.c
805
goto error;
drivers/media/dvb-frontends/bcm3510.c
819
goto error;
drivers/media/dvb-frontends/bcm3510.c
825
goto error;
drivers/media/dvb-frontends/bcm3510.c
833
error:
drivers/media/dvb-frontends/cx22700.c
380
if (state == NULL) goto error;
drivers/media/dvb-frontends/cx22700.c
387
if (cx22700_readreg(state, 0x07) < 0) goto error;
drivers/media/dvb-frontends/cx22700.c
394
error:
drivers/media/dvb-frontends/cx22702.c
587
goto error;
drivers/media/dvb-frontends/cx22702.c
595
goto error;
drivers/media/dvb-frontends/cx22702.c
603
error:
drivers/media/dvb-frontends/cx24110.c
592
if (state == NULL) goto error;
drivers/media/dvb-frontends/cx24110.c
603
if ((ret != 0x5a) && (ret != 0x69)) goto error;
drivers/media/dvb-frontends/cx24110.c
610
error:
drivers/media/dvb-frontends/cx24113.c
564
goto error;
drivers/media/dvb-frontends/cx24113.c
577
goto error;
drivers/media/dvb-frontends/cx24113.c
588
error:
drivers/media/dvb-frontends/cx24117.c
640
goto error;
drivers/media/dvb-frontends/cx24117.c
659
goto error;
drivers/media/dvb-frontends/cx24117.c
678
goto error;
drivers/media/dvb-frontends/cx24117.c
690
goto error;
drivers/media/dvb-frontends/cx24117.c
705
goto error;
drivers/media/dvb-frontends/cx24117.c
719
goto error;
drivers/media/dvb-frontends/cx24117.c
726
error:
drivers/media/dvb-frontends/cx24120.c
274
goto error;
drivers/media/dvb-frontends/cx24120.c
292
goto error;
drivers/media/dvb-frontends/cx24120.c
304
error:
drivers/media/dvb-frontends/cx24123.c
1051
goto error;
drivers/media/dvb-frontends/cx24123.c
1069
goto error;
drivers/media/dvb-frontends/cx24123.c
1089
goto error;
drivers/media/dvb-frontends/cx24123.c
1094
error:
drivers/media/dvb-frontends/cxd2820r_c.c
101
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
107
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
137
error:
drivers/media/dvb-frontends/cxd2820r_c.c
154
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
157
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
181
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
202
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
214
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
239
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
258
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
273
error:
drivers/media/dvb-frontends/cxd2820r_c.c
288
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
291
error:
drivers/media/dvb-frontends/cxd2820r_c.c
315
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
318
error:
drivers/media/dvb-frontends/cxd2820r_c.c
50
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
60
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
64
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
72
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
76
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
80
goto error;
drivers/media/dvb-frontends/cxd2820r_c.c
83
error:
drivers/media/dvb-frontends/cxd2820r_core.c
335
goto error;
drivers/media/dvb-frontends/cxd2820r_core.c
341
goto error;
drivers/media/dvb-frontends/cxd2820r_core.c
350
goto error;
drivers/media/dvb-frontends/cxd2820r_core.c
37
goto error;
drivers/media/dvb-frontends/cxd2820r_core.c
373
goto error;
drivers/media/dvb-frontends/cxd2820r_core.c
388
error:
drivers/media/dvb-frontends/cxd2820r_core.c
41
error:
drivers/media/dvb-frontends/cxd2820r_core.c
89
goto error;
drivers/media/dvb-frontends/cxd2820r_core.c
94
goto error;
drivers/media/dvb-frontends/cxd2820r_core.c
99
error:
drivers/media/dvb-frontends/cxd2820r_t.c
102
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
106
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
110
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
114
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
118
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
121
error:
drivers/media/dvb-frontends/cxd2820r_t.c
139
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
230
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
242
error:
drivers/media/dvb-frontends/cxd2820r_t.c
259
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
262
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
286
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
307
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
333
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
352
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
367
error:
drivers/media/dvb-frontends/cxd2820r_t.c
382
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
385
error:
drivers/media/dvb-frontends/cxd2820r_t.c
409
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
412
error:
drivers/media/dvb-frontends/cxd2820r_t.c
75
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
85
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
89
goto error;
drivers/media/dvb-frontends/cxd2820r_t.c
98
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
102
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
106
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
115
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
122
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
127
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
130
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
135
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
139
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
143
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
147
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
150
error:
drivers/media/dvb-frontends/cxd2820r_t2.c
169
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
218
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
258
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
270
error:
drivers/media/dvb-frontends/cxd2820r_t2.c
287
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
311
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
332
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
358
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
379
error:
drivers/media/dvb-frontends/cxd2820r_t2.c
402
goto error;
drivers/media/dvb-frontends/cxd2820r_t2.c
407
error:
drivers/media/dvb-frontends/cxd2820r_t2.c
93
goto error;
drivers/media/dvb-frontends/dib3000mb.c
751
goto error;
drivers/media/dvb-frontends/dib3000mb.c
759
goto error;
drivers/media/dvb-frontends/dib3000mb.c
762
goto error;
drivers/media/dvb-frontends/dib3000mb.c
776
error:
drivers/media/dvb-frontends/dib3000mc.c
926
goto error;
drivers/media/dvb-frontends/dib3000mc.c
934
error:
drivers/media/dvb-frontends/dib7000m.c
1422
goto error;
drivers/media/dvb-frontends/dib7000m.c
1433
error:
drivers/media/dvb-frontends/dib7000p.c
2768
goto error;
drivers/media/dvb-frontends/dib7000p.c
2799
error:
drivers/media/dvb-frontends/dib8000.c
4333
goto error;
drivers/media/dvb-frontends/dib8000.c
4359
error:
drivers/media/dvb-frontends/dib8000.c
4456
goto error;
drivers/media/dvb-frontends/dib8000.c
4482
goto error;
drivers/media/dvb-frontends/dib8000.c
4503
error:
drivers/media/dvb-frontends/dib9000.c
1203
goto error;
drivers/media/dvb-frontends/dib9000.c
1326
error:
drivers/media/dvb-frontends/dib9000.c
1881
goto error;
drivers/media/dvb-frontends/dib9000.c
1885
error:
drivers/media/dvb-frontends/dib9000.c
2215
goto error;
drivers/media/dvb-frontends/dib9000.c
2220
goto error;
drivers/media/dvb-frontends/dib9000.c
2230
error:
drivers/media/dvb-frontends/dib9000.c
2259
goto error;
drivers/media/dvb-frontends/dib9000.c
2264
goto error;
drivers/media/dvb-frontends/dib9000.c
2275
error:
drivers/media/dvb-frontends/dib9000.c
2358
goto error;
drivers/media/dvb-frontends/dib9000.c
2363
goto error;
drivers/media/dvb-frontends/dib9000.c
2370
error:
drivers/media/dvb-frontends/dib9000.c
2417
goto error;
drivers/media/dvb-frontends/dib9000.c
2435
error:
drivers/media/dvb-frontends/dib9000.c
2516
goto error;
drivers/media/dvb-frontends/dib9000.c
2527
goto error;
drivers/media/dvb-frontends/dib9000.c
2545
error:
drivers/media/dvb-frontends/drx39xyj/drxj.c
12281
goto error;
drivers/media/dvb-frontends/drx39xyj/drxj.c
12286
goto error;
drivers/media/dvb-frontends/drx39xyj/drxj.c
12291
goto error;
drivers/media/dvb-frontends/drx39xyj/drxj.c
12296
goto error;
drivers/media/dvb-frontends/drx39xyj/drxj.c
12301
goto error;
drivers/media/dvb-frontends/drx39xyj/drxj.c
12322
goto error;
drivers/media/dvb-frontends/drx39xyj/drxj.c
12353
error:
drivers/media/dvb-frontends/drxd_hard.c
2926
goto error;
drivers/media/dvb-frontends/drxd_hard.c
2937
error:
drivers/media/dvb-frontends/drxk_hard.c
1000
error:
drivers/media/dvb-frontends/drxk_hard.c
1018
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1022
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1026
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1030
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1034
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1038
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1041
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1044
error:
drivers/media/dvb-frontends/drxk_hard.c
1078
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1083
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1089
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1092
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1095
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1098
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1101
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1104
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1107
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1110
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1113
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1116
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1119
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1122
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1134
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1141
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1144
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1151
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1155
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1159
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1163
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1167
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1171
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1175
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1183
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1186
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1189
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1192
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1195
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1198
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1201
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1205
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1208
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1213
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1216
error:
drivers/media/dvb-frontends/drxk_hard.c
1240
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1243
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1246
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1249
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1256
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1265
error:
drivers/media/dvb-frontends/drxk_hard.c
1387
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1391
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1396
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1400
error:
drivers/media/dvb-frontends/drxk_hard.c
1451
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1467
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1473
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1499
error:
drivers/media/dvb-frontends/drxk_hard.c
1517
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1535
error:
drivers/media/dvb-frontends/drxk_hard.c
1581
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1584
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1603
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1606
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1612
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1615
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1622
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1625
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1628
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1635
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1640
error:
drivers/media/dvb-frontends/drxk_hard.c
1658
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1666
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1673
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1679
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1682
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1685
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1690
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1696
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1698
error:
drivers/media/dvb-frontends/drxk_hard.c
1720
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1733
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1736
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1743
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1746
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1752
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1764
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1773
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1779
error:
drivers/media/dvb-frontends/drxk_hard.c
1796
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1811
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1818
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1821
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1824
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1830
error:
drivers/media/dvb-frontends/drxk_hard.c
1851
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1870
error:
drivers/media/dvb-frontends/drxk_hard.c
1885
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1889
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1891
error:
drivers/media/dvb-frontends/drxk_hard.c
1906
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1909
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1912
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1915
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1918
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1921
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1924
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1927
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1932
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1935
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1937
error:
drivers/media/dvb-frontends/drxk_hard.c
1966
goto error;
drivers/media/dvb-frontends/drxk_hard.c
1969
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2006
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2049
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2052
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2055
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2058
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2061
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2064
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2069
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2073
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2075
error:
drivers/media/dvb-frontends/drxk_hard.c
2126
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2133
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2137
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2140
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2152
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2157
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2166
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2176
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2185
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2192
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2198
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2206
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2210
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2215
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2223
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2228
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2234
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2241
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2245
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2250
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2254
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2261
error:
drivers/media/dvb-frontends/drxk_hard.c
2284
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2288
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2292
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2304
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2309
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2317
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2329
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2337
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2341
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2345
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2357
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2363
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2371
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2375
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2380
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2384
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2391
error:
drivers/media/dvb-frontends/drxk_hard.c
2469
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2473
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2477
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2481
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2490
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2500
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2544
error:
drivers/media/dvb-frontends/drxk_hard.c
2721
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2729
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2734
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2739
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2744
error:
drivers/media/dvb-frontends/drxk_hard.c
2759
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2762
error:
drivers/media/dvb-frontends/drxk_hard.c
2782
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2785
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2788
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2791
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2794
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2797
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2803
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2810
error:
drivers/media/dvb-frontends/drxk_hard.c
2829
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2832
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2837
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2842
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2847
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2851
error:
drivers/media/dvb-frontends/drxk_hard.c
2866
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2874
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2887
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2890
goto error;
drivers/media/dvb-frontends/drxk_hard.c
2895
error:
drivers/media/dvb-frontends/drxk_hard.c
3022
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3026
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3029
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3032
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3035
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3039
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3043
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3046
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3049
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3052
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3055
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3058
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3061
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3066
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3070
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3073
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3077
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3080
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3083
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3087
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3090
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3093
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3096
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3099
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3102
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3105
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3108
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3111
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3114
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3117
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3120
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3123
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3126
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3129
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3132
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3135
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3138
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3141
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3146
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3155
error:
drivers/media/dvb-frontends/drxk_hard.c
3194
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3204
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3214
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3247
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3257
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3266
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3292
error:
drivers/media/dvb-frontends/drxk_hard.c
3354
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3374
error:
drivers/media/dvb-frontends/drxk_hard.c
3393
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3397
error:
drivers/media/dvb-frontends/drxk_hard.c
3425
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3428
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3431
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3434
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3437
error:
drivers/media/dvb-frontends/drxk_hard.c
3471
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3478
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3483
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3486
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3489
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3495
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3499
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3503
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3507
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3510
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3514
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3519
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3522
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3525
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3529
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3532
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3535
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3538
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3541
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3546
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3549
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3554
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3558
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3561
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3565
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3568
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3573
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3576
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3581
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3585
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3588
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3593
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3597
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3602
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3609
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3616
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3619
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3625
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3631
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3635
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3639
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3644
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3648
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3650
error:
drivers/media/dvb-frontends/drxk_hard.c
3676
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3680
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3683
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3684
error:
drivers/media/dvb-frontends/drxk_hard.c
3716
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3721
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3726
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3729
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3735
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3817
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3824
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3870
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3875
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3879
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3883
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3887
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3894
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3899
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3903
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3907
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3911
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3918
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3923
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3927
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3931
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3935
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3939
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3971
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3978
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3983
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3990
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3995
goto error;
drivers/media/dvb-frontends/drxk_hard.c
3998
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4005
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4016
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4020
error:
drivers/media/dvb-frontends/drxk_hard.c
4102
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4111
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4116
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4121
error:
drivers/media/dvb-frontends/drxk_hard.c
4180
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4195
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4204
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4208
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4210
error:
drivers/media/dvb-frontends/drxk_hard.c
4225
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4228
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4231
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4234
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4237
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4240
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4244
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4247
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4250
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4253
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4256
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4259
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4263
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4266
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4269
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4275
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4280
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4283
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4286
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4289
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4292
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4295
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4298
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4301
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4305
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4308
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4311
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4314
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4317
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4320
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4323
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4326
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4329
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4332
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4335
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4338
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4345
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4348
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4351
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4354
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4357
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4360
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4364
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4367
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4370
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4377
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4380
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4383
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4386
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4389
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4392
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4395
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4397
error:
drivers/media/dvb-frontends/drxk_hard.c
4420
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4423
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4426
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4429
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4432
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4435
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4440
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4443
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4446
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4449
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4452
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4455
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4459
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4462
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4465
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4472
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4479
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4482
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4485
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4488
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4491
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4494
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4497
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4500
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4504
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4507
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4510
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4513
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4516
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4519
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4522
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4525
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4528
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4531
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4534
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4537
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4544
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4547
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4550
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4553
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4556
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4559
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4563
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4566
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4569
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4576
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4579
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4582
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4585
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4588
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4591
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4593
error:
drivers/media/dvb-frontends/drxk_hard.c
4615
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4618
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4621
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4624
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4627
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4630
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4635
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4638
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4641
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4644
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4647
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4650
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4654
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4657
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4660
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4666
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4673
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4676
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4679
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4682
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4685
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4688
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4691
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4694
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4698
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4701
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4704
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4707
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4710
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4713
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4716
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4719
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4722
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4725
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4728
goto error;
drivers/media/dvb-frontends/drxk_hard.c
473
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4731
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4738
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4741
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4744
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4747
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4750
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4753
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4757
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4760
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4763
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4770
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4773
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4776
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4779
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4782
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4785
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4787
error:
drivers/media/dvb-frontends/drxk_hard.c
479
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4810
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4813
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4816
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4819
goto error;
drivers/media/dvb-frontends/drxk_hard.c
482
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4822
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4825
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4830
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4833
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4836
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4839
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4842
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4845
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4849
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4852
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4855
goto error;
drivers/media/dvb-frontends/drxk_hard.c
486
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4863
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4870
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4873
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4876
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4879
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4882
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4885
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4888
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4891
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4895
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4898
goto error;
drivers/media/dvb-frontends/drxk_hard.c
490
error:
drivers/media/dvb-frontends/drxk_hard.c
4901
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4904
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4907
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4910
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4913
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4916
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4919
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4922
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4925
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4928
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4935
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4938
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4941
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4944
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4947
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4950
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4954
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4957
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4961
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4967
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4970
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4973
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4976
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4979
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4982
goto error;
drivers/media/dvb-frontends/drxk_hard.c
4984
error:
drivers/media/dvb-frontends/drxk_hard.c
5007
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5010
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5013
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5016
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5019
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5022
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5027
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5030
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5033
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5036
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5039
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5042
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5046
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5049
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5052
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5059
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5066
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5069
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5072
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5075
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5078
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5081
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5084
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5087
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5091
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5094
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5097
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5100
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5103
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5106
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5109
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5112
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5115
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5118
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5121
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5124
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5131
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5134
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5137
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5140
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5143
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5146
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5150
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5153
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5156
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5163
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5166
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5169
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5172
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5175
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5178
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5180
error:
drivers/media/dvb-frontends/drxk_hard.c
5203
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5208
error:
drivers/media/dvb-frontends/drxk_hard.c
5243
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5252
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5259
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5268
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5277
error:
drivers/media/dvb-frontends/drxk_hard.c
5356
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5385
error:
drivers/media/dvb-frontends/drxk_hard.c
5407
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5410
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5413
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5422
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5447
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5472
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5492
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5497
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5503
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5508
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5511
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5516
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5519
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5522
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5525
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5529
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5532
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5535
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5538
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5541
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5544
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5547
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5550
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5553
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5556
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5559
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5562
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5565
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5568
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5571
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5577
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5582
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5607
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5612
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5619
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5624
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5627
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5630
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5633
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5640
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5645
error:
drivers/media/dvb-frontends/drxk_hard.c
5669
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5673
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5679
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5682
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5698
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5709
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5713
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5716
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5720
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5724
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5727
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5730
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5733
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5736
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5740
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5743
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5746
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5749
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5754
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5757
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5760
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5763
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5766
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5769
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5772
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5777
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5780
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5785
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5790
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5795
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5802
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5805
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5810
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5813
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5817
error:
drivers/media/dvb-frontends/drxk_hard.c
5833
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5838
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5846
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5851
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5859
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5866
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5871
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5879
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5886
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5891
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5899
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5904
error:
drivers/media/dvb-frontends/drxk_hard.c
5976
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5981
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5986
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5989
goto error;
drivers/media/dvb-frontends/drxk_hard.c
5992
error:
drivers/media/dvb-frontends/drxk_hard.c
6010
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6013
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6020
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6023
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6032
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6053
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6063
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6069
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6074
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6077
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6083
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6089
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6092
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6098
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6105
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6110
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6113
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6120
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6136
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6145
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6164
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6170
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6174
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6177
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6180
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6183
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6187
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6194
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6214
error:
drivers/media/dvb-frontends/drxk_hard.c
6531
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6536
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6542
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6547
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6552
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6557
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6581
error:
drivers/media/dvb-frontends/drxk_hard.c
6785
goto error;
drivers/media/dvb-frontends/drxk_hard.c
6811
error:
drivers/media/dvb-frontends/drxk_hard.c
745
goto error;
drivers/media/dvb-frontends/drxk_hard.c
749
goto error;
drivers/media/dvb-frontends/drxk_hard.c
752
goto error;
drivers/media/dvb-frontends/drxk_hard.c
755
goto error;
drivers/media/dvb-frontends/drxk_hard.c
758
goto error;
drivers/media/dvb-frontends/drxk_hard.c
760
error:
drivers/media/dvb-frontends/drxk_hard.c
780
goto error;
drivers/media/dvb-frontends/drxk_hard.c
783
goto error;
drivers/media/dvb-frontends/drxk_hard.c
786
goto error;
drivers/media/dvb-frontends/drxk_hard.c
789
goto error;
drivers/media/dvb-frontends/drxk_hard.c
817
goto error;
drivers/media/dvb-frontends/drxk_hard.c
958
error:
drivers/media/dvb-frontends/drxk_hard.c
976
goto error;
drivers/media/dvb-frontends/drxk_hard.c
997
goto error;
drivers/media/dvb-frontends/ds3000.c
288
goto error;
drivers/media/dvb-frontends/ds3000.c
293
error:
drivers/media/dvb-frontends/ec100.c
124
goto error;
drivers/media/dvb-frontends/ec100.c
127
goto error;
drivers/media/dvb-frontends/ec100.c
131
goto error;
drivers/media/dvb-frontends/ec100.c
134
goto error;
drivers/media/dvb-frontends/ec100.c
138
goto error;
drivers/media/dvb-frontends/ec100.c
142
goto error;
drivers/media/dvb-frontends/ec100.c
145
goto error;
drivers/media/dvb-frontends/ec100.c
148
error:
drivers/media/dvb-frontends/ec100.c
172
goto error;
drivers/media/dvb-frontends/ec100.c
181
goto error;
drivers/media/dvb-frontends/ec100.c
194
error:
drivers/media/dvb-frontends/ec100.c
210
goto error;
drivers/media/dvb-frontends/ec100.c
213
goto error;
drivers/media/dvb-frontends/ec100.c
226
error:
drivers/media/dvb-frontends/ec100.c
240
goto error;
drivers/media/dvb-frontends/ec100.c
246
error:
drivers/media/dvb-frontends/ec100.c
281
goto error;
drivers/media/dvb-frontends/ec100.c
290
goto error;
drivers/media/dvb-frontends/ec100.c
298
error:
drivers/media/dvb-frontends/ec100.c
91
goto error;
drivers/media/dvb-frontends/ec100.c
94
goto error;
drivers/media/dvb-frontends/ec100.c
97
goto error;
drivers/media/dvb-frontends/ix2505v.c
267
goto error;
drivers/media/dvb-frontends/ix2505v.c
285
goto error;
drivers/media/dvb-frontends/ix2505v.c
301
error:
drivers/media/dvb-frontends/l64781.c
501
if (state == NULL) goto error;
drivers/media/dvb-frontends/l64781.c
514
goto error;
drivers/media/dvb-frontends/l64781.c
520
goto error;
drivers/media/dvb-frontends/l64781.c
529
goto error;
drivers/media/dvb-frontends/l64781.c
538
goto error;
drivers/media/dvb-frontends/l64781.c
547
goto error;
drivers/media/dvb-frontends/l64781.c
555
error:
drivers/media/dvb-frontends/lgdt3306a.c
1767
goto error;
drivers/media/dvb-frontends/lgdt3306a.c
1771
goto error;
drivers/media/dvb-frontends/lgdt3306a.c
1779
error:
drivers/media/dvb-frontends/lgdt330x.c
868
goto error;
drivers/media/dvb-frontends/lgdt330x.c
887
goto error;
drivers/media/dvb-frontends/lgdt330x.c
896
goto error;
drivers/media/dvb-frontends/lgdt330x.c
907
error:
drivers/media/dvb-frontends/lgs8gl5.c
380
goto error;
drivers/media/dvb-frontends/lgs8gl5.c
388
goto error;
drivers/media/dvb-frontends/lgs8gl5.c
396
error:
drivers/media/dvb-frontends/m88rs2000.c
791
goto error;
drivers/media/dvb-frontends/m88rs2000.c
806
error:
drivers/media/dvb-frontends/mb86a16.c
1838
goto error;
drivers/media/dvb-frontends/mb86a16.c
1845
goto error;
drivers/media/dvb-frontends/mb86a16.c
1852
error:
drivers/media/dvb-frontends/mb86a20s.c
1055
u32 *error, u32 *count)
drivers/media/dvb-frontends/mb86a20s.c
1089
*error = rc << 8;
drivers/media/dvb-frontends/mb86a20s.c
1096
*error |= rc;
drivers/media/dvb-frontends/mb86a20s.c
1098
__func__, 'A' + layer, *error);
drivers/media/dvb-frontends/mb86a20s.c
1952
goto error;
drivers/media/dvb-frontends/mb86a20s.c
1964
goto error;
drivers/media/dvb-frontends/mb86a20s.c
1974
goto error;
drivers/media/dvb-frontends/mb86a20s.c
1983
goto error;
drivers/media/dvb-frontends/mb86a20s.c
1989
error:
drivers/media/dvb-frontends/mb86a20s.c
794
u32 *error, u32 *count)
drivers/media/dvb-frontends/mb86a20s.c
821
*error = rc << 16;
drivers/media/dvb-frontends/mb86a20s.c
825
*error |= rc << 8;
drivers/media/dvb-frontends/mb86a20s.c
829
*error |= rc;
drivers/media/dvb-frontends/mb86a20s.c
833
__func__, 'A' + layer, *error);
drivers/media/dvb-frontends/mb86a20s.c
927
u32 *error, u32 *count)
drivers/media/dvb-frontends/mb86a20s.c
955
*error = rc << 16;
drivers/media/dvb-frontends/mb86a20s.c
959
*error |= rc << 8;
drivers/media/dvb-frontends/mb86a20s.c
963
*error |= rc;
drivers/media/dvb-frontends/mb86a20s.c
967
__func__, 'A' + layer, *error);
drivers/media/dvb-frontends/mt312.c
669
goto error;
drivers/media/dvb-frontends/mt312.c
683
error:
drivers/media/dvb-frontends/mt312.c
785
goto error;
drivers/media/dvb-frontends/mt312.c
793
goto error;
drivers/media/dvb-frontends/mt312.c
821
goto error;
drivers/media/dvb-frontends/mt312.c
826
error:
drivers/media/dvb-frontends/mt352.c
537
if (state == NULL) goto error;
drivers/media/dvb-frontends/mt352.c
544
if (mt352_read_register(state, CHIP_ID) != ID_MT352) goto error;
drivers/media/dvb-frontends/mt352.c
551
error:
drivers/media/dvb-frontends/nxt200x.c
1133
goto error;
drivers/media/dvb-frontends/nxt200x.c
1155
goto error;
drivers/media/dvb-frontends/nxt200x.c
1161
if (buf[0] != 0x04) goto error; /* device id */
drivers/media/dvb-frontends/nxt200x.c
1162
if (buf[1] != 0x02) goto error; /* fab id */
drivers/media/dvb-frontends/nxt200x.c
1163
if (buf[2] != 0x11) goto error; /* month */
drivers/media/dvb-frontends/nxt200x.c
1164
if (buf[3] != 0x20) goto error; /* year msb */
drivers/media/dvb-frontends/nxt200x.c
1165
if (buf[4] != 0x00) goto error; /* year lsb */
drivers/media/dvb-frontends/nxt200x.c
1168
if (buf[0] != 0x05) goto error; /* device id */
drivers/media/dvb-frontends/nxt200x.c
1171
goto error;
drivers/media/dvb-frontends/nxt200x.c
1179
error:
drivers/media/dvb-frontends/nxt6000.c
564
if (state == NULL) goto error;
drivers/media/dvb-frontends/nxt6000.c
571
if (nxt6000_readreg(state, OFDM_MSC_REV) != NXT6000ASICDEVICE) goto error;
drivers/media/dvb-frontends/nxt6000.c
578
error:
drivers/media/dvb-frontends/rtl2832_sdr.c
1416
if (dev->hdl.error) {
drivers/media/dvb-frontends/rtl2832_sdr.c
1417
ret = dev->hdl.error;
drivers/media/dvb-frontends/s5h1409.c
951
goto error;
drivers/media/dvb-frontends/s5h1409.c
962
goto error;
drivers/media/dvb-frontends/s5h1409.c
972
goto error;
drivers/media/dvb-frontends/s5h1409.c
980
error:
drivers/media/dvb-frontends/s5h1411.c
866
goto error;
drivers/media/dvb-frontends/s5h1411.c
877
goto error;
drivers/media/dvb-frontends/s5h1411.c
888
goto error;
drivers/media/dvb-frontends/s5h1411.c
899
error:
drivers/media/dvb-frontends/s5h1420.c
879
goto error;
drivers/media/dvb-frontends/s5h1420.c
893
goto error;
drivers/media/dvb-frontends/s5h1420.c
912
goto error;
drivers/media/dvb-frontends/s5h1420.c
917
error:
drivers/media/dvb-frontends/si2165.c
1164
goto error;
drivers/media/dvb-frontends/si2165.c
1171
goto error;
drivers/media/dvb-frontends/si2165.c
1186
goto error;
drivers/media/dvb-frontends/si2165.c
1268
error:
drivers/media/dvb-frontends/si2165.c
327
goto error;
drivers/media/dvb-frontends/si2165.c
330
goto error;
drivers/media/dvb-frontends/si2165.c
338
goto error;
drivers/media/dvb-frontends/si2165.c
357
error:
drivers/media/dvb-frontends/si2165.c
392
goto error;
drivers/media/dvb-frontends/si2165.c
404
goto error;
drivers/media/dvb-frontends/si2165.c
411
goto error;
drivers/media/dvb-frontends/si2165.c
417
goto error;
drivers/media/dvb-frontends/si2165.c
428
goto error;
drivers/media/dvb-frontends/si2165.c
432
goto error;
drivers/media/dvb-frontends/si2165.c
436
goto error;
drivers/media/dvb-frontends/si2165.c
441
goto error;
drivers/media/dvb-frontends/si2165.c
444
goto error;
drivers/media/dvb-frontends/si2165.c
447
goto error;
drivers/media/dvb-frontends/si2165.c
457
goto error;
drivers/media/dvb-frontends/si2165.c
461
goto error;
drivers/media/dvb-frontends/si2165.c
466
goto error;
drivers/media/dvb-frontends/si2165.c
473
goto error;
drivers/media/dvb-frontends/si2165.c
479
goto error;
drivers/media/dvb-frontends/si2165.c
486
goto error;
drivers/media/dvb-frontends/si2165.c
491
goto error;
drivers/media/dvb-frontends/si2165.c
498
goto error;
drivers/media/dvb-frontends/si2165.c
504
goto error;
drivers/media/dvb-frontends/si2165.c
509
goto error;
drivers/media/dvb-frontends/si2165.c
515
error:
drivers/media/dvb-frontends/si2165.c
535
goto error;
drivers/media/dvb-frontends/si2165.c
539
goto error;
drivers/media/dvb-frontends/si2165.c
543
goto error;
drivers/media/dvb-frontends/si2165.c
552
goto error;
drivers/media/dvb-frontends/si2165.c
555
goto error;
drivers/media/dvb-frontends/si2165.c
558
goto error;
drivers/media/dvb-frontends/si2165.c
561
goto error;
drivers/media/dvb-frontends/si2165.c
565
goto error;
drivers/media/dvb-frontends/si2165.c
568
goto error;
drivers/media/dvb-frontends/si2165.c
572
goto error;
drivers/media/dvb-frontends/si2165.c
577
goto error;
drivers/media/dvb-frontends/si2165.c
581
goto error;
drivers/media/dvb-frontends/si2165.c
584
goto error;
drivers/media/dvb-frontends/si2165.c
589
goto error;
drivers/media/dvb-frontends/si2165.c
595
goto error;
drivers/media/dvb-frontends/si2165.c
599
goto error;
drivers/media/dvb-frontends/si2165.c
603
goto error;
drivers/media/dvb-frontends/si2165.c
608
goto error;
drivers/media/dvb-frontends/si2165.c
612
goto error;
drivers/media/dvb-frontends/si2165.c
617
goto error;
drivers/media/dvb-frontends/si2165.c
646
error:
drivers/media/dvb-frontends/si21xx.c
907
goto error;
drivers/media/dvb-frontends/si21xx.c
928
goto error;
drivers/media/dvb-frontends/si21xx.c
936
error:
drivers/media/dvb-frontends/sp887x.c
572
if (state == NULL) goto error;
drivers/media/dvb-frontends/sp887x.c
580
if (sp887x_readreg(state, 0x0200) < 0) goto error;
drivers/media/dvb-frontends/sp887x.c
587
error:
drivers/media/dvb-frontends/stb0899_drv.c
1618
goto error;
drivers/media/dvb-frontends/stb0899_drv.c
1631
goto error;
drivers/media/dvb-frontends/stb0899_drv.c
1637
error:
drivers/media/dvb-frontends/stv0288.c
562
goto error;
drivers/media/dvb-frontends/stv0288.c
580
goto error;
drivers/media/dvb-frontends/stv0288.c
588
error:
drivers/media/dvb-frontends/stv0297.c
659
goto error;
drivers/media/dvb-frontends/stv0297.c
669
goto error;
drivers/media/dvb-frontends/stv0297.c
676
error:
drivers/media/dvb-frontends/stv0299.c
675
if (state == NULL) goto error;
drivers/media/dvb-frontends/stv0299.c
693
if (id != 0xa1 && id != 0x80) goto error;
drivers/media/dvb-frontends/stv0299.c
700
error:
drivers/media/dvb-frontends/stv0367.c
1703
goto error;
drivers/media/dvb-frontends/stv0367.c
1706
goto error;
drivers/media/dvb-frontends/stv0367.c
1726
goto error;
drivers/media/dvb-frontends/stv0367.c
1730
error:
drivers/media/dvb-frontends/stv0367.c
2870
goto error;
drivers/media/dvb-frontends/stv0367.c
2873
goto error;
drivers/media/dvb-frontends/stv0367.c
2895
goto error;
drivers/media/dvb-frontends/stv0367.c
2899
error:
drivers/media/dvb-frontends/stv0367.c
3279
goto error;
drivers/media/dvb-frontends/stv0367.c
3282
goto error;
drivers/media/dvb-frontends/stv0367.c
3285
goto error;
drivers/media/dvb-frontends/stv0367.c
3309
goto error;
drivers/media/dvb-frontends/stv0367.c
3319
error:
drivers/media/dvb-frontends/stv0900_core.c
1334
enum fe_stv0900_error error = STV0900_NO_ERROR;
drivers/media/dvb-frontends/stv0900_core.c
1368
error = STV0900_INVALID_HANDLE;
drivers/media/dvb-frontends/stv0900_core.c
1369
return error;
drivers/media/dvb-frontends/stv0900_core.c
1374
error = STV0900_NO_ERROR;
drivers/media/dvb-frontends/stv0900_core.c
1377
error = STV0900_INVALID_HANDLE;
drivers/media/dvb-frontends/stv0900_core.c
1379
error = STV0900_I2C_ERROR;
drivers/media/dvb-frontends/stv0900_core.c
1381
return error;
drivers/media/dvb-frontends/stv0900_core.c
1493
error = STV0900_I2C_ERROR;
drivers/media/dvb-frontends/stv0900_core.c
1495
return error;
drivers/media/dvb-frontends/stv0900_core.c
1570
enum fe_stv0900_error error = STV0900_NO_ERROR;
drivers/media/dvb-frontends/stv0900_core.c
1619
error = STV0900_I2C_ERROR;
drivers/media/dvb-frontends/stv0900_core.c
1623
error = STV0900_SEARCH_FAILED;
drivers/media/dvb-frontends/stv0900_core.c
1628
if ((p_result.locked == TRUE) && (error == STV0900_NO_ERROR)) {
drivers/media/dvb-frontends/stv0900_core.c
1906
goto error;
drivers/media/dvb-frontends/stv0900_core.c
1938
goto error;
drivers/media/dvb-frontends/stv0900_core.c
1945
goto error;
drivers/media/dvb-frontends/stv0900_core.c
1952
error:
drivers/media/dvb-frontends/stv090x.c
4911
goto error;
drivers/media/dvb-frontends/stv090x.c
4915
goto error;
drivers/media/dvb-frontends/stv090x.c
4949
error:
drivers/media/dvb-frontends/stv090x.c
5008
goto error;
drivers/media/dvb-frontends/stv090x.c
5025
goto error;
drivers/media/dvb-frontends/stv090x.c
5034
error:
drivers/media/dvb-frontends/stv090x.c
5055
goto error;
drivers/media/dvb-frontends/stv090x.c
5071
goto error;
drivers/media/dvb-frontends/stv090x.c
5075
error:
drivers/media/dvb-frontends/tda10021.c
455
if (state == NULL) goto error;
drivers/media/dvb-frontends/tda10021.c
465
if ((id & 0xf0) != 0x70) goto error;
drivers/media/dvb-frontends/tda10021.c
469
goto error;
drivers/media/dvb-frontends/tda10021.c
479
error:
drivers/media/dvb-frontends/tda10023.c
515
if (state == NULL) goto error;
drivers/media/dvb-frontends/tda10023.c
524
if ((tda10023_readreg(state, 0x1a) & 0xf0) != 0x70) goto error;
drivers/media/dvb-frontends/tda10023.c
557
error:
drivers/media/dvb-frontends/tda10048.c
1102
goto error;
drivers/media/dvb-frontends/tda10048.c
1112
goto error;
drivers/media/dvb-frontends/tda10048.c
1135
goto error;
drivers/media/dvb-frontends/tda10048.c
1139
goto error;
drivers/media/dvb-frontends/tda10048.c
1146
error:
drivers/media/dvb-frontends/tda10048.c
264
goto error;
drivers/media/dvb-frontends/tda10048.c
285
error:
drivers/media/dvb-frontends/tda10071.c
1008
goto error;
drivers/media/dvb-frontends/tda10071.c
1017
goto error;
drivers/media/dvb-frontends/tda10071.c
1033
error:
drivers/media/dvb-frontends/tda10071.c
1059
goto error;
drivers/media/dvb-frontends/tda10071.c
1068
goto error;
drivers/media/dvb-frontends/tda10071.c
1074
goto error;
drivers/media/dvb-frontends/tda10071.c
1078
error:
drivers/media/dvb-frontends/tda10071.c
114
goto error;
drivers/media/dvb-frontends/tda10071.c
125
goto error;
drivers/media/dvb-frontends/tda10071.c
128
error:
drivers/media/dvb-frontends/tda10071.c
144
goto error;
drivers/media/dvb-frontends/tda10071.c
162
goto error;
drivers/media/dvb-frontends/tda10071.c
171
goto error;
drivers/media/dvb-frontends/tda10071.c
174
error:
drivers/media/dvb-frontends/tda10071.c
190
goto error;
drivers/media/dvb-frontends/tda10071.c
197
goto error;
drivers/media/dvb-frontends/tda10071.c
204
goto error;
drivers/media/dvb-frontends/tda10071.c
213
goto error;
drivers/media/dvb-frontends/tda10071.c
218
goto error;
drivers/media/dvb-frontends/tda10071.c
231
goto error;
drivers/media/dvb-frontends/tda10071.c
234
error:
drivers/media/dvb-frontends/tda10071.c
250
goto error;
drivers/media/dvb-frontends/tda10071.c
259
goto error;
drivers/media/dvb-frontends/tda10071.c
268
goto error;
drivers/media/dvb-frontends/tda10071.c
274
goto error;
drivers/media/dvb-frontends/tda10071.c
286
goto error;
drivers/media/dvb-frontends/tda10071.c
291
goto error;
drivers/media/dvb-frontends/tda10071.c
294
error:
drivers/media/dvb-frontends/tda10071.c
311
goto error;
drivers/media/dvb-frontends/tda10071.c
326
goto error;
drivers/media/dvb-frontends/tda10071.c
333
goto error;
drivers/media/dvb-frontends/tda10071.c
342
goto error;
drivers/media/dvb-frontends/tda10071.c
347
goto error;
drivers/media/dvb-frontends/tda10071.c
355
goto error;
drivers/media/dvb-frontends/tda10071.c
358
error:
drivers/media/dvb-frontends/tda10071.c
377
goto error;
drivers/media/dvb-frontends/tda10071.c
382
goto error;
drivers/media/dvb-frontends/tda10071.c
401
goto error;
drivers/media/dvb-frontends/tda10071.c
406
goto error;
drivers/media/dvb-frontends/tda10071.c
419
goto error;
drivers/media/dvb-frontends/tda10071.c
445
goto error;
drivers/media/dvb-frontends/tda10071.c
450
goto error;
drivers/media/dvb-frontends/tda10071.c
455
goto error;
drivers/media/dvb-frontends/tda10071.c
466
goto error;
drivers/media/dvb-frontends/tda10071.c
470
goto error;
drivers/media/dvb-frontends/tda10071.c
48
goto error;
drivers/media/dvb-frontends/tda10071.c
496
error:
drivers/media/dvb-frontends/tda10071.c
566
goto error;
drivers/media/dvb-frontends/tda10071.c
584
goto error;
drivers/media/dvb-frontends/tda10071.c
610
goto error;
drivers/media/dvb-frontends/tda10071.c
626
goto error;
drivers/media/dvb-frontends/tda10071.c
632
goto error;
drivers/media/dvb-frontends/tda10071.c
648
goto error;
drivers/media/dvb-frontends/tda10071.c
658
goto error;
drivers/media/dvb-frontends/tda10071.c
662
goto error;
drivers/media/dvb-frontends/tda10071.c
682
goto error;
drivers/media/dvb-frontends/tda10071.c
687
error:
drivers/media/dvb-frontends/tda10071.c
702
goto error;
drivers/media/dvb-frontends/tda10071.c
707
goto error;
drivers/media/dvb-frontends/tda10071.c
740
goto error;
drivers/media/dvb-frontends/tda10071.c
745
error:
drivers/media/dvb-frontends/tda10071.c
77
goto error;
drivers/media/dvb-frontends/tda10071.c
826
goto error;
drivers/media/dvb-frontends/tda10071.c
83
error:
drivers/media/dvb-frontends/tda10071.c
835
goto error;
drivers/media/dvb-frontends/tda10071.c
845
goto error;
drivers/media/dvb-frontends/tda10071.c
900
goto error;
drivers/media/dvb-frontends/tda10071.c
904
goto error;
drivers/media/dvb-frontends/tda10071.c
912
goto error;
drivers/media/dvb-frontends/tda10071.c
917
goto error;
drivers/media/dvb-frontends/tda10071.c
926
goto error;
drivers/media/dvb-frontends/tda10071.c
930
goto error;
drivers/media/dvb-frontends/tda10071.c
939
goto error;
drivers/media/dvb-frontends/tda10071.c
952
goto error;
drivers/media/dvb-frontends/tda10071.c
977
goto error;
drivers/media/dvb-frontends/tda10071.c
988
goto error;
drivers/media/dvb-frontends/tda10071.c
99
goto error;
drivers/media/dvb-frontends/tda10071.c
992
goto error;
drivers/media/dvb-frontends/tda8083.c
421
if (state == NULL) goto error;
drivers/media/dvb-frontends/tda8083.c
428
if ((tda8083_readreg(state, 0x00)) != 0x05) goto error;
drivers/media/dvb-frontends/tda8083.c
435
error:
drivers/media/dvb-frontends/ves1820.c
371
goto error;
drivers/media/dvb-frontends/ves1820.c
381
goto error;
drivers/media/dvb-frontends/ves1820.c
394
error:
drivers/media/dvb-frontends/ves1x93.c
454
if (state == NULL) goto error;
drivers/media/dvb-frontends/ves1x93.c
489
goto error;
drivers/media/dvb-frontends/ves1x93.c
497
error:
drivers/media/dvb-frontends/zl10036.c
340
goto error;
drivers/media/dvb-frontends/zl10036.c
344
goto error;
drivers/media/dvb-frontends/zl10036.c
348
goto error;
drivers/media/dvb-frontends/zl10036.c
354
goto error;
drivers/media/dvb-frontends/zl10036.c
363
error:
drivers/media/dvb-frontends/zl10036.c
473
goto error;
drivers/media/dvb-frontends/zl10036.c
480
goto error;
drivers/media/dvb-frontends/zl10036.c
495
error:
drivers/media/dvb-frontends/zl10039.c
216
goto error;
drivers/media/dvb-frontends/zl10039.c
220
goto error;
drivers/media/dvb-frontends/zl10039.c
224
goto error;
drivers/media/dvb-frontends/zl10039.c
230
error:
drivers/media/dvb-frontends/zl10039.c
259
goto error;
drivers/media/dvb-frontends/zl10039.c
272
goto error;
drivers/media/dvb-frontends/zl10039.c
287
goto error;
drivers/media/dvb-frontends/zl10039.c
294
error:
drivers/media/dvb-frontends/zl10353.c
603
goto error;
drivers/media/dvb-frontends/zl10353.c
612
goto error;
drivers/media/dvb-frontends/zl10353.c
619
error:
drivers/media/i2c/ad5820.c
194
if (coil->ctrls.error)
drivers/media/i2c/ad5820.c
195
return coil->ctrls.error;
drivers/media/i2c/adp1653.c
247
if (flash->ctrls.error)
drivers/media/i2c/adp1653.c
248
return flash->ctrls.error;
drivers/media/i2c/adv7180.c
677
if (state->ctrl_hdl.error) {
drivers/media/i2c/adv7180.c
678
int err = state->ctrl_hdl.error;
drivers/media/i2c/adv7183.c
577
if (hdl->error) {
drivers/media/i2c/adv7183.c
578
ret = hdl->error;
drivers/media/i2c/adv7343.c
476
if (state->hdl.error) {
drivers/media/i2c/adv7343.c
477
err = state->hdl.error;
drivers/media/i2c/adv7393.c
425
if (state->hdl.error) {
drivers/media/i2c/adv7393.c
426
int err = state->hdl.error;
drivers/media/i2c/adv748x/adv748x-afe.c
477
if (afe->ctrl_hdl.error) {
drivers/media/i2c/adv748x/adv748x-afe.c
479
return afe->ctrl_hdl.error;
drivers/media/i2c/adv748x/adv748x-afe.c
524
goto error;
drivers/media/i2c/adv748x/adv748x-afe.c
528
error:
drivers/media/i2c/adv748x/adv748x-core.c
129
u8 value, int *error)
drivers/media/i2c/adv748x/adv748x-core.c
131
if (*error)
drivers/media/i2c/adv748x/adv748x-core.c
132
return *error;
drivers/media/i2c/adv748x/adv748x-core.c
134
*error = adv748x_write(state, page, reg, value);
drivers/media/i2c/adv748x/adv748x-core.c
135
return *error;
drivers/media/i2c/adv748x/adv748x-csi2.c
324
if (tx->ctrl_hdl.error) {
drivers/media/i2c/adv748x/adv748x-csi2.c
326
return tx->ctrl_hdl.error;
drivers/media/i2c/adv748x/adv748x-hdmi.c
240
goto error;
drivers/media/i2c/adv748x/adv748x-hdmi.c
252
error:
drivers/media/i2c/adv748x/adv748x-hdmi.c
713
if (hdmi->ctrl_hdl.error) {
drivers/media/i2c/adv748x/adv748x-hdmi.c
715
return hdmi->ctrl_hdl.error;
drivers/media/i2c/adv7511-v4l2.c
1881
if (hdl->error) {
drivers/media/i2c/adv7511-v4l2.c
1882
err = hdl->error;
drivers/media/i2c/adv7604.c
3641
if (hdl->error) {
drivers/media/i2c/adv7604.c
3642
err = hdl->error;
drivers/media/i2c/adv7842.c
3606
if (hdl->error) {
drivers/media/i2c/adv7842.c
3607
err = hdl->error;
drivers/media/i2c/ak7375.c
170
if (hdl->error)
drivers/media/i2c/ak7375.c
172
__func__, hdl->error);
drivers/media/i2c/ak7375.c
175
return hdl->error;
drivers/media/i2c/alvium-csi2.c
2218
if (hdl->error) {
drivers/media/i2c/alvium-csi2.c
2219
ret = hdl->error;
drivers/media/i2c/ar0521.c
658
if (hdl->error) {
drivers/media/i2c/ar0521.c
659
ret = hdl->error;
drivers/media/i2c/bt819.c
438
if (decoder->hdl.error) {
drivers/media/i2c/bt819.c
439
int err = decoder->hdl.error;
drivers/media/i2c/ccs/ccs-core.c
1082
if (sensor->pixel_array->ctrl_handler.error) {
drivers/media/i2c/ccs/ccs-core.c
1085
sensor->pixel_array->ctrl_handler.error);
drivers/media/i2c/ccs/ccs-core.c
1086
return sensor->pixel_array->ctrl_handler.error;
drivers/media/i2c/ccs/ccs-core.c
1104
if (sensor->src->ctrl_handler.error) {
drivers/media/i2c/ccs/ccs-core.c
1107
sensor->src->ctrl_handler.error);
drivers/media/i2c/ccs/ccs-core.c
1108
return sensor->src->ctrl_handler.error;
drivers/media/i2c/ccs/ccs-core.c
1140
return sensor->src->ctrl_handler.error;
drivers/media/i2c/ccs/ccs-core.c
1829
goto error;
drivers/media/i2c/ccs/ccs-core.c
1840
goto error;
drivers/media/i2c/ccs/ccs-core.c
1844
goto error;
drivers/media/i2c/ccs/ccs-core.c
1849
error:
drivers/media/i2c/cs5345.c
163
if (state->hdl.error) {
drivers/media/i2c/cs5345.c
164
int err = state->hdl.error;
drivers/media/i2c/cs53l32a.c
166
if (state->hdl.error) {
drivers/media/i2c/cs53l32a.c
167
int err = state->hdl.error;
drivers/media/i2c/cx25840/cx25840-core.c
3936
if (state->hdl.error) {
drivers/media/i2c/cx25840/cx25840-core.c
3937
int err = state->hdl.error;
drivers/media/i2c/ds90ub960.c
4858
if (priv->ctrl_handler.error) {
drivers/media/i2c/ds90ub960.c
4859
ret = priv->ctrl_handler.error;
drivers/media/i2c/dw9714.c
135
if (hdl->error)
drivers/media/i2c/dw9714.c
137
__func__, hdl->error);
drivers/media/i2c/dw9714.c
139
return hdl->error;
drivers/media/i2c/dw9719.c
337
if (dw9719->ctrls.handler.error) {
drivers/media/i2c/dw9719.c
339
ret = dw9719->ctrls.handler.error;
drivers/media/i2c/dw9768.c
400
if (hdl->error)
drivers/media/i2c/dw9768.c
401
return hdl->error;
drivers/media/i2c/dw9807-vcm.c
169
if (hdl->error) {
drivers/media/i2c/dw9807-vcm.c
171
__func__, hdl->error);
drivers/media/i2c/dw9807-vcm.c
172
return hdl->error;
drivers/media/i2c/et8ek8/et8ek8_driver.c
713
if (sensor->ctrl_handler.error)
drivers/media/i2c/et8ek8/et8ek8_driver.c
714
return sensor->ctrl_handler.error;
drivers/media/i2c/gc0308.c
1271
if (gc0308->hdl.error) {
drivers/media/i2c/gc0308.c
1272
ret = gc0308->hdl.error;
drivers/media/i2c/gc0310.c
606
if (hdl->error)
drivers/media/i2c/gc0310.c
607
return hdl->error;
drivers/media/i2c/gc05a2.c
1202
if (ctrl_hdlr->error) {
drivers/media/i2c/gc05a2.c
1203
ret = ctrl_hdlr->error;
drivers/media/i2c/gc08a3.c
1146
if (ctrl_hdlr->error) {
drivers/media/i2c/gc08a3.c
1147
ret = ctrl_hdlr->error;
drivers/media/i2c/gc2145.c
1243
if (hdl->error) {
drivers/media/i2c/gc2145.c
1244
ret = hdl->error;
drivers/media/i2c/gc2145.c
1246
goto error;
drivers/media/i2c/gc2145.c
1251
goto error;
drivers/media/i2c/gc2145.c
1256
goto error;
drivers/media/i2c/gc2145.c
1262
error:
drivers/media/i2c/hi556.c
906
if (ctrl_hdlr->error)
drivers/media/i2c/hi556.c
907
return ctrl_hdlr->error;
drivers/media/i2c/hi846.c
1473
if (ctrl_hdlr->error) {
drivers/media/i2c/hi846.c
1475
ctrl_hdlr->error);
drivers/media/i2c/hi846.c
1476
ret = ctrl_hdlr->error;
drivers/media/i2c/hi846.c
1477
goto error;
drivers/media/i2c/hi846.c
1482
goto error;
drivers/media/i2c/hi846.c
1487
goto error;
drivers/media/i2c/hi846.c
1493
error:
drivers/media/i2c/hi847.c
2544
if (ctrl_hdlr->error)
drivers/media/i2c/hi847.c
2545
return ctrl_hdlr->error;
drivers/media/i2c/imx111.c
1264
goto error;
drivers/media/i2c/imx111.c
1267
error:
drivers/media/i2c/imx111.c
1449
goto error;
drivers/media/i2c/imx111.c
1458
goto error;
drivers/media/i2c/imx111.c
1463
error:
drivers/media/i2c/imx111.c
975
if (hdl->error)
drivers/media/i2c/imx111.c
976
return hdl->error;
drivers/media/i2c/imx208.c
913
if (ctrl_hdlr->error) {
drivers/media/i2c/imx208.c
914
ret = ctrl_hdlr->error;
drivers/media/i2c/imx208.c
917
goto error;
drivers/media/i2c/imx208.c
924
error:
drivers/media/i2c/imx214.c
1093
ret = ctrl_hdlr->error;
drivers/media/i2c/imx214.c
1352
goto error;
drivers/media/i2c/imx214.c
1382
error:
drivers/media/i2c/imx219.c
630
if (ctrl_hdlr->error) {
drivers/media/i2c/imx219.c
631
ret = ctrl_hdlr->error;
drivers/media/i2c/imx219.c
633
goto error;
drivers/media/i2c/imx219.c
638
goto error;
drivers/media/i2c/imx219.c
643
goto error;
drivers/media/i2c/imx219.c
649
error:
drivers/media/i2c/imx258.c
1306
if (ctrl_hdlr->error) {
drivers/media/i2c/imx258.c
1307
ret = ctrl_hdlr->error;
drivers/media/i2c/imx258.c
1310
goto error;
drivers/media/i2c/imx258.c
1315
goto error;
drivers/media/i2c/imx258.c
1320
goto error;
drivers/media/i2c/imx258.c
1326
error:
drivers/media/i2c/imx274.c
2109
if (imx274->ctrls.handler.error) {
drivers/media/i2c/imx274.c
2110
ret = imx274->ctrls.handler.error;
drivers/media/i2c/imx283.c
1368
if (ctrl_hdlr->error) {
drivers/media/i2c/imx283.c
1369
ret = ctrl_hdlr->error;
drivers/media/i2c/imx283.c
1371
goto error;
drivers/media/i2c/imx283.c
1376
goto error;
drivers/media/i2c/imx283.c
1381
goto error;
drivers/media/i2c/imx283.c
1394
error:
drivers/media/i2c/imx290.c
981
if (imx290->ctrls.error) {
drivers/media/i2c/imx290.c
982
ret = imx290->ctrls.error;
drivers/media/i2c/imx296.c
439
if (sensor->ctrls.error) {
drivers/media/i2c/imx296.c
441
sensor->ctrls.error);
drivers/media/i2c/imx296.c
443
return sensor->ctrls.error;
drivers/media/i2c/imx319.c
2309
if (ctrl_hdlr->error) {
drivers/media/i2c/imx319.c
2310
ret = ctrl_hdlr->error;
drivers/media/i2c/imx319.c
2312
goto error;
drivers/media/i2c/imx319.c
2319
error:
drivers/media/i2c/imx334.c
1197
if (ctrl_hdlr->error) {
drivers/media/i2c/imx334.c
1199
ctrl_hdlr->error);
drivers/media/i2c/imx334.c
1201
return ctrl_hdlr->error;
drivers/media/i2c/imx335.c
1421
if (ctrl_hdlr->error) {
drivers/media/i2c/imx335.c
1423
ctrl_hdlr->error);
drivers/media/i2c/imx335.c
1425
return ctrl_hdlr->error;
drivers/media/i2c/imx355.c
1599
if (ctrl_hdlr->error) {
drivers/media/i2c/imx355.c
1600
ret = ctrl_hdlr->error;
drivers/media/i2c/imx355.c
1602
goto error;
drivers/media/i2c/imx355.c
1607
goto error;
drivers/media/i2c/imx355.c
1612
goto error;
drivers/media/i2c/imx355.c
1618
error:
drivers/media/i2c/imx412.c
1146
if (ctrl_hdlr->error) {
drivers/media/i2c/imx412.c
1148
ctrl_hdlr->error);
drivers/media/i2c/imx412.c
1150
return ctrl_hdlr->error;
drivers/media/i2c/imx415.c
854
if (sensor->ctrls.error) {
drivers/media/i2c/imx415.c
855
dev_err_probe(sensor->dev, sensor->ctrls.error,
drivers/media/i2c/imx415.c
858
return sensor->ctrls.error;
drivers/media/i2c/isl7998x.c
1436
ret = isl7998x->ctrl_handler.error;
drivers/media/i2c/lm3560.c
331
if (hdl->error)
drivers/media/i2c/lm3560.c
332
return hdl->error;
drivers/media/i2c/lm3646.c
253
if (hdl->error)
drivers/media/i2c/lm3646.c
254
return hdl->error;
drivers/media/i2c/lt6911uxe.c
323
if (ctrl_hdlr->error) {
drivers/media/i2c/lt6911uxe.c
324
ret = ctrl_hdlr->error;
drivers/media/i2c/max9286.c
1047
ret = priv->ctrls.error;
drivers/media/i2c/max9286.c
1283
goto error;
drivers/media/i2c/max9286.c
1290
error:
drivers/media/i2c/max9286.c
381
goto error;
drivers/media/i2c/max9286.c
386
error:
drivers/media/i2c/max96714.c
593
if (priv->ctrl_handler.error) {
drivers/media/i2c/max96714.c
594
ret = priv->ctrl_handler.error;
drivers/media/i2c/max96717.c
686
if (priv->ctrl_handler.error) {
drivers/media/i2c/max96717.c
687
ret = priv->ctrl_handler.error;
drivers/media/i2c/ml86v7667.c
395
ret = priv->hdl.error;
drivers/media/i2c/msp3400-driver.c
811
if (hdl->error) {
drivers/media/i2c/msp3400-driver.c
812
int err = hdl->error;
drivers/media/i2c/mt9m001.c
780
if (mt9m001->hdl.error)
drivers/media/i2c/mt9m001.c
781
return mt9m001->hdl.error;
drivers/media/i2c/mt9m111.c
1327
if (mt9m111->hdl.error) {
drivers/media/i2c/mt9m111.c
1328
ret = mt9m111->hdl.error;
drivers/media/i2c/mt9m114.c
1451
if (hdl->error) {
drivers/media/i2c/mt9m114.c
1452
ret = hdl->error;
drivers/media/i2c/mt9m114.c
1453
goto error;
drivers/media/i2c/mt9m114.c
1460
goto error;
drivers/media/i2c/mt9m114.c
1472
error:
drivers/media/i2c/mt9m114.c
2184
if (hdl->error) {
drivers/media/i2c/mt9m114.c
2185
ret = hdl->error;
drivers/media/i2c/mt9m114.c
2186
goto error;
drivers/media/i2c/mt9m114.c
2194
goto error;
drivers/media/i2c/mt9m114.c
2198
error:
drivers/media/i2c/mt9m114.c
2480
goto error;
drivers/media/i2c/mt9m114.c
2492
goto error;
drivers/media/i2c/mt9m114.c
2508
error:
drivers/media/i2c/mt9m114.c
964
goto error;
drivers/media/i2c/mt9m114.c
968
goto error;
drivers/media/i2c/mt9m114.c
972
goto error;
drivers/media/i2c/mt9m114.c
976
goto error;
drivers/media/i2c/mt9m114.c
980
goto error;
drivers/media/i2c/mt9m114.c
984
goto error;
drivers/media/i2c/mt9m114.c
992
goto error;
drivers/media/i2c/mt9m114.c
998
error:
drivers/media/i2c/mt9p031.c
1158
if (mt9p031->ctrls.error) {
drivers/media/i2c/mt9p031.c
1160
__func__, mt9p031->ctrls.error);
drivers/media/i2c/mt9p031.c
1161
ret = mt9p031->ctrls.error;
drivers/media/i2c/mt9v011.c
540
if (core->ctrls.error) {
drivers/media/i2c/mt9v011.c
541
int ret = core->ctrls.error;
drivers/media/i2c/mt9v032.c
1146
if (mt9v032->ctrls.error) {
drivers/media/i2c/mt9v032.c
1148
mt9v032->ctrls.error);
drivers/media/i2c/mt9v032.c
1149
ret = mt9v032->ctrls.error;
drivers/media/i2c/mt9v111.c
1195
if (mt9v111->ctrls.error) {
drivers/media/i2c/mt9v111.c
1196
ret = mt9v111->ctrls.error;
drivers/media/i2c/og01a1b.c
672
if (ctrl_hdlr->error)
drivers/media/i2c/og01a1b.c
673
return ctrl_hdlr->error;
drivers/media/i2c/og0ve1b.c
385
if (ctrl_hdlr->error)
drivers/media/i2c/og0ve1b.c
386
return ctrl_hdlr->error;
drivers/media/i2c/og0ve1b.c
437
goto error;
drivers/media/i2c/og0ve1b.c
444
goto error;
drivers/media/i2c/og0ve1b.c
449
goto error;
drivers/media/i2c/og0ve1b.c
455
goto error;
drivers/media/i2c/og0ve1b.c
460
error:
drivers/media/i2c/os05b10.c
947
if (ctrl_hdlr->error) {
drivers/media/i2c/os05b10.c
948
ret = ctrl_hdlr->error;
drivers/media/i2c/os05b10.c
950
goto error;
drivers/media/i2c/os05b10.c
955
goto error;
drivers/media/i2c/os05b10.c
960
goto error;
drivers/media/i2c/os05b10.c
966
error:
drivers/media/i2c/ov01a10.c
497
if (ctrl_hdlr->error) {
drivers/media/i2c/ov01a10.c
498
ret = ctrl_hdlr->error;
drivers/media/i2c/ov02a10.c
789
if (handler->error) {
drivers/media/i2c/ov02a10.c
790
ret = handler->error;
drivers/media/i2c/ov02c10.c
567
if (ctrl_hdlr->error)
drivers/media/i2c/ov02c10.c
568
return ctrl_hdlr->error;
drivers/media/i2c/ov02e10.c
451
if (ctrl_hdlr->error)
drivers/media/i2c/ov02e10.c
452
return ctrl_hdlr->error;
drivers/media/i2c/ov08d10.c
997
if (ctrl_hdlr->error)
drivers/media/i2c/ov08d10.c
998
return ctrl_hdlr->error;
drivers/media/i2c/ov08x40.c
2158
if (ctrl_hdlr->error) {
drivers/media/i2c/ov08x40.c
2159
ret = ctrl_hdlr->error;
drivers/media/i2c/ov08x40.c
2162
goto error;
drivers/media/i2c/ov08x40.c
2167
goto error;
drivers/media/i2c/ov08x40.c
2172
goto error;
drivers/media/i2c/ov08x40.c
2178
error:
drivers/media/i2c/ov13858.c
1625
if (ctrl_hdlr->error) {
drivers/media/i2c/ov13858.c
1626
ret = ctrl_hdlr->error;
drivers/media/i2c/ov13858.c
1629
goto error;
drivers/media/i2c/ov13858.c
1634
goto error;
drivers/media/i2c/ov13858.c
1639
goto error;
drivers/media/i2c/ov13858.c
1645
error:
drivers/media/i2c/ov13b10.c
1440
if (ctrl_hdlr->error) {
drivers/media/i2c/ov13b10.c
1441
ret = ctrl_hdlr->error;
drivers/media/i2c/ov13b10.c
1444
goto error;
drivers/media/i2c/ov13b10.c
1449
goto error;
drivers/media/i2c/ov13b10.c
1454
goto error;
drivers/media/i2c/ov13b10.c
1460
error:
drivers/media/i2c/ov2640.c
1232
if (priv->hdl.error) {
drivers/media/i2c/ov2640.c
1233
ret = priv->hdl.error;
drivers/media/i2c/ov2659.c
1474
if (ov2659->ctrls.error) {
drivers/media/i2c/ov2659.c
1476
__func__, ov2659->ctrls.error);
drivers/media/i2c/ov2659.c
1478
return ov2659->ctrls.error;
drivers/media/i2c/ov2659.c
1506
goto error;
drivers/media/i2c/ov2659.c
1510
goto error;
drivers/media/i2c/ov2659.c
1517
goto error;
drivers/media/i2c/ov2659.c
1527
error:
drivers/media/i2c/ov2680.c
1014
if (hdl->error) {
drivers/media/i2c/ov2680.c
1015
ret = hdl->error;
drivers/media/i2c/ov2685.c
725
if (handler->error) {
drivers/media/i2c/ov2685.c
726
ret = handler->error;
drivers/media/i2c/ov2735.c
543
if (ctrl_hdlr->error) {
drivers/media/i2c/ov2735.c
544
ret = ctrl_hdlr->error;
drivers/media/i2c/ov2740.c
830
if (ctrl_hdlr->error) {
drivers/media/i2c/ov2740.c
832
return ctrl_hdlr->error;
drivers/media/i2c/ov4689.c
781
if (handler->error) {
drivers/media/i2c/ov4689.c
782
ret = handler->error;
drivers/media/i2c/ov5640.c
3510
if (hdl->error) {
drivers/media/i2c/ov5640.c
3511
ret = hdl->error;
drivers/media/i2c/ov5645.c
1107
if (ov5645->ctrls.error) {
drivers/media/i2c/ov5645.c
1108
ret = ov5645->ctrls.error;
drivers/media/i2c/ov5647.c
1118
if (sensor->ctrls.error)
drivers/media/i2c/ov5647.c
1127
__func__, sensor->ctrls.error);
drivers/media/i2c/ov5647.c
1130
return sensor->ctrls.error;
drivers/media/i2c/ov5648.c
2111
if (handler->error) {
drivers/media/i2c/ov5648.c
2112
ret = handler->error;
drivers/media/i2c/ov5670.c
2175
if (ctrl_hdlr->error) {
drivers/media/i2c/ov5670.c
2176
ret = ctrl_hdlr->error;
drivers/media/i2c/ov5670.c
2177
goto error;
drivers/media/i2c/ov5670.c
2182
goto error;
drivers/media/i2c/ov5670.c
2187
goto error;
drivers/media/i2c/ov5670.c
2193
error:
drivers/media/i2c/ov5670.c
2475
goto error;
drivers/media/i2c/ov5670.c
2482
error:
drivers/media/i2c/ov5675.c
837
if (ctrl_hdlr->error) {
drivers/media/i2c/ov5675.c
839
return ctrl_hdlr->error;
drivers/media/i2c/ov5675.c
844
goto error;
drivers/media/i2c/ov5675.c
849
goto error;
drivers/media/i2c/ov5675.c
855
error:
drivers/media/i2c/ov5693.c
1158
if (ctrls->handler.error) {
drivers/media/i2c/ov5693.c
1160
ret = ctrls->handler.error;
drivers/media/i2c/ov5695.c
1205
if (handler->error) {
drivers/media/i2c/ov5695.c
1206
ret = handler->error;
drivers/media/i2c/ov6211.c
363
if (ctrl_hdlr->error)
drivers/media/i2c/ov6211.c
364
return ctrl_hdlr->error;
drivers/media/i2c/ov6211.c
415
goto error;
drivers/media/i2c/ov6211.c
422
goto error;
drivers/media/i2c/ov6211.c
427
goto error;
drivers/media/i2c/ov6211.c
433
goto error;
drivers/media/i2c/ov6211.c
438
error:
drivers/media/i2c/ov64a40.c
3401
if (hdlr->error) {
drivers/media/i2c/ov64a40.c
3402
ret = hdlr->error;
drivers/media/i2c/ov7251.c
1621
if (ov7251->ctrls.error) {
drivers/media/i2c/ov7251.c
1623
return ov7251->ctrls.error;
drivers/media/i2c/ov7670.c
1937
if (info->hdl.error) {
drivers/media/i2c/ov7670.c
1938
ret = info->hdl.error;
drivers/media/i2c/ov772x.c
1247
goto error;
drivers/media/i2c/ov772x.c
1258
goto error;
drivers/media/i2c/ov772x.c
1263
error:
drivers/media/i2c/ov772x.c
1477
if (priv->hdl.error) {
drivers/media/i2c/ov772x.c
1478
ret = priv->hdl.error;
drivers/media/i2c/ov772x.c
760
goto error;
drivers/media/i2c/ov772x.c
773
goto error;
drivers/media/i2c/ov772x.c
780
error:
drivers/media/i2c/ov7740.c
1004
goto error;
drivers/media/i2c/ov7740.c
1010
error:
drivers/media/i2c/ov7740.c
781
goto error;
drivers/media/i2c/ov7740.c
787
goto error;
drivers/media/i2c/ov7740.c
797
goto error;
drivers/media/i2c/ov7740.c
805
error:
drivers/media/i2c/ov7740.c
993
if (ctrl_hdlr->error) {
drivers/media/i2c/ov7740.c
994
ret = ctrl_hdlr->error;
drivers/media/i2c/ov7740.c
997
goto error;
drivers/media/i2c/ov8856.c
1954
if (ctrl_hdlr->error)
drivers/media/i2c/ov8856.c
1955
return ctrl_hdlr->error;
drivers/media/i2c/ov8858.c
1753
if (handler->error) {
drivers/media/i2c/ov8858.c
1754
ret = handler->error;
drivers/media/i2c/ov8865.c
2588
if (handler->error) {
drivers/media/i2c/ov8865.c
2589
ret = handler->error;
drivers/media/i2c/ov9282.c
1538
if (ctrl_hdlr->error || ret) {
drivers/media/i2c/ov9282.c
1540
ctrl_hdlr->error);
drivers/media/i2c/ov9282.c
1542
return ctrl_hdlr->error;
drivers/media/i2c/ov9640.c
714
if (priv->hdl.error) {
drivers/media/i2c/ov9640.c
715
ret = priv->hdl.error;
drivers/media/i2c/ov9650.c
1040
if (hdl->error) {
drivers/media/i2c/ov9650.c
1041
ret = hdl->error;
drivers/media/i2c/ov9734.c
597
if (ctrl_hdlr->error)
drivers/media/i2c/ov9734.c
598
return ctrl_hdlr->error;
drivers/media/i2c/rdacm20.c
589
goto error;
drivers/media/i2c/rdacm20.c
595
goto error;
drivers/media/i2c/rdacm20.c
607
ret = dev->ctrls.error;
drivers/media/i2c/rdacm20.c
625
error:
drivers/media/i2c/rdacm21.c
567
goto error;
drivers/media/i2c/rdacm21.c
579
ret = dev->ctrls.error;
drivers/media/i2c/rdacm21.c
597
error:
drivers/media/i2c/rj54n1cb0c.c
1333
if (rj54n1->hdl.error) {
drivers/media/i2c/rj54n1cb0c.c
1334
ret = rj54n1->hdl.error;
drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c
537
if (hdl->error) {
drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c
538
ret = hdl->error;
drivers/media/i2c/s5k3m5.c
885
goto error;
drivers/media/i2c/s5k3m5.c
901
goto error;
drivers/media/i2c/s5k3m5.c
910
goto error;
drivers/media/i2c/s5k3m5.c
914
error:
drivers/media/i2c/s5k3m5.c
994
if (s5k3m5->sd.ctrl_handler->error)
drivers/media/i2c/s5k3m5.c
995
return s5k3m5->sd.ctrl_handler->error;
drivers/media/i2c/s5k5baf.c
1688
if (hdl->error) {
drivers/media/i2c/s5k5baf.c
1690
hdl->error);
drivers/media/i2c/s5k5baf.c
1691
ret = hdl->error;
drivers/media/i2c/s5k5baf.c
299
int error;
drivers/media/i2c/s5k5baf.c
424
if (state->error)
drivers/media/i2c/s5k5baf.c
435
state->error = ret;
drivers/media/i2c/s5k5baf.c
446
if (state->error)
drivers/media/i2c/s5k5baf.c
454
state->error = ret;
drivers/media/i2c/s5k5baf.c
477
if (state->error)
drivers/media/i2c/s5k5baf.c
496
state->error = ret;
drivers/media/i2c/s5k5baf.c
540
if (state->error || !reg)
drivers/media/i2c/s5k5baf.c
546
state->error = -ETIMEDOUT;
drivers/media/i2c/s5k5baf.c
594
if (!state->error && status) {
drivers/media/i2c/s5k5baf.c
596
state->error = -EINVAL;
drivers/media/i2c/s5k5baf.c
655
if (state->error)
drivers/media/i2c/s5k5baf.c
748
int ret = state->error;
drivers/media/i2c/s5k5baf.c
750
state->error = 0;
drivers/media/i2c/s5k5baf.c
789
if (state->error)
drivers/media/i2c/s5k5baf.c
795
if (state->error)
drivers/media/i2c/s5k5baf.c
809
state->error = -EINVAL;
drivers/media/i2c/s5k5baf.c
813
state->error = -ERANGE;
drivers/media/i2c/s5k5baf.c
821
if (state->error)
drivers/media/i2c/s5k5baf.c
830
if (!state->error)
drivers/media/i2c/s5k5baf.c
836
state->error = -EINVAL;
drivers/media/i2c/s5k5baf.c
885
state->error = -EINVAL;
drivers/media/i2c/s5kjn1.c
1021
if (s5kjn1->sd.ctrl_handler->error)
drivers/media/i2c/s5kjn1.c
1022
return s5kjn1->sd.ctrl_handler->error;
drivers/media/i2c/s5kjn1.c
914
goto error;
drivers/media/i2c/s5kjn1.c
920
goto error;
drivers/media/i2c/s5kjn1.c
930
goto error;
drivers/media/i2c/s5kjn1.c
937
goto error;
drivers/media/i2c/s5kjn1.c
941
error:
drivers/media/i2c/saa6752hs.c
752
if (hdl->error) {
drivers/media/i2c/saa6752hs.c
753
int err = hdl->error;
drivers/media/i2c/saa7110.c
393
if (decoder->hdl.error) {
drivers/media/i2c/saa7110.c
394
int err = decoder->hdl.error;
drivers/media/i2c/saa7115.c
1866
if (hdl->error) {
drivers/media/i2c/saa7115.c
1867
int err = hdl->error;
drivers/media/i2c/saa717x.c
1292
if (hdl->error) {
drivers/media/i2c/saa717x.c
1293
int err = hdl->error;
drivers/media/i2c/st-mipid02.c
454
goto error;
drivers/media/i2c/st-mipid02.c
459
goto error;
drivers/media/i2c/st-mipid02.c
466
goto error;
drivers/media/i2c/st-mipid02.c
470
error:
drivers/media/i2c/st-mipid02.c
530
goto error;
drivers/media/i2c/st-mipid02.c
535
goto error;
drivers/media/i2c/st-mipid02.c
539
error:
drivers/media/i2c/st-mipid02.c
721
goto error;
drivers/media/i2c/st-mipid02.c
764
error:
drivers/media/i2c/st-mipid02.c
782
goto error;
drivers/media/i2c/st-mipid02.c
798
error:
drivers/media/i2c/tc358743.c
217
int error;
drivers/media/i2c/tc358743.c
220
error = i2c_rd(sd, reg, (u8 __force *)&val, n);
drivers/media/i2c/tc358743.c
222
*err = error;
drivers/media/i2c/tc358743.c
2231
if (state->hdl.error) {
drivers/media/i2c/tc358743.c
2232
err = state->hdl.error;
drivers/media/i2c/tc358746.c
1431
err = tc358746->ctrl_hdl.error;
drivers/media/i2c/tda1997x.c
2745
if (hdl->error) {
drivers/media/i2c/tda1997x.c
2746
ret = hdl->error;
drivers/media/i2c/tda7432.c
371
if (t->hdl.error) {
drivers/media/i2c/tda7432.c
372
int err = t->hdl.error;
drivers/media/i2c/thp7312.c
1326
goto error;
drivers/media/i2c/thp7312.c
1332
goto error;
drivers/media/i2c/thp7312.c
1350
if (hdl->error) {
drivers/media/i2c/thp7312.c
1352
ret = hdl->error;
drivers/media/i2c/thp7312.c
1353
goto error;
drivers/media/i2c/thp7312.c
1360
error:
drivers/media/i2c/thp7312.c
1909
goto error;
drivers/media/i2c/thp7312.c
1917
goto error;
drivers/media/i2c/thp7312.c
1923
error:
drivers/media/i2c/thp7312.c
620
goto error;
drivers/media/i2c/thp7312.c
624
goto error;
drivers/media/i2c/thp7312.c
628
error:
drivers/media/i2c/ths8200.c
449
int error;
drivers/media/i2c/ths8200.c
467
error = v4l2_async_register_subdev(&state->sd);
drivers/media/i2c/ths8200.c
468
if (error)
drivers/media/i2c/ths8200.c
469
return error;
drivers/media/i2c/tlv320aic23b.c
169
if (state->hdl.error) {
drivers/media/i2c/tlv320aic23b.c
170
int err = state->hdl.error;
drivers/media/i2c/tvaudio.c
2039
if (chip->hdl.error) {
drivers/media/i2c/tvaudio.c
2040
int err = chip->hdl.error;
drivers/media/i2c/tvp514x.c
1098
if (decoder->hdl.error) {
drivers/media/i2c/tvp514x.c
1099
ret = decoder->hdl.error;
drivers/media/i2c/tvp5150.c
2202
if (core->hdl.error) {
drivers/media/i2c/tvp5150.c
2203
res = core->hdl.error;
drivers/media/i2c/tvp7002.c
1001
error = tvp7002_write(sd, TVP7002_SYNC_CTL_1, polarity_a);
drivers/media/i2c/tvp7002.c
1002
if (error < 0)
drivers/media/i2c/tvp7002.c
1003
return error;
drivers/media/i2c/tvp7002.c
1008
error = tvp7002_write(sd, TVP7002_MISC_CTL_3, polarity_b);
drivers/media/i2c/tvp7002.c
1009
if (error < 0)
drivers/media/i2c/tvp7002.c
1010
return error;
drivers/media/i2c/tvp7002.c
1014
error = tvp7002_s_dv_timings(sd, 0, &timings);
drivers/media/i2c/tvp7002.c
1021
error = media_entity_pads_init(&device->sd.entity, 1, &device->pad);
drivers/media/i2c/tvp7002.c
1022
if (error < 0)
drivers/media/i2c/tvp7002.c
1023
return error;
drivers/media/i2c/tvp7002.c
1030
if (device->hdl.error) {
drivers/media/i2c/tvp7002.c
1031
error = device->hdl.error;
drivers/media/i2c/tvp7002.c
1032
goto error;
drivers/media/i2c/tvp7002.c
1036
error = v4l2_async_register_subdev(&device->sd);
drivers/media/i2c/tvp7002.c
1037
if (error)
drivers/media/i2c/tvp7002.c
1038
goto error;
drivers/media/i2c/tvp7002.c
1042
error:
drivers/media/i2c/tvp7002.c
1047
return error;
drivers/media/i2c/tvp7002.c
446
int error;
drivers/media/i2c/tvp7002.c
449
error = i2c_smbus_read_byte_data(c, addr);
drivers/media/i2c/tvp7002.c
451
if (error >= 0) {
drivers/media/i2c/tvp7002.c
452
*dst = (u8)error;
drivers/media/i2c/tvp7002.c
458
v4l2_err(sd, "TVP7002 read error %d\n", error);
drivers/media/i2c/tvp7002.c
459
return error;
drivers/media/i2c/tvp7002.c
492
int error;
drivers/media/i2c/tvp7002.c
497
error = i2c_smbus_write_byte_data(c, addr, value);
drivers/media/i2c/tvp7002.c
499
if (error >= 0)
drivers/media/i2c/tvp7002.c
505
v4l2_err(sd, "TVP7002 write error %d\n", error);
drivers/media/i2c/tvp7002.c
506
return error;
drivers/media/i2c/tvp7002.c
537
int error = 0;
drivers/media/i2c/tvp7002.c
542
tvp7002_write_err(sd, regs->reg, regs->value, &error);
drivers/media/i2c/tvp7002.c
546
return error;
drivers/media/i2c/tvp7002.c
594
int error = 0;
drivers/media/i2c/tvp7002.c
598
tvp7002_write_err(sd, TVP7002_R_FINE_GAIN, ctrl->val, &error);
drivers/media/i2c/tvp7002.c
599
tvp7002_write_err(sd, TVP7002_G_FINE_GAIN, ctrl->val, &error);
drivers/media/i2c/tvp7002.c
600
tvp7002_write_err(sd, TVP7002_B_FINE_GAIN, ctrl->val, &error);
drivers/media/i2c/tvp7002.c
601
return error;
drivers/media/i2c/tvp7002.c
620
int error = 0;
drivers/media/i2c/tvp7002.c
630
tvp7002_read_err(sd, TVP7002_L_FRAME_STAT_LSBS, &lpf_lsb, &error);
drivers/media/i2c/tvp7002.c
631
tvp7002_read_err(sd, TVP7002_L_FRAME_STAT_MSBS, &lpf_msb, &error);
drivers/media/i2c/tvp7002.c
633
if (error < 0)
drivers/media/i2c/tvp7002.c
634
return error;
drivers/media/i2c/tvp7002.c
636
tvp7002_read_err(sd, TVP7002_CLK_L_STAT_LSBS, &cpl_lsb, &error);
drivers/media/i2c/tvp7002.c
637
tvp7002_read_err(sd, TVP7002_CLK_L_STAT_MSBS, &cpl_msb, &error);
drivers/media/i2c/tvp7002.c
639
if (error < 0)
drivers/media/i2c/tvp7002.c
640
return error;
drivers/media/i2c/tvp7002.c
733
int error;
drivers/media/i2c/tvp7002.c
739
error = tvp7002_write(sd, TVP7002_MISC_CTL_2, enable ? 0x00 : 0x03);
drivers/media/i2c/tvp7002.c
740
if (error) {
drivers/media/i2c/tvp7002.c
742
return error;
drivers/media/i2c/tvp7002.c
957
int error;
drivers/media/i2c/tvp7002.c
983
error = tvp7002_read(sd, TVP7002_CHIP_REV, &revision);
drivers/media/i2c/tvp7002.c
984
if (error < 0)
drivers/media/i2c/tvp7002.c
985
return error;
drivers/media/i2c/tvp7002.c
993
error = tvp7002_write_inittab(sd, tvp7002_init_default);
drivers/media/i2c/tvp7002.c
995
if (error < 0)
drivers/media/i2c/tvp7002.c
996
return error;
drivers/media/i2c/tw2804.c
395
err = state->hdl.error;
drivers/media/i2c/tw9900.c
698
if (hdl->error) {
drivers/media/i2c/tw9900.c
699
ret = hdl->error;
drivers/media/i2c/tw9903.c
219
if (hdl->error) {
drivers/media/i2c/tw9903.c
220
int err = hdl->error;
drivers/media/i2c/tw9906.c
187
if (hdl->error) {
drivers/media/i2c/tw9906.c
188
int err = hdl->error;
drivers/media/i2c/vd56g3.c
719
if (hdl->error) {
drivers/media/i2c/vd56g3.c
720
ret = hdl->error;
drivers/media/i2c/vgxy61.c
1384
if (hdl->error) {
drivers/media/i2c/vgxy61.c
1385
ret = hdl->error;
drivers/media/i2c/vpx3220.c
490
if (decoder->hdl.error) {
drivers/media/i2c/vpx3220.c
491
int err = decoder->hdl.error;
drivers/media/i2c/wm8739.c
206
if (state->hdl.error) {
drivers/media/i2c/wm8739.c
207
int err = state->hdl.error;
drivers/media/i2c/wm8775.c
229
err = state->hdl.error;
drivers/media/mc/mc-entity.c
828
goto error;
drivers/media/mc/mc-entity.c
866
goto error;
drivers/media/mc/mc-entity.c
887
goto error;
drivers/media/mc/mc-entity.c
898
error:
drivers/media/pci/b2c2/flexcop-pci.c
189
goto error;
drivers/media/pci/b2c2/flexcop-pci.c
230
error:
drivers/media/pci/bt8xx/bttv-driver.c
3398
if (hdl->error) {
drivers/media/pci/bt8xx/bttv-driver.c
3399
result = hdl->error;
drivers/media/pci/bt8xx/bttv-driver.c
3409
if (btv->radio_ctrl_handler.error) {
drivers/media/pci/bt8xx/bttv-driver.c
3410
result = btv->radio_ctrl_handler.error;
drivers/media/pci/bt8xx/dst.c
1193
goto error;
drivers/media/pci/bt8xx/dst.c
1199
goto error;
drivers/media/pci/bt8xx/dst.c
1201
goto error;
drivers/media/pci/bt8xx/dst.c
1205
goto error;
drivers/media/pci/bt8xx/dst.c
1213
goto error;
drivers/media/pci/bt8xx/dst.c
1215
goto error;
drivers/media/pci/bt8xx/dst.c
1219
goto error;
drivers/media/pci/bt8xx/dst.c
1222
goto error;
drivers/media/pci/bt8xx/dst.c
1228
goto error;
drivers/media/pci/bt8xx/dst.c
1233
goto error;
drivers/media/pci/bt8xx/dst.c
1235
goto error;
drivers/media/pci/bt8xx/dst.c
1239
goto error;
drivers/media/pci/bt8xx/dst.c
1244
error:
drivers/media/pci/bt8xx/dst.c
1364
goto error;
drivers/media/pci/bt8xx/dst.c
1383
goto error;
drivers/media/pci/bt8xx/dst.c
1387
goto error;
drivers/media/pci/bt8xx/dst.c
1391
goto error;
drivers/media/pci/bt8xx/dst.c
1399
error:
drivers/media/pci/bt8xx/dst_ca.c
100
error:
drivers/media/pci/bt8xx/dst_ca.c
75
goto error;
drivers/media/pci/bt8xx/dst_ca.c
79
goto error;
drivers/media/pci/bt8xx/dst_ca.c
84
goto error;
drivers/media/pci/bt8xx/dst_ca.c
89
goto error;
drivers/media/pci/bt8xx/dst_ca.c
94
goto error;
drivers/media/pci/cx18/cx18-av-core.c
1346
if (state->hdl.error) {
drivers/media/pci/cx18/cx18-av-core.c
1347
int err = state->hdl.error;
drivers/media/pci/cx18/cx18-mailbox.c
113
name, mb->request, mb->ack, mb->cmd, mb->error,
drivers/media/pci/cx18/cx18-mailbox.c
659
cx18_writel(cx, 0, &mb->error);
drivers/media/pci/cx18/cx18-mailbox.c
712
err = cx18_readl(cx, &mb->error);
drivers/media/pci/cx18/cx18-mailbox.h
65
u32 error;
drivers/media/pci/cx23885/cx23885-alsa.c
387
goto error;
drivers/media/pci/cx23885/cx23885-alsa.c
391
goto error;
drivers/media/pci/cx23885/cx23885-alsa.c
397
goto error;
drivers/media/pci/cx23885/cx23885-alsa.c
411
error:
drivers/media/pci/cx23885/cx23885-alsa.c
565
goto error;
drivers/media/pci/cx23885/cx23885-alsa.c
573
goto error;
drivers/media/pci/cx23885/cx23885-alsa.c
579
error:
drivers/media/pci/cx23885/cx23885-core.c
2139
if (hdl->error) {
drivers/media/pci/cx23885/cx23885-core.c
2140
err = hdl->error;
drivers/media/pci/cx25821/cx25821-alsa.c
528
goto error;
drivers/media/pci/cx25821/cx25821-alsa.c
532
goto error;
drivers/media/pci/cx25821/cx25821-alsa.c
539
goto error;
drivers/media/pci/cx25821/cx25821-alsa.c
553
error:
drivers/media/pci/cx25821/cx25821-alsa.c
738
goto error;
drivers/media/pci/cx25821/cx25821-alsa.c
745
goto error;
drivers/media/pci/cx25821/cx25821-alsa.c
760
goto error;
drivers/media/pci/cx25821/cx25821-alsa.c
767
error:
drivers/media/pci/cx25821/cx25821-medusa-video.c
660
goto error;
drivers/media/pci/cx25821/cx25821-medusa-video.c
668
goto error;
drivers/media/pci/cx25821/cx25821-medusa-video.c
686
goto error;
drivers/media/pci/cx25821/cx25821-medusa-video.c
694
goto error;
drivers/media/pci/cx25821/cx25821-medusa-video.c
703
goto error;
drivers/media/pci/cx25821/cx25821-medusa-video.c
725
goto error;
drivers/media/pci/cx25821/cx25821-medusa-video.c
729
error:
drivers/media/pci/cx25821/cx25821-video.c
695
if (hdl->error) {
drivers/media/pci/cx25821/cx25821-video.c
696
err = hdl->error;
drivers/media/pci/cx88/cx88-alsa.c
478
goto error;
drivers/media/pci/cx88/cx88-alsa.c
482
goto error;
drivers/media/pci/cx88/cx88-alsa.c
488
goto error;
drivers/media/pci/cx88/cx88-alsa.c
500
error:
drivers/media/pci/cx88/cx88-alsa.c
940
goto error;
drivers/media/pci/cx88/cx88-alsa.c
944
goto error;
drivers/media/pci/cx88/cx88-alsa.c
948
goto error;
drivers/media/pci/cx88/cx88-alsa.c
951
goto error;
drivers/media/pci/cx88/cx88-alsa.c
954
goto error;
drivers/media/pci/cx88/cx88-alsa.c
960
goto error;
drivers/media/pci/cx88/cx88-alsa.c
975
goto error;
drivers/media/pci/cx88/cx88-alsa.c
981
error:
drivers/media/pci/cx88/cx88-video.c
1322
err = core->audio_hdl.error;
drivers/media/pci/cx88/cx88-video.c
1336
err = core->video_hdl.error;
drivers/media/pci/ddbridge/ddbridge-core.c
3405
int ddb_exit_ddbridge(int stage, int error)
drivers/media/pci/ddbridge/ddbridge-core.c
3417
return error;
drivers/media/pci/ddbridge/ddbridge.h
370
int ddb_exit_ddbridge(int stage, int error);
drivers/media/pci/intel/ipu6/ipu6-dma.c
78
goto error;
drivers/media/pci/intel/ipu6/ipu6-dma.c
93
error:
drivers/media/pci/intel/ipu6/ipu6-fw-isys.c
40
resp->request_id, resp->error_info.error,
drivers/media/pci/intel/ipu6/ipu6-fw-isys.h
470
u32 error;
drivers/media/pci/intel/ipu6/ipu6-fw-isys.h
505
u32 error;
drivers/media/pci/intel/ipu6/ipu6-isys-queue.c
813
bool err = info->error_info.error == IPU6_FW_ISYS_ERROR_HW_REPORTED_STR2MMIO;
drivers/media/pci/intel/ipu6/ipu6-isys-subdev.c
364
if (asd->ctrl_handler.error) {
drivers/media/pci/intel/ipu6/ipu6-isys-subdev.c
365
ret = asd->ctrl_handler.error;
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
580
if (stream->error) {
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
581
dev_err(dev, "stream open error: %d\n", stream->error);
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
626
if (stream->error) {
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
627
dev_err(dev, "stream start error: %d\n", stream->error);
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
650
else if (stream->error)
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
651
dev_err(dev, "stream close error: %d\n", stream->error);
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
681
else if (stream->error)
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
682
dev_warn(dev, "stream stop error: %d\n", stream->error);
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
706
else if (stream->error)
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
707
dev_warn(dev, "stream close error: %d\n", stream->error);
drivers/media/pci/intel/ipu6/ipu6-isys-video.h
65
int error;
drivers/media/pci/intel/ipu6/ipu6-isys.c
1229
if (resp->error_info.error == IPU6_FW_ISYS_ERROR_STREAM_IN_SUSPENSION)
drivers/media/pci/intel/ipu6/ipu6-isys.c
1234
else if (resp->error_info.error)
drivers/media/pci/intel/ipu6/ipu6-isys.c
1237
resp->error_info.error, resp->error_info.error_details);
drivers/media/pci/intel/ipu6/ipu6-isys.c
1251
stream->error = resp->error_info.error;
drivers/media/pci/intel/ipu6/ipu6-mmu.c
336
goto error;
drivers/media/pci/intel/ipu6/ipu6-mmu.c
345
goto error;
drivers/media/pci/intel/ipu6/ipu6-mmu.c
386
error:
drivers/media/pci/intel/ivsc/mei_csi.c
562
if (csi->ctrl_handler.error)
drivers/media/pci/intel/ivsc/mei_csi.c
563
return csi->ctrl_handler.error;
drivers/media/pci/ivtv/ivtv-driver.c
1189
if (hdl->error) {
drivers/media/pci/ivtv/ivtv-driver.c
1190
retval = hdl->error;
drivers/media/pci/ivtv/ivtv-gpio.c
350
if (itv->hdl_gpio.error)
drivers/media/pci/ivtv/ivtv-gpio.c
351
return itv->hdl_gpio.error;
drivers/media/pci/saa7134/saa7134-empress.c
262
if (hdl->error) {
drivers/media/pci/saa7134/saa7134-empress.c
264
return hdl->error;
drivers/media/pci/saa7134/saa7134-video.c
1668
if (hdl->error)
drivers/media/pci/saa7134/saa7134-video.c
1669
return hdl->error;
drivers/media/pci/saa7134/saa7134-video.c
1675
if (hdl->error)
drivers/media/pci/saa7134/saa7134-video.c
1676
return hdl->error;
drivers/media/pci/saa7146/mxb.c
227
if (hdl->error)
drivers/media/pci/saa7146/mxb.c
228
return hdl->error;
drivers/media/pci/saa7164/saa7164-encoder.c
1060
if (hdl->error) {
drivers/media/pci/saa7164/saa7164-encoder.c
1061
result = hdl->error;
drivers/media/pci/solo6x10/solo6x10-p2m.c
105
if (WARN_ON_ONCE(p2m_dev->error))
drivers/media/pci/solo6x10/solo6x10-p2m.c
190
p2m_dev->error = 1;
drivers/media/pci/solo6x10/solo6x10-p2m.c
75
p2m_dev->error = 0;
drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c
1242
if (hdl->error) {
drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c
1243
ret = hdl->error;
drivers/media/pci/solo6x10/solo6x10-v4l2.c
189
int error = -1;
drivers/media/pci/solo6x10/solo6x10-v4l2.c
204
error = 0;
drivers/media/pci/solo6x10/solo6x10-v4l2.c
209
error = solo_p2m_dma_t(solo_dev, 0, addr, fdma_addr,
drivers/media/pci/solo6x10/solo6x10-v4l2.c
215
if (!error) {
drivers/media/pci/solo6x10/solo6x10-v4l2.c
222
vb2_buffer_done(vb, error ? VB2_BUF_STATE_ERROR : VB2_BUF_STATE_DONE);
drivers/media/pci/solo6x10/solo6x10-v4l2.c
655
if (solo_dev->disp_hdl.error) {
drivers/media/pci/solo6x10/solo6x10-v4l2.c
656
ret = solo_dev->disp_hdl.error;
drivers/media/pci/solo6x10/solo6x10.h
124
int error;
drivers/media/pci/ttpci/budget-av.c
358
goto error;
drivers/media/pci/ttpci/budget-av.c
364
error:
drivers/media/pci/ttpci/budget-ci.c
165
int error;
drivers/media/pci/ttpci/budget-ci.c
226
error = rc_register_device(dev);
drivers/media/pci/ttpci/budget-ci.c
227
if (error) {
drivers/media/pci/ttpci/budget-ci.c
228
pr_err("could not init driver for IR device (code %d)\n", error);
drivers/media/pci/ttpci/budget-ci.c
230
return error;
drivers/media/pci/ttpci/budget-ci.c
454
goto error;
drivers/media/pci/ttpci/budget-ci.c
490
goto error;
drivers/media/pci/ttpci/budget-ci.c
521
error:
drivers/media/pci/tw5864/tw5864-video.c
1151
if (hdl->error) {
drivers/media/pci/tw5864/tw5864-video.c
1152
ret = hdl->error;
drivers/media/pci/tw68/tw68-video.c
923
if (hdl->error) {
drivers/media/pci/tw68/tw68-video.c
925
return hdl->error;
drivers/media/pci/tw686x/tw686x-video.c
1201
goto error;
drivers/media/pci/tw686x/tw686x-video.c
1208
goto error;
drivers/media/pci/tw686x/tw686x-video.c
1233
goto error;
drivers/media/pci/tw686x/tw686x-video.c
1240
goto error;
drivers/media/pci/tw686x/tw686x-video.c
1250
err = vc->ctrl_handler.error;
drivers/media/pci/tw686x/tw686x-video.c
1252
goto error;
drivers/media/pci/tw686x/tw686x-video.c
1256
goto error;
drivers/media/pci/tw686x/tw686x-video.c
1263
goto error;
drivers/media/pci/tw686x/tw686x-video.c
1284
goto error;
drivers/media/pci/tw686x/tw686x-video.c
1304
error:
drivers/media/platform/allegro-dvt/allegro-core.c
2278
channel->error = err;
drivers/media/platform/allegro-dvt/allegro-core.c
2663
channel->error = -ETIMEDOUT;
drivers/media/platform/allegro-dvt/allegro-core.c
2666
if (channel->error)
drivers/media/platform/allegro-dvt/allegro-core.c
2678
return channel->error;
drivers/media/platform/allegro-dvt/allegro-core.c
302
unsigned int error;
drivers/media/platform/allegro-dvt/allegro-core.c
3255
if (handler->error != 0) {
drivers/media/platform/allegro-dvt/allegro-core.c
3256
ret = handler->error;
drivers/media/platform/allegro-dvt/allegro-core.c
3257
goto error;
drivers/media/platform/allegro-dvt/allegro-core.c
3277
goto error;
drivers/media/platform/allegro-dvt/allegro-core.c
3290
error:
drivers/media/platform/allegro-dvt/nal-h264.c
105
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-h264.c
129
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-h264.c
203
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-h264.c
235
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-h264.c
255
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-h264.c
334
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-h264.c
376
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-h264.c
377
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-h264.c
413
if (rbsp.error ||
drivers/media/platform/allegro-dvt/nal-h264.c
423
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-h264.c
424
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-h264.c
43
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-h264.c
468
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-h264.c
469
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-h264.c
505
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-h264.c
506
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-h264.c
590
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-h264.c
591
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-h264.c
600
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-h264.c
601
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-h264.c
61
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-h264.c
66
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-h264.c
90
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-hevc.c
268
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-hevc.c
44
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-hevc.c
545
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-hevc.c
546
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-hevc.c
584
if (rbsp.error ||
drivers/media/platform/allegro-dvt/nal-hevc.c
593
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-hevc.c
594
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-hevc.c
62
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-hevc.c
640
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-hevc.c
641
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-hevc.c
67
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-hevc.c
679
if (rbsp.error ||
drivers/media/platform/allegro-dvt/nal-hevc.c
688
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-hevc.c
689
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-hevc.c
735
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-hevc.c
736
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-hevc.c
779
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-hevc.c
780
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-hevc.c
826
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-hevc.c
827
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-hevc.c
870
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-hevc.c
871
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-hevc.c
879
if (rbsp.error)
drivers/media/platform/allegro-dvt/nal-hevc.c
880
return rbsp.error;
drivers/media/platform/allegro-dvt/nal-hevc.c
91
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-rbsp.c
276
if (rbsp->error)
drivers/media/platform/allegro-dvt/nal-rbsp.c
278
rbsp->error = rbsp->ops->rbsp_bit(rbsp, value);
drivers/media/platform/allegro-dvt/nal-rbsp.c
283
if (rbsp->error)
drivers/media/platform/allegro-dvt/nal-rbsp.c
285
rbsp->error = rbsp->ops->rbsp_bits(rbsp, n, value);
drivers/media/platform/allegro-dvt/nal-rbsp.c
29
rbsp->error = 0;
drivers/media/platform/allegro-dvt/nal-rbsp.c
290
if (rbsp->error)
drivers/media/platform/allegro-dvt/nal-rbsp.c
292
rbsp->error = rbsp->ops->rbsp_uev(rbsp, value);
drivers/media/platform/allegro-dvt/nal-rbsp.c
297
if (rbsp->error)
drivers/media/platform/allegro-dvt/nal-rbsp.c
299
rbsp->error = rbsp->ops->rbsp_sev(rbsp, value);
drivers/media/platform/allegro-dvt/nal-rbsp.c
34
rbsp->error = -EINVAL;
drivers/media/platform/allegro-dvt/nal-rbsp.h
44
int error;
drivers/media/platform/amlogic/meson-ge2d/ge2d.c
807
if (ctx->ctrl_handler.error) {
drivers/media/platform/amlogic/meson-ge2d/ge2d.c
808
int err = ctx->ctrl_handler.error;
drivers/media/platform/amphion/vdec.c
1689
goto error;
drivers/media/platform/amphion/vdec.c
1700
goto error;
drivers/media/platform/amphion/vdec.c
1714
goto error;
drivers/media/platform/amphion/vdec.c
1721
goto error;
drivers/media/platform/amphion/vdec.c
1727
error:
drivers/media/platform/amphion/vdec.c
282
if (inst->ctrl_handler.error) {
drivers/media/platform/amphion/vdec.c
283
ret = inst->ctrl_handler.error;
drivers/media/platform/amphion/venc.c
681
if (inst->ctrl_handler.error) {
drivers/media/platform/amphion/venc.c
682
ret = inst->ctrl_handler.error;
drivers/media/platform/amphion/venc.c
934
goto error;
drivers/media/platform/amphion/venc.c
942
goto error;
drivers/media/platform/amphion/venc.c
947
goto error;
drivers/media/platform/amphion/venc.c
953
goto error;
drivers/media/platform/amphion/venc.c
962
goto error;
drivers/media/platform/amphion/venc.c
966
goto error;
drivers/media/platform/amphion/venc.c
980
error:
drivers/media/platform/amphion/vpu_core.c
271
goto error;
drivers/media/platform/amphion/vpu_core.c
276
goto error;
drivers/media/platform/amphion/vpu_core.c
283
error:
drivers/media/platform/amphion/vpu_mbox.c
76
goto error;
drivers/media/platform/amphion/vpu_mbox.c
79
goto error;
drivers/media/platform/amphion/vpu_mbox.c
82
goto error;
drivers/media/platform/amphion/vpu_mbox.c
86
error:
drivers/media/platform/amphion/vpu_v4l2.c
754
goto error;
drivers/media/platform/amphion/vpu_v4l2.c
760
goto error;
drivers/media/platform/amphion/vpu_v4l2.c
780
error:
drivers/media/platform/arm/mali-c55/mali-c55-isp.c
588
if (handler->error) {
drivers/media/platform/arm/mali-c55/mali-c55-isp.c
590
ret = handler->error;
drivers/media/platform/arm/mali-c55/mali-c55-tpg.c
350
if (ctrls->handler.error) {
drivers/media/platform/arm/mali-c55/mali-c55-tpg.c
353
return ctrls->handler.error;
drivers/media/platform/aspeed/aspeed-video.c
2150
rc = hdl->error;
drivers/media/platform/broadcom/bcm2835-unicam.c
2528
goto error;
drivers/media/platform/broadcom/bcm2835-unicam.c
2542
goto error;
drivers/media/platform/broadcom/bcm2835-unicam.c
2550
goto error;
drivers/media/platform/broadcom/bcm2835-unicam.c
2567
goto error;
drivers/media/platform/broadcom/bcm2835-unicam.c
2582
goto error;
drivers/media/platform/broadcom/bcm2835-unicam.c
2591
goto error;
drivers/media/platform/broadcom/bcm2835-unicam.c
2596
error:
drivers/media/platform/chips-media/coda/coda-bit.c
2495
decoded_frame->error = err_mb;
drivers/media/platform/chips-media/coda/coda-bit.c
2553
if (ready_frame->error || err_vdoa)
drivers/media/platform/chips-media/coda/coda-common.c
2519
if (ctx->ctrls.error) {
drivers/media/platform/chips-media/coda/coda-common.c
2522
ctx->ctrls.error);
drivers/media/platform/chips-media/coda/coda.h
220
u32 error;
drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c
1878
if (inst->v4l2_ctrl_hdl.error) {
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c
1744
if (v4l2_ctrl_hdl->error) {
drivers/media/platform/imagination/e5010-jpeg-enc.c
655
if (ctx->ctrl_handler.error) {
drivers/media/platform/imagination/e5010-jpeg-enc.c
656
err = ctx->ctrl_handler.error;
drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c
1174
goto error;
drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c
1181
goto error;
drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c
1191
error:
drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c
181
if (handler->error) {
drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c
183
return handler->error;
drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.c
1011
ctx->ctrls_rdy = ctx->ctrl_handler.error == 0;
drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.c
1013
if (ctx->ctrl_handler.error) {
drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.c
1014
int err = ctx->ctrl_handler.error;
drivers/media/platform/mediatek/mdp3/mtk-mdp3-m2m.c
550
if (ctx->ctrl_handler.error) {
drivers/media/platform/mediatek/mdp3/mtk-mdp3-m2m.c
551
int err = ctx->ctrl_handler.error;
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec.c
835
buf_error = buf->error;
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec.h
59
bool error;
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.h
117
void (*cap_to_disp)(struct mtk_vcodec_dec_ctx *ctx, int error,
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_pm.c
84
goto error;
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_pm.c
89
error:
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.c
375
src_buf_info->error = true;
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.c
572
if (ctx->ctrl_hdl.error) {
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.c
573
mtk_v4l2_vdec_err(ctx, "Adding control failed %d", ctx->ctrl_hdl.error);
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.c
574
return ctx->ctrl_hdl.error;
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c
252
static void mtk_vdec_stateless_cap_to_disp(struct mtk_vcodec_dec_ctx *ctx, int error,
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c
259
if (error)
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c
381
dec_buf_src->error = true;
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c
711
if (ctx->ctrl_hdl.error) {
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c
713
return ctx->ctrl_hdl.error;
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c
722
if (ctx->ctrl_hdl.error) {
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c
724
ctx->ctrl_hdl.error);
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c
725
return ctx->ctrl_hdl.error;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp8_if.c
476
goto error;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp8_if.c
498
goto error;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp8_if.c
505
error:
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp8_req_if.c
365
goto error;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp8_req_if.c
370
goto error;
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp8_req_if.c
396
error:
drivers/media/platform/mediatek/vcodec/decoder/vdec_vpu_if.c
120
goto error;
drivers/media/platform/mediatek/vcodec/decoder/vdec_vpu_if.c
125
goto error;
drivers/media/platform/mediatek/vcodec/decoder/vdec_vpu_if.c
148
error:
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c
1354
if (handler->error) {
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c
1355
mtk_v4l2_venc_err(ctx, "Init control handler fail %d", handler->error);
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c
1356
return handler->error;
drivers/media/platform/mediatek/vcodec/encoder/venc_vpu_if.c
106
error:
drivers/media/platform/mediatek/vcodec/encoder/venc_vpu_if.c
81
goto error;
drivers/media/platform/mediatek/vcodec/encoder/venc_vpu_if.c
87
goto error;
drivers/media/platform/microchip/microchip-isc-base.c
1644
ret = hdl->error;
drivers/media/platform/nuvoton/npcm-video.c
1598
if (video->ctrl_handler.error) {
drivers/media/platform/nuvoton/npcm-video.c
1600
video->ctrl_handler.error);
drivers/media/platform/nuvoton/npcm-video.c
1602
rc = video->ctrl_handler.error;
drivers/media/platform/nvidia/tegra-vde/v4l2.c
778
if (ctx->hdl.error) {
drivers/media/platform/nvidia/tegra-vde/v4l2.c
779
err = ctx->hdl.error;
drivers/media/platform/nxp/dw100/dw100.c
636
if (hdl->error) {
drivers/media/platform/nxp/dw100/dw100.c
639
ret = hdl->error;
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
2182
if (ctx->ctrl_handler.error) {
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
2183
err = ctx->ctrl_handler.error;
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
2222
goto error;
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
2245
error:
drivers/media/platform/nxp/imx-pxp.c
1664
if (hdl->error) {
drivers/media/platform/nxp/imx-pxp.c
1665
rc = hdl->error;
drivers/media/platform/nxp/imx7-media-csi.c
2090
goto error;
drivers/media/platform/nxp/imx7-media-csi.c
2101
goto error;
drivers/media/platform/nxp/imx7-media-csi.c
2108
goto error;
drivers/media/platform/nxp/imx7-media-csi.c
2112
error:
drivers/media/platform/nxp/imx7-media-csi.c
2187
goto error;
drivers/media/platform/nxp/imx7-media-csi.c
2191
goto error;
drivers/media/platform/nxp/imx7-media-csi.c
2195
goto error;
drivers/media/platform/nxp/imx7-media-csi.c
2199
error:
drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c
456
if (handler->error) {
drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c
457
ret = handler->error;
drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c
787
goto error;
drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c
791
goto error;
drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c
799
goto error;
drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c
806
goto error;
drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c
811
error:
drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c
1009
goto error;
drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c
1013
error:
drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c
1097
if (handler->error) {
drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c
1098
ret = handler->error;
drivers/media/platform/qcom/camss/camss-csid.c
1370
if (csid->ctrls.error) {
drivers/media/platform/qcom/camss/camss-csid.c
1371
dev_err(dev, "Failed to init ctrl: %d\n", csid->ctrls.error);
drivers/media/platform/qcom/camss/camss-csid.c
1372
ret = csid->ctrls.error;
drivers/media/platform/qcom/camss/camss-ispif.c
1403
goto error;
drivers/media/platform/qcom/camss/camss-ispif.c
1416
goto error;
drivers/media/platform/qcom/camss/camss-ispif.c
1424
goto error;
drivers/media/platform/qcom/camss/camss-ispif.c
1430
error:
drivers/media/platform/qcom/camss/camss-vfe-17x.c
398
goto error;
drivers/media/platform/qcom/camss/camss-vfe-17x.c
419
error:
drivers/media/platform/qcom/camss/camss-vfe-gen1.c
295
goto error;
drivers/media/platform/qcom/camss/camss-vfe-gen1.c
332
error:
drivers/media/platform/qcom/camss/camss-vfe.c
663
goto error;
drivers/media/platform/qcom/camss/camss-vfe.c
681
error:
drivers/media/platform/qcom/camss/camss-vfe.c
839
goto error;
drivers/media/platform/qcom/camss/camss-vfe.c
849
error:
drivers/media/platform/qcom/camss/camss-video.c
260
goto error;
drivers/media/platform/qcom/camss/camss-video.c
277
goto error;
drivers/media/platform/qcom/camss/camss-video.c
282
error:
drivers/media/platform/qcom/camss/camss.c
4227
goto error;
drivers/media/platform/qcom/camss/camss.c
4233
error:
drivers/media/platform/qcom/iris/iris_common.c
220
goto error;
drivers/media/platform/qcom/iris/iris_common.c
224
goto error;
drivers/media/platform/qcom/iris/iris_common.c
230
error:
drivers/media/platform/qcom/iris/iris_core.c
57
goto error;
drivers/media/platform/qcom/iris/iris_core.c
64
goto error;
drivers/media/platform/qcom/iris/iris_core.c
92
error:
drivers/media/platform/qcom/iris/iris_ctrls.c
284
goto error;
drivers/media/platform/qcom/iris/iris_ctrls.c
305
goto error;
drivers/media/platform/qcom/iris/iris_ctrls.c
319
ret = inst->ctrl_handler.error;
drivers/media/platform/qcom/iris/iris_ctrls.c
321
goto error;
drivers/media/platform/qcom/iris/iris_ctrls.c
324
error:
drivers/media/platform/qcom/iris/iris_hfi_common.c
128
goto error;
drivers/media/platform/qcom/iris/iris_hfi_common.c
133
goto error;
drivers/media/platform/qcom/iris/iris_hfi_common.c
139
error:
drivers/media/platform/qcom/iris/iris_hfi_common.c
152
goto error;
drivers/media/platform/qcom/iris/iris_hfi_common.c
172
error:
drivers/media/platform/qcom/iris/iris_hfi_gen1_defines.h
451
u32 error;
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c
363
goto error;
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c
383
error:
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c
444
goto error;
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c
473
goto error;
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c
531
error:
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
239
char *error;
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
243
error = "exceeded max sessions";
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
246
error = "unknown session id";
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
249
error = "invalid operation for current state";
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
252
error = "insufficient resources";
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
255
error = "internal buffers not set";
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
258
error = "fatal error";
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
261
error = "unsupported stream";
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
264
error = "unknown";
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
268
dev_err(core->dev, "session error received %#x: %s\n", pkt->type, error);
drivers/media/platform/qcom/iris/iris_vb2.c
164
goto error;
drivers/media/platform/qcom/iris/iris_vb2.c
170
goto error;
drivers/media/platform/qcom/iris/iris_vb2.c
177
goto error;
drivers/media/platform/qcom/iris/iris_vb2.c
191
goto error;
drivers/media/platform/qcom/iris/iris_vb2.c
213
goto error;
drivers/media/platform/qcom/iris/iris_vb2.c
219
error:
drivers/media/platform/qcom/iris/iris_vdec.c
396
goto error;
drivers/media/platform/qcom/iris/iris_vdec.c
400
goto error;
drivers/media/platform/qcom/iris/iris_vdec.c
404
error:
drivers/media/platform/qcom/iris/iris_venc.c
525
goto error;
drivers/media/platform/qcom/iris/iris_venc.c
535
goto error;
drivers/media/platform/qcom/iris/iris_venc.c
539
goto error;
drivers/media/platform/qcom/iris/iris_venc.c
543
goto error;
drivers/media/platform/qcom/iris/iris_venc.c
547
goto error;
drivers/media/platform/qcom/iris/iris_venc.c
551
error:
drivers/media/platform/qcom/venus/core.h
224
unsigned int error;
drivers/media/platform/qcom/venus/core.h
511
unsigned int error;
drivers/media/platform/qcom/venus/firmware.c
293
goto error;
drivers/media/platform/qcom/venus/firmware.c
296
error:
drivers/media/platform/qcom/venus/helpers.c
360
goto error;
drivers/media/platform/qcom/venus/helpers.c
365
error:
drivers/media/platform/qcom/venus/hfi.c
149
if (inst->error != HFI_ERR_NONE)
drivers/media/platform/qcom/venus/hfi.c
73
if (core->error != HFI_ERR_NONE) {
drivers/media/platform/qcom/venus/hfi.h
59
u32 error;
drivers/media/platform/qcom/venus/hfi_msgs.c
106
goto error;
drivers/media/platform/qcom/venus/hfi_msgs.c
114
goto error;
drivers/media/platform/qcom/venus/hfi_msgs.c
121
goto error;
drivers/media/platform/qcom/venus/hfi_msgs.c
129
goto error;
drivers/media/platform/qcom/venus/hfi_msgs.c
140
goto error;
drivers/media/platform/qcom/venus/hfi_msgs.c
158
error:
drivers/media/platform/qcom/venus/hfi_msgs.c
159
inst->error = HFI_ERR_SESSION_INSUFFICIENT_RESOURCES;
drivers/media/platform/qcom/venus/hfi_msgs.c
178
inst->error = HFI_ERR_NONE;
drivers/media/platform/qcom/venus/hfi_msgs.c
212
inst->error = HFI_ERR_NONE;
drivers/media/platform/qcom/venus/hfi_msgs.c
219
inst->error = pkt->event_data1;
drivers/media/platform/qcom/venus/hfi_msgs.c
258
u32 error;
drivers/media/platform/qcom/venus/hfi_msgs.c
260
error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
261
if (error != HFI_ERR_NONE)
drivers/media/platform/qcom/venus/hfi_msgs.c
265
error = HFI_ERR_SYS_INVALID_PARAMETER;
drivers/media/platform/qcom/venus/hfi_msgs.c
272
error = HFI_ERR_SYS_INSUFFICIENT_RESOURCES;
drivers/media/platform/qcom/venus/hfi_msgs.c
276
error = hfi_parser(core, inst, pkt->data, rem_bytes);
drivers/media/platform/qcom/venus/hfi_msgs.c
279
core->error = error;
drivers/media/platform/qcom/venus/hfi_msgs.c
369
core->error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
378
core->error = HFI_ERR_NONE;
drivers/media/platform/qcom/venus/hfi_msgs.c
381
core->error = HFI_ERR_SYS_FATAL;
drivers/media/platform/qcom/venus/hfi_msgs.c
40
inst->error = HFI_ERR_NONE;
drivers/media/platform/qcom/venus/hfi_msgs.c
459
unsigned int error = HFI_ERR_NONE;
drivers/media/platform/qcom/venus/hfi_msgs.c
462
error = HFI_ERR_SESSION_INVALID_PARAMETER;
drivers/media/platform/qcom/venus/hfi_msgs.c
47
inst->error = HFI_ERR_SESSION_INVALID_PARAMETER;
drivers/media/platform/qcom/venus/hfi_msgs.c
470
error = session_get_prop_buf_req(pkt, hprop->bufreq);
drivers/media/platform/qcom/venus/hfi_msgs.c
474
error = session_get_prop_profile_level(pkt,
drivers/media/platform/qcom/venus/hfi_msgs.c
485
inst->error = error;
drivers/media/platform/qcom/venus/hfi_msgs.c
494
u32 error;
drivers/media/platform/qcom/venus/hfi_msgs.c
496
error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
497
if (error != HFI_ERR_NONE)
drivers/media/platform/qcom/venus/hfi_msgs.c
505
error = HFI_ERR_SESSION_INSUFFICIENT_RESOURCES;
drivers/media/platform/qcom/venus/hfi_msgs.c
509
error = hfi_parser(core, inst, pkt->data, rem_bytes);
drivers/media/platform/qcom/venus/hfi_msgs.c
511
inst->error = error;
drivers/media/platform/qcom/venus/hfi_msgs.c
520
inst->error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
529
inst->error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
540
inst->error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
551
unsigned int error;
drivers/media/platform/qcom/venus/hfi_msgs.c
56
goto error;
drivers/media/platform/qcom/venus/hfi_msgs.c
567
error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
585
error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
587
error = HFI_ERR_SESSION_INVALID_PARAMETER;
drivers/media/platform/qcom/venus/hfi_msgs.c
621
inst->error = error;
drivers/media/platform/qcom/venus/hfi_msgs.c
63
goto error;
drivers/media/platform/qcom/venus/hfi_msgs.c
631
inst->error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
640
inst->error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
649
inst->error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
658
inst->error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
667
inst->error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
676
inst->error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
685
inst->error = pkt->error_type;
drivers/media/platform/qcom/venus/hfi_msgs.c
72
goto error;
drivers/media/platform/qcom/venus/hfi_msgs.c
81
goto error;
drivers/media/platform/qcom/venus/hfi_msgs.c
90
goto error;
drivers/media/platform/qcom/venus/hfi_msgs.c
98
goto error;
drivers/media/platform/qcom/venus/vdec.c
1198
goto error;
drivers/media/platform/qcom/venus/vdec.c
1206
goto error;
drivers/media/platform/qcom/venus/vdec.c
1212
goto error;
drivers/media/platform/qcom/venus/vdec.c
1219
error:
drivers/media/platform/qcom/venus/vdec.c
1584
dev_err(dev, "dec: event session error %x\n", inst->error);
drivers/media/platform/qcom/venus/vdec.c
673
goto error;
drivers/media/platform/qcom/venus/vdec.c
678
error:
drivers/media/platform/qcom/venus/vdec_ctrls.c
182
ret = inst->ctrl_handler.error;
drivers/media/platform/qcom/venus/venc.c
1273
goto error;
drivers/media/platform/qcom/venus/venc.c
1281
goto error;
drivers/media/platform/qcom/venus/venc.c
1285
goto error;
drivers/media/platform/qcom/venus/venc.c
1289
goto error;
drivers/media/platform/qcom/venus/venc.c
1294
goto error;
drivers/media/platform/qcom/venus/venc.c
1298
goto error;
drivers/media/platform/qcom/venus/venc.c
1308
error:
drivers/media/platform/qcom/venus/venc.c
1398
dev_err(dev, "enc: event session error %x\n", inst->error);
drivers/media/platform/qcom/venus/venc.c
646
goto error;
drivers/media/platform/qcom/venus/venc.c
651
error:
drivers/media/platform/qcom/venus/venc_ctrls.c
728
ret = inst->ctrl_handler.error;
drivers/media/platform/raspberrypi/pisp_be/pisp_be.c
1511
goto error;
drivers/media/platform/raspberrypi/pisp_be/pisp_be.c
1515
goto error;
drivers/media/platform/raspberrypi/pisp_be/pisp_be.c
1519
error:
drivers/media/platform/renesas/rcar-vin/rcar-core.c
510
if (vin->ctrl_handler.error) {
drivers/media/platform/renesas/rcar-vin/rcar-core.c
511
ret = vin->ctrl_handler.error;
drivers/media/platform/renesas/rcar-vin/rcar-dma.c
1481
goto error;
drivers/media/platform/renesas/rcar-vin/rcar-dma.c
1489
goto error;
drivers/media/platform/renesas/rcar-vin/rcar-dma.c
1493
error:
drivers/media/platform/renesas/rcar_drif.c
1153
goto error;
drivers/media/platform/renesas/rcar_drif.c
1160
goto error;
drivers/media/platform/renesas/rcar_drif.c
1165
goto error;
drivers/media/platform/renesas/rcar_drif.c
1169
error:
drivers/media/platform/renesas/rcar_drif.c
1339
goto error;
drivers/media/platform/renesas/rcar_drif.c
1354
error:
drivers/media/platform/renesas/rcar_drif.c
407
goto error;
drivers/media/platform/renesas/rcar_drif.c
417
error:
drivers/media/platform/renesas/rcar_drif.c
781
goto error;
drivers/media/platform/renesas/rcar_drif.c
791
goto error;
drivers/media/platform/renesas/rcar_drif.c
804
goto error;
drivers/media/platform/renesas/rcar_drif.c
809
goto error;
drivers/media/platform/renesas/rcar_drif.c
814
goto error;
drivers/media/platform/renesas/rcar_drif.c
820
error:
drivers/media/platform/renesas/rcar_fdp1.c
2112
if (ctx->hdl.error) {
drivers/media/platform/renesas/rcar_fdp1.c
2113
ret = ctx->hdl.error;
drivers/media/platform/renesas/rcar_jpu.c
1532
unsigned char error = jpu_read(jpu, JCDERR) & JCDERR_MASK;
drivers/media/platform/renesas/rcar_jpu.c
1534
dev_dbg(jpu->dev, "processing error: %#X: %s\n", error,
drivers/media/platform/renesas/rcar_jpu.c
1535
error_to_text[error]);
drivers/media/platform/renesas/rcar_jpu.c
963
if (ctx->ctrl_handler.error) {
drivers/media/platform/renesas/rcar_jpu.c
964
ret = ctx->ctrl_handler.error;
drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c
886
goto error;
drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c
891
error:
drivers/media/platform/renesas/vsp1/vsp1_brx.c
442
if (brx->ctrls.error) {
drivers/media/platform/renesas/vsp1/vsp1_brx.c
444
ret = brx->ctrls.error;
drivers/media/platform/renesas/vsp1/vsp1_clu.c
274
if (clu->ctrls.error) {
drivers/media/platform/renesas/vsp1/vsp1_clu.c
276
ret = clu->ctrls.error;
drivers/media/platform/renesas/vsp1/vsp1_histo.c
545
goto error;
drivers/media/platform/renesas/vsp1/vsp1_histo.c
553
goto error;
drivers/media/platform/renesas/vsp1/vsp1_histo.c
558
error:
drivers/media/platform/renesas/vsp1/vsp1_lut.c
232
if (lut->ctrls.error) {
drivers/media/platform/renesas/vsp1/vsp1_lut.c
234
ret = lut->ctrls.error;
drivers/media/platform/renesas/vsp1/vsp1_rpf.c
446
goto error;
drivers/media/platform/renesas/vsp1/vsp1_rpf.c
453
error:
drivers/media/platform/renesas/vsp1/vsp1_rwpf.c
320
return rwpf->ctrls.error;
drivers/media/platform/renesas/vsp1/vsp1_sru.c
387
if (sru->ctrls.error) {
drivers/media/platform/renesas/vsp1/vsp1_sru.c
389
ret = sru->ctrls.error;
drivers/media/platform/renesas/vsp1/vsp1_video.c
1290
goto error;
drivers/media/platform/renesas/vsp1/vsp1_video.c
1298
goto error;
drivers/media/platform/renesas/vsp1/vsp1_video.c
1303
error:
drivers/media/platform/renesas/vsp1/vsp1_wpf.c
180
if (wpf->ctrls.error)
drivers/media/platform/renesas/vsp1/vsp1_wpf.c
181
return wpf->ctrls.error;
drivers/media/platform/renesas/vsp1/vsp1_wpf.c
592
goto error;
drivers/media/platform/renesas/vsp1/vsp1_wpf.c
600
goto error;
drivers/media/platform/renesas/vsp1/vsp1_wpf.c
607
error:
drivers/media/platform/rockchip/rga/rga.c
176
if (ctx->ctrl_handler.error) {
drivers/media/platform/rockchip/rga/rga.c
177
int err = ctx->ctrl_handler.error;
drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c
1567
goto error;
drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c
1574
goto error;
drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c
1580
goto error;
drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c
1588
error:
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
438
goto error;
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
442
goto error;
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
446
goto error;
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
450
goto error;
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
454
goto error;
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
459
goto error;
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
464
goto error;
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
468
error:
drivers/media/platform/rockchip/rkisp1/rkisp1-params.c
2792
if (params->ctrls.error) {
drivers/media/platform/rockchip/rkisp1/rkisp1-params.c
2793
ret = params->ctrls.error;
drivers/media/platform/rockchip/rkisp1/rkisp1-stats.c
441
goto error;
drivers/media/platform/rockchip/rkisp1/rkisp1-stats.c
447
goto error;
drivers/media/platform/rockchip/rkisp1/rkisp1-stats.c
452
error:
drivers/media/platform/rockchip/rkvdec/rkvdec.c
1243
if (ctx->ctrl_hdl.error)
drivers/media/platform/rockchip/rkvdec/rkvdec.c
1244
return ctx->ctrl_hdl.error;
drivers/media/platform/samsung/exynos-gsc/gsc-core.c
777
ctx->ctrls_rdy = ctx->ctrl_handler.error == 0;
drivers/media/platform/samsung/exynos-gsc/gsc-core.c
779
if (ctx->ctrl_handler.error) {
drivers/media/platform/samsung/exynos-gsc/gsc-core.c
780
int err = ctx->ctrl_handler.error;
drivers/media/platform/samsung/exynos4-is/fimc-core.c
606
if (!handler->error) {
drivers/media/platform/samsung/exynos4-is/fimc-core.c
611
return handler->error;
drivers/media/platform/samsung/exynos4-is/fimc-is-errno.c
15
const char *fimc_is_strerr(unsigned int error)
drivers/media/platform/samsung/exynos4-is/fimc-is-errno.c
17
error &= ~IS_ERROR_TIME_OUT_FLAG;
drivers/media/platform/samsung/exynos4-is/fimc-is-errno.c
19
switch (error) {
drivers/media/platform/samsung/exynos4-is/fimc-is-errno.h
242
const char *fimc_is_strerr(unsigned int error);
drivers/media/platform/samsung/exynos4-is/fimc-isp.c
761
if (handler->error) {
drivers/media/platform/samsung/exynos4-is/fimc-isp.c
763
return handler->error;
drivers/media/platform/samsung/exynos4-is/fimc-lite.c
1401
if (handler->error) {
drivers/media/platform/samsung/exynos4-is/fimc-lite.c
1403
return handler->error;
drivers/media/platform/samsung/exynos4-is/media-dev.c
174
goto error;
drivers/media/platform/samsung/exynos4-is/media-dev.c
177
error:
drivers/media/platform/samsung/exynos4-is/media-dev.c
351
goto error;
drivers/media/platform/samsung/exynos4-is/media-dev.c
355
error:
drivers/media/platform/samsung/s3c-camif/camif-capture.c
1153
ret = vp->ctrl_handler.error;
drivers/media/platform/samsung/s3c-camif/camif-capture.c
1574
if (handler->error) {
drivers/media/platform/samsung/s3c-camif/camif-capture.c
1577
return handler->error;
drivers/media/platform/samsung/s5p-g2d/g2d.c
222
if (ctx->ctrl_handler.error) {
drivers/media/platform/samsung/s5p-g2d/g2d.c
223
int err = ctx->ctrl_handler.error;
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
1002
error:
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
1968
if (ctx->ctrl_handler.error) {
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
1969
ret = ctx->ctrl_handler.error;
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
989
goto error;
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
997
goto error;
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.c
1194
if (ctx->ctrl_handler.error) {
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.c
1196
return ctx->ctrl_handler.error;
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.c
1222
if (ctx->ctrl_handler.error) {
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.c
1224
return ctx->ctrl_handler.error;
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.c
2686
if (ctx->ctrl_handler.error) {
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.c
2688
return ctx->ctrl_handler.error;
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.c
2730
if (ctx->ctrl_handler.error) {
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.c
2732
return ctx->ctrl_handler.error;
drivers/media/platform/st/sti/bdisp/bdisp-v4l2.c
423
if (ctx->ctrl_handler.error) {
drivers/media/platform/st/sti/bdisp/bdisp-v4l2.c
424
int err = ctx->ctrl_handler.error;
drivers/media/platform/st/sti/hva/hva-v4l2.c
783
if (ctx->ctrl_handler.error) {
drivers/media/platform/st/sti/hva/hva-v4l2.c
784
int err = ctx->ctrl_handler.error;
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c
439
bool error)
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c
458
vb2_buffer_done(vb2_buffer, error ? VB2_BUF_STATE_ERROR :
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c
466
vb2_buffer_done(vb2_buffer, error ? VB2_BUF_STATE_ERROR :
drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c
624
if (ctx->ctrl_handler.error) {
drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c
625
int err = ctx->ctrl_handler.error;
drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c
2736
if (hdl->error) {
drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c
2737
ret = hdl->error;
drivers/media/platform/ti/cal/cal-video.c
1093
goto error;
drivers/media/platform/ti/cal/cal-video.c
1101
error:
drivers/media/platform/ti/cal/cal.c
889
goto error;
drivers/media/platform/ti/cal/cal.c
898
goto error;
drivers/media/platform/ti/cal/cal.c
903
error:
drivers/media/platform/ti/davinci/vpif_display.c
1013
goto error;
drivers/media/platform/ti/davinci/vpif_display.c
1019
goto error;
drivers/media/platform/ti/davinci/vpif_display.c
1024
error:
drivers/media/platform/ti/omap/omap_vout.c
1362
if (hdl->error)
drivers/media/platform/ti/omap/omap_vout.c
1363
return hdl->error;
drivers/media/platform/ti/omap/omap_vout.c
1490
goto error;
drivers/media/platform/ti/omap/omap_vout.c
1525
error:
drivers/media/platform/ti/omap3isp/isp.c
1950
goto error;
drivers/media/platform/ti/omap3isp/isp.c
1955
error:
drivers/media/platform/ti/omap3isp/isp.c
2263
goto error;
drivers/media/platform/ti/omap3isp/isp.c
2271
goto error;
drivers/media/platform/ti/omap3isp/isp.c
2277
goto error;
drivers/media/platform/ti/omap3isp/isp.c
2297
goto error;
drivers/media/platform/ti/omap3isp/isp.c
2303
goto error;
drivers/media/platform/ti/omap3isp/isp.c
2307
goto error;
drivers/media/platform/ti/omap3isp/isp.c
2317
goto error;
drivers/media/platform/ti/omap3isp/isp.c
2412
error:
drivers/media/platform/ti/omap3isp/isp.c
547
pipe->error = true;
drivers/media/platform/ti/omap3isp/isp.c
553
pipe->error = true;
drivers/media/platform/ti/omap3isp/isp.c
559
pipe->error = true;
drivers/media/platform/ti/omap3isp/isp.c
565
pipe->error = true;
drivers/media/platform/ti/omap3isp/isp.c
574
pipe->error = true;
drivers/media/platform/ti/omap3isp/ispccdc.c
1496
pipe->error = true;
drivers/media/platform/ti/omap3isp/ispccdc.c
2633
goto error;
drivers/media/platform/ti/omap3isp/ispccdc.c
2637
goto error;
drivers/media/platform/ti/omap3isp/ispccdc.c
2641
error:
drivers/media/platform/ti/omap3isp/ispccdc.c
2693
goto error;
drivers/media/platform/ti/omap3isp/ispccdc.c
2697
error:
drivers/media/platform/ti/omap3isp/ispccp2.c
1045
goto error;
drivers/media/platform/ti/omap3isp/ispccp2.c
1049
goto error;
drivers/media/platform/ti/omap3isp/ispccp2.c
1053
error:
drivers/media/platform/ti/omap3isp/ispccp2.c
1116
goto error;
drivers/media/platform/ti/omap3isp/ispccp2.c
1120
error:
drivers/media/platform/ti/omap3isp/ispccp2.c
587
pipe->error = true;
drivers/media/platform/ti/omap3isp/ispccp2.c
593
pipe->error = true;
drivers/media/platform/ti/omap3isp/ispcsi2.c
1212
goto error;
drivers/media/platform/ti/omap3isp/ispcsi2.c
1216
goto error;
drivers/media/platform/ti/omap3isp/ispcsi2.c
1220
error:
drivers/media/platform/ti/omap3isp/ispcsi2.c
757
pipe->error = true;
drivers/media/platform/ti/omap3isp/ispcsi2.c
777
pipe->error = true;
drivers/media/platform/ti/omap3isp/isphist.c
183
goto error;
drivers/media/platform/ti/omap3isp/isphist.c
200
goto error;
drivers/media/platform/ti/omap3isp/isphist.c
209
goto error;
drivers/media/platform/ti/omap3isp/isphist.c
217
goto error;
drivers/media/platform/ti/omap3isp/isphist.c
224
error:
drivers/media/platform/ti/omap3isp/isppreview.c
2235
goto error;
drivers/media/platform/ti/omap3isp/isppreview.c
2239
goto error;
drivers/media/platform/ti/omap3isp/isppreview.c
2243
goto error;
drivers/media/platform/ti/omap3isp/isppreview.c
2247
error:
drivers/media/platform/ti/omap3isp/ispresizer.c
1694
goto error;
drivers/media/platform/ti/omap3isp/ispresizer.c
1698
goto error;
drivers/media/platform/ti/omap3isp/ispresizer.c
1702
goto error;
drivers/media/platform/ti/omap3isp/ispresizer.c
1706
error:
drivers/media/platform/ti/omap3isp/ispvideo.c
1203
pipe->error = false;
drivers/media/platform/ti/omap3isp/ispvideo.c
1297
video->error = false;
drivers/media/platform/ti/omap3isp/ispvideo.c
365
if (unlikely(video->error))
drivers/media/platform/ti/omap3isp/ispvideo.c
410
if (unlikely(video->error)) {
drivers/media/platform/ti/omap3isp/ispvideo.c
561
if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE && pipe->error) {
drivers/media/platform/ti/omap3isp/ispvideo.c
563
pipe->error = false;
drivers/media/platform/ti/omap3isp/ispvideo.c
619
video->error = true;
drivers/media/platform/ti/omap3isp/ispvideo.h
175
bool error;
drivers/media/platform/ti/omap3isp/ispvideo.h
95
bool error;
drivers/media/platform/ti/vpe/vpe.c
2310
if (hdl->error) {
drivers/media/platform/ti/vpe/vpe.c
2311
ret = hdl->error;
drivers/media/platform/verisilicon/hantro_drv.c
611
if (ctx->ctrl_handler.error) {
drivers/media/platform/verisilicon/hantro_drv.c
614
ctx->ctrl_handler.error);
drivers/media/platform/verisilicon/hantro_drv.c
616
return ctx->ctrl_handler.error;
drivers/media/platform/xilinx/xilinx-csi2rxss.c
986
goto error;
drivers/media/platform/xilinx/xilinx-csi2rxss.c
993
goto error;
drivers/media/platform/xilinx/xilinx-csi2rxss.c
997
error:
drivers/media/platform/xilinx/xilinx-dma.c
394
goto error;
drivers/media/platform/xilinx/xilinx-dma.c
420
error:
drivers/media/platform/xilinx/xilinx-dma.c
657
goto error;
drivers/media/platform/xilinx/xilinx-dma.c
702
goto error;
drivers/media/platform/xilinx/xilinx-dma.c
711
goto error;
drivers/media/platform/xilinx/xilinx-dma.c
719
goto error;
drivers/media/platform/xilinx/xilinx-dma.c
724
error:
drivers/media/platform/xilinx/xilinx-tpg.c
832
goto error;
drivers/media/platform/xilinx/xilinx-tpg.c
850
if (xtpg->ctrl_handler.error) {
drivers/media/platform/xilinx/xilinx-tpg.c
852
ret = xtpg->ctrl_handler.error;
drivers/media/platform/xilinx/xilinx-tpg.c
853
goto error;
drivers/media/platform/xilinx/xilinx-tpg.c
862
goto error;
drivers/media/platform/xilinx/xilinx-tpg.c
872
goto error;
drivers/media/platform/xilinx/xilinx-tpg.c
877
error:
drivers/media/platform/xilinx/xilinx-vipp.c
585
goto error;
drivers/media/platform/xilinx/xilinx-vipp.c
593
error:
drivers/media/radio/dsbr100.c
365
if (radio->hdl.error) {
drivers/media/radio/dsbr100.c
366
retval = radio->hdl.error;
drivers/media/radio/radio-cadet.c
631
if (hdl->error) {
drivers/media/radio/radio-cadet.c
632
res = hdl->error;
drivers/media/radio/radio-isa.c
224
if (isa->hdl.error) {
drivers/media/radio/radio-isa.c
225
res = isa->hdl.error;
drivers/media/radio/radio-keene.c
338
if (hdl->error) {
drivers/media/radio/radio-keene.c
339
retval = hdl->error;
drivers/media/radio/radio-ma901.c
383
if (radio->hdl.error) {
drivers/media/radio/radio-ma901.c
384
retval = radio->hdl.error;
drivers/media/radio/radio-miropcm20.c
469
if (hdl->error) {
drivers/media/radio/radio-miropcm20.c
470
res = hdl->error;
drivers/media/radio/radio-mr800.c
529
if (radio->hdl.error) {
drivers/media/radio/radio-mr800.c
530
retval = radio->hdl.error;
drivers/media/radio/radio-sf16fmi.c
333
if (hdl->error) {
drivers/media/radio/radio-sf16fmi.c
334
res = hdl->error;
drivers/media/radio/radio-sf16fmr2.c
192
if (tea->ctrl_handler.error) {
drivers/media/radio/radio-sf16fmr2.c
194
return tea->ctrl_handler.error;
drivers/media/radio/radio-si476x.c
1367
rval = radio->ctrl_handler.error;
drivers/media/radio/radio-si476x.c
1426
rval = radio->ctrl_handler.error;
drivers/media/radio/radio-si476x.c
1455
rval = radio->ctrl_handler.error;
drivers/media/radio/radio-si476x.c
1465
rval = radio->ctrl_handler.error;
drivers/media/radio/radio-tea5764.c
439
if (hdl->error) {
drivers/media/radio/radio-tea5764.c
440
ret = hdl->error;
drivers/media/radio/radio-tea5777.c
563
res = tea->ctrl_handler.error;
drivers/media/radio/radio-trust.c
198
return isa->hdl.error;
drivers/media/radio/saa7706h.c
357
err = state->hdl.error;
drivers/media/radio/si470x/radio-si470x-i2c.c
367
if (radio->hdl.error) {
drivers/media/radio/si470x/radio-si470x-i2c.c
368
retval = radio->hdl.error;
drivers/media/radio/si470x/radio-si470x-usb.c
660
if (radio->hdl.error) {
drivers/media/radio/si470x/radio-si470x-usb.c
661
retval = radio->hdl.error;
drivers/media/radio/si4713/si4713.c
1567
if (hdl->error) {
drivers/media/radio/si4713/si4713.c
1568
rval = hdl->error;
drivers/media/radio/tea575x.c
543
retval = tea->ctrl_handler.error;
drivers/media/rc/ene_ir.c
1002
error = -ENODEV;
drivers/media/rc/ene_ir.c
1029
error = ene_hw_detect(dev);
drivers/media/rc/ene_ir.c
1030
if (error)
drivers/media/rc/ene_ir.c
1071
error = rc_register_device(rdev);
drivers/media/rc/ene_ir.c
1072
if (error < 0)
drivers/media/rc/ene_ir.c
1076
error = -EBUSY;
drivers/media/rc/ene_ir.c
1097
return error;
drivers/media/rc/ene_ir.c
213
goto error;
drivers/media/rc/ene_ir.c
217
goto error;
drivers/media/rc/ene_ir.c
221
goto error;
drivers/media/rc/ene_ir.c
224
goto error;
drivers/media/rc/ene_ir.c
228
error:
drivers/media/rc/ene_ir.c
991
int error = -ENOMEM;
drivers/media/rc/img-ir/img-ir-core.c
115
error = clk_prepare_enable(priv->sys_clk);
drivers/media/rc/img-ir/img-ir-core.c
116
if (error) {
drivers/media/rc/img-ir/img-ir-core.c
118
return error;
drivers/media/rc/img-ir/img-ir-core.c
123
error = img_ir_probe_raw(priv);
drivers/media/rc/img-ir/img-ir-core.c
125
if (error && error2) {
drivers/media/rc/img-ir/img-ir-core.c
126
if (error == -ENODEV)
drivers/media/rc/img-ir/img-ir-core.c
127
error = error2;
drivers/media/rc/img-ir/img-ir-core.c
133
error = request_irq(priv->irq, img_ir_isr, 0, "img-ir", priv);
drivers/media/rc/img-ir/img-ir-core.c
134
if (error) {
drivers/media/rc/img-ir/img-ir-core.c
137
error = -EIO;
drivers/media/rc/img-ir/img-ir-core.c
152
return error;
drivers/media/rc/img-ir/img-ir-core.c
79
int irq, error, error2;
drivers/media/rc/img-ir/img-ir-hw.c
1046
int error;
drivers/media/rc/img-ir/img-ir-hw.c
1063
error = clk_notifier_register(priv->clk, &hw->clk_nb);
drivers/media/rc/img-ir/img-ir-hw.c
1064
if (error)
drivers/media/rc/img-ir/img-ir-hw.c
1076
error = -ENOMEM;
drivers/media/rc/img-ir/img-ir-hw.c
1087
error = rc_register_device(rdev);
drivers/media/rc/img-ir/img-ir-hw.c
1088
if (error) {
drivers/media/rc/img-ir/img-ir-hw.c
1112
return error;
drivers/media/rc/img-ir/img-ir-raw.c
103
int error;
drivers/media/rc/img-ir/img-ir-raw.c
119
error = rc_register_device(rdev);
drivers/media/rc/img-ir/img-ir-raw.c
120
if (error) {
drivers/media/rc/img-ir/img-ir-raw.c
124
return error;
drivers/media/rc/redrat3.c
615
struct redrat3_error *error = rr3->bulk_in_buf;
drivers/media/rc/redrat3.c
616
unsigned fw_error = be16_to_cpu(error->fw_error);
drivers/media/test-drivers/vicodec/vicodec-core.c
1870
if (hdl->error) {
drivers/media/test-drivers/vicodec/vicodec-core.c
1871
rc = hdl->error;
drivers/media/test-drivers/vim2m.c
1384
if (hdl->error) {
drivers/media/test-drivers/vim2m.c
1385
rc = hdl->error;
drivers/media/test-drivers/vimc/vimc-debayer.c
576
if (vdebayer->hdl.error) {
drivers/media/test-drivers/vimc/vimc-debayer.c
577
ret = vdebayer->hdl.error;
drivers/media/test-drivers/vimc/vimc-lens.c
67
if (vlens->hdl.error) {
drivers/media/test-drivers/vimc/vimc-lens.c
68
ret = vlens->hdl.error;
drivers/media/test-drivers/vimc/vimc-sensor.c
407
if (vsensor->hdl.error) {
drivers/media/test-drivers/vimc/vimc-sensor.c
408
ret = vsensor->hdl.error;
drivers/media/test-drivers/visl/visl-core.c
314
if (hdl->error) {
drivers/media/test-drivers/visl/visl-core.c
318
return hdl->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
1990
if (hdl_user_gen->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
1991
return hdl_user_gen->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
1992
if (hdl_user_vid->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
1993
return hdl_user_vid->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
1994
if (hdl_user_aud->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
1995
return hdl_user_aud->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
1996
if (hdl_streaming->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
1997
return hdl_streaming->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
1998
if (hdl_sdr_cap->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
1999
return hdl_sdr_cap->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
2000
if (hdl_loop_cap->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
2001
return hdl_loop_cap->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
2014
if (hdl_vid_cap->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
2015
return hdl_vid_cap->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
2023
if (hdl_vid_out->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
2024
return hdl_vid_out->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
2032
if (hdl_vbi_cap->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
2033
return hdl_vbi_cap->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
2039
if (hdl_vbi_out->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
2040
return hdl_vbi_out->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
2046
if (hdl_radio_rx->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
2047
return hdl_radio_rx->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
2053
if (hdl_radio_tx->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
2054
return hdl_radio_tx->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
2060
if (hdl_sdr_cap->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
2061
return hdl_sdr_cap->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
2067
if (hdl_meta_cap->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
2068
return hdl_meta_cap->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
2074
if (hdl_meta_out->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
2075
return hdl_meta_out->error;
drivers/media/test-drivers/vivid/vivid-ctrls.c
2081
if (hdl_tch_cap->error)
drivers/media/test-drivers/vivid/vivid-ctrls.c
2082
return hdl_tch_cap->error;
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
112
error += fract_part;
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
113
if (error >= dstw) {
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
114
error -= dstw;
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
98
unsigned error = 0;
drivers/media/tuners/e4000.c
681
if (dev->hdl.error) {
drivers/media/tuners/e4000.c
682
ret = dev->hdl.error;
drivers/media/tuners/fc2580.c
564
if (dev->hdl.error) {
drivers/media/tuners/fc2580.c
565
ret = dev->hdl.error;
drivers/media/tuners/mc44s803.c
331
goto error;
drivers/media/tuners/mc44s803.c
338
goto error;
drivers/media/tuners/mc44s803.c
352
error:
drivers/media/tuners/msi001.c
445
if (dev->hdl.error) {
drivers/media/tuners/msi001.c
446
ret = dev->hdl.error;
drivers/media/tuners/msi001.c
459
if (dev->hdl.error) {
drivers/media/tuners/msi001.c
460
ret = dev->hdl.error;
drivers/media/tuners/tda18212.c
102
goto error;
drivers/media/tuners/tda18212.c
112
goto error;
drivers/media/tuners/tda18212.c
117
goto error;
drivers/media/tuners/tda18212.c
121
goto error;
drivers/media/tuners/tda18212.c
125
goto error;
drivers/media/tuners/tda18212.c
138
goto error;
drivers/media/tuners/tda18212.c
149
error:
drivers/media/tuners/tda18212.c
83
goto error;
drivers/media/tuners/tda18218.c
169
goto error;
drivers/media/tuners/tda18218.c
177
goto error;
drivers/media/tuners/tda18218.c
182
goto error;
drivers/media/tuners/tda18218.c
187
goto error;
drivers/media/tuners/tda18218.c
193
goto error;
drivers/media/tuners/tda18218.c
196
error:
drivers/media/usb/airspy/airspy.c
1052
if (s->hdl.error) {
drivers/media/usb/airspy/airspy.c
1053
ret = s->hdl.error;
drivers/media/usb/as102/as102_fw.c
116
goto error;
drivers/media/usb/as102/as102_fw.c
129
goto error;
drivers/media/usb/as102/as102_fw.c
146
goto error;
drivers/media/usb/as102/as102_fw.c
150
error:
drivers/media/usb/as102/as102_fw.c
176
goto error;
drivers/media/usb/as102/as102_fw.c
184
goto error;
drivers/media/usb/as102/as102_fw.c
192
goto error;
drivers/media/usb/as102/as102_fw.c
208
goto error;
drivers/media/usb/as102/as102_fw.c
216
goto error;
drivers/media/usb/as102/as102_fw.c
221
error:
drivers/media/usb/as102/as10x_cmd.c
103
int error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd.c
129
error = adap->ops->xfer_cmd(adap,
drivers/media/usb/as102/as10x_cmd.c
138
if (error < 0)
drivers/media/usb/as102/as10x_cmd.c
142
error = as10x_rsp_parse(prsp, CONTROL_PROC_SETTUNE_RSP);
drivers/media/usb/as102/as10x_cmd.c
145
return error;
drivers/media/usb/as102/as10x_cmd.c
158
int error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd.c
174
error = adap->ops->xfer_cmd(
drivers/media/usb/as102/as10x_cmd.c
182
if (error < 0)
drivers/media/usb/as102/as10x_cmd.c
186
error = as10x_rsp_parse(prsp, CONTROL_PROC_GETTUNESTAT_RSP);
drivers/media/usb/as102/as10x_cmd.c
187
if (error < 0)
drivers/media/usb/as102/as10x_cmd.c
198
return error;
drivers/media/usb/as102/as10x_cmd.c
20
int error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd.c
210
int error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd.c
226
error = adap->ops->xfer_cmd(adap,
drivers/media/usb/as102/as10x_cmd.c
235
if (error < 0)
drivers/media/usb/as102/as10x_cmd.c
239
error = as10x_rsp_parse(prsp, CONTROL_PROC_GETTPS_RSP);
drivers/media/usb/as102/as10x_cmd.c
240
if (error < 0)
drivers/media/usb/as102/as10x_cmd.c
256
return error;
drivers/media/usb/as102/as10x_cmd.c
269
int error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd.c
285
error = adap->ops->xfer_cmd(adap,
drivers/media/usb/as102/as10x_cmd.c
294
if (error < 0)
drivers/media/usb/as102/as10x_cmd.c
298
error = as10x_rsp_parse(prsp, CONTROL_PROC_GET_DEMOD_STATS_RSP);
drivers/media/usb/as102/as10x_cmd.c
299
if (error < 0)
drivers/media/usb/as102/as10x_cmd.c
315
return error;
drivers/media/usb/as102/as10x_cmd.c
329
int error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd.c
345
error = adap->ops->xfer_cmd(adap,
drivers/media/usb/as102/as10x_cmd.c
35
error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd,
drivers/media/usb/as102/as10x_cmd.c
354
if (error < 0)
drivers/media/usb/as102/as10x_cmd.c
358
error = as10x_rsp_parse(prsp, CONTROL_PROC_GET_IMPULSE_RESP_RSP);
drivers/media/usb/as102/as10x_cmd.c
359
if (error < 0)
drivers/media/usb/as102/as10x_cmd.c
366
return error;
drivers/media/usb/as102/as10x_cmd.c
393
int error;
drivers/media/usb/as102/as10x_cmd.c
396
error = prsp->body.common.rsp.error;
drivers/media/usb/as102/as10x_cmd.c
398
if ((error == 0) &&
drivers/media/usb/as102/as10x_cmd.c
43
if (error < 0)
drivers/media/usb/as102/as10x_cmd.c
47
error = as10x_rsp_parse(prsp, CONTROL_PROC_TURNON_RSP);
drivers/media/usb/as102/as10x_cmd.c
50
return error;
drivers/media/usb/as102/as10x_cmd.c
61
int error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd.c
76
error = adap->ops->xfer_cmd(
drivers/media/usb/as102/as10x_cmd.c
83
if (error < 0)
drivers/media/usb/as102/as10x_cmd.c
87
error = as10x_rsp_parse(prsp, CONTROL_PROC_TURNOFF_RSP);
drivers/media/usb/as102/as10x_cmd.c
90
return error;
drivers/media/usb/as102/as10x_cmd.h
125
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
140
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
157
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
174
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
195
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
214
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
229
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
244
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
259
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
276
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
303
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
322
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
339
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
358
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
388
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
411
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
429
uint8_t error;
drivers/media/usb/as102/as10x_cmd.h
93
uint8_t error;
drivers/media/usb/as102/as10x_cmd_cfg.c
101
error = adap->ops->xfer_cmd(adap,
drivers/media/usb/as102/as10x_cmd_cfg.c
109
error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd_cfg.c
112
if (error < 0)
drivers/media/usb/as102/as10x_cmd_cfg.c
117
error = as10x_context_rsp_parse(prsp, CONTROL_PROC_CONTEXT_RSP);
drivers/media/usb/as102/as10x_cmd_cfg.c
120
return error;
drivers/media/usb/as102/as10x_cmd_cfg.c
136
int error;
drivers/media/usb/as102/as10x_cmd_cfg.c
153
error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd,
drivers/media/usb/as102/as10x_cmd_cfg.c
159
error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd_cfg.c
162
if (error < 0)
drivers/media/usb/as102/as10x_cmd_cfg.c
166
error = as10x_rsp_parse(prsp, CONTROL_PROC_ELNA_CHANGE_MODE_RSP);
drivers/media/usb/as102/as10x_cmd_cfg.c
169
return error;
drivers/media/usb/as102/as10x_cmd_cfg.c
185
err = prsp->body.context.rsp.error;
drivers/media/usb/as102/as10x_cmd_cfg.c
26
int error;
drivers/media/usb/as102/as10x_cmd_cfg.c
43
error = adap->ops->xfer_cmd(adap,
drivers/media/usb/as102/as10x_cmd_cfg.c
51
error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd_cfg.c
54
if (error < 0)
drivers/media/usb/as102/as10x_cmd_cfg.c
59
error = as10x_context_rsp_parse(prsp, CONTROL_PROC_CONTEXT_RSP);
drivers/media/usb/as102/as10x_cmd_cfg.c
61
if (error == 0) {
drivers/media/usb/as102/as10x_cmd_cfg.c
68
return error;
drivers/media/usb/as102/as10x_cmd_cfg.c
82
int error;
drivers/media/usb/as102/as10x_cmd_stream.c
101
error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd_stream.c
104
if (error < 0)
drivers/media/usb/as102/as10x_cmd_stream.c
108
error = as10x_rsp_parse(prsp, CONTROL_PROC_REMOVEFILTER_RSP);
drivers/media/usb/as102/as10x_cmd_stream.c
111
return error;
drivers/media/usb/as102/as10x_cmd_stream.c
122
int error;
drivers/media/usb/as102/as10x_cmd_stream.c
138
error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd,
drivers/media/usb/as102/as10x_cmd_stream.c
144
error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd_stream.c
147
if (error < 0)
drivers/media/usb/as102/as10x_cmd_stream.c
151
error = as10x_rsp_parse(prsp, CONTROL_PROC_START_STREAMING_RSP);
drivers/media/usb/as102/as10x_cmd_stream.c
154
return error;
drivers/media/usb/as102/as10x_cmd_stream.c
165
int8_t error;
drivers/media/usb/as102/as10x_cmd_stream.c
181
error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd,
drivers/media/usb/as102/as10x_cmd_stream.c
187
error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd_stream.c
190
if (error < 0)
drivers/media/usb/as102/as10x_cmd_stream.c
194
error = as10x_rsp_parse(prsp, CONTROL_PROC_STOP_STREAMING_RSP);
drivers/media/usb/as102/as10x_cmd_stream.c
197
return error;
drivers/media/usb/as102/as10x_cmd_stream.c
21
int error;
drivers/media/usb/as102/as10x_cmd_stream.c
44
error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd,
drivers/media/usb/as102/as10x_cmd_stream.c
50
error = AS10X_CMD_ERROR;
drivers/media/usb/as102/as10x_cmd_stream.c
53
if (error < 0)
drivers/media/usb/as102/as10x_cmd_stream.c
57
error = as10x_rsp_parse(prsp, CONTROL_PROC_SETFILTER_RSP);
drivers/media/usb/as102/as10x_cmd_stream.c
59
if (error == 0) {
drivers/media/usb/as102/as10x_cmd_stream.c
65
return error;
drivers/media/usb/as102/as10x_cmd_stream.c
78
int error;
drivers/media/usb/as102/as10x_cmd_stream.c
95
error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd,
drivers/media/usb/au0828/au0828-input.c
289
goto error;
drivers/media/usb/au0828/au0828-input.c
308
goto error;
drivers/media/usb/au0828/au0828-input.c
338
goto error;
drivers/media/usb/au0828/au0828-input.c
344
error:
drivers/media/usb/cx231xx/cx231xx-417.c
1748
if (dev->mpeg_ctrl_handler.hdl.error) {
drivers/media/usb/cx231xx/cx231xx-417.c
1749
err = dev->mpeg_ctrl_handler.hdl.error;
drivers/media/usb/cx231xx/cx231xx-video.c
1786
if (dev->ctrl_handler.error)
drivers/media/usb/cx231xx/cx231xx-video.c
1787
return dev->ctrl_handler.error;
drivers/media/usb/cx231xx/cx231xx-video.c
1788
if (dev->radio_ctrl_handler.error)
drivers/media/usb/cx231xx/cx231xx-video.c
1789
return dev->radio_ctrl_handler.error;
drivers/media/usb/dvb-usb-v2/af9015.c
101
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
107
error:
drivers/media/usb/dvb-usb-v2/af9015.c
1115
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
1117
error:
drivers/media/usb/dvb-usb-v2/af9015.c
1163
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
1189
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
1225
error:
drivers/media/usb/dvb-usb-v2/af9015.c
391
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
395
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
404
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
416
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
428
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
450
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
457
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
468
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
473
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
482
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
515
error:
drivers/media/usb/dvb-usb-v2/af9015.c
63
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
72
goto error;
drivers/media/usb/dvb-usb-v2/af9015.c
95
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
492
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
496
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
505
error:
drivers/media/usb/dvb-usb-v2/anysee.c
536
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
541
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
546
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
551
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
556
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
561
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
574
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
579
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
584
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
589
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
594
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
599
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
607
error:
drivers/media/usb/dvb-usb-v2/anysee.c
738
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
743
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
756
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
769
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
783
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
799
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
804
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
809
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
836
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
841
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
870
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
875
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
893
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
898
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
920
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
935
goto error;
drivers/media/usb/dvb-usb-v2/anysee.c
953
error:
drivers/media/usb/dvb-usb-v2/au6610.c
41
goto error;
drivers/media/usb/dvb-usb-v2/au6610.c
53
goto error;
drivers/media/usb/dvb-usb-v2/au6610.c
61
error:
drivers/media/usb/dvb-usb-v2/ce6230.c
41
goto error;
drivers/media/usb/dvb-usb-v2/ce6230.c
47
goto error;
drivers/media/usb/dvb-usb-v2/ce6230.c
78
error:
drivers/media/usb/dvb-usb-v2/ec168.c
164
goto error;
drivers/media/usb/dvb-usb-v2/ec168.c
169
error:
drivers/media/usb/dvb-usb-v2/ec168.c
194
goto error;
drivers/media/usb/dvb-usb-v2/ec168.c
204
error:
drivers/media/usb/dvb-usb-v2/ec168.c
231
goto error;
drivers/media/usb/dvb-usb-v2/ec168.c
243
goto error;
drivers/media/usb/dvb-usb-v2/ec168.c
251
goto error;
drivers/media/usb/dvb-usb-v2/ec168.c
259
goto error;
drivers/media/usb/dvb-usb-v2/ec168.c
262
error:
drivers/media/usb/dvb-usb-v2/ec168.c
53
goto error;
drivers/media/usb/dvb-usb-v2/ec168.c
59
goto error;
drivers/media/usb/dvb-usb-v2/ec168.c
93
error:
drivers/media/usb/dvb-usb/af9005-fe.c
1428
goto error;
drivers/media/usb/dvb-usb/af9005-fe.c
1440
error:
drivers/media/usb/dvb-usb/dtt200u-fe.c
211
goto error;
drivers/media/usb/dvb-usb/dtt200u-fe.c
222
error:
drivers/media/usb/dvb-usb/dvb-usb-init.c
293
goto error;
drivers/media/usb/dvb-usb/dvb-usb-init.c
300
goto error;
drivers/media/usb/dvb-usb/dvb-usb-init.c
313
goto error;
drivers/media/usb/dvb-usb/dvb-usb-init.c
322
error:
drivers/media/usb/dvb-usb/vp702x-fe.c
328
goto error;
drivers/media/usb/dvb-usb/vp702x-fe.c
339
error:
drivers/media/usb/dvb-usb/vp7045-fe.c
145
goto error;
drivers/media/usb/dvb-usb/vp7045-fe.c
152
error:
drivers/media/usb/em28xx/em28xx-i2c.c
576
goto error;
drivers/media/usb/em28xx/em28xx-i2c.c
588
error:
drivers/media/usb/em28xx/em28xx-i2c.c
708
goto error;
drivers/media/usb/em28xx/em28xx-i2c.c
758
goto error;
drivers/media/usb/em28xx/em28xx-i2c.c
777
goto error;
drivers/media/usb/em28xx/em28xx-i2c.c
808
goto error;
drivers/media/usb/em28xx/em28xx-i2c.c
869
error:
drivers/media/usb/em28xx/em28xx-input.c
732
goto error;
drivers/media/usb/em28xx/em28xx-input.c
765
goto error;
drivers/media/usb/em28xx/em28xx-input.c
770
goto error;
drivers/media/usb/em28xx/em28xx-input.c
794
goto error;
drivers/media/usb/em28xx/em28xx-input.c
804
goto error;
drivers/media/usb/em28xx/em28xx-input.c
822
goto error;
drivers/media/usb/em28xx/em28xx-input.c
828
error:
drivers/media/usb/em28xx/em28xx-video.c
2744
ret = hdl->error;
drivers/media/usb/go7007/go7007-v4l2.c
1058
if (hdl->error) {
drivers/media/usb/go7007/go7007-v4l2.c
1059
int rv = hdl->error;
drivers/media/usb/go7007/s2250-board.c
534
if (state->hdl.error) {
drivers/media/usb/go7007/s2250-board.c
535
err = state->hdl.error;
drivers/media/usb/gspca/conex.c
908
if (hdl->error) {
drivers/media/usb/gspca/conex.c
910
return hdl->error;
drivers/media/usb/gspca/cpia1.c
1848
if (hdl->error) {
drivers/media/usb/gspca/cpia1.c
1850
return hdl->error;
drivers/media/usb/gspca/dtcs033.c
230
if (hdl->error) {
drivers/media/usb/gspca/dtcs033.c
232
hdl->error);
drivers/media/usb/gspca/dtcs033.c
233
return hdl->error;
drivers/media/usb/gspca/etoms.c
734
if (hdl->error) {
drivers/media/usb/gspca/etoms.c
736
return hdl->error;
drivers/media/usb/gspca/gl860/gl860.c
163
if (hdl->error) {
drivers/media/usb/gspca/gl860/gl860.c
165
return hdl->error;
drivers/media/usb/gspca/gspca.c
174
goto error;
drivers/media/usb/gspca/gspca.c
204
error:
drivers/media/usb/gspca/jeilinj.c
458
if (hdl->error) {
drivers/media/usb/gspca/jeilinj.c
460
return hdl->error;
drivers/media/usb/gspca/konica.c
431
if (hdl->error) {
drivers/media/usb/gspca/konica.c
433
return hdl->error;
drivers/media/usb/gspca/m5602/m5602_mt9m111.c
299
if (hdl->error) {
drivers/media/usb/gspca/m5602/m5602_mt9m111.c
301
return hdl->error;
drivers/media/usb/gspca/m5602/m5602_ov7660.c
295
if (hdl->error) {
drivers/media/usb/gspca/m5602/m5602_ov7660.c
297
return hdl->error;
drivers/media/usb/gspca/m5602/m5602_ov9650.c
397
if (hdl->error) {
drivers/media/usb/gspca/m5602/m5602_ov9650.c
399
return hdl->error;
drivers/media/usb/gspca/m5602/m5602_po1030.c
268
if (hdl->error) {
drivers/media/usb/gspca/m5602/m5602_po1030.c
270
return hdl->error;
drivers/media/usb/gspca/m5602/m5602_s5k4aa.c
551
if (hdl->error) {
drivers/media/usb/gspca/m5602/m5602_s5k4aa.c
553
return hdl->error;
drivers/media/usb/gspca/m5602/m5602_s5k83a.c
283
if (hdl->error) {
drivers/media/usb/gspca/m5602/m5602_s5k83a.c
285
return hdl->error;
drivers/media/usb/gspca/mars.c
211
if (hdl->error) {
drivers/media/usb/gspca/mars.c
213
return hdl->error;
drivers/media/usb/gspca/mr97310a.c
996
if (hdl->error) {
drivers/media/usb/gspca/mr97310a.c
998
return hdl->error;
drivers/media/usb/gspca/nw80x.c
2033
if (hdl->error) {
drivers/media/usb/gspca/nw80x.c
2035
return hdl->error;
drivers/media/usb/gspca/ov519.c
3308
goto error;
drivers/media/usb/gspca/ov519.c
3312
goto error;
drivers/media/usb/gspca/ov519.c
3439
error:
drivers/media/usb/gspca/ov519.c
4939
if (hdl->error) {
drivers/media/usb/gspca/ov519.c
4941
return hdl->error;
drivers/media/usb/gspca/ov534.c
1298
if (hdl->error) {
drivers/media/usb/gspca/ov534.c
1300
return hdl->error;
drivers/media/usb/gspca/ov534_9.c
1774
if (hdl->error) {
drivers/media/usb/gspca/ov534_9.c
1776
return hdl->error;
drivers/media/usb/gspca/pac207.c
267
if (hdl->error) {
drivers/media/usb/gspca/pac207.c
269
return hdl->error;
drivers/media/usb/gspca/pac7302.c
677
if (hdl->error) {
drivers/media/usb/gspca/pac7302.c
679
return hdl->error;
drivers/media/usb/gspca/pac7311.c
422
if (hdl->error) {
drivers/media/usb/gspca/pac7311.c
424
return hdl->error;
drivers/media/usb/gspca/se401.c
507
goto error;
drivers/media/usb/gspca/se401.c
511
goto error;
drivers/media/usb/gspca/se401.c
536
goto error;
drivers/media/usb/gspca/se401.c
549
error:
drivers/media/usb/gspca/se401.c
663
if (hdl->error) {
drivers/media/usb/gspca/se401.c
665
return hdl->error;
drivers/media/usb/gspca/sn9c20x.c
1778
if (hdl->error) {
drivers/media/usb/gspca/sn9c20x.c
1780
return hdl->error;
drivers/media/usb/gspca/sonixb.c
1076
if (hdl->error) {
drivers/media/usb/gspca/sonixb.c
1078
return hdl->error;
drivers/media/usb/gspca/sonixj.c
1679
if (hdl->error) {
drivers/media/usb/gspca/sonixj.c
1681
return hdl->error;
drivers/media/usb/gspca/spca1528.c
388
if (hdl->error) {
drivers/media/usb/gspca/spca1528.c
390
return hdl->error;
drivers/media/usb/gspca/spca500.c
496
goto error;
drivers/media/usb/gspca/spca500.c
511
goto error;
drivers/media/usb/gspca/spca500.c
514
error:
drivers/media/usb/gspca/spca500.c
920
if (hdl->error) {
drivers/media/usb/gspca/spca500.c
922
return hdl->error;
drivers/media/usb/gspca/spca501.c
1832
goto error;
drivers/media/usb/gspca/spca501.c
1837
goto error;
drivers/media/usb/gspca/spca501.c
1842
goto error;
drivers/media/usb/gspca/spca501.c
1847
error:
drivers/media/usb/gspca/spca501.c
1984
if (hdl->error) {
drivers/media/usb/gspca/spca501.c
1986
return hdl->error;
drivers/media/usb/gspca/spca505.c
743
if (hdl->error) {
drivers/media/usb/gspca/spca505.c
745
return hdl->error;
drivers/media/usb/gspca/spca506.c
552
if (hdl->error) {
drivers/media/usb/gspca/spca506.c
554
return hdl->error;
drivers/media/usb/gspca/spca508.c
1476
if (hdl->error) {
drivers/media/usb/gspca/spca508.c
1478
return hdl->error;
drivers/media/usb/gspca/spca561.c
804
if (hdl->error) {
drivers/media/usb/gspca/spca561.c
806
return hdl->error;
drivers/media/usb/gspca/spca561.c
827
if (hdl->error) {
drivers/media/usb/gspca/spca561.c
829
return hdl->error;
drivers/media/usb/gspca/sq930x.c
1099
if (hdl->error) {
drivers/media/usb/gspca/sq930x.c
1101
return hdl->error;
drivers/media/usb/gspca/stk014.c
389
if (hdl->error) {
drivers/media/usb/gspca/stk014.c
391
return hdl->error;
drivers/media/usb/gspca/stk1135.c
599
if (hdl->error) {
drivers/media/usb/gspca/stk1135.c
601
return hdl->error;
drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c
353
return hdl->error;
drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c
146
if (hdl->error) {
drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c
148
return hdl->error;
drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c
101
return hdl->error;
drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c
100
return hdl->error;
drivers/media/usb/gspca/sunplus.c
966
if (hdl->error) {
drivers/media/usb/gspca/sunplus.c
968
return hdl->error;
drivers/media/usb/gspca/t613.c
990
if (hdl->error) {
drivers/media/usb/gspca/t613.c
992
return hdl->error;
drivers/media/usb/gspca/topro.c
4914
if (hdl->error) {
drivers/media/usb/gspca/topro.c
4916
return hdl->error;
drivers/media/usb/gspca/touptek.c
639
if (hdl->error) {
drivers/media/usb/gspca/touptek.c
641
return hdl->error;
drivers/media/usb/gspca/tv8532.c
315
if (hdl->error) {
drivers/media/usb/gspca/tv8532.c
317
return hdl->error;
drivers/media/usb/gspca/vc032x.c
3775
if (hdl->error) {
drivers/media/usb/gspca/vc032x.c
3777
return hdl->error;
drivers/media/usb/gspca/vicam.c
305
if (hdl->error) {
drivers/media/usb/gspca/vicam.c
307
return hdl->error;
drivers/media/usb/gspca/xirlink_cit.c
3054
if (hdl->error) {
drivers/media/usb/gspca/xirlink_cit.c
3056
return hdl->error;
drivers/media/usb/gspca/zc3xx.c
6469
if (hdl->error) {
drivers/media/usb/gspca/zc3xx.c
6471
return hdl->error;
drivers/media/usb/hackrf/hackrf.c
1437
if (dev->rx_ctrl_handler.error) {
drivers/media/usb/hackrf/hackrf.c
1438
ret = dev->rx_ctrl_handler.error;
drivers/media/usb/hackrf/hackrf.c
1458
if (dev->tx_ctrl_handler.error) {
drivers/media/usb/hackrf/hackrf.c
1459
ret = dev->tx_ctrl_handler.error;
drivers/media/usb/hdpvr/hdpvr-control.c
138
goto error;
drivers/media/usb/hdpvr/hdpvr-control.c
151
error:
drivers/media/usb/hdpvr/hdpvr-core.c
282
goto error;
drivers/media/usb/hdpvr/hdpvr-core.c
407
error:
drivers/media/usb/hdpvr/hdpvr-video.c
1229
if (hdl->error) {
drivers/media/usb/hdpvr/hdpvr-video.c
1230
res = hdl->error;
drivers/media/usb/hdpvr/hdpvr-video.c
1232
goto error;
drivers/media/usb/hdpvr/hdpvr-video.c
1238
goto error;
drivers/media/usb/hdpvr/hdpvr-video.c
1251
goto error;
drivers/media/usb/hdpvr/hdpvr-video.c
1255
error:
drivers/media/usb/hdpvr/hdpvr-video.c
258
goto error;
drivers/media/usb/hdpvr/hdpvr-video.c
263
goto error;
drivers/media/usb/hdpvr/hdpvr-video.c
269
error:
drivers/media/usb/msi2500/msi2500.c
1249
if (dev->hdl.error) {
drivers/media/usb/msi2500/msi2500.c
1250
ret = dev->hdl.error;
drivers/media/usb/pwc/pwc-v4l.c
203
return hdl->error;
drivers/media/usb/pwc/pwc-v4l.c
229
return hdl->error;
drivers/media/usb/pwc/pwc-v4l.c
252
return hdl->error;
drivers/media/usb/pwc/pwc-v4l.c
298
return hdl->error;
drivers/media/usb/pwc/pwc-v4l.c
368
return hdl->error;
drivers/media/usb/pwc/pwc-v4l.c
374
return hdl->error;
drivers/media/usb/pwc/pwc-v4l.c
383
return hdl->error;
drivers/media/usb/s2255/s2255drv.c
1616
if (vc->hdl.error) {
drivers/media/usb/s2255/s2255drv.c
1617
ret = vc->hdl.error;
drivers/media/usb/usbtv/usbtv-video.c
812
goto error;
drivers/media/usb/usbtv/usbtv-video.c
863
error:
drivers/media/usb/usbtv/usbtv-video.c
922
ret = usbtv->ctrl.error;
drivers/media/usb/uvc/uvc_driver.c
1824
goto error;
drivers/media/usb/uvc/uvc_driver.c
1844
goto error;
drivers/media/usb/uvc/uvc_driver.c
1851
goto error;
drivers/media/usb/uvc/uvc_driver.c
1862
error:
drivers/media/usb/uvc/uvc_driver.c
2264
goto error;
drivers/media/usb/uvc/uvc_driver.c
2270
goto error;
drivers/media/usb/uvc/uvc_driver.c
2295
goto error;
drivers/media/usb/uvc/uvc_driver.c
2300
goto error;
drivers/media/usb/uvc/uvc_driver.c
2305
goto error;
drivers/media/usb/uvc/uvc_driver.c
2310
goto error;
drivers/media/usb/uvc/uvc_driver.c
2316
goto error;
drivers/media/usb/uvc/uvc_driver.c
2333
goto error;
drivers/media/usb/uvc/uvc_driver.c
2340
goto error;
drivers/media/usb/uvc/uvc_driver.c
2353
error:
drivers/media/usb/uvc/uvc_driver.c
601
goto error;
drivers/media/usb/uvc/uvc_driver.c
620
goto error;
drivers/media/usb/uvc/uvc_driver.c
630
goto error;
drivers/media/usb/uvc/uvc_driver.c
650
goto error;
drivers/media/usb/uvc/uvc_driver.c
708
goto error;
drivers/media/usb/uvc/uvc_driver.c
724
goto error;
drivers/media/usb/uvc/uvc_driver.c
745
goto error;
drivers/media/usb/uvc/uvc_driver.c
787
error:
drivers/media/usb/uvc/uvc_queue.c
125
buf->error = 0;
drivers/media/usb/uvc/uvc_queue.c
346
buf->error = 0;
drivers/media/usb/uvc/uvc_queue.c
360
if (buf->error && !uvc_no_drop_param) {
drivers/media/usb/uvc/uvc_queue.c
365
buf->state = buf->error ? UVC_BUF_STATE_ERROR : UVC_BUF_STATE_DONE;
drivers/media/usb/uvc/uvc_queue.c
367
vb2_buffer_done(&buf->buf.vb2_buf, buf->error ? VB2_BUF_STATE_ERROR :
drivers/media/usb/uvc/uvc_status.c
67
goto error;
drivers/media/usb/uvc/uvc_status.c
72
error:
drivers/media/usb/uvc/uvc_video.c
118
error = *(u8 *)data;
drivers/media/usb/uvc/uvc_video.c
1197
buf->error = 1;
drivers/media/usb/uvc/uvc_video.c
1266
buf->error = 1;
drivers/media/usb/uvc/uvc_video.c
128
uvc_dbg(dev, CONTROL, "Control error %u\n", error);
drivers/media/usb/uvc/uvc_video.c
130
switch (error) {
drivers/media/usb/uvc/uvc_video.c
1339
buf->error = 1;
drivers/media/usb/uvc/uvc_video.c
1452
meta_buf->error = 1;
drivers/media/usb/uvc/uvc_video.c
1493
buf->error = 1;
drivers/media/usb/uvc/uvc_video.c
1514
if (!(*meta_buf)->error)
drivers/media/usb/uvc/uvc_video.c
1515
(*meta_buf)->error = (*video_buf)->error;
drivers/media/usb/uvc/uvc_video.c
1537
buf->error = 1;
drivers/media/usb/uvc/uvc_video.c
75
u8 error;
drivers/media/usb/uvc/uvcvideo.h
319
unsigned int error;
drivers/media/v4l2-core/v4l2-common.c
169
u32 error, min_error = U32_MAX;
drivers/media/v4l2-core/v4l2-common.c
183
error = abs(*entry_width - width) + abs(*entry_height - height);
drivers/media/v4l2-core/v4l2-common.c
184
if (error > min_error)
drivers/media/v4l2-core/v4l2-common.c
187
min_error = error;
drivers/media/v4l2-core/v4l2-common.c
189
if (!error)
drivers/media/v4l2-core/v4l2-ctrls-core.c
1712
if (hdl->error == 0)
drivers/media/v4l2-core/v4l2-ctrls-core.c
1713
hdl->error = err;
drivers/media/v4l2-core/v4l2-ctrls-core.c
1729
hdl->error = hdl->buckets ? 0 : -ENOMEM;
drivers/media/v4l2-core/v4l2-ctrls-core.c
1731
return hdl->error;
drivers/media/v4l2-core/v4l2-ctrls-core.c
1746
return hdl->error;
drivers/media/v4l2-core/v4l2-ctrls-core.c
1772
return hdl->error;
drivers/media/v4l2-core/v4l2-ctrls-core.c
1875
return hdl->error;
drivers/media/v4l2-core/v4l2-ctrls-core.c
1877
if (hdl->error)
drivers/media/v4l2-core/v4l2-ctrls-core.c
1878
return hdl->error;
drivers/media/v4l2-core/v4l2-ctrls-core.c
1960
if (hdl->error)
drivers/media/v4l2-core/v4l2-ctrls-core.c
2428
if (hdl->error)
drivers/media/v4l2-core/v4l2-ctrls-core.c
2429
return hdl->error;
drivers/media/v4l2-core/v4l2-ctrls-core.c
2793
if (hdl->error)
drivers/media/v4l2-core/v4l2-ctrls-core.c
2794
return hdl->error;
drivers/media/v4l2-core/v4l2-ctrls-core.c
2810
hdl->error = -EINVAL;
drivers/media/v4l2-core/v4l2-ctrls-core.c
2811
return hdl->error;
drivers/media/v4l2-core/v4l2-ctrls-core.c
2817
return hdl->error;
drivers/media/v4l2-core/v4l2-ctrls-core.c
2825
return hdl->error;
drivers/media/v4l2-core/v4l2-ctrls-core.c
2828
return hdl->error;
drivers/media/v4l2-core/v4l2-ctrls-request.c
464
goto error;
drivers/media/v4l2-core/v4l2-ctrls-request.c
497
error:
drivers/media/v4l2-core/v4l2-ctrls-request.c
62
if (hdl->error)
drivers/media/v4l2-core/v4l2-ctrls-request.c
63
return hdl->error;
drivers/media/v4l2-core/v4l2-flash-led-class.c
489
if (v4l2_flash->hdl.error) {
drivers/media/v4l2-core/v4l2-flash-led-class.c
490
ret = v4l2_flash->hdl.error;
drivers/media/v4l2-core/v4l2-i2c.c
109
error:
drivers/media/v4l2-core/v4l2-i2c.c
93
goto error;
drivers/media/v4l2-core/v4l2-i2c.c
97
goto error;
drivers/media/v4l2-core/v4l2-mem2mem.c
925
if ((!vb2_is_streaming(src_q) || src_q->error ||
drivers/media/v4l2-core/v4l2-mem2mem.c
927
(!vb2_is_streaming(dst_q) || dst_q->error ||
drivers/media/v4l2-core/v4l2-spi.c
51
goto error;
drivers/media/v4l2-core/v4l2-spi.c
54
goto error;
drivers/media/v4l2-core/v4l2-spi.c
68
error:
drivers/memory/emif.c
1005
goto error;
drivers/memory/emif.c
1079
error:
drivers/memory/emif.c
1095
goto error;
drivers/memory/emif.c
1106
goto error;
drivers/memory/emif.c
1110
goto error;
drivers/memory/emif.c
1117
goto error;
drivers/memory/emif.c
1134
error:
drivers/memory/emif.c
917
goto error;
drivers/memory/emif.c
925
goto error;
drivers/memory/emif.c
949
goto error;
drivers/memory/emif.c
973
error:
drivers/memory/emif.c
997
goto error;
drivers/memory/stm32_omm.c
217
goto error;
drivers/memory/stm32_omm.c
227
goto error;
drivers/memory/stm32_omm.c
259
goto error;
drivers/memory/stm32_omm.c
279
error:
drivers/memory/tegra/mc.c
587
const char *error = tegra_mc_status_names[bit] ?: "unknown";
drivers/memory/tegra/mc.c
717
client, secure, direction, &addr, error,
drivers/memory/tegra/tegra20.c
703
const char *error = tegra_mc_status_names[bit];
drivers/memory/tegra/tegra20.c
754
client, secure, direction, &addr, error,
drivers/memory/tegra/tegra234.c
1086
goto error;
drivers/memory/tegra/tegra234.c
1094
error:
drivers/memory/tegra/tegra264.c
251
goto error;
drivers/memory/tegra/tegra264.c
259
error:
drivers/memstick/core/memstick.c
227
if ((*mrq) && (*mrq)->error && host->retries) {
drivers/memstick/core/memstick.c
228
(*mrq)->error = rc;
drivers/memstick/core/memstick.c
335
if (!(*mrq)->error) {
drivers/memstick/core/memstick.c
375
card->current_mrq.error = -ETIMEDOUT;
drivers/memstick/core/memstick.c
377
return card->current_mrq.error;
drivers/memstick/core/memstick.c
410
card->current_mrq.error = -ETIMEDOUT;
drivers/memstick/core/memstick.c
412
if (card->current_mrq.error)
drivers/memstick/core/ms_block.c
1003
int error, current_try = 1;
drivers/memstick/core/ms_block.c
1050
error = msb_run_state_machine(msb, h_msb_write_block);
drivers/memstick/core/ms_block.c
1059
if (!error && (verify_writes ||
drivers/memstick/core/ms_block.c
1061
error = msb_verify_block(msb, pba, sg, offset);
drivers/memstick/core/ms_block.c
1063
if (!error)
drivers/memstick/core/ms_block.c
1070
error = msb_erase_block(msb, pba);
drivers/memstick/core/ms_block.c
1071
if (error)
drivers/memstick/core/ms_block.c
1076
return error;
drivers/memstick/core/ms_block.c
1121
int error, try;
drivers/memstick/core/ms_block.c
1137
error = -EIO;
drivers/memstick/core/ms_block.c
1143
error = msb_write_block(msb, new_pba, lba, sg, offset);
drivers/memstick/core/ms_block.c
1144
if (error == -EBADMSG) {
drivers/memstick/core/ms_block.c
1149
if (error)
drivers/memstick/core/ms_block.c
1158
if (error) {
drivers/memstick/core/ms_block.c
1162
return error;
drivers/memstick/core/ms_block.c
1260
int i, error = 0;
drivers/memstick/core/ms_block.c
1294
error = msb_read_page(msb, pba, page, NULL, &sg, offset);
drivers/memstick/core/ms_block.c
1295
if (error)
drivers/memstick/core/ms_block.c
1330
return error;
drivers/memstick/core/ms_block.c
1374
int error;
drivers/memstick/core/ms_block.c
1397
error = msb_read_oob(msb, pba, 0, &extra);
drivers/memstick/core/ms_block.c
1400
if (error == -EBADMSG) {
drivers/memstick/core/ms_block.c
1406
} else if (error) {
drivers/memstick/core/ms_block.c
1408
error, pba);
drivers/memstick/core/ms_block.c
1411
return error;
drivers/memstick/core/ms_block.c
1536
int page, offset, error;
drivers/memstick/core/ms_block.c
1563
error = msb_read_page(msb, pba, page, &extra, &sg, offset);
drivers/memstick/core/ms_block.c
1566
if (error == -EBADMSG) {
drivers/memstick/core/ms_block.c
1571
if (error)
drivers/memstick/core/ms_block.c
1572
return error;
drivers/memstick/core/ms_block.c
1584
error = msb_update_block(msb, msb->cache_block_lba, &sg, 0);
drivers/memstick/core/ms_block.c
1588
if (!error) {
drivers/memstick/core/ms_block.c
1602
return error;
drivers/memstick/core/ms_block.c
1608
int error;
drivers/memstick/core/ms_block.c
1623
error = msb_cache_flush(msb);
drivers/memstick/core/ms_block.c
1624
if (error)
drivers/memstick/core/ms_block.c
1625
return error;
drivers/memstick/core/ms_block.c
1651
int error = 0;
drivers/memstick/core/ms_block.c
1669
error = msb_read_page(msb, pba, page, NULL, sg, offset);
drivers/memstick/core/ms_block.c
1670
if (error)
drivers/memstick/core/ms_block.c
1671
return error;
drivers/memstick/core/ms_block.c
1675
return error;
drivers/memstick/core/ms_block.c
1702
int error = 0, i, raw_size_in_megs;
drivers/memstick/core/ms_block.c
1711
error = msb_reset(msb, false);
drivers/memstick/core/ms_block.c
1712
if (error)
drivers/memstick/core/ms_block.c
1713
return error;
drivers/memstick/core/ms_block.c
1725
error = msb_read_boot_blocks(msb);
drivers/memstick/core/ms_block.c
1726
if (error)
drivers/memstick/core/ms_block.c
1779
error = msb_cache_init(msb);
drivers/memstick/core/ms_block.c
1780
if (error)
drivers/memstick/core/ms_block.c
1781
return error;
drivers/memstick/core/ms_block.c
1783
error = msb_ftl_initialize(msb);
drivers/memstick/core/ms_block.c
1784
if (error)
drivers/memstick/core/ms_block.c
1785
return error;
drivers/memstick/core/ms_block.c
1789
error = msb_read_bad_block_table(msb, 0);
drivers/memstick/core/ms_block.c
1791
if (error && error != -ENOMEM) {
drivers/memstick/core/ms_block.c
1793
error = msb_read_bad_block_table(msb, 1);
drivers/memstick/core/ms_block.c
1796
if (error)
drivers/memstick/core/ms_block.c
1797
return error;
drivers/memstick/core/ms_block.c
1800
error = msb_ftl_scan(msb);
drivers/memstick/core/ms_block.c
1801
if (error) {
drivers/memstick/core/ms_block.c
1803
return error;
drivers/memstick/core/ms_block.c
1813
int error = 0;
drivers/memstick/core/ms_block.c
1824
error = msb_update_block(msb, lba, sg, offset);
drivers/memstick/core/ms_block.c
1825
if (error)
drivers/memstick/core/ms_block.c
1826
return error;
drivers/memstick/core/ms_block.c
1834
error = msb_cache_write(msb, lba, page, false, sg, offset);
drivers/memstick/core/ms_block.c
1835
if (error)
drivers/memstick/core/ms_block.c
1836
return error;
drivers/memstick/core/ms_block.c
1853
int error = 0;
drivers/memstick/core/ms_block.c
1859
error = msb_cache_read(msb, lba, page, sg, offset);
drivers/memstick/core/ms_block.c
1860
if (error)
drivers/memstick/core/ms_block.c
1861
return error;
drivers/memstick/core/ms_block.c
1878
int page, error, len;
drivers/memstick/core/ms_block.c
1914
error = msb_do_read_request(msb, lba, page, sg,
drivers/memstick/core/ms_block.c
1917
error = msb_do_write_request(msb, lba, page, sg,
drivers/memstick/core/ms_block.c
1927
if (error && msb->req) {
drivers/memstick/core/ms_block.c
1928
blk_status_t ret = errno_to_blk_status(error);
drivers/memstick/core/ms_block.c
238
static int msb_exit_state_machine(struct msb_data *msb, int error)
drivers/memstick/core/ms_block.c
243
msb->exit_error = error;
drivers/memstick/core/ms_block.c
247
if (error)
drivers/memstick/core/ms_block.c
271
mrq->need_card_int && !mrq->error) {
drivers/memstick/core/ms_block.c
343
if (mrq->error) {
drivers/memstick/core/ms_block.c
345
return msb_exit_state_machine(msb, mrq->error);
drivers/memstick/core/ms_block.c
481
if (mrq->error)
drivers/memstick/core/ms_block.c
482
return msb_exit_state_machine(msb, mrq->error);
drivers/memstick/core/ms_block.c
592
if (mrq->error) {
drivers/memstick/core/ms_block.c
594
return msb_exit_state_machine(msb, mrq->error);
drivers/memstick/core/ms_block.c
662
if (mrq->error)
drivers/memstick/core/ms_block.c
663
return msb_exit_state_machine(msb, mrq->error);
drivers/memstick/core/ms_block.c
685
if (mrq->error) {
drivers/memstick/core/ms_block.c
688
return msb_exit_state_machine(msb, mrq->error);
drivers/memstick/core/ms_block.c
730
int error;
drivers/memstick/core/ms_block.c
736
error = host->set_param(host,
drivers/memstick/core/ms_block.c
738
if (error)
drivers/memstick/core/ms_block.c
743
error = host->set_param(host,
drivers/memstick/core/ms_block.c
745
if (error)
drivers/memstick/core/ms_block.c
748
error = host->set_param(host,
drivers/memstick/core/ms_block.c
750
if (error) {
drivers/memstick/core/ms_block.c
758
error = msb_run_state_machine(msb, h_msb_reset);
drivers/memstick/core/ms_block.c
759
if (error) {
drivers/memstick/core/ms_block.c
774
int error;
drivers/memstick/core/ms_block.c
776
error = msb_run_state_machine(msb, h_msb_parallel_switch);
drivers/memstick/core/ms_block.c
777
if (error) {
drivers/memstick/core/ms_block.c
826
int error, try;
drivers/memstick/core/ms_block.c
841
error = msb_run_state_machine(msb, h_msb_send_command);
drivers/memstick/core/ms_block.c
842
if (!error || msb_reset(msb, true))
drivers/memstick/core/ms_block.c
846
if (error) {
drivers/memstick/core/ms_block.c
854
return error;
drivers/memstick/core/ms_block.c
862
int try, error;
drivers/memstick/core/ms_block.c
913
error = msb_run_state_machine(msb, h_msb_read_page);
drivers/memstick/core/ms_block.c
916
if (error == -EUCLEAN) {
drivers/memstick/core/ms_block.c
919
error = 0;
drivers/memstick/core/ms_block.c
922
if (!error && extra)
drivers/memstick/core/ms_block.c
925
if (!error || msb_reset(msb, true))
drivers/memstick/core/ms_block.c
931
if (error == -EBADMSG) {
drivers/memstick/core/ms_block.c
941
if (error)
drivers/memstick/core/ms_block.c
943
pba, page, error);
drivers/memstick/core/ms_block.c
944
return error;
drivers/memstick/core/ms_block.c
951
int error;
drivers/memstick/core/ms_block.c
963
error = msb_run_state_machine(msb, h_msb_read_page);
drivers/memstick/core/ms_block.c
966
if (error == -EUCLEAN) {
drivers/memstick/core/ms_block.c
972
return error;
drivers/memstick/core/ms_block.c
980
int page = 0, error;
drivers/memstick/core/ms_block.c
986
error = msb_read_page(msb, pba, page,
drivers/memstick/core/ms_block.c
988
if (error)
drivers/memstick/core/ms_block.c
989
return error;
drivers/memstick/core/mspro_block.c
1025
if (card->current_mrq.error) {
drivers/memstick/core/mspro_block.c
1026
rc = card->current_mrq.error;
drivers/memstick/core/mspro_block.c
1080
if (card->current_mrq.error)
drivers/memstick/core/mspro_block.c
1081
return card->current_mrq.error;
drivers/memstick/core/mspro_block.c
176
static int mspro_block_complete_req(struct memstick_dev *card, int error);
drivers/memstick/core/mspro_block.c
462
return mspro_block_complete_req(card, (*mrq)->error);
drivers/memstick/core/mspro_block.c
476
if (!(*mrq)->error) {
drivers/memstick/core/mspro_block.c
484
return mspro_block_complete_req(card, (*mrq)->error);
drivers/memstick/core/mspro_block.c
492
if (!(*mrq)->error) {
drivers/memstick/core/mspro_block.c
494
(*mrq)->error = -EFAULT;
drivers/memstick/core/mspro_block.c
499
return mspro_block_complete_req(card, (*mrq)->error);
drivers/memstick/core/mspro_block.c
510
if ((*mrq)->error)
drivers/memstick/core/mspro_block.c
511
return mspro_block_complete_req(card, (*mrq)->error);
drivers/memstick/core/mspro_block.c
662
static int mspro_block_complete_req(struct memstick_dev *card, int error)
drivers/memstick/core/mspro_block.c
672
error);
drivers/memstick/core/mspro_block.c
676
if (error == -EAGAIN)
drivers/memstick/core/mspro_block.c
677
error = 0;
drivers/memstick/core/mspro_block.c
679
if (error || (card->current_mrq.tpc == MSPRO_CMD_STOP)) {
drivers/memstick/core/mspro_block.c
694
dev_dbg(&card->dev, "transferred %x (%d)\n", t_len, error);
drivers/memstick/core/mspro_block.c
696
if (error && !t_len)
drivers/memstick/core/mspro_block.c
700
errno_to_blk_status(error), t_len);
drivers/memstick/core/mspro_block.c
702
error = mspro_block_issue_req(card);
drivers/memstick/core/mspro_block.c
703
if (!error)
drivers/memstick/core/mspro_block.c
707
errno_to_blk_status(error));
drivers/memstick/core/mspro_block.c
711
if (!error)
drivers/memstick/core/mspro_block.c
712
error = -EAGAIN;
drivers/memstick/core/mspro_block.c
719
return error;
drivers/memstick/core/mspro_block.c
790
return card->current_mrq.error;
drivers/memstick/core/mspro_block.c
811
return card->current_mrq.error;
drivers/memstick/core/mspro_block.c
859
rc = card->current_mrq.error;
drivers/memstick/core/mspro_block.c
923
if (card->current_mrq.error) {
drivers/memstick/core/mspro_block.c
924
rc = card->current_mrq.error;
drivers/memstick/host/jmb38x_ms.c
372
host->req->error = -ETIME;
drivers/memstick/host/jmb38x_ms.c
373
return host->req->error;
drivers/memstick/host/jmb38x_ms.c
421
host->req->error = -ENOMEM;
drivers/memstick/host/jmb38x_ms.c
422
return host->req->error;
drivers/memstick/host/jmb38x_ms.c
457
host->req->error = 0;
drivers/memstick/host/jmb38x_ms.c
510
host->req->error = -ETIME;
drivers/memstick/host/jmb38x_ms.c
532
host->req->error = -EILSEQ;
drivers/memstick/host/jmb38x_ms.c
537
host->req->error = -ETIME;
drivers/memstick/host/jmb38x_ms.c
583
|| host->req->error))
drivers/memstick/host/jmb38x_ms.c
599
host->req->error = -ETIME;
drivers/memstick/host/jmb38x_ms.c
988
host->req->error = -ETIME;
drivers/memstick/host/r592.c
250
static void r592_stop_dma(struct r592_device *dev, int error)
drivers/memstick/host/r592.c
261
dev->dma_error = error;
drivers/memstick/host/r592.c
455
int len, error;
drivers/memstick/host/r592.c
470
error = -ENOSYS;
drivers/memstick/host/r592.c
476
error = -ENODEV;
drivers/memstick/host/r592.c
490
error = r592_test_fifo_empty(dev);
drivers/memstick/host/r592.c
491
if (error)
drivers/memstick/host/r592.c
496
error = r592_transfer_fifo_dma(dev);
drivers/memstick/host/r592.c
497
if (error == -EINVAL)
drivers/memstick/host/r592.c
498
error = r592_transfer_fifo_pio(dev);
drivers/memstick/host/r592.c
501
if (error)
drivers/memstick/host/r592.c
516
error = r592_wait_status(dev, status, status);
drivers/memstick/host/r592.c
517
if (error) {
drivers/memstick/host/r592.c
523
error = r592_test_io_error(dev);
drivers/memstick/host/r592.c
524
if (error) {
drivers/memstick/host/r592.c
531
error = r592_transfer_fifo_dma(dev);
drivers/memstick/host/r592.c
532
if (error == -EINVAL)
drivers/memstick/host/r592.c
533
error = r592_transfer_fifo_pio(dev);
drivers/memstick/host/r592.c
553
if (error)
drivers/memstick/host/r592.c
556
dev->req->error = error;
drivers/memstick/host/r592.c
564
int error;
drivers/memstick/host/r592.c
571
error = memstick_next_req(dev->host, &dev->req);
drivers/memstick/host/r592.c
574
if (error) {
drivers/memstick/host/r592.c
575
if (error == -ENXIO || error == -EAGAIN) {
drivers/memstick/host/r592.c
579
"memstick_next_req %d", error);
drivers/memstick/host/r592.c
630
int error;
drivers/memstick/host/r592.c
664
error = -EIO;
drivers/memstick/host/r592.c
667
error = 0;
drivers/memstick/host/r592.c
670
r592_stop_dma(dev, error);
drivers/memstick/host/r592.c
732
int error = -ENOMEM;
drivers/memstick/host/r592.c
747
error = pci_enable_device(pdev);
drivers/memstick/host/r592.c
748
if (error)
drivers/memstick/host/r592.c
752
error = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32));
drivers/memstick/host/r592.c
753
if (error)
drivers/memstick/host/r592.c
756
error = pci_request_regions(pdev, DRV_NAME);
drivers/memstick/host/r592.c
757
if (error)
drivers/memstick/host/r592.c
762
error = -ENOMEM;
drivers/memstick/host/r592.c
781
error = PTR_ERR(dev->io_thread);
drivers/memstick/host/r592.c
790
error = request_irq(dev->irq, &r592_irq, IRQF_SHARED,
drivers/memstick/host/r592.c
792
if (error)
drivers/memstick/host/r592.c
796
error = memstick_add_host(host);
drivers/memstick/host/r592.c
797
if (error)
drivers/memstick/host/r592.c
819
return error;
drivers/memstick/host/r592.c
824
int error = 0;
drivers/memstick/host/r592.c
833
while (!error && dev->req) {
drivers/memstick/host/r592.c
834
dev->req->error = -ETIME;
drivers/memstick/host/r592.c
835
error = memstick_next_req(dev->host, &dev->req);
drivers/memstick/host/rtsx_usb_ms.c
528
host->req->error = -EIO;
drivers/memstick/host/rtsx_usb_ms.c
530
host->req->error =
drivers/memstick/host/rtsx_usb_ms.c
536
host->req->error);
drivers/memstick/host/rtsx_usb_ms.c
827
host->req->error = -ENOMEDIUM;
drivers/memstick/host/rtsx_usb_ms.c
831
host->req->error = -ENOMEDIUM;
drivers/memstick/host/tifm_ms.c
283
host->req->error = -ENOMEM;
drivers/memstick/host/tifm_ms.c
284
return host->req->error;
drivers/memstick/host/tifm_ms.c
313
host->req->error = 0;
drivers/memstick/host/tifm_ms.c
367
if (!host->req->error) {
drivers/memstick/host/tifm_ms.c
430
host->req->error = -ETIME;
drivers/memstick/host/tifm_ms.c
432
host->req->error = -EILSEQ;
drivers/memstick/host/tifm_ms.c
468
host->req->error = -ETIME;
drivers/memstick/host/tifm_ms.c
611
host->req->error = -ETIME;
drivers/memstick/host/tifm_ms.c
616
host->req->error = -ETIME;
drivers/message/fusion/mptfc.c
1216
int error=0;
drivers/message/fusion/mptfc.c
1233
error = -ENODEV;
drivers/message/fusion/mptfc.c
1240
error = -ENODEV;
drivers/message/fusion/mptfc.c
1266
error = -1;
drivers/message/fusion/mptfc.c
1333
error = -ENOMEM;
drivers/message/fusion/mptfc.c
1344
error = scsi_add_host (sh, &ioc->pcidev->dev);
drivers/message/fusion/mptfc.c
1345
if(error) {
drivers/message/fusion/mptfc.c
1356
error = -ENOMEM;
drivers/message/fusion/mptfc.c
1385
return error;
drivers/message/fusion/mptfc.c
1489
int error;
drivers/message/fusion/mptfc.c
1513
error = pci_register_driver(&mptfc_driver);
drivers/message/fusion/mptfc.c
1514
if (error)
drivers/message/fusion/mptfc.c
1517
return error;
drivers/message/fusion/mptsas.c
1377
int error;
drivers/message/fusion/mptsas.c
1393
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
1394
if (error)
drivers/message/fusion/mptsas.c
1397
error = -ENXIO;
drivers/message/fusion/mptsas.c
1404
error = -ENOMEM;
drivers/message/fusion/mptsas.c
1411
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
1412
if (error)
drivers/message/fusion/mptsas.c
1431
return error;
drivers/message/fusion/mptsas.c
2034
int error;
drivers/message/fusion/mptsas.c
2055
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2056
if (error)
drivers/message/fusion/mptsas.c
2057
return error;
drivers/message/fusion/mptsas.c
2069
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2070
if (error)
drivers/message/fusion/mptsas.c
2086
return error;
drivers/message/fusion/mptsas.c
2115
int error = -ERESTARTSYS;
drivers/message/fusion/mptsas.c
2130
error = -ENOMEM;
drivers/message/fusion/mptsas.c
2149
error = -ETIME;
drivers/message/fusion/mptsas.c
2161
error = -ENXIO;
drivers/message/fusion/mptsas.c
2170
error = -ENXIO;
drivers/message/fusion/mptsas.c
2174
error = 0;
drivers/message/fusion/mptsas.c
2180
return error;
drivers/message/fusion/mptsas.c
2187
int i, error;
drivers/message/fusion/mptsas.c
2209
error = mptsas_sas_enclosure_pg0(ioc, &enclosure_info,
drivers/message/fusion/mptsas.c
2212
if (!error)
drivers/message/fusion/mptsas.c
2214
return error;
drivers/message/fusion/mptsas.c
2390
int error, i;
drivers/message/fusion/mptsas.c
2407
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2408
if (error)
drivers/message/fusion/mptsas.c
2411
error = -ENXIO;
drivers/message/fusion/mptsas.c
2418
error = -ENOMEM;
drivers/message/fusion/mptsas.c
2425
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2426
if (error)
drivers/message/fusion/mptsas.c
2433
error = -ENOMEM;
drivers/message/fusion/mptsas.c
2458
return error;
drivers/message/fusion/mptsas.c
2468
int error;
drivers/message/fusion/mptsas.c
2482
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2483
if (error)
drivers/message/fusion/mptsas.c
2486
error = -ENXIO;
drivers/message/fusion/mptsas.c
2493
error = -ENOMEM;
drivers/message/fusion/mptsas.c
2500
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2501
if (error)
drivers/message/fusion/mptsas.c
2515
return error;
drivers/message/fusion/mptsas.c
2526
int error;
drivers/message/fusion/mptsas.c
2545
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2546
if (error)
drivers/message/fusion/mptsas.c
2550
error = -ENXIO;
drivers/message/fusion/mptsas.c
2557
error = -ENOMEM;
drivers/message/fusion/mptsas.c
2564
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2565
if (error)
drivers/message/fusion/mptsas.c
2579
return error;
drivers/message/fusion/mptsas.c
2591
int error=0;
drivers/message/fusion/mptsas.c
2609
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2610
if (error)
drivers/message/fusion/mptsas.c
2613
error = -ENXIO;
drivers/message/fusion/mptsas.c
2620
error = -ENOMEM;
drivers/message/fusion/mptsas.c
2627
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2629
if (error == MPI_IOCSTATUS_CONFIG_INVALID_PAGE) {
drivers/message/fusion/mptsas.c
2630
error = -ENODEV;
drivers/message/fusion/mptsas.c
2634
if (error)
drivers/message/fusion/mptsas.c
2660
return error;
drivers/message/fusion/mptsas.c
2671
int i, error;
drivers/message/fusion/mptsas.c
2691
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2692
if (error)
drivers/message/fusion/mptsas.c
2696
error = -ENXIO;
drivers/message/fusion/mptsas.c
2703
error = -ENOMEM;
drivers/message/fusion/mptsas.c
2710
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2711
if (error == MPI_IOCSTATUS_CONFIG_INVALID_PAGE) {
drivers/message/fusion/mptsas.c
2712
error = -ENODEV;
drivers/message/fusion/mptsas.c
2716
if (error)
drivers/message/fusion/mptsas.c
2724
error = -ENOMEM;
drivers/message/fusion/mptsas.c
2743
return error;
drivers/message/fusion/mptsas.c
2754
int error=0;
drivers/message/fusion/mptsas.c
2771
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2772
if (error)
drivers/message/fusion/mptsas.c
2776
error = -ENXIO;
drivers/message/fusion/mptsas.c
2783
error = -ENOMEM;
drivers/message/fusion/mptsas.c
2790
error = mpt_config(ioc, &cfg);
drivers/message/fusion/mptsas.c
2792
if (error == MPI_IOCSTATUS_CONFIG_INVALID_PAGE) {
drivers/message/fusion/mptsas.c
2793
error = -ENODEV;
drivers/message/fusion/mptsas.c
2797
if (error)
drivers/message/fusion/mptsas.c
2816
return error;
drivers/message/fusion/mptsas.c
3064
int error = 0;
drivers/message/fusion/mptsas.c
3068
error = -ENODEV;
drivers/message/fusion/mptsas.c
3075
error = -ENOMEM;
drivers/message/fusion/mptsas.c
3169
error = sas_phy_add(phy);
drivers/message/fusion/mptsas.c
3170
if (error) {
drivers/message/fusion/mptsas.c
3189
error = -ENOMEM;
drivers/message/fusion/mptsas.c
3192
error = sas_port_add(port);
drivers/message/fusion/mptsas.c
3193
if (error) {
drivers/message/fusion/mptsas.c
3275
error = sas_rphy_add(rphy);
drivers/message/fusion/mptsas.c
3276
if (error) {
drivers/message/fusion/mptsas.c
3302
return error;
drivers/message/fusion/mptsas.c
3309
int error = -ENOMEM, i;
drivers/message/fusion/mptsas.c
3315
error = mptsas_sas_io_unit_pg0(ioc, hba);
drivers/message/fusion/mptsas.c
3316
if (error)
drivers/message/fusion/mptsas.c
3377
return error;
drivers/message/fusion/mptsas.c
5159
int error=0;
drivers/message/fusion/mptsas.c
5180
error = -ENODEV;
drivers/message/fusion/mptsas.c
5187
error = -ENODEV;
drivers/message/fusion/mptsas.c
5212
error = -1;
drivers/message/fusion/mptsas.c
5294
error = -ENOMEM;
drivers/message/fusion/mptsas.c
5317
error = scsi_add_host(sh, &ioc->pcidev->dev);
drivers/message/fusion/mptsas.c
5318
if (error) {
drivers/message/fusion/mptsas.c
5334
return error;
drivers/message/fusion/mptsas.c
5412
int error;
drivers/message/fusion/mptsas.c
5437
error = pci_register_driver(&mptsas_driver);
drivers/message/fusion/mptsas.c
5438
if (error)
drivers/message/fusion/mptsas.c
5441
return error;
drivers/message/fusion/mptspi.c
1364
int error=0;
drivers/message/fusion/mptspi.c
1381
error = -ENODEV;
drivers/message/fusion/mptspi.c
1388
error = -ENODEV;
drivers/message/fusion/mptspi.c
1414
error = -1;
drivers/message/fusion/mptspi.c
1500
error = -ENOMEM;
drivers/message/fusion/mptspi.c
1523
error = scsi_add_host (sh, &ioc->pcidev->dev);
drivers/message/fusion/mptspi.c
1524
if(error) {
drivers/message/fusion/mptspi.c
1544
return error;
drivers/message/fusion/mptspi.c
1576
int error;
drivers/message/fusion/mptspi.c
1594
error = pci_register_driver(&mptspi_driver);
drivers/message/fusion/mptspi.c
1595
if (error)
drivers/message/fusion/mptspi.c
1598
return error;
drivers/mfd/viperboard.c
93
goto error;
drivers/mfd/viperboard.c
98
error:
drivers/misc/bh1770glc.c
513
goto error;
drivers/misc/bh1770glc.c
518
goto error;
drivers/misc/bh1770glc.c
542
error:
drivers/misc/enclosure.c
210
int error;
drivers/misc/enclosure.c
213
error = sysfs_create_link(&cdev->cdev.kobj, &cdev->dev->kobj, "device");
drivers/misc/enclosure.c
214
if (error)
drivers/misc/enclosure.c
215
return error;
drivers/misc/enclosure.c
218
error = sysfs_create_link(&cdev->dev->kobj, &cdev->cdev.kobj, name);
drivers/misc/enclosure.c
219
if (error)
drivers/misc/enclosure.c
222
return error;
drivers/misc/enclosure.c
88
int error = 0;
drivers/misc/enclosure.c
93
error = fn(edev, data);
drivers/misc/enclosure.c
94
if (error)
drivers/misc/enclosure.c
99
return error;
drivers/misc/hpilo.c
564
int slot, error;
drivers/misc/hpilo.c
582
error = ilo_ccb_setup(hw, data, slot);
drivers/misc/hpilo.c
583
if (error) {
drivers/misc/hpilo.c
600
error = ilo_ccb_verify(hw, data);
drivers/misc/hpilo.c
601
if (error) {
drivers/misc/hpilo.c
621
error = -EBUSY;
drivers/misc/hpilo.c
624
error = 0;
drivers/misc/hpilo.c
630
if (!error)
drivers/misc/hpilo.c
633
return error;
drivers/misc/hpilo.c
773
int devnum, slot, start, error = 0;
drivers/misc/hpilo.c
800
error = -ENOMEM;
drivers/misc/hpilo.c
810
error = pci_enable_device(pdev);
drivers/misc/hpilo.c
811
if (error)
drivers/misc/hpilo.c
816
error = pci_request_regions(pdev, ILO_NAME);
drivers/misc/hpilo.c
817
if (error)
drivers/misc/hpilo.c
820
error = ilo_map_device(pdev, ilo_hw);
drivers/misc/hpilo.c
821
if (error)
drivers/misc/hpilo.c
827
error = request_irq(pdev->irq, ilo_isr, IRQF_SHARED, "hpilo", ilo_hw);
drivers/misc/hpilo.c
828
if (error)
drivers/misc/hpilo.c
836
error = cdev_add(&ilo_hw->cdev, MKDEV(ilo_major, start), max_ccb);
drivers/misc/hpilo.c
837
if (error) {
drivers/misc/hpilo.c
865
return error;
drivers/misc/hpilo.c
884
int error;
drivers/misc/hpilo.c
887
error = class_register(&ilo_class);
drivers/misc/hpilo.c
888
if (error)
drivers/misc/hpilo.c
891
error = alloc_chrdev_region(&dev, 0, MAX_OPEN, ILO_NAME);
drivers/misc/hpilo.c
892
if (error)
drivers/misc/hpilo.c
897
error = pci_register_driver(&ilo_driver);
drivers/misc/hpilo.c
898
if (error)
drivers/misc/hpilo.c
907
return error;
drivers/misc/ibmasm/remote.c
201
int error = -ENOMEM;
drivers/misc/ibmasm/remote.c
238
error = input_register_device(mouse_dev);
drivers/misc/ibmasm/remote.c
239
if (error)
drivers/misc/ibmasm/remote.c
242
error = input_register_device(keybd_dev);
drivers/misc/ibmasm/remote.c
243
if (error)
drivers/misc/ibmasm/remote.c
259
return error;
drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_otpe2p.c
151
goto error;
drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_otpe2p.c
156
error:
drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_otpe2p.c
196
goto error;
drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_otpe2p.c
199
error:
drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_otpe2p.c
254
goto error;
drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_otpe2p.c
259
error:
drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_otpe2p.c
312
goto error;
drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_otpe2p.c
315
error:
drivers/misc/vmw_balloon.c
1366
unsigned long error;
drivers/misc/vmw_balloon.c
1371
error = vmci_doorbell_create(&b->vmci_doorbell, VMCI_FLAG_DELAYED_CB,
drivers/misc/vmw_balloon.c
1375
if (error != VMCI_SUCCESS)
drivers/misc/vmw_balloon.c
1378
error = __vmballoon_cmd(b, VMW_BALLOON_CMD_VMCI_DOORBELL_SET,
drivers/misc/vmw_balloon.c
1382
if (error != VMW_BALLOON_SUCCESS)
drivers/misc/vmw_balloon.c
1415
int error;
drivers/misc/vmw_balloon.c
1445
error = vmballoon_vmci_init(b);
drivers/misc/vmw_balloon.c
1446
if (error)
drivers/misc/vmw_balloon.c
1814
int error;
drivers/misc/vmw_balloon.c
1825
error = vmballoon_register_shrinker(&balloon);
drivers/misc/vmw_balloon.c
1826
if (error)
drivers/misc/vmw_balloon.c
1827
return error;
drivers/misc/vmw_vmci/vmci_context.c
103
error = -EINVAL;
drivers/misc/vmw_vmci/vmci_context.c
110
error = -ENOMEM;
drivers/misc/vmw_vmci/vmci_context.c
126
error = -ENOMEM;
drivers/misc/vmw_vmci/vmci_context.c
133
error = -ENOMEM;
drivers/misc/vmw_vmci/vmci_context.c
140
error = -ENOMEM;
drivers/misc/vmw_vmci/vmci_context.c
182
return ERR_PTR(error);
drivers/misc/vmw_vmci/vmci_context.c
86
int error;
drivers/misc/vmw_vmci/vmci_context.c
90
error = -EINVAL;
drivers/misc/vmw_vmci/vmci_context.c
97
error = -EINVAL;
drivers/misc/vmw_vmci/vmci_driver.c
118
int error;
drivers/misc/vmw_vmci/vmci_driver.c
128
error = vmci_guest_init();
drivers/misc/vmw_vmci/vmci_driver.c
129
if (error) {
drivers/misc/vmw_vmci/vmci_driver.c
131
error);
drivers/misc/vmw_vmci/vmci_driver.c
141
error = vmci_host_init();
drivers/misc/vmw_vmci/vmci_driver.c
142
if (error) {
drivers/misc/vmw_vmci/vmci_driver.c
144
error);
drivers/misc/vmw_vmci/vmci_guest.c
585
int error;
drivers/misc/vmw_vmci/vmci_guest.c
589
error = pcim_enable_device(pdev);
drivers/misc/vmw_vmci/vmci_guest.c
590
if (error) {
drivers/misc/vmw_vmci/vmci_guest.c
592
"Failed to enable VMCI device: %d\n", error);
drivers/misc/vmw_vmci/vmci_guest.c
593
return error;
drivers/misc/vmw_vmci/vmci_guest.c
616
error = pcim_iomap_regions(pdev, BIT(0), KBUILD_MODNAME);
drivers/misc/vmw_vmci/vmci_guest.c
617
if (error) {
drivers/misc/vmw_vmci/vmci_guest.c
619
return error;
drivers/misc/vmw_vmci/vmci_guest.c
628
error = -ENOMEM;
drivers/misc/vmw_vmci/vmci_guest.c
646
error = -ENOMEM;
drivers/misc/vmw_vmci/vmci_guest.c
659
error = -ENOMEM;
drivers/misc/vmw_vmci/vmci_guest.c
677
error = -ENXIO;
drivers/misc/vmw_vmci/vmci_guest.c
719
error = -ENXIO;
drivers/misc/vmw_vmci/vmci_guest.c
757
error = -ENXIO;
drivers/misc/vmw_vmci/vmci_guest.c
763
error = vmci_check_host_caps(pdev);
drivers/misc/vmw_vmci/vmci_guest.c
764
if (error)
drivers/misc/vmw_vmci/vmci_guest.c
789
error = pci_alloc_irq_vectors(pdev, num_irq_vectors, num_irq_vectors,
drivers/misc/vmw_vmci/vmci_guest.c
791
if (error < 0) {
drivers/misc/vmw_vmci/vmci_guest.c
792
error = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES);
drivers/misc/vmw_vmci/vmci_guest.c
793
if (error < 0)
drivers/misc/vmw_vmci/vmci_guest.c
803
error = request_threaded_irq(pci_irq_vector(pdev, 0), NULL,
drivers/misc/vmw_vmci/vmci_guest.c
806
if (error) {
drivers/misc/vmw_vmci/vmci_guest.c
808
pci_irq_vector(pdev, 0), error);
drivers/misc/vmw_vmci/vmci_guest.c
819
error = request_threaded_irq(pci_irq_vector(pdev, 1), NULL,
drivers/misc/vmw_vmci/vmci_guest.c
822
if (error) {
drivers/misc/vmw_vmci/vmci_guest.c
825
pci_irq_vector(pdev, 1), error);
drivers/misc/vmw_vmci/vmci_guest.c
829
error = request_threaded_irq(pci_irq_vector(pdev, 2),
drivers/misc/vmw_vmci/vmci_guest.c
834
if (error) {
drivers/misc/vmw_vmci/vmci_guest.c
837
pci_irq_vector(pdev, 2), error);
drivers/misc/vmw_vmci/vmci_guest.c
902
return error;
drivers/misc/vmw_vmci/vmci_host.c
1000
if (error) {
drivers/misc/vmw_vmci/vmci_host.c
1004
error);
drivers/misc/vmw_vmci/vmci_host.c
1007
return error;
drivers/misc/vmw_vmci/vmci_host.c
987
int error;
drivers/misc/vmw_vmci/vmci_host.c
993
error = PTR_ERR(host_context);
drivers/misc/vmw_vmci/vmci_host.c
995
error);
drivers/misc/vmw_vmci/vmci_host.c
996
return error;
drivers/misc/vmw_vmci/vmci_host.c
999
error = misc_register(&vmci_host_miscdev);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1158
goto error;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1165
goto error;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1174
goto error;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1182
goto error;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1206
goto error;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1211
goto error;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1217
goto error;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1247
error:
drivers/misc/vmw_vmci/vmci_queue_pair.c
1360
goto error;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1365
goto error;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1379
goto error;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1395
goto error;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1420
goto error;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1435
error:
drivers/mmc/core/block.c
1007
if (cmd.error || data.error)
drivers/mmc/core/block.c
1374
if (!brq->stop.error) {
drivers/mmc/core/block.c
1382
brq->stop.error = -EIO;
drivers/mmc/core/block.c
1535
if (mrq->cmd && mrq->cmd->error)
drivers/mmc/core/block.c
1536
err = mrq->cmd->error;
drivers/mmc/core/block.c
1537
else if (mrq->data && mrq->data->error)
drivers/mmc/core/block.c
1538
err = mrq->data->error;
drivers/mmc/core/block.c
1788
blk_status_t error = BLK_STS_OK;
drivers/mmc/core/block.c
1812
if (!mrq->cmd->error)
drivers/mmc/core/block.c
1816
if (mrq->cmd->error ||
drivers/mmc/core/block.c
1817
mrq->data->error ||
drivers/mmc/core/block.c
1820
error = BLK_STS_IOERR;
drivers/mmc/core/block.c
1822
error = BLK_STS_OK;
drivers/mmc/core/block.c
1824
} while (blk_update_request(req, error, bytes_per_read));
drivers/mmc/core/block.c
1870
return !brq->sbc.error && !brq->cmd.error &&
drivers/mmc/core/block.c
1963
if (brq->sbc.error || brq->cmd.error)
drivers/mmc/core/block.c
1984
return brq->sbc.error || brq->cmd.error || brq->stop.error ||
drivers/mmc/core/block.c
1985
brq->data.error || brq->cmd.resp[0] & CMD_ERRORS;
drivers/mmc/core/block.c
585
if (sbc.error) {
drivers/mmc/core/block.c
587
__func__, sbc.error);
drivers/mmc/core/block.c
588
return sbc.error;
drivers/mmc/core/block.c
592
if (cmd.error) {
drivers/mmc/core/block.c
594
__func__, cmd.error);
drivers/mmc/core/block.c
595
return cmd.error;
drivers/mmc/core/block.c
597
if (data.error) {
drivers/mmc/core/block.c
599
__func__, data.error);
drivers/mmc/core/block.c
600
return data.error;
drivers/mmc/core/core.c
141
int err = cmd->error;
drivers/mmc/core/core.c
146
(err == -EILSEQ || (mrq->sbc && mrq->sbc->error == -EILSEQ) ||
drivers/mmc/core/core.c
147
(mrq->data && mrq->data->error == -EILSEQ) ||
drivers/mmc/core/core.c
148
(mrq->stop && mrq->stop->error == -EILSEQ)))
drivers/mmc/core/core.c
181
mrq->sbc->error,
drivers/mmc/core/core.c
194
mrq->data->bytes_xfered, mrq->data->error);
drivers/mmc/core/core.c
200
mrq->stop->error,
drivers/mmc/core/core.c
222
mrq->cmd->error = err;
drivers/mmc/core/core.c
240
mrq->cmd->error = -EBUSY;
drivers/mmc/core/core.c
303
mrq->cmd->error = 0;
drivers/mmc/core/core.c
308
mrq->sbc->error = 0;
drivers/mmc/core/core.c
322
mrq->data->error = 0;
drivers/mmc/core/core.c
326
mrq->stop->error = 0;
drivers/mmc/core/core.c
394
mrq->cmd->error = err;
drivers/mmc/core/core.c
411
if (!cmd->error || !cmd->retries ||
drivers/mmc/core/core.c
418
mmc_hostname(host), cmd->opcode, cmd->error);
drivers/mmc/core/core.c
420
cmd->error = 0;
drivers/mmc/core/core.c
494
if ((mrq->cmd && mrq->cmd->error == -EILSEQ) ||
drivers/mmc/core/core.c
495
(mrq->data && mrq->data->error == -EILSEQ))
drivers/mmc/core/core.c
502
mmc_hostname(host), mrq->cmd->opcode, mrq->cmd->error);
drivers/mmc/core/core.c
511
mrq->data->bytes_xfered, mrq->data->error);
drivers/mmc/core/core.c
646
return cmd->error;
drivers/mmc/core/core.c
95
if ((cmd && cmd->error) || data->error ||
drivers/mmc/core/core.c
99
data->error = data_errors[get_random_u32_below(ARRAY_SIZE(data_errors))];
drivers/mmc/core/mmc_ops.c
1146
if (sbc.error || cmd.error || data.error)
drivers/mmc/core/mmc_ops.c
332
if (cmd.error)
drivers/mmc/core/mmc_ops.c
333
return cmd.error;
drivers/mmc/core/mmc_ops.c
334
if (data.error)
drivers/mmc/core/mmc_ops.c
335
return data.error;
drivers/mmc/core/mmc_ops.c
724
*cmd_error = cmd.error;
drivers/mmc/core/mmc_ops.c
726
if (cmd.error) {
drivers/mmc/core/mmc_ops.c
727
err = cmd.error;
drivers/mmc/core/mmc_ops.c
731
if (data.error) {
drivers/mmc/core/mmc_ops.c
732
err = data.error;
drivers/mmc/core/mmc_ops.c
839
if (cmd.error)
drivers/mmc/core/mmc_ops.c
840
return cmd.error;
drivers/mmc/core/mmc_ops.c
841
if (data.error)
drivers/mmc/core/mmc_ops.c
842
return data.error;
drivers/mmc/core/mmc_test.c
2436
if (mrq->data->stop && (mrq->data->error || !mrq->sbc)) {
drivers/mmc/core/mmc_test.c
303
if (cmd.error)
drivers/mmc/core/mmc_test.c
304
return cmd.error;
drivers/mmc/core/mmc_test.c
305
if (data.error)
drivers/mmc/core/mmc_test.c
306
return data.error;
drivers/mmc/core/mmc_test.c
692
if (mrq->sbc && mrq->sbc->error)
drivers/mmc/core/mmc_test.c
693
ret = mrq->sbc->error;
drivers/mmc/core/mmc_test.c
694
if (!ret && mrq->cmd->error)
drivers/mmc/core/mmc_test.c
695
ret = mrq->cmd->error;
drivers/mmc/core/mmc_test.c
696
if (!ret && mrq->data->error)
drivers/mmc/core/mmc_test.c
697
ret = mrq->data->error;
drivers/mmc/core/mmc_test.c
698
if (!ret && mrq->stop && mrq->stop->error)
drivers/mmc/core/mmc_test.c
699
ret = mrq->stop->error;
drivers/mmc/core/mmc_test.c
723
if (!ret && mrq->cmd->error)
drivers/mmc/core/mmc_test.c
724
ret = mrq->cmd->error;
drivers/mmc/core/mmc_test.c
725
if (!ret && mrq->data->error == 0)
drivers/mmc/core/mmc_test.c
727
if (!ret && mrq->data->error != -ETIMEDOUT)
drivers/mmc/core/mmc_test.c
728
ret = mrq->data->error;
drivers/mmc/core/mmc_test.c
729
if (!ret && mrq->stop && mrq->stop->error)
drivers/mmc/core/mmc_test.c
730
ret = mrq->stop->error;
drivers/mmc/core/sd.c
1086
if (cmd.error)
drivers/mmc/core/sd.c
1087
return cmd.error;
drivers/mmc/core/sd.c
1088
if (data.error)
drivers/mmc/core/sd.c
1089
return data.error;
drivers/mmc/core/sd_ops.c
107
err = cmd->error;
drivers/mmc/core/sd_ops.c
108
if (!cmd->error)
drivers/mmc/core/sd_ops.c
355
if (cmd.error)
drivers/mmc/core/sd_ops.c
356
return cmd.error;
drivers/mmc/core/sd_ops.c
357
if (data.error)
drivers/mmc/core/sd_ops.c
358
return data.error;
drivers/mmc/core/sd_ops.c
413
if (cmd.error)
drivers/mmc/core/sd_ops.c
414
return cmd.error;
drivers/mmc/core/sd_ops.c
415
if (data.error)
drivers/mmc/core/sd_ops.c
416
return data.error;
drivers/mmc/core/sdio_ops.c
178
if (cmd.error)
drivers/mmc/core/sdio_ops.c
179
err = cmd.error;
drivers/mmc/core/sdio_ops.c
180
else if (data.error)
drivers/mmc/core/sdio_ops.c
181
err = data.error;
drivers/mmc/host/alcor.c
355
if (data->error)
drivers/mmc/host/alcor.c
366
(data->error ||
drivers/mmc/host/alcor.c
373
if (data->error)
drivers/mmc/host/alcor.c
390
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/alcor.c
392
host->cmd->error = -EILSEQ;
drivers/mmc/host/alcor.c
397
host->data->error = -ETIMEDOUT;
drivers/mmc/host/alcor.c
399
host->data->error = -EILSEQ;
drivers/mmc/host/alcor.c
441
host->cmd->error = 0;
drivers/mmc/host/alcor.c
557
host->data->error = -ENOMEDIUM;
drivers/mmc/host/alcor.c
560
host->cmd->error = -ENOMEDIUM;
drivers/mmc/host/alcor.c
562
host->mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/alcor.c
769
mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/alcor.c
974
host->data->error = -ETIMEDOUT;
drivers/mmc/host/alcor.c
977
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/alcor.c
979
host->mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/atmel-mci.c
1033
data->error = -EINPROGRESS;
drivers/mmc/host/atmel-mci.c
1075
data->error = -EINPROGRESS;
drivers/mmc/host/atmel-mci.c
1126
data->error = -EINPROGRESS;
drivers/mmc/host/atmel-mci.c
1392
mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/atmel-mci.c
1400
mrq->cmd->error = -EINVAL;
drivers/mmc/host/atmel-mci.c
1639
cmd->error = -ETIMEDOUT;
drivers/mmc/host/atmel-mci.c
1641
cmd->error = -EILSEQ;
drivers/mmc/host/atmel-mci.c
1643
cmd->error = -EIO;
drivers/mmc/host/atmel-mci.c
1646
cmd->error = -EINVAL;
drivers/mmc/host/atmel-mci.c
1650
cmd->error = 0;
drivers/mmc/host/atmel-mci.c
1712
mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/atmel-mci.c
1717
mrq->data->error = -ENOMEDIUM;
drivers/mmc/host/atmel-mci.c
1721
mrq->data->error = -ENOMEDIUM;
drivers/mmc/host/atmel-mci.c
1724
mrq->stop->error = -ENOMEDIUM;
drivers/mmc/host/atmel-mci.c
1733
mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/atmel-mci.c
1735
mrq->data->error = -ENOMEDIUM;
drivers/mmc/host/atmel-mci.c
1737
mrq->stop->error = -ENOMEDIUM;
drivers/mmc/host/atmel-mci.c
1798
if (mrq->cmd->error) {
drivers/mmc/host/atmel-mci.c
1850
data->error = 0;
drivers/mmc/host/atmel-mci.c
1883
data->error = 0;
drivers/mmc/host/atmel-mci.c
1905
data->error = 0;
drivers/mmc/host/atmel-mci.c
1907
if (mrq->stop->error) {
drivers/mmc/host/atmel-mci.c
1929
data->error = -ETIMEDOUT;
drivers/mmc/host/atmel-mci.c
1931
data->error = -EILSEQ;
drivers/mmc/host/atmel-mci.c
1933
data->error = -EIO;
drivers/mmc/host/atmel-mci.c
456
cmd->resp[3], cmd->error);
drivers/mmc/host/atmel-mci.c
460
data->blksz, data->flags, data->error);
drivers/mmc/host/atmel-mci.c
466
stop->resp[3], stop->error);
drivers/mmc/host/atmel-mci.c
723
host->mrq->cmd->data->error = -ETIMEDOUT;
drivers/mmc/host/atmel-mci.c
733
host->mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/atmel-mci.c
794
cmd->error = -EINPROGRESS;
drivers/mmc/host/au1xmmc.c
336
data->error = 0;
drivers/mmc/host/au1xmmc.c
345
data->error = -EILSEQ;
drivers/mmc/host/au1xmmc.c
352
if (!data->error) {
drivers/mmc/host/au1xmmc.c
527
cmd->error = 0;
drivers/mmc/host/au1xmmc.c
559
cmd->error = -EILSEQ;
drivers/mmc/host/au1xmmc.c
563
if (!trans || cmd->error) {
drivers/mmc/host/au1xmmc.c
688
mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/au1xmmc.c
702
mrq->cmd->error = ret;
drivers/mmc/host/au1xmmc.c
793
host->mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/au1xmmc.c
795
host->mrq->data->error = -ETIMEDOUT;
drivers/mmc/host/bcm2835.c
1162
mrq->sbc->error = 0;
drivers/mmc/host/bcm2835.c
1164
mrq->cmd->error = 0;
drivers/mmc/host/bcm2835.c
1166
mrq->data->error = 0;
drivers/mmc/host/bcm2835.c
1168
mrq->stop->error = 0;
drivers/mmc/host/bcm2835.c
1175
mrq->cmd->error = -EINVAL;
drivers/mmc/host/bcm2835.c
1197
mrq->cmd->error = -EILSEQ;
drivers/mmc/host/bcm2835.c
206
cmd->error);
drivers/mmc/host/bcm2835.c
221
mrq->data->error);
drivers/mmc/host/bcm2835.c
316
host->mrq->data->error = -ETIMEDOUT;
drivers/mmc/host/bcm2835.c
346
host->data->error = -EINVAL;
drivers/mmc/host/bcm2835.c
352
host->data->error = -EINVAL;
drivers/mmc/host/bcm2835.c
439
host->data->error = -EILSEQ;
drivers/mmc/host/bcm2835.c
444
host->data->error = -ETIMEDOUT;
drivers/mmc/host/bcm2835.c
633
cmd->error = -EILSEQ;
drivers/mmc/host/bcm2835.c
653
cmd->error = -EINVAL;
drivers/mmc/host/bcm2835.c
701
if (host->mrq->stop && (data->error || !host->use_sbc)) {
drivers/mmc/host/bcm2835.c
723
data->bytes_xfered = data->error ? 0 : (data->blksz * data->blocks);
drivers/mmc/host/bcm2835.c
751
host->cmd->error = -EIO;
drivers/mmc/host/bcm2835.c
765
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/bcm2835.c
770
host->cmd->error = -EILSEQ;
drivers/mmc/host/bcm2835.c
839
host->data->error = -ETIMEDOUT;
drivers/mmc/host/bcm2835.c
843
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/bcm2835.c
845
host->mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/bcm2835.c
866
host->cmd->error = -EILSEQ;
drivers/mmc/host/bcm2835.c
870
host->mrq->data->error = -EILSEQ;
drivers/mmc/host/bcm2835.c
872
host->cmd->error = -EILSEQ;
drivers/mmc/host/bcm2835.c
875
host->mrq->data->error = -ETIMEDOUT;
drivers/mmc/host/bcm2835.c
877
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/bcm2835.c
879
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/bcm2835.c
890
host->data->error = -EILSEQ;
drivers/mmc/host/bcm2835.c
892
host->data->error = -ETIMEDOUT;
drivers/mmc/host/bcm2835.c
923
if (host->data->error)
drivers/mmc/host/bcm2835.c
935
if ((host->blocks == 0) || host->data->error)
drivers/mmc/host/bcm2835.c
949
if ((host->blocks == 0) || host->data->error)
drivers/mmc/host/bcm2835.c
962
if (host->data->error || (--host->blocks == 0))
drivers/mmc/host/cavium-octeon.c
283
goto error;
drivers/mmc/host/cavium-octeon.c
289
error:
drivers/mmc/host/cavium-thunderx.c
117
goto error;
drivers/mmc/host/cavium-thunderx.c
130
goto error;
drivers/mmc/host/cavium-thunderx.c
148
goto error;
drivers/mmc/host/cavium-thunderx.c
156
error:
drivers/mmc/host/cavium-thunderx.c
82
goto error;
drivers/mmc/host/cavium-thunderx.c
94
goto error;
drivers/mmc/host/cavium-thunderx.c
99
goto error;
drivers/mmc/host/cavium.c
331
req->data->error = 0;
drivers/mmc/host/cavium.c
337
req->data->error = 0;
drivers/mmc/host/cavium.c
376
data->error = 0;
drivers/mmc/host/cavium.c
393
data->error = 0;
drivers/mmc/host/cavium.c
485
req->cmd->error = check_status(rsp_sts);
drivers/mmc/host/cavium.c
563
goto error;
drivers/mmc/host/cavium.c
572
goto error;
drivers/mmc/host/cavium.c
609
error:
drivers/mmc/host/cavium.c
660
goto error;
drivers/mmc/host/cavium.c
678
goto error;
drivers/mmc/host/cavium.c
700
error:
drivers/mmc/host/cavium.c
701
mrq->cmd->error = -EINVAL;
drivers/mmc/host/cb710-mmc.c
422
cmd->error = -EILSEQ;
drivers/mmc/host/cb710-mmc.c
428
int error, to;
drivers/mmc/host/cb710-mmc.c
431
error = cb710_mmc_receive(slot, data);
drivers/mmc/host/cb710-mmc.c
433
error = cb710_mmc_send(slot, data);
drivers/mmc/host/cb710-mmc.c
436
if (!error)
drivers/mmc/host/cb710-mmc.c
437
error = to;
drivers/mmc/host/cb710-mmc.c
439
if (!error)
drivers/mmc/host/cb710-mmc.c
441
return error;
drivers/mmc/host/cb710-mmc.c
455
data->error = -EINVAL;
drivers/mmc/host/cb710-mmc.c
469
cmd->error = cb710_wait_for_event(slot, CB710_MMC_S1_COMMAND_SENT);
drivers/mmc/host/cb710-mmc.c
470
if (cmd->error)
drivers/mmc/host/cb710-mmc.c
475
if (cmd->error)
drivers/mmc/host/cb710-mmc.c
480
data->error = cb710_mmc_transfer_data(slot, data);
drivers/mmc/host/cqhci-core.c
1044
data->error = cqhci_error_from_flags(slot->flags);
drivers/mmc/host/cqhci-core.c
1046
mrq->cmd->error = cqhci_error_from_flags(slot->flags);
drivers/mmc/host/cqhci-core.c
688
int error = error1 ? error1 : error2;
drivers/mmc/host/cqhci-core.c
690
switch (error) {
drivers/mmc/host/cqhci-core.c
813
if (data->error)
drivers/mmc/host/davinci_mmc.c
592
req->cmd->error = -ETIMEDOUT;
drivers/mmc/host/davinci_mmc.c
782
if (!data->stop || (host->cmd && host->cmd->error)) {
drivers/mmc/host/davinci_mmc.c
808
if (host->data == NULL || cmd->error) {
drivers/mmc/host/davinci_mmc.c
809
if (cmd->error == -ETIMEDOUT)
drivers/mmc/host/davinci_mmc.c
933
data->error = -ETIMEDOUT;
drivers/mmc/host/davinci_mmc.c
945
data->error = -EILSEQ;
drivers/mmc/host/davinci_mmc.c
958
data->error = -ETIMEDOUT;
drivers/mmc/host/davinci_mmc.c
962
(data->error == -ETIMEDOUT) ? "timeout" : "CRC");
drivers/mmc/host/davinci_mmc.c
973
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/davinci_mmc.c
986
host->cmd->error = -EILSEQ;
drivers/mmc/host/dw_mmc.c
1146
data->error = -EINPROGRESS;
drivers/mmc/host/dw_mmc.c
130
cmd->resp[2], cmd->error);
drivers/mmc/host/dw_mmc.c
134
data->blksz, data->flags, data->error);
drivers/mmc/host/dw_mmc.c
140
stop->resp[2], stop->error);
drivers/mmc/host/dw_mmc.c
1429
mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/dw_mmc.c
1949
cmd->error = -ETIMEDOUT;
drivers/mmc/host/dw_mmc.c
1951
cmd->error = -EILSEQ;
drivers/mmc/host/dw_mmc.c
1953
cmd->error = -EIO;
drivers/mmc/host/dw_mmc.c
1955
cmd->error = 0;
drivers/mmc/host/dw_mmc.c
1957
return cmd->error;
drivers/mmc/host/dw_mmc.c
1966
data->error = -ETIMEDOUT;
drivers/mmc/host/dw_mmc.c
1968
data->error = -EILSEQ;
drivers/mmc/host/dw_mmc.c
1978
data->error = -ETIMEDOUT;
drivers/mmc/host/dw_mmc.c
1981
data->error = -EILSEQ;
drivers/mmc/host/dw_mmc.c
1985
data->error = -EILSEQ;
drivers/mmc/host/dw_mmc.c
1997
data->error = 0;
drivers/mmc/host/dw_mmc.c
2000
return data->error;
drivers/mmc/host/dw_mmc.c
2223
data->stop->error = 0;
drivers/mmc/host/dw_mmc.c
2262
if (mrq->cmd->error && mrq->data)
drivers/mmc/host/dw_mmc.c
258
cmd->error = -EINPROGRESS;
drivers/mmc/host/jz4740_mmc.c
499
host->req->cmd->error = -ETIMEDOUT;
drivers/mmc/host/jz4740_mmc.c
500
data->error = -ETIMEDOUT;
drivers/mmc/host/jz4740_mmc.c
502
host->req->cmd->error = -EIO;
drivers/mmc/host/jz4740_mmc.c
503
data->error = -EIO;
drivers/mmc/host/jz4740_mmc.c
507
host->req->cmd->error = -ETIMEDOUT;
drivers/mmc/host/jz4740_mmc.c
508
data->error = -ETIMEDOUT;
drivers/mmc/host/jz4740_mmc.c
510
host->req->cmd->error = -EIO;
drivers/mmc/host/jz4740_mmc.c
511
data->error = -EIO;
drivers/mmc/host/jz4740_mmc.c
652
host->req->cmd->error = -ETIMEDOUT;
drivers/mmc/host/jz4740_mmc.c
765
if (cmd->error)
drivers/mmc/host/jz4740_mmc.c
869
cmd->error = -ETIMEDOUT;
drivers/mmc/host/jz4740_mmc.c
871
cmd->error = -EIO;
drivers/mmc/host/jz4740_mmc.c
875
cmd->data->error = -EIO;
drivers/mmc/host/jz4740_mmc.c
876
cmd->error = -EIO;
drivers/mmc/host/litex_mmc.c
354
cmd->error = -ENOMEDIUM;
drivers/mmc/host/litex_mmc.c
361
sbc->error = litex_mmc_send_cmd(host, sbc->opcode, sbc->arg,
drivers/mmc/host/litex_mmc.c
364
if (sbc->error) {
drivers/mmc/host/litex_mmc.c
378
cmd->error = litex_mmc_set_bus_width(host);
drivers/mmc/host/litex_mmc.c
379
if (cmd->error) {
drivers/mmc/host/litex_mmc.c
389
cmd->error = litex_mmc_send_cmd(host, cmd->opcode, cmd->arg,
drivers/mmc/host/litex_mmc.c
391
} while (cmd->error && retries-- > 0);
drivers/mmc/host/litex_mmc.c
393
if (cmd->error) {
drivers/mmc/host/litex_mmc.c
410
if (stop && (cmd->error || !sbc)) {
drivers/mmc/host/litex_mmc.c
411
stop->error = litex_mmc_send_cmd(host, stop->opcode, stop->arg,
drivers/mmc/host/litex_mmc.c
414
if (stop->error)
drivers/mmc/host/litex_mmc.c
423
if (!cmd->error && transfer != SD_CTL_DATA_XFER_NONE) {
drivers/mmc/host/loongson2-mmc.c
335
cmd->error = ret;
drivers/mmc/host/loongson2-mmc.c
336
cmd->data->error = ret;
drivers/mmc/host/loongson2-mmc.c
348
cmd->error = 0;
drivers/mmc/host/loongson2-mmc.c
364
if (cmd->data && !cmd->error &&
drivers/mmc/host/loongson2-mmc.c
365
!cmd->data->error && !host->dma_complete)
drivers/mmc/host/loongson2-mmc.c
378
if (cmd->data && cmd->error)
drivers/mmc/host/loongson2-mmc.c
379
cmd->data->error = cmd->error;
drivers/mmc/host/loongson2-mmc.c
392
if (mrq->data->error == 0) {
drivers/mmc/host/loongson2-mmc.c
435
cmd->error = 0;
drivers/mmc/host/loongson2-mmc.c
438
cmd->error = -ETIMEDOUT;
drivers/mmc/host/loongson2-mmc.c
454
cmd->data->error = -EILSEQ;
drivers/mmc/host/loongson2-mmc.c
459
cmd->data->error = -ETIMEDOUT;
drivers/mmc/host/meson-gx-mmc.c
1033
if (cmd->error) {
drivers/mmc/host/meson-gx-mmc.c
219
if (cmd->opcode == MMC_SET_BLOCK_COUNT && !cmd->error)
drivers/mmc/host/meson-gx-mmc.c
222
(!cmd->mrq->sbc || cmd->error || cmd->data->error))
drivers/mmc/host/meson-gx-mmc.c
885
mrq->cmd->error = meson_mmc_validate_dram_access(mmc, mrq->data);
drivers/mmc/host/meson-gx-mmc.c
886
if (mrq->cmd->error) {
drivers/mmc/host/meson-gx-mmc.c
968
cmd->error = 0;
drivers/mmc/host/meson-gx-mmc.c
971
cmd->error = -EILSEQ;
drivers/mmc/host/meson-gx-mmc.c
978
cmd->error = -ETIMEDOUT;
drivers/mmc/host/meson-gx-mmc.c
988
if (data && !cmd->error)
drivers/mmc/host/meson-gx-mmc.c
995
if (cmd->error) {
drivers/mmc/host/meson-mx-sdhc-mmc.c
280
ios->clock, host->error);
drivers/mmc/host/meson-mx-sdhc-mmc.c
319
host->error = mmc_regulator_set_ocr(mmc,
drivers/mmc/host/meson-mx-sdhc-mmc.c
322
if (host->error)
drivers/mmc/host/meson-mx-sdhc-mmc.c
332
host->error = meson_mx_sdhc_set_clk(mmc, ios);
drivers/mmc/host/meson-mx-sdhc-mmc.c
333
if (host->error)
drivers/mmc/host/meson-mx-sdhc-mmc.c
358
host->error = -EINVAL;
drivers/mmc/host/meson-mx-sdhc-mmc.c
386
if (!host->error)
drivers/mmc/host/meson-mx-sdhc-mmc.c
387
host->error = meson_mx_sdhc_map_dma(mmc, mrq);
drivers/mmc/host/meson-mx-sdhc-mmc.c
389
if (host->error) {
drivers/mmc/host/meson-mx-sdhc-mmc.c
390
cmd->error = host->error;
drivers/mmc/host/meson-mx-sdhc-mmc.c
49
int error;
drivers/mmc/host/meson-mx-sdhc-mmc.c
551
cmd->error = -EIO;
drivers/mmc/host/meson-mx-sdhc-mmc.c
553
cmd->error = -EILSEQ;
drivers/mmc/host/meson-mx-sdhc-mmc.c
555
cmd->error = -ETIMEDOUT;
drivers/mmc/host/meson-mx-sdhc-mmc.c
559
cmd->data->error = -EILSEQ;
drivers/mmc/host/meson-mx-sdhc-mmc.c
561
cmd->data->error = -ETIMEDOUT;
drivers/mmc/host/meson-mx-sdhc-mmc.c
564
if (cmd->error || (cmd->data && cmd->data->error))
drivers/mmc/host/meson-mx-sdhc-mmc.c
581
if (cmd->data && !cmd->data->error) {
drivers/mmc/host/meson-mx-sdhc-mmc.c
617
if (cmd->error == -EIO || cmd->error == -ETIMEDOUT)
drivers/mmc/host/meson-mx-sdio.c
122
int error;
drivers/mmc/host/meson-mx-sdio.c
134
if (cmd->opcode == MMC_SET_BLOCK_COUNT && !cmd->error)
drivers/mmc/host/meson-mx-sdio.c
137
(!cmd->mrq->sbc || cmd->error || cmd->data->error))
drivers/mmc/host/meson-mx-sdio.c
234
if (host->cmd->error)
drivers/mmc/host/meson-mx-sdio.c
264
host->error = -EINVAL;
drivers/mmc/host/meson-mx-sdio.c
268
host->error = clk_set_rate(host->cfg_div_clk, ios->clock);
drivers/mmc/host/meson-mx-sdio.c
269
if (host->error) {
drivers/mmc/host/meson-mx-sdio.c
272
clk_rate, host->error);
drivers/mmc/host/meson-mx-sdio.c
284
host->error = mmc_regulator_set_ocr(mmc,
drivers/mmc/host/meson-mx-sdio.c
287
if (host->error)
drivers/mmc/host/meson-mx-sdio.c
326
if (!host->error)
drivers/mmc/host/meson-mx-sdio.c
327
host->error = meson_mx_mmc_map_dma(mmc, mrq);
drivers/mmc/host/meson-mx-sdio.c
329
if (host->error) {
drivers/mmc/host/meson-mx-sdio.c
330
cmd->error = host->error;
drivers/mmc/host/meson-mx-sdio.c
387
cmd->error = 0;
drivers/mmc/host/meson-mx-sdio.c
393
cmd->error = -EILSEQ;
drivers/mmc/host/meson-mx-sdio.c
397
cmd->error = -EILSEQ;
drivers/mmc/host/meson-mx-sdio.c
482
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/mmc_spi.c
286
cmd->error = 0;
drivers/mmc/host/mmc_spi.c
386
cmd->error = value;
drivers/mmc/host/mmc_spi.c
492
cmd->error = status;
drivers/mmc/host/mmc_spi.c
836
data->error = status;
drivers/mmc/host/mmc_spi.c
872
if (!data->error)
drivers/mmc/host/mmc_spi.c
873
data->error = tmp;
drivers/mmc/host/mmc_spi.c
886
if (tmp < 0 && !data->error)
drivers/mmc/host/mmc_spi.c
887
data->error = tmp;
drivers/mmc/host/mmc_spi.c
913
cmd->error = -EINVAL;
drivers/mmc/host/mmc_spi.c
920
cmd->error = -EINVAL;
drivers/mmc/host/mmc_spi.c
948
if (mrq->data->error == -EILSEQ && crc_retry) {
drivers/mmc/host/mmc_spi.c
954
mrq->data->error = 0;
drivers/mmc/host/mmci.c
1383
host->stop_abort.error = 0;
drivers/mmc/host/mmci.c
1427
data->error = -EILSEQ;
drivers/mmc/host/mmci.c
1429
data->error = -ETIMEDOUT;
drivers/mmc/host/mmci.c
1431
data->error = -ECOMM;
drivers/mmc/host/mmci.c
1433
data->error = -EIO;
drivers/mmc/host/mmci.c
1439
data->error = -EIO;
drivers/mmc/host/mmci.c
1447
if (status & MCI_DATAEND || data->error) {
drivers/mmc/host/mmci.c
1452
if (!data->error)
drivers/mmc/host/mmci.c
1457
if (host->variant->cmdreg_stop && data->error)
drivers/mmc/host/mmci.c
1461
} else if (host->mrq->sbc && !data->error) {
drivers/mmc/host/mmci.c
1503
cmd->error = -ETIMEDOUT;
drivers/mmc/host/mmci.c
1505
cmd->error = -EILSEQ;
drivers/mmc/host/mmci.c
1508
cmd->error = -ETIMEDOUT;
drivers/mmc/host/mmci.c
1521
if ((!sbc && !cmd->data) || cmd->error) {
drivers/mmc/host/mmci.c
1527
if (host->variant->cmdreg_stop && cmd->error) {
drivers/mmc/host/mmci.c
1886
mrq->cmd->error = mmci_validate_data(host, mrq->data);
drivers/mmc/host/mmci.c
1887
if (mrq->cmd->error) {
drivers/mmc/host/mmci.c
989
if (!data->error)
drivers/mmc/host/mmci.c
990
data->error = -EIO;
drivers/mmc/host/moxart-mmc.c
228
cmd->error = -ETIMEDOUT;
drivers/mmc/host/moxart-mmc.c
231
cmd->error = -ETIMEDOUT;
drivers/mmc/host/moxart-mmc.c
235
cmd->error = -EIO;
drivers/mmc/host/moxart-mmc.c
325
data->error = -ETIMEDOUT;
drivers/mmc/host/moxart-mmc.c
341
data->error = -ETIMEDOUT;
drivers/mmc/host/moxart-mmc.c
407
mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/moxart-mmc.c
439
mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/moxart-mmc.c
445
mrq->cmd->data->error = -ETIMEDOUT;
drivers/mmc/host/moxart-mmc.c
450
mrq->cmd->data->error = -ETIMEDOUT;
drivers/mmc/host/mtk-sd.c
1234
cmd->error = 0;
drivers/mmc/host/mtk-sd.c
1238
cmd->error = -EILSEQ;
drivers/mmc/host/mtk-sd.c
1239
host->error |= REQ_STOP_EIO;
drivers/mmc/host/mtk-sd.c
1241
cmd->error = -ETIMEDOUT;
drivers/mmc/host/mtk-sd.c
1242
host->error |= REQ_STOP_TMO;
drivers/mmc/host/mtk-sd.c
1246
__func__, cmd->opcode, cmd->arg, rsp[0], cmd->error);
drivers/mmc/host/mtk-sd.c
1248
return cmd->error;
drivers/mmc/host/mtk-sd.c
1279
if (host->error &&
drivers/mmc/host/mtk-sd.c
1281
cmd->error == -ETIMEDOUT))
drivers/mmc/host/mtk-sd.c
1283
__func__, cmd->opcode, cmd->arg, host->error);
drivers/mmc/host/mtk-sd.c
1314
if (host->error)
drivers/mmc/host/mtk-sd.c
1326
if (host->error)
drivers/mmc/host/mtk-sd.c
1347
sbc_error = mrq->sbc && mrq->sbc->error;
drivers/mmc/host/mtk-sd.c
1387
cmd->error = -EILSEQ;
drivers/mmc/host/mtk-sd.c
1388
host->error |= REQ_CMD_EIO;
drivers/mmc/host/mtk-sd.c
1390
cmd->error = -ETIMEDOUT;
drivers/mmc/host/mtk-sd.c
1391
host->error |= REQ_CMD_TMO;
drivers/mmc/host/mtk-sd.c
1394
if (cmd->error)
drivers/mmc/host/mtk-sd.c
1398
cmd->error);
drivers/mmc/host/mtk-sd.c
1419
host->error |= REQ_CMD_BUSY;
drivers/mmc/host/mtk-sd.c
1430
host->error |= REQ_CMD_BUSY;
drivers/mmc/host/mtk-sd.c
1457
cmd->error = 0;
drivers/mmc/host/mtk-sd.c
1471
if ((cmd->error && !host->hs400_tuning &&
drivers/mmc/host/mtk-sd.c
1472
!(cmd->error == -EILSEQ &&
drivers/mmc/host/mtk-sd.c
1474
(mrq->sbc && mrq->sbc->error))
drivers/mmc/host/mtk-sd.c
1488
host->error = 0;
drivers/mmc/host/mtk-sd.c
1500
mrq->cmd->error = -ENOSPC;
drivers/mmc/host/mtk-sd.c
1546
if (mmc_op_multi(mrq->cmd->opcode) && mrq->stop && !mrq->stop->error &&
drivers/mmc/host/mtk-sd.c
1576
if (check_data || (stop && stop->error)) {
drivers/mmc/host/mtk-sd.c
1595
if ((events & MSDC_INT_XFER_COMPL) && (!stop || !stop->error)) {
drivers/mmc/host/mtk-sd.c
1600
host->error |= REQ_DAT_ERR;
drivers/mmc/host/mtk-sd.c
1604
data->error = -ETIMEDOUT;
drivers/mmc/host/mtk-sd.c
1606
data->error = -EILSEQ;
drivers/mmc/host/mtk-sd.c
1611
(int)data->error, data->bytes_xfered);
drivers/mmc/host/mtk-sd.c
476
int error;
drivers/mmc/host/mvsdio.c
274
cmd->error = -ETIMEDOUT;
drivers/mmc/host/mvsdio.c
277
cmd->error = -EILSEQ;
drivers/mmc/host/mvsdio.c
300
data->error = -ETIMEDOUT;
drivers/mmc/host/mvsdio.c
302
data->error = -EILSEQ;
drivers/mmc/host/mvsdio.c
304
data->error = -EBADE;
drivers/mmc/host/mvsdio.c
313
if (data->bytes_xfered && data->error)
drivers/mmc/host/mvsdio.c
332
data->stop->error = -ENOEXEC;
drivers/mmc/host/mvsdio.c
334
data->stop->error = -ETIMEDOUT;
drivers/mmc/host/mvsdio.c
336
data->stop->error = -EILSEQ;
drivers/mmc/host/mvsdio.c
477
cmd->error = -EPROTO;
drivers/mmc/host/mvsdio.c
489
cmd->error = -ENOMSG;
drivers/mmc/host/mvsdio.c
538
mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/mvsdio.c
541
mrq->data->error = -ETIMEDOUT;
drivers/mmc/host/mxcmmc.c
389
cmd->error = -EINVAL;
drivers/mmc/host/mxcmmc.c
452
data->error = -EILSEQ;
drivers/mmc/host/mxcmmc.c
458
data->error = -ETIMEDOUT;
drivers/mmc/host/mxcmmc.c
462
data->error = -EILSEQ;
drivers/mmc/host/mxcmmc.c
467
data->error = -ETIMEDOUT;
drivers/mmc/host/mxcmmc.c
470
data->error = -EIO;
drivers/mmc/host/mxcmmc.c
476
data_error = data->error;
drivers/mmc/host/mxcmmc.c
494
cmd->error = -ETIMEDOUT;
drivers/mmc/host/mxcmmc.c
497
cmd->error = -EILSEQ;
drivers/mmc/host/mxcmmc.c
755
int error;
drivers/mmc/host/mxcmmc.c
766
error = mxcmci_setup_data(host, req->data);
drivers/mmc/host/mxcmmc.c
767
if (error) {
drivers/mmc/host/mxcmmc.c
768
req->cmd->error = error;
drivers/mmc/host/mxcmmc.c
779
error = mxcmci_start_cmd(host, req->cmd, cmdat);
drivers/mmc/host/mxcmmc.c
782
if (error)
drivers/mmc/host/mxcmmc.c
977
host->data->error = -ETIMEDOUT;
drivers/mmc/host/mxs-mmc.c
152
if (!data->error)
drivers/mmc/host/mxs-mmc.c
158
if (data->stop && (data->error || !mrq->sbc)) {
drivers/mmc/host/mxs-mmc.c
195
cmd->error = -ETIMEDOUT;
drivers/mmc/host/mxs-mmc.c
197
cmd->error = -EIO;
drivers/mmc/host/mxs-mmc.c
202
data->error = -ETIMEDOUT;
drivers/mmc/host/mxs-mmc.c
204
data->error = -EILSEQ;
drivers/mmc/host/mxs-mmc.c
207
data->error = -EIO;
drivers/mmc/host/omap.c
429
if (data->error) {
drivers/mmc/host/omap.c
457
mmc_omap_release_dma(host, data, data->error);
drivers/mmc/host/omap.c
592
if (host->data == NULL || cmd->error) {
drivers/mmc/host/omap.c
617
if (host->cmd->error == 0)
drivers/mmc/host/omap.c
618
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/omap.c
776
host->data->error = -ETIMEDOUT;
drivers/mmc/host/omap.c
783
host->data->error = -EILSEQ;
drivers/mmc/host/omap.c
803
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/omap.c
814
host->cmd->error = -EILSEQ;
drivers/mmc/host/omap_hsmmc.c
1005
host->cmd->error = err;
drivers/mmc/host/omap_hsmmc.c
1012
host->mrq->cmd->error = err;
drivers/mmc/host/omap_hsmmc.c
1019
int error = 0;
drivers/mmc/host/omap_hsmmc.c
1045
error = -ETIMEDOUT;
drivers/mmc/host/omap_hsmmc.c
1047
error = -EILSEQ;
drivers/mmc/host/omap_hsmmc.c
1048
host->mrq->sbc->error = error;
drivers/mmc/host/omap_hsmmc.c
1049
hsmmc_command_incomplete(host, error, end_cmd);
drivers/mmc/host/omap_hsmmc.c
1434
req->cmd->error = err;
drivers/mmc/host/omap_hsmmc.c
1436
req->data->error = err;
drivers/mmc/host/omap_hsmmc.c
855
if (!data->error)
drivers/mmc/host/omap_hsmmc.c
860
if (data->stop && (data->error || !host->mrq->sbc))
drivers/mmc/host/omap_hsmmc.c
873
!host->mrq->sbc->error && !(host->flags & AUTO_CMD23)) {
drivers/mmc/host/omap_hsmmc.c
895
if ((host->data == NULL && !host->response_busy) || cmd->error)
drivers/mmc/host/omap_hsmmc.c
907
host->data->error = errno;
drivers/mmc/host/owl-mmc.c
218
cmd->error = -EINVAL;
drivers/mmc/host/owl-mmc.c
250
cmd->error = -ETIMEDOUT;
drivers/mmc/host/owl-mmc.c
259
cmd->error = -EILSEQ;
drivers/mmc/host/owl-mmc.c
265
cmd->error = -EILSEQ;
drivers/mmc/host/owl-mmc.c
335
data->error = 0;
drivers/mmc/host/owl-mmc.c
350
data->error = ret;
drivers/mmc/host/owl-mmc.c
365
mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/owl-mmc.c
373
mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/pxamci.c
298
cmd->error = -ETIMEDOUT;
drivers/mmc/host/pxamci.c
310
cmd->error = -EILSEQ;
drivers/mmc/host/pxamci.c
314
if (host->data && !cmd->error) {
drivers/mmc/host/pxamci.c
345
data->error = -ETIMEDOUT;
drivers/mmc/host/pxamci.c
347
data->error = -EILSEQ;
drivers/mmc/host/pxamci.c
355
if (!data->error)
drivers/mmc/host/pxamci.c
553
host->data->error = -EIO;
drivers/mmc/host/renesas_sdhi_core.c
845
if (((mrq->cmd->error == -ETIMEDOUT) ||
drivers/mmc/host/renesas_sdhi_core.c
846
(mrq->data && mrq->data->error == -ETIMEDOUT)) &&
drivers/mmc/host/renesas_sdhi_internal_dmac.c
357
host->data->error)
drivers/mmc/host/renesas_sdhi_internal_dmac.c
453
if (!host->cmd->error) {
drivers/mmc/host/rtsx_pci_sdmmc.c
1600
host->mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/rtsx_pci_sdmmc.c
1602
host->mrq->stop->error = -ENOMEDIUM;
drivers/mmc/host/rtsx_pci_sdmmc.c
319
cmd->error = err;
drivers/mmc/host/rtsx_pci_sdmmc.c
393
if (cmd->error)
drivers/mmc/host/rtsx_pci_sdmmc.c
394
return cmd->error;
drivers/mmc/host/rtsx_pci_sdmmc.c
498
if (cmd->error)
drivers/mmc/host/rtsx_pci_sdmmc.c
499
return cmd->error;
drivers/mmc/host/rtsx_pci_sdmmc.c
559
data->error = host->sg_count;
drivers/mmc/host/rtsx_pci_sdmmc.c
562
return data->error;
drivers/mmc/host/rtsx_pci_sdmmc.c
589
cmd->error = -ENOMEM;
drivers/mmc/host/rtsx_pci_sdmmc.c
597
cmd->error = sd_read_data(host, cmd, (u16)data->blksz, buf,
drivers/mmc/host/rtsx_pci_sdmmc.c
607
cmd->error = sd_write_data(host, cmd, (u16)data->blksz, buf,
drivers/mmc/host/rtsx_pci_sdmmc.c
810
cmd->error = -ENOMEDIUM;
drivers/mmc/host/rtsx_pci_sdmmc.c
816
cmd->error = err;
drivers/mmc/host/rtsx_pci_sdmmc.c
840
cmd->error = sd_rw_multi(host, mrq);
drivers/mmc/host/rtsx_pci_sdmmc.c
851
if (cmd->error || data->error)
drivers/mmc/host/rtsx_pci_sdmmc.c
860
if (cmd->error) {
drivers/mmc/host/rtsx_pci_sdmmc.c
862
cmd->opcode, cmd->arg, cmd->error);
drivers/mmc/host/rtsx_usb_sdmmc.c
1437
host->mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/rtsx_usb_sdmmc.c
1439
host->mrq->stop->error = -ENOMEDIUM;
drivers/mmc/host/rtsx_usb_sdmmc.c
443
cmd->error = err;
drivers/mmc/host/rtsx_usb_sdmmc.c
551
cmd->error = -ENOMEM;
drivers/mmc/host/rtsx_usb_sdmmc.c
559
cmd->error = sd_read_data(host, cmd, (u16)data->blksz, buf,
drivers/mmc/host/rtsx_usb_sdmmc.c
569
cmd->error = sd_write_data(host, cmd, (u16)data->blksz, buf,
drivers/mmc/host/rtsx_usb_sdmmc.c
821
cmd->error = -ENOMEDIUM;
drivers/mmc/host/rtsx_usb_sdmmc.c
826
cmd->error = -ENOMEDIUM;
drivers/mmc/host/rtsx_usb_sdmmc.c
831
cmd->error = -ENOMEDIUM;
drivers/mmc/host/rtsx_usb_sdmmc.c
849
if (!cmd->error) {
drivers/mmc/host/rtsx_usb_sdmmc.c
863
if (cmd->error || data->error)
drivers/mmc/host/rtsx_usb_sdmmc.c
872
if (cmd->error) {
drivers/mmc/host/rtsx_usb_sdmmc.c
878
dev_dbg(sdmmc_dev(host), "cmd->error = %d\n", cmd->error);
drivers/mmc/host/sdhci-of-esdhc.c
518
host->data->error = 0;
drivers/mmc/host/sdhci-omap.c
901
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/sdhci-omap.c
903
host->cmd->error = -EILSEQ;
drivers/mmc/host/sdhci-pxav2.c
129
if (!mrq->cmd->error &&
drivers/mmc/host/sdhci-uhs2.c
1011
host->cmd->error = -EILSEQ;
drivers/mmc/host/sdhci-uhs2.c
1013
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/sdhci-uhs2.c
1029
host->data->error = -ETIMEDOUT;
drivers/mmc/host/sdhci-uhs2.c
1034
host->data->error = -EIO;
drivers/mmc/host/sdhci-uhs2.c
1036
host->data->error = -EILSEQ;
drivers/mmc/host/sdhci-uhs2.c
1040
if (host->data && host->data->error)
drivers/mmc/host/sdhci-uhs2.c
695
cmd->error = 0;
drivers/mmc/host/sdhci-uhs2.c
747
cmd->error = -EIO;
drivers/mmc/host/sdhci-uhs2.c
911
(!(host->flags & SDHCI_DEVICE_DEAD) && mrq->data && mrq->data->error);
drivers/mmc/host/sdhci-uhs2.c
957
if (mrq->cmd->error || mrq->data->error)
drivers/mmc/host/sdhci.c
1504
((mrq->cmd && mrq->cmd->error) ||
drivers/mmc/host/sdhci.c
1505
(mrq->sbc && mrq->sbc->error) ||
drivers/mmc/host/sdhci.c
1506
(mrq->data && mrq->data->stop && mrq->data->stop->error) ||
drivers/mmc/host/sdhci.c
1578
if (data->error) {
drivers/mmc/host/sdhci.c
1598
if (data->error)
drivers/mmc/host/sdhci.c
1618
data->error)) {
drivers/mmc/host/sdhci.c
1635
data->stop->error = -EIO;
drivers/mmc/host/sdhci.c
1662
cmd->error = 0;
drivers/mmc/host/sdhci.c
1748
cmd->error = -ENOMEDIUM;
drivers/mmc/host/sdhci.c
1772
cmd->error = -EIO;
drivers/mmc/host/sdhci.c
3040
host->data_cmd->error = err;
drivers/mmc/host/sdhci.c
3045
host->cmd->error = err;
drivers/mmc/host/sdhci.c
3203
(mrq->cmd->error || data->error)) {
drivers/mmc/host/sdhci.c
3253
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/sdhci.c
3277
host->data->error = -ETIMEDOUT;
drivers/mmc/host/sdhci.c
3281
host->data_cmd->error = -ETIMEDOUT;
drivers/mmc/host/sdhci.c
3284
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/sdhci.c
3333
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/sdhci.c
3336
host->cmd->error = -EILSEQ;
drivers/mmc/host/sdhci.c
3364
mrq->sbc->error = err;
drivers/mmc/host/sdhci.c
3434
data_cmd->error = -ETIMEDOUT;
drivers/mmc/host/sdhci.c
3471
host->data->error = -ETIMEDOUT;
drivers/mmc/host/sdhci.c
3474
host->data->error = -EILSEQ;
drivers/mmc/host/sdhci.c
3480
host->data->error = -EILSEQ;
drivers/mmc/host/sdhci.c
3494
host->data->error = -EIO;
drivers/mmc/host/sdhci.c
3499
if (host->data->error)
drivers/mmc/host/sdricoh_cs.c
273
cmd->error = sdricoh_mmc_cmd(host, cmd);
drivers/mmc/host/sdricoh_cs.c
293
if (data && cmd->error == 0) {
drivers/mmc/host/sdricoh_cs.c
316
cmd->error = result;
drivers/mmc/host/sdricoh_cs.c
326
cmd->error = -EINVAL;
drivers/mmc/host/sh_mmcif.c
1001
mrq->stop->error = sh_mmcif_error_manage(host);
drivers/mmc/host/sh_mmcif.c
1019
mrq->cmd->error = -EAGAIN;
drivers/mmc/host/sh_mmcif.c
1133
cmd->error = -ETIMEDOUT;
drivers/mmc/host/sh_mmcif.c
1136
cmd->error = sh_mmcif_error_manage(host);
drivers/mmc/host/sh_mmcif.c
1140
cmd->opcode, cmd->error);
drivers/mmc/host/sh_mmcif.c
1145
cmd->error = 0;
drivers/mmc/host/sh_mmcif.c
1169
data->error = sh_mmcif_data_trans(host, host->mrq, cmd->opcode);
drivers/mmc/host/sh_mmcif.c
1170
return !data->error;
drivers/mmc/host/sh_mmcif.c
1190
data->error = sh_mmcif_error_manage(host);
drivers/mmc/host/sh_mmcif.c
1193
data->error = -ETIMEDOUT;
drivers/mmc/host/sh_mmcif.c
1197
data->error = time;
drivers/mmc/host/sh_mmcif.c
1203
if (data->error) {
drivers/mmc/host/sh_mmcif.c
1271
mrq->stop->error = sh_mmcif_error_manage(host);
drivers/mmc/host/sh_mmcif.c
1272
dev_dbg(dev, "%s(): %d\n", __func__, mrq->stop->error);
drivers/mmc/host/sh_mmcif.c
1276
mrq->stop->error = 0;
drivers/mmc/host/sh_mmcif.c
1281
mrq->data->error = sh_mmcif_error_manage(host);
drivers/mmc/host/sh_mmcif.c
1282
dev_dbg(dev, "%s(): %d\n", __func__, mrq->data->error);
drivers/mmc/host/sh_mmcif.c
1298
if (!mrq->cmd->error && data && !data->error)
drivers/mmc/host/sh_mmcif.c
1302
if (mrq->stop && !mrq->cmd->error && (!data || !data->error)) {
drivers/mmc/host/sh_mmcif.c
1304
if (!mrq->stop->error) {
drivers/mmc/host/sh_mmcif.c
1388
mrq->cmd->error = sh_mmcif_error_manage(host);
drivers/mmc/host/sh_mmcif.c
1391
mrq->stop->error = sh_mmcif_error_manage(host);
drivers/mmc/host/sh_mmcif.c
1399
mrq->data->error = sh_mmcif_error_manage(host);
drivers/mmc/host/sh_mmcif.c
446
goto error;
drivers/mmc/host/sh_mmcif.c
453
error:
drivers/mmc/host/sh_mmcif.c
629
data->error = sh_mmcif_error_manage(host);
drivers/mmc/host/sh_mmcif.c
630
dev_dbg(dev, "%s(): %d\n", __func__, data->error);
drivers/mmc/host/sh_mmcif.c
690
data->error = sh_mmcif_error_manage(host);
drivers/mmc/host/sh_mmcif.c
691
dev_dbg(dev, "%s(): %d\n", __func__, data->error);
drivers/mmc/host/sh_mmcif.c
739
data->error = sh_mmcif_error_manage(host);
drivers/mmc/host/sh_mmcif.c
740
dev_dbg(dev, "%s(): %d\n", __func__, data->error);
drivers/mmc/host/sh_mmcif.c
800
data->error = sh_mmcif_error_manage(host);
drivers/mmc/host/sh_mmcif.c
801
dev_dbg(dev, "%s(): %d\n", __func__, data->error);
drivers/mmc/host/sunplus-mmc.c
440
data->error = -EINVAL;
drivers/mmc/host/sunplus-mmc.c
568
cmd->error = ret;
drivers/mmc/host/sunplus-mmc.c
570
data->error = ret;
drivers/mmc/host/sunplus-mmc.c
596
data->error = 0;
drivers/mmc/host/sunxi-mmc.c
1022
mrq->cmd->error = host->ferror;
drivers/mmc/host/sunxi-mmc.c
1031
cmd->error = ret;
drivers/mmc/host/sunxi-mmc.c
1032
data->error = ret;
drivers/mmc/host/sunxi-mmc.c
1085
mrq->cmd->error = -EBUSY;
drivers/mmc/host/sunxi-mmc.c
522
mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/sunxi-mmc.c
525
data->error = -ETIMEDOUT;
drivers/mmc/host/sunxi-mmc.c
530
mrq->stop->error = -ETIMEDOUT;
drivers/mmc/host/tifm_sd.c
1007
host->req->cmd->error = -ENOMEDIUM;
drivers/mmc/host/tifm_sd.c
1009
host->req->stop->error = -ENOMEDIUM;
drivers/mmc/host/tifm_sd.c
403
if (cmd->error)
drivers/mmc/host/tifm_sd.c
410
if (cmd->data->error) {
drivers/mmc/host/tifm_sd.c
525
cmd->data->error = -ETIMEDOUT;
drivers/mmc/host/tifm_sd.c
527
cmd->data->error = -EILSEQ;
drivers/mmc/host/tifm_sd.c
536
host->req->stop->error = cmd_error;
drivers/mmc/host/tifm_sd.c
539
cmd->error = cmd_error;
drivers/mmc/host/tifm_sd.c
545
cmd->error = cmd_error;
drivers/mmc/host/tifm_sd.c
622
mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/tifm_sd.c
629
mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/tifm_sd.c
669
mrq->cmd->error = -ENOMEM;
drivers/mmc/host/tifm_sd.c
685
mrq->cmd->error = -ENOMEM;
drivers/mmc/host/tmio_mmc_core.c
256
host->data->error = -ETIMEDOUT;
drivers/mmc/host/tmio_mmc_core.c
258
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/tmio_mmc_core.c
260
mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/tmio_mmc_core.c
505
if (!data->error)
drivers/mmc/host/tmio_mmc_core.c
557
data->error = -ETIMEDOUT;
drivers/mmc/host/tmio_mmc_core.c
560
data->error = -EILSEQ;
drivers/mmc/host/tmio_mmc_core.c
626
cmd->error = -ETIMEDOUT;
drivers/mmc/host/tmio_mmc_core.c
630
cmd->error = -EILSEQ;
drivers/mmc/host/tmio_mmc_core.c
636
if (host->data && (!cmd->error || cmd->error == -EILSEQ)) {
drivers/mmc/host/tmio_mmc_core.c
826
mrq->cmd->error = ret;
drivers/mmc/host/tmio_mmc_core.c
842
mrq->cmd->error = -EAGAIN;
drivers/mmc/host/tmio_mmc_core.c
883
if (mrq->cmd->error || (mrq->data && mrq->data->error)) {
drivers/mmc/host/tmio_mmc_core.c
893
if (host->mrq && !mrq->cmd->error) {
drivers/mmc/host/toshsd.c
168
host->cmd->error = -EIO;
drivers/mmc/host/toshsd.c
255
cmd->opcode, cmd->error, cmd->flags);
drivers/mmc/host/toshsd.c
276
if (data->error == 0)
drivers/mmc/host/toshsd.c
293
int error = 0, ret = IRQ_HANDLED;
drivers/mmc/host/toshsd.c
310
error = -ETIMEDOUT;
drivers/mmc/host/toshsd.c
313
error = -EILSEQ;
drivers/mmc/host/toshsd.c
344
error = -EIO;
drivers/mmc/host/toshsd.c
347
if (error) {
drivers/mmc/host/toshsd.c
349
host->cmd->error = error;
drivers/mmc/host/toshsd.c
351
if (error == -ETIMEDOUT) {
drivers/mmc/host/toshsd.c
503
mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/uniphier-sd.c
124
host->data->error = -ETIMEDOUT;
drivers/mmc/host/usdhi6rol0.c
1104
mrq->cmd->error = ret;
drivers/mmc/host/usdhi6rol0.c
1269
data->error = usdhi6_error_code(host);
drivers/mmc/host/usdhi6rol0.c
1270
goto error;
drivers/mmc/host/usdhi6rol0.c
1278
data->error = -ENOMEM;
drivers/mmc/host/usdhi6rol0.c
1279
goto error;
drivers/mmc/host/usdhi6rol0.c
1296
error:
drivers/mmc/host/usdhi6rol0.c
1297
dev_dbg(mmc_dev(host->mmc), "%s(): %d\n", __func__, data->error);
drivers/mmc/host/usdhi6rol0.c
1299
return data->error;
drivers/mmc/host/usdhi6rol0.c
1309
data->error = usdhi6_error_code(host);
drivers/mmc/host/usdhi6rol0.c
1310
goto error;
drivers/mmc/host/usdhi6rol0.c
1318
data->error = -ENOMEM;
drivers/mmc/host/usdhi6rol0.c
1319
goto error;
drivers/mmc/host/usdhi6rol0.c
1339
error:
drivers/mmc/host/usdhi6rol0.c
1340
dev_dbg(mmc_dev(host->mmc), "%s(): %d\n", __func__, data->error);
drivers/mmc/host/usdhi6rol0.c
1342
return data->error;
drivers/mmc/host/usdhi6rol0.c
1361
mrq->stop->error = -EOPNOTSUPP;
drivers/mmc/host/usdhi6rol0.c
1373
cmd->error = usdhi6_error_code(host);
drivers/mmc/host/usdhi6rol0.c
1435
return !host->mrq->data->error &&
drivers/mmc/host/usdhi6rol0.c
1462
return !host->mrq->data->error &&
drivers/mmc/host/usdhi6rol0.c
1517
mrq->stop->error = ret;
drivers/mmc/host/usdhi6rol0.c
1519
mrq->data->error = ret;
drivers/mmc/host/usdhi6rol0.c
1524
mrq->stop->error = 0;
drivers/mmc/host/usdhi6rol0.c
1528
mrq->data->error = usdhi6_error_code(host);
drivers/mmc/host/usdhi6rol0.c
1530
mrq->data->error);
drivers/mmc/host/usdhi6rol0.c
1534
cmd->error = -EFAULT;
drivers/mmc/host/usdhi6rol0.c
1548
if (!cmd->error) {
drivers/mmc/host/usdhi6rol0.c
1550
if (!data->error) {
drivers/mmc/host/usdhi6rol0.c
1553
!host->mrq->stop->error &&
drivers/mmc/host/usdhi6rol0.c
1568
__func__, data->error);
drivers/mmc/host/usdhi6rol0.c
1584
u16 status, status2, error;
drivers/mmc/host/usdhi6rol0.c
1598
error = status2 & USDHI6_SD_INFO2_ERR;
drivers/mmc/host/usdhi6rol0.c
1606
if (error)
drivers/mmc/host/usdhi6rol0.c
1614
host->io_error = error;
drivers/mmc/host/usdhi6rol0.c
1617
if (error) {
drivers/mmc/host/usdhi6rol0.c
1620
error != USDHI6_SD_INFO2_RSP_TOUT)
drivers/mmc/host/usdhi6rol0.c
1623
__func__, error);
drivers/mmc/host/usdhi6rol0.c
1627
__func__, error);
drivers/mmc/host/usdhi6rol0.c
1708
mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/usdhi6rol0.c
1712
mrq->stop->error = -ETIMEDOUT;
drivers/mmc/host/usdhi6rol0.c
1729
data->error = -ETIMEDOUT;
drivers/mmc/host/usdhi6rol0.c
406
if (!data->error && data->flags & MMC_DATA_READ) {
drivers/mmc/host/usdhi6rol0.c
498
data->error = -EINVAL;
drivers/mmc/host/usdhi6rol0.c
647
data->error = usdhi6_error_code(host);
drivers/mmc/host/usdhi6rol0.c
652
"DMA failed: %d, falling back to PIO\n", data->error);
drivers/mmc/host/usdhi6rol0.c
914
if (mrq->cmd->error ||
drivers/mmc/host/usdhi6rol0.c
915
(data && data->error) ||
drivers/mmc/host/usdhi6rol0.c
916
(mrq->stop && mrq->stop->error))
drivers/mmc/host/usdhi6rol0.c
920
mrq->cmd->error,
drivers/mmc/host/usdhi6rol0.c
921
data ? data->error : 1,
drivers/mmc/host/usdhi6rol0.c
922
mrq->stop ? mrq->stop->error : 1);
drivers/mmc/host/ushc.c
224
req->cmd->error = urb->status;
drivers/mmc/host/ushc.c
227
req->cmd->error = -EIO;
drivers/mmc/host/ushc.c
229
req->cmd->error = -ETIMEDOUT;
drivers/mmc/host/ushc.c
234
req->data->error = -EIO;
drivers/mmc/host/ushc.c
236
req->data->error = -ETIMEDOUT;
drivers/mmc/host/ushc.c
316
req->cmd->error = ret;
drivers/mmc/host/via-sdmmc.c
1008
host->mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/via-sdmmc.c
1192
sdhost->mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/via-sdmmc.c
1194
sdhost->mrq->stop->error = -ENOMEDIUM;
drivers/mmc/host/via-sdmmc.c
635
if (data->error)
drivers/mmc/host/via-sdmmc.c
654
host->cmd->error = 0;
drivers/mmc/host/via-sdmmc.c
685
host->mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/via-sdmmc.c
847
host->cmd->error = -ETIMEDOUT;
drivers/mmc/host/via-sdmmc.c
849
host->cmd->error = -EILSEQ;
drivers/mmc/host/via-sdmmc.c
851
if (host->cmd->error)
drivers/mmc/host/via-sdmmc.c
865
host->data->error = -ETIMEDOUT;
drivers/mmc/host/via-sdmmc.c
867
host->data->error = -EILSEQ;
drivers/mmc/host/via-sdmmc.c
952
sdhost->data->error = -ETIMEDOUT;
drivers/mmc/host/via-sdmmc.c
956
sdhost->cmd->error = -ETIMEDOUT;
drivers/mmc/host/via-sdmmc.c
958
sdhost->mrq->cmd->error = -ETIMEDOUT;
drivers/mmc/host/vub300.c
1055
cmd->error = -EINVAL;
drivers/mmc/host/vub300.c
1167
cmd->error = retval;
drivers/mmc/host/vub300.c
1444
cmd->error = result;
drivers/mmc/host/vub300.c
1455
cmd->error = vub300->sg_request.status;
drivers/mmc/host/vub300.c
1474
cmd->error = result;
drivers/mmc/host/vub300.c
1479
cmd->error = -EREMOTEIO;
drivers/mmc/host/vub300.c
1491
cmd->error = -ENOMEM;
drivers/mmc/host/vub300.c
1520
cmd->error = result;
drivers/mmc/host/vub300.c
1543
cmd->error = result;
drivers/mmc/host/vub300.c
1549
cmd->error = -ENOMEM;
drivers/mmc/host/vub300.c
156
struct sd_error_header error;
drivers/mmc/host/vub300.c
1562
cmd->error = result;
drivers/mmc/host/vub300.c
1570
if (cmd->error) {
drivers/mmc/host/vub300.c
1575
cmd->error = vub300->sg_request.status;
drivers/mmc/host/vub300.c
1602
cmd->error = -ETIMEDOUT;
drivers/mmc/host/vub300.c
1613
cmd->error = respretval;
drivers/mmc/host/vub300.c
1614
} else if (cmd->error) {
drivers/mmc/host/vub300.c
1621
cmd->error = -EPROTO == vub300->command_out_urb->status ?
drivers/mmc/host/vub300.c
1625
cmd->error = -EPROTO == vub300->command_res_urb->status ?
drivers/mmc/host/vub300.c
1633
cmd->error =
drivers/mmc/host/vub300.c
1634
vub300_response_error(vub300->resp.error.error_code);
drivers/mmc/host/vub300.c
1650
cmd->error = 0;
drivers/mmc/host/vub300.c
1675
cmd->error = 0;
drivers/mmc/host/vub300.c
1700
cmd->error = 0;
drivers/mmc/host/vub300.c
1702
cmd->error = -EINVAL;
drivers/mmc/host/vub300.c
1775
if (cmd->error) {
drivers/mmc/host/vub300.c
1776
if (cmd->error == -ENOMEDIUM)
drivers/mmc/host/vub300.c
1902
cmd->error = -ESHUTDOWN;
drivers/mmc/host/vub300.c
1908
cmd->error = -ENOMEDIUM;
drivers/mmc/host/vub300.c
1913
cmd->error = -ENOMEDIUM;
drivers/mmc/host/vub300.c
1918
cmd->error = vub300->usb_transport_fail;
drivers/mmc/host/vub300.c
1923
cmd->error = -ENODEV;
drivers/mmc/host/vub300.c
1936
cmd->error = 0;
drivers/mmc/host/vub300.c
599
if (vub300->resp.error.error_code == SD_ERROR_NO_DEVICE)
drivers/mmc/host/vub300.c
807
vub300->cmd->error =
drivers/mmc/host/vub300.c
808
vub300_response_error(vub300->resp.error.error_code);
drivers/mmc/host/vub300.c
811
vub300->cmd->error =
drivers/mmc/host/vub300.c
812
vub300_response_error(vub300->resp.error.error_code);
drivers/mmc/host/vub300.c
939
cmd->error = -EINVAL;
drivers/mmc/host/wbsd.c
1022
host->mrq->cmd->error = -ENOMEDIUM;
drivers/mmc/host/wbsd.c
1086
data->error = -EILSEQ;
drivers/mmc/host/wbsd.c
1110
data->error = -ETIMEDOUT;
drivers/mmc/host/wbsd.c
304
cmd->error = -EILSEQ;
drivers/mmc/host/wbsd.c
324
cmd->error = -EILSEQ;
drivers/mmc/host/wbsd.c
359
cmd->error = 0;
drivers/mmc/host/wbsd.c
379
cmd->error = -ENOMEDIUM;
drivers/mmc/host/wbsd.c
382
cmd->error = -ETIMEDOUT;
drivers/mmc/host/wbsd.c
385
cmd->error = -EILSEQ;
drivers/mmc/host/wbsd.c
578
data->error = -EINVAL;
drivers/mmc/host/wbsd.c
600
data->error = -EINVAL;
drivers/mmc/host/wbsd.c
662
data->error = 0;
drivers/mmc/host/wbsd.c
717
if (!data->error)
drivers/mmc/host/wbsd.c
718
data->error = -EIO;
drivers/mmc/host/wbsd.c
728
if (data->error) {
drivers/mmc/host/wbsd.c
763
cmd->error = -ENOMEDIUM;
drivers/mmc/host/wbsd.c
796
cmd->error = -EINVAL;
drivers/mmc/host/wbsd.c
808
if (cmd->data->error)
drivers/mmc/host/wbsd.c
819
if (cmd->data && !cmd->error) {
drivers/mmc/host/wmt-sdmmc.c
309
if ((req->cmd->error) || (req->data->error))
drivers/mmc/host/wmt-sdmmc.c
344
priv->req->data->error = -ETIMEDOUT;
drivers/mmc/host/wmt-sdmmc.c
349
priv->req->data->error = 0;
drivers/mmc/host/wmt-sdmmc.c
389
priv->cmd->error = -ETIMEDOUT;
drivers/mmc/host/wmt-sdmmc.c
404
priv->cmd->error = 0;
drivers/mmc/host/wmt-sdmmc.c
408
priv->cmd->error = -ETIMEDOUT;
drivers/mmc/host/wmt-sdmmc.c
415
if (!priv->cmd->error)
drivers/mmc/host/wmt-sdmmc.c
426
priv->cmd->error = 0;
drivers/mmc/host/wmt-sdmmc.c
434
priv->cmd->error = -ETIMEDOUT;
drivers/mtd/devices/phram.c
293
goto error;
drivers/mtd/devices/phram.c
299
goto error;
drivers/mtd/devices/phram.c
306
goto error;
drivers/mtd/devices/phram.c
314
goto error;
drivers/mtd/devices/phram.c
321
goto error;
drivers/mtd/devices/phram.c
326
goto error;
drivers/mtd/devices/phram.c
331
error:
drivers/mtd/hyperbus/rpc-if.c
121
int error;
drivers/mtd/hyperbus/rpc-if.c
127
error = rpcif_sw_init(&hyperbus->rpc, pdev->dev.parent);
drivers/mtd/hyperbus/rpc-if.c
128
if (error)
drivers/mtd/hyperbus/rpc-if.c
129
return error;
drivers/mtd/hyperbus/rpc-if.c
135
error = rpcif_hw_init(hyperbus->rpc.dev, true);
drivers/mtd/hyperbus/rpc-if.c
136
if (error)
drivers/mtd/hyperbus/rpc-if.c
146
error = hyperbus_register_device(&hyperbus->hbdev);
drivers/mtd/hyperbus/rpc-if.c
147
if (error)
drivers/mtd/hyperbus/rpc-if.c
154
return error;
drivers/mtd/maps/vmu-flash.c
115
int partition, error = 0, x, wait;
drivers/mtd/maps/vmu-flash.c
134
error = -ENOMEM;
drivers/mtd/maps/vmu-flash.c
153
error = -EAGAIN;
drivers/mtd/maps/vmu-flash.c
161
error = -ENOMEM;
drivers/mtd/maps/vmu-flash.c
169
error = maple_add_packet(mdev, MAPLE_FUNC_MEMCARD,
drivers/mtd/maps/vmu-flash.c
180
if (error || atomic_read(&mdev->busy) == 2) {
drivers/mtd/maps/vmu-flash.c
182
error = -ENXIO;
drivers/mtd/maps/vmu-flash.c
190
error = -EIO;
drivers/mtd/maps/vmu-flash.c
217
return error;
drivers/mtd/maps/vmu-flash.c
222
return error;
drivers/mtd/maps/vmu-flash.c
232
int partition, error, locking, x, phaselen, wait;
drivers/mtd/maps/vmu-flash.c
244
error = -ENOMEM;
drivers/mtd/maps/vmu-flash.c
256
error = -EBUSY;
drivers/mtd/maps/vmu-flash.c
270
error = -EIO;
drivers/mtd/maps/vmu-flash.c
277
error = -EIO;
drivers/mtd/maps/vmu-flash.c
298
return error;
drivers/mtd/maps/vmu-flash.c
310
int partition, error;
drivers/mtd/maps/vmu-flash.c
332
error = maple_vmu_read_block(vblock->num, buf, mtd);
drivers/mtd/maps/vmu-flash.c
333
if (error) {
drivers/mtd/maps/vmu-flash.c
334
ret = error;
drivers/mtd/maps/vmu-flash.c
422
int index = 0, partition, error = 0, numblocks;
drivers/mtd/maps/vmu-flash.c
436
error = -EIO;
drivers/mtd/maps/vmu-flash.c
442
error = -ENOMEM;
drivers/mtd/maps/vmu-flash.c
448
error = -ENOMEM;
drivers/mtd/maps/vmu-flash.c
454
error = maple_vmu_read_block(vblock->num, buffer, mtd);
drivers/mtd/maps/vmu-flash.c
455
if (error)
drivers/mtd/maps/vmu-flash.c
467
error = maple_vmu_write_block(vblock->num, buffer, mtd);
drivers/mtd/maps/vmu-flash.c
472
if (error != card->blocklen)
drivers/mtd/maps/vmu-flash.c
489
dev_err(&mdev->dev, "VMU write failing with error %d\n", error);
drivers/mtd/maps/vmu-flash.c
490
return error;
drivers/mtd/maps/vmu-flash.c
509
int error;
drivers/mtd/maps/vmu-flash.c
556
error = mtd_device_register(mtd_cur, NULL, 0);
drivers/mtd/maps/vmu-flash.c
557
if (error)
drivers/mtd/maps/vmu-flash.c
578
"error is 0x%X\n", mdev->port, mdev->unit, error);
drivers/mtd/maps/vmu-flash.c
579
for (error = 0; error <= card->partition; error++) {
drivers/mtd/maps/vmu-flash.c
580
kfree(((card->parts)[error]).pcache);
drivers/mtd/maps/vmu-flash.c
581
((card->parts)[error]).pcache = NULL;
drivers/mtd/maps/vmu-flash.c
585
for (error = 0; error <= card->partition; error++) {
drivers/mtd/maps/vmu-flash.c
586
kfree(((card->mtd)[error]).priv);
drivers/mtd/maps/vmu-flash.c
587
((card->mtd)[error]).priv = NULL;
drivers/mtd/maps/vmu-flash.c
600
int c, error;
drivers/mtd/maps/vmu-flash.c
614
error = -ENOMEM;
drivers/mtd/maps/vmu-flash.c
632
error = -ENOMEM;
drivers/mtd/maps/vmu-flash.c
638
error = -ENOMEM;
drivers/mtd/maps/vmu-flash.c
659
error = -EAGAIN;
drivers/mtd/maps/vmu-flash.c
670
error = maple_add_packet(mdev, MAPLE_FUNC_MEMCARD,
drivers/mtd/maps/vmu-flash.c
672
if (error) {
drivers/mtd/maps/vmu-flash.c
674
" error is 0x%X\n", mdev->port, mdev->unit, error);
drivers/mtd/maps/vmu-flash.c
686
return error;
drivers/mtd/maps/vmu-flash.c
730
enum maple_file_errors error = ((int *)recvbuf)[1];
drivers/mtd/maps/vmu-flash.c
732
switch (error) {
drivers/mtd/maps/vmu-flash.c
766
mdev->port, mdev->unit, error);
drivers/mtd/mtdcore.c
698
int i, error, ofidx;
drivers/mtd/mtdcore.c
745
error = i;
drivers/mtd/mtdcore.c
779
error = mtd_unlock(mtd, 0, mtd->size);
drivers/mtd/mtdcore.c
780
if (error && error != -EOPNOTSUPP)
drivers/mtd/mtdcore.c
785
error = 0;
drivers/mtd/mtdcore.c
794
error = dev_set_name(&mtd->dev, "mtd%d", i);
drivers/mtd/mtdcore.c
795
if (error)
drivers/mtd/mtdcore.c
800
error = device_register(&mtd->dev);
drivers/mtd/mtdcore.c
801
if (error) {
drivers/mtd/mtdcore.c
807
error = mtd_nvmem_add(mtd);
drivers/mtd/mtdcore.c
808
if (error)
drivers/mtd/mtdcore.c
849
return error;
drivers/mtd/mtdswap.c
901
goto error;
drivers/mtd/mtdswap.c
910
goto error;
drivers/mtd/mtdswap.c
915
goto error;
drivers/mtd/mtdswap.c
919
goto error;
drivers/mtd/mtdswap.c
926
goto error;
drivers/mtd/mtdswap.c
932
error:
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
101
goto error;
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
107
goto error;
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
112
goto error;
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
116
error:
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
87
goto error;
drivers/mtd/nand/raw/ingenic/jz4740_ecc.c
122
uint32_t reg, status, error;
drivers/mtd/nand/raw/ingenic/jz4740_ecc.c
152
error = readl(ecc->base + JZ_REG_NAND_ERR(i));
drivers/mtd/nand/raw/ingenic/jz4740_ecc.c
153
index = ((error >> 16) & 0x1ff) - 1;
drivers/mtd/nand/raw/ingenic/jz4740_ecc.c
155
jz_nand_correct_data(buf, index, error & 0x1ff);
drivers/mtd/nand/raw/lpc32xx_slc.c
606
int stat, i, status, error;
drivers/mtd/nand/raw/lpc32xx_slc.c
622
error = mtd_ooblayout_ecc(mtd, 0, &oobregion);
drivers/mtd/nand/raw/lpc32xx_slc.c
623
if (error)
drivers/mtd/nand/raw/lpc32xx_slc.c
624
return error;
drivers/mtd/nand/raw/lpc32xx_slc.c
675
int error;
drivers/mtd/nand/raw/lpc32xx_slc.c
680
error = lpc32xx_xfer(mtd, (uint8_t *)buf, chip->ecc.steps, 0);
drivers/mtd/nand/raw/lpc32xx_slc.c
681
if (error)
drivers/mtd/nand/raw/lpc32xx_slc.c
682
return error;
drivers/mtd/nand/raw/lpc32xx_slc.c
688
error = mtd_ooblayout_ecc(mtd, 0, &oobregion);
drivers/mtd/nand/raw/lpc32xx_slc.c
689
if (error)
drivers/mtd/nand/raw/lpc32xx_slc.c
690
return error;
drivers/mtd/nand/raw/mpc5121_nfc.c
722
goto error;
drivers/mtd/nand/raw/mpc5121_nfc.c
732
goto error;
drivers/mtd/nand/raw/mpc5121_nfc.c
762
goto error;
drivers/mtd/nand/raw/mpc5121_nfc.c
776
goto error;
drivers/mtd/nand/raw/mpc5121_nfc.c
800
goto error;
drivers/mtd/nand/raw/mpc5121_nfc.c
809
goto error;
drivers/mtd/nand/raw/mpc5121_nfc.c
813
error:
drivers/mtd/nand/raw/r852.c
130
static void r852_dma_done(struct r852_device *dev, int error)
drivers/mtd/nand/raw/r852.c
145
dev->dma_error = error;
drivers/mtd/nand/raw/r852.c
176
int error;
drivers/mtd/nand/raw/r852.c
216
error = r852_dma_wait(dev);
drivers/mtd/nand/raw/r852.c
218
if (error) {
drivers/mtd/nand/raw/r852.c
219
r852_dma_done(dev, error);
drivers/mtd/nand/raw/r852.c
470
int i, error = 0;
drivers/mtd/nand/raw/r852.c
493
error = -EBADMSG;
drivers/mtd/nand/raw/r852.c
507
error++;
drivers/mtd/nand/raw/r852.c
514
return error;
drivers/mtd/nand/raw/r852.c
846
int error;
drivers/mtd/nand/raw/r852.c
851
error = pci_enable_device(pci_dev);
drivers/mtd/nand/raw/r852.c
853
if (error)
drivers/mtd/nand/raw/r852.c
858
error = dma_set_mask(&pci_dev->dev, DMA_BIT_MASK(32));
drivers/mtd/nand/raw/r852.c
859
if (error)
drivers/mtd/nand/raw/r852.c
862
error = pci_request_regions(pci_dev, DRV_NAME);
drivers/mtd/nand/raw/r852.c
864
if (error)
drivers/mtd/nand/raw/r852.c
867
error = -ENOMEM;
drivers/mtd/nand/raw/r852.c
907
error = -ENODEV;
drivers/mtd/nand/raw/r852.c
913
error = -ENOMEM;
drivers/mtd/nand/raw/r852.c
941
error = -ENODEV;
drivers/mtd/nand/raw/r852.c
973
return error;
drivers/mtd/sm_ftl.c
1016
int error = 0, in_cache = 0;
drivers/mtd/sm_ftl.c
1025
error = PTR_ERR(zone);
drivers/mtd/sm_ftl.c
1045
error = -EIO;
drivers/mtd/sm_ftl.c
1053
return error;
drivers/mtd/sm_ftl.c
1062
int error = 0, zone_num, block, boffset;
drivers/mtd/sm_ftl.c
1073
error = PTR_ERR(zone);
drivers/mtd/sm_ftl.c
1080
error = sm_cache_flush(ftl);
drivers/mtd/sm_ftl.c
1081
if (error)
drivers/mtd/sm_ftl.c
1092
return error;
drivers/mtd/sm_ftl.c
1272
int error = 0;
drivers/mtd/sm_ftl.c
1278
error = register_mtd_blktrans(&sm_ftl_ops);
drivers/mtd/sm_ftl.c
1279
if (error)
drivers/mtd/sm_ftl.c
1281
return error;
drivers/mtd/sm_ftl.c
485
goto error;
drivers/mtd/sm_ftl.c
493
error:
drivers/mtd/sm_ftl.c
881
int error;
drivers/mtd/sm_ftl.c
887
error = sm_init_zone(ftl, zone_num);
drivers/mtd/sm_ftl.c
889
if (error)
drivers/mtd/sm_ftl.c
890
return ERR_PTR(error);
drivers/mtd/spi-nor/core.c
156
int error;
drivers/mtd/spi-nor/core.c
158
error = spi_mem_adjust_op_size(nor->spimem, op);
drivers/mtd/spi-nor/core.c
159
if (error)
drivers/mtd/spi-nor/core.c
160
return error;
drivers/mtd/spi-nor/core.c
211
int error;
drivers/mtd/spi-nor/core.c
226
error = spi_nor_spimem_exec_op(nor, &op);
drivers/mtd/spi-nor/core.c
227
if (error)
drivers/mtd/spi-nor/core.c
228
return error;
drivers/mtd/spi-nor/core.c
274
int error;
drivers/mtd/spi-nor/core.c
288
error = spi_nor_spimem_exec_op(nor, &op);
drivers/mtd/spi-nor/core.c
289
if (error)
drivers/mtd/spi-nor/core.c
290
return error;
drivers/mtd/tests/mtd_nandecctest.c
266
goto error;
drivers/mtd/tests/mtd_nandecctest.c
291
error:
drivers/mtd/ubi/io.c
1462
goto error;
drivers/mtd/ubi/io.c
1480
error:
drivers/mtd/ubi/io.c
492
goto error;
drivers/mtd/ubi/io.c
504
goto error;
drivers/mtd/ubi/io.c
508
error:
drivers/mtd/ubi/kapi.c
292
int error;
drivers/mtd/ubi/kapi.c
296
error = kern_path(pathname, LOOKUP_FOLLOW, &path);
drivers/mtd/ubi/kapi.c
297
if (error)
drivers/mtd/ubi/kapi.c
298
return error;
drivers/mtd/ubi/kapi.c
300
error = vfs_getattr(&path, &stat, STATX_TYPE, AT_STATX_SYNC_AS_STAT);
drivers/mtd/ubi/kapi.c
302
if (error)
drivers/mtd/ubi/kapi.c
303
return error;
drivers/mtd/ubi/kapi.c
327
int error, ubi_num, vol_id;
drivers/mtd/ubi/kapi.c
334
error = ubi_get_num_by_path(pathname, &ubi_num, &vol_id);
drivers/mtd/ubi/kapi.c
335
if (error)
drivers/mtd/ubi/kapi.c
336
return ERR_PTR(error);
drivers/net/arcnet/arcnet.c
516
int count, newmtu, error;
drivers/net/arcnet/arcnet.c
538
error = -ENODEV;
drivers/net/arcnet/arcnet.c
609
return error;
drivers/net/bonding/bond_main.c
3265
if (dst->error) {
drivers/net/bonding/bond_options.c
715
int error, const struct bond_opt_value *val,
drivers/net/bonding/bond_options.c
722
switch (error) {
drivers/net/caif/caif_serial.c
233
goto error;
drivers/net/caif/caif_serial.c
249
error:
drivers/net/can/usb/ems_usb.c
151
u8 error; /* error code */
drivers/net/can/usb/ems_usb.c
204
struct cpc_can_error error;
drivers/net/can/usb/ems_usb.c
357
u8 ecc = msg->msg.error.cc.regs.sja1000.ecc;
drivers/net/can/usb/ems_usb.c
358
u8 txerr = msg->msg.error.cc.regs.sja1000.txerr;
drivers/net/can/usb/ems_usb.c
359
u8 rxerr = msg->msg.error.cc.regs.sja1000.rxerr;
drivers/net/can/usb/etas_es58x/es581_4.c
146
enum es58x_err error = get_unaligned_le32(&rx_err_msg->error);
drivers/net/can/usb/etas_es58x/es581_4.c
154
return es58x_rx_err_msg(netdev, error, 0,
drivers/net/can/usb/etas_es58x/es581_4.h
125
__le32 error; /* type enum es58x_error */
drivers/net/can/usb/etas_es58x/es58x_core.c
658
int es58x_rx_err_msg(struct net_device *netdev, enum es58x_err error,
drivers/net/can/usb/etas_es58x/es58x_core.c
676
if (error == ES58X_ERR_OK && event == ES58X_EVENT_OK) {
drivers/net/can/usb/etas_es58x/es58x_core.c
684
switch (error) {
drivers/net/can/usb/etas_es58x/es58x_core.c
757
__func__, (int)error);
drivers/net/can/usb/etas_es58x/es58x_core.h
727
int es58x_rx_err_msg(struct net_device *netdev, enum es58x_err error,
drivers/net/can/usb/f81604.c
728
goto error;
drivers/net/can/usb/f81604.c
734
goto error;
drivers/net/can/usb/f81604.c
741
goto error;
drivers/net/can/usb/f81604.c
759
goto error;
drivers/net/can/usb/f81604.c
767
error:
drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c
468
goto error;
drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c
473
goto error;
drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c
480
error:
drivers/net/dsa/mt7530.c
972
unsigned int error = -1;
drivers/net/dsa/mt7530.c
989
if (error > tmp_error) {
drivers/net/dsa/mt7530.c
990
error = tmp_error;
drivers/net/dsa/mt7530.c
996
if (!error)
drivers/net/dsa/mv88e6xxx/chip.c
1013
goto error;
drivers/net/dsa/mv88e6xxx/chip.c
1019
error:
drivers/net/dsa/qca/ar9331.c
269
goto error;
drivers/net/dsa/qca/ar9331.c
279
goto error;
drivers/net/dsa/qca/ar9331.c
288
error:
drivers/net/dsa/qca/ar9331.c
308
goto error;
drivers/net/dsa/qca/ar9331.c
315
goto error;
drivers/net/dsa/qca/ar9331.c
318
error:
drivers/net/dsa/qca/ar9331.c
337
goto error;
drivers/net/dsa/qca/ar9331.c
344
goto error;
drivers/net/dsa/qca/ar9331.c
348
goto error;
drivers/net/dsa/qca/ar9331.c
352
error:
drivers/net/dsa/qca/ar9331.c
427
goto error;
drivers/net/dsa/qca/ar9331.c
431
goto error;
drivers/net/dsa/qca/ar9331.c
434
error:
drivers/net/dsa/qca/ar9331.c
462
goto error;
drivers/net/dsa/qca/ar9331.c
469
goto error;
drivers/net/dsa/qca/ar9331.c
474
goto error;
drivers/net/dsa/qca/ar9331.c
480
error:
drivers/net/dsa/qca/ar9331.c
879
goto error;
drivers/net/dsa/qca/ar9331.c
884
goto error;
drivers/net/dsa/qca/ar9331.c
891
error:
drivers/net/dsa/qca/ar9331.c
909
goto error;
drivers/net/dsa/qca/ar9331.c
926
goto error;
drivers/net/dsa/qca/ar9331.c
930
goto error;
drivers/net/dsa/qca/ar9331.c
936
error:
drivers/net/dsa/xrs700x/xrs700x.c
241
goto error;
drivers/net/dsa/xrs700x/xrs700x.c
246
error:
drivers/net/ethernet/3com/3c509.c
917
short error = rx_status & 0x3800;
drivers/net/ethernet/3com/3c509.c
921
switch (error) {
drivers/net/ethernet/3com/3c574_cs.c
995
short error = rx_status & 0x3800;
drivers/net/ethernet/3com/3c574_cs.c
997
switch (error) {
drivers/net/ethernet/3com/3c589_cs.c
838
short error = rx_status & 0x3800;
drivers/net/ethernet/3com/3c589_cs.c
840
switch (error) {
drivers/net/ethernet/aeroflex/greth.c
1309
goto error;
drivers/net/ethernet/aeroflex/greth.c
1336
error:
drivers/net/ethernet/airoha/airoha_eth.c
1950
goto error;
drivers/net/ethernet/airoha/airoha_eth.c
1967
goto error;
drivers/net/ethernet/airoha/airoha_eth.c
2050
error:
drivers/net/ethernet/alteon/acenic.c
1968
goto error;
drivers/net/ethernet/alteon/acenic.c
2021
error:
drivers/net/ethernet/amazon/ena/ena_com.c
1997
goto error;
drivers/net/ethernet/amazon/ena/ena_com.c
2001
goto error;
drivers/net/ethernet/amazon/ena/ena_com.c
2005
goto error;
drivers/net/ethernet/amazon/ena/ena_com.c
2038
goto error;
drivers/net/ethernet/amazon/ena/ena_com.c
2044
error:
drivers/net/ethernet/amazon/ena/ena_com.c
2088
goto error;
drivers/net/ethernet/amazon/ena/ena_com.c
2091
goto error;
drivers/net/ethernet/amazon/ena/ena_com.c
2095
goto error;
drivers/net/ethernet/amazon/ena/ena_com.c
2105
error:
drivers/net/ethernet/amazon/ena/ena_netdev.c
1220
goto error;
drivers/net/ethernet/amazon/ena/ena_netdev.c
1318
error:
drivers/net/ethernet/amd/pds_core/main.c
549
pci_channel_state_t error)
drivers/net/ethernet/amd/pds_core/main.c
551
if (error == pci_channel_io_frozen) {
drivers/net/ethernet/amd/xgbe/xgbe-desc.c
415
rdata->state.error = 0;
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2228
unsigned int last, error, context_next, context;
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2252
error = rdata->state.error;
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2257
error = 0;
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2283
if ((!last || context_next) && error)
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2286
if (error || packet->errors) {
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2302
error = 1;
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2310
error = 1;
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2335
if (!skb || error) {
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2402
rdata->state.error = error;
drivers/net/ethernet/amd/xgbe/xgbe.h
366
unsigned int error;
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h
114
u32 error;
drivers/net/ethernet/arc/emac_mdio.c
138
int error;
drivers/net/ethernet/arc/emac_mdio.c
173
error = of_mdiobus_register(bus, mdio_node);
drivers/net/ethernet/arc/emac_mdio.c
175
if (error) {
drivers/net/ethernet/arc/emac_mdio.c
177
return dev_err_probe(priv->dev, error,
drivers/net/ethernet/arc/emac_mdio.c
60
int error;
drivers/net/ethernet/arc/emac_mdio.c
65
error = arc_mdio_complete_wait(priv);
drivers/net/ethernet/arc/emac_mdio.c
66
if (error < 0)
drivers/net/ethernet/arc/emac_mdio.c
67
return error;
drivers/net/ethernet/broadcom/b44.c
398
goto error;
drivers/net/ethernet/broadcom/b44.c
404
goto error;
drivers/net/ethernet/broadcom/b44.c
407
error:
drivers/net/ethernet/broadcom/bgmac.c
726
goto error;
drivers/net/ethernet/broadcom/bgmac.c
736
error:
drivers/net/ethernet/broadcom/bnx2.c
3035
error:
drivers/net/ethernet/broadcom/bnx2.c
3050
goto error;
drivers/net/ethernet/broadcom/bnx2.c
8574
goto error;
drivers/net/ethernet/broadcom/bnx2.c
8586
error:
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
128
u32 error)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
131
DP(NETIF_MSG_LINK, "local_mib.error %x\n", error);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
195
u32 error) {
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
200
if (GET_FLAGS(error, DCBX_LOCAL_APP_ERROR))
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
203
if (GET_FLAGS(error, DCBX_LOCAL_APP_MISMATCH))
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
206
if (GET_FLAGS(error, DCBX_REMOTE_APP_TLV_NOT_FOUND))
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
209
!GET_FLAGS(error, DCBX_LOCAL_APP_ERROR | DCBX_LOCAL_APP_MISMATCH |
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
2497
info->error = (bp->dcbx_remote_flags & DCBX_APP_RX_ERROR) ?: 0;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
276
u32 error) {
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
285
if (GET_FLAGS(error, DCBX_LOCAL_ETS_ERROR))
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
288
if (GET_FLAGS(error, DCBX_REMOTE_ETS_TLV_NOT_FOUND))
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
300
!GET_FLAGS(error,
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
327
struct dcbx_pfc_feature *pfc, u32 error)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
329
if (GET_FLAGS(error, DCBX_LOCAL_PFC_ERROR))
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
332
if (GET_FLAGS(error, DCBX_REMOTE_PFC_TLV_NOT_FOUND))
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
335
!GET_FLAGS(error, DCBX_LOCAL_PFC_ERROR | DCBX_LOCAL_PFC_MISMATCH |
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
375
u32 error)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
377
bnx2x_dcbx_get_ap_feature(bp, &features->app, error);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
379
bnx2x_dcbx_get_pfc_feature(bp, &features->pfc, error);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
381
bnx2x_dcbx_get_ets_feature(bp, &features->ets, error);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
676
bp->dcbx_error = local_mib.error;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h
1975
u32 error;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h
5314
u8 error;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
1105
bp->eq_ring[i].message.error);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
14604
ctl.data.comp.error = err;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
5261
u8 err = elem->message.error;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
1639
if (cqe->message.error)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
185
u32 error; /* 0 means all's-well */
drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c
537
goto error;
drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c
540
goto error;
drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c
552
error:
drivers/net/ethernet/broadcom/cnic.c
1170
goto error;
drivers/net/ethernet/broadcom/cnic.c
1175
goto error;
drivers/net/ethernet/broadcom/cnic.c
1179
goto error;
drivers/net/ethernet/broadcom/cnic.c
1183
goto error;
drivers/net/ethernet/broadcom/cnic.c
1187
goto error;
drivers/net/ethernet/broadcom/cnic.c
1191
error:
drivers/net/ethernet/broadcom/cnic.c
1266
goto error;
drivers/net/ethernet/broadcom/cnic.c
1270
goto error;
drivers/net/ethernet/broadcom/cnic.c
1285
goto error;
drivers/net/ethernet/broadcom/cnic.c
1301
goto error;
drivers/net/ethernet/broadcom/cnic.c
1306
goto error;
drivers/net/ethernet/broadcom/cnic.c
1312
goto error;
drivers/net/ethernet/broadcom/cnic.c
1316
goto error;
drivers/net/ethernet/broadcom/cnic.c
1328
goto error;
drivers/net/ethernet/broadcom/cnic.c
1332
goto error;
drivers/net/ethernet/broadcom/cnic.c
1336
error:
drivers/net/ethernet/broadcom/cnic.c
1624
goto error;
drivers/net/ethernet/broadcom/cnic.c
1633
goto error;
drivers/net/ethernet/broadcom/cnic.c
1641
goto error;
drivers/net/ethernet/broadcom/cnic.c
1646
goto error;
drivers/net/ethernet/broadcom/cnic.c
1651
goto error;
drivers/net/ethernet/broadcom/cnic.c
1655
error:
drivers/net/ethernet/broadcom/cnic.c
3305
if (unlikely(comp->error)) {
drivers/net/ethernet/broadcom/cnic.c
3309
cid, comp->error);
drivers/net/ethernet/broadcom/cnic.c
3708
if ((*dst)->error) {
drivers/net/ethernet/broadcom/cnic.c
805
goto error;
drivers/net/ethernet/broadcom/cnic.c
815
goto error;
drivers/net/ethernet/broadcom/cnic.c
821
error:
drivers/net/ethernet/broadcom/cnic_if.h
120
u8 error;
drivers/net/ethernet/broadcom/sb1250-mac.c
426
int error;
drivers/net/ethernet/broadcom/sb1250-mac.c
465
error = __raw_readq(sbm_mdio) & M_MAC_MDIO_IN;
drivers/net/ethernet/broadcom/sb1250-mac.c
480
if (error == 0) {
drivers/net/ethernet/broadcom/sb1250-mac.c
493
if (error == 0)
drivers/net/ethernet/broadcom/tg3.c
12948
goto error;
drivers/net/ethernet/broadcom/tg3.c
12959
error:
drivers/net/ethernet/brocade/bna/bfi_enet.h
368
u8 error; /*!< if error see cmd_offset */
drivers/net/ethernet/brocade/bna/bfi_enet.h
387
u8 error; /*!< if error see cmd_offset */
drivers/net/ethernet/brocade/bna/bfi_enet.h
433
u8 error;
drivers/net/ethernet/brocade/bna/bfi_enet.h
506
u8 error;
drivers/net/ethernet/brocade/bna/bfi_enet.h
593
u8 error;
drivers/net/ethernet/brocade/bna/bna_enet.c
108
if (rsp->error == BFI_ENET_CMD_OK)
drivers/net/ethernet/brocade/bna/bna_enet.c
135
if (rsp->error == BFI_ENET_CMD_OK)
drivers/net/ethernet/brocade/bna/bna_enet.c
1636
bna_cb_ioceth_enable(void *arg, enum bfa_status error)
drivers/net/ethernet/brocade/bna/bna_enet.c
1640
if (error)
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
585
if (rsp->error) {
drivers/net/ethernet/brocade/bna/cna_fwimg.c
29
goto error;
drivers/net/ethernet/brocade/bna/cna_fwimg.c
43
error:
drivers/net/ethernet/cavium/common/cavium_ptp.c
233
goto error;
drivers/net/ethernet/cavium/common/cavium_ptp.c
299
error:
drivers/net/ethernet/cavium/common/cavium_ptp.c
42
goto error;
drivers/net/ethernet/cavium/common/cavium_ptp.c
55
error:
drivers/net/ethernet/chelsio/cxgb/subr.c
1080
goto error;
drivers/net/ethernet/chelsio/cxgb/subr.c
1086
goto error;
drivers/net/ethernet/chelsio/cxgb/subr.c
1093
goto error;
drivers/net/ethernet/chelsio/cxgb/subr.c
1113
goto error;
drivers/net/ethernet/chelsio/cxgb/subr.c
1120
goto error;
drivers/net/ethernet/chelsio/cxgb/subr.c
1132
goto error;
drivers/net/ethernet/chelsio/cxgb/subr.c
1142
error:
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
1121
info->error = 0;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
3546
atomic_read(&adap->chcr_stats.error));
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c
93
goto error;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c
99
error:
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
403
atomic_t error;
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c
137
if (dst->error ||
drivers/net/ethernet/cisco/enic/enic_main.c
190
goto error;
drivers/net/ethernet/cisco/enic/enic_main.c
195
goto error;
drivers/net/ethernet/cisco/enic/enic_main.c
198
error:
drivers/net/ethernet/cisco/enic/enic_main.c
878
goto error;
drivers/net/ethernet/cisco/enic/enic_main.c
888
error:
drivers/net/ethernet/cisco/enic/vnic_dev.c
334
if (result->error) {
drivers/net/ethernet/cisco/enic/vnic_dev.c
335
err = result->error;
drivers/net/ethernet/cisco/enic/vnic_devcmd.h
534
u32 error; /* error code (see ERR_*) for first ERR */
drivers/net/ethernet/cisco/enic/vnic_devcmd.h
703
u8 error;
drivers/net/ethernet/cortina/gemini.c
1907
filter.bits.error = 1;
drivers/net/ethernet/cortina/gemini.h
711
unsigned int error:1;
drivers/net/ethernet/dec/tulip/interrupt.c
710
int error = (csr5 >> 23) & 7;
drivers/net/ethernet/dec/tulip/interrupt.c
723
tp->nir, error);
drivers/net/ethernet/ethoc.c
1217
goto error;
drivers/net/ethernet/ethoc.c
1241
error:
drivers/net/ethernet/faraday/ftmac100.c
360
bool error = false;
drivers/net/ethernet/faraday/ftmac100.c
367
error = true;
drivers/net/ethernet/faraday/ftmac100.c
375
error = true;
drivers/net/ethernet/faraday/ftmac100.c
383
error = true;
drivers/net/ethernet/faraday/ftmac100.c
389
error = true;
drivers/net/ethernet/faraday/ftmac100.c
397
return error;
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
1191
int err, error;
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
1204
error = qman_oos_fq(fq);
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
1205
if (error < 0 && netif_msg_drv(priv)) {
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
1207
qman_fq_fqid(fq), error);
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
1209
err = error;
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
1227
int err, error;
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
1231
error = dpaa_fq_free_entry(dev, (struct qman_fq *)dpaa_fq);
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
1232
if (error < 0 && err >= 0)
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
1233
err = error;
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
303
int i, error;
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
319
error = fman_port_disable(mac_dev->port[i]);
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
320
if (error)
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
321
err = error;
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
504
goto error;
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
511
goto error;
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
518
goto error;
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
525
goto error;
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
533
goto error;
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
541
goto error;
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
550
goto error;
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
554
error:
drivers/net/ethernet/freescale/enetc/enetc_hw.h
654
__le16 error;
drivers/net/ethernet/freescale/enetc/netc_blk_ctrl.c
127
int error;
drivers/net/ethernet/freescale/enetc/netc_blk_ctrl.c
129
error = of_property_read_u32_array(np, "reg", reg, ARRAY_SIZE(reg));
drivers/net/ethernet/freescale/enetc/netc_blk_ctrl.c
130
if (error)
drivers/net/ethernet/freescale/enetc/netc_blk_ctrl.c
131
return error;
drivers/net/ethernet/freescale/fsl_pq_mdio.c
438
goto error;
drivers/net/ethernet/freescale/fsl_pq_mdio.c
447
goto error;
drivers/net/ethernet/freescale/fsl_pq_mdio.c
459
goto error;
drivers/net/ethernet/freescale/fsl_pq_mdio.c
483
goto error;
drivers/net/ethernet/freescale/fsl_pq_mdio.c
498
goto error;
drivers/net/ethernet/freescale/fsl_pq_mdio.c
503
error:
drivers/net/ethernet/google/gve/gve_rx_dqo.c
836
goto error;
drivers/net/ethernet/google/gve/gve_rx_dqo.c
856
goto error;
drivers/net/ethernet/google/gve/gve_rx_dqo.c
866
goto error;
drivers/net/ethernet/google/gve/gve_rx_dqo.c
907
goto error;
drivers/net/ethernet/google/gve/gve_rx_dqo.c
921
goto error;
drivers/net/ethernet/google/gve/gve_rx_dqo.c
926
goto error;
drivers/net/ethernet/google/gve/gve_rx_dqo.c
937
error:
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5370
goto error;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5379
error:
drivers/net/ethernet/ibm/emac/core.c
117
const char *error)
drivers/net/ethernet/ibm/emac/core.c
122
DBG(dev, "%s" NL, error);
drivers/net/ethernet/ibm/emac/core.c
124
printk(KERN_ERR "%pOF: %s\n", dev->ofdev->dev.of_node, error);
drivers/net/ethernet/ibm/ibmveth.c
1880
int error;
drivers/net/ethernet/ibm/ibmveth.c
1885
error = kobject_init_and_add(kobj, &ktype_veth_pool,
drivers/net/ethernet/ibm/ibmveth.c
1887
if (!error)
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
1216
#define FM10K_ERR_MSG(type) case (type): error = #type; break
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
1223
char *error;
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
1229
error = "Unknown PCA error";
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
1243
error = "Unknown THI error";
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
1252
error = "Unknown FUM error";
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
1268
error = "Undocumented fault";
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
1274
error, fault->address, fault->specinfo,
drivers/net/ethernet/intel/i40e/i40e_main.c
16424
pci_channel_state_t error)
drivers/net/ethernet/intel/i40e/i40e_main.c
16428
dev_info(&pdev->dev, "%s: error %d\n", __func__, error);
drivers/net/ethernet/intel/i40e/i40e_txrx.c
688
u32 error;
drivers/net/ethernet/intel/i40e/i40e_txrx.c
691
error = FIELD_GET(I40E_RX_PROG_STATUS_DESC_QW1_ERROR_MASK, qword1);
drivers/net/ethernet/intel/i40e/i40e_txrx.c
693
if (error == BIT(I40E_RX_PROG_STATUS_DESC_FD_TBL_FULL_SHIFT)) {
drivers/net/ethernet/intel/i40e/i40e_txrx.c
739
} else if (error == BIT(I40E_RX_PROG_STATUS_DESC_NO_FD_ENTRY_SHIFT)) {
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
4703
goto error;
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
4709
goto error;
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
4715
goto error;
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
4721
goto error;
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
4724
error:
drivers/net/ethernet/intel/ice/ice_dpll.c
3542
goto error;
drivers/net/ethernet/intel/ice/ice_dpll.c
3546
error:
drivers/net/ethernet/intel/ice/virt/fdir.c
1593
u32 stat_err, error, prog_id;
drivers/net/ethernet/intel/ice/virt/fdir.c
1624
error = FIELD_GET(ICE_FXD_FLTR_WB_QW1_FAIL_M, stat_err);
drivers/net/ethernet/intel/ice/virt/fdir.c
1625
if (error == ICE_FXD_FLTR_WB_QW1_FAIL_YES) {
drivers/net/ethernet/intel/ice/virt/fdir.c
1639
error = FIELD_GET(ICE_FXD_FLTR_WB_QW1_FAIL_PROF_M, stat_err);
drivers/net/ethernet/intel/ice/virt/fdir.c
1640
if (error == ICE_FXD_FLTR_WB_QW1_FAIL_PROF_YES) {
drivers/net/ethernet/intel/idpf/idpf_txrx.c
4594
goto error;
drivers/net/ethernet/intel/idpf/idpf_txrx.c
4598
goto error;
drivers/net/ethernet/intel/idpf/idpf_txrx.c
4605
goto error;
drivers/net/ethernet/intel/idpf/idpf_txrx.c
4610
goto error;
drivers/net/ethernet/intel/idpf/idpf_txrx.c
4618
goto error;
drivers/net/ethernet/intel/idpf/idpf_txrx.c
4623
error:
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
1396
u32 command, error;
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
1419
error = FIELD_GET(IXGBE_SB_IOSF_CTRL_CMPL_ERR_MASK, command);
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
1420
hw_dbg(hw, "Failed to write, error %x\n", error);
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
699
u32 command, error;
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
719
error = FIELD_GET(IXGBE_SB_IOSF_CTRL_CMPL_ERR_MASK, command);
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
720
hw_dbg(hw, "Failed to read, error %x\n", error);
drivers/net/ethernet/marvell/mvneta.c
2886
goto error;
drivers/net/ethernet/marvell/mvneta.c
2904
error:
drivers/net/ethernet/marvell/octeontx2/af/mbox.c
455
goto error;
drivers/net/ethernet/marvell/octeontx2/af/mbox.c
463
goto error;
drivers/net/ethernet/marvell/octeontx2/af/mbox.c
472
error:
drivers/net/ethernet/marvell/octeontx2/af/ptp.c
526
goto error;
drivers/net/ethernet/marvell/octeontx2/af/ptp.c
558
error:
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
2463
goto error;
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
2486
goto error;
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
2490
error:
drivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c
193
goto error;
drivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c
216
goto error;
drivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c
245
goto error;
drivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c
249
error:
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
414
goto error;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
467
goto error;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
482
error:
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
378
goto error;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
386
goto error;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
394
goto error;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
402
goto error;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
420
goto error;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
429
error:
drivers/net/ethernet/marvell/prestera/prestera_flow.c
274
goto error;
drivers/net/ethernet/marvell/prestera/prestera_flow.c
280
error:
drivers/net/ethernet/marvell/skge.c
3062
goto error;
drivers/net/ethernet/marvell/skge.c
3065
goto error;
drivers/net/ethernet/marvell/skge.c
3068
goto error;
drivers/net/ethernet/marvell/skge.c
3071
goto error;
drivers/net/ethernet/marvell/skge.c
3121
error:
drivers/net/ethernet/marvell/sky2.c
2583
goto error;
drivers/net/ethernet/marvell/sky2.c
2590
goto error;
drivers/net/ethernet/marvell/sky2.c
2605
error:
drivers/net/ethernet/mediatek/mtk_wed.c
552
goto error;
drivers/net/ethernet/mediatek/mtk_wed.c
559
goto error;
drivers/net/ethernet/mediatek/mtk_wed.c
565
error:
drivers/net/ethernet/mediatek/mtk_wed_wo.c
404
goto error;
drivers/net/ethernet/mediatek/mtk_wed_wo.c
415
goto error;
drivers/net/ethernet/mediatek/mtk_wed_wo.c
429
goto error;
drivers/net/ethernet/mediatek/mtk_wed_wo.c
439
error:
drivers/net/ethernet/mellanox/mlx5/core/events.c
222
static const char *mlx5_pme_error_to_string(enum port_module_event_error_type error)
drivers/net/ethernet/mellanox/mlx5/core/events.c
224
switch (error) {
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.c
1714
goto error;
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.c
1773
goto error;
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.c
1780
error:
drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c
539
if (!dst || dst->error)
drivers/net/ethernet/micrel/ksz884x.c
4771
if (!status.rx.error || (status.data &
drivers/net/ethernet/micrel/ksz884x.c
771
u32 error:1;
drivers/net/ethernet/micrel/ksz884x.c
791
u32 error:1;
drivers/net/ethernet/microsoft/mana/hw_channel.c
103
ctx->error = err;
drivers/net/ethernet/microsoft/mana/hw_channel.c
907
if (ctx->error) {
drivers/net/ethernet/microsoft/mana/hw_channel.c
908
err = ctx->error;
drivers/net/ethernet/microsoft/mana/mana_en.c
811
goto error;
drivers/net/ethernet/microsoft/mana/mana_en.c
815
goto error;
drivers/net/ethernet/microsoft/mana/mana_en.c
822
goto error;
drivers/net/ethernet/microsoft/mana/mana_en.c
830
goto error;
drivers/net/ethernet/microsoft/mana/mana_en.c
840
error:
drivers/net/ethernet/mscc/ocelot_ptp.c
736
goto error;
drivers/net/ethernet/mscc/ocelot_ptp.c
759
goto error;
drivers/net/ethernet/mscc/ocelot_ptp.c
766
goto error;
drivers/net/ethernet/mscc/ocelot_ptp.c
776
error:
drivers/net/ethernet/netronome/nfp/bpf/jit.c
108
nfp_prog->error = err;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
113
nfp_prog->error = -EFAULT;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
118
nfp_prog->error = -EFAULT;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
167
nfp_prog->error = -EFAULT;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
222
nfp_prog->error = err;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
263
nfp_prog->error = err;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
301
nfp_prog->error = -EFAULT;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
307
nfp_prog->error = err;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
327
nfp_prog->error = -EFAULT;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
371
nfp_prog->error = err;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3841
if (nfp_prog->error)
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3842
return nfp_prog->error;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3851
if (nfp_prog->error)
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3852
return nfp_prog->error;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
386
nfp_prog->error = -EFAULT;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3868
if (nfp_prog->error)
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3869
return nfp_prog->error;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3877
if (nfp_prog->error)
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3878
return nfp_prog->error;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3881
if (nfp_prog->error)
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3882
return nfp_prog->error;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
423
nfp_prog->error = err;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
462
nfp_prog->error = -EINVAL;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
478
nfp_prog->error = err;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
52
nfp_prog->error = -ENOSPC;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
520
nfp_prog->error = err;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
570
nfp_prog->error = err;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
638
nfp_prog->error = -EFAULT;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
72
if (nfp_prog->error)
drivers/net/ethernet/netronome/nfp/bpf/main.h
533
int error;
drivers/net/ethernet/netronome/nfp/crypto/fw.h
22
__be32 error;
drivers/net/ethernet/netronome/nfp/crypto/fw.h
79
__be32 error;
drivers/net/ethernet/netronome/nfp/crypto/tls.c
126
err = -be32_to_cpu(reply->error);
drivers/net/ethernet/netronome/nfp/crypto/tls.c
372
err = -be32_to_cpu(reply->error);
drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c
354
nfp_dump_error_tlv(struct nfp_dump_tl *spec, int error,
drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c
368
dump_header->error = cpu_to_be32(error);
drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c
496
dump_header->error = cpu_to_be32(err);
drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c
594
dump_header->error = cpu_to_be32(err);
drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c
658
dump_header->error = cpu_to_be32(bytes_read);
drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c
78
__be32 error; /* error code encountered while reading */
drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c
85
__be32 error; /* error code encountered while reading */
drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c
98
__be32 error;
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h
100
int *error);
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c
444
int *error)
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c
474
if (error)
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c
475
*error = err;
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c
493
pci_channel_state_t error)
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c
495
if (error == pci_channel_io_frozen) {
drivers/net/ethernet/qlogic/qed/qed_dcbx.c
1955
info->error = dcbx_info->remote.params.app_error;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
1055
goto error;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
1079
error:
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
635
goto error;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
654
error:
drivers/net/ethernet/qualcomm/emac/emac-mac.c
1357
goto error;
drivers/net/ethernet/qualcomm/emac/emac-mac.c
1378
goto error;
drivers/net/ethernet/qualcomm/emac/emac-mac.c
1398
goto error;
drivers/net/ethernet/qualcomm/emac/emac-mac.c
1418
error:
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c
434
goto error;
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c
449
error:
drivers/net/ethernet/renesas/ravb_main.c
1085
int error;
drivers/net/ethernet/renesas/ravb_main.c
1088
error = ravb_wait(ndev, TCCR, info->tccr_mask, 0);
drivers/net/ethernet/renesas/ravb_main.c
1090
if (error)
drivers/net/ethernet/renesas/ravb_main.c
1091
return error;
drivers/net/ethernet/renesas/ravb_main.c
1093
error = ravb_wait(ndev, CSR, CSR_TPO0 | CSR_TPO1 | CSR_TPO2 | CSR_TPO3,
drivers/net/ethernet/renesas/ravb_main.c
1095
if (error)
drivers/net/ethernet/renesas/ravb_main.c
1096
return error;
drivers/net/ethernet/renesas/ravb_main.c
1102
error = ravb_wait(ndev, CSR, CSR_RPO, 0);
drivers/net/ethernet/renesas/ravb_main.c
1103
if (error)
drivers/net/ethernet/renesas/ravb_main.c
1104
return error;
drivers/net/ethernet/renesas/ravb_main.c
1544
int error;
drivers/net/ethernet/renesas/ravb_main.c
1546
error = ravb_phy_init(ndev);
drivers/net/ethernet/renesas/ravb_main.c
1547
if (error)
drivers/net/ethernet/renesas/ravb_main.c
1548
return error;
drivers/net/ethernet/renesas/ravb_main.c
1698
int error;
drivers/net/ethernet/renesas/ravb_main.c
1714
error = ravb_stop_dma(ndev);
drivers/net/ethernet/renesas/ravb_main.c
1715
if (error) {
drivers/net/ethernet/renesas/ravb_main.c
1718
return error;
drivers/net/ethernet/renesas/ravb_main.c
1733
error = ravb_dmac_init(ndev);
drivers/net/ethernet/renesas/ravb_main.c
1734
if (error) {
drivers/net/ethernet/renesas/ravb_main.c
1737
__func__, error);
drivers/net/ethernet/renesas/ravb_main.c
1738
return error;
drivers/net/ethernet/renesas/ravb_main.c
1820
int error;
drivers/net/ethernet/renesas/ravb_main.c
1823
error = ravb_set_opmode(ndev, CCC_OPC_CONFIG);
drivers/net/ethernet/renesas/ravb_main.c
1824
if (error)
drivers/net/ethernet/renesas/ravb_main.c
1825
return error;
drivers/net/ethernet/renesas/ravb_main.c
1829
error = ravb_set_opmode(ndev, CCC_OPC_CONFIG | CCC_GAC | CCC_CSEL_HPB);
drivers/net/ethernet/renesas/ravb_main.c
1831
error = ravb_set_opmode(ndev, CCC_OPC_CONFIG);
drivers/net/ethernet/renesas/ravb_main.c
1834
return error;
drivers/net/ethernet/renesas/ravb_main.c
1940
int error;
drivers/net/ethernet/renesas/ravb_main.c
1946
error = pm_runtime_resume_and_get(dev);
drivers/net/ethernet/renesas/ravb_main.c
1947
if (error < 0)
drivers/net/ethernet/renesas/ravb_main.c
1951
error = ravb_set_config_mode(ndev);
drivers/net/ethernet/renesas/ravb_main.c
1952
if (error)
drivers/net/ethernet/renesas/ravb_main.c
1959
error = ravb_dmac_init(ndev);
drivers/net/ethernet/renesas/ravb_main.c
1960
if (error)
drivers/net/ethernet/renesas/ravb_main.c
1972
error = ravb_phy_start(ndev);
drivers/net/ethernet/renesas/ravb_main.c
1973
if (error)
drivers/net/ethernet/renesas/ravb_main.c
1993
return error;
drivers/net/ethernet/renesas/ravb_main.c
2017
int error;
drivers/net/ethernet/renesas/ravb_main.c
2050
error = ravb_dmac_init(ndev);
drivers/net/ethernet/renesas/ravb_main.c
2051
if (error) {
drivers/net/ethernet/renesas/ravb_main.c
2057
__func__, error);
drivers/net/ethernet/renesas/ravb_main.c
2362
int error;
drivers/net/ethernet/renesas/ravb_main.c
2412
error = ravb_set_opmode(ndev, CCC_OPC_RESET);
drivers/net/ethernet/renesas/ravb_main.c
2413
if (error)
drivers/net/ethernet/renesas/ravb_main.c
2414
return error;
drivers/net/ethernet/renesas/ravb_main.c
2617
int error;
drivers/net/ethernet/renesas/ravb_main.c
2639
error = of_mdiobus_register(priv->mii_bus, mdio_node);
drivers/net/ethernet/renesas/ravb_main.c
2641
if (error)
drivers/net/ethernet/renesas/ravb_main.c
2656
return error;
drivers/net/ethernet/renesas/ravb_main.c
2821
int error, irq_num;
drivers/net/ethernet/renesas/ravb_main.c
2840
error = devm_request_irq(dev, irq_num, handler, flags, devname, ndev);
drivers/net/ethernet/renesas/ravb_main.c
2841
if (error)
drivers/net/ethernet/renesas/ravb_main.c
2844
return error;
drivers/net/ethernet/renesas/ravb_main.c
2852
int error;
drivers/net/ethernet/renesas/ravb_main.c
2865
error = ravb_setup_irq(priv, irq_name, "ch22:multi", &ndev->irq, ravb_multi_interrupt);
drivers/net/ethernet/renesas/ravb_main.c
2866
if (error)
drivers/net/ethernet/renesas/ravb_main.c
2867
return error;
drivers/net/ethernet/renesas/ravb_main.c
2869
error = ravb_setup_irq(priv, emac_irq_name, "ch24:emac", &priv->emac_irq,
drivers/net/ethernet/renesas/ravb_main.c
2871
if (error)
drivers/net/ethernet/renesas/ravb_main.c
2872
return error;
drivers/net/ethernet/renesas/ravb_main.c
2875
error = ravb_setup_irq(priv, "err_a", "err_a", NULL, ravb_multi_interrupt);
drivers/net/ethernet/renesas/ravb_main.c
2876
if (error)
drivers/net/ethernet/renesas/ravb_main.c
2877
return error;
drivers/net/ethernet/renesas/ravb_main.c
2879
error = ravb_setup_irq(priv, "mgmt_a", "mgmt_a", NULL, ravb_multi_interrupt);
drivers/net/ethernet/renesas/ravb_main.c
2880
if (error)
drivers/net/ethernet/renesas/ravb_main.c
2881
return error;
drivers/net/ethernet/renesas/ravb_main.c
2884
error = ravb_setup_irq(priv, "ch0", "ch0:rx_be", NULL, ravb_be_interrupt);
drivers/net/ethernet/renesas/ravb_main.c
2885
if (error)
drivers/net/ethernet/renesas/ravb_main.c
2886
return error;
drivers/net/ethernet/renesas/ravb_main.c
2888
error = ravb_setup_irq(priv, "ch1", "ch1:rx_nc", NULL, ravb_nc_interrupt);
drivers/net/ethernet/renesas/ravb_main.c
2889
if (error)
drivers/net/ethernet/renesas/ravb_main.c
2890
return error;
drivers/net/ethernet/renesas/ravb_main.c
2892
error = ravb_setup_irq(priv, "ch18", "ch18:tx_be", NULL, ravb_be_interrupt);
drivers/net/ethernet/renesas/ravb_main.c
2893
if (error)
drivers/net/ethernet/renesas/ravb_main.c
2894
return error;
drivers/net/ethernet/renesas/ravb_main.c
2907
int error, q;
drivers/net/ethernet/renesas/ravb_main.c
2932
error = reset_control_deassert(rstc);
drivers/net/ethernet/renesas/ravb_main.c
2933
if (error)
drivers/net/ethernet/renesas/ravb_main.c
2950
error = ravb_setup_irqs(priv);
drivers/net/ethernet/renesas/ravb_main.c
2951
if (error)
drivers/net/ethernet/renesas/ravb_main.c
2956
error = PTR_ERR(priv->clk);
drivers/net/ethernet/renesas/ravb_main.c
2963
error = PTR_ERR(priv->gptp_clk);
drivers/net/ethernet/renesas/ravb_main.c
2970
error = PTR_ERR(priv->refclk);
drivers/net/ethernet/renesas/ravb_main.c
2979
error = pm_runtime_resume_and_get(&pdev->dev);
drivers/net/ethernet/renesas/ravb_main.c
2980
if (error < 0)
drivers/net/ethernet/renesas/ravb_main.c
2985
error = PTR_ERR(priv->addr);
drivers/net/ethernet/renesas/ravb_main.c
2995
error = of_get_phy_mode(np, &priv->phy_interface);
drivers/net/ethernet/renesas/ravb_main.c
2996
if (error && error != -ENODEV)
drivers/net/ethernet/renesas/ravb_main.c
3018
error = ravb_compute_gti(ndev);
drivers/net/ethernet/renesas/ravb_main.c
3019
if (error)
drivers/net/ethernet/renesas/ravb_main.c
3032
error = -ENOMEM;
drivers/net/ethernet/renesas/ravb_main.c
3045
error = ravb_set_opmode(ndev, CCC_OPC_CONFIG);
drivers/net/ethernet/renesas/ravb_main.c
3046
if (error)
drivers/net/ethernet/renesas/ravb_main.c
3058
error = ravb_mdio_init(priv);
drivers/net/ethernet/renesas/ravb_main.c
3059
if (error) {
drivers/net/ethernet/renesas/ravb_main.c
3065
error = ravb_set_opmode(ndev, CCC_OPC_RESET);
drivers/net/ethernet/renesas/ravb_main.c
3066
if (error)
drivers/net/ethernet/renesas/ravb_main.c
3080
error = register_netdev(ndev);
drivers/net/ethernet/renesas/ravb_main.c
3081
if (error)
drivers/net/ethernet/renesas/ravb_main.c
3115
return error;
drivers/net/ethernet/renesas/ravb_main.c
3124
int error;
drivers/net/ethernet/renesas/ravb_main.c
3126
error = pm_runtime_resume_and_get(dev);
drivers/net/ethernet/renesas/ravb_main.c
3127
if (error < 0)
drivers/net/ethernet/renesas/ravb_main.c
3179
int error;
drivers/net/ethernet/renesas/ravb_main.c
3182
error = ravb_set_opmode(ndev, CCC_OPC_RESET);
drivers/net/ethernet/renesas/ravb_main.c
3183
if (error)
drivers/net/ethernet/renesas/ravb_main.c
3184
return error;
drivers/net/ethernet/renesas/ravb_main.c
3187
error = ravb_set_config_mode(ndev);
drivers/net/ethernet/renesas/ravb_main.c
3188
if (error)
drivers/net/ethernet/renesas/ravb_main.c
3189
return error;
drivers/net/ethernet/renesas/ravb_main.c
436
goto error;
drivers/net/ethernet/renesas/ravb_main.c
442
goto error;
drivers/net/ethernet/renesas/ravb_main.c
447
goto error;
drivers/net/ethernet/renesas/ravb_main.c
451
goto error;
drivers/net/ethernet/renesas/ravb_main.c
460
goto error;
drivers/net/ethernet/renesas/ravb_main.c
467
goto error;
drivers/net/ethernet/renesas/ravb_main.c
477
goto error;
drivers/net/ethernet/renesas/ravb_main.c
481
error:
drivers/net/ethernet/renesas/ravb_main.c
610
int error;
drivers/net/ethernet/renesas/ravb_main.c
612
error = ravb_ring_init(ndev, RAVB_BE);
drivers/net/ethernet/renesas/ravb_main.c
613
if (error)
drivers/net/ethernet/renesas/ravb_main.c
614
return error;
drivers/net/ethernet/renesas/ravb_main.c
646
int error;
drivers/net/ethernet/renesas/ravb_main.c
648
error = ravb_ring_init(ndev, RAVB_BE);
drivers/net/ethernet/renesas/ravb_main.c
649
if (error)
drivers/net/ethernet/renesas/ravb_main.c
65
int error;
drivers/net/ethernet/renesas/ravb_main.c
650
return error;
drivers/net/ethernet/renesas/ravb_main.c
651
error = ravb_ring_init(ndev, RAVB_NC);
drivers/net/ethernet/renesas/ravb_main.c
652
if (error) {
drivers/net/ethernet/renesas/ravb_main.c
654
return error;
drivers/net/ethernet/renesas/ravb_main.c
695
int error;
drivers/net/ethernet/renesas/ravb_main.c
698
error = ravb_set_opmode(ndev, CCC_OPC_CONFIG);
drivers/net/ethernet/renesas/ravb_main.c
699
if (error)
drivers/net/ethernet/renesas/ravb_main.c
700
return error;
drivers/net/ethernet/renesas/ravb_main.c
702
error = info->dmac_init(ndev);
drivers/net/ethernet/renesas/ravb_main.c
703
if (error)
drivers/net/ethernet/renesas/ravb_main.c
704
return error;
drivers/net/ethernet/renesas/ravb_main.c
77
error = ravb_wait(ndev, CSR, CSR_OPS, csr_ops);
drivers/net/ethernet/renesas/ravb_main.c
78
if (error) {
drivers/net/ethernet/renesas/ravb_main.c
83
return error;
drivers/net/ethernet/renesas/ravb_ptp.c
126
int error;
drivers/net/ethernet/renesas/ravb_ptp.c
129
error = ravb_ptp_time_read(priv, &ts);
drivers/net/ethernet/renesas/ravb_ptp.c
130
if (!error) {
drivers/net/ethernet/renesas/ravb_ptp.c
134
error = ravb_ptp_time_write(priv, &ts);
drivers/net/ethernet/renesas/ravb_ptp.c
138
return error;
drivers/net/ethernet/renesas/ravb_ptp.c
14
int error;
drivers/net/ethernet/renesas/ravb_ptp.c
146
int error;
drivers/net/ethernet/renesas/ravb_ptp.c
149
error = ravb_ptp_time_read(priv, ts);
drivers/net/ethernet/renesas/ravb_ptp.c
152
return error;
drivers/net/ethernet/renesas/ravb_ptp.c
16
error = ravb_wait(ndev, GCCR, GCCR_TCR, GCCR_TCR_NOREQ);
drivers/net/ethernet/renesas/ravb_ptp.c
161
int error;
drivers/net/ethernet/renesas/ravb_ptp.c
164
error = ravb_ptp_time_write(priv, ts);
drivers/net/ethernet/renesas/ravb_ptp.c
167
return error;
drivers/net/ethernet/renesas/ravb_ptp.c
17
if (error)
drivers/net/ethernet/renesas/ravb_ptp.c
18
return error;
drivers/net/ethernet/renesas/ravb_ptp.c
207
int error = 0;
drivers/net/ethernet/renesas/ravb_ptp.c
236
error = ravb_ptp_update_compare(priv, (u32)start_ns);
drivers/net/ethernet/renesas/ravb_ptp.c
237
if (!error) {
drivers/net/ethernet/renesas/ravb_ptp.c
258
return error;
drivers/net/ethernet/renesas/ravb_ptp.c
28
int error;
drivers/net/ethernet/renesas/ravb_ptp.c
30
error = ravb_ptp_tcr_request(priv, GCCR_TCR_CAPTURE);
drivers/net/ethernet/renesas/ravb_ptp.c
31
if (error)
drivers/net/ethernet/renesas/ravb_ptp.c
32
return error;
drivers/net/ethernet/renesas/ravb_ptp.c
46
int error;
drivers/net/ethernet/renesas/ravb_ptp.c
49
error = ravb_ptp_tcr_request(priv, GCCR_TCR_RESET);
drivers/net/ethernet/renesas/ravb_ptp.c
50
if (error)
drivers/net/ethernet/renesas/ravb_ptp.c
51
return error;
drivers/net/ethernet/renesas/rtsn.c
356
goto error;
drivers/net/ethernet/renesas/rtsn.c
361
goto error;
drivers/net/ethernet/renesas/rtsn.c
375
goto error;
drivers/net/ethernet/renesas/rtsn.c
378
error:
drivers/net/ethernet/sfc/falcon/farch.c
1449
int error, mem_perr;
drivers/net/ethernet/sfc/falcon/farch.c
1452
error = EF4_OWORD_FIELD(fatal_intr, FRF_AZ_FATAL_INTR);
drivers/net/ethernet/sfc/falcon/farch.c
1457
error ? "disabling bus mastering" : "no recognised error");
drivers/net/ethernet/sfc/mcdi.c
265
unsigned int respseq, respcmd, error;
drivers/net/ethernet/sfc/mcdi.c
274
error = EFX_DWORD_FIELD(hdr, MCDI_HEADER_ERROR);
drivers/net/ethernet/sfc/mcdi.c
320
if (error && mcdi->resp_data_len == 0) {
drivers/net/ethernet/sfc/mcdi.c
328
} else if (error) {
drivers/net/ethernet/sfc/siena/farch.c
1465
int error, mem_perr;
drivers/net/ethernet/sfc/siena/farch.c
1468
error = EFX_OWORD_FIELD(fatal_intr, FRF_AZ_FATAL_INTR);
drivers/net/ethernet/sfc/siena/farch.c
1473
error ? "disabling bus mastering" : "no recognised error");
drivers/net/ethernet/sfc/siena/mcdi.c
269
unsigned int respseq, respcmd, error;
drivers/net/ethernet/sfc/siena/mcdi.c
278
error = EFX_DWORD_FIELD(hdr, MCDI_HEADER_ERROR);
drivers/net/ethernet/sfc/siena/mcdi.c
324
if (error && mcdi->resp_data_len == 0) {
drivers/net/ethernet/sfc/siena/mcdi.c
332
} else if (error) {
drivers/net/ethernet/sfc/siena/siena_sriov.c
1423
goto error;
drivers/net/ethernet/sfc/siena/siena_sriov.c
1431
goto error;
drivers/net/ethernet/sfc/siena/siena_sriov.c
1449
error:
drivers/net/ethernet/stmicro/stmmac/stmmac.h
139
unsigned int error;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5404
unsigned int count = 0, error = 0, len = 0;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5438
error = rx_q->state.error;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5442
error = 0;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5494
error = 1;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5499
if (unlikely(error && (status & rx_not_ls)))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5501
if (unlikely(error)) {
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5561
rx_q->state.error = error;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5600
unsigned int count = 0, error = 0, len = 0;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5639
error = rx_q->state.error;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5644
error = 0;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5684
error = 1;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5689
if (unlikely(error && (status & rx_not_ls)))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5691
if (unlikely(error)) {
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5855
rx_q->state.error = error;
drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c
70
desc_data->state.error = 0;
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
1116
unsigned int incomplete, error;
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
1140
error = desc_data->state.error;
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
1145
error = 0;
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
1175
if ((incomplete || context_next) && error)
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
1178
if (error || pkt_info->errors) {
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
1195
error = 1;
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
1272
desc_data->state.error = error;
drivers/net/ethernet/synopsys/dwc-xlgmac.h
312
unsigned int error;
drivers/net/ethernet/tehuti/tehuti.c
645
int error;
drivers/net/ethernet/tehuti/tehuti.c
651
error = copy_from_user(data, udata, sizeof(data));
drivers/net/ethernet/tehuti/tehuti.c
652
if (error) {
drivers/net/ethernet/tehuti/tehuti.c
667
error = bdx_range_check(priv, data[1]);
drivers/net/ethernet/tehuti/tehuti.c
668
if (error < 0)
drivers/net/ethernet/tehuti/tehuti.c
669
return error;
drivers/net/ethernet/tehuti/tehuti.c
673
error = copy_to_user(udata, data, sizeof(data));
drivers/net/ethernet/tehuti/tehuti.c
674
if (error)
drivers/net/ethernet/tehuti/tehuti.c
679
error = bdx_range_check(priv, data[1]);
drivers/net/ethernet/tehuti/tehuti.c
680
if (error < 0)
drivers/net/ethernet/tehuti/tehuti.c
681
return error;
drivers/net/ethernet/ti/icssm/icssm_prueth.c
635
pkt_info->error = !!(buffer_descriptor & PRUETH_BD_ERROR_MASK);
drivers/net/ethernet/ti/icssm/icssm_prueth.h
103
bool error;
drivers/net/ethernet/ti/netcp_core.c
1455
int error;
drivers/net/ethernet/ti/netcp_core.c
1466
error = module->del_addr(priv->module_priv,
drivers/net/ethernet/ti/netcp_core.c
1468
WARN_ON(error);
drivers/net/ethernet/ti/netcp_core.c
1479
int error;
drivers/net/ethernet/ti/netcp_core.c
1491
error = module->add_addr(priv->module_priv, naddr);
drivers/net/ethernet/ti/netcp_core.c
1492
WARN_ON(error);
drivers/net/ethernet/ti/netcp_core.c
1501
int error;
drivers/net/ethernet/ti/netcp_core.c
1508
error = module->set_rx_mode(priv->module_priv, promisc);
drivers/net/ethernet/ti/netcp_core.c
1509
if (error)
drivers/net/ethernet/ti/netcp_core.c
1510
return error;
drivers/net/ethernet/ti/tlan.c
1678
u32 error;
drivers/net/ethernet/ti/tlan.c
1687
error = inl(dev->base_addr + TLAN_CH_PARM);
drivers/net/ethernet/ti/tlan.c
1688
netdev_info(dev, "Adaptor Error = 0x%x\n", error);
drivers/net/fddi/skfp/pmf.c
314
int error ;
drivers/net/fddi/skfp/pmf.c
345
error = 0 ;
drivers/net/fddi/skfp/pmf.c
348
error = SMT_RDF_AUTHOR ;
drivers/net/fddi/skfp/pmf.c
363
pcon.pc_err = error ;
drivers/net/fjes/fjes_hw.c
412
if (cr.bits.error == 0) {
drivers/net/fjes/fjes_regs.h
76
__le32 error:1;
drivers/net/fjes/fjes_trace.h
35
__entry->cr_error = cr->bits.error;
drivers/net/hamradio/bpqether.c
483
goto error;
drivers/net/hamradio/bpqether.c
489
error:
drivers/net/hamradio/yam.c
1127
goto error;
drivers/net/hamradio/yam.c
1134
goto error;
drivers/net/hamradio/yam.c
1146
error:
drivers/net/ieee802154/ca8210.c
3038
goto error;
drivers/net/ieee802154/ca8210.c
3061
goto error;
drivers/net/ieee802154/ca8210.c
3072
goto error;
drivers/net/ieee802154/ca8210.c
3079
goto error;
drivers/net/ieee802154/ca8210.c
3085
goto error;
drivers/net/ieee802154/ca8210.c
3090
goto error;
drivers/net/ieee802154/ca8210.c
3096
goto error;
drivers/net/ieee802154/ca8210.c
3106
goto error;
drivers/net/ieee802154/ca8210.c
3116
goto error;
drivers/net/ieee802154/ca8210.c
3124
goto error;
drivers/net/ieee802154/ca8210.c
3131
goto error;
drivers/net/ieee802154/ca8210.c
3136
error:
drivers/net/ipa/ipa_qmi.c
189
rsp.rsp.error = QMI_ERR_NONE_V01;
drivers/net/ipa/ipa_qmi.c
218
rsp.rsp.error = QMI_ERR_NONE_V01;
drivers/net/ipa/ipa_qmi.c
89
ind.status.error = QMI_ERR_NONE_V01;
drivers/net/ipvlan/ipvlan_core.c
493
err = dst->error;
drivers/net/ipvlan/ipvlan_main.c
1062
goto error;
drivers/net/ipvlan/ipvlan_main.c
1067
goto error;
drivers/net/ipvlan/ipvlan_main.c
1071
error:
drivers/net/ovpn/crypto_aead.c
259
goto error;
drivers/net/ovpn/crypto_aead.c
266
goto error;
drivers/net/ovpn/crypto_aead.c
273
goto error;
drivers/net/ovpn/crypto_aead.c
280
goto error;
drivers/net/ovpn/crypto_aead.c
292
error:
drivers/net/phy/broadcom.c
255
goto error;
drivers/net/phy/broadcom.c
260
goto error;
drivers/net/phy/broadcom.c
269
goto error;
drivers/net/phy/broadcom.c
275
error:
drivers/net/phy/marvell.c
1806
goto error;
drivers/net/phy/marvell.c
1810
goto error;
drivers/net/phy/marvell.c
1825
goto error;
drivers/net/phy/marvell.c
1830
error:
drivers/net/phy/marvell.c
1849
goto error;
drivers/net/phy/marvell.c
1854
goto error;
drivers/net/phy/marvell.c
1859
goto error;
drivers/net/phy/marvell.c
1865
error:
drivers/net/phy/marvell.c
1884
goto error;
drivers/net/phy/marvell.c
1889
goto error;
drivers/net/phy/marvell.c
1894
goto error;
drivers/net/phy/marvell.c
1900
error:
drivers/net/phy/marvell.c
1976
goto error;
drivers/net/phy/marvell.c
1982
goto error;
drivers/net/phy/marvell.c
1997
goto error;
drivers/net/phy/marvell.c
2001
goto error;
drivers/net/phy/marvell.c
2009
goto error;
drivers/net/phy/marvell.c
2015
goto error;
drivers/net/phy/marvell.c
2022
goto error;
drivers/net/phy/marvell.c
2027
goto error;
drivers/net/phy/marvell.c
2032
goto error;
drivers/net/phy/marvell.c
2039
goto error;
drivers/net/phy/marvell.c
2043
goto error;
drivers/net/phy/marvell.c
2050
goto error;
drivers/net/phy/marvell.c
2056
goto error;
drivers/net/phy/marvell.c
2063
goto error;
drivers/net/phy/marvell.c
2067
goto error;
drivers/net/phy/marvell.c
2074
goto error;
drivers/net/phy/marvell.c
2077
error:
drivers/net/phy/marvell.c
2888
goto error;
drivers/net/phy/marvell.c
2893
goto error;
drivers/net/phy/marvell.c
2898
goto error;
drivers/net/phy/marvell.c
2906
goto error;
drivers/net/phy/marvell.c
2913
goto error;
drivers/net/phy/marvell.c
2917
error:
drivers/net/phy/marvell.c
2994
goto error;
drivers/net/phy/marvell.c
2999
goto error;
drivers/net/phy/marvell.c
3006
goto error;
drivers/net/phy/marvell.c
3017
goto error;
drivers/net/phy/marvell.c
3027
goto error;
drivers/net/phy/marvell.c
3034
error:
drivers/net/phy/marvell.c
3637
goto error;
drivers/net/phy/marvell.c
3642
goto error;
drivers/net/phy/marvell.c
3647
error:
drivers/net/phy/marvell.c
780
goto error;
drivers/net/phy/marvell.c
785
goto error;
drivers/net/phy/marvell.c
790
goto error;
drivers/net/phy/marvell.c
801
goto error;
drivers/net/phy/marvell.c
805
error:
drivers/net/phy/marvell.c
816
goto error;
drivers/net/phy/marvell.c
821
goto error;
drivers/net/phy/marvell.c
830
goto error;
drivers/net/phy/marvell.c
834
goto error;
drivers/net/phy/marvell.c
838
error:
drivers/net/phy/mdio_bus_provider.c
360
goto error;
drivers/net/phy/mdio_bus_provider.c
368
goto error;
drivers/net/phy/mdio_bus_provider.c
375
error:
drivers/net/phy/microchip_rds_ptp.c
1000
goto error;
drivers/net/phy/microchip_rds_ptp.c
1010
error:
drivers/net/phy/microchip_rds_ptp.c
786
goto error;
drivers/net/phy/microchip_rds_ptp.c
792
error:
drivers/net/phy/microchip_rds_ptp.c
972
goto error;
drivers/net/phy/microchip_rds_ptp.c
975
goto error;
drivers/net/phy/microchip_rds_ptp.c
982
goto error;
drivers/net/phy/microchip_rds_ptp.c
988
goto error;
drivers/net/phy/microchip_rds_ptp.c
994
goto error;
drivers/net/phy/microchip_t1.c
1803
goto error;
drivers/net/phy/microchip_t1.c
1810
goto error;
drivers/net/phy/microchip_t1.c
1817
goto error;
drivers/net/phy/microchip_t1.c
1824
goto error;
drivers/net/phy/microchip_t1.c
1831
goto error;
drivers/net/phy/microchip_t1.c
1884
goto error;
drivers/net/phy/microchip_t1.c
1891
goto error;
drivers/net/phy/microchip_t1.c
1939
error:
drivers/net/phy/phy_device.c
1793
goto error;
drivers/net/phy/phy_device.c
1806
goto error;
drivers/net/phy/phy_device.c
1866
goto error;
drivers/net/phy/phy_device.c
1881
error:
drivers/net/plip/plip.c
345
int error);
drivers/net/plip/plip.c
402
int error)
drivers/net/plip/plip.c
418
if (error != ERROR) { /* Timeout */
drivers/net/plip/plip.c
420
if ((error == HS_TIMEOUT && nl->timeout_count <= 10) ||
drivers/net/plip/plip.c
430
error = HS_TIMEOUT;
drivers/net/plip/plip.c
439
if (error != ERROR) { /* Timeout */
drivers/net/plip/plip.c
462
if (error == HS_TIMEOUT) {
drivers/net/ppp/pppoe.c
1012
int error = 0;
drivers/net/ppp/pppoe.c
1017
skb = skb_recv_datagram(sk, flags, &error);
drivers/net/ppp/pppoe.c
1019
return error;
drivers/net/ppp/pppoe.c
1022
error = skb_copy_datagram_msg(skb, 0, m, total_len);
drivers/net/ppp/pppoe.c
1023
if (error == 0) {
drivers/net/ppp/pppoe.c
1029
return error;
drivers/net/ppp/pppoe.c
620
int error;
drivers/net/ppp/pppoe.c
624
error = -EINVAL;
drivers/net/ppp/pppoe.c
633
error = -EBUSY;
drivers/net/ppp/pppoe.c
639
error = -EALREADY;
drivers/net/ppp/pppoe.c
644
error = 0;
drivers/net/ppp/pppoe.c
669
error = -ENODEV;
drivers/net/ppp/pppoe.c
687
error = __set_item(pn, po);
drivers/net/ppp/pppoe.c
689
if (error < 0)
drivers/net/ppp/pppoe.c
700
error = ppp_register_net_channel(dev_net(dev), &po->chan);
drivers/net/ppp/pppoe.c
701
if (error) {
drivers/net/ppp/pppoe.c
714
return error;
drivers/net/ppp/pppoe.c
846
int error;
drivers/net/ppp/pppoe.c
855
error = -ENOTCONN;
drivers/net/ppp/pppoe.c
866
error = -EMSGSIZE;
drivers/net/ppp/pppoe.c
874
error = -ENOMEM;
drivers/net/ppp/pppoe.c
890
error = memcpy_from_msg(start, m, total_len);
drivers/net/ppp/pppoe.c
891
if (error < 0) {
drivers/net/ppp/pppoe.c
896
error = total_len;
drivers/net/ppp/pppoe.c
908
return error;
drivers/net/ppp/pptp.c
391
int error = 0;
drivers/net/ppp/pptp.c
399
error = -EALREADY;
drivers/net/ppp/pptp.c
404
error = -EBUSY;
drivers/net/ppp/pptp.c
409
error = -EBUSY;
drivers/net/ppp/pptp.c
415
return error;
drivers/net/ppp/pptp.c
427
int error = 0;
drivers/net/ppp/pptp.c
441
error = -EBUSY;
drivers/net/ppp/pptp.c
447
error = -EALREADY;
drivers/net/ppp/pptp.c
452
error = -EINVAL;
drivers/net/ppp/pptp.c
461
error = -EHOSTUNREACH;
drivers/net/ppp/pptp.c
473
error = ppp_register_channel(&po->chan);
drivers/net/ppp/pptp.c
474
if (error) {
drivers/net/ppp/pptp.c
475
pr_err("PPTP: failed to register PPP channel (%d)\n", error);
drivers/net/ppp/pptp.c
484
return error;
drivers/net/ppp/pptp.c
508
int error = 0;
drivers/net/ppp/pptp.c
533
return error;
drivers/net/ppp/pptp.c
548
int error = -ENOMEM;
drivers/net/ppp/pptp.c
575
error = 0;
drivers/net/ppp/pptp.c
577
return error;
drivers/net/rionet.c
112
error = __netif_rx(rnet->rx_skb[i]);
drivers/net/rionet.c
114
if (error == NET_RX_DROP) {
drivers/net/rionet.c
95
int error = 0;
drivers/net/tun.c
2120
int error = 0;
drivers/net/tun.c
2126
error = -EAGAIN;
drivers/net/tun.c
2138
error = -ERESTARTSYS;
drivers/net/tun.c
2142
error = -EFAULT;
drivers/net/tun.c
2153
*err = error;
drivers/net/usb/asix_common.c
328
goto error;
drivers/net/usb/asix_common.c
332
goto error;
drivers/net/usb/asix_common.c
348
error:
drivers/net/usb/catc.c
788
goto error;
drivers/net/usb/catc.c
959
error:
drivers/net/usb/cdc_mbim.c
232
goto error;
drivers/net/usb/cdc_mbim.c
236
goto error;
drivers/net/usb/cdc_mbim.c
258
goto error;
drivers/net/usb/cdc_mbim.c
275
goto error;
drivers/net/usb/cdc_mbim.c
281
goto error;
drivers/net/usb/cdc_mbim.c
289
goto error;
drivers/net/usb/cdc_mbim.c
298
error:
drivers/net/usb/cdc_mbim.c
430
goto error;
drivers/net/usb/cdc_mbim.c
435
goto error;
drivers/net/usb/cdc_mbim.c
485
goto error;
drivers/net/usb/cdc_mbim.c
501
error:
drivers/net/usb/cdc_mbim.c
513
goto error;
drivers/net/usb/cdc_mbim.c
522
goto error;
drivers/net/usb/cdc_mbim.c
529
error:
drivers/net/usb/cdc_ncm.c
1536
goto error;
drivers/net/usb/cdc_ncm.c
1548
error:
drivers/net/usb/cdc_ncm.c
1565
goto error;
drivers/net/usb/cdc_ncm.c
1570
goto error;
drivers/net/usb/cdc_ncm.c
1579
goto error;
drivers/net/usb/cdc_ncm.c
1587
goto error;
drivers/net/usb/cdc_ncm.c
1600
error:
drivers/net/usb/cdc_ncm.c
1613
goto error;
drivers/net/usb/cdc_ncm.c
1618
goto error;
drivers/net/usb/cdc_ncm.c
1627
goto error;
drivers/net/usb/cdc_ncm.c
1635
goto error;
drivers/net/usb/cdc_ncm.c
1648
error:
drivers/net/usb/cdc_ncm.c
1664
goto error;
drivers/net/usb/cdc_ncm.c
1671
goto error;
drivers/net/usb/cdc_ncm.c
1685
error:
drivers/net/usb/cdc_ncm.c
1701
goto error;
drivers/net/usb/cdc_ncm.c
1708
goto error;
drivers/net/usb/cdc_ncm.c
1722
error:
drivers/net/usb/cdc_ncm.c
1754
goto error;
drivers/net/usb/cdc_ncm.c
1760
goto error;
drivers/net/usb/cdc_ncm.c
1774
goto error;
drivers/net/usb/cdc_ncm.c
1820
goto error;
drivers/net/usb/cdc_ncm.c
1846
error:
drivers/net/usb/cdc_ncm.c
872
goto error;
drivers/net/usb/cdc_ncm.c
877
goto error;
drivers/net/usb/cdc_ncm.c
882
goto error;
drivers/net/usb/cdc_ncm.c
891
goto error;
drivers/net/usb/cdc_ncm.c
990
error:
drivers/net/usb/huawei_cdc_ncm.c
139
goto error;
drivers/net/usb/huawei_cdc_ncm.c
144
goto error;
drivers/net/usb/huawei_cdc_ncm.c
153
error:
drivers/net/usb/lan78xx.c
525
goto error;
drivers/net/usb/lan78xx.c
529
goto error;
drivers/net/usb/lan78xx.c
535
goto error;
drivers/net/usb/lan78xx.c
549
error:
drivers/net/usb/lg-vl600.c
120
goto error;
drivers/net/usb/lg-vl600.c
128
goto error;
drivers/net/usb/lg-vl600.c
136
goto error;
drivers/net/usb/lg-vl600.c
159
goto error;
drivers/net/usb/lg-vl600.c
167
goto error;
drivers/net/usb/lg-vl600.c
202
goto error;
drivers/net/usb/lg-vl600.c
221
error:
drivers/net/vmxnet3/vmxnet3_defs.h
658
__le32 error;
drivers/net/vmxnet3/vmxnet3_drv.c
263
adapter->tqd_start[i].status.error));
drivers/net/vmxnet3/vmxnet3_drv.c
269
adapter->rqd_start[i].status.error);
drivers/net/vrf.c
1982
goto error;
drivers/net/vrf.c
2002
error:
drivers/net/wan/hdlc_fr.c
640
int stat_len = (lmi == LMI_CISCO) ? 6 : 3, reptype, error, no_ram, i;
drivers/net/wan/hdlc_fr.c
719
error = 0;
drivers/net/wan/hdlc_fr.c
721
error = 1;
drivers/net/wan/hdlc_fr.c
725
error = 1;
drivers/net/wan/hdlc_fr.c
729
if (state(hdlc)->fullrep_sent && !error) {
drivers/net/wan/hdlc_fr.c
759
if (error)
drivers/net/wireless/ath/ar5523/ar5523.c
1001
int error;
drivers/net/wireless/ath/ar5523/ar5523.c
1030
error = ar5523_cmd_read(ar, WDCMSG_TARGET_START, NULL, 0,
drivers/net/wireless/ath/ar5523/ar5523.c
1032
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1033
ar5523_dbg(ar, "could not start target, error %d\n", error);
drivers/net/wireless/ath/ar5523/ar5523.c
1061
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
1286
int error;
drivers/net/wireless/ath/ar5523/ar5523.c
1295
error = ar5523_create_connection(ar, vif, bss);
drivers/net/wireless/ath/ar5523/ar5523.c
1296
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1301
error = ar5523_set_basic_rates(ar, bss);
drivers/net/wireless/ath/ar5523/ar5523.c
1302
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1307
error = ar5523_write_associd(ar, vif);
drivers/net/wireless/ath/ar5523/ar5523.c
1308
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1395
int error;
drivers/net/wireless/ath/ar5523/ar5523.c
1398
error = ar5523_get_status(ar, ST_MAC_ADDR, macaddr, ETH_ALEN);
drivers/net/wireless/ath/ar5523/ar5523.c
1399
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1401
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
1406
error = ar5523_get_status(ar, ST_SERIAL_NUMBER,
drivers/net/wireless/ath/ar5523/ar5523.c
1408
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1410
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
1419
int error;
drivers/net/wireless/ath/ar5523/ar5523.c
1423
error = ar5523_get_status(ar, ST_WDC_TRANSPORT_CHUNK_SIZE, &rxsize,
drivers/net/wireless/ath/ar5523/ar5523.c
1425
if (error != 0) {
drivers/net/wireless/ath/ar5523/ar5523.c
1427
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
1507
int error = -ENXIO;
drivers/net/wireless/ath/ar5523/ar5523.c
1539
error = usb_bulk_msg(dev, ar5523_cmd_tx_pipe(dev),
drivers/net/wireless/ath/ar5523/ar5523.c
1542
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1550
error = usb_bulk_msg(dev, ar5523_data_tx_pipe(dev),
drivers/net/wireless/ath/ar5523/ar5523.c
1553
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1560
error = usb_bulk_msg(dev, ar5523_cmd_rx_pipe(dev),
drivers/net/wireless/ath/ar5523/ar5523.c
1563
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1577
error = -ENXIO;
drivers/net/wireless/ath/ar5523/ar5523.c
1587
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
1596
int error = -ENOMEM;
drivers/net/wireless/ath/ar5523/ar5523.c
1608
error = -ENODEV;
drivers/net/wireless/ath/ar5523/ar5523.c
1654
error = ar5523_alloc_rx_bufs(ar);
drivers/net/wireless/ath/ar5523/ar5523.c
1655
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1660
error = ar5523_alloc_rx_cmd(ar);
drivers/net/wireless/ath/ar5523/ar5523.c
1661
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1666
error = ar5523_alloc_tx_cmd(ar);
drivers/net/wireless/ath/ar5523/ar5523.c
1667
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1672
error = ar5523_submit_rx_cmd(ar);
drivers/net/wireless/ath/ar5523/ar5523.c
1673
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1681
error = ar5523_host_available(ar);
drivers/net/wireless/ath/ar5523/ar5523.c
1682
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1687
error = ar5523_get_max_rxsz(ar);
drivers/net/wireless/ath/ar5523/ar5523.c
1688
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1693
error = ar5523_get_devcap(ar);
drivers/net/wireless/ath/ar5523/ar5523.c
1694
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1699
error = ar5523_get_devstatus(ar);
drivers/net/wireless/ath/ar5523/ar5523.c
1700
if (error != 0) {
drivers/net/wireless/ath/ar5523/ar5523.c
1717
error = ar5523_init_modes(ar);
drivers/net/wireless/ath/ar5523/ar5523.c
1718
if (error)
drivers/net/wireless/ath/ar5523/ar5523.c
1725
error = ieee80211_register_hw(hw);
drivers/net/wireless/ath/ar5523/ar5523.c
1726
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
1747
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
205
int error;
drivers/net/wireless/ath/ar5523/ar5523.c
212
error = usb_submit_urb(ar->rx_cmd_urb, GFP_ATOMIC);
drivers/net/wireless/ath/ar5523/ar5523.c
213
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
214
if (error != -ENODEV)
drivers/net/wireless/ath/ar5523/ar5523.c
216
error);
drivers/net/wireless/ath/ar5523/ar5523.c
217
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
254
int xferlen, error;
drivers/net/wireless/ath/ar5523/ar5523.c
280
error = usb_submit_urb(cmd->urb_tx, GFP_KERNEL);
drivers/net/wireless/ath/ar5523/ar5523.c
281
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
283
code, error);
drivers/net/wireless/ath/ar5523/ar5523.c
284
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
314
int error;
drivers/net/wireless/ath/ar5523/ar5523.c
320
error = ar5523_cmd_write(ar, WDCMSG_TARGET_SET_CONFIG, &write,
drivers/net/wireless/ath/ar5523/ar5523.c
322
if (error != 0)
drivers/net/wireless/ath/ar5523/ar5523.c
324
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
331
int error;
drivers/net/wireless/ath/ar5523/ar5523.c
338
error = ar5523_cmd_write(ar, WDCMSG_TARGET_SET_CONFIG, &write,
drivers/net/wireless/ath/ar5523/ar5523.c
340
if (error != 0)
drivers/net/wireless/ath/ar5523/ar5523.c
343
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
349
int error;
drivers/net/wireless/ath/ar5523/ar5523.c
353
error = ar5523_cmd_read(ar, WDCMSG_TARGET_GET_STATUS,
drivers/net/wireless/ath/ar5523/ar5523.c
355
if (error != 0)
drivers/net/wireless/ath/ar5523/ar5523.c
357
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
362
int error;
drivers/net/wireless/ath/ar5523/ar5523.c
366
error = ar5523_cmd_read(ar, WDCMSG_TARGET_GET_CAPABILITY, &cap_be,
drivers/net/wireless/ath/ar5523/ar5523.c
369
if (error != 0) {
drivers/net/wireless/ath/ar5523/ar5523.c
371
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
374
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
380
error = ar5523_get_capability(ar, x, &cap); \
drivers/net/wireless/ath/ar5523/ar5523.c
381
if (error != 0) \
drivers/net/wireless/ath/ar5523/ar5523.c
382
return error; \
drivers/net/wireless/ath/ar5523/ar5523.c
386
int error;
drivers/net/wireless/ath/ar5523/ar5523.c
501
int error;
drivers/net/wireless/ath/ar5523/ar5523.c
503
error = ar5523_set_chan(ar);
drivers/net/wireless/ath/ar5523/ar5523.c
504
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
505
ar5523_err(ar, "could not set chan, error %d\n", error);
drivers/net/wireless/ath/ar5523/ar5523.c
510
error = ar5523_reset_tx_queues(ar);
drivers/net/wireless/ath/ar5523/ar5523.c
511
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
513
error);
drivers/net/wireless/ath/ar5523/ar5523.c
517
error = ar5523_queue_init(ar);
drivers/net/wireless/ath/ar5523/ar5523.c
518
if (error)
drivers/net/wireless/ath/ar5523/ar5523.c
519
ar5523_err(ar, "could not init wme, error %d\n", error);
drivers/net/wireless/ath/ar5523/ar5523.c
522
return error;
drivers/net/wireless/ath/ar5523/ar5523.c
631
int error;
drivers/net/wireless/ath/ar5523/ar5523.c
661
error = usb_submit_urb(data->urb, GFP_KERNEL);
drivers/net/wireless/ath/ar5523/ar5523.c
662
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
664
if (error != -ENODEV)
drivers/net/wireless/ath/ar5523/ar5523.c
666
error);
drivers/net/wireless/ath/ar5523/ar5523.c
806
int error = 0, paylen;
drivers/net/wireless/ath/ar5523/ar5523.c
878
error = usb_submit_urb(urb, GFP_KERNEL);
drivers/net/wireless/ath/ar5523/ar5523.c
879
if (error) {
drivers/net/wireless/ath/ar5523/ar5523.c
881
error);
drivers/net/wireless/ath/ar5523/ar5523.c
979
int error;
drivers/net/wireless/ath/ar5523/ar5523.c
988
error = ar5523_cmd_write(ar, WDCMSG_TARGET_GET_STATS, NULL, 0, 0);
drivers/net/wireless/ath/ar5523/ar5523.c
989
if (error)
drivers/net/wireless/ath/ar5523/ar5523.c
990
ar5523_err(ar, "could not query stats, error %d\n", error);
drivers/net/wireless/ath/ath10k/qmi.c
154
ath10k_err(ar, "msa info req rejected: %d\n", resp.resp.error);
drivers/net/wireless/ath/ath10k/qmi.c
227
ath10k_err(ar, "msa ready request rejected: %d\n", resp.resp.error);
drivers/net/wireless/ath/ath10k/qmi.c
304
resp.resp.error);
drivers/net/wireless/ath/ath10k/qmi.c
368
ath10k_err(ar, "calibration request rejected: %d\n", resp.resp.error);
drivers/net/wireless/ath/ath10k/qmi.c
415
ath10k_err(ar, "more request rejected: %d\n", resp.resp.error);
drivers/net/wireless/ath/ath10k/qmi.c
501
ath10k_err(ar, "config request rejected: %d\n", resp.resp.error);
drivers/net/wireless/ath/ath10k/qmi.c
604
ath10k_err(ar, "capability req rejected: %d\n", resp->resp.error);
drivers/net/wireless/ath/ath10k/qmi.c
692
resp.resp.error != QMI_ERR_NOT_SUPPORTED_V01) {
drivers/net/wireless/ath/ath10k/qmi.c
693
ath10k_err(ar, "host capability request rejected: %d\n", resp.resp.error);
drivers/net/wireless/ath/ath10k/qmi.c
738
resp.resp.error);
drivers/net/wireless/ath/ath10k/qmi.c
792
ath10k_err(ar, "indication request rejected: %d\n", resp.resp.error);
drivers/net/wireless/ath/ath11k/qmi.c
1785
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath11k/qmi.c
1861
resp->resp.result, resp->resp.error);
drivers/net/wireless/ath/ath11k/qmi.c
1944
if (delayed && resp.resp.error == 0)
drivers/net/wireless/ath/ath11k/qmi.c
1948
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath11k/qmi.c
2158
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath11k/qmi.c
2165
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath11k/qmi.c
2237
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath11k/qmi.c
2387
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath11k/qmi.c
2633
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath11k/qmi.c
2687
mode, resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath11k/qmi.c
2777
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath11k/qmi.c
2821
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath12k/qmi.c
2272
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath12k/qmi.c
2397
resp->resp.result, resp->resp.error);
drivers/net/wireless/ath/ath12k/qmi.c
2474
if (delayed && resp.resp.error == 0)
drivers/net/wireless/ath/ath12k/qmi.c
2478
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath12k/qmi.c
2888
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath12k/qmi.c
3027
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath12k/qmi.c
3273
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath12k/qmi.c
3398
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath12k/qmi.c
3447
mode, resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath12k/qmi.c
3540
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath12k/qmi.c
3584
resp.resp.result, resp.resp.error);
drivers/net/wireless/ath/ath6kl/sdio.c
329
status = cmd.error ? cmd.error : data.error;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
3060
goto error;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
3067
goto error;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
3075
goto error;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
3079
error:
drivers/net/wireless/ath/ath9k/channel.c
1013
goto error;
drivers/net/wireless/ath/ath9k/channel.c
1017
error:
drivers/net/wireless/ath/ath9k/htc_drv_init.c
834
int error = 0;
drivers/net/wireless/ath/ath9k/htc_drv_init.c
839
error = ath9k_init_priv(priv, devid, product, drv_info);
drivers/net/wireless/ath/ath9k/htc_drv_init.c
840
if (error != 0)
drivers/net/wireless/ath/ath9k/htc_drv_init.c
847
error = ath9k_init_firmware_version(priv);
drivers/net/wireless/ath/ath9k/htc_drv_init.c
848
if (error != 0)
drivers/net/wireless/ath/ath9k/htc_drv_init.c
852
error = ath_regd_init(&common->regulatory, priv->hw->wiphy,
drivers/net/wireless/ath/ath9k/htc_drv_init.c
854
if (error)
drivers/net/wireless/ath/ath9k/htc_drv_init.c
860
error = ath9k_tx_init(priv);
drivers/net/wireless/ath/ath9k/htc_drv_init.c
861
if (error != 0)
drivers/net/wireless/ath/ath9k/htc_drv_init.c
865
error = ath9k_rx_init(priv);
drivers/net/wireless/ath/ath9k/htc_drv_init.c
866
if (error != 0)
drivers/net/wireless/ath/ath9k/htc_drv_init.c
878
error = ieee80211_register_hw(hw);
drivers/net/wireless/ath/ath9k/htc_drv_init.c
879
if (error)
drivers/net/wireless/ath/ath9k/htc_drv_init.c
884
error = regulatory_hint(hw->wiphy, reg->alpha2);
drivers/net/wireless/ath/ath9k/htc_drv_init.c
885
if (error)
drivers/net/wireless/ath/ath9k/htc_drv_init.c
889
error = ath9k_htc_init_debug(priv->ah);
drivers/net/wireless/ath/ath9k/htc_drv_init.c
890
if (error) {
drivers/net/wireless/ath/ath9k/htc_drv_init.c
928
return error;
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
192
int error = 0;
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
206
error = -EIO;
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
211
return error;
drivers/net/wireless/ath/ath9k/init.c
1012
int error = 0;
drivers/net/wireless/ath/ath9k/init.c
1016
error = ath9k_init_softc(devid, sc, bus_ops);
drivers/net/wireless/ath/ath9k/init.c
1017
if (error)
drivers/net/wireless/ath/ath9k/init.c
1018
return error;
drivers/net/wireless/ath/ath9k/init.c
1025
error = ath_regd_init(&common->regulatory, sc->hw->wiphy,
drivers/net/wireless/ath/ath9k/init.c
1027
if (error)
drivers/net/wireless/ath/ath9k/init.c
1033
error = ath_tx_init(sc, ATH_TXBUF);
drivers/net/wireless/ath/ath9k/init.c
1034
if (error != 0)
drivers/net/wireless/ath/ath9k/init.c
1038
error = ath_rx_init(sc, ATH_RXBUF);
drivers/net/wireless/ath/ath9k/init.c
1039
if (error != 0)
drivers/net/wireless/ath/ath9k/init.c
1054
error = ieee80211_register_hw(hw);
drivers/net/wireless/ath/ath9k/init.c
1055
if (error)
drivers/net/wireless/ath/ath9k/init.c
1058
error = ath9k_init_debug(ah);
drivers/net/wireless/ath/ath9k/init.c
1059
if (error) {
drivers/net/wireless/ath/ath9k/init.c
1066
error = regulatory_hint(hw->wiphy, reg->alpha2);
drivers/net/wireless/ath/ath9k/init.c
1067
if (error)
drivers/net/wireless/ath/ath9k/init.c
1084
return error;
drivers/net/wireless/ath/ath9k/init.c
1134
int error;
drivers/net/wireless/ath/ath9k/init.c
1136
error = ath_pci_init();
drivers/net/wireless/ath/ath9k/init.c
1137
if (error < 0) {
drivers/net/wireless/ath/ath9k/init.c
1139
error = -ENODEV;
drivers/net/wireless/ath/ath9k/init.c
1143
error = ath_ahb_init();
drivers/net/wireless/ath/ath9k/init.c
1144
if (error < 0) {
drivers/net/wireless/ath/ath9k/init.c
1145
error = -ENODEV;
drivers/net/wireless/ath/ath9k/init.c
1156
return error;
drivers/net/wireless/ath/ath9k/recv.c
204
int error = 0, i;
drivers/net/wireless/ath/ath9k/recv.c
225
error = -ENOMEM;
drivers/net/wireless/ath/ath9k/recv.c
242
error = -ENOMEM;
drivers/net/wireless/ath/ath9k/recv.c
253
return error;
drivers/net/wireless/ath/ath9k/recv.c
276
int error = 0;
drivers/net/wireless/ath/ath9k/recv.c
291
error = ath_descdma_setup(sc, &sc->rx.rxdma, &sc->rx.rxbuf,
drivers/net/wireless/ath/ath9k/recv.c
293
if (error != 0) {
drivers/net/wireless/ath/ath9k/recv.c
296
error);
drivers/net/wireless/ath/ath9k/recv.c
304
error = -ENOMEM;
drivers/net/wireless/ath/ath9k/recv.c
319
error = -ENOMEM;
drivers/net/wireless/ath/ath9k/recv.c
325
if (error)
drivers/net/wireless/ath/ath9k/recv.c
328
return error;
drivers/net/wireless/ath/ath9k/xmit.c
1834
int error = 0;
drivers/net/wireless/ath/ath9k/xmit.c
1849
error = -EIO;
drivers/net/wireless/ath/ath9k/xmit.c
1854
return error;
drivers/net/wireless/ath/ath9k/xmit.c
2830
int error = 0;
drivers/net/wireless/ath/ath9k/xmit.c
2834
error = ath_descdma_setup(sc, &sc->tx.txdma, &sc->tx.txbuf,
drivers/net/wireless/ath/ath9k/xmit.c
2836
if (error != 0) {
drivers/net/wireless/ath/ath9k/xmit.c
2838
"Failed to allocate tx descriptors: %d\n", error);
drivers/net/wireless/ath/ath9k/xmit.c
2839
return error;
drivers/net/wireless/ath/ath9k/xmit.c
2842
error = ath_descdma_setup(sc, &sc->beacon.bdma, &sc->beacon.bbuf,
drivers/net/wireless/ath/ath9k/xmit.c
2844
if (error != 0) {
drivers/net/wireless/ath/ath9k/xmit.c
2846
"Failed to allocate beacon descriptors: %d\n", error);
drivers/net/wireless/ath/ath9k/xmit.c
2847
return error;
drivers/net/wireless/ath/ath9k/xmit.c
2851
error = ath_tx_edma_init(sc);
drivers/net/wireless/ath/ath9k/xmit.c
2853
return error;
drivers/net/wireless/ath/carl9170/rx.c
294
u8 error, decrypt;
drivers/net/wireless/ath/carl9170/rx.c
299
error = mac->error;
drivers/net/wireless/ath/carl9170/rx.c
301
if (error & AR9170_RX_ERROR_WRONG_RA) {
drivers/net/wireless/ath/carl9170/rx.c
306
if (error & AR9170_RX_ERROR_PLCP) {
drivers/net/wireless/ath/carl9170/rx.c
313
if (error & AR9170_RX_ERROR_FCS) {
drivers/net/wireless/ath/carl9170/rx.c
326
(error & AR9170_RX_ERROR_MMIC))
drivers/net/wireless/ath/carl9170/rx.c
332
if (error & AR9170_RX_ERROR_DECRYPT && !ar->sniffer_enabled)
drivers/net/wireless/ath/carl9170/rx.c
335
error &= ~(AR9170_RX_ERROR_MMIC |
drivers/net/wireless/ath/carl9170/rx.c
342
if (unlikely(error)) {
drivers/net/wireless/ath/carl9170/rx.c
347
"suspicious error code (%#x).\n", error);
drivers/net/wireless/ath/carl9170/wlan.h
362
u8 error;
drivers/net/wireless/ath/wil6210/txrx.c
1103
d->dma.error = 0;
drivers/net/wireless/ath/wil6210/txrx.c
2477
d->dma.error);
drivers/net/wireless/ath/wil6210/txrx.c
2481
d->dma.status, d->dma.error);
drivers/net/wireless/ath/wil6210/txrx.c
2490
if (likely(d->dma.error == 0)) {
drivers/net/wireless/ath/wil6210/txrx.c
2509
wil_consume_skb(skb, d->dma.error == 0);
drivers/net/wireless/ath/wil6210/txrx.c
572
if (likely((d->dma.error & RX_DMA_ERROR_L4_ERR) == 0))
drivers/net/wireless/ath/wil6210/txrx.c
695
(d->dma.error & RX_DMA_ERROR_MIC)) {
drivers/net/wireless/ath/wil6210/txrx.h
287
u8 error; /* 0..2: err; 3..7: reserved; */
drivers/net/wireless/ath/wil6210/txrx.h
463
u8 error;
drivers/net/wireless/atmel/at76c50x-usb.c
1840
goto error;
drivers/net/wireless/atmel/at76c50x-usb.c
1847
error:
drivers/net/wireless/broadcom/b43/main.c
2165
static void b43_print_fw_helptext(struct b43_wl *wl, bool error)
drivers/net/wireless/broadcom/b43/main.c
2173
if (error)
drivers/net/wireless/broadcom/b43/main.c
2519
goto error;
drivers/net/wireless/broadcom/b43/main.c
2525
goto error;
drivers/net/wireless/broadcom/b43/main.c
2531
goto error;
drivers/net/wireless/broadcom/b43/main.c
2537
goto error;
drivers/net/wireless/broadcom/b43/main.c
2539
error:
drivers/net/wireless/broadcom/b43/main.c
2668
goto error;
drivers/net/wireless/broadcom/b43/main.c
2686
goto error;
drivers/net/wireless/broadcom/b43/main.c
2746
error:
drivers/net/wireless/broadcom/b43/main.c
3475
goto error;
drivers/net/wireless/broadcom/b43/main.c
3478
goto error;
drivers/net/wireless/broadcom/b43/main.c
3504
goto error;
drivers/net/wireless/broadcom/b43/main.c
3506
goto error;
drivers/net/wireless/broadcom/b43/main.c
3513
goto error;
drivers/net/wireless/broadcom/b43/main.c
3516
error:
drivers/net/wireless/broadcom/b43/phy_g.c
2428
goto error;
drivers/net/wireless/broadcom/b43/phy_g.c
2449
error:
drivers/net/wireless/broadcom/b43/phy_n.c
4490
bool error = false;
drivers/net/wireless/broadcom/b43/phy_n.c
4514
error = true;
drivers/net/wireless/broadcom/b43/phy_n.c
4530
error = true;
drivers/net/wireless/broadcom/b43/phy_n.c
4544
error = true;
drivers/net/wireless/broadcom/b43/phy_n.c
4568
if (error)
drivers/net/wireless/broadcom/b43/phy_n.c
5329
int error = 0;
drivers/net/wireless/broadcom/b43/phy_n.c
5397
error = b43_nphy_tx_tone(dev, freq, 250, true, false, false);
drivers/net/wireless/broadcom/b43/phy_n.c
5399
if (error == 0) {
drivers/net/wireless/broadcom/b43/phy_n.c
5551
return error;
drivers/net/wireless/broadcom/b43/sdio.c
124
error = -ENODEV;
drivers/net/wireless/broadcom/b43/sdio.c
129
error = sdio_set_block_size(func, B43_SDIO_BLOCK_SIZE);
drivers/net/wireless/broadcom/b43/sdio.c
130
if (error) {
drivers/net/wireless/broadcom/b43/sdio.c
132
" error %d\n", B43_SDIO_BLOCK_SIZE, error);
drivers/net/wireless/broadcom/b43/sdio.c
135
error = sdio_enable_func(func);
drivers/net/wireless/broadcom/b43/sdio.c
136
if (error) {
drivers/net/wireless/broadcom/b43/sdio.c
137
dev_err(&func->dev, "failed to enable func, error %d\n", error);
drivers/net/wireless/broadcom/b43/sdio.c
144
error = -ENOMEM;
drivers/net/wireless/broadcom/b43/sdio.c
148
error = ssb_bus_sdiobus_register(&sdio->ssb, func,
drivers/net/wireless/broadcom/b43/sdio.c
150
if (error) {
drivers/net/wireless/broadcom/b43/sdio.c
152
" error %d\n", error);
drivers/net/wireless/broadcom/b43/sdio.c
167
return error;
drivers/net/wireless/broadcom/b43/sdio.c
98
int error;
drivers/net/wireless/broadcom/b43legacy/main.c
1636
goto error;
drivers/net/wireless/broadcom/b43legacy/main.c
1640
goto error;
drivers/net/wireless/broadcom/b43legacy/main.c
1646
goto error;
drivers/net/wireless/broadcom/b43legacy/main.c
1648
error:
drivers/net/wireless/broadcom/b43legacy/main.c
1726
goto error;
drivers/net/wireless/broadcom/b43legacy/main.c
1731
goto error;
drivers/net/wireless/broadcom/b43legacy/main.c
1754
goto error;
drivers/net/wireless/broadcom/b43legacy/main.c
1771
error:
drivers/net/wireless/broadcom/b43legacy/main.c
2360
goto error;
drivers/net/wireless/broadcom/b43legacy/main.c
2364
goto error;
drivers/net/wireless/broadcom/b43legacy/main.c
2370
goto error;
drivers/net/wireless/broadcom/b43legacy/main.c
2374
goto error;
drivers/net/wireless/broadcom/b43legacy/main.c
2377
error:
drivers/net/wireless/broadcom/b43legacy/pio.c
537
const char *error)
drivers/net/wireless/broadcom/b43legacy/pio.c
541
b43legacyerr(queue->dev->wl, "PIO RX error: %s\n", error);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
353
ret = mc->error ? mc->error : md->error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
862
bool error)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
871
if (!error && !BRCMF_FWCON_ON())
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
897
if (error)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3040
int error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3048
error = brcmf_sdiod_ramrw(bus->sdiodev, false, sh->trap_addr, (u8 *)&tr,
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3050
if (error < 0)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3051
return error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3088
int error = 0;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3102
error = brcmf_sdiod_ramrw(bus->sdiodev, false,
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3104
if (error < 0)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3105
return error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3108
error = brcmf_sdiod_ramrw(bus->sdiodev, false,
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3110
if (error < 0)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3111
return error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3122
int error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3125
error = brcmf_sdio_readshared(bus, &sh);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3127
if (error < 0)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3128
return error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3145
int error = 0;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3148
error = brcmf_sdio_readshared(bus, &sh);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3149
if (error < 0)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3152
error = brcmf_sdio_assert_info(seq, bus, &sh);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3153
if (error < 0)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3156
error = brcmf_sdio_trap_info(seq, bus, &sh);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3157
if (error < 0)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3160
error = brcmf_sdio_dump_console(seq, bus, &sh);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3163
return error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1136
goto error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1140
goto error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1145
goto error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1148
goto error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1152
error:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1184
goto error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1195
goto error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1204
goto error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1208
goto error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1213
goto error;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1217
error:
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
1311
int error;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
1313
error = bcma_driver_register(&brcms_bcma_driver);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
1314
if (error)
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
1315
pr_err("%s: register returned %d\n", __func__, error);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
1429
int error = 0;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
1434
error = brcms_c_up(wl->wlc);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
1436
return error;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
633
int error;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
653
error = brcms_c_set_rateset(wl->wlc, &rs);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
655
if (error)
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
657
error);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c
5810
goto error;
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c
5818
error:
drivers/net/wireless/intel/ipw2x00/ipw2200.c
10747
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
10751
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
10784
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
10788
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
10793
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
10801
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
10805
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
10821
error:
drivers/net/wireless/intel/ipw2x00/ipw2200.c
11785
kfree(priv->error);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
11786
priv->error = NULL;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1216
struct ipw_fw_error *error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1221
error = kmalloc(size_add(struct_size(error, elem, elem_len),
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1222
array_size(sizeof(*error->log), log_len)),
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1224
if (!error) {
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1229
error->jiffies = jiffies;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1230
error->status = priv->status;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1231
error->config = priv->config;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1232
error->elem_len = elem_len;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1233
error->log_len = log_len;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1234
error->log = (struct ipw_event *)(error->elem + elem_len);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1236
ipw_capture_event_log(priv, log_len, error->log);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1239
ipw_read_indirect(priv, base + sizeof(base), (u8 *) error->elem,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1240
sizeof(*error->elem) * elem_len);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1242
return error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1282
if (!priv->error)
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1286
priv->error->jiffies,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1287
priv->error->status,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1288
priv->error->config, priv->error->elem_len);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1289
for (i = 0; i < priv->error->elem_len; i++)
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1292
priv->error->elem[i].time,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1293
priv->error->elem[i].desc,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1294
priv->error->elem[i].blink1,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1295
priv->error->elem[i].blink2,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1296
priv->error->elem[i].link1,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1297
priv->error->elem[i].link2,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1298
priv->error->elem[i].data);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1301
"\n%08X", priv->error->log_len);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1302
for (i = 0; i < priv->error->log_len; i++)
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1305
priv->error->log[i].time,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1306
priv->error->log[i].event,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1307
priv->error->log[i].data);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1318
kfree(priv->error);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1319
priv->error = NULL;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1323
static DEVICE_ATTR_RW(error);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
2022
if (priv->error) {
drivers/net/wireless/intel/ipw2x00/ipw2200.c
2025
struct ipw_fw_error *error =
drivers/net/wireless/intel/ipw2x00/ipw2200.c
2027
ipw_dump_error_log(priv, error);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
2028
kfree(error);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
2031
priv->error = ipw_alloc_error_log(priv);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
2032
if (priv->error)
drivers/net/wireless/intel/ipw2x00/ipw2200.c
2038
ipw_dump_error_log(priv, priv->error);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
3455
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
3463
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
3481
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
3497
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
3507
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
3518
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
3529
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
3539
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
3550
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
3570
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
3578
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
3607
error:
drivers/net/wireless/intel/ipw2x00/ipw2200.c
4901
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
4910
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
4918
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
4926
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
4934
goto error;
drivers/net/wireless/intel/ipw2x00/ipw2200.c
4941
error:
drivers/net/wireless/intel/ipw2x00/ipw2200.c
630
struct ipw_fw_error *error)
drivers/net/wireless/intel/ipw2x00/ipw2200.c
634
if (!error) {
drivers/net/wireless/intel/ipw2x00/ipw2200.c
642
error->status, error->config);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
644
for (i = 0; i < error->elem_len; i++)
drivers/net/wireless/intel/ipw2x00/ipw2200.c
646
ipw_error_desc(error->elem[i].desc),
drivers/net/wireless/intel/ipw2x00/ipw2200.c
647
error->elem[i].time,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
648
error->elem[i].blink1,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
649
error->elem[i].blink2,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
650
error->elem[i].link1,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
651
error->elem[i].link2, error->elem[i].data);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
652
for (i = 0; i < error->log_len; i++)
drivers/net/wireless/intel/ipw2x00/ipw2200.c
654
error->log[i].time,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
655
error->log[i].data, error->log[i].event);
drivers/net/wireless/intel/ipw2x00/ipw2200.h
1335
struct ipw_fw_error *error;
drivers/net/wireless/intel/iwlegacy/3945-mac.c
1798
goto error;
drivers/net/wireless/intel/iwlegacy/3945-mac.c
1812
goto error;
drivers/net/wireless/intel/iwlegacy/3945-mac.c
2000
error:
drivers/net/wireless/intel/iwlegacy/3945.c
851
goto error;
drivers/net/wireless/intel/iwlegacy/3945.c
858
goto error;
drivers/net/wireless/intel/iwlegacy/3945.c
864
error:
drivers/net/wireless/intel/iwlegacy/4965-mac.c
1994
goto error;
drivers/net/wireless/intel/iwlegacy/4965-mac.c
2011
goto error;
drivers/net/wireless/intel/iwlegacy/4965-mac.c
2017
error:
drivers/net/wireless/intel/iwlegacy/common.c
2974
goto error;
drivers/net/wireless/intel/iwlegacy/common.c
2984
goto error;
drivers/net/wireless/intel/iwlegacy/common.c
2990
error:
drivers/net/wireless/intel/iwlegacy/common.c
3697
bool error = false;
drivers/net/wireless/intel/iwlegacy/common.c
3702
error = true;
drivers/net/wireless/intel/iwlegacy/common.c
3706
error = true;
drivers/net/wireless/intel/iwlegacy/common.c
3711
error = true;
drivers/net/wireless/intel/iwlegacy/common.c
3715
error = true;
drivers/net/wireless/intel/iwlegacy/common.c
3720
error = true;
drivers/net/wireless/intel/iwlegacy/common.c
3727
error = true;
drivers/net/wireless/intel/iwlegacy/common.c
3732
error = true;
drivers/net/wireless/intel/iwlegacy/common.c
3738
error = true;
drivers/net/wireless/intel/iwlegacy/common.c
3744
error = true;
drivers/net/wireless/intel/iwlegacy/common.c
3751
error = true;
drivers/net/wireless/intel/iwlegacy/common.c
3754
if (error)
drivers/net/wireless/intel/iwlegacy/common.c
3757
if (error) {
drivers/net/wireless/intel/iwlwifi/dvm/lib.c
1151
if (key_data.error) {
drivers/net/wireless/intel/iwlwifi/dvm/lib.c
867
bool error, use_rsc_tsc, use_tkip;
drivers/net/wireless/intel/iwlwifi/dvm/lib.c
900
data->error = true;
drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c
241
goto error;
drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c
247
goto error;
drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c
253
goto error;
drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c
259
goto error;
drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c
264
goto error;
drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c
267
error:
drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c
375
goto error;
drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c
385
error:
drivers/net/wireless/intel/iwlwifi/dvm/ucode.c
393
goto error;
drivers/net/wireless/intel/iwlwifi/dvm/ucode.c
397
goto error;
drivers/net/wireless/intel/iwlwifi/dvm/ucode.c
408
error:
drivers/net/wireless/intel/iwlwifi/fw/dump.c
366
u32 error, data1;
drivers/net/wireless/intel/iwlwifi/fw/dump.c
369
error = UMAG_SB_CPU_2_STATUS;
drivers/net/wireless/intel/iwlwifi/fw/dump.c
373
error = SB_CPU_2_STATUS;
drivers/net/wireless/intel/iwlwifi/fw/dump.c
379
error = iwl_read_umac_prph(trans, error);
drivers/net/wireless/intel/iwlwifi/fw/dump.c
383
if (error & 0xFFFF0000)
drivers/net/wireless/intel/iwlwifi/fw/dump.c
384
IWL_ERR(trans, "0x%04X | IML/ROM SYSASSERT\n", error >> 16);
drivers/net/wireless/intel/iwlwifi/fw/dump.c
386
IWL_ERR(fwrt, "0x%08X | IML/ROM error/state\n", error);
drivers/net/wireless/intel/iwlwifi/mld/fw.c
537
goto error;
drivers/net/wireless/intel/iwlwifi/mld/fw.c
541
goto error;
drivers/net/wireless/intel/iwlwifi/mld/fw.c
545
error:
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
603
goto error;
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
615
error:
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
1021
if (key_data.error)
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
105
bool error;
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
156
data->error = ret != 0;
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
168
data->error = true;
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
210
data->error = ret != 0;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1561
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1584
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1590
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1593
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1598
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1604
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1612
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1619
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1637
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1653
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1663
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1688
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1697
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1706
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1714
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1731
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1737
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1741
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1756
error:
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1775
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1780
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1785
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1789
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1808
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
1812
error:
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
629
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
644
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
652
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
655
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
665
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
672
goto error;
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
697
error:
drivers/net/wireless/intel/iwlwifi/mvm/utils.c
641
bool error;
drivers/net/wireless/intel/iwlwifi/mvm/utils.c
653
data->error = true;
drivers/net/wireless/intel/iwlwifi/mvm/utils.c
668
if (bss_iter_data.error)
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx-gen2.c
1069
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx-gen2.c
1091
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx-gen2.c
1096
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx-gen2.c
1100
error:
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx-gen2.c
1164
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx-gen2.c
1174
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx-gen2.c
1181
error:
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx-gen2.c
946
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx-gen2.c
951
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx-gen2.c
958
error:
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
747
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
754
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
763
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
788
error:
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
820
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
827
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
834
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
843
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
862
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
869
error:
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
948
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
978
goto error;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
997
error:
drivers/net/wireless/marvell/libertas/cmd.c
271
cmd.error = cpu_to_le16(sp->sp_error);
drivers/net/wireless/marvell/libertas/cmd.c
286
le16_to_cpu(cmd.error), le16_to_cpu(cmd.offset),
drivers/net/wireless/marvell/libertas/cmd.c
290
sp->sp_error = le16_to_cpu(cmd.error);
drivers/net/wireless/marvell/libertas/host.h
601
__le16 error;
drivers/net/wireless/marvell/libertas/if_usb.c
208
goto error;
drivers/net/wireless/marvell/libertas/if_usb.c
298
error:
drivers/net/wireless/marvell/libertas_tf/if_usb.c
159
goto error;
drivers/net/wireless/marvell/libertas_tf/if_usb.c
234
error:
drivers/net/wireless/marvell/mwifiex/main.c
78
goto error;
drivers/net/wireless/marvell/mwifiex/main.c
87
goto error;
drivers/net/wireless/marvell/mwifiex/main.c
98
error:
drivers/net/wireless/marvell/mwifiex/sdio.c
1864
goto error;
drivers/net/wireless/marvell/mwifiex/sdio.c
1927
goto error;
drivers/net/wireless/marvell/mwifiex/sdio.c
1936
goto error;
drivers/net/wireless/marvell/mwifiex/sdio.c
1956
error:
drivers/net/wireless/marvell/mwifiex/sdio.c
2431
goto error;
drivers/net/wireless/marvell/mwifiex/sdio.c
2441
goto error;
drivers/net/wireless/marvell/mwifiex/sdio.c
2446
error:
drivers/net/wireless/mediatek/mt76/dma.c
611
goto error;
drivers/net/wireless/mediatek/mt76/dma.c
614
goto error;
drivers/net/wireless/mediatek/mt76/dma.c
619
goto error;
drivers/net/wireless/mediatek/mt76/dma.c
631
error:
drivers/net/wireless/mediatek/mt76/mt7603/pci.c
52
goto error;
drivers/net/wireless/mediatek/mt76/mt7603/pci.c
56
goto error;
drivers/net/wireless/mediatek/mt76/mt7603/pci.c
59
error:
drivers/net/wireless/mediatek/mt76/mt7603/soc.c
43
goto error;
drivers/net/wireless/mediatek/mt76/mt7603/soc.c
47
goto error;
drivers/net/wireless/mediatek/mt76/mt7603/soc.c
50
error:
drivers/net/wireless/mediatek/mt76/mt7615/pci.c
44
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/pci.c
52
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/pci.c
55
error:
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
125
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
129
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
141
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
146
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
150
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
155
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
161
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
165
error:
drivers/net/wireless/mediatek/mt76/mt7615/usb.c
164
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/usb.c
174
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/usb.c
181
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/usb.c
185
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/usb.c
189
goto error;
drivers/net/wireless/mediatek/mt76/mt7615/usb.c
193
error:
drivers/net/wireless/mediatek/mt76/mt76x0/pci.c
210
goto error;
drivers/net/wireless/mediatek/mt76/mt76x0/pci.c
214
goto error;
drivers/net/wireless/mediatek/mt76/mt76x0/pci.c
218
error:
drivers/net/wireless/mediatek/mt76/mt76x2/pci.c
73
goto error;
drivers/net/wireless/mediatek/mt76/mt76x2/pci.c
77
goto error;
drivers/net/wireless/mediatek/mt76/mt76x2/pci.c
94
error:
drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c
103
goto error;
drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c
151
error:
drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c
94
goto error;
drivers/net/wireless/mediatek/mt76/mt7915/mmio.c
952
goto error;
drivers/net/wireless/mediatek/mt76/mt7915/mmio.c
958
error:
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
147
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
151
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
165
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
170
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
174
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
178
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
183
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
189
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
193
error:
drivers/net/wireless/mediatek/mt76/mt7921/usb.c
207
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/usb.c
216
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/usb.c
221
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/usb.c
225
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/usb.c
229
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/usb.c
233
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/usb.c
241
goto error;
drivers/net/wireless/mediatek/mt76/mt7921/usb.c
245
error:
drivers/net/wireless/mediatek/mt76/mt7925/usb.c
195
goto error;
drivers/net/wireless/mediatek/mt76/mt7925/usb.c
204
goto error;
drivers/net/wireless/mediatek/mt76/mt7925/usb.c
209
goto error;
drivers/net/wireless/mediatek/mt76/mt7925/usb.c
213
goto error;
drivers/net/wireless/mediatek/mt76/mt7925/usb.c
217
goto error;
drivers/net/wireless/mediatek/mt76/mt7925/usb.c
221
goto error;
drivers/net/wireless/mediatek/mt76/mt7925/usb.c
229
goto error;
drivers/net/wireless/mediatek/mt76/mt7925/usb.c
233
error:
drivers/net/wireless/mediatek/mt76/mt7996/init.c
1713
goto error;
drivers/net/wireless/mediatek/mt76/mt7996/init.c
1717
goto error;
drivers/net/wireless/mediatek/mt76/mt7996/init.c
1721
error:
drivers/net/wireless/mediatek/mt76/mt7996/init.c
690
goto error;
drivers/net/wireless/mediatek/mt76/mt7996/init.c
707
goto error;
drivers/net/wireless/mediatek/mt76/mt7996/init.c
723
goto error;
drivers/net/wireless/mediatek/mt76/mt7996/init.c
729
goto error;
drivers/net/wireless/mediatek/mt76/mt7996/init.c
739
error:
drivers/net/wireless/mediatek/mt76/mt7996/mmio.c
854
goto error;
drivers/net/wireless/mediatek/mt76/mt7996/mmio.c
862
error:
drivers/net/wireless/mediatek/mt76/sdio.c
558
goto error;
drivers/net/wireless/mediatek/mt76/sdio.c
565
goto error;
drivers/net/wireless/mediatek/mt76/sdio.c
581
error:
drivers/net/wireless/mediatek/mt7601u/mcu.c
368
goto error;
drivers/net/wireless/mediatek/mt7601u/mcu.c
376
goto error;
drivers/net/wireless/mediatek/mt7601u/mcu.c
383
goto error;
drivers/net/wireless/mediatek/mt7601u/mcu.c
388
goto error;
drivers/net/wireless/mediatek/mt7601u/mcu.c
395
goto error;
drivers/net/wireless/mediatek/mt7601u/mcu.c
399
error:
drivers/net/wireless/microchip/wilc1000/hif.c
1007
error:
drivers/net/wireless/microchip/wilc1000/hif.c
175
goto error;
drivers/net/wireless/microchip/wilc1000/hif.c
181
goto error;
drivers/net/wireless/microchip/wilc1000/hif.c
259
goto error;
drivers/net/wireless/microchip/wilc1000/hif.c
266
error:
drivers/net/wireless/microchip/wilc1000/hif.c
316
goto error;
drivers/net/wireless/microchip/wilc1000/hif.c
326
error:
drivers/net/wireless/microchip/wilc1000/hif.c
991
goto error;
drivers/net/wireless/purelifi/plfxlc/firmware.c
139
error:
drivers/net/wireless/purelifi/plfxlc/firmware.c
57
goto error;
drivers/net/wireless/purelifi/plfxlc/firmware.c
63
goto error;
drivers/net/wireless/purelifi/plfxlc/mac.c
170
void plfxlc_mac_tx_to_dev(struct sk_buff *skb, int error)
drivers/net/wireless/purelifi/plfxlc/mac.c
180
if (unlikely(error ||
drivers/net/wireless/purelifi/plfxlc/mac.h
179
void plfxlc_mac_tx_to_dev(struct sk_buff *skb, int error);
drivers/net/wireless/purelifi/plfxlc/usb.c
209
goto error;
drivers/net/wireless/purelifi/plfxlc/usb.c
214
goto error;
drivers/net/wireless/purelifi/plfxlc/usb.c
224
goto error;
drivers/net/wireless/purelifi/plfxlc/usb.c
245
error:
drivers/net/wireless/purelifi/plfxlc/usb.c
532
goto error;
drivers/net/wireless/purelifi/plfxlc/usb.c
540
error:
drivers/net/wireless/purelifi/plfxlc/usb.c
596
goto error;
drivers/net/wireless/purelifi/plfxlc/usb.c
699
error:
drivers/net/wireless/quantenna/qtnfmac/core.c
565
goto error;
drivers/net/wireless/quantenna/qtnfmac/core.c
572
goto error;
drivers/net/wireless/quantenna/qtnfmac/core.c
613
goto error;
drivers/net/wireless/quantenna/qtnfmac/core.c
623
error:
drivers/net/wireless/quantenna/qtnfmac/core.c
714
goto error;
drivers/net/wireless/quantenna/qtnfmac/core.c
722
goto error;
drivers/net/wireless/quantenna/qtnfmac/core.c
730
goto error;
drivers/net/wireless/quantenna/qtnfmac/core.c
739
goto error;
drivers/net/wireless/quantenna/qtnfmac/core.c
746
goto error;
drivers/net/wireless/quantenna/qtnfmac/core.c
757
goto error;
drivers/net/wireless/quantenna/qtnfmac/core.c
765
goto error;
drivers/net/wireless/quantenna/qtnfmac/core.c
773
goto error;
drivers/net/wireless/quantenna/qtnfmac/core.c
779
error:
drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c
372
goto error;
drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c
378
goto error;
drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c
396
error:
drivers/net/wireless/realtek/rtl8xxxu/core.c
1026
goto error;
drivers/net/wireless/realtek/rtl8xxxu/core.c
1045
error:
drivers/net/wireless/realtek/rtl8xxxu/core.c
4878
goto error;
drivers/net/wireless/realtek/rtl8xxxu/core.c
4975
error:
drivers/net/wireless/realtek/rtl8xxxu/core.c
5436
goto error;
drivers/net/wireless/realtek/rtl8xxxu/core.c
5442
goto error;
drivers/net/wireless/realtek/rtl8xxxu/core.c
5448
goto error;
drivers/net/wireless/realtek/rtl8xxxu/core.c
5558
goto error;
drivers/net/wireless/realtek/rtl8xxxu/core.c
5561
error:
drivers/net/wireless/realtek/rtl8xxxu/core.c
6594
goto error;
drivers/net/wireless/realtek/rtl8xxxu/core.c
6601
error:
drivers/net/wireless/realtek/rtl8xxxu/core.c
976
goto error;
drivers/net/wireless/realtek/rtl8xxxu/core.c
994
error:
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c
191
int error = 0;
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c
194
error = configvernoutep(hw);
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c
196
error = configvertoutep(hw);
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c
197
if (error)
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c
199
error = _out_ep_mapping(hw);
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c
200
if (error)
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c
203
return error;
drivers/net/wireless/realtek/rtw88/usb.c
685
int error;
drivers/net/wireless/realtek/rtw88/usb.c
704
error = usb_submit_urb(rxcb->rx_urb, gfp);
drivers/net/wireless/realtek/rtw88/usb.c
705
if (error) {
drivers/net/wireless/realtek/rtw88/usb.c
708
if (error != -ENODEV)
drivers/net/wireless/realtek/rtw88/usb.c
710
error);
drivers/net/wireless/realtek/rtw88/usb.c
712
if (error == -ENOMEM)
drivers/net/wireless/realtek/rtw88/wow.c
691
goto error;
drivers/net/wireless/realtek/rtw88/wow.c
699
goto error;
drivers/net/wireless/realtek/rtw88/wow.c
705
goto error;
drivers/net/wireless/realtek/rtw88/wow.c
710
error:
drivers/net/wireless/realtek/rtw89/coex.c
11130
prptctrl->rpt_enable, dm->error.val);
drivers/net/wireless/realtek/rtw89/coex.c
11132
if (dm->error.map.wl_fw_hang)
drivers/net/wireless/realtek/rtw89/coex.c
11167
dm->error.map.wl_rfk_timeout = bt->rfk_info.map.timeout;
drivers/net/wireless/realtek/rtw89/coex.c
1120
dm->error.map.wl_ver_mismatch = true;
drivers/net/wireless/realtek/rtw89/coex.c
1123
dm->error.map.wl_ver_mismatch = false;
drivers/net/wireless/realtek/rtw89/coex.c
11242
dm->error.val);
drivers/net/wireless/realtek/rtw89/coex.c
11244
if (dm->error.map.wl_fw_hang)
drivers/net/wireless/realtek/rtw89/coex.c
11282
dm->error.map.wl_rfk_timeout = bt->rfk_info.map.timeout;
drivers/net/wireless/realtek/rtw89/coex.c
1133
dm->error.map.wl_fw_hang = true;
drivers/net/wireless/realtek/rtw89/coex.c
1135
dm->error.map.wl_fw_hang = false;
drivers/net/wireless/realtek/rtw89/coex.c
11358
if (dm->error.map.wl_fw_hang)
drivers/net/wireless/realtek/rtw89/coex.c
11479
if (dm->error.map.wl_fw_hang)
drivers/net/wireless/realtek/rtw89/coex.c
1148
dm->error.map.cycle_hang = true;
drivers/net/wireless/realtek/rtw89/coex.c
1150
dm->error.map.cycle_hang = false;
drivers/net/wireless/realtek/rtw89/coex.c
11604
if (dm->error.map.wl_fw_hang)
drivers/net/wireless/realtek/rtw89/coex.c
1162
dm->error.map.w1_hang = true;
drivers/net/wireless/realtek/rtw89/coex.c
1164
dm->error.map.w1_hang = false;
drivers/net/wireless/realtek/rtw89/coex.c
11717
if (dm->error.map.wl_fw_hang)
drivers/net/wireless/realtek/rtw89/coex.c
1176
dm->error.map.b1_hang = true;
drivers/net/wireless/realtek/rtw89/coex.c
1178
dm->error.map.b1_hang = false;
drivers/net/wireless/realtek/rtw89/coex.c
1190
dm->error.map.wl_e2g_hang = true;
drivers/net/wireless/realtek/rtw89/coex.c
1192
dm->error.map.wl_e2g_hang = false;
drivers/net/wireless/realtek/rtw89/coex.c
1203
dm->error.map.tdma_no_sync = true;
drivers/net/wireless/realtek/rtw89/coex.c
1205
dm->error.map.tdma_no_sync = false;
drivers/net/wireless/realtek/rtw89/coex.c
1214
dm->error.map.slot_no_sync = true;
drivers/net/wireless/realtek/rtw89/coex.c
1216
dm->error.map.slot_no_sync = false;
drivers/net/wireless/realtek/rtw89/coex.c
1227
dm->error.map.bt_tx_hang = true;
drivers/net/wireless/realtek/rtw89/coex.c
1229
dm->error.map.bt_tx_hang = false;
drivers/net/wireless/realtek/rtw89/coex.c
1254
dm->error.map.wl_slot_drift = true;
drivers/net/wireless/realtek/rtw89/coex.c
1256
dm->error.map.wl_slot_drift = false;
drivers/net/wireless/realtek/rtw89/coex.c
1265
dm->error.map.bt_slot_drift = true;
drivers/net/wireless/realtek/rtw89/coex.c
1267
dm->error.map.bt_slot_drift = false;
drivers/net/wireless/realtek/rtw89/coex.c
1759
dm->error.map.bt_rfk_timeout = bt->rfk_info.map.timeout;
drivers/net/wireless/realtek/rtw89/coex.c
1786
dm->error.map.bt_rfk_timeout = bt->rfk_info.map.timeout;
drivers/net/wireless/realtek/rtw89/coex.c
1813
dm->error.map.bt_rfk_timeout = bt->rfk_info.map.timeout;
drivers/net/wireless/realtek/rtw89/coex.c
1876
dm->error.map.h2c_c2h_buffer_mismatch = true;
drivers/net/wireless/realtek/rtw89/coex.c
1878
dm->error.map.h2c_c2h_buffer_mismatch = false;
drivers/net/wireless/realtek/rtw89/coex.c
7377
dm->error.map.wl_rfk_timeout = true;
drivers/net/wireless/realtek/rtw89/coex.c
7778
dm->error.map.init = true;
drivers/net/wireless/realtek/rtw89/coex.c
7789
dm->error.map.pta_owner = true;
drivers/net/wireless/realtek/rtw89/coex.c
889
dm->error.map.h2c_buffer_over = true;
drivers/net/wireless/realtek/rtw89/core.h
3053
union rtw89_btc_dm_error_map error;
drivers/net/wireless/realtek/rtw89/mac.c
2234
goto error;
drivers/net/wireless/realtek/rtw89/mac.c
2243
goto error;
drivers/net/wireless/realtek/rtw89/mac.c
2251
goto error;
drivers/net/wireless/realtek/rtw89/mac.c
2260
goto error;
drivers/net/wireless/realtek/rtw89/mac.c
2279
error:
drivers/net/wireless/realtek/rtw89/mac.c
6133
goto error;
drivers/net/wireless/realtek/rtw89/mac.c
6141
goto error;
drivers/net/wireless/realtek/rtw89/mac.c
6147
error:
drivers/net/wireless/realtek/rtw89/rtw8852bt.c
611
rtwdev->btc.dm.error.map.rfe_type0 = true;
drivers/net/wireless/realtek/rtw89/rtw8922a.c
2518
rtwdev->btc.dm.error.map.rfe_type0 = true;
drivers/net/wireless/realtek/rtw89/wow.c
454
iter_data->error = true;
drivers/net/wireless/realtek/rtw89/wow.c
692
struct rtw89_set_key_info_iter_data data = {.error = false,
drivers/net/wireless/realtek/rtw89/wow.c
703
if (data.error) {
drivers/net/wireless/realtek/rtw89/wow.h
81
bool error;
drivers/net/wireless/silabs/wfx/fwio.c
243
goto error;
drivers/net/wireless/silabs/wfx/fwio.c
252
goto error;
drivers/net/wireless/silabs/wfx/fwio.c
258
goto error;
drivers/net/wireless/silabs/wfx/fwio.c
270
goto error;
drivers/net/wireless/silabs/wfx/fwio.c
275
goto error;
drivers/net/wireless/silabs/wfx/fwio.c
285
goto error;
drivers/net/wireless/silabs/wfx/fwio.c
288
error:
drivers/net/wireless/ti/wl18xx/acx.h
269
struct wl18xx_acx_error_stats error;
drivers/net/wireless/ti/wl18xx/debugfs.c
27
WL18XX_DEBUGFS_FWSTATS_FILE(error, error_frame_non_ctrl, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
28
WL18XX_DEBUGFS_FWSTATS_FILE(error, error_frame_ctrl, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
29
WL18XX_DEBUGFS_FWSTATS_FILE(error, error_frame_during_protection, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
30
WL18XX_DEBUGFS_FWSTATS_FILE(error, null_frame_tx_start, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
31
WL18XX_DEBUGFS_FWSTATS_FILE(error, null_frame_cts_start, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
32
WL18XX_DEBUGFS_FWSTATS_FILE(error, bar_retry, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
33
WL18XX_DEBUGFS_FWSTATS_FILE(error, num_frame_cts_nul_flid, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
34
WL18XX_DEBUGFS_FWSTATS_FILE(error, tx_abort_failure, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
35
WL18XX_DEBUGFS_FWSTATS_FILE(error, tx_resume_failure, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
36
WL18XX_DEBUGFS_FWSTATS_FILE(error, rx_cmplt_db_overflow_cnt, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
37
WL18XX_DEBUGFS_FWSTATS_FILE(error, elp_while_rx_exch, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
38
WL18XX_DEBUGFS_FWSTATS_FILE(error, elp_while_tx_exch, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
39
WL18XX_DEBUGFS_FWSTATS_FILE(error, elp_while_tx, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
40
WL18XX_DEBUGFS_FWSTATS_FILE(error, elp_while_nvic_pending, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
409
DEBUGFS_FWSTATS_ADD(error, error_frame_non_ctrl);
drivers/net/wireless/ti/wl18xx/debugfs.c
41
WL18XX_DEBUGFS_FWSTATS_FILE(error, rx_excessive_frame_len, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
410
DEBUGFS_FWSTATS_ADD(error, error_frame_ctrl);
drivers/net/wireless/ti/wl18xx/debugfs.c
411
DEBUGFS_FWSTATS_ADD(error, error_frame_during_protection);
drivers/net/wireless/ti/wl18xx/debugfs.c
412
DEBUGFS_FWSTATS_ADD(error, null_frame_tx_start);
drivers/net/wireless/ti/wl18xx/debugfs.c
413
DEBUGFS_FWSTATS_ADD(error, null_frame_cts_start);
drivers/net/wireless/ti/wl18xx/debugfs.c
414
DEBUGFS_FWSTATS_ADD(error, bar_retry);
drivers/net/wireless/ti/wl18xx/debugfs.c
415
DEBUGFS_FWSTATS_ADD(error, num_frame_cts_nul_flid);
drivers/net/wireless/ti/wl18xx/debugfs.c
416
DEBUGFS_FWSTATS_ADD(error, tx_abort_failure);
drivers/net/wireless/ti/wl18xx/debugfs.c
417
DEBUGFS_FWSTATS_ADD(error, tx_resume_failure);
drivers/net/wireless/ti/wl18xx/debugfs.c
418
DEBUGFS_FWSTATS_ADD(error, rx_cmplt_db_overflow_cnt);
drivers/net/wireless/ti/wl18xx/debugfs.c
419
DEBUGFS_FWSTATS_ADD(error, elp_while_rx_exch);
drivers/net/wireless/ti/wl18xx/debugfs.c
42
WL18XX_DEBUGFS_FWSTATS_FILE(error, burst_mismatch, "%u");
drivers/net/wireless/ti/wl18xx/debugfs.c
420
DEBUGFS_FWSTATS_ADD(error, elp_while_tx_exch);
drivers/net/wireless/ti/wl18xx/debugfs.c
421
DEBUGFS_FWSTATS_ADD(error, elp_while_tx);
drivers/net/wireless/ti/wl18xx/debugfs.c
422
DEBUGFS_FWSTATS_ADD(error, elp_while_nvic_pending);
drivers/net/wireless/ti/wl18xx/debugfs.c
423
DEBUGFS_FWSTATS_ADD(error, rx_excessive_frame_len);
drivers/net/wireless/ti/wl18xx/debugfs.c
424
DEBUGFS_FWSTATS_ADD(error, burst_mismatch);
drivers/net/wireless/ti/wl18xx/debugfs.c
425
DEBUGFS_FWSTATS_ADD(error, tbc_exch_mismatch);
drivers/net/wireless/ti/wl18xx/debugfs.c
43
WL18XX_DEBUGFS_FWSTATS_FILE(error, tbc_exch_mismatch, "%u");
drivers/net/wireless/ti/wlcore/main.c
1006
error = pm_runtime_resume_and_get(wl->dev);
drivers/net/wireless/ti/wlcore/main.c
1007
if (error < 0)
drivers/net/wireless/ti/wlcore/main.c
6681
int error;
drivers/net/wireless/ti/wlcore/main.c
6698
error = wlcore_raw_write32(wl, HW_ACCESS_ELP_CTRL_REG, ELPCTRL_SLEEP);
drivers/net/wireless/ti/wlcore/main.c
6699
if (error < 0) {
drivers/net/wireless/ti/wlcore/main.c
6702
return error;
drivers/net/wireless/ti/wlcore/main.c
6803
int error;
drivers/net/wireless/ti/wlcore/main.c
6805
error = pm_runtime_get_sync(wl->dev);
drivers/net/wireless/ti/wlcore/main.c
6806
if (error < 0)
drivers/net/wireless/ti/wlcore/main.c
6807
dev_warn(wl->dev, "PM runtime failed: %i\n", error);
drivers/net/wireless/ti/wlcore/main.c
897
int error;
drivers/net/wireless/ti/wlcore/main.c
909
error = pm_runtime_resume_and_get(wl->dev);
drivers/net/wireless/ti/wlcore/main.c
910
if (error < 0)
drivers/net/wireless/ti/wlcore/main.c
999
int error;
drivers/net/wireless/virtual/mac80211_hwsim.c
5888
goto error;
drivers/net/wireless/virtual/mac80211_hwsim.c
5892
goto error;
drivers/net/wireless/virtual/mac80211_hwsim.c
5897
goto error;
drivers/net/wireless/virtual/mac80211_hwsim.c
5905
error:
drivers/net/wireless/zydas/zd1211rw/zd_chip.c
325
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_chip.c
353
error:
drivers/net/wireless/zydas/zd1211rw/zd_mac.c
566
void zd_mac_tx_to_dev(struct sk_buff *skb, int error)
drivers/net/wireless/zydas/zd1211rw/zd_mac.c
575
if (unlikely(error ||
drivers/net/wireless/zydas/zd1211rw/zd_mac.h
303
void zd_mac_tx_to_dev(struct sk_buff *skb, int error);
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1048
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1052
error:
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1369
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1376
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1382
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1392
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1399
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1405
error:
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
145
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
164
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1742
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1749
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1758
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1767
error:
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1802
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1806
error:
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1839
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1850
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1855
error:
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
187
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1896
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1925
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1933
error:
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
196
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
203
error:
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
237
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
241
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
252
error:
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
273
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
287
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
299
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
309
error:
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
560
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
564
error:
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
757
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
761
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
769
goto error;
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
790
error:
drivers/net/wwan/iosm/iosm_ipc_flash.c
47
if (!err_info->error[i].error_code) {
drivers/net/wwan/iosm/iosm_ipc_flash.c
49
err_info->error[i].error_class,
drivers/net/wwan/iosm/iosm_ipc_flash.c
50
err_info->error[i].error_code);
drivers/net/wwan/iosm/iosm_ipc_flash.h
169
struct iosm_ebl_one_error error[IOSM_MAX_ERRORS];
drivers/net/wwan/iosm/iosm_ipc_imem_ops.c
364
goto error;
drivers/net/wwan/iosm/iosm_ipc_imem_ops.c
374
goto error;
drivers/net/wwan/iosm/iosm_ipc_imem_ops.c
384
goto error;
drivers/net/wwan/iosm/iosm_ipc_imem_ops.c
395
error:
drivers/net/wwan/iosm/iosm_ipc_irq.c
70
goto error;
drivers/net/wwan/iosm/iosm_ipc_irq.c
74
goto error;
drivers/net/wwan/iosm/iosm_ipc_irq.c
84
goto error;
drivers/net/wwan/iosm/iosm_ipc_irq.c
88
error:
drivers/net/wwan/mhi_wwan_mbim.c
263
goto error;
drivers/net/wwan/mhi_wwan_mbim.c
277
goto error;
drivers/net/wwan/mhi_wwan_mbim.c
284
goto error;
drivers/net/wwan/mhi_wwan_mbim.c
362
error:
drivers/net/xen-netfront.c
2102
goto error;
drivers/net/xen-netfront.c
2115
goto error;
drivers/net/xen-netfront.c
2122
goto error;
drivers/net/xen-netfront.c
2134
goto error;
drivers/net/xen-netfront.c
2142
goto error;
drivers/net/xen-netfront.c
2149
goto error;
drivers/net/xen-netfront.c
2157
error:
drivers/nfc/fdp/fdp.c
466
goto error;
drivers/nfc/fdp/fdp.c
471
goto error;
drivers/nfc/fdp/fdp.c
476
goto error;
drivers/nfc/fdp/fdp.c
482
goto error;
drivers/nfc/fdp/fdp.c
490
goto error;
drivers/nfc/fdp/fdp.c
501
goto error;
drivers/nfc/fdp/fdp.c
505
goto error;
drivers/nfc/fdp/fdp.c
511
goto error;
drivers/nfc/fdp/fdp.c
521
error:
drivers/nfc/nfcmrvl/fw_dnld.c
110
nfc_info(priv->dev, "FW loading over (%d)]\n", error);
drivers/nfc/nfcmrvl/fw_dnld.c
112
if (error != 0) {
drivers/nfc/nfcmrvl/fw_dnld.c
117
nfc_fw_download_done(priv->ndev->nfc_dev, priv->fw_dnld.name, error);
drivers/nfc/nfcmrvl/fw_dnld.c
93
static void fw_dnld_over(struct nfcmrvl_private *priv, u32 error)
drivers/nfc/pn533/pn533.c
1092
goto error;
drivers/nfc/pn533/pn533.c
1105
goto error;
drivers/nfc/pn533/pn533.c
1110
error:
drivers/nfc/pn533/pn533.c
1152
goto error;
drivers/nfc/pn533/pn533.c
1172
error:
drivers/nfc/pn533/pn533.c
1318
goto error;
drivers/nfc/pn533/pn533.c
1335
error:
drivers/nfc/pn533/pn533.c
1915
goto error;
drivers/nfc/pn533/pn533.c
1924
goto error;
drivers/nfc/pn533/pn533.c
1939
goto error;
drivers/nfc/pn533/pn533.c
1955
error:
drivers/nfc/pn533/pn533.c
2124
goto error;
drivers/nfc/pn533/pn533.c
2146
goto error;
drivers/nfc/pn533/pn533.c
2153
error:
drivers/nfc/pn533/pn533.c
2266
goto error;
drivers/nfc/pn533/pn533.c
2272
goto error;
drivers/nfc/pn533/pn533.c
2294
goto error;
drivers/nfc/pn533/pn533.c
2299
goto error;
drivers/nfc/pn533/pn533.c
2313
goto error;
drivers/nfc/pn533/pn533.c
2317
error:
drivers/nfc/pn533/pn533.c
2362
goto error;
drivers/nfc/pn533/pn533.c
2368
goto error;
drivers/nfc/pn533/pn533.c
2379
error:
drivers/nfc/pn533/pn533.c
2396
goto error;
drivers/nfc/pn533/pn533.c
2431
error:
drivers/nfc/pn533/pn533.c
2448
goto error;
drivers/nfc/pn533/pn533.c
2485
error:
drivers/nfc/pn533/pn533.c
2775
goto error;
drivers/nfc/pn533/pn533.c
2785
error:
drivers/nfc/pn533/pn533.c
465
goto error;
drivers/nfc/pn533/pn533.c
480
error:
drivers/nfc/pn533/usb.c
194
goto error;
drivers/nfc/pn533/usb.c
199
goto error;
drivers/nfc/pn533/usb.c
204
error:
drivers/nfc/pn533/usb.c
521
goto error;
drivers/nfc/pn533/usb.c
529
goto error;
drivers/nfc/pn533/usb.c
560
goto error;
drivers/nfc/pn533/usb.c
568
goto error;
drivers/nfc/pn533/usb.c
577
goto error;
drivers/nfc/pn533/usb.c
595
error:
drivers/nfc/port100.c
1172
goto error;
drivers/nfc/port100.c
1181
goto error;
drivers/nfc/port100.c
1188
goto error;
drivers/nfc/port100.c
1196
error:
drivers/nfc/port100.c
1527
goto error;
drivers/nfc/port100.c
1536
goto error;
drivers/nfc/port100.c
1562
goto error;
drivers/nfc/port100.c
1575
goto error;
drivers/nfc/port100.c
1596
goto error;
drivers/nfc/port100.c
1614
error:
drivers/nfc/st21nfca/dep.c
245
goto error;
drivers/nfc/st21nfca/dep.c
263
error:
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
955
u32 error;
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
987
error = ioread32(&mmio_ctrl->req_id_error);
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
990
error);
drivers/nvdimm/btt.c
153
int *trim, int *error, unsigned long rwb_flags)
drivers/nvdimm/btt.c
202
if (error)
drivers/nvdimm/btt.c
203
*error = e_flag;
drivers/nvme/host/auth.c
1057
ret = chap->error;
drivers/nvme/host/auth.c
30
int error;
drivers/nvme/host/auth.c
677
chap->error = 0;
drivers/nvme/host/auth.c
798
chap->error = -ENOMEM;
drivers/nvme/host/auth.c
809
chap->error = ret;
drivers/nvme/host/auth.c
815
chap->error = ret;
drivers/nvme/host/auth.c
830
chap->error = ret;
drivers/nvme/host/auth.c
837
chap->error = -EKEYREJECTED;
drivers/nvme/host/auth.c
844
chap->error = ret;
drivers/nvme/host/auth.c
854
chap->error = ret;
drivers/nvme/host/auth.c
865
chap->error = ret;
drivers/nvme/host/auth.c
874
chap->error = ret;
drivers/nvme/host/auth.c
881
chap->error = ret;
drivers/nvme/host/auth.c
896
chap->error = ret;
drivers/nvme/host/auth.c
904
chap->error = -EKEYREJECTED;
drivers/nvme/host/auth.c
916
chap->error = ret;
drivers/nvme/host/auth.c
925
chap->error = -EKEYREJECTED;
drivers/nvme/host/auth.c
936
chap->error = ret;
drivers/nvme/host/auth.c
939
chap->error = 0;
drivers/nvme/host/auth.c
946
chap->error = ret;
drivers/nvme/host/auth.c
963
if (ret && !chap->error)
drivers/nvme/host/auth.c
964
chap->error = ret;
drivers/nvme/host/auth.c
995
ret = chap->error;
drivers/nvme/host/core.c
1466
int error;
drivers/nvme/host/core.c
1476
error = nvme_submit_sync_cmd(dev->admin_q, &c, *id,
drivers/nvme/host/core.c
1478
if (error) {
drivers/nvme/host/core.c
1482
return error;
drivers/nvme/host/core.c
1595
int error;
drivers/nvme/host/core.c
1606
error = nvme_submit_sync_cmd(ctrl->admin_q, &c, *id, sizeof(**id));
drivers/nvme/host/core.c
1607
if (error) {
drivers/nvme/host/core.c
1608
dev_warn(ctrl->device, "Identify namespace failed (%d)\n", error);
drivers/nvme/host/core.c
1612
return error;
drivers/nvme/host/core.c
1630
goto error;
drivers/nvme/host/core.c
1650
error:
drivers/nvme/host/core.c
4467
int error;
drivers/nvme/host/core.c
4479
error = nvme_get_log(ctrl, NVME_NSID_ALL, NVME_LOG_CHANGED_NS, 0,
drivers/nvme/host/core.c
4481
if (error)
drivers/nvme/host/core.c
4483
"reading changed ns log failed: %d\n", error);
drivers/nvme/host/multipath.c
1352
int error = 0;
drivers/nvme/host/multipath.c
1392
error = nvme_read_ana_log(ctrl);
drivers/nvme/host/multipath.c
1393
if (error)
drivers/nvme/host/multipath.c
1399
return error;
drivers/nvme/host/multipath.c
822
int error, i;
drivers/nvme/host/multipath.c
850
error = cb(ctrl, desc, data);
drivers/nvme/host/multipath.c
851
if (error)
drivers/nvme/host/multipath.c
852
return error;
drivers/nvme/host/multipath.c
944
int error;
drivers/nvme/host/multipath.c
947
error = nvme_get_log(ctrl, NVME_NSID_ALL, NVME_LOG_ANA, 0, NVME_CSI_NVM,
drivers/nvme/host/multipath.c
949
if (error) {
drivers/nvme/host/multipath.c
950
dev_warn(ctrl->device, "Failed to get ANA log: %d\n", error);
drivers/nvme/host/multipath.c
954
error = nvme_parse_ana_log(ctrl, &nr_change_groups,
drivers/nvme/host/multipath.c
956
if (error)
drivers/nvme/host/multipath.c
976
return error;
drivers/nvme/host/pci.c
1781
static enum rq_end_io_ret abort_endio(struct request *req, blk_status_t error,
drivers/nvme/host/pci.c
3043
blk_status_t error,
drivers/nvme/host/pci.c
3054
blk_status_t error,
drivers/nvme/host/pci.c
3059
if (error)
drivers/nvme/host/pci.c
3062
return nvme_del_queue_end(req, error, iob);
drivers/nvme/host/rdma.c
784
int error;
drivers/nvme/host/rdma.c
786
error = nvme_rdma_alloc_queue(ctrl, 0, NVME_AQ_DEPTH);
drivers/nvme/host/rdma.c
787
if (error)
drivers/nvme/host/rdma.c
788
return error;
drivers/nvme/host/rdma.c
806
error = nvme_rdma_alloc_qe(ctrl->device->dev, &ctrl->async_event_sqe,
drivers/nvme/host/rdma.c
808
if (error)
drivers/nvme/host/rdma.c
812
error = nvme_alloc_admin_tag_set(&ctrl->ctrl,
drivers/nvme/host/rdma.c
816
if (error)
drivers/nvme/host/rdma.c
821
error = nvme_rdma_start_queue(ctrl, 0);
drivers/nvme/host/rdma.c
822
if (error)
drivers/nvme/host/rdma.c
825
error = nvme_enable_ctrl(&ctrl->ctrl);
drivers/nvme/host/rdma.c
826
if (error)
drivers/nvme/host/rdma.c
838
error = nvme_init_ctrl_finish(&ctrl->ctrl, false);
drivers/nvme/host/rdma.c
839
if (error)
drivers/nvme/host/rdma.c
861
return error;
drivers/nvme/host/tcp.c
2238
int error;
drivers/nvme/host/tcp.c
2240
error = nvme_tcp_alloc_admin_queue(ctrl);
drivers/nvme/host/tcp.c
2241
if (error)
drivers/nvme/host/tcp.c
2242
return error;
drivers/nvme/host/tcp.c
2245
error = nvme_alloc_admin_tag_set(ctrl,
drivers/nvme/host/tcp.c
2249
if (error)
drivers/nvme/host/tcp.c
2253
error = nvme_tcp_start_queue(ctrl, 0);
drivers/nvme/host/tcp.c
2254
if (error)
drivers/nvme/host/tcp.c
2260
error = nvme_enable_ctrl(ctrl);
drivers/nvme/host/tcp.c
2261
if (error)
drivers/nvme/host/tcp.c
2266
error = nvme_init_ctrl_finish(ctrl, false);
drivers/nvme/host/tcp.c
2267
if (error)
drivers/nvme/host/tcp.c
2283
return error;
drivers/nvme/target/configfs.c
553
int error;
drivers/nvme/target/configfs.c
561
error = pci_p2pdma_enable_store(page, &p2p_dev, &use_p2pmem);
drivers/nvme/target/configfs.c
562
if (error) {
drivers/nvme/target/configfs.c
563
ret = error;
drivers/nvme/target/core.c
1937
int error = -ENOMEM;
drivers/nvme/target/core.c
1966
error = nvmet_init_debugfs();
drivers/nvme/target/core.c
1967
if (error)
drivers/nvme/target/core.c
1970
error = nvmet_init_discovery();
drivers/nvme/target/core.c
1971
if (error)
drivers/nvme/target/core.c
1974
error = nvmet_init_configfs();
drivers/nvme/target/core.c
1975
if (error)
drivers/nvme/target/core.c
1994
return error;
drivers/nvme/target/loop.c
366
int error;
drivers/nvme/target/loop.c
370
error = nvmet_sq_init(&ctrl->queues[0].nvme_sq,
drivers/nvme/target/loop.c
372
if (error) {
drivers/nvme/target/loop.c
374
return error;
drivers/nvme/target/loop.c
378
error = nvme_alloc_admin_tag_set(&ctrl->ctrl, &ctrl->admin_tag_set,
drivers/nvme/target/loop.c
382
if (error)
drivers/nvme/target/loop.c
388
error = nvmf_connect_admin_queue(&ctrl->ctrl);
drivers/nvme/target/loop.c
389
if (error)
drivers/nvme/target/loop.c
394
error = nvme_enable_ctrl(&ctrl->ctrl);
drivers/nvme/target/loop.c
395
if (error)
drivers/nvme/target/loop.c
403
error = nvme_init_ctrl_finish(&ctrl->ctrl, false);
drivers/nvme/target/loop.c
404
if (error)
drivers/nvme/target/loop.c
415
return error;
drivers/opp/core.c
3113
int error = PTR_ERR(opp_table);
drivers/opp/core.c
3115
if (error != -ENODEV)
drivers/opp/core.c
3119
error);
drivers/parisc/lba_pci.c
283
#define LBA_CFG_MASTER_ABORT_CHECK(d, base, tok, error) { \
drivers/parisc/lba_pci.c
295
error = 1; \
drivers/parisc/lba_pci.c
340
int error = 0;
drivers/parisc/lba_pci.c
347
LBA_CFG_MASTER_ABORT_CHECK(d, d->hba.base_addr, tok, error);
drivers/parisc/lba_pci.c
348
if (!error) {
drivers/parisc/lba_pci.c
407
int error __maybe_unused = 0;
drivers/parisc/lba_pci.c
420
LBA_CFG_MASTER_ABORT_CHECK(d, d->hba.base_addr, tok, error);
drivers/parisc/pdc_stable.c
1056
int rc = 0, error;
drivers/parisc/pdc_stable.c
1084
error = sysfs_create_group(stable_kobj, &pdcs_attr_group);
drivers/parisc/pdc_stable.c
1085
if (error) {
drivers/pci/controller/pci-hyperv.c
2520
int error;
drivers/pci/controller/pci-hyperv.c
2527
error = pci_scan_root_bus_bridge(bridge);
drivers/pci/controller/pci-hyperv.c
2528
if (error)
drivers/pci/controller/pci-hyperv.c
2529
return error;
drivers/pci/controller/pci-hyperv.c
2624
goto error;
drivers/pci/controller/pci-hyperv.c
2627
goto error;
drivers/pci/controller/pci-hyperv.c
2638
error:
drivers/pci/controller/pci-xgene-msi.c
363
goto error;
drivers/pci/controller/pci-xgene-msi.c
370
goto error;
drivers/pci/controller/pci-xgene-msi.c
376
goto error;
drivers/pci/controller/pci-xgene-msi.c
381
goto error;
drivers/pci/controller/pci-xgene-msi.c
386
error:
drivers/pci/controller/pcie-rcar-host.c
120
int error = PCIBIOS_SUCCESSFUL;
drivers/pci/controller/pcie-rcar-host.c
124
: "+r"(error):"r"(val), "r"(pcie->base + reg) : "memory");
drivers/pci/controller/pcie-rcar-host.c
128
return error;
drivers/pci/controller/pcie-rcar-host.c
134
int error = PCIBIOS_SUCCESSFUL;
drivers/pci/controller/pcie-rcar-host.c
138
: "+r"(error), "=r"(*val) : "r"(pcie->base + reg) : "memory");
drivers/pci/controller/pcie-rcar-host.c
140
if (error != PCIBIOS_SUCCESSFUL)
drivers/pci/controller/pcie-rcar-host.c
145
return error;
drivers/pci/controller/pcie-xilinx.c
397
goto error;
drivers/pci/controller/pcie-xilinx.c
445
error:
drivers/pci/devres.c
156
int error;
drivers/pci/devres.c
162
error = pci_remap_iospace(res, phys_addr);
drivers/pci/devres.c
163
if (error) {
drivers/pci/devres.c
170
return error;
drivers/pci/hotplug/acpiphp_core.c
265
goto error;
drivers/pci/hotplug/acpiphp_core.c
289
error:
drivers/pci/hotplug/cpci_hotplug_core.c
195
goto error;
drivers/pci/hotplug/cpci_hotplug_core.c
223
error:
drivers/pci/hotplug/cpqphp_core.c
599
goto error;
drivers/pci/hotplug/cpqphp_core.c
677
error:
drivers/pci/hotplug/cpqphp_core.c
693
goto error;
drivers/pci/hotplug/cpqphp_core.c
702
goto error;
drivers/pci/hotplug/cpqphp_core.c
717
goto error;
drivers/pci/hotplug/cpqphp_core.c
750
error:
drivers/pci/hotplug/cpqphp_ctrl.c
494
goto error;
drivers/pci/hotplug/cpqphp_ctrl.c
500
goto error;
drivers/pci/hotplug/cpqphp_ctrl.c
508
goto error;
drivers/pci/hotplug/cpqphp_ctrl.c
511
error:
drivers/pci/hotplug/ibmphp_core.c
1090
goto error;
drivers/pci/hotplug/ibmphp_core.c
1099
goto error;
drivers/pci/hotplug/ibmphp_core.c
1124
goto error;
drivers/pci/hotplug/ibmphp_core.c
1129
goto error;
drivers/pci/hotplug/ibmphp_core.c
1141
error:
drivers/pci/hotplug/ibmphp_core.c
1200
goto error;
drivers/pci/hotplug/ibmphp_core.c
1211
goto error;
drivers/pci/hotplug/ibmphp_core.c
1216
goto error;
drivers/pci/hotplug/ibmphp_core.c
1223
goto error;
drivers/pci/hotplug/ibmphp_core.c
1227
goto error;
drivers/pci/hotplug/ibmphp_core.c
1233
goto error;
drivers/pci/hotplug/ibmphp_core.c
1238
error:
drivers/pci/hotplug/ibmphp_ebda.c
71
goto error;
drivers/pci/hotplug/ibmphp_ebda.c
870
goto error;
drivers/pci/hotplug/ibmphp_ebda.c
88
error:
drivers/pci/hotplug/ibmphp_ebda.c
881
goto error;
drivers/pci/hotplug/ibmphp_ebda.c
885
goto error;
drivers/pci/hotplug/ibmphp_ebda.c
908
error:
drivers/pci/hotplug/ibmphp_pci.c
1014
goto error;
drivers/pci/hotplug/ibmphp_pci.c
1017
error:
drivers/pci/hotplug/ibmphp_pci.c
140
goto error;
drivers/pci/hotplug/ibmphp_pci.c
153
goto error;
drivers/pci/hotplug/ibmphp_pci.c
185
goto error;
drivers/pci/hotplug/ibmphp_pci.c
213
goto error;
drivers/pci/hotplug/ibmphp_pci.c
254
goto error;
drivers/pci/hotplug/ibmphp_pci.c
286
goto error;
drivers/pci/hotplug/ibmphp_pci.c
308
error:
drivers/pci/hotplug/ibmphp_pci.c
655
goto error;
drivers/pci/hotplug/ibmphp_pci.c
686
goto error;
drivers/pci/hotplug/ibmphp_pci.c
701
goto error;
drivers/pci/hotplug/ibmphp_pci.c
741
goto error;
drivers/pci/hotplug/ibmphp_pci.c
811
goto error;
drivers/pci/hotplug/ibmphp_pci.c
832
goto error;
drivers/pci/hotplug/ibmphp_pci.c
853
goto error;
drivers/pci/hotplug/ibmphp_pci.c
867
goto error;
drivers/pci/hotplug/ibmphp_pci.c
897
goto error;
drivers/pci/hotplug/ibmphp_pci.c
907
goto error;
drivers/pci/hotplug/ibmphp_pci.c
916
goto error;
drivers/pci/hotplug/pnv_php.c
354
goto error;
drivers/pci/hotplug/pnv_php.c
357
goto error;
drivers/pci/hotplug/pnv_php.c
367
error:
drivers/pci/hotplug/rpadlpar_sysfs.c
106
int error;
drivers/pci/hotplug/rpadlpar_sysfs.c
113
error = sysfs_create_group(dlpar_kobj, &dlpar_attr_group);
drivers/pci/hotplug/rpadlpar_sysfs.c
114
if (error)
drivers/pci/hotplug/rpadlpar_sysfs.c
116
return error;
drivers/pci/hotplug/shpchp_core.c
122
error:
drivers/pci/hotplug/shpchp_core.c
72
goto error;
drivers/pci/of.c
176
int error;
drivers/pci/of.c
178
error = of_property_read_u32_array(np, "reg", reg, ARRAY_SIZE(reg));
drivers/pci/of.c
179
if (error)
drivers/pci/of.c
180
return error;
drivers/pci/of.c
197
int error;
drivers/pci/of.c
199
error = of_property_read_u32_array(node, "bus-range", bus_range,
drivers/pci/of.c
201
if (error)
drivers/pci/of.c
202
return error;
drivers/pci/of.c
232
int error;
drivers/pci/of.c
234
error = of_property_read_u32(node, "linux,pci-domain", &domain);
drivers/pci/of.c
235
if (error)
drivers/pci/of.c
236
return error;
drivers/pci/p2pdma.c
391
int error;
drivers/pci/p2pdma.c
405
error = pcim_p2pdma_init(pdev);
drivers/pci/p2pdma.c
406
if (error)
drivers/pci/p2pdma.c
407
return error;
drivers/pci/p2pdma.c
409
error = pci_p2pdma_setup_pool(pdev);
drivers/pci/p2pdma.c
410
if (error)
drivers/pci/p2pdma.c
411
return error;
drivers/pci/p2pdma.c
435
error = PTR_ERR(addr);
drivers/pci/p2pdma.c
439
error = devm_add_action_or_reset(&pdev->dev, pci_p2pdma_unmap_mappings,
drivers/pci/p2pdma.c
441
if (error)
drivers/pci/p2pdma.c
445
error = gen_pool_add_owner(p2pdma->pool, (unsigned long)addr,
drivers/pci/p2pdma.c
449
if (error)
drivers/pci/p2pdma.c
461
return error;
drivers/pci/pci-acpi.c
1081
int error;
drivers/pci/pci-acpi.c
1107
error = acpi_device_set_power(adev, state_conv[state]);
drivers/pci/pci-acpi.c
1108
if (error)
drivers/pci/pci-acpi.c
1109
return error;
drivers/pci/pci-driver.c
1087
int error;
drivers/pci/pci-driver.c
1089
error = pm->freeze(dev);
drivers/pci/pci-driver.c
1090
suspend_report_result(dev, pm->freeze, error);
drivers/pci/pci-driver.c
1091
if (error)
drivers/pci/pci-driver.c
1092
return error;
drivers/pci/pci-driver.c
1107
int error;
drivers/pci/pci-driver.c
1109
error = pm->freeze_noirq(dev);
drivers/pci/pci-driver.c
1110
suspend_report_result(dev, pm->freeze_noirq, error);
drivers/pci/pci-driver.c
1111
if (error)
drivers/pci/pci-driver.c
1112
return error;
drivers/pci/pci-driver.c
1153
int error = 0;
drivers/pci/pci-driver.c
1160
error = pm->thaw(dev);
drivers/pci/pci-driver.c
1165
return error;
drivers/pci/pci-driver.c
1190
int error;
drivers/pci/pci-driver.c
1192
error = pm->poweroff(dev);
drivers/pci/pci-driver.c
1193
suspend_report_result(dev, pm->poweroff, error);
drivers/pci/pci-driver.c
1194
if (error)
drivers/pci/pci-driver.c
1195
return error;
drivers/pci/pci-driver.c
1228
int error;
drivers/pci/pci-driver.c
1230
error = pm->poweroff_noirq(dev);
drivers/pci/pci-driver.c
1231
suspend_report_result(dev, pm->poweroff_noirq, error);
drivers/pci/pci-driver.c
1232
if (error)
drivers/pci/pci-driver.c
1233
return error;
drivers/pci/pci-driver.c
1316
int error;
drivers/pci/pci-driver.c
1332
error = pm->runtime_suspend(dev);
drivers/pci/pci-driver.c
1338
if (error == -EBUSY || error == -EAGAIN) {
drivers/pci/pci-driver.c
1340
pm->runtime_suspend, error);
drivers/pci/pci-driver.c
1341
return error;
drivers/pci/pci-driver.c
1342
} else if (error) {
drivers/pci/pci-driver.c
1344
pm->runtime_suspend, error);
drivers/pci/pci-driver.c
1345
return error;
drivers/pci/pci-driver.c
1373
int error = 0;
drivers/pci/pci-driver.c
1393
error = pm->runtime_resume(dev);
drivers/pci/pci-driver.c
1395
return error;
drivers/pci/pci-driver.c
367
int error, node, cpu;
drivers/pci/pci-driver.c
385
error = local_pci_probe(&ddi);
drivers/pci/pci-driver.c
409
error = arg.ret;
drivers/pci/pci-driver.c
412
error = local_pci_probe(&ddi);
drivers/pci/pci-driver.c
420
return error;
drivers/pci/pci-driver.c
439
int error = 0;
drivers/pci/pci-driver.c
442
error = -ENODEV;
drivers/pci/pci-driver.c
446
error = pci_call_probe(drv, pci_dev, id);
drivers/pci/pci-driver.c
448
return error;
drivers/pci/pci-driver.c
466
int error;
drivers/pci/pci-driver.c
475
error = pcibios_alloc_irq(pci_dev);
drivers/pci/pci-driver.c
476
if (error < 0)
drivers/pci/pci-driver.c
477
return error;
drivers/pci/pci-driver.c
480
error = __pci_device_probe(drv, pci_dev);
drivers/pci/pci-driver.c
481
if (error) {
drivers/pci/pci-driver.c
486
return error;
drivers/pci/pci-driver.c
566
int error = pci_set_power_state(pci_dev, PCI_D0);
drivers/pci/pci-driver.c
567
if (error)
drivers/pci/pci-driver.c
568
return error;
drivers/pci/pci-driver.c
665
int error;
drivers/pci/pci-driver.c
667
error = drv->suspend(pci_dev, state);
drivers/pci/pci-driver.c
668
suspend_report_result(dev, drv->suspend, error);
drivers/pci/pci-driver.c
669
if (error)
drivers/pci/pci-driver.c
670
return error;
drivers/pci/pci-driver.c
745
int error = pm->prepare(dev);
drivers/pci/pci-driver.c
746
if (error < 0)
drivers/pci/pci-driver.c
747
return error;
drivers/pci/pci-driver.c
749
if (!error && dev_pm_test_driver_flags(dev, DPM_FLAG_SMART_PREPARE))
drivers/pci/pci-driver.c
853
int error;
drivers/pci/pci-driver.c
855
error = pm->suspend(dev);
drivers/pci/pci-driver.c
856
suspend_report_result(dev, pm->suspend, error);
drivers/pci/pci-driver.c
857
if (error)
drivers/pci/pci-driver.c
858
return error;
drivers/pci/pci-driver.c
899
int error;
drivers/pci/pci-driver.c
901
error = pm->suspend_noirq(dev);
drivers/pci/pci-driver.c
902
suspend_report_result(dev, pm->suspend_noirq, error);
drivers/pci/pci-driver.c
903
if (error)
drivers/pci/pci-driver.c
904
return error;
drivers/pci/pci-sysfs.c
1035
int error;
drivers/pci/pci-sysfs.c
1055
error = device_create_bin_file(&b->dev, b->legacy_io);
drivers/pci/pci-sysfs.c
1056
if (error)
drivers/pci/pci-sysfs.c
1070
error = device_create_bin_file(&b->dev, b->legacy_mem);
drivers/pci/pci-sysfs.c
1071
if (error)
drivers/pci/pci.c
1176
int error;
drivers/pci/pci.c
1178
error = platform_pci_set_power_state(dev, state);
drivers/pci/pci.c
1179
if (!error)
drivers/pci/pci.c
1184
return error;
drivers/pci/pci.c
1525
int error;
drivers/pci/pci.c
1561
error = pci_set_low_power_state(dev, PCI_D3hot, locked);
drivers/pci/pci.c
1564
return error;
drivers/pci/pci.c
1570
error = pci_set_low_power_state(dev, state, locked);
drivers/pci/pci.c
1573
return error;
drivers/pci/pci.c
2539
int error;
drivers/pci/pci.c
2552
error = platform_pci_set_wakeup(dev, true);
drivers/pci/pci.c
2554
ret = error;
drivers/pci/pci.c
2679
int error;
drivers/pci/pci.c
2686
error = pci_set_power_state(dev, target_state);
drivers/pci/pci.c
2688
if (error)
drivers/pci/pci.c
2691
return error;
drivers/pci/pci.c
2724
int error;
drivers/pci/pci.c
2732
error = pci_set_power_state(dev, target_state);
drivers/pci/pci.c
2734
if (error)
drivers/pci/pci.c
2737
return error;
drivers/pci/pci.c
3455
int error;
drivers/pci/pci.c
3457
error = pci_add_cap_save_buffer(dev, PCI_CAP_ID_EXP,
drivers/pci/pci.c
3459
if (error)
drivers/pci/pci.c
3462
error = pci_add_cap_save_buffer(dev, PCI_CAP_ID_PCIX, sizeof(u16));
drivers/pci/pci.c
3463
if (error)
drivers/pci/pci.c
3466
error = pci_add_ext_cap_save_buffer(dev, PCI_EXT_CAP_ID_LTR,
drivers/pci/pci.c
3468
if (error)
drivers/pci/pcie/portdrv.c
751
pci_channel_state_t error)
drivers/pci/pcie/portdrv.c
753
if (error == pci_channel_io_frozen)
drivers/pci/probe.c
3235
int error;
drivers/pci/probe.c
3249
error = pci_register_host_bridge(bridge);
drivers/pci/probe.c
3250
if (error < 0)
drivers/pci/syscall.c
27
goto error;
drivers/pci/syscall.c
32
goto error;
drivers/pci/syscall.c
46
goto error;
drivers/pci/syscall.c
51
goto error;
drivers/pci/syscall.c
67
error:
drivers/pci/vpd.c
64
goto error;
drivers/pci/vpd.c
75
goto error;
drivers/pci/vpd.c
83
goto error;
drivers/pci/vpd.c
92
error:
drivers/pcmcia/cistpl.c
1578
int error;
drivers/pcmcia/cistpl.c
1580
error = security_locked_down(LOCKDOWN_PCMCIA_CIS);
drivers/pcmcia/cistpl.c
1581
if (error)
drivers/pcmcia/cistpl.c
1582
return error;
drivers/pcmcia/cistpl.c
1595
error = pcmcia_replace_cis(s, buf, count);
drivers/pcmcia/cistpl.c
1596
if (error)
drivers/pcmcia/ds.c
151
int error = 0;
drivers/pcmcia/ds.c
153
error = driver_create_file(&drv->drv, &driver_attr_new_id);
drivers/pcmcia/ds.c
154
return error;
drivers/pcmcia/ds.c
171
int error;
drivers/pcmcia/ds.c
187
error = driver_register(&driver->drv);
drivers/pcmcia/ds.c
188
if (error < 0)
drivers/pcmcia/ds.c
189
return error;
drivers/pcmcia/ds.c
191
error = pcmcia_create_newid_file(driver);
drivers/pcmcia/ds.c
192
if (error)
drivers/pcmcia/ds.c
195
return error;
drivers/perf/marvell_cn10k_ddr_pmu.c
1076
goto error;
drivers/perf/marvell_cn10k_ddr_pmu.c
1080
error:
drivers/perf/marvell_pem_pmu.c
361
goto error;
drivers/perf/marvell_pem_pmu.c
364
error:
drivers/perf/riscv_pmu_sbi.c
334
if (ret.error) {
drivers/perf/riscv_pmu_sbi.c
369
if (!ret.error) {
drivers/perf/riscv_pmu_sbi.c
372
} else if (ret.error == SBI_ERR_NOT_SUPPORTED) {
drivers/perf/riscv_pmu_sbi.c
574
if (ret.error) {
drivers/perf/riscv_pmu_sbi.c
577
return sbi_err_map_linux_errno(ret.error);
drivers/perf/riscv_pmu_sbi.c
698
if (ret.error) {
drivers/perf/riscv_pmu_sbi.c
700
return sbi_err_map_linux_errno(ret.error);
drivers/perf/riscv_pmu_sbi.c
727
if (ret.error) {
drivers/perf/riscv_pmu_sbi.c
728
if (ret.error != SBI_ERR_NOT_SUPPORTED)
drivers/perf/riscv_pmu_sbi.c
729
pr_warn("pmu snapshot setup failed with error %ld\n", ret.error);
drivers/perf/riscv_pmu_sbi.c
730
return sbi_err_map_linux_errno(ret.error);
drivers/perf/riscv_pmu_sbi.c
759
if (ret.error)
drivers/perf/riscv_pmu_sbi.c
766
if (!ret.error)
drivers/perf/riscv_pmu_sbi.c
770
ret.error);
drivers/perf/riscv_pmu_sbi.c
813
if (ret.error && (ret.error != SBI_ERR_ALREADY_STARTED))
drivers/perf/riscv_pmu_sbi.c
815
hwc->idx, sbi_err_map_linux_errno(ret.error));
drivers/perf/riscv_pmu_sbi.c
838
if (!ret.error && sbi_pmu_snapshot_available()) {
drivers/perf/riscv_pmu_sbi.c
851
} else if (ret.error && (ret.error != SBI_ERR_ALREADY_STOPPED) &&
drivers/perf/riscv_pmu_sbi.c
854
hwc->idx, sbi_err_map_linux_errno(ret.error));
drivers/perf/riscv_pmu_sbi.c
863
if (!ret.error)
drivers/perf/riscv_pmu_sbi.c
866
return sbi_err_map_linux_errno(ret.error);
drivers/perf/riscv_pmu_sbi.c
881
if (ret.error)
drivers/perf/riscv_pmu_sbi.c
929
if (!ret.error && sbi_pmu_snapshot_available()) {
drivers/phy/marvell/phy-mvebu-a3700-comphy.c
479
goto error;
drivers/phy/marvell/phy-mvebu-a3700-comphy.c
488
goto error;
drivers/phy/marvell/phy-mvebu-a3700-comphy.c
497
goto error;
drivers/phy/marvell/phy-mvebu-a3700-comphy.c
505
goto error;
drivers/phy/marvell/phy-mvebu-a3700-comphy.c
509
goto error;
drivers/phy/marvell/phy-mvebu-a3700-comphy.c
525
error:
drivers/phy/motorola/phy-cpcap-usb.c
133
int error, value = 0;
drivers/phy/motorola/phy-cpcap-usb.c
135
error = iio_read_channel_processed(ddata->vbus, &value);
drivers/phy/motorola/phy-cpcap-usb.c
136
if (error >= 0)
drivers/phy/motorola/phy-cpcap-usb.c
139
dev_err(ddata->dev, "error reading VBUS: %i\n", error);
drivers/phy/motorola/phy-cpcap-usb.c
170
int val, error;
drivers/phy/motorola/phy-cpcap-usb.c
172
error = regmap_read(ddata->reg, CPCAP_REG_INTS1, &val);
drivers/phy/motorola/phy-cpcap-usb.c
173
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
174
return error;
drivers/phy/motorola/phy-cpcap-usb.c
180
error = regmap_read(ddata->reg, CPCAP_REG_INTS2, &val);
drivers/phy/motorola/phy-cpcap-usb.c
181
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
182
return error;
drivers/phy/motorola/phy-cpcap-usb.c
189
error = regmap_read(ddata->reg, CPCAP_REG_INTS4, &val);
drivers/phy/motorola/phy-cpcap-usb.c
190
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
191
return error;
drivers/phy/motorola/phy-cpcap-usb.c
205
int error;
drivers/phy/motorola/phy-cpcap-usb.c
207
error = musb_mailbox(status);
drivers/phy/motorola/phy-cpcap-usb.c
208
if (!error)
drivers/phy/motorola/phy-cpcap-usb.c
212
__func__, error);
drivers/phy/motorola/phy-cpcap-usb.c
220
int error;
drivers/phy/motorola/phy-cpcap-usb.c
224
error = cpcap_phy_get_ints_state(ddata, &s);
drivers/phy/motorola/phy-cpcap-usb.c
225
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
236
error = regmap_update_bits(ddata->reg, CPCAP_REG_USBC3,
drivers/phy/motorola/phy-cpcap-usb.c
240
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
260
error = cpcap_usb_set_usb_mode(ddata);
drivers/phy/motorola/phy-cpcap-usb.c
261
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
282
error = cpcap_usb_set_usb_mode(ddata);
drivers/phy/motorola/phy-cpcap-usb.c
283
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
288
error = regmap_update_bits(ddata->reg, CPCAP_REG_USBC3,
drivers/phy/motorola/phy-cpcap-usb.c
292
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
298
error = regmap_update_bits(ddata->reg, CPCAP_REG_USBC3,
drivers/phy/motorola/phy-cpcap-usb.c
301
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
309
error = cpcap_usb_set_usb_mode(ddata);
drivers/phy/motorola/phy-cpcap-usb.c
310
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
322
error = cpcap_usb_set_uart_mode(ddata);
drivers/phy/motorola/phy-cpcap-usb.c
323
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
331
dev_err(ddata->dev, "error setting cable state: %i\n", error);
drivers/phy/motorola/phy-cpcap-usb.c
350
int irq, error;
drivers/phy/motorola/phy-cpcap-usb.c
356
error = devm_request_threaded_irq(ddata->dev, irq, NULL,
drivers/phy/motorola/phy-cpcap-usb.c
361
if (error) {
drivers/phy/motorola/phy-cpcap-usb.c
363
name, error);
drivers/phy/motorola/phy-cpcap-usb.c
365
return error;
drivers/phy/motorola/phy-cpcap-usb.c
385
int i, error;
drivers/phy/motorola/phy-cpcap-usb.c
388
error = cpcap_usb_init_irq(pdev, ddata, cpcap_phy_irqs[i]);
drivers/phy/motorola/phy-cpcap-usb.c
389
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
390
return error;
drivers/phy/motorola/phy-cpcap-usb.c
416
int error;
drivers/phy/motorola/phy-cpcap-usb.c
419
error = cpcap_usb_gpio_set_mode(ddata, CPCAP_UNKNOWN_DISABLED);
drivers/phy/motorola/phy-cpcap-usb.c
420
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
424
error = pinctrl_select_state(ddata->pins, ddata->pins_uart);
drivers/phy/motorola/phy-cpcap-usb.c
425
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
429
error = regmap_update_bits(ddata->reg, CPCAP_REG_USBC1,
drivers/phy/motorola/phy-cpcap-usb.c
432
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
435
error = regmap_update_bits(ddata->reg, CPCAP_REG_USBC2,
drivers/phy/motorola/phy-cpcap-usb.c
438
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
441
error = regmap_update_bits(ddata->reg, CPCAP_REG_USBC3, 0x7fff,
drivers/phy/motorola/phy-cpcap-usb.c
443
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
447
error = cpcap_usb_gpio_set_mode(ddata, CPCAP_DM_DP);
drivers/phy/motorola/phy-cpcap-usb.c
448
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
454
dev_err(ddata->dev, "%s failed with %i\n", __func__, error);
drivers/phy/motorola/phy-cpcap-usb.c
456
return error;
drivers/phy/motorola/phy-cpcap-usb.c
461
int error;
drivers/phy/motorola/phy-cpcap-usb.c
464
error = cpcap_usb_gpio_set_mode(ddata, CPCAP_UNKNOWN_DISABLED);
drivers/phy/motorola/phy-cpcap-usb.c
465
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
466
return error;
drivers/phy/motorola/phy-cpcap-usb.c
469
error = pinctrl_select_state(ddata->pins, ddata->pins_utmi);
drivers/phy/motorola/phy-cpcap-usb.c
470
if (error) {
drivers/phy/motorola/phy-cpcap-usb.c
472
error);
drivers/phy/motorola/phy-cpcap-usb.c
474
return error;
drivers/phy/motorola/phy-cpcap-usb.c
478
error = regmap_update_bits(ddata->reg, CPCAP_REG_USBC1,
drivers/phy/motorola/phy-cpcap-usb.c
480
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
483
error = regmap_update_bits(ddata->reg, CPCAP_REG_USBC3,
drivers/phy/motorola/phy-cpcap-usb.c
489
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
492
error = regmap_update_bits(ddata->reg, CPCAP_REG_USBC2,
drivers/phy/motorola/phy-cpcap-usb.c
495
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
499
error = cpcap_usb_gpio_set_mode(ddata, CPCAP_OTG_DM_DP);
drivers/phy/motorola/phy-cpcap-usb.c
500
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
506
dev_err(ddata->dev, "%s failed with %i\n", __func__, error);
drivers/phy/motorola/phy-cpcap-usb.c
508
return error;
drivers/phy/motorola/phy-cpcap-usb.c
564
int error;
drivers/phy/motorola/phy-cpcap-usb.c
568
error = PTR_ERR(ddata->vbus);
drivers/phy/motorola/phy-cpcap-usb.c
573
error = -ENXIO;
drivers/phy/motorola/phy-cpcap-usb.c
577
error = iio_get_channel_type(ddata->vbus, &type);
drivers/phy/motorola/phy-cpcap-usb.c
578
if (error < 0)
drivers/phy/motorola/phy-cpcap-usb.c
582
error = -EINVAL;
drivers/phy/motorola/phy-cpcap-usb.c
590
error);
drivers/phy/motorola/phy-cpcap-usb.c
592
return error;
drivers/phy/motorola/phy-cpcap-usb.c
614
int error;
drivers/phy/motorola/phy-cpcap-usb.c
643
error = regulator_enable(ddata->vusb);
drivers/phy/motorola/phy-cpcap-usb.c
644
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
645
return error;
drivers/phy/motorola/phy-cpcap-usb.c
649
error = PTR_ERR(generic_phy);
drivers/phy/motorola/phy-cpcap-usb.c
658
error = PTR_ERR(phy_provider);
drivers/phy/motorola/phy-cpcap-usb.c
662
error = cpcap_usb_init_optional_pins(ddata);
drivers/phy/motorola/phy-cpcap-usb.c
663
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
668
error = cpcap_usb_init_iio(ddata);
drivers/phy/motorola/phy-cpcap-usb.c
669
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
672
error = cpcap_usb_init_interrupts(pdev, ddata);
drivers/phy/motorola/phy-cpcap-usb.c
673
if (error)
drivers/phy/motorola/phy-cpcap-usb.c
685
return error;
drivers/phy/motorola/phy-cpcap-usb.c
691
int error;
drivers/phy/motorola/phy-cpcap-usb.c
694
error = cpcap_usb_set_uart_mode(ddata);
drivers/phy/motorola/phy-cpcap-usb.c
695
if (error)
drivers/phy/motorola/phy-mapphone-mdm6600.c
142
int error;
drivers/phy/motorola/phy-mapphone-mdm6600.c
149
error = phy_pm_runtime_get(x);
drivers/phy/motorola/phy-mapphone-mdm6600.c
150
if (error < 0 && error != -EINPROGRESS)
drivers/phy/motorola/phy-mapphone-mdm6600.c
152
__func__, error);
drivers/phy/motorola/phy-mapphone-mdm6600.c
192
int error;
drivers/phy/motorola/phy-mapphone-mdm6600.c
197
error = gpiod_get_array_value_cansleep(PHY_MDM6600_NR_STATUS_LINES,
drivers/phy/motorola/phy-mapphone-mdm6600.c
201
if (error)
drivers/phy/motorola/phy-mapphone-mdm6600.c
235
int error, wakeup;
drivers/phy/motorola/phy-mapphone-mdm6600.c
243
error = pm_runtime_get_sync(ddata->dev);
drivers/phy/motorola/phy-mapphone-mdm6600.c
244
if (error < 0) {
drivers/phy/motorola/phy-mapphone-mdm6600.c
264
int i, error, irq;
drivers/phy/motorola/phy-mapphone-mdm6600.c
274
error = devm_request_threaded_irq(dev, irq, NULL,
drivers/phy/motorola/phy-mapphone-mdm6600.c
281
if (error)
drivers/phy/motorola/phy-mapphone-mdm6600.c
283
irq, error);
drivers/phy/motorola/phy-mapphone-mdm6600.c
365
int error = 0, wakeirq;
drivers/phy/motorola/phy-mapphone-mdm6600.c
411
error = -ETIMEDOUT;
drivers/phy/motorola/phy-mapphone-mdm6600.c
422
error = devm_request_threaded_irq(ddata->dev, wakeirq, NULL,
drivers/phy/motorola/phy-mapphone-mdm6600.c
429
if (error)
drivers/phy/motorola/phy-mapphone-mdm6600.c
431
wakeirq, error);
drivers/phy/motorola/phy-mapphone-mdm6600.c
435
return error;
drivers/phy/motorola/phy-mapphone-mdm6600.c
446
int error;
drivers/phy/motorola/phy-mapphone-mdm6600.c
469
error = pinctrl_pm_select_sleep_state(ddata->dev);
drivers/phy/motorola/phy-mapphone-mdm6600.c
470
if (error)
drivers/phy/motorola/phy-mapphone-mdm6600.c
472
__func__, error);
drivers/phy/motorola/phy-mapphone-mdm6600.c
478
int error;
drivers/phy/motorola/phy-mapphone-mdm6600.c
482
error = phy_mdm6600_device_power_on(ddata);
drivers/phy/motorola/phy-mapphone-mdm6600.c
483
if (error)
drivers/phy/motorola/phy-mapphone-mdm6600.c
558
int error;
drivers/phy/motorola/phy-mapphone-mdm6600.c
573
error = phy_mdm6600_init_lines(ddata);
drivers/phy/motorola/phy-mapphone-mdm6600.c
574
if (error)
drivers/phy/motorola/phy-mapphone-mdm6600.c
575
return error;
drivers/phy/motorola/phy-mapphone-mdm6600.c
597
error = pm_runtime_get_sync(ddata->dev);
drivers/phy/motorola/phy-mapphone-mdm6600.c
598
if (error < 0) {
drivers/phy/motorola/phy-mapphone-mdm6600.c
599
dev_warn(ddata->dev, "failed to wake modem: %i\n", error);
drivers/phy/motorola/phy-mapphone-mdm6600.c
606
error = PTR_ERR(ddata->generic_phy);
drivers/phy/motorola/phy-mapphone-mdm6600.c
616
error = PTR_ERR(ddata->phy_provider);
drivers/phy/motorola/phy-mapphone-mdm6600.c
623
if (error < 0) {
drivers/phy/motorola/phy-mapphone-mdm6600.c
629
return error;
drivers/phy/renesas/phy-rcar-gen2.c
384
int error, n;
drivers/phy/renesas/phy-rcar-gen2.c
390
error = of_property_read_u32(np, "reg", &channel_num);
drivers/phy/renesas/phy-rcar-gen2.c
391
if (error || channel_num >= data->num_channels) {
drivers/phy/renesas/phy-rcar-gen2.c
393
return error;
drivers/phy/renesas/phy-rcar-gen3-pcie.c
108
error = PTR_ERR(phy->phy);
drivers/phy/renesas/phy-rcar-gen3-pcie.c
109
goto error;
drivers/phy/renesas/phy-rcar-gen3-pcie.c
116
error = PTR_ERR(provider);
drivers/phy/renesas/phy-rcar-gen3-pcie.c
117
goto error;
drivers/phy/renesas/phy-rcar-gen3-pcie.c
122
error:
drivers/phy/renesas/phy-rcar-gen3-pcie.c
125
return error;
drivers/phy/renesas/phy-rcar-gen3-pcie.c
79
int error;
drivers/phy/renesas/phy-rcar-gen3-usb3.c
166
goto error;
drivers/phy/renesas/phy-rcar-gen3-usb3.c
179
goto error;
drivers/phy/renesas/phy-rcar-gen3-usb3.c
191
goto error;
drivers/phy/renesas/phy-rcar-gen3-usb3.c
196
error:
drivers/phy/ti/phy-dm816x-usb.c
114
int error = 0;
drivers/phy/ti/phy-dm816x-usb.c
118
error = regmap_update_bits(phy->syscon, phy->usb_ctrl,
drivers/phy/ti/phy-dm816x-usb.c
120
if (error)
drivers/phy/ti/phy-dm816x-usb.c
132
int error;
drivers/phy/ti/phy-dm816x-usb.c
134
error = clk_enable(phy->refclk);
drivers/phy/ti/phy-dm816x-usb.c
135
if (error)
drivers/phy/ti/phy-dm816x-usb.c
136
return error;
drivers/phy/ti/phy-dm816x-usb.c
146
error = regmap_update_bits(phy->syscon, phy->usb_ctrl,
drivers/phy/ti/phy-dm816x-usb.c
148
if (error) {
drivers/phy/ti/phy-dm816x-usb.c
152
return error;
drivers/phy/ti/phy-dm816x-usb.c
178
int error;
drivers/phy/ti/phy-dm816x-usb.c
221
error = clk_prepare(phy->refclk);
drivers/phy/ti/phy-dm816x-usb.c
222
if (error)
drivers/phy/ti/phy-dm816x-usb.c
223
return error;
drivers/phy/ti/phy-dm816x-usb.c
228
error = PTR_ERR(generic_phy);
drivers/phy/ti/phy-dm816x-usb.c
237
error = PTR_ERR(phy_provider);
drivers/phy/ti/phy-dm816x-usb.c
248
return error;
drivers/phy/xilinx/phy-zynqmp.c
411
unsigned long error = ssc_lookup[i].refclk_rate / 10000;
drivers/phy/xilinx/phy-zynqmp.c
413
if (abs(rate - ssc_lookup[i].refclk_rate) < error)
drivers/pinctrl/core.c
209
int error;
drivers/pinctrl/core.c
2187
int error;
drivers/pinctrl/core.c
2189
error = pinctrl_claim_hogs(pctldev);
drivers/pinctrl/core.c
2190
if (error)
drivers/pinctrl/core.c
2191
return error;
drivers/pinctrl/core.c
2218
int error;
drivers/pinctrl/core.c
2224
error = pinctrl_enable(pctldev);
drivers/pinctrl/core.c
2225
if (error) {
drivers/pinctrl/core.c
2227
return ERR_PTR(error);
drivers/pinctrl/core.c
234
error = -ENOMEM;
drivers/pinctrl/core.c
2357
int error;
drivers/pinctrl/core.c
2359
error = pinctrl_register_and_init(pctldesc, dev, driver_data, pctldev);
drivers/pinctrl/core.c
2360
if (error)
drivers/pinctrl/core.c
2361
return error;
drivers/pinctrl/core.c
242
error = radix_tree_insert(&pctldev->pin_desc_tree, pin->number, pindesc);
drivers/pinctrl/core.c
243
if (error)
drivers/pinctrl/core.c
252
return error;
drivers/pinctrl/core.c
654
int selector, error;
drivers/pinctrl/core.c
671
error = radix_tree_insert(&pctldev->pin_group_tree, selector, group);
drivers/pinctrl/core.c
672
if (error)
drivers/pinctrl/core.c
673
return error;
drivers/pinctrl/devicetree.c
300
int cells_size, error;
drivers/pinctrl/devicetree.c
302
error = of_property_read_u32(np->parent, cells_name, &cells_size);
drivers/pinctrl/devicetree.c
303
if (error) {
drivers/pinctrl/devicetree.c
304
error = of_property_read_u32(np->parent->parent,
drivers/pinctrl/devicetree.c
306
if (error)
drivers/pinctrl/devicetree.c
361
int size, nr_cells, error;
drivers/pinctrl/devicetree.c
363
error = pinctrl_get_list_and_count(np, list_name, &list,
drivers/pinctrl/devicetree.c
365
if (error)
drivers/pinctrl/devicetree.c
366
return error;
drivers/pinctrl/devicetree.c
421
int nr_elem, nr_cells, error;
drivers/pinctrl/devicetree.c
423
error = pinctrl_get_list_and_count(np, list_name, &list,
drivers/pinctrl/devicetree.c
425
if (error || !nr_cells)
drivers/pinctrl/devicetree.c
426
return error;
drivers/pinctrl/devicetree.c
428
error = pinctrl_copy_args(np, list, index, nr_cells, nr_elem,
drivers/pinctrl/devicetree.c
430
if (error)
drivers/pinctrl/devicetree.c
431
return error;
drivers/pinctrl/pinctrl-single.c
1746
int error;
drivers/pinctrl/pinctrl-single.c
1749
error = of_property_read_u32(np, name, &val);
drivers/pinctrl/pinctrl-single.c
1750
if (!error)
drivers/pinctrl/pinctrl-single.c
1773
error = of_add_property(np, pcs->missing_nr_pinctrl_cells);
drivers/pinctrl/pinctrl-single.c
1776
return error;
drivers/pinctrl/pinmux.c
934
int selector, error;
drivers/pinctrl/pinmux.c
959
error = radix_tree_insert(&pctldev->pin_function_tree, selector, function);
drivers/pinctrl/pinmux.c
960
if (error)
drivers/pinctrl/pinmux.c
961
return error;
drivers/pinctrl/ti/pinctrl-ti-iodelay.c
501
int rows, *pins, error = -EINVAL, i;
drivers/pinctrl/ti/pinctrl-ti-iodelay.c
518
error = -ENOMEM;
drivers/pinctrl/ti/pinctrl-ti-iodelay.c
524
error = -ENOMEM;
drivers/pinctrl/ti/pinctrl-ti-iodelay.c
530
error = -ENOMEM;
drivers/pinctrl/ti/pinctrl-ti-iodelay.c
537
error = pinctrl_parse_index_with_args(np, name, i,
drivers/pinctrl/ti/pinctrl-ti-iodelay.c
539
if (error)
drivers/pinctrl/ti/pinctrl-ti-iodelay.c
542
error = ti_iodelay_node_iterator(pctldev, np, &pinctrl_spec,
drivers/pinctrl/ti/pinctrl-ti-iodelay.c
544
if (error)
drivers/pinctrl/ti/pinctrl-ti-iodelay.c
552
error = pinctrl_generic_add_group(iod->pctl, np->name, pins, i, g);
drivers/pinctrl/ti/pinctrl-ti-iodelay.c
553
if (error < 0)
drivers/pinctrl/ti/pinctrl-ti-iodelay.c
573
return error;
drivers/platform/chrome/chromeos_laptop.c
170
int error;
drivers/platform/chrome/chromeos_laptop.c
181
error = device_add_software_node(&client->dev, &acpi_dev->swnode);
drivers/platform/chrome/chromeos_laptop.c
182
if (error) {
drivers/platform/chrome/chromeos_laptop.c
185
error);
drivers/platform/chrome/chromeos_laptop.c
678
int error;
drivers/platform/chrome/chromeos_laptop.c
689
error = device_attach(dev);
drivers/platform/chrome/chromeos_laptop.c
690
if (error < 0)
drivers/platform/chrome/chromeos_laptop.c
693
__func__, error);
drivers/platform/chrome/chromeos_laptop.c
747
int error;
drivers/platform/chrome/chromeos_laptop.c
762
error = chromeos_laptop_setup_irq(i2c_dev);
drivers/platform/chrome/chromeos_laptop.c
763
if (error)
drivers/platform/chrome/chromeos_laptop.c
770
error = PTR_ERR(info->fwnode);
drivers/platform/chrome/chromeos_laptop.c
788
return error;
drivers/platform/chrome/chromeos_laptop.c
800
int error;
drivers/platform/chrome/chromeos_laptop.c
827
error = PTR_ERR(acpi_dev->swnode.properties);
drivers/platform/chrome/chromeos_laptop.c
848
return error;
drivers/platform/chrome/chromeos_laptop.c
880
int error;
drivers/platform/chrome/chromeos_laptop.c
886
error = chromeos_laptop_prepare_i2c_peripherals(cros_laptop, src);
drivers/platform/chrome/chromeos_laptop.c
887
if (!error)
drivers/platform/chrome/chromeos_laptop.c
888
error = chromeos_laptop_prepare_acpi_peripherals(cros_laptop,
drivers/platform/chrome/chromeos_laptop.c
891
if (error) {
drivers/platform/chrome/chromeos_laptop.c
893
return ERR_PTR(error);
drivers/platform/chrome/chromeos_laptop.c
902
int error;
drivers/platform/chrome/chromeos_laptop.c
919
error = -ENODEV;
drivers/platform/chrome/chromeos_laptop.c
923
error = bus_register_notifier(&i2c_bus_type,
drivers/platform/chrome/chromeos_laptop.c
925
if (error) {
drivers/platform/chrome/chromeos_laptop.c
927
error);
drivers/platform/chrome/chromeos_laptop.c
942
return error;
drivers/platform/chrome/cros_ec_debugfs.c
148
goto error;
drivers/platform/chrome/cros_ec_debugfs.c
169
goto error;
drivers/platform/chrome/cros_ec_debugfs.c
174
error:
drivers/platform/chrome/cros_ec_ishtp.c
105
int error;
drivers/platform/chrome/cros_ec_ishtp.c
179
client_data->response.error = 0;
drivers/platform/chrome/cros_ec_ishtp.c
201
if (client_data->response.error < 0)
drivers/platform/chrome/cros_ec_ishtp.c
202
return client_data->response.error;
drivers/platform/chrome/cros_ec_ishtp.c
242
client_data->response.error = -EBADMSG;
drivers/platform/chrome/cros_ec_ishtp.c
249
client_data->response.error = -EMSGSIZE;
drivers/platform/chrome/cros_ec_ishtp.c
275
client_data->response.error = -EINVAL;
drivers/platform/chrome/cros_ec_ishtp.c
283
client_data->response.error = -EMSGSIZE;
drivers/platform/chrome/cros_ec_ishtp.c
290
client_data->response.error = -EIO;
drivers/platform/chrome/cros_ec_lightbar.c
391
goto error;
drivers/platform/chrome/cros_ec_lightbar.c
395
goto error;
drivers/platform/chrome/cros_ec_lightbar.c
398
error:
drivers/platform/chrome/cros_ec_lightbar.c
421
goto error;
drivers/platform/chrome/cros_ec_lightbar.c
425
goto error;
drivers/platform/chrome/cros_ec_lightbar.c
428
error:
drivers/platform/chrome/cros_ec_proto.c
1086
goto error;
drivers/platform/chrome/cros_ec_proto.c
1090
error:
drivers/platform/chrome/cros_ec_sensorhub_ring.c
272
s64 *error = state->temp_buf;
drivers/platform/chrome/cros_ec_sensorhub_ring.c
327
error[i] = state->y_history[i] -
drivers/platform/chrome/cros_ec_sensorhub_ring.c
331
cros_ec_sensor_ring_median(error, state->history_len);
drivers/platform/chrome/cros_ec_sensorhub_ring.c
829
goto error;
drivers/platform/chrome/cros_ec_sensorhub_ring.c
850
goto error;
drivers/platform/chrome/cros_ec_sensorhub_ring.c
949
error:
drivers/platform/chrome/wilco_ec/event.c
451
int error, minor;
drivers/platform/chrome/wilco_ec/event.c
455
error = minor;
drivers/platform/chrome/wilco_ec/event.c
456
dev_err(&adev->dev, "Failed to find minor number: %d\n", error);
drivers/platform/chrome/wilco_ec/event.c
457
return error;
drivers/platform/chrome/wilco_ec/event.c
462
error = -ENOMEM;
drivers/platform/chrome/wilco_ec/event.c
471
error = -ENOMEM;
drivers/platform/chrome/wilco_ec/event.c
488
error = cdev_device_add(&dev_data->cdev, &dev_data->dev);
drivers/platform/chrome/wilco_ec/event.c
489
if (error)
drivers/platform/chrome/wilco_ec/event.c
498
return error;
drivers/platform/chrome/wilco_ec/telemetry.c
363
int error, minor;
drivers/platform/chrome/wilco_ec/telemetry.c
368
error = minor;
drivers/platform/chrome/wilco_ec/telemetry.c
369
dev_err(&pdev->dev, "Failed to find minor number: %d\n", error);
drivers/platform/chrome/wilco_ec/telemetry.c
370
return error;
drivers/platform/chrome/wilco_ec/telemetry.c
393
error = cdev_device_add(&dev_data->cdev, &dev_data->dev);
drivers/platform/chrome/wilco_ec/telemetry.c
394
if (error) {
drivers/platform/chrome/wilco_ec/telemetry.c
397
return error;
drivers/platform/mellanox/mlxbf-tmfifo.c
1078
goto error;
drivers/platform/mellanox/mlxbf-tmfifo.c
1092
goto error;
drivers/platform/mellanox/mlxbf-tmfifo.c
1108
error:
drivers/platform/olpc/olpc-ec.c
428
goto error;
drivers/platform/olpc/olpc-ec.c
437
goto error;
drivers/platform/olpc/olpc-ec.c
444
error:
drivers/platform/surface/surface3-wmi.c
174
int error;
drivers/platform/surface/surface3-wmi.c
187
error = input_register_device(input);
drivers/platform/surface/surface3-wmi.c
188
if (error)
drivers/platform/surface/surface3-wmi.c
189
return error;
drivers/platform/surface/surface3-wmi.c
198
int error;
drivers/platform/surface/surface3-wmi.c
213
error = s3_wmi_create_and_register_input(pdev);
drivers/platform/surface/surface3-wmi.c
214
if (error)
drivers/platform/surface/surface3-wmi.c
226
return error;
drivers/platform/surface/surface3-wmi.c
255
int error;
drivers/platform/surface/surface3-wmi.c
261
error = platform_device_add(s3_wmi_pdev);
drivers/platform/surface/surface3-wmi.c
262
if (error)
drivers/platform/surface/surface3-wmi.c
265
error = platform_driver_probe(&s3_wmi_driver, s3_wmi_probe);
drivers/platform/surface/surface3-wmi.c
266
if (error)
drivers/platform/surface/surface3-wmi.c
276
return error;
drivers/platform/surface/surface3-wmi.c
62
int error = 0;
drivers/platform/surface/surface3-wmi.c
67
error = -EIO;
drivers/platform/surface/surface3-wmi.c
80
error = -EINVAL;
drivers/platform/surface/surface3-wmi.c
87
return error;
drivers/platform/surface/surface3_power.c
511
int error, mask;
drivers/platform/surface/surface3_power.c
530
error = mshw0011_notify(data, 1, MSHW0011_NOTIFY_GET_VERSION, &mask);
drivers/platform/surface/surface3_power.c
531
if (error)
drivers/platform/surface/surface3_power.c
538
error = PTR_ERR(data->poll_task);
drivers/platform/surface/surface3_power.c
539
dev_err(&client->dev, "Unable to run kthread err %d\n", error);
drivers/platform/surface/surface3_power.c
543
error = mshw0011_install_space_handler(client);
drivers/platform/surface/surface3_power.c
544
if (error)
drivers/platform/surface/surface3_power.c
553
return error;
drivers/platform/surface/surfacepro3_button.c
193
int error;
drivers/platform/surface/surfacepro3_button.c
209
error = -ENOMEM;
drivers/platform/surface/surfacepro3_button.c
225
error = input_register_device(input);
drivers/platform/surface/surfacepro3_button.c
226
if (error)
drivers/platform/surface/surfacepro3_button.c
238
return error;
drivers/platform/wmi/core.c
1471
int error;
drivers/platform/wmi/core.c
1484
error = devm_add_action_or_reset(&device->dev, acpi_wmi_remove_bus_device, wmi_bus_dev);
drivers/platform/wmi/core.c
1485
if (error < 0)
drivers/platform/wmi/core.c
1486
return error;
drivers/platform/wmi/core.c
1496
error = devm_add_action_or_reset(&device->dev, acpi_wmi_remove_notify_handler,
drivers/platform/wmi/core.c
1498
if (error < 0)
drivers/platform/wmi/core.c
1499
return error;
drivers/platform/wmi/core.c
1501
error = parse_wdg(wmi_bus_dev, device);
drivers/platform/wmi/core.c
1502
if (error) {
drivers/platform/wmi/core.c
1504
return error;
drivers/platform/wmi/core.c
1543
int error;
drivers/platform/wmi/core.c
1548
error = class_register(&wmi_bus_class);
drivers/platform/wmi/core.c
1549
if (error)
drivers/platform/wmi/core.c
1550
return error;
drivers/platform/wmi/core.c
1552
error = bus_register(&wmi_bus_type);
drivers/platform/wmi/core.c
1553
if (error)
drivers/platform/wmi/core.c
1556
error = platform_driver_register(&acpi_wmi_driver);
drivers/platform/wmi/core.c
1557
if (error) {
drivers/platform/wmi/core.c
1570
return error;
drivers/platform/x86/adv_swbutton.c
53
int error;
drivers/platform/x86/adv_swbutton.c
75
error = input_register_device(input);
drivers/platform/x86/adv_swbutton.c
76
if (error)
drivers/platform/x86/adv_swbutton.c
77
return error;
drivers/platform/x86/asus-laptop.c
1480
int error;
drivers/platform/x86/asus-laptop.c
1491
error = sparse_keymap_setup(input, asus_keymap, NULL);
drivers/platform/x86/asus-laptop.c
1492
if (error) {
drivers/platform/x86/asus-laptop.c
1496
error = input_register_device(input);
drivers/platform/x86/asus-laptop.c
1497
if (error) {
drivers/platform/x86/asus-laptop.c
1507
return error;
drivers/platform/x86/asus-laptop.c
706
goto error;
drivers/platform/x86/asus-laptop.c
711
goto error;
drivers/platform/x86/asus-laptop.c
714
goto error;
drivers/platform/x86/asus-laptop.c
717
goto error;
drivers/platform/x86/asus-laptop.c
720
goto error;
drivers/platform/x86/asus-laptop.c
723
goto error;
drivers/platform/x86/asus-laptop.c
726
goto error;
drivers/platform/x86/asus-laptop.c
741
error:
drivers/platform/x86/asus-wmi.c
2043
goto error;
drivers/platform/x86/asus-wmi.c
2083
goto error;
drivers/platform/x86/asus-wmi.c
2107
goto error;
drivers/platform/x86/asus-wmi.c
2119
goto error;
drivers/platform/x86/asus-wmi.c
2129
goto error;
drivers/platform/x86/asus-wmi.c
2132
error:
drivers/platform/x86/classmate-laptop.c
399
int error;
drivers/platform/x86/classmate-laptop.c
412
error = device_create_file(&acpi->dev, &cmpc_accel_sensitivity_attr_v4);
drivers/platform/x86/classmate-laptop.c
413
if (error)
drivers/platform/x86/classmate-laptop.c
419
error = device_create_file(&acpi->dev, &cmpc_accel_g_select_attr_v4);
drivers/platform/x86/classmate-laptop.c
420
if (error)
drivers/platform/x86/classmate-laptop.c
423
error = cmpc_add_acpi_notify_device(acpi, "cmpc_accel_v4",
drivers/platform/x86/classmate-laptop.c
425
if (error)
drivers/platform/x86/classmate-laptop.c
439
return error;
drivers/platform/x86/classmate-laptop.c
45
int error;
drivers/platform/x86/classmate-laptop.c
53
error = input_register_device(inputdev);
drivers/platform/x86/classmate-laptop.c
54
if (error) {
drivers/platform/x86/classmate-laptop.c
56
return error;
drivers/platform/x86/classmate-laptop.c
649
int error;
drivers/platform/x86/classmate-laptop.c
660
error = device_create_file(&acpi->dev, &cmpc_accel_sensitivity_attr);
drivers/platform/x86/classmate-laptop.c
661
if (error)
drivers/platform/x86/classmate-laptop.c
664
error = cmpc_add_acpi_notify_device(acpi, "cmpc_accel",
drivers/platform/x86/classmate-laptop.c
666
if (error)
drivers/platform/x86/classmate-laptop.c
678
return error;
drivers/platform/x86/dell/dcdbas.c
670
int error;
drivers/platform/x86/dell/dcdbas.c
678
error = dcdbas_check_wsmt();
drivers/platform/x86/dell/dcdbas.c
679
if (error < 0)
drivers/platform/x86/dell/dcdbas.c
680
return error;
drivers/platform/x86/dell/dcdbas.c
686
error = dma_set_coherent_mask(&dcdbas_pdev->dev, DMA_BIT_MASK(32));
drivers/platform/x86/dell/dcdbas.c
687
if (error)
drivers/platform/x86/dell/dcdbas.c
688
return error;
drivers/platform/x86/dell/dcdbas.c
690
error = sysfs_create_group(&dev->dev.kobj, &dcdbas_attr_group);
drivers/platform/x86/dell/dcdbas.c
691
if (error)
drivers/platform/x86/dell/dcdbas.c
692
return error;
drivers/platform/x86/dell/dcdbas.c
729
int error;
drivers/platform/x86/dell/dcdbas.c
731
error = platform_driver_register(&dcdbas_driver);
drivers/platform/x86/dell/dcdbas.c
732
if (error)
drivers/platform/x86/dell/dcdbas.c
733
return error;
drivers/platform/x86/dell/dcdbas.c
737
error = PTR_ERR(dcdbas_pdev_reg);
drivers/platform/x86/dell/dcdbas.c
745
return error;
drivers/platform/x86/dell/dell-smo8800.c
134
goto error;
drivers/platform/x86/dell/dell-smo8800.c
145
goto error;
drivers/platform/x86/dell/dell-smo8800.c
152
error:
drivers/platform/x86/dell/dell-wmi-led.c
166
int error = 0;
drivers/platform/x86/dell/dell-wmi-led.c
171
error = led_off();
drivers/platform/x86/dell/dell-wmi-led.c
172
if (error != 0)
drivers/platform/x86/dell/dell-wmi-privacy.c
106
goto error;
drivers/platform/x86/dell/dell-wmi-privacy.c
112
goto error;
drivers/platform/x86/dell/dell-wmi-privacy.c
131
error:
drivers/platform/x86/eeepc-laptop.c
1158
int error;
drivers/platform/x86/eeepc-laptop.c
1169
error = sparse_keymap_setup(input, eeepc_keymap, NULL);
drivers/platform/x86/eeepc-laptop.c
1170
if (error) {
drivers/platform/x86/eeepc-laptop.c
1175
error = input_register_device(input);
drivers/platform/x86/eeepc-laptop.c
1176
if (error) {
drivers/platform/x86/eeepc-laptop.c
1186
return error;
drivers/platform/x86/fujitsu-tablet.c
225
int error;
drivers/platform/x86/fujitsu-tablet.c
255
error = input_register_device(idev);
drivers/platform/x86/fujitsu-tablet.c
256
if (error) {
drivers/platform/x86/fujitsu-tablet.c
258
return error;
drivers/platform/x86/fujitsu-tablet.c
448
int error;
drivers/platform/x86/fujitsu-tablet.c
464
error = input_fujitsu_setup(&adev->dev,
drivers/platform/x86/fujitsu-tablet.c
466
if (error)
drivers/platform/x86/fujitsu-tablet.c
467
return error;
drivers/platform/x86/fujitsu-tablet.c
476
error = request_irq(fujitsu.irq, fujitsu_interrupt,
drivers/platform/x86/fujitsu-tablet.c
478
if (error) {
drivers/platform/x86/fujitsu-tablet.c
481
return error;
drivers/platform/x86/fujitsu-tablet.c
517
int error;
drivers/platform/x86/fujitsu-tablet.c
521
error = acpi_bus_register_driver(&acpi_fujitsu_driver);
drivers/platform/x86/fujitsu-tablet.c
522
if (error)
drivers/platform/x86/fujitsu-tablet.c
523
return error;
drivers/platform/x86/hp/tc1100-wmi.c
229
int error;
drivers/platform/x86/hp/tc1100-wmi.c
238
error = platform_device_add(tc1100_device);
drivers/platform/x86/hp/tc1100-wmi.c
239
if (error)
drivers/platform/x86/hp/tc1100-wmi.c
242
error = platform_driver_probe(&tc1100_driver, tc1100_probe);
drivers/platform/x86/hp/tc1100-wmi.c
243
if (error)
drivers/platform/x86/hp/tc1100-wmi.c
253
return error;
drivers/platform/x86/intel/pmt/crashlog.c
217
return pmt_crashlog_rc(crashlog, crashlog->info->status.error);
drivers/platform/x86/intel/pmt/crashlog.c
344
bool error = pmt_crashlog_error(crashlog);
drivers/platform/x86/intel/pmt/crashlog.c
346
return sysfs_emit(buf, "%d\n", error);
drivers/platform/x86/intel/pmt/crashlog.c
348
static DEVICE_ATTR_RO(error);
drivers/platform/x86/intel/pmt/crashlog.c
477
.status.error = TYPE1_VER2_ERROR,
drivers/platform/x86/intel/pmt/crashlog.c
90
u32 error;
drivers/platform/x86/intel/punit_ipc.c
81
static const char *ipc_err_string(int error)
drivers/platform/x86/intel/punit_ipc.c
83
if (error == IPC_PUNIT_ERR_SUCCESS)
drivers/platform/x86/intel/punit_ipc.c
85
else if (error == IPC_PUNIT_ERR_INVALID_CMD)
drivers/platform/x86/intel/punit_ipc.c
87
else if (error == IPC_PUNIT_ERR_INVALID_PARAMETER)
drivers/platform/x86/intel/punit_ipc.c
89
else if (error == IPC_PUNIT_ERR_CMD_TIMEOUT)
drivers/platform/x86/intel/punit_ipc.c
91
else if (error == IPC_PUNIT_ERR_CMD_LOCKED)
drivers/platform/x86/intel/punit_ipc.c
93
else if (error == IPC_PUNIT_ERR_INVALID_VR_ID)
drivers/platform/x86/intel/punit_ipc.c
95
else if (error == IPC_PUNIT_ERR_VR_ERR)
drivers/platform/x86/intel/rst.c
104
int error;
drivers/platform/x86/intel/rst.c
106
error = device_create_file(&acpi->dev, &irst_timeout_attr);
drivers/platform/x86/intel/rst.c
107
if (unlikely(error))
drivers/platform/x86/intel/rst.c
108
return error;
drivers/platform/x86/intel/rst.c
110
error = device_create_file(&acpi->dev, &irst_wakeup_attr);
drivers/platform/x86/intel/rst.c
111
if (unlikely(error))
drivers/platform/x86/intel/rst.c
114
return error;
drivers/platform/x86/intel/rst.c
37
int error;
drivers/platform/x86/intel/rst.c
41
error = kstrtoul(buf, 0, &value);
drivers/platform/x86/intel/rst.c
42
if (error)
drivers/platform/x86/intel/rst.c
43
return error;
drivers/platform/x86/intel/rst.c
81
int error;
drivers/platform/x86/intel/rst.c
85
error = kstrtoul(buf, 0, &value);
drivers/platform/x86/intel/rst.c
86
if (error)
drivers/platform/x86/intel/rst.c
87
return error;
drivers/platform/x86/panasonic-laptop.c
933
int error;
drivers/platform/x86/panasonic-laptop.c
946
error = sparse_keymap_setup(input_dev, panasonic_keymap, NULL);
drivers/platform/x86/panasonic-laptop.c
947
if (error) {
drivers/platform/x86/panasonic-laptop.c
952
error = input_register_device(input_dev);
drivers/platform/x86/panasonic-laptop.c
953
if (error) {
drivers/platform/x86/panasonic-laptop.c
963
return error;
drivers/platform/x86/serial-multi-instantiate.c
138
goto error;
drivers/platform/x86/serial-multi-instantiate.c
148
goto error;
drivers/platform/x86/serial-multi-instantiate.c
161
goto error;
drivers/platform/x86/serial-multi-instantiate.c
174
goto error;
drivers/platform/x86/serial-multi-instantiate.c
180
error:
drivers/platform/x86/serial-multi-instantiate.c
223
goto error;
drivers/platform/x86/serial-multi-instantiate.c
230
goto error;
drivers/platform/x86/serial-multi-instantiate.c
237
goto error;
drivers/platform/x86/serial-multi-instantiate.c
243
error:
drivers/platform/x86/sony-laptop.c
4110
int error;
drivers/platform/x86/sony-laptop.c
4113
error =
drivers/platform/x86/sony-laptop.c
4115
if (error) {
drivers/platform/x86/sony-laptop.c
4117
return error;
drivers/platform/x86/sony-laptop.c
4124
error = misc_register(&sonypi_misc_device);
drivers/platform/x86/sony-laptop.c
4125
if (error) {
drivers/platform/x86/sony-laptop.c
4137
return error;
drivers/platform/x86/sony-laptop.c
443
int error;
drivers/platform/x86/sony-laptop.c
451
error = kfifo_alloc(&sony_laptop_input.fifo,
drivers/platform/x86/sony-laptop.c
453
if (error) {
drivers/platform/x86/sony-laptop.c
464
error = -ENOMEM;
drivers/platform/x86/sony-laptop.c
484
error = input_register_device(key_dev);
drivers/platform/x86/sony-laptop.c
485
if (error)
drivers/platform/x86/sony-laptop.c
493
error = -ENOMEM;
drivers/platform/x86/sony-laptop.c
505
error = input_register_device(jog_dev);
drivers/platform/x86/sony-laptop.c
506
if (error)
drivers/platform/x86/sony-laptop.c
529
return error;
drivers/platform/x86/system76_acpi.c
760
goto error;
drivers/platform/x86/system76_acpi.c
765
goto error;
drivers/platform/x86/system76_acpi.c
769
goto error;
drivers/platform/x86/system76_acpi.c
775
goto error;
drivers/platform/x86/system76_acpi.c
782
error:
drivers/platform/x86/toshiba_acpi.c
2866
int error;
drivers/platform/x86/toshiba_acpi.c
2878
error = toshiba_acpi_enable_hotkeys(dev);
drivers/platform/x86/toshiba_acpi.c
2879
if (error)
drivers/platform/x86/toshiba_acpi.c
2880
return error;
drivers/platform/x86/toshiba_acpi.c
2903
error = sparse_keymap_setup(dev->hotkey_dev, keymap, NULL);
drivers/platform/x86/toshiba_acpi.c
2904
if (error)
drivers/platform/x86/toshiba_acpi.c
2918
error = i8042_install_filter(toshiba_acpi_i8042_filter, NULL);
drivers/platform/x86/toshiba_acpi.c
2919
if (error) {
drivers/platform/x86/toshiba_acpi.c
2938
error = -EINVAL;
drivers/platform/x86/toshiba_acpi.c
2942
error = input_register_device(dev->hotkey_dev);
drivers/platform/x86/toshiba_acpi.c
2943
if (error) {
drivers/platform/x86/toshiba_acpi.c
2956
return error;
drivers/platform/x86/toshiba_acpi.c
3363
goto error;
drivers/platform/x86/toshiba_acpi.c
3476
goto error;
drivers/platform/x86/toshiba_acpi.c
3493
error:
drivers/platform/x86/touchscreen_dmi.c
1877
int error;
drivers/platform/x86/touchscreen_dmi.c
1881
error = device_create_managed_software_node(dev, ts_data->properties, NULL);
drivers/platform/x86/touchscreen_dmi.c
1882
if (error)
drivers/platform/x86/touchscreen_dmi.c
1883
dev_err(dev, "failed to add properties: %d\n", error);
drivers/platform/x86/touchscreen_dmi.c
1973
int error;
drivers/platform/x86/touchscreen_dmi.c
1995
error = bus_register_notifier(&i2c_bus_type, &ts_dmi_notifier);
drivers/platform/x86/touchscreen_dmi.c
1996
if (error)
drivers/platform/x86/touchscreen_dmi.c
1998
__func__, error);
drivers/platform/x86/touchscreen_dmi.c
2000
return error;
drivers/platform/x86/xo15-ebook.c
104
error = -ENODEV;
drivers/platform/x86/xo15-ebook.c
121
error = input_register_device(input);
drivers/platform/x86/xo15-ebook.c
122
if (error)
drivers/platform/x86/xo15-ebook.c
140
return error;
drivers/platform/x86/xo15-ebook.c
87
int error;
drivers/platform/x86/xo15-ebook.c
97
error = -ENOMEM;
drivers/pmdomain/core.c
2778
goto error;
drivers/pmdomain/core.c
2790
goto error;
drivers/pmdomain/core.c
2799
goto error;
drivers/pmdomain/core.c
2816
goto error;
drivers/pmdomain/core.c
2820
error:
drivers/pmdomain/qcom/cpr.c
1535
u32 step_dn, step_up, error, error_lt0, busy;
drivers/pmdomain/qcom/cpr.c
1569
error = (reg >> RBCPR_RESULT0_ERROR_SHIFT) & RBCPR_RESULT0_ERROR_MASK;
drivers/pmdomain/qcom/cpr.c
1570
seq_printf(s, ", error = %u", error);
drivers/pmdomain/renesas/rcar-gen4-sysc.c
223
int error;
drivers/pmdomain/renesas/rcar-gen4-sysc.c
272
error = pm_genpd_init(genpd, &simple_qos_governor, false);
drivers/pmdomain/renesas/rcar-gen4-sysc.c
273
if (error)
drivers/pmdomain/renesas/rcar-gen4-sysc.c
274
pr_err("Failed to init PM domain %s: %d\n", name, error);
drivers/pmdomain/renesas/rcar-gen4-sysc.c
276
return error;
drivers/pmdomain/renesas/rcar-gen4-sysc.c
310
int error;
drivers/pmdomain/renesas/rcar-gen4-sysc.c
321
error = -ENOMEM;
drivers/pmdomain/renesas/rcar-gen4-sysc.c
329
error = -ENOMEM;
drivers/pmdomain/renesas/rcar-gen4-sysc.c
345
error = -ENOMEM;
drivers/pmdomain/renesas/rcar-gen4-sysc.c
354
error = rcar_gen4_sysc_pd_setup(pd);
drivers/pmdomain/renesas/rcar-gen4-sysc.c
355
if (error)
drivers/pmdomain/renesas/rcar-gen4-sysc.c
363
error = pm_genpd_add_subdomain(domains->domains[area->parent],
drivers/pmdomain/renesas/rcar-gen4-sysc.c
365
if (error) {
drivers/pmdomain/renesas/rcar-gen4-sysc.c
372
error = of_genpd_add_provider_onecell(np, &domains->onecell_data);
drivers/pmdomain/renesas/rcar-gen4-sysc.c
376
return error;
drivers/pmdomain/renesas/rcar-sysc.c
208
int error;
drivers/pmdomain/renesas/rcar-sysc.c
262
error = pm_genpd_init(genpd, &simple_qos_governor, false);
drivers/pmdomain/renesas/rcar-sysc.c
263
if (error)
drivers/pmdomain/renesas/rcar-sysc.c
264
pr_err("Failed to init PM domain %s: %d\n", name, error);
drivers/pmdomain/renesas/rcar-sysc.c
266
return error;
drivers/pmdomain/renesas/rcar-sysc.c
356
int error;
drivers/pmdomain/renesas/rcar-sysc.c
365
error = info->init();
drivers/pmdomain/renesas/rcar-sysc.c
366
if (error)
drivers/pmdomain/renesas/rcar-sysc.c
376
error = -ENOMEM;
drivers/pmdomain/renesas/rcar-sysc.c
388
error = -ENOMEM;
drivers/pmdomain/renesas/rcar-sysc.c
404
error = -ENOMEM;
drivers/pmdomain/renesas/rcar-sysc.c
415
error = rcar_sysc_pd_setup(pd);
drivers/pmdomain/renesas/rcar-sysc.c
416
if (error)
drivers/pmdomain/renesas/rcar-sysc.c
424
error = pm_genpd_add_subdomain(domains->domains[area->parent],
drivers/pmdomain/renesas/rcar-sysc.c
426
if (error) {
drivers/pmdomain/renesas/rcar-sysc.c
438
return error;
drivers/pmdomain/renesas/rcar-sysc.c
444
int error;
drivers/pmdomain/renesas/rcar-sysc.c
449
error = of_genpd_add_provider_onecell(rcar_sysc_onecell_np,
drivers/pmdomain/renesas/rcar-sysc.c
453
return error;
drivers/pmdomain/rockchip/pm-domains.c
1001
parent_domain->name, child_domain->name, error);
drivers/pmdomain/rockchip/pm-domains.c
1002
return error;
drivers/pmdomain/rockchip/pm-domains.c
1021
int error;
drivers/pmdomain/rockchip/pm-domains.c
1067
error = -ENODEV;
drivers/pmdomain/rockchip/pm-domains.c
1076
error = rockchip_pm_add_one_domain(pmu, node);
drivers/pmdomain/rockchip/pm-domains.c
1077
if (error) {
drivers/pmdomain/rockchip/pm-domains.c
1079
node, error);
drivers/pmdomain/rockchip/pm-domains.c
1083
error = rockchip_pm_add_subdomain(pmu, node);
drivers/pmdomain/rockchip/pm-domains.c
1084
if (error < 0) {
drivers/pmdomain/rockchip/pm-domains.c
1086
node, error);
drivers/pmdomain/rockchip/pm-domains.c
1091
if (error) {
drivers/pmdomain/rockchip/pm-domains.c
1096
error = of_genpd_add_provider_onecell(np, &pmu->genpd_data);
drivers/pmdomain/rockchip/pm-domains.c
1097
if (error) {
drivers/pmdomain/rockchip/pm-domains.c
1098
dev_err(dev, "failed to add provider: %d\n", error);
drivers/pmdomain/rockchip/pm-domains.c
1110
return error;
drivers/pmdomain/rockchip/pm-domains.c
549
goto error;
drivers/pmdomain/rockchip/pm-domains.c
564
goto error;
drivers/pmdomain/rockchip/pm-domains.c
579
error:
drivers/pmdomain/rockchip/pm-domains.c
738
int error;
drivers/pmdomain/rockchip/pm-domains.c
742
error = pm_clk_create(dev);
drivers/pmdomain/rockchip/pm-domains.c
743
if (error) {
drivers/pmdomain/rockchip/pm-domains.c
744
dev_err(dev, "pm_clk_create failed %d\n", error);
drivers/pmdomain/rockchip/pm-domains.c
745
return error;
drivers/pmdomain/rockchip/pm-domains.c
751
error = pm_clk_add_clk(dev, clk);
drivers/pmdomain/rockchip/pm-domains.c
752
if (error) {
drivers/pmdomain/rockchip/pm-domains.c
753
dev_err(dev, "pm_clk_add_clk failed %d\n", error);
drivers/pmdomain/rockchip/pm-domains.c
756
return error;
drivers/pmdomain/rockchip/pm-domains.c
779
int error;
drivers/pmdomain/rockchip/pm-domains.c
781
error = of_property_read_u32(node, "reg", &id);
drivers/pmdomain/rockchip/pm-domains.c
782
if (error) {
drivers/pmdomain/rockchip/pm-domains.c
785
node, error);
drivers/pmdomain/rockchip/pm-domains.c
828
error = PTR_ERR(pd->clks[i].clk);
drivers/pmdomain/rockchip/pm-domains.c
831
node, i, error);
drivers/pmdomain/rockchip/pm-domains.c
832
return error;
drivers/pmdomain/rockchip/pm-domains.c
836
error = clk_bulk_prepare(pd->num_clks, pd->clks);
drivers/pmdomain/rockchip/pm-domains.c
837
if (error)
drivers/pmdomain/rockchip/pm-domains.c
848
error = -ENOMEM;
drivers/pmdomain/rockchip/pm-domains.c
858
error = -ENOMEM;
drivers/pmdomain/rockchip/pm-domains.c
866
error = -ENODEV;
drivers/pmdomain/rockchip/pm-domains.c
872
error = -ENODEV;
drivers/pmdomain/rockchip/pm-domains.c
910
return error;
drivers/pmdomain/rockchip/pm-domains.c
968
int error;
drivers/pmdomain/rockchip/pm-domains.c
973
error = of_property_read_u32(parent, "reg", &idx);
drivers/pmdomain/rockchip/pm-domains.c
974
if (error) {
drivers/pmdomain/rockchip/pm-domains.c
977
parent, error);
drivers/pmdomain/rockchip/pm-domains.c
978
return error;
drivers/pmdomain/rockchip/pm-domains.c
982
error = rockchip_pm_add_one_domain(pmu, np);
drivers/pmdomain/rockchip/pm-domains.c
983
if (error) {
drivers/pmdomain/rockchip/pm-domains.c
985
np, error);
drivers/pmdomain/rockchip/pm-domains.c
986
return error;
drivers/pmdomain/rockchip/pm-domains.c
989
error = of_property_read_u32(np, "reg", &idx);
drivers/pmdomain/rockchip/pm-domains.c
990
if (error) {
drivers/pmdomain/rockchip/pm-domains.c
993
np, error);
drivers/pmdomain/rockchip/pm-domains.c
994
return error;
drivers/pmdomain/rockchip/pm-domains.c
998
error = pm_genpd_add_subdomain(parent_domain, child_domain);
drivers/pmdomain/rockchip/pm-domains.c
999
if (error) {
drivers/pmdomain/ti/omap_prm.c
615
int error;
drivers/pmdomain/ti/omap_prm.c
623
error = pm_clk_create(dev);
drivers/pmdomain/ti/omap_prm.c
624
if (error)
drivers/pmdomain/ti/omap_prm.c
625
return error;
drivers/pmdomain/ti/omap_prm.c
627
error = of_pm_clk_add_clks(dev);
drivers/pmdomain/ti/omap_prm.c
628
if (error < 0) {
drivers/pmdomain/ti/omap_prm.c
630
return error;
drivers/pmdomain/ti/omap_prm.c
688
int error;
drivers/pmdomain/ti/omap_prm.c
719
error = of_genpd_add_provider_simple(np, &prmd->pd);
drivers/pmdomain/ti/omap_prm.c
720
if (error)
drivers/pmdomain/ti/omap_prm.c
725
return error;
drivers/pnp/card.c
236
int error;
drivers/pnp/card.c
241
error = device_register(&card->dev);
drivers/pnp/card.c
242
if (error) {
drivers/pnp/card.c
243
dev_err(&card->dev, "could not register (err=%d)\n", error);
drivers/pnp/card.c
245
return error;
drivers/pnp/card.c
386
int error;
drivers/pnp/card.c
397
error = pnp_register_driver(&drv->link);
drivers/pnp/card.c
398
if (error < 0)
drivers/pnp/card.c
399
return error;
drivers/pnp/driver.c
103
error = pnp_disable_dev(pnp_dev);
drivers/pnp/driver.c
104
if (error < 0)
drivers/pnp/driver.c
105
return error;
drivers/pnp/driver.c
107
error = 0;
drivers/pnp/driver.c
111
error = pnp_drv->probe(pnp_dev, dev_id);
drivers/pnp/driver.c
113
if (error >= 0) {
drivers/pnp/driver.c
115
error = 0;
drivers/pnp/driver.c
119
return error;
drivers/pnp/driver.c
123
return error;
drivers/pnp/driver.c
185
int error;
drivers/pnp/driver.c
191
error = pnp_drv->driver.pm->suspend(dev);
drivers/pnp/driver.c
192
suspend_report_result(dev, pnp_drv->driver.pm->suspend, error);
drivers/pnp/driver.c
193
if (error)
drivers/pnp/driver.c
194
return error;
drivers/pnp/driver.c
198
error = pnp_drv->suspend(pnp_dev, state);
drivers/pnp/driver.c
199
if (error)
drivers/pnp/driver.c
200
return error;
drivers/pnp/driver.c
205
error = pnp_stop_dev(pnp_dev);
drivers/pnp/driver.c
206
if (error)
drivers/pnp/driver.c
207
return error;
drivers/pnp/driver.c
234
int error;
drivers/pnp/driver.c
240
error = pnp_dev->protocol->resume(pnp_dev);
drivers/pnp/driver.c
241
if (error)
drivers/pnp/driver.c
242
return error;
drivers/pnp/driver.c
246
error = pnp_start_dev(pnp_dev);
drivers/pnp/driver.c
247
if (error)
drivers/pnp/driver.c
248
return error;
drivers/pnp/driver.c
252
error = pnp_drv->driver.pm->resume(dev);
drivers/pnp/driver.c
253
if (error)
drivers/pnp/driver.c
254
return error;
drivers/pnp/driver.c
258
error = pnp_drv->resume(pnp_dev);
drivers/pnp/driver.c
259
if (error)
drivers/pnp/driver.c
260
return error;
drivers/pnp/driver.c
84
int error;
drivers/pnp/driver.c
91
error = pnp_device_attach(pnp_dev);
drivers/pnp/driver.c
92
if (error < 0)
drivers/pnp/driver.c
93
return error;
drivers/pnp/driver.c
97
error = pnp_activate_dev(pnp_dev);
drivers/pnp/driver.c
98
if (error < 0)
drivers/pnp/driver.c
99
return error;
drivers/pnp/interface.c
31
int error; /* error code */
drivers/pnp/interface.c
42
if (buffer->stop || buffer->error)
drivers/pnp/manager.c
385
int error;
drivers/pnp/manager.c
394
error = pnp_start_dev(dev);
drivers/pnp/manager.c
395
if (error)
drivers/pnp/manager.c
396
return error;
drivers/pnp/manager.c
411
int error;
drivers/pnp/manager.c
416
error = pnp_stop_dev(dev);
drivers/pnp/manager.c
417
if (error)
drivers/pnp/manager.c
418
return error;
drivers/pnp/pnpacpi/core.c
131
int error = 0;
drivers/pnp/pnpacpi/core.c
139
error = acpi_pm_set_device_wakeup(&dev->dev,
drivers/pnp/pnpacpi/core.c
141
if (error)
drivers/pnp/pnpacpi/core.c
142
return error;
drivers/pnp/pnpacpi/core.c
158
error = acpi_device_set_power(acpi_dev, power_state);
drivers/pnp/pnpacpi/core.c
161
return error;
drivers/pnp/pnpacpi/core.c
167
int error = 0;
drivers/pnp/pnpacpi/core.c
178
error = acpi_device_set_power(acpi_dev, ACPI_STATE_D0);
drivers/pnp/pnpacpi/core.c
180
return error;
drivers/pnp/pnpacpi/core.c
214
int error;
drivers/pnp/pnpacpi/core.c
275
error = pnp_add_device(dev);
drivers/pnp/pnpacpi/core.c
276
if (error) {
drivers/pnp/pnpacpi/core.c
278
return error;
drivers/pnp/pnpbios/core.c
303
int error;
drivers/pnp/pnpbios/core.c
333
error = pnp_add_device(dev);
drivers/pnp/pnpbios/core.c
334
if (error) {
drivers/pnp/pnpbios/core.c
336
return error;
drivers/power/reset/qcom-pon.c
51
int error;
drivers/power/reset/qcom-pon.c
65
error = of_property_read_u32(pdev->dev.of_node, "reg",
drivers/power/reset/qcom-pon.c
67
if (error)
drivers/power/reset/qcom-pon.c
68
return error;
drivers/power/reset/qcom-pon.c
76
error = devm_reboot_mode_register(&pdev->dev, &pon->reboot_mode);
drivers/power/reset/qcom-pon.c
77
if (error) {
drivers/power/reset/qcom-pon.c
79
return error;
drivers/power/reset/reboot-mode.c
101
goto error;
drivers/power/reset/reboot-mode.c
107
goto error;
drivers/power/reset/reboot-mode.c
118
error:
drivers/power/reset/reboot-mode.c
88
goto error;
drivers/power/reset/rmobile-reset.c
35
int error;
drivers/power/reset/rmobile-reset.c
41
error = devm_register_sys_off_handler(&pdev->dev,
drivers/power/reset/rmobile-reset.c
46
if (error) {
drivers/power/reset/rmobile-reset.c
48
"cannot register restart handler (err=%d)\n", error);
drivers/power/reset/rmobile-reset.c
49
return error;
drivers/power/supply/apm_power.c
76
int error;
drivers/power/supply/apm_power.c
82
error = power_supply_for_each_psy(&bp, __find_main_battery);
drivers/power/supply/apm_power.c
83
if (error) {
drivers/power/supply/bq2415x_charger.c
893
int error;
drivers/power/supply/bq2415x_charger.c
923
error = bq2415x_exec_command(bq, BQ2415X_FAULT_STATUS);
drivers/power/supply/bq2415x_charger.c
924
if (error < 0) {
drivers/power/supply/bq2415x_charger.c
930
switch (error) {
drivers/power/supply/bq2415x_charger.c
962
switch (error) {
drivers/power/supply/bq24190_charger.c
1845
int error;
drivers/power/supply/bq24190_charger.c
1848
error = pm_runtime_resume_and_get(bdi->dev);
drivers/power/supply/bq24190_charger.c
1849
if (error < 0) {
drivers/power/supply/bq24190_charger.c
1850
dev_warn(bdi->dev, "pm_runtime_get failed: %i\n", error);
drivers/power/supply/bq24190_charger.c
2199
int error;
drivers/power/supply/bq24190_charger.c
2202
error = pm_runtime_resume_and_get(bdi->dev);
drivers/power/supply/bq24190_charger.c
2203
if (error < 0)
drivers/power/supply/bq24190_charger.c
2204
dev_warn(bdi->dev, "pm_runtime_get failed: %i\n", error);
drivers/power/supply/bq24190_charger.c
2210
if (error >= 0)
drivers/power/supply/bq24190_charger.c
2257
int error;
drivers/power/supply/bq24190_charger.c
2259
error = pm_runtime_resume_and_get(bdi->dev);
drivers/power/supply/bq24190_charger.c
2260
if (error < 0)
drivers/power/supply/bq24190_charger.c
2261
dev_warn(bdi->dev, "pm_runtime_get failed: %i\n", error);
drivers/power/supply/bq24190_charger.c
2265
if (error >= 0) {
drivers/power/supply/bq24190_charger.c
2276
int error;
drivers/power/supply/bq24190_charger.c
2281
error = pm_runtime_resume_and_get(bdi->dev);
drivers/power/supply/bq24190_charger.c
2282
if (error < 0)
drivers/power/supply/bq24190_charger.c
2283
dev_warn(bdi->dev, "pm_runtime_get failed: %i\n", error);
drivers/power/supply/bq24190_charger.c
2289
if (error >= 0) {
drivers/power/supply/bq24257_charger.c
540
goto error;
drivers/power/supply/bq24257_charger.c
546
goto error;
drivers/power/supply/bq24257_charger.c
560
goto error;
drivers/power/supply/bq24257_charger.c
566
goto error;
drivers/power/supply/bq24257_charger.c
570
goto error;
drivers/power/supply/bq24257_charger.c
574
goto error;
drivers/power/supply/bq24257_charger.c
581
error:
drivers/power/supply/bq24257_charger.c
616
goto error;
drivers/power/supply/bq24257_charger.c
624
goto error;
drivers/power/supply/bq24257_charger.c
640
error:
drivers/power/supply/bq25890_charger.c
837
goto error;
drivers/power/supply/bq25890_charger.c
848
goto error;
drivers/power/supply/bq25890_charger.c
855
error:
drivers/power/supply/cpcap-battery.c
1001
error = -ENXIO;
drivers/power/supply/cpcap-battery.c
1009
return dev_err_probe(ddata->dev, error,
drivers/power/supply/cpcap-battery.c
1016
int error, ccc1, value;
drivers/power/supply/cpcap-battery.c
1019
error = regmap_read(ddata->reg, CPCAP_REG_CCC1, &ccc1);
drivers/power/supply/cpcap-battery.c
1020
if (error)
drivers/power/supply/cpcap-battery.c
1021
return error;
drivers/power/supply/cpcap-battery.c
1026
error = regmap_update_bits(ddata->reg, CPCAP_REG_CCC1,
drivers/power/supply/cpcap-battery.c
1029
if (error)
drivers/power/supply/cpcap-battery.c
1033
error = regmap_read(ddata->reg, CPCAP_REG_CCC1, &value);
drivers/power/supply/cpcap-battery.c
1034
if (error)
drivers/power/supply/cpcap-battery.c
1040
error = regmap_read(ddata->reg, CPCAP_REG_CCM, &value);
drivers/power/supply/cpcap-battery.c
1041
if (error)
drivers/power/supply/cpcap-battery.c
1048
error = regmap_read(ddata->reg, CPCAP_REG_CCM, &value);
drivers/power/supply/cpcap-battery.c
1049
if (error)
drivers/power/supply/cpcap-battery.c
1055
if (error)
drivers/power/supply/cpcap-battery.c
1056
dev_err(ddata->dev, "%s: error %i\n", __func__, error);
drivers/power/supply/cpcap-battery.c
1058
error = regmap_update_bits(ddata->reg, CPCAP_REG_CCC1,
drivers/power/supply/cpcap-battery.c
1060
if (error)
drivers/power/supply/cpcap-battery.c
1062
__func__, error);
drivers/power/supply/cpcap-battery.c
1064
return error;
drivers/power/supply/cpcap-battery.c
1092
int error;
drivers/power/supply/cpcap-battery.c
1107
error = cpcap_get_vendor(ddata->dev, ddata->reg, &ddata->vendor);
drivers/power/supply/cpcap-battery.c
1108
if (error)
drivers/power/supply/cpcap-battery.c
1109
return error;
drivers/power/supply/cpcap-battery.c
1125
error = cpcap_battery_init_iio(ddata);
drivers/power/supply/cpcap-battery.c
1126
if (error)
drivers/power/supply/cpcap-battery.c
1127
return error;
drivers/power/supply/cpcap-battery.c
1135
error = PTR_ERR_OR_ZERO(ddata->psy);
drivers/power/supply/cpcap-battery.c
1136
if (error) {
drivers/power/supply/cpcap-battery.c
1138
return error;
drivers/power/supply/cpcap-battery.c
1141
error = cpcap_battery_init_interrupts(pdev, ddata);
drivers/power/supply/cpcap-battery.c
1142
if (error)
drivers/power/supply/cpcap-battery.c
1143
return error;
drivers/power/supply/cpcap-battery.c
1147
error = cpcap_battery_calibrate(ddata);
drivers/power/supply/cpcap-battery.c
1148
if (error)
drivers/power/supply/cpcap-battery.c
1149
return error;
drivers/power/supply/cpcap-battery.c
1157
int error;
drivers/power/supply/cpcap-battery.c
1160
error = regmap_update_bits(ddata->reg, CPCAP_REG_BPEOL,
drivers/power/supply/cpcap-battery.c
1162
if (error)
drivers/power/supply/cpcap-battery.c
1163
dev_err(&pdev->dev, "could not disable: %i\n", error);
drivers/power/supply/cpcap-battery.c
184
int error;
drivers/power/supply/cpcap-battery.c
187
error = iio_read_channel_processed(channel, value);
drivers/power/supply/cpcap-battery.c
188
if (error < 0) {
drivers/power/supply/cpcap-battery.c
190
dev_warn(ddata->dev, "%s failed: %i\n", __func__, error);
drivers/power/supply/cpcap-battery.c
193
return error;
drivers/power/supply/cpcap-battery.c
204
int error, value = 0;
drivers/power/supply/cpcap-battery.c
207
error = iio_read_channel_processed(channel, &value);
drivers/power/supply/cpcap-battery.c
208
if (error < 0) {
drivers/power/supply/cpcap-battery.c
209
dev_warn(ddata->dev, "%s failed: %i\n", __func__, error);
drivers/power/supply/cpcap-battery.c
220
int error, value = 0;
drivers/power/supply/cpcap-battery.c
223
error = iio_read_channel_processed(channel, &value);
drivers/power/supply/cpcap-battery.c
224
if (error < 0) {
drivers/power/supply/cpcap-battery.c
225
dev_warn(ddata->dev, "%s failed: %i\n", __func__, error);
drivers/power/supply/cpcap-battery.c
312
int error;
drivers/power/supply/cpcap-battery.c
320
error = regmap_bulk_read(ddata->reg, CPCAP_REG_CCS1,
drivers/power/supply/cpcap-battery.c
322
if (error)
drivers/power/supply/cpcap-battery.c
442
int value, acc, error;
drivers/power/supply/cpcap-battery.c
447
error = regmap_read(ddata->reg, CPCAP_REG_CCI, &value);
drivers/power/supply/cpcap-battery.c
448
if (error)
drivers/power/supply/cpcap-battery.c
449
return error;
drivers/power/supply/cpcap-battery.c
460
error = regmap_read(ddata->reg, CPCAP_REG_CCM, &value);
drivers/power/supply/cpcap-battery.c
461
if (error)
drivers/power/supply/cpcap-battery.c
462
return error;
drivers/power/supply/cpcap-battery.c
474
int error;
drivers/power/supply/cpcap-battery.c
480
error = power_supply_get_property(charger, POWER_SUPPLY_PROP_STATUS,
drivers/power/supply/cpcap-battery.c
482
if (error)
drivers/power/supply/cpcap-battery.c
489
return error;
drivers/power/supply/cpcap-battery.c
496
int error, val;
drivers/power/supply/cpcap-battery.c
498
error = cpcap_battery_get_charger_status(ddata, &val);
drivers/power/supply/cpcap-battery.c
499
if (!error) {
drivers/power/supply/cpcap-battery.c
545
int error;
drivers/power/supply/cpcap-battery.c
563
error = cpcap_charger_battery_temperature(ddata,
drivers/power/supply/cpcap-battery.c
565
if (error)
drivers/power/supply/cpcap-battery.c
566
return error;
drivers/power/supply/cpcap-battery.c
799
int error;
drivers/power/supply/cpcap-battery.c
805
error = power_supply_get_property(charger,
drivers/power/supply/cpcap-battery.c
808
if (error)
drivers/power/supply/cpcap-battery.c
817
error = power_supply_set_property(charger,
drivers/power/supply/cpcap-battery.c
823
return error;
drivers/power/supply/cpcap-battery.c
920
int irq, error;
drivers/power/supply/cpcap-battery.c
926
error = devm_request_threaded_irq(ddata->dev, irq, NULL,
drivers/power/supply/cpcap-battery.c
930
if (error) {
drivers/power/supply/cpcap-battery.c
932
name, error);
drivers/power/supply/cpcap-battery.c
934
return error;
drivers/power/supply/cpcap-battery.c
963
int i, error;
drivers/power/supply/cpcap-battery.c
966
error = cpcap_battery_init_irq(pdev, ddata,
drivers/power/supply/cpcap-battery.c
968
if (error)
drivers/power/supply/cpcap-battery.c
969
return error;
drivers/power/supply/cpcap-battery.c
976
error = regmap_update_bits(ddata->reg, CPCAP_REG_BPEOL,
drivers/power/supply/cpcap-battery.c
979
if (error)
drivers/power/supply/cpcap-battery.c
980
return error;
drivers/power/supply/cpcap-battery.c
990
int error, i;
drivers/power/supply/cpcap-battery.c
996
error = PTR_ERR(ddata->channels[i]);
drivers/power/supply/cpcap-charger.c
179
int error, value = 0;
drivers/power/supply/cpcap-charger.c
182
error = iio_read_channel_processed(channel, &value);
drivers/power/supply/cpcap-charger.c
183
if (error < 0) {
drivers/power/supply/cpcap-charger.c
184
dev_warn(ddata->dev, "%s failed: %i\n", __func__, error);
drivers/power/supply/cpcap-charger.c
195
int error, value = 0;
drivers/power/supply/cpcap-charger.c
198
error = iio_read_channel_processed(channel, &value);
drivers/power/supply/cpcap-charger.c
199
if (error < 0) {
drivers/power/supply/cpcap-charger.c
200
dev_warn(ddata->dev, "%s failed: %i\n", __func__, error);
drivers/power/supply/cpcap-charger.c
277
int error;
drivers/power/supply/cpcap-charger.c
281
error = power_supply_get_property(battery,
drivers/power/supply/cpcap-charger.c
284
if (!error)
drivers/power/supply/cpcap-charger.c
407
int error;
drivers/power/supply/cpcap-charger.c
409
error = regmap_update_bits(ddata->reg, CPCAP_REG_CRM, 0x3fff,
drivers/power/supply/cpcap-charger.c
412
if (error)
drivers/power/supply/cpcap-charger.c
413
dev_err(ddata->dev, "%s failed with %i\n", __func__, error);
drivers/power/supply/cpcap-charger.c
415
return error;
drivers/power/supply/cpcap-charger.c
422
int error;
drivers/power/supply/cpcap-charger.c
430
error = regmap_update_bits(ddata->reg, CPCAP_REG_CRM, 0x3fff,
drivers/power/supply/cpcap-charger.c
437
if (error)
drivers/power/supply/cpcap-charger.c
438
dev_err(ddata->dev, "%s failed with %i\n", __func__, error);
drivers/power/supply/cpcap-charger.c
440
return error;
drivers/power/supply/cpcap-charger.c
445
int error, value = 0;
drivers/power/supply/cpcap-charger.c
449
error = iio_read_channel_processed(channel, &value);
drivers/power/supply/cpcap-charger.c
450
if (error >= 0)
drivers/power/supply/cpcap-charger.c
453
dev_err(ddata->dev, "error reading VBUS: %i\n", error);
drivers/power/supply/cpcap-charger.c
463
int error;
drivers/power/supply/cpcap-charger.c
480
error = cpcap_charger_disable(ddata);
drivers/power/supply/cpcap-charger.c
481
if (error)
drivers/power/supply/cpcap-charger.c
487
error = regmap_update_bits(ddata->reg, CPCAP_REG_VUSBC,
drivers/power/supply/cpcap-charger.c
490
if (error)
drivers/power/supply/cpcap-charger.c
493
error = regmap_update_bits(ddata->reg, CPCAP_REG_CRM,
drivers/power/supply/cpcap-charger.c
496
if (error)
drivers/power/supply/cpcap-charger.c
499
error = regmap_update_bits(ddata->reg, CPCAP_REG_VUSBC,
drivers/power/supply/cpcap-charger.c
501
if (error)
drivers/power/supply/cpcap-charger.c
504
error = regmap_update_bits(ddata->reg, CPCAP_REG_CRM,
drivers/power/supply/cpcap-charger.c
506
if (error)
drivers/power/supply/cpcap-charger.c
519
str_enable_disable(ddata->vbus_enabled), error);
drivers/power/supply/cpcap-charger.c
540
int val, error;
drivers/power/supply/cpcap-charger.c
542
error = regmap_read(ddata->reg, CPCAP_REG_INTS1, &val);
drivers/power/supply/cpcap-charger.c
543
if (error)
drivers/power/supply/cpcap-charger.c
544
return error;
drivers/power/supply/cpcap-charger.c
550
error = regmap_read(ddata->reg, CPCAP_REG_INTS2, &val);
drivers/power/supply/cpcap-charger.c
551
if (error)
drivers/power/supply/cpcap-charger.c
552
return error;
drivers/power/supply/cpcap-charger.c
560
error = regmap_read(ddata->reg, CPCAP_REG_INTS4, &val);
drivers/power/supply/cpcap-charger.c
561
if (error)
drivers/power/supply/cpcap-charger.c
562
return error;
drivers/power/supply/cpcap-charger.c
598
int error;
drivers/power/supply/cpcap-charger.c
610
error = cpcap_charger_disable(ddata);
drivers/power/supply/cpcap-charger.c
611
if (error) {
drivers/power/supply/cpcap-charger.c
625
int error, new_state;
drivers/power/supply/cpcap-charger.c
630
error = cpcap_charger_get_ints_state(ddata, &s);
drivers/power/supply/cpcap-charger.c
631
if (error)
drivers/power/supply/cpcap-charger.c
697
error = power_supply_get_property(battery, POWER_SUPPLY_PROP_PRESENT, &val);
drivers/power/supply/cpcap-charger.c
699
if (error)
drivers/power/supply/cpcap-charger.c
714
error = cpcap_charger_enable(ddata,
drivers/power/supply/cpcap-charger.c
717
if (error)
drivers/power/supply/cpcap-charger.c
722
error = cpcap_charger_disable(ddata);
drivers/power/supply/cpcap-charger.c
723
if (error)
drivers/power/supply/cpcap-charger.c
734
dev_err(ddata->dev, "%s failed with %i\n", __func__, error);
drivers/power/supply/cpcap-charger.c
754
int irq, error;
drivers/power/supply/cpcap-charger.c
760
error = devm_request_threaded_irq(ddata->dev, irq, NULL,
drivers/power/supply/cpcap-charger.c
764
if (error) {
drivers/power/supply/cpcap-charger.c
766
name, error);
drivers/power/supply/cpcap-charger.c
768
return error;
drivers/power/supply/cpcap-charger.c
796
int i, error;
drivers/power/supply/cpcap-charger.c
799
error = cpcap_usb_init_irq(pdev, ddata, cpcap_charger_irqs[i]);
drivers/power/supply/cpcap-charger.c
800
if (error)
drivers/power/supply/cpcap-charger.c
801
return error;
drivers/power/supply/cpcap-charger.c
827
int error, i;
drivers/power/supply/cpcap-charger.c
833
error = PTR_ERR(ddata->channels[i]);
drivers/power/supply/cpcap-charger.c
838
error = -ENXIO;
drivers/power/supply/cpcap-charger.c
846
if (error != -EPROBE_DEFER)
drivers/power/supply/cpcap-charger.c
848
error);
drivers/power/supply/cpcap-charger.c
850
return error;
drivers/power/supply/cpcap-charger.c
879
int error;
drivers/power/supply/cpcap-charger.c
898
error = cpcap_charger_init_iio(ddata);
drivers/power/supply/cpcap-charger.c
899
if (error)
drivers/power/supply/cpcap-charger.c
900
return error;
drivers/power/supply/cpcap-charger.c
913
error = PTR_ERR(ddata->usb);
drivers/power/supply/cpcap-charger.c
915
error);
drivers/power/supply/cpcap-charger.c
917
return error;
drivers/power/supply/cpcap-charger.c
920
error = cpcap_usb_init_interrupts(pdev, ddata);
drivers/power/supply/cpcap-charger.c
921
if (error)
drivers/power/supply/cpcap-charger.c
922
return error;
drivers/power/supply/cpcap-charger.c
925
error = omap_usb2_set_comparator(&ddata->comparator);
drivers/power/supply/cpcap-charger.c
926
if (error == -ENODEV) {
drivers/power/supply/cpcap-charger.c
941
int error;
drivers/power/supply/cpcap-charger.c
944
error = omap_usb2_set_comparator(NULL);
drivers/power/supply/cpcap-charger.c
945
if (error)
drivers/power/supply/cpcap-charger.c
947
error);
drivers/power/supply/cpcap-charger.c
949
error = cpcap_charger_disable(ddata);
drivers/power/supply/cpcap-charger.c
950
if (error) {
drivers/power/supply/cpcap-charger.c
953
error);
drivers/power/supply/pm8916_bms_vm.c
245
goto error;
drivers/power/supply/pm8916_bms_vm.c
249
goto error;
drivers/power/supply/pm8916_bms_vm.c
253
error:
drivers/power/supply/pm8916_bms_vm.c
273
goto error;
drivers/power/supply/pm8916_bms_vm.c
277
goto error;
drivers/power/supply/pm8916_bms_vm.c
281
error:
drivers/power/supply/pm8916_lbc.c
109
goto error;
drivers/power/supply/pm8916_lbc.c
114
goto error;
drivers/power/supply/pm8916_lbc.c
118
error:
drivers/power/supply/pm8916_lbc.c
97
goto error;
drivers/power/supply/power_supply_core.c
222
int error;
drivers/power/supply/power_supply_core.c
224
error = power_supply_for_each_psy(psy, __power_supply_populate_supplied_from);
drivers/power/supply/power_supply_core.c
226
dev_dbg(&psy->dev, "%s %d\n", __func__, error);
drivers/power/supply/power_supply_core.c
228
return error;
drivers/power/supply/power_supply_core.c
245
int error;
drivers/power/supply/power_supply_core.c
257
error = power_supply_for_each_psy(supply_node, __power_supply_find_supply_from_node);
drivers/power/supply/power_supply_core.c
259
return error ? (error == 1 ? 0 : error) : -EPROBE_DEFER;
drivers/power/supply/power_supply_core.c
360
int error;
drivers/power/supply/power_supply_core.c
362
error = power_supply_for_each_psy(&data, __power_supply_am_i_supplied);
drivers/power/supply/power_supply_core.c
364
dev_dbg(&psy->dev, "%s count %u err %d\n", __func__, data.count, error);
drivers/power/supply/power_supply_core.c
369
return error;
drivers/power/supply/power_supply_core.c
393
int error;
drivers/power/supply/power_supply_core.c
396
error = power_supply_for_each_psy(&count, __power_supply_is_system_supplied);
drivers/power/supply/power_supply_core.c
405
return error;
drivers/power/supply/power_supply_hwmon.c
387
goto error;
drivers/power/supply/power_supply_hwmon.c
396
goto error;
drivers/power/supply/power_supply_hwmon.c
413
goto error;
drivers/power/supply/power_supply_hwmon.c
424
goto error;
drivers/power/supply/power_supply_hwmon.c
428
error:
drivers/power/supply/qcom_battmgr.c
1273
battmgr->error = 0;
drivers/power/supply/qcom_battmgr.c
1282
battmgr->error = -ENODATA;
drivers/power/supply/qcom_battmgr.c
1307
battmgr->error = -ENODATA;
drivers/power/supply/qcom_battmgr.c
1356
battmgr->error = 0;
drivers/power/supply/qcom_battmgr.c
1389
battmgr->error = -ENODATA;
drivers/power/supply/qcom_battmgr.c
1397
battmgr->error = -ENODATA;
drivers/power/supply/qcom_battmgr.c
1401
battmgr->error = le32_to_cpu(resp->intval.result);
drivers/power/supply/qcom_battmgr.c
1402
if (battmgr->error)
drivers/power/supply/qcom_battmgr.c
1488
battmgr->error = -ENODATA;
drivers/power/supply/qcom_battmgr.c
1492
battmgr->error = le32_to_cpu(resp->intval.result);
drivers/power/supply/qcom_battmgr.c
1493
if (battmgr->error)
drivers/power/supply/qcom_battmgr.c
1529
battmgr->error = -ENODATA;
drivers/power/supply/qcom_battmgr.c
1533
battmgr->error = le32_to_cpu(resp->intval.result);
drivers/power/supply/qcom_battmgr.c
1534
if (battmgr->error)
drivers/power/supply/qcom_battmgr.c
1560
battmgr->error = 0;
drivers/power/supply/qcom_battmgr.c
323
int error;
drivers/power/supply/qcom_battmgr.c
350
battmgr->error = 0;
drivers/power/supply/qcom_battmgr.c
360
return battmgr->error;
drivers/power/supply/sc2731_charger.c
419
goto error;
drivers/power/supply/sc2731_charger.c
428
goto error;
drivers/power/supply/sc2731_charger.c
432
error:
drivers/power/supply/sc27xx_fuel_gauge.c
587
goto error;
drivers/power/supply/sc27xx_fuel_gauge.c
595
goto error;
drivers/power/supply/sc27xx_fuel_gauge.c
607
goto error;
drivers/power/supply/sc27xx_fuel_gauge.c
619
goto error;
drivers/power/supply/sc27xx_fuel_gauge.c
627
goto error;
drivers/power/supply/sc27xx_fuel_gauge.c
635
goto error;
drivers/power/supply/sc27xx_fuel_gauge.c
643
goto error;
drivers/power/supply/sc27xx_fuel_gauge.c
651
goto error;
drivers/power/supply/sc27xx_fuel_gauge.c
663
goto error;
drivers/power/supply/sc27xx_fuel_gauge.c
674
goto error;
drivers/power/supply/sc27xx_fuel_gauge.c
682
goto error;
drivers/power/supply/sc27xx_fuel_gauge.c
696
error:
drivers/ps3/ps3av.c
1030
int error;
drivers/ps3/ps3av.c
1037
error = ps3_vuart_port_driver_register(&ps3av_driver);
drivers/ps3/ps3av.c
1038
if (error) {
drivers/ps3/ps3av.c
1041
__func__, error);
drivers/ps3/ps3av.c
1042
return error;
drivers/ps3/ps3av.c
1046
return error;
drivers/ps3/ps3av.c
178
int error;
drivers/ps3/ps3av.c
180
error = ps3_vuart_write(dev, buf, size);
drivers/ps3/ps3av.c
182
return error ? error : size;
drivers/ps3/ps3av.c
188
int error;
drivers/ps3/ps3av.c
194
error = ps3_vuart_read(dev, buf, size);
drivers/ps3/ps3av.c
195
if (!error)
drivers/ps3/ps3av.c
197
if (error != -EAGAIN) {
drivers/ps3/ps3av.c
199
__func__, error);
drivers/ps3/ps3av.c
200
return error;
drivers/ps3/ps3stor_lib.c
109
error = 0;
drivers/ps3/ps3stor_lib.c
111
if (error)
drivers/ps3/ps3stor_lib.c
112
return error;
drivers/ps3/ps3stor_lib.c
139
int error, res, alignment;
drivers/ps3/ps3stor_lib.c
142
error = ps3stor_open_hv_device(&dev->sbd);
drivers/ps3/ps3stor_lib.c
143
if (error) {
drivers/ps3/ps3stor_lib.c
146
__LINE__, error);
drivers/ps3/ps3stor_lib.c
150
error = ps3_sb_event_receive_port_setup(&dev->sbd, PS3_BINDING_CPU_ANY,
drivers/ps3/ps3stor_lib.c
152
if (error) {
drivers/ps3/ps3stor_lib.c
155
__func__, __LINE__, error);
drivers/ps3/ps3stor_lib.c
159
error = request_irq(dev->irq, handler, 0,
drivers/ps3/ps3stor_lib.c
161
if (error) {
drivers/ps3/ps3stor_lib.c
163
__func__, __LINE__, error);
drivers/ps3/ps3stor_lib.c
173
error = -EINVAL;
drivers/ps3/ps3stor_lib.c
186
error = -ENOMEM;
drivers/ps3/ps3stor_lib.c
196
error = -ENODEV;
drivers/ps3/ps3stor_lib.c
200
error = ps3stor_probe_access(dev);
drivers/ps3/ps3stor_lib.c
201
if (error) {
drivers/ps3/ps3stor_lib.c
220
return error;
drivers/ps3/ps3stor_lib.c
231
int error;
drivers/ps3/ps3stor_lib.c
239
error = ps3_sb_event_receive_port_destroy(&dev->sbd, dev->irq);
drivers/ps3/ps3stor_lib.c
240
if (error)
drivers/ps3/ps3stor_lib.c
243
__func__, __LINE__, error);
drivers/ps3/ps3stor_lib.c
245
error = ps3stor_close_hv_device(&dev->sbd);
drivers/ps3/ps3stor_lib.c
246
if (error)
drivers/ps3/ps3stor_lib.c
249
__LINE__, error);
drivers/ps3/ps3stor_lib.c
30
int error = ps3_open_hv_device(sbd);
drivers/ps3/ps3stor_lib.c
32
if (error)
drivers/ps3/ps3stor_lib.c
33
return error;
drivers/ps3/ps3stor_lib.c
46
int error;
drivers/ps3/ps3stor_lib.c
55
error = ps3_close_hv_device(sbd);
drivers/ps3/ps3stor_lib.c
57
if (error)
drivers/ps3/ps3stor_lib.c
58
return error;
drivers/ps3/ps3stor_lib.c
78
int res, error;
drivers/ps3/ps3stor_lib.c
88
error = -EPERM;
drivers/ptp/ptp_ocp.c
116
u32 error;
drivers/pwm/pwm-crc.c
128
int error;
drivers/pwm/pwm-crc.c
130
error = regmap_read(crc_pwm->regmap, PWM0_CLK_DIV, &clk_div_reg);
drivers/pwm/pwm-crc.c
131
if (error) {
drivers/pwm/pwm-crc.c
132
dev_err(dev, "Error reading PWM0_CLK_DIV %d\n", error);
drivers/pwm/pwm-crc.c
133
return error;
drivers/pwm/pwm-crc.c
136
error = regmap_read(crc_pwm->regmap, PWM0_DUTY_CYCLE, &duty_cycle_reg);
drivers/pwm/pwm-crc.c
137
if (error) {
drivers/pwm/pwm-crc.c
138
dev_err(dev, "Error reading PWM0_DUTY_CYCLE %d\n", error);
drivers/pwm/pwm-crc.c
139
return error;
drivers/rapidio/rio-driver.c
103
return error;
drivers/rapidio/rio-driver.c
87
int error = -ENODEV;
drivers/rapidio/rio-driver.c
92
return error;
drivers/rapidio/rio-driver.c
96
error = rdrv->probe(rdev, id);
drivers/rapidio/rio-driver.c
97
if (error >= 0) {
drivers/rapidio/rio-driver.c
99
error = 0;
drivers/rapidio/rio_cm.c
183
int error;
drivers/regulator/cpcap-regulator.c
164
int error;
drivers/regulator/cpcap-regulator.c
166
error = regulator_enable_regmap(rdev);
drivers/regulator/cpcap-regulator.c
167
if (error)
drivers/regulator/cpcap-regulator.c
168
return error;
drivers/regulator/cpcap-regulator.c
171
error = regmap_update_bits(rdev->regmap, regulator->assign_reg,
drivers/regulator/cpcap-regulator.c
174
if (error)
drivers/regulator/cpcap-regulator.c
178
return error;
drivers/regulator/cpcap-regulator.c
188
int error;
drivers/regulator/cpcap-regulator.c
191
error = regmap_update_bits(rdev->regmap, regulator->assign_reg,
drivers/regulator/cpcap-regulator.c
193
if (error)
drivers/regulator/cpcap-regulator.c
194
return error;
drivers/regulator/cpcap-regulator.c
197
error = regulator_disable_regmap(rdev);
drivers/regulator/cpcap-regulator.c
198
if (error && (rdev->desc->enable_val & CPCAP_REG_OFF_MODE_SEC)) {
drivers/regulator/cpcap-regulator.c
204
return error;
drivers/regulator/da9121-regulator.c
1084
goto error;
drivers/regulator/da9121-regulator.c
1098
error:
drivers/regulator/da9121-regulator.c
1128
goto error;
drivers/regulator/da9121-regulator.c
1136
goto error;
drivers/regulator/da9121-regulator.c
1141
goto error;
drivers/regulator/da9121-regulator.c
1146
goto error;
drivers/regulator/da9121-regulator.c
1150
error:
drivers/regulator/da9121-regulator.c
199
goto error;
drivers/regulator/da9121-regulator.c
204
goto error;
drivers/regulator/da9121-regulator.c
209
goto error;
drivers/regulator/da9121-regulator.c
213
error:
drivers/regulator/da9121-regulator.c
233
goto error;
drivers/regulator/da9121-regulator.c
249
goto error;
drivers/regulator/da9121-regulator.c
253
error:
drivers/regulator/da9121-regulator.c
270
goto error;
drivers/regulator/da9121-regulator.c
275
goto error;
drivers/regulator/da9121-regulator.c
280
goto error;
drivers/regulator/da9121-regulator.c
289
error:
drivers/regulator/da9121-regulator.c
632
goto error;
drivers/regulator/da9121-regulator.c
663
goto error;
drivers/regulator/da9121-regulator.c
673
error:
drivers/regulator/da9121-regulator.c
692
goto error;
drivers/regulator/da9121-regulator.c
700
goto error;
drivers/regulator/da9121-regulator.c
750
goto error;
drivers/regulator/da9121-regulator.c
761
goto error;
drivers/regulator/da9121-regulator.c
766
error:
drivers/regulator/da9121-regulator.c
791
goto error;
drivers/regulator/da9121-regulator.c
795
error:
drivers/regulator/da9121-regulator.c
901
goto error;
drivers/regulator/da9121-regulator.c
907
goto error;
drivers/regulator/da9121-regulator.c
913
goto error;
drivers/regulator/da9121-regulator.c
975
goto error;
drivers/regulator/da9121-regulator.c
989
error:
drivers/regulator/da9210-regulator.c
106
error = regmap_write(chip->regmap, DA9210_REG_EVENT_B, handled);
drivers/regulator/da9210-regulator.c
107
if (error < 0)
drivers/regulator/da9210-regulator.c
116
dev_err(regmap_get_device(chip->regmap), "I2C error : %d\n", error);
drivers/regulator/da9210-regulator.c
137
int error;
drivers/regulator/da9210-regulator.c
145
error = PTR_ERR(chip->regmap);
drivers/regulator/da9210-regulator.c
147
error);
drivers/regulator/da9210-regulator.c
148
return error;
drivers/regulator/da9210-regulator.c
159
error = regmap_write(chip->regmap, DA9210_REG_MASK_A, ~0);
drivers/regulator/da9210-regulator.c
160
if (!error)
drivers/regulator/da9210-regulator.c
161
error = regmap_write(chip->regmap, DA9210_REG_MASK_B, ~0);
drivers/regulator/da9210-regulator.c
162
if (error) {
drivers/regulator/da9210-regulator.c
163
dev_err(&i2c->dev, "Failed to write to mask reg: %d\n", error);
drivers/regulator/da9210-regulator.c
164
return error;
drivers/regulator/da9210-regulator.c
175
error = devm_request_threaded_irq(&i2c->dev, i2c->irq, NULL,
drivers/regulator/da9210-regulator.c
180
if (error) {
drivers/regulator/da9210-regulator.c
182
i2c->irq, error);
drivers/regulator/da9210-regulator.c
183
return error;
drivers/regulator/da9210-regulator.c
186
error = regmap_update_bits(chip->regmap, DA9210_REG_MASK_B,
drivers/regulator/da9210-regulator.c
190
if (error < 0) {
drivers/regulator/da9210-regulator.c
192
error);
drivers/regulator/da9210-regulator.c
193
return error;
drivers/regulator/da9210-regulator.c
74
int error, ret = IRQ_NONE;
drivers/regulator/da9210-regulator.c
76
error = regmap_read(chip->regmap, DA9210_REG_EVENT_B, &val);
drivers/regulator/da9210-regulator.c
77
if (error < 0)
drivers/regulator/da9211-regulator.c
450
int error, ret;
drivers/regulator/da9211-regulator.c
460
error = PTR_ERR(chip->regmap);
drivers/regulator/da9211-regulator.c
462
error);
drivers/regulator/da9211-regulator.c
463
return error;
drivers/regulator/event.c
81
int error;
drivers/regulator/event.c
84
error = reg_event_genetlink_init();
drivers/regulator/event.c
85
if (error)
drivers/regulator/of_regulator.c
541
goto error;
drivers/regulator/of_regulator.c
556
goto error;
drivers/regulator/of_regulator.c
564
error:
drivers/regulator/of_regulator.c
963
goto error;
drivers/regulator/of_regulator.c
981
error:
drivers/regulator/pv88060-regulator.c
281
int error, i, ret = 0;
drivers/regulator/pv88060-regulator.c
290
error = PTR_ERR(chip->regmap);
drivers/regulator/pv88060-regulator.c
292
error);
drivers/regulator/pv88060-regulator.c
293
return error;
drivers/regulator/pv88080-regulator.c
369
int i, error, ret;
drivers/regulator/pv88080-regulator.c
379
error = PTR_ERR(chip->regmap);
drivers/regulator/pv88080-regulator.c
381
error);
drivers/regulator/pv88080-regulator.c
382
return error;
drivers/regulator/pv88090-regulator.c
274
int error, i, ret = 0;
drivers/regulator/pv88090-regulator.c
284
error = PTR_ERR(chip->regmap);
drivers/regulator/pv88090-regulator.c
286
error);
drivers/regulator/pv88090-regulator.c
287
return error;
drivers/regulator/slg51000-regulator.c
443
int error, ret;
drivers/regulator/slg51000-regulator.c
467
error = PTR_ERR(chip->regmap);
drivers/regulator/slg51000-regulator.c
469
error);
drivers/regulator/slg51000-regulator.c
470
return error;
drivers/regulator/sy8106a-regulator.c
101
error = regmap_read(regmap, SY8106A_REG_VOUT1_SEL, ®);
drivers/regulator/sy8106a-regulator.c
102
if (error)
drivers/regulator/sy8106a-regulator.c
103
return error;
drivers/regulator/sy8106a-regulator.c
109
error = regmap_write(regmap, SY8106A_REG_VOUT1_SEL,
drivers/regulator/sy8106a-regulator.c
111
if (error)
drivers/regulator/sy8106a-regulator.c
112
return error;
drivers/regulator/sy8106a-regulator.c
118
error = PTR_ERR(rdev);
drivers/regulator/sy8106a-regulator.c
119
dev_err(&i2c->dev, "Failed to register SY8106A regulator: %d\n", error);
drivers/regulator/sy8106a-regulator.c
120
return error;
drivers/regulator/sy8106a-regulator.c
72
int error;
drivers/regulator/sy8106a-regulator.c
74
error = of_property_read_u32(dev->of_node, "silergy,fixed-microvolt",
drivers/regulator/sy8106a-regulator.c
76
if (error)
drivers/regulator/sy8106a-regulator.c
77
return error;
drivers/regulator/sy8106a-regulator.c
85
error = PTR_ERR(regmap);
drivers/regulator/sy8106a-regulator.c
86
dev_err(dev, "Failed to allocate register map: %d\n", error);
drivers/regulator/sy8106a-regulator.c
87
return error;
drivers/regulator/tps65023-regulator.c
267
int error;
drivers/regulator/tps65023-regulator.c
277
error = PTR_ERR(tps->regmap);
drivers/regulator/tps65023-regulator.c
279
error);
drivers/regulator/tps65023-regulator.c
280
return error;
drivers/regulator/tps65219-regulator.c
407
int error;
drivers/regulator/tps65219-regulator.c
451
error = devm_request_threaded_irq(tps->dev, irq, NULL,
drivers/regulator/tps65219-regulator.c
456
if (error)
drivers/regulator/tps65219-regulator.c
457
return dev_err_probe(tps->dev, error,
drivers/regulator/tps65219-regulator.c
474
error = devm_request_threaded_irq(tps->dev, irq, NULL,
drivers/regulator/tps65219-regulator.c
479
if (error)
drivers/regulator/tps65219-regulator.c
480
return dev_err_probe(tps->dev, error,
drivers/regulator/tps6524x-regulator.c
144
int error = 0;
drivers/regulator/tps6524x-regulator.c
168
error = spi_sync(hw->spi, &m);
drivers/regulator/tps6524x-regulator.c
169
if (error < 0)
drivers/regulator/tps6524x-regulator.c
170
return error;
drivers/regulator/tps6524x-regulator.c
197
int error = 0;
drivers/regulator/tps6524x-regulator.c
221
error = spi_sync(hw->spi, &m);
drivers/regulator/tps6524x-regulator.c
222
if (error < 0)
drivers/regulator/tps6524x-regulator.c
223
return error;
drivers/regulator/tps6524x-regulator.c
234
return error;
drivers/regulator/tps6524x-regulator.c
262
goto error;
drivers/regulator/tps6524x-regulator.c
272
goto error;
drivers/regulator/tps6524x-regulator.c
275
error:
drivers/regulator/tps6594-regulator.c
523
int error;
drivers/regulator/tps6594-regulator.c
535
error = devm_request_threaded_irq(tps->dev, irq, NULL,
drivers/regulator/tps6594-regulator.c
538
if (error) {
drivers/regulator/tps6594-regulator.c
540
irq_type->irq_name, irq, error);
drivers/regulator/tps6594-regulator.c
541
return error;
drivers/regulator/tps6594-regulator.c
628
int error, i, irq, multi;
drivers/regulator/tps6594-regulator.c
736
error = tps6594_request_reg_irqs(pdev, rdev, irq_data,
drivers/regulator/tps6594-regulator.c
739
if (error)
drivers/regulator/tps6594-regulator.c
740
return error;
drivers/regulator/tps6594-regulator.c
742
error = tps6594_request_reg_irqs(pdev, rdev, irq_data,
drivers/regulator/tps6594-regulator.c
745
if (error)
drivers/regulator/tps6594-regulator.c
746
return error;
drivers/regulator/tps6594-regulator.c
749
error = tps6594_request_reg_irqs(pdev, rdev, irq_data,
drivers/regulator/tps6594-regulator.c
753
if (error)
drivers/regulator/tps6594-regulator.c
754
return error;
drivers/regulator/tps6594-regulator.c
757
error = tps6594_request_reg_irqs(pdev, rdev, irq_data,
drivers/regulator/tps6594-regulator.c
761
if (error)
drivers/regulator/tps6594-regulator.c
762
return error;
drivers/regulator/tps6594-regulator.c
778
error = tps6594_request_reg_irqs(pdev, rdev, irq_data,
drivers/regulator/tps6594-regulator.c
781
if (error)
drivers/regulator/tps6594-regulator.c
782
return error;
drivers/regulator/tps6594-regulator.c
795
error = tps6594_request_reg_irqs(pdev, rdev, irq_data,
drivers/regulator/tps6594-regulator.c
798
if (error)
drivers/regulator/tps6594-regulator.c
799
return error;
drivers/regulator/tps6594-regulator.c
818
error = devm_request_threaded_irq(tps->dev, irq, NULL,
drivers/regulator/tps6594-regulator.c
823
if (error)
drivers/regulator/tps6594-regulator.c
824
return dev_err_probe(tps->dev, error,
drivers/remoteproc/remoteproc_virtio.c
202
goto error;
drivers/remoteproc/remoteproc_virtio.c
208
error:
drivers/remoteproc/wkup_m3_rproc.c
62
int error = 0;
drivers/remoteproc/wkup_m3_rproc.c
64
error = reset_control_deassert(wkupm3->rsts);
drivers/remoteproc/wkup_m3_rproc.c
68
error = -ENODEV;
drivers/remoteproc/wkup_m3_rproc.c
71
return error;
drivers/remoteproc/wkup_m3_rproc.c
80
int error = 0;
drivers/remoteproc/wkup_m3_rproc.c
82
error = reset_control_assert(wkupm3->rsts);
drivers/remoteproc/wkup_m3_rproc.c
86
error = -ENODEV;
drivers/remoteproc/wkup_m3_rproc.c
89
return error;
drivers/reset/reset-rzg2l-usbphy-ctrl.c
195
int error;
drivers/reset/reset-rzg2l-usbphy-ctrl.c
209
error = rzg2l_usbphy_ctrl_pwrrdy_init(dev, priv);
drivers/reset/reset-rzg2l-usbphy-ctrl.c
210
if (error)
drivers/reset/reset-rzg2l-usbphy-ctrl.c
211
return error;
drivers/reset/reset-rzg2l-usbphy-ctrl.c
218
error = reset_control_deassert(priv->rstc);
drivers/reset/reset-rzg2l-usbphy-ctrl.c
219
if (error)
drivers/reset/reset-rzg2l-usbphy-ctrl.c
220
return error;
drivers/reset/reset-rzg2l-usbphy-ctrl.c
226
error = pm_runtime_resume_and_get(&pdev->dev);
drivers/reset/reset-rzg2l-usbphy-ctrl.c
227
if (error < 0) {
drivers/reset/reset-rzg2l-usbphy-ctrl.c
228
dev_err_probe(&pdev->dev, error, "pm_runtime_resume_and_get failed");
drivers/reset/reset-rzg2l-usbphy-ctrl.c
240
error = devm_reset_controller_register(dev, &priv->rcdev);
drivers/reset/reset-rzg2l-usbphy-ctrl.c
241
if (error)
drivers/reset/reset-rzg2l-usbphy-ctrl.c
246
error = -ENOMEM;
drivers/reset/reset-rzg2l-usbphy-ctrl.c
253
error = platform_device_add(vdev);
drivers/reset/reset-rzg2l-usbphy-ctrl.c
254
if (error)
drivers/reset/reset-rzg2l-usbphy-ctrl.c
266
return error;
drivers/reset/reset-rzv2h-usb2phy.c
150
int error;
drivers/reset/reset-rzv2h-usb2phy.c
170
error = devm_pm_runtime_enable(dev);
drivers/reset/reset-rzv2h-usb2phy.c
171
if (error)
drivers/reset/reset-rzv2h-usb2phy.c
172
return dev_err_probe(dev, error, "Failed to enable pm_runtime\n");
drivers/reset/reset-rzv2h-usb2phy.c
174
error = pm_runtime_resume_and_get(dev);
drivers/reset/reset-rzv2h-usb2phy.c
175
if (error)
drivers/reset/reset-rzv2h-usb2phy.c
176
return dev_err_probe(dev, error, "pm_runtime_resume_and_get failed\n");
drivers/rtc/rtc-bq32k.c
146
int error;
drivers/rtc/rtc-bq32k.c
181
error = bq32k_write(dev, ®, BQ32K_CFG2, 1);
drivers/rtc/rtc-bq32k.c
182
if (error)
drivers/rtc/rtc-bq32k.c
183
return error;
drivers/rtc/rtc-bq32k.c
186
error = bq32k_write(dev, ®, BQ32K_TCH2, 1);
drivers/rtc/rtc-bq32k.c
187
if (error)
drivers/rtc/rtc-bq32k.c
188
return error;
drivers/rtc/rtc-bq32k.c
198
int reg, error;
drivers/rtc/rtc-bq32k.c
200
error = bq32k_read(dev, ®, BQ32K_CFG2, 1);
drivers/rtc/rtc-bq32k.c
201
if (error)
drivers/rtc/rtc-bq32k.c
202
return error;
drivers/rtc/rtc-bq32k.c
211
int reg, enable, error;
drivers/rtc/rtc-bq32k.c
216
error = bq32k_read(dev, ®, BQ32K_CFG2, 1);
drivers/rtc/rtc-bq32k.c
217
if (error)
drivers/rtc/rtc-bq32k.c
218
return error;
drivers/rtc/rtc-bq32k.c
222
error = bq32k_write(dev, ®, BQ32K_CFG2, 1);
drivers/rtc/rtc-bq32k.c
223
if (error)
drivers/rtc/rtc-bq32k.c
224
return error;
drivers/rtc/rtc-bq32k.c
229
error = bq32k_write(dev, ®, BQ32K_CFG2, 1);
drivers/rtc/rtc-bq32k.c
230
if (error)
drivers/rtc/rtc-bq32k.c
231
return error;
drivers/rtc/rtc-bq32k.c
258
int error;
drivers/rtc/rtc-bq32k.c
264
error = bq32k_read(dev, ®, BQ32K_SECONDS, 1);
drivers/rtc/rtc-bq32k.c
265
if (!error && (reg & BQ32K_STOP)) {
drivers/rtc/rtc-bq32k.c
268
error = bq32k_write(dev, ®, BQ32K_SECONDS, 1);
drivers/rtc/rtc-bq32k.c
270
if (error)
drivers/rtc/rtc-bq32k.c
271
return error;
drivers/rtc/rtc-bq32k.c
274
error = bq32k_read(dev, ®, BQ32K_MINUTES, 1);
drivers/rtc/rtc-bq32k.c
275
if (error)
drivers/rtc/rtc-bq32k.c
276
return error;
drivers/rtc/rtc-bq32k.c
288
error = bq32k_sysfs_register(&client->dev);
drivers/rtc/rtc-bq32k.c
289
if (error) {
drivers/rtc/rtc-bq32k.c
292
return error;
drivers/rtc/rtc-bq32k.c
93
int error;
drivers/rtc/rtc-bq32k.c
95
error = bq32k_read(dev, ®s, 0, sizeof(regs));
drivers/rtc/rtc-bq32k.c
96
if (error)
drivers/rtc/rtc-bq32k.c
97
return error;
drivers/rtc/rtc-rp5c01.c
223
int error;
drivers/rtc/rtc-rp5c01.c
258
error = devm_rtc_nvmem_register(rtc, &nvmem_cfg);
drivers/rtc/rtc-rp5c01.c
259
if (error)
drivers/rtc/rtc-rp5c01.c
260
return error;
drivers/s390/block/dasd.c
2686
blk_status_t error = BLK_STS_OK;
drivers/s390/block/dasd.c
2696
error = errno_to_blk_status(status);
drivers/s390/block/dasd.c
2705
error = BLK_STS_RESV_CONFLICT;
drivers/s390/block/dasd.c
2708
error = BLK_STS_TRANSPORT;
drivers/s390/block/dasd.c
2711
error = BLK_STS_TIMEOUT;
drivers/s390/block/dasd.c
2714
error = BLK_STS_IOERR;
drivers/s390/block/dasd.c
2725
if (error) {
drivers/s390/block/dasd.c
2726
blk_mq_end_request(req, error);
drivers/s390/block/dasd_ioctl.c
561
int error;
drivers/s390/block/dasd_ioctl.c
567
error = __dasd_ioctl_information(block, dasd_info);
drivers/s390/block/dasd_ioctl.c
568
if (!error && copy_to_user(argp, dasd_info, copy_size))
drivers/s390/block/dasd_ioctl.c
569
error = -EFAULT;
drivers/s390/block/dasd_ioctl.c
571
return error;
drivers/s390/block/dasd_ioctl.c
713
int error;
drivers/s390/block/dasd_ioctl.c
721
error = __dasd_ioctl_information(base->block, info);
drivers/s390/block/dasd_ioctl.c
723
return error;
drivers/s390/block/scm_blk.c
230
scmrq->error = BLK_STS_OK;
drivers/s390/block/scm_blk.c
251
blk_status_t *error;
drivers/s390/block/scm_blk.c
255
error = blk_mq_rq_to_pdu(scmrq->request[i]);
drivers/s390/block/scm_blk.c
256
*error = scmrq->error;
drivers/s390/block/scm_blk.c
357
if (scmrq->error == BLK_STS_TIMEOUT)
drivers/s390/block/scm_blk.c
367
scmrq->error);
drivers/s390/block/scm_blk.c
375
if (scmrq->error != BLK_STS_IOERR)
drivers/s390/block/scm_blk.c
400
void scm_blk_irq(struct scm_device *scmdev, void *data, blk_status_t error)
drivers/s390/block/scm_blk.c
404
scmrq->error = error;
drivers/s390/block/scm_blk.c
405
if (error) {
drivers/s390/block/scm_blk.c
418
blk_status_t *error = blk_mq_rq_to_pdu(req);
drivers/s390/block/scm_blk.c
420
blk_mq_end_request(req, *error);
drivers/s390/block/scm_blk.h
35
blk_status_t error;
drivers/s390/cio/ccwgroup.c
342
goto error;
drivers/s390/cio/ccwgroup.c
353
goto error;
drivers/s390/cio/ccwgroup.c
360
goto error;
drivers/s390/cio/ccwgroup.c
368
goto error;
drivers/s390/cio/ccwgroup.c
373
goto error;
drivers/s390/cio/ccwgroup.c
379
goto error;
drivers/s390/cio/ccwgroup.c
388
goto error;
drivers/s390/cio/ccwgroup.c
392
goto error;
drivers/s390/cio/ccwgroup.c
396
goto error;
drivers/s390/cio/ccwgroup.c
400
error:
drivers/s390/cio/chp.c
257
int error;
drivers/s390/cio/chp.c
268
error = s390_vary_chpid(cp->chpid, 1);
drivers/s390/cio/chp.c
272
error = s390_vary_chpid(cp->chpid, 0);
drivers/s390/cio/chp.c
275
error = -EINVAL;
drivers/s390/cio/chp.c
277
return error < 0 ? error : count;
drivers/s390/cio/device.c
305
goto error;
drivers/s390/cio/device.c
327
error:
drivers/s390/cio/device.c
418
goto error;
drivers/s390/cio/device.c
426
error:
drivers/s390/cio/eadm_sch.c
128
blk_status_t error = BLK_STS_OK;
drivers/s390/cio/eadm_sch.c
137
error = BLK_STS_IOERR;
drivers/s390/cio/eadm_sch.c
140
error = BLK_STS_TIMEOUT;
drivers/s390/cio/eadm_sch.c
151
scm_irq_handler(dma32_to_virt(scsw->aob), error);
drivers/s390/cio/qdio_main.c
443
unsigned int *error)
drivers/s390/cio/qdio_main.c
476
*error = QDIO_ERROR_SLSB_STATE;
drivers/s390/cio/qdio_main.c
502
unsigned int *bufnr, unsigned int *error)
drivers/s390/cio/qdio_main.c
514
*error = 0;
drivers/s390/cio/qdio_main.c
516
count = get_inbound_buffer_frontier(q, start, error);
drivers/s390/cio/qdio_main.c
545
unsigned int *error)
drivers/s390/cio/qdio_main.c
565
*error = QDIO_ERROR_SLSB_PENDING;
drivers/s390/cio/qdio_main.c
580
*error = QDIO_ERROR_SLSB_STATE;
drivers/s390/cio/qdio_main.c
606
unsigned int *bufnr, unsigned int *error)
drivers/s390/cio/qdio_main.c
618
*error = 0;
drivers/s390/cio/qdio_main.c
620
count = get_outbound_buffer_frontier(q, start, error);
drivers/s390/cio/qdio_main.c
731
goto error;
drivers/s390/cio/qdio_main.c
733
goto error;
drivers/s390/cio/qdio_main.c
737
goto error;
drivers/s390/cio/qdio_main.c
741
error:
drivers/s390/cio/scm.c
77
void scm_irq_handler(struct aob *aob, blk_status_t error)
drivers/s390/cio/scm.c
83
scmdrv->handler(scmdev, aobrq->data, error);
drivers/s390/net/qeth_core_main.c
1344
struct qeth_qdio_out_buffer *buf, bool error,
drivers/s390/net/qeth_core_main.c
1355
if (error) {
drivers/s390/net/qeth_core_main.c
1368
if (!error) {
drivers/s390/net/qeth_core_main.c
1385
bool error, int budget)
drivers/s390/net/qeth_core_main.c
1395
qeth_tx_complete_buf(queue, buf, error, budget);
drivers/s390/net/qeth_core_main.c
5828
unsigned int start, error;
drivers/s390/net/qeth_core_main.c
5832
&error);
drivers/s390/net/qeth_core_main.c
5836
qeth_qdio_cq_handler(card, error, 1, start, completed);
drivers/s390/net/qeth_core_main.c
5887
bool error = !!qdio_error;
drivers/s390/net/qeth_core_main.c
5924
error = !!aob->aorc;
drivers/s390/net/qeth_core_main.c
5931
qeth_clear_output_buffer(queue, buffer, error, budget);
drivers/s390/net/qeth_core_main.c
5949
unsigned int start, error, i;
drivers/s390/net/qeth_core_main.c
5970
&start, &error);
drivers/s390/net/qeth_core_main.c
5987
qeth_handle_send_error(card, buffer, error);
drivers/s390/net/qeth_core_main.c
5989
qeth_iqd_tx_complete(queue, bidx, error, budget);
drivers/s390/net/qeth_core_main.c
5991
qeth_clear_output_buffer(queue, buffer, error,
drivers/s390/net/qeth_l2_main.c
2218
bool enable, error = false;
drivers/s390/net/qeth_l2_main.c
2244
error = true;
drivers/s390/net/qeth_l2_main.c
2258
error |= qeth_l2_vnicc_recover_timeout(card, QETH_VNICC_LEARNING,
drivers/s390/net/qeth_l2_main.c
2267
error |= qeth_l2_vnicc_recover_char(card, vnicc, enable);
drivers/s390/net/qeth_l2_main.c
2269
if (error)
drivers/s390/scsi/zfcp_qdio.c
165
unsigned int start, error;
drivers/s390/scsi/zfcp_qdio.c
172
completed = qdio_inspect_input_queue(cdev, 0, &start, &error);
drivers/s390/scsi/zfcp_qdio.c
176
zfcp_qdio_int_resp(cdev, error, 0, start, completed,
drivers/s390/scsi/zfcp_qdio.c
78
unsigned int start, error;
drivers/s390/scsi/zfcp_qdio.c
81
completed = qdio_inspect_output_queue(cdev, 0, &start, &error);
drivers/s390/scsi/zfcp_qdio.c
83
if (error) {
drivers/s390/scsi/zfcp_qdio.c
84
zfcp_qdio_handler_error(qdio, "qdreqt1", error);
drivers/sbus/char/display7seg.c
106
int error = 0;
drivers/sbus/char/display7seg.c
119
error = -EFAULT;
drivers/sbus/char/display7seg.c
139
error = -EFAULT;
drivers/sbus/char/display7seg.c
152
return error;
drivers/sbus/char/openprom.c
295
int bufsize, error = 0;
drivers/sbus/char/openprom.c
312
error = opromgetprop(argp, dp, opp, bufsize);
drivers/sbus/char/openprom.c
317
error = opromnxtprop(argp, dp, opp, bufsize);
drivers/sbus/char/openprom.c
322
error = opromsetopt(dp, opp, bufsize);
drivers/sbus/char/openprom.c
328
error = opromnext(argp, cmd, dp, opp, bufsize, data);
drivers/sbus/char/openprom.c
332
error = oprompci2node(argp, dp, opp, bufsize, data);
drivers/sbus/char/openprom.c
336
error = oprompath2node(argp, dp, opp, bufsize, data);
drivers/sbus/char/openprom.c
340
error = opromgetbootargs(argp, opp, bufsize);
drivers/sbus/char/openprom.c
348
error = -EINVAL;
drivers/sbus/char/openprom.c
353
error = -EINVAL;
drivers/sbus/char/openprom.c
360
return error;
drivers/sbus/char/oradax.c
454
goto error;
drivers/sbus/char/oradax.c
464
goto error;
drivers/sbus/char/oradax.c
474
goto error;
drivers/sbus/char/oradax.c
484
goto error;
drivers/sbus/char/oradax.c
495
error:
drivers/scsi/3w-9xxx.c
1003
error = le16_to_cpu(full_command_packet->header.status_block.error);
drivers/scsi/3w-9xxx.c
1004
if ((error != TW_ERROR_LOGICAL_UNIT_NOT_SUPPORTED) && (error != TW_ERROR_UNIT_OFFLINE)) {
drivers/scsi/3w-9xxx.c
1008
TW_MESSAGE_SOURCE_CONTROLLER_ERROR, error,
drivers/scsi/3w-9xxx.c
1009
error_str[0] ? error_str : twa_string_lookup(twa_error_table, error),
drivers/scsi/3w-9xxx.c
1013
TW_MESSAGE_SOURCE_CONTROLLER_ERROR, error,
drivers/scsi/3w-9xxx.c
1014
error_str[0] ? error_str : twa_string_lookup(twa_error_table, error),
drivers/scsi/3w-9xxx.c
1218
int request_id, error = 0;
drivers/scsi/3w-9xxx.c
1259
error = twa_aen_read_queue(tw_dev, request_id);
drivers/scsi/3w-9xxx.c
1260
if (error) {
drivers/scsi/3w-9xxx.c
1298
error = 0;
drivers/scsi/3w-9xxx.c
1302
error = twa_fill_sense(tw_dev, request_id, 1, 1);
drivers/scsi/3w-9xxx.c
1306
error = twa_fill_sense(tw_dev, request_id, 0, 1);
drivers/scsi/3w-9xxx.c
1336
if (error == 0) {
drivers/scsi/3w-9xxx.c
1341
if (error == 1) {
drivers/scsi/3w-9xxx.c
1816
full_command_packet->header.status_block.error = 0;
drivers/scsi/3w-9xxx.c
238
aen = le16_to_cpu(header->status_block.error);
drivers/scsi/3w-9xxx.c
335
aen = le16_to_cpu(header->status_block.error);
drivers/scsi/3w-9xxx.c
394
aen = le16_to_cpu(header->status_block.error);
drivers/scsi/3w-9xxx.c
993
unsigned short error;
drivers/scsi/3w-9xxx.h
546
__le16 error;
drivers/scsi/3w-sas.c
1122
int i, handled = 0, error = 0;
drivers/scsi/3w-sas.c
1160
error = 0;
drivers/scsi/3w-sas.c
1169
error = twl_fill_sense(tw_dev, i, request_id, 1, 1);
drivers/scsi/3w-sas.c
1173
error = twl_fill_sense(tw_dev, i, request_id, 0, 1);
drivers/scsi/3w-sas.c
1210
if (!error)
drivers/scsi/3w-sas.c
240
aen = le16_to_cpu(header->status_block.error);
drivers/scsi/3w-sas.c
309
full_command_packet->header.status_block.error = 0;
drivers/scsi/3w-sas.c
476
aen = le16_to_cpu(header->status_block.error);
drivers/scsi/3w-sas.c
603
aen = le16_to_cpu(header->status_block.error);
drivers/scsi/3w-sas.c
863
unsigned short error;
drivers/scsi/3w-sas.c
873
error = le16_to_cpu(header->status_block.error);
drivers/scsi/3w-sas.c
874
if ((error != TW_ERROR_LOGICAL_UNIT_NOT_SUPPORTED) && (error != TW_ERROR_UNIT_OFFLINE) && (error != TW_ERROR_INVALID_FIELD_IN_CDB)) {
drivers/scsi/3w-sas.c
879
header->status_block.error,
drivers/scsi/3w-sas.c
885
header->status_block.error,
drivers/scsi/3w-sas.h
274
unsigned short error;
drivers/scsi/3w-xxxx.c
1206
int error = 0;
drivers/scsi/3w-xxxx.c
1214
error = tw_aen_drain_queue(tw_dev);
drivers/scsi/3w-xxxx.c
1215
if (error) {
drivers/scsi/3w-xxxx.c
1237
error = tw_initconnection(tw_dev, TW_INIT_MESSAGE_CREDITS);
drivers/scsi/3w-xxxx.c
1238
if (error) {
drivers/scsi/3w-xxxx.c
1243
error = tw_setfeature(tw_dev, 2, 1, &c);
drivers/scsi/3w-xxxx.c
1244
if (error) {
drivers/scsi/3w-xxxx.c
1254
int i, error=0;
drivers/scsi/3w-xxxx.c
1259
error = tw_allocate_memory(tw_dev, sizeof(TW_Command), 0);
drivers/scsi/3w-xxxx.c
1260
if (error) {
drivers/scsi/3w-xxxx.c
1266
error = tw_allocate_memory(tw_dev, sizeof(TW_Sector), 1);
drivers/scsi/3w-xxxx.c
1267
if (error) {
drivers/scsi/3w-xxxx.c
2003
int error = 0, retval = 0;
drivers/scsi/3w-xxxx.c
2043
error = tw_aen_read_queue(tw_dev, request_id);
drivers/scsi/3w-xxxx.c
2044
if (error) {
drivers/scsi/3w-xxxx.c
2085
error = 0;
drivers/scsi/3w-xxxx.c
2093
error = tw_decode_sense(tw_dev, request_id, 1);
drivers/scsi/3w-xxxx.c
2101
error = 1;
drivers/scsi/3w-xxxx.c
2132
error = tw_scsiop_test_unit_ready_complete(tw_dev, request_id);
drivers/scsi/3w-xxxx.c
2136
error = tw_scsiop_inquiry_complete(tw_dev, request_id);
drivers/scsi/3w-xxxx.c
2140
error = tw_scsiop_read_capacity_complete(tw_dev, request_id);
drivers/scsi/3w-xxxx.c
2144
error = tw_scsiop_mode_sense_complete(tw_dev, request_id);
drivers/scsi/3w-xxxx.c
2151
error = 1;
drivers/scsi/3w-xxxx.c
2155
if (error == 0) {
drivers/scsi/3w-xxxx.c
2160
if (error == 1) {
drivers/scsi/3w-xxxx.c
2166
if ((error != TW_ISR_DONT_COMPLETE)) {
drivers/scsi/3w-xxxx.c
613
int error = 0, table_max = 0;
drivers/scsi/3w-xxxx.c
658
error = tw_aen_read_queue(tw_dev, request_id);
drivers/scsi/3w-xxxx.c
659
if (error) {
drivers/scsi/a100u2w.c
1086
int error = -ENODEV;
drivers/scsi/a100u2w.c
1153
error = request_irq(pdev->irq, inia100_intr, IRQF_SHARED,
drivers/scsi/a100u2w.c
1155
if (error < 0) {
drivers/scsi/a100u2w.c
1163
error = scsi_add_host(shost, &pdev->dev);
drivers/scsi/a100u2w.c
1164
if (error)
drivers/scsi/a100u2w.c
1187
return error;
drivers/scsi/a2091.c
203
int error;
drivers/scsi/a2091.c
219
error = -ENOMEM;
drivers/scsi/a2091.c
240
error = request_irq(IRQ_AMIGA_PORTS, a2091_intr, IRQF_SHARED,
drivers/scsi/a2091.c
242
if (error)
drivers/scsi/a2091.c
247
error = scsi_add_host(instance, NULL);
drivers/scsi/a2091.c
248
if (error)
drivers/scsi/a2091.c
262
return error;
drivers/scsi/a3000.c
220
int error;
drivers/scsi/a3000.c
240
error = -ENOMEM;
drivers/scsi/a3000.c
260
error = request_irq(IRQ_AMIGA_PORTS, a3000_intr, IRQF_SHARED,
drivers/scsi/a3000.c
262
if (error)
drivers/scsi/a3000.c
267
error = scsi_add_host(instance, NULL);
drivers/scsi/a3000.c
268
if (error)
drivers/scsi/a3000.c
282
return error;
drivers/scsi/aacraid/linit.c
1584
int error;
drivers/scsi/aacraid/linit.c
1606
error = pci_enable_device(pdev);
drivers/scsi/aacraid/linit.c
1607
if (error)
drivers/scsi/aacraid/linit.c
1611
error = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32));
drivers/scsi/aacraid/linit.c
1612
if (error) {
drivers/scsi/aacraid/linit.c
1630
error = dma_set_coherent_mask(&pdev->dev, dmamask);
drivers/scsi/aacraid/linit.c
1631
if (error) {
drivers/scsi/aacraid/linit.c
1641
error = -ENOMEM;
drivers/scsi/aacraid/linit.c
1666
error = -ENOMEM;
drivers/scsi/aacraid/linit.c
1683
error = -ENODEV;
drivers/scsi/aacraid/linit.c
1708
error = PTR_ERR(aac->thread);
drivers/scsi/aacraid/linit.c
1714
error = aac_get_adapter_info(aac);
drivers/scsi/aacraid/linit.c
1715
if (error < 0)
drivers/scsi/aacraid/linit.c
1779
error = scsi_add_host(shost, &pdev->dev);
drivers/scsi/aacraid/linit.c
1780
if (error)
drivers/scsi/aacraid/linit.c
1805
return error;
drivers/scsi/aacraid/linit.c
1932
pci_channel_state_t error)
drivers/scsi/aacraid/linit.c
1937
dev_err(&pdev->dev, "aacraid: PCI error detected %x\n", error);
drivers/scsi/aacraid/linit.c
1939
switch (error) {
drivers/scsi/aacraid/linit.c
2051
int error;
drivers/scsi/aacraid/linit.c
2056
error = pci_register_driver(&aac_pci_driver);
drivers/scsi/aacraid/linit.c
2057
if (error < 0)
drivers/scsi/aacraid/linit.c
2058
return error;
drivers/scsi/advansys.c
11514
int error;
drivers/scsi/advansys.c
11516
error = isa_register_driver(&advansys_vlb_driver,
drivers/scsi/advansys.c
11518
if (error)
drivers/scsi/advansys.c
11521
error = eisa_driver_register(&advansys_eisa_driver);
drivers/scsi/advansys.c
11522
if (error)
drivers/scsi/advansys.c
11525
error = pci_register_driver(&advansys_pci_driver);
drivers/scsi/advansys.c
11526
if (error)
drivers/scsi/advansys.c
11536
return error;
drivers/scsi/aic7xxx/aic7770.c
106
int error;
drivers/scsi/aic7xxx/aic7770.c
112
error = entry->setup(ahc);
drivers/scsi/aic7xxx/aic7770.c
114
if (error != 0)
drivers/scsi/aic7xxx/aic7770.c
115
return (error);
drivers/scsi/aic7xxx/aic7770.c
117
error = aic7770_map_registers(ahc, io);
drivers/scsi/aic7xxx/aic7770.c
118
if (error != 0)
drivers/scsi/aic7xxx/aic7770.c
119
return (error);
drivers/scsi/aic7xxx/aic7770.c
130
error = ahc_softc_init(ahc);
drivers/scsi/aic7xxx/aic7770.c
131
if (error != 0)
drivers/scsi/aic7xxx/aic7770.c
132
return (error);
drivers/scsi/aic7xxx/aic7770.c
136
error = ahc_reset(ahc, /*reinit*/FALSE);
drivers/scsi/aic7xxx/aic7770.c
137
if (error != 0)
drivers/scsi/aic7xxx/aic7770.c
138
return (error);
drivers/scsi/aic7xxx/aic7770.c
223
error = ahc_init(ahc);
drivers/scsi/aic7xxx/aic7770.c
224
if (error != 0)
drivers/scsi/aic7xxx/aic7770.c
225
return (error);
drivers/scsi/aic7xxx/aic7770.c
227
error = aic7770_map_int(ahc, irq);
drivers/scsi/aic7xxx/aic7770.c
228
if (error != 0)
drivers/scsi/aic7xxx/aic7770.c
229
return (error);
drivers/scsi/aic7xxx/aic7770.c
342
int error;
drivers/scsi/aic7xxx/aic7770.c
344
error = ahc_aic7770_setup(ahc);
drivers/scsi/aic7xxx/aic7770.c
346
return (error);
drivers/scsi/aic7xxx/aic7770.c
352
int error;
drivers/scsi/aic7xxx/aic7770.c
354
error = ahc_aic7770_setup(ahc);
drivers/scsi/aic7xxx/aic7770.c
356
return (error);
drivers/scsi/aic7xxx/aic7770_osm.c
100
return error < 0 ? error : -error;
drivers/scsi/aic7xxx/aic7770_osm.c
105
error = ahc_linux_register_host(ahc, &aic7xxx_driver_template);
drivers/scsi/aic7xxx/aic7770_osm.c
106
return (error);
drivers/scsi/aic7xxx/aic7770_osm.c
63
int error;
drivers/scsi/aic7xxx/aic7770_osm.c
70
error = request_irq(irq, ahc_linux_isr, shared, "aic7xxx", ahc);
drivers/scsi/aic7xxx/aic7770_osm.c
71
if (error == 0)
drivers/scsi/aic7xxx/aic7770_osm.c
74
return (-error);
drivers/scsi/aic7xxx/aic7770_osm.c
85
int error;
drivers/scsi/aic7xxx/aic7770_osm.c
95
error = aic7770_config(ahc, aic7770_ident_table + edev->id.driver_data,
drivers/scsi/aic7xxx/aic7770_osm.c
97
if (error != 0) {
drivers/scsi/aic7xxx/aic79xx_core.c
10012
error = ahd_wait_seeprom(ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
10013
if (error)
drivers/scsi/aic7xxx/aic79xx_core.c
10014
return (error);
drivers/scsi/aic7xxx/aic79xx_core.c
10102
int error;
drivers/scsi/aic7xxx/aic79xx_core.c
10104
error = ahd_read_flexport(ahd, FLXADDR_ROMSTAT_CURSENSECTL, &seetype);
drivers/scsi/aic7xxx/aic79xx_core.c
10105
if (error != 0
drivers/scsi/aic7xxx/aic79xx_core.c
10139
int error;
drivers/scsi/aic7xxx/aic79xx_core.c
10145
error = ahd_wait_flexport(ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
10146
if (error != 0)
drivers/scsi/aic7xxx/aic79xx_core.c
10147
return (error);
drivers/scsi/aic7xxx/aic79xx_core.c
10162
int error;
drivers/scsi/aic7xxx/aic79xx_core.c
10168
error = ahd_wait_flexport(ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
10169
if (error != 0)
drivers/scsi/aic7xxx/aic79xx_core.c
10170
return (error);
drivers/scsi/aic7xxx/aic79xx_core.c
1704
int error;
drivers/scsi/aic7xxx/aic79xx_core.c
1706
error = ahd_inb(ahd, ERROR);
drivers/scsi/aic7xxx/aic79xx_core.c
1708
if ((error & ahd_hard_errors[i].errno) != 0)
drivers/scsi/aic7xxx/aic79xx_core.c
2265
cam_status error;
drivers/scsi/aic7xxx/aic79xx_core.c
2280
error = CAM_REQ_ABORTED;
drivers/scsi/aic7xxx/aic79xx_core.c
2283
error);
drivers/scsi/aic7xxx/aic79xx_core.c
2293
error = CAM_BDR_SENT;
drivers/scsi/aic7xxx/aic79xx_core.c
6327
ahd_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error)
drivers/scsi/aic7xxx/aic79xx_core.c
6993
int error;
drivers/scsi/aic7xxx/aic79xx_core.c
7127
error = ahd_write_flexport(ahd, FLXADDR_ROMSTAT_CURSENSECTL,
drivers/scsi/aic7xxx/aic79xx_core.c
7129
if (error != 0) {
drivers/scsi/aic7xxx/aic79xx_core.c
7135
error = ahd_read_flexport(ahd, FLXADDR_FLEXSTAT, &fstat);
drivers/scsi/aic7xxx/aic79xx_core.c
7136
if (error != 0) {
drivers/scsi/aic7xxx/aic79xx_core.c
7149
error = ahd_read_flexport(ahd, FLXADDR_CURRENT_STAT, ¤t_sensing);
drivers/scsi/aic7xxx/aic79xx_core.c
7150
if (error != 0) {
drivers/scsi/aic7xxx/aic79xx_core.c
7753
int error;
drivers/scsi/aic7xxx/aic79xx_core.c
7755
error = ahd_verify_vpd_cksum(vpd);
drivers/scsi/aic7xxx/aic79xx_core.c
7756
if (error == 0)
drivers/scsi/aic7xxx/aic79xx_core.c
9933
int error;
drivers/scsi/aic7xxx/aic79xx_core.c
9939
error = EINVAL;
drivers/scsi/aic7xxx/aic79xx_core.c
9947
error = ahd_wait_seeprom(ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
9948
if (error)
drivers/scsi/aic7xxx/aic79xx_core.c
9964
return (error);
drivers/scsi/aic7xxx/aic79xx_core.c
9978
int error;
drivers/scsi/aic7xxx/aic79xx_core.c
9982
error = ENOENT;
drivers/scsi/aic7xxx/aic79xx_core.c
9987
error = ahd_wait_seeprom(ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
9988
if (error)
drivers/scsi/aic7xxx/aic79xx_core.c
9989
return (error);
drivers/scsi/aic7xxx/aic79xx_osm.c
2835
int error = 0;
drivers/scsi/aic7xxx/aic79xx_osm.c
2851
error = ahd_linux_pci_init();
drivers/scsi/aic7xxx/aic79xx_osm.c
2852
if (error)
drivers/scsi/aic7xxx/aic79xx_osm.c
2854
return error;
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
144
int error;
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
188
error = ahd_pci_config(ahd, entry);
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
189
if (error != 0) {
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
191
return (-error);
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
261
int error = 0;
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
275
error = ENOMEM;
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
276
if (!error) {
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
279
error = ENOMEM;
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
285
error = ENOMEM;
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
286
return (error);
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
295
int error;
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
304
error = ahd_linux_pci_reserve_mem_region(ahd, &base, &maddr);
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
305
if (error == 0) {
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
340
error = ahd_linux_pci_reserve_io_regions(ahd, &base, &base2);
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
341
if (error == 0) {
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
358
return (error);
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
364
int error;
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
366
error = request_irq(ahd->dev_softc->irq, ahd_linux_isr,
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
368
if (!error)
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
371
return (-error);
drivers/scsi/aic7xxx/aic79xx_pci.c
294
int error;
drivers/scsi/aic7xxx/aic79xx_pci.c
305
error = entry->setup(ahd);
drivers/scsi/aic7xxx/aic79xx_pci.c
306
if (error != 0)
drivers/scsi/aic7xxx/aic79xx_pci.c
307
return (error);
drivers/scsi/aic7xxx/aic79xx_pci.c
321
error = ahd_pci_map_registers(ahd);
drivers/scsi/aic7xxx/aic79xx_pci.c
322
if (error != 0)
drivers/scsi/aic7xxx/aic79xx_pci.c
323
return (error);
drivers/scsi/aic7xxx/aic79xx_pci.c
347
error = ahd_softc_init(ahd);
drivers/scsi/aic7xxx/aic79xx_pci.c
348
if (error != 0)
drivers/scsi/aic7xxx/aic79xx_pci.c
349
return (error);
drivers/scsi/aic7xxx/aic79xx_pci.c
353
error = ahd_reset(ahd, /*reinit*/FALSE);
drivers/scsi/aic7xxx/aic79xx_pci.c
354
if (error != 0)
drivers/scsi/aic7xxx/aic79xx_pci.c
364
error = ahd_check_extport(ahd);
drivers/scsi/aic7xxx/aic79xx_pci.c
365
if (error != 0)
drivers/scsi/aic7xxx/aic79xx_pci.c
366
return (error);
drivers/scsi/aic7xxx/aic79xx_pci.c
369
error = ahd_init(ahd);
drivers/scsi/aic7xxx/aic79xx_pci.c
370
if (error != 0)
drivers/scsi/aic7xxx/aic79xx_pci.c
371
return (error);
drivers/scsi/aic7xxx/aic79xx_pci.c
417
int error;
drivers/scsi/aic7xxx/aic79xx_pci.c
420
error = EIO;
drivers/scsi/aic7xxx/aic79xx_pci.c
478
error = 0;
drivers/scsi/aic7xxx/aic79xx_pci.c
496
return (error);
drivers/scsi/aic7xxx/aic79xx_pci.c
510
int error;
drivers/scsi/aic7xxx/aic79xx_pci.c
528
error = ahd_read_seeprom(ahd, (uint16_t *)&vpd,
drivers/scsi/aic7xxx/aic79xx_pci.c
531
if (error == 0)
drivers/scsi/aic7xxx/aic79xx_pci.c
532
error = ahd_parse_vpddata(ahd, &vpd);
drivers/scsi/aic7xxx/aic79xx_pci.c
536
error == 0 ? "successful" : "failed");
drivers/scsi/aic7xxx/aic79xx_pci.c
544
error = ahd_read_seeprom(ahd, (uint16_t *)sc,
drivers/scsi/aic7xxx/aic79xx_pci.c
548
if (error != 0) {
drivers/scsi/aic7xxx/aic79xx_pci.c
620
error = ahd_default_config(ahd);
drivers/scsi/aic7xxx/aic79xx_pci.c
625
error = ahd_parse_cfgdata(ahd, sc);
drivers/scsi/aic7xxx/aic79xx_pci.c
628
if (error != 0)
drivers/scsi/aic7xxx/aic79xx_pci.c
629
return (error);
drivers/scsi/aic7xxx/aic79xx_pci.c
639
int error;
drivers/scsi/aic7xxx/aic79xx_pci.c
661
error = ahd_read_flexport(ahd, FLXADDR_TERMCTL, &termctl);
drivers/scsi/aic7xxx/aic79xx_pci.c
671
} else if (error != 0) {
drivers/scsi/aic7xxx/aic79xx_pci.c
686
} else if (error != 0) {
drivers/scsi/aic7xxx/aic79xx_pci.c
705
error = ahd_write_flexport(ahd, FLXADDR_TERMCTL, termctl);
drivers/scsi/aic7xxx/aic79xx_pci.c
706
if (error != 0) {
drivers/scsi/aic7xxx/aic7xxx_core.c
4553
int error;
drivers/scsi/aic7xxx/aic7xxx_core.c
4636
error = 0;
drivers/scsi/aic7xxx/aic7xxx_core.c
4642
error = ahc->bus_chip_init(ahc);
drivers/scsi/aic7xxx/aic7xxx_core.c
4648
return (error);
drivers/scsi/aic7xxx/aic7xxx_core.c
4672
ahc_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error)
drivers/scsi/aic7xxx/aic7xxx_core.c
5042
int error;
drivers/scsi/aic7xxx/aic7xxx_core.c
5199
error = ahc_loadseq(ahc);
drivers/scsi/aic7xxx/aic7xxx_core.c
5200
if (error != 0)
drivers/scsi/aic7xxx/aic7xxx_core.c
5201
return (error);
drivers/scsi/aic7xxx/aic7xxx_core.c
7336
int error;
drivers/scsi/aic7xxx/aic7xxx_core.c
7428
error = ahc_loadseq(ahc);
drivers/scsi/aic7xxx/aic7xxx_core.c
7429
if (error != 0) {
drivers/scsi/aic7xxx/aic7xxx_core.c
955
int error;
drivers/scsi/aic7xxx/aic7xxx_core.c
957
error = ahc_inb(ahc, ERROR);
drivers/scsi/aic7xxx/aic7xxx_core.c
958
for (i = 0; error != 1 && i < num_errors; i++)
drivers/scsi/aic7xxx/aic7xxx_core.c
959
error >>= 1;
drivers/scsi/aic7xxx/aic7xxx_osm.c
730
int error;
drivers/scsi/aic7xxx/aic7xxx_osm.c
732
error = ahc_linux_queue_recovery_cmd(cmd->device, cmd);
drivers/scsi/aic7xxx/aic7xxx_osm.c
733
if (error != SUCCESS)
drivers/scsi/aic7xxx/aic7xxx_osm.c
734
printk("aic7xxx_abort returns 0x%x\n", error);
drivers/scsi/aic7xxx/aic7xxx_osm.c
735
return (error);
drivers/scsi/aic7xxx/aic7xxx_osm.c
744
int error;
drivers/scsi/aic7xxx/aic7xxx_osm.c
746
error = ahc_linux_queue_recovery_cmd(cmd->device, NULL);
drivers/scsi/aic7xxx/aic7xxx_osm.c
747
if (error != SUCCESS)
drivers/scsi/aic7xxx/aic7xxx_osm.c
748
printk("aic7xxx_dev_reset returns 0x%x\n", error);
drivers/scsi/aic7xxx/aic7xxx_osm.c
749
return (error);
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
187
int error;
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
230
error = ahc_pci_config(ahc, entry);
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
231
if (error != 0) {
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
233
return (-error);
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
341
int error;
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
343
error = 0;
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
348
error = ENOMEM;
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
349
if (error == 0) {
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
352
error = ENOMEM;
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
357
error = ENOMEM;
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
358
return (error);
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
367
int error;
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
376
error = ahc_linux_pci_reserve_mem_region(ahc, &base, &maddr);
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
377
if (error == 0) {
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
416
error = ahc_linux_pci_reserve_io_region(ahc, &base);
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
417
if (error == 0) {
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
431
return (error);
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
437
int error;
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
439
error = request_irq(ahc->dev_softc->irq, ahc_linux_isr,
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
441
if (error == 0)
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
444
return (-error);
drivers/scsi/aic7xxx/aic7xxx_pci.c
1166
int error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
1171
error = EIO;
drivers/scsi/aic7xxx/aic7xxx_pci.c
1234
error = 0;
drivers/scsi/aic7xxx/aic7xxx_pci.c
1245
return (error);
drivers/scsi/aic7xxx/aic7xxx_pci.c
1923
u_int error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
1926
error = ahc_inb(ahc, ERROR);
drivers/scsi/aic7xxx/aic7xxx_pci.c
1927
if ((error & PCIERRSTAT) == 0)
drivers/scsi/aic7xxx/aic7xxx_pci.c
2082
int error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
2084
error = ahc_aic7860_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2085
if (error != 0)
drivers/scsi/aic7xxx/aic7xxx_pci.c
2086
return (error);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2106
int error = ahc_aic7870_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2110
return error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
2116
int error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
2118
error = ahc_aic7870_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2119
if (error == 0)
drivers/scsi/aic7xxx/aic7xxx_pci.c
2120
error = ahc_aha394XX_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2121
return (error);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2127
int error = ahc_aha394X_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2131
return error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
2137
int error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
2139
error = ahc_aic7870_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2140
if (error == 0)
drivers/scsi/aic7xxx/aic7xxx_pci.c
2141
error = ahc_aha398XX_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2142
return (error);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2148
int error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
2150
error = ahc_aic7870_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2151
if (error == 0)
drivers/scsi/aic7xxx/aic7xxx_pci.c
2152
error = ahc_aha494XX_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2153
return (error);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2159
int error = ahc_aha494X_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2163
return error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
2190
int error = ahc_aic7880_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2194
return error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
2209
int error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
2211
error = ahc_aic7880_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2212
if (error == 0)
drivers/scsi/aic7xxx/aic7xxx_pci.c
2213
error = ahc_aha394XX_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2214
return (error);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2220
int error = ahc_aha394XU_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2224
return error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
2230
int error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
2232
error = ahc_aic7880_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2233
if (error == 0)
drivers/scsi/aic7xxx/aic7xxx_pci.c
2234
error = ahc_aha398XX_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2235
return (error);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2328
int error = ahc_aic7895_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2332
return error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
2368
int error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
2370
error = ahc_aic7899_setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
2371
if (error != 0)
drivers/scsi/aic7xxx/aic7xxx_pci.c
2372
return (error);
drivers/scsi/aic7xxx/aic7xxx_pci.c
713
int error;
drivers/scsi/aic7xxx/aic7xxx_pci.c
717
error = entry->setup(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
718
if (error != 0)
drivers/scsi/aic7xxx/aic7xxx_pci.c
719
return (error);
drivers/scsi/aic7xxx/aic7xxx_pci.c
725
error = ahc_pci_map_registers(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
726
if (error != 0)
drivers/scsi/aic7xxx/aic7xxx_pci.c
727
return (error);
drivers/scsi/aic7xxx/aic7xxx_pci.c
767
error = ahc_softc_init(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
768
if (error != 0)
drivers/scsi/aic7xxx/aic7xxx_pci.c
769
return (error);
drivers/scsi/aic7xxx/aic7xxx_pci.c
800
error = ahc_reset(ahc, /*reinit*/FALSE);
drivers/scsi/aic7xxx/aic7xxx_pci.c
801
if (error != 0)
drivers/scsi/aic7xxx/aic7xxx_pci.c
953
error = ahc_init(ahc);
drivers/scsi/aic7xxx/aic7xxx_pci.c
954
if (error != 0)
drivers/scsi/aic7xxx/aic7xxx_pci.c
955
return (error);
drivers/scsi/arcmsr/arcmsr_attr.c
221
int error;
drivers/scsi/arcmsr/arcmsr_attr.c
223
error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_read_attr);
drivers/scsi/arcmsr/arcmsr_attr.c
224
if (error) {
drivers/scsi/arcmsr/arcmsr_attr.c
228
error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_write_attr);
drivers/scsi/arcmsr/arcmsr_attr.c
229
if (error) {
drivers/scsi/arcmsr/arcmsr_attr.c
233
error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_clear_attr);
drivers/scsi/arcmsr/arcmsr_attr.c
234
if (error) {
drivers/scsi/arcmsr/arcmsr_attr.c
244
return error;
drivers/scsi/arcmsr/arcmsr_hba.c
1085
int error;
drivers/scsi/arcmsr/arcmsr_hba.c
1086
error = pci_enable_device(pdev);
drivers/scsi/arcmsr/arcmsr_hba.c
1087
if(error){
drivers/scsi/arcmsr/arcmsr_hba.c
1117
error = pci_request_regions(pdev, "arcmsr");
drivers/scsi/arcmsr/arcmsr_hba.c
1118
if(error){
drivers/scsi/arcmsr/arcmsr_hba.c
1132
error = arcmsr_remap_pciregion(acb);
drivers/scsi/arcmsr/arcmsr_hba.c
1133
if(!error){
drivers/scsi/arcmsr/arcmsr_hba.c
1136
error = arcmsr_alloc_io_queue(acb);
drivers/scsi/arcmsr/arcmsr_hba.c
1137
if (!error)
drivers/scsi/arcmsr/arcmsr_hba.c
1139
error = arcmsr_get_firmware_spec(acb);
drivers/scsi/arcmsr/arcmsr_hba.c
1140
if(!error){
drivers/scsi/arcmsr/arcmsr_hba.c
1145
error = arcmsr_alloc_ccb_pool(acb);
drivers/scsi/arcmsr/arcmsr_hba.c
1146
if(error){
drivers/scsi/arcmsr/arcmsr_hba.c
1149
error = scsi_add_host(host, &pdev->dev);
drivers/scsi/arcmsr/arcmsr_hba.c
1150
if(error){
drivers/scsi/arcmsr/arcmsr_hba.c
1443
struct CommandControlBlock *ccb, bool error)
drivers/scsi/arcmsr/arcmsr_hba.c
1448
if (!error) {
drivers/scsi/arcmsr/arcmsr_hba.c
1494
static void arcmsr_drain_donequeue(struct AdapterControlBlock *acb, struct CommandControlBlock *pCCB, bool error)
drivers/scsi/arcmsr/arcmsr_hba.c
1519
arcmsr_report_ccb_state(acb, pCCB, error);
drivers/scsi/arcmsr/arcmsr_hba.c
1527
bool error;
drivers/scsi/arcmsr/arcmsr_hba.c
1547
error = (flag_ccb & ARCMSR_CCBREPLY_FLAG_ERROR_MODE0) ? true : false;
drivers/scsi/arcmsr/arcmsr_hba.c
1548
arcmsr_drain_donequeue(acb, pCCB, error);
drivers/scsi/arcmsr/arcmsr_hba.c
1566
error = (flag_ccb & ARCMSR_CCBREPLY_FLAG_ERROR_MODE0) ? true : false;
drivers/scsi/arcmsr/arcmsr_hba.c
1567
arcmsr_drain_donequeue(acb, pCCB, error);
drivers/scsi/arcmsr/arcmsr_hba.c
1585
error = (flag_ccb & ARCMSR_CCBREPLY_FLAG_ERROR_MODE1) ? true : false;
drivers/scsi/arcmsr/arcmsr_hba.c
1586
arcmsr_drain_donequeue(acb, pCCB, error);
drivers/scsi/arcmsr/arcmsr_hba.c
1620
error = (addressLow &
drivers/scsi/arcmsr/arcmsr_hba.c
1623
arcmsr_drain_donequeue(acb, pCCB, error);
drivers/scsi/arcmsr/arcmsr_hba.c
1781
int error = 0;
drivers/scsi/arcmsr/arcmsr_hba.c
1782
error = pci_register_driver(&arcmsr_pci_driver);
drivers/scsi/arcmsr/arcmsr_hba.c
1783
return error;
drivers/scsi/arcmsr/arcmsr_hba.c
2544
bool error;
drivers/scsi/arcmsr/arcmsr_hba.c
2553
error = (flag_ccb & ARCMSR_CCBREPLY_FLAG_ERROR_MODE0) ? true : false;
drivers/scsi/arcmsr/arcmsr_hba.c
2554
arcmsr_drain_donequeue(acb, pCCB, error);
drivers/scsi/arcmsr/arcmsr_hba.c
2564
bool error;
drivers/scsi/arcmsr/arcmsr_hba.c
2574
error = (flag_ccb & ARCMSR_CCBREPLY_FLAG_ERROR_MODE0) ? true : false;
drivers/scsi/arcmsr/arcmsr_hba.c
2575
arcmsr_drain_donequeue(acb, pCCB, error);
drivers/scsi/arcmsr/arcmsr_hba.c
2590
int error;
drivers/scsi/arcmsr/arcmsr_hba.c
2605
error = (flag_ccb & ARCMSR_CCBREPLY_FLAG_ERROR_MODE1)
drivers/scsi/arcmsr/arcmsr_hba.c
2608
arcmsr_drain_donequeue(acb, ccb, error);
drivers/scsi/arcmsr/arcmsr_hba.c
2622
int error;
drivers/scsi/arcmsr/arcmsr_hba.c
2649
error = (addressLow & ARCMSR_CCBREPLY_FLAG_ERROR_MODE1)
drivers/scsi/arcmsr/arcmsr_hba.c
2651
arcmsr_drain_donequeue(acb, ccb, error);
drivers/scsi/arcmsr/arcmsr_hba.c
2666
int error;
drivers/scsi/arcmsr/arcmsr_hba.c
2677
error = (acb->pCompletionQ[doneq_index].cmdFlag
drivers/scsi/arcmsr/arcmsr_hba.c
2679
arcmsr_drain_donequeue(acb, ccb, error);
drivers/scsi/arcmsr/arcmsr_hba.c
2693
int error;
drivers/scsi/arcmsr/arcmsr_hba.c
2706
error = (acb->pCompletionQ[doneq_index].cmdFlag &
drivers/scsi/arcmsr/arcmsr_hba.c
2708
arcmsr_drain_donequeue(acb, ccb, error);
drivers/scsi/arcmsr/arcmsr_hba.c
3582
bool error;
drivers/scsi/arcmsr/arcmsr_hba.c
3629
error = (flag_ccb & ARCMSR_CCBREPLY_FLAG_ERROR_MODE0) ? true : false;
drivers/scsi/arcmsr/arcmsr_hba.c
3630
arcmsr_report_ccb_state(acb, ccb, error);
drivers/scsi/arcmsr/arcmsr_hba.c
3643
bool error;
drivers/scsi/arcmsr/arcmsr_hba.c
3698
error = (flag_ccb & ARCMSR_CCBREPLY_FLAG_ERROR_MODE0) ? true : false;
drivers/scsi/arcmsr/arcmsr_hba.c
3699
arcmsr_report_ccb_state(acb, ccb, error);
drivers/scsi/arcmsr/arcmsr_hba.c
3710
bool error;
drivers/scsi/arcmsr/arcmsr_hba.c
3760
error = (flag_ccb & ARCMSR_CCBREPLY_FLAG_ERROR_MODE1) ? true : false;
drivers/scsi/arcmsr/arcmsr_hba.c
3761
arcmsr_report_ccb_state(acb, pCCB, error);
drivers/scsi/arcmsr/arcmsr_hba.c
3769
bool error;
drivers/scsi/arcmsr/arcmsr_hba.c
3835
error = (flag_ccb & ARCMSR_CCBREPLY_FLAG_ERROR_MODE1)
drivers/scsi/arcmsr/arcmsr_hba.c
3837
arcmsr_report_ccb_state(acb, pCCB, error);
drivers/scsi/arcmsr/arcmsr_hba.c
3845
bool error;
drivers/scsi/arcmsr/arcmsr_hba.c
3903
error = (acb->pCompletionQ[doneq_index].cmdFlag &
drivers/scsi/arcmsr/arcmsr_hba.c
3905
arcmsr_report_ccb_state(acb, pCCB, error);
drivers/scsi/arm/arxescsi.c
121
unsigned int length, error = 0;
drivers/scsi/arm/arxescsi.c
132
error = 1;
drivers/scsi/arm/arxescsi.c
140
if (!error)
drivers/scsi/arm/arxescsi.c
164
error = 1;
drivers/scsi/arm/arxescsi.c
177
if (!(error))
drivers/scsi/atari_scsi.c
720
int error;
drivers/scsi/atari_scsi.c
790
error = -ENOMEM;
drivers/scsi/atari_scsi.c
799
error = NCR5380_init(instance, host_flags);
drivers/scsi/atari_scsi.c
800
if (error)
drivers/scsi/atari_scsi.c
804
error = request_irq(instance->irq, scsi_tt_intr, 0,
drivers/scsi/atari_scsi.c
806
if (error) {
drivers/scsi/atari_scsi.c
846
error = scsi_add_host(instance, NULL);
drivers/scsi/atari_scsi.c
847
if (error)
drivers/scsi/atari_scsi.c
865
return error;
drivers/scsi/be2iscsi/be_cmds.c
1205
goto error;
drivers/scsi/be2iscsi/be_cmds.c
1208
error:
drivers/scsi/be2iscsi/be_main.c
1505
u8 final, error = 0;
drivers/scsi/be2iscsi/be_main.c
1551
error = 1;
drivers/scsi/be2iscsi/be_main.c
1564
error = 1;
drivers/scsi/be2iscsi/be_main.c
1578
if (error) {
drivers/scsi/be2iscsi/be_main.c
3712
goto error;
drivers/scsi/be2iscsi/be_main.c
3717
goto error;
drivers/scsi/be2iscsi/be_main.c
3723
goto error;
drivers/scsi/be2iscsi/be_main.c
3730
goto error;
drivers/scsi/be2iscsi/be_main.c
3746
goto error;
drivers/scsi/be2iscsi/be_main.c
3757
goto error;
drivers/scsi/be2iscsi/be_main.c
3774
goto error;
drivers/scsi/be2iscsi/be_main.c
3787
goto error;
drivers/scsi/be2iscsi/be_main.c
3814
error:
drivers/scsi/bfa/bfad.c
1141
int i, error = 0;
drivers/scsi/bfa/bfad.c
1149
error = request_irq(bfad->msix_tab[i].msix.vector,
drivers/scsi/bfa/bfad.c
1154
if (error) {
drivers/scsi/bfa/bfad.c
1177
int error;
drivers/scsi/bfa/bfad.c
1192
error = pci_enable_msix_exact(bfad->pcidev,
drivers/scsi/bfa/bfad.c
1195
if (error == -ENOSPC && bfa_asic_id_ctc(pdev->device)) {
drivers/scsi/bfa/bfad.c
1198
bfad->pci_name, bfad->nvec, error);
drivers/scsi/bfa/bfad.c
1200
error = pci_enable_msix_exact(bfad->pcidev,
drivers/scsi/bfa/bfad.c
1204
if (error) {
drivers/scsi/bfa/bfad.c
1208
bfad->inst_no, error);
drivers/scsi/bfa/bfad.c
1233
error = request_irq(bfad->pcidev->irq, (irq_handler_t)bfad_intx,
drivers/scsi/bfa/bfad.c
1235
if (error)
drivers/scsi/bfa/bfad.c
1236
return error;
drivers/scsi/bfa/bfad.c
1267
int error = -ENODEV, retval, i;
drivers/scsi/bfa/bfad.c
1276
error = -ENOMEM;
drivers/scsi/bfa/bfad.c
1283
error = -ENOMEM;
drivers/scsi/bfa/bfad.c
1305
error = retval;
drivers/scsi/bfa/bfad.c
1358
return error;
drivers/scsi/bfa/bfad.c
1666
int error = 0;
drivers/scsi/bfa/bfad.c
1674
error = bfad_im_module_init();
drivers/scsi/bfa/bfad.c
1675
if (error) {
drivers/scsi/bfa/bfad.c
1687
error = pci_register_driver(&bfad_pci_driver);
drivers/scsi/bfa/bfad.c
1688
if (error) {
drivers/scsi/bfa/bfad.c
1697
return error;
drivers/scsi/bfa/bfad_bsg.c
3176
goto error;
drivers/scsi/bfa/bfad_bsg.c
3195
error:
drivers/scsi/bfa/bfad_im.c
539
int error;
drivers/scsi/bfa/bfad_im.c
542
error = idr_alloc(&bfad_im_port_index, im_port, 0, 0, GFP_KERNEL);
drivers/scsi/bfa/bfad_im.c
543
if (error < 0) {
drivers/scsi/bfa/bfad_im.c
548
im_port->idr_id = error;
drivers/scsi/bfa/bfad_im.c
553
error = 1;
drivers/scsi/bfa/bfad_im.c
571
error = scsi_add_host_with_dma(im_port->shost, dev, &bfad->pcidev->dev);
drivers/scsi/bfa/bfad_im.c
572
if (error) {
drivers/scsi/bfa/bfad_im.c
573
printk(KERN_WARNING "scsi_add_host failure %d\n", error);
drivers/scsi/bfa/bfad_im.c
587
return error;
drivers/scsi/csiostor/csio_attr.c
563
goto error;
drivers/scsi/csiostor/csio_attr.c
571
goto error;
drivers/scsi/csiostor/csio_attr.c
582
goto error;
drivers/scsi/csiostor/csio_attr.c
588
goto error;
drivers/scsi/csiostor/csio_attr.c
597
goto error;
drivers/scsi/csiostor/csio_attr.c
606
error:
drivers/scsi/csiostor/csio_scsi.c
142
csio_scsi_itnexus_loss_error(uint16_t error)
drivers/scsi/csiostor/csio_scsi.c
144
switch (error) {
drivers/scsi/dmx3191d.c
113
return error;
drivers/scsi/dmx3191d.c
64
int error = -ENODEV;
drivers/scsi/dmx3191d.c
89
error = NCR5380_init(shost, 0);
drivers/scsi/dmx3191d.c
90
if (error)
drivers/scsi/dmx3191d.c
97
error = scsi_add_host(shost, &pdev->dev);
drivers/scsi/dmx3191d.c
98
if (error)
drivers/scsi/elx/efct/efct_hw.c
499
goto error;
drivers/scsi/elx/efct/efct_hw.c
588
error:
drivers/scsi/elx/efct/efct_hw_queues.c
209
goto error;
drivers/scsi/elx/efct/efct_hw_queues.c
224
goto error;
drivers/scsi/elx/efct/efct_hw_queues.c
235
error:
drivers/scsi/elx/efct/efct_hw_queues.c
329
goto error;
drivers/scsi/elx/efct/efct_hw_queues.c
361
goto error;
drivers/scsi/elx/efct/efct_hw_queues.c
371
goto error;
drivers/scsi/elx/efct/efct_hw_queues.c
376
error:
drivers/scsi/elx/efct/efct_xport.c
378
int error = 0;
drivers/scsi/elx/efct/efct_xport.c
415
error = scsi_add_host_with_dma(shost, &efct->pci->dev,
drivers/scsi/elx/efct/efct_xport.c
417
if (error) {
drivers/scsi/elx/efct/efct_xport.c
902
int error = 0;
drivers/scsi/elx/efct/efct_xport.c
930
error = scsi_add_host_with_dma(shost, dev, &efct->pci->dev);
drivers/scsi/elx/efct/efct_xport.c
931
if (error) {
drivers/scsi/elx/libefc_sli/sli4.c
555
goto error;
drivers/scsi/elx/libefc_sli/sli4.c
558
goto error;
drivers/scsi/elx/libefc_sli/sli4.c
562
goto error;
drivers/scsi/elx/libefc_sli/sli4.c
565
goto error;
drivers/scsi/elx/libefc_sli/sli4.c
575
error:
drivers/scsi/elx/libefc_sli/sli4.c
596
goto error;
drivers/scsi/elx/libefc_sli/sli4.c
603
goto error;
drivers/scsi/elx/libefc_sli/sli4.c
608
goto error;
drivers/scsi/elx/libefc_sli/sli4.c
620
goto error;
drivers/scsi/elx/libefc_sli/sli4.c
637
error:
drivers/scsi/elx/libefc_sli/sli4.c
929
goto error;
drivers/scsi/elx/libefc_sli/sli4.c
933
goto error;
drivers/scsi/elx/libefc_sli/sli4.c
936
goto error;
drivers/scsi/elx/libefc_sli/sli4.c
947
goto error;
drivers/scsi/elx/libefc_sli/sli4.c
953
goto error;
drivers/scsi/elx/libefc_sli/sli4.c
965
error:
drivers/scsi/esas2r/esas2r_flash.c
335
goto error;
drivers/scsi/esas2r/esas2r_flash.c
358
goto error;
drivers/scsi/esas2r/esas2r_flash.c
550
error:
drivers/scsi/esas2r/esas2r_init.c
151
int error;
drivers/scsi/esas2r/esas2r_init.c
156
error = pci_request_region(a->pcid, 2, a->name);
drivers/scsi/esas2r/esas2r_init.c
157
if (error != 0) {
drivers/scsi/esas2r/esas2r_init.c
160
error);
drivers/scsi/esas2r/esas2r_init.c
162
return error;
drivers/scsi/esas2r/esas2r_init.c
174
error = pci_request_region(a->pcid, 0, a->name);
drivers/scsi/esas2r/esas2r_init.c
175
if (error != 0) {
drivers/scsi/esas2r/esas2r_init.c
178
error);
drivers/scsi/esas2r/esas2r_init.c
180
return error;
drivers/scsi/fcoe/fcoe_ctlr.c
1671
int error;
drivers/scsi/fcoe/fcoe_ctlr.c
1686
error = fcoe_ctlr_encaps(fip, fip->lp, FIP_DT_FLOGI, skb,
drivers/scsi/fcoe/fcoe_ctlr.c
1688
if (error) {
drivers/scsi/fcoe/fcoe_ctlr.c
1690
return error;
drivers/scsi/fcoe/fcoe_ctlr.c
1707
int error;
drivers/scsi/fcoe/fcoe_ctlr.c
1716
error = -ENOENT;
drivers/scsi/fcoe/fcoe_ctlr.c
1719
error = fcoe_ctlr_flogi_send_locked(fip);
drivers/scsi/fcoe/fcoe_ctlr.c
1723
return error;
drivers/scsi/fcoe/fcoe_sysfs.c
1015
error = device_register(&fcf->dev);
drivers/scsi/fcoe/fcoe_sysfs.c
1016
if (error) {
drivers/scsi/fcoe/fcoe_sysfs.c
778
int error = 0;
drivers/scsi/fcoe/fcoe_sysfs.c
808
error = device_register(&ctlr->dev);
drivers/scsi/fcoe/fcoe_sysfs.c
809
if (error) {
drivers/scsi/fcoe/fcoe_sysfs.c
973
int error = 0;
drivers/scsi/fnic/vnic_dev.c
382
if (result->error) {
drivers/scsi/fnic/vnic_dev.c
383
err = -(int) result->error;
drivers/scsi/fnic/vnic_devcmd.h
425
u32 error; /* error code (see ERR_*) for first ERR */
drivers/scsi/fnic/vnic_devcmd.h
483
u8 error; /* same error codes as original */
drivers/scsi/gvp11.c
321
int error;
drivers/scsi/gvp11.c
351
error = check_wd33c93(regs);
drivers/scsi/gvp11.c
352
if (error)
drivers/scsi/gvp11.c
358
error = -ENOMEM;
drivers/scsi/gvp11.c
383
error = -ENODEV;
drivers/scsi/gvp11.c
402
error = request_irq(IRQ_AMIGA_PORTS, gvp11_intr, IRQF_SHARED,
drivers/scsi/gvp11.c
404
if (error)
drivers/scsi/gvp11.c
409
error = scsi_add_host(instance, NULL);
drivers/scsi/gvp11.c
410
if (error)
drivers/scsi/gvp11.c
423
return error;
drivers/scsi/hisi_sas/hisi_sas_main.c
2484
int error;
drivers/scsi/hisi_sas/hisi_sas_main.c
2510
error = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64));
drivers/scsi/hisi_sas/hisi_sas_main.c
2511
if (error) {
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
1057
int error = -1;
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
1072
error = ffs(dma_tx_err_type)
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
1076
error = ffs(dma_rx_err_type)
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
1080
error = ffs(trans_tx_fail_type)
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
1084
error = ffs(trans_rx_fail_type)
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
1088
switch (error) {
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2032
int error = -1;
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2036
error = parse_dma_tx_err_code_v2_hw(dma_tx_err_type);
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2037
if (error == -1)
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2038
error = parse_trans_tx_err_code_v2_hw(
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2042
error = parse_trans_rx_err_code_v2_hw(trans_rx_fail_type);
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2043
if (error == -1) {
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2044
error = parse_dma_rx_err_code_v2_hw(
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2046
if (error == -1)
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2047
error = parse_sipc_rx_err_code_v2_hw(
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2055
switch (error) {
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2181
switch (error) {
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2891
const struct hisi_sas_hw_error *error =
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2894
if (!(irq_value1 & error->irq_msk))
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
2898
error->msg, phy_no, irq_value1);
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
1841
const struct hisi_sas_hw_error *error = &port_axi_error[i];
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
1843
if (!(irq_value & error->irq_msk))
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
1847
error->msg, phy_no, irq_value);
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
2195
const struct hisi_sas_hw_error *error = &fatal_axi_error[i];
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
2197
if (!(irq_value & error->irq_msk))
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
2200
if (error->sub) {
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
2201
const struct hisi_sas_hw_error *sub = error->sub;
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
2202
u32 err_value = hisi_sas_read32(hisi_hba, error->reg);
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
2214
error->msg, irq_value);
drivers/scsi/hosts.c
223
int error = -EINVAL;
drivers/scsi/hosts.c
244
error = scsi_init_sense_cache(shost);
drivers/scsi/hosts.c
245
if (error)
drivers/scsi/hosts.c
260
error = scsi_mq_setup_tags(shost);
drivers/scsi/hosts.c
261
if (error)
drivers/scsi/hosts.c
277
error = device_add(&shost->shost_gendev);
drivers/scsi/hosts.c
278
if (error)
drivers/scsi/hosts.c
287
error = device_add(&shost->shost_dev);
drivers/scsi/hosts.c
288
if (error)
drivers/scsi/hosts.c
295
error = -ENOMEM;
drivers/scsi/hosts.c
307
error = -EINVAL;
drivers/scsi/hosts.c
312
error = scsi_sysfs_add_host(shost);
drivers/scsi/hosts.c
313
if (error)
drivers/scsi/hosts.c
319
error = -ENOMEM;
drivers/scsi/hosts.c
326
return error;
drivers/scsi/hosts.c
348
return error;
drivers/scsi/hpsa.c
7825
goto error;
drivers/scsi/hpsa.c
7828
goto error;
drivers/scsi/hpsa.c
7831
error:
drivers/scsi/ibmvscsi/ibmvfc.c
114
u16 error;
drivers/scsi/ibmvscsi/ibmvfc.c
1801
int index = ibmvfc_get_err_index(be16_to_cpu(vfc_cmd->status), be16_to_cpu(vfc_cmd->error));
drivers/scsi/ibmvscsi/ibmvfc.c
1818
cmnd->cmnd[0], err, be16_to_cpu(vfc_cmd->status), be16_to_cpu(vfc_cmd->error),
drivers/scsi/ibmvscsi/ibmvfc.c
1878
(be16_to_cpu(vfc_cmd->error) == IBMVFC_PLOGI_REQUIRED))
drivers/scsi/ibmvscsi/ibmvfc.c
2399
ibmvfc_get_cmd_error(be16_to_cpu(rsp_iu.cmd.status), be16_to_cpu(rsp_iu.cmd.error)),
drivers/scsi/ibmvscsi/ibmvfc.c
2400
be16_to_cpu(rsp_iu.cmd.status), be16_to_cpu(rsp_iu.cmd.error), fc_rsp->flags, rsp_code,
drivers/scsi/ibmvscsi/ibmvfc.c
279
entry->u.end.error = be16_to_cpu(vfc_cmd->error);
drivers/scsi/ibmvscsi/ibmvfc.c
2913
ibmvfc_get_cmd_error(be16_to_cpu(rsp_iu.cmd.status), be16_to_cpu(rsp_iu.cmd.error)),
drivers/scsi/ibmvscsi/ibmvfc.c
2914
be16_to_cpu(rsp_iu.cmd.status), be16_to_cpu(rsp_iu.cmd.error), fc_rsp->flags, rsp_code,
drivers/scsi/ibmvscsi/ibmvfc.c
307
static int ibmvfc_get_err_index(u16 status, u16 error)
drivers/scsi/ibmvscsi/ibmvfc.c
313
cmd_status[i].error == error)
drivers/scsi/ibmvscsi/ibmvfc.c
327
static const char *ibmvfc_get_cmd_error(u16 status, u16 error)
drivers/scsi/ibmvscsi/ibmvfc.c
329
int rc = ibmvfc_get_err_index(status, error);
drivers/scsi/ibmvscsi/ibmvfc.c
354
err = ibmvfc_get_err_index(be16_to_cpu(vfc_cmd->status), be16_to_cpu(vfc_cmd->error));
drivers/scsi/ibmvscsi/ibmvfc.c
368
static int ibmvfc_retry_cmd(u16 status, u16 error)
drivers/scsi/ibmvscsi/ibmvfc.c
370
int rc = ibmvfc_get_err_index(status, error);
drivers/scsi/ibmvscsi/ibmvfc.c
4076
be16_to_cpu(rsp->error) == IBMVFC_PLOGI_REQUIRED)
drivers/scsi/ibmvscsi/ibmvfc.c
4080
else if (ibmvfc_retry_cmd(be16_to_cpu(rsp->status), be16_to_cpu(rsp->error)))
drivers/scsi/ibmvscsi/ibmvfc.c
4086
ibmvfc_get_cmd_error(be16_to_cpu(rsp->status), be16_to_cpu(rsp->error)),
drivers/scsi/ibmvscsi/ibmvfc.c
4087
be16_to_cpu(rsp->status), be16_to_cpu(rsp->error), status);
drivers/scsi/ibmvscsi/ibmvfc.c
4190
if (ibmvfc_retry_cmd(be16_to_cpu(rsp->status), be16_to_cpu(rsp->error)))
drivers/scsi/ibmvscsi/ibmvfc.c
4196
ibmvfc_get_cmd_error(be16_to_cpu(rsp->status), be16_to_cpu(rsp->error)),
drivers/scsi/ibmvscsi/ibmvfc.c
4197
be16_to_cpu(rsp->status), be16_to_cpu(rsp->error),
drivers/scsi/ibmvscsi/ibmvfc.c
4562
ibmvfc_get_cmd_error(be16_to_cpu(mad->iu.status), be16_to_cpu(mad->iu.error)),
drivers/scsi/ibmvscsi/ibmvfc.c
4563
be16_to_cpu(mad->iu.status), be16_to_cpu(mad->iu.error),
drivers/scsi/ibmvscsi/ibmvfc.c
4783
be16_to_cpu(rsp->error) == IBMVFC_UNABLE_TO_PERFORM_REQ &&
drivers/scsi/ibmvscsi/ibmvfc.c
4786
else if (ibmvfc_retry_cmd(be16_to_cpu(rsp->status), be16_to_cpu(rsp->error)))
drivers/scsi/ibmvscsi/ibmvfc.c
4792
ibmvfc_get_cmd_error(be16_to_cpu(rsp->status), be16_to_cpu(rsp->error)),
drivers/scsi/ibmvscsi/ibmvfc.c
4793
be16_to_cpu(rsp->status), be16_to_cpu(rsp->error),
drivers/scsi/ibmvscsi/ibmvfc.c
4976
ibmvfc_get_cmd_error(be16_to_cpu(rsp->status), be16_to_cpu(rsp->error)),
drivers/scsi/ibmvscsi/ibmvfc.c
4977
be16_to_cpu(rsp->status), be16_to_cpu(rsp->error));
drivers/scsi/ibmvscsi/ibmvfc.c
5200
if (ibmvfc_retry_cmd(be16_to_cpu(rsp->status), be16_to_cpu(rsp->error)))
drivers/scsi/ibmvscsi/ibmvfc.c
5205
ibmvfc_get_cmd_error(be16_to_cpu(rsp->status), be16_to_cpu(rsp->error)),
drivers/scsi/ibmvscsi/ibmvfc.c
5206
be16_to_cpu(rsp->status), be16_to_cpu(rsp->error));
drivers/scsi/ibmvscsi/ibmvfc.h
219
__be16 error;
drivers/scsi/ibmvscsi/ibmvfc.h
262
__be16 error;
drivers/scsi/ibmvscsi/ibmvfc.h
304
__be16 error; /* also fc_reason */
drivers/scsi/ibmvscsi/ibmvfc.h
360
__be16 error; /* also fc_reason */
drivers/scsi/ibmvscsi/ibmvfc.h
371
__be16 error;
drivers/scsi/ibmvscsi/ibmvfc.h
483
__be16 error;
drivers/scsi/ibmvscsi/ibmvfc.h
521
__be16 error;
drivers/scsi/ibmvscsi/ibmvfc.h
597
u16 error;
drivers/scsi/initio.c
2810
int num_scb, i, error;
drivers/scsi/initio.c
2812
error = pci_enable_device(pdev);
drivers/scsi/initio.c
2813
if (error)
drivers/scsi/initio.c
2814
return error;
drivers/scsi/initio.c
2824
error = -ENODEV;
drivers/scsi/initio.c
2830
error = -ENOMEM;
drivers/scsi/initio.c
2840
error = -ENODEV;
drivers/scsi/initio.c
2858
error = -ENOMEM;
drivers/scsi/initio.c
2897
error = request_irq(pdev->irq, i91u_intr, IRQF_SHARED, "i91u", shost);
drivers/scsi/initio.c
2898
if (error < 0) {
drivers/scsi/initio.c
2905
error = scsi_add_host(shost, &pdev->dev);
drivers/scsi/initio.c
2906
if (error)
drivers/scsi/initio.c
2920
return error;
drivers/scsi/ipr.c
1543
struct ipr_hostrcb_type_12_error *error;
drivers/scsi/ipr.c
1546
error = &hostrcb->hcam.u.error64.u.type_12_error;
drivers/scsi/ipr.c
1548
error = &hostrcb->hcam.u.error.u.type_12_error;
drivers/scsi/ipr.c
1552
ipr_log_ext_vpd(&error->ioa_vpd);
drivers/scsi/ipr.c
1554
ipr_log_ext_vpd(&error->cfc_vpd);
drivers/scsi/ipr.c
1558
ipr_log_ext_vpd(&error->ioa_last_attached_to_cfc_vpd);
drivers/scsi/ipr.c
1560
ipr_log_ext_vpd(&error->cfc_last_attached_to_ioa_vpd);
drivers/scsi/ipr.c
1563
be32_to_cpu(error->ioa_data[0]),
drivers/scsi/ipr.c
1564
be32_to_cpu(error->ioa_data[1]),
drivers/scsi/ipr.c
1565
be32_to_cpu(error->ioa_data[2]));
drivers/scsi/ipr.c
1579
struct ipr_hostrcb_type_02_error *error =
drivers/scsi/ipr.c
1580
&hostrcb->hcam.u.error.u.type_02_error;
drivers/scsi/ipr.c
1584
ipr_log_vpd(&error->ioa_vpd);
drivers/scsi/ipr.c
1586
ipr_log_vpd(&error->cfc_vpd);
drivers/scsi/ipr.c
1590
ipr_log_vpd(&error->ioa_last_attached_to_cfc_vpd);
drivers/scsi/ipr.c
1592
ipr_log_vpd(&error->cfc_last_attached_to_ioa_vpd);
drivers/scsi/ipr.c
1595
be32_to_cpu(error->ioa_data[0]),
drivers/scsi/ipr.c
1596
be32_to_cpu(error->ioa_data[1]),
drivers/scsi/ipr.c
1597
be32_to_cpu(error->ioa_data[2]));
drivers/scsi/ipr.c
1613
struct ipr_hostrcb_type_13_error *error;
drivers/scsi/ipr.c
1615
error = &hostrcb->hcam.u.error.u.type_13_error;
drivers/scsi/ipr.c
1616
errors_logged = be32_to_cpu(error->errors_logged);
drivers/scsi/ipr.c
1619
be32_to_cpu(error->errors_detected), errors_logged);
drivers/scsi/ipr.c
1621
dev_entry = error->dev;
drivers/scsi/ipr.c
1653
struct ipr_hostrcb_type_23_error *error;
drivers/scsi/ipr.c
1656
error = &hostrcb->hcam.u.error64.u.type_23_error;
drivers/scsi/ipr.c
1657
errors_logged = be32_to_cpu(error->errors_logged);
drivers/scsi/ipr.c
1660
be32_to_cpu(error->errors_detected), errors_logged);
drivers/scsi/ipr.c
1662
dev_entry = error->dev;
drivers/scsi/ipr.c
1696
struct ipr_hostrcb_type_03_error *error;
drivers/scsi/ipr.c
1698
error = &hostrcb->hcam.u.error.u.type_03_error;
drivers/scsi/ipr.c
1699
errors_logged = be32_to_cpu(error->errors_logged);
drivers/scsi/ipr.c
1702
be32_to_cpu(error->errors_detected), errors_logged);
drivers/scsi/ipr.c
1704
dev_entry = error->dev;
drivers/scsi/ipr.c
1742
struct ipr_hostrcb_type_14_error *error;
drivers/scsi/ipr.c
1746
error = &hostrcb->hcam.u.error.u.type_14_error;
drivers/scsi/ipr.c
1751
error->protection_level,
drivers/scsi/ipr.c
1753
error->last_func_vset_res_addr.bus,
drivers/scsi/ipr.c
1754
error->last_func_vset_res_addr.target,
drivers/scsi/ipr.c
1755
error->last_func_vset_res_addr.lun);
drivers/scsi/ipr.c
1759
array_entry = error->array_member;
drivers/scsi/ipr.c
1760
num_entries = min_t(u32, be32_to_cpu(error->num_entries),
drivers/scsi/ipr.c
1761
ARRAY_SIZE(error->array_member));
drivers/scsi/ipr.c
1767
if (be32_to_cpu(error->exposed_mode_adn) == i)
drivers/scsi/ipr.c
1793
struct ipr_hostrcb_type_04_error *error;
drivers/scsi/ipr.c
1797
error = &hostrcb->hcam.u.error.u.type_04_error;
drivers/scsi/ipr.c
1802
error->protection_level,
drivers/scsi/ipr.c
1804
error->last_func_vset_res_addr.bus,
drivers/scsi/ipr.c
1805
error->last_func_vset_res_addr.target,
drivers/scsi/ipr.c
1806
error->last_func_vset_res_addr.lun);
drivers/scsi/ipr.c
1810
array_entry = error->array_member;
drivers/scsi/ipr.c
1816
if (be32_to_cpu(error->exposed_mode_adn) == i)
drivers/scsi/ipr.c
1830
array_entry = error->array_member2;
drivers/scsi/ipr.c
1875
struct ipr_hostrcb_type_17_error *error;
drivers/scsi/ipr.c
1878
error = &hostrcb->hcam.u.error64.u.type_17_error;
drivers/scsi/ipr.c
1880
error = &hostrcb->hcam.u.error.u.type_17_error;
drivers/scsi/ipr.c
1882
error->failure_reason[sizeof(error->failure_reason) - 1] = '\0';
drivers/scsi/ipr.c
1883
strim(error->failure_reason);
drivers/scsi/ipr.c
1885
ipr_hcam_err(hostrcb, "%s [PRC: %08X]\n", error->failure_reason,
drivers/scsi/ipr.c
1886
be32_to_cpu(hostrcb->hcam.u.error.prc));
drivers/scsi/ipr.c
1887
ipr_log_ext_vpd_compact("Remote IOA", hostrcb, &error->vpd);
drivers/scsi/ipr.c
1888
ipr_log_hex_data(ioa_cfg, error->data,
drivers/scsi/ipr.c
1905
struct ipr_hostrcb_type_07_error *error;
drivers/scsi/ipr.c
1907
error = &hostrcb->hcam.u.error.u.type_07_error;
drivers/scsi/ipr.c
1908
error->failure_reason[sizeof(error->failure_reason) - 1] = '\0';
drivers/scsi/ipr.c
1909
strim(error->failure_reason);
drivers/scsi/ipr.c
1911
ipr_hcam_err(hostrcb, "%s [PRC: %08X]\n", error->failure_reason,
drivers/scsi/ipr.c
1912
be32_to_cpu(hostrcb->hcam.u.error.prc));
drivers/scsi/ipr.c
1913
ipr_log_vpd_compact("Remote IOA", hostrcb, &error->vpd);
drivers/scsi/ipr.c
1914
ipr_log_hex_data(ioa_cfg, error->data,
drivers/scsi/ipr.c
2192
struct ipr_hostrcb_type_20_error *error;
drivers/scsi/ipr.c
2197
error = &hostrcb->hcam.u.error.u.type_20_error;
drivers/scsi/ipr.c
2198
error->failure_reason[sizeof(error->failure_reason) - 1] = '\0';
drivers/scsi/ipr.c
2199
ipr_hcam_err(hostrcb, "%s\n", error->failure_reason);
drivers/scsi/ipr.c
2205
for (i = 0, fabric = error->desc; i < error->num_entries; i++) {
drivers/scsi/ipr.c
2230
struct ipr_hostrcb_type_24_error *error;
drivers/scsi/ipr.c
2235
error = &hostrcb->hcam.u.error64.u.type_24_error;
drivers/scsi/ipr.c
2240
error->protection_level,
drivers/scsi/ipr.c
2241
ipr_format_res_path(ioa_cfg, error->last_res_path,
drivers/scsi/ipr.c
2246
array_entry = error->array_member;
drivers/scsi/ipr.c
2247
num_entries = min_t(u32, error->num_entries,
drivers/scsi/ipr.c
2248
ARRAY_SIZE(error->array_member));
drivers/scsi/ipr.c
2255
if (error->exposed_mode_adn == i)
drivers/scsi/ipr.c
2285
struct ipr_hostrcb_type_30_error *error;
drivers/scsi/ipr.c
2290
error = &hostrcb->hcam.u.error64.u.type_30_error;
drivers/scsi/ipr.c
2292
error->failure_reason[sizeof(error->failure_reason) - 1] = '\0';
drivers/scsi/ipr.c
2293
ipr_hcam_err(hostrcb, "%s\n", error->failure_reason);
drivers/scsi/ipr.c
2299
for (i = 0, fabric = error->desc; i < error->num_entries; i++) {
drivers/scsi/ipr.c
2323
struct ipr_hostrcb_type_41_error *error;
drivers/scsi/ipr.c
2325
error = &hostrcb->hcam.u.error64.u.type_41_error;
drivers/scsi/ipr.c
2327
error->failure_reason[sizeof(error->failure_reason) - 1] = '\0';
drivers/scsi/ipr.c
2328
ipr_err("Primary Failure Reason: %s\n", error->failure_reason);
drivers/scsi/ipr.c
2329
ipr_log_hex_data(ioa_cfg, error->data,
drivers/scsi/ipr.c
2360
struct ipr_hostrcb_type_21_error *error;
drivers/scsi/ipr.c
2363
error = &hostrcb->hcam.u.error64.u.type_21_error;
drivers/scsi/ipr.c
2367
be32_to_cpu(error->wwn[0]), be32_to_cpu(error->wwn[1]),
drivers/scsi/ipr.c
2368
be32_to_cpu(error->wwn[2]), be32_to_cpu(error->wwn[3]));
drivers/scsi/ipr.c
2370
__ipr_format_res_path(error->res_path,
drivers/scsi/ipr.c
2372
error->primary_problem_desc[sizeof(error->primary_problem_desc) - 1] = '\0';
drivers/scsi/ipr.c
2373
error->second_problem_desc[sizeof(error->second_problem_desc) - 1] = '\0';
drivers/scsi/ipr.c
2374
ipr_err("Primary Problem Description: %s\n", error->primary_problem_desc);
drivers/scsi/ipr.c
2375
ipr_err("Secondary Problem Description: %s\n", error->second_problem_desc);
drivers/scsi/ipr.c
2377
ipr_log_hex_data(ioa_cfg, error->sense_data, sizeof(error->sense_data));
drivers/scsi/ipr.c
2379
ipr_log_hex_data(ioa_cfg, error->cdb, sizeof(error->cdb));
drivers/scsi/ipr.c
2382
ipr_log_hex_data(ioa_cfg, error->ioa_data, be32_to_cpu(error->length_of_error));
drivers/scsi/ipr.c
2422
struct ipr_hostrcb_type_21_error *error;
drivers/scsi/ipr.c
2433
ioasc = be32_to_cpu(hostrcb->hcam.u.error.fd_ioasc);
drivers/scsi/ipr.c
2439
hostrcb->hcam.u.error.fd_res_addr.bus);
drivers/scsi/ipr.c
2449
error = &hostrcb->hcam.u.error64.u.type_21_error;
drivers/scsi/ipr.c
2451
if (((be32_to_cpu(error->sense_data[0]) & 0x0000ff00) >> 8) == ILLEGAL_REQUEST &&
drivers/scsi/ipr.c
2456
ipr_hcam_err(hostrcb, "%s\n", ipr_error_table[error_index].error);
drivers/scsi/ipr.c
2558
fd_ioasc = be32_to_cpu(hostrcb->hcam.u.error.fd_ioasc);
drivers/scsi/ipr.c
5950
ipr_res_err(ioa_cfg, res, "%s\n", ipr_error_table[error_index].error);
drivers/scsi/ipr.c
7777
ioasc = be32_to_cpu(hostrcb->hcam.u.error.fd_ioasc);
drivers/scsi/ipr.h
1172
struct ipr_hostrcb_error error;
drivers/scsi/ipr.h
1671
char *error;
drivers/scsi/ipr.h
1756
(hostrcb)->hcam.u.error.fd_res_addr, \
drivers/scsi/ipr.h
1887
res_addr = &hostrcb->hcam.u.error.fd_res_addr;
drivers/scsi/ips.c
1715
goto error;
drivers/scsi/ips.c
1720
goto error;
drivers/scsi/ips.c
1730
goto error;
drivers/scsi/ips.c
1740
goto error;
drivers/scsi/ips.c
1747
goto error;
drivers/scsi/ips.c
1752
goto error;
drivers/scsi/ips.c
1756
error:
drivers/scsi/isci/request.c
2189
d2h->error = 0;
drivers/scsi/isci/task.h
111
tmf->resp.d2h_fis.error);
drivers/scsi/iscsi_tcp.c
361
goto error;
drivers/scsi/iscsi_tcp.c
371
goto error;
drivers/scsi/iscsi_tcp.c
381
error:
drivers/scsi/libfc/fc_disc.c
383
int error = 0;
drivers/scsi/libfc/fc_disc.c
441
error = -ENOMEM;
drivers/scsi/libfc/fc_disc.c
459
if (error == 0 && len > 0 && len < sizeof(*np)) {
drivers/scsi/libfc/fc_disc.c
467
return error;
drivers/scsi/libfc/fc_disc.c
502
int error = 0;
drivers/scsi/libfc/fc_disc.c
527
error = fc_disc_gpn_ft_parse(disc, cp + 1, len);
drivers/scsi/libfc/fc_disc.c
542
error = fc_disc_gpn_ft_parse(disc, fh + 1, len);
drivers/scsi/libfc/fc_disc.c
549
if (error)
drivers/scsi/libfc/fc_disc.c
550
fc_disc_error(disc, ERR_PTR(error));
drivers/scsi/libfc/fc_exch.c
468
int error = -ENXIO;
drivers/scsi/libfc/fc_exch.c
499
error = lport->tt.frame_send(lport, fp);
drivers/scsi/libfc/fc_exch.c
513
return error;
drivers/scsi/libfc/fc_exch.c
528
int error;
drivers/scsi/libfc/fc_exch.c
531
error = fc_seq_send_locked(lport, sp, fp);
drivers/scsi/libfc/fc_exch.c
533
return error;
drivers/scsi/libfc/fc_exch.c
638
int error;
drivers/scsi/libfc/fc_exch.c
668
error = fc_seq_send_locked(ep->lp, sp, fp);
drivers/scsi/libfc/fc_exch.c
670
error = -ENOBUFS;
drivers/scsi/libfc/fc_exch.c
677
error = 0;
drivers/scsi/libfc/fc_exch.c
680
return error;
drivers/scsi/libfc/fc_exch.c
695
int error;
drivers/scsi/libfc/fc_exch.c
699
error = fc_exch_abort_locked(ep, timer_msec);
drivers/scsi/libfc/fc_exch.c
701
return error;
drivers/scsi/libfc/fc_fcp.c
1041
static void fc_fcp_cleanup_cmd(struct fc_fcp_pkt *fsp, int error)
drivers/scsi/libfc/fc_fcp.c
1047
fsp->status_code = error;
drivers/scsi/libfc/fc_fcp.c
1060
unsigned int lun, int error)
drivers/scsi/libfc/fc_fcp.c
1094
fc_fcp_cleanup_cmd(fsp, error);
drivers/scsi/libfc/fc_fcp.c
1217
int error = PTR_ERR(fp);
drivers/scsi/libfc/fc_fcp.c
1222
if (error == -FC_EX_CLOSED) {
drivers/scsi/libfc/fc_fcp.c
1650
int error = PTR_ERR(fp);
drivers/scsi/libfc/fc_fcp.c
1655
switch (error) {
drivers/scsi/libfc/fc_fcp.c
1664
fsp, fsp->rport->port_id, error);
drivers/scsi/libfc/fc_fcp.c
604
int error;
drivers/scsi/libfc/fc_fcp.c
720
error = fc_seq_send(lport, seq, fp);
drivers/scsi/libfc/fc_fcp.c
721
if (error) {
drivers/scsi/libfc/fc_fcp.c
723
return error;
drivers/scsi/libfc/fc_frame.c
25
u32 error;
drivers/scsi/libfc/fc_frame.c
34
error = crc ^ fr_crc(fp);
drivers/scsi/libfc/fc_frame.c
35
return error;
drivers/scsi/libiscsi.c
1964
static void fail_scsi_tasks(struct iscsi_conn *conn, u64 lun, int error)
drivers/scsi/libiscsi.c
1995
__fail_scsi_task(task, error);
drivers/scsi/libsas/sas_discover.c
460
int error = 0;
drivers/scsi/libsas/sas_discover.c
469
error = sas_get_port_device(port);
drivers/scsi/libsas/sas_discover.c
470
if (error)
drivers/scsi/libsas/sas_discover.c
479
error = sas_discover_end_dev(dev);
drivers/scsi/libsas/sas_discover.c
483
error = sas_discover_root_expander(dev);
drivers/scsi/libsas/sas_discover.c
487
error = sas_discover_sata(dev);
drivers/scsi/libsas/sas_discover.c
490
error = -ENXIO;
drivers/scsi/libsas/sas_discover.c
495
if (error) {
drivers/scsi/libsas/sas_discover.c
509
task_pid_nr(current), error);
drivers/scsi/libsas/sas_expander.c
1274
goto error;
drivers/scsi/libsas/sas_expander.c
1279
goto error;
drivers/scsi/libsas/sas_expander.c
1284
goto error;
drivers/scsi/libsas/sas_expander.c
1288
error:
drivers/scsi/libsas/sas_host_smp.c
230
int error = -EINVAL;
drivers/scsi/libsas/sas_host_smp.c
237
error = -ENOMEM;
drivers/scsi/libsas/sas_host_smp.c
252
error = -EINVAL;
drivers/scsi/libsas/sas_host_smp.c
347
error = 0;
drivers/scsi/libsas/sas_host_smp.c
353
bsg_job_done(job, error, reslen);
drivers/scsi/libsas/sas_init.c
111
error = sas_register_phys(sas_ha);
drivers/scsi/libsas/sas_init.c
112
if (error) {
drivers/scsi/libsas/sas_init.c
113
pr_notice("couldn't register sas phys:%d\n", error);
drivers/scsi/libsas/sas_init.c
114
return error;
drivers/scsi/libsas/sas_init.c
117
error = sas_register_ports(sas_ha);
drivers/scsi/libsas/sas_init.c
118
if (error) {
drivers/scsi/libsas/sas_init.c
119
pr_notice("couldn't register sas ports:%d\n", error);
drivers/scsi/libsas/sas_init.c
123
error = -ENOMEM;
drivers/scsi/libsas/sas_init.c
146
return error;
drivers/scsi/libsas/sas_init.c
96
int error = 0;
drivers/scsi/libsas/sas_phy.c
103
phy->error = 0;
drivers/scsi/libsas/sas_phy.c
125
phy->error = 0;
drivers/scsi/libsas/sas_phy.c
22
phy->error = 0;
drivers/scsi/libsas/sas_phy.c
31
phy->error = 0;
drivers/scsi/libsas/sas_phy.c
46
phy->error++;
drivers/scsi/libsas/sas_phy.c
47
switch (phy->error) {
drivers/scsi/libsas/sas_phy.c
55
phy->error = 0;
drivers/scsi/libsas/sas_phy.c
71
phy->error = 0;
drivers/scsi/libsas/sas_phy.c
86
phy->error = 0;
drivers/scsi/lpfc/lpfc_attr.c
6497
int error;
drivers/scsi/lpfc/lpfc_attr.c
6503
error = sysfs_create_bin_file(&shost->shost_dev.kobj,
drivers/scsi/lpfc/lpfc_attr.c
6505
if (error)
drivers/scsi/lpfc/lpfc_attr.c
6508
error = sysfs_create_bin_file(&shost->shost_dev.kobj,
drivers/scsi/lpfc/lpfc_attr.c
6510
if (error)
drivers/scsi/lpfc/lpfc_attr.c
6517
return error;
drivers/scsi/lpfc/lpfc_els.c
7163
goto error;
drivers/scsi/lpfc/lpfc_els.c
7266
error:
drivers/scsi/lpfc/lpfc_els.c
7395
goto error;
drivers/scsi/lpfc/lpfc_els.c
7398
goto error;
drivers/scsi/lpfc/lpfc_els.c
7406
goto error;
drivers/scsi/lpfc/lpfc_els.c
7454
goto error;
drivers/scsi/lpfc/lpfc_els.c
7457
goto error;
drivers/scsi/lpfc/lpfc_els.c
7464
error:
drivers/scsi/lpfc/lpfc_els.c
7511
goto error;
drivers/scsi/lpfc/lpfc_els.c
7518
goto error;
drivers/scsi/lpfc/lpfc_els.c
7543
goto error;
drivers/scsi/lpfc/lpfc_els.c
7551
goto error;
drivers/scsi/lpfc/lpfc_els.c
7564
goto error;
drivers/scsi/lpfc/lpfc_els.c
7572
error:
drivers/scsi/lpfc/lpfc_els.c
7618
goto error;
drivers/scsi/lpfc/lpfc_els.c
7673
error:
drivers/scsi/lpfc/lpfc_init.c
11796
int error;
drivers/scsi/lpfc/lpfc_init.c
11803
error = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
drivers/scsi/lpfc/lpfc_init.c
11804
if (error)
drivers/scsi/lpfc/lpfc_init.c
11805
error = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
drivers/scsi/lpfc/lpfc_init.c
11806
if (error)
drivers/scsi/lpfc/lpfc_init.c
11807
return error;
drivers/scsi/lpfc/lpfc_init.c
11889
error = -ENOMEM;
drivers/scsi/lpfc/lpfc_init.c
11896
error = -ENOMEM;
drivers/scsi/lpfc/lpfc_init.c
11914
error = -ENOMEM;
drivers/scsi/lpfc/lpfc_init.c
11937
error = -ENOMEM;
drivers/scsi/lpfc/lpfc_init.c
11942
error = lpfc_sli4_bar2_register_memmap(phba, LPFC_VF0);
drivers/scsi/lpfc/lpfc_init.c
11943
if (error)
drivers/scsi/lpfc/lpfc_init.c
11946
error = -ENOMEM;
drivers/scsi/lpfc/lpfc_init.c
11964
error = -ENOMEM;
drivers/scsi/lpfc/lpfc_init.c
11998
return error;
drivers/scsi/lpfc/lpfc_init.c
13922
int error;
drivers/scsi/lpfc/lpfc_init.c
13931
error = lpfc_enable_pci_dev(phba);
drivers/scsi/lpfc/lpfc_init.c
13932
if (error)
drivers/scsi/lpfc/lpfc_init.c
13936
error = lpfc_api_table_setup(phba, LPFC_PCI_DEV_LP);
drivers/scsi/lpfc/lpfc_init.c
13937
if (error)
drivers/scsi/lpfc/lpfc_init.c
13941
error = lpfc_sli_pci_mem_setup(phba);
drivers/scsi/lpfc/lpfc_init.c
13942
if (error) {
drivers/scsi/lpfc/lpfc_init.c
13949
error = lpfc_sli_driver_resource_setup(phba);
drivers/scsi/lpfc/lpfc_init.c
13950
if (error) {
drivers/scsi/lpfc/lpfc_init.c
13958
error = lpfc_init_iocb_list(phba, LPFC_IOCB_LIST_CNT);
drivers/scsi/lpfc/lpfc_init.c
13959
if (error) {
drivers/scsi/lpfc/lpfc_init.c
13966
error = lpfc_setup_driver_resource_phase2(phba);
drivers/scsi/lpfc/lpfc_init.c
13967
if (error) {
drivers/scsi/lpfc/lpfc_init.c
13977
error = lpfc_create_shost(phba);
drivers/scsi/lpfc/lpfc_init.c
13978
if (error) {
drivers/scsi/lpfc/lpfc_init.c
13986
error = lpfc_alloc_sysfs_attr(vport);
drivers/scsi/lpfc/lpfc_init.c
13987
if (error) {
drivers/scsi/lpfc/lpfc_init.c
14004
error = -ENODEV;
drivers/scsi/lpfc/lpfc_init.c
14011
error = -ENODEV;
drivers/scsi/lpfc/lpfc_init.c
14064
return error;
drivers/scsi/lpfc/lpfc_init.c
14229
int error;
drivers/scsi/lpfc/lpfc_init.c
14238
error = PTR_ERR(phba->worker_thread);
drivers/scsi/lpfc/lpfc_init.c
14241
"thread: error=x%x.\n", error);
drivers/scsi/lpfc/lpfc_init.c
14242
return error;
drivers/scsi/lpfc/lpfc_init.c
14735
int error;
drivers/scsi/lpfc/lpfc_init.c
14746
error = lpfc_enable_pci_dev(phba);
drivers/scsi/lpfc/lpfc_init.c
14747
if (error)
drivers/scsi/lpfc/lpfc_init.c
14751
error = lpfc_api_table_setup(phba, LPFC_PCI_DEV_OC);
drivers/scsi/lpfc/lpfc_init.c
14752
if (error)
drivers/scsi/lpfc/lpfc_init.c
14756
error = lpfc_sli4_pci_mem_setup(phba);
drivers/scsi/lpfc/lpfc_init.c
14757
if (error) {
drivers/scsi/lpfc/lpfc_init.c
14764
error = lpfc_sli4_driver_resource_setup(phba);
drivers/scsi/lpfc/lpfc_init.c
14765
if (error) {
drivers/scsi/lpfc/lpfc_init.c
14776
error = lpfc_setup_driver_resource_phase2(phba);
drivers/scsi/lpfc/lpfc_init.c
14777
if (error) {
drivers/scsi/lpfc/lpfc_init.c
14804
error = -ENODEV;
drivers/scsi/lpfc/lpfc_init.c
14818
error = lpfc_create_shost(phba);
drivers/scsi/lpfc/lpfc_init.c
14819
if (error) {
drivers/scsi/lpfc/lpfc_init.c
14828
error = lpfc_alloc_sysfs_attr(vport);
drivers/scsi/lpfc/lpfc_init.c
14829
if (error) {
drivers/scsi/lpfc/lpfc_init.c
14839
error = -ENODEV;
drivers/scsi/lpfc/lpfc_init.c
14860
error = lpfc_nvme_create_localport(vport);
drivers/scsi/lpfc/lpfc_init.c
14861
if (error) {
drivers/scsi/lpfc/lpfc_init.c
14865
error);
drivers/scsi/lpfc/lpfc_init.c
14900
return error;
drivers/scsi/lpfc/lpfc_init.c
15054
int error;
drivers/scsi/lpfc/lpfc_init.c
15063
error = PTR_ERR(phba->worker_thread);
drivers/scsi/lpfc/lpfc_init.c
15066
"thread: error=x%x.\n", error);
drivers/scsi/lpfc/lpfc_init.c
15067
return error;
drivers/scsi/lpfc/lpfc_init.c
15678
int error = 0;
drivers/scsi/lpfc/lpfc_init.c
15683
error = misc_register(&lpfc_mgmt_dev);
drivers/scsi/lpfc/lpfc_init.c
15684
if (error)
drivers/scsi/lpfc/lpfc_init.c
15686
"misc_register returned with status %d", error);
drivers/scsi/lpfc/lpfc_init.c
15688
error = -ENOMEM;
drivers/scsi/lpfc/lpfc_init.c
15709
error = cpuhp_setup_state_multi(CPUHP_AP_ONLINE_DYN,
drivers/scsi/lpfc/lpfc_init.c
15712
if (error < 0)
drivers/scsi/lpfc/lpfc_init.c
15714
lpfc_cpuhp_state = error;
drivers/scsi/lpfc/lpfc_init.c
15716
error = pci_register_driver(&lpfc_driver);
drivers/scsi/lpfc/lpfc_init.c
15717
if (error)
drivers/scsi/lpfc/lpfc_init.c
15720
return error;
drivers/scsi/lpfc/lpfc_init.c
15730
return error;
drivers/scsi/lpfc/lpfc_init.c
3698
int i, error = 0;
drivers/scsi/lpfc/lpfc_init.c
3728
error = lpfc_nvme_create_localport(phba->pport);
drivers/scsi/lpfc/lpfc_init.c
3729
if (error)
drivers/scsi/lpfc/lpfc_init.c
3732
"on nvmei error x%x\n", error);
drivers/scsi/lpfc/lpfc_init.c
4686
int error = 0;
drivers/scsi/lpfc/lpfc_init.c
4842
error = scsi_add_host_with_dma(shost, dev, &phba->pcidev->dev);
drivers/scsi/lpfc/lpfc_init.c
4843
if (error)
drivers/scsi/lpfc/lpfc_init.c
8580
int error;
drivers/scsi/lpfc/lpfc_init.c
8586
error = PTR_ERR(phba->worker_thread);
drivers/scsi/lpfc/lpfc_init.c
8587
return error;
drivers/scsi/lpfc/lpfc_init.c
9260
int error;
drivers/scsi/lpfc/lpfc_init.c
9266
error = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
drivers/scsi/lpfc/lpfc_init.c
9267
if (error)
drivers/scsi/lpfc/lpfc_init.c
9268
error = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
drivers/scsi/lpfc/lpfc_init.c
9269
if (error)
drivers/scsi/lpfc/lpfc_init.c
9270
return error;
drivers/scsi/lpfc/lpfc_init.c
9271
error = -ENODEV;
drivers/scsi/lpfc/lpfc_init.c
9347
return error;
drivers/scsi/lpfc/lpfc_mbox.c
2413
goto error;
drivers/scsi/lpfc/lpfc_mbox.c
2443
goto error;
drivers/scsi/lpfc/lpfc_mbox.c
2447
error:
drivers/scsi/lpfc/lpfc_nvmet.c
1656
int error;
drivers/scsi/lpfc/lpfc_nvmet.c
1661
error = lpfc_nvmet_setup_io_context(phba);
drivers/scsi/lpfc/lpfc_nvmet.c
1662
if (error)
drivers/scsi/lpfc/lpfc_nvmet.c
1663
return error;
drivers/scsi/lpfc/lpfc_nvmet.c
1679
error = nvmet_fc_register_targetport(&pinfo, &lpfc_tgttemplate,
drivers/scsi/lpfc/lpfc_nvmet.c
1683
error = -ENOENT;
drivers/scsi/lpfc/lpfc_nvmet.c
1685
if (error) {
drivers/scsi/lpfc/lpfc_nvmet.c
1689
error,
drivers/scsi/lpfc/lpfc_nvmet.c
1748
return error;
drivers/scsi/lpfc/lpfc_scsi.c
6217
goto error;
drivers/scsi/lpfc/lpfc_scsi.c
6223
goto error;
drivers/scsi/lpfc/lpfc_scsi.c
6228
goto error;
drivers/scsi/lpfc/lpfc_scsi.c
6233
error:
drivers/scsi/lpfc/lpfc_sli.c
20213
int rc = 0, error;
drivers/scsi/lpfc/lpfc_sli.c
20223
error = -ENOMEM;
drivers/scsi/lpfc/lpfc_sli.c
20229
error = -EINVAL;
drivers/scsi/lpfc/lpfc_sli.c
20240
error = -EIO;
drivers/scsi/lpfc/lpfc_sli.c
20245
error = 0;
drivers/scsi/lpfc/lpfc_sli.c
20248
if (error) {
drivers/scsi/lpfc/lpfc_sli.c
20254
return error;
drivers/scsi/lpfc/lpfc_sli.c
20271
int rc = 0, error;
drivers/scsi/lpfc/lpfc_sli.c
20279
error = -ENOMEM;
drivers/scsi/lpfc/lpfc_sli.c
20285
error = -EINVAL;
drivers/scsi/lpfc/lpfc_sli.c
20293
error = -EIO;
drivers/scsi/lpfc/lpfc_sli.c
20295
error = 0;
drivers/scsi/lpfc/lpfc_sli.c
20298
if (error && mboxq)
drivers/scsi/lpfc/lpfc_sli.c
20300
return error;
drivers/scsi/lpfc/lpfc_sli.c
20317
int rc = 0, error;
drivers/scsi/lpfc/lpfc_sli.c
20325
error = -ENOMEM;
drivers/scsi/lpfc/lpfc_sli.c
20331
error = -EINVAL;
drivers/scsi/lpfc/lpfc_sli.c
20339
error = -EIO;
drivers/scsi/lpfc/lpfc_sli.c
20341
error = 0;
drivers/scsi/lpfc/lpfc_sli.c
20344
if (error && mboxq)
drivers/scsi/lpfc/lpfc_sli.c
20346
return error;
drivers/scsi/lpfc/lpfc_sli.c
7156
int i, rc, error = 0;
drivers/scsi/lpfc/lpfc_sli.c
7178
error++;
drivers/scsi/lpfc/lpfc_sli.c
7182
error++;
drivers/scsi/lpfc/lpfc_sli.c
7186
error++;
drivers/scsi/lpfc/lpfc_sli.c
7190
error++;
drivers/scsi/lpfc/lpfc_sli.c
7198
if (error) {
drivers/scsi/mac_scsi.c
446
int error;
drivers/scsi/mac_scsi.c
500
error = NCR5380_init(instance, host_flags | FLAG_LATE_DMA_SETUP);
drivers/scsi/mac_scsi.c
501
if (error)
drivers/scsi/mac_scsi.c
505
error = request_irq(instance->irq, macscsi_intr, IRQF_SHARED,
drivers/scsi/mac_scsi.c
507
if (error)
drivers/scsi/mac_scsi.c
513
error = scsi_add_host(instance, NULL);
drivers/scsi/mac_scsi.c
514
if (error)
drivers/scsi/mac_scsi.c
529
return error;
drivers/scsi/megaraid.c
4127
int error = -ENODEV;
drivers/scsi/megaraid.c
4442
error = scsi_add_host(host, &pdev->dev);
drivers/scsi/megaraid.c
4443
if (error)
drivers/scsi/megaraid.c
4473
return error;
drivers/scsi/megaraid.c
4575
int error;
drivers/scsi/megaraid.c
4589
error = pci_register_driver(&megaraid_pci_driver);
drivers/scsi/megaraid.c
4590
if (error) {
drivers/scsi/megaraid.c
4594
return error;
drivers/scsi/megaraid/megaraid_sas_base.c
8200
int i, error = 0;
drivers/scsi/megaraid/megaraid_sas_base.c
8217
error = 0;
drivers/scsi/megaraid/megaraid_sas_base.c
8222
error = -1;
drivers/scsi/megaraid/megaraid_sas_base.c
8226
return error;
drivers/scsi/megaraid/megaraid_sas_base.c
8245
int error = 0, i;
drivers/scsi/megaraid/megaraid_sas_base.c
8310
error = megasas_set_crash_dump_params_ioctl(cmd);
drivers/scsi/megaraid/megaraid_sas_base.c
8312
return error;
drivers/scsi/megaraid/megaraid_sas_base.c
8343
error = -ENOMEM;
drivers/scsi/megaraid/megaraid_sas_base.c
8365
error = -EFAULT;
drivers/scsi/megaraid/megaraid_sas_base.c
8374
error = -EINVAL;
drivers/scsi/megaraid/megaraid_sas_base.c
8381
error = -ENOMEM;
drivers/scsi/megaraid/megaraid_sas_base.c
8405
error = -EBUSY;
drivers/scsi/megaraid/megaraid_sas_base.c
8422
error = -EFAULT;
drivers/scsi/megaraid/megaraid_sas_base.c
8446
error = -EFAULT;
drivers/scsi/megaraid/megaraid_sas_base.c
8457
error = -EFAULT;
drivers/scsi/megaraid/megaraid_sas_base.c
8483
return error;
drivers/scsi/megaraid/megaraid_sas_base.c
8524
int error;
drivers/scsi/megaraid/megaraid_sas_base.c
8536
error = -ENODEV;
drivers/scsi/megaraid/megaraid_sas_base.c
8542
error = -ENODEV;
drivers/scsi/megaraid/megaraid_sas_base.c
8548
error = -ENODEV;
drivers/scsi/megaraid/megaraid_sas_base.c
8553
error = -ENODEV;
drivers/scsi/megaraid/megaraid_sas_base.c
8558
error = -ERESTARTSYS;
drivers/scsi/megaraid/megaraid_sas_base.c
8563
error = -ENODEV;
drivers/scsi/megaraid/megaraid_sas_base.c
8567
error = megasas_mgmt_fw_ioctl(instance, user_ioc, ioc);
drivers/scsi/megaraid/megaraid_sas_base.c
8573
return error;
drivers/scsi/megaraid/megaraid_sas_base.c
8580
int error;
drivers/scsi/megaraid/megaraid_sas_base.c
8608
error = megasas_register_aen(instance, aen.seq_num,
drivers/scsi/megaraid/megaraid_sas_base.c
8611
return error;
drivers/scsi/megaraid/megaraid_sas_base.c
8885
int error;
drivers/scsi/megaraid/megaraid_sas_base.c
8983
error = megasas_register_aen(instance, seq_num,
drivers/scsi/megaraid/megaraid_sas_base.c
8985
if (error)
drivers/scsi/megaraid/megaraid_sas_base.c
8987
"register aen failed error %x\n", error);
drivers/scsi/mesh.c
1030
err = in_8(&mr->error);
drivers/scsi/mesh.c
1496
MKWORD(mr->error, mr->exception,
drivers/scsi/mesh.c
1504
in_8(&mr->error));
drivers/scsi/mesh.c
1664
mr->interrupt, mr->exception, mr->error,
drivers/scsi/mesh.c
1669
MKWORD(intr, mr->error, mr->exception, mr->sequence));
drivers/scsi/mesh.c
1719
out_8(&mr->error, 0xff); /* clear all error bits */
drivers/scsi/mesh.c
316
mr->exception, mr->error, mr->intr_mask, mr->interrupt,
drivers/scsi/mesh.c
360
out_8(&mr->error, 0xff); /* clear all error bits */
drivers/scsi/mesh.c
437
MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count));
drivers/scsi/mesh.c
450
mr->error, mr->fifo_count));
drivers/scsi/mesh.c
457
mr->error, mr->fifo_count));
drivers/scsi/mesh.c
495
mr->error, mr->fifo_count));
drivers/scsi/mesh.c
501
mr->error, mr->fifo_count));
drivers/scsi/mesh.c
512
MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count));
drivers/scsi/mesh.c
517
MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count));
drivers/scsi/mesh.c
528
MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count));
drivers/scsi/mesh.c
806
MKWORD(mr->interrupt, mr->exception, mr->error,
drivers/scsi/mesh.c
908
MKWORD(0, mr->error, mr->exception, mr->fifo_count));
drivers/scsi/mesh.c
959
dlog(ms, "resel err/exc=%.4x", MKWORD(0, 0, mr->error, mr->exception));
drivers/scsi/mesh.h
43
unsigned char error;
drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h
2279
struct mpi3_pcie_io_unit3_error error[MPI3_PCIEIOUNIT3_NUM_ERROR_INDEX];
drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h
737
u8 error;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
622
u8 error;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
14101
int error;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
14135
error = scsih_init();
drivers/scsi/mpt3sas/mpt3sas_scsih.c
14136
if (error) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
14138
return error;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
14143
error = pci_register_driver(&mpt3sas_driver);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
14144
if (error) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
14149
return error;
drivers/scsi/mvme147.c
116
error = request_irq(MVME147_IRQ_SCSI_PORT, mvme147_intr, 0,
drivers/scsi/mvme147.c
118
if (error)
drivers/scsi/mvme147.c
120
error = request_irq(MVME147_IRQ_SCSI_DMA, mvme147_intr, 0,
drivers/scsi/mvme147.c
122
if (error)
drivers/scsi/mvme147.c
136
error = scsi_add_host(mvme147_shost, NULL);
drivers/scsi/mvme147.c
137
if (error)
drivers/scsi/mvme147.c
147
return error;
drivers/scsi/mvme147.c
94
int error = -ENOMEM;
drivers/scsi/mvumi.c
2051
goto error;
drivers/scsi/mvumi.c
2060
goto error;
drivers/scsi/mvumi.c
2069
error:
drivers/scsi/myrb.c
2460
static bool myrb_err_status(struct myrb_hba *cb, unsigned char error,
drivers/scsi/myrb.c
2465
switch (error) {
drivers/scsi/myrb.c
2501
error);
drivers/scsi/myrb.c
2611
DAC960_LA_read_error_status(void __iomem *base, unsigned char *error,
drivers/scsi/myrb.c
2620
*error = errsts;
drivers/scsi/myrb.c
2669
unsigned char error, parm0, parm1;
drivers/scsi/myrb.c
2676
if (DAC960_LA_read_error_status(base, &error,
drivers/scsi/myrb.c
2678
myrb_err_status(cb, error, parm0, parm1))
drivers/scsi/myrb.c
2858
DAC960_PG_read_error_status(void __iomem *base, unsigned char *error,
drivers/scsi/myrb.c
2866
*error = errsts;
drivers/scsi/myrb.c
2917
unsigned char error, parm0, parm1;
drivers/scsi/myrb.c
2924
if (DAC960_PG_read_error_status(base, &error,
drivers/scsi/myrb.c
2926
myrb_err_status(cb, error, parm0, parm1))
drivers/scsi/myrb.c
3083
DAC960_PD_read_error_status(void __iomem *base, unsigned char *error,
drivers/scsi/myrb.c
3091
*error = errsts;
drivers/scsi/myrb.c
3113
unsigned char error, parm0, parm1;
drivers/scsi/myrb.c
3125
if (DAC960_PD_read_error_status(base, &error,
drivers/scsi/myrb.c
3127
myrb_err_status(cb, error, parm0, parm1))
drivers/scsi/myrb.c
3279
unsigned char error, parm0, parm1;
drivers/scsi/myrb.c
3291
if (DAC960_PD_read_error_status(base, &error,
drivers/scsi/myrb.c
3293
myrb_err_status(cb, error, parm0, parm1))
drivers/scsi/myrs.c
2503
DAC960_GEM_read_error_status(void __iomem *base, unsigned char *error,
drivers/scsi/myrs.c
2511
*error = val & ~(DAC960_GEM_ERRSTS_PENDING << 24);
drivers/scsi/myrs.c
2721
DAC960_BA_read_error_status(void __iomem *base, unsigned char *error,
drivers/scsi/myrs.c
2730
*error = val;
drivers/scsi/myrs.c
2939
DAC960_LP_read_error_status(void __iomem *base, unsigned char *error,
drivers/scsi/myrs.c
2948
*error = val;
drivers/scsi/pm8001/pm8001_hwi.h
181
u8 error;
drivers/scsi/pm8001/pm8001_hwi.h
195
u8 error;
drivers/scsi/pm8001/pm80xx_hwi.h
378
u8 error;
drivers/scsi/pm8001/pm80xx_hwi.h
392
u8 error;
drivers/scsi/pmcraid.c
4717
int error;
drivers/scsi/pmcraid.c
4723
error = cdev_add(&pinstance->cdev, MKDEV(pmcraid_major, minor), 1);
drivers/scsi/pmcraid.c
4725
if (error)
drivers/scsi/pmcraid.c
4730
return error;
drivers/scsi/pmcraid.c
5380
int error;
drivers/scsi/pmcraid.c
5385
error = alloc_chrdev_region(&dev, 0,
drivers/scsi/pmcraid.c
5389
if (error) {
drivers/scsi/pmcraid.c
5396
error = class_register(&pmcraid_class);
drivers/scsi/pmcraid.c
5398
if (error) {
drivers/scsi/pmcraid.c
5400
error);
drivers/scsi/pmcraid.c
5404
error = pmcraid_netlink_init();
drivers/scsi/pmcraid.c
5406
if (error) {
drivers/scsi/pmcraid.c
5411
error = pci_register_driver(&pmcraid_driver);
drivers/scsi/pmcraid.c
5413
if (error == 0)
drivers/scsi/pmcraid.c
5417
error);
drivers/scsi/pmcraid.c
5425
return error;
drivers/scsi/ps3rom.c
343
int error;
drivers/scsi/ps3rom.c
359
error = ps3stor_setup(dev, ps3rom_interrupt);
drivers/scsi/ps3rom.c
360
if (error)
drivers/scsi/ps3rom.c
368
error = -ENOMEM;
drivers/scsi/ps3rom.c
380
error = scsi_add_host(host, &dev->sbd.core);
drivers/scsi/ps3rom.c
381
if (error) {
drivers/scsi/ps3rom.c
383
__func__, __LINE__, error);
drivers/scsi/ps3rom.c
384
error = -ENODEV;
drivers/scsi/ps3rom.c
398
return error;
drivers/scsi/qedi/qedi_fw.c
603
goto error;
drivers/scsi/qedi/qedi_fw.c
609
goto error;
drivers/scsi/qedi/qedi_fw.c
616
goto error;
drivers/scsi/qedi/qedi_fw.c
669
error:
drivers/scsi/qla1280.c
4124
int error = -ENODEV;
drivers/scsi/qla1280.c
4130
goto error;
drivers/scsi/qla1280.c
4139
goto error;
drivers/scsi/qla1280.c
4144
error = -ENOMEM;
drivers/scsi/qla1280.c
4163
error = -ENODEV;
drivers/scsi/qla1280.c
4173
error = -ENODEV;
drivers/scsi/qla1280.c
4206
error = -ENODEV;
drivers/scsi/qla1280.c
4252
error = scsi_add_host(host, &pdev->dev);
drivers/scsi/qla1280.c
4253
if (error)
drivers/scsi/qla1280.c
4281
error:
drivers/scsi/qla1280.c
4282
return error;
drivers/scsi/qla2xxx/qla_fw.h
1073
} error;
drivers/scsi/qla2xxx/qla_isr.c
178
abts_rsp->payload.error.subcode1,
drivers/scsi/qla2xxx/qla_isr.c
179
abts_rsp->payload.error.subcode2);
drivers/scsi/qla2xxx/qla_nx2.c
2672
goto error;
drivers/scsi/qla2xxx/qla_nx2.c
2685
error:
drivers/scsi/qla2xxx/qla_nx2.c
2762
goto error;
drivers/scsi/qla2xxx/qla_nx2.c
2783
goto error;
drivers/scsi/qla2xxx/qla_nx2.c
2795
error:
drivers/scsi/qla2xxx/qla_nx2.c
3029
goto error;
drivers/scsi/qla2xxx/qla_nx2.c
3049
goto error;
drivers/scsi/qla2xxx/qla_nx2.c
3065
goto error;
drivers/scsi/qla2xxx/qla_nx2.c
3079
error:
drivers/scsi/qla2xxx/qla_nx2.c
3116
goto error;
drivers/scsi/qla2xxx/qla_nx2.c
3122
goto error;
drivers/scsi/qla2xxx/qla_nx2.c
3128
goto error;
drivers/scsi/qla2xxx/qla_nx2.c
3134
goto error;
drivers/scsi/qla2xxx/qla_nx2.c
3139
goto error;
drivers/scsi/qla2xxx/qla_nx2.c
3144
goto error;
drivers/scsi/qla2xxx/qla_nx2.c
3158
error:
drivers/scsi/qla2xxx/qla_nx2.c
3187
goto error;
drivers/scsi/qla2xxx/qla_nx2.c
3204
error:
drivers/scsi/qlogicpti.c
661
int error = 0;
drivers/scsi/qlogicpti.c
663
error++;
drivers/scsi/qlogicpti.c
667
error++;
drivers/scsi/qlogicpti.c
672
error++;
drivers/scsi/qlogicpti.c
677
return error;
drivers/scsi/scsi.c
1028
int error;
drivers/scsi/scsi.c
1030
error = scsi_init_procfs();
drivers/scsi/scsi.c
1031
if (error)
drivers/scsi/scsi.c
1033
error = scsi_init_devinfo();
drivers/scsi/scsi.c
1034
if (error)
drivers/scsi/scsi.c
1036
error = scsi_init_hosts();
drivers/scsi/scsi.c
1037
if (error)
drivers/scsi/scsi.c
1039
error = scsi_init_sysctl();
drivers/scsi/scsi.c
1040
if (error)
drivers/scsi/scsi.c
1042
error = scsi_sysfs_register();
drivers/scsi/scsi.c
1043
if (error)
drivers/scsi/scsi.c
1062
-error);
drivers/scsi/scsi.c
1063
return error;
drivers/scsi/scsi_debug.c
8865
int error = -ENOMEM;
drivers/scsi/scsi_debug.c
8895
error = device_register(&sdbg_host->dev);
drivers/scsi/scsi_debug.c
8896
if (error) {
drivers/scsi/scsi_debug.c
8917
pr_warn("failed, errno=%d\n", -error);
drivers/scsi/scsi_debug.c
8918
return error;
drivers/scsi/scsi_debug.c
9554
int error = 0;
drivers/scsi/scsi_debug.c
9564
error = -ENODEV;
drivers/scsi/scsi_debug.c
9565
return error;
drivers/scsi/scsi_debug.c
9665
error = scsi_add_host(hpnt, &sdbg_host->dev);
drivers/scsi/scsi_debug.c
9666
if (error) {
drivers/scsi/scsi_debug.c
9668
error = -ENODEV;
drivers/scsi/scsi_debug.c
9674
return error;
drivers/scsi/scsi_devinfo.c
823
int error, i;
drivers/scsi/scsi_devinfo.c
825
error = scsi_dev_info_add_list(SCSI_DEVINFO_GLOBAL, NULL);
drivers/scsi/scsi_devinfo.c
826
if (error)
drivers/scsi/scsi_devinfo.c
827
return error;
drivers/scsi/scsi_devinfo.c
829
error = scsi_dev_info_list_add_str(scsi_dev_flags);
drivers/scsi/scsi_devinfo.c
830
if (error)
drivers/scsi/scsi_devinfo.c
834
error = scsi_dev_info_list_add(1 /* compatible */,
drivers/scsi/scsi_devinfo.c
839
if (error)
drivers/scsi/scsi_devinfo.c
846
error = -ENOMEM;
drivers/scsi/scsi_devinfo.c
852
if (error)
drivers/scsi/scsi_devinfo.c
854
return error;
drivers/scsi/scsi_dh.c
127
int error, ret = 0;
drivers/scsi/scsi_dh.c
132
error = scsi_dh->attach(sdev);
drivers/scsi/scsi_dh.c
133
if (error != SCSI_DH_OK) {
drivers/scsi/scsi_dh.c
134
switch (error) {
drivers/scsi/scsi_dh.c
151
scsi_dh->name, error);
drivers/scsi/scsi_error.c
2501
int error = 0, val;
drivers/scsi/scsi_error.c
2507
error = get_user(val, arg);
drivers/scsi/scsi_error.c
2508
if (error)
drivers/scsi/scsi_error.c
2509
return error;
drivers/scsi/scsi_error.c
2514
error = -EIO;
drivers/scsi/scsi_error.c
2565
error = (rtn == SUCCESS) ? 0 : -EIO;
drivers/scsi/scsi_error.c
2586
return error;
drivers/scsi/scsi_ioctl.c
567
goto error;
drivers/scsi/scsi_ioctl.c
570
goto error;
drivers/scsi/scsi_ioctl.c
574
goto error;
drivers/scsi/scsi_ioctl.c
606
goto error;
drivers/scsi/scsi_ioctl.c
624
error:
drivers/scsi/scsi_ioctl.c
855
int error;
drivers/scsi/scsi_ioctl.c
857
error = get_sg_io_hdr(&hdr, argp);
drivers/scsi/scsi_ioctl.c
858
if (error)
drivers/scsi/scsi_ioctl.c
859
return error;
drivers/scsi/scsi_ioctl.c
860
error = sg_io(sdev, &hdr, open_for_write);
drivers/scsi/scsi_ioctl.c
861
if (error == -EFAULT)
drivers/scsi/scsi_ioctl.c
862
return error;
drivers/scsi/scsi_ioctl.c
865
return error;
drivers/scsi/scsi_lib.c
640
static bool scsi_end_request(struct request *req, blk_status_t error,
drivers/scsi/scsi_lib.c
647
if (blk_update_request(req, error, bytes))
drivers/scsi/scsi_lib.c
680
__blk_mq_end_request(req, error);
drivers/scsi/scsi_proc.c
341
int error = -ENXIO;
drivers/scsi/scsi_proc.c
345
return error;
drivers/scsi/scsi_proc.c
348
error = shost->transportt->user_scan(shost, channel, id, lun);
drivers/scsi/scsi_proc.c
350
error = scsi_scan_host_selected(shost, channel, id, lun,
drivers/scsi/scsi_proc.c
353
return error;
drivers/scsi/scsi_proc.c
370
int error = -ENXIO;
drivers/scsi/scsi_proc.c
374
return error;
drivers/scsi/scsi_proc.c
379
error = 0;
drivers/scsi/scsi_proc.c
383
return error;
drivers/scsi/scsi_scan.c
503
int error, ref_got;
drivers/scsi/scsi_scan.c
538
error = shost->hostt->target_alloc(starget);
drivers/scsi/scsi_scan.c
540
if(error) {
drivers/scsi/scsi_scan.c
541
if (error != -ENXIO)
drivers/scsi/scsi_scan.c
542
dev_err(dev, "target allocation failed, error %d\n", error);
drivers/scsi/scsi_sysfs.c
1357
int error;
drivers/scsi/scsi_sysfs.c
1362
error = device_add(&starget->dev);
drivers/scsi/scsi_sysfs.c
1363
if (error) {
drivers/scsi/scsi_sysfs.c
1364
dev_err(&starget->dev, "target device_add failed, error %d\n", error);
drivers/scsi/scsi_sysfs.c
1365
return error;
drivers/scsi/scsi_sysfs.c
1386
int error;
drivers/scsi/scsi_sysfs.c
1392
error = scsi_target_add(starget);
drivers/scsi/scsi_sysfs.c
1393
if (error)
drivers/scsi/scsi_sysfs.c
1394
return error;
drivers/scsi/scsi_sysfs.c
1410
error = device_add(&sdev->sdev_gendev);
drivers/scsi/scsi_sysfs.c
1411
if (error) {
drivers/scsi/scsi_sysfs.c
1413
"failed to add device: %d\n", error);
drivers/scsi/scsi_sysfs.c
1414
return error;
drivers/scsi/scsi_sysfs.c
1418
error = device_add(&sdev->sdev_dev);
drivers/scsi/scsi_sysfs.c
1419
if (error) {
drivers/scsi/scsi_sysfs.c
1421
"failed to add class device: %d\n", error);
drivers/scsi/scsi_sysfs.c
1423
return error;
drivers/scsi/scsi_sysfs.c
1431
error = PTR_ERR(sdev->bsg_dev);
drivers/scsi/scsi_sysfs.c
1434
error);
drivers/scsi/scsi_sysfs.c
1440
return error;
drivers/scsi/scsi_sysfs.c
606
int error;
drivers/scsi/scsi_sysfs.c
608
error = bus_register(&scsi_bus_type);
drivers/scsi/scsi_sysfs.c
609
if (!error) {
drivers/scsi/scsi_sysfs.c
610
error = class_register(&sdev_class);
drivers/scsi/scsi_sysfs.c
611
if (error)
drivers/scsi/scsi_sysfs.c
615
return error;
drivers/scsi/scsi_transport_fc.c
3092
int error;
drivers/scsi/scsi_transport_fc.c
3158
error = device_add(dev);
drivers/scsi/scsi_transport_fc.c
3159
if (error) {
drivers/scsi/scsi_transport_fc.c
3887
int error;
drivers/scsi/scsi_transport_fc.c
3936
error = device_add(dev);
drivers/scsi/scsi_transport_fc.c
3937
if (error) {
drivers/scsi/scsi_transport_fc.c
3944
error = fci->f->vport_create(vport, ids->disable);
drivers/scsi/scsi_transport_fc.c
3945
if (error) {
drivers/scsi/scsi_transport_fc.c
3955
error = sysfs_create_link(&shost->shost_gendev.kobj,
drivers/scsi/scsi_transport_fc.c
3957
if (error)
drivers/scsi/scsi_transport_fc.c
3961
__func__, dev_name(dev), error);
drivers/scsi/scsi_transport_fc.c
3988
return error;
drivers/scsi/scsi_transport_fc.c
937
int error;
drivers/scsi/scsi_transport_fc.c
941
error = transport_class_register(&fc_host_class);
drivers/scsi/scsi_transport_fc.c
942
if (error)
drivers/scsi/scsi_transport_fc.c
943
return error;
drivers/scsi/scsi_transport_fc.c
944
error = transport_class_register(&fc_vport_class);
drivers/scsi/scsi_transport_fc.c
945
if (error)
drivers/scsi/scsi_transport_fc.c
947
error = transport_class_register(&fc_rport_class);
drivers/scsi/scsi_transport_fc.c
948
if (error)
drivers/scsi/scsi_transport_fc.c
950
error = transport_class_register(&fc_transport_class);
drivers/scsi/scsi_transport_fc.c
951
if (error)
drivers/scsi/scsi_transport_fc.c
961
return error;
drivers/scsi/scsi_transport_iscsi.c
2616
void iscsi_conn_error_event(struct iscsi_cls_conn *conn, enum iscsi_err error)
drivers/scsi/scsi_transport_iscsi.c
2657
"conn error (%d)\n", error);
drivers/scsi/scsi_transport_iscsi.c
2665
ev->r.connerror.error = error;
drivers/scsi/scsi_transport_iscsi.c
2672
error);
drivers/scsi/scsi_transport_sas.c
1224
int error;
drivers/scsi/scsi_transport_sas.c
1226
error = i->f->get_enclosure_identifier(rphy, &identifier);
drivers/scsi/scsi_transport_sas.c
1227
if (error)
drivers/scsi/scsi_transport_sas.c
1228
return error;
drivers/scsi/scsi_transport_sas.c
1270
int error;
drivers/scsi/scsi_transport_sas.c
1275
error = scsi_mode_sense(sdev, 1, 0x19, 0, buffer, BUF_SIZE, 30*HZ, 3,
drivers/scsi/scsi_transport_sas.c
1278
if (error)
drivers/scsi/scsi_transport_sas.c
1287
error = 0;
drivers/scsi/scsi_transport_sas.c
1295
return error;
drivers/scsi/scsi_transport_sas.c
1547
int error;
drivers/scsi/scsi_transport_sas.c
1553
error = device_add(&rphy->dev);
drivers/scsi/scsi_transport_sas.c
1554
if (error)
drivers/scsi/scsi_transport_sas.c
1555
return error;
drivers/scsi/scsi_transport_sas.c
1938
int error;
drivers/scsi/scsi_transport_sas.c
1940
error = transport_class_register(&sas_host_class);
drivers/scsi/scsi_transport_sas.c
1941
if (error)
drivers/scsi/scsi_transport_sas.c
1943
error = transport_class_register(&sas_phy_class);
drivers/scsi/scsi_transport_sas.c
1944
if (error)
drivers/scsi/scsi_transport_sas.c
1946
error = transport_class_register(&sas_port_class);
drivers/scsi/scsi_transport_sas.c
1947
if (error)
drivers/scsi/scsi_transport_sas.c
1949
error = transport_class_register(&sas_rphy_class);
drivers/scsi/scsi_transport_sas.c
1950
if (error)
drivers/scsi/scsi_transport_sas.c
1952
error = transport_class_register(&sas_end_dev_class);
drivers/scsi/scsi_transport_sas.c
1953
if (error)
drivers/scsi/scsi_transport_sas.c
1955
error = transport_class_register(&sas_expander_class);
drivers/scsi/scsi_transport_sas.c
1956
if (error)
drivers/scsi/scsi_transport_sas.c
1972
return error;
drivers/scsi/scsi_transport_sas.c
500
int error; \
drivers/scsi/scsi_transport_sas.c
502
error = set_sas_linkspeed_names(&value, buf); \
drivers/scsi/scsi_transport_sas.c
503
if (error) \
drivers/scsi/scsi_transport_sas.c
504
return error; \
drivers/scsi/scsi_transport_sas.c
506
error = i->f->set_phy_speed(phy, &rates); \
drivers/scsi/scsi_transport_sas.c
508
return error ? error : count; \
drivers/scsi/scsi_transport_sas.c
530
int error; \
drivers/scsi/scsi_transport_sas.c
532
error = i->f->get_linkerrors ? i->f->get_linkerrors(phy) : 0; \
drivers/scsi/scsi_transport_sas.c
533
if (error) \
drivers/scsi/scsi_transport_sas.c
534
return error; \
drivers/scsi/scsi_transport_sas.c
561
int error;
drivers/scsi/scsi_transport_sas.c
563
error = i->f->phy_enable(phy, enable);
drivers/scsi/scsi_transport_sas.c
564
if (error)
drivers/scsi/scsi_transport_sas.c
565
return error;
drivers/scsi/scsi_transport_sas.c
609
int error;
drivers/scsi/scsi_transport_sas.c
611
error = i->f->phy_reset(phy, hard_reset);
drivers/scsi/scsi_transport_sas.c
612
if (error)
drivers/scsi/scsi_transport_sas.c
613
return error;
drivers/scsi/scsi_transport_sas.c
747
int error;
drivers/scsi/scsi_transport_sas.c
749
error = device_add(&phy->dev);
drivers/scsi/scsi_transport_sas.c
750
if (error)
drivers/scsi/scsi_transport_sas.c
751
return error;
drivers/scsi/scsi_transport_sas.c
753
error = transport_add_device(&phy->dev);
drivers/scsi/scsi_transport_sas.c
754
if (error) {
drivers/scsi/scsi_transport_sas.c
756
return error;
drivers/scsi/scsi_transport_sas.c
979
int error;
drivers/scsi/scsi_transport_sas.c
984
error = device_add(&port->dev);
drivers/scsi/scsi_transport_sas.c
986
if (error)
drivers/scsi/scsi_transport_sas.c
987
return error;
drivers/scsi/scsi_transport_spi.c
1607
int error = scsi_dev_info_add_list(SCSI_DEVINFO_SPI,
drivers/scsi/scsi_transport_spi.c
1609
if (!error) {
drivers/scsi/scsi_transport_spi.c
1621
error = transport_class_register(&spi_transport_class);
drivers/scsi/scsi_transport_spi.c
1622
if (error)
drivers/scsi/scsi_transport_spi.c
1623
return error;
drivers/scsi/sd.c
1684
int error;
drivers/scsi/sd.c
1699
error = scsi_ioctl_block_when_processing_errors(sdp, cmd,
drivers/scsi/sd.c
1701
if (error)
drivers/scsi/sd.c
1702
return error;
drivers/scsi/sd.c
3957
int error;
drivers/scsi/sd.c
3960
error = -ENODEV;
drivers/scsi/sd.c
3976
error = -ENOMEM;
drivers/scsi/sd.c
3992
error = sd_format_disk_name("sd", index, gd->disk_name, DISK_NAME_LEN);
drivers/scsi/sd.c
3993
if (error) {
drivers/scsi/sd.c
4018
error = device_add(&sdkp->disk_dev);
drivers/scsi/sd.c
4019
if (error) {
drivers/scsi/sd.c
4059
error = device_add_disk(dev, gd, NULL);
drivers/scsi/sd.c
4060
if (error) {
drivers/scsi/sd.c
4086
return error;
drivers/scsi/sg.c
1436
int error;
drivers/scsi/sg.c
1449
error = idr_alloc(&sg_index_idr, sdp, 0, SG_MAX_DEVS, GFP_NOWAIT);
drivers/scsi/sg.c
1450
if (error < 0) {
drivers/scsi/sg.c
1451
if (error == -ENOSPC) {
drivers/scsi/sg.c
1455
error = -ENODEV;
drivers/scsi/sg.c
1459
__func__, error);
drivers/scsi/sg.c
1463
k = error;
drivers/scsi/sg.c
1477
error = 0;
drivers/scsi/sg.c
1483
if (error) {
drivers/scsi/sg.c
1485
return ERR_PTR(error);
drivers/scsi/sg.c
1496
int error;
drivers/scsi/sg.c
1504
error = -ENOMEM;
drivers/scsi/sg.c
1516
error = PTR_ERR(sdp);
drivers/scsi/sg.c
1520
error = cdev_add(cdev, MKDEV(SCSI_GENERIC_MAJOR, sdp->index), 1);
drivers/scsi/sg.c
1521
if (error)
drivers/scsi/sg.c
1534
error = PTR_ERR(sg_class_member);
drivers/scsi/sg.c
1537
error = sysfs_create_link(&scsidp->sdev_gendev.kobj,
drivers/scsi/sg.c
1539
if (error)
drivers/scsi/sg.c
1562
return error;
drivers/scsi/smartpqi/smartpqi_init.c
1488
goto error;
drivers/scsi/smartpqi/smartpqi_init.c
1503
goto error;
drivers/scsi/smartpqi/smartpqi_init.c
1512
goto error;
drivers/scsi/smartpqi/smartpqi_init.c
1518
goto error;
drivers/scsi/smartpqi/smartpqi_init.c
1523
goto error;
drivers/scsi/smartpqi/smartpqi_init.c
1530
error:
drivers/scsi/smartpqi/smartpqi_init.c
5214
goto error;
drivers/scsi/smartpqi/smartpqi_init.c
5227
goto error;
drivers/scsi/smartpqi/smartpqi_init.c
5237
goto error;
drivers/scsi/smartpqi/smartpqi_init.c
5248
error:
drivers/scsi/smartpqi/smartpqi_init.c
898
goto error;
drivers/scsi/smartpqi/smartpqi_init.c
908
goto error;
drivers/scsi/smartpqi/smartpqi_init.c
921
goto error;
drivers/scsi/smartpqi/smartpqi_init.c
9338
goto error;
drivers/scsi/smartpqi/smartpqi_init.c
9342
goto error;
drivers/scsi/smartpqi/smartpqi_init.c
9346
error:
drivers/scsi/smartpqi/smartpqi_init.c
944
error:
drivers/scsi/snic/snic_ctl.c
105
goto error;
drivers/scsi/snic/snic_ctl.c
125
goto error;
drivers/scsi/snic/snic_ctl.c
130
error:
drivers/scsi/snic/snic_disc.c
109
goto error;
drivers/scsi/snic/snic_disc.c
134
goto error;
drivers/scsi/snic/snic_disc.c
141
error:
drivers/scsi/snic/snic_disc.c
77
goto error;
drivers/scsi/snic/snic_disc.c
95
goto error;
drivers/scsi/snic/vnic_dev.c
316
if (result->error) {
drivers/scsi/snic/vnic_dev.c
317
err = (int) result->error;
drivers/scsi/snic/vnic_devcmd.h
189
u32 error; /* error code (see ERR_*) for first ERR */
drivers/scsi/snic/vnic_devcmd.h
247
u8 error; /* same error codes as original */
drivers/scsi/sr.c
624
int minor, error;
drivers/scsi/sr.c
627
error = -ENODEV;
drivers/scsi/sr.c
631
error = -ENOMEM;
drivers/scsi/sr.c
646
error = -EBUSY;
drivers/scsi/sr.c
681
error = -ENOMEM;
drivers/scsi/sr.c
699
error = sr_revalidate_disk(cd);
drivers/scsi/sr.c
700
if (error)
drivers/scsi/sr.c
703
error = device_add_disk(&sdev->sdev_gendev, disk, NULL);
drivers/scsi/sr.c
704
if (error)
drivers/scsi/sr.c
726
return error;
drivers/scsi/st.c
4263
int i, error;
drivers/scsi/st.c
4276
error = -ENOMEM;
drivers/scsi/st.c
4283
error = cdev_add(cdev, cdev_devno, 1);
drivers/scsi/st.c
4284
if (error) {
drivers/scsi/st.c
4299
error = PTR_ERR(dev);
drivers/scsi/st.c
4311
return error;
drivers/scsi/st.c
4316
int mode, error;
drivers/scsi/st.c
4318
error = create_one_cdev(tape, mode, 0);
drivers/scsi/st.c
4319
if (error)
drivers/scsi/st.c
4320
return error;
drivers/scsi/st.c
4321
error = create_one_cdev(tape, mode, 1);
drivers/scsi/st.c
4322
if (error)
drivers/scsi/st.c
4323
return error;
drivers/scsi/st.c
4352
int i, error;
drivers/scsi/st.c
4450
error = idr_alloc(&st_index_idr, tpnt, 0, ST_MAX_TAPES + 1, GFP_NOWAIT);
drivers/scsi/st.c
4453
if (error < 0) {
drivers/scsi/st.c
4454
pr_warn("st: idr allocation failed: %d\n", error);
drivers/scsi/st.c
4457
tpnt->index = error;
drivers/scsi/st.c
4472
error = create_cdevs(tpnt);
drivers/scsi/st.c
4473
if (error)
drivers/scsi/sun3_scsi.c
515
int error;
drivers/scsi/sun3_scsi.c
583
error = -ENOMEM;
drivers/scsi/sun3_scsi.c
593
error = NCR5380_init(instance, host_flags);
drivers/scsi/sun3_scsi.c
594
if (error)
drivers/scsi/sun3_scsi.c
597
error = request_irq(instance->irq, scsi_sun3_intr, 0,
drivers/scsi/sun3_scsi.c
599
if (error) {
drivers/scsi/sun3_scsi.c
622
error = scsi_add_host(instance, NULL);
drivers/scsi/sun3_scsi.c
623
if (error)
drivers/scsi/sun3_scsi.c
641
return error;
drivers/scsi/sym53c8xx_2/sym_glue.c
2091
int error;
drivers/scsi/sym53c8xx_2/sym_glue.c
2098
error = pci_register_driver(&sym2_driver);
drivers/scsi/sym53c8xx_2/sym_glue.c
2099
if (error)
drivers/scsi/sym53c8xx_2/sym_glue.c
2101
return error;
drivers/scsi/sym53c8xx_2/sym_glue.c
774
int error;
drivers/scsi/sym53c8xx_2/sym_glue.c
794
error = -ENXIO;
drivers/scsi/sym53c8xx_2/sym_glue.c
800
error = -ENXIO;
drivers/scsi/sym53c8xx_2/sym_glue.c
809
error = -ENOMEM;
drivers/scsi/sym53c8xx_2/sym_glue.c
818
error = 0;
drivers/scsi/sym53c8xx_2/sym_glue.c
822
return error;
drivers/scsi/virtio_scsi.c
1072
goto error;
drivers/scsi/virtio_scsi.c
1081
goto error;
drivers/scsi/virtio_scsi.c
1085
goto error;
drivers/scsi/virtio_scsi.c
1089
error:
drivers/scsi/vmw_pvscsi.c
1355
int error;
drivers/scsi/vmw_pvscsi.c
1358
error = -ENODEV;
drivers/scsi/vmw_pvscsi.c
1361
return error;
drivers/scsi/vmw_pvscsi.c
1469
error = pvscsi_allocate_rings(adapter);
drivers/scsi/vmw_pvscsi.c
1470
if (error) {
drivers/scsi/vmw_pvscsi.c
1484
error = -ENOMEM;
drivers/scsi/vmw_pvscsi.c
1494
error = pvscsi_allocate_sg(adapter);
drivers/scsi/vmw_pvscsi.c
1495
if (error) {
drivers/scsi/vmw_pvscsi.c
1505
error = pci_alloc_irq_vectors(adapter->dev, 1, 1, irq_flag);
drivers/scsi/vmw_pvscsi.c
1506
if (error < 0)
drivers/scsi/vmw_pvscsi.c
1516
error = request_irq(pci_irq_vector(pdev, 0), pvscsi_isr,
drivers/scsi/vmw_pvscsi.c
1520
error = request_irq(pci_irq_vector(pdev, 0), pvscsi_shared_isr,
drivers/scsi/vmw_pvscsi.c
1524
if (error) {
drivers/scsi/vmw_pvscsi.c
1526
"vmw_pvscsi: unable to request IRQ: %d\n", error);
drivers/scsi/vmw_pvscsi.c
1530
error = scsi_add_host(host, &pdev->dev);
drivers/scsi/vmw_pvscsi.c
1531
if (error) {
drivers/scsi/vmw_pvscsi.c
1533
"vmw_pvscsi: scsi_add_host failed: %d\n", error);
drivers/scsi/vmw_pvscsi.c
1555
return error;
drivers/scsi/zalon.c
151
error = scsi_add_host(host, &dev->dev);
drivers/scsi/zalon.c
152
if (error)
drivers/scsi/zalon.c
162
return error;
drivers/scsi/zalon.c
92
int error = -ENODEV;
drivers/sh/intc/core.c
479
int error;
drivers/sh/intc/core.c
483
error = subsys_system_register(&intc_subsys, NULL);
drivers/sh/intc/core.c
484
if (!error) {
drivers/sh/intc/core.c
488
error = device_register(&d->dev);
drivers/sh/intc/core.c
489
if (error == 0)
drivers/sh/intc/core.c
490
error = device_create_file(&d->dev,
drivers/sh/intc/core.c
492
if (error)
drivers/sh/intc/core.c
497
if (error)
drivers/sh/intc/core.c
500
return error;
drivers/sh/maple/maple.c
335
int matched, error;
drivers/sh/maple/maple.c
391
error = device_register(&mdev->dev);
drivers/sh/maple/maple.c
392
if (error) {
drivers/sh/maple/maple.c
395
mdev->port, error);
drivers/soc/apple/rtkit.c
284
goto error;
drivers/soc/apple/rtkit.c
290
goto error;
drivers/soc/apple/rtkit.c
296
goto error;
drivers/soc/apple/rtkit.c
321
error:
drivers/soc/fsl/dpaa2-console.c
272
int error;
drivers/soc/fsl/dpaa2-console.c
274
error = of_address_to_resource(pdev->dev.of_node, 0, &mc_base_addr);
drivers/soc/fsl/dpaa2-console.c
275
if (error < 0) {
drivers/soc/fsl/dpaa2-console.c
277
pdev->dev.of_node, error);
drivers/soc/fsl/dpaa2-console.c
278
return error;
drivers/soc/fsl/dpaa2-console.c
281
error = misc_register(&dpaa2_mc_console_dev);
drivers/soc/fsl/dpaa2-console.c
282
if (error) {
drivers/soc/fsl/dpaa2-console.c
288
error = misc_register(&dpaa2_aiop_console_dev);
drivers/soc/fsl/dpaa2-console.c
289
if (error) {
drivers/soc/fsl/dpaa2-console.c
300
return error;
drivers/soc/fsl/dpio/dpio-driver.c
105
if (error < 0) {
drivers/soc/fsl/dpio/dpio-driver.c
108
error);
drivers/soc/fsl/dpio/dpio-driver.c
109
return error;
drivers/soc/fsl/dpio/dpio-driver.c
95
int error;
drivers/soc/fsl/dpio/dpio-driver.c
99
error = devm_request_irq(&dpio_dev->dev,
drivers/soc/litex/litex_soc_ctrl.c
101
error = litex_check_csr_access(soc_ctrl_dev->base);
drivers/soc/litex/litex_soc_ctrl.c
102
if (error)
drivers/soc/litex/litex_soc_ctrl.c
103
return error;
drivers/soc/litex/litex_soc_ctrl.c
105
error = devm_register_restart_handler(&pdev->dev,
drivers/soc/litex/litex_soc_ctrl.c
108
if (error) {
drivers/soc/litex/litex_soc_ctrl.c
110
error);
drivers/soc/litex/litex_soc_ctrl.c
91
int error;
drivers/soc/qcom/pdr_interface.c
150
pds->service_path, resp.resp.error);
drivers/soc/qcom/pdr_interface.c
385
req->service_name, resp->resp.error);
drivers/soc/qcom/pdr_interface.c
612
resp.resp.error == QMI_ERR_DISABLED_V01) {
drivers/soc/qcom/pdr_interface.c
614
req.service_path, resp.resp.error);
drivers/soc/qcom/pdr_interface.c
621
req.service_path, resp.resp.error);
drivers/soc/qcom/qcom_pd_mapper.c
168
rsp->resp.error = QMI_ERR_NONE_V01;
drivers/soc/qcom/qcom_pd_mapper.c
227
rsp.rsp.error = QMI_ERR_NONE_V01;
drivers/soc/qcom/qmi_encdec.c
929
.offset = offsetof(struct qmi_response_type_v01, error),
drivers/soc/renesas/rcar-rst.c
131
int error = 0;
drivers/soc/renesas/rcar-rst.c
140
error = -ENOMEM;
drivers/soc/renesas/rcar-rst.c
150
error = cfg->configure(base);
drivers/soc/renesas/rcar-rst.c
151
if (error) {
drivers/soc/renesas/rcar-rst.c
162
return error;
drivers/soc/renesas/rcar-rst.c
167
int error;
drivers/soc/renesas/rcar-rst.c
170
error = rcar_rst_init();
drivers/soc/renesas/rcar-rst.c
171
if (error)
drivers/soc/renesas/rcar-rst.c
172
return error;
drivers/soc/tegra/cbb/tegra234-cbb.c
535
u32 overflow, status, error;
drivers/soc/tegra/cbb/tegra234-cbb.c
552
error = readl(cbb->mon + FABRIC_MN_INITIATOR_LOG_ERR_STATUS_0);
drivers/soc/tegra/cbb/tegra234-cbb.c
553
if (!error) {
drivers/soc/tegra/cbb/tegra234-cbb.c
560
while (error) {
drivers/soc/tegra/cbb/tegra234-cbb.c
561
if (error & BIT(0)) {
drivers/soc/tegra/cbb/tegra234-cbb.c
578
error >>= 1;
drivers/soc/ti/k3-ringacc.c
352
goto error;
drivers/soc/ti/k3-ringacc.c
354
goto error;
drivers/soc/ti/k3-ringacc.c
359
goto error;
drivers/soc/ti/k3-ringacc.c
367
goto error;
drivers/soc/ti/k3-ringacc.c
385
error:
drivers/soc/ti/k3-ringacc.c
416
goto error;
drivers/soc/ti/k3-ringacc.c
428
error:
drivers/soc/ti/pm33xx.c
431
int error;
drivers/soc/ti/pm33xx.c
444
error = -ENODEV;
drivers/soc/ti/pm33xx.c
451
error = -EPROBE_DEFER;
drivers/soc/ti/pm33xx.c
480
return error;
drivers/soc/ti/smartreflex.c
208
goto error;
drivers/soc/ti/smartreflex.c
213
error:
drivers/soundwire/stream.c
1919
goto error;
drivers/soundwire/stream.c
1930
error:
drivers/soundwire/stream.c
788
goto error;
drivers/soundwire/stream.c
801
error:
drivers/soundwire/stream.c
884
goto error;
drivers/soundwire/stream.c
905
goto error;
drivers/soundwire/stream.c
911
goto error;
drivers/soundwire/stream.c
923
goto error;
drivers/soundwire/stream.c
932
error:
drivers/spi/spi-armada-3700.c
656
goto error;
drivers/spi/spi-armada-3700.c
661
goto error;
drivers/spi/spi-armada-3700.c
669
goto error;
drivers/spi/spi-armada-3700.c
674
goto error;
drivers/spi/spi-armada-3700.c
724
goto error;
drivers/spi/spi-armada-3700.c
731
error:
drivers/spi/spi-armada-3700.c
831
goto error;
drivers/spi/spi-armada-3700.c
854
goto error;
drivers/spi/spi-armada-3700.c
860
goto error;
drivers/spi/spi-armada-3700.c
869
goto error;
drivers/spi/spi-armada-3700.c
883
goto error;
drivers/spi/spi-armada-3700.c
889
goto error;
drivers/spi/spi-armada-3700.c
894
error:
drivers/spi/spi-aspeed-smc.c
951
xfer->error = 0;
drivers/spi/spi-atmel.c
583
goto error;
drivers/spi/spi-atmel.c
588
goto error;
drivers/spi/spi-atmel.c
596
error:
drivers/spi/spi-bcm-qspi.c
511
int error = 0;
drivers/spi/spi-bcm-qspi.c
526
error = bcm_qspi_bspi_set_override(qspi, op, hp);
drivers/spi/spi-bcm-qspi.c
531
error = bcm_qspi_bspi_set_flex_mode(qspi, op, hp);
drivers/spi/spi-bcm-qspi.c
533
if (error) {
drivers/spi/spi-bcm-qspi.c
551
return error;
drivers/spi/spi-cavium-thunderx.c
35
goto error;
drivers/spi/spi-cavium-thunderx.c
39
goto error;
drivers/spi/spi-cavium-thunderx.c
44
goto error;
drivers/spi/spi-cavium-thunderx.c
55
goto error;
drivers/spi/spi-cavium-thunderx.c
75
goto error;
drivers/spi/spi-cavium-thunderx.c
79
error:
drivers/spi/spi-ep93xx.c
626
int error;
drivers/spi/spi-ep93xx.c
657
error = PTR_ERR(espi->clk);
drivers/spi/spi-ep93xx.c
670
error = PTR_ERR(espi->mmio);
drivers/spi/spi-ep93xx.c
675
error = devm_request_irq(&pdev->dev, irq, ep93xx_spi_interrupt,
drivers/spi/spi-ep93xx.c
677
if (error) {
drivers/spi/spi-ep93xx.c
682
error = ep93xx_spi_setup_dma(&pdev->dev, espi);
drivers/spi/spi-ep93xx.c
683
if (error == -EPROBE_DEFER)
drivers/spi/spi-ep93xx.c
686
if (error)
drivers/spi/spi-ep93xx.c
692
error = devm_spi_register_controller(&pdev->dev, host);
drivers/spi/spi-ep93xx.c
693
if (error) {
drivers/spi/spi-ep93xx.c
708
return error;
drivers/spi/spi-fsi.c
435
goto error;
drivers/spi/spi-fsi.c
444
goto error;
drivers/spi/spi-fsi.c
451
goto error;
drivers/spi/spi-fsi.c
474
goto error;
drivers/spi/spi-fsi.c
485
goto error;
drivers/spi/spi-fsi.c
504
goto error;
drivers/spi/spi-fsi.c
508
goto error;
drivers/spi/spi-fsi.c
513
goto error;
drivers/spi/spi-fsi.c
519
error:
drivers/spi/spi-imx.c
1736
transfer->error |= SPI_TRANS_FAIL_NO_START;
drivers/spi/spi-imx.c
1745
transfer->error |= SPI_TRANS_FAIL_NO_START;
drivers/spi/spi-imx.c
1932
transfer->error |= SPI_TRANS_FAIL_NO_START;
drivers/spi/spi-imx.c
1945
transfer->error |= SPI_TRANS_FAIL_NO_START;
drivers/spi/spi-imx.c
1957
transfer->error |= SPI_TRANS_FAIL_NO_START;
drivers/spi/spi-imx.c
2155
if (transfer->error & SPI_TRANS_FAIL_NO_START) {
drivers/spi/spi-microchip-core-qspi.c
473
goto error;
drivers/spi/spi-microchip-core-qspi.c
478
goto error;
drivers/spi/spi-microchip-core-qspi.c
482
goto error;
drivers/spi/spi-microchip-core-qspi.c
525
error:
drivers/spi/spi-omap2-mcspi.c
1387
int error;
drivers/spi/spi-omap2-mcspi.c
1389
error = pinctrl_pm_select_idle_state(dev);
drivers/spi/spi-omap2-mcspi.c
1390
if (error)
drivers/spi/spi-omap2-mcspi.c
1391
dev_warn(dev, "%s: failed to set pins: %i\n", __func__, error);
drivers/spi/spi-omap2-mcspi.c
1407
int error;
drivers/spi/spi-omap2-mcspi.c
1409
error = pinctrl_pm_select_default_state(dev);
drivers/spi/spi-omap2-mcspi.c
1410
if (error)
drivers/spi/spi-omap2-mcspi.c
1411
dev_warn(dev, "%s: failed to set pins: %i\n", __func__, error);
drivers/spi/spi-omap2-mcspi.c
1623
int error;
drivers/spi/spi-omap2-mcspi.c
1625
error = pinctrl_pm_select_sleep_state(dev);
drivers/spi/spi-omap2-mcspi.c
1626
if (error)
drivers/spi/spi-omap2-mcspi.c
1628
__func__, error);
drivers/spi/spi-omap2-mcspi.c
1630
error = spi_controller_suspend(ctlr);
drivers/spi/spi-omap2-mcspi.c
1631
if (error)
drivers/spi/spi-omap2-mcspi.c
1633
__func__, error);
drivers/spi/spi-omap2-mcspi.c
1642
int error;
drivers/spi/spi-omap2-mcspi.c
1644
error = spi_controller_resume(ctlr);
drivers/spi/spi-omap2-mcspi.c
1645
if (error)
drivers/spi/spi-omap2-mcspi.c
1647
__func__, error);
drivers/spi/spi-pci1xxxx.c
558
goto error;
drivers/spi/spi-pci1xxxx.c
592
goto error;
drivers/spi/spi-pci1xxxx.c
613
goto error;
drivers/spi/spi-pci1xxxx.c
621
goto error;
drivers/spi/spi-pci1xxxx.c
625
error:
drivers/spi/spi-pl022.c
1171
pl022->cur_transfer->error |= SPI_TRANS_FAIL_IO;
drivers/spi/spi-pxa2xx-dma.c
26
bool error)
drivers/spi/spi-pxa2xx-dma.c
42
if (!error)
drivers/spi/spi-pxa2xx-dma.c
43
error = read_SSSR_bits(drv_data, drv_data->mask_sr) & SSSR_ROR;
drivers/spi/spi-pxa2xx-dma.c
51
if (error) {
drivers/spi/spi-qup.c
1111
goto error;
drivers/spi/spi-qup.c
1209
error:
drivers/spi/spi-qup.c
145
int error;
drivers/spi/spi-qup.c
626
int error = 0;
drivers/spi/spi-qup.c
645
error = -EIO;
drivers/spi/spi-qup.c
654
error = -EIO;
drivers/spi/spi-qup.c
658
if (!controller->error)
drivers/spi/spi-qup.c
659
controller->error = error;
drivers/spi/spi-qup.c
675
if (error)
drivers/spi/spi-qup.c
730
controller->error = 0;
drivers/spi/spi-qup.c
893
controller->error = 0;
drivers/spi/spi-qup.c
906
ret = controller->error;
drivers/spi/spi-rpc-if.c
149
int error;
drivers/spi/spi-rpc-if.c
156
error = rpcif_sw_init(rpc, parent);
drivers/spi/spi-rpc-if.c
157
if (error)
drivers/spi/spi-rpc-if.c
158
return error;
drivers/spi/spi-rpc-if.c
173
error = rpcif_hw_init(rpc->dev, false);
drivers/spi/spi-rpc-if.c
174
if (error)
drivers/spi/spi-rpc-if.c
177
error = spi_register_controller(ctlr);
drivers/spi/spi-rpc-if.c
178
if (error) {
drivers/spi/spi-rpc-if.c
187
return error;
drivers/spi/spi-rspi.c
1232
int error;
drivers/spi/spi-rspi.c
1235
error = of_property_read_u32(dev->of_node, "num-cs", &num_cs);
drivers/spi/spi-rspi.c
1236
if (error) {
drivers/spi/spi-rspi.c
1237
dev_err(dev, "of_property_read_u32 num-cs failed %d\n", error);
drivers/spi/spi-rspi.c
1238
return error;
drivers/spi/spi-rspi.c
1248
error = reset_control_deassert(rstc);
drivers/spi/spi-rspi.c
1249
if (error) {
drivers/spi/spi-rspi.c
1250
dev_err(dev, "failed to deassert reset %d\n", error);
drivers/spi/spi-rspi.c
1251
return error;
drivers/spi/spi-rspi.c
1254
error = devm_add_action_or_reset(dev, rspi_reset_control_assert, rstc);
drivers/spi/spi-rspi.c
1255
if (error) {
drivers/spi/spi-rspi.c
1256
dev_err(dev, "failed to register assert devm action, %d\n", error);
drivers/spi/spi-rspi.c
1257
return error;
drivers/spi/spi-rspi.c
487
int error = rspi_wait_for_tx_empty(rspi);
drivers/spi/spi-rspi.c
488
if (error < 0) {
drivers/spi/spi-rspi.c
490
return error;
drivers/spi/spi-rspi.c
498
int error;
drivers/spi/spi-rspi.c
501
error = rspi_wait_for_rx_full(rspi);
drivers/spi/spi-rspi.c
502
if (error < 0) {
drivers/spi/spi-rspi.c
504
return error;
drivers/spi/spi-rzv2h-rspi.c
403
transfer->error = SPI_TRANS_FAIL_NO_START;
drivers/spi/spi-rzv2h-rspi.c
420
unsigned long error;
drivers/spi/spi-rzv2h-rspi.c
493
error = abs((long)hz - (long)actual_hz);
drivers/spi/spi-rzv2h-rspi.c
495
if (error >= best->error)
drivers/spi/spi-rzv2h-rspi.c
501
.error = error,
drivers/spi/spi-rzv2h-rspi.c
507
if (!error)
drivers/spi/spi-rzv2h-rspi.c
518
unsigned long error;
drivers/spi/spi-rzv2h-rspi.c
544
error = abs((long)hz - (long)actual_hz);
drivers/spi/spi-rzv2h-rspi.c
546
if (error >= best->error)
drivers/spi/spi-rzv2h-rspi.c
552
.error = error,
drivers/spi/spi-rzv2h-rspi.c
562
.error = ULONG_MAX,
drivers/spi/spi-rzv2h-rspi.c
573
if (best_clock.error && rspi->info->find_pclk_rate)
drivers/spi/spi-rzv2h-rspi.c
83
unsigned long error;
drivers/spi/spi-sh.c
291
goto error;
drivers/spi/spi-sh.c
296
goto error;
drivers/spi/spi-sh.c
315
error:
drivers/spi/spi-uniphier.c
223
priv->error = 0;
drivers/spi/spi-uniphier.c
32
int error;
drivers/spi/spi-uniphier.c
495
return priv->error;
drivers/spi/spi-uniphier.c
611
priv->error = -EIO;
drivers/spi/spi-uniphier.c
623
priv->error = -EIO;
drivers/spi/spi.c
1472
if (xfer->error & SPI_TRANS_FAIL_IO)
drivers/spi/spi.c
1624
(xfer->error & SPI_TRANS_FAIL_NO_START)) {
drivers/spi/spi.c
1627
xfer->error &= ~SPI_TRANS_FAIL_NO_START;
drivers/ssb/main.c
1177
goto error;
drivers/ssb/main.c
1181
error:
drivers/ssb/main.c
1194
goto error;
drivers/ssb/main.c
1202
error:
drivers/ssb/main.c
487
goto error;
drivers/ssb/main.c
530
goto error;
drivers/ssb/main.c
552
error:
drivers/ssb/main.c
576
goto error;
drivers/ssb/main.c
590
error:
drivers/ssb/pci.c
1008
goto error;
drivers/ssb/pci.c
1011
goto error;
drivers/ssb/pci.c
1030
error:
drivers/ssb/pci.c
43
goto error;
drivers/ssb/pci.c
47
goto error;
drivers/ssb/pci.c
54
goto error;
drivers/ssb/pci.c
58
error:
drivers/ssb/pcmcia.c
109
goto error;
drivers/ssb/pcmcia.c
113
goto error;
drivers/ssb/pcmcia.c
117
goto error;
drivers/ssb/pcmcia.c
123
goto error;
drivers/ssb/pcmcia.c
127
goto error;
drivers/ssb/pcmcia.c
131
goto error;
drivers/ssb/pcmcia.c
140
goto error;
drivers/ssb/pcmcia.c
145
error:
drivers/ssb/pcmcia.c
176
goto error;
drivers/ssb/pcmcia.c
179
goto error;
drivers/ssb/pcmcia.c
185
goto error;
drivers/ssb/pcmcia.c
191
error:
drivers/ssb/pcmcia.c
592
goto error; \
drivers/ssb/pcmcia.c
690
error:
drivers/ssb/pcmcia.c
819
goto error;
drivers/ssb/pcmcia.c
825
goto error;
drivers/ssb/pcmcia.c
828
error:
drivers/ssb/sdio.c
112
int error = 0;
drivers/ssb/sdio.c
114
sdio_writeb(bus->host_sdio, val, addr, &error);
drivers/ssb/sdio.c
115
if (unlikely(error)) {
drivers/ssb/sdio.c
117
addr, val, error);
drivers/ssb/sdio.c
120
return error;
drivers/ssb/sdio.c
127
int error = 0;
drivers/ssb/sdio.c
129
val = sdio_readb(bus->host_sdio, addr, &error);
drivers/ssb/sdio.c
130
if (unlikely(error)) {
drivers/ssb/sdio.c
132
addr, val, error);
drivers/ssb/sdio.c
142
int error;
drivers/ssb/sdio.c
144
error = ssb_sdio_writeb(bus, SBSDIO_FUNC1_SBADDRLOW,
drivers/ssb/sdio.c
146
if (error)
drivers/ssb/sdio.c
148
error = ssb_sdio_writeb(bus, SBSDIO_FUNC1_SBADDRMID,
drivers/ssb/sdio.c
150
if (error)
drivers/ssb/sdio.c
152
error = ssb_sdio_writeb(bus, SBSDIO_FUNC1_SBADDRHIGH,
drivers/ssb/sdio.c
154
if (error)
drivers/ssb/sdio.c
158
if (error) {
drivers/ssb/sdio.c
160
" to 0x%08x, error %d\n", address, error);
drivers/ssb/sdio.c
163
return error;
drivers/ssb/sdio.c
170
int error;
drivers/ssb/sdio.c
173
val = sdio_readl(bus->host_sdio, offset, &error);
drivers/ssb/sdio.c
175
if (unlikely(error)) {
drivers/ssb/sdio.c
177
bus->sdio_sbaddr >> 16, offset, val, error);
drivers/ssb/sdio.c
187
int error;
drivers/ssb/sdio.c
191
error = ssb_sdio_set_sbaddr_window(bus, sbaddr);
drivers/ssb/sdio.c
193
if (error) {
drivers/ssb/sdio.c
195
" error %d\n", coreidx, error);
drivers/ssb/sdio.c
199
return error;
drivers/ssb/sdio.c
207
int error = 0;
drivers/ssb/sdio.c
216
error = ssb_sdio_set_sbaddr_window(bus, sbaddr);
drivers/ssb/sdio.c
217
if (error) {
drivers/ssb/sdio.c
219
" core %u, error %d\n", coreidx, error);
drivers/ssb/sdio.c
226
return error;
drivers/ssb/sdio.c
233
int error = 0;
drivers/ssb/sdio.c
240
val = sdio_readb(bus->host_sdio, offset, &error);
drivers/ssb/sdio.c
241
if (error) {
drivers/ssb/sdio.c
243
bus->sdio_sbaddr >> 16, offset, val, error);
drivers/ssb/sdio.c
255
int error = 0;
drivers/ssb/sdio.c
262
val = sdio_readw(bus->host_sdio, offset, &error);
drivers/ssb/sdio.c
263
if (error) {
drivers/ssb/sdio.c
265
bus->sdio_sbaddr >> 16, offset, val, error);
drivers/ssb/sdio.c
277
int error = 0;
drivers/ssb/sdio.c
285
val = sdio_readl(bus->host_sdio, offset, &error);
drivers/ssb/sdio.c
286
if (error) {
drivers/ssb/sdio.c
288
bus->sdio_sbaddr >> 16, offset, val, error);
drivers/ssb/sdio.c
302
int error = 0;
drivers/ssb/sdio.c
306
error = -EIO;
drivers/ssb/sdio.c
315
error = sdio_readsb(bus->host_sdio, buffer, offset, count);
drivers/ssb/sdio.c
320
error = sdio_readsb(bus->host_sdio, buffer, offset, count);
drivers/ssb/sdio.c
326
error = sdio_readsb(bus->host_sdio, buffer, offset, count);
drivers/ssb/sdio.c
332
if (!error)
drivers/ssb/sdio.c
337
bus->sdio_sbaddr >> 16, offset, reg_width, saved_count, error);
drivers/ssb/sdio.c
346
int error = 0;
drivers/ssb/sdio.c
353
sdio_writeb(bus->host_sdio, val, offset, &error);
drivers/ssb/sdio.c
354
if (error) {
drivers/ssb/sdio.c
356
bus->sdio_sbaddr >> 16, offset, val, error);
drivers/ssb/sdio.c
365
int error = 0;
drivers/ssb/sdio.c
372
sdio_writew(bus->host_sdio, val, offset, &error);
drivers/ssb/sdio.c
373
if (error) {
drivers/ssb/sdio.c
375
bus->sdio_sbaddr >> 16, offset, val, error);
drivers/ssb/sdio.c
384
int error = 0;
drivers/ssb/sdio.c
392
sdio_writel(bus->host_sdio, val, offset, &error);
drivers/ssb/sdio.c
393
if (error) {
drivers/ssb/sdio.c
395
bus->sdio_sbaddr >> 16, offset, val, error);
drivers/ssb/sdio.c
398
sdio_readl(bus->host_sdio, 0, &error);
drivers/ssb/sdio.c
409
int error = 0;
drivers/ssb/sdio.c
413
error = -EIO;
drivers/ssb/sdio.c
421
error = sdio_writesb(bus->host_sdio, offset,
drivers/ssb/sdio.c
426
error = sdio_writesb(bus->host_sdio, offset,
drivers/ssb/sdio.c
432
error = sdio_writesb(bus->host_sdio, offset,
drivers/ssb/sdio.c
438
if (!error)
drivers/ssb/sdio.c
443
bus->sdio_sbaddr >> 16, offset, reg_width, saved_count, error);
drivers/ssb/sdio.c
467
goto error; \
drivers/ssb/sdio.c
584
error:
drivers/staging/fbtft/fb_agm1264k-fl.c
247
signed short pixel, signed short error)
drivers/staging/fbtft/fb_agm1264k-fl.c
267
signed short p = *write_pos + error * coeff;
drivers/staging/fbtft/fb_agm1264k-fl.c
317
signed short error;
drivers/staging/fbtft/fb_agm1264k-fl.c
322
error = error_w;
drivers/staging/fbtft/fb_agm1264k-fl.c
326
error = error_b;
drivers/staging/fbtft/fb_agm1264k-fl.c
330
error /= 8;
drivers/staging/fbtft/fb_agm1264k-fl.c
335
pixel, error);
drivers/staging/greybus/audio_topology.c
1049
goto error;
drivers/staging/greybus/audio_topology.c
1056
goto error;
drivers/staging/greybus/audio_topology.c
1074
goto error;
drivers/staging/greybus/audio_topology.c
1122
goto error;
drivers/staging/greybus/audio_topology.c
1129
error:
drivers/staging/greybus/audio_topology.c
1160
goto error;
drivers/staging/greybus/audio_topology.c
1167
goto error;
drivers/staging/greybus/audio_topology.c
1187
goto error;
drivers/staging/greybus/audio_topology.c
1202
error:
drivers/staging/greybus/audio_topology.c
1233
goto error;
drivers/staging/greybus/audio_topology.c
1240
goto error;
drivers/staging/greybus/audio_topology.c
1251
error:
drivers/staging/greybus/audio_topology.c
1285
goto error;
drivers/staging/greybus/audio_topology.c
1294
goto error;
drivers/staging/greybus/audio_topology.c
1306
goto error;
drivers/staging/greybus/audio_topology.c
1317
error:
drivers/staging/greybus/camera.c
1261
goto error;
drivers/staging/greybus/camera.c
1269
goto error;
drivers/staging/greybus/camera.c
1273
goto error;
drivers/staging/greybus/camera.c
1281
goto error;
drivers/staging/greybus/camera.c
1289
error:
drivers/staging/greybus/loopback.c
243
gb->error = 0;
drivers/staging/greybus/loopback.c
282
gb_loopback_ro_attr(error);
drivers/staging/greybus/loopback.c
349
static void gb_loopback_calculate_stats(struct gb_loopback *gb, bool error);
drivers/staging/greybus/loopback.c
443
gb->error++;
drivers/staging/greybus/loopback.c
798
static void gb_loopback_calculate_stats(struct gb_loopback *gb, bool error)
drivers/staging/greybus/loopback.c
804
if (!error) {
drivers/staging/greybus/loopback.c
836
int error = 0;
drivers/staging/greybus/loopback.c
86
u32 error;
drivers/staging/greybus/loopback.c
900
error = gb_loopback_async_ping(gb);
drivers/staging/greybus/loopback.c
902
error = gb_loopback_async_transfer(gb, size);
drivers/staging/greybus/loopback.c
904
error = gb_loopback_async_sink(gb, size);
drivers/staging/greybus/loopback.c
906
if (error) {
drivers/staging/greybus/loopback.c
907
gb->error++;
drivers/staging/greybus/loopback.c
913
error = gb_loopback_sync_ping(gb);
drivers/staging/greybus/loopback.c
915
error = gb_loopback_sync_transfer(gb, size);
drivers/staging/greybus/loopback.c
917
error = gb_loopback_sync_sink(gb, size);
drivers/staging/greybus/loopback.c
919
if (error)
drivers/staging/greybus/loopback.c
920
gb->error++;
drivers/staging/greybus/loopback.c
922
gb_loopback_calculate_stats(gb, !!error);
drivers/staging/greybus/sdio.c
403
data->error = ret;
drivers/staging/greybus/sdio.c
492
cmd->error = ret;
drivers/staging/greybus/sdio.c
518
mrq->cmd->error = -ESHUTDOWN;
drivers/staging/greybus/sdio.c
569
mrq->cmd->error = -ESHUTDOWN;
drivers/staging/greybus/sdio.c
573
mrq->cmd->error = -ENOMEDIUM;
drivers/staging/greybus/uart.c
393
goto error;
drivers/staging/greybus/uart.c
397
error:
drivers/staging/media/atomisp/i2c/atomisp-gc2235.c
830
if (dev->ctrl_handler.error) {
drivers/staging/media/atomisp/i2c/atomisp-gc2235.c
832
return dev->ctrl_handler.error;
drivers/staging/media/atomisp/i2c/atomisp-ov2722.c
941
if (dev->ctrl_handler.error || !dev->link_freq)
drivers/staging/media/atomisp/i2c/atomisp-ov2722.c
942
return dev->ctrl_handler.error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2639
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2646
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2653
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2660
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2673
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2679
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2691
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2698
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2705
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2712
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2719
error:
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2765
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2772
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2780
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2789
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2796
goto error;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
2807
error:
drivers/staging/media/atomisp/pci/atomisp_cmd.c
646
void atomisp_buf_done(struct atomisp_sub_device *asd, int error,
drivers/staging/media/atomisp/pci/atomisp_cmd.c
713
if (error)
drivers/staging/media/atomisp/pci/atomisp_cmd.c
769
error = true;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
786
error = true;
drivers/staging/media/atomisp/pci/atomisp_cmd.c
843
atomisp_buffer_done(frame, error ? VB2_BUF_STATE_ERROR : VB2_BUF_STATE_DONE);
drivers/staging/media/atomisp/pci/atomisp_cmd.c
860
if (!error && q_buffers)
drivers/staging/media/atomisp/pci/atomisp_cmd.h
257
void atomisp_buf_done(struct atomisp_sub_device *asd, int error,
drivers/staging/media/atomisp/pci/atomisp_csi2.c
200
goto error;
drivers/staging/media/atomisp/pci/atomisp_csi2.c
204
error:
drivers/staging/media/atomisp/pci/atomisp_fops.c
489
goto error;
drivers/staging/media/atomisp/pci/atomisp_fops.c
498
goto error;
drivers/staging/media/atomisp/pci/atomisp_fops.c
505
goto error;
drivers/staging/media/atomisp/pci/atomisp_fops.c
515
error:
drivers/staging/media/atomisp/pci/atomisp_ioctl.c
701
goto error;
drivers/staging/media/atomisp/pci/atomisp_ioctl.c
706
goto error;
drivers/staging/media/atomisp/pci/atomisp_ioctl.c
720
goto error;
drivers/staging/media/atomisp/pci/atomisp_ioctl.c
724
goto error;
drivers/staging/media/atomisp/pci/atomisp_ioctl.c
742
goto error;
drivers/staging/media/atomisp/pci/atomisp_ioctl.c
747
goto error;
drivers/staging/media/atomisp/pci/atomisp_ioctl.c
755
error:
drivers/staging/media/atomisp/pci/atomisp_subdev.c
863
return asd->ctrl_handler.error;
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
411
input_system_err_t error = INPUT_SYSTEM_ERR_NO_ERROR;
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
418
error = input_system_configure_channel_sensor(channel);
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
426
if (error != INPUT_SYSTEM_ERR_NO_ERROR) return error;
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
831
input_system_err_t error = input_buffer_configuration();
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
833
if (error != INPUT_SYSTEM_ERR_NO_ERROR) {
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
834
return error;
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
838
error = configuration_to_registers();
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
839
if (error != INPUT_SYSTEM_ERR_NO_ERROR) {
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
840
return error;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
323
int error;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
335
error = ia_css_queue_enqueue(q, item);
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
338
error = -EBUSY;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
341
IA_CSS_LEAVE_ERR_PRIVATE(error);
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
342
return error;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
349
int error;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
363
error = ia_css_queue_dequeue(q, item);
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
366
error = -EBUSY;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
369
IA_CSS_LEAVE_ERR_PRIVATE(error);
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
370
return error;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
379
int error = 0;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
389
error = ia_css_eventq_send(q,
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
392
IA_CSS_LEAVE_ERR_PRIVATE(error);
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
393
return error;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
399
int error = 0;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
413
error = ia_css_eventq_recv(q, item);
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
415
return error;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
421
int error = 0;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
435
error = ia_css_eventq_recv(q, item);
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
436
return error;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
441
int error = 0;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
451
error = ia_css_eventq_send(q, evt_id, 0, 0, 0);
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
453
IA_CSS_LEAVE_ERR_PRIVATE(error);
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
454
return error;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
460
int error;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
469
error = ia_css_queue_enqueue(q, item);
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
471
IA_CSS_LEAVE_ERR_PRIVATE(error);
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
472
return error;
drivers/staging/media/atomisp/pci/runtime/eventq/src/eventq.c
19
int error;
drivers/staging/media/atomisp/pci/runtime/eventq/src/eventq.c
22
error = ia_css_queue_dequeue(eventq_handle, &sp_event);
drivers/staging/media/atomisp/pci/runtime/eventq/src/eventq.c
25
if (!error)
drivers/staging/media/atomisp/pci/runtime/eventq/src/eventq.c
27
return error;
drivers/staging/media/atomisp/pci/runtime/eventq/src/eventq.c
43
int error = -ENOSYS;
drivers/staging/media/atomisp/pci/runtime/eventq/src/eventq.c
57
error = ia_css_queue_enqueue(eventq_handle, sw_event);
drivers/staging/media/atomisp/pci/runtime/eventq/src/eventq.c
58
if (error != -ENOBUFS) {
drivers/staging/media/atomisp/pci/runtime/eventq/src/eventq.c
66
return error;
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
23
input_system_err_t error = INPUT_SYSTEM_ERR_NO_ERROR;
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
30
error = input_system_configuration_reset();
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
31
if (error != INPUT_SYSTEM_ERR_NO_ERROR)
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
32
return error;
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
34
error = input_system_csi_xmem_channel_cfg(
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
44
if (error != INPUT_SYSTEM_ERR_NO_ERROR)
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
45
return error;
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
47
error = input_system_csi_xmem_channel_cfg(
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
57
if (error != INPUT_SYSTEM_ERR_NO_ERROR)
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
58
return error;
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
60
error = input_system_csi_xmem_channel_cfg(
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
70
if (error != INPUT_SYSTEM_ERR_NO_ERROR)
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
71
return error;
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
73
error = input_system_configuration_commit();
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
75
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
100
if (error != 0)
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
101
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
109
error = ia_css_queue_item_store(qhandle, cb_desc.end, &cb_elem);
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
110
if (error != 0)
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
111
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
122
error = ia_css_queue_store(qhandle, &cb_desc, ignore_desc_flags);
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
123
if (error != 0)
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
124
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
132
int error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
156
error = ia_css_queue_load(qhandle, &cb_desc, ignore_desc_flags);
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
157
if (error != 0)
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
158
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
164
error = ia_css_queue_item_load(qhandle, cb_desc.start, &cb_elem);
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
165
if (error != 0)
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
166
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
178
error = ia_css_queue_store(qhandle, &cb_desc, ignore_desc_flags);
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
179
if (error != 0)
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
180
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
187
int error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
205
error = ia_css_queue_load(qhandle, &cb_desc, ignore_desc_flags);
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
206
if (error != 0)
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
207
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
219
int error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
237
error = ia_css_queue_load(qhandle, &cb_desc, ignore_desc_flags);
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
238
if (error != 0)
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
239
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
251
int error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
269
error = ia_css_queue_load(qhandle, &cb_desc, ignore_desc_flags);
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
270
if (error != 0)
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
271
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
284
int error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
309
error = ia_css_queue_load(qhandle, &cb_desc, ignore_desc_flags);
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
310
if (error != 0)
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
311
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
319
error = ia_css_queue_item_load(qhandle, (uint8_t)offset, &cb_elem);
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
320
if (error != 0)
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
321
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
332
int error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
350
error = ia_css_queue_load(qhandle, &cb_desc, ignore_desc_flags);
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
351
if (error != 0)
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
352
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
364
int error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
383
error = ia_css_queue_load(qhandle, &cb_desc, ignore_desc_flags);
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
384
if (error != 0)
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
385
return error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
75
int error;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
99
error = ia_css_queue_load(qhandle, &cb_desc, ignore_desc_flags);
drivers/staging/media/atomisp/pci/sh_css_internal.h
256
unsigned int error;
drivers/staging/media/atomisp/pci/sh_css_internal.h
308
unsigned int error;
drivers/staging/media/atomisp/pci/sh_css_params.c
2205
goto error;
drivers/staging/media/atomisp/pci/sh_css_params.c
2211
goto error;
drivers/staging/media/atomisp/pci/sh_css_params.c
2216
error:
drivers/staging/media/av7110/sp8870.c
568
goto error;
drivers/staging/media/av7110/sp8870.c
577
goto error;
drivers/staging/media/av7110/sp8870.c
584
error:
drivers/staging/media/deprecated/atmel/atmel-isc-base.c
1697
ret = hdl->error;
drivers/staging/media/imx/imx-ic-prpencvf.c
1154
if (hdlr->error) {
drivers/staging/media/imx/imx-ic-prpencvf.c
1155
ret = hdlr->error;
drivers/staging/media/imx/imx-media-csc-scaler.c
723
if (hdlr->error) {
drivers/staging/media/imx/imx-media-csc-scaler.c
725
return hdlr->error;
drivers/staging/media/imx/imx-media-fim.c
131
static void send_fim_event(struct imx_media_fim *fim, unsigned long error)
drivers/staging/media/imx/imx-media-fim.c
149
long long interval, error;
drivers/staging/media/imx/imx-media-fim.c
158
error = abs(interval - NSEC_PER_USEC * (u64)fim->nominal);
drivers/staging/media/imx/imx-media-fim.c
159
if (error > U32_MAX)
drivers/staging/media/imx/imx-media-fim.c
160
error = U32_MAX;
drivers/staging/media/imx/imx-media-fim.c
162
error = abs((u32)error / NSEC_PER_USEC);
drivers/staging/media/imx/imx-media-fim.c
164
if (fim->tolerance_max && error >= fim->tolerance_max) {
drivers/staging/media/imx/imx-media-fim.c
167
error);
drivers/staging/media/imx/imx-media-fim.c
172
fim->sum += error;
drivers/staging/media/imx/imx-media-fim.c
339
if (hdlr->error) {
drivers/staging/media/imx/imx-media-fim.c
340
ret = hdlr->error;
drivers/staging/media/imx/imx-media-vdic.c
414
if (hdlr->error) {
drivers/staging/media/imx/imx-media-vdic.c
415
ret = hdlr->error;
drivers/staging/media/ipu3/ipu3-v4l2.c
1119
if (hdl->error) {
drivers/staging/media/ipu3/ipu3-v4l2.c
1120
r = hdl->error;
drivers/staging/media/ipu7/ipu7-dma.c
78
goto error;
drivers/staging/media/ipu7/ipu7-dma.c
93
error:
drivers/staging/media/ipu7/ipu7-isys-queue.c
285
struct ipu7_isys_buffer_list *bl, bool error)
drivers/staging/media/ipu7/ipu7-isys-queue.c
339
(error ?
drivers/staging/media/ipu7/ipu7-isys-queue.c
341
0), error ? VB2_BUF_STATE_ERROR :
drivers/staging/media/ipu7/ipu7-isys-subdev.c
308
if (asd->ctrl_handler.error) {
drivers/staging/media/ipu7/ipu7-isys-subdev.c
309
ret = asd->ctrl_handler.error;
drivers/staging/media/ipu7/ipu7-isys-video.c
499
if (stream->error) {
drivers/staging/media/ipu7/ipu7-isys-video.c
500
dev_err(dev, "stream open error: %d\n", stream->error);
drivers/staging/media/ipu7/ipu7-isys-video.c
536
if (stream->error) {
drivers/staging/media/ipu7/ipu7-isys-video.c
537
dev_err(dev, "stream start error: %d\n", stream->error);
drivers/staging/media/ipu7/ipu7-isys-video.c
559
stream->error);
drivers/staging/media/ipu7/ipu7-isys-video.c
588
else if (stream->error)
drivers/staging/media/ipu7/ipu7-isys-video.c
589
dev_warn(dev, "stream stop error: %d\n", stream->error);
drivers/staging/media/ipu7/ipu7-isys-video.c
613
else if (stream->error)
drivers/staging/media/ipu7/ipu7-isys-video.c
614
dev_warn(dev, "stream close error: %d\n", stream->error);
drivers/staging/media/ipu7/ipu7-isys-video.h
75
int error;
drivers/staging/media/ipu7/ipu7-isys.c
950
stream->error = err_info.err_code;
drivers/staging/media/ipu7/ipu7-mmu.c
319
goto error;
drivers/staging/media/ipu7/ipu7-mmu.c
328
goto error;
drivers/staging/media/ipu7/ipu7-mmu.c
369
error:
drivers/staging/media/max96712/max96712.c
325
ret = priv->ctrl_handler.error;
drivers/staging/media/max96712/max96712.c
327
goto error;
drivers/staging/media/max96712/max96712.c
332
goto error;
drivers/staging/media/max96712/max96712.c
339
goto error;
drivers/staging/media/max96712/max96712.c
344
goto error;
drivers/staging/media/max96712/max96712.c
348
error:
drivers/staging/media/meson/vdec/vdec.c
853
ret = ctrl_handler->error;
drivers/staging/media/sunxi/cedrus/cedrus.c
278
if (hdl->error) {
drivers/staging/media/sunxi/cedrus/cedrus.c
281
hdl->error);
drivers/staging/media/sunxi/cedrus/cedrus.c
282
return hdl->error;
drivers/staging/media/sunxi/cedrus/cedrus.c
298
if (hdl->error) {
drivers/staging/media/sunxi/cedrus/cedrus.c
302
hdl->error);
drivers/staging/media/sunxi/cedrus/cedrus.c
307
return hdl->error;
drivers/staging/media/sunxi/cedrus/cedrus_dec.c
100
"Failed to setup decoding job: %d\n", error);
drivers/staging/media/sunxi/cedrus/cedrus_dec.c
108
if (!error) {
drivers/staging/media/sunxi/cedrus/cedrus_dec.c
31
int error;
drivers/staging/media/sunxi/cedrus/cedrus_dec.c
97
error = ctx->current_codec->setup(ctx, &run);
drivers/staging/media/sunxi/cedrus/cedrus_dec.c
98
if (error)
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_capture.c
150
bool error)
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_capture.c
169
vb2_buffer_done(vb2_buffer, error ? VB2_BUF_STATE_ERROR :
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_capture.c
177
vb2_buffer_done(vb2_buffer, error ? VB2_BUF_STATE_ERROR :
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.c
198
bool error)
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.c
209
vb2_buffer_done(vb2_buffer, error ? VB2_BUF_STATE_ERROR :
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.c
217
vb2_buffer_done(vb2_buffer, error ? VB2_BUF_STATE_ERROR :
drivers/staging/media/tegra-video/vi.c
1147
if (chan->ctrl_handler.error) {
drivers/staging/media/tegra-video/vi.c
963
if (chan->ctrl_handler.error) {
drivers/staging/media/tegra-video/vi.c
965
chan->ctrl_handler.error);
drivers/staging/media/tegra-video/vi.c
967
return chan->ctrl_handler.error;
drivers/staging/media/tegra-video/vi.c
974
if (chan->ctrl_handler.error) {
drivers/staging/media/tegra-video/vi.c
977
chan->ctrl_handler.error);
drivers/staging/media/tegra-video/vi.c
979
return chan->ctrl_handler.error;
drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
593
goto error;
drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
608
error:
drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
861
goto error;
drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
874
error:
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
161
goto error;
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
173
goto error;
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
179
goto error;
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
185
goto error;
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
193
goto error;
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
199
error:
drivers/target/loopback/tcm_loop.c
358
int error, host_prot;
drivers/target/loopback/tcm_loop.c
392
error = scsi_add_host(sh, &tl_hba->dev);
drivers/target/loopback/tcm_loop.c
393
if (error) {
drivers/target/tcm_fc/tfc_io.c
163
error = fc_seq_send(lport, seq, fp);
drivers/target/tcm_fc/tfc_io.c
164
if (error) {
drivers/target/tcm_fc/tfc_io.c
59
int error;
drivers/thermal/rockchip_thermal.c
1633
int error;
drivers/thermal/rockchip_thermal.c
1639
error = rockchip_get_efuse_value(sensor->of_node, "trim", &trim);
drivers/thermal/rockchip_thermal.c
1640
if (error < 0 && error != -ENOENT) {
drivers/thermal/rockchip_thermal.c
1642
id, ERR_PTR(error));
drivers/thermal/rockchip_thermal.c
1643
return error;
drivers/thermal/rockchip_thermal.c
1661
error = tsadc->set_tshut_temp(&tsadc->table, id, thermal->regs, tshut_temp);
drivers/thermal/rockchip_thermal.c
1662
if (error)
drivers/thermal/rockchip_thermal.c
1664
__func__, tshut_temp, error);
drivers/thermal/rockchip_thermal.c
1671
error = PTR_ERR(sensor->tzd);
drivers/thermal/rockchip_thermal.c
1673
id, error);
drivers/thermal/rockchip_thermal.c
1674
return error;
drivers/thermal/rockchip_thermal.c
1698
int error;
drivers/thermal/rockchip_thermal.c
1742
error = rockchip_configure_from_dt(&pdev->dev, np, thermal);
drivers/thermal/rockchip_thermal.c
1743
if (error)
drivers/thermal/rockchip_thermal.c
1744
return dev_err_probe(&pdev->dev, error,
drivers/thermal/rockchip_thermal.c
1763
error = rockchip_thermal_register_sensor(pdev, thermal,
drivers/thermal/rockchip_thermal.c
1766
if (error)
drivers/thermal/rockchip_thermal.c
1767
return dev_err_probe(&pdev->dev, error,
drivers/thermal/rockchip_thermal.c
1771
error = devm_request_threaded_irq(&pdev->dev, irq, NULL,
drivers/thermal/rockchip_thermal.c
1775
if (error)
drivers/thermal/rockchip_thermal.c
1776
return dev_err_probe(&pdev->dev, error,
drivers/thermal/rockchip_thermal.c
1783
error = thermal_add_hwmon_sysfs(thermal->sensors[i].tzd);
drivers/thermal/rockchip_thermal.c
1784
if (error)
drivers/thermal/rockchip_thermal.c
1787
i, error);
drivers/thermal/rockchip_thermal.c
1834
int error;
drivers/thermal/rockchip_thermal.c
1837
error = clk_enable(thermal->clk);
drivers/thermal/rockchip_thermal.c
1838
if (error)
drivers/thermal/rockchip_thermal.c
1839
return error;
drivers/thermal/rockchip_thermal.c
1841
error = clk_enable(thermal->pclk);
drivers/thermal/rockchip_thermal.c
1842
if (error) {
drivers/thermal/rockchip_thermal.c
1844
return error;
drivers/thermal/rockchip_thermal.c
1860
error = tsadc->set_tshut_temp(&thermal->chip->table,
drivers/thermal/rockchip_thermal.c
1863
if (error)
drivers/thermal/rockchip_thermal.c
1865
__func__, tshut_temp, error);
drivers/thermal/rockchip_thermal.c
583
u32 error = table->data_mask;
drivers/thermal/rockchip_thermal.c
620
return error;
drivers/thermal/rockchip_thermal.c
625
__func__, temp, error);
drivers/thermal/rockchip_thermal.c
626
return error;
drivers/thermal/thermal_core.c
1909
goto error;
drivers/thermal/thermal_core.c
1951
error:
drivers/thermal/thermal_core.c
321
static void thermal_zone_recheck(struct thermal_zone_device *tz, int error)
drivers/thermal/thermal_core.c
323
if (error == -EAGAIN) {
drivers/thermal/thermal_core.c
334
dev_info(&tz->device, "Temperature check failed (%d)\n", error);
drivers/thermal/ti-soc-thermal/ti-bandgap.c
607
int error;
drivers/thermal/ti-soc-thermal/ti-bandgap.c
623
error = readl_poll_timeout_atomic(temp_sensor_ctrl, val,
drivers/thermal/ti-soc-thermal/ti-bandgap.c
626
if (error)
drivers/thermal/ti-soc-thermal/ti-bandgap.c
634
error = readl_poll_timeout_atomic(temp_sensor_ctrl, val,
drivers/thermal/ti-soc-thermal/ti-bandgap.c
637
if (error)
drivers/thunderbolt/ctl.c
257
res.tb_error = pkg->error;
drivers/thunderbolt/ctl.c
421
const struct cfg_error_pkg *error = pkg->buffer;
drivers/thunderbolt/ctl.c
426
switch (error->error) {
drivers/thunderbolt/ctl.c
779
const struct cfg_error_pkg *error)
drivers/thunderbolt/ctl.c
786
switch (error->error) {
drivers/thunderbolt/ctl.c
826
error->error, route);
drivers/thunderbolt/ctl.c
847
.error = TB_CFG_ERROR_ACK_PLUG_EVENT,
drivers/thunderbolt/ctl.h
127
const struct cfg_error_pkg *error);
drivers/thunderbolt/tb.c
2878
const struct cfg_error_pkg *error)
drivers/thunderbolt/tb.c
2881
switch (error->error) {
drivers/thunderbolt/tb.c
2885
if (tb_cfg_ack_notification(tb->ctl, route, error))
drivers/thunderbolt/tb.c
2891
if (tb_cfg_ack_notification(tb->ctl, route, error))
drivers/thunderbolt/tb.c
2894
tb_queue_dp_bandwidth_request(tb, route, error->port, 0, 0);
drivers/thunderbolt/tb_msgs.h
549
u32 error;
drivers/thunderbolt/tb_msgs.h
75
enum tb_cfg_error error:8;
drivers/thunderbolt/trace.h
57
trace_seq_printf(p, "error=%#x, port=%d, plug=%#x, ", msg->error,
drivers/thunderbolt/xdomain.c
248
switch (res->error) {
drivers/thunderbolt/xdomain.c
310
enum tb_xdp_error error)
drivers/thunderbolt/xdomain.c
317
res.error = error;
drivers/tty/amiserial.c
1489
int error;
drivers/tty/amiserial.c
1514
error = tty_register_driver(driver);
drivers/tty/amiserial.c
1515
if (error)
drivers/tty/amiserial.c
1525
error = request_irq(IRQ_AMIGA_TBE, ser_tx_int, 0, "serial TX", state);
drivers/tty/amiserial.c
1526
if (error)
drivers/tty/amiserial.c
1529
error = request_irq(IRQ_AMIGA_RBF, ser_rx_int, 0,
drivers/tty/amiserial.c
1531
if (error)
drivers/tty/amiserial.c
1566
return error;
drivers/tty/ehv_bytechan.c
705
goto error;
drivers/tty/ehv_bytechan.c
716
goto error;
drivers/tty/ehv_bytechan.c
726
error:
drivers/tty/hvc/hvc_xen.c
529
goto error;
drivers/tty/hvc/hvc_xen.c
539
error:
drivers/tty/n_gsm.c
1949
ctrl->error = -EOPNOTSUPP;
drivers/tty/n_gsm.c
2040
ctrl->error = -ETIMEDOUT;
drivers/tty/n_gsm.c
2110
err = control->error;
drivers/tty/n_gsm.c
238
int error; /* Error if any */
drivers/tty/n_hdlc.c
523
ssize_t error = 0;
drivers/tty/n_hdlc.c
544
error = -EAGAIN;
drivers/tty/n_hdlc.c
550
error = -EINTR;
drivers/tty/n_hdlc.c
558
if (!error) {
drivers/tty/n_hdlc.c
563
tbuf->count = error = count;
drivers/tty/n_hdlc.c
568
return error;
drivers/tty/serial/jsm/jsm_tty.c
611
u8 error = ch->ch_equeue[tail + i];
drivers/tty/serial/jsm/jsm_tty.c
618
if (error & UART_LSR_BI)
drivers/tty/serial/jsm/jsm_tty.c
620
else if (error & UART_LSR_PE)
drivers/tty/serial/jsm/jsm_tty.c
622
else if (error & UART_LSR_FE)
drivers/tty/serial/qcom_geni_serial.c
1829
goto error;
drivers/tty/serial/qcom_geni_serial.c
1845
goto error;
drivers/tty/serial/qcom_geni_serial.c
1854
goto error;
drivers/tty/serial/qcom_geni_serial.c
1860
goto error;
drivers/tty/serial/qcom_geni_serial.c
1884
goto error;
drivers/tty/serial/qcom_geni_serial.c
1889
goto error;
drivers/tty/serial/qcom_geni_serial.c
1898
goto error;
drivers/tty/serial/qcom_geni_serial.c
1906
goto error;
drivers/tty/serial/qcom_geni_serial.c
1910
error:
drivers/tty/synclink_gt.c
3698
goto error;
drivers/tty/synclink_gt.c
3704
goto error;
drivers/tty/synclink_gt.c
3710
error:
drivers/tty/sysrq.c
1005
return error;
drivers/tty/sysrq.c
1044
int error;
drivers/tty/sysrq.c
1048
error = input_register_handler(&sysrq_handler);
drivers/tty/sysrq.c
1049
if (error)
drivers/tty/sysrq.c
1050
pr_err("Failed to register input handler, error %d", error);
drivers/tty/sysrq.c
1062
int error;
drivers/tty/sysrq.c
1064
error = kstrtoul(buffer, 0, &val);
drivers/tty/sysrq.c
1065
if (error < 0)
drivers/tty/sysrq.c
1066
return error;
drivers/tty/sysrq.c
972
int error;
drivers/tty/sysrq.c
986
error = input_register_handle(&sysrq->handle);
drivers/tty/sysrq.c
987
if (error) {
drivers/tty/sysrq.c
989
error);
drivers/tty/sysrq.c
993
error = input_open_device(&sysrq->handle);
drivers/tty/sysrq.c
994
if (error) {
drivers/tty/sysrq.c
995
pr_err("Failed to open input device, error %d\n", error);
drivers/tty/tty_io.c
3427
int error;
drivers/tty/tty_io.c
3433
error = alloc_chrdev_region(&dev, driver->minor_start,
drivers/tty/tty_io.c
3435
if (!error) {
drivers/tty/tty_io.c
3441
error = register_chrdev_region(dev, driver->num, driver->name);
drivers/tty/tty_io.c
3443
if (error < 0)
drivers/tty/tty_io.c
3447
error = tty_cdev_add(driver, dev, 0, driver->num);
drivers/tty/tty_io.c
3448
if (error)
drivers/tty/tty_io.c
3459
error = PTR_ERR(d);
drivers/tty/tty_io.c
3478
return error;
drivers/tty/vt/keyboard.c
1083
int error;
drivers/tty/vt/keyboard.c
1087
error = led_trigger_register(&kbd_led_triggers[i].trigger);
drivers/tty/vt/keyboard.c
1088
if (error)
drivers/tty/vt/keyboard.c
1090
error, kbd_led_triggers[i].trigger.name);
drivers/tty/vt/keyboard.c
1549
int error;
drivers/tty/vt/keyboard.c
1559
error = input_register_handle(handle);
drivers/tty/vt/keyboard.c
1560
if (error)
drivers/tty/vt/keyboard.c
1561
return error;
drivers/tty/vt/keyboard.c
1563
error = input_open_device(handle);
drivers/tty/vt/keyboard.c
1564
if (error)
drivers/tty/vt/keyboard.c
1573
return error;
drivers/tty/vt/keyboard.c
1626
int error;
drivers/tty/vt/keyboard.c
1640
error = input_register_handler(&kbd_handler);
drivers/tty/vt/keyboard.c
1641
if (error)
drivers/tty/vt/keyboard.c
1642
return error;
drivers/tty/vt/keyboard.c
187
int error;
drivers/tty/vt/keyboard.c
194
d->error = input_get_keycode(handle->dev, &d->ke);
drivers/tty/vt/keyboard.c
196
return d->error == 0; /* stop as soon as we successfully get one */
drivers/tty/vt/keyboard.c
207
.error = -ENODEV,
drivers/tty/vt/keyboard.c
214
return d.error ?: d.ke.keycode;
drivers/tty/vt/keyboard.c
221
d->error = input_set_keycode(handle->dev, &d->ke);
drivers/tty/vt/keyboard.c
223
return d->error == 0; /* stop as soon as we successfully set one */
drivers/tty/vt/keyboard.c
234
.error = -ENODEV,
drivers/tty/vt/keyboard.c
241
return d.error;
drivers/ufs/host/ufs-hisi.c
485
goto error;
drivers/ufs/host/ufs-hisi.c
492
goto error;
drivers/ufs/host/ufs-hisi.c
496
error:
drivers/usb/atm/ueagle-atm.c
2559
goto error;
drivers/usb/atm/ueagle-atm.c
2563
error:
drivers/usb/atm/usbatm.c
1015
int error = -ENOMEM;
drivers/usb/atm/usbatm.c
1058
if (driver->bind && (error = driver->bind(instance, intf, id)) < 0) {
drivers/usb/atm/usbatm.c
1059
dev_err(dev, "%s: bind failed: %d!\n", __func__, error);
drivers/usb/atm/usbatm.c
1100
error = -EINVAL;
drivers/usb/atm/usbatm.c
1131
error = -ENOMEM;
drivers/usb/atm/usbatm.c
1140
error = -ENOMEM;
drivers/usb/atm/usbatm.c
1170
error = -ENOMEM;
drivers/usb/atm/usbatm.c
1175
error = usbatm_heavy_init(instance);
drivers/usb/atm/usbatm.c
1178
error = usbatm_atm_init(instance);
drivers/usb/atm/usbatm.c
1181
if (error < 0)
drivers/usb/atm/usbatm.c
1203
return error;
drivers/usb/cdns3/cdns3-ti.c
145
int error, i;
drivers/usb/cdns3/cdns3-ti.c
198
error = pm_runtime_get_sync(dev);
drivers/usb/cdns3/cdns3-ti.c
199
if (error < 0) {
drivers/usb/cdns3/cdns3-ti.c
200
dev_err(dev, "pm_runtime_get_sync failed: %d\n", error);
drivers/usb/cdns3/cdns3-ti.c
204
error = of_platform_populate(node, NULL, cdns_ti_auxdata, dev);
drivers/usb/cdns3/cdns3-ti.c
205
if (error) {
drivers/usb/cdns3/cdns3-ti.c
206
dev_err(dev, "failed to create children: %d\n", error);
drivers/usb/cdns3/cdns3-ti.c
216
return error;
drivers/usb/class/usblp.c
367
int error;
drivers/usb/class/usblp.c
370
error = usblp_read_status(usblp, usblp->statusbuf);
drivers/usb/class/usblp.c
371
if (error < 0) {
drivers/usb/class/usblp.c
375
usblp->minor, error);
drivers/usb/class/usbtmc.c
1009
goto error;
drivers/usb/class/usbtmc.c
1021
goto error;
drivers/usb/class/usbtmc.c
1040
goto error;
drivers/usb/class/usbtmc.c
1048
error:
drivers/usb/class/usbtmc.c
1178
goto error;
drivers/usb/class/usbtmc.c
1187
goto error;
drivers/usb/class/usbtmc.c
1195
goto error;
drivers/usb/class/usbtmc.c
1207
goto error;
drivers/usb/class/usbtmc.c
1232
goto error;
drivers/usb/class/usbtmc.c
1247
goto error;
drivers/usb/class/usbtmc.c
1254
error:
drivers/usb/class/usbtmc.c
874
goto error;
drivers/usb/class/usbtmc.c
916
goto error;
drivers/usb/class/usbtmc.c
932
goto error;
drivers/usb/class/usbtmc.c
965
goto error;
drivers/usb/class/usbtmc.c
970
goto error;
drivers/usb/class/usbtmc.c
980
goto error;
drivers/usb/core/devio.c
1004
goto error;
drivers/usb/core/devio.c
1017
error:
drivers/usb/core/devio.c
1678
goto error;
drivers/usb/core/devio.c
1682
goto error;
drivers/usb/core/devio.c
1687
goto error;
drivers/usb/core/devio.c
1754
goto error;
drivers/usb/core/devio.c
1763
goto error;
drivers/usb/core/devio.c
1778
goto error;
drivers/usb/core/devio.c
1783
goto error;
drivers/usb/core/devio.c
1790
goto error;
drivers/usb/core/devio.c
1804
goto error;
drivers/usb/core/devio.c
1812
goto error;
drivers/usb/core/devio.c
1823
goto error;
drivers/usb/core/devio.c
1830
goto error;
drivers/usb/core/devio.c
1847
goto error;
drivers/usb/core/devio.c
1854
goto error;
drivers/usb/core/devio.c
1979
goto error;
drivers/usb/core/devio.c
1983
error:
drivers/usb/core/devio.c
246
goto error;
drivers/usb/core/devio.c
307
error:
drivers/usb/core/devio.c
980
goto error;
drivers/usb/core/devio.c
985
goto error;
drivers/usb/core/devio.c
992
goto error;
drivers/usb/core/devio.c
998
goto error;
drivers/usb/core/driver.c
186
int error = 0;
drivers/usb/core/driver.c
192
error = driver_create_file(&usb_drv->driver,
drivers/usb/core/driver.c
194
if (error == 0) {
drivers/usb/core/driver.c
195
error = driver_create_file(&usb_drv->driver,
drivers/usb/core/driver.c
197
if (error)
drivers/usb/core/driver.c
203
return error;
drivers/usb/core/driver.c
250
int error = 0;
drivers/usb/core/driver.c
260
error = usb_autoresume_device(udev);
drivers/usb/core/driver.c
261
if (error)
drivers/usb/core/driver.c
262
return error;
drivers/usb/core/driver.c
265
error = usb_generic_driver_probe(udev);
drivers/usb/core/driver.c
266
if (error)
drivers/usb/core/driver.c
267
return error;
drivers/usb/core/driver.c
291
error = udriver->probe(udev);
drivers/usb/core/driver.c
293
error = -EINVAL;
drivers/usb/core/driver.c
294
if (error == -ENODEV && udriver != &usb_generic_driver &&
drivers/usb/core/driver.c
299
return error;
drivers/usb/core/driver.c
324
int error = -ENODEV;
drivers/usb/core/driver.c
332
return error;
drivers/usb/core/driver.c
336
return error;
drivers/usb/core/driver.c
340
return error;
drivers/usb/core/driver.c
347
return error;
drivers/usb/core/driver.c
351
error = usb_autoresume_device(udev);
drivers/usb/core/driver.c
352
if (error)
drivers/usb/core/driver.c
353
return error;
drivers/usb/core/driver.c
382
error = lpm_disable_error;
drivers/usb/core/driver.c
389
error = usb_set_interface(udev, intf->altsetting[0].
drivers/usb/core/driver.c
391
if (error < 0)
drivers/usb/core/driver.c
396
error = driver->probe(intf, id);
drivers/usb/core/driver.c
397
if (error)
drivers/usb/core/driver.c
407
return error;
drivers/usb/core/driver.c
424
return error;
drivers/usb/core/driver.c
434
int i, j, error, r;
drivers/usb/core/driver.c
441
error = usb_autoresume_device(udev);
drivers/usb/core/driver.c
489
} else if (!error && !intf->dev.power.is_prepared) {
drivers/usb/core/driver.c
511
if (!error)
drivers/usb/core/file.c
76
int error;
drivers/usb/core/file.c
78
error = register_chrdev(USB_MAJOR, "usb", &usb_fops);
drivers/usb/core/file.c
79
if (error)
drivers/usb/core/file.c
83
return error;
drivers/usb/core/hcd.c
480
goto error;
drivers/usb/core/hcd.c
528
goto error;
drivers/usb/core/hcd.c
535
goto error;
drivers/usb/core/hcd.c
561
goto error;
drivers/usb/core/hcd.c
584
goto error;
drivers/usb/core/hcd.c
594
goto error;
drivers/usb/core/hcd.c
599
goto error;
drivers/usb/core/hcd.c
660
error:
drivers/usb/core/hub.c
1810
hub->error = 0;
drivers/usb/core/hub.c
4650
if (!hub->error) {
drivers/usb/core/hub.c
5905
hub->error = -ENODEV;
drivers/usb/core/hub.c
5921
if (hub->error) {
drivers/usb/core/hub.c
5922
dev_dbg(hub_dev, "resetting for error %d\n", hub->error);
drivers/usb/core/hub.c
5931
hub->error = 0;
drivers/usb/core/hub.c
789
if ((++hub->nerrors < 10) || hub->error)
drivers/usb/core/hub.c
791
hub->error = status;
drivers/usb/core/hub.h
34
int error; /* last reported error */
drivers/usb/core/sysfs.c
1075
goto error;
drivers/usb/core/sysfs.c
1079
goto error;
drivers/usb/core/sysfs.c
1084
goto error;
drivers/usb/core/sysfs.c
1088
error:
drivers/usb/core/usb-acpi.c
120
int error = -EINVAL;
drivers/usb/core/usb-acpi.c
128
return error;
drivers/usb/core/usb-acpi.c
135
error = acpi_bus_set_power(port_handle, state);
drivers/usb/core/usb-acpi.c
136
if (!error)
drivers/usb/core/usb-acpi.c
141
return error;
drivers/usb/dwc2/hcd.c
3414
goto error;
drivers/usb/dwc2/hcd.c
3531
goto error;
drivers/usb/dwc2/hcd.c
3619
goto error;
drivers/usb/dwc2/hcd.c
3635
goto error;
drivers/usb/dwc2/hcd.c
3733
error:
drivers/usb/dwc2/hcd_intr.c
1938
goto error;
drivers/usb/dwc2/hcd_intr.c
1945
error:
drivers/usb/dwc2/platform.c
491
goto error;
drivers/usb/dwc2/platform.c
503
goto error;
drivers/usb/dwc2/platform.c
511
goto error;
drivers/usb/dwc2/platform.c
516
goto error;
drivers/usb/dwc2/platform.c
521
goto error;
drivers/usb/dwc2/platform.c
530
goto error;
drivers/usb/dwc2/platform.c
541
goto error;
drivers/usb/dwc2/platform.c
550
goto error;
drivers/usb/dwc2/platform.c
555
goto error;
drivers/usb/dwc2/platform.c
643
error:
drivers/usb/dwc3/dwc3-keystone.c
108
error = phy_reset(kdwc->usb3_phy);
drivers/usb/dwc3/dwc3-keystone.c
109
if (error < 0) {
drivers/usb/dwc3/dwc3-keystone.c
110
dev_err(dev, "usb3 phy reset failed: %d\n", error);
drivers/usb/dwc3/dwc3-keystone.c
111
return error;
drivers/usb/dwc3/dwc3-keystone.c
114
error = phy_init(kdwc->usb3_phy);
drivers/usb/dwc3/dwc3-keystone.c
115
if (error < 0) {
drivers/usb/dwc3/dwc3-keystone.c
116
dev_err(dev, "usb3 phy init failed: %d\n", error);
drivers/usb/dwc3/dwc3-keystone.c
117
return error;
drivers/usb/dwc3/dwc3-keystone.c
120
error = phy_power_on(kdwc->usb3_phy);
drivers/usb/dwc3/dwc3-keystone.c
121
if (error < 0) {
drivers/usb/dwc3/dwc3-keystone.c
122
dev_err(dev, "usb3 phy power on failed: %d\n", error);
drivers/usb/dwc3/dwc3-keystone.c
124
return error;
drivers/usb/dwc3/dwc3-keystone.c
128
error = pm_runtime_get_sync(kdwc->dev);
drivers/usb/dwc3/dwc3-keystone.c
129
if (error < 0) {
drivers/usb/dwc3/dwc3-keystone.c
131
error);
drivers/usb/dwc3/dwc3-keystone.c
141
error = irq;
drivers/usb/dwc3/dwc3-keystone.c
145
error = devm_request_irq(dev, irq, dwc3_keystone_interrupt, IRQF_SHARED,
drivers/usb/dwc3/dwc3-keystone.c
147
if (error) {
drivers/usb/dwc3/dwc3-keystone.c
149
irq, error);
drivers/usb/dwc3/dwc3-keystone.c
156
error = of_platform_populate(node, NULL, NULL, dev);
drivers/usb/dwc3/dwc3-keystone.c
157
if (error) {
drivers/usb/dwc3/dwc3-keystone.c
173
return error;
drivers/usb/dwc3/dwc3-keystone.c
87
int error, irq;
drivers/usb/fotg210/fotg210-hcd.c
1479
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1484
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1505
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1509
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1530
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1545
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1592
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1617
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1687
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1695
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1703
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1715
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1741
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1763
goto error;
drivers/usb/fotg210/fotg210-hcd.c
1769
error:
drivers/usb/fotg210/fotg210-hcd.c
4878
fotg210->stats.normal, fotg210->stats.error,
drivers/usb/fotg210/fotg210-hcd.c
5149
INCR(fotg210->stats.error);
drivers/usb/fotg210/fotg210-hcd.c
719
fotg210->stats.normal, fotg210->stats.error,
drivers/usb/fotg210/fotg210-hcd.h
24
unsigned long error;
drivers/usb/gadget/function/f_eem.c
402
goto error;
drivers/usb/gadget/function/f_eem.c
434
goto error;
drivers/usb/gadget/function/f_eem.c
509
goto error;
drivers/usb/gadget/function/f_eem.c
550
error:
drivers/usb/gadget/function/f_fs.c
1025
goto error;
drivers/usb/gadget/function/f_fs.c
1195
error:
drivers/usb/gadget/function/f_fs.c
1400
fence->error = ret;
drivers/usb/gadget/function/f_fs.c
2914
goto error;
drivers/usb/gadget/function/f_fs.c
2934
goto error;
drivers/usb/gadget/function/f_fs.c
2940
goto error;
drivers/usb/gadget/function/f_fs.c
2945
goto error;
drivers/usb/gadget/function/f_fs.c
2951
goto error;
drivers/usb/gadget/function/f_fs.c
2962
goto error;
drivers/usb/gadget/function/f_fs.c
2971
goto error;
drivers/usb/gadget/function/f_fs.c
2989
goto error;
drivers/usb/gadget/function/f_fs.c
2996
goto error;
drivers/usb/gadget/function/f_fs.c
3000
goto error;
drivers/usb/gadget/function/f_fs.c
3010
goto error;
drivers/usb/gadget/function/f_fs.c
3017
goto error;
drivers/usb/gadget/function/f_fs.c
3030
error:
drivers/usb/gadget/function/f_fs.c
3046
goto error;
drivers/usb/gadget/function/f_fs.c
3052
goto error;
drivers/usb/gadget/function/f_fs.c
3057
goto error;
drivers/usb/gadget/function/f_fs.c
3162
error:
drivers/usb/gadget/function/f_fs.c
3619
goto error;
drivers/usb/gadget/function/f_fs.c
3633
goto error;
drivers/usb/gadget/function/f_fs.c
3648
goto error;
drivers/usb/gadget/function/f_fs.c
3665
goto error;
drivers/usb/gadget/function/f_fs.c
3686
goto error;
drivers/usb/gadget/function/f_fs.c
3695
error:
drivers/usb/gadget/function/f_midi2.c
1067
goto error;
drivers/usb/gadget/function/f_midi2.c
1091
goto error;
drivers/usb/gadget/function/f_midi2.c
1094
goto error;
drivers/usb/gadget/function/f_midi2.c
1097
error:
drivers/usb/gadget/function/f_midi2.c
1554
goto error;
drivers/usb/gadget/function/f_midi2.c
1587
goto error;
drivers/usb/gadget/function/f_midi2.c
1608
goto error;
drivers/usb/gadget/function/f_midi2.c
1614
goto error;
drivers/usb/gadget/function/f_midi2.c
1618
goto error;
drivers/usb/gadget/function/f_midi2.c
1622
error:
drivers/usb/gadget/function/f_midi2.c
695
goto error;
drivers/usb/gadget/function/f_midi2.c
707
goto error;
drivers/usb/gadget/function/f_midi2.c
710
goto error;
drivers/usb/gadget/function/f_midi2.c
713
error:
drivers/usb/gadget/function/f_printer.c
400
int error;
drivers/usb/gadget/function/f_printer.c
417
error = usb_ep_queue(dev->out_ep, req, GFP_ATOMIC);
drivers/usb/gadget/function/f_printer.c
419
if (error) {
drivers/usb/gadget/function/f_printer.c
420
DBG(dev, "rx submit --> %d\n", error);
drivers/usb/gadget/function/f_uvc.c
738
goto error;
drivers/usb/gadget/function/f_uvc.c
763
goto error;
drivers/usb/gadget/function/f_uvc.c
788
goto error;
drivers/usb/gadget/function/f_uvc.c
802
goto error;
drivers/usb/gadget/function/f_uvc.c
809
goto error;
drivers/usb/gadget/function/f_uvc.c
820
goto error;
drivers/usb/gadget/function/f_uvc.c
827
goto error;
drivers/usb/gadget/function/f_uvc.c
834
goto error;
drivers/usb/gadget/function/f_uvc.c
841
goto error;
drivers/usb/gadget/function/f_uvc.c
849
goto error;
drivers/usb/gadget/function/f_uvc.c
858
goto error;
drivers/usb/gadget/function/f_uvc.c
877
error:
drivers/usb/gadget/function/uvc_video.c
564
goto error;
drivers/usb/gadget/function/uvc_video.c
572
goto error;
drivers/usb/gadget/function/uvc_video.c
576
goto error;
drivers/usb/gadget/function/uvc_video.c
594
error:
drivers/usb/gadget/legacy/g_ffs.c
343
goto error;
drivers/usb/gadget/legacy/g_ffs.c
426
error:
drivers/usb/gadget/legacy/g_ffs.c
496
goto error;
drivers/usb/gadget/legacy/g_ffs.c
501
goto error;
drivers/usb/gadget/legacy/g_ffs.c
519
error:
drivers/usb/gadget/legacy/webcam.c
568
goto error;
drivers/usb/gadget/legacy/webcam.c
579
goto error;
drivers/usb/gadget/legacy/webcam.c
585
error:
drivers/usb/gadget/udc/core.c
1398
goto error;
drivers/usb/gadget/udc/core.c
1463
error:
drivers/usb/gadget/udc/dummy_hcd.c
2143
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2165
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2174
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2184
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2194
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2197
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2257
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2271
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2280
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2308
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2345
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2349
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2357
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2367
goto error;
drivers/usb/gadget/udc/dummy_hcd.c
2374
error:
drivers/usb/host/ehci-dbg.c
898
ehci->stats.normal, ehci->stats.error, ehci->stats.iaa,
drivers/usb/host/ehci-hcd.c
763
INCR(ehci->stats.error);
drivers/usb/host/ehci-hub.c
1028
goto error;
drivers/usb/host/ehci-hub.c
1044
goto error;
drivers/usb/host/ehci-hub.c
1057
goto error;
drivers/usb/host/ehci-hub.c
1095
goto error;
drivers/usb/host/ehci-hub.c
1145
goto error;
drivers/usb/host/ehci-hub.c
1171
goto error;
drivers/usb/host/ehci-hub.c
1177
error:
drivers/usb/host/ehci-hub.c
775
goto error;
drivers/usb/host/ehci-hub.c
780
goto error;
drivers/usb/host/ehci-hub.c
801
goto error;
drivers/usb/host/ehci-hub.c
814
goto error;
drivers/usb/host/ehci-hub.c
853
goto error;
drivers/usb/host/ehci-hub.c
868
goto error;
drivers/usb/host/ehci-hub.c
940
goto error;
drivers/usb/host/ehci-hub.c
960
goto error;
drivers/usb/host/ehci.h
35
unsigned long error;
drivers/usb/host/fhci-hub.c
221
goto error;
drivers/usb/host/fhci-hub.c
264
goto error;
drivers/usb/host/fhci-hub.c
290
goto error;
drivers/usb/host/fhci-hub.c
322
goto error;
drivers/usb/host/fhci-hub.c
326
error:
drivers/usb/host/fsl-mph-dr-of.c
103
goto error;
drivers/usb/host/fsl-mph-dr-of.c
108
goto error;
drivers/usb/host/fsl-mph-dr-of.c
113
goto error;
drivers/usb/host/fsl-mph-dr-of.c
120
goto error;
drivers/usb/host/fsl-mph-dr-of.c
124
error:
drivers/usb/host/fsl-mph-dr-of.c
91
goto error;
drivers/usb/host/isp116x-hcd.c
1026
goto error;
drivers/usb/host/isp116x-hcd.c
1037
goto error;
drivers/usb/host/isp116x-hcd.c
1052
goto error;
drivers/usb/host/isp116x-hcd.c
1062
goto error;
drivers/usb/host/isp116x-hcd.c
1099
goto error;
drivers/usb/host/isp116x-hcd.c
1109
goto error;
drivers/usb/host/isp116x-hcd.c
1131
goto error;
drivers/usb/host/isp116x-hcd.c
1136
error:
drivers/usb/host/max3421-hcd.c
1708
goto error;
drivers/usb/host/max3421-hcd.c
1717
goto error;
drivers/usb/host/max3421-hcd.c
1734
goto error;
drivers/usb/host/max3421-hcd.c
1760
error: /* "protocol stall" on error */
drivers/usb/host/max3421-hcd.c
1843
goto error;
drivers/usb/host/max3421-hcd.c
1847
goto error;
drivers/usb/host/max3421-hcd.c
1856
goto error;
drivers/usb/host/max3421-hcd.c
1861
goto error;
drivers/usb/host/max3421-hcd.c
1866
goto error;
drivers/usb/host/max3421-hcd.c
1874
goto error;
drivers/usb/host/max3421-hcd.c
1883
goto error;
drivers/usb/host/max3421-hcd.c
1886
goto error;
drivers/usb/host/max3421-hcd.c
1893
goto error;
drivers/usb/host/max3421-hcd.c
1899
goto error;
drivers/usb/host/max3421-hcd.c
1906
goto error;
drivers/usb/host/max3421-hcd.c
1910
error:
drivers/usb/host/ohci-da8xx.c
361
int error, hcd_irq, oc_irq;
drivers/usb/host/ohci-da8xx.c
374
error = PTR_ERR(da8xx_ohci->usb11_clk);
drivers/usb/host/ohci-da8xx.c
375
if (error != -EPROBE_DEFER)
drivers/usb/host/ohci-da8xx.c
382
error = PTR_ERR(da8xx_ohci->usb11_phy);
drivers/usb/host/ohci-da8xx.c
383
if (error != -EPROBE_DEFER)
drivers/usb/host/ohci-da8xx.c
390
error = PTR_ERR(da8xx_ohci->vbus_reg);
drivers/usb/host/ohci-da8xx.c
391
if (error == -ENODEV) {
drivers/usb/host/ohci-da8xx.c
393
} else if (error == -EPROBE_DEFER) {
drivers/usb/host/ohci-da8xx.c
403
error = PTR_ERR(da8xx_ohci->oc_gpio);
drivers/usb/host/ohci-da8xx.c
410
error = oc_irq;
drivers/usb/host/ohci-da8xx.c
414
error = devm_request_threaded_irq(dev, oc_irq, NULL,
drivers/usb/host/ohci-da8xx.c
418
if (error)
drivers/usb/host/ohci-da8xx.c
424
error = PTR_ERR(hcd->regs);
drivers/usb/host/ohci-da8xx.c
432
error = -ENODEV;
drivers/usb/host/ohci-da8xx.c
436
error = usb_add_hcd(hcd, hcd_irq, 0);
drivers/usb/host/ohci-da8xx.c
437
if (error)
drivers/usb/host/ohci-da8xx.c
442
error = ohci_da8xx_register_notify(hcd);
drivers/usb/host/ohci-da8xx.c
443
if (error)
drivers/usb/host/ohci-da8xx.c
452
return error;
drivers/usb/host/ohci-hub.c
702
goto error;
drivers/usb/host/ohci-hub.c
707
goto error;
drivers/usb/host/ohci-hub.c
736
goto error;
drivers/usb/host/ohci-hub.c
751
goto error;
drivers/usb/host/ohci-hub.c
766
goto error;
drivers/usb/host/ohci-hub.c
771
goto error;
drivers/usb/host/ohci-hub.c
792
goto error;
drivers/usb/host/ohci-hub.c
797
error:
drivers/usb/host/oxu210hp-hcd.c
3567
goto error;
drivers/usb/host/oxu210hp-hcd.c
3572
goto error;
drivers/usb/host/oxu210hp-hcd.c
3592
goto error;
drivers/usb/host/oxu210hp-hcd.c
3595
goto error;
drivers/usb/host/oxu210hp-hcd.c
3621
goto error;
drivers/usb/host/oxu210hp-hcd.c
3635
goto error;
drivers/usb/host/oxu210hp-hcd.c
3677
goto error;
drivers/usb/host/oxu210hp-hcd.c
3701
goto error;
drivers/usb/host/oxu210hp-hcd.c
3754
goto error;
drivers/usb/host/oxu210hp-hcd.c
3761
goto error;
drivers/usb/host/oxu210hp-hcd.c
3772
goto error;
drivers/usb/host/oxu210hp-hcd.c
3783
goto error;
drivers/usb/host/oxu210hp-hcd.c
3809
goto error;
drivers/usb/host/oxu210hp-hcd.c
3817
goto error;
drivers/usb/host/oxu210hp-hcd.c
3823
error:
drivers/usb/host/oxu210hp-hcd.c
4212
goto error;
drivers/usb/host/oxu210hp-hcd.c
4221
goto error;
drivers/usb/host/oxu210hp-hcd.c
4230
goto error;
drivers/usb/host/oxu210hp-hcd.c
4237
goto error;
drivers/usb/host/oxu210hp-hcd.c
4245
error:
drivers/usb/host/r8a66597-hcd.c
1907
goto error;
drivers/usb/host/r8a66597-hcd.c
1921
goto error;
drivers/usb/host/r8a66597-hcd.c
1944
error:
drivers/usb/host/r8a66597-hcd.c
2159
goto error;
drivers/usb/host/r8a66597-hcd.c
2164
goto error;
drivers/usb/host/r8a66597-hcd.c
2166
goto error;
drivers/usb/host/r8a66597-hcd.c
2184
goto error;
drivers/usb/host/r8a66597-hcd.c
2197
goto error;
drivers/usb/host/r8a66597-hcd.c
2202
goto error;
drivers/usb/host/r8a66597-hcd.c
2204
goto error;
drivers/usb/host/r8a66597-hcd.c
2228
goto error;
drivers/usb/host/r8a66597-hcd.c
2233
error:
drivers/usb/host/sl811-hcd.c
1237
goto error;
drivers/usb/host/sl811-hcd.c
1242
goto error;
drivers/usb/host/sl811-hcd.c
1278
goto error;
drivers/usb/host/sl811-hcd.c
1290
goto error;
drivers/usb/host/sl811-hcd.c
1300
goto error;
drivers/usb/host/sl811-hcd.c
1304
goto error;
drivers/usb/host/sl811-hcd.c
1306
goto error;
drivers/usb/host/sl811-hcd.c
1317
goto error;
drivers/usb/host/sl811-hcd.c
1332
goto error;
drivers/usb/host/sl811-hcd.c
1338
error:
drivers/usb/host/xen-hcd.c
1081
if (unlikely(info->error)) {
drivers/usb/host/xen-hcd.c
112
info->error = true;
drivers/usb/host/xen-hcd.c
1331
if (unlikely(info->error))
drivers/usb/host/xen-hcd.c
443
goto error;
drivers/usb/host/xen-hcd.c
472
goto error;
drivers/usb/host/xen-hcd.c
517
goto error;
drivers/usb/host/xen-hcd.c
538
error:
drivers/usb/host/xen-hcd.c
852
if (info->error)
drivers/usb/host/xen-hcd.c
87
bool error;
drivers/usb/host/xen-hcd.c
985
if (info->error)
drivers/usb/host/xhci-hub.c
1245
goto error;
drivers/usb/host/xhci-hub.c
1252
goto error;
drivers/usb/host/xhci-hub.c
1255
goto error;
drivers/usb/host/xhci-hub.c
1262
goto error;
drivers/usb/host/xhci-hub.c
1276
goto error;
drivers/usb/host/xhci-hub.c
1308
goto error;
drivers/usb/host/xhci-hub.c
1339
goto error;
drivers/usb/host/xhci-hub.c
1344
goto error;
drivers/usb/host/xhci-hub.c
1410
goto error;
drivers/usb/host/xhci-hub.c
1429
goto error;
drivers/usb/host/xhci-hub.c
1456
goto error;
drivers/usb/host/xhci-hub.c
1522
goto error;
drivers/usb/host/xhci-hub.c
1530
goto error;
drivers/usb/host/xhci-hub.c
1539
goto error;
drivers/usb/host/xhci-hub.c
1542
goto error;
drivers/usb/host/xhci-hub.c
1547
goto error;
drivers/usb/host/xhci-hub.c
1554
goto error;
drivers/usb/host/xhci-hub.c
1573
goto error;
drivers/usb/host/xhci-hub.c
1576
goto error;
drivers/usb/host/xhci-hub.c
1592
goto error;
drivers/usb/host/xhci-hub.c
1618
goto error;
drivers/usb/host/xhci-hub.c
1622
error:
drivers/usb/isp1760/isp1760-hcd.c
2220
goto error;
drivers/usb/isp1760/isp1760-hcd.c
2225
goto error;
drivers/usb/isp1760/isp1760-hcd.c
2244
goto error;
drivers/usb/isp1760/isp1760-hcd.c
2248
goto error;
drivers/usb/isp1760/isp1760-hcd.c
2274
goto error;
drivers/usb/isp1760/isp1760-hcd.c
2288
goto error;
drivers/usb/isp1760/isp1760-hcd.c
2324
goto error;
drivers/usb/isp1760/isp1760-hcd.c
2344
goto error;
drivers/usb/isp1760/isp1760-hcd.c
2383
goto error;
drivers/usb/isp1760/isp1760-hcd.c
2389
goto error;
drivers/usb/isp1760/isp1760-hcd.c
2403
goto error;
drivers/usb/isp1760/isp1760-hcd.c
2413
goto error;
drivers/usb/isp1760/isp1760-hcd.c
2435
goto error;
drivers/usb/isp1760/isp1760-hcd.c
2440
error:
drivers/usb/isp1760/isp1760-if.c
140
goto error;
drivers/usb/isp1760/isp1760-if.c
147
goto error;
drivers/usb/isp1760/isp1760-if.c
151
error:
drivers/usb/isp1760/isp1760-udc.c
1559
goto error;
drivers/usb/isp1760/isp1760-udc.c
1577
goto error;
drivers/usb/isp1760/isp1760-udc.c
1581
error:
drivers/usb/misc/adutux.c
677
goto error;
drivers/usb/misc/adutux.c
685
goto error;
drivers/usb/misc/adutux.c
695
goto error;
drivers/usb/misc/adutux.c
705
goto error;
drivers/usb/misc/adutux.c
712
goto error;
drivers/usb/misc/adutux.c
715
goto error;
drivers/usb/misc/adutux.c
718
goto error;
drivers/usb/misc/adutux.c
724
goto error;
drivers/usb/misc/adutux.c
737
goto error;
drivers/usb/misc/adutux.c
749
error:
drivers/usb/misc/appledisplay.c
232
goto error;
drivers/usb/misc/appledisplay.c
244
goto error;
drivers/usb/misc/appledisplay.c
251
goto error;
drivers/usb/misc/appledisplay.c
260
goto error;
drivers/usb/misc/appledisplay.c
272
goto error;
drivers/usb/misc/appledisplay.c
286
goto error;
drivers/usb/misc/appledisplay.c
297
goto error;
drivers/usb/misc/appledisplay.c
310
error:
drivers/usb/misc/cypress_cy7c63.c
115
error:
drivers/usb/misc/cypress_cy7c63.c
135
goto error;
drivers/usb/misc/cypress_cy7c63.c
139
goto error;
drivers/usb/misc/cypress_cy7c63.c
146
error:
drivers/usb/misc/cypress_cy7c63.c
80
goto error;
drivers/usb/misc/idmouse.c
248
goto error;
drivers/usb/misc/idmouse.c
252
goto error;
drivers/usb/misc/idmouse.c
262
error:
drivers/usb/misc/iowarrior.c
463
goto error;
drivers/usb/misc/iowarrior.c
472
goto error;
drivers/usb/misc/iowarrior.c
485
error:
drivers/usb/misc/iowarrior.c
805
goto error;
drivers/usb/misc/iowarrior.c
818
goto error;
drivers/usb/misc/iowarrior.c
850
goto error;
drivers/usb/misc/iowarrior.c
853
goto error;
drivers/usb/misc/iowarrior.c
865
goto error;
drivers/usb/misc/iowarrior.c
890
goto error;
drivers/usb/misc/iowarrior.c
901
error:
drivers/usb/misc/ldusb.c
675
goto error;
drivers/usb/misc/ldusb.c
688
goto error;
drivers/usb/misc/ldusb.c
701
goto error;
drivers/usb/misc/ldusb.c
704
goto error;
drivers/usb/misc/ldusb.c
707
goto error;
drivers/usb/misc/ldusb.c
714
goto error;
drivers/usb/misc/ldusb.c
717
goto error;
drivers/usb/misc/ldusb.c
732
goto error;
drivers/usb/misc/ldusb.c
742
error:
drivers/usb/misc/legousbtower.c
770
goto error;
drivers/usb/misc/legousbtower.c
775
goto error;
drivers/usb/misc/legousbtower.c
778
goto error;
drivers/usb/misc/legousbtower.c
781
goto error;
drivers/usb/misc/legousbtower.c
784
goto error;
drivers/usb/misc/legousbtower.c
787
goto error;
drivers/usb/misc/legousbtower.c
803
goto error;
drivers/usb/misc/legousbtower.c
818
goto error;
drivers/usb/misc/legousbtower.c
830
error:
drivers/usb/misc/onboard_usb_dev.c
202
goto error;
drivers/usb/misc/onboard_usb_dev.c
208
goto error;
drivers/usb/misc/onboard_usb_dev.c
223
error:
drivers/usb/misc/trancevibrator.c
100
error:
drivers/usb/misc/trancevibrator.c
92
goto error;
drivers/usb/misc/usblcd.c
253
goto error;
drivers/usb/misc/usblcd.c
258
goto error;
drivers/usb/misc/usblcd.c
288
error:
drivers/usb/misc/usblcd.c
341
goto error;
drivers/usb/misc/usblcd.c
351
goto error;
drivers/usb/misc/usblcd.c
359
goto error;
drivers/usb/misc/usblcd.c
373
goto error;
drivers/usb/misc/usblcd.c
387
error:
drivers/usb/misc/usbtest.c
1113
goto error;
drivers/usb/misc/usbtest.c
1140
error:
drivers/usb/misc/yurex.c
202
goto error;
drivers/usb/misc/yurex.c
217
goto error;
drivers/usb/misc/yurex.c
225
goto error;
drivers/usb/misc/yurex.c
230
goto error;
drivers/usb/misc/yurex.c
238
goto error;
drivers/usb/misc/yurex.c
259
goto error;
drivers/usb/misc/yurex.c
266
goto error;
drivers/usb/misc/yurex.c
279
goto error;
drivers/usb/misc/yurex.c
291
goto error;
drivers/usb/misc/yurex.c
300
error:
drivers/usb/misc/yurex.c
442
goto error;
drivers/usb/misc/yurex.c
451
goto error;
drivers/usb/misc/yurex.c
457
goto error;
drivers/usb/misc/yurex.c
511
goto error;
drivers/usb/misc/yurex.c
520
error:
drivers/usb/mon/mon_bin.c
637
static void mon_bin_error(void *data, struct urb *urb, int error)
drivers/usb/mon/mon_bin.c
668
ep->status = error;
drivers/usb/mon/mon_main.c
105
static void mon_bus_submit_error(struct mon_bus *mbus, struct urb *urb, int error)
drivers/usb/mon/mon_main.c
113
r->rnf_error(r->r_data, urb, error);
drivers/usb/mon/mon_main.c
117
static void mon_submit_error(struct usb_bus *ubus, struct urb *urb, int error)
drivers/usb/mon/mon_main.c
123
mon_bus_submit_error(mbus, urb, error);
drivers/usb/mon/mon_main.c
124
mon_bus_submit_error(&mon_bus0, urb, error);
drivers/usb/mon/mon_text.c
271
static void mon_text_error(void *data, struct urb *urb, int error)
drivers/usb/mon/mon_text.c
291
ep->status = error;
drivers/usb/mon/usb_mon.h
49
void (*rnf_error)(void *data, struct urb *urb, int error);
drivers/usb/mtu3/mtu3_gadget.c
193
goto error;
drivers/usb/mtu3/mtu3_gadget.c
198
error:
drivers/usb/mtu3/mtu3_gadget.c
308
goto error;
drivers/usb/mtu3/mtu3_gadget.c
315
error:
drivers/usb/musb/musb_core.c
2010
int error;
drivers/usb/musb/musb_core.c
2049
error = pm_runtime_get_sync(musb->controller);
drivers/usb/musb/musb_core.c
2050
if (error < 0)
drivers/usb/musb/musb_core.c
2052
error);
drivers/usb/musb/musb_core.c
2075
int error;
drivers/usb/musb/musb_core.c
2077
error = pm_runtime_resume_and_get(musb->controller);
drivers/usb/musb/musb_core.c
2078
if (error < 0) {
drivers/usb/musb/musb_core.c
2079
dev_err(musb->controller, "Could not enable: %i\n", error);
drivers/usb/musb/musb_core.c
2215
int error = 0;
drivers/usb/musb/musb_core.c
2220
error = w->callback(musb, w->data);
drivers/usb/musb/musb_core.c
2221
if (error < 0) {
drivers/usb/musb/musb_core.c
2224
w->callback, error);
drivers/usb/musb/musb_core.c
2232
return error;
drivers/usb/musb/musb_core.c
2251
int error;
drivers/usb/musb/musb_core.c
2262
error = -ENOMEM;
drivers/usb/musb/musb_core.c
2270
error = 0;
drivers/usb/musb/musb_core.c
2277
error = callback(musb, data);
drivers/usb/musb/musb_core.c
2279
return error;
drivers/usb/musb/musb_core.c
2848
int error;
drivers/usb/musb/musb_core.c
2880
error = musb_run_resume_work(musb);
drivers/usb/musb/musb_core.c
2881
if (error)
drivers/usb/musb/musb_core.c
2883
error);
drivers/usb/musb/musb_core.c
2905
int error;
drivers/usb/musb/musb_core.c
2922
error = musb_run_resume_work(musb);
drivers/usb/musb/musb_core.c
2923
if (error)
drivers/usb/musb/musb_core.c
2925
error);
drivers/usb/musb/musb_core.c
476
int error = 0;
drivers/usb/musb/musb_core.c
491
error = readx_poll_timeout(musb_read_devctl, musb, devctl,
drivers/usb/musb/musb_core.c
494
if (error) {
drivers/usb/musb/musb_core.c
498
return error;
drivers/usb/musb/musb_core.c
509
return error;
drivers/usb/musb/musb_core.c
523
int error = 0;
drivers/usb/musb/musb_core.c
538
error = readx_poll_timeout(musb_read_devctl, musb, devctl,
drivers/usb/musb/musb_core.c
541
if (error) {
drivers/usb/musb/musb_core.c
545
return error;
drivers/usb/musb/musb_core.c
556
return error;
drivers/usb/musb/musb_dsps.c
839
int error;
drivers/usb/musb/musb_dsps.c
850
error = devm_request_threaded_irq(glue->dev, glue->vbus_irq,
drivers/usb/musb/musb_dsps.c
854
if (error) {
drivers/usb/musb/musb_dsps.c
856
return error;
drivers/usb/musb/musb_virthub.c
293
goto error;
drivers/usb/musb/musb_virthub.c
298
goto error;
drivers/usb/musb/musb_virthub.c
317
goto error;
drivers/usb/musb/musb_virthub.c
347
goto error;
drivers/usb/musb/musb_virthub.c
358
goto error;
drivers/usb/musb/musb_virthub.c
383
goto error;
drivers/usb/musb/musb_virthub.c
417
goto error;
drivers/usb/musb/musb_virthub.c
422
goto error;
drivers/usb/musb/musb_virthub.c
429
error:
drivers/usb/musb/omap2430.c
107
error = musb_set_host(musb);
drivers/usb/musb/omap2430.c
108
if (error)
drivers/usb/musb/omap2430.c
94
int error;
drivers/usb/serial/ch341.c
398
goto error;
drivers/usb/serial/ch341.c
404
goto error;
drivers/usb/serial/ch341.c
408
error: kfree(priv);
drivers/usb/serial/f81534.c
1501
int error = 0;
drivers/usb/serial/f81534.c
1529
++error;
drivers/usb/serial/f81534.c
1533
if (error)
drivers/usb/serial/io_edgeport.c
2893
goto error;
drivers/usb/serial/io_edgeport.c
2904
goto error;
drivers/usb/serial/io_edgeport.c
2909
error:
drivers/usb/serial/ir-usb.c
143
goto error;
drivers/usb/serial/ir-usb.c
148
goto error;
drivers/usb/serial/ir-usb.c
154
error:
drivers/usb/serial/mct_u232.c
462
goto error;
drivers/usb/serial/mct_u232.c
471
goto error;
drivers/usb/serial/mct_u232.c
475
error:
drivers/usb/serial/mos7840.c
1576
goto error;
drivers/usb/serial/mos7840.c
1588
goto error;
drivers/usb/serial/mos7840.c
1599
goto error;
drivers/usb/serial/mos7840.c
1608
goto error;
drivers/usb/serial/mos7840.c
1617
goto error;
drivers/usb/serial/mos7840.c
1626
goto error;
drivers/usb/serial/mos7840.c
1634
goto error;
drivers/usb/serial/mos7840.c
1643
goto error;
drivers/usb/serial/mos7840.c
1657
goto error;
drivers/usb/serial/mos7840.c
1669
goto error;
drivers/usb/serial/mos7840.c
1683
goto error;
drivers/usb/serial/mos7840.c
1699
error:
drivers/usb/serial/opticon.c
245
goto error;
drivers/usb/serial/opticon.c
253
error:
drivers/usb/serial/sierra.c
494
goto error;
drivers/usb/serial/sierra.c
506
error:
drivers/usb/serial/usb-serial.c
105
error:
drivers/usb/serial/usb-serial.c
98
goto error;
drivers/usb/serial/whiteheat.h
227
__u8 error; /* line status (copy of uart's LSR register) */
drivers/usb/storage/alauda.c
582
goto error;
drivers/usb/storage/alauda.c
597
goto error;
drivers/usb/storage/alauda.c
681
error:
drivers/usb/storage/isd200.c
403
unsigned char error = info->ATARegs[ATA_REG_ERROR_OFFSET];
drivers/usb/storage/isd200.c
405
if(error & ATA_ERROR_MEDIA_CHANGE) {
drivers/usb/storage/isd200.c
411
} else if (error & ATA_MCR) {
drivers/usb/storage/isd200.c
417
} else if (error & ATA_TRK0NF) {
drivers/usb/storage/isd200.c
423
} else if (error & ATA_UNC) {
drivers/usb/storage/onetouch.c
171
int error = -ENOMEM;
drivers/usb/storage/onetouch.c
246
error = input_register_device(onetouch->dev);
drivers/usb/storage/onetouch.c
247
if (error)
drivers/usb/storage/onetouch.c
257
return error;
drivers/usb/typec/mode_selection.c
153
} else if (ms->error) {
drivers/usb/typec/mode_selection.c
155
ms->svid, ERR_PTR(ms->error));
drivers/usb/typec/mode_selection.c
168
ms->error = -ETIMEDOUT;
drivers/usb/typec/mode_selection.c
177
const int error)
drivers/usb/typec/mode_selection.c
186
ms->error = error;
drivers/usb/typec/mode_selection.c
190
if (!error)
drivers/usb/typec/mode_selection.c
25
int error;
drivers/usb/typec/ucsi/ucsi.c
155
u16 error;
drivers/usb/typec/ucsi/ucsi.c
160
ret = ucsi_run_command(ucsi, command, &cci, &error, sizeof(error), false);
drivers/usb/typec/ucsi/ucsi.c
164
switch (error) {
drivers/usb/typec/ucsi/ucsi.c
177
dev_err(ucsi->dev, "possible UCSI driver bug %u\n", error);
drivers/usb/typec/ucsi/ucsi.c
202
dev_err(ucsi->dev, "unknown error %u\n", error);
drivers/usb/usb-skeleton.c
400
goto error;
drivers/usb/usb-skeleton.c
406
goto error;
drivers/usb/usb-skeleton.c
413
goto error;
drivers/usb/usb-skeleton.c
418
goto error;
drivers/usb/usb-skeleton.c
426
goto error;
drivers/usb/usb-skeleton.c
457
error:
drivers/usb/usb-skeleton.c
517
goto error;
drivers/usb/usb-skeleton.c
525
goto error;
drivers/usb/usb-skeleton.c
530
goto error;
drivers/usb/usb-skeleton.c
545
goto error;
drivers/usb/usb-skeleton.c
554
error:
drivers/usb/usbip/usbip_common.c
791
goto error;
drivers/usb/usbip/usbip_common.c
807
goto error;
drivers/usb/usbip/usbip_common.c
817
goto error;
drivers/usb/usbip/usbip_common.c
821
goto error;
drivers/usb/usbip/usbip_common.c
826
error:
drivers/usb/usbip/vhci_hcd.c
373
goto error;
drivers/usb/usbip/vhci_hcd.c
380
goto error;
drivers/usb/usbip/vhci_hcd.c
402
goto error;
drivers/usb/usbip/vhci_hcd.c
414
goto error;
drivers/usb/usbip/vhci_hcd.c
423
goto error;
drivers/usb/usbip/vhci_hcd.c
426
goto error;
drivers/usb/usbip/vhci_hcd.c
440
goto error;
drivers/usb/usbip/vhci_hcd.c
512
goto error;
drivers/usb/usbip/vhci_hcd.c
530
goto error;
drivers/usb/usbip/vhci_hcd.c
540
goto error;
drivers/usb/usbip/vhci_hcd.c
545
goto error;
drivers/usb/usbip/vhci_hcd.c
555
goto error;
drivers/usb/usbip/vhci_hcd.c
567
goto error;
drivers/usb/usbip/vhci_hcd.c
573
goto error;
drivers/usb/usbip/vhci_hcd.c
581
goto error;
drivers/usb/usbip/vhci_hcd.c
604
goto error;
drivers/usb/usbip/vhci_hcd.c
607
goto error;
drivers/usb/usbip/vhci_hcd.c
625
goto error;
drivers/usb/usbip/vhci_hcd.c
635
goto error;
drivers/usb/usbip/vhci_hcd.c
642
error:
drivers/usb/usbip/vhci_rx.c
82
goto error;
drivers/usb/usbip/vhci_rx.c
88
goto error;
drivers/usb/usbip/vhci_rx.c
94
error:
drivers/vdpa/solidrun/snet_ctrl.c
43
u16 error:10;
drivers/vfio/pci/mlx5/cmd.c
397
goto error;
drivers/vfio/pci/mlx5/cmd.c
404
goto error;
drivers/vfio/pci/mlx5/cmd.c
411
goto error;
drivers/vfio/pci/mlx5/cmd.c
417
error:
drivers/video/backlight/adp5520_bl.c
73
int error;
drivers/video/backlight/adp5520_bl.c
76
error = adp5520_read(data->master, ADP5520_BL_VALUE, ®_val);
drivers/video/backlight/adp5520_bl.c
78
return error ? data->current_brightness : reg_val;
drivers/video/backlight/adp8860_bl.c
423
int error;
drivers/video/backlight/adp8860_bl.c
427
error = adp8860_read(data->client, reg, ®_val);
drivers/video/backlight/adp8860_bl.c
430
if (error < 0)
drivers/video/backlight/adp8860_bl.c
431
return error;
drivers/video/backlight/adp8860_bl.c
553
int error;
drivers/video/backlight/adp8860_bl.c
558
error = adp8860_read(data->client, ADP8860_PH1LEVL, ®_val);
drivers/video/backlight/adp8860_bl.c
559
if (!error) {
drivers/video/backlight/adp8860_bl.c
561
error = adp8860_read(data->client, ADP8860_PH1LEVH, ®_val);
drivers/video/backlight/adp8860_bl.c
565
if (error)
drivers/video/backlight/adp8860_bl.c
566
return error;
drivers/video/backlight/adp8860_bl.c
580
int error;
drivers/video/backlight/adp8860_bl.c
584
error = adp8860_read(data->client, ADP8860_CFGR, ®_val);
drivers/video/backlight/adp8860_bl.c
587
if (error < 0)
drivers/video/backlight/adp8860_bl.c
588
return error;
drivers/video/backlight/adp8870_bl.c
544
int error;
drivers/video/backlight/adp8870_bl.c
548
error = adp8870_read(data->client, reg, ®_val);
drivers/video/backlight/adp8870_bl.c
551
if (error < 0)
drivers/video/backlight/adp8870_bl.c
552
return error;
drivers/video/backlight/adp8870_bl.c
735
int error;
drivers/video/backlight/adp8870_bl.c
740
error = adp8870_read(data->client, ADP8870_PH1LEVL, ®_val);
drivers/video/backlight/adp8870_bl.c
741
if (error < 0) {
drivers/video/backlight/adp8870_bl.c
743
return error;
drivers/video/backlight/adp8870_bl.c
746
error = adp8870_read(data->client, ADP8870_PH1LEVH, ®_val);
drivers/video/backlight/adp8870_bl.c
749
if (error < 0)
drivers/video/backlight/adp8870_bl.c
750
return error;
drivers/video/backlight/adp8870_bl.c
764
int error;
drivers/video/backlight/adp8870_bl.c
768
error = adp8870_read(data->client, ADP8870_CFGR, ®_val);
drivers/video/backlight/adp8870_bl.c
771
if (error < 0)
drivers/video/backlight/adp8870_bl.c
772
return error;
drivers/video/fbdev/amifb.c
2397
int error;
drivers/video/fbdev/amifb.c
2403
error = ami_decode_var(&info->var, par, info);
drivers/video/fbdev/amifb.c
2404
if (error)
drivers/video/fbdev/amifb.c
2405
return error;
drivers/video/fbdev/atafb.c
2990
int pad, detected_mode, error;
drivers/video/fbdev/atafb.c
3024
error = request_irq(IRQ_AUTO_4, falcon_vbl_switcher, 0,
drivers/video/fbdev/atafb.c
3027
if (error)
drivers/video/fbdev/atafb.c
3028
return error;
drivers/video/fbdev/aty/aty128fb.c
1852
goto error;
drivers/video/fbdev/aty/aty128fb.c
1868
error:
drivers/video/fbdev/aty/atyfb_base.c
2266
goto error;
drivers/video/fbdev/aty/atyfb_base.c
2282
error:
drivers/video/fbdev/aty/radeon_backlight.c
142
goto error;
drivers/video/fbdev/aty/radeon_backlight.c
155
goto error;
drivers/video/fbdev/aty/radeon_backlight.c
189
error:
drivers/video/fbdev/cirrusfb.c
2201
int error;
drivers/video/fbdev/cirrusfb.c
2225
error = -ENODEV;
drivers/video/fbdev/cirrusfb.c
2249
error = -EBUSY;
drivers/video/fbdev/cirrusfb.c
2261
error = -EIO;
drivers/video/fbdev/cirrusfb.c
2271
error = -EIO;
drivers/video/fbdev/cirrusfb.c
2286
error = cirrusfb_register(info);
drivers/video/fbdev/cirrusfb.c
2287
if (error) {
drivers/video/fbdev/cirrusfb.c
2289
error);
drivers/video/fbdev/cirrusfb.c
2307
return error;
drivers/video/fbdev/cirrusfb.c
2359
int error = 0;
drivers/video/fbdev/cirrusfb.c
2375
error |= zorro_register_driver(&cirrusfb_zorro_driver);
drivers/video/fbdev/cirrusfb.c
2378
error |= pci_register_driver(&cirrusfb_pci_driver);
drivers/video/fbdev/cirrusfb.c
2380
return error;
drivers/video/fbdev/efifb.c
186
goto error;
drivers/video/fbdev/efifb.c
190
goto error;
drivers/video/fbdev/efifb.c
196
goto error;
drivers/video/fbdev/efifb.c
204
goto error;
drivers/video/fbdev/efifb.c
208
goto error;
drivers/video/fbdev/efifb.c
211
goto error;
drivers/video/fbdev/efifb.c
240
error:
drivers/video/fbdev/fsl-diu-fb.c
1708
goto error;
drivers/video/fbdev/fsl-diu-fb.c
1745
goto error;
drivers/video/fbdev/fsl-diu-fb.c
1754
goto error;
drivers/video/fbdev/fsl-diu-fb.c
1789
goto error;
drivers/video/fbdev/fsl-diu-fb.c
1797
goto error;
drivers/video/fbdev/fsl-diu-fb.c
1815
error:
drivers/video/fbdev/gbefb.c
458
int pll_m, pll_n, pll_p, error, best_m, best_n, best_p, best_error;
drivers/video/fbdev/gbefb.c
480
error = var->pixclock - pixclock;
drivers/video/fbdev/gbefb.c
482
if (error < 0)
drivers/video/fbdev/gbefb.c
483
error = -error;
drivers/video/fbdev/gbefb.c
485
if (error < best_error &&
drivers/video/fbdev/gbefb.c
490
best_error = error;
drivers/video/fbdev/hgafb.c
308
goto error;
drivers/video/fbdev/hgafb.c
315
goto error;
drivers/video/fbdev/hgafb.c
318
goto error;
drivers/video/fbdev/hgafb.c
333
goto error;
drivers/video/fbdev/hgafb.c
350
error:
drivers/video/fbdev/nvidia/nv_backlight.c
106
goto error;
drivers/video/fbdev/nvidia/nv_backlight.c
120
error:
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2245
int error;
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2258
error = (in_width > maxsinglelinewidth || !*core_clk ||
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2260
if (error) {
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2270
} while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error);
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2272
if (error) {
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2291
int error;
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2315
error = check_horiz_timing_omap3(pclk, lclk, mgr_timings,
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2318
if (error && *five_taps) {
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2323
error = (error || in_width > maxsinglelinewidth * 2 ||
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2327
if (!error) {
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2330
error = 1;
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2334
error = 1;
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2337
error = 1;
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2341
if (error)
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2343
} while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error);
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
2345
if (error) {
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
3992
static void dsi_handle_framedone(struct platform_device *dsidev, int error)
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
4004
dsi->framedone_callback(error, dsi->framedone_data);
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
4006
if (!error)
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
1114
goto error;
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
1123
error:
drivers/video/fbdev/ps3fb.c
483
int error = 0;
drivers/video/fbdev/ps3fb.c
489
error = -EINVAL;
drivers/video/fbdev/ps3fb.c
502
return error;
drivers/video/fbdev/riva/fbdev.c
341
goto error;
drivers/video/fbdev/riva/fbdev.c
357
error:
drivers/video/fbdev/sh_mobile_lcdcfb.c
2500
int error;
drivers/video/fbdev/sh_mobile_lcdcfb.c
2525
error = request_irq(irq, sh_mobile_lcdc_irq, 0,
drivers/video/fbdev/sh_mobile_lcdcfb.c
2527
if (error) {
drivers/video/fbdev/sh_mobile_lcdcfb.c
2541
error = sh_mobile_lcdc_check_interface(ch);
drivers/video/fbdev/sh_mobile_lcdcfb.c
2542
if (error) {
drivers/video/fbdev/sh_mobile_lcdcfb.c
2569
error = -EINVAL;
drivers/video/fbdev/sh_mobile_lcdcfb.c
2579
error = -ENOMEM;
drivers/video/fbdev/sh_mobile_lcdcfb.c
2583
error = sh_mobile_lcdc_setup_clocks(priv, pdata->clock_source);
drivers/video/fbdev/sh_mobile_lcdcfb.c
2584
if (error) {
drivers/video/fbdev/sh_mobile_lcdcfb.c
2595
error = sh_mobile_lcdc_channel_init(ch);
drivers/video/fbdev/sh_mobile_lcdcfb.c
2596
if (error)
drivers/video/fbdev/sh_mobile_lcdcfb.c
2606
error = sh_mobile_lcdc_overlay_init(ovl);
drivers/video/fbdev/sh_mobile_lcdcfb.c
2607
if (error)
drivers/video/fbdev/sh_mobile_lcdcfb.c
2611
error = sh_mobile_lcdc_start(priv);
drivers/video/fbdev/sh_mobile_lcdcfb.c
2612
if (error) {
drivers/video/fbdev/sh_mobile_lcdcfb.c
2620
error = sh_mobile_lcdc_channel_fb_register(ch);
drivers/video/fbdev/sh_mobile_lcdcfb.c
2621
if (error)
drivers/video/fbdev/sh_mobile_lcdcfb.c
2628
error = sh_mobile_lcdc_overlay_fb_register(ovl);
drivers/video/fbdev/sh_mobile_lcdcfb.c
2629
if (error)
drivers/video/fbdev/sh_mobile_lcdcfb.c
2637
return error;
drivers/video/fbdev/smscufx.c
1470
goto error;
drivers/video/fbdev/smscufx.c
1574
error:
drivers/video/fbdev/smscufx.c
1716
error:
drivers/video/fbdev/smscufx.c
1910
goto error;
drivers/video/fbdev/smscufx.c
1925
error:
drivers/video/fbdev/smscufx.c
41
({ if (status < 0) { pr_warn(fmt, ##args); goto error; } })
drivers/video/fbdev/smscufx.c
579
int error = abs(pllout_freq1 - clk_pixel_pll);
drivers/video/fbdev/smscufx.c
587
if (error < min_error) {
drivers/video/fbdev/smscufx.c
588
min_error = error;
drivers/video/fbdev/tdfxfb.c
313
int error = abs(f - freq);
drivers/video/fbdev/tdfxfb.c
319
if (error < best_error) {
drivers/video/fbdev/tdfxfb.c
320
best_error = error;
drivers/video/fbdev/udlfb.c
1261
goto error;
drivers/video/fbdev/udlfb.c
1375
error:
drivers/video/fbdev/udlfb.c
1623
goto error;
drivers/video/fbdev/udlfb.c
1636
goto error;
drivers/video/fbdev/udlfb.c
1651
goto error;
drivers/video/fbdev/udlfb.c
1670
goto error;
drivers/video/fbdev/udlfb.c
1678
goto error;
drivers/video/fbdev/udlfb.c
1685
goto error;
drivers/video/fbdev/udlfb.c
1696
goto error;
drivers/video/fbdev/udlfb.c
1702
goto error;
drivers/video/fbdev/udlfb.c
1726
error:
drivers/video/fbdev/udlfb.c
646
goto error;
drivers/video/fbdev/udlfb.c
660
error:
drivers/video/fbdev/udlfb.c
758
goto error;
drivers/video/fbdev/udlfb.c
773
error:
drivers/video/fbdev/xen-fbfront.c
442
goto error;
drivers/video/fbdev/xen-fbfront.c
475
error:
drivers/virtio/virtio_pci_common.c
139
goto error;
drivers/virtio/virtio_pci_common.c
143
goto error;
drivers/virtio/virtio_pci_common.c
147
goto error;
drivers/virtio/virtio_pci_common.c
160
goto error;
drivers/virtio/virtio_pci_common.c
171
goto error;
drivers/virtio/virtio_pci_common.c
178
goto error;
drivers/virtio/virtio_pci_common.c
190
goto error;
drivers/virtio/virtio_pci_common.c
194
error:
drivers/w1/slaves/w1_ds2408.c
225
goto error;
drivers/w1/slaves/w1_ds2408.c
234
goto error;
drivers/w1/slaves/w1_ds2408.c
237
error:
drivers/w1/slaves/w1_ds2408.c
256
goto error;
drivers/w1/slaves/w1_ds2408.c
266
goto error;
drivers/w1/slaves/w1_ds2408.c
279
error:
drivers/w1/slaves/w1_ds28e17.c
154
int error;
drivers/w1/slaves/w1_ds28e17.c
180
error = w1_f19_error(sl, w1_buf);
drivers/w1/slaves/w1_ds28e17.c
181
if (error < 0)
drivers/w1/slaves/w1_ds28e17.c
182
return error;
drivers/w1/slaves/w1_ds28e17.c
266
int error;
drivers/w1/slaves/w1_ds28e17.c
291
error = w1_f19_error(sl, w1_buf);
drivers/w1/slaves/w1_ds28e17.c
292
if (error < 0)
drivers/w1/slaves/w1_ds28e17.c
293
return error;
drivers/w1/slaves/w1_ds28e17.c
305
int error;
drivers/w1/slaves/w1_ds28e17.c
336
error = w1_f19_error(sl, w1_buf);
drivers/w1/slaves/w1_ds28e17.c
337
if (error < 0)
drivers/w1/slaves/w1_ds28e17.c
338
return error;
drivers/w1/slaves/w1_ds28e17.c
359
goto error;
drivers/w1/slaves/w1_ds28e17.c
382
goto error;
drivers/w1/slaves/w1_ds28e17.c
396
goto error;
drivers/w1/slaves/w1_ds28e17.c
408
goto error;
drivers/w1/slaves/w1_ds28e17.c
424
goto error;
drivers/w1/slaves/w1_ds28e17.c
440
goto error;
drivers/w1/slaves/w1_ds28e17.c
452
goto error;
drivers/w1/slaves/w1_ds28e17.c
457
error:
drivers/w1/slaves/w1_ds28e17.c
510
goto error;
drivers/w1/slaves/w1_ds28e17.c
517
goto error;
drivers/w1/slaves/w1_ds28e17.c
523
error:
drivers/w1/slaves/w1_ds28e17.c
593
int error;
drivers/w1/slaves/w1_ds28e17.c
606
error = w1_f19_set_i2c_speed(sl, 0);
drivers/w1/slaves/w1_ds28e17.c
609
error = w1_f19_set_i2c_speed(sl, 1);
drivers/w1/slaves/w1_ds28e17.c
612
error = w1_f19_set_i2c_speed(sl, 2);
drivers/w1/slaves/w1_ds28e17.c
618
if (error < 0)
drivers/w1/slaves/w1_ds28e17.c
619
return error;
drivers/w1/slaves/w1_therm.c
1111
goto error;
drivers/w1/slaves/w1_therm.c
1197
error:
drivers/w1/slaves/w1_therm.c
1211
goto error;
drivers/w1/slaves/w1_therm.c
1267
error:
drivers/w1/slaves/w1_therm.c
1280
goto error;
drivers/w1/slaves/w1_therm.c
1321
error:
drivers/w1/slaves/w1_therm.c
1332
goto error;
drivers/w1/slaves/w1_therm.c
1354
error:
drivers/w1/slaves/w1_therm.c
1366
goto error;
drivers/w1/slaves/w1_therm.c
1408
error:
drivers/w1/slaves/w1_therm.c
1419
goto error;
drivers/w1/slaves/w1_therm.c
1443
error:
drivers/w1/slaves/w1_therm.c
1454
goto error;
drivers/w1/slaves/w1_therm.c
1481
error:
drivers/w1/slaves/w1_therm.c
1500
goto error;
drivers/w1/slaves/w1_therm.c
1517
goto error;
drivers/w1/slaves/w1_therm.c
1521
goto error;
drivers/w1/slaves/w1_therm.c
1571
error:
drivers/w1/slaves/w1_therm.c
2097
goto error;
drivers/w1/slaves/w1_therm.c
2107
goto error;
drivers/w1/slaves/w1_therm.c
2112
goto error;
drivers/w1/slaves/w1_therm.c
2123
goto error;
drivers/w1/slaves/w1_therm.c
2135
goto error;
drivers/w1/slaves/w1_therm.c
2140
goto error;
drivers/w1/slaves/w1_therm.c
2149
goto error;
drivers/w1/slaves/w1_therm.c
2154
error:
drivers/w1/w1_netlink.c
164
int error)
drivers/w1/w1_netlink.c
173
block->msg->status = (u8)-error;
drivers/w1/w1_netlink.c
195
int portid, int error)
drivers/w1/w1_netlink.c
205
pkt_msg->status = (u8)-error;
drivers/watchdog/hpwdt.c
248
goto error;
drivers/watchdog/hpwdt.c
265
error:
drivers/watchdog/pcwd_usb.c
646
goto error;
drivers/watchdog/pcwd_usb.c
662
goto error;
drivers/watchdog/pcwd_usb.c
668
goto error;
drivers/watchdog/pcwd_usb.c
681
goto error;
drivers/watchdog/pcwd_usb.c
724
goto error;
drivers/watchdog/pcwd_usb.c
753
error:
drivers/watchdog/wafer5823wdt.c
268
goto error;
drivers/watchdog/wafer5823wdt.c
302
error:
drivers/xen/events/events_fifo.c
161
goto error;
drivers/xen/events/events_fifo.c
173
goto error;
drivers/xen/events/events_fifo.c
179
error:
drivers/xen/events/events_fifo.c
382
goto error;
drivers/xen/events/events_fifo.c
386
goto error;
drivers/xen/events/events_fifo.c
392
error:
drivers/xen/privcmd.c
896
bool error;
drivers/xen/privcmd.c
938
if (rc && !kirqfd->error) {
drivers/xen/privcmd.c
943
kirqfd->error = rc;
drivers/xen/pvcalls-back.c
107
error = intf->in_error;
drivers/xen/pvcalls-back.c
111
if (error)
drivers/xen/pvcalls-back.c
948
goto error;
drivers/xen/pvcalls-back.c
956
goto error;
drivers/xen/pvcalls-back.c
961
goto error;
drivers/xen/pvcalls-back.c
967
goto error;
drivers/xen/pvcalls-back.c
972
goto error;
drivers/xen/pvcalls-back.c
98
int32_t error;
drivers/xen/pvcalls-back.c
988
error:
drivers/xen/pvcalls-front.c
1200
goto error;
drivers/xen/pvcalls-front.c
1206
goto error;
drivers/xen/pvcalls-front.c
1213
goto error;
drivers/xen/pvcalls-front.c
1218
goto error;
drivers/xen/pvcalls-front.c
1221
goto error;
drivers/xen/pvcalls-front.c
1230
goto error;
drivers/xen/pvcalls-front.c
1247
goto error;
drivers/xen/pvcalls-front.c
1256
error:
drivers/xen/pvcalls-front.c
138
int32_t error;
drivers/xen/pvcalls-front.c
140
error = intf->out_error;
drivers/xen/pvcalls-front.c
141
if (error == -ENOTCONN)
drivers/xen/pvcalls-front.c
143
if (error != 0)
drivers/xen/pvcalls-front.c
155
int32_t error;
drivers/xen/pvcalls-front.c
159
error = intf->in_error;
drivers/xen/pvcalls-front.c
160
return (error != 0 ||
drivers/xen/pvcalls-front.c
499
int32_t error;
drivers/xen/pvcalls-front.c
501
error = intf->out_error;
drivers/xen/pvcalls-front.c
502
if (error < 0)
drivers/xen/pvcalls-front.c
503
return error;
drivers/xen/pvcalls-front.c
595
int32_t error;
drivers/xen/pvcalls-front.c
599
error = intf->in_error;
drivers/xen/pvcalls-front.c
608
return error ?: size;
drivers/xen/xen-balloon.c
247
int error;
drivers/xen/xen-balloon.c
249
error = subsys_system_register(&balloon_subsys, NULL);
drivers/xen/xen-balloon.c
250
if (error)
drivers/xen/xen-balloon.c
251
return error;
drivers/xen/xen-balloon.c
257
error = device_register(dev);
drivers/xen/xen-balloon.c
258
if (error) {
drivers/xen/xen-balloon.c
260
return error;
drivers/xen/xen-pciback/pci_stub.c
928
pci_channel_state_t error)
drivers/xen/xen-pciback/pci_stub.c
962
result = common_process(psdev, error, XEN_PCI_OP_aer_detected, result);
drivers/xen/xen-scsiback.c
931
char *error = "doesn't exist";
drivers/xen/xen-scsiback.c
954
error = "nexus undefined";
drivers/xen/xen-scsiback.c
972
pr_err("%s:%llu %s\n", phy, unpacked_lun, error);
drivers/zorro/zorro-driver.c
46
int error = 0;
drivers/zorro/zorro-driver.c
55
error = drv->probe(z, id);
drivers/zorro/zorro-driver.c
56
if (error >= 0)
drivers/zorro/zorro-driver.c
57
error = 0;
drivers/zorro/zorro-driver.c
59
return error;
drivers/zorro/zorro.c
135
int error;
drivers/zorro/zorro.c
145
error = device_register(&bus->dev);
drivers/zorro/zorro.c
146
if (error) {
drivers/zorro/zorro.c
150
return error;
drivers/zorro/zorro.c
177
error = request_resource(r, &z->resource);
drivers/zorro/zorro.c
178
if (error && !(z->rom.er_Type & ERTF_MEMLIST))
drivers/zorro/zorro.c
201
error = device_register(&z->dev);
drivers/zorro/zorro.c
202
if (error) {
fs/9p/vfs_addr.c
90
subreq->error = err;
fs/9p/vfs_inode.c
283
goto error;
fs/9p/vfs_inode.c
302
goto error;
fs/9p/vfs_inode.c
330
goto error;
fs/9p/vfs_inode.c
332
error:
fs/9p/vfs_inode.c
436
goto error;
fs/9p/vfs_inode.c
443
error:
fs/9p/vfs_inode.c
591
goto error;
fs/9p/vfs_inode.c
597
goto error;
fs/9p/vfs_inode.c
607
goto error;
fs/9p/vfs_inode.c
617
goto error;
fs/9p/vfs_inode.c
624
error:
fs/9p/vfs_inode.c
887
goto error;
fs/9p/vfs_inode.c
897
goto error;
fs/9p/vfs_inode.c
946
error:
fs/9p/vfs_inode_dotl.c
126
goto error;
fs/9p/vfs_inode_dotl.c
133
goto error;
fs/9p/vfs_inode_dotl.c
137
error:
fs/9p/vfs_inode_dotl.c
373
goto error;
fs/9p/vfs_inode_dotl.c
383
goto error;
fs/9p/vfs_inode_dotl.c
388
goto error;
fs/9p/vfs_inode_dotl.c
394
goto error;
fs/9p/vfs_inode_dotl.c
403
goto error;
fs/9p/vfs_inode_dotl.c
411
error:
fs/9p/vfs_inode_dotl.c
710
goto error;
fs/9p/vfs_inode_dotl.c
715
error:
fs/9p/vfs_inode_dotl.c
810
goto error;
fs/9p/vfs_inode_dotl.c
820
goto error;
fs/9p/vfs_inode_dotl.c
826
goto error;
fs/9p/vfs_inode_dotl.c
834
goto error;
fs/9p/vfs_inode_dotl.c
841
goto error;
fs/9p/vfs_inode_dotl.c
847
error:
fs/9p/vfs_super.c
321
goto error;
fs/9p/vfs_super.c
325
goto error;
fs/9p/vfs_super.c
352
error:
fs/adfs/dir.c
126
goto error;
fs/adfs/dir.c
134
goto error;
fs/adfs/dir.c
141
error:
fs/adfs/dir.c
435
int error;
fs/adfs/dir.c
437
error = adfs_dir_lookup_byname(dir, &dentry->d_name, &obj);
fs/adfs/dir.c
438
if (error == 0) {
fs/adfs/dir.c
446
} else if (error != -ENOENT) {
fs/adfs/dir.c
447
inode = ERR_PTR(error);
fs/adfs/inode.c
308
int error;
fs/adfs/inode.c
310
error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
fs/adfs/inode.c
318
error = -EPERM;
fs/adfs/inode.c
320
if (error)
fs/adfs/inode.c
353
return error;
fs/adfs/map.c
102
error:
fs/adfs/map.c
145
goto error;
fs/adfs/map.c
154
error:
fs/adfs/map.c
86
goto error;
fs/adfs/super.c
365
goto error;
fs/adfs/super.c
407
goto error;
fs/adfs/super.c
411
error:
fs/affs/dir.c
128
error = -EIO;
fs/affs/dir.c
177
return error;
fs/affs/dir.c
91
int error = 0;
fs/affs/inode.c
220
int error;
fs/affs/inode.c
224
error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
fs/affs/inode.c
225
if (error)
fs/affs/inode.c
236
error = -EPERM;
fs/affs/inode.c
242
error = inode_newsize_ok(inode, attr->ia_size);
fs/affs/inode.c
243
if (error)
fs/affs/inode.c
244
return error;
fs/affs/inode.c
256
return error;
fs/affs/namei.c
250
int error;
fs/affs/namei.c
267
error = affs_add_entry(dir, inode, dentry, ST_FILE);
fs/affs/namei.c
268
if (error) {
fs/affs/namei.c
271
return error;
fs/affs/namei.c
281
int error;
fs/affs/namei.c
296
error = affs_add_entry(dir, inode, dentry, ST_USERDIR);
fs/affs/namei.c
297
if (error) {
fs/affs/namei.c
301
return ERR_PTR(error);
fs/affs/namei.c
323
int i, maxlen, error;
fs/affs/namei.c
340
error = -EIO;
fs/affs/namei.c
380
error = affs_add_entry(dir, inode, dentry, ST_SOFTLINK);
fs/affs/namei.c
381
if (error)
fs/affs/namei.c
390
return error;
fs/afs/addr_list.c
151
goto error;
fs/afs/addr_list.c
224
goto error;
fs/afs/addr_list.c
240
error:
fs/afs/cell.c
197
goto error;
fs/afs/cell.c
212
goto error;
fs/afs/cell.c
224
error:
fs/afs/cell.c
339
_debug("waited_for_cell %d %d", cell->state, cell->error);
fs/afs/cell.c
346
ret = cell->error;
fs/afs/cell.c
347
goto error;
fs/afs/cell.c
359
goto error;
fs/afs/cell.c
366
goto error;
fs/afs/cell.c
369
goto error;
fs/afs/cell.c
374
goto error;
fs/afs/cell.c
396
error:
fs/afs/cell.c
821
cell->error = ret;
fs/afs/cell.c
834
cell->error = ret;
fs/afs/cmservice.c
153
static void afs_abort_service_call(struct afs_call *call, u32 abort_code, int error,
fs/afs/cmservice.c
157
abort_code, error, why);
fs/afs/cmservice.c
158
afs_set_call_complete(call, error, 0);
fs/afs/dir.c
1437
goto error;
fs/afs/dir.c
1443
goto error;
fs/afs/dir.c
1456
error:
fs/afs/dir.c
1583
goto error;
fs/afs/dir.c
1592
goto error;
fs/afs/dir.c
1620
error:
fs/afs/dir.c
1649
goto error;
fs/afs/dir.c
1654
goto error;
fs/afs/dir.c
1673
error:
fs/afs/dir.c
1728
goto error;
fs/afs/dir.c
1733
goto error;
fs/afs/dir.c
1760
error:
fs/afs/dir.c
1791
goto error;
fs/afs/dir.c
1795
goto error;
fs/afs/dir.c
1800
goto error;
fs/afs/dir.c
1817
error:
fs/afs/dir.c
2094
goto error;
fs/afs/dir.c
2099
goto error;
fs/afs/dir.c
2151
goto error;
fs/afs/dir.c
2159
goto error;
fs/afs/dir.c
2189
error:
fs/afs/dir.c
321
goto error;
fs/afs/dir.c
334
goto error;
fs/afs/dir.c
360
error:
fs/afs/dir.c
455
int error;
fs/afs/dir.c
511
if (ctx.error == -ESTALE)
fs/afs/dir.c
513
return ctx.error;
fs/afs/dir_edit.c
289
goto error;
fs/afs/dir_edit.c
381
error:
fs/afs/dir_edit.c
438
goto error;
fs/afs/dir_edit.c
474
goto error;
fs/afs/dir_edit.c
484
goto error;
fs/afs/dir_edit.c
493
goto error;
fs/afs/dir_edit.c
518
error:
fs/afs/dir_edit.c
554
goto error;
fs/afs/dir_edit.c
595
error:
fs/afs/dir_silly.c
230
if (op->cumul_error.error == 0 && (op->flags & AFS_OPERATION_DIR_CONFLICT)) {
fs/afs/file.c
130
goto error;
fs/afs/file.c
163
error:
fs/afs/file.c
207
subreq->error = afs_op_error(op);
fs/afs/file.c
290
afs_set_call_complete(call, call->error, call->abort_code);
fs/afs/file.c
294
op->call_error = call->error;
fs/afs/file.c
347
subreq->error = PTR_ERR(op);
fs/afs/file.c
364
subreq->error = afs_put_operation(op);
fs/afs/flock.c
111
static void afs_next_locker(struct afs_vnode *vnode, int error)
fs/afs/flock.c
123
if (error &&
fs/afs/flock.c
127
p->fl_u.afs.state = error;
fs/afs/flock.c
16
static void afs_next_locker(struct afs_vnode *vnode, int error);
fs/afs/flock.c
677
goto error;
fs/afs/flock.c
686
goto error;
fs/afs/flock.c
693
error:
fs/afs/flock.c
741
goto error;
fs/afs/flock.c
756
error:
fs/afs/flock.c
76
if (call->error == 0) {
fs/afs/fs_operation.c
297
op->call_error = op->call->error;
fs/afs/fs_probe.c
125
if (estate->error == 0)
fs/afs/fs_probe.c
126
estate->error = -ENOMEM;
fs/afs/fs_probe.c
146
int ret = call->error;
fs/afs/fs_probe.c
156
estate->error = 0;
fs/afs/fs_probe.c
161
estate->error = ret;
fs/afs/fs_probe.c
183
(estate->error == 0 ||
fs/afs/fs_probe.c
184
estate->error == -ETIMEDOUT ||
fs/afs/fs_probe.c
185
estate->error == -ETIME))
fs/afs/fs_probe.c
186
estate->error = ret;
fs/afs/fs_probe.c
225
trace_afs_fs_probe(server, false, estate, index, call->error, call->abort_code, rtt_us);
fs/afs/fsclient.c
1659
ret = call->error;
fs/afs/fsclient.c
1919
if (call->error == -ECONNABORTED &&
fs/afs/inode.c
651
goto error;
fs/afs/inode.c
660
goto error;
fs/afs/inode.c
669
error:
fs/afs/internal.h
1316
op->cumul_error.error = -ENOMEM;
fs/afs/internal.h
1321
return op->cumul_error.error;
fs/afs/internal.h
1329
static inline int afs_op_set_error(struct afs_operation *op, int error)
fs/afs/internal.h
1331
return op->cumul_error.error = error;
fs/afs/internal.h
1334
static inline void afs_op_accumulate_error(struct afs_operation *op, int error, s32 abort_code)
fs/afs/internal.h
1336
afs_prioritise_error(&op->cumul_error, error, abort_code);
fs/afs/internal.h
1492
int error, u32 remote_abort)
fs/afs/internal.h
1501
call->error = error;
fs/afs/internal.h
1504
error, remote_abort);
fs/afs/internal.h
165
int error; /* error code */
fs/afs/internal.h
1757
if (!op->cumul_error.error)
fs/afs/internal.h
393
short error;
fs/afs/internal.h
442
short error;
fs/afs/internal.h
501
short error;
fs/afs/internal.h
524
short error;
fs/afs/internal.h
785
short error; /* Cumulative error */
fs/afs/misc.c
143
void afs_prioritise_error(struct afs_error *e, int error, u32 abort_code)
fs/afs/misc.c
145
switch (error) {
fs/afs/misc.c
148
e->error = 0;
fs/afs/misc.c
151
if (e->error == -ETIMEDOUT ||
fs/afs/misc.c
152
e->error == -ETIME)
fs/afs/misc.c
157
if (e->error == -ENOMEM ||
fs/afs/misc.c
158
e->error == -ENONET)
fs/afs/misc.c
163
if (e->error == -ERFKILL)
fs/afs/misc.c
167
if (e->error == -EADDRNOTAVAIL)
fs/afs/misc.c
171
if (e->error == -ENETUNREACH)
fs/afs/misc.c
175
if (e->error == -EHOSTUNREACH)
fs/afs/misc.c
179
if (e->error == -EHOSTDOWN)
fs/afs/misc.c
183
if (e->error == -ECONNREFUSED)
fs/afs/misc.c
187
if (e->error == -ECONNRESET)
fs/afs/misc.c
193
e->error = error;
fs/afs/misc.c
198
e->error = afs_abort_to_error(abort_code);
fs/afs/misc.c
205
e->error = error;
fs/afs/proc.c
372
vlserver->probe.flags, vlserver->probe.error,
fs/afs/proc.c
588
goto error;
fs/afs/proc.c
638
error:
fs/afs/rotate.c
160
int error = op->call_error, addr_index, i, j;
fs/afs/rotate.c
168
error, abort_code);
fs/afs/rotate.c
179
WRITE_ONCE(op->estate->addresses->addrs[op->addr_index].last_error, error);
fs/afs/rotate.c
197
error = afs_update_volume_state(op);
fs/afs/rotate.c
198
if (error != 0) {
fs/afs/rotate.c
199
if (error == 1) {
fs/afs/rotate.c
203
afs_op_set_error(op, error);
fs/afs/rotate.c
209
afs_op_set_error(op, error);
fs/afs/rotate.c
211
trace_afs_rotate(op, afs_rotate_trace_stop, error);
fs/afs/rotate.c
212
_leave(" = f [okay/local %d]", error);
fs/afs/rotate.c
248
error = afs_check_volume_status(op->volume, op);
fs/afs/rotate.c
249
if (error < 0) {
fs/afs/rotate.c
250
afs_op_set_error(op, error);
fs/afs/rotate.c
388
error = afs_check_volume_status(op->volume, op);
fs/afs/rotate.c
389
if (error < 0) {
fs/afs/rotate.c
390
afs_op_set_error(op, error);
fs/afs/rotate.c
446
afs_op_accumulate_error(op, error, abort_code);
fs/afs/rotate.c
467
afs_op_accumulate_error(op, error, 0);
fs/afs/rotate.c
476
afs_op_set_error(op, error);
fs/afs/rotate.c
495
error = afs_check_volume_status(op->volume, op);
fs/afs/rotate.c
496
trace_afs_rotate(op, afs_rotate_trace_check_vol_status, error);
fs/afs/rotate.c
497
if (error < 0) {
fs/afs/rotate.c
498
afs_op_set_error(op, error);
fs/afs/rotate.c
511
error = afs_wait_for_fs_probes(op, op->server_states,
fs/afs/rotate.c
513
switch (error) {
fs/afs/rotate.c
524
trace_afs_rotate(op, afs_rotate_trace_probe_error, error);
fs/afs/rotate.c
525
afs_op_set_error(op, error);
fs/afs/rotate.c
644
error = afs_wait_for_one_fs_probe(op->server, op->estate, op->addr_tried,
fs/afs/rotate.c
646
if (error == 1)
fs/afs/rotate.c
648
if (!error)
fs/afs/rotate.c
657
error = afs_wait_for_one_fs_probe(op->server, op->estate, op->addr_tried,
fs/afs/rotate.c
659
switch (error) {
fs/afs/rotate.c
668
afs_op_set_error(op, error);
fs/afs/rotate.c
698
error = READ_ONCE(estate->error);
fs/afs/rotate.c
699
if (error < 0)
fs/afs/rotate.c
700
afs_op_accumulate_error(op, error, estate->abort_code);
fs/afs/rotate.c
729
op->file[1].cb_break_before, op->flags, op->cumul_error.error);
fs/afs/rxrpc.c
389
call->error = ret;
fs/afs/rxrpc.c
455
call->error = ret;
fs/afs/rxrpc.c
475
call->error = ret;
fs/afs/rxrpc.c
663
afs_set_call_complete(call, call->error, call->abort_code);
fs/afs/rxrpc.c
954
kdebug("prem complete %d", call->error);
fs/afs/security.c
450
goto error;
fs/afs/security.c
460
goto error;
fs/afs/security.c
465
goto error;
fs/afs/security.c
507
error:
fs/afs/server_list.c
126
error:
fs/afs/server_list.c
56
goto error;
fs/afs/super.c
483
goto error;
fs/afs/super.c
495
error:
fs/afs/super.c
557
goto error;
fs/afs/super.c
565
goto error;
fs/afs/super.c
574
goto error;
fs/afs/super.c
596
error:
fs/afs/validation.c
408
goto error;
fs/afs/validation.c
481
error:
fs/afs/vl_list.c
113
goto error;
fs/afs/vl_list.c
118
goto error;
fs/afs/vl_list.c
125
goto error;
fs/afs/vl_list.c
130
goto error;
fs/afs/vl_list.c
138
goto error;
fs/afs/vl_list.c
149
error:
fs/afs/vl_list.c
223
goto error;
fs/afs/vl_list.c
250
goto error;
fs/afs/vl_list.c
318
goto error;
fs/afs/vl_list.c
327
error:
fs/afs/vl_probe.c
134
trace_afs_vl_probe(server, false, alist, index, call->error, call->abort_code, rtt_us);
fs/afs/vl_probe.c
188
afs_prioritise_error(_e, call->error, call->abort_code);
fs/afs/vl_probe.c
222
return in_progress ? 0 : e.error;
fs/afs/vl_probe.c
56
int ret = call->error;
fs/afs/vl_probe.c
64
server->probe.error = 0;
fs/afs/vl_probe.c
69
server->probe.error = ret;
fs/afs/vl_probe.c
78
if (server->probe.error == 0)
fs/afs/vl_probe.c
79
server->probe.error = ret;
fs/afs/vl_probe.c
95
(server->probe.error == 0 ||
fs/afs/vl_probe.c
96
server->probe.error == -ETIMEDOUT ||
fs/afs/vl_probe.c
97
server->probe.error == -ETIME))
fs/afs/vl_probe.c
98
server->probe.error = ret;
fs/afs/vl_rotate.c
100
int error = vc->call_error, i;
fs/afs/vl_rotate.c
107
error, abort_code);
fs/afs/vl_rotate.c
117
WRITE_ONCE(alist->addrs[vc->addr_index].last_error, error);
fs/afs/vl_rotate.c
120
switch (error) {
fs/afs/vl_rotate.c
124
vc->cumul_error.error = error;
fs/afs/vl_rotate.c
126
_leave(" = f [okay/local %d]", vc->cumul_error.error);
fs/afs/vl_rotate.c
145
afs_prioritise_error(&vc->cumul_error, error, abort_code);
fs/afs/vl_rotate.c
157
_debug("no conn %d", error);
fs/afs/vl_rotate.c
158
afs_prioritise_error(&vc->cumul_error, error, 0);
fs/afs/vl_rotate.c
163
afs_prioritise_error(&vc->cumul_error, error, 0);
fs/afs/vl_rotate.c
193
error = afs_send_vl_probes(vc->cell->net, vc->key, vc->server_list);
fs/afs/vl_rotate.c
194
if (error < 0) {
fs/afs/vl_rotate.c
195
afs_prioritise_error(&vc->cumul_error, error, 0);
fs/afs/vl_rotate.c
203
error = afs_wait_for_vl_probes(vc->server_list, vc->untried_servers);
fs/afs/vl_rotate.c
204
if (error < 0) {
fs/afs/vl_rotate.c
205
afs_prioritise_error(&vc->cumul_error, error, 0);
fs/afs/vl_rotate.c
25
vc->cumul_error.error = -EDESTADDRREQ;
fs/afs/vl_rotate.c
29
vc->cumul_error.error = -EINTR;
fs/afs/vl_rotate.c
303
afs_prioritise_error(&vc->cumul_error, READ_ONCE(s->probe.error),
fs/afs/vl_rotate.c
317
_leave(" = f [failed %d]", vc->cumul_error.error);
fs/afs/vl_rotate.c
336
pr_notice("CELL: %s err=%d\n", cell->name, cell->error);
fs/afs/vl_rotate.c
341
vc->flags, vc->cumul_error.error);
fs/afs/vl_rotate.c
352
s->name, s->port, s->flags, s->probe.error);
fs/afs/vl_rotate.c
380
switch (vc->cumul_error.error) {
fs/afs/vl_rotate.c
398
return vc->cumul_error.error;
fs/afs/vl_rotate.c
58
vc->cumul_error.error = -ERESTARTSYS;
fs/afs/vl_rotate.c
66
vc->cumul_error.error = -ENOENT;
fs/afs/vl_rotate.c
71
vc->cumul_error.error = -EDESTADDRREQ;
fs/afs/vlclient.c
154
vc->call_error = call->error;
fs/afs/vlclient.c
303
vc->call_error = call->error;
fs/afs/vlclient.c
666
vc->call_error = call->error;
fs/afs/vlclient.c
784
vc->call_error = call->error;
fs/afs/vlclient.c
87
entry->error = -ENOMEDIUM;
fs/afs/volume.c
210
volume = ERR_PTR(vldb->error);
fs/afs/volume.c
211
goto error;
fs/afs/volume.c
218
goto error;
fs/afs/volume.c
224
goto error;
fs/afs/volume.c
229
error:
fs/afs/volume.c
372
goto error;
fs/afs/volume.c
416
error:
fs/afs/write.c
212
switch (subreq->error) {
fs/afs/xattr.c
162
goto error;
fs/afs/xattr.c
217
error:
fs/afs/yfsclient.c
1146
if (call->error == -ECONNABORTED &&
fs/afs/yfsclient.c
669
if (call->error == -ECONNABORTED &&
fs/aio.c
1872
int error;
fs/aio.c
1883
pt->error = -EINVAL;
fs/aio.c
1888
pt->error = 0;
fs/aio.c
1920
apt.error = -EINVAL; /* same as no support for IOCB_CMD_POLL */
fs/aio.c
1936
if (apt.error) /* unsupported case: multiple queues */
fs/aio.c
1938
apt.error = 0;
fs/aio.c
1941
if (mask || apt.error) {
fs/aio.c
1960
apt.error = 0;
fs/aio.c
1965
return apt.error;
fs/anon_inodes.c
117
int error;
fs/anon_inodes.c
124
error = security_inode_init_security_anon(inode, &QSTR(name),
fs/anon_inodes.c
126
if (error) {
fs/anon_inodes.c
128
return ERR_PTR(error);
fs/attr.c
172
int error;
fs/attr.c
182
error = inode_newsize_ok(inode, attr->ia_size);
fs/attr.c
183
if (error)
fs/attr.c
184
return error;
fs/attr.c
227
int error;
fs/attr.c
229
error = security_inode_killpriv(idmap, dentry);
fs/attr.c
230
if (error)
fs/attr.c
231
return error;
fs/attr.c
375
int error;
fs/attr.c
391
error = inode_permission(idmap, inode, MAY_WRITE);
fs/attr.c
392
if (error)
fs/attr.c
393
return error;
fs/attr.c
432
int error;
fs/attr.c
438
error = may_setattr(idmap, inode, ia_valid);
fs/attr.c
439
if (error)
fs/attr.c
440
return error;
fs/attr.c
481
error = security_inode_need_killpriv(dentry);
fs/attr.c
482
if (error < 0)
fs/attr.c
483
return error;
fs/attr.c
484
if (error == 0)
fs/attr.c
540
error = security_inode_setattr(idmap, dentry, attr);
fs/attr.c
541
if (error)
fs/attr.c
542
return error;
fs/attr.c
550
error = try_break_deleg(inode, delegated_inode);
fs/attr.c
551
if (error)
fs/attr.c
552
return error;
fs/attr.c
556
error = inode->i_op->setattr(idmap, dentry, attr);
fs/attr.c
558
error = simple_setattr(idmap, dentry, attr);
fs/attr.c
560
if (!error) {
fs/attr.c
565
return error;
fs/autofs/root.c
772
goto error;
fs/autofs/root.c
776
goto error;
fs/autofs/root.c
784
error:
fs/autofs/root.c
797
goto error;
fs/autofs/root.c
801
goto error;
fs/autofs/root.c
809
error:
fs/backing-file.c
37
int error;
fs/backing-file.c
45
error = vfs_open(real_path, f);
fs/backing-file.c
46
if (error) {
fs/backing-file.c
48
f = ERR_PTR(error);
fs/backing-file.c
61
int error;
fs/backing-file.c
69
error = vfs_tmpfile(real_idmap, real_parentpath, f, mode);
fs/backing-file.c
70
if (error) {
fs/backing-file.c
72
f = ERR_PTR(error);
fs/befs/btree.c
146
goto error;
fs/befs/btree.c
160
goto error;
fs/befs/btree.c
166
error:
fs/befs/btree.c
258
goto error;
fs/befs/btree.c
265
goto error;
fs/befs/btree.c
308
error:
fs/befs/btree.c
430
goto error;
fs/befs/btree.c
437
goto error;
fs/befs/btree.c
519
error:
fs/befs/btree.c
552
goto error;
fs/befs/btree.c
576
goto error;
fs/befs/btree.c
585
error:
fs/befs/io.c
40
goto error;
fs/befs/io.c
52
goto error;
fs/befs/io.c
58
error:
fs/bfs/dir.c
171
int error = -ENOENT;
fs/bfs/dir.c
194
error = 0;
fs/bfs/dir.c
199
return error;
fs/bfs/dir.c
210
int error = -ENOENT;
fs/bfs/dir.c
228
error = -EPERM;
fs/bfs/dir.c
237
error = bfs_add_entry(new_dir, &new_dentry->d_name,
fs/bfs/dir.c
239
if (error)
fs/bfs/dir.c
250
error = 0;
fs/bfs/dir.c
256
return error;
fs/bfs/inode.c
109
error:
fs/bfs/inode.c
50
goto error;
fs/bfs/inode.c
58
goto error;
fs/bfs/inode.c
90
goto error;
fs/binfmt_elf.c
1189
error = elf_load(bprm->file, load_bias + vaddr, elf_ppnt,
fs/binfmt_elf.c
1191
if (BAD_ADDR(error)) {
fs/binfmt_elf.c
1192
retval = IS_ERR_VALUE(error) ?
fs/binfmt_elf.c
1193
PTR_ERR((void*)error) : -EINVAL;
fs/binfmt_elf.c
1200
load_bias += error -
fs/binfmt_elf.c
1355
error = vm_mmap(NULL, 0, PAGE_SIZE, PROT_READ | PROT_EXEC,
fs/binfmt_elf.c
450
int error;
fs/binfmt_elf.c
455
error = vm_brk_flags(zero_start, zero_end - zero_start,
fs/binfmt_elf.c
457
if (error)
fs/binfmt_elf.c
458
map_addr = error;
fs/binfmt_elf.c
654
unsigned long error = ~0UL;
fs/binfmt_elf.c
671
error = -EINVAL;
fs/binfmt_elf.c
693
error = map_addr;
fs/binfmt_elf.c
713
error = -ENOMEM;
fs/binfmt_elf.c
719
error = load_addr;
fs/binfmt_elf.c
721
return error;
fs/binfmt_elf.c
838
unsigned long error;
fs/binfmt_elf_fdpic.c
211
goto error;
fs/binfmt_elf_fdpic.c
215
goto error;
fs/binfmt_elf_fdpic.c
219
goto error;
fs/binfmt_elf_fdpic.c
226
goto error;
fs/binfmt_elf_fdpic.c
236
goto error;
fs/binfmt_elf_fdpic.c
239
goto error;
fs/binfmt_elf_fdpic.c
244
goto error;
fs/binfmt_elf_fdpic.c
252
goto error;
fs/binfmt_elf_fdpic.c
257
goto error;
fs/binfmt_elf_fdpic.c
266
goto error;
fs/binfmt_elf_fdpic.c
282
goto error;
fs/binfmt_elf_fdpic.c
305
goto error;
fs/binfmt_elf_fdpic.c
312
goto error;
fs/binfmt_elf_fdpic.c
343
goto error;
fs/binfmt_elf_fdpic.c
375
goto error;
fs/binfmt_elf_fdpic.c
379
goto error;
fs/binfmt_elf_fdpic.c
387
goto error;
fs/binfmt_elf_fdpic.c
394
goto error;
fs/binfmt_elf_fdpic.c
428
goto error;
fs/binfmt_elf_fdpic.c
439
goto error;
fs/binfmt_elf_fdpic.c
468
error:
fs/btrfs/backref.h
450
u64 bytenr, int error)
fs/btrfs/backref.h
452
btrfs_panic(fs_info, error,
fs/btrfs/bio.c
433
atomic_inc(&bioc->error);
fs/btrfs/bio.c
441
if (atomic_read(&bioc->error) > bioc->max_errors)
fs/btrfs/bio.c
468
atomic_inc(&stripe->bioc->error);
fs/btrfs/block-group.c
2472
goto error;
fs/btrfs/block-group.c
2479
goto error;
fs/btrfs/block-group.c
2491
goto error;
fs/btrfs/block-group.c
2519
goto error;
fs/btrfs/block-group.c
2525
goto error;
fs/btrfs/block-group.c
2545
error:
fs/btrfs/block-group.c
2646
goto error;
fs/btrfs/block-group.c
2666
goto error;
fs/btrfs/block-group.c
2706
error:
fs/btrfs/compression.c
1109
goto error;
fs/btrfs/compression.c
1112
goto error;
fs/btrfs/compression.c
1115
goto error;
fs/btrfs/compression.c
1118
goto error;
fs/btrfs/compression.c
1120
error:
fs/btrfs/dev-replace.c
262
goto error;
fs/btrfs/dev-replace.c
272
goto error;
fs/btrfs/dev-replace.c
281
goto error;
fs/btrfs/dev-replace.c
288
goto error;
fs/btrfs/dev-replace.c
293
goto error;
fs/btrfs/dev-replace.c
316
goto error;
fs/btrfs/dev-replace.c
327
error:
fs/btrfs/dev-replace.c
938
goto error;
fs/btrfs/dev-replace.c
949
error:
fs/btrfs/disk-io.c
296
goto error;
fs/btrfs/disk-io.c
308
goto error;
fs/btrfs/disk-io.c
313
error:
fs/btrfs/extent_io.c
521
int error = blk_status_to_errno(bio->bi_status);
fs/btrfs/extent_io.c
542
!error);
fs/btrfs/extent_io.c
543
if (error)
fs/btrfs/extent_io.c
544
mapping_set_error(folio->mapping, error);
fs/btrfs/extent_io.c
648
goto error;
fs/btrfs/extent_io.c
651
error:
fs/btrfs/inode.c
2056
goto error;
fs/btrfs/inode.c
2069
goto error;
fs/btrfs/inode.c
2082
goto error;
fs/btrfs/inode.c
2089
error:
fs/btrfs/inode.c
2148
goto error;
fs/btrfs/inode.c
2153
goto error;
fs/btrfs/inode.c
2171
goto error;
fs/btrfs/inode.c
2193
goto error;
fs/btrfs/inode.c
2241
goto error;
fs/btrfs/inode.c
2257
goto error;
fs/btrfs/inode.c
2296
goto error;
fs/btrfs/inode.c
2307
goto error;
fs/btrfs/inode.c
2320
goto error;
fs/btrfs/inode.c
2336
error:
fs/btrfs/ioctl.c
789
ret = pending_snapshot->error;
fs/btrfs/messages.c
119
unsigned int line, int error, const char *fmt, ...)
fs/btrfs/messages.c
136
if (error == -EROFS && sb_rdonly(sb))
fs/btrfs/messages.c
140
errstr = btrfs_decode_error(error);
fs/btrfs/messages.c
151
sb->s_id, statestr, function, line, error, errstr, &vaf);
fs/btrfs/messages.c
155
sb->s_id, statestr, function, line, error, errstr);
fs/btrfs/messages.c
163
WRITE_ONCE(fs_info->fs_error, error);
fs/btrfs/messages.c
279
unsigned int line, int error, const char *fmt, ...)
fs/btrfs/messages.c
292
errstr = btrfs_decode_error(error);
fs/btrfs/messages.c
295
s_id, function, line, &vaf, error, errstr);
fs/btrfs/messages.c
298
function, line, &vaf, error, errstr);
fs/btrfs/messages.c
76
const char * __attribute_const__ btrfs_decode_error(int error)
fs/btrfs/messages.c
80
switch (error) {
fs/btrfs/messages.h
172
unsigned int line, int error, const char *fmt, ...);
fs/btrfs/messages.h
174
const char * __attribute_const__ btrfs_decode_error(int error);
fs/btrfs/messages.h
176
#define btrfs_handle_fs_error(fs_info, error, fmt, args...) \
fs/btrfs/messages.h
178
(error), fmt, ##args)
fs/btrfs/messages.h
183
unsigned int line, int error, const char *fmt, ...);
fs/btrfs/messages.h
188
#define btrfs_panic(fs_info, error, fmt, args...) \
fs/btrfs/messages.h
190
__btrfs_panic(fs_info, __func__, __LINE__, error, fmt, ##args); \
fs/btrfs/raid56.c
1504
goto error;
fs/btrfs/raid56.c
1555
goto error;
fs/btrfs/raid56.c
1559
error:
fs/btrfs/raid56.c
2330
goto error;
fs/btrfs/raid56.c
2339
goto error;
fs/btrfs/raid56.c
2345
goto error;
fs/btrfs/raid56.c
2350
error:
fs/btrfs/scrub.c
1167
unsigned long error;
fs/btrfs/scrub.c
1228
error = scrub_bitmap_read_error(stripe);
fs/btrfs/scrub.c
1233
bitmap_andnot(&repaired, &errors.init_error_bitmap, &error,
fs/btrfs/scrub.c
1923
const unsigned long error = scrub_bitmap_read_error(stripe);
fs/btrfs/scrub.c
1926
for_each_set_bit(i, &error, stripe->nr_sectors) {
fs/btrfs/scrub.c
2003
unsigned long error;
fs/btrfs/scrub.c
2010
error = scrub_bitmap_read_error(stripe);
fs/btrfs/scrub.c
2011
bitmap_andnot(&good, &has_extent, &error, stripe->nr_sectors);
fs/btrfs/scrub.c
2272
unsigned long error;
fs/btrfs/scrub.c
2277
error = scrub_bitmap_read_error(stripe);
fs/btrfs/scrub.c
2284
bitmap_and(&error, &error, &has_extent, stripe->nr_sectors);
fs/btrfs/scrub.c
2285
if (unlikely(!bitmap_empty(&error, stripe->nr_sectors))) {
fs/btrfs/scrub.c
2289
&error);
fs/btrfs/scrub.c
308
IMPLEMENT_SCRUB_BITMAP_OPS(error);
fs/btrfs/scrub.c
374
goto error;
fs/btrfs/scrub.c
379
goto error;
fs/btrfs/scrub.c
384
goto error;
fs/btrfs/scrub.c
386
error:
fs/btrfs/space-info.c
1612
while (ticket->bytes > 0 && ticket->error == 0) {
fs/btrfs/space-info.c
1683
ret = ticket->error;
fs/btrfs/space-info.c
1691
ASSERT(!(ticket->bytes == 0 && ticket->error),
fs/btrfs/space-info.c
1692
"ticket->bytes=%llu ticket->error=%d", ticket->bytes, ticket->error);
fs/btrfs/space-info.c
1694
orig_bytes, start_ns, flush, ticket->error);
fs/btrfs/space-info.c
178
int error;
fs/btrfs/space-info.c
1833
ticket.error = 0;
fs/btrfs/space-info.c
547
struct reserve_ticket *ticket, int error)
fs/btrfs/space-info.c
565
if (error && ticket->bytes > 0)
fs/btrfs/space-info.c
566
ticket->error = error;
fs/btrfs/super.c
2089
goto error;
fs/btrfs/super.c
2094
goto error;
fs/btrfs/super.c
2112
error:
fs/btrfs/super.c
299
goto error;
fs/btrfs/super.c
308
goto error;
fs/btrfs/super.c
319
goto error;
fs/btrfs/super.c
331
goto error;
fs/btrfs/super.c
334
error:
fs/btrfs/transaction.c
1687
pending->error = fscrypt_setup_filename(&parent_inode->vfs_inode,
fs/btrfs/transaction.c
1691
if (unlikely(pending->error))
fs/btrfs/transaction.c
1694
pending->error = btrfs_get_free_objectid(tree_root, &objectid);
fs/btrfs/transaction.c
1695
if (unlikely(pending->error))
fs/btrfs/transaction.c
1707
pending->error = btrfs_block_rsv_add(fs_info,
fs/btrfs/transaction.c
1711
if (unlikely(pending->error))
fs/btrfs/transaction.c
1741
pending->error = -EEXIST;
fs/btrfs/transaction.c
1931
pending->error = ret;
fs/btrfs/transaction.c
2715
unsigned int line, int error, bool first_hit)
fs/btrfs/transaction.c
2719
WRITE_ONCE(trans->aborted, error);
fs/btrfs/transaction.c
2720
WRITE_ONCE(trans->transaction->aborted, error);
fs/btrfs/transaction.c
2721
if (first_hit && error == -ENOSPC)
fs/btrfs/transaction.c
2726
__btrfs_handle_fs_error(fs_info, function, line, error, NULL);
fs/btrfs/transaction.h
186
int error;
fs/btrfs/transaction.h
231
static inline bool btrfs_abort_should_print_stack(int error)
fs/btrfs/transaction.h
233
switch (error) {
fs/btrfs/transaction.h
246
#define btrfs_abort_transaction(trans, error) \
fs/btrfs/transaction.h
253
if (WARN(btrfs_abort_should_print_stack(error), \
fs/btrfs/transaction.h
256
(error))) { \
fs/btrfs/transaction.h
261
(error)); \
fs/btrfs/transaction.h
265
__LINE__, (error), __first); \
fs/btrfs/transaction.h
303
unsigned int line, int error, bool first_hit);
fs/btrfs/tree-log.c
173
unsigned int line, int error, const char *fmt, ...)
fs/btrfs/tree-log.c
191
btrfs_abort_transaction(wc->trans, error);
fs/btrfs/tree-log.c
214
function, line, btrfs_root_id(wc->root), wc->stage, error, &vaf);
fs/btrfs/tree-log.c
225
#define btrfs_abort_log_replay(wc, error, fmt, args...) \
fs/btrfs/tree-log.c
226
do_abort_log_replay((wc), __func__, __LINE__, (error), fmt, ##args)
fs/btrfs/tree-log.c
3296
int index, int error)
fs/btrfs/tree-log.c
3303
ctx->log_ret = error;
fs/btrfs/tree-log.c
7705
goto error;
fs/btrfs/tree-log.c
7716
goto error;
fs/btrfs/tree-log.c
7731
goto error;
fs/btrfs/tree-log.c
7749
goto error;
fs/btrfs/tree-log.c
7758
goto error;
fs/btrfs/tree-log.c
7775
goto error;
fs/btrfs/tree-log.c
7826
goto error;
fs/btrfs/tree-log.c
7856
error:
fs/btrfs/volumes.c
1032
goto error;
fs/btrfs/volumes.c
1042
goto error;
fs/btrfs/volumes.c
1052
error:
fs/btrfs/volumes.c
2827
goto error;
fs/btrfs/volumes.c
2832
goto error;
fs/btrfs/volumes.c
2849
goto error;
fs/btrfs/volumes.c
2858
goto error;
fs/btrfs/volumes.c
3041
error:
fs/btrfs/volumes.c
4340
goto error;
fs/btrfs/volumes.c
4365
goto error;
fs/btrfs/volumes.c
4372
goto error;
fs/btrfs/volumes.c
4385
goto error;
fs/btrfs/volumes.c
4471
goto error;
fs/btrfs/volumes.c
4495
goto error;
fs/btrfs/volumes.c
4511
goto error;
fs/btrfs/volumes.c
4541
error:
fs/btrfs/volumes.c
488
goto error;
fs/btrfs/volumes.c
498
goto error;
fs/btrfs/volumes.c
506
goto error;
fs/btrfs/volumes.c
511
error:
fs/btrfs/volumes.c
7261
u64 devid, u8 *uuid, bool error)
fs/btrfs/volumes.c
7263
if (error)
fs/btrfs/volumes.c
7836
goto error;
fs/btrfs/volumes.c
7852
goto error;
fs/btrfs/volumes.c
7858
goto error;
fs/btrfs/volumes.c
7880
goto error;
fs/btrfs/volumes.c
7883
error:
fs/btrfs/volumes.h
509
atomic_t error;
fs/cachefiles/daemon.c
161
req->error = -EIO;
fs/cachefiles/daemon.c
305
goto error;
fs/cachefiles/daemon.c
311
goto error;
fs/cachefiles/daemon.c
324
goto error;
fs/cachefiles/daemon.c
334
error:
fs/cachefiles/daemon.c
350
goto error;
fs/cachefiles/internal.h
145
int error;
fs/cachefiles/namei.c
568
goto error;
fs/cachefiles/namei.c
607
error:
fs/cachefiles/namei.c
817
goto error;
fs/cachefiles/namei.c
825
error:
fs/cachefiles/ondemand.c
206
req->error = ret;
fs/cachefiles/ondemand.c
213
req->error = -EINVAL;
fs/cachefiles/ondemand.c
216
req->error = size;
fs/cachefiles/ondemand.c
245
req->error = -EBADFD;
fs/cachefiles/ondemand.c
408
req->error = err;
fs/cachefiles/ondemand.c
585
ret = req->error;
fs/cachefiles/ondemand.c
720
req->error = -EIO;
fs/cachefiles/security.c
26
goto error;
fs/cachefiles/security.c
35
goto error;
fs/cachefiles/security.c
41
error:
fs/ceph/addr.c
265
subreq->error = err;
fs/ceph/addr.c
328
subreq->error = err;
fs/ceph/addr.c
452
subreq->error = err;
fs/ceph/addr.c
553
static void ceph_fscache_write_terminated(void *priv, ssize_t error)
fs/ceph/addr.c
557
if (IS_ERR_VALUE(error) && error != -ENOBUFS)
fs/ceph/file.c
1264
int error;
fs/ceph/file.c
1292
ret = aio_req->error;
fs/ceph/file.c
1401
cmpxchg(&aio_req->error, 0, rc);
fs/ceph/file.c
245
goto error;
fs/ceph/file.c
250
error:
fs/ceph/super.c
926
int error = -ENOMEM;
fs/ceph/super.c
987
return error;
fs/char_dev.c
478
int error;
fs/char_dev.c
484
error = -EBUSY;
fs/char_dev.c
488
error = kobj_map(cdev_map, dev, count, NULL,
fs/char_dev.c
490
if (error)
fs/char_dev.c
500
return error;
fs/coda/cnode.c
101
int error;
fs/coda/cnode.c
104
error = venus_getattr(sb, fid, &attr);
fs/coda/cnode.c
105
if (error)
fs/coda/cnode.c
106
return ERR_PTR(error);
fs/coda/dir.c
100
return error;
fs/coda/dir.c
139
int error;
fs/coda/dir.c
149
error = venus_create(dir->i_sb, coda_i2f(dir), name, length,
fs/coda/dir.c
151
if (error)
fs/coda/dir.c
156
error = PTR_ERR(inode);
fs/coda/dir.c
166
return error;
fs/coda/dir.c
176
int error;
fs/coda/dir.c
183
error = venus_mkdir(dir->i_sb, coda_i2f(dir),
fs/coda/dir.c
185
if (error)
fs/coda/dir.c
190
error = PTR_ERR(inode);
fs/coda/dir.c
201
return ERR_PTR(error);
fs/coda/dir.c
211
int error;
fs/coda/dir.c
216
error = venus_link(dir_inode->i_sb, coda_i2f(inode),
fs/coda/dir.c
218
if (error) {
fs/coda/dir.c
220
return error;
fs/coda/dir.c
238
int error;
fs/coda/dir.c
252
error = venus_symlink(dir_inode->i_sb, coda_i2f(dir_inode), name, len,
fs/coda/dir.c
256
if (!error)
fs/coda/dir.c
259
return error;
fs/coda/dir.c
265
int error;
fs/coda/dir.c
269
error = venus_remove(dir->i_sb, coda_i2f(dir), name, len);
fs/coda/dir.c
270
if (error)
fs/coda/dir.c
271
return error;
fs/coda/dir.c
282
int error;
fs/coda/dir.c
284
error = venus_rmdir(dir->i_sb, coda_i2f(dir), name, len);
fs/coda/dir.c
285
if (!error) {
fs/coda/dir.c
294
return error;
fs/coda/dir.c
306
int error;
fs/coda/dir.c
311
error = venus_rename(old_dir->i_sb, coda_i2f(old_dir),
fs/coda/dir.c
314
if (!error) {
fs/coda/dir.c
325
return error;
fs/coda/dir.c
513
int error;
fs/coda/dir.c
522
error = venus_getattr(inode->i_sb, &(cii->c_fid), &attr);
fs/coda/dir.c
523
if (error)
fs/coda/dir.c
61
int error = venus_lookup(sb, coda_i2f(dir), name, length,
fs/coda/dir.c
63
inode = !error ? coda_cnode_make(&fid, sb) : ERR_PTR(error);
fs/coda/dir.c
79
int error;
fs/coda/dir.c
95
error = venus_access(inode->i_sb, coda_i2f(inode), mask);
fs/coda/dir.c
97
if (!error)
fs/coda/file.c
229
int error;
fs/coda/file.c
238
error = venus_open(coda_inode->i_sb, coda_i2f(coda_inode), coda_flags,
fs/coda/file.c
241
error = -EIO;
fs/coda/file.c
243
if (error) {
fs/coda/file.c
245
return error;
fs/coda/inode.c
205
int error;
fs/coda/inode.c
214
error = -EINVAL;
fs/coda/inode.c
220
error = -EBUSY;
fs/coda/inode.c
238
error = super_setup_bdi(sb);
fs/coda/inode.c
239
if (error)
fs/coda/inode.c
240
goto error;
fs/coda/inode.c
243
error = venus_rootfid(sb, &fid);
fs/coda/inode.c
244
if ( error ) {
fs/coda/inode.c
246
__func__, error);
fs/coda/inode.c
247
goto error;
fs/coda/inode.c
254
error = PTR_ERR(root);
fs/coda/inode.c
256
error);
fs/coda/inode.c
257
goto error;
fs/coda/inode.c
264
error = -EINVAL;
fs/coda/inode.c
265
goto error;
fs/coda/inode.c
269
error:
fs/coda/inode.c
275
return error;
fs/coda/inode.c
312
int error;
fs/coda/inode.c
321
error = venus_setattr(inode->i_sb, coda_i2f(inode), &vattr);
fs/coda/inode.c
323
if (!error) {
fs/coda/inode.c
327
return error;
fs/coda/inode.c
338
int error;
fs/coda/inode.c
340
error = venus_statfs(dentry, buf);
fs/coda/inode.c
342
if (error) {
fs/coda/pioctl.c
54
int error;
fs/coda/pioctl.c
68
error = user_path_at(AT_FDCWD, data.path,
fs/coda/pioctl.c
70
if (error)
fs/coda/pioctl.c
71
return error;
fs/coda/pioctl.c
77
error = -EINVAL;
fs/coda/pioctl.c
84
error = venus_pioctl(inode->i_sb, &(cnp->c_fid), cmd, &data);
fs/coda/pioctl.c
87
return error;
fs/coda/psdev.c
100
int error;
fs/coda/psdev.c
133
error = coda_downcall(vcp, hdr.opcode, dcbuf, nbytes);
fs/coda/psdev.c
136
if (error) {
fs/coda/psdev.c
138
__func__, error);
fs/coda/psdev.c
139
retval = error;
fs/coda/symlink.c
26
int error;
fs/coda/symlink.c
33
error = venus_readlink(inode->i_sb, &cii->c_fid, p, &len);
fs/coda/symlink.c
34
folio_end_read(folio, error == 0);
fs/coda/symlink.c
35
return error;
fs/coda/upcall.c
103
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
104
if (!error)
fs/coda/upcall.c
108
return error;
fs/coda/upcall.c
116
int insize, outsize, error;
fs/coda/upcall.c
124
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
127
return error;
fs/coda/upcall.c
136
int insize, outsize, error;
fs/coda/upcall.c
150
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
151
if (!error) {
fs/coda/upcall.c
157
return error;
fs/coda/upcall.c
165
int insize, outsize, error;
fs/coda/upcall.c
174
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
177
return error;
fs/coda/upcall.c
185
int insize, outsize, error;
fs/coda/upcall.c
193
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
194
if (!error)
fs/coda/upcall.c
198
return error;
fs/coda/upcall.c
207
int insize, outsize, error;
fs/coda/upcall.c
221
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
222
if (!error) {
fs/coda/upcall.c
228
return error;
fs/coda/upcall.c
239
int insize, outsize, error;
fs/coda/upcall.c
263
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
266
return error;
fs/coda/upcall.c
275
int insize, outsize, error;
fs/coda/upcall.c
292
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
293
if (!error) {
fs/coda/upcall.c
299
return error;
fs/coda/upcall.c
307
int insize, outsize, error;
fs/coda/upcall.c
319
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
322
return error;
fs/coda/upcall.c
330
int error=0, insize, outsize, offset;
fs/coda/upcall.c
341
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
344
return error;
fs/coda/upcall.c
352
int insize, outsize, error;
fs/coda/upcall.c
362
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
363
if (!error) {
fs/coda/upcall.c
374
return error;
fs/coda/upcall.c
384
int insize, outsize, error;
fs/coda/upcall.c
399
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
402
return error;
fs/coda/upcall.c
411
int insize, outsize, error;
fs/coda/upcall.c
434
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
437
return error;
fs/coda/upcall.c
444
int insize, outsize, error;
fs/coda/upcall.c
450
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
453
return error;
fs/coda/upcall.c
460
int insize, outsize, error;
fs/coda/upcall.c
468
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
471
return error;
fs/coda/upcall.c
480
int insize, outsize, error;
fs/coda/upcall.c
488
error = -EINVAL;
fs/coda/upcall.c
493
error = -EINVAL;
fs/coda/upcall.c
513
error = -EINVAL;
fs/coda/upcall.c
517
error = coda_upcall(coda_vcp(sb), SIZE(ioctl) + data->vi.in_size,
fs/coda/upcall.c
520
if (error) {
fs/coda/upcall.c
522
__func__, error, coda_f2s(fid));
fs/coda/upcall.c
527
error = -EINVAL;
fs/coda/upcall.c
533
error = -EINVAL;
fs/coda/upcall.c
541
error = -EFAULT;
fs/coda/upcall.c
547
return error;
fs/coda/upcall.c
554
int insize, outsize, error;
fs/coda/upcall.c
559
error = coda_upcall(coda_vcp(dentry->d_sb), insize, &outsize, inp);
fs/coda/upcall.c
560
if (!error) {
fs/coda/upcall.c
569
return error;
fs/coda/upcall.c
578
int insize, outsize, error;
fs/coda/upcall.c
594
error = coda_upcall(coda_vcp(sb), insize,
fs/coda/upcall.c
602
if (!finalizer || error)
fs/coda/upcall.c
606
if (error == -EOPNOTSUPP) {
fs/coda/upcall.c
608
error = 0;
fs/coda/upcall.c
610
return error;
fs/coda/upcall.c
716
int error;
fs/coda/upcall.c
722
error = -ENXIO;
fs/coda/upcall.c
729
error = -ENOMEM;
fs/coda/upcall.c
769
error = -out->oh.result;
fs/coda/upcall.c
774
error = -EINTR;
fs/coda/upcall.c
79
int insize, outsize, error;
fs/coda/upcall.c
790
error = -ENOMEM;
fs/coda/upcall.c
800
error = -EINTR;
fs/coda/upcall.c
818
return error;
fs/coda/upcall.c
84
error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
fs/coda/upcall.c
85
if (!error)
fs/coda/upcall.c
89
return error;
fs/coda/upcall.c
97
int insize, outsize, error;
fs/configfs/dir.c
295
int error;
fs/configfs/dir.c
302
error = configfs_make_dirent(p->d_fsdata, dentry, item, mode,
fs/configfs/dir.c
305
if (unlikely(error))
fs/configfs/dir.c
306
return error;
fs/configfs/dir.c
610
int error = 0;
fs/configfs/dir.c
623
if ((error = configfs_create_file(item, attr)))
fs/configfs/dir.c
627
if (!error && t->ct_bin_attrs) {
fs/configfs/dir.c
632
error = configfs_create_bin_file(item, bin_attr);
fs/configfs/dir.c
633
if (error)
fs/configfs/dir.c
638
if (error)
fs/configfs/dir.c
641
return error;
fs/configfs/file.c
296
int error;
fs/configfs/file.c
298
error = -ENOMEM;
fs/configfs/file.c
303
error = -ENOENT;
fs/configfs/file.c
308
error = -EINVAL;
fs/configfs/file.c
326
error = -ENODEV;
fs/configfs/file.c
330
error = -EACCES;
fs/configfs/file.c
376
return error;
fs/configfs/file.c
452
int error = 0;
fs/configfs/file.c
455
error = configfs_make_dirent(parent_sd, NULL, (void *) attr, mode,
fs/configfs/file.c
459
return error;
fs/configfs/file.c
474
int error = 0;
fs/configfs/file.c
477
error = configfs_make_dirent(parent_sd, NULL, (void *) bin_attr, mode,
fs/configfs/file.c
481
return error;
fs/configfs/inode.c
42
int error;
fs/configfs/inode.c
63
error = simple_setattr(idmap, dentry, iattr);
fs/configfs/inode.c
64
if (error)
fs/configfs/inode.c
65
return error;
fs/configfs/inode.c
85
return error;
fs/coredump.c
1468
int error;
fs/coredump.c
1477
error = proc_dostring(table, write, buffer, lenp, ppos);
fs/coredump.c
1478
if (error)
fs/coredump.c
1479
return error;
fs/coredump.c
1487
return error;
fs/d_path.c
162
int error;
fs/d_path.c
172
error = __prepend_path(path->dentry, real_mount(path->mnt), root, &b);
fs/d_path.c
189
if (unlikely(error == 3))
fs/d_path.c
196
return error;
fs/d_path.c
414
int error;
fs/d_path.c
426
error = -ENOENT;
fs/d_path.c
438
error = -ENAMETOOLONG;
fs/d_path.c
440
error = -ERANGE;
fs/d_path.c
442
error = -EFAULT;
fs/d_path.c
444
error = len;
fs/d_path.c
447
return error;
fs/dax.c
1744
static vm_fault_t dax_fault_return(int error)
fs/dax.c
1746
if (error == 0)
fs/dax.c
1748
return vmf_error(error);
fs/dax.c
1770
int error = 0;
fs/dax.c
1778
error = copy_cow_page_dax(vmf, iter);
fs/dax.c
1782
error = -EIO;
fs/dax.c
1786
if (error)
fs/dax.c
1787
return dax_fault_return(error);
fs/dax.c
1875
int error;
fs/dax.c
1908
while ((error = iomap_iter(&iter, ops)) > 0) {
fs/dax.c
1927
*iomap_errp = error;
fs/dax.c
1928
if (!ret && error)
fs/dax.c
1929
ret = dax_fault_return(error);
fs/dax.c
944
int error = 0;
fs/dax.c
954
error = -ERESTARTSYS;
fs/dax.c
958
error = wait_page_idle(page, cb, inode);
fs/dax.c
959
} while (error == 0);
fs/dax.c
964
return error;
fs/debugfs/file.c
1069
goto error;
fs/debugfs/file.c
1073
goto error;
fs/debugfs/file.c
1078
goto error;
fs/debugfs/file.c
1085
goto error;
fs/debugfs/file.c
1097
error:
fs/debugfs/inode.c
366
int error;
fs/debugfs/inode.c
379
error = simple_pin_fs(&debug_fs_type, &debugfs_mount,
fs/debugfs/inode.c
381
if (error) {
fs/debugfs/inode.c
383
return ERR_PTR(error);
fs/debugfs/inode.c
823
int error = 0;
fs/debugfs/inode.c
845
error = PTR_ERR(target);
fs/debugfs/inode.c
849
error = start_renaming_two_dentries(&rd, dentry, target);
fs/debugfs/inode.c
850
if (error) {
fs/debugfs/inode.c
851
if (error == -EEXIST && target == dentry)
fs/debugfs/inode.c
853
error = 0;
fs/debugfs/inode.c
869
return error;
fs/dlm/debug_fs.c
505
int n, len, lkb_nodeid, lkb_status, error;
fs/dlm/debug_fs.c
522
error = dlm_debug_add_lkb(ls, lkb_id, name, len, lkb_flags,
fs/dlm/debug_fs.c
524
if (error)
fs/dlm/debug_fs.c
525
return error;
fs/dlm/debug_fs.c
635
int n, error;
fs/dlm/debug_fs.c
645
error = dlm_lock_recovery_try(ls);
fs/dlm/debug_fs.c
646
if (!error)
fs/dlm/debug_fs.c
649
error = dlm_debug_add_lkb_to_waiters(ls, lkb_id, mstype, to_nodeid);
fs/dlm/debug_fs.c
651
if (error)
fs/dlm/debug_fs.c
652
return error;
fs/dlm/dir.c
108
error = -EINVAL;
fs/dlm/dir.c
132
error = dlm_master_lookup(ls, memb->nodeid,
fs/dlm/dir.c
136
if (error) {
fs/dlm/dir.c
138
error);
fs/dlm/dir.c
186
error = 0;
fs/dlm/dir.c
194
return error;
fs/dlm/dir.c
63
int error = -ENOMEM, last_len, nodeid, result;
fs/dlm/dir.c
86
error = -EINTR;
fs/dlm/dir.c
90
error = dlm_rcom_names(ls, memb->nodeid,
fs/dlm/dir.c
92
if (error)
fs/dlm/lock.c
1012
error = get_rsb_struct(ls, name, len, &r);
fs/dlm/lock.c
1013
if (WARN_ON_ONCE(error))
fs/dlm/lock.c
1023
error = rsb_insert(r, &ls->ls_rsbtbl);
fs/dlm/lock.c
1024
if (error == -EEXIST) {
fs/dlm/lock.c
1031
} else if (!error) {
fs/dlm/lock.c
1038
return error;
fs/dlm/lock.c
1267
int dir_nodeid, error;
fs/dlm/lock.c
1289
error = dlm_search_rsb_tree(&ls->ls_rsbtbl, name, len, &r);
fs/dlm/lock.c
1290
if (error)
fs/dlm/lock.c
1359
error = get_rsb_struct(ls, name, len, &r);
fs/dlm/lock.c
1360
if (WARN_ON_ONCE(error))
fs/dlm/lock.c
1370
error = rsb_insert(r, &ls->ls_rsbtbl);
fs/dlm/lock.c
1371
if (error == -EEXIST) {
fs/dlm/lock.c
1378
} else if (error) {
fs/dlm/lock.c
1392
return error;
fs/dlm/lock.c
1420
int error;
fs/dlm/lock.c
1423
error = dlm_search_rsb_tree(&ls->ls_rsbtbl, name, len, &r);
fs/dlm/lock.c
1424
if (!error)
fs/dlm/lock.c
1860
int error;
fs/dlm/lock.c
1863
error = _remove_from_waiters(lkb, mstype, NULL);
fs/dlm/lock.c
1865
return error;
fs/dlm/lock.c
1879
int error;
fs/dlm/lock.c
1886
error = _remove_from_waiters(lkb, le32_to_cpu(ms->m_type), ms);
fs/dlm/lock.c
1889
return error;
fs/dlm/lock.c
2715
static void confirm_master(struct dlm_rsb *r, int error)
fs/dlm/lock.c
2722
switch (error) {
fs/dlm/lock.c
2748
log_error(r->res_ls, "confirm_master unknown error %d", error);
fs/dlm/lock.c
3040
int error = 0;
fs/dlm/lock.c
3049
error = -EINPROGRESS;
fs/dlm/lock.c
3054
error = -EAGAIN;
fs/dlm/lock.c
3057
return error;
fs/dlm/lock.c
3061
int error)
fs/dlm/lock.c
3063
switch (error) {
fs/dlm/lock.c
3076
int error = 0;
fs/dlm/lock.c
3095
error = -EDEADLK;
fs/dlm/lock.c
3116
error = -EINPROGRESS;
fs/dlm/lock.c
3122
error = -EAGAIN;
fs/dlm/lock.c
3125
return error;
fs/dlm/lock.c
3129
int error)
fs/dlm/lock.c
3131
switch (error) {
fs/dlm/lock.c
3154
int error)
fs/dlm/lock.c
3163
int error;
fs/dlm/lock.c
3165
error = revert_lock(r, lkb);
fs/dlm/lock.c
3166
if (error) {
fs/dlm/lock.c
3174
int error)
fs/dlm/lock.c
3176
if (error)
fs/dlm/lock.c
3189
int error;
fs/dlm/lock.c
3193
error = set_master(r, lkb);
fs/dlm/lock.c
3194
if (error < 0)
fs/dlm/lock.c
3196
if (error) {
fs/dlm/lock.c
3197
error = 0;
fs/dlm/lock.c
3203
error = send_request(r, lkb);
fs/dlm/lock.c
3205
error = do_request(r, lkb);
fs/dlm/lock.c
3208
do_request_effects(r, lkb, error);
fs/dlm/lock.c
3211
return error;
fs/dlm/lock.c
3218
int error;
fs/dlm/lock.c
3222
error = send_convert(r, lkb);
fs/dlm/lock.c
3224
error = do_convert(r, lkb);
fs/dlm/lock.c
3227
do_convert_effects(r, lkb, error);
fs/dlm/lock.c
3230
return error;
fs/dlm/lock.c
3237
int error;
fs/dlm/lock.c
3241
error = send_unlock(r, lkb);
fs/dlm/lock.c
3243
error = do_unlock(r, lkb);
fs/dlm/lock.c
3246
do_unlock_effects(r, lkb, error);
fs/dlm/lock.c
3249
return error;
fs/dlm/lock.c
3256
int error;
fs/dlm/lock.c
3260
error = send_cancel(r, lkb);
fs/dlm/lock.c
3262
error = do_cancel(r, lkb);
fs/dlm/lock.c
3265
do_cancel_effects(r, lkb, error);
fs/dlm/lock.c
3268
return error;
fs/dlm/lock.c
3281
int error;
fs/dlm/lock.c
3283
error = validate_lock_args(ls, lkb, args);
fs/dlm/lock.c
3284
if (error)
fs/dlm/lock.c
3285
return error;
fs/dlm/lock.c
3287
error = find_rsb(ls, name, len, 0, R_REQUEST, &r);
fs/dlm/lock.c
3288
if (error)
fs/dlm/lock.c
3289
return error;
fs/dlm/lock.c
3296
error = _request_lock(r, lkb);
fs/dlm/lock.c
3300
return error;
fs/dlm/lock.c
3307
int error;
fs/dlm/lock.c
3314
error = validate_lock_args(ls, lkb, args);
fs/dlm/lock.c
3315
if (error)
fs/dlm/lock.c
3318
error = _convert_lock(r, lkb);
fs/dlm/lock.c
3322
return error;
fs/dlm/lock.c
3329
int error;
fs/dlm/lock.c
3336
error = validate_unlock_args(lkb, args);
fs/dlm/lock.c
3337
if (error)
fs/dlm/lock.c
3340
error = _unlock_lock(r, lkb);
fs/dlm/lock.c
3344
return error;
fs/dlm/lock.c
3351
int error;
fs/dlm/lock.c
3358
error = validate_unlock_args(lkb, args);
fs/dlm/lock.c
3359
if (error)
fs/dlm/lock.c
3362
error = _cancel_lock(r, lkb);
fs/dlm/lock.c
3366
return error;
fs/dlm/lock.c
3387
int error, convert = flags & DLM_LKF_CONVERT;
fs/dlm/lock.c
3396
error = find_lkb(ls, lksb->sb_lkid, &lkb);
fs/dlm/lock.c
3398
error = create_lkb(ls, &lkb);
fs/dlm/lock.c
3400
if (error)
fs/dlm/lock.c
3405
error = set_lock_args(mode, lksb, flags, namelen, ast, astarg, bast,
fs/dlm/lock.c
3407
if (error)
fs/dlm/lock.c
3411
error = convert_lock(ls, lkb, &args);
fs/dlm/lock.c
3413
error = request_lock(ls, lkb, name, namelen, &args);
fs/dlm/lock.c
3415
if (error == -EINPROGRESS)
fs/dlm/lock.c
3416
error = 0;
fs/dlm/lock.c
3418
trace_dlm_lock_end(ls, lkb, name, namelen, mode, flags, error, true);
fs/dlm/lock.c
3420
if (convert || error)
fs/dlm/lock.c
3422
if (error == -EAGAIN || error == -EDEADLK)
fs/dlm/lock.c
3423
error = 0;
fs/dlm/lock.c
3427
return error;
fs/dlm/lock.c
3439
int error;
fs/dlm/lock.c
3447
error = find_lkb(ls, lkid, &lkb);
fs/dlm/lock.c
3448
if (error)
fs/dlm/lock.c
3453
error = set_unlock_args(flags, astarg, &args);
fs/dlm/lock.c
3454
if (error)
fs/dlm/lock.c
3458
error = cancel_lock(ls, lkb, &args);
fs/dlm/lock.c
3460
error = unlock_lock(ls, lkb, &args);
fs/dlm/lock.c
3462
if (error == -DLM_EUNLOCK || error == -DLM_ECANCEL)
fs/dlm/lock.c
3463
error = 0;
fs/dlm/lock.c
3464
if (error == -EBUSY && (flags & (DLM_LKF_CANCEL | DLM_LKF_FORCEUNLOCK)))
fs/dlm/lock.c
3465
error = 0;
fs/dlm/lock.c
3467
trace_dlm_unlock_end(ls, lkb, flags, error);
fs/dlm/lock.c
3473
return error;
fs/dlm/lock.c
3615
int to_nodeid, error;
fs/dlm/lock.c
3620
error = create_message(r, lkb, to_nodeid, mstype, &ms, &mh);
fs/dlm/lock.c
3621
if (error)
fs/dlm/lock.c
3626
error = send_message(mh, ms, r->res_name, r->res_length);
fs/dlm/lock.c
3627
if (error)
fs/dlm/lock.c
3633
return error;
fs/dlm/lock.c
3643
int error;
fs/dlm/lock.c
3645
error = send_common(r, lkb, DLM_MSG_CONVERT);
fs/dlm/lock.c
3648
if (!error && down_conversion(lkb)) {
fs/dlm/lock.c
3655
return error;
fs/dlm/lock.c
3676
int to_nodeid, error;
fs/dlm/lock.c
3680
error = create_message(r, lkb, to_nodeid, DLM_MSG_GRANT, &ms, &mh);
fs/dlm/lock.c
3681
if (error)
fs/dlm/lock.c
3688
error = send_message(mh, ms, r->res_name, r->res_length);
fs/dlm/lock.c
3690
return error;
fs/dlm/lock.c
3697
int to_nodeid, error;
fs/dlm/lock.c
3701
error = create_message(r, NULL, to_nodeid, DLM_MSG_BAST, &ms, &mh);
fs/dlm/lock.c
3702
if (error)
fs/dlm/lock.c
3709
error = send_message(mh, ms, r->res_name, r->res_length);
fs/dlm/lock.c
3711
return error;
fs/dlm/lock.c
3718
int to_nodeid, error;
fs/dlm/lock.c
3723
error = create_message(r, NULL, to_nodeid, DLM_MSG_LOOKUP, &ms, &mh);
fs/dlm/lock.c
3724
if (error)
fs/dlm/lock.c
3729
error = send_message(mh, ms, r->res_name, r->res_length);
fs/dlm/lock.c
3730
if (error)
fs/dlm/lock.c
3736
return error;
fs/dlm/lock.c
3743
int to_nodeid, error;
fs/dlm/lock.c
3747
error = create_message(r, NULL, to_nodeid, DLM_MSG_REMOVE, &ms, &mh);
fs/dlm/lock.c
3748
if (error)
fs/dlm/lock.c
3754
error = send_message(mh, ms, r->res_name, r->res_length);
fs/dlm/lock.c
3756
return error;
fs/dlm/lock.c
3764
int to_nodeid, error;
fs/dlm/lock.c
3768
error = create_message(r, lkb, to_nodeid, mstype, &ms, &mh);
fs/dlm/lock.c
3769
if (error)
fs/dlm/lock.c
3776
error = send_message(mh, ms, r->res_name, r->res_length);
fs/dlm/lock.c
3778
return error;
fs/dlm/lock.c
3808
int error, nodeid = le32_to_cpu(ms_in->m_header.h_nodeid);
fs/dlm/lock.c
3810
error = create_message(r, NULL, nodeid, DLM_MSG_LOOKUP_REPLY, &ms, &mh);
fs/dlm/lock.c
3811
if (error)
fs/dlm/lock.c
3818
error = send_message(mh, ms, ms_in->m_extra, receive_extralen(ms_in));
fs/dlm/lock.c
3820
return error;
fs/dlm/lock.c
3940
int error = 0;
fs/dlm/lock.c
3947
error = -EINVAL;
fs/dlm/lock.c
3956
error = -EINVAL;
fs/dlm/lock.c
3965
error = -EINVAL;
fs/dlm/lock.c
3970
error = -EINVAL;
fs/dlm/lock.c
3972
error = -EINVAL;
fs/dlm/lock.c
3976
error = -EINVAL;
fs/dlm/lock.c
3980
if (error)
fs/dlm/lock.c
3986
return error;
fs/dlm/lock.c
3994
int error, namelen = 0;
fs/dlm/lock.c
3998
error = create_lkb(ls, &lkb);
fs/dlm/lock.c
3999
if (error)
fs/dlm/lock.c
4004
error = receive_request_args(ls, lkb, ms);
fs/dlm/lock.c
4005
if (error) {
fs/dlm/lock.c
4018
error = find_rsb(ls, ms->m_extra, namelen, from_nodeid,
fs/dlm/lock.c
4020
if (error) {
fs/dlm/lock.c
4028
error = validate_master_nodeid(ls, r, from_nodeid);
fs/dlm/lock.c
4029
if (error) {
fs/dlm/lock.c
4038
error = do_request(r, lkb);
fs/dlm/lock.c
4039
send_request_reply(r, lkb, error);
fs/dlm/lock.c
4040
do_request_effects(r, lkb, error);
fs/dlm/lock.c
4045
if (error == -EINPROGRESS)
fs/dlm/lock.c
4046
error = 0;
fs/dlm/lock.c
4047
if (error)
fs/dlm/lock.c
4058
if (error != -ENOTBLK) {
fs/dlm/lock.c
4060
le32_to_cpu(ms->m_lkid), from_nodeid, error);
fs/dlm/lock.c
4064
send_request_reply(&ls->ls_local_rsb, &ls->ls_local_lkb, error);
fs/dlm/lock.c
4065
return error;
fs/dlm/lock.c
4072
int error, reply = 1;
fs/dlm/lock.c
4074
error = find_lkb(ls, le32_to_cpu(ms->m_remid), &lkb);
fs/dlm/lock.c
4075
if (error)
fs/dlm/lock.c
4084
error = -ENOENT;
fs/dlm/lock.c
4094
error = validate_message(lkb, ms);
fs/dlm/lock.c
4095
if (error)
fs/dlm/lock.c
4100
error = receive_convert_args(ls, lkb, ms);
fs/dlm/lock.c
4101
if (error) {
fs/dlm/lock.c
4102
send_convert_reply(r, lkb, error);
fs/dlm/lock.c
4108
error = do_convert(r, lkb);
fs/dlm/lock.c
4110
send_convert_reply(r, lkb, error);
fs/dlm/lock.c
4111
do_convert_effects(r, lkb, error);
fs/dlm/lock.c
4120
send_convert_reply(&ls->ls_local_rsb, &ls->ls_local_lkb, error);
fs/dlm/lock.c
4121
return error;
fs/dlm/lock.c
4128
int error;
fs/dlm/lock.c
4130
error = find_lkb(ls, le32_to_cpu(ms->m_remid), &lkb);
fs/dlm/lock.c
4131
if (error)
fs/dlm/lock.c
4139
error = -ENOENT;
fs/dlm/lock.c
4149
error = validate_message(lkb, ms);
fs/dlm/lock.c
4150
if (error)
fs/dlm/lock.c
4155
error = receive_unlock_args(ls, lkb, ms);
fs/dlm/lock.c
4156
if (error) {
fs/dlm/lock.c
4157
send_unlock_reply(r, lkb, error);
fs/dlm/lock.c
4161
error = do_unlock(r, lkb);
fs/dlm/lock.c
4162
send_unlock_reply(r, lkb, error);
fs/dlm/lock.c
4163
do_unlock_effects(r, lkb, error);
fs/dlm/lock.c
4172
send_unlock_reply(&ls->ls_local_rsb, &ls->ls_local_lkb, error);
fs/dlm/lock.c
4173
return error;
fs/dlm/lock.c
4180
int error;
fs/dlm/lock.c
4182
error = find_lkb(ls, le32_to_cpu(ms->m_remid), &lkb);
fs/dlm/lock.c
4183
if (error)
fs/dlm/lock.c
4193
error = validate_message(lkb, ms);
fs/dlm/lock.c
4194
if (error)
fs/dlm/lock.c
4197
error = do_cancel(r, lkb);
fs/dlm/lock.c
4198
send_cancel_reply(r, lkb, error);
fs/dlm/lock.c
4199
do_cancel_effects(r, lkb, error);
fs/dlm/lock.c
4208
send_cancel_reply(&ls->ls_local_rsb, &ls->ls_local_lkb, error);
fs/dlm/lock.c
4209
return error;
fs/dlm/lock.c
4216
int error;
fs/dlm/lock.c
4218
error = find_lkb(ls, le32_to_cpu(ms->m_remid), &lkb);
fs/dlm/lock.c
4219
if (error)
fs/dlm/lock.c
4220
return error;
fs/dlm/lock.c
4227
error = validate_message(lkb, ms);
fs/dlm/lock.c
4228
if (error)
fs/dlm/lock.c
4247
int error;
fs/dlm/lock.c
4249
error = find_lkb(ls, le32_to_cpu(ms->m_remid), &lkb);
fs/dlm/lock.c
4250
if (error)
fs/dlm/lock.c
4251
return error;
fs/dlm/lock.c
4258
error = validate_message(lkb, ms);
fs/dlm/lock.c
4259
if (error)
fs/dlm/lock.c
4273
int len, error, ret_nodeid, from_nodeid, our_nodeid;
fs/dlm/lock.c
4280
error = dlm_master_lookup(ls, from_nodeid, ms->m_extra, len, 0,
fs/dlm/lock.c
4284
if (!error && ret_nodeid == our_nodeid) {
fs/dlm/lock.c
4288
send_lookup_reply(ls, ms, ret_nodeid, error);
fs/dlm/lock.c
4396
int error, mstype, result;
fs/dlm/lock.c
4399
error = find_lkb(ls, le32_to_cpu(ms->m_remid), &lkb);
fs/dlm/lock.c
4400
if (error)
fs/dlm/lock.c
4401
return error;
fs/dlm/lock.c
4407
error = validate_message(lkb, ms);
fs/dlm/lock.c
4408
if (error)
fs/dlm/lock.c
4412
error = remove_from_waiters(lkb, DLM_MSG_REQUEST_REPLY);
fs/dlm/lock.c
4413
if (error) {
fs/dlm/lock.c
4561
int error;
fs/dlm/lock.c
4566
error = validate_message(lkb, ms);
fs/dlm/lock.c
4567
if (error)
fs/dlm/lock.c
4570
error = remove_from_waiters_ms(lkb, ms, local);
fs/dlm/lock.c
4571
if (error)
fs/dlm/lock.c
4584
int error;
fs/dlm/lock.c
4586
error = find_lkb(ls, le32_to_cpu(ms->m_remid), &lkb);
fs/dlm/lock.c
4587
if (error)
fs/dlm/lock.c
4588
return error;
fs/dlm/lock.c
4599
int error;
fs/dlm/lock.c
4604
error = validate_message(lkb, ms);
fs/dlm/lock.c
4605
if (error)
fs/dlm/lock.c
4608
error = remove_from_waiters_ms(lkb, ms, local);
fs/dlm/lock.c
4609
if (error)
fs/dlm/lock.c
4635
int error;
fs/dlm/lock.c
4637
error = find_lkb(ls, le32_to_cpu(ms->m_remid), &lkb);
fs/dlm/lock.c
4638
if (error)
fs/dlm/lock.c
4639
return error;
fs/dlm/lock.c
4650
int error;
fs/dlm/lock.c
4655
error = validate_message(lkb, ms);
fs/dlm/lock.c
4656
if (error)
fs/dlm/lock.c
4659
error = remove_from_waiters_ms(lkb, ms, local);
fs/dlm/lock.c
4660
if (error)
fs/dlm/lock.c
4687
int error;
fs/dlm/lock.c
4689
error = find_lkb(ls, le32_to_cpu(ms->m_remid), &lkb);
fs/dlm/lock.c
4690
if (error)
fs/dlm/lock.c
4691
return error;
fs/dlm/lock.c
4703
int error, ret_nodeid;
fs/dlm/lock.c
4706
error = find_lkb(ls, le32_to_cpu(ms->m_lkid), &lkb);
fs/dlm/lock.c
4707
if (error) {
fs/dlm/lock.c
4720
error = remove_from_waiters(lkb, DLM_MSG_LOOKUP_REPLY);
fs/dlm/lock.c
4721
if (error)
fs/dlm/lock.c
4781
int error = 0, noent = 0;
fs/dlm/lock.c
4797
error = receive_request(ls, ms);
fs/dlm/lock.c
4801
error = receive_convert(ls, ms);
fs/dlm/lock.c
4805
error = receive_unlock(ls, ms);
fs/dlm/lock.c
4810
error = receive_cancel(ls, ms);
fs/dlm/lock.c
4816
error = receive_request_reply(ls, ms);
fs/dlm/lock.c
4820
error = receive_convert_reply(ls, ms);
fs/dlm/lock.c
4824
error = receive_unlock_reply(ls, ms);
fs/dlm/lock.c
4828
error = receive_cancel_reply(ls, ms);
fs/dlm/lock.c
4835
error = receive_grant(ls, ms);
fs/dlm/lock.c
4840
error = receive_bast(ls, ms);
fs/dlm/lock.c
4881
if (error == -ENOENT && noent) {
fs/dlm/lock.c
4886
} else if (error == -ENOENT) {
fs/dlm/lock.c
4896
if (error == -EINVAL) {
fs/dlm/lock.c
5200
int error = 0, mstype, err, oc, ou;
fs/dlm/lock.c
5205
error = -EINTR;
fs/dlm/lock.c
5321
return error;
fs/dlm/lock.c
5587
int error;
fs/dlm/lock.c
5593
error = -EOPNOTSUPP;
fs/dlm/lock.c
5607
error = find_rsb(ls, rl->rl_name, le16_to_cpu(rl->rl_namelen),
fs/dlm/lock.c
5609
if (error)
fs/dlm/lock.c
5617
error = -EBADR;
fs/dlm/lock.c
5623
error = -EEXIST;
fs/dlm/lock.c
5627
error = create_lkb(ls, &lkb);
fs/dlm/lock.c
5628
if (error)
fs/dlm/lock.c
5631
error = receive_rcom_lock_args(ls, lkb, r, rc);
fs/dlm/lock.c
5632
if (error) {
fs/dlm/lock.c
5655
if (error && error != -EEXIST)
fs/dlm/lock.c
5657
from_nodeid, remid, error);
fs/dlm/lock.c
5658
*rl_result = cpu_to_le32(error);
fs/dlm/lock.c
5659
return error;
fs/dlm/lock.c
5670
int error, result;
fs/dlm/lock.c
5676
error = find_lkb(ls, lkid, &lkb);
fs/dlm/lock.c
5677
if (error) {
fs/dlm/lock.c
5681
return error;
fs/dlm/lock.c
5738
int error;
fs/dlm/lock.c
5742
error = create_lkb(ls, &lkb);
fs/dlm/lock.c
5743
if (error) {
fs/dlm/lock.c
5754
error = -ENOMEM;
fs/dlm/lock.c
5758
error = set_lock_args(mode, &ua->lksb, flags, namelen, fake_astfn, ua,
fs/dlm/lock.c
5760
if (error) {
fs/dlm/lock.c
5771
error = request_lock(ls, lkb, name, namelen, &args);
fs/dlm/lock.c
5773
switch (error) {
fs/dlm/lock.c
5777
error = 0;
fs/dlm/lock.c
5780
error = 0;
fs/dlm/lock.c
5793
trace_dlm_lock_end(ls, lkb, name, namelen, mode, flags, error, false);
fs/dlm/lock.c
5798
return error;
fs/dlm/lock.c
5807
int error;
fs/dlm/lock.c
5811
error = find_lkb(ls, lkid, &lkb);
fs/dlm/lock.c
5812
if (error)
fs/dlm/lock.c
5825
error = -ENOMEM;
fs/dlm/lock.c
5839
error = set_lock_args(mode, &ua->lksb, flags, 0, fake_astfn, ua,
fs/dlm/lock.c
5841
if (error)
fs/dlm/lock.c
5844
error = convert_lock(ls, lkb, &args);
fs/dlm/lock.c
5846
if (error == -EINPROGRESS || error == -EAGAIN || error == -EDEADLK)
fs/dlm/lock.c
5847
error = 0;
fs/dlm/lock.c
5849
trace_dlm_lock_end(ls, lkb, NULL, 0, mode, flags, error, false);
fs/dlm/lock.c
5854
return error;
fs/dlm/lock.c
5934
int error;
fs/dlm/lock.c
5938
error = find_lkb(ls, lkid, &lkb);
fs/dlm/lock.c
5939
if (error)
fs/dlm/lock.c
5952
error = set_unlock_args(flags, ua, &args);
fs/dlm/lock.c
5953
if (error)
fs/dlm/lock.c
5956
error = unlock_lock(ls, lkb, &args);
fs/dlm/lock.c
5958
if (error == -DLM_EUNLOCK)
fs/dlm/lock.c
5959
error = 0;
fs/dlm/lock.c
5961
if (error == -EBUSY && (flags & DLM_LKF_FORCEUNLOCK))
fs/dlm/lock.c
5962
error = 0;
fs/dlm/lock.c
5963
if (error)
fs/dlm/lock.c
5972
trace_dlm_unlock_end(ls, lkb, flags, error);
fs/dlm/lock.c
5977
return error;
fs/dlm/lock.c
5986
int error;
fs/dlm/lock.c
5990
error = find_lkb(ls, lkid, &lkb);
fs/dlm/lock.c
5991
if (error)
fs/dlm/lock.c
6001
error = set_unlock_args(flags, ua, &args);
fs/dlm/lock.c
6002
if (error)
fs/dlm/lock.c
6005
error = cancel_lock(ls, lkb, &args);
fs/dlm/lock.c
6007
if (error == -DLM_ECANCEL)
fs/dlm/lock.c
6008
error = 0;
fs/dlm/lock.c
6010
if (error == -EBUSY)
fs/dlm/lock.c
6011
error = 0;
fs/dlm/lock.c
6013
trace_dlm_unlock_end(ls, lkb, flags, error);
fs/dlm/lock.c
6018
return error;
fs/dlm/lock.c
6027
int error;
fs/dlm/lock.c
6031
error = find_lkb(ls, lkid, &lkb);
fs/dlm/lock.c
6032
if (error)
fs/dlm/lock.c
6039
error = set_unlock_args(flags, ua, &args);
fs/dlm/lock.c
6040
if (error)
fs/dlm/lock.c
6049
error = validate_unlock_args(lkb, &args);
fs/dlm/lock.c
6050
if (error)
fs/dlm/lock.c
6054
error = _cancel_lock(r, lkb);
fs/dlm/lock.c
6059
if (error == -DLM_ECANCEL)
fs/dlm/lock.c
6060
error = 0;
fs/dlm/lock.c
6062
if (error == -EBUSY)
fs/dlm/lock.c
6063
error = 0;
fs/dlm/lock.c
6065
trace_dlm_unlock_end(ls, lkb, flags, error);
fs/dlm/lock.c
6069
return error;
fs/dlm/lock.c
6078
int error;
fs/dlm/lock.c
6087
error = cancel_lock(ls, lkb, &args);
fs/dlm/lock.c
6088
if (error == -DLM_ECANCEL)
fs/dlm/lock.c
6089
error = 0;
fs/dlm/lock.c
6090
return error;
fs/dlm/lock.c
6101
int error;
fs/dlm/lock.c
6106
error = unlock_lock(ls, lkb, &args);
fs/dlm/lock.c
6107
if (error == -DLM_EUNLOCK)
fs/dlm/lock.c
6108
error = 0;
fs/dlm/lock.c
6109
return error;
fs/dlm/lock.c
6248
int error;
fs/dlm/lock.c
6250
error = _create_message(ls, sizeof(struct dlm_message), nodeid,
fs/dlm/lock.c
6252
if (error)
fs/dlm/lock.c
6253
return error;
fs/dlm/lock.c
6263
int error = 0;
fs/dlm/lock.c
6266
error = send_purge(ls, nodeid, pid);
fs/dlm/lock.c
6275
return error;
fs/dlm/lock.c
6285
int error;
fs/dlm/lock.c
6295
error = _create_lkb(ls, &lkb, lkb_id, lkb_id + 1);
fs/dlm/lock.c
6296
if (error) {
fs/dlm/lock.c
6298
return error;
fs/dlm/lock.c
6308
error = find_rsb(ls, name, len, 0, R_REQUEST, &r);
fs/dlm/lock.c
6309
if (error) {
fs/dlm/lock.c
6312
return error;
fs/dlm/lock.c
6328
int error;
fs/dlm/lock.c
6330
error = find_lkb(ls, lkb_id, &lkb);
fs/dlm/lock.c
6331
if (error)
fs/dlm/lock.c
6332
return error;
fs/dlm/lock.c
705
int error;
fs/dlm/lock.c
737
error = dlm_search_rsb_tree(&ls->ls_rsbtbl, name, len, &r);
fs/dlm/lock.c
738
if (error)
fs/dlm/lock.c
745
error = -EBADR;
fs/dlm/lock.c
789
error = -EBADR;
fs/dlm/lock.c
807
error = -ENOTBLK;
fs/dlm/lock.c
849
if (error == -EBADR && !create)
fs/dlm/lock.c
852
error = get_rsb_struct(ls, name, len, &r);
fs/dlm/lock.c
853
if (WARN_ON_ONCE(error))
fs/dlm/lock.c
875
error = -ENOTBLK;
fs/dlm/lock.c
898
error = rsb_insert(r, &ls->ls_rsbtbl);
fs/dlm/lock.c
899
if (error == -EEXIST) {
fs/dlm/lock.c
906
} else if (!error) {
fs/dlm/lock.c
912
return error;
fs/dlm/lock.c
926
int error;
fs/dlm/lock.c
929
error = dlm_search_rsb_tree(&ls->ls_rsbtbl, name, len, &r);
fs/dlm/lock.c
930
if (error)
fs/dlm/lock.c
983
error = -ENOTBLK;
fs/dlm/lockspace.c
313
int error;
fs/dlm/lockspace.c
316
error = dlm_midcomms_start();
fs/dlm/lockspace.c
317
if (error)
fs/dlm/lockspace.c
318
log_print("cannot start dlm midcomms %d", error);
fs/dlm/lockspace.c
320
return error;
fs/dlm/lockspace.c
368
int error;
fs/dlm/lockspace.c
381
error = -EUNATCH;
fs/dlm/lockspace.c
401
error = -EBADR;
fs/dlm/lockspace.c
405
error = 0;
fs/dlm/lockspace.c
415
error = -EEXIST;
fs/dlm/lockspace.c
420
error = 1;
fs/dlm/lockspace.c
425
if (error)
fs/dlm/lockspace.c
428
error = -ENOMEM;
fs/dlm/lockspace.c
458
error = rhashtable_init(&ls->ls_rsbtbl, &dlm_rhash_rsb_params);
fs/dlm/lockspace.c
459
if (error)
fs/dlm/lockspace.c
514
error = -ENOMEM;
fs/dlm/lockspace.c
546
error = dlm_callback_start(ls);
fs/dlm/lockspace.c
547
if (error) {
fs/dlm/lockspace.c
548
log_error(ls, "can't start dlm_callback %d", error);
fs/dlm/lockspace.c
561
error = dlm_recoverd_start(ls);
fs/dlm/lockspace.c
562
if (error) {
fs/dlm/lockspace.c
563
log_error(ls, "can't start dlm_recoverd %d", error);
fs/dlm/lockspace.c
571
error = kobject_init_and_add(&ls->ls_kobj, &dlm_ktype, NULL,
fs/dlm/lockspace.c
573
if (error)
fs/dlm/lockspace.c
583
error = do_uevent(ls, 1, 0);
fs/dlm/lockspace.c
584
if (error < 0)
fs/dlm/lockspace.c
589
error = ls->ls_recovery_result;
fs/dlm/lockspace.c
590
if (error)
fs/dlm/lockspace.c
621
return error;
fs/dlm/lockspace.c
630
int error = 0;
fs/dlm/lockspace.c
634
error = threads_start();
fs/dlm/lockspace.c
635
if (error)
fs/dlm/lockspace.c
638
error = new_lockspace(name, cluster, flags, lvblen, ops, ops_arg,
fs/dlm/lockspace.c
640
if (!error)
fs/dlm/lockspace.c
642
if (error > 0)
fs/dlm/lockspace.c
643
error = 0;
fs/dlm/lockspace.c
650
return error;
fs/dlm/lockspace.c
798
int error;
fs/dlm/lockspace.c
809
error = release_lockspace(ls, release_option);
fs/dlm/lockspace.c
810
if (!error)
fs/dlm/lockspace.c
816
return error;
fs/dlm/lowcomms.c
1912
int error;
fs/dlm/lowcomms.c
1916
error = -ENOTCONN;
fs/dlm/lowcomms.c
1921
error = work_start();
fs/dlm/lowcomms.c
1922
if (error)
fs/dlm/lowcomms.c
1936
error = -EINVAL;
fs/dlm/lowcomms.c
1940
error = dlm_listen_for_all();
fs/dlm/lowcomms.c
1941
if (error)
fs/dlm/lowcomms.c
1951
return error;
fs/dlm/main.c
29
int error;
fs/dlm/main.c
31
error = dlm_memory_init();
fs/dlm/main.c
32
if (error)
fs/dlm/main.c
37
error = dlm_lockspace_init();
fs/dlm/main.c
38
if (error)
fs/dlm/main.c
41
error = dlm_config_init();
fs/dlm/main.c
42
if (error)
fs/dlm/main.c
47
error = dlm_user_init();
fs/dlm/main.c
48
if (error)
fs/dlm/main.c
51
error = dlm_plock_init();
fs/dlm/main.c
52
if (error)
fs/dlm/main.c
57
error = -ENOMEM;
fs/dlm/main.c
78
return error;
fs/dlm/member.c
308
int error;
fs/dlm/member.c
313
error = dlm_lowcomms_connect_node(nodeid);
fs/dlm/member.c
314
if (error < 0)
fs/dlm/member.c
315
return error;
fs/dlm/member.c
324
int error;
fs/dlm/member.c
334
error = add_remote_member(node->nodeid);
fs/dlm/member.c
335
if (error < 0) {
fs/dlm/member.c
337
return error;
fs/dlm/member.c
453
int error = 0;
fs/dlm/member.c
457
error = -EINTR;
fs/dlm/member.c
460
error = dlm_rcom_status(ls, memb->nodeid, 0, seq);
fs/dlm/member.c
461
if (error)
fs/dlm/member.c
464
if (error)
fs/dlm/member.c
466
error, ls->ls_recover_nodeid);
fs/dlm/member.c
467
return error;
fs/dlm/member.c
482
int error;
fs/dlm/member.c
493
error = dlm_comm_seq(memb->nodeid, &seq, false);
fs/dlm/member.c
495
if (!release_recover && !error && seq == memb->comm_seq)
fs/dlm/member.c
551
int i, error, neg = 0, low = -1;
fs/dlm/member.c
607
error = dlm_add_member(ls, node);
fs/dlm/member.c
608
if (error)
fs/dlm/member.c
609
return error;
fs/dlm/member.c
623
error = ping_members(ls, rv->seq);
fs/dlm/member.c
625
return error;
fs/dlm/member.c
727
int error, count;
fs/dlm/member.c
733
error = dlm_config_nodes(ls->ls_name, &nodes, &count);
fs/dlm/member.c
734
if (error < 0)
fs/dlm/member.c
744
error = -EINVAL;
fs/dlm/member.c
770
return error;
fs/dlm/rcom.c
176
int error = 0;
fs/dlm/rcom.c
187
error = create_rcom_stateless(ls, nodeid, DLM_RCOM_STATUS,
fs/dlm/rcom.c
190
if (error)
fs/dlm/rcom.c
200
error = dlm_wait_function(ls, &rcom_response);
fs/dlm/rcom.c
202
if (error == -ETIMEDOUT)
fs/dlm/rcom.c
204
if (error)
fs/dlm/rcom.c
213
error = 0;
fs/dlm/rcom.c
215
error = check_rcom_config(ls, rc, nodeid);
fs/dlm/rcom.c
220
return error;
fs/dlm/rcom.c
234
int error;
fs/dlm/rcom.c
255
error = create_rcom_stateless(ls, nodeid, DLM_RCOM_STATUS_REPLY,
fs/dlm/rcom.c
257
if (error)
fs/dlm/rcom.c
312
int error = 0;
fs/dlm/rcom.c
317
error = create_rcom(ls, nodeid, DLM_RCOM_NAMES, last_len,
fs/dlm/rcom.c
319
if (error)
fs/dlm/rcom.c
328
error = dlm_wait_function(ls, &rcom_response);
fs/dlm/rcom.c
330
if (error == -ETIMEDOUT)
fs/dlm/rcom.c
333
return error;
fs/dlm/rcom.c
341
int error, inlen, outlen, nodeid;
fs/dlm/rcom.c
348
error = create_rcom(ls, nodeid, DLM_RCOM_NAMES_REPLY, outlen,
fs/dlm/rcom.c
350
if (error)
fs/dlm/rcom.c
365
int error;
fs/dlm/rcom.c
367
error = create_rcom(ls, dir_nodeid, DLM_RCOM_LOOKUP, r->res_length,
fs/dlm/rcom.c
369
if (error)
fs/dlm/rcom.c
376
return error;
fs/dlm/rcom.c
384
int error, ret_nodeid, nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid);
fs/dlm/rcom.c
395
error = create_rcom(ls, nodeid, DLM_RCOM_LOOKUP_REPLY, 0, &rc, &mh,
fs/dlm/rcom.c
397
if (error)
fs/dlm/rcom.c
400
error = dlm_master_lookup(ls, nodeid, rc_in->rc_buf, len,
fs/dlm/rcom.c
402
if (error)
fs/dlm/rcom.c
403
ret_nodeid = error;
fs/dlm/rcom.c
453
int error, len = sizeof(struct rcom_lock);
fs/dlm/rcom.c
458
error = create_rcom(ls, r->res_nodeid, DLM_RCOM_LOCK, len, &rc, &mh,
fs/dlm/rcom.c
460
if (error)
fs/dlm/rcom.c
469
return error;
fs/dlm/rcom.c
480
int error, nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid);
fs/dlm/rcom.c
484
error = create_rcom(ls, nodeid, DLM_RCOM_LOCK_REPLY,
fs/dlm/rcom.c
486
if (error)
fs/dlm/recover.c
100
int error = 0, delay;
fs/dlm/recover.c
106
error = -EINTR;
fs/dlm/recover.c
110
error = dlm_rcom_status(ls, memb->nodeid, 0, seq);
fs/dlm/recover.c
111
if (error)
fs/dlm/recover.c
125
return error;
fs/dlm/recover.c
132
int error = 0, delay = 0, nodeid = ls->ls_low_nodeid;
fs/dlm/recover.c
136
error = -EINTR;
fs/dlm/recover.c
140
error = dlm_rcom_status(ls, nodeid, status_flags, seq);
fs/dlm/recover.c
141
if (error)
fs/dlm/recover.c
151
return error;
fs/dlm/recover.c
157
int error;
fs/dlm/recover.c
160
error = wait_status_all(ls, status, 0, seq);
fs/dlm/recover.c
161
if (!error)
fs/dlm/recover.c
164
error = wait_status_low(ls, status_all, 0, seq);
fs/dlm/recover.c
166
return error;
fs/dlm/recover.c
174
int error, rv;
fs/dlm/recover.c
183
error = wait_status_all(ls, DLM_RS_NODES, 1, seq);
fs/dlm/recover.c
184
if (error)
fs/dlm/recover.c
202
error = wait_status_low(ls, DLM_RS_NODES_ALL,
fs/dlm/recover.c
204
if (error)
fs/dlm/recover.c
210
return error;
fs/dlm/recover.c
44
int error = 0;
fs/dlm/recover.c
453
int error;
fs/dlm/recover.c
477
error = 0;
fs/dlm/recover.c
480
error = dlm_send_rcom_lookup(r, dir_nodeid, seq);
fs/dlm/recover.c
484
return error;
fs/dlm/recover.c
535
int error;
fs/dlm/recover.c
541
error = -EINTR;
fs/dlm/recover.c
547
error = recover_master_static(r, &count);
fs/dlm/recover.c
549
error = recover_master(r, &count, seq);
fs/dlm/recover.c
554
if (error)
fs/dlm/recover.c
560
error = dlm_wait_function(ls, &recover_xa_empty);
fs/dlm/recover.c
562
if (error)
fs/dlm/recover.c
564
return error;
fs/dlm/recover.c
61
error = -EINTR;
fs/dlm/recover.c
622
int error = 0;
fs/dlm/recover.c
625
error = dlm_send_rcom_lock(r, lkb, seq);
fs/dlm/recover.c
626
if (error)
fs/dlm/recover.c
63
return error;
fs/dlm/recover.c
631
return error;
fs/dlm/recover.c
636
int error = 0;
fs/dlm/recover.c
642
error = recover_locks_queue(r, &r->res_grantqueue, seq);
fs/dlm/recover.c
643
if (error)
fs/dlm/recover.c
645
error = recover_locks_queue(r, &r->res_convertqueue, seq);
fs/dlm/recover.c
646
if (error)
fs/dlm/recover.c
648
error = recover_locks_queue(r, &r->res_waitqueue, seq);
fs/dlm/recover.c
649
if (error)
fs/dlm/recover.c
658
return error;
fs/dlm/recover.c
665
int error, count = 0;
fs/dlm/recover.c
677
error = -EINTR;
fs/dlm/recover.c
681
error = recover_locks(r, seq);
fs/dlm/recover.c
682
if (error)
fs/dlm/recover.c
690
error = dlm_wait_function(ls, &recover_list_empty);
fs/dlm/recover.c
692
if (error)
fs/dlm/recover.c
694
return error;
fs/dlm/recoverd.c
114
error = 0;
fs/dlm/recoverd.c
119
return error;
fs/dlm/recoverd.c
126
int error, neg = 0;
fs/dlm/recoverd.c
151
error = dlm_recover_members(ls, rv, &neg);
fs/dlm/recoverd.c
152
if (error) {
fs/dlm/recoverd.c
153
log_rinfo(ls, "dlm_recover_members error %d", error);
fs/dlm/recoverd.c
170
error = dlm_create_masters_list(ls);
fs/dlm/recoverd.c
171
if (error) {
fs/dlm/recoverd.c
172
log_rinfo(ls, "dlm_create_masters_list error %d", error);
fs/dlm/recoverd.c
180
error = dlm_recover_members_wait(ls, rv->seq);
fs/dlm/recoverd.c
181
if (error) {
fs/dlm/recoverd.c
182
log_rinfo(ls, "dlm_recover_members_wait error %d", error);
fs/dlm/recoverd.c
194
error = dlm_recover_directory(ls, rv->seq);
fs/dlm/recoverd.c
195
if (error) {
fs/dlm/recoverd.c
196
log_rinfo(ls, "dlm_recover_directory error %d", error);
fs/dlm/recoverd.c
203
error = dlm_recover_directory_wait(ls, rv->seq);
fs/dlm/recoverd.c
204
if (error) {
fs/dlm/recoverd.c
205
log_rinfo(ls, "dlm_recover_directory_wait error %d", error);
fs/dlm/recoverd.c
221
error = -EINTR;
fs/dlm/recoverd.c
237
error = dlm_recover_masters(ls, rv->seq, &root_list);
fs/dlm/recoverd.c
238
if (error) {
fs/dlm/recoverd.c
239
log_rinfo(ls, "dlm_recover_masters error %d", error);
fs/dlm/recoverd.c
247
error = dlm_recover_locks(ls, rv->seq, &root_list);
fs/dlm/recoverd.c
248
if (error) {
fs/dlm/recoverd.c
249
log_rinfo(ls, "dlm_recover_locks error %d", error);
fs/dlm/recoverd.c
255
error = dlm_recover_locks_wait(ls, rv->seq);
fs/dlm/recoverd.c
256
if (error) {
fs/dlm/recoverd.c
257
log_rinfo(ls, "dlm_recover_locks_wait error %d", error);
fs/dlm/recoverd.c
26
int error = 0;
fs/dlm/recoverd.c
279
error = dlm_recover_locks_wait(ls, rv->seq);
fs/dlm/recoverd.c
280
if (error) {
fs/dlm/recoverd.c
281
log_rinfo(ls, "dlm_recover_locks_wait error %d", error);
fs/dlm/recoverd.c
298
error = dlm_recover_done_wait(ls, rv->seq);
fs/dlm/recoverd.c
299
if (error) {
fs/dlm/recoverd.c
300
log_rinfo(ls, "dlm_recover_done_wait error %d", error);
fs/dlm/recoverd.c
308
error = enable_locking(ls, rv->seq);
fs/dlm/recoverd.c
309
if (error) {
fs/dlm/recoverd.c
31
error = -EINVAL;
fs/dlm/recoverd.c
310
log_rinfo(ls, "enable_locking error %d", error);
fs/dlm/recoverd.c
314
error = dlm_process_requestqueue(ls);
fs/dlm/recoverd.c
315
if (error) {
fs/dlm/recoverd.c
316
log_rinfo(ls, "dlm_process_requestqueue error %d", error);
fs/dlm/recoverd.c
320
error = dlm_recover_waiters_post(ls);
fs/dlm/recoverd.c
321
if (error) {
fs/dlm/recoverd.c
322
log_rinfo(ls, "dlm_recover_waiters_post error %d", error);
fs/dlm/recoverd.c
340
return error;
fs/dlm/recoverd.c
350
int error;
fs/dlm/recoverd.c
360
error = ls_recover(ls, rv);
fs/dlm/recoverd.c
361
switch (error) {
fs/dlm/recoverd.c
377
(unsigned long long)rv->seq, error);
fs/dlm/recoverd.c
380
ls->ls_recovery_result = error;
fs/dlm/recoverd.c
443
int error = 0;
fs/dlm/recoverd.c
447
error = PTR_ERR(p);
fs/dlm/recoverd.c
450
return error;
fs/dlm/recoverd.c
46
return error;
fs/dlm/recoverd.c
94
int error = -EINTR;
fs/dlm/requestqueue.c
105
return error;
fs/dlm/requestqueue.c
69
int error = 0;
fs/dlm/requestqueue.c
75
error = 0;
fs/dlm/requestqueue.c
96
error = -EINTR;
fs/dlm/user.c
254
int error = -ENOMEM;
fs/dlm/user.c
261
error = -EINVAL;
fs/dlm/user.c
277
error = dlm_user_convert(ls, ua,
fs/dlm/user.c
281
error = dlm_user_adopt_orphan(ls, ua,
fs/dlm/user.c
285
if (!error)
fs/dlm/user.c
286
error = lkid;
fs/dlm/user.c
288
error = dlm_user_request(ls, ua,
fs/dlm/user.c
291
if (!error)
fs/dlm/user.c
292
error = ua->lksb.sb_lkid;
fs/dlm/user.c
296
return error;
fs/dlm/user.c
304
int error = -ENOMEM;
fs/dlm/user.c
319
error = dlm_user_cancel(ls, ua, params->flags, params->lkid);
fs/dlm/user.c
321
error = dlm_user_unlock(ls, ua, params->flags, params->lkid,
fs/dlm/user.c
325
return error;
fs/dlm/user.c
332
int error;
fs/dlm/user.c
338
error = dlm_user_deadlock(ls, params->flags, params->lkid);
fs/dlm/user.c
341
return error;
fs/dlm/user.c
346
int error, len;
fs/dlm/user.c
353
error = -ENOMEM;
fs/dlm/user.c
364
error = misc_register(&ls->ls_device);
fs/dlm/user.c
365
if (error) {
fs/dlm/user.c
373
return error;
fs/dlm/user.c
393
int error;
fs/dlm/user.c
399
error = dlm_user_purge(ls, proc, params->nodeid, params->pid);
fs/dlm/user.c
402
return error;
fs/dlm/user.c
409
int error;
fs/dlm/user.c
414
error = dlm_new_user_lockspace(params->name, dlm_config.ci_cluster_name,
fs/dlm/user.c
417
if (error)
fs/dlm/user.c
418
return error;
fs/dlm/user.c
424
error = dlm_device_register(ls, params->name);
fs/dlm/user.c
427
if (error)
fs/dlm/user.c
430
error = ls->ls_device.minor;
fs/dlm/user.c
432
return error;
fs/dlm/user.c
439
int error, force = DLM_RELEASE_NO_LOCKS;
fs/dlm/user.c
461
error = dlm_release_lockspace(lockspace, force);
fs/dlm/user.c
462
if (error > 0)
fs/dlm/user.c
463
error = 0;
fs/dlm/user.c
464
return error;
fs/dlm/user.c
515
int error;
fs/dlm/user.c
536
error = -EBADE;
fs/dlm/user.c
569
error = -EINVAL;
fs/dlm/user.c
573
error = -EINVAL;
fs/dlm/user.c
582
error = device_user_lock(proc, &kbuf->i.lock);
fs/dlm/user.c
590
error = device_user_unlock(proc, &kbuf->i.lock);
fs/dlm/user.c
598
error = device_user_deadlock(proc, &kbuf->i.lock);
fs/dlm/user.c
606
error = device_create_lockspace(&kbuf->i.lspace);
fs/dlm/user.c
614
error = device_remove_lockspace(&kbuf->i.lspace);
fs/dlm/user.c
622
error = device_user_purge(proc, &kbuf->i.purge);
fs/dlm/user.c
632
return error;
fs/dlm/user.c
704
int error=0;
fs/dlm/user.c
744
error = -EFAULT;
fs/dlm/user.c
762
error = -EFAULT;
fs/dlm/user.c
764
error = len;
fs/dlm/user.c
766
return error;
fs/dlm/user.c
965
int error;
fs/dlm/user.c
969
error = misc_register(&ctl_device);
fs/dlm/user.c
970
if (error) {
fs/dlm/user.c
975
error = misc_register(&monitor_device);
fs/dlm/user.c
976
if (error) {
fs/dlm/user.c
981
return error;
fs/ecryptfs/mmap.c
34
int error;
fs/ecryptfs/mmap.c
36
while ((folio = writeback_iter(mapping, wbc, folio, &error))) {
fs/ecryptfs/mmap.c
37
error = ecryptfs_encrypt_page(folio);
fs/ecryptfs/mmap.c
38
if (error) {
fs/ecryptfs/mmap.c
43
mapping_set_error(mapping, error);
fs/ecryptfs/mmap.c
48
return error;
fs/efivarfs/inode.c
177
int error;
fs/efivarfs/inode.c
179
error = setattr_prepare(idmap, dentry, iattr);
fs/efivarfs/inode.c
180
if (error)
fs/efivarfs/inode.c
181
return error;
fs/efs/file.c
16
int error = -EROFS;
fs/efs/file.c
20
return error;
fs/erofs/fscache.c
225
req->error = ret;
fs/erofs/fscache.c
233
req->error = ret;
fs/erofs/fscache.c
28
short error; /* 0 or error that occurred */
fs/erofs/fscache.c
320
req->error = ret;
fs/erofs/fscache.c
45
bool failed = req->error;
fs/erofs/fscache.c
98
req->error = transferred_or_error;
fs/eventpoll.c
1444
int error = 0;
fs/eventpoll.c
1454
error = path_count_inc(depth);
fs/eventpoll.c
1456
error = reverse_path_check_proc(refs, depth + 1);
fs/eventpoll.c
1457
if (error != 0)
fs/eventpoll.c
1460
return error;
fs/eventpoll.c
1478
int error;
fs/eventpoll.c
1481
error = reverse_path_check_proc(&p->epitems, 0);
fs/eventpoll.c
1483
if (error)
fs/eventpoll.c
1484
return error;
fs/eventpoll.c
1567
int error, pwake = 0;
fs/eventpoll.c
1630
error = ep_create_wakeup_source(epi);
fs/eventpoll.c
1631
if (error) {
fs/eventpoll.c
1633
return error;
fs/eventpoll.c
2169
int error;
fs/eventpoll.c
2180
error = ep_alloc(&ep);
fs/eventpoll.c
2181
if (error < 0)
fs/eventpoll.c
2182
return error;
fs/eventpoll.c
2239
int error;
fs/eventpoll.c
2267
error = -EINVAL;
fs/eventpoll.c
2305
error = epoll_mutex_lock(&ep->mtx, 0, nonblock);
fs/eventpoll.c
2306
if (error)
fs/eventpoll.c
2312
error = epoll_mutex_lock(&epnested_mutex, 0, nonblock);
fs/eventpoll.c
2313
if (error)
fs/eventpoll.c
2319
error = -ELOOP;
fs/eventpoll.c
2323
error = epoll_mutex_lock(&ep->mtx, 0, nonblock);
fs/eventpoll.c
2324
if (error)
fs/eventpoll.c
2336
error = -EINVAL;
fs/eventpoll.c
2341
error = ep_insert(ep, epds, fd_file(tf), fd, full_check);
fs/eventpoll.c
2343
error = -EEXIST;
fs/eventpoll.c
2352
error = 0;
fs/eventpoll.c
2354
error = -ENOENT;
fs/eventpoll.c
2361
error = ep_modify(ep, epi, epds);
fs/eventpoll.c
2364
error = -ENOENT;
fs/eventpoll.c
2375
return error;
fs/eventpoll.c
2482
int error;
fs/eventpoll.c
2488
error = set_user_sigmask(sigmask, sigsetsize);
fs/eventpoll.c
2489
if (error)
fs/eventpoll.c
2490
return error;
fs/eventpoll.c
2492
error = do_epoll_wait(epfd, events, maxevents, to);
fs/eventpoll.c
2494
restore_saved_sigmask_unless(error == -EINTR);
fs/eventpoll.c
2496
return error;
fs/exec.c
1978
int error = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
fs/exec.c
1980
if (!error && write)
fs/exec.c
1982
return error;
fs/exfat/file.c
291
int error;
fs/exfat/file.c
298
error = exfat_cont_expand(inode, attr->ia_size);
fs/exfat/file.c
299
if (error || attr->ia_valid == ATTR_SIZE)
fs/exfat/file.c
300
return error;
fs/exfat/file.c
312
error = setattr_prepare(idmap, dentry, attr);
fs/exfat/file.c
314
if (error)
fs/exfat/file.c
325
error = -EPERM;
fs/exfat/file.c
345
error = exfat_block_truncate_page(inode, attr->ia_size);
fs/exfat/file.c
346
if (error)
fs/exfat/file.c
362
return error;
fs/exportfs/expfs.c
279
int error;
fs/exportfs/expfs.c
292
error = -ENOTDIR;
fs/exportfs/expfs.c
295
error = -EINVAL;
fs/exportfs/expfs.c
304
error = vfs_getattr_nosec(&child_path, &stat,
fs/exportfs/expfs.c
306
if (error)
fs/exportfs/expfs.c
307
return error;
fs/exportfs/expfs.c
313
error = PTR_ERR(file);
fs/exportfs/expfs.c
317
error = -EINVAL;
fs/exportfs/expfs.c
325
error = iterate_dir(file, &buffer.ctx);
fs/exportfs/expfs.c
327
error = 0;
fs/exportfs/expfs.c
331
if (error < 0)
fs/exportfs/expfs.c
334
error = -ENOENT;
fs/exportfs/expfs.c
342
return error;
fs/exportfs/expfs.c
418
int error;
fs/exportfs/expfs.c
431
error = exportfs_encode_inode_fh(inode, fid, max_len, parent, flags);
fs/exportfs/expfs.c
434
return error;
fs/ext2/acl.c
188
int error;
fs/ext2/acl.c
210
error = ext2_xattr_set(inode, name_index, "", value, size, 0);
fs/ext2/acl.c
213
if (!error)
fs/ext2/acl.c
215
return error;
fs/ext2/acl.c
225
int error;
fs/ext2/acl.c
231
error = posix_acl_update_mode(&nop_mnt_idmap, inode, &mode,
fs/ext2/acl.c
233
if (error)
fs/ext2/acl.c
234
return error;
fs/ext2/acl.c
237
error = __ext2_set_acl(inode, acl, type);
fs/ext2/acl.c
238
if (!error && update_mode) {
fs/ext2/acl.c
243
return error;
fs/ext2/acl.c
256
int error;
fs/ext2/acl.c
258
error = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl);
fs/ext2/acl.c
259
if (error)
fs/ext2/acl.c
260
return error;
fs/ext2/acl.c
263
error = __ext2_set_acl(inode, default_acl, ACL_TYPE_DEFAULT);
fs/ext2/acl.c
269
if (!error)
fs/ext2/acl.c
270
error = __ext2_set_acl(inode, acl, ACL_TYPE_ACCESS);
fs/ext2/acl.c
275
return error;
fs/ext2/dir.c
109
char *error;
fs/ext2/dir.c
148
error = "rec_len is smaller than minimal";
fs/ext2/dir.c
151
error = "unaligned directory entry";
fs/ext2/dir.c
154
error = "rec_len is too small for name_len";
fs/ext2/dir.c
157
error = "directory entry across blocks";
fs/ext2/dir.c
160
error = "inode out of bounds";
fs/ext2/dir.c
165
dir->i_ino, error, folio_pos(folio) + offs,
fs/ext2/file.c
185
int error, unsigned int flags)
fs/ext2/file.c
190
if (error)
fs/ext2/file.c
207
trace_ext2_dio_write_endio(iocb, size, error);
fs/ext2/file.c
208
return error;
fs/ext2/inode.c
1277
int error;
fs/ext2/inode.c
1290
error = dax_truncate_page(inode, newsize, NULL,
fs/ext2/inode.c
1293
error = block_truncate_page(inode->i_mapping,
fs/ext2/inode.c
1295
if (error)
fs/ext2/inode.c
1296
return error;
fs/ext2/inode.c
1651
int error;
fs/ext2/inode.c
1653
error = setattr_prepare(&nop_mnt_idmap, dentry, iattr);
fs/ext2/inode.c
1654
if (error)
fs/ext2/inode.c
1655
return error;
fs/ext2/inode.c
1658
error = dquot_initialize(inode);
fs/ext2/inode.c
1659
if (error)
fs/ext2/inode.c
1660
return error;
fs/ext2/inode.c
1664
error = dquot_transfer(&nop_mnt_idmap, inode, iattr);
fs/ext2/inode.c
1665
if (error)
fs/ext2/inode.c
1666
return error;
fs/ext2/inode.c
1669
error = ext2_setsize(inode, iattr->ia_size);
fs/ext2/inode.c
1670
if (error)
fs/ext2/inode.c
1671
return error;
fs/ext2/inode.c
1675
error = posix_acl_chmod(&nop_mnt_idmap, dentry, inode->i_mode);
fs/ext2/inode.c
1678
return error;
fs/ext2/xattr.c
203
int error, not_found;
fs/ext2/xattr.c
216
error = -ENODATA;
fs/ext2/xattr.c
221
error = -EIO;
fs/ext2/xattr.c
232
error = -EIO;
fs/ext2/xattr.c
254
error = -ENODATA;
fs/ext2/xattr.c
261
error = -ERANGE;
fs/ext2/xattr.c
268
error = size;
fs/ext2/xattr.c
274
return error;
fs/ext2/xattr.c
295
int error;
fs/ext2/xattr.c
302
error = 0;
fs/ext2/xattr.c
307
error = -EIO;
fs/ext2/xattr.c
318
error = -EIO;
fs/ext2/xattr.c
345
error = -ERANGE;
fs/ext2/xattr.c
357
error = buffer_size - rest; /* total size */
fs/ext2/xattr.c
363
return error;
fs/ext2/xattr.c
414
int not_found = 1, error;
fs/ext2/xattr.c
439
error = dquot_initialize(inode);
fs/ext2/xattr.c
440
if (error)
fs/ext2/xattr.c
441
return error;
fs/ext2/xattr.c
446
error = -EIO;
fs/ext2/xattr.c
459
error = -EIO;
fs/ext2/xattr.c
498
error = -ENODATA;
fs/ext2/xattr.c
501
error = 0;
fs/ext2/xattr.c
506
error = -EEXIST;
fs/ext2/xattr.c
512
error = -ENOSPC;
fs/ext2/xattr.c
540
error = -ENOMEM;
fs/ext2/xattr.c
552
error = -ENOMEM;
fs/ext2/xattr.c
636
error = ext2_xattr_set2(inode, bh, NULL);
fs/ext2/xattr.c
641
error = ext2_xattr_set2(inode, bh, header);
fs/ext2/xattr.c
650
return error;
fs/ext2/xattr.c
711
int error;
fs/ext2/xattr.c
725
error = dquot_alloc_block(inode, 1);
fs/ext2/xattr.c
726
if (error) {
fs/ext2/xattr.c
747
&count, &error,
fs/ext2/xattr.c
749
if (error)
fs/ext2/xattr.c
757
error = -ENOMEM;
fs/ext2/xattr.c
771
error = -EIO;
fs/ext2/xattr.c
781
error = sync_inode_metadata(inode, 1);
fs/ext2/xattr.c
785
if (error && error != -ENOSPC) {
fs/ext2/xattr.c
795
error = 0;
fs/ext2/xattr.c
807
return error;
fs/ext2/xattr.c
875
int error;
fs/ext2/xattr.c
877
error = mb_cache_entry_create(cache, GFP_KERNEL, hash, bh->b_blocknr,
fs/ext2/xattr.c
879
if (error) {
fs/ext2/xattr.c
880
if (error == -EBUSY) {
fs/ext2/xattr.c
882
error = 0;
fs/ext2/xattr.c
886
return error;
fs/ext4/acl.c
195
int error;
fs/ext4/acl.c
217
error = ext4_xattr_set_handle(handle, inode, name_index, "",
fs/ext4/acl.c
221
if (!error)
fs/ext4/acl.c
224
return error;
fs/ext4/acl.c
232
int error, credits, retries = 0;
fs/ext4/acl.c
238
error = dquot_initialize(inode);
fs/ext4/acl.c
239
if (error)
fs/ext4/acl.c
240
return error;
fs/ext4/acl.c
242
error = ext4_xattr_set_credits(inode, acl_size, false /* is_create */,
fs/ext4/acl.c
244
if (error)
fs/ext4/acl.c
245
return error;
fs/ext4/acl.c
252
error = posix_acl_update_mode(idmap, inode, &mode, &acl);
fs/ext4/acl.c
253
if (error)
fs/ext4/acl.c
259
error = __ext4_set_acl(handle, inode, type, acl, 0 /* xattr_flags */);
fs/ext4/acl.c
260
if (!error && update_mode) {
fs/ext4/acl.c
263
error = ext4_mark_inode_dirty(handle, inode);
fs/ext4/acl.c
267
if (error == -ENOSPC && ext4_should_retry_alloc(inode->i_sb, &retries))
fs/ext4/acl.c
269
return error;
fs/ext4/acl.c
282
int error;
fs/ext4/acl.c
284
error = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl);
fs/ext4/acl.c
285
if (error)
fs/ext4/acl.c
286
return error;
fs/ext4/acl.c
289
error = __ext4_set_acl(handle, inode, ACL_TYPE_DEFAULT,
fs/ext4/acl.c
296
if (!error)
fs/ext4/acl.c
297
error = __ext4_set_acl(handle, inode, ACL_TYPE_ACCESS,
fs/ext4/acl.c
303
return error;
fs/ext4/extents.c
5116
int error = 0;
fs/ext4/extents.c
5124
error = ext4_get_inode_loc(inode, &iloc);
fs/ext4/extents.c
5125
if (error)
fs/ext4/extents.c
5126
return error;
fs/ext4/extents.c
5140
error = -ENOENT;
fs/ext4/extents.c
5150
return error;
fs/ext4/extents.c
5157
int error;
fs/ext4/extents.c
5159
error = ext4_iomap_xattr_fiemap(inode, iomap);
fs/ext4/extents.c
5160
if (error == 0 && (offset >= iomap->length))
fs/ext4/extents.c
5161
error = -ENOENT;
fs/ext4/extents.c
5162
return error;
fs/ext4/extents.c
5189
int error = 0;
fs/ext4/extents.c
5193
error = ext4_ext_precache(inode);
fs/ext4/extents.c
5194
if (error)
fs/ext4/extents.c
5204
error = ext4_fiemap_check_ranges(inode, start, &len);
fs/ext4/extents.c
5205
if (error)
fs/ext4/extents.c
5210
error = iomap_fiemap(inode, fieinfo, start, len,
fs/ext4/extents.c
5213
error = iomap_fiemap(inode, fieinfo, start, len,
fs/ext4/extents.c
5218
return error;
fs/ext4/extents.c
5226
int error = 0;
fs/ext4/extents.c
5240
error = ext4_ext_precache(inode);
fs/ext4/extents.c
5242
if (error)
fs/ext4/extents.c
5243
return error;
fs/ext4/extents.c
5247
error = fiemap_prep(inode, fieinfo, start, &len, 0);
fs/ext4/extents.c
5248
if (error)
fs/ext4/extents.c
5249
return error;
fs/ext4/extents.c
5251
error = ext4_fiemap_check_ranges(inode, start, &len);
fs/ext4/extents.c
5252
if (error)
fs/ext4/extents.c
5253
return error;
fs/ext4/extents_status.c
1654
goto error;
fs/ext4/extents_status.c
1662
error:
fs/ext4/extents_status.c
2246
goto error;
fs/ext4/extents_status.c
2256
goto error;
fs/ext4/extents_status.c
2267
goto error;
fs/ext4/extents_status.c
2276
goto error;
fs/ext4/extents_status.c
2283
error:
fs/ext4/extents_status.c
952
goto error;
fs/ext4/extents_status.c
964
goto error;
fs/ext4/extents_status.c
975
goto error;
fs/ext4/extents_status.c
983
error:
fs/ext4/file.c
376
int error, unsigned int flags)
fs/ext4/file.c
382
if (!error && size && (flags & IOMAP_DIO_UNWRITTEN) &&
fs/ext4/file.c
384
error = ext4_convert_unwritten_extents_atomic(NULL, inode, pos,
fs/ext4/file.c
386
else if (!error && size && flags & IOMAP_DIO_UNWRITTEN)
fs/ext4/file.c
387
error = ext4_convert_unwritten_extents(NULL, inode, pos, size);
fs/ext4/file.c
388
if (error)
fs/ext4/file.c
389
return error;
fs/ext4/file.c
402
error = ext4_handle_inode_extension(inode, pos, size, size);
fs/ext4/file.c
403
return error < 0 ? error : 0;
fs/ext4/file.c
725
int error = 0;
fs/ext4/file.c
763
result = dax_iomap_fault(vmf, order, &pfn, &error, &ext4_iomap_ops);
fs/ext4/file.c
767
if ((result & VM_FAULT_ERROR) && error == -ENOSPC &&
fs/ext4/fsmap.c
150
error = info->gfi_formatter(&fmr, info->gfi_format_arg);
fs/ext4/fsmap.c
151
if (error)
fs/ext4/fsmap.c
152
return error;
fs/ext4/fsmap.c
172
error = info->gfi_formatter(&fmr, info->gfi_format_arg);
fs/ext4/fsmap.c
173
if (error)
fs/ext4/fsmap.c
174
return error;
fs/ext4/fsmap.c
198
int error;
fs/ext4/fsmap.c
218
error = ext4_getfsmap_helper(sb, info,
fs/ext4/fsmap.c
220
if (error)
fs/ext4/fsmap.c
221
return error;
fs/ext4/fsmap.c
224
error = ext4_getfsmap_helper(sb, info, p);
fs/ext4/fsmap.c
225
if (error)
fs/ext4/fsmap.c
226
return error;
fs/ext4/fsmap.c
254
int error;
fs/ext4/fsmap.c
271
error = ext4_getfsmap_helper(sb, info, &info->gfi_lastfree);
fs/ext4/fsmap.c
272
if (error)
fs/ext4/fsmap.c
273
return error;
fs/ext4/fsmap.c
283
error = ext4_getfsmap_helper(sb, info, p);
fs/ext4/fsmap.c
284
if (error)
fs/ext4/fsmap.c
285
return error;
fs/ext4/fsmap.c
377
int error;
fs/ext4/fsmap.c
381
error = ext4_getfsmap_fill(meta_list, fsb, 1, EXT4_FMR_OWN_FS);
fs/ext4/fsmap.c
382
if (error)
fs/ext4/fsmap.c
383
return error;
fs/ext4/fsmap.c
391
error = ext4_getfsmap_fill(meta_list, fsb, len,
fs/ext4/fsmap.c
393
if (error)
fs/ext4/fsmap.c
394
return error;
fs/ext4/fsmap.c
408
error = ext4_getfsmap_fill(meta_list, fsb, len,
fs/ext4/fsmap.c
410
if (error)
fs/ext4/fsmap.c
411
return error;
fs/ext4/fsmap.c
475
int error;
fs/ext4/fsmap.c
483
error = -EFSCORRUPTED;
fs/ext4/fsmap.c
488
error = ext4_getfsmap_find_sb(sb, agno, meta_list);
fs/ext4/fsmap.c
489
if (error)
fs/ext4/fsmap.c
493
error = ext4_getfsmap_fill(meta_list,
fs/ext4/fsmap.c
496
if (error)
fs/ext4/fsmap.c
500
error = ext4_getfsmap_fill(meta_list,
fs/ext4/fsmap.c
503
if (error)
fs/ext4/fsmap.c
507
error = ext4_getfsmap_fill(meta_list,
fs/ext4/fsmap.c
511
if (error)
fs/ext4/fsmap.c
524
return error;
fs/ext4/fsmap.c
542
int error = 0;
fs/ext4/fsmap.c
573
error = ext4_getfsmap_find_fixed_metadata(sb, &info->gfi_meta_list);
fs/ext4/fsmap.c
574
if (error)
fs/ext4/fsmap.c
602
error = ext4_mballoc_query_range(sb, info->gfi_agno,
fs/ext4/fsmap.c
607
if (error)
fs/ext4/fsmap.c
620
error = ext4_getfsmap_helper(sb, info, &info->gfi_lastfree);
fs/ext4/fsmap.c
621
if (error)
fs/ext4/fsmap.c
636
error = ext4_getfsmap_helper(sb, info, &irec);
fs/ext4/fsmap.c
637
if (error)
fs/ext4/fsmap.c
642
return error;
fs/ext4/fsmap.c
710
int error = 0;
fs/ext4/fsmap.c
784
error = handlers[i].gfd_fn(sb, dkeys, &info);
fs/ext4/fsmap.c
785
if (error)
fs/ext4/fsmap.c
791
return error;
fs/ext4/fsmap.c
94
int error;
fs/ext4/inline.c
1094
int error;
fs/ext4/inline.c
1103
error = -ENOMEM;
fs/ext4/inline.c
1107
error = ext4_read_inline_data(inode, buf, inline_size, iloc);
fs/ext4/inline.c
1108
if (error < 0)
fs/ext4/inline.c
1116
error = ext4_check_all_de(inode, iloc->bh,
fs/ext4/inline.c
1119
if (error)
fs/ext4/inline.c
1123
error = ext4_destroy_inline_data_nolock(handle, inode);
fs/ext4/inline.c
1124
if (error)
fs/ext4/inline.c
113
int error, max_inline_size;
fs/ext4/inline.c
1130
error = ext4_map_blocks(handle, inode, &map, EXT4_GET_BLOCKS_CREATE);
fs/ext4/inline.c
1131
if (error < 0)
fs/ext4/inline.c
1134
error = -EIO;
fs/ext4/inline.c
1140
error = -ENOMEM;
fs/ext4/inline.c
1145
error = ext4_journal_get_create_access(handle, inode->i_sb, data_bh,
fs/ext4/inline.c
1147
if (error) {
fs/ext4/inline.c
1149
error = -EIO;
fs/ext4/inline.c
1158
error = ext4_handle_dirty_metadata(handle,
fs/ext4/inline.c
1166
error = ext4_init_dirblock(handle, inode, data_bh,
fs/ext4/inline.c
1170
if (!error)
fs/ext4/inline.c
1171
error = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inline.c
1175
if (error)
fs/ext4/inline.c
1181
return error;
fs/ext4/inline.c
119
error = ext4_get_inode_loc(inode, &iloc);
fs/ext4/inline.c
120
if (error) {
fs/ext4/inline.c
121
ext4_error_inode_err(inode, __func__, __LINE__, 0, -error,
fs/ext4/inline.c
153
int error;
fs/ext4/inline.c
158
error = ext4_get_inode_loc(inode, &is.iloc);
fs/ext4/inline.c
159
if (error)
fs/ext4/inline.c
160
return error;
fs/ext4/inline.c
162
error = ext4_xattr_ibody_find(inode, &i, &is);
fs/ext4/inline.c
163
if (error)
fs/ext4/inline.c
170
error = -EFSCORRUPTED;
fs/ext4/inline.c
180
return error;
fs/ext4/inline.c
1815
int error = -EAGAIN;
fs/ext4/inline.c
1822
error = ext4_get_inode_loc(inode, &iloc);
fs/ext4/inline.c
1823
if (error)
fs/ext4/inline.c
1841
return error;
fs/ext4/inline.c
1958
int error, needed_blocks, no_expand;
fs/ext4/inline.c
1972
error = filemap_flush(inode->i_mapping);
fs/ext4/inline.c
1973
if (error)
fs/ext4/inline.c
1974
return error;
fs/ext4/inline.c
1982
error = ext4_get_inode_loc(inode, &iloc);
fs/ext4/inline.c
1983
if (error)
fs/ext4/inline.c
1984
return error;
fs/ext4/inline.c
1988
error = PTR_ERR(handle);
fs/ext4/inline.c
1994
error = ext4_convert_inline_data_nolock(handle, inode, &iloc);
fs/ext4/inline.c
1999
return error;
fs/ext4/inline.c
270
int error;
fs/ext4/inline.c
280
error = ext4_get_inode_loc(inode, &is.iloc);
fs/ext4/inline.c
281
if (error)
fs/ext4/inline.c
282
return error;
fs/ext4/inline.c
285
error = ext4_journal_get_write_access(handle, inode->i_sb, is.iloc.bh,
fs/ext4/inline.c
287
if (error)
fs/ext4/inline.c
302
error = ext4_xattr_ibody_find(inode, &i, &is);
fs/ext4/inline.c
303
if (error)
fs/ext4/inline.c
308
error = -EFSCORRUPTED;
fs/ext4/inline.c
312
error = ext4_xattr_ibody_set(handle, inode, &i, &is);
fs/ext4/inline.c
313
if (error) {
fs/ext4/inline.c
314
if (error == -ENOSPC)
fs/ext4/inline.c
329
error = ext4_mark_iloc_dirty(handle, inode, &is.iloc);
fs/ext4/inline.c
333
return error;
fs/ext4/inline.c
339
int error;
fs/ext4/inline.c
353
error = ext4_get_inode_loc(inode, &is.iloc);
fs/ext4/inline.c
354
if (error)
fs/ext4/inline.c
355
return error;
fs/ext4/inline.c
357
error = ext4_xattr_ibody_find(inode, &i, &is);
fs/ext4/inline.c
358
if (error)
fs/ext4/inline.c
363
error = -EFSCORRUPTED;
fs/ext4/inline.c
370
error = -ENOMEM;
fs/ext4/inline.c
374
error = ext4_xattr_ibody_get(inode, i.name_index, i.name,
fs/ext4/inline.c
376
if (error < 0)
fs/ext4/inline.c
380
error = ext4_journal_get_write_access(handle, inode->i_sb, is.iloc.bh,
fs/ext4/inline.c
382
if (error)
fs/ext4/inline.c
389
error = ext4_xattr_ibody_set(handle, inode, &i, &is);
fs/ext4/inline.c
390
if (error)
fs/ext4/inline.c
399
error = ext4_mark_iloc_dirty(handle, inode, &is.iloc);
fs/ext4/inline.c
404
return error;
fs/ext4/inline.c
449
int error;
fs/ext4/inline.c
456
error = ext4_get_inode_loc(inode, &is.iloc);
fs/ext4/inline.c
457
if (error) {
fs/ext4/inline.c
459
return error;
fs/ext4/inline.c
462
error = ext4_xattr_ibody_find(inode, &i, &is);
fs/ext4/inline.c
463
if (error)
fs/ext4/inline.c
467
error = ext4_journal_get_write_access(handle, inode->i_sb, is.iloc.bh,
fs/ext4/inline.c
469
if (error)
fs/ext4/inline.c
472
error = ext4_xattr_ibody_set(handle, inode, &i, &is);
fs/ext4/inline.c
473
if (error)
fs/ext4/inline.c
490
error = ext4_mark_iloc_dirty(handle, inode, &is.iloc);
fs/ext4/inline.c
497
if (error == -ENODATA)
fs/ext4/inline.c
498
error = 0;
fs/ext4/inline.c
500
return error;
fs/ext4/inode.c
5083
goto error;
fs/ext4/inode.c
5088
goto error;
fs/ext4/inode.c
5100
goto error;
fs/ext4/inode.c
5105
goto error;
fs/ext4/inode.c
5109
error:
fs/ext4/inode.c
5798
int error, rc = 0;
fs/ext4/inode.c
5803
error = ext4_emergency_state(inode->i_sb);
fs/ext4/inode.c
5804
if (unlikely(error))
fs/ext4/inode.c
5805
return error;
fs/ext4/inode.c
5815
error = setattr_prepare(idmap, dentry, attr);
fs/ext4/inode.c
5816
if (error)
fs/ext4/inode.c
5817
return error;
fs/ext4/inode.c
5819
error = fscrypt_prepare_setattr(dentry, attr);
fs/ext4/inode.c
5820
if (error)
fs/ext4/inode.c
5821
return error;
fs/ext4/inode.c
5824
error = dquot_initialize(inode);
fs/ext4/inode.c
5825
if (error)
fs/ext4/inode.c
5826
return error;
fs/ext4/inode.c
5839
error = PTR_ERR(handle);
fs/ext4/inode.c
5847
error = dquot_transfer(idmap, inode, attr);
fs/ext4/inode.c
5850
if (error) {
fs/ext4/inode.c
5852
return error;
fs/ext4/inode.c
5858
error = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inode.c
5860
if (unlikely(error)) {
fs/ext4/inode.c
5861
return error;
fs/ext4/inode.c
5892
error = ext4_convert_inline_data(inode);
fs/ext4/inode.c
5893
if (error)
fs/ext4/inode.c
5899
error = ext4_begin_ordered_truncate(inode,
fs/ext4/inode.c
5901
if (error)
fs/ext4/inode.c
5923
error = ext4_inode_attach_jinode(inode);
fs/ext4/inode.c
5924
if (error)
fs/ext4/inode.c
5930
error = PTR_ERR(handle);
fs/ext4/inode.c
5934
error = ext4_orphan_add(handle, inode);
fs/ext4/inode.c
5972
if (!error)
fs/ext4/inode.c
5978
if (!error)
fs/ext4/inode.c
5979
error = rc;
fs/ext4/inode.c
5981
if (error)
fs/ext4/inode.c
6003
error = rc;
fs/ext4/inode.c
6009
if (!error) {
fs/ext4/inode.c
6023
if (!error && (ia_valid & ATTR_MODE))
fs/ext4/inode.c
6027
if (error)
fs/ext4/inode.c
6028
ext4_std_error(inode->i_sb, error);
fs/ext4/inode.c
6029
if (!error)
fs/ext4/inode.c
6030
error = rc;
fs/ext4/inode.c
6031
return error;
fs/ext4/inode.c
6304
int error;
fs/ext4/inode.c
6342
error = ext4_expand_extra_isize_ea(inode, new_extra_isize,
fs/ext4/inode.c
6344
if (error) {
fs/ext4/inode.c
6351
return error;
fs/ext4/inode.c
6364
int error;
fs/ext4/inode.c
6385
error = __ext4_expand_extra_isize(inode, new_extra_isize, &iloc,
fs/ext4/inode.c
6389
return error;
fs/ext4/inode.c
6398
int error, rc;
fs/ext4/inode.c
6408
error = PTR_ERR(handle);
fs/ext4/inode.c
6410
return error;
fs/ext4/inode.c
6416
error = ext4_journal_get_write_access(handle, inode->i_sb, iloc->bh,
fs/ext4/inode.c
6418
if (error) {
fs/ext4/inode.c
6423
error = __ext4_expand_extra_isize(inode, new_extra_isize, iloc,
fs/ext4/inode.c
6427
if (!error)
fs/ext4/inode.c
6428
error = rc;
fs/ext4/inode.c
6433
return error;
fs/ext4/ioctl.c
1044
int error;
fs/ext4/ioctl.c
1056
error = ext4_get_es_cache(inode, &fieinfo, fiemap.fm_start,
fs/ext4/ioctl.c
1061
error = -EFAULT;
fs/ext4/ioctl.c
1063
return error;
fs/ext4/ioctl.c
895
int error;
fs/ext4/ioctl.c
924
error = ext4_getfsmap(sb, &xhead, ext4_getfsmap_format, &info);
fs/ext4/ioctl.c
925
if (error == EXT4_QUERY_RANGE_ABORT)
fs/ext4/ioctl.c
927
else if (error)
fs/ext4/ioctl.c
928
return error;
fs/ext4/mballoc.c
7147
int error;
fs/ext4/mballoc.c
7149
error = ext4_mb_load_buddy(sb, group, &e4b);
fs/ext4/mballoc.c
7150
if (error)
fs/ext4/mballoc.c
7151
return error;
fs/ext4/mballoc.c
7163
error = meta_formatter(sb, group, first, start - first,
fs/ext4/mballoc.c
7165
if (error)
fs/ext4/mballoc.c
7176
error = formatter(sb, group, start, next - start, priv);
fs/ext4/mballoc.c
7177
if (error)
fs/ext4/mballoc.c
7188
return error;
fs/ext4/move_extent.c
223
goto error;
fs/ext4/move_extent.c
238
goto error;
fs/ext4/move_extent.c
254
error:
fs/ext4/super.c
2327
int error;
fs/ext4/super.c
2335
error = fs_lookup_param(fc, param, 1, LOOKUP_FOLLOW, &path);
fs/ext4/super.c
2336
if (error) {
fs/ext4/super.c
560
int error;
fs/ext4/super.c
569
while ((folio = writeback_iter(mapping, &wbc, folio, &error))) {
fs/ext4/super.c
575
return error;
fs/ext4/super.c
641
static void save_error_info(struct super_block *sb, int error,
fs/ext4/super.c
6478
int error = 0;
fs/ext4/super.c
648
if (error == 0)
fs/ext4/super.c
6489
error = jbd2_journal_flush(journal, 0);
fs/ext4/super.c
649
error = EFSCORRUPTED;
fs/ext4/super.c
6490
if (error < 0)
fs/ext4/super.c
6499
error = ext4_commit_super(sb);
fs/ext4/super.c
6504
return error;
fs/ext4/super.c
653
sbi->s_last_error_code = error;
fs/ext4/super.c
660
sbi->s_first_error_code = error;
fs/ext4/super.c
690
static void ext4_handle_error(struct super_block *sb, bool force_ro, int error,
fs/ext4/super.c
702
jbd2_journal_abort(journal, -error);
fs/ext4/super.c
705
save_error_info(sb, error, ino, block, func, line);
fs/ext4/super.c
809
unsigned int line, bool force_ro, int error, __u64 block,
fs/ext4/super.c
828
fserror_report_metadata(sb, error ? -abs(error) : -EFSCORRUPTED,
fs/ext4/super.c
831
ext4_handle_error(sb, force_ro, error, 0, block, function, line);
fs/ext4/super.c
835
unsigned int line, ext4_fsblk_t block, int error,
fs/ext4/super.c
862
error ? -abs(error) : -EFSCORRUPTED,
fs/ext4/super.c
865
ext4_handle_error(inode->i_sb, false, error, inode->i_ino, block,
fs/ext4/xattr.c
1144
int error;
fs/ext4/xattr.c
1149
error = ext4_handle_dirty_metadata(handle, NULL, bh);
fs/ext4/xattr.c
1150
if (error) {
fs/ext4/xattr.c
1152
error);
fs/ext4/xattr.c
1153
return error;
fs/ext4/xattr.c
1277
int error = 0;
fs/ext4/xattr.c
1280
error = ext4_journal_get_write_access(handle, inode->i_sb, bh,
fs/ext4/xattr.c
1282
if (error)
fs/ext4/xattr.c
1348
error = ext4_handle_dirty_metadata(handle, inode, bh);
fs/ext4/xattr.c
1351
error = ext4_handle_dirty_metadata(handle, inode, bh);
fs/ext4/xattr.c
1359
ext4_std_error(inode->i_sb, error);
fs/ext4/xattr.c
1863
int error;
fs/ext4/xattr.c
1872
error = PTR_ERR(bs->bh);
fs/ext4/xattr.c
1874
return error;
fs/ext4/xattr.c
1879
error = ext4_xattr_check_block(inode, bs->bh);
fs/ext4/xattr.c
1880
if (error)
fs/ext4/xattr.c
1881
return error;
fs/ext4/xattr.c
1887
error = xattr_find_entry(inode, &bs->s.here, bs->s.end,
fs/ext4/xattr.c
1889
if (error && error != -ENODATA)
fs/ext4/xattr.c
1890
return error;
fs/ext4/xattr.c
1891
bs->s.not_found = error;
fs/ext4/xattr.c
1906
int error = 0;
fs/ext4/xattr.c
1921
error = PTR_ERR(ea_inode);
fs/ext4/xattr.c
1931
error = ext4_journal_get_write_access(handle, sb, bs->bh,
fs/ext4/xattr.c
1933
if (error)
fs/ext4/xattr.c
1961
error = ext4_xattr_set_entry(i, s, handle, inode,
fs/ext4/xattr.c
1965
if (error == -EFSCORRUPTED)
fs/ext4/xattr.c
1967
if (!error)
fs/ext4/xattr.c
1968
error = ext4_handle_dirty_metadata(handle,
fs/ext4/xattr.c
1971
if (error)
fs/ext4/xattr.c
1979
error = -ENOMEM;
fs/ext4/xattr.c
1996
error = ext4_xattr_inode_iget(inode, ea_ino,
fs/ext4/xattr.c
1999
if (error)
fs/ext4/xattr.c
2019
error = -ENOMEM;
fs/ext4/xattr.c
2030
error = ext4_xattr_set_entry(i, s, handle, inode, ea_inode,
fs/ext4/xattr.c
2032
if (error == -EFSCORRUPTED)
fs/ext4/xattr.c
2034
if (error)
fs/ext4/xattr.c
2041
error = PTR_ERR(new_bh);
fs/ext4/xattr.c
2058
error = dquot_alloc_block(inode,
fs/ext4/xattr.c
2060
if (error)
fs/ext4/xattr.c
2063
error = ext4_journal_get_write_access(
fs/ext4/xattr.c
2066
if (error)
fs/ext4/xattr.c
2099
error = ext4_handle_dirty_metadata(handle,
fs/ext4/xattr.c
2102
if (error)
fs/ext4/xattr.c
2124
NULL, &error);
fs/ext4/xattr.c
2125
if (error)
fs/ext4/xattr.c
2133
error = -ENOMEM;
fs/ext4/xattr.c
2139
error = ext4_xattr_inode_inc_ref_all(handle, inode,
fs/ext4/xattr.c
2141
if (error)
fs/ext4/xattr.c
2145
error = ext4_xattr_inode_dec_ref(handle,
fs/ext4/xattr.c
2147
if (error)
fs/ext4/xattr.c
2150
error);
fs/ext4/xattr.c
2156
error = ext4_journal_get_create_access(handle, sb,
fs/ext4/xattr.c
2158
if (error) {
fs/ext4/xattr.c
2160
error = -EIO;
fs/ext4/xattr.c
2168
error = ext4_handle_dirty_metadata(handle, inode,
fs/ext4/xattr.c
2170
if (error)
fs/ext4/xattr.c
2190
error = 0;
fs/ext4/xattr.c
2194
if (error) {
fs/ext4/xattr.c
2212
return error;
fs/ext4/xattr.c
2231
int error;
fs/ext4/xattr.c
2243
error = xattr_find_entry(inode, &is->s.here, is->s.end,
fs/ext4/xattr.c
2245
if (error && error != -ENODATA)
fs/ext4/xattr.c
2246
return error;
fs/ext4/xattr.c
2247
is->s.not_found = error;
fs/ext4/xattr.c
2259
int error;
fs/ext4/xattr.c
2273
error = ext4_xattr_set_entry(i, s, handle, inode, ea_inode,
fs/ext4/xattr.c
2275
if (error) {
fs/ext4/xattr.c
2288
return error;
fs/ext4/xattr.c
2319
int error;
fs/ext4/xattr.c
2326
error = ext4_xattr_check_block(inode, bh);
fs/ext4/xattr.c
2327
if (error) {
fs/ext4/xattr.c
2329
return ERR_PTR(error);
fs/ext4/xattr.c
2365
int error;
fs/ext4/xattr.c
2381
error = PTR_ERR(bh);
fs/ext4/xattr.c
2391
error = -ENOSPC;
fs/ext4/xattr.c
2397
error = ext4_reserve_inode_write(handle, inode, &is.iloc);
fs/ext4/xattr.c
2398
if (error)
fs/ext4/xattr.c
2407
error = ext4_xattr_ibody_find(inode, &i, &is);
fs/ext4/xattr.c
2408
if (error)
fs/ext4/xattr.c
2411
error = ext4_xattr_block_find(inode, &i, &bs);
fs/ext4/xattr.c
2412
if (error)
fs/ext4/xattr.c
2415
error = -ENODATA;
fs/ext4/xattr.c
2418
error = 0;
fs/ext4/xattr.c
2422
error = -EEXIST;
fs/ext4/xattr.c
2429
error = ext4_xattr_ibody_set(handle, inode, &i, &is);
fs/ext4/xattr.c
2431
error = ext4_xattr_block_set(handle, inode, &i, &bs);
fs/ext4/xattr.c
2433
error = 0;
fs/ext4/xattr.c
2445
error = ext4_xattr_ibody_set(handle, inode, &i, &is);
fs/ext4/xattr.c
2446
if (!error && !bs.s.not_found) {
fs/ext4/xattr.c
2448
error = ext4_xattr_block_set(handle, inode, &i, &bs);
fs/ext4/xattr.c
2449
} else if (error == -ENOSPC) {
fs/ext4/xattr.c
2453
error = ext4_xattr_block_find(inode, &i, &bs);
fs/ext4/xattr.c
2454
if (error)
fs/ext4/xattr.c
2457
error = ext4_xattr_block_set(handle, inode, &i, &bs);
fs/ext4/xattr.c
2458
if (!error && !is.s.not_found) {
fs/ext4/xattr.c
2460
error = ext4_xattr_ibody_set(handle, inode, &i,
fs/ext4/xattr.c
2462
} else if (error == -ENOSPC) {
fs/ext4/xattr.c
2475
if (!error) {
fs/ext4/xattr.c
2481
error = ext4_mark_iloc_dirty(handle, inode, &is.iloc);
fs/ext4/xattr.c
2496
return error;
fs/ext4/xattr.c
2540
int error, retries = 0;
fs/ext4/xattr.c
2543
error = dquot_initialize(inode);
fs/ext4/xattr.c
2544
if (error)
fs/ext4/xattr.c
2545
return error;
fs/ext4/xattr.c
2548
error = ext4_xattr_set_credits(inode, value_len, flags & XATTR_CREATE,
fs/ext4/xattr.c
2550
if (error)
fs/ext4/xattr.c
2551
return error;
fs/ext4/xattr.c
2555
error = PTR_ERR(handle);
fs/ext4/xattr.c
2559
error = ext4_xattr_set_handle(handle, inode, name_index, name,
fs/ext4/xattr.c
2564
if (error == -ENOSPC &&
fs/ext4/xattr.c
2567
if (error == 0)
fs/ext4/xattr.c
2568
error = error2;
fs/ext4/xattr.c
2571
return error;
fs/ext4/xattr.c
2619
int error;
fs/ext4/xattr.c
2625
error = -ENOMEM;
fs/ext4/xattr.c
2638
error = -ENOMEM;
fs/ext4/xattr.c
2642
error = ext4_xattr_inode_get(inode, entry, buffer, value_size);
fs/ext4/xattr.c
2643
if (error)
fs/ext4/xattr.c
2654
error = ext4_get_inode_loc(inode, &is->iloc);
fs/ext4/xattr.c
2655
if (error)
fs/ext4/xattr.c
2658
error = ext4_xattr_ibody_find(inode, &i, is);
fs/ext4/xattr.c
2659
if (error)
fs/ext4/xattr.c
2664
error = ext4_xattr_block_find(inode, &i, bs);
fs/ext4/xattr.c
2665
if (error)
fs/ext4/xattr.c
2669
error = ext4_xattr_block_set(handle, inode, &i, bs);
fs/ext4/xattr.c
2670
if (error)
fs/ext4/xattr.c
2676
error = ext4_xattr_ibody_set(handle, inode, &i, is);
fs/ext4/xattr.c
2689
return error;
fs/ext4/xattr.c
2704
int error;
fs/ext4/xattr.c
2744
error = ext4_xattr_move_to_block(handle, inode, raw_inode,
fs/ext4/xattr.c
2746
if (error)
fs/ext4/xattr.c
2747
return error;
fs/ext4/xattr.c
2771
int error = 0, tried_min_extra_isize = 0;
fs/ext4/xattr.c
2805
error = PTR_ERR(bh);
fs/ext4/xattr.c
2808
error = ext4_xattr_check_block(inode, bh);
fs/ext4/xattr.c
2809
if (error) {
fs/ext4/xattr.c
2825
error = -ENOSPC;
fs/ext4/xattr.c
2832
error = ext4_xattr_make_inode_space(handle, inode, raw_inode,
fs/ext4/xattr.c
2835
if (error) {
fs/ext4/xattr.c
2836
if (error == -ENOSPC && !tried_min_extra_isize &&
fs/ext4/xattr.c
2853
error = ext4_find_inline_data_nolock(inode);
fs/ext4/xattr.c
2856
if (error && (mnt_count != le16_to_cpu(sbi->s_es->s_mnt_count))) {
fs/ext4/xattr.c
2861
return error;
fs/ext4/xattr.c
2922
int error;
fs/ext4/xattr.c
2924
error = ext4_journal_ensure_credits(handle, extra_credits,
fs/ext4/xattr.c
2926
if (error < 0) {
fs/ext4/xattr.c
2927
EXT4_ERROR_INODE(inode, "ensure credits (error %d)", error);
fs/ext4/xattr.c
2934
error = ext4_get_inode_loc(inode, &iloc);
fs/ext4/xattr.c
2935
if (error) {
fs/ext4/xattr.c
2936
EXT4_ERROR_INODE(inode, "inode loc (error %d)", error);
fs/ext4/xattr.c
2940
error = ext4_journal_get_write_access(handle, inode->i_sb,
fs/ext4/xattr.c
2942
if (error) {
fs/ext4/xattr.c
2944
error);
fs/ext4/xattr.c
2961
error = PTR_ERR(bh);
fs/ext4/xattr.c
2962
if (error == -EIO) {
fs/ext4/xattr.c
2970
error = ext4_xattr_check_block(inode, bh);
fs/ext4/xattr.c
2971
if (error)
fs/ext4/xattr.c
2979
error = ext4_xattr_inode_iget(inode,
fs/ext4/xattr.c
2983
if (error)
fs/ext4/xattr.c
2999
error = ext4_mark_inode_dirty(handle, inode);
fs/ext4/xattr.c
3000
if (error) {
fs/ext4/xattr.c
3002
error);
fs/ext4/xattr.c
3007
error = 0;
fs/ext4/xattr.c
3011
return error;
fs/ext4/xattr.c
3040
int error;
fs/ext4/xattr.c
3044
error = mb_cache_entry_create(ea_block_cache, GFP_NOFS, hash,
fs/ext4/xattr.c
3046
if (error) {
fs/ext4/xattr.c
3047
if (error == -EBUSY)
fs/ext4/xattr.c
582
int error;
fs/ext4/xattr.c
597
error = ext4_xattr_check_block(inode, bh);
fs/ext4/xattr.c
598
if (error)
fs/ext4/xattr.c
603
error = xattr_find_entry(inode, &entry, end, name_index, name, 1);
fs/ext4/xattr.c
604
if (error)
fs/ext4/xattr.c
607
error = -ERANGE;
fs/ext4/xattr.c
614
error = ext4_xattr_inode_get(inode, entry, buffer,
fs/ext4/xattr.c
616
if (error)
fs/ext4/xattr.c
627
error = size;
fs/ext4/xattr.c
631
return error;
fs/ext4/xattr.c
644
int error;
fs/ext4/xattr.c
648
error = ext4_get_inode_loc(inode, &iloc);
fs/ext4/xattr.c
649
if (error)
fs/ext4/xattr.c
650
return error;
fs/ext4/xattr.c
655
error = xattr_find_entry(inode, &entry, end, name_index, name, 0);
fs/ext4/xattr.c
656
if (error)
fs/ext4/xattr.c
659
error = -ERANGE;
fs/ext4/xattr.c
666
error = ext4_xattr_inode_get(inode, entry, buffer,
fs/ext4/xattr.c
668
if (error)
fs/ext4/xattr.c
679
error = size;
fs/ext4/xattr.c
683
return error;
fs/ext4/xattr.c
700
int error;
fs/ext4/xattr.c
709
error = ext4_xattr_ibody_get(inode, name_index, name, buffer,
fs/ext4/xattr.c
711
if (error == -ENODATA)
fs/ext4/xattr.c
712
error = ext4_xattr_block_get(inode, name_index, name, buffer,
fs/ext4/xattr.c
715
return error;
fs/ext4/xattr.c
752
int error;
fs/ext4/xattr.c
766
error = ext4_xattr_check_block(inode, bh);
fs/ext4/xattr.c
767
if (error)
fs/ext4/xattr.c
770
error = ext4_xattr_list_entries(dentry, BFIRST(bh), buffer,
fs/ext4/xattr.c
774
return error;
fs/ext4/xattr.c
784
int error;
fs/ext4/xattr.c
788
error = ext4_get_inode_loc(inode, &iloc);
fs/ext4/xattr.c
789
if (error)
fs/ext4/xattr.c
790
return error;
fs/ext4/xattr.c
793
error = ext4_xattr_list_entries(dentry, IFIRST(header),
fs/ext4/xattr.c
797
return error;
fs/f2fs/acl.c
213
int error;
fs/f2fs/acl.c
218
error = posix_acl_equiv_mode(*acl, &mode);
fs/f2fs/acl.c
219
if (error < 0)
fs/f2fs/acl.c
220
return error;
fs/f2fs/acl.c
221
if (error == 0)
fs/f2fs/acl.c
236
int error;
fs/f2fs/acl.c
243
error = f2fs_acl_update_mode(idmap, inode, &mode, &acl);
fs/f2fs/acl.c
244
if (error)
fs/f2fs/acl.c
245
return error;
fs/f2fs/acl.c
268
error = f2fs_setxattr(inode, name_index, "", value, size, ifolio, 0);
fs/f2fs/acl.c
271
if (!error)
fs/f2fs/acl.c
275
return error;
fs/f2fs/acl.c
416
int error;
fs/f2fs/acl.c
418
error = f2fs_acl_create(dir, &inode->i_mode, &default_acl, &acl, dfolio);
fs/f2fs/acl.c
419
if (error)
fs/f2fs/acl.c
420
return error;
fs/f2fs/acl.c
425
error = __f2fs_set_acl(NULL, inode, ACL_TYPE_DEFAULT,
fs/f2fs/acl.c
432
if (!error)
fs/f2fs/acl.c
433
error = __f2fs_set_acl(NULL, inode, ACL_TYPE_ACCESS,
fs/f2fs/acl.c
440
return error;
fs/f2fs/f2fs.h
3906
void f2fs_handle_error(struct f2fs_sb_info *sbi, unsigned char error);
fs/f2fs/f2fs.h
478
int error; /* bio error */
fs/f2fs/file.c
4775
static int f2fs_dio_read_end_io(struct kiocb *iocb, ssize_t size, int error,
fs/f2fs/file.c
4781
if (error)
fs/f2fs/file.c
4782
return error;
fs/f2fs/file.c
5045
static int f2fs_dio_write_end_io(struct kiocb *iocb, ssize_t size, int error,
fs/f2fs/file.c
5051
if (error)
fs/f2fs/file.c
5052
return error;
fs/f2fs/segment.c
1135
if (dc->error == -EOPNOTSUPP)
fs/f2fs/segment.c
1136
dc->error = 0;
fs/f2fs/segment.c
1138
if (dc->error)
fs/f2fs/segment.c
1141
dc->di.lstart, dc->di.start, dc->di.len, dc->error);
fs/f2fs/segment.c
1151
if (!dc->error)
fs/f2fs/segment.c
1152
dc->error = blk_status_to_errno(bio->bi_status);
fs/f2fs/segment.c
1750
if (!dc->error)
fs/f2fs/segment.c
1781
if (!iter->error)
fs/f2fs/segment.c
987
dc->error = 0;
fs/f2fs/super.c
4636
void f2fs_handle_error(struct f2fs_sb_info *sbi, unsigned char error)
fs/f2fs/super.c
4638
f2fs_save_errors(sbi, error);
fs/f2fs/super.c
4642
if (!test_bit(error, (unsigned long *)sbi->errors))
fs/f2fs/xattr.c
519
int error;
fs/f2fs/xattr.c
534
error = lookup_all_xattrs(inode, ifolio, index, len, name,
fs/f2fs/xattr.c
538
if (error)
fs/f2fs/xattr.c
539
return error;
fs/f2fs/xattr.c
544
error = -ERANGE;
fs/f2fs/xattr.c
552
error = -ERANGE;
fs/f2fs/xattr.c
557
error = size;
fs/f2fs/xattr.c
560
return error;
fs/f2fs/xattr.c
568
int error;
fs/f2fs/xattr.c
572
error = read_all_xattrs(inode, NULL, &base_addr);
fs/f2fs/xattr.c
574
if (error)
fs/f2fs/xattr.c
575
return error;
fs/f2fs/xattr.c
603
error = -ERANGE;
fs/f2fs/xattr.c
614
error = buffer_size - rest;
fs/f2fs/xattr.c
617
return error;
fs/f2fs/xattr.c
639
int error;
fs/f2fs/xattr.c
655
error = read_all_xattrs(inode, ifolio, &base_addr);
fs/f2fs/xattr.c
656
if (error)
fs/f2fs/xattr.c
657
return error;
fs/f2fs/xattr.c
665
error = f2fs_recover_xattr_data(inode, NULL);
fs/f2fs/xattr.c
668
inode->i_ino, error);
fs/f2fs/xattr.c
669
if (!error) {
fs/f2fs/xattr.c
677
error = -EFSCORRUPTED;
fs/f2fs/xattr.c
687
error = -EEXIST;
fs/f2fs/xattr.c
694
error = -ENODATA;
fs/f2fs/xattr.c
705
error = -EFSCORRUPTED;
fs/f2fs/xattr.c
727
error = -E2BIG;
fs/f2fs/xattr.c
770
error = write_all_xattrs(inode, new_hsize, base_addr, ifolio);
fs/f2fs/xattr.c
771
if (error)
fs/f2fs/xattr.c
799
return error;
fs/fat/dir.c
1110
goto error;
fs/fat/dir.c
1125
goto error;
fs/fat/dir.c
1135
goto error;
fs/fat/dir.c
1142
error:
fs/fat/dir.c
1161
goto error;
fs/fat/dir.c
1208
error:
fs/fat/dir.c
1235
goto error;
fs/fat/dir.c
1291
error:
fs/fat/dir.c
1315
goto error;
fs/fat/dir.c
1335
goto error;
fs/fat/dir.c
1340
goto error;
fs/fat/dir.c
1416
error:
fs/fat/fatent.c
391
goto error;
fs/fat/fatent.c
403
goto error;
fs/fat/fatent.c
406
error:
fs/fat/fatent.c
571
goto error;
fs/fat/fatent.c
576
goto error;
fs/fat/fatent.c
607
goto error;
fs/fat/fatent.c
611
goto error;
fs/fat/fatent.c
622
goto error;
fs/fat/fatent.c
625
error:
fs/fat/fatent.c
798
goto error;
fs/fat/fatent.c
808
goto error;
fs/fat/fatent.c
819
goto error;
fs/fat/fatent.c
835
goto error;
fs/fat/fatent.c
841
error:
fs/fat/file.c
284
goto error;
fs/fat/file.c
295
goto error;
fs/fat/file.c
299
goto error;
fs/fat/file.c
305
error:
fs/fat/file.c
487
int error;
fs/fat/file.c
496
error = setattr_prepare(idmap, dentry, attr);
fs/fat/file.c
498
if (error) {
fs/fat/file.c
500
error = 0;
fs/fat/file.c
514
error = fat_cont_expand(inode, attr->ia_size);
fs/fat/file.c
515
if (error || attr->ia_valid == ATTR_SIZE)
fs/fat/file.c
529
error = -EPERM;
fs/fat/file.c
531
if (error) {
fs/fat/file.c
533
error = 0;
fs/fat/file.c
547
error = fat_block_truncate_page(inode, attr->ia_size);
fs/fat/file.c
548
if (error)
fs/fat/file.c
569
return error;
fs/fat/inode.c
1321
int error;
fs/fat/inode.c
1333
error = fat_calc_dir_size(inode);
fs/fat/inode.c
1334
if (error < 0)
fs/fat/inode.c
1335
return error;
fs/fat/inode.c
1394
int error = -EINVAL;
fs/fat/inode.c
1463
error = 0;
fs/fat/inode.c
1466
return error;
fs/fat/inode.c
1476
int error = -EINVAL;
fs/fat/inode.c
1526
error = 0;
fs/fat/inode.c
1529
return error;
fs/fat/inode.c
1547
long error;
fs/fat/inode.c
1599
error = -EINVAL;
fs/fat/inode.c
1604
error = -EIO;
fs/fat/inode.c
1611
error = fat_read_bpb(sb, (struct fat_boot_sector *)bh->b_data, silent,
fs/fat/inode.c
1613
if (error == -EINVAL && sbi->options.dos1xfloppy)
fs/fat/inode.c
1614
error = fat_read_static_bpb(sb,
fs/fat/inode.c
1618
if (error == -EINVAL)
fs/fat/inode.c
1620
else if (error)
fs/fat/inode.c
1626
error = -EIO;
fs/fat/inode.c
1785
error = -EINVAL;
fs/fat/inode.c
1803
error = -ENOMEM;
fs/fat/inode.c
1821
error = fat_read_root(root_inode);
fs/fat/inode.c
1822
if (error < 0) {
fs/fat/inode.c
1826
error = -ENOMEM;
fs/fat/inode.c
1843
error = -EINVAL;
fs/fat/inode.c
1855
return error;
fs/fat/inode.c
517
int error;
fs/fat/inode.c
533
error = fat_calc_dir_size(inode);
fs/fat/inode.c
534
if (error < 0)
fs/fat/inode.c
535
return error;
fs/fat/inode.c
540
error = fat_validate_dir(inode);
fs/fat/inode.c
541
if (error < 0)
fs/fat/inode.c
542
return error;
fs/fat/namei_msdos.c
155
int error;
fs/fat/namei_msdos.c
157
error = msdos_format_name(qstr->name, qstr->len, msdos_name, options);
fs/fat/namei_msdos.c
158
if (!error)
fs/fat/namei_msdos.c
172
int error;
fs/fat/namei_msdos.c
174
error = msdos_format_name(name->name, name->len, a_msdos_name, options);
fs/fat/namei_msdos.c
175
if (error)
fs/fat/namei_msdos.c
177
error = msdos_format_name(str, len, b_msdos_name, options);
fs/fat/namei_msdos.c
178
if (error)
fs/fat/namei_msdos.c
180
error = memcmp(a_msdos_name, b_msdos_name, MSDOS_NAME);
fs/fat/namei_msdos.c
182
return error;
fs/fat/namei_msdos.c
185
error = 1;
fs/fat/namei_msdos.c
187
error = memcmp(name->name, str, len);
fs/fat/namei_vfat.c
716
goto error;
fs/fat/namei_vfat.c
723
goto error;
fs/fat/namei_vfat.c
752
error:
fs/fcntl.c
42
int error = 0;
fs/fcntl.c
68
error = filp->f_op->check_flags(arg);
fs/fcntl.c
69
if (error)
fs/fcntl.c
70
return error;
fs/fcntl.c
76
error = filp->f_op->fasync(fd, filp, (arg & FASYNC) != 0);
fs/fcntl.c
77
if (error < 0)
fs/fcntl.c
79
if (error > 0)
fs/fcntl.c
80
error = 0;
fs/fcntl.c
88
return error;
fs/file.c
1389
int error;
fs/file.c
1391
error = security_file_receive(file);
fs/file.c
1392
if (error)
fs/file.c
1393
return error;
fs/file.c
1401
error = put_user(fd_prepare_fd(fdf), ufd);
fs/file.c
1402
if (error)
fs/file.c
1403
return error;
fs/file.c
1413
int error;
fs/file.c
1415
error = security_file_receive(file);
fs/file.c
1416
if (error)
fs/file.c
1417
return error;
fs/file.c
1418
error = replace_fd(new_fd, file, o_flags);
fs/file.c
1419
if (error)
fs/file.c
1420
return error;
fs/file.c
293
int error;
fs/file.c
315
error = expand_fdtable(files, nr);
fs/file.c
319
return error;
fs/file.c
574
int error;
fs/file.c
591
error = -EMFILE;
fs/file.c
596
error = expand_files(files, fd);
fs/file.c
597
if (error < 0)
fs/file.c
607
error = fd;
fs/file.c
612
return error;
fs/file_attr.c
382
int error;
fs/file_attr.c
408
error = filename_lookup(dfd, name, lookup_flags, &filepath,
fs/file_attr.c
410
if (error)
fs/file_attr.c
411
return error;
fs/file_attr.c
414
error = vfs_fileattr_get(filepath.dentry, &fa);
fs/file_attr.c
415
if (error == -ENOIOCTLCMD || error == -ENOTTY)
fs/file_attr.c
416
error = -EOPNOTSUPP;
fs/file_attr.c
417
if (error)
fs/file_attr.c
418
return error;
fs/file_attr.c
421
error = copy_struct_to_user(ufattr, usize, &fattr,
fs/file_attr.c
424
return error;
fs/file_attr.c
435
int error;
fs/file_attr.c
452
error = copy_struct_from_user(&fattr, sizeof(struct file_attr), ufattr,
fs/file_attr.c
454
if (error)
fs/file_attr.c
455
return error;
fs/file_attr.c
457
error = file_attr_to_fileattr(&fattr, &fa);
fs/file_attr.c
458
if (error)
fs/file_attr.c
459
return error;
fs/file_attr.c
470
error = filename_lookup(dfd, name, lookup_flags, &filepath,
fs/file_attr.c
472
if (error)
fs/file_attr.c
473
return error;
fs/file_attr.c
476
error = mnt_want_write(filepath.mnt);
fs/file_attr.c
477
if (!error) {
fs/file_attr.c
478
error = vfs_fileattr_set(mnt_idmap(filepath.mnt),
fs/file_attr.c
480
if (error == -ENOIOCTLCMD || error == -ENOTTY)
fs/file_attr.c
481
error = -EOPNOTSUPP;
fs/file_attr.c
485
return error;
fs/file_attr.c
89
int error;
fs/file_attr.c
94
error = security_inode_file_getattr(dentry, fa);
fs/file_attr.c
95
if (error)
fs/file_attr.c
96
return error;
fs/file_table.c
156
int error;
fs/file_table.c
159
error = security_file_alloc(f);
fs/file_table.c
160
if (unlikely(error)) {
fs/file_table.c
162
return error;
fs/file_table.c
222
int error;
fs/file_table.c
241
error = init_file(f, flags, cred);
fs/file_table.c
242
if (unlikely(error)) {
fs/file_table.c
244
return ERR_PTR(error);
fs/file_table.c
269
int error;
fs/file_table.c
275
error = init_file(f, flags, cred);
fs/file_table.c
276
if (unlikely(error)) {
fs/file_table.c
278
return ERR_PTR(error);
fs/file_table.c
296
int error;
fs/file_table.c
302
error = init_file(&ff->file, flags, cred);
fs/file_table.c
303
if (unlikely(error)) {
fs/file_table.c
305
return ERR_PTR(error);
fs/freevxfs/vxfs_inode.c
225
int error;
fs/freevxfs/vxfs_inode.c
232
error = __vxfs_iget(VXFS_SBI(sbp)->vsi_stilist, VXFS_INO(inode), ino);
fs/freevxfs/vxfs_inode.c
233
if (error) {
fs/freevxfs/vxfs_inode.c
256
int error;
fs/freevxfs/vxfs_inode.c
265
error = __vxfs_iget(VXFS_SBI(sbp)->vsi_ilist, vip, ino);
fs/freevxfs/vxfs_inode.c
266
if (error) {
fs/freevxfs/vxfs_inode.c
268
return ERR_PTR(error);
fs/fs_context.c
555
int error;
fs/fs_context.c
560
error = fc->fs_type->init_fs_context(fc);
fs/fs_context.c
562
if (unlikely(error)) {
fs/fs_context.c
564
return error;
fs/fserror.c
134
enum fserror_type type, loff_t pos, u64 len, int error,
fs/fserror.c
143
WARN_ON_ONCE(error >= 0);
fs/fserror.c
152
event->error = error;
fs/fserror.c
180
sb->s_id, inode->i_ino, type, pos, len, error);
fs/fserror.c
184
sb->s_id, type, error);
fs/fserror.c
57
.error = -event->error,
fs/fuse/cuse.c
323
struct fuse_args *args, int error)
fs/fuse/cuse.c
337
if (error || arg->major != FUSE_KERNEL_VERSION || arg->minor < 11)
fs/fuse/dax.c
760
int error = 0;
fs/fuse/dax.c
778
ret = dax_iomap_fault(vmf, order, &pfn, &error, &fuse_iomap_ops);
fs/fuse/dax.c
779
if ((ret & VM_FAULT_ERROR) && error == -EAGAIN) {
fs/fuse/dax.c
780
error = 0;
fs/fuse/dev.c
1476
req->out.h.error = -EIO;
fs/fuse/dev.c
1479
req->out.h.error = -E2BIG;
fs/fuse/dev.c
1489
req->out.h.error = err = -ECONNABORTED;
fs/fuse/dev.c
1508
req->out.h.error = -EIO;
fs/fuse/dev.c
1850
int error)
fs/fuse/dev.c
2204
err = fuse_notify(fc, oh.error, nbytes - sizeof(oh), cs);
fs/fuse/dev.c
2209
if (oh.error <= -512 || oh.error > 0)
fs/fuse/dev.c
2231
else if (oh.error == -ENOSYS)
fs/fuse/dev.c
2233
else if (oh.error == -EAGAIN)
fs/fuse/dev.c
2250
if (oh.error)
fs/fuse/dev.c
2261
req->out.h.error = -EIO;
fs/fuse/dev.c
2411
req->out.h.error = -ECONNABORTED;
fs/fuse/dev.c
2477
req->out.h.error = -ECONNABORTED;
fs/fuse/dev.c
403
req->out.h.error = -ENOTCONN;
fs/fuse/dev.c
507
req->args->end(fm, req->args, req->out.h.error);
fs/fuse/dev.c
537
req->out.h.error = -EINTR;
fs/fuse/dev.c
694
ret = req->out.h.error;
fs/fuse/dev_uring.c
100
req->out.h.error = error;
fs/fuse/dev_uring.c
1304
req->out.h.error = err;
fs/fuse/dev_uring.c
321
req->out.h.error = -ECONNABORTED;
fs/fuse/dev_uring.c
550
if (oh->error <= -ERESTARTSYS || oh->error > 0)
fs/fuse/dev_uring.c
553
if (oh->error) {
fs/fuse/dev_uring.c
554
err = oh->error;
fs/fuse/dev_uring.c
80
int error)
fs/fuse/dev_uring.c
825
req->out.h.error = -EFAULT;
fs/fuse/dev_uring.c
931
req->out.h.error = err;
fs/fuse/dev_uring.c
99
if (error)
fs/fuse/dir.c
2241
goto error;
fs/fuse/dir.c
2248
goto error;
fs/fuse/dir.c
2300
error:
fs/fuse/file.c
1984
int error)
fs/fuse/file.c
1992
mapping_set_error(inode->i_mapping, error);
fs/fuse/file.c
2252
int error)
fs/fuse/file.c
2266
return error;
fs/fuse/file.c
95
int error)
fs/fuse/fuse_i.h
350
void (*end)(struct fuse_mount *fm, struct fuse_args *args, int error);
fs/fuse/fuse_trace.h
113
__field(int32_t, error)
fs/fuse/fuse_trace.h
120
__entry->error = req->out.h.error;
fs/fuse/fuse_trace.h
124
__entry->unique, __entry->len, __entry->error)
fs/fuse/inode.c
1320
int error)
fs/fuse/inode.c
1327
if (error || arg->major != FUSE_KERNEL_VERSION)
fs/fuse/virtio_fs.c
1509
req->out.h.error = ret;
fs/fuse/virtio_fs.c
602
req->out.h.error = ret;
fs/gfs2/acl.c
102
return error;
fs/gfs2/acl.c
85
int error;
fs/gfs2/acl.c
96
error = __gfs2_xattr_set(inode, name, data, len, 0, GFS2_EATYPE_SYS);
fs/gfs2/acl.c
97
if (error)
fs/gfs2/aops.c
132
int error;
fs/gfs2/aops.c
138
while ((folio = writeback_iter(mapping, wbc, folio, &error))) {
fs/gfs2/aops.c
144
error = __gfs2_jdata_write_folio(folio, wbc);
fs/gfs2/aops.c
147
return error;
fs/gfs2/aops.c
389
int error = 0;
fs/gfs2/aops.c
399
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/aops.c
400
if (error)
fs/gfs2/aops.c
408
folio_end_read(folio, error == 0);
fs/gfs2/aops.c
410
return error;
fs/gfs2/aops.c
423
int error = 0;
fs/gfs2/aops.c
429
error = stuffed_read_folio(ip, folio);
fs/gfs2/aops.c
431
error = mpage_read_folio(folio, gfs2_block_map);
fs/gfs2/aops.c
437
return error;
fs/gfs2/aops.c
53
int error;
fs/gfs2/aops.c
55
error = gfs2_block_map(inode, lblock, bh_result, 0);
fs/gfs2/aops.c
56
if (error)
fs/gfs2/aops.c
566
int error;
fs/gfs2/aops.c
568
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh);
fs/gfs2/aops.c
569
if (error)
fs/gfs2/aops.c
57
return error;
fs/gfs2/bmap.c
100
return error;
fs/gfs2/bmap.c
107
error = gfs2_alloc_blocks(ip, &block, &n, 0);
fs/gfs2/bmap.c
108
if (error)
fs/gfs2/bmap.c
112
error = gfs2_dir_get_new_buffer(ip, block, &bh);
fs/gfs2/bmap.c
113
if (error)
fs/gfs2/bmap.c
119
error = gfs2_unstuffer_folio(ip, dibh, block, folio);
fs/gfs2/bmap.c
120
if (error)
fs/gfs2/bmap.c
1342
int error;
fs/gfs2/bmap.c
1364
error = gfs2_trans_begin(sdp, RES_DINODE, GFS2_JTRUNC_REVOKES);
fs/gfs2/bmap.c
1365
if (error)
fs/gfs2/bmap.c
1366
return error;
fs/gfs2/bmap.c
1379
int error;
fs/gfs2/bmap.c
1385
error = gfs2_block_zero_range(inode, newsize,
fs/gfs2/bmap.c
1387
if (error)
fs/gfs2/bmap.c
1388
return error;
fs/gfs2/bmap.c
1392
error = gfs2_trans_begin(sdp, RES_DINODE + RES_JDATA, GFS2_JTRUNC_REVOKES);
fs/gfs2/bmap.c
1394
error = gfs2_trans_begin(sdp, RES_DINODE, 0);
fs/gfs2/bmap.c
1395
if (error)
fs/gfs2/bmap.c
1396
return error;
fs/gfs2/bmap.c
1398
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/bmap.c
1399
if (error)
fs/gfs2/bmap.c
1414
error = gfs2_journaled_truncate(inode, oldsize, newsize);
fs/gfs2/bmap.c
142
return error;
fs/gfs2/bmap.c
1422
return error;
fs/gfs2/bmap.c
159
int error;
fs/gfs2/bmap.c
163
error = PTR_ERR(folio);
fs/gfs2/bmap.c
166
error = __gfs2_unstuff_inode(ip, folio);
fs/gfs2/bmap.c
171
return error;
fs/gfs2/bmap.c
1999
int error;
fs/gfs2/bmap.c
2001
error = gfs2_trans_begin(sdp, RES_DINODE, 0);
fs/gfs2/bmap.c
2002
if (error)
fs/gfs2/bmap.c
2003
return error;
fs/gfs2/bmap.c
2007
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/bmap.c
2008
if (error)
fs/gfs2/bmap.c
2027
return error;
fs/gfs2/bmap.c
2044
int error;
fs/gfs2/bmap.c
2046
error = trunc_start(inode, newsize);
fs/gfs2/bmap.c
2047
if (error < 0)
fs/gfs2/bmap.c
2048
return error;
fs/gfs2/bmap.c
2052
error = punch_hole(ip, newsize, 0);
fs/gfs2/bmap.c
2053
if (error == 0)
fs/gfs2/bmap.c
2054
error = trunc_end(ip);
fs/gfs2/bmap.c
2056
return error;
fs/gfs2/bmap.c
2085
int error;
fs/gfs2/bmap.c
2089
error = gfs2_quota_lock_check(ip, &ap);
fs/gfs2/bmap.c
2090
if (error)
fs/gfs2/bmap.c
2091
return error;
fs/gfs2/bmap.c
2093
error = gfs2_inplace_reserve(ip, &ap);
fs/gfs2/bmap.c
2094
if (error)
fs/gfs2/bmap.c
2099
error = gfs2_trans_begin(sdp, RES_DINODE + RES_STATFS + RES_RG_BIT +
fs/gfs2/bmap.c
2104
if (error)
fs/gfs2/bmap.c
2108
error = gfs2_unstuff_dinode(ip);
fs/gfs2/bmap.c
2109
if (error)
fs/gfs2/bmap.c
2113
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/bmap.c
2114
if (error)
fs/gfs2/bmap.c
2131
return error;
fs/gfs2/bmap.c
2177
int error;
fs/gfs2/bmap.c
2178
error = punch_hole(ip, i_size_read(&ip->i_inode), 0);
fs/gfs2/bmap.c
2179
if (!error)
fs/gfs2/bmap.c
2180
error = trunc_end(ip);
fs/gfs2/bmap.c
2181
return error;
fs/gfs2/bmap.c
2360
int error;
fs/gfs2/bmap.c
2367
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/bmap.c
2368
if (error)
fs/gfs2/bmap.c
2369
return error;
fs/gfs2/bmap.c
2382
int error;
fs/gfs2/bmap.c
2406
error = gfs2_trans_begin(sdp, RES_DINODE, GFS2_JTRUNC_REVOKES);
fs/gfs2/bmap.c
2407
if (error)
fs/gfs2/bmap.c
2408
return error;
fs/gfs2/bmap.c
2420
int error;
fs/gfs2/bmap.c
2431
error = gfs2_block_zero_range(inode, offset, len);
fs/gfs2/bmap.c
2432
if (error)
fs/gfs2/bmap.c
2438
error = gfs2_block_zero_range(inode,
fs/gfs2/bmap.c
2440
if (error)
fs/gfs2/bmap.c
2447
error = filemap_write_and_wait_range(inode->i_mapping, start, end);
fs/gfs2/bmap.c
2448
if (error)
fs/gfs2/bmap.c
2449
return error;
fs/gfs2/bmap.c
2452
error = gfs2_trans_begin(sdp, RES_DINODE + 2 * RES_JDATA,
fs/gfs2/bmap.c
2455
error = gfs2_trans_begin(sdp, RES_DINODE, 0);
fs/gfs2/bmap.c
2456
if (error)
fs/gfs2/bmap.c
2457
return error;
fs/gfs2/bmap.c
2460
error = stuffed_zero_range(inode, offset, length);
fs/gfs2/bmap.c
2461
if (error)
fs/gfs2/bmap.c
2478
error = punch_hole(ip, offset, length);
fs/gfs2/bmap.c
2483
return error;
fs/gfs2/bmap.c
96
int error;
fs/gfs2/bmap.c
98
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/bmap.c
99
if (error)
fs/gfs2/dentry.c
43
int error, valid;
fs/gfs2/dentry.c
62
error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh);
fs/gfs2/dentry.c
63
if (error)
fs/gfs2/dentry.c
67
error = gfs2_dir_check(dir, name, ip);
fs/gfs2/dentry.c
68
valid = inode ? !error : (error == -ENOENT);
fs/gfs2/dir.c
1010
int error;
fs/gfs2/dir.c
1013
error = get_leaf_nr(dip, index, &leaf_no);
fs/gfs2/dir.c
1014
if (error)
fs/gfs2/dir.c
1015
return error;
fs/gfs2/dir.c
1018
error = get_leaf(dip, leaf_no, &obh);
fs/gfs2/dir.c
1019
if (error)
fs/gfs2/dir.c
1020
return error;
fs/gfs2/dir.c
1044
error = -EIO;
fs/gfs2/dir.c
1055
error = -ENOMEM;
fs/gfs2/dir.c
1065
error = gfs2_dir_write_data(dip, (char *)lp, start * sizeof(u64),
fs/gfs2/dir.c
1067
if (error != half_len * sizeof(u64)) {
fs/gfs2/dir.c
1068
if (error >= 0)
fs/gfs2/dir.c
1069
error = -EIO;
fs/gfs2/dir.c
107
int error;
fs/gfs2/dir.c
109
error = gfs2_meta_read(ip->i_gl, block, DIO_WAIT, 0, &bh);
fs/gfs2/dir.c
1095
error = PTR_ERR(new);
fs/gfs2/dir.c
110
if (error)
fs/gfs2/dir.c
111
return error;
fs/gfs2/dir.c
1119
error = gfs2_meta_inode_buffer(dip, &dibh);
fs/gfs2/dir.c
1120
if (!gfs2_assert_withdraw(GFS2_SB(&dip->i_inode), !error)) {
fs/gfs2/dir.c
1130
return error;
fs/gfs2/dir.c
1138
return error;
fs/gfs2/dir.c
1156
int error = 0;
fs/gfs2/dir.c
1173
error = gfs2_meta_inode_buffer(dip, &dibh);
fs/gfs2/dir.c
1174
if (error)
fs/gfs2/dir.c
1183
error = gfs2_dir_write_data(dip, (char *)hc2, 0, hsize_bytes * 2);
fs/gfs2/dir.c
1184
if (error != (hsize_bytes * 2))
fs/gfs2/dir.c
1202
return error;
fs/gfs2/dir.c
124
int error;
fs/gfs2/dir.c
126
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/dir.c
127
if (error)
fs/gfs2/dir.c
128
return error;
fs/gfs2/dir.c
1380
int error, i, need_sort = 0, sort_id;
fs/gfs2/dir.c
1384
error = get_leaf(ip, lfn, &bh);
fs/gfs2/dir.c
1385
if (error)
fs/gfs2/dir.c
1404
error = -ENOMEM;
fs/gfs2/dir.c
1420
error = get_leaf(ip, lfn, &bh);
fs/gfs2/dir.c
1421
if (error)
fs/gfs2/dir.c
1430
error = PTR_ERR(dent);
fs/gfs2/dir.c
1440
error = -EIO;
fs/gfs2/dir.c
1443
error = 0;
fs/gfs2/dir.c
1458
error = do_filldir_main(ip, ctx, darr, entries, need_sort ?
fs/gfs2/dir.c
1465
return error;
fs/gfs2/dir.c
1537
int error = 0;
fs/gfs2/dir.c
1553
error = gfs2_dir_read_leaf(inode, ctx,
fs/gfs2/dir.c
1556
if (error)
fs/gfs2/dir.c
1563
if (error > 0)
fs/gfs2/dir.c
1564
error = 0;
fs/gfs2/dir.c
1565
return error;
fs/gfs2/dir.c
1577
int error;
fs/gfs2/dir.c
1590
error = gfs2_meta_inode_buffer(dip, &dibh);
fs/gfs2/dir.c
1591
if (error)
fs/gfs2/dir.c
1592
return error;
fs/gfs2/dir.c
1594
error = -ENOMEM;
fs/gfs2/dir.c
1603
error = PTR_ERR(dent);
fs/gfs2/dir.c
1613
error = -EIO;
fs/gfs2/dir.c
1617
error = do_filldir_main(dip, ctx, darr,
fs/gfs2/dir.c
162
int error = 0;
fs/gfs2/dir.c
1623
if (error > 0)
fs/gfs2/dir.c
1624
error = 0;
fs/gfs2/dir.c
1628
return error;
fs/gfs2/dir.c
1730
int error;
fs/gfs2/dir.c
1735
error = get_first_leaf(ip, index, &obh);
fs/gfs2/dir.c
1736
if (error)
fs/gfs2/dir.c
1737
return error;
fs/gfs2/dir.c
1745
error = get_leaf(ip, bn, &obh);
fs/gfs2/dir.c
1746
if (error)
fs/gfs2/dir.c
1747
return error;
fs/gfs2/dir.c
176
error = gfs2_unstuff_dinode(ip);
fs/gfs2/dir.c
1762
error = gfs2_meta_inode_buffer(ip, &bh);
fs/gfs2/dir.c
1763
if (error)
fs/gfs2/dir.c
1764
return error;
fs/gfs2/dir.c
177
if (error)
fs/gfs2/dir.c
178
return error;
fs/gfs2/dir.c
1804
int error;
fs/gfs2/dir.c
1833
error = 0;
fs/gfs2/dir.c
1837
error = dir_make_exhash(inode);
fs/gfs2/dir.c
1838
if (error)
fs/gfs2/dir.c
1842
error = dir_split_leaf(inode, name);
fs/gfs2/dir.c
1843
if (error == 0)
fs/gfs2/dir.c
1845
if (error < 0)
fs/gfs2/dir.c
1848
error = dir_double_exhash(ip);
fs/gfs2/dir.c
1849
if (error)
fs/gfs2/dir.c
1851
error = dir_split_leaf(inode, name);
fs/gfs2/dir.c
1852
if (error < 0)
fs/gfs2/dir.c
1854
if (error == 0)
fs/gfs2/dir.c
1857
error = dir_new_leaf(inode, name);
fs/gfs2/dir.c
1858
if (!error)
fs/gfs2/dir.c
1860
error = -ENOSPC;
fs/gfs2/dir.c
1863
return error;
fs/gfs2/dir.c
194
error = gfs2_alloc_extent(&ip->i_inode, lblock, &dblock,
fs/gfs2/dir.c
196
if (error)
fs/gfs2/dir.c
198
error = -EIO;
fs/gfs2/dir.c
1985
int error;
fs/gfs2/dir.c
1987
error = gfs2_rindex_update(sdp);
fs/gfs2/dir.c
1988
if (error)
fs/gfs2/dir.c
1989
return error;
fs/gfs2/dir.c
1999
error = gfs2_quota_hold(dip, NO_UID_QUOTA_CHANGE, NO_GID_QUOTA_CHANGE);
fs/gfs2/dir.c
2000
if (error)
fs/gfs2/dir.c
2008
error = get_leaf(dip, blk, &bh);
fs/gfs2/dir.c
2009
if (error)
fs/gfs2/dir.c
2029
error = gfs2_glock_nq_m(rlist.rl_rgrps, rlist.rl_ghs);
fs/gfs2/dir.c
2030
if (error)
fs/gfs2/dir.c
2033
error = gfs2_trans_begin(sdp,
fs/gfs2/dir.c
2037
if (error)
fs/gfs2/dir.c
204
error = gfs2_dir_get_new_buffer(ip, dblock, &bh);
fs/gfs2/dir.c
2046
error = get_leaf(dip, blk, &bh);
fs/gfs2/dir.c
2047
if (error)
fs/gfs2/dir.c
206
error = gfs2_dir_get_existing_buffer(ip, dblock, &bh);
fs/gfs2/dir.c
2060
error = gfs2_dir_write_data(dip, ht, index * sizeof(u64), size);
fs/gfs2/dir.c
2061
if (error != size) {
fs/gfs2/dir.c
2062
if (error >= 0)
fs/gfs2/dir.c
2063
error = -EIO;
fs/gfs2/dir.c
2067
error = gfs2_meta_inode_buffer(dip, &dibh);
fs/gfs2/dir.c
2068
if (error)
fs/gfs2/dir.c
208
if (error)
fs/gfs2/dir.c
2088
return error;
fs/gfs2/dir.c
2109
int error = 0, last;
fs/gfs2/dir.c
2120
error = get_leaf(dip, leaf_no, &bh);
fs/gfs2/dir.c
2121
if (error)
fs/gfs2/dir.c
2128
error = leaf_dealloc(dip, index, len, leaf_no, bh,
fs/gfs2/dir.c
2131
if (error)
fs/gfs2/dir.c
2140
error = -EIO;
fs/gfs2/dir.c
2145
return error;
fs/gfs2/dir.c
225
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/dir.c
226
if (error)
fs/gfs2/dir.c
227
return error;
fs/gfs2/dir.c
241
return error;
fs/gfs2/dir.c
248
int error;
fs/gfs2/dir.c
250
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/dir.c
251
if (!error) {
fs/gfs2/dir.c
256
return (error) ? error : size;
fs/gfs2/dir.c
276
int error = 0;
fs/gfs2/dir.c
297
error = gfs2_get_extent(&ip->i_inode, lblock,
fs/gfs2/dir.c
299
if (error || !dblock)
fs/gfs2/dir.c
304
error = gfs2_meta_read(ip->i_gl, dblock, DIO_WAIT, 0, &bh);
fs/gfs2/dir.c
305
if (error)
fs/gfs2/dir.c
308
error = gfs2_metatype_check(sdp, bh, GFS2_METATYPE_JD);
fs/gfs2/dir.c
309
if (error) {
fs/gfs2/dir.c
325
return (copied) ? copied : error;
fs/gfs2/dir.c
509
goto error;
fs/gfs2/dir.c
512
goto error;
fs/gfs2/dir.c
515
goto error;
fs/gfs2/dir.c
518
goto error;
fs/gfs2/dir.c
523
goto error;
fs/gfs2/dir.c
525
error:
fs/gfs2/dir.c
762
int error;
fs/gfs2/dir.c
764
error = gfs2_meta_read(dip->i_gl, leaf_no, DIO_WAIT, 0, bhp);
fs/gfs2/dir.c
765
if (!error && gfs2_metatype_check(GFS2_SB(&dip->i_inode), *bhp, GFS2_METATYPE_LF)) {
fs/gfs2/dir.c
767
error = -EIO;
fs/gfs2/dir.c
770
return error;
fs/gfs2/dir.c
785
int error;
fs/gfs2/dir.c
788
error = PTR_ERR_OR_ZERO(hash);
fs/gfs2/dir.c
790
if (!error)
fs/gfs2/dir.c
793
return error;
fs/gfs2/dir.c
800
int error;
fs/gfs2/dir.c
802
error = get_leaf_nr(dip, index, &leaf_no);
fs/gfs2/dir.c
803
if (!error)
fs/gfs2/dir.c
804
error = get_leaf(dip, leaf_no, bh_out);
fs/gfs2/dir.c
806
return error;
fs/gfs2/dir.c
817
int error;
fs/gfs2/dir.c
830
error = get_first_leaf(ip, index, &bh);
fs/gfs2/dir.c
831
if (error)
fs/gfs2/dir.c
832
return ERR_PTR(error);
fs/gfs2/dir.c
844
error = get_leaf(ip, ln, &bh);
fs/gfs2/dir.c
845
} while(!error);
fs/gfs2/dir.c
847
return error ? ERR_PTR(error) : NULL;
fs/gfs2/dir.c
851
error = gfs2_meta_inode_buffer(ip, &bh);
fs/gfs2/dir.c
852
if (error)
fs/gfs2/dir.c
853
return ERR_PTR(error);
fs/gfs2/dir.c
869
int error;
fs/gfs2/dir.c
875
error = gfs2_alloc_blocks(ip, &bn, &n, 0);
fs/gfs2/dir.c
876
if (error)
fs/gfs2/dir.c
919
int error;
fs/gfs2/dir.c
921
error = gfs2_meta_inode_buffer(dip, &dibh);
fs/gfs2/dir.c
922
if (error)
fs/gfs2/dir.c
923
return error;
fs/gfs2/export.c
112
error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &gh);
fs/gfs2/export.c
113
if (error)
fs/gfs2/export.c
114
return error;
fs/gfs2/export.c
116
error = gfs2_dir_read(dir, &gnfd.ctx, &f_ra);
fs/gfs2/export.c
120
if (!error && !*name)
fs/gfs2/export.c
121
error = -ENOENT;
fs/gfs2/export.c
123
return error;
fs/gfs2/export.c
96
int error;
fs/gfs2/file.c
110
int error;
fs/gfs2/file.c
112
error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh);
fs/gfs2/file.c
113
if (error)
fs/gfs2/file.c
114
return error;
fs/gfs2/file.c
116
error = gfs2_dir_read(dir, ctx, &file->f_ra);
fs/gfs2/file.c
1183
int error;
fs/gfs2/file.c
1185
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/file.c
1186
if (unlikely(error))
fs/gfs2/file.c
1187
return error;
fs/gfs2/file.c
1192
error = gfs2_unstuff_dinode(ip);
fs/gfs2/file.c
1193
if (unlikely(error))
fs/gfs2/file.c
120
return error;
fs/gfs2/file.c
1200
error = gfs2_iomap_alloc(inode, offset, end - offset, &iomap);
fs/gfs2/file.c
1201
if (error)
fs/gfs2/file.c
1206
error = sb_issue_zeroout(sb, iomap.addr >> inode->i_blkbits,
fs/gfs2/file.c
1209
if (error) {
fs/gfs2/file.c
1216
return error;
fs/gfs2/file.c
1260
int error;
fs/gfs2/file.c
1306
error = gfs2_quota_lock_check(ip, &ap);
fs/gfs2/file.c
1307
if (error)
fs/gfs2/file.c
1308
return error;
fs/gfs2/file.c
1315
error = gfs2_inplace_reserve(ip, &ap);
fs/gfs2/file.c
1316
if (error)
fs/gfs2/file.c
1334
error = gfs2_trans_begin(sdp, rblocks,
fs/gfs2/file.c
1336
if (error)
fs/gfs2/file.c
1339
error = fallocate_chunk(inode, offset, max_bytes, mode);
fs/gfs2/file.c
1342
if (error)
fs/gfs2/file.c
1365
return error;
fs/gfs2/file.c
1493
int error = 0;
fs/gfs2/file.c
1514
error = gfs2_glock_get(GFS2_SB(&ip->i_inode), ip->i_no_addr,
fs/gfs2/file.c
1516
if (error)
fs/gfs2/file.c
1524
error = gfs2_glock_nq(fl_gh);
fs/gfs2/file.c
1525
if (error != GLR_TRYFAILED)
fs/gfs2/file.c
1531
if (error) {
fs/gfs2/file.c
1533
if (error == GLR_TRYFAILED)
fs/gfs2/file.c
1534
error = -EAGAIN;
fs/gfs2/file.c
1536
error = locks_lock_file_wait(file, fl);
fs/gfs2/file.c
1537
gfs2_assert_warn(GFS2_SB(&ip->i_inode), !error);
fs/gfs2/file.c
1542
return error;
fs/gfs2/file.c
163
int error;
fs/gfs2/file.c
170
error = gfs2_glock_nq(&gh);
fs/gfs2/file.c
171
if (error)
fs/gfs2/file.c
181
return error;
fs/gfs2/file.c
225
int error;
fs/gfs2/file.c
228
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh);
fs/gfs2/file.c
229
if (error)
fs/gfs2/file.c
230
return error;
fs/gfs2/file.c
232
error = 0;
fs/gfs2/file.c
239
error = gfs2_permission(&nop_mnt_idmap, inode, MAY_WRITE);
fs/gfs2/file.c
240
if (error)
fs/gfs2/file.c
248
error = filemap_fdatawrite(inode->i_mapping);
fs/gfs2/file.c
249
if (error)
fs/gfs2/file.c
251
error = filemap_fdatawait(inode->i_mapping);
fs/gfs2/file.c
252
if (error)
fs/gfs2/file.c
258
error = gfs2_trans_begin(sdp, RES_DINODE, 0);
fs/gfs2/file.c
259
if (error)
fs/gfs2/file.c
261
error = gfs2_meta_inode_buffer(ip, &bh);
fs/gfs2/file.c
262
if (error)
fs/gfs2/file.c
275
return error;
fs/gfs2/file.c
598
int error;
fs/gfs2/file.c
600
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY,
fs/gfs2/file.c
602
if (error)
fs/gfs2/file.c
603
return error;
fs/gfs2/file.c
62
loff_t error;
fs/gfs2/file.c
66
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY,
fs/gfs2/file.c
679
int error;
fs/gfs2/file.c
68
if (!error) {
fs/gfs2/file.c
683
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY,
fs/gfs2/file.c
685
if (error)
fs/gfs2/file.c
686
return error;
fs/gfs2/file.c
69
error = generic_file_llseek(file, offset, whence);
fs/gfs2/file.c
690
error = gfs2_open_common(inode, file);
fs/gfs2/file.c
695
return error;
fs/gfs2/file.c
75
error = gfs2_seek_data(file, offset);
fs/gfs2/file.c
79
error = gfs2_seek_hole(file, offset);
fs/gfs2/file.c
88
error = generic_file_llseek(file, offset, whence);
fs/gfs2/file.c
91
error = -EINVAL;
fs/gfs2/file.c
94
return error;
fs/gfs2/glock.c
1495
int error;
fs/gfs2/glock.c
1503
error = -ECHILD;
fs/gfs2/glock.c
1513
error = 0;
fs/gfs2/glock.c
1516
return error;
fs/gfs2/glock.c
1531
error = 0;
fs/gfs2/glock.c
1533
error = gfs2_glock_wait(gh);
fs/gfs2/glock.c
1535
return error;
fs/gfs2/glock.c
1678
int error;
fs/gfs2/glock.c
1680
error = gfs2_glock_get(sdp, number, glops, CREATE, &gl);
fs/gfs2/glock.c
1681
if (!error) {
fs/gfs2/glock.c
1682
error = gfs2_glock_nq_init(gl, state, flags, gh);
fs/gfs2/glock.c
1686
return error;
fs/gfs2/glock.c
1725
int error = 0;
fs/gfs2/glock.c
1733
error = gfs2_glock_nq(p[x]);
fs/gfs2/glock.c
1734
if (error) {
fs/gfs2/glock.c
1741
return error;
fs/gfs2/glock.c
1757
int error = 0;
fs/gfs2/glock.c
1772
error = nq_m_sync(num_gh, ghs, pph);
fs/gfs2/glock.c
1777
return error;
fs/gfs2/glock.c
866
int error;
fs/gfs2/glock.c
869
error = gfs2_glock_nq(&gh);
fs/gfs2/glock.c
870
if (!error)
fs/gfs2/glock.h
249
int error;
fs/gfs2/glock.h
253
error = gfs2_glock_nq(gh);
fs/gfs2/glock.h
254
if (error)
fs/gfs2/glock.h
257
return error;
fs/gfs2/glops.c
172
int error;
fs/gfs2/glops.c
175
error = filemap_fdatawait_range(metamapping, start, end);
fs/gfs2/glops.c
176
WARN_ON_ONCE(error && !gfs2_withdrawn(sdp));
fs/gfs2/glops.c
177
mapping_set_error(metamapping, error);
fs/gfs2/glops.c
178
if (error)
fs/gfs2/glops.c
180
return error;
fs/gfs2/glops.c
196
int error;
fs/gfs2/glops.c
204
error = gfs2_rgrp_metasync(gl);
fs/gfs2/glops.c
205
if (!error)
fs/gfs2/glops.c
206
error = gfs2_ail_empty_gl(gl);
fs/gfs2/glops.c
208
return error;
fs/gfs2/glops.c
288
int error;
fs/gfs2/glops.c
291
error = filemap_fdatawait(metamapping);
fs/gfs2/glops.c
292
if (error)
fs/gfs2/glops.c
294
return error;
fs/gfs2/glops.c
308
int error = 0, ret;
fs/gfs2/glops.c
326
error = filemap_fdatawait(mapping);
fs/gfs2/glops.c
327
mapping_set_error(mapping, error);
fs/gfs2/glops.c
330
if (!error)
fs/gfs2/glops.c
331
error = ret;
fs/gfs2/glops.c
333
if (!error)
fs/gfs2/glops.c
334
error = ret;
fs/gfs2/glops.c
344
return error;
fs/gfs2/glops.c
480
int error;
fs/gfs2/glops.c
482
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/glops.c
483
if (error)
fs/gfs2/glops.c
484
return error;
fs/gfs2/glops.c
486
error = gfs2_dinode_in(ip, dibh->b_data);
fs/gfs2/glops.c
488
return error;
fs/gfs2/glops.c
502
int error;
fs/gfs2/glops.c
507
error = gfs2_inode_refresh(ip);
fs/gfs2/glops.c
508
if (error)
fs/gfs2/glops.c
509
return error;
fs/gfs2/glops.c
519
int error = 0;
fs/gfs2/glops.c
530
error = gfs2_truncatei_resume(ip);
fs/gfs2/glops.c
532
return error;
fs/gfs2/glops.c
603
int error;
fs/gfs2/glops.c
608
error = gfs2_find_jhead(sdp->sd_jdesc, &head);
fs/gfs2/glops.c
609
if (gfs2_assert_withdraw(sdp, !error))
fs/gfs2/glops.c
610
return error;
fs/gfs2/incore.h
64
void (*lo_after_scan) (struct gfs2_jdesc *jd, int error, int pass);
fs/gfs2/inode.c
1000
if (error) {
fs/gfs2/inode.c
1002
return ERR_PTR(error);
fs/gfs2/inode.c
1011
error = finish_open(file, dentry, gfs2_open_common);
fs/gfs2/inode.c
1014
if (error) {
fs/gfs2/inode.c
1016
return ERR_PTR(error);
fs/gfs2/inode.c
1049
int error;
fs/gfs2/inode.c
1054
error = gfs2_qa_get(dip);
fs/gfs2/inode.c
1055
if (error)
fs/gfs2/inode.c
1056
return error;
fs/gfs2/inode.c
1061
error = gfs2_glock_nq(&d_gh);
fs/gfs2/inode.c
1062
if (error)
fs/gfs2/inode.c
1065
error = gfs2_glock_nq(&gh);
fs/gfs2/inode.c
1066
if (error)
fs/gfs2/inode.c
1069
error = -ENOENT;
fs/gfs2/inode.c
1073
error = gfs2_permission(&nop_mnt_idmap, dir, MAY_WRITE | MAY_EXEC);
fs/gfs2/inode.c
1074
if (error)
fs/gfs2/inode.c
1077
error = gfs2_dir_check(dir, &dentry->d_name, NULL);
fs/gfs2/inode.c
1078
switch (error) {
fs/gfs2/inode.c
1082
error = -EEXIST;
fs/gfs2/inode.c
1088
error = -EINVAL;
fs/gfs2/inode.c
1091
error = -EFBIG;
fs/gfs2/inode.c
1094
error = -EPERM;
fs/gfs2/inode.c
1097
error = -EMLINK;
fs/gfs2/inode.c
1101
error = gfs2_diradd_alloc_required(dir, &dentry->d_name, &da);
fs/gfs2/inode.c
1102
if (error < 0)
fs/gfs2/inode.c
1107
error = gfs2_quota_lock_check(dip, &ap);
fs/gfs2/inode.c
1108
if (error)
fs/gfs2/inode.c
1111
error = gfs2_inplace_reserve(dip, &ap);
fs/gfs2/inode.c
1112
if (error)
fs/gfs2/inode.c
1115
error = gfs2_trans_begin(sdp, gfs2_trans_da_blks(dip, &da, 2), 0);
fs/gfs2/inode.c
1116
if (error)
fs/gfs2/inode.c
1119
error = gfs2_trans_begin(sdp, 2 * RES_DINODE + RES_LEAF, 0);
fs/gfs2/inode.c
1120
if (error)
fs/gfs2/inode.c
1124
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/inode.c
1125
if (error)
fs/gfs2/inode.c
1128
error = gfs2_dir_add(dir, &dentry->d_name, ip, &da);
fs/gfs2/inode.c
1129
if (error)
fs/gfs2/inode.c
1158
return error;
fs/gfs2/inode.c
1175
int error;
fs/gfs2/inode.c
1188
error = gfs2_permission(&nop_mnt_idmap, &dip->i_inode,
fs/gfs2/inode.c
1190
if (error)
fs/gfs2/inode.c
1191
return error;
fs/gfs2/inode.c
1212
int error;
fs/gfs2/inode.c
1214
error = gfs2_dir_del(dip, dentry);
fs/gfs2/inode.c
1215
if (error)
fs/gfs2/inode.c
1216
return error;
fs/gfs2/inode.c
1250
int error;
fs/gfs2/inode.c
1252
error = gfs2_rindex_update(sdp);
fs/gfs2/inode.c
1253
if (error)
fs/gfs2/inode.c
1254
return error;
fs/gfs2/inode.c
1256
error = -EROFS;
fs/gfs2/inode.c
1268
error = gfs2_glock_nq(&d_gh);
fs/gfs2/inode.c
1269
if (error)
fs/gfs2/inode.c
1272
error = gfs2_glock_nq(&gh);
fs/gfs2/inode.c
1273
if (error)
fs/gfs2/inode.c
1276
error = -ENOENT;
fs/gfs2/inode.c
1281
error = -ENOTEMPTY;
fs/gfs2/inode.c
1286
error = gfs2_glock_nq(&r_gh); /* rgrp */
fs/gfs2/inode.c
1287
if (error)
fs/gfs2/inode.c
1290
error = gfs2_unlink_ok(dip, &dentry->d_name, ip);
fs/gfs2/inode.c
1291
if (error)
fs/gfs2/inode.c
1294
error = gfs2_trans_begin(sdp, 2*RES_DINODE + 3*RES_LEAF + RES_RG_BIT, 0);
fs/gfs2/inode.c
1295
if (error)
fs/gfs2/inode.c
1298
error = gfs2_unlink_inode(dip, dentry);
fs/gfs2/inode.c
1312
return error;
fs/gfs2/inode.c
134
int error;
fs/gfs2/inode.c
1421
int error = 0;
fs/gfs2/inode.c
1427
error = -EINVAL;
fs/gfs2/inode.c
1431
error = 0;
fs/gfs2/inode.c
1437
error = -ENOENT;
fs/gfs2/inode.c
1441
error = PTR_ERR(tmp);
fs/gfs2/inode.c
1451
return error;
fs/gfs2/inode.c
149
error = gfs2_glock_get(sdp, no_addr, &gfs2_inode_glops, CREATE,
fs/gfs2/inode.c
1499
int error;
fs/gfs2/inode.c
1509
error = gfs2_rindex_update(sdp);
fs/gfs2/inode.c
151
if (unlikely(error))
fs/gfs2/inode.c
1510
if (error)
fs/gfs2/inode.c
1511
return error;
fs/gfs2/inode.c
1513
error = gfs2_qa_get(ndip);
fs/gfs2/inode.c
1514
if (error)
fs/gfs2/inode.c
1515
return error;
fs/gfs2/inode.c
1518
error = gfs2_glock_nq_init(sdp->sd_rename_gl, LM_ST_EXCLUSIVE,
fs/gfs2/inode.c
1520
if (error)
fs/gfs2/inode.c
1526
error = gfs2_ok_to_move(ip, ndip);
fs/gfs2/inode.c
1527
if (error)
fs/gfs2/inode.c
154
error = gfs2_glock_get(sdp, no_addr, &gfs2_iopen_glops, CREATE,
fs/gfs2/inode.c
1550
error = gfs2_glock_nq(ghs + x);
fs/gfs2/inode.c
1551
if (error)
fs/gfs2/inode.c
1554
error = gfs2_glock_async_wait(num_gh, ghs, retries);
fs/gfs2/inode.c
1555
if (error == -ESTALE) {
fs/gfs2/inode.c
1559
if (error)
fs/gfs2/inode.c
156
if (unlikely(error))
fs/gfs2/inode.c
1569
error = -ENOENT;
fs/gfs2/inode.c
1572
error = gfs2_glock_nq_init(nrgd->rd_gl, LM_ST_EXCLUSIVE,
fs/gfs2/inode.c
1574
if (error)
fs/gfs2/inode.c
1578
error = -ENOENT;
fs/gfs2/inode.c
1584
error = gfs2_unlink_ok(odip, &odentry->d_name, ip);
fs/gfs2/inode.c
1585
if (error)
fs/gfs2/inode.c
1591
error = gfs2_unlink_ok(ndip, &ndentry->d_name, nip);
fs/gfs2/inode.c
1592
if (error)
fs/gfs2/inode.c
1596
error = -EAGAIN;
fs/gfs2/inode.c
1603
error = -EIO;
fs/gfs2/inode.c
1607
error = -ENOTEMPTY;
fs/gfs2/inode.c
1612
error = gfs2_permission(&nop_mnt_idmap, ndir,
fs/gfs2/inode.c
1614
if (error)
fs/gfs2/inode.c
1617
error = gfs2_dir_check(ndir, &ndentry->d_name, NULL);
fs/gfs2/inode.c
1618
switch (error) {
fs/gfs2/inode.c
1620
error = 0;
fs/gfs2/inode.c
1623
error = -EEXIST;
fs/gfs2/inode.c
1631
error = -ENOENT;
fs/gfs2/inode.c
1635
error = -EFBIG;
fs/gfs2/inode.c
1640
error = -EMLINK;
fs/gfs2/inode.c
1649
error = gfs2_permission(&nop_mnt_idmap, d_inode(odentry),
fs/gfs2/inode.c
1651
if (error)
fs/gfs2/inode.c
1656
error = gfs2_diradd_alloc_required(ndir, &ndentry->d_name, &da);
fs/gfs2/inode.c
1657
if (error)
fs/gfs2/inode.c
1663
error = gfs2_quota_lock_check(ndip, &ap);
fs/gfs2/inode.c
1664
if (error)
fs/gfs2/inode.c
1667
error = gfs2_inplace_reserve(ndip, &ap);
fs/gfs2/inode.c
1668
if (error)
fs/gfs2/inode.c
1671
error = gfs2_trans_begin(sdp, gfs2_trans_da_blks(ndip, &da, 4) +
fs/gfs2/inode.c
1673
if (error)
fs/gfs2/inode.c
1676
error = gfs2_trans_begin(sdp, 4 * RES_DINODE +
fs/gfs2/inode.c
1678
if (error)
fs/gfs2/inode.c
168
error = gfs2_glock_nq_init(io_gl, LM_ST_SHARED,
fs/gfs2/inode.c
1685
error = gfs2_unlink_inode(ndip, ndentry);
fs/gfs2/inode.c
1687
error = update_moved_ino(ip, ndip, dir_rename);
fs/gfs2/inode.c
1688
if (error)
fs/gfs2/inode.c
1691
error = gfs2_dir_del(odip, odentry);
fs/gfs2/inode.c
1692
if (error)
fs/gfs2/inode.c
1695
error = gfs2_dir_add(ndir, &ndentry->d_name, ip, &da);
fs/gfs2/inode.c
1696
if (error)
fs/gfs2/inode.c
172
if (unlikely(error))
fs/gfs2/inode.c
1722
return error;
fs/gfs2/inode.c
1750
int error;
fs/gfs2/inode.c
1753
error = gfs2_rindex_update(sdp);
fs/gfs2/inode.c
1754
if (error)
fs/gfs2/inode.c
1755
return error;
fs/gfs2/inode.c
1758
error = gfs2_glock_nq_init(sdp->sd_rename_gl, LM_ST_EXCLUSIVE,
fs/gfs2/inode.c
1760
if (error)
fs/gfs2/inode.c
1765
error = gfs2_ok_to_move(oip, ndip);
fs/gfs2/inode.c
1766
if (error)
fs/gfs2/inode.c
1772
error = gfs2_ok_to_move(nip, odip);
fs/gfs2/inode.c
1773
if (error)
fs/gfs2/inode.c
1793
error = gfs2_glock_nq(ghs + x);
fs/gfs2/inode.c
1794
if (error)
fs/gfs2/inode.c
1798
error = gfs2_glock_async_wait(num_gh, ghs, retries);
fs/gfs2/inode.c
1799
if (error == -ESTALE) {
fs/gfs2/inode.c
1803
if (error)
fs/gfs2/inode.c
1806
error = -ENOENT;
fs/gfs2/inode.c
181
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE,
fs/gfs2/inode.c
1810
error = gfs2_unlink_ok(odip, &odentry->d_name, oip);
fs/gfs2/inode.c
1811
if (error)
fs/gfs2/inode.c
1813
error = gfs2_unlink_ok(ndip, &ndentry->d_name, nip);
fs/gfs2/inode.c
1814
if (error)
fs/gfs2/inode.c
1818
error = gfs2_permission(&nop_mnt_idmap, odentry->d_inode,
fs/gfs2/inode.c
1820
if (error)
fs/gfs2/inode.c
1824
error = gfs2_permission(&nop_mnt_idmap, ndentry->d_inode,
fs/gfs2/inode.c
1826
if (error)
fs/gfs2/inode.c
1829
error = gfs2_trans_begin(sdp, 4 * RES_DINODE + 4 * RES_LEAF, 0);
fs/gfs2/inode.c
183
if (error)
fs/gfs2/inode.c
1830
if (error)
fs/gfs2/inode.c
1833
error = update_moved_ino(oip, ndip, S_ISDIR(old_mode));
fs/gfs2/inode.c
1834
if (error)
fs/gfs2/inode.c
1837
error = update_moved_ino(nip, odip, S_ISDIR(new_mode));
fs/gfs2/inode.c
1838
if (error)
fs/gfs2/inode.c
1841
error = gfs2_dir_mvino(ndip, &ndentry->d_name, oip,
fs/gfs2/inode.c
1843
if (error)
fs/gfs2/inode.c
1846
error = gfs2_dir_mvino(odip, &odentry->d_name, nip,
fs/gfs2/inode.c
1848
if (error)
fs/gfs2/inode.c
186
error = -ESTALE;
fs/gfs2/inode.c
1876
return error;
fs/gfs2/inode.c
1914
int error;
fs/gfs2/inode.c
192
error = gfs2_check_blk_type(sdp, no_addr,
fs/gfs2/inode.c
1920
error = gfs2_glock_nq(&i_gh);
fs/gfs2/inode.c
1921
if (error) {
fs/gfs2/inode.c
1923
return ERR_PTR(error);
fs/gfs2/inode.c
1933
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/inode.c
1934
if (error) {
fs/gfs2/inode.c
1935
buf = ERR_PTR(error);
fs/gfs2/inode.c
194
if (error)
fs/gfs2/inode.c
1972
int error;
fs/gfs2/inode.c
1985
error = gfs2_glock_nq_init(gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh);
fs/gfs2/inode.c
1986
if (error)
fs/gfs2/inode.c
1987
return error;
fs/gfs2/inode.c
1991
error = -EPERM;
fs/gfs2/inode.c
1993
error = generic_permission(&nop_mnt_idmap, inode, mask);
fs/gfs2/inode.c
1997
return error;
fs/gfs2/inode.c
2009
int error;
fs/gfs2/inode.c
2014
error = gfs2_trans_begin(GFS2_SB(inode), RES_DINODE, 0);
fs/gfs2/inode.c
2015
if (error)
fs/gfs2/inode.c
2016
return error;
fs/gfs2/inode.c
2018
error = __gfs2_setattr_simple(inode, attr);
fs/gfs2/inode.c
2020
return error;
fs/gfs2/inode.c
2029
int error;
fs/gfs2/inode.c
2041
error = gfs2_qa_get(ip);
fs/gfs2/inode.c
2042
if (error)
fs/gfs2/inode.c
2043
return error;
fs/gfs2/inode.c
2045
error = gfs2_rindex_update(sdp);
fs/gfs2/inode.c
2046
if (error)
fs/gfs2/inode.c
2049
error = gfs2_quota_lock(ip, nuid, ngid);
fs/gfs2/inode.c
2050
if (error)
fs/gfs2/inode.c
2057
error = gfs2_quota_check(ip, nuid, ngid, &ap);
fs/gfs2/inode.c
2058
if (error)
fs/gfs2/inode.c
2062
error = gfs2_trans_begin(sdp, RES_DINODE + 2 * RES_QUOTA, 0);
fs/gfs2/inode.c
2063
if (error)
fs/gfs2/inode.c
2066
error = gfs2_setattr_simple(inode, attr);
fs/gfs2/inode.c
2067
if (error)
fs/gfs2/inode.c
2082
return error;
fs/gfs2/inode.c
210
error = gfs2_instantiate(&i_gh);
fs/gfs2/inode.c
2103
int error;
fs/gfs2/inode.c
2105
error = gfs2_qa_get(ip);
fs/gfs2/inode.c
2106
if (error)
fs/gfs2/inode.c
2107
return error;
fs/gfs2/inode.c
2109
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh);
fs/gfs2/inode.c
211
if (error) {
fs/gfs2/inode.c
2110
if (error)
fs/gfs2/inode.c
2113
error = may_setattr(&nop_mnt_idmap, inode, attr->ia_valid);
fs/gfs2/inode.c
2114
if (error)
fs/gfs2/inode.c
2115
goto error;
fs/gfs2/inode.c
2117
error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
fs/gfs2/inode.c
2118
if (error)
fs/gfs2/inode.c
2119
goto error;
fs/gfs2/inode.c
2122
error = gfs2_setattr_size(inode, attr->ia_size);
fs/gfs2/inode.c
2124
error = setattr_chown(inode, attr);
fs/gfs2/inode.c
2126
error = gfs2_setattr_simple(inode, attr);
fs/gfs2/inode.c
2127
if (!error && attr->ia_valid & ATTR_MODE)
fs/gfs2/inode.c
2128
error = posix_acl_chmod(&nop_mnt_idmap, dentry,
fs/gfs2/inode.c
2132
error:
fs/gfs2/inode.c
2133
if (!error)
fs/gfs2/inode.c
2138
return error;
fs/gfs2/inode.c
2166
int error;
fs/gfs2/inode.c
2170
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh);
fs/gfs2/inode.c
2171
if (error)
fs/gfs2/inode.c
2172
return error;
fs/gfs2/inode.c
2277
int error;
fs/gfs2/inode.c
2286
error = gfs2_glock_nq(gh);
fs/gfs2/inode.c
2287
if (error)
fs/gfs2/inode.c
2288
return error;
fs/gfs2/inode.c
237
if (error == GLR_TRYFAILED)
fs/gfs2/inode.c
238
error = -EAGAIN;
fs/gfs2/inode.c
248
return ERR_PTR(error);
fs/gfs2/inode.c
263
int error;
fs/gfs2/inode.c
271
error = -EIO;
fs/gfs2/inode.c
279
return ERR_PTR(error);
fs/gfs2/inode.c
328
int error = 0;
fs/gfs2/inode.c
343
error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh);
fs/gfs2/inode.c
344
if (error)
fs/gfs2/inode.c
345
return ERR_PTR(error);
fs/gfs2/inode.c
349
error = gfs2_permission(&nop_mnt_idmap, dir, MAY_EXEC);
fs/gfs2/inode.c
350
if (error)
fs/gfs2/inode.c
356
error = PTR_ERR(inode);
fs/gfs2/inode.c
360
if (error == -ENOENT)
fs/gfs2/inode.c
362
return inode ? inode : ERR_PTR(error);
fs/gfs2/inode.c
377
int error;
fs/gfs2/inode.c
379
error = gfs2_permission(&nop_mnt_idmap, &dip->i_inode,
fs/gfs2/inode.c
381
if (error)
fs/gfs2/inode.c
382
return error;
fs/gfs2/inode.c
422
int error;
fs/gfs2/inode.c
424
error = gfs2_quota_lock_check(ip, &ap);
fs/gfs2/inode.c
425
if (error)
fs/gfs2/inode.c
428
error = gfs2_inplace_reserve(ip, &ap);
fs/gfs2/inode.c
429
if (error)
fs/gfs2/inode.c
432
error = gfs2_trans_begin(sdp, (*dblocks * RES_RG_BIT) + RES_STATFS + RES_QUOTA, 0);
fs/gfs2/inode.c
433
if (error)
fs/gfs2/inode.c
436
error = gfs2_alloc_blocks(ip, &ip->i_no_addr, dblocks, 1);
fs/gfs2/inode.c
437
if (error)
fs/gfs2/inode.c
453
return error;
fs/gfs2/inode.c
479
int error;
fs/gfs2/inode.c
488
error = gfs2_quota_hold(ip, NO_UID_QUOTA_CHANGE, NO_GID_QUOTA_CHANGE);
fs/gfs2/inode.c
489
if (error)
fs/gfs2/inode.c
490
return error;
fs/gfs2/inode.c
495
error = -EIO;
fs/gfs2/inode.c
499
error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE,
fs/gfs2/inode.c
501
if (error)
fs/gfs2/inode.c
504
error = gfs2_trans_begin(sdp, RES_RG_BIT + RES_STATFS + RES_QUOTA,
fs/gfs2/inode.c
506
if (error)
fs/gfs2/inode.c
519
return error;
fs/gfs2/inode.c
634
int error;
fs/gfs2/inode.c
637
error = gfs2_quota_lock_check(dip, &ap);
fs/gfs2/inode.c
638
if (error)
fs/gfs2/inode.c
641
error = gfs2_inplace_reserve(dip, &ap);
fs/gfs2/inode.c
642
if (error)
fs/gfs2/inode.c
645
error = gfs2_trans_begin(sdp, gfs2_trans_da_blks(dip, da, 2), 0);
fs/gfs2/inode.c
646
if (error)
fs/gfs2/inode.c
649
error = gfs2_trans_begin(sdp, RES_LEAF + 2 * RES_DINODE, 0);
fs/gfs2/inode.c
650
if (error)
fs/gfs2/inode.c
654
error = gfs2_dir_add(&dip->i_inode, name, ip, da);
fs/gfs2/inode.c
661
return error;
fs/gfs2/inode.c
712
int error, dealloc_error;
fs/gfs2/inode.c
721
error = gfs2_qa_get(dip);
fs/gfs2/inode.c
722
if (error)
fs/gfs2/inode.c
723
return error;
fs/gfs2/inode.c
725
error = gfs2_rindex_update(sdp);
fs/gfs2/inode.c
726
if (error)
fs/gfs2/inode.c
729
error = gfs2_glock_nq_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, &d_gh);
fs/gfs2/inode.c
730
if (error)
fs/gfs2/inode.c
734
error = create_ok(dip, name, mode);
fs/gfs2/inode.c
735
if (error)
fs/gfs2/inode.c
739
error = PTR_ERR(inode);
fs/gfs2/inode.c
744
error = -EISDIR;
fs/gfs2/inode.c
748
error = 0;
fs/gfs2/inode.c
751
error = finish_open(file, dentry, gfs2_open_common);
fs/gfs2/inode.c
753
error = finish_no_open(file, NULL);
fs/gfs2/inode.c
757
} else if (error != -ENOENT) {
fs/gfs2/inode.c
761
error = gfs2_diradd_alloc_required(dir, name, &da);
fs/gfs2/inode.c
762
if (error < 0)
fs/gfs2/inode.c
766
error = -ENOMEM;
fs/gfs2/inode.c
772
error = posix_acl_create(dir, &mode, &default_acl, &acl);
fs/gfs2/inode.c
773
if (error)
fs/gfs2/inode.c
776
error = gfs2_qa_get(ip);
fs/gfs2/inode.c
777
if (error)
fs/gfs2/inode.c
822
error = alloc_dinode(ip, aflags, &blocks);
fs/gfs2/inode.c
823
if (error)
fs/gfs2/inode.c
828
error = gfs2_glock_get(sdp, ip->i_no_addr, &gfs2_inode_glops, CREATE, &ip->i_gl);
fs/gfs2/inode.c
829
if (error)
fs/gfs2/inode.c
832
error = gfs2_glock_get(sdp, ip->i_no_addr, &gfs2_iopen_glops, CREATE, &io_gl);
fs/gfs2/inode.c
833
if (error)
fs/gfs2/inode.c
839
error = insert_inode_locked4(inode, ip->i_no_addr, iget_test, &ip->i_no_addr);
fs/gfs2/inode.c
840
if (error == -EBUSY)
fs/gfs2/inode.c
842
if (error)
fs/gfs2/inode.c
845
error = gfs2_glock_nq_init(io_gl, LM_ST_SHARED, GL_EXACT | GL_NOPID,
fs/gfs2/inode.c
847
if (error)
fs/gfs2/inode.c
850
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, &gh);
fs/gfs2/inode.c
851
if (error)
fs/gfs2/inode.c
855
error = gfs2_trans_begin(sdp, blocks, 0);
fs/gfs2/inode.c
856
if (error)
fs/gfs2/inode.c
871
error = __gfs2_set_acl(inode, default_acl, ACL_TYPE_DEFAULT);
fs/gfs2/inode.c
872
if (error)
fs/gfs2/inode.c
878
error = __gfs2_set_acl(inode, acl, ACL_TYPE_ACCESS);
fs/gfs2/inode.c
879
if (error)
fs/gfs2/inode.c
885
error = security_inode_init_security(&ip->i_inode, &dip->i_inode, name,
fs/gfs2/inode.c
887
if (error)
fs/gfs2/inode.c
890
error = link_dinode(dip, name, ip, &da);
fs/gfs2/inode.c
891
if (error)
fs/gfs2/inode.c
900
error = finish_open(file, dentry, gfs2_open_common);
fs/gfs2/inode.c
908
return error;
fs/gfs2/inode.c
951
return error;
fs/gfs2/inode.c
988
int error;
fs/gfs2/inode.c
999
error = gfs2_glock_nq_init(gl, LM_ST_SHARED, LM_FLAG_ANY, &gh);
fs/gfs2/lock_dlm.c
1029
return error;
fs/gfs2/lock_dlm.c
1036
int error;
fs/gfs2/lock_dlm.c
1079
error = mounted_lock(sdp, DLM_LOCK_PR, DLM_LKF_CONVERT);
fs/gfs2/lock_dlm.c
1080
if (error)
fs/gfs2/lock_dlm.c
1081
fs_err(sdp, "control_first_done mounted PR error %d\n", error);
fs/gfs2/lock_dlm.c
1083
error = control_lock(sdp, DLM_LOCK_NL, DLM_LKF_CONVERT|DLM_LKF_VALBLK);
fs/gfs2/lock_dlm.c
1084
if (error)
fs/gfs2/lock_dlm.c
1085
fs_err(sdp, "control_first_done control NL error %d\n", error);
fs/gfs2/lock_dlm.c
1087
return error;
fs/gfs2/lock_dlm.c
1301
int error, ops_result;
fs/gfs2/lock_dlm.c
1319
error = set_recover_size(sdp, NULL, 0);
fs/gfs2/lock_dlm.c
1320
if (error)
fs/gfs2/lock_dlm.c
1330
error = -EINVAL;
fs/gfs2/lock_dlm.c
1344
error = dlm_new_lockspace(fsname, cluster, flags, GDLM_LVB_SIZE,
fs/gfs2/lock_dlm.c
1347
if (error) {
fs/gfs2/lock_dlm.c
1348
fs_err(sdp, "dlm_new_lockspace error %d\n", error);
fs/gfs2/lock_dlm.c
1365
error = -EINVAL;
fs/gfs2/lock_dlm.c
1374
error = control_mount(sdp);
fs/gfs2/lock_dlm.c
1375
if (error) {
fs/gfs2/lock_dlm.c
1376
fs_err(sdp, "mount control error %d\n", error);
fs/gfs2/lock_dlm.c
1391
return error;
fs/gfs2/lock_dlm.c
1397
int error;
fs/gfs2/lock_dlm.c
1402
error = control_first_done(sdp);
fs/gfs2/lock_dlm.c
1403
if (error)
fs/gfs2/lock_dlm.c
1404
fs_err(sdp, "mount first_done error %d\n", error);
fs/gfs2/lock_dlm.c
285
int error;
fs/gfs2/lock_dlm.c
312
error = -ENODEV;
fs/gfs2/lock_dlm.c
314
error = dlm_lock(ls->ls_dlm, req, &gl->gl_lksb, lkf, strname,
fs/gfs2/lock_dlm.c
318
if (error == -EBUSY) {
fs/gfs2/lock_dlm.c
322
return error;
fs/gfs2/lock_dlm.c
330
int error;
fs/gfs2/lock_dlm.c
361
error = -ENODEV;
fs/gfs2/lock_dlm.c
363
error = dlm_unlock(ls->ls_dlm, gl->gl_lksb.sb_lkid, flags,
fs/gfs2/lock_dlm.c
367
if (error == -EBUSY) {
fs/gfs2/lock_dlm.c
372
if (error == -ENODEV) {
fs/gfs2/lock_dlm.c
377
if (error) {
fs/gfs2/lock_dlm.c
380
(unsigned long long) glock_number(gl), error);
fs/gfs2/lock_dlm.c
570
int error;
fs/gfs2/lock_dlm.c
573
error = -ENODEV;
fs/gfs2/lock_dlm.c
575
error = dlm_unlock(ls->ls_dlm, lksb->sb_lkid, 0, lksb, ls);
fs/gfs2/lock_dlm.c
577
if (error) {
fs/gfs2/lock_dlm.c
579
name, lksb->sb_lkid, error);
fs/gfs2/lock_dlm.c
580
return error;
fs/gfs2/lock_dlm.c
598
int error, status;
fs/gfs2/lock_dlm.c
604
error = -ENODEV;
fs/gfs2/lock_dlm.c
606
error = dlm_lock(ls->ls_dlm, mode, lksb, flags,
fs/gfs2/lock_dlm.c
611
if (error) {
fs/gfs2/lock_dlm.c
613
name, lksb->sb_lkid, flags, mode, error);
fs/gfs2/lock_dlm.c
614
return error;
fs/gfs2/lock_dlm.c
663
int i, error;
fs/gfs2/lock_dlm.c
706
error = control_lock(sdp, DLM_LOCK_EX, DLM_LKF_CONVERT|DLM_LKF_VALBLK);
fs/gfs2/lock_dlm.c
707
if (error) {
fs/gfs2/lock_dlm.c
708
fs_err(sdp, "control lock EX error %d\n", error);
fs/gfs2/lock_dlm.c
789
error = control_lock(sdp, DLM_LOCK_NL, flags);
fs/gfs2/lock_dlm.c
790
if (error) {
fs/gfs2/lock_dlm.c
791
fs_err(sdp, "control lock NL error %d\n", error);
fs/gfs2/lock_dlm.c
839
int error;
fs/gfs2/lock_dlm.c
849
error = control_lock(sdp, DLM_LOCK_NL, DLM_LKF_VALBLK);
fs/gfs2/lock_dlm.c
850
if (error) {
fs/gfs2/lock_dlm.c
851
fs_err(sdp, "control_mount control_lock NL error %d\n", error);
fs/gfs2/lock_dlm.c
852
return error;
fs/gfs2/lock_dlm.c
855
error = mounted_lock(sdp, DLM_LOCK_NL, 0);
fs/gfs2/lock_dlm.c
856
if (error) {
fs/gfs2/lock_dlm.c
857
fs_err(sdp, "control_mount mounted_lock NL error %d\n", error);
fs/gfs2/lock_dlm.c
859
return error;
fs/gfs2/lock_dlm.c
865
error = -EINTR;
fs/gfs2/lock_dlm.c
875
error = mounted_lock(sdp, DLM_LOCK_NL, DLM_LKF_CONVERT);
fs/gfs2/lock_dlm.c
876
if (error)
fs/gfs2/lock_dlm.c
895
error = control_lock(sdp, DLM_LOCK_EX, DLM_LKF_CONVERT|DLM_LKF_NOQUEUE|DLM_LKF_VALBLK);
fs/gfs2/lock_dlm.c
896
if (error == -EAGAIN) {
fs/gfs2/lock_dlm.c
898
} else if (error) {
fs/gfs2/lock_dlm.c
899
fs_err(sdp, "control_mount control_lock EX error %d\n", error);
fs/gfs2/lock_dlm.c
910
error = mounted_lock(sdp, DLM_LOCK_EX, DLM_LKF_CONVERT|DLM_LKF_NOQUEUE);
fs/gfs2/lock_dlm.c
911
if (!error) {
fs/gfs2/lock_dlm.c
914
} else if (error != -EAGAIN) {
fs/gfs2/lock_dlm.c
915
fs_err(sdp, "control_mount mounted_lock EX error %d\n", error);
fs/gfs2/lock_dlm.c
919
error = mounted_lock(sdp, DLM_LOCK_PR, DLM_LKF_CONVERT|DLM_LKF_NOQUEUE);
fs/gfs2/lock_dlm.c
920
if (!error) {
fs/gfs2/lock_dlm.c
925
fs_err(sdp, "control_mount mounted_lock PR error %d\n", error);
fs/gfs2/lock_dlm.c
946
error = -EINVAL;
fs/gfs2/lock_dlm.c
961
error = control_lock(sdp, DLM_LOCK_NL, DLM_LKF_CONVERT);
fs/gfs2/lock_dlm.c
962
if (error)
fs/gfs2/lops.c
1009
int error = 0;
fs/gfs2/lops.c
1024
error = gfs2_replay_read_block(jd, start, &bh_log);
fs/gfs2/lops.c
1025
if (error)
fs/gfs2/lops.c
1026
return error;
fs/gfs2/lops.c
1044
return error;
fs/gfs2/lops.c
1049
static void databuf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass)
fs/gfs2/lops.c
1054
if (error) {
fs/gfs2/lops.c
172
size_t offset, size_t size, blk_status_t error)
fs/gfs2/lops.c
180
if (error)
fs/gfs2/lops.c
396
int error = blk_status_to_errno(bio->bi_status);
fs/gfs2/lops.c
401
filemap_set_wb_err(fi.folio->mapping, error);
fs/gfs2/lops.c
402
folio_end_read(fi.folio, !error);
fs/gfs2/lops.c
784
int error = 0;
fs/gfs2/lops.c
799
error = gfs2_replay_read_block(jd, start, &bh_log);
fs/gfs2/lops.c
800
if (error)
fs/gfs2/lops.c
801
return error;
fs/gfs2/lops.c
807
error = -EIO;
fs/gfs2/lops.c
820
if (error)
fs/gfs2/lops.c
826
return error;
fs/gfs2/lops.c
829
static void buf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass)
fs/gfs2/lops.c
834
if (error) {
fs/gfs2/lops.c
927
int error;
fs/gfs2/lops.c
935
error = gfs2_replay_read_block(jd, start, &bh);
fs/gfs2/lops.c
936
if (error)
fs/gfs2/lops.c
937
return error;
fs/gfs2/lops.c
945
error = gfs2_revoke_add(jd, blkno, start);
fs/gfs2/lops.c
946
if (error < 0) {
fs/gfs2/lops.c
948
return error;
fs/gfs2/lops.c
950
else if (error)
fs/gfs2/lops.c
966
static void revoke_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass)
fs/gfs2/lops.c
970
if (error) {
fs/gfs2/lops.h
69
int x, error;
fs/gfs2/lops.h
72
error = gfs2_log_ops[x]->lo_scan_elements(jd, start,
fs/gfs2/lops.h
74
if (error)
fs/gfs2/lops.h
75
return error;
fs/gfs2/lops.h
81
static inline void lops_after_scan(struct gfs2_jdesc *jd, int error,
fs/gfs2/lops.h
87
gfs2_log_ops[x]->lo_after_scan(jd, error, pass);
fs/gfs2/main.c
148
error = gfs2_qd_shrinker_init();
fs/gfs2/main.c
149
if (error)
fs/gfs2/main.c
152
error = -ENOMEM;
fs/gfs2/main.c
174
error = register_filesystem(&gfs2_fs_type);
fs/gfs2/main.c
175
if (error)
fs/gfs2/main.c
178
error = register_filesystem(&gfs2meta_fs_type);
fs/gfs2/main.c
179
if (error)
fs/gfs2/main.c
221
return error;
fs/gfs2/main.c
77
int error;
fs/gfs2/main.c
83
error = gfs2_sys_init();
fs/gfs2/main.c
84
if (error)
fs/gfs2/main.c
85
return error;
fs/gfs2/main.c
87
error = list_lru_init(&gfs2_qd_lru);
fs/gfs2/main.c
88
if (error)
fs/gfs2/main.c
91
error = gfs2_glock_init();
fs/gfs2/main.c
92
if (error)
fs/gfs2/main.c
95
error = -ENOMEM;
fs/gfs2/meta_io.c
93
int error;
fs/gfs2/meta_io.c
95
while ((folio = writeback_iter(mapping, wbc, folio, &error)))
fs/gfs2/meta_io.c
98
return error;
fs/gfs2/ops_fstype.c
1063
int error = 0;
fs/gfs2/ops_fstype.c
1067
error = PTR_ERR(p);
fs/gfs2/ops_fstype.c
1068
fs_err(sdp, "can't create logd thread: %d\n", error);
fs/gfs2/ops_fstype.c
1069
return error;
fs/gfs2/ops_fstype.c
1076
error = PTR_ERR(p);
fs/gfs2/ops_fstype.c
1077
fs_err(sdp, "can't create quotad thread: %d\n", error);
fs/gfs2/ops_fstype.c
1090
return error;
fs/gfs2/ops_fstype.c
1119
int error;
fs/gfs2/ops_fstype.c
1152
error = -EINVAL;
fs/gfs2/ops_fstype.c
1171
error = -ENOMEM;
fs/gfs2/ops_fstype.c
1181
error = init_names(sdp, silent);
fs/gfs2/ops_fstype.c
1182
if (error)
fs/gfs2/ops_fstype.c
1187
error = -ENOMEM;
fs/gfs2/ops_fstype.c
1201
error = gfs2_sys_fs_add(sdp);
fs/gfs2/ops_fstype.c
1202
if (error)
fs/gfs2/ops_fstype.c
1207
error = gfs2_lm_mount(sdp, silent);
fs/gfs2/ops_fstype.c
1208
if (error)
fs/gfs2/ops_fstype.c
1213
error = init_locking(sdp, &mount_gh, DO);
fs/gfs2/ops_fstype.c
1214
if (error)
fs/gfs2/ops_fstype.c
1217
error = init_sb(sdp, silent);
fs/gfs2/ops_fstype.c
1218
if (error)
fs/gfs2/ops_fstype.c
1225
error = wait_on_journal(sdp);
fs/gfs2/ops_fstype.c
1226
if (error)
fs/gfs2/ops_fstype.c
1238
error = sdp->sd_lockstruct.ls_jid;
fs/gfs2/ops_fstype.c
1250
error = init_inodes(sdp, DO);
fs/gfs2/ops_fstype.c
1251
if (error)
fs/gfs2/ops_fstype.c
1254
error = init_per_node(sdp, DO);
fs/gfs2/ops_fstype.c
1255
if (error)
fs/gfs2/ops_fstype.c
1258
error = gfs2_statfs_init(sdp);
fs/gfs2/ops_fstype.c
1259
if (error) {
fs/gfs2/ops_fstype.c
1260
fs_err(sdp, "can't initialize statfs subsystem: %d\n", error);
fs/gfs2/ops_fstype.c
1265
error = init_threads(sdp);
fs/gfs2/ops_fstype.c
1266
if (error)
fs/gfs2/ops_fstype.c
1270
error = gfs2_freeze_lock_shared(sdp);
fs/gfs2/ops_fstype.c
1271
if (error)
fs/gfs2/ops_fstype.c
1275
error = gfs2_make_fs_rw(sdp);
fs/gfs2/ops_fstype.c
1277
if (error) {
fs/gfs2/ops_fstype.c
1279
fs_err(sdp, "can't make FS RW: %d\n", error);
fs/gfs2/ops_fstype.c
1317
return error;
fs/gfs2/ops_fstype.c
1330
int error;
fs/gfs2/ops_fstype.c
1332
error = get_tree_bdev(fc, gfs2_fill_super);
fs/gfs2/ops_fstype.c
1333
if (error)
fs/gfs2/ops_fstype.c
1334
return error;
fs/gfs2/ops_fstype.c
1552
int error = 0;
fs/gfs2/ops_fstype.c
1596
error = gfs2_make_fs_rw(sdp);
fs/gfs2/ops_fstype.c
1597
if (error)
fs/gfs2/ops_fstype.c
1625
return error;
fs/gfs2/ops_fstype.c
1677
int error;
fs/gfs2/ops_fstype.c
1682
error = kern_path(fc->source, LOOKUP_FOLLOW, &path);
fs/gfs2/ops_fstype.c
1683
if (error) {
fs/gfs2/ops_fstype.c
1685
fc->source, error);
fs/gfs2/ops_fstype.c
1686
return error;
fs/gfs2/ops_fstype.c
252
int error;
fs/gfs2/ops_fstype.c
254
error = gfs2_read_super(sdp, GFS2_SB_ADDR >> sdp->sd_fsb2bb_shift, silent);
fs/gfs2/ops_fstype.c
255
if (error) {
fs/gfs2/ops_fstype.c
258
return error;
fs/gfs2/ops_fstype.c
330
int error = 0;
fs/gfs2/ops_fstype.c
338
error = gfs2_read_super(sdp, GFS2_SB_ADDR >> sdp->sd_fsb2bb_shift, silent);
fs/gfs2/ops_fstype.c
339
if (error)
fs/gfs2/ops_fstype.c
340
return error;
fs/gfs2/ops_fstype.c
360
return error;
fs/gfs2/ops_fstype.c
366
int error = 0;
fs/gfs2/ops_fstype.c
371
error = gfs2_glock_nq_num(sdp,
fs/gfs2/ops_fstype.c
376
if (error) {
fs/gfs2/ops_fstype.c
377
fs_err(sdp, "can't acquire mount glock: %d\n", error);
fs/gfs2/ops_fstype.c
381
error = gfs2_glock_nq_num(sdp,
fs/gfs2/ops_fstype.c
386
if (error) {
fs/gfs2/ops_fstype.c
387
fs_err(sdp, "can't acquire live glock: %d\n", error);
fs/gfs2/ops_fstype.c
391
error = gfs2_glock_get(sdp, GFS2_RENAME_LOCK, &gfs2_nondisk_glops,
fs/gfs2/ops_fstype.c
393
if (error) {
fs/gfs2/ops_fstype.c
394
fs_err(sdp, "can't create rename glock: %d\n", error);
fs/gfs2/ops_fstype.c
398
error = gfs2_glock_get(sdp, GFS2_FREEZE_LOCK, &gfs2_freeze_glops,
fs/gfs2/ops_fstype.c
400
if (error) {
fs/gfs2/ops_fstype.c
401
fs_err(sdp, "can't create freeze glock: %d\n", error);
fs/gfs2/ops_fstype.c
416
return error;
fs/gfs2/ops_fstype.c
539
int error;
fs/gfs2/ops_fstype.c
546
error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, ji_gh);
fs/gfs2/ops_fstype.c
547
if (error)
fs/gfs2/ops_fstype.c
553
error = gfs2_dir_check(sdp->sd_jindex, &name, NULL);
fs/gfs2/ops_fstype.c
554
if (error == -ENOENT) {
fs/gfs2/ops_fstype.c
555
error = 0;
fs/gfs2/ops_fstype.c
561
if (error)
fs/gfs2/ops_fstype.c
564
error = -ENOMEM;
fs/gfs2/ops_fstype.c
576
error = -ENOENT;
fs/gfs2/ops_fstype.c
578
error = PTR_ERR(jd->jd_inode);
fs/gfs2/ops_fstype.c
592
return error;
fs/gfs2/ops_fstype.c
607
int error = 0;
fs/gfs2/ops_fstype.c
616
error = PTR_ERR(sdp->sd_statfs_inode);
fs/gfs2/ops_fstype.c
617
fs_err(sdp, "can't read in statfs inode: %d\n", error);
fs/gfs2/ops_fstype.c
625
error = PTR_ERR(pn);
fs/gfs2/ops_fstype.c
626
fs_err(sdp, "can't find per_node directory: %d\n", error);
fs/gfs2/ops_fstype.c
636
error = -ENOMEM;
fs/gfs2/ops_fstype.c
642
error = PTR_ERR(lsi->si_sc_inode);
fs/gfs2/ops_fstype.c
644
jd->jd_jid, error);
fs/gfs2/ops_fstype.c
658
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_NOPID,
fs/gfs2/ops_fstype.c
660
if (error) {
fs/gfs2/ops_fstype.c
661
fs_err(sdp, "can't lock local \"sc\" file: %d\n", error);
fs/gfs2/ops_fstype.c
665
error = gfs2_meta_inode_buffer(ip, &sdp->sd_sc_bh);
fs/gfs2/ops_fstype.c
666
if (error) {
fs/gfs2/ops_fstype.c
667
fs_err(sdp, "Cannot read in local statfs: %d\n", error);
fs/gfs2/ops_fstype.c
680
return error;
fs/gfs2/ops_fstype.c
699
int error = 0;
fs/gfs2/ops_fstype.c
707
fs_err(sdp, "can't lookup journal index: %d\n", error);
fs/gfs2/ops_fstype.c
713
error = gfs2_jindex_hold(sdp, &ji_gh);
fs/gfs2/ops_fstype.c
714
if (error) {
fs/gfs2/ops_fstype.c
715
fs_err(sdp, "can't read journal index: %d\n", error);
fs/gfs2/ops_fstype.c
719
error = -EUSERS;
fs/gfs2/ops_fstype.c
742
error = gfs2_glock_nq_num(sdp, sdp->sd_lockstruct.ls_jid,
fs/gfs2/ops_fstype.c
747
if (error) {
fs/gfs2/ops_fstype.c
748
fs_err(sdp, "can't acquire journal glock: %d\n", error);
fs/gfs2/ops_fstype.c
753
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED,
fs/gfs2/ops_fstype.c
757
if (error) {
fs/gfs2/ops_fstype.c
759
error);
fs/gfs2/ops_fstype.c
763
error = gfs2_jdesc_check(sdp->sd_jdesc);
fs/gfs2/ops_fstype.c
764
if (error) {
fs/gfs2/ops_fstype.c
766
sdp->sd_jdesc->jd_jid, error);
fs/gfs2/ops_fstype.c
779
error = init_statfs(sdp);
fs/gfs2/ops_fstype.c
780
if (error)
fs/gfs2/ops_fstype.c
789
error = check_journal_clean(sdp, jd, true);
fs/gfs2/ops_fstype.c
790
if (error)
fs/gfs2/ops_fstype.c
794
error = gfs2_recover_journal(jd, true);
fs/gfs2/ops_fstype.c
795
if (error) {
fs/gfs2/ops_fstype.c
797
x, error);
fs/gfs2/ops_fstype.c
804
error = gfs2_recover_journal(sdp->sd_jdesc, true);
fs/gfs2/ops_fstype.c
805
if (error) {
fs/gfs2/ops_fstype.c
806
fs_err(sdp, "error recovering my journal: %d\n", error);
fs/gfs2/ops_fstype.c
831
return error;
fs/gfs2/ops_fstype.c
838
int error = 0;
fs/gfs2/ops_fstype.c
844
error = init_journal(sdp, undo);
fs/gfs2/ops_fstype.c
846
if (error)
fs/gfs2/ops_fstype.c
852
error = PTR_ERR(sdp->sd_rindex);
fs/gfs2/ops_fstype.c
853
fs_err(sdp, "can't get resource index inode: %d\n", error);
fs/gfs2/ops_fstype.c
861
error = PTR_ERR(sdp->sd_quota_inode);
fs/gfs2/ops_fstype.c
862
fs_err(sdp, "can't get quota file inode: %d\n", error);
fs/gfs2/ops_fstype.c
872
error = gfs2_rindex_update(sdp);
fs/gfs2/ops_fstype.c
873
if (error)
fs/gfs2/ops_fstype.c
886
return error;
fs/gfs2/ops_fstype.c
893
int error = 0;
fs/gfs2/ops_fstype.c
905
error = PTR_ERR(pn);
fs/gfs2/ops_fstype.c
906
fs_err(sdp, "can't find per_node directory: %d\n", error);
fs/gfs2/ops_fstype.c
907
return error;
fs/gfs2/ops_fstype.c
913
error = PTR_ERR(sdp->sd_qc_inode);
fs/gfs2/ops_fstype.c
914
fs_err(sdp, "can't find local \"qc\" file: %d\n", error);
fs/gfs2/ops_fstype.c
922
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_NOPID,
fs/gfs2/ops_fstype.c
924
if (error) {
fs/gfs2/ops_fstype.c
925
fs_err(sdp, "can't lock local \"qc\" file: %d\n", error);
fs/gfs2/ops_fstype.c
937
return error;
fs/gfs2/quota.c
1002
int error;
fs/gfs2/quota.c
1006
error = gfs2_internal_read(ip, (char *)&q, &pos, sizeof(q));
fs/gfs2/quota.c
1007
if (error < 0)
fs/gfs2/quota.c
1008
return error;
fs/gfs2/quota.c
1029
int error;
fs/gfs2/quota.c
1033
error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_SHARED, 0, q_gh);
fs/gfs2/quota.c
1034
if (error)
fs/gfs2/quota.c
1035
return error;
fs/gfs2/quota.c
1046
error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE,
fs/gfs2/quota.c
1048
if (error)
fs/gfs2/quota.c
1049
return error;
fs/gfs2/quota.c
1051
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh);
fs/gfs2/quota.c
1052
if (error)
fs/gfs2/quota.c
1055
error = update_qd(sdp, qd);
fs/gfs2/quota.c
1056
if (error)
fs/gfs2/quota.c
1071
return error;
fs/gfs2/quota.c
1079
int error;
fs/gfs2/quota.c
1084
error = gfs2_quota_hold(ip, uid, gid);
fs/gfs2/quota.c
1085
if (error)
fs/gfs2/quota.c
1086
return error;
fs/gfs2/quota.c
1093
error = do_glock(qd, NO_FORCE, &ip->i_qadata->qa_qd_ghs[x]);
fs/gfs2/quota.c
1094
if (error)
fs/gfs2/quota.c
1098
if (!error)
fs/gfs2/quota.c
1106
return error;
fs/gfs2/quota.c
1158
int error;
fs/gfs2/quota.c
1175
error = bh_get(qd);
fs/gfs2/quota.c
1176
if (error) {
fs/gfs2/quota.c
1233
int error = 0;
fs/gfs2/quota.c
1267
error = -EDQUOT;
fs/gfs2/quota.c
1277
error = 0;
fs/gfs2/quota.c
1281
return error;
fs/gfs2/quota.c
1316
int error = 0;
fs/gfs2/quota.c
1347
error = bh_get(qda[x]);
fs/gfs2/quota.c
1348
if (!error)
fs/gfs2/quota.c
1356
if (!error) {
fs/gfs2/quota.c
1358
error = do_sync(num_qd, qda, sync_gen);
fs/gfs2/quota.c
1363
} while (!error);
fs/gfs2/quota.c
1368
return error;
fs/gfs2/quota.c
1375
int error;
fs/gfs2/quota.c
1377
error = qd_get(sdp, qid, &qd);
fs/gfs2/quota.c
1378
if (error)
fs/gfs2/quota.c
1379
return error;
fs/gfs2/quota.c
1381
error = do_glock(qd, FORCE, &q_gh);
fs/gfs2/quota.c
1382
if (!error)
fs/gfs2/quota.c
1386
return error;
fs/gfs2/quota.c
1401
int error;
fs/gfs2/quota.c
1409
error = -ENOMEM;
fs/gfs2/quota.c
1415
return error;
fs/gfs2/quota.c
1423
error = gfs2_get_extent(&ip->i_inode, x, &dblock, &extlen);
fs/gfs2/quota.c
1424
if (error)
fs/gfs2/quota.c
1427
error = -EIO;
fs/gfs2/quota.c
1511
return error;
fs/gfs2/quota.c
1551
static void quotad_error(struct gfs2_sbd *sdp, const char *msg, int error)
fs/gfs2/quota.c
1553
if (error == 0 || error == -EROFS)
fs/gfs2/quota.c
1556
if (!cmpxchg(&sdp->sd_log_error, 0, error))
fs/gfs2/quota.c
1557
fs_err(sdp, "gfs2_quotad: %s error %d\n", msg, error);
fs/gfs2/quota.c
1594
int error;
fs/gfs2/quota.c
1597
error = gfs2_statfs_sync(sdp->sd_vfs, 0);
fs/gfs2/quota.c
1598
quotad_error(sdp, "statfs", error);
fs/gfs2/quota.c
1605
int error;
fs/gfs2/quota.c
1608
error = gfs2_quota_sync(sdp->sd_vfs, 0);
fs/gfs2/quota.c
1609
quotad_error(sdp, "sync", error);
fs/gfs2/quota.c
1669
int error;
fs/gfs2/quota.c
1680
error = qd_get(sdp, qid, &qd);
fs/gfs2/quota.c
1681
if (error)
fs/gfs2/quota.c
1682
return error;
fs/gfs2/quota.c
1683
error = do_glock(qd, FORCE, &q_gh);
fs/gfs2/quota.c
1684
if (error)
fs/gfs2/quota.c
1695
return error;
fs/gfs2/quota.c
1712
int error;
fs/gfs2/quota.c
1724
error = qd_get(sdp, qid, &qd);
fs/gfs2/quota.c
1725
if (error)
fs/gfs2/quota.c
1726
return error;
fs/gfs2/quota.c
1728
error = gfs2_qa_get(ip);
fs/gfs2/quota.c
1729
if (error)
fs/gfs2/quota.c
1733
error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE, 0, &q_gh);
fs/gfs2/quota.c
1734
if (error)
fs/gfs2/quota.c
1736
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh);
fs/gfs2/quota.c
1737
if (error)
fs/gfs2/quota.c
1741
error = update_qd(sdp, qd);
fs/gfs2/quota.c
1742
if (error)
fs/gfs2/quota.c
1771
error = gfs2_inplace_reserve(ip, &ap);
fs/gfs2/quota.c
1772
if (error)
fs/gfs2/quota.c
1779
error = gfs2_trans_begin(sdp, blocks + RES_DINODE + 2, 0);
fs/gfs2/quota.c
1780
if (error)
fs/gfs2/quota.c
1784
error = gfs2_adjust_quota(sdp, offset, 0, qd, fdq);
fs/gfs2/quota.c
1785
if (!error)
fs/gfs2/quota.c
1801
return error;
fs/gfs2/quota.c
232
int error;
fs/gfs2/quota.c
245
error = gfs2_glock_get(sdp, qd2index(qd),
fs/gfs2/quota.c
247
if (error)
fs/gfs2/quota.c
351
int error = 0;
fs/gfs2/quota.c
358
error = -ENOSPC;
fs/gfs2/quota.c
367
return error;
fs/gfs2/quota.c
401
int error;
fs/gfs2/quota.c
414
error = gfs2_iomap_get(inode,
fs/gfs2/quota.c
417
if (error)
fs/gfs2/quota.c
418
return error;
fs/gfs2/quota.c
419
error = -ENOENT;
fs/gfs2/quota.c
421
return error;
fs/gfs2/quota.c
423
error = gfs2_meta_read(ip->i_gl, iomap.addr >> inode->i_blkbits,
fs/gfs2/quota.c
425
if (error)
fs/gfs2/quota.c
426
return error;
fs/gfs2/quota.c
427
error = -EIO;
fs/gfs2/quota.c
441
error = 0;
fs/gfs2/quota.c
445
return error;
fs/gfs2/quota.c
516
int error;
fs/gfs2/quota.c
518
error = qd_get(sdp, qid, qdp);
fs/gfs2/quota.c
519
if (error)
fs/gfs2/quota.c
520
return error;
fs/gfs2/quota.c
522
error = slot_get(*qdp);
fs/gfs2/quota.c
523
if (error)
fs/gfs2/quota.c
526
error = bh_get(*qdp);
fs/gfs2/quota.c
527
if (error)
fs/gfs2/quota.c
536
return error;
fs/gfs2/quota.c
588
int error;
fs/gfs2/quota.c
593
error = gfs2_qa_get(ip);
fs/gfs2/quota.c
594
if (error)
fs/gfs2/quota.c
595
return error;
fs/gfs2/quota.c
601
error = -EIO;
fs/gfs2/quota.c
606
error = qdsb_get(sdp, make_kqid_uid(ip->i_inode.i_uid), qd);
fs/gfs2/quota.c
607
if (error)
fs/gfs2/quota.c
612
error = qdsb_get(sdp, make_kqid_gid(ip->i_inode.i_gid), qd);
fs/gfs2/quota.c
613
if (error)
fs/gfs2/quota.c
620
error = qdsb_get(sdp, make_kqid_uid(uid), qd);
fs/gfs2/quota.c
621
if (error)
fs/gfs2/quota.c
629
error = qdsb_get(sdp, make_kqid_gid(gid), qd);
fs/gfs2/quota.c
630
if (error)
fs/gfs2/quota.c
637
if (error)
fs/gfs2/quota.c
640
return error;
fs/gfs2/quota.c
800
int error;
fs/gfs2/quota.c
813
error = gfs2_write_buf_to_page(sdp, pg_beg, pg_off, ptr,
fs/gfs2/quota.c
816
if (!error && overflow)
fs/gfs2/quota.c
817
error = gfs2_write_buf_to_page(sdp, pg_beg + 1, 0,
fs/gfs2/quota.c
820
return error;
fs/gfs2/quota.c
906
int error;
fs/gfs2/quota.c
918
error = gfs2_glock_nq_init(qda[qx]->qd_gl, LM_ST_EXCLUSIVE,
fs/gfs2/quota.c
920
if (error)
fs/gfs2/quota.c
924
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh);
fs/gfs2/quota.c
925
if (error)
fs/gfs2/quota.c
948
error = gfs2_inplace_reserve(ip, &ap);
fs/gfs2/quota.c
949
if (error)
fs/gfs2/quota.c
955
error = gfs2_trans_begin(sdp, blocks, 0);
fs/gfs2/quota.c
956
if (error)
fs/gfs2/quota.c
962
error = gfs2_adjust_quota(sdp, offset, qd->qd_change_sync, qd,
fs/gfs2/quota.c
964
if (error)
fs/gfs2/quota.c
984
if (!error) {
fs/gfs2/quota.c
993
return error;
fs/gfs2/recovery.c
171
int error;
fs/gfs2/recovery.c
173
error = gfs2_replay_read_block(jd, blk, &bh);
fs/gfs2/recovery.c
174
if (error)
fs/gfs2/recovery.c
175
return error;
fs/gfs2/recovery.c
177
error = __get_log_header(sdp, (const struct gfs2_log_header *)bh->b_data,
fs/gfs2/recovery.c
181
return error;
fs/gfs2/recovery.c
203
int error = 0;
fs/gfs2/recovery.c
211
error = gfs2_replay_read_block(jd, start, &bh);
fs/gfs2/recovery.c
212
if (error)
fs/gfs2/recovery.c
213
return error;
fs/gfs2/recovery.c
223
error = get_log_header(jd, start, &lh);
fs/gfs2/recovery.c
224
if (!error) {
fs/gfs2/recovery.c
229
if (error == 1) {
fs/gfs2/recovery.c
231
error = -EIO;
fs/gfs2/recovery.c
234
return error;
fs/gfs2/recovery.c
240
error = lops_scan_elements(jd, start, ld, ptr, pass);
fs/gfs2/recovery.c
241
if (error) {
fs/gfs2/recovery.c
243
return error;
fs/gfs2/recovery.c
312
int error = 0;
fs/gfs2/recovery.c
317
error = gfs2_meta_inode_buffer(ip, &bh);
fs/gfs2/recovery.c
318
if (error)
fs/gfs2/recovery.c
351
return error;
fs/gfs2/recovery.c
376
int error;
fs/gfs2/recovery.c
385
error = update_statfs_inode(jd, head, sdp->sd_statfs_inode);
fs/gfs2/recovery.c
386
if (error)
fs/gfs2/recovery.c
39
int error;
fs/gfs2/recovery.c
392
error = update_statfs_inode(jd, NULL,
fs/gfs2/recovery.c
408
int error = 0;
fs/gfs2/recovery.c
42
error = gfs2_get_extent(&ip->i_inode, blk, &dblock, &extlen);
fs/gfs2/recovery.c
425
error = gfs2_glock_nq_num(sdp, jd->jd_jid, &gfs2_journal_glops,
fs/gfs2/recovery.c
43
if (error)
fs/gfs2/recovery.c
430
switch (error) {
fs/gfs2/recovery.c
436
error = 0;
fs/gfs2/recovery.c
44
return error;
fs/gfs2/recovery.c
443
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED,
fs/gfs2/recovery.c
446
if (error)
fs/gfs2/recovery.c
455
error = gfs2_jdesc_check(jd);
fs/gfs2/recovery.c
456
if (error)
fs/gfs2/recovery.c
459
error = gfs2_find_jhead(jd, &head);
fs/gfs2/recovery.c
460
if (error)
fs/gfs2/recovery.c
497
error = -EROFS;
fs/gfs2/recovery.c
511
error = foreach_descriptor(jd, head.lh_tail,
fs/gfs2/recovery.c
513
lops_after_scan(jd, error, pass);
fs/gfs2/recovery.c
514
if (error) {
fs/gfs2/recovery.c
52
return error;
fs/gfs2/recovery.c
557
fs_info(sdp, "jid=%u: %s\n", jd->jd_jid, (error) ? "Failed" : "Done");
fs/gfs2/recovery.c
559
jd->jd_recover_error = error;
fs/gfs2/rgrp.c
1001
error = read_rindex_entry(ip);
fs/gfs2/rgrp.c
1002
} while (error == 0);
fs/gfs2/rgrp.c
1004
if (error < 0)
fs/gfs2/rgrp.c
1005
return error;
fs/gfs2/rgrp.c
1039
int error = 0;
fs/gfs2/rgrp.c
1045
error = gfs2_glock_nq_init(gl, LM_ST_SHARED, 0, &ri_gh);
fs/gfs2/rgrp.c
1046
if (error)
fs/gfs2/rgrp.c
1047
return error;
fs/gfs2/rgrp.c
1051
error = gfs2_ri_update(ip);
fs/gfs2/rgrp.c
1056
return error;
fs/gfs2/rgrp.c
1206
int error;
fs/gfs2/rgrp.c
1213
error = gfs2_meta_read(gl, rgd->rd_addr + x, 0, 0, &bi->bi_bh);
fs/gfs2/rgrp.c
1214
if (error)
fs/gfs2/rgrp.c
1220
error = gfs2_meta_wait(sdp, bi->bi_bh);
fs/gfs2/rgrp.c
1221
if (error)
fs/gfs2/rgrp.c
1225
error = -EIO;
fs/gfs2/rgrp.c
1244
error = -EIO;
fs/gfs2/rgrp.c
1259
return error;
fs/gfs2/rgrp.c
1848
int error;
fs/gfs2/rgrp.c
1853
error = gfs2_rbm_find(&rbm, GFS2_BLKST_UNLINKED, NULL, NULL,
fs/gfs2/rgrp.c
1855
if (error == -ENOSPC)
fs/gfs2/rgrp.c
1857
if (WARN_ON_ONCE(error))
fs/gfs2/rgrp.c
1869
error = gfs2_glock_get(sdp, block, &gfs2_iopen_glops, CREATE, &gl);
fs/gfs2/rgrp.c
1870
if (error)
fs/gfs2/rgrp.c
2048
int error = 0, flags = LM_FLAG_NODE_SCOPE;
fs/gfs2/rgrp.c
2093
error = gfs2_glock_nq_init(rs->rs_rgd->rd_gl,
fs/gfs2/rgrp.c
2096
if (unlikely(error))
fs/gfs2/rgrp.c
2097
return error;
fs/gfs2/rgrp.c
2103
error = update_rgrp_lvb(rs->rs_rgd,
fs/gfs2/rgrp.c
2105
if (unlikely(error)) {
fs/gfs2/rgrp.c
2108
return error;
fs/gfs2/rgrp.c
2120
error = gfs2_instantiate(&ip->i_rgd_gh);
fs/gfs2/rgrp.c
2121
if (error)
fs/gfs2/rgrp.c
2178
error = gfs2_ri_update(ip);
fs/gfs2/rgrp.c
2179
if (error)
fs/gfs2/rgrp.c
2180
return error;
fs/gfs2/rgrp.c
2424
int error = -ENOSPC;
fs/gfs2/rgrp.c
2431
error = gfs2_rbm_find(&rbm, GFS2_BLKST_FREE, &minext, &ip->i_res, false);
fs/gfs2/rgrp.c
2433
if (error == -ENOSPC) {
fs/gfs2/rgrp.c
2435
error = gfs2_rbm_find(&rbm, GFS2_BLKST_FREE, &minext, NULL, false);
fs/gfs2/rgrp.c
2439
if (error) {
fs/gfs2/rgrp.c
2441
(unsigned long long)ip->i_no_addr, error, *nblocks,
fs/gfs2/rgrp.c
2452
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/rgrp.c
2453
if (error == 0) {
fs/gfs2/rgrp.c
2616
int error = -EINVAL;
fs/gfs2/rgrp.c
2622
error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_SHARED, 0, &rgd_gh);
fs/gfs2/rgrp.c
2623
if (error)
fs/gfs2/rgrp.c
2627
error = gfs2_rbm_from_block(&rbm, no_addr);
fs/gfs2/rgrp.c
2628
if (!WARN_ON_ONCE(error)) {
fs/gfs2/rgrp.c
2637
error = -ESTALE;
fs/gfs2/rgrp.c
2643
return error;
fs/gfs2/rgrp.c
847
int error, rgrps;
fs/gfs2/rgrp.c
854
error = gfs2_internal_read(ip, buf, &pos,
fs/gfs2/rgrp.c
856
if (error != sizeof(struct gfs2_rindex))
fs/gfs2/rgrp.c
900
int error;
fs/gfs2/rgrp.c
906
error = gfs2_internal_read(ip, (char *)&buf, &pos,
fs/gfs2/rgrp.c
909
if (error != sizeof(struct gfs2_rindex))
fs/gfs2/rgrp.c
910
return (error == 0) ? 1 : error;
fs/gfs2/rgrp.c
913
error = -ENOMEM;
fs/gfs2/rgrp.c
915
return error;
fs/gfs2/rgrp.c
926
error = gfs2_glock_get(sdp, rgd->rd_addr,
fs/gfs2/rgrp.c
928
if (error)
fs/gfs2/rgrp.c
931
error = compute_bitstructs(rgd);
fs/gfs2/rgrp.c
932
if (error)
fs/gfs2/rgrp.c
940
error = rgd_insert(rgd);
fs/gfs2/rgrp.c
942
if (!error) {
fs/gfs2/rgrp.c
947
error = 0; /* someone else read in the rgrp; free it and ignore it */
fs/gfs2/rgrp.c
955
return error;
fs/gfs2/rgrp.c
998
int error;
fs/gfs2/super.c
1180
int error;
fs/gfs2/super.c
1206
error = gfs2_glock_nq(gh);
fs/gfs2/super.c
1207
if (error)
fs/gfs2/super.c
1220
error = gfs2_glock_holder_ready(gh);
fs/gfs2/super.c
1221
if (error)
fs/gfs2/super.c
137
int error;
fs/gfs2/super.c
149
error = gfs2_quota_init(sdp);
fs/gfs2/super.c
150
if (!error && gfs2_withdrawn(sdp)) {
fs/gfs2/super.c
152
error = -EIO;
fs/gfs2/super.c
154
if (!error)
fs/gfs2/super.c
156
return error;
fs/gfs2/super.c
184
int error;
fs/gfs2/super.c
186
error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE,
fs/gfs2/super.c
188
if (error)
fs/gfs2/super.c
189
return error;
fs/gfs2/super.c
191
error = gfs2_meta_inode_buffer(m_ip, &m_bh);
fs/gfs2/super.c
192
if (error)
fs/gfs2/super.c
274
int error;
fs/gfs2/super.c
276
error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE,
fs/gfs2/super.c
278
if (error)
fs/gfs2/super.c
281
error = gfs2_meta_inode_buffer(m_ip, &m_bh);
fs/gfs2/super.c
282
if (error)
fs/gfs2/super.c
294
error = gfs2_trans_begin(sdp, 2 * RES_DINODE, 0);
fs/gfs2/super.c
295
if (error)
fs/gfs2/super.c
308
return error;
fs/gfs2/super.c
331
int error, error2;
fs/gfs2/super.c
341
error = -ENOMEM;
fs/gfs2/super.c
345
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &lfcc->gh);
fs/gfs2/super.c
346
if (error) {
fs/gfs2/super.c
355
error = gfs2_glock_nq_init(sdp->sd_freeze_gl, LM_ST_EXCLUSIVE,
fs/gfs2/super.c
358
if (error)
fs/gfs2/super.c
362
error = gfs2_jdesc_check(jd);
fs/gfs2/super.c
363
if (error)
fs/gfs2/super.c
365
error = gfs2_find_jhead(jd, &lh);
fs/gfs2/super.c
366
if (error)
fs/gfs2/super.c
369
error = -EBUSY;
fs/gfs2/super.c
374
if (!error)
fs/gfs2/super.c
390
return error;
fs/gfs2/super.c
670
int error;
fs/gfs2/super.c
672
error = gfs2_freeze_lock_shared(sdp);
fs/gfs2/super.c
673
if (error)
fs/gfs2/super.c
675
error = thaw_super(sb, who, freeze_owner);
fs/gfs2/super.c
676
if (!error)
fs/gfs2/super.c
680
fs_info(sdp, "GFS2: couldn't thaw filesystem: %d\n", error);
fs/gfs2/super.c
682
return error;
fs/gfs2/super.c
689
int error;
fs/gfs2/super.c
692
error = -EBUSY;
fs/gfs2/super.c
696
error = freeze_super(sb, FREEZE_HOLDER_USERSPACE, NULL);
fs/gfs2/super.c
697
if (error)
fs/gfs2/super.c
703
error = gfs2_do_thaw(sdp, FREEZE_HOLDER_USERSPACE, NULL);
fs/gfs2/super.c
704
if (error)
fs/gfs2/super.c
711
fs_info(sdp, "GFS2: couldn't freeze filesystem: %d\n", error);
fs/gfs2/super.c
730
int error;
fs/gfs2/super.c
740
error = freeze_super(sb, who, freeze_owner);
fs/gfs2/super.c
741
if (error) {
fs/gfs2/super.c
743
error);
fs/gfs2/super.c
747
error = gfs2_lock_fs_check_clean(sdp);
fs/gfs2/super.c
748
if (!error) {
fs/gfs2/super.c
756
if (error == -EBUSY)
fs/gfs2/super.c
758
else if (error == -EIO) {
fs/gfs2/super.c
763
fs_err(sdp, "error freezing FS: %d\n", error);
fs/gfs2/super.c
771
return error;
fs/gfs2/super.c
799
int error;
fs/gfs2/super.c
811
error = gfs2_do_thaw(sdp, who, freeze_owner);
fs/gfs2/super.c
813
if (!error) {
fs/gfs2/super.c
819
return error;
fs/gfs2/super.c
860
int error = 0, err;
fs/gfs2/super.c
881
error = err;
fs/gfs2/super.c
883
if (!error) {
fs/gfs2/super.c
887
error = statfs_slow_fill(rgd, sc);
fs/gfs2/super.c
895
else if (rgd_next && !error) {
fs/gfs2/super.c
896
error = gfs2_glock_nq_init(rgd_next->rd_gl,
fs/gfs2/super.c
905
error = -ERESTARTSYS;
fs/gfs2/super.c
915
return error;
fs/gfs2/super.c
963
int error;
fs/gfs2/super.c
965
error = gfs2_rindex_update(sdp);
fs/gfs2/super.c
966
if (error)
fs/gfs2/super.c
967
return error;
fs/gfs2/super.c
970
error = gfs2_statfs_slow(sdp, &sc);
fs/gfs2/super.c
972
error = gfs2_statfs_i(sdp, &sc);
fs/gfs2/super.c
974
if (error)
fs/gfs2/super.c
975
return error;
fs/gfs2/sys.c
158
int error, n;
fs/gfs2/sys.c
160
error = kstrtoint(buf, 0, &n);
fs/gfs2/sys.c
161
if (error)
fs/gfs2/sys.c
162
return error;
fs/gfs2/sys.c
169
error = thaw_super(sdp->sd_vfs, FREEZE_HOLDER_USERSPACE, NULL);
fs/gfs2/sys.c
172
error = freeze_super(sdp->sd_vfs, FREEZE_HOLDER_USERSPACE, NULL);
fs/gfs2/sys.c
178
if (error) {
fs/gfs2/sys.c
179
fs_warn(sdp, "freeze %d error %d\n", n, error);
fs/gfs2/sys.c
180
return error;
fs/gfs2/sys.c
194
int error, val;
fs/gfs2/sys.c
199
error = kstrtoint(buf, 0, &val);
fs/gfs2/sys.c
200
if (error)
fs/gfs2/sys.c
201
return error;
fs/gfs2/sys.c
215
int error, val;
fs/gfs2/sys.c
220
error = kstrtoint(buf, 0, &val);
fs/gfs2/sys.c
221
if (error)
fs/gfs2/sys.c
222
return error;
fs/gfs2/sys.c
234
int error, val;
fs/gfs2/sys.c
239
error = kstrtoint(buf, 0, &val);
fs/gfs2/sys.c
240
if (error)
fs/gfs2/sys.c
241
return error;
fs/gfs2/sys.c
254
int error;
fs/gfs2/sys.c
260
error = kstrtou32(buf, 0, &id);
fs/gfs2/sys.c
261
if (error)
fs/gfs2/sys.c
262
return error;
fs/gfs2/sys.c
268
error = gfs2_quota_refresh(sdp, qid);
fs/gfs2/sys.c
269
return error ? error : len;
fs/gfs2/sys.c
276
int error;
fs/gfs2/sys.c
282
error = kstrtou32(buf, 0, &id);
fs/gfs2/sys.c
283
if (error)
fs/gfs2/sys.c
284
return error;
fs/gfs2/sys.c
290
error = gfs2_quota_refresh(sdp, qid);
fs/gfs2/sys.c
291
return error ? error : len;
fs/gfs2/sys.c
644
int error;
fs/gfs2/sys.c
649
error = kstrtouint(buf, 0, &x);
fs/gfs2/sys.c
650
if (error)
fs/gfs2/sys.c
651
return error;
fs/gfs2/sys.c
715
int error;
fs/gfs2/sys.c
725
error = kobject_init_and_add(&sdp->sd_kobj, &gfs2_ktype, NULL,
fs/gfs2/sys.c
727
if (error)
fs/gfs2/sys.c
730
error = sysfs_create_group(&sdp->sd_kobj, &tune_group);
fs/gfs2/sys.c
731
if (error)
fs/gfs2/sys.c
734
error = sysfs_create_group(&sdp->sd_kobj, &lock_module_group);
fs/gfs2/sys.c
735
if (error)
fs/gfs2/sys.c
738
error = sysfs_create_link(&sdp->sd_kobj,
fs/gfs2/sys.c
741
if (error)
fs/gfs2/sys.c
752
fs_err(sdp, "error %d adding sysfs files\n", error);
fs/gfs2/sys.c
755
return error;
fs/gfs2/trans.c
118
int error;
fs/gfs2/trans.c
123
error = __gfs2_trans_begin(tr, sdp, blocks, revokes, _RET_IP_);
fs/gfs2/trans.c
124
if (error)
fs/gfs2/trans.c
126
return error;
fs/gfs2/util.c
103
int error;
fs/gfs2/util.c
105
error = gfs2_glock_nq_init(sdp->sd_freeze_gl, LM_ST_SHARED, flags,
fs/gfs2/util.c
107
if (error && error != GLR_TRYFAILED)
fs/gfs2/util.c
108
fs_err(sdp, "can't lock the freeze glock: %d\n", error);
fs/gfs2/util.c
109
return error;
fs/gfs2/util.c
55
int error;
fs/gfs2/util.c
61
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_RECOVER |
fs/gfs2/util.c
63
if (error) {
fs/gfs2/util.c
66
"mount.\n", error);
fs/gfs2/util.c
69
error = gfs2_jdesc_check(jd);
fs/gfs2/util.c
70
if (error) {
fs/gfs2/util.c
76
error = gfs2_find_jhead(jd, &head);
fs/gfs2/util.c
77
if (error) {
fs/gfs2/util.c
84
error = -EPERM;
fs/gfs2/util.c
93
return error;
fs/gfs2/xattr.c
1001
error = -ENOSPC;
fs/gfs2/xattr.c
1009
error = gfs2_alloc_blocks(ip, &blk, &n, 0);
fs/gfs2/xattr.c
1010
if (error)
fs/gfs2/xattr.c
1011
return error;
fs/gfs2/xattr.c
1027
error = ea_alloc_blk(ip, &newbh);
fs/gfs2/xattr.c
1028
if (error)
fs/gfs2/xattr.c
1032
error = ea_write(ip, GFS2_EA_BH2FIRST(newbh), er);
fs/gfs2/xattr.c
1034
if (error)
fs/gfs2/xattr.c
1042
return error;
fs/gfs2/xattr.c
1051
int error;
fs/gfs2/xattr.c
1063
error = ea_foreach(ip, ea_set_simple, &es);
fs/gfs2/xattr.c
1064
if (error > 0)
fs/gfs2/xattr.c
1066
if (error)
fs/gfs2/xattr.c
1067
return error;
fs/gfs2/xattr.c
1093
int error;
fs/gfs2/xattr.c
1095
error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), RES_DINODE + RES_EATTR, 0);
fs/gfs2/xattr.c
1096
if (error)
fs/gfs2/xattr.c
1097
return error;
fs/gfs2/xattr.c
1118
return error;
fs/gfs2/xattr.c
112
error = ea_call(ip, bh, ea, prev, data);
fs/gfs2/xattr.c
113
if (error)
fs/gfs2/xattr.c
1137
int error;
fs/gfs2/xattr.c
114
return error;
fs/gfs2/xattr.c
1142
error = gfs2_ea_find(ip, type, name, &el);
fs/gfs2/xattr.c
1143
if (error)
fs/gfs2/xattr.c
1144
return error;
fs/gfs2/xattr.c
1149
error = ea_remove_stuffed(ip, &el);
fs/gfs2/xattr.c
1151
error = ea_remove_unstuffed(ip, el.el_bh, el.el_ea, el.el_prev, 0);
fs/gfs2/xattr.c
1155
return error;
fs/gfs2/xattr.c
1179
int error;
fs/gfs2/xattr.c
1187
error = gfs2_xattr_remove(ip, type, name);
fs/gfs2/xattr.c
1188
if (error == -ENODATA && !(flags & XATTR_REPLACE))
fs/gfs2/xattr.c
1189
error = 0;
fs/gfs2/xattr.c
1190
return error;
fs/gfs2/xattr.c
1202
error = gfs2_ea_find(ip, type, name, &el);
fs/gfs2/xattr.c
1203
if (error)
fs/gfs2/xattr.c
1204
return error;
fs/gfs2/xattr.c
1212
error = -EEXIST;
fs/gfs2/xattr.c
1215
error = ea_set_i(ip, type, name, value, size, &el);
fs/gfs2/xattr.c
1216
if (!error && unstuffed)
fs/gfs2/xattr.c
1221
return error;
fs/gfs2/xattr.c
1224
error = -ENODATA;
fs/gfs2/xattr.c
1226
error = ea_set_i(ip, type, name, value, size, NULL);
fs/gfs2/xattr.c
1228
return error;
fs/gfs2/xattr.c
126
return error;
fs/gfs2/xattr.c
1278
int error;
fs/gfs2/xattr.c
1280
error = gfs2_rindex_update(sdp);
fs/gfs2/xattr.c
1281
if (error)
fs/gfs2/xattr.c
1282
return error;
fs/gfs2/xattr.c
1286
error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0, &indbh);
fs/gfs2/xattr.c
1287
if (error)
fs/gfs2/xattr.c
1288
return error;
fs/gfs2/xattr.c
1291
error = -EIO;
fs/gfs2/xattr.c
1327
error = gfs2_glock_nq_m(rlist.rl_rgrps, rlist.rl_ghs);
fs/gfs2/xattr.c
1328
if (error)
fs/gfs2/xattr.c
133
int error;
fs/gfs2/xattr.c
1331
error = gfs2_trans_begin(sdp, rg_blocks + RES_DINODE + RES_INDIRECT +
fs/gfs2/xattr.c
1333
if (error)
fs/gfs2/xattr.c
135
error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0, &bh);
fs/gfs2/xattr.c
136
if (error)
fs/gfs2/xattr.c
1368
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/xattr.c
1369
if (!error) {
fs/gfs2/xattr.c
137
return error;
fs/gfs2/xattr.c
1383
return error;
fs/gfs2/xattr.c
1392
int error;
fs/gfs2/xattr.c
1394
error = gfs2_rindex_update(sdp);
fs/gfs2/xattr.c
1395
if (error)
fs/gfs2/xattr.c
1396
return error;
fs/gfs2/xattr.c
140
error = ea_foreach_i(ip, bh, ea_call, data);
fs/gfs2/xattr.c
1404
error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE,
fs/gfs2/xattr.c
1406
if (error)
fs/gfs2/xattr.c
1407
return error;
fs/gfs2/xattr.c
1409
error = gfs2_trans_begin(sdp, RES_RG_BIT + RES_DINODE + RES_STATFS +
fs/gfs2/xattr.c
1411
if (error)
fs/gfs2/xattr.c
1420
error = gfs2_meta_inode_buffer(ip, &dibh);
fs/gfs2/xattr.c
1421
if (!error) {
fs/gfs2/xattr.c
1432
return error;
fs/gfs2/xattr.c
1445
int error;
fs/gfs2/xattr.c
1447
error = gfs2_rindex_update(GFS2_SB(&ip->i_inode));
fs/gfs2/xattr.c
1448
if (error)
fs/gfs2/xattr.c
1449
return error;
fs/gfs2/xattr.c
145
error = -EIO;
fs/gfs2/xattr.c
1451
error = gfs2_quota_hold(ip, NO_UID_QUOTA_CHANGE, NO_GID_QUOTA_CHANGE);
fs/gfs2/xattr.c
1452
if (error)
fs/gfs2/xattr.c
1453
return error;
fs/gfs2/xattr.c
1456
error = ea_foreach(ip, ea_dealloc_unstuffed, NULL);
fs/gfs2/xattr.c
1457
if (error)
fs/gfs2/xattr.c
1461
error = ea_dealloc_indirect(ip);
fs/gfs2/xattr.c
1462
if (error)
fs/gfs2/xattr.c
1467
error = ea_dealloc_block(ip, initialized);
fs/gfs2/xattr.c
1471
return error;
fs/gfs2/xattr.c
159
error = gfs2_meta_read(ip->i_gl, bn, DIO_WAIT, 0, &eabh);
fs/gfs2/xattr.c
160
if (error)
fs/gfs2/xattr.c
162
error = ea_foreach_i(ip, eabh, ea_call, data);
fs/gfs2/xattr.c
164
if (error)
fs/gfs2/xattr.c
169
return error;
fs/gfs2/xattr.c
207
int error;
fs/gfs2/xattr.c
216
error = ea_foreach(ip, ea_find_i, &ef);
fs/gfs2/xattr.c
217
if (error > 0)
fs/gfs2/xattr.c
220
return error;
fs/gfs2/xattr.c
247
int error;
fs/gfs2/xattr.c
249
error = gfs2_rindex_update(sdp);
fs/gfs2/xattr.c
250
if (error)
fs/gfs2/xattr.c
251
return error;
fs/gfs2/xattr.c
272
error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE,
fs/gfs2/xattr.c
274
if (error)
fs/gfs2/xattr.c
275
return error;
fs/gfs2/xattr.c
277
error = gfs2_trans_begin(sdp, rgd->rd_length + RES_DINODE +
fs/gfs2/xattr.c
279
if (error)
fs/gfs2/xattr.c
325
return error;
fs/gfs2/xattr.c
332
int error;
fs/gfs2/xattr.c
334
error = gfs2_rindex_update(GFS2_SB(&ip->i_inode));
fs/gfs2/xattr.c
335
if (error)
fs/gfs2/xattr.c
336
return error;
fs/gfs2/xattr.c
338
error = gfs2_quota_hold(ip, NO_UID_QUOTA_CHANGE, NO_GID_QUOTA_CHANGE);
fs/gfs2/xattr.c
339
if (error)
fs/gfs2/xattr.c
342
error = ea_dealloc_unstuffed(ip, bh, ea, prev, (leave) ? &error : NULL);
fs/gfs2/xattr.c
346
return error;
fs/gfs2/xattr.c
421
int error;
fs/gfs2/xattr.c
429
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh);
fs/gfs2/xattr.c
430
if (error)
fs/gfs2/xattr.c
431
return error;
fs/gfs2/xattr.c
436
error = ea_foreach(ip, ea_list_i, &ei);
fs/gfs2/xattr.c
437
if (!error)
fs/gfs2/xattr.c
438
error = ei.ei_size;
fs/gfs2/xattr.c
443
return error;
fs/gfs2/xattr.c
466
int error = 0;
fs/gfs2/xattr.c
475
error = gfs2_meta_read(ip->i_gl, be64_to_cpu(*dataptrs), 0, 0,
fs/gfs2/xattr.c
477
if (error) {
fs/gfs2/xattr.c
486
error = gfs2_meta_wait(sdp, bh[x]);
fs/gfs2/xattr.c
487
if (error) {
fs/gfs2/xattr.c
495
error = -EIO;
fs/gfs2/xattr.c
519
return error;
fs/gfs2/xattr.c
543
int error;
fs/gfs2/xattr.c
547
error = gfs2_ea_find(ip, GFS2_EATYPE_SYS, name, &el);
fs/gfs2/xattr.c
548
if (error)
fs/gfs2/xattr.c
549
return error;
fs/gfs2/xattr.c
557
error = -ENOMEM;
fs/gfs2/xattr.c
561
error = gfs2_ea_get_copy(ip, &el, data, len);
fs/gfs2/xattr.c
562
if (error < 0)
fs/gfs2/xattr.c
568
return error;
fs/gfs2/xattr.c
586
int error;
fs/gfs2/xattr.c
593
error = gfs2_ea_find(ip, type, name, &el);
fs/gfs2/xattr.c
594
if (error)
fs/gfs2/xattr.c
595
return error;
fs/gfs2/xattr.c
599
error = gfs2_ea_get_copy(ip, &el, buffer, size);
fs/gfs2/xattr.c
601
error = GFS2_EA_DATA_LEN(el.el_ea);
fs/gfs2/xattr.c
604
return error;
fs/gfs2/xattr.c
644
int error;
fs/gfs2/xattr.c
646
error = gfs2_alloc_blocks(ip, &block, &n, 0);
fs/gfs2/xattr.c
647
if (error)
fs/gfs2/xattr.c
648
return error;
fs/gfs2/xattr.c
682
int error;
fs/gfs2/xattr.c
708
error = gfs2_alloc_blocks(ip, &block, &n, 0);
fs/gfs2/xattr.c
709
if (error)
fs/gfs2/xattr.c
710
return error;
fs/gfs2/xattr.c
746
int error;
fs/gfs2/xattr.c
748
error = gfs2_rindex_update(GFS2_SB(&ip->i_inode));
fs/gfs2/xattr.c
749
if (error)
fs/gfs2/xattr.c
750
return error;
fs/gfs2/xattr.c
752
error = gfs2_quota_lock_check(ip, &ap);
fs/gfs2/xattr.c
753
if (error)
fs/gfs2/xattr.c
754
return error;
fs/gfs2/xattr.c
756
error = gfs2_inplace_reserve(ip, &ap);
fs/gfs2/xattr.c
757
if (error)
fs/gfs2/xattr.c
760
error = gfs2_trans_begin(GFS2_SB(&ip->i_inode),
fs/gfs2/xattr.c
763
if (error)
fs/gfs2/xattr.c
766
error = skeleton_call(ip, er, private);
fs/gfs2/xattr.c
767
if (error)
fs/gfs2/xattr.c
779
return error;
fs/gfs2/xattr.c
786
int error;
fs/gfs2/xattr.c
788
error = ea_alloc_blk(ip, &bh);
fs/gfs2/xattr.c
789
if (error)
fs/gfs2/xattr.c
790
return error;
fs/gfs2/xattr.c
793
error = ea_write(ip, GFS2_EA_BH2FIRST(bh), er);
fs/gfs2/xattr.c
797
return error;
fs/gfs2/xattr.c
879
int error;
fs/gfs2/xattr.c
881
error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), RES_DINODE + 2 * RES_EATTR, 0);
fs/gfs2/xattr.c
882
if (error)
fs/gfs2/xattr.c
883
return error;
fs/gfs2/xattr.c
899
return error;
fs/gfs2/xattr.c
907
int error;
fs/gfs2/xattr.c
914
error = ea_write(ip, ea, er);
fs/gfs2/xattr.c
915
if (error)
fs/gfs2/xattr.c
916
return error;
fs/gfs2/xattr.c
93
int error = 0;
fs/gfs2/xattr.c
931
int error;
fs/gfs2/xattr.c
940
error = ea_remove_unstuffed(ip, bh, ea, prev, 1);
fs/gfs2/xattr.c
941
if (error)
fs/gfs2/xattr.c
942
return error;
fs/gfs2/xattr.c
951
error = ea_set_simple_noalloc(ip, bh, ea, es);
fs/gfs2/xattr.c
952
if (error)
fs/gfs2/xattr.c
953
return error;
fs/gfs2/xattr.c
962
error = ea_alloc_skeleton(ip, es->es_er, blks,
fs/gfs2/xattr.c
964
if (error)
fs/gfs2/xattr.c
965
return error;
fs/gfs2/xattr.c
977
int error;
fs/gfs2/xattr.c
983
error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0,
fs/gfs2/xattr.c
985
if (error)
fs/gfs2/xattr.c
986
return error;
fs/gfs2/xattr.c
989
error = -EIO;
fs/hfs/inode.c
647
int error;
fs/hfs/inode.c
649
error = setattr_prepare(&nop_mnt_idmap, dentry,
fs/hfs/inode.c
651
if (error)
fs/hfs/inode.c
652
return error;
fs/hfs/inode.c
663
return hsb->s_quiet ? 0 : error;
fs/hfs/inode.c
679
error = inode_newsize_ok(inode, attr->ia_size);
fs/hfs/inode.c
680
if (error)
fs/hfs/inode.c
681
return error;
fs/hfsplus/inode.c
270
int error;
fs/hfsplus/inode.c
272
error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
fs/hfsplus/inode.c
273
if (error)
fs/hfsplus/inode.c
274
return error;
fs/hfsplus/inode.c
280
error = generic_cont_expand_simple(inode,
fs/hfsplus/inode.c
282
if (error)
fs/hfsplus/inode.c
283
return error;
fs/hfsplus/inode.c
329
int error = 0, error2;
fs/hfsplus/inode.c
334
error = file_write_and_wait_range(file, start, end);
fs/hfsplus/inode.c
335
if (error)
fs/hfsplus/inode.c
336
return error;
fs/hfsplus/inode.c
348
error = filemap_write_and_wait(sbi->cat_tree->inode->i_mapping);
fs/hfsplus/inode.c
353
if (!error)
fs/hfsplus/inode.c
354
error = error2;
fs/hfsplus/inode.c
362
if (!error)
fs/hfsplus/inode.c
363
error = error2;
fs/hfsplus/inode.c
371
if (!error)
fs/hfsplus/inode.c
372
error = error2;
fs/hfsplus/inode.c
380
if (!error)
fs/hfsplus/inode.c
381
error = error2;
fs/hfsplus/inode.c
388
return error;
fs/hfsplus/super.c
201
int error = 0, error2;
fs/hfsplus/super.c
224
if (!error)
fs/hfsplus/super.c
225
error = error2;
fs/hfsplus/super.c
232
if (!error)
fs/hfsplus/super.c
233
error = error2;
fs/hfsplus/super.c
238
hfs_dbg("finished: err %d\n", error);
fs/hfsplus/super.c
240
return error;
fs/hfsplus/super.c
246
int error, error2;
fs/hfsplus/super.c
261
error = filemap_write_and_wait(sbi->cat_tree->inode->i_mapping);
fs/hfsplus/super.c
263
if (!error)
fs/hfsplus/super.c
264
error = error2;
fs/hfsplus/super.c
268
if (!error)
fs/hfsplus/super.c
269
error = error2;
fs/hfsplus/super.c
272
if (!error)
fs/hfsplus/super.c
273
error = error2;
fs/hfsplus/super.c
276
if (!error)
fs/hfsplus/super.c
277
error = error2;
fs/hfsplus/super.c
282
hfs_dbg("finished: err %d\n", error);
fs/hfsplus/super.c
284
return error;
fs/hfsplus/wrapper.c
140
int error = 0;
fs/hfsplus/wrapper.c
142
error = -EINVAL;
fs/hfsplus/wrapper.c
152
error = -ENOMEM;
fs/hfsplus/wrapper.c
161
error = hfsplus_submit_bio(sb, part_start + HFSPLUS_VOLHEAD_SECTOR,
fs/hfsplus/wrapper.c
164
if (error)
fs/hfsplus/wrapper.c
167
error = -EINVAL;
fs/hfsplus/wrapper.c
193
error = hfsplus_submit_bio(sb, part_start + part_size - 2,
fs/hfsplus/wrapper.c
196
if (error)
fs/hfsplus/wrapper.c
199
error = -EINVAL;
fs/hfsplus/wrapper.c
239
return error;
fs/hostfs/hostfs_kern.c
275
int error, len;
fs/hostfs/hostfs_kern.c
281
dir = open_dir(name, &error);
fs/hostfs/hostfs_kern.c
284
return -error;
fs/hpfs/dnode.c
961
else goto error;
fs/hpfs/dnode.c
967
if (!de->first) goto error;
fs/hpfs/dnode.c
970
if (!de->last) goto error;
fs/hpfs/dnode.c
978
if (!de->last) goto error;
fs/hpfs/dnode.c
987
error:
fs/hpfs/inode.c
264
int error = -EINVAL;
fs/hpfs/inode.c
278
error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
fs/hpfs/inode.c
279
if (error)
fs/hpfs/inode.c
284
error = inode_newsize_ok(inode, attr->ia_size);
fs/hpfs/inode.c
285
if (error)
fs/hpfs/inode.c
298
return error;
fs/hugetlbfs/inode.c
1038
int error = -ENOSPC;
fs/hugetlbfs/inode.c
1043
error = page_symlink(inode, symname, l);
fs/hugetlbfs/inode.c
1044
if (!error)
fs/hugetlbfs/inode.c
1051
return error;
fs/hugetlbfs/inode.c
1608
int error;
fs/hugetlbfs/inode.c
1616
error = -ENOMEM;
fs/hugetlbfs/inode.c
1623
error = register_filesystem(&hugetlbfs_fs_type);
fs/hugetlbfs/inode.c
1624
if (error)
fs/hugetlbfs/inode.c
1630
error = PTR_ERR(mnt);
fs/hugetlbfs/inode.c
1658
return error;
fs/hugetlbfs/inode.c
744
int error;
fs/hugetlbfs/inode.c
751
error = hugetlbfs_punch_hole(inode, offset, len);
fs/hugetlbfs/inode.c
766
error = inode_newsize_ok(inode, offset + len);
fs/hugetlbfs/inode.c
767
if (error)
fs/hugetlbfs/inode.c
771
error = -EPERM;
fs/hugetlbfs/inode.c
798
error = -EINTR;
fs/hugetlbfs/inode.c
828
error = PTR_ERR(folio);
fs/hugetlbfs/inode.c
833
error = hugetlb_add_to_page_cache(folio, mapping, index);
fs/hugetlbfs/inode.c
834
if (unlikely(error)) {
fs/hugetlbfs/inode.c
859
trace_hugetlbfs_fallocate(inode, mode, offset, len, error);
fs/hugetlbfs/inode.c
860
return error;
fs/hugetlbfs/inode.c
868
int error;
fs/hugetlbfs/inode.c
872
error = setattr_prepare(idmap, dentry, attr);
fs/hugetlbfs/inode.c
873
if (error)
fs/hugetlbfs/inode.c
874
return error;
fs/init.c
103
int error;
fs/init.c
105
error = kern_path(filename, lookup_flags, &path);
fs/init.c
106
if (error)
fs/init.c
107
return error;
fs/init.c
108
error = mnt_want_write(path.mnt);
fs/init.c
109
if (!error) {
fs/init.c
110
error = chown_common(&path, user, group);
fs/init.c
114
return error;
fs/init.c
120
int error;
fs/init.c
122
error = kern_path(filename, LOOKUP_FOLLOW, &path);
fs/init.c
123
if (error)
fs/init.c
124
return error;
fs/init.c
125
error = chmod_common(&path, mode);
fs/init.c
127
return error;
fs/init.c
133
int error;
fs/init.c
135
error = kern_path(filename, LOOKUP_FOLLOW, &path);
fs/init.c
136
if (error)
fs/init.c
137
return error;
fs/init.c
138
error = path_permission(&path, MAY_ACCESS);
fs/init.c
140
return error;
fs/init.c
147
int error;
fs/init.c
149
error = kern_path(filename, lookup_flags, &path);
fs/init.c
150
if (error)
fs/init.c
151
return error;
fs/init.c
152
error = vfs_getattr(&path, stat, STATX_BASIC_STATS,
fs/init.c
155
return error;
fs/init.c
199
int error;
fs/init.c
201
error = kern_path(filename, 0, &path);
fs/init.c
202
if (error)
fs/init.c
203
return error;
fs/init.c
204
error = vfs_utimes(&path, ts);
fs/init.c
206
return error;
fs/init.c
64
int error;
fs/init.c
66
error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path);
fs/init.c
67
if (error)
fs/init.c
68
return error;
fs/init.c
69
error = path_permission(&path, MAY_EXEC | MAY_CHDIR);
fs/init.c
70
if (!error)
fs/init.c
73
return error;
fs/init.c
79
int error;
fs/init.c
81
error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path);
fs/init.c
82
if (error)
fs/init.c
83
return error;
fs/init.c
84
error = path_permission(&path, MAY_EXEC | MAY_CHDIR);
fs/init.c
85
if (error)
fs/init.c
87
error = -EPERM;
fs/init.c
90
error = security_path_chroot(&path);
fs/init.c
91
if (error)
fs/init.c
96
return error;
fs/inode.c
2321
int error = 0;
fs/inode.c
2335
error = __remove_privs(file_mnt_idmap(file), dentry, kill);
fs/inode.c
2338
if (!error)
fs/inode.c
2340
return error;
fs/ioctl.c
204
int error;
fs/ioctl.c
219
error = inode->i_op->fiemap(inode, &fieinfo, fiemap.fm_start,
fs/ioctl.c
225
error = -EFAULT;
fs/ioctl.c
227
return error;
fs/ioctl.c
343
int on, error;
fs/ioctl.c
345
error = get_user(on, argp);
fs/ioctl.c
346
if (error)
fs/ioctl.c
347
return error;
fs/ioctl.c
360
return error;
fs/ioctl.c
367
int on, error;
fs/ioctl.c
369
error = get_user(on, argp);
fs/ioctl.c
370
if (error)
fs/ioctl.c
371
return error;
fs/ioctl.c
378
error = filp->f_op->fasync(fd, filp, on);
fs/ioctl.c
380
error = -ENOTTY;
fs/ioctl.c
382
return error < 0 ? error : 0;
fs/ioctl.c
46
int error = -ENOTTY;
fs/ioctl.c
51
error = filp->f_op->unlocked_ioctl(filp, cmd, arg);
fs/ioctl.c
52
if (error == -ENOIOCTLCMD)
fs/ioctl.c
53
error = -ENOTTY;
fs/ioctl.c
55
return error;
fs/ioctl.c
586
int error;
fs/ioctl.c
591
error = security_file_ioctl(fd_file(f), cmd, arg);
fs/ioctl.c
592
if (error)
fs/ioctl.c
593
return error;
fs/ioctl.c
595
error = do_vfs_ioctl(fd_file(f), fd, cmd, arg);
fs/ioctl.c
596
if (error == -ENOIOCTLCMD)
fs/ioctl.c
597
error = vfs_ioctl(fd_file(f), cmd, arg);
fs/ioctl.c
599
return error;
fs/ioctl.c
62
int error, ur_block;
fs/ioctl.c
642
int error;
fs/ioctl.c
647
error = security_file_ioctl_compat(fd_file(f), cmd, arg);
fs/ioctl.c
648
if (error)
fs/ioctl.c
649
return error;
fs/ioctl.c
654
error = ioctl_file_clone(fd_file(f), arg, 0, 0, 0);
fs/ioctl.c
661
error = compat_ioctl_preallocate(fd_file(f), 0, compat_ptr(arg));
fs/ioctl.c
665
error = compat_ioctl_preallocate(fd_file(f), FALLOC_FL_PUNCH_HOLE,
fs/ioctl.c
669
error = compat_ioctl_preallocate(fd_file(f), FALLOC_FL_ZERO_RANGE,
fs/ioctl.c
68
error = get_user(ur_block, p);
fs/ioctl.c
689
error = do_vfs_ioctl(fd_file(f), fd, cmd,
fs/ioctl.c
69
if (error)
fs/ioctl.c
691
if (error != -ENOIOCTLCMD)
fs/ioctl.c
695
error = fd_file(f)->f_op->compat_ioctl(fd_file(f), cmd, arg);
fs/ioctl.c
696
if (error == -ENOIOCTLCMD)
fs/ioctl.c
697
error = -ENOTTY;
fs/ioctl.c
70
return error;
fs/ioctl.c
700
return error;
fs/ioctl.c
76
error = bmap(inode, &block);
fs/ioctl.c
79
error = -ERANGE;
fs/ioctl.c
85
if (error)
fs/ioctl.c
91
error = -EFAULT;
fs/ioctl.c
93
return error;
fs/iomap/bio.c
16
int error = blk_status_to_errno(bio->bi_status);
fs/iomap/bio.c
20
iomap_finish_folio_read(fi.folio, fi.offset, fi.length, error);
fs/iomap/buffered-io.c
1867
int error = 0;
fs/iomap/buffered-io.c
1900
error = iomap_writeback_range(wpc, folio, pos, rlen, end_pos,
fs/iomap/buffered-io.c
1902
if (error)
fs/iomap/buffered-io.c
1909
if (error && pos > orig_pos)
fs/iomap/buffered-io.c
1911
error, GFP_NOFS);
fs/iomap/buffered-io.c
1942
mapping_set_error(inode->i_mapping, error);
fs/iomap/buffered-io.c
1943
return error;
fs/iomap/buffered-io.c
1952
int error;
fs/iomap/buffered-io.c
1962
while ((folio = writeback_iter(mapping, wpc->wbc, folio, &error))) {
fs/iomap/buffered-io.c
1963
error = iomap_writeback_folio(wpc, folio);
fs/iomap/buffered-io.c
1977
return wpc->ops->writeback_submit(wpc, error);
fs/iomap/buffered-io.c
1978
return error;
fs/iomap/buffered-io.c
397
int error)
fs/iomap/buffered-io.c
400
bool uptodate = !error;
fs/iomap/buffered-io.c
407
if (!error)
fs/iomap/buffered-io.c
414
if (error)
fs/iomap/buffered-io.c
416
folio_pos(folio) + off, len, error,
fs/iomap/direct-io.c
108
ssize_t ret = dio->error;
fs/iomap/direct-io.c
115
dio->error, GFP_NOFS);
fs/iomap/direct-io.c
137
if (!dio->error && dio->size && (dio->flags & IOMAP_DIO_WRITE) &&
fs/iomap/direct-io.c
155
trace_iomap_dio_complete(iocb, dio->error, ret);
fs/iomap/direct-io.c
176
cmpxchg(&dio->error, 0, ret);
fs/iomap/direct-io.c
203
if (dio->error)
fs/iomap/direct-io.c
244
bio_iov_iter_unbounce(bio, !!dio->error,
fs/iomap/direct-io.c
35
int error;
fs/iomap/direct-io.c
532
if (unlikely(data_race(dio->error)))
fs/iomap/direct-io.c
702
dio->error = 0;
fs/iomap/direct-io.c
92
switch (dio->error) {
fs/iomap/ioend.c
131
int iomap_ioend_writeback_submit(struct iomap_writepage_ctx *wpc, int error)
fs/iomap/ioend.c
139
error = -EIO;
fs/iomap/ioend.c
141
if (error) {
fs/iomap/ioend.c
142
ioend->io_bio.bi_status = errno_to_blk_status(error);
fs/iomap/ioend.c
144
return error;
fs/iomap/ioend.c
211
int error;
fs/iomap/ioend.c
240
error = wpc->ops->writeback_submit(wpc, 0);
fs/iomap/ioend.c
241
if (error)
fs/iomap/ioend.c
242
return error;
fs/iomap/ioend.c
300
static u32 iomap_finish_ioend(struct iomap_ioend *ioend, int error)
fs/iomap/ioend.c
309
if (error)
fs/iomap/ioend.c
310
cmpxchg(&ioend->io_error, 0, error);
fs/iomap/ioend.c
327
void iomap_finish_ioends(struct iomap_ioend *ioend, int error)
fs/iomap/ioend.c
335
completions = iomap_finish_ioend(ioend, error);
fs/iomap/ioend.c
344
completions += iomap_finish_ioend(ioend, error);
fs/iomap/swapfile.c
127
int error = iomap_swapfile_add_extent(isi);
fs/iomap/swapfile.c
128
if (error)
fs/iomap/swapfile.c
129
return error;
fs/iomap/swapfile.c
35
int error;
fs/iomap/swapfile.c
69
error = add_swap_extent(isi->sis, isi->nr_pages, nr_pages, first_ppage);
fs/iomap/swapfile.c
70
if (error < 0)
fs/iomap/swapfile.c
71
return error;
fs/iomap/swapfile.c
72
isi->nr_extents += error;
fs/iomap/trace.h
293
TP_PROTO(struct kiocb *iocb, int error, ssize_t ret),
fs/iomap/trace.h
294
TP_ARGS(iocb, error, ret),
fs/iomap/trace.h
302
__field(int, error)
fs/iomap/trace.h
312
__entry->error = error;
fs/iomap/trace.h
322
__entry->error,
fs/isofs/inode.c
1028
int section, rv, error;
fs/isofs/inode.c
1031
error = -EIO;
fs/isofs/inode.c
1071
error = PTR_ERR(ninode);
fs/isofs/inode.c
1104
error = 0;
fs/isofs/inode.c
1106
return rv != 0 ? rv : error;
fs/isofs/inode.c
1129
int error;
fs/isofs/inode.c
1133
error = isofs_get_block(inode, block, &dummy, 0);
fs/isofs/inode.c
1134
if (!error)
fs/isofs/inode.c
588
int table, error = -EINVAL;
fs/isofs/inode.c
707
error = -EACCES;
fs/isofs/inode.c
952
error = -ENOMEM;
fs/isofs/inode.c
965
error = PTR_ERR(inode);
fs/isofs/inode.c
966
if (error != -ENOMEM)
fs/isofs/inode.c
995
return error;
fs/isofs/rock.c
713
goto error;
fs/isofs/rock.c
803
error:
fs/jbd2/transaction.c
1008
error = -EROFS;
fs/jbd2/transaction.c
1014
error = 0;
fs/jbd2/transaction.c
1144
return error;
fs/jbd2/transaction.c
953
int error;
fs/jffs2/debug.c
325
goto error;
fs/jffs2/debug.c
339
goto error;
fs/jffs2/debug.c
347
goto error;
fs/jffs2/debug.c
353
goto error;
fs/jffs2/debug.c
361
goto error;
fs/jffs2/debug.c
369
goto error;
fs/jffs2/debug.c
378
error:
fs/jffs2/fs.c
279
goto error;
fs/jffs2/fs.c
339
goto error;
fs/jffs2/fs.c
366
error:
fs/jfs/jfs_logmgr.c
1818
goto error;
fs/jfs/jfs_logmgr.c
1825
goto error;
fs/jfs/jfs_logmgr.c
1843
error:
fs/kernfs/dir.c
1749
int error;
fs/kernfs/dir.c
1758
error = -ENOENT;
fs/kernfs/dir.c
1765
error = -EINVAL;
fs/kernfs/dir.c
1770
error = 0;
fs/kernfs/dir.c
1778
error = -EEXIST;
fs/kernfs/dir.c
1784
error = -ENOMEM;
fs/kernfs/dir.c
1823
error = 0;
fs/kernfs/dir.c
1826
return error;
fs/kernfs/file.c
617
int error = -EACCES;
fs/kernfs/file.c
640
error = -ENOMEM;
fs/kernfs/file.c
681
error = -EINVAL;
fs/kernfs/file.c
692
error = -ENOMEM;
fs/kernfs/file.c
704
error = seq_open(file, &kernfs_seq_ops);
fs/kernfs/file.c
706
error = seq_open(file, NULL);
fs/kernfs/file.c
707
if (error)
fs/kernfs/file.c
718
error = kernfs_get_open_node(kn, of);
fs/kernfs/file.c
719
if (error)
fs/kernfs/file.c
724
error = ops->open(of);
fs/kernfs/file.c
725
if (error)
fs/kernfs/file.c
742
return error;
fs/kernfs/inode.c
117
int error;
fs/kernfs/inode.c
124
error = setattr_prepare(&nop_mnt_idmap, dentry, iattr);
fs/kernfs/inode.c
125
if (error)
fs/kernfs/inode.c
128
error = __kernfs_setattr(kn, iattr);
fs/kernfs/inode.c
129
if (error)
fs/kernfs/inode.c
137
return error;
fs/kernfs/mount.c
371
int error;
fs/kernfs/mount.c
392
error = kernfs_fill_super(sb, kfc);
fs/kernfs/mount.c
393
if (error) {
fs/kernfs/mount.c
395
return error;
fs/kernfs/symlink.c
118
int error;
fs/kernfs/symlink.c
122
error = kernfs_get_target_path(parent, target, path);
fs/kernfs/symlink.c
125
return error;
fs/kernfs/symlink.c
133
int error;
fs/kernfs/symlink.c
140
error = kernfs_getlink(inode, body);
fs/kernfs/symlink.c
141
if (unlikely(error < 0)) {
fs/kernfs/symlink.c
143
return ERR_PTR(error);
fs/kernfs/symlink.c
30
int error;
fs/kernfs/symlink.c
48
error = kernfs_add_one(kn);
fs/kernfs/symlink.c
49
if (!error)
fs/kernfs/symlink.c
53
return ERR_PTR(error);
fs/libfs.c
921
int error;
fs/libfs.c
923
error = setattr_prepare(idmap, dentry, iattr);
fs/libfs.c
924
if (error)
fs/libfs.c
925
return error;
fs/lockd/clnt4xdr.c
262
int error;
fs/lockd/clnt4xdr.c
275
error = decode_netobj(xdr, &lock->oh);
fs/lockd/clnt4xdr.c
276
if (unlikely(error))
fs/lockd/clnt4xdr.c
288
error = 0;
fs/lockd/clnt4xdr.c
290
return error;
fs/lockd/clnt4xdr.c
493
int error;
fs/lockd/clnt4xdr.c
495
error = decode_nlm4_stat(xdr, &result->status);
fs/lockd/clnt4xdr.c
496
if (unlikely(error))
fs/lockd/clnt4xdr.c
499
error = decode_nlm4_holder(xdr, result);
fs/lockd/clnt4xdr.c
501
return error;
fs/lockd/clnt4xdr.c
509
int error;
fs/lockd/clnt4xdr.c
511
error = decode_cookie(xdr, &result->cookie);
fs/lockd/clnt4xdr.c
512
if (unlikely(error))
fs/lockd/clnt4xdr.c
514
error = decode_nlm4_testrply(xdr, result);
fs/lockd/clnt4xdr.c
516
return error;
fs/lockd/clnt4xdr.c
530
int error;
fs/lockd/clnt4xdr.c
532
error = decode_cookie(xdr, &result->cookie);
fs/lockd/clnt4xdr.c
533
if (unlikely(error))
fs/lockd/clnt4xdr.c
535
error = decode_nlm4_stat(xdr, &result->status);
fs/lockd/clnt4xdr.c
537
return error;
fs/lockd/clntxdr.c
257
int error;
fs/lockd/clntxdr.c
271
error = decode_netobj(xdr, &lock->oh);
fs/lockd/clntxdr.c
272
if (unlikely(error))
fs/lockd/clntxdr.c
290
error = 0;
fs/lockd/clntxdr.c
292
return error;
fs/lockd/clntxdr.c
499
int error;
fs/lockd/clntxdr.c
501
error = decode_nlm_stat(xdr, &result->status);
fs/lockd/clntxdr.c
502
if (unlikely(error))
fs/lockd/clntxdr.c
505
error = decode_nlm_holder(xdr, result);
fs/lockd/clntxdr.c
507
return error;
fs/lockd/clntxdr.c
515
int error;
fs/lockd/clntxdr.c
517
error = decode_cookie(xdr, &result->cookie);
fs/lockd/clntxdr.c
518
if (unlikely(error))
fs/lockd/clntxdr.c
520
error = decode_nlm_testrply(xdr, result);
fs/lockd/clntxdr.c
522
return error;
fs/lockd/clntxdr.c
536
int error;
fs/lockd/clntxdr.c
538
error = decode_cookie(xdr, &result->cookie);
fs/lockd/clntxdr.c
539
if (unlikely(error))
fs/lockd/clntxdr.c
541
error = decode_nlm_stat(xdr, &result->status);
fs/lockd/clntxdr.c
543
return error;
fs/lockd/svc.c
227
int error;
fs/lockd/svc.c
232
error = svc_bind(serv, net);
fs/lockd/svc.c
233
if (error)
fs/lockd/svc.c
236
error = make_socks(serv, net, cred);
fs/lockd/svc.c
237
if (error < 0)
fs/lockd/svc.c
245
return error;
fs/lockd/svc.c
322
int error;
fs/lockd/svc.c
343
error = svc_set_num_threads(serv, 0, 1);
fs/lockd/svc.c
344
if (error < 0) {
fs/lockd/svc.c
346
return error;
fs/lockd/svc.c
382
int error;
fs/lockd/svc.c
386
error = lockd_get();
fs/lockd/svc.c
387
if (error)
fs/lockd/svc.c
390
error = lockd_up_net(nlmsvc_serv, net, cred);
fs/lockd/svc.c
391
if (error < 0) {
fs/lockd/svc.c
398
return error;
fs/lockd/svc4proc.c
29
__be32 error = 0;
fs/lockd/svc4proc.c
51
error = nlm_lookup_file(rqstp, &file, lock);
fs/lockd/svc4proc.c
52
if (error)
fs/lockd/svc4proc.c
76
if (error)
fs/lockd/svc4proc.c
77
return error;
fs/lockd/svclock.c
1009
error = vfs_lock_file(fl->c.flc_file, F_SETLK, fl, NULL);
fs/lockd/svclock.c
1010
if (error)
fs/lockd/svclock.c
485
int error;
fs/lockd/svclock.c
569
error = vfs_lock_file(file->f_file[mode], F_SETLK, &lock->fl, NULL);
fs/lockd/svclock.c
572
dprintk("lockd: vfs_lock_file returned %d\n", error);
fs/lockd/svclock.c
573
switch (error) {
fs/lockd/svclock.c
616
int error;
fs/lockd/svclock.c
642
error = vfs_test_lock(file->f_file[mode], &conflock->fl);
fs/lockd/svclock.c
643
if (error) {
fs/lockd/svclock.c
677
int error = 0;
fs/lockd/svclock.c
695
error = vfs_lock_file(lock->fl.c.flc_file, F_SETLK,
fs/lockd/svclock.c
699
error |= vfs_lock_file(lock->fl.c.flc_file, F_SETLK,
fs/lockd/svclock.c
702
return (error < 0)? nlm_lck_denied_nolocks : nlm_granted;
fs/lockd/svclock.c
856
int error;
fs/lockd/svclock.c
882
error = vfs_lock_file(file->f_file[mode], F_SETLK, &lock->fl, NULL);
fs/lockd/svclock.c
887
switch (error) {
fs/lockd/svclock.c
891
dprintk("lockd: lock still blocked error %d\n", error);
fs/lockd/svclock.c
897
-error, __func__);
fs/lockd/svclock.c
916
error = nlm_async_call(block->b_call, NLMPROC_GRANTED_MSG,
fs/lockd/svclock.c
920
if (error < 0)
fs/lockd/svclock.c
992
int error;
fs/lockd/svcproc.c
59
__be32 error = 0;
fs/lockd/svcproc.c
73
error = cast_status(nlm_lookup_file(rqstp, &file, lock));
fs/lockd/svcproc.c
74
if (error != 0)
fs/lockd/svcproc.c
96
if (error)
fs/lockd/svcproc.c
97
return error;
fs/locks.c
1138
int error = 0;
fs/locks.c
1172
error = -ENOENT;
fs/locks.c
1180
error = -EAGAIN;
fs/locks.c
1183
error = FILE_LOCK_DEFERRED;
fs/locks.c
1193
error = 0;
fs/locks.c
1201
trace_flock_lock_inode(inode, request, error);
fs/locks.c
1202
return error;
fs/locks.c
1214
int error;
fs/locks.c
1262
error = -EAGAIN;
fs/locks.c
1269
error = -EDEADLK;
fs/locks.c
1277
error = FILE_LOCK_DEFERRED;
fs/locks.c
1287
error = 0;
fs/locks.c
1369
error = -ENOLCK;
fs/locks.c
1389
error = -ENOLCK; /* "no luck" */
fs/locks.c
1393
error = 0;
fs/locks.c
1397
error = -ENOENT;
fs/locks.c
1402
error = -ENOLCK;
fs/locks.c
1429
trace_posix_lock_inode(inode, request, error);
fs/locks.c
1441
return error;
fs/locks.c
1474
int error;
fs/locks.c
1477
error = posix_lock_inode(inode, fl, NULL);
fs/locks.c
1478
if (error != FILE_LOCK_DEFERRED)
fs/locks.c
1480
error = wait_event_interruptible(fl->c.flc_wait,
fs/locks.c
1482
if (error)
fs/locks.c
1486
return error;
fs/locks.c
1503
int error = assign_type(&fl->c, arg);
fs/locks.c
1505
if (error)
fs/locks.c
1506
return error;
fs/locks.c
1606
int error = 0;
fs/locks.c
1666
error = -EWOULDBLOCK;
fs/locks.c
1683
error = wait_event_interruptible_timeout(new_fl->c.flc_wait,
fs/locks.c
1691
if (error >= 0) {
fs/locks.c
1696
if (error == 0)
fs/locks.c
1700
error = 0;
fs/locks.c
1708
return error;
fs/locks.c
1814
int error;
fs/locks.c
1820
error = file_f_owner_allocate(filp);
fs/locks.c
1821
if (error)
fs/locks.c
1822
return error;
fs/locks.c
1843
error = lease->fl_lmops->lm_open_conflict(filp, arg);
fs/locks.c
1844
if (error)
fs/locks.c
1855
error = -EAGAIN;
fs/locks.c
1879
error = lease->fl_lmops->lm_change(lease, arg, &dispose);
fs/locks.c
1880
if (error)
fs/locks.c
1885
error = -EINVAL;
fs/locks.c
1900
error = lease->fl_lmops->lm_open_conflict(filp, arg);
fs/locks.c
1901
if (error) {
fs/locks.c
1915
if (!error && !my_fl)
fs/locks.c
1917
return error;
fs/locks.c
1922
int error = -EAGAIN;
fs/locks.c
1931
return error;
fs/locks.c
1945
error = fl->fl_lmops->lm_change(victim, F_UNLCK, &dispose);
fs/locks.c
1949
return error;
fs/locks.c
2058
int error;
fs/locks.c
2062
error = security_file_lock(filp, arg);
fs/locks.c
2063
if (error)
fs/locks.c
2064
return error;
fs/locks.c
2073
int error;
fs/locks.c
2086
error = vfs_setlease(filp, arg, &fl, (void **)&new);
fs/locks.c
2091
return error;
fs/locks.c
2144
int error;
fs/locks.c
2147
error = flock_lock_inode(inode, fl);
fs/locks.c
2148
if (error != FILE_LOCK_DEFERRED)
fs/locks.c
2150
error = wait_event_interruptible(fl->c.flc_wait,
fs/locks.c
2152
if (error)
fs/locks.c
2156
return error;
fs/locks.c
2200
int can_sleep, error, type;
fs/locks.c
2229
error = security_file_lock(fd_file(f), fl.c.flc_type);
fs/locks.c
2230
if (error)
fs/locks.c
2231
return error;
fs/locks.c
2238
error = fd_file(f)->f_op->flock(fd_file(f),
fs/locks.c
2242
error = locks_lock_file_wait(fd_file(f), &fl);
fs/locks.c
2245
return error;
fs/locks.c
2265
int error = 0;
fs/locks.c
2270
error = filp->f_op->lock(filp, F_GETLK, fl);
fs/locks.c
2278
if (WARN_ON_ONCE(error == FILE_LOCK_DEFERRED))
fs/locks.c
2279
error = -EIO;
fs/locks.c
2281
return error;
fs/locks.c
2358
int error;
fs/locks.c
2363
error = -EINVAL;
fs/locks.c
2368
error = flock_to_posix_lock(filp, fl, flock);
fs/locks.c
2369
if (error)
fs/locks.c
2373
error = -EINVAL;
fs/locks.c
2381
error = vfs_test_lock(filp, fl);
fs/locks.c
2382
if (error)
fs/locks.c
2387
error = posix_lock_to_flock(flock, fl);
fs/locks.c
2388
if (error)
fs/locks.c
2393
return error;
fs/locks.c
2444
int error;
fs/locks.c
2446
error = security_file_lock(filp, fl->c.flc_type);
fs/locks.c
2447
if (error)
fs/locks.c
2448
return error;
fs/locks.c
2451
error = vfs_lock_file(filp, cmd, fl, NULL);
fs/locks.c
2452
if (error != FILE_LOCK_DEFERRED)
fs/locks.c
2454
error = wait_event_interruptible(fl->c.flc_wait,
fs/locks.c
2456
if (error)
fs/locks.c
2461
return error;
fs/locks.c
2489
int error;
fs/locks.c
2494
error = flock_to_posix_lock(filp, file_lock, flock);
fs/locks.c
2495
if (error)
fs/locks.c
2498
error = check_fmode_for_setlk(file_lock);
fs/locks.c
2499
if (error)
fs/locks.c
2508
error = -EINVAL;
fs/locks.c
2517
error = -EINVAL;
fs/locks.c
2529
error = do_lock_file_wait(filp, cmd, file_lock);
fs/locks.c
2537
if (!error && file_lock->c.flc_type != F_UNLCK &&
fs/locks.c
2550
error = -EBADF;
fs/locks.c
2554
trace_fcntl_setlk(inode, file_lock, error);
fs/locks.c
2556
return error;
fs/locks.c
2566
int error;
fs/locks.c
2572
error = -EINVAL;
fs/locks.c
2577
error = flock64_to_posix_lock(filp, fl, flock);
fs/locks.c
2578
if (error)
fs/locks.c
2582
error = -EINVAL;
fs/locks.c
2590
error = vfs_test_lock(filp, fl);
fs/locks.c
2591
if (error)
fs/locks.c
2600
return error;
fs/locks.c
2611
int error;
fs/locks.c
2616
error = flock64_to_posix_lock(filp, file_lock, flock);
fs/locks.c
2617
if (error)
fs/locks.c
2620
error = check_fmode_for_setlk(file_lock);
fs/locks.c
2621
if (error)
fs/locks.c
2630
error = -EINVAL;
fs/locks.c
2639
error = -EINVAL;
fs/locks.c
2651
error = do_lock_file_wait(filp, cmd, file_lock);
fs/locks.c
2659
if (!error && file_lock->c.flc_type != F_UNLCK &&
fs/locks.c
2672
error = -EBADF;
fs/locks.c
2677
return error;
fs/locks.c
2688
int error;
fs/locks.c
2713
error = vfs_lock_file(filp, F_SETLK, &lock, NULL);
fs/locks.c
2717
trace_locks_remove_posix(inode, &lock, error);
fs/locks.c
665
int error = -ENOMEM;
fs/locks.c
668
return ERR_PTR(error);
fs/locks.c
670
error = lease_init(filp, flags, type, fl);
fs/locks.c
671
if (error) {
fs/locks.c
673
return ERR_PTR(error);
fs/minix/file.c
29
int error;
fs/minix/file.c
31
error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
fs/minix/file.c
32
if (error)
fs/minix/file.c
33
return error;
fs/minix/file.c
37
error = inode_newsize_ok(inode, attr->ia_size);
fs/minix/file.c
38
if (error)
fs/minix/file.c
39
return error;
fs/mpage.c
673
int error;
fs/mpage.c
676
while ((folio = writeback_iter(mapping, wbc, folio, &error))) {
fs/mpage.c
678
error = write_folio(folio, wbc);
fs/mpage.c
683
if (error <= 0)
fs/mpage.c
687
error = mpage_write_folio(wbc, folio, &mpd);
fs/mpage.c
692
return error;
fs/namei.c
1137
int error = set_root(nd);
fs/namei.c
1138
if (unlikely(error))
fs/namei.c
1139
return error;
fs/namei.c
1165
int error = -ELOOP;
fs/namei.c
1171
error = -EXDEV;
fs/namei.c
1188
return error;
fs/namei.c
1765
int error = d_revalidate(dir->d_inode, name, dentry, flags);
fs/namei.c
1766
if (unlikely(error <= 0)) {
fs/namei.c
1767
if (!error)
fs/namei.c
1770
return ERR_PTR(error);
fs/namei.c
1905
int error = d_revalidate(inode, name, dentry, flags);
fs/namei.c
1906
if (unlikely(error <= 0)) {
fs/namei.c
1907
if (!error) {
fs/namei.c
1913
dentry = ERR_PTR(error);
fs/namei.c
2009
int error;
fs/namei.c
2020
error = reserve_stack(nd, link);
fs/namei.c
2021
if (unlikely(error)) {
fs/namei.c
2024
return ERR_PTR(error);
fs/namei.c
2032
error = may_follow_link(nd, inode);
fs/namei.c
2033
if (unlikely(error))
fs/namei.c
2034
return ERR_PTR(error);
fs/namei.c
2050
error = security_inode_follow_link(link->dentry, inode,
fs/namei.c
2052
if (unlikely(error))
fs/namei.c
2053
return ERR_PTR(error);
fs/namei.c
2073
error = nd_jump_root(nd);
fs/namei.c
2074
if (unlikely(error))
fs/namei.c
2075
return ERR_PTR(error);
fs/namei.c
2227
const char *error = NULL;
fs/namei.c
2231
error = ERR_PTR(set_root(nd));
fs/namei.c
2232
if (unlikely(error))
fs/namei.c
2233
return error;
fs/namei.c
2241
error = step_into(nd, WALK_NOFOLLOW, parent);
fs/namei.c
2242
if (unlikely(error))
fs/namei.c
2243
return error;
fs/namei.c
2676
int error;
fs/namei.c
2717
error = nd_jump_root(nd);
fs/namei.c
2718
if (unlikely(error))
fs/namei.c
2719
return ERR_PTR(error);
fs/namei.c
2966
int type, error;
fs/namei.c
2968
error = filename_parentat(dfd, name, 0, &parent_path, &last, &type);
fs/namei.c
2969
if (error)
fs/namei.c
2970
return ERR_PTR(error);
fs/namei.c
2974
error = mnt_want_write(parent_path.mnt);
fs/namei.c
2978
if (error)
fs/namei.c
2986
d = ERR_PTR(error);
fs/namei.c
2988
if (!error)
fs/namei.c
3012
int type, error;
fs/namei.c
3014
error = filename_parentat(AT_FDCWD, filename, 0, &parent_path, &last, &type);
fs/namei.c
3015
if (error)
fs/namei.c
3016
return ERR_PTR(error);
fs/namei.c
3659
int error;
fs/namei.c
3674
error = inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC);
fs/namei.c
3675
if (error)
fs/namei.c
3676
return error;
fs/namei.c
389
int error = posix_acl_permission(idmap, inode, acl, mask);
fs/namei.c
391
return error;
fs/namei.c
4166
int error;
fs/namei.c
4168
error = may_create_dentry(idmap, dir, dentry);
fs/namei.c
4169
if (error)
fs/namei.c
4170
return error;
fs/namei.c
4176
error = security_inode_create(dir, dentry, mode);
fs/namei.c
4177
if (error)
fs/namei.c
4178
return error;
fs/namei.c
4179
error = try_break_deleg(dir, di);
fs/namei.c
4180
if (error)
fs/namei.c
4181
return error;
fs/namei.c
4182
error = dir->i_op->create(idmap, dir, dentry, mode, true);
fs/namei.c
4183
if (!error)
fs/namei.c
4185
return error;
fs/namei.c
4194
int error = may_create_dentry(&nop_mnt_idmap, dir, dentry);
fs/namei.c
4195
if (error)
fs/namei.c
4196
return error;
fs/namei.c
4200
error = security_inode_create(dir, dentry, mode);
fs/namei.c
4201
if (error)
fs/namei.c
4202
return error;
fs/namei.c
4203
error = f(dentry, mode, arg);
fs/namei.c
4204
if (!error)
fs/namei.c
4206
return error;
fs/namei.c
4221
int error;
fs/namei.c
4254
error = inode_permission(idmap, inode, MAY_OPEN | acc_mode);
fs/namei.c
4255
if (error)
fs/namei.c
4256
return error;
fs/namei.c
4279
int error = get_write_access(inode);
fs/namei.c
4280
if (error)
fs/namei.c
4281
return error;
fs/namei.c
4283
error = security_file_truncate(filp);
fs/namei.c
4284
if (!error) {
fs/namei.c
4285
error = do_truncate(idmap, path->dentry, 0,
fs/namei.c
4290
return error;
fs/namei.c
4304
int error = security_path_mknod(dir, dentry, mode, 0);
fs/namei.c
4305
if (error)
fs/namei.c
4306
return error;
fs/namei.c
4311
error = inode_permission(idmap, dir->dentry->d_inode,
fs/namei.c
4313
if (error)
fs/namei.c
4314
return error;
fs/namei.c
4338
int error;
fs/namei.c
4342
error = dir->i_op->atomic_open(dir, dentry, file,
fs/namei.c
4345
if (!error) {
fs/namei.c
4352
error = -EIO;
fs/namei.c
4359
error = -ENOENT;
fs/namei.c
4362
if (error) {
fs/namei.c
4364
dentry = ERR_PTR(error);
fs/namei.c
4393
int error, create_error = 0;
fs/namei.c
4411
error = d_revalidate(dir_inode, &nd->last, dentry, nd->flags);
fs/namei.c
4412
if (likely(error > 0))
fs/namei.c
4414
if (error)
fs/namei.c
4467
error = PTR_ERR(res);
fs/namei.c
4478
error = try_break_deleg(dir_inode, delegated_inode);
fs/namei.c
4479
if (error)
fs/namei.c
4485
error = -EACCES;
fs/namei.c
4489
error = dir_inode->i_op->create(idmap, dir_inode, dentry,
fs/namei.c
4491
if (error)
fs/namei.c
4495
error = create_error;
fs/namei.c
4502
return ERR_PTR(error);
fs/namei.c
4606
int error = break_deleg_wait(&delegated_inode);
fs/namei.c
4608
if (!error)
fs/namei.c
4610
return ERR_PTR(error);
fs/namei.c
4640
int error;
fs/namei.c
4643
error = complete_walk(nd);
fs/namei.c
4644
if (error)
fs/namei.c
4645
return error;
fs/namei.c
4655
error = may_create_in_sticky(idmap, nd,
fs/namei.c
4657
if (unlikely(error))
fs/namei.c
4658
return error;
fs/namei.c
4670
error = mnt_want_write(nd->path.mnt);
fs/namei.c
4671
if (error)
fs/namei.c
4672
return error;
fs/namei.c
4675
error = may_open(idmap, &nd->path, acc_mode, open_flag);
fs/namei.c
4676
if (!error && !(file->f_mode & FMODE_OPENED))
fs/namei.c
4677
error = vfs_open(&nd->path, file);
fs/namei.c
4678
if (!error)
fs/namei.c
4679
error = security_file_post_open(file, op->acc_mode);
fs/namei.c
4680
if (!error && do_truncate)
fs/namei.c
4681
error = handle_truncate(idmap, file);
fs/namei.c
4682
if (unlikely(error > 0)) {
fs/namei.c
4684
error = -EINVAL;
fs/namei.c
4688
return error;
fs/namei.c
471
int error = check_acl(idmap, inode, mask);
fs/namei.c
4713
int error;
fs/namei.c
4717
error = inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC);
fs/namei.c
4718
if (error)
fs/namei.c
4719
return error;
fs/namei.c
472
if (error != -EAGAIN)
fs/namei.c
4728
error = dir->i_op->tmpfile(idmap, dir, file, mode);
fs/namei.c
473
return error;
fs/namei.c
4732
if (error)
fs/namei.c
4733
return error;
fs/namei.c
4735
error = may_open(idmap, &file->f_path, 0, file->f_flags);
fs/namei.c
4736
if (error)
fs/namei.c
4737
return error;
fs/namei.c
4766
int error;
fs/namei.c
4772
error = vfs_tmpfile(idmap, parentpath, file, mode);
fs/namei.c
4773
if (error) {
fs/namei.c
4775
file = ERR_PTR(error);
fs/namei.c
4786
int error = path_lookupat(nd, flags | LOOKUP_DIRECTORY, &path);
fs/namei.c
4788
if (unlikely(error))
fs/namei.c
4789
return error;
fs/namei.c
4790
error = mnt_want_write(path.mnt);
fs/namei.c
4791
if (unlikely(error))
fs/namei.c
4793
error = vfs_tmpfile(mnt_idmap(path.mnt), &path, file, op->mode);
fs/namei.c
4794
if (error)
fs/namei.c
4801
return error;
fs/namei.c
4807
int error = path_lookupat(nd, flags, &path);
fs/namei.c
4808
if (!error) {
fs/namei.c
4810
error = vfs_open(&path, file);
fs/namei.c
4813
return error;
fs/namei.c
4820
int error;
fs/namei.c
4827
error = do_tmpfile(nd, flags, op, file);
fs/namei.c
4829
error = do_o_path(nd, flags, file);
fs/namei.c
4832
while (!(error = link_path_walk(s, nd)) &&
fs/namei.c
4835
if (!error)
fs/namei.c
4836
error = do_open(nd, file, op);
fs/namei.c
4839
if (likely(!error)) {
fs/namei.c
4843
error = -EINVAL;
fs/namei.c
4846
if (error == -EOPENSTALE) {
fs/namei.c
4848
error = -ECHILD;
fs/namei.c
4850
error = -ESTALE;
fs/namei.c
4852
return ERR_PTR(error);
fs/namei.c
4907
int error;
fs/namei.c
4909
error = filename_parentat(dfd, name, reval_flag, path, &last, &type);
fs/namei.c
4910
if (error)
fs/namei.c
4911
return ERR_PTR(error);
fs/namei.c
4921
error = mnt_want_write(path->mnt);
fs/namei.c
4932
if (unlikely(error))
fs/namei.c
4938
dentry = ERR_PTR(error);
fs/namei.c
4940
if (!error)
fs/namei.c
5008
int error, create_error;
fs/namei.c
5025
error = PTR_ERR_OR_ZERO(dentry);
fs/namei.c
5027
if (unlikely(create_error) && error == -ENOENT)
fs/namei.c
5028
error = create_error;
fs/namei.c
5030
if (!error) {
fs/namei.c
5040
error = vfs_create(mnt_idmap(path->mnt), path->dentry, mode, NULL);
fs/namei.c
5041
if (!error)
fs/namei.c
5042
error = vfs_open(path, file);
fs/namei.c
5044
if (unlikely(error))
fs/namei.c
5045
return ERR_PTR(error);
fs/namei.c
5073
int error = may_create_dentry(idmap, dir, dentry);
fs/namei.c
5075
if (error)
fs/namei.c
5076
return error;
fs/namei.c
5086
error = devcgroup_inode_mknod(mode, dev);
fs/namei.c
5087
if (error)
fs/namei.c
5088
return error;
fs/namei.c
5090
error = security_inode_mknod(dir, dentry, mode, dev);
fs/namei.c
5091
if (error)
fs/namei.c
5092
return error;
fs/namei.c
5094
error = try_break_deleg(dir, delegated_inode);
fs/namei.c
5095
if (error)
fs/namei.c
5096
return error;
fs/namei.c
5098
error = dir->i_op->mknod(idmap, dir, dentry, mode, dev);
fs/namei.c
5099
if (!error)
fs/namei.c
5101
return error;
fs/namei.c
5129
int error;
fs/namei.c
5132
error = may_mknod(mode);
fs/namei.c
5133
if (error)
fs/namei.c
5134
return error;
fs/namei.c
5140
error = security_path_mknod(&path, dentry,
fs/namei.c
5142
if (error)
fs/namei.c
5148
error = vfs_create(idmap, dentry, mode, &di);
fs/namei.c
5149
if (!error)
fs/namei.c
5153
error = vfs_mknod(idmap, path.dentry->d_inode,
fs/namei.c
5157
error = vfs_mknod(idmap, path.dentry->d_inode,
fs/namei.c
5164
error = break_deleg_wait(&di);
fs/namei.c
5165
if (!error)
fs/namei.c
5168
if (retry_estale(error, lookup_flags)) {
fs/namei.c
5172
return error;
fs/namei.c
5214
int error;
fs/namei.c
5218
error = may_create_dentry(idmap, dir, dentry);
fs/namei.c
5219
if (error)
fs/namei.c
5222
error = -EPERM;
fs/namei.c
5227
error = security_inode_mkdir(dir, dentry, mode);
fs/namei.c
5228
if (error)
fs/namei.c
5231
error = -EMLINK;
fs/namei.c
5235
error = try_break_deleg(dir, delegated_inode);
fs/namei.c
5236
if (error)
fs/namei.c
5240
error = PTR_ERR(de);
fs/namei.c
5252
return ERR_PTR(error);
fs/namei.c
5260
int error;
fs/namei.c
5269
error = security_path_mkdir(&path, dentry,
fs/namei.c
5271
if (!error) {
fs/namei.c
5275
error = PTR_ERR(dentry);
fs/namei.c
5279
error = break_deleg_wait(&delegated_inode);
fs/namei.c
5280
if (!error)
fs/namei.c
5283
if (retry_estale(error, lookup_flags)) {
fs/namei.c
5287
return error;
fs/namei.c
5320
int error = may_delete_dentry(idmap, dir, dentry, true);
fs/namei.c
5322
if (error)
fs/namei.c
5323
return error;
fs/namei.c
5331
error = -EBUSY;
fs/namei.c
5336
error = security_inode_rmdir(dir, dentry);
fs/namei.c
5337
if (error)
fs/namei.c
5340
error = try_break_deleg(dir, delegated_inode);
fs/namei.c
5341
if (error)
fs/namei.c
5344
error = dir->i_op->rmdir(dir, dentry);
fs/namei.c
5345
if (error)
fs/namei.c
5356
if (!error)
fs/namei.c
5358
return error;
fs/namei.c
5364
int error;
fs/namei.c
5372
error = filename_parentat(dfd, name, lookup_flags, &path, &last, &type);
fs/namei.c
5373
if (error)
fs/namei.c
5374
return error;
fs/namei.c
5378
error = -ENOTEMPTY;
fs/namei.c
5381
error = -EINVAL;
fs/namei.c
5384
error = -EBUSY;
fs/namei.c
5388
error = mnt_want_write(path.mnt);
fs/namei.c
5389
if (error)
fs/namei.c
5393
error = PTR_ERR(dentry);
fs/namei.c
5396
error = security_path_rmdir(&path, dentry);
fs/namei.c
5397
if (error)
fs/namei.c
5399
error = vfs_rmdir(mnt_idmap(path.mnt), path.dentry->d_inode,
fs/namei.c
5408
error = break_deleg_wait(&delegated_inode);
fs/namei.c
5409
if (!error)
fs/namei.c
5412
if (retry_estale(error, lookup_flags)) {
fs/namei.c
5416
return error;
fs/namei.c
5454
int error = may_delete_dentry(idmap, dir, dentry, false);
fs/namei.c
5456
if (error)
fs/namei.c
5457
return error;
fs/namei.c
5464
error = -EPERM;
fs/namei.c
5466
error = -EBUSY;
fs/namei.c
5468
error = security_inode_unlink(dir, dentry);
fs/namei.c
5469
if (!error) {
fs/namei.c
5470
error = try_break_deleg(dir, delegated_inode);
fs/namei.c
5471
if (error)
fs/namei.c
5473
error = try_break_deleg(target, delegated_inode);
fs/namei.c
5474
if (error)
fs/namei.c
5476
error = dir->i_op->unlink(dir, dentry);
fs/namei.c
5477
if (!error) {
fs/namei.c
5487
if (!error && dentry->d_flags & DCACHE_NFSFS_RENAMED) {
fs/namei.c
5489
} else if (!error) {
fs/namei.c
5494
return error;
fs/namei.c
5506
int error;
fs/namei.c
5515
error = filename_parentat(dfd, name, lookup_flags, &path, &last, &type);
fs/namei.c
5516
if (error)
fs/namei.c
5517
return error;
fs/namei.c
5519
error = -EISDIR;
fs/namei.c
5523
error = mnt_want_write(path.mnt);
fs/namei.c
5524
if (error)
fs/namei.c
5528
error = PTR_ERR(dentry);
fs/namei.c
5535
error = -EISDIR;
fs/namei.c
5537
error = -ENOTDIR;
fs/namei.c
5543
error = security_path_unlink(&path, dentry);
fs/namei.c
5544
if (error)
fs/namei.c
5546
error = vfs_unlink(mnt_idmap(path.mnt), path.dentry->d_inode,
fs/namei.c
5552
error = break_deleg_wait(&delegated_inode);
fs/namei.c
5553
if (!error)
fs/namei.c
5560
if (retry_estale(error, lookup_flags)) {
fs/namei.c
5564
return error;
fs/namei.c
5604
int error;
fs/namei.c
5606
error = may_create_dentry(idmap, dir, dentry);
fs/namei.c
5607
if (error)
fs/namei.c
5608
return error;
fs/namei.c
5613
error = security_inode_symlink(dir, dentry, oldname);
fs/namei.c
5614
if (error)
fs/namei.c
5615
return error;
fs/namei.c
5617
error = try_break_deleg(dir, delegated_inode);
fs/namei.c
5618
if (error)
fs/namei.c
5619
return error;
fs/namei.c
5621
error = dir->i_op->symlink(idmap, dir, dentry, oldname);
fs/namei.c
5622
if (!error)
fs/namei.c
5624
return error;
fs/namei.c
5630
int error;
fs/namei.c
5644
error = security_path_symlink(&path, dentry, from->name);
fs/namei.c
5645
if (!error)
fs/namei.c
5646
error = vfs_symlink(mnt_idmap(path.mnt), path.dentry->d_inode,
fs/namei.c
5650
error = break_deleg_wait(&delegated_inode);
fs/namei.c
5651
if (!error)
fs/namei.c
5654
if (retry_estale(error, lookup_flags)) {
fs/namei.c
5658
return error;
fs/namei.c
5708
int error;
fs/namei.c
5713
error = may_create_dentry(idmap, dir, new_dentry);
fs/namei.c
5714
if (error)
fs/namei.c
5715
return error;
fs/namei.c
5737
error = security_inode_link(old_dentry, dir, new_dentry);
fs/namei.c
5738
if (error)
fs/namei.c
5739
return error;
fs/namei.c
5744
error = -ENOENT;
fs/namei.c
5746
error = -EMLINK;
fs/namei.c
5748
error = try_break_deleg(dir, delegated_inode);
fs/namei.c
5749
if (!error)
fs/namei.c
5750
error = try_break_deleg(inode, delegated_inode);
fs/namei.c
5751
if (!error)
fs/namei.c
5752
error = dir->i_op->link(old_dentry, dir, new_dentry);
fs/namei.c
5755
if (!error && (inode_state_read_once(inode) & I_LINKABLE)) {
fs/namei.c
5761
if (!error)
fs/namei.c
5763
return error;
fs/namei.c
5784
int error;
fs/namei.c
5800
error = filename_lookup(olddfd, old, how, &old_path, NULL);
fs/namei.c
5801
if (error)
fs/namei.c
5802
return error;
fs/namei.c
5806
error = PTR_ERR(new_dentry);
fs/namei.c
5810
error = -EXDEV;
fs/namei.c
5814
error = may_linkat(idmap, &old_path);
fs/namei.c
5815
if (unlikely(error))
fs/namei.c
5817
error = security_path_link(old_path.dentry, &new_path, new_dentry);
fs/namei.c
5818
if (error)
fs/namei.c
5820
error = vfs_link(old_path.dentry, idmap, new_path.dentry->d_inode,
fs/namei.c
5825
error = break_deleg_wait(&delegated_inode);
fs/namei.c
5826
if (!error) {
fs/namei.c
5831
if (retry_estale(error, how)) {
fs/namei.c
5838
return error;
fs/namei.c
5904
int error;
fs/namei.c
5922
error = may_delete_dentry(rd->mnt_idmap, old_dir, old_dentry, is_dir);
fs/namei.c
5923
if (error)
fs/namei.c
5924
return error;
fs/namei.c
5927
error = may_create_dentry(rd->mnt_idmap, new_dir, new_dentry);
fs/namei.c
5932
error = may_delete_dentry(rd->mnt_idmap, new_dir,
fs/namei.c
5935
error = may_delete_dentry(rd->mnt_idmap, new_dir,
fs/namei.c
5938
if (error)
fs/namei.c
5939
return error;
fs/namei.c
5950
error = inode_permission(rd->mnt_idmap, source,
fs/namei.c
5952
if (error)
fs/namei.c
5953
return error;
fs/namei.c
5956
error = inode_permission(rd->mnt_idmap, target,
fs/namei.c
5958
if (error)
fs/namei.c
5959
return error;
fs/namei.c
5963
error = security_inode_rename(old_dir, old_dentry, new_dir, new_dentry,
fs/namei.c
5965
if (error)
fs/namei.c
5966
return error;
fs/namei.c
5998
error = -EPERM;
fs/namei.c
6002
error = -EBUSY;
fs/namei.c
6007
error = -EMLINK;
fs/namei.c
6014
error = try_break_deleg(old_dir, delegated_inode);
fs/namei.c
6015
if (error)
fs/namei.c
6018
error = try_break_deleg(new_dir, delegated_inode);
fs/namei.c
6019
if (error)
fs/namei.c
6023
error = try_break_deleg(source, delegated_inode);
fs/namei.c
6024
if (error)
fs/namei.c
6028
error = try_break_deleg(target, delegated_inode);
fs/namei.c
6029
if (error)
fs/namei.c
6032
error = old_dir->i_op->rename(rd->mnt_idmap, old_dir, old_dentry,
fs/namei.c
6034
if (error)
fs/namei.c
6057
if (!error) {
fs/namei.c
6067
return error;
fs/namei.c
6081
int error;
fs/namei.c
6091
error = filename_parentat(olddfd, from, lookup_flags, &old_path,
fs/namei.c
6093
if (error)
fs/namei.c
6094
return error;
fs/namei.c
6096
error = filename_parentat(newdfd, to, lookup_flags, &new_path, &new_last,
fs/namei.c
6098
if (error)
fs/namei.c
6101
error = -EXDEV;
fs/namei.c
6105
error = -EBUSY;
fs/namei.c
6110
error = -EEXIST;
fs/namei.c
6114
error = mnt_want_write(old_path.mnt);
fs/namei.c
6115
if (error)
fs/namei.c
6125
error = __start_renaming(&rd, lookup_flags, &old_last, &new_last);
fs/namei.c
6126
if (error)
fs/namei.c
6131
error = -ENOTDIR;
fs/namei.c
6138
error = -ENOTDIR;
fs/namei.c
6145
error = security_path_rename(&old_path, rd.old_dentry,
fs/namei.c
6147
if (error)
fs/namei.c
6150
error = vfs_rename(&rd);
fs/namei.c
6155
error = break_deleg_wait(&delegated_inode);
fs/namei.c
6156
if (!error)
fs/namei.c
6161
if (retry_estale(error, lookup_flags))
fs/namei.c
6171
return error;
fs/namespace.c
3764
int error;
fs/namespace.c
3770
error = security_sb_kern_mount(sb);
fs/namespace.c
3771
if (unlikely(error))
fs/namespace.c
3772
return error;
fs/namespace.c
3782
error = do_add_mount(real_mount(mnt), &mp, mnt_flags);
fs/namespace.c
3783
if (!error)
fs/namespace.c
3785
return error;
fs/namespace.c
4634
int error;
fs/namespace.c
4639
error = security_sb_pivotroot(old, new);
fs/namespace.c
4640
if (error)
fs/namespace.c
4641
return error;
fs/namespace.c
4731
int error;
fs/namespace.c
4733
error = user_path_at(AT_FDCWD, new_root,
fs/namespace.c
4735
if (error)
fs/namespace.c
4736
return error;
fs/namespace.c
4738
error = user_path_at(AT_FDCWD, put_old,
fs/namespace.c
4740
if (error)
fs/namespace.c
4741
return error;
fs/netfs/buffered_read.c
201
subreq->error = 0;
fs/netfs/buffered_read.c
264
subreq->error = ret;
fs/netfs/buffered_read.c
298
subreq->error = ret;
fs/netfs/buffered_read.c
320
cmpxchg(&rreq->error, 0, ret);
fs/netfs/buffered_read.c
644
goto error;
fs/netfs/buffered_read.c
668
goto error;
fs/netfs/buffered_read.c
688
goto error;
fs/netfs/buffered_read.c
694
goto error;
fs/netfs/buffered_read.c
702
error:
fs/netfs/buffered_read.c
733
goto error;
fs/netfs/buffered_read.c
757
error:
fs/netfs/direct_write.c
118
netfs_write_subrequest_terminated(subreq, subreq->error);
fs/netfs/direct_write.c
119
wreq->error = subreq->error;
fs/netfs/direct_write.c
142
ret = subreq->error;
fs/netfs/direct_write.c
143
wreq->error = ret;
fs/netfs/direct_write.c
167
subreq->error = -EAGAIN;
fs/netfs/direct_write.c
24
if (!wreq->error)
fs/netfs/direct_write.c
299
ret = wreq->transferred ?: wreq->error;
fs/netfs/direct_write.c
54
wreq->iocb->ki_complete(wreq->iocb, wreq->error ?: written);
fs/netfs/fscache_proc.c
24
goto error;
fs/netfs/fscache_proc.c
28
goto error;
fs/netfs/fscache_proc.c
32
goto error;
fs/netfs/fscache_proc.c
35
error:
fs/netfs/main.c
74
rreq->error,
fs/netfs/misc.c
467
ret = rreq->error;
fs/netfs/read_collect.c
237
front->error == 0 &&
fs/netfs/read_collect.c
272
stream->error = front->error;
fs/netfs/read_collect.c
273
rreq->error = front->error;
fs/netfs/read_collect.c
363
rreq->iocb, rreq->error ? rreq->error : rreq->transferred);
fs/netfs/read_collect.c
380
if (!rreq->error && stream->source == NETFS_DOWNLOAD_FROM_SERVER &&
fs/netfs/read_collect.c
391
rreq->iocb, rreq->error ? rreq->error : rreq->transferred);
fs/netfs/read_collect.c
532
if (!subreq->error && subreq->transferred < subreq->len) {
fs/netfs/read_collect.c
544
subreq->error = -ENODATA;
fs/netfs/read_collect.c
558
if (unlikely(subreq->error < 0)) {
fs/netfs/read_collect.c
559
trace_netfs_failure(rreq, subreq, subreq->error, netfs_fail_read);
fs/netfs/read_collect.c
586
subreq->error = 0;
fs/netfs/read_collect.c
592
subreq->error = transferred_or_error;
fs/netfs/read_retry.c
15
subreq->error = 0;
fs/netfs/read_retry.c
252
subreq->error = -ENOMEM;
fs/netfs/write_collect.c
263
stream->error = front->error;
fs/netfs/write_collect.c
265
mapping_set_error(wreq->mapping, front->error);
fs/netfs/write_collect.c
28
rreq->origin, rreq->error);
fs/netfs/write_collect.c
39
s->stream_nr, s->source, s->error,
fs/netfs/write_collect.c
412
wreq->iocb, wreq->error ? wreq->error : written);
fs/netfs/write_collect.c
473
subreq->error = transferred_or_error;
fs/netfs/write_collect.c
499
subreq->error = 0;
fs/netfs/write_issue.c
234
return netfs_write_subrequest_terminated(subreq, subreq->error);
fs/netfs/write_issue.c
252
subreq->error = 0;
fs/netfs/write_issue.c
47
int error = 0;
fs/netfs/write_issue.c
556
int error = 0;
fs/netfs/write_issue.c
568
folio = writeback_iter(mapping, wbc, NULL, &error);
fs/netfs/write_issue.c
574
error = PTR_ERR(wreq);
fs/netfs/write_issue.c
594
error = netfs_write_folio(wreq, wbc, folio);
fs/netfs/write_issue.c
595
if (error < 0)
fs/netfs/write_issue.c
597
} while ((folio = writeback_iter(mapping, wbc, folio, &error)));
fs/netfs/write_issue.c
605
_leave(" = %d", error);
fs/netfs/write_issue.c
606
return error;
fs/netfs/write_issue.c
612
_leave(" = %d", error);
fs/netfs/write_issue.c
613
return error;
fs/netfs/write_issue.c
84
} while ((folio = writeback_iter(mapping, wbc, folio, &error)));
fs/nfs/blocklayout/blocklayout.c
615
int error;
fs/nfs/blocklayout/blocklayout.c
632
error = PTR_ERR(be->be_device);
fs/nfs/blocklayout/blocklayout.c
640
error = -EIO;
fs/nfs/blocklayout/blocklayout.c
649
error = verify_extent(be, lv);
fs/nfs/blocklayout/blocklayout.c
650
if (error) {
fs/nfs/blocklayout/blocklayout.c
662
return error;
fs/nfs/blocklayout/dev.c
392
int error;
fs/nfs/blocklayout/dev.c
421
error = -ENODEV;
fs/nfs/blocklayout/dev.c
429
error = -EINVAL;
fs/nfs/blocklayout/dev.c
437
return error;
fs/nfs/callback.h
173
uint32_t error;
fs/nfs/callback_proc.c
704
cp_state->error = args->error;
fs/nfs/callback_proc.c
705
if (!args->error) {
fs/nfs/callback_proc.c
751
args->wr_count, args->error,
fs/nfs/callback_xdr.c
569
args->error = ntohl(*p++);
fs/nfs/callback_xdr.c
570
if (!args->error) {
fs/nfs/client.c
1141
int error;
fs/nfs/client.c
1149
error = -ENOMEM;
fs/nfs/client.c
1152
goto error;
fs/nfs/client.c
1155
error = nfs_init_server(server, fc);
fs/nfs/client.c
1156
if (error < 0)
fs/nfs/client.c
1157
goto error;
fs/nfs/client.c
1160
error = nfs_probe_fsinfo(server, ctx->mntfh, fattr);
fs/nfs/client.c
1161
if (error < 0)
fs/nfs/client.c
1162
goto error;
fs/nfs/client.c
1176
error = ctx->nfs_mod->rpc_ops->getattr(server, ctx->mntfh,
fs/nfs/client.c
1178
if (error < 0) {
fs/nfs/client.c
1179
dprintk("nfs_create_server: getattr error = %d\n", -error);
fs/nfs/client.c
1180
goto error;
fs/nfs/client.c
1194
error:
fs/nfs/client.c
1197
return ERR_PTR(error);
fs/nfs/client.c
1210
int error;
fs/nfs/client.c
1231
error = nfs_init_server_rpcclient(server,
fs/nfs/client.c
1234
if (error < 0)
fs/nfs/client.c
1240
error = nfs_probe_server(server, fh);
fs/nfs/client.c
1241
if (error < 0)
fs/nfs/client.c
1247
error = nfs_start_lockd(server);
fs/nfs/client.c
1248
if (error < 0)
fs/nfs/client.c
1258
return ERR_PTR(error);
fs/nfs/client.c
294
int error;
fs/nfs/client.c
307
error = nfs_wait_client_init_complete(clp);
fs/nfs/client.c
310
if (error < 0)
fs/nfs/client.c
311
return ERR_PTR(error);
fs/nfs/client.c
398
int error;
fs/nfs/client.c
400
error = nfs_wait_client_init_complete(clp);
fs/nfs/client.c
401
if (error < 0) {
fs/nfs/client.c
407
error = clp->cl_cons_state;
fs/nfs/client.c
409
return ERR_PTR(error);
fs/nfs/client.c
673
int error;
fs/nfs/client.c
683
error = nfs_create_rpc_client(clp, cl_init, RPC_AUTH_UNIX);
fs/nfs/client.c
684
nfs_mark_client_ready(clp, error == 0 ? NFS_CS_READY : error);
fs/nfs/client.c
685
if (error < 0) {
fs/nfs/client.c
687
clp = ERR_PTR(error);
fs/nfs/client.c
753
int error;
fs/nfs/client.c
806
error = nfs_start_lockd(server);
fs/nfs/client.c
807
if (error < 0)
fs/nfs/client.c
808
goto error;
fs/nfs/client.c
813
error = nfs_init_server_rpcclient(server, &timeparms,
fs/nfs/client.c
815
if (error < 0)
fs/nfs/client.c
816
goto error;
fs/nfs/client.c
833
error:
fs/nfs/client.c
836
return error;
fs/nfs/client.c
919
int error;
fs/nfs/client.c
922
error = clp->rpc_ops->set_capabilities(server, mntfh);
fs/nfs/client.c
923
if (error < 0)
fs/nfs/client.c
924
return error;
fs/nfs/client.c
930
error = clp->rpc_ops->fsinfo(server, mntfh, &fsinfo);
fs/nfs/client.c
931
if (error < 0)
fs/nfs/client.c
932
return error;
fs/nfs/client.c
950
error = clp->rpc_ops->discover_trunking(server, mntfh);
fs/nfs/client.c
951
if (error < 0)
fs/nfs/client.c
952
return error;
fs/nfs/client.c
967
int error;
fs/nfs/client.c
975
error = nfs_probe_fsinfo(server, mntfh, fattr);
fs/nfs/client.c
978
return error;
fs/nfs/dir.c
1671
struct inode *inode, int error)
fs/nfs/dir.c
1673
switch (error) {
fs/nfs/dir.c
1679
error = 1;
fs/nfs/dir.c
1683
error = 0;
fs/nfs/dir.c
1693
error = 1;
fs/nfs/dir.c
1696
trace_nfs_lookup_revalidate_exit(dir, dentry, 0, error);
fs/nfs/dir.c
1697
return error;
fs/nfs/dir.c
1785
int error = 0;
fs/nfs/dir.c
1809
error = nfs_lookup_verify_inode(inode, flags);
fs/nfs/dir.c
1810
if (error) {
fs/nfs/dir.c
1811
if (error == -ESTALE)
fs/nfs/dir.c
1830
return nfs_lookup_revalidate_done(dir, dentry, inode, error);
fs/nfs/dir.c
1889
int error = 0;
fs/nfs/dir.c
1908
error = nfs_lookup_verify_inode(inode, flags);
fs/nfs/dir.c
1910
__func__, inode->i_ino, error ? "invalid" : "valid");
fs/nfs/dir.c
1911
return !error;
fs/nfs/dir.c
1997
int error;
fs/nfs/dir.c
2020
error = NFS_PROTO(dir)->lookup(dir, dentry, &dentry->d_name,
fs/nfs/dir.c
2022
if (error == -ENOENT) {
fs/nfs/dir.c
2027
if (error < 0) {
fs/nfs/dir.c
2028
res = ERR_PTR(error);
fs/nfs/dir.c
2313
int error = 0;
fs/nfs/dir.c
2319
error = nfs_do_create(dir, dentry, mode, open_flags);
fs/nfs/dir.c
2320
if (!error) {
fs/nfs/dir.c
2323
} else if (error != -EEXIST || open_flags & O_EXCL)
fs/nfs/dir.c
2324
return error;
fs/nfs/dir.c
2346
int error;
fs/nfs/dir.c
2351
error = NFS_PROTO(dir)->lookup(dir, dentry, &dentry->d_name,
fs/nfs/dir.c
2353
if (error)
fs/nfs/dir.c
2359
error = server->nfs_client->rpc_ops->getattr(server, fhandle,
fs/nfs/dir.c
2361
if (error < 0)
fs/nfs/dir.c
2370
d = ERR_PTR(error);
fs/nfs/dir.c
2403
int error;
fs/nfs/dir.c
2418
error = NFS_PROTO(dir)->create(dir, dentry, &attr, open_flags);
fs/nfs/dir.c
2419
trace_nfs_create_exit(dir, dentry, open_flags, error);
fs/nfs/dir.c
2420
if (error != 0)
fs/nfs/dir.c
2425
return error;
fs/nfs/dir.c
2492
struct dentry *dentry, int error)
fs/nfs/dir.c
2494
switch (error) {
fs/nfs/dir.c
2508
int error;
fs/nfs/dir.c
2516
error = NFS_PROTO(dir)->rmdir(dir, &dentry->d_name);
fs/nfs/dir.c
2518
switch (error) {
fs/nfs/dir.c
2527
error = NFS_PROTO(dir)->rmdir(dir, &dentry->d_name);
fs/nfs/dir.c
2528
nfs_dentry_remove_handle_error(dir, dentry, error);
fs/nfs/dir.c
2529
trace_nfs_rmdir_exit(dir, dentry, error);
fs/nfs/dir.c
2531
return error;
fs/nfs/dir.c
2546
int error = -EBUSY;
fs/nfs/dir.c
2552
error = 0;
fs/nfs/dir.c
2560
error = NFS_PROTO(dir)->remove(dir, dentry);
fs/nfs/dir.c
2561
if (error == 0)
fs/nfs/dir.c
2564
error = NFS_PROTO(dir)->remove(dir, dentry);
fs/nfs/dir.c
2565
if (error == -ENOENT)
fs/nfs/dir.c
2567
trace_nfs_remove_exit(dir, dentry, error);
fs/nfs/dir.c
2569
return error;
fs/nfs/dir.c
2579
int error;
fs/nfs/dir.c
2591
error = nfs_sillyrename(dir, dentry);
fs/nfs/dir.c
2599
error = -ETXTBSY;
fs/nfs/dir.c
2608
error = nfs_safe_remove(dentry);
fs/nfs/dir.c
2609
nfs_dentry_remove_handle_error(dir, dentry, error);
fs/nfs/dir.c
2612
trace_nfs_unlink_exit(dir, dentry, error);
fs/nfs/dir.c
2613
return error;
fs/nfs/dir.c
2639
int error;
fs/nfs/dir.c
2660
error = NFS_PROTO(dir)->symlink(dir, dentry, folio, pathlen, &attr);
fs/nfs/dir.c
2661
trace_nfs_symlink_exit(dir, dentry, error);
fs/nfs/dir.c
2662
if (error != 0) {
fs/nfs/dir.c
2665
dentry, symname, error);
fs/nfs/dir.c
2668
return error;
fs/nfs/dir.c
2692
int error;
fs/nfs/dir.c
2701
error = NFS_PROTO(dir)->link(inode, dir, &dentry->d_name);
fs/nfs/dir.c
2702
if (error == 0) {
fs/nfs/dir.c
2707
trace_nfs_link_exit(inode, dir, dentry, error);
fs/nfs/dir.c
2708
return error;
fs/nfs/dir.c
2766
int error = -EBUSY;
fs/nfs/dir.c
2788
error = -ETXTBSY;
fs/nfs/dir.c
2829
error = PTR_ERR(task);
fs/nfs/dir.c
2833
error = rpc_wait_for_completion_task(task);
fs/nfs/dir.c
2834
if (error != 0) {
fs/nfs/dir.c
2839
error = task->tk_status;
fs/nfs/dir.c
2842
if (error == 0) {
fs/nfs/dir.c
2852
new_dir, new_dentry, error);
fs/nfs/dir.c
2853
if (!error) {
fs/nfs/dir.c
2865
} else if (error == -ENOENT)
fs/nfs/dir.c
2871
return error;
fs/nfs/dir.c
601
int error;
fs/nfs/dir.c
607
error = NFS_PROTO(inode)->readdir(&arg, &res);
fs/nfs/dir.c
608
if (error < 0) {
fs/nfs/dir.c
610
if (error == -ENOTSUPP && desc->plus) {
fs/nfs/dir.c
615
goto error;
fs/nfs/dir.c
619
error:
fs/nfs/dir.c
620
return error;
fs/nfs/dir.c
627
int error;
fs/nfs/dir.c
629
error = NFS_PROTO(inode)->decode_dirent(xdr, entry, desc->plus);
fs/nfs/dir.c
630
if (error)
fs/nfs/dir.c
631
return error;
fs/nfs/direct.c
100
dreq->error = hdr->error;
fs/nfs/direct.c
246
result = dreq->error;
fs/nfs/direct.c
263
long res = (long) dreq->error;
fs/nfs/direct.c
309
static void nfs_read_sync_pgio_error(struct list_head *head, int error)
fs/nfs/direct.c
589
if (dreq->error < 0) {
fs/nfs/direct.c
590
desc.pg_error = dreq->error;
fs/nfs/direct.c
595
dreq->error = desc.pg_error;
fs/nfs/direct.c
636
dreq->error = status;
fs/nfs/direct.c
639
status = dreq->error;
fs/nfs/direct.c
811
static void nfs_write_sync_pgio_error(struct list_head *head, int error)
fs/nfs/direct.c
832
if (dreq->error == 0)
fs/nfs/direct.c
99
if (test_bit(NFS_IOHDR_ERROR, &hdr->flags) && !dreq->error)
fs/nfs/file.c
704
int error;
fs/nfs/file.c
732
error = nfs_start_io_write(inode);
fs/nfs/file.c
733
if (error)
fs/nfs/file.c
734
return error;
fs/nfs/file.c
763
error = filemap_check_wb_err(file->f_mapping, since);
fs/nfs/file.c
764
switch (error) {
fs/nfs/file.c
771
error = file_check_and_advance_wb_err(file);
fs/nfs/file.c
772
if (error < 0)
fs/nfs/file.c
773
result = error;
fs/nfs/flexfilelayout/flexfilelayout.c
1499
u32 *op_status, int opnum, int error)
fs/nfs/flexfilelayout/flexfilelayout.c
1506
switch (error) {
fs/nfs/fs_context.c
562
int error = 0;
fs/nfs/fs_context.c
571
error = -EKEYREVOKED;
fs/nfs/fs_context.c
575
return error;
fs/nfs/fscache.c
318
sreq->error = -ENOMEM;
fs/nfs/fscache.c
328
netfs->error = err;
fs/nfs/fscache.c
374
if (hdr->error)
fs/nfs/fscache.c
375
netfs->error = hdr->error;
fs/nfs/fscache.h
53
int error;
fs/nfs/fscache.h
77
netfs->sreq->error = netfs->error;
fs/nfs/getroot.c
102
error = nfs_superblock_set_dummy_root(s, inode);
fs/nfs/getroot.c
103
if (error != 0)
fs/nfs/getroot.c
113
error = PTR_ERR(root);
fs/nfs/getroot.c
131
error = -ESTALE;
fs/nfs/getroot.c
135
error = security_sb_clone_mnt_opts(ctx->clone_data.sb,
fs/nfs/getroot.c
137
if (error)
fs/nfs/getroot.c
142
error = security_sb_set_mnt_opts(s, fc->security,
fs/nfs/getroot.c
145
if (error)
fs/nfs/getroot.c
152
error = 0;
fs/nfs/getroot.c
159
return error;
fs/nfs/getroot.c
75
int error = -ENOMEM;
fs/nfs/getroot.c
87
error = server->nfs_client->rpc_ops->getroot(server, ctx->mntfh, &fsinfo);
fs/nfs/getroot.c
88
if (error < 0) {
fs/nfs/getroot.c
89
dprintk("nfs_get_root: getattr error = %d\n", -error);
fs/nfs/getroot.c
97
error = PTR_ERR(inode);
fs/nfs/inode.c
1225
ctx->error = 0;
fs/nfs/inode.c
1343
if (ctx->error < 0)
fs/nfs/inode.c
361
int error;
fs/nfs/inode.c
367
error = security_inode_notifysecctx(inode, fattr->label->label,
fs/nfs/inode.c
369
if (error)
fs/nfs/inode.c
374
fattr->label->len, error);
fs/nfs/inode.c
716
int error = 0;
fs/nfs/inode.c
733
error = inode_newsize_ok(inode, attr->ia_size);
fs/nfs/inode.c
734
if (error)
fs/nfs/inode.c
735
return error;
fs/nfs/inode.c
785
error = -ENOMEM;
fs/nfs/inode.c
789
error = NFS_PROTO(inode)->setattr(dentry, fattr, attr);
fs/nfs/inode.c
790
if (error == 0) {
fs/nfs/inode.c
794
error = nfs_refresh_inode(inode, fattr);
fs/nfs/inode.c
798
trace_nfs_setattr_exit(inode, error);
fs/nfs/inode.c
799
return error;
fs/nfs/internal.h
302
void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos);
fs/nfs/internal.h
990
error; /* any reported error */
fs/nfs/nfs2xdr.c
1039
int error;
fs/nfs/nfs2xdr.c
1041
error = decode_stat(xdr, &status);
fs/nfs/nfs2xdr.c
1042
if (unlikely(error))
fs/nfs/nfs2xdr.c
1046
error = decode_info(xdr, result);
fs/nfs/nfs2xdr.c
1048
return error;
fs/nfs/nfs2xdr.c
466
int error;
fs/nfs/nfs2xdr.c
468
error = decode_stat(xdr, &status);
fs/nfs/nfs2xdr.c
469
if (unlikely(error))
fs/nfs/nfs2xdr.c
475
error = decode_fattr(xdr, result, userns);
fs/nfs/nfs2xdr.c
477
return error;
fs/nfs/nfs2xdr.c
513
int error;
fs/nfs/nfs2xdr.c
515
error = decode_fhandle(xdr, result->fh);
fs/nfs/nfs2xdr.c
516
if (unlikely(error))
fs/nfs/nfs2xdr.c
518
error = decode_fattr(xdr, result->fattr, userns);
fs/nfs/nfs2xdr.c
520
return error;
fs/nfs/nfs2xdr.c
527
int error;
fs/nfs/nfs2xdr.c
529
error = decode_stat(xdr, &status);
fs/nfs/nfs2xdr.c
530
if (unlikely(error))
fs/nfs/nfs2xdr.c
534
error = decode_diropok(xdr, result, userns);
fs/nfs/nfs2xdr.c
536
return error;
fs/nfs/nfs2xdr.c
801
int error;
fs/nfs/nfs2xdr.c
803
error = decode_stat(xdr, &status);
fs/nfs/nfs2xdr.c
804
if (unlikely(error))
fs/nfs/nfs2xdr.c
809
return error;
fs/nfs/nfs2xdr.c
840
int error;
fs/nfs/nfs2xdr.c
842
error = decode_stat(xdr, &status);
fs/nfs/nfs2xdr.c
843
if (unlikely(error))
fs/nfs/nfs2xdr.c
847
error = decode_path(xdr);
fs/nfs/nfs2xdr.c
849
return error;
fs/nfs/nfs2xdr.c
870
int error;
fs/nfs/nfs2xdr.c
872
error = decode_stat(xdr, &status);
fs/nfs/nfs2xdr.c
873
if (unlikely(error))
fs/nfs/nfs2xdr.c
878
error = decode_fattr(xdr, result->fattr, rpc_rqst_userns(req));
fs/nfs/nfs2xdr.c
879
if (unlikely(error))
fs/nfs/nfs2xdr.c
881
error = decode_nfsdata(xdr, result);
fs/nfs/nfs2xdr.c
883
return error;
fs/nfs/nfs2xdr.c
926
int error;
fs/nfs/nfs2xdr.c
946
error = decode_filename_inline(xdr, &entry->name, &entry->len);
fs/nfs/nfs2xdr.c
947
if (unlikely(error))
fs/nfs/nfs2xdr.c
948
return error == -ENAMETOOLONG ? -ENAMETOOLONG : -EAGAIN;
fs/nfs/nfs2xdr.c
990
int error;
fs/nfs/nfs2xdr.c
992
error = decode_stat(xdr, &status);
fs/nfs/nfs2xdr.c
993
if (unlikely(error))
fs/nfs/nfs2xdr.c
997
error = decode_readdirok(xdr);
fs/nfs/nfs2xdr.c
999
return error;
fs/nfs/nfs3acl.c
331
int error;
fs/nfs/nfs3acl.c
333
error = nfs3_list_one_acl(inode, ACL_TYPE_ACCESS,
fs/nfs/nfs3acl.c
335
if (error)
fs/nfs/nfs3acl.c
336
return error;
fs/nfs/nfs3acl.c
338
error = nfs3_list_one_acl(inode, ACL_TYPE_DEFAULT,
fs/nfs/nfs3acl.c
340
if (error)
fs/nfs/nfs3acl.c
341
return error;
fs/nfs/nfs3xdr.c
1344
int error;
fs/nfs/nfs3xdr.c
1355
error = nfsacl_encode(xdr->buf, base, args->inode,
fs/nfs/nfs3xdr.c
1359
BUG_ON(error < 0);
fs/nfs/nfs3xdr.c
1360
error = nfsacl_encode(xdr->buf, base + error, args->inode,
fs/nfs/nfs3xdr.c
1364
BUG_ON(error < 0);
fs/nfs/nfs3xdr.c
1395
int error;
fs/nfs/nfs3xdr.c
1397
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
1398
if (unlikely(error))
fs/nfs/nfs3xdr.c
1402
error = decode_fattr3(xdr, result, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
1404
return error;
fs/nfs/nfs3xdr.c
1432
int error;
fs/nfs/nfs3xdr.c
1434
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
1435
if (unlikely(error))
fs/nfs/nfs3xdr.c
1437
error = decode_wcc_data(xdr, result, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
1438
if (unlikely(error))
fs/nfs/nfs3xdr.c
1443
return error;
fs/nfs/nfs3xdr.c
1475
int error;
fs/nfs/nfs3xdr.c
1477
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
1478
if (unlikely(error))
fs/nfs/nfs3xdr.c
1482
error = decode_nfs_fh3(xdr, result->fh);
fs/nfs/nfs3xdr.c
1483
if (unlikely(error))
fs/nfs/nfs3xdr.c
1485
error = decode_post_op_attr(xdr, result->fattr, userns);
fs/nfs/nfs3xdr.c
1486
if (unlikely(error))
fs/nfs/nfs3xdr.c
1488
error = decode_post_op_attr(xdr, result->dir_attr, userns);
fs/nfs/nfs3xdr.c
1490
return error;
fs/nfs/nfs3xdr.c
1492
error = decode_post_op_attr(xdr, result->dir_attr, userns);
fs/nfs/nfs3xdr.c
1493
if (unlikely(error))
fs/nfs/nfs3xdr.c
1523
int error;
fs/nfs/nfs3xdr.c
1525
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
1526
if (unlikely(error))
fs/nfs/nfs3xdr.c
1528
error = decode_post_op_attr(xdr, result->fattr, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
1529
if (unlikely(error))
fs/nfs/nfs3xdr.c
1533
error = decode_uint32(xdr, &result->access);
fs/nfs/nfs3xdr.c
1535
return error;
fs/nfs/nfs3xdr.c
1564
int error;
fs/nfs/nfs3xdr.c
1566
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
1567
if (unlikely(error))
fs/nfs/nfs3xdr.c
1569
error = decode_post_op_attr(xdr, result, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
1570
if (unlikely(error))
fs/nfs/nfs3xdr.c
1574
error = decode_nfspath3(xdr);
fs/nfs/nfs3xdr.c
1576
return error;
fs/nfs/nfs3xdr.c
1641
int error;
fs/nfs/nfs3xdr.c
1644
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
1645
if (unlikely(error))
fs/nfs/nfs3xdr.c
1647
error = decode_post_op_attr(xdr, result->fattr, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
1648
if (unlikely(error))
fs/nfs/nfs3xdr.c
1654
error = decode_read3resok(xdr, result);
fs/nfs/nfs3xdr.c
1656
return error;
fs/nfs/nfs3xdr.c
1713
int error;
fs/nfs/nfs3xdr.c
1715
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
1716
if (unlikely(error))
fs/nfs/nfs3xdr.c
1718
error = decode_wcc_data(xdr, result->fattr, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
1719
if (unlikely(error))
fs/nfs/nfs3xdr.c
1724
error = decode_write3resok(xdr, result);
fs/nfs/nfs3xdr.c
1726
return error;
fs/nfs/nfs3xdr.c
1755
int error;
fs/nfs/nfs3xdr.c
1757
error = decode_post_op_fh3(xdr, result->fh);
fs/nfs/nfs3xdr.c
1758
if (unlikely(error))
fs/nfs/nfs3xdr.c
1760
error = decode_post_op_attr(xdr, result->fattr, userns);
fs/nfs/nfs3xdr.c
1761
if (unlikely(error))
fs/nfs/nfs3xdr.c
1769
error = decode_wcc_data(xdr, result->dir_attr, userns);
fs/nfs/nfs3xdr.c
1771
return error;
fs/nfs/nfs3xdr.c
1781
int error;
fs/nfs/nfs3xdr.c
1783
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
1784
if (unlikely(error))
fs/nfs/nfs3xdr.c
1788
error = decode_create3resok(xdr, result, userns);
fs/nfs/nfs3xdr.c
1790
return error;
fs/nfs/nfs3xdr.c
1792
error = decode_wcc_data(xdr, result->dir_attr, userns);
fs/nfs/nfs3xdr.c
1793
if (unlikely(error))
fs/nfs/nfs3xdr.c
1822
int error;
fs/nfs/nfs3xdr.c
1824
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
1825
if (unlikely(error))
fs/nfs/nfs3xdr.c
1827
error = decode_wcc_data(xdr, result->dir_attr, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
1828
if (unlikely(error))
fs/nfs/nfs3xdr.c
1833
return error;
fs/nfs/nfs3xdr.c
1865
int error;
fs/nfs/nfs3xdr.c
1867
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
1868
if (unlikely(error))
fs/nfs/nfs3xdr.c
1870
error = decode_wcc_data(xdr, result->old_fattr, userns);
fs/nfs/nfs3xdr.c
1871
if (unlikely(error))
fs/nfs/nfs3xdr.c
1873
error = decode_wcc_data(xdr, result->new_fattr, userns);
fs/nfs/nfs3xdr.c
1874
if (unlikely(error))
fs/nfs/nfs3xdr.c
1879
return error;
fs/nfs/nfs3xdr.c
1910
int error;
fs/nfs/nfs3xdr.c
1912
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
1913
if (unlikely(error))
fs/nfs/nfs3xdr.c
1915
error = decode_post_op_attr(xdr, result->fattr, userns);
fs/nfs/nfs3xdr.c
1916
if (unlikely(error))
fs/nfs/nfs3xdr.c
1918
error = decode_wcc_data(xdr, result->dir_attr, userns);
fs/nfs/nfs3xdr.c
1919
if (unlikely(error))
fs/nfs/nfs3xdr.c
1924
return error;
fs/nfs/nfs3xdr.c
1969
int error;
fs/nfs/nfs3xdr.c
1985
error = decode_fileid3(xdr, &entry->ino);
fs/nfs/nfs3xdr.c
1986
if (unlikely(error))
fs/nfs/nfs3xdr.c
1989
error = decode_inline_filename3(xdr, &entry->name, &entry->len);
fs/nfs/nfs3xdr.c
1990
if (unlikely(error))
fs/nfs/nfs3xdr.c
1991
return error == -ENAMETOOLONG ? -ENAMETOOLONG : -EAGAIN;
fs/nfs/nfs3xdr.c
1993
error = decode_cookie3(xdr, &new_cookie);
fs/nfs/nfs3xdr.c
1994
if (unlikely(error))
fs/nfs/nfs3xdr.c
2001
error = decode_post_op_attr(xdr, entry->fattr, userns);
fs/nfs/nfs3xdr.c
2002
if (unlikely(error))
fs/nfs/nfs3xdr.c
2017
error = decode_nfs_fh3(xdr, entry->fh);
fs/nfs/nfs3xdr.c
2018
if (unlikely(error))
fs/nfs/nfs3xdr.c
2067
int error;
fs/nfs/nfs3xdr.c
2069
error = decode_post_op_attr(xdr, result->dir_attr, userns);
fs/nfs/nfs3xdr.c
2070
if (unlikely(error))
fs/nfs/nfs3xdr.c
2073
error = decode_cookieverf3(xdr, result->verf);
fs/nfs/nfs3xdr.c
2074
if (unlikely(error))
fs/nfs/nfs3xdr.c
2076
error = decode_dirlist3(xdr);
fs/nfs/nfs3xdr.c
2078
return error;
fs/nfs/nfs3xdr.c
2087
int error;
fs/nfs/nfs3xdr.c
2089
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
2090
if (unlikely(error))
fs/nfs/nfs3xdr.c
2094
error = decode_readdir3resok(xdr, result, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
2096
return error;
fs/nfs/nfs3xdr.c
2098
error = decode_post_op_attr(xdr, result->dir_attr, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
2099
if (unlikely(error))
fs/nfs/nfs3xdr.c
2153
int error;
fs/nfs/nfs3xdr.c
2155
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
2156
if (unlikely(error))
fs/nfs/nfs3xdr.c
2158
error = decode_post_op_attr(xdr, result->fattr, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
2159
if (unlikely(error))
fs/nfs/nfs3xdr.c
2163
error = decode_fsstat3resok(xdr, result);
fs/nfs/nfs3xdr.c
2165
return error;
fs/nfs/nfs3xdr.c
2229
int error;
fs/nfs/nfs3xdr.c
2231
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
2232
if (unlikely(error))
fs/nfs/nfs3xdr.c
2234
error = decode_post_op_attr(xdr, result->fattr, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
2235
if (unlikely(error))
fs/nfs/nfs3xdr.c
2239
error = decode_fsinfo3resok(xdr, result);
fs/nfs/nfs3xdr.c
2241
return error;
fs/nfs/nfs3xdr.c
2290
int error;
fs/nfs/nfs3xdr.c
2292
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
2293
if (unlikely(error))
fs/nfs/nfs3xdr.c
2295
error = decode_post_op_attr(xdr, result->fattr, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
2296
if (unlikely(error))
fs/nfs/nfs3xdr.c
2300
error = decode_pathconf3resok(xdr, result);
fs/nfs/nfs3xdr.c
2302
return error;
fs/nfs/nfs3xdr.c
2333
int error;
fs/nfs/nfs3xdr.c
2335
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
2336
if (unlikely(error))
fs/nfs/nfs3xdr.c
2338
error = decode_wcc_data(xdr, result->fattr, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
2339
if (unlikely(error))
fs/nfs/nfs3xdr.c
2344
error = decode_writeverf3(xdr, &verf->verifier);
fs/nfs/nfs3xdr.c
2345
if (!error)
fs/nfs/nfs3xdr.c
2348
return error;
fs/nfs/nfs3xdr.c
2362
int error;
fs/nfs/nfs3xdr.c
2364
error = decode_post_op_attr(xdr, result->fattr, userns);
fs/nfs/nfs3xdr.c
2365
if (unlikely(error))
fs/nfs/nfs3xdr.c
2367
error = decode_uint32(xdr, &result->mask);
fs/nfs/nfs3xdr.c
2368
if (unlikely(error))
fs/nfs/nfs3xdr.c
2370
error = -EINVAL;
fs/nfs/nfs3xdr.c
2382
error = nfsacl_decode(xdr->buf, hdrlen, aclcnt, acl);
fs/nfs/nfs3xdr.c
2383
if (unlikely(error <= 0))
fs/nfs/nfs3xdr.c
2392
error = nfsacl_decode(xdr->buf, hdrlen + error, aclcnt, acl);
fs/nfs/nfs3xdr.c
2393
if (unlikely(error <= 0))
fs/nfs/nfs3xdr.c
2394
return error;
fs/nfs/nfs3xdr.c
2395
error = 0;
fs/nfs/nfs3xdr.c
2397
return error;
fs/nfs/nfs3xdr.c
2405
int error;
fs/nfs/nfs3xdr.c
2407
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
2408
if (unlikely(error))
fs/nfs/nfs3xdr.c
2412
error = decode_getacl3resok(xdr, result, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
2414
return error;
fs/nfs/nfs3xdr.c
2424
int error;
fs/nfs/nfs3xdr.c
2426
error = decode_nfsstat3(xdr, &status);
fs/nfs/nfs3xdr.c
2427
if (unlikely(error))
fs/nfs/nfs3xdr.c
2431
error = decode_post_op_attr(xdr, result, rpc_rqst_userns(req));
fs/nfs/nfs3xdr.c
2433
return error;
fs/nfs/nfs3xdr.c
747
int error;
fs/nfs/nfs3xdr.c
749
error = decode_pre_op_attr(xdr, fattr);
fs/nfs/nfs3xdr.c
750
if (unlikely(error))
fs/nfs/nfs3xdr.c
752
error = decode_post_op_attr(xdr, fattr, userns);
fs/nfs/nfs3xdr.c
754
return error;
fs/nfs/nfs42proc.c
294
} else if (copy->flags || copy->error == NFS4ERR_PARTNER_NO_AUTH) {
fs/nfs/nfs42proc.c
303
status = -copy->error;
fs/nfs/nfs42xdr.c
462
const struct nfs42_device_error *error)
fs/nfs/nfs42xdr.c
467
p = xdr_encode_opaque_fixed(p, error->dev_id.data,
fs/nfs/nfs42xdr.c
469
*p++ = cpu_to_be32(error->status);
fs/nfs/nfs42xdr.c
470
*p = cpu_to_be32(error->opnum);
fs/nfs/nfs4client.c
1031
int error;
fs/nfs/nfs4client.c
1042
error = nfs4_init_server(server, fc);
fs/nfs/nfs4client.c
1043
if (error < 0)
fs/nfs/nfs4client.c
1044
goto error;
fs/nfs/nfs4client.c
1046
error = nfs4_server_common_setup(server, ctx->mntfh, auth_probe);
fs/nfs/nfs4client.c
1047
if (error < 0)
fs/nfs/nfs4client.c
1048
goto error;
fs/nfs/nfs4client.c
1052
error:
fs/nfs/nfs4client.c
1054
return ERR_PTR(error);
fs/nfs/nfs4client.c
1079
int error;
fs/nfs/nfs4client.c
1094
error = nfs4_set_client(server, &cl_init);
fs/nfs/nfs4client.c
1095
if (!error)
fs/nfs/nfs4client.c
1103
error = nfs4_set_client(server, &cl_init);
fs/nfs/nfs4client.c
1104
if (error < 0)
fs/nfs/nfs4client.c
1105
goto error;
fs/nfs/nfs4client.c
1110
error = nfs_init_server_rpcclient(server, parent_server->client->cl_timeout,
fs/nfs/nfs4client.c
1112
if (error < 0)
fs/nfs/nfs4client.c
1113
goto error;
fs/nfs/nfs4client.c
1117
error = nfs4_server_common_setup(server, ctx->mntfh, auth_probe);
fs/nfs/nfs4client.c
1118
if (error < 0)
fs/nfs/nfs4client.c
1119
goto error;
fs/nfs/nfs4client.c
1123
error:
fs/nfs/nfs4client.c
1125
return ERR_PTR(error);
fs/nfs/nfs4client.c
1172
int error;
fs/nfs/nfs4client.c
1174
error = rpc_switch_client_transport(clnt, &xargs, clnt->cl_timeout);
fs/nfs/nfs4client.c
1175
if (error != 0)
fs/nfs/nfs4client.c
1176
return error;
fs/nfs/nfs4client.c
1178
error = rpc_localaddr(clnt, localaddr, sizeof(address));
fs/nfs/nfs4client.c
1179
if (error != 0)
fs/nfs/nfs4client.c
1180
return error;
fs/nfs/nfs4client.c
1187
error = nfs4_set_client(server, &cl_init);
fs/nfs/nfs4client.c
1189
if (error != 0) {
fs/nfs/nfs4client.c
1191
return error;
fs/nfs/nfs4client.c
202
goto error;
fs/nfs/nfs4client.c
207
goto error;
fs/nfs/nfs4client.c
237
goto error;
fs/nfs/nfs4client.c
246
goto error;
fs/nfs/nfs4client.c
249
goto error;
fs/nfs/nfs4client.c
258
goto error;
fs/nfs/nfs4client.c
263
error:
fs/nfs/nfs4client.c
310
int error;
fs/nfs/nfs4client.c
315
error = xprt_setup_backchannel(xprt, NFS41_BC_MIN_CALLBACKS);
fs/nfs/nfs4client.c
316
if (error < 0)
fs/nfs/nfs4client.c
317
return error;
fs/nfs/nfs4client.c
320
error = nfs_callback_up(clp->cl_mvops->minor_version, xprt);
fs/nfs/nfs4client.c
321
if (error < 0) {
fs/nfs/nfs4client.c
323
__func__, error);
fs/nfs/nfs4client.c
324
return error;
fs/nfs/nfs4client.c
416
int error;
fs/nfs/nfs4client.c
422
error = nfs4_init_client_minor_version(clp);
fs/nfs/nfs4client.c
423
if (error < 0)
fs/nfs/nfs4client.c
424
goto error;
fs/nfs/nfs4client.c
426
error = nfs4_discover_server_trunking(clp, &old);
fs/nfs/nfs4client.c
427
if (error < 0)
fs/nfs/nfs4client.c
428
goto error;
fs/nfs/nfs4client.c
445
error:
fs/nfs/nfs4client.c
446
nfs_mark_client_ready(clp, error);
fs/nfs/nfs4client.c
448
return ERR_PTR(error);
fs/nfs/nfs4client.c
911
int error;
fs/nfs/nfs4client.c
913
error = nfs4_delegation_hash_alloc(server);
fs/nfs/nfs4client.c
914
if (error)
fs/nfs/nfs4client.c
915
return error;
fs/nfs/nfs4client.c
922
error = nfs4_init_session(server->nfs_client);
fs/nfs/nfs4client.c
923
if (error < 0)
fs/nfs/nfs4client.c
924
return error;
fs/nfs/nfs4client.c
929
error = nfs4_get_rootfh(server, mntfh, auth_probe);
fs/nfs/nfs4client.c
930
if (error < 0)
fs/nfs/nfs4client.c
931
return error;
fs/nfs/nfs4client.c
938
error = nfs_probe_server(server, mntfh);
fs/nfs/nfs4client.c
939
if (error < 0)
fs/nfs/nfs4client.c
940
return error;
fs/nfs/nfs4client.c
974
int error;
fs/nfs/nfs4client.c
993
error = nfs4_set_client(server, &cl_init);
fs/nfs/nfs4client.c
994
if (error < 0)
fs/nfs/nfs4client.c
995
return error;
fs/nfs/nfs4idmap.c
446
int error;
fs/nfs/nfs4idmap.c
461
error = PTR_ERR(pipe);
fs/nfs/nfs4idmap.c
466
error = rpc_add_pipe_dir_object(clp->cl_net,
fs/nfs/nfs4idmap.c
469
if (error)
fs/nfs/nfs4idmap.c
479
return error;
fs/nfs/nfs4namespace.c
372
int loc, error;
fs/nfs/nfs4namespace.c
380
error = nfs4_validate_fspath(ctx->clone_data.dentry, locations, ctx);
fs/nfs/nfs4namespace.c
381
if (error < 0)
fs/nfs/nfs4namespace.c
382
return error;
fs/nfs/nfs4namespace.c
384
error = -ENOENT;
fs/nfs/nfs4namespace.c
392
error = try_location(fc, location);
fs/nfs/nfs4namespace.c
393
if (error == 0)
fs/nfs/nfs4namespace.c
397
return error;
fs/nfs/nfs4namespace.c
491
int error;
fs/nfs/nfs4namespace.c
497
error = -ENOENT;
fs/nfs/nfs4namespace.c
514
error = -ENOMEM;
fs/nfs/nfs4namespace.c
519
error = nfs4_update_server(server, hostname, sap, salen, net);
fs/nfs/nfs4namespace.c
521
if (error == 0)
fs/nfs/nfs4namespace.c
526
return error;
fs/nfs/nfs4namespace.c
545
int loc, error;
fs/nfs/nfs4namespace.c
547
error = -ENOENT;
fs/nfs/nfs4namespace.c
551
error = -ENOMEM;
fs/nfs/nfs4namespace.c
567
error = nfs4_try_replacing_one_location(server, page,
fs/nfs/nfs4namespace.c
569
if (error == 0)
fs/nfs/nfs4namespace.c
576
return error;
fs/nfs/nfs4proc.c
10535
ssize_t error, error2, error3;
fs/nfs/nfs4proc.c
10538
error = generic_listxattr(dentry, list, left);
fs/nfs/nfs4proc.c
10539
if (error < 0)
fs/nfs/nfs4proc.c
10540
return error;
fs/nfs/nfs4proc.c
10542
list += error;
fs/nfs/nfs4proc.c
10543
left -= error;
fs/nfs/nfs4proc.c
10558
error += error2 + error3;
fs/nfs/nfs4proc.c
10559
if (size && error > size)
fs/nfs/nfs4proc.c
10561
return error;
fs/nfs/nfs4proc.c
10615
int error;
fs/nfs/nfs4proc.c
10621
error = nfs4_delegation_hash_alloc(server);
fs/nfs/nfs4proc.c
10622
if (error) {
fs/nfs/nfs4proc.c
10624
return ERR_PTR(error);
fs/nfs/nfs4proc.c
4305
int error;
fs/nfs/nfs4proc.c
4308
error = nfs4_server_capabilities(server, mntfh);
fs/nfs/nfs4proc.c
4309
if (error < 0) {
fs/nfs/nfs4proc.c
4310
dprintk("nfs4_get_root: getcaps error = %d\n", -error);
fs/nfs/nfs4proc.c
4311
return error;
fs/nfs/nfs4proc.c
4314
error = nfs4_proc_getattr(server, mntfh, fattr, NULL);
fs/nfs/nfs4proc.c
4315
if (error < 0) {
fs/nfs/nfs4proc.c
4316
dprintk("nfs4_get_root: getattr error = %d\n", -error);
fs/nfs/nfs4proc.c
4325
return error;
fs/nfs/nfs4proc.c
5500
int error;
fs/nfs/nfs4proc.c
5503
error = nfs4_do_fsinfo(server, fhandle, fsinfo);
fs/nfs/nfs4proc.c
5504
if (error == 0) {
fs/nfs/nfs4proc.c
5510
return error;
fs/nfs/nfs4proc.c
7412
static void nfs4_handle_setlk_error(struct nfs_server *server, struct nfs4_lock_state *lsp, int new_lock_owner, int error)
fs/nfs/nfs4proc.c
7414
switch (error) {
fs/nfs/nfs4state.c
1422
static void nfs4_state_mark_recovery_failed(struct nfs4_state *state, int error)
fs/nfs/nfs4state.c
1425
nfs4_state_mark_open_context_bad(state, error);
fs/nfs/nfs4state.c
1798
static int nfs4_recovery_handle_error(struct nfs_client *clp, int error)
fs/nfs/nfs4state.c
1800
switch (error) {
fs/nfs/nfs4state.c
1833
__func__, error, clp->cl_hostname);
fs/nfs/nfs4state.c
1834
return error;
fs/nfs/nfs4state.c
1836
dprintk("%s: handled error %d for server %s\n", __func__, error,
fs/nfs/nfs4trace.h
1033
int error
fs/nfs/nfs4trace.h
1036
TP_ARGS(args, res, error),
fs/nfs/nfs4trace.h
1041
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1049
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
105
-__entry->error,
fs/nfs/nfs4trace.h
1059
-__entry->error,
fs/nfs/nfs4trace.h
106
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1060
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1071
int error
fs/nfs/nfs4trace.h
1074
TP_ARGS(state, lsp, error),
fs/nfs/nfs4trace.h
1077
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1088
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
1101
-__entry->error,
fs/nfs/nfs4trace.h
1102
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1115
int error \
fs/nfs/nfs4trace.h
1117
TP_ARGS(state, lsp, error))
fs/nfs/nfs4trace.h
1126
int error
fs/nfs/nfs4trace.h
1129
TP_ARGS(dir, name, error),
fs/nfs/nfs4trace.h
1133
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1141
__entry->error = -error;
fs/nfs/nfs4trace.h
1147
-__entry->error,
fs/nfs/nfs4trace.h
1148
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1160
int error \
fs/nfs/nfs4trace.h
1162
TP_ARGS(dir, name, error))
fs/nfs/nfs4trace.h
1175
int error
fs/nfs/nfs4trace.h
1178
TP_ARGS(inode, error),
fs/nfs/nfs4trace.h
1183
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1189
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
1194
-__entry->error,
fs/nfs/nfs4trace.h
1195
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1207
int error
fs/nfs/nfs4trace.h
1210
TP_ARGS(olddir, oldname, newdir, newname, error),
fs/nfs/nfs4trace.h
1214
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1225
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
1233
-__entry->error,
fs/nfs/nfs4trace.h
1234
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1247
int error
fs/nfs/nfs4trace.h
1250
TP_ARGS(inode, error),
fs/nfs/nfs4trace.h
1256
__field(unsigned long, error)
fs/nfs/nfs4trace.h
126
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1263
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
1268
-__entry->error,
fs/nfs/nfs4trace.h
1269
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1280
int error \
fs/nfs/nfs4trace.h
1282
TP_ARGS(inode, error))
fs/nfs/nfs4trace.h
1298
int error
fs/nfs/nfs4trace.h
1301
TP_ARGS(inode, stateid, error),
fs/nfs/nfs4trace.h
1307
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1316
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
1326
-__entry->error,
fs/nfs/nfs4trace.h
1327
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1340
int error \
fs/nfs/nfs4trace.h
1342
TP_ARGS(inode, stateid, error))
fs/nfs/nfs4trace.h
1356
int error
fs/nfs/nfs4trace.h
1359
TP_ARGS(server, fhandle, fattr, error),
fs/nfs/nfs4trace.h
1366
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1374
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
138
__entry->error = res->sr_status < 0 ?
fs/nfs/nfs4trace.h
1380
-__entry->error,
fs/nfs/nfs4trace.h
1381
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1395
int error \
fs/nfs/nfs4trace.h
1397
TP_ARGS(server, fhandle, fattr, error))
fs/nfs/nfs4trace.h
1407
int error
fs/nfs/nfs4trace.h
1410
TP_ARGS(clp, fhandle, inode, error),
fs/nfs/nfs4trace.h
1413
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1421
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
1436
-__entry->error,
fs/nfs/nfs4trace.h
1437
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
145
-__entry->error,
fs/nfs/nfs4trace.h
1451
int error \
fs/nfs/nfs4trace.h
1453
TP_ARGS(clp, fhandle, inode, error))
fs/nfs/nfs4trace.h
146
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1462
int error
fs/nfs/nfs4trace.h
1465
TP_ARGS(clp, fhandle, inode, stateid, error),
fs/nfs/nfs4trace.h
1468
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1478
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
1497
-__entry->error,
fs/nfs/nfs4trace.h
1498
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1514
int error \
fs/nfs/nfs4trace.h
1516
TP_ARGS(clp, fhandle, inode, stateid, error))
fs/nfs/nfs4trace.h
1582
int error
fs/nfs/nfs4trace.h
1585
TP_ARGS(name, len, id, error),
fs/nfs/nfs4trace.h
1588
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1596
__entry->error = error < 0 ? error : 0;
fs/nfs/nfs4trace.h
1604
-__entry->error, show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1615
int error \
fs/nfs/nfs4trace.h
1617
TP_ARGS(name, len, id, error))
fs/nfs/nfs4trace.h
1629
int error
fs/nfs/nfs4trace.h
1632
TP_ARGS(hdr, error),
fs/nfs/nfs4trace.h
1641
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1663
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
1677
-__entry->error,
fs/nfs/nfs4trace.h
1678
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1692
int error \
fs/nfs/nfs4trace.h
1694
TP_ARGS(hdr, error))
fs/nfs/nfs4trace.h
1701
int error
fs/nfs/nfs4trace.h
1704
TP_ARGS(hdr, error),
fs/nfs/nfs4trace.h
1713
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1735
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
174
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1749
-__entry->error,
fs/nfs/nfs4trace.h
1750
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1765
int error \
fs/nfs/nfs4trace.h
1767
TP_ARGS(hdr, error))
fs/nfs/nfs4trace.h
1774
int error
fs/nfs/nfs4trace.h
1777
TP_ARGS(data, error),
fs/nfs/nfs4trace.h
1783
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1802
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
1811
-__entry->error,
fs/nfs/nfs4trace.h
1812
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
1825
int error \
fs/nfs/nfs4trace.h
1827
TP_ARGS(data, error))
fs/nfs/nfs4trace.h
183
__entry->error = be32_to_cpu(status);
fs/nfs/nfs4trace.h
1837
int error
fs/nfs/nfs4trace.h
1840
TP_ARGS(ctx, args, res, layout_stateid, error),
fs/nfs/nfs4trace.h
1849
__field(unsigned long, error)
fs/nfs/nfs4trace.h
1865
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
1870
if (!error) {
fs/nfs/nfs4trace.h
1885
-__entry->error,
fs/nfs/nfs4trace.h
1886
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
189
-__entry->error,
fs/nfs/nfs4trace.h
190
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
211
__field(unsigned long, error)
fs/nfs/nfs4trace.h
2171
int error
fs/nfs/nfs4trace.h
2174
TP_ARGS(hdr, error),
fs/nfs/nfs4trace.h
2177
__field(unsigned long, error)
fs/nfs/nfs4trace.h
2194
__entry->error = -error;
fs/nfs/nfs4trace.h
220
__entry->error = be32_to_cpu(status);
fs/nfs/nfs4trace.h
2212
-__entry->error,
fs/nfs/nfs4trace.h
2213
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
2228
int error \
fs/nfs/nfs4trace.h
2230
TP_ARGS(hdr, error))
fs/nfs/nfs4trace.h
2237
int error
fs/nfs/nfs4trace.h
2240
TP_ARGS(data, error),
fs/nfs/nfs4trace.h
2243
__field(unsigned long, error)
fs/nfs/nfs4trace.h
2258
__entry->error = -error;
fs/nfs/nfs4trace.h
226
-__entry->error,
fs/nfs/nfs4trace.h
227
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
2271
-__entry->error,
fs/nfs/nfs4trace.h
2272
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
2418
int error
fs/nfs/nfs4trace.h
2421
TP_ARGS(inode, args, res, error),
fs/nfs/nfs4trace.h
2424
__field(unsigned long, error)
fs/nfs/nfs4trace.h
2449
if (error) {
fs/nfs/nfs4trace.h
2450
__entry->error = -error;
fs/nfs/nfs4trace.h
2454
__entry->error = 0;
fs/nfs/nfs4trace.h
2464
-__entry->error,
fs/nfs/nfs4trace.h
2465
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
248
__field(unsigned long, error)
fs/nfs/nfs4trace.h
2481
int error
fs/nfs/nfs4trace.h
2484
TP_ARGS(inode, args, error),
fs/nfs/nfs4trace.h
2487
__field(unsigned long, error)
fs/nfs/nfs4trace.h
2498
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
2513
-__entry->error,
fs/nfs/nfs4trace.h
2514
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
2528
int error \
fs/nfs/nfs4trace.h
2530
TP_ARGS(inode, args, error))
fs/nfs/nfs4trace.h
2541
int error
fs/nfs/nfs4trace.h
2544
TP_ARGS(src_inode, dst_inode, args, res, nss, error),
fs/nfs/nfs4trace.h
2547
__field(unsigned long, error)
fs/nfs/nfs4trace.h
257
__entry->error = cb_error < 0 ? -cb_error : 0;
fs/nfs/nfs4trace.h
2593
if (error) {
fs/nfs/nfs4trace.h
2594
__entry->error = -error;
fs/nfs/nfs4trace.h
2601
__entry->error = 0;
fs/nfs/nfs4trace.h
2619
-__entry->error,
fs/nfs/nfs4trace.h
2620
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
2646
int error
fs/nfs/nfs4trace.h
2649
TP_ARGS(src_inode, dst_inode, args, error),
fs/nfs/nfs4trace.h
2652
__field(unsigned long, error)
fs/nfs/nfs4trace.h
2681
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
2698
-__entry->error,
fs/nfs/nfs4trace.h
2699
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
270
-__entry->error,
fs/nfs/nfs4trace.h
271
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
2719
int error
fs/nfs/nfs4trace.h
2722
TP_ARGS(inode, args, res, error),
fs/nfs/nfs4trace.h
2725
__field(unsigned long, error)
fs/nfs/nfs4trace.h
2745
if (error) {
fs/nfs/nfs4trace.h
2746
__entry->error = -error;
fs/nfs/nfs4trace.h
2750
__entry->error = 0;
fs/nfs/nfs4trace.h
2761
-__entry->error,
fs/nfs/nfs4trace.h
2762
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
2774
int error
fs/nfs/nfs4trace.h
2777
TP_ARGS(args, error),
fs/nfs/nfs4trace.h
2780
__field(unsigned long, error)
fs/nfs/nfs4trace.h
2788
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
2797
-__entry->error,
fs/nfs/nfs4trace.h
2798
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
2807
int error \
fs/nfs/nfs4trace.h
2809
TP_ARGS(args, error))
fs/nfs/nfs4trace.h
2817
int error
fs/nfs/nfs4trace.h
2820
TP_ARGS(inode, name, error),
fs/nfs/nfs4trace.h
2823
__field(unsigned long, error)
fs/nfs/nfs4trace.h
2831
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
2841
-__entry->error, show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
2852
int error \
fs/nfs/nfs4trace.h
2854
TP_ARGS(inode, name, error))
fs/nfs/nfs4trace.h
41
int error
fs/nfs/nfs4trace.h
413
__field(unsigned long, error)
fs/nfs/nfs4trace.h
420
__entry->error = status < 0 ? -status : 0;
fs/nfs/nfs4trace.h
429
show_nfs4_clp_state(__entry->state), -__entry->error,
fs/nfs/nfs4trace.h
430
show_nfs4_status(__entry->error), __get_str(section)
fs/nfs/nfs4trace.h
44
TP_ARGS(clp, error),
fs/nfs/nfs4trace.h
474
u32 error
fs/nfs/nfs4trace.h
477
TP_ARGS(xdr, op, error),
fs/nfs/nfs4trace.h
48
__field(unsigned long, error)
fs/nfs/nfs4trace.h
484
__field(unsigned long, error)
fs/nfs/nfs4trace.h
495
__entry->error = error;
fs/nfs/nfs4trace.h
501
-__entry->error, show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
510
u32 error \
fs/nfs/nfs4trace.h
512
TP_ARGS(xdr, op, error))
fs/nfs/nfs4trace.h
52
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
555
int error
fs/nfs/nfs4trace.h
558
TP_ARGS(ctx, flags, error),
fs/nfs/nfs4trace.h
561
__field(unsigned long, error)
fs/nfs/nfs4trace.h
579
__entry->error = -error;
fs/nfs/nfs4trace.h
58
-__entry->error,
fs/nfs/nfs4trace.h
59
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
615
-__entry->error,
fs/nfs/nfs4trace.h
616
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
636
int error \
fs/nfs/nfs4trace.h
638
TP_ARGS(ctx, flags, error))
fs/nfs/nfs4trace.h
67
int error \
fs/nfs/nfs4trace.h
687
int error
fs/nfs/nfs4trace.h
69
TP_ARGS(clp, error))
fs/nfs/nfs4trace.h
690
TP_ARGS(state, args, res, error),
fs/nfs/nfs4trace.h
697
__field(unsigned long, error)
fs/nfs/nfs4trace.h
709
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
719
-__entry->error,
fs/nfs/nfs4trace.h
720
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
735
int error
fs/nfs/nfs4trace.h
738
TP_ARGS(request, state, cmd, error),
fs/nfs/nfs4trace.h
741
__field(unsigned long, error)
fs/nfs/nfs4trace.h
756
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
774
-__entry->error,
fs/nfs/nfs4trace.h
775
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
793
int error \
fs/nfs/nfs4trace.h
795
TP_ARGS(request, state, cmd, error))
fs/nfs/nfs4trace.h
805
int error
fs/nfs/nfs4trace.h
808
TP_ARGS(request, state, lockstateid, cmd, error),
fs/nfs/nfs4trace.h
811
__field(unsigned long, error)
fs/nfs/nfs4trace.h
828
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfs4trace.h
850
-__entry->error,
fs/nfs/nfs4trace.h
851
show_nfs4_status(__entry->error),
fs/nfs/nfs4trace.h
86
int error
fs/nfs/nfs4trace.h
89
TP_ARGS(clp, addr, error),
fs/nfs/nfs4trace.h
94
__field(unsigned long, error)
fs/nfs/nfs4trace.h
98
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfstrace.h
103
int error
fs/nfs/nfstrace.h
106
TP_ARGS(inode, error),
fs/nfs/nfstrace.h
109
__field(unsigned long, error)
fs/nfs/nfstrace.h
122
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfstrace.h
1272
__field(int, error)
fs/nfs/nfstrace.h
1281
__entry->error = task->tk_status;
fs/nfs/nfstrace.h
1293
"offset=%lld count=%u res=%u%s", __entry->error,
fs/nfs/nfstrace.h
1318
__field(int, error)
fs/nfs/nfstrace.h
1327
__entry->error = task->tk_status;
fs/nfs/nfstrace.h
1339
"offset=%lld count=%u res=%u%s", __entry->error,
fs/nfs/nfstrace.h
1352
int error,
fs/nfs/nfstrace.h
1356
TP_ARGS(hdr, error, pos),
fs/nfs/nfstrace.h
1366
__field(int, error)
fs/nfs/nfstrace.h
137
-__entry->error, show_nfs_status(__entry->error),
fs/nfs/nfstrace.h
1375
__entry->error = error;
fs/nfs/nfstrace.h
1385
"offset=%lld count=%u res=%u pos=%llu", __entry->error,
fs/nfs/nfstrace.h
1449
__field(int, error)
fs/nfs/nfstrace.h
1461
__entry->error = task->tk_status;
fs/nfs/nfstrace.h
1477
"verifier=%s", __entry->error,
fs/nfs/nfstrace.h
1541
int error
fs/nfs/nfstrace.h
1544
TP_ARGS(inode, req, error),
fs/nfs/nfstrace.h
1552
__field(int, error)
fs/nfs/nfstrace.h
1562
__entry->error = error;
fs/nfs/nfstrace.h
1567
"offset=%lld count=%u", __entry->error,
fs/nfs/nfstrace.h
1580
int error \
fs/nfs/nfstrace.h
1582
TP_ARGS(inode, req, error))
fs/nfs/nfstrace.h
162
int error \
fs/nfs/nfstrace.h
1639
__field(int, error)
fs/nfs/nfstrace.h
164
TP_ARGS(inode, error))
fs/nfs/nfstrace.h
1651
__entry->error = task->tk_status;
fs/nfs/nfstrace.h
1664
"offset=%lld stable=%s verifier=%s", __entry->error,
fs/nfs/nfstrace.h
1694
__field(ssize_t, error)
fs/nfs/nfstrace.h
1708
__entry->error = dreq->error;
fs/nfs/nfstrace.h
1715
__entry->error, MAJOR(__entry->dev),
fs/nfs/nfstrace.h
1813
int error
fs/nfs/nfstrace.h
1816
TP_ARGS(sb, fh, fileid, error),
fs/nfs/nfstrace.h
1819
__field(int, error)
fs/nfs/nfstrace.h
1826
__entry->error = error;
fs/nfs/nfstrace.h
1834
__entry->error,
fs/nfs/nfstrace.h
1904
int error
fs/nfs/nfstrace.h
1907
TP_ARGS(fh, fmode, error),
fs/nfs/nfstrace.h
191
int error
fs/nfs/nfstrace.h
1910
__field(int, error)
fs/nfs/nfstrace.h
1916
__entry->error = error;
fs/nfs/nfstrace.h
1925
__entry->error
fs/nfs/nfstrace.h
1932
int error
fs/nfs/nfstrace.h
1935
TP_ARGS(xdr, error),
fs/nfs/nfstrace.h
194
TP_ARGS(inode, mask, permitted, error),
fs/nfs/nfstrace.h
1942
__field(unsigned long, error)
fs/nfs/nfstrace.h
1957
__entry->error = error;
fs/nfs/nfstrace.h
1966
__get_str(procedure), -__entry->error,
fs/nfs/nfstrace.h
1967
show_nfs_status(__entry->error)
fs/nfs/nfstrace.h
197
__field(unsigned long, error)
fs/nfs/nfstrace.h
1974
int error \
fs/nfs/nfstrace.h
1976
TP_ARGS(xdr, error))
fs/nfs/nfstrace.h
212
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfstrace.h
230
-__entry->error, show_nfs_status(__entry->error),
fs/nfs/nfstrace.h
463
int error
fs/nfs/nfstrace.h
466
TP_ARGS(dir, dentry, flags, error),
fs/nfs/nfstrace.h
469
__field(unsigned long, error)
fs/nfs/nfstrace.h
480
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfstrace.h
488
-__entry->error, show_nfs_status(__entry->error),
fs/nfs/nfstrace.h
504
int error \
fs/nfs/nfstrace.h
506
TP_ARGS(dir, dentry, flags, error))
fs/nfs/nfstrace.h
557
int error
fs/nfs/nfstrace.h
560
TP_ARGS(dir, ctx, flags, error),
fs/nfs/nfstrace.h
563
__field(unsigned long, error)
fs/nfs/nfstrace.h
572
__entry->error = -error;
fs/nfs/nfstrace.h
583
-__entry->error, show_nfs_status(__entry->error),
fs/nfs/nfstrace.h
631
int error
fs/nfs/nfstrace.h
634
TP_ARGS(dir, dentry, flags, error),
fs/nfs/nfstrace.h
637
__field(unsigned long, error)
fs/nfs/nfstrace.h
645
__entry->error = -error;
fs/nfs/nfstrace.h
654
-__entry->error, show_nfs_status(__entry->error),
fs/nfs/nfstrace.h
703
int error
fs/nfs/nfstrace.h
706
TP_ARGS(dir, dentry, error),
fs/nfs/nfstrace.h
709
__field(unsigned long, error)
fs/nfs/nfstrace.h
718
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfstrace.h
724
-__entry->error, show_nfs_status(__entry->error),
fs/nfs/nfstrace.h
736
int error \
fs/nfs/nfstrace.h
738
TP_ARGS(dir, dentry, error))
fs/nfs/nfstrace.h
791
int error
fs/nfs/nfstrace.h
794
TP_ARGS(inode, dir, dentry, error),
fs/nfs/nfstrace.h
797
__field(unsigned long, error)
fs/nfs/nfstrace.h
808
__entry->error = error < 0 ? -error : 0;
fs/nfs/nfstrace.h
814
-__entry->error, show_nfs_status(__entry->error),
fs/nfs/nfstrace.h
875
int error
fs/nfs/nfstrace.h
878
TP_ARGS(old_dir, old_dentry, new_dir, new_dentry, error),
fs/nfs/nfstrace.h
882
__field(unsigned long, error)
fs/nfs/nfstrace.h
891
__entry->error = -error;
fs/nfs/nfstrace.h
901
-__entry->error, show_nfs_status(__entry->error),
fs/nfs/nfstrace.h
917
int error \
fs/nfs/nfstrace.h
920
new_dentry, error))
fs/nfs/nfstrace.h
930
int error
fs/nfs/nfstrace.h
933
TP_ARGS(data, error),
fs/nfs/nfstrace.h
937
__field(unsigned long, error)
fs/nfs/nfstrace.h
947
__entry->error = -error;
fs/nfs/nfstrace.h
955
-__entry->error, show_nfs_status(__entry->error),
fs/nfs/pagelist.c
1150
int error = desc->pg_ops->pg_doio(desc);
fs/nfs/pagelist.c
1151
if (error < 0)
fs/nfs/pagelist.c
1152
desc->pg_error = error;
fs/nfs/pagelist.c
119
void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos)
fs/nfs/pagelist.c
123
trace_nfs_pgio_error(hdr, error, pos);
fs/nfs/pagelist.c
128
hdr->error = error;
fs/nfs/read.c
122
static void nfs_readpage_release(struct nfs_page *req, int error)
fs/nfs/read.c
142
int error;
fs/nfs/read.c
169
error = 0;
fs/nfs/read.c
175
error = hdr->error;
fs/nfs/read.c
176
xchg(&nfs_req_openctx(req)->error, error);
fs/nfs/read.c
181
nfs_readpage_release(req, error);
fs/nfs/read.c
200
nfs_async_read_error(struct list_head *head, int error)
fs/nfs/read.c
207
nfs_readpage_release(req, error);
fs/nfs/read.c
296
int error;
fs/nfs/read.c
306
error = PTR_ERR(new);
fs/nfs/read.c
316
error = pgio->pg_error;
fs/nfs/read.c
317
nfs_readpage_release(new, error);
fs/nfs/read.c
322
return error;
fs/nfs/read.c
337
xchg(&ctx->error, 0);
fs/nfs/read.c
354
ret = xchg(&ctx->error, 0);
fs/nfs/super.c
1288
int error;
fs/nfs/super.c
1306
error = PTR_ERR(s);
fs/nfs/super.c
1315
error = super_setup_bdi_name(s, "%u:%u", MAJOR(server->s_dev),
fs/nfs/super.c
1317
if (error)
fs/nfs/super.c
1326
error = nfs_get_cache_cookie(s, ctx);
fs/nfs/super.c
1327
if (error < 0)
fs/nfs/super.c
1331
error = nfs_get_root(s, fc);
fs/nfs/super.c
1332
if (error < 0) {
fs/nfs/super.c
1338
error = 0;
fs/nfs/super.c
1341
return error;
fs/nfs/super.c
253
int error = -ENOMEM;
fs/nfs/super.c
259
error = server->nfs_client->rpc_ops->statfs(server, fh, &res);
fs/nfs/super.c
260
if (unlikely(error == -ESTALE)) {
fs/nfs/super.c
268
if (error < 0)
fs/nfs/super.c
302
dprintk("%s: statfs error = %d\n", __func__, -error);
fs/nfs/super.c
303
return error;
fs/nfs/symlink.c
32
int error;
fs/nfs/symlink.c
34
error = NFS_PROTO(inode)->readlink(inode, &folio->page, 0, PAGE_SIZE);
fs/nfs/symlink.c
35
folio_end_read(folio, error == 0);
fs/nfs/symlink.c
36
return error;
fs/nfs/unlink.c
452
int error = -EBUSY;
fs/nfs/unlink.c
492
error = nfs_async_unlink(dentry, &sdentry->d_name);
fs/nfs/unlink.c
493
if (error)
fs/nfs/unlink.c
500
error = -EBUSY;
fs/nfs/unlink.c
506
error = rpc_wait_for_completion_task(task);
fs/nfs/unlink.c
507
if (error == 0)
fs/nfs/unlink.c
508
error = task->tk_status;
fs/nfs/unlink.c
509
switch (error) {
fs/nfs/unlink.c
532
return error;
fs/nfs/write.c
1023
int error;
fs/nfs/write.c
1064
error = nfs_wb_folio(folio->mapping->host, folio);
fs/nfs/write.c
1065
trace_nfs_try_to_update_request_done(folio_inode(folio), offset, bytes, error);
fs/nfs/write.c
1066
return (error < 0) ? ERR_PTR(error) : NULL;
fs/nfs/write.c
1372
static void nfs_async_write_error(struct list_head *head, int error)
fs/nfs/write.c
1379
if (nfs_error_is_fatal_on_server(error))
fs/nfs/write.c
1380
nfs_write_error(req, error);
fs/nfs/write.c
228
static void nfs_mapping_set_error(struct folio *folio, int error)
fs/nfs/write.c
232
filemap_set_wb_err(mapping, error);
fs/nfs/write.c
235
error == -ENOSPC ? -ENOSPC : -EIO);
fs/nfs/write.c
569
static void nfs_write_error(struct nfs_page *req, int error)
fs/nfs/write.c
571
trace_nfs_write_error(nfs_page_to_inode(req), req, error);
fs/nfs/write.c
572
nfs_mapping_set_error(nfs_page_to_folio(req), error);
fs/nfs/write.c
924
trace_nfs_comp_error(hdr->inode, req, hdr->error);
fs/nfs/write.c
926
hdr->error);
fs/nfsd/blocklayout.c
184
int error;
fs/nfsd/blocklayout.c
197
error = inode->i_sb->s_export_op->commit_blocks(inode, iomaps,
fs/nfsd/blocklayout.c
200
return nfserrno(error);
fs/nfsd/blocklayout.c
33
int error;
fs/nfsd/blocklayout.c
35
error = sb->s_export_op->map_blocks(inode, offset, length, &iomap,
fs/nfsd/blocklayout.c
37
if (error) {
fs/nfsd/blocklayout.c
38
if (error == -ENXIO)
fs/nfsd/blocklayout.c
40
return nfserrno(error);
fs/nfsd/blocklayout.c
78
error = nfsd4_set_deviceid(&bex->vol_id, fhp, device_generation);
fs/nfsd/blocklayout.c
79
if (error)
fs/nfsd/blocklayout.c
80
return nfserrno(error);
fs/nfsd/flexfilelayout.c
28
int error;
fs/nfsd/flexfilelayout.c
38
error = -ENOMEM;
fs/nfsd/flexfilelayout.c
60
error = nfsd4_set_deviceid(&fl->deviceid, fhp, device_generation);
fs/nfsd/flexfilelayout.c
61
if (error)
fs/nfsd/flexfilelayout.c
77
return nfserrno(error);
fs/nfsd/nfs2acl.c
101
int error;
fs/nfsd/nfs2acl.c
112
error = fh_want_write(fh);
fs/nfsd/nfs2acl.c
113
if (error)
fs/nfsd/nfs2acl.c
118
error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_ACCESS,
fs/nfsd/nfs2acl.c
120
if (error)
fs/nfsd/nfs2acl.c
122
error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_DEFAULT,
fs/nfsd/nfs2acl.c
124
if (error)
fs/nfsd/nfs2acl.c
144
resp->status = nfserrno(error);
fs/nfsd/nfs3acl.c
102
error = fh_want_write(fh);
fs/nfsd/nfs3acl.c
103
if (error)
fs/nfsd/nfs3acl.c
108
error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_ACCESS,
fs/nfsd/nfs3acl.c
110
if (error)
fs/nfsd/nfs3acl.c
112
error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_DEFAULT,
fs/nfsd/nfs3acl.c
119
resp->status = nfserrno(error);
fs/nfsd/nfs3acl.c
93
int error;
fs/nfsd/nfs4acl.c
133
int error = 0;
fs/nfsd/nfs4acl.c
152
error = PTR_ERR(dpacl);
fs/nfsd/nfs4acl.c
162
error = -ENOMEM;
fs/nfsd/nfs4acl.c
176
return error;
fs/nfsd/nfs4idmap.c
211
int error = -EINVAL;
fs/nfsd/nfs4idmap.c
243
error = get_expiry(&buf, &ent.h.expiry_time);
fs/nfsd/nfs4idmap.c
244
if (error)
fs/nfsd/nfs4idmap.c
247
error = -ENOMEM;
fs/nfsd/nfs4idmap.c
253
error = -EINVAL;
fs/nfsd/nfs4idmap.c
261
error = -ENOMEM;
fs/nfsd/nfs4idmap.c
267
error = 0;
fs/nfsd/nfs4idmap.c
270
return error;
fs/nfsd/nfs4idmap.c
380
int len, error = -EINVAL;
fs/nfsd/nfs4idmap.c
411
error = get_expiry(&buf, &ent.h.expiry_time);
fs/nfsd/nfs4idmap.c
412
if (error)
fs/nfsd/nfs4idmap.c
416
error = get_int(&buf, &ent.id);
fs/nfsd/nfs4idmap.c
417
if (error == -EINVAL)
fs/nfsd/nfs4idmap.c
419
if (error == -ENOENT)
fs/nfsd/nfs4idmap.c
422
error = -ENOMEM;
fs/nfsd/nfs4idmap.c
431
error = 0;
fs/nfsd/nfs4idmap.c
434
return (error);
fs/nfsd/nfs4layouts.c
634
int error;
fs/nfsd/nfs4layouts.c
647
error = call_usermodehelper(nfsd_recall_failed, argv, envp,
fs/nfsd/nfs4layouts.c
649
if (error) {
fs/nfsd/nfs4layouts.c
651
addr_str, error);
fs/nfsd/nfsctl.c
271
int error;
fs/nfsd/nfsctl.c
285
error = kern_path(fo_path, 0, &path);
fs/nfsd/nfsctl.c
286
if (error)
fs/nfsd/nfsctl.c
287
return error;
fs/nfsd/nfsctl.c
299
error = nlmsvc_unlock_all_by_sb(path.dentry->d_sb);
fs/nfsd/nfsctl.c
305
error = -EINVAL;
fs/nfsd/nfsctl.c
309
return error;
fs/nfsd/nfsfh.c
158
__be32 error;
fs/nfsd/nfsfh.c
160
error = nfserr_badhandle;
fs/nfsd/nfsfh.c
165
return error;
fs/nfsd/nfsfh.c
168
return error;
fs/nfsd/nfsfh.c
170
return error;
fs/nfsd/nfsfh.c
173
return error;
fs/nfsd/nfsfh.c
192
return error;
fs/nfsd/nfsfh.c
198
error = nfserr_stale;
fs/nfsd/nfsfh.c
203
return error;
fs/nfsd/nfsfh.c
220
error = nfserrno(-ENOMEM);
fs/nfsd/nfsfh.c
228
error = nfsd_setuser_and_check_port(rqstp, cred, exp);
fs/nfsd/nfsfh.c
229
if (error)
fs/nfsd/nfsfh.c
236
error = nfserr_badhandle;
fs/nfsd/nfsfh.c
262
error = nfserrno(PTR_ERR(dentry));
fs/nfsd/nfsfh.c
299
return error;
fs/nfsd/nfsfh.c
326
__be32 error;
fs/nfsd/nfsfh.c
329
error = nfsd_set_fh_dentry(rqstp, net, cred, client,
fs/nfsd/nfsfh.c
331
if (error)
fs/nfsd/nfsfh.c
355
error = check_pseudo_root(dentry, exp);
fs/nfsd/nfsfh.c
356
if (error)
fs/nfsd/nfsfh.c
359
error = nfsd_setuser_and_check_port(rqstp, cred, exp);
fs/nfsd/nfsfh.c
360
if (error)
fs/nfsd/nfsfh.c
363
error = nfsd_mode_check(dentry, type);
fs/nfsd/nfsfh.c
364
if (error)
fs/nfsd/nfsfh.c
386
error = check_xprtsec_policy(exp, rqstp);
fs/nfsd/nfsfh.c
387
if (error)
fs/nfsd/nfsfh.c
402
error = check_security_flavor(exp, rqstp, may_bypass_gss);
fs/nfsd/nfsfh.c
403
if (error)
fs/nfsd/nfsfh.c
410
error = nfsd_permission(cred, exp, dentry, access);
fs/nfsd/nfsfh.c
412
trace_nfsd_fh_verify_err(rqstp, fhp, type, access, error);
fs/nfsd/nfsfh.c
413
if (error == nfserr_stale)
fs/nfsd/nfsfh.c
415
return error;
fs/nfsd/nfssvc.c
598
int error;
fs/nfsd/nfssvc.c
606
error = percpu_ref_init(&nn->nfsd_net_ref, nfsd_net_free,
fs/nfsd/nfssvc.c
608
if (error)
fs/nfsd/nfssvc.c
609
return error;
fs/nfsd/nfssvc.c
624
error = svc_bind(serv, net);
fs/nfsd/nfssvc.c
625
if (error < 0) {
fs/nfsd/nfssvc.c
628
return error;
fs/nfsd/nfssvc.c
753
int error;
fs/nfsd/nfssvc.c
764
error = nfsd_create_serv(net);
fs/nfsd/nfssvc.c
765
if (error)
fs/nfsd/nfssvc.c
769
error = nfsd_startup_net(net, cred);
fs/nfsd/nfssvc.c
770
if (error)
fs/nfsd/nfssvc.c
772
error = nfsd_set_nrthreads(n, nthreads, net);
fs/nfsd/nfssvc.c
773
if (error)
fs/nfsd/nfssvc.c
775
error = serv->sv_nrthreads;
fs/nfsd/nfssvc.c
780
return error;
fs/nfsd/trace.h
1002
__entry->boot_time, __entry->xid, __entry->error,
fs/nfsd/trace.h
1248
long error
fs/nfsd/trace.h
1250
TP_ARGS(rqstp, inode, may_flags, error),
fs/nfsd/trace.h
1255
__field(long, error)
fs/nfsd/trace.h
1261
__entry->error = error;
fs/nfsd/trace.h
1266
__entry->error
fs/nfsd/trace.h
1648
long error
fs/nfsd/trace.h
1650
TP_ARGS(clp, error),
fs/nfsd/trace.h
1652
__field(long, error)
fs/nfsd/trace.h
1658
__entry->error = error;
fs/nfsd/trace.h
1666
__entry->error)
fs/nfsd/trace.h
2677
int error
fs/nfsd/trace.h
2679
TP_ARGS(clp, dev, error),
fs/nfsd/trace.h
2684
__field(int, error)
fs/nfsd/trace.h
2691
__entry->error = error;
fs/nfsd/trace.h
2697
__entry->error
fs/nfsd/trace.h
2706
int error \
fs/nfsd/trace.h
2708
TP_ARGS(clp, dev, error))
fs/nfsd/trace.h
307
__be32 error
fs/nfsd/trace.h
309
TP_ARGS(rqstp, fhp, type, access, error),
fs/nfsd/trace.h
310
TP_CONDITION(rqstp != NULL && error),
fs/nfsd/trace.h
320
__field(int, error)
fs/nfsd/trace.h
336
__entry->error = be32_to_cpu(error);
fs/nfsd/trace.h
342
__entry->error
fs/nfsd/trace.h
46
#define NFSD_TRACE_PROC_RES_ASSIGNMENTS(r, error) \
fs/nfsd/trace.h
51
__entry->status = be32_to_cpu(error); \
fs/nfsd/trace.h
983
int error
fs/nfsd/trace.h
985
TP_ARGS(nn, rqstp, error),
fs/nfsd/trace.h
989
__field(int, error)
fs/nfsd/trace.h
995
__entry->error = error;
fs/nfsd/vfs.c
755
int error;
fs/nfsd/vfs.c
760
error = vfs_fallocate(file, flags, offset, len);
fs/nfsd/vfs.c
761
if (!error)
fs/nfsd/vfs.c
762
error = commit_metadata(fhp);
fs/nfsd/vfs.c
764
return nfserrno(error);
fs/nfsd/vfs.c
829
__be32 error;
fs/nfsd/vfs.c
831
error = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP);
fs/nfsd/vfs.c
832
if (error)
fs/nfsd/vfs.c
868
error = err2;
fs/nfsd/vfs.c
878
return error;
fs/nilfs2/cpfile.c
399
goto error;
fs/nilfs2/cpfile.c
408
goto error;
fs/nilfs2/cpfile.c
433
error:
fs/nilfs2/dir.c
118
char *error;
fs/nilfs2/dir.c
157
error = "rec_len is smaller than minimal";
fs/nilfs2/dir.c
160
error = "unaligned directory entry";
fs/nilfs2/dir.c
163
error = "rec_len is too small for name_len";
fs/nilfs2/dir.c
166
error = "directory entry across blocks";
fs/nilfs2/dir.c
169
error = "disallowed inode number";
fs/nilfs2/dir.c
173
dir->i_ino, error, (folio->index << PAGE_SHIFT) + offs,
fs/nilfs2/mdt.c
433
int error;
fs/nilfs2/mdt.c
435
while ((folio = writeback_iter(mapping, wbc, folio, &error)))
fs/nilfs2/mdt.c
436
error = nilfs_mdt_write_folio(folio, wbc);
fs/nilfs2/mdt.c
438
return error;
fs/notify/dnotify/dnotify.c
267
int destroy = 0, error = 0;
fs/notify/dnotify/dnotify.c
275
error = -EINVAL;
fs/notify/dnotify/dnotify.c
282
error = 0;
fs/notify/dnotify/dnotify.c
289
error = -ENOTDIR;
fs/notify/dnotify/dnotify.c
299
error = security_path_notify(&filp->f_path, mask,
fs/notify/dnotify/dnotify.c
301
if (error)
fs/notify/dnotify/dnotify.c
307
error = -ENOMEM;
fs/notify/dnotify/dnotify.c
311
error = file_f_owner_allocate(filp);
fs/notify/dnotify/dnotify.c
312
if (error)
fs/notify/dnotify/dnotify.c
318
error = -ENOMEM;
fs/notify/dnotify/dnotify.c
337
error = fsnotify_add_inode_mark_locked(new_fsn_mark, inode, 0);
fs/notify/dnotify/dnotify.c
338
if (error) {
fs/notify/dnotify/dnotify.c
365
error = 0;
fs/notify/dnotify/dnotify.c
371
error = attach_dn(dn, dn_mark, id, fd, filp, mask);
fs/notify/dnotify/dnotify.c
373
if (!error)
fs/notify/dnotify/dnotify.c
377
else if (error == -EEXIST)
fs/notify/dnotify/dnotify.c
378
error = 0;
fs/notify/dnotify/dnotify.c
397
return error;
fs/notify/fanotify/fanotify.c
728
fee->error = report->error;
fs/notify/fanotify/fanotify.h
311
s32 error; /* Error reported by the Filesystem. */
fs/notify/fanotify/fanotify_user.c
538
info.error = fee->error;
fs/notify/inotify/inotify_user.c
375
int error;
fs/notify/inotify/inotify_user.c
377
error = user_path_at(AT_FDCWD, dirname, flags, path);
fs/notify/inotify/inotify_user.c
378
if (error)
fs/notify/inotify/inotify_user.c
379
return error;
fs/notify/inotify/inotify_user.c
381
error = path_permission(path, MAY_READ);
fs/notify/inotify/inotify_user.c
382
if (error) {
fs/notify/inotify/inotify_user.c
384
return error;
fs/notify/inotify/inotify_user.c
386
error = security_path_notify(path, mask,
fs/notify/inotify/inotify_user.c
388
if (error)
fs/notify/inotify/inotify_user.c
391
return error;
fs/ntfs3/inode.c
583
int error = blk_status_to_errno(bio->bi_status);
fs/ntfs3/inode.c
603
iomap_finish_folio_read(folio, fi.offset, fi.length, error);
fs/ocfs2/cluster/sys.c
56
goto error;
fs/ocfs2/cluster/sys.c
60
goto error;
fs/ocfs2/cluster/sys.c
62
error:
fs/ocfs2/cluster/tcp.c
977
int *error)
fs/ocfs2/cluster/tcp.c
985
*error = nn->nn_persistent_error;
fs/ocfs2/cluster/tcp.c
991
*error = 0;
fs/ocfs2/dir.c
1975
int error = 0;
fs/ocfs2/dir.c
1982
error = ocfs2_inode_lock_atime(inode, file->f_path.mnt, &lock_level, 1);
fs/ocfs2/dir.c
1983
if (lock_level && error >= 0) {
fs/ocfs2/dir.c
1989
error = ocfs2_inode_lock(inode, NULL, 0);
fs/ocfs2/dir.c
1991
if (error < 0) {
fs/ocfs2/dir.c
1992
if (error != -ENOENT)
fs/ocfs2/dir.c
1993
mlog_errno(error);
fs/ocfs2/dir.c
1998
error = ocfs2_dir_foreach_blk(inode, &fp->cookie, ctx, false);
fs/ocfs2/dir.c
2001
if (error)
fs/ocfs2/dir.c
2002
mlog_errno(error);
fs/ocfs2/dir.c
2006
return error;
fs/ocfs2/dlm/dlmdomain.c
2314
goto error;
fs/ocfs2/dlm/dlmdomain.c
2321
goto error;
fs/ocfs2/dlm/dlmdomain.c
2327
goto error;
fs/ocfs2/dlm/dlmdomain.c
2333
goto error;
fs/ocfs2/dlm/dlmdomain.c
2339
error:
fs/ocfs2/dlm/dlmlock.c
561
goto error;
fs/ocfs2/dlm/dlmlock.c
566
goto error;
fs/ocfs2/dlm/dlmlock.c
575
goto error;
fs/ocfs2/dlm/dlmlock.c
579
goto error;
fs/ocfs2/dlm/dlmlock.c
590
goto error;
fs/ocfs2/dlm/dlmlock.c
597
goto error;
fs/ocfs2/dlm/dlmlock.c
614
goto error;
fs/ocfs2/dlm/dlmlock.c
641
goto error;
fs/ocfs2/dlm/dlmlock.c
647
goto error;
fs/ocfs2/dlm/dlmlock.c
654
goto error;
fs/ocfs2/dlm/dlmlock.c
665
goto error;
fs/ocfs2/dlm/dlmlock.c
724
goto error;
fs/ocfs2/dlm/dlmlock.c
728
error:
fs/ocfs2/dlm/dlmmaster.c
586
goto error;
fs/ocfs2/dlm/dlmmaster.c
590
goto error;
fs/ocfs2/dlm/dlmmaster.c
595
error:
fs/ocfs2/dlm/dlmrecovery.c
1299
goto error;
fs/ocfs2/dlm/dlmrecovery.c
1313
goto error;
fs/ocfs2/dlm/dlmrecovery.c
1316
error:
fs/ocfs2/dlmfs/dlmfs.c
194
int error;
fs/ocfs2/dlmfs/dlmfs.c
198
error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
fs/ocfs2/dlmfs/dlmfs.c
199
if (error)
fs/ocfs2/dlmfs/dlmfs.c
200
return error;
fs/ocfs2/dlmglue.c
1211
static void ocfs2_unlock_ast(struct ocfs2_dlm_lksb *lksb, int error)
fs/ocfs2/dlmglue.c
1220
if (error) {
fs/ocfs2/dlmglue.c
1222
"unlock_action %d\n", error, lockres->l_name,
fs/ocfs2/refcounttree.c
4237
int error, had_lock;
fs/ocfs2/refcounttree.c
4247
error = ocfs2_create_inode_in_orphan(dir, inode->i_mode,
fs/ocfs2/refcounttree.c
4249
if (error) {
fs/ocfs2/refcounttree.c
4250
mlog_errno(error);
fs/ocfs2/refcounttree.c
4254
error = ocfs2_rw_lock(inode, 1);
fs/ocfs2/refcounttree.c
4255
if (error) {
fs/ocfs2/refcounttree.c
4256
mlog_errno(error);
fs/ocfs2/refcounttree.c
4260
error = ocfs2_inode_lock(inode, &old_bh, 1);
fs/ocfs2/refcounttree.c
4261
if (error) {
fs/ocfs2/refcounttree.c
4262
mlog_errno(error);
fs/ocfs2/refcounttree.c
4269
error = __ocfs2_reflink(old_dentry, old_bh,
fs/ocfs2/refcounttree.c
4278
if (error) {
fs/ocfs2/refcounttree.c
4279
mlog_errno(error);
fs/ocfs2/refcounttree.c
4286
error = had_lock;
fs/ocfs2/refcounttree.c
4287
mlog_errno(error);
fs/ocfs2/refcounttree.c
4293
error = ocfs2_init_security_and_acl(dir, new_orphan_inode,
fs/ocfs2/refcounttree.c
4295
if (error)
fs/ocfs2/refcounttree.c
4296
mlog_errno(error);
fs/ocfs2/refcounttree.c
4298
if (!error) {
fs/ocfs2/refcounttree.c
4299
error = ocfs2_mv_orphaned_inode_to_new(dir, new_orphan_inode,
fs/ocfs2/refcounttree.c
4301
if (error)
fs/ocfs2/refcounttree.c
4302
mlog_errno(error);
fs/ocfs2/refcounttree.c
4313
if (error)
fs/ocfs2/refcounttree.c
4317
return error;
fs/ocfs2/refcounttree.c
4348
int error;
fs/ocfs2/refcounttree.c
4353
error = ocfs2_may_create(dir, new_dentry);
fs/ocfs2/refcounttree.c
4354
if (error)
fs/ocfs2/refcounttree.c
4355
return error;
fs/ocfs2/refcounttree.c
4387
error = inode_permission(&nop_mnt_idmap, inode, MAY_READ);
fs/ocfs2/refcounttree.c
4388
if (error)
fs/ocfs2/refcounttree.c
4389
return error;
fs/ocfs2/refcounttree.c
4393
error = dquot_initialize(dir);
fs/ocfs2/refcounttree.c
4394
if (!error)
fs/ocfs2/refcounttree.c
4395
error = ocfs2_reflink(old_dentry, dir, new_dentry, preserve);
fs/ocfs2/refcounttree.c
4397
if (!error)
fs/ocfs2/refcounttree.c
4399
return error;
fs/ocfs2/refcounttree.c
4411
int error;
fs/ocfs2/refcounttree.c
4416
error = user_path_at(AT_FDCWD, oldname, 0, &old_path);
fs/ocfs2/refcounttree.c
4417
if (error) {
fs/ocfs2/refcounttree.c
4418
mlog_errno(error);
fs/ocfs2/refcounttree.c
4419
return error;
fs/ocfs2/refcounttree.c
4423
error = PTR_ERR(new_dentry);
fs/ocfs2/refcounttree.c
4425
mlog_errno(error);
fs/ocfs2/refcounttree.c
4429
error = -EXDEV;
fs/ocfs2/refcounttree.c
4431
mlog_errno(error);
fs/ocfs2/refcounttree.c
4435
error = ocfs2_vfs_reflink(old_path.dentry,
fs/ocfs2/refcounttree.c
4443
return error;
fs/ocfs2/stack_o2cb.c
171
int error = dlm_status_to_errno(status);
fs/ocfs2/stack_o2cb.c
187
lksb->lksb_conn->cc_proto->lp_unlock_ast(lksb, error);
fs/ocfs2/stack_user.c
803
int error;
fs/ocfs2/stack_user.c
806
error = dlm_unlock(conn->cc_lockspace, lksb->sb_lkid, 0, lksb, conn);
fs/ocfs2/stack_user.c
807
if (error) {
fs/ocfs2/stack_user.c
809
name, lksb->sb_lkid, error);
fs/ocfs2/stack_user.c
810
return error;
fs/ocfs2/stack_user.c
827
int error, status;
fs/ocfs2/stack_user.c
830
error = dlm_lock(conn->cc_lockspace, mode, lksb, flags,
fs/ocfs2/stack_user.c
833
if (error) {
fs/ocfs2/stack_user.c
835
name, lksb->sb_lkid, flags, mode, error);
fs/ocfs2/stack_user.c
836
return error;
fs/ocfs2/stackglue.c
636
goto error;
fs/ocfs2/stackglue.c
640
error:
fs/ocfs2/stackglue.h
83
void (*lp_unlock_ast)(struct ocfs2_dlm_lksb *lksb, int error);
fs/omfs/file.c
345
int error;
fs/omfs/file.c
347
error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
fs/omfs/file.c
348
if (error)
fs/omfs/file.c
349
return error;
fs/omfs/file.c
353
error = inode_newsize_ok(inode, attr->ia_size);
fs/omfs/file.c
354
if (error)
fs/omfs/file.c
355
return error;
fs/open.c
100
error = -EPERM;
fs/open.c
1003
if (WARN_ON_ONCE(error > 0))
fs/open.c
1004
error = -EINVAL;
fs/open.c
1012
return error;
fs/open.c
104
error = get_write_access(inode);
fs/open.c
105
if (error)
fs/open.c
1096
int error;
fs/open.c
1104
error = vfs_open(path, f);
fs/open.c
1105
if (error) {
fs/open.c
1107
f = ERR_PTR(error);
fs/open.c
1119
int error;
fs/open.c
112
error = break_lease(inode, O_WRONLY);
fs/open.c
1122
error = vfs_open(path, f);
fs/open.c
1123
if (error) {
fs/open.c
1125
f = ERR_PTR(error);
fs/open.c
113
if (error)
fs/open.c
1147
int error;
fs/open.c
1153
error = vfs_open(path, f);
fs/open.c
1154
if (error) {
fs/open.c
1156
return ERR_PTR(error);
fs/open.c
116
error = security_path_truncate(path);
fs/open.c
117
if (!error)
fs/open.c
118
error = do_truncate(idmap, path->dentry, length, 0, NULL);
fs/open.c
125
return error;
fs/open.c
133
int error;
fs/open.c
140
error = filename_lookup(AT_FDCWD, name, lookup_flags, &path, NULL);
fs/open.c
141
if (!error) {
fs/open.c
142
error = vfs_truncate(&path, length);
fs/open.c
144
if (retry_estale(error, lookup_flags)) {
fs/open.c
149
return error;
fs/open.c
168
int error;
fs/open.c
187
error = security_file_truncate(file);
fs/open.c
188
if (error)
fs/open.c
189
return error;
fs/open.c
191
error = fsnotify_truncate_perm(&file->f_path, length);
fs/open.c
192
if (error)
fs/open.c
193
return error;
fs/open.c
555
int error;
fs/open.c
559
error = filename_lookup(AT_FDCWD, name, lookup_flags, &path, NULL);
fs/open.c
560
if (!error) {
fs/open.c
561
error = path_permission(&path, MAY_EXEC | MAY_CHDIR);
fs/open.c
562
if (!error)
fs/open.c
565
if (retry_estale(error, lookup_flags)) {
fs/open.c
570
return error;
fs/open.c
576
int error;
fs/open.c
584
error = file_permission(fd_file(f), MAY_EXEC | MAY_CHDIR);
fs/open.c
585
if (!error)
fs/open.c
587
return error;
fs/open.c
593
int error;
fs/open.c
597
error = filename_lookup(AT_FDCWD, name, lookup_flags, &path, NULL);
fs/open.c
598
if (error)
fs/open.c
599
return error;
fs/open.c
601
error = path_permission(&path, MAY_EXEC | MAY_CHDIR);
fs/open.c
602
if (error)
fs/open.c
605
error = -EPERM;
fs/open.c
608
error = security_path_chroot(&path);
fs/open.c
609
if (!error)
fs/open.c
613
if (retry_estale(error, lookup_flags)) {
fs/open.c
617
return error;
fs/open.c
625
int error;
fs/open.c
627
error = mnt_want_write(path->mnt);
fs/open.c
628
if (error)
fs/open.c
629
return error;
fs/open.c
631
error = inode_lock_killable(inode);
fs/open.c
632
if (error)
fs/open.c
634
error = security_path_chmod(path, mode);
fs/open.c
635
if (error)
fs/open.c
639
error = notify_change(mnt_idmap(path->mnt), path->dentry,
fs/open.c
644
error = break_deleg_wait(&delegated_inode);
fs/open.c
645
if (!error)
fs/open.c
650
return error;
fs/open.c
673
int error;
fs/open.c
682
error = filename_lookup(dfd, name, lookup_flags, &path, NULL);
fs/open.c
683
if (!error) {
fs/open.c
684
error = chmod_common(&path, mode);
fs/open.c
686
if (retry_estale(error, lookup_flags)) {
fs/open.c
691
return error;
fs/open.c
747
int error;
fs/open.c
766
error = inode_lock_killable(inode);
fs/open.c
767
if (error)
fs/open.c
768
return error;
fs/open.c
77
int error;
fs/open.c
773
error = security_path_chown(
fs/open.c
777
if (!error)
fs/open.c
778
error = notify_change(idmap, path->dentry, &newattrs,
fs/open.c
782
error = break_deleg_wait(&delegated_inode);
fs/open.c
783
if (!error)
fs/open.c
786
return error;
fs/open.c
793
int error;
fs/open.c
802
error = filename_lookup(dfd, name, lookup_flags, &path, NULL);
fs/open.c
803
if (!error) {
fs/open.c
804
error = mnt_want_write(path.mnt);
fs/open.c
805
if (!error) {
fs/open.c
806
error = chown_common(&path, user, group);
fs/open.c
810
if (retry_estale(error, lookup_flags)) {
fs/open.c
815
return error;
fs/open.c
837
int error;
fs/open.c
839
error = mnt_want_write_file(file);
fs/open.c
840
if (error)
fs/open.c
841
return error;
fs/open.c
843
error = chown_common(&file->f_path, user, group);
fs/open.c
845
return error;
fs/open.c
865
int error;
fs/open.c
867
error = get_write_access(f->f_inode);
fs/open.c
868
if (unlikely(error))
fs/open.c
869
return error;
fs/open.c
870
error = mnt_get_write_access(f->f_path.mnt);
fs/open.c
871
if (unlikely(error))
fs/open.c
874
error = mnt_get_write_access(backing_file_user_path(f)->mnt);
fs/open.c
875
if (unlikely(error))
fs/open.c
88
error = inode_permission(idmap, inode, MAY_WRITE);
fs/open.c
884
return error;
fs/open.c
89
if (error)
fs/open.c
892
int error;
fs/open.c
90
return error;
fs/open.c
910
error = file_get_write_access(f);
fs/open.c
911
if (unlikely(error))
fs/open.c
92
error = fsnotify_truncate_perm(path, length);
fs/open.c
922
error = -ENODEV;
fs/open.c
926
error = security_file_open(f);
fs/open.c
927
if (unlikely(error))
fs/open.c
93
if (error)
fs/open.c
936
error = fsnotify_open_perm_and_set_mode(f);
fs/open.c
937
if (unlikely(error))
fs/open.c
94
return error;
fs/open.c
940
error = break_lease(file_inode(f), f->f_flags);
fs/open.c
941
if (unlikely(error))
fs/open.c
949
error = open(inode, f);
fs/open.c
950
if (error)
fs/open.c
96
error = mnt_want_write(path->mnt);
fs/open.c
97
if (error)
fs/open.c
98
return error;
fs/orangefs/acl.c
107
error = orangefs_inode_setxattr(inode, name, value, size, 0);
fs/orangefs/acl.c
110
if (!error)
fs/orangefs/acl.c
112
return error;
fs/orangefs/acl.c
118
int error;
fs/orangefs/acl.c
133
error = posix_acl_update_mode(&nop_mnt_idmap, inode,
fs/orangefs/acl.c
135
if (error) {
fs/orangefs/acl.c
138
error);
fs/orangefs/acl.c
139
return error;
fs/orangefs/acl.c
69
int error = 0;
fs/orangefs/devorangefs-req.c
283
goto error;
fs/orangefs/devorangefs-req.c
286
goto error;
fs/orangefs/devorangefs-req.c
291
goto error;
fs/orangefs/devorangefs-req.c
296
goto error;
fs/orangefs/devorangefs-req.c
324
error:
fs/orangefs/dir.c
101
od->error = r;
fs/orangefs/dir.c
108
od->error = r;
fs/orangefs/dir.c
112
od->error = op->downcall.status;
fs/orangefs/dir.c
122
od->error = -EIO;
fs/orangefs/dir.c
169
od->error = -ENOMEM;
fs/orangefs/dir.c
174
od->error = r;
fs/orangefs/dir.c
179
od->error = r;
fs/orangefs/dir.c
183
od->error = 0;
fs/orangefs/dir.c
186
return od->error;
fs/orangefs/dir.c
20
int error;
fs/orangefs/dir.c
255
od->error = -EIO;
fs/orangefs/dir.c
263
od->error = r;
fs/orangefs/dir.c
309
if (od->error)
fs/orangefs/dir.c
310
return od->error;
fs/orangefs/dir.c
373
od->error = 0;
fs/orangefs/dir.c
84
od->error = bufi;
fs/orangefs/inode.c
1039
int error;
fs/orangefs/inode.c
1054
error = orangefs_inode_getattr(inode, ORANGEFS_GETATTR_NEW);
fs/orangefs/inode.c
1055
if (error) {
fs/orangefs/inode.c
1057
return ERR_PTR(error);
fs/orangefs/inode.c
1083
int error;
fs/orangefs/inode.c
1097
error = posix_acl_create(dir, &mode, &default_acl, &acl);
fs/orangefs/inode.c
1098
if (error)
fs/orangefs/inode.c
1104
error = orangefs_inode_getattr(inode, ORANGEFS_GETATTR_NEW);
fs/orangefs/inode.c
1105
if (error)
fs/orangefs/inode.c
1112
error = __orangefs_set_acl(inode, default_acl,
fs/orangefs/inode.c
1114
if (error)
fs/orangefs/inode.c
1119
error = __orangefs_set_acl(inode, acl, ACL_TYPE_ACCESS);
fs/orangefs/inode.c
1120
if (error)
fs/orangefs/inode.c
1124
error = insert_inode_locked4(inode, hash, orangefs_test_inode, ref);
fs/orangefs/inode.c
1125
if (error < 0)
fs/orangefs/inode.c
1148
return ERR_PTR(error);
fs/orangefs/inode.c
184
int error;
fs/orangefs/inode.c
204
while ((folio = writeback_iter(mapping, wbc, folio, &error)))
fs/orangefs/inode.c
205
error = orangefs_writepages_callback(folio, wbc, ow);
fs/orangefs/inode.c
207
error = orangefs_writepages_work(ow, wbc);
fs/orangefs/inode.c
212
return error;
fs/overlayfs/copy_up.c
108
error = -EIO;
fs/overlayfs/copy_up.c
116
error = security_inode_copy_up_xattr(old, name);
fs/overlayfs/copy_up.c
117
if (error == -ECANCELED) {
fs/overlayfs/copy_up.c
118
error = 0;
fs/overlayfs/copy_up.c
121
if (error < 0 && error != -EOPNOTSUPP)
fs/overlayfs/copy_up.c
125
error = ovl_copy_acl(OVL_FS(sb), oldpath, new, name);
fs/overlayfs/copy_up.c
126
if (!error)
fs/overlayfs/copy_up.c
138
error = size;
fs/overlayfs/copy_up.c
147
error = -ENOMEM;
fs/overlayfs/copy_up.c
156
error = ovl_do_setxattr(OVL_FS(sb), new, name, value, size, 0);
fs/overlayfs/copy_up.c
157
if (error) {
fs/overlayfs/copy_up.c
158
if (error != -EOPNOTSUPP || ovl_must_copy_xattr(name))
fs/overlayfs/copy_up.c
162
error = 0;
fs/overlayfs/copy_up.c
168
return error;
fs/overlayfs/copy_up.c
272
int error = 0;
fs/overlayfs/copy_up.c
289
error = rw_verify_area(READ, old_file, &old_pos, len);
fs/overlayfs/copy_up.c
290
if (!error)
fs/overlayfs/copy_up.c
291
error = rw_verify_area(WRITE, new_file, &new_pos, len);
fs/overlayfs/copy_up.c
292
if (error)
fs/overlayfs/copy_up.c
307
error = -EINTR;
fs/overlayfs/copy_up.c
345
error = ovl_verify_area(old_pos, new_pos, this_len, len);
fs/overlayfs/copy_up.c
346
if (error)
fs/overlayfs/copy_up.c
353
error = bytes;
fs/overlayfs/copy_up.c
361
if (!error && ovl_should_sync(ofs) && datasync)
fs/overlayfs/copy_up.c
362
error = vfs_fsync(new_file, 0);
fs/overlayfs/copy_up.c
365
return error;
fs/overlayfs/copy_up.c
80
int error = 0;
fs/overlayfs/copy_up.c
99
error = list_size;
fs/pipe.c
1000
if (error < 0)
fs/pipe.c
1002
fdw = error;
fs/pipe.c
1014
return error;
fs/pipe.c
1020
int error = __do_pipe_flags(fd, files, flags);
fs/pipe.c
1021
if (!error) {
fs/pipe.c
1025
return error;
fs/pipe.c
1036
int error;
fs/pipe.c
1038
error = __do_pipe_flags(fd, files, flags);
fs/pipe.c
1039
if (!error) {
fs/pipe.c
1045
error = -EFAULT;
fs/pipe.c
1051
return error;
fs/pipe.c
325
int error;
fs/pipe.c
336
error = pipe_buf_confirm(pipe, buf);
fs/pipe.c
337
if (error) {
fs/pipe.c
339
ret = error;
fs/pipe.c
930
int error;
fs/pipe.c
936
error = watch_queue_init(inode->i_pipe);
fs/pipe.c
937
if (error) {
fs/pipe.c
940
return error;
fs/pipe.c
984
int error;
fs/pipe.c
990
error = create_pipe_files(files, flags);
fs/pipe.c
991
if (error)
fs/pipe.c
992
return error;
fs/pipe.c
994
error = get_unused_fd_flags(flags);
fs/pipe.c
995
if (error < 0)
fs/pipe.c
997
fdr = error;
fs/pipe.c
999
error = get_unused_fd_flags(flags);
fs/posix_acl.c
1019
int error;
fs/posix_acl.c
1023
error = posix_acl_update_mode(idmap, inode,
fs/posix_acl.c
1025
if (error)
fs/posix_acl.c
1026
return error;
fs/posix_acl.c
1039
int error;
fs/posix_acl.c
1041
error = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl);
fs/posix_acl.c
1042
if (error)
fs/posix_acl.c
1043
return error;
fs/posix_acl.c
1093
int error;
fs/posix_acl.c
1109
error = vfs_set_acl_idmapped_mnt(idmap, i_user_ns(inode), kacl);
fs/posix_acl.c
1110
if (error)
fs/posix_acl.c
1111
return error;
fs/posix_acl.c
1121
error = may_write_xattr(idmap, inode);
fs/posix_acl.c
1122
if (error)
fs/posix_acl.c
1125
error = security_inode_set_acl(idmap, dentry, acl_name, kacl);
fs/posix_acl.c
1126
if (error)
fs/posix_acl.c
1129
error = try_break_deleg(inode, &delegated_inode);
fs/posix_acl.c
1130
if (error)
fs/posix_acl.c
1134
error = set_posix_acl(idmap, dentry, acl_type, kacl);
fs/posix_acl.c
1136
error = -EIO;
fs/posix_acl.c
1137
if (!error) {
fs/posix_acl.c
1146
error = break_deleg_wait(&delegated_inode);
fs/posix_acl.c
1147
if (!error)
fs/posix_acl.c
1151
return error;
fs/posix_acl.c
1171
int acl_type, error;
fs/posix_acl.c
1181
error = security_inode_get_acl(idmap, dentry, acl_name);
fs/posix_acl.c
1182
if (error)
fs/posix_acl.c
1183
return ERR_PTR(error);
fs/posix_acl.c
1214
int error;
fs/posix_acl.c
1229
error = may_write_xattr(idmap, inode);
fs/posix_acl.c
1230
if (error)
fs/posix_acl.c
1233
error = security_inode_remove_acl(idmap, dentry, acl_name);
fs/posix_acl.c
1234
if (error)
fs/posix_acl.c
1237
error = try_break_deleg(inode, &delegated_inode);
fs/posix_acl.c
1238
if (error)
fs/posix_acl.c
1242
error = set_posix_acl(idmap, dentry, acl_type, NULL);
fs/posix_acl.c
1244
error = -EIO;
fs/posix_acl.c
1245
if (!error) {
fs/posix_acl.c
1254
error = break_deleg_wait(&delegated_inode);
fs/posix_acl.c
1255
if (!error)
fs/posix_acl.c
1259
return error;
fs/posix_acl.c
1266
int error;
fs/posix_acl.c
1279
error = vfs_set_acl(idmap, dentry, acl_name, acl);
fs/posix_acl.c
1281
return error;
fs/posix_acl.c
1287
ssize_t error;
fs/posix_acl.c
1294
error = vfs_posix_acl_to_xattr(idmap, d_inode(dentry),
fs/posix_acl.c
1297
return error;
fs/posix_acl.c
710
int error;
fs/posix_acl.c
712
error = posix_acl_equiv_mode(*acl, &mode);
fs/posix_acl.c
713
if (error < 0)
fs/posix_acl.c
714
return error;
fs/posix_acl.c
715
if (error == 0)
fs/proc/base.c
1804
int error = -EACCES;
fs/proc/base.c
1813
error = PROC_I(inode)->op.proc_get_link(dentry, &path);
fs/proc/base.c
1814
if (error)
fs/proc/base.c
1817
error = nd_jump_link(&path);
fs/proc/base.c
1819
return ERR_PTR(error);
fs/proc/base.c
1848
int error = -EACCES;
fs/proc/base.c
1856
error = PROC_I(inode)->op.proc_get_link(dentry, &path);
fs/proc/base.c
1857
if (error)
fs/proc/base.c
1860
error = do_proc_readlink(&path, buffer, buflen);
fs/proc/base.c
1863
return error;
fs/proc/base.c
727
int error;
fs/proc/base.c
733
error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
fs/proc/base.c
734
if (error)
fs/proc/base.c
735
return error;
fs/proc/generic.c
123
int error;
fs/proc/generic.c
125
error = setattr_prepare(&nop_mnt_idmap, dentry, iattr);
fs/proc/generic.c
126
if (error)
fs/proc/generic.c
127
return error;
fs/proc/namespaces.c
49
int error = -EACCES;
fs/proc/namespaces.c
61
error = ns_get_path(&ns_path, task, ns_ops);
fs/proc/namespaces.c
62
if (error)
fs/proc/namespaces.c
65
error = nd_jump_link(&ns_path);
fs/proc/namespaces.c
68
return ERR_PTR(error);
fs/proc/proc_sysctl.c
561
ssize_t error;
fs/proc/proc_sysctl.c
570
error = -EPERM;
fs/proc/proc_sysctl.c
575
error = -EINVAL;
fs/proc/proc_sysctl.c
580
error = -ENOMEM;
fs/proc/proc_sysctl.c
588
error = -EFAULT;
fs/proc/proc_sysctl.c
594
error = BPF_CGROUP_RUN_PROG_SYSCTL(head, table, write, &kbuf, &count,
fs/proc/proc_sysctl.c
596
if (error)
fs/proc/proc_sysctl.c
600
error = table->proc_handler(table, write, kbuf, &count, &iocb->ki_pos);
fs/proc/proc_sysctl.c
601
if (error)
fs/proc/proc_sysctl.c
605
error = -EFAULT;
fs/proc/proc_sysctl.c
610
error = count;
fs/proc/proc_sysctl.c
616
return error;
fs/proc/proc_sysctl.c
801
int error;
fs/proc/proc_sysctl.c
813
error = mask & MAY_WRITE ? -EACCES : 0;
fs/proc/proc_sysctl.c
815
error = sysctl_perm(head, table, mask & ~MAY_NOT_BLOCK);
fs/proc/proc_sysctl.c
818
return error;
fs/proc/proc_sysctl.c
825
int error;
fs/proc/proc_sysctl.c
830
error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
fs/proc/proc_sysctl.c
831
if (error)
fs/proc/proc_sysctl.c
832
return error;
fs/proc/root.c
414
int error = proc_readdir(file, ctx);
fs/proc/root.c
415
if (unlikely(error <= 0))
fs/proc/root.c
416
return error;
fs/qnx6/inode.c
182
int error = 0;
fs/qnx6/inode.c
193
error = 1;
fs/qnx6/inode.c
195
if (error)
fs/quota/dquot.c
2217
int error;
fs/quota/dquot.c
2219
error = generic_file_open(inode, file);
fs/quota/dquot.c
2220
if (!error && (file->f_mode & FMODE_WRITE))
fs/quota/dquot.c
2221
error = dquot_initialize(inode);
fs/quota/dquot.c
2222
return error;
fs/quota/dquot.c
2412
int error;
fs/quota/dquot.c
2425
error = -EINVAL;
fs/quota/dquot.c
2430
error = -EINVAL;
fs/quota/dquot.c
2435
error = -EINVAL;
fs/quota/dquot.c
2439
error = -EBUSY;
fs/quota/dquot.c
2454
error = -EINVAL;
fs/quota/dquot.c
2462
error = dqopt->ops[type]->read_file_info(sb, type);
fs/quota/dquot.c
2463
if (error < 0)
fs/quota/dquot.c
2474
error = add_dquot_ref(sb, type);
fs/quota/dquot.c
2475
if (error)
fs/quota/dquot.c
2479
return error;
fs/quota/dquot.c
2483
return error;
fs/quota/dquot.c
2542
int error = security_quota_on(path->dentry);
fs/quota/dquot.c
2543
if (error)
fs/quota/dquot.c
2544
return error;
fs/quota/dquot.c
2547
error = -EXDEV;
fs/quota/dquot.c
2549
error = dquot_load_quota_inode(d_inode(path->dentry), type,
fs/quota/dquot.c
2552
return error;
fs/quota/dquot.c
2564
int error;
fs/quota/dquot.c
2570
error = security_quota_on(dentry);
fs/quota/dquot.c
2571
if (!error)
fs/quota/dquot.c
2572
error = dquot_load_quota_inode(d_inode(dentry), type, format_id,
fs/quota/dquot.c
2576
return error;
fs/quota/quota.c
872
int error;
fs/quota/quota.c
877
error = lookup_bdev(tmp->name, &dev);
fs/quota/quota.c
878
if (error)
fs/quota/quota.c
879
return ERR_PTR(error);
fs/ramfs/inode.c
102
int error = -ENOSPC;
fs/ramfs/inode.c
105
error = security_inode_init_security(inode, dir,
fs/ramfs/inode.c
108
if (error) {
fs/ramfs/inode.c
114
error = 0;
fs/ramfs/inode.c
118
return error;
fs/ramfs/inode.c
140
int error = -ENOSPC;
fs/ramfs/inode.c
146
error = security_inode_init_security(inode, dir,
fs/ramfs/inode.c
149
if (error) {
fs/ramfs/inode.c
154
error = page_symlink(inode, symname, l);
fs/ramfs/inode.c
155
if (!error) {
fs/ramfs/inode.c
163
return error;
fs/ramfs/inode.c
170
int error;
fs/ramfs/inode.c
176
error = security_inode_init_security(inode, dir,
fs/ramfs/inode.c
179
if (error) {
fs/ramfs/inode.c
186
return finish_open_simple(file, error);
fs/readdir.c
221
int error;
fs/readdir.c
232
error = iterate_dir(fd_file(f), &buf.ctx);
fs/readdir.c
234
error = buf.result;
fs/readdir.c
236
return error;
fs/readdir.c
256
int error;
fs/readdir.c
274
buf->error = verify_dirent_name(name, namlen);
fs/readdir.c
275
if (unlikely(buf->error))
fs/readdir.c
277
buf->error = -EINVAL; /* only used if we fail.. */
fs/readdir.c
282
buf->error = -EOVERFLOW;
fs/readdir.c
308
buf->error = -EFAULT;
fs/readdir.c
322
int error;
fs/readdir.c
327
error = iterate_dir(fd_file(f), &buf.ctx);
fs/readdir.c
328
if (error >= 0)
fs/readdir.c
329
error = buf.error;
fs/readdir.c
335
error = -EFAULT;
fs/readdir.c
337
error = count - buf.ctx.count;
fs/readdir.c
339
return error;
fs/readdir.c
346
int error;
fs/readdir.c
363
buf->error = verify_dirent_name(name, namlen);
fs/readdir.c
364
if (unlikely(buf->error))
fs/readdir.c
366
buf->error = -EINVAL; /* only used if we fail.. */
fs/readdir.c
393
buf->error = -EFAULT;
fs/readdir.c
407
int error;
fs/readdir.c
412
error = iterate_dir(fd_file(f), &buf.ctx);
fs/readdir.c
413
if (error >= 0)
fs/readdir.c
414
error = buf.error;
fs/readdir.c
421
error = -EFAULT;
fs/readdir.c
423
error = count - buf.ctx.count;
fs/readdir.c
425
return error;
fs/readdir.c
483
int error;
fs/readdir.c
494
error = iterate_dir(fd_file(f), &buf.ctx);
fs/readdir.c
496
error = buf.result;
fs/readdir.c
498
return error;
fs/readdir.c
512
int error;
fs/readdir.c
530
buf->error = verify_dirent_name(name, namlen);
fs/readdir.c
531
if (unlikely(buf->error))
fs/readdir.c
533
buf->error = -EINVAL; /* only used if we fail.. */
fs/readdir.c
538
buf->error = -EOVERFLOW;
fs/readdir.c
563
buf->error = -EFAULT;
fs/readdir.c
577
int error;
fs/readdir.c
582
error = iterate_dir(fd_file(f), &buf.ctx);
fs/readdir.c
583
if (error >= 0)
fs/readdir.c
584
error = buf.error;
fs/readdir.c
590
error = -EFAULT;
fs/readdir.c
592
error = count - buf.ctx.count;
fs/readdir.c
594
return error;
fs/remap_range.c
197
int error = -EINVAL;
fs/remap_range.c
211
error = PTR_ERR(src_folio);
fs/remap_range.c
216
error = PTR_ERR(dst_folio);
fs/remap_range.c
265
return error;
fs/resctrl/rdtgroup.c
2138
goto error;
fs/resctrl/rdtgroup.c
2143
error:
fs/romfs/super.c
215
goto error;
fs/romfs/super.c
231
goto error;
fs/romfs/super.c
237
goto error;
fs/romfs/super.c
251
error:
fs/romfs/super.c
284
goto error;
fs/romfs/super.c
357
error:
fs/select.c
124
pwq->error = 0;
fs/select.c
170
p->error = -ENOMEM;
fs/select.c
577
if (table.error) {
fs/select.c
578
retval = table.error;
fs/select.c
926
count = wait->error;
fs/seq_file.c
109
error = PTR_ERR(p);
fs/seq_file.c
112
error = m->op->show(m, p);
fs/seq_file.c
113
if (error < 0)
fs/seq_file.c
115
if (unlikely(error)) {
fs/seq_file.c
116
error = 0;
fs/seq_file.c
133
return error;
fs/seq_file.c
94
int error = 0;
fs/smb/client/cifsglob.h
1861
static inline bool is_interrupt_error(int error)
fs/smb/client/cifsglob.h
1863
switch (error) {
fs/smb/client/cifsglob.h
1873
static inline bool is_retryable_error(int error)
fs/smb/client/cifsglob.h
1875
if (is_interrupt_error(error) || error == -EAGAIN)
fs/smb/client/cifsglob.h
1880
static inline bool is_replayable_error(int error)
fs/smb/client/cifsglob.h
1882
if (error == -EAGAIN || error == -ECONNABORTED)
fs/smb/client/cifssmb.c
1562
rdata->subreq.error = rdata->result;
fs/smb/client/cifssmb.c
2998
goto error;
fs/smb/client/cifssmb.c
3023
goto error;
fs/smb/client/cifssmb.c
3031
goto error;
fs/smb/client/cifssmb.c
3038
goto error;
fs/smb/client/cifssmb.c
3049
goto error;
fs/smb/client/cifssmb.c
3058
goto error;
fs/smb/client/cifssmb.c
3068
goto error;
fs/smb/client/cifssmb.c
3078
error:
fs/smb/client/connect.c
3856
goto error;
fs/smb/client/connect.c
3862
goto error;
fs/smb/client/connect.c
3886
goto error;
fs/smb/client/connect.c
3894
error:
fs/smb/client/connect.c
3909
goto error;
fs/smb/client/connect.c
3925
goto error;
fs/smb/client/connect.c
3931
goto error;
fs/smb/client/connect.c
3937
goto error;
fs/smb/client/connect.c
3943
goto error;
fs/smb/client/connect.c
3951
error:
fs/smb/client/file.c
245
subreq->error = rc;
fs/smb/client/file.c
321
int rc = subreq->error;
fs/smb/client/file.c
77
subreq->error = rc;
fs/smb/client/file.c
85
subreq->error = rc;
fs/smb/client/smb2pdu.c
4634
rdata->subreq.error = rc;
fs/smb/client/smb2pdu.c
4731
rdata->subreq.error = rdata->result;
fs/smb/client/smb2pdu.c
4961
wdata->subreq.error = result;
fs/smb/client/smbdirect.c
2534
int error = 0;
fs/smb/client/smbdirect.c
2580
error = rc;
fs/smb/client/smbdirect.c
2589
error = rc;
fs/smb/client/smbdirect.c
2597
if (unlikely(!rc && error))
fs/smb/client/smbdirect.c
2598
rc = error;
fs/smb/client/smbdirect.c
788
goto error;
fs/smb/client/smbdirect.c
831
goto error;
fs/smb/client/smbdirect.c
838
goto error;
fs/smb/client/smbdirect.c
843
goto error;
fs/smb/client/smbdirect.c
914
error:
fs/smb/client/transport.c
643
int error;
fs/smb/client/transport.c
648
error = wait_event_state(server->response_q,
fs/smb/client/transport.c
652
if (error < 0)
fs/smb/common/smbdirect/smbdirect_socket.h
569
int error;
fs/smb/common/smbdirect/smbdirect_socket.h
83
const void * __must_check SMBDIRECT_DEBUG_ERR_PTR(long error)
fs/smb/common/smbdirect/smbdirect_socket.h
85
if (error == 0)
fs/smb/common/smbdirect/smbdirect_socket.h
87
return ERR_PTR(error);
fs/smb/server/mgmt/user_session.c
671
goto error;
fs/smb/server/mgmt/user_session.c
687
goto error;
fs/smb/server/mgmt/user_session.c
699
error:
fs/smb/server/smb_common.c
660
static void smb_shared_mode_error(int error, struct ksmbd_file *prev_fp,
fs/smb/server/smb_common.c
663
ksmbd_debug(SMB, "%s\n", shared_mode_errors[error]);
fs/smb/server/transport_rdma.c
1625
int error = 0;
fs/smb/server/transport_rdma.c
1653
error = -EINVAL;
fs/smb/server/transport_rdma.c
1711
error = -EINVAL;
fs/smb/server/transport_rdma.c
1733
error = ret;
fs/smb/server/transport_rdma.c
1740
if (unlikely(!ret && error))
fs/smb/server/transport_rdma.c
1741
ret = error;
fs/smb/server/transport_rdma.c
1779
msg->error = -EIO;
fs/smb/server/transport_rdma.c
1913
ret = msg->error;
fs/smb/server/vfs.c
301
int error = 0;
fs/smb/server/vfs.c
316
error = 1;
fs/smb/server/vfs.c
322
error = 1;
fs/smb/server/vfs.c
331
return error;
fs/splice.c
134
goto error;
fs/splice.c
142
goto error;
fs/splice.c
150
error:
fs/splice.c
1584
ssize_t error;
fs/splice.c
1600
error = import_iovec(type, uiov, nr_segs,
fs/splice.c
1602
if (error < 0)
fs/splice.c
1603
return error;
fs/splice.c
1606
error = 0;
fs/splice.c
1608
error = vmsplice_to_pipe(fd_file(f), &iter, flags);
fs/splice.c
1610
error = vmsplice_to_user(fd_file(f), &iter, flags);
fs/splice.c
1613
return error;
fs/squashfs/block.c
228
int error, i;
fs/squashfs/block.c
248
error = -ENOMEM;
fs/squashfs/block.c
262
error = squashfs_bio_read_cached(bio, cache_mapping, index,
fs/squashfs/block.c
266
error = submit_bio_wait(bio);
fs/squashfs/block.c
267
if (error)
fs/squashfs/block.c
278
return error;
fs/squashfs/cache.c
107
entry->error = 0;
fs/squashfs/cache.c
116
entry->error = entry->length;
fs/squashfs/cache.c
161
cache->name, i, entry->block, entry->refcount, entry->error);
fs/squashfs/cache.c
163
if (entry->error)
fs/squashfs/cache.c
352
if (entry->error) {
fs/squashfs/cache.c
353
res = entry->error;
fs/squashfs/cache.c
354
goto error;
fs/squashfs/cache.c
357
goto error;
fs/squashfs/cache.c
376
error:
fs/squashfs/file.c
442
int res = buffer->error;
fs/squashfs/file.c
518
if (buffer->error)
fs/squashfs/file_cache.c
26
int res = buffer->error;
fs/squashfs/squashfs_fs_sb.h
35
int error;
fs/squashfs/symlink.c
42
int bytes, copied, error;
fs/squashfs/symlink.c
59
error = bytes;
fs/squashfs/symlink.c
73
if (entry->error) {
fs/squashfs/symlink.c
78
error = entry->error;
fs/squashfs/symlink.c
94
error = 0;
fs/squashfs/symlink.c
96
folio_end_read(folio, error == 0);
fs/squashfs/symlink.c
97
return error;
fs/squashfs/xz_wrapper.c
125
int total = 0, error = 0;
fs/squashfs/xz_wrapper.c
135
error = PTR_ERR(stream->buf.out);
fs/squashfs/xz_wrapper.c
148
error = -EIO;
fs/squashfs/xz_wrapper.c
164
error = PTR_ERR(stream->buf.out);
fs/squashfs/xz_wrapper.c
176
error = -EIO;
fs/squashfs/xz_wrapper.c
184
return error ? error : total + stream->buf.out_pos;
fs/squashfs/zlib_wrapper.c
103
error = -EIO;
fs/squashfs/zlib_wrapper.c
113
error = -EIO;
fs/squashfs/zlib_wrapper.c
121
if (!error)
fs/squashfs/zlib_wrapper.c
123
error = -EIO;
fs/squashfs/zlib_wrapper.c
125
return error ? error : stream->total_out;
fs/squashfs/zlib_wrapper.c
58
int zlib_init = 0, error = 0;
fs/squashfs/zlib_wrapper.c
66
error = PTR_ERR(stream->next_out);
fs/squashfs/zlib_wrapper.c
79
error = -EIO;
fs/squashfs/zlib_wrapper.c
94
error = PTR_ERR(stream->next_out);
fs/squashfs/zstd_wrapper.c
112
error = PTR_ERR(out_buf.dst);
fs/squashfs/zstd_wrapper.c
118
error = -EIO;
fs/squashfs/zstd_wrapper.c
134
error = -EIO;
fs/squashfs/zstd_wrapper.c
143
return error ? error : total_out;
fs/squashfs/zstd_wrapper.c
68
int error = 0;
fs/squashfs/zstd_wrapper.c
84
error = PTR_ERR(out_buf.dst);
fs/squashfs/zstd_wrapper.c
96
error = -EIO;
fs/stat.c
299
int error = vfs_getattr(path, stat, request_mask, flags);
fs/stat.c
300
if (error)
fs/stat.c
301
return error;
fs/stat.c
346
int error;
fs/stat.c
353
error = filename_lookup(dfd, filename, lookup_flags, &path, NULL);
fs/stat.c
354
if (error)
fs/stat.c
355
return error;
fs/stat.c
356
error = vfs_statx_path(&path, flags, stat, request_mask);
fs/stat.c
358
if (retry_estale(error, lookup_flags)) {
fs/stat.c
362
return error;
fs/stat.c
424
int error;
fs/stat.c
426
error = vfs_stat(filename, &stat);
fs/stat.c
427
if (unlikely(error))
fs/stat.c
428
return error;
fs/stat.c
437
int error;
fs/stat.c
439
error = vfs_lstat(filename, &stat);
fs/stat.c
440
if (unlikely(error))
fs/stat.c
441
return error;
fs/stat.c
449
int error;
fs/stat.c
451
error = vfs_fstat(fd, &stat);
fs/stat.c
452
if (unlikely(error))
fs/stat.c
453
return error;
fs/stat.c
509
int error;
fs/stat.c
511
error = vfs_stat(filename, &stat);
fs/stat.c
512
if (unlikely(error))
fs/stat.c
513
return error;
fs/stat.c
522
int error;
fs/stat.c
524
error = vfs_lstat(filename, &stat);
fs/stat.c
525
if (unlikely(error))
fs/stat.c
526
return error;
fs/stat.c
536
int error;
fs/stat.c
538
error = vfs_fstatat(dfd, filename, &stat, flag);
fs/stat.c
539
if (unlikely(error))
fs/stat.c
540
return error;
fs/stat.c
549
int error;
fs/stat.c
551
error = vfs_fstat(fd, &stat);
fs/stat.c
552
if (unlikely(error))
fs/stat.c
553
return error;
fs/stat.c
563
int error;
fs/stat.c
571
error = filename_lookup(dfd, name, lookup_flags, &path, NULL);
fs/stat.c
572
if (unlikely(error))
fs/stat.c
573
return error;
fs/stat.c
580
error = security_inode_readlink(path.dentry);
fs/stat.c
581
if (!error) {
fs/stat.c
583
error = vfs_readlink(path.dentry, buf, bufsiz);
fs/stat.c
586
error = (name->name[0] == '\0') ? -ENOENT : -EINVAL;
fs/stat.c
589
if (retry_estale(error, lookup_flags)) {
fs/stat.c
593
return error;
fs/stat.c
655
int error = vfs_stat(filename, &stat);
fs/stat.c
657
if (!error)
fs/stat.c
658
error = cp_new_stat64(&stat, statbuf);
fs/stat.c
660
return error;
fs/stat.c
667
int error = vfs_lstat(filename, &stat);
fs/stat.c
669
if (!error)
fs/stat.c
670
error = cp_new_stat64(&stat, statbuf);
fs/stat.c
672
return error;
fs/stat.c
678
int error = vfs_fstat(fd, &stat);
fs/stat.c
680
if (!error)
fs/stat.c
681
error = cp_new_stat64(&stat, statbuf);
fs/stat.c
683
return error;
fs/stat.c
690
int error;
fs/stat.c
692
error = vfs_fstatat(dfd, filename, &stat, flag);
fs/stat.c
693
if (error)
fs/stat.c
694
return error;
fs/stat.c
748
int error;
fs/stat.c
761
error = vfs_statx(dfd, filename, flags, &stat, mask);
fs/stat.c
762
if (error)
fs/stat.c
763
return error;
fs/stat.c
772
int error;
fs/stat.c
785
error = vfs_statx_fd(fd, flags, &stat, mask);
fs/stat.c
786
if (error)
fs/stat.c
787
return error;
fs/stat.c
857
int error;
fs/stat.c
859
error = vfs_stat(filename, &stat);
fs/stat.c
860
if (error)
fs/stat.c
861
return error;
fs/stat.c
869
int error;
fs/stat.c
871
error = vfs_lstat(filename, &stat);
fs/stat.c
872
if (error)
fs/stat.c
873
return error;
fs/stat.c
883
int error;
fs/stat.c
885
error = vfs_fstatat(dfd, filename, &stat, flag);
fs/stat.c
886
if (error)
fs/stat.c
887
return error;
fs/stat.c
896
int error = vfs_fstat(fd, &stat);
fs/stat.c
898
if (!error)
fs/stat.c
899
error = cp_compat_stat(&stat, statbuf);
fs/stat.c
900
return error;
fs/statfs.c
100
int error;
fs/statfs.c
104
error = filename_lookup(AT_FDCWD, name, lookup_flags, &path, NULL);
fs/statfs.c
105
if (!error) {
fs/statfs.c
106
error = vfs_statfs(&path, st);
fs/statfs.c
108
if (retry_estale(error, lookup_flags)) {
fs/statfs.c
113
return error;
fs/statfs.c
194
int error = user_statfs(pathname, &st);
fs/statfs.c
195
if (!error)
fs/statfs.c
196
error = do_statfs_native(&st, buf);
fs/statfs.c
197
return error;
fs/statfs.c
203
int error;
fs/statfs.c
206
error = user_statfs(pathname, &st);
fs/statfs.c
207
if (!error)
fs/statfs.c
208
error = do_statfs64(&st, buf);
fs/statfs.c
209
return error;
fs/statfs.c
215
int error = fd_statfs(fd, &st);
fs/statfs.c
216
if (!error)
fs/statfs.c
217
error = do_statfs_native(&st, buf);
fs/statfs.c
218
return error;
fs/statfs.c
224
int error;
fs/statfs.c
229
error = fd_statfs(fd, &st);
fs/statfs.c
230
if (!error)
fs/statfs.c
231
error = do_statfs64(&st, buf);
fs/statfs.c
232
return error;
fs/statfs.c
307
int error = user_statfs(pathname, &tmp);
fs/statfs.c
308
if (!error)
fs/statfs.c
309
error = put_compat_statfs(buf, &tmp);
fs/statfs.c
310
return error;
fs/statfs.c
316
int error = fd_statfs(fd, &tmp);
fs/statfs.c
317
if (!error)
fs/statfs.c
318
error = put_compat_statfs(buf, &tmp);
fs/statfs.c
319
return error;
fs/statfs.c
350
int error;
fs/statfs.c
355
error = user_statfs(pathname, &tmp);
fs/statfs.c
356
if (!error)
fs/statfs.c
357
error = put_compat_statfs64(buf, &tmp);
fs/statfs.c
358
return error;
fs/statfs.c
369
int error;
fs/statfs.c
374
error = fd_statfs(fd, &tmp);
fs/statfs.c
375
if (!error)
fs/statfs.c
376
error = put_compat_statfs64(buf, &tmp);
fs/statfs.c
377
return error;
fs/statfs.c
75
int error;
fs/statfs.c
77
error = statfs_by_dentry(dentry, &st);
fs/statfs.c
78
if (error)
fs/statfs.c
79
return error;
fs/statfs.c
88
int error;
fs/statfs.c
90
error = statfs_by_dentry(path->dentry, buf);
fs/statfs.c
91
if (!error)
fs/statfs.c
93
return error;
fs/super.c
1329
goto error;
fs/super.c
1337
error:
fs/super.c
1530
int error = 0;
fs/super.c
1539
error = sb->s_op->freeze_super(sb,
fs/super.c
1542
error = freeze_super(sb,
fs/super.c
1544
if (!error)
fs/super.c
1545
error = sync_blockdev(bdev);
fs/super.c
1547
return error;
fs/super.c
1570
int error;
fs/super.c
1588
error = sb->s_op->thaw_super(sb,
fs/super.c
1591
error = thaw_super(sb,
fs/super.c
1594
return error;
fs/super.c
1667
int error = 0;
fs/super.c
1673
error = lookup_bdev(fc->source, &dev);
fs/super.c
1674
if (error) {
fs/super.c
1677
return error;
fs/super.c
1692
error = setup_bdev_super(s, fc->sb_flags, fc);
fs/super.c
1693
if (!error)
fs/super.c
1694
error = fill_super(s, fc);
fs/super.c
1695
if (error) {
fs/super.c
1697
return error;
fs/super.c
1746
int error;
fs/super.c
1754
error = fc->ops->get_tree(fc);
fs/super.c
1755
if (error < 0)
fs/super.c
1756
return error;
fs/super.c
1760
fc->fs_type->name, error);
fs/super.c
1779
error = security_sb_set_mnt_opts(sb, fc->security, 0, NULL);
fs/super.c
1780
if (unlikely(error)) {
fs/super.c
1782
return error;
fs/super.c
2170
int error = -EINVAL;
fs/super.c
2195
error = sb->s_op->unfreeze_fs(sb);
fs/super.c
2196
if (error) {
fs/super.c
2214
return error;
fs/sysfs/file.c
404
int error;
fs/sysfs/file.c
417
error = sysfs_add_file_mode_ns(parent, attr, attr->mode, uid, gid,
fs/sysfs/file.c
421
return error;
fs/sysfs/file.c
635
int error;
fs/sysfs/file.c
640
error = -ENOENT;
fs/sysfs/file.c
645
error = -EINVAL;
fs/sysfs/file.c
651
error = internal_change_owner(kn, kuid, kgid);
fs/sysfs/file.c
655
return error;
fs/sysfs/file.c
674
int error;
fs/sysfs/file.c
686
error = internal_change_owner(kn, kuid, kgid);
fs/sysfs/file.c
690
return error;
fs/sysfs/file.c
713
int error;
fs/sysfs/file.c
720
error = internal_change_owner(kobj->sd, kuid, kgid);
fs/sysfs/file.c
721
if (error)
fs/sysfs/file.c
722
return error;
fs/sysfs/file.c
730
error = sysfs_groups_change_owner(kobj, ktype->default_groups,
fs/sysfs/file.c
732
if (error)
fs/sysfs/file.c
733
return error;
fs/sysfs/group.c
115
error = sysfs_add_bin_file_mode_ns(parent, *bin_attr,
fs/sysfs/group.c
118
if (error)
fs/sysfs/group.c
121
if (error)
fs/sysfs/group.c
125
return error;
fs/sysfs/group.c
135
int error;
fs/sysfs/group.c
189
error = create_files(kn, kobj, uid, gid, grp, update);
fs/sysfs/group.c
190
if (error) {
fs/sysfs/group.c
199
return error;
fs/sysfs/group.c
222
int error = 0;
fs/sysfs/group.c
229
error = internal_create_group(kobj, update, groups[i]);
fs/sysfs/group.c
230
if (error) {
fs/sysfs/group.c
236
return error;
fs/sysfs/group.c
371
int error = 0;
fs/sysfs/group.c
381
for ((i = 0, attr = grp->attrs); *attr && !error; (++i, ++attr))
fs/sysfs/group.c
382
error = sysfs_add_file_mode_ns(parent, *attr, (*attr)->mode,
fs/sysfs/group.c
384
if (error) {
fs/sysfs/group.c
390
return error;
fs/sysfs/group.c
425
int error = 0;
fs/sysfs/group.c
431
error = sysfs_create_link_sd(parent, target, link_name);
fs/sysfs/group.c
434
return error;
fs/sysfs/group.c
513
int error, i;
fs/sysfs/group.c
531
error = kernfs_setattr(kn, newattrs);
fs/sysfs/group.c
533
if (error)
fs/sysfs/group.c
534
return error;
fs/sysfs/group.c
54
int error = 0, i;
fs/sysfs/group.c
553
error = kernfs_setattr(kn, newattrs);
fs/sysfs/group.c
555
if (error)
fs/sysfs/group.c
556
return error;
fs/sysfs/group.c
57
for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++) {
fs/sysfs/group.c
577
int error;
fs/sysfs/group.c
596
error = kernfs_setattr(grp_kn, &newattrs);
fs/sysfs/group.c
597
if (!error)
fs/sysfs/group.c
598
error = sysfs_group_attrs_change_owner(kobj, grp_kn, grp, &newattrs);
fs/sysfs/group.c
602
return error;
fs/sysfs/group.c
619
int error = 0, i;
fs/sysfs/group.c
628
error = sysfs_group_change_owner(kobj, groups[i], kuid, kgid);
fs/sysfs/group.c
629
if (error)
fs/sysfs/group.c
633
return error;
fs/sysfs/group.c
82
error = sysfs_add_file_mode_ns(parent, *attr, mode, uid,
fs/sysfs/group.c
84
if (unlikely(error))
fs/sysfs/group.c
87
if (error) {
fs/tracefs/inode.c
548
int error;
fs/tracefs/inode.c
552
error = simple_pin_fs(&trace_fs_type, &tracefs_mount,
fs/tracefs/inode.c
554
if (error)
fs/tracefs/inode.c
555
return ERR_PTR(error);
fs/ubifs/file.c
1055
int error;
fs/ubifs/file.c
1057
while ((folio = writeback_iter(mapping, wbc, folio, &error)))
fs/ubifs/file.c
1058
error = ubifs_writepage(folio, wbc);
fs/ubifs/file.c
1059
return error;
fs/ubifs/recovery.c
655
goto error;
fs/ubifs/recovery.c
675
goto error;
fs/ubifs/recovery.c
773
goto error;
fs/ubifs/recovery.c
784
error:
fs/ubifs/scan.c
300
goto error;
fs/ubifs/scan.c
305
goto error;
fs/ubifs/scan.c
344
error:
fs/udf/file.c
220
int error;
fs/udf/file.c
222
error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
fs/udf/file.c
223
if (error)
fs/udf/file.c
224
return error;
fs/udf/file.c
238
error = udf_setsize(inode, attr->ia_size);
fs/udf/file.c
240
if (error)
fs/udf/file.c
241
return error;
fs/udf/super.c
656
int error = 0;
fs/udf/super.c
681
return error;
fs/ufs/dir.c
118
char *error;
fs/ufs/dir.c
158
error = "rec_len is smaller than minimal";
fs/ufs/dir.c
161
error = "unaligned directory entry";
fs/ufs/dir.c
164
error = "rec_len is too small for name_len";
fs/ufs/dir.c
167
error = "directory entry across blocks";
fs/ufs/dir.c
170
error = "inode out of bounds";
fs/ufs/dir.c
174
dir->i_ino, error, folio_pos(folio) + offs,
fs/ufs/inode.c
1204
int error;
fs/ufs/inode.c
1206
error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
fs/ufs/inode.c
1207
if (error)
fs/ufs/inode.c
1208
return error;
fs/ufs/inode.c
1211
error = ufs_truncate(inode, attr->ia_size);
fs/ufs/inode.c
1212
if (error)
fs/ufs/inode.c
1213
return error;
fs/ufs/namei.c
154
int error;
fs/ufs/namei.c
160
error = ufs_add_link(dentry, inode);
fs/ufs/namei.c
161
if (error) {
fs/ufs/namei.c
166
return error;
fs/unicode/mkutf8data.c
1887
static void open_fail(const char *name, int error)
fs/unicode/mkutf8data.c
1889
printf("Error %d opening %s: %s\n", error, name, strerror(error));
fs/utimes.c
101
if (retry_estale(error, lookup_flags)) {
fs/utimes.c
105
return error;
fs/utimes.c
23
int error;
fs/utimes.c
37
error = mnt_want_write(path->mnt);
fs/utimes.c
38
if (error)
fs/utimes.c
67
error = notify_change(mnt_idmap(path->mnt), path->dentry, &newattrs,
fs/utimes.c
71
error = break_deleg_wait(&delegated_inode);
fs/utimes.c
72
if (!error)
fs/utimes.c
78
return error;
fs/utimes.c
86
int lookup_flags = 0, error;
fs/utimes.c
96
error = filename_lookup(dfd, name, lookup_flags, &path, NULL);
fs/utimes.c
97
if (error)
fs/utimes.c
98
return error;
fs/utimes.c
99
error = vfs_utimes(&path, times);
fs/vboxsf/file.c
272
int error;
fs/vboxsf/file.c
278
while ((folio = writeback_iter(mapping, wbc, folio, &error))) {
fs/vboxsf/file.c
287
error = vboxsf_write(sf_handle->root, sf_handle->handle,
fs/vboxsf/file.c
297
if (error == 0)
fs/vboxsf/file.c
299
return error;
fs/verity/verify.c
253
goto error;
fs/verity/verify.c
315
error:
fs/xattr.c
1015
int error = mnt_want_write_file(f);
fs/xattr.c
1017
if (!error) {
fs/xattr.c
1019
error = removexattr(file_mnt_idmap(f),
fs/xattr.c
1023
return error;
fs/xattr.c
1030
int error;
fs/xattr.c
1033
error = filename_lookup(dfd, filename, lookup_flags, &path, NULL);
fs/xattr.c
1034
if (error)
fs/xattr.c
1035
return error;
fs/xattr.c
1036
error = mnt_want_write(path.mnt);
fs/xattr.c
1037
if (!error) {
fs/xattr.c
1038
error = removexattr(mnt_idmap(path.mnt), path.dentry, kname->name);
fs/xattr.c
1042
if (retry_estale(error, lookup_flags)) {
fs/xattr.c
1046
return error;
fs/xattr.c
1054
int error;
fs/xattr.c
1059
error = import_xattr_name(&kname, name);
fs/xattr.c
1060
if (error)
fs/xattr.c
1061
return error;
fs/xattr.c
227
int error = -EAGAIN;
fs/xattr.c
234
error = __vfs_setxattr(idmap, dentry, inode, name, value,
fs/xattr.c
236
if (!error) {
fs/xattr.c
245
if (error == -EAGAIN) {
fs/xattr.c
246
error = -EOPNOTSUPP;
fs/xattr.c
251
error = security_inode_setsecurity(inode, suffix, value,
fs/xattr.c
253
if (!error)
fs/xattr.c
258
return error;
fs/xattr.c
280
int error;
fs/xattr.c
282
error = xattr_permission(idmap, inode, name, MAY_WRITE);
fs/xattr.c
283
if (error)
fs/xattr.c
284
return error;
fs/xattr.c
286
error = security_inode_setxattr(idmap, dentry, name, value, size,
fs/xattr.c
288
if (error)
fs/xattr.c
291
error = try_break_deleg(inode, delegated_inode);
fs/xattr.c
292
if (error)
fs/xattr.c
295
error = __vfs_setxattr_noperm(idmap, dentry, name, value,
fs/xattr.c
299
return error;
fs/xattr.c
310
int error;
fs/xattr.c
313
error = cap_convert_nscap(idmap, dentry, &value, size);
fs/xattr.c
314
if (error < 0)
fs/xattr.c
315
return error;
fs/xattr.c
316
size = error;
fs/xattr.c
321
error = __vfs_setxattr_locked(idmap, dentry, name, value, size,
fs/xattr.c
326
error = break_deleg_wait(&delegated_inode);
fs/xattr.c
327
if (!error)
fs/xattr.c
333
return error;
fs/xattr.c
382
int error;
fs/xattr.c
384
error = xattr_permission(idmap, inode, name, MAY_READ);
fs/xattr.c
385
if (error)
fs/xattr.c
386
return error;
fs/xattr.c
393
error = handler->get(handler, dentry, inode, name, NULL, 0);
fs/xattr.c
394
if (error < 0)
fs/xattr.c
395
return error;
fs/xattr.c
397
if (!value || (error > xattr_size)) {
fs/xattr.c
398
value = krealloc(*xattr_value, error + 1, flags);
fs/xattr.c
401
memset(value, 0, error + 1);
fs/xattr.c
404
error = handler->get(handler, dentry, inode, name, value, error);
fs/xattr.c
406
return error;
fs/xattr.c
432
int error;
fs/xattr.c
434
error = xattr_permission(idmap, inode, name, MAY_READ);
fs/xattr.c
435
if (error)
fs/xattr.c
436
return error;
fs/xattr.c
438
error = security_inode_getxattr(dentry, name);
fs/xattr.c
439
if (error)
fs/xattr.c
440
return error;
fs/xattr.c
486
ssize_t error;
fs/xattr.c
488
error = security_inode_listxattr(dentry);
fs/xattr.c
489
if (error)
fs/xattr.c
490
return error;
fs/xattr.c
493
error = inode->i_op->listxattr(dentry, list, size);
fs/xattr.c
495
error = security_inode_listsecurity(inode, list, size);
fs/xattr.c
496
if (size && error > size)
fs/xattr.c
497
error = -ERANGE;
fs/xattr.c
499
return error;
fs/xattr.c
539
int error;
fs/xattr.c
541
error = xattr_permission(idmap, inode, name, MAY_WRITE);
fs/xattr.c
542
if (error)
fs/xattr.c
543
return error;
fs/xattr.c
545
error = security_inode_removexattr(idmap, dentry, name);
fs/xattr.c
546
if (error)
fs/xattr.c
549
error = try_break_deleg(inode, delegated_inode);
fs/xattr.c
550
if (error)
fs/xattr.c
553
error = __vfs_removexattr(idmap, dentry, name);
fs/xattr.c
554
if (error)
fs/xattr.c
555
return error;
fs/xattr.c
561
return error;
fs/xattr.c
571
int error;
fs/xattr.c
575
error = __vfs_removexattr_locked(idmap, dentry,
fs/xattr.c
580
error = break_deleg_wait(&delegated_inode);
fs/xattr.c
581
if (!error)
fs/xattr.c
585
return error;
fs/xattr.c
591
int error = strncpy_from_user(kname->name, name,
fs/xattr.c
593
if (error == 0 || error == sizeof(kname->name))
fs/xattr.c
595
if (error < 0)
fs/xattr.c
596
return error;
fs/xattr.c
606
int error;
fs/xattr.c
611
error = import_xattr_name(ctx->kname, name);
fs/xattr.c
612
if (error)
fs/xattr.c
613
return error;
fs/xattr.c
621
error = PTR_ERR(ctx->kvalue);
fs/xattr.c
626
return error;
fs/xattr.c
642
int error = mnt_want_write_file(f);
fs/xattr.c
644
if (!error) {
fs/xattr.c
646
error = do_setxattr(file_mnt_idmap(f), f->f_path.dentry, ctx);
fs/xattr.c
649
return error;
fs/xattr.c
656
int error;
fs/xattr.c
659
error = filename_lookup(dfd, filename, lookup_flags, &path, NULL);
fs/xattr.c
660
if (error)
fs/xattr.c
661
return error;
fs/xattr.c
662
error = mnt_want_write(path.mnt);
fs/xattr.c
663
if (!error) {
fs/xattr.c
664
error = do_setxattr(mnt_idmap(path.mnt), path.dentry, ctx);
fs/xattr.c
668
if (retry_estale(error, lookup_flags)) {
fs/xattr.c
672
return error;
fs/xattr.c
688
int error;
fs/xattr.c
696
error = setxattr_copy(name, &ctx);
fs/xattr.c
697
if (error)
fs/xattr.c
698
return error;
fs/xattr.c
704
error = -EBADF;
fs/xattr.c
706
error = file_setxattr(fd_file(f), &ctx);
fs/xattr.c
708
error = filename_setxattr(dfd, filename, lookup_flags, &ctx);
fs/xattr.c
711
return error;
fs/xattr.c
719
int error;
fs/xattr.c
729
error = copy_struct_from_user(&args, sizeof(args), uargs, usize);
fs/xattr.c
730
if (error)
fs/xattr.c
731
return error;
fs/xattr.c
767
ssize_t error;
fs/xattr.c
780
error = do_get_acl(idmap, d, kname, kvalue, ctx->size);
fs/xattr.c
782
error = vfs_getxattr(idmap, d, kname, kvalue, ctx->size);
fs/xattr.c
783
if (error > 0) {
fs/xattr.c
784
if (ctx->size && copy_to_user(ctx->value, kvalue, error))
fs/xattr.c
785
error = -EFAULT;
fs/xattr.c
786
} else if (error == -ERANGE && ctx->size >= XATTR_SIZE_MAX) {
fs/xattr.c
789
error = -E2BIG;
fs/xattr.c
793
return error;
fs/xattr.c
806
ssize_t error;
fs/xattr.c
808
error = filename_lookup(dfd, filename, lookup_flags, &path, NULL);
fs/xattr.c
809
if (error)
fs/xattr.c
810
return error;
fs/xattr.c
811
error = do_getxattr(mnt_idmap(path.mnt), path.dentry, ctx);
fs/xattr.c
813
if (retry_estale(error, lookup_flags)) {
fs/xattr.c
817
return error;
fs/xattr.c
831
ssize_t error;
fs/xattr.c
836
error = import_xattr_name(&kname, name);
fs/xattr.c
837
if (error)
fs/xattr.c
838
return error;
fs/xattr.c
858
int error;
fs/xattr.c
868
error = copy_struct_from_user(&args, sizeof(args), uargs, usize);
fs/xattr.c
869
if (error)
fs/xattr.c
870
return error;
fs/xattr.c
904
ssize_t error;
fs/xattr.c
915
error = vfs_listxattr(d, klist, size);
fs/xattr.c
916
if (error > 0) {
fs/xattr.c
917
if (size && copy_to_user(list, klist, error))
fs/xattr.c
918
error = -EFAULT;
fs/xattr.c
919
} else if (error == -ERANGE && size >= XATTR_LIST_MAX) {
fs/xattr.c
922
error = -E2BIG;
fs/xattr.c
927
return error;
fs/xattr.c
943
ssize_t error;
fs/xattr.c
945
error = filename_lookup(dfd, filename, lookup_flags, &path, NULL);
fs/xattr.c
946
if (error)
fs/xattr.c
947
return error;
fs/xattr.c
948
error = listxattr(path.dentry, list, size);
fs/xattr.c
950
if (retry_estale(error, lookup_flags)) {
fs/xattr.c
954
return error;
fs/xfs/libxfs/xfs_ag.c
1005
return error;
fs/xfs/libxfs/xfs_ag.c
105
return error;
fs/xfs/libxfs/xfs_ag.c
225
int error;
fs/xfs/libxfs/xfs_ag.c
238
error = xfs_buf_cache_init(&pag->pag_bcache);
fs/xfs/libxfs/xfs_ag.c
239
if (error)
fs/xfs/libxfs/xfs_ag.c
251
error = xfs_group_insert(mp, pag_group(pag), index, XG_TYPE_AG);
fs/xfs/libxfs/xfs_ag.c
252
if (error)
fs/xfs/libxfs/xfs_ag.c
261
return error;
fs/xfs/libxfs/xfs_ag.c
273
int error;
fs/xfs/libxfs/xfs_ag.c
279
error = xfs_perag_alloc(mp, index, new_agcount, dblocks);
fs/xfs/libxfs/xfs_ag.c
280
if (error)
fs/xfs/libxfs/xfs_ag.c
290
return error;
fs/xfs/libxfs/xfs_ag.c
302
int error;
fs/xfs/libxfs/xfs_ag.c
304
error = xfs_buf_get_uncached(mp->m_ddev_targp, numblks, &bp);
fs/xfs/libxfs/xfs_ag.c
305
if (error)
fs/xfs/libxfs/xfs_ag.c
306
return error;
fs/xfs/libxfs/xfs_ag.c
57
int error = 0;
fs/xfs/libxfs/xfs_ag.c
600
int error;
fs/xfs/libxfs/xfs_ag.c
602
error = xfs_get_aghdr_buf(mp, id->daddr, id->numblks, &bp, ops);
fs/xfs/libxfs/xfs_ag.c
603
if (error)
fs/xfs/libxfs/xfs_ag.c
604
return error;
fs/xfs/libxfs/xfs_ag.c
65
error = xfs_alloc_read_agf(pag, NULL, 0, NULL);
fs/xfs/libxfs/xfs_ag.c
66
if (!error)
fs/xfs/libxfs/xfs_ag.c
67
error = xfs_ialloc_read_agi(pag, NULL, 0, NULL);
fs/xfs/libxfs/xfs_ag.c
68
if (error) {
fs/xfs/libxfs/xfs_ag.c
70
return error;
fs/xfs/libxfs/xfs_ag.c
720
int error = 0;
fs/xfs/libxfs/xfs_ag.c
731
error = xfs_ag_init_hdr(mp, id, dp->work, dp->ops);
fs/xfs/libxfs/xfs_ag.c
732
if (error)
fs/xfs/libxfs/xfs_ag.c
735
return error;
fs/xfs/libxfs/xfs_ag.c
759
int error, err2;
fs/xfs/libxfs/xfs_ag.c
762
error = xfs_ialloc_read_agi(pag, *tpp, 0, &agibp);
fs/xfs/libxfs/xfs_ag.c
763
if (error)
fs/xfs/libxfs/xfs_ag.c
764
return error;
fs/xfs/libxfs/xfs_ag.c
768
error = xfs_alloc_read_agf(pag, *tpp, 0, &agfbp);
fs/xfs/libxfs/xfs_ag.c
769
if (error)
fs/xfs/libxfs/xfs_ag.c
770
return error;
fs/xfs/libxfs/xfs_ag.c
786
error = xfs_ialloc_check_shrink(pag, *tpp, agibp, aglen - delta);
fs/xfs/libxfs/xfs_ag.c
787
if (error)
fs/xfs/libxfs/xfs_ag.c
788
return error;
fs/xfs/libxfs/xfs_ag.c
797
error = xfs_alloc_vextent_exact_bno(&args,
fs/xfs/libxfs/xfs_ag.c
799
if (!error && args.agbno == NULLAGBLOCK)
fs/xfs/libxfs/xfs_ag.c
800
error = -ENOSPC;
fs/xfs/libxfs/xfs_ag.c
802
if (error) {
fs/xfs/libxfs/xfs_ag.c
848
error = xfs_defer_finish(tpp);
fs/xfs/libxfs/xfs_ag.c
849
if (error)
fs/xfs/libxfs/xfs_ag.c
850
return error;
fs/xfs/libxfs/xfs_ag.c
852
error = -ENOSPC;
fs/xfs/libxfs/xfs_ag.c
868
return error;
fs/xfs/libxfs/xfs_ag.c
91
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ag.c
916
int error;
fs/xfs/libxfs/xfs_ag.c
920
error = xfs_ialloc_read_agi(pag, tp, 0, &bp);
fs/xfs/libxfs/xfs_ag.c
921
if (error)
fs/xfs/libxfs/xfs_ag.c
922
return error;
fs/xfs/libxfs/xfs_ag.c
931
error = xfs_alloc_read_agf(pag, tp, 0, &bp);
fs/xfs/libxfs/xfs_ag.c
932
if (error)
fs/xfs/libxfs/xfs_ag.c
933
return error;
fs/xfs/libxfs/xfs_ag.c
946
error = xfs_rmap_free(tp, bp, pag, be32_to_cpu(agf->agf_length) - len,
fs/xfs/libxfs/xfs_ag.c
948
if (error)
fs/xfs/libxfs/xfs_ag.c
949
return error;
fs/xfs/libxfs/xfs_ag.c
951
error = xfs_free_extent(tp, pag, be32_to_cpu(agf->agf_length) - len,
fs/xfs/libxfs/xfs_ag.c
953
if (error)
fs/xfs/libxfs/xfs_ag.c
954
return error;
fs/xfs/libxfs/xfs_ag.c
974
int error;
fs/xfs/libxfs/xfs_ag.c
977
error = xfs_ialloc_read_agi(pag, NULL, 0, &agi_bp);
fs/xfs/libxfs/xfs_ag.c
978
if (error)
fs/xfs/libxfs/xfs_ag.c
979
return error;
fs/xfs/libxfs/xfs_ag.c
980
error = xfs_alloc_read_agf(pag, NULL, 0, &agf_bp);
fs/xfs/libxfs/xfs_ag.c
981
if (error)
fs/xfs/libxfs/xfs_ag_resv.c
176
int error;
fs/xfs/libxfs/xfs_ag_resv.c
206
error = -ENOSPC;
fs/xfs/libxfs/xfs_ag_resv.c
208
error = xfs_dec_fdblocks(mp, hidden_space, true);
fs/xfs/libxfs/xfs_ag_resv.c
209
if (error) {
fs/xfs/libxfs/xfs_ag_resv.c
210
trace_xfs_ag_resv_init_error(pag, error, _RET_IP_);
fs/xfs/libxfs/xfs_ag_resv.c
214
return error;
fs/xfs/libxfs/xfs_ag_resv.c
244
int error = 0, error2;
fs/xfs/libxfs/xfs_ag_resv.c
251
error = xfs_refcountbt_calc_reserves(mp, tp, pag, &ask, &used);
fs/xfs/libxfs/xfs_ag_resv.c
252
if (error)
fs/xfs/libxfs/xfs_ag_resv.c
255
error = xfs_finobt_calc_reserves(pag, tp, &ask, &used);
fs/xfs/libxfs/xfs_ag_resv.c
256
if (error)
fs/xfs/libxfs/xfs_ag_resv.c
259
error = __xfs_ag_resv_init(pag, XFS_AG_RESV_METADATA,
fs/xfs/libxfs/xfs_ag_resv.c
261
if (error) {
fs/xfs/libxfs/xfs_ag_resv.c
273
error = xfs_refcountbt_calc_reserves(mp, tp, pag, &ask,
fs/xfs/libxfs/xfs_ag_resv.c
275
if (error)
fs/xfs/libxfs/xfs_ag_resv.c
278
error = __xfs_ag_resv_init(pag, XFS_AG_RESV_METADATA,
fs/xfs/libxfs/xfs_ag_resv.c
280
if (error)
fs/xfs/libxfs/xfs_ag_resv.c
291
error = xfs_rmapbt_calc_reserves(mp, tp, pag, &ask, &used);
fs/xfs/libxfs/xfs_ag_resv.c
292
if (error)
fs/xfs/libxfs/xfs_ag_resv.c
295
error = __xfs_ag_resv_init(pag, XFS_AG_RESV_RMAPBT, ask, used);
fs/xfs/libxfs/xfs_ag_resv.c
296
if (error)
fs/xfs/libxfs/xfs_ag_resv.c
325
if (!error &&
fs/xfs/libxfs/xfs_ag_resv.c
329
error = -ENOSPC;
fs/xfs/libxfs/xfs_ag_resv.c
332
return error;
fs/xfs/libxfs/xfs_alloc.c
1014
int error, i;
fs/xfs/libxfs/xfs_alloc.c
1024
error = xfs_alloc_get_rec(cur, &bno, &len, &i);
fs/xfs/libxfs/xfs_alloc.c
1025
if (error)
fs/xfs/libxfs/xfs_alloc.c
1026
return error;
fs/xfs/libxfs/xfs_alloc.c
1110
int error;
fs/xfs/libxfs/xfs_alloc.c
1117
error = xfs_alloc_fixup_trees(acur->cnt, acur->bnolt, acur->rec_bno,
fs/xfs/libxfs/xfs_alloc.c
1119
if (error)
fs/xfs/libxfs/xfs_alloc.c
1120
return error;
fs/xfs/libxfs/xfs_alloc.c
1142
int error;
fs/xfs/libxfs/xfs_alloc.c
1150
error = xfs_alloc_lookup_ge(cur, args->agbno, cur_len, &i);
fs/xfs/libxfs/xfs_alloc.c
1151
if (error)
fs/xfs/libxfs/xfs_alloc.c
1152
return error;
fs/xfs/libxfs/xfs_alloc.c
1155
error = xfs_alloc_get_rec(cur, &bno, &len, &i);
fs/xfs/libxfs/xfs_alloc.c
1156
if (error)
fs/xfs/libxfs/xfs_alloc.c
1157
return error;
fs/xfs/libxfs/xfs_alloc.c
1160
error = xfs_alloc_cur_check(args, acur, cur, &i);
fs/xfs/libxfs/xfs_alloc.c
1161
if (error)
fs/xfs/libxfs/xfs_alloc.c
1162
return error;
fs/xfs/libxfs/xfs_alloc.c
1174
error = xfs_btree_decrement(cur, 0, &i);
fs/xfs/libxfs/xfs_alloc.c
1175
if (!error && i) {
fs/xfs/libxfs/xfs_alloc.c
1176
error = xfs_alloc_get_rec(cur, &bno, &len, &i);
fs/xfs/libxfs/xfs_alloc.c
1177
if (!error && i && len == acur->cur_len)
fs/xfs/libxfs/xfs_alloc.c
1178
error = xfs_alloc_cur_check(args, acur, cur,
fs/xfs/libxfs/xfs_alloc.c
1181
if (error)
fs/xfs/libxfs/xfs_alloc.c
1182
return error;
fs/xfs/libxfs/xfs_alloc.c
1197
return error;
fs/xfs/libxfs/xfs_alloc.c
1214
int error = 0;
fs/xfs/libxfs/xfs_alloc.c
1226
error = xfs_btree_decrement(ccur, 0, &i);
fs/xfs/libxfs/xfs_alloc.c
1227
if (error)
fs/xfs/libxfs/xfs_alloc.c
1228
goto error;
fs/xfs/libxfs/xfs_alloc.c
1230
error = xfs_alloc_get_rec(ccur, &fbno, &flen, &i);
fs/xfs/libxfs/xfs_alloc.c
1231
if (error)
fs/xfs/libxfs/xfs_alloc.c
1232
goto error;
fs/xfs/libxfs/xfs_alloc.c
1235
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
1236
goto error;
fs/xfs/libxfs/xfs_alloc.c
1246
error = xfs_alloc_get_freelist(args->pag, args->tp, args->agbp,
fs/xfs/libxfs/xfs_alloc.c
1248
if (error)
fs/xfs/libxfs/xfs_alloc.c
1249
goto error;
fs/xfs/libxfs/xfs_alloc.c
1259
error = xfs_trans_get_buf(args->tp, args->mp->m_ddev_targp,
fs/xfs/libxfs/xfs_alloc.c
1262
if (error)
fs/xfs/libxfs/xfs_alloc.c
1263
goto error;
fs/xfs/libxfs/xfs_alloc.c
1270
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
1271
goto error;
fs/xfs/libxfs/xfs_alloc.c
1280
error = xfs_rmap_free(args->tp, args->agbp, args->pag, fbno, 1,
fs/xfs/libxfs/xfs_alloc.c
1282
if (error)
fs/xfs/libxfs/xfs_alloc.c
1283
goto error;
fs/xfs/libxfs/xfs_alloc.c
1303
error:
fs/xfs/libxfs/xfs_alloc.c
1305
return error;
fs/xfs/libxfs/xfs_alloc.c
1320
int error;
fs/xfs/libxfs/xfs_alloc.c
1342
error = xfs_alloc_lookup_le(bno_cur, args->agbno, args->minlen, &i);
fs/xfs/libxfs/xfs_alloc.c
1343
if (error)
fs/xfs/libxfs/xfs_alloc.c
1351
error = xfs_alloc_get_rec(bno_cur, &fbno, &flen, &i);
fs/xfs/libxfs/xfs_alloc.c
1352
if (error)
fs/xfs/libxfs/xfs_alloc.c
1356
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
1399
error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, args->agbno,
fs/xfs/libxfs/xfs_alloc.c
1401
if (error) {
fs/xfs/libxfs/xfs_alloc.c
1423
return error;
fs/xfs/libxfs/xfs_alloc.c
1440
int error;
fs/xfs/libxfs/xfs_alloc.c
1451
error = xfs_alloc_cur_check(args, acur, cur, &i);
fs/xfs/libxfs/xfs_alloc.c
1452
if (error)
fs/xfs/libxfs/xfs_alloc.c
1453
return error;
fs/xfs/libxfs/xfs_alloc.c
1463
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_alloc.c
1465
error = xfs_btree_decrement(cur, 0, &i);
fs/xfs/libxfs/xfs_alloc.c
1466
if (error)
fs/xfs/libxfs/xfs_alloc.c
1467
return error;
fs/xfs/libxfs/xfs_alloc.c
1489
int error;
fs/xfs/libxfs/xfs_alloc.c
1497
error = xfs_alloc_lookup_ge(acur->cnt, args->agbno, acur->cur_len, &i);
fs/xfs/libxfs/xfs_alloc.c
1498
if (error)
fs/xfs/libxfs/xfs_alloc.c
1499
return error;
fs/xfs/libxfs/xfs_alloc.c
1500
error = xfs_alloc_lookup_le(acur->bnolt, args->agbno, 0, &i);
fs/xfs/libxfs/xfs_alloc.c
1501
if (error)
fs/xfs/libxfs/xfs_alloc.c
1502
return error;
fs/xfs/libxfs/xfs_alloc.c
1503
error = xfs_alloc_lookup_ge(acur->bnogt, args->agbno, 0, &i);
fs/xfs/libxfs/xfs_alloc.c
1504
if (error)
fs/xfs/libxfs/xfs_alloc.c
1505
return error;
fs/xfs/libxfs/xfs_alloc.c
1539
error = xfs_alloc_walk_iter(args, acur, acur->bnolt, false,
fs/xfs/libxfs/xfs_alloc.c
1541
if (error)
fs/xfs/libxfs/xfs_alloc.c
1542
return error;
fs/xfs/libxfs/xfs_alloc.c
1549
error = xfs_alloc_walk_iter(args, acur, acur->bnogt, true, true,
fs/xfs/libxfs/xfs_alloc.c
1551
if (error)
fs/xfs/libxfs/xfs_alloc.c
1552
return error;
fs/xfs/libxfs/xfs_alloc.c
1564
error = xfs_alloc_cntbt_iter(args, acur);
fs/xfs/libxfs/xfs_alloc.c
1565
if (error)
fs/xfs/libxfs/xfs_alloc.c
1566
return error;
fs/xfs/libxfs/xfs_alloc.c
1579
error = xfs_btree_decrement(acur->cnt, 0, &i);
fs/xfs/libxfs/xfs_alloc.c
1580
if (error)
fs/xfs/libxfs/xfs_alloc.c
1581
return error;
fs/xfs/libxfs/xfs_alloc.c
1594
error = xfs_alloc_walk_iter(args, acur, fbcur, fbinc, true, -1,
fs/xfs/libxfs/xfs_alloc.c
1596
if (error)
fs/xfs/libxfs/xfs_alloc.c
1597
return error;
fs/xfs/libxfs/xfs_alloc.c
1615
int error;
fs/xfs/libxfs/xfs_alloc.c
162
int error;
fs/xfs/libxfs/xfs_alloc.c
1633
error = xfs_alloc_get_rec(acur->cnt, bno, len, &i);
fs/xfs/libxfs/xfs_alloc.c
1634
if (error)
fs/xfs/libxfs/xfs_alloc.c
1635
return error;
fs/xfs/libxfs/xfs_alloc.c
1642
error = xfs_btree_increment(acur->cnt, 0, &i);
fs/xfs/libxfs/xfs_alloc.c
1643
if (error)
fs/xfs/libxfs/xfs_alloc.c
1644
return error;
fs/xfs/libxfs/xfs_alloc.c
1651
error = xfs_alloc_walk_iter(args, acur, acur->cnt, true, false, -1, &i);
fs/xfs/libxfs/xfs_alloc.c
1652
if (error)
fs/xfs/libxfs/xfs_alloc.c
1653
return error;
fs/xfs/libxfs/xfs_alloc.c
166
error = xfs_btree_lookup(cur, dir, stat);
fs/xfs/libxfs/xfs_alloc.c
1679
int error; /* error code */
fs/xfs/libxfs/xfs_alloc.c
1705
error = xfs_alloc_cur_setup(args, &acur);
fs/xfs/libxfs/xfs_alloc.c
1706
if (error == -ENOSPC) {
fs/xfs/libxfs/xfs_alloc.c
1707
error = xfs_alloc_ag_vextent_small(args, acur.cnt, &bno,
fs/xfs/libxfs/xfs_alloc.c
1709
if (error)
fs/xfs/libxfs/xfs_alloc.c
171
return error;
fs/xfs/libxfs/xfs_alloc.c
1716
} else if (error) {
fs/xfs/libxfs/xfs_alloc.c
1731
error = xfs_alloc_ag_vextent_lastblock(args, &acur, &bno, &len,
fs/xfs/libxfs/xfs_alloc.c
1733
if (error)
fs/xfs/libxfs/xfs_alloc.c
1743
error = xfs_alloc_ag_vextent_locality(args, &acur, &i);
fs/xfs/libxfs/xfs_alloc.c
1744
if (error)
fs/xfs/libxfs/xfs_alloc.c
1760
error = xfs_extent_busy_flush(args->tp,
fs/xfs/libxfs/xfs_alloc.c
1763
if (error)
fs/xfs/libxfs/xfs_alloc.c
1776
error = xfs_alloc_cur_finish(args, &acur);
fs/xfs/libxfs/xfs_alloc.c
1779
xfs_alloc_cur_close(&acur, error);
fs/xfs/libxfs/xfs_alloc.c
1780
return error;
fs/xfs/libxfs/xfs_alloc.c
1803
int error;
fs/xfs/libxfs/xfs_alloc.c
1819
if ((error = xfs_alloc_lookup_ge(cnt_cur, 0,
fs/xfs/libxfs/xfs_alloc.c
1831
error = xfs_alloc_ag_vextent_small(args, cnt_cur,
fs/xfs/libxfs/xfs_alloc.c
1833
if (error)
fs/xfs/libxfs/xfs_alloc.c
1848
error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, &i);
fs/xfs/libxfs/xfs_alloc.c
1849
if (error)
fs/xfs/libxfs/xfs_alloc.c
1853
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
1863
error = xfs_btree_increment(cnt_cur, 0, &i);
fs/xfs/libxfs/xfs_alloc.c
1864
if (error)
fs/xfs/libxfs/xfs_alloc.c
1877
error = xfs_extent_busy_flush(args->tp,
fs/xfs/libxfs/xfs_alloc.c
1880
if (error)
fs/xfs/libxfs/xfs_alloc.c
1901
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
1915
if ((error = xfs_btree_decrement(cnt_cur, 0, &i)))
fs/xfs/libxfs/xfs_alloc.c
1919
if ((error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen,
fs/xfs/libxfs/xfs_alloc.c
1924
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
1937
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
1949
if ((error = xfs_alloc_lookup_eq(cnt_cur, bestfbno, bestflen,
fs/xfs/libxfs/xfs_alloc.c
1954
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
1977
error = xfs_extent_busy_flush(args->tp,
fs/xfs/libxfs/xfs_alloc.c
1980
if (error)
fs/xfs/libxfs/xfs_alloc.c
1994
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2002
if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen,
fs/xfs/libxfs/xfs_alloc.c
2014
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2026
return error;
fs/xfs/libxfs/xfs_alloc.c
2059
int error;
fs/xfs/libxfs/xfs_alloc.c
2067
error = xfs_rmap_free(tp, agbp, pag, bno, len, oinfo);
fs/xfs/libxfs/xfs_alloc.c
2068
if (error)
fs/xfs/libxfs/xfs_alloc.c
2080
if ((error = xfs_alloc_lookup_le(bno_cur, bno, len, &haveleft)))
fs/xfs/libxfs/xfs_alloc.c
2086
if ((error = xfs_alloc_get_rec(bno_cur, <bno, <len, &i)))
fs/xfs/libxfs/xfs_alloc.c
2090
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2106
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2115
if ((error = xfs_btree_increment(bno_cur, 0, &haveright)))
fs/xfs/libxfs/xfs_alloc.c
2121
if ((error = xfs_alloc_get_rec(bno_cur, >bno, >len, &i)))
fs/xfs/libxfs/xfs_alloc.c
2125
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2141
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2158
if ((error = xfs_alloc_lookup_eq(cnt_cur, ltbno, ltlen, &i)))
fs/xfs/libxfs/xfs_alloc.c
2162
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2165
if ((error = xfs_btree_delete(cnt_cur, &i)))
fs/xfs/libxfs/xfs_alloc.c
2169
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2175
if ((error = xfs_alloc_lookup_eq(cnt_cur, gtbno, gtlen, &i)))
fs/xfs/libxfs/xfs_alloc.c
2179
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2182
if ((error = xfs_btree_delete(cnt_cur, &i)))
fs/xfs/libxfs/xfs_alloc.c
2186
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2192
if ((error = xfs_btree_delete(bno_cur, &i)))
fs/xfs/libxfs/xfs_alloc.c
2196
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2202
if ((error = xfs_btree_decrement(bno_cur, 0, &i)))
fs/xfs/libxfs/xfs_alloc.c
2206
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2218
if ((error = xfs_alloc_get_rec(bno_cur, &xxbno, &xxlen,
fs/xfs/libxfs/xfs_alloc.c
2226
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2236
if ((error = xfs_alloc_update(bno_cur, nbno, nlen)))
fs/xfs/libxfs/xfs_alloc.c
2247
if ((error = xfs_alloc_lookup_eq(cnt_cur, ltbno, ltlen, &i)))
fs/xfs/libxfs/xfs_alloc.c
2251
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2254
if ((error = xfs_btree_delete(cnt_cur, &i)))
fs/xfs/libxfs/xfs_alloc.c
2258
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2265
if ((error = xfs_btree_decrement(bno_cur, 0, &i)))
fs/xfs/libxfs/xfs_alloc.c
2269
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2274
if ((error = xfs_alloc_update(bno_cur, nbno, nlen)))
fs/xfs/libxfs/xfs_alloc.c
2285
if ((error = xfs_alloc_lookup_eq(cnt_cur, gtbno, gtlen, &i)))
fs/xfs/libxfs/xfs_alloc.c
2289
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2292
if ((error = xfs_btree_delete(cnt_cur, &i)))
fs/xfs/libxfs/xfs_alloc.c
2296
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2305
if ((error = xfs_alloc_update(bno_cur, nbno, nlen)))
fs/xfs/libxfs/xfs_alloc.c
2315
if ((error = xfs_btree_insert(bno_cur, &i)))
fs/xfs/libxfs/xfs_alloc.c
2319
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2333
if ((error = xfs_alloc_lookup_eq(cnt_cur, nbno, nlen, &i)))
fs/xfs/libxfs/xfs_alloc.c
2337
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2342
if ((error = xfs_btree_insert(cnt_cur, &i)))
fs/xfs/libxfs/xfs_alloc.c
2346
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2350
error = xfs_alloc_fixup_longest(cnt_cur);
fs/xfs/libxfs/xfs_alloc.c
2351
if (error)
fs/xfs/libxfs/xfs_alloc.c
2361
error = xfs_alloc_update_counters(tp, agbp, len);
fs/xfs/libxfs/xfs_alloc.c
2363
if (error)
fs/xfs/libxfs/xfs_alloc.c
2379
return error;
fs/xfs/libxfs/xfs_alloc.c
2725
int error;
fs/xfs/libxfs/xfs_alloc.c
2727
error = xfs_defer_extent_free(args->tp, args->fsbno, args->len,
fs/xfs/libxfs/xfs_alloc.c
2729
if (error)
fs/xfs/libxfs/xfs_alloc.c
2730
return error;
fs/xfs/libxfs/xfs_alloc.c
2794
int error = 0;
fs/xfs/libxfs/xfs_alloc.c
2798
error = xfs_alloc_lookup_ge(cnt_cur, 0, args->minlen, stat);
fs/xfs/libxfs/xfs_alloc.c
2799
if (error)
fs/xfs/libxfs/xfs_alloc.c
2804
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
2808
error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, stat);
fs/xfs/libxfs/xfs_alloc.c
2809
if (error)
fs/xfs/libxfs/xfs_alloc.c
2816
xfs_btree_del_cursor(cnt_cur, error);
fs/xfs/libxfs/xfs_alloc.c
2818
return error;
fs/xfs/libxfs/xfs_alloc.c
2838
int error = 0;
fs/xfs/libxfs/xfs_alloc.c
2844
error = xfs_alloc_read_agf(pag, tp, alloc_flags, &agbp);
fs/xfs/libxfs/xfs_alloc.c
2845
if (error) {
fs/xfs/libxfs/xfs_alloc.c
2847
if (error == -EAGAIN)
fs/xfs/libxfs/xfs_alloc.c
2848
error = 0;
fs/xfs/libxfs/xfs_alloc.c
2875
error = xfs_alloc_read_agf(pag, tp, alloc_flags, &agbp);
fs/xfs/libxfs/xfs_alloc.c
2876
if (error) {
fs/xfs/libxfs/xfs_alloc.c
2878
if (error == -EAGAIN)
fs/xfs/libxfs/xfs_alloc.c
2879
error = 0;
fs/xfs/libxfs/xfs_alloc.c
2896
error = xfs_exact_minlen_extent_available(args, agbp, &stat);
fs/xfs/libxfs/xfs_alloc.c
2897
if (error || !stat)
fs/xfs/libxfs/xfs_alloc.c
2933
error = xfs_alloc_get_freelist(pag, tp, agbp, &bno, 0);
fs/xfs/libxfs/xfs_alloc.c
2934
if (error)
fs/xfs/libxfs/xfs_alloc.c
2949
error = xfs_free_extent_later(tp, xfs_agbno_to_fsb(pag, bno),
fs/xfs/libxfs/xfs_alloc.c
2951
if (error)
fs/xfs/libxfs/xfs_alloc.c
2961
error = xfs_alloc_read_agfl(pag, tp, &agflbp);
fs/xfs/libxfs/xfs_alloc.c
2962
if (error)
fs/xfs/libxfs/xfs_alloc.c
297
int error;
fs/xfs/libxfs/xfs_alloc.c
2972
error = xfs_alloc_ag_vextent_size(&targs, alloc_flags);
fs/xfs/libxfs/xfs_alloc.c
2973
if (error)
fs/xfs/libxfs/xfs_alloc.c
2988
error = xfs_rmap_alloc(tp, agbp, pag,
fs/xfs/libxfs/xfs_alloc.c
299
error = xfs_btree_get_rec(cur, &rec, stat);
fs/xfs/libxfs/xfs_alloc.c
2990
if (error)
fs/xfs/libxfs/xfs_alloc.c
2993
error = xfs_alloc_update_counters(tp, agbp,
fs/xfs/libxfs/xfs_alloc.c
2995
if (error)
fs/xfs/libxfs/xfs_alloc.c
300
if (error || !(*stat))
fs/xfs/libxfs/xfs_alloc.c
3002
error = xfs_alloc_put_freelist(pag, tp, agbp,
fs/xfs/libxfs/xfs_alloc.c
3004
if (error)
fs/xfs/libxfs/xfs_alloc.c
301
return error;
fs/xfs/libxfs/xfs_alloc.c
3019
return error;
fs/xfs/libxfs/xfs_alloc.c
3038
int error;
fs/xfs/libxfs/xfs_alloc.c
3052
error = xfs_alloc_read_agfl(pag, tp, &agflbp);
fs/xfs/libxfs/xfs_alloc.c
3053
if (error)
fs/xfs/libxfs/xfs_alloc.c
3054
return error;
fs/xfs/libxfs/xfs_alloc.c
3144
int error;
fs/xfs/libxfs/xfs_alloc.c
3150
error = xfs_alloc_read_agfl(pag, tp, &agflbp);
fs/xfs/libxfs/xfs_alloc.c
3151
if (error)
fs/xfs/libxfs/xfs_alloc.c
3152
return error;
fs/xfs/libxfs/xfs_alloc.c
3372
int error;
fs/xfs/libxfs/xfs_alloc.c
3376
error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp,
fs/xfs/libxfs/xfs_alloc.c
3379
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_alloc.c
3381
if (error)
fs/xfs/libxfs/xfs_alloc.c
3382
return error;
fs/xfs/libxfs/xfs_alloc.c
3403
int error;
fs/xfs/libxfs/xfs_alloc.c
3411
error = xfs_read_agf(pag, tp,
fs/xfs/libxfs/xfs_alloc.c
3414
if (error)
fs/xfs/libxfs/xfs_alloc.c
3415
return error;
fs/xfs/libxfs/xfs_alloc.c
3560
int error;
fs/xfs/libxfs/xfs_alloc.c
3566
error = xfs_alloc_fix_freelist(args, alloc_flags);
fs/xfs/libxfs/xfs_alloc.c
3567
if (error) {
fs/xfs/libxfs/xfs_alloc.c
3572
return error;
fs/xfs/libxfs/xfs_alloc.c
3599
int error = 0;
fs/xfs/libxfs/xfs_alloc.c
3630
error = alloc_error;
fs/xfs/libxfs/xfs_alloc.c
3643
error = xfs_rmap_alloc(args->tp, args->agbp, args->pag,
fs/xfs/libxfs/xfs_alloc.c
3645
if (error)
fs/xfs/libxfs/xfs_alloc.c
3650
error = xfs_alloc_update_counters(args->tp, args->agbp,
fs/xfs/libxfs/xfs_alloc.c
3652
if (error)
fs/xfs/libxfs/xfs_alloc.c
3671
return error;
fs/xfs/libxfs/xfs_alloc.c
3688
int error;
fs/xfs/libxfs/xfs_alloc.c
3698
error = xfs_alloc_vextent_check_args(args,
fs/xfs/libxfs/xfs_alloc.c
3700
if (error) {
fs/xfs/libxfs/xfs_alloc.c
3701
if (error == -ENOSPC)
fs/xfs/libxfs/xfs_alloc.c
3703
return error;
fs/xfs/libxfs/xfs_alloc.c
3706
error = xfs_alloc_vextent_prepare_ag(args, alloc_flags);
fs/xfs/libxfs/xfs_alloc.c
3707
if (!error && args->agbp)
fs/xfs/libxfs/xfs_alloc.c
3708
error = xfs_alloc_ag_vextent_size(args, alloc_flags);
fs/xfs/libxfs/xfs_alloc.c
3710
return xfs_alloc_vextent_finish(args, minimum_agno, error, false);
fs/xfs/libxfs/xfs_alloc.c
3742
int error = 0;
fs/xfs/libxfs/xfs_alloc.c
3750
error = xfs_alloc_vextent_prepare_ag(args, alloc_flags);
fs/xfs/libxfs/xfs_alloc.c
3751
if (error)
fs/xfs/libxfs/xfs_alloc.c
3764
error = xfs_alloc_ag_vextent_near(args, alloc_flags);
fs/xfs/libxfs/xfs_alloc.c
3767
error = xfs_alloc_ag_vextent_size(args, alloc_flags);
fs/xfs/libxfs/xfs_alloc.c
3771
if (error) {
fs/xfs/libxfs/xfs_alloc.c
3774
return error;
fs/xfs/libxfs/xfs_alloc.c
3814
int error;
fs/xfs/libxfs/xfs_alloc.c
3823
error = xfs_alloc_vextent_check_args(args, target, &minimum_agno);
fs/xfs/libxfs/xfs_alloc.c
3824
if (error) {
fs/xfs/libxfs/xfs_alloc.c
3825
if (error == -ENOSPC)
fs/xfs/libxfs/xfs_alloc.c
3827
return error;
fs/xfs/libxfs/xfs_alloc.c
3839
error = xfs_alloc_vextent_iterate_ags(args, minimum_agno, start_agno,
fs/xfs/libxfs/xfs_alloc.c
3851
return xfs_alloc_vextent_finish(args, minimum_agno, error, true);
fs/xfs/libxfs/xfs_alloc.c
3868
int error;
fs/xfs/libxfs/xfs_alloc.c
3877
error = xfs_alloc_vextent_check_args(args, target, &minimum_agno);
fs/xfs/libxfs/xfs_alloc.c
3878
if (error) {
fs/xfs/libxfs/xfs_alloc.c
3879
if (error == -ENOSPC)
fs/xfs/libxfs/xfs_alloc.c
3881
return error;
fs/xfs/libxfs/xfs_alloc.c
3885
error = xfs_alloc_vextent_iterate_ags(args, minimum_agno, start_agno,
fs/xfs/libxfs/xfs_alloc.c
3887
return xfs_alloc_vextent_finish(args, minimum_agno, error, true);
fs/xfs/libxfs/xfs_alloc.c
3901
int error;
fs/xfs/libxfs/xfs_alloc.c
3911
error = xfs_alloc_vextent_check_args(args, target, &minimum_agno);
fs/xfs/libxfs/xfs_alloc.c
3912
if (error) {
fs/xfs/libxfs/xfs_alloc.c
3913
if (error == -ENOSPC)
fs/xfs/libxfs/xfs_alloc.c
3915
return error;
fs/xfs/libxfs/xfs_alloc.c
3918
error = xfs_alloc_vextent_prepare_ag(args, 0);
fs/xfs/libxfs/xfs_alloc.c
3919
if (!error && args->agbp)
fs/xfs/libxfs/xfs_alloc.c
3920
error = xfs_alloc_ag_vextent_exact(args);
fs/xfs/libxfs/xfs_alloc.c
3922
return xfs_alloc_vextent_finish(args, minimum_agno, error, false);
fs/xfs/libxfs/xfs_alloc.c
3940
int error;
fs/xfs/libxfs/xfs_alloc.c
3950
error = xfs_alloc_vextent_check_args(args, target, &minimum_agno);
fs/xfs/libxfs/xfs_alloc.c
3951
if (error) {
fs/xfs/libxfs/xfs_alloc.c
3952
if (error == -ENOSPC)
fs/xfs/libxfs/xfs_alloc.c
3954
return error;
fs/xfs/libxfs/xfs_alloc.c
3960
error = xfs_alloc_vextent_prepare_ag(args, alloc_flags);
fs/xfs/libxfs/xfs_alloc.c
3961
if (!error && args->agbp)
fs/xfs/libxfs/xfs_alloc.c
3962
error = xfs_alloc_ag_vextent_near(args, alloc_flags);
fs/xfs/libxfs/xfs_alloc.c
3964
return xfs_alloc_vextent_finish(args, minimum_agno, error, needs_perag);
fs/xfs/libxfs/xfs_alloc.c
3975
int error;
fs/xfs/libxfs/xfs_alloc.c
3990
error = xfs_alloc_fix_freelist(&args, XFS_ALLOC_FLAG_FREEING);
fs/xfs/libxfs/xfs_alloc.c
3991
if (error)
fs/xfs/libxfs/xfs_alloc.c
3992
return error;
fs/xfs/libxfs/xfs_alloc.c
4016
int error;
fs/xfs/libxfs/xfs_alloc.c
4025
error = xfs_free_extent_fix_freelist(tp, pag, &agbp);
fs/xfs/libxfs/xfs_alloc.c
4026
if (error) {
fs/xfs/libxfs/xfs_alloc.c
4027
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_alloc.c
4029
return error;
fs/xfs/libxfs/xfs_alloc.c
4036
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
4043
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_alloc.c
4047
error = xfs_free_ag_extent(tp, agbp, agbno, len, oinfo, type);
fs/xfs/libxfs/xfs_alloc.c
4048
if (error)
fs/xfs/libxfs/xfs_alloc.c
4058
return error;
fs/xfs/libxfs/xfs_alloc.c
4154
int error;
fs/xfs/libxfs/xfs_alloc.c
4165
error = walk_fn(mp, be32_to_cpu(agfl_bno[i]), priv);
fs/xfs/libxfs/xfs_alloc.c
4166
if (error)
fs/xfs/libxfs/xfs_alloc.c
4167
return error;
fs/xfs/libxfs/xfs_alloc.c
503
int error;
fs/xfs/libxfs/xfs_alloc.c
506
error = xfs_btree_lookup(cnt_cur, XFS_LOOKUP_LE, &stat);
fs/xfs/libxfs/xfs_alloc.c
507
if (error)
fs/xfs/libxfs/xfs_alloc.c
508
return error;
fs/xfs/libxfs/xfs_alloc.c
515
error = xfs_btree_get_rec(cnt_cur, &rec, &stat);
fs/xfs/libxfs/xfs_alloc.c
516
if (error)
fs/xfs/libxfs/xfs_alloc.c
517
return error;
fs/xfs/libxfs/xfs_alloc.c
545
int error;
fs/xfs/libxfs/xfs_alloc.c
548
error = xfs_cntbt_longest(cnt_cur, &longest);
fs/xfs/libxfs/xfs_alloc.c
549
if (error)
fs/xfs/libxfs/xfs_alloc.c
550
return error;
fs/xfs/libxfs/xfs_alloc.c
576
int error; /* error code */
fs/xfs/libxfs/xfs_alloc.c
592
if ((error = xfs_alloc_get_rec(cnt_cur, &nfbno1, &nflen1, &i)))
fs/xfs/libxfs/xfs_alloc.c
593
return error;
fs/xfs/libxfs/xfs_alloc.c
603
if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i)))
fs/xfs/libxfs/xfs_alloc.c
604
return error;
fs/xfs/libxfs/xfs_alloc.c
615
if ((error = xfs_alloc_get_rec(bno_cur, &nfbno1, &nflen1, &i)))
fs/xfs/libxfs/xfs_alloc.c
616
return error;
fs/xfs/libxfs/xfs_alloc.c
626
if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i)))
fs/xfs/libxfs/xfs_alloc.c
627
return error;
fs/xfs/libxfs/xfs_alloc.c
679
if ((error = xfs_btree_delete(cnt_cur, &i)))
fs/xfs/libxfs/xfs_alloc.c
680
return error;
fs/xfs/libxfs/xfs_alloc.c
689
if ((error = xfs_alloc_lookup_eq(cnt_cur, nfbno1, nflen1, &i)))
fs/xfs/libxfs/xfs_alloc.c
690
return error;
fs/xfs/libxfs/xfs_alloc.c
695
if ((error = xfs_btree_insert(cnt_cur, &i)))
fs/xfs/libxfs/xfs_alloc.c
696
return error;
fs/xfs/libxfs/xfs_alloc.c
703
if ((error = xfs_alloc_lookup_eq(cnt_cur, nfbno2, nflen2, &i)))
fs/xfs/libxfs/xfs_alloc.c
704
return error;
fs/xfs/libxfs/xfs_alloc.c
709
if ((error = xfs_btree_insert(cnt_cur, &i)))
fs/xfs/libxfs/xfs_alloc.c
710
return error;
fs/xfs/libxfs/xfs_alloc.c
723
if ((error = xfs_btree_delete(bno_cur, &i)))
fs/xfs/libxfs/xfs_alloc.c
724
return error;
fs/xfs/libxfs/xfs_alloc.c
733
if ((error = xfs_alloc_update(bno_cur, nfbno1, nflen1)))
fs/xfs/libxfs/xfs_alloc.c
734
return error;
fs/xfs/libxfs/xfs_alloc.c
740
if ((error = xfs_alloc_lookup_eq(bno_cur, nfbno2, nflen2, &i)))
fs/xfs/libxfs/xfs_alloc.c
741
return error;
fs/xfs/libxfs/xfs_alloc.c
746
if ((error = xfs_btree_insert(bno_cur, &i)))
fs/xfs/libxfs/xfs_alloc.c
747
return error;
fs/xfs/libxfs/xfs_alloc.c
883
int error;
fs/xfs/libxfs/xfs_alloc.c
885
error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp,
fs/xfs/libxfs/xfs_alloc.c
888
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_alloc.c
890
if (error)
fs/xfs/libxfs/xfs_alloc.c
891
return error;
fs/xfs/libxfs/xfs_alloc.c
946
int error;
fs/xfs/libxfs/xfs_alloc.c
966
error = xfs_alloc_lookup_ge(acur->cnt, 0, args->maxlen, &i);
fs/xfs/libxfs/xfs_alloc.c
967
if (error)
fs/xfs/libxfs/xfs_alloc.c
968
return error;
fs/xfs/libxfs/xfs_alloc.c
985
bool error)
fs/xfs/libxfs/xfs_alloc.c
989
if (error)
fs/xfs/libxfs/xfs_alloc_btree.c
104
int error;
fs/xfs/libxfs/xfs_alloc_btree.c
107
error = xfs_alloc_put_freelist(to_perag(cur->bc_group), cur->bc_tp,
fs/xfs/libxfs/xfs_alloc_btree.c
109
if (error)
fs/xfs/libxfs/xfs_alloc_btree.c
110
return error;
fs/xfs/libxfs/xfs_alloc_btree.c
74
int error;
fs/xfs/libxfs/xfs_alloc_btree.c
78
error = xfs_alloc_get_freelist(to_perag(cur->bc_group), cur->bc_tp,
fs/xfs/libxfs/xfs_alloc_btree.c
80
if (error)
fs/xfs/libxfs/xfs_alloc_btree.c
81
return error;
fs/xfs/libxfs/xfs_attr.c
1002
int error; /* error return value */
fs/xfs/libxfs/xfs_attr.c
1009
error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_addafork, blks, 0,
fs/xfs/libxfs/xfs_attr.c
1011
if (error)
fs/xfs/libxfs/xfs_attr.c
1012
return error;
fs/xfs/libxfs/xfs_attr.c
1017
error = xfs_bmap_add_attrfork(tp, ip, size, rsvd);
fs/xfs/libxfs/xfs_attr.c
1018
if (error)
fs/xfs/libxfs/xfs_attr.c
1021
error = xfs_trans_commit(tp);
fs/xfs/libxfs/xfs_attr.c
1023
return error;
fs/xfs/libxfs/xfs_attr.c
1028
return error;
fs/xfs/libxfs/xfs_attr.c
1049
int error;
fs/xfs/libxfs/xfs_attr.c
1054
error = xfs_attr_try_sf_addname(args);
fs/xfs/libxfs/xfs_attr.c
1055
if (error != -ENOSPC)
fs/xfs/libxfs/xfs_attr.c
1056
return error;
fs/xfs/libxfs/xfs_attr.c
1081
int error;
fs/xfs/libxfs/xfs_attr.c
1088
error = xfs_attr_shortform_replace(args);
fs/xfs/libxfs/xfs_attr.c
1089
if (error != -ENOSPC)
fs/xfs/libxfs/xfs_attr.c
1090
return error;
fs/xfs/libxfs/xfs_attr.c
1094
error = xfs_attr_sf_removename(args);
fs/xfs/libxfs/xfs_attr.c
1095
if (error)
fs/xfs/libxfs/xfs_attr.c
1096
return error;
fs/xfs/libxfs/xfs_attr.c
1112
error = xfs_attr_try_sf_addname(args);
fs/xfs/libxfs/xfs_attr.c
1113
if (error != -ENOSPC)
fs/xfs/libxfs/xfs_attr.c
1114
return error;
fs/xfs/libxfs/xfs_attr.c
1139
int error, local;
fs/xfs/libxfs/xfs_attr.c
1161
error = xfs_attr_add_fork(dp, sf_size, rsvd);
fs/xfs/libxfs/xfs_attr.c
1162
if (error)
fs/xfs/libxfs/xfs_attr.c
1163
return error;
fs/xfs/libxfs/xfs_attr.c
1184
error = xfs_trans_alloc_inode(dp, &tres, total, 0, rsvd, &args->trans);
fs/xfs/libxfs/xfs_attr.c
1185
if (error)
fs/xfs/libxfs/xfs_attr.c
1186
return error;
fs/xfs/libxfs/xfs_attr.c
1189
error = xfs_iext_count_extend(args->trans, dp, XFS_ATTR_FORK,
fs/xfs/libxfs/xfs_attr.c
1191
if (error)
fs/xfs/libxfs/xfs_attr.c
1195
error = xfs_attr_lookup(args);
fs/xfs/libxfs/xfs_attr.c
1196
switch (error) {
fs/xfs/libxfs/xfs_attr.c
1200
error = xfs_attr_removename(args);
fs/xfs/libxfs/xfs_attr.c
1201
if (error)
fs/xfs/libxfs/xfs_attr.c
1210
error = xfs_attr_replacename(args, rmt_blks);
fs/xfs/libxfs/xfs_attr.c
1211
if (error)
fs/xfs/libxfs/xfs_attr.c
1223
error = xfs_attr_setname(args, rmt_blks);
fs/xfs/libxfs/xfs_attr.c
1224
if (error)
fs/xfs/libxfs/xfs_attr.c
1244
error = xfs_trans_commit(args->trans);
fs/xfs/libxfs/xfs_attr.c
1248
return error;
fs/xfs/libxfs/xfs_attr.c
1280
int error;
fs/xfs/libxfs/xfs_attr.c
1284
error = xfs_attr_sf_removename(args);
fs/xfs/libxfs/xfs_attr.c
1285
if (error)
fs/xfs/libxfs/xfs_attr.c
1286
return error;
fs/xfs/libxfs/xfs_attr.c
1330
int error, forkoff;
fs/xfs/libxfs/xfs_attr.c
1335
error = xfs_attr3_leaf_read(args->trans, args->dp, args->owner, 0, &bp);
fs/xfs/libxfs/xfs_attr.c
1336
if (error)
fs/xfs/libxfs/xfs_attr.c
1337
return error;
fs/xfs/libxfs/xfs_attr.c
1338
error = xfs_attr3_leaf_lookup_int(bp, args);
fs/xfs/libxfs/xfs_attr.c
1339
if (error != -EEXIST) {
fs/xfs/libxfs/xfs_attr.c
1341
if (error == -ENOATTR && (args->op_flags & XFS_DA_OP_RECOVERY))
fs/xfs/libxfs/xfs_attr.c
1343
return error;
fs/xfs/libxfs/xfs_attr.c
1372
int error;
fs/xfs/libxfs/xfs_attr.c
1376
error = xfs_attr3_leaf_read(args->trans, args->dp, args->owner, 0, &bp);
fs/xfs/libxfs/xfs_attr.c
1377
if (error)
fs/xfs/libxfs/xfs_attr.c
1378
return error;
fs/xfs/libxfs/xfs_attr.c
1379
error = xfs_attr3_leaf_lookup_int(bp, args);
fs/xfs/libxfs/xfs_attr.c
1380
if (error == -EEXIST)
fs/xfs/libxfs/xfs_attr.c
1381
error = xfs_attr3_leaf_getvalue(bp, args);
fs/xfs/libxfs/xfs_attr.c
1383
return error;
fs/xfs/libxfs/xfs_attr.c
1392
int retval, error;
fs/xfs/libxfs/xfs_attr.c
1397
error = xfs_da3_node_lookup_int(state, &retval);
fs/xfs/libxfs/xfs_attr.c
1398
if (error)
fs/xfs/libxfs/xfs_attr.c
1399
return error;
fs/xfs/libxfs/xfs_attr.c
1413
int error;
fs/xfs/libxfs/xfs_attr.c
1420
error = xfs_attr_node_lookup(args, attr->xattri_da_state);
fs/xfs/libxfs/xfs_attr.c
1421
switch (error) {
fs/xfs/libxfs/xfs_attr.c
1424
goto error;
fs/xfs/libxfs/xfs_attr.c
1428
goto error;
fs/xfs/libxfs/xfs_attr.c
1442
goto error;
fs/xfs/libxfs/xfs_attr.c
1446
error:
fs/xfs/libxfs/xfs_attr.c
1451
return error;
fs/xfs/libxfs/xfs_attr.c
1470
int error = 0;
fs/xfs/libxfs/xfs_attr.c
1484
error = 1;
fs/xfs/libxfs/xfs_attr.c
1494
error = xfs_da3_split(state);
fs/xfs/libxfs/xfs_attr.c
1495
if (error)
fs/xfs/libxfs/xfs_attr.c
1507
return error;
fs/xfs/libxfs/xfs_attr.c
1536
int error = 0;
fs/xfs/libxfs/xfs_attr.c
1544
error = xfs_da3_node_lookup_int(state, &retval);
fs/xfs/libxfs/xfs_attr.c
1545
if (error)
fs/xfs/libxfs/xfs_attr.c
1548
error = xfs_attr_node_removename(args, state);
fs/xfs/libxfs/xfs_attr.c
1554
error = xfs_da3_join(state);
fs/xfs/libxfs/xfs_attr.c
1555
if (error)
fs/xfs/libxfs/xfs_attr.c
1558
retval = error = 0;
fs/xfs/libxfs/xfs_attr.c
1562
if (error)
fs/xfs/libxfs/xfs_attr.c
1563
return error;
fs/xfs/libxfs/xfs_attr.c
1583
int error;
fs/xfs/libxfs/xfs_attr.c
1591
error = xfs_attr_node_lookup(args, state);
fs/xfs/libxfs/xfs_attr.c
1592
if (error != -EEXIST)
fs/xfs/libxfs/xfs_attr.c
1599
error = xfs_attr3_leaf_getvalue(blk->bp, args);
fs/xfs/libxfs/xfs_attr.c
1611
return error;
fs/xfs/libxfs/xfs_attr.c
170
int level, error;
fs/xfs/libxfs/xfs_attr.c
182
error = xfs_da3_node_read_mapped(state->args->trans,
fs/xfs/libxfs/xfs_attr.c
185
if (error)
fs/xfs/libxfs/xfs_attr.c
186
return error;
fs/xfs/libxfs/xfs_attr.c
200
error = xfs_da3_node_read_mapped(state->args->trans,
fs/xfs/libxfs/xfs_attr.c
203
if (error)
fs/xfs/libxfs/xfs_attr.c
204
return error;
fs/xfs/libxfs/xfs_attr.c
228
int error;
fs/xfs/libxfs/xfs_attr.c
239
error = xfs_iread_extents(args->trans, args->dp, XFS_ATTR_FORK);
fs/xfs/libxfs/xfs_attr.c
240
if (error)
fs/xfs/libxfs/xfs_attr.c
241
return error;
fs/xfs/libxfs/xfs_attr.c
271
int error;
fs/xfs/libxfs/xfs_attr.c
288
error = xfs_attr_get_ilocked(args);
fs/xfs/libxfs/xfs_attr.c
291
return error;
fs/xfs/libxfs/xfs_attr.c
355
int error;
fs/xfs/libxfs/xfs_attr.c
363
error = xfs_attr_shortform_addname(args);
fs/xfs/libxfs/xfs_attr.c
364
if (error == -ENOSPC)
fs/xfs/libxfs/xfs_attr.c
365
return error;
fs/xfs/libxfs/xfs_attr.c
371
if (!error)
fs/xfs/libxfs/xfs_attr.c
377
return error;
fs/xfs/libxfs/xfs_attr.c
385
int error = 0;
fs/xfs/libxfs/xfs_attr.c
387
error = xfs_attr_try_sf_addname(args);
fs/xfs/libxfs/xfs_attr.c
388
if (error != -ENOSPC) {
fs/xfs/libxfs/xfs_attr.c
389
ASSERT(!error || error == -EEXIST);
fs/xfs/libxfs/xfs_attr.c
398
error = xfs_attr_shortform_to_leaf(args);
fs/xfs/libxfs/xfs_attr.c
399
if (error)
fs/xfs/libxfs/xfs_attr.c
400
return error;
fs/xfs/libxfs/xfs_attr.c
405
return error;
fs/xfs/libxfs/xfs_attr.c
516
int error;
fs/xfs/libxfs/xfs_attr.c
520
error = xfs_attr3_leaf_read(args->trans, args->dp, args->owner, 0, &bp);
fs/xfs/libxfs/xfs_attr.c
521
if (error)
fs/xfs/libxfs/xfs_attr.c
522
return error;
fs/xfs/libxfs/xfs_attr.c
527
error = xfs_attr3_leaf_lookup_int(bp, args);
fs/xfs/libxfs/xfs_attr.c
528
switch (error) {
fs/xfs/libxfs/xfs_attr.c
557
error = xfs_attr3_leaf_to_node(args);
fs/xfs/libxfs/xfs_attr.c
558
if (error)
fs/xfs/libxfs/xfs_attr.c
559
return error;
fs/xfs/libxfs/xfs_attr.c
574
return error;
fs/xfs/libxfs/xfs_attr.c
589
int error;
fs/xfs/libxfs/xfs_attr.c
591
error = xfs_attr_node_addname_find_attr(attr);
fs/xfs/libxfs/xfs_attr.c
592
if (error)
fs/xfs/libxfs/xfs_attr.c
593
return error;
fs/xfs/libxfs/xfs_attr.c
595
error = xfs_attr_node_try_addname(attr);
fs/xfs/libxfs/xfs_attr.c
596
if (error == 1) {
fs/xfs/libxfs/xfs_attr.c
597
error = xfs_attr3_leaf_to_node(args);
fs/xfs/libxfs/xfs_attr.c
598
if (error)
fs/xfs/libxfs/xfs_attr.c
599
return error;
fs/xfs/libxfs/xfs_attr.c
606
if (error)
fs/xfs/libxfs/xfs_attr.c
607
return error;
fs/xfs/libxfs/xfs_attr.c
616
return error;
fs/xfs/libxfs/xfs_attr.c
624
int error = 0;
fs/xfs/libxfs/xfs_attr.c
633
error = xfs_attr_rmtval_set_blk(attr);
fs/xfs/libxfs/xfs_attr.c
634
if (error)
fs/xfs/libxfs/xfs_attr.c
635
return error;
fs/xfs/libxfs/xfs_attr.c
641
error = xfs_attr_rmtval_set_value(args);
fs/xfs/libxfs/xfs_attr.c
642
if (error)
fs/xfs/libxfs/xfs_attr.c
643
return error;
fs/xfs/libxfs/xfs_attr.c
653
error = xfs_attr3_leaf_clearflag(args);
fs/xfs/libxfs/xfs_attr.c
656
return error;
fs/xfs/libxfs/xfs_attr.c
668
int error;
fs/xfs/libxfs/xfs_attr.c
675
error = xfs_attr_fillstate(state);
fs/xfs/libxfs/xfs_attr.c
676
if (error)
fs/xfs/libxfs/xfs_attr.c
677
return error;
fs/xfs/libxfs/xfs_attr.c
709
int error;
fs/xfs/libxfs/xfs_attr.c
712
error = xfs_attr_node_lookup(args, attr->xattri_da_state);
fs/xfs/libxfs/xfs_attr.c
713
if (error != -EEXIST)
fs/xfs/libxfs/xfs_attr.c
715
error = 0;
fs/xfs/libxfs/xfs_attr.c
722
error = xfs_attr_leaf_mark_incomplete(args, state);
fs/xfs/libxfs/xfs_attr.c
723
if (error)
fs/xfs/libxfs/xfs_attr.c
726
error = xfs_attr_rmtval_invalidate(args);
fs/xfs/libxfs/xfs_attr.c
728
if (error) {
fs/xfs/libxfs/xfs_attr.c
733
return error;
fs/xfs/libxfs/xfs_attr.c
749
int error;
fs/xfs/libxfs/xfs_attr.c
751
error = xfs_attr3_leaf_read(args->trans, args->dp, args->owner,
fs/xfs/libxfs/xfs_attr.c
753
if (error)
fs/xfs/libxfs/xfs_attr.c
754
return error;
fs/xfs/libxfs/xfs_attr.c
760
error = xfs_attr3_leaf_to_shortform(bp, args, forkoff);
fs/xfs/libxfs/xfs_attr.c
763
return error;
fs/xfs/libxfs/xfs_attr.c
778
int error;
fs/xfs/libxfs/xfs_attr.c
783
error = xfs_attr3_leaf_read(args->trans, args->dp, args->owner, 0, &bp);
fs/xfs/libxfs/xfs_attr.c
784
if (error)
fs/xfs/libxfs/xfs_attr.c
785
return error;
fs/xfs/libxfs/xfs_attr.c
789
error = xfs_attr3_leaf_to_shortform(bp, args, forkoff);
fs/xfs/libxfs/xfs_attr.c
795
return error;
fs/xfs/libxfs/xfs_attr.c
811
int error = 0;
fs/xfs/libxfs/xfs_attr.c
827
error = xfs_attr_sf_removename(args);
fs/xfs/libxfs/xfs_attr.c
832
error = xfs_attr_leaf_removename(args);
fs/xfs/libxfs/xfs_attr.c
837
error = xfs_attr_node_removename_setup(attr);
fs/xfs/libxfs/xfs_attr.c
838
if (error == -ENOATTR &&
fs/xfs/libxfs/xfs_attr.c
842
error = 0;
fs/xfs/libxfs/xfs_attr.c
845
if (error)
fs/xfs/libxfs/xfs_attr.c
846
return error;
fs/xfs/libxfs/xfs_attr.c
854
error = xfs_attr_rmtval_find_space(attr);
fs/xfs/libxfs/xfs_attr.c
855
if (error)
fs/xfs/libxfs/xfs_attr.c
856
return error;
fs/xfs/libxfs/xfs_attr.c
862
error = xfs_attr_rmtval_alloc(attr);
fs/xfs/libxfs/xfs_attr.c
863
if (error)
fs/xfs/libxfs/xfs_attr.c
864
return error;
fs/xfs/libxfs/xfs_attr.c
876
error = xfs_attr3_leaf_flipflags(args);
fs/xfs/libxfs/xfs_attr.c
877
if (error)
fs/xfs/libxfs/xfs_attr.c
878
return error;
fs/xfs/libxfs/xfs_attr.c
897
error = xfs_attr_rmtval_invalidate(args);
fs/xfs/libxfs/xfs_attr.c
898
if (error)
fs/xfs/libxfs/xfs_attr.c
899
return error;
fs/xfs/libxfs/xfs_attr.c
909
error = xfs_attr_rmtval_remove(attr);
fs/xfs/libxfs/xfs_attr.c
910
if (error == -EAGAIN) {
fs/xfs/libxfs/xfs_attr.c
911
error = 0;
fs/xfs/libxfs/xfs_attr.c
914
if (error)
fs/xfs/libxfs/xfs_attr.c
915
return error;
fs/xfs/libxfs/xfs_attr.c
929
error = xfs_attr_leaf_remove_attr(attr);
fs/xfs/libxfs/xfs_attr.c
935
error = xfs_attr_node_remove_attr(attr);
fs/xfs/libxfs/xfs_attr.c
936
if (!error)
fs/xfs/libxfs/xfs_attr.c
937
error = xfs_attr_leaf_shrink(args);
fs/xfs/libxfs/xfs_attr.c
947
return error;
fs/xfs/libxfs/xfs_attr.c
961
int error;
fs/xfs/libxfs/xfs_attr.c
973
error = xfs_iread_extents(args->trans, args->dp, XFS_ATTR_FORK);
fs/xfs/libxfs/xfs_attr.c
974
if (error)
fs/xfs/libxfs/xfs_attr.c
975
return error;
fs/xfs/libxfs/xfs_attr.c
978
error = xfs_attr3_leaf_read(args->trans, args->dp, args->owner,
fs/xfs/libxfs/xfs_attr.c
980
if (error)
fs/xfs/libxfs/xfs_attr.c
981
return error;
fs/xfs/libxfs/xfs_attr.c
982
error = xfs_attr3_leaf_lookup_int(bp, args);
fs/xfs/libxfs/xfs_attr.c
984
return error;
fs/xfs/libxfs/xfs_attr.c
988
error = xfs_attr_node_lookup(args, state);
fs/xfs/libxfs/xfs_attr.c
990
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
1039
int error, i;
fs/xfs/libxfs/xfs_attr_leaf.c
1053
error = xfs_da_grow_inode(args, &blkno);
fs/xfs/libxfs/xfs_attr_leaf.c
1054
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
1058
error = xfs_attr3_leaf_create(args, blkno, &bp);
fs/xfs/libxfs/xfs_attr_leaf.c
1059
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
1080
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_attr_leaf.c
1084
error = xfs_attr3_leaf_lookup_int(bp, &nargs); /* set a->index */
fs/xfs/libxfs/xfs_attr_leaf.c
1085
ASSERT(error == -ENOATTR);
fs/xfs/libxfs/xfs_attr_leaf.c
1090
error = 0;
fs/xfs/libxfs/xfs_attr_leaf.c
1093
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
1221
int error;
fs/xfs/libxfs/xfs_attr_leaf.c
1239
error = xfs_da_shrink_inode(args, 0, bp);
fs/xfs/libxfs/xfs_attr_leaf.c
1240
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
1286
error = 0;
fs/xfs/libxfs/xfs_attr_leaf.c
1290
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
1310
int error;
fs/xfs/libxfs/xfs_attr_leaf.c
1315
error = -EIO;
fs/xfs/libxfs/xfs_attr_leaf.c
1319
error = xfs_da_grow_inode(args, &blkno);
fs/xfs/libxfs/xfs_attr_leaf.c
1320
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
1322
error = xfs_attr3_leaf_read(args->trans, dp, args->owner, 0, &bp1);
fs/xfs/libxfs/xfs_attr_leaf.c
1323
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
1326
error = xfs_da_get_buf(args->trans, dp, blkno, &bp2, XFS_ATTR_FORK);
fs/xfs/libxfs/xfs_attr_leaf.c
1327
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
1339
error = xfs_da3_node_create(args, 0, 1, &bp1, XFS_ATTR_FORK);
fs/xfs/libxfs/xfs_attr_leaf.c
1340
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
1355
error = 0;
fs/xfs/libxfs/xfs_attr_leaf.c
1357
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
1379
int error;
fs/xfs/libxfs/xfs_attr_leaf.c
1383
error = xfs_da_get_buf(args->trans, args->dp, blkno, &bp,
fs/xfs/libxfs/xfs_attr_leaf.c
1385
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
1386
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
1454
int error;
fs/xfs/libxfs/xfs_attr_leaf.c
1462
error = xfs_da_grow_inode(state->args, &blkno);
fs/xfs/libxfs/xfs_attr_leaf.c
1463
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
1464
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
1465
error = xfs_attr3_leaf_create(state->args, blkno, &newblk->bp);
fs/xfs/libxfs/xfs_attr_leaf.c
1466
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
1467
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
1476
error = xfs_da3_blk_link(state, oldblk, newblk);
fs/xfs/libxfs/xfs_attr_leaf.c
1477
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
1478
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
2155
int error;
fs/xfs/libxfs/xfs_attr_leaf.c
2188
error = xfs_da3_path_shift(state, &state->altpath, forward,
fs/xfs/libxfs/xfs_attr_leaf.c
2190
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
2191
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
2217
error = xfs_attr3_leaf_read(state->args->trans, state->args->dp,
fs/xfs/libxfs/xfs_attr_leaf.c
2219
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
2220
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
2245
error = xfs_da3_path_shift(state, &state->altpath, forward,
fs/xfs/libxfs/xfs_attr_leaf.c
2248
error = xfs_da3_path_shift(state, &state->path, forward,
fs/xfs/libxfs/xfs_attr_leaf.c
2251
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
2252
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
2928
int error;
fs/xfs/libxfs/xfs_attr_leaf.c
2940
error = xfs_attr3_leaf_read(args->trans, args->dp, args->owner,
fs/xfs/libxfs/xfs_attr_leaf.c
2942
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
2943
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
2995
int error;
fs/xfs/libxfs/xfs_attr_leaf.c
3005
error = xfs_attr3_leaf_read(args->trans, args->dp, args->owner,
fs/xfs/libxfs/xfs_attr_leaf.c
3007
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
3008
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
3051
int error;
fs/xfs/libxfs/xfs_attr_leaf.c
3065
error = xfs_attr3_leaf_read(args->trans, args->dp, args->owner,
fs/xfs/libxfs/xfs_attr_leaf.c
3067
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
3068
return error;
fs/xfs/libxfs/xfs_attr_leaf.c
3074
error = xfs_attr3_leaf_read(args->trans, args->dp, args->owner,
fs/xfs/libxfs/xfs_attr_leaf.c
3076
if (error)
fs/xfs/libxfs/xfs_attr_leaf.c
3077
return error;
fs/xfs/libxfs/xfs_attr_remote.c
177
int error;
fs/xfs/libxfs/xfs_attr_remote.c
179
error = __xfs_attr3_rmt_read_verify(bp, true, &fa);
fs/xfs/libxfs/xfs_attr_remote.c
180
if (error)
fs/xfs/libxfs/xfs_attr_remote.c
181
xfs_verifier_error(bp, error, fa);
fs/xfs/libxfs/xfs_attr_remote.c
189
int error;
fs/xfs/libxfs/xfs_attr_remote.c
191
error = __xfs_attr3_rmt_read_verify(bp, false, &fa);
fs/xfs/libxfs/xfs_attr_remote.c
192
return error ? fa : NULL;
fs/xfs/libxfs/xfs_attr_remote.c
406
int error;
fs/xfs/libxfs/xfs_attr_remote.c
419
error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno,
fs/xfs/libxfs/xfs_attr_remote.c
422
if (error)
fs/xfs/libxfs/xfs_attr_remote.c
423
return error;
fs/xfs/libxfs/xfs_attr_remote.c
434
error = xfs_buf_read(mp->m_ddev_targp, dblkno, dblkcnt,
fs/xfs/libxfs/xfs_attr_remote.c
436
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_attr_remote.c
443
if (error == -ENODATA)
fs/xfs/libxfs/xfs_attr_remote.c
444
error = -EIO;
fs/xfs/libxfs/xfs_attr_remote.c
445
if (error)
fs/xfs/libxfs/xfs_attr_remote.c
446
return error;
fs/xfs/libxfs/xfs_attr_remote.c
448
error = xfs_attr_rmtval_copyout(mp, bp, args->dp,
fs/xfs/libxfs/xfs_attr_remote.c
451
if (error)
fs/xfs/libxfs/xfs_attr_remote.c
452
return error;
fs/xfs/libxfs/xfs_attr_remote.c
473
int error;
fs/xfs/libxfs/xfs_attr_remote.c
483
error = xfs_bmap_first_unused(args->trans, args->dp, blkcnt, &lfileoff,
fs/xfs/libxfs/xfs_attr_remote.c
485
if (error)
fs/xfs/libxfs/xfs_attr_remote.c
486
return error;
fs/xfs/libxfs/xfs_attr_remote.c
506
int error;
fs/xfs/libxfs/xfs_attr_remote.c
526
error = xfs_bmapi_read(dp, (xfs_fileoff_t)lblkno,
fs/xfs/libxfs/xfs_attr_remote.c
529
if (error)
fs/xfs/libxfs/xfs_attr_remote.c
530
return error;
fs/xfs/libxfs/xfs_attr_remote.c
538
error = xfs_buf_get(mp->m_ddev_targp, dblkno, dblkcnt, &bp);
fs/xfs/libxfs/xfs_attr_remote.c
539
if (error)
fs/xfs/libxfs/xfs_attr_remote.c
540
return error;
fs/xfs/libxfs/xfs_attr_remote.c
546
error = xfs_bwrite(bp); /* GROT: NOTE: synchronous write */
fs/xfs/libxfs/xfs_attr_remote.c
548
if (error)
fs/xfs/libxfs/xfs_attr_remote.c
549
return error;
fs/xfs/libxfs/xfs_attr_remote.c
569
int error;
fs/xfs/libxfs/xfs_attr_remote.c
579
error = xfs_buf_incore(mp->m_ddev_targp,
fs/xfs/libxfs/xfs_attr_remote.c
583
if (error) {
fs/xfs/libxfs/xfs_attr_remote.c
584
if (error == -ENOENT)
fs/xfs/libxfs/xfs_attr_remote.c
586
return error;
fs/xfs/libxfs/xfs_attr_remote.c
605
int error;
fs/xfs/libxfs/xfs_attr_remote.c
613
error = xfs_attr_rmt_find_hole(args);
fs/xfs/libxfs/xfs_attr_remote.c
614
if (error)
fs/xfs/libxfs/xfs_attr_remote.c
615
return error;
fs/xfs/libxfs/xfs_attr_remote.c
637
int error;
fs/xfs/libxfs/xfs_attr_remote.c
640
error = xfs_bmapi_write(args->trans, dp,
fs/xfs/libxfs/xfs_attr_remote.c
644
if (error)
fs/xfs/libxfs/xfs_attr_remote.c
645
return error;
fs/xfs/libxfs/xfs_attr_remote.c
667
int error;
fs/xfs/libxfs/xfs_attr_remote.c
682
error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno,
fs/xfs/libxfs/xfs_attr_remote.c
684
if (error)
fs/xfs/libxfs/xfs_attr_remote.c
685
return error;
fs/xfs/libxfs/xfs_attr_remote.c
690
error = xfs_attr_rmtval_stale(args->dp, &map, XBF_TRYLOCK);
fs/xfs/libxfs/xfs_attr_remote.c
691
if (error)
fs/xfs/libxfs/xfs_attr_remote.c
692
return error;
fs/xfs/libxfs/xfs_attr_remote.c
711
int error, done;
fs/xfs/libxfs/xfs_attr_remote.c
716
error = xfs_bunmapi(args->trans, args->dp, args->rmtblkno,
fs/xfs/libxfs/xfs_attr_remote.c
718
if (error)
fs/xfs/libxfs/xfs_attr_remote.c
719
return error;
fs/xfs/libxfs/xfs_bmap.c
1036
int error; /* error return value */
fs/xfs/libxfs/xfs_bmap.c
1044
error = xfs_bmap_set_attrforkoff(ip, size);
fs/xfs/libxfs/xfs_bmap.c
1045
if (error)
fs/xfs/libxfs/xfs_bmap.c
1046
return error;
fs/xfs/libxfs/xfs_bmap.c
1052
error = xfs_bmap_add_attrfork_local(tp, ip, &logflags);
fs/xfs/libxfs/xfs_bmap.c
1055
error = xfs_bmap_add_attrfork_extents(tp, ip, &logflags);
fs/xfs/libxfs/xfs_bmap.c
1058
error = xfs_bmap_add_attrfork_btree(tp, ip, &logflags);
fs/xfs/libxfs/xfs_bmap.c
1061
error = 0;
fs/xfs/libxfs/xfs_bmap.c
1066
if (error)
fs/xfs/libxfs/xfs_bmap.c
1067
return error;
fs/xfs/libxfs/xfs_bmap.c
1192
int error;
fs/xfs/libxfs/xfs_bmap.c
1202
error = xfs_btree_visit_blocks(cur, xfs_iread_bmbt_block,
fs/xfs/libxfs/xfs_bmap.c
1204
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_bmap.c
1205
if (error)
fs/xfs/libxfs/xfs_bmap.c
1210
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1222
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_bmap.c
1225
return error;
fs/xfs/libxfs/xfs_bmap.c
1247
int error;
fs/xfs/libxfs/xfs_bmap.c
1256
error = xfs_iread_extents(tp, ip, whichfork);
fs/xfs/libxfs/xfs_bmap.c
1257
if (error)
fs/xfs/libxfs/xfs_bmap.c
1258
return error;
fs/xfs/libxfs/xfs_bmap.c
1292
int error;
fs/xfs/libxfs/xfs_bmap.c
1307
error = xfs_iread_extents(tp, ip, whichfork);
fs/xfs/libxfs/xfs_bmap.c
1308
if (error)
fs/xfs/libxfs/xfs_bmap.c
1309
return error;
fs/xfs/libxfs/xfs_bmap.c
1326
int error;
fs/xfs/libxfs/xfs_bmap.c
1328
error = xfs_iread_extents(tp, ip, whichfork);
fs/xfs/libxfs/xfs_bmap.c
1329
if (error)
fs/xfs/libxfs/xfs_bmap.c
1330
return error;
fs/xfs/libxfs/xfs_bmap.c
1356
int error;
fs/xfs/libxfs/xfs_bmap.c
1359
error = xfs_bmap_last_extent(NULL, bma->ip, whichfork, &rec,
fs/xfs/libxfs/xfs_bmap.c
1361
if (error)
fs/xfs/libxfs/xfs_bmap.c
1362
return error;
fs/xfs/libxfs/xfs_bmap.c
1393
int error;
fs/xfs/libxfs/xfs_bmap.c
1405
error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, &is_empty);
fs/xfs/libxfs/xfs_bmap.c
1406
if (error || is_empty)
fs/xfs/libxfs/xfs_bmap.c
1407
return error;
fs/xfs/libxfs/xfs_bmap.c
1446
int error; /* error return value */
fs/xfs/libxfs/xfs_bmap.c
1533
error = 0;
fs/xfs/libxfs/xfs_bmap.c
1557
error = xfs_bmbt_lookup_eq(bma->cur, &RIGHT, &i);
fs/xfs/libxfs/xfs_bmap.c
1558
if (error)
fs/xfs/libxfs/xfs_bmap.c
1562
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1565
error = xfs_btree_delete(bma->cur, &i);
fs/xfs/libxfs/xfs_bmap.c
1566
if (error)
fs/xfs/libxfs/xfs_bmap.c
1570
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1573
error = xfs_btree_decrement(bma->cur, 0, &i);
fs/xfs/libxfs/xfs_bmap.c
1574
if (error)
fs/xfs/libxfs/xfs_bmap.c
1578
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1581
error = xfs_bmbt_update(bma->cur, &LEFT);
fs/xfs/libxfs/xfs_bmap.c
1582
if (error)
fs/xfs/libxfs/xfs_bmap.c
1604
error = xfs_bmbt_lookup_eq(bma->cur, &old, &i);
fs/xfs/libxfs/xfs_bmap.c
1605
if (error)
fs/xfs/libxfs/xfs_bmap.c
1609
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1612
error = xfs_bmbt_update(bma->cur, &LEFT);
fs/xfs/libxfs/xfs_bmap.c
1613
if (error)
fs/xfs/libxfs/xfs_bmap.c
1639
error = xfs_bmbt_lookup_eq(bma->cur, &RIGHT, &i);
fs/xfs/libxfs/xfs_bmap.c
1640
if (error)
fs/xfs/libxfs/xfs_bmap.c
1644
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1647
error = xfs_bmbt_update(bma->cur, &PREV);
fs/xfs/libxfs/xfs_bmap.c
1648
if (error)
fs/xfs/libxfs/xfs_bmap.c
1669
error = xfs_bmbt_lookup_eq(bma->cur, new, &i);
fs/xfs/libxfs/xfs_bmap.c
1670
if (error)
fs/xfs/libxfs/xfs_bmap.c
1674
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1677
error = xfs_btree_insert(bma->cur, &i);
fs/xfs/libxfs/xfs_bmap.c
1678
if (error)
fs/xfs/libxfs/xfs_bmap.c
1682
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1713
error = xfs_bmbt_lookup_eq(bma->cur, &old, &i);
fs/xfs/libxfs/xfs_bmap.c
1714
if (error)
fs/xfs/libxfs/xfs_bmap.c
1718
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1721
error = xfs_bmbt_update(bma->cur, &LEFT);
fs/xfs/libxfs/xfs_bmap.c
1722
if (error)
fs/xfs/libxfs/xfs_bmap.c
1740
error = xfs_bmbt_lookup_eq(bma->cur, new, &i);
fs/xfs/libxfs/xfs_bmap.c
1741
if (error)
fs/xfs/libxfs/xfs_bmap.c
1745
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1748
error = xfs_btree_insert(bma->cur, &i);
fs/xfs/libxfs/xfs_bmap.c
1749
if (error)
fs/xfs/libxfs/xfs_bmap.c
1753
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1759
error = xfs_bmap_extents_to_btree(bma->tp, bma->ip,
fs/xfs/libxfs/xfs_bmap.c
1762
if (error)
fs/xfs/libxfs/xfs_bmap.c
1793
error = xfs_bmbt_lookup_eq(bma->cur, &old, &i);
fs/xfs/libxfs/xfs_bmap.c
1794
if (error)
fs/xfs/libxfs/xfs_bmap.c
1798
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1801
error = xfs_bmbt_update(bma->cur, &RIGHT);
fs/xfs/libxfs/xfs_bmap.c
1802
if (error)
fs/xfs/libxfs/xfs_bmap.c
1831
error = xfs_bmbt_lookup_eq(bma->cur, new, &i);
fs/xfs/libxfs/xfs_bmap.c
1832
if (error)
fs/xfs/libxfs/xfs_bmap.c
1836
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1839
error = xfs_btree_insert(bma->cur, &i);
fs/xfs/libxfs/xfs_bmap.c
1840
if (error)
fs/xfs/libxfs/xfs_bmap.c
1844
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1850
error = xfs_bmap_extents_to_btree(bma->tp, bma->ip,
fs/xfs/libxfs/xfs_bmap.c
1853
if (error)
fs/xfs/libxfs/xfs_bmap.c
1920
error = xfs_bmbt_lookup_eq(bma->cur, new, &i);
fs/xfs/libxfs/xfs_bmap.c
1921
if (error)
fs/xfs/libxfs/xfs_bmap.c
1925
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1928
error = xfs_btree_insert(bma->cur, &i);
fs/xfs/libxfs/xfs_bmap.c
1929
if (error)
fs/xfs/libxfs/xfs_bmap.c
1933
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
1939
error = xfs_bmap_extents_to_btree(bma->tp, bma->ip,
fs/xfs/libxfs/xfs_bmap.c
1942
if (error)
fs/xfs/libxfs/xfs_bmap.c
1972
error = xfs_bmap_extents_to_btree(bma->tp, bma->ip,
fs/xfs/libxfs/xfs_bmap.c
1976
if (error)
fs/xfs/libxfs/xfs_bmap.c
1992
error = xfs_dec_fdblocks(mp, da_new - da_old, true);
fs/xfs/libxfs/xfs_bmap.c
1998
return error;
fs/xfs/libxfs/xfs_bmap.c
2018
int error; /* error return value */
fs/xfs/libxfs/xfs_bmap.c
2045
error = 0;
fs/xfs/libxfs/xfs_bmap.c
2126
error = xfs_bmbt_lookup_eq(cur, &RIGHT, &i);
fs/xfs/libxfs/xfs_bmap.c
2127
if (error)
fs/xfs/libxfs/xfs_bmap.c
2131
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2134
if ((error = xfs_btree_delete(cur, &i)))
fs/xfs/libxfs/xfs_bmap.c
2138
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2141
if ((error = xfs_btree_decrement(cur, 0, &i)))
fs/xfs/libxfs/xfs_bmap.c
2145
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2148
if ((error = xfs_btree_delete(cur, &i)))
fs/xfs/libxfs/xfs_bmap.c
2152
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2155
if ((error = xfs_btree_decrement(cur, 0, &i)))
fs/xfs/libxfs/xfs_bmap.c
2159
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2162
error = xfs_bmbt_update(cur, &LEFT);
fs/xfs/libxfs/xfs_bmap.c
2163
if (error)
fs/xfs/libxfs/xfs_bmap.c
2183
error = xfs_bmbt_lookup_eq(cur, &PREV, &i);
fs/xfs/libxfs/xfs_bmap.c
2184
if (error)
fs/xfs/libxfs/xfs_bmap.c
2188
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2191
if ((error = xfs_btree_delete(cur, &i)))
fs/xfs/libxfs/xfs_bmap.c
2195
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2198
if ((error = xfs_btree_decrement(cur, 0, &i)))
fs/xfs/libxfs/xfs_bmap.c
2202
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2205
error = xfs_bmbt_update(cur, &LEFT);
fs/xfs/libxfs/xfs_bmap.c
2206
if (error)
fs/xfs/libxfs/xfs_bmap.c
2229
error = xfs_bmbt_lookup_eq(cur, &RIGHT, &i);
fs/xfs/libxfs/xfs_bmap.c
2230
if (error)
fs/xfs/libxfs/xfs_bmap.c
2234
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2237
if ((error = xfs_btree_delete(cur, &i)))
fs/xfs/libxfs/xfs_bmap.c
2241
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2244
if ((error = xfs_btree_decrement(cur, 0, &i)))
fs/xfs/libxfs/xfs_bmap.c
2248
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2251
error = xfs_bmbt_update(cur, &PREV);
fs/xfs/libxfs/xfs_bmap.c
2252
if (error)
fs/xfs/libxfs/xfs_bmap.c
2270
error = xfs_bmbt_lookup_eq(cur, new, &i);
fs/xfs/libxfs/xfs_bmap.c
2271
if (error)
fs/xfs/libxfs/xfs_bmap.c
2275
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2278
error = xfs_bmbt_update(cur, &PREV);
fs/xfs/libxfs/xfs_bmap.c
2279
if (error)
fs/xfs/libxfs/xfs_bmap.c
2304
error = xfs_bmbt_lookup_eq(cur, &old, &i);
fs/xfs/libxfs/xfs_bmap.c
2305
if (error)
fs/xfs/libxfs/xfs_bmap.c
2309
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2312
error = xfs_bmbt_update(cur, &PREV);
fs/xfs/libxfs/xfs_bmap.c
2313
if (error)
fs/xfs/libxfs/xfs_bmap.c
2315
error = xfs_btree_decrement(cur, 0, &i);
fs/xfs/libxfs/xfs_bmap.c
2316
if (error)
fs/xfs/libxfs/xfs_bmap.c
2318
error = xfs_bmbt_update(cur, &LEFT);
fs/xfs/libxfs/xfs_bmap.c
2319
if (error)
fs/xfs/libxfs/xfs_bmap.c
2342
error = xfs_bmbt_lookup_eq(cur, &old, &i);
fs/xfs/libxfs/xfs_bmap.c
2343
if (error)
fs/xfs/libxfs/xfs_bmap.c
2347
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2350
error = xfs_bmbt_update(cur, &PREV);
fs/xfs/libxfs/xfs_bmap.c
2351
if (error)
fs/xfs/libxfs/xfs_bmap.c
2354
if ((error = xfs_btree_insert(cur, &i)))
fs/xfs/libxfs/xfs_bmap.c
2358
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2384
error = xfs_bmbt_lookup_eq(cur, &old, &i);
fs/xfs/libxfs/xfs_bmap.c
2385
if (error)
fs/xfs/libxfs/xfs_bmap.c
2389
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
239
int error;
fs/xfs/libxfs/xfs_bmap.c
2392
error = xfs_bmbt_update(cur, &PREV);
fs/xfs/libxfs/xfs_bmap.c
2393
if (error)
fs/xfs/libxfs/xfs_bmap.c
2395
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_bmap.c
2396
if (error)
fs/xfs/libxfs/xfs_bmap.c
2398
error = xfs_bmbt_update(cur, &RIGHT);
fs/xfs/libxfs/xfs_bmap.c
2399
if (error)
fs/xfs/libxfs/xfs_bmap.c
2421
error = xfs_bmbt_lookup_eq(cur, &old, &i);
fs/xfs/libxfs/xfs_bmap.c
2422
if (error)
fs/xfs/libxfs/xfs_bmap.c
2426
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2429
error = xfs_bmbt_update(cur, &PREV);
fs/xfs/libxfs/xfs_bmap.c
243
error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp,
fs/xfs/libxfs/xfs_bmap.c
2430
if (error)
fs/xfs/libxfs/xfs_bmap.c
2432
error = xfs_bmbt_lookup_eq(cur, new, &i);
fs/xfs/libxfs/xfs_bmap.c
2433
if (error)
fs/xfs/libxfs/xfs_bmap.c
2437
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2440
if ((error = xfs_btree_insert(cur, &i)))
fs/xfs/libxfs/xfs_bmap.c
2444
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
246
if (!error) {
fs/xfs/libxfs/xfs_bmap.c
2476
error = xfs_bmbt_lookup_eq(cur, &old, &i);
fs/xfs/libxfs/xfs_bmap.c
2477
if (error)
fs/xfs/libxfs/xfs_bmap.c
2481
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2485
error = xfs_bmbt_update(cur, &r[1]);
fs/xfs/libxfs/xfs_bmap.c
2486
if (error)
fs/xfs/libxfs/xfs_bmap.c
2490
if ((error = xfs_btree_insert(cur, &i)))
fs/xfs/libxfs/xfs_bmap.c
2494
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
250
return error;
fs/xfs/libxfs/xfs_bmap.c
2502
error = xfs_bmbt_lookup_eq(cur, new, &i);
fs/xfs/libxfs/xfs_bmap.c
2503
if (error)
fs/xfs/libxfs/xfs_bmap.c
2507
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2511
if ((error = xfs_btree_insert(cur, &i)))
fs/xfs/libxfs/xfs_bmap.c
2515
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2542
error = xfs_bmap_extents_to_btree(tp, ip, &cur, 0,
fs/xfs/libxfs/xfs_bmap.c
2545
if (error)
fs/xfs/libxfs/xfs_bmap.c
2558
return error;
fs/xfs/libxfs/xfs_bmap.c
2581
int error; /* error return value */
fs/xfs/libxfs/xfs_bmap.c
2636
error = 0;
fs/xfs/libxfs/xfs_bmap.c
2658
error = xfs_bmbt_lookup_eq(cur, &right, &i);
fs/xfs/libxfs/xfs_bmap.c
2659
if (error)
fs/xfs/libxfs/xfs_bmap.c
2663
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2666
error = xfs_btree_delete(cur, &i);
fs/xfs/libxfs/xfs_bmap.c
2667
if (error)
fs/xfs/libxfs/xfs_bmap.c
2671
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2674
error = xfs_btree_decrement(cur, 0, &i);
fs/xfs/libxfs/xfs_bmap.c
2675
if (error)
fs/xfs/libxfs/xfs_bmap.c
2679
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2682
error = xfs_bmbt_update(cur, &left);
fs/xfs/libxfs/xfs_bmap.c
2683
if (error)
fs/xfs/libxfs/xfs_bmap.c
2704
error = xfs_bmbt_lookup_eq(cur, &old, &i);
fs/xfs/libxfs/xfs_bmap.c
2705
if (error)
fs/xfs/libxfs/xfs_bmap.c
2709
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2712
error = xfs_bmbt_update(cur, &left);
fs/xfs/libxfs/xfs_bmap.c
2713
if (error)
fs/xfs/libxfs/xfs_bmap.c
2735
error = xfs_bmbt_lookup_eq(cur, &old, &i);
fs/xfs/libxfs/xfs_bmap.c
2736
if (error)
fs/xfs/libxfs/xfs_bmap.c
2740
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2743
error = xfs_bmbt_update(cur, &right);
fs/xfs/libxfs/xfs_bmap.c
2744
if (error)
fs/xfs/libxfs/xfs_bmap.c
2762
error = xfs_bmbt_lookup_eq(cur, new, &i);
fs/xfs/libxfs/xfs_bmap.c
2763
if (error)
fs/xfs/libxfs/xfs_bmap.c
2767
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2770
error = xfs_btree_insert(cur, &i);
fs/xfs/libxfs/xfs_bmap.c
2771
if (error)
fs/xfs/libxfs/xfs_bmap.c
2775
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
2791
error = xfs_bmap_extents_to_btree(tp, ip, curp, 0,
fs/xfs/libxfs/xfs_bmap.c
2795
if (error)
fs/xfs/libxfs/xfs_bmap.c
2806
return error;
fs/xfs/libxfs/xfs_bmap.c
3155
int error = 0;
fs/xfs/libxfs/xfs_bmap.c
3158
error = xfs_alloc_read_agf(pag, tp, XFS_ALLOC_FLAG_TRYLOCK,
fs/xfs/libxfs/xfs_bmap.c
3160
if (error)
fs/xfs/libxfs/xfs_bmap.c
3161
return error;
fs/xfs/libxfs/xfs_bmap.c
3206
int error = 0;
fs/xfs/libxfs/xfs_bmap.c
3221
error = xfs_bmap_longest_free_extent(pag, args->tp, blen);
fs/xfs/libxfs/xfs_bmap.c
3222
if (error && error != -EAGAIN)
fs/xfs/libxfs/xfs_bmap.c
3224
error = 0;
fs/xfs/libxfs/xfs_bmap.c
3232
return error;
fs/xfs/libxfs/xfs_bmap.c
3418
int error;
fs/xfs/libxfs/xfs_bmap.c
3447
error = xfs_alloc_vextent_exact_bno(args, ap->blkno);
fs/xfs/libxfs/xfs_bmap.c
3452
if (error)
fs/xfs/libxfs/xfs_bmap.c
3453
return error;
fs/xfs/libxfs/xfs_bmap.c
3477
error = xfs_alloc_vextent_near_bno(args, ap->blkno);
fs/xfs/libxfs/xfs_bmap.c
3480
error = xfs_alloc_vextent_start_ag(args, ap->blkno);
fs/xfs/libxfs/xfs_bmap.c
3484
if (error)
fs/xfs/libxfs/xfs_bmap.c
3485
return error;
fs/xfs/libxfs/xfs_bmap.c
351
int error; /* error return value */
fs/xfs/libxfs/xfs_bmap.c
3516
int error;
fs/xfs/libxfs/xfs_bmap.c
3520
error = xfs_alloc_vextent_start_ag(args, ap->blkno);
fs/xfs/libxfs/xfs_bmap.c
3521
if (error || args->fsbno != NULLFSBLOCK)
fs/xfs/libxfs/xfs_bmap.c
3522
return error;
fs/xfs/libxfs/xfs_bmap.c
3527
error = xfs_alloc_vextent_first_ag(args, 0);
fs/xfs/libxfs/xfs_bmap.c
3528
if (error)
fs/xfs/libxfs/xfs_bmap.c
3529
return error;
fs/xfs/libxfs/xfs_bmap.c
3541
int error = 0;
fs/xfs/libxfs/xfs_bmap.c
3544
error = xfs_filestream_select_ag(ap, args, &blen);
fs/xfs/libxfs/xfs_bmap.c
3545
if (error)
fs/xfs/libxfs/xfs_bmap.c
3546
return error;
fs/xfs/libxfs/xfs_bmap.c
3562
error = xfs_bmap_btalloc_at_eof(ap, args, blen, stripe_align,
fs/xfs/libxfs/xfs_bmap.c
3565
if (!error && args->fsbno == NULLFSBLOCK)
fs/xfs/libxfs/xfs_bmap.c
3566
error = xfs_alloc_vextent_near_bno(args, ap->blkno);
fs/xfs/libxfs/xfs_bmap.c
3578
if (error || args->fsbno != NULLFSBLOCK)
fs/xfs/libxfs/xfs_bmap.c
3579
return error;
fs/xfs/libxfs/xfs_bmap.c
3591
int error;
fs/xfs/libxfs/xfs_bmap.c
3602
error = xfs_bmap_btalloc_select_lengths(ap, args, &blen);
fs/xfs/libxfs/xfs_bmap.c
3603
if (error)
fs/xfs/libxfs/xfs_bmap.c
3604
return error;
fs/xfs/libxfs/xfs_bmap.c
3613
error = xfs_bmap_btalloc_at_eof(ap, args, blen, stripe_align,
fs/xfs/libxfs/xfs_bmap.c
3615
if (error || args->fsbno != NULLFSBLOCK)
fs/xfs/libxfs/xfs_bmap.c
3616
return error;
fs/xfs/libxfs/xfs_bmap.c
3619
error = xfs_alloc_vextent_start_ag(args, ap->blkno);
fs/xfs/libxfs/xfs_bmap.c
3620
if (error || args->fsbno != NULLFSBLOCK)
fs/xfs/libxfs/xfs_bmap.c
3621
return error;
fs/xfs/libxfs/xfs_bmap.c
3645
int error;
fs/xfs/libxfs/xfs_bmap.c
3658
error = xfs_bmap_exact_minlen_extent_alloc(ap, &args);
fs/xfs/libxfs/xfs_bmap.c
3661
error = xfs_bmap_btalloc_filestreams(ap, &args, stripe_align);
fs/xfs/libxfs/xfs_bmap.c
3663
error = xfs_bmap_btalloc_best_length(ap, &args, stripe_align);
fs/xfs/libxfs/xfs_bmap.c
3664
if (error)
fs/xfs/libxfs/xfs_bmap.c
3665
return error;
fs/xfs/libxfs/xfs_bmap.c
3829
int error;
fs/xfs/libxfs/xfs_bmap.c
3853
error = xfs_iread_extents(NULL, ip, whichfork);
fs/xfs/libxfs/xfs_bmap.c
3854
if (error)
fs/xfs/libxfs/xfs_bmap.c
3855
return error;
fs/xfs/libxfs/xfs_bmap.c
3903
int error;
fs/xfs/libxfs/xfs_bmap.c
392
error = xfs_bmap_read_buf(mp, NULL, bno, &bp);
fs/xfs/libxfs/xfs_bmap.c
3927
error = xfs_bmap_isaeof(bma, whichfork);
fs/xfs/libxfs/xfs_bmap.c
3928
if (error)
fs/xfs/libxfs/xfs_bmap.c
3929
return error;
fs/xfs/libxfs/xfs_bmap.c
393
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_bmap.c
3936
error = xfs_bmap_rtalloc(bma);
fs/xfs/libxfs/xfs_bmap.c
3938
error = xfs_bmap_btalloc(bma);
fs/xfs/libxfs/xfs_bmap.c
3939
if (error)
fs/xfs/libxfs/xfs_bmap.c
3940
return error;
fs/xfs/libxfs/xfs_bmap.c
395
if (error)
fs/xfs/libxfs/xfs_bmap.c
3950
error = xfs_zero_extent(bma->ip, bma->blkno, bma->length);
fs/xfs/libxfs/xfs_bmap.c
3951
if (error)
fs/xfs/libxfs/xfs_bmap.c
3952
return error;
fs/xfs/libxfs/xfs_bmap.c
3975
error = xfs_bmap_add_extent_delay_real(bma, whichfork);
fs/xfs/libxfs/xfs_bmap.c
3977
error = xfs_bmap_add_extent_hole_real(bma->tp, bma->ip,
fs/xfs/libxfs/xfs_bmap.c
3980
if (error)
fs/xfs/libxfs/xfs_bmap.c
3981
return error;
fs/xfs/libxfs/xfs_bmap.c
4008
int error;
fs/xfs/libxfs/xfs_bmap.c
4037
error = xfs_zero_extent(bma->ip, mval->br_startblock,
fs/xfs/libxfs/xfs_bmap.c
4039
if (error)
fs/xfs/libxfs/xfs_bmap.c
4040
return error;
fs/xfs/libxfs/xfs_bmap.c
4043
error = xfs_bmap_add_extent_unwritten_real(bma->tp, bma->ip, whichfork,
fs/xfs/libxfs/xfs_bmap.c
4058
if (error)
fs/xfs/libxfs/xfs_bmap.c
4059
return error;
fs/xfs/libxfs/xfs_bmap.c
4102
int error)
fs/xfs/libxfs/xfs_bmap.c
4116
xfs_btree_del_cursor(bma->cur, error);
fs/xfs/libxfs/xfs_bmap.c
412
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
4155
int error; /* error return */
fs/xfs/libxfs/xfs_bmap.c
4204
error = xfs_iread_extents(tp, ip, whichfork);
fs/xfs/libxfs/xfs_bmap.c
4205
if (error)
fs/xfs/libxfs/xfs_bmap.c
4267
error = xfs_bmapi_allocate(&bma);
fs/xfs/libxfs/xfs_bmap.c
4268
if (error) {
fs/xfs/libxfs/xfs_bmap.c
4274
if (error == -ENOSPC && bma.nallocs)
fs/xfs/libxfs/xfs_bmap.c
4294
error = xfs_bmapi_convert_unwritten(&bma, mval, len, flags);
fs/xfs/libxfs/xfs_bmap.c
4295
if (error == -EAGAIN)
fs/xfs/libxfs/xfs_bmap.c
4297
if (error)
fs/xfs/libxfs/xfs_bmap.c
4317
error = xfs_bmap_btree_to_extents(tp, ip, bma.cur, &bma.logflags,
fs/xfs/libxfs/xfs_bmap.c
4319
if (error)
fs/xfs/libxfs/xfs_bmap.c
4344
xfs_bmapi_finish(&bma, whichfork, error);
fs/xfs/libxfs/xfs_bmap.c
4345
return error;
fs/xfs/libxfs/xfs_bmap.c
4368
int error;
fs/xfs/libxfs/xfs_bmap.c
4377
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0,
fs/xfs/libxfs/xfs_bmap.c
4379
if (error)
fs/xfs/libxfs/xfs_bmap.c
4380
return error;
fs/xfs/libxfs/xfs_bmap.c
4385
error = xfs_iext_count_extend(tp, ip, whichfork,
fs/xfs/libxfs/xfs_bmap.c
4387
if (error)
fs/xfs/libxfs/xfs_bmap.c
4398
error = -EAGAIN;
fs/xfs/libxfs/xfs_bmap.c
4447
error = xfs_bmapi_allocate(&bma);
fs/xfs/libxfs/xfs_bmap.c
4448
if (error)
fs/xfs/libxfs/xfs_bmap.c
4464
error = xfs_bmap_btree_to_extents(tp, ip, bma.cur, &bma.logflags,
fs/xfs/libxfs/xfs_bmap.c
4466
if (error)
fs/xfs/libxfs/xfs_bmap.c
4470
error = xfs_trans_commit(tp);
fs/xfs/libxfs/xfs_bmap.c
4472
return error;
fs/xfs/libxfs/xfs_bmap.c
4475
xfs_bmapi_finish(&bma, whichfork, error);
fs/xfs/libxfs/xfs_bmap.c
4479
return error;
fs/xfs/libxfs/xfs_bmap.c
4494
int error;
fs/xfs/libxfs/xfs_bmap.c
4503
error = xfs_bmapi_convert_one_delalloc(ip, whichfork, offset,
fs/xfs/libxfs/xfs_bmap.c
4505
if (error)
fs/xfs/libxfs/xfs_bmap.c
4506
return error;
fs/xfs/libxfs/xfs_bmap.c
4527
int logflags = 0, error;
fs/xfs/libxfs/xfs_bmap.c
4547
error = xfs_iread_extents(tp, ip, whichfork);
fs/xfs/libxfs/xfs_bmap.c
4548
if (error)
fs/xfs/libxfs/xfs_bmap.c
4549
return error;
fs/xfs/libxfs/xfs_bmap.c
4572
error = xfs_bmap_add_extent_hole_real(tp, ip, whichfork, &icur,
fs/xfs/libxfs/xfs_bmap.c
4574
if (error)
fs/xfs/libxfs/xfs_bmap.c
4577
error = xfs_bmap_btree_to_extents(tp, ip, cur, &logflags, whichfork);
fs/xfs/libxfs/xfs_bmap.c
4588
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_bmap.c
4589
return error;
fs/xfs/libxfs/xfs_bmap.c
479
error = xfs_bmap_read_buf(mp, NULL, bno, &bp);
fs/xfs/libxfs/xfs_bmap.c
480
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_bmap.c
482
if (error)
fs/xfs/libxfs/xfs_bmap.c
4882
int error;
fs/xfs/libxfs/xfs_bmap.c
4898
error = xfs_rtfree_blocks(tp, rtg, del->br_startblock,
fs/xfs/libxfs/xfs_bmap.c
4901
return error;
fs/xfs/libxfs/xfs_bmap.c
4921
int error = 0; /* error return value */
fs/xfs/libxfs/xfs_bmap.c
4972
error = xfs_bmbt_lookup_eq(cur, &got, &i);
fs/xfs/libxfs/xfs_bmap.c
4973
if (error)
fs/xfs/libxfs/xfs_bmap.c
4974
return error;
fs/xfs/libxfs/xfs_bmap.c
5000
if ((error = xfs_btree_delete(cur, &i)))
fs/xfs/libxfs/xfs_bmap.c
5001
return error;
fs/xfs/libxfs/xfs_bmap.c
5019
error = xfs_bmbt_update(cur, &got);
fs/xfs/libxfs/xfs_bmap.c
5020
if (error)
fs/xfs/libxfs/xfs_bmap.c
5021
return error;
fs/xfs/libxfs/xfs_bmap.c
5033
error = xfs_bmbt_update(cur, &got);
fs/xfs/libxfs/xfs_bmap.c
5034
if (error)
fs/xfs/libxfs/xfs_bmap.c
5035
return error;
fs/xfs/libxfs/xfs_bmap.c
5054
error = xfs_bmbt_update(cur, &got);
fs/xfs/libxfs/xfs_bmap.c
5055
if (error)
fs/xfs/libxfs/xfs_bmap.c
5056
return error;
fs/xfs/libxfs/xfs_bmap.c
5057
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_bmap.c
5058
if (error)
fs/xfs/libxfs/xfs_bmap.c
5059
return error;
fs/xfs/libxfs/xfs_bmap.c
5061
error = xfs_btree_insert(cur, &i);
fs/xfs/libxfs/xfs_bmap.c
5062
if (error && error != -ENOSPC)
fs/xfs/libxfs/xfs_bmap.c
5063
return error;
fs/xfs/libxfs/xfs_bmap.c
5069
if (error == -ENOSPC) {
fs/xfs/libxfs/xfs_bmap.c
5074
error = xfs_bmbt_lookup_eq(cur, &got, &i);
fs/xfs/libxfs/xfs_bmap.c
5075
if (error)
fs/xfs/libxfs/xfs_bmap.c
5076
return error;
fs/xfs/libxfs/xfs_bmap.c
5085
error = xfs_bmbt_update(cur, &old);
fs/xfs/libxfs/xfs_bmap.c
5086
if (error)
fs/xfs/libxfs/xfs_bmap.c
5087
return error;
fs/xfs/libxfs/xfs_bmap.c
5121
error = xfs_bmap_free_rtblocks(tp, del);
fs/xfs/libxfs/xfs_bmap.c
5142
error = xfs_free_extent_later(tp, del->br_startblock,
fs/xfs/libxfs/xfs_bmap.c
5146
if (error)
fs/xfs/libxfs/xfs_bmap.c
5147
return error;
fs/xfs/libxfs/xfs_bmap.c
5181
int error; /* error return value */
fs/xfs/libxfs/xfs_bmap.c
5213
error = xfs_iread_extents(tp, ip, whichfork);
fs/xfs/libxfs/xfs_bmap.c
5214
if (error)
fs/xfs/libxfs/xfs_bmap.c
5215
return error;
fs/xfs/libxfs/xfs_bmap.c
5318
error = xfs_bmap_add_extent_unwritten_real(tp, ip,
fs/xfs/libxfs/xfs_bmap.c
5321
if (error)
fs/xfs/libxfs/xfs_bmap.c
5378
error = xfs_bmap_add_extent_unwritten_real(tp,
fs/xfs/libxfs/xfs_bmap.c
5381
if (error)
fs/xfs/libxfs/xfs_bmap.c
5387
error = xfs_bmap_add_extent_unwritten_real(tp,
fs/xfs/libxfs/xfs_bmap.c
5390
if (error)
fs/xfs/libxfs/xfs_bmap.c
5401
error = xfs_bmap_del_extent_real(ip, tp, &icur, cur,
fs/xfs/libxfs/xfs_bmap.c
5405
if (error)
fs/xfs/libxfs/xfs_bmap.c
5434
error = xfs_bmap_extents_to_btree(tp, ip, &cur, 0,
fs/xfs/libxfs/xfs_bmap.c
5438
error = xfs_bmap_btree_to_extents(tp, ip, cur, &logflags,
fs/xfs/libxfs/xfs_bmap.c
5460
if (!error)
fs/xfs/libxfs/xfs_bmap.c
5462
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_bmap.c
5464
return error;
fs/xfs/libxfs/xfs_bmap.c
5478
int error;
fs/xfs/libxfs/xfs_bmap.c
5480
error = __xfs_bunmapi(tp, ip, bno, &len, flags, nexts);
fs/xfs/libxfs/xfs_bmap.c
5482
return error;
fs/xfs/libxfs/xfs_bmap.c
5539
int error, i;
fs/xfs/libxfs/xfs_bmap.c
5562
error = xfs_bmbt_lookup_eq(cur, got, &i);
fs/xfs/libxfs/xfs_bmap.c
5563
if (error)
fs/xfs/libxfs/xfs_bmap.c
5564
return error;
fs/xfs/libxfs/xfs_bmap.c
5570
error = xfs_btree_delete(cur, &i);
fs/xfs/libxfs/xfs_bmap.c
5571
if (error)
fs/xfs/libxfs/xfs_bmap.c
5572
return error;
fs/xfs/libxfs/xfs_bmap.c
5579
error = xfs_bmbt_lookup_eq(cur, left, &i);
fs/xfs/libxfs/xfs_bmap.c
5580
if (error)
fs/xfs/libxfs/xfs_bmap.c
5581
return error;
fs/xfs/libxfs/xfs_bmap.c
5587
error = xfs_bmbt_update(cur, &new);
fs/xfs/libxfs/xfs_bmap.c
5588
if (error)
fs/xfs/libxfs/xfs_bmap.c
5589
return error;
fs/xfs/libxfs/xfs_bmap.c
5592
error = xfs_bmap_btree_to_extents(tp, ip, cur, logflags, whichfork);
fs/xfs/libxfs/xfs_bmap.c
5593
if (error)
fs/xfs/libxfs/xfs_bmap.c
5594
return error;
fs/xfs/libxfs/xfs_bmap.c
5623
int error, i;
fs/xfs/libxfs/xfs_bmap.c
5630
error = xfs_bmbt_lookup_eq(cur, &prev, &i);
fs/xfs/libxfs/xfs_bmap.c
5631
if (error)
fs/xfs/libxfs/xfs_bmap.c
5632
return error;
fs/xfs/libxfs/xfs_bmap.c
5638
error = xfs_bmbt_update(cur, got);
fs/xfs/libxfs/xfs_bmap.c
5639
if (error)
fs/xfs/libxfs/xfs_bmap.c
5640
return error;
fs/xfs/libxfs/xfs_bmap.c
5669
int error = 0;
fs/xfs/libxfs/xfs_bmap.c
5683
error = xfs_iread_extents(tp, ip, whichfork);
fs/xfs/libxfs/xfs_bmap.c
5684
if (error)
fs/xfs/libxfs/xfs_bmap.c
5685
return error;
fs/xfs/libxfs/xfs_bmap.c
5696
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
5703
error = -EINVAL;
fs/xfs/libxfs/xfs_bmap.c
5709
error = xfs_bmse_merge(tp, ip, whichfork,
fs/xfs/libxfs/xfs_bmap.c
5712
if (error)
fs/xfs/libxfs/xfs_bmap.c
5718
error = -EINVAL;
fs/xfs/libxfs/xfs_bmap.c
5723
error = xfs_bmap_shift_update_extent(tp, ip, whichfork, &icur, &got,
fs/xfs/libxfs/xfs_bmap.c
5725
if (error)
fs/xfs/libxfs/xfs_bmap.c
573
int error; /* error return value */
fs/xfs/libxfs/xfs_bmap.c
5737
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_bmap.c
5740
return error;
fs/xfs/libxfs/xfs_bmap.c
5752
int error = 0;
fs/xfs/libxfs/xfs_bmap.c
5760
error = xfs_bmap_last_extent(NULL, ip, XFS_DATA_FORK, &got, &is_empty);
fs/xfs/libxfs/xfs_bmap.c
5761
if (!error && !is_empty && got.br_startoff >= off &&
fs/xfs/libxfs/xfs_bmap.c
5763
error = -EINVAL;
fs/xfs/libxfs/xfs_bmap.c
5766
return error;
fs/xfs/libxfs/xfs_bmap.c
5785
int error = 0;
fs/xfs/libxfs/xfs_bmap.c
5799
error = xfs_iread_extents(tp, ip, whichfork);
fs/xfs/libxfs/xfs_bmap.c
5800
if (error)
fs/xfs/libxfs/xfs_bmap.c
5801
return error;
fs/xfs/libxfs/xfs_bmap.c
5821
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
5827
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
5834
error = -EINVAL;
fs/xfs/libxfs/xfs_bmap.c
5849
error = xfs_bmap_shift_update_extent(tp, ip, whichfork, &icur, &got,
fs/xfs/libxfs/xfs_bmap.c
5851
if (error)
fs/xfs/libxfs/xfs_bmap.c
5863
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_bmap.c
5866
return error;
fs/xfs/libxfs/xfs_bmap.c
5889
int error = 0;
fs/xfs/libxfs/xfs_bmap.c
5903
error = xfs_iread_extents(tp, ip, whichfork);
fs/xfs/libxfs/xfs_bmap.c
5904
if (error)
fs/xfs/libxfs/xfs_bmap.c
5905
return error;
fs/xfs/libxfs/xfs_bmap.c
5922
error = xfs_bmbt_lookup_eq(cur, &got, &i);
fs/xfs/libxfs/xfs_bmap.c
5923
if (error)
fs/xfs/libxfs/xfs_bmap.c
5927
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
5938
error = xfs_bmbt_update(cur, &got);
fs/xfs/libxfs/xfs_bmap.c
5939
if (error)
fs/xfs/libxfs/xfs_bmap.c
5950
error = xfs_bmbt_lookup_eq(cur, &new, &i);
fs/xfs/libxfs/xfs_bmap.c
5951
if (error)
fs/xfs/libxfs/xfs_bmap.c
5955
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
5958
error = xfs_btree_insert(cur, &i);
fs/xfs/libxfs/xfs_bmap.c
5959
if (error)
fs/xfs/libxfs/xfs_bmap.c
596
error = xfs_bmap_read_buf(mp, tp, cbno, &cbp);
fs/xfs/libxfs/xfs_bmap.c
5963
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
597
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_bmap.c
5975
error = xfs_bmap_extents_to_btree(tp, ip, &cur, 0,
fs/xfs/libxfs/xfs_bmap.c
5983
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_bmap.c
5988
return error;
fs/xfs/libxfs/xfs_bmap.c
599
if (error)
fs/xfs/libxfs/xfs_bmap.c
600
return error;
fs/xfs/libxfs/xfs_bmap.c
602
if ((error = xfs_btree_check_block(cur, cblock, 0, cbp)))
fs/xfs/libxfs/xfs_bmap.c
603
return error;
fs/xfs/libxfs/xfs_bmap.c
6049
int error = 0;
fs/xfs/libxfs/xfs_bmap.c
606
error = xfs_free_extent_later(cur->bc_tp, cbno, 1, &oinfo,
fs/xfs/libxfs/xfs_bmap.c
6066
error = xfs_bmapi_remap(tp, bi->bi_owner, bmap->br_startoff,
fs/xfs/libxfs/xfs_bmap.c
6072
error = __xfs_bunmapi(tp, bi->bi_owner, bmap->br_startoff,
fs/xfs/libxfs/xfs_bmap.c
6079
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
608
if (error)
fs/xfs/libxfs/xfs_bmap.c
6082
return error;
fs/xfs/libxfs/xfs_bmap.c
609
return error;
fs/xfs/libxfs/xfs_bmap.c
6157
int error = 0;
fs/xfs/libxfs/xfs_bmap.c
6163
error = __xfs_bunmapi(*tpp, ip, startoff, &unmap_len, flags,
fs/xfs/libxfs/xfs_bmap.c
6165
if (error)
fs/xfs/libxfs/xfs_bmap.c
6169
error = xfs_defer_finish(tpp);
fs/xfs/libxfs/xfs_bmap.c
6170
if (error)
fs/xfs/libxfs/xfs_bmap.c
6175
return error;
fs/xfs/libxfs/xfs_bmap.c
642
int error; /* error return value */
fs/xfs/libxfs/xfs_bmap.c
684
error = xfs_alloc_vextent_start_ag(&args,
fs/xfs/libxfs/xfs_bmap.c
686
if (error)
fs/xfs/libxfs/xfs_bmap.c
693
error = -ENOSPC;
fs/xfs/libxfs/xfs_bmap.c
700
error = xfs_trans_get_buf(tp, mp->m_ddev_targp,
fs/xfs/libxfs/xfs_bmap.c
703
if (error)
fs/xfs/libxfs/xfs_bmap.c
751
return error;
fs/xfs/libxfs/xfs_bmap.c
794
int error = 0;
fs/xfs/libxfs/xfs_bmap.c
817
error = 0;
fs/xfs/libxfs/xfs_bmap.c
831
error = xfs_alloc_vextent_start_ag(&args,
fs/xfs/libxfs/xfs_bmap.c
833
if (error)
fs/xfs/libxfs/xfs_bmap.c
839
error = xfs_trans_get_buf(tp, args.mp->m_ddev_targp,
fs/xfs/libxfs/xfs_bmap.c
842
if (error)
fs/xfs/libxfs/xfs_bmap.c
877
return error;
fs/xfs/libxfs/xfs_bmap.c
891
int error; /* error return value */
fs/xfs/libxfs/xfs_bmap.c
901
error = xfs_bmbt_lookup_first(cur, &stat);
fs/xfs/libxfs/xfs_bmap.c
902
if (error)
fs/xfs/libxfs/xfs_bmap.c
907
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_bmap.c
910
if ((error = xfs_btree_new_iroot(cur, flags, &stat)))
fs/xfs/libxfs/xfs_bmap.c
922
return error;
fs/xfs/libxfs/xfs_bmap.c
935
int error; /* error return value */
fs/xfs/libxfs/xfs_bmap.c
941
error = xfs_bmap_extents_to_btree(tp, ip, &cur, 0, flags,
fs/xfs/libxfs/xfs_bmap.c
945
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_bmap.c
947
return error;
fs/xfs/libxfs/xfs_bmap_btree.c
215
int error;
fs/xfs/libxfs/xfs_bmap_btree.c
237
error = xfs_alloc_vextent_start_ag(&args, be64_to_cpu(start->l));
fs/xfs/libxfs/xfs_bmap_btree.c
238
if (error)
fs/xfs/libxfs/xfs_bmap_btree.c
239
return error;
fs/xfs/libxfs/xfs_bmap_btree.c
248
error = xfs_alloc_vextent_start_ag(&args, 0);
fs/xfs/libxfs/xfs_bmap_btree.c
249
if (error)
fs/xfs/libxfs/xfs_bmap_btree.c
250
return error;
fs/xfs/libxfs/xfs_bmap_btree.c
281
int error;
fs/xfs/libxfs/xfs_bmap_btree.c
284
error = xfs_free_extent_later(cur->bc_tp, fsbno, 1, &oinfo,
fs/xfs/libxfs/xfs_bmap_btree.c
286
if (error)
fs/xfs/libxfs/xfs_bmap_btree.c
287
return error;
fs/xfs/libxfs/xfs_bmap_btree.c
820
int error;
fs/xfs/libxfs/xfs_bmap_btree.c
829
error = xfs_btree_change_owner(cur, new_owner, buffer_list);
fs/xfs/libxfs/xfs_bmap_btree.c
830
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_bmap_btree.c
831
return error;
fs/xfs/libxfs/xfs_btree.c
1080
int error;
fs/xfs/libxfs/xfs_btree.c
1082
error = xfs_btree_check_ptr(cur, ptr, 0, 1);
fs/xfs/libxfs/xfs_btree.c
1083
if (error)
fs/xfs/libxfs/xfs_btree.c
1084
return error;
fs/xfs/libxfs/xfs_btree.c
1365
int error;
fs/xfs/libxfs/xfs_btree.c
1367
error = xfs_btree_ptr_to_daddr(cur, ptr, &d);
fs/xfs/libxfs/xfs_btree.c
1368
if (error)
fs/xfs/libxfs/xfs_btree.c
1369
return error;
fs/xfs/libxfs/xfs_btree.c
1370
error = xfs_trans_get_buf(cur->bc_tp, xfs_btree_buftarg(cur), d,
fs/xfs/libxfs/xfs_btree.c
1372
if (error)
fs/xfs/libxfs/xfs_btree.c
1373
return error;
fs/xfs/libxfs/xfs_btree.c
1394
int error;
fs/xfs/libxfs/xfs_btree.c
1399
error = xfs_btree_ptr_to_daddr(cur, ptr, &d);
fs/xfs/libxfs/xfs_btree.c
1400
if (error)
fs/xfs/libxfs/xfs_btree.c
1401
return error;
fs/xfs/libxfs/xfs_btree.c
1402
error = xfs_trans_read_buf(mp, cur->bc_tp, xfs_btree_buftarg(cur), d,
fs/xfs/libxfs/xfs_btree.c
1405
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_btree.c
1407
if (error)
fs/xfs/libxfs/xfs_btree.c
1408
return error;
fs/xfs/libxfs/xfs_btree.c
1665
int error; /* error return value */
fs/xfs/libxfs/xfs_btree.c
1677
error = xfs_btree_check_block(cur, block, level, bp);
fs/xfs/libxfs/xfs_btree.c
1678
if (error)
fs/xfs/libxfs/xfs_btree.c
1701
error = xfs_btree_check_block(cur, block, lev, bp);
fs/xfs/libxfs/xfs_btree.c
1702
if (error)
fs/xfs/libxfs/xfs_btree.c
1722
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_btree.c
1736
error = xfs_btree_read_buf_block(cur, ptrp, 0, &block, &bp);
fs/xfs/libxfs/xfs_btree.c
1737
if (error)
fs/xfs/libxfs/xfs_btree.c
1752
return error;
fs/xfs/libxfs/xfs_btree.c
1767
int error; /* error return value */
fs/xfs/libxfs/xfs_btree.c
1784
error = xfs_btree_check_block(cur, block, level, bp);
fs/xfs/libxfs/xfs_btree.c
1785
if (error)
fs/xfs/libxfs/xfs_btree.c
1816
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_btree.c
1830
error = xfs_btree_read_buf_block(cur, ptrp, 0, &block, &bp);
fs/xfs/libxfs/xfs_btree.c
1831
if (error)
fs/xfs/libxfs/xfs_btree.c
1845
return error;
fs/xfs/libxfs/xfs_btree.c
1884
int error = 0;
fs/xfs/libxfs/xfs_btree.c
1899
error = xfs_btree_ptr_to_daddr(cur, pp, &daddr);
fs/xfs/libxfs/xfs_btree.c
1900
if (error)
fs/xfs/libxfs/xfs_btree.c
1901
return error;
fs/xfs/libxfs/xfs_btree.c
1907
error = xfs_btree_read_buf_block(cur, pp, 0, blkp, &bp);
fs/xfs/libxfs/xfs_btree.c
1908
if (error)
fs/xfs/libxfs/xfs_btree.c
1909
return error;
fs/xfs/libxfs/xfs_btree.c
1989
int error; /* error return value */
fs/xfs/libxfs/xfs_btree.c
2018
error = xfs_btree_lookup_get_block(cur, level, pp, &block);
fs/xfs/libxfs/xfs_btree.c
2019
if (error)
fs/xfs/libxfs/xfs_btree.c
2097
error = xfs_btree_debug_check_ptr(cur, pp, 0, level);
fs/xfs/libxfs/xfs_btree.c
2098
if (error)
fs/xfs/libxfs/xfs_btree.c
2119
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_btree.c
2120
if (error)
fs/xfs/libxfs/xfs_btree.c
2143
return error;
fs/xfs/libxfs/xfs_btree.c
2281
int error;
fs/xfs/libxfs/xfs_btree.c
2286
error = xfs_btree_check_block(cur, block, level, bp);
fs/xfs/libxfs/xfs_btree.c
2287
if (error)
fs/xfs/libxfs/xfs_btree.c
2288
return error;
fs/xfs/libxfs/xfs_btree.c
2349
int error;
fs/xfs/libxfs/xfs_btree.c
2353
error = xfs_btree_check_block(cur, block, level, bp);
fs/xfs/libxfs/xfs_btree.c
2354
if (error)
fs/xfs/libxfs/xfs_btree.c
2355
return error;
fs/xfs/libxfs/xfs_btree.c
2378
int error;
fs/xfs/libxfs/xfs_btree.c
2386
error = xfs_btree_check_block(cur, block, 0, bp);
fs/xfs/libxfs/xfs_btree.c
2387
if (error)
fs/xfs/libxfs/xfs_btree.c
2400
error = xfs_btree_update_keys(cur, 0);
fs/xfs/libxfs/xfs_btree.c
2401
if (error)
fs/xfs/libxfs/xfs_btree.c
2408
return error;
fs/xfs/libxfs/xfs_btree.c
2432
int error; /* error return value */
fs/xfs/libxfs/xfs_btree.c
2442
error = xfs_btree_check_block(cur, right, level, rbp);
fs/xfs/libxfs/xfs_btree.c
2443
if (error)
fs/xfs/libxfs/xfs_btree.c
2460
error = xfs_btree_read_buf_block(cur, &lptr, 0, &left, &lbp);
fs/xfs/libxfs/xfs_btree.c
2461
if (error)
fs/xfs/libxfs/xfs_btree.c
2497
error = xfs_btree_debug_check_ptr(cur, rpp, 0, level);
fs/xfs/libxfs/xfs_btree.c
2498
if (error)
fs/xfs/libxfs/xfs_btree.c
2536
error = xfs_btree_debug_check_ptr(cur, rpp, i + 1, level);
fs/xfs/libxfs/xfs_btree.c
2537
if (error)
fs/xfs/libxfs/xfs_btree.c
2563
error = xfs_btree_dup_cursor(cur, &tcur);
fs/xfs/libxfs/xfs_btree.c
2564
if (error)
fs/xfs/libxfs/xfs_btree.c
2569
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_btree.c
2573
error = xfs_btree_decrement(tcur, level, &i);
fs/xfs/libxfs/xfs_btree.c
2574
if (error)
fs/xfs/libxfs/xfs_btree.c
2578
error = xfs_btree_update_keys(tcur, level);
fs/xfs/libxfs/xfs_btree.c
2579
if (error)
fs/xfs/libxfs/xfs_btree.c
2586
error = xfs_btree_update_keys(cur, level);
fs/xfs/libxfs/xfs_btree.c
2587
if (error)
fs/xfs/libxfs/xfs_btree.c
2601
return error;
fs/xfs/libxfs/xfs_btree.c
2605
return error;
fs/xfs/libxfs/xfs_btree.c
2627
int error; /* error return value */
fs/xfs/libxfs/xfs_btree.c
2637
error = xfs_btree_check_block(cur, left, level, lbp);
fs/xfs/libxfs/xfs_btree.c
2638
if (error)
fs/xfs/libxfs/xfs_btree.c
2656
error = xfs_btree_read_buf_block(cur, &rptr, 0, &right, &rbp);
fs/xfs/libxfs/xfs_btree.c
2657
if (error)
fs/xfs/libxfs/xfs_btree.c
2684
error = xfs_btree_debug_check_ptr(cur, rpp, i, level);
fs/xfs/libxfs/xfs_btree.c
2685
if (error)
fs/xfs/libxfs/xfs_btree.c
2692
error = xfs_btree_debug_check_ptr(cur, lpp, 0, level);
fs/xfs/libxfs/xfs_btree.c
2693
if (error)
fs/xfs/libxfs/xfs_btree.c
2733
error = xfs_btree_dup_cursor(cur, &tcur);
fs/xfs/libxfs/xfs_btree.c
2734
if (error)
fs/xfs/libxfs/xfs_btree.c
2739
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_btree.c
2743
error = xfs_btree_increment(tcur, level, &i);
fs/xfs/libxfs/xfs_btree.c
2744
if (error)
fs/xfs/libxfs/xfs_btree.c
2749
error = xfs_btree_update_keys(cur, level);
fs/xfs/libxfs/xfs_btree.c
2750
if (error)
fs/xfs/libxfs/xfs_btree.c
2755
error = xfs_btree_update_keys(tcur, level);
fs/xfs/libxfs/xfs_btree.c
2756
if (error)
fs/xfs/libxfs/xfs_btree.c
2769
return error;
fs/xfs/libxfs/xfs_btree.c
2773
return error;
fs/xfs/libxfs/xfs_btree.c
2783
int error;
fs/xfs/libxfs/xfs_btree.c
2797
error = cur->bc_ops->alloc_block(cur, hint_block, new_block, stat);
fs/xfs/libxfs/xfs_btree.c
2798
trace_xfs_btree_alloc_block(cur, new_block, *stat, error);
fs/xfs/libxfs/xfs_btree.c
2799
return error;
fs/xfs/libxfs/xfs_btree.c
2828
int error; /* error return value */
fs/xfs/libxfs/xfs_btree.c
2837
error = xfs_btree_check_block(cur, left, level, lbp);
fs/xfs/libxfs/xfs_btree.c
2838
if (error)
fs/xfs/libxfs/xfs_btree.c
2845
error = xfs_btree_alloc_block(cur, &lptr, &rptr, stat);
fs/xfs/libxfs/xfs_btree.c
2846
if (error)
fs/xfs/libxfs/xfs_btree.c
2853
error = xfs_btree_get_buf_block(cur, &rptr, &right, &rbp);
fs/xfs/libxfs/xfs_btree.c
2854
if (error)
fs/xfs/libxfs/xfs_btree.c
2896
error = xfs_btree_debug_check_ptr(cur, lpp, i, level);
fs/xfs/libxfs/xfs_btree.c
2897
if (error)
fs/xfs/libxfs/xfs_btree.c
2943
error = xfs_btree_read_buf_block(cur, &rrptr,
fs/xfs/libxfs/xfs_btree.c
2945
if (error)
fs/xfs/libxfs/xfs_btree.c
2953
error = xfs_btree_update_keys(cur, level);
fs/xfs/libxfs/xfs_btree.c
2954
if (error)
fs/xfs/libxfs/xfs_btree.c
2972
error = xfs_btree_dup_cursor(cur, curp);
fs/xfs/libxfs/xfs_btree.c
2973
if (error)
fs/xfs/libxfs/xfs_btree.c
2985
return error;
fs/xfs/libxfs/xfs_btree.c
3166
int error;
fs/xfs/libxfs/xfs_btree.c
3191
error = xfs_btree_debug_check_ptr(cur, pp, i, level);
fs/xfs/libxfs/xfs_btree.c
3192
if (error)
fs/xfs/libxfs/xfs_btree.c
3193
return error;
fs/xfs/libxfs/xfs_btree.c
3201
error = xfs_btree_debug_check_ptr(cur, cptr, 0, level);
fs/xfs/libxfs/xfs_btree.c
3202
if (error)
fs/xfs/libxfs/xfs_btree.c
3203
return error;
fs/xfs/libxfs/xfs_btree.c
3233
int error; /* error return code */
fs/xfs/libxfs/xfs_btree.c
3250
error = xfs_btree_alloc_block(cur, &aptr, &nptr, stat);
fs/xfs/libxfs/xfs_btree.c
3251
if (error)
fs/xfs/libxfs/xfs_btree.c
3259
error = xfs_btree_get_buf_block(cur, &nptr, &cblock, &cbp);
fs/xfs/libxfs/xfs_btree.c
3260
if (error)
fs/xfs/libxfs/xfs_btree.c
3277
error = xfs_btree_promote_node_iroot(cur, block, level, cbp,
fs/xfs/libxfs/xfs_btree.c
3279
if (error)
fs/xfs/libxfs/xfs_btree.c
3289
return error;
fs/xfs/libxfs/xfs_btree.c
3317
int error; /* error return value */
fs/xfs/libxfs/xfs_btree.c
3334
error = xfs_btree_alloc_block(cur, &rptr, &lptr, stat);
fs/xfs/libxfs/xfs_btree.c
3335
if (error)
fs/xfs/libxfs/xfs_btree.c
3342
error = xfs_btree_get_buf_block(cur, &lptr, &new, &nbp);
fs/xfs/libxfs/xfs_btree.c
3343
if (error)
fs/xfs/libxfs/xfs_btree.c
3358
error = xfs_btree_check_block(cur, block, cur->bc_nlevels - 1, bp);
fs/xfs/libxfs/xfs_btree.c
3359
if (error)
fs/xfs/libxfs/xfs_btree.c
3369
error = xfs_btree_read_buf_block(cur, &rptr, 0, &right, &rbp);
fs/xfs/libxfs/xfs_btree.c
3370
if (error)
fs/xfs/libxfs/xfs_btree.c
3380
error = xfs_btree_read_buf_block(cur, &lptr, 0, &left, &lbp);
fs/xfs/libxfs/xfs_btree.c
3381
if (error)
fs/xfs/libxfs/xfs_btree.c
3431
return error;
fs/xfs/libxfs/xfs_btree.c
3449
int error = 0;
fs/xfs/libxfs/xfs_btree.c
3462
error = xfs_btree_new_iroot(cur, &logflags, stat);
fs/xfs/libxfs/xfs_btree.c
3463
if (error || *stat == 0)
fs/xfs/libxfs/xfs_btree.c
3464
return error;
fs/xfs/libxfs/xfs_btree.c
3473
error = xfs_btree_rshift(cur, level, stat);
fs/xfs/libxfs/xfs_btree.c
3474
if (error || *stat)
fs/xfs/libxfs/xfs_btree.c
3475
return error;
fs/xfs/libxfs/xfs_btree.c
3478
error = xfs_btree_lshift(cur, level, stat);
fs/xfs/libxfs/xfs_btree.c
3479
if (error)
fs/xfs/libxfs/xfs_btree.c
3480
return error;
fs/xfs/libxfs/xfs_btree.c
3493
error = xfs_btree_split(cur, level, nptr, key, ncur, stat);
fs/xfs/libxfs/xfs_btree.c
3494
if (error || *stat == 0)
fs/xfs/libxfs/xfs_btree.c
3495
return error;
fs/xfs/libxfs/xfs_btree.c
3525
int error; /* error return value */
fs/xfs/libxfs/xfs_btree.c
3538
error = xfs_btree_new_root(cur, stat);
fs/xfs/libxfs/xfs_btree.c
3541
return error;
fs/xfs/libxfs/xfs_btree.c
3561
error = xfs_btree_check_block(cur, block, level, bp);
fs/xfs/libxfs/xfs_btree.c
3562
if (error)
fs/xfs/libxfs/xfs_btree.c
3583
error = xfs_btree_make_block_unfull(cur, level, numrecs,
fs/xfs/libxfs/xfs_btree.c
3585
if (error || *stat == 0)
fs/xfs/libxfs/xfs_btree.c
3597
error = xfs_btree_check_block(cur, block, level, bp);
fs/xfs/libxfs/xfs_btree.c
3598
if (error)
fs/xfs/libxfs/xfs_btree.c
360
int error;
fs/xfs/libxfs/xfs_btree.c
3617
error = xfs_btree_debug_check_ptr(cur, pp, i, level);
fs/xfs/libxfs/xfs_btree.c
3618
if (error)
fs/xfs/libxfs/xfs_btree.c
362
error = __xfs_btree_check_ptr(cur, ptr, index, level);
fs/xfs/libxfs/xfs_btree.c
3625
error = xfs_btree_debug_check_ptr(cur, ptrp, 0, level);
fs/xfs/libxfs/xfs_btree.c
3626
if (error)
fs/xfs/libxfs/xfs_btree.c
363
if (error) {
fs/xfs/libxfs/xfs_btree.c
3693
error = xfs_btree_update_keys(cur, level);
fs/xfs/libxfs/xfs_btree.c
3694
if (error)
fs/xfs/libxfs/xfs_btree.c
3713
xfs_btree_del_cursor(ncur, error);
fs/xfs/libxfs/xfs_btree.c
3714
return error;
fs/xfs/libxfs/xfs_btree.c
3729
int error; /* error return value */
fs/xfs/libxfs/xfs_btree.c
3760
error = xfs_btree_insrec(pcur, level, &nptr, &rec, key,
fs/xfs/libxfs/xfs_btree.c
3762
if (error) {
fs/xfs/libxfs/xfs_btree.c
3770
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_btree.c
3799
return error;
fs/xfs/libxfs/xfs_btree.c
3859
int error;
fs/xfs/libxfs/xfs_btree.c
388
return error;
fs/xfs/libxfs/xfs_btree.c
3880
error = xfs_btree_debug_check_ptr(cur, cpp, i, level - 1);
fs/xfs/libxfs/xfs_btree.c
3881
if (error)
fs/xfs/libxfs/xfs_btree.c
3882
return error;
fs/xfs/libxfs/xfs_btree.c
3911
int error;
fs/xfs/libxfs/xfs_btree.c
3960
error = xfs_btree_demote_node_child(cur, cblock, level,
fs/xfs/libxfs/xfs_btree.c
3962
if (error)
fs/xfs/libxfs/xfs_btree.c
3963
return error;
fs/xfs/libxfs/xfs_btree.c
3967
error = xfs_btree_free_block(cur, cbp);
fs/xfs/libxfs/xfs_btree.c
3968
if (error)
fs/xfs/libxfs/xfs_btree.c
3969
return error;
fs/xfs/libxfs/xfs_btree.c
3987
int error;
fs/xfs/libxfs/xfs_btree.c
3997
error = xfs_btree_free_block(cur, bp);
fs/xfs/libxfs/xfs_btree.c
3998
if (error)
fs/xfs/libxfs/xfs_btree.c
3999
return error;
fs/xfs/libxfs/xfs_btree.c
4014
int error;
fs/xfs/libxfs/xfs_btree.c
4018
error = xfs_btree_decrement(cur, level, &i);
fs/xfs/libxfs/xfs_btree.c
4019
if (error)
fs/xfs/libxfs/xfs_btree.c
4020
return error;
fs/xfs/libxfs/xfs_btree.c
4042
int error; /* error return value */
fs/xfs/libxfs/xfs_btree.c
4072
error = xfs_btree_check_block(cur, block, level, bp);
fs/xfs/libxfs/xfs_btree.c
4073
if (error)
fs/xfs/libxfs/xfs_btree.c
4096
error = xfs_btree_debug_check_ptr(cur, lpp, i, level);
fs/xfs/libxfs/xfs_btree.c
4097
if (error)
fs/xfs/libxfs/xfs_btree.c
4131
error = xfs_btree_kill_iroot(cur);
fs/xfs/libxfs/xfs_btree.c
4132
if (error)
fs/xfs/libxfs/xfs_btree.c
4135
error = xfs_btree_dec_cursor(cur, level, stat);
fs/xfs/libxfs/xfs_btree.c
4136
if (error)
fs/xfs/libxfs/xfs_btree.c
4154
error = xfs_btree_kill_root(cur, bp, level, pp);
fs/xfs/libxfs/xfs_btree.c
4155
if (error)
fs/xfs/libxfs/xfs_btree.c
4158
error = xfs_btree_dec_cursor(cur, level, stat);
fs/xfs/libxfs/xfs_btree.c
4159
if (error)
fs/xfs/libxfs/xfs_btree.c
4171
error = xfs_btree_update_keys(cur, level);
fs/xfs/libxfs/xfs_btree.c
4172
if (error)
fs/xfs/libxfs/xfs_btree.c
4181
error = xfs_btree_dec_cursor(cur, level, stat);
fs/xfs/libxfs/xfs_btree.c
4182
if (error)
fs/xfs/libxfs/xfs_btree.c
4204
error = xfs_btree_kill_iroot(cur);
fs/xfs/libxfs/xfs_btree.c
4205
if (!error)
fs/xfs/libxfs/xfs_btree.c
4206
error = xfs_btree_dec_cursor(cur, level, stat);
fs/xfs/libxfs/xfs_btree.c
4207
if (error)
fs/xfs/libxfs/xfs_btree.c
4220
error = xfs_btree_dup_cursor(cur, &tcur);
fs/xfs/libxfs/xfs_btree.c
4221
if (error)
fs/xfs/libxfs/xfs_btree.c
4236
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_btree.c
4240
error = xfs_btree_increment(tcur, level, &i);
fs/xfs/libxfs/xfs_btree.c
4241
if (error)
fs/xfs/libxfs/xfs_btree.c
4245
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_btree.c
4252
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_btree.c
4259
error = xfs_btree_check_block(tcur, right, level, rbp);
fs/xfs/libxfs/xfs_btree.c
4260
if (error)
fs/xfs/libxfs/xfs_btree.c
4273
error = xfs_btree_lshift(tcur, level, &i);
fs/xfs/libxfs/xfs_btree.c
4274
if (error)
fs/xfs/libxfs/xfs_btree.c
4283
error = xfs_btree_dec_cursor(cur, level, stat);
fs/xfs/libxfs/xfs_btree.c
4284
if (error)
fs/xfs/libxfs/xfs_btree.c
4300
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_btree.c
4304
error = xfs_btree_decrement(tcur, level, &i);
fs/xfs/libxfs/xfs_btree.c
4305
if (error)
fs/xfs/libxfs/xfs_btree.c
4309
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_btree.c
4327
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_btree.c
4331
error = xfs_btree_decrement(tcur, level, &i);
fs/xfs/libxfs/xfs_btree.c
4332
if (error)
fs/xfs/libxfs/xfs_btree.c
4337
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_btree.c
4344
error = xfs_btree_check_block(cur, left, level, lbp);
fs/xfs/libxfs/xfs_btree.c
4345
if (error)
fs/xfs/libxfs/xfs_btree.c
4358
error = xfs_btree_rshift(tcur, level, &i);
fs/xfs/libxfs/xfs_btree.c
4359
if (error)
fs/xfs/libxfs/xfs_btree.c
4398
error = xfs_btree_read_buf_block(cur, &lptr, 0, &left, &lbp);
fs/xfs/libxfs/xfs_btree.c
4399
if (error)
fs/xfs/libxfs/xfs_btree.c
4415
error = xfs_btree_read_buf_block(cur, &rptr, 0, &right, &rbp);
fs/xfs/libxfs/xfs_btree.c
4416
if (error)
fs/xfs/libxfs/xfs_btree.c
4424
error = xfs_btree_dec_cursor(cur, level, stat);
fs/xfs/libxfs/xfs_btree.c
4425
if (error)
fs/xfs/libxfs/xfs_btree.c
4451
error = xfs_btree_debug_check_ptr(cur, rpp, i, level);
fs/xfs/libxfs/xfs_btree.c
4452
if (error)
fs/xfs/libxfs/xfs_btree.c
4487
error = xfs_btree_read_buf_block(cur, &cptr, 0, &rrblock, &rrbp);
fs/xfs/libxfs/xfs_btree.c
4488
if (error)
fs/xfs/libxfs/xfs_btree.c
4495
error = xfs_btree_free_block(cur, rbp);
fs/xfs/libxfs/xfs_btree.c
4496
if (error)
fs/xfs/libxfs/xfs_btree.c
4514
error = xfs_btree_increment(cur, level + 1, &i);
fs/xfs/libxfs/xfs_btree.c
4515
if (error)
fs/xfs/libxfs/xfs_btree.c
4545
return error;
fs/xfs/libxfs/xfs_btree.c
4558
int error; /* error return value */
fs/xfs/libxfs/xfs_btree.c
4570
error = xfs_btree_delrec(cur, level, &i);
fs/xfs/libxfs/xfs_btree.c
4571
if (error)
fs/xfs/libxfs/xfs_btree.c
4582
error = xfs_btree_updkeys_force(cur, 0);
fs/xfs/libxfs/xfs_btree.c
4583
if (error)
fs/xfs/libxfs/xfs_btree.c
4590
error = xfs_btree_decrement(cur, level, &i);
fs/xfs/libxfs/xfs_btree.c
4591
if (error)
fs/xfs/libxfs/xfs_btree.c
4601
return error;
fs/xfs/libxfs/xfs_btree.c
4617
int error; /* error return value */
fs/xfs/libxfs/xfs_btree.c
4624
error = xfs_btree_check_block(cur, block, 0, bp);
fs/xfs/libxfs/xfs_btree.c
4625
if (error)
fs/xfs/libxfs/xfs_btree.c
4626
return error;
fs/xfs/libxfs/xfs_btree.c
4656
int error;
fs/xfs/libxfs/xfs_btree.c
4663
error = fn(cur, level, data);
fs/xfs/libxfs/xfs_btree.c
4664
if (error)
fs/xfs/libxfs/xfs_btree.c
4665
return error;
fs/xfs/libxfs/xfs_btree.c
4699
int error = 0;
fs/xfs/libxfs/xfs_btree.c
4706
error = xfs_btree_lookup_get_block(cur, level, &lptr, &block);
fs/xfs/libxfs/xfs_btree.c
4707
if (error)
fs/xfs/libxfs/xfs_btree.c
4708
return error;
fs/xfs/libxfs/xfs_btree.c
4728
error = xfs_btree_visit_block(cur, level, fn, data);
fs/xfs/libxfs/xfs_btree.c
4729
} while (!error);
fs/xfs/libxfs/xfs_btree.c
4731
if (error != -ENOENT)
fs/xfs/libxfs/xfs_btree.c
4732
return error;
fs/xfs/libxfs/xfs_btree.c
478
int error;
fs/xfs/libxfs/xfs_btree.c
491
error = cur->bc_ops->free_block(cur, bp);
fs/xfs/libxfs/xfs_btree.c
492
if (!error) {
fs/xfs/libxfs/xfs_btree.c
496
return error;
fs/xfs/libxfs/xfs_btree.c
505
int error) /* del because of error */
fs/xfs/libxfs/xfs_btree.c
5059
int error;
fs/xfs/libxfs/xfs_btree.c
5069
error = xfs_btree_lookup(cur, XFS_LOOKUP_LE, &stat);
fs/xfs/libxfs/xfs_btree.c
5070
if (error)
fs/xfs/libxfs/xfs_btree.c
5075
error = xfs_btree_increment(cur, 0, &stat);
fs/xfs/libxfs/xfs_btree.c
5076
if (error)
fs/xfs/libxfs/xfs_btree.c
5082
error = xfs_btree_get_rec(cur, &recp, &stat);
fs/xfs/libxfs/xfs_btree.c
5083
if (error || !stat)
fs/xfs/libxfs/xfs_btree.c
5100
error = fn(cur, recp, priv);
fs/xfs/libxfs/xfs_btree.c
5101
if (error)
fs/xfs/libxfs/xfs_btree.c
5106
error = xfs_btree_increment(cur, 0, &stat);
fs/xfs/libxfs/xfs_btree.c
5107
if (error)
fs/xfs/libxfs/xfs_btree.c
5112
return error;
fs/xfs/libxfs/xfs_btree.c
5153
int error;
fs/xfs/libxfs/xfs_btree.c
5158
error = xfs_btree_lookup_get_block(cur, level, &ptr, &block);
fs/xfs/libxfs/xfs_btree.c
5159
if (error)
fs/xfs/libxfs/xfs_btree.c
5160
return error;
fs/xfs/libxfs/xfs_btree.c
5164
error = xfs_btree_check_block(cur, block, level, bp);
fs/xfs/libxfs/xfs_btree.c
5165
if (error)
fs/xfs/libxfs/xfs_btree.c
519
else if (!error)
fs/xfs/libxfs/xfs_btree.c
5203
error = fn(cur, recp, priv);
fs/xfs/libxfs/xfs_btree.c
5204
if (error)
fs/xfs/libxfs/xfs_btree.c
5230
error = xfs_btree_lookup_get_block(cur, level, pp,
fs/xfs/libxfs/xfs_btree.c
5232
if (error)
fs/xfs/libxfs/xfs_btree.c
5237
error = xfs_btree_check_block(cur, block, level, bp);
fs/xfs/libxfs/xfs_btree.c
5238
if (error)
fs/xfs/libxfs/xfs_btree.c
5267
return error;
fs/xfs/libxfs/xfs_btree.c
530
xfs_is_shutdown(cur->bc_mp) || error != 0);
fs/xfs/libxfs/xfs_btree.c
5460
int error;
fs/xfs/libxfs/xfs_btree.c
5471
error = xfs_btree_query_range(cur, low, high,
fs/xfs/libxfs/xfs_btree.c
5473
if (error == -ECANCELED)
fs/xfs/libxfs/xfs_btree.c
5475
if (error)
fs/xfs/libxfs/xfs_btree.c
5476
return error;
fs/xfs/libxfs/xfs_btree.c
5520
int error;
fs/xfs/libxfs/xfs_btree.c
5522
error = xfs_allocbt_init_cur_cache();
fs/xfs/libxfs/xfs_btree.c
5523
if (error)
fs/xfs/libxfs/xfs_btree.c
5524
return error;
fs/xfs/libxfs/xfs_btree.c
5525
error = xfs_inobt_init_cur_cache();
fs/xfs/libxfs/xfs_btree.c
5526
if (error)
fs/xfs/libxfs/xfs_btree.c
5528
error = xfs_bmbt_init_cur_cache();
fs/xfs/libxfs/xfs_btree.c
5529
if (error)
fs/xfs/libxfs/xfs_btree.c
5531
error = xfs_rmapbt_init_cur_cache();
fs/xfs/libxfs/xfs_btree.c
5532
if (error)
fs/xfs/libxfs/xfs_btree.c
5534
error = xfs_refcountbt_init_cur_cache();
fs/xfs/libxfs/xfs_btree.c
5535
if (error)
fs/xfs/libxfs/xfs_btree.c
5537
error = xfs_rtrmapbt_init_cur_cache();
fs/xfs/libxfs/xfs_btree.c
5538
if (error)
fs/xfs/libxfs/xfs_btree.c
5540
error = xfs_rtrefcountbt_init_cur_cache();
fs/xfs/libxfs/xfs_btree.c
5541
if (error)
fs/xfs/libxfs/xfs_btree.c
5547
return error;
fs/xfs/libxfs/xfs_btree.c
5569
int error;
fs/xfs/libxfs/xfs_btree.c
5572
error = xfs_btree_lookup(cur, XFS_LOOKUP_LE, &stat);
fs/xfs/libxfs/xfs_btree.c
5573
if (error)
fs/xfs/libxfs/xfs_btree.c
5574
return error;
fs/xfs/libxfs/xfs_btree.c
5578
error = xfs_btree_decrement(cur, 0, &stat);
fs/xfs/libxfs/xfs_btree.c
5579
if (error)
fs/xfs/libxfs/xfs_btree.c
5580
return error;
fs/xfs/libxfs/xfs_btree.c
5607
int error;
fs/xfs/libxfs/xfs_btree.c
5612
error = xfs_alloc_vextent_start_ag(&args,
fs/xfs/libxfs/xfs_btree.c
5614
if (error)
fs/xfs/libxfs/xfs_btree.c
5615
return error;
fs/xfs/libxfs/xfs_btree.c
5640
int error;
fs/xfs/libxfs/xfs_btree.c
5645
error = xfs_free_extent_later(tp, fsbno, 1, &oinfo, XFS_AG_RESV_METAFILE,
fs/xfs/libxfs/xfs_btree.c
5647
if (error)
fs/xfs/libxfs/xfs_btree.c
5648
return error;
fs/xfs/libxfs/xfs_btree.c
570
int error;
fs/xfs/libxfs/xfs_btree.c
600
error = xfs_trans_read_buf(mp, tp,
fs/xfs/libxfs/xfs_btree.c
605
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_btree.c
607
if (error) {
fs/xfs/libxfs/xfs_btree.c
608
xfs_btree_del_cursor(new, error);
fs/xfs/libxfs/xfs_btree.c
610
return error;
fs/xfs/libxfs/xfs_btree.h
367
int error); /* del because of error */
fs/xfs/libxfs/xfs_btree_mem.c
122
int error;
fs/xfs/libxfs/xfs_btree_mem.c
147
error = xfbtree_init_leaf_block(mp, xfbt, ops);
fs/xfs/libxfs/xfs_btree_mem.c
148
if (error)
fs/xfs/libxfs/xfs_btree_mem.c
157
return error;
fs/xfs/libxfs/xfs_btree_mem.c
273
int error = 0;
fs/xfs/libxfs/xfs_btree_mem.c
297
if (!error)
fs/xfs/libxfs/xfs_btree_mem.c
298
error = xmbuf_finalize(bp);
fs/xfs/libxfs/xfs_btree_mem.c
310
return error;
fs/xfs/libxfs/xfs_btree_mem.c
92
int error;
fs/xfs/libxfs/xfs_btree_mem.c
94
error = xfs_buf_get(xfbt->target, xfbno_to_daddr(bno), XFBNO_BBSIZE,
fs/xfs/libxfs/xfs_btree_mem.c
96
if (error)
fs/xfs/libxfs/xfs_btree_mem.c
97
return error;
fs/xfs/libxfs/xfs_btree_staging.c
245
int error;
fs/xfs/libxfs/xfs_btree_staging.c
264
error = xfs_buf_delwri_submit(buffers_list);
fs/xfs/libxfs/xfs_btree_staging.c
265
if (error)
fs/xfs/libxfs/xfs_btree_staging.c
266
return error;
fs/xfs/libxfs/xfs_da_btree.c
1134
int error;
fs/xfs/libxfs/xfs_da_btree.c
1158
error = xfs_attr3_leaf_toosmall(state, &action);
fs/xfs/libxfs/xfs_da_btree.c
1159
if (error)
fs/xfs/libxfs/xfs_da_btree.c
1160
return error;
fs/xfs/libxfs/xfs_da_btree.c
1166
error = xfs_dir2_leafn_toosmall(state, &action);
fs/xfs/libxfs/xfs_da_btree.c
1167
if (error)
fs/xfs/libxfs/xfs_da_btree.c
1168
return error;
fs/xfs/libxfs/xfs_da_btree.c
1180
error = xfs_da3_node_toosmall(state, &action);
fs/xfs/libxfs/xfs_da_btree.c
1181
if (error)
fs/xfs/libxfs/xfs_da_btree.c
1182
return error;
fs/xfs/libxfs/xfs_da_btree.c
1189
error = xfs_da3_blk_unlink(state, drop_blk, save_blk);
fs/xfs/libxfs/xfs_da_btree.c
1191
if (error)
fs/xfs/libxfs/xfs_da_btree.c
1192
return error;
fs/xfs/libxfs/xfs_da_btree.c
1193
error = xfs_da_shrink_inode(state->args, drop_blk->blkno,
fs/xfs/libxfs/xfs_da_btree.c
1196
if (error)
fs/xfs/libxfs/xfs_da_btree.c
1197
return error;
fs/xfs/libxfs/xfs_da_btree.c
1206
error = xfs_da3_root_join(state, &state->path.blk[0]);
fs/xfs/libxfs/xfs_da_btree.c
1207
return error;
fs/xfs/libxfs/xfs_da_btree.c
1246
int error;
fs/xfs/libxfs/xfs_da_btree.c
1272
error = xfs_da3_node_read(args->trans, dp, child, &bp, args->whichfork);
fs/xfs/libxfs/xfs_da_btree.c
1273
if (error)
fs/xfs/libxfs/xfs_da_btree.c
1274
return error;
fs/xfs/libxfs/xfs_da_btree.c
1293
error = xfs_da_shrink_inode(args, child, bp);
fs/xfs/libxfs/xfs_da_btree.c
1294
return error;
fs/xfs/libxfs/xfs_da_btree.c
1320
int error;
fs/xfs/libxfs/xfs_da_btree.c
1354
error = xfs_da3_path_shift(state, &state->altpath, forward,
fs/xfs/libxfs/xfs_da_btree.c
1356
if (error)
fs/xfs/libxfs/xfs_da_btree.c
1357
return error;
fs/xfs/libxfs/xfs_da_btree.c
1387
error = xfs_da3_node_read(state->args->trans, dp, blkno, &bp,
fs/xfs/libxfs/xfs_da_btree.c
1389
if (error)
fs/xfs/libxfs/xfs_da_btree.c
1390
return error;
fs/xfs/libxfs/xfs_da_btree.c
1417
error = xfs_da3_path_shift(state, &state->altpath, forward,
fs/xfs/libxfs/xfs_da_btree.c
1420
error = xfs_da3_path_shift(state, &state->path, forward,
fs/xfs/libxfs/xfs_da_btree.c
1423
if (error)
fs/xfs/libxfs/xfs_da_btree.c
1424
return error;
fs/xfs/libxfs/xfs_da_btree.c
1694
int error;
fs/xfs/libxfs/xfs_da_btree.c
1714
error = xfs_da3_node_read(args->trans, args->dp, blkno,
fs/xfs/libxfs/xfs_da_btree.c
1716
if (error) {
fs/xfs/libxfs/xfs_da_btree.c
1719
return error;
fs/xfs/libxfs/xfs_da_btree.c
1869
error = xfs_da3_path_shift(state, &state->path, 1, 1,
fs/xfs/libxfs/xfs_da_btree.c
1871
if (error)
fs/xfs/libxfs/xfs_da_btree.c
1872
return error;
fs/xfs/libxfs/xfs_da_btree.c
1938
int error;
fs/xfs/libxfs/xfs_da_btree.c
1975
error = xfs_da3_node_read(args->trans, dp,
fs/xfs/libxfs/xfs_da_btree.c
1978
if (error)
fs/xfs/libxfs/xfs_da_btree.c
1979
return error;
fs/xfs/libxfs/xfs_da_btree.c
2003
error = xfs_da3_node_read(args->trans, dp,
fs/xfs/libxfs/xfs_da_btree.c
2006
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2007
return error;
fs/xfs/libxfs/xfs_da_btree.c
2045
int error;
fs/xfs/libxfs/xfs_da_btree.c
2070
error = xfs_da3_node_read(args->trans, args->dp,
fs/xfs/libxfs/xfs_da_btree.c
2073
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2074
return error;
fs/xfs/libxfs/xfs_da_btree.c
2094
error = xfs_da3_node_read(args->trans, args->dp,
fs/xfs/libxfs/xfs_da_btree.c
2097
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2098
return error;
fs/xfs/libxfs/xfs_da_btree.c
2145
int error;
fs/xfs/libxfs/xfs_da_btree.c
2189
error = xfs_da3_node_read(args->trans, dp, blkno, &bp,
fs/xfs/libxfs/xfs_da_btree.c
2191
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2192
return error;
fs/xfs/libxfs/xfs_da_btree.c
2333
int nmap, error, got, i, mapi = 1;
fs/xfs/libxfs/xfs_da_btree.c
2338
error = xfs_bmap_first_unused(tp, dp, count, bno, w);
fs/xfs/libxfs/xfs_da_btree.c
2339
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2340
return error;
fs/xfs/libxfs/xfs_da_btree.c
2346
error = xfs_bmapi_write(tp, dp, *bno, count,
fs/xfs/libxfs/xfs_da_btree.c
2349
if (error == -ENOSPC && count > 1) {
fs/xfs/libxfs/xfs_da_btree.c
2362
error = xfs_bmapi_write(tp, dp, b, c,
fs/xfs/libxfs/xfs_da_btree.c
2365
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2372
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2383
error = -ENOSPC;
fs/xfs/libxfs/xfs_da_btree.c
2393
return error;
fs/xfs/libxfs/xfs_da_btree.c
2406
int error;
fs/xfs/libxfs/xfs_da_btree.c
2411
error = xfs_da_grow_inode_int(args, &bno, args->geo->fsbcount);
fs/xfs/libxfs/xfs_da_btree.c
2412
if (!error)
fs/xfs/libxfs/xfs_da_btree.c
2414
return error;
fs/xfs/libxfs/xfs_da_btree.c
2452
int error;
fs/xfs/libxfs/xfs_da_btree.c
2468
error = xfs_bmap_last_before(tp, dp, &lastoff, w);
fs/xfs/libxfs/xfs_da_btree.c
2469
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2470
return error;
fs/xfs/libxfs/xfs_da_btree.c
2479
error = xfs_da3_node_read(tp, dp, last_blkno, &last_buf, w);
fs/xfs/libxfs/xfs_da_btree.c
2480
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2481
return error;
fs/xfs/libxfs/xfs_da_btree.c
2525
error = xfs_da3_node_read(tp, dp, sib_blkno, &sib_buf, w);
fs/xfs/libxfs/xfs_da_btree.c
2526
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2532
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_da_btree.c
2540
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_da_btree.c
2553
error = xfs_da3_node_read(tp, dp, sib_blkno, &sib_buf, w);
fs/xfs/libxfs/xfs_da_btree.c
2554
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2560
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_da_btree.c
2568
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_da_btree.c
2583
error = xfs_da3_node_read(tp, dp, par_blkno, &par_buf, w);
fs/xfs/libxfs/xfs_da_btree.c
2584
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2590
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_da_btree.c
2598
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_da_btree.c
2610
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_da_btree.c
2636
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_da_btree.c
2639
error = xfs_da3_node_read(tp, dp, par_blkno, &par_buf, w);
fs/xfs/libxfs/xfs_da_btree.c
2640
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2646
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_da_btree.c
2653
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_da_btree.c
2675
return error;
fs/xfs/libxfs/xfs_da_btree.c
2688
int done, error, w, count;
fs/xfs/libxfs/xfs_da_btree.c
2702
error = xfs_bunmapi(tp, dp, dead_blkno, count,
fs/xfs/libxfs/xfs_da_btree.c
2704
if (error == -ENOSPC) {
fs/xfs/libxfs/xfs_da_btree.c
2707
error = xfs_da3_swap_lastblock(args, &dead_blkno,
fs/xfs/libxfs/xfs_da_btree.c
2709
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2716
return error;
fs/xfs/libxfs/xfs_da_btree.c
2733
int error = 0, nirecs, i;
fs/xfs/libxfs/xfs_da_btree.c
2740
error = xfs_bmapi_read(dp, bno, nfsb, irecs, &nirecs,
fs/xfs/libxfs/xfs_da_btree.c
2742
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2774
return error;
fs/xfs/libxfs/xfs_da_btree.c
2780
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_da_btree.c
2815
int error;
fs/xfs/libxfs/xfs_da_btree.c
2818
error = xfs_dabuf_map(dp, bno, 0, whichfork, &mapp, &nmap);
fs/xfs/libxfs/xfs_da_btree.c
2819
if (error || nmap == 0)
fs/xfs/libxfs/xfs_da_btree.c
2822
error = xfs_trans_get_buf_map(tp, mp->m_ddev_targp, mapp, nmap, 0, &bp);
fs/xfs/libxfs/xfs_da_btree.c
2823
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2832
return error;
fs/xfs/libxfs/xfs_da_btree.c
2852
int error;
fs/xfs/libxfs/xfs_da_btree.c
2855
error = xfs_dabuf_map(dp, bno, flags, whichfork, &mapp, &nmap);
fs/xfs/libxfs/xfs_da_btree.c
2856
if (error || !nmap)
fs/xfs/libxfs/xfs_da_btree.c
2859
error = xfs_trans_read_buf_map(mp, tp, mp->m_ddev_targp, mapp, nmap, 0,
fs/xfs/libxfs/xfs_da_btree.c
2861
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_da_btree.c
2867
if (error == -ENODATA && whichfork == XFS_ATTR_FORK)
fs/xfs/libxfs/xfs_da_btree.c
2868
error = -EIO;
fs/xfs/libxfs/xfs_da_btree.c
2869
if (error)
fs/xfs/libxfs/xfs_da_btree.c
2881
return error;
fs/xfs/libxfs/xfs_da_btree.c
2898
int error;
fs/xfs/libxfs/xfs_da_btree.c
2902
error = xfs_dabuf_map(dp, bno, flags, whichfork, &mapp, &nmap);
fs/xfs/libxfs/xfs_da_btree.c
2903
if (error || !nmap)
fs/xfs/libxfs/xfs_da_btree.c
2912
return error;
fs/xfs/libxfs/xfs_da_btree.c
438
int error;
fs/xfs/libxfs/xfs_da_btree.c
440
error = xfs_da_read_buf(tp, dp, bno, 0, bpp, whichfork,
fs/xfs/libxfs/xfs_da_btree.c
442
if (error || !*bpp || !tp)
fs/xfs/libxfs/xfs_da_btree.c
443
return error;
fs/xfs/libxfs/xfs_da_btree.c
456
int error;
fs/xfs/libxfs/xfs_da_btree.c
458
error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, mappedbno,
fs/xfs/libxfs/xfs_da_btree.c
461
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_da_btree.c
463
if (error || !*bpp)
fs/xfs/libxfs/xfs_da_btree.c
464
return error;
fs/xfs/libxfs/xfs_da_btree.c
515
int error;
fs/xfs/libxfs/xfs_da_btree.c
521
error = xfs_da_get_buf(tp, dp, blkno, &bp, whichfork);
fs/xfs/libxfs/xfs_da_btree.c
522
if (error)
fs/xfs/libxfs/xfs_da_btree.c
523
return error;
fs/xfs/libxfs/xfs_da_btree.c
563
int error;
fs/xfs/libxfs/xfs_da_btree.c
595
error = xfs_attr3_leaf_split(state, oldblk, newblk);
fs/xfs/libxfs/xfs_da_btree.c
596
if (error < 0)
fs/xfs/libxfs/xfs_da_btree.c
597
return error; /* GROT: attr is inconsistent */
fs/xfs/libxfs/xfs_da_btree.c
598
if (!error) {
fs/xfs/libxfs/xfs_da_btree.c
611
error = xfs_attr3_leaf_split(state, oldblk,
fs/xfs/libxfs/xfs_da_btree.c
616
error = xfs_attr3_leaf_split(state, newblk,
fs/xfs/libxfs/xfs_da_btree.c
619
if (error == 1)
fs/xfs/libxfs/xfs_da_btree.c
621
if (error)
fs/xfs/libxfs/xfs_da_btree.c
622
return error; /* GROT: attr inconsistent */
fs/xfs/libxfs/xfs_da_btree.c
626
error = xfs_dir2_leafn_split(state, oldblk, newblk);
fs/xfs/libxfs/xfs_da_btree.c
627
if (error)
fs/xfs/libxfs/xfs_da_btree.c
628
return error;
fs/xfs/libxfs/xfs_da_btree.c
632
error = xfs_da3_node_split(state, oldblk, newblk, addblk,
fs/xfs/libxfs/xfs_da_btree.c
635
if (error)
fs/xfs/libxfs/xfs_da_btree.c
636
return error; /* GROT: dir is inconsistent */
fs/xfs/libxfs/xfs_da_btree.c
668
error = xfs_da3_root_split(state, oldblk, addblk);
fs/xfs/libxfs/xfs_da_btree.c
669
if (error)
fs/xfs/libxfs/xfs_da_btree.c
688
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_da_btree.c
702
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_da_btree.c
713
return error;
fs/xfs/libxfs/xfs_da_btree.c
738
int error;
fs/xfs/libxfs/xfs_da_btree.c
748
error = xfs_da_grow_inode(args, &blkno);
fs/xfs/libxfs/xfs_da_btree.c
749
if (error)
fs/xfs/libxfs/xfs_da_btree.c
750
return error;
fs/xfs/libxfs/xfs_da_btree.c
754
error = xfs_da_get_buf(tp, dp, blkno, &bp, args->whichfork);
fs/xfs/libxfs/xfs_da_btree.c
755
if (error)
fs/xfs/libxfs/xfs_da_btree.c
756
return error;
fs/xfs/libxfs/xfs_da_btree.c
795
error = xfs_da3_node_create(args,
fs/xfs/libxfs/xfs_da_btree.c
798
if (error)
fs/xfs/libxfs/xfs_da_btree.c
799
return error;
fs/xfs/libxfs/xfs_da_btree.c
844
int error;
fs/xfs/libxfs/xfs_da_btree.c
866
error = xfs_da_grow_inode(state->args, &blkno);
fs/xfs/libxfs/xfs_da_btree.c
867
if (error)
fs/xfs/libxfs/xfs_da_btree.c
868
return error; /* GROT: dir is inconsistent */
fs/xfs/libxfs/xfs_da_btree.c
870
error = xfs_da3_node_create(state->args, blkno, treelevel,
fs/xfs/libxfs/xfs_da_btree.c
872
if (error)
fs/xfs/libxfs/xfs_da_btree.c
873
return error; /* GROT: dir is inconsistent */
fs/xfs/libxfs/xfs_da_btree.c
877
error = xfs_da3_blk_link(state, oldblk, newblk);
fs/xfs/libxfs/xfs_da_btree.c
878
if (error)
fs/xfs/libxfs/xfs_da_btree.c
879
return error;
fs/xfs/libxfs/xfs_defer.c
1001
error = xfs_defer_save_resources(&dfc->dfc_held, tp);
fs/xfs/libxfs/xfs_defer.c
1002
if (error) {
fs/xfs/libxfs/xfs_defer.c
1062
int error;
fs/xfs/libxfs/xfs_defer.c
1074
error = xfs_trans_commit(tp);
fs/xfs/libxfs/xfs_defer.c
1075
if (error) {
fs/xfs/libxfs/xfs_defer.c
1077
return error;
fs/xfs/libxfs/xfs_defer.c
1171
int error;
fs/xfs/libxfs/xfs_defer.c
1173
error = xfs_defer_init_cache();
fs/xfs/libxfs/xfs_defer.c
1174
if (error)
fs/xfs/libxfs/xfs_defer.c
1175
return error;
fs/xfs/libxfs/xfs_defer.c
1176
error = xfs_rmap_intent_init_cache();
fs/xfs/libxfs/xfs_defer.c
1177
if (error)
fs/xfs/libxfs/xfs_defer.c
1179
error = xfs_refcount_intent_init_cache();
fs/xfs/libxfs/xfs_defer.c
1180
if (error)
fs/xfs/libxfs/xfs_defer.c
1182
error = xfs_bmap_intent_init_cache();
fs/xfs/libxfs/xfs_defer.c
1183
if (error)
fs/xfs/libxfs/xfs_defer.c
1185
error = xfs_extfree_intent_init_cache();
fs/xfs/libxfs/xfs_defer.c
1186
if (error)
fs/xfs/libxfs/xfs_defer.c
1188
error = xfs_attr_intent_init_cache();
fs/xfs/libxfs/xfs_defer.c
1189
if (error)
fs/xfs/libxfs/xfs_defer.c
1191
error = xfs_exchmaps_intent_init_cache();
fs/xfs/libxfs/xfs_defer.c
1192
if (error)
fs/xfs/libxfs/xfs_defer.c
1198
return error;
fs/xfs/libxfs/xfs_defer.c
464
int error;
fs/xfs/libxfs/xfs_defer.c
466
error = xfs_defer_save_resources(&dres, *tpp);
fs/xfs/libxfs/xfs_defer.c
467
if (error)
fs/xfs/libxfs/xfs_defer.c
468
return error;
fs/xfs/libxfs/xfs_defer.c
479
error = xfs_trans_roll(tpp);
fs/xfs/libxfs/xfs_defer.c
483
if (error)
fs/xfs/libxfs/xfs_defer.c
484
trace_xfs_defer_trans_roll_error(*tpp, error);
fs/xfs/libxfs/xfs_defer.c
485
return error;
fs/xfs/libxfs/xfs_defer.c
586
int error;
fs/xfs/libxfs/xfs_defer.c
595
error = ops->finish_item(tp, dfp->dfp_done, li, &state);
fs/xfs/libxfs/xfs_defer.c
596
if (error == -EAGAIN) {
fs/xfs/libxfs/xfs_defer.c
611
error = ret;
fs/xfs/libxfs/xfs_defer.c
614
if (error)
fs/xfs/libxfs/xfs_defer.c
623
ops->finish_cleanup(tp, state, error);
fs/xfs/libxfs/xfs_defer.c
624
return error;
fs/xfs/libxfs/xfs_defer.c
658
int error = 0;
fs/xfs/libxfs/xfs_defer.c
684
error = has_intents;
fs/xfs/libxfs/xfs_defer.c
688
error = xfs_defer_trans_roll(tp);
fs/xfs/libxfs/xfs_defer.c
689
if (error)
fs/xfs/libxfs/xfs_defer.c
697
error = xfs_defer_trans_roll(tp);
fs/xfs/libxfs/xfs_defer.c
698
if (error)
fs/xfs/libxfs/xfs_defer.c
707
error = xfs_defer_finish_one(*tp, dfp);
fs/xfs/libxfs/xfs_defer.c
708
if (error && error != -EAGAIN)
fs/xfs/libxfs/xfs_defer.c
722
trace_xfs_defer_finish_error(*tp, error);
fs/xfs/libxfs/xfs_defer.c
725
return error;
fs/xfs/libxfs/xfs_defer.c
735
int error;
fs/xfs/libxfs/xfs_defer.c
741
error = xfs_defer_finish_noroll(tp);
fs/xfs/libxfs/xfs_defer.c
742
if (error)
fs/xfs/libxfs/xfs_defer.c
743
return error;
fs/xfs/libxfs/xfs_defer.c
745
error = xfs_defer_trans_roll(tp);
fs/xfs/libxfs/xfs_defer.c
746
if (error) {
fs/xfs/libxfs/xfs_defer.c
749
return error;
fs/xfs/libxfs/xfs_defer.c
922
int error;
fs/xfs/libxfs/xfs_defer.c
925
error = ops->recover_work(dfp, capture_list);
fs/xfs/libxfs/xfs_defer.c
926
if (error)
fs/xfs/libxfs/xfs_defer.c
927
trace_xlog_intent_recovery_failed(mp, ops, error);
fs/xfs/libxfs/xfs_defer.c
928
return error;
fs/xfs/libxfs/xfs_defer.c
975
int error;
fs/xfs/libxfs/xfs_defer.c
980
error = xfs_defer_create_intents(tp);
fs/xfs/libxfs/xfs_defer.c
981
if (error < 0)
fs/xfs/libxfs/xfs_defer.c
982
return ERR_PTR(error);
fs/xfs/libxfs/xfs_defer.h
60
struct xfs_btree_cur *state, int error);
fs/xfs/libxfs/xfs_dir2.c
1001
if (error)
fs/xfs/libxfs/xfs_dir2.c
1002
return error;
fs/xfs/libxfs/xfs_dir2.c
1015
error = xfs_droplink(tp, ip);
fs/xfs/libxfs/xfs_dir2.c
1016
if (error)
fs/xfs/libxfs/xfs_dir2.c
1017
return error;
fs/xfs/libxfs/xfs_dir2.c
1019
error = xfs_dir_removename(tp, dp, name, ip->i_ino, resblks);
fs/xfs/libxfs/xfs_dir2.c
1020
if (error) {
fs/xfs/libxfs/xfs_dir2.c
1021
ASSERT(error != -ENOENT);
fs/xfs/libxfs/xfs_dir2.c
1022
return error;
fs/xfs/libxfs/xfs_dir2.c
1027
error = xfs_parent_removename(tp, du->ppargs, dp, name, ip);
fs/xfs/libxfs/xfs_dir2.c
1028
if (error)
fs/xfs/libxfs/xfs_dir2.c
1029
return error;
fs/xfs/libxfs/xfs_dir2.c
1059
int error;
fs/xfs/libxfs/xfs_dir2.c
1062
error = xfs_dir_replace(tp, dp1, name1, ip2->i_ino, spaceres);
fs/xfs/libxfs/xfs_dir2.c
1063
if (error)
fs/xfs/libxfs/xfs_dir2.c
1064
return error;
fs/xfs/libxfs/xfs_dir2.c
1067
error = xfs_dir_replace(tp, dp2, name2, ip1->i_ino, spaceres);
fs/xfs/libxfs/xfs_dir2.c
1068
if (error)
fs/xfs/libxfs/xfs_dir2.c
1069
return error;
fs/xfs/libxfs/xfs_dir2.c
1080
error = xfs_dir_replace(tp, ip2, &xfs_name_dotdot,
fs/xfs/libxfs/xfs_dir2.c
1082
if (error)
fs/xfs/libxfs/xfs_dir2.c
1083
return error;
fs/xfs/libxfs/xfs_dir2.c
1087
error = xfs_droplink(tp, dp2);
fs/xfs/libxfs/xfs_dir2.c
1088
if (error)
fs/xfs/libxfs/xfs_dir2.c
1089
return error;
fs/xfs/libxfs/xfs_dir2.c
1104
error = xfs_dir_replace(tp, ip1, &xfs_name_dotdot,
fs/xfs/libxfs/xfs_dir2.c
1106
if (error)
fs/xfs/libxfs/xfs_dir2.c
1107
return error;
fs/xfs/libxfs/xfs_dir2.c
1111
error = xfs_droplink(tp, dp1);
fs/xfs/libxfs/xfs_dir2.c
1112
if (error)
fs/xfs/libxfs/xfs_dir2.c
1113
return error;
fs/xfs/libxfs/xfs_dir2.c
1145
error = xfs_parent_replacename(tp, du1->ppargs, dp1, name1,
fs/xfs/libxfs/xfs_dir2.c
1147
if (error)
fs/xfs/libxfs/xfs_dir2.c
1148
return error;
fs/xfs/libxfs/xfs_dir2.c
1152
error = xfs_parent_replacename(tp, du2->ppargs, dp2, name2,
fs/xfs/libxfs/xfs_dir2.c
1154
if (error)
fs/xfs/libxfs/xfs_dir2.c
1155
return error;
fs/xfs/libxfs/xfs_dir2.c
1203
int error;
fs/xfs/libxfs/xfs_dir2.c
1217
error = xfs_dir_canenter(tp, target_dp, target_name);
fs/xfs/libxfs/xfs_dir2.c
1218
if (error)
fs/xfs/libxfs/xfs_dir2.c
1219
return error;
fs/xfs/libxfs/xfs_dir2.c
1250
error = xfs_iunlink_remove(tp, pag, du_wip->ip);
fs/xfs/libxfs/xfs_dir2.c
1252
if (error)
fs/xfs/libxfs/xfs_dir2.c
1253
return error;
fs/xfs/libxfs/xfs_dir2.c
1267
error = xfs_dir_createname(tp, target_dp, target_name,
fs/xfs/libxfs/xfs_dir2.c
1269
if (error)
fs/xfs/libxfs/xfs_dir2.c
1270
return error;
fs/xfs/libxfs/xfs_dir2.c
1288
error = xfs_dir_replace(tp, target_dp, target_name,
fs/xfs/libxfs/xfs_dir2.c
1290
if (error)
fs/xfs/libxfs/xfs_dir2.c
1291
return error;
fs/xfs/libxfs/xfs_dir2.c
1300
error = xfs_droplink(tp, target_ip);
fs/xfs/libxfs/xfs_dir2.c
1301
if (error)
fs/xfs/libxfs/xfs_dir2.c
1302
return error;
fs/xfs/libxfs/xfs_dir2.c
1308
error = xfs_droplink(tp, target_ip);
fs/xfs/libxfs/xfs_dir2.c
1309
if (error)
fs/xfs/libxfs/xfs_dir2.c
1310
return error;
fs/xfs/libxfs/xfs_dir2.c
1322
error = xfs_dir_replace(tp, src_ip, &xfs_name_dotdot,
fs/xfs/libxfs/xfs_dir2.c
1324
ASSERT(error != -EEXIST);
fs/xfs/libxfs/xfs_dir2.c
1325
if (error)
fs/xfs/libxfs/xfs_dir2.c
1326
return error;
fs/xfs/libxfs/xfs_dir2.c
1350
error = xfs_droplink(tp, src_dp);
fs/xfs/libxfs/xfs_dir2.c
1351
if (error)
fs/xfs/libxfs/xfs_dir2.c
1352
return error;
fs/xfs/libxfs/xfs_dir2.c
1361
error = xfs_dir_replace(tp, src_dp, src_name, du_wip->ip->i_ino,
fs/xfs/libxfs/xfs_dir2.c
1364
error = xfs_dir_removename(tp, src_dp, src_name, src_ip->i_ino,
fs/xfs/libxfs/xfs_dir2.c
1366
if (error)
fs/xfs/libxfs/xfs_dir2.c
1367
return error;
fs/xfs/libxfs/xfs_dir2.c
1376
error = xfs_parent_addname(tp, du_wip->ppargs, src_dp,
fs/xfs/libxfs/xfs_dir2.c
1378
if (error)
fs/xfs/libxfs/xfs_dir2.c
1379
return error;
fs/xfs/libxfs/xfs_dir2.c
1383
error = xfs_parent_replacename(tp, du_src->ppargs, src_dp,
fs/xfs/libxfs/xfs_dir2.c
1385
if (error)
fs/xfs/libxfs/xfs_dir2.c
1386
return error;
fs/xfs/libxfs/xfs_dir2.c
1390
error = xfs_parent_removename(tp, du_tgt->ppargs, target_dp,
fs/xfs/libxfs/xfs_dir2.c
1392
if (error)
fs/xfs/libxfs/xfs_dir2.c
1393
return error;
fs/xfs/libxfs/xfs_dir2.c
244
int error;
fs/xfs/libxfs/xfs_dir2.c
247
error = xfs_dir_ino_validate(tp->t_mountp, pdp->i_ino);
fs/xfs/libxfs/xfs_dir2.c
248
if (error)
fs/xfs/libxfs/xfs_dir2.c
249
return error;
fs/xfs/libxfs/xfs_dir2.c
259
error = xfs_dir2_sf_create(args, pdp->i_ino);
fs/xfs/libxfs/xfs_dir2.c
261
return error;
fs/xfs/libxfs/xfs_dir2.c
267
int *error)
fs/xfs/libxfs/xfs_dir2.c
276
*error = 0;
fs/xfs/libxfs/xfs_dir2.c
280
*error = xfs_bmap_last_offset(dp, &eof, XFS_DATA_FORK);
fs/xfs/libxfs/xfs_dir2.c
281
if (*error)
fs/xfs/libxfs/xfs_dir2.c
287
*error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_dir2.c
301
int error;
fs/xfs/libxfs/xfs_dir2.c
306
switch (xfs_dir2_format(args, &error)) {
fs/xfs/libxfs/xfs_dir2.c
316
return error;
fs/xfs/libxfs/xfs_dir2.c
395
int error;
fs/xfs/libxfs/xfs_dir2.c
397
switch (xfs_dir2_format(args, &error)) {
fs/xfs/libxfs/xfs_dir2.c
399
error = xfs_dir2_sf_lookup(args);
fs/xfs/libxfs/xfs_dir2.c
402
error = xfs_dir2_block_lookup(args);
fs/xfs/libxfs/xfs_dir2.c
405
error = xfs_dir2_leaf_lookup(args);
fs/xfs/libxfs/xfs_dir2.c
408
error = xfs_dir2_node_lookup(args);
fs/xfs/libxfs/xfs_dir2.c
414
if (error != -EEXIST)
fs/xfs/libxfs/xfs_dir2.c
415
return error;
fs/xfs/libxfs/xfs_dir2.c
472
int error;
fs/xfs/libxfs/xfs_dir2.c
474
switch (xfs_dir2_format(args, &error)) {
fs/xfs/libxfs/xfs_dir2.c
484
return error;
fs/xfs/libxfs/xfs_dir2.c
529
int error;
fs/xfs/libxfs/xfs_dir2.c
531
switch (xfs_dir2_format(args, &error)) {
fs/xfs/libxfs/xfs_dir2.c
541
return error;
fs/xfs/libxfs/xfs_dir2.c
617
int error;
fs/xfs/libxfs/xfs_dir2.c
627
error = xfs_da_grow_inode_int(args, &bno, count);
fs/xfs/libxfs/xfs_dir2.c
628
if (error)
fs/xfs/libxfs/xfs_dir2.c
629
return error;
fs/xfs/libxfs/xfs_dir2.c
663
int error;
fs/xfs/libxfs/xfs_dir2.c
675
error = xfs_bunmapi(tp, dp, da, args->geo->fsbcount, 0, 0, &done);
fs/xfs/libxfs/xfs_dir2.c
676
if (error) {
fs/xfs/libxfs/xfs_dir2.c
689
return error;
fs/xfs/libxfs/xfs_dir2.c
707
if ((error = xfs_bmap_last_before(tp, dp, &bno, XFS_DATA_FORK))) {
fs/xfs/libxfs/xfs_dir2.c
711
return error;
fs/xfs/libxfs/xfs_dir2.c
853
int error;
fs/xfs/libxfs/xfs_dir2.c
858
error = xfs_dir_createname(tp, dp, name, ip->i_ino, resblks);
fs/xfs/libxfs/xfs_dir2.c
859
if (error) {
fs/xfs/libxfs/xfs_dir2.c
860
ASSERT(error != -ENOSPC);
fs/xfs/libxfs/xfs_dir2.c
861
return error;
fs/xfs/libxfs/xfs_dir2.c
868
error = xfs_dir_init(tp, ip, dp);
fs/xfs/libxfs/xfs_dir2.c
869
if (error)
fs/xfs/libxfs/xfs_dir2.c
870
return error;
fs/xfs/libxfs/xfs_dir2.c
880
error = xfs_parent_addname(tp, du->ppargs, dp, name, ip);
fs/xfs/libxfs/xfs_dir2.c
881
if (error)
fs/xfs/libxfs/xfs_dir2.c
882
return error;
fs/xfs/libxfs/xfs_dir2.c
904
int error;
fs/xfs/libxfs/xfs_dir2.c
911
error = xfs_dir_canenter(tp, dp, name);
fs/xfs/libxfs/xfs_dir2.c
912
if (error)
fs/xfs/libxfs/xfs_dir2.c
913
return error;
fs/xfs/libxfs/xfs_dir2.c
923
error = xfs_iunlink_remove(tp, pag, ip);
fs/xfs/libxfs/xfs_dir2.c
925
if (error)
fs/xfs/libxfs/xfs_dir2.c
926
return error;
fs/xfs/libxfs/xfs_dir2.c
929
error = xfs_dir_createname(tp, dp, name, ip->i_ino, resblks);
fs/xfs/libxfs/xfs_dir2.c
930
if (error)
fs/xfs/libxfs/xfs_dir2.c
931
return error;
fs/xfs/libxfs/xfs_dir2.c
945
error = xfs_parent_addname(tp, du->ppargs, dp, name, ip);
fs/xfs/libxfs/xfs_dir2.c
946
if (error)
fs/xfs/libxfs/xfs_dir2.c
947
return error;
fs/xfs/libxfs/xfs_dir2.c
967
int error;
fs/xfs/libxfs/xfs_dir2.c
983
error = xfs_droplink(tp, dp);
fs/xfs/libxfs/xfs_dir2.c
984
if (error)
fs/xfs/libxfs/xfs_dir2.c
985
return error;
fs/xfs/libxfs/xfs_dir2.c
988
error = xfs_droplink(tp, ip);
fs/xfs/libxfs/xfs_dir2.c
989
if (error)
fs/xfs/libxfs/xfs_dir2.c
990
return error;
fs/xfs/libxfs/xfs_dir2.c
999
error = xfs_dir_replace(tp, ip, &xfs_name_dotdot,
fs/xfs/libxfs/xfs_dir2.h
47
enum xfs_dir2_fmt xfs_dir2_format(struct xfs_da_args *args, int *error);
fs/xfs/libxfs/xfs_dir2_block.c
1025
error = xfs_dir2_data_use_free(args, dbp, dup,
fs/xfs/libxfs/xfs_dir2_block.c
1027
if (error)
fs/xfs/libxfs/xfs_dir2_block.c
1028
return error;
fs/xfs/libxfs/xfs_dir2_block.c
1058
error = xfs_da_shrink_inode(args, args->geo->leafblk, lbp);
fs/xfs/libxfs/xfs_dir2_block.c
1059
if (error)
fs/xfs/libxfs/xfs_dir2_block.c
1060
return error;
fs/xfs/libxfs/xfs_dir2_block.c
1093
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_block.c
1129
error = xfs_dir2_grow_inode(args, XFS_DIR2_DATA_SPACE, &blkno);
fs/xfs/libxfs/xfs_dir2_block.c
1130
if (error)
fs/xfs/libxfs/xfs_dir2_block.c
1135
error = xfs_dir3_data_init(args, blkno, &bp);
fs/xfs/libxfs/xfs_dir2_block.c
1136
if (error)
fs/xfs/libxfs/xfs_dir2_block.c
1152
error = xfs_dir2_data_use_free(args, bp, dup, args->geo->blksize - i,
fs/xfs/libxfs/xfs_dir2_block.c
1154
if (error)
fs/xfs/libxfs/xfs_dir2_block.c
1168
error = xfs_dir2_data_use_free(args, bp, dup,
fs/xfs/libxfs/xfs_dir2_block.c
1171
if (error)
fs/xfs/libxfs/xfs_dir2_block.c
1280
return error;
fs/xfs/libxfs/xfs_dir2_block.c
368
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_block.c
390
error = xfs_dir3_block_read(tp, dp, args->owner, &bp);
fs/xfs/libxfs/xfs_dir2_block.c
391
if (error)
fs/xfs/libxfs/xfs_dir2_block.c
392
return error;
fs/xfs/libxfs/xfs_dir2_block.c
431
error = xfs_dir2_block_to_leaf(args, bp);
fs/xfs/libxfs/xfs_dir2_block.c
432
if (error)
fs/xfs/libxfs/xfs_dir2_block.c
433
return error;
fs/xfs/libxfs/xfs_dir2_block.c
482
error = xfs_dir2_data_use_free(args, bp, enddup, aoff,
fs/xfs/libxfs/xfs_dir2_block.c
485
if (error)
fs/xfs/libxfs/xfs_dir2_block.c
486
return error;
fs/xfs/libxfs/xfs_dir2_block.c
569
error = xfs_dir2_data_use_free(args, bp, dup,
fs/xfs/libxfs/xfs_dir2_block.c
572
if (error)
fs/xfs/libxfs/xfs_dir2_block.c
573
return error;
fs/xfs/libxfs/xfs_dir2_block.c
647
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_block.c
655
if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent)))
fs/xfs/libxfs/xfs_dir2_block.c
656
return error;
fs/xfs/libxfs/xfs_dir2_block.c
673
error = xfs_dir_cilookup_result(args, dep->name, dep->namelen);
fs/xfs/libxfs/xfs_dir2_block.c
675
return error;
fs/xfs/libxfs/xfs_dir2_block.c
694
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_block.c
705
error = xfs_dir3_block_read(tp, dp, args->owner, &bp);
fs/xfs/libxfs/xfs_dir2_block.c
706
if (error)
fs/xfs/libxfs/xfs_dir2_block.c
707
return error;
fs/xfs/libxfs/xfs_dir2_block.c
795
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_block.c
808
if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) {
fs/xfs/libxfs/xfs_dir2_block.c
809
return error;
fs/xfs/libxfs/xfs_dir2_block.c
876
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_block.c
884
if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) {
fs/xfs/libxfs/xfs_dir2_block.c
885
return error;
fs/xfs/libxfs/xfs_dir2_block.c
939
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_block.c
978
if ((error =
fs/xfs/libxfs/xfs_dir2_block.c
981
return error;
fs/xfs/libxfs/xfs_dir2_block.c
989
error = xfs_dir3_data_read(tp, dp, args->owner,
fs/xfs/libxfs/xfs_dir2_block.c
991
if (error)
fs/xfs/libxfs/xfs_dir2_block.c
992
return error;
fs/xfs/libxfs/xfs_dir2_data.c
730
int error;
fs/xfs/libxfs/xfs_dir2_data.c
736
error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(args->geo, blkno),
fs/xfs/libxfs/xfs_dir2_data.c
738
if (error)
fs/xfs/libxfs/xfs_dir2_data.c
739
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1217
int error; /* error return code */
fs/xfs/libxfs/xfs_dir2_leaf.c
1229
error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr);
fs/xfs/libxfs/xfs_dir2_leaf.c
1230
if (error)
fs/xfs/libxfs/xfs_dir2_leaf.c
1231
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1253
error = xfs_dir_cilookup_result(args, dep->name, dep->namelen);
fs/xfs/libxfs/xfs_dir2_leaf.c
1256
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1277
int error; /* error return code */
fs/xfs/libxfs/xfs_dir2_leaf.c
1292
error = xfs_dir3_leaf_read(tp, dp, args->owner, args->geo->leafblk,
fs/xfs/libxfs/xfs_dir2_leaf.c
1294
if (error)
fs/xfs/libxfs/xfs_dir2_leaf.c
1295
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1331
error = xfs_dir3_data_read(tp, dp, args->owner,
fs/xfs/libxfs/xfs_dir2_leaf.c
1334
if (error) {
fs/xfs/libxfs/xfs_dir2_leaf.c
1336
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1373
error = xfs_dir3_data_read(tp, dp, args->owner,
fs/xfs/libxfs/xfs_dir2_leaf.c
1376
if (error) {
fs/xfs/libxfs/xfs_dir2_leaf.c
1378
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1408
int error; /* error return code */
fs/xfs/libxfs/xfs_dir2_leaf.c
1426
error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr);
fs/xfs/libxfs/xfs_dir2_leaf.c
1427
if (error)
fs/xfs/libxfs/xfs_dir2_leaf.c
1428
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1493
if ((error = xfs_dir2_shrink_inode(args, db, dbp))) {
fs/xfs/libxfs/xfs_dir2_leaf.c
1500
if (error == -ENOSPC && args->total == 0)
fs/xfs/libxfs/xfs_dir2_leaf.c
1501
error = 0;
fs/xfs/libxfs/xfs_dir2_leaf.c
1503
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1554
int error; /* error return code */
fs/xfs/libxfs/xfs_dir2_leaf.c
1566
error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp, &leafhdr);
fs/xfs/libxfs/xfs_dir2_leaf.c
1567
if (error)
fs/xfs/libxfs/xfs_dir2_leaf.c
1568
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1659
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_leaf.c
1669
error = xfs_dir3_data_read(tp, dp, args->owner,
fs/xfs/libxfs/xfs_dir2_leaf.c
1671
if (error)
fs/xfs/libxfs/xfs_dir2_leaf.c
1672
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1694
if ((error = xfs_dir2_shrink_inode(args, db, dbp))) {
fs/xfs/libxfs/xfs_dir2_leaf.c
1695
ASSERT(error != -ENOSPC);
fs/xfs/libxfs/xfs_dir2_leaf.c
1697
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1741
int error; /* error return code */
fs/xfs/libxfs/xfs_dir2_leaf.c
1769
if ((error = xfs_bmap_last_offset(dp, &fo, XFS_DATA_FORK))) {
fs/xfs/libxfs/xfs_dir2_leaf.c
1770
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1780
if ((error = xfs_dir2_node_trim_free(args, fo, &rval))) {
fs/xfs/libxfs/xfs_dir2_leaf.c
1781
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1791
if ((error = xfs_bmap_last_before(tp, dp, &fo, XFS_DATA_FORK))) {
fs/xfs/libxfs/xfs_dir2_leaf.c
1792
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1809
error = xfs_dir2_free_read(tp, dp, args->owner, args->geo->freeblk,
fs/xfs/libxfs/xfs_dir2_leaf.c
1811
if (error)
fs/xfs/libxfs/xfs_dir2_leaf.c
1812
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1859
error = xfs_dir2_shrink_inode(args,
fs/xfs/libxfs/xfs_dir2_leaf.c
1862
if (error) {
fs/xfs/libxfs/xfs_dir2_leaf.c
1868
ASSERT(error != -ENOSPC);
fs/xfs/libxfs/xfs_dir2_leaf.c
1869
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
1878
error = xfs_dir2_leaf_to_block(args, lbp, NULL);
fs/xfs/libxfs/xfs_dir2_leaf.c
1880
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
411
int error;
fs/xfs/libxfs/xfs_dir2_leaf.c
417
error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(args->geo, bno),
fs/xfs/libxfs/xfs_dir2_leaf.c
419
if (error)
fs/xfs/libxfs/xfs_dir2_leaf.c
420
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
444
int error; /* error return code */
fs/xfs/libxfs/xfs_dir2_leaf.c
464
if ((error = xfs_da_grow_inode(args, &blkno))) {
fs/xfs/libxfs/xfs_dir2_leaf.c
465
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
472
error = xfs_dir3_leaf_get_buf(args, ldb, &lbp, XFS_DIR2_LEAF1_MAGIC);
fs/xfs/libxfs/xfs_dir2_leaf.c
473
if (error)
fs/xfs/libxfs/xfs_dir2_leaf.c
474
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
684
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_leaf.c
700
error = xfs_dir3_leaf_read(tp, dp, args->owner, args->geo->leafblk,
fs/xfs/libxfs/xfs_dir2_leaf.c
702
if (error)
fs/xfs/libxfs/xfs_dir2_leaf.c
703
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
794
error = xfs_dir2_leaf_to_node(args, lbp);
fs/xfs/libxfs/xfs_dir2_leaf.c
795
if (error)
fs/xfs/libxfs/xfs_dir2_leaf.c
796
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
849
if ((error = xfs_dir2_grow_inode(args, XFS_DIR2_DATA_SPACE,
fs/xfs/libxfs/xfs_dir2_leaf.c
852
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
857
if ((error = xfs_dir3_data_init(args, use_block, &dbp))) {
fs/xfs/libxfs/xfs_dir2_leaf.c
859
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
888
error = xfs_dir3_data_read(tp, dp, args->owner,
fs/xfs/libxfs/xfs_dir2_leaf.c
891
if (error) {
fs/xfs/libxfs/xfs_dir2_leaf.c
893
return error;
fs/xfs/libxfs/xfs_dir2_leaf.c
908
error = xfs_dir2_data_use_free(args, dbp, dup,
fs/xfs/libxfs/xfs_dir2_leaf.c
911
if (error) {
fs/xfs/libxfs/xfs_dir2_leaf.c
913
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1244
int error;
fs/xfs/libxfs/xfs_dir2_node.c
1246
error = xfs_dir2_shrink_inode(args, fdb, fbp);
fs/xfs/libxfs/xfs_dir2_node.c
1247
if (error == 0) {
fs/xfs/libxfs/xfs_dir2_node.c
1250
} else if (error != -ENOSPC || args->total != 0)
fs/xfs/libxfs/xfs_dir2_node.c
1251
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1352
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_node.c
1363
error = xfs_dir2_free_read(tp, dp, args->owner,
fs/xfs/libxfs/xfs_dir2_node.c
1365
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1366
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1390
error = xfs_dir2_shrink_inode(args, db, dbp);
fs/xfs/libxfs/xfs_dir2_node.c
1391
if (error == 0) {
fs/xfs/libxfs/xfs_dir2_node.c
1400
else if (!(error == -ENOSPC && args->total == 0))
fs/xfs/libxfs/xfs_dir2_node.c
1401
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1407
error = xfs_dir3_data_block_free(args, hdr, free,
fs/xfs/libxfs/xfs_dir2_node.c
1409
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1410
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1435
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_node.c
1444
error = xfs_da_grow_inode(args, &blkno);
fs/xfs/libxfs/xfs_dir2_node.c
1445
if (error) {
fs/xfs/libxfs/xfs_dir2_node.c
1446
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1451
error = xfs_dir3_leaf_get_buf(args, xfs_dir2_da_to_db(args->geo, blkno),
fs/xfs/libxfs/xfs_dir2_node.c
1453
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1454
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1463
error = xfs_da3_blk_link(state, oldblk, newblk);
fs/xfs/libxfs/xfs_dir2_node.c
1464
if (error) {
fs/xfs/libxfs/xfs_dir2_node.c
1465
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1471
error = xfs_dir2_leafn_add(oldblk->bp, args, oldblk->index);
fs/xfs/libxfs/xfs_dir2_node.c
1473
error = xfs_dir2_leafn_add(newblk->bp, args, newblk->index);
fs/xfs/libxfs/xfs_dir2_node.c
1481
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1503
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_node.c
1545
error = xfs_da3_path_shift(state, &state->altpath, forward, 0,
fs/xfs/libxfs/xfs_dir2_node.c
1547
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1548
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1569
error = xfs_dir3_leafn_read(state->args->trans, dp,
fs/xfs/libxfs/xfs_dir2_node.c
1571
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1572
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1608
error = xfs_da3_path_shift(state, &state->altpath, forward, 0,
fs/xfs/libxfs/xfs_dir2_node.c
1611
error = xfs_da3_path_shift(state, &state->path, forward, 0,
fs/xfs/libxfs/xfs_dir2_node.c
1613
if (error) {
fs/xfs/libxfs/xfs_dir2_node.c
1614
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1704
int error;
fs/xfs/libxfs/xfs_dir2_node.c
1711
error = xfs_dir2_grow_inode(args, XFS_DIR2_DATA_SPACE, dbno);
fs/xfs/libxfs/xfs_dir2_node.c
1712
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1713
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1714
error = xfs_dir3_data_init(args, *dbno, &dbp);
fs/xfs/libxfs/xfs_dir2_node.c
1715
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1716
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1723
error = xfs_dir2_free_try_read(tp, dp, args->owner,
fs/xfs/libxfs/xfs_dir2_node.c
1725
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1726
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1733
error = xfs_dir2_grow_inode(args, XFS_DIR2_FREE_SPACE, &fbno);
fs/xfs/libxfs/xfs_dir2_node.c
1734
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1735
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1758
error = xfs_dir3_free_get_buf(args, fbno, &fbp);
fs/xfs/libxfs/xfs_dir2_node.c
1759
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1760
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1820
int error;
fs/xfs/libxfs/xfs_dir2_node.c
1854
error = xfs_bmap_last_offset(dp, &fo, XFS_DATA_FORK);
fs/xfs/libxfs/xfs_dir2_node.c
1855
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1856
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1870
error = xfs_dir2_free_try_read(tp, dp, args->owner,
fs/xfs/libxfs/xfs_dir2_node.c
1873
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1874
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1921
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_node.c
1930
error = xfs_dir2_node_find_freeblk(args, fblk, &dbno, &fbp, &freehdr,
fs/xfs/libxfs/xfs_dir2_node.c
1932
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1933
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1952
error = xfs_dir2_node_add_datablk(args, fblk, &dbno, &dbp, &fbp,
fs/xfs/libxfs/xfs_dir2_node.c
1956
error = xfs_dir3_data_read(tp, dp, args->owner,
fs/xfs/libxfs/xfs_dir2_node.c
1959
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
1960
return error;
fs/xfs/libxfs/xfs_dir2_node.c
1973
error = xfs_dir2_data_use_free(args, dbp, dup, aoff, length,
fs/xfs/libxfs/xfs_dir2_node.c
1975
if (error) {
fs/xfs/libxfs/xfs_dir2_node.c
1977
return error;
fs/xfs/libxfs/xfs_dir2_node.c
2020
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_node.c
2034
error = xfs_da3_node_lookup_int(state, &rval);
fs/xfs/libxfs/xfs_dir2_node.c
2035
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
2036
rval = error;
fs/xfs/libxfs/xfs_dir2_node.c
2088
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_node.c
2103
error = xfs_da3_node_lookup_int(state, &rval);
fs/xfs/libxfs/xfs_dir2_node.c
2104
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
2105
rval = error;
fs/xfs/libxfs/xfs_dir2_node.c
2141
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_node.c
2153
error = xfs_da3_node_lookup_int(state, &rval);
fs/xfs/libxfs/xfs_dir2_node.c
2154
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
2159
error = rval;
fs/xfs/libxfs/xfs_dir2_node.c
2170
error = xfs_dir2_leafn_remove(args, blk->bp, blk->index,
fs/xfs/libxfs/xfs_dir2_node.c
2172
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
2182
error = xfs_da3_join(state);
fs/xfs/libxfs/xfs_dir2_node.c
2186
if (!error)
fs/xfs/libxfs/xfs_dir2_node.c
2187
error = xfs_dir2_node_to_leaf(state);
fs/xfs/libxfs/xfs_dir2_node.c
2190
return error;
fs/xfs/libxfs/xfs_dir2_node.c
2203
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_node.c
2227
error = xfs_da3_node_lookup_int(state, &rval);
fs/xfs/libxfs/xfs_dir2_node.c
2228
if (error) {
fs/xfs/libxfs/xfs_dir2_node.c
2229
rval = error;
fs/xfs/libxfs/xfs_dir2_node.c
2296
int error; /* error return code */
fs/xfs/libxfs/xfs_dir2_node.c
2309
error = xfs_dir2_free_try_read(tp, dp, args->owner, fo, &bp);
fs/xfs/libxfs/xfs_dir2_node.c
2310
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
2311
return error;
fs/xfs/libxfs/xfs_dir2_node.c
2331
error = xfs_dir2_shrink_inode(args,
fs/xfs/libxfs/xfs_dir2_node.c
2333
if (error) {
fs/xfs/libxfs/xfs_dir2_node.c
2339
ASSERT(error != -ENOSPC);
fs/xfs/libxfs/xfs_dir2_node.c
2341
return error;
fs/xfs/libxfs/xfs_dir2_node.c
332
int error;
fs/xfs/libxfs/xfs_dir2_node.c
335
error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(args->geo, fbno),
fs/xfs/libxfs/xfs_dir2_node.c
337
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
338
return error;
fs/xfs/libxfs/xfs_dir2_node.c
416
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_node.c
435
if ((error = xfs_dir2_grow_inode(args, XFS_DIR2_FREE_SPACE, &fdb))) {
fs/xfs/libxfs/xfs_dir2_node.c
436
return error;
fs/xfs/libxfs/xfs_dir2_node.c
442
error = xfs_dir3_free_get_buf(args, fdb, &fbp);
fs/xfs/libxfs/xfs_dir2_node.c
443
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
444
return error;
fs/xfs/libxfs/xfs_dir2_node.c
643
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_node.c
724
error = xfs_dir2_free_read(tp, dp, args->owner,
fs/xfs/libxfs/xfs_dir2_node.c
728
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
729
return error;
fs/xfs/libxfs/xfs_dir2_node.c
797
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_node.c
870
error = xfs_dir3_data_read(tp, dp, args->owner,
fs/xfs/libxfs/xfs_dir2_node.c
874
if (error)
fs/xfs/libxfs/xfs_dir2_node.c
875
return error;
fs/xfs/libxfs/xfs_dir2_sf.c
1040
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_sf.c
1046
error = xfs_dir2_sf_to_block(args);
fs/xfs/libxfs/xfs_dir2_sf.c
1047
if (error)
fs/xfs/libxfs/xfs_dir2_sf.c
1048
return error;
fs/xfs/libxfs/xfs_dir2_sf.c
265
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_sf.c
332
error = xfs_dir2_shrink_inode(args, args->geo->datablk, bp);
fs/xfs/libxfs/xfs_dir2_sf.c
333
if (error) {
fs/xfs/libxfs/xfs_dir2_sf.c
334
ASSERT(error != -ENOSPC);
fs/xfs/libxfs/xfs_dir2_sf.c
354
return error;
fs/xfs/libxfs/xfs_dir2_sf.c
369
int error; /* error return value */
fs/xfs/libxfs/xfs_dir2_sf.c
418
error = xfs_dir2_sf_to_block(args);
fs/xfs/libxfs/xfs_dir2_sf.c
419
if (error)
fs/xfs/libxfs/xfs_dir2_sf.c
420
return error;
fs/xfs/libxfs/xfs_dir2_sf.c
710
int error;
fs/xfs/libxfs/xfs_dir2_sf.c
725
error = xfs_dir_ino_validate(mp, ino);
fs/xfs/libxfs/xfs_dir2_sf.c
726
if (error)
fs/xfs/libxfs/xfs_dir2_sf.c
761
error = xfs_dir_ino_validate(mp, ino);
fs/xfs/libxfs/xfs_dir2_sf.c
762
if (error)
fs/xfs/libxfs/xfs_dquot_buf.c
365
int error;
fs/xfs/libxfs/xfs_dquot_buf.c
389
error = xfs_trans_metafile_iget(tp, ino, metafile_type, &ip);
fs/xfs/libxfs/xfs_dquot_buf.c
391
error = xfs_metadir_load(tp, dp, xfs_dqinode_path(type),
fs/xfs/libxfs/xfs_dquot_buf.c
393
if (error == -ENOENT)
fs/xfs/libxfs/xfs_dquot_buf.c
394
return error;
fs/xfs/libxfs/xfs_dquot_buf.c
396
if (error) {
fs/xfs/libxfs/xfs_dquot_buf.c
397
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_dquot_buf.c
399
return error;
fs/xfs/libxfs/xfs_dquot_buf.c
431
int error;
fs/xfs/libxfs/xfs_dquot_buf.c
433
error = xfs_metadir_start_create(&upd);
fs/xfs/libxfs/xfs_dquot_buf.c
434
if (error)
fs/xfs/libxfs/xfs_dquot_buf.c
435
return error;
fs/xfs/libxfs/xfs_dquot_buf.c
437
error = xfs_metadir_create(&upd, S_IFREG);
fs/xfs/libxfs/xfs_dquot_buf.c
438
if (error)
fs/xfs/libxfs/xfs_dquot_buf.c
439
return error;
fs/xfs/libxfs/xfs_dquot_buf.c
443
error = xfs_metadir_commit(&upd);
fs/xfs/libxfs/xfs_dquot_buf.c
444
if (error)
fs/xfs/libxfs/xfs_dquot_buf.c
445
return error;
fs/xfs/libxfs/xfs_dquot_buf.c
466
int error;
fs/xfs/libxfs/xfs_dquot_buf.c
468
error = xfs_metadir_start_link(&upd);
fs/xfs/libxfs/xfs_dquot_buf.c
469
if (error)
fs/xfs/libxfs/xfs_dquot_buf.c
470
return error;
fs/xfs/libxfs/xfs_dquot_buf.c
472
error = xfs_metadir_link(&upd);
fs/xfs/libxfs/xfs_dquot_buf.c
473
if (error)
fs/xfs/libxfs/xfs_dquot_buf.c
474
return error;
fs/xfs/libxfs/xfs_exchmaps.c
1042
int error;
fs/xfs/libxfs/xfs_exchmaps.c
1065
error = xfs_exchmaps_find_mappings(xmi, &irec1, &irec2, &adj);
fs/xfs/libxfs/xfs_exchmaps.c
1066
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
1079
error = xmi_next(req->ip1, bmap_flags, &irec1, &adj.right1);
fs/xfs/libxfs/xfs_exchmaps.c
1080
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
1083
error = xmi_next(req->ip2, bmap_flags, &irec2, &adj.right2);
fs/xfs/libxfs/xfs_exchmaps.c
1084
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
1124
error = xmi_ensure_delta_nextents(req, req->ip1,
fs/xfs/libxfs/xfs_exchmaps.c
1127
error = xmi_ensure_delta_nextents(req, req->ip1, d_nexts1);
fs/xfs/libxfs/xfs_exchmaps.c
1128
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
1130
error = xmi_ensure_delta_nextents(req, req->ip2, d_nexts2);
fs/xfs/libxfs/xfs_exchmaps.c
1132
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
1136
error = xfs_exchmaps_estimate_overhead(req);
fs/xfs/libxfs/xfs_exchmaps.c
1139
return error;
fs/xfs/libxfs/xfs_exchmaps.c
288
int error;
fs/xfs/libxfs/xfs_exchmaps.c
295
error = xfs_bmapi_read(xmi->xmi_ip1, xmi->xmi_startoff1,
fs/xfs/libxfs/xfs_exchmaps.c
298
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
299
return error;
fs/xfs/libxfs/xfs_exchmaps.c
320
error = xfs_bmapi_read(xmi->xmi_ip2, xmi->xmi_startoff2,
fs/xfs/libxfs/xfs_exchmaps.c
323
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
324
return error;
fs/xfs/libxfs/xfs_exchmaps.c
436
int error;
fs/xfs/libxfs/xfs_exchmaps.c
441
error = xfs_attr3_leaf_read(tp, xmi->xmi_ip2, xmi->xmi_ip2->i_ino, 0,
fs/xfs/libxfs/xfs_exchmaps.c
443
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
444
return error;
fs/xfs/libxfs/xfs_exchmaps.c
469
int error = 0;
fs/xfs/libxfs/xfs_exchmaps.c
471
if (xfs_dir2_format(&args, &error) != XFS_DIR2_FMT_BLOCK)
fs/xfs/libxfs/xfs_exchmaps.c
472
return error;
fs/xfs/libxfs/xfs_exchmaps.c
474
error = xfs_dir3_block_read(tp, xmi->xmi_ip2, xmi->xmi_ip2->i_ino, &bp);
fs/xfs/libxfs/xfs_exchmaps.c
475
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
476
return error;
fs/xfs/libxfs/xfs_exchmaps.c
494
int error;
fs/xfs/libxfs/xfs_exchmaps.c
508
error = xfs_symlink_remote_read(ip, buf);
fs/xfs/libxfs/xfs_exchmaps.c
509
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
513
error = xfs_symlink_remote_truncate(tp, ip);
fs/xfs/libxfs/xfs_exchmaps.c
514
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
525
return error;
fs/xfs/libxfs/xfs_exchmaps.c
547
int error = 0;
fs/xfs/libxfs/xfs_exchmaps.c
550
error = xfs_exchmaps_attr_to_sf(tp, xmi);
fs/xfs/libxfs/xfs_exchmaps.c
552
error = xfs_exchmaps_dir_to_sf(tp, xmi);
fs/xfs/libxfs/xfs_exchmaps.c
554
error = xfs_exchmaps_link_to_sf(tp, xmi);
fs/xfs/libxfs/xfs_exchmaps.c
556
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
557
return error;
fs/xfs/libxfs/xfs_exchmaps.c
580
int error;
fs/xfs/libxfs/xfs_exchmaps.c
588
error = xfs_exchmaps_find_mappings(xmi, &irec1, &irec2, NULL);
fs/xfs/libxfs/xfs_exchmaps.c
589
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
590
return error;
fs/xfs/libxfs/xfs_exchmaps.c
614
error = xfs_exchmaps_do_postop_work(tp, xmi);
fs/xfs/libxfs/xfs_exchmaps.c
615
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
616
return error;
fs/xfs/libxfs/xfs_exchmaps.c
913
int error;
fs/xfs/libxfs/xfs_exchmaps.c
917
error = xfs_bmapi_read(ip, off, blockcount, nrec, &nimaps, bmap_flags);
fs/xfs/libxfs/xfs_exchmaps.c
918
if (error)
fs/xfs/libxfs/xfs_exchmaps.c
919
return error;
fs/xfs/libxfs/xfs_fs.h
1102
__u32 error;
fs/xfs/libxfs/xfs_group.c
187
int error;
fs/xfs/libxfs/xfs_group.c
207
error = xa_insert(&mp->m_groups[type].xa, index, xg, GFP_KERNEL);
fs/xfs/libxfs/xfs_group.c
208
if (error) {
fs/xfs/libxfs/xfs_group.c
209
WARN_ON_ONCE(error == -EBUSY);
fs/xfs/libxfs/xfs_group.c
220
return error;
fs/xfs/libxfs/xfs_health.h
289
#define xfs_metadata_is_sick(error) \
fs/xfs/libxfs/xfs_health.h
290
(unlikely((error) == -EFSCORRUPTED || (error) == -EFSBADCRC))
fs/xfs/libxfs/xfs_ialloc.c
1000
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1001
return error;
fs/xfs/libxfs/xfs_ialloc.c
1018
int error;
fs/xfs/libxfs/xfs_ialloc.c
1021
error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_EQ, &i);
fs/xfs/libxfs/xfs_ialloc.c
1022
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1023
return error;
fs/xfs/libxfs/xfs_ialloc.c
1026
error = xfs_inobt_get_rec(cur, rec, &i);
fs/xfs/libxfs/xfs_ialloc.c
1027
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1028
return error;
fs/xfs/libxfs/xfs_ialloc.c
1072
int error;
fs/xfs/libxfs/xfs_ialloc.c
1074
error = xfs_imap(pag, tp, ino, &imap, 0);
fs/xfs/libxfs/xfs_ialloc.c
1075
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1078
error = xfs_imap_to_bp(pag_mount(pag), tp, &imap, &bp);
fs/xfs/libxfs/xfs_ialloc.c
1079
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1104
int error;
fs/xfs/libxfs/xfs_ialloc.c
1122
error = xfs_check_agi_freecount(cur);
fs/xfs/libxfs/xfs_ialloc.c
1123
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1133
error = xfs_inobt_lookup(cur, pagino, XFS_LOOKUP_LE, &i);
fs/xfs/libxfs/xfs_ialloc.c
1134
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1138
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
1142
error = xfs_inobt_get_rec(cur, &rec, &j);
fs/xfs/libxfs/xfs_ialloc.c
1143
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1147
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
1165
error = xfs_btree_dup_cursor(cur, &tcur);
fs/xfs/libxfs/xfs_ialloc.c
1166
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1176
error = xfs_ialloc_get_rec(tcur, pag->pagl_leftrec,
fs/xfs/libxfs/xfs_ialloc.c
1178
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1181
error = xfs_ialloc_get_rec(cur, pag->pagl_rightrec,
fs/xfs/libxfs/xfs_ialloc.c
1183
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1187
error = xfs_ialloc_next_rec(tcur, &trec, &doneleft, 1);
fs/xfs/libxfs/xfs_ialloc.c
1188
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1192
error = xfs_ialloc_next_rec(cur, &rec, &doneright, 0);
fs/xfs/libxfs/xfs_ialloc.c
1193
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1236
error = xfs_ialloc_next_rec(tcur, &trec,
fs/xfs/libxfs/xfs_ialloc.c
1239
error = xfs_ialloc_next_rec(cur, &rec,
fs/xfs/libxfs/xfs_ialloc.c
1242
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1278
error = xfs_inobt_lookup(cur, be32_to_cpu(agi->agi_newino),
fs/xfs/libxfs/xfs_ialloc.c
1280
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1284
error = xfs_inobt_get_rec(cur, &rec, &j);
fs/xfs/libxfs/xfs_ialloc.c
1285
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1301
error = xfs_inobt_lookup(cur, 0, XFS_LOOKUP_GE, &i);
fs/xfs/libxfs/xfs_ialloc.c
1302
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1306
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
1311
error = xfs_inobt_get_rec(cur, &rec, &i);
fs/xfs/libxfs/xfs_ialloc.c
1312
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1316
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
1321
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_ialloc.c
1322
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1326
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
1340
error = xfs_dialloc_check_ino(pag, tp, ino);
fs/xfs/libxfs/xfs_ialloc.c
1341
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1347
error = xfs_inobt_update(cur, &rec);
fs/xfs/libxfs/xfs_ialloc.c
1348
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1354
error = xfs_check_agi_freecount(cur);
fs/xfs/libxfs/xfs_ialloc.c
1355
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1366
return error;
fs/xfs/libxfs/xfs_ialloc.c
1382
int error;
fs/xfs/libxfs/xfs_ialloc.c
1385
error = xfs_inobt_lookup(lcur, pagino, XFS_LOOKUP_LE, &i);
fs/xfs/libxfs/xfs_ialloc.c
1386
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1387
return error;
fs/xfs/libxfs/xfs_ialloc.c
1390
error = xfs_inobt_get_rec(lcur, rec, &i);
fs/xfs/libxfs/xfs_ialloc.c
1391
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1392
return error;
fs/xfs/libxfs/xfs_ialloc.c
1408
error = xfs_btree_dup_cursor(lcur, &rcur);
fs/xfs/libxfs/xfs_ialloc.c
1409
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1410
return error;
fs/xfs/libxfs/xfs_ialloc.c
1412
error = xfs_inobt_lookup(rcur, pagino, XFS_LOOKUP_GE, &j);
fs/xfs/libxfs/xfs_ialloc.c
1413
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1416
error = xfs_inobt_get_rec(rcur, &rrec, &j);
fs/xfs/libxfs/xfs_ialloc.c
1417
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1421
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
1428
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
1458
return error;
fs/xfs/libxfs/xfs_ialloc.c
1471
int error;
fs/xfs/libxfs/xfs_ialloc.c
1475
error = xfs_inobt_lookup(cur, be32_to_cpu(agi->agi_newino),
fs/xfs/libxfs/xfs_ialloc.c
1477
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1478
return error;
fs/xfs/libxfs/xfs_ialloc.c
1480
error = xfs_inobt_get_rec(cur, rec, &i);
fs/xfs/libxfs/xfs_ialloc.c
1481
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1482
return error;
fs/xfs/libxfs/xfs_ialloc.c
1494
error = xfs_inobt_lookup(cur, 0, XFS_LOOKUP_GE, &i);
fs/xfs/libxfs/xfs_ialloc.c
1495
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1496
return error;
fs/xfs/libxfs/xfs_ialloc.c
1502
error = xfs_inobt_get_rec(cur, rec, &i);
fs/xfs/libxfs/xfs_ialloc.c
1503
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1504
return error;
fs/xfs/libxfs/xfs_ialloc.c
1524
int error;
fs/xfs/libxfs/xfs_ialloc.c
1527
error = xfs_inobt_lookup(cur, frec->ir_startino, XFS_LOOKUP_EQ, &i);
fs/xfs/libxfs/xfs_ialloc.c
1528
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1529
return error;
fs/xfs/libxfs/xfs_ialloc.c
1535
error = xfs_inobt_get_rec(cur, &rec, &i);
fs/xfs/libxfs/xfs_ialloc.c
1536
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1537
return error;
fs/xfs/libxfs/xfs_ialloc.c
1581
int error;
fs/xfs/libxfs/xfs_ialloc.c
1597
error = xfs_check_agi_freecount(cur);
fs/xfs/libxfs/xfs_ialloc.c
1598
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1607
error = xfs_dialloc_ag_finobt_near(pagino, &cur, &rec);
fs/xfs/libxfs/xfs_ialloc.c
1609
error = xfs_dialloc_ag_finobt_newino(agi, cur, &rec);
fs/xfs/libxfs/xfs_ialloc.c
1610
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1621
error = xfs_dialloc_check_ino(pag, tp, ino);
fs/xfs/libxfs/xfs_ialloc.c
1622
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1632
error = xfs_inobt_update(cur, &rec);
fs/xfs/libxfs/xfs_ialloc.c
1634
error = xfs_btree_delete(cur, &i);
fs/xfs/libxfs/xfs_ialloc.c
1635
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1646
error = xfs_check_agi_freecount(icur);
fs/xfs/libxfs/xfs_ialloc.c
1647
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1650
error = xfs_dialloc_ag_update_inobt(icur, &rec, offset);
fs/xfs/libxfs/xfs_ialloc.c
1651
if (error)
fs/xfs/libxfs/xfs_ialloc.c
166
int error;
fs/xfs/libxfs/xfs_ialloc.c
1664
error = xfs_check_agi_freecount(icur);
fs/xfs/libxfs/xfs_ialloc.c
1665
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1667
error = xfs_check_agi_freecount(cur);
fs/xfs/libxfs/xfs_ialloc.c
1668
if (error)
fs/xfs/libxfs/xfs_ialloc.c
168
error = xfs_btree_get_rec(cur, &rec, stat);
fs/xfs/libxfs/xfs_ialloc.c
1680
return error;
fs/xfs/libxfs/xfs_ialloc.c
169
if (error || *stat == 0)
fs/xfs/libxfs/xfs_ialloc.c
1690
int error;
fs/xfs/libxfs/xfs_ialloc.c
170
return error;
fs/xfs/libxfs/xfs_ialloc.c
1706
error = xfs_trans_roll(&tp);
fs/xfs/libxfs/xfs_ialloc.c
1718
return error;
fs/xfs/libxfs/xfs_ialloc.c
1733
int error;
fs/xfs/libxfs/xfs_ialloc.c
1741
error = xfs_ialloc_read_agi(pag, tp, 0, NULL);
fs/xfs/libxfs/xfs_ialloc.c
1742
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1752
error = xfs_alloc_read_agf(pag, tp, flags, NULL);
fs/xfs/libxfs/xfs_ialloc.c
1753
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1804
int error;
fs/xfs/libxfs/xfs_ialloc.c
1810
error = xfs_ialloc_read_agi(pag, *tpp, 0, &agbp);
fs/xfs/libxfs/xfs_ialloc.c
1811
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1812
return error;
fs/xfs/libxfs/xfs_ialloc.c
1816
error = -EAGAIN;
fs/xfs/libxfs/xfs_ialloc.c
1820
error = xfs_ialloc_ag_alloc(pag, *tpp, agbp);
fs/xfs/libxfs/xfs_ialloc.c
1821
if (error < 0)
fs/xfs/libxfs/xfs_ialloc.c
1830
error = xfs_dialloc_roll(tpp, agbp);
fs/xfs/libxfs/xfs_ialloc.c
1831
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1836
error = xfs_dialloc_ag(pag, *tpp, agbp, parent, &ino);
fs/xfs/libxfs/xfs_ialloc.c
1837
if (!error)
fs/xfs/libxfs/xfs_ialloc.c
1839
return error;
fs/xfs/libxfs/xfs_ialloc.c
1843
return error;
fs/xfs/libxfs/xfs_ialloc.c
1905
int error = 0;
fs/xfs/libxfs/xfs_ialloc.c
1946
error = xfs_dialloc_try_ag(pag, tpp, parent,
fs/xfs/libxfs/xfs_ialloc.c
1948
if (error != -EAGAIN)
fs/xfs/libxfs/xfs_ialloc.c
1950
error = 0;
fs/xfs/libxfs/xfs_ialloc.c
1954
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
1960
if (error)
fs/xfs/libxfs/xfs_ialloc.c
1961
return error;
fs/xfs/libxfs/xfs_ialloc.c
2031
int error;
fs/xfs/libxfs/xfs_ialloc.c
2058
error = xfs_free_extent_later(tp, xfs_agbno_to_fsb(pag, agbno),
fs/xfs/libxfs/xfs_ialloc.c
2061
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2062
return error;
fs/xfs/libxfs/xfs_ialloc.c
2087
int error;
fs/xfs/libxfs/xfs_ialloc.c
2099
error = xfs_check_agi_freecount(cur);
fs/xfs/libxfs/xfs_ialloc.c
2100
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2106
if ((error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &i))) {
fs/xfs/libxfs/xfs_ialloc.c
2108
__func__, error);
fs/xfs/libxfs/xfs_ialloc.c
2113
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
2116
error = xfs_inobt_get_rec(cur, &rec, &i);
fs/xfs/libxfs/xfs_ialloc.c
2117
if (error) {
fs/xfs/libxfs/xfs_ialloc.c
2119
__func__, error);
fs/xfs/libxfs/xfs_ialloc.c
2124
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
214
int error;
fs/xfs/libxfs/xfs_ialloc.c
2164
if ((error = xfs_btree_delete(cur, &i))) {
fs/xfs/libxfs/xfs_ialloc.c
2166
__func__, error);
fs/xfs/libxfs/xfs_ialloc.c
2170
error = xfs_difree_inode_chunk(tp, pag, &rec);
fs/xfs/libxfs/xfs_ialloc.c
2171
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2176
error = xfs_inobt_update(cur, &rec);
fs/xfs/libxfs/xfs_ialloc.c
2177
if (error) {
fs/xfs/libxfs/xfs_ialloc.c
2179
__func__, error);
fs/xfs/libxfs/xfs_ialloc.c
2192
error = xfs_check_agi_freecount(cur);
fs/xfs/libxfs/xfs_ialloc.c
2193
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2202
return error;
fs/xfs/libxfs/xfs_ialloc.c
2220
int error;
fs/xfs/libxfs/xfs_ialloc.c
2225
error = xfs_inobt_lookup(cur, ibtrec->ir_startino, XFS_LOOKUP_EQ, &i);
fs/xfs/libxfs/xfs_ialloc.c
2226
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2227
goto error;
fs/xfs/libxfs/xfs_ialloc.c
2236
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
2237
goto error;
fs/xfs/libxfs/xfs_ialloc.c
224
error = xfs_inobt_lookup(cur, thisino, XFS_LOOKUP_EQ, &i);
fs/xfs/libxfs/xfs_ialloc.c
2240
error = xfs_inobt_insert_rec(cur, ibtrec->ir_holemask,
fs/xfs/libxfs/xfs_ialloc.c
2244
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2245
goto error;
fs/xfs/libxfs/xfs_ialloc.c
225
if (error) {
fs/xfs/libxfs/xfs_ialloc.c
2258
error = xfs_inobt_get_rec(cur, &rec, &i);
fs/xfs/libxfs/xfs_ialloc.c
2259
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2260
goto error;
fs/xfs/libxfs/xfs_ialloc.c
2263
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
2264
goto error;
fs/xfs/libxfs/xfs_ialloc.c
227
return error;
fs/xfs/libxfs/xfs_ialloc.c
2274
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
2275
goto error;
fs/xfs/libxfs/xfs_ialloc.c
2292
error = xfs_btree_delete(cur, &i);
fs/xfs/libxfs/xfs_ialloc.c
2293
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2294
goto error;
fs/xfs/libxfs/xfs_ialloc.c
2297
error = xfs_inobt_update(cur, &rec);
fs/xfs/libxfs/xfs_ialloc.c
2298
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2299
goto error;
fs/xfs/libxfs/xfs_ialloc.c
2303
error = xfs_check_agi_freecount(cur);
fs/xfs/libxfs/xfs_ialloc.c
2304
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2305
goto error;
fs/xfs/libxfs/xfs_ialloc.c
231
error = xfs_inobt_insert_rec(cur, XFS_INOBT_HOLEMASK_FULL,
fs/xfs/libxfs/xfs_ialloc.c
2310
error:
fs/xfs/libxfs/xfs_ialloc.c
2312
return error;
fs/xfs/libxfs/xfs_ialloc.c
2332
int error; /* error return value */
fs/xfs/libxfs/xfs_ialloc.c
235
if (error) {
fs/xfs/libxfs/xfs_ialloc.c
2363
error = xfs_ialloc_read_agi(pag, tp, 0, &agbp);
fs/xfs/libxfs/xfs_ialloc.c
2364
if (error) {
fs/xfs/libxfs/xfs_ialloc.c
2366
__func__, error);
fs/xfs/libxfs/xfs_ialloc.c
2367
return error;
fs/xfs/libxfs/xfs_ialloc.c
237
return error;
fs/xfs/libxfs/xfs_ialloc.c
2373
error = xfs_difree_inobt(pag, tp, agbp, agino, xic, &rec);
fs/xfs/libxfs/xfs_ialloc.c
2374
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2381
error = xfs_difree_finobt(pag, tp, agbp, agino, &rec);
fs/xfs/libxfs/xfs_ialloc.c
2382
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2389
return error;
fs/xfs/libxfs/xfs_ialloc.c
2406
int error;
fs/xfs/libxfs/xfs_ialloc.c
2409
error = xfs_ialloc_read_agi(pag, tp, 0, &agbp);
fs/xfs/libxfs/xfs_ialloc.c
2410
if (error) {
fs/xfs/libxfs/xfs_ialloc.c
2413
__func__, error, pag_agno(pag));
fs/xfs/libxfs/xfs_ialloc.c
2414
return error;
fs/xfs/libxfs/xfs_ialloc.c
2424
error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &i);
fs/xfs/libxfs/xfs_ialloc.c
2425
if (!error) {
fs/xfs/libxfs/xfs_ialloc.c
2427
error = xfs_inobt_get_rec(cur, &rec, &i);
fs/xfs/libxfs/xfs_ialloc.c
2428
if (!error && i == 0)
fs/xfs/libxfs/xfs_ialloc.c
2429
error = -EINVAL;
fs/xfs/libxfs/xfs_ialloc.c
2433
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_ialloc.c
2434
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2435
return error;
fs/xfs/libxfs/xfs_ialloc.c
2468
int error; /* error code */
fs/xfs/libxfs/xfs_ialloc.c
2481
error = -EINVAL;
fs/xfs/libxfs/xfs_ialloc.c
2488
return error;
fs/xfs/libxfs/xfs_ialloc.c
2504
return error;
fs/xfs/libxfs/xfs_ialloc.c
2515
error = xfs_imap_lookup(pag, tp, agino, agbno,
fs/xfs/libxfs/xfs_ialloc.c
2517
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2518
return error;
fs/xfs/libxfs/xfs_ialloc.c
2546
error = xfs_imap_lookup(pag, tp, agino, agbno,
fs/xfs/libxfs/xfs_ialloc.c
2548
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2549
return error;
fs/xfs/libxfs/xfs_ialloc.c
258
int error;
fs/xfs/libxfs/xfs_ialloc.c
261
error = xfs_inobt_lookup(cur, 0, XFS_LOOKUP_GE, &i);
fs/xfs/libxfs/xfs_ialloc.c
262
if (error)
fs/xfs/libxfs/xfs_ialloc.c
263
return error;
fs/xfs/libxfs/xfs_ialloc.c
266
error = xfs_inobt_get_rec(cur, &rec, &i);
fs/xfs/libxfs/xfs_ialloc.c
267
if (error)
fs/xfs/libxfs/xfs_ialloc.c
268
return error;
fs/xfs/libxfs/xfs_ialloc.c
272
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_ialloc.c
273
if (error)
fs/xfs/libxfs/xfs_ialloc.c
274
return error;
fs/xfs/libxfs/xfs_ialloc.c
2757
int error;
fs/xfs/libxfs/xfs_ialloc.c
2761
error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp,
fs/xfs/libxfs/xfs_ialloc.c
2764
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_ialloc.c
2766
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2767
return error;
fs/xfs/libxfs/xfs_ialloc.c
2788
int error;
fs/xfs/libxfs/xfs_ialloc.c
2792
error = xfs_read_agi(pag, tp,
fs/xfs/libxfs/xfs_ialloc.c
2795
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2796
return error;
fs/xfs/libxfs/xfs_ialloc.c
2852
int error;
fs/xfs/libxfs/xfs_ialloc.c
2854
error = xfs_inobt_lookup(cur, low, XFS_LOOKUP_LE, &has_record);
fs/xfs/libxfs/xfs_ialloc.c
2855
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2856
return error;
fs/xfs/libxfs/xfs_ialloc.c
2861
error = xfs_inobt_get_rec(cur, &irec, &has_record);
fs/xfs/libxfs/xfs_ialloc.c
2862
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2863
return error;
fs/xfs/libxfs/xfs_ialloc.c
2878
error = xfs_btree_increment(cur, 0, &has_record);
fs/xfs/libxfs/xfs_ialloc.c
2879
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2880
return error;
fs/xfs/libxfs/xfs_ialloc.c
2898
int error;
fs/xfs/libxfs/xfs_ialloc.c
2903
error = xfs_ialloc_count_ondisk(cur, agino, last_agino, &allocated);
fs/xfs/libxfs/xfs_ialloc.c
2904
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2905
return error;
fs/xfs/libxfs/xfs_ialloc.c
2951
int error;
fs/xfs/libxfs/xfs_ialloc.c
2954
error = xfs_btree_query_all(cur, xfs_ialloc_count_inodes_rec, &ci);
fs/xfs/libxfs/xfs_ialloc.c
2955
if (error)
fs/xfs/libxfs/xfs_ialloc.c
2956
return error;
fs/xfs/libxfs/xfs_ialloc.c
313
int error;
fs/xfs/libxfs/xfs_ialloc.c
3170
int error;
fs/xfs/libxfs/xfs_ialloc.c
3179
error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &has);
fs/xfs/libxfs/xfs_ialloc.c
3180
if (error || !has)
fs/xfs/libxfs/xfs_ialloc.c
3183
error = xfs_inobt_get_rec(cur, &rec, &has);
fs/xfs/libxfs/xfs_ialloc.c
3184
if (error)
fs/xfs/libxfs/xfs_ialloc.c
3189
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
3195
error = -ENOSPC;
fs/xfs/libxfs/xfs_ialloc.c
3199
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_ialloc.c
3200
return error;
fs/xfs/libxfs/xfs_ialloc.c
365
error = xfs_trans_get_buf(tp, mp->m_ddev_targp, d,
fs/xfs/libxfs/xfs_ialloc.c
368
if (error)
fs/xfs/libxfs/xfs_ialloc.c
369
return error;
fs/xfs/libxfs/xfs_ialloc.c
558
int error;
fs/xfs/libxfs/xfs_ialloc.c
565
error = xfs_inobt_lookup(cur, nrec->ir_startino, XFS_LOOKUP_EQ, &i);
fs/xfs/libxfs/xfs_ialloc.c
566
if (error)
fs/xfs/libxfs/xfs_ialloc.c
567
goto error;
fs/xfs/libxfs/xfs_ialloc.c
570
error = xfs_inobt_insert_rec(cur, nrec->ir_holemask,
fs/xfs/libxfs/xfs_ialloc.c
573
if (error)
fs/xfs/libxfs/xfs_ialloc.c
574
goto error;
fs/xfs/libxfs/xfs_ialloc.c
577
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
578
goto error;
fs/xfs/libxfs/xfs_ialloc.c
587
error = xfs_inobt_get_rec(cur, &rec, &i);
fs/xfs/libxfs/xfs_ialloc.c
588
if (error)
fs/xfs/libxfs/xfs_ialloc.c
589
goto error;
fs/xfs/libxfs/xfs_ialloc.c
592
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
593
goto error;
fs/xfs/libxfs/xfs_ialloc.c
597
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
598
goto error;
fs/xfs/libxfs/xfs_ialloc.c
607
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
608
goto error;
fs/xfs/libxfs/xfs_ialloc.c
618
error = xfs_inobt_rec_check_count(mp, nrec);
fs/xfs/libxfs/xfs_ialloc.c
619
if (error)
fs/xfs/libxfs/xfs_ialloc.c
620
goto error;
fs/xfs/libxfs/xfs_ialloc.c
622
error = xfs_inobt_update(cur, nrec);
fs/xfs/libxfs/xfs_ialloc.c
623
if (error)
fs/xfs/libxfs/xfs_ialloc.c
624
goto error;
fs/xfs/libxfs/xfs_ialloc.c
629
error:
fs/xfs/libxfs/xfs_ialloc.c
631
return error;
fs/xfs/libxfs/xfs_ialloc.c
652
int error;
fs/xfs/libxfs/xfs_ialloc.c
658
error = xfs_inobt_lookup(cur, nrec->ir_startino, XFS_LOOKUP_EQ, &i);
fs/xfs/libxfs/xfs_ialloc.c
659
if (error)
fs/xfs/libxfs/xfs_ialloc.c
660
goto error;
fs/xfs/libxfs/xfs_ialloc.c
663
error = xfs_inobt_insert_rec(cur, nrec->ir_holemask,
fs/xfs/libxfs/xfs_ialloc.c
666
if (error)
fs/xfs/libxfs/xfs_ialloc.c
667
goto error;
fs/xfs/libxfs/xfs_ialloc.c
670
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_ialloc.c
671
goto error;
fs/xfs/libxfs/xfs_ialloc.c
674
error = xfs_inobt_update(cur, nrec);
fs/xfs/libxfs/xfs_ialloc.c
675
if (error)
fs/xfs/libxfs/xfs_ialloc.c
676
goto error;
fs/xfs/libxfs/xfs_ialloc.c
681
error:
fs/xfs/libxfs/xfs_ialloc.c
683
return error;
fs/xfs/libxfs/xfs_ialloc.c
701
int error;
fs/xfs/libxfs/xfs_ialloc.c
769
error = xfs_alloc_vextent_exact_bno(&args,
fs/xfs/libxfs/xfs_ialloc.c
771
if (error)
fs/xfs/libxfs/xfs_ialloc.c
772
return error;
fs/xfs/libxfs/xfs_ialloc.c
811
error = xfs_alloc_vextent_near_bno(&args,
fs/xfs/libxfs/xfs_ialloc.c
814
if (error)
fs/xfs/libxfs/xfs_ialloc.c
815
return error;
fs/xfs/libxfs/xfs_ialloc.c
824
error = xfs_alloc_vextent_near_bno(&args,
fs/xfs/libxfs/xfs_ialloc.c
827
if (error)
fs/xfs/libxfs/xfs_ialloc.c
828
return error;
fs/xfs/libxfs/xfs_ialloc.c
862
error = xfs_alloc_vextent_near_bno(&args,
fs/xfs/libxfs/xfs_ialloc.c
865
if (error)
fs/xfs/libxfs/xfs_ialloc.c
866
return error;
fs/xfs/libxfs/xfs_ialloc.c
887
error = xfs_ialloc_inode_init(args.mp, tp, NULL, newlen, pag_agno(pag),
fs/xfs/libxfs/xfs_ialloc.c
890
if (error)
fs/xfs/libxfs/xfs_ialloc.c
891
return error;
fs/xfs/libxfs/xfs_ialloc.c
914
error = xfs_inobt_insert_sprec(pag, tp, agbp, &rec);
fs/xfs/libxfs/xfs_ialloc.c
915
if (error == -EFSCORRUPTED) {
fs/xfs/libxfs/xfs_ialloc.c
922
if (error)
fs/xfs/libxfs/xfs_ialloc.c
923
return error;
fs/xfs/libxfs/xfs_ialloc.c
937
error = xfs_finobt_insert_sprec(pag, tp, agbp, &rec);
fs/xfs/libxfs/xfs_ialloc.c
938
if (error)
fs/xfs/libxfs/xfs_ialloc.c
939
return error;
fs/xfs/libxfs/xfs_ialloc.c
943
error = xfs_inobt_insert(pag, tp, agbp, newino, newlen, false);
fs/xfs/libxfs/xfs_ialloc.c
944
if (error)
fs/xfs/libxfs/xfs_ialloc.c
945
return error;
fs/xfs/libxfs/xfs_ialloc.c
948
error = xfs_inobt_insert(pag, tp, agbp, newino,
fs/xfs/libxfs/xfs_ialloc.c
950
if (error)
fs/xfs/libxfs/xfs_ialloc.c
951
return error;
fs/xfs/libxfs/xfs_ialloc.c
987
int error;
fs/xfs/libxfs/xfs_ialloc.c
991
error = xfs_btree_decrement(cur, 0, &i);
fs/xfs/libxfs/xfs_ialloc.c
993
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_ialloc.c
995
if (error)
fs/xfs/libxfs/xfs_ialloc.c
996
return error;
fs/xfs/libxfs/xfs_ialloc.c
999
error = xfs_inobt_get_rec(cur, rec, &i);
fs/xfs/libxfs/xfs_ialloc_btree.c
109
int error; /* error return value */
fs/xfs/libxfs/xfs_ialloc_btree.c
122
error = xfs_alloc_vextent_near_bno(&args,
fs/xfs/libxfs/xfs_ialloc_btree.c
124
if (error)
fs/xfs/libxfs/xfs_ialloc_btree.c
125
return error;
fs/xfs/libxfs/xfs_ialloc_btree.c
748
int error;
fs/xfs/libxfs/xfs_ialloc_btree.c
750
error = xfs_ialloc_read_agi(pag, tp, 0, &agbp);
fs/xfs/libxfs/xfs_ialloc_btree.c
751
if (error)
fs/xfs/libxfs/xfs_ialloc_btree.c
752
return error;
fs/xfs/libxfs/xfs_ialloc_btree.c
755
error = xfs_btree_count_blocks(cur, &blocks);
fs/xfs/libxfs/xfs_ialloc_btree.c
756
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_ialloc_btree.c
760
return error;
fs/xfs/libxfs/xfs_ialloc_btree.c
772
int error;
fs/xfs/libxfs/xfs_ialloc_btree.c
774
error = xfs_ialloc_read_agi(pag, tp, 0, &agbp);
fs/xfs/libxfs/xfs_ialloc_btree.c
775
if (error)
fs/xfs/libxfs/xfs_ialloc_btree.c
776
return error;
fs/xfs/libxfs/xfs_ialloc_btree.c
795
int error;
fs/xfs/libxfs/xfs_ialloc_btree.c
801
error = xfs_finobt_read_blocks(pag, tp, &tree_len);
fs/xfs/libxfs/xfs_ialloc_btree.c
803
error = xfs_finobt_count_blocks(pag, tp, &tree_len);
fs/xfs/libxfs/xfs_ialloc_btree.c
804
if (error)
fs/xfs/libxfs/xfs_ialloc_btree.c
805
return error;
fs/xfs/libxfs/xfs_inode_buf.c
137
int error;
fs/xfs/libxfs/xfs_inode_buf.c
139
error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, imap->im_blkno,
fs/xfs/libxfs/xfs_inode_buf.c
141
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_inode_buf.c
144
return error;
fs/xfs/libxfs/xfs_inode_buf.c
183
int error;
fs/xfs/libxfs/xfs_inode_buf.c
261
error = xfs_iformat_data_fork(ip, from);
fs/xfs/libxfs/xfs_inode_buf.c
262
if (error)
fs/xfs/libxfs/xfs_inode_buf.c
263
return error;
fs/xfs/libxfs/xfs_inode_buf.c
265
error = xfs_iformat_attr_fork(ip, from);
fs/xfs/libxfs/xfs_inode_buf.c
266
if (error)
fs/xfs/libxfs/xfs_inode_buf.c
279
return error;
fs/xfs/libxfs/xfs_inode_fork.c
236
int error;
fs/xfs/libxfs/xfs_inode_fork.c
263
error = xfs_iformat_local(ip, dip, XFS_DATA_FORK,
fs/xfs/libxfs/xfs_inode_fork.c
265
if (!error)
fs/xfs/libxfs/xfs_inode_fork.c
266
error = xfs_ifork_verify_local_data(ip);
fs/xfs/libxfs/xfs_inode_fork.c
267
return error;
fs/xfs/libxfs/xfs_inode_fork.c
340
int error = 0;
fs/xfs/libxfs/xfs_inode_fork.c
350
error = xfs_iformat_local(ip, dip, XFS_ATTR_FORK,
fs/xfs/libxfs/xfs_inode_fork.c
352
if (!error)
fs/xfs/libxfs/xfs_inode_fork.c
353
error = xfs_ifork_verify_local_attr(ip);
fs/xfs/libxfs/xfs_inode_fork.c
356
error = xfs_iformat_extents(ip, dip, XFS_ATTR_FORK);
fs/xfs/libxfs/xfs_inode_fork.c
359
error = xfs_iformat_btree(ip, dip, XFS_ATTR_FORK);
fs/xfs/libxfs/xfs_inode_fork.c
362
xfs_inode_verifier_error(ip, error, __func__, dip,
fs/xfs/libxfs/xfs_inode_fork.c
365
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_inode_fork.c
369
if (error)
fs/xfs/libxfs/xfs_inode_fork.c
371
return error;
fs/xfs/libxfs/xfs_inode_util.c
470
int error;
fs/xfs/libxfs/xfs_inode_util.c
489
error = xfs_iunlink_update_backref(pag, agino, next_agino);
fs/xfs/libxfs/xfs_inode_util.c
490
if (error == -ENOLINK)
fs/xfs/libxfs/xfs_inode_util.c
491
error = xfs_iunlink_reload_next(tp, agibp, agino, next_agino);
fs/xfs/libxfs/xfs_inode_util.c
492
if (error)
fs/xfs/libxfs/xfs_inode_util.c
493
return error;
fs/xfs/libxfs/xfs_inode_util.c
500
error = xfs_iunlink_log_inode(tp, ip, pag, next_agino);
fs/xfs/libxfs/xfs_inode_util.c
501
if (error)
fs/xfs/libxfs/xfs_inode_util.c
502
return error;
fs/xfs/libxfs/xfs_inode_util.c
526
int error;
fs/xfs/libxfs/xfs_inode_util.c
535
error = xfs_read_agi(pag, tp, 0, &agibp);
fs/xfs/libxfs/xfs_inode_util.c
536
if (error)
fs/xfs/libxfs/xfs_inode_util.c
539
error = xfs_iunlink_insert_inode(tp, pag, agibp, ip);
fs/xfs/libxfs/xfs_inode_util.c
542
return error;
fs/xfs/libxfs/xfs_inode_util.c
557
int error;
fs/xfs/libxfs/xfs_inode_util.c
578
error = xfs_iunlink_log_inode(tp, ip, pag, NULLAGINO);
fs/xfs/libxfs/xfs_inode_util.c
579
if (error)
fs/xfs/libxfs/xfs_inode_util.c
580
return error;
fs/xfs/libxfs/xfs_inode_util.c
586
error = xfs_iunlink_update_backref(pag, ip->i_prev_unlinked,
fs/xfs/libxfs/xfs_inode_util.c
588
if (error == -ENOLINK)
fs/xfs/libxfs/xfs_inode_util.c
589
error = xfs_iunlink_reload_next(tp, agibp, ip->i_prev_unlinked,
fs/xfs/libxfs/xfs_inode_util.c
591
if (error)
fs/xfs/libxfs/xfs_inode_util.c
592
return error;
fs/xfs/libxfs/xfs_inode_util.c
603
error = xfs_iunlink_log_inode(tp, prev_ip, pag,
fs/xfs/libxfs/xfs_inode_util.c
608
error = xfs_iunlink_update_bucket(tp, pag, agibp, bucket_index,
fs/xfs/libxfs/xfs_inode_util.c
614
return error;
fs/xfs/libxfs/xfs_inode_util.c
627
int error;
fs/xfs/libxfs/xfs_inode_util.c
632
error = xfs_read_agi(pag, tp, 0, &agibp);
fs/xfs/libxfs/xfs_inode_util.c
633
if (error)
fs/xfs/libxfs/xfs_inode_util.c
634
return error;
fs/xfs/libxfs/xfs_inode_util.c
701
int error;
fs/xfs/libxfs/xfs_inode_util.c
709
error = xfs_difree(tp, pag, ip->i_ino, xic);
fs/xfs/libxfs/xfs_inode_util.c
710
if (error)
fs/xfs/libxfs/xfs_inode_util.c
711
return error;
fs/xfs/libxfs/xfs_inode_util.c
713
error = xfs_iunlink_remove(tp, pag, ip);
fs/xfs/libxfs/xfs_inode_util.c
714
if (error)
fs/xfs/libxfs/xfs_inode_util.c
715
return error;
fs/xfs/libxfs/xfs_metadir.c
100
int error;
fs/xfs/libxfs/xfs_metadir.c
109
error = xfs_dir_lookup_args(&args);
fs/xfs/libxfs/xfs_metadir.c
110
if (error)
fs/xfs/libxfs/xfs_metadir.c
111
return error;
fs/xfs/libxfs/xfs_metadir.c
141
int error;
fs/xfs/libxfs/xfs_metadir.c
146
error = xfs_metadir_lookup(tp, dp, &xname, &ino);
fs/xfs/libxfs/xfs_metadir.c
148
if (error)
fs/xfs/libxfs/xfs_metadir.c
149
return error;
fs/xfs/libxfs/xfs_metadir.c
161
int error)
fs/xfs/libxfs/xfs_metadir.c
163
trace_xfs_metadir_teardown(upd, error);
fs/xfs/libxfs/xfs_metadir.c
190
int error;
fs/xfs/libxfs/xfs_metadir.c
197
error = xfs_parent_start(mp, &upd->ppargs);
fs/xfs/libxfs/xfs_metadir.c
198
if (error)
fs/xfs/libxfs/xfs_metadir.c
199
return error;
fs/xfs/libxfs/xfs_metadir.c
208
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_create,
fs/xfs/libxfs/xfs_metadir.c
210
if (error)
fs/xfs/libxfs/xfs_metadir.c
223
xfs_metadir_teardown(upd, error);
fs/xfs/libxfs/xfs_metadir.c
224
return error;
fs/xfs/libxfs/xfs_metadir.c
257
int error;
fs/xfs/libxfs/xfs_metadir.c
263
error = xfs_metadir_lookup(upd->tp, upd->dp, &xname, &ino);
fs/xfs/libxfs/xfs_metadir.c
264
switch (error) {
fs/xfs/libxfs/xfs_metadir.c
268
error = -EEXIST;
fs/xfs/libxfs/xfs_metadir.c
271
return error;
fs/xfs/libxfs/xfs_metadir.c
279
error = xfs_dialloc(&upd->tp, &args, &ino);
fs/xfs/libxfs/xfs_metadir.c
280
if (error)
fs/xfs/libxfs/xfs_metadir.c
281
return error;
fs/xfs/libxfs/xfs_metadir.c
282
error = xfs_icreate(upd->tp, ino, &args, &upd->ip);
fs/xfs/libxfs/xfs_metadir.c
283
if (error)
fs/xfs/libxfs/xfs_metadir.c
284
return error;
fs/xfs/libxfs/xfs_metadir.c
304
error = xfs_dir_create_child(upd->tp, resblks, &du);
fs/xfs/libxfs/xfs_metadir.c
305
if (error)
fs/xfs/libxfs/xfs_metadir.c
306
return error;
fs/xfs/libxfs/xfs_metadir.c
327
int error;
fs/xfs/libxfs/xfs_metadir.c
333
error = xfs_parent_start(mp, &upd->ppargs);
fs/xfs/libxfs/xfs_metadir.c
334
if (error)
fs/xfs/libxfs/xfs_metadir.c
335
return error;
fs/xfs/libxfs/xfs_metadir.c
338
error = xfs_trans_alloc_dir(upd->dp, &M_RES(mp)->tr_link, upd->ip,
fs/xfs/libxfs/xfs_metadir.c
340
if (error)
fs/xfs/libxfs/xfs_metadir.c
348
error = nospace_error;
fs/xfs/libxfs/xfs_metadir.c
358
xfs_metadir_teardown(upd, error);
fs/xfs/libxfs/xfs_metadir.c
359
return error;
fs/xfs/libxfs/xfs_metadir.c
381
int error;
fs/xfs/libxfs/xfs_metadir.c
389
error = xfs_metadir_lookup(upd->tp, upd->dp, &xname, &ino);
fs/xfs/libxfs/xfs_metadir.c
390
switch (error) {
fs/xfs/libxfs/xfs_metadir.c
394
error = -EEXIST;
fs/xfs/libxfs/xfs_metadir.c
397
return error;
fs/xfs/libxfs/xfs_metadir.c
401
error = xfs_dir_add_child(upd->tp, resblks, &du);
fs/xfs/libxfs/xfs_metadir.c
402
if (error)
fs/xfs/libxfs/xfs_metadir.c
403
return error;
fs/xfs/libxfs/xfs_metadir.c
416
int error;
fs/xfs/libxfs/xfs_metadir.c
420
error = xfs_trans_commit(upd->tp);
fs/xfs/libxfs/xfs_metadir.c
423
xfs_metadir_teardown(upd, error);
fs/xfs/libxfs/xfs_metadir.c
424
return error;
fs/xfs/libxfs/xfs_metadir.c
431
int error)
fs/xfs/libxfs/xfs_metadir.c
438
xfs_metadir_teardown(upd, error);
fs/xfs/libxfs/xfs_metadir.c
453
int error;
fs/xfs/libxfs/xfs_metadir.c
459
error = xfs_metadir_start_create(&upd);
fs/xfs/libxfs/xfs_metadir.c
460
if (error)
fs/xfs/libxfs/xfs_metadir.c
461
return error;
fs/xfs/libxfs/xfs_metadir.c
464
error = xfs_metadir_create(&upd, S_IFDIR);
fs/xfs/libxfs/xfs_metadir.c
465
if (error)
fs/xfs/libxfs/xfs_metadir.c
468
error = xfs_metadir_commit(&upd);
fs/xfs/libxfs/xfs_metadir.c
469
if (error)
fs/xfs/libxfs/xfs_metadir.c
477
xfs_metadir_cancel(&upd, error);
fs/xfs/libxfs/xfs_metadir.c
484
return error;
fs/xfs/libxfs/xfs_metadir.h
42
void xfs_metadir_cancel(struct xfs_metadir_update *upd, int error);
fs/xfs/libxfs/xfs_metafile.c
171
int error;
fs/xfs/libxfs/xfs_metafile.c
173
error = xfs_dec_fdblocks(ip->i_mount, len, true);
fs/xfs/libxfs/xfs_metafile.c
174
if (error)
fs/xfs/libxfs/xfs_metafile.c
269
int error = 0;
fs/xfs/libxfs/xfs_metafile.c
310
error = xfs_dec_fdblocks(mp, hidden_space, true);
fs/xfs/libxfs/xfs_metafile.c
311
if (error) {
fs/xfs/libxfs/xfs_metafile.c
326
return error;
fs/xfs/libxfs/xfs_parent.c
197
int error;
fs/xfs/libxfs/xfs_parent.c
199
error = xfs_parent_iread_extents(tp, child);
fs/xfs/libxfs/xfs_parent.c
200
if (error)
fs/xfs/libxfs/xfs_parent.c
201
return error;
fs/xfs/libxfs/xfs_parent.c
219
int error;
fs/xfs/libxfs/xfs_parent.c
221
error = xfs_parent_iread_extents(tp, child);
fs/xfs/libxfs/xfs_parent.c
222
if (error)
fs/xfs/libxfs/xfs_parent.c
223
return error;
fs/xfs/libxfs/xfs_parent.c
243
int error;
fs/xfs/libxfs/xfs_parent.c
245
error = xfs_parent_iread_extents(tp, child);
fs/xfs/libxfs/xfs_parent.c
246
if (error)
fs/xfs/libxfs/xfs_parent.c
247
return error;
fs/xfs/libxfs/xfs_refcount.c
1030
int error;
fs/xfs/libxfs/xfs_refcount.c
1040
error = xfs_refcount_find_left_extents(cur, &left, &cleft, domain,
fs/xfs/libxfs/xfs_refcount.c
1042
if (error)
fs/xfs/libxfs/xfs_refcount.c
1043
return error;
fs/xfs/libxfs/xfs_refcount.c
1044
error = xfs_refcount_find_right_extents(cur, &right, &cright, domain,
fs/xfs/libxfs/xfs_refcount.c
1046
if (error)
fs/xfs/libxfs/xfs_refcount.c
1047
return error;
fs/xfs/libxfs/xfs_refcount.c
1067
error = xfs_refcount_merge_left_extent(cur, &left, &cleft,
fs/xfs/libxfs/xfs_refcount.c
1069
if (error)
fs/xfs/libxfs/xfs_refcount.c
1070
return error;
fs/xfs/libxfs/xfs_refcount.c
1157
int error;
fs/xfs/libxfs/xfs_refcount.c
1164
error = xfs_refcount_lookup_ge(cur, XFS_REFC_DOMAIN_SHARED, *agbno,
fs/xfs/libxfs/xfs_refcount.c
1166
if (error)
fs/xfs/libxfs/xfs_refcount.c
1170
error = xfs_refcount_get_rec(cur, &ext, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
1171
if (error)
fs/xfs/libxfs/xfs_refcount.c
1200
error = xfs_refcount_insert(cur, &tmp,
fs/xfs/libxfs/xfs_refcount.c
1202
if (error)
fs/xfs/libxfs/xfs_refcount.c
1207
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
1211
error = xrefc_free_extent(cur, &tmp);
fs/xfs/libxfs/xfs_refcount.c
1212
if (error)
fs/xfs/libxfs/xfs_refcount.c
1224
error = xfs_refcount_lookup_ge(cur,
fs/xfs/libxfs/xfs_refcount.c
1227
if (error)
fs/xfs/libxfs/xfs_refcount.c
1241
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
1255
error = xfs_refcount_update(cur, &ext);
fs/xfs/libxfs/xfs_refcount.c
1256
if (error)
fs/xfs/libxfs/xfs_refcount.c
1259
error = xfs_refcount_delete(cur, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
1260
if (error)
fs/xfs/libxfs/xfs_refcount.c
1264
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
1269
error = xrefc_free_extent(cur, &ext);
fs/xfs/libxfs/xfs_refcount.c
1270
if (error)
fs/xfs/libxfs/xfs_refcount.c
1275
error = xfs_btree_increment(cur, 0, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
1276
if (error)
fs/xfs/libxfs/xfs_refcount.c
1284
return error;
fs/xfs/libxfs/xfs_refcount.c
1286
trace_xfs_refcount_modify_extent_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
1287
return error;
fs/xfs/libxfs/xfs_refcount.c
1300
int error;
fs/xfs/libxfs/xfs_refcount.c
1310
error = xfs_refcount_split_extent(cur, XFS_REFC_DOMAIN_SHARED,
fs/xfs/libxfs/xfs_refcount.c
1312
if (error)
fs/xfs/libxfs/xfs_refcount.c
1317
error = xfs_refcount_split_extent(cur, XFS_REFC_DOMAIN_SHARED,
fs/xfs/libxfs/xfs_refcount.c
1319
if (error)
fs/xfs/libxfs/xfs_refcount.c
1327
error = xfs_refcount_merge_extents(cur, XFS_REFC_DOMAIN_SHARED,
fs/xfs/libxfs/xfs_refcount.c
1329
if (error)
fs/xfs/libxfs/xfs_refcount.c
1337
error = xfs_refcount_adjust_extents(cur, agbno, aglen, adj);
fs/xfs/libxfs/xfs_refcount.c
1338
if (error)
fs/xfs/libxfs/xfs_refcount.c
1344
trace_xfs_refcount_adjust_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
1345
return error;
fs/xfs/libxfs/xfs_refcount.c
1391
int error = 0;
fs/xfs/libxfs/xfs_refcount.c
1417
error = xfs_alloc_read_agf(pag, tp,
fs/xfs/libxfs/xfs_refcount.c
1419
if (error)
fs/xfs/libxfs/xfs_refcount.c
1420
return error;
fs/xfs/libxfs/xfs_refcount.c
1429
error = xfs_refcount_adjust(rcur, &bno, &ri->ri_blockcount,
fs/xfs/libxfs/xfs_refcount.c
1431
if (error)
fs/xfs/libxfs/xfs_refcount.c
1432
return error;
fs/xfs/libxfs/xfs_refcount.c
1434
error = xfs_refcount_continue_op(rcur, ri, bno);
fs/xfs/libxfs/xfs_refcount.c
1437
error = xfs_refcount_adjust(rcur, &bno, &ri->ri_blockcount,
fs/xfs/libxfs/xfs_refcount.c
1439
if (error)
fs/xfs/libxfs/xfs_refcount.c
1440
return error;
fs/xfs/libxfs/xfs_refcount.c
1442
error = xfs_refcount_continue_op(rcur, ri, bno);
fs/xfs/libxfs/xfs_refcount.c
1445
error = __xfs_refcount_cow_alloc(rcur, bno, ri->ri_blockcount);
fs/xfs/libxfs/xfs_refcount.c
1446
if (error)
fs/xfs/libxfs/xfs_refcount.c
1447
return error;
fs/xfs/libxfs/xfs_refcount.c
1451
error = __xfs_refcount_cow_free(rcur, bno, ri->ri_blockcount);
fs/xfs/libxfs/xfs_refcount.c
1452
if (error)
fs/xfs/libxfs/xfs_refcount.c
1453
return error;
fs/xfs/libxfs/xfs_refcount.c
1460
if (!error && ri->ri_blockcount > 0)
fs/xfs/libxfs/xfs_refcount.c
1462
return error;
fs/xfs/libxfs/xfs_refcount.c
1504
int error = 0;
fs/xfs/libxfs/xfs_refcount.c
1538
error = xfs_refcount_adjust(rcur, &bno, &ri->ri_blockcount,
fs/xfs/libxfs/xfs_refcount.c
1540
if (error)
fs/xfs/libxfs/xfs_refcount.c
1541
return error;
fs/xfs/libxfs/xfs_refcount.c
1543
error = xfs_rtrefcount_continue_op(rcur, ri, bno);
fs/xfs/libxfs/xfs_refcount.c
1546
error = xfs_refcount_adjust(rcur, &bno, &ri->ri_blockcount,
fs/xfs/libxfs/xfs_refcount.c
1548
if (error)
fs/xfs/libxfs/xfs_refcount.c
1549
return error;
fs/xfs/libxfs/xfs_refcount.c
1551
error = xfs_rtrefcount_continue_op(rcur, ri, bno);
fs/xfs/libxfs/xfs_refcount.c
1554
error = __xfs_refcount_cow_alloc(rcur, bno, ri->ri_blockcount);
fs/xfs/libxfs/xfs_refcount.c
1555
if (error)
fs/xfs/libxfs/xfs_refcount.c
1556
return error;
fs/xfs/libxfs/xfs_refcount.c
1560
error = __xfs_refcount_cow_free(rcur, bno, ri->ri_blockcount);
fs/xfs/libxfs/xfs_refcount.c
1561
if (error)
fs/xfs/libxfs/xfs_refcount.c
1562
return error;
fs/xfs/libxfs/xfs_refcount.c
1569
if (!error && ri->ri_blockcount > 0)
fs/xfs/libxfs/xfs_refcount.c
1571
return error;
fs/xfs/libxfs/xfs_refcount.c
1650
int error;
fs/xfs/libxfs/xfs_refcount.c
1659
error = xfs_refcount_lookup_le(cur, XFS_REFC_DOMAIN_SHARED, agbno,
fs/xfs/libxfs/xfs_refcount.c
1661
if (error)
fs/xfs/libxfs/xfs_refcount.c
1665
error = xfs_btree_increment(cur, 0, &have);
fs/xfs/libxfs/xfs_refcount.c
1666
if (error)
fs/xfs/libxfs/xfs_refcount.c
1671
error = xfs_refcount_get_rec(cur, &tmp, &i);
fs/xfs/libxfs/xfs_refcount.c
1672
if (error)
fs/xfs/libxfs/xfs_refcount.c
1676
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
1684
error = xfs_btree_increment(cur, 0, &have);
fs/xfs/libxfs/xfs_refcount.c
1685
if (error)
fs/xfs/libxfs/xfs_refcount.c
1689
error = xfs_refcount_get_rec(cur, &tmp, &i);
fs/xfs/libxfs/xfs_refcount.c
1690
if (error)
fs/xfs/libxfs/xfs_refcount.c
1694
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
1718
error = xfs_btree_increment(cur, 0, &have);
fs/xfs/libxfs/xfs_refcount.c
1719
if (error)
fs/xfs/libxfs/xfs_refcount.c
1723
error = xfs_refcount_get_rec(cur, &tmp, &i);
fs/xfs/libxfs/xfs_refcount.c
1724
if (error)
fs/xfs/libxfs/xfs_refcount.c
1728
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
1742
if (error)
fs/xfs/libxfs/xfs_refcount.c
1743
trace_xfs_refcount_find_shared_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
1744
return error;
fs/xfs/libxfs/xfs_refcount.c
1807
int error;
fs/xfs/libxfs/xfs_refcount.c
1814
error = xfs_refcount_lookup_ge(cur, XFS_REFC_DOMAIN_COW, agbno,
fs/xfs/libxfs/xfs_refcount.c
1816
if (error)
fs/xfs/libxfs/xfs_refcount.c
1818
error = xfs_refcount_get_rec(cur, &ext, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
1819
if (error)
fs/xfs/libxfs/xfs_refcount.c
1824
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
1840
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
1851
error = xfs_refcount_insert(cur, &tmp,
fs/xfs/libxfs/xfs_refcount.c
1853
if (error)
fs/xfs/libxfs/xfs_refcount.c
1857
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
1865
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
1870
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
1875
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
1881
error = xfs_refcount_delete(cur, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
1882
if (error)
fs/xfs/libxfs/xfs_refcount.c
1886
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
1894
return error;
fs/xfs/libxfs/xfs_refcount.c
1896
trace_xfs_refcount_modify_extent_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
1897
return error;
fs/xfs/libxfs/xfs_refcount.c
1911
int error;
fs/xfs/libxfs/xfs_refcount.c
1916
error = xfs_refcount_split_extent(cur, XFS_REFC_DOMAIN_COW,
fs/xfs/libxfs/xfs_refcount.c
1918
if (error)
fs/xfs/libxfs/xfs_refcount.c
1921
error = xfs_refcount_split_extent(cur, XFS_REFC_DOMAIN_COW,
fs/xfs/libxfs/xfs_refcount.c
1923
if (error)
fs/xfs/libxfs/xfs_refcount.c
1929
error = xfs_refcount_merge_extents(cur, XFS_REFC_DOMAIN_COW, &agbno,
fs/xfs/libxfs/xfs_refcount.c
1931
if (error)
fs/xfs/libxfs/xfs_refcount.c
1935
error = xfs_refcount_adjust_cow_extents(cur, agbno, aglen, adj);
fs/xfs/libxfs/xfs_refcount.c
1936
if (error)
fs/xfs/libxfs/xfs_refcount.c
1942
trace_xfs_refcount_adjust_cow_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
1943
return error;
fs/xfs/libxfs/xfs_refcount.c
2073
int error;
fs/xfs/libxfs/xfs_refcount.c
2107
error = xfs_alloc_read_agf(to_perag(xg), tp, 0, &agbp);
fs/xfs/libxfs/xfs_refcount.c
2108
if (error)
fs/xfs/libxfs/xfs_refcount.c
2114
error = xfs_btree_query_range(cur, &low, &high,
fs/xfs/libxfs/xfs_refcount.c
2116
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_refcount.c
2122
if (error)
fs/xfs/libxfs/xfs_refcount.c
2128
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp);
fs/xfs/libxfs/xfs_refcount.c
2129
if (error)
fs/xfs/libxfs/xfs_refcount.c
2138
error = xfs_free_extent_later(tp, fsb,
fs/xfs/libxfs/xfs_refcount.c
2142
if (error)
fs/xfs/libxfs/xfs_refcount.c
2145
error = xfs_trans_commit(tp);
fs/xfs/libxfs/xfs_refcount.c
2146
if (error)
fs/xfs/libxfs/xfs_refcount.c
2153
return error;
fs/xfs/libxfs/xfs_refcount.c
216
int error;
fs/xfs/libxfs/xfs_refcount.c
2162
return error;
fs/xfs/libxfs/xfs_refcount.c
218
error = xfs_btree_get_rec(cur, &rec, stat);
fs/xfs/libxfs/xfs_refcount.c
219
if (error || !*stat)
fs/xfs/libxfs/xfs_refcount.c
220
return error;
fs/xfs/libxfs/xfs_refcount.c
243
int error;
fs/xfs/libxfs/xfs_refcount.c
253
error = xfs_btree_update(cur, &rec);
fs/xfs/libxfs/xfs_refcount.c
254
if (error)
fs/xfs/libxfs/xfs_refcount.c
255
trace_xfs_refcount_update_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
256
return error;
fs/xfs/libxfs/xfs_refcount.c
270
int error;
fs/xfs/libxfs/xfs_refcount.c
279
error = xfs_btree_insert(cur, i);
fs/xfs/libxfs/xfs_refcount.c
280
if (error)
fs/xfs/libxfs/xfs_refcount.c
284
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
289
if (error)
fs/xfs/libxfs/xfs_refcount.c
290
trace_xfs_refcount_insert_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
291
return error;
fs/xfs/libxfs/xfs_refcount.c
307
int error;
fs/xfs/libxfs/xfs_refcount.c
309
error = xfs_refcount_get_rec(cur, &irec, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
310
if (error)
fs/xfs/libxfs/xfs_refcount.c
314
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
318
error = xfs_btree_delete(cur, i);
fs/xfs/libxfs/xfs_refcount.c
321
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
324
if (error)
fs/xfs/libxfs/xfs_refcount.c
326
error = xfs_refcount_lookup_ge(cur, irec.rc_domain, irec.rc_startblock,
fs/xfs/libxfs/xfs_refcount.c
329
if (error)
fs/xfs/libxfs/xfs_refcount.c
330
trace_xfs_refcount_delete_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
331
return error;
fs/xfs/libxfs/xfs_refcount.c
431
int error;
fs/xfs/libxfs/xfs_refcount.c
434
error = xfs_refcount_lookup_le(cur, domain, agbno, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
435
if (error)
fs/xfs/libxfs/xfs_refcount.c
440
error = xfs_refcount_get_rec(cur, &rcext, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
441
if (error)
fs/xfs/libxfs/xfs_refcount.c
445
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
460
error = xfs_refcount_update(cur, &tmp);
fs/xfs/libxfs/xfs_refcount.c
461
if (error)
fs/xfs/libxfs/xfs_refcount.c
467
error = xfs_refcount_insert(cur, &tmp, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
468
if (error)
fs/xfs/libxfs/xfs_refcount.c
472
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
475
return error;
fs/xfs/libxfs/xfs_refcount.c
478
trace_xfs_refcount_split_extent_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
479
return error;
fs/xfs/libxfs/xfs_refcount.c
494
int error;
fs/xfs/libxfs/xfs_refcount.c
510
error = xfs_refcount_lookup_ge(cur, center->rc_domain,
fs/xfs/libxfs/xfs_refcount.c
512
if (error)
fs/xfs/libxfs/xfs_refcount.c
516
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
520
error = xfs_refcount_delete(cur, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
521
if (error)
fs/xfs/libxfs/xfs_refcount.c
525
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
530
error = xfs_refcount_delete(cur, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
531
if (error)
fs/xfs/libxfs/xfs_refcount.c
535
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
541
error = xfs_refcount_lookup_le(cur, left->rc_domain,
fs/xfs/libxfs/xfs_refcount.c
543
if (error)
fs/xfs/libxfs/xfs_refcount.c
547
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
552
error = xfs_refcount_update(cur, left);
fs/xfs/libxfs/xfs_refcount.c
553
if (error)
fs/xfs/libxfs/xfs_refcount.c
557
return error;
fs/xfs/libxfs/xfs_refcount.c
560
trace_xfs_refcount_merge_center_extents_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
561
return error;
fs/xfs/libxfs/xfs_refcount.c
575
int error;
fs/xfs/libxfs/xfs_refcount.c
584
error = xfs_refcount_lookup_le(cur, cleft->rc_domain,
fs/xfs/libxfs/xfs_refcount.c
586
if (error)
fs/xfs/libxfs/xfs_refcount.c
590
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
594
error = xfs_refcount_delete(cur, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
595
if (error)
fs/xfs/libxfs/xfs_refcount.c
599
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
605
error = xfs_refcount_lookup_le(cur, left->rc_domain,
fs/xfs/libxfs/xfs_refcount.c
607
if (error)
fs/xfs/libxfs/xfs_refcount.c
611
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
616
error = xfs_refcount_update(cur, left);
fs/xfs/libxfs/xfs_refcount.c
617
if (error)
fs/xfs/libxfs/xfs_refcount.c
622
return error;
fs/xfs/libxfs/xfs_refcount.c
625
trace_xfs_refcount_merge_left_extent_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
626
return error;
fs/xfs/libxfs/xfs_refcount.c
639
int error;
fs/xfs/libxfs/xfs_refcount.c
651
error = xfs_refcount_lookup_le(cur, cright->rc_domain,
fs/xfs/libxfs/xfs_refcount.c
653
if (error)
fs/xfs/libxfs/xfs_refcount.c
657
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
661
error = xfs_refcount_delete(cur, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
662
if (error)
fs/xfs/libxfs/xfs_refcount.c
666
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
672
error = xfs_refcount_lookup_le(cur, right->rc_domain,
fs/xfs/libxfs/xfs_refcount.c
674
if (error)
fs/xfs/libxfs/xfs_refcount.c
678
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
684
error = xfs_refcount_update(cur, right);
fs/xfs/libxfs/xfs_refcount.c
685
if (error)
fs/xfs/libxfs/xfs_refcount.c
689
return error;
fs/xfs/libxfs/xfs_refcount.c
692
trace_xfs_refcount_merge_right_extent_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
693
return error;
fs/xfs/libxfs/xfs_refcount.c
710
int error;
fs/xfs/libxfs/xfs_refcount.c
714
error = xfs_refcount_lookup_le(cur, domain, agbno - 1, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
715
if (error)
fs/xfs/libxfs/xfs_refcount.c
720
error = xfs_refcount_get_rec(cur, &tmp, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
721
if (error)
fs/xfs/libxfs/xfs_refcount.c
725
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
736
error = xfs_btree_increment(cur, 0, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
737
if (error)
fs/xfs/libxfs/xfs_refcount.c
740
error = xfs_refcount_get_rec(cur, &tmp, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
741
if (error)
fs/xfs/libxfs/xfs_refcount.c
745
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
782
return error;
fs/xfs/libxfs/xfs_refcount.c
785
trace_xfs_refcount_find_left_extent_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
786
return error;
fs/xfs/libxfs/xfs_refcount.c
803
int error;
fs/xfs/libxfs/xfs_refcount.c
807
error = xfs_refcount_lookup_ge(cur, domain, agbno + aglen, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
808
if (error)
fs/xfs/libxfs/xfs_refcount.c
813
error = xfs_refcount_get_rec(cur, &tmp, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
814
if (error)
fs/xfs/libxfs/xfs_refcount.c
818
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
829
error = xfs_btree_decrement(cur, 0, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
830
if (error)
fs/xfs/libxfs/xfs_refcount.c
833
error = xfs_refcount_get_rec(cur, &tmp, &found_rec);
fs/xfs/libxfs/xfs_refcount.c
834
if (error)
fs/xfs/libxfs/xfs_refcount.c
838
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_refcount.c
876
return error;
fs/xfs/libxfs/xfs_refcount.c
879
trace_xfs_refcount_find_right_extent_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_refcount.c
880
return error;
fs/xfs/libxfs/xfs_refcount_btree.c
498
int error;
fs/xfs/libxfs/xfs_refcount_btree.c
503
error = xfs_alloc_read_agf(pag, tp, 0, &agbp);
fs/xfs/libxfs/xfs_refcount_btree.c
504
if (error)
fs/xfs/libxfs/xfs_refcount_btree.c
505
return error;
fs/xfs/libxfs/xfs_refcount_btree.c
523
return error;
fs/xfs/libxfs/xfs_refcount_btree.c
66
int error; /* error return value */
fs/xfs/libxfs/xfs_refcount_btree.c
76
error = xfs_alloc_vextent_near_bno(&args,
fs/xfs/libxfs/xfs_refcount_btree.c
78
if (error)
fs/xfs/libxfs/xfs_refcount_btree.c
95
return error;
fs/xfs/libxfs/xfs_rmap.c
1032
int error = 0;
fs/xfs/libxfs/xfs_rmap.c
104
int error;
fs/xfs/libxfs/xfs_rmap.c
1053
error = xfs_rmap_lookup_le(cur, bno, owner, offset, flags, <rec,
fs/xfs/libxfs/xfs_rmap.c
1055
if (error)
fs/xfs/libxfs/xfs_rmap.c
1070
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1079
error = xfs_btree_increment(cur, 0, &have_gt);
fs/xfs/libxfs/xfs_rmap.c
1080
if (error)
fs/xfs/libxfs/xfs_rmap.c
1083
error = xfs_rmap_get_rec(cur, >rec, &have_gt);
fs/xfs/libxfs/xfs_rmap.c
1084
if (error)
fs/xfs/libxfs/xfs_rmap.c
1088
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1093
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1139
error = xfs_btree_delete(cur, &i);
fs/xfs/libxfs/xfs_rmap.c
114
error = xfs_btree_update(cur, &rec);
fs/xfs/libxfs/xfs_rmap.c
1140
if (error)
fs/xfs/libxfs/xfs_rmap.c
1144
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
115
if (error)
fs/xfs/libxfs/xfs_rmap.c
1150
error = xfs_btree_decrement(cur, 0, &have_gt);
fs/xfs/libxfs/xfs_rmap.c
1151
if (error)
fs/xfs/libxfs/xfs_rmap.c
1153
error = xfs_rmap_update(cur, <rec);
fs/xfs/libxfs/xfs_rmap.c
1154
if (error)
fs/xfs/libxfs/xfs_rmap.c
116
trace_xfs_rmap_update_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_rmap.c
117
return error;
fs/xfs/libxfs/xfs_rmap.c
1172
error = xfs_rmap_update(cur, >rec);
fs/xfs/libxfs/xfs_rmap.c
1173
if (error)
fs/xfs/libxfs/xfs_rmap.c
1186
error = xfs_btree_insert(cur, &i);
fs/xfs/libxfs/xfs_rmap.c
1187
if (error)
fs/xfs/libxfs/xfs_rmap.c
1191
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1198
if (error)
fs/xfs/libxfs/xfs_rmap.c
1199
trace_xfs_rmap_map_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_rmap.c
1200
return error;
fs/xfs/libxfs/xfs_rmap.c
1217
int error;
fs/xfs/libxfs/xfs_rmap.c
1225
error = xfs_rmap_map(cur, bno, len, false, oinfo);
fs/xfs/libxfs/xfs_rmap.c
1227
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_rmap.c
1228
return error;
fs/xfs/libxfs/xfs_rmap.c
1267
int error;
fs/xfs/libxfs/xfs_rmap.c
1281
error = xfs_rmap_lookup_le(cur, bno, owner, offset, oldext, &PREV, &i);
fs/xfs/libxfs/xfs_rmap.c
1282
if (error)
fs/xfs/libxfs/xfs_rmap.c
1286
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
130
int error;
fs/xfs/libxfs/xfs_rmap.c
1313
error = xfs_btree_decrement(cur, 0, &i);
fs/xfs/libxfs/xfs_rmap.c
1314
if (error)
fs/xfs/libxfs/xfs_rmap.c
1318
error = xfs_rmap_get_rec(cur, &LEFT, &i);
fs/xfs/libxfs/xfs_rmap.c
1319
if (error)
fs/xfs/libxfs/xfs_rmap.c
1323
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1330
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
134
error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i);
fs/xfs/libxfs/xfs_rmap.c
1347
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_rmap.c
1348
if (error)
fs/xfs/libxfs/xfs_rmap.c
135
if (error)
fs/xfs/libxfs/xfs_rmap.c
1352
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1355
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_rmap.c
1356
if (error)
fs/xfs/libxfs/xfs_rmap.c
1360
error = xfs_rmap_get_rec(cur, &RIGHT, &i);
fs/xfs/libxfs/xfs_rmap.c
1361
if (error)
fs/xfs/libxfs/xfs_rmap.c
1365
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1370
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
139
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1395
error = xfs_rmap_lookup_le(cur, bno, owner, offset, oldext, NULL, &i);
fs/xfs/libxfs/xfs_rmap.c
1396
if (error)
fs/xfs/libxfs/xfs_rmap.c
1400
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1415
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_rmap.c
1416
if (error)
fs/xfs/libxfs/xfs_rmap.c
1420
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1426
error = xfs_btree_delete(cur, &i);
fs/xfs/libxfs/xfs_rmap.c
1427
if (error)
fs/xfs/libxfs/xfs_rmap.c
1431
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1434
error = xfs_btree_decrement(cur, 0, &i);
fs/xfs/libxfs/xfs_rmap.c
1435
if (error)
fs/xfs/libxfs/xfs_rmap.c
1439
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1445
error = xfs_btree_delete(cur, &i);
fs/xfs/libxfs/xfs_rmap.c
1446
if (error)
fs/xfs/libxfs/xfs_rmap.c
1450
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1453
error = xfs_btree_decrement(cur, 0, &i);
fs/xfs/libxfs/xfs_rmap.c
1454
if (error)
fs/xfs/libxfs/xfs_rmap.c
1458
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1463
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1464
if (error)
fs/xfs/libxfs/xfs_rmap.c
1476
error = xfs_btree_delete(cur, &i);
fs/xfs/libxfs/xfs_rmap.c
1477
if (error)
fs/xfs/libxfs/xfs_rmap.c
148
error = xfs_btree_insert(rcur, &i);
fs/xfs/libxfs/xfs_rmap.c
1481
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1484
error = xfs_btree_decrement(cur, 0, &i);
fs/xfs/libxfs/xfs_rmap.c
1485
if (error)
fs/xfs/libxfs/xfs_rmap.c
1489
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
149
if (error)
fs/xfs/libxfs/xfs_rmap.c
1494
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1495
if (error)
fs/xfs/libxfs/xfs_rmap.c
1504
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_rmap.c
1505
if (error)
fs/xfs/libxfs/xfs_rmap.c
1509
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1515
error = xfs_btree_delete(cur, &i);
fs/xfs/libxfs/xfs_rmap.c
1516
if (error)
fs/xfs/libxfs/xfs_rmap.c
1520
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1523
error = xfs_btree_decrement(cur, 0, &i);
fs/xfs/libxfs/xfs_rmap.c
1524
if (error)
fs/xfs/libxfs/xfs_rmap.c
1528
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
153
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1534
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1535
if (error)
fs/xfs/libxfs/xfs_rmap.c
1547
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1548
if (error)
fs/xfs/libxfs/xfs_rmap.c
1561
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1562
if (error)
fs/xfs/libxfs/xfs_rmap.c
1564
error = xfs_btree_decrement(cur, 0, &i);
fs/xfs/libxfs/xfs_rmap.c
1565
if (error)
fs/xfs/libxfs/xfs_rmap.c
1569
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
157
if (error)
fs/xfs/libxfs/xfs_rmap.c
1570
if (error)
fs/xfs/libxfs/xfs_rmap.c
158
trace_xfs_rmap_insert_error(rcur, error, _RET_IP_);
fs/xfs/libxfs/xfs_rmap.c
1583
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1584
if (error)
fs/xfs/libxfs/xfs_rmap.c
159
return error;
fs/xfs/libxfs/xfs_rmap.c
1593
error = xfs_btree_insert(cur, &i);
fs/xfs/libxfs/xfs_rmap.c
1594
if (error)
fs/xfs/libxfs/xfs_rmap.c
1598
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1610
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1611
if (error)
fs/xfs/libxfs/xfs_rmap.c
1613
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_rmap.c
1614
if (error)
fs/xfs/libxfs/xfs_rmap.c
1620
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1621
if (error)
fs/xfs/libxfs/xfs_rmap.c
1632
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1633
if (error)
fs/xfs/libxfs/xfs_rmap.c
1635
error = xfs_rmap_lookup_eq(cur, bno, len, owner, offset,
fs/xfs/libxfs/xfs_rmap.c
1637
if (error)
fs/xfs/libxfs/xfs_rmap.c
1641
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1651
error = xfs_btree_insert(cur, &i);
fs/xfs/libxfs/xfs_rmap.c
1652
if (error)
fs/xfs/libxfs/xfs_rmap.c
1656
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1674
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1675
if (error)
fs/xfs/libxfs/xfs_rmap.c
1684
error = xfs_btree_insert(cur, &i);
fs/xfs/libxfs/xfs_rmap.c
1685
if (error)
fs/xfs/libxfs/xfs_rmap.c
1689
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1697
error = xfs_rmap_lookup_eq(cur, bno, len, owner, offset,
fs/xfs/libxfs/xfs_rmap.c
1699
if (error)
fs/xfs/libxfs/xfs_rmap.c
1703
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1710
error = xfs_btree_insert(cur, &i);
fs/xfs/libxfs/xfs_rmap.c
1711
if (error)
fs/xfs/libxfs/xfs_rmap.c
1715
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
172
int error;
fs/xfs/libxfs/xfs_rmap.c
1735
if (error)
fs/xfs/libxfs/xfs_rmap.c
1736
trace_xfs_rmap_convert_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_rmap.c
1737
return error;
fs/xfs/libxfs/xfs_rmap.c
176
error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i);
fs/xfs/libxfs/xfs_rmap.c
1765
int error;
fs/xfs/libxfs/xfs_rmap.c
177
if (error)
fs/xfs/libxfs/xfs_rmap.c
1779
error = xfs_rmap_lookup_le_range(cur, bno, owner, offset, oldext,
fs/xfs/libxfs/xfs_rmap.c
1781
if (error)
fs/xfs/libxfs/xfs_rmap.c
1785
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1804
error = xfs_rmap_find_left_neighbor(cur, bno, owner, offset, newext,
fs/xfs/libxfs/xfs_rmap.c
1806
if (error)
fs/xfs/libxfs/xfs_rmap.c
181
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1814
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1822
error = xfs_rmap_lookup_eq(cur, bno + len, len, owner, offset + len,
fs/xfs/libxfs/xfs_rmap.c
1824
if (error)
fs/xfs/libxfs/xfs_rmap.c
1828
error = xfs_rmap_get_rec(cur, &RIGHT, &i);
fs/xfs/libxfs/xfs_rmap.c
1829
if (error)
fs/xfs/libxfs/xfs_rmap.c
1833
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1838
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
185
error = xfs_btree_delete(rcur, &i);
fs/xfs/libxfs/xfs_rmap.c
186
if (error)
fs/xfs/libxfs/xfs_rmap.c
1870
error = xfs_rmap_delete(cur, RIGHT.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
1873
if (error)
fs/xfs/libxfs/xfs_rmap.c
1875
error = xfs_rmap_delete(cur, PREV.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
1878
if (error)
fs/xfs/libxfs/xfs_rmap.c
1881
error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
1884
if (error)
fs/xfs/libxfs/xfs_rmap.c
1888
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1892
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1893
if (error)
fs/xfs/libxfs/xfs_rmap.c
190
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1902
error = xfs_rmap_delete(cur, PREV.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
1905
if (error)
fs/xfs/libxfs/xfs_rmap.c
1908
error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
1911
if (error)
fs/xfs/libxfs/xfs_rmap.c
1915
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1919
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1920
if (error)
fs/xfs/libxfs/xfs_rmap.c
1929
error = xfs_rmap_delete(cur, RIGHT.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
1932
if (error)
fs/xfs/libxfs/xfs_rmap.c
1935
error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
1938
if (error)
fs/xfs/libxfs/xfs_rmap.c
194
if (error)
fs/xfs/libxfs/xfs_rmap.c
1942
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1947
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1948
if (error)
fs/xfs/libxfs/xfs_rmap.c
195
trace_xfs_rmap_delete_error(rcur, error, _RET_IP_);
fs/xfs/libxfs/xfs_rmap.c
1959
error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
196
return error;
fs/xfs/libxfs/xfs_rmap.c
1962
if (error)
fs/xfs/libxfs/xfs_rmap.c
1966
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
1970
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
1971
if (error)
fs/xfs/libxfs/xfs_rmap.c
1981
error = xfs_rmap_delete(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
1984
if (error)
fs/xfs/libxfs/xfs_rmap.c
1989
error = xfs_rmap_insert(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
1992
if (error)
fs/xfs/libxfs/xfs_rmap.c
1995
error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
1998
if (error)
fs/xfs/libxfs/xfs_rmap.c
2002
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2006
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
2007
if (error)
fs/xfs/libxfs/xfs_rmap.c
2017
error = xfs_rmap_delete(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2020
if (error)
fs/xfs/libxfs/xfs_rmap.c
2025
error = xfs_rmap_insert(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2028
if (error)
fs/xfs/libxfs/xfs_rmap.c
2030
error = xfs_rmap_insert(cur, bno, len, owner, offset, newext);
fs/xfs/libxfs/xfs_rmap.c
2031
if (error)
fs/xfs/libxfs/xfs_rmap.c
2041
error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2044
if (error)
fs/xfs/libxfs/xfs_rmap.c
2048
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2052
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
2053
if (error)
fs/xfs/libxfs/xfs_rmap.c
2056
error = xfs_rmap_delete(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2059
if (error)
fs/xfs/libxfs/xfs_rmap.c
2064
error = xfs_rmap_insert(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2067
if (error)
fs/xfs/libxfs/xfs_rmap.c
2077
error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2080
if (error)
fs/xfs/libxfs/xfs_rmap.c
2084
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2088
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
2089
if (error)
fs/xfs/libxfs/xfs_rmap.c
2091
error = xfs_rmap_insert(cur, bno, len, owner, offset, newext);
fs/xfs/libxfs/xfs_rmap.c
2092
if (error)
fs/xfs/libxfs/xfs_rmap.c
2109
error = xfs_rmap_insert(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2112
if (error)
fs/xfs/libxfs/xfs_rmap.c
2116
error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2119
if (error)
fs/xfs/libxfs/xfs_rmap.c
2123
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2127
error = xfs_rmap_update(cur, &NEW);
fs/xfs/libxfs/xfs_rmap.c
2128
if (error)
fs/xfs/libxfs/xfs_rmap.c
2136
error = xfs_rmap_insert(cur, NEW.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2139
if (error)
fs/xfs/libxfs/xfs_rmap.c
2158
if (error)
fs/xfs/libxfs/xfs_rmap.c
2159
trace_xfs_rmap_convert_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_rmap.c
2160
return error;
fs/xfs/libxfs/xfs_rmap.c
2188
int error = 0;
fs/xfs/libxfs/xfs_rmap.c
2204
error = xfs_rmap_lookup_le_range(cur, bno, owner, offset, flags,
fs/xfs/libxfs/xfs_rmap.c
2206
if (error)
fs/xfs/libxfs/xfs_rmap.c
2210
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2221
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2228
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2237
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2244
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2249
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2255
error = xfs_rmap_delete(cur, ltrec.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2258
if (error)
fs/xfs/libxfs/xfs_rmap.c
2273
error = xfs_rmap_delete(cur, ltrec.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2276
if (error)
fs/xfs/libxfs/xfs_rmap.c
2283
error = xfs_rmap_insert(cur, ltrec.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2286
if (error)
fs/xfs/libxfs/xfs_rmap.c
2299
error = xfs_rmap_lookup_eq(cur, ltrec.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2302
if (error)
fs/xfs/libxfs/xfs_rmap.c
2306
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2310
error = xfs_rmap_update(cur, <rec);
fs/xfs/libxfs/xfs_rmap.c
2311
if (error)
fs/xfs/libxfs/xfs_rmap.c
2329
error = xfs_rmap_lookup_eq(cur, ltrec.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2332
if (error)
fs/xfs/libxfs/xfs_rmap.c
2336
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2340
error = xfs_rmap_update(cur, <rec);
fs/xfs/libxfs/xfs_rmap.c
2341
if (error)
fs/xfs/libxfs/xfs_rmap.c
2345
error = xfs_rmap_insert(cur, bno + len,
fs/xfs/libxfs/xfs_rmap.c
2349
if (error)
fs/xfs/libxfs/xfs_rmap.c
2355
if (error)
fs/xfs/libxfs/xfs_rmap.c
2356
trace_xfs_rmap_unmap_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_rmap.c
2357
return error;
fs/xfs/libxfs/xfs_rmap.c
2382
int error = 0;
fs/xfs/libxfs/xfs_rmap.c
2394
error = xfs_rmap_find_left_neighbor(cur, bno, owner, offset, flags,
fs/xfs/libxfs/xfs_rmap.c
2396
if (error)
fs/xfs/libxfs/xfs_rmap.c
2403
error = xfs_rmap_lookup_eq(cur, bno + len, len, owner, offset + len,
fs/xfs/libxfs/xfs_rmap.c
2405
if (error)
fs/xfs/libxfs/xfs_rmap.c
2408
error = xfs_rmap_get_rec(cur, >rec, &have_gt);
fs/xfs/libxfs/xfs_rmap.c
2409
if (error)
fs/xfs/libxfs/xfs_rmap.c
2413
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2451
error = xfs_rmap_delete(cur, gtrec.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2454
if (error)
fs/xfs/libxfs/xfs_rmap.c
2459
error = xfs_rmap_lookup_eq(cur, ltrec.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2462
if (error)
fs/xfs/libxfs/xfs_rmap.c
2466
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
2470
error = xfs_rmap_update(cur, <rec);
fs/xfs/libxfs/xfs_rmap.c
2471
if (error)
fs/xfs/libxfs/xfs_rmap.c
2486
error = xfs_rmap_delete(cur, gtrec.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2489
if (error)
fs/xfs/libxfs/xfs_rmap.c
2496
error = xfs_rmap_insert(cur, gtrec.rm_startblock,
fs/xfs/libxfs/xfs_rmap.c
2499
if (error)
fs/xfs/libxfs/xfs_rmap.c
2506
error = xfs_rmap_insert(cur, bno, len, owner, offset, flags);
fs/xfs/libxfs/xfs_rmap.c
2507
if (error)
fs/xfs/libxfs/xfs_rmap.c
2513
if (error)
fs/xfs/libxfs/xfs_rmap.c
2514
trace_xfs_rmap_map_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_rmap.c
2515
return error;
fs/xfs/libxfs/xfs_rmap.c
2639
int error;
fs/xfs/libxfs/xfs_rmap.c
2645
error = xfs_free_extent_fix_freelist(tp, pag, &agbp);
fs/xfs/libxfs/xfs_rmap.c
2646
if (error) {
fs/xfs/libxfs/xfs_rmap.c
2648
return error;
fs/xfs/libxfs/xfs_rmap.c
2689
int error = 0;
fs/xfs/libxfs/xfs_rmap.c
2706
error = xfs_rtrmap_finish_init_cursor(tp, ri, pcur);
fs/xfs/libxfs/xfs_rmap.c
2708
error = xfs_rmap_finish_init_cursor(tp, ri, pcur);
fs/xfs/libxfs/xfs_rmap.c
2709
if (error)
fs/xfs/libxfs/xfs_rmap.c
2710
return error;
fs/xfs/libxfs/xfs_rmap.c
2719
error = __xfs_rmap_finish_intent(*pcur, ri->ri_type, bno,
fs/xfs/libxfs/xfs_rmap.c
2721
if (error)
fs/xfs/libxfs/xfs_rmap.c
2722
return error;
fs/xfs/libxfs/xfs_rmap.c
3049
int error;
fs/xfs/libxfs/xfs_rmap.c
3052
error = xfs_rmap_query_range(cur, &roc.low, &roc.high,
fs/xfs/libxfs/xfs_rmap.c
3054
if (error)
fs/xfs/libxfs/xfs_rmap.c
3055
return error;
fs/xfs/libxfs/xfs_rmap.c
3081
int error;
fs/xfs/libxfs/xfs_rmap.c
3086
error = xfs_rmap_query_range(cur, &roc.low, &roc.high,
fs/xfs/libxfs/xfs_rmap.c
3088
if (error == -ECANCELED) {
fs/xfs/libxfs/xfs_rmap.c
3092
if (error)
fs/xfs/libxfs/xfs_rmap.c
3093
return error;
fs/xfs/libxfs/xfs_rmap.c
381
int error;
fs/xfs/libxfs/xfs_rmap.c
383
error = xfs_btree_get_rec(cur, &rec, stat);
fs/xfs/libxfs/xfs_rmap.c
384
if (error || !*stat)
fs/xfs/libxfs/xfs_rmap.c
385
return error;
fs/xfs/libxfs/xfs_rmap.c
442
int error;
fs/xfs/libxfs/xfs_rmap.c
479
error = xfs_rmap_lookup_le(cur, bno, owner, offset, flags, irec,
fs/xfs/libxfs/xfs_rmap.c
48
int error;
fs/xfs/libxfs/xfs_rmap.c
481
if (error)
fs/xfs/libxfs/xfs_rmap.c
482
return error;
fs/xfs/libxfs/xfs_rmap.c
484
error = xfs_rmap_find_left_neighbor_helper(cur, irec, &info);
fs/xfs/libxfs/xfs_rmap.c
485
if (!error)
fs/xfs/libxfs/xfs_rmap.c
486
error = xfs_rmap_query_range(cur, &info.high, &info.high,
fs/xfs/libxfs/xfs_rmap.c
488
if (error != -ECANCELED)
fs/xfs/libxfs/xfs_rmap.c
489
return error;
fs/xfs/libxfs/xfs_rmap.c
541
int error;
fs/xfs/libxfs/xfs_rmap.c
56
error = xfs_btree_lookup(cur, XFS_LOOKUP_LE, stat);
fs/xfs/libxfs/xfs_rmap.c
57
if (error || !(*stat) || !irec)
fs/xfs/libxfs/xfs_rmap.c
572
error = xfs_rmap_lookup_le(cur, bno, owner, offset, flags, irec,
fs/xfs/libxfs/xfs_rmap.c
574
if (error)
fs/xfs/libxfs/xfs_rmap.c
575
return error;
fs/xfs/libxfs/xfs_rmap.c
577
error = xfs_rmap_lookup_le_range_helper(cur, irec, &info);
fs/xfs/libxfs/xfs_rmap.c
578
if (!error)
fs/xfs/libxfs/xfs_rmap.c
579
error = xfs_rmap_query_range(cur, &info.high, &info.high,
fs/xfs/libxfs/xfs_rmap.c
58
return error;
fs/xfs/libxfs/xfs_rmap.c
581
if (error != -ECANCELED)
fs/xfs/libxfs/xfs_rmap.c
582
return error;
fs/xfs/libxfs/xfs_rmap.c
60
error = xfs_rmap_get_rec(cur, irec, &get_stat);
fs/xfs/libxfs/xfs_rmap.c
606
int error = 0;
fs/xfs/libxfs/xfs_rmap.c
61
if (error)
fs/xfs/libxfs/xfs_rmap.c
616
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
62
return error;
fs/xfs/libxfs/xfs_rmap.c
623
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
635
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
641
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
647
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
653
return error;
fs/xfs/libxfs/xfs_rmap.c
685
int error = 0;
fs/xfs/libxfs/xfs_rmap.c
704
error = xfs_rmap_lookup_le(cur, bno, owner, offset, flags, <rec, &i);
fs/xfs/libxfs/xfs_rmap.c
705
if (error)
fs/xfs/libxfs/xfs_rmap.c
709
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
730
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
747
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_rmap.c
748
if (error)
fs/xfs/libxfs/xfs_rmap.c
752
error = xfs_rmap_get_rec(cur, &rtrec, &i);
fs/xfs/libxfs/xfs_rmap.c
753
if (error)
fs/xfs/libxfs/xfs_rmap.c
757
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
770
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
775
error = xfs_rmap_free_check_owner(cur, ltoff, <rec, len, owner,
fs/xfs/libxfs/xfs_rmap.c
777
if (error)
fs/xfs/libxfs/xfs_rmap.c
785
error = xfs_btree_delete(cur, &i);
fs/xfs/libxfs/xfs_rmap.c
786
if (error)
fs/xfs/libxfs/xfs_rmap.c
790
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_rmap.c
808
error = xfs_rmap_update(cur, <rec);
fs/xfs/libxfs/xfs_rmap.c
809
if (error)
fs/xfs/libxfs/xfs_rmap.c
823
error = xfs_rmap_update(cur, <rec);
fs/xfs/libxfs/xfs_rmap.c
824
if (error)
fs/xfs/libxfs/xfs_rmap.c
843
error = xfs_rmap_update(cur, <rec);
fs/xfs/libxfs/xfs_rmap.c
844
if (error)
fs/xfs/libxfs/xfs_rmap.c
847
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/libxfs/xfs_rmap.c
848
if (error)
fs/xfs/libxfs/xfs_rmap.c
865
error = xfs_btree_insert(cur, &i);
fs/xfs/libxfs/xfs_rmap.c
866
if (error)
fs/xfs/libxfs/xfs_rmap.c
873
if (error)
fs/xfs/libxfs/xfs_rmap.c
874
trace_xfs_rmap_unmap_error(cur, error, _RET_IP_);
fs/xfs/libxfs/xfs_rmap.c
875
return error;
fs/xfs/libxfs/xfs_rmap.c
972
int error;
fs/xfs/libxfs/xfs_rmap.c
980
error = xfs_rmap_unmap(cur, bno, len, false, oinfo);
fs/xfs/libxfs/xfs_rmap.c
982
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_rmap.c
983
return error;
fs/xfs/libxfs/xfs_rmap_btree.c
100
return error;
fs/xfs/libxfs/xfs_rmap_btree.c
131
int error;
fs/xfs/libxfs/xfs_rmap_btree.c
136
error = xfs_alloc_put_freelist(pag, cur->bc_tp, agbp, NULL, bno, 1);
fs/xfs/libxfs/xfs_rmap_btree.c
137
if (error)
fs/xfs/libxfs/xfs_rmap_btree.c
138
return error;
fs/xfs/libxfs/xfs_rmap_btree.c
826
int error;
fs/xfs/libxfs/xfs_rmap_btree.c
831
error = xfs_alloc_read_agf(pag, tp, 0, &agbp);
fs/xfs/libxfs/xfs_rmap_btree.c
832
if (error)
fs/xfs/libxfs/xfs_rmap_btree.c
833
return error;
fs/xfs/libxfs/xfs_rmap_btree.c
852
return error;
fs/xfs/libxfs/xfs_rmap_btree.c
93
int error;
fs/xfs/libxfs/xfs_rmap_btree.c
97
error = xfs_alloc_get_freelist(pag, cur->bc_tp, cur->bc_ag.agbp,
fs/xfs/libxfs/xfs_rmap_btree.c
99
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1035
int error;
fs/xfs/libxfs/xfs_rtbitmap.c
1037
error = xfs_rtcheck_range(args, start, len, 0, &new, &stat);
fs/xfs/libxfs/xfs_rtbitmap.c
1038
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1039
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
1064
int error;
fs/xfs/libxfs/xfs_rtbitmap.c
1073
error = xfs_rtcheck_alloc_range(&args, start, len);
fs/xfs/libxfs/xfs_rtbitmap.c
1074
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1075
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
1080
error = xfs_rtfree_range(&args, start, len);
fs/xfs/libxfs/xfs_rtbitmap.c
1081
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1104
error = 0;
fs/xfs/libxfs/xfs_rtbitmap.c
1107
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
1124
int error;
fs/xfs/libxfs/xfs_rtbitmap.c
1141
error = xfs_rtfree_extent(tp, rtg, xfs_rtb_to_rtx(mp, rtbno),
fs/xfs/libxfs/xfs_rtbitmap.c
1143
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1144
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
1169
int error = 0;
fs/xfs/libxfs/xfs_rtbitmap.c
1188
error = xfs_rtcheck_range(&args, start, 1, 1, &rtend,
fs/xfs/libxfs/xfs_rtbitmap.c
1190
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1194
error = xfs_rtfind_forw(&args, start, end, &rtend);
fs/xfs/libxfs/xfs_rtbitmap.c
1195
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1202
error = fn(rtg, tp, &rec, priv);
fs/xfs/libxfs/xfs_rtbitmap.c
1203
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1211
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
1242
int error;
fs/xfs/libxfs/xfs_rtbitmap.c
1244
error = xfs_rtcheck_range(&args, start, len, 1, &end, &matches);
fs/xfs/libxfs/xfs_rtbitmap.c
1246
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1247
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
1337
int error;
fs/xfs/libxfs/xfs_rtbitmap.c
1339
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtalloc,
fs/xfs/libxfs/xfs_rtbitmap.c
1341
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1342
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
1347
error = xfs_iext_count_extend(tp, ip, XFS_DATA_FORK,
fs/xfs/libxfs/xfs_rtbitmap.c
1349
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1352
error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb,
fs/xfs/libxfs/xfs_rtbitmap.c
1354
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1361
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
1379
int error;
fs/xfs/libxfs/xfs_rtbitmap.c
1388
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtzero, 0, 0, 0, &tp);
fs/xfs/libxfs/xfs_rtbitmap.c
1389
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1390
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
1394
error = xfs_trans_get_buf(tp, mp->m_ddev_targp,
fs/xfs/libxfs/xfs_rtbitmap.c
1396
if (error) {
fs/xfs/libxfs/xfs_rtbitmap.c
1398
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
1447
int error;
fs/xfs/libxfs/xfs_rtbitmap.c
1449
error = xfs_rtfile_alloc_blocks(rtg->rtg_inodes[type],
fs/xfs/libxfs/xfs_rtbitmap.c
1451
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1452
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
1460
error = xfs_rtfile_initialize_block(rtg, type,
fs/xfs/libxfs/xfs_rtbitmap.c
1462
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
1463
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
163
int error;
fs/xfs/libxfs/xfs_rtbitmap.c
195
error = xfs_bmapi_read(ip, block, 1, &map, &nmap, 0);
fs/xfs/libxfs/xfs_rtbitmap.c
196
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
197
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
205
error = xfs_trans_read_buf(mp, args->tp, mp->m_ddev_targp,
fs/xfs/libxfs/xfs_rtbitmap.c
209
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_rtbitmap.c
211
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
212
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
273
int error; /* error value */
fs/xfs/libxfs/xfs_rtbitmap.c
287
error = xfs_rtbitmap_read_buf(args, block);
fs/xfs/libxfs/xfs_rtbitmap.c
288
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
289
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
336
error = xfs_rtbitmap_read_buf(args, --block);
fs/xfs/libxfs/xfs_rtbitmap.c
337
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
338
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
374
error = xfs_rtbitmap_read_buf(args, --block);
fs/xfs/libxfs/xfs_rtbitmap.c
375
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
376
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
427
int error;
fs/xfs/libxfs/xfs_rtbitmap.c
443
error = xfs_rtbitmap_read_buf(args, block);
fs/xfs/libxfs/xfs_rtbitmap.c
444
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
445
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
491
error = xfs_rtbitmap_read_buf(args, ++block);
fs/xfs/libxfs/xfs_rtbitmap.c
492
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
493
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
529
error = xfs_rtbitmap_read_buf(args, ++block);
fs/xfs/libxfs/xfs_rtbitmap.c
530
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
531
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
597
int error;
fs/xfs/libxfs/xfs_rtbitmap.c
599
error = xfs_rtsummary_read_buf(args, xfs_rtsumoffs_to_block(mp, so));
fs/xfs/libxfs/xfs_rtbitmap.c
600
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
601
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
630
int error;
fs/xfs/libxfs/xfs_rtbitmap.c
632
error = xfs_rtsummary_read_buf(args, xfs_rtsumoffs_to_block(mp, so));
fs/xfs/libxfs/xfs_rtbitmap.c
633
if (!error)
fs/xfs/libxfs/xfs_rtbitmap.c
635
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
668
int error;
fs/xfs/libxfs/xfs_rtbitmap.c
683
error = xfs_rtbitmap_read_buf(args, block);
fs/xfs/libxfs/xfs_rtbitmap.c
684
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
685
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
726
error = xfs_rtbitmap_read_buf(args, ++block);
fs/xfs/libxfs/xfs_rtbitmap.c
727
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
728
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
758
error = xfs_rtbitmap_read_buf(args, ++block);
fs/xfs/libxfs/xfs_rtbitmap.c
759
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
760
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
805
int error; /* error value */
fs/xfs/libxfs/xfs_rtbitmap.c
813
error = xfs_rtmodify_range(args, start, len, 1);
fs/xfs/libxfs/xfs_rtbitmap.c
814
if (error) {
fs/xfs/libxfs/xfs_rtbitmap.c
815
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
822
error = xfs_rtfind_back(args, start, &preblock);
fs/xfs/libxfs/xfs_rtbitmap.c
823
if (error) {
fs/xfs/libxfs/xfs_rtbitmap.c
824
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
829
error = xfs_rtfind_forw(args, end, args->rtg->rtg_extents - 1,
fs/xfs/libxfs/xfs_rtbitmap.c
831
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
832
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
838
error = xfs_rtmodify_summary(args,
fs/xfs/libxfs/xfs_rtbitmap.c
841
if (error) {
fs/xfs/libxfs/xfs_rtbitmap.c
842
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
850
error = xfs_rtmodify_summary(args,
fs/xfs/libxfs/xfs_rtbitmap.c
853
if (error) {
fs/xfs/libxfs/xfs_rtbitmap.c
854
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
882
int error;
fs/xfs/libxfs/xfs_rtbitmap.c
897
error = xfs_rtbitmap_read_buf(args, block);
fs/xfs/libxfs/xfs_rtbitmap.c
898
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
899
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
945
error = xfs_rtbitmap_read_buf(args, ++block);
fs/xfs/libxfs/xfs_rtbitmap.c
946
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
947
return error;
fs/xfs/libxfs/xfs_rtbitmap.c
984
error = xfs_rtbitmap_read_buf(args, ++block);
fs/xfs/libxfs/xfs_rtbitmap.c
985
if (error)
fs/xfs/libxfs/xfs_rtbitmap.c
986
return error;
fs/xfs/libxfs/xfs_rtgroup.c
107
error = xfs_group_insert(mp, rtg_group(rtg), rgno, XG_TYPE_RTG);
fs/xfs/libxfs/xfs_rtgroup.c
108
if (error)
fs/xfs/libxfs/xfs_rtgroup.c
114
return error;
fs/xfs/libxfs/xfs_rtgroup.c
147
int error;
fs/xfs/libxfs/xfs_rtgroup.c
153
error = xfs_rtgroup_alloc(mp, index, end_rgno, rextents);
fs/xfs/libxfs/xfs_rtgroup.c
154
if (error)
fs/xfs/libxfs/xfs_rtgroup.c
162
return error;
fs/xfs/libxfs/xfs_rtgroup.c
449
int error;
fs/xfs/libxfs/xfs_rtgroup.c
469
error = xfs_trans_metafile_iget(tp, ino, ops->metafile_type,
fs/xfs/libxfs/xfs_rtgroup.c
482
error = xfs_metadir_load(tp, mp->m_rtdirip, path,
fs/xfs/libxfs/xfs_rtgroup.c
487
if (error) {
fs/xfs/libxfs/xfs_rtgroup.c
488
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_rtgroup.c
490
return error;
fs/xfs/libxfs/xfs_rtgroup.c
533
int error;
fs/xfs/libxfs/xfs_rtgroup.c
547
error = xfs_metadir_start_create(&upd);
fs/xfs/libxfs/xfs_rtgroup.c
548
if (error)
fs/xfs/libxfs/xfs_rtgroup.c
551
error = xfs_metadir_create(&upd, S_IFREG);
fs/xfs/libxfs/xfs_rtgroup.c
552
if (error)
fs/xfs/libxfs/xfs_rtgroup.c
558
error = ops->create(rtg, upd.ip, upd.tp, init);
fs/xfs/libxfs/xfs_rtgroup.c
559
if (error)
fs/xfs/libxfs/xfs_rtgroup.c
562
error = xfs_metadir_commit(&upd);
fs/xfs/libxfs/xfs_rtgroup.c
563
if (error)
fs/xfs/libxfs/xfs_rtgroup.c
572
xfs_metadir_cancel(&upd, error);
fs/xfs/libxfs/xfs_rtgroup.c
580
return error;
fs/xfs/libxfs/xfs_rtgroup.c
99
int error;
fs/xfs/libxfs/xfs_rtrmap_btree.c
1005
int error;
fs/xfs/libxfs/xfs_rtrmap_btree.c
1011
error = xfs_rmap_map_raw(cur, &rmap);
fs/xfs/libxfs/xfs_rtrmap_btree.c
1012
xfs_btree_del_cursor(cur, error);
fs/xfs/libxfs/xfs_rtrmap_btree.c
1013
return error;
fs/xfs/libxfs/xfs_sb.c
1095
int error;
fs/xfs/libxfs/xfs_sb.c
1110
error = -EFSBADCRC;
fs/xfs/libxfs/xfs_sb.c
1121
error = xfs_validate_sb_common(mp, bp, &sb);
fs/xfs/libxfs/xfs_sb.c
1122
if (error)
fs/xfs/libxfs/xfs_sb.c
1124
error = xfs_validate_sb_read(mp, &sb);
fs/xfs/libxfs/xfs_sb.c
1127
if (error == -EFSCORRUPTED || error == -EFSBADCRC)
fs/xfs/libxfs/xfs_sb.c
1128
xfs_verifier_error(bp, error, __this_address);
fs/xfs/libxfs/xfs_sb.c
1129
else if (error)
fs/xfs/libxfs/xfs_sb.c
1130
xfs_buf_ioerror(bp, error);
fs/xfs/libxfs/xfs_sb.c
1162
int error;
fs/xfs/libxfs/xfs_sb.c
1169
error = xfs_validate_sb_common(mp, bp, &sb);
fs/xfs/libxfs/xfs_sb.c
1170
if (error)
fs/xfs/libxfs/xfs_sb.c
1172
error = xfs_validate_sb_write(mp, bp, &sb);
fs/xfs/libxfs/xfs_sb.c
1173
if (error)
fs/xfs/libxfs/xfs_sb.c
1186
xfs_verifier_error(bp, error, __this_address);
fs/xfs/libxfs/xfs_sb.c
1381
int error;
fs/xfs/libxfs/xfs_sb.c
1383
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_sb, 0, 0,
fs/xfs/libxfs/xfs_sb.c
1385
if (error)
fs/xfs/libxfs/xfs_sb.c
1386
return error;
fs/xfs/libxfs/xfs_sb.c
1410
int error = 0;
fs/xfs/libxfs/xfs_sb.c
1417
error = xfs_buf_get(mp->m_ddev_targp,
fs/xfs/libxfs/xfs_sb.c
1427
if (error) {
fs/xfs/libxfs/xfs_sb.c
1432
saved_error = error;
fs/xfs/libxfs/xfs_sb.c
1447
error = xfs_buf_delwri_submit(&buffer_list);
fs/xfs/libxfs/xfs_sb.c
1448
if (error) {
fs/xfs/libxfs/xfs_sb.c
1451
error, pag_agno(pag));
fs/xfs/libxfs/xfs_sb.c
1453
saved_error = error;
fs/xfs/libxfs/xfs_sb.c
1457
error = xfs_buf_delwri_submit(&buffer_list);
fs/xfs/libxfs/xfs_sb.c
1458
if (error)
fs/xfs/libxfs/xfs_sb.c
1459
xfs_warn(mp, "error %d writing secondary superblocks", error);
fs/xfs/libxfs/xfs_sb.c
1460
return saved_error ? saved_error : error;
fs/xfs/libxfs/xfs_sb.c
1475
int error;
fs/xfs/libxfs/xfs_sb.c
1477
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_sb, 0, 0, 0, &tp);
fs/xfs/libxfs/xfs_sb.c
1478
if (error)
fs/xfs/libxfs/xfs_sb.c
1479
return error;
fs/xfs/libxfs/xfs_sb.c
1490
error = xfs_trans_commit(tp);
fs/xfs/libxfs/xfs_sb.c
1491
if (error)
fs/xfs/libxfs/xfs_sb.c
1496
error = xfs_bwrite(bp);
fs/xfs/libxfs/xfs_sb.c
1497
if (!error && rtsb_bp)
fs/xfs/libxfs/xfs_sb.c
1498
error = xfs_bwrite(rtsb_bp);
fs/xfs/libxfs/xfs_sb.c
1503
return error;
fs/xfs/libxfs/xfs_sb.c
1626
int error;
fs/xfs/libxfs/xfs_sb.c
1629
error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp,
fs/xfs/libxfs/xfs_sb.c
1632
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_sb.c
1634
if (error)
fs/xfs/libxfs/xfs_sb.c
1635
return error;
fs/xfs/libxfs/xfs_sb.c
1650
int error;
fs/xfs/libxfs/xfs_sb.c
1653
error = xfs_trans_get_buf(tp, mp->m_ddev_targp,
fs/xfs/libxfs/xfs_sb.c
1656
if (error)
fs/xfs/libxfs/xfs_sb.c
1657
return error;
fs/xfs/libxfs/xfs_sb.c
501
int error;
fs/xfs/libxfs/xfs_sb.c
574
error = xfs_validate_sb_rtgroups(mp, sbp);
fs/xfs/libxfs/xfs_sb.c
575
if (error)
fs/xfs/libxfs/xfs_sb.c
576
return error;
fs/xfs/libxfs/xfs_sb.c
579
error = xfs_validate_sb_zoned(mp, sbp);
fs/xfs/libxfs/xfs_sb.c
580
if (error)
fs/xfs/libxfs/xfs_sb.c
581
return error;
fs/xfs/libxfs/xfs_symlink_remote.c
252
int error = 0;
fs/xfs/libxfs/xfs_symlink_remote.c
259
error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0);
fs/xfs/libxfs/xfs_symlink_remote.c
260
if (error)
fs/xfs/libxfs/xfs_symlink_remote.c
268
error = xfs_buf_read(mp->m_ddev_targp, d, BTOBB(byte_cnt), 0,
fs/xfs/libxfs/xfs_symlink_remote.c
270
if (xfs_metadata_is_sick(error))
fs/xfs/libxfs/xfs_symlink_remote.c
272
if (error)
fs/xfs/libxfs/xfs_symlink_remote.c
273
return error;
fs/xfs/libxfs/xfs_symlink_remote.c
283
error = -EFSCORRUPTED;
fs/xfs/libxfs/xfs_symlink_remote.c
305
error = 0;
fs/xfs/libxfs/xfs_symlink_remote.c
308
return error;
fs/xfs/libxfs/xfs_symlink_remote.c
331
int error;
fs/xfs/libxfs/xfs_symlink_remote.c
346
error = xfs_bmapi_write(tp, ip, 0, fs_blocks, XFS_BMAPI_METADATA,
fs/xfs/libxfs/xfs_symlink_remote.c
348
if (error)
fs/xfs/libxfs/xfs_symlink_remote.c
349
return error;
fs/xfs/libxfs/xfs_symlink_remote.c
361
error = xfs_trans_get_buf(tp, mp->m_ddev_targp, d,
fs/xfs/libxfs/xfs_symlink_remote.c
363
if (error)
fs/xfs/libxfs/xfs_symlink_remote.c
364
return error;
fs/xfs/libxfs/xfs_symlink_remote.c
399
int error;
fs/xfs/libxfs/xfs_symlink_remote.c
402
error = xfs_bmapi_read(ip, 0, XFS_MAX_FILEOFF, mval, &nmaps, 0);
fs/xfs/libxfs/xfs_symlink_remote.c
403
if (error)
fs/xfs/libxfs/xfs_symlink_remote.c
404
return error;
fs/xfs/libxfs/xfs_symlink_remote.c
410
error = xfs_trans_get_buf(tp, mp->m_ddev_targp,
fs/xfs/libxfs/xfs_symlink_remote.c
414
if (error)
fs/xfs/libxfs/xfs_symlink_remote.c
415
return error;
fs/xfs/libxfs/xfs_symlink_remote.c
421
error = xfs_bunmapi(tp, ip, 0, XFS_MAX_FILEOFF, 0, nmaps, &done);
fs/xfs/libxfs/xfs_symlink_remote.c
422
if (error)
fs/xfs/libxfs/xfs_symlink_remote.c
423
return error;
fs/xfs/libxfs/xfs_trans_inode.c
123
int error;
fs/xfs/libxfs/xfs_trans_inode.c
126
error = xfs_trans_roll(tpp);
fs/xfs/libxfs/xfs_trans_inode.c
127
if (!error)
fs/xfs/libxfs/xfs_trans_inode.c
129
return error;
fs/xfs/scrub/agb_bitmap.c
94
int error;
fs/xfs/scrub/agb_bitmap.c
97
error = xagb_bitmap_visit_btblock(cur, i, bitmap);
fs/xfs/scrub/agb_bitmap.c
98
if (error)
fs/xfs/scrub/agb_bitmap.c
99
return error;
fs/xfs/scrub/agheader.c
1060
return error;
fs/xfs/scrub/agheader.c
110
int error;
fs/xfs/scrub/agheader.c
126
error = xfs_sb_read_secondary(mp, sc->tp, agno, &bp);
fs/xfs/scrub/agheader.c
135
switch (error) {
fs/xfs/scrub/agheader.c
139
error = -EFSCORRUPTED;
fs/xfs/scrub/agheader.c
144
if (!xchk_process_error(sc, agno, XFS_SB_BLOCK(mp), &error))
fs/xfs/scrub/agheader.c
42
int error;
fs/xfs/scrub/agheader.c
427
return error;
fs/xfs/scrub/agheader.c
452
int error;
fs/xfs/scrub/agheader.c
457
error = xfs_alloc_query_all(sc->sa.bno_cur,
fs/xfs/scrub/agheader.c
459
if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur))
fs/xfs/scrub/agheader.c
474
int error;
fs/xfs/scrub/agheader.c
480
error = xfs_alloc_lookup_le(sc->sa.cnt_cur, 0, -1U, &have);
fs/xfs/scrub/agheader.c
481
if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur))
fs/xfs/scrub/agheader.c
49
error = xchk_ag_init_existing(sc, agno, &sc->sa);
fs/xfs/scrub/agheader.c
490
error = xfs_alloc_get_rec(sc->sa.cnt_cur, &agbno, &blocks, &have);
fs/xfs/scrub/agheader.c
491
if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur))
fs/xfs/scrub/agheader.c
50
if (!xchk_xref_process_error(sc, agno, agbno, &error))
fs/xfs/scrub/agheader.c
506
int error;
fs/xfs/scrub/agheader.c
514
error = xfs_btree_count_blocks(sc->sa.rmap_cur, &blocks);
fs/xfs/scrub/agheader.c
515
if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
fs/xfs/scrub/agheader.c
533
error = xfs_btree_count_blocks(sc->sa.bno_cur, &blocks);
fs/xfs/scrub/agheader.c
534
if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur))
fs/xfs/scrub/agheader.c
538
error = xfs_btree_count_blocks(sc->sa.cnt_cur, &blocks);
fs/xfs/scrub/agheader.c
539
if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur))
fs/xfs/scrub/agheader.c
554
int error;
fs/xfs/scrub/agheader.c
559
error = xfs_btree_count_blocks(sc->sa.refc_cur, &blocks);
fs/xfs/scrub/agheader.c
560
if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur))
fs/xfs/scrub/agheader.c
610
int error = 0;
fs/xfs/scrub/agheader.c
612
error = xchk_ag_read_headers(sc, agno, &sc->sa);
fs/xfs/scrub/agheader.c
613
if (!xchk_process_error(sc, agno, XFS_AGF_BLOCK(sc->mp), &error))
fs/xfs/scrub/agheader.c
684
return error;
fs/xfs/scrub/agheader.c
792
int error;
fs/xfs/scrub/agheader.c
795
error = xchk_ag_read_headers(sc, agno, &sc->sa);
fs/xfs/scrub/agheader.c
796
if (!xchk_process_error(sc, agno, XFS_AGFL_BLOCK(sc->mp), &error))
fs/xfs/scrub/agheader.c
797
return error;
fs/xfs/scrub/agheader.c
802
error = xfs_alloc_read_agfl(sc->sa.pag, sc->tp, &sai.agfl_bp);
fs/xfs/scrub/agheader.c
803
if (!xchk_process_error(sc, agno, XFS_AGFL_BLOCK(sc->mp), &error))
fs/xfs/scrub/agheader.c
804
return error;
fs/xfs/scrub/agheader.c
822
error = -ENOMEM;
fs/xfs/scrub/agheader.c
827
error = xfs_agfl_walk(sc->mp, sc->sa.agf_bp->b_addr, sai.agfl_bp,
fs/xfs/scrub/agheader.c
829
if (error == -ECANCELED) {
fs/xfs/scrub/agheader.c
830
error = 0;
fs/xfs/scrub/agheader.c
833
if (error)
fs/xfs/scrub/agheader.c
854
return error;
fs/xfs/scrub/agheader.c
867
int error;
fs/xfs/scrub/agheader.c
872
error = xfs_ialloc_count_inodes(sc->sa.ino_cur, &icount, &freecount);
fs/xfs/scrub/agheader.c
873
if (!xchk_should_check_xref(sc, &error, &sc->sa.ino_cur))
fs/xfs/scrub/agheader.c
887
int error = 0;
fs/xfs/scrub/agheader.c
893
error = xfs_btree_count_blocks(sc->sa.ino_cur, &blocks);
fs/xfs/scrub/agheader.c
894
if (!xchk_should_check_xref(sc, &error, &sc->sa.ino_cur))
fs/xfs/scrub/agheader.c
901
error = xfs_btree_count_blocks(sc->sa.fino_cur, &blocks);
fs/xfs/scrub/agheader.c
902
if (!xchk_should_check_xref(sc, &error, &sc->sa.fino_cur))
fs/xfs/scrub/agheader.c
990
int error = 0;
fs/xfs/scrub/agheader.c
992
error = xchk_ag_read_headers(sc, agno, &sc->sa);
fs/xfs/scrub/agheader.c
993
if (!xchk_process_error(sc, agno, XFS_AGI_BLOCK(sc->mp), &error))
fs/xfs/scrub/agheader_repair.c
100
int error = 0;
fs/xfs/scrub/agheader_repair.c
102
if (xchk_should_terminate(raa->sc, &error))
fs/xfs/scrub/agheader_repair.c
103
return error;
fs/xfs/scrub/agheader_repair.c
1046
int error;
fs/xfs/scrub/agheader_repair.c
1048
error = xchk_iget(ragi->sc, xfs_agino_to_ino(sc->sa.pag, agino), &ip);
fs/xfs/scrub/agheader_repair.c
1049
if (error)
fs/xfs/scrub/agheader_repair.c
108
return error;
fs/xfs/scrub/agheader_repair.c
1087
int error = 0;
fs/xfs/scrub/agheader_repair.c
1093
if (xchk_should_terminate(ragi->sc, &error))
fs/xfs/scrub/agheader_repair.c
1094
return error;
fs/xfs/scrub/agheader_repair.c
1143
int error;
fs/xfs/scrub/agheader_repair.c
1154
error = xagino_bitmap_set(&ragi->iunlink_bmp, agino, 1);
fs/xfs/scrub/agheader_repair.c
1155
if (error)
fs/xfs/scrub/agheader_repair.c
1156
return error;
fs/xfs/scrub/agheader_repair.c
1183
int error = 0;
fs/xfs/scrub/agheader_repair.c
1185
if (xchk_should_terminate(ragi->sc, &error))
fs/xfs/scrub/agheader_repair.c
1186
return error;
fs/xfs/scrub/agheader_repair.c
1229
error = xrep_iunlink_visit(ragi, i);
fs/xfs/scrub/agheader_repair.c
1230
if (error)
fs/xfs/scrub/agheader_repair.c
1231
return error;
fs/xfs/scrub/agheader_repair.c
1251
int error = 0;
fs/xfs/scrub/agheader_repair.c
1283
error = xchk_iget(ragi->sc, xfs_agino_to_ino(sc->sa.pag, agino),
fs/xfs/scrub/agheader_repair.c
1285
if (error)
fs/xfs/scrub/agheader_repair.c
1291
error = xagino_bitmap_set(&ragi->iunlink_bmp, agino, 1);
fs/xfs/scrub/agheader_repair.c
1293
if (error)
fs/xfs/scrub/agheader_repair.c
1297
return error;
fs/xfs/scrub/agheader_repair.c
1312
int error;
fs/xfs/scrub/agheader_repair.c
1315
error = xfs_btree_query_all(cur, xrep_iunlink_mark_ondisk_rec, ragi);
fs/xfs/scrub/agheader_repair.c
1316
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/agheader_repair.c
1333
int error = 0;
fs/xfs/scrub/agheader_repair.c
1336
if (xchk_should_terminate(ragi->sc, &error))
fs/xfs/scrub/agheader_repair.c
1337
return error;
fs/xfs/scrub/agheader_repair.c
1383
error = xagino_bitmap_clear(&ragi->iunlink_bmp, next_agino, 1);
fs/xfs/scrub/agheader_repair.c
1384
if (error)
fs/xfs/scrub/agheader_repair.c
1385
return error;
fs/xfs/scrub/agheader_repair.c
1389
error = xrep_iunlink_store_next(ragi, prev_agino,
fs/xfs/scrub/agheader_repair.c
1391
if (error)
fs/xfs/scrub/agheader_repair.c
1392
return error;
fs/xfs/scrub/agheader_repair.c
1396
error = xrep_iunlink_store_prev(ragi, next_agino, prev_agino);
fs/xfs/scrub/agheader_repair.c
1397
if (error)
fs/xfs/scrub/agheader_repair.c
1398
return error;
fs/xfs/scrub/agheader_repair.c
1407
error = xrep_iunlink_store_next(ragi, prev_agino, next_agino);
fs/xfs/scrub/agheader_repair.c
1408
if (error)
fs/xfs/scrub/agheader_repair.c
1409
return error;
fs/xfs/scrub/agheader_repair.c
1423
int error;
fs/xfs/scrub/agheader_repair.c
1433
error = xrep_iunlink_store_next(ragi, agino, current_head);
fs/xfs/scrub/agheader_repair.c
1434
if (error)
fs/xfs/scrub/agheader_repair.c
1435
return error;
fs/xfs/scrub/agheader_repair.c
1439
error = xrep_iunlink_store_prev(ragi, current_head, agino);
fs/xfs/scrub/agheader_repair.c
1440
if (error)
fs/xfs/scrub/agheader_repair.c
1441
return error;
fs/xfs/scrub/agheader_repair.c
1456
int error;
fs/xfs/scrub/agheader_repair.c
1459
error = xrep_iunlink_add_to_bucket(ragi, start);
fs/xfs/scrub/agheader_repair.c
1460
if (error)
fs/xfs/scrub/agheader_repair.c
1461
return error;
fs/xfs/scrub/agheader_repair.c
1476
int error;
fs/xfs/scrub/agheader_repair.c
1486
error = xrep_iunlink_walk_ondisk_bucket(ragi, i);
fs/xfs/scrub/agheader_repair.c
1487
if (error)
fs/xfs/scrub/agheader_repair.c
1488
return error;
fs/xfs/scrub/agheader_repair.c
1496
error = xrep_iunlink_mark_incore(ragi);
fs/xfs/scrub/agheader_repair.c
1497
if (error)
fs/xfs/scrub/agheader_repair.c
1498
return error;
fs/xfs/scrub/agheader_repair.c
1512
error = xrep_iunlink_resolve_bucket(ragi, i);
fs/xfs/scrub/agheader_repair.c
1513
if (error)
fs/xfs/scrub/agheader_repair.c
1514
return error;
fs/xfs/scrub/agheader_repair.c
1538
int error = 0;
fs/xfs/scrub/agheader_repair.c
1548
error = xchk_iget(sc, xfs_agino_to_ino(pag, agino), &ip);
fs/xfs/scrub/agheader_repair.c
1549
if (error)
fs/xfs/scrub/agheader_repair.c
1555
error = xfarray_load(ragi->iunlink_prev, agino, &prev_agino);
fs/xfs/scrub/agheader_repair.c
1556
if (error)
fs/xfs/scrub/agheader_repair.c
1565
error = xfs_iunlink_log_inode(sc->tp, ip, pag, next_agino);
fs/xfs/scrub/agheader_repair.c
1566
if (error)
fs/xfs/scrub/agheader_repair.c
1581
return error;
fs/xfs/scrub/agheader_repair.c
1596
int error = 0;
fs/xfs/scrub/agheader_repair.c
1608
error = xchk_iget(sc, xfs_agino_to_ino(pag, agino), &ip);
fs/xfs/scrub/agheader_repair.c
1609
if (error)
fs/xfs/scrub/agheader_repair.c
1615
error = xfarray_load(ragi->iunlink_prev, agino, &next_agino);
fs/xfs/scrub/agheader_repair.c
1616
if (error)
fs/xfs/scrub/agheader_repair.c
1619
error = xfs_iunlink_log_inode(sc->tp, ip, pag, next_agino);
fs/xfs/scrub/agheader_repair.c
1620
if (error)
fs/xfs/scrub/agheader_repair.c
1641
return error;
fs/xfs/scrub/agheader_repair.c
165
int error;
fs/xfs/scrub/agheader_repair.c
1653
int error;
fs/xfs/scrub/agheader_repair.c
1656
while ((error = xfarray_iter(ragi->iunlink_next, &idx, &agino)) == 1) {
fs/xfs/scrub/agheader_repair.c
1657
error = xrep_iunlink_relink_next(ragi, idx, agino);
fs/xfs/scrub/agheader_repair.c
1658
if (error)
fs/xfs/scrub/agheader_repair.c
1659
return error;
fs/xfs/scrub/agheader_repair.c
1664
while ((error = xfarray_iter(ragi->iunlink_prev, &idx, &agino)) == 1) {
fs/xfs/scrub/agheader_repair.c
1665
error = xrep_iunlink_relink_prev(ragi, idx, agino);
fs/xfs/scrub/agheader_repair.c
1666
if (error)
fs/xfs/scrub/agheader_repair.c
1667
return error;
fs/xfs/scrub/agheader_repair.c
168
error = xrep_find_ag_btree_roots(sc, agf_bp, fab, agfl_bp);
fs/xfs/scrub/agheader_repair.c
169
if (error)
fs/xfs/scrub/agheader_repair.c
170
return error;
fs/xfs/scrub/agheader_repair.c
1716
int error;
fs/xfs/scrub/agheader_repair.c
1748
error = xfarray_create("iunlinked next pointers", 0,
fs/xfs/scrub/agheader_repair.c
1750
if (error)
fs/xfs/scrub/agheader_repair.c
1751
return error;
fs/xfs/scrub/agheader_repair.c
1753
error = xfarray_create("iunlinked prev pointers", 0,
fs/xfs/scrub/agheader_repair.c
1755
if (error)
fs/xfs/scrub/agheader_repair.c
1756
return error;
fs/xfs/scrub/agheader_repair.c
1762
error = xfs_trans_read_buf(mp, sc->tp, mp->m_ddev_targp,
fs/xfs/scrub/agheader_repair.c
1766
if (error)
fs/xfs/scrub/agheader_repair.c
1767
return error;
fs/xfs/scrub/agheader_repair.c
1771
error = xrep_agi_find_btrees(ragi);
fs/xfs/scrub/agheader_repair.c
1772
if (error)
fs/xfs/scrub/agheader_repair.c
1773
return error;
fs/xfs/scrub/agheader_repair.c
1775
error = xrep_iunlink_rebuild_buckets(ragi);
fs/xfs/scrub/agheader_repair.c
1776
if (error)
fs/xfs/scrub/agheader_repair.c
1777
return error;
fs/xfs/scrub/agheader_repair.c
1780
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/agheader_repair.c
1781
return error;
fs/xfs/scrub/agheader_repair.c
1786
error = xrep_agi_calc_from_btrees(ragi);
fs/xfs/scrub/agheader_repair.c
1787
if (error)
fs/xfs/scrub/agheader_repair.c
1789
error = xrep_iunlink_commit(ragi);
fs/xfs/scrub/agheader_repair.c
1790
if (error)
fs/xfs/scrub/agheader_repair.c
1800
return error;
fs/xfs/scrub/agheader_repair.c
260
int error;
fs/xfs/scrub/agheader_repair.c
264
error = xfs_alloc_query_all(cur, xrep_agf_walk_allocbt, &raa);
fs/xfs/scrub/agheader_repair.c
265
if (error)
fs/xfs/scrub/agheader_repair.c
267
error = xfs_btree_count_blocks(cur, &blocks);
fs/xfs/scrub/agheader_repair.c
268
if (error)
fs/xfs/scrub/agheader_repair.c
270
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/agheader_repair.c
277
error = xfs_btree_count_blocks(cur, &blocks);
fs/xfs/scrub/agheader_repair.c
278
if (error)
fs/xfs/scrub/agheader_repair.c
280
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/agheader_repair.c
285
error = xfs_btree_count_blocks(cur, &blocks);
fs/xfs/scrub/agheader_repair.c
286
if (error)
fs/xfs/scrub/agheader_repair.c
288
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/agheader_repair.c
298
error = xfs_btree_count_blocks(cur, &blocks);
fs/xfs/scrub/agheader_repair.c
299
if (error)
fs/xfs/scrub/agheader_repair.c
301
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/agheader_repair.c
307
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/agheader_repair.c
308
return error;
fs/xfs/scrub/agheader_repair.c
376
int error;
fs/xfs/scrub/agheader_repair.c
386
error = xfs_trans_read_buf(mp, sc->tp, mp->m_ddev_targp,
fs/xfs/scrub/agheader_repair.c
390
if (error)
fs/xfs/scrub/agheader_repair.c
391
return error;
fs/xfs/scrub/agheader_repair.c
404
error = xfs_alloc_read_agfl(sc->sa.pag, sc->tp, &agfl_bp);
fs/xfs/scrub/agheader_repair.c
405
if (error)
fs/xfs/scrub/agheader_repair.c
406
return error;
fs/xfs/scrub/agheader_repair.c
412
error = xfs_agfl_walk(sc->mp, agf_bp->b_addr, agfl_bp,
fs/xfs/scrub/agheader_repair.c
414
if (error)
fs/xfs/scrub/agheader_repair.c
415
return error;
fs/xfs/scrub/agheader_repair.c
421
error = xrep_agf_find_btrees(sc, agf_bp, fab, agfl_bp);
fs/xfs/scrub/agheader_repair.c
422
if (error)
fs/xfs/scrub/agheader_repair.c
423
return error;
fs/xfs/scrub/agheader_repair.c
426
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/agheader_repair.c
427
return error;
fs/xfs/scrub/agheader_repair.c
432
error = xrep_agf_calc_from_btrees(sc, agf_bp);
fs/xfs/scrub/agheader_repair.c
433
if (error)
fs/xfs/scrub/agheader_repair.c
443
return error;
fs/xfs/scrub/agheader_repair.c
47
int error;
fs/xfs/scrub/agheader_repair.c
472
int error = 0;
fs/xfs/scrub/agheader_repair.c
474
if (xchk_should_terminate(ra->sc, &error))
fs/xfs/scrub/agheader_repair.c
475
return error;
fs/xfs/scrub/agheader_repair.c
479
error = xagb_bitmap_set(ra->freesp, rec->rm_startblock,
fs/xfs/scrub/agheader_repair.c
481
if (error)
fs/xfs/scrub/agheader_repair.c
482
return error;
fs/xfs/scrub/agheader_repair.c
497
int error;
fs/xfs/scrub/agheader_repair.c
502
error = xfs_rmap_has_other_keys(ra->rmap_cur, agbno, 1,
fs/xfs/scrub/agheader_repair.c
504
if (error)
fs/xfs/scrub/agheader_repair.c
505
return error;
fs/xfs/scrub/agheader_repair.c
508
error = xagb_bitmap_set(&ra->crossed, agbno, 1);
fs/xfs/scrub/agheader_repair.c
509
if (error)
fs/xfs/scrub/agheader_repair.c
510
return error;
fs/xfs/scrub/agheader_repair.c
513
if (xchk_should_terminate(ra->sc, &error))
fs/xfs/scrub/agheader_repair.c
514
return error;
fs/xfs/scrub/agheader_repair.c
54
error = xfs_sb_get_secondary(mp, sc->tp, agno, &bp);
fs/xfs/scrub/agheader_repair.c
540
int error;
fs/xfs/scrub/agheader_repair.c
549
error = xfs_rmap_query_all(cur, xrep_agfl_walk_rmap, &ra);
fs/xfs/scrub/agheader_repair.c
55
if (error)
fs/xfs/scrub/agheader_repair.c
550
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/agheader_repair.c
551
if (error)
fs/xfs/scrub/agheader_repair.c
556
error = xagb_bitmap_set_btblocks(&ra.agmetablocks, cur);
fs/xfs/scrub/agheader_repair.c
557
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/agheader_repair.c
558
if (error)
fs/xfs/scrub/agheader_repair.c
56
return error;
fs/xfs/scrub/agheader_repair.c
563
error = xagb_bitmap_set_btblocks(&ra.agmetablocks, cur);
fs/xfs/scrub/agheader_repair.c
564
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/agheader_repair.c
565
if (error)
fs/xfs/scrub/agheader_repair.c
572
error = xagb_bitmap_disunion(agfl_extents, &ra.agmetablocks);
fs/xfs/scrub/agheader_repair.c
573
if (error)
fs/xfs/scrub/agheader_repair.c
578
error = xagb_bitmap_walk(agfl_extents, xrep_agfl_check_extent, &ra);
fs/xfs/scrub/agheader_repair.c
579
xfs_btree_del_cursor(ra.rmap_cur, error);
fs/xfs/scrub/agheader_repair.c
580
if (error)
fs/xfs/scrub/agheader_repair.c
582
error = xagb_bitmap_disunion(agfl_extents, &ra.crossed);
fs/xfs/scrub/agheader_repair.c
583
if (error)
fs/xfs/scrub/agheader_repair.c
59
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/agheader_repair.c
596
return error;
fs/xfs/scrub/agheader_repair.c
60
return error;
fs/xfs/scrub/agheader_repair.c
648
int error;
fs/xfs/scrub/agheader_repair.c
655
error = xagb_bitmap_set(&af->used_extents, start, agbno - 1);
fs/xfs/scrub/agheader_repair.c
656
if (error)
fs/xfs/scrub/agheader_repair.c
657
return error;
fs/xfs/scrub/agheader_repair.c
679
int error;
fs/xfs/scrub/agheader_repair.c
701
error = xagb_bitmap_disunion(agfl_extents, &af.used_extents);
fs/xfs/scrub/agheader_repair.c
702
if (error)
fs/xfs/scrub/agheader_repair.c
703
return error;
fs/xfs/scrub/agheader_repair.c
722
int error;
fs/xfs/scrub/agheader_repair.c
735
error = xfs_alloc_read_agf(sc->sa.pag, sc->tp, 0, &agf_bp);
fs/xfs/scrub/agheader_repair.c
736
if (error)
fs/xfs/scrub/agheader_repair.c
737
return error;
fs/xfs/scrub/agheader_repair.c
743
error = xfs_trans_read_buf(mp, sc->tp, mp->m_ddev_targp,
fs/xfs/scrub/agheader_repair.c
747
if (error)
fs/xfs/scrub/agheader_repair.c
748
return error;
fs/xfs/scrub/agheader_repair.c
752
error = xrep_agfl_collect_blocks(sc, agf_bp, &agfl_extents, &flcount);
fs/xfs/scrub/agheader_repair.c
753
if (error)
fs/xfs/scrub/agheader_repair.c
757
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/agheader_repair.c
766
error = xrep_agfl_init_header(sc, agfl_bp, &agfl_extents, flcount);
fs/xfs/scrub/agheader_repair.c
767
if (error)
fs/xfs/scrub/agheader_repair.c
776
error = xrep_roll_ag_trans(sc);
fs/xfs/scrub/agheader_repair.c
777
if (error)
fs/xfs/scrub/agheader_repair.c
781
error = xrep_reap_agblocks(sc, &agfl_extents, &XFS_RMAP_OINFO_AG,
fs/xfs/scrub/agheader_repair.c
783
if (error)
fs/xfs/scrub/agheader_repair.c
788
return error;
fs/xfs/scrub/agheader_repair.c
861
int error;
fs/xfs/scrub/agheader_repair.c
864
error = xfs_alloc_read_agf(sc->sa.pag, sc->tp, 0, &agf_bp);
fs/xfs/scrub/agheader_repair.c
865
if (error)
fs/xfs/scrub/agheader_repair.c
866
return error;
fs/xfs/scrub/agheader_repair.c
869
error = xrep_find_ag_btree_roots(sc, agf_bp, fab, NULL);
fs/xfs/scrub/agheader_repair.c
870
if (error)
fs/xfs/scrub/agheader_repair.c
871
return error;
fs/xfs/scrub/agheader_repair.c
946
int error;
fs/xfs/scrub/agheader_repair.c
949
error = xfs_ialloc_count_inodes(cur, &count, &freecount);
fs/xfs/scrub/agheader_repair.c
950
if (error)
fs/xfs/scrub/agheader_repair.c
955
error = xfs_btree_count_blocks(cur, &blocks);
fs/xfs/scrub/agheader_repair.c
956
if (error)
fs/xfs/scrub/agheader_repair.c
960
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/agheader_repair.c
969
error = xfs_btree_count_blocks(cur, &blocks);
fs/xfs/scrub/agheader_repair.c
970
if (error)
fs/xfs/scrub/agheader_repair.c
972
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/agheader_repair.c
978
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/agheader_repair.c
979
return error;
fs/xfs/scrub/alloc.c
184
int error;
fs/xfs/scrub/alloc.c
189
error = xfs_alloc_has_records(sc->sa.bno_cur, agbno, len, &outcome);
fs/xfs/scrub/alloc.c
190
if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur))
fs/xfs/scrub/alloc.c
30
int error;
fs/xfs/scrub/alloc.c
35
error = xchk_setup_ag_btree(sc, false);
fs/xfs/scrub/alloc.c
36
if (error)
fs/xfs/scrub/alloc.c
37
return error;
fs/xfs/scrub/alloc.c
66
int error;
fs/xfs/scrub/alloc.c
75
error = xfs_alloc_lookup_le(*pcur, agbno, len, &has_otherrec);
fs/xfs/scrub/alloc.c
76
if (!xchk_should_check_xref(sc, &error, pcur))
fs/xfs/scrub/alloc.c
83
error = xfs_alloc_get_rec(*pcur, &fbno, &flen, &has_otherrec);
fs/xfs/scrub/alloc.c
84
if (!xchk_should_check_xref(sc, &error, pcur))
fs/xfs/scrub/alloc_repair.c
154
int error;
fs/xfs/scrub/alloc_repair.c
160
error = xfs_ialloc_has_inodes_at_extent(sc->sa.ino_cur,
fs/xfs/scrub/alloc_repair.c
162
if (error)
fs/xfs/scrub/alloc_repair.c
163
return error;
fs/xfs/scrub/alloc_repair.c
169
error = xfs_refcount_has_records(sc->sa.refc_cur,
fs/xfs/scrub/alloc_repair.c
172
if (error)
fs/xfs/scrub/alloc_repair.c
173
return error;
fs/xfs/scrub/alloc_repair.c
177
error = xfs_refcount_has_records(sc->sa.refc_cur,
fs/xfs/scrub/alloc_repair.c
180
if (error)
fs/xfs/scrub/alloc_repair.c
181
return error;
fs/xfs/scrub/alloc_repair.c
203
int error = 0;
fs/xfs/scrub/alloc_repair.c
205
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/alloc_repair.c
206
return error;
fs/xfs/scrub/alloc_repair.c
208
error = xrep_abt_check_free_ext(ra->sc, &arec);
fs/xfs/scrub/alloc_repair.c
209
if (error)
fs/xfs/scrub/alloc_repair.c
210
return error;
fs/xfs/scrub/alloc_repair.c
214
error = xfarray_append(ra->free_records, &arec);
fs/xfs/scrub/alloc_repair.c
215
if (error)
fs/xfs/scrub/alloc_repair.c
216
return error;
fs/xfs/scrub/alloc_repair.c
230
int error;
fs/xfs/scrub/alloc_repair.c
234
error = xagb_bitmap_set(&ra->old_allocbt_blocks,
fs/xfs/scrub/alloc_repair.c
236
if (error)
fs/xfs/scrub/alloc_repair.c
237
return error;
fs/xfs/scrub/alloc_repair.c
241
error = xagb_bitmap_set_btcur_path(&ra->not_allocbt_blocks, cur);
fs/xfs/scrub/alloc_repair.c
242
if (error)
fs/xfs/scrub/alloc_repair.c
243
return error;
fs/xfs/scrub/alloc_repair.c
247
error = xrep_abt_stash(ra, rec->rm_startblock);
fs/xfs/scrub/alloc_repair.c
248
if (error)
fs/xfs/scrub/alloc_repair.c
249
return error;
fs/xfs/scrub/alloc_repair.c
304
int error;
fs/xfs/scrub/alloc_repair.c
306
error = xfarray_sort(ra->free_records, xrep_bnobt_extent_cmp, 0);
fs/xfs/scrub/alloc_repair.c
307
if (error)
fs/xfs/scrub/alloc_repair.c
308
return error;
fs/xfs/scrub/alloc_repair.c
310
while ((error = xfarray_iter(ra->free_records, &cur, &arec)) == 1) {
fs/xfs/scrub/alloc_repair.c
317
return error;
fs/xfs/scrub/alloc_repair.c
369
int error;
fs/xfs/scrub/alloc_repair.c
379
error = xfs_rmap_query_all(sc->sa.rmap_cur, xrep_abt_walk_rmap, ra);
fs/xfs/scrub/alloc_repair.c
380
if (error)
fs/xfs/scrub/alloc_repair.c
386
error = xrep_abt_stash(ra, agend);
fs/xfs/scrub/alloc_repair.c
387
if (error)
fs/xfs/scrub/alloc_repair.c
392
error = xfs_alloc_read_agfl(sc->sa.pag, sc->tp, &agfl_bp);
fs/xfs/scrub/alloc_repair.c
393
if (error)
fs/xfs/scrub/alloc_repair.c
396
error = xfs_agfl_walk(mp, agf, agfl_bp, xrep_abt_walk_agfl, ra);
fs/xfs/scrub/alloc_repair.c
397
if (error)
fs/xfs/scrub/alloc_repair.c
401
error = xagb_bitmap_disunion(&ra->old_allocbt_blocks,
fs/xfs/scrub/alloc_repair.c
403
if (error)
fs/xfs/scrub/alloc_repair.c
412
return error;
fs/xfs/scrub/alloc_repair.c
441
int error = 0;
fs/xfs/scrub/alloc_repair.c
451
error = xfs_btree_bload_compute_geometry(cnt_cur,
fs/xfs/scrub/alloc_repair.c
453
if (error)
fs/xfs/scrub/alloc_repair.c
456
error = xfs_btree_bload_compute_geometry(bno_cur,
fs/xfs/scrub/alloc_repair.c
458
if (error)
fs/xfs/scrub/alloc_repair.c
474
error = -ENOSPC;
fs/xfs/scrub/alloc_repair.c
479
error = xfarray_load(ra->free_records, record_nr, &arec);
fs/xfs/scrub/alloc_repair.c
480
if (error)
fs/xfs/scrub/alloc_repair.c
489
error = xrep_newbt_add_extent(&ra->new_bnobt, sc->sa.pag,
fs/xfs/scrub/alloc_repair.c
491
if (error)
fs/xfs/scrub/alloc_repair.c
505
error = xfarray_store(ra->free_records, record_nr,
fs/xfs/scrub/alloc_repair.c
507
if (error)
fs/xfs/scrub/alloc_repair.c
520
error = xfarray_unset(ra->free_records, record_nr);
fs/xfs/scrub/alloc_repair.c
521
if (error)
fs/xfs/scrub/alloc_repair.c
527
return error;
fs/xfs/scrub/alloc_repair.c
539
int error;
fs/xfs/scrub/alloc_repair.c
560
error = __xfs_free_extent(sc->tp, resv->pag, free_agbno, free_aglen,
fs/xfs/scrub/alloc_repair.c
562
if (error)
fs/xfs/scrub/alloc_repair.c
563
return error;
fs/xfs/scrub/alloc_repair.c
577
int error)
fs/xfs/scrub/alloc_repair.c
581
if (error)
fs/xfs/scrub/alloc_repair.c
585
error = xrep_abt_dispose_one(ra, resv);
fs/xfs/scrub/alloc_repair.c
586
if (error)
fs/xfs/scrub/alloc_repair.c
614
int error;
fs/xfs/scrub/alloc_repair.c
617
error = xfarray_load_next(ra->free_records, &ra->array_cur,
fs/xfs/scrub/alloc_repair.c
619
if (error)
fs/xfs/scrub/alloc_repair.c
620
return error;
fs/xfs/scrub/alloc_repair.c
711
int error;
fs/xfs/scrub/alloc_repair.c
718
error = xrep_cntbt_sort_records(ra, false);
fs/xfs/scrub/alloc_repair.c
719
if (error)
fs/xfs/scrub/alloc_repair.c
720
return error;
fs/xfs/scrub/alloc_repair.c
745
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/alloc_repair.c
749
error = xrep_abt_reserve_space(ra, bno_cur, cnt_cur, &needs_resort);
fs/xfs/scrub/alloc_repair.c
750
if (error)
fs/xfs/scrub/alloc_repair.c
758
error = xrep_cntbt_sort_records(ra, needs_resort);
fs/xfs/scrub/alloc_repair.c
759
if (error)
fs/xfs/scrub/alloc_repair.c
775
error = xfs_btree_bload(cnt_cur, &ra->new_cntbt.bload, ra);
fs/xfs/scrub/alloc_repair.c
776
if (error)
fs/xfs/scrub/alloc_repair.c
779
error = xrep_bnobt_sort_records(ra);
fs/xfs/scrub/alloc_repair.c
780
if (error)
fs/xfs/scrub/alloc_repair.c
785
error = xfs_btree_bload(bno_cur, &ra->new_bnobt.bload, ra);
fs/xfs/scrub/alloc_repair.c
786
if (error)
fs/xfs/scrub/alloc_repair.c
799
error = xrep_abt_reset_counters(ra);
fs/xfs/scrub/alloc_repair.c
800
if (error)
fs/xfs/scrub/alloc_repair.c
804
xrep_abt_dispose_reservations(ra, error);
fs/xfs/scrub/alloc_repair.c
812
xfs_btree_del_cursor(cnt_cur, error);
fs/xfs/scrub/alloc_repair.c
813
xfs_btree_del_cursor(bno_cur, error);
fs/xfs/scrub/alloc_repair.c
815
xrep_abt_dispose_reservations(ra, error);
fs/xfs/scrub/alloc_repair.c
816
return error;
fs/xfs/scrub/alloc_repair.c
828
int error;
fs/xfs/scrub/alloc_repair.c
831
error = xrep_reap_agblocks(ra->sc, &ra->old_allocbt_blocks,
fs/xfs/scrub/alloc_repair.c
833
if (error)
fs/xfs/scrub/alloc_repair.c
834
return error;
fs/xfs/scrub/alloc_repair.c
853
int error;
fs/xfs/scrub/alloc_repair.c
873
error = -EDEADLOCK;
fs/xfs/scrub/alloc_repair.c
878
error = xfarray_create("free space records", mp->m_sb.sb_agblocks / 2,
fs/xfs/scrub/alloc_repair.c
881
if (error)
fs/xfs/scrub/alloc_repair.c
886
error = xrep_abt_find_freespace(ra);
fs/xfs/scrub/alloc_repair.c
887
if (error)
fs/xfs/scrub/alloc_repair.c
891
error = xrep_abt_build_new_trees(ra);
fs/xfs/scrub/alloc_repair.c
892
if (error)
fs/xfs/scrub/alloc_repair.c
896
error = xrep_abt_remove_old_trees(ra);
fs/xfs/scrub/alloc_repair.c
897
if (error)
fs/xfs/scrub/alloc_repair.c
905
return error;
fs/xfs/scrub/alloc_repair.c
914
int error;
fs/xfs/scrub/alloc_repair.c
922
error = xchk_allocbt(sc);
fs/xfs/scrub/alloc_repair.c
923
if (error)
fs/xfs/scrub/alloc_repair.c
942
error = xchk_allocbt(sc);
fs/xfs/scrub/alloc_repair.c
945
return error;
fs/xfs/scrub/attr.c
134
int error;
fs/xfs/scrub/attr.c
137
error = xrep_setup_xattr(sc);
fs/xfs/scrub/attr.c
138
if (error)
fs/xfs/scrub/attr.c
139
return error;
fs/xfs/scrub/attr.c
148
error = xchk_setup_xattr_buf(sc, XATTR_SIZE_MAX);
fs/xfs/scrub/attr.c
149
if (error)
fs/xfs/scrub/attr.c
150
return error;
fs/xfs/scrub/attr.c
188
int error = 0;
fs/xfs/scrub/attr.c
192
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/attr.c
193
return error;
fs/xfs/scrub/attr.c
224
error = xchk_setup_xattr_buf(sc, valuelen);
fs/xfs/scrub/attr.c
225
if (error == -ENOMEM)
fs/xfs/scrub/attr.c
226
error = -EDEADLOCK;
fs/xfs/scrub/attr.c
227
if (error)
fs/xfs/scrub/attr.c
228
return error;
fs/xfs/scrub/attr.c
246
error = xfs_attr_get_ilocked(&args);
fs/xfs/scrub/attr.c
248
if (error == -ENODATA)
fs/xfs/scrub/attr.c
249
error = -EFSCORRUPTED;
fs/xfs/scrub/attr.c
251
&error))
fs/xfs/scrub/attr.c
252
return error;
fs/xfs/scrub/attr.c
499
int error;
fs/xfs/scrub/attr.c
506
error = xchk_xattr_block(ds, level);
fs/xfs/scrub/attr.c
507
if (error)
fs/xfs/scrub/attr.c
513
error = xchk_da_btree_hash(ds, level, &ent->hashval);
fs/xfs/scrub/attr.c
514
if (error)
fs/xfs/scrub/attr.c
567
return error;
fs/xfs/scrub/attr.c
582
int error = 0;
fs/xfs/scrub/attr.c
596
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/attr.c
597
return error;
fs/xfs/scrub/attr.c
647
int error = 0;
fs/xfs/scrub/attr.c
653
error = xchk_setup_xattr_buf(sc, 0);
fs/xfs/scrub/attr.c
654
if (error == -ENOMEM)
fs/xfs/scrub/attr.c
656
if (error)
fs/xfs/scrub/attr.c
657
return error;
fs/xfs/scrub/attr.c
661
error = xchk_xattr_check_sf(sc);
fs/xfs/scrub/attr.c
663
error = xchk_da_btree(sc, XFS_ATTR_FORK, xchk_xattr_rec,
fs/xfs/scrub/attr.c
665
if (error)
fs/xfs/scrub/attr.c
666
return error;
fs/xfs/scrub/attr.c
681
error = xchk_xattr_walk(sc, sc->ip, xchk_xattr_actor, NULL, NULL);
fs/xfs/scrub/attr.c
682
if (!xchk_fblock_process_error(sc, XFS_ATTR_FORK, 0, &error))
fs/xfs/scrub/attr.c
683
return error;
fs/xfs/scrub/attr_repair.c
1010
int error;
fs/xfs/scrub/attr_repair.c
1016
error = xrep_reap_ifork(sc, sc->ip, XFS_ATTR_FORK);
fs/xfs/scrub/attr_repair.c
1017
if (error)
fs/xfs/scrub/attr_repair.c
1018
return error;
fs/xfs/scrub/attr_repair.c
1021
error = xrep_xattr_fork_remove(sc, sc->ip);
fs/xfs/scrub/attr_repair.c
1022
if (error)
fs/xfs/scrub/attr_repair.c
1023
return error;
fs/xfs/scrub/attr_repair.c
1037
int error;
fs/xfs/scrub/attr_repair.c
1046
error = xrep_reap_ifork(sc, sc->tempip, XFS_ATTR_FORK);
fs/xfs/scrub/attr_repair.c
1047
if (error)
fs/xfs/scrub/attr_repair.c
1048
return error;
fs/xfs/scrub/attr_repair.c
1065
int error;
fs/xfs/scrub/attr_repair.c
1069
error = xrep_xattr_recover_sf(rx);
fs/xfs/scrub/attr_repair.c
1070
if (error)
fs/xfs/scrub/attr_repair.c
1071
return error;
fs/xfs/scrub/attr_repair.c
1084
error = xfs_trans_roll(&rx->sc->tp);
fs/xfs/scrub/attr_repair.c
1085
if (error)
fs/xfs/scrub/attr_repair.c
1086
return error;
fs/xfs/scrub/attr_repair.c
1088
error = xfs_iread_extents(rx->sc->tp, ip, XFS_ATTR_FORK);
fs/xfs/scrub/attr_repair.c
1089
if (error)
fs/xfs/scrub/attr_repair.c
1090
return error;
fs/xfs/scrub/attr_repair.c
1092
error = xrep_xattr_recover(rx);
fs/xfs/scrub/attr_repair.c
1093
if (error)
fs/xfs/scrub/attr_repair.c
1094
return error;
fs/xfs/scrub/attr_repair.c
1111
int error;
fs/xfs/scrub/attr_repair.c
1119
error = xfs_parent_set(sc->tempip, sc->ip->i_ino, xname,
fs/xfs/scrub/attr_repair.c
1121
ASSERT(error != -EEXIST);
fs/xfs/scrub/attr_repair.c
1122
return error;
fs/xfs/scrub/attr_repair.c
1128
error = xfs_parent_unset(sc->tempip, sc->ip->i_ino, xname,
fs/xfs/scrub/attr_repair.c
1130
ASSERT(error != -ENOATTR);
fs/xfs/scrub/attr_repair.c
1131
return error;
fs/xfs/scrub/attr_repair.c
1151
int error;
fs/xfs/scrub/attr_repair.c
1157
error = xfarray_load(rx->pptr_recs, array_cur, &pptr);
fs/xfs/scrub/attr_repair.c
1158
if (error)
fs/xfs/scrub/attr_repair.c
1161
error = xfblob_loadname(rx->pptr_names, pptr.name_cookie,
fs/xfs/scrub/attr_repair.c
1163
if (error)
fs/xfs/scrub/attr_repair.c
1167
error = xrep_xattr_replay_pptr_update(rx, &rx->xname, &pptr);
fs/xfs/scrub/attr_repair.c
1168
if (error)
fs/xfs/scrub/attr_repair.c
1169
return error;
fs/xfs/scrub/attr_repair.c
1181
return error;
fs/xfs/scrub/attr_repair.c
1198
int error;
fs/xfs/scrub/attr_repair.c
1203
error = xfblob_storename(rx->pptr_names, &pptr.name_cookie, name);
fs/xfs/scrub/attr_repair.c
1204
if (error)
fs/xfs/scrub/attr_repair.c
1205
return error;
fs/xfs/scrub/attr_repair.c
1224
int error;
fs/xfs/scrub/attr_repair.c
1229
error = xfblob_storename(rx->pptr_names, &pptr.name_cookie, name);
fs/xfs/scrub/attr_repair.c
1230
if (error)
fs/xfs/scrub/attr_repair.c
1231
return error;
fs/xfs/scrub/attr_repair.c
1249
int error;
fs/xfs/scrub/attr_repair.c
1264
error = xrep_xattr_stash_parentadd(rx, p->name, p->dp);
fs/xfs/scrub/attr_repair.c
1266
error = xrep_xattr_stash_parentremove(rx, p->name, p->dp);
fs/xfs/scrub/attr_repair.c
1267
if (error)
fs/xfs/scrub/attr_repair.c
1284
int error;
fs/xfs/scrub/attr_repair.c
1301
error = xfs_attr_shortform_to_leaf(&args);
fs/xfs/scrub/attr_repair.c
1302
if (error)
fs/xfs/scrub/attr_repair.c
1303
return error;
fs/xfs/scrub/attr_repair.c
1309
error = xfs_defer_finish(&sc->tp);
fs/xfs/scrub/attr_repair.c
1310
if (error)
fs/xfs/scrub/attr_repair.c
1311
return error;
fs/xfs/scrub/attr_repair.c
1345
int error = 0;
fs/xfs/scrub/attr_repair.c
1369
error = xrep_xattr_swap_prep(sc, temp_local, ip_local);
fs/xfs/scrub/attr_repair.c
1370
if (error)
fs/xfs/scrub/attr_repair.c
1371
return error;
fs/xfs/scrub/attr_repair.c
1386
int error;
fs/xfs/scrub/attr_repair.c
1398
error = xrep_xattr_replay_pptr_updates(rx);
fs/xfs/scrub/attr_repair.c
1399
if (error)
fs/xfs/scrub/attr_repair.c
1400
return error;
fs/xfs/scrub/attr_repair.c
1402
error = xrep_tempexch_trans_alloc(sc, XFS_ATTR_FORK, &rx->tx);
fs/xfs/scrub/attr_repair.c
1403
if (error)
fs/xfs/scrub/attr_repair.c
1404
return error;
fs/xfs/scrub/attr_repair.c
1411
} while (!xchk_should_terminate(sc, &error));
fs/xfs/scrub/attr_repair.c
1412
return error;
fs/xfs/scrub/attr_repair.c
1424
int error;
fs/xfs/scrub/attr_repair.c
1432
error = xrep_xattr_reset_fork(sc);
fs/xfs/scrub/attr_repair.c
1433
if (error)
fs/xfs/scrub/attr_repair.c
1434
return error;
fs/xfs/scrub/attr_repair.c
1452
error = xrep_trans_commit(sc);
fs/xfs/scrub/attr_repair.c
1453
if (error)
fs/xfs/scrub/attr_repair.c
1454
return error;
fs/xfs/scrub/attr_repair.c
1463
error = xrep_tempfile_iolock_polled(rx->sc);
fs/xfs/scrub/attr_repair.c
1464
if (error)
fs/xfs/scrub/attr_repair.c
1465
return error;
fs/xfs/scrub/attr_repair.c
1472
error = xrep_xattr_finalize_tempfile(rx);
fs/xfs/scrub/attr_repair.c
1473
if (error)
fs/xfs/scrub/attr_repair.c
1474
return error;
fs/xfs/scrub/attr_repair.c
1481
error = xrep_xattr_swap(sc, &rx->tx);
fs/xfs/scrub/attr_repair.c
1482
if (error)
fs/xfs/scrub/attr_repair.c
1483
return error;
fs/xfs/scrub/attr_repair.c
1485
error = xrep_xattr_reset_tempfile_fork(sc);
fs/xfs/scrub/attr_repair.c
1486
if (error)
fs/xfs/scrub/attr_repair.c
1487
return error;
fs/xfs/scrub/attr_repair.c
1494
error = xfs_trans_roll(&sc->tp);
fs/xfs/scrub/attr_repair.c
1495
if (error)
fs/xfs/scrub/attr_repair.c
1496
return error;
fs/xfs/scrub/attr_repair.c
1535
int error;
fs/xfs/scrub/attr_repair.c
1552
error = xchk_setup_xattr_buf(rx->sc, max_len);
fs/xfs/scrub/attr_repair.c
1553
if (error == -ENOMEM)
fs/xfs/scrub/attr_repair.c
1554
error = -EDEADLOCK;
fs/xfs/scrub/attr_repair.c
1555
if (error)
fs/xfs/scrub/attr_repair.c
1559
error = xfarray_create("xattr keys", 0, sizeof(struct xrep_xattr_key),
fs/xfs/scrub/attr_repair.c
1561
if (error)
fs/xfs/scrub/attr_repair.c
1564
error = xfblob_create("xattr names", &rx->xattr_blobs);
fs/xfs/scrub/attr_repair.c
1565
if (error)
fs/xfs/scrub/attr_repair.c
1571
error = xfarray_create("xattr parent pointer entries", 0,
fs/xfs/scrub/attr_repair.c
1574
if (error)
fs/xfs/scrub/attr_repair.c
1577
error = xfblob_create("xattr parent pointer names",
fs/xfs/scrub/attr_repair.c
1579
if (error)
fs/xfs/scrub/attr_repair.c
1583
error = xfs_dir_hook_add(sc->mp, &rx->dhook);
fs/xfs/scrub/attr_repair.c
1584
if (error)
fs/xfs/scrub/attr_repair.c
1601
return error;
fs/xfs/scrub/attr_repair.c
1617
int error;
fs/xfs/scrub/attr_repair.c
1629
error = xrep_xattr_setup_scan(sc, &rx);
fs/xfs/scrub/attr_repair.c
1630
if (error)
fs/xfs/scrub/attr_repair.c
1631
return error;
fs/xfs/scrub/attr_repair.c
1635
error = xrep_xattr_salvage_attributes(rx);
fs/xfs/scrub/attr_repair.c
1636
if (error)
fs/xfs/scrub/attr_repair.c
1640
error = -EIO;
fs/xfs/scrub/attr_repair.c
1645
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/attr_repair.c
1648
error = xrep_xattr_rebuild_tree(rx);
fs/xfs/scrub/attr_repair.c
1649
if (error)
fs/xfs/scrub/attr_repair.c
1654
return error;
fs/xfs/scrub/attr_repair.c
201
int error = 0;
fs/xfs/scrub/attr_repair.c
203
if (xchk_should_terminate(rx->sc, &error))
fs/xfs/scrub/attr_repair.c
204
return error;
fs/xfs/scrub/attr_repair.c
226
error = xfblob_store(rx->xattr_blobs, &key.name_cookie, name,
fs/xfs/scrub/attr_repair.c
228
if (error)
fs/xfs/scrub/attr_repair.c
229
return error;
fs/xfs/scrub/attr_repair.c
231
error = xfblob_store(rx->xattr_blobs, &key.value_cookie, value,
fs/xfs/scrub/attr_repair.c
233
if (error)
fs/xfs/scrub/attr_repair.c
234
return error;
fs/xfs/scrub/attr_repair.c
236
error = xfarray_append(rx->xattr_records, &key);
fs/xfs/scrub/attr_repair.c
237
if (error)
fs/xfs/scrub/attr_repair.c
238
return error;
fs/xfs/scrub/attr_repair.c
339
int error;
fs/xfs/scrub/attr_repair.c
360
error = xchk_setup_xattr_buf(rx->sc, args.valuelen);
fs/xfs/scrub/attr_repair.c
361
if (error == -ENOMEM)
fs/xfs/scrub/attr_repair.c
362
error = -EDEADLOCK;
fs/xfs/scrub/attr_repair.c
363
if (error)
fs/xfs/scrub/attr_repair.c
364
return error;
fs/xfs/scrub/attr_repair.c
368
error = xfs_attr3_leaf_getvalue(leaf_bp, &args);
fs/xfs/scrub/attr_repair.c
369
if (error || args.rmtblkno == 0)
fs/xfs/scrub/attr_repair.c
372
error = xfs_attr_rmtval_get(&args);
fs/xfs/scrub/attr_repair.c
373
if (error)
fs/xfs/scrub/attr_repair.c
377
error = xrep_xattr_salvage_key(rx, ent->flags, rentry->name,
fs/xfs/scrub/attr_repair.c
381
if (error == -EFSBADCRC || error == -EFSCORRUPTED)
fs/xfs/scrub/attr_repair.c
382
error = 0;
fs/xfs/scrub/attr_repair.c
383
return error;
fs/xfs/scrub/attr_repair.c
406
int error = 0;
fs/xfs/scrub/attr_repair.c
419
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/attr_repair.c
420
return error;
fs/xfs/scrub/attr_repair.c
436
error = xrep_xattr_salvage_local_attr(rx, ent, nameidx,
fs/xfs/scrub/attr_repair.c
440
error = xrep_xattr_salvage_remote_attr(rx, ent, nameidx,
fs/xfs/scrub/attr_repair.c
443
if (error)
fs/xfs/scrub/attr_repair.c
444
return error;
fs/xfs/scrub/attr_repair.c
463
int error = 0;
fs/xfs/scrub/attr_repair.c
477
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/attr_repair.c
478
return error;
fs/xfs/scrub/attr_repair.c
491
error = xrep_xattr_salvage_sf_attr(rx, hdr, sfe);
fs/xfs/scrub/attr_repair.c
492
if (error)
fs/xfs/scrub/attr_repair.c
493
return error;
fs/xfs/scrub/attr_repair.c
576
int error;
fs/xfs/scrub/attr_repair.c
578
error = xrep_xattr_find_buf(rx->sc->mp, fsbno, max_len, true, &bp);
fs/xfs/scrub/attr_repair.c
579
if (error)
fs/xfs/scrub/attr_repair.c
580
return error;
fs/xfs/scrub/attr_repair.c
594
error = xrep_xattr_recover_leaf(rx, bp);
fs/xfs/scrub/attr_repair.c
606
return error;
fs/xfs/scrub/attr_repair.c
626
int error;
fs/xfs/scrub/attr_repair.c
641
error = xfblob_load(rx->xattr_blobs, key->name_cookie, ab->name,
fs/xfs/scrub/attr_repair.c
643
if (error)
fs/xfs/scrub/attr_repair.c
644
return error;
fs/xfs/scrub/attr_repair.c
646
error = xfblob_free(rx->xattr_blobs, key->name_cookie);
fs/xfs/scrub/attr_repair.c
647
if (error)
fs/xfs/scrub/attr_repair.c
648
return error;
fs/xfs/scrub/attr_repair.c
650
error = xfblob_load(rx->xattr_blobs, key->value_cookie, args.value,
fs/xfs/scrub/attr_repair.c
652
if (error)
fs/xfs/scrub/attr_repair.c
653
return error;
fs/xfs/scrub/attr_repair.c
655
error = xfblob_free(rx->xattr_blobs, key->value_cookie);
fs/xfs/scrub/attr_repair.c
656
if (error)
fs/xfs/scrub/attr_repair.c
657
return error;
fs/xfs/scrub/attr_repair.c
676
error = xfs_attr_set(&args, XFS_ATTRUPDATE_CREATE, false);
fs/xfs/scrub/attr_repair.c
677
if (error == -EEXIST)
fs/xfs/scrub/attr_repair.c
678
error = 0;
fs/xfs/scrub/attr_repair.c
680
return error;
fs/xfs/scrub/attr_repair.c
693
int error;
fs/xfs/scrub/attr_repair.c
714
error = xrep_trans_commit(rx->sc);
fs/xfs/scrub/attr_repair.c
715
if (error)
fs/xfs/scrub/attr_repair.c
716
return error;
fs/xfs/scrub/attr_repair.c
725
error = xrep_tempfile_iolock_polled(rx->sc);
fs/xfs/scrub/attr_repair.c
726
if (error)
fs/xfs/scrub/attr_repair.c
727
return error;
fs/xfs/scrub/attr_repair.c
733
error = xfarray_load(rx->xattr_records, array_cur, &key);
fs/xfs/scrub/attr_repair.c
734
if (error)
fs/xfs/scrub/attr_repair.c
735
return error;
fs/xfs/scrub/attr_repair.c
737
error = xrep_xattr_insert_rec(rx, &key);
fs/xfs/scrub/attr_repair.c
738
if (error)
fs/xfs/scrub/attr_repair.c
739
return error;
fs/xfs/scrub/attr_repair.c
749
error = xchk_trans_alloc(rx->sc, 0);
fs/xfs/scrub/attr_repair.c
750
if (error)
fs/xfs/scrub/attr_repair.c
751
return error;
fs/xfs/scrub/attr_repair.c
808
int error;
fs/xfs/scrub/attr_repair.c
834
error = xrep_reap_ifork(sc, sc->tempip, XFS_ATTR_FORK);
fs/xfs/scrub/attr_repair.c
835
if (error)
fs/xfs/scrub/attr_repair.c
836
return error;
fs/xfs/scrub/attr_repair.c
855
error = xrep_roll_trans(sc);
fs/xfs/scrub/attr_repair.c
856
if (error)
fs/xfs/scrub/attr_repair.c
857
return error;
fs/xfs/scrub/attr_repair.c
891
int error;
fs/xfs/scrub/attr_repair.c
902
error = xfs_bmapi_read(sc->ip, offset, XFS_MAX_FILEOFF - offset,
fs/xfs/scrub/attr_repair.c
904
if (error)
fs/xfs/scrub/attr_repair.c
905
return error;
fs/xfs/scrub/attr_repair.c
917
if (xchk_should_terminate(rx->sc, &error))
fs/xfs/scrub/attr_repair.c
918
return error;
fs/xfs/scrub/attr_repair.c
922
error = xrep_xattr_recover_block(rx, dabno,
fs/xfs/scrub/attr_repair.c
925
if (error)
fs/xfs/scrub/attr_repair.c
926
return error;
fs/xfs/scrub/attr_repair.c
929
error = xrep_xattr_flush_stashed(rx);
fs/xfs/scrub/attr_repair.c
930
if (error)
fs/xfs/scrub/attr_repair.c
931
return error;
fs/xfs/scrub/attr_repair.c
934
error = xrep_xattr_full_reset(rx);
fs/xfs/scrub/attr_repair.c
935
if (error)
fs/xfs/scrub/attr_repair.c
936
return error;
fs/xfs/scrub/bitmap.c
128
int error;
fs/xfs/scrub/bitmap.c
136
error = xbitmap64_clear(bitmap, start, len);
fs/xfs/scrub/bitmap.c
137
if (error)
fs/xfs/scrub/bitmap.c
138
return error;
fs/xfs/scrub/bitmap.c
219
int error;
fs/xfs/scrub/bitmap.c
225
error = xbitmap64_clear(bitmap, bn->bn_start,
fs/xfs/scrub/bitmap.c
227
if (error)
fs/xfs/scrub/bitmap.c
228
return error;
fs/xfs/scrub/bitmap.c
256
int error = 0;
fs/xfs/scrub/bitmap.c
259
error = fn(bn->bn_start, bn->bn_last - bn->bn_start + 1, priv);
fs/xfs/scrub/bitmap.c
260
if (error)
fs/xfs/scrub/bitmap.c
264
return error;
fs/xfs/scrub/bitmap.c
403
int error;
fs/xfs/scrub/bitmap.c
411
error = xbitmap32_clear(bitmap, start, len);
fs/xfs/scrub/bitmap.c
412
if (error)
fs/xfs/scrub/bitmap.c
413
return error;
fs/xfs/scrub/bitmap.c
494
int error;
fs/xfs/scrub/bitmap.c
500
error = xbitmap32_clear(bitmap, bn->bn_start,
fs/xfs/scrub/bitmap.c
502
if (error)
fs/xfs/scrub/bitmap.c
503
return error;
fs/xfs/scrub/bitmap.c
531
int error = 0;
fs/xfs/scrub/bitmap.c
534
error = fn(bn->bn_start, bn->bn_last - bn->bn_start + 1, priv);
fs/xfs/scrub/bitmap.c
535
if (error)
fs/xfs/scrub/bitmap.c
539
return error;
fs/xfs/scrub/bmap.c
100
error = xchk_trans_alloc(sc, 0);
fs/xfs/scrub/bmap.c
101
if (error)
fs/xfs/scrub/bmap.c
1028
int error = 0;
fs/xfs/scrub/bmap.c
104
error = xchk_ino_dqattach(sc);
fs/xfs/scrub/bmap.c
105
if (error)
fs/xfs/scrub/bmap.c
1080
error = xchk_bmap_btree(sc, whichfork, &info);
fs/xfs/scrub/bmap.c
1081
if (error)
fs/xfs/scrub/bmap.c
1082
return error;
fs/xfs/scrub/bmap.c
1093
error = xfs_bmap_last_offset(ip, &endoff, whichfork);
fs/xfs/scrub/bmap.c
1094
if (!xchk_fblock_process_error(sc, whichfork, 0, &error))
fs/xfs/scrub/bmap.c
1095
return error;
fs/xfs/scrub/bmap.c
1106
if (xchk_should_terminate(sc, &error) ||
fs/xfs/scrub/bmap.c
111
return error;
fs/xfs/scrub/bmap.c
1124
error = xchk_bmap_check_rmaps(sc, whichfork);
fs/xfs/scrub/bmap.c
1125
if (!xchk_fblock_xref_process_error(sc, whichfork, 0, &error))
fs/xfs/scrub/bmap.c
1126
return error;
fs/xfs/scrub/bmap.c
1137
int error;
fs/xfs/scrub/bmap.c
1144
error = xchk_bmap(sc, XFS_DATA_FORK);
fs/xfs/scrub/bmap.c
1145
if (error)
fs/xfs/scrub/bmap.c
1146
return error;
fs/xfs/scrub/bmap.c
1158
int error;
fs/xfs/scrub/bmap.c
1172
error = xchk_bmap(sc, XFS_ATTR_FORK);
fs/xfs/scrub/bmap.c
1173
if (error)
fs/xfs/scrub/bmap.c
1174
return error;
fs/xfs/scrub/bmap.c
156
int error;
fs/xfs/scrub/bmap.c
184
error = xfs_rmap_lookup_le_range(*curp, bno, owner, offset,
fs/xfs/scrub/bmap.c
187
error = xfs_rmap_lookup_le(*curp, bno, owner, offset,
fs/xfs/scrub/bmap.c
190
if (!xchk_should_check_xref(info->sc, &error, curp))
fs/xfs/scrub/bmap.c
329
int error;
fs/xfs/scrub/bmap.c
331
error = xchk_rtgroup_init_existing(info->sc,
fs/xfs/scrub/bmap.c
335
irec->br_startoff, &error))
fs/xfs/scrub/bmap.c
338
error = xchk_rtgroup_lock(info->sc, &info->sc->sr, XCHK_RTGLOCK_ALL);
fs/xfs/scrub/bmap.c
340
irec->br_startoff, &error))
fs/xfs/scrub/bmap.c
37
int error;
fs/xfs/scrub/bmap.c
393
int error;
fs/xfs/scrub/bmap.c
399
error = xchk_ag_init_existing(info->sc, agno, &info->sc->sa);
fs/xfs/scrub/bmap.c
401
irec->br_startoff, &error))
fs/xfs/scrub/bmap.c
42
error = xchk_iget_for_scrubbing(sc);
fs/xfs/scrub/bmap.c
43
if (error)
fs/xfs/scrub/bmap.c
592
int error;
fs/xfs/scrub/bmap.c
597
error = xfs_iread_extents(sc->tp, ip, whichfork);
fs/xfs/scrub/bmap.c
598
if (!xchk_fblock_process_error(sc, whichfork, 0, &error))
fs/xfs/scrub/bmap.c
604
error = xchk_btree(sc, cur, xchk_bmapbt_rec, &oinfo, info);
fs/xfs/scrub/bmap.c
605
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/bmap.c
607
return error;
fs/xfs/scrub/bmap.c
62
error = xfs_break_layouts(VFS_I(sc->ip),
fs/xfs/scrub/bmap.c
64
if (error)
fs/xfs/scrub/bmap.c
699
int error;
fs/xfs/scrub/bmap.c
701
error = xfs_alloc_read_agf(pag, sc->tp, 0, &agf);
fs/xfs/scrub/bmap.c
702
if (error)
fs/xfs/scrub/bmap.c
703
return error;
fs/xfs/scrub/bmap.c
709
error = xfs_rmap_query_all(cur, xchk_bmap_check_rmap, &sbcri);
fs/xfs/scrub/bmap.c
710
if (error == -ECANCELED)
fs/xfs/scrub/bmap.c
711
error = 0;
fs/xfs/scrub/bmap.c
713
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/bmap.c
715
return error;
fs/xfs/scrub/bmap.c
726
int error;
fs/xfs/scrub/bmap.c
733
error = xfs_rmap_query_all(cur, xchk_bmap_check_rmap, &sbcri);
fs/xfs/scrub/bmap.c
734
if (error == -ECANCELED)
fs/xfs/scrub/bmap.c
735
error = 0;
fs/xfs/scrub/bmap.c
737
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/bmap.c
739
return error;
fs/xfs/scrub/bmap.c
83
error = filemap_fdatawrite(mapping);
fs/xfs/scrub/bmap.c
84
if (!error)
fs/xfs/scrub/bmap.c
844
int error;
fs/xfs/scrub/bmap.c
85
error = filemap_fdatawait_keep_errors(mapping);
fs/xfs/scrub/bmap.c
850
error = xchk_bmap_check_rt_rmaps(sc, rtg);
fs/xfs/scrub/bmap.c
851
if (error ||
fs/xfs/scrub/bmap.c
854
return error;
fs/xfs/scrub/bmap.c
86
if (error && (error != -ENOSPC && error != -EIO))
fs/xfs/scrub/bmap.c
862
error = xchk_bmap_check_ag_rmaps(sc, whichfork, pag);
fs/xfs/scrub/bmap.c
863
if (error ||
fs/xfs/scrub/bmap.c
866
return error;
fs/xfs/scrub/bmap.c
91
error = invalidate_inode_pages2(
fs/xfs/scrub/bmap.c
93
if (error)
fs/xfs/scrub/bmap_repair.c
108
int error;
fs/xfs/scrub/bmap_repair.c
117
error = xfs_refcount_find_shared(cur, agbno, blockcount, &fbno, &flen,
fs/xfs/scrub/bmap_repair.c
119
if (error)
fs/xfs/scrub/bmap_repair.c
120
return error;
fs/xfs/scrub/bmap_repair.c
144
int error = 0;
fs/xfs/scrub/bmap_repair.c
152
error = xrep_bmap_discover_shared(rb, startblock, blockcount);
fs/xfs/scrub/bmap_repair.c
153
if (error)
fs/xfs/scrub/bmap_repair.c
154
return error;
fs/xfs/scrub/bmap_repair.c
171
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/bmap_repair.c
172
return error;
fs/xfs/scrub/bmap_repair.c
174
error = xfarray_append(rb->bmap_records, &rbe);
fs/xfs/scrub/bmap_repair.c
175
if (error)
fs/xfs/scrub/bmap_repair.c
176
return error;
fs/xfs/scrub/bmap_repair.c
197
int error;
fs/xfs/scrub/bmap_repair.c
223
error = xfs_alloc_has_records(sc->sa.bno_cur, rec->rm_startblock,
fs/xfs/scrub/bmap_repair.c
225
if (error)
fs/xfs/scrub/bmap_repair.c
226
return error;
fs/xfs/scrub/bmap_repair.c
231
error = xfs_ialloc_has_inodes_at_extent(sc->sa.ino_cur,
fs/xfs/scrub/bmap_repair.c
233
if (error)
fs/xfs/scrub/bmap_repair.c
234
return error;
fs/xfs/scrub/bmap_repair.c
250
int error = 0;
fs/xfs/scrub/bmap_repair.c
252
if (xchk_should_terminate(rb->sc, &error))
fs/xfs/scrub/bmap_repair.c
253
return error;
fs/xfs/scrub/bmap_repair.c
258
error = xrep_bmap_check_fork_rmap(rb, cur, rec);
fs/xfs/scrub/bmap_repair.c
259
if (error)
fs/xfs/scrub/bmap_repair.c
260
return error;
fs/xfs/scrub/bmap_repair.c
325
int error;
fs/xfs/scrub/bmap_repair.c
327
error = xfarray_sort(rb->bmap_records, xrep_bmap_extent_cmp,
fs/xfs/scrub/bmap_repair.c
329
if (error)
fs/xfs/scrub/bmap_repair.c
330
return error;
fs/xfs/scrub/bmap_repair.c
335
if (xchk_should_terminate(rb->sc, &error))
fs/xfs/scrub/bmap_repair.c
336
return error;
fs/xfs/scrub/bmap_repair.c
338
error = xfarray_load(rb->bmap_records, array_cur, &rec);
fs/xfs/scrub/bmap_repair.c
339
if (error)
fs/xfs/scrub/bmap_repair.c
340
return error;
fs/xfs/scrub/bmap_repair.c
360
int error;
fs/xfs/scrub/bmap_repair.c
362
error = xrep_ag_init(sc, pag, &sc->sa);
fs/xfs/scrub/bmap_repair.c
363
if (error)
fs/xfs/scrub/bmap_repair.c
364
return error;
fs/xfs/scrub/bmap_repair.c
366
error = xfs_rmap_query_all(sc->sa.rmap_cur, xrep_bmap_walk_rmap, rb);
fs/xfs/scrub/bmap_repair.c
368
return error;
fs/xfs/scrub/bmap_repair.c
413
int error = 0;
fs/xfs/scrub/bmap_repair.c
415
if (xchk_should_terminate(rb->sc, &error))
fs/xfs/scrub/bmap_repair.c
416
return error;
fs/xfs/scrub/bmap_repair.c
422
error = xrep_bmap_check_rtfork_rmap(rb->sc, cur, rec);
fs/xfs/scrub/bmap_repair.c
423
if (error)
fs/xfs/scrub/bmap_repair.c
424
return error;
fs/xfs/scrub/bmap_repair.c
454
int error;
fs/xfs/scrub/bmap_repair.c
459
error = xrep_rtgroup_init(sc, rtg, &sc->sr,
fs/xfs/scrub/bmap_repair.c
463
if (error)
fs/xfs/scrub/bmap_repair.c
464
return error;
fs/xfs/scrub/bmap_repair.c
466
error = xfs_rmap_query_all(sc->sr.rmap_cur, xrep_bmap_walk_rtrmap, rb);
fs/xfs/scrub/bmap_repair.c
469
return error;
fs/xfs/scrub/bmap_repair.c
489
int error = 0;
fs/xfs/scrub/bmap_repair.c
506
if (xchk_should_terminate(rb->sc, &error))
fs/xfs/scrub/bmap_repair.c
507
return error;
fs/xfs/scrub/bmap_repair.c
509
error = xfarray_append(rb->bmap_records, &rbe);
fs/xfs/scrub/bmap_repair.c
510
if (error)
fs/xfs/scrub/bmap_repair.c
511
return error;
fs/xfs/scrub/bmap_repair.c
528
int error = 0;
fs/xfs/scrub/bmap_repair.c
538
error = xrep_bmap_scan_rtgroup(rb, rtg);
fs/xfs/scrub/bmap_repair.c
539
if (error) {
fs/xfs/scrub/bmap_repair.c
541
return error;
fs/xfs/scrub/bmap_repair.c
548
error = xrep_bmap_scan_ag(rb, pag);
fs/xfs/scrub/bmap_repair.c
549
if (error) {
fs/xfs/scrub/bmap_repair.c
551
return error;
fs/xfs/scrub/bmap_repair.c
572
int error;
fs/xfs/scrub/bmap_repair.c
576
error = xfarray_load(rb->bmap_records, rb->array_cur++,
fs/xfs/scrub/bmap_repair.c
578
if (error)
fs/xfs/scrub/bmap_repair.c
579
return error;
fs/xfs/scrub/bmap_repair.c
657
int error;
fs/xfs/scrub/bmap_repair.c
666
error = xfarray_load(rb->bmap_records, array_cur, &rec);
fs/xfs/scrub/bmap_repair.c
667
if (error)
fs/xfs/scrub/bmap_repair.c
668
return error;
fs/xfs/scrub/bmap_repair.c
693
int error;
fs/xfs/scrub/bmap_repair.c
696
error = xfs_btree_bload_compute_geometry(bmap_cur,
fs/xfs/scrub/bmap_repair.c
698
if (error)
fs/xfs/scrub/bmap_repair.c
699
return error;
fs/xfs/scrub/bmap_repair.c
702
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/bmap_repair.c
703
return error;
fs/xfs/scrub/bmap_repair.c
711
error = xfs_trans_reserve_more_inode(sc->tp, sc->ip,
fs/xfs/scrub/bmap_repair.c
713
if (error)
fs/xfs/scrub/bmap_repair.c
714
return error;
fs/xfs/scrub/bmap_repair.c
717
error = xrep_newbt_alloc_blocks(&rb->new_bmapbt,
fs/xfs/scrub/bmap_repair.c
719
if (error)
fs/xfs/scrub/bmap_repair.c
720
return error;
fs/xfs/scrub/bmap_repair.c
724
error = xfs_btree_bload(bmap_cur, &rb->new_bmapbt.bload, rb);
fs/xfs/scrub/bmap_repair.c
725
if (error)
fs/xfs/scrub/bmap_repair.c
726
return error;
fs/xfs/scrub/bmap_repair.c
753
int error;
fs/xfs/scrub/bmap_repair.c
755
error = xrep_bmap_sort_records(rb);
fs/xfs/scrub/bmap_repair.c
756
if (error)
fs/xfs/scrub/bmap_repair.c
757
return error;
fs/xfs/scrub/bmap_repair.c
764
error = xrep_newbt_init_inode(&rb->new_bmapbt, sc, rb->whichfork,
fs/xfs/scrub/bmap_repair.c
766
if (error)
fs/xfs/scrub/bmap_repair.c
767
return error;
fs/xfs/scrub/bmap_repair.c
787
error = xrep_bmap_extents_load(rb);
fs/xfs/scrub/bmap_repair.c
790
error = xrep_bmap_btree_load(rb, bmap_cur);
fs/xfs/scrub/bmap_repair.c
792
if (error)
fs/xfs/scrub/bmap_repair.c
805
error = xrep_bmap_reset_counters(rb);
fs/xfs/scrub/bmap_repair.c
806
if (error)
fs/xfs/scrub/bmap_repair.c
810
error = xrep_newbt_commit(&rb->new_bmapbt);
fs/xfs/scrub/bmap_repair.c
811
if (error)
fs/xfs/scrub/bmap_repair.c
812
return error;
fs/xfs/scrub/bmap_repair.c
818
xfs_btree_del_cursor(bmap_cur, error);
fs/xfs/scrub/bmap_repair.c
821
return error;
fs/xfs/scrub/bmap_repair.c
928
int error = 0;
fs/xfs/scrub/bmap_repair.c
930
error = xrep_bmap_check_inputs(sc, whichfork);
fs/xfs/scrub/bmap_repair.c
931
if (error == -ECANCELED)
fs/xfs/scrub/bmap_repair.c
933
if (error)
fs/xfs/scrub/bmap_repair.c
934
return error;
fs/xfs/scrub/bmap_repair.c
947
error = xfarray_create("fork mapping records", max_bmbt_recs,
fs/xfs/scrub/bmap_repair.c
949
if (error)
fs/xfs/scrub/bmap_repair.c
954
error = xrep_bmap_find_mappings(rb);
fs/xfs/scrub/bmap_repair.c
955
if (error)
fs/xfs/scrub/bmap_repair.c
961
error = xrep_bmap_build_new_fork(rb);
fs/xfs/scrub/bmap_repair.c
962
if (error)
fs/xfs/scrub/bmap_repair.c
966
error = xrep_bmap_remove_old_tree(rb);
fs/xfs/scrub/bmap_repair.c
967
if (error)
fs/xfs/scrub/bmap_repair.c
975
return error;
fs/xfs/scrub/btree.c
269
int error;
fs/xfs/scrub/btree.c
271
error = xfs_btree_dup_cursor(cur, &ncur);
fs/xfs/scrub/btree.c
272
if (!xchk_btree_process_error(bs->sc, cur, level + 1, &error) ||
fs/xfs/scrub/btree.c
274
return error;
fs/xfs/scrub/btree.c
282
error = xfs_btree_increment(ncur, level + 1, &success);
fs/xfs/scrub/btree.c
284
error = xfs_btree_decrement(ncur, level + 1, &success);
fs/xfs/scrub/btree.c
285
if (error == 0 && success)
fs/xfs/scrub/btree.c
287
error = 0;
fs/xfs/scrub/btree.c
293
error = xfs_btree_increment(ncur, level + 1, &success);
fs/xfs/scrub/btree.c
295
error = xfs_btree_decrement(ncur, level + 1, &success);
fs/xfs/scrub/btree.c
296
if (!xchk_btree_process_error(bs->sc, cur, level + 1, &error))
fs/xfs/scrub/btree.c
30
int *error,
fs/xfs/scrub/btree.c
315
return error;
fs/xfs/scrub/btree.c
328
int error = 0;
fs/xfs/scrub/btree.c
34
if (*error == 0)
fs/xfs/scrub/btree.c
347
error = xchk_btree_block_check_sibling(bs, level, -1, &leftsib);
fs/xfs/scrub/btree.c
348
if (error)
fs/xfs/scrub/btree.c
349
return error;
fs/xfs/scrub/btree.c
350
error = xchk_btree_block_check_sibling(bs, level, 1, &rightsib);
fs/xfs/scrub/btree.c
351
if (error)
fs/xfs/scrub/btree.c
352
return error;
fs/xfs/scrub/btree.c
354
return error;
fs/xfs/scrub/btree.c
37
switch (*error) {
fs/xfs/scrub/btree.c
377
int error = 0;
fs/xfs/scrub/btree.c
394
error = xchk_ag_init_existing(bs->sc, agno, &bs->sc->sa);
fs/xfs/scrub/btree.c
396
level, &error))
fs/xfs/scrub/btree.c
41
trace_xchk_deadlock_retry(sc->ip, sc->sm, *error);
fs/xfs/scrub/btree.c
417
return error;
fs/xfs/scrub/btree.c
49
*error = 0;
fs/xfs/scrub/btree.c
54
*error, ret_ip);
fs/xfs/scrub/btree.c
57
*error, ret_ip);
fs/xfs/scrub/btree.c
592
int error;
fs/xfs/scrub/btree.c
597
error = xfs_btree_lookup_get_block(bs->cur, level, pp, pblock);
fs/xfs/scrub/btree.c
598
if (!xchk_btree_process_error(bs->sc, bs->cur, level, &error) ||
fs/xfs/scrub/btree.c
600
return error;
fs/xfs/scrub/btree.c
616
error = xchk_btree_check_owner(bs, level, *pbp);
fs/xfs/scrub/btree.c
617
if (error)
fs/xfs/scrub/btree.c
618
return error;
fs/xfs/scrub/btree.c
624
error = xchk_btree_block_check_siblings(bs, *pblock);
fs/xfs/scrub/btree.c
625
if (error)
fs/xfs/scrub/btree.c
626
return error;
fs/xfs/scrub/btree.c
68
int *error)
fs/xfs/scrub/btree.c
699
int error = 0;
fs/xfs/scrub/btree.c
70
return __xchk_btree_process_error(sc, cur, level, error,
fs/xfs/scrub/btree.c
731
error = xchk_btree_get_block(bs, level, &ptr, &block, &bp);
fs/xfs/scrub/btree.c
732
if (error || !block)
fs/xfs/scrub/btree.c
757
error = bs->scrub_rec(bs, recp);
fs/xfs/scrub/btree.c
758
if (error)
fs/xfs/scrub/btree.c
760
if (xchk_should_terminate(sc, &error) ||
fs/xfs/scrub/btree.c
788
error = xchk_btree_get_block(bs, level, pp, &block, &bp);
fs/xfs/scrub/btree.c
789
if (error || !block)
fs/xfs/scrub/btree.c
79
int *error)
fs/xfs/scrub/btree.c
798
if (!error && bs->cur)
fs/xfs/scrub/btree.c
799
error = xchk_btree_check_block_owner(bs, co->level,
fs/xfs/scrub/btree.c
806
return error;
fs/xfs/scrub/btree.c
81
return __xchk_btree_process_error(sc, cur, level, error,
fs/xfs/scrub/btree.h
13
struct xfs_btree_cur *cur, int level, int *error);
fs/xfs/scrub/btree.h
17
struct xfs_btree_cur *cur, int level, int *error);
fs/xfs/scrub/common.c
1002
int error;
fs/xfs/scrub/common.c
1009
error = 0;
fs/xfs/scrub/common.c
101
trace_xchk_op_error(sc, agno, bno, *error, ret_ip);
fs/xfs/scrub/common.c
1011
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/common.c
1012
return error;
fs/xfs/scrub/common.c
1019
error = xfs_ialloc_read_agi(pag, tp, 0, agi_bpp);
fs/xfs/scrub/common.c
102
*error = 0;
fs/xfs/scrub/common.c
1021
if (error)
fs/xfs/scrub/common.c
1022
return error;
fs/xfs/scrub/common.c
1024
error = xfs_iget(mp, tp, inum, XFS_IGET_NORETRY | XCHK_IGET_FLAGS, 0,
fs/xfs/scrub/common.c
1026
if (error == -EAGAIN) {
fs/xfs/scrub/common.c
1046
if (error)
fs/xfs/scrub/common.c
1047
return error;
fs/xfs/scrub/common.c
110
*error = 0;
fs/xfs/scrub/common.c
1128
int error;
fs/xfs/scrub/common.c
113
trace_xchk_op_error(sc, agno, bno, *error, ret_ip);
fs/xfs/scrub/common.c
1149
error = xchk_iget_safe(sc, sc->sm->sm_ino, &ip);
fs/xfs/scrub/common.c
1150
if (!error)
fs/xfs/scrub/common.c
1152
if (error == -ENOENT)
fs/xfs/scrub/common.c
1153
return error;
fs/xfs/scrub/common.c
1154
if (error != -EINVAL)
fs/xfs/scrub/common.c
1172
error = xchk_trans_alloc(sc, 0);
fs/xfs/scrub/common.c
1173
if (error)
fs/xfs/scrub/common.c
1176
error = xchk_iget_agi(sc, sc->sm->sm_ino, &agi_bp, &ip);
fs/xfs/scrub/common.c
1177
if (error == 0) {
fs/xfs/scrub/common.c
1182
if (error == -ENOENT)
fs/xfs/scrub/common.c
1184
if (error != -EINVAL)
fs/xfs/scrub/common.c
1190
error = -ECANCELED;
fs/xfs/scrub/common.c
1212
error = -EFSCORRUPTED;
fs/xfs/scrub/common.c
1216
error = xfs_imap(pag, sc->tp, sc->sm->sm_ino, &imap,
fs/xfs/scrub/common.c
1219
if (error == -EINVAL || error == -ENOENT)
fs/xfs/scrub/common.c
1221
if (!error)
fs/xfs/scrub/common.c
1222
error = -EFSCORRUPTED;
fs/xfs/scrub/common.c
1228
error, __return_address);
fs/xfs/scrub/common.c
1229
return error;
fs/xfs/scrub/common.c
124
int *error)
fs/xfs/scrub/common.c
126
return __xchk_process_error(sc, agno, bno, error,
fs/xfs/scrub/common.c
1273
int error;
fs/xfs/scrub/common.c
1275
error = xchk_iget_for_scrubbing(sc);
fs/xfs/scrub/common.c
1276
if (error)
fs/xfs/scrub/common.c
1277
return error;
fs/xfs/scrub/common.c
1279
error = xrep_tempfile_adjust_directory_tree(sc);
fs/xfs/scrub/common.c
1280
if (error)
fs/xfs/scrub/common.c
1281
return error;
fs/xfs/scrub/common.c
1286
error = xchk_trans_alloc(sc, resblks);
fs/xfs/scrub/common.c
1287
if (error)
fs/xfs/scrub/common.c
1290
error = xchk_ino_dqattach(sc);
fs/xfs/scrub/common.c
1291
if (error)
fs/xfs/scrub/common.c
1297
return error;
fs/xfs/scrub/common.c
1339
int *error,
fs/xfs/scrub/common.c
1346
if (*error == 0)
fs/xfs/scrub/common.c
135
int *error)
fs/xfs/scrub/common.c
1360
trace_xchk_xref_error(sc, *error, __return_address);
fs/xfs/scrub/common.c
1366
*error = 0;
fs/xfs/scrub/common.c
137
return __xchk_process_error(sc, rgno, rgbno, error,
fs/xfs/scrub/common.c
1399
int error;
fs/xfs/scrub/common.c
1405
error = sub->sc.ops->scrub(&sub->sc);
fs/xfs/scrub/common.c
1407
return error;
fs/xfs/scrub/common.c
1419
int error;
fs/xfs/scrub/common.c
1425
error = xchk_metadata_inode_subtype(sc, XFS_SCRUB_TYPE_INODE);
fs/xfs/scrub/common.c
1426
if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT))
fs/xfs/scrub/common.c
1427
return error;
fs/xfs/scrub/common.c
1442
error = xchk_metadata_inode_subtype(sc, XFS_SCRUB_TYPE_BMBTD);
fs/xfs/scrub/common.c
1443
if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT))
fs/xfs/scrub/common.c
1444
return error;
fs/xfs/scrub/common.c
1448
error = xfs_reflink_inode_has_shared_extents(sc->tp, sc->ip,
fs/xfs/scrub/common.c
1451
&error))
fs/xfs/scrub/common.c
1452
return error;
fs/xfs/scrub/common.c
146
int *error)
fs/xfs/scrub/common.c
1467
error = xchk_metadata_inode_subtype(sc, XFS_SCRUB_TYPE_BMBTA);
fs/xfs/scrub/common.c
1468
if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT))
fs/xfs/scrub/common.c
1469
return error;
fs/xfs/scrub/common.c
148
return __xchk_process_error(sc, agno, bno, error,
fs/xfs/scrub/common.c
1532
int error;
fs/xfs/scrub/common.c
1551
error = -ENODATA;
fs/xfs/scrub/common.c
158
int *error,
fs/xfs/scrub/common.c
162
switch (*error) {
fs/xfs/scrub/common.c
1649
error = 0;
fs/xfs/scrub/common.c
1655
return error;
fs/xfs/scrub/common.c
168
trace_xchk_deadlock_retry(sc->ip, sc->sm, *error);
fs/xfs/scrub/common.c
1694
int error;
fs/xfs/scrub/common.c
1713
error = xfs_btree_count_blocks(cur, count);
fs/xfs/scrub/common.c
1714
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/common.c
1715
if (!error) {
fs/xfs/scrub/common.c
1719
return error;
fs/xfs/scrub/common.c
176
trace_xchk_file_op_error(sc, whichfork, offset, *error,
fs/xfs/scrub/common.c
178
*error = 0;
fs/xfs/scrub/common.c
186
*error = 0;
fs/xfs/scrub/common.c
189
trace_xchk_file_op_error(sc, whichfork, offset, *error,
fs/xfs/scrub/common.c
201
int *error)
fs/xfs/scrub/common.c
203
return __xchk_fblock_process_error(sc, whichfork, offset, error,
fs/xfs/scrub/common.c
212
int *error)
fs/xfs/scrub/common.c
214
return __xchk_fblock_process_error(sc, whichfork, offset, error,
fs/xfs/scrub/common.c
469
int error;
fs/xfs/scrub/common.c
471
error = xfs_ialloc_read_agi(sa->pag, sc->tp, 0, &sa->agi_bp);
fs/xfs/scrub/common.c
472
if (error && want_ag_read_header_failure(sc, XFS_SCRUB_TYPE_AGI))
fs/xfs/scrub/common.c
473
return error;
fs/xfs/scrub/common.c
475
error = xfs_alloc_read_agf(sa->pag, sc->tp, 0, &sa->agf_bp);
fs/xfs/scrub/common.c
476
if (error && want_ag_read_header_failure(sc, XFS_SCRUB_TYPE_AGF))
fs/xfs/scrub/common.c
477
return error;
fs/xfs/scrub/common.c
491
int error = 0;
fs/xfs/scrub/common.c
498
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/common.c
499
return error;
fs/xfs/scrub/common.c
501
error = xchk_perag_read_headers(sc, sa);
fs/xfs/scrub/common.c
502
if (error)
fs/xfs/scrub/common.c
503
return error;
fs/xfs/scrub/common.c
551
error = xfs_group_intent_drain(pag_group(sa->pag));
fs/xfs/scrub/common.c
552
if (error == -ERESTARTSYS)
fs/xfs/scrub/common.c
553
error = -EINTR;
fs/xfs/scrub/common.c
554
} while (!error);
fs/xfs/scrub/common.c
556
return error;
fs/xfs/scrub/common.c
696
int error;
fs/xfs/scrub/common.c
698
error = xchk_ag_read_headers(sc, agno, sa);
fs/xfs/scrub/common.c
699
if (error)
fs/xfs/scrub/common.c
700
return error;
fs/xfs/scrub/common.c
736
int error = 0;
fs/xfs/scrub/common.c
753
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/common.c
754
return error;
fs/xfs/scrub/common.c
792
error = xfs_group_intent_drain(rtg_group(sr->rtg));
fs/xfs/scrub/common.c
793
if (error) {
fs/xfs/scrub/common.c
794
if (error == -ERESTARTSYS)
fs/xfs/scrub/common.c
795
error = -EINTR;
fs/xfs/scrub/common.c
796
return error;
fs/xfs/scrub/common.c
81
int *error,
fs/xfs/scrub/common.c
85
switch (*error) {
fs/xfs/scrub/common.c
929
int error;
fs/xfs/scrub/common.c
93
sc->sm, *error);
fs/xfs/scrub/common.c
938
error = xchk_checkpoint_log(mp);
fs/xfs/scrub/common.c
939
if (error)
fs/xfs/scrub/common.c
940
return error;
fs/xfs/scrub/common.c
943
error = xchk_setup_fs(sc);
fs/xfs/scrub/common.c
944
if (error)
fs/xfs/scrub/common.c
945
return error;
fs/xfs/scrub/common.c
955
int error;
fs/xfs/scrub/common.c
957
error = xfs_log_force(mp, XFS_LOG_SYNC);
fs/xfs/scrub/common.c
958
if (error)
fs/xfs/scrub/common.c
959
return error;
fs/xfs/scrub/common.h
125
int error = xchk_ag_init(sc, agno, sa);
fs/xfs/scrub/common.h
127
return error == -ENOENT ? -EFSCORRUPTED : error;
fs/xfs/scrub/common.h
14
xfs_agblock_t bno, int *error);
fs/xfs/scrub/common.h
146
int error = xchk_rtgroup_init(sc, rgno, sr);
fs/xfs/scrub/common.h
148
return error == -ENOENT ? -EFSCORRUPTED : error;
fs/xfs/scrub/common.h
16
xfs_rgblock_t rgbno, int *error);
fs/xfs/scrub/common.h
18
xfs_fileoff_t offset, int *error);
fs/xfs/scrub/common.h
202
int error;
fs/xfs/scrub/common.h
206
error = xchk_trans_alloc(sc, 0);
fs/xfs/scrub/common.h
207
if (error)
fs/xfs/scrub/common.h
208
return error;
fs/xfs/scrub/common.h
209
error = xchk_iget(sc, inum, ipp);
fs/xfs/scrub/common.h
21
xfs_agnumber_t agno, xfs_agblock_t bno, int *error);
fs/xfs/scrub/common.h
211
return error;
fs/xfs/scrub/common.h
23
int whichfork, xfs_fileoff_t offset, int *error);
fs/xfs/scrub/common.h
55
bool xchk_should_check_xref(struct xfs_scrub *sc, int *error,
fs/xfs/scrub/cow_repair.c
175
int error;
fs/xfs/scrub/cow_repair.c
186
error = xrep_cow_mark_file_range(xc,
fs/xfs/scrub/cow_repair.c
189
if (error)
fs/xfs/scrub/cow_repair.c
190
return error;
fs/xfs/scrub/cow_repair.c
248
int error;
fs/xfs/scrub/cow_repair.c
257
error = xrep_ag_init(sc, pag, &sc->sa);
fs/xfs/scrub/cow_repair.c
258
if (error)
fs/xfs/scrub/cow_repair.c
265
error = xfs_refcount_query_range(sc->sa.refc_cur, &rc_low, &rc_high,
fs/xfs/scrub/cow_repair.c
267
if (error)
fs/xfs/scrub/cow_repair.c
275
error = xfs_refcount_query_range(sc->sa.refc_cur, &rc_low, &rc_high,
fs/xfs/scrub/cow_repair.c
277
if (error)
fs/xfs/scrub/cow_repair.c
281
error = xrep_cow_mark_file_range(xc,
fs/xfs/scrub/cow_repair.c
285
if (error)
fs/xfs/scrub/cow_repair.c
293
error = xfs_rmap_query_range(sc->sa.rmap_cur, &rm_low, &rm_high,
fs/xfs/scrub/cow_repair.c
295
if (error)
fs/xfs/scrub/cow_repair.c
304
error = xrep_cow_mark_file_range(xc, xc->irec.br_startblock,
fs/xfs/scrub/cow_repair.c
306
if (error)
fs/xfs/scrub/cow_repair.c
307
return error;
fs/xfs/scrub/cow_repair.c
331
int error = 0;
fs/xfs/scrub/cow_repair.c
340
error = xrep_rtgroup_init(sc, rtg, &sc->sr,
fs/xfs/scrub/cow_repair.c
342
if (error)
fs/xfs/scrub/cow_repair.c
349
error = xfs_refcount_query_range(sc->sr.refc_cur, &rc_low, &rc_high,
fs/xfs/scrub/cow_repair.c
351
if (error)
fs/xfs/scrub/cow_repair.c
359
error = xfs_refcount_query_range(sc->sr.refc_cur, &rc_low, &rc_high,
fs/xfs/scrub/cow_repair.c
361
if (error)
fs/xfs/scrub/cow_repair.c
365
error = xrep_cow_mark_file_range(xc,
fs/xfs/scrub/cow_repair.c
369
if (error)
fs/xfs/scrub/cow_repair.c
377
error = xfs_rmap_query_range(sc->sr.rmap_cur, &rm_low, &rm_high,
fs/xfs/scrub/cow_repair.c
379
if (error)
fs/xfs/scrub/cow_repair.c
389
error = xrep_cow_mark_file_range(xc, xc->irec.br_startblock,
fs/xfs/scrub/cow_repair.c
391
if (error)
fs/xfs/scrub/cow_repair.c
400
return error;
fs/xfs/scrub/cow_repair.c
423
int error;
fs/xfs/scrub/cow_repair.c
425
error = xfs_trans_reserve_more(sc->tp, maxlen, 0);
fs/xfs/scrub/cow_repair.c
426
if (error)
fs/xfs/scrub/cow_repair.c
427
return error;
fs/xfs/scrub/cow_repair.c
429
error = xfs_alloc_vextent_start_ag(&args,
fs/xfs/scrub/cow_repair.c
431
if (error)
fs/xfs/scrub/cow_repair.c
432
return error;
fs/xfs/scrub/cow_repair.c
454
int error;
fs/xfs/scrub/cow_repair.c
456
error = xfs_trans_reserve_more(sc->tp, 0, maxrtx);
fs/xfs/scrub/cow_repair.c
457
if (error)
fs/xfs/scrub/cow_repair.c
458
return error;
fs/xfs/scrub/cow_repair.c
460
error = xfs_rtallocate_rtgs(sc->tp, NULLRTBLOCK, 1, maxrtx, 1, false,
fs/xfs/scrub/cow_repair.c
462
if (error)
fs/xfs/scrub/cow_repair.c
463
return error;
fs/xfs/scrub/cow_repair.c
568
int error;
fs/xfs/scrub/cow_repair.c
574
error = xrep_cow_find_mapping(xc, &icur, startoff, &got);
fs/xfs/scrub/cow_repair.c
575
if (error)
fs/xfs/scrub/cow_repair.c
576
return error;
fs/xfs/scrub/cow_repair.c
587
error = xrep_cow_alloc_rt(sc, alloc_len, &repl);
fs/xfs/scrub/cow_repair.c
589
error = xrep_cow_alloc(sc, alloc_len, &repl);
fs/xfs/scrub/cow_repair.c
590
if (error)
fs/xfs/scrub/cow_repair.c
591
return error;
fs/xfs/scrub/cow_repair.c
600
error = xfs_defer_finish(&sc->tp);
fs/xfs/scrub/cow_repair.c
601
if (error)
fs/xfs/scrub/cow_repair.c
602
return error;
fs/xfs/scrub/cow_repair.c
606
error = xrtb_bitmap_set(&xc->old_cowfork_rtblocks,
fs/xfs/scrub/cow_repair.c
609
error = xfsb_bitmap_set(&xc->old_cowfork_fsblocks,
fs/xfs/scrub/cow_repair.c
611
if (error)
fs/xfs/scrub/cow_repair.c
612
return error;
fs/xfs/scrub/cow_repair.c
629
int error = 0;
fs/xfs/scrub/cow_repair.c
635
error = xrep_cow_replace_range(xc, startoff, &len);
fs/xfs/scrub/cow_repair.c
636
if (error)
fs/xfs/scrub/cow_repair.c
643
return error;
fs/xfs/scrub/cow_repair.c
658
int error;
fs/xfs/scrub/cow_repair.c
702
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/cow_repair.c
723
error = xrep_cow_find_bad_rt(xc);
fs/xfs/scrub/cow_repair.c
725
error = xrep_cow_find_bad(xc);
fs/xfs/scrub/cow_repair.c
726
if (error)
fs/xfs/scrub/cow_repair.c
731
error = xoff_bitmap_walk(&xc->bad_fileoffs, xrep_cow_replace, xc);
fs/xfs/scrub/cow_repair.c
732
if (error)
fs/xfs/scrub/cow_repair.c
741
error = xrep_reap_rtblocks(sc, &xc->old_cowfork_rtblocks,
fs/xfs/scrub/cow_repair.c
744
error = xrep_reap_fsblocks(sc, &xc->old_cowfork_fsblocks,
fs/xfs/scrub/cow_repair.c
746
if (error)
fs/xfs/scrub/cow_repair.c
756
return error;
fs/xfs/scrub/dabtree.c
245
int error;
fs/xfs/scrub/dabtree.c
254
error = xfs_da3_path_shift(ds->state, altpath, direction,
fs/xfs/scrub/dabtree.c
256
if (error == 0 && retval == 0)
fs/xfs/scrub/dabtree.c
258
error = 0;
fs/xfs/scrub/dabtree.c
263
error = xfs_da3_path_shift(ds->state, altpath, direction, false,
fs/xfs/scrub/dabtree.c
265
if (!xchk_da_process_error(ds, level, &error))
fs/xfs/scrub/dabtree.c
290
return error;
fs/xfs/scrub/dabtree.c
302
int error = 0;
fs/xfs/scrub/dabtree.c
318
error = xchk_da_btree_block_check_sibling(ds, level, 0, back);
fs/xfs/scrub/dabtree.c
319
if (error)
fs/xfs/scrub/dabtree.c
321
error = xchk_da_btree_block_check_sibling(ds, level, 1, forw);
fs/xfs/scrub/dabtree.c
325
return error;
fs/xfs/scrub/dabtree.c
33
int *error)
fs/xfs/scrub/dabtree.c
345
int error = 0;
fs/xfs/scrub/dabtree.c
362
error = xfs_da_read_buf(dargs->trans, dargs->dp, blk->blkno,
fs/xfs/scrub/dabtree.c
365
if (!xchk_da_process_error(ds, level, &error))
fs/xfs/scrub/dabtree.c
37
if (*error == 0)
fs/xfs/scrub/dabtree.c
40
switch (*error) {
fs/xfs/scrub/dabtree.c
401
error = xchk_da_btree_block_check_siblings(ds, level, &hdr3->hdr);
fs/xfs/scrub/dabtree.c
402
if (error)
fs/xfs/scrub/dabtree.c
44
trace_xchk_deadlock_retry(sc->ip, sc->sm, *error);
fs/xfs/scrub/dabtree.c
485
return error;
fs/xfs/scrub/dabtree.c
491
return error;
fs/xfs/scrub/dabtree.c
508
int error;
fs/xfs/scrub/dabtree.c
52
*error = 0;
fs/xfs/scrub/dabtree.c
540
error = xchk_da_btree_block(ds, level, blkno);
fs/xfs/scrub/dabtree.c
541
if (error)
fs/xfs/scrub/dabtree.c
565
error = scrub_fn(ds, level);
fs/xfs/scrub/dabtree.c
566
if (error)
fs/xfs/scrub/dabtree.c
568
if (xchk_should_terminate(sc, &error) ||
fs/xfs/scrub/dabtree.c
58
*error, __return_address);
fs/xfs/scrub/dabtree.c
588
error = xchk_da_btree_hash(ds, level, &key->hashval);
fs/xfs/scrub/dabtree.c
589
if (error)
fs/xfs/scrub/dabtree.c
601
error = xchk_da_btree_block(ds, level, blkno);
fs/xfs/scrub/dabtree.c
602
if (error)
fs/xfs/scrub/dabtree.c
622
return error;
fs/xfs/scrub/dabtree.h
34
bool xchk_da_process_error(struct xchk_da_btree *ds, int level, int *error);
fs/xfs/scrub/dir.c
1007
error = xchk_dir_trylock_for_pptrs(sc, ip, &lockmode);
fs/xfs/scrub/dir.c
1008
if (error)
fs/xfs/scrub/dir.c
1012
error = xchk_dir_revalidate_dirent(sd, xname, dirent->ino);
fs/xfs/scrub/dir.c
1013
if (error == -ENOENT) {
fs/xfs/scrub/dir.c
1014
error = 0;
fs/xfs/scrub/dir.c
1017
if (!xchk_fblock_xref_process_error(sc, XFS_DATA_FORK, 0, &error))
fs/xfs/scrub/dir.c
1021
error = xchk_dir_parent_pointer(sd, xname, ip);
fs/xfs/scrub/dir.c
1026
return error;
fs/xfs/scrub/dir.c
1035
int error;
fs/xfs/scrub/dir.c
1043
error = xfarray_load(sd->dir_entries, array_cur, &dirent);
fs/xfs/scrub/dir.c
1044
if (error)
fs/xfs/scrub/dir.c
1045
return error;
fs/xfs/scrub/dir.c
1047
error = xfblob_loadname(sd->dir_names, dirent.name_cookie,
fs/xfs/scrub/dir.c
1049
if (error)
fs/xfs/scrub/dir.c
1050
return error;
fs/xfs/scrub/dir.c
1052
error = xchk_dir_slow_dirent(sd, &dirent, &sd->xname);
fs/xfs/scrub/dir.c
1053
if (error)
fs/xfs/scrub/dir.c
1054
return error;
fs/xfs/scrub/dir.c
1066
int error;
fs/xfs/scrub/dir.c
1083
error = xchk_da_btree(sc, XFS_DATA_FORK, xchk_dir_rec, NULL);
fs/xfs/scrub/dir.c
1084
if (error)
fs/xfs/scrub/dir.c
1085
return error;
fs/xfs/scrub/dir.c
1091
error = xchk_directory_blocks(sc);
fs/xfs/scrub/dir.c
1092
if (error)
fs/xfs/scrub/dir.c
1093
return error;
fs/xfs/scrub/dir.c
1109
error = xfarray_create("slow directory entries", 0,
fs/xfs/scrub/dir.c
1111
if (error)
fs/xfs/scrub/dir.c
1114
error = xfblob_create("slow directory entry names",
fs/xfs/scrub/dir.c
1116
if (error)
fs/xfs/scrub/dir.c
1121
error = xchk_dir_walk(sc, sc->ip, xchk_dir_actor, sd);
fs/xfs/scrub/dir.c
1122
if (error == -ECANCELED)
fs/xfs/scrub/dir.c
1123
error = 0;
fs/xfs/scrub/dir.c
1124
if (error)
fs/xfs/scrub/dir.c
1128
error = xchk_dir_finish_slow_dirents(sd);
fs/xfs/scrub/dir.c
1129
if (error == -ETIMEDOUT) {
fs/xfs/scrub/dir.c
1131
error = 0;
fs/xfs/scrub/dir.c
1134
if (error)
fs/xfs/scrub/dir.c
1146
if (error)
fs/xfs/scrub/dir.c
1147
return error;
fs/xfs/scrub/dir.c
151
int error;
fs/xfs/scrub/dir.c
154
error = xfs_parent_lookup(sc->tp, ip, name, &sd->pptr_rec,
fs/xfs/scrub/dir.c
156
if (error == -ENOATTR)
fs/xfs/scrub/dir.c
172
int error;
fs/xfs/scrub/dir.c
196
error = xfblob_storename(sd->dir_names, &save_de.name_cookie,
fs/xfs/scrub/dir.c
199
&error))
fs/xfs/scrub/dir.c
200
return error;
fs/xfs/scrub/dir.c
202
error = xfarray_append(sd->dir_entries, &save_de);
fs/xfs/scrub/dir.c
204
&error))
fs/xfs/scrub/dir.c
205
return error;
fs/xfs/scrub/dir.c
210
error = xchk_dir_parent_pointer(sd, name, ip);
fs/xfs/scrub/dir.c
212
return error;
fs/xfs/scrub/dir.c
235
int error = 0;
fs/xfs/scrub/dir.c
240
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/dir.c
241
return error;
fs/xfs/scrub/dir.c
269
error = xchk_dir_lookup(sc, dp, name, &lookup_ino);
fs/xfs/scrub/dir.c
271
if (error == -ENOENT)
fs/xfs/scrub/dir.c
272
error = -EFSCORRUPTED;
fs/xfs/scrub/dir.c
273
if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, offset, &error))
fs/xfs/scrub/dir.c
289
error = xchk_iget(sc, ino, &ip);
fs/xfs/scrub/dir.c
290
if (error == -EINVAL || error == -ENOENT) {
fs/xfs/scrub/dir.c
291
error = -EFSCORRUPTED;
fs/xfs/scrub/dir.c
292
xchk_fblock_process_error(sc, XFS_DATA_FORK, 0, &error);
fs/xfs/scrub/dir.c
295
if (!xchk_fblock_xref_process_error(sc, XFS_DATA_FORK, offset, &error))
fs/xfs/scrub/dir.c
301
error = xchk_dir_check_pptr_fast(sd, dapos, name, ip);
fs/xfs/scrub/dir.c
302
if (error)
fs/xfs/scrub/dir.c
311
return error;
fs/xfs/scrub/dir.c
339
int error;
fs/xfs/scrub/dir.c
348
error = xchk_da_btree_hash(ds, level, &ent->hashval);
fs/xfs/scrub/dir.c
349
if (error)
fs/xfs/scrub/dir.c
366
error = xfs_dir3_data_read(ds->dargs.trans, dp, ds->dargs.owner,
fs/xfs/scrub/dir.c
369
&error))
fs/xfs/scrub/dir.c
37
int error;
fs/xfs/scrub/dir.c
40
error = xrep_setup_directory(sc);
fs/xfs/scrub/dir.c
41
if (error)
fs/xfs/scrub/dir.c
42
return error;
fs/xfs/scrub/dir.c
428
return error;
fs/xfs/scrub/dir.c
479
int error;
fs/xfs/scrub/dir.c
485
error = xfs_dir3_block_read(sc->tp, sc->ip, sc->ip->i_ino, &bp);
fs/xfs/scrub/dir.c
488
error = xfs_dir3_data_read(sc->tp, sc->ip, sc->ip->i_ino, lblk,
fs/xfs/scrub/dir.c
491
if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, lblk, &error))
fs/xfs/scrub/dir.c
590
return error;
fs/xfs/scrub/dir.c
638
int error;
fs/xfs/scrub/dir.c
641
error = xfs_dir3_leaf_read(sc->tp, sc->ip, sc->ip->i_ino, lblk, &bp);
fs/xfs/scrub/dir.c
642
if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, lblk, &error))
fs/xfs/scrub/dir.c
643
return error;
fs/xfs/scrub/dir.c
702
error = xfs_dir3_data_read(sc->tp, sc->ip, args->owner,
fs/xfs/scrub/dir.c
706
&error))
fs/xfs/scrub/dir.c
728
return error;
fs/xfs/scrub/dir.c
744
int error;
fs/xfs/scrub/dir.c
747
error = xfs_dir2_free_read(sc->tp, sc->ip, sc->ip->i_ino, lblk, &bp);
fs/xfs/scrub/dir.c
748
if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, lblk, &error))
fs/xfs/scrub/dir.c
749
return error;
fs/xfs/scrub/dir.c
767
error = xfs_dir3_data_read(sc->tp, sc->ip, args->owner,
fs/xfs/scrub/dir.c
771
&error))
fs/xfs/scrub/dir.c
781
return error;
fs/xfs/scrub/dir.c
807
int error;
fs/xfs/scrub/dir.c
819
if (xfs_dir2_format(&args, &error) == XFS_DIR2_FMT_BLOCK)
fs/xfs/scrub/dir.c
821
if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, lblk, &error))
fs/xfs/scrub/dir.c
847
error = xchk_directory_data_bestfree(sc, lblk,
fs/xfs/scrub/dir.c
849
if (error)
fs/xfs/scrub/dir.c
869
error = xchk_directory_leaf1_bestfree(sc, &args, last_data_db,
fs/xfs/scrub/dir.c
871
if (error)
fs/xfs/scrub/dir.c
911
error = xchk_directory_free_bestfree(sc, &args,
fs/xfs/scrub/dir.c
913
if (error)
fs/xfs/scrub/dir.c
921
return error;
fs/xfs/scrub/dir.c
937
int error;
fs/xfs/scrub/dir.c
944
error = xchk_dir_lookup(sc, sc->ip, xname, &child_ino);
fs/xfs/scrub/dir.c
945
if (error)
fs/xfs/scrub/dir.c
946
return error;
fs/xfs/scrub/dir.c
968
int error;
fs/xfs/scrub/dir.c
972
error = xchk_dir_revalidate_dirent(sd, xname, dirent->ino);
fs/xfs/scrub/dir.c
973
if (error == -ENOENT)
fs/xfs/scrub/dir.c
976
&error))
fs/xfs/scrub/dir.c
977
return error;
fs/xfs/scrub/dir.c
980
error = xchk_iget(sc, dirent->ino, &ip);
fs/xfs/scrub/dir.c
981
if (error == -EINVAL || error == -ENOENT) {
fs/xfs/scrub/dir.c
985
if (!xchk_fblock_xref_process_error(sc, XFS_DATA_FORK, 0, &error))
fs/xfs/scrub/dir.c
986
return error;
fs/xfs/scrub/dir_repair.c
1016
int error;
fs/xfs/scrub/dir_repair.c
1023
error = xrep_dir_recover_sf(rd);
fs/xfs/scrub/dir_repair.c
1025
error = xfs_iread_extents(rd->sc->tp, dp, XFS_DATA_FORK);
fs/xfs/scrub/dir_repair.c
1026
if (error)
fs/xfs/scrub/dir_repair.c
1027
return error;
fs/xfs/scrub/dir_repair.c
1029
error = xrep_dir_recover(rd);
fs/xfs/scrub/dir_repair.c
1031
if (error)
fs/xfs/scrub/dir_repair.c
1032
return error;
fs/xfs/scrub/dir_repair.c
1043
int error;
fs/xfs/scrub/dir_repair.c
1052
error = xrep_dir_find_parent(rd);
fs/xfs/scrub/dir_repair.c
1054
if (error)
fs/xfs/scrub/dir_repair.c
1055
return error;
fs/xfs/scrub/dir_repair.c
1062
error = xrep_dir_find_entries(rd);
fs/xfs/scrub/dir_repair.c
1063
if (error)
fs/xfs/scrub/dir_repair.c
1064
return error;
fs/xfs/scrub/dir_repair.c
1081
error = xrep_trans_commit(sc);
fs/xfs/scrub/dir_repair.c
1082
if (error)
fs/xfs/scrub/dir_repair.c
1083
return error;
fs/xfs/scrub/dir_repair.c
1114
int error;
fs/xfs/scrub/dir_repair.c
1123
error = xfs_parent_from_attr(sc->mp, attr_flags, name, namelen, value,
fs/xfs/scrub/dir_repair.c
1125
if (error)
fs/xfs/scrub/dir_repair.c
1126
return error;
fs/xfs/scrub/dir_repair.c
1133
error = xrep_dir_stash_createname(rd, &xname, ip->i_ino);
fs/xfs/scrub/dir_repair.c
1135
return error;
fs/xfs/scrub/dir_repair.c
1229
int error = 0;
fs/xfs/scrub/dir_repair.c
1241
error = -EBUSY;
fs/xfs/scrub/dir_repair.c
1245
error = xchk_xattr_walk(rd->sc, ip, xrep_dir_scan_pptr, NULL, rd);
fs/xfs/scrub/dir_repair.c
1246
if (error)
fs/xfs/scrub/dir_repair.c
1255
error = -EBUSY;
fs/xfs/scrub/dir_repair.c
1259
error = xchk_dir_walk(rd->sc, ip, xrep_dir_scan_dirent, rd);
fs/xfs/scrub/dir_repair.c
1260
if (error)
fs/xfs/scrub/dir_repair.c
1267
return error;
fs/xfs/scrub/dir_repair.c
1280
int error;
fs/xfs/scrub/dir_repair.c
1298
while ((error = xchk_iscan_iter(&rd->pscan.iscan, &ip)) == 1) {
fs/xfs/scrub/dir_repair.c
1301
error = xrep_dir_scan_file(rd, ip);
fs/xfs/scrub/dir_repair.c
1303
if (error)
fs/xfs/scrub/dir_repair.c
1313
error = xrep_tempfile_iolock_polled(sc);
fs/xfs/scrub/dir_repair.c
1314
if (error)
fs/xfs/scrub/dir_repair.c
1317
error = xrep_dir_replay_updates(rd);
fs/xfs/scrub/dir_repair.c
1319
if (error)
fs/xfs/scrub/dir_repair.c
1325
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/dir_repair.c
1329
if (error) {
fs/xfs/scrub/dir_repair.c
1335
if (error == -EBUSY)
fs/xfs/scrub/dir_repair.c
1337
return error;
fs/xfs/scrub/dir_repair.c
1362
int error = 0;
fs/xfs/scrub/dir_repair.c
1376
error = xrep_dir_stash_createname(rd, p->name,
fs/xfs/scrub/dir_repair.c
1379
error = xrep_dir_stash_removename(rd, p->name,
fs/xfs/scrub/dir_repair.c
1382
if (error)
fs/xfs/scrub/dir_repair.c
1426
int error;
fs/xfs/scrub/dir_repair.c
1430
error = xrep_reap_ifork(sc, sc->tempip, XFS_DATA_FORK);
fs/xfs/scrub/dir_repair.c
1431
if (error)
fs/xfs/scrub/dir_repair.c
1432
return error;
fs/xfs/scrub/dir_repair.c
1458
int error;
fs/xfs/scrub/dir_repair.c
1474
error = xfs_dir2_sf_to_block(&args);
fs/xfs/scrub/dir_repair.c
1475
if (error)
fs/xfs/scrub/dir_repair.c
1476
return error;
fs/xfs/scrub/dir_repair.c
1482
error = xfs_defer_finish(&sc->tp);
fs/xfs/scrub/dir_repair.c
1483
if (error)
fs/xfs/scrub/dir_repair.c
1484
return error;
fs/xfs/scrub/dir_repair.c
1522
int error;
fs/xfs/scrub/dir_repair.c
1526
error = xfs_dir_ino_validate(sc->mp, inum);
fs/xfs/scrub/dir_repair.c
1527
if (error)
fs/xfs/scrub/dir_repair.c
1528
return error;
fs/xfs/scrub/dir_repair.c
1550
int error;
fs/xfs/scrub/dir_repair.c
1585
error = xfs_iunlink_remove(sc->tp, pag, dp);
fs/xfs/scrub/dir_repair.c
1587
if (error)
fs/xfs/scrub/dir_repair.c
1588
return error;
fs/xfs/scrub/dir_repair.c
1606
int error;
fs/xfs/scrub/dir_repair.c
1618
error = xrep_dir_replay_updates(rd);
fs/xfs/scrub/dir_repair.c
1619
if (error)
fs/xfs/scrub/dir_repair.c
1620
return error;
fs/xfs/scrub/dir_repair.c
1622
error = xrep_tempexch_trans_alloc(sc, XFS_DATA_FORK, &rd->tx);
fs/xfs/scrub/dir_repair.c
1623
if (error)
fs/xfs/scrub/dir_repair.c
1624
return error;
fs/xfs/scrub/dir_repair.c
1631
} while (!xchk_should_terminate(sc, &error));
fs/xfs/scrub/dir_repair.c
1632
return error;
fs/xfs/scrub/dir_repair.c
1643
int error = 0;
fs/xfs/scrub/dir_repair.c
1665
error = xchk_dir_lookup(sc, rd->sc->tempip, &xfs_name_dotdot, &ino);
fs/xfs/scrub/dir_repair.c
1666
if (error)
fs/xfs/scrub/dir_repair.c
1667
return error;
fs/xfs/scrub/dir_repair.c
1670
error = xrep_dir_replace(rd, rd->sc->tempip, &xfs_name_dotdot,
fs/xfs/scrub/dir_repair.c
1672
if (error)
fs/xfs/scrub/dir_repair.c
1673
return error;
fs/xfs/scrub/dir_repair.c
1699
error = xrep_tempfile_roll_trans(rd->sc);
fs/xfs/scrub/dir_repair.c
1700
if (error)
fs/xfs/scrub/dir_repair.c
1701
return error;
fs/xfs/scrub/dir_repair.c
1704
error = xrep_dir_swap_prep(sc, temp_local, ip_local);
fs/xfs/scrub/dir_repair.c
1705
if (error)
fs/xfs/scrub/dir_repair.c
1706
return error;
fs/xfs/scrub/dir_repair.c
1712
error = xrep_dir_set_nlink(rd);
fs/xfs/scrub/dir_repair.c
1713
if (error)
fs/xfs/scrub/dir_repair.c
1714
return error;
fs/xfs/scrub/dir_repair.c
1728
int error;
fs/xfs/scrub/dir_repair.c
1737
error = xrep_tempfile_iolock_polled(rd->sc);
fs/xfs/scrub/dir_repair.c
1738
if (error)
fs/xfs/scrub/dir_repair.c
1739
return error;
fs/xfs/scrub/dir_repair.c
1746
error = xrep_dir_finalize_tempdir(rd);
fs/xfs/scrub/dir_repair.c
1747
if (error)
fs/xfs/scrub/dir_repair.c
1748
return error;
fs/xfs/scrub/dir_repair.c
1758
error = xrep_dir_swap(rd);
fs/xfs/scrub/dir_repair.c
1759
if (error)
fs/xfs/scrub/dir_repair.c
1760
return error;
fs/xfs/scrub/dir_repair.c
1767
error = xrep_dir_reset_fork(rd, sc->mp->m_rootip->i_ino);
fs/xfs/scrub/dir_repair.c
1768
if (error)
fs/xfs/scrub/dir_repair.c
1769
return error;
fs/xfs/scrub/dir_repair.c
1776
error = xfs_trans_roll(&sc->tp);
fs/xfs/scrub/dir_repair.c
1777
if (error)
fs/xfs/scrub/dir_repair.c
1778
return error;
fs/xfs/scrub/dir_repair.c
1791
int error;
fs/xfs/scrub/dir_repair.c
1794
error = xfarray_create("directory entries", 0,
fs/xfs/scrub/dir_repair.c
1796
if (error)
fs/xfs/scrub/dir_repair.c
1797
return error;
fs/xfs/scrub/dir_repair.c
1799
error = xfblob_create("directory entry names", &rd->dir_names);
fs/xfs/scrub/dir_repair.c
1800
if (error)
fs/xfs/scrub/dir_repair.c
1804
error = __xrep_findparent_scan_start(sc, &rd->pscan,
fs/xfs/scrub/dir_repair.c
1807
error = xrep_findparent_scan_start(sc, &rd->pscan);
fs/xfs/scrub/dir_repair.c
1808
if (error)
fs/xfs/scrub/dir_repair.c
1819
return error;
fs/xfs/scrub/dir_repair.c
1836
int error;
fs/xfs/scrub/dir_repair.c
1843
error = xchk_dir_lookup(sc, sc->ip, &xfs_name_dotdot, &orig_parent);
fs/xfs/scrub/dir_repair.c
1844
if (error)
fs/xfs/scrub/dir_repair.c
1845
return error;
fs/xfs/scrub/dir_repair.c
1852
error = xrep_trans_commit(sc);
fs/xfs/scrub/dir_repair.c
1853
if (error)
fs/xfs/scrub/dir_repair.c
1854
return error;
fs/xfs/scrub/dir_repair.c
1860
error = xrep_orphanage_iolock_two(sc);
fs/xfs/scrub/dir_repair.c
1861
if (error)
fs/xfs/scrub/dir_repair.c
1862
return error;
fs/xfs/scrub/dir_repair.c
1866
error = xrep_adoption_trans_alloc(sc, &rd->adoption);
fs/xfs/scrub/dir_repair.c
1867
if (error)
fs/xfs/scrub/dir_repair.c
1868
return error;
fs/xfs/scrub/dir_repair.c
1870
error = xrep_adoption_compute_name(&rd->adoption, &rd->xname);
fs/xfs/scrub/dir_repair.c
1871
if (error)
fs/xfs/scrub/dir_repair.c
1872
return error;
fs/xfs/scrub/dir_repair.c
1880
error = xchk_dir_lookup(sc, sc->ip, &xfs_name_dotdot, &new_parent);
fs/xfs/scrub/dir_repair.c
1881
if (error)
fs/xfs/scrub/dir_repair.c
1882
return error;
fs/xfs/scrub/dir_repair.c
1889
error = xrep_adoption_move(&rd->adoption);
fs/xfs/scrub/dir_repair.c
189
int error;
fs/xfs/scrub/dir_repair.c
1890
if (error)
fs/xfs/scrub/dir_repair.c
1891
return error;
fs/xfs/scrub/dir_repair.c
1898
error = xrep_adoption_trans_roll(&rd->adoption);
fs/xfs/scrub/dir_repair.c
1899
if (error)
fs/xfs/scrub/dir_repair.c
1900
return error;
fs/xfs/scrub/dir_repair.c
1923
int error;
fs/xfs/scrub/dir_repair.c
193
error = xrep_orphanage_try_create(sc);
fs/xfs/scrub/dir_repair.c
1932
error = xrep_dir_setup_scan(rd);
fs/xfs/scrub/dir_repair.c
1933
if (error)
fs/xfs/scrub/dir_repair.c
1934
return error;
fs/xfs/scrub/dir_repair.c
1937
error = xrep_dir_scan_dirtree(rd);
fs/xfs/scrub/dir_repair.c
1939
error = xrep_dir_salvage_entries(rd);
fs/xfs/scrub/dir_repair.c
194
if (error)
fs/xfs/scrub/dir_repair.c
1940
if (error)
fs/xfs/scrub/dir_repair.c
1944
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/dir_repair.c
1947
error = xrep_dir_rebuild_tree(rd);
fs/xfs/scrub/dir_repair.c
1948
if (error)
fs/xfs/scrub/dir_repair.c
195
return error;
fs/xfs/scrub/dir_repair.c
1953
error = -EFSCORRUPTED;
fs/xfs/scrub/dir_repair.c
1955
error = xrep_dir_move_to_orphanage(rd);
fs/xfs/scrub/dir_repair.c
1956
if (error)
fs/xfs/scrub/dir_repair.c
1962
return error;
fs/xfs/scrub/dir_repair.c
197
error = xrep_tempfile_create(sc, S_IFDIR);
fs/xfs/scrub/dir_repair.c
198
if (error)
fs/xfs/scrub/dir_repair.c
199
return error;
fs/xfs/scrub/dir_repair.c
221
int error;
fs/xfs/scrub/dir_repair.c
223
error = xfs_dir_lookup(sc->tp, sc->ip, &xfs_name_dotdot, &ino, NULL);
fs/xfs/scrub/dir_repair.c
224
if (error)
fs/xfs/scrub/dir_repair.c
229
error = xrep_findparent_confirm(sc, &ino);
fs/xfs/scrub/dir_repair.c
230
if (error)
fs/xfs/scrub/dir_repair.c
246
int error;
fs/xfs/scrub/dir_repair.c
252
error = xrep_findparent_confirm(sc, &parent_ino);
fs/xfs/scrub/dir_repair.c
253
if (error)
fs/xfs/scrub/dir_repair.c
339
int error;
fs/xfs/scrub/dir_repair.c
343
error = xfblob_storename(rd->dir_names, &dirent.name_cookie, name);
fs/xfs/scrub/dir_repair.c
344
if (error)
fs/xfs/scrub/dir_repair.c
345
return error;
fs/xfs/scrub/dir_repair.c
366
int error;
fs/xfs/scrub/dir_repair.c
370
error = xfblob_storename(rd->dir_names, &dirent.name_cookie, name);
fs/xfs/scrub/dir_repair.c
371
if (error)
fs/xfs/scrub/dir_repair.c
372
return error;
fs/xfs/scrub/dir_repair.c
391
int error = 0;
fs/xfs/scrub/dir_repair.c
393
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/dir_repair.c
394
return error;
fs/xfs/scrub/dir_repair.c
418
error = xchk_iget(sc, ino, &ip);
fs/xfs/scrub/dir_repair.c
419
if (error)
fs/xfs/scrub/dir_repair.c
474
int error = 0;
fs/xfs/scrub/dir_repair.c
488
if (xchk_should_terminate(rd->sc, &error))
fs/xfs/scrub/dir_repair.c
489
return error;
fs/xfs/scrub/dir_repair.c
503
error = xrep_dir_salvage_data_entry(rd, dep);
fs/xfs/scrub/dir_repair.c
504
if (error)
fs/xfs/scrub/dir_repair.c
505
return error;
fs/xfs/scrub/dir_repair.c
523
int error = 0;
fs/xfs/scrub/dir_repair.c
534
if (xchk_should_terminate(rd->sc, &error))
fs/xfs/scrub/dir_repair.c
535
return error;
fs/xfs/scrub/dir_repair.c
542
error = xrep_dir_salvage_sf_entry(rd, hdr, sfep);
fs/xfs/scrub/dir_repair.c
543
if (error)
fs/xfs/scrub/dir_repair.c
544
return error;
fs/xfs/scrub/dir_repair.c
569
int error;
fs/xfs/scrub/dir_repair.c
579
error = xfs_bmap_last_offset(dp, &last, XFS_DATA_FORK);
fs/xfs/scrub/dir_repair.c
580
if (!error && XFS_FSB_TO_B(mp, last) == geo->blksize &&
fs/xfs/scrub/dir_repair.c
592
error = xfs_bmap_last_before(rd->sc->tp, dp, &last, XFS_DATA_FORK);
fs/xfs/scrub/dir_repair.c
593
if (!error &&
fs/xfs/scrub/dir_repair.c
611
int error;
fs/xfs/scrub/dir_repair.c
617
error = xfs_da_read_buf(rd->sc->tp, rd->sc->ip, dabno,
fs/xfs/scrub/dir_repair.c
619
if (error || !bp)
fs/xfs/scrub/dir_repair.c
620
return error;
fs/xfs/scrub/dir_repair.c
662
error = xrep_dir_recover_data(rd, bp);
fs/xfs/scrub/dir_repair.c
667
return error;
fs/xfs/scrub/dir_repair.c
700
int error;
fs/xfs/scrub/dir_repair.c
704
error = xfs_dir_ino_validate(sc->mp, inum);
fs/xfs/scrub/dir_repair.c
705
if (error)
fs/xfs/scrub/dir_repair.c
706
return error;
fs/xfs/scrub/dir_repair.c
752
int error;
fs/xfs/scrub/dir_repair.c
755
error = xchk_trans_alloc(rd->sc, resblks);
fs/xfs/scrub/dir_repair.c
756
if (error)
fs/xfs/scrub/dir_repair.c
757
return error;
fs/xfs/scrub/dir_repair.c
772
error = xchk_dir_lookup(rd->sc, rd->sc->tempip, xname, &ino);
fs/xfs/scrub/dir_repair.c
773
if (error != -ENOENT) {
fs/xfs/scrub/dir_repair.c
774
ASSERT(error != -ENOENT);
fs/xfs/scrub/dir_repair.c
779
error = xrep_dir_replay_createname(rd, xname, dirent->ino,
fs/xfs/scrub/dir_repair.c
781
if (error)
fs/xfs/scrub/dir_repair.c
796
error = xchk_dir_lookup(rd->sc, rd->sc->tempip, xname, &ino);
fs/xfs/scrub/dir_repair.c
797
if (error) {
fs/xfs/scrub/dir_repair.c
798
ASSERT(error != 0);
fs/xfs/scrub/dir_repair.c
803
error = -EIO;
fs/xfs/scrub/dir_repair.c
808
error = xrep_dir_replay_removename(rd, xname, resblks);
fs/xfs/scrub/dir_repair.c
809
if (error)
fs/xfs/scrub/dir_repair.c
818
error = -EIO;
fs/xfs/scrub/dir_repair.c
823
error = xrep_trans_commit(rd->sc);
fs/xfs/scrub/dir_repair.c
824
if (error)
fs/xfs/scrub/dir_repair.c
825
return error;
fs/xfs/scrub/dir_repair.c
832
return error;
fs/xfs/scrub/dir_repair.c
848
int error;
fs/xfs/scrub/dir_repair.c
855
error = xfarray_load(rd->dir_entries, array_cur, &dirent);
fs/xfs/scrub/dir_repair.c
856
if (error)
fs/xfs/scrub/dir_repair.c
859
error = xfblob_loadname(rd->dir_names, dirent.name_cookie,
fs/xfs/scrub/dir_repair.c
861
if (error)
fs/xfs/scrub/dir_repair.c
866
error = xrep_dir_replay_update(rd, &rd->xname, &dirent);
fs/xfs/scrub/dir_repair.c
867
if (error)
fs/xfs/scrub/dir_repair.c
868
return error;
fs/xfs/scrub/dir_repair.c
879
return error;
fs/xfs/scrub/dir_repair.c
891
int error;
fs/xfs/scrub/dir_repair.c
912
error = xrep_trans_commit(rd->sc);
fs/xfs/scrub/dir_repair.c
913
if (error)
fs/xfs/scrub/dir_repair.c
914
return error;
fs/xfs/scrub/dir_repair.c
923
error = xrep_tempfile_iolock_polled(rd->sc);
fs/xfs/scrub/dir_repair.c
924
if (error)
fs/xfs/scrub/dir_repair.c
925
return error;
fs/xfs/scrub/dir_repair.c
928
error = xrep_dir_replay_updates(rd);
fs/xfs/scrub/dir_repair.c
930
if (error)
fs/xfs/scrub/dir_repair.c
931
return error;
fs/xfs/scrub/dir_repair.c
936
error = xchk_trans_alloc(rd->sc, 0);
fs/xfs/scrub/dir_repair.c
937
if (error)
fs/xfs/scrub/dir_repair.c
938
return error;
fs/xfs/scrub/dir_repair.c
966
int error;
fs/xfs/scrub/dir_repair.c
975
error = xfs_bmapi_read(sc->ip, offset, geo->leafblk - offset,
fs/xfs/scrub/dir_repair.c
977
if (error)
fs/xfs/scrub/dir_repair.c
978
return error;
fs/xfs/scrub/dir_repair.c
987
if (xchk_should_terminate(rd->sc, &error))
fs/xfs/scrub/dir_repair.c
988
return error;
fs/xfs/scrub/dir_repair.c
990
error = xrep_dir_recover_dirblock(rd,
fs/xfs/scrub/dir_repair.c
992
if (error)
fs/xfs/scrub/dir_repair.c
993
return error;
fs/xfs/scrub/dir_repair.c
997
error = xrep_dir_flush_stashed(rd);
fs/xfs/scrub/dir_repair.c
998
if (error)
fs/xfs/scrub/dir_repair.c
999
return error;
fs/xfs/scrub/dirtree.c
104
error = xrep_setup_dirtree(sc);
fs/xfs/scrub/dirtree.c
105
if (error)
fs/xfs/scrub/dirtree.c
106
return error;
fs/xfs/scrub/dirtree.c
122
error = xfarray_create("dirtree path steps", 0,
fs/xfs/scrub/dirtree.c
124
if (error)
fs/xfs/scrub/dirtree.c
127
error = xfblob_create("dirtree path names", &dl->path_names);
fs/xfs/scrub/dirtree.c
128
if (error)
fs/xfs/scrub/dirtree.c
131
error = xchk_setup_inode_contents(sc, 0);
fs/xfs/scrub/dirtree.c
132
if (error)
fs/xfs/scrub/dirtree.c
146
return error;
fs/xfs/scrub/dirtree.c
165
int error;
fs/xfs/scrub/dirtree.c
174
error = xfblob_storename(dl->path_names, &step.name_cookie, name);
fs/xfs/scrub/dirtree.c
175
if (error)
fs/xfs/scrub/dirtree.c
176
return error;
fs/xfs/scrub/dirtree.c
178
error = xino_bitmap_set(&path->seen_inodes, ip->i_ino);
fs/xfs/scrub/dirtree.c
179
if (error)
fs/xfs/scrub/dirtree.c
180
return error;
fs/xfs/scrub/dirtree.c
182
error = xfarray_append(dl->path_steps, &step);
fs/xfs/scrub/dirtree.c
183
if (error)
fs/xfs/scrub/dirtree.c
184
return error;
fs/xfs/scrub/dirtree.c
218
int error;
fs/xfs/scrub/dirtree.c
223
error = xfs_parent_from_attr(sc->mp, attr_flags, name, namelen, value,
fs/xfs/scrub/dirtree.c
225
if (error)
fs/xfs/scrub/dirtree.c
226
return error;
fs/xfs/scrub/dirtree.c
250
error = xchk_dirpath_append(dl, sc->ip, path, &xname, rec);
fs/xfs/scrub/dirtree.c
251
if (error)
fs/xfs/scrub/dirtree.c
263
return error;
fs/xfs/scrub/dirtree.c
282
int error;
fs/xfs/scrub/dirtree.c
289
error = xfs_parent_lookup(sc->tp, sc->ip, &dl->xname, &dl->pptr_rec,
fs/xfs/scrub/dirtree.c
291
if (error == -ENOATTR) {
fs/xfs/scrub/dirtree.c
298
return error;
fs/xfs/scrub/dirtree.c
318
int error;
fs/xfs/scrub/dirtree.c
323
error = xfs_parent_from_attr(sc->mp, attr_flags, name, namelen, value,
fs/xfs/scrub/dirtree.c
325
if (error)
fs/xfs/scrub/dirtree.c
326
return error;
fs/xfs/scrub/dirtree.c
371
int error;
fs/xfs/scrub/dirtree.c
374
error = xchk_iget(sc, parent_ino, &dp);
fs/xfs/scrub/dirtree.c
375
if (error)
fs/xfs/scrub/dirtree.c
376
return error;
fs/xfs/scrub/dirtree.c
382
error = -ESTALE;
fs/xfs/scrub/dirtree.c
389
error = 0;
fs/xfs/scrub/dirtree.c
399
error = 0;
fs/xfs/scrub/dirtree.c
410
error = 0;
fs/xfs/scrub/dirtree.c
418
error = -EFSCORRUPTED;
fs/xfs/scrub/dirtree.c
426
error = -EFSCORRUPTED;
fs/xfs/scrub/dirtree.c
434
error = -EFSCORRUPTED;
fs/xfs/scrub/dirtree.c
442
error = -EFSCORRUPTED;
fs/xfs/scrub/dirtree.c
451
error = -EBUSY;
fs/xfs/scrub/dirtree.c
464
error = xchk_xattr_walk(sc, dp, xchk_dirpath_find_next_step, NULL, dl);
fs/xfs/scrub/dirtree.c
466
if (error == -EFSCORRUPTED || error == -EMLINK ||
fs/xfs/scrub/dirtree.c
467
(!error && dl->parents_found == 0)) {
fs/xfs/scrub/dirtree.c
475
error = 0;
fs/xfs/scrub/dirtree.c
478
if (error)
fs/xfs/scrub/dirtree.c
482
error = -ESTALE;
fs/xfs/scrub/dirtree.c
490
error = xchk_dirpath_append(dl, dp, path, &dl->xname, &dl->pptr_rec);
fs/xfs/scrub/dirtree.c
491
if (error)
fs/xfs/scrub/dirtree.c
501
return error;
fs/xfs/scrub/dirtree.c
520
int error;
fs/xfs/scrub/dirtree.c
525
error = xchk_dirpath_revalidate(dl, path);
fs/xfs/scrub/dirtree.c
526
if (error)
fs/xfs/scrub/dirtree.c
527
return error;
fs/xfs/scrub/dirtree.c
560
error = xchk_dirpath_step_up(dl, path, is_metadir);
fs/xfs/scrub/dirtree.c
561
if (error) {
fs/xfs/scrub/dirtree.c
564
return error;
fs/xfs/scrub/dirtree.c
572
while (!error && path->outcome == XCHK_DIRPATH_SCANNING)
fs/xfs/scrub/dirtree.c
573
error = xchk_dirpath_step_up(dl, path, is_metadir);
fs/xfs/scrub/dirtree.c
578
if (error == -EFSCORRUPTED) {
fs/xfs/scrub/dirtree.c
580
error = 0;
fs/xfs/scrub/dirtree.c
582
if (!error && dl->stale)
fs/xfs/scrub/dirtree.c
584
return error;
fs/xfs/scrub/dirtree.c
602
int error;
fs/xfs/scrub/dirtree.c
604
error = xfarray_load(dl->path_steps, step_idx, &step);
fs/xfs/scrub/dirtree.c
605
if (error)
fs/xfs/scrub/dirtree.c
606
return error;
fs/xfs/scrub/dirtree.c
623
error = xfblob_loadname(dl->path_names, step.name_cookie,
fs/xfs/scrub/dirtree.c
625
if (error)
fs/xfs/scrub/dirtree.c
626
return error;
fs/xfs/scrub/dirtree.c
763
int error;
fs/xfs/scrub/dirtree.c
765
error = xfarray_load(dl->path_steps, path->first_step, &step);
fs/xfs/scrub/dirtree.c
766
if (error)
fs/xfs/scrub/dirtree.c
767
return error;
fs/xfs/scrub/dirtree.c
769
error = xfblob_loadname(dl->path_names, step.name_cookie, &dl->xname,
fs/xfs/scrub/dirtree.c
771
if (error)
fs/xfs/scrub/dirtree.c
772
return error;
fs/xfs/scrub/dirtree.c
791
int error = 0;
fs/xfs/scrub/dirtree.c
794
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/dirtree.c
795
return error;
fs/xfs/scrub/dirtree.c
814
error = xchk_xattr_walk(sc, sc->ip, xchk_dirtree_create_path,
fs/xfs/scrub/dirtree.c
816
if (error)
fs/xfs/scrub/dirtree.c
817
return error;
fs/xfs/scrub/dirtree.c
821
error = xchk_dirtree_load_path(dl, path);
fs/xfs/scrub/dirtree.c
822
if (error)
fs/xfs/scrub/dirtree.c
823
return error;
fs/xfs/scrub/dirtree.c
830
error = xchk_dirpath_walk_upwards(dl, path);
fs/xfs/scrub/dirtree.c
831
if (error == -EFSCORRUPTED) {
fs/xfs/scrub/dirtree.c
838
if (error == -ESTALE) {
fs/xfs/scrub/dirtree.c
843
if (error)
fs/xfs/scrub/dirtree.c
844
return error;
fs/xfs/scrub/dirtree.c
850
return error;
fs/xfs/scrub/dirtree.c
914
int error;
fs/xfs/scrub/dirtree.c
943
error = xfs_dir_hook_add(sc->mp, &dl->dhook);
fs/xfs/scrub/dirtree.c
944
if (error)
fs/xfs/scrub/dirtree.c
950
error = xchk_dirtree_find_paths_to_root(dl);
fs/xfs/scrub/dirtree.c
951
if (error == -EFSCORRUPTED || error == -ELNRNG || error == -ENOSR) {
fs/xfs/scrub/dirtree.c
958
error = 0;
fs/xfs/scrub/dirtree.c
961
if (error == -EBUSY) {
fs/xfs/scrub/dirtree.c
968
error = 0;
fs/xfs/scrub/dirtree.c
971
if (error)
fs/xfs/scrub/dirtree.c
99
int error;
fs/xfs/scrub/dirtree.c
993
trace_xchk_dirtree_done(sc->ip, sc->sm, error);
fs/xfs/scrub/dirtree.c
994
return error;
fs/xfs/scrub/dirtree_repair.c
103
int error;
fs/xfs/scrub/dirtree_repair.c
105
error = xfarray_load(dl->path_steps, path->first_step, &step);
fs/xfs/scrub/dirtree_repair.c
106
if (error)
fs/xfs/scrub/dirtree_repair.c
267
int error;
fs/xfs/scrub/dirtree_repair.c
269
error = xfarray_load(dl->path_steps, path->first_step, step);
fs/xfs/scrub/dirtree_repair.c
270
if (error)
fs/xfs/scrub/dirtree_repair.c
271
return error;
fs/xfs/scrub/dirtree_repair.c
273
error = xfblob_loadname(dl->path_names, step->name_cookie, &dl->xname,
fs/xfs/scrub/dirtree_repair.c
275
if (error)
fs/xfs/scrub/dirtree_repair.c
276
return error;
fs/xfs/scrub/dirtree_repair.c
291
int error = 0;
fs/xfs/scrub/dirtree_repair.c
304
error = -EFSCORRUPTED;
fs/xfs/scrub/dirtree_repair.c
315
error = 0;
fs/xfs/scrub/dirtree_repair.c
324
error = -EFSCORRUPTED;
fs/xfs/scrub/dirtree_repair.c
335
return error;
fs/xfs/scrub/dirtree_repair.c
348
int error;
fs/xfs/scrub/dirtree_repair.c
362
if (xchk_should_terminate(sc, &error)) {
fs/xfs/scrub/dirtree_repair.c
364
return error;
fs/xfs/scrub/dirtree_repair.c
390
int error;
fs/xfs/scrub/dirtree_repair.c
393
error = xrep_dirtree_unlink_iolock(sc, dp);
fs/xfs/scrub/dirtree_repair.c
394
if (error)
fs/xfs/scrub/dirtree_repair.c
395
return error;
fs/xfs/scrub/dirtree_repair.c
403
error = xfs_trans_alloc_dir(dp, &M_RES(mp)->tr_remove, sc->ip,
fs/xfs/scrub/dirtree_repair.c
405
if (error)
fs/xfs/scrub/dirtree_repair.c
415
error = -ESTALE;
fs/xfs/scrub/dirtree_repair.c
436
error = xchk_dir_lookup(sc, sc->ip, &xfs_name_dotdot, &dotdot_ino);
fs/xfs/scrub/dirtree_repair.c
437
if (error)
fs/xfs/scrub/dirtree_repair.c
445
error = xfs_droplink(sc->tp, dp);
fs/xfs/scrub/dirtree_repair.c
446
if (error)
fs/xfs/scrub/dirtree_repair.c
451
error = xfs_dir_replace(sc->tp, sc->ip, &xfs_name_dotdot,
fs/xfs/scrub/dirtree_repair.c
453
if (error)
fs/xfs/scrub/dirtree_repair.c
458
error = xfs_droplink(sc->tp, sc->ip);
fs/xfs/scrub/dirtree_repair.c
459
if (error)
fs/xfs/scrub/dirtree_repair.c
462
error = xfs_dir_removename(sc->tp, dp, &dl->xname, sc->ip->i_ino,
fs/xfs/scrub/dirtree_repair.c
464
if (error) {
fs/xfs/scrub/dirtree_repair.c
465
ASSERT(error != -ENOENT);
fs/xfs/scrub/dirtree_repair.c
470
error = xfs_parent_removename(sc->tp, &dl->ppargs, dp,
fs/xfs/scrub/dirtree_repair.c
472
if (error)
fs/xfs/scrub/dirtree_repair.c
481
error = xrep_dirtree_purge_dentry(dl, dp, &dl->xname);
fs/xfs/scrub/dirtree_repair.c
482
if (error)
fs/xfs/scrub/dirtree_repair.c
485
error = xrep_trans_commit(sc);
fs/xfs/scrub/dirtree_repair.c
495
return error;
fs/xfs/scrub/dirtree_repair.c
510
int error;
fs/xfs/scrub/dirtree_repair.c
518
error = xrep_dirtree_prep_path(dl, path, &step);
fs/xfs/scrub/dirtree_repair.c
519
if (error)
fs/xfs/scrub/dirtree_repair.c
520
return error;
fs/xfs/scrub/dirtree_repair.c
522
error = xchk_iget(sc, be64_to_cpu(step.pptr_rec.p_ino), &dp);
fs/xfs/scrub/dirtree_repair.c
523
if (error)
fs/xfs/scrub/dirtree_repair.c
524
return error;
fs/xfs/scrub/dirtree_repair.c
531
error = xrep_dirtree_unlink(dl, dp, path, &step);
fs/xfs/scrub/dirtree_repair.c
543
if (!error && dl->stale)
fs/xfs/scrub/dirtree_repair.c
544
error = -ESTALE;
fs/xfs/scrub/dirtree_repair.c
545
return error;
fs/xfs/scrub/dirtree_repair.c
555
int error;
fs/xfs/scrub/dirtree_repair.c
586
error = xino_bitmap_set(&path->seen_inodes, sc->orphanage->i_ino);
fs/xfs/scrub/dirtree_repair.c
587
if (error)
fs/xfs/scrub/dirtree_repair.c
593
error = xchk_dirpath_append(dl, sc->ip, path, &dl->xname,
fs/xfs/scrub/dirtree_repair.c
595
if (error)
fs/xfs/scrub/dirtree_repair.c
608
return error;
fs/xfs/scrub/dirtree_repair.c
621
int error;
fs/xfs/scrub/dirtree_repair.c
635
if (xchk_should_terminate(sc, &error)) {
fs/xfs/scrub/dirtree_repair.c
637
return error;
fs/xfs/scrub/dirtree_repair.c
656
int error;
fs/xfs/scrub/dirtree_repair.c
659
error = xrep_dirtree_adopt_iolock(sc);
fs/xfs/scrub/dirtree_repair.c
660
if (error)
fs/xfs/scrub/dirtree_repair.c
661
return error;
fs/xfs/scrub/dirtree_repair.c
669
error = xrep_adoption_trans_alloc(sc, &dl->adoption);
fs/xfs/scrub/dirtree_repair.c
670
if (error)
fs/xfs/scrub/dirtree_repair.c
675
error = xrep_adoption_compute_name(&dl->adoption, &dl->xname);
fs/xfs/scrub/dirtree_repair.c
676
if (error)
fs/xfs/scrub/dirtree_repair.c
686
error = -ESTALE;
fs/xfs/scrub/dirtree_repair.c
689
error = xrep_dirtree_create_adoption_path(dl);
fs/xfs/scrub/dirtree_repair.c
691
if (error)
fs/xfs/scrub/dirtree_repair.c
695
error = xrep_adoption_move(&dl->adoption);
fs/xfs/scrub/dirtree_repair.c
696
if (error)
fs/xfs/scrub/dirtree_repair.c
703
error = xrep_trans_commit(sc);
fs/xfs/scrub/dirtree_repair.c
713
return error;
fs/xfs/scrub/dirtree_repair.c
725
int error;
fs/xfs/scrub/dirtree_repair.c
736
error = xrep_dirtree_adopt(dl);
fs/xfs/scrub/dirtree_repair.c
747
if (!error && dl->stale)
fs/xfs/scrub/dirtree_repair.c
748
error = -ESTALE;
fs/xfs/scrub/dirtree_repair.c
749
return error;
fs/xfs/scrub/dirtree_repair.c
762
int error;
fs/xfs/scrub/dirtree_repair.c
769
error = xrep_dirtree_delete_path(dl, path);
fs/xfs/scrub/dirtree_repair.c
770
if (error)
fs/xfs/scrub/dirtree_repair.c
771
return error;
fs/xfs/scrub/dirtree_repair.c
791
int error;
fs/xfs/scrub/dirtree_repair.c
810
error = xrep_dirtree_fix_problems(dl, &oc);
fs/xfs/scrub/dirtree_repair.c
811
if (!error || error != -ESTALE)
fs/xfs/scrub/dirtree_repair.c
814
error = xchk_dirtree_find_paths_to_root(dl);
fs/xfs/scrub/dirtree_repair.c
815
if (error == -ELNRNG || error == -ENOSR)
fs/xfs/scrub/dirtree_repair.c
816
error = -EFSCORRUPTED;
fs/xfs/scrub/dirtree_repair.c
817
} while (!error);
fs/xfs/scrub/dirtree_repair.c
820
return error;
fs/xfs/scrub/dqiterate.c
107
error = xfs_bmapi_read(cursor->quota_ip, fileoff,
fs/xfs/scrub/dqiterate.c
110
if (error)
fs/xfs/scrub/dqiterate.c
111
return error;
fs/xfs/scrub/dqiterate.c
179
int error = 0;
fs/xfs/scrub/dqiterate.c
187
error = xchk_dquot_iter_revalidate_bmap(cursor);
fs/xfs/scrub/dqiterate.c
188
if (!error && !xfs_bmap_is_real_extent(&cursor->bmap))
fs/xfs/scrub/dqiterate.c
189
error = xchk_dquot_iter_advance_bmap(cursor, &next_ondisk);
fs/xfs/scrub/dqiterate.c
191
if (error)
fs/xfs/scrub/dqiterate.c
192
return error;
fs/xfs/scrub/dqiterate.c
204
error = xfs_qm_dqget(mp, cursor->id, cursor->dqtype, false, &dq);
fs/xfs/scrub/dqiterate.c
205
if (error)
fs/xfs/scrub/dqiterate.c
206
return error;
fs/xfs/scrub/dqiterate.c
52
int error;
fs/xfs/scrub/dqiterate.c
66
error = xfs_bmapi_read(cursor->quota_ip, fileoff,
fs/xfs/scrub/dqiterate.c
68
if (error)
fs/xfs/scrub/dqiterate.c
69
return error;
fs/xfs/scrub/dqiterate.c
96
int error;
fs/xfs/scrub/findparent.c
104
int error = 0;
fs/xfs/scrub/findparent.c
106
if (xchk_should_terminate(fpi->sc, &error))
fs/xfs/scrub/findparent.c
107
return error;
fs/xfs/scrub/findparent.c
153
int error = 0;
fs/xfs/scrub/findparent.c
186
error = -EFSCORRUPTED;
fs/xfs/scrub/findparent.c
195
error = -EBUSY;
fs/xfs/scrub/findparent.c
199
error = xchk_dir_walk(sc, dp, xrep_findparent_dirent, fpi);
fs/xfs/scrub/findparent.c
200
if (error)
fs/xfs/scrub/findparent.c
205
return error;
fs/xfs/scrub/findparent.c
252
int error;
fs/xfs/scrub/findparent.c
276
error = xfs_dir_hook_add(sc->mp, &pscan->dhook);
fs/xfs/scrub/findparent.c
277
if (error)
fs/xfs/scrub/findparent.c
284
return error;
fs/xfs/scrub/findparent.c
367
int error;
fs/xfs/scrub/findparent.c
396
error = xchk_iget(sc, *parent_ino, &fpi.dp);
fs/xfs/scrub/findparent.c
397
if (error)
fs/xfs/scrub/findparent.c
398
return error;
fs/xfs/scrub/findparent.c
405
error = xrep_findparent_walk_directory(&fpi);
fs/xfs/scrub/findparent.c
406
if (error)
fs/xfs/scrub/findparent.c
412
return error;
fs/xfs/scrub/fscounters.c
101
error = -EFSCORRUPTED;
fs/xfs/scrub/fscounters.c
117
return error;
fs/xfs/scrub/fscounters.c
124
int error;
fs/xfs/scrub/fscounters.c
126
error = freeze_super(sc->mp->m_super, FREEZE_HOLDER_KERNEL, NULL);
fs/xfs/scrub/fscounters.c
127
trace_xchk_fsfreeze(sc, error);
fs/xfs/scrub/fscounters.c
128
return error;
fs/xfs/scrub/fscounters.c
135
int error;
fs/xfs/scrub/fscounters.c
138
error = thaw_super(sc->mp->m_super, FREEZE_HOLDER_KERNEL, NULL);
fs/xfs/scrub/fscounters.c
139
trace_xchk_fsthaw(sc, error);
fs/xfs/scrub/fscounters.c
140
return error;
fs/xfs/scrub/fscounters.c
156
int error = 0;
fs/xfs/scrub/fscounters.c
164
while ((error = xchk_fsfreeze(sc)) == -EBUSY) {
fs/xfs/scrub/fscounters.c
165
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/fscounters.c
166
return error;
fs/xfs/scrub/fscounters.c
170
if (error)
fs/xfs/scrub/fscounters.c
171
return error;
fs/xfs/scrub/fscounters.c
184
int error;
fs/xfs/scrub/fscounters.c
189
error = xchk_fsthaw(sc);
fs/xfs/scrub/fscounters.c
190
if (error)
fs/xfs/scrub/fscounters.c
191
xfs_emerg(sc->mp, "still frozen after scrub, err=%d", error);
fs/xfs/scrub/fscounters.c
201
int error;
fs/xfs/scrub/fscounters.c
220
error = xchk_fscount_warmup(sc);
fs/xfs/scrub/fscounters.c
221
if (error)
fs/xfs/scrub/fscounters.c
222
return error;
fs/xfs/scrub/fscounters.c
235
error = xchk_fscounters_freeze(sc);
fs/xfs/scrub/fscounters.c
236
if (error)
fs/xfs/scrub/fscounters.c
237
return error;
fs/xfs/scrub/fscounters.c
266
int error;
fs/xfs/scrub/fscounters.c
268
error = xchk_ag_init_existing(sc, agno, &sc->sa);
fs/xfs/scrub/fscounters.c
269
if (error)
fs/xfs/scrub/fscounters.c
272
error = xfs_btree_count_blocks(sc->sa.bno_cur, &blocks);
fs/xfs/scrub/fscounters.c
273
if (error)
fs/xfs/scrub/fscounters.c
277
error = xfs_btree_count_blocks(sc->sa.cnt_cur, &blocks);
fs/xfs/scrub/fscounters.c
278
if (error)
fs/xfs/scrub/fscounters.c
284
return error;
fs/xfs/scrub/fscounters.c
302
int error = 0;
fs/xfs/scrub/fscounters.c
310
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/fscounters.c
316
error = -EFSCORRUPTED;
fs/xfs/scrub/fscounters.c
330
error = xchk_fscount_btreeblks(sc, fsc, pag_agno(pag));
fs/xfs/scrub/fscounters.c
331
if (error)
fs/xfs/scrub/fscounters.c
345
if (error) {
fs/xfs/scrub/fscounters.c
347
return error;
fs/xfs/scrub/fscounters.c
397
int error = 0;
fs/xfs/scrub/fscounters.c
401
xchk_should_terminate(fsc->sc, &error);
fs/xfs/scrub/fscounters.c
402
return error;
fs/xfs/scrub/fscounters.c
413
int error;
fs/xfs/scrub/fscounters.c
428
error = xfs_rtalloc_query_all(rtg, sc->tp,
fs/xfs/scrub/fscounters.c
431
if (error) {
fs/xfs/scrub/fscounters.c
434
return error;
fs/xfs/scrub/fscounters.c
518
int error;
fs/xfs/scrub/fscounters.c
567
error = xchk_fscount_aggregate_agcounts(sc, fsc);
fs/xfs/scrub/fscounters.c
568
if (!xchk_process_error(sc, 0, XFS_SB_BLOCK(mp), &error))
fs/xfs/scrub/fscounters.c
569
return error;
fs/xfs/scrub/fscounters.c
572
error = xchk_fscount_count_frextents(sc, fsc);
fs/xfs/scrub/fscounters.c
573
if (!xchk_process_error(sc, 0, XFS_SB_BLOCK(mp), &error))
fs/xfs/scrub/fscounters.c
574
return error;
fs/xfs/scrub/fscounters.c
78
int error = 0;
fs/xfs/scrub/fscounters.c
81
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/fscounters.c
88
error = xfs_ialloc_read_agi(pag, sc->tp, 0, &agi_bp);
fs/xfs/scrub/fscounters.c
89
if (error)
fs/xfs/scrub/fscounters.c
91
error = xfs_alloc_read_agf(pag, sc->tp, 0, &agf_bp);
fs/xfs/scrub/fscounters.c
92
if (error)
fs/xfs/scrub/ialloc.c
140
int error;
fs/xfs/scrub/ialloc.c
157
error = xchk_inobt_xref_finobt(sc, irec, i, free, hole);
fs/xfs/scrub/ialloc.c
158
if (!xchk_should_check_xref(sc, &error, &sc->sa.fino_cur))
fs/xfs/scrub/ialloc.c
180
int error;
fs/xfs/scrub/ialloc.c
184
error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &has_record);
fs/xfs/scrub/ialloc.c
185
if (error)
fs/xfs/scrub/ialloc.c
186
return error;
fs/xfs/scrub/ialloc.c
190
error = xfs_inobt_get_rec(cur, &irec, &has_record);
fs/xfs/scrub/ialloc.c
228
int error;
fs/xfs/scrub/ialloc.c
245
error = xchk_finobt_xref_inobt(sc, frec, i, ffree, fhole);
fs/xfs/scrub/ialloc.c
246
if (!xchk_should_check_xref(sc, &error, &sc->sa.ino_cur))
fs/xfs/scrub/ialloc.c
311
int error = 0;
fs/xfs/scrub/ialloc.c
313
if (xchk_should_terminate(bs->sc, &error))
fs/xfs/scrub/ialloc.c
314
return error;
fs/xfs/scrub/ialloc.c
330
error = xchk_inode_is_allocated(bs->sc, agino, &ino_inuse);
fs/xfs/scrub/ialloc.c
331
if (error == -ENODATA) {
fs/xfs/scrub/ialloc.c
336
} else if (error < 0) {
fs/xfs/scrub/ialloc.c
374
int error = 0;
fs/xfs/scrub/ialloc.c
432
error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, &cluster_bp);
fs/xfs/scrub/ialloc.c
433
if (!xchk_btree_xref_process_error(bs->sc, bs->cur, 0, &error))
fs/xfs/scrub/ialloc.c
434
return error;
fs/xfs/scrub/ialloc.c
446
error = xchk_iallocbt_check_cluster_ifree(bs, irec,
fs/xfs/scrub/ialloc.c
448
if (error)
fs/xfs/scrub/ialloc.c
454
return error;
fs/xfs/scrub/ialloc.c
468
int error = 0;
fs/xfs/scrub/ialloc.c
480
error = xchk_iallocbt_check_cluster(bs, irec, cluster_base);
fs/xfs/scrub/ialloc.c
481
if (error)
fs/xfs/scrub/ialloc.c
485
return error;
fs/xfs/scrub/ialloc.c
582
int error = 0;
fs/xfs/scrub/ialloc.c
636
error = xchk_iallocbt_check_clusters(bs, &irec);
fs/xfs/scrub/ialloc.c
637
if (error)
fs/xfs/scrub/ialloc.c
641
return error;
fs/xfs/scrub/ialloc.c
655
int error;
fs/xfs/scrub/ialloc.c
663
error = xfs_btree_count_blocks(sc->sa.ino_cur, &inobt_blocks);
fs/xfs/scrub/ialloc.c
664
if (!xchk_process_error(sc, 0, 0, &error))
fs/xfs/scrub/ialloc.c
668
error = xfs_btree_count_blocks(sc->sa.fino_cur, &finobt_blocks);
fs/xfs/scrub/ialloc.c
669
if (!xchk_process_error(sc, 0, 0, &error))
fs/xfs/scrub/ialloc.c
673
error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur,
fs/xfs/scrub/ialloc.c
675
if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
fs/xfs/scrub/ialloc.c
692
int error;
fs/xfs/scrub/ialloc.c
698
error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur,
fs/xfs/scrub/ialloc.c
700
if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
fs/xfs/scrub/ialloc.c
718
int error;
fs/xfs/scrub/ialloc.c
732
error = xchk_btree(sc, cur, xchk_iallocbt_rec, &XFS_RMAP_OINFO_INOBT,
fs/xfs/scrub/ialloc.c
734
if (error)
fs/xfs/scrub/ialloc.c
735
return error;
fs/xfs/scrub/ialloc.c
748
return error;
fs/xfs/scrub/ialloc.c
761
int error;
fs/xfs/scrub/ialloc.c
766
error = xfs_ialloc_has_inodes_at_extent(*icur, agbno, len, &outcome);
fs/xfs/scrub/ialloc.c
767
if (!xchk_should_check_xref(sc, &error, icur))
fs/xfs/scrub/ialloc.c
77
int error;
fs/xfs/scrub/ialloc.c
81
error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &has_record);
fs/xfs/scrub/ialloc.c
82
if (error)
fs/xfs/scrub/ialloc.c
83
return error;
fs/xfs/scrub/ialloc.c
87
error = xfs_inobt_get_rec(cur, &frec, &has_record);
fs/xfs/scrub/ialloc_repair.c
152
int error;
fs/xfs/scrub/ialloc_repair.c
170
error = xchk_inode_is_allocated(sc, agino, inuse);
fs/xfs/scrub/ialloc_repair.c
171
if (!error)
fs/xfs/scrub/ialloc_repair.c
183
int error = 0;
fs/xfs/scrub/ialloc_repair.c
185
if (xchk_should_terminate(ri->sc, &error))
fs/xfs/scrub/ialloc_repair.c
186
return error;
fs/xfs/scrub/ialloc_repair.c
197
error = xfarray_append(ri->inode_records, &ri->rie);
fs/xfs/scrub/ialloc_repair.c
198
if (error)
fs/xfs/scrub/ialloc_repair.c
199
return error;
fs/xfs/scrub/ialloc_repair.c
229
int error = 0;
fs/xfs/scrub/ialloc_repair.c
242
error = xrep_ibt_stash(ri);
fs/xfs/scrub/ialloc_repair.c
243
if (error)
fs/xfs/scrub/ialloc_repair.c
244
return error;
fs/xfs/scrub/ialloc_repair.c
265
error = xrep_ibt_check_ifree(ri, cluster_ir_startino,
fs/xfs/scrub/ialloc_repair.c
267
if (error)
fs/xfs/scrub/ialloc_repair.c
268
return error;
fs/xfs/scrub/ialloc_repair.c
298
int error;
fs/xfs/scrub/ialloc_repair.c
311
error = xfs_imap_to_bp(mp, sc->tp, &imap, &cluster_bp);
fs/xfs/scrub/ialloc_repair.c
312
if (error)
fs/xfs/scrub/ialloc_repair.c
313
return error;
fs/xfs/scrub/ialloc_repair.c
323
error = xrep_ibt_cluster_record(ri,
fs/xfs/scrub/ialloc_repair.c
326
if (error)
fs/xfs/scrub/ialloc_repair.c
332
return error;
fs/xfs/scrub/ialloc_repair.c
346
int error;
fs/xfs/scrub/ialloc_repair.c
385
error = xfs_alloc_has_records(sc->sa.bno_cur, agbno, len, &outcome);
fs/xfs/scrub/ialloc_repair.c
386
if (error)
fs/xfs/scrub/ialloc_repair.c
387
return error;
fs/xfs/scrub/ialloc_repair.c
417
int error;
fs/xfs/scrub/ialloc_repair.c
419
error = xrep_ibt_check_inode_ext(ri->sc, rec->rm_startblock,
fs/xfs/scrub/ialloc_repair.c
421
if (error)
fs/xfs/scrub/ialloc_repair.c
422
return error;
fs/xfs/scrub/ialloc_repair.c
433
error = xrep_ibt_process_cluster(ri,
fs/xfs/scrub/ialloc_repair.c
435
if (error)
fs/xfs/scrub/ialloc_repair.c
436
return error;
fs/xfs/scrub/ialloc_repair.c
449
int error = 0;
fs/xfs/scrub/ialloc_repair.c
451
if (xchk_should_terminate(ri->sc, &error))
fs/xfs/scrub/ialloc_repair.c
452
return error;
fs/xfs/scrub/ialloc_repair.c
474
int error;
fs/xfs/scrub/ialloc_repair.c
480
error = xfs_rmap_query_all(sc->sa.rmap_cur, xrep_ibt_walk_rmap, ri);
fs/xfs/scrub/ialloc_repair.c
482
if (error)
fs/xfs/scrub/ialloc_repair.c
483
return error;
fs/xfs/scrub/ialloc_repair.c
530
int error;
fs/xfs/scrub/ialloc_repair.c
534
error = xfarray_load(ri->inode_records,
fs/xfs/scrub/ialloc_repair.c
536
} while (error == 0 && xfs_inobt_rec_freecount(irec) == 0);
fs/xfs/scrub/ialloc_repair.c
537
if (error)
fs/xfs/scrub/ialloc_repair.c
538
return error;
fs/xfs/scrub/ialloc_repair.c
560
int error;
fs/xfs/scrub/ialloc_repair.c
563
error = xfarray_load(ri->inode_records, ri->array_cur++, irec);
fs/xfs/scrub/ialloc_repair.c
564
if (error)
fs/xfs/scrub/ialloc_repair.c
565
return error;
fs/xfs/scrub/ialloc_repair.c
606
int error = 0;
fs/xfs/scrub/ialloc_repair.c
609
if (xchk_should_terminate(ri->sc, &error))
fs/xfs/scrub/ialloc_repair.c
610
return error;
fs/xfs/scrub/ialloc_repair.c
612
error = xfarray_load(ri->inode_records, cur, &irec);
fs/xfs/scrub/ialloc_repair.c
613
if (error)
fs/xfs/scrub/ialloc_repair.c
614
return error;
fs/xfs/scrub/ialloc_repair.c
622
return error;
fs/xfs/scrub/ialloc_repair.c
634
int error;
fs/xfs/scrub/ialloc_repair.c
644
error = xrep_ibt_check_overlap(ri);
fs/xfs/scrub/ialloc_repair.c
645
if (error)
fs/xfs/scrub/ialloc_repair.c
646
return error;
fs/xfs/scrub/ialloc_repair.c
662
error = xfs_btree_bload_compute_geometry(ino_cur, &ri->new_inobt.bload,
fs/xfs/scrub/ialloc_repair.c
664
if (error)
fs/xfs/scrub/ialloc_repair.c
682
error = xfs_btree_bload_compute_geometry(fino_cur,
fs/xfs/scrub/ialloc_repair.c
684
if (error)
fs/xfs/scrub/ialloc_repair.c
689
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/ialloc_repair.c
693
error = xrep_newbt_alloc_blocks(&ri->new_inobt,
fs/xfs/scrub/ialloc_repair.c
695
if (error)
fs/xfs/scrub/ialloc_repair.c
699
error = xrep_newbt_alloc_blocks(&ri->new_finobt,
fs/xfs/scrub/ialloc_repair.c
701
if (error)
fs/xfs/scrub/ialloc_repair.c
707
error = xfs_btree_bload(ino_cur, &ri->new_inobt.bload, ri);
fs/xfs/scrub/ialloc_repair.c
708
if (error)
fs/xfs/scrub/ialloc_repair.c
714
error = xfs_btree_bload(fino_cur, &ri->new_finobt.bload, ri);
fs/xfs/scrub/ialloc_repair.c
715
if (error)
fs/xfs/scrub/ialloc_repair.c
732
error = xrep_ibt_reset_counters(ri);
fs/xfs/scrub/ialloc_repair.c
733
if (error)
fs/xfs/scrub/ialloc_repair.c
738
error = xrep_newbt_commit(&ri->new_finobt);
fs/xfs/scrub/ialloc_repair.c
739
if (error)
fs/xfs/scrub/ialloc_repair.c
742
error = xrep_newbt_commit(&ri->new_inobt);
fs/xfs/scrub/ialloc_repair.c
743
if (error)
fs/xfs/scrub/ialloc_repair.c
744
return error;
fs/xfs/scrub/ialloc_repair.c
750
xfs_btree_del_cursor(fino_cur, error);
fs/xfs/scrub/ialloc_repair.c
752
xfs_btree_del_cursor(ino_cur, error);
fs/xfs/scrub/ialloc_repair.c
758
return error;
fs/xfs/scrub/ialloc_repair.c
770
int error;
fs/xfs/scrub/ialloc_repair.c
778
error = xrep_reap_agblocks(sc, &ri->old_iallocbt_blocks,
fs/xfs/scrub/ialloc_repair.c
780
if (error)
fs/xfs/scrub/ialloc_repair.c
781
return error;
fs/xfs/scrub/ialloc_repair.c
801
int error = 0;
fs/xfs/scrub/ialloc_repair.c
818
error = xfarray_create("inode index records", last_agino,
fs/xfs/scrub/ialloc_repair.c
821
if (error)
fs/xfs/scrub/ialloc_repair.c
826
error = xrep_ibt_find_inodes(ri);
fs/xfs/scrub/ialloc_repair.c
827
if (error)
fs/xfs/scrub/ialloc_repair.c
831
error = xrep_ibt_build_new_trees(ri);
fs/xfs/scrub/ialloc_repair.c
832
if (error)
fs/xfs/scrub/ialloc_repair.c
836
error = xrep_ibt_remove_old_trees(ri);
fs/xfs/scrub/ialloc_repair.c
837
if (error)
fs/xfs/scrub/ialloc_repair.c
845
return error;
fs/xfs/scrub/ialloc_repair.c
854
int error;
fs/xfs/scrub/ialloc_repair.c
862
error = xchk_iallocbt(sc);
fs/xfs/scrub/ialloc_repair.c
863
if (error)
fs/xfs/scrub/ialloc_repair.c
883
error = xchk_iallocbt(sc);
fs/xfs/scrub/ialloc_repair.c
887
return error;
fs/xfs/scrub/inode.c
106
error = xchk_install_live_inode(sc, ip_in);
fs/xfs/scrub/inode.c
107
if (error)
fs/xfs/scrub/inode.c
108
return error;
fs/xfs/scrub/inode.c
126
error = xchk_iget_safe(sc, sc->sm->sm_ino, &ip);
fs/xfs/scrub/inode.c
127
if (!error)
fs/xfs/scrub/inode.c
129
if (error == -ENOENT)
fs/xfs/scrub/inode.c
130
return error;
fs/xfs/scrub/inode.c
131
if (error != -EFSCORRUPTED && error != -EFSBADCRC && error != -EINVAL)
fs/xfs/scrub/inode.c
156
error = xchk_trans_alloc(sc, 0);
fs/xfs/scrub/inode.c
157
if (error)
fs/xfs/scrub/inode.c
160
error = xchk_iget_agi(sc, sc->sm->sm_ino, &agi_bp, &ip);
fs/xfs/scrub/inode.c
161
if (error == 0) {
fs/xfs/scrub/inode.c
166
if (error == -ENOENT)
fs/xfs/scrub/inode.c
168
if (error != -EFSCORRUPTED && error != -EFSBADCRC && error != -EINVAL)
fs/xfs/scrub/inode.c
174
error = -ECANCELED;
fs/xfs/scrub/inode.c
191
error = -EFSCORRUPTED;
fs/xfs/scrub/inode.c
195
error = xfs_imap(pag, sc->tp, sc->sm->sm_ino, &imap,
fs/xfs/scrub/inode.c
198
if (error == -EINVAL || error == -ENOENT)
fs/xfs/scrub/inode.c
200
if (error)
fs/xfs/scrub/inode.c
222
error, __return_address);
fs/xfs/scrub/inode.c
223
return error;
fs/xfs/scrub/inode.c
35
int error;
fs/xfs/scrub/inode.c
39
error = xchk_trans_alloc(sc, 0);
fs/xfs/scrub/inode.c
40
if (error)
fs/xfs/scrub/inode.c
41
return error;
fs/xfs/scrub/inode.c
43
error = xchk_ino_dqattach(sc);
fs/xfs/scrub/inode.c
44
if (error)
fs/xfs/scrub/inode.c
45
return error;
fs/xfs/scrub/inode.c
57
int error;
fs/xfs/scrub/inode.c
59
error = xchk_install_handle_inode(sc, ip);
fs/xfs/scrub/inode.c
60
if (error)
fs/xfs/scrub/inode.c
61
return error;
fs/xfs/scrub/inode.c
660
int error;
fs/xfs/scrub/inode.c
671
error = xfs_inobt_lookup(sc->sa.fino_cur, agino, XFS_LOOKUP_LE,
fs/xfs/scrub/inode.c
673
if (!xchk_should_check_xref(sc, &error, &sc->sa.fino_cur) ||
fs/xfs/scrub/inode.c
677
error = xfs_inobt_get_rec(sc->sa.fino_cur, &rec, &has_record);
fs/xfs/scrub/inode.c
678
if (!xchk_should_check_xref(sc, &error, &sc->sa.fino_cur) ||
fs/xfs/scrub/inode.c
703
int error;
fs/xfs/scrub/inode.c
709
error = xchk_inode_count_blocks(sc, XFS_DATA_FORK, &nextents, &count);
fs/xfs/scrub/inode.c
710
if (!xchk_should_check_xref(sc, &error, NULL))
fs/xfs/scrub/inode.c
715
error = xchk_inode_count_blocks(sc, XFS_ATTR_FORK, &nextents, &acount);
fs/xfs/scrub/inode.c
716
if (!xchk_should_check_xref(sc, &error, NULL))
fs/xfs/scrub/inode.c
735
int error;
fs/xfs/scrub/inode.c
743
error = xchk_ag_init_existing(sc, agno, &sc->sa);
fs/xfs/scrub/inode.c
744
if (!xchk_xref_process_error(sc, agno, agbno, &error))
fs/xfs/scrub/inode.c
771
int error;
fs/xfs/scrub/inode.c
776
error = xfs_reflink_inode_has_shared_extents(sc->tp, sc->ip,
fs/xfs/scrub/inode.c
779
XFS_INO_TO_AGBNO(mp, ino), &error))
fs/xfs/scrub/inode.c
810
int error = 0;
fs/xfs/scrub/inode.c
840
return error;
fs/xfs/scrub/inode.c
99
int error;
fs/xfs/scrub/inode_repair.c
1553
int error;
fs/xfs/scrub/inode_repair.c
1557
error = xrep_dinode_count_rmaps(ri);
fs/xfs/scrub/inode_repair.c
1558
if (error)
fs/xfs/scrub/inode_repair.c
1559
return error;
fs/xfs/scrub/inode_repair.c
1562
error = xfs_trans_read_buf(sc->mp, sc->tp, sc->mp->m_ddev_targp,
fs/xfs/scrub/inode_repair.c
1564
if (error)
fs/xfs/scrub/inode_repair.c
1565
return error;
fs/xfs/scrub/inode_repair.c
1609
error = xrep_trans_commit(sc);
fs/xfs/scrub/inode_repair.c
1610
if (error)
fs/xfs/scrub/inode_repair.c
1611
return error;
fs/xfs/scrub/inode_repair.c
1616
error = xchk_trans_alloc(sc, 0);
fs/xfs/scrub/inode_repair.c
1617
if (error)
fs/xfs/scrub/inode_repair.c
1618
return error;
fs/xfs/scrub/inode_repair.c
1620
error = xrep_ino_dqattach(sc);
fs/xfs/scrub/inode_repair.c
1621
if (error)
fs/xfs/scrub/inode_repair.c
1622
return error;
fs/xfs/scrub/inode_repair.c
1636
int error;
fs/xfs/scrub/inode_repair.c
1638
error = xrep_dinode_core(ri);
fs/xfs/scrub/inode_repair.c
1639
if (error)
fs/xfs/scrub/inode_repair.c
1640
return error;
fs/xfs/scrub/inode_repair.c
1668
int error;
fs/xfs/scrub/inode_repair.c
1673
error = xchk_inode_count_blocks(sc, XFS_DATA_FORK, &nextents, &count);
fs/xfs/scrub/inode_repair.c
1674
if (error)
fs/xfs/scrub/inode_repair.c
1675
return error;
fs/xfs/scrub/inode_repair.c
1689
error = xrep_ino_ensure_extent_count(sc, XFS_DATA_FORK, nextents);
fs/xfs/scrub/inode_repair.c
1690
if (error)
fs/xfs/scrub/inode_repair.c
1691
return error;
fs/xfs/scrub/inode_repair.c
1697
error = xchk_inode_count_blocks(sc, XFS_ATTR_FORK, &nextents,
fs/xfs/scrub/inode_repair.c
1699
if (error)
fs/xfs/scrub/inode_repair.c
1700
return error;
fs/xfs/scrub/inode_repair.c
1703
error = xrep_ino_ensure_extent_count(sc, XFS_ATTR_FORK,
fs/xfs/scrub/inode_repair.c
1705
if (error)
fs/xfs/scrub/inode_repair.c
1706
return error;
fs/xfs/scrub/inode_repair.c
1851
int error;
fs/xfs/scrub/inode_repair.c
1855
error = xfs_iread_extents(sc->tp, sc->ip, XFS_DATA_FORK);
fs/xfs/scrub/inode_repair.c
1856
if (error)
fs/xfs/scrub/inode_repair.c
1970
int error;
fs/xfs/scrub/inode_repair.c
1972
error = xrep_inode_blockcounts(sc);
fs/xfs/scrub/inode_repair.c
1973
if (error)
fs/xfs/scrub/inode_repair.c
1974
return error;
fs/xfs/scrub/inode_repair.c
1975
error = xrep_inode_pptr(sc);
fs/xfs/scrub/inode_repair.c
1976
if (error)
fs/xfs/scrub/inode_repair.c
1977
return error;
fs/xfs/scrub/inode_repair.c
2004
int error;
fs/xfs/scrub/inode_repair.c
2012
int error;
fs/xfs/scrub/inode_repair.c
2016
error = xfs_iunlink_remove(sc->tp, pag, sc->ip);
fs/xfs/scrub/inode_repair.c
2018
if (error)
fs/xfs/scrub/inode_repair.c
2019
return error;
fs/xfs/scrub/inode_repair.c
2027
error = xfs_iunlink(sc->tp, sc->ip);
fs/xfs/scrub/inode_repair.c
2028
if (error)
fs/xfs/scrub/inode_repair.c
2029
return error;
fs/xfs/scrub/inode_repair.c
2040
int error = 0;
fs/xfs/scrub/inode_repair.c
2051
error = xrep_dinode_problems(ri);
fs/xfs/scrub/inode_repair.c
2052
if (error == -EBUSY) {
fs/xfs/scrub/inode_repair.c
2059
if (error)
fs/xfs/scrub/inode_repair.c
2060
return error;
fs/xfs/scrub/inode_repair.c
2072
error = xrep_inode_problems(sc);
fs/xfs/scrub/inode_repair.c
2073
if (error)
fs/xfs/scrub/inode_repair.c
2074
return error;
fs/xfs/scrub/inode_repair.c
2079
error = xfs_reflink_clear_inode_flag(sc->ip, &sc->tp);
fs/xfs/scrub/inode_repair.c
2080
if (error)
fs/xfs/scrub/inode_repair.c
2081
return error;
fs/xfs/scrub/inode_repair.c
2085
error = xrep_inode_unlinked(sc);
fs/xfs/scrub/inode_repair.c
2086
if (error)
fs/xfs/scrub/inode_repair.c
2087
return error;
fs/xfs/scrub/inode_repair.c
255
int error = 0;
fs/xfs/scrub/inode_repair.c
257
if (xchk_should_terminate(ri->sc, &error))
fs/xfs/scrub/inode_repair.c
258
return error;
fs/xfs/scrub/inode_repair.c
315
int error = 0;
fs/xfs/scrub/inode_repair.c
318
if (xchk_should_terminate(ri->sc, &error))
fs/xfs/scrub/inode_repair.c
319
return error;
fs/xfs/scrub/inode_repair.c
345
int error = 0;
fs/xfs/scrub/inode_repair.c
355
error = xrep_dinode_trylock_directory(ri, dp, &lock_mode);
fs/xfs/scrub/inode_repair.c
356
if (error)
fs/xfs/scrub/inode_repair.c
357
return error;
fs/xfs/scrub/inode_repair.c
366
error = -EFSCORRUPTED;
fs/xfs/scrub/inode_repair.c
375
error = -EBUSY;
fs/xfs/scrub/inode_repair.c
379
error = xchk_dir_walk(sc, dp, xrep_dinode_findmode_dirent, ri);
fs/xfs/scrub/inode_repair.c
380
if (error)
fs/xfs/scrub/inode_repair.c
385
return error;
fs/xfs/scrub/inode_repair.c
399
int error;
fs/xfs/scrub/inode_repair.c
417
while ((error = xchk_iscan_iter(&ri->ftype_iscan, &dp)) == 1) {
fs/xfs/scrub/inode_repair.c
419
error = xrep_dinode_findmode_walk_directory(ri, dp);
fs/xfs/scrub/inode_repair.c
422
if (error < 0)
fs/xfs/scrub/inode_repair.c
424
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/inode_repair.c
430
if (error == -EBUSY) {
fs/xfs/scrub/inode_repair.c
438
error = 0;
fs/xfs/scrub/inode_repair.c
445
error = -EDEADLOCK;
fs/xfs/scrub/inode_repair.c
448
if (error)
fs/xfs/scrub/inode_repair.c
449
return error;
fs/xfs/scrub/inode_repair.c
490
int error;
fs/xfs/scrub/inode_repair.c
498
error = xrep_dinode_find_mode(ri, &mode);
fs/xfs/scrub/inode_repair.c
499
switch (error) {
fs/xfs/scrub/inode_repair.c
504
return error;
fs/xfs/scrub/inode_repair.c
734
int error = 0;
fs/xfs/scrub/inode_repair.c
736
if (xchk_should_terminate(ri->sc, &error))
fs/xfs/scrub/inode_repair.c
737
return error;
fs/xfs/scrub/inode_repair.c
766
int error;
fs/xfs/scrub/inode_repair.c
768
error = xfs_alloc_read_agf(pag, ri->sc->tp, 0, &agf);
fs/xfs/scrub/inode_repair.c
769
if (error)
fs/xfs/scrub/inode_repair.c
770
return error;
fs/xfs/scrub/inode_repair.c
773
error = xfs_rmap_query_all(cur, xrep_dinode_walk_rmap, ri);
fs/xfs/scrub/inode_repair.c
774
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/inode_repair.c
776
return error;
fs/xfs/scrub/inode_repair.c
787
int error = 0;
fs/xfs/scrub/inode_repair.c
789
if (xchk_should_terminate(ri->sc, &error))
fs/xfs/scrub/inode_repair.c
790
return error;
fs/xfs/scrub/inode_repair.c
811
int error;
fs/xfs/scrub/inode_repair.c
813
error = xrep_rtgroup_init(sc, rtg, &sc->sr, XFS_RTGLOCK_RMAP);
fs/xfs/scrub/inode_repair.c
814
if (error)
fs/xfs/scrub/inode_repair.c
815
return error;
fs/xfs/scrub/inode_repair.c
817
error = xfs_rmap_query_all(sc->sr.rmap_cur, xrep_dinode_walk_rtrmap,
fs/xfs/scrub/inode_repair.c
821
return error;
fs/xfs/scrub/inode_repair.c
831
int error;
fs/xfs/scrub/inode_repair.c
837
error = xrep_dinode_count_rtgroup_rmaps(ri, rtg);
fs/xfs/scrub/inode_repair.c
838
if (error) {
fs/xfs/scrub/inode_repair.c
840
return error;
fs/xfs/scrub/inode_repair.c
845
error = xrep_dinode_count_ag_rmaps(ri, pag);
fs/xfs/scrub/inode_repair.c
846
if (error) {
fs/xfs/scrub/inode_repair.c
848
return error;
fs/xfs/scrub/iscan.c
103
int error;
fs/xfs/scrub/iscan.c
117
error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &has_rec);
fs/xfs/scrub/iscan.c
118
if (!error && !has_rec)
fs/xfs/scrub/iscan.c
119
error = xfs_btree_increment(cur, 0, &has_rec);
fs/xfs/scrub/iscan.c
120
for (; !error; error = xfs_btree_increment(cur, 0, &has_rec)) {
fs/xfs/scrub/iscan.c
133
error = xfs_inobt_get_rec(cur, &rec, &has_rec);
fs/xfs/scrub/iscan.c
134
if (error)
fs/xfs/scrub/iscan.c
137
error = -EFSCORRUPTED;
fs/xfs/scrub/iscan.c
144
error = -EFSCORRUPTED;
fs/xfs/scrub/iscan.c
185
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/iscan.c
186
return error;
fs/xfs/scrub/iscan.c
441
int error;
fs/xfs/scrub/iscan.c
446
error = xfs_iget(sc->mp, sc->tp, ino, ISCAN_IGET_FLAGS, 0,
fs/xfs/scrub/iscan.c
449
trace_xchk_iscan_iget(iscan, error);
fs/xfs/scrub/iscan.c
451
if (error == -ENOENT || error == -EAGAIN) {
fs/xfs/scrub/iscan.c
469
if (error == -EINVAL) {
fs/xfs/scrub/iscan.c
483
if (error) {
fs/xfs/scrub/iscan.c
486
return error;
fs/xfs/scrub/iscan.c
519
error = xfs_iget(sc->mp, sc->tp, ino, ISCAN_IGET_FLAGS, 0,
fs/xfs/scrub/iscan.c
521
if (error)
fs/xfs/scrub/iscan.c
622
int error;
fs/xfs/scrub/iscan.c
630
error = xchk_iscan_iter_batch(iscan);
fs/xfs/scrub/iscan.c
631
if (error <= 0)
fs/xfs/scrub/iscan.c
632
return error;
fs/xfs/scrub/listxattr.c
116
int error;
fs/xfs/scrub/listxattr.c
118
error = xfs_attr3_leaf_read(sc->tp, ip, ip->i_ino, 0, &leaf_bp);
fs/xfs/scrub/listxattr.c
119
if (error)
fs/xfs/scrub/listxattr.c
120
return error;
fs/xfs/scrub/listxattr.c
122
error = xchk_xattr_walk_leaf_entries(sc, ip, attr_fn, leaf_bp, priv);
fs/xfs/scrub/listxattr.c
124
return error;
fs/xfs/scrub/listxattr.c
144
int error;
fs/xfs/scrub/listxattr.c
154
error = xfs_da3_node_read(tp, ip, blkno, &bp, XFS_ATTR_FORK);
fs/xfs/scrub/listxattr.c
155
if (error)
fs/xfs/scrub/listxattr.c
156
return error;
fs/xfs/scrub/listxattr.c
164
error = -EFSCORRUPTED;
fs/xfs/scrub/listxattr.c
187
error = xdab_bitmap_set(seen_dablks, blkno, 1);
fs/xfs/scrub/listxattr.c
188
if (error)
fs/xfs/scrub/listxattr.c
197
error = -EFSCORRUPTED;
fs/xfs/scrub/listxattr.c
206
error = xdab_bitmap_set(seen_dablks, blkno, 1);
fs/xfs/scrub/listxattr.c
207
if (error)
fs/xfs/scrub/listxattr.c
215
return error;
fs/xfs/scrub/listxattr.c
232
int error;
fs/xfs/scrub/listxattr.c
236
error = xchk_xattr_find_leftmost_leaf(sc, ip, &seen_dablks, &leaf_bp);
fs/xfs/scrub/listxattr.c
237
if (error)
fs/xfs/scrub/listxattr.c
243
error = xchk_xattr_walk_leaf_entries(sc, ip, attr_fn, leaf_bp,
fs/xfs/scrub/listxattr.c
245
if (error)
fs/xfs/scrub/listxattr.c
257
error = leaf_fn(sc, priv);
fs/xfs/scrub/listxattr.c
258
if (error)
fs/xfs/scrub/listxattr.c
265
error = -EFSCORRUPTED;
fs/xfs/scrub/listxattr.c
269
error = xfs_attr3_leaf_read(sc->tp, ip, ip->i_ino,
fs/xfs/scrub/listxattr.c
271
if (error)
fs/xfs/scrub/listxattr.c
275
error = xdab_bitmap_set(&seen_dablks, leafhdr.forw, 1);
fs/xfs/scrub/listxattr.c
276
if (error)
fs/xfs/scrub/listxattr.c
284
return error;
fs/xfs/scrub/listxattr.c
301
int error;
fs/xfs/scrub/listxattr.c
312
error = xfs_iread_extents(sc->tp, ip, XFS_ATTR_FORK);
fs/xfs/scrub/listxattr.c
313
if (error)
fs/xfs/scrub/listxattr.c
314
return error;
fs/xfs/scrub/listxattr.c
36
int error;
fs/xfs/scrub/listxattr.c
40
error = attr_fn(sc, ip, sfe->flags, sfe->nameval, sfe->namelen,
fs/xfs/scrub/listxattr.c
43
if (error)
fs/xfs/scrub/listxattr.c
44
return error;
fs/xfs/scrub/listxattr.c
66
int error;
fs/xfs/scrub/listxattr.c
94
error = attr_fn(sc, ip, entry->flags, name, namelen, value,
fs/xfs/scrub/listxattr.c
96
if (error)
fs/xfs/scrub/listxattr.c
97
return error;
fs/xfs/scrub/metapath.c
100
if (error) {
fs/xfs/scrub/metapath.c
102
return error;
fs/xfs/scrub/metapath.c
146
int error;
fs/xfs/scrub/metapath.c
154
error = -ENOENT;
fs/xfs/scrub/metapath.c
158
error = xchk_setup_metapath_scan(sc, sc->mp->m_rtdirip,
fs/xfs/scrub/metapath.c
163
return error;
fs/xfs/scrub/metapath.c
270
int error = 0;
fs/xfs/scrub/metapath.c
280
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/metapath.c
281
return error;
fs/xfs/scrub/metapath.c
309
int error;
fs/xfs/scrub/metapath.c
323
error = xchk_metapath_ilock_both(mpath);
fs/xfs/scrub/metapath.c
324
if (error)
fs/xfs/scrub/metapath.c
328
error = xchk_dir_lookup(sc, mpath->dp, &mpath->xname, &ino);
fs/xfs/scrub/metapath.c
330
if (error == -ENOENT) {
fs/xfs/scrub/metapath.c
333
error = 0;
fs/xfs/scrub/metapath.c
336
if (!xchk_fblock_xref_process_error(sc, XFS_DATA_FORK, 0, &error))
fs/xfs/scrub/metapath.c
347
return error;
fs/xfs/scrub/metapath.c
382
int error;
fs/xfs/scrub/metapath.c
401
error = xfs_parent_lookup(sc->tp, ip, &mpath->xname, &rec,
fs/xfs/scrub/metapath.c
403
switch (error) {
fs/xfs/scrub/metapath.c
410
return error;
fs/xfs/scrub/metapath.c
432
int error;
fs/xfs/scrub/metapath.c
435
error = xchk_trans_alloc(sc, mpath->link_resblks);
fs/xfs/scrub/metapath.c
436
if (error)
fs/xfs/scrub/metapath.c
437
return error;
fs/xfs/scrub/metapath.c
439
error = xchk_metapath_ilock_both(mpath);
fs/xfs/scrub/metapath.c
440
if (error) {
fs/xfs/scrub/metapath.c
442
return error;
fs/xfs/scrub/metapath.c
447
error = xchk_dir_lookup(sc, mpath->dp, &mpath->xname, &ino);
fs/xfs/scrub/metapath.c
449
if (error == -ENOENT) {
fs/xfs/scrub/metapath.c
454
error = xrep_metapath_link(mpath);
fs/xfs/scrub/metapath.c
455
if (error)
fs/xfs/scrub/metapath.c
458
error = xrep_trans_commit(sc);
fs/xfs/scrub/metapath.c
460
return error;
fs/xfs/scrub/metapath.c
462
if (error)
fs/xfs/scrub/metapath.c
467
error = 0;
fs/xfs/scrub/metapath.c
476
error = -EEXIST;
fs/xfs/scrub/metapath.c
481
return error;
fs/xfs/scrub/metapath.c
496
int error = 0;
fs/xfs/scrub/metapath.c
504
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/metapath.c
505
return error;
fs/xfs/scrub/metapath.c
531
int error;
fs/xfs/scrub/metapath.c
542
error = xchk_trans_alloc(sc, mpath->unlink_resblks);
fs/xfs/scrub/metapath.c
543
if (error)
fs/xfs/scrub/metapath.c
544
return error;
fs/xfs/scrub/metapath.c
546
error = xchk_iget(sc, *alleged_child, &ip);
fs/xfs/scrub/metapath.c
547
if (error == -EINVAL || error == -ENOENT) {
fs/xfs/scrub/metapath.c
549
error = 0;
fs/xfs/scrub/metapath.c
551
if (error) {
fs/xfs/scrub/metapath.c
553
return error;
fs/xfs/scrub/metapath.c
556
error = xchk_metapath_ilock_parent_and_child(mpath, ip);
fs/xfs/scrub/metapath.c
557
if (error) {
fs/xfs/scrub/metapath.c
559
return error;
fs/xfs/scrub/metapath.c
565
error = xchk_dir_lookup(sc, mpath->dp, &mpath->xname, &ino);
fs/xfs/scrub/metapath.c
567
if (error == -ENOENT) {
fs/xfs/scrub/metapath.c
572
error = 0;
fs/xfs/scrub/metapath.c
575
if (error)
fs/xfs/scrub/metapath.c
580
error = -EEXIST;
fs/xfs/scrub/metapath.c
590
error = -EAGAIN;
fs/xfs/scrub/metapath.c
595
error = xrep_metapath_unlink(mpath, ino, ip);
fs/xfs/scrub/metapath.c
596
if (error)
fs/xfs/scrub/metapath.c
599
error = xrep_trans_commit(sc);
fs/xfs/scrub/metapath.c
610
return error;
fs/xfs/scrub/metapath.c
626
int error = 0;
fs/xfs/scrub/metapath.c
641
error = xfs_attr_add_fork(sc->ip,
fs/xfs/scrub/metapath.c
643
if (error)
fs/xfs/scrub/metapath.c
644
return error;
fs/xfs/scrub/metapath.c
655
error = xrep_metapath_try_link(mpath, &alleged_child);
fs/xfs/scrub/metapath.c
656
if (!error)
fs/xfs/scrub/metapath.c
658
if (error != -EEXIST)
fs/xfs/scrub/metapath.c
659
return error;
fs/xfs/scrub/metapath.c
666
error = xrep_metapath_try_unlink(mpath, &alleged_child);
fs/xfs/scrub/metapath.c
667
} while (error == -EAGAIN);
fs/xfs/scrub/metapath.c
668
if (error == -EEXIST) {
fs/xfs/scrub/metapath.c
670
error = 0;
fs/xfs/scrub/metapath.c
673
} while (!error);
fs/xfs/scrub/metapath.c
675
return error;
fs/xfs/scrub/metapath.c
94
int error;
fs/xfs/scrub/metapath.c
99
error = xchk_install_live_inode(sc, ip);
fs/xfs/scrub/newbt.c
196
int error;
fs/xfs/scrub/newbt.c
211
error = xfs_alloc_schedule_autoreap(args,
fs/xfs/scrub/newbt.c
213
if (error)
fs/xfs/scrub/newbt.c
222
return error;
fs/xfs/scrub/newbt.c
272
int error = 0;
fs/xfs/scrub/newbt.c
292
error = xnr->alloc_vextent(sc, &args, xnr->alloc_hint);
fs/xfs/scrub/newbt.c
294
error = xfs_alloc_vextent_near_bno(&args,
fs/xfs/scrub/newbt.c
296
if (error)
fs/xfs/scrub/newbt.c
297
return error;
fs/xfs/scrub/newbt.c
311
error = xrep_newbt_add_blocks(xnr, sc->sa.pag, &args);
fs/xfs/scrub/newbt.c
312
if (error)
fs/xfs/scrub/newbt.c
313
return error;
fs/xfs/scrub/newbt.c
318
error = xrep_defer_finish(sc);
fs/xfs/scrub/newbt.c
319
if (error)
fs/xfs/scrub/newbt.c
320
return error;
fs/xfs/scrub/newbt.c
347
int error = 0;
fs/xfs/scrub/newbt.c
367
error = xnr->alloc_vextent(sc, &args, xnr->alloc_hint);
fs/xfs/scrub/newbt.c
369
error = xfs_alloc_vextent_start_ag(&args,
fs/xfs/scrub/newbt.c
371
if (error)
fs/xfs/scrub/newbt.c
372
return error;
fs/xfs/scrub/newbt.c
388
error = xrep_newbt_add_blocks(xnr, pag, &args);
fs/xfs/scrub/newbt.c
390
if (error)
fs/xfs/scrub/newbt.c
391
return error;
fs/xfs/scrub/newbt.c
396
error = xrep_defer_finish(sc);
fs/xfs/scrub/newbt.c
397
if (error)
fs/xfs/scrub/newbt.c
398
return error;
fs/xfs/scrub/newbt.c
428
int error;
fs/xfs/scrub/newbt.c
464
error = xfs_free_extent_later(sc->tp,
fs/xfs/scrub/newbt.c
467
if (error)
fs/xfs/scrub/newbt.c
468
return error;
fs/xfs/scrub/newbt.c
482
int error = 0;
fs/xfs/scrub/newbt.c
499
error = ret;
fs/xfs/scrub/newbt.c
505
error = xrep_defer_finish(sc);
fs/xfs/scrub/newbt.c
506
if (error)
fs/xfs/scrub/newbt.c
513
error = xrep_defer_finish(sc);
fs/xfs/scrub/newbt.c
533
return error;
fs/xfs/scrub/nlinks.c
1010
error = xfarray_create("file link counts",
fs/xfs/scrub/nlinks.c
1013
if (error)
fs/xfs/scrub/nlinks.c
1025
error = xfs_dir_hook_add(mp, &xnc->dhook);
fs/xfs/scrub/nlinks.c
1026
if (error)
fs/xfs/scrub/nlinks.c
1035
return error;
fs/xfs/scrub/nlinks.c
1044
int error = 0;
fs/xfs/scrub/nlinks.c
1047
error = xchk_nlinks_setup_scan(sc, xnc);
fs/xfs/scrub/nlinks.c
1048
if (error)
fs/xfs/scrub/nlinks.c
1049
return error;
fs/xfs/scrub/nlinks.c
1052
error = xchk_nlinks_collect(xnc);
fs/xfs/scrub/nlinks.c
1053
if (!xchk_xref_process_error(sc, 0, 0, &error))
fs/xfs/scrub/nlinks.c
1054
return error;
fs/xfs/scrub/nlinks.c
1063
error = xchk_nlinks_compare(xnc);
fs/xfs/scrub/nlinks.c
1064
if (!xchk_xref_process_error(sc, 0, 0, &error))
fs/xfs/scrub/nlinks.c
1065
return error;
fs/xfs/scrub/nlinks.c
126
int error;
fs/xfs/scrub/nlinks.c
131
error = xfarray_load_sparse(xnc->nlinks, ino, &nl);
fs/xfs/scrub/nlinks.c
132
if (error)
fs/xfs/scrub/nlinks.c
133
return error;
fs/xfs/scrub/nlinks.c
143
error = xfarray_store(xnc->nlinks, ino, &nl);
fs/xfs/scrub/nlinks.c
144
if (error == -EFBIG) {
fs/xfs/scrub/nlinks.c
150
error = -ECANCELED;
fs/xfs/scrub/nlinks.c
152
return error;
fs/xfs/scrub/nlinks.c
167
int error;
fs/xfs/scrub/nlinks.c
188
error = xchk_nlinks_update_incore(xnc, p->ip->i_ino, p->delta,
fs/xfs/scrub/nlinks.c
190
if (!error && S_ISDIR(VFS_IC(p->ip)->i_mode))
fs/xfs/scrub/nlinks.c
191
error = xchk_nlinks_update_incore(xnc, p->dp->i_ino, 0,
fs/xfs/scrub/nlinks.c
194
if (error)
fs/xfs/scrub/nlinks.c
205
error = xchk_nlinks_update_incore(xnc, p->dp->i_ino, 0,
fs/xfs/scrub/nlinks.c
208
if (error)
fs/xfs/scrub/nlinks.c
231
int error;
fs/xfs/scrub/nlinks.c
235
error = -ECANCELED;
fs/xfs/scrub/nlinks.c
247
error = -ECANCELED;
fs/xfs/scrub/nlinks.c
253
error = -ECANCELED;
fs/xfs/scrub/nlinks.c
260
error = -ECANCELED;
fs/xfs/scrub/nlinks.c
283
error = xchk_nlinks_update_incore(xnc, ino, 1, 0, 0);
fs/xfs/scrub/nlinks.c
285
error = xchk_nlinks_update_incore(xnc, ino, 0, 1, 0);
fs/xfs/scrub/nlinks.c
287
error = 0;
fs/xfs/scrub/nlinks.c
288
if (error)
fs/xfs/scrub/nlinks.c
297
error = xchk_nlinks_update_incore(xnc, ino, 1, 0, 0);
fs/xfs/scrub/nlinks.c
298
if (error)
fs/xfs/scrub/nlinks.c
307
error = xchk_nlinks_update_incore(xnc, dp->i_ino, 0, 0, 1);
fs/xfs/scrub/nlinks.c
308
if (error)
fs/xfs/scrub/nlinks.c
321
return error;
fs/xfs/scrub/nlinks.c
343
int error;
fs/xfs/scrub/nlinks.c
348
error = -ECANCELED;
fs/xfs/scrub/nlinks.c
355
error = xfs_parent_from_attr(sc->mp, attr_flags, name, namelen, value,
fs/xfs/scrub/nlinks.c
357
if (error)
fs/xfs/scrub/nlinks.c
358
return error;
fs/xfs/scrub/nlinks.c
364
error = xchk_nlinks_update_incore(xnc, parent_ino, 0, 1, 0);
fs/xfs/scrub/nlinks.c
365
if (error)
fs/xfs/scrub/nlinks.c
376
return error;
fs/xfs/scrub/nlinks.c
417
int error = 0;
fs/xfs/scrub/nlinks.c
442
error = -EBUSY;
fs/xfs/scrub/nlinks.c
446
error = xchk_dir_walk(sc, dp, xchk_nlinks_collect_dirent, xnc);
fs/xfs/scrub/nlinks.c
447
if (error == -ECANCELED) {
fs/xfs/scrub/nlinks.c
448
error = 0;
fs/xfs/scrub/nlinks.c
451
if (error)
fs/xfs/scrub/nlinks.c
462
error = -EBUSY;
fs/xfs/scrub/nlinks.c
466
error = xchk_xattr_walk(sc, dp, xchk_nlinks_collect_pptr, NULL,
fs/xfs/scrub/nlinks.c
468
if (error == -ECANCELED) {
fs/xfs/scrub/nlinks.c
469
error = 0;
fs/xfs/scrub/nlinks.c
472
if (error)
fs/xfs/scrub/nlinks.c
484
return error;
fs/xfs/scrub/nlinks.c
506
int error = -ECANCELED;
fs/xfs/scrub/nlinks.c
51
int error;
fs/xfs/scrub/nlinks.c
513
error = xchk_nlinks_collect_metafile(xnc, mp->m_sb.sb_rbmino);
fs/xfs/scrub/nlinks.c
514
if (error)
fs/xfs/scrub/nlinks.c
517
error = xchk_nlinks_collect_metafile(xnc, mp->m_sb.sb_rsumino);
fs/xfs/scrub/nlinks.c
518
if (error)
fs/xfs/scrub/nlinks.c
521
error = xchk_nlinks_collect_metafile(xnc, mp->m_sb.sb_uquotino);
fs/xfs/scrub/nlinks.c
522
if (error)
fs/xfs/scrub/nlinks.c
525
error = xchk_nlinks_collect_metafile(xnc, mp->m_sb.sb_gquotino);
fs/xfs/scrub/nlinks.c
526
if (error)
fs/xfs/scrub/nlinks.c
529
error = xchk_nlinks_collect_metafile(xnc, mp->m_sb.sb_pquotino);
fs/xfs/scrub/nlinks.c
530
if (error)
fs/xfs/scrub/nlinks.c
541
return error;
fs/xfs/scrub/nlinks.c
56
error = xrep_setup_nlinks(sc);
fs/xfs/scrub/nlinks.c
563
int error;
fs/xfs/scrub/nlinks.c
566
error = xchk_nlinks_collect_metafiles(xnc);
fs/xfs/scrub/nlinks.c
567
if (error)
fs/xfs/scrub/nlinks.c
568
return error;
fs/xfs/scrub/nlinks.c
57
if (error)
fs/xfs/scrub/nlinks.c
58
return error;
fs/xfs/scrub/nlinks.c
588
while ((error = xchk_iscan_iter(&xnc->collect_iscan, &ip)) == 1) {
fs/xfs/scrub/nlinks.c
590
error = xchk_nlinks_collect_dir(xnc, ip);
fs/xfs/scrub/nlinks.c
592
error = xchk_nlinks_collect_file(xnc, ip);
fs/xfs/scrub/nlinks.c
594
if (error)
fs/xfs/scrub/nlinks.c
597
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/nlinks.c
601
if (error) {
fs/xfs/scrub/nlinks.c
608
if (error == -EBUSY)
fs/xfs/scrub/nlinks.c
610
return error;
fs/xfs/scrub/nlinks.c
636
int error;
fs/xfs/scrub/nlinks.c
638
error = xfarray_load_sparse(xnc->nlinks, ino, &nl);
fs/xfs/scrub/nlinks.c
639
if (error)
fs/xfs/scrub/nlinks.c
640
return error;
fs/xfs/scrub/nlinks.c
644
error = xfarray_store(xnc->nlinks, ino, &nl);
fs/xfs/scrub/nlinks.c
645
if (error == -EFBIG) {
fs/xfs/scrub/nlinks.c
655
if (error)
fs/xfs/scrub/nlinks.c
656
return error;
fs/xfs/scrub/nlinks.c
676
int error;
fs/xfs/scrub/nlinks.c
691
error = -ECANCELED;
fs/xfs/scrub/nlinks.c
695
error = xchk_nlinks_comparison_read(xnc, ip->i_ino, &obs);
fs/xfs/scrub/nlinks.c
696
if (error)
fs/xfs/scrub/nlinks.c
788
error = -ECANCELED;
fs/xfs/scrub/nlinks.c
792
return error;
fs/xfs/scrub/nlinks.c
810
int error;
fs/xfs/scrub/nlinks.c
819
error = xchk_iget_agi(xnc->sc, ino, &agi_bp, &ip);
fs/xfs/scrub/nlinks.c
820
if (!error) {
fs/xfs/scrub/nlinks.c
822
error = xchk_nlinks_compare_inode(xnc, ip);
fs/xfs/scrub/nlinks.c
824
return error;
fs/xfs/scrub/nlinks.c
826
if (error == -ENOENT || error == -EINVAL) {
fs/xfs/scrub/nlinks.c
828
error = 0;
fs/xfs/scrub/nlinks.c
830
if (error)
fs/xfs/scrub/nlinks.c
842
error = -ECANCELED;
fs/xfs/scrub/nlinks.c
847
error = xchk_nlinks_comparison_read(xnc, ino, &obs);
fs/xfs/scrub/nlinks.c
848
if (error)
fs/xfs/scrub/nlinks.c
859
error = -ECANCELED;
fs/xfs/scrub/nlinks.c
867
return error;
fs/xfs/scrub/nlinks.c
880
int error;
fs/xfs/scrub/nlinks.c
883
error = xchk_iscan_iter(&xnc->compare_iscan, ipp);
fs/xfs/scrub/nlinks.c
884
} while (error == -EBUSY);
fs/xfs/scrub/nlinks.c
886
return error;
fs/xfs/scrub/nlinks.c
898
int error;
fs/xfs/scrub/nlinks.c
917
while ((error = xchk_nlinks_compare_iter(xnc, &ip)) == 1) {
fs/xfs/scrub/nlinks.c
918
error = xchk_nlinks_compare_inode(xnc, ip);
fs/xfs/scrub/nlinks.c
921
if (error)
fs/xfs/scrub/nlinks.c
924
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/nlinks.c
929
if (error)
fs/xfs/scrub/nlinks.c
930
return error;
fs/xfs/scrub/nlinks.c
940
while ((error = xfarray_iter(xnc->nlinks, &cur, &nl)) == 1) {
fs/xfs/scrub/nlinks.c
948
error = xchk_nlinks_compare_inum(xnc, ino);
fs/xfs/scrub/nlinks.c
949
if (error)
fs/xfs/scrub/nlinks.c
950
return error;
fs/xfs/scrub/nlinks.c
952
if (xchk_should_terminate(xnc->sc, &error))
fs/xfs/scrub/nlinks.c
953
return error;
fs/xfs/scrub/nlinks.c
959
return error;
fs/xfs/scrub/nlinks.c
997
int error;
fs/xfs/scrub/nlinks_repair.c
100
int error;
fs/xfs/scrub/nlinks_repair.c
116
error = xrep_orphanage_iolock_two(sc);
fs/xfs/scrub/nlinks_repair.c
117
if (error)
fs/xfs/scrub/nlinks_repair.c
118
return error;
fs/xfs/scrub/nlinks_repair.c
120
error = xrep_adoption_trans_alloc(sc, &xnc->adoption);
fs/xfs/scrub/nlinks_repair.c
121
if (error) {
fs/xfs/scrub/nlinks_repair.c
137
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_link, 0, 0, 0,
fs/xfs/scrub/nlinks_repair.c
139
if (error) {
fs/xfs/scrub/nlinks_repair.c
141
return error;
fs/xfs/scrub/nlinks_repair.c
151
error = -ECANCELED;
fs/xfs/scrub/nlinks_repair.c
155
error = xfarray_load_sparse(xnc->nlinks, ip->i_ino, &obs);
fs/xfs/scrub/nlinks_repair.c
156
if (error)
fs/xfs/scrub/nlinks_repair.c
180
error = 0;
fs/xfs/scrub/nlinks_repair.c
191
error = xrep_adoption_compute_name(&xnc->adoption, &xnc->xname);
fs/xfs/scrub/nlinks_repair.c
192
if (error)
fs/xfs/scrub/nlinks_repair.c
200
error = xrep_adoption_move(&xnc->adoption);
fs/xfs/scrub/nlinks_repair.c
201
if (error)
fs/xfs/scrub/nlinks_repair.c
209
error = xfarray_load_sparse(xnc->nlinks, ip->i_ino, &obs);
fs/xfs/scrub/nlinks_repair.c
211
if (error)
fs/xfs/scrub/nlinks_repair.c
224
error = xrep_nlinks_iunlink_remove(sc);
fs/xfs/scrub/nlinks_repair.c
225
if (error)
fs/xfs/scrub/nlinks_repair.c
235
error = xfs_iunlink(sc->tp, ip);
fs/xfs/scrub/nlinks_repair.c
236
if (error)
fs/xfs/scrub/nlinks_repair.c
251
error = 0;
fs/xfs/scrub/nlinks_repair.c
257
error = xrep_trans_commit(sc);
fs/xfs/scrub/nlinks_repair.c
271
return error;
fs/xfs/scrub/nlinks_repair.c
283
int error;
fs/xfs/scrub/nlinks_repair.c
286
error = xchk_iscan_iter(&xnc->compare_iscan, ipp);
fs/xfs/scrub/nlinks_repair.c
287
} while (error == -EBUSY);
fs/xfs/scrub/nlinks_repair.c
289
return error;
fs/xfs/scrub/nlinks_repair.c
298
int error;
fs/xfs/scrub/nlinks_repair.c
320
while ((error = xrep_nlinks_iter(xnc, &sc->ip)) == 1) {
fs/xfs/scrub/nlinks_repair.c
327
error = xrep_nlinks_repair_inode(xnc);
fs/xfs/scrub/nlinks_repair.c
331
if (error)
fs/xfs/scrub/nlinks_repair.c
334
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/nlinks_repair.c
348
return error;
fs/xfs/scrub/nlinks_repair.c
76
int error;
fs/xfs/scrub/nlinks_repair.c
79
error = xfs_iunlink_remove(sc->tp, pag, sc->ip);
fs/xfs/scrub/nlinks_repair.c
81
return error;
fs/xfs/scrub/orphanage.c
105
error = xfs_trans_commit(tp);
fs/xfs/scrub/orphanage.c
115
return error;
fs/xfs/scrub/orphanage.c
129
int error;
fs/xfs/scrub/orphanage.c
144
error = -EFSCORRUPTED;
fs/xfs/scrub/orphanage.c
150
error = -EFSCORRUPTED;
fs/xfs/scrub/orphanage.c
157
error = PTR_ERR(orphanage_dentry);
fs/xfs/scrub/orphanage.c
170
error = PTR_ERR(orphanage_dentry);
fs/xfs/scrub/orphanage.c
177
error = -ENOTDIR;
fs/xfs/scrub/orphanage.c
188
error = -ENOENT;
fs/xfs/scrub/orphanage.c
193
error = xrep_chown_orphanage(sc, XFS_I(orphanage_inode));
fs/xfs/scrub/orphanage.c
194
if (error)
fs/xfs/scrub/orphanage.c
206
return error;
fs/xfs/scrub/orphanage.c
245
int error = 0;
fs/xfs/scrub/orphanage.c
248
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/orphanage.c
249
return error;
fs/xfs/scrub/orphanage.c
317
int error;
fs/xfs/scrub/orphanage.c
343
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_link,
fs/xfs/scrub/orphanage.c
346
if (error)
fs/xfs/scrub/orphanage.c
347
return error;
fs/xfs/scrub/orphanage.c
363
error = xfs_trans_reserve_quota_nblks(sc->tp, sc->orphanage,
fs/xfs/scrub/orphanage.c
365
if (error)
fs/xfs/scrub/orphanage.c
374
error = xfs_trans_reserve_quota_nblks(sc->tp, sc->ip,
fs/xfs/scrub/orphanage.c
376
if (error)
fs/xfs/scrub/orphanage.c
385
return error;
fs/xfs/scrub/orphanage.c
402
int error = 0;
fs/xfs/scrub/orphanage.c
409
error = xchk_dir_lookup(sc, sc->orphanage, xname, &ino);
fs/xfs/scrub/orphanage.c
410
while (error == 0 && incr < 10000) {
fs/xfs/scrub/orphanage.c
413
error = xchk_dir_lookup(sc, sc->orphanage, xname, &ino);
fs/xfs/scrub/orphanage.c
415
if (error == 0) {
fs/xfs/scrub/orphanage.c
420
if (error != -ENOENT)
fs/xfs/scrub/orphanage.c
421
return error;
fs/xfs/scrub/orphanage.c
438
int error = 0;
fs/xfs/scrub/orphanage.c
455
error = -EFSCORRUPTED;
fs/xfs/scrub/orphanage.c
462
return error;
fs/xfs/scrub/orphanage.c
532
int error;
fs/xfs/scrub/orphanage.c
537
error = xrep_adoption_check_dcache(adopt);
fs/xfs/scrub/orphanage.c
538
if (error)
fs/xfs/scrub/orphanage.c
539
return error;
fs/xfs/scrub/orphanage.c
549
error = xfs_bmap_add_attrfork(sc->tp, sc->ip, sf_size, true);
fs/xfs/scrub/orphanage.c
550
if (error)
fs/xfs/scrub/orphanage.c
551
return error;
fs/xfs/scrub/orphanage.c
555
error = xfs_dir_createname(sc->tp, sc->orphanage, adopt->xname,
fs/xfs/scrub/orphanage.c
557
if (error)
fs/xfs/scrub/orphanage.c
558
return error;
fs/xfs/scrub/orphanage.c
578
error = xfs_dir_replace(sc->tp, sc->ip, &xfs_name_dotdot,
fs/xfs/scrub/orphanage.c
580
if (error)
fs/xfs/scrub/orphanage.c
581
return error;
fs/xfs/scrub/orphanage.c
586
error = xfs_parent_addname(sc->tp, &adopt->ppargs,
fs/xfs/scrub/orphanage.c
588
if (error)
fs/xfs/scrub/orphanage.c
589
return error;
fs/xfs/scrub/orphanage.c
59
int error;
fs/xfs/scrub/orphanage.c
61
error = xfs_qm_vop_dqalloc(dp, GLOBAL_ROOT_UID, GLOBAL_ROOT_GID, 0,
fs/xfs/scrub/orphanage.c
619
int error;
fs/xfs/scrub/orphanage.c
625
error = xrep_defer_finish(sc);
fs/xfs/scrub/orphanage.c
626
if (error)
fs/xfs/scrub/orphanage.c
627
return error;
fs/xfs/scrub/orphanage.c
63
if (error)
fs/xfs/scrub/orphanage.c
64
return error;
fs/xfs/scrub/orphanage.c
66
error = xfs_trans_alloc_ichange(dp, udqp, gdqp, pdqp, true, &tp);
fs/xfs/scrub/orphanage.c
67
if (error)
fs/xfs/scrub/orphanage.h
20
int error;
fs/xfs/scrub/orphanage.h
24
error = xrep_orphanage_create(sc);
fs/xfs/scrub/orphanage.h
25
switch (error) {
fs/xfs/scrub/orphanage.h
38
return error;
fs/xfs/scrub/parent.c
125
int error = 0;
fs/xfs/scrub/parent.c
164
error = xchk_iget(sc, parent_ino, &dp);
fs/xfs/scrub/parent.c
165
if (error == -EINVAL || error == -ENOENT) {
fs/xfs/scrub/parent.c
166
error = -EFSCORRUPTED;
fs/xfs/scrub/parent.c
167
xchk_fblock_process_error(sc, XFS_DATA_FORK, 0, &error);
fs/xfs/scrub/parent.c
168
return error;
fs/xfs/scrub/parent.c
170
if (!xchk_fblock_xref_process_error(sc, XFS_DATA_FORK, 0, &error))
fs/xfs/scrub/parent.c
171
return error;
fs/xfs/scrub/parent.c
182
error = -EAGAIN;
fs/xfs/scrub/parent.c
191
error = -EBUSY;
fs/xfs/scrub/parent.c
203
error = xchk_dir_walk(sc, dp, xchk_parent_actor, &spc);
fs/xfs/scrub/parent.c
204
if (!xchk_fblock_xref_process_error(sc, XFS_DATA_FORK, 0, &error))
fs/xfs/scrub/parent.c
218
return error;
fs/xfs/scrub/parent.c
283
int error;
fs/xfs/scrub/parent.c
288
error = xfs_parent_from_attr(sc->mp, attr_flags, name, namelen, value,
fs/xfs/scrub/parent.c
290
if (error)
fs/xfs/scrub/parent.c
291
return error;
fs/xfs/scrub/parent.c
305
int error;
fs/xfs/scrub/parent.c
308
error = xchk_dir_lookup(sc, sc->ip, &xfs_name_dotdot, &pp->parent_ino);
fs/xfs/scrub/parent.c
309
if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, 0, &error))
fs/xfs/scrub/parent.c
310
return error;
fs/xfs/scrub/parent.c
334
error = xchk_xattr_walk(sc, sc->ip, xchk_parent_scan_dotdot, NULL, pp);
fs/xfs/scrub/parent.c
335
if (error == -ECANCELED) {
fs/xfs/scrub/parent.c
339
if (!error || error == -EFSCORRUPTED) {
fs/xfs/scrub/parent.c
344
return error;
fs/xfs/scrub/parent.c
36
int error;
fs/xfs/scrub/parent.c
386
int error;
fs/xfs/scrub/parent.c
39
error = xrep_setup_parent(sc);
fs/xfs/scrub/parent.c
392
error = xchk_dir_lookup(sc, dp, xname, &child_ino);
fs/xfs/scrub/parent.c
393
if (error == -ENOENT) {
fs/xfs/scrub/parent.c
397
if (!xchk_fblock_xref_process_error(sc, XFS_ATTR_FORK, 0, &error))
fs/xfs/scrub/parent.c
398
return error;
fs/xfs/scrub/parent.c
40
if (error)
fs/xfs/scrub/parent.c
41
return error;
fs/xfs/scrub/parent.c
419
int error;
fs/xfs/scrub/parent.c
422
error = xfs_dir_ino_validate(sc->mp, parent_ino);
fs/xfs/scrub/parent.c
423
if (error) {
fs/xfs/scrub/parent.c
428
error = xchk_iget(sc, parent_ino, &ip);
fs/xfs/scrub/parent.c
429
if (error == -EINVAL || error == -ENOENT) {
fs/xfs/scrub/parent.c
433
if (!xchk_fblock_xref_process_error(sc, XFS_ATTR_FORK, 0, &error))
fs/xfs/scrub/parent.c
434
return error;
fs/xfs/scrub/parent.c
480
int error;
fs/xfs/scrub/parent.c
485
error = xfs_parent_from_attr(sc->mp, attr_flags, name, namelen, value,
fs/xfs/scrub/parent.c
487
if (error) {
fs/xfs/scrub/parent.c
489
return error;
fs/xfs/scrub/parent.c
500
error = xchk_parent_iget(pp, pptr_rec, &dp);
fs/xfs/scrub/parent.c
501
if (error)
fs/xfs/scrub/parent.c
502
return error;
fs/xfs/scrub/parent.c
517
error = xfblob_storename(pp->pptr_names, &save_pp.name_cookie,
fs/xfs/scrub/parent.c
520
&error))
fs/xfs/scrub/parent.c
523
error = xfarray_append(pp->pptr_entries, &save_pp);
fs/xfs/scrub/parent.c
525
&error))
fs/xfs/scrub/parent.c
531
error = xchk_parent_dirent(pp, &xname, dp);
fs/xfs/scrub/parent.c
532
if (error)
fs/xfs/scrub/parent.c
539
return error;
fs/xfs/scrub/parent.c
554
int error;
fs/xfs/scrub/parent.c
556
error = xfs_parent_lookup(sc->tp, sc->ip, xname, pptr, &pp->pptr_args);
fs/xfs/scrub/parent.c
557
if (error == -ENOATTR) {
fs/xfs/scrub/parent.c
562
return error;
fs/xfs/scrub/parent.c
578
int error;
fs/xfs/scrub/parent.c
582
error = xchk_parent_revalidate_pptr(pp, xname, pptr);
fs/xfs/scrub/parent.c
583
if (error == -ENOENT)
fs/xfs/scrub/parent.c
586
&error))
fs/xfs/scrub/parent.c
587
return error;
fs/xfs/scrub/parent.c
590
error = xchk_parent_iget(pp, pptr, &dp);
fs/xfs/scrub/parent.c
591
if (error)
fs/xfs/scrub/parent.c
592
return error;
fs/xfs/scrub/parent.c
615
error = xchk_dir_trylock_for_pptrs(sc, dp, &lockmode);
fs/xfs/scrub/parent.c
616
if (error)
fs/xfs/scrub/parent.c
620
error = xchk_parent_revalidate_pptr(pp, xname, pptr);
fs/xfs/scrub/parent.c
621
if (error == -ENOENT) {
fs/xfs/scrub/parent.c
622
error = 0;
fs/xfs/scrub/parent.c
625
if (!xchk_fblock_xref_process_error(sc, XFS_ATTR_FORK, 0, &error))
fs/xfs/scrub/parent.c
629
error = xchk_parent_dirent(pp, xname, dp);
fs/xfs/scrub/parent.c
634
return error;
fs/xfs/scrub/parent.c
643
int error;
fs/xfs/scrub/parent.c
651
error = xfarray_load(pp->pptr_entries, array_cur, &pptr);
fs/xfs/scrub/parent.c
652
if (error)
fs/xfs/scrub/parent.c
653
return error;
fs/xfs/scrub/parent.c
655
error = xfblob_loadname(pp->pptr_names, pptr.name_cookie,
fs/xfs/scrub/parent.c
657
if (error)
fs/xfs/scrub/parent.c
658
return error;
fs/xfs/scrub/parent.c
660
error = xchk_parent_slow_pptr(pp, &pp->xname, &pptr.pptr_rec);
fs/xfs/scrub/parent.c
661
if (error)
fs/xfs/scrub/parent.c
662
return error;
fs/xfs/scrub/parent.c
67
int error = 0;
fs/xfs/scrub/parent.c
684
int error;
fs/xfs/scrub/parent.c
689
error = xfs_parent_from_attr(sc->mp, attr_flags, name, namelen, value,
fs/xfs/scrub/parent.c
691
if (error)
fs/xfs/scrub/parent.c
692
return error;
fs/xfs/scrub/parent.c
708
int error;
fs/xfs/scrub/parent.c
71
error = -EFSCORRUPTED;
fs/xfs/scrub/parent.c
716
error = xchk_xattr_walk(sc, sc->ip, xchk_parent_count_pptr,
fs/xfs/scrub/parent.c
718
if (error == -EFSCORRUPTED) {
fs/xfs/scrub/parent.c
72
if (!xchk_fblock_xref_process_error(sc, XFS_DATA_FORK, 0, &error))
fs/xfs/scrub/parent.c
723
if (error)
fs/xfs/scrub/parent.c
724
return error;
fs/xfs/scrub/parent.c
73
return error;
fs/xfs/scrub/parent.c
758
int error;
fs/xfs/scrub/parent.c
770
error = xfarray_create("slow parent pointer entries", 0,
fs/xfs/scrub/parent.c
772
if (error)
fs/xfs/scrub/parent.c
775
error = xfblob_create("slow parent pointer names", &pp->pptr_names);
fs/xfs/scrub/parent.c
776
if (error)
fs/xfs/scrub/parent.c
779
error = xchk_xattr_walk(sc, sc->ip, xchk_parent_scan_attr, NULL, pp);
fs/xfs/scrub/parent.c
78
if (xchk_should_terminate(spc->sc, &error))
fs/xfs/scrub/parent.c
780
if (error == -ECANCELED) {
fs/xfs/scrub/parent.c
781
error = 0;
fs/xfs/scrub/parent.c
784
if (error)
fs/xfs/scrub/parent.c
787
error = xchk_parent_finish_slow_pptrs(pp);
fs/xfs/scrub/parent.c
788
if (error == -ETIMEDOUT) {
fs/xfs/scrub/parent.c
79
return error;
fs/xfs/scrub/parent.c
790
error = 0;
fs/xfs/scrub/parent.c
793
if (error)
fs/xfs/scrub/parent.c
813
error = xchk_parent_pptr_and_dotdot(pp);
fs/xfs/scrub/parent.c
814
if (error)
fs/xfs/scrub/parent.c
826
error = xchk_parent_count_pptrs(pp);
fs/xfs/scrub/parent.c
827
if (error)
fs/xfs/scrub/parent.c
836
return error;
fs/xfs/scrub/parent.c
846
int error = 0;
fs/xfs/scrub/parent.c
865
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/parent.c
869
error = xchk_dir_lookup(sc, sc->ip, &xfs_name_dotdot,
fs/xfs/scrub/parent.c
871
if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, 0, &error))
fs/xfs/scrub/parent.c
872
return error;
fs/xfs/scrub/parent.c
882
error = xchk_parent_validate(sc, parent_ino);
fs/xfs/scrub/parent.c
883
} while (error == -EAGAIN);
fs/xfs/scrub/parent.c
884
if (error == -EBUSY) {
fs/xfs/scrub/parent.c
892
return error;
fs/xfs/scrub/parent_repair.c
1009
error = xfblob_load(rp->xattr_blobs, key->name_cookie, rp->xattr_name,
fs/xfs/scrub/parent_repair.c
1011
if (error)
fs/xfs/scrub/parent_repair.c
1012
return error;
fs/xfs/scrub/parent_repair.c
1014
error = xfblob_free(rp->xattr_blobs, key->name_cookie);
fs/xfs/scrub/parent_repair.c
1015
if (error)
fs/xfs/scrub/parent_repair.c
1016
return error;
fs/xfs/scrub/parent_repair.c
1018
error = xfblob_load(rp->xattr_blobs, key->value_cookie, args.value,
fs/xfs/scrub/parent_repair.c
1020
if (error)
fs/xfs/scrub/parent_repair.c
1021
return error;
fs/xfs/scrub/parent_repair.c
1023
error = xfblob_free(rp->xattr_blobs, key->value_cookie);
fs/xfs/scrub/parent_repair.c
1024
if (error)
fs/xfs/scrub/parent_repair.c
1025
return error;
fs/xfs/scrub/parent_repair.c
1046
int error;
fs/xfs/scrub/parent_repair.c
1074
error = xrep_tempfile_iolock_polled(rp->sc);
fs/xfs/scrub/parent_repair.c
1075
if (error)
fs/xfs/scrub/parent_repair.c
1076
return error;
fs/xfs/scrub/parent_repair.c
1082
error = xfarray_load(rp->xattr_records, array_cur, &key);
fs/xfs/scrub/parent_repair.c
1083
if (error)
fs/xfs/scrub/parent_repair.c
1084
return error;
fs/xfs/scrub/parent_repair.c
1086
error = xrep_parent_insert_xattr(rp, &key);
fs/xfs/scrub/parent_repair.c
1087
if (error)
fs/xfs/scrub/parent_repair.c
1088
return error;
fs/xfs/scrub/parent_repair.c
1122
int error;
fs/xfs/scrub/parent_repair.c
1127
error = xrep_parent_flush_xattrs(rp);
fs/xfs/scrub/parent_repair.c
1128
if (error)
fs/xfs/scrub/parent_repair.c
1129
return error;
fs/xfs/scrub/parent_repair.c
1141
error = -ESTALE;
fs/xfs/scrub/parent_repair.c
1143
return error;
fs/xfs/scrub/parent_repair.c
1152
int error;
fs/xfs/scrub/parent_repair.c
1163
error = xchk_xattr_walk(sc, sc->ip, xrep_parent_stash_xattr,
fs/xfs/scrub/parent_repair.c
1165
if (error && error != -ESTALE)
fs/xfs/scrub/parent_repair.c
1166
return error;
fs/xfs/scrub/parent_repair.c
1168
if (error == -ESTALE) {
fs/xfs/scrub/parent_repair.c
1174
error = xchk_xattr_walk(sc, sc->ip, xrep_parent_stash_xattr,
fs/xfs/scrub/parent_repair.c
1176
if (error)
fs/xfs/scrub/parent_repair.c
1177
return error;
fs/xfs/scrub/parent_repair.c
1202
int error;
fs/xfs/scrub/parent_repair.c
1204
error = xfs_attr_add_fork(sc->tempip,
fs/xfs/scrub/parent_repair.c
1206
if (error)
fs/xfs/scrub/parent_repair.c
1207
return error;
fs/xfs/scrub/parent_repair.c
1221
int error;
fs/xfs/scrub/parent_repair.c
1230
error = xrep_parent_replay_updates(rp);
fs/xfs/scrub/parent_repair.c
1231
if (error)
fs/xfs/scrub/parent_repair.c
1232
return error;
fs/xfs/scrub/parent_repair.c
1234
error = xrep_parent_ensure_attr_fork(rp);
fs/xfs/scrub/parent_repair.c
1235
if (error)
fs/xfs/scrub/parent_repair.c
1236
return error;
fs/xfs/scrub/parent_repair.c
1238
error = xrep_tempexch_trans_alloc(sc, XFS_ATTR_FORK, &rp->tx);
fs/xfs/scrub/parent_repair.c
1239
if (error)
fs/xfs/scrub/parent_repair.c
1240
return error;
fs/xfs/scrub/parent_repair.c
1247
} while (!xchk_should_terminate(sc, &error));
fs/xfs/scrub/parent_repair.c
1248
return error;
fs/xfs/scrub/parent_repair.c
1262
int error;
fs/xfs/scrub/parent_repair.c
1272
error = xrep_parent_copy_xattrs(rp);
fs/xfs/scrub/parent_repair.c
1273
if (error)
fs/xfs/scrub/parent_repair.c
1274
return error;
fs/xfs/scrub/parent_repair.c
1284
error = xrep_tempfile_iolock_polled(sc);
fs/xfs/scrub/parent_repair.c
1285
if (error)
fs/xfs/scrub/parent_repair.c
1286
return error;
fs/xfs/scrub/parent_repair.c
1293
error = xrep_parent_finalize_tempfile(rp);
fs/xfs/scrub/parent_repair.c
1294
if (error)
fs/xfs/scrub/parent_repair.c
1295
return error;
fs/xfs/scrub/parent_repair.c
1298
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/parent_repair.c
1299
return error;
fs/xfs/scrub/parent_repair.c
1308
error = xrep_xattr_swap(sc, &rp->tx);
fs/xfs/scrub/parent_repair.c
1309
if (error)
fs/xfs/scrub/parent_repair.c
1310
return error;
fs/xfs/scrub/parent_repair.c
1311
error = xrep_xattr_reset_tempfile_fork(sc);
fs/xfs/scrub/parent_repair.c
1312
if (error)
fs/xfs/scrub/parent_repair.c
1313
return error;
fs/xfs/scrub/parent_repair.c
1320
error = xfs_trans_roll(&sc->tp);
fs/xfs/scrub/parent_repair.c
1321
if (error)
fs/xfs/scrub/parent_repair.c
1322
return error;
fs/xfs/scrub/parent_repair.c
1334
error = xrep_parent_lookup_pptrs(sc, &parent_ino);
fs/xfs/scrub/parent_repair.c
1335
if (error)
fs/xfs/scrub/parent_repair.c
1336
return error;
fs/xfs/scrub/parent_repair.c
1353
int error;
fs/xfs/scrub/parent_repair.c
1356
error = xrep_parent_rebuild_pptrs(rp);
fs/xfs/scrub/parent_repair.c
1357
if (error)
fs/xfs/scrub/parent_repair.c
1358
return error;
fs/xfs/scrub/parent_repair.c
1403
int error;
fs/xfs/scrub/parent_repair.c
1408
error = xfs_parent_from_attr(sc->mp, attr_flags, name, namelen, value,
fs/xfs/scrub/parent_repair.c
1410
if (error)
fs/xfs/scrub/parent_repair.c
1411
return error;
fs/xfs/scrub/parent_repair.c
1430
int error;
fs/xfs/scrub/parent_repair.c
1434
error = xchk_xattr_walk(sc, ip, xrep_parent_count_pptr, NULL, rp);
fs/xfs/scrub/parent_repair.c
1435
if (error)
fs/xfs/scrub/parent_repair.c
1436
return error;
fs/xfs/scrub/parent_repair.c
1460
error = xfs_iunlink_remove(sc->tp, pag, ip);
fs/xfs/scrub/parent_repair.c
1462
if (error)
fs/xfs/scrub/parent_repair.c
1463
return error;
fs/xfs/scrub/parent_repair.c
1472
error = xfs_iunlink(sc->tp, ip);
fs/xfs/scrub/parent_repair.c
1473
if (error)
fs/xfs/scrub/parent_repair.c
1474
return error;
fs/xfs/scrub/parent_repair.c
1502
int error;
fs/xfs/scrub/parent_repair.c
1522
error = xrep_parent_alloc_xattr_value(rp, max_len);
fs/xfs/scrub/parent_repair.c
1523
if (error)
fs/xfs/scrub/parent_repair.c
1527
error = xfarray_create("parent pointer entries", 0,
fs/xfs/scrub/parent_repair.c
1529
if (error)
fs/xfs/scrub/parent_repair.c
1532
error = xfblob_create("parent pointer names", &rp->pptr_names);
fs/xfs/scrub/parent_repair.c
1533
if (error)
fs/xfs/scrub/parent_repair.c
1537
error = xfarray_create("parent pointer xattr entries", 0,
fs/xfs/scrub/parent_repair.c
1539
if (error)
fs/xfs/scrub/parent_repair.c
1542
error = xfblob_create("parent pointer xattr values", &rp->xattr_blobs);
fs/xfs/scrub/parent_repair.c
1543
if (error)
fs/xfs/scrub/parent_repair.c
1546
error = __xrep_findparent_scan_start(sc, &rp->pscan,
fs/xfs/scrub/parent_repair.c
1548
if (error)
fs/xfs/scrub/parent_repair.c
1571
return error;
fs/xfs/scrub/parent_repair.c
1579
int error;
fs/xfs/scrub/parent_repair.c
1593
error = xrep_parent_setup_scan(rp);
fs/xfs/scrub/parent_repair.c
1594
if (error)
fs/xfs/scrub/parent_repair.c
1595
return error;
fs/xfs/scrub/parent_repair.c
1598
error = xrep_parent_scan_dirtree(rp);
fs/xfs/scrub/parent_repair.c
1600
error = xrep_parent_find_dotdot(rp);
fs/xfs/scrub/parent_repair.c
1601
if (error)
fs/xfs/scrub/parent_repair.c
1605
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/parent_repair.c
1608
error = xrep_parent_rebuild_tree(rp);
fs/xfs/scrub/parent_repair.c
1609
if (error)
fs/xfs/scrub/parent_repair.c
1612
error = xrep_parent_set_nondir_nlink(rp);
fs/xfs/scrub/parent_repair.c
1613
if (error)
fs/xfs/scrub/parent_repair.c
1617
error = xrep_defer_finish(sc);
fs/xfs/scrub/parent_repair.c
1621
return error;
fs/xfs/scrub/parent_repair.c
216
int error;
fs/xfs/scrub/parent_repair.c
227
error = xrep_tempfile_create(sc, S_IFREG);
fs/xfs/scrub/parent_repair.c
228
if (error)
fs/xfs/scrub/parent_repair.c
229
return error;
fs/xfs/scrub/parent_repair.c
245
int error;
fs/xfs/scrub/parent_repair.c
271
error = xrep_findparent_confirm(sc, &ino);
fs/xfs/scrub/parent_repair.c
272
if (!error && ino != NULLFSINO) {
fs/xfs/scrub/parent_repair.c
279
error = xrep_findparent_scan(&rp->pscan);
fs/xfs/scrub/parent_repair.c
283
return error;
fs/xfs/scrub/parent_repair.c
333
int error;
fs/xfs/scrub/parent_repair.c
339
error = xfarray_load(rp->pptr_recs, array_cur, &pptr);
fs/xfs/scrub/parent_repair.c
340
if (error)
fs/xfs/scrub/parent_repair.c
343
error = xfblob_loadname(rp->pptr_names, pptr.name_cookie,
fs/xfs/scrub/parent_repair.c
345
if (error)
fs/xfs/scrub/parent_repair.c
350
error = xrep_parent_replay_update(rp, &rp->xname, &pptr);
fs/xfs/scrub/parent_repair.c
351
if (error)
fs/xfs/scrub/parent_repair.c
352
return error;
fs/xfs/scrub/parent_repair.c
364
return error;
fs/xfs/scrub/parent_repair.c
381
int error;
fs/xfs/scrub/parent_repair.c
386
error = xfblob_storename(rp->pptr_names, &pptr.name_cookie, name);
fs/xfs/scrub/parent_repair.c
387
if (error)
fs/xfs/scrub/parent_repair.c
388
return error;
fs/xfs/scrub/parent_repair.c
407
int error;
fs/xfs/scrub/parent_repair.c
412
error = xfblob_storename(rp->pptr_names, &pptr.name_cookie, name);
fs/xfs/scrub/parent_repair.c
413
if (error)
fs/xfs/scrub/parent_repair.c
414
return error;
fs/xfs/scrub/parent_repair.c
434
int error;
fs/xfs/scrub/parent_repair.c
458
error = xrep_parent_stash_parentadd(rp, name, dp);
fs/xfs/scrub/parent_repair.c
460
return error;
fs/xfs/scrub/parent_repair.c
512
int error = 0;
fs/xfs/scrub/parent_repair.c
525
error = -EBUSY;
fs/xfs/scrub/parent_repair.c
529
error = xchk_dir_walk(rp->sc, ip, xrep_parent_scan_dirent, rp);
fs/xfs/scrub/parent_repair.c
530
if (error)
fs/xfs/scrub/parent_repair.c
537
return error;
fs/xfs/scrub/parent_repair.c
561
int error;
fs/xfs/scrub/parent_repair.c
574
while ((error = xchk_iscan_iter(&rp->pscan.iscan, &ip)) == 1) {
fs/xfs/scrub/parent_repair.c
577
error = xrep_parent_scan_file(rp, ip);
fs/xfs/scrub/parent_repair.c
579
if (error)
fs/xfs/scrub/parent_repair.c
589
error = xrep_tempfile_iolock_polled(sc);
fs/xfs/scrub/parent_repair.c
590
if (error)
fs/xfs/scrub/parent_repair.c
593
error = xrep_parent_replay_updates(rp);
fs/xfs/scrub/parent_repair.c
595
if (error)
fs/xfs/scrub/parent_repair.c
601
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/parent_repair.c
605
if (error) {
fs/xfs/scrub/parent_repair.c
611
if (error == -EBUSY)
fs/xfs/scrub/parent_repair.c
613
return error;
fs/xfs/scrub/parent_repair.c
638
int error;
fs/xfs/scrub/parent_repair.c
652
error = xrep_parent_stash_parentadd(rp, p->name, p->dp);
fs/xfs/scrub/parent_repair.c
654
error = xrep_parent_stash_parentremove(rp, p->name,
fs/xfs/scrub/parent_repair.c
656
if (!error)
fs/xfs/scrub/parent_repair.c
659
if (error)
fs/xfs/scrub/parent_repair.c
677
int error = 0;
fs/xfs/scrub/parent_repair.c
681
error = xchk_dir_lookup(sc, sc->ip, &xfs_name_dotdot, &ino);
fs/xfs/scrub/parent_repair.c
682
if (error || ino == rp->pscan.parent_ino)
fs/xfs/scrub/parent_repair.c
683
return error;
fs/xfs/scrub/parent_repair.c
695
error = xfs_trans_reserve_more_inode(sc->tp, sc->ip, spaceres, 0,
fs/xfs/scrub/parent_repair.c
697
if (error)
fs/xfs/scrub/parent_repair.c
698
return error;
fs/xfs/scrub/parent_repair.c
700
error = xfs_dir_replace(sc->tp, sc->ip, &xfs_name_dotdot,
fs/xfs/scrub/parent_repair.c
702
if (error)
fs/xfs/scrub/parent_repair.c
703
return error;
fs/xfs/scrub/parent_repair.c
726
int error;
fs/xfs/scrub/parent_repair.c
731
error = xfs_parent_from_attr(sc->mp, attr_flags, name, namelen, value,
fs/xfs/scrub/parent_repair.c
733
if (error)
fs/xfs/scrub/parent_repair.c
734
return error;
fs/xfs/scrub/parent_repair.c
750
int error;
fs/xfs/scrub/parent_repair.c
754
error = xchk_xattr_walk(sc, sc->ip, xrep_parent_lookup_pptr, NULL,
fs/xfs/scrub/parent_repair.c
756
if (error && error != -ECANCELED)
fs/xfs/scrub/parent_repair.c
757
return error;
fs/xfs/scrub/parent_repair.c
775
int error;
fs/xfs/scrub/parent_repair.c
784
error = xchk_dir_lookup(sc, sc->ip, &xfs_name_dotdot,
fs/xfs/scrub/parent_repair.c
786
if (error)
fs/xfs/scrub/parent_repair.c
787
return error;
fs/xfs/scrub/parent_repair.c
803
error = xrep_trans_commit(sc);
fs/xfs/scrub/parent_repair.c
804
if (error)
fs/xfs/scrub/parent_repair.c
805
return error;
fs/xfs/scrub/parent_repair.c
811
error = xrep_orphanage_iolock_two(sc);
fs/xfs/scrub/parent_repair.c
812
if (error)
fs/xfs/scrub/parent_repair.c
813
return error;
fs/xfs/scrub/parent_repair.c
817
error = xrep_adoption_trans_alloc(sc, &rp->adoption);
fs/xfs/scrub/parent_repair.c
818
if (error)
fs/xfs/scrub/parent_repair.c
819
return error;
fs/xfs/scrub/parent_repair.c
821
error = xrep_adoption_compute_name(&rp->adoption, &rp->xname);
fs/xfs/scrub/parent_repair.c
822
if (error)
fs/xfs/scrub/parent_repair.c
823
return error;
fs/xfs/scrub/parent_repair.c
833
error = xchk_dir_lookup(sc, sc->ip, &xfs_name_dotdot,
fs/xfs/scrub/parent_repair.c
836
error = xrep_parent_lookup_pptrs(sc, &new_parent);
fs/xfs/scrub/parent_repair.c
837
if (error)
fs/xfs/scrub/parent_repair.c
838
return error;
fs/xfs/scrub/parent_repair.c
845
error = xrep_adoption_move(&rp->adoption);
fs/xfs/scrub/parent_repair.c
846
if (error)
fs/xfs/scrub/parent_repair.c
847
return error;
fs/xfs/scrub/parent_repair.c
854
error = xrep_adoption_trans_roll(&rp->adoption);
fs/xfs/scrub/parent_repair.c
855
if (error)
fs/xfs/scrub/parent_repair.c
856
return error;
fs/xfs/scrub/parent_repair.c
911
int error;
fs/xfs/scrub/parent_repair.c
917
error = xrep_parent_alloc_xattr_value(rp, valuelen);
fs/xfs/scrub/parent_repair.c
918
if (error == -ENOMEM)
fs/xfs/scrub/parent_repair.c
920
if (error)
fs/xfs/scrub/parent_repair.c
921
return error;
fs/xfs/scrub/parent_repair.c
946
int error;
fs/xfs/scrub/parent_repair.c
952
error = xrep_parent_fetch_xattr_remote(rp, ip, attr_flags,
fs/xfs/scrub/parent_repair.c
954
if (error)
fs/xfs/scrub/parent_repair.c
955
return error;
fs/xfs/scrub/parent_repair.c
963
error = xfblob_store(rp->xattr_blobs, &key.name_cookie, name,
fs/xfs/scrub/parent_repair.c
965
if (error)
fs/xfs/scrub/parent_repair.c
966
return error;
fs/xfs/scrub/parent_repair.c
968
error = xfblob_store(rp->xattr_blobs, &key.value_cookie, value,
fs/xfs/scrub/parent_repair.c
970
if (error)
fs/xfs/scrub/parent_repair.c
971
return error;
fs/xfs/scrub/parent_repair.c
992
int error;
fs/xfs/scrub/quota.c
102
error = xfs_bmapi_read(sc->ip, offset, 1, &irec, &nmaps, 0);
fs/xfs/scrub/quota.c
103
if (error)
fs/xfs/scrub/quota.c
104
return error;
fs/xfs/scrub/quota.c
149
int error = 0;
fs/xfs/scrub/quota.c
151
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/quota.c
152
return error;
fs/xfs/scrub/quota.c
172
error = xchk_quota_item_bmap(sc, dq, offset);
fs/xfs/scrub/quota.c
174
if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, offset, &error)) {
fs/xfs/scrub/quota.c
176
return error;
fs/xfs/scrub/quota.c
270
int error = 0;
fs/xfs/scrub/quota.c
273
error = xchk_metadata_inode_forks(sc);
fs/xfs/scrub/quota.c
274
if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT))
fs/xfs/scrub/quota.c
275
return error;
fs/xfs/scrub/quota.c
281
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/quota.c
297
return error;
fs/xfs/scrub/quota.c
311
int error = 0;
fs/xfs/scrub/quota.c
316
error = xchk_quota_data_fork(sc);
fs/xfs/scrub/quota.c
317
if (error)
fs/xfs/scrub/quota.c
331
while ((error = xchk_dquot_iter(&cursor, &dq)) == 1) {
fs/xfs/scrub/quota.c
332
error = xchk_quota_item(&sqi, dq);
fs/xfs/scrub/quota.c
334
if (error)
fs/xfs/scrub/quota.c
337
if (error == -ECANCELED)
fs/xfs/scrub/quota.c
338
error = 0;
fs/xfs/scrub/quota.c
340
sqi.last_id * qi->qi_dqperchunk, &error))
fs/xfs/scrub/quota.c
344
return error;
fs/xfs/scrub/quota.c
46
int error;
fs/xfs/scrub/quota.c
61
error = xchk_setup_fs(sc);
fs/xfs/scrub/quota.c
62
if (error)
fs/xfs/scrub/quota.c
63
return error;
fs/xfs/scrub/quota.c
65
error = xchk_install_live_inode(sc, xfs_quota_inode(sc->mp, dqtype));
fs/xfs/scrub/quota.c
66
if (error)
fs/xfs/scrub/quota.c
67
return error;
fs/xfs/scrub/quota.c
90
int error;
fs/xfs/scrub/quota_repair.c
100
return error;
fs/xfs/scrub/quota_repair.c
116
int error;
fs/xfs/scrub/quota_repair.c
125
error = xfs_bmapi_read(sc->ip, offset, 1, &irec, &nmaps, 0);
fs/xfs/scrub/quota_repair.c
126
if (error)
fs/xfs/scrub/quota_repair.c
127
return error;
fs/xfs/scrub/quota_repair.c
131
error = xrep_quota_item_fill_bmap_hole(sc, dq, &irec);
fs/xfs/scrub/quota_repair.c
132
if (error)
fs/xfs/scrub/quota_repair.c
133
return error;
fs/xfs/scrub/quota_repair.c
178
int error = 0;
fs/xfs/scrub/quota_repair.c
181
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/quota_repair.c
182
return error;
fs/xfs/scrub/quota_repair.c
190
error = xrep_quota_item_bmap(sc, dq, &dirty);
fs/xfs/scrub/quota_repair.c
192
if (error)
fs/xfs/scrub/quota_repair.c
260
return error;
fs/xfs/scrub/quota_repair.c
306
int error;
fs/xfs/scrub/quota_repair.c
308
error = xfs_trans_read_buf(sc->mp, sc->tp, sc->mp->m_ddev_targp, daddr,
fs/xfs/scrub/quota_repair.c
310
switch (error) {
fs/xfs/scrub/quota_repair.c
314
error = xfs_trans_read_buf(sc->mp, sc->tp,
fs/xfs/scrub/quota_repair.c
317
if (error)
fs/xfs/scrub/quota_repair.c
318
return error;
fs/xfs/scrub/quota_repair.c
335
return error;
fs/xfs/scrub/quota_repair.c
406
int error = 0;
fs/xfs/scrub/quota_repair.c
408
error = xrep_metadata_inode_forks(sc);
fs/xfs/scrub/quota_repair.c
409
if (error)
fs/xfs/scrub/quota_repair.c
417
error = -EFSCORRUPTED;
fs/xfs/scrub/quota_repair.c
437
error = xfs_bmapi_write(sc->tp, sc->ip,
fs/xfs/scrub/quota_repair.c
440
if (error)
fs/xfs/scrub/quota_repair.c
445
error = xfs_defer_finish(&sc->tp);
fs/xfs/scrub/quota_repair.c
446
if (error)
fs/xfs/scrub/quota_repair.c
458
error = xfs_bunmapi_range(&sc->tp, sc->ip, 0,
fs/xfs/scrub/quota_repair.c
461
if (error)
fs/xfs/scrub/quota_repair.c
465
error = xfs_reflink_cancel_cow_blocks(sc->ip, &sc->tp, 0,
fs/xfs/scrub/quota_repair.c
467
if (error)
fs/xfs/scrub/quota_repair.c
484
error = xrep_quota_block(sc,
fs/xfs/scrub/quota_repair.c
487
if (error)
fs/xfs/scrub/quota_repair.c
493
return error;
fs/xfs/scrub/quota_repair.c
509
int error;
fs/xfs/scrub/quota_repair.c
512
while ((error = xchk_dquot_iter(&cursor, &dq)) == 1) {
fs/xfs/scrub/quota_repair.c
513
error = xrep_quota_item(&rqi, dq);
fs/xfs/scrub/quota_repair.c
515
if (error)
fs/xfs/scrub/quota_repair.c
518
if (error)
fs/xfs/scrub/quota_repair.c
519
return error;
fs/xfs/scrub/quota_repair.c
533
int error;
fs/xfs/scrub/quota_repair.c
543
error = xrep_quota_data_fork(sc, dqtype);
fs/xfs/scrub/quota_repair.c
544
if (error)
fs/xfs/scrub/quota_repair.c
545
return error;
fs/xfs/scrub/quota_repair.c
552
error = xrep_defer_finish(sc);
fs/xfs/scrub/quota_repair.c
553
if (error)
fs/xfs/scrub/quota_repair.c
554
return error;
fs/xfs/scrub/quota_repair.c
555
error = xfs_trans_roll(&sc->tp);
fs/xfs/scrub/quota_repair.c
556
if (error)
fs/xfs/scrub/quota_repair.c
557
return error;
fs/xfs/scrub/quota_repair.c
561
error = xrep_quota_problems(sc, dqtype);
fs/xfs/scrub/quota_repair.c
562
if (error)
fs/xfs/scrub/quota_repair.c
563
return error;
fs/xfs/scrub/quota_repair.c
64
int error;
fs/xfs/scrub/quota_repair.c
69
error = xfs_trans_reserve_more(sc->tp, XFS_QM_DQALLOC_SPACE_RES(mp),
fs/xfs/scrub/quota_repair.c
71
if (error)
fs/xfs/scrub/quota_repair.c
72
return error;
fs/xfs/scrub/quota_repair.c
74
error = xfs_bmapi_write(sc->tp, sc->ip, dq->q_fileoffset,
fs/xfs/scrub/quota_repair.c
77
if (error)
fs/xfs/scrub/quota_repair.c
78
return error;
fs/xfs/scrub/quota_repair.c
85
error = xfs_trans_get_buf(sc->tp, mp->m_ddev_targp, dq->q_blkno,
fs/xfs/scrub/quota_repair.c
87
if (error)
fs/xfs/scrub/quota_repair.c
88
return error;
fs/xfs/scrub/quota_repair.c
98
error = xrep_defer_finish(sc);
fs/xfs/scrub/quota_repair.c
99
if (error)
fs/xfs/scrub/quotacheck.c
137
int error;
fs/xfs/scrub/quotacheck.c
139
error = xfarray_load_sparse(counts, id, &xcdq);
fs/xfs/scrub/quotacheck.c
140
if (error)
fs/xfs/scrub/quotacheck.c
141
return error;
fs/xfs/scrub/quotacheck.c
148
error = xfarray_store(counts, id, &xcdq);
fs/xfs/scrub/quotacheck.c
149
if (error == -EFBIG) {
fs/xfs/scrub/quotacheck.c
155
error = -ECANCELED;
fs/xfs/scrub/quotacheck.c
157
return error;
fs/xfs/scrub/quotacheck.c
216
int error;
fs/xfs/scrub/quotacheck.c
264
error = rhashtable_insert_fast(&xqc->shadow_dquot_acct,
fs/xfs/scrub/quotacheck.c
266
if (error)
fs/xfs/scrub/quotacheck.c
323
int error;
fs/xfs/scrub/quotacheck.c
360
error = xqcheck_update_incore_counts(xqc, counts, p->q_id,
fs/xfs/scrub/quotacheck.c
364
if (error)
fs/xfs/scrub/quotacheck.c
371
error = rhashtable_remove_fast(&xqc->shadow_dquot_acct,
fs/xfs/scrub/quotacheck.c
373
if (error)
fs/xfs/scrub/quotacheck.c
399
int error = 0;
fs/xfs/scrub/quotacheck.c
424
error = xfs_iread_extents(tp, ip, XFS_DATA_FORK);
fs/xfs/scrub/quotacheck.c
425
if (error)
fs/xfs/scrub/quotacheck.c
434
error = -ECANCELED;
fs/xfs/scrub/quotacheck.c
442
error = xqcheck_update_incore_counts(xqc, xqc->ucounts, id, 1,
fs/xfs/scrub/quotacheck.c
444
if (error)
fs/xfs/scrub/quotacheck.c
450
error = xqcheck_update_incore_counts(xqc, xqc->gcounts, id, 1,
fs/xfs/scrub/quotacheck.c
452
if (error)
fs/xfs/scrub/quotacheck.c
458
error = xqcheck_update_incore_counts(xqc, xqc->pcounts, id, 1,
fs/xfs/scrub/quotacheck.c
460
if (error)
fs/xfs/scrub/quotacheck.c
479
return error;
fs/xfs/scrub/quotacheck.c
489
int error;
fs/xfs/scrub/quotacheck.c
510
while ((error = xchk_iscan_iter(&xqc->iscan, &ip)) == 1) {
fs/xfs/scrub/quotacheck.c
511
error = xqcheck_collect_inode(xqc, ip);
fs/xfs/scrub/quotacheck.c
513
if (error)
fs/xfs/scrub/quotacheck.c
516
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/quotacheck.c
520
if (error) {
fs/xfs/scrub/quotacheck.c
527
if (error == -EBUSY)
fs/xfs/scrub/quotacheck.c
529
return error;
fs/xfs/scrub/quotacheck.c
559
int error;
fs/xfs/scrub/quotacheck.c
568
error = xfarray_load_sparse(counts, dq->q_id, &xcdq);
fs/xfs/scrub/quotacheck.c
569
if (error)
fs/xfs/scrub/quotacheck.c
582
error = xfarray_store(counts, dq->q_id, &xcdq);
fs/xfs/scrub/quotacheck.c
583
if (error == -EFBIG) {
fs/xfs/scrub/quotacheck.c
591
error = -ECANCELED;
fs/xfs/scrub/quotacheck.c
596
if (error)
fs/xfs/scrub/quotacheck.c
597
return error;
fs/xfs/scrub/quotacheck.c
618
int error;
fs/xfs/scrub/quotacheck.c
621
while ((error = xfarray_iter(counts, &cur, &xcdq)) == 1) {
fs/xfs/scrub/quotacheck.c
629
error = xfs_qm_dqget(xqc->sc->mp, id, dqtype, false, &dq);
fs/xfs/scrub/quotacheck.c
630
if (error == -ENOENT) {
fs/xfs/scrub/quotacheck.c
634
if (error)
fs/xfs/scrub/quotacheck.c
635
return error;
fs/xfs/scrub/quotacheck.c
637
error = xqcheck_compare_dquot(xqc, dqtype, dq);
fs/xfs/scrub/quotacheck.c
639
if (error)
fs/xfs/scrub/quotacheck.c
640
return error;
fs/xfs/scrub/quotacheck.c
642
if (xchk_should_terminate(xqc->sc, &error))
fs/xfs/scrub/quotacheck.c
643
return error;
fs/xfs/scrub/quotacheck.c
649
return error;
fs/xfs/scrub/quotacheck.c
661
int error;
fs/xfs/scrub/quotacheck.c
674
while ((error = xchk_dquot_iter(&cursor, &dq)) == 1) {
fs/xfs/scrub/quotacheck.c
675
error = xqcheck_compare_dquot(xqc, dqtype, dq);
fs/xfs/scrub/quotacheck.c
677
if (error)
fs/xfs/scrub/quotacheck.c
680
if (error)
fs/xfs/scrub/quotacheck.c
681
return error;
fs/xfs/scrub/quotacheck.c
746
int error;
fs/xfs/scrub/quotacheck.c
756
error = -ENOMEM;
fs/xfs/scrub/quotacheck.c
758
error = xfarray_create("user dquot records", max_dquots,
fs/xfs/scrub/quotacheck.c
760
if (error)
fs/xfs/scrub/quotacheck.c
765
error = xfarray_create("group dquot records", max_dquots,
fs/xfs/scrub/quotacheck.c
767
if (error)
fs/xfs/scrub/quotacheck.c
772
error = xfarray_create("project dquot records", max_dquots,
fs/xfs/scrub/quotacheck.c
774
if (error)
fs/xfs/scrub/quotacheck.c
782
error = rhashtable_init(&xqc->shadow_dquot_acct,
fs/xfs/scrub/quotacheck.c
784
if (error)
fs/xfs/scrub/quotacheck.c
801
error = xfs_dqtrx_hook_add(qi, &xqc->qhook);
fs/xfs/scrub/quotacheck.c
802
if (error)
fs/xfs/scrub/quotacheck.c
811
return error;
fs/xfs/scrub/quotacheck.c
820
int error = 0;
fs/xfs/scrub/quotacheck.c
823
error = xqcheck_setup_scan(sc, xqc);
fs/xfs/scrub/quotacheck.c
824
if (error)
fs/xfs/scrub/quotacheck.c
825
return error;
fs/xfs/scrub/quotacheck.c
828
error = xqcheck_collect_counts(xqc);
fs/xfs/scrub/quotacheck.c
829
if (!xchk_xref_process_error(sc, 0, 0, &error))
fs/xfs/scrub/quotacheck.c
830
return error;
fs/xfs/scrub/quotacheck.c
840
error = xqcheck_compare_dqtype(xqc, XFS_DQTYPE_USER);
fs/xfs/scrub/quotacheck.c
841
if (!xchk_xref_process_error(sc, 0, 0, &error))
fs/xfs/scrub/quotacheck.c
842
return error;
fs/xfs/scrub/quotacheck.c
845
error = xqcheck_compare_dqtype(xqc, XFS_DQTYPE_GROUP);
fs/xfs/scrub/quotacheck.c
846
if (!xchk_xref_process_error(sc, 0, 0, &error))
fs/xfs/scrub/quotacheck.c
847
return error;
fs/xfs/scrub/quotacheck.c
850
error = xqcheck_compare_dqtype(xqc, XFS_DQTYPE_PROJ);
fs/xfs/scrub/quotacheck.c
851
if (!xchk_xref_process_error(sc, 0, 0, &error))
fs/xfs/scrub/quotacheck.c
852
return error;
fs/xfs/scrub/quotacheck_repair.c
103
error = -ECANCELED;
fs/xfs/scrub/quotacheck_repair.c
106
if (error || !dirty)
fs/xfs/scrub/quotacheck_repair.c
122
return error;
fs/xfs/scrub/quotacheck_repair.c
138
int error;
fs/xfs/scrub/quotacheck_repair.c
144
while ((error = xchk_dquot_iter(&cursor, &dq)) == 1) {
fs/xfs/scrub/quotacheck_repair.c
145
error = xqcheck_commit_dquot(xqc, dqtype, dq);
fs/xfs/scrub/quotacheck_repair.c
147
if (error)
fs/xfs/scrub/quotacheck_repair.c
150
if (error)
fs/xfs/scrub/quotacheck_repair.c
151
return error;
fs/xfs/scrub/quotacheck_repair.c
158
while ((error = xfarray_iter(counts, &cur, &xcdq)) == 1) {
fs/xfs/scrub/quotacheck_repair.c
172
error = xfs_qm_dqget(mp, id, dqtype, true, &dq);
fs/xfs/scrub/quotacheck_repair.c
173
if (error)
fs/xfs/scrub/quotacheck_repair.c
174
return error;
fs/xfs/scrub/quotacheck_repair.c
176
error = xqcheck_commit_dquot(xqc, dqtype, dq);
fs/xfs/scrub/quotacheck_repair.c
178
if (error)
fs/xfs/scrub/quotacheck_repair.c
179
return error;
fs/xfs/scrub/quotacheck_repair.c
185
return error;
fs/xfs/scrub/quotacheck_repair.c
211
int error;
fs/xfs/scrub/quotacheck_repair.c
220
error = xrep_trans_commit(sc);
fs/xfs/scrub/quotacheck_repair.c
221
if (error)
fs/xfs/scrub/quotacheck_repair.c
222
return error;
fs/xfs/scrub/quotacheck_repair.c
226
error = xqcheck_commit_dqtype(xqc, XFS_DQTYPE_USER);
fs/xfs/scrub/quotacheck_repair.c
227
if (error)
fs/xfs/scrub/quotacheck_repair.c
228
return error;
fs/xfs/scrub/quotacheck_repair.c
231
error = xqcheck_commit_dqtype(xqc, XFS_DQTYPE_GROUP);
fs/xfs/scrub/quotacheck_repair.c
232
if (error)
fs/xfs/scrub/quotacheck_repair.c
233
return error;
fs/xfs/scrub/quotacheck_repair.c
236
error = xqcheck_commit_dqtype(xqc, XFS_DQTYPE_PROJ);
fs/xfs/scrub/quotacheck_repair.c
237
if (error)
fs/xfs/scrub/quotacheck_repair.c
238
return error;
fs/xfs/scrub/quotacheck_repair.c
242
error = xchk_trans_alloc(sc, 0);
fs/xfs/scrub/quotacheck_repair.c
243
if (error)
fs/xfs/scrub/quotacheck_repair.c
244
return error;
fs/xfs/scrub/quotacheck_repair.c
53
int error = 0;
fs/xfs/scrub/quotacheck_repair.c
55
error = xchk_trans_alloc(xqc->sc, 0);
fs/xfs/scrub/quotacheck_repair.c
56
if (error)
fs/xfs/scrub/quotacheck_repair.c
57
return error;
fs/xfs/scrub/quotacheck_repair.c
63
error = -ECANCELED;
fs/xfs/scrub/quotacheck_repair.c
68
error = xfarray_load_sparse(counts, dq->q_id, &xcdq);
fs/xfs/scrub/quotacheck_repair.c
69
if (error)
fs/xfs/scrub/quotacheck_repair.c
95
error = xfarray_store(counts, dq->q_id, &xcdq);
fs/xfs/scrub/quotacheck_repair.c
96
if (error == -EFBIG) {
fs/xfs/scrub/rcbag.c
105
error = rcbagbt_insert(cur, &bagrec, &has);
fs/xfs/scrub/rcbag.c
106
if (error)
fs/xfs/scrub/rcbag.c
109
error = -EFSCORRUPTED;
fs/xfs/scrub/rcbag.c
116
error = xfbtree_trans_commit(&bag->xfbtree, tp);
fs/xfs/scrub/rcbag.c
117
if (error)
fs/xfs/scrub/rcbag.c
118
return error;
fs/xfs/scrub/rcbag.c
124
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/rcbag.c
126
return error;
fs/xfs/scrub/rcbag.c
159
int error;
fs/xfs/scrub/rcbag.c
165
error = xfs_btree_goto_left_edge(cur);
fs/xfs/scrub/rcbag.c
166
if (error)
fs/xfs/scrub/rcbag.c
170
error = xfs_btree_increment(cur, 0, &has);
fs/xfs/scrub/rcbag.c
171
if (error)
fs/xfs/scrub/rcbag.c
176
error = rcbagbt_get_rec(cur, &bagrec, &has);
fs/xfs/scrub/rcbag.c
177
if (error)
fs/xfs/scrub/rcbag.c
180
error = -EFSCORRUPTED;
fs/xfs/scrub/rcbag.c
194
error = -EFSCORRUPTED;
fs/xfs/scrub/rcbag.c
204
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/rcbag.c
205
return error;
fs/xfs/scrub/rcbag.c
219
int error;
fs/xfs/scrub/rcbag.c
224
error = xfs_btree_lookup(cur, XFS_LOOKUP_GE, &has);
fs/xfs/scrub/rcbag.c
225
if (error)
fs/xfs/scrub/rcbag.c
229
error = xfs_btree_decrement(cur, 0, &has);
fs/xfs/scrub/rcbag.c
230
if (error)
fs/xfs/scrub/rcbag.c
235
error = rcbagbt_get_rec(cur, &bagrec, &has);
fs/xfs/scrub/rcbag.c
236
if (error)
fs/xfs/scrub/rcbag.c
239
error = -EFSCORRUPTED;
fs/xfs/scrub/rcbag.c
246
error = xfs_btree_delete(cur, &has);
fs/xfs/scrub/rcbag.c
247
if (error)
fs/xfs/scrub/rcbag.c
250
error = -EFSCORRUPTED;
fs/xfs/scrub/rcbag.c
260
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/rcbag.c
262
return error;
fs/xfs/scrub/rcbag.c
276
int error;
fs/xfs/scrub/rcbag.c
279
error = xfs_btree_goto_left_edge(cur);
fs/xfs/scrub/rcbag.c
280
if (error)
fs/xfs/scrub/rcbag.c
284
error = xfs_btree_increment(cur, 0, &has);
fs/xfs/scrub/rcbag.c
285
if (error)
fs/xfs/scrub/rcbag.c
290
error = rcbagbt_get_rec(cur, &bagrec, &has);
fs/xfs/scrub/rcbag.c
291
if (error)
fs/xfs/scrub/rcbag.c
294
error = -EFSCORRUPTED;
fs/xfs/scrub/rcbag.c
306
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/rcbag.c
37
int error;
fs/xfs/scrub/rcbag.c
46
error = rcbagbt_mem_init(mp, &bag->xfbtree, btp);
fs/xfs/scrub/rcbag.c
47
if (error)
fs/xfs/scrub/rcbag.c
55
return error;
fs/xfs/scrub/rcbag.c
80
int error;
fs/xfs/scrub/rcbag.c
83
error = rcbagbt_lookup_eq(cur, rmap, &has);
fs/xfs/scrub/rcbag.c
84
if (error)
fs/xfs/scrub/rcbag.c
88
error = rcbagbt_get_rec(cur, &bagrec, &has);
fs/xfs/scrub/rcbag.c
89
if (error)
fs/xfs/scrub/rcbag.c
92
error = -EFSCORRUPTED;
fs/xfs/scrub/rcbag.c
97
error = rcbagbt_update(cur, &bagrec);
fs/xfs/scrub/rcbag.c
98
if (error)
fs/xfs/scrub/rcbag_btree.c
319
int error;
fs/xfs/scrub/rcbag_btree.c
321
error = xfs_btree_get_rec(cur, &btrec, has);
fs/xfs/scrub/rcbag_btree.c
322
if (error || !(*has))
fs/xfs/scrub/rcbag_btree.c
323
return error;
fs/xfs/scrub/readdir.c
101
int error;
fs/xfs/scrub/readdir.c
103
error = xfs_dir3_block_read(sc->tp, dp, dp->i_ino, &bp);
fs/xfs/scrub/readdir.c
104
if (error)
fs/xfs/scrub/readdir.c
105
return error;
fs/xfs/scrub/readdir.c
133
error = dirent_fn(sc, dp, dapos, &name, ino, priv);
fs/xfs/scrub/readdir.c
134
if (error)
fs/xfs/scrub/readdir.c
139
return error;
fs/xfs/scrub/readdir.c
195
int error;
fs/xfs/scrub/readdir.c
216
error = xchk_read_leaf_dir_buf(sc->tp, dp, geo, &curoff,
fs/xfs/scrub/readdir.c
218
if (error || !bp)
fs/xfs/scrub/readdir.c
247
error = dirent_fn(sc, dp, dapos, &name, ino, priv);
fs/xfs/scrub/readdir.c
248
if (error)
fs/xfs/scrub/readdir.c
258
return error;
fs/xfs/scrub/readdir.c
279
int error;
fs/xfs/scrub/readdir.c
287
switch (xfs_dir2_format(&args, &error)) {
fs/xfs/scrub/readdir.c
296
return error;
fs/xfs/scrub/readdir.c
325
int error;
fs/xfs/scrub/readdir.c
340
error = xfs_dir_lookup_args(&args);
fs/xfs/scrub/readdir.c
341
if (!error)
fs/xfs/scrub/readdir.c
343
return error;
fs/xfs/scrub/readdir.c
400
int error = 0;
fs/xfs/scrub/readdir.c
409
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/readdir.c
410
return error;
fs/xfs/scrub/readdir.c
44
int error;
fs/xfs/scrub/readdir.c
53
error = dirent_fn(sc, dp, dapos, &name, dp->i_ino, priv);
fs/xfs/scrub/readdir.c
54
if (error)
fs/xfs/scrub/readdir.c
55
return error;
fs/xfs/scrub/readdir.c
65
error = dirent_fn(sc, dp, dapos, &name, ino, priv);
fs/xfs/scrub/readdir.c
66
if (error)
fs/xfs/scrub/readdir.c
67
return error;
fs/xfs/scrub/readdir.c
79
error = dirent_fn(sc, dp, dapos, &name, ino, priv);
fs/xfs/scrub/readdir.c
80
if (error)
fs/xfs/scrub/readdir.c
81
return error;
fs/xfs/scrub/reap.c
1005
error = xfs_free_extent_later(sc->tp, rtbno, *rglenp, NULL,
fs/xfs/scrub/reap.c
1009
if (error)
fs/xfs/scrub/reap.c
1010
return error;
fs/xfs/scrub/reap.c
1098
int error = 0;
fs/xfs/scrub/reap.c
1117
error = xreap_rgextent_select(rs, rgbno, rgbno_next,
fs/xfs/scrub/reap.c
1119
if (error)
fs/xfs/scrub/reap.c
1122
error = xreap_rgextent_iter(rs, rgbno, &rglen, crosslinked);
fs/xfs/scrub/reap.c
1123
if (error)
fs/xfs/scrub/reap.c
1127
error = xfs_defer_finish(&sc->tp);
fs/xfs/scrub/reap.c
1128
if (error)
fs/xfs/scrub/reap.c
1132
error = xfs_trans_roll_inode(&sc->tp, sc->ip);
fs/xfs/scrub/reap.c
1133
if (error)
fs/xfs/scrub/reap.c
1145
return error;
fs/xfs/scrub/reap.c
1163
int error;
fs/xfs/scrub/reap.c
1170
error = xrtb_bitmap_walk(bitmap, xreap_rtmeta_extent, &rs);
fs/xfs/scrub/reap.c
1171
if (error)
fs/xfs/scrub/reap.c
1172
return error;
fs/xfs/scrub/reap.c
1201
int error;
fs/xfs/scrub/reap.c
1209
error = xfsb_bitmap_walk(bitmap, xreap_fsmeta_extent, &rs);
fs/xfs/scrub/reap.c
1210
if (error)
fs/xfs/scrub/reap.c
1211
return error;
fs/xfs/scrub/reap.c
1214
error = xrep_defer_finish(sc);
fs/xfs/scrub/reap.c
1215
if (error)
fs/xfs/scrub/reap.c
1216
return error;
fs/xfs/scrub/reap.c
1244
int error;
fs/xfs/scrub/reap.c
1254
error = xfs_rmap_has_other_keys(cur, agbno, 1, &oinfo, crosslinked);
fs/xfs/scrub/reap.c
1255
if (error)
fs/xfs/scrub/reap.c
1263
error = xfs_rmap_has_other_keys(cur, bno, 1, &oinfo,
fs/xfs/scrub/reap.c
1265
if (error)
fs/xfs/scrub/reap.c
1279
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/reap.c
1280
return error;
fs/xfs/scrub/reap.c
1329
int error;
fs/xfs/scrub/reap.c
1355
error = xfs_bmapi_read(rs->ip, off, max_off - off, &hmap,
fs/xfs/scrub/reap.c
1357
if (error)
fs/xfs/scrub/reap.c
1358
return error;
fs/xfs/scrub/reap.c
136
int error;
fs/xfs/scrub/reap.c
139
error = xrep_fix_freelist(sc, 0);
fs/xfs/scrub/reap.c
140
if (error)
fs/xfs/scrub/reap.c
141
return error;
fs/xfs/scrub/reap.c
1429
int error;
fs/xfs/scrub/reap.c
1473
error = xreap_bmapi_binval(rs, imap);
fs/xfs/scrub/reap.c
1474
if (error || imap->br_blockcount == 0)
fs/xfs/scrub/reap.c
1475
return error;
fs/xfs/scrub/reap.c
148
error = xfs_rmap_alloc(sc->tp, sc->sa.agf_bp, sc->sa.pag, agbno, 1,
fs/xfs/scrub/reap.c
150
if (error)
fs/xfs/scrub/reap.c
151
return error;
fs/xfs/scrub/reap.c
154
error = xfs_alloc_read_agfl(sc->sa.pag, sc->tp, &agfl_bp);
fs/xfs/scrub/reap.c
155
if (error)
fs/xfs/scrub/reap.c
156
return error;
fs/xfs/scrub/reap.c
158
error = xfs_alloc_put_freelist(sc->sa.pag, sc->tp, sc->sa.agf_bp,
fs/xfs/scrub/reap.c
160
if (error)
fs/xfs/scrub/reap.c
1601
int error;
fs/xfs/scrub/reap.c
161
return error;
fs/xfs/scrub/reap.c
1612
error = xfs_alloc_read_agf(sc->sa.pag, sc->tp, 0, &sc->sa.agf_bp);
fs/xfs/scrub/reap.c
1613
if (error)
fs/xfs/scrub/reap.c
1620
error = xreap_bmapi_select(rs, imap, &crosslinked);
fs/xfs/scrub/reap.c
1621
if (error)
fs/xfs/scrub/reap.c
1624
error = xrep_reap_bmapi_iter(rs, imap, crosslinked);
fs/xfs/scrub/reap.c
1625
if (error)
fs/xfs/scrub/reap.c
1634
return error;
fs/xfs/scrub/reap.c
1655
int error;
fs/xfs/scrub/reap.c
1667
error = xfs_bmapi_read(ip, off, XFS_MAX_FILEOFF - off, &imap,
fs/xfs/scrub/reap.c
1669
if (error)
fs/xfs/scrub/reap.c
1670
return error;
fs/xfs/scrub/reap.c
1681
error = xreap_ifork_extent(&rs, &imap);
fs/xfs/scrub/reap.c
1682
if (error)
fs/xfs/scrub/reap.c
1683
return error;
fs/xfs/scrub/reap.c
1685
error = xfs_defer_finish(&sc->tp);
fs/xfs/scrub/reap.c
1686
if (error)
fs/xfs/scrub/reap.c
1687
return error;
fs/xfs/scrub/reap.c
269
int error;
fs/xfs/scrub/reap.c
271
error = xfs_buf_incore(mp->m_ddev_targp, scan->daddr,
fs/xfs/scrub/reap.c
273
if (!error)
fs/xfs/scrub/reap.c
359
int error;
fs/xfs/scrub/reap.c
367
error = xfs_rmap_has_other_keys(cur, agbno, 1, rs->oinfo,
fs/xfs/scrub/reap.c
369
if (error)
fs/xfs/scrub/reap.c
383
error = xfs_rmap_has_other_keys(cur, bno, 1, rs->oinfo,
fs/xfs/scrub/reap.c
385
if (error)
fs/xfs/scrub/reap.c
400
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/reap.c
401
return error;
fs/xfs/scrub/reap.c
417
int error = 0;
fs/xfs/scrub/reap.c
484
error = xfs_free_extent_later(sc->tp, fsbno, *aglenp, NULL,
fs/xfs/scrub/reap.c
486
if (error)
fs/xfs/scrub/reap.c
487
return error;
fs/xfs/scrub/reap.c
496
error = xreap_put_freelist(sc, agbno);
fs/xfs/scrub/reap.c
497
if (error)
fs/xfs/scrub/reap.c
498
return error;
fs/xfs/scrub/reap.c
510
error = xfs_free_extent_later(sc->tp, fsbno, *aglenp, rs->oinfo,
fs/xfs/scrub/reap.c
512
if (error)
fs/xfs/scrub/reap.c
513
return error;
fs/xfs/scrub/reap.c
716
int error = 0;
fs/xfs/scrub/reap.c
725
error = xreap_agextent_select(rs, agbno, agbno_next,
fs/xfs/scrub/reap.c
727
if (error)
fs/xfs/scrub/reap.c
728
return error;
fs/xfs/scrub/reap.c
730
error = xreap_agextent_iter(rs, agbno, &aglen, crosslinked);
fs/xfs/scrub/reap.c
731
if (error)
fs/xfs/scrub/reap.c
732
return error;
fs/xfs/scrub/reap.c
735
error = xrep_defer_finish(sc);
fs/xfs/scrub/reap.c
736
if (error)
fs/xfs/scrub/reap.c
737
return error;
fs/xfs/scrub/reap.c
740
error = xrep_roll_ag_trans(sc);
fs/xfs/scrub/reap.c
741
if (error)
fs/xfs/scrub/reap.c
742
return error;
fs/xfs/scrub/reap.c
765
int error;
fs/xfs/scrub/reap.c
771
error = xagb_bitmap_walk(bitmap, xreap_agmeta_extent, &rs);
fs/xfs/scrub/reap.c
772
if (error)
fs/xfs/scrub/reap.c
773
return error;
fs/xfs/scrub/reap.c
797
int error = 0;
fs/xfs/scrub/reap.c
811
error = xfs_alloc_read_agf(sc->sa.pag, sc->tp, 0, &sc->sa.agf_bp);
fs/xfs/scrub/reap.c
812
if (error)
fs/xfs/scrub/reap.c
819
error = xreap_agextent_select(rs, agbno, agbno_next,
fs/xfs/scrub/reap.c
821
if (error)
fs/xfs/scrub/reap.c
824
error = xreap_agextent_iter(rs, agbno, &aglen, crosslinked);
fs/xfs/scrub/reap.c
825
if (error)
fs/xfs/scrub/reap.c
833
error = xrep_defer_finish(sc);
fs/xfs/scrub/reap.c
834
if (error)
fs/xfs/scrub/reap.c
844
error = xfs_trans_roll_inode(&sc->tp, sc->ip);
fs/xfs/scrub/reap.c
846
if (error)
fs/xfs/scrub/reap.c
860
return error;
fs/xfs/scrub/reap.c
878
int error;
fs/xfs/scrub/reap.c
887
error = xfsb_bitmap_walk(bitmap, xreap_fsmeta_extent, &rs);
fs/xfs/scrub/reap.c
888
if (error)
fs/xfs/scrub/reap.c
889
return error;
fs/xfs/scrub/reap.c
915
int error;
fs/xfs/scrub/reap.c
922
error = xfs_rmap_has_other_keys(cur, rgbno, 1, rs->oinfo,
fs/xfs/scrub/reap.c
924
if (error)
fs/xfs/scrub/reap.c
934
error = xfs_rmap_has_other_keys(cur, bno, 1, rs->oinfo,
fs/xfs/scrub/reap.c
936
if (error)
fs/xfs/scrub/reap.c
950
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/reap.c
951
return error;
fs/xfs/scrub/reap.c
967
int error;
fs/xfs/scrub/refcount.c
118
int error = 0;
fs/xfs/scrub/refcount.c
120
if (xchk_should_terminate(refchk->sc, &error))
fs/xfs/scrub/refcount.c
121
return error;
fs/xfs/scrub/refcount.c
299
int error;
fs/xfs/scrub/refcount.c
311
error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high,
fs/xfs/scrub/refcount.c
313
if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
fs/xfs/scrub/refcount.c
35
int error;
fs/xfs/scrub/refcount.c
37
error = xrep_setup_ag_refcountbt(sc);
fs/xfs/scrub/refcount.c
38
if (error)
fs/xfs/scrub/refcount.c
386
int error;
fs/xfs/scrub/refcount.c
39
return error;
fs/xfs/scrub/refcount.c
397
error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high,
fs/xfs/scrub/refcount.c
399
if (error == -ECANCELED)
fs/xfs/scrub/refcount.c
402
xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur);
fs/xfs/scrub/refcount.c
495
int error;
fs/xfs/scrub/refcount.c
501
error = xfs_btree_count_blocks(sc->sa.refc_cur, &refcbt_blocks);
fs/xfs/scrub/refcount.c
502
if (!xchk_btree_process_error(sc, sc->sa.refc_cur, 0, &error))
fs/xfs/scrub/refcount.c
504
error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur,
fs/xfs/scrub/refcount.c
506
if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
fs/xfs/scrub/refcount.c
512
error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur,
fs/xfs/scrub/refcount.c
514
if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
fs/xfs/scrub/refcount.c
530
int error;
fs/xfs/scrub/refcount.c
532
error = xchk_btree(sc, sc->sa.refc_cur, xchk_refcountbt_rec,
fs/xfs/scrub/refcount.c
534
if (error)
fs/xfs/scrub/refcount.c
535
return error;
fs/xfs/scrub/refcount.c
557
int error;
fs/xfs/scrub/refcount.c
563
error = xfs_refcount_lookup_le(sc->sa.refc_cur, XFS_REFC_DOMAIN_COW,
fs/xfs/scrub/refcount.c
565
if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur))
fs/xfs/scrub/refcount.c
572
error = xfs_refcount_get_rec(sc->sa.refc_cur, &rc, &has_refcount);
fs/xfs/scrub/refcount.c
573
if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur))
fs/xfs/scrub/refcount.c
600
int error;
fs/xfs/scrub/refcount.c
605
error = xfs_refcount_has_records(sc->sa.refc_cur,
fs/xfs/scrub/refcount.c
607
if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur))
fs/xfs/scrub/refcount.c
621
int error;
fs/xfs/scrub/refcount.c
626
error = xfs_refcount_has_records(sc->sa.refc_cur, XFS_REFC_DOMAIN_COW,
fs/xfs/scrub/refcount.c
628
if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur))
fs/xfs/scrub/refcount_repair.c
136
int error;
fs/xfs/scrub/refcount_repair.c
142
error = xfs_alloc_has_records(sc->sa.bno_cur, rec->rc_startblock,
fs/xfs/scrub/refcount_repair.c
144
if (error)
fs/xfs/scrub/refcount_repair.c
145
return error;
fs/xfs/scrub/refcount_repair.c
150
error = xfs_ialloc_has_inodes_at_extent(sc->sa.ino_cur,
fs/xfs/scrub/refcount_repair.c
152
if (error)
fs/xfs/scrub/refcount_repair.c
153
return error;
fs/xfs/scrub/refcount_repair.c
175
int error = 0;
fs/xfs/scrub/refcount_repair.c
177
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/refcount_repair.c
178
return error;
fs/xfs/scrub/refcount_repair.c
182
error = xrep_refc_check_ext(rr->sc, &irec);
fs/xfs/scrub/refcount_repair.c
183
if (error)
fs/xfs/scrub/refcount_repair.c
184
return error;
fs/xfs/scrub/refcount_repair.c
236
int error = 0;
fs/xfs/scrub/refcount_repair.c
247
if (xchk_should_terminate(rr->sc, &error))
fs/xfs/scrub/refcount_repair.c
248
return error;
fs/xfs/scrub/refcount_repair.c
250
error = xfs_btree_increment(cur, 0, &have_gt);
fs/xfs/scrub/refcount_repair.c
251
if (error)
fs/xfs/scrub/refcount_repair.c
252
return error;
fs/xfs/scrub/refcount_repair.c
256
error = xfs_rmap_get_rec(cur, rmap, &have_gt);
fs/xfs/scrub/refcount_repair.c
257
if (error)
fs/xfs/scrub/refcount_repair.c
258
return error;
fs/xfs/scrub/refcount_repair.c
265
error = xrep_refc_stash_cow(rr, rmap->rm_startblock,
fs/xfs/scrub/refcount_repair.c
267
if (error)
fs/xfs/scrub/refcount_repair.c
268
return error;
fs/xfs/scrub/refcount_repair.c
272
error = xagb_bitmap_set(&rr->old_refcountbt_blocks,
fs/xfs/scrub/refcount_repair.c
275
if (error)
fs/xfs/scrub/refcount_repair.c
276
return error;
fs/xfs/scrub/refcount_repair.c
329
int error;
fs/xfs/scrub/refcount_repair.c
331
error = xfarray_sort(rr->refcount_records, xrep_refc_extent_cmp,
fs/xfs/scrub/refcount_repair.c
333
if (error)
fs/xfs/scrub/refcount_repair.c
334
return error;
fs/xfs/scrub/refcount_repair.c
337
if (xchk_should_terminate(rr->sc, &error))
fs/xfs/scrub/refcount_repair.c
338
return error;
fs/xfs/scrub/refcount_repair.c
340
error = xfarray_load(rr->refcount_records, cur, &irec);
fs/xfs/scrub/refcount_repair.c
341
if (error)
fs/xfs/scrub/refcount_repair.c
342
return error;
fs/xfs/scrub/refcount_repair.c
358
return error;
fs/xfs/scrub/refcount_repair.c
377
int error;
fs/xfs/scrub/refcount_repair.c
380
error = rcbag_add(rcstack, rr->sc->tp, rmap);
fs/xfs/scrub/refcount_repair.c
381
if (error)
fs/xfs/scrub/refcount_repair.c
382
return error;
fs/xfs/scrub/refcount_repair.c
384
error = xrep_refc_walk_rmaps(rr, rmap, have);
fs/xfs/scrub/refcount_repair.c
385
if (error)
fs/xfs/scrub/refcount_repair.c
386
return error;
fs/xfs/scrub/refcount_repair.c
389
error = xfs_btree_decrement(sc->sa.rmap_cur, 0, &have_gt);
fs/xfs/scrub/refcount_repair.c
390
if (error)
fs/xfs/scrub/refcount_repair.c
391
return error;
fs/xfs/scrub/refcount_repair.c
412
int error;
fs/xfs/scrub/refcount_repair.c
421
error = rcbag_init(sc->mp, sc->xmbtp, &rcstack);
fs/xfs/scrub/refcount_repair.c
422
if (error)
fs/xfs/scrub/refcount_repair.c
426
error = xfs_btree_goto_left_edge(sc->sa.rmap_cur);
fs/xfs/scrub/refcount_repair.c
427
if (error)
fs/xfs/scrub/refcount_repair.c
435
error = xrep_refc_walk_rmaps(rr, &rmap, &have);
fs/xfs/scrub/refcount_repair.c
436
if (error)
fs/xfs/scrub/refcount_repair.c
441
error = xrep_refc_push_rmaps_at(rr, rcstack, sbno, &rmap,
fs/xfs/scrub/refcount_repair.c
443
if (error)
fs/xfs/scrub/refcount_repair.c
447
error = rcbag_next_edge(rcstack, sc->tp, &rmap, have, &nbno);
fs/xfs/scrub/refcount_repair.c
448
if (error)
fs/xfs/scrub/refcount_repair.c
457
error = rcbag_remove_ending_at(rcstack, sc->tp, nbno);
fs/xfs/scrub/refcount_repair.c
458
if (error)
fs/xfs/scrub/refcount_repair.c
462
error = xrep_refc_walk_rmaps(rr, &rmap, &have);
fs/xfs/scrub/refcount_repair.c
463
if (error)
fs/xfs/scrub/refcount_repair.c
466
error = xrep_refc_push_rmaps_at(rr, rcstack,
fs/xfs/scrub/refcount_repair.c
468
if (error)
fs/xfs/scrub/refcount_repair.c
476
error = xrep_refc_stash(rr,
fs/xfs/scrub/refcount_repair.c
480
if (error)
fs/xfs/scrub/refcount_repair.c
493
error = rcbag_next_edge(rcstack, sc->tp, &rmap, have,
fs/xfs/scrub/refcount_repair.c
495
if (error)
fs/xfs/scrub/refcount_repair.c
507
return error;
fs/xfs/scrub/refcount_repair.c
523
int error;
fs/xfs/scrub/refcount_repair.c
526
error = xfarray_load(rr->refcount_records, rr->array_cur++,
fs/xfs/scrub/refcount_repair.c
528
if (error)
fs/xfs/scrub/refcount_repair.c
529
return error;
fs/xfs/scrub/refcount_repair.c
587
int error;
fs/xfs/scrub/refcount_repair.c
589
error = xrep_refc_sort_records(rr);
fs/xfs/scrub/refcount_repair.c
590
if (error)
fs/xfs/scrub/refcount_repair.c
591
return error;
fs/xfs/scrub/refcount_repair.c
608
error = xfs_btree_bload_compute_geometry(refc_cur,
fs/xfs/scrub/refcount_repair.c
611
if (error)
fs/xfs/scrub/refcount_repair.c
615
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/refcount_repair.c
619
error = xrep_newbt_alloc_blocks(&rr->new_btree,
fs/xfs/scrub/refcount_repair.c
621
if (error)
fs/xfs/scrub/refcount_repair.c
634
error = xfs_btree_bload(refc_cur, &rr->new_btree.bload, rr);
fs/xfs/scrub/refcount_repair.c
635
if (error)
fs/xfs/scrub/refcount_repair.c
646
error = xrep_refc_reset_counters(rr);
fs/xfs/scrub/refcount_repair.c
647
if (error)
fs/xfs/scrub/refcount_repair.c
651
error = xrep_newbt_commit(&rr->new_btree);
fs/xfs/scrub/refcount_repair.c
652
if (error)
fs/xfs/scrub/refcount_repair.c
653
return error;
fs/xfs/scrub/refcount_repair.c
660
xfs_btree_del_cursor(refc_cur, error);
fs/xfs/scrub/refcount_repair.c
663
return error;
fs/xfs/scrub/refcount_repair.c
676
int error;
fs/xfs/scrub/refcount_repair.c
679
error = xrep_reap_agblocks(sc, &rr->old_refcountbt_blocks,
fs/xfs/scrub/refcount_repair.c
681
if (error)
fs/xfs/scrub/refcount_repair.c
682
return error;
fs/xfs/scrub/refcount_repair.c
701
int error;
fs/xfs/scrub/refcount_repair.c
713
error = xfarray_create("reference count records", mp->m_sb.sb_agblocks,
fs/xfs/scrub/refcount_repair.c
716
if (error)
fs/xfs/scrub/refcount_repair.c
721
error = xrep_refc_find_refcounts(rr);
fs/xfs/scrub/refcount_repair.c
722
if (error)
fs/xfs/scrub/refcount_repair.c
726
error = xrep_refc_build_new_tree(rr);
fs/xfs/scrub/refcount_repair.c
727
if (error)
fs/xfs/scrub/refcount_repair.c
731
error = xrep_refc_remove_old_tree(rr);
fs/xfs/scrub/refcount_repair.c
732
if (error)
fs/xfs/scrub/refcount_repair.c
740
return error;
fs/xfs/scrub/repair.c
1054
int error = 0;
fs/xfs/scrub/repair.c
1065
error = xfs_rtalloc_extent_is_free(sc->sr.rtg, sc->tp, startrtx,
fs/xfs/scrub/repair.c
1067
if (error)
fs/xfs/scrub/repair.c
1068
return error;
fs/xfs/scrub/repair.c
1081
int error;
fs/xfs/scrub/repair.c
1092
error = xfs_ag_resv_init(sc->sa.pag, sc->tp);
fs/xfs/scrub/repair.c
1093
if (error == -ENOSPC) {
fs/xfs/scrub/repair.c
1097
error = 0;
fs/xfs/scrub/repair.c
1100
return error;
fs/xfs/scrub/repair.c
113
ASSERT(error != -EAGAIN);
fs/xfs/scrub/repair.c
1130
int error;
fs/xfs/scrub/repair.c
114
return error;
fs/xfs/scrub/repair.c
1142
error = sub->sc.ops->scrub(&sub->sc);
fs/xfs/scrub/repair.c
1143
if (error)
fs/xfs/scrub/repair.c
1152
error = sub->sc.ops->repair(&sub->sc);
fs/xfs/scrub/repair.c
1153
if (error)
fs/xfs/scrub/repair.c
1161
error = xfs_defer_finish(&sub->sc.tp);
fs/xfs/scrub/repair.c
1162
if (error)
fs/xfs/scrub/repair.c
1164
error = xfs_trans_roll(&sub->sc.tp);
fs/xfs/scrub/repair.c
1165
if (error)
fs/xfs/scrub/repair.c
1173
error = sub->sc.ops->scrub(&sub->sc);
fs/xfs/scrub/repair.c
1174
if (error)
fs/xfs/scrub/repair.c
1179
error = -EFSCORRUPTED;
fs/xfs/scrub/repair.c
1184
return error;
fs/xfs/scrub/repair.c
1198
int error;
fs/xfs/scrub/repair.c
1201
error = xrep_metadata_inode_subtype(sc, XFS_SCRUB_TYPE_INODE);
fs/xfs/scrub/repair.c
1202
if (error)
fs/xfs/scrub/repair.c
1203
return error;
fs/xfs/scrub/repair.c
1205
error = xrep_metadata_inode_subtype(sc, XFS_SCRUB_TYPE_BMBTD);
fs/xfs/scrub/repair.c
1206
if (error)
fs/xfs/scrub/repair.c
1207
return error;
fs/xfs/scrub/repair.c
1216
error = xrep_metadata_inode_subtype(sc, XFS_SCRUB_TYPE_BMBTA);
fs/xfs/scrub/repair.c
1217
if (error)
fs/xfs/scrub/repair.c
1218
return error;
fs/xfs/scrub/repair.c
1225
error = xfs_reflink_clear_inode_flag(sc->ip, &sc->tp);
fs/xfs/scrub/repair.c
1226
if (error)
fs/xfs/scrub/repair.c
1227
return error;
fs/xfs/scrub/repair.c
1239
error = xrep_xattr_reset_fork(sc);
fs/xfs/scrub/repair.c
1240
if (error)
fs/xfs/scrub/repair.c
1241
return error;
fs/xfs/scrub/repair.c
1249
error = xfs_trans_roll(&sc->tp);
fs/xfs/scrub/repair.c
1250
if (error)
fs/xfs/scrub/repair.c
1251
return error;
fs/xfs/scrub/repair.c
1312
int error;
fs/xfs/scrub/repair.c
1328
error = xfs_alloc_has_records(sc->sa.bno_cur, rec->rm_startblock,
fs/xfs/scrub/repair.c
1330
if (error)
fs/xfs/scrub/repair.c
1331
return error;
fs/xfs/scrub/repair.c
1365
int error;
fs/xfs/scrub/repair.c
1394
error = xfs_dec_fdblocks(mp, delta, true);
fs/xfs/scrub/repair.c
1395
while (error == -ENOSPC) {
fs/xfs/scrub/repair.c
1402
error = xfs_dec_fdblocks(mp, delta, true);
fs/xfs/scrub/repair.c
1404
if (error)
fs/xfs/scrub/repair.c
1405
return error;
fs/xfs/scrub/repair.c
143
int error = 0;
fs/xfs/scrub/repair.c
145
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/repair.c
146
return error;
fs/xfs/scrub/repair.c
159
int error;
fs/xfs/scrub/repair.c
186
error = xfs_trans_roll(&sc->tp);
fs/xfs/scrub/repair.c
187
if (error)
fs/xfs/scrub/repair.c
188
return error;
fs/xfs/scrub/repair.c
214
int error;
fs/xfs/scrub/repair.c
242
error = xfs_defer_finish(&sc->tp);
fs/xfs/scrub/repair.c
243
if (error)
fs/xfs/scrub/repair.c
244
return error;
fs/xfs/scrub/repair.c
296
int error;
fs/xfs/scrub/repair.c
307
error = xfs_ialloc_read_agi(pag, NULL, 0, &bp);
fs/xfs/scrub/repair.c
308
if (!error) {
fs/xfs/scrub/repair.c
315
error = xfs_alloc_read_agf(pag, NULL, 0, &bp);
fs/xfs/scrub/repair.c
316
if (error) {
fs/xfs/scrub/repair.c
527
int error = 0;
fs/xfs/scrub/repair.c
538
error = xfs_agfl_walk(mp, ri->agf, ri->agfl_bp,
fs/xfs/scrub/repair.c
540
if (error == -ECANCELED)
fs/xfs/scrub/repair.c
542
if (error)
fs/xfs/scrub/repair.c
543
return error;
fs/xfs/scrub/repair.c
564
error = xfs_trans_read_buf(mp, ri->sc->tp, mp->m_ddev_targp, daddr,
fs/xfs/scrub/repair.c
566
if (error)
fs/xfs/scrub/repair.c
567
return error;
fs/xfs/scrub/repair.c
662
return error;
fs/xfs/scrub/repair.c
67
int error = 0;
fs/xfs/scrub/repair.c
679
int error = 0;
fs/xfs/scrub/repair.c
69
trace_xrep_attempt(XFS_I(file_inode(sc->file)), sc->sm, error);
fs/xfs/scrub/repair.c
691
error = xrep_findroot_block(ri, fab,
fs/xfs/scrub/repair.c
694
if (error)
fs/xfs/scrub/repair.c
695
return error;
fs/xfs/scrub/repair.c
716
int error;
fs/xfs/scrub/repair.c
733
error = xfs_rmap_query_all(cur, xrep_findroot_rmap, &ri);
fs/xfs/scrub/repair.c
734
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/repair.c
736
return error;
fs/xfs/scrub/repair.c
78
error = sc->ops->repair(sc);
fs/xfs/scrub/repair.c
79
trace_xrep_done(XFS_I(file_inode(sc->file)), sc->sm, error);
fs/xfs/scrub/repair.c
807
int error;
fs/xfs/scrub/repair.c
81
switch (error) {
fs/xfs/scrub/repair.c
812
error = xfs_qm_dqattach(sc->ip);
fs/xfs/scrub/repair.c
813
switch (error) {
fs/xfs/scrub/repair.c
819
(unsigned long long)sc->ip->i_ino, error);
fs/xfs/scrub/repair.c
828
error = 0;
fs/xfs/scrub/repair.c
834
return error;
fs/xfs/scrub/repair.c
924
int error;
fs/xfs/scrub/repair.c
930
error = xfs_alloc_read_agf(pag, sc->tp, 0, &bp);
fs/xfs/scrub/repair.c
931
if (error)
fs/xfs/scrub/repair.c
932
return error;
fs/xfs/scrub/repair.c
953
int error;
fs/xfs/scrub/repair.c
959
error = xfs_ialloc_read_agi(pag, sc->tp, 0, &bp);
fs/xfs/scrub/repair.c
960
if (error)
fs/xfs/scrub/repair.c
961
return error;
fs/xfs/scrub/repair.c
981
int error;
fs/xfs/scrub/repair.c
985
error = xfs_ialloc_read_agi(pag, sc->tp, 0, &sa->agi_bp);
fs/xfs/scrub/repair.c
986
if (error)
fs/xfs/scrub/repair.c
987
return error;
fs/xfs/scrub/repair.c
989
error = xfs_alloc_read_agf(pag, sc->tp, 0, &sa->agf_bp);
fs/xfs/scrub/repair.c
990
if (error)
fs/xfs/scrub/repair.c
991
return error;
fs/xfs/scrub/repair.h
37
int error = xfs_trans_commit(sc->tp);
fs/xfs/scrub/repair.h
40
return error;
fs/xfs/scrub/rgsuper.c
46
int error;
fs/xfs/scrub/rgsuper.c
62
error = xchk_rtgroup_init_existing(sc, rgno, &sc->sr);
fs/xfs/scrub/rgsuper.c
63
if (!xchk_xref_process_error(sc, 0, 0, &error))
fs/xfs/scrub/rgsuper.c
64
return error;
fs/xfs/scrub/rgsuper.c
66
error = xchk_rtgroup_lock(sc, &sc->sr, XFS_RTGLOCK_BITMAP_SHARED);
fs/xfs/scrub/rgsuper.c
67
if (error)
fs/xfs/scrub/rgsuper.c
68
return error;
fs/xfs/scrub/rmap.c
101
error = xfs_refcount_find_shared(sc->sa.refc_cur, irec->rm_startblock,
fs/xfs/scrub/rmap.c
103
if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur))
fs/xfs/scrub/rmap.c
404
int error;
fs/xfs/scrub/rmap.c
407
error = xagb_bitmap_set(&cr->fs_owned, XFS_SB_BLOCK(mp),
fs/xfs/scrub/rmap.c
409
if (error)
fs/xfs/scrub/rmap.c
41
int error;
fs/xfs/scrub/rmap.c
414
error = xagb_bitmap_set(&cr->log_owned,
fs/xfs/scrub/rmap.c
417
if (error)
fs/xfs/scrub/rmap.c
426
error = xagb_bitmap_set_btblocks(&cr->ag_owned, cur);
fs/xfs/scrub/rmap.c
428
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/rmap.c
429
if (error)
fs/xfs/scrub/rmap.c
43
error = xrep_setup_ag_rmapbt(sc);
fs/xfs/scrub/rmap.c
436
error = xagb_bitmap_set_btblocks(&cr->ag_owned, cur);
fs/xfs/scrub/rmap.c
438
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/rmap.c
439
if (error)
fs/xfs/scrub/rmap.c
44
if (error)
fs/xfs/scrub/rmap.c
442
error = xagb_bitmap_set_btblocks(&cr->ag_owned, sc->sa.rmap_cur);
fs/xfs/scrub/rmap.c
443
if (error)
fs/xfs/scrub/rmap.c
446
error = xfs_alloc_read_agfl(sc->sa.pag, sc->tp, &agfl_bp);
fs/xfs/scrub/rmap.c
447
if (error)
fs/xfs/scrub/rmap.c
45
return error;
fs/xfs/scrub/rmap.c
450
error = xfs_agfl_walk(sc->mp, agf, agfl_bp, xchk_rmapbt_walk_agfl,
fs/xfs/scrub/rmap.c
453
if (error)
fs/xfs/scrub/rmap.c
460
error = xagb_bitmap_set_btblocks(&cr->inobt_owned, cur);
fs/xfs/scrub/rmap.c
462
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/rmap.c
463
if (error)
fs/xfs/scrub/rmap.c
471
error = xagb_bitmap_set_btblocks(&cr->inobt_owned, cur);
fs/xfs/scrub/rmap.c
473
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/rmap.c
474
if (error)
fs/xfs/scrub/rmap.c
484
error = xagb_bitmap_set_btblocks(&cr->refcbt_owned, cur);
fs/xfs/scrub/rmap.c
486
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/rmap.c
487
if (error)
fs/xfs/scrub/rmap.c
496
if (error)
fs/xfs/scrub/rmap.c
498
sc->sa.rmap_cur->bc_nlevels - 1, &error);
fs/xfs/scrub/rmap.c
549
int error;
fs/xfs/scrub/rmap.c
561
error = xchk_rmapbt_walk_ag_metadata(sc, cr);
fs/xfs/scrub/rmap.c
562
if (error)
fs/xfs/scrub/rmap.c
565
error = xchk_btree(sc, sc->sa.rmap_cur, xchk_rmapbt_rec,
fs/xfs/scrub/rmap.c
567
if (error)
fs/xfs/scrub/rmap.c
579
return error;
fs/xfs/scrub/rmap.c
591
int error;
fs/xfs/scrub/rmap.c
596
error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res);
fs/xfs/scrub/rmap.c
597
if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
fs/xfs/scrub/rmap.c
616
int error;
fs/xfs/scrub/rmap.c
621
error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res);
fs/xfs/scrub/rmap.c
622
if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
fs/xfs/scrub/rmap.c
638
int error;
fs/xfs/scrub/rmap.c
643
error = xfs_rmap_has_records(sc->sa.rmap_cur, bno, len, &outcome);
fs/xfs/scrub/rmap.c
644
if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
fs/xfs/scrub/rmap.c
90
int error;
fs/xfs/scrub/rmap_repair.c
1000
xfs_btree_del_cursor(sc->sa.bno_cur, error);
fs/xfs/scrub/rmap_repair.c
1002
xfs_btree_del_cursor(mcur, error);
fs/xfs/scrub/rmap_repair.c
1004
return error;
fs/xfs/scrub/rmap_repair.c
1051
int error;
fs/xfs/scrub/rmap_repair.c
1068
error = xrep_newbt_alloc_blocks(&rr->new_btree,
fs/xfs/scrub/rmap_repair.c
1070
if (error)
fs/xfs/scrub/rmap_repair.c
1071
return error;
fs/xfs/scrub/rmap_repair.c
1081
error = xagb_bitmap_set_btblocks(freesp_blocks, sc->sa.bno_cur);
fs/xfs/scrub/rmap_repair.c
1082
xfs_btree_del_cursor(sc->sa.bno_cur, error);
fs/xfs/scrub/rmap_repair.c
1084
if (error)
fs/xfs/scrub/rmap_repair.c
1085
return error;
fs/xfs/scrub/rmap_repair.c
1090
error = xagb_bitmap_set_btblocks(freesp_blocks, sc->sa.cnt_cur);
fs/xfs/scrub/rmap_repair.c
1091
xfs_btree_del_cursor(sc->sa.cnt_cur, error);
fs/xfs/scrub/rmap_repair.c
1093
if (error)
fs/xfs/scrub/rmap_repair.c
1094
return error;
fs/xfs/scrub/rmap_repair.c
1101
error = xagb_bitmap_set(freesp_blocks, resv->agbno, resv->len);
fs/xfs/scrub/rmap_repair.c
1102
if (error)
fs/xfs/scrub/rmap_repair.c
1103
return error;
fs/xfs/scrub/rmap_repair.c
1107
error = xfs_alloc_read_agfl(sc->sa.pag, sc->tp, &agfl_bp);
fs/xfs/scrub/rmap_repair.c
1108
if (error)
fs/xfs/scrub/rmap_repair.c
1109
return error;
fs/xfs/scrub/rmap_repair.c
1111
error = xfs_agfl_walk(sc->mp, agf, agfl_bp, xrep_rmap_walk_agfl, &ra);
fs/xfs/scrub/rmap_repair.c
1112
if (error)
fs/xfs/scrub/rmap_repair.c
1113
return error;
fs/xfs/scrub/rmap_repair.c
1119
error = xfs_btree_bload_compute_geometry(rmap_cur,
fs/xfs/scrub/rmap_repair.c
1121
if (error)
fs/xfs/scrub/rmap_repair.c
1122
return error;
fs/xfs/scrub/rmap_repair.c
1141
int error;
fs/xfs/scrub/rmap_repair.c
1144
error = xfs_btree_bload_compute_geometry(rmap_cur,
fs/xfs/scrub/rmap_repair.c
1146
if (error)
fs/xfs/scrub/rmap_repair.c
1147
return error;
fs/xfs/scrub/rmap_repair.c
1150
if (xchk_should_terminate(rr->sc, &error))
fs/xfs/scrub/rmap_repair.c
1151
return error;
fs/xfs/scrub/rmap_repair.c
1162
error = xrep_rmap_try_reserve(rr, rmap_cur, &freesp_blocks,
fs/xfs/scrub/rmap_repair.c
1164
if (error)
fs/xfs/scrub/rmap_repair.c
1170
error = xrep_rmap_stash_bitmap(rr, &freesp_blocks, &XFS_RMAP_OINFO_AG);
fs/xfs/scrub/rmap_repair.c
1175
return error;
fs/xfs/scrub/rmap_repair.c
1227
int error;
fs/xfs/scrub/rmap_repair.c
1232
error = xfs_btree_increment(rr->mcur, 0, &stat);
fs/xfs/scrub/rmap_repair.c
1233
if (error)
fs/xfs/scrub/rmap_repair.c
1234
return error;
fs/xfs/scrub/rmap_repair.c
1238
error = xfs_rmap_get_rec(rr->mcur, &cur->bc_rec.r, &stat);
fs/xfs/scrub/rmap_repair.c
1239
if (error)
fs/xfs/scrub/rmap_repair.c
1240
return error;
fs/xfs/scrub/rmap_repair.c
1270
int error;
fs/xfs/scrub/rmap_repair.c
1279
error = xrep_fix_freelist(sc, XFS_ALLOC_FLAG_NORMAP);
fs/xfs/scrub/rmap_repair.c
1280
if (error)
fs/xfs/scrub/rmap_repair.c
1281
return error;
fs/xfs/scrub/rmap_repair.c
1310
int error;
fs/xfs/scrub/rmap_repair.c
1314
error = xfs_btree_goto_left_edge(cur);
fs/xfs/scrub/rmap_repair.c
1315
if (error)
fs/xfs/scrub/rmap_repair.c
1316
return error;
fs/xfs/scrub/rmap_repair.c
1318
while (running && !(error = xfs_btree_increment(cur, 0, &running))) {
fs/xfs/scrub/rmap_repair.c
1323
return error;
fs/xfs/scrub/rmap_repair.c
1339
int error;
fs/xfs/scrub/rmap_repair.c
1369
error = xrep_rmap_reserve_space(rr, rmap_cur);
fs/xfs/scrub/rmap_repair.c
1370
if (error)
fs/xfs/scrub/rmap_repair.c
1380
error = xrep_rmap_count_records(rr->mcur, &rr->nr_records);
fs/xfs/scrub/rmap_repair.c
1381
if (error)
fs/xfs/scrub/rmap_repair.c
1396
error = xfs_btree_goto_left_edge(rr->mcur);
fs/xfs/scrub/rmap_repair.c
1397
if (error)
fs/xfs/scrub/rmap_repair.c
1401
error = xfs_btree_bload(rmap_cur, &rr->new_btree.bload, rr);
fs/xfs/scrub/rmap_repair.c
1402
if (error)
fs/xfs/scrub/rmap_repair.c
1429
error = xrep_rmap_reset_counters(rr);
fs/xfs/scrub/rmap_repair.c
1430
if (error)
fs/xfs/scrub/rmap_repair.c
1434
error = xrep_newbt_commit(&rr->new_btree);
fs/xfs/scrub/rmap_repair.c
1435
if (error)
fs/xfs/scrub/rmap_repair.c
1436
return error;
fs/xfs/scrub/rmap_repair.c
1443
xfs_btree_del_cursor(rr->mcur, error);
fs/xfs/scrub/rmap_repair.c
1445
xfs_btree_del_cursor(rmap_cur, error);
fs/xfs/scrub/rmap_repair.c
1448
return error;
fs/xfs/scrub/rmap_repair.c
1479
int error;
fs/xfs/scrub/rmap_repair.c
1482
error = xagb_bitmap_set(&rfg->rmap_gaps, rfg->next_agbno,
fs/xfs/scrub/rmap_repair.c
1484
if (error)
fs/xfs/scrub/rmap_repair.c
1485
return error;
fs/xfs/scrub/rmap_repair.c
1511
int error;
fs/xfs/scrub/rmap_repair.c
1518
error = xfs_rmap_query_all(mcur, xrep_rmap_find_gaps, &rfg);
fs/xfs/scrub/rmap_repair.c
1519
xfs_btree_del_cursor(mcur, error);
fs/xfs/scrub/rmap_repair.c
1520
if (error)
fs/xfs/scrub/rmap_repair.c
1526
error = xagb_bitmap_set(&rfg.rmap_gaps, rfg.next_agbno,
fs/xfs/scrub/rmap_repair.c
1528
if (error)
fs/xfs/scrub/rmap_repair.c
1535
error = xfs_alloc_query_all(sc->sa.bno_cur, xrep_rmap_find_freesp,
fs/xfs/scrub/rmap_repair.c
1537
xfs_btree_del_cursor(sc->sa.bno_cur, error);
fs/xfs/scrub/rmap_repair.c
1539
if (error)
fs/xfs/scrub/rmap_repair.c
1549
error = xrep_reap_agblocks(sc, &rfg.rmap_gaps,
fs/xfs/scrub/rmap_repair.c
1551
if (error)
fs/xfs/scrub/rmap_repair.c
1563
return error;
fs/xfs/scrub/rmap_repair.c
1610
int error;
fs/xfs/scrub/rmap_repair.c
1624
error = __xfs_rmap_finish_intent(mcur, action, p->startblock,
fs/xfs/scrub/rmap_repair.c
1626
xfs_btree_del_cursor(mcur, error);
fs/xfs/scrub/rmap_repair.c
1627
if (error)
fs/xfs/scrub/rmap_repair.c
1630
error = xfbtree_trans_commit(&rr->rmap_btree, tp);
fs/xfs/scrub/rmap_repair.c
1631
if (error)
fs/xfs/scrub/rmap_repair.c
1653
int error;
fs/xfs/scrub/rmap_repair.c
1658
error = xfs_rmapbt_mem_init(sc->mp, &rr->rmap_btree, sc->xmbtp,
fs/xfs/scrub/rmap_repair.c
1660
if (error)
fs/xfs/scrub/rmap_repair.c
167
int error;
fs/xfs/scrub/rmap_repair.c
1674
error = xfs_rmap_hook_add(pag_group(sc->sa.pag), &rr->rhook);
fs/xfs/scrub/rmap_repair.c
1675
if (error)
fs/xfs/scrub/rmap_repair.c
1684
return error;
fs/xfs/scrub/rmap_repair.c
1707
int error;
fs/xfs/scrub/rmap_repair.c
1709
error = xrep_rmap_setup_scan(rr);
fs/xfs/scrub/rmap_repair.c
171
error = xrep_setup_xfbtree(sc, "reverse mapping records");
fs/xfs/scrub/rmap_repair.c
1710
if (error)
fs/xfs/scrub/rmap_repair.c
1711
return error;
fs/xfs/scrub/rmap_repair.c
1717
error = xrep_rmap_find_rmaps(rr);
fs/xfs/scrub/rmap_repair.c
1718
if (error)
fs/xfs/scrub/rmap_repair.c
172
if (error)
fs/xfs/scrub/rmap_repair.c
1722
error = xrep_rmap_build_new_tree(rr);
fs/xfs/scrub/rmap_repair.c
1723
if (error)
fs/xfs/scrub/rmap_repair.c
1727
error = xrep_rmap_remove_old_tree(rr);
fs/xfs/scrub/rmap_repair.c
1728
if (error)
fs/xfs/scrub/rmap_repair.c
173
return error;
fs/xfs/scrub/rmap_repair.c
1733
return error;
fs/xfs/scrub/rmap_repair.c
191
int error;
fs/xfs/scrub/rmap_repair.c
197
error = xfs_alloc_has_records(sc->sa.bno_cur, rec->rm_startblock,
fs/xfs/scrub/rmap_repair.c
199
if (error)
fs/xfs/scrub/rmap_repair.c
200
return error;
fs/xfs/scrub/rmap_repair.c
226
int error = 0;
fs/xfs/scrub/rmap_repair.c
228
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/rmap_repair.c
229
return error;
fs/xfs/scrub/rmap_repair.c
238
error = xfs_rmap_map_raw(mcur, &rmap);
fs/xfs/scrub/rmap_repair.c
239
xfs_btree_del_cursor(mcur, error);
fs/xfs/scrub/rmap_repair.c
240
if (error)
fs/xfs/scrub/rmap_repair.c
243
error = xfbtree_trans_commit(&rr->rmap_btree, sc->tp);
fs/xfs/scrub/rmap_repair.c
244
if (error)
fs/xfs/scrub/rmap_repair.c
255
return error;
fs/xfs/scrub/rmap_repair.c
344
int error;
fs/xfs/scrub/rmap_repair.c
366
error = xrep_rmap_stash_accumulated(rf);
fs/xfs/scrub/rmap_repair.c
367
if (error)
fs/xfs/scrub/rmap_repair.c
368
return error;
fs/xfs/scrub/rmap_repair.c
412
int error;
fs/xfs/scrub/rmap_repair.c
417
error = xfs_btree_visit_blocks(cur, xrep_rmap_visit_iroot_btree_block,
fs/xfs/scrub/rmap_repair.c
419
if (error)
fs/xfs/scrub/rmap_repair.c
424
error = xrep_rmap_stash_bitmap(rr, &rf->bmbt_blocks, &oinfo);
fs/xfs/scrub/rmap_repair.c
425
if (error)
fs/xfs/scrub/rmap_repair.c
429
error = xrep_rmap_stash_accumulated(rf);
fs/xfs/scrub/rmap_repair.c
432
return error;
fs/xfs/scrub/rmap_repair.c
449
int error;
fs/xfs/scrub/rmap_repair.c
464
error = xfs_bmap_query_all(cur, xrep_rmap_visit_bmbt, rf);
fs/xfs/scrub/rmap_repair.c
465
if (error)
fs/xfs/scrub/rmap_repair.c
472
error = xrep_rmap_scan_iroot_btree(rf, cur);
fs/xfs/scrub/rmap_repair.c
474
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/rmap_repair.c
475
return error;
fs/xfs/scrub/rmap_repair.c
489
int error;
fs/xfs/scrub/rmap_repair.c
494
error = xrep_rmap_visit_bmbt(NULL, &rec, rf);
fs/xfs/scrub/rmap_repair.c
495
if (error)
fs/xfs/scrub/rmap_repair.c
496
return error;
fs/xfs/scrub/rmap_repair.c
511
int error;
fs/xfs/scrub/rmap_repair.c
554
error = -EFSCORRUPTED;
fs/xfs/scrub/rmap_repair.c
558
error = xrep_rmap_scan_iroot_btree(rf, cur);
fs/xfs/scrub/rmap_repair.c
559
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/rmap_repair.c
562
return error;
fs/xfs/scrub/rmap_repair.c
579
int error = 0;
fs/xfs/scrub/rmap_repair.c
591
error = xrep_rmap_scan_bmbt(&rf, ip, &mappings_done);
fs/xfs/scrub/rmap_repair.c
592
if (error || mappings_done)
fs/xfs/scrub/rmap_repair.c
593
return error;
fs/xfs/scrub/rmap_repair.c
640
int error;
fs/xfs/scrub/rmap_repair.c
643
error = xrep_rmap_scan_ifork(rr, ip, XFS_DATA_FORK);
fs/xfs/scrub/rmap_repair.c
644
if (error)
fs/xfs/scrub/rmap_repair.c
648
error = xrep_rmap_scan_ifork(rr, ip, XFS_ATTR_FORK);
fs/xfs/scrub/rmap_repair.c
649
if (error)
fs/xfs/scrub/rmap_repair.c
657
return error;
fs/xfs/scrub/rmap_repair.c
683
int error;
fs/xfs/scrub/rmap_repair.c
686
error = xagb_bitmap_set_btcur_path(&ri->inobt_blocks, cur);
fs/xfs/scrub/rmap_repair.c
687
if (error)
fs/xfs/scrub/rmap_repair.c
688
return error;
fs/xfs/scrub/rmap_repair.c
718
error = xagb_bitmap_set(&ri->ichunk_blocks, agbno, aglen);
fs/xfs/scrub/rmap_repair.c
719
if (error)
fs/xfs/scrub/rmap_repair.c
720
return error;
fs/xfs/scrub/rmap_repair.c
735
int error;
fs/xfs/scrub/rmap_repair.c
744
error = xfs_btree_query_all(sc->sa.ino_cur, xrep_rmap_walk_inobt, &ri);
fs/xfs/scrub/rmap_repair.c
745
if (error)
fs/xfs/scrub/rmap_repair.c
755
error = xagb_bitmap_set(&ri.inobt_blocks,
fs/xfs/scrub/rmap_repair.c
757
if (error)
fs/xfs/scrub/rmap_repair.c
763
error = xagb_bitmap_set_btblocks(&ri.inobt_blocks,
fs/xfs/scrub/rmap_repair.c
765
if (error)
fs/xfs/scrub/rmap_repair.c
770
error = xrep_rmap_stash_bitmap(rr, &ri.inobt_blocks,
fs/xfs/scrub/rmap_repair.c
772
if (error)
fs/xfs/scrub/rmap_repair.c
774
error = xrep_rmap_stash_bitmap(rr, &ri.ichunk_blocks,
fs/xfs/scrub/rmap_repair.c
780
return error;
fs/xfs/scrub/rmap_repair.c
818
int error;
fs/xfs/scrub/rmap_repair.c
827
error = xagb_bitmap_set_btblocks(&refcountbt_blocks, sc->sa.refc_cur);
fs/xfs/scrub/rmap_repair.c
828
if (error)
fs/xfs/scrub/rmap_repair.c
832
error = xfs_refcount_query_range(sc->sa.refc_cur, &low, &high,
fs/xfs/scrub/rmap_repair.c
834
if (error)
fs/xfs/scrub/rmap_repair.c
838
error = xrep_rmap_stash_bitmap(rr, &cow_blocks, &XFS_RMAP_OINFO_COW);
fs/xfs/scrub/rmap_repair.c
839
if (error)
fs/xfs/scrub/rmap_repair.c
841
error = xrep_rmap_stash_bitmap(rr, &refcountbt_blocks,
fs/xfs/scrub/rmap_repair.c
847
return error;
fs/xfs/scrub/rmap_repair.c
886
int error;
fs/xfs/scrub/rmap_repair.c
888
error = xrep_rmap_check_mapping(rr->sc, rec);
fs/xfs/scrub/rmap_repair.c
889
if (error)
fs/xfs/scrub/rmap_repair.c
890
return error;
fs/xfs/scrub/rmap_repair.c
910
int error;
fs/xfs/scrub/rmap_repair.c
915
error = xrep_rmap_find_inode_rmaps(rr);
fs/xfs/scrub/rmap_repair.c
916
if (error)
fs/xfs/scrub/rmap_repair.c
919
error = xrep_rmap_find_refcount_rmaps(rr);
fs/xfs/scrub/rmap_repair.c
920
if (error)
fs/xfs/scrub/rmap_repair.c
923
error = xrep_rmap_find_agheader_rmaps(rr);
fs/xfs/scrub/rmap_repair.c
924
if (error)
fs/xfs/scrub/rmap_repair.c
927
error = xrep_rmap_find_log_rmaps(rr);
fs/xfs/scrub/rmap_repair.c
930
if (error)
fs/xfs/scrub/rmap_repair.c
931
return error;
fs/xfs/scrub/rmap_repair.c
954
while ((error = xchk_iscan_iter(&rr->iscan, &ip)) == 1) {
fs/xfs/scrub/rmap_repair.c
955
error = xrep_rmap_scan_inode(rr, ip);
fs/xfs/scrub/rmap_repair.c
957
if (error)
fs/xfs/scrub/rmap_repair.c
960
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/rmap_repair.c
964
if (error)
fs/xfs/scrub/rmap_repair.c
965
return error;
fs/xfs/scrub/rmap_repair.c
972
error = xchk_setup_fs(sc);
fs/xfs/scrub/rmap_repair.c
973
if (error)
fs/xfs/scrub/rmap_repair.c
974
return error;
fs/xfs/scrub/rmap_repair.c
975
error = xchk_perag_drain_and_lock(sc);
fs/xfs/scrub/rmap_repair.c
976
if (error)
fs/xfs/scrub/rmap_repair.c
977
return error;
fs/xfs/scrub/rmap_repair.c
998
error = xfs_rmap_query_all(mcur, xrep_rmap_check_record, rr);
fs/xfs/scrub/rtbitmap.c
156
int error = 0;
fs/xfs/scrub/rtbitmap.c
168
if (xchk_should_terminate(sc, &error) ||
fs/xfs/scrub/rtbitmap.c
173
error = xfs_bmapi_read(ip, off, endoff - off, &map, &nmap,
fs/xfs/scrub/rtbitmap.c
175
if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, off, &error))
fs/xfs/scrub/rtbitmap.c
186
return error;
fs/xfs/scrub/rtbitmap.c
199
int error;
fs/xfs/scrub/rtbitmap.c
243
error = xchk_metadata_inode_forks(sc);
fs/xfs/scrub/rtbitmap.c
244
if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT))
fs/xfs/scrub/rtbitmap.c
245
return error;
fs/xfs/scrub/rtbitmap.c
247
error = xchk_rtbitmap_check_extents(sc);
fs/xfs/scrub/rtbitmap.c
248
if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT))
fs/xfs/scrub/rtbitmap.c
249
return error;
fs/xfs/scrub/rtbitmap.c
252
error = xfs_rtalloc_query_all(rtg, sc->tp, xchk_rtbitmap_rec, rtb);
fs/xfs/scrub/rtbitmap.c
253
if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, 0, &error))
fs/xfs/scrub/rtbitmap.c
254
return error;
fs/xfs/scrub/rtbitmap.c
279
int error;
fs/xfs/scrub/rtbitmap.c
293
error = xfs_rtalloc_extent_is_free(rtg, sc->tp, startext,
fs/xfs/scrub/rtbitmap.c
295
if (!xchk_should_check_xref(sc, &error, NULL))
fs/xfs/scrub/rtbitmap.c
39
int error;
fs/xfs/scrub/rtbitmap.c
51
error = xchk_rtgroup_init(sc, sc->sm->sm_agno, &sc->sr);
fs/xfs/scrub/rtbitmap.c
52
if (error)
fs/xfs/scrub/rtbitmap.c
53
return error;
fs/xfs/scrub/rtbitmap.c
56
error = xrep_setup_rtbitmap(sc, rtb);
fs/xfs/scrub/rtbitmap.c
57
if (error)
fs/xfs/scrub/rtbitmap.c
58
return error;
fs/xfs/scrub/rtbitmap.c
61
error = xchk_trans_alloc(sc, rtb->resblks);
fs/xfs/scrub/rtbitmap.c
62
if (error)
fs/xfs/scrub/rtbitmap.c
63
return error;
fs/xfs/scrub/rtbitmap.c
65
error = xchk_install_live_inode(sc, rtg_bitmap(sc->sr.rtg));
fs/xfs/scrub/rtbitmap.c
66
if (error)
fs/xfs/scrub/rtbitmap.c
67
return error;
fs/xfs/scrub/rtbitmap.c
69
error = xchk_ino_dqattach(sc);
fs/xfs/scrub/rtbitmap.c
70
if (error)
fs/xfs/scrub/rtbitmap.c
71
return error;
fs/xfs/scrub/rtbitmap.c
73
error = xchk_rtgroup_lock(sc, &sc->sr, XCHK_RTGLOCK_ALL);
fs/xfs/scrub/rtbitmap.c
74
if (error)
fs/xfs/scrub/rtbitmap.c
75
return error;
fs/xfs/scrub/rtbitmap_repair.c
104
int error;
fs/xfs/scrub/rtbitmap_repair.c
108
error = xfile_load(rtb->sc->xfile, &urk,
fs/xfs/scrub/rtbitmap_repair.c
111
if (error)
fs/xfs/scrub/rtbitmap_repair.c
112
return error;
fs/xfs/scrub/rtbitmap_repair.c
164
int error;
fs/xfs/scrub/rtbitmap_repair.c
166
error = xfbmp_load(rtb, wordoff, &word);
fs/xfs/scrub/rtbitmap_repair.c
167
if (error)
fs/xfs/scrub/rtbitmap_repair.c
168
return error;
fs/xfs/scrub/rtbitmap_repair.c
195
int error;
fs/xfs/scrub/rtbitmap_repair.c
216
error = xfs_refcount_has_records(sr->refc_cur,
fs/xfs/scrub/rtbitmap_repair.c
219
if (error)
fs/xfs/scrub/rtbitmap_repair.c
220
return error;
fs/xfs/scrub/rtbitmap_repair.c
224
error = xfs_refcount_has_records(sr->refc_cur,
fs/xfs/scrub/rtbitmap_repair.c
227
if (error)
fs/xfs/scrub/rtbitmap_repair.c
228
return error;
fs/xfs/scrub/rtbitmap_repair.c
244
error = xrep_rtbitmap_or(rtb, rtx_to_wordoff(mp, startrtx),
fs/xfs/scrub/rtbitmap_repair.c
246
if (error || lastbit - bit == len)
fs/xfs/scrub/rtbitmap_repair.c
247
return error;
fs/xfs/scrub/rtbitmap_repair.c
256
error = xrep_rtbitmap_or(rtb, rtx_to_wordoff(mp, nextrtx),
fs/xfs/scrub/rtbitmap_repair.c
258
if (error || startrtx + bit == nextrtx)
fs/xfs/scrub/rtbitmap_repair.c
259
return error;
fs/xfs/scrub/rtbitmap_repair.c
286
error = xfbmp_copyin(rtb, wordoff, rtb->words, wordcnt);
fs/xfs/scrub/rtbitmap_repair.c
287
if (error)
fs/xfs/scrub/rtbitmap_repair.c
288
return error;
fs/xfs/scrub/rtbitmap_repair.c
304
int error = 0;
fs/xfs/scrub/rtbitmap_repair.c
306
if (xchk_should_terminate(rtb->sc, &error))
fs/xfs/scrub/rtbitmap_repair.c
307
return error;
fs/xfs/scrub/rtbitmap_repair.c
310
error = xrep_rtbitmap_mark_free(rtb, rec->rm_startblock);
fs/xfs/scrub/rtbitmap_repair.c
311
if (error)
fs/xfs/scrub/rtbitmap_repair.c
312
return error;
fs/xfs/scrub/rtbitmap_repair.c
332
int error;
fs/xfs/scrub/rtbitmap_repair.c
338
error = xfs_rmap_query_all(sc->sr.rmap_cur, xrep_rtbitmap_walk_rtrmap,
fs/xfs/scrub/rtbitmap_repair.c
340
if (error)
fs/xfs/scrub/rtbitmap_repair.c
349
error = xrep_rtbitmap_mark_free(rtb, blockcount);
fs/xfs/scrub/rtbitmap_repair.c
350
if (error)
fs/xfs/scrub/rtbitmap_repair.c
356
return error;
fs/xfs/scrub/rtbitmap_repair.c
368
int error;
fs/xfs/scrub/rtbitmap_repair.c
376
error = xfbmp_copyout(rtb, rtb->prep_wordoff, ondisk,
fs/xfs/scrub/rtbitmap_repair.c
378
if (error)
fs/xfs/scrub/rtbitmap_repair.c
379
return error;
fs/xfs/scrub/rtbitmap_repair.c
411
int error;
fs/xfs/scrub/rtbitmap_repair.c
422
error = xfs_bmapi_read(sc->ip, off, len - off, &map, &nmaps,
fs/xfs/scrub/rtbitmap_repair.c
424
if (error)
fs/xfs/scrub/rtbitmap_repair.c
425
return error;
fs/xfs/scrub/rtbitmap_repair.c
456
error = xfs_bmapi_write(sc->tp, sc->ip, map.br_startoff,
fs/xfs/scrub/rtbitmap_repair.c
460
if (error)
fs/xfs/scrub/rtbitmap_repair.c
461
return error;
fs/xfs/scrub/rtbitmap_repair.c
464
error = xrep_defer_finish(sc);
fs/xfs/scrub/rtbitmap_repair.c
465
if (error)
fs/xfs/scrub/rtbitmap_repair.c
466
return error;
fs/xfs/scrub/rtbitmap_repair.c
47
int error;
fs/xfs/scrub/rtbitmap_repair.c
49
error = xrep_tempfile_create(sc, S_IFREG);
fs/xfs/scrub/rtbitmap_repair.c
50
if (error)
fs/xfs/scrub/rtbitmap_repair.c
51
return error;
fs/xfs/scrub/rtbitmap_repair.c
517
int error;
fs/xfs/scrub/rtbitmap_repair.c
539
error = xfs_trans_reserve_more(sc->tp, blocks, 0);
fs/xfs/scrub/rtbitmap_repair.c
54
error = xfile_create("realtime bitmap file",
fs/xfs/scrub/rtbitmap_repair.c
540
if (error)
fs/xfs/scrub/rtbitmap_repair.c
541
return error;
fs/xfs/scrub/rtbitmap_repair.c
547
error = xrep_metadata_inode_forks(sc);
fs/xfs/scrub/rtbitmap_repair.c
548
if (error)
fs/xfs/scrub/rtbitmap_repair.c
549
return error;
fs/xfs/scrub/rtbitmap_repair.c
554
error = xrep_rtbitmap_data_mappings(sc, rtb->rbmblocks);
fs/xfs/scrub/rtbitmap_repair.c
555
if (error)
fs/xfs/scrub/rtbitmap_repair.c
556
return error;
fs/xfs/scrub/rtbitmap_repair.c
56
if (error)
fs/xfs/scrub/rtbitmap_repair.c
562
error = xrep_rtbitmap_geometry(sc, rtb);
fs/xfs/scrub/rtbitmap_repair.c
563
if (error)
fs/xfs/scrub/rtbitmap_repair.c
564
return error;
fs/xfs/scrub/rtbitmap_repair.c
57
return error;
fs/xfs/scrub/rtbitmap_repair.c
571
error = xfs_extent_busy_flush(sc->tp, xg, busy_gen, 0);
fs/xfs/scrub/rtbitmap_repair.c
572
if (error)
fs/xfs/scrub/rtbitmap_repair.c
573
return error;
fs/xfs/scrub/rtbitmap_repair.c
580
error = xrep_rtbitmap_find_freespace(rtb);
fs/xfs/scrub/rtbitmap_repair.c
581
if (error)
fs/xfs/scrub/rtbitmap_repair.c
582
return error;
fs/xfs/scrub/rtbitmap_repair.c
590
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/rtbitmap_repair.c
591
return error;
fs/xfs/scrub/rtbitmap_repair.c
600
error = xrep_tempfile_prealloc(sc, 0, rtb->rbmblocks);
fs/xfs/scrub/rtbitmap_repair.c
601
if (error)
fs/xfs/scrub/rtbitmap_repair.c
602
return error;
fs/xfs/scrub/rtbitmap_repair.c
605
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/rtbitmap_repair.c
606
return error;
fs/xfs/scrub/rtbitmap_repair.c
609
error = xrep_tempfile_copyin(sc, 0, rtb->rbmblocks,
fs/xfs/scrub/rtbitmap_repair.c
611
if (error)
fs/xfs/scrub/rtbitmap_repair.c
612
return error;
fs/xfs/scrub/rtbitmap_repair.c
613
error = xrep_tempfile_set_isize(sc,
fs/xfs/scrub/rtbitmap_repair.c
615
if (error)
fs/xfs/scrub/rtbitmap_repair.c
616
return error;
fs/xfs/scrub/rtbitmap_repair.c
622
error = xrep_tempexch_trans_reserve(sc, XFS_DATA_FORK, 0,
fs/xfs/scrub/rtbitmap_repair.c
624
if (error)
fs/xfs/scrub/rtbitmap_repair.c
625
return error;
fs/xfs/scrub/rtbitmap_repair.c
627
error = xrep_tempexch_contents(sc, &rtb->tempexch);
fs/xfs/scrub/rtbitmap_repair.c
628
if (error)
fs/xfs/scrub/rtbitmap_repair.c
629
return error;
fs/xfs/scrub/rtrefcount.c
132
int error = 0;
fs/xfs/scrub/rtrefcount.c
134
if (xchk_should_terminate(refchk->sc, &error))
fs/xfs/scrub/rtrefcount.c
135
return error;
fs/xfs/scrub/rtrefcount.c
313
int error;
fs/xfs/scrub/rtrefcount.c
325
error = xfs_rmap_query_range(sc->sr.rmap_cur, &low, &high,
fs/xfs/scrub/rtrefcount.c
327
if (!xchk_should_check_xref(sc, &error, &sc->sr.rmap_cur))
fs/xfs/scrub/rtrefcount.c
33
int error;
fs/xfs/scrub/rtrefcount.c
39
error = xrep_setup_rtrefcountbt(sc);
fs/xfs/scrub/rtrefcount.c
40
if (error)
fs/xfs/scrub/rtrefcount.c
41
return error;
fs/xfs/scrub/rtrefcount.c
436
int error;
fs/xfs/scrub/rtrefcount.c
44
error = xchk_rtgroup_init(sc, sc->sm->sm_agno, &sc->sr);
fs/xfs/scrub/rtrefcount.c
447
error = xfs_rmap_query_range(sc->sr.rmap_cur, &low, &high,
fs/xfs/scrub/rtrefcount.c
449
if (error == -ECANCELED)
fs/xfs/scrub/rtrefcount.c
45
if (error)
fs/xfs/scrub/rtrefcount.c
452
xchk_should_check_xref(sc, &error, &sc->sr.rmap_cur);
fs/xfs/scrub/rtrefcount.c
46
return error;
fs/xfs/scrub/rtrefcount.c
48
error = xchk_setup_rt(sc);
fs/xfs/scrub/rtrefcount.c
49
if (error)
fs/xfs/scrub/rtrefcount.c
50
return error;
fs/xfs/scrub/rtrefcount.c
516
int error;
fs/xfs/scrub/rtrefcount.c
52
error = xchk_install_live_inode(sc, rtg_refcount(sc->sr.rtg));
fs/xfs/scrub/rtrefcount.c
522
error = xfs_btree_count_blocks(sc->sr.refc_cur, &refcbt_blocks);
fs/xfs/scrub/rtrefcount.c
523
if (!xchk_btree_process_error(sc, sc->sr.refc_cur, 0, &error))
fs/xfs/scrub/rtrefcount.c
525
error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, btree_oinfo,
fs/xfs/scrub/rtrefcount.c
527
if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
fs/xfs/scrub/rtrefcount.c
53
if (error)
fs/xfs/scrub/rtrefcount.c
533
error = xchk_count_rmap_ownedby_ag(sc, sc->sr.rmap_cur,
fs/xfs/scrub/rtrefcount.c
535
if (!xchk_should_check_xref(sc, &error, &sc->sr.rmap_cur))
fs/xfs/scrub/rtrefcount.c
54
return error;
fs/xfs/scrub/rtrefcount.c
552
int error;
fs/xfs/scrub/rtrefcount.c
554
error = xchk_metadata_inode_forks(sc);
fs/xfs/scrub/rtrefcount.c
555
if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT))
fs/xfs/scrub/rtrefcount.c
556
return error;
fs/xfs/scrub/rtrefcount.c
560
error = xchk_btree(sc, sc->sr.refc_cur, xchk_rtrefcountbt_rec,
fs/xfs/scrub/rtrefcount.c
562
if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT))
fs/xfs/scrub/rtrefcount.c
563
return error;
fs/xfs/scrub/rtrefcount.c
585
int error;
fs/xfs/scrub/rtrefcount.c
591
error = xfs_refcount_lookup_le(sc->sr.refc_cur, XFS_REFC_DOMAIN_COW,
fs/xfs/scrub/rtrefcount.c
593
if (!xchk_should_check_xref(sc, &error, &sc->sr.refc_cur))
fs/xfs/scrub/rtrefcount.c
600
error = xfs_refcount_get_rec(sc->sr.refc_cur, &rc, &has_refcount);
fs/xfs/scrub/rtrefcount.c
601
if (!xchk_should_check_xref(sc, &error, &sc->sr.refc_cur))
fs/xfs/scrub/rtrefcount.c
628
int error;
fs/xfs/scrub/rtrefcount.c
633
error = xfs_refcount_has_records(sc->sr.refc_cur,
fs/xfs/scrub/rtrefcount.c
635
if (!xchk_should_check_xref(sc, &error, &sc->sr.refc_cur))
fs/xfs/scrub/rtrefcount.c
649
int error;
fs/xfs/scrub/rtrefcount.c
654
error = xfs_refcount_has_records(sc->sr.refc_cur, XFS_REFC_DOMAIN_COW,
fs/xfs/scrub/rtrefcount.c
656
if (!xchk_should_check_xref(sc, &error, &sc->sr.refc_cur))
fs/xfs/scrub/rtrefcount_repair.c
172
int error = 0;
fs/xfs/scrub/rtrefcount_repair.c
174
if (xchk_should_terminate(rr->sc, &error))
fs/xfs/scrub/rtrefcount_repair.c
175
return error;
fs/xfs/scrub/rtrefcount_repair.c
179
error = xrep_rtrefc_check_ext(rr->sc, &irec);
fs/xfs/scrub/rtrefcount_repair.c
180
if (error)
fs/xfs/scrub/rtrefcount_repair.c
181
return error;
fs/xfs/scrub/rtrefcount_repair.c
224
int error = 0;
fs/xfs/scrub/rtrefcount_repair.c
235
if (xchk_should_terminate(rr->sc, &error))
fs/xfs/scrub/rtrefcount_repair.c
236
return error;
fs/xfs/scrub/rtrefcount_repair.c
238
error = xfs_btree_increment(cur, 0, &have_gt);
fs/xfs/scrub/rtrefcount_repair.c
239
if (error)
fs/xfs/scrub/rtrefcount_repair.c
240
return error;
fs/xfs/scrub/rtrefcount_repair.c
244
error = xfs_rmap_get_rec(cur, rmap, &have_gt);
fs/xfs/scrub/rtrefcount_repair.c
245
if (error)
fs/xfs/scrub/rtrefcount_repair.c
246
return error;
fs/xfs/scrub/rtrefcount_repair.c
253
error = xrep_rtrefc_stash_cow(rr, rmap->rm_startblock,
fs/xfs/scrub/rtrefcount_repair.c
255
if (error)
fs/xfs/scrub/rtrefcount_repair.c
256
return error;
fs/xfs/scrub/rtrefcount_repair.c
317
int error;
fs/xfs/scrub/rtrefcount_repair.c
319
error = xfarray_sort(rr->refcount_records, xrep_rtrefc_extent_cmp,
fs/xfs/scrub/rtrefcount_repair.c
321
if (error)
fs/xfs/scrub/rtrefcount_repair.c
322
return error;
fs/xfs/scrub/rtrefcount_repair.c
325
if (xchk_should_terminate(rr->sc, &error))
fs/xfs/scrub/rtrefcount_repair.c
326
return error;
fs/xfs/scrub/rtrefcount_repair.c
328
error = xfarray_load(rr->refcount_records, cur, &irec);
fs/xfs/scrub/rtrefcount_repair.c
329
if (error)
fs/xfs/scrub/rtrefcount_repair.c
330
return error;
fs/xfs/scrub/rtrefcount_repair.c
346
return error;
fs/xfs/scrub/rtrefcount_repair.c
357
int error = 0;
fs/xfs/scrub/rtrefcount_repair.c
359
if (xchk_should_terminate(rr->sc, &error))
fs/xfs/scrub/rtrefcount_repair.c
360
return error;
fs/xfs/scrub/rtrefcount_repair.c
366
error = xrep_check_ino_btree_mapping(rr->sc, rec);
fs/xfs/scrub/rtrefcount_repair.c
367
if (error)
fs/xfs/scrub/rtrefcount_repair.c
368
return error;
fs/xfs/scrub/rtrefcount_repair.c
391
int error;
fs/xfs/scrub/rtrefcount_repair.c
394
error = rcbag_add(rcstack, rr->sc->tp, rmap);
fs/xfs/scrub/rtrefcount_repair.c
395
if (error)
fs/xfs/scrub/rtrefcount_repair.c
396
return error;
fs/xfs/scrub/rtrefcount_repair.c
398
error = xrep_rtrefc_walk_rmaps(rr, rmap, have);
fs/xfs/scrub/rtrefcount_repair.c
399
if (error)
fs/xfs/scrub/rtrefcount_repair.c
400
return error;
fs/xfs/scrub/rtrefcount_repair.c
403
error = xfs_btree_decrement(sc->sr.rmap_cur, 0, &have_gt);
fs/xfs/scrub/rtrefcount_repair.c
404
if (error)
fs/xfs/scrub/rtrefcount_repair.c
405
return error;
fs/xfs/scrub/rtrefcount_repair.c
421
int error;
fs/xfs/scrub/rtrefcount_repair.c
423
error = xrep_ag_init(sc, pag, &sc->sa);
fs/xfs/scrub/rtrefcount_repair.c
424
if (error)
fs/xfs/scrub/rtrefcount_repair.c
425
return error;
fs/xfs/scrub/rtrefcount_repair.c
427
error = xfs_rmap_query_all(sc->sa.rmap_cur, xrep_rtrefc_walk_rmap, rr);
fs/xfs/scrub/rtrefcount_repair.c
429
return error;
fs/xfs/scrub/rtrefcount_repair.c
445
int error;
fs/xfs/scrub/rtrefcount_repair.c
449
error = xrep_rtrefc_scan_ag(rr, pag);
fs/xfs/scrub/rtrefcount_repair.c
450
if (error) {
fs/xfs/scrub/rtrefcount_repair.c
452
return error;
fs/xfs/scrub/rtrefcount_repair.c
463
error = rcbag_init(sc->mp, sc->xmbtp, &rcstack);
fs/xfs/scrub/rtrefcount_repair.c
464
if (error)
fs/xfs/scrub/rtrefcount_repair.c
468
error = xfs_btree_goto_left_edge(sc->sr.rmap_cur);
fs/xfs/scrub/rtrefcount_repair.c
469
if (error)
fs/xfs/scrub/rtrefcount_repair.c
477
error = xrep_rtrefc_walk_rmaps(rr, &rmap, &have);
fs/xfs/scrub/rtrefcount_repair.c
478
if (error)
fs/xfs/scrub/rtrefcount_repair.c
483
error = xrep_rtrefc_push_rmaps_at(rr, rcstack, sbno, &rmap,
fs/xfs/scrub/rtrefcount_repair.c
485
if (error)
fs/xfs/scrub/rtrefcount_repair.c
489
error = rcbag_next_edge(rcstack, sc->tp, &rmap, have, &nbno);
fs/xfs/scrub/rtrefcount_repair.c
490
if (error)
fs/xfs/scrub/rtrefcount_repair.c
499
error = rcbag_remove_ending_at(rcstack, sc->tp, nbno);
fs/xfs/scrub/rtrefcount_repair.c
500
if (error)
fs/xfs/scrub/rtrefcount_repair.c
504
error = xrep_rtrefc_walk_rmaps(rr, &rmap, &have);
fs/xfs/scrub/rtrefcount_repair.c
505
if (error)
fs/xfs/scrub/rtrefcount_repair.c
508
error = xrep_rtrefc_push_rmaps_at(rr, rcstack,
fs/xfs/scrub/rtrefcount_repair.c
510
if (error)
fs/xfs/scrub/rtrefcount_repair.c
518
error = xrep_rtrefc_stash(rr,
fs/xfs/scrub/rtrefcount_repair.c
522
if (error)
fs/xfs/scrub/rtrefcount_repair.c
535
error = rcbag_next_edge(rcstack, sc->tp, &rmap, have,
fs/xfs/scrub/rtrefcount_repair.c
537
if (error)
fs/xfs/scrub/rtrefcount_repair.c
549
return error;
fs/xfs/scrub/rtrefcount_repair.c
564
int error;
fs/xfs/scrub/rtrefcount_repair.c
567
error = xfarray_load(rr->refcount_records, rr->array_cur++,
fs/xfs/scrub/rtrefcount_repair.c
569
if (error)
fs/xfs/scrub/rtrefcount_repair.c
570
return error;
fs/xfs/scrub/rtrefcount_repair.c
615
int error;
fs/xfs/scrub/rtrefcount_repair.c
617
error = xrep_rtrefc_sort_records(rr);
fs/xfs/scrub/rtrefcount_repair.c
618
if (error)
fs/xfs/scrub/rtrefcount_repair.c
619
return error;
fs/xfs/scrub/rtrefcount_repair.c
627
error = xrep_newbt_init_metadir_inode(&rr->new_btree, sc);
fs/xfs/scrub/rtrefcount_repair.c
628
if (error)
fs/xfs/scrub/rtrefcount_repair.c
629
return error;
fs/xfs/scrub/rtrefcount_repair.c
639
error = xfs_btree_bload_compute_geometry(refc_cur, &rr->new_btree.bload,
fs/xfs/scrub/rtrefcount_repair.c
641
if (error)
fs/xfs/scrub/rtrefcount_repair.c
645
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/rtrefcount_repair.c
655
error = xfs_trans_reserve_more_inode(sc->tp, rtg_refcount(rtg),
fs/xfs/scrub/rtrefcount_repair.c
657
if (error)
fs/xfs/scrub/rtrefcount_repair.c
661
error = xrep_newbt_alloc_blocks(&rr->new_btree,
fs/xfs/scrub/rtrefcount_repair.c
663
if (error)
fs/xfs/scrub/rtrefcount_repair.c
669
error = xfs_btree_bload(refc_cur, &rr->new_btree.bload, rr);
fs/xfs/scrub/rtrefcount_repair.c
670
if (error)
fs/xfs/scrub/rtrefcount_repair.c
683
error = xrep_newbt_commit(&rr->new_btree);
fs/xfs/scrub/rtrefcount_repair.c
684
if (error)
fs/xfs/scrub/rtrefcount_repair.c
685
return error;
fs/xfs/scrub/rtrefcount_repair.c
689
xfs_btree_del_cursor(refc_cur, error);
fs/xfs/scrub/rtrefcount_repair.c
691
return error;
fs/xfs/scrub/rtrefcount_repair.c
701
int error;
fs/xfs/scrub/rtrefcount_repair.c
708
error = xrep_metadata_inode_forks(sc);
fs/xfs/scrub/rtrefcount_repair.c
709
if (error)
fs/xfs/scrub/rtrefcount_repair.c
710
return error;
fs/xfs/scrub/rtrefcount_repair.c
718
error = xfarray_create("realtime reference count records",
fs/xfs/scrub/rtrefcount_repair.c
721
if (error)
fs/xfs/scrub/rtrefcount_repair.c
726
error = xrep_rtrefc_find_refcounts(rr);
fs/xfs/scrub/rtrefcount_repair.c
727
if (error)
fs/xfs/scrub/rtrefcount_repair.c
733
error = xrep_rtrefc_build_new_tree(rr);
fs/xfs/scrub/rtrefcount_repair.c
734
if (error)
fs/xfs/scrub/rtrefcount_repair.c
741
error = xrep_reap_metadir_fsblocks(rr->sc,
fs/xfs/scrub/rtrefcount_repair.c
743
if (error)
fs/xfs/scrub/rtrefcount_repair.c
751
return error;
fs/xfs/scrub/rtrmap.c
180
int error;
fs/xfs/scrub/rtrmap.c
191
error = xfs_refcount_find_shared(sc->sr.refc_cur, irec->rm_startblock,
fs/xfs/scrub/rtrmap.c
193
if (!xchk_should_check_xref(sc, &error, &sc->sr.refc_cur))
fs/xfs/scrub/rtrmap.c
250
int error;
fs/xfs/scrub/rtrmap.c
252
error = xchk_metadata_inode_forks(sc);
fs/xfs/scrub/rtrmap.c
253
if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT))
fs/xfs/scrub/rtrmap.c
254
return error;
fs/xfs/scrub/rtrmap.c
268
int error;
fs/xfs/scrub/rtrmap.c
273
error = xfs_rmap_has_records(sc->sr.rmap_cur, bno, len, &outcome);
fs/xfs/scrub/rtrmap.c
274
if (!xchk_should_check_xref(sc, &error, &sc->sr.rmap_cur))
fs/xfs/scrub/rtrmap.c
288
int error;
fs/xfs/scrub/rtrmap.c
293
error = xfs_rmap_has_records(sc->sr.rmap_cur, bno, len, &outcome);
fs/xfs/scrub/rtrmap.c
294
if (!xchk_should_check_xref(sc, &error, &sc->sr.rmap_cur))
fs/xfs/scrub/rtrmap.c
309
int error;
fs/xfs/scrub/rtrmap.c
314
error = xfs_rmap_count_owners(sc->sr.rmap_cur, bno, len, oinfo, &res);
fs/xfs/scrub/rtrmap.c
315
if (!xchk_should_check_xref(sc, &error, &sc->sr.rmap_cur))
fs/xfs/scrub/rtrmap.c
38
int error;
fs/xfs/scrub/rtrmap.c
44
error = xrep_setup_rtrmapbt(sc);
fs/xfs/scrub/rtrmap.c
45
if (error)
fs/xfs/scrub/rtrmap.c
46
return error;
fs/xfs/scrub/rtrmap.c
49
error = xchk_rtgroup_init(sc, sc->sm->sm_agno, &sc->sr);
fs/xfs/scrub/rtrmap.c
50
if (error)
fs/xfs/scrub/rtrmap.c
51
return error;
fs/xfs/scrub/rtrmap.c
53
error = xchk_setup_rt(sc);
fs/xfs/scrub/rtrmap.c
54
if (error)
fs/xfs/scrub/rtrmap.c
55
return error;
fs/xfs/scrub/rtrmap.c
57
error = xchk_install_live_inode(sc, rtg_rmap(sc->sr.rtg));
fs/xfs/scrub/rtrmap.c
58
if (error)
fs/xfs/scrub/rtrmap.c
59
return error;
fs/xfs/scrub/rtrmap_repair.c
106
int error;
fs/xfs/scrub/rtrmap_repair.c
110
error = xrep_setup_xfbtree(sc, "realtime reverse mapping records");
fs/xfs/scrub/rtrmap_repair.c
111
if (error)
fs/xfs/scrub/rtrmap_repair.c
112
return error;
fs/xfs/scrub/rtrmap_repair.c
156
int error = 0;
fs/xfs/scrub/rtrmap_repair.c
158
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/rtrmap_repair.c
159
return error;
fs/xfs/scrub/rtrmap_repair.c
169
error = xfs_rmap_map_raw(mcur, &rmap);
fs/xfs/scrub/rtrmap_repair.c
170
xfs_btree_del_cursor(mcur, error);
fs/xfs/scrub/rtrmap_repair.c
171
if (error)
fs/xfs/scrub/rtrmap_repair.c
174
error = xfbtree_trans_commit(&rr->rtrmap_btree, sc->tp);
fs/xfs/scrub/rtrmap_repair.c
175
if (error)
fs/xfs/scrub/rtrmap_repair.c
186
return error;
fs/xfs/scrub/rtrmap_repair.c
227
int error;
fs/xfs/scrub/rtrmap_repair.c
247
error = xrep_rtrmap_stash_accumulated(rf);
fs/xfs/scrub/rtrmap_repair.c
248
if (error)
fs/xfs/scrub/rtrmap_repair.c
249
return error;
fs/xfs/scrub/rtrmap_repair.c
272
int error = 0;
fs/xfs/scrub/rtrmap_repair.c
286
error = xfs_bmap_query_all(cur, xrep_rtrmap_visit_bmbt, rf);
fs/xfs/scrub/rtrmap_repair.c
287
xfs_btree_del_cursor(cur, error);
fs/xfs/scrub/rtrmap_repair.c
288
if (error)
fs/xfs/scrub/rtrmap_repair.c
289
return error;
fs/xfs/scrub/rtrmap_repair.c
307
int error;
fs/xfs/scrub/rtrmap_repair.c
312
error = xrep_rtrmap_visit_bmbt(NULL, &rec, rf);
fs/xfs/scrub/rtrmap_repair.c
313
if (error)
fs/xfs/scrub/rtrmap_repair.c
314
return error;
fs/xfs/scrub/rtrmap_repair.c
331
int error = 0;
fs/xfs/scrub/rtrmap_repair.c
341
error = xrep_rtrmap_scan_bmbt(&rf, ip, &mappings_done);
fs/xfs/scrub/rtrmap_repair.c
342
if (error || mappings_done)
fs/xfs/scrub/rtrmap_repair.c
343
return error;
fs/xfs/scrub/rtrmap_repair.c
360
int error = 0;
fs/xfs/scrub/rtrmap_repair.c
370
error = xrep_rtrmap_scan_dfork(rr, ip);
fs/xfs/scrub/rtrmap_repair.c
371
if (error)
fs/xfs/scrub/rtrmap_repair.c
378
return error;
fs/xfs/scrub/rtrmap_repair.c
389
int error = 0;
fs/xfs/scrub/rtrmap_repair.c
391
if (xchk_should_terminate(rr->sc, &error))
fs/xfs/scrub/rtrmap_repair.c
392
return error;
fs/xfs/scrub/rtrmap_repair.c
398
error = xrep_check_ino_btree_mapping(rr->sc, rec);
fs/xfs/scrub/rtrmap_repair.c
399
if (error)
fs/xfs/scrub/rtrmap_repair.c
400
return error;
fs/xfs/scrub/rtrmap_repair.c
414
int error;
fs/xfs/scrub/rtrmap_repair.c
416
error = xrep_ag_init(sc, pag, &sc->sa);
fs/xfs/scrub/rtrmap_repair.c
417
if (error)
fs/xfs/scrub/rtrmap_repair.c
418
return error;
fs/xfs/scrub/rtrmap_repair.c
420
error = xfs_rmap_query_all(sc->sa.rmap_cur, xrep_rtrmap_walk_rmap, rr);
fs/xfs/scrub/rtrmap_repair.c
422
return error;
fs/xfs/scrub/rtrmap_repair.c
496
int error;
fs/xfs/scrub/rtrmap_repair.c
504
error = xfs_refcount_query_range(sc->sr.refc_cur, &low, &high,
fs/xfs/scrub/rtrmap_repair.c
506
if (error)
fs/xfs/scrub/rtrmap_repair.c
510
error = xrep_rtrmap_stash_bitmap(rr, &cow_blocks, &XFS_RMAP_OINFO_COW);
fs/xfs/scrub/rtrmap_repair.c
511
if (error)
fs/xfs/scrub/rtrmap_repair.c
516
return error;
fs/xfs/scrub/rtrmap_repair.c
527
int error;
fs/xfs/scrub/rtrmap_repair.c
529
error = xrep_rtrmap_check_mapping(rr->sc, rec);
fs/xfs/scrub/rtrmap_repair.c
530
if (error)
fs/xfs/scrub/rtrmap_repair.c
531
return error;
fs/xfs/scrub/rtrmap_repair.c
546
int error;
fs/xfs/scrub/rtrmap_repair.c
550
error = xrep_rtrmap_stash(rr, 0, sc->mp->m_sb.sb_rextsize,
fs/xfs/scrub/rtrmap_repair.c
552
if (error)
fs/xfs/scrub/rtrmap_repair.c
553
return error;
fs/xfs/scrub/rtrmap_repair.c
558
error = xrep_rtrmap_find_refcount_rmaps(rr);
fs/xfs/scrub/rtrmap_repair.c
560
if (error)
fs/xfs/scrub/rtrmap_repair.c
561
return error;
fs/xfs/scrub/rtrmap_repair.c
582
while ((error = xchk_iscan_iter(&rr->iscan, &ip)) == 1) {
fs/xfs/scrub/rtrmap_repair.c
583
error = xrep_rtrmap_scan_inode(rr, ip);
fs/xfs/scrub/rtrmap_repair.c
585
if (error)
fs/xfs/scrub/rtrmap_repair.c
588
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/rtrmap_repair.c
592
if (error)
fs/xfs/scrub/rtrmap_repair.c
593
return error;
fs/xfs/scrub/rtrmap_repair.c
600
error = xchk_setup_rt(sc);
fs/xfs/scrub/rtrmap_repair.c
601
if (error)
fs/xfs/scrub/rtrmap_repair.c
602
return error;
fs/xfs/scrub/rtrmap_repair.c
603
error = xchk_rtgroup_lock(sc, &sc->sr, XCHK_RTGLOCK_ALL);
fs/xfs/scrub/rtrmap_repair.c
604
if (error)
fs/xfs/scrub/rtrmap_repair.c
605
return error;
fs/xfs/scrub/rtrmap_repair.c
616
error = xrep_rtrmap_scan_ag(rr, pag);
fs/xfs/scrub/rtrmap_repair.c
617
if (error) {
fs/xfs/scrub/rtrmap_repair.c
619
return error;
fs/xfs/scrub/rtrmap_repair.c
632
error = xfs_rmap_query_all(mcur, xrep_rtrmap_check_record, rr);
fs/xfs/scrub/rtrmap_repair.c
633
xfs_btree_del_cursor(mcur, error);
fs/xfs/scrub/rtrmap_repair.c
635
return error;
fs/xfs/scrub/rtrmap_repair.c
652
int error;
fs/xfs/scrub/rtrmap_repair.c
657
error = xfs_btree_increment(rr->mcur, 0, &stat);
fs/xfs/scrub/rtrmap_repair.c
658
if (error)
fs/xfs/scrub/rtrmap_repair.c
659
return error;
fs/xfs/scrub/rtrmap_repair.c
663
error = xfs_rmap_get_rec(rr->mcur, &cur->bc_rec.r, &stat);
fs/xfs/scrub/rtrmap_repair.c
664
if (error)
fs/xfs/scrub/rtrmap_repair.c
665
return error;
fs/xfs/scrub/rtrmap_repair.c
712
int error;
fs/xfs/scrub/rtrmap_repair.c
720
error = xrep_newbt_init_metadir_inode(&rr->new_btree, sc);
fs/xfs/scrub/rtrmap_repair.c
721
if (error)
fs/xfs/scrub/rtrmap_repair.c
722
return error;
fs/xfs/scrub/rtrmap_repair.c
732
error = xfs_btree_bload_compute_geometry(rmap_cur,
fs/xfs/scrub/rtrmap_repair.c
734
if (error)
fs/xfs/scrub/rtrmap_repair.c
738
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/rtrmap_repair.c
748
error = xfs_trans_reserve_more_inode(sc->tp, rtg_rmap(rtg),
fs/xfs/scrub/rtrmap_repair.c
750
if (error)
fs/xfs/scrub/rtrmap_repair.c
754
error = xrep_newbt_alloc_blocks(&rr->new_btree,
fs/xfs/scrub/rtrmap_repair.c
756
if (error)
fs/xfs/scrub/rtrmap_repair.c
764
error = xfs_btree_goto_left_edge(rr->mcur);
fs/xfs/scrub/rtrmap_repair.c
765
if (error)
fs/xfs/scrub/rtrmap_repair.c
770
error = xfs_btree_bload(rmap_cur, &rr->new_btree.bload, rr);
fs/xfs/scrub/rtrmap_repair.c
771
if (error)
fs/xfs/scrub/rtrmap_repair.c
792
error = xrep_newbt_commit(&rr->new_btree);
fs/xfs/scrub/rtrmap_repair.c
793
if (error)
fs/xfs/scrub/rtrmap_repair.c
794
return error;
fs/xfs/scrub/rtrmap_repair.c
799
xfs_btree_del_cursor(rr->mcur, error);
fs/xfs/scrub/rtrmap_repair.c
801
xfs_btree_del_cursor(rmap_cur, error);
fs/xfs/scrub/rtrmap_repair.c
803
return error;
fs/xfs/scrub/rtrmap_repair.c
844
int error;
fs/xfs/scrub/rtrmap_repair.c
858
error = __xfs_rmap_finish_intent(mcur, action, p->startblock,
fs/xfs/scrub/rtrmap_repair.c
860
xfs_btree_del_cursor(mcur, error);
fs/xfs/scrub/rtrmap_repair.c
861
if (error)
fs/xfs/scrub/rtrmap_repair.c
864
error = xfbtree_trans_commit(&rr->rtrmap_btree, tp);
fs/xfs/scrub/rtrmap_repair.c
865
if (error)
fs/xfs/scrub/rtrmap_repair.c
887
int error;
fs/xfs/scrub/rtrmap_repair.c
893
error = xfs_rtrmapbt_mem_init(sc->mp, &rr->rtrmap_btree, sc->xmbtp,
fs/xfs/scrub/rtrmap_repair.c
895
if (error)
fs/xfs/scrub/rtrmap_repair.c
909
error = xfs_rmap_hook_add(rtg_group(sc->sr.rtg), &rr->rhook);
fs/xfs/scrub/rtrmap_repair.c
910
if (error)
fs/xfs/scrub/rtrmap_repair.c
920
return error;
fs/xfs/scrub/rtrmap_repair.c
944
int error;
fs/xfs/scrub/rtrmap_repair.c
947
error = xrep_metadata_inode_forks(sc);
fs/xfs/scrub/rtrmap_repair.c
948
if (error)
fs/xfs/scrub/rtrmap_repair.c
949
return error;
fs/xfs/scrub/rtrmap_repair.c
951
error = xrep_rtrmap_setup_scan(rr);
fs/xfs/scrub/rtrmap_repair.c
952
if (error)
fs/xfs/scrub/rtrmap_repair.c
953
return error;
fs/xfs/scrub/rtrmap_repair.c
956
error = xrep_rtrmap_find_rmaps(rr);
fs/xfs/scrub/rtrmap_repair.c
957
if (error)
fs/xfs/scrub/rtrmap_repair.c
963
error = xrep_rtrmap_build_new_tree(rr);
fs/xfs/scrub/rtrmap_repair.c
964
if (error)
fs/xfs/scrub/rtrmap_repair.c
971
error = xrep_reap_metadir_fsblocks(rr->sc, &rr->old_rtrmapbt_blocks);
fs/xfs/scrub/rtrmap_repair.c
972
if (error)
fs/xfs/scrub/rtrmap_repair.c
977
return error;
fs/xfs/scrub/rtsummary.c
178
int error = 0;
fs/xfs/scrub/rtsummary.c
180
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/rtsummary.c
181
return error;
fs/xfs/scrub/rtsummary.c
197
error = xfsum_load(sc, offs, &v);
fs/xfs/scrub/rtsummary.c
198
if (error)
fs/xfs/scrub/rtsummary.c
199
return error;
fs/xfs/scrub/rtsummary.c
238
int error = 0;
fs/xfs/scrub/rtsummary.c
254
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/rtsummary.c
255
return error;
fs/xfs/scrub/rtsummary.c
260
error = xfs_bmapi_read(ip, off, endoff - off, &map, &nmap,
fs/xfs/scrub/rtsummary.c
262
if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, off, &error))
fs/xfs/scrub/rtsummary.c
263
return error;
fs/xfs/scrub/rtsummary.c
277
error = xfs_rtsummary_read_buf(&rts->args, off);
fs/xfs/scrub/rtsummary.c
278
if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, off, &error))
fs/xfs/scrub/rtsummary.c
279
return error;
fs/xfs/scrub/rtsummary.c
282
error = xfsum_copyout(sc, sumoff, rts->words, mp->m_blockwsize);
fs/xfs/scrub/rtsummary.c
283
if (error) {
fs/xfs/scrub/rtsummary.c
285
return error;
fs/xfs/scrub/rtsummary.c
293
return error;
fs/xfs/scrub/rtsummary.c
313
int error;
fs/xfs/scrub/rtsummary.c
350
error = xchk_metadata_inode_forks(sc);
fs/xfs/scrub/rtsummary.c
351
if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT))
fs/xfs/scrub/rtsummary.c
352
return error;
fs/xfs/scrub/rtsummary.c
355
error = xchk_rtsum_compute(sc);
fs/xfs/scrub/rtsummary.c
356
if (error == -EFSCORRUPTED) {
fs/xfs/scrub/rtsummary.c
364
if (error)
fs/xfs/scrub/rtsummary.c
365
return error;
fs/xfs/scrub/rtsummary.c
47
int error;
fs/xfs/scrub/rtsummary.c
57
error = xchk_rtgroup_init(sc, sc->sm->sm_agno, &sc->sr);
fs/xfs/scrub/rtsummary.c
58
if (error)
fs/xfs/scrub/rtsummary.c
59
return error;
fs/xfs/scrub/rtsummary.c
62
error = xrep_setup_rtsummary(sc, rts);
fs/xfs/scrub/rtsummary.c
63
if (error)
fs/xfs/scrub/rtsummary.c
64
return error;
fs/xfs/scrub/rtsummary.c
71
error = xfile_create("realtime summary file",
fs/xfs/scrub/rtsummary.c
73
if (error)
fs/xfs/scrub/rtsummary.c
74
return error;
fs/xfs/scrub/rtsummary.c
76
error = xchk_trans_alloc(sc, rts->resblks);
fs/xfs/scrub/rtsummary.c
77
if (error)
fs/xfs/scrub/rtsummary.c
78
return error;
fs/xfs/scrub/rtsummary.c
80
error = xchk_install_live_inode(sc, rtg_summary(sc->sr.rtg));
fs/xfs/scrub/rtsummary.c
81
if (error)
fs/xfs/scrub/rtsummary.c
82
return error;
fs/xfs/scrub/rtsummary.c
84
error = xchk_ino_dqattach(sc);
fs/xfs/scrub/rtsummary.c
85
if (error)
fs/xfs/scrub/rtsummary.c
86
return error;
fs/xfs/scrub/rtsummary.c
88
error = xchk_rtgroup_lock(sc, &sc->sr, XFS_RTGLOCK_BITMAP);
fs/xfs/scrub/rtsummary.c
89
if (error)
fs/xfs/scrub/rtsummary.c
90
return error;
fs/xfs/scrub/rtsummary_repair.c
115
int error;
fs/xfs/scrub/rtsummary_repair.c
129
error = xrep_metadata_inode_forks(sc);
fs/xfs/scrub/rtsummary_repair.c
130
if (error)
fs/xfs/scrub/rtsummary_repair.c
131
return error;
fs/xfs/scrub/rtsummary_repair.c
139
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/rtsummary_repair.c
140
return error;
fs/xfs/scrub/rtsummary_repair.c
147
error = xrep_tempfile_prealloc(sc, 0, rts->rsumblocks);
fs/xfs/scrub/rtsummary_repair.c
148
if (error)
fs/xfs/scrub/rtsummary_repair.c
149
return error;
fs/xfs/scrub/rtsummary_repair.c
152
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/rtsummary_repair.c
153
return error;
fs/xfs/scrub/rtsummary_repair.c
156
error = xrep_tempfile_copyin(sc, 0, rts->rsumblocks,
fs/xfs/scrub/rtsummary_repair.c
158
if (error)
fs/xfs/scrub/rtsummary_repair.c
159
return error;
fs/xfs/scrub/rtsummary_repair.c
160
error = xrep_tempfile_set_isize(sc, XFS_FSB_TO_B(mp, rts->rsumblocks));
fs/xfs/scrub/rtsummary_repair.c
161
if (error)
fs/xfs/scrub/rtsummary_repair.c
162
return error;
fs/xfs/scrub/rtsummary_repair.c
168
error = xrep_tempexch_trans_reserve(sc, XFS_DATA_FORK, 0,
fs/xfs/scrub/rtsummary_repair.c
170
if (error)
fs/xfs/scrub/rtsummary_repair.c
171
return error;
fs/xfs/scrub/rtsummary_repair.c
173
error = xrep_tempexch_contents(sc, &rts->tempexch);
fs/xfs/scrub/rtsummary_repair.c
174
if (error)
fs/xfs/scrub/rtsummary_repair.c
175
return error;
fs/xfs/scrub/rtsummary_repair.c
40
int error;
fs/xfs/scrub/rtsummary_repair.c
42
error = xrep_tempfile_create(sc, S_IFREG);
fs/xfs/scrub/rtsummary_repair.c
43
if (error)
fs/xfs/scrub/rtsummary_repair.c
44
return error;
fs/xfs/scrub/rtsummary_repair.c
77
int error;
fs/xfs/scrub/rtsummary_repair.c
86
error = xfsum_copyout(sc, rts->prep_wordoff, ondisk, mp->m_blockwsize);
fs/xfs/scrub/rtsummary_repair.c
87
if (error)
fs/xfs/scrub/rtsummary_repair.c
88
return error;
fs/xfs/scrub/scrub.c
1003
error = -EFAULT;
fs/xfs/scrub/scrub.c
1011
return error;
fs/xfs/scrub/scrub.c
147
int error = 0;
fs/xfs/scrub/scrub.c
149
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/scrub.c
150
return error;
fs/xfs/scrub/scrub.c
230
int error)
fs/xfs/scrub/scrub.c
236
if (error == 0 && (sc->sm->sm_flags & XFS_SCRUB_IFLAG_REPAIR))
fs/xfs/scrub/scrub.c
237
error = xfs_trans_commit(sc->tp);
fs/xfs/scrub/scrub.c
273
return error;
fs/xfs/scrub/scrub.c
498
int error;
fs/xfs/scrub/scrub.c
501
error = -EINVAL;
fs/xfs/scrub/scrub.c
510
error = -ENOENT;
fs/xfs/scrub/scrub.c
521
error = -EINVAL;
fs/xfs/scrub/scrub.c
554
error = -ENOENT;
fs/xfs/scrub/scrub.c
583
error = -EOPNOTSUPP;
fs/xfs/scrub/scrub.c
587
error = -EROFS;
fs/xfs/scrub/scrub.c
592
error = 0;
fs/xfs/scrub/scrub.c
594
return error;
fs/xfs/scrub/scrub.c
664
int error = 0;
fs/xfs/scrub/scrub.c
669
trace_xchk_start(XFS_I(file_inode(file)), sm, error);
fs/xfs/scrub/scrub.c
672
error = -ESHUTDOWN;
fs/xfs/scrub/scrub.c
675
error = -ENOTRECOVERABLE;
fs/xfs/scrub/scrub.c
679
error = xchk_validate_inputs(mp, sm);
fs/xfs/scrub/scrub.c
680
if (error)
fs/xfs/scrub/scrub.c
685
error = -ENOMEM;
fs/xfs/scrub/scrub.c
701
error = mnt_want_write_file(sc->file);
fs/xfs/scrub/scrub.c
702
if (error)
fs/xfs/scrub/scrub.c
709
error = sc->ops->setup(sc);
fs/xfs/scrub/scrub.c
710
if (error == -EDEADLOCK && !(sc->flags & XCHK_TRY_HARDER))
fs/xfs/scrub/scrub.c
712
if (error == -ECHRNG && !(sc->flags & XCHK_NEED_DRAIN))
fs/xfs/scrub/scrub.c
714
if (error)
fs/xfs/scrub/scrub.c
720
error = sc->ops->repair_eval(sc);
fs/xfs/scrub/scrub.c
722
error = sc->ops->scrub(sc);
fs/xfs/scrub/scrub.c
724
if (error == -EDEADLOCK && !(sc->flags & XCHK_TRY_HARDER))
fs/xfs/scrub/scrub.c
726
if (error == -ECHRNG && !(sc->flags & XCHK_NEED_DRAIN))
fs/xfs/scrub/scrub.c
728
if (error || (sm->sm_flags & XFS_SCRUB_OFLAG_INCOMPLETE))
fs/xfs/scrub/scrub.c
747
error = xrep_attempt(sc, &run);
fs/xfs/scrub/scrub.c
748
if (error == -EAGAIN) {
fs/xfs/scrub/scrub.c
754
error = xchk_teardown(sc, 0);
fs/xfs/scrub/scrub.c
755
if (error) {
fs/xfs/scrub/scrub.c
766
error = xchk_teardown(sc, error);
fs/xfs/scrub/scrub.c
768
if (error != -ENOENT)
fs/xfs/scrub/scrub.c
772
trace_xchk_done(XFS_I(file_inode(file)), sm, error);
fs/xfs/scrub/scrub.c
773
if (error == -EFSCORRUPTED || error == -EFSBADCRC) {
fs/xfs/scrub/scrub.c
775
error = 0;
fs/xfs/scrub/scrub.c
777
return error;
fs/xfs/scrub/scrub.c
779
error = xchk_teardown(sc, 0);
fs/xfs/scrub/scrub.c
780
if (error)
fs/xfs/scrub/scrub.c
791
error = xchk_teardown(sc, 0);
fs/xfs/scrub/scrub.c
792
if (error)
fs/xfs/scrub/scrub.c
806
int error;
fs/xfs/scrub/scrub.c
814
error = xfs_scrub_metadata(file, &scrub);
fs/xfs/scrub/scrub.c
815
if (error)
fs/xfs/scrub/scrub.c
816
return error;
fs/xfs/scrub/scrub.c
877
int error;
fs/xfs/scrub/scrub.c
880
error = xfs_iget(mp, tp, head->svh_ino, XCHK_IGET_FLAGS, 0, &ip);
fs/xfs/scrub/scrub.c
882
if (error)
fs/xfs/scrub/scrub.c
909
int error = 0;
fs/xfs/scrub/scrub.c
937
error = -EINVAL;
fs/xfs/scrub/scrub.c
943
error = -EINVAL;
fs/xfs/scrub/scrub.c
996
error = -EINTR;
fs/xfs/scrub/scrub.h
248
int *error)
fs/xfs/scrub/scrub.h
251
if (*error == 0)
fs/xfs/scrub/scrub.h
252
*error = -EINTR;
fs/xfs/scrub/stats.c
366
int error;
fs/xfs/scrub/stats.c
368
error = xchk_stats_init(&global_stats, NULL);
fs/xfs/scrub/stats.c
369
if (error)
fs/xfs/scrub/stats.c
370
return error;
fs/xfs/scrub/stats.c
390
int error;
fs/xfs/scrub/stats.c
396
error = xchk_stats_init(cs, mp);
fs/xfs/scrub/stats.c
397
if (error)
fs/xfs/scrub/stats.c
404
return error;
fs/xfs/scrub/symlink.c
29
int error;
fs/xfs/scrub/symlink.c
37
error = xrep_setup_symlink(sc, &resblks);
fs/xfs/scrub/symlink.c
38
if (error)
fs/xfs/scrub/symlink.c
39
return error;
fs/xfs/scrub/symlink.c
54
int error = 0;
fs/xfs/scrub/symlink.c
82
error = xfs_symlink_remote_read(sc->ip, sc->buf);
fs/xfs/scrub/symlink.c
83
if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, 0, &error))
fs/xfs/scrub/symlink.c
84
return error;
fs/xfs/scrub/symlink_repair.c
111
int error;
fs/xfs/scrub/symlink_repair.c
116
error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0);
fs/xfs/scrub/symlink_repair.c
117
if (error)
fs/xfs/scrub/symlink_repair.c
118
return error;
fs/xfs/scrub/symlink_repair.c
126
error = xfs_trans_read_buf(sc->mp, sc->tp, sc->mp->m_ddev_targp,
fs/xfs/scrub/symlink_repair.c
129
if (error)
fs/xfs/scrub/symlink_repair.c
130
return error;
fs/xfs/scrub/symlink_repair.c
278
int error;
fs/xfs/scrub/symlink_repair.c
287
error = xfs_bmap_local_to_extents(sc->tp, sc->tempip, 1,
fs/xfs/scrub/symlink_repair.c
291
if (error)
fs/xfs/scrub/symlink_repair.c
292
return error;
fs/xfs/scrub/symlink_repair.c
296
error = xfs_defer_finish(&sc->tp);
fs/xfs/scrub/symlink_repair.c
297
if (error)
fs/xfs/scrub/symlink_repair.c
298
return error;
fs/xfs/scrub/symlink_repair.c
331
int error;
fs/xfs/scrub/symlink_repair.c
348
error = xrep_symlink_swap_prep(sc, temp_local, ip_local);
fs/xfs/scrub/symlink_repair.c
349
if (error)
fs/xfs/scrub/symlink_repair.c
350
return error;
fs/xfs/scrub/symlink_repair.c
365
int error;
fs/xfs/scrub/symlink_repair.c
369
error = xrep_reap_ifork(sc, sc->tempip, XFS_DATA_FORK);
fs/xfs/scrub/symlink_repair.c
370
if (error)
fs/xfs/scrub/symlink_repair.c
371
return error;
fs/xfs/scrub/symlink_repair.c
395
int error;
fs/xfs/scrub/symlink_repair.c
426
error = xfs_trans_reserve_quota_nblks(sc->tp, sc->tempip, resblks, 0,
fs/xfs/scrub/symlink_repair.c
428
if (error)
fs/xfs/scrub/symlink_repair.c
429
return error;
fs/xfs/scrub/symlink_repair.c
437
error = xfs_symlink_write_target(sc->tp, sc->tempip, sc->ip->i_ino,
fs/xfs/scrub/symlink_repair.c
439
if (error)
fs/xfs/scrub/symlink_repair.c
440
return error;
fs/xfs/scrub/symlink_repair.c
448
error = xrep_trans_commit(sc);
fs/xfs/scrub/symlink_repair.c
449
if (error)
fs/xfs/scrub/symlink_repair.c
450
return error;
fs/xfs/scrub/symlink_repair.c
453
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/symlink_repair.c
454
return error;
fs/xfs/scrub/symlink_repair.c
463
error = xrep_tempexch_trans_alloc(sc, XFS_DATA_FORK, tx);
fs/xfs/scrub/symlink_repair.c
464
if (error)
fs/xfs/scrub/symlink_repair.c
465
return error;
fs/xfs/scrub/symlink_repair.c
472
error = xrep_symlink_swap(sc);
fs/xfs/scrub/symlink_repair.c
473
if (error)
fs/xfs/scrub/symlink_repair.c
474
return error;
fs/xfs/scrub/symlink_repair.c
489
int error;
fs/xfs/scrub/symlink_repair.c
500
error = xrep_symlink_salvage(sc);
fs/xfs/scrub/symlink_repair.c
501
if (error)
fs/xfs/scrub/symlink_repair.c
502
return error;
fs/xfs/scrub/symlink_repair.c
505
error = xrep_symlink_rebuild(sc);
fs/xfs/scrub/symlink_repair.c
506
if (error)
fs/xfs/scrub/symlink_repair.c
507
return error;
fs/xfs/scrub/symlink_repair.c
61
int error;
fs/xfs/scrub/symlink_repair.c
63
error = xrep_tempfile_create(sc, S_IFLNK);
fs/xfs/scrub/symlink_repair.c
64
if (error)
fs/xfs/scrub/symlink_repair.c
65
return error;
fs/xfs/scrub/tempfile.c
112
error = xfs_dir_init(tp, sc->tempip, dp);
fs/xfs/scrub/tempfile.c
113
if (error)
fs/xfs/scrub/tempfile.c
123
error = xfs_symlink_write_target(tp, sc->tempip,
fs/xfs/scrub/tempfile.c
125
if (error)
fs/xfs/scrub/tempfile.c
143
error = xfs_iunlink(tp, sc->tempip);
fs/xfs/scrub/tempfile.c
144
if (error)
fs/xfs/scrub/tempfile.c
147
error = xfs_trans_commit(tp);
fs/xfs/scrub/tempfile.c
148
if (error)
fs/xfs/scrub/tempfile.c
163
return error;
fs/xfs/scrub/tempfile.c
183
return error;
fs/xfs/scrub/tempfile.c
204
int error;
fs/xfs/scrub/tempfile.c
221
error = xchk_trans_alloc(sc, 0);
fs/xfs/scrub/tempfile.c
222
if (error)
fs/xfs/scrub/tempfile.c
232
error = xrep_trans_commit(sc);
fs/xfs/scrub/tempfile.c
233
if (error)
fs/xfs/scrub/tempfile.c
242
return error;
fs/xfs/scrub/tempfile.c
253
int error;
fs/xfs/scrub/tempfile.c
265
error = xchk_trans_alloc(sc, 0);
fs/xfs/scrub/tempfile.c
266
if (error)
fs/xfs/scrub/tempfile.c
275
error = xfs_qm_dqattach_locked(sc->tempip, false);
fs/xfs/scrub/tempfile.c
276
if (error)
fs/xfs/scrub/tempfile.c
282
error = xrep_trans_commit(sc);
fs/xfs/scrub/tempfile.c
291
return error;
fs/xfs/scrub/tempfile.c
316
int error = 0;
fs/xfs/scrub/tempfile.c
319
if (xchk_should_terminate(sc, &error))
fs/xfs/scrub/tempfile.c
320
return error;
fs/xfs/scrub/tempfile.c
420
int error;
fs/xfs/scrub/tempfile.c
432
error = xfs_bmapi_read(sc->tempip, off, end - off, &map, &nmaps,
fs/xfs/scrub/tempfile.c
434
if (error)
fs/xfs/scrub/tempfile.c
435
return error;
fs/xfs/scrub/tempfile.c
456
error = xfs_bmapi_write(sc->tp, sc->tempip, off, end - off,
fs/xfs/scrub/tempfile.c
459
if (error)
fs/xfs/scrub/tempfile.c
460
return error;
fs/xfs/scrub/tempfile.c
467
error = xfs_defer_finish(&sc->tp);
fs/xfs/scrub/tempfile.c
468
if (error)
fs/xfs/scrub/tempfile.c
469
return error;
fs/xfs/scrub/tempfile.c
493
int error = 0;
fs/xfs/scrub/tempfile.c
505
error = xfs_bmapi_read(sc->tempip, off, 1, &map, &nmaps, 0);
fs/xfs/scrub/tempfile.c
506
if (error)
fs/xfs/scrub/tempfile.c
509
error = -EFSCORRUPTED;
fs/xfs/scrub/tempfile.c
514
error = xfs_trans_get_buf(sc->tp, mp->m_ddev_targp,
fs/xfs/scrub/tempfile.c
517
if (error)
fs/xfs/scrub/tempfile.c
523
error = prep_fn(sc, bp, data);
fs/xfs/scrub/tempfile.c
524
if (error) {
fs/xfs/scrub/tempfile.c
534
error = xfs_buf_delwri_submit(&buffers_list);
fs/xfs/scrub/tempfile.c
535
if (error)
fs/xfs/scrub/tempfile.c
545
error = xfs_buf_delwri_submit(&buffers_list);
fs/xfs/scrub/tempfile.c
546
if (error)
fs/xfs/scrub/tempfile.c
551
error = -EIO;
fs/xfs/scrub/tempfile.c
559
return error;
fs/xfs/scrub/tempfile.c
589
int error;
fs/xfs/scrub/tempfile.c
59
int error;
fs/xfs/scrub/tempfile.c
592
error = xrep_roll_trans(sc);
fs/xfs/scrub/tempfile.c
593
if (error)
fs/xfs/scrub/tempfile.c
594
return error;
fs/xfs/scrub/tempfile.c
74
error = xfs_icreate_dqalloc(&args, &udqp, &gdqp, &pdqp);
fs/xfs/scrub/tempfile.c
748
int error;
fs/xfs/scrub/tempfile.c
75
if (error)
fs/xfs/scrub/tempfile.c
76
return error;
fs/xfs/scrub/tempfile.c
772
error = xfs_trans_reserve_quota_nblks(tp, req->ip1,
fs/xfs/scrub/tempfile.c
775
if (error)
fs/xfs/scrub/tempfile.c
776
return error;
fs/xfs/scrub/tempfile.c
806
int error;
fs/xfs/scrub/tempfile.c
812
error = xrep_tempexch_prep_request(sc, whichfork, off, len, tx);
fs/xfs/scrub/tempfile.c
813
if (error)
fs/xfs/scrub/tempfile.c
814
return error;
fs/xfs/scrub/tempfile.c
816
error = xfs_exchmaps_estimate(&tx->req);
fs/xfs/scrub/tempfile.c
817
if (error)
fs/xfs/scrub/tempfile.c
818
return error;
fs/xfs/scrub/tempfile.c
820
error = xfs_trans_reserve_more(sc->tp, tx->req.resblks, 0);
fs/xfs/scrub/tempfile.c
821
if (error)
fs/xfs/scrub/tempfile.c
822
return error;
fs/xfs/scrub/tempfile.c
845
int error;
fs/xfs/scrub/tempfile.c
850
error = xrep_tempexch_prep_request(sc, whichfork, 0, XFS_MAX_FILEOFF,
fs/xfs/scrub/tempfile.c
852
if (error)
fs/xfs/scrub/tempfile.c
853
return error;
fs/xfs/scrub/tempfile.c
855
error = xrep_tempexch_estimate(sc, tx);
fs/xfs/scrub/tempfile.c
856
if (error)
fs/xfs/scrub/tempfile.c
857
return error;
fs/xfs/scrub/tempfile.c
86
error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks,
fs/xfs/scrub/tempfile.c
862
error = xfs_trans_alloc(sc->mp, &M_RES(sc->mp)->tr_itruncate,
fs/xfs/scrub/tempfile.c
864
if (error)
fs/xfs/scrub/tempfile.c
865
return error;
fs/xfs/scrub/tempfile.c
88
if (error)
fs/xfs/scrub/tempfile.c
884
int error;
fs/xfs/scrub/tempfile.c
889
error = xfs_defer_finish(&sc->tp);
fs/xfs/scrub/tempfile.c
890
if (error)
fs/xfs/scrub/tempfile.c
891
return error;
fs/xfs/scrub/tempfile.c
92
error = xfs_dialloc(&tp, &args, &ino);
fs/xfs/scrub/tempfile.c
93
if (error)
fs/xfs/scrub/tempfile.c
95
error = xfs_icreate(tp, ino, &args, &sc->tempip);
fs/xfs/scrub/tempfile.c
96
if (error)
fs/xfs/scrub/trace.h
1199
TP_PROTO(struct xfarray_sortinfo *si, int error),
fs/xfs/scrub/trace.h
1200
TP_ARGS(si, error),
fs/xfs/scrub/trace.h
1211
__field(int, error)
fs/xfs/scrub/trace.h
1223
__entry->error = error;
fs/xfs/scrub/trace.h
1240
__entry->error)
fs/xfs/scrub/trace.h
1337
TP_PROTO(struct xchk_iscan *iscan, int error),
fs/xfs/scrub/trace.h
1338
TP_ARGS(iscan, error),
fs/xfs/scrub/trace.h
1343
__field(int, error)
fs/xfs/scrub/trace.h
1349
__entry->error = error;
fs/xfs/scrub/trace.h
1355
__entry->error)
fs/xfs/scrub/trace.h
151
int error),
fs/xfs/scrub/trace.h
152
TP_ARGS(ip, sm, error),
fs/xfs/scrub/trace.h
161
__field(int, error)
fs/xfs/scrub/trace.h
171
__entry->error = error;
fs/xfs/scrub/trace.h
181
__entry->error)
fs/xfs/scrub/trace.h
186
int error), \
fs/xfs/scrub/trace.h
187
TP_ARGS(ip, sm, error))
fs/xfs/scrub/trace.h
301
xfs_agblock_t bno, int error, void *ret_ip),
fs/xfs/scrub/trace.h
302
TP_ARGS(sc, agno, bno, error, ret_ip),
fs/xfs/scrub/trace.h
308
__field(int, error)
fs/xfs/scrub/trace.h
316
__entry->error = error;
fs/xfs/scrub/trace.h
324
__entry->error,
fs/xfs/scrub/trace.h
330
xfs_fileoff_t offset, int error, void *ret_ip),
fs/xfs/scrub/trace.h
331
TP_ARGS(sc, whichfork, offset, error, ret_ip),
fs/xfs/scrub/trace.h
338
__field(int, error)
fs/xfs/scrub/trace.h
347
__entry->error = error;
fs/xfs/scrub/trace.h
356
__entry->error,
fs/xfs/scrub/trace.h
558
int level, int error, void *ret_ip),
fs/xfs/scrub/trace.h
559
TP_ARGS(sc, cur, level, error, ret_ip),
fs/xfs/scrub/trace.h
568
__field(int, error)
fs/xfs/scrub/trace.h
581
__entry->error = error;
fs/xfs/scrub/trace.h
592
__entry->error,
fs/xfs/scrub/trace.h
598
int level, int error, void *ret_ip),
fs/xfs/scrub/trace.h
599
TP_ARGS(sc, cur, level, error, ret_ip),
fs/xfs/scrub/trace.h
610
__field(int, error)
fs/xfs/scrub/trace.h
624
__entry->error = error;
fs/xfs/scrub/trace.h
637
__entry->error,
fs/xfs/scrub/trace.h
765
TP_PROTO(struct xfs_scrub *sc, int error, void *ret_ip),
fs/xfs/scrub/trace.h
766
TP_ARGS(sc, error, ret_ip),
fs/xfs/scrub/trace.h
770
__field(int, error)
fs/xfs/scrub/trace.h
776
__entry->error = error;
fs/xfs/scrub/trace.h
782
__entry->error,
fs/xfs/scrub/trace.h
912
TP_PROTO(struct xfs_scrub *sc, int error),
fs/xfs/scrub/trace.h
913
TP_ARGS(sc, error),
fs/xfs/scrub/trace.h
917
__field(int, error)
fs/xfs/scrub/trace.h
922
__entry->error = error;
fs/xfs/scrub/trace.h
927
__entry->error)
fs/xfs/scrub/trace.h
931
TP_PROTO(struct xfs_scrub *sc, int error), \
fs/xfs/scrub/trace.h
932
TP_ARGS(sc, error))
fs/xfs/scrub/xfarray.c
1006
error = xfarray_sort_scan(si, lo, &p);
fs/xfs/scrub/xfarray.c
1007
if (error)
fs/xfs/scrub/xfarray.c
1011
error = xfarray_sort_scan(si, lo, &p);
fs/xfs/scrub/xfarray.c
1012
if (error)
fs/xfs/scrub/xfarray.c
1018
if (xfarray_sort_terminated(si, &error))
fs/xfs/scrub/xfarray.c
1023
error = xfarray_sort_store(si, hi--, scratch);
fs/xfs/scrub/xfarray.c
1024
if (error)
fs/xfs/scrub/xfarray.c
1028
if (xfarray_sort_terminated(si, &error))
fs/xfs/scrub/xfarray.c
1038
error = xfarray_sort_store(si, lo, pivot);
fs/xfs/scrub/xfarray.c
1039
if (error)
fs/xfs/scrub/xfarray.c
104
error = -ENOMEM;
fs/xfs/scrub/xfarray.c
1043
error = xfarray_qsort_push(si, si_lo, si_hi, lo, hi);
fs/xfs/scrub/xfarray.c
1044
if (error)
fs/xfs/scrub/xfarray.c
1047
if (xfarray_sort_terminated(si, &error))
fs/xfs/scrub/xfarray.c
1052
trace_xfarray_sort_stats(si, error);
fs/xfs/scrub/xfarray.c
1055
return error;
fs/xfs/scrub/xfarray.c
117
return error;
fs/xfs/scrub/xfarray.c
150
int error;
fs/xfs/scrub/xfarray.c
155
error = xfile_load(array->xfile, temp, array->obj_size, pos);
fs/xfs/scrub/xfarray.c
156
if (!error && xfarray_element_is_null(array, temp))
fs/xfs/scrub/xfarray.c
173
int error;
fs/xfs/scrub/xfarray.c
187
error = xfile_store(array->xfile, temp, array->obj_size, pos);
fs/xfs/scrub/xfarray.c
188
if (error)
fs/xfs/scrub/xfarray.c
189
return error;
fs/xfs/scrub/xfarray.c
242
int error;
fs/xfs/scrub/xfarray.c
248
error = xfile_load(array->xfile, temp, array->obj_size,
fs/xfs/scrub/xfarray.c
250
if (error || !xfarray_element_is_null(array, temp))
fs/xfs/scrub/xfarray.c
253
error = xfile_store(array->xfile, ptr, array->obj_size,
fs/xfs/scrub/xfarray.c
255
if (error)
fs/xfs/scrub/xfarray.c
256
return error;
fs/xfs/scrub/xfarray.c
346
int error;
fs/xfs/scrub/xfarray.c
356
error = xfarray_find_data(array, &cur, &pos);
fs/xfs/scrub/xfarray.c
357
if (error)
fs/xfs/scrub/xfarray.c
358
return error;
fs/xfs/scrub/xfarray.c
359
error = xfarray_load(array, cur, rec);
fs/xfs/scrub/xfarray.c
360
if (error)
fs/xfs/scrub/xfarray.c
361
return error;
fs/xfs/scrub/xfarray.c
502
int *error)
fs/xfs/scrub/xfarray.c
510
if (*error == 0)
fs/xfs/scrub/xfarray.c
511
*error = -EINTR;
fs/xfs/scrub/xfarray.c
550
int error;
fs/xfs/scrub/xfarray.c
555
error = xfile_load(si->array->xfile, scratch, len, lo_pos);
fs/xfs/scrub/xfarray.c
556
if (error)
fs/xfs/scrub/xfarray.c
557
return error;
fs/xfs/scrub/xfarray.c
661
int error;
fs/xfs/scrub/xfarray.c
688
error = xfarray_sort_load(si, *idxp, recp);
fs/xfs/scrub/xfarray.c
689
if (error)
fs/xfs/scrub/xfarray.c
690
return error;
fs/xfs/scrub/xfarray.c
700
error = xfarray_load_next(si->array, &idx, recp);
fs/xfs/scrub/xfarray.c
701
if (error)
fs/xfs/scrub/xfarray.c
702
return error;
fs/xfs/scrub/xfarray.c
739
error = xfarray_sort_store(si, lo, pivot);
fs/xfs/scrub/xfarray.c
740
if (error)
fs/xfs/scrub/xfarray.c
741
return error;
fs/xfs/scrub/xfarray.c
78
int error;
fs/xfs/scrub/xfarray.c
811
int error = 0;
fs/xfs/scrub/xfarray.c
813
if (xfarray_sort_terminated(si, &error))
fs/xfs/scrub/xfarray.c
814
return error;
fs/xfs/scrub/xfarray.c
82
error = xfile_create(description, 0, &xfile);
fs/xfs/scrub/xfarray.c
83
if (error)
fs/xfs/scrub/xfarray.c
84
return error;
fs/xfs/scrub/xfarray.c
852
error = xfile_load(si->array->xfile, temp, si->array->obj_size,
fs/xfs/scrub/xfarray.c
854
if (error)
fs/xfs/scrub/xfarray.c
855
return error;
fs/xfs/scrub/xfarray.c
86
error = -ENOMEM;
fs/xfs/scrub/xfarray.c
914
int error = 0;
fs/xfs/scrub/xfarray.c
921
error = xfarray_sortinfo_alloc(array, cmp_fn, flags, &si);
fs/xfs/scrub/xfarray.c
922
if (error)
fs/xfs/scrub/xfarray.c
923
return error;
fs/xfs/scrub/xfarray.c
956
error = xfarray_isort(si, lo, hi);
fs/xfs/scrub/xfarray.c
957
if (error)
fs/xfs/scrub/xfarray.c
964
error = xfarray_qsort_pivot(si, lo, hi);
fs/xfs/scrub/xfarray.c
965
if (error)
fs/xfs/scrub/xfarray.c
980
error = xfarray_sort_scan(si, hi, &p);
fs/xfs/scrub/xfarray.c
981
if (error)
fs/xfs/scrub/xfarray.c
985
error = xfarray_sort_scan(si, hi, &p);
fs/xfs/scrub/xfarray.c
986
if (error)
fs/xfs/scrub/xfarray.c
992
if (xfarray_sort_terminated(si, &error))
fs/xfs/scrub/xfarray.c
997
error = xfarray_sort_store(si, lo++, scratch);
fs/xfs/scrub/xfarray.c
998
if (error)
fs/xfs/scrub/xfarray.h
61
int error = xfarray_load(array, idx, rec);
fs/xfs/scrub/xfarray.h
63
if (error == -ENODATA) {
fs/xfs/scrub/xfarray.h
67
return error;
fs/xfs/scrub/xfblob.c
112
int error;
fs/xfs/scrub/xfblob.c
114
error = xfile_store(blob->xfile, &key, sizeof(key), pos);
fs/xfs/scrub/xfblob.c
115
if (error)
fs/xfs/scrub/xfblob.c
116
return error;
fs/xfs/scrub/xfblob.c
119
error = xfile_store(blob->xfile, ptr, size, pos);
fs/xfs/scrub/xfblob.c
120
if (error)
fs/xfs/scrub/xfblob.c
128
return error;
fs/xfs/scrub/xfblob.c
138
int error;
fs/xfs/scrub/xfblob.c
140
error = xfile_load(blob->xfile, &key, sizeof(key), cookie);
fs/xfs/scrub/xfblob.c
141
if (error)
fs/xfs/scrub/xfblob.c
142
return error;
fs/xfs/scrub/xfblob.c
38
int error;
fs/xfs/scrub/xfblob.c
40
error = xfile_create(description, 0, &xfile);
fs/xfs/scrub/xfblob.c
41
if (error)
fs/xfs/scrub/xfblob.c
42
return error;
fs/xfs/scrub/xfblob.c
46
error = -ENOMEM;
fs/xfs/scrub/xfblob.c
58
return error;
fs/xfs/scrub/xfblob.c
79
int error;
fs/xfs/scrub/xfblob.c
81
error = xfile_load(blob->xfile, &key, sizeof(key), cookie);
fs/xfs/scrub/xfblob.c
82
if (error)
fs/xfs/scrub/xfblob.c
83
return error;
fs/xfs/scrub/xfile.c
256
int error;
fs/xfs/scrub/xfile.c
271
error = shmem_get_folio(inode, pos >> PAGE_SHIFT, 0, &folio,
fs/xfs/scrub/xfile.c
274
if (error)
fs/xfs/scrub/xfile.c
275
return ERR_PTR(error);
fs/xfs/scrub/xfile.c
58
int error;
fs/xfs/scrub/xfile.c
67
error = PTR_ERR(xf->file);
fs/xfs/scrub/xfile.c
86
return error;
fs/xfs/xfs_acl.c
139
int error;
fs/xfs/xfs_acl.c
162
error = xfs_attr_get(&args);
fs/xfs/xfs_acl.c
163
if (!error) {
fs/xfs/xfs_acl.c
166
} else if (error != -ENOATTR) {
fs/xfs/xfs_acl.c
167
acl = ERR_PTR(error);
fs/xfs/xfs_acl.c
182
int error;
fs/xfs/xfs_acl.c
204
error = xfs_attr_change(&args, XFS_ATTRUPDATE_UPSERT);
fs/xfs/xfs_acl.c
207
error = xfs_attr_change(&args, XFS_ATTRUPDATE_REMOVE);
fs/xfs/xfs_acl.c
211
if (error == -ENOATTR)
fs/xfs/xfs_acl.c
212
error = 0;
fs/xfs/xfs_acl.c
215
if (!error)
fs/xfs/xfs_acl.c
217
return error;
fs/xfs/xfs_acl.c
228
int error;
fs/xfs/xfs_acl.c
230
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp);
fs/xfs/xfs_acl.c
231
if (error)
fs/xfs/xfs_acl.c
232
return error;
fs/xfs/xfs_acl.c
251
int error = 0;
fs/xfs/xfs_acl.c
257
error = -E2BIG;
fs/xfs/xfs_acl.c
259
return error;
fs/xfs/xfs_acl.c
262
error = posix_acl_update_mode(idmap, inode, &mode, &acl);
fs/xfs/xfs_acl.c
263
if (error)
fs/xfs/xfs_acl.c
264
return error;
fs/xfs/xfs_acl.c
274
error = __xfs_set_acl(inode, acl, type);
fs/xfs/xfs_acl.c
275
if (!error && set_mode && mode != inode->i_mode)
fs/xfs/xfs_acl.c
276
error = xfs_acl_set_mode(inode, mode);
fs/xfs/xfs_acl.c
277
return error;
fs/xfs/xfs_aops.c
115
int error;
fs/xfs/xfs_aops.c
128
error = -EIO;
fs/xfs/xfs_aops.c
139
error = blk_status_to_errno(ioend->io_bio.bi_status);
fs/xfs/xfs_aops.c
140
if (unlikely(error)) {
fs/xfs/xfs_aops.c
154
error = xfs_zoned_end_io(ip, offset, size, ioend->io_sector,
fs/xfs/xfs_aops.c
157
error = xfs_reflink_end_cow(ip, offset, size);
fs/xfs/xfs_aops.c
159
error = xfs_iomap_write_unwritten(ip, offset, size, false);
fs/xfs/xfs_aops.c
161
if (!error &&
fs/xfs/xfs_aops.c
164
error = xfs_setfilesize(ip, offset, size);
fs/xfs/xfs_aops.c
168
iomap_finish_ioends(ioend, error);
fs/xfs/xfs_aops.c
339
int error = 0;
fs/xfs/xfs_aops.c
449
error = xfs_bmapi_convert_delalloc(ip, whichfork, offset,
fs/xfs/xfs_aops.c
451
if (error) {
fs/xfs/xfs_aops.c
459
if (error == -EAGAIN && whichfork == XFS_COW_FORK && !retries++)
fs/xfs/xfs_aops.c
461
ASSERT(error != -EAGAIN);
fs/xfs/xfs_aops.c
462
return error;
fs/xfs/xfs_aops.c
523
int error)
fs/xfs/xfs_aops.c
534
if (!error && (ioend->io_flags & IOMAP_IOEND_SHARED)) {
fs/xfs/xfs_aops.c
538
error = xfs_reflink_convert_cow(XFS_I(ioend->io_inode),
fs/xfs/xfs_aops.c
549
return iomap_ioend_writeback_submit(wpc, error);
fs/xfs/xfs_aops.c
59
int error;
fs/xfs/xfs_aops.c
61
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp);
fs/xfs/xfs_aops.c
62
if (error)
fs/xfs/xfs_aops.c
63
return error;
fs/xfs/xfs_aops.c
654
int error)
fs/xfs/xfs_aops.c
659
if (error) {
fs/xfs/xfs_aops.c
660
ioend->io_bio.bi_status = errno_to_blk_status(error);
fs/xfs/xfs_aops.c
662
return error;
fs/xfs/xfs_aops.c
690
int error;
fs/xfs/xfs_aops.c
692
error = iomap_writepages(&xc.ctx);
fs/xfs/xfs_aops.c
695
return error;
fs/xfs/xfs_attr_inactive.c
115
error = xfs_attr3_rmt_stale(dp,
fs/xfs/xfs_attr_inactive.c
117
if (error)
fs/xfs/xfs_attr_inactive.c
123
return error;
fs/xfs/xfs_attr_inactive.c
143
int error;
fs/xfs/xfs_attr_inactive.c
177
error = xfs_da3_node_read(*trans, dp, child_fsb, &child_bp,
fs/xfs/xfs_attr_inactive.c
179
if (error)
fs/xfs/xfs_attr_inactive.c
180
return error;
fs/xfs/xfs_attr_inactive.c
192
error = xfs_attr3_node_inactive(trans, dp, child_bp,
fs/xfs/xfs_attr_inactive.c
197
error = xfs_attr3_leaf_inactive(trans, dp, child_bp);
fs/xfs/xfs_attr_inactive.c
203
error = -EFSCORRUPTED;
fs/xfs/xfs_attr_inactive.c
206
if (error)
fs/xfs/xfs_attr_inactive.c
207
return error;
fs/xfs/xfs_attr_inactive.c
212
error = xfs_trans_get_buf(*trans, mp->m_ddev_targp,
fs/xfs/xfs_attr_inactive.c
216
if (error)
fs/xfs/xfs_attr_inactive.c
217
return error;
fs/xfs/xfs_attr_inactive.c
221
error = xfs_da3_node_read_mapped(*trans, dp,
fs/xfs/xfs_attr_inactive.c
223
if (error)
fs/xfs/xfs_attr_inactive.c
224
return error;
fs/xfs/xfs_attr_inactive.c
243
error = xfs_trans_roll_inode(trans, dp);
fs/xfs/xfs_attr_inactive.c
244
if (error)
fs/xfs/xfs_attr_inactive.c
245
return error;
fs/xfs/xfs_attr_inactive.c
265
int error;
fs/xfs/xfs_attr_inactive.c
273
error = xfs_da3_node_read(*trans, dp, 0, &bp, XFS_ATTR_FORK);
fs/xfs/xfs_attr_inactive.c
274
if (error)
fs/xfs/xfs_attr_inactive.c
275
return error;
fs/xfs/xfs_attr_inactive.c
285
error = xfs_attr3_node_inactive(trans, dp, bp, 1);
fs/xfs/xfs_attr_inactive.c
289
if (!error)
fs/xfs/xfs_attr_inactive.c
290
error = xfs_attr3_leaf_init(*trans, dp, 0);
fs/xfs/xfs_attr_inactive.c
291
if (!error)
fs/xfs/xfs_attr_inactive.c
292
error = xfs_trans_roll_inode(trans, dp);
fs/xfs/xfs_attr_inactive.c
296
error = xfs_attr3_leaf_inactive(trans, dp, bp);
fs/xfs/xfs_attr_inactive.c
302
if (!error)
fs/xfs/xfs_attr_inactive.c
303
error = xfs_attr3_leaf_init(*trans, dp, 0);
fs/xfs/xfs_attr_inactive.c
304
if (!error)
fs/xfs/xfs_attr_inactive.c
305
error = xfs_trans_roll_inode(trans, dp);
fs/xfs/xfs_attr_inactive.c
309
error = -EFSCORRUPTED;
fs/xfs/xfs_attr_inactive.c
315
return error;
fs/xfs/xfs_attr_inactive.c
334
int error = 0;
fs/xfs/xfs_attr_inactive.c
345
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_attrinval, 0, 0, 0, &trans);
fs/xfs/xfs_attr_inactive.c
346
if (error)
fs/xfs/xfs_attr_inactive.c
371
error = xfs_attr3_root_inactive(&trans, dp);
fs/xfs/xfs_attr_inactive.c
372
if (error)
fs/xfs/xfs_attr_inactive.c
375
error = xfs_itruncate_extents(&trans, dp, XFS_ATTR_FORK,
fs/xfs/xfs_attr_inactive.c
377
if (error)
fs/xfs/xfs_attr_inactive.c
384
error = xfs_da_get_buf(trans, dp, 0, &bp, XFS_ATTR_FORK);
fs/xfs/xfs_attr_inactive.c
385
if (error)
fs/xfs/xfs_attr_inactive.c
389
error = xfs_itruncate_extents(&trans, dp, XFS_ATTR_FORK, 0);
fs/xfs/xfs_attr_inactive.c
390
if (error)
fs/xfs/xfs_attr_inactive.c
397
error = xfs_trans_commit(trans);
fs/xfs/xfs_attr_inactive.c
399
return error;
fs/xfs/xfs_attr_inactive.c
408
return error;
fs/xfs/xfs_attr_inactive.c
42
int error;
fs/xfs/xfs_attr_inactive.c
53
error = xfs_bmapi_read(dp, (xfs_fileoff_t)blkno, blkcnt,
fs/xfs/xfs_attr_inactive.c
55
if (error)
fs/xfs/xfs_attr_inactive.c
56
return error;
fs/xfs/xfs_attr_inactive.c
65
error = xfs_attr_rmtval_stale(dp, &map, 0);
fs/xfs/xfs_attr_inactive.c
66
if (error)
fs/xfs/xfs_attr_inactive.c
67
return error;
fs/xfs/xfs_attr_inactive.c
93
int error = 0;
fs/xfs/xfs_attr_item.c
484
int error;
fs/xfs/xfs_attr_item.c
492
error = -EIO;
fs/xfs/xfs_attr_item.c
499
error = 0;
fs/xfs/xfs_attr_item.c
503
error = xfs_attr_set_iter(attr);
fs/xfs/xfs_attr_item.c
504
if (!error && attr->xattri_dela_state != XFS_DAS_DONE)
fs/xfs/xfs_attr_item.c
509
return error;
fs/xfs/xfs_attr_item.c
615
int error;
fs/xfs/xfs_attr_item.c
619
error = xfs_iread_extents(tp, ip, XFS_ATTR_FORK);
fs/xfs/xfs_attr_item.c
623
return error;
fs/xfs/xfs_attr_item.c
638
int error;
fs/xfs/xfs_attr_item.c
648
error = xlog_recover_iget_handle(mp, attrp->alfi_ino,
fs/xfs/xfs_attr_item.c
652
error = xlog_recover_iget(mp, attrp->alfi_ino, &ip);
fs/xfs/xfs_attr_item.c
655
if (error) {
fs/xfs/xfs_attr_item.c
662
error = xfs_attri_iread_extents(ip);
fs/xfs/xfs_attr_item.c
663
if (error) {
fs/xfs/xfs_attr_item.c
665
return ERR_PTR(error);
fs/xfs/xfs_attr_item.c
742
int error;
fs/xfs/xfs_attr_item.c
775
error = xfs_trans_alloc(mp, &resv, total, 0, XFS_TRANS_RESERVE, &tp);
fs/xfs/xfs_attr_item.c
776
if (error)
fs/xfs/xfs_attr_item.c
777
return error;
fs/xfs/xfs_attr_item.c
783
error = xlog_recover_finish_intent(tp, dfp);
fs/xfs/xfs_attr_item.c
784
if (error == -EFSCORRUPTED)
fs/xfs/xfs_attr_item.c
788
if (error)
fs/xfs/xfs_attr_item.c
791
error = xfs_defer_ops_capture_and_commit(tp, capture_list);
fs/xfs/xfs_attr_item.c
795
return error;
fs/xfs/xfs_attr_list.c
191
error = -EFSCORRUPTED;
fs/xfs/xfs_attr_list.c
206
return error;
fs/xfs/xfs_attr_list.c
228
int error = 0;
fs/xfs/xfs_attr_list.c
235
error = xfs_da3_node_read(tp, dp, cursor->blkno, &bp,
fs/xfs/xfs_attr_list.c
237
if (error)
fs/xfs/xfs_attr_list.c
238
return error;
fs/xfs/xfs_attr_list.c
322
int error = 0;
fs/xfs/xfs_attr_list.c
337
error = xfs_da3_node_read(context->tp, dp, cursor->blkno, &bp,
fs/xfs/xfs_attr_list.c
339
if (xfs_metadata_is_sick(error))
fs/xfs/xfs_attr_list.c
341
if (error != 0 && error != -EFSCORRUPTED)
fs/xfs/xfs_attr_list.c
342
return error;
fs/xfs/xfs_attr_list.c
399
error = xfs_attr_node_list_lookup(context, cursor, &bp);
fs/xfs/xfs_attr_list.c
400
if (error || !bp)
fs/xfs/xfs_attr_list.c
401
return error;
fs/xfs/xfs_attr_list.c
412
error = xfs_attr3_leaf_list_int(bp, context);
fs/xfs/xfs_attr_list.c
413
if (error)
fs/xfs/xfs_attr_list.c
420
error = xfs_attr3_leaf_read(context->tp, dp, dp->i_ino,
fs/xfs/xfs_attr_list.c
422
if (error)
fs/xfs/xfs_attr_list.c
423
return error;
fs/xfs/xfs_attr_list.c
426
return error;
fs/xfs/xfs_attr_list.c
540
int error;
fs/xfs/xfs_attr_list.c
545
error = xfs_attr3_leaf_read(context->tp, context->dp,
fs/xfs/xfs_attr_list.c
547
if (error)
fs/xfs/xfs_attr_list.c
548
return error;
fs/xfs/xfs_attr_list.c
550
error = xfs_attr3_leaf_list_int(bp, context);
fs/xfs/xfs_attr_list.c
552
return error;
fs/xfs/xfs_attr_list.c
560
int error;
fs/xfs/xfs_attr_list.c
573
error = xfs_iread_extents(NULL, dp, XFS_ATTR_FORK);
fs/xfs/xfs_attr_list.c
574
if (error)
fs/xfs/xfs_attr_list.c
575
return error;
fs/xfs/xfs_attr_list.c
588
int error;
fs/xfs/xfs_attr_list.c
596
error = xfs_attr_list_ilocked(context);
fs/xfs/xfs_attr_list.c
598
return error;
fs/xfs/xfs_attr_list.c
63
int error = 0;
fs/xfs/xfs_bio_io.c
22
int error;
fs/xfs/xfs_bio_io.c
47
error = submit_bio_wait(bio);
fs/xfs/xfs_bio_io.c
52
return error;
fs/xfs/xfs_bmap_item.c
397
int error;
fs/xfs/xfs_bmap_item.c
399
error = xfs_bmap_finish_one(tp, bi);
fs/xfs/xfs_bmap_item.c
400
if (!error && bi->bi_bmap.br_blockcount > 0) {
fs/xfs/xfs_bmap_item.c
406
return error;
fs/xfs/xfs_bmap_item.c
462
int error;
fs/xfs/xfs_bmap_item.c
464
error = xlog_recover_iget(mp, map->me_owner, ipp);
fs/xfs/xfs_bmap_item.c
465
if (error)
fs/xfs/xfs_bmap_item.c
466
return ERR_PTR(error);
fs/xfs/xfs_bmap_item.c
506
int error = 0;
fs/xfs/xfs_bmap_item.c
521
error = xfs_trans_alloc(mp, &resv,
fs/xfs/xfs_bmap_item.c
523
if (error)
fs/xfs/xfs_bmap_item.c
531
error = -EFSCORRUPTED;
fs/xfs/xfs_bmap_item.c
540
error = xfs_iext_count_extend(tp, ip, work->bi_whichfork, iext_delta);
fs/xfs/xfs_bmap_item.c
541
if (error)
fs/xfs/xfs_bmap_item.c
544
error = xlog_recover_finish_intent(tp, dfp);
fs/xfs/xfs_bmap_item.c
545
if (error == -EFSCORRUPTED)
fs/xfs/xfs_bmap_item.c
548
if (error)
fs/xfs/xfs_bmap_item.c
555
error = xfs_defer_ops_capture_and_commit(tp, capture_list);
fs/xfs/xfs_bmap_item.c
556
if (error)
fs/xfs/xfs_bmap_item.c
569
return error;
fs/xfs/xfs_bmap_util.c
1002
error = xfs_free_file_space(ip, offset, len, ac);
fs/xfs/xfs_bmap_util.c
1003
if (error)
fs/xfs/xfs_bmap_util.c
1004
return error;
fs/xfs/xfs_bmap_util.c
1006
error = xfs_prepare_shift(ip, offset);
fs/xfs/xfs_bmap_util.c
1007
if (error)
fs/xfs/xfs_bmap_util.c
1008
return error;
fs/xfs/xfs_bmap_util.c
1010
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp);
fs/xfs/xfs_bmap_util.c
1011
if (error)
fs/xfs/xfs_bmap_util.c
1012
return error;
fs/xfs/xfs_bmap_util.c
1018
error = xfs_bmap_collapse_extents(tp, ip, &next_fsb, shift_fsb,
fs/xfs/xfs_bmap_util.c
1020
if (error)
fs/xfs/xfs_bmap_util.c
1026
error = xfs_defer_finish(&tp);
fs/xfs/xfs_bmap_util.c
1027
if (error)
fs/xfs/xfs_bmap_util.c
1031
error = xfs_trans_commit(tp);
fs/xfs/xfs_bmap_util.c
1033
return error;
fs/xfs/xfs_bmap_util.c
1038
return error;
fs/xfs/xfs_bmap_util.c
1061
int error;
fs/xfs/xfs_bmap_util.c
1071
error = xfs_bmap_can_insert_extents(ip, stop_fsb, shift_fsb);
fs/xfs/xfs_bmap_util.c
1072
if (error)
fs/xfs/xfs_bmap_util.c
1073
return error;
fs/xfs/xfs_bmap_util.c
1075
error = xfs_prepare_shift(ip, offset);
fs/xfs/xfs_bmap_util.c
1076
if (error)
fs/xfs/xfs_bmap_util.c
1077
return error;
fs/xfs/xfs_bmap_util.c
1079
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write,
fs/xfs/xfs_bmap_util.c
108
int error;
fs/xfs/xfs_bmap_util.c
1081
if (error)
fs/xfs/xfs_bmap_util.c
1082
return error;
fs/xfs/xfs_bmap_util.c
1087
error = xfs_iext_count_extend(tp, ip, XFS_DATA_FORK,
fs/xfs/xfs_bmap_util.c
1089
if (error)
fs/xfs/xfs_bmap_util.c
1097
error = xfs_bmap_split_extent(tp, ip, stop_fsb);
fs/xfs/xfs_bmap_util.c
1098
if (error)
fs/xfs/xfs_bmap_util.c
1102
error = xfs_defer_finish(&tp);
fs/xfs/xfs_bmap_util.c
1103
if (error)
fs/xfs/xfs_bmap_util.c
1106
error = xfs_bmap_insert_extents(tp, ip, &next_fsb, shift_fsb,
fs/xfs/xfs_bmap_util.c
1108
if (error)
fs/xfs/xfs_bmap_util.c
1112
error = xfs_trans_commit(tp);
fs/xfs/xfs_bmap_util.c
1114
return error;
fs/xfs/xfs_bmap_util.c
1119
return error;
fs/xfs/xfs_bmap_util.c
118
error = xfs_iread_extents(tp, ip, whichfork);
fs/xfs/xfs_bmap_util.c
119
if (error)
fs/xfs/xfs_bmap_util.c
120
return error;
fs/xfs/xfs_bmap_util.c
1228
int error;
fs/xfs/xfs_bmap_util.c
123
error = xfs_btree_count_blocks(cur, &btblocks);
fs/xfs/xfs_bmap_util.c
1230
error = filemap_write_and_wait(VFS_I(ip)->i_mapping);
fs/xfs/xfs_bmap_util.c
1231
if (error)
fs/xfs/xfs_bmap_util.c
1232
return error;
fs/xfs/xfs_bmap_util.c
124
xfs_btree_del_cursor(cur, error);
fs/xfs/xfs_bmap_util.c
125
if (error)
fs/xfs/xfs_bmap_util.c
1257
int error;
fs/xfs/xfs_bmap_util.c
126
return error;
fs/xfs/xfs_bmap_util.c
1280
error = xfs_bmapi_read(tip, offset_fsb, count_fsb, &tirec,
fs/xfs/xfs_bmap_util.c
1282
if (error)
fs/xfs/xfs_bmap_util.c
1297
error = xfs_bmapi_read(ip, tirec.br_startoff,
fs/xfs/xfs_bmap_util.c
1300
if (error)
fs/xfs/xfs_bmap_util.c
1314
error = xfs_iext_count_extend(tp, ip,
fs/xfs/xfs_bmap_util.c
1317
if (error)
fs/xfs/xfs_bmap_util.c
1322
error = xfs_iext_count_extend(tp, tip,
fs/xfs/xfs_bmap_util.c
1325
if (error)
fs/xfs/xfs_bmap_util.c
1341
error = xfs_defer_finish(tpp);
fs/xfs/xfs_bmap_util.c
1343
if (error)
fs/xfs/xfs_bmap_util.c
1362
trace_xfs_swap_extent_rmap_error(ip, error, _RET_IP_);
fs/xfs/xfs_bmap_util.c
1364
return error;
fs/xfs/xfs_bmap_util.c
1380
int error;
fs/xfs/xfs_bmap_util.c
1387
error = xfs_bmap_count_blocks(tp, ip, XFS_ATTR_FORK, &junk,
fs/xfs/xfs_bmap_util.c
1389
if (error)
fs/xfs/xfs_bmap_util.c
1390
return error;
fs/xfs/xfs_bmap_util.c
1394
error = xfs_bmap_count_blocks(tp, tip, XFS_ATTR_FORK, &junk,
fs/xfs/xfs_bmap_util.c
1396
if (error)
fs/xfs/xfs_bmap_util.c
1397
return error;
fs/xfs/xfs_bmap_util.c
1478
int error;
fs/xfs/xfs_bmap_util.c
1482
error = xfs_bmbt_change_owner(tp, ip, XFS_DATA_FORK, ip->i_ino,
fs/xfs/xfs_bmap_util.c
1485
if (error != -EAGAIN)
fs/xfs/xfs_bmap_util.c
1488
error = xfs_trans_roll(tpp);
fs/xfs/xfs_bmap_util.c
1489
if (error)
fs/xfs/xfs_bmap_util.c
1503
return error;
fs/xfs/xfs_bmap_util.c
1516
int error = 0;
fs/xfs/xfs_bmap_util.c
1534
error = -EINVAL;
fs/xfs/xfs_bmap_util.c
154
int error;
fs/xfs/xfs_bmap_util.c
1540
error = -EINVAL;
fs/xfs/xfs_bmap_util.c
1552
error = -EOPNOTSUPP;
fs/xfs/xfs_bmap_util.c
1556
error = xfs_qm_dqattach(ip);
fs/xfs/xfs_bmap_util.c
1557
if (error)
fs/xfs/xfs_bmap_util.c
156
error = xfs_reflink_trim_around_shared(ip, got, &shared);
fs/xfs/xfs_bmap_util.c
1560
error = xfs_qm_dqattach(tip);
fs/xfs/xfs_bmap_util.c
1561
if (error)
fs/xfs/xfs_bmap_util.c
1564
error = xfs_swap_extent_flush(ip);
fs/xfs/xfs_bmap_util.c
1565
if (error)
fs/xfs/xfs_bmap_util.c
1567
error = xfs_swap_extent_flush(tip);
fs/xfs/xfs_bmap_util.c
1568
if (error)
fs/xfs/xfs_bmap_util.c
157
if (error)
fs/xfs/xfs_bmap_util.c
1572
error = xfs_reflink_cancel_cow_range(tip, 0, NULLFILEOFF, true);
fs/xfs/xfs_bmap_util.c
1573
if (error)
fs/xfs/xfs_bmap_util.c
158
return error;
fs/xfs/xfs_bmap_util.c
1604
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0, flags,
fs/xfs/xfs_bmap_util.c
1606
if (error)
fs/xfs/xfs_bmap_util.c
1622
error = -EFAULT;
fs/xfs/xfs_bmap_util.c
1630
error = xfs_swap_extents_check_format(ip, tip);
fs/xfs/xfs_bmap_util.c
1631
if (error) {
fs/xfs/xfs_bmap_util.c
1651
error = -EBUSY;
fs/xfs/xfs_bmap_util.c
1666
error = xfs_swap_extent_rmap(&tp, ip, tip);
fs/xfs/xfs_bmap_util.c
1668
error = xfs_swap_extent_forks(tp, ip, tip, &src_log_flags,
fs/xfs/xfs_bmap_util.c
1670
if (error)
fs/xfs/xfs_bmap_util.c
1712
error = xfs_swap_change_owner(&tp, ip, tip);
fs/xfs/xfs_bmap_util.c
1713
if (error)
fs/xfs/xfs_bmap_util.c
1717
error = xfs_swap_change_owner(&tp, tip, ip);
fs/xfs/xfs_bmap_util.c
1718
if (error)
fs/xfs/xfs_bmap_util.c
1729
error = xfs_trans_commit(tp);
fs/xfs/xfs_bmap_util.c
1741
return error;
fs/xfs/xfs_bmap_util.c
256
int whichfork, lock, error = 0;
fs/xfs/xfs_bmap_util.c
312
error = filemap_write_and_wait(VFS_I(ip)->i_mapping);
fs/xfs/xfs_bmap_util.c
313
if (error)
fs/xfs/xfs_bmap_util.c
346
error = -EINVAL;
fs/xfs/xfs_bmap_util.c
360
error = xfs_iread_extents(NULL, ip, whichfork);
fs/xfs/xfs_bmap_util.c
361
if (error)
fs/xfs/xfs_bmap_util.c
397
error = xfs_getbmap_report_one(ip, bmv, out, bmv_end,
fs/xfs/xfs_bmap_util.c
399
if (error || xfs_getbmap_full(bmv))
fs/xfs/xfs_bmap_util.c
426
return error;
fs/xfs/xfs_bmap_util.c
581
int error;
fs/xfs/xfs_bmap_util.c
584
error = xfs_qm_dqattach(ip);
fs/xfs/xfs_bmap_util.c
585
if (error)
fs/xfs/xfs_bmap_util.c
586
return error;
fs/xfs/xfs_bmap_util.c
607
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp);
fs/xfs/xfs_bmap_util.c
608
if (error) {
fs/xfs/xfs_bmap_util.c
610
return error;
fs/xfs/xfs_bmap_util.c
622
error = xfs_itruncate_extents_flags(&tp, ip, XFS_DATA_FORK,
fs/xfs/xfs_bmap_util.c
624
if (error)
fs/xfs/xfs_bmap_util.c
627
error = xfs_trans_commit(tp);
fs/xfs/xfs_bmap_util.c
628
if (error)
fs/xfs/xfs_bmap_util.c
642
return error;
fs/xfs/xfs_bmap_util.c
660
int error;
fs/xfs/xfs_bmap_util.c
670
error = xfs_qm_dqattach(ip);
fs/xfs/xfs_bmap_util.c
671
if (error)
fs/xfs/xfs_bmap_util.c
672
return error;
fs/xfs/xfs_bmap_util.c
689
while (allocatesize_fsb && !error) {
fs/xfs/xfs_bmap_util.c
731
error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write,
fs/xfs/xfs_bmap_util.c
733
if (error)
fs/xfs/xfs_bmap_util.c
736
error = xfs_iext_count_extend(tp, ip, XFS_DATA_FORK,
fs/xfs/xfs_bmap_util.c
738
if (error)
fs/xfs/xfs_bmap_util.c
739
goto error;
fs/xfs/xfs_bmap_util.c
750
error = xfs_bmapi_write(tp, ip, startoffset_fsb,
fs/xfs/xfs_bmap_util.c
753
if (error) {
fs/xfs/xfs_bmap_util.c
754
if (error != -ENOSR)
fs/xfs/xfs_bmap_util.c
755
goto error;
fs/xfs/xfs_bmap_util.c
756
error = 0;
fs/xfs/xfs_bmap_util.c
765
error = xfs_trans_commit(tp);
fs/xfs/xfs_bmap_util.c
769
return error;
fs/xfs/xfs_bmap_util.c
771
error:
fs/xfs/xfs_bmap_util.c
774
return error;
fs/xfs/xfs_bmap_util.c
787
int error;
fs/xfs/xfs_bmap_util.c
789
error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, resblks, 0,
fs/xfs/xfs_bmap_util.c
791
if (error)
fs/xfs/xfs_bmap_util.c
792
return error;
fs/xfs/xfs_bmap_util.c
794
error = xfs_iext_count_extend(tp, ip, XFS_DATA_FORK,
fs/xfs/xfs_bmap_util.c
796
if (error)
fs/xfs/xfs_bmap_util.c
799
error = xfs_bunmapi(tp, ip, startoffset_fsb, len_fsb, 0, 2, done);
fs/xfs/xfs_bmap_util.c
800
if (error)
fs/xfs/xfs_bmap_util.c
803
error = xfs_trans_commit(tp);
fs/xfs/xfs_bmap_util.c
806
return error;
fs/xfs/xfs_bmap_util.c
822
int error;
fs/xfs/xfs_bmap_util.c
833
error = filemap_write_and_wait_range(inode->i_mapping, start, end);
fs/xfs/xfs_bmap_util.c
834
if (error)
fs/xfs/xfs_bmap_util.c
835
return error;
fs/xfs/xfs_bmap_util.c
850
int done = 0, error;
fs/xfs/xfs_bmap_util.c
854
error = xfs_qm_dqattach(ip);
fs/xfs/xfs_bmap_util.c
855
if (error)
fs/xfs/xfs_bmap_util.c
856
return error;
fs/xfs/xfs_bmap_util.c
865
error = xfs_flush_unmap_range(ip, offset, len);
fs/xfs/xfs_bmap_util.c
866
if (error)
fs/xfs/xfs_bmap_util.c
867
return error;
fs/xfs/xfs_bmap_util.c
883
error = xfs_unmap_extent(ip, startoffset_fsb,
fs/xfs/xfs_bmap_util.c
885
if (error)
fs/xfs/xfs_bmap_util.c
886
return error;
fs/xfs/xfs_bmap_util.c
900
error = xfs_zero_range(ip, offset, len, ac, NULL);
fs/xfs/xfs_bmap_util.c
901
if (error)
fs/xfs/xfs_bmap_util.c
902
return error;
fs/xfs/xfs_bmap_util.c
911
error = filemap_write_and_wait_range(VFS_I(ip)->i_mapping,
fs/xfs/xfs_bmap_util.c
915
return error;
fs/xfs/xfs_bmap_util.c
924
int error;
fs/xfs/xfs_bmap_util.c
931
error = xfs_free_eofblocks(ip);
fs/xfs/xfs_bmap_util.c
932
if (error)
fs/xfs/xfs_bmap_util.c
933
return error;
fs/xfs/xfs_bmap_util.c
953
error = xfs_flush_unmap_range(ip, offset, XFS_ISIZE(ip));
fs/xfs/xfs_bmap_util.c
954
if (error)
fs/xfs/xfs_bmap_util.c
955
return error;
fs/xfs/xfs_bmap_util.c
963
error = xfs_reflink_cancel_cow_range(ip, offset, NULLFILEOFF,
fs/xfs/xfs_bmap_util.c
965
if (error)
fs/xfs/xfs_bmap_util.c
966
return error;
fs/xfs/xfs_bmap_util.c
993
int error;
fs/xfs/xfs_buf.c
1236
int error,
fs/xfs/xfs_buf.c
1239
ASSERT(error <= 0 && error >= -1000);
fs/xfs/xfs_buf.c
1240
bp->b_error = error;
fs/xfs/xfs_buf.c
1241
trace_xfs_buf_ioerror(bp, error, failaddr);
fs/xfs/xfs_buf.c
1275
int error;
fs/xfs/xfs_buf.c
1284
error = xfs_buf_iowait(bp);
fs/xfs/xfs_buf.c
1285
if (error)
fs/xfs/xfs_buf.c
1287
return error;
fs/xfs/xfs_buf.c
1726
int error;
fs/xfs/xfs_buf.c
1728
error = bdev_validate_blocksize(btp->bt_bdev, sectorsize);
fs/xfs/xfs_buf.c
1729
if (error) {
fs/xfs/xfs_buf.c
1732
sectorsize, btp->bt_bdev, error);
fs/xfs/xfs_buf.c
1796
int error;
fs/xfs/xfs_buf.c
1815
error = sync_blockdev(btp->bt_bdev);
fs/xfs/xfs_buf.c
1816
if (error)
fs/xfs/xfs_buf.c
1826
error = xfs_init_buftarg(btp, btp->bt_meta_sectorsize,
fs/xfs/xfs_buf.c
1828
if (error)
fs/xfs/xfs_buf.c
1835
return ERR_PTR(error);
fs/xfs/xfs_buf.c
2048
int error = 0, error2;
fs/xfs/xfs_buf.c
2077
if (!error)
fs/xfs/xfs_buf.c
2078
error = error2;
fs/xfs/xfs_buf.c
2081
return error;
fs/xfs/xfs_buf.c
261
int error;
fs/xfs/xfs_buf.c
312
error = xfs_buf_alloc_backing_mem(bp, flags);
fs/xfs/xfs_buf.c
313
if (error) {
fs/xfs/xfs_buf.c
315
return error;
fs/xfs/xfs_buf.c
462
int error;
fs/xfs/xfs_buf.c
472
error = xfs_buf_find_lock(bp, flags);
fs/xfs/xfs_buf.c
473
if (error) {
fs/xfs/xfs_buf.c
475
return error;
fs/xfs/xfs_buf.c
500
int error;
fs/xfs/xfs_buf.c
502
error = xfs_buf_alloc(btp, map, nmaps, flags, &new_bp);
fs/xfs/xfs_buf.c
503
if (error)
fs/xfs/xfs_buf.c
514
error = PTR_ERR(bp);
fs/xfs/xfs_buf.c
520
error = xfs_buf_find_lock(bp, flags);
fs/xfs/xfs_buf.c
521
if (error)
fs/xfs/xfs_buf.c
537
return error;
fs/xfs/xfs_buf.c
579
int error;
fs/xfs/xfs_buf.c
587
error = xfs_buf_map_verify(btp, &cmap);
fs/xfs/xfs_buf.c
588
if (error)
fs/xfs/xfs_buf.c
589
return error;
fs/xfs/xfs_buf.c
594
error = xfs_buf_lookup(bch, &cmap, flags, &bp);
fs/xfs/xfs_buf.c
595
if (error && error != -ENOENT)
fs/xfs/xfs_buf.c
606
error = xfs_buf_find_insert(btp, bch, pag, &cmap, map, nmaps,
fs/xfs/xfs_buf.c
608
if (error)
fs/xfs/xfs_buf.c
609
return error;
fs/xfs/xfs_buf.c
631
return error;
fs/xfs/xfs_buf.c
692
int error;
fs/xfs/xfs_buf.c
699
error = xfs_buf_get_map(target, map, nmaps, flags, &bp);
fs/xfs/xfs_buf.c
700
if (error)
fs/xfs/xfs_buf.c
701
return error;
fs/xfs/xfs_buf.c
709
error = _xfs_buf_read(bp);
fs/xfs/xfs_buf.c
712
error = xfs_buf_reverify(bp, ops);
fs/xfs/xfs_buf.c
728
if (error) {
fs/xfs/xfs_buf.c
745
if (error == -EFSBADCRC)
fs/xfs/xfs_buf.c
746
error = -EFSCORRUPTED;
fs/xfs/xfs_buf.c
747
return error;
fs/xfs/xfs_buf.c
807
int error;
fs/xfs/xfs_buf.c
811
error = xfs_buf_get_uncached(target, numblks, &bp);
fs/xfs/xfs_buf.c
812
if (error)
fs/xfs/xfs_buf.c
813
return error;
fs/xfs/xfs_buf.c
823
error = xfs_buf_iowait(bp);
fs/xfs/xfs_buf.c
824
if (error) {
fs/xfs/xfs_buf.c
826
return error;
fs/xfs/xfs_buf.c
839
int error;
fs/xfs/xfs_buf.c
842
error = xfs_buf_alloc(target, &map, 1, 0, bpp);
fs/xfs/xfs_buf.c
843
if (!error)
fs/xfs/xfs_buf.c
845
return error;
fs/xfs/xfs_buf.h
303
extern void __xfs_buf_ioerror(struct xfs_buf *bp, int error,
fs/xfs/xfs_buf_item_recover.c
1018
int error;
fs/xfs/xfs_buf_item_recover.c
1037
error = xfs_buf_read(mp->m_ddev_targp, buf_f->blf_blkno, buf_f->blf_len,
fs/xfs/xfs_buf_item_recover.c
1039
if (error)
fs/xfs/xfs_buf_item_recover.c
1040
return error;
fs/xfs/xfs_buf_item_recover.c
1073
error = bp->b_error;
fs/xfs/xfs_buf_item_recover.c
1079
error = xlog_recover_do_inode_buffer(mp, item, bp, buf_f);
fs/xfs/xfs_buf_item_recover.c
1080
if (error)
fs/xfs/xfs_buf_item_recover.c
1091
error = xlog_recover_do_primary_sb_buffer(mp, item, bp, buf_f,
fs/xfs/xfs_buf_item_recover.c
1093
if (error)
fs/xfs/xfs_buf_item_recover.c
1139
error = xfs_bwrite(bp);
fs/xfs/xfs_buf_item_recover.c
1148
return error;
fs/xfs/xfs_buf_item_recover.c
725
int error;
fs/xfs/xfs_buf_item_recover.c
763
error = xfs_update_last_ag_size(mp, orig_agcount);
fs/xfs/xfs_buf_item_recover.c
764
if (error)
fs/xfs/xfs_buf_item_recover.c
765
return error;
fs/xfs/xfs_buf_item_recover.c
773
error = xfs_update_last_rtgroup_size(mp, orig_rgcount);
fs/xfs/xfs_buf_item_recover.c
774
if (error)
fs/xfs/xfs_buf_item_recover.c
775
return error;
fs/xfs/xfs_buf_item_recover.c
784
error = xfs_initialize_perag(mp, orig_agcount, mp->m_sb.sb_agcount,
fs/xfs/xfs_buf_item_recover.c
786
if (error) {
fs/xfs/xfs_buf_item_recover.c
787
xfs_warn(mp, "Failed recovery per-ag init: %d", error);
fs/xfs/xfs_buf_item_recover.c
788
return error;
fs/xfs/xfs_buf_item_recover.c
792
error = xfs_initialize_rtgroups(mp, orig_rgcount, mp->m_sb.sb_rgcount,
fs/xfs/xfs_buf_item_recover.c
794
if (error) {
fs/xfs/xfs_buf_item_recover.c
795
xfs_warn(mp, "Failed recovery rtgroup init: %d", error);
fs/xfs/xfs_buf_item_recover.c
796
return error;
fs/xfs/xfs_buf_mem.c
111
return error;
fs/xfs/xfs_buf_mem.c
138
int error;
fs/xfs/xfs_buf_mem.c
151
error = shmem_get_folio(inode, pos >> PAGE_SHIFT, 0, &folio, SGP_CACHE);
fs/xfs/xfs_buf_mem.c
152
if (error)
fs/xfs/xfs_buf_mem.c
153
return error;
fs/xfs/xfs_buf_mem.c
208
int error = 0;
fs/xfs/xfs_buf_mem.c
221
error = -EFSCORRUPTED;
fs/xfs/xfs_buf_mem.c
222
xfs_verifier_error(bp, error, fa);
fs/xfs/xfs_buf_mem.c
225
return error;
fs/xfs/xfs_buf_mem.c
59
int error;
fs/xfs/xfs_buf_mem.c
67
error = PTR_ERR(file);
fs/xfs/xfs_buf_mem.c
84
error = xfs_buf_cache_init(btp->bt_cache);
fs/xfs/xfs_buf_mem.c
85
if (error)
fs/xfs/xfs_buf_mem.c
96
error = xfs_init_buftarg(btp, XMBUF_BLOCKSIZE, descr);
fs/xfs/xfs_buf_mem.c
97
if (error)
fs/xfs/xfs_dir2_readdir.c
147
int error; /* error return value */
fs/xfs/xfs_dir2_readdir.c
160
error = xfs_dir3_block_read(args->trans, dp, args->owner, &bp);
fs/xfs/xfs_dir2_readdir.c
161
if (error)
fs/xfs/xfs_dir2_readdir.c
162
return error;
fs/xfs/xfs_dir2_readdir.c
217
error = -EFSCORRUPTED;
fs/xfs/xfs_dir2_readdir.c
234
return error;
fs/xfs/xfs_dir2_readdir.c
262
int error = 0;
fs/xfs/xfs_dir2_readdir.c
264
error = xfs_iread_extents(args->trans, dp, XFS_DATA_FORK);
fs/xfs/xfs_dir2_readdir.c
265
if (error)
fs/xfs/xfs_dir2_readdir.c
285
error = xfs_dir3_data_read(args->trans, dp, args->owner,
fs/xfs/xfs_dir2_readdir.c
287
if (error)
fs/xfs/xfs_dir2_readdir.c
337
return error;
fs/xfs/xfs_dir2_readdir.c
365
int error = 0; /* error return value */
fs/xfs/xfs_dir2_readdir.c
399
error = xfs_dir2_leaf_readbuf(args, bufsize, &curoff,
fs/xfs/xfs_dir2_readdir.c
401
if (error || !bp)
fs/xfs/xfs_dir2_readdir.c
473
error = -EFSCORRUPTED;
fs/xfs/xfs_dir2_readdir.c
499
return error;
fs/xfs/xfs_dir2_readdir.c
519
int error;
fs/xfs/xfs_dir2_readdir.c
541
switch (xfs_dir2_format(&args, &error)) {
fs/xfs/xfs_dir2_readdir.c
543
error = xfs_dir2_block_getdents(&args, ctx, &lock_mode);
fs/xfs/xfs_dir2_readdir.c
547
error = xfs_dir2_leaf_getdents(&args, ctx, bufsize, &lock_mode);
fs/xfs/xfs_dir2_readdir.c
555
return error;
fs/xfs/xfs_discard.c
170
int error;
fs/xfs/xfs_discard.c
183
error = xfs_alloc_read_agf(pag, tp, 0, &agbp);
fs/xfs/xfs_discard.c
184
if (error)
fs/xfs/xfs_discard.c
198
error = xfs_alloc_lookup_le(cur, tcur->start, 0, &i);
fs/xfs/xfs_discard.c
199
if (!error && !i)
fs/xfs/xfs_discard.c
200
error = xfs_alloc_lookup_ge(cur, tcur->start, 0, &i);
fs/xfs/xfs_discard.c
204
error = xfs_alloc_lookup_ge(cur, 0, tcur->count, &i);
fs/xfs/xfs_discard.c
208
error = xfs_alloc_lookup_le(cur, tcur->start, tcur->count, &i);
fs/xfs/xfs_discard.c
210
if (error)
fs/xfs/xfs_discard.c
226
error = xfs_alloc_get_rec(cur, &fbno, &flen, &i);
fs/xfs/xfs_discard.c
227
if (error)
fs/xfs/xfs_discard.c
231
error = -EFSCORRUPTED;
fs/xfs/xfs_discard.c
293
error = xfs_btree_increment(cur, 0, &i);
fs/xfs/xfs_discard.c
295
error = xfs_btree_decrement(cur, 0, &i);
fs/xfs/xfs_discard.c
296
if (error)
fs/xfs/xfs_discard.c
312
if (error)
fs/xfs/xfs_discard.c
315
xfs_btree_del_cursor(cur, error);
fs/xfs/xfs_discard.c
318
return error;
fs/xfs/xfs_discard.c
344
int error = 0;
fs/xfs/xfs_discard.c
354
error = -ENOMEM;
fs/xfs/xfs_discard.c
361
error = xfs_trim_gather_extents(pag, &tcur, extents);
fs/xfs/xfs_discard.c
362
if (error) {
fs/xfs/xfs_discard.c
384
return error;
fs/xfs/xfs_discard.c
399
int last_error = 0, error;
fs/xfs/xfs_discard.c
414
error = xfs_trim_perag_extents(pag, start_agbno, agend, minlen);
fs/xfs/xfs_discard.c
415
if (error)
fs/xfs/xfs_discard.c
416
last_error = error;
fs/xfs/xfs_discard.c
476
int error = 0;
fs/xfs/xfs_discard.c
494
error = submit_bio_wait(bio);
fs/xfs/xfs_discard.c
495
if (error == -EOPNOTSUPP)
fs/xfs/xfs_discard.c
496
error = 0;
fs/xfs/xfs_discard.c
497
if (error)
fs/xfs/xfs_discard.c
502
error);
fs/xfs/xfs_discard.c
507
return error;
fs/xfs/xfs_discard.c
567
int error;
fs/xfs/xfs_discard.c
578
error = xfs_rtalloc_query_range(rtg, tp, low, high,
fs/xfs/xfs_discard.c
581
if (error == -ECANCELED)
fs/xfs/xfs_discard.c
582
error = 0;
fs/xfs/xfs_discard.c
583
if (error) {
fs/xfs/xfs_discard.c
594
error = xfs_discard_rtdev_extents(mp, &tr);
fs/xfs/xfs_discard.c
596
if (error)
fs/xfs/xfs_discard.c
603
return error;
fs/xfs/xfs_discard.c
683
int error;
fs/xfs/xfs_discard.c
694
error = -ENOMEM;
fs/xfs/xfs_discard.c
704
error = xfs_rtalloc_query_range(rtg, tp, low, high,
fs/xfs/xfs_discard.c
707
if (error == -ECANCELED)
fs/xfs/xfs_discard.c
708
error = 0;
fs/xfs/xfs_discard.c
709
if (error) {
fs/xfs/xfs_discard.c
735
return error;
fs/xfs/xfs_discard.c
749
int last_error = 0, error;
fs/xfs/xfs_discard.c
777
error = xfs_trim_rtgroup_extents(rtg, start_rtx,
fs/xfs/xfs_discard.c
780
error = xfs_trim_rtextents(rtg, start_rtx, rtg_end,
fs/xfs/xfs_discard.c
782
if (error)
fs/xfs/xfs_discard.c
783
last_error = error;
fs/xfs/xfs_discard.c
822
int error, last_error = 0;
fs/xfs/xfs_discard.c
867
error = xfs_trim_datadev_extents(mp, start, end, minlen);
fs/xfs/xfs_discard.c
868
if (error)
fs/xfs/xfs_discard.c
869
last_error = error;
fs/xfs/xfs_discard.c
873
error = xfs_trim_rtdev_extents(mp, start, end, minlen);
fs/xfs/xfs_discard.c
874
if (error)
fs/xfs/xfs_discard.c
875
last_error = error;
fs/xfs/xfs_dquot.c
1001
int error;
fs/xfs/xfs_dquot.c
1006
error = xfs_qm_dqget_checks(mp, type);
fs/xfs/xfs_dquot.c
1007
if (error)
fs/xfs/xfs_dquot.c
1008
return error;
fs/xfs/xfs_dquot.c
1029
error = xfs_qm_dqread(mp, id, type, can_alloc, &dqp);
fs/xfs/xfs_dquot.c
1031
if (error)
fs/xfs/xfs_dquot.c
1032
return error;
fs/xfs/xfs_dquot.c
1053
error = xfs_qm_dqget_cache_insert(mp, id, type, dqp);
fs/xfs/xfs_dquot.c
1054
if (error) {
fs/xfs/xfs_dquot.c
1056
if (error == -EEXIST) {
fs/xfs/xfs_dquot.c
1064
return error;
fs/xfs/xfs_dquot.c
1088
int error = 0;
fs/xfs/xfs_dquot.c
1091
for (; !error; error = xfs_dq_get_next_id(mp, type, &id)) {
fs/xfs/xfs_dquot.c
1092
error = xfs_qm_dqget(mp, id, type, false, &dqp);
fs/xfs/xfs_dquot.c
1093
if (error == -ENOENT)
fs/xfs/xfs_dquot.c
1095
else if (error != 0)
fs/xfs/xfs_dquot.c
1108
return error;
fs/xfs/xfs_dquot.c
1259
int error;
fs/xfs/xfs_dquot.c
1261
error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, dqp->q_blkno,
fs/xfs/xfs_dquot.c
1264
if (xfs_metadata_is_sick(error))
fs/xfs/xfs_dquot.c
1266
if (error)
fs/xfs/xfs_dquot.c
1276
return error;
fs/xfs/xfs_dquot.c
1291
int error;
fs/xfs/xfs_dquot.c
1298
error = xfs_dquot_read_buf(tp, dqp, &bp);
fs/xfs/xfs_dquot.c
1299
if (error)
fs/xfs/xfs_dquot.c
1300
return error;
fs/xfs/xfs_dquot.c
1372
int error;
fs/xfs/xfs_dquot.c
1384
error = -EFSCORRUPTED;
fs/xfs/xfs_dquot.c
1452
return error;
fs/xfs/xfs_dquot.c
354
int error;
fs/xfs/xfs_dquot.c
358
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_dqalloc,
fs/xfs/xfs_dquot.c
360
if (error)
fs/xfs/xfs_dquot.c
361
return error;
fs/xfs/xfs_dquot.c
371
error = -ESRCH;
fs/xfs/xfs_dquot.c
375
error = xfs_iext_count_extend(tp, quotip, XFS_DATA_FORK,
fs/xfs/xfs_dquot.c
377
if (error)
fs/xfs/xfs_dquot.c
381
error = xfs_bmapi_write(tp, quotip, dqp->q_fileoffset,
fs/xfs/xfs_dquot.c
384
if (error)
fs/xfs/xfs_dquot.c
397
error = xfs_trans_get_buf(tp, mp->m_ddev_targp, dqp->q_blkno,
fs/xfs/xfs_dquot.c
399
if (error)
fs/xfs/xfs_dquot.c
435
error = xfs_trans_commit(tp);
fs/xfs/xfs_dquot.c
437
if (error) {
fs/xfs/xfs_dquot.c
439
return error;
fs/xfs/xfs_dquot.c
448
return error;
fs/xfs/xfs_dquot.c
467
int error;
fs/xfs/xfs_dquot.c
482
error = xfs_bmapi_read(quotip, dqp->q_fileoffset,
fs/xfs/xfs_dquot.c
485
if (error)
fs/xfs/xfs_dquot.c
486
return error;
fs/xfs/xfs_dquot.c
502
error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, dqp->q_blkno,
fs/xfs/xfs_dquot.c
505
if (xfs_metadata_is_sick(error))
fs/xfs/xfs_dquot.c
507
if (error) {
fs/xfs/xfs_dquot.c
509
return error;
fs/xfs/xfs_dquot.c
712
int error;
fs/xfs/xfs_dquot.c
718
error = xfs_dquot_disk_read(mp, dqp, &bp);
fs/xfs/xfs_dquot.c
719
if (error == -ENOENT && can_alloc)
fs/xfs/xfs_dquot.c
720
error = xfs_dquot_disk_alloc(dqp, &bp);
fs/xfs/xfs_dquot.c
721
if (error)
fs/xfs/xfs_dquot.c
731
error = xfs_dquot_from_disk(dqp, bp);
fs/xfs/xfs_dquot.c
733
if (error)
fs/xfs/xfs_dquot.c
737
return error;
fs/xfs/xfs_dquot.c
743
return error;
fs/xfs/xfs_dquot.c
763
int error = 0;
fs/xfs/xfs_dquot.c
779
error = xfs_iread_extents(NULL, quotip, XFS_DATA_FORK);
fs/xfs/xfs_dquot.c
780
if (error)
fs/xfs/xfs_dquot.c
781
return error;
fs/xfs/xfs_dquot.c
789
error = -ENOENT;
fs/xfs/xfs_dquot.c
794
return error;
fs/xfs/xfs_dquot.c
854
int error;
fs/xfs/xfs_dquot.c
858
error = radix_tree_insert(tree, id, dqp);
fs/xfs/xfs_dquot.c
859
if (unlikely(error)) {
fs/xfs/xfs_dquot.c
870
return error;
fs/xfs/xfs_dquot.c
911
int error;
fs/xfs/xfs_dquot.c
913
error = xfs_qm_dqget_checks(mp, type);
fs/xfs/xfs_dquot.c
914
if (error)
fs/xfs/xfs_dquot.c
915
return error;
fs/xfs/xfs_dquot.c
922
error = xfs_qm_dqread(mp, id, type, can_alloc, &dqp);
fs/xfs/xfs_dquot.c
923
if (error)
fs/xfs/xfs_dquot.c
924
return error;
fs/xfs/xfs_dquot.c
926
error = xfs_qm_dqget_cache_insert(mp, id, type, dqp);
fs/xfs/xfs_dquot.c
927
if (error) {
fs/xfs/xfs_dquot.c
929
if (error == -EEXIST) {
fs/xfs/xfs_dquot.c
937
return error;
fs/xfs/xfs_dquot.c
959
int error;
fs/xfs/xfs_dquot.c
961
error = xfs_qm_dqget_checks(mp, type);
fs/xfs/xfs_dquot.c
962
if (error)
fs/xfs/xfs_dquot.c
963
return error;
fs/xfs/xfs_dquot_item.c
130
int error;
fs/xfs/xfs_dquot_item.c
159
error = xfs_dquot_use_attached_buf(dqp, &bp);
fs/xfs/xfs_dquot_item.c
160
if (error == -EAGAIN) {
fs/xfs/xfs_dquot_item.c
170
error = xfs_qm_dqflush(dqp, bp);
fs/xfs/xfs_dquot_item.c
171
if (!error) {
fs/xfs/xfs_dquot_item_recover.c
128
error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, dq_f->qlf_blkno,
fs/xfs/xfs_dquot_item_recover.c
131
if (error)
fs/xfs/xfs_dquot_item_recover.c
132
return error;
fs/xfs/xfs_dquot_item_recover.c
165
error = -EFSCORRUPTED;
fs/xfs/xfs_dquot_item_recover.c
73
int error;
fs/xfs/xfs_error.c
306
int error,
fs/xfs/xfs_error.c
317
__xfs_buf_ioerror(bp, error, fa);
fs/xfs/xfs_error.c
344
int error,
fs/xfs/xfs_error.c
347
return xfs_buf_verifier_error(bp, error, "", xfs_buf_offset(bp, 0),
fs/xfs/xfs_error.c
358
int error,
fs/xfs/xfs_error.c
371
error == -EFSBADCRC ? "CRC error" : "corruption",
fs/xfs/xfs_error.h
17
void xfs_buf_verifier_error(struct xfs_buf *bp, int error, const char *name,
fs/xfs/xfs_error.h
19
void xfs_verifier_error(struct xfs_buf *bp, int error, xfs_failaddr_t failaddr);
fs/xfs/xfs_error.h
20
void xfs_inode_verifier_error(struct xfs_inode *ip, int error, const char *name,
fs/xfs/xfs_exchmaps_item.c
297
int error;
fs/xfs/xfs_exchmaps_item.c
309
error = xfs_exchmaps_finish_one(tp, xmi);
fs/xfs/xfs_exchmaps_item.c
310
if (error != -EAGAIN)
fs/xfs/xfs_exchmaps_item.c
312
return error;
fs/xfs/xfs_exchmaps_item.c
365
int error;
fs/xfs/xfs_exchmaps_item.c
374
error = xlog_recover_iget_handle(mp, xlf->xmi_inode1, xlf->xmi_igen1,
fs/xfs/xfs_exchmaps_item.c
376
if (error) {
fs/xfs/xfs_exchmaps_item.c
379
return ERR_PTR(error);
fs/xfs/xfs_exchmaps_item.c
382
error = xlog_recover_iget_handle(mp, xlf->xmi_inode2, xlf->xmi_igen2,
fs/xfs/xfs_exchmaps_item.c
384
if (error) {
fs/xfs/xfs_exchmaps_item.c
398
error = xfs_exchmaps_estimate(req);
fs/xfs/xfs_exchmaps_item.c
400
if (error)
fs/xfs/xfs_exchmaps_item.c
414
return ERR_PTR(error);
fs/xfs/xfs_exchmaps_item.c
431
int error = 0;
fs/xfs/xfs_exchmaps_item.c
448
error = xfs_trans_alloc(mp, &resv, req.resblks, 0, 0, &tp);
fs/xfs/xfs_exchmaps_item.c
449
if (error)
fs/xfs/xfs_exchmaps_item.c
456
error = xlog_recover_finish_intent(tp, dfp);
fs/xfs/xfs_exchmaps_item.c
457
if (error == -EFSCORRUPTED)
fs/xfs/xfs_exchmaps_item.c
461
if (error)
fs/xfs/xfs_exchmaps_item.c
468
error = xfs_defer_ops_capture_and_commit(tp, capture_list);
fs/xfs/xfs_exchmaps_item.c
478
return error;
fs/xfs/xfs_exchrange.c
120
int error;
fs/xfs/xfs_exchrange.c
145
error = xfs_trans_reserve_quota_nblks(tp, req->ip1,
fs/xfs/xfs_exchrange.c
149
if (error == -EDQUOT || error == -ENOSPC) {
fs/xfs/xfs_exchrange.c
155
ip1_error = error;
fs/xfs/xfs_exchrange.c
156
error = 0;
fs/xfs/xfs_exchrange.c
158
if (error)
fs/xfs/xfs_exchrange.c
159
return error;
fs/xfs/xfs_exchrange.c
162
error = xfs_trans_reserve_quota_nblks(tp, req->ip2,
fs/xfs/xfs_exchrange.c
166
if (error == -EDQUOT || error == -ENOSPC)
fs/xfs/xfs_exchrange.c
168
if (error)
fs/xfs/xfs_exchrange.c
169
return error;
fs/xfs/xfs_exchrange.c
181
error = xfs_trans_reserve_quota_nblks(tp, req->ip1, req->ip1_bcount,
fs/xfs/xfs_exchrange.c
183
if (error)
fs/xfs/xfs_exchrange.c
184
return error;
fs/xfs/xfs_exchrange.c
208
int error;
fs/xfs/xfs_exchrange.c
225
error = xfs_exchrange_estimate(&req);
fs/xfs/xfs_exchrange.c
226
if (error)
fs/xfs/xfs_exchrange.c
227
return error;
fs/xfs/xfs_exchrange.c
231
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, req.resblks, 0,
fs/xfs/xfs_exchrange.c
233
if (error)
fs/xfs/xfs_exchrange.c
234
return error;
fs/xfs/xfs_exchrange.c
241
error = xfs_exchmaps_check_forks(mp, &req);
fs/xfs/xfs_exchrange.c
242
if (error)
fs/xfs/xfs_exchrange.c
250
error = xfs_exchrange_reserve_quota(tp, &req, &qretry);
fs/xfs/xfs_exchrange.c
251
if ((error == -EDQUOT || error == -ENOSPC) && !retried) {
fs/xfs/xfs_exchrange.c
261
if (error)
fs/xfs/xfs_exchrange.c
284
error = xfs_trans_commit(tp);
fs/xfs/xfs_exchrange.c
289
if (error)
fs/xfs/xfs_exchrange.c
308
return error;
fs/xfs/xfs_exchrange.c
349
int error;
fs/xfs/xfs_exchrange.c
397
error = generic_write_check_limits(fxr->file2, fxr->file2_offset,
fs/xfs/xfs_exchrange.c
399
if (error)
fs/xfs/xfs_exchrange.c
400
return error;
fs/xfs/xfs_exchrange.c
401
error = generic_write_check_limits(fxr->file1, fxr->file1_offset,
fs/xfs/xfs_exchrange.c
403
if (error)
fs/xfs/xfs_exchrange.c
404
return error;
fs/xfs/xfs_exchrange.c
461
int error;
fs/xfs/xfs_exchrange.c
464
error = xfs_exchange_range_checks(fxr, alloc_unit);
fs/xfs/xfs_exchrange.c
465
if (error || fxr->length == 0)
fs/xfs/xfs_exchrange.c
466
return error;
fs/xfs/xfs_exchrange.c
473
error = filemap_write_and_wait_range(inode1->i_mapping,
fs/xfs/xfs_exchrange.c
476
if (error)
fs/xfs/xfs_exchrange.c
477
return error;
fs/xfs/xfs_exchrange.c
479
error = filemap_write_and_wait_range(inode2->i_mapping,
fs/xfs/xfs_exchrange.c
482
if (error)
fs/xfs/xfs_exchrange.c
483
return error;
fs/xfs/xfs_exchrange.c
505
int error;
fs/xfs/xfs_exchrange.c
507
error = file_remove_privs(fxr->file1);
fs/xfs/xfs_exchrange.c
508
if (error)
fs/xfs/xfs_exchrange.c
509
return error;
fs/xfs/xfs_exchrange.c
594
int error;
fs/xfs/xfs_exchrange.c
604
error = xfs_exchrange_check_rtalign(fxr, ip1, ip2, alloc_unit);
fs/xfs/xfs_exchrange.c
605
if (error)
fs/xfs/xfs_exchrange.c
606
return error;
fs/xfs/xfs_exchrange.c
615
error = xfs_exchange_range_prep(fxr, alloc_unit);
fs/xfs/xfs_exchrange.c
616
if (error || fxr->length == 0)
fs/xfs/xfs_exchrange.c
617
return error;
fs/xfs/xfs_exchrange.c
620
error = xfs_exchrange_check_freshness(fxr, ip2);
fs/xfs/xfs_exchrange.c
621
if (error)
fs/xfs/xfs_exchrange.c
622
return error;
fs/xfs/xfs_exchrange.c
626
error = xfs_qm_dqattach(ip2);
fs/xfs/xfs_exchrange.c
627
if (error)
fs/xfs/xfs_exchrange.c
628
return error;
fs/xfs/xfs_exchrange.c
629
error = xfs_qm_dqattach(ip1);
fs/xfs/xfs_exchrange.c
630
if (error)
fs/xfs/xfs_exchrange.c
631
return error;
fs/xfs/xfs_exchrange.c
636
error = xfs_flush_unmap_range(ip2, fxr->file2_offset, fxr->length);
fs/xfs/xfs_exchrange.c
637
if (error)
fs/xfs/xfs_exchrange.c
638
return error;
fs/xfs/xfs_exchrange.c
639
error = xfs_flush_unmap_range(ip1, fxr->file1_offset, fxr->length);
fs/xfs/xfs_exchrange.c
640
if (error)
fs/xfs/xfs_exchrange.c
641
return error;
fs/xfs/xfs_exchrange.c
649
error = xfs_reflink_cancel_cow_range(ip1, fxr->file1_offset,
fs/xfs/xfs_exchrange.c
651
if (error)
fs/xfs/xfs_exchrange.c
652
return error;
fs/xfs/xfs_exchrange.c
656
error = xfs_reflink_cancel_cow_range(ip2, fxr->file2_offset,
fs/xfs/xfs_exchrange.c
658
if (error)
fs/xfs/xfs_exchrange.c
659
return error;
fs/xfs/xfs_exchrange.c
67
int error;
fs/xfs/xfs_exchrange.c
678
int error;
fs/xfs/xfs_exchrange.c
691
error = xfs_ilock2_io_mmap(ip1, ip2);
fs/xfs/xfs_exchrange.c
692
if (error)
fs/xfs/xfs_exchrange.c
696
error = xfs_exchrange_prep(fxr, ip1, ip2);
fs/xfs/xfs_exchrange.c
697
if (error)
fs/xfs/xfs_exchrange.c
70
error = xfs_exchmaps_estimate(req);
fs/xfs/xfs_exchrange.c
700
error = xfs_exchrange_mappings(fxr, ip1, ip2);
fs/xfs/xfs_exchrange.c
701
if (error)
fs/xfs/xfs_exchrange.c
709
error = xfs_exchange_range_finish(fxr);
fs/xfs/xfs_exchrange.c
710
if (error)
fs/xfs/xfs_exchrange.c
716
if (error)
fs/xfs/xfs_exchrange.c
717
trace_xfs_exchrange_error(ip2, error, _RET_IP_);
fs/xfs/xfs_exchrange.c
718
return error;
fs/xfs/xfs_exchrange.c
72
return error;
fs/xfs/xfs_export.c
113
int error;
fs/xfs/xfs_export.c
126
error = xfs_iget(mp, NULL, ino, XFS_IGET_UNTRUSTED, 0, &ip);
fs/xfs/xfs_export.c
127
if (error) {
fs/xfs/xfs_export.c
137
switch (error) {
fs/xfs/xfs_export.c
141
error = -ESTALE;
fs/xfs/xfs_export.c
146
return ERR_PTR(error);
fs/xfs/xfs_export.c
155
error = xfs_inode_reload_unlinked(ip);
fs/xfs/xfs_export.c
156
if (error) {
fs/xfs/xfs_export.c
159
return ERR_PTR(error);
fs/xfs/xfs_export.c
223
int error;
fs/xfs/xfs_export.c
226
error = xfs_lookup(XFS_I(d_inode(child)), &xfs_name_dotdot, &cip, NULL);
fs/xfs/xfs_export.c
227
if (unlikely(error))
fs/xfs/xfs_export.c
228
return ERR_PTR(error);
fs/xfs/xfs_extent_busy.c
617
int error;
fs/xfs/xfs_extent_busy.c
619
error = xfs_log_force(tp->t_mountp, XFS_LOG_SYNC);
fs/xfs/xfs_extent_busy.c
620
if (error)
fs/xfs/xfs_extent_busy.c
621
return error;
fs/xfs/xfs_extfree_item.c
534
int error = 0;
fs/xfs/xfs_extfree_item.c
553
error = __xfs_free_extent(tp, to_perag(xefi->xefi_group), agbno,
fs/xfs/xfs_extfree_item.c
556
if (error == -EAGAIN) {
fs/xfs/xfs_extfree_item.c
558
return error;
fs/xfs/xfs_extfree_item.c
563
return error;
fs/xfs/xfs_extfree_item.c
590
int error;
fs/xfs/xfs_extfree_item.c
599
error = xfs_alloc_read_agf(to_perag(xefi->xefi_group), tp, 0, &agbp);
fs/xfs/xfs_extfree_item.c
600
if (!error)
fs/xfs/xfs_extfree_item.c
601
error = xfs_free_ag_extent(tp, agbp, agbno, 1, &oinfo,
fs/xfs/xfs_extfree_item.c
606
return error;
fs/xfs/xfs_extfree_item.c
660
int error = 0;
fs/xfs/xfs_extfree_item.c
682
error = xfs_trans_alloc(mp, &resv, 0, 0, 0, &tp);
fs/xfs/xfs_extfree_item.c
683
if (error)
fs/xfs/xfs_extfree_item.c
684
return error;
fs/xfs/xfs_extfree_item.c
686
error = xlog_recover_finish_intent(tp, dfp);
fs/xfs/xfs_extfree_item.c
687
if (error == -EFSCORRUPTED)
fs/xfs/xfs_extfree_item.c
691
if (error)
fs/xfs/xfs_extfree_item.c
698
return error;
fs/xfs/xfs_extfree_item.c
778
int error = 0;
fs/xfs/xfs_extfree_item.c
799
error = xfs_zone_free_blocks(tp, *rtgp, xefi->xefi_startblock,
fs/xfs/xfs_extfree_item.c
802
error = xfs_rtfree_blocks(tp, *rtgp, xefi->xefi_startblock,
fs/xfs/xfs_extfree_item.c
806
if (error == -EAGAIN) {
fs/xfs/xfs_extfree_item.c
808
return error;
fs/xfs/xfs_extfree_item.c
813
return error;
fs/xfs/xfs_extfree_item.c
867
int error;
fs/xfs/xfs_extfree_item.c
878
error = xfs_efi_copy_format(&item->ri_buf[0], &efip->efi_format);
fs/xfs/xfs_extfree_item.c
879
if (error) {
fs/xfs/xfs_extfree_item.c
881
return error;
fs/xfs/xfs_extfree_item.c
906
int error;
fs/xfs/xfs_extfree_item.c
917
error = xfs_efi_copy_format(&item->ri_buf[0], &efip->efi_format);
fs/xfs/xfs_extfree_item.c
918
if (error) {
fs/xfs/xfs_extfree_item.c
920
return error;
fs/xfs/xfs_file.c
1224
int error;
fs/xfs/xfs_file.c
1236
error = xfs_collapse_file_space(XFS_I(inode), offset, len, ac);
fs/xfs/xfs_file.c
1237
if (error)
fs/xfs/xfs_file.c
1238
return error;
fs/xfs/xfs_file.c
1250
int error;
fs/xfs/xfs_file.c
1266
error = xfs_falloc_setsize(file, isize + len);
fs/xfs/xfs_file.c
1267
if (error)
fs/xfs/xfs_file.c
1268
return error;
fs/xfs/xfs_file.c
133
int error, err2;
fs/xfs/xfs_file.c
1331
int error;
fs/xfs/xfs_file.c
1335
error = xfs_falloc_newsize(file, mode, offset, len, &new_size);
fs/xfs/xfs_file.c
1336
if (error)
fs/xfs/xfs_file.c
1337
return error;
fs/xfs/xfs_file.c
1340
error = xfs_zero_range(ip, offset, len, ac, NULL);
fs/xfs/xfs_file.c
1342
error = xfs_free_file_space(ip, offset, len, ac);
fs/xfs/xfs_file.c
1343
if (error)
fs/xfs/xfs_file.c
1344
return error;
fs/xfs/xfs_file.c
1349
error = xfs_alloc_file_space(ip, offset, len);
fs/xfs/xfs_file.c
1351
if (error)
fs/xfs/xfs_file.c
1352
return error;
fs/xfs/xfs_file.c
1365
int error;
fs/xfs/xfs_file.c
1367
error = xfs_falloc_newsize(file, mode, offset, len, &new_size);
fs/xfs/xfs_file.c
1368
if (error)
fs/xfs/xfs_file.c
1369
return error;
fs/xfs/xfs_file.c
1371
error = xfs_reflink_unshare(XFS_I(inode), offset, len);
fs/xfs/xfs_file.c
1372
if (error)
fs/xfs/xfs_file.c
1373
return error;
fs/xfs/xfs_file.c
1375
error = xfs_alloc_file_space(XFS_I(inode), offset, len);
fs/xfs/xfs_file.c
1376
if (error)
fs/xfs/xfs_file.c
1377
return error;
fs/xfs/xfs_file.c
138
error = file_write_and_wait_range(file, start, end);
fs/xfs/xfs_file.c
139
if (error)
fs/xfs/xfs_file.c
1390
int error;
fs/xfs/xfs_file.c
1399
error = xfs_falloc_newsize(file, mode, offset, len, &new_size);
fs/xfs/xfs_file.c
140
return error;
fs/xfs/xfs_file.c
1400
if (error)
fs/xfs/xfs_file.c
1401
return error;
fs/xfs/xfs_file.c
1403
error = xfs_alloc_file_space(XFS_I(inode), offset, len);
fs/xfs/xfs_file.c
1404
if (error)
fs/xfs/xfs_file.c
1405
return error;
fs/xfs/xfs_file.c
1425
long error;
fs/xfs/xfs_file.c
1429
error = xfs_break_layouts(inode, &iolock, BREAK_UNMAP);
fs/xfs/xfs_file.c
1430
if (error)
fs/xfs/xfs_file.c
1442
error = file_modified(file);
fs/xfs/xfs_file.c
1443
if (error)
fs/xfs/xfs_file.c
1448
error = xfs_free_file_space(ip, offset, len, ac);
fs/xfs/xfs_file.c
1451
error = xfs_falloc_collapse_range(file, offset, len, ac);
fs/xfs/xfs_file.c
1454
error = xfs_falloc_insert_range(file, offset, len);
fs/xfs/xfs_file.c
1457
error = xfs_falloc_zero_range(file, mode, offset, len, ac);
fs/xfs/xfs_file.c
1460
error = xfs_falloc_unshare_range(file, mode, offset, len);
fs/xfs/xfs_file.c
1463
error = xfs_falloc_allocate_range(file, mode, offset, len);
fs/xfs/xfs_file.c
1466
error = -EOPNOTSUPP;
fs/xfs/xfs_file.c
1470
if (!error && xfs_file_sync_writes(file))
fs/xfs/xfs_file.c
1471
error = xfs_log_force_inode(ip);
fs/xfs/xfs_file.c
1475
return error;
fs/xfs/xfs_file.c
1489
int error;
fs/xfs/xfs_file.c
1502
error = xfs_zoned_space_reserve(mp, count_fsb, XFS_ZR_RESERVED, &ac);
fs/xfs/xfs_file.c
1503
if (error)
fs/xfs/xfs_file.c
1504
return error;
fs/xfs/xfs_file.c
1505
error = __xfs_file_fallocate(file, mode, offset, len, &ac);
fs/xfs/xfs_file.c
1507
return error;
fs/xfs/xfs_file.c
154
error = blkdev_issue_flush(mp->m_rtdev_targp->bt_bdev);
fs/xfs/xfs_file.c
156
error = blkdev_issue_flush(mp->m_ddev_targp->bt_bdev);
fs/xfs/xfs_file.c
164
if (err2 && !error)
fs/xfs/xfs_file.c
165
error = err2;
fs/xfs/xfs_file.c
1658
int error;
fs/xfs/xfs_file.c
1662
error = generic_file_open(inode, file);
fs/xfs/xfs_file.c
1663
if (error)
fs/xfs/xfs_file.c
1664
return error;
fs/xfs/xfs_file.c
1672
error = xfs_dir3_data_readahead(ip, 0, 0);
fs/xfs/xfs_file.c
1674
return error;
fs/xfs/xfs_file.c
178
if (err2 && !error)
fs/xfs/xfs_file.c
179
error = err2;
fs/xfs/xfs_file.c
182
return error;
fs/xfs/xfs_file.c
1907
int error;
fs/xfs/xfs_file.c
1916
error = xfs_zoned_space_reserve(ip->i_mount,
fs/xfs/xfs_file.c
1918
if (error < 0)
fs/xfs/xfs_file.c
1919
return vmf_fs_error(error);
fs/xfs/xfs_file.c
393
int error;
fs/xfs/xfs_file.c
443
error = xfs_zero_range(ip, isize, iocb->ki_pos - isize, ac, NULL);
fs/xfs/xfs_file.c
446
return error;
fs/xfs/xfs_file.c
466
ssize_t error;
fs/xfs/xfs_file.c
469
error = generic_write_checks(iocb, from);
fs/xfs/xfs_file.c
470
if (error <= 0)
fs/xfs/xfs_file.c
471
return error;
fs/xfs/xfs_file.c
474
error = break_layout(inode, false);
fs/xfs/xfs_file.c
475
if (error == -EWOULDBLOCK)
fs/xfs/xfs_file.c
476
error = -EAGAIN;
fs/xfs/xfs_file.c
478
error = xfs_break_layouts(inode, iolock, BREAK_WRITE);
fs/xfs/xfs_file.c
481
if (error)
fs/xfs/xfs_file.c
482
return error;
fs/xfs/xfs_file.c
491
error = xfs_ilock_iocb(iocb, *iolock);
fs/xfs/xfs_file.c
492
if (error) {
fs/xfs/xfs_file.c
494
return error;
fs/xfs/xfs_file.c
510
error = xfs_file_write_zero_eof(iocb, from, iolock, count,
fs/xfs/xfs_file.c
512
if (error == 1)
fs/xfs/xfs_file.c
514
if (error)
fs/xfs/xfs_file.c
515
return error;
fs/xfs/xfs_file.c
530
int error;
fs/xfs/xfs_file.c
545
error = generic_write_check_limits(iocb->ki_filp, iocb->ki_pos, &count);
fs/xfs/xfs_file.c
546
if (error)
fs/xfs/xfs_file.c
547
return error;
fs/xfs/xfs_file.c
567
int error,
fs/xfs/xfs_file.c
583
if (error)
fs/xfs/xfs_file.c
584
return error;
fs/xfs/xfs_file.c
603
error = xfs_reflink_end_atomic_cow(ip, offset, size);
fs/xfs/xfs_file.c
605
error = xfs_reflink_end_cow(ip, offset, size);
fs/xfs/xfs_file.c
606
if (error)
fs/xfs/xfs_file.c
617
error = xfs_iomap_write_unwritten(ip, offset, size, true);
fs/xfs/xfs_file.c
646
error = xfs_setfilesize(ip, offset, size);
fs/xfs/xfs_file.c
653
return error;
fs/xfs/xfs_file.c
958
ssize_t ret, error = 0;
fs/xfs/xfs_file.c
974
error = xfs_setfilesize(ip, pos, ret);
fs/xfs/xfs_file.c
979
if (error)
fs/xfs/xfs_file.c
980
return error;
fs/xfs/xfs_filestream.c
212
int error = 0;
fs/xfs/xfs_filestream.c
243
error = xfs_bmap_longest_free_extent(pag, args->tp, longest);
fs/xfs/xfs_filestream.c
244
if (error == -EAGAIN)
fs/xfs/xfs_filestream.c
245
error = 0;
fs/xfs/xfs_filestream.c
246
if (error || *longest < args->maxlen) {
fs/xfs/xfs_filestream.c
250
return error;
fs/xfs/xfs_filestream.c
270
int error;
fs/xfs/xfs_filestream.c
297
error = xfs_filestream_pick_ag(args, pino, agno, flags, longest);
fs/xfs/xfs_filestream.c
298
if (error)
fs/xfs/xfs_filestream.c
299
return error;
fs/xfs/xfs_filestream.c
342
int error = 0;
fs/xfs/xfs_filestream.c
349
error = xfs_filestream_lookup_association(ap, args, ino,
fs/xfs/xfs_filestream.c
352
if (error)
fs/xfs/xfs_filestream.c
353
return error;
fs/xfs/xfs_filestream.c
360
error = xfs_filestream_create_association(ap, args, ino, longest);
fs/xfs/xfs_filestream.c
361
if (error)
fs/xfs/xfs_filestream.c
362
return error;
fs/xfs/xfs_fsmap.c
1001
error = xfs_getfsmap_rtdev_rmapbt_query(tp, info, &bt_cur);
fs/xfs/xfs_fsmap.c
1002
if (error)
fs/xfs/xfs_fsmap.c
1019
error = xfs_getfsmap_rtdev_rmapbt_helper(bt_cur,
fs/xfs/xfs_fsmap.c
1021
if (error)
fs/xfs/xfs_fsmap.c
1030
xfs_btree_del_cursor(bt_cur, error < 0 ? XFS_BTREE_ERROR :
fs/xfs/xfs_fsmap.c
1040
return error;
fs/xfs/xfs_fsmap.c
1167
int error = 0;
fs/xfs/xfs_fsmap.c
1280
error = handlers[i].fn(tp, dkeys, &info);
fs/xfs/xfs_fsmap.c
1281
if (error)
fs/xfs/xfs_fsmap.c
1297
return error;
fs/xfs/xfs_fsmap.c
1311
int error;
fs/xfs/xfs_fsmap.c
1356
error = xfs_getfsmap(ip->i_mount, &xhead, recs);
fs/xfs/xfs_fsmap.c
1357
switch (error) {
fs/xfs/xfs_fsmap.c
1371
error = 0;
fs/xfs/xfs_fsmap.c
1389
error = -EFAULT;
fs/xfs/xfs_fsmap.c
1414
error = -EFAULT;
fs/xfs/xfs_fsmap.c
1421
error = -EFAULT;
fs/xfs/xfs_fsmap.c
1427
return error;
fs/xfs/xfs_fsmap.c
217
int error;
fs/xfs/xfs_fsmap.c
230
error = xfs_refcount_find_shared(cur, frec->rec_key,
fs/xfs/xfs_fsmap.c
234
xfs_btree_del_cursor(cur, error);
fs/xfs/xfs_fsmap.c
235
if (error)
fs/xfs/xfs_fsmap.c
236
return error;
fs/xfs/xfs_fsmap.c
290
int error = 0;
fs/xfs/xfs_fsmap.c
348
error = xfs_fsmap_owner_from_frec(&fmr, frec);
fs/xfs/xfs_fsmap.c
349
if (error)
fs/xfs/xfs_fsmap.c
350
return error;
fs/xfs/xfs_fsmap.c
360
error = xfs_getfsmap_is_shared(tp, info, frec, &shared);
fs/xfs/xfs_fsmap.c
361
if (error)
fs/xfs/xfs_fsmap.c
362
return error;
fs/xfs/xfs_fsmap.c
484
int error = 0;
fs/xfs/xfs_fsmap.c
498
error = xfs_fsmap_owner_to_rmap(&info->low, &keys[0]);
fs/xfs/xfs_fsmap.c
499
if (error)
fs/xfs/xfs_fsmap.c
500
return error;
fs/xfs/xfs_fsmap.c
541
error = xfs_fsmap_owner_to_rmap(&info->high, &keys[1]);
fs/xfs/xfs_fsmap.c
542
if (error)
fs/xfs/xfs_fsmap.c
554
error = xfs_alloc_read_agf(pag, tp, 0, &info->agf_bp);
fs/xfs/xfs_fsmap.c
555
if (error)
fs/xfs/xfs_fsmap.c
563
error = query_fn(tp, info, &bt_cur, priv);
fs/xfs/xfs_fsmap.c
564
if (error)
fs/xfs/xfs_fsmap.c
581
error = query_fn(tp, info, &bt_cur, priv);
fs/xfs/xfs_fsmap.c
582
if (error)
fs/xfs/xfs_fsmap.c
589
xfs_btree_del_cursor(bt_cur, error < 0 ? XFS_BTREE_ERROR :
fs/xfs/xfs_fsmap.c
603
return error;
fs/xfs/xfs_fsmap.c
763
int error;
fs/xfs/xfs_fsmap.c
797
error = xfs_rtalloc_query_range(rtg, tp, start_rtx, end_rtx,
fs/xfs/xfs_fsmap.c
799
if (error)
fs/xfs/xfs_fsmap.c
814
error = xfs_getfsmap_rtdev_rtbitmap_helper(rtg, tp,
fs/xfs/xfs_fsmap.c
816
if (error)
fs/xfs/xfs_fsmap.c
834
return error;
fs/xfs/xfs_fsmap.c
888
int error = 0;
fs/xfs/xfs_fsmap.c
916
error = xfs_getfsmap_helper(tp, info, &frec);
fs/xfs/xfs_fsmap.c
917
if (error)
fs/xfs/xfs_fsmap.c
918
return error;
fs/xfs/xfs_fsmap.c
939
error = xfs_fsmap_owner_to_rmap(&info->low, &key0);
fs/xfs/xfs_fsmap.c
940
if (error)
fs/xfs/xfs_fsmap.c
941
return error;
fs/xfs/xfs_fsmap.c
982
error = xfs_fsmap_owner_to_rmap(&info->high, &keys[1]);
fs/xfs/xfs_fsmap.c
983
if (error)
fs/xfs/xfs_fsops.c
100
int error;
fs/xfs/xfs_fsops.c
109
error = xfs_sb_validate_fsb_count(&mp->m_sb, nb);
fs/xfs/xfs_fsops.c
110
if (error)
fs/xfs/xfs_fsops.c
111
return error;
fs/xfs/xfs_fsops.c
114
error = xfs_buf_read_uncached(mp->m_ddev_targp,
fs/xfs/xfs_fsops.c
117
if (error)
fs/xfs/xfs_fsops.c
118
return error;
fs/xfs/xfs_fsops.c
123
error = xfs_growfs_check_rtgeom(mp, nb, mp->m_sb.sb_rblocks,
fs/xfs/xfs_fsops.c
125
if (error)
fs/xfs/xfs_fsops.c
126
return error;
fs/xfs/xfs_fsops.c
146
error = xfs_initialize_perag(mp, oagcount, nagcount, nb, &nagimax);
fs/xfs/xfs_fsops.c
147
if (error)
fs/xfs/xfs_fsops.c
148
return error;
fs/xfs/xfs_fsops.c
151
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata,
fs/xfs/xfs_fsops.c
155
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, -delta, 0,
fs/xfs/xfs_fsops.c
157
if (error)
fs/xfs/xfs_fsops.c
162
error = xfs_resizefs_init_new_ags(tp, &id, oagcount, nagcount,
fs/xfs/xfs_fsops.c
166
error = xfs_ag_shrink_space(last_pag, &tp, -delta);
fs/xfs/xfs_fsops.c
169
if (error)
fs/xfs/xfs_fsops.c
193
error = xfs_trans_commit(tp);
fs/xfs/xfs_fsops.c
194
if (error)
fs/xfs/xfs_fsops.c
195
return error;
fs/xfs/xfs_fsops.c
220
error = xfs_fs_reserve_ag_blocks(mp);
fs/xfs/xfs_fsops.c
221
if (error == -ENOSPC)
fs/xfs/xfs_fsops.c
222
error = 0;
fs/xfs/xfs_fsops.c
229
return error;
fs/xfs/xfs_fsops.c
236
return error;
fs/xfs/xfs_fsops.c
268
int error;
fs/xfs/xfs_fsops.c
273
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata,
fs/xfs/xfs_fsops.c
275
if (error)
fs/xfs/xfs_fsops.c
276
return error;
fs/xfs/xfs_fsops.c
294
int error;
fs/xfs/xfs_fsops.c
303
error = -EINVAL;
fs/xfs/xfs_fsops.c
309
error = xfs_growfs_imaxpct(mp, in->imaxpct);
fs/xfs/xfs_fsops.c
310
if (error)
fs/xfs/xfs_fsops.c
315
error = xfs_growfs_data_private(mp, in);
fs/xfs/xfs_fsops.c
316
if (error)
fs/xfs/xfs_fsops.c
329
error = xfs_update_secondary_sbs(mp);
fs/xfs/xfs_fsops.c
338
return error;
fs/xfs/xfs_fsops.c
346
int error;
fs/xfs/xfs_fsops.c
352
error = xfs_growfs_log_private(mp, in);
fs/xfs/xfs_fsops.c
354
return error;
fs/xfs/xfs_fsops.c
371
int error = 0;
fs/xfs/xfs_fsops.c
438
error = xfs_dec_freecounter(mp, ctr, fdblks_delta, 0);
fs/xfs/xfs_fsops.c
439
if (!error)
fs/xfs/xfs_fsops.c
445
return error;
fs/xfs/xfs_fsops.c
546
int error = 0;
fs/xfs/xfs_fsops.c
552
if (err2 && !error)
fs/xfs/xfs_fsops.c
553
error = err2;
fs/xfs/xfs_fsops.c
556
if (error && error != -ENOSPC) {
fs/xfs/xfs_fsops.c
558
"Error %d reserving per-AG metadata reserve pool.", error);
fs/xfs/xfs_fsops.c
56
int error;
fs/xfs/xfs_fsops.c
560
return error;
fs/xfs/xfs_fsops.c
569
if (!error)
fs/xfs/xfs_fsops.c
570
error = err2;
fs/xfs/xfs_fsops.c
573
return error;
fs/xfs/xfs_fsops.c
71
error = xfs_ag_init_headers(mp, id);
fs/xfs/xfs_fsops.c
72
if (error) {
fs/xfs/xfs_fsops.c
74
return error;
fs/xfs/xfs_fsops.c
78
error = xfs_buf_delwri_submit(&id->buffer_list);
fs/xfs/xfs_fsops.c
79
if (error)
fs/xfs/xfs_fsops.c
80
return error;
fs/xfs/xfs_fsops.c
84
error = xfs_ag_extend_space(last_pag, tp, delta);
fs/xfs/xfs_fsops.c
86
return error;
fs/xfs/xfs_handle.c
100
error = user_path_at(AT_FDCWD, hreq->path, 0, &path);
fs/xfs/xfs_handle.c
101
if (error)
fs/xfs/xfs_handle.c
102
return error;
fs/xfs/xfs_handle.c
111
error = -EINVAL;
fs/xfs/xfs_handle.c
115
error = -EBADF;
fs/xfs/xfs_handle.c
130
error = -EFAULT;
fs/xfs/xfs_handle.c
135
error = 0;
fs/xfs/xfs_handle.c
139
return error;
fs/xfs/xfs_handle.c
295
int error;
fs/xfs/xfs_handle.c
306
error = -EINVAL;
fs/xfs/xfs_handle.c
311
error = -EFAULT;
fs/xfs/xfs_handle.c
315
error = vfs_readlink(dentry, hreq->ohandle, olen);
fs/xfs/xfs_handle.c
319
return error;
fs/xfs/xfs_handle.c
410
int error;
fs/xfs/xfs_handle.c
456
error = xfs_attr_list(&context);
fs/xfs/xfs_handle.c
457
if (error)
fs/xfs/xfs_handle.c
462
error = -EFAULT;
fs/xfs/xfs_handle.c
465
return error;
fs/xfs/xfs_handle.c
475
int error = -ENOMEM;
fs/xfs/xfs_handle.c
486
error = xfs_ioc_attr_list(XFS_I(d_inode(dentry)), al_hreq.buffer,
fs/xfs/xfs_handle.c
489
return error;
fs/xfs/xfs_handle.c
507
int error;
fs/xfs/xfs_handle.c
512
error = xfs_attr_get(&args);
fs/xfs/xfs_handle.c
513
if (error)
fs/xfs/xfs_handle.c
518
error = -EFAULT;
fs/xfs/xfs_handle.c
522
return error;
fs/xfs/xfs_handle.c
539
int error;
fs/xfs/xfs_handle.c
553
error = xfs_attr_change(&args, xfs_xattr_flags(flags, args.value));
fs/xfs/xfs_handle.c
554
if (!error && (flags & XFS_IOC_ATTR_ROOT))
fs/xfs/xfs_handle.c
557
return error;
fs/xfs/xfs_handle.c
571
int error;
fs/xfs/xfs_handle.c
582
error = xfs_attrmulti_attr_get(inode, name, value, len, flags);
fs/xfs/xfs_handle.c
589
error = mnt_want_write_file(parfilp);
fs/xfs/xfs_handle.c
590
if (error)
fs/xfs/xfs_handle.c
592
error = xfs_attrmulti_attr_set(inode, name, value, *len, flags);
fs/xfs/xfs_handle.c
596
error = -EINVAL;
fs/xfs/xfs_handle.c
601
return error;
fs/xfs/xfs_handle.c
609
int error;
fs/xfs/xfs_handle.c
628
error = -E2BIG;
fs/xfs/xfs_handle.c
635
error = PTR_ERR(ops);
fs/xfs/xfs_handle.c
639
error = 0;
fs/xfs/xfs_handle.c
648
error = -EFAULT;
fs/xfs/xfs_handle.c
653
return error;
fs/xfs/xfs_handle.c
699
int error;
fs/xfs/xfs_handle.c
704
error = xfs_parent_from_attr(mp, flags, name, namelen, value, valuelen,
fs/xfs/xfs_handle.c
706
if (error) {
fs/xfs/xfs_handle.c
760
int error;
fs/xfs/xfs_handle.c
797
error = xfs_attr_list(&gpx->context);
fs/xfs/xfs_handle.c
798
if (error)
fs/xfs/xfs_handle.c
801
error = gpx->context.seen_enough;
fs/xfs/xfs_handle.c
826
error = -EMSGSIZE;
fs/xfs/xfs_handle.c
837
error = -EFAULT;
fs/xfs/xfs_handle.c
842
return error;
fs/xfs/xfs_handle.c
856
int error;
fs/xfs/xfs_handle.c
865
error = xfs_getparents(&gpx);
fs/xfs/xfs_handle.c
866
if (error)
fs/xfs/xfs_handle.c
867
return error;
fs/xfs/xfs_handle.c
886
int error;
fs/xfs/xfs_handle.c
89
int error;
fs/xfs/xfs_handle.c
912
error = xfs_getparents(&gpx);
fs/xfs/xfs_handle.c
913
if (error)
fs/xfs/xfs_handle.c
917
error = -EFAULT;
fs/xfs/xfs_handle.c
921
return error;
fs/xfs/xfs_healthmon.c
352
int error = 0;
fs/xfs/xfs_healthmon.c
366
error = xfs_healthmon_clear_lost_prev(hm);
fs/xfs/xfs_healthmon.c
367
if (error)
fs/xfs/xfs_healthmon.c
386
error = -ENOMEM;
fs/xfs/xfs_healthmon.c
394
return error;
fs/xfs/xfs_healthmon.c
654
.error = -p->error,
fs/xfs/xfs_healthmon.c
801
hme.e.filerange.error = abs(event->error);
fs/xfs/xfs_healthmon.h
158
int error;
fs/xfs/xfs_icache.c
1543
int error;
fs/xfs/xfs_icache.c
1545
error = xfs_inode_free_eofblocks(ip, icw, &lockflags);
fs/xfs/xfs_icache.c
1546
if (error)
fs/xfs/xfs_icache.c
1549
error = xfs_inode_free_cowblocks(ip, icw, &lockflags);
fs/xfs/xfs_icache.c
1554
return error;
fs/xfs/xfs_icache.c
1565
int error;
fs/xfs/xfs_icache.c
1569
error = xfs_icwalk_ag(pag, XFS_ICWALK_BLOCKGC, NULL);
fs/xfs/xfs_icache.c
1570
if (error)
fs/xfs/xfs_icache.c
1572
pag_agno(pag), error);
fs/xfs/xfs_icache.c
1585
int error;
fs/xfs/xfs_icache.c
1589
error = xfs_icwalk(mp, XFS_ICWALK_BLOCKGC, icw);
fs/xfs/xfs_icache.c
1590
if (error)
fs/xfs/xfs_icache.c
1591
return error;
fs/xfs/xfs_icache.c
1729
int error = 0;
fs/xfs/xfs_icache.c
1733
error = xfs_blockgc_scan_inode(ip, icw);
fs/xfs/xfs_icache.c
1739
return error;
fs/xfs/xfs_icache.c
1769
int error = 0;
fs/xfs/xfs_icache.c
1818
error = xfs_icwalk_process_inode(goal, batch[i], pag,
fs/xfs/xfs_icache.c
1820
if (error == -EAGAIN) {
fs/xfs/xfs_icache.c
1824
if (error && last_error != -EFSCORRUPTED)
fs/xfs/xfs_icache.c
1825
last_error = error;
fs/xfs/xfs_icache.c
1829
if (error == -EFSCORRUPTED)
fs/xfs/xfs_icache.c
1862
int error = 0;
fs/xfs/xfs_icache.c
1866
error = xfs_icwalk_ag(pag, goal, icw);
fs/xfs/xfs_icache.c
1867
if (error) {
fs/xfs/xfs_icache.c
1868
last_error = error;
fs/xfs/xfs_icache.c
1869
if (error == -EFSCORRUPTED) {
fs/xfs/xfs_icache.c
1943
int error;
fs/xfs/xfs_icache.c
1946
error = xfs_inactive(ip);
fs/xfs/xfs_icache.c
1948
return error;
fs/xfs/xfs_icache.c
1989
int error;
fs/xfs/xfs_icache.c
1992
error = xfs_inodegc_inactivate(ip);
fs/xfs/xfs_icache.c
1993
if (error && !gc->error)
fs/xfs/xfs_icache.c
1994
gc->error = error;
fs/xfs/xfs_icache.c
331
int error;
fs/xfs/xfs_icache.c
341
error = inode_init_always(mp->m_super, inode);
fs/xfs/xfs_icache.c
353
return error;
fs/xfs/xfs_icache.c
367
int error;
fs/xfs/xfs_icache.c
372
error = xfs_reinit_inode(mp, inode);
fs/xfs/xfs_icache.c
374
if (error) {
fs/xfs/xfs_icache.c
387
return error;
fs/xfs/xfs_icache.c
481
int error = 0;
fs/xfs/xfs_icache.c
488
if (gc->error && !error)
fs/xfs/xfs_icache.c
489
error = gc->error;
fs/xfs/xfs_icache.c
490
gc->error = 0;
fs/xfs/xfs_icache.c
493
return error;
fs/xfs/xfs_icache.c
509
int error;
fs/xfs/xfs_icache.c
546
error = -ENOENT;
fs/xfs/xfs_icache.c
556
error = xfs_iget_check_free_state(ip, flags);
fs/xfs/xfs_icache.c
557
if (error)
fs/xfs/xfs_icache.c
579
error = xfs_iget_recycle(pag, ip);
fs/xfs/xfs_icache.c
580
if (error)
fs/xfs/xfs_icache.c
581
return error;
fs/xfs/xfs_icache.c
605
error = -EAGAIN;
fs/xfs/xfs_icache.c
609
return error;
fs/xfs/xfs_icache.c
634
int error;
fs/xfs/xfs_icache.c
649
error = xfs_imap(pag, tp, ip->i_ino, &ip->i_imap, flags);
fs/xfs/xfs_icache.c
650
if (error)
fs/xfs/xfs_icache.c
667
error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &bp);
fs/xfs/xfs_icache.c
668
if (error)
fs/xfs/xfs_icache.c
671
error = xfs_inode_from_disk(ip,
fs/xfs/xfs_icache.c
673
if (!error)
fs/xfs/xfs_icache.c
679
if (error)
fs/xfs/xfs_icache.c
689
error = xfs_iget_check_free_state(ip, flags);
fs/xfs/xfs_icache.c
690
if (error)
fs/xfs/xfs_icache.c
699
error = -EAGAIN;
fs/xfs/xfs_icache.c
729
error = radix_tree_insert(&pag->pag_ici_root, agino, ip);
fs/xfs/xfs_icache.c
730
if (unlikely(error)) {
fs/xfs/xfs_icache.c
731
WARN_ON(error != -EEXIST);
fs/xfs/xfs_icache.c
733
error = -EAGAIN;
fs/xfs/xfs_icache.c
750
return error;
fs/xfs/xfs_icache.c
777
int error;
fs/xfs/xfs_icache.c
792
error = 0;
fs/xfs/xfs_icache.c
797
error = xfs_iget_cache_hit(pag, ip, ino, flags, lock_flags);
fs/xfs/xfs_icache.c
798
if (error)
fs/xfs/xfs_icache.c
803
error = -ENODATA;
fs/xfs/xfs_icache.c
808
error = xfs_iget_cache_miss(mp, pag, tp, ino, &ip,
fs/xfs/xfs_icache.c
810
if (error)
fs/xfs/xfs_icache.c
828
error == -EAGAIN) {
fs/xfs/xfs_icache.c
833
return error;
fs/xfs/xfs_icache.c
852
int error;
fs/xfs/xfs_icache.c
854
error = xfs_iget(mp, tp, ino, 0, 0, &ip);
fs/xfs/xfs_icache.c
855
if (error == -EFSCORRUPTED || error == -EINVAL)
fs/xfs/xfs_icache.c
857
if (error)
fs/xfs/xfs_icache.c
858
return error;
fs/xfs/xfs_icache.c
896
int error;
fs/xfs/xfs_icache.c
899
error = xfs_trans_metafile_iget(tp, ino, metafile_type, ipp);
fs/xfs/xfs_icache.c
901
return error;
fs/xfs/xfs_inode.c
1046
int error = 0;
fs/xfs/xfs_inode.c
1078
error = xfs_bunmapi_range(&tp, ip, flags, first_unmap_block,
fs/xfs/xfs_inode.c
1080
if (error)
fs/xfs/xfs_inode.c
1085
error = xfs_reflink_cancel_cow_blocks(ip, &tp,
fs/xfs/xfs_inode.c
1087
if (error)
fs/xfs/xfs_inode.c
1103
return error;
fs/xfs/xfs_inode.c
1135
int error;
fs/xfs/xfs_inode.c
1138
error = xfs_buf_incore(mp->m_ddev_targp,
fs/xfs/xfs_inode.c
1142
if (error)
fs/xfs/xfs_inode.c
1162
int error;
fs/xfs/xfs_inode.c
1164
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp);
fs/xfs/xfs_inode.c
1165
if (error) {
fs/xfs/xfs_inode.c
1167
return error;
fs/xfs/xfs_inode.c
1180
error = xfs_itruncate_extents(&tp, ip, XFS_DATA_FORK, 0);
fs/xfs/xfs_inode.c
1181
if (error)
fs/xfs/xfs_inode.c
1186
error = xfs_trans_commit(tp);
fs/xfs/xfs_inode.c
1187
if (error)
fs/xfs/xfs_inode.c
1197
return error;
fs/xfs/xfs_inode.c
1211
int error;
fs/xfs/xfs_inode.c
1225
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree,
fs/xfs/xfs_inode.c
1229
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ifree, 0, 0, 0, &tp);
fs/xfs/xfs_inode.c
1231
if (error) {
fs/xfs/xfs_inode.c
1232
if (error == -ENOSPC) {
fs/xfs/xfs_inode.c
1239
return error;
fs/xfs/xfs_inode.c
1265
error = xfs_ifree(tp, ip);
fs/xfs/xfs_inode.c
1267
if (error) {
fs/xfs/xfs_inode.c
1275
__func__, error);
fs/xfs/xfs_inode.c
1279
return error;
fs/xfs/xfs_inode.c
1390
int error = 0;
fs/xfs/xfs_inode.c
1420
error = xfs_reflink_cancel_cow_range(ip, 0, NULLFILEOFF, true);
fs/xfs/xfs_inode.c
1421
if (error)
fs/xfs/xfs_inode.c
1432
error = xfs_free_eofblocks(ip);
fs/xfs/xfs_inode.c
1453
error = xfs_qm_dqattach(ip);
fs/xfs/xfs_inode.c
1454
if (error)
fs/xfs/xfs_inode.c
1464
error = xfs_inactive_symlink(ip);
fs/xfs/xfs_inode.c
1466
error = xfs_inactive_truncate(ip);
fs/xfs/xfs_inode.c
1467
if (error)
fs/xfs/xfs_inode.c
1476
error = xfs_attr_inactive(ip);
fs/xfs/xfs_inode.c
1477
if (error)
fs/xfs/xfs_inode.c
1486
error = xfs_inactive_ifree(ip);
fs/xfs/xfs_inode.c
1494
return error;
fs/xfs/xfs_inode.c
1546
int error;
fs/xfs/xfs_inode.c
1567
error = xfs_iget(mp, tp, xfs_agino_to_ino(pag, next_agino),
fs/xfs/xfs_inode.c
1569
if (error) {
fs/xfs/xfs_inode.c
1571
return error;
fs/xfs/xfs_inode.c
1577
error = -EFSCORRUPTED;
fs/xfs/xfs_inode.c
1588
return error;
fs/xfs/xfs_inode.c
1706
int error;
fs/xfs/xfs_inode.c
1734
error = xfs_trans_get_buf(tp, mp->m_ddev_targp, blkno,
fs/xfs/xfs_inode.c
1736
if (error)
fs/xfs/xfs_inode.c
1737
return error;
fs/xfs/xfs_inode.c
1797
int error;
fs/xfs/xfs_inode.c
1807
error = xfs_inode_uninit(tp, pag, ip, &xic);
fs/xfs/xfs_inode.c
1808
if (error)
fs/xfs/xfs_inode.c
1820
error = xfs_ifree_cluster(tp, pag, ip, &xic);
fs/xfs/xfs_inode.c
1823
return error;
fs/xfs/xfs_inode.c
1919
int error = 0;
fs/xfs/xfs_inode.c
1929
error = xfs_qm_dqattach(dp);
fs/xfs/xfs_inode.c
1930
if (error)
fs/xfs/xfs_inode.c
1933
error = xfs_qm_dqattach(ip);
fs/xfs/xfs_inode.c
1934
if (error)
fs/xfs/xfs_inode.c
1937
error = xfs_parent_start(mp, &du.ppargs);
fs/xfs/xfs_inode.c
1938
if (error)
fs/xfs/xfs_inode.c
1953
error = xfs_trans_alloc_dir(dp, &M_RES(mp)->tr_remove, ip, &resblks,
fs/xfs/xfs_inode.c
1955
if (error) {
fs/xfs/xfs_inode.c
1956
ASSERT(error != -ENOSPC);
fs/xfs/xfs_inode.c
1960
error = xfs_dir_remove_child(tp, resblks, &du);
fs/xfs/xfs_inode.c
1961
if (error)
fs/xfs/xfs_inode.c
1972
error = xfs_trans_commit(tp);
fs/xfs/xfs_inode.c
1973
if (error)
fs/xfs/xfs_inode.c
1992
return error;
fs/xfs/xfs_inode.c
2093
int error;
fs/xfs/xfs_inode.c
2095
error = xfs_create_tmpfile(&args, &tmpfile);
fs/xfs/xfs_inode.c
2096
if (error)
fs/xfs/xfs_inode.c
2097
return error;
fs/xfs/xfs_inode.c
2101
error = xfs_inode_init_security(VFS_I(tmpfile), VFS_I(dp), &name);
fs/xfs/xfs_inode.c
2102
if (error) {
fs/xfs/xfs_inode.c
2105
return error;
fs/xfs/xfs_inode.c
2155
int error, nospace_error = 0;
fs/xfs/xfs_inode.c
2168
error = xfs_rename_alloc_whiteout(idmap, src_name, target_dp,
fs/xfs/xfs_inode.c
2170
if (error)
fs/xfs/xfs_inode.c
2171
return error;
fs/xfs/xfs_inode.c
2180
error = xfs_parent_start(mp, &du_src.ppargs);
fs/xfs/xfs_inode.c
2181
if (error)
fs/xfs/xfs_inode.c
2185
error = xfs_parent_start(mp, &du_wip.ppargs);
fs/xfs/xfs_inode.c
2186
if (error)
fs/xfs/xfs_inode.c
2191
error = xfs_parent_start(mp, &du_tgt.ppargs);
fs/xfs/xfs_inode.c
2192
if (error)
fs/xfs/xfs_inode.c
2200
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_rename, spaceres, 0, 0, &tp);
fs/xfs/xfs_inode.c
2201
if (error == -ENOSPC) {
fs/xfs/xfs_inode.c
2202
nospace_error = error;
fs/xfs/xfs_inode.c
2204
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_rename, 0, 0, 0,
fs/xfs/xfs_inode.c
2207
if (error)
fs/xfs/xfs_inode.c
2215
error = nospace_error;
fs/xfs/xfs_inode.c
2223
error = xfs_qm_vop_rename_dqattach(inodes);
fs/xfs/xfs_inode.c
2224
if (error) {
fs/xfs/xfs_inode.c
2249
error = xfs_projid_differ(target_dp, src_ip);
fs/xfs/xfs_inode.c
2250
if (error)
fs/xfs/xfs_inode.c
2255
error = xfs_dir_exchange_children(tp, &du_src, &du_tgt,
fs/xfs/xfs_inode.c
2257
if (error)
fs/xfs/xfs_inode.c
2269
error = xfs_trans_reserve_quota_nblks(tp, target_dp, spaceres,
fs/xfs/xfs_inode.c
2271
if (error == -EDQUOT || error == -ENOSPC) {
fs/xfs/xfs_inode.c
2280
nospace_error = error;
fs/xfs/xfs_inode.c
2282
error = 0;
fs/xfs/xfs_inode.c
2284
if (error)
fs/xfs/xfs_inode.c
2293
error = nospace_error;
fs/xfs/xfs_inode.c
2316
error = xfs_read_agi(pag, tp, 0, &bp);
fs/xfs/xfs_inode.c
2318
if (error)
fs/xfs/xfs_inode.c
2323
error = xfs_dir_rename_children(tp, &du_src, &du_tgt, spaceres,
fs/xfs/xfs_inode.c
2325
if (error)
fs/xfs/xfs_inode.c
2345
error = xfs_trans_commit(tp);
fs/xfs/xfs_inode.c
2362
if (error == -ENOSPC && nospace_error)
fs/xfs/xfs_inode.c
2363
error = nospace_error;
fs/xfs/xfs_inode.c
2364
return error;
fs/xfs/xfs_inode.c
2375
int error;
fs/xfs/xfs_inode.c
2391
error = -EFSCORRUPTED;
fs/xfs/xfs_inode.c
2510
error = 0;
fs/xfs/xfs_inode.c
2527
if (error)
fs/xfs/xfs_inode.c
2529
return error;
fs/xfs/xfs_inode.c
2554
int error = 0;
fs/xfs/xfs_inode.c
2610
error = -EIO;
fs/xfs/xfs_inode.c
2622
error = xfs_iflush(ip, bp);
fs/xfs/xfs_inode.c
2626
if (error)
fs/xfs/xfs_inode.c
2631
if (error) {
fs/xfs/xfs_inode.c
2645
return error;
fs/xfs/xfs_inode.c
2700
int error;
fs/xfs/xfs_inode.c
2707
error = break_layout(src, true);
fs/xfs/xfs_inode.c
2708
if (error)
fs/xfs/xfs_inode.c
2709
return error;
fs/xfs/xfs_inode.c
2711
error = break_layout(dest, true);
fs/xfs/xfs_inode.c
2712
if (error)
fs/xfs/xfs_inode.c
2713
return error;
fs/xfs/xfs_inode.c
2718
error = break_layout(src, false);
fs/xfs/xfs_inode.c
2719
if (error) {
fs/xfs/xfs_inode.c
2721
if (error == -EWOULDBLOCK)
fs/xfs/xfs_inode.c
2723
return error;
fs/xfs/xfs_inode.c
2731
error = break_layout(dest, false);
fs/xfs/xfs_inode.c
2732
if (error) {
fs/xfs/xfs_inode.c
2735
if (error == -EWOULDBLOCK)
fs/xfs/xfs_inode.c
2737
return error;
fs/xfs/xfs_inode.c
2748
int error;
fs/xfs/xfs_inode.c
2756
error = xfs_break_dax_layouts(VFS_I(ip1));
fs/xfs/xfs_inode.c
2757
if (error) {
fs/xfs/xfs_inode.c
2759
return error;
fs/xfs/xfs_inode.c
2772
error = dax_break_layout(VFS_I(ip2), 0, -1, NULL);
fs/xfs/xfs_inode.c
2773
if (error) {
fs/xfs/xfs_inode.c
2867
int error;
fs/xfs/xfs_inode.c
2871
error = xfs_ialloc_read_agi(pag, tp, 0, &agibp);
fs/xfs/xfs_inode.c
2873
if (error)
fs/xfs/xfs_inode.c
2874
return error;
fs/xfs/xfs_inode.c
2914
error = xfs_iunlink_reload_next(tp, agibp, prev_agino,
fs/xfs/xfs_inode.c
2916
if (error)
fs/xfs/xfs_inode.c
2924
error = -EFSCORRUPTED;
fs/xfs/xfs_inode.c
2936
if (!error && !foundit)
fs/xfs/xfs_inode.c
2937
error = -EFSCORRUPTED;
fs/xfs/xfs_inode.c
2938
return error;
fs/xfs/xfs_inode.c
2947
int error = 0;
fs/xfs/xfs_inode.c
2952
error = xfs_inode_reload_unlinked_bucket(tp, ip);
fs/xfs/xfs_inode.c
2956
return error;
fs/xfs/xfs_inode.c
3028
int error;
fs/xfs/xfs_inode.c
3036
error = xfs_break_dax_layouts(inode);
fs/xfs/xfs_inode.c
3037
if (error)
fs/xfs/xfs_inode.c
3041
error = xfs_break_leased_layouts(inode, iolock, &retry);
fs/xfs/xfs_inode.c
3045
error = -EINVAL;
fs/xfs/xfs_inode.c
3047
} while (error == 0 && retry);
fs/xfs/xfs_inode.c
3049
return error;
fs/xfs/xfs_inode.c
540
int error;
fs/xfs/xfs_inode.c
549
error = xfs_dir_lookup(NULL, dp, name, &inum, ci_name);
fs/xfs/xfs_inode.c
550
if (error)
fs/xfs/xfs_inode.c
553
error = xfs_iget(dp->i_mount, NULL, inum, 0, 0, ipp);
fs/xfs/xfs_inode.c
554
if (error)
fs/xfs/xfs_inode.c
563
error = -EFSCORRUPTED;
fs/xfs/xfs_inode.c
576
return error;
fs/xfs/xfs_inode.c
594
int error;
fs/xfs/xfs_inode.c
600
error = xfs_iget(mp, tp, ino, XFS_IGET_CREATE, XFS_ILOCK_EXCL, &ip);
fs/xfs/xfs_inode.c
601
if (error)
fs/xfs/xfs_inode.c
602
return error;
fs/xfs/xfs_inode.c
668
int error;
fs/xfs/xfs_inode.c
678
error = xfs_icreate_dqalloc(args, &udqp, &gdqp, &pdqp);
fs/xfs/xfs_inode.c
679
if (error)
fs/xfs/xfs_inode.c
680
return error;
fs/xfs/xfs_inode.c
690
error = xfs_parent_start(mp, &du.ppargs);
fs/xfs/xfs_inode.c
691
if (error)
fs/xfs/xfs_inode.c
700
error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks,
fs/xfs/xfs_inode.c
702
if (error == -ENOSPC) {
fs/xfs/xfs_inode.c
705
error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp,
fs/xfs/xfs_inode.c
708
if (error)
fs/xfs/xfs_inode.c
719
error = xfs_dialloc(&tp, args, &ino);
fs/xfs/xfs_inode.c
720
if (!error)
fs/xfs/xfs_inode.c
721
error = xfs_icreate(tp, ino, args, &du.ip);
fs/xfs/xfs_inode.c
722
if (error)
fs/xfs/xfs_inode.c
734
error = xfs_dir_create_child(tp, resblks, &du);
fs/xfs/xfs_inode.c
735
if (error)
fs/xfs/xfs_inode.c
753
error = xfs_trans_commit(tp);
fs/xfs/xfs_inode.c
754
if (error)
fs/xfs/xfs_inode.c
789
return error;
fs/xfs/xfs_inode.c
807
int error;
fs/xfs/xfs_inode.c
815
error = xfs_icreate_dqalloc(args, &udqp, &gdqp, &pdqp);
fs/xfs/xfs_inode.c
816
if (error)
fs/xfs/xfs_inode.c
817
return error;
fs/xfs/xfs_inode.c
822
error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks,
fs/xfs/xfs_inode.c
824
if (error)
fs/xfs/xfs_inode.c
827
error = xfs_dialloc(&tp, args, &ino);
fs/xfs/xfs_inode.c
828
if (!error)
fs/xfs/xfs_inode.c
829
error = xfs_icreate(tp, ino, args, &ip);
fs/xfs/xfs_inode.c
830
if (error)
fs/xfs/xfs_inode.c
843
error = xfs_iunlink(tp, ip);
fs/xfs/xfs_inode.c
844
if (error)
fs/xfs/xfs_inode.c
847
error = xfs_trans_commit(tp);
fs/xfs/xfs_inode.c
848
if (error)
fs/xfs/xfs_inode.c
877
return error;
fs/xfs/xfs_inode.c
922
int error, nospace_error = 0;
fs/xfs/xfs_inode.c
934
error = xfs_qm_dqattach(sip);
fs/xfs/xfs_inode.c
935
if (error)
fs/xfs/xfs_inode.c
938
error = xfs_qm_dqattach(tdp);
fs/xfs/xfs_inode.c
939
if (error)
fs/xfs/xfs_inode.c
942
error = xfs_parent_start(mp, &du.ppargs);
fs/xfs/xfs_inode.c
943
if (error)
fs/xfs/xfs_inode.c
947
error = xfs_trans_alloc_dir(tdp, &M_RES(mp)->tr_link, sip, &resblks,
fs/xfs/xfs_inode.c
949
if (error)
fs/xfs/xfs_inode.c
958
error = nospace_error;
fs/xfs/xfs_inode.c
962
error = xfs_projid_differ(tdp, sip);
fs/xfs/xfs_inode.c
963
if (error)
fs/xfs/xfs_inode.c
966
error = xfs_dir_add_child(tp, resblks, &du);
fs/xfs/xfs_inode.c
967
if (error)
fs/xfs/xfs_inode.c
978
error = xfs_trans_commit(tp);
fs/xfs/xfs_inode.c
982
return error;
fs/xfs/xfs_inode.c
991
if (error == -ENOSPC && nospace_error)
fs/xfs/xfs_inode.c
992
error = nospace_error;
fs/xfs/xfs_inode.c
993
return error;
fs/xfs/xfs_inode_item.c
158
int error;
fs/xfs/xfs_inode_item.c
170
error = xfs_imap_to_bp(ip->i_mount, tp, &ip->i_imap, &bp);
fs/xfs/xfs_inode_item.c
171
if (error)
fs/xfs/xfs_inode_item.c
172
return error;
fs/xfs/xfs_inode_item.c
751
int error;
fs/xfs/xfs_inode_item.c
784
error = xfs_iflush_cluster(bp);
fs/xfs/xfs_inode_item.c
785
if (!error) {
fs/xfs/xfs_inode_item.c
794
if (error == -EAGAIN)
fs/xfs/xfs_inode_item_recover.c
101
error = xfs_bmbt_change_owner(NULL, ip, XFS_DATA_FORK,
fs/xfs/xfs_inode_item_recover.c
103
if (error)
fs/xfs/xfs_inode_item_recover.c
109
error = xfs_bmbt_change_owner(NULL, ip, XFS_ATTR_FORK,
fs/xfs/xfs_inode_item_recover.c
111
if (error)
fs/xfs/xfs_inode_item_recover.c
117
return error;
fs/xfs/xfs_inode_item_recover.c
321
int error;
fs/xfs/xfs_inode_item_recover.c
335
error = xfs_inode_item_format_convert(&item->ri_buf[0], in_f);
fs/xfs/xfs_inode_item_recover.c
336
if (error)
fs/xfs/xfs_inode_item_recover.c
337
goto error;
fs/xfs/xfs_inode_item_recover.c
345
error = 0;
fs/xfs/xfs_inode_item_recover.c
347
goto error;
fs/xfs/xfs_inode_item_recover.c
351
error = xfs_buf_read(mp->m_ddev_targp, in_f->ilf_blkno, in_f->ilf_len,
fs/xfs/xfs_inode_item_recover.c
353
if (error)
fs/xfs/xfs_inode_item_recover.c
354
goto error;
fs/xfs/xfs_inode_item_recover.c
366
error = -EFSCORRUPTED;
fs/xfs/xfs_inode_item_recover.c
374
error = -EFSCORRUPTED;
fs/xfs/xfs_inode_item_recover.c
399
error = 0;
fs/xfs/xfs_inode_item_recover.c
423
error = 0;
fs/xfs/xfs_inode_item_recover.c
443
error = -EFSCORRUPTED;
fs/xfs/xfs_inode_item_recover.c
456
error = -EFSCORRUPTED;
fs/xfs/xfs_inode_item_recover.c
461
error = xlog_dinode_verify_extent_counts(mp, ldip);
fs/xfs/xfs_inode_item_recover.c
462
if (error)
fs/xfs/xfs_inode_item_recover.c
471
error = -EFSCORRUPTED;
fs/xfs/xfs_inode_item_recover.c
481
error = -EFSCORRUPTED;
fs/xfs/xfs_inode_item_recover.c
517
error = xlog_recover_inode_dbroot(mp, src, len, dip);
fs/xfs/xfs_inode_item_recover.c
518
if (error)
fs/xfs/xfs_inode_item_recover.c
563
error = -EFSCORRUPTED;
fs/xfs/xfs_inode_item_recover.c
572
error = xfs_recover_inode_owner_change(mp, dip, in_f,
fs/xfs/xfs_inode_item_recover.c
584
error = -EFSCORRUPTED;
fs/xfs/xfs_inode_item_recover.c
594
error:
fs/xfs/xfs_inode_item_recover.c
597
return error;
fs/xfs/xfs_inode_item_recover.c
84
int error;
fs/xfs/xfs_inode_item_recover.c
95
error = xfs_inode_from_disk(ip, dip);
fs/xfs/xfs_inode_item_recover.c
96
if (error)
fs/xfs/xfs_ioctl.c
1007
int error;
fs/xfs/xfs_ioctl.c
1023
error = mnt_want_write_file(filp);
fs/xfs/xfs_ioctl.c
1024
if (error)
fs/xfs/xfs_ioctl.c
1025
return error;
fs/xfs/xfs_ioctl.c
1041
error = xfs_sync_sb_buf(mp, true);
fs/xfs/xfs_ioctl.c
1042
if (error)
fs/xfs/xfs_ioctl.c
1048
error = xfs_update_secondary_sbs(mp);
fs/xfs/xfs_ioctl.c
1057
return error;
fs/xfs/xfs_ioctl.c
1114
int error;
fs/xfs/xfs_ioctl.c
1126
error = mnt_want_write_file(filp);
fs/xfs/xfs_ioctl.c
1127
if (error)
fs/xfs/xfs_ioctl.c
1128
return error;
fs/xfs/xfs_ioctl.c
1129
error = xfs_reserve_blocks(mp, XC_FREE_BLOCKS, fsop.resblks);
fs/xfs/xfs_ioctl.c
1131
if (error)
fs/xfs/xfs_ioctl.c
1132
return error;
fs/xfs/xfs_ioctl.c
1188
int error;
fs/xfs/xfs_ioctl.c
1211
error = vfs_getattr(&filp->f_path, &st, STATX_DIOALIGN, 0);
fs/xfs/xfs_ioctl.c
1212
if (error)
fs/xfs/xfs_ioctl.c
1213
return error;
fs/xfs/xfs_ioctl.c
130
error = xfs_inumbers(&breq, xfs_fsinumbers_fmt);
fs/xfs/xfs_ioctl.c
1307
error = mnt_want_write_file(filp);
fs/xfs/xfs_ioctl.c
1308
if (error)
fs/xfs/xfs_ioctl.c
1309
return error;
fs/xfs/xfs_ioctl.c
1310
error = xfs_ioc_swapext(&sxp);
fs/xfs/xfs_ioctl.c
1312
return error;
fs/xfs/xfs_ioctl.c
1328
error = mnt_want_write_file(filp);
fs/xfs/xfs_ioctl.c
1329
if (error)
fs/xfs/xfs_ioctl.c
1330
return error;
fs/xfs/xfs_ioctl.c
1331
error = xfs_growfs_data(mp, &in);
fs/xfs/xfs_ioctl.c
1333
return error;
fs/xfs/xfs_ioctl.c
1342
error = mnt_want_write_file(filp);
fs/xfs/xfs_ioctl.c
1343
if (error)
fs/xfs/xfs_ioctl.c
1344
return error;
fs/xfs/xfs_ioctl.c
1345
error = xfs_growfs_log(mp, &in);
fs/xfs/xfs_ioctl.c
1347
return error;
fs/xfs/xfs_ioctl.c
135
error = xfs_bulkstat_one(&breq, xfs_fsbulkstat_one_fmt);
fs/xfs/xfs_ioctl.c
1356
error = mnt_want_write_file(filp);
fs/xfs/xfs_ioctl.c
1357
if (error)
fs/xfs/xfs_ioctl.c
1358
return error;
fs/xfs/xfs_ioctl.c
1359
error = xfs_growfs_rt(mp, &in);
fs/xfs/xfs_ioctl.c
1361
return error;
fs/xfs/xfs_ioctl.c
138
error = xfs_bulkstat(&breq, xfs_fsbulkstat_one_fmt);
fs/xfs/xfs_ioctl.c
1407
error = xfs_fs_eofblocks_from_user(&eofb, &icw);
fs/xfs/xfs_ioctl.c
1408
if (error)
fs/xfs/xfs_ioctl.c
1409
return error;
fs/xfs/xfs_ioctl.c
142
if (error)
fs/xfs/xfs_ioctl.c
143
return error;
fs/xfs/xfs_ioctl.c
272
int error;
fs/xfs/xfs_ioctl.c
283
error = xfs_bulk_ireq_setup(mp, &hdr, &breq, arg->bulkstat);
fs/xfs/xfs_ioctl.c
284
if (error == -ECANCELED)
fs/xfs/xfs_ioctl.c
286
if (error < 0)
fs/xfs/xfs_ioctl.c
287
return error;
fs/xfs/xfs_ioctl.c
289
error = xfs_bulkstat(&breq, xfs_bulkstat_fmt);
fs/xfs/xfs_ioctl.c
290
if (error)
fs/xfs/xfs_ioctl.c
291
return error;
fs/xfs/xfs_ioctl.c
322
int error;
fs/xfs/xfs_ioctl.c
336
error = xfs_bulk_ireq_setup(mp, &hdr, &breq, arg->inumbers);
fs/xfs/xfs_ioctl.c
337
if (error == -ECANCELED)
fs/xfs/xfs_ioctl.c
339
if (error < 0)
fs/xfs/xfs_ioctl.c
340
return error;
fs/xfs/xfs_ioctl.c
342
error = xfs_inumbers(&breq, xfs_inumbers_fmt);
fs/xfs/xfs_ioctl.c
343
if (error)
fs/xfs/xfs_ioctl.c
344
return error;
fs/xfs/xfs_ioctl.c
386
int error;
fs/xfs/xfs_ioctl.c
399
error = xfs_ag_get_geometry(pag, &ageo);
fs/xfs/xfs_ioctl.c
401
if (error)
fs/xfs/xfs_ioctl.c
402
return error;
fs/xfs/xfs_ioctl.c
416
int error;
fs/xfs/xfs_ioctl.c
431
error = xfs_rtgroup_get_geometry(rtg, &rgeo);
fs/xfs/xfs_ioctl.c
433
if (error)
fs/xfs/xfs_ioctl.c
434
return error;
fs/xfs/xfs_ioctl.c
615
int error = -EROFS;
fs/xfs/xfs_ioctl.c
619
error = -EIO;
fs/xfs/xfs_ioctl.c
623
error = xfs_trans_alloc_ichange(ip, NULL, NULL, pdqp,
fs/xfs/xfs_ioctl.c
625
if (error)
fs/xfs/xfs_ioctl.c
634
return ERR_PTR(error);
fs/xfs/xfs_ioctl.c
734
int error;
fs/xfs/xfs_ioctl.c
745
error = xfs_ioctl_setattr_check_projid(ip, fa);
fs/xfs/xfs_ioctl.c
746
if (error)
fs/xfs/xfs_ioctl.c
747
return error;
fs/xfs/xfs_ioctl.c
758
error = xfs_qm_vop_dqalloc(ip, VFS_I(ip)->i_uid,
fs/xfs/xfs_ioctl.c
761
if (error)
fs/xfs/xfs_ioctl.c
762
return error;
fs/xfs/xfs_ioctl.c
769
error = PTR_ERR(tp);
fs/xfs/xfs_ioctl.c
773
error = xfs_ioctl_setattr_check_extsize(ip, fa);
fs/xfs/xfs_ioctl.c
774
if (error)
fs/xfs/xfs_ioctl.c
777
error = xfs_ioctl_setattr_check_cowextsize(ip, fa);
fs/xfs/xfs_ioctl.c
778
if (error)
fs/xfs/xfs_ioctl.c
781
error = xfs_ioctl_setattr_xflags(tp, ip, fa);
fs/xfs/xfs_ioctl.c
782
if (error)
fs/xfs/xfs_ioctl.c
826
error = xfs_trans_commit(tp);
fs/xfs/xfs_ioctl.c
834
return error;
fs/xfs/xfs_ioctl.c
840
return error;
fs/xfs/xfs_ioctl.c
874
int error, i;
fs/xfs/xfs_ioctl.c
903
error = xfs_getbmap(XFS_I(file_inode(file)), &bmx, buf);
fs/xfs/xfs_ioctl.c
904
if (error)
fs/xfs/xfs_ioctl.c
907
error = -EFAULT;
fs/xfs/xfs_ioctl.c
91
int error;
fs/xfs/xfs_ioctl.c
918
error = 0;
fs/xfs/xfs_ioctl.c
921
return error;
fs/xfs/xfs_ioctl32.c
212
int error;
fs/xfs/xfs_ioctl32.c
283
error = xfs_inumbers(&breq, inumbers_func);
fs/xfs/xfs_ioctl32.c
288
error = xfs_bulkstat_one(&breq, bs_one_func);
fs/xfs/xfs_ioctl32.c
292
error = xfs_bulkstat(&breq, bs_one_func);
fs/xfs/xfs_ioctl32.c
295
error = -EINVAL;
fs/xfs/xfs_ioctl32.c
297
if (error)
fs/xfs/xfs_ioctl32.c
298
return error;
fs/xfs/xfs_ioctl32.c
348
int error;
fs/xfs/xfs_ioctl32.c
359
error = xfs_ioc_attr_list(XFS_I(d_inode(dentry)),
fs/xfs/xfs_ioctl32.c
363
return error;
fs/xfs/xfs_ioctl32.c
371
int error;
fs/xfs/xfs_ioctl32.c
391
error = -E2BIG;
fs/xfs/xfs_ioctl32.c
398
error = PTR_ERR(ops);
fs/xfs/xfs_ioctl32.c
402
error = 0;
fs/xfs/xfs_ioctl32.c
412
error = -EFAULT;
fs/xfs/xfs_ioctl32.c
417
return error;
fs/xfs/xfs_ioctl32.c
429
int error;
fs/xfs/xfs_ioctl32.c
442
error = mnt_want_write_file(filp);
fs/xfs/xfs_ioctl32.c
443
if (error)
fs/xfs/xfs_ioctl32.c
444
return error;
fs/xfs/xfs_ioctl32.c
445
error = xfs_growfs_data(ip->i_mount, &in);
fs/xfs/xfs_ioctl32.c
447
return error;
fs/xfs/xfs_ioctl32.c
454
error = mnt_want_write_file(filp);
fs/xfs/xfs_ioctl32.c
455
if (error)
fs/xfs/xfs_ioctl32.c
456
return error;
fs/xfs/xfs_ioctl32.c
457
error = xfs_growfs_rt(ip->i_mount, &in);
fs/xfs/xfs_ioctl32.c
459
return error;
fs/xfs/xfs_ioctl32.c
475
error = mnt_want_write_file(filp);
fs/xfs/xfs_ioctl32.c
476
if (error)
fs/xfs/xfs_ioctl32.c
477
return error;
fs/xfs/xfs_ioctl32.c
478
error = xfs_ioc_swapext(&sxp);
fs/xfs/xfs_ioctl32.c
480
return error;
fs/xfs/xfs_iomap.c
1009
error = xfs_iomap_write_direct(ip, offset_fsb, end_fsb - offset_fsb,
fs/xfs/xfs_iomap.c
1011
if (error)
fs/xfs/xfs_iomap.c
1012
return error;
fs/xfs/xfs_iomap.c
1023
error = xfs_bmbt_to_iomap(ip, srcmap, &imap, flags, 0, seq);
fs/xfs/xfs_iomap.c
1024
if (error)
fs/xfs/xfs_iomap.c
1034
return error;
fs/xfs/xfs_iomap.c
1057
int error;
fs/xfs/xfs_iomap.c
1074
error = xfs_iread_extents(NULL, ip, XFS_DATA_FORK);
fs/xfs/xfs_iomap.c
1076
if (error)
fs/xfs/xfs_iomap.c
1077
return error;
fs/xfs/xfs_iomap.c
1138
int error;
fs/xfs/xfs_iomap.c
1195
error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks,
fs/xfs/xfs_iomap.c
1197
if (error)
fs/xfs/xfs_iomap.c
1198
return error;
fs/xfs/xfs_iomap.c
1219
error = xfs_bmapi_write(tp, ip, offset_fsb, hole_count_fsb,
fs/xfs/xfs_iomap.c
1222
if (error) {
fs/xfs/xfs_iomap.c
1228
error = xfs_trans_commit(tp);
fs/xfs/xfs_iomap.c
1229
if (error)
fs/xfs/xfs_iomap.c
1242
error = xfs_reflink_convert_cow_locked(ip, cmap.br_startoff,
fs/xfs/xfs_iomap.c
1244
if (error)
fs/xfs/xfs_iomap.c
1258
error = xfs_bmapi_convert_delalloc(ip, XFS_COW_FORK, offset, iomap,
fs/xfs/xfs_iomap.c
1260
if (error)
fs/xfs/xfs_iomap.c
1261
return error;
fs/xfs/xfs_iomap.c
1271
return error;
fs/xfs/xfs_iomap.c
1472
int error;
fs/xfs/xfs_iomap.c
1505
error = xfs_bmap_extsize_align(mp, got, &prev, extsz, 0, eof,
fs/xfs/xfs_iomap.c
1507
ASSERT(!error);
fs/xfs/xfs_iomap.c
1515
error = xfs_quota_reserve_blkres(ip, alen);
fs/xfs/xfs_iomap.c
1516
if (error)
fs/xfs/xfs_iomap.c
1529
error = xfs_dec_frextents(mp, xfs_blen_to_rtbxlen(mp, alen));
fs/xfs/xfs_iomap.c
1530
if (error)
fs/xfs/xfs_iomap.c
1536
error = xfs_dec_fdblocks(mp, fdblocks, false);
fs/xfs/xfs_iomap.c
1537
if (error)
fs/xfs/xfs_iomap.c
1569
if (error == -ENOSPC || error == -EDQUOT) {
fs/xfs/xfs_iomap.c
1579
return error;
fs/xfs/xfs_iomap.c
1604
int error = 0;
fs/xfs/xfs_iomap.c
1613
error = xfs_qm_dqattach(ip);
fs/xfs/xfs_iomap.c
1614
if (error)
fs/xfs/xfs_iomap.c
1615
return error;
fs/xfs/xfs_iomap.c
1617
error = xfs_ilock_for_iomap(ip, flags, &lockmode);
fs/xfs/xfs_iomap.c
1618
if (error)
fs/xfs/xfs_iomap.c
1619
return error;
fs/xfs/xfs_iomap.c
1624
error = -EFSCORRUPTED;
fs/xfs/xfs_iomap.c
1630
error = xfs_iread_extents(NULL, ip, XFS_DATA_FORK);
fs/xfs/xfs_iomap.c
1631
if (error)
fs/xfs/xfs_iomap.c
1668
error = xfs_bmbt_to_iomap(ip, srcmap, &smap, flags, 0,
fs/xfs/xfs_iomap.c
1670
if (error)
fs/xfs/xfs_iomap.c
1718
error = -EIO;
fs/xfs/xfs_iomap.c
1723
error = xfs_quota_reserve_blkres(ip, count_fsb);
fs/xfs/xfs_iomap.c
1724
if (error)
fs/xfs/xfs_iomap.c
1728
error = xfs_dec_fdblocks(mp, indlen, false);
fs/xfs/xfs_iomap.c
1729
if (error)
fs/xfs/xfs_iomap.c
1745
error = xfs_bmbt_to_iomap(ip, iomap, &got, flags, iomap_flags,
fs/xfs/xfs_iomap.c
1749
return error;
fs/xfs/xfs_iomap.c
1772
int error = 0;
fs/xfs/xfs_iomap.c
1789
error = xfs_qm_dqattach(ip);
fs/xfs/xfs_iomap.c
1790
if (error)
fs/xfs/xfs_iomap.c
1791
return error;
fs/xfs/xfs_iomap.c
1793
error = xfs_ilock_for_iomap(ip, flags, &lockmode);
fs/xfs/xfs_iomap.c
1794
if (error)
fs/xfs/xfs_iomap.c
1795
return error;
fs/xfs/xfs_iomap.c
1800
error = -EFSCORRUPTED;
fs/xfs/xfs_iomap.c
1806
error = xfs_iread_extents(NULL, ip, XFS_DATA_FORK);
fs/xfs/xfs_iomap.c
1807
if (error)
fs/xfs/xfs_iomap.c
1903
error = xfs_bmap_trim_cow(ip, &imap, &shared);
fs/xfs/xfs_iomap.c
1904
if (error)
fs/xfs/xfs_iomap.c
1976
error = xfs_bmapi_reserve_delalloc(ip, allocfork, offset_fsb,
fs/xfs/xfs_iomap.c
1979
if (error)
fs/xfs/xfs_iomap.c
1986
error = xfs_bmapi_reserve_delalloc(ip, allocfork, offset_fsb,
fs/xfs/xfs_iomap.c
1989
if (error)
fs/xfs/xfs_iomap.c
2001
error = xfs_bmapi_convert_delalloc(ip, XFS_DATA_FORK, offset,
fs/xfs/xfs_iomap.c
2003
if (error)
fs/xfs/xfs_iomap.c
2004
return error;
fs/xfs/xfs_iomap.c
2011
error = xfs_bmbt_to_iomap(ip, srcmap, &imap, flags, 0,
fs/xfs/xfs_iomap.c
2013
if (error)
fs/xfs/xfs_iomap.c
2027
return error;
fs/xfs/xfs_iomap.c
2109
int nimaps = 1, error = 0;
fs/xfs/xfs_iomap.c
2119
error = xfs_ilock_for_iomap(ip, flags, &lockmode);
fs/xfs/xfs_iomap.c
2120
if (error)
fs/xfs/xfs_iomap.c
2121
return error;
fs/xfs/xfs_iomap.c
2122
error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb, &imap,
fs/xfs/xfs_iomap.c
2124
if (!error && ((flags & IOMAP_REPORT) || IS_DAX(inode)))
fs/xfs/xfs_iomap.c
2125
error = xfs_reflink_trim_around_shared(ip, &imap, &shared);
fs/xfs/xfs_iomap.c
2129
if (error)
fs/xfs/xfs_iomap.c
2130
return error;
fs/xfs/xfs_iomap.c
2156
int error = 0;
fs/xfs/xfs_iomap.c
2164
error = xfs_iread_extents(NULL, ip, XFS_DATA_FORK);
fs/xfs/xfs_iomap.c
2165
if (error)
fs/xfs/xfs_iomap.c
2194
error = xfs_bmbt_to_iomap(ip, iomap, &cmap, flags,
fs/xfs/xfs_iomap.c
2218
error = xfs_bmbt_to_iomap(ip, iomap, &imap, flags, 0, seq);
fs/xfs/xfs_iomap.c
2221
return error;
fs/xfs/xfs_iomap.c
2242
int nimaps = 1, error = 0;
fs/xfs/xfs_iomap.c
2253
error = -ENOENT;
fs/xfs/xfs_iomap.c
2258
error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb, &imap,
fs/xfs/xfs_iomap.c
2265
if (error)
fs/xfs/xfs_iomap.c
2266
return error;
fs/xfs/xfs_iomap.c
279
int error;
fs/xfs/xfs_iomap.c
295
error = xfs_qm_dqattach(ip);
fs/xfs/xfs_iomap.c
296
if (error)
fs/xfs/xfs_iomap.c
297
return error;
fs/xfs/xfs_iomap.c
321
error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks,
fs/xfs/xfs_iomap.c
323
if (error)
fs/xfs/xfs_iomap.c
324
return error;
fs/xfs/xfs_iomap.c
326
error = xfs_iext_count_extend(tp, ip, XFS_DATA_FORK, nr_exts);
fs/xfs/xfs_iomap.c
327
if (error)
fs/xfs/xfs_iomap.c
335
error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb, bmapi_flags, 0,
fs/xfs/xfs_iomap.c
337
if (error)
fs/xfs/xfs_iomap.c
343
error = xfs_trans_commit(tp);
fs/xfs/xfs_iomap.c
344
if (error)
fs/xfs/xfs_iomap.c
349
error = xfs_alert_fsblock_zero(ip, imap);
fs/xfs/xfs_iomap.c
355
return error;
fs/xfs/xfs_iomap.c
626
int error;
fs/xfs/xfs_iomap.c
647
error = xfs_qm_dqattach(ip);
fs/xfs/xfs_iomap.c
648
if (error)
fs/xfs/xfs_iomap.c
649
return error;
fs/xfs/xfs_iomap.c
661
error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, resblks,
fs/xfs/xfs_iomap.c
663
if (error)
fs/xfs/xfs_iomap.c
664
return error;
fs/xfs/xfs_iomap.c
666
error = xfs_iext_count_extend(tp, ip, XFS_DATA_FORK,
fs/xfs/xfs_iomap.c
668
if (error)
fs/xfs/xfs_iomap.c
675
error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb,
fs/xfs/xfs_iomap.c
678
if (error)
fs/xfs/xfs_iomap.c
697
error = xfs_trans_commit(tp);
fs/xfs/xfs_iomap.c
699
if (error)
fs/xfs/xfs_iomap.c
700
return error;
fs/xfs/xfs_iomap.c
724
return error;
fs/xfs/xfs_iomap.c
859
int nimaps = 1, error = 0;
fs/xfs/xfs_iomap.c
893
error = xfs_ilock_for_iomap(ip, flags, &lockmode);
fs/xfs/xfs_iomap.c
894
if (error)
fs/xfs/xfs_iomap.c
895
return error;
fs/xfs/xfs_iomap.c
907
error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb, &imap,
fs/xfs/xfs_iomap.c
909
if (error)
fs/xfs/xfs_iomap.c
913
error = -EAGAIN;
fs/xfs/xfs_iomap.c
918
error = xfs_reflink_allocate_cow(ip, &imap, &cmap, &shared,
fs/xfs/xfs_iomap.c
921
if (error)
fs/xfs/xfs_iomap.c
927
error = -ENOPROTOOPT;
fs/xfs/xfs_iomap.c
939
error = -ENOPROTOOPT;
fs/xfs/xfs_iomap.c
963
error = -EAGAIN;
fs/xfs/xfs_iomap.c
975
error = -EAGAIN;
fs/xfs/xfs_iomap.c
987
error = -EAGAIN;
fs/xfs/xfs_iops.c
1002
if (error)
fs/xfs/xfs_iops.c
1003
return error;
fs/xfs/xfs_iops.c
1038
error = filemap_write_and_wait_range(VFS_I(ip)->i_mapping,
fs/xfs/xfs_iops.c
1040
if (error)
fs/xfs/xfs_iops.c
1041
return error;
fs/xfs/xfs_iops.c
1053
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, resblks,
fs/xfs/xfs_iops.c
1055
if (error)
fs/xfs/xfs_iops.c
1056
return error;
fs/xfs/xfs_iops.c
1095
error = xfs_itruncate_extents(&tp, ip, XFS_DATA_FORK, newsize);
fs/xfs/xfs_iops.c
1096
if (error)
fs/xfs/xfs_iops.c
1121
error = xfs_trans_commit(tp);
fs/xfs/xfs_iops.c
1125
return error;
fs/xfs/xfs_iops.c
1139
int error;
fs/xfs/xfs_iops.c
1143
error = xfs_vn_change_ok(idmap, dentry, iattr);
fs/xfs/xfs_iops.c
1144
if (error)
fs/xfs/xfs_iops.c
1145
return error;
fs/xfs/xfs_iops.c
1157
int error;
fs/xfs/xfs_iops.c
1165
error = xfs_break_layouts(inode, &iolock, BREAK_UNMAP);
fs/xfs/xfs_iops.c
1166
if (error) {
fs/xfs/xfs_iops.c
1168
return error;
fs/xfs/xfs_iops.c
1171
error = xfs_vn_setattr_size(idmap, dentry, iattr);
fs/xfs/xfs_iops.c
1176
error = xfs_vn_change_ok(idmap, dentry, iattr);
fs/xfs/xfs_iops.c
1177
if (!error)
fs/xfs/xfs_iops.c
1178
error = xfs_setattr_nonsize(idmap, dentry, ip, iattr);
fs/xfs/xfs_iops.c
1181
return error;
fs/xfs/xfs_iops.c
1194
int error;
fs/xfs/xfs_iops.c
1216
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp);
fs/xfs/xfs_iops.c
1217
if (error)
fs/xfs/xfs_iops.c
1218
return error;
fs/xfs/xfs_iops.c
1253
int error;
fs/xfs/xfs_iops.c
1258
error = iomap_fiemap(inode, fieinfo, start, length,
fs/xfs/xfs_iops.c
1261
error = iomap_fiemap(inode, fieinfo, start, length,
fs/xfs/xfs_iops.c
1266
return error;
fs/xfs/xfs_iops.c
189
int error;
fs/xfs/xfs_iops.c
203
error = posix_acl_create(dir, &args.mode, &default_acl, &acl);
fs/xfs/xfs_iops.c
204
if (error)
fs/xfs/xfs_iops.c
205
return error;
fs/xfs/xfs_iops.c
208
error = xfs_dentry_mode_to_name(&name, dentry, args.mode);
fs/xfs/xfs_iops.c
209
if (unlikely(error))
fs/xfs/xfs_iops.c
216
error = xfs_create(&args, &name, &ip);
fs/xfs/xfs_iops.c
227
error = xfs_create_tmpfile(&args, &ip);
fs/xfs/xfs_iops.c
229
if (unlikely(error))
fs/xfs/xfs_iops.c
234
error = xfs_inode_init_security(inode, dir, &dentry->d_name);
fs/xfs/xfs_iops.c
235
if (unlikely(error))
fs/xfs/xfs_iops.c
239
error = __xfs_set_acl(inode, default_acl, ACL_TYPE_DEFAULT);
fs/xfs/xfs_iops.c
240
if (error)
fs/xfs/xfs_iops.c
244
error = __xfs_set_acl(inode, acl, ACL_TYPE_ACCESS);
fs/xfs/xfs_iops.c
245
if (error)
fs/xfs/xfs_iops.c
270
return error;
fs/xfs/xfs_iops.c
321
int error;
fs/xfs/xfs_iops.c
327
error = xfs_lookup(XFS_I(dir), &name, &cip, NULL);
fs/xfs/xfs_iops.c
328
if (likely(!error))
fs/xfs/xfs_iops.c
330
else if (likely(error == -ENOENT))
fs/xfs/xfs_iops.c
333
inode = ERR_PTR(error);
fs/xfs/xfs_iops.c
347
int error;
fs/xfs/xfs_iops.c
353
error = xfs_lookup(XFS_I(dir), &xname, &ip, &ci_name);
fs/xfs/xfs_iops.c
354
if (unlikely(error)) {
fs/xfs/xfs_iops.c
355
if (unlikely(error != -ENOENT))
fs/xfs/xfs_iops.c
356
return ERR_PTR(error);
fs/xfs/xfs_iops.c
385
int error;
fs/xfs/xfs_iops.c
387
error = xfs_dentry_mode_to_name(&name, dentry, inode->i_mode);
fs/xfs/xfs_iops.c
388
if (unlikely(error))
fs/xfs/xfs_iops.c
389
return error;
fs/xfs/xfs_iops.c
394
error = xfs_link(XFS_I(dir), XFS_I(inode), &name);
fs/xfs/xfs_iops.c
395
if (unlikely(error))
fs/xfs/xfs_iops.c
396
return error;
fs/xfs/xfs_iops.c
409
int error;
fs/xfs/xfs_iops.c
413
error = xfs_remove(XFS_I(dir), &name, XFS_I(d_inode(dentry)));
fs/xfs/xfs_iops.c
414
if (error)
fs/xfs/xfs_iops.c
415
return error;
fs/xfs/xfs_iops.c
437
int error;
fs/xfs/xfs_iops.c
440
error = xfs_dentry_mode_to_name(&name, dentry, mode);
fs/xfs/xfs_iops.c
441
if (unlikely(error))
fs/xfs/xfs_iops.c
444
error = xfs_symlink(idmap, XFS_I(dir), &name, symname, mode, &cip);
fs/xfs/xfs_iops.c
445
if (unlikely(error))
fs/xfs/xfs_iops.c
450
error = xfs_inode_init_security(inode, dir, &dentry->d_name);
fs/xfs/xfs_iops.c
451
if (unlikely(error))
fs/xfs/xfs_iops.c
465
return error;
fs/xfs/xfs_iops.c
479
int error;
fs/xfs/xfs_iops.c
490
error = xfs_dentry_mode_to_name(&oname, odentry, omode);
fs/xfs/xfs_iops.c
491
if (omode && unlikely(error))
fs/xfs/xfs_iops.c
492
return error;
fs/xfs/xfs_iops.c
494
error = xfs_dentry_mode_to_name(&nname, ndentry,
fs/xfs/xfs_iops.c
496
if (unlikely(error))
fs/xfs/xfs_iops.c
497
return error;
fs/xfs/xfs_iops.c
516
int error = -ENOMEM;
fs/xfs/xfs_iops.c
525
error = xfs_readlink(XFS_I(d_inode(dentry)), link);
fs/xfs/xfs_iops.c
526
if (unlikely(error))
fs/xfs/xfs_iops.c
535
return ERR_PTR(error);
fs/xfs/xfs_iops.c
61
int error = 0;
fs/xfs/xfs_iops.c
72
error = xfs_attr_change(&args, XFS_ATTRUPDATE_UPSERT);
fs/xfs/xfs_iops.c
73
if (error < 0)
fs/xfs/xfs_iops.c
76
return error;
fs/xfs/xfs_iops.c
790
int error;
fs/xfs/xfs_iops.c
831
error = xfs_qm_vop_dqalloc(ip, uid, gid, ip->i_projid,
fs/xfs/xfs_iops.c
833
if (error)
fs/xfs/xfs_iops.c
834
return error;
fs/xfs/xfs_iops.c
837
error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL,
fs/xfs/xfs_iops.c
839
if (error)
fs/xfs/xfs_iops.c
868
error = xfs_trans_commit(tp);
fs/xfs/xfs_iops.c
878
if (error)
fs/xfs/xfs_iops.c
879
return error;
fs/xfs/xfs_iops.c
889
error = posix_acl_chmod(idmap, dentry, inode->i_mode);
fs/xfs/xfs_iops.c
890
if (error)
fs/xfs/xfs_iops.c
891
return error;
fs/xfs/xfs_iops.c
899
return error;
fs/xfs/xfs_iops.c
919
int error;
fs/xfs/xfs_iops.c
950
error = xfs_qm_dqattach(ip);
fs/xfs/xfs_iops.c
951
if (error)
fs/xfs/xfs_iops.c
952
return error;
fs/xfs/xfs_iops.c
972
error = xfs_zoned_space_reserve(mp, 1,
fs/xfs/xfs_iops.c
974
if (error) {
fs/xfs/xfs_iops.c
975
if (error == -EAGAIN)
fs/xfs/xfs_iops.c
977
return error;
fs/xfs/xfs_iops.c
993
error = xfs_zero_range(ip, oldsize, newsize - oldsize,
fs/xfs/xfs_iops.c
996
error = xfs_truncate_page(ip, newsize, &ac, &did_zeroing);
fs/xfs/xfs_itable.c
119
error = bc->formatter(bc->breq, buf);
fs/xfs/xfs_itable.c
120
if (!error || error == -ECANCELED)
fs/xfs/xfs_itable.c
129
error = -EINVAL;
fs/xfs/xfs_itable.c
194
error = bc->formatter(bc->breq, buf);
fs/xfs/xfs_itable.c
195
if (error == -ECANCELED)
fs/xfs/xfs_itable.c
197
if (error)
fs/xfs/xfs_itable.c
209
return error;
fs/xfs/xfs_itable.c
223
int error;
fs/xfs/xfs_itable.c
243
error = xfs_bulkstat_one_int(breq->mp, breq->idmap, tp,
fs/xfs/xfs_itable.c
252
if (error == -ECANCELED)
fs/xfs/xfs_itable.c
253
error = 0;
fs/xfs/xfs_itable.c
255
return error;
fs/xfs/xfs_itable.c
266
int error;
fs/xfs/xfs_itable.c
268
error = xfs_bulkstat_one_int(mp, bc->breq->idmap, tp, ino, data);
fs/xfs/xfs_itable.c
270
if (error == -ENOENT || error == -EINVAL)
fs/xfs/xfs_itable.c
272
return error;
fs/xfs/xfs_itable.c
310
int error;
fs/xfs/xfs_itable.c
330
error = xfs_iwalk(breq->mp, tp, breq->startino, breq->iwalk_flags,
fs/xfs/xfs_itable.c
343
error = 0;
fs/xfs/xfs_itable.c
345
return error;
fs/xfs/xfs_itable.c
422
int error;
fs/xfs/xfs_itable.c
424
error = ic->formatter(ic->breq, &inogrp);
fs/xfs/xfs_itable.c
425
if (error && error != -ECANCELED)
fs/xfs/xfs_itable.c
426
return error;
fs/xfs/xfs_itable.c
430
return error;
fs/xfs/xfs_itable.c
446
int error = 0;
fs/xfs/xfs_itable.c
456
error = xfs_inobt_walk(breq->mp, tp, breq->startino, breq->iwalk_flags,
fs/xfs/xfs_itable.c
468
error = 0;
fs/xfs/xfs_itable.c
470
return error;
fs/xfs/xfs_itable.c
76
int error = -EINVAL;
fs/xfs/xfs_itable.c
80
error = xfs_iget(mp, tp, ino,
fs/xfs/xfs_itable.c
83
if (error == -ENOENT || error == -EINVAL)
fs/xfs/xfs_itable.c
85
if (error)
fs/xfs/xfs_itable.c
90
error = xfs_inode_reload_unlinked_bucket(tp, ip);
fs/xfs/xfs_itable.c
91
if (error) {
fs/xfs/xfs_itable.c
95
return error;
fs/xfs/xfs_iunlink_item.c
113
int error;
fs/xfs/xfs_iunlink_item.c
115
error = xfs_iunlink_log_dinode(tp, iup);
fs/xfs/xfs_iunlink_item.c
118
return error;
fs/xfs/xfs_iunlink_item.c
60
int error;
fs/xfs/xfs_iunlink_item.c
62
error = xfs_imap_to_bp(tp->t_mountp, tp, &ip->i_imap, &ibp);
fs/xfs/xfs_iunlink_item.c
63
if (error)
fs/xfs/xfs_iunlink_item.c
64
return error;
fs/xfs/xfs_iunlink_item.c
80
error = -EFSCORRUPTED;
fs/xfs/xfs_iunlink_item.c
96
return error;
fs/xfs/xfs_iwalk.c
180
int error;
fs/xfs/xfs_iwalk.c
191
error = iwag->inobt_walk_fn(mp, tp, pag_agno(pag), irec,
fs/xfs/xfs_iwalk.c
193
if (error)
fs/xfs/xfs_iwalk.c
194
return error;
fs/xfs/xfs_iwalk.c
209
error = iwag->iwalk_fn(mp, tp,
fs/xfs/xfs_iwalk.c
213
if (error)
fs/xfs/xfs_iwalk.c
214
return error;
fs/xfs/xfs_iwalk.c
227
int error)
fs/xfs/xfs_iwalk.c
230
xfs_btree_del_cursor(*curpp, error);
fs/xfs/xfs_iwalk.c
266
int error;
fs/xfs/xfs_iwalk.c
270
error = xfs_ialloc_read_agi(pag, tp, 0, agi_bpp);
fs/xfs/xfs_iwalk.c
271
if (error)
fs/xfs/xfs_iwalk.c
272
return error;
fs/xfs/xfs_iwalk.c
286
error = xfs_inobt_lookup(*curpp, agino, XFS_LOOKUP_LE, has_more);
fs/xfs/xfs_iwalk.c
287
if (error)
fs/xfs/xfs_iwalk.c
288
return error;
fs/xfs/xfs_iwalk.c
299
error = xfs_inobt_get_rec(*curpp, irec, has_more);
fs/xfs/xfs_iwalk.c
300
if (error)
fs/xfs/xfs_iwalk.c
301
return error;
fs/xfs/xfs_iwalk.c
354
int error;
fs/xfs/xfs_iwalk.c
370
error = xfs_iwalk_ag_recs(iwag);
fs/xfs/xfs_iwalk.c
371
if (error)
fs/xfs/xfs_iwalk.c
372
return error;
fs/xfs/xfs_iwalk.c
384
error = xfs_ialloc_read_agi(iwag->pag, iwag->tp, 0, agi_bpp);
fs/xfs/xfs_iwalk.c
385
if (error)
fs/xfs/xfs_iwalk.c
386
return error;
fs/xfs/xfs_iwalk.c
402
int error = 0;
fs/xfs/xfs_iwalk.c
407
error = xfs_iwalk_ag_start(iwag, agino, &cur, &agi_bp, &has_more);
fs/xfs/xfs_iwalk.c
409
while (!error && has_more) {
fs/xfs/xfs_iwalk.c
419
error = xfs_inobt_get_rec(cur, irec, &has_more);
fs/xfs/xfs_iwalk.c
420
if (error || !has_more)
fs/xfs/xfs_iwalk.c
428
error = -EFSCORRUPTED;
fs/xfs/xfs_iwalk.c
435
error = xfs_btree_increment(cur, 0, &has_more);
fs/xfs/xfs_iwalk.c
436
if (error)
fs/xfs/xfs_iwalk.c
453
error = xfs_btree_increment(cur, 0, &has_more);
fs/xfs/xfs_iwalk.c
454
if (error || !has_more)
fs/xfs/xfs_iwalk.c
466
error = xfs_iwalk_run_callbacks(iwag, &cur, &agi_bp, &has_more);
fs/xfs/xfs_iwalk.c
469
if (iwag->nr_recs == 0 || error)
fs/xfs/xfs_iwalk.c
473
error = xfs_iwalk_run_callbacks(iwag, &cur, &agi_bp, &has_more);
fs/xfs/xfs_iwalk.c
476
xfs_iwalk_del_inobt(iwag->tp, &cur, &agi_bp, error);
fs/xfs/xfs_iwalk.c
477
return error;
fs/xfs/xfs_iwalk.c
541
int error;
fs/xfs/xfs_iwalk.c
547
error = xfs_iwalk_alloc(iwag);
fs/xfs/xfs_iwalk.c
548
if (error)
fs/xfs/xfs_iwalk.c
549
return error;
fs/xfs/xfs_iwalk.c
552
error = xfs_iwalk_ag(iwag);
fs/xfs/xfs_iwalk.c
553
if (error || (flags & XFS_IWALK_SAME_AG)) {
fs/xfs/xfs_iwalk.c
562
return error;
fs/xfs/xfs_iwalk.c
604
int error = 0;
fs/xfs/xfs_iwalk.c
610
error = xfs_iwalk_alloc(iwag);
fs/xfs/xfs_iwalk.c
611
if (error)
fs/xfs/xfs_iwalk.c
620
error = xfs_iwalk_ag(iwag);
fs/xfs/xfs_iwalk.c
627
return error;
fs/xfs/xfs_iwalk.c
647
int error;
fs/xfs/xfs_iwalk.c
652
error = xfs_pwork_init(mp, &pctl, xfs_iwalk_ag_work, "xfs_iwalk");
fs/xfs/xfs_iwalk.c
653
if (error)
fs/xfs/xfs_iwalk.c
654
return error;
fs/xfs/xfs_log.c
1138
int error = 0;
fs/xfs/xfs_log.c
1175
error = xfs_sync_sb(mp, true);
fs/xfs/xfs_log.c
1176
if (error)
fs/xfs/xfs_log.c
1181
return error;
fs/xfs/xfs_log.c
1191
int error;
fs/xfs/xfs_log.c
1193
error = blk_status_to_errno(iclog->ic_bio.bi_status);
fs/xfs/xfs_log.c
1197
error = -EIO;
fs/xfs/xfs_log.c
1203
if (error || XFS_TEST_ERROR(log->l_mp, XFS_ERRTAG_IODONE_IOERR)) {
fs/xfs/xfs_log.c
1204
xfs_alert(log->l_mp, "log I/O error %d", error);
fs/xfs/xfs_log.c
1334
int error = -ENOMEM;
fs/xfs/xfs_log.c
1368
error = -EFSCORRUPTED;
fs/xfs/xfs_log.c
1451
error = xlog_cil_init(log);
fs/xfs/xfs_log.c
1452
if (error)
fs/xfs/xfs_log.c
1469
return ERR_PTR(error);
fs/xfs/xfs_log.c
1949
int error;
fs/xfs/xfs_log.c
1955
error = xlog_state_release_iclog(log, data->iclog, data->ticket);
fs/xfs/xfs_log.c
1957
if (error)
fs/xfs/xfs_log.c
1958
return error;
fs/xfs/xfs_log.c
1960
error = xlog_state_get_iclog_space(log, data);
fs/xfs/xfs_log.c
1961
if (error)
fs/xfs/xfs_log.c
1962
return error;
fs/xfs/xfs_log.c
1982
int error;
fs/xfs/xfs_log.c
2002
error = xlog_write_get_more_iclog_space(data);
fs/xfs/xfs_log.c
2003
if (error)
fs/xfs/xfs_log.c
2004
return error;
fs/xfs/xfs_log.c
2051
error = xlog_write_get_more_iclog_space(data);
fs/xfs/xfs_log.c
2052
if (error)
fs/xfs/xfs_log.c
2053
return error;
fs/xfs/xfs_log.c
2141
int error;
fs/xfs/xfs_log.c
2150
error = xlog_state_get_iclog_space(log, &data);
fs/xfs/xfs_log.c
2151
if (error)
fs/xfs/xfs_log.c
2152
return error;
fs/xfs/xfs_log.c
2171
error = xlog_write_partial(lv, &data);
fs/xfs/xfs_log.c
2172
if (error) {
fs/xfs/xfs_log.c
2177
return error;
fs/xfs/xfs_log.c
2193
error = xlog_state_release_iclog(log, data.iclog, ticket);
fs/xfs/xfs_log.c
2196
return error;
fs/xfs/xfs_log.c
2568
int error = 0;
fs/xfs/xfs_log.c
257
int error = 0;
fs/xfs/xfs_log.c
2580
error = xlog_state_release_iclog(log, iclog,
fs/xfs/xfs_log.c
2583
if (error)
fs/xfs/xfs_log.c
2584
return error;
fs/xfs/xfs_log.c
273
error = xlog_grant_head_wait(log, head, tic,
fs/xfs/xfs_log.c
2748
int error;
fs/xfs/xfs_log.c
2751
error = xlog_force_iclog(iclog);
fs/xfs/xfs_log.c
2752
if (error)
fs/xfs/xfs_log.c
2753
return error;
fs/xfs/xfs_log.c
279
error = xlog_grant_head_wait(log, head, tic, *need_bytes);
fs/xfs/xfs_log.c
283
return error;
fs/xfs/xfs_log.c
317
int error = 0;
fs/xfs/xfs_log.c
337
error = xlog_grant_head_check(log, &log->l_write_head, tic,
fs/xfs/xfs_log.c
339
if (error)
fs/xfs/xfs_log.c
354
return error;
fs/xfs/xfs_log.c
376
int error = 0;
fs/xfs/xfs_log.c
387
error = xlog_grant_head_check(log, &log->l_reserve_head, tic,
fs/xfs/xfs_log.c
389
if (error)
fs/xfs/xfs_log.c
405
return error;
fs/xfs/xfs_log.c
541
int error = 0;
fs/xfs/xfs_log.c
558
error = PTR_ERR(log);
fs/xfs/xfs_log.c
594
error = -EINVAL;
fs/xfs/xfs_log.c
605
error = xfs_trans_ail_init(mp);
fs/xfs/xfs_log.c
606
if (error) {
fs/xfs/xfs_log.c
607
xfs_warn(mp, "AIL initialisation failed: error %d", error);
fs/xfs/xfs_log.c
617
error = xlog_recover(log);
fs/xfs/xfs_log.c
618
if (error) {
fs/xfs/xfs_log.c
620
error);
fs/xfs/xfs_log.c
626
error = xfs_sysfs_init(&log->l_kobj, &xfs_log_ktype, &mp->m_kobj,
fs/xfs/xfs_log.c
628
if (error)
fs/xfs/xfs_log.c
648
return error;
fs/xfs/xfs_log.c
666
int error = 0;
fs/xfs/xfs_log.c
696
error = xlog_recover_finish(log);
fs/xfs/xfs_log.c
710
if (!error) {
fs/xfs/xfs_log.c
724
ASSERT(!error || xlog_is_shutdown(log));
fs/xfs/xfs_log.c
726
return error;
fs/xfs/xfs_log.c
865
int error;
fs/xfs/xfs_log.c
867
error = xfs_log_reserve(mp, 600, 1, &tic, 0);
fs/xfs/xfs_log.c
868
if (error)
fs/xfs/xfs_log.c
871
error = xlog_write_unmount_record(log, tic);
fs/xfs/xfs_log.c
877
if (error)
fs/xfs/xfs_log.c
882
error = xlog_force_iclog(iclog);
fs/xfs/xfs_log.c
959
int error;
fs/xfs/xfs_log.c
961
error = xfs_sync_sb(mp, false);
fs/xfs/xfs_log.c
962
if (error)
fs/xfs/xfs_log_cil.c
1170
int error;
fs/xfs/xfs_log_cil.c
1172
error = xlog_cil_order_write(ctx->cil, ctx->sequence, _START_RECORD);
fs/xfs/xfs_log_cil.c
1173
if (error)
fs/xfs/xfs_log_cil.c
1174
return error;
fs/xfs/xfs_log_cil.c
1199
int error;
fs/xfs/xfs_log_cil.c
1204
error = xlog_cil_order_write(ctx->cil, ctx->sequence, _COMMIT_RECORD);
fs/xfs/xfs_log_cil.c
1205
if (error)
fs/xfs/xfs_log_cil.c
1206
return error;
fs/xfs/xfs_log_cil.c
1207
error = xlog_write_one_vec(log, ctx, ®, ctx->ticket);
fs/xfs/xfs_log_cil.c
1208
if (error)
fs/xfs/xfs_log_cil.c
1210
return error;
fs/xfs/xfs_log_cil.c
1386
int error = 0;
fs/xfs/xfs_log_cil.c
1518
error = xlog_cil_write_chain(ctx, num_bytes);
fs/xfs/xfs_log_cil.c
1520
if (error)
fs/xfs/xfs_log_cil.c
1523
error = xlog_cil_write_commit_record(ctx);
fs/xfs/xfs_log_cil.c
1524
if (error)
fs/xfs/xfs_log_recover.c
1003
return error;
fs/xfs/xfs_log_recover.c
1034
int error;
fs/xfs/xfs_log_recover.c
1046
error = xlog_rseek_logrec_hdr(log, *head_blk, *tail_blk,
fs/xfs/xfs_log_recover.c
1050
if (error < 0)
fs/xfs/xfs_log_recover.c
1051
return error;
fs/xfs/xfs_log_recover.c
1058
error = xlog_do_recovery_pass(log, *head_blk, tmp_rhead_blk,
fs/xfs/xfs_log_recover.c
1060
if ((error == -EFSBADCRC || error == -EFSCORRUPTED) && first_bad) {
fs/xfs/xfs_log_recover.c
1065
error = 0;
fs/xfs/xfs_log_recover.c
1101
if (error)
fs/xfs/xfs_log_recover.c
1102
return error;
fs/xfs/xfs_log_recover.c
1146
int error;
fs/xfs/xfs_log_recover.c
1167
error = xlog_bread(log, umount_data_blk, 1, buffer, &offset);
fs/xfs/xfs_log_recover.c
1168
if (error)
fs/xfs/xfs_log_recover.c
1169
return error;
fs/xfs/xfs_log_recover.c
1243
int error;
fs/xfs/xfs_log_recover.c
1252
if ((error = xlog_find_head(log, head_blk)))
fs/xfs/xfs_log_recover.c
1253
return error;
fs/xfs/xfs_log_recover.c
1260
error = xlog_bread(log, 0, 1, buffer, &offset);
fs/xfs/xfs_log_recover.c
1261
if (error)
fs/xfs/xfs_log_recover.c
127
int error;
fs/xfs/xfs_log_recover.c
1276
error = xlog_rseek_logrec_hdr(log, *head_blk, *head_blk, 1, buffer,
fs/xfs/xfs_log_recover.c
1278
if (error < 0)
fs/xfs/xfs_log_recover.c
1280
if (!error) {
fs/xfs/xfs_log_recover.c
1282
error = -EFSCORRUPTED;
fs/xfs/xfs_log_recover.c
1297
error = xlog_check_unmount_rec(log, head_blk, tail_blk, rhead,
fs/xfs/xfs_log_recover.c
1299
if (error)
fs/xfs/xfs_log_recover.c
1315
error = xlog_verify_head(log, head_blk, tail_blk, buffer,
fs/xfs/xfs_log_recover.c
1317
if (error)
fs/xfs/xfs_log_recover.c
1325
error = xlog_check_unmount_rec(log, head_blk, tail_blk,
fs/xfs/xfs_log_recover.c
1328
if (error)
fs/xfs/xfs_log_recover.c
1361
error = xlog_clear_stale_blocks(log, tail_lsn);
fs/xfs/xfs_log_recover.c
1366
if (error)
fs/xfs/xfs_log_recover.c
1368
return error;
fs/xfs/xfs_log_recover.c
1397
int error, log_bbnum = log->l_logBBsize;
fs/xfs/xfs_log_recover.c
140
error = xfs_rw_bdev(log->l_targ->bt_bdev, log->l_logBBstart + blk_no,
fs/xfs/xfs_log_recover.c
1406
error = xlog_bread(log, 0, 1, buffer, &offset);
fs/xfs/xfs_log_recover.c
1407
if (error)
fs/xfs/xfs_log_recover.c
1417
error = xlog_bread(log, log_bbnum-1, 1, buffer, &offset);
fs/xfs/xfs_log_recover.c
1418
if (error)
fs/xfs/xfs_log_recover.c
142
if (error && !xlog_is_shutdown(log)) {
fs/xfs/xfs_log_recover.c
1429
error = xlog_find_cycle_start(log, buffer, 0, &last_blk, 0);
fs/xfs/xfs_log_recover.c
1430
if (error)
fs/xfs/xfs_log_recover.c
1452
if ((error = xlog_find_verify_cycle(log, start_blk,
fs/xfs/xfs_log_recover.c
146
blk_no, nbblks, error);
fs/xfs/xfs_log_recover.c
1462
error = xlog_find_verify_log_record(log, start_blk, &last_blk, 0);
fs/xfs/xfs_log_recover.c
1463
if (error == 1)
fs/xfs/xfs_log_recover.c
1464
error = -EIO;
fs/xfs/xfs_log_recover.c
1465
if (error)
fs/xfs/xfs_log_recover.c
1471
if (error)
fs/xfs/xfs_log_recover.c
1472
return error;
fs/xfs/xfs_log_recover.c
148
return error;
fs/xfs/xfs_log_recover.c
1518
int error = 0;
fs/xfs/xfs_log_recover.c
1542
error = xlog_bread_noalign(log, start_block, 1, buffer);
fs/xfs/xfs_log_recover.c
1543
if (error)
fs/xfs/xfs_log_recover.c
1561
error = xlog_bread_noalign(log, ealign, sectbb,
fs/xfs/xfs_log_recover.c
1563
if (error)
fs/xfs/xfs_log_recover.c
1574
error = xlog_bwrite(log, start_block, endcount, buffer);
fs/xfs/xfs_log_recover.c
1575
if (error)
fs/xfs/xfs_log_recover.c
1583
return error;
fs/xfs/xfs_log_recover.c
1611
int error;
fs/xfs/xfs_log_recover.c
1677
error = xlog_write_log_records(log, (head_cycle - 1),
fs/xfs/xfs_log_recover.c
1680
if (error)
fs/xfs/xfs_log_recover.c
1681
return error;
fs/xfs/xfs_log_recover.c
169
int error;
fs/xfs/xfs_log_recover.c
1691
error = xlog_write_log_records(log, (head_cycle - 1),
fs/xfs/xfs_log_recover.c
1695
if (error)
fs/xfs/xfs_log_recover.c
1696
return error;
fs/xfs/xfs_log_recover.c
1707
error = xlog_write_log_records(log, head_cycle, 0, distance,
fs/xfs/xfs_log_recover.c
1709
if (error)
fs/xfs/xfs_log_recover.c
171
error = xlog_do_io(log, blk_no, nbblks, data, REQ_OP_READ);
fs/xfs/xfs_log_recover.c
1710
return error;
fs/xfs/xfs_log_recover.c
172
if (!error)
fs/xfs/xfs_log_recover.c
174
return error;
fs/xfs/xfs_log_recover.c
1748
int error;
fs/xfs/xfs_log_recover.c
1750
error = xfs_iget(mp, NULL, ino, 0, 0, ipp);
fs/xfs/xfs_log_recover.c
1751
if (error)
fs/xfs/xfs_log_recover.c
1752
return error;
fs/xfs/xfs_log_recover.c
1754
error = xfs_qm_dqattach(*ipp);
fs/xfs/xfs_log_recover.c
1755
if (error) {
fs/xfs/xfs_log_recover.c
1757
return error;
fs/xfs/xfs_log_recover.c
1782
int error;
fs/xfs/xfs_log_recover.c
1784
error = xlog_recover_iget(mp, ino, &ip);
fs/xfs/xfs_log_recover.c
1785
if (error)
fs/xfs/xfs_log_recover.c
1786
return error;
fs/xfs/xfs_log_recover.c
1898
int error = 0;
fs/xfs/xfs_log_recover.c
1921
error = -EFSCORRUPTED;
fs/xfs/xfs_log_recover.c
1957
return error;
fs/xfs/xfs_log_recover.c
2002
int error = 0;
fs/xfs/xfs_log_recover.c
2009
error = item->ri_ops->commit_pass2(log, buffer_list,
fs/xfs/xfs_log_recover.c
2011
if (error)
fs/xfs/xfs_log_recover.c
2012
return error;
fs/xfs/xfs_log_recover.c
2015
return error;
fs/xfs/xfs_log_recover.c
2031
int error = 0;
fs/xfs/xfs_log_recover.c
2042
error = xlog_recover_reorder_trans(log, trans, pass);
fs/xfs/xfs_log_recover.c
2043
if (error)
fs/xfs/xfs_log_recover.c
2044
return error;
fs/xfs/xfs_log_recover.c
2052
error = item->ri_ops->commit_pass1(log, item);
fs/xfs/xfs_log_recover.c
2060
error = xlog_recover_items_pass2(log, trans,
fs/xfs/xfs_log_recover.c
2071
if (error)
fs/xfs/xfs_log_recover.c
2077
if (!error)
fs/xfs/xfs_log_recover.c
2078
error = xlog_recover_items_pass2(log, trans,
fs/xfs/xfs_log_recover.c
2086
return error;
fs/xfs/xfs_log_recover.c
2286
int error = 0;
fs/xfs/xfs_log_recover.c
2302
error = xlog_recover_add_to_trans(log, trans, dp, len);
fs/xfs/xfs_log_recover.c
2305
error = xlog_recover_add_to_cont_trans(log, trans, dp, len);
fs/xfs/xfs_log_recover.c
2308
error = xlog_recover_commit_trans(log, trans, pass,
fs/xfs/xfs_log_recover.c
2324
error = -EFSCORRUPTED;
fs/xfs/xfs_log_recover.c
2327
if (error || freeit)
fs/xfs/xfs_log_recover.c
2329
return error;
fs/xfs/xfs_log_recover.c
2396
int error;
fs/xfs/xfs_log_recover.c
2448
error = xfs_buf_delwri_submit(buffer_list);
fs/xfs/xfs_log_recover.c
2449
if (error)
fs/xfs/xfs_log_recover.c
2450
return error;
fs/xfs/xfs_log_recover.c
2479
int error;
fs/xfs/xfs_log_recover.c
2499
error = xlog_recover_process_ophdr(log, rhash, rhead, ohead,
fs/xfs/xfs_log_recover.c
2501
if (error)
fs/xfs/xfs_log_recover.c
2502
return error;
fs/xfs/xfs_log_recover.c
2518
int error = 0;
fs/xfs/xfs_log_recover.c
2534
error = xfs_trans_alloc(mp, &resv, dfc->dfc_blkres,
fs/xfs/xfs_log_recover.c
2536
if (error) {
fs/xfs/xfs_log_recover.c
2538
return error;
fs/xfs/xfs_log_recover.c
2547
error = xfs_trans_commit(tp);
fs/xfs/xfs_log_recover.c
2549
if (error)
fs/xfs/xfs_log_recover.c
2550
return error;
fs/xfs/xfs_log_recover.c
2594
int error = 0;
fs/xfs/xfs_log_recover.c
2621
error = xfs_defer_finish_recovery(log->l_mp, dfp,
fs/xfs/xfs_log_recover.c
2623
if (error)
fs/xfs/xfs_log_recover.c
2626
if (error)
fs/xfs/xfs_log_recover.c
2629
error = xlog_finish_defer_ops(log->l_mp, &capture_list);
fs/xfs/xfs_log_recover.c
2630
if (error)
fs/xfs/xfs_log_recover.c
2636
return error;
fs/xfs/xfs_log_recover.c
2667
int error;
fs/xfs/xfs_log_recover.c
2670
error = xfs_defer_finish_one(tp, dfp);
fs/xfs/xfs_log_recover.c
2671
if (error == -EAGAIN)
fs/xfs/xfs_log_recover.c
2673
return error;
fs/xfs/xfs_log_recover.c
2690
int error;
fs/xfs/xfs_log_recover.c
2692
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_clearagi, 0, 0, 0, &tp);
fs/xfs/xfs_log_recover.c
2693
if (error)
fs/xfs/xfs_log_recover.c
2696
error = xfs_read_agi(pag, tp, 0, &agibp);
fs/xfs/xfs_log_recover.c
2697
if (error)
fs/xfs/xfs_log_recover.c
2707
error = xfs_trans_commit(tp);
fs/xfs/xfs_log_recover.c
2708
if (error)
fs/xfs/xfs_log_recover.c
2730
int error = 0;
fs/xfs/xfs_log_recover.c
2734
error = xfs_iget(mp, NULL, xfs_agino_to_ino(pag, agino), 0, 0,
fs/xfs/xfs_log_recover.c
2736
if (error)
fs/xfs/xfs_log_recover.c
2757
error = xfs_inodegc_flush(mp);
fs/xfs/xfs_log_recover.c
2758
if (error)
fs/xfs/xfs_log_recover.c
2773
if (error2 && !error)
fs/xfs/xfs_log_recover.c
2776
return error;
fs/xfs/xfs_log_recover.c
280
int error;
fs/xfs/xfs_log_recover.c
2809
int error;
fs/xfs/xfs_log_recover.c
2811
error = xfs_read_agi(pag, NULL, 0, &agibp);
fs/xfs/xfs_log_recover.c
2812
if (error) {
fs/xfs/xfs_log_recover.c
2834
error = xlog_recover_iunlink_bucket(pag, agi, bucket);
fs/xfs/xfs_log_recover.c
2835
if (error) {
fs/xfs/xfs_log_recover.c
285
error = xlog_bread(log, mid_blk, 1, buffer, &offset);
fs/xfs/xfs_log_recover.c
286
if (error)
fs/xfs/xfs_log_recover.c
287
return error;
fs/xfs/xfs_log_recover.c
3009
int error = 0, h_size, h_len;
fs/xfs/xfs_log_recover.c
3037
error = xlog_bread(log, tail_blk, 1, hbp, &offset);
fs/xfs/xfs_log_recover.c
3038
if (error)
fs/xfs/xfs_log_recover.c
3064
error = xlog_valid_rec_header(log, rhead, tail_blk, h_size);
fs/xfs/xfs_log_recover.c
3065
if (error)
fs/xfs/xfs_log_recover.c
3111
error = xlog_bread(log, blk_no, hblks, hbp,
fs/xfs/xfs_log_recover.c
3113
if (error)
fs/xfs/xfs_log_recover.c
3122
error = xlog_bread(log, blk_no,
fs/xfs/xfs_log_recover.c
3125
if (error)
fs/xfs/xfs_log_recover.c
3142
error = xlog_bread_noalign(log, 0,
fs/xfs/xfs_log_recover.c
3145
if (error)
fs/xfs/xfs_log_recover.c
3149
error = xlog_valid_rec_header(log, rhead,
fs/xfs/xfs_log_recover.c
3151
if (error)
fs/xfs/xfs_log_recover.c
3167
error = xlog_bread(log, rblk_no, bblks, dbp,
fs/xfs/xfs_log_recover.c
3169
if (error)
fs/xfs/xfs_log_recover.c
3184
error = xlog_bread(log, blk_no,
fs/xfs/xfs_log_recover.c
3187
if (error)
fs/xfs/xfs_log_recover.c
3203
error = xlog_bread_noalign(log, 0,
fs/xfs/xfs_log_recover.c
3206
if (error)
fs/xfs/xfs_log_recover.c
3210
error = xlog_recover_process(log, rhash, rhead, offset,
fs/xfs/xfs_log_recover.c
3212
if (error)
fs/xfs/xfs_log_recover.c
3226
error = xlog_bread(log, blk_no, hblks, hbp, &offset);
fs/xfs/xfs_log_recover.c
3227
if (error)
fs/xfs/xfs_log_recover.c
3231
error = xlog_valid_rec_header(log, rhead, blk_no, h_size);
fs/xfs/xfs_log_recover.c
3232
if (error)
fs/xfs/xfs_log_recover.c
3237
error = xlog_bread(log, blk_no+hblks, bblks, dbp,
fs/xfs/xfs_log_recover.c
3239
if (error)
fs/xfs/xfs_log_recover.c
324
int error = 0;
fs/xfs/xfs_log_recover.c
3242
error = xlog_recover_process(log, rhash, rhead, offset, pass,
fs/xfs/xfs_log_recover.c
3244
if (error)
fs/xfs/xfs_log_recover.c
3260
if (error) {
fs/xfs/xfs_log_recover.c
3280
if (error && first_bad)
fs/xfs/xfs_log_recover.c
3296
return error ? error : error2;
fs/xfs/xfs_log_recover.c
3318
int error;
fs/xfs/xfs_log_recover.c
3326
error = xlog_alloc_buf_cancel_table(log);
fs/xfs/xfs_log_recover.c
3327
if (error)
fs/xfs/xfs_log_recover.c
3328
return error;
fs/xfs/xfs_log_recover.c
3330
error = xlog_do_recovery_pass(log, head_blk, tail_blk,
fs/xfs/xfs_log_recover.c
3332
if (error != 0)
fs/xfs/xfs_log_recover.c
3339
error = xlog_do_recovery_pass(log, head_blk, tail_blk,
fs/xfs/xfs_log_recover.c
3341
if (!error)
fs/xfs/xfs_log_recover.c
3345
return error;
fs/xfs/xfs_log_recover.c
3360
int error;
fs/xfs/xfs_log_recover.c
3367
error = xlog_do_log_recovery(log, head_blk, tail_blk);
fs/xfs/xfs_log_recover.c
3368
if (error)
fs/xfs/xfs_log_recover.c
3369
return error;
fs/xfs/xfs_log_recover.c
3390
error = _xfs_buf_read(bp);
fs/xfs/xfs_log_recover.c
3391
if (error) {
fs/xfs/xfs_log_recover.c
3397
return error;
fs/xfs/xfs_log_recover.c
3423
int error;
fs/xfs/xfs_log_recover.c
3426
error = xlog_find_tail(log, &head_blk, &tail_blk);
fs/xfs/xfs_log_recover.c
3427
if (error)
fs/xfs/xfs_log_recover.c
3428
return error;
fs/xfs/xfs_log_recover.c
3451
if ((error = xfs_dev_is_read_only(log->l_mp, "recovery"))) {
fs/xfs/xfs_log_recover.c
3452
return error;
fs/xfs/xfs_log_recover.c
346
error = xlog_bread(log, i, bcount, buffer, &buf);
fs/xfs/xfs_log_recover.c
347
if (error)
fs/xfs/xfs_log_recover.c
3492
error = xlog_do_recover(log, head_blk, tail_blk);
fs/xfs/xfs_log_recover.c
3495
return error;
fs/xfs/xfs_log_recover.c
3517
int error;
fs/xfs/xfs_log_recover.c
3519
error = xlog_recover_process_intents(log);
fs/xfs/xfs_log_recover.c
3520
if (error) {
fs/xfs/xfs_log_recover.c
3550
error = xfs_reflink_recover_cow(log->l_mp);
fs/xfs/xfs_log_recover.c
3551
if (error) {
fs/xfs/xfs_log_recover.c
3554
error);
fs/xfs/xfs_log_recover.c
3562
error = 0;
fs/xfs/xfs_log_recover.c
3568
return error;
fs/xfs/xfs_log_recover.c
365
return error;
fs/xfs/xfs_log_recover.c
404
int error = 0;
fs/xfs/xfs_log_recover.c
418
error = xlog_bread(log, start_blk, num_blks, buffer, &offset);
fs/xfs/xfs_log_recover.c
419
if (error)
fs/xfs/xfs_log_recover.c
430
error = -EFSCORRUPTED;
fs/xfs/xfs_log_recover.c
435
error = xlog_bread(log, i, 1, buffer, &offset);
fs/xfs/xfs_log_recover.c
436
if (error)
fs/xfs/xfs_log_recover.c
455
error = 1;
fs/xfs/xfs_log_recover.c
463
if ((error = xlog_header_check_mount(log->l_mp, head)))
fs/xfs/xfs_log_recover.c
481
return error;
fs/xfs/xfs_log_recover.c
508
int error, log_bbnum = log->l_logBBsize;
fs/xfs/xfs_log_recover.c
511
error = xlog_find_zeroed(log, &first_blk);
fs/xfs/xfs_log_recover.c
512
if (error < 0) {
fs/xfs/xfs_log_recover.c
514
return error;
fs/xfs/xfs_log_recover.c
516
if (error == 1) {
fs/xfs/xfs_log_recover.c
536
error = xlog_bread(log, 0, 1, buffer, &offset);
fs/xfs/xfs_log_recover.c
537
if (error)
fs/xfs/xfs_log_recover.c
543
error = xlog_bread(log, last_blk, 1, buffer, &offset);
fs/xfs/xfs_log_recover.c
544
if (error)
fs/xfs/xfs_log_recover.c
613
error = xlog_find_cycle_start(log, buffer, first_blk, &head_blk,
fs/xfs/xfs_log_recover.c
615
if (error)
fs/xfs/xfs_log_recover.c
633
if ((error = xlog_find_verify_cycle(log,
fs/xfs/xfs_log_recover.c
670
if ((error = xlog_find_verify_cycle(log, start_blk,
fs/xfs/xfs_log_recover.c
686
if ((error = xlog_find_verify_cycle(log,
fs/xfs/xfs_log_recover.c
704
error = xlog_find_verify_log_record(log, start_blk, &head_blk, 0);
fs/xfs/xfs_log_recover.c
705
if (error == 1)
fs/xfs/xfs_log_recover.c
706
error = -EIO;
fs/xfs/xfs_log_recover.c
707
if (error)
fs/xfs/xfs_log_recover.c
712
error = xlog_find_verify_log_record(log, start_blk, &head_blk, 0);
fs/xfs/xfs_log_recover.c
713
if (error < 0)
fs/xfs/xfs_log_recover.c
715
if (error == 1) {
fs/xfs/xfs_log_recover.c
722
error = xlog_find_verify_log_record(log, start_blk,
fs/xfs/xfs_log_recover.c
724
if (error == 1)
fs/xfs/xfs_log_recover.c
725
error = -EIO;
fs/xfs/xfs_log_recover.c
726
if (error)
fs/xfs/xfs_log_recover.c
730
} else if (error)
fs/xfs/xfs_log_recover.c
749
if (error)
fs/xfs/xfs_log_recover.c
751
return error;
fs/xfs/xfs_log_recover.c
774
int error;
fs/xfs/xfs_log_recover.c
787
error = xlog_bread(log, i, 1, buffer, &offset);
fs/xfs/xfs_log_recover.c
788
if (error)
fs/xfs/xfs_log_recover.c
806
error = xlog_bread(log, i, 1, buffer, &offset);
fs/xfs/xfs_log_recover.c
807
if (error)
fs/xfs/xfs_log_recover.c
824
return error;
fs/xfs/xfs_log_recover.c
848
int error;
fs/xfs/xfs_log_recover.c
861
error = xlog_bread(log, i, 1, buffer, &offset);
fs/xfs/xfs_log_recover.c
862
if (error)
fs/xfs/xfs_log_recover.c
879
error = xlog_bread(log, i, 1, buffer, &offset);
fs/xfs/xfs_log_recover.c
880
if (error)
fs/xfs/xfs_log_recover.c
897
return error;
fs/xfs/xfs_log_recover.c
944
int error = 0;
fs/xfs/xfs_log_recover.c
957
error = xlog_seek_logrec_hdr(log, head_blk, *tail_blk, 1, buffer,
fs/xfs/xfs_log_recover.c
959
if (error < 0)
fs/xfs/xfs_log_recover.c
972
error = xlog_do_recovery_pass(log, head_blk, *tail_blk,
fs/xfs/xfs_log_recover.c
974
while ((error == -EFSBADCRC || error == -EFSCORRUPTED) && first_bad) {
fs/xfs/xfs_log_recover.c
986
error = xlog_seek_logrec_hdr(log, head_blk, first_bad, 2,
fs/xfs/xfs_log_recover.c
988
if (error < 0)
fs/xfs/xfs_log_recover.c
993
error = xlog_do_recovery_pass(log, head_blk, *tail_blk,
fs/xfs/xfs_log_recover.c
997
if (!error && *tail_blk != orig_tail)
fs/xfs/xfs_mount.c
1000
if (error) {
fs/xfs/xfs_mount.c
1001
xfs_warn(mp, "Failed per-ag init: %d", error);
fs/xfs/xfs_mount.c
1005
error = xfs_initialize_rtgroups(mp, 0, sbp->sb_rgcount,
fs/xfs/xfs_mount.c
1007
if (error) {
fs/xfs/xfs_mount.c
1008
xfs_warn(mp, "Failed rtgroup init: %d", error);
fs/xfs/xfs_mount.c
1014
error = -EFSCORRUPTED;
fs/xfs/xfs_mount.c
1018
error = xfs_inodegc_register_shrinker(mp);
fs/xfs/xfs_mount.c
1019
if (error)
fs/xfs/xfs_mount.c
1034
error = xfs_log_mount(mp, mp->m_logdev_targp,
fs/xfs/xfs_mount.c
1037
if (error) {
fs/xfs/xfs_mount.c
1064
error = xfs_mount_setup_metadir(mp);
fs/xfs/xfs_mount.c
1065
if (error)
fs/xfs/xfs_mount.c
1073
error = xfs_iget(mp, NULL, sbp->sb_rootino, XFS_IGET_UNTRUSTED,
fs/xfs/xfs_mount.c
1075
if (error) {
fs/xfs/xfs_mount.c
1078
sbp->sb_rootino, -error);
fs/xfs/xfs_mount.c
1088
error = -EFSCORRUPTED;
fs/xfs/xfs_mount.c
1098
error = xfs_rtmount_inodes(mp);
fs/xfs/xfs_mount.c
1099
if (error) {
fs/xfs/xfs_mount.c
1108
error = xfs_check_summary_counts(mp);
fs/xfs/xfs_mount.c
1109
if (error)
fs/xfs/xfs_mount.c
1118
error = xfs_sync_sb(mp, false);
fs/xfs/xfs_mount.c
1119
if (error) {
fs/xfs/xfs_mount.c
1129
error = xfs_qm_newmount(mp, "amount, "aflags);
fs/xfs/xfs_mount.c
1130
if (error)
fs/xfs/xfs_mount.c
1140
error = xfs_mount_reset_sbqflags(mp);
fs/xfs/xfs_mount.c
1141
if (error)
fs/xfs/xfs_mount.c
1154
error = xfs_fs_reserve_ag_blocks(mp);
fs/xfs/xfs_mount.c
1155
if (error && error == -ENOSPC)
fs/xfs/xfs_mount.c
1158
error = xfs_log_mount_finish(mp);
fs/xfs/xfs_mount.c
1160
if (error) {
fs/xfs/xfs_mount.c
1178
error = xfs_mount_zones(mp);
fs/xfs/xfs_mount.c
1179
if (error)
fs/xfs/xfs_mount.c
1206
error = xfs_reserve_blocks(mp, i,
fs/xfs/xfs_mount.c
1208
if (error)
fs/xfs/xfs_mount.c
1215
error = xfs_fs_reserve_ag_blocks(mp);
fs/xfs/xfs_mount.c
1216
if (error && error != -ENOSPC)
fs/xfs/xfs_mount.c
1227
error = xfs_set_max_atomic_write_opt(mp, mp->m_awu_max_bytes);
fs/xfs/xfs_mount.c
1228
if (error)
fs/xfs/xfs_mount.c
1290
return error;
fs/xfs/xfs_mount.c
1301
int error;
fs/xfs/xfs_mount.c
1343
error = xfs_reserve_blocks(mp, XC_FREE_BLOCKS, 0);
fs/xfs/xfs_mount.c
1344
if (error)
fs/xfs/xfs_mount.c
1561
int error;
fs/xfs/xfs_mount.c
1572
error = xfs_log_force(mp, XFS_LOG_SYNC);
fs/xfs/xfs_mount.c
1573
if (error)
fs/xfs/xfs_mount.c
1574
return error;
fs/xfs/xfs_mount.c
1585
error = -EIO;
fs/xfs/xfs_mount.c
1600
error = xfs_bwrite(mp->m_sb_bp);
fs/xfs/xfs_mount.c
1601
if (error)
fs/xfs/xfs_mount.c
1617
return error;
fs/xfs/xfs_mount.c
167
int error;
fs/xfs/xfs_mount.c
186
error = xfs_buf_read_uncached(mp->m_ddev_targp, XFS_SB_DADDR,
fs/xfs/xfs_mount.c
188
if (error) {
fs/xfs/xfs_mount.c
190
xfs_warn(mp, "SB validate failed with error %d.", error);
fs/xfs/xfs_mount.c
192
if (error == -EFSBADCRC)
fs/xfs/xfs_mount.c
193
error = -EFSCORRUPTED;
fs/xfs/xfs_mount.c
194
return error;
fs/xfs/xfs_mount.c
209
error = -EINVAL;
fs/xfs/xfs_mount.c
220
error = -ENOSYS;
fs/xfs/xfs_mount.c
258
return error;
fs/xfs/xfs_mount.c
360
int error;
fs/xfs/xfs_mount.c
366
error = xfs_check_new_dalign(mp, mp->m_dalign, &update_sb);
fs/xfs/xfs_mount.c
367
if (error || !update_sb)
fs/xfs/xfs_mount.c
368
return error;
fs/xfs/xfs_mount.c
410
int error;
fs/xfs/xfs_mount.c
417
error = xfs_buf_read_uncached(mp->m_ddev_targp,
fs/xfs/xfs_mount.c
420
if (error) {
fs/xfs/xfs_mount.c
422
return error;
fs/xfs/xfs_mount.c
434
error = xfs_buf_read_uncached(mp->m_logdev_targp,
fs/xfs/xfs_mount.c
437
if (error) {
fs/xfs/xfs_mount.c
439
return error;
fs/xfs/xfs_mount.c
506
int error = 0;
fs/xfs/xfs_mount.c
548
error = xfs_initialize_perag_data(mp, mp->m_sb.sb_agcount);
fs/xfs/xfs_mount.c
549
if (error)
fs/xfs/xfs_mount.c
550
return error;
fs/xfs/xfs_mount.c
566
error = xfs_rtalloc_reinit_frextents(mp);
fs/xfs/xfs_mount.c
567
if (error)
fs/xfs/xfs_mount.c
568
return error;
fs/xfs/xfs_mount.c
650
int error;
fs/xfs/xfs_mount.c
653
error = xfs_metafile_iget(mp, mp->m_sb.sb_metadirino, XFS_METAFILE_DIR,
fs/xfs/xfs_mount.c
655
if (error)
fs/xfs/xfs_mount.c
657
error);
fs/xfs/xfs_mount.c
658
return error;
fs/xfs/xfs_mount.c
739
int error;
fs/xfs/xfs_mount.c
805
error = xfs_calc_atomic_write_reservation(mp, new_max_fsbs);
fs/xfs/xfs_mount.c
806
if (error) {
fs/xfs/xfs_mount.c
810
return error;
fs/xfs/xfs_mount.c
847
int error = 0;
fs/xfs/xfs_mount.c
888
error = xfs_validate_new_dalign(mp);
fs/xfs/xfs_mount.c
889
if (error)
fs/xfs/xfs_mount.c
911
error = xfs_update_alignment(mp);
fs/xfs/xfs_mount.c
912
if (error)
fs/xfs/xfs_mount.c
918
error = xfs_mount_sysfs_init(mp);
fs/xfs/xfs_mount.c
919
if (error)
fs/xfs/xfs_mount.c
924
error = xfs_errortag_init(mp);
fs/xfs/xfs_mount.c
925
if (error)
fs/xfs/xfs_mount.c
928
error = xfs_uuid_mount(mp);
fs/xfs/xfs_mount.c
929
if (error)
fs/xfs/xfs_mount.c
955
error = -EINVAL;
fs/xfs/xfs_mount.c
962
error = xfs_check_sizes(mp);
fs/xfs/xfs_mount.c
963
if (error)
fs/xfs/xfs_mount.c
969
error = xfs_rtmount_init(mp);
fs/xfs/xfs_mount.c
970
if (error) {
fs/xfs/xfs_mount.c
984
error = xfs_da_mount(mp);
fs/xfs/xfs_mount.c
985
if (error) {
fs/xfs/xfs_mount.c
986
xfs_warn(mp, "Failed dir/attr init: %d", error);
fs/xfs/xfs_mount.c
998
error = xfs_initialize_perag(mp, 0, sbp->sb_agcount,
fs/xfs/xfs_mount.h
67
int error;
fs/xfs/xfs_mount.h
794
int error_class, int error);
fs/xfs/xfs_mru_cache.c
420
int error = -EINVAL;
fs/xfs/xfs_mru_cache.c
422
error = -ENOMEM;
fs/xfs/xfs_mru_cache.c
430
error = radix_tree_insert(&mru->store, key, elem);
fs/xfs/xfs_mru_cache.c
432
if (!error)
fs/xfs/xfs_mru_cache.c
436
if (error)
fs/xfs/xfs_mru_cache.c
442
return error;
fs/xfs/xfs_notify_failure.c
100
if (error == -ENODATA)
fs/xfs/xfs_notify_failure.c
102
if (error) {
fs/xfs/xfs_notify_failure.c
113
error = mf_dax_kill_procs(mapping, pgoff, pgcnt,
fs/xfs/xfs_notify_failure.c
125
return error;
fs/xfs/xfs_notify_failure.c
133
int error;
fs/xfs/xfs_notify_failure.c
135
error = freeze_super(sb, FREEZE_HOLDER_KERNEL, NULL);
fs/xfs/xfs_notify_failure.c
136
if (error)
fs/xfs/xfs_notify_failure.c
137
xfs_emerg(mp, "already frozen by kernel, err=%d", error);
fs/xfs/xfs_notify_failure.c
139
return error;
fs/xfs/xfs_notify_failure.c
148
int error;
fs/xfs/xfs_notify_failure.c
151
error = thaw_super(sb, FREEZE_HOLDER_KERNEL, NULL);
fs/xfs/xfs_notify_failure.c
152
if (error)
fs/xfs/xfs_notify_failure.c
154
error);
fs/xfs/xfs_notify_failure.c
212
int error;
fs/xfs/xfs_notify_failure.c
218
error = xfs_dax_translate_range(mp->m_logdev_targp,
fs/xfs/xfs_notify_failure.c
220
if (error)
fs/xfs/xfs_notify_failure.c
221
return error;
fs/xfs/xfs_notify_failure.c
250
int error = 0;
fs/xfs/xfs_notify_failure.c
258
error = xfs_dax_translate_range(xfs_group_type_buftarg(mp, type),
fs/xfs/xfs_notify_failure.c
260
if (error)
fs/xfs/xfs_notify_failure.c
261
return error;
fs/xfs/xfs_notify_failure.c
305
error = xfs_alloc_read_agf(pag, tp, 0, &agf_bp);
fs/xfs/xfs_notify_failure.c
306
if (error) {
fs/xfs/xfs_notify_failure.c
335
error = xfs_rmap_query_range(cur, &ri_low, &ri_high,
fs/xfs/xfs_notify_failure.c
337
xfs_btree_del_cursor(cur, error);
fs/xfs/xfs_notify_failure.c
342
if (error) {
fs/xfs/xfs_notify_failure.c
358
else if (error || notify.want_shutdown) {
fs/xfs/xfs_notify_failure.c
360
if (!error)
fs/xfs/xfs_notify_failure.c
361
error = -EFSCORRUPTED;
fs/xfs/xfs_notify_failure.c
368
return error;
fs/xfs/xfs_notify_failure.c
85
int error = 0;
fs/xfs/xfs_notify_failure.c
97
error = xfs_iget(mp, cur->bc_tp, rec->rm_owner, XFS_IGET_INCORE,
fs/xfs/xfs_pnfs.c
124
int error = 0;
fs/xfs/xfs_pnfs.c
154
error = -EINVAL;
fs/xfs/xfs_pnfs.c
164
error = filemap_write_and_wait(inode->i_mapping);
fs/xfs/xfs_pnfs.c
165
if (error)
fs/xfs/xfs_pnfs.c
167
error = invalidate_inode_pages2(inode->i_mapping);
fs/xfs/xfs_pnfs.c
168
if (WARN_ON_ONCE(error))
fs/xfs/xfs_pnfs.c
175
error = xfs_bmapi_read(ip, offset_fsb, end_fsb - offset_fsb,
fs/xfs/xfs_pnfs.c
181
if (!error && write &&
fs/xfs/xfs_pnfs.c
190
error = xfs_iomap_write_direct(ip, offset_fsb,
fs/xfs/xfs_pnfs.c
192
if (error)
fs/xfs/xfs_pnfs.c
200
error = xfs_fs_map_update_inode(ip);
fs/xfs/xfs_pnfs.c
201
if (!error)
fs/xfs/xfs_pnfs.c
202
error = xfs_log_force_inode(ip);
fs/xfs/xfs_pnfs.c
203
if (error)
fs/xfs/xfs_pnfs.c
211
error = xfs_bmbt_to_iomap(ip, iomap, &imap, 0, 0, seq);
fs/xfs/xfs_pnfs.c
213
return error;
fs/xfs/xfs_pnfs.c
216
return error;
fs/xfs/xfs_pnfs.c
229
int error = 0;
fs/xfs/xfs_pnfs.c
232
error = xfs_bmapi_read(ip, XFS_B_TO_FSBT(ip->i_mount, isize - 1), 1,
fs/xfs/xfs_pnfs.c
235
if (error)
fs/xfs/xfs_pnfs.c
236
return error;
fs/xfs/xfs_pnfs.c
266
int error, i;
fs/xfs/xfs_pnfs.c
297
error = invalidate_inode_pages2_range(inode->i_mapping,
fs/xfs/xfs_pnfs.c
300
WARN_ON_ONCE(error);
fs/xfs/xfs_pnfs.c
302
error = xfs_iomap_write_unwritten(ip, start, length, false);
fs/xfs/xfs_pnfs.c
303
if (error)
fs/xfs/xfs_pnfs.c
308
error = xfs_pnfs_validate_isize(ip, size);
fs/xfs/xfs_pnfs.c
309
if (error)
fs/xfs/xfs_pnfs.c
313
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp);
fs/xfs/xfs_pnfs.c
314
if (error)
fs/xfs/xfs_pnfs.c
329
error = xfs_trans_commit(tp);
fs/xfs/xfs_pnfs.c
333
return error;
fs/xfs/xfs_pnfs.c
34
int error;
fs/xfs/xfs_pnfs.c
36
while ((error = break_layout(inode, false)) == -EWOULDBLOCK) {
fs/xfs/xfs_pnfs.c
39
error = break_layout(inode, true);
fs/xfs/xfs_pnfs.c
45
return error;
fs/xfs/xfs_pnfs.c
84
int error;
fs/xfs/xfs_pnfs.c
86
error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid,
fs/xfs/xfs_pnfs.c
88
if (error)
fs/xfs/xfs_pnfs.c
89
return error;
fs/xfs/xfs_pwork.c
107
return pctl->error;
fs/xfs/xfs_pwork.c
43
int error;
fs/xfs/xfs_pwork.c
47
error = pctl->work_fn(pctl->mp, pwork);
fs/xfs/xfs_pwork.c
48
if (error && !pctl->error)
fs/xfs/xfs_pwork.c
49
pctl->error = error;
fs/xfs/xfs_pwork.c
80
pctl->error = 0;
fs/xfs/xfs_pwork.h
23
int error;
fs/xfs/xfs_pwork.h
42
return pctl && pctl->error;
fs/xfs/xfs_qm.c
1000
xfs_alert(mp, "%s failed (error %d)!", __func__, error);
fs/xfs/xfs_qm.c
1006
return error;
fs/xfs/xfs_qm.c
1090
int error = 0;
fs/xfs/xfs_qm.c
1104
error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp,
fs/xfs/xfs_qm.c
1116
if (error == -EFSCORRUPTED) {
fs/xfs/xfs_qm.c
1117
error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp,
fs/xfs/xfs_qm.c
1123
if (error)
fs/xfs/xfs_qm.c
1141
return error;
fs/xfs/xfs_qm.c
1157
int error; /* return value */
fs/xfs/xfs_qm.c
1164
error = 0;
fs/xfs/xfs_qm.c
1188
error = xfs_bmapi_read(qip, lblkno, maxlblkcnt - lblkno,
fs/xfs/xfs_qm.c
1191
if (error)
fs/xfs/xfs_qm.c
1226
error = xfs_qm_reset_dqcounts_all(mp, firstid,
fs/xfs/xfs_qm.c
1230
if (error)
fs/xfs/xfs_qm.c
1237
return error;
fs/xfs/xfs_qm.c
1258
int error;
fs/xfs/xfs_qm.c
1261
error = xfs_qm_dqget(mp, id, type, true, &dqp);
fs/xfs/xfs_qm.c
1262
if (error) {
fs/xfs/xfs_qm.c
1266
ASSERT(error != -ESRCH);
fs/xfs/xfs_qm.c
1267
ASSERT(error != -ENOENT);
fs/xfs/xfs_qm.c
1268
return error;
fs/xfs/xfs_qm.c
1272
error = xfs_dquot_attach_buf(NULL, dqp);
fs/xfs/xfs_qm.c
1273
if (error)
fs/xfs/xfs_qm.c
1307
return error;
fs/xfs/xfs_qm.c
1325
int error;
fs/xfs/xfs_qm.c
1340
error = xfs_iget(mp, tp, ino, XFS_IGET_DONTCACHE, 0, &ip);
fs/xfs/xfs_qm.c
1341
if (error == -EINVAL || error == -ENOENT)
fs/xfs/xfs_qm.c
1343
if (error)
fs/xfs/xfs_qm.c
1344
return error;
fs/xfs/xfs_qm.c
1352
error = xfs_inode_reload_unlinked(ip);
fs/xfs/xfs_qm.c
1353
if (error) {
fs/xfs/xfs_qm.c
1367
error = xfs_iread_extents(tp, ip, XFS_DATA_FORK);
fs/xfs/xfs_qm.c
1368
if (error) {
fs/xfs/xfs_qm.c
1390
error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_USER, nblks,
fs/xfs/xfs_qm.c
1392
if (error)
fs/xfs/xfs_qm.c
1397
error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_GROUP, nblks,
fs/xfs/xfs_qm.c
1399
if (error)
fs/xfs/xfs_qm.c
1404
error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_PROJ, nblks,
fs/xfs/xfs_qm.c
1406
if (error)
fs/xfs/xfs_qm.c
1412
return error;
fs/xfs/xfs_qm.c
1422
int error = 0;
fs/xfs/xfs_qm.c
1434
error = xfs_dquot_use_attached_buf(dqp, &bp);
fs/xfs/xfs_qm.c
1435
if (error)
fs/xfs/xfs_qm.c
1438
error = -EFSCORRUPTED;
fs/xfs/xfs_qm.c
1442
error = xfs_qm_dqflush(dqp, bp);
fs/xfs/xfs_qm.c
1443
if (!error)
fs/xfs/xfs_qm.c
1449
return error;
fs/xfs/xfs_qm.c
1460
int error, error2;
fs/xfs/xfs_qm.c
1480
error = xfs_qm_reset_dqcounts_buf(mp, uip, XFS_DQTYPE_USER,
fs/xfs/xfs_qm.c
1482
if (error)
fs/xfs/xfs_qm.c
1488
error = xfs_qm_reset_dqcounts_buf(mp, gip, XFS_DQTYPE_GROUP,
fs/xfs/xfs_qm.c
149
int error;
fs/xfs/xfs_qm.c
1490
if (error)
fs/xfs/xfs_qm.c
1496
error = xfs_qm_reset_dqcounts_buf(mp, pip, XFS_DQTYPE_PROJ,
fs/xfs/xfs_qm.c
1498
if (error)
fs/xfs/xfs_qm.c
1504
error = xfs_iwalk_threaded(mp, 0, 0, xfs_qm_dqusage_adjust, 0, true,
fs/xfs/xfs_qm.c
1513
if (error)
fs/xfs/xfs_qm.c
1521
error = xfs_qm_dquot_walk(mp, XFS_DQTYPE_USER, xfs_qm_flush_one,
fs/xfs/xfs_qm.c
1527
if (!error)
fs/xfs/xfs_qm.c
1528
error = error2;
fs/xfs/xfs_qm.c
1533
if (!error)
fs/xfs/xfs_qm.c
1534
error = error2;
fs/xfs/xfs_qm.c
1538
if (!error)
fs/xfs/xfs_qm.c
1539
error = error2;
fs/xfs/xfs_qm.c
1548
if (error)
fs/xfs/xfs_qm.c
155
error = xfs_dquot_use_attached_buf(dqp, &bp);
fs/xfs/xfs_qm.c
156
if (error == -EAGAIN) {
fs/xfs/xfs_qm.c
1562
if (error) {
fs/xfs/xfs_qm.c
1565
error);
fs/xfs/xfs_qm.c
1581
return error;
fs/xfs/xfs_qm.c
1612
int error = 0;
fs/xfs/xfs_qm.c
1633
error = xfs_qm_init_quotainfo(mp);
fs/xfs/xfs_qm.c
1634
if (error) {
fs/xfs/xfs_qm.c
1646
error = xfs_qm_quotacheck(mp);
fs/xfs/xfs_qm.c
1647
if (error) {
fs/xfs/xfs_qm.c
168
error = xfs_qm_dqflush(dqp, bp);
fs/xfs/xfs_qm.c
1688
if (error) {
fs/xfs/xfs_qm.c
1689
xfs_warn(mp, "Failed to initialize disk quotas, err %d.", error);
fs/xfs/xfs_qm.c
169
if (!error) {
fs/xfs/xfs_qm.c
170
error = xfs_bwrite(bp);
fs/xfs/xfs_qm.c
1710
int error;
fs/xfs/xfs_qm.c
1714
error = xfs_dqinode_load_parent(tp, &dp);
fs/xfs/xfs_qm.c
1715
if (error)
fs/xfs/xfs_qm.c
1719
error = xfs_dqinode_load(tp, dp, type, ipp);
fs/xfs/xfs_qm.c
1724
return error;
fs/xfs/xfs_qm.c
1738
int error;
fs/xfs/xfs_qm.c
1750
error = xfs_qm_qino_load(mp, XFS_DQTYPE_USER, &uip);
fs/xfs/xfs_qm.c
1751
if (error)
fs/xfs/xfs_qm.c
1752
return error;
fs/xfs/xfs_qm.c
1757
error = xfs_qm_qino_load(mp, XFS_DQTYPE_GROUP, &gip);
fs/xfs/xfs_qm.c
1758
if (error)
fs/xfs/xfs_qm.c
1764
error = xfs_qm_qino_load(mp, XFS_DQTYPE_PROJ, &pip);
fs/xfs/xfs_qm.c
1765
if (error)
fs/xfs/xfs_qm.c
1779
error = xfs_qm_qino_alloc(mp, &uip,
fs/xfs/xfs_qm.c
1781
if (error)
fs/xfs/xfs_qm.c
1787
error = xfs_qm_qino_alloc(mp, &gip,
fs/xfs/xfs_qm.c
1789
if (error)
fs/xfs/xfs_qm.c
1795
error = xfs_qm_qino_alloc(mp, &pip,
fs/xfs/xfs_qm.c
1797
if (error)
fs/xfs/xfs_qm.c
1814
return error;
fs/xfs/xfs_qm.c
1863
int error;
fs/xfs/xfs_qm.c
1879
error = xfs_qm_dqattach_locked(ip, true);
fs/xfs/xfs_qm.c
1881
if (error)
fs/xfs/xfs_qm.c
1882
return error;
fs/xfs/xfs_qm.c
1888
error = xfs_qm_dqget(mp, from_kuid(user_ns, uid),
fs/xfs/xfs_qm.c
1890
if (error) {
fs/xfs/xfs_qm.c
1891
ASSERT(error != -ENOENT);
fs/xfs/xfs_qm.c
1892
return error;
fs/xfs/xfs_qm.c
1906
error = xfs_qm_dqget(mp, from_kgid(user_ns, gid),
fs/xfs/xfs_qm.c
1908
if (error) {
fs/xfs/xfs_qm.c
1909
ASSERT(error != -ENOENT);
fs/xfs/xfs_qm.c
1920
error = xfs_qm_dqget(mp, prid,
fs/xfs/xfs_qm.c
1922
if (error) {
fs/xfs/xfs_qm.c
1923
ASSERT(error != -ENOENT);
fs/xfs/xfs_qm.c
1950
return error;
fs/xfs/xfs_qm.c
2040
int error;
fs/xfs/xfs_qm.c
2047
error = xfs_qm_dqattach(ip);
fs/xfs/xfs_qm.c
2048
if (error)
fs/xfs/xfs_qm.c
2049
return error;
fs/xfs/xfs_qm.c
320
int error = 0;
fs/xfs/xfs_qm.c
329
error = xfs_qm_dqget_inode(ip, XFS_DQTYPE_USER,
fs/xfs/xfs_qm.c
331
if (error)
fs/xfs/xfs_qm.c
337
error = xfs_qm_dqget_inode(ip, XFS_DQTYPE_GROUP,
fs/xfs/xfs_qm.c
339
if (error)
fs/xfs/xfs_qm.c
345
error = xfs_qm_dqget_inode(ip, XFS_DQTYPE_PROJ,
fs/xfs/xfs_qm.c
347
if (error)
fs/xfs/xfs_qm.c
358
return error;
fs/xfs/xfs_qm.c
365
int error;
fs/xfs/xfs_qm.c
371
error = xfs_qm_dqattach_locked(ip, false);
fs/xfs/xfs_qm.c
374
return error;
fs/xfs/xfs_qm.c
499
int error;
fs/xfs/xfs_qm.c
510
error = xfs_buf_delwri_submit(&isol.buffers);
fs/xfs/xfs_qm.c
511
if (error)
fs/xfs/xfs_qm.c
543
int error;
fs/xfs/xfs_qm.c
545
error = xfs_qm_dqget_uncached(mp, 0, type, &dqp);
fs/xfs/xfs_qm.c
546
if (error)
fs/xfs/xfs_qm.c
573
int error;
fs/xfs/xfs_qm.c
588
error = xfs_qm_dqget_uncached(mp, 0, type, &dqp);
fs/xfs/xfs_qm.c
589
if (error)
fs/xfs/xfs_qm.c
613
int error;
fs/xfs/xfs_qm.c
616
error = xfs_dqinode_load_parent(tp, &qi->qi_dirip);
fs/xfs/xfs_qm.c
617
if (error == -ENOENT) {
fs/xfs/xfs_qm.c
619
error = 0;
fs/xfs/xfs_qm.c
622
if (error)
fs/xfs/xfs_qm.c
626
error = xfs_dqinode_load(tp, qi->qi_dirip, XFS_DQTYPE_USER,
fs/xfs/xfs_qm.c
628
if (error && error != -ENOENT)
fs/xfs/xfs_qm.c
633
error = xfs_dqinode_load(tp, qi->qi_dirip, XFS_DQTYPE_GROUP,
fs/xfs/xfs_qm.c
635
if (error && error != -ENOENT)
fs/xfs/xfs_qm.c
640
error = xfs_dqinode_load(tp, qi->qi_dirip, XFS_DQTYPE_PROJ,
fs/xfs/xfs_qm.c
642
if (error && error != -ENOENT)
fs/xfs/xfs_qm.c
646
error = 0;
fs/xfs/xfs_qm.c
649
return error;
fs/xfs/xfs_qm.c
658
int error;
fs/xfs/xfs_qm.c
661
error = xfs_dqinode_mkdir_parent(mp, &qi->qi_dirip);
fs/xfs/xfs_qm.c
662
if (error && error != -EEXIST)
fs/xfs/xfs_qm.c
663
return error;
fs/xfs/xfs_qm.c
674
error = xfs_dqinode_metadir_create(qi->qi_dirip,
fs/xfs/xfs_qm.c
676
if (error)
fs/xfs/xfs_qm.c
677
return error;
fs/xfs/xfs_qm.c
681
error = xfs_dqinode_metadir_create(qi->qi_dirip,
fs/xfs/xfs_qm.c
683
if (error)
fs/xfs/xfs_qm.c
684
return error;
fs/xfs/xfs_qm.c
688
error = xfs_dqinode_metadir_create(qi->qi_dirip,
fs/xfs/xfs_qm.c
690
if (error)
fs/xfs/xfs_qm.c
691
return error;
fs/xfs/xfs_qm.c
706
int error;
fs/xfs/xfs_qm.c
708
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_sb, 0, 0, 0, &tp);
fs/xfs/xfs_qm.c
709
if (error)
fs/xfs/xfs_qm.c
710
return error;
fs/xfs/xfs_qm.c
734
int error;
fs/xfs/xfs_qm.c
737
error = xfs_qm_prep_metadir_sb(mp);
fs/xfs/xfs_qm.c
738
if (error)
fs/xfs/xfs_qm.c
739
return error;
fs/xfs/xfs_qm.c
74
int error;
fs/xfs/xfs_qm.c
742
error = xfs_qm_load_metadir_qinos(mp, qi);
fs/xfs/xfs_qm.c
743
if (error)
fs/xfs/xfs_qm.c
746
error = xfs_qm_create_metadir_qinos(mp, qi);
fs/xfs/xfs_qm.c
747
if (error)
fs/xfs/xfs_qm.c
758
return error;
fs/xfs/xfs_qm.c
770
int error;
fs/xfs/xfs_qm.c
777
error = list_lru_init(&qinf->qi_lru);
fs/xfs/xfs_qm.c
778
if (error)
fs/xfs/xfs_qm.c
786
error = xfs_qm_init_metadir_qinos(mp);
fs/xfs/xfs_qm.c
788
error = xfs_qm_init_quotainos(mp);
fs/xfs/xfs_qm.c
789
if (error)
fs/xfs/xfs_qm.c
831
error = -ENOMEM;
fs/xfs/xfs_qm.c
855
return error;
fs/xfs/xfs_qm.c
90
error = execute(batch[i], data);
fs/xfs/xfs_qm.c
904
int error;
fs/xfs/xfs_qm.c
91
if (error == -EAGAIN) {
fs/xfs/xfs_qm.c
937
error = xfs_metafile_iget(mp, ino, metafile_type, ipp);
fs/xfs/xfs_qm.c
938
if (error)
fs/xfs/xfs_qm.c
939
return error;
fs/xfs/xfs_qm.c
947
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_create,
fs/xfs/xfs_qm.c
95
if (error && last_error != -EFSCORRUPTED)
fs/xfs/xfs_qm.c
950
if (error)
fs/xfs/xfs_qm.c
951
return error;
fs/xfs/xfs_qm.c
96
last_error = error;
fs/xfs/xfs_qm.c
960
error = xfs_dialloc(&tp, &args, &ino);
fs/xfs/xfs_qm.c
961
if (!error)
fs/xfs/xfs_qm.c
962
error = xfs_icreate(tp, ino, &args, ipp);
fs/xfs/xfs_qm.c
963
if (error) {
fs/xfs/xfs_qm.c
965
return error;
fs/xfs/xfs_qm.c
997
error = xfs_trans_commit(tp);
fs/xfs/xfs_qm.c
998
if (error) {
fs/xfs/xfs_qm_syscalls.c
105
int error = -EINVAL;
fs/xfs/xfs_qm_syscalls.c
115
error = xfs_qm_scall_trunc_qfile(mp, XFS_DQTYPE_USER);
fs/xfs/xfs_qm_syscalls.c
116
if (error)
fs/xfs/xfs_qm_syscalls.c
117
return error;
fs/xfs/xfs_qm_syscalls.c
120
error = xfs_qm_scall_trunc_qfile(mp, XFS_DQTYPE_GROUP);
fs/xfs/xfs_qm_syscalls.c
121
if (error)
fs/xfs/xfs_qm_syscalls.c
122
return error;
fs/xfs/xfs_qm_syscalls.c
125
error = xfs_qm_scall_trunc_qfile(mp, XFS_DQTYPE_PROJ);
fs/xfs/xfs_qm_syscalls.c
127
return error;
fs/xfs/xfs_qm_syscalls.c
140
int error;
fs/xfs/xfs_qm_syscalls.c
192
error = xfs_sync_sb(mp, false);
fs/xfs/xfs_qm_syscalls.c
193
if (error)
fs/xfs/xfs_qm_syscalls.c
194
return error;
fs/xfs/xfs_qm_syscalls.c
284
int error;
fs/xfs/xfs_qm_syscalls.c
299
error = xfs_qm_dqget(mp, id, type, true, &dqp);
fs/xfs/xfs_qm_syscalls.c
300
if (error) {
fs/xfs/xfs_qm_syscalls.c
301
ASSERT(error != -ENOENT);
fs/xfs/xfs_qm_syscalls.c
302
return error;
fs/xfs/xfs_qm_syscalls.c
307
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_setqlim, 0, 0, 0, &tp);
fs/xfs/xfs_qm_syscalls.c
308
if (error)
fs/xfs/xfs_qm_syscalls.c
387
error = xfs_trans_commit(tp);
fs/xfs/xfs_qm_syscalls.c
391
return error;
fs/xfs/xfs_qm_syscalls.c
440
int error;
fs/xfs/xfs_qm_syscalls.c
453
error = xfs_qm_dqget(mp, id, type, false, &dqp);
fs/xfs/xfs_qm_syscalls.c
454
if (error)
fs/xfs/xfs_qm_syscalls.c
455
return error;
fs/xfs/xfs_qm_syscalls.c
463
error = -ENOENT;
fs/xfs/xfs_qm_syscalls.c
472
return error;
fs/xfs/xfs_qm_syscalls.c
487
int error;
fs/xfs/xfs_qm_syscalls.c
493
error = xfs_qm_dqget_next(mp, *id, type, &dqp);
fs/xfs/xfs_qm_syscalls.c
494
if (error)
fs/xfs/xfs_qm_syscalls.c
495
return error;
fs/xfs/xfs_qm_syscalls.c
504
return error;
fs/xfs/xfs_qm_syscalls.c
60
int error;
fs/xfs/xfs_qm_syscalls.c
62
error = xfs_qm_qino_load(mp, type, &ip);
fs/xfs/xfs_qm_syscalls.c
63
if (error == -ENOENT)
fs/xfs/xfs_qm_syscalls.c
65
if (error)
fs/xfs/xfs_qm_syscalls.c
66
return error;
fs/xfs/xfs_qm_syscalls.c
70
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp);
fs/xfs/xfs_qm_syscalls.c
71
if (error) {
fs/xfs/xfs_qm_syscalls.c
82
error = xfs_itruncate_extents(&tp, ip, XFS_DATA_FORK, 0);
fs/xfs/xfs_qm_syscalls.c
83
if (error) {
fs/xfs/xfs_qm_syscalls.c
91
error = xfs_trans_commit(tp);
fs/xfs/xfs_qm_syscalls.c
97
return error;
fs/xfs/xfs_quotaops.c
27
int error;
fs/xfs/xfs_quotaops.c
29
error = xfs_qm_qino_load(mp, type, &ip);
fs/xfs/xfs_quotaops.c
30
if (error) {
fs/xfs/xfs_quotaops.c
32
return error != -ENOENT ? error : 0;
fs/xfs/xfs_quotaops.c
63
int error;
fs/xfs/xfs_quotaops.c
82
error = xfs_qm_fill_state(&state->s_state[USRQUOTA], mp,
fs/xfs/xfs_quotaops.c
84
if (error)
fs/xfs/xfs_quotaops.c
85
return error;
fs/xfs/xfs_quotaops.c
86
error = xfs_qm_fill_state(&state->s_state[GRPQUOTA], mp,
fs/xfs/xfs_quotaops.c
88
if (error)
fs/xfs/xfs_quotaops.c
89
return error;
fs/xfs/xfs_quotaops.c
90
error = xfs_qm_fill_state(&state->s_state[PRJQUOTA], mp,
fs/xfs/xfs_quotaops.c
92
if (error)
fs/xfs/xfs_quotaops.c
93
return error;
fs/xfs/xfs_refcount_item.c
408
int error;
fs/xfs/xfs_refcount_item.c
411
error = xfs_refcount_finish_one(tp, ri, state);
fs/xfs/xfs_refcount_item.c
412
if (!error && ri->ri_blockcount > 0) {
fs/xfs/xfs_refcount_item.c
419
return error;
fs/xfs/xfs_refcount_item.c
427
int error)
fs/xfs/xfs_refcount_item.c
434
xfs_btree_del_cursor(rcur, error);
fs/xfs/xfs_refcount_item.c
435
if (error && agbp)
fs/xfs/xfs_refcount_item.c
513
int error = 0;
fs/xfs/xfs_refcount_item.c
546
error = xfs_trans_alloc(mp, &resv, mp->m_refc_maxlevels * 2, 0,
fs/xfs/xfs_refcount_item.c
548
if (error)
fs/xfs/xfs_refcount_item.c
549
return error;
fs/xfs/xfs_refcount_item.c
551
error = xlog_recover_finish_intent(tp, dfp);
fs/xfs/xfs_refcount_item.c
552
if (error == -EFSCORRUPTED)
fs/xfs/xfs_refcount_item.c
556
if (error)
fs/xfs/xfs_refcount_item.c
563
return error;
fs/xfs/xfs_refcount_item.c
624
int error;
fs/xfs/xfs_refcount_item.c
626
error = xfs_rtrefcount_finish_one(tp, ri, state);
fs/xfs/xfs_refcount_item.c
629
if (!error && ri->ri_blockcount > 0) {
fs/xfs/xfs_refcount_item.c
636
return error;
fs/xfs/xfs_refcount_item.c
644
int error)
fs/xfs/xfs_refcount_item.c
647
xfs_btree_del_cursor(rcur, error);
fs/xfs/xfs_reflink.c
1001
int error = 0;
fs/xfs/xfs_reflink.c
1018
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_atomic_ioend, resblks, 0,
fs/xfs/xfs_reflink.c
1020
if (error)
fs/xfs/xfs_reflink.c
1021
return error;
fs/xfs/xfs_reflink.c
1026
while (end_fsb > offset_fsb && !error) {
fs/xfs/xfs_reflink.c
1027
error = xfs_reflink_end_cow_extent_locked(tp, ip, &offset_fsb,
fs/xfs/xfs_reflink.c
1030
if (error) {
fs/xfs/xfs_reflink.c
1031
trace_xfs_reflink_end_cow_error(ip, error, _RET_IP_);
fs/xfs/xfs_reflink.c
1034
error = xfs_trans_commit(tp);
fs/xfs/xfs_reflink.c
1036
return error;
fs/xfs/xfs_reflink.c
1040
return error;
fs/xfs/xfs_reflink.c
1071
int error = 0;
fs/xfs/xfs_reflink.c
1077
error = xfs_refcount_recover_cow_leftovers(pag_group(pag));
fs/xfs/xfs_reflink.c
1078
if (error) {
fs/xfs/xfs_reflink.c
1080
return error;
fs/xfs/xfs_reflink.c
1085
error = xfs_refcount_recover_cow_leftovers(rtg_group(rtg));
fs/xfs/xfs_reflink.c
1086
if (error) {
fs/xfs/xfs_reflink.c
1088
return error;
fs/xfs/xfs_reflink.c
1180
int error;
fs/xfs/xfs_reflink.c
1186
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp);
fs/xfs/xfs_reflink.c
1187
if (error)
fs/xfs/xfs_reflink.c
1218
error = xfs_trans_commit(tp);
fs/xfs/xfs_reflink.c
1219
if (error)
fs/xfs/xfs_reflink.c
1221
return error;
fs/xfs/xfs_reflink.c
1224
trace_xfs_reflink_set_inode_flag_error(dest, error, _RET_IP_);
fs/xfs/xfs_reflink.c
1225
return error;
fs/xfs/xfs_reflink.c
1240
int error;
fs/xfs/xfs_reflink.c
1245
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp);
fs/xfs/xfs_reflink.c
1246
if (error)
fs/xfs/xfs_reflink.c
1265
error = xfs_trans_commit(tp);
fs/xfs/xfs_reflink.c
1266
if (error)
fs/xfs/xfs_reflink.c
1268
return error;
fs/xfs/xfs_reflink.c
1271
trace_xfs_reflink_update_inode_size_error(dest, error, _RET_IP_);
fs/xfs/xfs_reflink.c
1272
return error;
fs/xfs/xfs_reflink.c
1289
int error = 0;
fs/xfs/xfs_reflink.c
1303
error = -ENOSPC;
fs/xfs/xfs_reflink.c
1305
return error;
fs/xfs/xfs_reflink.c
1330
int error;
fs/xfs/xfs_reflink.c
1361
error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write,
fs/xfs/xfs_reflink.c
1363
if (error == -EDQUOT || error == -ENOSPC) {
fs/xfs/xfs_reflink.c
1365
error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write,
fs/xfs/xfs_reflink.c
1368
if (error)
fs/xfs/xfs_reflink.c
1377
error = xfs_bmapi_read(ip, dmap->br_startoff, dmap->br_blockcount,
fs/xfs/xfs_reflink.c
1379
if (error)
fs/xfs/xfs_reflink.c
1401
error = -EFSCORRUPTED;
fs/xfs/xfs_reflink.c
1413
error = xfs_reflink_ag_has_free_space(mp, ip,
fs/xfs/xfs_reflink.c
1415
if (error)
fs/xfs/xfs_reflink.c
1449
error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks,
fs/xfs/xfs_reflink.c
1451
if (error)
fs/xfs/xfs_reflink.c
1461
error = xfs_iext_count_extend(tp, ip, XFS_DATA_FORK, iext_delta);
fs/xfs/xfs_reflink.c
1462
if (error)
fs/xfs/xfs_reflink.c
147
int error;
fs/xfs/xfs_reflink.c
1482
error = xfs_bunmapi(NULL, ip, smap.br_startoff,
fs/xfs/xfs_reflink.c
1484
if (error)
fs/xfs/xfs_reflink.c
1512
error = xfs_trans_commit(tp);
fs/xfs/xfs_reflink.c
1520
if (error)
fs/xfs/xfs_reflink.c
1521
trace_xfs_reflink_remap_extent_error(ip, error, _RET_IP_);
fs/xfs/xfs_reflink.c
1522
return error;
fs/xfs/xfs_reflink.c
153
error = xfs_alloc_read_agf(pag, tp, 0, &agbp);
fs/xfs/xfs_reflink.c
154
if (error)
fs/xfs/xfs_reflink.c
1543
int error = 0;
fs/xfs/xfs_reflink.c
1556
error = xfs_bmapi_read(src, srcoff, len, &imap, &nimaps, 0);
fs/xfs/xfs_reflink.c
1558
if (error)
fs/xfs/xfs_reflink.c
1571
error = -EFSCORRUPTED;
fs/xfs/xfs_reflink.c
1579
error = xfs_reflink_remap_extent(dest, &imap, new_isize);
fs/xfs/xfs_reflink.c
158
error = xfs_refcount_find_shared(cur, orig_bno, irec->br_blockcount,
fs/xfs/xfs_reflink.c
1580
if (error)
fs/xfs/xfs_reflink.c
1584
error = -EINTR;
fs/xfs/xfs_reflink.c
1596
if (error)
fs/xfs/xfs_reflink.c
1597
trace_xfs_reflink_remap_blocks_error(dest, error, _RET_IP_);
fs/xfs/xfs_reflink.c
160
xfs_btree_del_cursor(cur, error);
fs/xfs/xfs_reflink.c
1600
return error;
fs/xfs/xfs_reflink.c
163
if (!error && *shared_len)
fs/xfs/xfs_reflink.c
167
return error;
fs/xfs/xfs_reflink.c
1744
int error;
fs/xfs/xfs_reflink.c
1747
error = xfs_iread_extents(tp, ip, XFS_DATA_FORK);
fs/xfs/xfs_reflink.c
1748
if (error)
fs/xfs/xfs_reflink.c
1749
return error;
fs/xfs/xfs_reflink.c
1761
error = xfs_reflink_find_rtshared(mp, tp, &got,
fs/xfs/xfs_reflink.c
1764
error = xfs_reflink_find_shared(mp, tp, &got,
fs/xfs/xfs_reflink.c
1766
if (error)
fs/xfs/xfs_reflink.c
1767
return error;
fs/xfs/xfs_reflink.c
1793
int error = 0;
fs/xfs/xfs_reflink.c
1800
error = xfs_reflink_inode_has_shared_extents(*tpp, ip, &needs_flag);
fs/xfs/xfs_reflink.c
1801
if (error || needs_flag)
fs/xfs/xfs_reflink.c
1802
return error;
fs/xfs/xfs_reflink.c
1808
error = xfs_reflink_cancel_cow_blocks(ip, tpp, 0, XFS_MAX_FILEOFF,
fs/xfs/xfs_reflink.c
1810
if (error)
fs/xfs/xfs_reflink.c
1811
return error;
fs/xfs/xfs_reflink.c
1819
return error;
fs/xfs/xfs_reflink.c
1832
int error = 0;
fs/xfs/xfs_reflink.c
1835
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, 0, 0, 0, &tp);
fs/xfs/xfs_reflink.c
1836
if (error)
fs/xfs/xfs_reflink.c
1837
return error;
fs/xfs/xfs_reflink.c
1842
error = xfs_reflink_clear_inode_flag(ip, &tp);
fs/xfs/xfs_reflink.c
1843
if (error)
fs/xfs/xfs_reflink.c
1846
error = xfs_trans_commit(tp);
fs/xfs/xfs_reflink.c
1847
if (error)
fs/xfs/xfs_reflink.c
1856
return error;
fs/xfs/xfs_reflink.c
1870
int error;
fs/xfs/xfs_reflink.c
1880
error = dax_file_unshare(inode, offset, len,
fs/xfs/xfs_reflink.c
1883
error = iomap_file_unshare(inode, offset, len,
fs/xfs/xfs_reflink.c
1886
if (error)
fs/xfs/xfs_reflink.c
1889
error = filemap_write_and_wait_range(inode->i_mapping, offset,
fs/xfs/xfs_reflink.c
1891
if (error)
fs/xfs/xfs_reflink.c
1895
error = xfs_reflink_try_clear_inode_flag(ip);
fs/xfs/xfs_reflink.c
1896
if (error)
fs/xfs/xfs_reflink.c
1901
trace_xfs_reflink_unshare_error(ip, error, _RET_IP_);
fs/xfs/xfs_reflink.c
1902
return error;
fs/xfs/xfs_reflink.c
192
int error;
fs/xfs/xfs_reflink.c
206
error = xfs_refcount_find_shared(cur, orig_bno, irec->br_blockcount,
fs/xfs/xfs_reflink.c
208
xfs_btree_del_cursor(cur, error);
fs/xfs/xfs_reflink.c
212
if (!error && *shared_len)
fs/xfs/xfs_reflink.c
214
return error;
fs/xfs/xfs_reflink.c
235
int error = 0;
fs/xfs/xfs_reflink.c
246
error = xfs_reflink_find_rtshared(mp, NULL, irec,
fs/xfs/xfs_reflink.c
249
error = xfs_reflink_find_shared(mp, NULL, irec,
fs/xfs/xfs_reflink.c
251
if (error)
fs/xfs/xfs_reflink.c
252
return error;
fs/xfs/xfs_reflink.c
306
int error = 0;
fs/xfs/xfs_reflink.c
324
error = xfs_bmap_add_extent_unwritten_real(NULL, ip,
fs/xfs/xfs_reflink.c
327
if (error)
fs/xfs/xfs_reflink.c
328
return error;
fs/xfs/xfs_reflink.c
331
return error;
fs/xfs/xfs_reflink.c
345
int error;
fs/xfs/xfs_reflink.c
350
error = xfs_reflink_convert_cow_locked(ip, offset_fsb, count_fsb);
fs/xfs/xfs_reflink.c
352
return error;
fs/xfs/xfs_reflink.c
407
int error;
fs/xfs/xfs_reflink.c
424
error = xfs_reflink_convert_cow_locked(ip, offset_fsb, count_fsb);
fs/xfs/xfs_reflink.c
425
if (!error)
fs/xfs/xfs_reflink.c
428
return error;
fs/xfs/xfs_reflink.c
445
int error;
fs/xfs/xfs_reflink.c
461
error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks,
fs/xfs/xfs_reflink.c
463
if (error)
fs/xfs/xfs_reflink.c
464
return error;
fs/xfs/xfs_reflink.c
468
error = xfs_find_trim_cow_extent(ip, imap, cmap, shared, &found);
fs/xfs/xfs_reflink.c
469
if (error || !*shared)
fs/xfs/xfs_reflink.c
479
error = xfs_bmapi_write(tp, ip, imap->br_startoff, imap->br_blockcount,
fs/xfs/xfs_reflink.c
482
if (error)
fs/xfs/xfs_reflink.c
486
error = xfs_trans_commit(tp);
fs/xfs/xfs_reflink.c
487
if (error)
fs/xfs/xfs_reflink.c
488
return error;
fs/xfs/xfs_reflink.c
495
return error;
fs/xfs/xfs_reflink.c
510
int error;
fs/xfs/xfs_reflink.c
517
error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, 0, 0,
fs/xfs/xfs_reflink.c
519
if (error)
fs/xfs/xfs_reflink.c
520
return error;
fs/xfs/xfs_reflink.c
524
error = xfs_find_trim_cow_extent(ip, imap, cmap, shared,
fs/xfs/xfs_reflink.c
526
if (error || !*shared)
fs/xfs/xfs_reflink.c
541
error = xfs_bmapi_write(tp, ip, cmap->br_startoff,
fs/xfs/xfs_reflink.c
545
if (error)
fs/xfs/xfs_reflink.c
549
error = xfs_trans_commit(tp);
fs/xfs/xfs_reflink.c
550
if (error)
fs/xfs/xfs_reflink.c
551
return error;
fs/xfs/xfs_reflink.c
558
return error;
fs/xfs/xfs_reflink.c
571
int error;
fs/xfs/xfs_reflink.c
580
error = xfs_find_trim_cow_extent(ip, imap, cmap, shared, &found);
fs/xfs/xfs_reflink.c
581
if (error || !*shared)
fs/xfs/xfs_reflink.c
582
return error;
fs/xfs/xfs_reflink.c
632
int error = 0;
fs/xfs/xfs_reflink.c
662
error = xfs_free_extent_later(*tpp, del.br_startblock,
fs/xfs/xfs_reflink.c
666
if (error)
fs/xfs/xfs_reflink.c
670
error = xfs_defer_finish(tpp);
fs/xfs/xfs_reflink.c
671
if (error)
fs/xfs/xfs_reflink.c
691
return error;
fs/xfs/xfs_reflink.c
710
int error;
fs/xfs/xfs_reflink.c
722
error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write,
fs/xfs/xfs_reflink.c
724
if (error)
fs/xfs/xfs_reflink.c
731
error = xfs_reflink_cancel_cow_blocks(ip, &tp, offset_fsb, end_fsb,
fs/xfs/xfs_reflink.c
733
if (error)
fs/xfs/xfs_reflink.c
736
error = xfs_trans_commit(tp);
fs/xfs/xfs_reflink.c
739
return error;
fs/xfs/xfs_reflink.c
745
trace_xfs_reflink_cancel_cow_range_error(ip, error, _RET_IP_);
fs/xfs/xfs_reflink.c
746
return error;
fs/xfs/xfs_reflink.c
800
int error;
fs/xfs/xfs_reflink.c
830
error = xfs_iext_count_extend(tp, ip, XFS_DATA_FORK,
fs/xfs/xfs_reflink.c
832
if (error)
fs/xfs/xfs_reflink.c
833
return error;
fs/xfs/xfs_reflink.c
837
error = xfs_bmapi_read(ip, del.br_startoff, del.br_blockcount, &data,
fs/xfs/xfs_reflink.c
839
if (error)
fs/xfs/xfs_reflink.c
840
return error;
fs/xfs/xfs_reflink.c
866
error = xfs_bunmapi(NULL, ip, data.br_startoff,
fs/xfs/xfs_reflink.c
868
if (error)
fs/xfs/xfs_reflink.c
869
return error;
fs/xfs/xfs_reflink.c
910
int error;
fs/xfs/xfs_reflink.c
913
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0,
fs/xfs/xfs_reflink.c
915
if (error)
fs/xfs/xfs_reflink.c
916
return error;
fs/xfs/xfs_reflink.c
920
error = xfs_reflink_end_cow_extent_locked(tp, ip, offset_fsb, end_fsb);
fs/xfs/xfs_reflink.c
921
if (error)
fs/xfs/xfs_reflink.c
924
error = xfs_trans_commit(tp);
fs/xfs/xfs_reflink.c
926
return error;
fs/xfs/xfs_reflink.c
940
int error = 0;
fs/xfs/xfs_reflink.c
979
while (end_fsb > offset_fsb && !error)
fs/xfs/xfs_reflink.c
980
error = xfs_reflink_end_cow_extent(ip, &offset_fsb, end_fsb);
fs/xfs/xfs_reflink.c
982
if (error)
fs/xfs/xfs_reflink.c
983
trace_xfs_reflink_end_cow_error(ip, error, _RET_IP_);
fs/xfs/xfs_reflink.c
984
return error;
fs/xfs/xfs_rmap_item.c
433
int error;
fs/xfs/xfs_rmap_item.c
435
error = xfs_rmap_finish_one(tp, ri, state);
fs/xfs/xfs_rmap_item.c
438
return error;
fs/xfs/xfs_rmap_item.c
446
int error)
fs/xfs/xfs_rmap_item.c
453
xfs_btree_del_cursor(rcur, error);
fs/xfs/xfs_rmap_item.c
454
if (error && agbp)
fs/xfs/xfs_rmap_item.c
578
int error = 0;
fs/xfs/xfs_rmap_item.c
599
error = xfs_trans_alloc(mp, &resv, mp->m_rmap_maxlevels, 0,
fs/xfs/xfs_rmap_item.c
601
if (error)
fs/xfs/xfs_rmap_item.c
602
return error;
fs/xfs/xfs_rmap_item.c
604
error = xlog_recover_finish_intent(tp, dfp);
fs/xfs/xfs_rmap_item.c
605
if (error == -EFSCORRUPTED)
fs/xfs/xfs_rmap_item.c
609
if (error)
fs/xfs/xfs_rmap_item.c
616
return error;
fs/xfs/xfs_rmap_item.c
673
int error)
fs/xfs/xfs_rmap_item.c
676
xfs_btree_del_cursor(rcur, error);
fs/xfs/xfs_rtalloc.c
1015
error = xfs_rtcopy_summary(&args, &nargs);
fs/xfs/xfs_rtalloc.c
1016
if (error)
fs/xfs/xfs_rtalloc.c
1020
error = xfs_growfs_rt_init_rtsb(&nargs, rtg, &args);
fs/xfs/xfs_rtalloc.c
1021
if (error)
fs/xfs/xfs_rtalloc.c
1032
error = xfs_growfs_rt_free_new(rtg, &nargs, &freed_rtx);
fs/xfs/xfs_rtalloc.c
1034
if (error)
fs/xfs/xfs_rtalloc.c
104
int error;
fs/xfs/xfs_rtalloc.c
1062
error = xfs_trans_commit(args.tp);
fs/xfs/xfs_rtalloc.c
1063
if (error)
fs/xfs/xfs_rtalloc.c
1081
return error;
fs/xfs/xfs_rtalloc.c
112
error = xfs_rtget_summary(oargs, log, bbno, &sum);
fs/xfs/xfs_rtalloc.c
113
if (error)
fs/xfs/xfs_rtalloc.c
1153
int error = 0;
fs/xfs/xfs_rtalloc.c
116
error = -EFSCORRUPTED;
fs/xfs/xfs_rtalloc.c
1185
error = xfs_rtfile_initialize_blocks(rtg, XFS_RTGI_BITMAP, orbmblocks,
fs/xfs/xfs_rtalloc.c
1187
if (error)
fs/xfs/xfs_rtalloc.c
1189
error = xfs_rtfile_initialize_blocks(rtg, XFS_RTGI_SUMMARY, orsumblocks,
fs/xfs/xfs_rtalloc.c
1193
return error;
fs/xfs/xfs_rtalloc.c
1208
int error;
fs/xfs/xfs_rtalloc.c
121
error = xfs_rtmodify_summary(oargs, log, bbno, -sum);
fs/xfs/xfs_rtalloc.c
1215
error = xfs_rtginode_ensure(rtg, i);
fs/xfs/xfs_rtalloc.c
1216
if (error)
fs/xfs/xfs_rtalloc.c
122
if (error)
fs/xfs/xfs_rtalloc.c
1221
error = xfs_growfs_rt_zoned(rtg, nrblocks);
fs/xfs/xfs_rtalloc.c
1225
error = xfs_growfs_rt_alloc_blocks(rtg, nrblocks, rextsize, &bmblocks);
fs/xfs/xfs_rtalloc.c
1226
if (error)
fs/xfs/xfs_rtalloc.c
1231
error = xfs_alloc_rsum_cache(rtg, bmblocks);
fs/xfs/xfs_rtalloc.c
1232
if (error)
fs/xfs/xfs_rtalloc.c
1238
error = xfs_growfs_rt_bmblock(rtg, nrblocks, rextsize, bmbno);
fs/xfs/xfs_rtalloc.c
1239
if (error)
fs/xfs/xfs_rtalloc.c
124
error = xfs_rtmodify_summary(nargs, log, bbno, sum);
fs/xfs/xfs_rtalloc.c
125
if (error)
fs/xfs/xfs_rtalloc.c
1258
return error;
fs/xfs/xfs_rtalloc.c
129
error = 0;
fs/xfs/xfs_rtalloc.c
132
return error;
fs/xfs/xfs_rtalloc.c
1328
int error;
fs/xfs/xfs_rtalloc.c
1339
error = xfs_rtginode_load_parent(tp);
fs/xfs/xfs_rtalloc.c
1342
if (error == -ENOENT)
fs/xfs/xfs_rtalloc.c
1343
error = xfs_rtginode_mkdir_parent(mp);
fs/xfs/xfs_rtalloc.c
1344
if (error)
fs/xfs/xfs_rtalloc.c
1345
return error;
fs/xfs/xfs_rtalloc.c
1373
int error;
fs/xfs/xfs_rtalloc.c
1381
error = xfs_buf_read_uncached(mp->m_rtdev_targp,
fs/xfs/xfs_rtalloc.c
1384
if (error)
fs/xfs/xfs_rtalloc.c
1389
return error;
fs/xfs/xfs_rtalloc.c
1404
int error;
fs/xfs/xfs_rtalloc.c
1417
error = -EINVAL;
fs/xfs/xfs_rtalloc.c
1430
error = -EOPNOTSUPP;
fs/xfs/xfs_rtalloc.c
1442
error = xfs_sb_validate_fsb_count(&mp->m_sb, in->newblocks);
fs/xfs/xfs_rtalloc.c
1443
if (error)
fs/xfs/xfs_rtalloc.c
1446
error = xfs_rt_check_size(mp, in->newblocks - 1);
fs/xfs/xfs_rtalloc.c
1447
if (error)
fs/xfs/xfs_rtalloc.c
1453
error = -EINVAL;
fs/xfs/xfs_rtalloc.c
1458
error = xfs_growfs_check_rtgeom(mp, mp->m_sb.sb_dblocks, in->newblocks,
fs/xfs/xfs_rtalloc.c
146
int error;
fs/xfs/xfs_rtalloc.c
1460
if (error)
fs/xfs/xfs_rtalloc.c
1464
error = xfs_growfs_rt_prep_groups(mp, in->newblocks,
fs/xfs/xfs_rtalloc.c
1466
if (error)
fs/xfs/xfs_rtalloc.c
1471
error = xfs_growfs_rtg(mp, old_rgcount - 1, in->newblocks,
fs/xfs/xfs_rtalloc.c
1473
if (error)
fs/xfs/xfs_rtalloc.c
1480
error = xfs_rtgroup_alloc(mp, rgno, new_rgcount, rextents);
fs/xfs/xfs_rtalloc.c
1481
if (error)
fs/xfs/xfs_rtalloc.c
1484
error = xfs_growfs_rtg(mp, rgno, in->newblocks, in->extsize);
fs/xfs/xfs_rtalloc.c
1485
if (error) {
fs/xfs/xfs_rtalloc.c
1498
if (!error && old_rextsize != in->extsize)
fs/xfs/xfs_rtalloc.c
1499
error = xfs_growfs_rt_fixup_extsize(mp);
fs/xfs/xfs_rtalloc.c
1510
if (!error)
fs/xfs/xfs_rtalloc.c
1511
error = error2;
fs/xfs/xfs_rtalloc.c
1516
error = error2;
fs/xfs/xfs_rtalloc.c
1521
return error;
fs/xfs/xfs_rtalloc.c
1530
int error;
fs/xfs/xfs_rtalloc.c
1543
error = xfs_buf_read_uncached(mp->m_rtdev_targp, XFS_RTSB_DADDR,
fs/xfs/xfs_rtalloc.c
1546
if (error) {
fs/xfs/xfs_rtalloc.c
1547
xfs_warn(mp, "rt sb validate failed with error %d.", error);
fs/xfs/xfs_rtalloc.c
1549
if (error == -EFSBADCRC)
fs/xfs/xfs_rtalloc.c
1550
error = -EFSCORRUPTED;
fs/xfs/xfs_rtalloc.c
1551
return error;
fs/xfs/xfs_rtalloc.c
156
error = xfs_rtfind_back(args, start, &preblock);
fs/xfs/xfs_rtalloc.c
157
if (error)
fs/xfs/xfs_rtalloc.c
158
return error;
fs/xfs/xfs_rtalloc.c
1616
int error;
fs/xfs/xfs_rtalloc.c
1622
error = xfs_rtalloc_query_all(rtg, NULL,
fs/xfs/xfs_rtalloc.c
1625
if (error) {
fs/xfs/xfs_rtalloc.c
1627
return error;
fs/xfs/xfs_rtalloc.c
163
error = xfs_rtfind_forw(args, end, args->rtg->rtg_extents - 1,
fs/xfs/xfs_rtalloc.c
1648
int error;
fs/xfs/xfs_rtalloc.c
165
if (error)
fs/xfs/xfs_rtalloc.c
1652
error = xfs_iread_extents(tp, ip, XFS_DATA_FORK);
fs/xfs/xfs_rtalloc.c
1653
if (error)
fs/xfs/xfs_rtalloc.c
1657
error = xfs_iread_extents(tp, ip, XFS_ATTR_FORK);
fs/xfs/xfs_rtalloc.c
1658
if (error)
fs/xfs/xfs_rtalloc.c
166
return error;
fs/xfs/xfs_rtalloc.c
1664
return error;
fs/xfs/xfs_rtalloc.c
1673
int error, i;
fs/xfs/xfs_rtalloc.c
1676
error = xfs_rtginode_load(rtg, i, tp);
fs/xfs/xfs_rtalloc.c
1677
if (error)
fs/xfs/xfs_rtalloc.c
1678
return error;
fs/xfs/xfs_rtalloc.c
1681
error = xfs_rtmount_iread_extents(tp,
fs/xfs/xfs_rtalloc.c
1683
if (error)
fs/xfs/xfs_rtalloc.c
1684
return error;
fs/xfs/xfs_rtalloc.c
1703
int error;
fs/xfs/xfs_rtalloc.c
1707
error = xfs_rtginode_load_parent(tp);
fs/xfs/xfs_rtalloc.c
1708
if (error)
fs/xfs/xfs_rtalloc.c
1713
error = xfs_rtmount_rtg(mp, tp, rtg);
fs/xfs/xfs_rtalloc.c
1714
if (error) {
fs/xfs/xfs_rtalloc.c
172
error = xfs_rtmodify_summary(args,
fs/xfs/xfs_rtalloc.c
1723
return error;
fs/xfs/xfs_rtalloc.c
175
if (error)
fs/xfs/xfs_rtalloc.c
176
return error;
fs/xfs/xfs_rtalloc.c
183
error = xfs_rtmodify_summary(args,
fs/xfs/xfs_rtalloc.c
186
if (error)
fs/xfs/xfs_rtalloc.c
187
return error;
fs/xfs/xfs_rtalloc.c
1885
int error;
fs/xfs/xfs_rtalloc.c
1903
error = xfs_extent_busy_flush(args->tp, rtg_group(args->rtg),
fs/xfs/xfs_rtalloc.c
1905
if (error)
fs/xfs/xfs_rtalloc.c
1906
return error;
fs/xfs/xfs_rtalloc.c
1941
int error = 0;
fs/xfs/xfs_rtalloc.c
195
error = xfs_rtmodify_summary(args,
fs/xfs/xfs_rtalloc.c
198
if (error)
fs/xfs/xfs_rtalloc.c
1983
error = xfs_rtallocate_extent_near(&args, start, minlen, maxlen,
fs/xfs/xfs_rtalloc.c
1989
if (error == -ENOSPC) {
fs/xfs/xfs_rtalloc.c
199
return error;
fs/xfs/xfs_rtalloc.c
1991
error = 0;
fs/xfs/xfs_rtalloc.c
1995
if (!error) {
fs/xfs/xfs_rtalloc.c
1996
error = xfs_rtallocate_extent_size(&args, minlen, maxlen, &len,
fs/xfs/xfs_rtalloc.c
2000
if (error) {
fs/xfs/xfs_rtalloc.c
2007
error = xfs_rtallocate_adjust_for_busy(&args, start, minlen,
fs/xfs/xfs_rtalloc.c
2009
if (error)
fs/xfs/xfs_rtalloc.c
2015
error = xfs_rtallocate_range(&args, rtx, len);
fs/xfs/xfs_rtalloc.c
2016
if (error)
fs/xfs/xfs_rtalloc.c
2028
return error;
fs/xfs/xfs_rtalloc.c
2049
int error;
fs/xfs/xfs_rtalloc.c
2067
error = xfs_rtallocate_rtg(tp, rgno, bno_hint, minlen, maxlen,
fs/xfs/xfs_rtalloc.c
2070
if (error != -ENOSPC)
fs/xfs/xfs_rtalloc.c
2071
return error;
fs/xfs/xfs_rtalloc.c
2095
int error;
fs/xfs/xfs_rtalloc.c
2110
error = xfs_bmap_extsize_align(mp, &ap->got, &ap->prev, align, 1,
fs/xfs/xfs_rtalloc.c
2112
if (error)
fs/xfs/xfs_rtalloc.c
2113
return error;
fs/xfs/xfs_rtalloc.c
2169
int error;
fs/xfs/xfs_rtalloc.c
2174
error = xfs_rtallocate_align(ap, &ralen, &raminlen, &prod, &noalign);
fs/xfs/xfs_rtalloc.c
2175
if (error)
fs/xfs/xfs_rtalloc.c
2176
return error;
fs/xfs/xfs_rtalloc.c
2182
error = xfs_rtallocate_rtgs(ap->tp, bno_hint, raminlen, ralen,
fs/xfs/xfs_rtalloc.c
2186
error = xfs_rtallocate_rtg(ap->tp, 0, bno_hint, raminlen, ralen,
fs/xfs/xfs_rtalloc.c
2191
if (error == -ENOSPC) {
fs/xfs/xfs_rtalloc.c
2210
if (error)
fs/xfs/xfs_rtalloc.c
2211
return error;
fs/xfs/xfs_rtalloc.c
261
int error;
fs/xfs/xfs_rtalloc.c
279
error = xfs_rtcheck_range(args, i, scanlen, 1, &next, &stat);
fs/xfs/xfs_rtalloc.c
280
if (error)
fs/xfs/xfs_rtalloc.c
281
return error;
fs/xfs/xfs_rtalloc.c
311
error = xfs_rtfind_forw(args, next, end, &i);
fs/xfs/xfs_rtalloc.c
312
if (error)
fs/xfs/xfs_rtalloc.c
313
return error;
fs/xfs/xfs_rtalloc.c
360
int error;
fs/xfs/xfs_rtalloc.c
371
error = xfs_rtcheck_range(args, start, scanlen, 1, &next, &isfree);
fs/xfs/xfs_rtalloc.c
372
if (error)
fs/xfs/xfs_rtalloc.c
373
return error;
fs/xfs/xfs_rtalloc.c
417
int error;
fs/xfs/xfs_rtalloc.c
435
error = xfs_rtallocate_extent_exact(args, start, minlen, maxlen, len,
fs/xfs/xfs_rtalloc.c
437
if (error != -ENOSPC)
fs/xfs/xfs_rtalloc.c
438
return error;
fs/xfs/xfs_rtalloc.c
453
error = xfs_rtany_summary(args, log2len, mp->m_rsumlevels - 1,
fs/xfs/xfs_rtalloc.c
455
if (error)
fs/xfs/xfs_rtalloc.c
456
return error;
fs/xfs/xfs_rtalloc.c
474
error = xfs_rtallocate_extent_block(args,
fs/xfs/xfs_rtalloc.c
477
if (error != -ENOSPC)
fs/xfs/xfs_rtalloc.c
478
return error;
fs/xfs/xfs_rtalloc.c
509
error = xfs_rtallocate_extent_block(args,
fs/xfs/xfs_rtalloc.c
51
int error;
fs/xfs/xfs_rtalloc.c
513
if (error != -ENOSPC)
fs/xfs/xfs_rtalloc.c
514
return error;
fs/xfs/xfs_rtalloc.c
562
int error;
fs/xfs/xfs_rtalloc.c
568
error = xfs_rtget_summary(args, l, i, &sum);
fs/xfs/xfs_rtalloc.c
569
if (error)
fs/xfs/xfs_rtalloc.c
570
return error;
fs/xfs/xfs_rtalloc.c
581
error = xfs_rtallocate_extent_block(args, i, minlen, maxlen,
fs/xfs/xfs_rtalloc.c
583
if (error != -ENOSPC)
fs/xfs/xfs_rtalloc.c
584
return error;
fs/xfs/xfs_rtalloc.c
611
int error;
fs/xfs/xfs_rtalloc.c
628
error = xfs_rtalloc_sumlevel(args, l, minlen, maxlen, prod, len,
fs/xfs/xfs_rtalloc.c
630
if (error != -ENOSPC)
fs/xfs/xfs_rtalloc.c
631
return error;
fs/xfs/xfs_rtalloc.c
651
error = xfs_rtalloc_sumlevel(args, l,
fs/xfs/xfs_rtalloc.c
655
if (error != -ENOSPC)
fs/xfs/xfs_rtalloc.c
656
return error;
fs/xfs/xfs_rtalloc.c
702
int error = 0;
fs/xfs/xfs_rtalloc.c
709
error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_ichange, 0, 0, false,
fs/xfs/xfs_rtalloc.c
71
error = xfs_rtget_summary(args, log, bbno, &sum);
fs/xfs/xfs_rtalloc.c
711
if (error)
fs/xfs/xfs_rtalloc.c
715
error = xfs_trans_commit(tp);
fs/xfs/xfs_rtalloc.c
72
if (error) {
fs/xfs/xfs_rtalloc.c
720
return error;
fs/xfs/xfs_rtalloc.c
73
return error;
fs/xfs/xfs_rtalloc.c
730
int error;
fs/xfs/xfs_rtalloc.c
736
error = xfs_rtginode_load(rtg, type, tp);
fs/xfs/xfs_rtalloc.c
739
if (error != -ENOENT)
fs/xfs/xfs_rtalloc.c
833
int error;
fs/xfs/xfs_rtalloc.c
842
error = xfs_buf_get_uncached(mp->m_rtdev_targp, XFS_FSB_TO_BB(mp, 1),
fs/xfs/xfs_rtalloc.c
844
if (error)
fs/xfs/xfs_rtalloc.c
845
return error;
fs/xfs/xfs_rtalloc.c
852
error = xfs_bwrite(rtsb_bp);
fs/xfs/xfs_rtalloc.c
854
if (error)
fs/xfs/xfs_rtalloc.c
855
return error;
fs/xfs/xfs_rtalloc.c
859
error = xfs_rtrmapbt_init_rtsb(nargs->mp, args->rtg, args->tp);
fs/xfs/xfs_rtalloc.c
861
return error;
fs/xfs/xfs_rtalloc.c
900
int error;
fs/xfs/xfs_rtalloc.c
915
error = xfs_trans_alloc(mp, &M_RES(nmp)->tr_growrtfree, 0, 0, 0, &tp);
fs/xfs/xfs_rtalloc.c
916
if (error)
fs/xfs/xfs_rtalloc.c
925
error = xfs_trans_commit(tp);
fs/xfs/xfs_rtalloc.c
926
if (error)
fs/xfs/xfs_rtalloc.c
939
return error;
fs/xfs/xfs_rtalloc.c
961
int error;
fs/xfs/xfs_rtalloc.c
981
error = xfs_trans_alloc(mp, &M_RES(nmp)->tr_growrtfree, 0, 0, 0,
fs/xfs/xfs_rtalloc.c
983
if (error)
fs/xfs/xfs_super.c
1114
int error;
fs/xfs/xfs_super.c
1117
error = percpu_counter_init(&mp->m_icount, 0, GFP_KERNEL);
fs/xfs/xfs_super.c
1118
if (error)
fs/xfs/xfs_super.c
1121
error = percpu_counter_init(&mp->m_ifree, 0, GFP_KERNEL);
fs/xfs/xfs_super.c
1122
if (error)
fs/xfs/xfs_super.c
1125
error = percpu_counter_init(&mp->m_delalloc_blks, 0, GFP_KERNEL);
fs/xfs/xfs_super.c
1126
if (error)
fs/xfs/xfs_super.c
1129
error = percpu_counter_init(&mp->m_delalloc_rtextents, 0, GFP_KERNEL);
fs/xfs/xfs_super.c
1130
if (error)
fs/xfs/xfs_super.c
1134
error = percpu_counter_init(&mp->m_free[i].count, 0,
fs/xfs/xfs_super.c
1136
if (error)
fs/xfs/xfs_super.c
1202
gc->error = 0;
fs/xfs/xfs_super.c
1658
int flags = 0, error;
fs/xfs/xfs_super.c
1674
error = xfs_fs_validate_params(mp);
fs/xfs/xfs_super.c
1675
if (error)
fs/xfs/xfs_super.c
1676
return error;
fs/xfs/xfs_super.c
1704
error = xfs_open_devices(mp);
fs/xfs/xfs_super.c
1705
if (error)
fs/xfs/xfs_super.c
1706
return error;
fs/xfs/xfs_super.c
1715
error = xfs_init_mount_workqueues(mp);
fs/xfs/xfs_super.c
1716
if (error)
fs/xfs/xfs_super.c
1719
error = xfs_init_percpu_counters(mp);
fs/xfs/xfs_super.c
1720
if (error)
fs/xfs/xfs_super.c
1723
error = xfs_inodegc_init_percpu(mp);
fs/xfs/xfs_super.c
1724
if (error)
fs/xfs/xfs_super.c
1730
error = -ENOMEM;
fs/xfs/xfs_super.c
1734
error = xchk_mount_stats_alloc(mp);
fs/xfs/xfs_super.c
1735
if (error)
fs/xfs/xfs_super.c
1738
error = xfs_readsb(mp, flags);
fs/xfs/xfs_super.c
1739
if (error)
fs/xfs/xfs_super.c
1742
error = xfs_finish_flags(mp);
fs/xfs/xfs_super.c
1743
if (error)
fs/xfs/xfs_super.c
1746
error = xfs_setup_devices(mp);
fs/xfs/xfs_super.c
1747
if (error)
fs/xfs/xfs_super.c
1760
error = -EINVAL;
fs/xfs/xfs_super.c
1775
error = -EINVAL;
fs/xfs/xfs_super.c
1787
error = -EFSCORRUPTED;
fs/xfs/xfs_super.c
1798
error = -EFSCORRUPTED;
fs/xfs/xfs_super.c
1809
error = -ENOSYS;
fs/xfs/xfs_super.c
1817
error = -ENOSYS;
fs/xfs/xfs_super.c
1827
error = -EFBIG;
fs/xfs/xfs_super.c
1847
error = -EINVAL;
fs/xfs/xfs_super.c
1851
error = xfs_rtmount_readsb(mp);
fs/xfs/xfs_super.c
1852
if (error)
fs/xfs/xfs_super.c
1855
error = xfs_filestream_mount(mp);
fs/xfs/xfs_super.c
1856
if (error)
fs/xfs/xfs_super.c
1886
error = xfs_setup_dax_always(mp);
fs/xfs/xfs_super.c
1887
if (error)
fs/xfs/xfs_super.c
1901
error = -EINVAL;
fs/xfs/xfs_super.c
1913
error = -EINVAL;
fs/xfs/xfs_super.c
1920
error = -EINVAL;
fs/xfs/xfs_super.c
1938
error = xfs_mountfs(mp);
fs/xfs/xfs_super.c
1939
if (error)
fs/xfs/xfs_super.c
1944
error = -ENOENT;
fs/xfs/xfs_super.c
1949
error = -ENOMEM;
fs/xfs/xfs_super.c
1973
return error;
fs/xfs/xfs_super.c
1993
int error;
fs/xfs/xfs_super.c
2030
error = xfs_sync_sb(mp, false);
fs/xfs/xfs_super.c
2031
if (error) {
fs/xfs/xfs_super.c
2033
return error;
fs/xfs/xfs_super.c
2047
error = xfs_fs_reserve_ag_blocks(mp);
fs/xfs/xfs_super.c
2048
if (error && error != -ENOSPC)
fs/xfs/xfs_super.c
2049
return error;
fs/xfs/xfs_super.c
2067
int error;
fs/xfs/xfs_super.c
2070
error = sync_filesystem(mp->m_super);
fs/xfs/xfs_super.c
2071
if (error)
fs/xfs/xfs_super.c
2072
return error;
fs/xfs/xfs_super.c
2086
error = xfs_blockgc_free_space(mp, &icw);
fs/xfs/xfs_super.c
2087
if (error) {
fs/xfs/xfs_super.c
2089
return error;
fs/xfs/xfs_super.c
2141
int error;
fs/xfs/xfs_super.c
2149
error = xfs_fs_validate_params(new_mp);
fs/xfs/xfs_super.c
2150
if (error)
fs/xfs/xfs_super.c
2151
return error;
fs/xfs/xfs_super.c
2157
error = xfs_set_max_atomic_write_opt(mp,
fs/xfs/xfs_super.c
2159
if (error)
fs/xfs/xfs_super.c
2160
return error;
fs/xfs/xfs_super.c
2182
error = xfs_finish_flags(mp);
fs/xfs/xfs_super.c
2183
if (error)
fs/xfs/xfs_super.c
2184
return error;
fs/xfs/xfs_super.c
2188
error = xfs_remount_rw(mp);
fs/xfs/xfs_super.c
2189
if (error)
fs/xfs/xfs_super.c
2190
return error;
fs/xfs/xfs_super.c
2195
error = xfs_remount_ro(mp);
fs/xfs/xfs_super.c
2196
if (error)
fs/xfs/xfs_super.c
2197
return error;
fs/xfs/xfs_super.c
2302
int error;
fs/xfs/xfs_super.c
2317
error = xfs_btree_init_cur_caches();
fs/xfs/xfs_super.c
2318
if (error)
fs/xfs/xfs_super.c
2321
error = rcbagbt_init_cur_cache();
fs/xfs/xfs_super.c
2322
if (error)
fs/xfs/xfs_super.c
2325
error = xfs_defer_init_item_caches();
fs/xfs/xfs_super.c
2326
if (error)
fs/xfs/xfs_super.c
2592
int error;
fs/xfs/xfs_super.c
2596
error = xfs_dahash_test();
fs/xfs/xfs_super.c
2597
if (error)
fs/xfs/xfs_super.c
2598
return error;
fs/xfs/xfs_super.c
2605
error = xfs_init_caches();
fs/xfs/xfs_super.c
2606
if (error)
fs/xfs/xfs_super.c
2609
error = xfs_init_workqueues();
fs/xfs/xfs_super.c
2610
if (error)
fs/xfs/xfs_super.c
2613
error = xfs_mru_cache_init();
fs/xfs/xfs_super.c
2614
if (error)
fs/xfs/xfs_super.c
2617
error = xfs_init_procfs();
fs/xfs/xfs_super.c
2618
if (error)
fs/xfs/xfs_super.c
2621
error = xfs_sysctl_register();
fs/xfs/xfs_super.c
2622
if (error)
fs/xfs/xfs_super.c
2629
error = -ENOMEM;
fs/xfs/xfs_super.c
2637
error = -ENOMEM;
fs/xfs/xfs_super.c
2641
error = xfs_sysfs_init(&xfsstats.xs_kobj, &xfs_stats_ktype, NULL,
fs/xfs/xfs_super.c
2643
if (error)
fs/xfs/xfs_super.c
2646
error = xchk_global_stats_setup(xfs_debugfs);
fs/xfs/xfs_super.c
2647
if (error)
fs/xfs/xfs_super.c
2652
error = xfs_sysfs_init(&xfs_dbg_kobj, &xfs_dbg_ktype, NULL, "debug");
fs/xfs/xfs_super.c
2653
if (error)
fs/xfs/xfs_super.c
2657
error = xfs_qm_init();
fs/xfs/xfs_super.c
2658
if (error)
fs/xfs/xfs_super.c
2661
error = register_filesystem(&xfs_fs_type);
fs/xfs/xfs_super.c
2662
if (error)
fs/xfs/xfs_super.c
2692
return error;
fs/xfs/xfs_super.c
399
int error = 0;
fs/xfs/xfs_super.c
406
error = PTR_ERR(*bdev_filep);
fs/xfs/xfs_super.c
408
xfs_warn(mp, "Invalid device [%s], error=%d", name, error);
fs/xfs/xfs_super.c
411
return error;
fs/xfs/xfs_super.c
473
int error;
fs/xfs/xfs_super.c
479
error = xfs_blkdev_get(mp, mp->m_logname, &logdev_file);
fs/xfs/xfs_super.c
480
if (error)
fs/xfs/xfs_super.c
481
return error;
fs/xfs/xfs_super.c
485
error = xfs_blkdev_get(mp, mp->m_rtname, &rtdev_file);
fs/xfs/xfs_super.c
486
if (error)
fs/xfs/xfs_super.c
494
error = -EINVAL;
fs/xfs/xfs_super.c
504
error = PTR_ERR(mp->m_ddev_targp);
fs/xfs/xfs_super.c
512
error = PTR_ERR(mp->m_rtdev_targp);
fs/xfs/xfs_super.c
521
error = PTR_ERR(mp->m_logdev_targp);
fs/xfs/xfs_super.c
545
return error;
fs/xfs/xfs_super.c
555
int error;
fs/xfs/xfs_super.c
557
error = xfs_configure_buftarg(mp->m_ddev_targp, mp->m_sb.sb_sectsize,
fs/xfs/xfs_super.c
559
if (error)
fs/xfs/xfs_super.c
560
return error;
fs/xfs/xfs_super.c
567
error = xfs_configure_buftarg(mp->m_logdev_targp,
fs/xfs/xfs_super.c
569
if (error)
fs/xfs/xfs_super.c
570
return error;
fs/xfs/xfs_super.c
581
error = xfs_configure_buftarg(mp->m_rtdev_targp,
fs/xfs/xfs_super.c
583
if (error)
fs/xfs/xfs_super.c
584
return error;
fs/xfs/xfs_super.c
814
int error;
fs/xfs/xfs_super.c
824
error = xfs_log_force(mp, XFS_LOG_SYNC);
fs/xfs/xfs_super.c
825
if (error)
fs/xfs/xfs_super.c
826
return error;
fs/xfs/xfs_symlink.c
103
int error = 0;
fs/xfs/xfs_symlink.c
129
error = xfs_icreate_dqalloc(&args, &udqp, &gdqp, &pdqp);
fs/xfs/xfs_symlink.c
130
if (error)
fs/xfs/xfs_symlink.c
131
return error;
fs/xfs/xfs_symlink.c
145
error = xfs_parent_start(mp, &du.ppargs);
fs/xfs/xfs_symlink.c
146
if (error)
fs/xfs/xfs_symlink.c
149
error = xfs_trans_alloc_icreate(mp, &M_RES(mp)->tr_symlink, udqp, gdqp,
fs/xfs/xfs_symlink.c
151
if (error)
fs/xfs/xfs_symlink.c
161
error = -EPERM;
fs/xfs/xfs_symlink.c
168
error = xfs_dialloc(&tp, &args, &ino);
fs/xfs/xfs_symlink.c
169
if (!error)
fs/xfs/xfs_symlink.c
170
error = xfs_icreate(tp, ino, &args, &du.ip);
fs/xfs/xfs_symlink.c
171
if (error)
fs/xfs/xfs_symlink.c
189
error = xfs_symlink_write_target(tp, du.ip, du.ip->i_ino, target_path,
fs/xfs/xfs_symlink.c
191
if (error)
fs/xfs/xfs_symlink.c
199
error = xfs_dir_create_child(tp, resblks, &du);
fs/xfs/xfs_symlink.c
200
if (error)
fs/xfs/xfs_symlink.c
211
error = xfs_trans_commit(tp);
fs/xfs/xfs_symlink.c
212
if (error)
fs/xfs/xfs_symlink.c
247
return error;
fs/xfs/xfs_symlink.c
265
int error;
fs/xfs/xfs_symlink.c
277
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp);
fs/xfs/xfs_symlink.c
278
if (error)
fs/xfs/xfs_symlink.c
279
return error;
fs/xfs/xfs_symlink.c
294
error = xfs_symlink_remote_truncate(tp, ip);
fs/xfs/xfs_symlink.c
295
if (error)
fs/xfs/xfs_symlink.c
298
error = xfs_trans_commit(tp);
fs/xfs/xfs_symlink.c
299
if (error) {
fs/xfs/xfs_symlink.c
318
return error;
fs/xfs/xfs_symlink.c
38
int error;
fs/xfs/xfs_symlink.c
70
error = 0;
fs/xfs/xfs_symlink.c
72
error = xfs_symlink_remote_read(ip, link);
fs/xfs/xfs_symlink.c
76
return error;
fs/xfs/xfs_sysfs.c
669
int error;
fs/xfs/xfs_sysfs.c
674
error = xfs_sysfs_init(parent_kobj, &xfs_error_ktype,
fs/xfs/xfs_sysfs.c
676
if (error)
fs/xfs/xfs_sysfs.c
677
return error;
fs/xfs/xfs_sysfs.c
681
error = xfs_sysfs_init(&cfg->kobj, &xfs_error_cfg_ktype,
fs/xfs/xfs_sysfs.c
683
if (error)
fs/xfs/xfs_sysfs.c
702
return error;
fs/xfs/xfs_sysfs.c
769
int error;
fs/xfs/xfs_sysfs.c
774
error = xfs_sysfs_init(&mp->m_kobj, &xfs_mp_ktype,
fs/xfs/xfs_sysfs.c
776
if (error)
fs/xfs/xfs_sysfs.c
777
return error;
fs/xfs/xfs_sysfs.c
780
error = xfs_sysfs_init(&mp->m_stats.xs_kobj, &xfs_stats_ktype,
fs/xfs/xfs_sysfs.c
782
if (error)
fs/xfs/xfs_sysfs.c
786
error = xfs_sysfs_init(&mp->m_error_kobj, &xfs_error_ktype,
fs/xfs/xfs_sysfs.c
788
if (error)
fs/xfs/xfs_sysfs.c
792
error = sysfs_create_file(&mp->m_error_kobj.kobject,
fs/xfs/xfs_sysfs.c
795
if (error)
fs/xfs/xfs_sysfs.c
799
error = xfs_error_sysfs_init_class(mp, XFS_ERR_METADATA,
fs/xfs/xfs_sysfs.c
802
if (error)
fs/xfs/xfs_sysfs.c
807
error = xfs_sysfs_init(&mp->m_zoned_kobj, &xfs_zoned_ktype,
fs/xfs/xfs_sysfs.c
809
if (error)
fs/xfs/xfs_sysfs.c
821
return error;
fs/xfs/xfs_sysfs.c
851
int error)
fs/xfs/xfs_sysfs.c
855
if (error < 0)
fs/xfs/xfs_sysfs.c
856
error = -error;
fs/xfs/xfs_sysfs.c
858
switch (error) {
fs/xfs/xfs_trace.h
269
int error),
fs/xfs/xfs_trace.h
270
TP_ARGS(mp, ops, error),
fs/xfs/xfs_trace.h
274
__field(int, error)
fs/xfs/xfs_trace.h
279
__entry->error = error;
fs/xfs/xfs_trace.h
284
__entry->error)
fs/xfs/xfs_trace.h
2930
int error),
fs/xfs/xfs_trace.h
2931
TP_ARGS(cur, ptr, stat, error),
fs/xfs/xfs_trace.h
2937
__field(int, error)
fs/xfs/xfs_trace.h
2957
__entry->error = error;
fs/xfs/xfs_trace.h
2958
if (!error && stat) {
fs/xfs/xfs_trace.h
2979
__entry->error)
fs/xfs/xfs_trace.h
3040
TP_PROTO(struct xfs_trans *tp, int error),
fs/xfs/xfs_trace.h
3041
TP_ARGS(tp, error),
fs/xfs/xfs_trace.h
3046
__field(int, error)
fs/xfs/xfs_trace.h
3051
__entry->error = error;
fs/xfs/xfs_trace.h
3056
__entry->error)
fs/xfs/xfs_trace.h
3060
TP_PROTO(struct xfs_trans *tp, int error), \
fs/xfs/xfs_trace.h
3061
TP_ARGS(tp, error))
fs/xfs/xfs_trace.h
3237
TP_PROTO(struct xfs_btree_cur *cur, int error,
fs/xfs/xfs_trace.h
3239
TP_ARGS(cur, error, caller_ip),
fs/xfs/xfs_trace.h
3244
__field(int, error)
fs/xfs/xfs_trace.h
3263
__entry->error = error;
fs/xfs/xfs_trace.h
3270
__entry->error,
fs/xfs/xfs_trace.h
3276
TP_PROTO(struct xfs_btree_cur *cur, int error, \
fs/xfs/xfs_trace.h
3278
TP_ARGS(cur, error, caller_ip))
fs/xfs/xfs_trace.h
3550
TP_PROTO(const struct xfs_perag *pag, int error,
fs/xfs/xfs_trace.h
3552
TP_ARGS(pag, error, caller_ip),
fs/xfs/xfs_trace.h
3556
__field(int, error)
fs/xfs/xfs_trace.h
3562
__entry->error = error;
fs/xfs/xfs_trace.h
3568
__entry->error,
fs/xfs/xfs_trace.h
3965
TP_PROTO(struct xfs_inode *ip, int error, unsigned long caller_ip),
fs/xfs/xfs_trace.h
3966
TP_ARGS(ip, error, caller_ip),
fs/xfs/xfs_trace.h
3970
__field(int, error)
fs/xfs/xfs_trace.h
3976
__entry->error = error;
fs/xfs/xfs_trace.h
3982
__entry->error,
fs/xfs/xfs_trace.h
3988
TP_PROTO(struct xfs_inode *ip, int error, \
fs/xfs/xfs_trace.h
3990
TP_ARGS(ip, error, caller_ip))
fs/xfs/xfs_trace.h
5767
TP_PROTO(const struct xfs_metadir_update *upd, int error),
fs/xfs/xfs_trace.h
5768
TP_ARGS(upd, error),
fs/xfs/xfs_trace.h
5773
__field(int, error)
fs/xfs/xfs_trace.h
5780
__entry->error = error;
fs/xfs/xfs_trace.h
5788
__entry->error)
fs/xfs/xfs_trace.h
5793
TP_PROTO(const struct xfs_metadir_update *upd, int error), \
fs/xfs/xfs_trace.h
5794
TP_ARGS(upd, error))
fs/xfs/xfs_trace.h
6324
__field(int, error)
fs/xfs/xfs_trace.h
6333
__entry->error = p->error;
fs/xfs/xfs_trace.h
6342
__entry->error)
fs/xfs/xfs_trace.h
6420
__field(int, error)
fs/xfs/xfs_trace.h
6430
__entry->error = blk_status_to_errno(status);
fs/xfs/xfs_trace.h
6440
__entry->error)
fs/xfs/xfs_trace.h
844
TP_PROTO(struct xfs_buf *bp, int error, xfs_failaddr_t caller_ip),
fs/xfs/xfs_trace.h
845
TP_ARGS(bp, error, caller_ip),
fs/xfs/xfs_trace.h
854
__field(int, error)
fs/xfs/xfs_trace.h
864
__entry->error = error;
fs/xfs/xfs_trace.h
876
__entry->error,
fs/xfs/xfs_trans.c
1012
int error;
fs/xfs/xfs_trans.c
1031
error = __xfs_trans_commit(tp, true);
fs/xfs/xfs_trans.c
1032
if (error)
fs/xfs/xfs_trans.c
1033
return error;
fs/xfs/xfs_trans.c
1050
error = xfs_log_regrant(tp->t_mountp, tp->t_ticket);
fs/xfs/xfs_trans.c
1051
if (error)
fs/xfs/xfs_trans.c
1052
return error;
fs/xfs/xfs_trans.c
1077
int error;
fs/xfs/xfs_trans.c
1080
error = xfs_trans_alloc(mp, resv, dblocks,
fs/xfs/xfs_trans.c
1083
if (error)
fs/xfs/xfs_trans.c
1084
return error;
fs/xfs/xfs_trans.c
1089
error = xfs_qm_dqattach_locked(ip, false);
fs/xfs/xfs_trans.c
1090
if (error) {
fs/xfs/xfs_trans.c
1092
ASSERT(error != -ENOENT);
fs/xfs/xfs_trans.c
1096
error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, force);
fs/xfs/xfs_trans.c
1097
if ((error == -EDQUOT || error == -ENOSPC) && !retried) {
fs/xfs/xfs_trans.c
1104
if (error)
fs/xfs/xfs_trans.c
1113
return error;
fs/xfs/xfs_trans.c
1159
int error;
fs/xfs/xfs_trans.c
1163
error = xfs_trans_reserve_more(tp, dblocks, rtx);
fs/xfs/xfs_trans.c
1164
if (error)
fs/xfs/xfs_trans.c
1165
return error;
fs/xfs/xfs_trans.c
1173
error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks,
fs/xfs/xfs_trans.c
1175
if (!error)
fs/xfs/xfs_trans.c
1183
return error;
fs/xfs/xfs_trans.c
1202
int error;
fs/xfs/xfs_trans.c
1205
error = xfs_trans_alloc(mp, resv, dblocks, 0, 0, &tp);
fs/xfs/xfs_trans.c
1206
if (error)
fs/xfs/xfs_trans.c
1207
return error;
fs/xfs/xfs_trans.c
1209
error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks);
fs/xfs/xfs_trans.c
1210
if ((error == -EDQUOT || error == -ENOSPC) && !retried) {
fs/xfs/xfs_trans.c
1216
if (error) {
fs/xfs/xfs_trans.c
1218
return error;
fs/xfs/xfs_trans.c
1249
int error;
fs/xfs/xfs_trans.c
1252
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_ichange, 0, 0, 0, &tp);
fs/xfs/xfs_trans.c
1253
if (error)
fs/xfs/xfs_trans.c
1254
return error;
fs/xfs/xfs_trans.c
1262
error = xfs_qm_dqattach_locked(ip, false);
fs/xfs/xfs_trans.c
1263
if (error) {
fs/xfs/xfs_trans.c
1265
ASSERT(error != -ENOENT);
fs/xfs/xfs_trans.c
1287
error = xfs_iread_extents(tp, ip, XFS_DATA_FORK);
fs/xfs/xfs_trans.c
1288
if (error)
fs/xfs/xfs_trans.c
1305
error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp,
fs/xfs/xfs_trans.c
1307
if ((error == -EDQUOT || error == -ENOSPC) && !retried) {
fs/xfs/xfs_trans.c
1313
if (error)
fs/xfs/xfs_trans.c
1318
error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp,
fs/xfs/xfs_trans.c
1320
if ((error == -EDQUOT || error == -ENOSPC) && !retried) {
fs/xfs/xfs_trans.c
1326
if (error)
fs/xfs/xfs_trans.c
1336
return error;
fs/xfs/xfs_trans.c
1365
int error;
fs/xfs/xfs_trans.c
1370
error = xfs_trans_alloc(mp, resv, resblks, 0, 0, &tp);
fs/xfs/xfs_trans.c
1371
if (error == -ENOSPC) {
fs/xfs/xfs_trans.c
1372
*nospace_error = error;
fs/xfs/xfs_trans.c
1374
error = xfs_trans_alloc(mp, resv, resblks, 0, 0, &tp);
fs/xfs/xfs_trans.c
1376
if (error)
fs/xfs/xfs_trans.c
1377
return error;
fs/xfs/xfs_trans.c
1384
error = xfs_qm_dqattach_locked(dp, false);
fs/xfs/xfs_trans.c
1385
if (error) {
fs/xfs/xfs_trans.c
1387
ASSERT(error != -ENOENT);
fs/xfs/xfs_trans.c
1391
error = xfs_qm_dqattach_locked(ip, false);
fs/xfs/xfs_trans.c
1392
if (error) {
fs/xfs/xfs_trans.c
1394
ASSERT(error != -ENOENT);
fs/xfs/xfs_trans.c
1401
error = xfs_trans_reserve_quota_nblks(tp, dp, resblks, 0, false);
fs/xfs/xfs_trans.c
1402
if (error == -EDQUOT || error == -ENOSPC) {
fs/xfs/xfs_trans.c
1413
*nospace_error = error;
fs/xfs/xfs_trans.c
1415
error = 0;
fs/xfs/xfs_trans.c
1417
if (error)
fs/xfs/xfs_trans.c
1430
return error;
fs/xfs/xfs_trans.c
152
int error = 0;
fs/xfs/xfs_trans.c
163
error = xfs_dec_fdblocks(mp, blocks, rsvd);
fs/xfs/xfs_trans.c
164
if (error != 0)
fs/xfs/xfs_trans.c
174
error = xfs_log_reserve(mp, resp->tr_logres, resp->tr_logcount,
fs/xfs/xfs_trans.c
176
if (error)
fs/xfs/xfs_trans.c
188
error = xfs_dec_frextents(mp, rtextents);
fs/xfs/xfs_trans.c
189
if (error) {
fs/xfs/xfs_trans.c
190
error = -ENOSPC;
fs/xfs/xfs_trans.c
208
return error;
fs/xfs/xfs_trans.c
244
int error;
fs/xfs/xfs_trans.c
256
error = xfs_trans_reserve(tp, resp, blocks, rtextents);
fs/xfs/xfs_trans.c
257
if (error == -ENOSPC && want_retry) {
fs/xfs/xfs_trans.c
266
error = xfs_blockgc_flush_all(mp);
fs/xfs/xfs_trans.c
267
if (error)
fs/xfs/xfs_trans.c
268
return error;
fs/xfs/xfs_trans.c
272
if (error) {
fs/xfs/xfs_trans.c
274
return error;
fs/xfs/xfs_trans.c
779
int error = 0;
fs/xfs/xfs_trans.c
798
error = lip->li_ops->iop_precommit(tp, lip);
fs/xfs/xfs_trans.c
799
if (error)
fs/xfs/xfs_trans.c
803
if (error)
fs/xfs/xfs_trans.c
805
return error;
fs/xfs/xfs_trans.c
828
int error = 0;
fs/xfs/xfs_trans.c
841
error = xfs_trans_run_precommits(tp);
fs/xfs/xfs_trans.c
842
if (error)
fs/xfs/xfs_trans.c
862
error = -EIO;
fs/xfs/xfs_trans.c
877
error = xfs_log_force_seq(mp, commit_seq, XFS_LOG_SYNC, NULL);
fs/xfs/xfs_trans.c
883
return error;
fs/xfs/xfs_trans.c
901
xfs_trans_free_items(tp, !!error);
fs/xfs/xfs_trans.c
905
return error;
fs/xfs/xfs_trans.c
919
int error = xfs_defer_finish_noroll(&tp);
fs/xfs/xfs_trans.c
920
if (error) {
fs/xfs/xfs_trans.c
922
return error;
fs/xfs/xfs_trans_buf.c
126
int error;
fs/xfs/xfs_trans_buf.c
156
error = xfs_buf_get_map(target, map, nmaps, flags, &bp);
fs/xfs/xfs_trans_buf.c
157
if (error)
fs/xfs/xfs_trans_buf.c
158
return error;
fs/xfs/xfs_trans_buf.c
238
int error;
fs/xfs/xfs_trans_buf.c
280
error = xfs_buf_reverify(bp, ops);
fs/xfs/xfs_trans_buf.c
281
if (error) {
fs/xfs/xfs_trans_buf.c
289
if (error == -EFSBADCRC)
fs/xfs/xfs_trans_buf.c
290
error = -EFSCORRUPTED;
fs/xfs/xfs_trans_buf.c
291
return error;
fs/xfs/xfs_trans_buf.c
304
error = xfs_buf_read_map(target, map, nmaps, flags, &bp, ops,
fs/xfs/xfs_trans_buf.c
306
switch (error) {
fs/xfs/xfs_trans_buf.c
315
return error;
fs/xfs/xfs_trans_dquot.c
1000
error = xfs_trans_reserve_quota_bydquots(tp, mp, ip->i_udquot,
fs/xfs/xfs_trans_dquot.c
1003
if (error)
fs/xfs/xfs_trans_dquot.c
1004
return error;
fs/xfs/xfs_trans_dquot.c
1007
error = xfs_trans_reserve_quota_bydquots(tp, mp, ip->i_udquot,
fs/xfs/xfs_trans_dquot.c
1010
if (error) {
fs/xfs/xfs_trans_dquot.c
1014
return error;
fs/xfs/xfs_trans_dquot.c
184
int error;
fs/xfs/xfs_trans_dquot.c
194
error = xfs_hooks_add(&qi->qi_apply_dqtrx_hooks, &hook->apply_hook);
fs/xfs/xfs_trans_dquot.c
195
if (error)
fs/xfs/xfs_trans_dquot.c
198
error = xfs_hooks_add(&qi->qi_mod_ino_dqtrx_hooks, &hook->mod_hook);
fs/xfs/xfs_trans_dquot.c
199
if (error)
fs/xfs/xfs_trans_dquot.c
207
return error;
fs/xfs/xfs_trans_dquot.c
929
int error;
fs/xfs/xfs_trans_dquot.c
937
error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, flags);
fs/xfs/xfs_trans_dquot.c
938
if (error)
fs/xfs/xfs_trans_dquot.c
939
return error;
fs/xfs/xfs_trans_dquot.c
943
error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags);
fs/xfs/xfs_trans_dquot.c
944
if (error)
fs/xfs/xfs_trans_dquot.c
949
error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags);
fs/xfs/xfs_trans_dquot.c
950
if (error)
fs/xfs/xfs_trans_dquot.c
967
return error;
fs/xfs/xfs_trans_dquot.c
986
int error;
fs/xfs/xfs_verify_media.c
123
error = xfs_alloc_read_agf(pag, tp, 0, &agf_bp);
fs/xfs/xfs_verify_media.c
124
if (error) {
fs/xfs/xfs_verify_media.c
153
error = xfs_rmap_query_range(cur, &ri_low, &ri_high,
fs/xfs/xfs_verify_media.c
155
xfs_btree_del_cursor(cur, error);
fs/xfs/xfs_verify_media.c
160
if (error) {
fs/xfs/xfs_verify_media.c
273
int error = 0;
fs/xfs/xfs_verify_media.c
337
error = -ENOMEM;
fs/xfs/xfs_verify_media.c
362
error = 0;
fs/xfs/xfs_verify_media.c
382
error = -EINTR;
fs/xfs/xfs_verify_media.c
393
if (error)
fs/xfs/xfs_verify_media.c
394
return error;
fs/xfs/xfs_verify_media.c
413
int error;
fs/xfs/xfs_verify_media.c
435
error = xfs_verify_media(mp, &me);
fs/xfs/xfs_verify_media.c
436
if (error)
fs/xfs/xfs_verify_media.c
437
return error;
fs/xfs/xfs_verify_media.c
53
int error = 0;
fs/xfs/xfs_verify_media.c
58
error = xfs_iget(mp, cur->bc_tp, rec->rm_owner, 0, 0, &ip);
fs/xfs/xfs_verify_media.c
59
if (error)
fs/xfs/xfs_verify_media.c
99
int error;
fs/xfs/xfs_xattr.c
100
error = xfs_attr_grab_log_assist(mp);
fs/xfs/xfs_xattr.c
101
if (error)
fs/xfs/xfs_xattr.c
102
return error;
fs/xfs/xfs_xattr.c
145
int error;
fs/xfs/xfs_xattr.c
150
error = xfs_attr_get(&args);
fs/xfs/xfs_xattr.c
151
if (error)
fs/xfs/xfs_xattr.c
152
return error;
fs/xfs/xfs_xattr.c
184
int error;
fs/xfs/xfs_xattr.c
186
error = xfs_attr_change(&args, xfs_xattr_flags_to_op(flags, value));
fs/xfs/xfs_xattr.c
187
if (!error && (handler->flags & XFS_ATTR_ROOT))
fs/xfs/xfs_xattr.c
189
return error;
fs/xfs/xfs_xattr.c
32
int error = 0;
fs/xfs/xfs_xattr.c
324
int error;
fs/xfs/xfs_xattr.c
340
error = xfs_attr_list(&context);
fs/xfs/xfs_xattr.c
341
if (error)
fs/xfs/xfs_xattr.c
342
return error;
fs/xfs/xfs_xattr.c
48
error = xfs_add_incompat_log_feature(mp,
fs/xfs/xfs_xattr.c
50
if (error)
fs/xfs/xfs_xattr.c
51
return error;
fs/xfs/xfs_xattr.c
83
int error;
fs/xfs/xfs_xattr.c
88
error = xfs_qm_dqattach(args->dp);
fs/xfs/xfs_xattr.c
89
if (error)
fs/xfs/xfs_xattr.c
90
return error;
fs/xfs/xfs_zone_alloc.c
1040
int error;
fs/xfs/xfs_zone_alloc.c
1074
error = xfs_zone_gc_reset_sync(rtg);
fs/xfs/xfs_zone_alloc.c
1075
if (error)
fs/xfs/xfs_zone_alloc.c
1076
return error;
fs/xfs/xfs_zone_alloc.c
1244
int error;
fs/xfs/xfs_zone_alloc.c
1265
error = xfs_calc_open_zones(mp);
fs/xfs/xfs_zone_alloc.c
1266
if (error)
fs/xfs/xfs_zone_alloc.c
1267
return error;
fs/xfs/xfs_zone_alloc.c
1304
error = xfs_query_write_pointer(&iz, rtg, &write_pointer);
fs/xfs/xfs_zone_alloc.c
1305
if (!error)
fs/xfs/xfs_zone_alloc.c
1306
error = xfs_init_zone(&iz, rtg, write_pointer);
fs/xfs/xfs_zone_alloc.c
1307
if (error) {
fs/xfs/xfs_zone_alloc.c
1324
error = xfs_zone_gc_mount(mp);
fs/xfs/xfs_zone_alloc.c
1325
if (error)
fs/xfs/xfs_zone_alloc.c
1331
return error;
fs/xfs/xfs_zone_alloc.c
248
int error;
fs/xfs/xfs_zone_alloc.c
251
error = xfs_bmapi_read(ip, new->br_startoff, new->br_blockcount, &data,
fs/xfs/xfs_zone_alloc.c
253
if (error)
fs/xfs/xfs_zone_alloc.c
254
return error;
fs/xfs/xfs_zone_alloc.c
283
error = xfs_iext_count_extend(tp, ip, XFS_DATA_FORK,
fs/xfs/xfs_zone_alloc.c
285
if (error)
fs/xfs/xfs_zone_alloc.c
286
return error;
fs/xfs/xfs_zone_alloc.c
296
error = xfs_free_extent_later(tp, data.br_startblock,
fs/xfs/xfs_zone_alloc.c
300
if (error)
fs/xfs/xfs_zone_alloc.c
301
return error;
fs/xfs/xfs_zone_alloc.c
336
int error;
fs/xfs/xfs_zone_alloc.c
344
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_write, resblks, 0,
fs/xfs/xfs_zone_alloc.c
346
if (error)
fs/xfs/xfs_zone_alloc.c
347
return error;
fs/xfs/xfs_zone_alloc.c
351
error = xfs_zoned_map_extent(tp, ip, &new, oz, old_startblock);
fs/xfs/xfs_zone_alloc.c
352
if (error)
fs/xfs/xfs_zone_alloc.c
355
error = xfs_trans_commit(tp);
fs/xfs/xfs_zone_alloc.c
357
if (error)
fs/xfs/xfs_zone_alloc.c
358
return error;
fs/xfs/xfs_zone_alloc.c
994
int error;
fs/xfs/xfs_zone_alloc.c
997
error = blkdev_get_zone_info(bdev, start, &zone);
fs/xfs/xfs_zone_alloc.c
998
if (error)
fs/xfs/xfs_zone_alloc.c
999
return error;
fs/xfs/xfs_zone_gc.c
1169
int error;
fs/xfs/xfs_zone_gc.c
1186
error = -EIO;
fs/xfs/xfs_zone_gc.c
1195
error = -ENOMEM;
fs/xfs/xfs_zone_gc.c
1203
error = PTR_ERR(zi->zi_gc_thread);
fs/xfs/xfs_zone_gc.c
1216
return error;
fs/xfs/xfs_zone_gc.c
311
int error;
fs/xfs/xfs_zone_gc.c
327
error = xfs_rmap_query_range(cur, &ri_low, &ri_high,
fs/xfs/xfs_zone_gc.c
330
xfs_btree_del_cursor(cur, error < 0 ? error : 0);
fs/xfs/xfs_zone_gc.c
333
if (error < 0)
fs/xfs/xfs_zone_gc.c
334
return error;
fs/xfs/xfs_zone_gc.c
347
if (error == 0) {
fs/xfs/xfs_zone_gc.c
372
int error;
fs/xfs/xfs_zone_gc.c
379
error = xfs_zone_gc_query(mp, iter);
fs/xfs/xfs_zone_gc.c
380
if (error)
fs/xfs/xfs_zone_gc.c
387
error = xfs_iget(mp, NULL, irec->rm_owner,
fs/xfs/xfs_zone_gc.c
389
if (error) {
fs/xfs/xfs_zone_gc.c
393
if (error == -ENOENT) {
fs/xfs/xfs_zone_gc.c
837
int error;
fs/xfs/xfs_zone_gc.c
859
error = xfs_break_layouts(VFS_I(ip), &iolock, BREAK_UNMAP);
fs/xfs/xfs_zone_gc.c
860
if (!error)
fs/xfs/xfs_zone_gc.c
863
if (error)
fs/xfs/xfs_zone_gc.c
868
error = xfs_zoned_end_io(ip, chunk->offset, chunk->len,
fs/xfs/xfs_zone_gc.c
871
if (error)
fs/xfs/xfs_zone_gc.c
947
int error;
fs/xfs/xfs_zone_gc.c
956
error = blk_status_to_errno(bio.bi_status);
fs/xfs/xfs_zone_gc.c
958
return error;
fs/xfs/xfs_zone_space_resv.c
128
int error;
fs/xfs/xfs_zone_space_resv.c
141
error = xfs_dec_freecounter(mp, XC_FREE_RTAVAILABLE, count_fsb,
fs/xfs/xfs_zone_space_resv.c
143
if (error != -ENOSPC)
fs/xfs/xfs_zone_space_resv.c
144
return error;
fs/xfs/xfs_zone_space_resv.c
152
while ((error = xfs_zoned_space_wait_error(mp)) == 0) {
fs/xfs/xfs_zone_space_resv.c
155
error = xfs_dec_freecounter(mp, XC_FREE_RTAVAILABLE, count_fsb,
fs/xfs/xfs_zone_space_resv.c
157
if (error != -ENOSPC)
fs/xfs/xfs_zone_space_resv.c
187
return error;
fs/xfs/xfs_zone_space_resv.c
205
int error = -ENOSPC;
fs/xfs/xfs_zone_space_resv.c
211
error = xfs_dec_freecounter(mp, XC_FREE_RTEXTENTS, *count_fsb,
fs/xfs/xfs_zone_space_resv.c
215
return error;
fs/xfs/xfs_zone_space_resv.c
225
int error;
fs/xfs/xfs_zone_space_resv.c
230
error = xfs_dec_freecounter(mp, XC_FREE_RTEXTENTS, count_fsb,
fs/xfs/xfs_zone_space_resv.c
232
if (error == -ENOSPC && !(flags & XFS_ZR_NOWAIT)) {
fs/xfs/xfs_zone_space_resv.c
234
error = xfs_dec_freecounter(mp, XC_FREE_RTEXTENTS, count_fsb,
fs/xfs/xfs_zone_space_resv.c
237
if (error == -ENOSPC && (flags & XFS_ZR_GREEDY) && count_fsb > 1)
fs/xfs/xfs_zone_space_resv.c
238
error = xfs_zoned_reserve_extents_greedy(mp, &count_fsb, flags);
fs/xfs/xfs_zone_space_resv.c
239
if (error)
fs/xfs/xfs_zone_space_resv.c
240
return error;
fs/xfs/xfs_zone_space_resv.c
242
error = xfs_zoned_reserve_available(mp, count_fsb, flags);
fs/xfs/xfs_zone_space_resv.c
243
if (error) {
fs/xfs/xfs_zone_space_resv.c
245
return error;
fs/zonefs/file.c
141
int error;
fs/zonefs/file.c
143
error = zonefs_write_iomap_begin(wpc->inode, offset,
fs/zonefs/file.c
146
if (error)
fs/zonefs/file.c
147
return error;
fs/zonefs/file.c
359
int error, unsigned int flags)
fs/zonefs/file.c
364
if (error) {
fs/zonefs/file.c
371
return error;
fs/zonefs/file.c
618
int error, unsigned int flags)
fs/zonefs/file.c
620
if (error) {
fs/zonefs/file.c
622
return error;
include/asm-generic/syscall.h
116
int error, long val);
include/linux/blk-mq.h
1189
bool blk_update_request(struct request *rq, blk_status_t error,
include/linux/blk-mq.h
865
void blk_mq_end_request(struct request *rq, blk_status_t error);
include/linux/blk-mq.h
866
void __blk_mq_end_request(struct request *rq, blk_status_t error);
include/linux/blk_types.h
185
static inline bool blk_path_error(blk_status_t error)
include/linux/blk_types.h
187
switch (error) {
include/linux/cdrom.h
119
long error;
include/linux/compiler-clang.h
128
#define __diag_clang_error error
include/linux/compiler-gcc.h
114
#define __diag_GCC_error error
include/linux/compiler_types.h
729
__diag_ ## compiler(version, error, option)
include/linux/decompress/bunzip2.h
10
void(*error)(char *x));
include/linux/decompress/generic.h
10
void(*error)(char *x));
include/linux/decompress/unlz4.h
10
void(*error)(char *x));
include/linux/decompress/unlzma.h
10
void(*error)(char *x)
include/linux/decompress/unlzo.h
10
void(*error)(char *x));
include/linux/decompress/unxz.h
16
void (*error)(char *x));
include/linux/device-mapper.h
361
char *error;
include/linux/device-mapper.h
457
char *error;
include/linux/device-mapper.h
465
unsigned int *value, char **error);
include/linux/device-mapper.h
473
unsigned int *num_args, char **error);
include/linux/device-mapper.h
79
struct bio *bio, blk_status_t *error);
include/linux/device-mapper.h
81
struct request *clone, blk_status_t error,
include/linux/dm-io.h
30
typedef void (*io_notify_fn)(unsigned int long error, void *context);
include/linux/dm-region-hash.h
97
void dm_rh_recovery_end(struct dm_region *reg, int error);
include/linux/dma-fence.h
579
return fence->error ?: 1;
include/linux/dma-fence.h
604
int error)
include/linux/dma-fence.h
607
WARN_ON(error >= 0 || error < -MAX_ERRNO);
include/linux/dma-fence.h
609
fence->error = error;
include/linux/dma-fence.h
97
int error;
include/linux/err.h
39
static inline void * __must_check ERR_PTR(long error)
include/linux/err.h
41
return (void *) error;
include/linux/err.h
50
#define INIT_ERR_PTR(error) ((void *)(error))
include/linux/err.h
53
#define ERR_PTR_PCPU(error) ((void __percpu *)(unsigned long)ERR_PTR(error))
include/linux/err.h
56
#define IOMEM_ERR_PTR(error) (__force void __iomem *)ERR_PTR(error)
include/linux/fs.h
2551
static inline int finish_open_simple(struct file *file, int error)
include/linux/fs.h
2553
if (error)
include/linux/fs.h
2554
return error;
include/linux/fserror.h
37
int error;
include/linux/fserror.h
41
enum fserror_type type, loff_t pos, u64 len, int error,
include/linux/fserror.h
46
u64 len, int error, gfp_t gfp)
include/linux/fserror.h
48
fserror_report(inode->i_sb, inode, type, pos, len, error, gfp);
include/linux/fserror.h
58
static inline void fserror_report_file_metadata(struct inode *inode, int error,
include/linux/fserror.h
61
fserror_report(inode->i_sb, inode, FSERR_METADATA, 0, 0, error, gfp);
include/linux/fserror.h
64
static inline void fserror_report_metadata(struct super_block *sb, int error,
include/linux/fserror.h
67
fserror_report(sb, NULL, FSERR_METADATA, 0, 0, error, gfp);
include/linux/fsnotify_backend.h
317
int error;
include/linux/iio/backend.h
138
bool *error);
include/linux/iio/backend.h
205
bool *error);
include/linux/iomap.h
459
int (*writeback_submit)(struct iomap_writepage_ctx *wpc, int error);
include/linux/iomap.h
475
void iomap_finish_ioends(struct iomap_ioend *ioend, int error);
include/linux/iomap.h
481
int iomap_ioend_writeback_submit(struct iomap_writepage_ctx *wpc, int error);
include/linux/iomap.h
484
int error);
include/linux/iomap.h
525
int (*end_io)(struct kiocb *iocb, ssize_t size, int error,
include/linux/key-type.h
181
unsigned error,
include/linux/key-type.h
184
extern void complete_request_key(struct key *authkey, int error);
include/linux/libata.h
576
u8 error;
include/linux/mailbox/brcm-message.h
56
int error;
include/linux/mailbox/riscv-rpmi-message.h
167
int error;
include/linux/mailbox/riscv-rpmi-message.h
177
msg->error = 0;
include/linux/mailbox/riscv-rpmi-message.h
187
msg->error = 0;
include/linux/mailbox/riscv-rpmi-message.h
204
msg->error = 0;
include/linux/mailbox/riscv-rpmi-message.h
219
msg->error = 0;
include/linux/mailbox/riscv-rpmi-message.h
238
ret = msg->error;
include/linux/memstick.h
241
int error;
include/linux/mlx5/mlx5_ifc.h
12204
u8 error[0x8];
include/linux/mlx5/mlx5_ifc.h
2627
u8 error[8][0x20];
include/linux/mlx5/mlx5_ifc.h
7702
u8 error[0x1];
include/linux/mlx5/mlx5_ifc.h
7712
u8 error[0x1];
include/linux/mmc/core.h
125
int error; /* data error */
include/linux/mmc/core.h
92
int error; /* command error */
include/linux/namei.h
224
retry_estale(const long error, const unsigned int flags)
include/linux/namei.h
226
return unlikely(error == -ESTALE && !(flags & LOOKUP_REVAL));
include/linux/net.h
146
int error;
include/linux/netfilter/nf_conntrack_common.h
16
unsigned int error;
include/linux/netfilter/nfnetlink.h
57
int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error);
include/linux/netfilter/x_tables.h
307
int *error);
include/linux/netfs.h
145
unsigned short error; /* Aggregate error for the stream */
include/linux/netfs.h
182
short error; /* 0 or error that occurred */
include/linux/netfs.h
248
long error; /* 0 or error that occurred */
include/linux/nfs_fs.h
107
int error;
include/linux/nfs_fs.h
286
int error;
include/linux/nfs_xdr.h
1668
int error; /* merge with pnfs_error */
include/linux/pagemap.h
238
static inline void mapping_set_error(struct address_space *mapping, int error)
include/linux/pagemap.h
240
if (likely(!error))
include/linux/pagemap.h
244
__filemap_set_wb_err(mapping, error);
include/linux/pagemap.h
248
errseq_set(&mapping->host->i_sb->s_wb_err, error);
include/linux/pagemap.h
251
if (error == -ENOSPC)
include/linux/pci.h
942
pci_channel_state_t error);
include/linux/platform_data/cros_ec_commands.h
5755
uint32_t error; /* enum pchg_error */
include/linux/poll.h
100
int error;
include/linux/psp-sev.h
1008
int sev_guest_df_flush(int *error);
include/linux/psp-sev.h
1023
int sev_guest_decommission(struct sev_data_decommission *data, int *error);
include/linux/psp-sev.h
1052
sev_platform_status(struct sev_user_data_status *status, int *error) { return -ENODEV; }
include/linux/psp-sev.h
1057
sev_guest_deactivate(struct sev_data_deactivate *data, int *error) { return -ENODEV; }
include/linux/psp-sev.h
1060
sev_guest_decommission(struct sev_data_decommission *data, int *error) { return -ENODEV; }
include/linux/psp-sev.h
1066
sev_guest_activate(struct sev_data_activate *data, int *error) { return -ENODEV; }
include/linux/psp-sev.h
1068
static inline int sev_guest_df_flush(int *error) { return -ENODEV; }
include/linux/psp-sev.h
1071
sev_issue_cmd_external_user(struct file *filep, unsigned int id, void *data, int *error) { return -ENODEV; }
include/linux/psp-sev.h
851
int error;
include/linux/psp-sev.h
940
int sev_platform_status(struct sev_user_data_status *status, int *error);
include/linux/psp-sev.h
964
void *data, int *error);
include/linux/psp-sev.h
979
int sev_guest_deactivate(struct sev_data_deactivate *data, int *error);
include/linux/psp-sev.h
994
int sev_guest_activate(struct sev_data_activate *data, int *error);
include/linux/rseq_types.h
46
u16 error;
include/linux/rtnetlink.h
23
extern void rtnl_set_sk_err(struct net *net, u32 group, int error);
include/linux/rtnetlink.h
26
u32 id, long expires, u32 error);
include/linux/soc/qcom/qmi.h
102
u16 error;
include/linux/spi/spi.h
1111
u16 error;
include/linux/sunrpc/cache.h
311
int error;
include/linux/sunrpc/cache.h
314
error = get_time(bpp, rvp);
include/linux/sunrpc/cache.h
315
if (error)
include/linux/sunrpc/cache.h
316
return error;
include/linux/sunrpc/sched.h
226
void rpc_task_try_cancel(struct rpc_task *task, int error);
include/linux/sunrpc/sched.h
232
unsigned long rpc_cancel_tasks(struct rpc_clnt *clnt, int error,
include/linux/usb/hcd.h
728
int error)
include/linux/usb/hcd.h
731
(*mon_ops->urb_submit_error)(bus, urb, error);
include/linux/usb/hcd.h
748
int error) {}
include/linux/writeback.h
359
struct writeback_control *wbc, struct folio *folio, int *error);
include/linux/zstd_lib.h
524
size_t error;
include/media/dvb_ringbuffer.h
46
int error;
include/media/v4l2-ctrls.h
422
int error;
include/media/videobuf2-core.h
653
unsigned int error:1;
include/net/af_rxrpc.h
107
int error, enum rxrpc_abort_reason why);
include/net/cfg80211.h
3283
int error;
include/net/cipso_ipv4.h
181
void cipso_v4_error(struct sk_buff *skb, int error, u32 gateway);
include/net/cipso_ipv4.h
204
int error,
include/net/dst.h
77
short error;
include/net/mana/hw_channel.h
174
u32 error; /* Linux error code */
include/net/netlabel.h
495
void netlbl_skbuff_err(struct sk_buff *skb, u16 family, int error, int gateway);
include/net/netlabel.h
665
int error,
include/net/sctp/command.h
112
int error;
include/net/sctp/command.h
153
SCTP_ARG_CONSTRUCTOR(ERROR, int, error)
include/net/sctp/structs.h
1077
unsigned int error;
include/net/sctp/structs.h
2132
sctp_sn_error_t error);
include/net/sctp/structs.h
526
void sctp_chunk_fail(struct sctp_chunk *, int error);
include/net/sctp/ulpevent.h
102
__u32 error,
include/net/sctp/ulpevent.h
77
__u16 error,
include/net/sctp/ulpevent.h
84
int state, int error);
include/net/sctp/ulpevent.h
95
__u32 error,
include/scsi/iscsi_if.h
268
uint32_t error; /* enum iscsi_err */
include/scsi/libsas.h
309
int error;
include/scsi/sas.h
207
u8 error;
include/scsi/scsi_transport_iscsi.h
171
enum iscsi_err error);
include/sound/info.h
21
int error; /* error code */
include/sound/sof/header.h
165
int32_t error; /**< negative error numbers */
include/trace/events/afs.h
1225
TP_PROTO(unsigned int call, int error, enum afs_io_error where),
include/trace/events/afs.h
1227
TP_ARGS(call, error, where),
include/trace/events/afs.h
1231
__field(int, error)
include/trace/events/afs.h
1237
__entry->error = error;
include/trace/events/afs.h
1242
__entry->call, __entry->error,
include/trace/events/afs.h
1247
TP_PROTO(struct afs_vnode *vnode, int error, enum afs_file_error where),
include/trace/events/afs.h
1249
TP_ARGS(vnode, error, where),
include/trace/events/afs.h
1253
__field(int, error)
include/trace/events/afs.h
1259
__entry->error = error;
include/trace/events/afs.h
1265
__entry->error,
include/trace/events/afs.h
1338
enum afs_flock_event event, int error),
include/trace/events/afs.h
1340
TP_ARGS(vnode, fl, event, error),
include/trace/events/afs.h
1346
__field(int, error)
include/trace/events/afs.h
1354
__entry->error = error;
include/trace/events/afs.h
1363
__entry->error)
include/trace/events/afs.h
1669
unsigned int addr_index, int error, s32 abort_code, unsigned int rtt_us),
include/trace/events/afs.h
1671
TP_ARGS(server, tx, estate, addr_index, error, abort_code, rtt_us),
include/trace/events/afs.h
1678
__field(short, error)
include/trace/events/afs.h
1690
__entry->error = error;
include/trace/events/afs.h
1699
__entry->addr_index, __entry->error, __entry->abort_code, __entry->rtt_us,
include/trace/events/afs.h
1705
unsigned int addr_index, int error, s32 abort_code, unsigned int rtt_us),
include/trace/events/afs.h
1707
TP_ARGS(server, tx, alist, addr_index, error, abort_code, rtt_us),
include/trace/events/afs.h
1714
__field(short, error)
include/trace/events/afs.h
1724
__entry->error = error;
include/trace/events/afs.h
1733
__entry->error, __entry->abort_code, __entry->rtt_us,
include/trace/events/afs.h
904
__entry->ret = call->error;
include/trace/events/block.h
120
TP_PROTO(struct request *rq, blk_status_t error, unsigned int nr_bytes),
include/trace/events/block.h
122
TP_ARGS(rq, error, nr_bytes),
include/trace/events/block.h
128
__field( int , error )
include/trace/events/block.h
138
__entry->error = blk_status_to_errno(error);
include/trace/events/block.h
152
IOPRIO_PRIO_LEVEL(__entry->ioprio), __entry->error)
include/trace/events/block.h
169
TP_PROTO(struct request *rq, blk_status_t error, unsigned int nr_bytes),
include/trace/events/block.h
171
TP_ARGS(rq, error, nr_bytes)
include/trace/events/block.h
185
TP_PROTO(struct request *rq, blk_status_t error, unsigned int nr_bytes),
include/trace/events/block.h
187
TP_ARGS(rq, error, nr_bytes)
include/trace/events/block.h
317
__field( int, error )
include/trace/events/block.h
325
__entry->error = blk_status_to_errno(bio->bi_status);
include/trace/events/block.h
332
__entry->nr_sector, __entry->error)
include/trace/events/btrfs.h
2237
u64 start_ns, int flush, int error),
include/trace/events/btrfs.h
2239
TP_ARGS(fs_info, flags, bytes, start_ns, flush, error),
include/trace/events/btrfs.h
2246
__field( int, error )
include/trace/events/btrfs.h
2254
__entry->error = error;
include/trace/events/btrfs.h
2261
__entry->error)
include/trace/events/cachefiles.h
253
__field(short, error)
include/trace/events/cachefiles.h
263
__entry->error = IS_ERR(de) ? PTR_ERR(de) : 0;
include/trace/events/cachefiles.h
267
__entry->obj, __entry->dino, __entry->ino, __entry->error)
include/trace/events/cachefiles.h
638
int error, enum cachefiles_error_trace where),
include/trace/events/cachefiles.h
640
TP_ARGS(obj, backer, error, where),
include/trace/events/cachefiles.h
646
__field(short, error)
include/trace/events/cachefiles.h
652
__entry->error = error;
include/trace/events/cachefiles.h
660
__entry->error)
include/trace/events/cachefiles.h
665
int error, enum cachefiles_error_trace where),
include/trace/events/cachefiles.h
667
TP_ARGS(obj, backer, error, where),
include/trace/events/cachefiles.h
673
__field(short, error)
include/trace/events/cachefiles.h
679
__entry->error = error;
include/trace/events/cachefiles.h
687
__entry->error)
include/trace/events/dlm.h
138
unsigned int namelen, int mode, __u32 flags, int error,
include/trace/events/dlm.h
141
TP_ARGS(ls, lkb, name, namelen, mode, flags, error, kernel_lock),
include/trace/events/dlm.h
148
__field(int, error)
include/trace/events/dlm.h
160
__entry->error = error;
include/trace/events/dlm.h
175
if (error == -EAGAIN || error == -EDEADLK)
include/trace/events/dlm.h
176
__entry->error = 0;
include/trace/events/dlm.h
184
show_lock_flags(__entry->flags), __entry->error,
include/trace/events/dlm.h
293
int error),
include/trace/events/dlm.h
295
TP_ARGS(ls, lkb, flags, error),
include/trace/events/dlm.h
301
__field(int, error)
include/trace/events/dlm.h
312
__entry->error = error;
include/trace/events/dlm.h
322
show_lock_flags(__entry->flags), __entry->error,
include/trace/events/ext4.h
2722
TP_PROTO(struct super_block *sb, int error, int off),
include/trace/events/ext4.h
2724
TP_ARGS(sb, error, off),
include/trace/events/ext4.h
2728
__field(int, error)
include/trace/events/ext4.h
2734
__entry->error = error;
include/trace/events/ext4.h
2740
__entry->error, __entry->off)
include/trace/events/ext4.h
2882
__field(int, error)
include/trace/events/ext4.h
2892
__entry->error = ret;
include/trace/events/ext4.h
2898
__entry->error
include/trace/events/ext4.h
2923
__field(int, error)
include/trace/events/ext4.h
2933
__entry->error = ret;
include/trace/events/ext4.h
2939
__entry->error)
include/trace/events/ext4.h
2955
__field(int, error)
include/trace/events/ext4.h
2967
__entry->error = ret;
include/trace/events/ext4.h
2973
__entry->error, __entry->start, __entry->end)
include/trace/events/fsi_master_i2cr.h
66
TP_PROTO(const struct i2c_client *client, uint64_t status, uint64_t error, uint64_t log),
include/trace/events/fsi_master_i2cr.h
67
TP_ARGS(client, status, error, log),
include/trace/events/fsi_master_i2cr.h
69
__field(uint64_t, error)
include/trace/events/fsi_master_i2cr.h
76
__entry->error = error;
include/trace/events/fsi_master_i2cr.h
83
__entry->status, __entry->error, __entry->log)
include/trace/events/io_uring.h
492
TP_PROTO(const struct io_uring_sqe *sqe, struct io_kiocb *req, int error),
include/trace/events/io_uring.h
494
TP_ARGS(sqe, req, error),
include/trace/events/io_uring.h
512
__field( int, error )
include/trace/events/io_uring.h
533
__entry->error = error;
include/trace/events/io_uring.h
551
(unsigned long long) __entry->addr3, __entry->error)
include/trace/events/libata.h
265
__field( unsigned char, error )
include/trace/events/libata.h
287
__entry->error = qc->result_tf.feature;
include/trace/events/libata.h
299
__entry->status, __entry->error, __entry->nsect,
include/trace/events/mmc.h
130
__entry->cmd_err = mrq->cmd ? mrq->cmd->error : 0;
include/trace/events/mmc.h
137
__entry->stop_err = mrq->stop ? mrq->stop->error : 0;
include/trace/events/mmc.h
144
__entry->sbc_err = mrq->sbc ? mrq->sbc->error : 0;
include/trace/events/mmc.h
151
__entry->data_err = mrq->data ? mrq->data->error : 0;
include/trace/events/netfs.h
360
__field(short, error)
include/trace/events/netfs.h
373
__entry->error = sreq->error;
include/trace/events/netfs.h
389
__entry->slot, __entry->error)
include/trace/events/netfs.h
395
int error, enum netfs_failure what),
include/trace/events/netfs.h
397
TP_ARGS(rreq, sreq, error, what),
include/trace/events/netfs.h
402
__field(short, error)
include/trace/events/netfs.h
414
__entry->error = error;
include/trace/events/netfs.h
429
__entry->error)
include/trace/events/power.h
246
TP_PROTO(struct device *dev, int error),
include/trace/events/power.h
248
TP_ARGS(dev, error),
include/trace/events/power.h
253
__field(int, error)
include/trace/events/power.h
259
__entry->error = error;
include/trace/events/power.h
263
__get_str(driver), __get_str(device), __entry->error)
include/trace/events/rpcgss.h
648
int error
include/trace/events/rpcgss.h
651
TP_ARGS(flavor, error),
include/trace/events/rpcgss.h
655
__field(int, error)
include/trace/events/rpcgss.h
661
__entry->error = error;
include/trace/events/rpcgss.h
665
show_pseudoflavor(__entry->flavor), __entry->error)
include/trace/events/rxrpc.h
922
__field(int, error)
include/trace/events/rxrpc.h
929
__entry->error = call->send_abort_err;
include/trace/events/rxrpc.h
934
__entry->abort_code, __entry->error,
include/trace/events/rxrpc.h
940
u32 cid, u32 call_id, rxrpc_seq_t seq, int abort_code, int error),
include/trace/events/rxrpc.h
942
TP_ARGS(call_nr, why, cid, call_id, seq, abort_code, error),
include/trace/events/rxrpc.h
951
__field(int, error)
include/trace/events/rxrpc.h
960
__entry->error = error;
include/trace/events/rxrpc.h
967
__entry->abort_code, __entry->error,
include/trace/events/rxrpc.h
979
__field(int, error)
include/trace/events/rxrpc.h
986
__entry->error = call->error;
include/trace/events/rxrpc.h
993
__entry->error,
include/trace/events/sock.h
200
__field(int, error)
include/trace/events/sock.h
215
__entry->error = sk->sk_err;
include/trace/events/sock.h
237
__entry->error)
include/trace/events/sunrpc.h
1965
__field(long, error)
include/trace/events/sunrpc.h
1972
__entry->error = PTR_ERR(xprt);
include/trace/events/sunrpc.h
1980
__entry->error)
include/trace/events/sunrpc.h
208
int error
include/trace/events/sunrpc.h
211
TP_ARGS(program, server, error),
include/trace/events/sunrpc.h
214
__field(int, error)
include/trace/events/sunrpc.h
220
__entry->error = error;
include/trace/events/sunrpc.h
226
__get_str(program), __get_str(server), __entry->error)
include/trace/events/sunrpc.h
232
int error
include/trace/events/sunrpc.h
235
TP_ARGS(clnt, error),
include/trace/events/sunrpc.h
239
__field(int, error)
include/trace/events/sunrpc.h
244
__entry->error = error;
include/trace/events/sunrpc.h
2453
int error
include/trace/events/sunrpc.h
2456
TP_ARGS(program, version, family, protocol, port, error),
include/trace/events/sunrpc.h
2463
__field(int, error)
include/trace/events/sunrpc.h
2472
__entry->error = error;
include/trace/events/sunrpc.h
248
__entry->client_id, __entry->error)
include/trace/events/sunrpc.h
2480
__entry->error
include/trace/events/sunrpc.h
2492
int error \
include/trace/events/sunrpc.h
2495
port, error))
include/trace/events/sunrpc.h
2504
int error
include/trace/events/sunrpc.h
2507
TP_ARGS(program, version, error),
include/trace/events/sunrpc.h
2511
__field(int, error)
include/trace/events/sunrpc.h
2517
__entry->error = error;
include/trace/events/sunrpc.h
2522
__get_str(program), __entry->version, __entry->error
include/trace/events/sunrpc.h
898
int error
include/trace/events/sunrpc.h
901
TP_ARGS(xprt, socket, error),
include/trace/events/sunrpc.h
904
__field(int, error)
include/trace/events/sunrpc.h
925
__entry->error = error;
include/trace/events/sunrpc.h
931
__entry->error,
include/trace/events/sunrpc.h
946
int error \
include/trace/events/sunrpc.h
948
TP_ARGS(xprt, socket, error))
include/uapi/drm/vmwgfx_drm.h
379
__s32 error;
include/uapi/linux/blktrace_api.h
131
__u16 error; /* completion error */
include/uapi/linux/blktrace_api.h
146
__u16 error; /* completion error */
include/uapi/linux/dcbnl.h
192
__u8 error;
include/uapi/linux/dcbnl.h
209
__u8 error;
include/uapi/linux/dcbnl.h
266
__u8 error;
include/uapi/linux/dm-log-userspace.h
423
__s32 error; /* Used to report back processing errors */
include/uapi/linux/fanotify.h
197
__s32 error;
include/uapi/linux/fuse.h
1048
int32_t error;
include/uapi/linux/hyperv.h
107
int error;
include/uapi/linux/hyperv.h
393
int error;
include/uapi/linux/kvm.h
424
__u8 error; /* user -> kernel */
include/uapi/linux/nbd.h
102
__be32 error; /* 0 = ok, else error */
include/uapi/linux/netlink.h
120
int error;
include/uapi/linux/nilfs2_api.h
88
NILFS_SUINFO_FNS(ERROR, error)
include/uapi/linux/nilfs2_ondisk.h
649
NILFS_SEGMENT_USAGE_FNS(ERROR, error)
include/uapi/linux/psp-sev.h
286
__u32 error; /* Out */
include/uapi/linux/seccomp.h
114
__s32 error;
include/xen/interface/io/xs_wire.h
99
uint32_t error;
init/do_mounts.c
431
int error;
init/do_mounts.c
444
error = early_lookup_bdev(root_device_name, &dev);
init/do_mounts.c
445
if (error) {
init/do_mounts.c
446
if (error == -EINVAL && root_wait) {
init/do_mounts_rd.c
311
result = deco(NULL, 0, compr_fill, compr_flush, NULL, NULL, error);
init/initramfs.c
287
error("incorrect cpio method used: use -H newc option");
init/initramfs.c
289
error("no cpio magic");
init/initramfs.c
329
error("broken padding");
init/initramfs.c
370
error("malformed archive");
init/initramfs.c
418
error("write error");
init/initramfs.c
423
error("bad data checksum");
init/initramfs.c
429
error("write error");
init/initramfs.c
441
error("malformed archive");
init/initramfs.c
493
error("junk within compressed archive");
init/initramfs.c
552
&my_inptr, error);
init/initramfs.c
554
error("decompressor failed");
init/initramfs.c
558
error("decompressor failed");
init/initramfs.c
560
error("invalid magic at start of compressed archive");
init/initramfs.c
562
error("junk at the end of compressed archive");
io_uring/poll.c
38
int error;
io_uring/poll.c
482
pt->error = -EINVAL;
io_uring/poll.c
488
pt->error = -ENOMEM;
io_uring/poll.c
560
ipt->error = 0;
io_uring/poll.c
588
if (unlikely(ipt->error || !ipt->nr_entries)) {
io_uring/poll.c
598
return ipt->error ?: -EINVAL;
ipc/mqueue.c
1645
int error;
ipc/mqueue.c
1655
error = -ENOMEM;
ipc/mqueue.c
1659
error = register_filesystem(&mqueue_fs_type);
ipc/mqueue.c
1660
if (error)
ipc/mqueue.c
1665
error = mq_init_ns(&init_ipc_ns);
ipc/mqueue.c
1666
if (error)
ipc/mqueue.c
1677
return error;
ipc/mqueue.c
571
int error;
ipc/mqueue.c
577
error = -EACCES;
ipc/mqueue.c
583
error = -ENOSPC;
ipc/mqueue.c
591
error = PTR_ERR(inode);
ipc/mqueue.c
607
return error;
ipc/sem.c
1911
int nsems, error;
ipc/sem.c
1913
error = get_undo_list(&ulp);
ipc/sem.c
1914
if (error)
ipc/sem.c
1915
return ERR_PTR(error);
ipc/sem.c
1987
int error = -EINVAL;
ipc/sem.c
2039
error = PTR_ERR(un);
ipc/sem.c
2050
error = PTR_ERR(sma);
ipc/sem.c
2054
error = -EFBIG;
ipc/sem.c
2060
error = -EACCES;
ipc/sem.c
2066
error = security_sem_semop(&sma->sem_perm, sops, nsops, alter);
ipc/sem.c
2067
if (error) {
ipc/sem.c
2072
error = -EIDRM;
ipc/sem.c
2101
error = perform_atomic_semop(sma, &queue);
ipc/sem.c
2102
if (error == 0) { /* non-blocking successful path */
ipc/sem.c
2120
if (error < 0) /* non-blocking error path */
ipc/sem.c
2181
error = READ_ONCE(queue.status);
ipc/sem.c
2182
if (error != -EINTR) {
ipc/sem.c
2197
error = READ_ONCE(queue.status);
ipc/sem.c
2203
if (error != -EINTR)
ipc/sem.c
2210
error = -EAGAIN;
ipc/sem.c
2211
} while (error == -EINTR && !signal_pending(current)); /* spurious */
ipc/sem.c
2219
return error;
ipc/sem.c
2309
int error;
ipc/sem.c
2312
error = get_undo_list(&undo_list);
ipc/sem.c
2313
if (error)
ipc/sem.c
2314
return error;
ipc/sem.c
786
static inline void wake_up_sem_queue_prepare(struct sem_queue *q, int error,
ipc/sem.c
794
smp_store_release(&q->status, error);
ipc/sem.c
867
int error = perform_atomic_semop(sma, q);
ipc/sem.c
869
if (error > 0)
ipc/sem.c
874
wake_up_sem_queue_prepare(q, error, wake_q);
ipc/sem.c
875
if (error == 0)
ipc/sem.c
962
int error, restart;
ipc/sem.c
974
error = perform_atomic_semop(sma, q);
ipc/sem.c
977
if (error > 0)
ipc/sem.c
982
if (error) {
ipc/sem.c
990
wake_up_sem_queue_prepare(q, error, wake_q);
ipc/shm.c
707
int error;
ipc/shm.c
734
error = security_shm_alloc(&shp->shm_perm);
ipc/shm.c
735
if (error) {
ipc/shm.c
737
return error;
ipc/shm.c
747
error = -EINVAL;
ipc/shm.c
766
error = PTR_ERR(file);
ipc/shm.c
780
error = ipc_addid(&shm_ids(ns), &shp->shm_perm, ns->shm_ctlmni);
ipc/shm.c
781
if (error < 0)
ipc/shm.c
797
error = shp->shm_perm.id;
ipc/shm.c
801
return error;
ipc/shm.c
808
return error;
ipc/shm.c
811
return error;
kernel/acct.c
295
int error = 0;
kernel/acct.c
302
error = acct_on(name);
kernel/acct.c
309
return error;
kernel/audit.c
2289
int error;
kernel/audit.c
2297
error = security_lsmprop_to_secctx(prop, &ctx, LSM_ID_UNDEF);
kernel/audit.c
2298
if (error < 0) {
kernel/audit.c
2299
if (error != -EINVAL)
kernel/audit.c
2309
error = audit_buffer_aux_new(ab, AUDIT_MAC_TASK_CONTEXTS);
kernel/audit.c
2310
if (error)
kernel/audit.c
2314
error = security_lsmprop_to_secctx(prop, &ctx,
kernel/audit.c
2316
if (error < 0) {
kernel/audit.c
2322
if (error == -EOPNOTSUPP)
kernel/audit.c
2324
if (error != -EINVAL)
kernel/audit.c
2338
return error;
kernel/audit.c
2355
int error = 0;
kernel/audit.c
2360
error = security_lsmprop_to_secctx(prop, &ctx, LSM_ID_UNDEF);
kernel/audit.c
2361
if (error < 0) {
kernel/audit.c
2362
if (error != -EINVAL)
kernel/audit.c
2364
return error;
kernel/audit.c
2371
error = audit_buffer_aux_new(ab, AUDIT_MAC_OBJ_CONTEXTS);
kernel/audit.c
2372
if (error)
kernel/audit.c
2383
error = rc;
kernel/audit.c
2393
return error;
kernel/audit.c
2397
return error;
kernel/audit.c
599
static void kauditd_rehold_skb(struct sk_buff *skb, __always_unused int error)
kernel/audit.c
618
static void kauditd_hold_skb(struct sk_buff *skb, int error)
kernel/audit.c
632
if (error == -EAGAIN) {
kernel/audit.c
665
static void kauditd_retry_skb(struct sk_buff *skb, __always_unused int error)
kernel/audit.c
788
void (*err_hook)(struct sk_buff *skb, int error))
kernel/audit_watch.c
436
goto error;
kernel/audit_watch.c
444
error:
kernel/bpf/btf.c
7080
goto error;
kernel/bpf/btf.c
7086
goto error;
kernel/bpf/btf.c
7090
goto error;
kernel/bpf/btf.c
7094
goto error;
kernel/bpf/btf.c
7104
goto error;
kernel/bpf/btf.c
7109
error:
kernel/bpf/helpers.c
1854
goto error;
kernel/bpf/helpers.c
1859
goto error;
kernel/bpf/helpers.c
1866
error:
kernel/bpf/inode.c
200
goto error;
kernel/bpf/inode.c
204
goto error;
kernel/bpf/inode.c
208
error:
kernel/bpf/verifier.c
10185
goto error;
kernel/bpf/verifier.c
10193
goto error;
kernel/bpf/verifier.c
10202
goto error;
kernel/bpf/verifier.c
10206
goto error;
kernel/bpf/verifier.c
10210
goto error;
kernel/bpf/verifier.c
10215
goto error;
kernel/bpf/verifier.c
10220
goto error;
kernel/bpf/verifier.c
10226
goto error;
kernel/bpf/verifier.c
10233
goto error;
kernel/bpf/verifier.c
10238
goto error;
kernel/bpf/verifier.c
10243
goto error;
kernel/bpf/verifier.c
10252
goto error;
kernel/bpf/verifier.c
10261
goto error;
kernel/bpf/verifier.c
10265
goto error;
kernel/bpf/verifier.c
10272
goto error;
kernel/bpf/verifier.c
10278
goto error;
kernel/bpf/verifier.c
10284
goto error;
kernel/bpf/verifier.c
10290
goto error;
kernel/bpf/verifier.c
10296
goto error;
kernel/bpf/verifier.c
10301
goto error;
kernel/bpf/verifier.c
10304
goto error;
kernel/bpf/verifier.c
10313
goto error;
kernel/bpf/verifier.c
10325
goto error;
kernel/bpf/verifier.c
10334
goto error;
kernel/bpf/verifier.c
10338
goto error;
kernel/bpf/verifier.c
10342
goto error;
kernel/bpf/verifier.c
10347
goto error;
kernel/bpf/verifier.c
10354
goto error;
kernel/bpf/verifier.c
10360
goto error;
kernel/bpf/verifier.c
10366
goto error;
kernel/bpf/verifier.c
10371
goto error;
kernel/bpf/verifier.c
10377
goto error;
kernel/bpf/verifier.c
10382
goto error;
kernel/bpf/verifier.c
10389
goto error;
kernel/bpf/verifier.c
10395
goto error;
kernel/bpf/verifier.c
10400
goto error;
kernel/bpf/verifier.c
10405
goto error;
kernel/bpf/verifier.c
10410
goto error;
kernel/bpf/verifier.c
10415
goto error;
kernel/bpf/verifier.c
10422
error:
kernel/capability.c
254
goto error;
kernel/capability.c
260
error:
kernel/cpu.c
1526
int error;
kernel/cpu.c
1542
error = cpu_down_maps_locked(cpu, CPUHP_OFFLINE);
kernel/cpu.c
1543
if (error) {
kernel/cpu.c
1545
cpu, error);
kernel/cpu.c
1888
int cpu, error = 0;
kernel/cpu.c
1913
error = -EBUSY;
kernel/cpu.c
1918
error = _cpu_down(cpu, 1, CPUHP_OFFLINE);
kernel/cpu.c
1920
if (!error)
kernel/cpu.c
1923
pr_err("Error taking CPU%d down: %d\n", cpu, error);
kernel/cpu.c
1928
if (!error)
kernel/cpu.c
1941
return error;
kernel/cpu.c
1954
int cpu, error;
kernel/cpu.c
1968
error = _cpu_up(cpu, 1, CPUHP_ONLINE);
kernel/cpu.c
1970
if (!error) {
kernel/cpu.c
1974
pr_warn("Error taking CPU%d up: %d\n", cpu, error);
kernel/cred.c
156
goto error;
kernel/cred.c
160
error:
kernel/cred.c
213
goto error;
kernel/cred.c
216
goto error;
kernel/cred.c
220
error:
kernel/cred.c
594
goto error;
kernel/cred.c
597
goto error;
kernel/cred.c
602
error:
kernel/debug/debug_core.c
295
int error;
kernel/debug/debug_core.c
303
error = kgdb_arch_set_breakpoint(&kgdb_break[i]);
kernel/debug/debug_core.c
304
if (error) {
kernel/debug/debug_core.c
305
ret = error;
kernel/debug/debug_core.c
361
int error;
kernel/debug/debug_core.c
368
error = kgdb_arch_remove_breakpoint(&kgdb_break[i]);
kernel/debug/debug_core.c
369
if (error) {
kernel/debug/debug_core.c
372
ret = error;
kernel/debug/debug_core.c
422
int error;
kernel/debug/debug_core.c
429
error = kgdb_arch_remove_breakpoint(&kgdb_break[i]);
kernel/debug/debug_core.c
430
if (error)
kernel/debug/debug_core.c
576
int error;
kernel/debug/debug_core.c
739
error = kdb_stub(ks);
kernel/debug/debug_core.c
740
if (error == -1)
kernel/debug/debug_core.c
767
error = gdb_serial_stub(ks);
kernel/debug/debug_core.c
770
if (error == DBG_PASS_EVENT) {
kernel/debug/debug_core.c
772
} else if (error == DBG_SWITCH_CPU_EVENT) {
kernel/debug/debug_core.c
777
kgdb_info[cpu].ret_state = error;
kernel/debug/gdbstub.c
1066
error = kgdb_arch_handle_exception(ks->ex_vector,
kernel/debug/gdbstub.c
1076
if (error >= 0 || remcom_in_buffer[0] == 'D' ||
kernel/debug/gdbstub.c
1078
error = 0;
kernel/debug/gdbstub.c
1090
error = 1;
kernel/debug/gdbstub.c
1091
return error;
kernel/debug/gdbstub.c
1096
int error;
kernel/debug/gdbstub.c
1100
error = kgdb_arch_handle_exception(ks->ex_vector,
kernel/debug/gdbstub.c
1106
return error;
kernel/debug/gdbstub.c
390
static void error_packet(char *pkt, int error)
kernel/debug/gdbstub.c
392
error = -error;
kernel/debug/gdbstub.c
394
pkt[1] = hex_asc[(error / 10)];
kernel/debug/gdbstub.c
395
pkt[2] = hex_asc[(error % 10)];
kernel/debug/gdbstub.c
653
int error;
kernel/debug/gdbstub.c
657
error = dbg_remove_all_break();
kernel/debug/gdbstub.c
658
if (error < 0) {
kernel/debug/gdbstub.c
659
error_packet(remcom_out_buffer, error);
kernel/debug/gdbstub.c
872
int error = 0;
kernel/debug/gdbstub.c
907
error = dbg_set_sw_break(addr);
kernel/debug/gdbstub.c
909
error = dbg_remove_sw_break(addr);
kernel/debug/gdbstub.c
911
error = arch_kgdb_ops.set_hw_breakpoint(addr,
kernel/debug/gdbstub.c
914
error = arch_kgdb_ops.remove_hw_breakpoint(addr,
kernel/debug/gdbstub.c
917
if (error == 0)
kernel/debug/gdbstub.c
920
error_packet(remcom_out_buffer, error);
kernel/debug/gdbstub.c
958
int error = 0;
kernel/debug/gdbstub.c
983
error = 0;
kernel/debug/kdb/kdb_debugger.c
135
error = kdb_main_loop(KDB_REASON_ENTER, reason,
kernel/debug/kdb/kdb_debugger.c
144
if (error == KDB_CMD_KGDB) {
kernel/debug/kdb/kdb_debugger.c
162
if (error == KDB_CMD_CPU) {
kernel/debug/kdb/kdb_debugger.c
56
int error = 0;
kernel/debug/kdb/kdb_main.c
1144
static int kdb_local(kdb_reason_t reason, int error, struct pt_regs *regs,
kernel/debug/kdb/kdb_main.c
1357
int kdb_main_loop(kdb_reason_t reason, kdb_reason_t reason2, int error,
kernel/debug/kdb/kdb_main.c
1382
result = kdb_local(reason2, error, regs, db_result);
kernel/dma/swiotlb.c
592
goto error;
kernel/dma/swiotlb.c
595
error:
kernel/dma/swiotlb.c
700
goto error;
kernel/dma/swiotlb.c
725
error:
kernel/events/core.c
2870
goto error;
kernel/events/core.c
2899
error:
kernel/events/core.c
9411
int error;
kernel/events/core.c
9413
error = ns_get_path(&ns_path, task, ns_ops);
kernel/events/core.c
9414
if (!error) {
kernel/fork.c
3257
int error;
kernel/fork.c
3259
error = unshare_fd(CLONE_FILES, ©);
kernel/fork.c
3260
if (error || !copy)
kernel/fork.c
3261
return error;
kernel/groups.c
150
goto error;
kernel/groups.c
154
error:
kernel/irq/irqdomain.c
1809
goto error;
kernel/irq/irqdomain.c
1814
error:
kernel/kexec_core.c
1141
int error = 0;
kernel/kexec_core.c
1146
error = -EINVAL;
kernel/kexec_core.c
1150
error = liveupdate_reboot();
kernel/kexec_core.c
1151
if (error)
kernel/kexec_core.c
1163
error = freeze_processes();
kernel/kexec_core.c
1164
if (error) {
kernel/kexec_core.c
1165
error = -EBUSY;
kernel/kexec_core.c
1169
error = dpm_suspend_start(PMSG_FREEZE);
kernel/kexec_core.c
1170
if (error)
kernel/kexec_core.c
1177
error = dpm_suspend_end(PMSG_FREEZE);
kernel/kexec_core.c
1178
if (error)
kernel/kexec_core.c
1180
error = suspend_disable_secondary_cpus();
kernel/kexec_core.c
1181
if (error)
kernel/kexec_core.c
1184
error = syscore_suspend();
kernel/kexec_core.c
1185
if (error)
kernel/kexec_core.c
1235
return error;
kernel/kexec_core.c
1348
int error;
kernel/kexec_core.c
1357
error = sysfs_create_groups(kexec_kobj, kexec_groups);
kernel/kexec_core.c
1358
if (error)
kernel/kexec_core.c
1362
error = compat_only_sysfs_link_entry_to_kobj(kernel_kobj, kexec_kobj,
kernel/kexec_core.c
1365
if (error)
kernel/kexec_core.c
1366
pr_err("Unable to create %s symlink (%d)", kexec_links[i].name, error);
kernel/kexec_core.c
1373
return error;
kernel/kexec_elf.c
340
goto error;
kernel/kexec_elf.c
343
goto error;
kernel/kexec_elf.c
354
goto error;
kernel/kexec_elf.c
359
error:
kernel/ksysfs.c
218
int error;
kernel/ksysfs.c
222
error = -ENOMEM;
kernel/ksysfs.c
225
error = sysfs_create_group(kernel_kobj, &kernel_attr_group);
kernel/ksysfs.c
226
if (error)
kernel/ksysfs.c
232
error = sysfs_create_bin_file(kernel_kobj, &bin_attr_notes);
kernel/ksysfs.c
233
if (error)
kernel/ksysfs.c
244
return error;
kernel/module/decompress.c
298
int error;
kernel/module/decompress.c
309
error = module_extend_max_pages(info, n_pages);
kernel/module/decompress.c
313
error = data_size;
kernel/module/decompress.c
319
error = -ENOMEM;
kernel/module/decompress.c
328
return error;
kernel/module/decompress.c
358
int error;
kernel/module/decompress.c
360
error = sysfs_create_file(&module_kset->kobj,
kernel/module/decompress.c
362
if (error)
kernel/module/decompress.c
37
int error;
kernel/module/decompress.c
40
error = module_extend_max_pages(info, info->used_pages);
kernel/module/decompress.c
41
if (error)
kernel/module/decompress.c
42
return ERR_PTR(error);
kernel/module/sysfs.c
291
int error = 0;
kernel/module/sysfs.c
305
error = sysfs_create_file(&mod->mkobj.kobj,
kernel/module/sysfs.c
307
if (error)
kernel/module/sysfs.c
320
return error;
kernel/power/hibernate.c
1006
return error;
kernel/power/hibernate.c
1043
int error;
kernel/power/hibernate.c
1051
error = swsusp_check(true);
kernel/power/hibernate.c
1052
if (error)
kernel/power/hibernate.c
1066
error = -EOPNOTSUPP;
kernel/power/hibernate.c
1073
error = -EBUSY;
kernel/power/hibernate.c
1080
error = pm_notifier_call_chain_robust(PM_RESTORE_PREPARE, PM_POST_RESTORE);
kernel/power/hibernate.c
1081
if (error)
kernel/power/hibernate.c
1087
error = freeze_processes();
kernel/power/hibernate.c
1088
if (error) {
kernel/power/hibernate.c
1093
error = freeze_kernel_threads();
kernel/power/hibernate.c
1094
if (error) {
kernel/power/hibernate.c
1100
error = load_image_and_restore();
kernel/power/hibernate.c
1107
pr_info("resume failed (%d)\n", error);
kernel/power/hibernate.c
1113
return error;
kernel/power/hibernate.c
1143
int error = find_resume_device();
kernel/power/hibernate.c
1145
if (error)
kernel/power/hibernate.c
1146
return error;
kernel/power/hibernate.c
1234
int error = 0;
kernel/power/hibernate.c
1267
error = -EINVAL;
kernel/power/hibernate.c
1270
error = -EINVAL;
kernel/power/hibernate.c
1272
if (!error)
kernel/power/hibernate.c
1276
return error ? error : n;
kernel/power/hibernate.c
1295
int error;
kernel/power/hibernate.c
1306
error = lookup_bdev(name, &dev);
kernel/power/hibernate.c
1307
if (error) {
kernel/power/hibernate.c
1311
error = 0;
kernel/power/hibernate.c
1317
error = -EINVAL;
kernel/power/hibernate.c
1321
error = -EINVAL;
kernel/power/hibernate.c
1325
if (error)
kernel/power/hibernate.c
1326
return error;
kernel/power/hibernate.c
326
int error;
kernel/power/hibernate.c
328
error = dpm_suspend_end(PMSG_FREEZE);
kernel/power/hibernate.c
329
if (error) {
kernel/power/hibernate.c
331
return error;
kernel/power/hibernate.c
334
error = platform_pre_snapshot(platform_mode);
kernel/power/hibernate.c
335
if (error || hibernation_test(TEST_PLATFORM))
kernel/power/hibernate.c
338
error = pm_sleep_disable_secondary_cpus();
kernel/power/hibernate.c
339
if (error || hibernation_test(TEST_CPUS))
kernel/power/hibernate.c
346
error = syscore_suspend();
kernel/power/hibernate.c
347
if (error) {
kernel/power/hibernate.c
358
error = swsusp_arch_suspend();
kernel/power/hibernate.c
362
if (error)
kernel/power/hibernate.c
363
pr_err("Error %d creating image\n", error);
kernel/power/hibernate.c
384
error = arch_resume_nosmt();
kernel/power/hibernate.c
390
(error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE);
kernel/power/hibernate.c
392
return error;
kernel/power/hibernate.c
421
int error;
kernel/power/hibernate.c
424
error = platform_begin(platform_mode);
kernel/power/hibernate.c
425
if (error)
kernel/power/hibernate.c
429
error = hibernate_preallocate_memory();
kernel/power/hibernate.c
430
if (error)
kernel/power/hibernate.c
433
error = freeze_kernel_threads();
kernel/power/hibernate.c
434
if (error)
kernel/power/hibernate.c
447
error = dpm_prepare(PMSG_FREEZE);
kernel/power/hibernate.c
448
if (error) {
kernel/power/hibernate.c
465
error = dpm_suspend(PMSG_FREEZE);
kernel/power/hibernate.c
467
if (error || hibernation_test(TEST_DEVICES))
kernel/power/hibernate.c
470
error = create_image(platform_mode);
kernel/power/hibernate.c
479
if (error || !in_suspend)
kernel/power/hibernate.c
482
msg = in_suspend ? (error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE;
kernel/power/hibernate.c
485
if (error || !in_suspend)
kernel/power/hibernate.c
493
return error;
kernel/power/hibernate.c
518
int error;
kernel/power/hibernate.c
520
error = dpm_suspend_end(PMSG_QUIESCE);
kernel/power/hibernate.c
521
if (error) {
kernel/power/hibernate.c
523
return error;
kernel/power/hibernate.c
526
error = platform_pre_restore(platform_mode);
kernel/power/hibernate.c
527
if (error)
kernel/power/hibernate.c
532
error = hibernate_resume_nonboot_cpu_disable();
kernel/power/hibernate.c
533
if (error)
kernel/power/hibernate.c
539
error = syscore_suspend();
kernel/power/hibernate.c
540
if (error)
kernel/power/hibernate.c
544
error = restore_highmem();
kernel/power/hibernate.c
545
if (!error) {
kernel/power/hibernate.c
546
error = swsusp_arch_resume();
kernel/power/hibernate.c
552
BUG_ON(!error);
kernel/power/hibernate.c
582
return error;
kernel/power/hibernate.c
595
int error;
kernel/power/hibernate.c
599
error = dpm_suspend_start(PMSG_QUIESCE);
kernel/power/hibernate.c
600
if (!error) {
kernel/power/hibernate.c
601
error = resume_target_kernel(platform_mode);
kernel/power/hibernate.c
607
BUG_ON(!error);
kernel/power/hibernate.c
612
return error;
kernel/power/hibernate.c
620
int error;
kernel/power/hibernate.c
630
error = hibernation_ops->begin(PMSG_HIBERNATE);
kernel/power/hibernate.c
631
if (error)
kernel/power/hibernate.c
636
error = dpm_suspend_start(PMSG_HIBERNATE);
kernel/power/hibernate.c
637
if (error) {
kernel/power/hibernate.c
643
error = dpm_suspend_end(PMSG_HIBERNATE);
kernel/power/hibernate.c
644
if (error)
kernel/power/hibernate.c
647
error = hibernation_ops->prepare();
kernel/power/hibernate.c
648
if (error)
kernel/power/hibernate.c
651
error = pm_sleep_disable_secondary_cpus();
kernel/power/hibernate.c
652
if (error)
kernel/power/hibernate.c
658
error = syscore_suspend();
kernel/power/hibernate.c
659
if (error)
kernel/power/hibernate.c
663
error = -EAGAIN;
kernel/power/hibernate.c
693
return error;
kernel/power/hibernate.c
705
int error;
kernel/power/hibernate.c
709
error = suspend_devices_and_enter(mem_sleep_current);
kernel/power/hibernate.c
710
if (!error)
kernel/power/hibernate.c
723
error = hibernation_platform_enter();
kernel/power/hibernate.c
724
if (error == -EAGAIN || error == -EBUSY) {
kernel/power/hibernate.c
749
error = swsusp_unmark();
kernel/power/hibernate.c
750
if (error)
kernel/power/hibernate.c
756
int error;
kernel/power/hibernate.c
762
error = create_basic_memory_bitmaps();
kernel/power/hibernate.c
763
if (error) {
kernel/power/hibernate.c
768
error = swsusp_read(&flags);
kernel/power/hibernate.c
770
if (!error)
kernel/power/hibernate.c
771
error = hibernation_restore(flags & SF_PLATFORM_MODE);
kernel/power/hibernate.c
779
return error;
kernel/power/hibernate.c
792
int error;
kernel/power/hibernate.c
813
error = -EBUSY;
kernel/power/hibernate.c
819
error = pm_notifier_call_chain_robust(PM_HIBERNATION_PREPARE, PM_POST_HIBERNATION);
kernel/power/hibernate.c
820
if (error)
kernel/power/hibernate.c
823
error = pm_sleep_fs_sync();
kernel/power/hibernate.c
824
if (error)
kernel/power/hibernate.c
829
error = freeze_processes();
kernel/power/hibernate.c
830
if (error)
kernel/power/hibernate.c
835
error = create_basic_memory_bitmaps();
kernel/power/hibernate.c
836
if (error)
kernel/power/hibernate.c
839
error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM);
kernel/power/hibernate.c
840
if (error || freezer_test_done)
kernel/power/hibernate.c
867
error = swsusp_write(flags);
kernel/power/hibernate.c
869
if (!error) {
kernel/power/hibernate.c
887
error = swsusp_check(false);
kernel/power/hibernate.c
888
if (!error)
kernel/power/hibernate.c
889
error = load_image_and_restore();
kernel/power/hibernate.c
906
return error;
kernel/power/hibernate.c
919
int error;
kernel/power/hibernate.c
924
error = -EBUSY;
kernel/power/hibernate.c
930
error = pm_notifier_call_chain_robust(PM_HIBERNATION_PREPARE, PM_POST_HIBERNATION);
kernel/power/hibernate.c
931
if (error)
kernel/power/hibernate.c
936
error = freeze_processes();
kernel/power/hibernate.c
937
if (error)
kernel/power/hibernate.c
944
error = platform_begin(true);
kernel/power/hibernate.c
945
if (error)
kernel/power/hibernate.c
948
error = freeze_kernel_threads();
kernel/power/hibernate.c
949
if (error)
kernel/power/hibernate.c
952
error = dpm_prepare(PMSG_FREEZE);
kernel/power/hibernate.c
953
if (error)
kernel/power/hibernate.c
958
error = dpm_suspend(PMSG_FREEZE);
kernel/power/hibernate.c
959
if (error)
kernel/power/hibernate.c
962
error = dpm_suspend_end(PMSG_FREEZE);
kernel/power/hibernate.c
963
if (error)
kernel/power/hibernate.c
966
error = platform_pre_snapshot(true);
kernel/power/hibernate.c
967
if (error)
kernel/power/hibernate.c
970
error = func(data);
kernel/power/main.c
1145
int error = pm_start_workqueues();
kernel/power/main.c
1146
if (error)
kernel/power/main.c
1147
return error;
kernel/power/main.c
1154
error = sysfs_create_groups(power_kobj, attr_groups);
kernel/power/main.c
1155
if (error)
kernel/power/main.c
1156
return error;
kernel/power/main.c
266
int error;
kernel/power/main.c
268
error = pm_autosleep_lock();
kernel/power/main.c
269
if (error)
kernel/power/main.c
270
return error;
kernel/power/main.c
273
error = -EBUSY;
kernel/power/main.c
281
error = -EINVAL;
kernel/power/main.c
285
return error ? error : n;
kernel/power/main.c
361
int error = -EINVAL;
kernel/power/main.c
375
error = 0;
kernel/power/main.c
381
return error ? error : n;
kernel/power/main.c
803
int error;
kernel/power/main.c
805
error = pm_autosleep_lock();
kernel/power/main.c
806
if (error)
kernel/power/main.c
807
return error;
kernel/power/main.c
810
error = -EBUSY;
kernel/power/main.c
819
error = pm_suspend(state);
kernel/power/main.c
821
error = hibernate();
kernel/power/main.c
823
error = -EINVAL;
kernel/power/main.c
828
return error ? error : n;
kernel/power/main.c
877
int error;
kernel/power/main.c
879
error = pm_autosleep_lock();
kernel/power/main.c
880
if (error)
kernel/power/main.c
881
return error;
kernel/power/main.c
884
error = -EBUSY;
kernel/power/main.c
888
error = -EINVAL;
kernel/power/main.c
891
error = n;
kernel/power/main.c
898
return error;
kernel/power/main.c
930
int error;
kernel/power/main.c
939
error = pm_autosleep_set_state(state);
kernel/power/main.c
940
return error ? error : n;
kernel/power/main.c
958
int error = pm_wake_lock(buf);
kernel/power/main.c
959
return error ? error : n;
kernel/power/main.c
975
int error = pm_wake_unlock(buf);
kernel/power/main.c
976
return error ? error : n;
kernel/power/power.h
279
int error;
kernel/power/power.h
281
error = freeze_processes();
kernel/power/power.h
286
if (error)
kernel/power/power.h
287
return error;
kernel/power/power.h
289
error = freeze_kernel_threads();
kernel/power/power.h
294
if (error)
kernel/power/power.h
297
return error;
kernel/power/process.c
123
int error;
kernel/power/process.c
125
error = __usermodehelper_disable(UMH_FREEZING);
kernel/power/process.c
126
if (error)
kernel/power/process.c
127
return error;
kernel/power/process.c
137
error = try_to_freeze_tasks(true);
kernel/power/process.c
138
if (!error)
kernel/power/process.c
149
if (!error && !oom_killer_disable(msecs_to_jiffies(freeze_timeout_msecs)))
kernel/power/process.c
150
error = -EBUSY;
kernel/power/process.c
152
if (error)
kernel/power/process.c
154
return error;
kernel/power/process.c
167
int error;
kernel/power/process.c
170
error = try_to_freeze_tasks(false);
kernel/power/process.c
174
if (error)
kernel/power/process.c
176
return error;
kernel/power/snapshot.c
1120
int error;
kernel/power/snapshot.c
1131
error = memory_bm_create(bm1, GFP_KERNEL, PG_ANY);
kernel/power/snapshot.c
1132
if (error)
kernel/power/snapshot.c
1139
error = memory_bm_create(bm2, GFP_KERNEL, PG_ANY);
kernel/power/snapshot.c
1140
if (error)
kernel/power/snapshot.c
1830
int error;
kernel/power/snapshot.c
1835
error = memory_bm_create(&orig_bm, GFP_IMAGE, PG_ANY);
kernel/power/snapshot.c
1836
if (error) {
kernel/power/snapshot.c
1841
error = memory_bm_create(©_bm, GFP_IMAGE, PG_ANY);
kernel/power/snapshot.c
1842
if (error) {
kernel/power/snapshot.c
1847
error = memory_bm_create(&zero_bm, GFP_IMAGE, PG_ANY);
kernel/power/snapshot.c
1848
if (error) {
kernel/power/snapshot.c
2247
int error;
kernel/power/snapshot.c
2249
error = init_header((struct swsusp_info *)buffer);
kernel/power/snapshot.c
2250
if (error)
kernel/power/snapshot.c
2251
return error;
kernel/power/snapshot.c
2338
int error;
kernel/power/snapshot.c
2341
error = check_header(info);
kernel/power/snapshot.c
2342
if (!error) {
kernel/power/snapshot.c
2346
return error;
kernel/power/snapshot.c
2625
int error;
kernel/power/snapshot.c
2634
error = memory_bm_create(new_bm, GFP_ATOMIC, PG_SAFE);
kernel/power/snapshot.c
2635
if (error)
kernel/power/snapshot.c
2642
error = memory_bm_create(&tmp, GFP_ATOMIC, PG_SAFE);
kernel/power/snapshot.c
2643
if (error)
kernel/power/snapshot.c
2650
error = memory_bm_create(zero_bm, GFP_ATOMIC, PG_SAFE);
kernel/power/snapshot.c
2651
if (error)
kernel/power/snapshot.c
2659
error = prepare_highmem_image(bm, &nr_highmem);
kernel/power/snapshot.c
2660
if (error)
kernel/power/snapshot.c
2677
error = -ENOMEM;
kernel/power/snapshot.c
2689
error = -ENOMEM;
kernel/power/snapshot.c
2706
return error;
kernel/power/snapshot.c
2772
int error;
kernel/power/snapshot.c
2789
error = load_header(buffer);
kernel/power/snapshot.c
2790
if (error)
kernel/power/snapshot.c
2791
return error;
kernel/power/snapshot.c
2795
error = memory_bm_create(©_bm, GFP_ATOMIC, PG_ANY);
kernel/power/snapshot.c
2796
if (error)
kernel/power/snapshot.c
2797
return error;
kernel/power/snapshot.c
2799
error = memory_bm_create(&zero_bm, GFP_ATOMIC, PG_ANY);
kernel/power/snapshot.c
2800
if (error)
kernel/power/snapshot.c
2801
return error;
kernel/power/snapshot.c
2807
error = unpack_orig_pfns(buffer, ©_bm, &zero_bm);
kernel/power/snapshot.c
2808
if (error)
kernel/power/snapshot.c
2809
return error;
kernel/power/snapshot.c
2812
error = prepare_image(&orig_bm, ©_bm, &zero_bm);
kernel/power/snapshot.c
2813
if (error)
kernel/power/snapshot.c
2814
return error;
kernel/power/snapshot.c
2826
error = hibernate_restore_protect_page(handle->buffer);
kernel/power/snapshot.c
2827
if (error)
kernel/power/snapshot.c
2828
return error;
kernel/power/snapshot.c
2856
int error;
kernel/power/snapshot.c
2865
error = snapshot_write_next(handle);
kernel/power/snapshot.c
2866
if (error)
kernel/power/snapshot.c
2867
return error > 0 ? -ENODATA : error;
kernel/power/snapshot.c
2870
error = hibernate_restore_protect_page(handle->buffer);
kernel/power/snapshot.c
2876
return error;
kernel/power/snapshot.c
690
int error;
kernel/power/snapshot.c
695
error = create_mem_extents(&mem_extents, gfp_mask);
kernel/power/snapshot.c
696
if (error)
kernel/power/snapshot.c
697
return error;
kernel/power/snapshot.c
705
error = -ENOMEM;
kernel/power/snapshot.c
715
return error;
kernel/power/snapshot.c
819
int error;
kernel/power/snapshot.c
821
error = memory_bm_find_bit(bm, pfn, &addr, &bit);
kernel/power/snapshot.c
822
BUG_ON(error);
kernel/power/snapshot.c
830
int error;
kernel/power/snapshot.c
832
error = memory_bm_find_bit(bm, pfn, &addr, &bit);
kernel/power/snapshot.c
833
if (!error)
kernel/power/snapshot.c
836
return error;
kernel/power/snapshot.c
843
int error;
kernel/power/snapshot.c
845
error = memory_bm_find_bit(bm, pfn, &addr, &bit);
kernel/power/snapshot.c
846
BUG_ON(error);
kernel/power/snapshot.c
867
int error;
kernel/power/snapshot.c
869
error = memory_bm_find_bit(bm, pfn, &addr, &bit);
kernel/power/snapshot.c
870
BUG_ON(error);
kernel/power/suspend.c
374
int error;
kernel/power/suspend.c
381
error = pm_notifier_call_chain_robust(PM_SUSPEND_PREPARE, PM_POST_SUSPEND);
kernel/power/suspend.c
382
if (error)
kernel/power/suspend.c
387
error = suspend_freeze_processes();
kernel/power/suspend.c
389
if (!error)
kernel/power/suspend.c
397
return error;
kernel/power/suspend.c
421
int error;
kernel/power/suspend.c
423
error = platform_suspend_prepare(state);
kernel/power/suspend.c
424
if (error)
kernel/power/suspend.c
427
error = dpm_suspend_late(PMSG_SUSPEND);
kernel/power/suspend.c
428
if (error) {
kernel/power/suspend.c
432
error = platform_suspend_prepare_late(state);
kernel/power/suspend.c
433
if (error)
kernel/power/suspend.c
436
error = dpm_suspend_noirq(PMSG_SUSPEND);
kernel/power/suspend.c
437
if (error) {
kernel/power/suspend.c
441
error = platform_suspend_prepare_noirq(state);
kernel/power/suspend.c
442
if (error)
kernel/power/suspend.c
453
error = pm_sleep_disable_secondary_cpus();
kernel/power/suspend.c
454
if (error || suspend_test(TEST_CPUS))
kernel/power/suspend.c
462
error = syscore_suspend();
kernel/power/suspend.c
463
if (!error) {
kernel/power/suspend.c
468
error = suspend_ops->enter(state);
kernel/power/suspend.c
472
error = -EBUSY;
kernel/power/suspend.c
497
return error;
kernel/power/suspend.c
506
int error;
kernel/power/suspend.c
517
error = platform_suspend_begin(state);
kernel/power/suspend.c
518
if (error)
kernel/power/suspend.c
523
error = dpm_suspend_start(PMSG_SUSPEND);
kernel/power/suspend.c
524
if (error) {
kernel/power/suspend.c
533
error = suspend_enter(state, &wakeup);
kernel/power/suspend.c
534
} while (!error && !wakeup && platform_suspend_again(state));
kernel/power/suspend.c
547
return error;
kernel/power/suspend.c
578
int error;
kernel/power/suspend.c
600
error = pm_sleep_fs_sync();
kernel/power/suspend.c
601
if (error)
kernel/power/suspend.c
609
error = suspend_prepare(state);
kernel/power/suspend.c
610
if (error)
kernel/power/suspend.c
618
error = suspend_devices_and_enter(state);
kernel/power/suspend.c
626
return error;
kernel/power/suspend.c
638
int error;
kernel/power/suspend.c
644
error = enter_state(state);
kernel/power/suspend.c
645
dpm_save_errno(error);
kernel/power/suspend.c
647
return error;
kernel/power/swap.c
1006
int error;
kernel/power/swap.c
1037
error = hib_submit_io_sync(REQ_OP_READ, offset, tmp->map);
kernel/power/swap.c
1038
if (error) {
kernel/power/swap.c
1040
return error;
kernel/power/swap.c
1053
int error;
kernel/power/swap.c
1062
error = hib_submit_io_async(REQ_OP_READ, offset, buf, hb);
kernel/power/swap.c
1064
error = hib_submit_io_sync(REQ_OP_READ, offset, buf);
kernel/power/swap.c
1065
if (error)
kernel/power/swap.c
1066
return error;
kernel/power/swap.c
1078
return error;
kernel/power/swap.c
1529
int error;
kernel/power/swap.c
1535
error = snapshot_write_next(&snapshot);
kernel/power/swap.c
1536
if (error < (int)PAGE_SIZE)
kernel/power/swap.c
1537
return error < 0 ? error : -EFAULT;
kernel/power/swap.c
1539
error = get_swap_reader(&handle, flags_p);
kernel/power/swap.c
1540
if (error)
kernel/power/swap.c
1542
if (!error)
kernel/power/swap.c
1543
error = swap_read_page(&handle, header, NULL);
kernel/power/swap.c
1544
if (!error) {
kernel/power/swap.c
1545
error = (*flags_p & SF_NOCOMPRESS_MODE) ?
kernel/power/swap.c
1551
if (!error)
kernel/power/swap.c
1554
pr_debug("Error %d resuming\n", error);
kernel/power/swap.c
1555
return error;
kernel/power/swap.c
1569
int error;
kernel/power/swap.c
1575
error = hib_submit_io_sync(REQ_OP_READ, swsusp_resume_block,
kernel/power/swap.c
1577
if (error)
kernel/power/swap.c
1584
error = hib_submit_io_sync(REQ_OP_WRITE | REQ_SYNC,
kernel/power/swap.c
1588
error = -EINVAL;
kernel/power/swap.c
1590
if (!error && swsusp_header->flags & SF_HW_SIG &&
kernel/power/swap.c
1594
error = -EINVAL;
kernel/power/swap.c
1598
if (error)
kernel/power/swap.c
1603
error = PTR_ERR(hib_resume_bdev_file);
kernel/power/swap.c
1606
if (error)
kernel/power/swap.c
1607
pr_debug("Image not found (code %d)\n", error);
kernel/power/swap.c
1609
return error;
kernel/power/swap.c
1633
int error;
kernel/power/swap.c
1638
error = hib_submit_io_sync(REQ_OP_WRITE | REQ_SYNC,
kernel/power/swap.c
1643
error = -ENODEV;
kernel/power/swap.c
1651
return error;
kernel/power/swap.c
1689
int error;
kernel/power/swap.c
1691
error = sysfs_create_group(power_kobj, &attr_group);
kernel/power/swap.c
1692
if (error)
kernel/power/swap.c
224
blk_status_t error;
kernel/power/swap.c
232
hb->error = BLK_STS_OK;
kernel/power/swap.c
258
if (bio->bi_status && !hb->error)
kernel/power/swap.c
259
hb->error = bio->bi_status;
kernel/power/swap.c
295
return blk_status_to_errno(hb->error);
kernel/power/swap.c
304
int error;
kernel/power/swap.c
319
error = hib_submit_io_sync(REQ_OP_WRITE | REQ_SYNC,
kernel/power/swap.c
323
error = -ENODEV;
kernel/power/swap.c
325
return error;
kernel/power/swap.c
428
int error;
kernel/power/swap.c
434
error = write_page(buf, offset, hb);
kernel/power/swap.c
435
if (error)
kernel/power/swap.c
436
return error;
kernel/power/swap.c
443
error = write_page(handle->cur, handle->cur_swap, hb);
kernel/power/swap.c
444
if (error)
kernel/power/swap.c
451
error = hib_wait_io(hb);
kernel/power/swap.c
452
if (error)
kernel/power/swap.c
462
return error;
kernel/power/swap.c
474
unsigned int flags, int error)
kernel/power/swap.c
476
if (!error) {
kernel/power/swap.c
478
error = mark_swapfiles(handle, flags);
kernel/power/swap.c
483
if (error)
kernel/power/swap.c
488
return error;
kernel/power/swap.c
949
int error;
kernel/power/swap.c
952
error = get_swap_writer(&handle);
kernel/power/swap.c
953
if (error) {
kernel/power/swap.c
955
return error;
kernel/power/swap.c
960
error = -ENOSPC;
kernel/power/swap.c
965
error = snapshot_read_next(&snapshot);
kernel/power/swap.c
966
if (error < (int)PAGE_SIZE) {
kernel/power/swap.c
967
if (error >= 0)
kernel/power/swap.c
968
error = -EFAULT;
kernel/power/swap.c
973
error = swap_write_page(&handle, header, NULL);
kernel/power/swap.c
974
if (!error) {
kernel/power/swap.c
975
error = (flags & SF_NOCOMPRESS_MODE) ?
kernel/power/swap.c
980
error = swap_writer_finish(&handle, flags, error);
kernel/power/swap.c
981
return error;
kernel/power/user.c
104
return error;
kernel/power/user.c
252
int error = 0;
kernel/power/user.c
281
error = pm_sleep_fs_sync();
kernel/power/user.c
282
if (error)
kernel/power/user.c
285
error = freeze_processes();
kernel/power/user.c
286
if (error)
kernel/power/user.c
289
error = create_basic_memory_bitmaps();
kernel/power/user.c
290
if (error)
kernel/power/user.c
309
error = -EPERM;
kernel/power/user.c
313
error = hibernation_snapshot(data->platform_support);
kernel/power/user.c
314
if (!error) {
kernel/power/user.c
315
error = put_user(in_suspend, (int __user *)arg);
kernel/power/user.c
316
data->ready = !freezer_test_done && !error;
kernel/power/user.c
322
error = snapshot_write_finalize(&data->handle);
kernel/power/user.c
323
if (error)
kernel/power/user.c
327
error = -EPERM;
kernel/power/user.c
330
error = hibernation_restore(data->platform_support);
kernel/power/user.c
354
error = -ENODATA;
kernel/power/user.c
359
error = put_user(size, (loff_t __user *)arg);
kernel/power/user.c
365
error = put_user(size, (loff_t __user *)arg);
kernel/power/user.c
370
error = -ENODEV;
kernel/power/user.c
376
error = put_user(offset, (loff_t __user *)arg);
kernel/power/user.c
378
error = -ENOSPC;
kernel/power/user.c
384
error = -ENODEV;
kernel/power/user.c
392
error = -EPERM;
kernel/power/user.c
399
error = suspend_devices_and_enter(PM_SUSPEND_MEM);
kernel/power/user.c
409
error = hibernation_platform_enter();
kernel/power/user.c
413
error = snapshot_set_swap_area(data, (void __user *)arg);
kernel/power/user.c
417
error = -ENOTTY;
kernel/power/user.c
424
return error;
kernel/power/user.c
51
int error;
kernel/power/user.c
59
error = -EBUSY;
kernel/power/user.c
65
error = -ENOSYS;
kernel/power/user.c
77
error = pm_notifier_call_chain_robust(PM_HIBERNATION_PREPARE, PM_POST_HIBERNATION);
kernel/power/user.c
87
error = pm_notifier_call_chain_robust(PM_RESTORE_PREPARE, PM_POST_RESTORE);
kernel/power/user.c
88
if (!error) {
kernel/power/user.c
89
error = create_basic_memory_bitmaps();
kernel/power/user.c
90
data->free_bitmaps = !error;
kernel/power/user.c
93
if (error)
kernel/printk/printk.c
1745
int error;
kernel/printk/printk.c
1747
error = check_syslog_permissions(type, source);
kernel/printk/printk.c
1748
if (error)
kernel/printk/printk.c
1749
return error;
kernel/printk/printk.c
1763
error = syslog_print(buf, len);
kernel/printk/printk.c
1777
error = syslog_print_all(buf, len, clear);
kernel/printk/printk.c
1825
error = prb_next_seq(prb) - syslog_seq;
kernel/printk/printk.c
1833
error += get_record_print_text_size(&info, line_count,
kernel/printk/printk.c
1837
error -= syslog_partial;
kernel/printk/printk.c
1843
error = log_buf_len;
kernel/printk/printk.c
1846
error = -EINVAL;
kernel/printk/printk.c
1850
return error;
kernel/ptrace.c
680
int error = -ESRCH;
kernel/ptrace.c
683
error = -EINVAL;
kernel/ptrace.c
686
error = 0;
kernel/ptrace.c
690
return error;
kernel/ptrace.c
696
int error = -ESRCH;
kernel/ptrace.c
699
error = -EINVAL;
kernel/ptrace.c
702
error = 0;
kernel/ptrace.c
706
return error;
kernel/rseq.c
311
t->rseq.event.error = 0;
kernel/rseq.c
349
current->rseq.event.error = 0;
kernel/sched/topology.c
2567
goto error;
kernel/sched/topology.c
2571
goto error;
kernel/sched/topology.c
2592
goto error;
kernel/sched/topology.c
2600
goto error;
kernel/sched/topology.c
2603
goto error;
kernel/sched/topology.c
2700
error:
kernel/seccomp.c
1145
n->error = 0;
kernel/seccomp.c
1223
err = n.error;
kernel/seccomp.c
1475
knotif->error = -ENOSYS;
kernel/seccomp.c
1639
(resp.error || resp.val))
kernel/seccomp.c
1660
knotif->error = resp.error;
kernel/seccomp.c
86
int error;
kernel/signal.c
1452
int error = -ESRCH;
kernel/signal.c
1459
error = group_send_sig_info(sig, info, p, type);
kernel/signal.c
1461
if (likely(!p || error != -ESRCH))
kernel/signal.c
1462
return error;
kernel/signal.c
1478
int error;
kernel/signal.c
1480
error = kill_pid_info(sig, info, find_vpid(pid));
kernel/signal.c
1482
return error;
kernel/signal.c
3320
int error;
kernel/signal.c
3333
error = sigprocmask(how, &new_set, NULL);
kernel/signal.c
3334
if (error)
kernel/signal.c
3335
return error;
kernel/signal.c
3358
int error;
kernel/signal.c
3363
error = sigprocmask(how, &new_set, NULL);
kernel/signal.c
3364
if (error)
kernel/signal.c
3365
return error;
kernel/signal.c
4120
int error = -ESRCH;
kernel/signal.c
4125
error = check_kill_permission(sig, info, p);
kernel/signal.c
4130
if (!error && sig) {
kernel/signal.c
4131
error = do_send_sig_info(sig, info, p, PIDTYPE_PID);
kernel/signal.c
4137
if (unlikely(error == -ESRCH))
kernel/signal.c
4138
error = 0;
kernel/signal.c
4143
return error;
kernel/signal.c
803
int error;
kernel/signal.c
811
error = audit_signal_info(sig, t); /* Let audit system see the signal */
kernel/signal.c
812
if (error)
kernel/signal.c
813
return error;
kernel/sys.c
2001
int error = -EINVAL, i;
kernel/sys.c
2035
error = __prctl_check_order(start_code, <, end_code);
kernel/sys.c
2036
error |= __prctl_check_order(start_data,<=, end_data);
kernel/sys.c
2037
error |= __prctl_check_order(start_brk, <=, brk);
kernel/sys.c
2038
error |= __prctl_check_order(arg_start, <=, arg_end);
kernel/sys.c
2039
error |= __prctl_check_order(env_start, <=, env_end);
kernel/sys.c
2040
if (error)
kernel/sys.c
2044
error = -EINVAL;
kernel/sys.c
2054
error = 0;
kernel/sys.c
2056
return error;
kernel/sys.c
2065
int error;
kernel/sys.c
2080
error = validate_prctl_map_addr(&prctl_map);
kernel/sys.c
2081
if (error)
kernel/sys.c
2082
return error;
kernel/sys.c
2115
error = prctl_set_mm_exe_file(mm, prctl_map.exe_fd);
kernel/sys.c
2116
if (error)
kernel/sys.c
2117
return error;
kernel/sys.c
2208
int error;
kernel/sys.c
2232
error = -EINVAL;
kernel/sys.c
2293
error = validate_prctl_map_addr(&prctl_map);
kernel/sys.c
2294
if (error)
kernel/sys.c
2311
error = -EFAULT;
kernel/sys.c
2328
error = 0;
kernel/sys.c
2332
return error;
kernel/sys.c
235
static int set_one_prio(struct task_struct *p, int niceval, int error)
kernel/sys.c
240
error = -EPERM;
kernel/sys.c
2411
int error;
kernel/sys.c
2415
error = set_anon_vma_name(addr, size, (const char __user *)arg);
kernel/sys.c
2418
error = -EINVAL;
kernel/sys.c
2421
return error;
kernel/sys.c
244
error = -EACCES;
kernel/sys.c
249
error = no_nice;
kernel/sys.c
252
if (error == -ESRCH)
kernel/sys.c
253
error = 0;
kernel/sys.c
2538
long error;
kernel/sys.c
2540
error = security_task_prctl(option, arg2, arg3, arg4, arg5);
kernel/sys.c
2541
if (error != -ENOSYS)
kernel/sys.c
2542
return error;
kernel/sys.c
2544
error = 0;
kernel/sys.c
2548
error = -EINVAL;
kernel/sys.c
256
return error;
kernel/sys.c
2564
error = put_user(me->pdeath_signal, (int __user *)arg2);
kernel/sys.c
2567
error = get_dumpable(me->mm);
kernel/sys.c
2571
error = -EINVAL;
kernel/sys.c
2578
error = SET_UNALIGN_CTL(me, arg2);
kernel/sys.c
2581
error = GET_UNALIGN_CTL(me, arg2);
kernel/sys.c
2584
error = SET_FPEMU_CTL(me, arg2);
kernel/sys.c
2587
error = GET_FPEMU_CTL(me, arg2);
kernel/sys.c
2590
error = SET_FPEXC_CTL(me, arg2);
kernel/sys.c
2593
error = GET_FPEXC_CTL(me, arg2);
kernel/sys.c
2596
error = PR_TIMING_STATISTICAL;
kernel/sys.c
2600
error = -EINVAL;
kernel/sys.c
2616
error = GET_ENDIAN(me, arg2);
kernel/sys.c
2619
error = SET_ENDIAN(me, arg2);
kernel/sys.c
2622
error = prctl_get_seccomp();
kernel/sys.c
2625
error = prctl_set_seccomp(arg2, (char __user *)arg3);
kernel/sys.c
2628
error = GET_TSC_CTL(arg2);
kernel/sys.c
2631
error = SET_TSC_CTL(arg2);
kernel/sys.c
2634
error = perf_event_task_disable();
kernel/sys.c
2637
error = perf_event_task_enable();
kernel/sys.c
264
int error = -EINVAL;
kernel/sys.c
2641
error = ULONG_MAX;
kernel/sys.c
2643
error = current->timer_slack_ns;
kernel/sys.c
2683
error = (current->flags & PF_MCE_EARLY) ?
kernel/sys.c
2686
error = PR_MCE_KILL_DEFAULT;
kernel/sys.c
2689
error = prctl_set_mm(arg2, arg3, arg4, arg5);
kernel/sys.c
2692
error = prctl_get_tid_address(me, (int __user * __user *)arg2);
kernel/sys.c
2702
error = put_user(me->signal->is_child_subreaper,
kernel/sys.c
2716
error = prctl_get_thp_disable(arg2, arg3, arg4, arg5);
kernel/sys.c
2719
error = prctl_set_thp_disable(arg2, arg3, arg4, arg5);
kernel/sys.c
272
error = -ESRCH;
kernel/sys.c
2726
error = SET_FP_MODE(me, arg2);
kernel/sys.c
2729
error = GET_FP_MODE(me);
kernel/sys.c
2732
error = SVE_SET_VL(arg2);
kernel/sys.c
2735
error = SVE_GET_VL();
kernel/sys.c
2738
error = SME_SET_VL(arg2);
kernel/sys.c
2741
error = SME_GET_VL();
kernel/sys.c
2746
error = arch_prctl_spec_ctrl_get(me, arg2);
kernel/sys.c
2751
error = arch_prctl_spec_ctrl_set(me, arg2, arg3);
kernel/sys.c
2756
error = PAC_RESET_KEYS(me, arg2);
kernel/sys.c
2761
error = PAC_SET_ENABLED_KEYS(me, arg2, arg3);
kernel/sys.c
2766
error = PAC_GET_ENABLED_KEYS(me);
kernel/sys.c
2771
error = SET_TAGGED_ADDR_CTRL(arg2);
kernel/sys.c
2776
error = GET_TAGGED_ADDR_CTRL();
kernel/sys.c
2799
error = (current->flags & PR_IO_FLUSHER) == PR_IO_FLUSHER;
kernel/sys.c
2802
error = set_syscall_user_dispatch(arg2, arg3, arg4,
kernel/sys.c
2807
error = sched_core_share_pid(arg2, arg3, arg4, arg5);
kernel/sys.c
2811
error = prctl_set_mdwe(arg2, arg3, arg4, arg5);
kernel/sys.c
2814
error = prctl_get_mdwe(arg2, arg3, arg4, arg5);
kernel/sys.c
2819
error = PPC_GET_DEXCR_ASPECT(me, arg2);
kernel/sys.c
2824
error = PPC_SET_DEXCR_ASPECT(me, arg2, arg3);
kernel/sys.c
2827
error = prctl_set_vma(arg2, arg3, arg4, arg5);
kernel/sys.c
2832
error = prctl_get_auxv((void __user *)arg2, arg3);
kernel/sys.c
2842
error = ksm_enable_merge_any(me->mm);
kernel/sys.c
2844
error = ksm_disable_merge_any(me->mm);
kernel/sys.c
2851
error = !!mm_flags_test(MMF_VM_MERGE_ANY, me->mm);
kernel/sys.c
2855
error = RISCV_V_SET_CONTROL(arg2);
kernel/sys.c
2858
error = RISCV_V_GET_CONTROL();
kernel/sys.c
286
error = set_one_prio(p, niceval, error);
kernel/sys.c
2861
error = RISCV_SET_ICACHE_FLUSH_CTX(arg2, arg3);
kernel/sys.c
2866
error = arch_get_shadow_stack_status(me, (unsigned long __user *) arg2);
kernel/sys.c
2871
error = arch_set_shadow_stack_status(me, arg2);
kernel/sys.c
2876
error = arch_lock_shadow_stack_status(me, arg2);
kernel/sys.c
2881
error = posixtimer_create_prctl(arg2);
kernel/sys.c
2884
error = futex_hash_prctl(arg2, arg3, arg4);
kernel/sys.c
2889
error = rseq_slice_extension_prctl(arg2, arg3);
kernel/sys.c
2894
error = arch_get_indir_br_lp_status(me, (unsigned long __user *)arg2);
kernel/sys.c
2899
error = arch_set_indir_br_lp_status(me, arg2);
kernel/sys.c
2904
error = arch_lock_indir_br_lp_status(me, arg2);
kernel/sys.c
2908
error = -EINVAL;
kernel/sys.c
2911
return error;
kernel/sys.c
295
error = set_one_prio(p, niceval, error);
kernel/sys.c
311
error = set_one_prio(p, niceval, error);
kernel/sys.c
320
return error;
kernel/sys.c
441
goto error;
kernel/sys.c
450
goto error;
kernel/sys.c
460
goto error;
kernel/sys.c
464
error:
kernel/sys.c
502
goto error;
kernel/sys.c
506
goto error;
kernel/sys.c
510
error:
kernel/sys.c
597
goto error;
kernel/sys.c
606
goto error;
kernel/sys.c
612
goto error;
kernel/sys.c
621
goto error;
kernel/sys.c
625
goto error;
kernel/sys.c
630
error:
kernel/sys.c
674
goto error;
kernel/sys.c
677
goto error;
kernel/sys.c
684
goto error;
kernel/sys.c
688
goto error;
kernel/sys.c
693
error:
kernel/sys.c
758
goto error;
kernel/sys.c
769
goto error;
kernel/sys.c
773
goto error;
kernel/sys.c
778
error:
kernel/sys.c
863
goto error;
kernel/sys.c
867
error:
kernel/time/alarmtimer.c
861
int error;
kernel/time/alarmtimer.c
878
error = alarmtimer_rtc_interface_setup();
kernel/time/alarmtimer.c
879
if (error)
kernel/time/alarmtimer.c
880
return error;
kernel/time/alarmtimer.c
882
error = platform_driver_register(&alarmtimer_driver);
kernel/time/alarmtimer.c
883
if (error)
kernel/time/alarmtimer.c
889
return error;
kernel/time/clocksource.c
1483
int error = subsys_system_register(&clocksource_subsys, NULL);
kernel/time/clocksource.c
1485
if (!error)
kernel/time/clocksource.c
1486
error = device_register(&device_clocksource);
kernel/time/clocksource.c
1488
return error;
kernel/time/itimer.c
116
int error = do_getitimer(which, &get_buffer);
kernel/time/itimer.c
118
if (!error && put_itimerval(value, &get_buffer))
kernel/time/itimer.c
119
error = -EFAULT;
kernel/time/itimer.c
120
return error;
kernel/time/itimer.c
145
int error = do_getitimer(which, &get_buffer);
kernel/time/itimer.c
147
if (!error && put_old_itimerval32(value, &get_buffer))
kernel/time/itimer.c
148
error = -EFAULT;
kernel/time/itimer.c
149
return error;
kernel/time/itimer.c
355
int error;
kernel/time/itimer.c
358
error = get_itimerval(&set_buffer, value);
kernel/time/itimer.c
359
if (error)
kernel/time/itimer.c
360
return error;
kernel/time/itimer.c
368
error = do_setitimer(which, &set_buffer, ovalue ? &get_buffer : NULL);
kernel/time/itimer.c
369
if (error || !ovalue)
kernel/time/itimer.c
370
return error;
kernel/time/itimer.c
402
int error;
kernel/time/itimer.c
405
error = get_old_itimerval32(&set_buffer, value);
kernel/time/itimer.c
406
if (error)
kernel/time/itimer.c
407
return error;
kernel/time/itimer.c
415
error = do_setitimer(which, &set_buffer, ovalue ? &get_buffer : NULL);
kernel/time/itimer.c
416
if (error || !ovalue)
kernel/time/itimer.c
417
return error;
kernel/time/ntp.c
1000
long correction = -error;
kernel/time/ntp.c
998
static void hardpps_update_phase(struct ntp_data *ntpdata, long error)
kernel/time/posix-cpu-timers.c
1484
int error;
kernel/time/posix-cpu-timers.c
1493
error = posix_cpu_timer_create(&timer);
kernel/time/posix-cpu-timers.c
1497
if (!error) {
kernel/time/posix-cpu-timers.c
1505
error = posix_cpu_timer_set(&timer, flags, &it, NULL);
kernel/time/posix-cpu-timers.c
1506
if (error) {
kernel/time/posix-cpu-timers.c
1508
return error;
kernel/time/posix-cpu-timers.c
1535
error = posix_cpu_timer_set(&timer, 0, &zero_it, &it);
kernel/time/posix-cpu-timers.c
1536
if (!error) {
kernel/time/posix-cpu-timers.c
1540
while (error == TIMER_RETRY) {
kernel/time/posix-cpu-timers.c
1542
error = posix_cpu_timer_del(&timer);
kernel/time/posix-cpu-timers.c
1555
error = -ERESTART_RESTARTBLOCK;
kernel/time/posix-cpu-timers.c
1562
error = nanosleep_copyout(restart, &it.it_value);
kernel/time/posix-cpu-timers.c
1565
return error;
kernel/time/posix-cpu-timers.c
1574
int error;
kernel/time/posix-cpu-timers.c
1584
error = do_cpu_nanosleep(which_clock, flags, rqtp);
kernel/time/posix-cpu-timers.c
1586
if (error == -ERESTART_RESTARTBLOCK) {
kernel/time/posix-cpu-timers.c
1594
return error;
kernel/time/posix-cpu-timers.c
162
int error = validate_clock_permissions(which_clock);
kernel/time/posix-cpu-timers.c
164
if (!error) {
kernel/time/posix-cpu-timers.c
176
return error;
kernel/time/posix-cpu-timers.c
182
int error = validate_clock_permissions(clock);
kernel/time/posix-cpu-timers.c
188
return error ? : -EPERM;
kernel/time/posix-timers.c
1132
int error;
kernel/time/posix-timers.c
1137
error = kc->clock_get_timespec(which_clock, &kernel_tp);
kernel/time/posix-timers.c
1139
if (!error && put_timespec64(&kernel_tp, tp))
kernel/time/posix-timers.c
1140
error = -EFAULT;
kernel/time/posix-timers.c
1142
return error;
kernel/time/posix-timers.c
1252
int error;
kernel/time/posix-timers.c
1257
error = kc->clock_getres(which_clock, &rtn_tp);
kernel/time/posix-timers.c
1259
if (!error && tp && put_timespec64(&rtn_tp, tp))
kernel/time/posix-timers.c
1260
error = -EFAULT;
kernel/time/posix-timers.c
1262
return error;
kernel/time/posix-timers.c
464
int error, new_timer_id;
kernel/time/posix-timers.c
504
error = -EINVAL;
kernel/time/posix-timers.c
526
error = -EFAULT;
kernel/time/posix-timers.c
536
error = kc->timer_create(new_timer);
kernel/time/posix-timers.c
537
if (error)
kernel/time/posix-timers.c
563
return error;
kernel/time/posix-timers.c
952
int error = 0;
kernel/time/posix-timers.c
961
error = do_timer_settime(timer_id, flags, &new_spec, rtn);
kernel/time/posix-timers.c
962
if (!error && old_setting) {
kernel/time/posix-timers.c
964
error = -EFAULT;
kernel/time/posix-timers.c
966
return error;
kernel/time/posix-timers.c
976
int error = 0;
kernel/time/posix-timers.c
983
error = do_timer_settime(timer_id, flags, &new_spec, rtn);
kernel/time/posix-timers.c
984
if (!error && old) {
kernel/time/posix-timers.c
986
error = -EFAULT;
kernel/time/posix-timers.c
988
return error;
kernel/time/time.c
172
int error = 0;
kernel/time/time.c
177
error = security_settime64(tv, tz);
kernel/time/time.c
178
if (error)
kernel/time/time.c
179
return error;
kernel/trace/blktrace.c
1021
static void blk_add_trace_rq(struct request *rq, blk_status_t error,
kernel/trace/blktrace.c
1039
what, blk_status_to_errno(error), 0, NULL, cgid);
kernel/trace/blktrace.c
1068
blk_status_t error, unsigned int nr_bytes)
kernel/trace/blktrace.c
107
t2->error = error;
kernel/trace/blktrace.c
1070
blk_add_trace_rq(rq, error, nr_bytes, BLK_TA_COMPLETE,
kernel/trace/blktrace.c
1102
u64 what, int error)
kernel/trace/blktrace.c
1114
bio->bi_opf, what, error, 0, NULL,
kernel/trace/blktrace.c
118
u64 what, int error, u64 cgid,
kernel/trace/blktrace.c
132
record_blktrace_event(t, pid, cpu, sector, bytes, what, bt->dev, error,
kernel/trace/blktrace.c
138
int bytes, u64 what, int error, u64 cgid,
kernel/trace/blktrace.c
1481
return te_blk_io_trace(ent)->error;
kernel/trace/blktrace.c
152
record_blktrace_event2(t, pid, cpu, sector, bytes, what, bt->dev, error,
kernel/trace/blktrace.c
158
u64 what, int error, u64 cgid,
kernel/trace/blktrace.c
163
bytes, what, error, cgid, cgid_len,
kernel/trace/blktrace.c
166
what, error, cgid, cgid_len, pdu_data,
kernel/trace/blktrace.c
311
const blk_opf_t opf, u64 what, int error,
kernel/trace/blktrace.c
425
what, bt->dev, error, cgid, cgid_len,
kernel/trace/blktrace.c
444
what, bt->dev, error, cgid, cgid_len,
kernel/trace/blktrace.c
465
what, error, cgid, cgid_len, pdu_data, pdu_len);
kernel/trace/blktrace.c
68
dev_t dev, int error, u64 cgid,
kernel/trace/blktrace.c
85
t->error = error;
kernel/trace/blktrace.c
96
dev_t dev, int error, u64 cgid,
kernel/trace/bpf_trace.c
2336
goto error;
kernel/trace/bpf_trace.c
2340
goto error;
kernel/trace/bpf_trace.c
2345
goto error;
kernel/trace/bpf_trace.c
2351
goto error;
kernel/trace/bpf_trace.c
2360
error:
kernel/trace/bpf_trace.c
2788
goto error;
kernel/trace/bpf_trace.c
2792
goto error;
kernel/trace/bpf_trace.c
2799
goto error;
kernel/trace/bpf_trace.c
2809
goto error;
kernel/trace/bpf_trace.c
2820
goto error;
kernel/trace/bpf_trace.c
2825
goto error;
kernel/trace/bpf_trace.c
2831
goto error;
kernel/trace/bpf_trace.c
2839
goto error;
kernel/trace/bpf_trace.c
2882
error:
kernel/trace/fgraph.c
1397
goto error;
kernel/trace/fgraph.c
1415
error:
kernel/trace/ring_buffer.c
6901
goto error;
kernel/trace/ring_buffer.c
6923
goto error;
kernel/trace/ring_buffer.c
6990
error:
kernel/trace/trace_eprobe.c
536
goto error;
kernel/trace/trace_eprobe.c
555
goto error;
kernel/trace/trace_eprobe.c
564
error:
kernel/trace/trace_events_hist.c
2368
goto error;
kernel/trace/trace_events_hist.c
2372
goto error;
kernel/trace/trace_events_hist.c
2376
goto error;
kernel/trace/trace_events_hist.c
2380
goto error;
kernel/trace/trace_events_hist.c
2383
error:
kernel/trace/trace_events_user.c
381
goto error;
kernel/trace/trace_events_user.c
386
goto error;
kernel/trace/trace_events_user.c
392
error:
kernel/trace/trace_events_user.c
753
goto error;
kernel/trace/trace_events_user.c
758
error:
kernel/trace/trace_events_user.c
853
goto error;
kernel/trace/trace_events_user.c
860
error:
kernel/trace/trace_probe.c
2085
goto error;
kernel/trace/trace_probe.c
2091
goto error;
kernel/trace/trace_probe.c
2101
error:
kernel/trace/trace_uprobe.c
1662
goto error;
kernel/trace/trace_uprobe.c
1670
goto error;
kernel/trace/trace_uprobe.c
1674
error:
kernel/trace/trace_uprobe.c
348
goto error;
kernel/trace/trace_uprobe.c
353
goto error;
kernel/trace/trace_uprobe.c
362
error:
kernel/watch_queue.c
263
goto error;
kernel/watch_queue.c
269
goto error;
kernel/watch_queue.c
283
goto error;
kernel/watch_queue.c
307
error:
lib/asn1_decoder.c
125
goto error;
lib/asn1_decoder.c
128
goto error;
lib/asn1_decoder.c
131
goto error;
lib/asn1_decoder.c
134
goto error;
lib/asn1_decoder.c
137
error:
lib/asn1_decoder.c
334
goto error;
lib/asn1_decoder.c
478
goto error;
lib/asn1_decoder.c
481
goto error;
lib/asn1_decoder.c
484
goto error;
lib/asn1_decoder.c
487
goto error;
lib/asn1_decoder.c
490
goto error;
lib/asn1_decoder.c
493
goto error;
lib/asn1_decoder.c
496
goto error;
lib/asn1_decoder.c
499
goto error;
lib/asn1_decoder.c
502
goto error;
lib/asn1_decoder.c
505
goto error;
lib/asn1_decoder.c
508
goto error;
lib/asn1_decoder.c
511
goto error;
lib/asn1_decoder.c
514
error:
lib/decompress_bunzip2.c
685
void(*error)(char *x))
lib/decompress_bunzip2.c
695
error("Could not allocate output buffer");
lib/decompress_bunzip2.c
703
error("Could not allocate input buffer");
lib/decompress_bunzip2.c
725
error("Data integrity error when decompressing.");
lib/decompress_bunzip2.c
729
error("Compressed file ends unexpectedly");
lib/decompress_bunzip2.c
753
void (*error)(char *x))
lib/decompress_bunzip2.c
755
return bunzip2(buf, len - 4, fill, flush, outbuf, pos, error);
lib/decompress_inflate.c
105
error("Not a gzip file");
lib/decompress_inflate.c
123
error("header error");
lib/decompress_inflate.c
150
error("read error");
lib/decompress_inflate.c
163
error("write error");
lib/decompress_inflate.c
175
error("uncompression error");
lib/decompress_inflate.c
205
void (*error)(char *x))
lib/decompress_inflate.c
207
return __gunzip(buf, len, fill, flush, out_buf, 0, pos, error);
lib/decompress_inflate.c
215
void (*error)(char *x))
lib/decompress_inflate.c
217
return __gunzip(buf, len, fill, flush, out_buf, out_len, pos, error);
lib/decompress_inflate.c
47
void(*error)(char *x)) {
lib/decompress_inflate.c
61
error("Out of memory while allocating output buffer");
lib/decompress_inflate.c
72
error("Out of memory while allocating input buffer");
lib/decompress_inflate.c
78
error("Out of memory while allocating z_stream");
lib/decompress_inflate.c
90
error("Out of memory while allocating workspace");
lib/decompress_unlz4.c
112
error("data corrupted");
lib/decompress_unlz4.c
144
error("chunk length is longer than allocated");
lib/decompress_unlz4.c
149
error("data corrupted");
lib/decompress_unlz4.c
169
error("Decoding failed");
lib/decompress_unlz4.c
187
error("data corrupted");
lib/decompress_unlz4.c
212
void (*error)(char *x)
lib/decompress_unlz4.c
215
return unlz4(buf, in_len - 4, fill, flush, output, posp, error);
lib/decompress_unlz4.c
35
void (*error) (char *x))
lib/decompress_unlz4.c
53
error("NULL output pointer and no flush function provided");
lib/decompress_unlz4.c
58
error("Could not allocate output buffer");
lib/decompress_unlz4.c
64
error("Both input pointer and fill function provided,");
lib/decompress_unlz4.c
69
error("NULL input pointer and missing fill function");
lib/decompress_unlz4.c
74
error("Could not allocate input buffer");
lib/decompress_unlz4.c
86
error("data corrupted");
lib/decompress_unlz4.c
98
error("invalid header");
lib/decompress_unlzma.c
544
void(*error)(char *x)
lib/decompress_unlzma.c
560
rc.error = error;
lib/decompress_unlzma.c
567
error("Could not allocate input buffer");
lib/decompress_unlzma.c
589
error("bad header");
lib/decompress_unlzma.c
640
error("LZMA data is corrupt");
lib/decompress_unlzma.c
645
error("LZMA data is corrupt");
lib/decompress_unlzma.c
677
void (*error)(char *x))
lib/decompress_unlzma.c
679
return unlzma(buf, in_len - 4, fill, flush, output, posp, error);
lib/decompress_unlzma.c
78
void (*error)(char *);
lib/decompress_unlzma.c
97
rc->error("unexpected EOF");
lib/decompress_unlzo.c
101
void (*error) (char *x))
lib/decompress_unlzo.c
113
error("NULL output pointer and no flush function provided");
lib/decompress_unlzo.c
118
error("Could not allocate output buffer");
lib/decompress_unlzo.c
124
error("Both input pointer and fill function provided, don't know what to do");
lib/decompress_unlzo.c
129
error("NULL input pointer and missing fill function");
lib/decompress_unlzo.c
134
error("Could not allocate input buffer");
lib/decompress_unlzo.c
155
error("invalid header");
lib/decompress_unlzo.c
178
error("file corrupted");
lib/decompress_unlzo.c
193
error("dest len longer than block size");
lib/decompress_unlzo.c
204
error("file corrupted");
lib/decompress_unlzo.c
212
error("file corrupted");
lib/decompress_unlzo.c
223
error("file corrupted");
lib/decompress_unlzo.c
238
error("Compressed data violation");
lib/decompress_unlzo.c
282
void (*error)(char *x))
lib/decompress_unlzo.c
284
return unlzo(buf, len, fill, flush, out_buf, pos, error);
lib/decompress_unxz.c
262
void (*error)(char *x))
lib/decompress_unxz.c
364
error("XZ decompressor ran out of memory");
lib/decompress_unxz.c
368
error("Input is not in the XZ format (wrong magic bytes)");
lib/decompress_unxz.c
372
error("Input was encoded with settings that are not "
lib/decompress_unxz.c
378
error("XZ-compressed data is corrupt");
lib/decompress_unxz.c
382
error("Bug in the XZ decompressor");
lib/decompress_unxz.c
396
error("XZ decompressor ran out of memory");
lib/decompress_unxz.c
410
void (*error)(char *x))
lib/decompress_unxz.c
412
return unxz(in, in_size, fill, flush, out, in_used, error);
lib/decompress_unzstd.c
103
error("ZSTD decompressor ran out of memory");
lib/decompress_unzstd.c
106
error("Input is not in the ZSTD format (wrong magic bytes)");
lib/decompress_unzstd.c
111
error("ZSTD-compressed data is corrupt");
lib/decompress_unzstd.c
114
error("ZSTD-compressed data is probably corrupt");
lib/decompress_unzstd.c
127
void (*error)(char *x))
lib/decompress_unzstd.c
136
error("Out of memory while allocating zstd_dctx");
lib/decompress_unzstd.c
145
err = handle_zstd_error(ret, error);
lib/decompress_unzstd.c
151
err = handle_zstd_error(ret, error);
lib/decompress_unzstd.c
170
void (*error)(char *x))
lib/decompress_unzstd.c
197
in_pos, error);
lib/decompress_unzstd.c
207
error("Out of memory while allocating input buffer");
lib/decompress_unzstd.c
218
error("ZSTD-compressed data is truncated");
lib/decompress_unzstd.c
230
error("Out of memory while allocating output buffer");
lib/decompress_unzstd.c
250
err = handle_zstd_error(ret, error);
lib/decompress_unzstd.c
254
error("ZSTD-compressed data has an incomplete frame header");
lib/decompress_unzstd.c
259
error("ZSTD-compressed data has too large a window size");
lib/decompress_unzstd.c
272
error("Out of memory while allocating ZSTD_DStream");
lib/decompress_unzstd.c
295
error("ZSTD-compressed data is truncated");
lib/decompress_unzstd.c
304
err = handle_zstd_error(ret, error);
lib/decompress_unzstd.c
310
error("Failed to flush()");
lib/decompress_unzstd.c
338
void (*error)(char *x))
lib/decompress_unzstd.c
340
return __unzstd(buf, len, fill, flush, out_buf, 0, pos, error);
lib/decompress_unzstd.c
348
void (*error)(char *x))
lib/decompress_unzstd.c
350
return __unzstd(buf, len, fill, flush, out_buf, out_len, pos, error);
lib/decompress_unzstd.c
90
static int INIT handle_zstd_error(size_t ret, void (*error)(char *x))
lib/inflate.c
1209
error("bad gzip magic numbers");
lib/inflate.c
1215
error("internal error, invalid method");
lib/inflate.c
1221
error("Input is encrypted");
lib/inflate.c
1225
error("Multi part input");
lib/inflate.c
1229
error("Input has invalid flags");
lib/inflate.c
1261
error("invalid compressed format (err=1)");
lib/inflate.c
1264
error("invalid compressed format (err=2)");
lib/inflate.c
1267
error("out of memory");
lib/inflate.c
1270
error("out of input data");
lib/inflate.c
1273
error("invalid compressed format (other)");
lib/inflate.c
1294
error("crc error");
lib/inflate.c
1298
error("length error");
lib/inflate.c
1304
error("out of input data");
lib/inflate.c
250
error("Malloc error");
lib/inflate.c
260
error("Out of memory");
lib/inflate.c
982
error("incomplete literal tree");
lib/inflate.c
994
error("incomplete distance tree");
lib/kobject.c
1006
int error;
lib/kobject.c
1011
error = kset_register(kset);
lib/kobject.c
1012
if (error) {
lib/kobject.c
1027
int error;
lib/kobject.c
1031
error = -EINVAL;
lib/kobject.c
1035
error = -EBUSY;
lib/kobject.c
1039
error = 0;
lib/kobject.c
1044
return error;
lib/kobject.c
212
int error = 0;
lib/kobject.c
240
error = create_dir(kobj);
lib/kobject.c
241
if (error) {
lib/kobject.c
247
if (error == -EEXIST)
lib/kobject.c
252
__func__, kobject_name(kobj), error,
lib/kobject.c
257
return error;
lib/kobject.c
339
goto error;
lib/kobject.c
343
goto error;
lib/kobject.c
356
error:
lib/kobject.c
476
int error = 0;
lib/kobject.c
492
error = -ENOMEM;
lib/kobject.c
497
error = -ENOMEM;
lib/kobject.c
506
error = -ENOMEM;
lib/kobject.c
510
error = sysfs_rename_dir_ns(kobj, new_name, kobject_namespace(kobj));
lib/kobject.c
511
if (error)
lib/kobject.c
529
return error;
lib/kobject.c
540
int error;
lib/kobject.c
558
error = -ENOMEM;
lib/kobject.c
563
error = -ENOMEM;
lib/kobject.c
569
error = sysfs_move_dir_ns(kobj, new_parent, kobject_namespace(kobj));
lib/kobject.c
570
if (error)
lib/kobject.c
582
return error;
lib/kobject.c
71
int error;
lib/kobject.c
73
error = sysfs_create_dir_ns(kobj, kobject_namespace(kobj));
lib/kobject.c
74
if (error)
lib/kobject.c
75
return error;
lib/kobject.c
78
error = sysfs_create_groups(kobj, ktype->default_groups);
lib/kobject.c
79
if (error) {
lib/kobject.c
81
return error;
lib/kunit/device.c
46
int error;
lib/kunit/device.c
52
error = bus_register(&kunit_bus_type);
lib/kunit/device.c
53
if (error)
lib/kunit/device.c
55
return error;
lib/maple_tree.c
1112
goto error;
lib/maple_tree.c
1134
goto error;
lib/maple_tree.c
1146
error:
lib/notifier-error-inject.c
37
err = action->error;
lib/notifier-error-inject.c
75
debugfs_create_errno("error", mode, action_dir, &action->error);
lib/notifier-error-inject.h
8
int error;
lib/radix-tree.c
1493
int error = radix_tree_extend(root, gfp, start, shift);
lib/radix-tree.c
1494
if (error < 0)
lib/radix-tree.c
1495
return ERR_PTR(error);
lib/radix-tree.c
1496
shift = error;
lib/radix-tree.c
613
int error = radix_tree_extend(root, gfp, max, shift);
lib/radix-tree.c
614
if (error < 0)
lib/radix-tree.c
615
return error;
lib/radix-tree.c
616
shift = error;
lib/radix-tree.c
708
int error;
lib/radix-tree.c
712
error = __radix_tree_create(root, index, &node, &slot);
lib/radix-tree.c
713
if (error)
lib/radix-tree.c
714
return error;
lib/radix-tree.c
716
error = insert_entries(node, slot, item);
lib/radix-tree.c
717
if (error < 0)
lib/radix-tree.c
718
return error;
lib/random32.c
260
bool error = false;
lib/random32.c
269
error = true;
lib/random32.c
272
if (error)
lib/stmp_device.c
46
goto error;
lib/stmp_device.c
59
goto error;
lib/stmp_device.c
64
goto error;
lib/stmp_device.c
69
goto error;
lib/stmp_device.c
73
error:
lib/test_hmm.c
662
goto error;
lib/test_hmm.c
671
error:
lib/test_vmalloc.c
249
goto error;
lib/test_vmalloc.c
258
error:
lib/zlib_deflate/deftree.c
861
if (buf == (char*)0) error ("block vanished");
lib/zstd/compress/zstd_compress.c
616
bounds.error = ERROR(parameter_unsupported);
lib/zstd/compress/zstd_compress.c
627
if (ZSTD_isError(bounds.error)) return bounds.error;
lib/zstd/compress/zstd_compress_internal.h
613
if (ZSTD_isError(bounds.error)) return 0;
lib/zstd/decompress/zstd_decompress.c
1780
bounds.error = ERROR(parameter_unsupported);
lib/zstd/decompress/zstd_decompress.c
1790
if (ZSTD_isError(bounds.error)) return 0;
mm/debug_vm_pgtable.c
1175
goto error;
mm/debug_vm_pgtable.c
1182
goto error;
mm/debug_vm_pgtable.c
1195
goto error;
mm/debug_vm_pgtable.c
1204
goto error;
mm/debug_vm_pgtable.c
1213
goto error;
mm/debug_vm_pgtable.c
1221
goto error;
mm/debug_vm_pgtable.c
1267
error:
mm/filemap.c
2496
int error;
mm/filemap.c
2501
error = filler(file, folio);
mm/filemap.c
2504
if (error)
mm/filemap.c
2505
return error;
mm/filemap.c
2507
error = folio_wait_locked_killable(folio);
mm/filemap.c
2508
if (error)
mm/filemap.c
2509
return error;
mm/filemap.c
2548
int error;
mm/filemap.c
2558
error = -EAGAIN;
mm/filemap.c
2570
error = __folio_lock_async(folio, iocb->ki_waitq);
mm/filemap.c
2571
if (error)
mm/filemap.c
2575
error = AOP_TRUNCATED_PAGE;
mm/filemap.c
2579
error = 0;
mm/filemap.c
2584
error = -EAGAIN;
mm/filemap.c
2588
error = filemap_read_folio(iocb->ki_filp, mapping->a_ops->read_folio,
mm/filemap.c
2595
if (error == AOP_TRUNCATED_PAGE)
mm/filemap.c
2597
return error;
mm/filemap.c
2604
int error;
mm/filemap.c
2632
error = filemap_add_folio(mapping, folio, index,
mm/filemap.c
2634
if (error == -EEXIST)
mm/filemap.c
2635
error = AOP_TRUNCATED_PAGE;
mm/filemap.c
2636
if (error)
mm/filemap.c
2637
goto error;
mm/filemap.c
2639
error = filemap_read_folio(iocb->ki_filp, mapping->a_ops->read_folio,
mm/filemap.c
2641
if (error)
mm/filemap.c
2642
goto error;
mm/filemap.c
2647
error:
mm/filemap.c
2650
return error;
mm/filemap.c
2776
int i, error = 0;
mm/filemap.c
2805
error = filemap_get_pages(iocb, iter->count, &fbatch, false);
mm/filemap.c
2806
if (error < 0)
mm/filemap.c
2863
error = -EFAULT;
mm/filemap.c
2875
} while (iov_iter_count(iter) && iocb->ki_pos < isize && !error);
mm/filemap.c
2879
return already_read ? already_read : error;
mm/filemap.c
3062
int i, error = 0;
mm/filemap.c
3084
error = filemap_get_pages(&iocb, len, &fbatch, true);
mm/filemap.c
3085
if (error < 0)
mm/filemap.c
3142
return total_spliced ? total_spliced : error;
mm/filemap.c
3514
int error;
mm/filemap.c
3646
error = filemap_read_folio(file, mapping->a_ops->read_folio, folio);
mm/filemap.c
3651
if (!error || error == AOP_TRUNCATED_PAGE)
mm/filemap.c
937
goto error;
mm/filemap.c
941
error:
mm/hmm.c
829
goto error;
mm/hmm.c
835
goto error;
mm/hmm.c
841
goto error;
mm/hmm.c
846
goto error;
mm/hmm.c
853
error:
mm/ksm.c
1225
goto error;
mm/ksm.c
1254
error:
mm/madvise.c
1009
int error;
mm/madvise.c
1044
error = vfs_fallocate(f,
mm/madvise.c
1049
return error;
mm/madvise.c
1351
int error;
mm/madvise.c
1418
error = ksm_madvise(vma, range->start, range->end,
mm/madvise.c
1420
if (error)
mm/madvise.c
1425
error = hugepage_madvise(vma, &new_flags, behavior);
mm/madvise.c
1426
if (error)
mm/madvise.c
1439
error = madvise_update_vma(new_flags, madv_behavior);
mm/madvise.c
1445
if (error == -ENOMEM)
mm/madvise.c
1446
error = -EAGAIN;
mm/madvise.c
1447
return error;
mm/madvise.c
1676
int error;
mm/madvise.c
1685
error = madvise_vma_behavior(madv_behavior);
mm/madvise.c
1687
return error;
mm/madvise.c
1719
error = madvise_vma_behavior(madv_behavior);
mm/madvise.c
1720
if (error)
mm/madvise.c
1721
return error;
mm/madvise.c
1919
int error;
mm/madvise.c
1933
error = madvise_populate(madv_behavior);
mm/madvise.c
1935
error = madvise_walk_vmas(madv_behavior);
mm/madvise.c
1937
return error;
mm/madvise.c
2014
int error;
mm/madvise.c
2022
if (madvise_should_skip(start, len_in, behavior, &error))
mm/madvise.c
2023
return error;
mm/madvise.c
2024
error = madvise_lock(&madv_behavior);
mm/madvise.c
2025
if (error)
mm/madvise.c
2026
return error;
mm/madvise.c
2028
error = madvise_do_behavior(start, len_in, &madv_behavior);
mm/madvise.c
2032
return error;
mm/madvise.c
2063
int error;
mm/madvise.c
2065
if (madvise_should_skip(start, len_in, behavior, &error))
mm/madvise.c
2066
ret = error;
mm/madvise.c
2188
int error;
mm/madvise.c
2213
error = madvise_lock(&madv_behavior);
mm/madvise.c
2214
if (error)
mm/madvise.c
2215
return error;
mm/madvise.c
2216
error = madvise_walk_vmas(&madv_behavior);
mm/madvise.c
2219
return error;
mm/madvise.c
2227
int error;
mm/madvise.c
2249
error = madvise_set_anon_name(mm, addr, size, anon_name);
mm/madvise.c
2252
return error;
mm/memcontrol.c
3752
long error;
mm/memcontrol.c
3758
error = xa_alloc(&mem_cgroup_private_ids, &memcg->id.id, NULL,
mm/memcontrol.c
3760
if (error)
mm/memcontrol.c
3762
error = -ENOMEM;
mm/memcontrol.c
3819
return ERR_PTR(error);
mm/memfd.c
159
int error, scan;
mm/memfd.c
163
error = 0;
mm/memfd.c
188
error = -EBUSY;
mm/memfd.c
207
return error;
mm/memfd.c
234
int error;
mm/memfd.c
277
error = -EINVAL;
mm/memfd.c
282
error = -EPERM;
mm/memfd.c
287
error = mapping_deny_writable(file->f_mapping);
mm/memfd.c
288
if (error)
mm/memfd.c
291
error = memfd_wait_for_pins(file->f_mapping);
mm/memfd.c
292
if (error) {
mm/memfd.c
305
error = 0;
mm/memfd.c
309
return error;
mm/memfd.c
321
long error;
mm/memfd.c
325
error = memfd_add_seals(file, arg);
mm/memfd.c
328
error = memfd_get_seals(file);
mm/memfd.c
331
error = -EINVAL;
mm/memfd.c
335
return error;
mm/memfd.c
432
int error;
mm/memfd.c
444
error = -EFAULT;
mm/memfd.c
447
error = -EINVAL;
mm/memfd.c
455
return ERR_PTR(error);
mm/memfd.c
511
int error;
mm/memfd.c
513
error = sanitize_flags(&flags);
mm/memfd.c
514
if (error < 0)
mm/memfd.c
515
return error;
mm/memory.c
3015
int error = remap_pfn_range_internal(vma, addr, pfn, size, prot);
mm/memory.c
3017
if (!error)
mm/memory.c
3026
return error;
mm/memory_hotplug.c
1556
goto error;
mm/memory_hotplug.c
1560
goto error;
mm/memory_hotplug.c
1566
goto error;
mm/memory_hotplug.c
1592
error:
mm/mempool.c
26
int error;
mm/mempool.c
28
error = PTR_ERR_OR_ZERO(fault_create_debugfs_attr("fail_mempool_alloc",
mm/mempool.c
30
if (error)
mm/mempool.c
31
return error;
mm/memremap.c
150
int error, is_ram;
mm/memremap.c
180
error = xa_err(xa_store_range(&pgmap_array, PHYS_PFN(range->start),
mm/memremap.c
182
if (error)
mm/memremap.c
183
return error;
mm/memremap.c
188
error = pfnmap_track(PHYS_PFN(range->start), range_len(range),
mm/memremap.c
190
if (error)
mm/memremap.c
194
error = -EINVAL;
mm/memremap.c
212
error = add_pages(nid, PHYS_PFN(range->start),
mm/memremap.c
215
error = kasan_add_zero_shadow(__va(range->start), range_len(range));
mm/memremap.c
216
if (error) {
mm/memremap.c
221
error = arch_add_memory(nid, range->start, range_len(range),
mm/memremap.c
225
if (!error) {
mm/memremap.c
235
if (error)
mm/memremap.c
257
return error;
mm/memremap.c
274
int error, i;
mm/memremap.c
325
error = percpu_ref_init(&pgmap->ref, dev_pagemap_percpu_release, 0,
mm/memremap.c
327
if (error)
mm/memremap.c
328
return ERR_PTR(error);
mm/memremap.c
336
error = 0;
mm/memremap.c
338
error = pagemap_range(pgmap, ¶ms, i, nid);
mm/memremap.c
339
if (error)
mm/memremap.c
347
return ERR_PTR(error);
mm/memremap.c
376
int error;
mm/memremap.c
383
error = devm_add_action_or_reset(dev, devm_memremap_pages_release,
mm/memremap.c
385
if (error)
mm/memremap.c
386
return ERR_PTR(error);
mm/mlock.c
539
int error;
mm/mlock.c
551
error = mlock_fixup(&vmi, vma, &prev, nstart, tmp, newflags);
mm/mlock.c
552
if (error)
mm/mlock.c
553
return error;
mm/mlock.c
616
int error = -ENOMEM;
mm/mlock.c
647
error = apply_vma_lock_flags(start, len, flags);
mm/mlock.c
650
if (error)
mm/mlock.c
651
return error;
mm/mlock.c
653
error = __mm_populate(start, len, 0);
mm/mlock.c
654
if (error)
mm/mlock.c
655
return __mlock_posix_error_return(error);
mm/mlock.c
728
int error;
mm/mlock.c
734
error = mlock_fixup(&vmi, vma, &prev, vma->vm_start, vma->vm_end,
mm/mlock.c
737
if (error)
mm/mmap.c
819
unsigned long error = arch_mmap_check(addr, len, flags);
mm/mmap.c
820
if (error)
mm/mmap.c
821
return error;
mm/mmap.c
862
error = security_mmap_addr(addr);
mm/mmap.c
863
return error ? error : addr;
mm/mprotect.c
704
int error;
mm/mprotect.c
724
error = walk_page_range(current->mm, start, end,
mm/mprotect.c
726
if (error)
mm/mprotect.c
727
return error;
mm/mprotect.c
758
error = PTR_ERR(vma);
mm/mprotect.c
795
return error;
mm/mprotect.c
806
int error;
mm/mprotect.c
839
error = -EINVAL;
mm/mprotect.c
845
error = -ENOMEM;
mm/mprotect.c
853
error = -EINVAL;
mm/mprotect.c
861
error = -EINVAL;
mm/mprotect.c
880
error = -ENOMEM;
mm/mprotect.c
901
error = -EACCES;
mm/mprotect.c
906
error = -EACCES;
mm/mprotect.c
912
error = -EINVAL;
mm/mprotect.c
916
error = security_file_mprotect(vma, reqprot, prot);
mm/mprotect.c
917
if (error)
mm/mprotect.c
925
error = vma->vm_ops->mprotect(vma, nstart, tmp, newflags);
mm/mprotect.c
926
if (error)
mm/mprotect.c
930
error = mprotect_fixup(&vmi, &tlb, vma, &prev, nstart, tmp, newflags);
mm/mprotect.c
931
if (error)
mm/mprotect.c
940
if (!error && tmp < end)
mm/mprotect.c
941
error = -ENOMEM;
mm/mprotect.c
945
return error;
mm/msync.c
104
error = 0;
mm/msync.c
113
return error ? : unmapped_error;
mm/msync.c
38
int error = -EINVAL;
mm/msync.c
48
error = -ENOMEM;
mm/msync.c
53
error = 0;
mm/msync.c
69
error = -ENOMEM;
mm/msync.c
84
error = -EBUSY;
mm/msync.c
96
error = vfs_fsync_range(file, fstart, fend, 1);
mm/msync.c
98
if (error || start >= end)
mm/nommu.c
1219
error:
mm/nommu.c
1233
goto error;
mm/page-writeback.c
2476
struct writeback_control *wbc, struct folio *folio, int *error)
mm/page-writeback.c
2480
wbc->saved_err = *error = 0;
mm/page-writeback.c
2511
WARN_ON_ONCE(*error > 0);
mm/page-writeback.c
2525
if (*error && !wbc->saved_err)
mm/page-writeback.c
2526
wbc->saved_err = *error;
mm/page-writeback.c
2528
if (*error || wbc->nr_to_write <= 0)
mm/page-writeback.c
2552
*error = wbc->saved_err;
mm/page_poison.c
43
unsigned char error = a ^ b;
mm/page_poison.c
45
return error && !(error & (error - 1));
mm/shmem.c
1321
int error;
mm/shmem.c
1325
error = setattr_prepare(idmap, dentry, attr);
mm/shmem.c
1326
if (error)
mm/shmem.c
1327
return error;
mm/shmem.c
1347
error = shmem_reacct_size(SHMEM_I(inode)->flags,
mm/shmem.c
1349
if (error)
mm/shmem.c
1350
return error;
mm/shmem.c
1372
error = dquot_initialize(inode);
mm/shmem.c
1373
if (error)
mm/shmem.c
1374
return error;
mm/shmem.c
1380
error = dquot_transfer(idmap, inode, attr);
mm/shmem.c
1381
if (error)
mm/shmem.c
1382
return error;
mm/shmem.c
1387
error = posix_acl_chmod(idmap, dentry, inode->i_mode);
mm/shmem.c
1388
if (!error && update_ctime) {
mm/shmem.c
1394
return error;
mm/shmem.c
1485
int error = 0;
mm/shmem.c
1491
error = shmem_swapin_folio(inode, indices[i], &folio, SGP_CACHE,
mm/shmem.c
1493
if (error == 0) {
mm/shmem.c
1498
if (error == -ENOMEM)
mm/shmem.c
1500
error = 0;
mm/shmem.c
1502
return error ? error : ret;
mm/shmem.c
1542
int error = 0;
mm/shmem.c
1563
error = shmem_unuse_inode(&info->vfs_inode, type);
mm/shmem.c
1569
if (error)
mm/shmem.c
1579
return error;
mm/shmem.c
1681
int error;
mm/shmem.c
1702
error = swap_writeout(folio, plug);
mm/shmem.c
1703
if (error != AOP_WRITEPAGE_ACTIVATE) {
mm/shmem.c
1705
return error;
mm/shmem.c
1713
error = shmem_add_to_page_cache(folio, mapping, index,
mm/shmem.c
1717
if (!error) {
mm/shmem.c
1946
int error, order;
mm/shmem.c
1982
error = mem_cgroup_charge(folio, fault_mm, gfp);
mm/shmem.c
1983
if (error) {
mm/shmem.c
1986
error = -EEXIST;
mm/shmem.c
1998
error = shmem_add_to_page_cache(folio, mapping, index, NULL, gfp);
mm/shmem.c
1999
if (error)
mm/shmem.c
2002
error = shmem_inode_acct_blocks(inode, pages);
mm/shmem.c
2003
if (error) {
mm/shmem.c
2023
error = shmem_inode_acct_blocks(inode, pages);
mm/shmem.c
2024
if (error) {
mm/shmem.c
2037
return ERR_PTR(error);
mm/shmem.c
2136
int error = 0;
mm/shmem.c
2185
return error;
mm/shmem.c
2305
int error, nr_pages, order;
mm/shmem.c
2343
error = PTR_ERR(folio);
mm/shmem.c
2351
error = -ENOMEM;
mm/shmem.c
2373
error = shmem_split_large_entry(inode, index, index_entry, gfp);
mm/shmem.c
2374
if (error)
mm/shmem.c
2404
error = -EEXIST;
mm/shmem.c
2408
error = -EIO;
mm/shmem.c
2420
error = shmem_replace_folio(&folio, gfp, info, index, vma);
mm/shmem.c
2421
if (error)
mm/shmem.c
2425
error = shmem_add_to_page_cache(folio, mapping, index,
mm/shmem.c
2427
if (error)
mm/shmem.c
2444
error = -EEXIST;
mm/shmem.c
2445
if (error == -EIO)
mm/shmem.c
2455
return error;
mm/shmem.c
2474
int error;
mm/shmem.c
2500
error = shmem_swapin_folio(inode, index, &folio,
mm/shmem.c
2502
if (error == -EEXIST)
mm/shmem.c
2506
return error;
mm/shmem.c
2569
error = PTR_ERR(folio);
mm/shmem.c
2570
if (error == -EEXIST)
mm/shmem.c
2625
error = -EINVAL;
mm/shmem.c
2643
return error;
mm/shmem.c
3373
int error = 0;
mm/shmem.c
3388
error = shmem_get_folio(inode, index, 0, &folio, SGP_READ);
mm/shmem.c
3389
if (error) {
mm/shmem.c
3390
if (error == -EINVAL)
mm/shmem.c
3391
error = 0;
mm/shmem.c
3400
error = -EIO;
mm/shmem.c
3476
error = -EFAULT;
mm/shmem.c
3483
return retval ? retval : error;
mm/shmem.c
3562
int error = 0;
mm/shmem.c
3579
error = shmem_get_folio(inode, index, 0, &folio, SGP_READ);
mm/shmem.c
3580
if (error) {
mm/shmem.c
3581
if (error == -EINVAL)
mm/shmem.c
3582
error = 0;
mm/shmem.c
3590
error = -EIO;
mm/shmem.c
3662
return total_spliced ? total_spliced : error;
mm/shmem.c
3693
int error;
mm/shmem.c
3701
error = -EPERM;
mm/shmem.c
3713
error = -EPERM;
mm/shmem.c
3735
error = 0;
mm/shmem.c
3740
error = inode_newsize_ok(inode, offset + len);
mm/shmem.c
3741
if (error)
mm/shmem.c
3745
error = -EPERM;
mm/shmem.c
3753
error = -ENOSPC;
mm/shmem.c
3786
error = -EINTR;
mm/shmem.c
3788
error = -ENOMEM;
mm/shmem.c
3790
error = shmem_get_folio(inode, index, offset + len,
mm/shmem.c
3792
if (error) {
mm/shmem.c
3841
if (!error)
mm/shmem.c
3844
return error;
mm/shmem.c
3879
int error;
mm/shmem.c
3889
error = simple_acl_create(dir, inode);
mm/shmem.c
3890
if (error)
mm/shmem.c
3892
error = security_inode_init_security(inode, dir, &dentry->d_name,
mm/shmem.c
3894
if (error && error != -EOPNOTSUPP)
mm/shmem.c
3897
error = simple_offset_add(shmem_get_offset_ctx(dir), dentry);
mm/shmem.c
3898
if (error)
mm/shmem.c
3906
return error;
mm/shmem.c
3910
return error;
mm/shmem.c
3918
int error;
mm/shmem.c
3923
error = PTR_ERR(inode);
mm/shmem.c
3926
error = security_inode_init_security(inode, dir, NULL,
mm/shmem.c
3928
if (error && error != -EOPNOTSUPP)
mm/shmem.c
3930
error = simple_acl_create(dir, inode);
mm/shmem.c
3931
if (error)
mm/shmem.c
3936
return finish_open_simple(file, error);
mm/shmem.c
3939
return error;
mm/shmem.c
3945
int error;
mm/shmem.c
3947
error = shmem_mknod(idmap, dir, dentry, mode | S_IFDIR, 0);
mm/shmem.c
3948
if (error)
mm/shmem.c
3949
return ERR_PTR(error);
mm/shmem.c
4031
int error;
mm/shmem.c
4036
error = shmem_mknod(idmap, old_dir, whiteout,
mm/shmem.c
4039
return error;
mm/shmem.c
4056
int error;
mm/shmem.c
4068
error = simple_offset_add(shmem_get_offset_ctx(new_dir), new_dentry);
mm/shmem.c
4069
if (error == -EBUSY)
mm/shmem.c
4071
else if (unlikely(error))
mm/shmem.c
4072
return error;
mm/shmem.c
4075
error = shmem_whiteout(idmap, old_dir, old_dentry);
mm/shmem.c
4076
if (error) {
mm/shmem.c
4080
return error;
mm/shmem.c
4107
int error;
mm/shmem.c
4122
error = security_inode_init_security(inode, dir, &dentry->d_name,
mm/shmem.c
4124
if (error && error != -EOPNOTSUPP)
mm/shmem.c
4127
error = simple_offset_add(shmem_get_offset_ctx(dir), dentry);
mm/shmem.c
4128
if (error)
mm/shmem.c
4135
error = -ENOMEM;
mm/shmem.c
4143
error = shmem_get_folio(inode, 0, 0, &folio, SGP_WRITE);
mm/shmem.c
4144
if (error)
mm/shmem.c
4163
return error;
mm/shmem.c
4176
int error;
mm/shmem.c
4188
error = shmem_get_folio(inode, 0, 0, &folio, SGP_READ);
mm/shmem.c
4189
if (error)
mm/shmem.c
4190
return ERR_PTR(error);
mm/shmem.c
5011
int error = -ENOMEM;
mm/shmem.c
5017
return error;
mm/shmem.c
5044
error = -EINVAL;
mm/shmem.c
5122
error = PTR_ERR(inode);
mm/shmem.c
5134
return error;
mm/shmem.c
5424
int error;
mm/shmem.c
5432
error = register_filesystem(&shmem_fs_type);
mm/shmem.c
5433
if (error) {
mm/shmem.c
5440
error = PTR_ERR(shm_mnt);
mm/shmem.c
5446
error = tmpfs_sysfs_init();
mm/shmem.c
5447
if (error) {
mm/shmem.c
5475
shm_mnt = ERR_PTR(error);
mm/shmem.c
5987
int error;
mm/shmem.c
5989
error = shmem_get_folio_gfp(inode, index, i_size_read(inode),
mm/shmem.c
5991
if (error)
mm/shmem.c
5992
return ERR_PTR(error);
mm/shmem.c
947
int error;
mm/shmem.c
950
error = shmem_replace_entry(mapping, folio->index, folio, radswap);
mm/shmem.c
956
BUG_ON(error);
mm/slub.c
7207
goto error;
mm/slub.c
7214
goto error;
mm/slub.c
7220
error:
mm/swapfile.c
3335
int error;
mm/swapfile.c
3363
error = PTR_ERR(swap_file);
mm/swapfile.c
3373
error = claim_swapfile(si, inode);
mm/swapfile.c
3374
if (unlikely(error))
mm/swapfile.c
3379
error = -ENOENT;
mm/swapfile.c
3383
error = -EBUSY;
mm/swapfile.c
3392
error = -EINVAL;
mm/swapfile.c
3400
error = -EINVAL;
mm/swapfile.c
3405
error = PTR_ERR(folio);
mm/swapfile.c
3412
error = -EINVAL;
mm/swapfile.c
3420
error = nr_extents;
mm/swapfile.c
3425
error = -EINVAL;
mm/swapfile.c
3434
error = -ENOMEM;
mm/swapfile.c
3438
error = swap_cgroup_swapon(si->type, maxpages);
mm/swapfile.c
3439
if (error)
mm/swapfile.c
3442
error = setup_swap_map(si, swap_header, swap_map, maxpages);
mm/swapfile.c
3443
if (error)
mm/swapfile.c
3453
error = -ENOMEM;
mm/swapfile.c
3472
error = PTR_ERR(cluster_info);
mm/swapfile.c
3508
error = zswap_swapon(si->type, maxpages);
mm/swapfile.c
3509
if (error)
mm/swapfile.c
3517
error = inode_drain_writes(inode);
mm/swapfile.c
3518
if (error) {
mm/swapfile.c
3541
error = 0;
mm/swapfile.c
3570
return error;
mm/util.c
945
goto error;
mm/util.c
967
error:
mm/vma.c
1383
int error;
mm/vma.c
1398
error = -ENOMEM;
mm/vma.c
1404
error = -EPERM;
mm/vma.c
1408
error = __split_vma(vms->vmi, vms->vma, vms->start, 1);
mm/vma.c
1409
if (error)
mm/vma.c
1424
error = -EPERM;
mm/vma.c
1429
error = __split_vma(vms->vmi, next, vms->end, 0);
mm/vma.c
1430
if (error)
mm/vma.c
1435
error = mas_store_gfp(mas_detach, next, GFP_KERNEL);
mm/vma.c
1436
if (error)
mm/vma.c
1466
error = userfaultfd_unmap_prep(next, vms->start,
mm/vma.c
1468
if (error)
mm/vma.c
1514
return error;
mm/vma.c
1573
int error;
mm/vma.c
1576
error = vms_gather_munmap_vmas(&vms, &mas_detach);
mm/vma.c
1577
if (error)
mm/vma.c
1580
error = vma_iter_clear_gfp(vmi, start, end, GFP_KERNEL);
mm/vma.c
1581
if (error)
mm/vma.c
1592
return error;
mm/vma.c
2395
int error;
mm/vma.c
2411
error = vms_gather_munmap_vmas(vms, &map->mas_detach);
mm/vma.c
2412
if (error) {
mm/vma.c
2415
return error;
mm/vma.c
2433
error = security_vm_enough_memory_mm(map->mm, map->charged);
mm/vma.c
2434
if (error)
mm/vma.c
2435
return error;
mm/vma.c
2459
int error;
mm/vma.c
2468
error = mmap_file(vma->vm_file, vma);
mm/vma.c
2469
if (error) {
mm/vma.c
2478
return error;
mm/vma.c
2509
int error = 0;
mm/vma.c
2527
error = -ENOMEM;
mm/vma.c
2532
error = __mmap_new_file_vma(map, vma);
mm/vma.c
2534
error = shmem_zero_setup(vma);
mm/vma.c
2538
if (error)
mm/vma.c
2570
return error;
mm/vma.c
2737
int error;
mm/vma.c
2741
error = __mmap_setup(&map, &desc, uf);
mm/vma.c
2742
if (!error && have_mmap_prepare)
mm/vma.c
2743
error = call_mmap_prepare(&map, &desc);
mm/vma.c
2744
if (error)
mm/vma.c
2759
error = __mmap_new_vma(&map, &vma);
mm/vma.c
2760
if (error)
mm/vma.c
2771
error = call_action_complete(&map, &desc, vma);
mm/vma.c
2773
if (error)
mm/vma.c
2774
return error;
mm/vma.c
2792
return error;
mm/vma.c
2837
int error = mapping_map_writable(file->f_mapping);
mm/vma.c
2839
if (error)
mm/vma.c
2840
return error;
mm/vma.c
3095
int error = 0;
mm/vma.c
3148
error = -ENOMEM;
mm/vma.c
3150
error = acct_stack_growth(vma, size, grow);
mm/vma.c
3151
if (!error) {
mm/vma.c
3168
return error;
mm/vma.c
3180
int error = 0;
mm/vma.c
3227
error = -ENOMEM;
mm/vma.c
3229
error = acct_stack_growth(vma, size, grow);
mm/vma.c
3230
if (!error) {
mm/vma.c
3248
return error;
mm/vmscan.c
494
struct folio *folio, int error)
mm/vmscan.c
498
mapping_set_error(mapping, error);
mm/zswap.c
262
goto error;
mm/zswap.c
269
goto error;
mm/zswap.c
278
goto error;
mm/zswap.c
295
error:
net/9p/client.c
1006
goto error;
net/9p/client.c
1013
goto error;
net/9p/client.c
1024
error:
net/9p/client.c
1047
goto error;
net/9p/client.c
1061
goto error;
net/9p/client.c
1098
error:
net/9p/client.c
1127
goto error;
net/9p/client.c
1146
error:
net/9p/client.c
1172
goto error;
net/9p/client.c
1190
error:
net/9p/client.c
1215
goto error;
net/9p/client.c
1233
error:
net/9p/client.c
1253
goto error;
net/9p/client.c
1267
error:
net/9p/client.c
1304
goto error;
net/9p/client.c
1311
error:
net/9p/client.c
1331
goto error;
net/9p/client.c
1337
error:
net/9p/client.c
1364
goto error;
net/9p/client.c
1370
error:
net/9p/client.c
1392
goto error;
net/9p/client.c
1397
error:
net/9p/client.c
1627
goto error;
net/9p/client.c
1634
goto error;
net/9p/client.c
1653
error:
net/9p/client.c
1679
goto error;
net/9p/client.c
1686
goto error;
net/9p/client.c
1714
error:
net/9p/client.c
1777
goto error;
net/9p/client.c
1783
error:
net/9p/client.c
1810
goto error;
net/9p/client.c
1814
error:
net/9p/client.c
1832
goto error;
net/9p/client.c
1841
goto error;
net/9p/client.c
1850
error:
net/9p/client.c
1871
goto error;
net/9p/client.c
1877
error:
net/9p/client.c
1899
goto error;
net/9p/client.c
1906
error:
net/9p/client.c
1925
goto error;
net/9p/client.c
1935
goto error;
net/9p/client.c
1950
error:
net/9p/client.c
1973
goto error;
net/9p/client.c
1977
error:
net/9p/client.c
2020
goto error;
net/9p/client.c
2044
error:
net/9p/client.c
2068
goto error;
net/9p/client.c
2073
error:
net/9p/client.c
2097
goto error;
net/9p/client.c
2102
error:
net/9p/client.c
2130
goto error;
net/9p/client.c
2133
error:
net/9p/client.c
2163
goto error;
net/9p/client.c
2169
error:
net/9p/client.c
2191
goto error;
net/9p/client.c
2194
error:
net/9p/client.c
821
goto error;
net/9p/client.c
835
goto error;
net/9p/client.c
842
goto error;
net/9p/client.c
847
error:
net/9p/client.c
998
goto error;
net/9p/trans_fd.c
274
goto error;
net/9p/trans_fd.c
288
goto error;
net/9p/trans_fd.c
300
goto error;
net/9p/trans_fd.c
308
goto error;
net/9p/trans_fd.c
318
goto error;
net/9p/trans_fd.c
345
goto error;
net/9p/trans_fd.c
371
error:
net/9p/trans_fd.c
456
goto error;
net/9p/trans_fd.c
459
goto error;
net/9p/trans_fd.c
487
error:
net/9p/trans_rdma.c
282
goto error;
net/9p/trans_rdma.c
301
error:
net/9p/trans_rdma.c
547
goto error;
net/9p/trans_rdma.c
558
goto error;
net/9p/trans_rdma.c
570
goto error;
net/9p/trans_rdma.c
573
goto error;
net/9p/trans_rdma.c
578
goto error;
net/9p/trans_rdma.c
581
goto error;
net/9p/trans_rdma.c
588
goto error;
net/9p/trans_rdma.c
593
goto error;
net/9p/trans_rdma.c
609
goto error;
net/9p/trans_rdma.c
620
goto error;
net/9p/trans_rdma.c
623
goto error;
net/9p/trans_rdma.c
629
error:
net/9p/trans_xen.c
435
goto error;
net/9p/trans_xen.c
442
goto error;
net/9p/trans_xen.c
478
goto error;
net/9p/trans_xen.c
492
error:
net/atm/addr.c
109
int error;
net/atm/addr.c
111
error = check_addr(addr);
net/atm/addr.c
112
if (error)
net/atm/addr.c
113
return error;
net/atm/addr.c
139
int total = 0, error;
net/atm/addr.c
157
error = total > size ? -E2BIG : total;
net/atm/addr.c
159
error = -EFAULT;
net/atm/addr.c
161
return error;
net/atm/addr.c
74
int error;
net/atm/addr.c
76
error = check_addr(addr);
net/atm/addr.c
77
if (error)
net/atm/addr.c
78
return error;
net/atm/br2684.c
463
goto error;
net/atm/br2684.c
477
goto error;
net/atm/br2684.c
490
goto error;
net/atm/br2684.c
495
goto error;
net/atm/br2684.c
521
error:
net/atm/br2684.c
556
goto error;
net/atm/br2684.c
561
goto error;
net/atm/br2684.c
566
goto error;
net/atm/br2684.c
575
goto error;
net/atm/br2684.c
616
error:
net/atm/clip.c
111
int error;
net/atm/clip.c
121
error = neigh_update(entry->neigh, NULL, NUD_NONE,
net/atm/clip.c
123
if (error)
net/atm/clip.c
124
pr_err("neigh_update failed with %d\n", error);
net/atm/clip.c
461
int error;
net/atm/clip.c
496
error = neigh_update(neigh, llc_oui, NUD_PERMANENT,
net/atm/clip.c
499
return error;
net/atm/clip.c
527
int error;
net/atm/clip.c
547
error = register_netdev(dev);
net/atm/clip.c
548
if (error) {
net/atm/clip.c
550
return error;
net/atm/common.c
386
int error;
net/atm/common.c
394
error = -ENODEV;
net/atm/common.c
396
return error;
net/atm/common.c
400
(error = find_ci(vcc, &vpi, &vci))) {
net/atm/common.c
410
error = atm_init_aal0(vcc);
net/atm/common.c
414
error = atm_init_aal34(vcc);
net/atm/common.c
422
error = atm_init_aal5(vcc);
net/atm/common.c
426
error = -EPROTOTYPE;
net/atm/common.c
428
if (!error)
net/atm/common.c
429
error = adjust_tp(&vcc->qos.txtp, vcc->qos.aal);
net/atm/common.c
430
if (!error)
net/atm/common.c
431
error = adjust_tp(&vcc->qos.rxtp, vcc->qos.aal);
net/atm/common.c
432
if (error)
net/atm/common.c
447
error = dev->ops->open(vcc);
net/atm/common.c
448
if (error)
net/atm/common.c
459
return error;
net/atm/common.c
466
int error;
net/atm/common.c
510
error = __vcc_connect(vcc, dev, vpi, vci);
net/atm/common.c
511
if (error) {
net/atm/common.c
513
return error;
net/atm/common.c
528
int copied, error = -EINVAL;
net/atm/common.c
543
skb = skb_recv_datagram(sk, flags, &error);
net/atm/common.c
545
return error;
net/atm/common.c
553
error = skb_copy_datagram_msg(skb, 0, msg, copied);
net/atm/common.c
554
if (error)
net/atm/common.c
555
return error;
net/atm/common.c
574
int eff, error;
net/atm/common.c
578
error = -ENOTCONN;
net/atm/common.c
582
error = -EISCONN;
net/atm/common.c
589
error = -EPIPE;
net/atm/common.c
594
error = 0;
net/atm/common.c
598
error = -EMSGSIZE;
net/atm/common.c
604
error = 0;
net/atm/common.c
607
error = -EAGAIN;
net/atm/common.c
612
error = -ERESTARTSYS;
net/atm/common.c
618
error = -EPIPE;
net/atm/common.c
625
if (error)
net/atm/common.c
630
error = -ENOMEM;
net/atm/common.c
638
error = -EFAULT;
net/atm/common.c
645
error = vcc->dev->ops->pre_send(vcc, skb);
net/atm/common.c
646
if (error)
net/atm/common.c
650
error = vcc->dev->ops->send(vcc, skb);
net/atm/common.c
651
error = error ? error : size;
net/atm/common.c
654
return error;
net/atm/common.c
698
int error;
net/atm/common.c
708
error = adjust_tp(&qos->txtp, qos->aal);
net/atm/common.c
709
if (!error)
net/atm/common.c
710
error = adjust_tp(&qos->rxtp, qos->aal);
net/atm/common.c
711
if (error)
net/atm/common.c
712
return error;
net/atm/common.c
742
int error;
net/atm/common.c
751
error = check_tp(&qos->txtp);
net/atm/common.c
752
if (error)
net/atm/common.c
753
return error;
net/atm/common.c
762
int error;
net/atm/common.c
775
error = check_qos(&qos);
net/atm/common.c
776
if (error)
net/atm/common.c
777
return error;
net/atm/common.c
852
int error;
net/atm/common.c
854
error = proto_register(&vcc_proto, 0);
net/atm/common.c
855
if (error < 0)
net/atm/common.c
857
error = atmpvc_init();
net/atm/common.c
858
if (error < 0) {
net/atm/common.c
859
pr_err("atmpvc_init() failed with %d\n", error);
net/atm/common.c
862
error = atmsvc_init();
net/atm/common.c
863
if (error < 0) {
net/atm/common.c
864
pr_err("atmsvc_init() failed with %d\n", error);
net/atm/common.c
867
error = atm_proc_init();
net/atm/common.c
868
if (error < 0) {
net/atm/common.c
869
pr_err("atm_proc_init() failed with %d\n", error);
net/atm/common.c
872
error = atm_sysfs_init();
net/atm/common.c
873
if (error < 0) {
net/atm/common.c
874
pr_err("atm_sysfs_init() failed with %d\n", error);
net/atm/common.c
878
return error;
net/atm/ioctl.c
107
error = -EPERM;
net/atm/ioctl.c
116
error = -EINVAL;
net/atm/ioctl.c
120
error = sigd_attach(vcc);
net/atm/ioctl.c
121
if (!error)
net/atm/ioctl.c
128
error = get_user(backend, (atm_backend_t __user *)argp);
net/atm/ioctl.c
129
if (error)
net/atm/ioctl.c
153
error = -ENOIOCTLCMD;
net/atm/ioctl.c
159
error = ic->ioctl(sock, cmd, arg);
net/atm/ioctl.c
161
if (error != -ENOIOCTLCMD)
net/atm/ioctl.c
167
if (error != -ENOIOCTLCMD)
net/atm/ioctl.c
186
error = atm_getnames(buf, len);
net/atm/ioctl.c
211
error = atm_dev_ioctl(cmd, buf, len, number, compat);
net/atm/ioctl.c
215
return error;
net/atm/ioctl.c
56
int error;
net/atm/ioctl.c
67
error = -EINVAL;
net/atm/ioctl.c
70
error = put_user(sk->sk_sndbuf - sk_wmem_alloc_get(sk),
net/atm/ioctl.c
79
error = -EINVAL;
net/atm/ioctl.c
86
error = put_user(amount, (int __user *)argp);
net/atm/ioctl.c
92
error = 0;
net/atm/ioctl.c
96
error = -EPERM;
net/atm/pppoatm.c
200
goto error;
net/atm/pppoatm.c
222
goto error;
net/atm/pppoatm.c
229
error:
net/atm/proc.c
350
int error;
net/atm/proc.c
356
error = -ENOMEM;
net/atm/proc.c
370
return error;
net/atm/pvc.c
33
int error;
net/atm/pvc.c
43
error = -EBADFD;
net/atm/pvc.c
52
error = vcc_connect(sock, addr->sap_addr.itf, addr->sap_addr.vpi,
net/atm/pvc.c
56
return error;
net/atm/pvc.c
69
int error;
net/atm/pvc.c
72
error = vcc_setsockopt(sock, level, optname, optval, optlen);
net/atm/pvc.c
74
return error;
net/atm/pvc.c
81
int error;
net/atm/pvc.c
84
error = vcc_getsockopt(sock, level, optname, optval, optlen);
net/atm/pvc.c
86
return error;
net/atm/resources.c
180
int error = 0;
net/atm/resources.c
186
error = copy_to_user(arg, &tmp, sizeof(tmp));
net/atm/resources.c
187
if (zero && !error) {
net/atm/resources.c
192
return error ? -EFAULT : 0;
net/atm/resources.c
197
int error, len, size = 0;
net/atm/resources.c
221
error = ((copy_to_user(buf, tmp_buf, size)) ||
net/atm/resources.c
225
return error;
net/atm/resources.c
231
int error, len, size = 0;
net/atm/resources.c
246
error = -EFAULT;
net/atm/resources.c
253
error = -EFAULT;
net/atm/resources.c
263
error = -EEXIST;
net/atm/resources.c
273
error = -EPERM;
net/atm/resources.c
277
error = -EFAULT;
net/atm/resources.c
281
error = ESI_LEN;
net/atm/resources.c
286
error = -EPERM;
net/atm/resources.c
292
error = fetch_stats(dev, buf, cmd == ATM_GETSTATZ);
net/atm/resources.c
293
if (error)
net/atm/resources.c
299
error = -EFAULT;
net/atm/resources.c
306
error = -EFAULT;
net/atm/resources.c
312
error = -EPERM;
net/atm/resources.c
325
error = -EPERM;
net/atm/resources.c
330
error = -EFAULT;
net/atm/resources.c
334
error = atm_add_addr(dev, &addr,
net/atm/resources.c
338
error = atm_del_addr(dev, &addr,
net/atm/resources.c
345
error = atm_get_addr(dev, buf, len,
net/atm/resources.c
348
if (error < 0)
net/atm/resources.c
350
size = error;
net/atm/resources.c
353
error = put_user(size, sioc_len) ? -EFAULT : 0;
net/atm/resources.c
359
error = -EINVAL;
net/atm/resources.c
369
error = -EPERM;
net/atm/resources.c
377
error = -EINVAL;
net/atm/resources.c
384
error = -EINVAL;
net/atm/resources.c
390
error = (size == -ENOIOCTLCMD ? -ENOTTY : size);
net/atm/resources.c
396
error = put_user(size, sioc_len) ? -EFAULT : 0;
net/atm/resources.c
398
error = 0;
net/atm/resources.c
401
return error;
net/atm/svc.c
107
int error;
net/atm/svc.c
113
error = -EISCONN;
net/atm/svc.c
117
error = -EINVAL;
net/atm/svc.c
123
error = -EAFNOSUPPORT;
net/atm/svc.c
130
error = -EBADFD;
net/atm/svc.c
145
error = -EUNATCH;
net/atm/svc.c
150
error = -sk->sk_err;
net/atm/svc.c
153
return error;
net/atm/svc.c
163
int error;
net/atm/svc.c
168
error = -EINVAL;
net/atm/svc.c
174
error = -EINVAL;
net/atm/svc.c
177
error = -EISCONN;
net/atm/svc.c
181
error = -EALREADY;
net/atm/svc.c
186
error = -sk->sk_err;
net/atm/svc.c
193
error = -EAFNOSUPPORT;
net/atm/svc.c
197
error = -EBADFD;
net/atm/svc.c
202
error = -EINVAL;
net/atm/svc.c
207
error = -EINVAL;
net/atm/svc.c
215
error = -EINPROGRESS;
net/atm/svc.c
218
error = 0;
net/atm/svc.c
257
error = -EINTR;
net/atm/svc.c
261
if (error)
net/atm/svc.c
264
error = -EUNATCH;
net/atm/svc.c
268
error = -sk->sk_err;
net/atm/svc.c
277
error = vcc_connect(sock, vcc->itf, vcc->vpi, vcc->vci);
net/atm/svc.c
278
if (!error)
net/atm/svc.c
284
return error;
net/atm/svc.c
292
int error;
net/atm/svc.c
298
error = -EINVAL;
net/atm/svc.c
302
error = -EADDRINUSE;
net/atm/svc.c
315
error = -EUNATCH;
net/atm/svc.c
321
error = -sk->sk_err;
net/atm/svc.c
324
return error;
net/atm/svc.c
335
int error;
net/atm/svc.c
339
error = svc_create(sock_net(sk), newsock, 0, arg->kern);
net/atm/svc.c
340
if (error)
net/atm/svc.c
355
error = -sk->sk_err;
net/atm/svc.c
359
error = -EAGAIN;
net/atm/svc.c
366
error = -ERESTARTSYS;
net/atm/svc.c
373
if (error)
net/atm/svc.c
376
error = -EUNATCH;
net/atm/svc.c
385
error = vcc_connect(newsock, msg->pvc.sap_addr.itf,
net/atm/svc.c
390
if (error) {
net/atm/svc.c
392
&old_vcc->qos, error);
net/atm/svc.c
393
error = error == -EAGAIN ? -EBUSY : error;
net/atm/svc.c
410
error = -EUNATCH;
net/atm/svc.c
416
error = -sk_atm(new_vcc)->sk_err;
net/atm/svc.c
423
return error;
net/atm/svc.c
463
int value, error = 0;
net/atm/svc.c
469
error = -EINVAL;
net/atm/svc.c
473
error = -EFAULT;
net/atm/svc.c
480
error = -EINVAL;
net/atm/svc.c
484
error = -EFAULT;
net/atm/svc.c
492
error = -EINVAL;
net/atm/svc.c
495
error = vcc_setsockopt(sock, level, optname, optval, optlen);
net/atm/svc.c
500
return error;
net/atm/svc.c
507
int error = 0, len;
net/atm/svc.c
511
error = vcc_getsockopt(sock, level, optname, optval, optlen);
net/atm/svc.c
515
error = -EFAULT;
net/atm/svc.c
519
error = -EINVAL;
net/atm/svc.c
523
error = -EFAULT;
net/atm/svc.c
528
return error;
net/atm/svc.c
537
int error;
net/atm/svc.c
544
error = -EINPROGRESS;
net/atm/svc.c
555
error = -xchg(&sk->sk_err_soft, 0);
net/atm/svc.c
558
return error;
net/atm/svc.c
566
int error;
net/atm/svc.c
579
error = -EUNATCH;
net/atm/svc.c
582
error = -xchg(&sk->sk_err_soft, 0);
net/atm/svc.c
585
return error;
net/atm/svc.c
590
int error, ep_ref;
net/atm/svc.c
600
error = svc_addparty(sock, (struct sockaddr *)&sa, sizeof(sa),
net/atm/svc.c
608
error = svc_dropparty(sock, ep_ref);
net/atm/svc.c
611
error = vcc_ioctl(sock, cmd, arg);
net/atm/svc.c
614
return error;
net/atm/svc.c
663
int error;
net/atm/svc.c
669
error = vcc_create(net, sock, protocol, AF_ATMSVC, kern);
net/atm/svc.c
670
if (error)
net/atm/svc.c
671
return error;
net/bluetooth/bnep/sock.c
236
goto error;
net/bluetooth/bnep/sock.c
243
goto error;
net/bluetooth/bnep/sock.c
250
error:
net/bluetooth/cmtp/sock.c
247
goto error;
net/bluetooth/cmtp/sock.c
254
goto error;
net/bluetooth/cmtp/sock.c
261
error:
net/bluetooth/hci_codec.c
102
goto error;
net/bluetooth/hci_codec.c
104
goto error;
net/bluetooth/hci_codec.c
114
error:
net/bluetooth/hci_codec.c
139
goto error;
net/bluetooth/hci_codec.c
144
goto error;
net/bluetooth/hci_codec.c
153
goto error;
net/bluetooth/hci_codec.c
173
goto error;
net/bluetooth/hci_codec.c
185
error:
net/bluetooth/hci_codec.c
208
goto error;
net/bluetooth/hci_codec.c
213
goto error;
net/bluetooth/hci_codec.c
222
goto error;
net/bluetooth/hci_codec.c
241
goto error;
net/bluetooth/hci_codec.c
251
error:
net/bluetooth/hci_codec.c
84
goto error;
net/bluetooth/hci_codec.c
89
goto error;
net/bluetooth/hci_conn.c
251
goto error;
net/bluetooth/hci_conn.c
256
goto error;
net/bluetooth/hci_conn.c
261
goto error;
net/bluetooth/hci_conn.c
274
error:
net/bluetooth/hci_core.c
2587
int id, error;
net/bluetooth/hci_core.c
2596
error = dev_set_name(&hdev->dev, "hci%u", id);
net/bluetooth/hci_core.c
2597
if (error)
net/bluetooth/hci_core.c
2598
return error;
net/bluetooth/hci_core.c
2607
error = -ENOMEM;
net/bluetooth/hci_core.c
2615
error = -ENOMEM;
net/bluetooth/hci_core.c
2622
error = device_add(&hdev->dev);
net/bluetooth/hci_core.c
2623
if (error < 0)
net/bluetooth/hci_core.c
2668
error = hci_register_suspend_notifier(hdev);
net/bluetooth/hci_core.c
2669
if (error)
net/bluetooth/hci_core.c
2670
BT_WARN("register suspend notifier failed error:%d\n", error);
net/bluetooth/hci_core.c
2686
return error;
net/bluetooth/hci_sock.c
2244
goto error;
net/bluetooth/hci_sock.c
2251
goto error;
net/bluetooth/hci_sock.c
2258
error:
net/bluetooth/hidp/sock.c
288
goto error;
net/bluetooth/hidp/sock.c
295
goto error;
net/bluetooth/hidp/sock.c
302
error:
net/bluetooth/iso.c
2689
goto error;
net/bluetooth/iso.c
2696
goto error;
net/bluetooth/iso.c
2711
error:
net/bluetooth/l2cap_sock.c
2016
goto error;
net/bluetooth/l2cap_sock.c
2024
goto error;
net/bluetooth/l2cap_sock.c
2031
error:
net/bluetooth/rfcomm/sock.c
1047
goto error;
net/bluetooth/rfcomm/sock.c
1054
goto error;
net/bluetooth/rfcomm/sock.c
1068
error:
net/bluetooth/rfcomm/tty.c
1117
int error;
net/bluetooth/rfcomm/tty.c
1135
error = tty_register_driver(rfcomm_tty_driver);
net/bluetooth/rfcomm/tty.c
1136
if (error) {
net/bluetooth/rfcomm/tty.c
1139
return error;
net/bluetooth/sco.c
1583
goto error;
net/bluetooth/sco.c
1590
goto error;
net/bluetooth/sco.c
1605
error:
net/bridge/br_netfilter_ipv6.c
125
if (skb_dst(skb)->error) {
net/bridge/netfilter/ebtables.c
321
find_inlist_lock_noload(struct net *net, const char *name, int *error,
net/bridge/netfilter/ebtables.c
343
*error = tmpl->table_init(net);
net/bridge/netfilter/ebtables.c
344
if (*error) {
net/bridge/netfilter/ebtables.c
361
*error = -ENOENT;
net/bridge/netfilter/ebtables.c
368
int *error, struct mutex *mutex)
net/bridge/netfilter/ebtables.c
371
find_inlist_lock_noload(net, name, error, mutex),
net/bridge/netfilter/ebtables.c
376
find_table_lock(struct net *net, const char *name, int *error,
net/bridge/netfilter/ebtables.c
379
return find_inlist_lock(net, name, "ebtable_", error, mutex);
net/caif/cfctrl.c
540
goto error;
net/caif/cfctrl.c
542
error:
net/caif/chnl_net.c
264
goto error;
net/caif/chnl_net.c
272
goto error;
net/caif/chnl_net.c
293
goto error;
net/caif/chnl_net.c
308
goto error;
net/caif/chnl_net.c
314
goto error;
net/caif/chnl_net.c
320
goto error;
net/caif/chnl_net.c
325
error:
net/can/bcm.c
1740
int error = 0;
net/can/bcm.c
1743
skb = skb_recv_datagram(sk, flags, &error);
net/can/bcm.c
1745
return error;
net/ceph/osd_client.c
2941
} error;
net/ceph/osd_client.c
3019
dout("%s lreq %p err %d\n", __func__, lreq, lwork->error.err);
net/ceph/osd_client.c
3020
lreq->errcb(lreq->data, lreq->linger_id, lwork->error.err);
net/ceph/osd_client.c
3036
lwork->error.err = lreq->last_error;
net/core/datagram.c
100
if (error)
net/core/datagram.c
113
error = -ENOTCONN;
net/core/datagram.c
122
error = 0;
net/core/datagram.c
126
return error;
net/core/datagram.c
128
error = sock_intr_errno(*timeo_p);
net/core/datagram.c
130
*err = error;
net/core/datagram.c
134
error = 1;
net/core/datagram.c
252
int error = sock_error(sk);
net/core/datagram.c
254
if (error)
net/core/datagram.c
265
skb = __skb_try_recv_from_queue(queue, flags, off, &error,
net/core/datagram.c
268
if (error)
net/core/datagram.c
279
error = -EAGAIN;
net/core/datagram.c
282
*err = error;
net/core/datagram.c
93
int error;
net/core/datagram.c
99
error = sock_error(sk);
net/core/dev.c
2920
goto error;
net/core/dev.c
3033
error:
net/core/dst.c
61
dst->error = 0;
net/core/filter.c
11475
goto error;
net/core/filter.c
11489
goto error;
net/core/filter.c
11495
error:
net/core/filter.c
961
goto error;
net/core/filter.c
984
error:
net/core/lwt_bpf.c
242
if (unlikely(dst->error)) {
net/core/lwt_bpf.c
243
err = dst->error;
net/core/neighbour.c
653
int error;
net/core/neighbour.c
667
if (tbl->constructor && (error = tbl->constructor(n)) < 0) {
net/core/neighbour.c
668
rc = ERR_PTR(error);
net/core/neighbour.c
673
error = dev->netdev_ops->ndo_neigh_construct(dev, n);
net/core/neighbour.c
674
if (error < 0) {
net/core/neighbour.c
675
rc = ERR_PTR(error);
net/core/neighbour.c
682
(error = n->parms->neigh_setup(n)) < 0) {
net/core/neighbour.c
683
rc = ERR_PTR(error);
net/core/net-sysfs.c
1236
int error = 0;
net/core/net-sysfs.c
1260
error = kobject_init_and_add(kobj, &rx_queue_ktype, NULL,
net/core/net-sysfs.c
1262
if (error)
net/core/net-sysfs.c
1266
error = sysfs_create_groups(kobj, queue->groups);
net/core/net-sysfs.c
1267
if (error)
net/core/net-sysfs.c
1271
error = sysfs_create_group(kobj, dev->sysfs_rx_queue_group);
net/core/net-sysfs.c
1272
if (error)
net/core/net-sysfs.c
1276
error = rx_queue_default_mask(dev, queue);
net/core/net-sysfs.c
1277
if (error)
net/core/net-sysfs.c
1282
return error;
net/core/net-sysfs.c
1288
return error;
net/core/net-sysfs.c
1296
int error;
net/core/net-sysfs.c
1298
error = sysfs_change_owner(kobj, kuid, kgid);
net/core/net-sysfs.c
1299
if (error)
net/core/net-sysfs.c
1300
return error;
net/core/net-sysfs.c
1303
error = sysfs_group_change_owner(
net/core/net-sysfs.c
1306
return error;
net/core/net-sysfs.c
1315
int error = 0;
net/core/net-sysfs.c
1322
error = rx_queue_add_kobject(dev, i);
net/core/net-sysfs.c
1323
if (error) {
net/core/net-sysfs.c
1341
return error;
net/core/net-sysfs.c
1351
int error = 0;
net/core/net-sysfs.c
1359
error = rx_queue_change_owner(dev, i, kuid, kgid);
net/core/net-sysfs.c
1360
if (error)
net/core/net-sysfs.c
1364
return error;
net/core/net-sysfs.c
1973
int error = 0;
net/core/net-sysfs.c
1997
error = kobject_init_and_add(kobj, &netdev_queue_ktype, NULL,
net/core/net-sysfs.c
1999
if (error)
net/core/net-sysfs.c
2003
error = sysfs_create_groups(kobj, queue->groups);
net/core/net-sysfs.c
2004
if (error)
net/core/net-sysfs.c
2008
error = sysfs_create_group(kobj, &dql_group);
net/core/net-sysfs.c
2009
if (error)
net/core/net-sysfs.c
2020
return error;
net/core/net-sysfs.c
2028
int error;
net/core/net-sysfs.c
2030
error = sysfs_change_owner(kobj, kuid, kgid);
net/core/net-sysfs.c
2031
if (error)
net/core/net-sysfs.c
2032
return error;
net/core/net-sysfs.c
2035
error = sysfs_group_change_owner(kobj, &dql_group, kuid, kgid);
net/core/net-sysfs.c
2037
return error;
net/core/net-sysfs.c
2046
int error = 0;
net/core/net-sysfs.c
2056
error = netdev_queue_add_kobject(dev, i);
net/core/net-sysfs.c
2057
if (error) {
net/core/net-sysfs.c
2076
return error;
net/core/net-sysfs.c
2086
int error = 0;
net/core/net-sysfs.c
2090
error = tx_queue_change_owner(dev, i, kuid, kgid);
net/core/net-sysfs.c
2091
if (error)
net/core/net-sysfs.c
2095
return error;
net/core/net-sysfs.c
2103
int error = 0, txq = 0, rxq = 0, real_rx = 0, real_tx = 0;
net/core/net-sysfs.c
2114
error = net_rx_queue_update_kobjects(dev, 0, real_rx);
net/core/net-sysfs.c
2115
if (error)
net/core/net-sysfs.c
2116
goto error;
net/core/net-sysfs.c
2119
error = netdev_queue_update_kobjects(dev, 0, real_tx);
net/core/net-sysfs.c
2120
if (error)
net/core/net-sysfs.c
2121
goto error;
net/core/net-sysfs.c
2126
error:
net/core/net-sysfs.c
2132
return error;
net/core/net-sysfs.c
2137
int error = 0, real_rx = 0, real_tx = 0;
net/core/net-sysfs.c
2141
error = sysfs_change_owner(&ndev->queues_kset->kobj, kuid, kgid);
net/core/net-sysfs.c
2142
if (error)
net/core/net-sysfs.c
2143
return error;
net/core/net-sysfs.c
2149
error = net_rx_queue_change_owner(ndev, real_rx, kuid, kgid);
net/core/net-sysfs.c
2150
if (error)
net/core/net-sysfs.c
2151
return error;
net/core/net-sysfs.c
2153
error = net_tx_queue_change_owner(ndev, real_tx, kuid, kgid);
net/core/net-sysfs.c
2154
if (error)
net/core/net-sysfs.c
2155
return error;
net/core/net-sysfs.c
2337
int error = 0;
net/core/net-sysfs.c
2358
error = device_add(dev);
net/core/net-sysfs.c
2359
if (error)
net/core/net-sysfs.c
2360
return error;
net/core/net-sysfs.c
2362
error = register_queue_kobjects(ndev);
net/core/net-sysfs.c
2363
if (error) {
net/core/net-sysfs.c
2365
return error;
net/core/net-sysfs.c
2370
return error;
net/core/net-sysfs.c
2382
int error;
net/core/net-sysfs.c
2393
error = device_change_owner(dev, new_uid, new_gid);
net/core/net-sysfs.c
2394
if (error)
net/core/net-sysfs.c
2395
return error;
net/core/net-sysfs.c
2397
error = queue_change_owner(ndev, new_uid, new_gid);
net/core/net-sysfs.c
2398
if (error)
net/core/net-sysfs.c
2399
return error;
net/core/net_namespace.c
1312
int error;
net/core/net_namespace.c
1320
error = ops_init(ops, net);
net/core/net_namespace.c
1321
if (error)
net/core/net_namespace.c
1332
return error;
net/core/net_namespace.c
1380
int error;
net/core/net_namespace.c
1386
error = ida_alloc_min(&net_generic_ids, MIN_PERNET_OPS_ID,
net/core/net_namespace.c
1388
if (error < 0)
net/core/net_namespace.c
1389
return error;
net/core/net_namespace.c
1390
*ops->id = error;
net/core/net_namespace.c
1397
error = __register_pernet_operations(list, ops);
net/core/net_namespace.c
1398
if (error) {
net/core/net_namespace.c
1404
return error;
net/core/net_namespace.c
1436
int error;
net/core/net_namespace.c
1438
error = register_pernet_operations(first_device, ops);
net/core/net_namespace.c
1440
return error;
net/core/net_namespace.c
1482
int error;
net/core/net_namespace.c
1484
error = register_pernet_operations(&pernet_list, ops);
net/core/net_namespace.c
1485
if (!error && (first_device == &pernet_list))
net/core/net_namespace.c
1488
return error;
net/core/net_namespace.c
441
int error = 0;
net/core/net_namespace.c
446
error = ops_init(ops, net);
net/core/net_namespace.c
447
if (error < 0)
net/core/net_namespace.c
455
return error;
net/core/pktgen.c
2724
goto error;
net/core/pktgen.c
2729
goto error;
net/core/pktgen.c
2735
error:
net/core/rtnetlink.c
1029
long expires, u32 error)
net/core/rtnetlink.c
1032
.rta_error = error,
net/core/rtnetlink.c
968
void rtnl_set_sk_err(struct net *net, u32 group, int error)
net/core/rtnetlink.c
972
netlink_set_err(rtnl, 0, group, error);
net/core/scm.c
184
goto error;
net/core/scm.c
193
goto error;
net/core/scm.c
196
goto error;
net/core/scm.c
204
goto error;
net/core/scm.c
208
goto error;
net/core/scm.c
215
goto error;
net/core/scm.c
223
goto error;
net/core/scm.c
231
goto error;
net/core/scm.c
238
goto error;
net/core/scm.c
249
error:
net/core/skbuff.c
3333
goto error;
net/core/skbuff.c
3378
goto error;
net/core/skbuff.c
3405
error:
net/ipv4/ah4.c
479
goto error;
net/ipv4/ah4.c
484
goto error;
net/ipv4/ah4.c
494
goto error;
net/ipv4/ah4.c
501
goto error;
net/ipv4/ah4.c
516
goto error;
net/ipv4/ah4.c
534
error:
net/ipv4/cipso_ipv4.c
1715
void cipso_v4_error(struct sk_buff *skb, int error, u32 gateway)
net/ipv4/cipso_ipv4.c
1720
if (ip_hdr(skb)->protocol == IPPROTO_ICMP || error != -EACCES)
net/ipv4/esp4.c
1002
goto error;
net/ipv4/esp4.c
1006
error:
net/ipv4/esp4.c
1033
goto error;
net/ipv4/esp4.c
1043
goto error;
net/ipv4/esp4.c
1051
goto error;
net/ipv4/esp4.c
1061
goto error;
net/ipv4/esp4.c
1102
error:
net/ipv4/esp4.c
1124
goto error;
net/ipv4/esp4.c
1141
goto error;
net/ipv4/esp4.c
1159
error:
net/ipv4/esp4.c
525
goto error;
net/ipv4/esp4.c
593
goto error;
net/ipv4/esp4.c
612
error:
net/ipv4/esp4.c
991
goto error;
net/ipv4/esp4.c
998
goto error;
net/ipv4/fib_frontend.c
1632
int error;
net/ipv4/fib_frontend.c
1637
error = ip_fib_net_init(net);
net/ipv4/fib_frontend.c
1638
if (error < 0)
net/ipv4/fib_frontend.c
1641
error = fib4_semantics_init(net);
net/ipv4/fib_frontend.c
1642
if (error)
net/ipv4/fib_frontend.c
1645
error = nl_fib_lookup_init(net);
net/ipv4/fib_frontend.c
1646
if (error < 0)
net/ipv4/fib_frontend.c
1649
error = fib_proc_init(net);
net/ipv4/fib_frontend.c
1650
if (error < 0)
net/ipv4/fib_frontend.c
1653
return error;
net/ipv4/fib_lookup.h
59
int error;
net/ipv4/fib_semantics.c
102
.error = 0,
net/ipv4/fib_semantics.c
106
.error = 0,
net/ipv4/fib_semantics.c
110
.error = 0,
net/ipv4/fib_semantics.c
114
.error = -EINVAL,
net/ipv4/fib_semantics.c
118
.error = -EHOSTUNREACH,
net/ipv4/fib_semantics.c
122
.error = -EACCES,
net/ipv4/fib_semantics.c
126
.error = -EAGAIN,
net/ipv4/fib_semantics.c
130
.error = -EINVAL,
net/ipv4/fib_semantics.c
134
.error = -EINVAL,
net/ipv4/fib_semantics.c
1447
if (fib_props[cfg->fc_type].error) {
net/ipv4/fib_semantics.c
90
.error = 0,
net/ipv4/fib_semantics.c
94
.error = 0,
net/ipv4/fib_semantics.c
98
.error = 0,
net/ipv4/fib_trie.c
1566
err = fib_props[fa->fa_type].error;
net/ipv4/fib_trie.c
1580
err = fib_props[RTN_BLACKHOLE].error;
net/ipv4/fib_trie.c
2051
!fib_props[fa->fa_type].error)) {
net/ipv4/fib_trie.c
2059
if (!flush_all && fib_props[fa->fa_type].error &&
net/ipv4/fou_core.c
581
goto error;
net/ipv4/fou_core.c
587
goto error;
net/ipv4/fou_core.c
618
goto error;
net/ipv4/fou_core.c
627
goto error;
net/ipv4/fou_core.c
634
error:
net/ipv4/icmp.c
1471
goto error;
net/ipv4/icmp.c
1501
goto error;
net/ipv4/icmp.c
1508
goto error;
net/ipv4/icmp.c
1526
goto error;
net/ipv4/icmp.c
1542
error:
net/ipv4/icmp.c
1641
.error = 1,
net/ipv4/icmp.c
1645
.error = 1,
net/ipv4/icmp.c
1649
.error = 1,
net/ipv4/icmp.c
1653
.error = 1,
net/ipv4/icmp.c
1657
.error = 1,
net/ipv4/icmp.c
1661
.error = 1,
net/ipv4/icmp.c
1665
.error = 1,
net/ipv4/icmp.c
1672
.error = 1,
net/ipv4/icmp.c
1676
.error = 1,
net/ipv4/icmp.c
1680
.error = 1,
net/ipv4/icmp.c
1684
.error = 1,
net/ipv4/icmp.c
197
short error; /* This ICMP is classed as an error message */
net/ipv4/icmp.c
376
if (icmp_pointers[icmp_param->data.icmph.type].error)
net/ipv4/icmp.c
866
if (icmp_pointers[type].error) {
net/ipv4/icmp.c
890
icmp_pointers[*itp].error)
net/ipv4/icmp.c
932
tos = icmp_pointers[type].error ? (RT_TOS(iph->tos) |
net/ipv4/igmp.c
1486
goto error;
net/ipv4/igmp.c
1492
goto error;
net/ipv4/igmp.c
1497
error:
net/ipv4/inet_connection_sock.c
656
int error;
net/ipv4/inet_connection_sock.c
663
error = -EINVAL;
net/ipv4/inet_connection_sock.c
672
error = -EAGAIN;
net/ipv4/inet_connection_sock.c
676
error = inet_csk_wait_for_connect(sk, timeo);
net/ipv4/inet_connection_sock.c
677
if (error)
net/ipv4/inet_connection_sock.c
710
arg->err = error;
net/ipv4/inet_hashtables.c
1165
goto error;
net/ipv4/inet_hashtables.c
1197
error:
net/ipv4/inet_hashtables.c
311
goto error;
net/ipv4/inet_hashtables.c
322
error:
net/ipv4/ip_options.c
276
goto error;
net/ipv4/ip_options.c
281
goto error;
net/ipv4/ip_options.c
288
goto error;
net/ipv4/ip_options.c
292
goto error;
net/ipv4/ip_options.c
297
goto error;
net/ipv4/ip_options.c
302
goto error;
net/ipv4/ip_options.c
314
goto error;
net/ipv4/ip_options.c
318
goto error;
net/ipv4/ip_options.c
322
goto error;
net/ipv4/ip_options.c
327
goto error;
net/ipv4/ip_options.c
342
goto error;
net/ipv4/ip_options.c
346
goto error;
net/ipv4/ip_options.c
350
goto error;
net/ipv4/ip_options.c
356
goto error;
net/ipv4/ip_options.c
368
goto error;
net/ipv4/ip_options.c
382
goto error;
net/ipv4/ip_options.c
398
goto error;
net/ipv4/ip_options.c
413
goto error;
net/ipv4/ip_options.c
425
goto error;
net/ipv4/ip_options.c
433
goto error;
net/ipv4/ip_options.c
438
goto error;
net/ipv4/ip_options.c
446
goto error;
net/ipv4/ip_options.c
458
error:
net/ipv4/ip_output.c
1139
goto error;
net/ipv4/ip_output.c
1177
goto error;
net/ipv4/ip_output.c
1223
goto error;
net/ipv4/ip_output.c
1230
goto error;
net/ipv4/ip_output.c
1234
goto error;
net/ipv4/ip_output.c
1242
goto error;
net/ipv4/ip_output.c
1249
goto error;
net/ipv4/ip_output.c
1270
goto error;
net/ipv4/ip_output.c
1282
error:
net/ipv4/ip_vti.c
201
if (dst->error) {
net/ipv4/ipcomp.c
81
goto error;
net/ipv4/ipcomp.c
87
error:
net/ipv4/ipmr.c
1019
e->error = -EMSGSIZE;
net/ipv4/ipmr.c
754
e->error = -ETIMEDOUT;
net/ipv4/netfilter.c
61
if (skb_dst(skb)->error)
net/ipv4/netfilter.c
62
return skb_dst(skb)->error;
net/ipv4/raw.c
357
goto error;
net/ipv4/raw.c
418
goto error;
net/ipv4/raw.c
424
error:
net/ipv4/route.c
1698
new_rt->dst.error = rt->dst.error;
net/ipv4/route.c
2443
rth->dst.error= -err;
net/ipv4/route.c
2957
u32 error;
net/ipv4/route.c
3072
error = rt->dst.error;
net/ipv4/route.c
3074
if (rtnl_put_cacheinfo(skb, &rt->dst, 0, expires, error) < 0)
net/ipv4/route.c
3373
if (err == 0 && rt->dst.error)
net/ipv4/route.c
3374
err = -rt->dst.error;
net/ipv4/route.c
3405
err = fib_props[res.type].error;
net/ipv4/route.c
964
switch (rt->dst.error) {
net/ipv4/route.c
978
switch (rt->dst.error) {
net/ipv4/tcp_bpf.c
686
desc->error = -EINVAL;
net/ipv4/udp.c
1979
int error;
net/ipv4/udp.c
1986
error = sock_error(sk);
net/ipv4/udp.c
1987
if (error)
net/ipv4/udp.c
1990
error = -EAGAIN;
net/ipv4/udp.c
2034
&error, &timeo,
net/ipv4/udp.c
2037
*err = error;
net/ipv4/udp.c
245
int error = -EADDRINUSE;
net/ipv4/udp.c
348
error = 0;
net/ipv4/udp.c
352
return error;
net/ipv4/udp_tunnel_core.c
21
goto error;
net/ipv4/udp_tunnel_core.c
26
goto error;
net/ipv4/udp_tunnel_core.c
35
goto error;
net/ipv4/udp_tunnel_core.c
44
goto error;
net/ipv4/udp_tunnel_core.c
52
error:
net/ipv6/addrconf.c
5153
goto error;
net/ipv6/addrconf.c
5182
goto error;
net/ipv6/addrconf.c
5185
goto error;
net/ipv6/addrconf.c
5190
goto error;
net/ipv6/addrconf.c
5194
goto error;
net/ipv6/addrconf.c
5197
goto error;
net/ipv6/addrconf.c
5201
goto error;
net/ipv6/addrconf.c
5206
error:
net/ipv6/af_inet6.c
1021
return skb_dst(skb)->error;
net/ipv6/ah6.c
686
goto error;
net/ipv6/ah6.c
691
goto error;
net/ipv6/ah6.c
701
goto error;
net/ipv6/ah6.c
708
goto error;
net/ipv6/ah6.c
723
goto error;
net/ipv6/ah6.c
740
goto error;
net/ipv6/ah6.c
746
error:
net/ipv6/anycast.c
113
goto error;
net/ipv6/anycast.c
124
goto error;
net/ipv6/anycast.c
133
goto error;
net/ipv6/anycast.c
162
error:
net/ipv6/anycast.c
314
goto error;
net/ipv6/anycast.c
320
goto error;
net/ipv6/anycast.c
325
error:
net/ipv6/anycast.c
87
goto error;
net/ipv6/anycast.c
93
goto error;
net/ipv6/esp6.c
1028
goto error;
net/ipv6/esp6.c
1035
goto error;
net/ipv6/esp6.c
1039
goto error;
net/ipv6/esp6.c
1043
error:
net/ipv6/esp6.c
1070
goto error;
net/ipv6/esp6.c
1080
goto error;
net/ipv6/esp6.c
1088
goto error;
net/ipv6/esp6.c
1098
goto error;
net/ipv6/esp6.c
1139
error:
net/ipv6/esp6.c
1161
goto error;
net/ipv6/esp6.c
1188
goto error;
net/ipv6/esp6.c
1206
error:
net/ipv6/esp6.c
556
goto error;
net/ipv6/esp6.c
624
goto error;
net/ipv6/esp6.c
644
error:
net/ipv6/exthdrs.c
463
if (skb_dst(skb)->error) {
net/ipv6/exthdrs.c
622
if (skb_dst(skb)->error) {
net/ipv6/exthdrs.c
809
if (skb_dst(skb)->error) {
net/ipv6/fib6_rules.c
122
if (rt != net->ipv6.ip6_null_entry && rt->dst.error != -EAGAIN)
net/ipv6/fib6_rules.c
127
if (rt->dst.error != -EAGAIN)
net/ipv6/fib6_rules.c
250
err = rt->dst.error;
net/ipv6/icmp.c
214
if (dst->error) {
net/ipv6/icmp.c
247
if (!dst->error) {
net/ipv6/ila/ila_lwt.c
79
if (dst->error) {
net/ipv6/ioam6_iptunnel.c
418
if (dst->error) {
net/ipv6/ioam6_iptunnel.c
419
err = dst->error;
net/ipv6/ip6_fib.c
328
if (rt->dst.error == -EAGAIN) {
net/ipv6/ip6_output.c
1129
rt = (*dst)->error ? NULL : dst_rt6_info(*dst);
net/ipv6/ip6_output.c
1146
if ((*dst)->error) {
net/ipv6/ip6_output.c
1158
err = (*dst)->error;
net/ipv6/ip6_output.c
1199
err = (*dst)->error;
net/ipv6/ip6_output.c
1660
goto error;
net/ipv6/ip6_output.c
1675
goto error;
net/ipv6/ip6_output.c
1709
goto error;
net/ipv6/ip6_output.c
1755
goto error;
net/ipv6/ip6_output.c
1762
goto error;
net/ipv6/ip6_output.c
1766
goto error;
net/ipv6/ip6_output.c
1774
goto error;
net/ipv6/ip6_output.c
1781
goto error;
net/ipv6/ip6_output.c
1804
goto error;
net/ipv6/ip6_output.c
1816
error:
net/ipv6/ip6_output.c
511
goto error;
net/ipv6/ip6_output.c
629
goto error;
net/ipv6/ip6_output.c
633
goto error;
net/ipv6/ip6_output.c
670
error:
net/ipv6/ip6_tunnel.c
1172
if (dst->error)
net/ipv6/ip6_tunnel.c
1847
if (!dst->error) {
net/ipv6/ip6_tunnel.c
1856
err = dst->error;
net/ipv6/ip6_udp_tunnel.c
26
goto error;
net/ipv6/ip6_udp_tunnel.c
31
goto error;
net/ipv6/ip6_udp_tunnel.c
36
goto error;
net/ipv6/ip6_udp_tunnel.c
46
goto error;
net/ipv6/ip6_udp_tunnel.c
59
goto error;
net/ipv6/ip6_udp_tunnel.c
67
error:
net/ipv6/ip6_vti.c
469
if (dst->error) {
net/ipv6/ip6mr.c
1046
((struct nlmsgerr *)nlmsg_data(nlh))->error = -EMSGSIZE;
net/ipv6/ip6mr.c
2070
if (dst->error) {
net/ipv6/ip6mr.c
804
((struct nlmsgerr *)nlmsg_data(nlh))->error = -ETIMEDOUT;
net/ipv6/ipcomp6.c
106
error:
net/ipv6/ipcomp6.c
88
goto error;
net/ipv6/ipcomp6.c
99
goto error;
net/ipv6/mcast.c
914
goto error;
net/ipv6/mcast.c
920
goto error;
net/ipv6/mcast.c
925
error:
net/ipv6/ndisc.c
1695
if (dst->error) {
net/ipv6/netfilter.c
117
err = result->error;
net/ipv6/netfilter.c
50
err = dst->error;
net/ipv6/netfilter/ip6t_rpfilter.c
64
if (rt->dst.error)
net/ipv6/netfilter/nf_dup_ipv6.c
35
if (dst->error) {
net/ipv6/netfilter/nf_reject_ipv6.c
350
if (dst->error) {
net/ipv6/netfilter/nft_fib_ipv6.c
198
if (rt->dst.error)
net/ipv6/netfilter/nft_fib_ipv6.c
88
route_err = rt->dst.error;
net/ipv6/raw.c
619
goto error;
net/ipv6/raw.c
643
goto error;
net/ipv6/raw.c
675
error:
net/ipv6/route.c
1112
rt->dst.error = ip6_rt_type_to_error(fib6_type);
net/ipv6/route.c
1141
rt->dst.error = 0;
net/ipv6/route.c
1329
if (dst->error == 0)
net/ipv6/route.c
298
.error = -ENETUNREACH,
net/ipv6/route.c
3012
if (!dst->error)
net/ipv6/route.c
312
.error = -EACCES,
net/ipv6/route.c
324
.error = -EINVAL,
net/ipv6/route.c
5933
if (rtnl_put_cacheinfo(skb, dst, 0, expires, dst ? dst->error : 0) < 0)
net/ipv6/route.c
6290
if (rt->dst.error) {
net/ipv6/route.c
6291
err = rt->dst.error;
net/ipv6/route.c
6297
err = rt->dst.error;
net/ipv6/rpl_iptunnel.c
233
if (dst->error) {
net/ipv6/rpl_iptunnel.c
234
err = dst->error;
net/ipv6/rpl_iptunnel.c
293
if (!dst->error && lwtst != dst->lwtstate) {
net/ipv6/seg6_iptunnel.c
505
if (!dst->error && lwtst != dst->lwtstate) {
net/ipv6/seg6_iptunnel.c
586
if (dst->error) {
net/ipv6/seg6_iptunnel.c
587
err = dst->error;
net/ipv6/seg6_local.c
1120
goto error;
net/ipv6/seg6_local.c
1123
goto error;
net/ipv6/seg6_local.c
1127
error:
net/ipv6/seg6_local.c
316
if (dst && (dst_dev(dst)->flags & dev_flags) && !dst->error) {
net/ipv6/seg6_local.c
330
return dst->error;
net/ipv6/xfrm6_policy.c
45
err = dst->error;
net/ipv6/xfrm6_policy.c
46
if (dst->error) {
net/ipv6/xfrm6_protocol.c
91
if (dst->error)
net/iucv/iucv.c
1469
char *error;
net/iucv/iucv.c
1473
error = iucv_error_no_memory;
net/iucv/iucv.c
1500
error = iucv_error_no_listener;
net/iucv/iucv.c
1502
iucv_sever_pathid(ipp->ippathid, error);
net/l2tp/l2tp_eth.c
112
goto error;
net/l2tp/l2tp_eth.c
141
error:
net/l2tp/l2tp_ip.c
467
goto error;
net/l2tp/l2tp_ip.c
482
goto error;
net/l2tp/l2tp_ip.c
523
error:
net/l2tp/l2tp_ppp.c
254
int error;
net/l2tp/l2tp_ppp.c
259
error = -ENOTCONN;
net/l2tp/l2tp_ppp.c
261
goto error;
net/l2tp/l2tp_ppp.c
264
error = -EBADF;
net/l2tp/l2tp_ppp.c
267
goto error;
net/l2tp/l2tp_ppp.c
274
error = -ENOMEM;
net/l2tp/l2tp_ppp.c
295
error = memcpy_from_msg(skb_put(skb, total_len), m, total_len);
net/l2tp/l2tp_ppp.c
296
if (error < 0) {
net/l2tp/l2tp_ppp.c
311
error:
net/l2tp/l2tp_ppp.c
312
return error;
net/l2tp/l2tp_ppp.c
415
int error;
net/l2tp/l2tp_ppp.c
420
error = -EBADF;
net/l2tp/l2tp_ppp.c
423
goto error;
net/l2tp/l2tp_ppp.c
445
error:
net/l2tp/l2tp_ppp.c
447
return error;
net/l2tp/l2tp_ppp.c
471
int error = -ENOMEM;
net/l2tp/l2tp_ppp.c
491
error = 0;
net/l2tp/l2tp_ppp.c
494
return error;
net/l2tp/l2tp_ppp.c
631
int error;
net/l2tp/l2tp_ppp.c
653
error = l2tp_tunnel_create(info->fd,
net/l2tp/l2tp_ppp.c
658
if (error < 0)
net/l2tp/l2tp_ppp.c
659
return ERR_PTR(error);
net/l2tp/l2tp_ppp.c
662
error = l2tp_tunnel_register(tunnel, net, &tcfg);
net/l2tp/l2tp_ppp.c
663
if (error < 0) {
net/l2tp/l2tp_ppp.c
665
return ERR_PTR(error);
net/l2tp/l2tp_ppp.c
700
int error;
net/l2tp/l2tp_ppp.c
702
error = pppol2tp_sockaddr_get_info(uservaddr, sockaddr_len, &info);
net/l2tp/l2tp_ppp.c
703
if (error < 0)
net/l2tp/l2tp_ppp.c
704
return error;
net/l2tp/l2tp_ppp.c
717
error = -EBUSY;
net/l2tp/l2tp_ppp.c
722
error = -EALREADY;
net/l2tp/l2tp_ppp.c
735
error = -EPROTOTYPE;
net/l2tp/l2tp_ppp.c
749
error = -EEXIST;
net/l2tp/l2tp_ppp.c
759
error = PTR_ERR(session);
net/l2tp/l2tp_ppp.c
770
error = l2tp_session_register(session, tunnel);
net/l2tp/l2tp_ppp.c
771
if (error < 0) {
net/l2tp/l2tp_ppp.c
786
error = 0;
net/l2tp/l2tp_ppp.c
801
error = ppp_register_net_channel(sock_net(sk), &po->chan);
net/l2tp/l2tp_ppp.c
802
if (error) {
net/l2tp/l2tp_ppp.c
823
if (error) {
net/l2tp/l2tp_ppp.c
834
return error;
net/l2tp/l2tp_ppp.c
844
int error;
net/l2tp/l2tp_ppp.c
849
error = -ENOENT;
net/l2tp/l2tp_ppp.c
858
error = PTR_ERR(session);
net/l2tp/l2tp_ppp.c
864
error = l2tp_session_register(session, tunnel);
net/l2tp/l2tp_ppp.c
865
if (error < 0)
net/l2tp/l2tp_ppp.c
873
return error;
net/l2tp/l2tp_ppp.c
884
int error = 0;
net/l2tp/l2tp_ppp.c
891
error = -ENOTCONN;
net/l2tp/l2tp_ppp.c
897
error = -EBADF;
net/l2tp/l2tp_ppp.c
980
error = len;
net/l2tp/l2tp_ppp.c
984
return error;
net/mac80211/cfg.c
1699
goto error;
net/mac80211/cfg.c
1704
goto error;
net/mac80211/cfg.c
1710
goto error;
net/mac80211/cfg.c
1716
goto error;
net/mac80211/cfg.c
1730
goto error;
net/mac80211/cfg.c
1750
error:
net/mac80211/ibss.c
203
goto error;
net/mac80211/ibss.c
206
error:
net/mac80211/mlme.c
10085
req->links[i].error = err;
net/mac80211/mlme.c
9878
req->links[i].error = err;
net/mac80211/mlme.c
9884
req->links[i].error = err;
net/mac80211/mlme.c
9911
req->links[i].error = err;
net/mac80211/mlme.c
9919
req->links[i].error = err;
net/mac80211/scan.c
1374
goto error;
net/mac80211/scan.c
1382
error:
net/mac80211/tests/chan-mode.c
134
.error = EINVAL,
net/mac80211/tests/chan-mode.c
253
if (params->error) {
net/mac80211/tests/chan-mode.c
255
KUNIT_ASSERT_EQ(test, PTR_ERR(elems), -params->error);
net/mac80211/tests/chan-mode.c
35
int error;
net/mac80211/tests/chan-mode.c
54
.error = EINVAL,
net/mctp/test/sock-test.c
256
int error;
net/mctp/test/sock-test.c
310
t->bind2->bind_net, peer2, t->error);
net/mctp/test/sock-test.c
368
KUNIT_EXPECT_EQ(test, -bind_errno, pair->error);
net/mctp/test/sock-test.c
373
KUNIT_EXPECT_EQ(test, -bind_errno, pair->error);
net/ncsi/ncsi-manage.c
1017
goto error;
net/ncsi/ncsi-manage.c
1033
goto error;
net/ncsi/ncsi-manage.c
1173
goto error;
net/ncsi/ncsi-manage.c
1233
error:
net/ncsi/ncsi-manage.c
1382
goto error;
net/ncsi/ncsi-manage.c
1402
goto error;
net/ncsi/ncsi-manage.c
1429
goto error;
net/ncsi/ncsi-manage.c
1441
goto error;
net/ncsi/ncsi-manage.c
1453
goto error;
net/ncsi/ncsi-manage.c
1479
goto error;
net/ncsi/ncsi-manage.c
1508
goto error;
net/ncsi/ncsi-manage.c
1527
error:
net/ncsi/ncsi-manage.c
509
goto error;
net/ncsi/ncsi-manage.c
520
goto error;
net/ncsi/ncsi-manage.c
539
goto error;
net/ncsi/ncsi-manage.c
553
goto error;
net/ncsi/ncsi-manage.c
575
goto error;
net/ncsi/ncsi-manage.c
593
error:
net/ncsi/ncsi-netlink.c
583
nle->error = err;
net/netfilter/ipset/ip_set_core.c
1529
goto error;
net/netfilter/ipset/ip_set_core.c
1540
goto error;
net/netfilter/ipset/ip_set_core.c
1558
error:
net/netfilter/ipset/ip_set_core.c
1779
errmsg->error = ret;
net/netfilter/ipvs/ip_vs_ctl.c
80
is_local = !dst->error && dst->dev && (dst->dev->flags & IFF_LOOPBACK);
net/netfilter/ipvs/ip_vs_sync.c
1476
goto error;
net/netfilter/ipvs/ip_vs_sync.c
1482
goto error;
net/netfilter/ipvs/ip_vs_sync.c
1499
goto error;
net/netfilter/ipvs/ip_vs_sync.c
1507
goto error;
net/netfilter/ipvs/ip_vs_sync.c
1512
error:
net/netfilter/ipvs/ip_vs_sync.c
1533
goto error;
net/netfilter/ipvs/ip_vs_sync.c
1547
goto error;
net/netfilter/ipvs/ip_vs_sync.c
1561
goto error;
net/netfilter/ipvs/ip_vs_sync.c
1566
error:
net/netfilter/ipvs/ip_vs_xmit.c
1005
error:
net/netfilter/ipvs/ip_vs_xmit.c
448
if (dst->error)
net/netfilter/ipvs/ip_vs_xmit.c
965
goto error;
net/netfilter/nf_conntrack_bpf.c
301
opts->error = PTR_ERR(nfct);
net/netfilter/nf_conntrack_bpf.c
335
opts->error = PTR_ERR(nfct);
net/netfilter/nf_conntrack_bpf.c
367
opts->error = PTR_ERR(nfct);
net/netfilter/nf_conntrack_bpf.c
401
opts->error = PTR_ERR(nfct);
net/netfilter/nf_conntrack_bpf.c
56
s32 error;
net/netfilter/nf_conntrack_core.c
1953
NF_CT_STAT_INC_ATOMIC(state->net, error);
net/netfilter/nf_conntrack_netlink.c
2511
nla_put_be32(skb, CTA_STATS_ERROR, htonl(st->error)) ||
net/netfilter/nf_conntrack_standalone.c
466
st->error,
net/netfilter/nf_flow_table_bpf.c
22
s32 error;
net/netfilter/nf_flow_table_bpf.c
74
opts->error = -EINVAL;
net/netfilter/nf_flow_table_bpf.c
90
opts->error = -EAFNOSUPPORT;
net/netfilter/nf_flow_table_bpf.c
96
opts->error = PTR_ERR(tuplehash);
net/netfilter/nfnetlink.c
185
int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error)
net/netfilter/nfnetlink.c
189
return netlink_set_err(nfnlnet->nfnl, portid, group, error);
net/netfilter/x_tables.c
1412
int *error)
net/netfilter/x_tables.c
1420
*error = ret;
net/netfilter/x_tables.c
1433
*error = -EAGAIN;
net/netfilter/x_tables.c
617
goto error;
net/netfilter/x_tables.c
621
goto error;
net/netfilter/x_tables.c
625
goto error;
net/netfilter/x_tables.c
629
goto error;
net/netfilter/x_tables.c
638
error:
net/netlabel/netlabel_kapi.c
1426
void netlbl_skbuff_err(struct sk_buff *skb, u16 family, int error, int gateway)
net/netlabel/netlabel_kapi.c
1431
cipso_v4_error(skb, error, gateway);
net/netlink/af_netlink.c
2496
errmsg->error = err;
net/netlink/genetlink.c
1943
goto error;
net/netlink/genetlink.c
1950
goto error;
net/netlink/genetlink.c
1964
error:
net/nfc/core.c
104
goto error;
net/nfc/core.c
109
goto error;
net/nfc/core.c
114
goto error;
net/nfc/core.c
127
error:
net/nfc/core.c
147
goto error;
net/nfc/core.c
152
goto error;
net/nfc/core.c
157
goto error;
net/nfc/core.c
165
error:
net/nfc/core.c
212
goto error;
net/nfc/core.c
217
goto error;
net/nfc/core.c
222
goto error;
net/nfc/core.c
231
error:
net/nfc/core.c
251
goto error;
net/nfc/core.c
256
goto error;
net/nfc/core.c
263
error:
net/nfc/core.c
296
goto error;
net/nfc/core.c
301
goto error;
net/nfc/core.c
307
goto error;
net/nfc/core.c
313
goto error;
net/nfc/core.c
322
error:
net/nfc/core.c
340
goto error;
net/nfc/core.c
345
goto error;
net/nfc/core.c
357
error:
net/nfc/core.c
406
goto error;
net/nfc/core.c
411
goto error;
net/nfc/core.c
417
goto error;
net/nfc/core.c
43
goto error;
net/nfc/core.c
430
error:
net/nfc/core.c
453
goto error;
net/nfc/core.c
458
goto error;
net/nfc/core.c
463
goto error;
net/nfc/core.c
472
error:
net/nfc/core.c
48
goto error;
net/nfc/core.c
501
goto error;
net/nfc/core.c
508
goto error;
net/nfc/core.c
525
goto error;
net/nfc/core.c
529
error:
net/nfc/core.c
53
goto error;
net/nfc/core.c
557
goto error;
net/nfc/core.c
562
goto error;
net/nfc/core.c
567
goto error;
net/nfc/core.c
572
goto error;
net/nfc/core.c
578
goto error;
net/nfc/core.c
583
goto error;
net/nfc/core.c
590
error:
net/nfc/core.c
606
goto error;
net/nfc/core.c
61
error:
net/nfc/core.c
611
goto error;
net/nfc/core.c
616
goto error;
net/nfc/core.c
622
goto error;
net/nfc/core.c
627
goto error;
net/nfc/core.c
634
error:
net/nfc/core.c
99
goto error;
net/nfc/digital_dep.c
247
goto error;
net/nfc/digital_dep.c
260
goto error;
net/nfc/digital_dep.c
275
goto error;
net/nfc/digital_dep.c
286
error:
net/nfc/digital_dep.c
706
goto error;
net/nfc/digital_dep.c
715
goto error;
net/nfc/digital_dep.c
737
goto error;
net/nfc/digital_dep.c
745
goto error;
net/nfc/digital_dep.c
762
goto error;
net/nfc/digital_dep.c
770
goto error;
net/nfc/digital_dep.c
780
goto error;
net/nfc/digital_dep.c
790
goto error;
net/nfc/digital_dep.c
805
goto error;
net/nfc/digital_dep.c
850
goto error;
net/nfc/digital_dep.c
858
goto error;
net/nfc/digital_dep.c
866
goto error;
net/nfc/digital_dep.c
873
goto error;
net/nfc/digital_dep.c
878
goto error;
net/nfc/digital_dep.c
886
error:
net/nfc/llcp_sock.c
144
error:
net/nfc/llcp_sock.c
173
goto error;
net/nfc/llcp_sock.c
179
goto error;
net/nfc/llcp_sock.c
199
error:
net/nfc/llcp_sock.c
216
goto error;
net/nfc/llcp_sock.c
225
error:
net/nfc/llcp_sock.c
463
goto error;
net/nfc/llcp_sock.c
491
goto error;
net/nfc/llcp_sock.c
497
error:
net/nfc/llcp_sock.c
676
goto error;
net/nfc/llcp_sock.c
680
goto error;
net/nfc/llcp_sock.c
686
goto error;
net/nfc/llcp_sock.c
770
error:
net/nfc/llcp_sock.c
86
goto error;
net/nfc/llcp_sock.c
92
goto error;
net/nfc/netlink.c
1431
goto error;
net/nfc/netlink.c
1436
goto error;
net/nfc/netlink.c
1441
goto error;
net/nfc/netlink.c
1447
goto error;
net/nfc/netlink.c
1452
goto error;
net/nfc/netlink.c
1461
error:
net/nfc/rawsock.c
108
goto error;
net/nfc/rawsock.c
114
goto error;
net/nfc/rawsock.c
138
error:
net/nfc/rawsock.c
160
goto error;
net/nfc/rawsock.c
183
error:
net/openvswitch/datapath.c
1008
int error;
net/openvswitch/datapath.c
1012
error = -EINVAL;
net/openvswitch/datapath.c
1015
goto error;
net/openvswitch/datapath.c
1019
goto error;
net/openvswitch/datapath.c
1027
error = PTR_ERR(new_flow);
net/openvswitch/datapath.c
1028
goto error;
net/openvswitch/datapath.c
1034
error = -ENOMEM;
net/openvswitch/datapath.c
1039
error = ovs_nla_get_match(net, &match, a[OVS_FLOW_ATTR_KEY],
net/openvswitch/datapath.c
1041
if (error)
net/openvswitch/datapath.c
1047
error = ovs_nla_get_identifier(&new_flow->id, a[OVS_FLOW_ATTR_UFID],
net/openvswitch/datapath.c
1049
if (error)
net/openvswitch/datapath.c
1053
error = ovs_nla_copy_actions(net, a[OVS_FLOW_ATTR_ACTIONS],
net/openvswitch/datapath.c
1055
if (error) {
net/openvswitch/datapath.c
1063
error = PTR_ERR(reply);
net/openvswitch/datapath.c
1070
error = -ENODEV;
net/openvswitch/datapath.c
1083
error = ovs_flow_tbl_insert(&dp->table, new_flow, &mask);
net/openvswitch/datapath.c
1084
if (unlikely(error)) {
net/openvswitch/datapath.c
1090
error = ovs_flow_cmd_fill_info(new_flow,
net/openvswitch/datapath.c
1096
BUG_ON(error < 0);
net/openvswitch/datapath.c
1110
error = -EEXIST;
net/openvswitch/datapath.c
1123
error = -ENOENT;
net/openvswitch/datapath.c
1132
error = ovs_flow_cmd_fill_info(flow,
net/openvswitch/datapath.c
1138
BUG_ON(error < 0);
net/openvswitch/datapath.c
1161
error:
net/openvswitch/datapath.c
1162
return error;
net/openvswitch/datapath.c
1175
int error;
net/openvswitch/datapath.c
1178
error = ovs_nla_copy_actions(net, a, &masked_key, &acts, log);
net/openvswitch/datapath.c
1179
if (error) {
net/openvswitch/datapath.c
1182
return ERR_PTR(error);
net/openvswitch/datapath.c
1210
int error = 0;
net/openvswitch/datapath.c
1214
error = ovs_nla_get_match(net, match, a[OVS_FLOW_ATTR_KEY],
net/openvswitch/datapath.c
1216
if (error)
net/openvswitch/datapath.c
1217
goto error;
net/openvswitch/datapath.c
1224
error = -EINVAL;
net/openvswitch/datapath.c
1225
goto error;
net/openvswitch/datapath.c
1231
error = PTR_ERR(*acts);
net/openvswitch/datapath.c
1232
goto error;
net/openvswitch/datapath.c
1237
error:
net/openvswitch/datapath.c
1239
return error;
net/openvswitch/datapath.c
1255
int error = 0;
net/openvswitch/datapath.c
1266
error = ovs_nla_init_match_and_action(net, &match, &key, a,
net/openvswitch/datapath.c
1268
if (error)
net/openvswitch/datapath.c
1269
goto error;
net/openvswitch/datapath.c
1276
error = PTR_ERR(reply);
net/openvswitch/datapath.c
1284
error = -ENODEV;
net/openvswitch/datapath.c
1293
error = -ENOENT;
net/openvswitch/datapath.c
1303
error = ovs_flow_cmd_fill_info(flow,
net/openvswitch/datapath.c
1309
BUG_ON(error < 0);
net/openvswitch/datapath.c
1318
error = PTR_ERR(reply);
net/openvswitch/datapath.c
1340
error:
net/openvswitch/datapath.c
1341
return error;
net/openvswitch/datapath.c
1606
goto error;
net/openvswitch/datapath.c
1642
error:
net/openvswitch/datapath.c
2173
goto error;
net/openvswitch/datapath.c
2182
error:
net/openvswitch/datapath.c
257
int error;
net/openvswitch/datapath.c
2650
goto error;
net/openvswitch/datapath.c
2655
error:
net/openvswitch/datapath.c
2784
goto error;
net/openvswitch/datapath.c
2788
goto error;
net/openvswitch/datapath.c
279
error = ovs_dp_upcall(dp, skb, key, &upcall, 0);
net/openvswitch/datapath.c
280
switch (error) {
net/openvswitch/datapath.c
2831
error:
net/openvswitch/datapath.c
309
error = ovs_execute_actions(dp, skb, sf_acts, key);
net/openvswitch/datapath.c
310
if (unlikely(error))
net/openvswitch/datapath.c
312
ovs_dp_name(dp), error);
net/openvswitch/datapath.c
918
goto error;
net/openvswitch/datapath.c
923
goto error;
net/openvswitch/datapath.c
929
goto error;
net/openvswitch/datapath.c
934
goto error;
net/openvswitch/datapath.c
939
goto error;
net/openvswitch/datapath.c
945
error:
net/openvswitch/flow.c
681
int error;
net/openvswitch/flow.c
688
error = check_iphdr(skb);
net/openvswitch/flow.c
689
if (unlikely(error)) {
net/openvswitch/flow.c
692
if (error == -EINVAL) {
net/openvswitch/flow.c
694
error = 0;
net/openvswitch/flow.c
696
return error;
net/openvswitch/flow.c
794
error = check_header(skb, skb->mac_len +
net/openvswitch/flow.c
796
if (unlikely(error))
net/openvswitch/flow.c
828
error = 0;
net/openvswitch/flow.c
831
error = nh_len;
net/openvswitch/flow.c
833
return error;
net/openvswitch/flow.c
871
error = parse_icmpv6(skb, key, nh_len);
net/openvswitch/flow.c
872
if (error)
net/openvswitch/flow.c
873
return error;
net/openvswitch/flow.c
879
error = parse_nsh(skb, key);
net/openvswitch/flow.c
880
if (error)
net/openvswitch/flow.c
881
return error;
net/openvswitch/flow_netlink.c
3011
int error;
net/openvswitch/flow_netlink.c
3013
error = nla_parse_deprecated_strict(a, OVS_USERSPACE_ATTR_MAX,
net/openvswitch/flow_netlink.c
3016
if (error)
net/openvswitch/flow_netlink.c
3017
return error;
net/openvswitch/meter.c
240
goto error;
net/openvswitch/meter.c
244
goto error;
net/openvswitch/meter.c
248
goto error;
net/openvswitch/meter.c
252
goto error;
net/openvswitch/meter.c
263
goto error;
net/openvswitch/meter.c
269
error:
net/openvswitch/vport-geneve.c
102
error:
net/openvswitch/vport-geneve.c
64
goto error;
net/openvswitch/vport-geneve.c
73
goto error;
net/openvswitch/vport-geneve.c
97
goto error;
net/openvswitch/vport-internal_dev.c
133
goto error;
net/openvswitch/vport-internal_dev.c
171
error:
net/openvswitch/vport-netdev.c
35
goto error;
net/openvswitch/vport-netdev.c
38
goto error;
net/openvswitch/vport-netdev.c
52
error:
net/openvswitch/vport-vxlan.c
109
goto error;
net/openvswitch/vport-vxlan.c
126
goto error;
net/openvswitch/vport-vxlan.c
131
error:
net/openvswitch/vport-vxlan.c
88
goto error;
net/openvswitch/vport-vxlan.c
97
goto error;
net/openvswitch/vport.c
498
int error;
net/openvswitch/vport.c
515
error = ovs_flow_key_extract(tun_info, skb, &key);
net/openvswitch/vport.c
516
if (unlikely(error)) {
net/openvswitch/vport.c
518
return error;
net/psample/psample.c
418
goto error;
net/psample/psample.c
423
goto error;
net/psample/psample.c
429
goto error;
net/psample/psample.c
434
goto error;
net/psample/psample.c
438
goto error;
net/psample/psample.c
442
goto error;
net/psample/psample.c
446
goto error;
net/psample/psample.c
451
goto error;
net/psample/psample.c
458
goto error;
net/psample/psample.c
465
goto error;
net/psample/psample.c
471
goto error;
net/psample/psample.c
476
goto error;
net/psample/psample.c
487
goto error;
net/psample/psample.c
494
goto error;
net/psample/psample.c
501
goto error;
net/psample/psample.c
505
goto error;
net/psample/psample.c
512
error:
net/psample/psample.c
54
goto error;
net/psample/psample.c
58
goto error;
net/psample/psample.c
62
goto error;
net/psample/psample.c
67
error:
net/rds/tcp_recv.c
177
desc->error = -ENOMEM;
net/rds/tcp_recv.c
221
desc->error = -ENOMEM;
net/rds/tcp_recv.c
274
desc.error = 0;
net/rds/tcp_recv.c
279
desc.error);
net/rds/tcp_recv.c
285
return desc.error;
net/rfkill/core.c
1064
int error;
net/rfkill/core.c
1074
error = -EALREADY;
net/rfkill/core.c
1084
error = device_add(dev);
net/rfkill/core.c
1085
if (error)
net/rfkill/core.c
1088
error = rfkill_led_trigger_register(rfkill);
net/rfkill/core.c
1089
if (error)
net/rfkill/core.c
1127
return error;
net/rfkill/core.c
1409
int error;
net/rfkill/core.c
1413
error = class_register(&rfkill_class);
net/rfkill/core.c
1414
if (error)
net/rfkill/core.c
1417
error = misc_register(&rfkill_miscdev);
net/rfkill/core.c
1418
if (error)
net/rfkill/core.c
1421
error = rfkill_global_led_trigger_register();
net/rfkill/core.c
1422
if (error)
net/rfkill/core.c
1426
error = rfkill_handler_init();
net/rfkill/core.c
1427
if (error)
net/rfkill/core.c
1442
return error;
net/rfkill/core.c
859
int error;
net/rfkill/core.c
861
error = add_uevent_var(env, "RFKILL_NAME=%s", rfkill->name);
net/rfkill/core.c
862
if (error)
net/rfkill/core.c
863
return error;
net/rfkill/core.c
864
error = add_uevent_var(env, "RFKILL_TYPE=%s",
net/rfkill/core.c
866
if (error)
net/rfkill/core.c
867
return error;
net/rfkill/core.c
872
error = add_uevent_var(env, "RFKILL_STATE=%d",
net/rfkill/core.c
874
if (error)
net/rfkill/core.c
875
return error;
net/rfkill/input.c
222
int error;
net/rfkill/input.c
233
error = input_register_handle(handle);
net/rfkill/input.c
234
if (error)
net/rfkill/input.c
237
error = input_open_device(handle);
net/rfkill/input.c
238
if (error)
net/rfkill/input.c
247
return error;
net/rxrpc/af_rxrpc.c
142
goto error;
net/rxrpc/af_rxrpc.c
202
error:
net/rxrpc/af_rxrpc.c
505
goto error;
net/rxrpc/af_rxrpc.c
516
goto error;
net/rxrpc/af_rxrpc.c
523
error:
net/rxrpc/af_rxrpc.c
649
goto error;
net/rxrpc/af_rxrpc.c
652
goto error;
net/rxrpc/af_rxrpc.c
659
goto error;
net/rxrpc/af_rxrpc.c
662
goto error;
net/rxrpc/af_rxrpc.c
664
goto error;
net/rxrpc/af_rxrpc.c
669
goto error;
net/rxrpc/af_rxrpc.c
672
goto error;
net/rxrpc/af_rxrpc.c
674
goto error;
net/rxrpc/af_rxrpc.c
679
goto error;
net/rxrpc/af_rxrpc.c
682
goto error;
net/rxrpc/af_rxrpc.c
687
goto error;
net/rxrpc/af_rxrpc.c
690
goto error;
net/rxrpc/af_rxrpc.c
698
goto error;
net/rxrpc/af_rxrpc.c
701
goto error;
net/rxrpc/af_rxrpc.c
705
goto error;
net/rxrpc/af_rxrpc.c
711
goto error;
net/rxrpc/af_rxrpc.c
719
goto error;
net/rxrpc/af_rxrpc.c
722
goto error;
net/rxrpc/af_rxrpc.c
726
goto error;
net/rxrpc/af_rxrpc.c
729
goto error;
net/rxrpc/af_rxrpc.c
743
error:
net/rxrpc/ar-internal.h
1090
int error);
net/rxrpc/ar-internal.h
1093
u32 abort_code, int error, enum rxrpc_abort_reason why);
net/rxrpc/ar-internal.h
1095
int error);
net/rxrpc/ar-internal.h
1472
bool rxrpc_propose_abort(struct rxrpc_call *call, s32 abort_code, int error,
net/rxrpc/ar-internal.h
602
short error; /* Local error code */
net/rxrpc/ar-internal.h
738
int error; /* Local error incurred */
net/rxrpc/call_object.c
300
goto error;
net/rxrpc/call_object.c
310
error:
net/rxrpc/call_object.c
469
conn->abort_code, conn->error);
net/rxrpc/call_state.c
16
int error)
net/rxrpc/call_state.c
22
call->error = error;
net/rxrpc/call_state.c
44
u32 abort_code, int error, enum rxrpc_abort_reason why)
net/rxrpc/call_state.c
47
abort_code, error);
net/rxrpc/call_state.c
49
abort_code, error))
net/rxrpc/call_state.c
61
int error)
net/rxrpc/call_state.c
64
call->error = error;
net/rxrpc/conn_event.c
225
conn->error);
net/rxrpc/conn_event.c
32
conn->error = err;
net/rxrpc/key.c
405
goto error;
net/rxrpc/key.c
410
error:
net/rxrpc/key.c
459
goto error;
net/rxrpc/key.c
468
goto error;
net/rxrpc/key.c
473
goto error;
net/rxrpc/key.c
477
goto error;
net/rxrpc/key.c
497
goto error;
net/rxrpc/key.c
505
goto error;
net/rxrpc/key.c
533
error:
net/rxrpc/key.c
678
goto error;
net/rxrpc/key.c
684
error:
net/rxrpc/oob.c
370
int error, enum rxrpc_abort_reason why)
net/rxrpc/oob.c
374
_enter("{%x},%d,%d,%u", sp->hdr.serial, abort_code, error, why);
net/rxrpc/oob.c
376
rxrpc_abort_conn(sp->chall.conn, NULL, abort_code, error, why);
net/rxrpc/oob.c
377
return error;
net/rxrpc/peer_object.c
194
if (dst->error) {
net/rxrpc/peer_object.c
195
_leave(" [route err %d]", dst->error);
net/rxrpc/recvmsg.c
661
ret = call->error;
net/rxrpc/recvmsg.c
88
tmp = -call->error;
net/rxrpc/recvmsg.c
92
tmp = -call->error;
net/rxrpc/rxgk.c
1163
goto error;
net/rxrpc/rxgk.c
1168
error:
net/rxrpc/rxgk.c
264
goto error;
net/rxrpc/rxgk.c
268
error:
net/rxrpc/rxgk.c
536
goto error;
net/rxrpc/rxgk.c
542
goto error;
net/rxrpc/rxgk.c
550
goto error;
net/rxrpc/rxgk.c
563
goto error;
net/rxrpc/rxgk.c
569
error:
net/rxrpc/rxgk.c
938
goto error;
net/rxrpc/rxgk.c
945
goto error;
net/rxrpc/rxgk.c
950
goto error;
net/rxrpc/rxgk.c
954
goto error;
net/rxrpc/rxgk.c
961
goto error;
net/rxrpc/rxgk.c
968
goto error;
net/rxrpc/rxgk.c
974
goto error;
net/rxrpc/rxgk.c
978
goto error;
net/rxrpc/rxgk.c
994
error:
net/rxrpc/rxgk_app.c
131
goto error;
net/rxrpc/rxgk_app.c
138
goto error;
net/rxrpc/rxgk_app.c
149
goto error;
net/rxrpc/rxgk_app.c
163
goto error;
net/rxrpc/rxgk_app.c
167
error:
net/rxrpc/rxgk_app.c
91
goto error;
net/rxrpc/rxkad.c
114
goto error;
net/rxrpc/rxkad.c
128
goto error;
net/rxrpc/rxkad.c
140
error:
net/rxrpc/rxkad.c
886
goto error;
net/rxrpc/rxkad.c
895
goto error;
net/rxrpc/rxkad.c
899
goto error;
net/rxrpc/rxkad.c
904
goto error;
net/rxrpc/rxkad.c
914
error:
net/rxrpc/rxperf.c
378
pr_debug("premature completion %d", call->error);
net/rxrpc/rxperf.c
379
return call->error;
net/rxrpc/rxperf.c
63
short error;
net/rxrpc/rxperf.c
90
int error, s32 remote_abort)
net/rxrpc/rxperf.c
94
call->error = error;
net/rxrpc/sendmsg.c
117
return call->error;
net/rxrpc/sendmsg.c
152
return call->error;
net/rxrpc/sendmsg.c
181
return call->error;
net/rxrpc/sendmsg.c
23
bool rxrpc_propose_abort(struct rxrpc_call *call, s32 abort_code, int error,
net/rxrpc/sendmsg.c
26
_enter("{%d},%d,%d,%u", call->debug_id, abort_code, error, why);
net/rxrpc/sendmsg.c
30
call->send_abort_err = error;
net/rxrpc/sendmsg.c
456
call->error < 0)
net/rxrpc/sendmsg.c
457
ret = call->error;
net/rxrpc/sendmsg.c
465
_leave(" = %d", call->error);
net/rxrpc/sendmsg.c
466
return call->error;
net/rxrpc/sendmsg.c
823
ret = call->error;
net/rxrpc/sendmsg.c
845
u32 abort_code, int error, enum rxrpc_abort_reason why)
net/rxrpc/sendmsg.c
849
_enter("{%d},%d,%d,%u", call->debug_id, abort_code, error, why);
net/rxrpc/sendmsg.c
852
aborted = rxrpc_propose_abort(call, abort_code, error, why);
net/rxrpc/sendmsg.c
86
ret = call->error;
net/sctp/associola.c
1034
error = sctp_do_sm(net, SCTP_EVENT_T_CHUNK, subtype,
net/sctp/associola.c
1044
if (error && chunk)
net/sctp/associola.c
779
sctp_sn_error_t error)
net/sctp/associola.c
795
error == SCTP_HEARTBEAT_SUCCESS)
net/sctp/associola.c
834
spc_state, error);
net/sctp/associola.c
972
int error = 0;
net/sctp/bind_addr.c
105
error = sctp_add_bind_addr(dest, &addr->a, sizeof(addr->a),
net/sctp/bind_addr.c
107
if (error < 0)
net/sctp/bind_addr.c
111
return error;
net/sctp/bind_addr.c
463
int error = 0;
net/sctp/bind_addr.c
466
error = sctp_copy_local_addr_list(net, dest, scope, gfp, flags);
net/sctp/bind_addr.c
478
error = sctp_add_bind_addr(dest, addr, sizeof(*addr),
net/sctp/bind_addr.c
482
return error;
net/sctp/bind_addr.c
49
int error = 0;
net/sctp/bind_addr.c
56
error = sctp_copy_one_addr(net, dest, &addr->a, scope,
net/sctp/bind_addr.c
58
if (error < 0)
net/sctp/bind_addr.c
68
error = sctp_copy_one_addr(net, dest, &addr->a,
net/sctp/bind_addr.c
71
if (error < 0)
net/sctp/bind_addr.c
80
error = -ENETUNREACH;
net/sctp/bind_addr.c
83
if (error)
net/sctp/bind_addr.c
86
return error;
net/sctp/bind_addr.c
99
int error = 0;
net/sctp/chunk.c
105
sent, error,
net/sctp/chunk.c
350
void sctp_chunk_fail(struct sctp_chunk *chunk, int error)
net/sctp/chunk.c
353
chunk->msg->send_error = error;
net/sctp/chunk.c
78
int error, sent;
net/sctp/chunk.c
91
error = msg->send_error ?: asoc->outqueue.error;
net/sctp/chunk.c
97
error, GFP_ATOMIC);
net/sctp/endpointola.c
339
int error = 0;
net/sctp/endpointola.c
408
error = sctp_do_sm(net, SCTP_EVENT_T_CHUNK, subtype, state,
net/sctp/endpointola.c
411
if (error && chunk)
net/sctp/output.c
192
int error = 0;
net/sctp/output.c
194
error = sctp_packet_transmit(packet, gfp);
net/sctp/output.c
195
if (error < 0)
net/sctp/output.c
196
chunk->skb->sk->sk_err = -error;
net/sctp/outqueue.c
1012
error = __sctp_outq_flush_rtx(ctx->q, ctx->packet, rtx_timeout,
net/sctp/outqueue.c
1014
if (error < 0)
net/sctp/outqueue.c
1015
ctx->asoc->base.sk->sk_err = -error;
net/sctp/outqueue.c
1161
int error = 0;
net/sctp/outqueue.c
1173
error = sctp_packet_transmit(packet, ctx->gfp);
net/sctp/outqueue.c
1174
if (error < 0)
net/sctp/outqueue.c
1175
ctx->q->asoc->base.sk->sk_err = -error;
net/sctp/outqueue.c
219
sctp_chunk_fail(chunk, q->error);
net/sctp/outqueue.c
229
sctp_chunk_fail(chunk, q->error);
net/sctp/outqueue.c
238
sctp_chunk_fail(chunk, q->error);
net/sctp/outqueue.c
247
sctp_chunk_fail(chunk, q->error);
net/sctp/outqueue.c
256
sctp_chunk_fail(chunk, q->error);
net/sctp/outqueue.c
605
int error = 0;
net/sctp/outqueue.c
680
error = sctp_packet_transmit(pkt, gfp);
net/sctp/outqueue.c
696
error = sctp_packet_transmit(pkt, gfp);
net/sctp/outqueue.c
706
error = sctp_packet_transmit(pkt, gfp);
net/sctp/outqueue.c
730
if (!error && !timer)
net/sctp/outqueue.c
755
return error;
net/sctp/outqueue.c
883
int one_packet, error;
net/sctp/outqueue.c
914
error = sctp_packet_singleton(ctx->transport, chunk,
net/sctp/outqueue.c
916
if (error < 0) {
net/sctp/outqueue.c
917
ctx->asoc->base.sk->sk_err = -error;
net/sctp/outqueue.c
945
error = sctp_packet_singleton(ctx->transport,
net/sctp/outqueue.c
947
if (!error)
net/sctp/outqueue.c
994
int error, start_timer = 0;
net/sctp/primitive.c
40
int error = 0; \
net/sctp/primitive.c
50
error = sctp_do_sm(net, event_type, subtype, state, ep, asoc, \
net/sctp/primitive.c
52
return error; \
net/sctp/protocol.c
140
int error = 0;
net/sctp/protocol.c
168
error = sctp_add_bind_addr(bp, &addr->a, sizeof(addr->a),
net/sctp/protocol.c
170
if (error)
net/sctp/protocol.c
175
return error;
net/sctp/sm_make_chunk.c
1096
static const char error[] = "The following parameter had invalid length:";
net/sctp/sm_make_chunk.c
1097
size_t payload_len = sizeof(error) + sizeof(struct sctp_errhdr) +
net/sctp/sm_make_chunk.c
1106
sizeof(error) + sizeof(*param));
net/sctp/sm_make_chunk.c
1107
sctp_addto_chunk(retval, sizeof(error), error);
net/sctp/sm_make_chunk.c
1118
static const char error[] = "Association exceeded its max_retrans count";
net/sctp/sm_make_chunk.c
1119
size_t payload_len = sizeof(error) + sizeof(struct sctp_errhdr);
net/sctp/sm_make_chunk.c
1126
sctp_init_cause(retval, SCTP_ERROR_PROTO_VIOLATION, sizeof(error));
net/sctp/sm_make_chunk.c
1127
sctp_addto_chunk(retval, sizeof(error), error);
net/sctp/sm_make_chunk.c
1726
int *error, struct sctp_chunk **errp)
net/sctp/sm_make_chunk.c
1770
*error = -SCTP_IERROR_BAD_SIG;
net/sctp/sm_make_chunk.c
1783
*error = -SCTP_IERROR_BAD_TAG;
net/sctp/sm_make_chunk.c
1789
*error = -SCTP_IERROR_BAD_PORTS;
net/sctp/sm_make_chunk.c
1822
*error = -SCTP_IERROR_STALE_COOKIE;
net/sctp/sm_make_chunk.c
1824
*error = -SCTP_IERROR_NOMEM;
net/sctp/sm_make_chunk.c
1833
*error = -SCTP_IERROR_NOMEM;
net/sctp/sm_make_chunk.c
1845
*error = -SCTP_IERROR_NOMEM;
net/sctp/sm_make_chunk.c
1877
*error = -SCTP_IERROR_MALFORMED;
net/sctp/sm_sideeffect.c
1039
static void sctp_cmd_set_sk_err(struct sctp_association *asoc, int error)
net/sctp/sm_sideeffect.c
1044
sk->sk_err = error;
net/sctp/sm_sideeffect.c
1139
pr_debug("%s[post-sfx]: error:%d, asoc:%p[%s]\n", __func__, error, \
net/sctp/sm_sideeffect.c
1162
int error = 0;
net/sctp/sm_sideeffect.c
1175
error = sctp_side_effects(event_type, subtype, state,
net/sctp/sm_sideeffect.c
1180
return error;
net/sctp/sm_sideeffect.c
1196
int error;
net/sctp/sm_sideeffect.c
1204
if (0 != (error = sctp_cmd_interpreter(event_type, subtype, state,
net/sctp/sm_sideeffect.c
1224
error = -ENOMEM;
net/sctp/sm_sideeffect.c
1259
error = status;
net/sctp/sm_sideeffect.c
1260
if (error >= 0)
net/sctp/sm_sideeffect.c
1261
error = -EINVAL;
net/sctp/sm_sideeffect.c
1267
return error;
net/sctp/sm_sideeffect.c
1294
int error = 0;
net/sctp/sm_sideeffect.c
1347
error = sctp_tsnmap_mark(&asoc->peer.tsn_map,
net/sctp/sm_sideeffect.c
1367
error = sctp_gen_sack(asoc, force, commands);
net/sctp/sm_sideeffect.c
1372
error = sctp_cmd_process_sack(commands, asoc,
net/sctp/sm_sideeffect.c
1381
error = -ENOMEM;
net/sctp/sm_sideeffect.c
1395
error = sctp_cmd_process_init(commands, asoc, chunk,
net/sctp/sm_sideeffect.c
1405
error = -ENOMEM;
net/sctp/sm_sideeffect.c
144
int error = 0;
net/sctp/sm_sideeffect.c
1454
error = -ENOMEM;
net/sctp/sm_sideeffect.c
1694
error = cmd->obj.error;
net/sctp/sm_sideeffect.c
1760
sctp_cmd_set_sk_err(asoc, cmd->obj.error);
net/sctp/sm_sideeffect.c
1774
error = sctp_auth_asoc_init_active_key(asoc,
net/sctp/sm_sideeffect.c
1805
if (error) {
net/sctp/sm_sideeffect.c
1829
return error;
net/sctp/sm_sideeffect.c
222
return error;
net/sctp/sm_sideeffect.c
224
error = -ENOMEM;
net/sctp/sm_sideeffect.c
225
return error;
net/sctp/sm_sideeffect.c
238
int error;
net/sctp/sm_sideeffect.c
253
error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT,
net/sctp/sm_sideeffect.c
259
if (error)
net/sctp/sm_sideeffect.c
260
sk->sk_err = -error;
net/sctp/sm_sideeffect.c
275
int error = 0;
net/sctp/sm_sideeffect.c
295
error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT,
net/sctp/sm_sideeffect.c
300
if (error)
net/sctp/sm_sideeffect.c
301
sk->sk_err = -error;
net/sctp/sm_sideeffect.c
374
int error = 0;
net/sctp/sm_sideeffect.c
396
error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT,
net/sctp/sm_sideeffect.c
401
if (error)
net/sctp/sm_sideeffect.c
402
sk->sk_err = -error;
net/sctp/sm_sideeffect.c
454
int error = 0;
net/sctp/sm_sideeffect.c
470
error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT,
net/sctp/sm_sideeffect.c
475
if (error)
net/sctp/sm_sideeffect.c
476
sk->sk_err = -error;
net/sctp/sm_sideeffect.c
491
int error = 0;
net/sctp/sm_sideeffect.c
503
error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT,
net/sctp/sm_sideeffect.c
508
if (error)
net/sctp/sm_sideeffect.c
509
sk->sk_err = -error;
net/sctp/sm_sideeffect.c
633
unsigned int error)
net/sctp/sm_sideeffect.c
638
(__u16)error, 0, 0, NULL,
net/sctp/sm_sideeffect.c
649
asoc->outqueue.error = error;
net/sctp/sm_sideeffect.c
659
unsigned int error)
net/sctp/sm_sideeffect.c
669
(__u16)error, 0, 0, chunk,
net/sctp/sm_sideeffect.c
673
(__u16)error, 0, 0, NULL,
net/sctp/sm_sideeffect.c
690
asoc->outqueue.error = error;
net/sctp/sm_sideeffect.c
705
int error;
net/sctp/sm_sideeffect.c
713
error = -ENOMEM;
net/sctp/sm_sideeffect.c
715
error = 0;
net/sctp/sm_sideeffect.c
717
return error;
net/sctp/sm_statefuns.c
104
__be16 error, int sk_err,
net/sctp/sm_statefuns.c
2211
int error = 0;
net/sctp/sm_statefuns.c
2238
new_asoc = sctp_unpack_cookie(ep, asoc, chunk, GFP_ATOMIC, &error,
net/sctp/sm_statefuns.c
2251
switch (error) {
net/sctp/sm_statefuns.c
2701
__be16 error = SCTP_ERROR_NO_ERROR;
net/sctp/sm_statefuns.c
2708
error = ((struct sctp_errhdr *)chunk->skb->data)->cause;
net/sctp/sm_statefuns.c
2712
sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, SCTP_PERR(error));
net/sctp/sm_statefuns.c
2732
__be16 error = SCTP_ERROR_NO_ERROR;
net/sctp/sm_statefuns.c
2755
error = ((struct sctp_errhdr *)chunk->skb->data)->cause;
net/sctp/sm_statefuns.c
2757
return sctp_stop_t1_and_abort(net, commands, error, ECONNREFUSED, asoc,
net/sctp/sm_statefuns.c
2802
__be16 error, int sk_err,
net/sctp/sm_statefuns.c
2816
SCTP_PERR(error));
net/sctp/sm_statefuns.c
3202
int error;
net/sctp/sm_statefuns.c
3214
error = sctp_eat_data(asoc, chunk, commands);
net/sctp/sm_statefuns.c
3215
switch (error) {
net/sctp/sm_statefuns.c
3322
int error;
net/sctp/sm_statefuns.c
3334
error = sctp_eat_data(asoc, chunk, commands);
net/sctp/sm_statefuns.c
3335
switch (error) {
net/sctp/sm_statefuns.c
4443
enum sctp_ierror error;
net/sctp/sm_statefuns.c
4461
error = sctp_sf_authenticate(asoc, chunk);
net/sctp/sm_statefuns.c
4462
switch (error) {
net/sctp/sm_statefuns.c
553
enum sctp_error error = SCTP_ERROR_NO_RESOURCE;
net/sctp/sm_statefuns.c
573
error = SCTP_ERROR_INV_PARAM;
net/sctp/sm_statefuns.c
592
return sctp_stop_t1_and_abort(net, commands, error, ECONNREFUSED,
net/sctp/sm_statefuns.c
714
int error = 0;
net/sctp/sm_statefuns.c
758
new_asoc = sctp_unpack_cookie(ep, asoc, chunk, GFP_ATOMIC, &error,
net/sctp/sm_statefuns.c
771
switch (error) {
net/sctp/sm_statefuns.c
809
error = sctp_auth_asoc_init_active_key(new_asoc, GFP_ATOMIC);
net/sctp/sm_statefuns.c
810
if (error)
net/sctp/socket.c
2433
int error;
net/sctp/socket.c
2436
error = sctp_primitive_REQUESTHEARTBEAT(trans->asoc->base.net,
net/sctp/socket.c
2438
if (error)
net/sctp/socket.c
2439
return error;
net/sctp/socket.c
2623
int error;
net/sctp/socket.c
2673
error = sctp_apply_peer_addr_params(params, trans, asoc, sp,
net/sctp/socket.c
2677
if (error)
net/sctp/socket.c
2678
return error;
net/sctp/socket.c
4927
int error = 0;
net/sctp/socket.c
4933
error = -EOPNOTSUPP;
net/sctp/socket.c
4939
error = -EINVAL;
net/sctp/socket.c
4945
error = sctp_wait_for_accept(sk, timeo);
net/sctp/socket.c
4946
if (error)
net/sctp/socket.c
4957
error = PTR_ERR(newsk);
net/sctp/socket.c
4963
arg->err = error;
net/sctp/socket.c
9003
int error;
net/sctp/socket.c
9009
error = sock_error(sk);
net/sctp/socket.c
9010
if (error)
net/sctp/socket.c
9023
error = -ENOTCONN;
net/sctp/socket.c
9047
error = sock_intr_errno(*timeo_p);
net/sctp/socket.c
9051
*err = error;
net/sctp/socket.c
9052
return error;
net/sctp/socket.c
9061
int error;
net/sctp/socket.c
9090
error = sock_error(sk);
net/sctp/socket.c
9091
if (error)
net/sctp/socket.c
9099
error = -EAGAIN;
net/sctp/socket.c
9107
*err = error;
net/sctp/ulpevent.c
116
__u16 flags, __u16 state, __u16 error, __u16 outbound,
net/sctp/ulpevent.c
201
sac->sac_error = error;
net/sctp/ulpevent.c
244
int flags, int state, int error, gfp_t gfp)
net/sctp/ulpevent.c
304
spc->spc_error = error;
net/sctp/ulpevent.c
340
int state, int error)
net/sctp/ulpevent.c
353
error, GFP_ATOMIC);
net/sctp/ulpevent.c
432
__u16 flags, __u32 error, gfp_t gfp)
net/sctp/ulpevent.c
500
ssf->ssf_error = error;
net/sctp/ulpevent.c
535
__u16 flags, __u32 error, gfp_t gfp)
net/sctp/ulpevent.c
558
ssf->ssf_error = error;
net/smc/smc_pnet.c
494
goto error;
net/smc/smc_pnet.c
497
goto error;
net/smc/smc_pnet.c
505
goto error;
net/smc/smc_pnet.c
519
goto error;
net/smc/smc_pnet.c
525
goto error;
net/smc/smc_pnet.c
529
error:
net/strparser/strparser.c
116
desc->error = -ENOMEM;
net/strparser/strparser.c
122
desc->error = -ENOMEM;
net/strparser/strparser.c
136
desc->error = err;
net/strparser/strparser.c
148
desc->error = -EINVAL;
net/strparser/strparser.c
155
desc->error = -ENOMEM;
net/strparser/strparser.c
174
desc->error = -ENOMEM;
net/strparser/strparser.c
197
desc->error = err;
net/strparser/strparser.c
357
desc.error = 0;
net/strparser/strparser.c
366
desc.error = strp->cb.read_sock_done(strp, desc.error);
net/strparser/strparser.c
368
return desc.error;
net/strparser/strparser.c
67
desc->error = err;
net/sunrpc/clnt.c
198
int error = 0;
net/sunrpc/clnt.c
202
error = __rpc_clnt_handle_event(clnt, event, sb);
net/sunrpc/clnt.c
203
if (error || clnt == clnt->cl_parent)
net/sunrpc/clnt.c
206
return error;
net/sunrpc/clnt.c
230
int error = 0;
net/sunrpc/clnt.c
233
error = __rpc_pipefs_event(clnt, event, sb);
net/sunrpc/clnt.c
234
if (error)
net/sunrpc/clnt.c
237
return error;
net/sunrpc/clnt.c
2655
int error;
net/sunrpc/clnt.c
2657
error = -EMSGSIZE;
net/sunrpc/clnt.c
2668
error = rpcauth_marshcred(task, xdr);
net/sunrpc/clnt.c
2669
if (error < 0)
net/sunrpc/clnt.c
2674
rpc_call_rpcerror(task, error);
net/sunrpc/clnt.c
2675
return error;
net/sunrpc/clnt.c
2682
int error;
net/sunrpc/clnt.c
2702
error = rpcauth_checkverf(task, xdr);
net/sunrpc/clnt.c
2703
if (error) {
net/sunrpc/clnt.c
2725
error = -EPFNOSUPPORT;
net/sunrpc/clnt.c
2729
error = -EPROTONOSUPPORT;
net/sunrpc/clnt.c
2733
error = -EOPNOTSUPP;
net/sunrpc/clnt.c
2738
error = -EIO;
net/sunrpc/clnt.c
2752
rpc_call_rpcerror(task, error);
net/sunrpc/clnt.c
2753
return error;
net/sunrpc/clnt.c
2757
error = -EIO;
net/sunrpc/clnt.c
2762
switch (error) {
net/sunrpc/clnt.c
2778
error = -EACCES;
net/sunrpc/clnt.c
2787
error = -EPROTONOSUPPORT;
net/sunrpc/clnt.c
902
unsigned long rpc_cancel_tasks(struct rpc_clnt *clnt, int error,
net/sunrpc/clnt.c
921
rpc_task_try_cancel(task, error);
net/sunrpc/rpc_pipe.c
927
int error = rpc_populate(dentry, cache_pipefs_files, 0, 3, cd);
net/sunrpc/rpc_pipe.c
928
if (error) {
net/sunrpc/rpc_pipe.c
930
return ERR_PTR(error);
net/sunrpc/rpcb_clnt.c
406
int error, result = 0;
net/sunrpc/rpcb_clnt.c
412
error = rpc_call_sync(clnt, msg, flags);
net/sunrpc/rpcb_clnt.c
413
if (error < 0)
net/sunrpc/rpcb_clnt.c
414
return error;
net/sunrpc/sched.c
872
void rpc_task_try_cancel(struct rpc_task *task, int error)
net/sunrpc/sched.c
876
if (!rpc_task_set_rpc_status(task, error))
net/sunrpc/svc.c
1041
int error;
net/sunrpc/svc.c
1054
error = rpcb_v4_register(net, program, version,
net/sunrpc/svc.c
1061
if (error == -EPROTONOSUPPORT)
net/sunrpc/svc.c
1062
error = rpcb_register(net, program, version, protocol, port);
net/sunrpc/svc.c
1064
return error;
net/sunrpc/svc.c
1089
int error;
net/sunrpc/svc.c
1102
error = rpcb_v4_register(net, program, version,
net/sunrpc/svc.c
1109
if (error == -EPROTONOSUPPORT)
net/sunrpc/svc.c
1110
error = -EAFNOSUPPORT;
net/sunrpc/svc.c
1112
return error;
net/sunrpc/svc.c
1128
int error = -EAFNOSUPPORT;
net/sunrpc/svc.c
1132
error = __svc_rpcb_register4(net, program, version,
net/sunrpc/svc.c
1137
error = __svc_rpcb_register6(net, program, version,
net/sunrpc/svc.c
1142
trace_svc_register(progname, version, family, protocol, port, error);
net/sunrpc/svc.c
1143
return error;
net/sunrpc/svc.c
1165
int error;
net/sunrpc/svc.c
1183
error = svc_rpcbind_set_version(net, progp, version,
net/sunrpc/svc.c
1186
return (vers->vs_rpcb_optnl) ? 0 : error;
net/sunrpc/svc.c
1205
int error = 0;
net/sunrpc/svc.c
1216
error = progp->pg_rpcbind_set(net, progp, i,
net/sunrpc/svc.c
1218
if (error < 0) {
net/sunrpc/svc.c
1221
progp->pg_name, i, -error);
net/sunrpc/svc.c
1227
return error;
net/sunrpc/svc.c
1240
int error;
net/sunrpc/svc.c
1242
error = rpcb_v4_register(net, program, version, NULL, "");
net/sunrpc/svc.c
1248
if (error == -EPROTONOSUPPORT)
net/sunrpc/svc.c
1249
error = rpcb_register(net, program, version, 0, 0);
net/sunrpc/svc.c
1251
trace_svc_unregister(progname, version, error);
net/sunrpc/svcsock.c
1158
goto error;
net/sunrpc/svcsock.c
1198
goto error;
net/sunrpc/svcsock.c
1219
error:
net/sunrpc/svcsock.c
1561
int error;
net/sunrpc/svcsock.c
1586
error = __sock_create(net, family, type, protocol, &sock, 1);
net/sunrpc/svcsock.c
1587
if (error < 0)
net/sunrpc/svcsock.c
1588
return ERR_PTR(error);
net/sunrpc/svcsock.c
1601
error = kernel_bind(sock, (struct sockaddr_unsized *)sin, len);
net/sunrpc/svcsock.c
1602
if (error < 0)
net/sunrpc/svcsock.c
1605
error = kernel_getsockname(sock, newsin);
net/sunrpc/svcsock.c
1606
if (error < 0)
net/sunrpc/svcsock.c
1608
newlen = error;
net/sunrpc/svcsock.c
1612
if ((error = kernel_listen(sock, SOMAXCONN)) < 0)
net/sunrpc/svcsock.c
1618
error = PTR_ERR(svsk);
net/sunrpc/svcsock.c
1625
return ERR_PTR(error);
net/tipc/msg.c
337
goto error;
net/tipc/msg.c
352
error:
net/tipc/msg.c
411
goto error;
net/tipc/msg.c
441
goto error;
net/tipc/msg.c
456
goto error;
net/tipc/msg.c
470
error:
net/tipc/msg.c
786
goto error;
net/tipc/msg.c
791
goto error;
net/tipc/msg.c
795
error:
net/tipc/socket.c
306
static void tsk_rej_rx_queue(struct sock *sk, int error)
net/tipc/socket.c
311
tipc_sk_respond(sk, skb, error);
net/tipc/socket.c
548
static void __tipc_shutdown(struct socket *sock, int error)
net/tipc/socket.c
575
tsk_rej_rx_queue(sk, error);
net/tipc/socket.c
588
tipc_sk_respond(sk, skb, error);
net/tipc/socket.c
594
tsk->portid, error);
net/tipc/socket.c
600
tsk_rej_rx_queue(sk, error);
net/tls/tls_strp.c
363
desc->error = ret;
net/tls/tls_strp.c
382
desc.error = 0;
net/tls/tls_strp.c
388
return desc.error;
net/wireless/mlme.c
407
req->links[i].error = -EINVAL;
net/wireless/mlme.c
408
goto error;
net/wireless/mlme.c
416
req->links[i].error = -EINVAL;
net/wireless/mlme.c
417
goto error;
net/wireless/mlme.c
424
req->links[i].error = -EINVAL;
net/wireless/mlme.c
425
goto error;
net/wireless/mlme.c
432
req->links[i].error = -EINVAL;
net/wireless/mlme.c
433
goto error;
net/wireless/mlme.c
438
goto error;
net/wireless/mlme.c
445
goto error;
net/wireless/mlme.c
449
req->links[i].error = -EINVAL;
net/wireless/mlme.c
450
goto error;
net/wireless/mlme.c
456
error:
net/wireless/nl80211.c
12597
if (!req.links[link_id].error ||
net/wireless/nl80211.c
12598
WARN_ON(req.links[link_id].error > 0))
net/wireless/nl80211.c
12604
err = req.links[link_id].error;
net/wireless/nl80211.c
15071
goto error;
net/wireless/nl80211.c
15076
goto error;
net/wireless/nl80211.c
15080
goto error;
net/wireless/nl80211.c
15083
goto error;
net/wireless/nl80211.c
15089
goto error;
net/wireless/nl80211.c
15095
goto error;
net/wireless/nl80211.c
15116
goto error;
net/wireless/nl80211.c
15125
goto error;
net/wireless/nl80211.c
15136
goto error;
net/wireless/nl80211.c
15142
goto error;
net/wireless/nl80211.c
15153
error:
net/wireless/nl80211.c
15391
goto error;
net/wireless/nl80211.c
15398
goto error;
net/wireless/nl80211.c
15404
error:
net/wireless/nl80211.c
1629
goto error;
net/wireless/nl80211.c
1632
goto error;
net/wireless/nl80211.c
1635
goto error;
net/wireless/nl80211.c
1641
goto error;
net/wireless/nl80211.c
1646
goto error;
net/wireless/nl80211.c
1648
goto error;
net/wireless/nl80211.c
1652
goto error;
net/wireless/nl80211.c
1657
goto error;
net/wireless/nl80211.c
1672
goto error;
net/wireless/nl80211.c
1676
error:
net/wireless/nl80211.c
18272
goto error;
net/wireless/nl80211.c
18277
goto error;
net/wireless/nl80211.c
18287
error:
net/wireless/nl80211.c
4910
int error;
net/wireless/nl80211.c
4946
cookie->error = 1;
net/wireless/nl80211.c
4958
.error = 0,
net/wireless/nl80211.c
5033
if (cookie.error)
net/wireless/nl80211.c
8265
goto error;
net/wireless/nl80211.c
8272
goto error;
net/wireless/nl80211.c
8277
goto error;
net/wireless/nl80211.c
8281
error:
net/wireless/pmsr.c
424
goto error;
net/wireless/pmsr.c
431
goto error;
net/wireless/pmsr.c
441
goto error; \
net/wireless/pmsr.c
456
goto error; \
net/wireless/pmsr.c
478
goto error;
net/wireless/pmsr.c
482
goto error;
net/wireless/pmsr.c
492
goto error;
net/wireless/pmsr.c
496
goto error;
net/wireless/pmsr.c
503
error:
net/wireless/pmsr.c
514
goto error;
net/wireless/pmsr.c
518
goto error;
net/wireless/pmsr.c
522
goto error;
net/wireless/pmsr.c
525
goto error;
net/wireless/pmsr.c
529
goto error;
net/wireless/pmsr.c
534
goto error;
net/wireless/pmsr.c
539
goto error;
net/wireless/pmsr.c
542
goto error;
net/wireless/pmsr.c
546
goto error;
net/wireless/pmsr.c
550
goto error;
net/wireless/pmsr.c
555
goto error;
net/wireless/pmsr.c
569
error:
net/wireless/scan.c
2704
goto error;
net/wireless/scan.c
2724
goto error;
net/wireless/scan.c
2748
goto error;
net/wireless/scan.c
2753
error:
net/xfrm/xfrm_interface_core.c
542
if (dst->error) {
net/xfrm/xfrm_ipcomp.c
345
goto error;
net/xfrm/xfrm_ipcomp.c
355
error:
net/xfrm/xfrm_output.c
521
goto error;
net/xfrm/xfrm_output.c
527
goto error;
net/xfrm/xfrm_output.c
533
goto error;
net/xfrm/xfrm_output.c
578
error:
net/xfrm/xfrm_policy.c
1903
int error = 0;
net/xfrm/xfrm_policy.c
1926
error = func(pol, xfrm_policy_id2dir(pol->index),
net/xfrm/xfrm_policy.c
1928
if (error) {
net/xfrm/xfrm_policy.c
1935
error = -ENOENT;
net/xfrm/xfrm_policy.c
1941
return error;
net/xfrm/xfrm_policy.c
2491
int i, error;
net/xfrm/xfrm_policy.c
2514
error = xfrm_get_saddr(tmpl->encap_family, &tmp,
net/xfrm/xfrm_policy.c
2516
if (error)
net/xfrm/xfrm_policy.c
2522
x = xfrm_state_find(remote, local, fl, tmpl, policy, &error,
net/xfrm/xfrm_policy.c
2527
error = -EINVAL;
net/xfrm/xfrm_policy.c
2538
error = (x->km.state == XFRM_STATE_ERROR ?
net/xfrm/xfrm_policy.c
2541
} else if (error == -ESRCH) {
net/xfrm/xfrm_policy.c
2542
error = -EAGAIN;
net/xfrm/xfrm_policy.c
2553
return error;
net/xfrm/xfrm_policy.c
2563
int error;
net/xfrm/xfrm_policy.c
2569
error = -ENOBUFS;
net/xfrm/xfrm_policy.c
2575
error = ret;
net/xfrm/xfrm_policy.c
2590
return error;
net/xfrm/xfrm_policy.c
3116
goto error;
net/xfrm/xfrm_policy.c
3142
error:
net/xfrm/xfrm_policy.c
3262
goto error;
net/xfrm/xfrm_policy.c
3268
goto error;
net/xfrm/xfrm_policy.c
3278
goto error;
net/xfrm/xfrm_policy.c
3288
goto error;
net/xfrm/xfrm_policy.c
3310
goto error;
net/xfrm/xfrm_policy.c
3317
error:
net/xfrm/xfrm_state.c
1304
int *error, unsigned int pcpu_id)
net/xfrm/xfrm_state.c
1344
*error = -ESRCH;
net/xfrm/xfrm_state.c
1360
int error = 0;
net/xfrm/xfrm_state.c
1392
&best, &acquire_in_progress, &error, pcpu_id);
net/xfrm/xfrm_state.c
1409
&best, &acquire_in_progress, &error, pcpu_id);
net/xfrm/xfrm_state.c
1416
else if (error)
net/xfrm/xfrm_state.c
1450
&best, &acquire_in_progress, &error, pcpu_id);
net/xfrm/xfrm_state.c
1485
&best, &acquire_in_progress, &error, pcpu_id);
net/xfrm/xfrm_state.c
1493
if (!x && !error && !acquire_in_progress) {
net/xfrm/xfrm_state.c
1500
error = -EEXIST;
net/xfrm/xfrm_state.c
1510
error = -ESRCH;
net/xfrm/xfrm_state.c
1516
error = -ENOMEM;
net/xfrm/xfrm_state.c
1527
error = security_xfrm_state_alloc_acquire(x, pol->security, fl->flowi_secid);
net/xfrm/xfrm_state.c
1528
if (error) {
net/xfrm/xfrm_state.c
1545
error = dev->xfrmdev_ops->xdo_dev_state_add(dev, x,
net/xfrm/xfrm_state.c
1547
if (error) {
net/xfrm/xfrm_state.c
1604
error = -ESRCH;
net/xfrm/xfrm_state.c
1619
*err = acquire_in_progress ? -EAGAIN : error;
net/xfrm/xfrm_state.c
1989
goto error;
net/xfrm/xfrm_state.c
1997
goto error;
net/xfrm/xfrm_state.c
2002
goto error;
net/xfrm/xfrm_state.c
2009
goto error;
net/xfrm/xfrm_state.c
2022
goto error;
net/xfrm/xfrm_state.c
2027
goto error;
net/xfrm/xfrm_state.c
2033
goto error;
net/xfrm/xfrm_state.c
2038
goto error;
net/xfrm/xfrm_state.c
2066
goto error;
net/xfrm/xfrm_state.c
2076
error:
net/xfrm/xfrm_state.c
2149
goto error;
net/xfrm/xfrm_state.c
2153
goto error;
net/xfrm/xfrm_state.c
2169
error:
net/xfrm/xfrm_state.c
3166
goto error;
net/xfrm/xfrm_state.c
3172
goto error;
net/xfrm/xfrm_state.c
3183
goto error;
net/xfrm/xfrm_state.c
3201
goto error;
net/xfrm/xfrm_state.c
3206
goto error;
net/xfrm/xfrm_state.c
3212
goto error;
net/xfrm/xfrm_state.c
3220
goto error;
net/xfrm/xfrm_state.c
3227
goto error;
net/xfrm/xfrm_state.c
3237
error:
net/xfrm/xfrm_state_bpf.c
36
s32 error;
net/xfrm/xfrm_state_bpf.c
71
if (opts__sz < sizeof(opts->error))
net/xfrm/xfrm_state_bpf.c
75
opts->error = -EINVAL;
net/xfrm/xfrm_state_bpf.c
80
opts->error = -EINVAL;
net/xfrm/xfrm_state_bpf.c
87
opts->error = -ENONET;
net/xfrm/xfrm_state_bpf.c
98
opts->error = -ENOENT;
net/xfrm/xfrm_user.c
1005
goto error;
net/xfrm/xfrm_user.c
1010
error:
net/xfrm/xfrm_user.c
2209
goto error;
net/xfrm/xfrm_user.c
2214
goto error;
net/xfrm/xfrm_user.c
2227
goto error;
net/xfrm/xfrm_user.c
2231
error:
net/xfrm/xfrm_user.c
3159
goto error;
net/xfrm/xfrm_user.c
3164
error:
net/xfrm/xfrm_user.c
910
goto error;
net/xfrm/xfrm_user.c
917
goto error;
net/xfrm/xfrm_user.c
924
goto error;
net/xfrm/xfrm_user.c
927
goto error;
net/xfrm/xfrm_user.c
931
goto error;
net/xfrm/xfrm_user.c
934
goto error;
net/xfrm/xfrm_user.c
938
goto error;
net/xfrm/xfrm_user.c
962
goto error;
net/xfrm/xfrm_user.c
968
goto error;
net/xfrm/xfrm_user.c
974
goto error;
net/xfrm/xfrm_user.c
979
goto error;
net/xfrm/xfrm_user.c
987
goto error;
net/xfrm/xfrm_user.c
999
goto error;
samples/bpf/cookie_uid_helper_example.c
168
error(1, errno, "failed to load prog\n%s\n", log_buf);
samples/bpf/cookie_uid_helper_example.c
177
error(1, errno, "bpf_obj_pin");
samples/bpf/cookie_uid_helper_example.c
207
error(1, errno, "fail to get entry value of Key: %u\n",
samples/bpf/cookie_uid_helper_example.c
232
error(1, errno, "rcv socket creat failed!\n");
samples/bpf/cookie_uid_helper_example.c
236
error(1, errno, "inet_aton\n");
samples/bpf/cookie_uid_helper_example.c
238
error(1, errno, "bind\n");
samples/bpf/cookie_uid_helper_example.c
241
error(1, errno, "send socket creat failed!\n");
samples/bpf/cookie_uid_helper_example.c
247
error(1, errno, "socket stat found while flow not active\n");
samples/bpf/cookie_uid_helper_example.c
252
error(1, errno, "send\n");
samples/bpf/cookie_uid_helper_example.c
254
error(1, 0, "%uB != %luB\n", res, sizeof(message));
samples/bpf/cookie_uid_helper_example.c
258
error(1, errno, "receive\n");
samples/bpf/cookie_uid_helper_example.c
262
error(1, EFAULT, "sender addr error: %d\n", res);
samples/bpf/cookie_uid_helper_example.c
266
error(1, errno, "lookup sk stat failed, cookie: %lu\n",
samples/bpf/cookie_uid_helper_example.c
318
error(1, errno, "register SIGINT handler failed");
samples/bpf/cookie_uid_helper_example.c
320
error(1, errno, "register SIGTERM handler failed");
samples/bpf/cookie_uid_helper_example.c
73
error(1, errno, "map create failed!\n");
samples/bpf/sampleip_user.c
141
int opt, freq = DEFAULT_FREQ, secs = DEFAULT_SECS, error = 1;
samples/bpf/sampleip_user.c
223
error = 0;
samples/bpf/sampleip_user.c
228
if (!error)
samples/bpf/sampleip_user.c
233
return error;
samples/bpf/trace_event_user.c
105
int error = 1, fd = map_fd[0], stack_map = map_fd[1];
samples/bpf/trace_event_user.c
117
err_exit(error);
samples/bpf/trace_event_user.c
141
int i, pmu_fd, error = 1;
samples/bpf/trace_event_user.c
171
error = 0;
samples/bpf/trace_event_user.c
177
if (error)
samples/bpf/trace_event_user.c
178
err_exit(error);
samples/bpf/trace_event_user.c
184
int pmu_fd, error = 1;
samples/bpf/trace_event_user.c
209
error = 0;
samples/bpf/trace_event_user.c
212
if (error)
samples/bpf/trace_event_user.c
213
err_exit(error);
samples/bpf/trace_event_user.c
299
int error = 1;
samples/bpf/trace_event_user.c
347
error = 0;
samples/bpf/trace_event_user.c
351
err_exit(error);
samples/bpf/tracex6.bpf.c
33
s64 error;
samples/bpf/tracex6.bpf.c
36
error = (s64)count;
samples/bpf/tracex6.bpf.c
37
if (error <= -2 && error >= -22)
samples/bpf/tracex6.bpf.c
61
int error;
samples/bpf/tracex6.bpf.c
67
error = bpf_perf_event_read_value(&counters, key, &buf, sizeof(buf));
samples/bpf/tracex6.bpf.c
68
if (error)
samples/bpf/tracex6_user.c
28
int pmu_fd, error = 0;
samples/bpf/tracex6_user.c
40
error = 1;
samples/bpf/tracex6_user.c
50
error = 1;
samples/bpf/tracex6_user.c
58
error = 1;
samples/bpf/tracex6_user.c
66
assert(bpf_map_delete_elem(map_fd[0], &cpu) == 0 || error);
samples/bpf/tracex6_user.c
67
assert(ioctl(pmu_fd, PERF_EVENT_IOC_DISABLE, 0) == 0 || error);
samples/bpf/tracex6_user.c
68
assert(close(pmu_fd) == 0 || error);
samples/bpf/tracex6_user.c
69
assert(bpf_map_delete_elem(map_fd[1], &cpu) == 0 || error);
samples/bpf/tracex6_user.c
70
exit(error);
samples/bpf/xdp_router_ipv4_user.c
544
const char *doc, int mask, bool error,
samples/bpf/xdp_router_ipv4_user.c
547
sample_usage(argv, long_options, doc, mask, error);
samples/bpf/xdp_router_ipv4_user.c
552
bool error = true, generic = false, force = false;
samples/bpf/xdp_router_ipv4_user.c
624
error = false;
samples/bpf/xdp_router_ipv4_user.c
626
usage(argv, long_options, __doc__, mask, error, skel->obj);
samples/bpf/xdp_sample_user.c
295
const char *doc, int mask, bool error)
samples/bpf/xdp_sample_user.c
299
if (!error)
samples/bpf/xdp_sample_user.h
42
const char *doc, int mask, bool error);
samples/fanotify/fs-monitor.c
25
__s32 error;
samples/fanotify/fs-monitor.c
93
printf("\terror: %d\n", err->error);
samples/landlock/sandboxer.c
234
bool error = false;
samples/landlock/sandboxer.c
260
error = true;
samples/landlock/sandboxer.c
275
return error;
samples/seccomp/dropper.c
28
static int install_filter(int arch, int nr, int error)
samples/seccomp/dropper.c
38
SECCOMP_RET_ERRNO|(error & SECCOMP_RET_DATA)),
samples/seccomp/dropper.c
45
if (error == -1) {
samples/seccomp/user-trap.c
115
resp->error = -EPERM;
samples/seccomp/user-trap.c
192
resp->error = 0;
samples/v4l/v4l2-pci-skeleton.c
799
if (hdl->error) {
samples/v4l/v4l2-pci-skeleton.c
800
ret = hdl->error;
scripts/dtc/checks.c
158
bool error = false;
scripts/dtc/checks.c
170
error = error || run_check(prq, dti);
scripts/dtc/checks.c
190
if ((c->status != PASSED) && (c->error))
scripts/dtc/checks.c
191
error = true;
scripts/dtc/checks.c
192
return error;
scripts/dtc/checks.c
1999
static void enable_warning_error(struct check *c, bool warn, bool error)
scripts/dtc/checks.c
2004
if ((warn && !c->warn) || (error && !c->error))
scripts/dtc/checks.c
2006
enable_warning_error(c->prereq[i], warn, error);
scripts/dtc/checks.c
2009
c->error = c->error || error;
scripts/dtc/checks.c
2012
static void disable_warning_error(struct check *c, bool warn, bool error)
scripts/dtc/checks.c
2018
if ((warn && c->warn) || (error && c->error)) {
scripts/dtc/checks.c
2025
disable_warning_error(cc, warn, error);
scripts/dtc/checks.c
2030
c->error = c->error && !error;
scripts/dtc/checks.c
2033
void parse_checks_option(bool warn, bool error, const char *arg)
scripts/dtc/checks.c
2050
enable_warning_error(c, warn, error);
scripts/dtc/checks.c
2052
disable_warning_error(c, warn, error);
scripts/dtc/checks.c
2063
int error = 0;
scripts/dtc/checks.c
2068
if (c->warn || c->error)
scripts/dtc/checks.c
2069
error = error || run_check(c, dti);
scripts/dtc/checks.c
2072
if (error) {
scripts/dtc/checks.c
35
bool warn, error;
scripts/dtc/checks.c
49
.error = (e_), \
scripts/dtc/checks.c
71
if (!(c->warn && (quiet < 1)) && !(c->error && (quiet < 2)))
scripts/dtc/checks.c
90
(c->error) ? "ERROR" : "Warning", c->name);
scripts/dtc/dtc.h
351
void parse_checks_option(bool warn, bool error, const char *arg);
scripts/dtc/yamltree.c
28
yaml_error_name[(emitter)->error], \
scripts/gcc-plugins/latent_entropy_plugin.c
139
error("%qE attribute only applies to functions and variables",
scripts/gcc-plugins/latent_entropy_plugin.c
146
error("variable %qD with %qE attribute must not be initialized",
scripts/gcc-plugins/latent_entropy_plugin.c
153
error("variable %qD with %qE attribute must not be local",
scripts/gcc-plugins/latent_entropy_plugin.c
162
error("variable %qD with %qE attribute must be an integer or a fixed length integer array type or a fixed sized structure with integer fields",
scripts/gcc-plugins/latent_entropy_plugin.c
178
error("structure variable %qD with %qE attribute has a non-integer field %qE",
scripts/gcc-plugins/latent_entropy_plugin.c
217
error("array variable %qD with %qE attribute must be a fixed length integer array type",
scripts/gcc-plugins/latent_entropy_plugin.c
600
error(G_("incompatible gcc/plugin versions"));
scripts/gcc-plugins/latent_entropy_plugin.c
609
error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key);
scripts/gcc-plugins/randomize_layout_plugin.c
332
error(G_("attempted to randomize userland API struct %s"), ORIG_TYPE_NAME(type));
scripts/gcc-plugins/randomize_layout_plugin.c
470
error("Only string constants are supported as initializers "
scripts/gcc-plugins/randomize_layout_plugin.c
60
error("%qE attribute does not apply to functions (%qF)", name, *node);
scripts/gcc-plugins/randomize_layout_plugin.c
65
error("%qE attribute does not apply to function parameters (%qD)", name, *node);
scripts/gcc-plugins/randomize_layout_plugin.c
70
error("%qE attribute does not apply to variables (%qD)", name, *node);
scripts/gcc-plugins/randomize_layout_plugin.c
839
error(G_("incompatible gcc/plugin versions"));
scripts/gcc-plugins/randomize_layout_plugin.c
85
error("%qE attribute used on %qT applies to struct types only", name, type);
scripts/gcc-plugins/randomize_layout_plugin.c
857
error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key);
scripts/gcc-plugins/randomize_layout_plugin.c
861
error(G_("invalid seed value supplied for %s plugin"), plugin_name);
scripts/gcc-plugins/randomize_layout_plugin.c
867
error(G_("Invalid seed supplied for %s plugin"), plugin_name);
scripts/gcc-plugins/randomize_layout_plugin.c
90
error("%qE attribute is already applied to the type %qT", name, type);
scripts/gcc-plugins/stackleak_plugin.c
564
error(G_("incompatible gcc/plugin versions"));
scripts/gcc-plugins/stackleak_plugin.c
572
error(G_("no value supplied for option '-fplugin-arg-%s-%s'"),
scripts/gcc-plugins/stackleak_plugin.c
579
error(G_("invalid option argument '-fplugin-arg-%s-%s=%s'"),
scripts/gcc-plugins/stackleak_plugin.c
585
error(G_("no value supplied for option '-fplugin-arg-%s-%s'"),
scripts/gcc-plugins/stackleak_plugin.c
597
error(G_("unknown option '-fplugin-arg-%s-%s'"),
scripts/gendwarfksyms/dwarf.c
1024
error("%s must be a pointer type!",
scripts/gendwarfksyms/dwarf.c
1028
error("%s pointer missing a type attribute?",
scripts/gendwarfksyms/dwarf.c
1093
error("dwarf_die_addr_die failed for symbol ptr: '%s'",
scripts/gendwarfksyms/dwarf.c
1137
error("asprintf failed");
scripts/gendwarfksyms/dwarf.c
131
error("dwarf_cu_die failed: '%s'", dwarf_errmsg(-1));
scripts/gendwarfksyms/dwarf.c
134
error("dwarf_getsrcfiles failed: '%s'", dwarf_errmsg(-1));
scripts/gendwarfksyms/dwarf.c
138
error("dwarf_filesrc failed: '%s'", dwarf_errmsg(-1));
scripts/gendwarfksyms/dwarf.c
191
error("vsnprintf overflow: increase MAX_FMT_BUFFER_SIZE");
scripts/gendwarfksyms/dwarf.c
525
error("structure member missing a type?");
scripts/gendwarfksyms/dwarf.c
539
error("union member missing a type?");
scripts/gendwarfksyms/dwarf.c
661
error("member missing a type?");
scripts/gendwarfksyms/dwarf.c
686
error("unexpected structure_type child: %x", dwarf_tag(die));
scripts/gendwarfksyms/dwarf.c
825
error("dwarf_die_addr_die failed");
scripts/gendwarfksyms/dwarf.c
831
error("empty die_fragment");
scripts/gendwarfksyms/gendwarfksyms.c
138
error("no input files?");
scripts/gendwarfksyms/gendwarfksyms.c
147
error("fopen failed for '%s': %s", symtypes_file,
scripts/gendwarfksyms/gendwarfksyms.c
157
error("open failed for '%s': %s", argv[n],
scripts/gendwarfksyms/gendwarfksyms.c
165
error("dwfl_begin failed for '%s': %s", argv[n],
scripts/gendwarfksyms/gendwarfksyms.c
169
error("dwfl_report_offline failed for '%s': %s",
scripts/gendwarfksyms/gendwarfksyms.c
175
error("dwfl_getmodules failed for '%s'", argv[n]);
scripts/gendwarfksyms/gendwarfksyms.c
70
error("dwarf_get_units failed: no debugging information?");
scripts/gendwarfksyms/gendwarfksyms.h
180
error("unexpected die_state: %d", state);
scripts/gendwarfksyms/gendwarfksyms.h
70
error("`%s` failed: %d", #expr, __res); \
scripts/gendwarfksyms/kabi.c
109
error("unexpected end of kABI rules");
scripts/gendwarfksyms/kabi.c
160
error("elf_version failed: %s", elf_errmsg(-1));
scripts/gendwarfksyms/kabi.c
164
error("elf_begin failed: %s", elf_errmsg(-1));
scripts/gendwarfksyms/kabi.c
167
error("elf_getshdrstrndx failed: %s", elf_errmsg(-1));
scripts/gendwarfksyms/kabi.c
176
error("gelf_getshdr failed: %s", elf_errmsg(-1));
scripts/gendwarfksyms/kabi.c
180
error("elf_strptr failed: %s", elf_errmsg(-1));
scripts/gendwarfksyms/kabi.c
185
error("elf_getdata failed: %s", elf_errmsg(-1));
scripts/gendwarfksyms/kabi.c
202
error("kABI rule section too small: %zd bytes", left);
scripts/gendwarfksyms/kabi.c
205
error("kABI rules are not null-terminated");
scripts/gendwarfksyms/kabi.c
216
error("unsupported kABI rule version: '%s'", field);
scripts/gendwarfksyms/kabi.c
229
error("unsupported kABI rule type: '%s'", field);
scripts/gendwarfksyms/kabi.c
254
error("asprintf failed for '%s %s'", fqn, field);
scripts/gendwarfksyms/kabi.c
309
error("invalid unsigned value '%s'", value);
scripts/gendwarfksyms/symbols.c
101
error("no matching symbols: '%s'", sym->name);
scripts/gendwarfksyms/symbols.c
112
error("no matching symbols: '%s'", sym->name);
scripts/gendwarfksyms/symbols.c
124
error("no matching symbols: '%s'", sym->name);
scripts/gendwarfksyms/symbols.c
142
error("malformed input line: %s", line);
scripts/gendwarfksyms/symbols.c
206
error("elf_version failed: %s", elf_errmsg(-1));
scripts/gendwarfksyms/symbols.c
210
error("elf_begin failed: %s", elf_errmsg(-1));
scripts/gendwarfksyms/symbols.c
217
error("gelf_getshdr failed: %s", elf_errmsg(-1));
scripts/gendwarfksyms/symbols.c
222
error("elf_getdata failed: %s", elf_errmsg(-1));
scripts/gendwarfksyms/symbols.c
235
error("gelf_getshdr failed: %s", elf_errmsg(-1));
scripts/gendwarfksyms/symbols.c
243
error("elf_getdata failed: %s", elf_errmsg(-1));
scripts/gendwarfksyms/symbols.c
246
error("expected sh_entsize (%" PRIu64 ") to be %zu",
scripts/gendwarfksyms/symbols.c
260
error("gelf_getsymshndx failed: %s",
scripts/gendwarfksyms/symbols.c
272
error("elf_strptr failed: %s",
scripts/gendwarfksyms/types.c
317
error("asprintf failed for '%s'", cache->fqn);
scripts/gendwarfksyms/types.c
332
error("unknown type reference to '%s' when expanding '%s'",
scripts/gendwarfksyms/types.c
376
error("unknown child: %" PRIxPTR,
scripts/gendwarfksyms/types.c
397
error("empty die_fragment in %p", cache);
scripts/gendwarfksyms/types.c
424
error("empty type string override for '%s'", name);
scripts/gendwarfksyms/types.c
449
error("incomplete %c# type reference for '%s' (string : '%s')",
scripts/gendwarfksyms/types.c
457
error("empty %c# type name for '%s' (string: '%s')",
scripts/genksyms/parse.y
139
| error ';' { $$ = $2; }
scripts/genksyms/parse.y
140
| error '}' { $$ = $2; }
scripts/genksyms/parse.y
324
| direct_declarator '(' error ')'
scripts/genksyms/parse.y
347
| direct_nested_declarator1 '(' error ')'
scripts/genksyms/parse.y
353
| '(' error ')'
scripts/genksyms/parse.y
408
| direct_abstract_declarator1 open_paren error ')'
scripts/genksyms/parse.y
414
| open_paren error ')'
scripts/genksyms/parse.y
445
| '{' error '}' { $$ = $3; }
scripts/genksyms/parse.y
461
| error ';'
scripts/kconfig/parser.y
127
| stmt_list T_WORD error T_EOL { zconf_error("unknown statement \"%s\"", $2); }
scripts/kconfig/parser.y
128
| stmt_list error T_EOL { zconf_error("invalid statement"); }
scripts/kconfig/parser.y
136
| stmt_list_in_choice error T_EOL { zconf_error("invalid statement"); }
scripts/mod/file2alias.c
1400
error("%s: type mismatch between %s[] and MODULE_DEVICE_TABLE(%s, ...)\n",
scripts/mod/file2alias.c
1408
error("%s: %s[] is not terminated with a NULL entry\n",
scripts/mod/file2alias.c
62
error("vsnprintf failed\n");
scripts/mod/file2alias.c
79
error("vsnprintf failed\n");
scripts/mod/modpost.c
1070
error("%s+0x%lx references non-executable section '%s'\n",
scripts/mod/modpost.c
1089
error("%s: .export_symbol section contains strange symbol '%s'\n",
scripts/mod/modpost.c
1096
error("%s: local symbol '%s' was exported\n", mod->name,
scripts/mod/modpost.c
1103
error("%s: .export_symbol section references '%s', but it does not seem to be an export symbol\n",
scripts/mod/modpost.c
1114
error("%s: unknown license '%s' was specified for '%s'\n",
scripts/mod/modpost.c
1493
error("%s: too long path was truncated\n", cmd_file);
scripts/mod/modpost.c
1554
error("%s: too long path was truncated\n", objlist);
scripts/mod/modpost.c
1582
error("%s: filename must be suffixed with .o\n", modname);
scripts/mod/modpost.c
1600
error("missing MODULE_LICENSE() in %s\n", modname);
scripts/mod/modpost.c
1613
error("%s: explicitly importing namespace \"%s\" is not allowed.\n",
scripts/mod/modpost.c
1756
error("\"%s\" [%s.ko] was exported without definition\n",
scripts/mod/modpost.c
1777
error("GPL-incompatible module %s.ko uses GPL-only symbol '%s'\n",
scripts/mod/modpost.c
1828
error("module name is too long [%s.ko]\n", mod->name);
scripts/mod/modpost.c
1969
error("too long symbol \"%s\" [%s.ko]\n",
scripts/mod/modpost.c
2128
error("%s: too long path was truncated\n", fname);
scripts/mod/modpost.c
2181
error("%s: unknown license %s. skip", symname, export);
scripts/mod/modpost.c
2383
error("Section mismatches detected.\n"
scripts/mod/modpost.c
357
error("%s: '%s' exported twice. Previous export was in %s%s\n",
scripts/mod/modpost.h
244
#define fatal(fmt, args...) do { error(fmt, ##args); exit(1); } while (1)
scripts/unifdef.c
1036
error("unterminated char literal");
scripts/unifdef.c
1038
error("unterminated string literal");
scripts/unifdef.c
216
static void error(const char *);
scripts/unifdef.c
418
static void Eelif (void) { error("Inappropriate #elif"); }
scripts/unifdef.c
419
static void Eelse (void) { error("Inappropriate #else"); }
scripts/unifdef.c
420
static void Eendif(void) { error("Inappropriate #endif"); }
scripts/unifdef.c
421
static void Eeof (void) { error("Premature EOF"); }
scripts/unifdef.c
422
static void Eioccc(void) { error("Obfuscated preprocessor control line"); }
scripts/unifdef.c
532
error("Too many levels of nesting");
scripts/unifdef.c
624
error("EOF in comment");
security/apparmor/af_unix.c
465
int error;
security/apparmor/af_unix.c
468
error = aa_unix_label_sk_perm(current_cred(), label, op,
security/apparmor/af_unix.c
473
return error;
security/apparmor/af_unix.c
492
int error = 0;
security/apparmor/af_unix.c
494
error = valid_addr(addr, addrlen);
security/apparmor/af_unix.c
495
if (error)
security/apparmor/af_unix.c
496
return error;
security/apparmor/af_unix.c
506
error = fn_for_each_confined(label, profile,
security/apparmor/af_unix.c
511
return error;
security/apparmor/af_unix.c
531
int error = 0;
security/apparmor/af_unix.c
537
error = fn_for_each_confined(label, profile,
security/apparmor/af_unix.c
543
return error;
security/apparmor/af_unix.c
552
int error = 0;
security/apparmor/af_unix.c
558
error = fn_for_each_confined(label, profile,
security/apparmor/af_unix.c
563
return error;
security/apparmor/af_unix.c
585
int error = 0;
security/apparmor/af_unix.c
591
error = fn_for_each_confined(label, profile,
security/apparmor/af_unix.c
597
return error;
security/apparmor/af_unix.c
720
int error = 0;
security/apparmor/af_unix.c
744
error = aa_unix_label_sk_perm(subj_cred, label, op,
security/apparmor/af_unix.c
757
last_error(error,
security/apparmor/af_unix.c
770
last_error(error,
security/apparmor/af_unix.c
785
if (!error && !__aa_subj_label_is_cached(plabel, label))
security/apparmor/af_unix.c
793
if (error == 0)
security/apparmor/af_unix.c
797
return error;
security/apparmor/apparmorfs.c
1144
int error = single_open(file, show, proxy);
security/apparmor/apparmorfs.c
1146
if (error) {
security/apparmor/apparmorfs.c
1151
return error;
security/apparmor/apparmorfs.c
1336
int error;
security/apparmor/apparmorfs.c
1341
error = single_open(file, show, data);
security/apparmor/apparmorfs.c
1342
if (error) {
security/apparmor/apparmorfs.c
1348
return error;
security/apparmor/apparmorfs.c
1461
int error;
security/apparmor/apparmorfs.c
1474
error = PTR_ERR(private);
security/apparmor/apparmorfs.c
1480
error = decompress_zstd(loaddata->data, loaddata->compressed_size,
security/apparmor/apparmorfs.c
1483
if (error)
security/apparmor/apparmorfs.c
1491
return error;
security/apparmor/apparmorfs.c
1495
return error;
security/apparmor/apparmorfs.c
1675
int error;
security/apparmor/apparmorfs.c
1692
error = snprintf(s, size, "raw_data/%s/%s", dirname, fname);
security/apparmor/apparmorfs.c
1693
if (error >= size || error < 0) {
security/apparmor/apparmorfs.c
1779
int error;
security/apparmor/apparmorfs.c
1789
error = -ENOENT;
security/apparmor/apparmorfs.c
1806
error = -ENOMEM;
security/apparmor/apparmorfs.c
1872
error = __aafs_profile_mkdir(child, prof_child_dir(profile));
security/apparmor/apparmorfs.c
1873
if (error)
security/apparmor/apparmorfs.c
1880
error = PTR_ERR(dent);
security/apparmor/apparmorfs.c
1885
return error;
security/apparmor/apparmorfs.c
1894
int error;
security/apparmor/apparmorfs.c
1897
error = aa_may_manage_policy(current_cred(), label, NULL, NULL,
security/apparmor/apparmorfs.c
1900
if (error)
security/apparmor/apparmorfs.c
1901
return ERR_PTR(error);
security/apparmor/apparmorfs.c
1910
error = simple_pin_fs(&aafs_ops, &aafs_mnt, &aafs_count);
security/apparmor/apparmorfs.c
1913
if (error)
security/apparmor/apparmorfs.c
1916
error = __aafs_setup_d_inode(dir, dentry, mode | S_IFDIR, NULL,
security/apparmor/apparmorfs.c
1918
if (error)
security/apparmor/apparmorfs.c
1924
error = PTR_ERR(ns);
security/apparmor/apparmorfs.c
1930
if (error)
security/apparmor/apparmorfs.c
1936
return ERR_PTR(error);
security/apparmor/apparmorfs.c
1944
int error;
security/apparmor/apparmorfs.c
1947
error = aa_may_manage_policy(current_cred(), label, NULL, NULL,
security/apparmor/apparmorfs.c
1950
if (error)
security/apparmor/apparmorfs.c
1951
return error;
security/apparmor/apparmorfs.c
1965
error = -ENOENT;
security/apparmor/apparmorfs.c
1979
return error;
security/apparmor/apparmorfs.c
2095
int error;
security/apparmor/apparmorfs.c
2112
error = __aafs_ns_mkdir_entries(ns, dir);
security/apparmor/apparmorfs.c
2113
if (error)
security/apparmor/apparmorfs.c
2118
error = __aafs_profile_mkdir(child, ns_subprofs_dir(ns));
security/apparmor/apparmorfs.c
2119
if (error)
security/apparmor/apparmorfs.c
2126
error = __aafs_ns_mkdir(sub, ns_subns_dir(ns), NULL, NULL);
security/apparmor/apparmorfs.c
2128
if (error)
security/apparmor/apparmorfs.c
2135
error = PTR_ERR(dent);
security/apparmor/apparmorfs.c
2140
return error;
security/apparmor/apparmorfs.c
240
int error;
security/apparmor/apparmorfs.c
242
error = simple_fill_super(sb, AAFS_MAGIC, files);
security/apparmor/apparmorfs.c
243
if (error)
security/apparmor/apparmorfs.c
244
return error;
security/apparmor/apparmorfs.c
2525
int error = 0;
security/apparmor/apparmorfs.c
2532
error = PTR_ERR(fs_file->dentry);
security/apparmor/apparmorfs.c
2535
return error;
security/apparmor/apparmorfs.c
2551
int error;
security/apparmor/apparmorfs.c
2560
error = entry_create_dir(fs_file, fs_dir->dentry);
security/apparmor/apparmorfs.c
2562
error = entry_create_file(fs_file, fs_dir->dentry);
security/apparmor/apparmorfs.c
2563
if (error)
security/apparmor/apparmorfs.c
2572
return error;
security/apparmor/apparmorfs.c
2626
int error = simple_pin_fs(parent->d_sb->s_type, &mount, &count);
security/apparmor/apparmorfs.c
2628
if (error)
security/apparmor/apparmorfs.c
2629
return error;
security/apparmor/apparmorfs.c
2634
error = PTR_ERR(dentry);
security/apparmor/apparmorfs.c
2639
error = -ENOMEM;
security/apparmor/apparmorfs.c
2652
error = 0;
security/apparmor/apparmorfs.c
2659
return error;
security/apparmor/apparmorfs.c
2670
int error;
security/apparmor/apparmorfs.c
2678
error = nd_jump_link(&path);
security/apparmor/apparmorfs.c
2681
return ERR_PTR(error);
security/apparmor/apparmorfs.c
2716
int error;
security/apparmor/apparmorfs.c
2733
error = entry_create_dir(&aa_sfs_entry, NULL);
security/apparmor/apparmorfs.c
2734
if (error)
security/apparmor/apparmorfs.c
2735
goto error;
security/apparmor/apparmorfs.c
2763
error = __aafs_ns_mkdir(root_ns, aafs_mnt->mnt_root, ".policy",
security/apparmor/apparmorfs.c
2766
if (error)
security/apparmor/apparmorfs.c
2767
goto error;
security/apparmor/apparmorfs.c
2775
error = aa_mk_null_file(aa_sfs_entry.dentry);
security/apparmor/apparmorfs.c
2776
if (error)
security/apparmor/apparmorfs.c
2777
goto error;
security/apparmor/apparmorfs.c
2786
error = PTR_ERR(dent);
security/apparmor/apparmorfs.c
2787
error:
security/apparmor/apparmorfs.c
2790
return error;
security/apparmor/apparmorfs.c
340
int error;
security/apparmor/apparmorfs.c
348
error = simple_pin_fs(&aafs_ops, &aafs_mnt, &aafs_count);
security/apparmor/apparmorfs.c
349
if (error)
security/apparmor/apparmorfs.c
350
return ERR_PTR(error);
security/apparmor/apparmorfs.c
357
error = PTR_ERR(dentry);
security/apparmor/apparmorfs.c
362
error = -EEXIST;
security/apparmor/apparmorfs.c
366
error = __aafs_setup_d_inode(dir, dentry, mode, data, link, fops, iops);
security/apparmor/apparmorfs.c
367
if (error)
security/apparmor/apparmorfs.c
383
return ERR_PTR(error);
security/apparmor/apparmorfs.c
499
ssize_t error;
security/apparmor/apparmorfs.c
506
error = aa_may_manage_policy(current_cred(), label, ns, ocred, mask);
security/apparmor/apparmorfs.c
507
if (error)
security/apparmor/apparmorfs.c
511
error = PTR_ERR(data);
security/apparmor/apparmorfs.c
513
error = aa_replace_profiles(ns, label, mask, data);
security/apparmor/apparmorfs.c
522
return error;
security/apparmor/apparmorfs.c
530
int error = policy_update(AA_MAY_LOAD_POLICY, buf, size, pos, ns,
security/apparmor/apparmorfs.c
535
return error;
security/apparmor/apparmorfs.c
548
int error = policy_update(AA_MAY_LOAD_POLICY | AA_MAY_REPLACE_POLICY,
security/apparmor/apparmorfs.c
552
return error;
security/apparmor/apparmorfs.c
566
ssize_t error;
security/apparmor/apparmorfs.c
573
error = aa_may_manage_policy(current_cred(), label, ns,
security/apparmor/apparmorfs.c
575
if (error)
security/apparmor/apparmorfs.c
584
error = PTR_ERR(data);
security/apparmor/apparmorfs.c
587
error = aa_remove_profiles(ns, label, data->data, size);
security/apparmor/apparmorfs.c
593
return error;
security/apparmor/audit.c
112
if (ad->error)
security/apparmor/audit.c
113
audit_log_format(ab, " error=%d", ad->error);
security/apparmor/audit.c
173
if (likely(!ad->error)) {
security/apparmor/audit.c
185
return ad->error;
security/apparmor/audit.c
200
return complain_error(ad->error);
security/apparmor/audit.c
202
return ad->error;
security/apparmor/capability.c
100
return complain_error(error);
security/apparmor/capability.c
101
return error;
security/apparmor/capability.c
126
int error;
security/apparmor/capability.c
152
error = 0;
security/apparmor/capability.c
154
error = -EPERM;
security/apparmor/capability.c
158
return error;
security/apparmor/capability.c
165
return audit_caps(ad, profile, cap, error);
security/apparmor/capability.c
183
int error = 0;
security/apparmor/capability.c
188
error = fn_for_each_confined(label, profile,
security/apparmor/capability.c
191
return error;
security/apparmor/capability.c
68
int cap, int error)
security/apparmor/capability.c
76
ad->error = error;
security/apparmor/capability.c
78
if (likely(!error)) {
security/apparmor/capability.c
91
return error;
security/apparmor/domain.c
1003
error = may_change_ptraced_domain(bprm->cred, new, &info);
security/apparmor/domain.c
1004
if (error)
security/apparmor/domain.c
1036
return error;
security/apparmor/domain.c
1039
error = fn_for_each(label, profile,
security/apparmor/domain.c
1043
vfsuid_into_kuid(vfsuid), info, error));
security/apparmor/domain.c
1063
int error = 0;
security/apparmor/domain.c
1071
error = -EPERM;
security/apparmor/domain.c
1077
error = -ENOENT;
security/apparmor/domain.c
1083
error = -ENOMEM;
security/apparmor/domain.c
1094
error);
security/apparmor/domain.c
1095
if (!hat || (error && error != -ENOENT))
security/apparmor/domain.c
1096
return ERR_PTR(error);
security/apparmor/domain.c
1116
int i, error;
security/apparmor/domain.c
1135
error = -EPERM;
security/apparmor/domain.c
1146
error = -EPERM;
security/apparmor/domain.c
1167
error = -ENOENT;
security/apparmor/domain.c
1172
error = -ECHILD;
security/apparmor/domain.c
1187
GLOBAL_ROOT_UID, info, error);
security/apparmor/domain.c
1190
return ERR_PTR(error);
security/apparmor/domain.c
1199
error = -ENOMEM;
security/apparmor/domain.c
1231
int error = 0;
security/apparmor/domain.c
1263
error = -EPERM;
security/apparmor/domain.c
1272
error = PTR_ERR(new);
security/apparmor/domain.c
1279
error = may_change_ptraced_domain(subj_cred, new, &info);
security/apparmor/domain.c
1280
if (error)
security/apparmor/domain.c
1292
error = -EPERM;
security/apparmor/domain.c
1300
error = aa_set_current_hat(new, token);
security/apparmor/domain.c
1301
if (error == -EACCES)
security/apparmor/domain.c
1314
error = -EPERM;
security/apparmor/domain.c
1322
error = aa_restore_previous_label(token);
security/apparmor/domain.c
1323
if (error) {
security/apparmor/domain.c
1324
if (error == -EACCES)
security/apparmor/domain.c
1336
return error;
security/apparmor/domain.c
1346
GLOBAL_ROOT_UID, info, error));
security/apparmor/domain.c
1360
int error = 0;
security/apparmor/domain.c
1362
if (!error)
security/apparmor/domain.c
1363
error = change_profile_perms(profile, target, stack, request,
security/apparmor/domain.c
1366
if (error)
security/apparmor/domain.c
1367
error = aa_audit_file(subj_cred, profile, perms, op, request,
security/apparmor/domain.c
1370
error);
security/apparmor/domain.c
1372
return error;
security/apparmor/domain.c
1400
int error = 0;
security/apparmor/domain.c
1468
error = PTR_ERR(target);
security/apparmor/domain.c
1482
error = -ENOMEM;
security/apparmor/domain.c
1497
error = fn_for_each_in_scope(label, profile,
security/apparmor/domain.c
1502
if (error)
security/apparmor/domain.c
1510
error = may_change_ptraced_domain(subj_cred, target, &info);
security/apparmor/domain.c
1511
if (error && !fn_for_each_in_scope(label, profile,
security/apparmor/domain.c
1539
error = -EPERM;
security/apparmor/domain.c
1551
error = -ENOMEM;
security/apparmor/domain.c
1553
error = PTR_ERR(new);
security/apparmor/domain.c
1558
error = aa_replace_current_label(new);
security/apparmor/domain.c
1570
error = fn_for_each_in_scope(label, profile,
security/apparmor/domain.c
1574
GLOBAL_ROOT_UID, info, error));
security/apparmor/domain.c
1582
return error;
security/apparmor/domain.c
258
int error;
security/apparmor/domain.c
261
error = label_compound_match(profile, label, stack, state, inview,
security/apparmor/domain.c
263
if (!error)
security/apparmor/domain.c
264
return error;
security/apparmor/domain.c
56
int error = 0;
security/apparmor/domain.c
672
int error = 0;
security/apparmor/domain.c
678
error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer,
security/apparmor/domain.c
680
if (error) {
security/apparmor/domain.c
684
error = 0;
security/apparmor/domain.c
69
error = aa_may_ptrace(tracer_cred, tracerl, to_cred, to_label,
security/apparmor/domain.c
708
info, error);
security/apparmor/domain.c
747
error = -EACCES;
security/apparmor/domain.c
755
error = -ENOMEM;
security/apparmor/domain.c
758
error = -EACCES;
security/apparmor/domain.c
764
error = -EACCES;
security/apparmor/domain.c
77
if (error)
security/apparmor/domain.c
783
cond->uid, info, error);
security/apparmor/domain.c
786
return ERR_PTR(error);
security/apparmor/domain.c
79
return error;
security/apparmor/domain.c
802
int error = -EACCES;
security/apparmor/domain.c
819
error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer,
security/apparmor/domain.c
821
if (error) {
security/apparmor/domain.c
825
error = 0;
security/apparmor/domain.c
842
error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC,
security/apparmor/domain.c
844
if (error) {
security/apparmor/domain.c
862
NULL, onexec, cond->uid, info, error);
security/apparmor/domain.c
876
int error;
security/apparmor/domain.c
886
error = fn_for_each_in_scope(label, profile,
security/apparmor/domain.c
889
if (error)
security/apparmor/domain.c
890
return ERR_PTR(error);
security/apparmor/domain.c
902
error = fn_for_each_in_scope(label, profile,
security/apparmor/domain.c
908
return ERR_PTR(error);
security/apparmor/domain.c
927
int error = 0;
security/apparmor/domain.c
957
error = -ENOMEM;
security/apparmor/domain.c
973
error = PTR_ERR(new);
security/apparmor/domain.c
976
error = -ENOMEM;
security/apparmor/domain.c
991
error = -EPERM;
security/apparmor/file.c
112
ad.error = error;
security/apparmor/file.c
115
if (likely(!ad.error)) {
security/apparmor/file.c
142
return ad.error;
security/apparmor/file.c
156
int error;
security/apparmor/file.c
160
error = -EACCES;
security/apparmor/file.c
162
error = aa_path_name(path, flags, buffer, name, &info,
security/apparmor/file.c
164
if (error) {
security/apparmor/file.c
168
NULL, NULL, cond->uid, info, error));
security/apparmor/file.c
169
return error;
security/apparmor/file.c
254
int error;
security/apparmor/file.c
259
error = path_name(op, subj_cred, &profile->label, path,
security/apparmor/file.c
262
if (error)
security/apparmor/file.c
263
return error;
security/apparmor/file.c
288
int error;
security/apparmor/file.c
295
error = fn_for_each_confined(label, profile,
security/apparmor/file.c
301
return error;
security/apparmor/file.c
336
int error;
security/apparmor/file.c
338
error = path_name(OP_LINK, subj_cred, &profile->label, link,
security/apparmor/file.c
341
if (error)
security/apparmor/file.c
345
error = path_name(OP_LINK, subj_cred, &profile->label, target,
security/apparmor/file.c
348
if (error)
security/apparmor/file.c
351
error = -EACCES;
security/apparmor/file.c
403
error = 0;
security/apparmor/file.c
408
NULL, cond->uid, info, error);
security/apparmor/file.c
444
int error;
security/apparmor/file.c
449
error = -ENOMEM;
security/apparmor/file.c
453
error = fn_for_each_confined(label, profile,
security/apparmor/file.c
459
return error;
security/apparmor/file.c
497
int flags, error;
security/apparmor/file.c
510
error = fn_for_each_not_in_set(flabel, label, profile,
security/apparmor/file.c
514
if (denied && !error) {
security/apparmor/file.c
524
error = fn_for_each(label, profile,
security/apparmor/file.c
530
error = fn_for_each_not_in_set(label, flabel, profile,
security/apparmor/file.c
536
if (!error)
security/apparmor/file.c
541
return error;
security/apparmor/file.c
549
int error;
security/apparmor/file.c
556
error = aa_sock_file_perm(subj_cred, label, op, request, file);
security/apparmor/file.c
560
last_error(error, aa_sock_file_perm(subj_cred, flabel, op,
security/apparmor/file.c
563
if (!error)
security/apparmor/file.c
566
return error;
security/apparmor/file.c
626
int error = 0;
security/apparmor/file.c
661
error = __file_path_perm(op, subj_cred, label, flabel, file,
security/apparmor/file.c
665
error = __file_sock_perm(op, subj_cred, label, flabel, file,
security/apparmor/file.c
670
return error;
security/apparmor/file.c
99
kuid_t ouid, const char *info, int error)
security/apparmor/include/audit.h
112
int error;
security/apparmor/include/audit.h
194
(AD)->error = (ERROR); \
security/apparmor/include/audit.h
196
(AD)->error; \
security/apparmor/include/audit.h
200
static inline int complain_error(int error)
security/apparmor/include/audit.h
202
if (error == -EPERM || error == -EACCES)
security/apparmor/include/audit.h
204
return error;
security/apparmor/include/file.h
78
const char *info, int error);
security/apparmor/include/perms.h
158
int e, error = FN1; \
security/apparmor/include/perms.h
161
error = e; \
security/apparmor/include/perms.h
162
error; \
security/apparmor/label.c
1864
int i, len, stack = 0, error;
security/apparmor/label.c
1885
error = vec_setup(profile, vec, len, gfp);
security/apparmor/label.c
1886
if (error)
security/apparmor/label.c
1887
return ERR_PTR(error);
security/apparmor/lib.c
424
int type, error;
security/apparmor/lib.c
434
error = 0;
security/apparmor/lib.c
436
error = -EACCES;
security/apparmor/lib.c
446
error = -ENOENT;
security/apparmor/lib.c
450
return error;
security/apparmor/lib.c
457
ad->error = error;
security/apparmor/lib.c
462
error = 0;
security/apparmor/lib.c
464
return error;
security/apparmor/lsm.c
1007
int error = 0;
security/apparmor/lsm.c
1013
error = aa_task_setrlimit(current_cred(), label, task,
security/apparmor/lsm.c
1017
return error;
security/apparmor/lsm.c
1025
int error;
security/apparmor/lsm.c
1035
error = aa_may_signal(cred, cl, tc, tl, sig);
security/apparmor/lsm.c
1039
error = aa_may_signal(current_cred(), cl, tc, tl, sig);
security/apparmor/lsm.c
1045
return error;
security/apparmor/lsm.c
1052
int error = 0;
security/apparmor/lsm.c
1060
error = fn_for_each(label, profile,
security/apparmor/lsm.c
1066
return error;
security/apparmor/lsm.c
1127
int error;
security/apparmor/lsm.c
1129
error = aa_unix_peer_perm(cred, label, OP_CONNECT,
security/apparmor/lsm.c
1135
last_error(error,
security/apparmor/lsm.c
1144
return error;
security/apparmor/lsm.c
1192
int error;
security/apparmor/lsm.c
1196
error = unix_connect_perm(current_cred(), label, sk, peer_sk);
security/apparmor/lsm.c
1199
if (error)
security/apparmor/lsm.c
1200
return error;
security/apparmor/lsm.c
1235
int error;
security/apparmor/lsm.c
1239
error = xcheck(aa_unix_peer_perm(current_cred(),
security/apparmor/lsm.c
1251
return error;
security/apparmor/lsm.c
1257
int error = 0;
security/apparmor/lsm.c
1267
error = aa_unix_create_perm(label, family, type,
security/apparmor/lsm.c
1270
error = aa_af_perm(current_cred(), label, OP_CREATE,
security/apparmor/lsm.c
1276
return error;
security/apparmor/lsm.c
130
int error;
security/apparmor/lsm.c
136
error = aa_may_ptrace(current_cred(), tracer, cred, tracee,
security/apparmor/lsm.c
142
return error;
security/apparmor/lsm.c
149
int error;
security/apparmor/lsm.c
1506
int error;
security/apparmor/lsm.c
1519
error = apparmor_secmark_check(rcu_dereference(ctx->label), OP_RECVMSG,
security/apparmor/lsm.c
1523
return error;
security/apparmor/lsm.c
155
error = aa_may_ptrace(cred, tracer, current_cred(), tracee,
security/apparmor/lsm.c
1557
int slen, error = 0;
security/apparmor/lsm.c
1563
error = PTR_ERR(peer);
security/apparmor/lsm.c
1572
error = -ENOMEM;
security/apparmor/lsm.c
1576
error = -ERANGE;
security/apparmor/lsm.c
1581
error = -EFAULT;
security/apparmor/lsm.c
1584
error = -EFAULT;
security/apparmor/lsm.c
1591
return error;
security/apparmor/lsm.c
160
return error;
security/apparmor/lsm.c
1635
int error;
security/apparmor/lsm.c
1641
error = apparmor_secmark_check(rcu_dereference(ctx->label), OP_CONNECT,
security/apparmor/lsm.c
1645
return error;
security/apparmor/lsm.c
1901
int error = kstrtoul(str, 0, &enabled);
security/apparmor/lsm.c
1902
if (!error)
security/apparmor/lsm.c
1948
int error;
security/apparmor/lsm.c
1956
error = param_set_uint(val, kp);
security/apparmor/lsm.c
1960
return error;
security/apparmor/lsm.c
1977
int error;
security/apparmor/lsm.c
1987
error = param_set_bool(val, &kp_local);
security/apparmor/lsm.c
1988
if (!error)
security/apparmor/lsm.c
1990
return error;
security/apparmor/lsm.c
200
int error = 0;
security/apparmor/lsm.c
2015
int error;
security/apparmor/lsm.c
2022
error = param_set_int(val, kp);
security/apparmor/lsm.c
2029
return error;
security/apparmor/lsm.c
204
error = aa_capable(cred, label, cap, opts);
security/apparmor/lsm.c
207
return error;
security/apparmor/lsm.c
223
int error = 0;
security/apparmor/lsm.c
228
error = aa_path_perm(op, current_cred(), label, path, 0, mask,
security/apparmor/lsm.c
232
return error;
security/apparmor/lsm.c
2374
int error;
security/apparmor/lsm.c
2385
error = apparmor_secmark_check(rcu_dereference(ctx->label), OP_SENDMSG,
security/apparmor/lsm.c
2388
if (!error)
security/apparmor/lsm.c
2457
int error = -ENOMEM;
security/apparmor/lsm.c
2467
error = PTR_ERR(nulldfa);
security/apparmor/lsm.c
2481
error = PTR_ERR(stacksplitdfa);
security/apparmor/lsm.c
2494
return error;
security/apparmor/lsm.c
2509
int error;
security/apparmor/lsm.c
2511
error = aa_setup_dfa_engine();
security/apparmor/lsm.c
2512
if (error) {
security/apparmor/lsm.c
2517
error = aa_alloc_root_ns();
security/apparmor/lsm.c
2518
if (error) {
security/apparmor/lsm.c
2523
error = apparmor_init_sysctl();
security/apparmor/lsm.c
2524
if (error) {
security/apparmor/lsm.c
2530
error = alloc_buffers();
security/apparmor/lsm.c
2531
if (error) {
security/apparmor/lsm.c
2536
error = set_init_ctx();
security/apparmor/lsm.c
2537
if (error) {
security/apparmor/lsm.c
2557
return error;
security/apparmor/lsm.c
2566
return error;
security/apparmor/lsm.c
368
int error = 0;
security/apparmor/lsm.c
375
error = aa_path_link(current_cred(), label, old_dentry, new_dir,
security/apparmor/lsm.c
379
return error;
security/apparmor/lsm.c
387
int error = 0;
security/apparmor/lsm.c
415
error = aa_path_perm(OP_RENAME_SRC, current_cred(),
security/apparmor/lsm.c
420
if (!error)
security/apparmor/lsm.c
421
error = aa_path_perm(OP_RENAME_DEST, current_cred(),
security/apparmor/lsm.c
427
if (!error)
security/apparmor/lsm.c
428
error = aa_path_perm(OP_RENAME_SRC, current_cred(),
security/apparmor/lsm.c
433
if (!error)
security/apparmor/lsm.c
434
error = aa_path_perm(OP_RENAME_DEST, current_cred(),
security/apparmor/lsm.c
442
return error;
security/apparmor/lsm.c
464
int error = 0;
security/apparmor/lsm.c
493
error = aa_path_perm(OP_OPEN, file->f_cred,
security/apparmor/lsm.c
501
return error;
security/apparmor/lsm.c
526
int error = 0;
security/apparmor/lsm.c
529
error = aa_file_perm(op, current_cred(), label, file, mask, false);
security/apparmor/lsm.c
532
return error;
security/apparmor/lsm.c
626
int error = 0;
security/apparmor/lsm.c
642
error = aa_check_perms(profile, &perms, request, ad,
security/apparmor/lsm.c
646
return error;
security/apparmor/lsm.c
660
int error;
security/apparmor/lsm.c
667
error = fn_for_each(label, profile,
security/apparmor/lsm.c
672
return error;
security/apparmor/lsm.c
685
int error;
security/apparmor/lsm.c
691
error = fn_for_each(label, profile,
security/apparmor/lsm.c
696
return error;
security/apparmor/lsm.c
704
int error = 0;
security/apparmor/lsm.c
716
error = aa_remount(current_cred(), label, path, flags,
security/apparmor/lsm.c
719
error = aa_bind_mount(current_cred(), label, path,
security/apparmor/lsm.c
723
error = aa_mount_change_type(current_cred(), label,
security/apparmor/lsm.c
726
error = aa_move_mount_old(current_cred(), label, path,
security/apparmor/lsm.c
729
error = aa_new_mount(current_cred(), label, dev_name,
security/apparmor/lsm.c
734
return error;
security/apparmor/lsm.c
741
int error = 0;
security/apparmor/lsm.c
746
error = aa_move_mount(current_cred(), label, from_path,
security/apparmor/lsm.c
750
return error;
security/apparmor/lsm.c
756
int error = 0;
security/apparmor/lsm.c
761
error = aa_umount(current_cred(), label, mnt, flags);
security/apparmor/lsm.c
764
return error;
security/apparmor/lsm.c
771
int error = 0;
security/apparmor/lsm.c
775
error = aa_pivotroot(current_cred(), label, old_path, new_path);
security/apparmor/lsm.c
778
return error;
security/apparmor/lsm.c
784
int error = -ENOENT;
security/apparmor/lsm.c
802
error = -EOPNOTSUPP;
security/apparmor/lsm.c
807
error = aa_getprocattr(label, &value, false);
security/apparmor/lsm.c
808
if (error > 0)
security/apparmor/lsm.c
809
error = lsm_fill_user_ctx(lx, size, value, error,
security/apparmor/lsm.c
816
if (error < 0)
security/apparmor/lsm.c
817
return error;
security/apparmor/lsm.c
824
int error = -ENOENT;
security/apparmor/lsm.c
837
error = -EINVAL;
security/apparmor/lsm.c
840
error = aa_getprocattr(label, value, true);
security/apparmor/lsm.c
845
return error;
security/apparmor/lsm.c
852
int error;
security/apparmor/lsm.c
869
error = -EINVAL;
security/apparmor/lsm.c
881
error = aa_setprocattr_changehat(args, arg_size,
security/apparmor/lsm.c
884
error = aa_setprocattr_changehat(args, arg_size,
security/apparmor/lsm.c
887
error = aa_change_profile(args, AA_CHANGE_NOFLAGS);
security/apparmor/lsm.c
889
error = aa_change_profile(args, AA_CHANGE_TEST);
security/apparmor/lsm.c
891
error = aa_change_profile(args, AA_CHANGE_STACK);
security/apparmor/lsm.c
896
error = aa_change_profile(args, AA_CHANGE_ONEXEC);
security/apparmor/lsm.c
898
error = aa_change_profile(args, (AA_CHANGE_ONEXEC |
security/apparmor/lsm.c
906
if (!error)
security/apparmor/lsm.c
907
error = size;
security/apparmor/lsm.c
910
return error;
security/apparmor/lsm.c
920
ad.error = error = -EINVAL;
security/apparmor/match.c
106
int error = -EPROTO;
security/apparmor/match.c
139
error = 0;
security/apparmor/match.c
141
return error;
security/apparmor/match.c
156
int error = -EPROTO;
security/apparmor/match.c
231
error = 0;
security/apparmor/match.c
234
return error;
security/apparmor/match.c
317
int error = -ENOMEM;
security/apparmor/match.c
326
error = -EPROTO;
security/apparmor/match.c
418
error = verify_table_headers(dfa->tables, flags);
security/apparmor/match.c
419
if (error)
security/apparmor/match.c
423
error = verify_dfa(dfa);
security/apparmor/match.c
424
if (error)
security/apparmor/match.c
433
return ERR_PTR(error);
security/apparmor/mount.c
139
struct aa_perms *perms, const char *info, int error)
security/apparmor/mount.c
144
if (likely(!error)) {
security/apparmor/mount.c
170
return error;
security/apparmor/mount.c
182
ad.error = error;
security/apparmor/mount.c
315
int pos, error;
security/apparmor/mount.c
324
error = aa_path_name(mntpath, path_flags(profile, mntpath), buffer,
security/apparmor/mount.c
326
if (error)
security/apparmor/mount.c
329
error = PTR_ERR(devname);
security/apparmor/mount.c
335
error = -EACCES;
security/apparmor/mount.c
343
error = 0;
security/apparmor/mount.c
348
flags, data, AA_MAY_MOUNT, &perms, info, error);
security/apparmor/mount.c
374
int error = -EACCES;
security/apparmor/mount.c
383
error = aa_path_name(devpath, path_flags(profile, devpath),
security/apparmor/mount.c
386
if (error)
security/apparmor/mount.c
387
devname = ERR_PTR(error);
security/apparmor/mount.c
401
int error;
security/apparmor/mount.c
411
error = fn_for_each_confined(label, profile,
security/apparmor/mount.c
417
return error;
security/apparmor/mount.c
427
int error;
security/apparmor/mount.c
437
error = kern_path(dev_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path);
security/apparmor/mount.c
438
if (error)
security/apparmor/mount.c
439
return error;
security/apparmor/mount.c
443
error = -ENOMEM;
security/apparmor/mount.c
447
error = fn_for_each_confined(label, profile,
security/apparmor/mount.c
455
return error;
security/apparmor/mount.c
464
int error;
security/apparmor/mount.c
476
error = fn_for_each_confined(label, profile,
security/apparmor/mount.c
482
return error;
security/apparmor/mount.c
491
int error;
security/apparmor/mount.c
499
error = -ENOMEM;
security/apparmor/mount.c
506
error = fn_for_each_confined(label, profile,
security/apparmor/mount.c
514
return error;
security/apparmor/mount.c
521
int error;
security/apparmor/mount.c
525
error = kern_path(orig_name, LOOKUP_FOLLOW, &old_path);
security/apparmor/mount.c
526
if (error)
security/apparmor/mount.c
527
return error;
security/apparmor/mount.c
529
error = aa_move_mount(subj_cred, label, &old_path, path);
security/apparmor/mount.c
532
return error;
security/apparmor/mount.c
542
int error;
security/apparmor/mount.c
563
error = kern_path(dev_name, LOOKUP_FOLLOW, &tmp_path);
security/apparmor/mount.c
564
if (error)
security/apparmor/mount.c
565
return error;
security/apparmor/mount.c
572
error = -ENOMEM;
security/apparmor/mount.c
578
error = -ENOMEM;
security/apparmor/mount.c
581
error = fn_for_each_confined(label, profile,
security/apparmor/mount.c
586
error = fn_for_each_confined(label, profile,
security/apparmor/mount.c
598
return error;
security/apparmor/mount.c
609
int error;
security/apparmor/mount.c
617
error = aa_path_name(path, path_flags(profile, path), buffer, &name,
security/apparmor/mount.c
619
if (error)
security/apparmor/mount.c
627
error = -EACCES;
security/apparmor/mount.c
632
AA_MAY_UMOUNT, &perms, info, error);
security/apparmor/mount.c
640
int error;
security/apparmor/mount.c
650
error = fn_for_each_confined(label, profile,
security/apparmor/mount.c
654
return error;
security/apparmor/mount.c
673
int error;
security/apparmor/mount.c
683
error = aa_path_name(old_path, path_flags(profile, old_path),
security/apparmor/mount.c
686
if (error)
security/apparmor/mount.c
688
error = aa_path_name(new_path, path_flags(profile, new_path),
security/apparmor/mount.c
691
if (error)
security/apparmor/mount.c
694
error = -EACCES;
security/apparmor/mount.c
703
error = 0;
security/apparmor/mount.c
706
error = audit_mount(subj_cred, profile, OP_PIVOTROOT, new_name,
security/apparmor/mount.c
709
&perms, info, error);
security/apparmor/mount.c
710
if (error)
security/apparmor/mount.c
711
return ERR_PTR(error);
security/apparmor/mount.c
723
int error;
security/apparmor/mount.c
731
error = -ENOMEM;
security/apparmor/mount.c
740
error = -ENOMEM;
security/apparmor/mount.c
743
error = aa_replace_current_label(target);
security/apparmor/mount.c
744
if (error) {
security/apparmor/mount.c
752
error = PTR_ERR(target);
security/apparmor/mount.c
757
return error;
security/apparmor/mount.c
761
error = fn_for_each(label, profile,
security/apparmor/mount.c
767
error));
security/apparmor/net.c
289
int error = 0;
security/apparmor/net.c
299
error = fn_for_each_confined(label, profile,
security/apparmor/net.c
303
return error;
security/apparmor/net.c
309
int error;
security/apparmor/net.c
316
error = aa_label_sk_perm(current_cred(), label, op, request, sk);
security/apparmor/net.c
319
return error;
security/apparmor/path.c
110
error = prepend(name, *name - buf, "/proc", 5);
security/apparmor/path.c
113
error = disconnect(path, buf, name, flags,
security/apparmor/path.c
135
error = -ENAMETOOLONG;
security/apparmor/path.c
142
error = PTR_ERR(res);
security/apparmor/path.c
152
error = disconnect(path, buf, name, flags, disconnected);
security/apparmor/path.c
162
error = -ENOENT;
security/apparmor/path.c
170
if (!error && isdir) {
security/apparmor/path.c
177
return error;
security/apparmor/path.c
204
int error = d_namespace_path(path, buffer, &str, flags, disconnected);
security/apparmor/path.c
206
if (info && error) {
security/apparmor/path.c
207
if (error == -ENOENT)
security/apparmor/path.c
209
else if (error == -EACCES)
security/apparmor/path.c
211
else if (error == -ENAMETOOLONG)
security/apparmor/path.c
219
return error;
security/apparmor/path.c
51
int error = 0;
security/apparmor/path.c
59
error = -EACCES;
security/apparmor/path.c
65
error = prepend(name, *name - buf, "/", 1);
security/apparmor/path.c
66
if (!error && disconnected)
security/apparmor/path.c
67
error = prepend(name, *name - buf, disconnected,
security/apparmor/path.c
71
return error;
security/apparmor/path.c
92
int error = 0;
security/apparmor/policy.c
1108
int error = replacement_allowed(*p, noreplace, info);
security/apparmor/policy.c
1109
if (error) {
security/apparmor/policy.c
1111
return error;
security/apparmor/policy.c
1170
ssize_t count, error;
security/apparmor/policy.c
1176
error = aa_unpack(udata, &lh, &ns_name);
security/apparmor/policy.c
1177
if (error)
security/apparmor/policy.c
1191
error = -EACCES;
security/apparmor/policy.c
1197
error = -EACCES;
security/apparmor/policy.c
1211
error = PTR_ERR(ns);
security/apparmor/policy.c
1243
error = __lookup_replace(ns, ent->new->base.hname,
security/apparmor/policy.c
1246
if (error)
security/apparmor/policy.c
1250
error = __lookup_replace(ns, ent->new->rename,
security/apparmor/policy.c
1253
if (error)
security/apparmor/policy.c
1286
error = -ENOENT;
security/apparmor/policy.c
1300
error = __aa_fs_create_rawdata(ns, udata);
security/apparmor/policy.c
1301
if (error) {
security/apparmor/policy.c
1316
error = __aafs_profile_mkdir(ent->new, parent);
security/apparmor/policy.c
1319
if (error) {
security/apparmor/policy.c
1338
error);
security/apparmor/policy.c
1350
error);
security/apparmor/policy.c
1378
if (error)
security/apparmor/policy.c
1379
return error;
security/apparmor/policy.c
1389
info, error);
security/apparmor/policy.c
1400
error);
security/apparmor/policy.c
1431
ssize_t error = 0;
security/apparmor/policy.c
1435
error = -ENOENT;
security/apparmor/policy.c
1448
error = -ENOENT;
security/apparmor/policy.c
1466
error = -ENOENT;
security/apparmor/policy.c
1479
error);
security/apparmor/policy.c
1490
error);
security/apparmor/policy.c
1491
return error;
security/apparmor/policy.c
844
const char *info, int error)
security/apparmor/policy.c
851
ad.error = error;
security/apparmor/policy.c
856
return error;
security/apparmor/policy_ns.c
220
int error;
security/apparmor/policy_ns.c
233
error = __aafs_ns_mkdir(ns, ns_subns_dir(parent), name, dir);
security/apparmor/policy_ns.c
234
if (error) {
security/apparmor/policy_ns.c
239
return ERR_PTR(error);
security/apparmor/policy_unpack.c
1007
error = PTR_ERR(pdb->dfa);
security/apparmor/policy_unpack.c
1066
error = unpack_strs_table(e, "xtable", false, &pdb->trans);
security/apparmor/policy_unpack.c
1067
if (error && required_trans) {
security/apparmor/policy_unpack.c
1088
return error;
security/apparmor/policy_unpack.c
1123
int error = -EPROTO;
security/apparmor/policy_unpack.c
1146
error = -ENOMEM;
security/apparmor/policy_unpack.c
1155
error = -ENOMEM;
security/apparmor/policy_unpack.c
1167
error = unpack_pdb(e, &profile->attach.xmatch, false, false, &info);
security/apparmor/policy_unpack.c
1168
if (error) {
security/apparmor/policy_unpack.c
1182
error = aa_compat_map_xmatch(profile->attach.xmatch);
security/apparmor/policy_unpack.c
1183
if (error) {
security/apparmor/policy_unpack.c
1300
error = unpack_pdb(e, &rules->policy, true, false,
security/apparmor/policy_unpack.c
1302
if (error)
security/apparmor/policy_unpack.c
1314
error = aa_compat_map_policy(rules->policy,
security/apparmor/policy_unpack.c
1316
if (error) {
security/apparmor/policy_unpack.c
1325
error = unpack_pdb(e, &rules->file, false, true, &info);
security/apparmor/policy_unpack.c
1326
if (error) {
security/apparmor/policy_unpack.c
1331
error = aa_compat_map_file(rules->file);
security/apparmor/policy_unpack.c
1332
if (error) {
security/apparmor/policy_unpack.c
1345
error = -EPROTO;
security/apparmor/policy_unpack.c
1350
error = -ENOMEM;
security/apparmor/policy_unpack.c
1369
error = -ENOMEM;
security/apparmor/policy_unpack.c
1379
error = -ENOMEM;
security/apparmor/policy_unpack.c
1409
if (error == 0)
security/apparmor/policy_unpack.c
1411
error = -EPROTO;
security/apparmor/policy_unpack.c
1420
audit_iface(profile, NULL, name, info, e, error);
security/apparmor/policy_unpack.c
1423
return ERR_PTR(error);
security/apparmor/policy_unpack.c
1436
int error = -EPROTONOSUPPORT;
security/apparmor/policy_unpack.c
1443
e, error);
security/apparmor/policy_unpack.c
1444
return error;
security/apparmor/policy_unpack.c
1454
e, error);
security/apparmor/policy_unpack.c
1455
return error;
security/apparmor/policy_unpack.c
1462
e, error);
security/apparmor/policy_unpack.c
1463
return error;
security/apparmor/policy_unpack.c
1467
error);
security/apparmor/policy_unpack.c
1699
int error = compress_zstd(udata, data->size, &data->data,
security/apparmor/policy_unpack.c
1701
if (error) {
security/apparmor/policy_unpack.c
1703
return error;
security/apparmor/policy_unpack.c
1731
int error;
security/apparmor/policy_unpack.c
1741
error = verify_header(&e, e.pos == e.start, ns);
security/apparmor/policy_unpack.c
1742
if (error)
security/apparmor/policy_unpack.c
1748
error = PTR_ERR(profile);
security/apparmor/policy_unpack.c
1752
error = verify_profile(profile);
security/apparmor/policy_unpack.c
1753
if (error)
security/apparmor/policy_unpack.c
1757
error = aa_calc_profile_hash(profile, e.version, start,
security/apparmor/policy_unpack.c
1759
if (error)
security/apparmor/policy_unpack.c
1764
error = -ENOMEM;
security/apparmor/policy_unpack.c
1777
error = PTR_ERR(udata->hash);
security/apparmor/policy_unpack.c
1784
error = compress_loaddata(udata);
security/apparmor/policy_unpack.c
1785
if (error)
security/apparmor/policy_unpack.c
1800
return error;
security/apparmor/policy_unpack.c
532
int error = -EPROTO;
security/apparmor/policy_unpack.c
549
error = -ENOMEM;
security/apparmor/policy_unpack.c
586
return error;
security/apparmor/policy_unpack.c
65
int error)
security/apparmor/policy_unpack.c
77
ad.error = error;
security/apparmor/policy_unpack.c
781
int error = -EPROTO;
security/apparmor/policy_unpack.c
788
error = -ENOMEM;
security/apparmor/policy_unpack.c
807
return error;
security/apparmor/policy_unpack.c
822
int error = -EPROTO;
security/apparmor/policy_unpack.c
829
error = -ENOMEM;
security/apparmor/policy_unpack.c
848
return error;
security/apparmor/policy_unpack.c
855
int error = -EPROTO;
security/apparmor/policy_unpack.c
867
error = unpack_strs_table(e, "strs", true, &tags->strs);
security/apparmor/policy_unpack.c
868
if (error) {
security/apparmor/policy_unpack.c
872
error = unpack_tag_headers(e, tags);
security/apparmor/policy_unpack.c
873
if (error) {
security/apparmor/policy_unpack.c
877
error = unpack_tagsets(e, tags);
security/apparmor/policy_unpack.c
878
if (error) {
security/apparmor/policy_unpack.c
895
return error;
security/apparmor/policy_unpack.c
971
int i, flags, error = -EPROTO;
security/apparmor/policy_unpack.c
986
error = size;
security/apparmor/resource.c
120
int error = 0;
security/apparmor/resource.c
135
error = fn_for_each(label, profile,
security/apparmor/resource.c
140
error = fn_for_each_confined(label, profile,
security/apparmor/resource.c
145
return error;
security/apparmor/resource.c
59
const char *info, int error)
security/apparmor/resource.c
69
ad.error = error;
security/apparmor/task.c
273
ad->error = aa_capable(cred, &tracer->label, CAP_SYS_PTRACE,
security/apparmor/task.c
352
int error = 0;
security/apparmor/task.c
367
error = aa_check_perms(profile, &perms, request, ad,
security/apparmor/task.c
371
return error;
security/commoncap.c
329
int error;
security/commoncap.c
331
error = __vfs_getxattr(dentry, inode, XATTR_NAME_CAPS, NULL, 0);
security/commoncap.c
332
return error > 0;
security/commoncap.c
353
int error;
security/commoncap.c
355
error = __vfs_removexattr(idmap, dentry, XATTR_NAME_CAPS);
security/commoncap.c
356
if (error == -EOPNOTSUPP)
security/commoncap.c
357
error = 0;
security/commoncap.c
358
return error;
security/inode.c
116
int error;
security/inode.c
125
error = simple_pin_fs(&fs_type, &mount, &mount_count);
security/inode.c
126
if (error)
security/inode.c
127
return ERR_PTR(error);
security/inode.c
45
int error;
security/inode.c
47
error = simple_fill_super(sb, SECURITYFS_MAGIC, files);
security/inode.c
48
if (error)
security/inode.c
49
return error;
security/integrity/evm/evm_crypto.c
233
int error;
security/integrity/evm/evm_crypto.c
248
error = -ENODATA;
security/integrity/evm/evm_crypto.c
264
error = 0;
security/integrity/evm/evm_crypto.c
278
error = -ENOMEM;
security/integrity/evm/evm_crypto.c
290
error = 0;
security/integrity/evm/evm_crypto.c
309
error = -EPERM;
security/integrity/evm/evm_crypto.c
313
return error;
security/integrity/evm/evm_main.c
1117
int error;
security/integrity/evm/evm_main.c
1122
error = integrity_init_keyring(INTEGRITY_KEYRING_EVM);
security/integrity/evm/evm_main.c
1123
if (error)
security/integrity/evm/evm_main.c
1124
goto error;
security/integrity/evm/evm_main.c
1126
error = evm_init_secfs();
security/integrity/evm/evm_main.c
1127
if (error < 0) {
security/integrity/evm/evm_main.c
1129
goto error;
security/integrity/evm/evm_main.c
1132
error:
security/integrity/evm/evm_main.c
1133
if (error != 0) {
security/integrity/evm/evm_main.c
1140
return error;
security/integrity/evm/evm_main.c
135
int error;
security/integrity/evm/evm_main.c
142
error = __vfs_getxattr(dentry, inode, xattr->name, NULL, 0);
security/integrity/evm/evm_main.c
143
if (error < 0) {
security/integrity/evm/evm_main.c
144
if (error == -ENODATA)
security/integrity/evm/evm_main.c
146
return error;
security/integrity/evm/evm_secfs.c
302
int error = 0;
security/integrity/evm/evm_secfs.c
305
error = integrity_fs_init();
security/integrity/evm/evm_secfs.c
306
if (error < 0)
security/integrity/evm/evm_secfs.c
311
error = -EFAULT;
security/integrity/evm/evm_secfs.c
318
error = -EFAULT;
security/integrity/evm/evm_secfs.c
325
error = -EFAULT;
security/integrity/evm/evm_secfs.c
330
error = -EFAULT;
security/integrity/evm/evm_secfs.c
339
return error;
security/integrity/ima/ima_main.c
1242
int error;
security/integrity/ima/ima_main.c
1253
error = ima_init();
security/integrity/ima/ima_main.c
1255
if (error && strcmp(hash_algo_name[ima_hash_algo],
security/integrity/ima/ima_main.c
1261
error = ima_init();
security/integrity/ima/ima_main.c
1264
if (error)
security/integrity/ima/ima_main.c
1265
return error;
security/integrity/ima/ima_main.c
1267
error = register_blocking_lsm_notifier(&ima_lsm_policy_notifier);
security/integrity/ima/ima_main.c
1268
if (error)
security/integrity/ima/ima_main.c
1269
pr_warn("Couldn't register LSM notifier, error %d\n", error);
security/integrity/ima/ima_main.c
1271
if (!error)
security/integrity/ima/ima_main.c
1274
return error;
security/keys/big_key.c
144
error:
security/keys/big_key.c
249
goto error;
security/keys/big_key.c
272
error:
security/keys/big_key.c
95
goto error;
security/keys/dh.c
28
goto error;
security/keys/dh.c
56
error:
security/keys/encrypted-keys/encrypted.c
311
goto error;
security/keys/encrypted-keys/encrypted.c
320
goto error;
security/keys/encrypted-keys/encrypted.c
324
error:
security/keys/encrypted-keys/masterkey_trusted.c
35
goto error;
security/keys/encrypted-keys/masterkey_trusted.c
41
error:
security/keys/key.c
1101
goto error;
security/keys/key.c
1115
error:
security/keys/key.c
237
goto error;
security/keys/key.c
243
goto error;
security/keys/key.c
325
error:
security/keys/key.c
339
goto error;
security/keys/key.c
353
goto error;
security/keys/key.c
359
goto error;
security/keys/key.c
518
goto error;
security/keys/key.c
524
goto error;
security/keys/key.c
546
error:
security/keys/key.c
577
unsigned error,
security/keys/key.c
608
mark_key_instantiated(key, -error);
security/keys/key.c
609
notify_key(key, NOTIFY_KEY_INSTANTIATED, -error);
security/keys/key.c
695
goto error;
security/keys/key.c
704
error:
security/keys/key.c
774
goto error;
security/keys/key.c
778
goto error;
security/keys/key.c
792
goto error;
security/keys/key.c
796
error:
security/keys/key.c
831
goto error;
security/keys/key.c
960
error:
security/keys/keyctl.c
1056
error:
security/keys/keyctl.c
1081
goto error;
security/keys/keyctl.c
1087
goto error;
security/keys/keyctl.c
1105
error:
security/keys/keyctl.c
1191
goto error;
security/keys/keyctl.c
1198
goto error;
security/keys/keyctl.c
1202
goto error;
security/keys/keyctl.c
1211
goto error;
security/keys/keyctl.c
1237
error:
security/keys/keyctl.c
1335
long keyctl_reject_key(key_serial_t id, unsigned timeout, unsigned error,
security/keys/keyctl.c
1343
kenter("%d,%u,%u,%d", id, timeout, error, ringid);
security/keys/keyctl.c
1346
if (error <= 0 ||
security/keys/keyctl.c
1347
error >= MAX_ERRNO ||
security/keys/keyctl.c
1348
error == ERESTARTSYS ||
security/keys/keyctl.c
1349
error == ERESTARTNOINTR ||
security/keys/keyctl.c
1350
error == ERESTARTNOHAND ||
security/keys/keyctl.c
1351
error == ERESTART_RESTARTBLOCK)
security/keys/keyctl.c
1359
goto error;
security/keys/keyctl.c
1363
goto error;
security/keys/keyctl.c
1369
goto error;
security/keys/keyctl.c
1372
ret = key_reject_and_link(rka->target_key, timeout, error,
security/keys/keyctl.c
1382
error:
security/keys/keyctl.c
1411
goto error;
security/keys/keyctl.c
1417
goto error;
security/keys/keyctl.c
1431
goto error;
security/keys/keyctl.c
1438
error:
security/keys/keyctl.c
1481
goto error;
security/keys/keyctl.c
1495
error:
security/keys/keyctl.c
150
error:
security/keys/keyctl.c
1524
goto error;
security/keys/keyctl.c
1529
goto error;
security/keys/keyctl.c
1540
goto error;
security/keys/keyctl.c
1547
error:
security/keys/keyctl.c
1744
goto error;
security/keys/keyctl.c
1748
goto error;
security/keys/keyctl.c
1753
goto error;
security/keys/keyctl.c
1757
goto error;
security/keys/keyctl.c
1762
error:
security/keys/keyctl.c
182
goto error;
security/keys/keyctl.c
188
goto error;
security/keys/keyctl.c
247
error:
security/keys/keyctl.c
268
goto error;
security/keys/keyctl.c
273
error:
security/keys/keyctl.c
299
goto error;
security/keys/keyctl.c
311
error:
security/keys/keyctl.c
335
goto error;
security/keys/keyctl.c
343
goto error;
security/keys/keyctl.c
363
error:
security/keys/keyctl.c
389
goto error;
security/keys/keyctl.c
393
goto error;
security/keys/keyctl.c
405
error:
security/keys/keyctl.c
436
goto error;
security/keys/keyctl.c
443
goto error;
security/keys/keyctl.c
455
error:
security/keys/keyctl.c
482
goto error;
security/keys/keyctl.c
489
goto error;
security/keys/keyctl.c
500
error:
security/keys/keyctl.c
523
goto error;
security/keys/keyctl.c
537
error:
security/keys/keyctl.c
561
goto error;
security/keys/keyctl.c
581
error:
security/keys/keyctl.c
671
goto error;
security/keys/keyctl.c
702
error:
security/keys/keyctl.c
729
goto error;
security/keys/keyctl.c
734
goto error;
security/keys/keyctl.c
796
error:
security/keys/keyctl.c
87
goto error;
security/keys/keyctl.c
92
goto error;
security/keys/keyctl.c
963
goto error;
security/keys/keyctl.c
965
goto error;
security/keys/keyctl.c
969
goto error;
security/keys/keyctl.c
975
goto error;
security/keys/keyctl.c
99
goto error;
security/keys/keyctl_pkey.c
179
goto error;
security/keys/keyctl_pkey.c
183
goto error;
security/keys/keyctl_pkey.c
190
error:
security/keys/keyring.c
1048
goto error;
security/keys/keyring.c
1056
goto error;
security/keys/keyring.c
1079
error:
security/keys/keyring.c
1312
goto error;
security/keys/keyring.c
1323
goto error;
security/keys/keyring.c
1342
error:
security/keys/keyring.c
1450
goto error;
security/keys/keyring.c
1465
error:
security/keys/keyring.c
1615
goto error;
security/keys/keyring.c
1618
goto error;
security/keys/keyring.c
1622
goto error;
security/keys/keyring.c
1626
goto error;
security/keys/keyring.c
1629
goto error;
security/keys/keyring.c
1633
error:
security/keys/process_keys.c
113
goto error;
security/keys/process_keys.c
117
goto error;
security/keys/process_keys.c
175
error:
security/keys/process_keys.c
633
goto error;
security/keys/process_keys.c
638
goto error;
security/keys/process_keys.c
651
goto error;
security/keys/process_keys.c
656
goto error;
security/keys/process_keys.c
672
goto error;
security/keys/process_keys.c
680
goto error;
security/keys/process_keys.c
687
goto error;
security/keys/process_keys.c
699
goto error;
security/keys/process_keys.c
706
goto error;
security/keys/process_keys.c
713
goto error;
security/keys/process_keys.c
718
goto error;
security/keys/process_keys.c
726
goto error;
security/keys/process_keys.c
740
goto error;
security/keys/process_keys.c
747
goto error;
security/keys/process_keys.c
752
goto error;
security/keys/process_keys.c
809
error:
security/keys/process_keys.c
816
goto error;
security/keys/process_keys.c
853
goto error;
security/keys/process_keys.c
902
error:
security/keys/request_key.c
507
goto error;
security/keys/request_key.c
540
error:
security/keys/request_key.c
59
void complete_request_key(struct key *authkey, int error)
security/keys/request_key.c
608
goto error;
security/keys/request_key.c
64
kenter("%d{%d},%d", authkey->serial, key->serial, error);
security/keys/request_key.c
66
if (error < 0)
security/keys/request_key.c
660
error:
security/keys/request_key_auth.c
176
goto error;
security/keys/request_key_auth.c
237
error:
security/keys/request_key_auth.c
272
goto error;
security/keys/request_key_auth.c
281
error:
security/safesetid/securityfs.c
324
goto error;
security/safesetid/securityfs.c
331
goto error;
security/safesetid/securityfs.c
338
goto error;
security/safesetid/securityfs.c
344
error:
security/selinux/avc.c
305
goto error;
security/selinux/avc.c
311
goto error;
security/selinux/avc.c
317
goto error;
security/selinux/avc.c
320
error:
security/selinux/avc.c
371
goto error;
security/selinux/avc.c
377
error:
security/selinux/hooks.c
3592
int error;
security/selinux/hooks.c
3615
error = security_sid_to_context_force(isec->sid, &context,
security/selinux/hooks.c
3618
error = security_sid_to_context(isec->sid,
security/selinux/hooks.c
3620
if (error)
security/selinux/hooks.c
3621
return error;
security/selinux/hooks.c
3622
error = size;
security/selinux/hooks.c
3629
return error;
security/selinux/hooks.c
3873
int error = 0;
security/selinux/hooks.c
3881
error = file_has_perm(cred, file, FILE__GETATTR);
security/selinux/hooks.c
3886
error = file_has_perm(cred, file, FILE__SETATTR);
security/selinux/hooks.c
3892
error = file_has_perm(cred, file, 0);
security/selinux/hooks.c
3897
error = cred_has_capability(cred, CAP_SYS_TTY_CONFIG,
security/selinux/hooks.c
3904
error = ioctl_has_perm(cred, file, FILE__IOCTL, (u16) cmd);
security/selinux/hooks.c
3911
error = ioctl_has_perm(cred, file, FILE__IOCTL, (u16) cmd);
security/selinux/hooks.c
3913
return error;
security/selinux/hooks.c
3962
goto error;
security/selinux/hooks.c
3979
error:
security/selinux/hooks.c
6557
int error;
security/selinux/hooks.c
6564
error = avc_has_perm(current_sid(), crsec->sid,
security/selinux/hooks.c
6566
if (error)
security/selinux/hooks.c
6589
error = -EOPNOTSUPP;
security/selinux/hooks.c
6599
error = security_sid_to_context(sid, value, &len);
security/selinux/hooks.c
6600
if (error)
security/selinux/hooks.c
6601
return error;
security/selinux/hooks.c
6606
return error;
security/selinux/hooks.c
6614
int error;
security/selinux/hooks.c
6622
error = avc_has_perm(mysid, mysid, SECCLASS_PROCESS,
security/selinux/hooks.c
6626
error = avc_has_perm(mysid, mysid, SECCLASS_PROCESS,
security/selinux/hooks.c
6630
error = avc_has_perm(mysid, mysid, SECCLASS_PROCESS,
security/selinux/hooks.c
6634
error = avc_has_perm(mysid, mysid, SECCLASS_PROCESS,
security/selinux/hooks.c
6638
error = avc_has_perm(mysid, mysid, SECCLASS_PROCESS,
security/selinux/hooks.c
6642
error = -EOPNOTSUPP;
security/selinux/hooks.c
6645
if (error)
security/selinux/hooks.c
6646
return error;
security/selinux/hooks.c
6654
error = security_context_to_sid(value, size,
security/selinux/hooks.c
6656
if (error == -EINVAL && attr == LSM_ATTR_FSCREATE) {
security/selinux/hooks.c
6672
return error;
security/selinux/hooks.c
6678
return error;
security/selinux/hooks.c
6680
error = security_context_to_sid_force(value, size,
security/selinux/hooks.c
6683
if (error)
security/selinux/hooks.c
6684
return error;
security/selinux/hooks.c
6704
error = avc_has_perm(mysid, sid,
security/selinux/hooks.c
6706
if (error)
security/selinux/hooks.c
6713
error = -EINVAL;
security/selinux/hooks.c
6718
error = security_bounded_transition(crsec->sid, sid);
security/selinux/hooks.c
6719
if (error)
security/selinux/hooks.c
6724
error = avc_has_perm(crsec->sid, sid, SECCLASS_PROCESS,
security/selinux/hooks.c
6726
if (error)
security/selinux/hooks.c
6733
error = avc_has_perm(ptsid, sid, SECCLASS_PROCESS,
security/selinux/hooks.c
6735
if (error)
security/selinux/hooks.c
6741
error = -EINVAL;
security/selinux/hooks.c
6750
return error;
security/selinux/include/netlabel.h
29
void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error,
security/selinux/include/netlabel.h
60
int error, int gateway)
security/selinux/netlabel.c
144
void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway)
security/selinux/netlabel.c
146
netlbl_skbuff_err(skb, family, error, gateway);
security/selinux/ss/conditional.c
636
goto error;
security/selinux/ss/conditional.c
650
goto error;
security/selinux/ss/conditional.c
657
goto error;
security/selinux/ss/conditional.c
662
goto error;
security/selinux/ss/conditional.c
667
error:
security/selinux/ss/hashtab.c
165
goto error;
security/selinux/ss/hashtab.c
169
goto error;
security/selinux/ss/hashtab.c
183
error:
security/tomoyo/common.c
1069
int error = -EINVAL;
security/tomoyo/common.c
1078
error = tomoyo_update_domain(&e.head, sizeof(e), param,
security/tomoyo/common.c
1083
return error;
security/tomoyo/common.c
2197
int error;
security/tomoyo/common.c
2217
error = -EPERM;
security/tomoyo/common.c
2222
error = 0;
security/tomoyo/common.c
2237
if (!error) {
security/tomoyo/common.c
2272
error = TOMOYO_RETRY_REQUEST;
security/tomoyo/common.c
2277
error = 0;
security/tomoyo/common.c
2285
return error;
security/tomoyo/common.c
2800
int error = buffer_len;
security/tomoyo/common.c
2821
error = -ENOMEM;
security/tomoyo/common.c
2831
error = -EFAULT;
security/tomoyo/common.c
2865
error = -EPERM;
security/tomoyo/common.c
2871
error = -EPERM;
security/tomoyo/common.c
2891
return error;
security/tomoyo/common.c
869
int error = is_delete ? -ENOENT : -ENOMEM;
security/tomoyo/common.c
876
error = tomoyo_update_policy(&e.head, sizeof(e), ¶m,
security/tomoyo/common.c
880
return error;
security/tomoyo/domain.c
103
int error = is_delete ? -ENOENT : -ENOMEM;
security/tomoyo/domain.c
135
error = 0;
security/tomoyo/domain.c
138
if (error && !is_delete) {
security/tomoyo/domain.c
142
error = 0;
security/tomoyo/domain.c
148
return error;
security/tomoyo/domain.c
246
int error = param->is_delete ? -ENOENT : -ENOMEM;
security/tomoyo/domain.c
276
error = tomoyo_update_policy(&e.head, sizeof(e), param,
security/tomoyo/domain.c
281
return error;
security/tomoyo/domain.c
38
int error = param->is_delete ? -ENOENT : -ENOMEM;
security/tomoyo/domain.c
406
int error = param->is_delete ? -ENOENT : -ENOMEM;
security/tomoyo/domain.c
419
error = tomoyo_update_policy(&e.head, sizeof(e), param,
security/tomoyo/domain.c
424
return error;
security/tomoyo/domain.c
51
error = 0;
security/tomoyo/domain.c
54
if (error && !param->is_delete) {
security/tomoyo/domain.c
58
error = 0;
security/tomoyo/domain.c
62
return error;
security/tomoyo/domain.c
626
int error = -ENOMEM;
security/tomoyo/domain.c
637
while (error == -ENOMEM) {
security/tomoyo/domain.c
674
error = -EPERM;
security/tomoyo/domain.c
678
error = 0;
security/tomoyo/domain.c
687
error = 0;
security/tomoyo/domain.c
690
return error;
security/tomoyo/environ.c
105
return error;
security/tomoyo/environ.c
106
error = tomoyo_update_domain(&e.head, sizeof(e), param,
security/tomoyo/environ.c
109
return error;
security/tomoyo/environ.c
54
int error;
security/tomoyo/environ.c
64
error = tomoyo_audit_env_log(r);
security/tomoyo/environ.c
65
} while (error == TOMOYO_RETRY_REQUEST);
security/tomoyo/environ.c
66
return error;
security/tomoyo/environ.c
98
int error = -ENOMEM;
security/tomoyo/file.c
1005
return error;
security/tomoyo/file.c
397
int error;
security/tomoyo/file.c
400
error = -EINVAL;
security/tomoyo/file.c
402
error = tomoyo_update_domain(&e.head, sizeof(e), param,
security/tomoyo/file.c
406
return error;
security/tomoyo/file.c
473
int error;
security/tomoyo/file.c
479
error = -EINVAL;
security/tomoyo/file.c
481
error = tomoyo_update_domain(&e.head, sizeof(e), param,
security/tomoyo/file.c
488
return error;
security/tomoyo/file.c
552
int error;
security/tomoyo/file.c
556
error = -EINVAL;
security/tomoyo/file.c
558
error = tomoyo_update_domain(&e.head, sizeof(e), param,
security/tomoyo/file.c
563
return error;
security/tomoyo/file.c
581
int error;
security/tomoyo/file.c
592
error = tomoyo_audit_path_log(r);
security/tomoyo/file.c
593
} while (error == TOMOYO_RETRY_REQUEST);
security/tomoyo/file.c
594
return error;
security/tomoyo/file.c
690
int error;
security/tomoyo/file.c
694
error = -EINVAL;
security/tomoyo/file.c
696
error = tomoyo_update_domain(&e.head, sizeof(e), param,
security/tomoyo/file.c
701
return error;
security/tomoyo/file.c
720
int error = -ENOMEM;
security/tomoyo/file.c
739
error = tomoyo_audit_path_number_log(&r);
security/tomoyo/file.c
740
} while (error == TOMOYO_RETRY_REQUEST);
security/tomoyo/file.c
745
error = 0;
security/tomoyo/file.c
746
return error;
security/tomoyo/file.c
762
int error = 0;
security/tomoyo/file.c
777
error = -ENOMEM;
security/tomoyo/file.c
782
error = tomoyo_path_permission(&r, TOMOYO_TYPE_READ,
security/tomoyo/file.c
784
if (!error && (acc_mode & MAY_WRITE))
security/tomoyo/file.c
785
error = tomoyo_path_permission(&r, (flag & O_APPEND) ?
security/tomoyo/file.c
794
error = 0;
security/tomoyo/file.c
795
return error;
security/tomoyo/file.c
814
int error;
security/tomoyo/file.c
824
error = -ENOMEM;
security/tomoyo/file.c
843
error = tomoyo_path_permission(&r, operation, &buf);
security/tomoyo/file.c
850
error = 0;
security/tomoyo/file.c
851
return error;
security/tomoyo/file.c
871
int error = -ENOMEM;
security/tomoyo/file.c
879
error = -ENOMEM;
security/tomoyo/file.c
890
error = tomoyo_audit_mkdev_log(&r);
security/tomoyo/file.c
895
error = 0;
security/tomoyo/file.c
896
return error;
security/tomoyo/file.c
911
int error = -ENOMEM;
security/tomoyo/file.c
948
error = tomoyo_audit_path2_log(&r);
security/tomoyo/file.c
949
} while (error == TOMOYO_RETRY_REQUEST);
security/tomoyo/file.c
955
error = 0;
security/tomoyo/file.c
956
return error;
security/tomoyo/file.c
991
int error;
security/tomoyo/file.c
997
error = -EINVAL;
security/tomoyo/file.c
999
error = tomoyo_update_domain(&e.head, sizeof(e), param,
security/tomoyo/group.c
111
error = tomoyo_update_policy(&e.head, sizeof(e), param,
security/tomoyo/group.c
116
return error;
security/tomoyo/group.c
77
int error = -EINVAL;
security/tomoyo/group.c
87
error = -ENOMEM;
security/tomoyo/group.c
90
error = tomoyo_update_policy(&e.head, sizeof(e), param,
security/tomoyo/group.c
99
error = tomoyo_update_policy(&e.head, sizeof(e), param,
security/tomoyo/mount.c
109
error = -ENOMEM;
security/tomoyo/mount.c
129
error = -ENODEV;
security/tomoyo/mount.c
139
error = -ENOENT;
security/tomoyo/mount.c
145
error = -ENOENT;
security/tomoyo/mount.c
154
error = -ENOMEM;
security/tomoyo/mount.c
168
error = tomoyo_audit_mount_log(r);
security/tomoyo/mount.c
169
} while (error == TOMOYO_RETRY_REQUEST);
security/tomoyo/mount.c
179
return error;
security/tomoyo/mount.c
198
int error;
security/tomoyo/mount.c
239
error = tomoyo_mount_acl(&r, dev_name, path, type, flags);
security/tomoyo/mount.c
241
return error;
security/tomoyo/mount.c
94
int error = -ENOMEM;
security/tomoyo/network.c
285
int error = -EINVAL;
security/tomoyo/network.c
311
error = tomoyo_update_domain(&e.head, sizeof(e), param,
security/tomoyo/network.c
317
return error;
security/tomoyo/network.c
330
int error;
security/tomoyo/network.c
345
error = tomoyo_update_domain(&e.head, sizeof(e), param,
security/tomoyo/network.c
349
return error;
security/tomoyo/network.c
474
int error = 0;
security/tomoyo/network.c
487
error = tomoyo_audit_inet_log(&r);
security/tomoyo/network.c
488
} while (error == TOMOYO_RETRY_REQUEST);
security/tomoyo/network.c
491
return error;
security/tomoyo/network.c
551
int error = 0;
security/tomoyo/network.c
577
error = tomoyo_audit_unix_log(&r);
security/tomoyo/network.c
578
} while (error == TOMOYO_RETRY_REQUEST);
security/tomoyo/network.c
581
error = -ENOMEM;
security/tomoyo/network.c
584
return error;
security/tomoyo/network.c
664
const int error = sock->ops->getname(sock, (struct sockaddr *)
security/tomoyo/network.c
667
if (error < 0)
security/tomoyo/network.c
668
return error;
security/tomoyo/network.c
669
addr_len = error;
security/tomoyo/securityfs_if.c
45
int error;
security/tomoyo/securityfs_if.c
66
error = -EPERM;
security/tomoyo/securityfs_if.c
71
error = -ENOENT;
security/tomoyo/securityfs_if.c
80
error = 0;
security/tomoyo/securityfs_if.c
85
error = -EINVAL;
security/tomoyo/securityfs_if.c
87
return error ? error : count;
security/tomoyo/tomoyo.c
378
int error = 0;
security/tomoyo/tomoyo.c
381
error = tomoyo_path_number_perm(TOMOYO_TYPE_CHOWN, path,
security/tomoyo/tomoyo.c
383
if (!error && gid_valid(gid))
security/tomoyo/tomoyo.c
384
error = tomoyo_path_number_perm(TOMOYO_TYPE_CHGRP, path,
security/tomoyo/tomoyo.c
386
return error;
sound/aoa/codecs/onyx.c
893
goto error; \
sound/aoa/codecs/onyx.c
937
error:
sound/aoa/codecs/tas.c
792
goto error;
sound/aoa/codecs/tas.c
796
goto error;
sound/aoa/codecs/tas.c
800
goto error;
sound/aoa/codecs/tas.c
804
goto error;
sound/aoa/codecs/tas.c
808
goto error;
sound/aoa/codecs/tas.c
812
goto error;
sound/aoa/codecs/tas.c
816
goto error;
sound/aoa/codecs/tas.c
820
goto error;
sound/aoa/codecs/tas.c
824
goto error;
sound/aoa/codecs/tas.c
827
error:
sound/aoa/soundbus/core.c
40
int error = -ENODEV;
sound/aoa/soundbus/core.c
48
return error;
sound/aoa/soundbus/core.c
52
error = drv->probe(soundbus_dev);
sound/aoa/soundbus/core.c
53
if (error)
sound/aoa/soundbus/core.c
56
return error;
sound/core/control.c
518
goto error;
sound/core/control.c
524
goto error;
sound/core/control.c
527
error:
sound/core/info.c
245
goto error;
sound/core/info.c
251
goto error;
sound/core/info.c
257
error:
sound/core/info.c
361
goto error;
sound/core/info.c
369
goto error;
sound/core/info.c
372
error:
sound/core/info.c
437
goto error;
sound/core/info.c
441
goto error;
sound/core/info.c
446
goto error;
sound/core/info.c
453
goto error;
sound/core/info.c
456
error:
sound/core/info.c
593
if (len <= 0 || buffer->stop || buffer->error)
sound/core/jack.c
446
goto error;
sound/core/jack.c
455
error:
sound/core/memalloc.c
730
goto error;
sound/core/memalloc.c
740
goto error;
sound/core/memalloc.c
758
goto error;
sound/core/memalloc.c
776
error:
sound/core/oss/pcm_oss.c
3037
buffer->error = -ENOMEM;
sound/core/oss/pcm_oss.c
3050
buffer->error = -ENOMEM;
sound/core/pcm_memory.c
191
buffer->error = -EBUSY;
sound/core/pcm_memory.c
196
buffer->error = kstrtoul(str, 10, &size);
sound/core/pcm_memory.c
197
if (buffer->error != 0)
sound/core/pcm_memory.c
201
buffer->error = -EINVAL;
sound/core/pcm_memory.c
214
buffer->error = -ENOMEM;
sound/core/pcm_memory.c
229
buffer->error = -EINVAL;
sound/core/pcm_native.c
2785
goto error;
sound/core/pcm_native.c
2790
goto error;
sound/core/pcm_native.c
2797
goto error;
sound/core/pcm_native.c
2810
error:
sound/core/rawmidi.c
1981
goto error;
sound/core/rawmidi.c
2044
error:
sound/core/seq/oss/seq_oss.c
72
goto error;
sound/core/seq/oss/seq_oss.c
76
goto error;
sound/core/seq/oss/seq_oss.c
82
goto error;
sound/core/seq/oss/seq_oss.c
90
goto error;
sound/core/seq/oss/seq_oss.c
96
error:
sound/core/seq/seq.c
74
goto error;
sound/core/seq/seq.c
79
goto error;
sound/core/seq/seq.c
98
error:
sound/core/seq/seq_info.c
54
goto error;
sound/core/seq/seq_info.c
57
error:
sound/core/seq/seq_ports.c
590
goto error;
sound/core/seq/seq_ports.c
602
error:
sound/core/seq/seq_ump_client.c
476
goto error;
sound/core/seq/seq_ump_client.c
488
goto error;
sound/core/seq/seq_ump_client.c
495
goto error;
sound/core/seq/seq_ump_client.c
500
goto error;
sound/core/seq/seq_ump_client.c
509
error:
sound/core/sound.c
273
goto error;
sound/core/sound.c
280
goto error;
sound/core/sound.c
283
error:
sound/core/ump.c
1091
goto error;
sound/core/ump.c
1133
error:
sound/firewire/amdtp-stream.c
1544
goto error;
sound/firewire/amdtp-stream.c
1548
error:
sound/firewire/amdtp-stream.c
2116
goto error;
sound/firewire/amdtp-stream.c
2120
error:
sound/firewire/bebob/bebob.c
239
goto error;
sound/firewire/bebob/bebob.c
243
goto error;
sound/firewire/bebob/bebob.c
254
goto error;
sound/firewire/bebob/bebob.c
258
goto error;
sound/firewire/bebob/bebob.c
265
goto error;
sound/firewire/bebob/bebob.c
270
goto error;
sound/firewire/bebob/bebob.c
274
goto error;
sound/firewire/bebob/bebob.c
278
goto error;
sound/firewire/bebob/bebob.c
293
error:
sound/firewire/bebob/bebob_stream.c
625
goto error;
sound/firewire/bebob/bebob_stream.c
629
goto error;
sound/firewire/bebob/bebob_stream.c
646
goto error;
sound/firewire/bebob/bebob_stream.c
657
goto error;
sound/firewire/bebob/bebob_stream.c
665
goto error;
sound/firewire/bebob/bebob_stream.c
670
error:
sound/firewire/dice/dice-stream.c
307
goto error;
sound/firewire/dice/dice-stream.c
312
goto error;
sound/firewire/dice/dice-stream.c
317
goto error;
sound/firewire/dice/dice-stream.c
321
error:
sound/firewire/dice/dice-stream.c
436
goto error;
sound/firewire/dice/dice-stream.c
440
goto error;
sound/firewire/dice/dice-stream.c
446
goto error;
sound/firewire/dice/dice-stream.c
455
goto error;
sound/firewire/dice/dice-stream.c
459
goto error;
sound/firewire/dice/dice-stream.c
464
error:
sound/firewire/dice/dice.c
187
goto error;
sound/firewire/dice/dice.c
191
goto error;
sound/firewire/dice/dice.c
197
goto error;
sound/firewire/dice/dice.c
201
goto error;
sound/firewire/dice/dice.c
207
goto error;
sound/firewire/dice/dice.c
211
goto error;
sound/firewire/dice/dice.c
215
goto error;
sound/firewire/dice/dice.c
219
goto error;
sound/firewire/dice/dice.c
222
error:
sound/firewire/digi00x/digi00x-stream.c
352
goto error;
sound/firewire/digi00x/digi00x-stream.c
356
goto error;
sound/firewire/digi00x/digi00x-stream.c
368
goto error;
sound/firewire/digi00x/digi00x-stream.c
373
goto error;
sound/firewire/digi00x/digi00x-stream.c
378
goto error;
sound/firewire/digi00x/digi00x-stream.c
386
goto error;
sound/firewire/digi00x/digi00x-stream.c
390
goto error;
sound/firewire/digi00x/digi00x-stream.c
395
error:
sound/firewire/digi00x/digi00x.c
101
goto error;
sound/firewire/digi00x/digi00x.c
105
goto error;
sound/firewire/digi00x/digi00x.c
108
error:
sound/firewire/digi00x/digi00x.c
79
goto error;
sound/firewire/digi00x/digi00x.c
83
goto error;
sound/firewire/digi00x/digi00x.c
89
goto error;
sound/firewire/digi00x/digi00x.c
93
goto error;
sound/firewire/digi00x/digi00x.c
97
goto error;
sound/firewire/fireface/ff-stream.c
190
goto error;
sound/firewire/fireface/ff-stream.c
195
goto error;
sound/firewire/fireface/ff-stream.c
200
goto error;
sound/firewire/fireface/ff-stream.c
208
goto error;
sound/firewire/fireface/ff-stream.c
212
goto error;
sound/firewire/fireface/ff-stream.c
217
goto error;
sound/firewire/fireface/ff-stream.c
221
error:
sound/firewire/fireface/ff.c
103
goto error;
sound/firewire/fireface/ff.c
109
goto error;
sound/firewire/fireface/ff.c
112
error:
sound/firewire/fireface/ff.c
77
goto error;
sound/firewire/fireface/ff.c
83
goto error;
sound/firewire/fireface/ff.c
89
goto error;
sound/firewire/fireface/ff.c
93
goto error;
sound/firewire/fireface/ff.c
97
goto error;
sound/firewire/fireworks/fireworks.c
241
goto error;
sound/firewire/fireworks/fireworks.c
248
goto error;
sound/firewire/fireworks/fireworks.c
252
goto error;
sound/firewire/fireworks/fireworks.c
259
goto error;
sound/firewire/fireworks/fireworks.c
264
goto error;
sound/firewire/fireworks/fireworks.c
268
goto error;
sound/firewire/fireworks/fireworks.c
272
goto error;
sound/firewire/fireworks/fireworks.c
275
error:
sound/firewire/fireworks/fireworks_stream.c
279
goto error;
sound/firewire/fireworks/fireworks_stream.c
283
goto error;
sound/firewire/fireworks/fireworks_stream.c
290
goto error;
sound/firewire/fireworks/fireworks_stream.c
294
goto error;
sound/firewire/fireworks/fireworks_stream.c
299
error:
sound/firewire/isight.c
223
goto error;
sound/firewire/isight.c
242
error:
sound/firewire/isight.c
350
goto error;
sound/firewire/isight.c
354
goto error;
sound/firewire/isight.c
395
error:
sound/firewire/isight.c
630
goto error;
sound/firewire/isight.c
646
goto error;
sound/firewire/isight.c
650
goto error;
sound/firewire/isight.c
654
goto error;
sound/firewire/isight.c
659
error:
sound/firewire/motu/motu.c
100
goto error;
sound/firewire/motu/motu.c
108
goto error;
sound/firewire/motu/motu.c
113
goto error;
sound/firewire/motu/motu.c
118
goto error;
sound/firewire/motu/motu.c
122
goto error;
sound/firewire/motu/motu.c
127
goto error;
sound/firewire/motu/motu.c
130
error:
sound/firewire/motu/motu.c
90
goto error;
sound/firewire/motu/motu.c
94
goto error;
sound/firewire/oxfw/oxfw-scs1x.c
134
scs->error = true;
sound/firewire/oxfw/oxfw-scs1x.c
186
if (!stream || scs->error) {
sound/firewire/oxfw/oxfw-scs1x.c
319
scs->error = false;
sound/firewire/oxfw/oxfw-scs1x.c
34
bool error;
sound/firewire/oxfw/oxfw-spkr.c
123
goto error;
sound/firewire/oxfw/oxfw-spkr.c
127
goto error;
sound/firewire/oxfw/oxfw-spkr.c
132
goto error;
sound/firewire/oxfw/oxfw-spkr.c
139
error:
sound/firewire/oxfw/oxfw-spkr.c
62
goto error;
sound/firewire/oxfw/oxfw-spkr.c
66
goto error;
sound/firewire/oxfw/oxfw-spkr.c
71
goto error;
sound/firewire/oxfw/oxfw-spkr.c
78
error:
sound/firewire/oxfw/oxfw-stream.c
356
goto error;
sound/firewire/oxfw/oxfw-stream.c
365
goto error;
sound/firewire/oxfw/oxfw-stream.c
387
goto error;
sound/firewire/oxfw/oxfw-stream.c
391
goto error;
sound/firewire/oxfw/oxfw-stream.c
396
error:
sound/firewire/oxfw/oxfw.c
234
goto error;
sound/firewire/oxfw/oxfw.c
243
goto error;
sound/firewire/oxfw/oxfw.c
247
goto error;
sound/firewire/oxfw/oxfw.c
252
goto error;
sound/firewire/oxfw/oxfw.c
256
goto error;
sound/firewire/oxfw/oxfw.c
262
goto error;
sound/firewire/oxfw/oxfw.c
266
goto error;
sound/firewire/oxfw/oxfw.c
271
goto error;
sound/firewire/oxfw/oxfw.c
274
error:
sound/firewire/packets-buffer.c
33
goto error;
sound/firewire/packets-buffer.c
61
error:
sound/firewire/tascam/tascam-stream.c
452
goto error;
sound/firewire/tascam/tascam-stream.c
456
goto error;
sound/firewire/tascam/tascam-stream.c
464
goto error;
sound/firewire/tascam/tascam-stream.c
468
goto error;
sound/firewire/tascam/tascam-stream.c
473
goto error;
sound/firewire/tascam/tascam-stream.c
478
goto error;
sound/firewire/tascam/tascam-stream.c
494
goto error;
sound/firewire/tascam/tascam-stream.c
498
goto error;
sound/firewire/tascam/tascam-stream.c
503
error:
sound/firewire/tascam/tascam-transaction.c
163
port->error = true;
sound/firewire/tascam/tascam-transaction.c
179
if (!port->idling || port->error)
sound/firewire/tascam/tascam-transaction.c
205
port->error = true;
sound/firewire/tascam/tascam-transaction.c
240
port->error = false;
sound/firewire/tascam/tascam-transaction.c
317
goto error;
sound/firewire/tascam/tascam-transaction.c
326
error:
sound/firewire/tascam/tascam.c
121
goto error;
sound/firewire/tascam/tascam.c
125
goto error;
sound/firewire/tascam/tascam.c
129
goto error;
sound/firewire/tascam/tascam.c
135
goto error;
sound/firewire/tascam/tascam.c
139
goto error;
sound/firewire/tascam/tascam.c
143
goto error;
sound/firewire/tascam/tascam.c
147
goto error;
sound/firewire/tascam/tascam.c
150
error:
sound/firewire/tascam/tascam.h
186
if (!port->error) {
sound/firewire/tascam/tascam.h
197
port->error = false;
sound/firewire/tascam/tascam.h
52
bool error;
sound/hda/codecs/ca0110.c
49
goto error;
sound/hda/codecs/ca0110.c
53
error:
sound/hda/codecs/ca0132.c
10005
goto error;
sound/hda/codecs/ca0132.c
10009
goto error;
sound/hda/codecs/ca0132.c
10015
error:
sound/hda/codecs/cirrus/cs421x.c
550
goto error;
sound/hda/codecs/cirrus/cs421x.c
556
error:
sound/hda/codecs/cirrus/cs8409.c
216
goto error;
sound/hda/codecs/cirrus/cs8409.c
221
goto error;
sound/hda/codecs/cirrus/cs8409.c
228
error:
sound/hda/codecs/cirrus/cs8409.c
257
goto error;
sound/hda/codecs/cirrus/cs8409.c
263
goto error;
sound/hda/codecs/cirrus/cs8409.c
270
error:
sound/hda/codecs/cirrus/cs8409.c
298
goto error;
sound/hda/codecs/cirrus/cs8409.c
304
goto error;
sound/hda/codecs/cirrus/cs8409.c
308
error:
sound/hda/codecs/cirrus/cs8409.c
338
goto error;
sound/hda/codecs/cirrus/cs8409.c
344
goto error;
sound/hda/codecs/cirrus/cs8409.c
354
error:
sound/hda/codecs/cm9825.c
535
goto error;
sound/hda/codecs/cm9825.c
541
goto error;
sound/hda/codecs/cm9825.c
544
goto error;
sound/hda/codecs/cm9825.c
550
error:
sound/hda/codecs/cmedia.c
44
goto error;
sound/hda/codecs/cmedia.c
47
goto error;
sound/hda/codecs/cmedia.c
51
goto error;
sound/hda/codecs/cmedia.c
54
goto error;
sound/hda/codecs/cmedia.c
64
goto error;
sound/hda/codecs/cmedia.c
71
error:
sound/hda/codecs/conexant.c
1254
goto error;
sound/hda/codecs/conexant.c
1258
goto error;
sound/hda/codecs/conexant.c
1262
goto error;
sound/hda/codecs/conexant.c
1279
error:
sound/hda/codecs/generic.c
6106
goto error;
sound/hda/codecs/generic.c
6110
goto error;
sound/hda/codecs/generic.c
6114
error:
sound/hda/codecs/hdmi/eld.c
103
error:
sound/hda/codecs/hdmi/eld.c
85
goto error;
sound/hda/codecs/hdmi/eld.c
97
goto error;
sound/hda/codecs/realtek/alc260.c
242
goto error;
sound/hda/codecs/realtek/alc260.c
247
goto error;
sound/hda/codecs/realtek/alc260.c
254
error:
sound/hda/codecs/realtek/alc262.c
165
goto error;
sound/hda/codecs/realtek/alc262.c
170
goto error;
sound/hda/codecs/realtek/alc262.c
177
error:
sound/hda/codecs/realtek/alc268.c
127
goto error;
sound/hda/codecs/realtek/alc268.c
135
goto error;
sound/hda/codecs/realtek/alc268.c
152
error:
sound/hda/codecs/realtek/alc269.c
8530
goto error;
sound/hda/codecs/realtek/alc269.c
8686
goto error;
sound/hda/codecs/realtek/alc269.c
8691
goto error;
sound/hda/codecs/realtek/alc269.c
8698
error:
sound/hda/codecs/realtek/alc662.c
1047
goto error;
sound/hda/codecs/realtek/alc662.c
1053
goto error;
sound/hda/codecs/realtek/alc662.c
1071
goto error;
sound/hda/codecs/realtek/alc662.c
1078
error:
sound/hda/codecs/realtek/alc861.c
114
goto error;
sound/hda/codecs/realtek/alc861.c
119
goto error;
sound/hda/codecs/realtek/alc861.c
126
error:
sound/hda/codecs/realtek/alc861vd.c
100
error:
sound/hda/codecs/realtek/alc861vd.c
88
goto error;
sound/hda/codecs/realtek/alc861vd.c
93
goto error;
sound/hda/codecs/realtek/alc880.c
461
goto error;
sound/hda/codecs/realtek/alc880.c
466
goto error;
sound/hda/codecs/realtek/alc880.c
473
error:
sound/hda/codecs/realtek/alc882.c
799
goto error;
sound/hda/codecs/realtek/alc882.c
804
goto error;
sound/hda/codecs/realtek/alc882.c
811
error:
sound/hda/codecs/senarytech.c
192
goto error;
sound/hda/codecs/senarytech.c
196
goto error;
sound/hda/codecs/senarytech.c
200
goto error;
sound/hda/codecs/senarytech.c
217
error:
sound/hda/codecs/sigmatel.c
341
int error, pinctl;
sound/hda/codecs/sigmatel.c
354
error = snd_hda_set_pin_ctl_cache(codec, nid, pinctl);
sound/hda/codecs/sigmatel.c
355
if (error < 0)
sound/hda/codecs/sigmatel.c
356
return error;
sound/hda/common/bind.c
105
goto error;
sound/hda/common/bind.c
108
goto error;
sound/hda/common/bind.c
112
goto error;
sound/hda/common/bind.c
146
error:
sound/hda/core/device.c
107
goto error;
sound/hda/core/device.c
113
goto error;
sound/hda/core/device.c
118
error:
sound/hda/core/device.c
68
goto error;
sound/hda/core/device.c
90
goto error;
sound/hda/core/device.c
97
goto error;
sound/hda/core/stream.c
538
goto error;
sound/hda/core/stream.c
552
goto error;
sound/hda/core/stream.c
556
error:
sound/hda/core/stream.c
946
goto error;
sound/hda/core/stream.c
951
error:
sound/isa/ad1816a/ad1816a.c
120
int error;
sound/isa/ad1816a/ad1816a.c
125
error = snd_devm_card_new(&pcard->card->dev,
sound/isa/ad1816a/ad1816a.c
128
if (error < 0)
sound/isa/ad1816a/ad1816a.c
129
return error;
sound/isa/ad1816a/ad1816a.c
132
error = snd_card_ad1816a_pnp(dev, pcard, pid);
sound/isa/ad1816a/ad1816a.c
133
if (error)
sound/isa/ad1816a/ad1816a.c
134
return error;
sound/isa/ad1816a/ad1816a.c
136
error = snd_ad1816a_create(card, port[dev],
sound/isa/ad1816a/ad1816a.c
141
if (error)
sound/isa/ad1816a/ad1816a.c
142
return error;
sound/isa/ad1816a/ad1816a.c
151
error = snd_ad1816a_pcm(chip, 0);
sound/isa/ad1816a/ad1816a.c
152
if (error < 0)
sound/isa/ad1816a/ad1816a.c
153
return error;
sound/isa/ad1816a/ad1816a.c
155
error = snd_ad1816a_mixer(chip);
sound/isa/ad1816a/ad1816a.c
156
if (error < 0)
sound/isa/ad1816a/ad1816a.c
157
return error;
sound/isa/ad1816a/ad1816a.c
159
error = snd_ad1816a_timer(chip, 0);
sound/isa/ad1816a/ad1816a.c
160
if (error < 0)
sound/isa/ad1816a/ad1816a.c
161
return error;
sound/isa/ad1816a/ad1816a.c
178
error = snd_opl3_hwdep_new(opl3, 0, 1, NULL);
sound/isa/ad1816a/ad1816a.c
179
if (error < 0)
sound/isa/ad1816a/ad1816a.c
180
return error;
sound/isa/ad1816a/ad1816a.c
184
error = snd_card_register(card);
sound/isa/ad1816a/ad1816a.c
185
if (error < 0)
sound/isa/ad1816a/ad1816a.c
186
return error;
sound/isa/ad1816a/ad1816a_lib.c
160
int error = 0;
sound/isa/ad1816a/ad1816a_lib.c
181
error = -EINVAL;
sound/isa/ad1816a/ad1816a_lib.c
184
return error;
sound/isa/ad1816a/ad1816a_lib.c
409
int error;
sound/isa/ad1816a/ad1816a_lib.c
411
error = snd_ad1816a_open(chip, AD1816A_MODE_PLAYBACK);
sound/isa/ad1816a/ad1816a_lib.c
412
if (error < 0)
sound/isa/ad1816a/ad1816a_lib.c
413
return error;
sound/isa/ad1816a/ad1816a_lib.c
425
int error;
sound/isa/ad1816a/ad1816a_lib.c
427
error = snd_ad1816a_open(chip, AD1816A_MODE_CAPTURE);
sound/isa/ad1816a/ad1816a_lib.c
428
if (error < 0)
sound/isa/ad1816a/ad1816a_lib.c
429
return error;
sound/isa/ad1816a/ad1816a_lib.c
530
int error;
sound/isa/ad1816a/ad1816a_lib.c
563
error = snd_ad1816a_probe(chip);
sound/isa/ad1816a/ad1816a_lib.c
564
if (error)
sound/isa/ad1816a/ad1816a_lib.c
565
return error;
sound/isa/ad1816a/ad1816a_lib.c
590
int error;
sound/isa/ad1816a/ad1816a_lib.c
593
error = snd_pcm_new(chip->card, "AD1816A", device, 1, 1, &pcm);
sound/isa/ad1816a/ad1816a_lib.c
594
if (error)
sound/isa/ad1816a/ad1816a_lib.c
595
return error;
sound/isa/ad1816a/ad1816a_lib.c
617
int error;
sound/isa/ad1816a/ad1816a_lib.c
624
error = snd_timer_new(chip->card, "AD1816A", &tid, &timer);
sound/isa/ad1816a/ad1816a_lib.c
625
if (error < 0)
sound/isa/ad1816a/ad1816a_lib.c
626
return error;
sound/isa/ad1848/ad1848.c
107
error = snd_card_register(card);
sound/isa/ad1848/ad1848.c
108
if (error < 0)
sound/isa/ad1848/ad1848.c
109
return error;
sound/isa/ad1848/ad1848.c
73
int error;
sound/isa/ad1848/ad1848.c
75
error = snd_devm_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card);
sound/isa/ad1848/ad1848.c
76
if (error < 0)
sound/isa/ad1848/ad1848.c
77
return error;
sound/isa/ad1848/ad1848.c
79
error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], -1,
sound/isa/ad1848/ad1848.c
82
if (error < 0)
sound/isa/ad1848/ad1848.c
83
return error;
sound/isa/ad1848/ad1848.c
87
error = snd_wss_pcm(chip, 0);
sound/isa/ad1848/ad1848.c
88
if (error < 0)
sound/isa/ad1848/ad1848.c
89
return error;
sound/isa/ad1848/ad1848.c
91
error = snd_wss_mixer(chip);
sound/isa/ad1848/ad1848.c
92
if (error < 0)
sound/isa/ad1848/ad1848.c
93
return error;
sound/isa/adlib.c
50
int error;
sound/isa/adlib.c
52
error = snd_devm_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card);
sound/isa/adlib.c
53
if (error < 0) {
sound/isa/adlib.c
55
return error;
sound/isa/adlib.c
68
error = snd_opl3_create(card, port[n], port[n] + 2, OPL3_HW_AUTO, 1, &opl3);
sound/isa/adlib.c
69
if (error < 0) {
sound/isa/adlib.c
71
return error;
sound/isa/adlib.c
74
error = snd_opl3_hwdep_new(opl3, 0, 0, NULL);
sound/isa/adlib.c
75
if (error < 0) {
sound/isa/adlib.c
77
return error;
sound/isa/adlib.c
80
error = snd_card_register(card);
sound/isa/adlib.c
81
if (error < 0) {
sound/isa/adlib.c
83
return error;
sound/isa/als100.c
165
int error;
sound/isa/als100.c
171
error = snd_devm_card_new(&pcard->card->dev,
sound/isa/als100.c
174
if (error < 0)
sound/isa/als100.c
175
return error;
sound/isa/als100.c
178
error = snd_card_als100_pnp(dev, acard, pcard, pid);
sound/isa/als100.c
179
if (error)
sound/isa/als100.c
180
return error;
sound/isa/als100.c
185
error = snd_sbdsp_create(card, port[dev], irq[dev],
sound/isa/als100.c
190
if (error < 0)
sound/isa/als100.c
191
return error;
sound/isa/als100.c
209
error = snd_sb16dsp_pcm(chip, 0);
sound/isa/als100.c
210
if (error < 0)
sound/isa/als100.c
211
return error;
sound/isa/als100.c
213
error = snd_sbmixer_new(chip);
sound/isa/als100.c
214
if (error < 0)
sound/isa/als100.c
215
return error;
sound/isa/als100.c
241
error = snd_opl3_timer_new(opl3, 0, 1);
sound/isa/als100.c
242
if (error < 0)
sound/isa/als100.c
243
return error;
sound/isa/als100.c
244
error = snd_opl3_hwdep_new(opl3, 0, 1, NULL);
sound/isa/als100.c
245
if (error < 0)
sound/isa/als100.c
246
return error;
sound/isa/als100.c
250
error = snd_card_register(card);
sound/isa/als100.c
251
if (error < 0)
sound/isa/als100.c
252
return error;
sound/isa/azt2320.c
147
int error;
sound/isa/azt2320.c
149
error = snd_card_azt2320_command(port, 0x09);
sound/isa/azt2320.c
150
if (error)
sound/isa/azt2320.c
151
return error;
sound/isa/azt2320.c
152
error = snd_card_azt2320_command(port, 0x00);
sound/isa/azt2320.c
153
if (error)
sound/isa/azt2320.c
154
return error;
sound/isa/azt2320.c
164
int error;
sound/isa/azt2320.c
170
error = snd_devm_card_new(&pcard->card->dev,
sound/isa/azt2320.c
173
if (error < 0)
sound/isa/azt2320.c
174
return error;
sound/isa/azt2320.c
177
error = snd_card_azt2320_pnp(dev, acard, pcard, pid);
sound/isa/azt2320.c
178
if (error)
sound/isa/azt2320.c
179
return error;
sound/isa/azt2320.c
181
error = snd_card_azt2320_enable_wss(port[dev]);
sound/isa/azt2320.c
182
if (error)
sound/isa/azt2320.c
183
return error;
sound/isa/azt2320.c
185
error = snd_wss_create(card, wss_port[dev], -1,
sound/isa/azt2320.c
189
if (error < 0)
sound/isa/azt2320.c
190
return error;
sound/isa/azt2320.c
197
error = snd_wss_pcm(chip, 0);
sound/isa/azt2320.c
198
if (error < 0)
sound/isa/azt2320.c
199
return error;
sound/isa/azt2320.c
200
error = snd_wss_mixer(chip);
sound/isa/azt2320.c
201
if (error < 0)
sound/isa/azt2320.c
202
return error;
sound/isa/azt2320.c
203
error = snd_wss_timer(chip, 0);
sound/isa/azt2320.c
204
if (error < 0)
sound/isa/azt2320.c
205
return error;
sound/isa/azt2320.c
221
error = snd_opl3_timer_new(opl3, 1, 2);
sound/isa/azt2320.c
222
if (error < 0)
sound/isa/azt2320.c
223
return error;
sound/isa/azt2320.c
224
error = snd_opl3_hwdep_new(opl3, 0, 1, NULL);
sound/isa/azt2320.c
225
if (error < 0)
sound/isa/azt2320.c
226
return error;
sound/isa/azt2320.c
230
error = snd_card_register(card);
sound/isa/azt2320.c
231
if (error < 0)
sound/isa/azt2320.c
232
return error;
sound/isa/cs423x/cs4231.c
109
error = snd_wss_mixer(chip);
sound/isa/cs423x/cs4231.c
110
if (error < 0)
sound/isa/cs423x/cs4231.c
111
return error;
sound/isa/cs423x/cs4231.c
113
error = snd_wss_timer(chip, 0);
sound/isa/cs423x/cs4231.c
114
if (error < 0)
sound/isa/cs423x/cs4231.c
115
return error;
sound/isa/cs423x/cs4231.c
126
error = snd_card_register(card);
sound/isa/cs423x/cs4231.c
127
if (error < 0)
sound/isa/cs423x/cs4231.c
128
return error;
sound/isa/cs423x/cs4231.c
80
int error;
sound/isa/cs423x/cs4231.c
82
error = snd_devm_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card);
sound/isa/cs423x/cs4231.c
83
if (error < 0)
sound/isa/cs423x/cs4231.c
84
return error;
sound/isa/cs423x/cs4231.c
86
error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], dma2[n],
sound/isa/cs423x/cs4231.c
88
if (error < 0)
sound/isa/cs423x/cs4231.c
89
return error;
sound/isa/cs423x/cs4231.c
93
error = snd_wss_pcm(chip, 0);
sound/isa/cs423x/cs4231.c
94
if (error < 0)
sound/isa/cs423x/cs4231.c
95
return error;
sound/isa/es1688/es1688.c
110
error = snd_es1688_create(card, chip, port[n], mpu_port[n],
sound/isa/es1688/es1688.c
112
} while (error < 0 && ++i < ARRAY_SIZE(possible_ports));
sound/isa/es1688/es1688.c
114
return error;
sound/isa/es1688/es1688.c
121
int error;
sound/isa/es1688/es1688.c
123
error = snd_es1688_pcm(card, chip, 0);
sound/isa/es1688/es1688.c
124
if (error < 0)
sound/isa/es1688/es1688.c
125
return error;
sound/isa/es1688/es1688.c
127
error = snd_es1688_mixer(card, chip);
sound/isa/es1688/es1688.c
128
if (error < 0)
sound/isa/es1688/es1688.c
129
return error;
sound/isa/es1688/es1688.c
146
error = snd_opl3_hwdep_new(opl3, 0, 1, NULL);
sound/isa/es1688/es1688.c
147
if (error < 0)
sound/isa/es1688/es1688.c
148
return error;
sound/isa/es1688/es1688.c
154
error = snd_mpu401_uart_new(card, 0, MPU401_HW_ES1688,
sound/isa/es1688/es1688.c
157
if (error < 0)
sound/isa/es1688/es1688.c
158
return error;
sound/isa/es1688/es1688.c
167
int error;
sound/isa/es1688/es1688.c
169
error = snd_devm_card_new(dev, index[n], id[n], THIS_MODULE,
sound/isa/es1688/es1688.c
171
if (error < 0)
sound/isa/es1688/es1688.c
172
return error;
sound/isa/es1688/es1688.c
174
error = snd_es1688_legacy_create(card, dev, n);
sound/isa/es1688/es1688.c
175
if (error < 0)
sound/isa/es1688/es1688.c
176
return error;
sound/isa/es1688/es1688.c
178
error = snd_es1688_probe(card, n);
sound/isa/es1688/es1688.c
179
if (error < 0)
sound/isa/es1688/es1688.c
180
return error;
sound/isa/es1688/es1688.c
208
int error;
sound/isa/es1688/es1688.c
214
error = pnp_activate_dev(pdev);
sound/isa/es1688/es1688.c
215
if (error < 0) {
sound/isa/es1688/es1688.c
217
return error;
sound/isa/es1688/es1688.c
232
int error;
sound/isa/es1688/es1688.c
243
error = snd_devm_card_new(&pcard->card->dev,
sound/isa/es1688/es1688.c
246
if (error < 0)
sound/isa/es1688/es1688.c
247
return error;
sound/isa/es1688/es1688.c
249
error = snd_card_es968_pnp(card, dev, pcard, pid);
sound/isa/es1688/es1688.c
250
if (error < 0)
sound/isa/es1688/es1688.c
251
return error;
sound/isa/es1688/es1688.c
252
error = snd_es1688_probe(card, dev);
sound/isa/es1688/es1688.c
253
if (error < 0)
sound/isa/es1688/es1688.c
254
return error;
sound/isa/es1688/es1688.c
86
int i, error;
sound/isa/gus/gusclassic.c
104
error = snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n],
sound/isa/gus/gusclassic.c
106
} while (error < 0 && ++i < ARRAY_SIZE(possible_ports));
sound/isa/gus/gusclassic.c
108
return error;
sound/isa/gus/gusclassic.c
136
int error;
sound/isa/gus/gusclassic.c
138
error = snd_devm_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card);
sound/isa/gus/gusclassic.c
139
if (error < 0)
sound/isa/gus/gusclassic.c
140
return error;
sound/isa/gus/gusclassic.c
145
error = snd_gusclassic_create(card, dev, n, &gus);
sound/isa/gus/gusclassic.c
146
if (error < 0)
sound/isa/gus/gusclassic.c
147
return error;
sound/isa/gus/gusclassic.c
149
error = snd_gusclassic_detect(gus);
sound/isa/gus/gusclassic.c
150
if (error < 0)
sound/isa/gus/gusclassic.c
151
return error;
sound/isa/gus/gusclassic.c
155
error = snd_gus_initialize(gus);
sound/isa/gus/gusclassic.c
156
if (error < 0)
sound/isa/gus/gusclassic.c
157
return error;
sound/isa/gus/gusclassic.c
159
error = -ENODEV;
sound/isa/gus/gusclassic.c
163
return error;
sound/isa/gus/gusclassic.c
166
error = snd_gf1_new_mixer(gus);
sound/isa/gus/gusclassic.c
167
if (error < 0)
sound/isa/gus/gusclassic.c
168
return error;
sound/isa/gus/gusclassic.c
170
error = snd_gf1_pcm_new(gus, 0, 0);
sound/isa/gus/gusclassic.c
171
if (error < 0)
sound/isa/gus/gusclassic.c
172
return error;
sound/isa/gus/gusclassic.c
175
error = snd_gf1_rawmidi_new(gus, 0);
sound/isa/gus/gusclassic.c
176
if (error < 0)
sound/isa/gus/gusclassic.c
177
return error;
sound/isa/gus/gusclassic.c
188
error = snd_card_register(card);
sound/isa/gus/gusclassic.c
189
if (error < 0)
sound/isa/gus/gusclassic.c
190
return error;
sound/isa/gus/gusclassic.c
73
int i, error;
sound/isa/gus/gusextreme.c
113
error = snd_es1688_create(card, chip, port[n], mpu_port[n],
sound/isa/gus/gusextreme.c
115
} while (error < 0 && ++i < ARRAY_SIZE(possible_ports));
sound/isa/gus/gusextreme.c
117
return error;
sound/isa/gus/gusextreme.c
199
int error;
sound/isa/gus/gusextreme.c
208
error = snd_ctl_rename_id(card, &id1, &id2);
sound/isa/gus/gusextreme.c
209
if (error < 0)
sound/isa/gus/gusextreme.c
210
return error;
sound/isa/gus/gusextreme.c
215
error = snd_ctl_rename_id(card, &id1, &id2);
sound/isa/gus/gusextreme.c
216
if (error < 0)
sound/isa/gus/gusextreme.c
217
return error;
sound/isa/gus/gusextreme.c
228
int error;
sound/isa/gus/gusextreme.c
230
error = snd_devm_card_new(dev, index[n], id[n], THIS_MODULE,
sound/isa/gus/gusextreme.c
232
if (error < 0)
sound/isa/gus/gusextreme.c
233
return error;
sound/isa/gus/gusextreme.c
243
error = snd_gusextreme_es1688_create(card, es1688, dev, n);
sound/isa/gus/gusextreme.c
244
if (error < 0)
sound/isa/gus/gusextreme.c
245
return error;
sound/isa/gus/gusextreme.c
250
error = snd_gusextreme_gus_card_create(card, dev, n, &gus);
sound/isa/gus/gusextreme.c
251
if (error < 0)
sound/isa/gus/gusextreme.c
252
return error;
sound/isa/gus/gusextreme.c
254
error = snd_gusextreme_detect(gus, es1688);
sound/isa/gus/gusextreme.c
255
if (error < 0)
sound/isa/gus/gusextreme.c
256
return error;
sound/isa/gus/gusextreme.c
260
error = snd_gus_initialize(gus);
sound/isa/gus/gusextreme.c
261
if (error < 0)
sound/isa/gus/gusextreme.c
262
return error;
sound/isa/gus/gusextreme.c
264
error = -ENODEV;
sound/isa/gus/gusextreme.c
268
return error;
sound/isa/gus/gusextreme.c
272
error = snd_es1688_pcm(card, es1688, 0);
sound/isa/gus/gusextreme.c
273
if (error < 0)
sound/isa/gus/gusextreme.c
274
return error;
sound/isa/gus/gusextreme.c
276
error = snd_es1688_mixer(card, es1688);
sound/isa/gus/gusextreme.c
277
if (error < 0)
sound/isa/gus/gusextreme.c
278
return error;
sound/isa/gus/gusextreme.c
283
error = snd_gf1_pcm_new(gus, 1, 1);
sound/isa/gus/gusextreme.c
284
if (error < 0)
sound/isa/gus/gusextreme.c
285
return error;
sound/isa/gus/gusextreme.c
288
error = snd_gf1_new_mixer(gus);
sound/isa/gus/gusextreme.c
289
if (error < 0)
sound/isa/gus/gusextreme.c
290
return error;
sound/isa/gus/gusextreme.c
292
error = snd_gusextreme_mixer(card);
sound/isa/gus/gusextreme.c
293
if (error < 0)
sound/isa/gus/gusextreme.c
294
return error;
sound/isa/gus/gusextreme.c
300
error = snd_opl3_hwdep_new(opl3, 0, 2, NULL);
sound/isa/gus/gusextreme.c
301
if (error < 0)
sound/isa/gus/gusextreme.c
302
return error;
sound/isa/gus/gusextreme.c
306
error = snd_mpu401_uart_new(card, 0, MPU401_HW_ES1688,
sound/isa/gus/gusextreme.c
308
if (error < 0)
sound/isa/gus/gusextreme.c
309
return error;
sound/isa/gus/gusextreme.c
316
error = snd_card_register(card);
sound/isa/gus/gusextreme.c
317
if (error < 0)
sound/isa/gus/gusextreme.c
318
return error;
sound/isa/gus/gusextreme.c
89
int i, error;
sound/isa/opti9xx/miro.c
1261
int error;
sound/isa/opti9xx/miro.c
1277
error = snd_card_miro_aci_detect(card, miro);
sound/isa/opti9xx/miro.c
1278
if (error < 0) {
sound/isa/opti9xx/miro.c
1293
error = snd_miro_configure(miro);
sound/isa/opti9xx/miro.c
1294
if (error)
sound/isa/opti9xx/miro.c
1295
return error;
sound/isa/opti9xx/miro.c
1297
error = snd_wss_create(card, miro->wss_base + 4, -1,
sound/isa/opti9xx/miro.c
1300
if (error < 0)
sound/isa/opti9xx/miro.c
1301
return error;
sound/isa/opti9xx/miro.c
1303
error = snd_wss_pcm(codec, 0);
sound/isa/opti9xx/miro.c
1304
if (error < 0)
sound/isa/opti9xx/miro.c
1305
return error;
sound/isa/opti9xx/miro.c
1307
error = snd_wss_mixer(codec);
sound/isa/opti9xx/miro.c
1308
if (error < 0)
sound/isa/opti9xx/miro.c
1309
return error;
sound/isa/opti9xx/miro.c
1311
error = snd_wss_timer(codec, 0);
sound/isa/opti9xx/miro.c
1312
if (error < 0)
sound/isa/opti9xx/miro.c
1313
return error;
sound/isa/opti9xx/miro.c
1317
error = snd_miro_mixer(card, miro);
sound/isa/opti9xx/miro.c
1318
if (error < 0)
sound/isa/opti9xx/miro.c
1319
return error;
sound/isa/opti9xx/miro.c
1356
error = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401,
sound/isa/opti9xx/miro.c
1358
if (error < 0)
sound/isa/opti9xx/miro.c
1373
error = snd_set_aci_init_values(miro);
sound/isa/opti9xx/miro.c
1374
if (error < 0)
sound/isa/opti9xx/miro.c
1375
return error;
sound/isa/opti9xx/miro.c
1401
int error;
sound/isa/opti9xx/miro.c
1405
error = snd_devm_card_new(devptr, index, id, THIS_MODULE,
sound/isa/opti9xx/miro.c
1407
if (error < 0)
sound/isa/opti9xx/miro.c
1408
return error;
sound/isa/opti9xx/miro.c
1412
error = snd_card_miro_detect(card, miro);
sound/isa/opti9xx/miro.c
1413
if (error < 0) {
sound/isa/opti9xx/miro.c
1465
error = snd_miro_probe(card);
sound/isa/opti9xx/miro.c
1466
if (error < 0)
sound/isa/opti9xx/miro.c
1467
return error;
sound/isa/opti9xx/miro.c
279
int change, value, error;
sound/isa/opti9xx/miro.c
283
error = aci_setvalue(miro->aci, ACI_SET_SOLOMODE, value);
sound/isa/opti9xx/miro.c
284
if (error < 0) {
sound/isa/opti9xx/miro.c
286
error);
sound/isa/opti9xx/miro.c
287
return error;
sound/isa/opti9xx/miro.c
341
int error, value, change;
sound/isa/opti9xx/miro.c
345
error = aci_setvalue(miro->aci, ACI_SET_PREAMP, value);
sound/isa/opti9xx/miro.c
346
if (error < 0) {
sound/isa/opti9xx/miro.c
348
error);
sound/isa/opti9xx/miro.c
349
return error;
sound/isa/opti9xx/miro.c
373
int error, value, change;
sound/isa/opti9xx/miro.c
377
error = aci_setvalue(miro->aci, ACI_SET_POWERAMP, value);
sound/isa/opti9xx/miro.c
378
if (error < 0) {
sound/isa/opti9xx/miro.c
380
value, error);
sound/isa/opti9xx/miro.c
381
return error;
sound/isa/opti9xx/miro.c
482
int change, error;
sound/isa/opti9xx/miro.c
523
error = aci_setvalue(aci, setreg_left, left);
sound/isa/opti9xx/miro.c
524
if (error < 0) {
sound/isa/opti9xx/miro.c
526
left, error);
sound/isa/opti9xx/miro.c
527
return error;
sound/isa/opti9xx/miro.c
530
error = aci_setvalue(aci, setreg_left, 0x80 - left);
sound/isa/opti9xx/miro.c
531
if (error < 0) {
sound/isa/opti9xx/miro.c
533
0x80 - left, error);
sound/isa/opti9xx/miro.c
534
return error;
sound/isa/opti9xx/miro.c
539
error = aci_setvalue(aci, setreg_right, right);
sound/isa/opti9xx/miro.c
540
if (error < 0) {
sound/isa/opti9xx/miro.c
542
right, error);
sound/isa/opti9xx/miro.c
543
return error;
sound/isa/opti9xx/miro.c
546
error = aci_setvalue(aci, setreg_right, 0x80 - right);
sound/isa/opti9xx/miro.c
547
if (error < 0) {
sound/isa/opti9xx/miro.c
549
0x80 - right, error);
sound/isa/opti9xx/miro.c
550
return error;
sound/isa/opti9xx/miro.c
565
error = aci_setvalue(aci, setreg_left, 0x20 - left);
sound/isa/opti9xx/miro.c
566
if (error < 0) {
sound/isa/opti9xx/miro.c
568
0x20 - left, error);
sound/isa/opti9xx/miro.c
569
return error;
sound/isa/opti9xx/miro.c
571
error = aci_setvalue(aci, setreg_right, 0x20 - right);
sound/isa/opti9xx/miro.c
572
if (error < 0) {
sound/isa/opti9xx/miro.c
574
0x20 - right, error);
sound/isa/opti9xx/miro.c
575
return error;
sound/isa/opti9xx/miro.c
669
int idx, error;
sound/isa/opti9xx/miro.c
675
error = aci_setvalue(aci, ACI_SET_WSS, wss);
sound/isa/opti9xx/miro.c
676
if (error < 0) {
sound/isa/opti9xx/miro.c
678
return error;
sound/isa/opti9xx/miro.c
685
error = aci_setvalue(aci, ACI_SET_IDE, ide);
sound/isa/opti9xx/miro.c
686
if (error < 0) {
sound/isa/opti9xx/miro.c
688
return error;
sound/isa/opti9xx/miro.c
695
error = aci_setvalue(aci, aci_init_values[idx][0],
sound/isa/opti9xx/miro.c
697
if (error < 0) {
sound/isa/opti9xx/miro.c
699
aci_init_values[idx][0], error);
sound/isa/opti9xx/miro.c
700
return error;
sound/isa/opti9xx/opti92x-ad1848.c
1015
int error, xdma2;
sound/isa/opti9xx/opti92x-ad1848.c
1022
error = snd_opti9xx_configure(chip, port, irq, dma1, xdma2,
sound/isa/opti9xx/opti92x-ad1848.c
1024
if (error)
sound/isa/opti9xx/opti92x-ad1848.c
1025
return error;
sound/isa/opti9xx/opti92x-ad1848.c
1060
int error, hw;
sound/isa/opti9xx/opti92x-ad1848.c
1067
error = snd_opti9xx_card_new(&pcard->card->dev, &card);
sound/isa/opti9xx/opti92x-ad1848.c
1068
if (error < 0)
sound/isa/opti9xx/opti92x-ad1848.c
1069
return error;
sound/isa/opti9xx/opti92x-ad1848.c
1088
error = snd_opti9xx_init(chip, hw);
sound/isa/opti9xx/opti92x-ad1848.c
1089
if (error)
sound/isa/opti9xx/opti92x-ad1848.c
1090
return error;
sound/isa/opti9xx/opti92x-ad1848.c
1091
error = snd_opti9xx_read_check(card, chip);
sound/isa/opti9xx/opti92x-ad1848.c
1092
if (error) {
sound/isa/opti9xx/opti92x-ad1848.c
1094
return error;
sound/isa/opti9xx/opti92x-ad1848.c
1096
error = snd_opti9xx_probe(card);
sound/isa/opti9xx/opti92x-ad1848.c
1097
if (error < 0)
sound/isa/opti9xx/opti92x-ad1848.c
1098
return error;
sound/isa/opti9xx/opti92x-ad1848.c
790
int error;
sound/isa/opti9xx/opti92x-ad1848.c
810
error = snd_opti9xx_configure(chip, port, irq, dma1, xdma2,
sound/isa/opti9xx/opti92x-ad1848.c
812
if (error)
sound/isa/opti9xx/opti92x-ad1848.c
813
return error;
sound/isa/opti9xx/opti92x-ad1848.c
815
error = snd_wss_create(card, chip->wss_base + 4, -1, irq, dma1, xdma2,
sound/isa/opti9xx/opti92x-ad1848.c
822
if (error < 0)
sound/isa/opti9xx/opti92x-ad1848.c
823
return error;
sound/isa/opti9xx/opti92x-ad1848.c
825
error = snd_wss_pcm(codec, 0);
sound/isa/opti9xx/opti92x-ad1848.c
826
if (error < 0)
sound/isa/opti9xx/opti92x-ad1848.c
827
return error;
sound/isa/opti9xx/opti92x-ad1848.c
828
error = snd_wss_mixer(codec);
sound/isa/opti9xx/opti92x-ad1848.c
829
if (error < 0)
sound/isa/opti9xx/opti92x-ad1848.c
830
return error;
sound/isa/opti9xx/opti92x-ad1848.c
832
error = snd_opti93x_mixer(codec);
sound/isa/opti9xx/opti92x-ad1848.c
833
if (error < 0)
sound/isa/opti9xx/opti92x-ad1848.c
834
return error;
sound/isa/opti9xx/opti92x-ad1848.c
837
error = snd_wss_timer(codec, 0);
sound/isa/opti9xx/opti92x-ad1848.c
838
if (error < 0)
sound/isa/opti9xx/opti92x-ad1848.c
839
return error;
sound/isa/opti9xx/opti92x-ad1848.c
842
error = devm_request_irq(card->dev, irq, snd_opti93x_interrupt,
sound/isa/opti9xx/opti92x-ad1848.c
844
if (error < 0) {
sound/isa/opti9xx/opti92x-ad1848.c
846
return error;
sound/isa/opti9xx/opti92x-ad1848.c
868
error = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401,
sound/isa/opti9xx/opti92x-ad1848.c
870
if (error)
sound/isa/opti9xx/opti92x-ad1848.c
899
error = snd_opl3_hwdep_new(opl3, 0, 1, &synth);
sound/isa/opti9xx/opti92x-ad1848.c
900
if (error < 0)
sound/isa/opti9xx/opti92x-ad1848.c
901
return error;
sound/isa/opti9xx/opti92x-ad1848.c
937
int error;
sound/isa/opti9xx/opti92x-ad1848.c
988
error = snd_opti9xx_card_new(devptr, &card);
sound/isa/opti9xx/opti92x-ad1848.c
989
if (error < 0)
sound/isa/opti9xx/opti92x-ad1848.c
990
return error;
sound/isa/opti9xx/opti92x-ad1848.c
992
error = snd_card_opti9xx_detect(card, card->private_data);
sound/isa/opti9xx/opti92x-ad1848.c
993
if (error < 0)
sound/isa/opti9xx/opti92x-ad1848.c
994
return error;
sound/isa/opti9xx/opti92x-ad1848.c
995
error = snd_opti9xx_probe(card);
sound/isa/opti9xx/opti92x-ad1848.c
996
if (error < 0)
sound/isa/opti9xx/opti92x-ad1848.c
997
return error;
sound/oss/dmasound/dmasound.h
47
do { int error = get_user(ret, (int __user *)(arg)); \
sound/oss/dmasound/dmasound.h
48
if (error) return error; \
sound/oss/dmasound/dmasound_q40.c
406
int error;
sound/oss/dmasound/dmasound_q40.c
425
error = request_irq(Q40_IRQ_SAMPLE, Q40StereoInterrupt, 0,
sound/oss/dmasound/dmasound_q40.c
428
error = request_irq(Q40_IRQ_SAMPLE, Q40MonoInterrupt, 0,
sound/oss/dmasound/dmasound_q40.c
430
if (error && printk_ratelimit())
sound/pci/ac97/ac97_pcm.c
581
goto error;
sound/pci/ac97/ac97_pcm.c
593
goto error;
sound/pci/ac97/ac97_pcm.c
627
error:
sound/pci/als300.c
699
goto error;
sound/pci/als300.c
714
goto error;
sound/pci/als300.c
720
error:
sound/pci/asihpi/asihpi.c
172
return hr.error;
sound/pci/asihpi/asihpi.c
193
return hr.error;
sound/pci/asihpi/hpi6000.c
1004
if (error)
sound/pci/asihpi/hpi6000.c
1008
if (error)
sound/pci/asihpi/hpi6000.c
1009
return error;
sound/pci/asihpi/hpi6000.c
1293
u16 error = 0;
sound/pci/asihpi/hpi6000.c
1371
error = hpi_validate_response(phm, phr);
sound/pci/asihpi/hpi6000.c
1372
return error;
sound/pci/asihpi/hpi6000.c
1729
u16 error = 0;
sound/pci/asihpi/hpi6000.c
1748
phr->error = HPI_ERROR_NO_INTERDSP_GROUPS;
sound/pci/asihpi/hpi6000.c
1755
error = hpi6000_message_response_sequence(pao, dsp_index, phm, phr);
sound/pci/asihpi/hpi6000.c
1757
if (error) /* something failed in the HPI/DSP interface */
sound/pci/asihpi/hpi6000.c
1760
if (phr->error) /* something failed in the DSP */
sound/pci/asihpi/hpi6000.c
1766
error = hpi6000_send_data(pao, dsp_index, phm, phr);
sound/pci/asihpi/hpi6000.c
1770
error = hpi6000_get_data(pao, dsp_index, phm, phr);
sound/pci/asihpi/hpi6000.c
1777
error = hpi6000_message_response_sequence(pao,
sound/pci/asihpi/hpi6000.c
1785
if (error) {
sound/pci/asihpi/hpi6000.c
1786
if (error >= HPI_ERROR_BACKEND_BASE) {
sound/pci/asihpi/hpi6000.c
1787
phr->error = HPI_ERROR_DSP_COMMUNICATION;
sound/pci/asihpi/hpi6000.c
1788
phr->specific_error = error;
sound/pci/asihpi/hpi6000.c
1790
phr->error = error;
sound/pci/asihpi/hpi6000.c
215
phr->error = HPI_ERROR_INVALID_FUNC;
sound/pci/asihpi/hpi6000.c
233
phr->error =
sound/pci/asihpi/hpi6000.c
237
phr->error = err;
sound/pci/asihpi/hpi6000.c
288
phr->error = HPI_ERROR_INVALID_FUNC;
sound/pci/asihpi/hpi6000.c
308
phr->error = HPI_ERROR_INVALID_FUNC;
sound/pci/asihpi/hpi6000.c
382
phr->error = HPI_ERROR_INVALID_TYPE;
sound/pci/asihpi/hpi6000.c
412
phr->error = HPI_ERROR_MEMORY_ALLOC;
sound/pci/asihpi/hpi6000.c
423
phr->error = HPI_ERROR_DSP_BOOTLOAD;
sound/pci/asihpi/hpi6000.c
426
phr->error = err;
sound/pci/asihpi/hpi6000.c
437
phr->error = HPI_ERROR_BAD_ADAPTER;
sound/pci/asihpi/hpi6000.c
448
phr->error = 0;
sound/pci/asihpi/hpi6000.c
456
phr->error = 0;
sound/pci/asihpi/hpi6000.c
525
u16 error = 0;
sound/pci/asihpi/hpi6000.c
539
error = hpi6000_message_response_sequence(pao, 0, &hm, &hr0);
sound/pci/asihpi/hpi6000.c
540
if (hr0.error) {
sound/pci/asihpi/hpi6000.c
541
HPI_DEBUG_LOG(DEBUG, "message error %d\n", hr0.error);
sound/pci/asihpi/hpi6000.c
542
return hr0.error;
sound/pci/asihpi/hpi6000.c
545
error = hpi6000_message_response_sequence(pao, 1, &hm,
sound/pci/asihpi/hpi6000.c
547
if (error)
sound/pci/asihpi/hpi6000.c
548
return error;
sound/pci/asihpi/hpi6000.c
615
phr->error = 0;
sound/pci/asihpi/hpi6000.c
630
short error;
sound/pci/asihpi/hpi6000.c
936
error = hpi_dsp_code_open(boot_load_family, pao->pci.pci_dev,
sound/pci/asihpi/hpi6000.c
939
if (error)
sound/pci/asihpi/hpi6000.c
940
return error;
sound/pci/asihpi/hpi6000.c
948
error = hpi_dsp_code_read_word(&dsp_code, &length);
sound/pci/asihpi/hpi6000.c
949
if (error)
sound/pci/asihpi/hpi6000.c
954
error = hpi_dsp_code_read_word(&dsp_code, &address);
sound/pci/asihpi/hpi6000.c
955
if (error)
sound/pci/asihpi/hpi6000.c
957
error = hpi_dsp_code_read_word(&dsp_code, &type);
sound/pci/asihpi/hpi6000.c
958
if (error)
sound/pci/asihpi/hpi6000.c
960
error = hpi_dsp_code_read_block(length, &dsp_code,
sound/pci/asihpi/hpi6000.c
962
if (error)
sound/pci/asihpi/hpi6000.c
964
error = hpi6000_dsp_block_write32(pao, (u16)dsp_index,
sound/pci/asihpi/hpi6000.c
966
if (error)
sound/pci/asihpi/hpi6000.c
970
if (error) {
sound/pci/asihpi/hpi6000.c
972
return error;
sound/pci/asihpi/hpi6000.c
994
error = HPI6000_ERROR_INIT_VERIFY;
sound/pci/asihpi/hpi6205.c
1051
phr->error = HPI_ERROR_INVALID_DATASIZE;
sound/pci/asihpi/hpi6205.c
1067
phr->error = HPI_ERROR_MEMORY_ALLOC;
sound/pci/asihpi/hpi6205.c
1081
phr->error = HPI_ERROR_INVALID_DATASIZE;
sound/pci/asihpi/hpi6205.c
1098
if (phr->error
sound/pci/asihpi/hpi6205.c
1121
phr->error = HPI_ERROR_INVALID_OPERATION;
sound/pci/asihpi/hpi6205.c
1196
phr->error = HPI_ERROR_INVALID_DATASIZE;
sound/pci/asihpi/hpi6205.c
1205
phr->error = HPI_ERROR_INVALID_OPERATION;
sound/pci/asihpi/hpi6205.c
2094
phr->error = HPI_ERROR_MESSAGE_BUFFER_TOO_SMALL;
sound/pci/asihpi/hpi6205.c
2141
phr->error = HPI_ERROR_RESPONSE_BUFFER_TOO_SMALL;
sound/pci/asihpi/hpi6205.c
2182
phr->error = HPI_ERROR_DSP_COMMUNICATION;
sound/pci/asihpi/hpi6205.c
2185
phr->error = err;
sound/pci/asihpi/hpi6205.c
2196
if (phr->error != 0) /* something failed in the DSP */
sound/pci/asihpi/hpi6205.c
2213
phr->error = err;
sound/pci/asihpi/hpi6205.c
229
phr->error = HPI_ERROR_INVALID_FUNC;
sound/pci/asihpi/hpi6205.c
253
if (pending_cache_error && !phr->error)
sound/pci/asihpi/hpi6205.c
254
phr->error = pending_cache_error;
sound/pci/asihpi/hpi6205.c
266
phr->error = HPI_ERROR_INVALID_FUNC;
sound/pci/asihpi/hpi6205.c
289
phr->error = HPI_ERROR_INVALID_OBJ_INDEX;
sound/pci/asihpi/hpi6205.c
333
phr->error = HPI_ERROR_INVALID_OBJ_INDEX;
sound/pci/asihpi/hpi6205.c
386
phr->error = HPI_ERROR_PROCESSING_MESSAGE;
sound/pci/asihpi/hpi6205.c
419
phr->error = HPI_ERROR_INVALID_TYPE;
sound/pci/asihpi/hpi6205.c
433
phr->error = HPI_ERROR_INVALID_OBJ_INDEX;
sound/pci/asihpi/hpi6205.c
467
phr->error = HPI_ERROR_MEMORY_ALLOC;
sound/pci/asihpi/hpi6205.c
476
phr->error = HPI_ERROR_DSP_BOOTLOAD;
sound/pci/asihpi/hpi6205.c
479
phr->error = err;
sound/pci/asihpi/hpi6205.c
487
phr->error = 0;
sound/pci/asihpi/hpi6205.c
497
phr->error = HPI_ERROR_INVALID_OBJ_INDEX;
sound/pci/asihpi/hpi6205.c
509
phr->error = 0;
sound/pci/asihpi/hpi6205.c
645
if (hr.error)
sound/pci/asihpi/hpi6205.c
646
return hr.error;
sound/pci/asihpi/hpi6205.c
769
phr->error = HPI_ERROR_INVALID_DATASIZE;
sound/pci/asihpi/hpi6205.c
788
phr->error = HPI_ERROR_MEMORY_ALLOC;
sound/pci/asihpi/hpi6205.c
805
phr->error = HPI_ERROR_INVALID_DATASIZE;
sound/pci/asihpi/hpi6205.c
821
if (phr->error
sound/pci/asihpi/hpi6205.c
844
phr->error = HPI_ERROR_INVALID_OPERATION;
sound/pci/asihpi/hpi6205.c
911
phr->error = HPI_ERROR_INVALID_DATASIZE;
sound/pci/asihpi/hpi6205.c
927
phr->error = HPI_ERROR_INVALID_OPERATION;
sound/pci/asihpi/hpi6205.c
959
if (phr->error)
sound/pci/asihpi/hpi_internal.h
1055
u16 error; /* HPI_ERROR_xxx */
sound/pci/asihpi/hpi_internal.h
1066
u16 error; /* HPI_ERROR_xxx */
sound/pci/asihpi/hpicmn.c
172
phr->error = HPI_ERROR_INVALID_OBJ_INDEX;
sound/pci/asihpi/hpicmn.c
331
phr->error =
sound/pci/asihpi/hpicmn.c
356
phr->error =
sound/pci/asihpi/hpicmn.c
394
phr->error =
sound/pci/asihpi/hpicmn.c
441
phr->error =
sound/pci/asihpi/hpicmn.c
457
phr->error =
sound/pci/asihpi/hpicmn.c
476
phr->error =
sound/pci/asihpi/hpicmn.c
491
phr->error =
sound/pci/asihpi/hpicmn.c
541
phr->error = 0;
sound/pci/asihpi/hpicmn.c
619
if (phr->error)
sound/pci/asihpi/hpicmn.c
692
phr->error = HPI_ERROR_INVALID_FUNC;
sound/pci/asihpi/hpicmn.c
709
phr->error = HPI_ERROR_INVALID_TYPE;
sound/pci/asihpi/hpidebug.h
79
(phr->error)) ||\
sound/pci/asihpi/hpidebug.h
82
phr->version, phr->error, phr->specific_error); \
sound/pci/asihpi/hpifunc.c
1023
return hr.error;
sound/pci/asihpi/hpifunc.c
1039
return hr.error;
sound/pci/asihpi/hpifunc.c
1056
return hr.error;
sound/pci/asihpi/hpifunc.c
106
return hr.error;
sound/pci/asihpi/hpifunc.c
1078
hr.error = HPI_ERROR_INVALID_DATASIZE;
sound/pci/asihpi/hpifunc.c
1079
return hr.error;
sound/pci/asihpi/hpifunc.c
1094
return hr.error;
sound/pci/asihpi/hpifunc.c
1109
if (hr.error == 0) {
sound/pci/asihpi/hpifunc.c
1115
return hr.error;
sound/pci/asihpi/hpifunc.c
1129
return hr.error;
sound/pci/asihpi/hpifunc.c
1141
hr.error = 0;
sound/pci/asihpi/hpifunc.c
1165
return hr.error;
sound/pci/asihpi/hpifunc.c
117
return hr.error;
sound/pci/asihpi/hpifunc.c
1185
return hr.error;
sound/pci/asihpi/hpifunc.c
1198
return hr.error;
sound/pci/asihpi/hpifunc.c
1210
if (hr.error == 0)
sound/pci/asihpi/hpifunc.c
1216
return hr.error;
sound/pci/asihpi/hpifunc.c
1229
return hr.error;
sound/pci/asihpi/hpifunc.c
1250
if (hr.error == 0)
sound/pci/asihpi/hpifunc.c
1256
return hr.error;
sound/pci/asihpi/hpifunc.c
1283
if (hr.error == 0)
sound/pci/asihpi/hpifunc.c
1290
return hr.error;
sound/pci/asihpi/hpifunc.c
1304
return hr.error;
sound/pci/asihpi/hpifunc.c
132
return hr.error;
sound/pci/asihpi/hpifunc.c
1322
return hr.error;
sound/pci/asihpi/hpifunc.c
1339
return hr.error;
sound/pci/asihpi/hpifunc.c
1362
return hr.error;
sound/pci/asihpi/hpifunc.c
1385
return hr.error;
sound/pci/asihpi/hpifunc.c
1407
return hr.error;
sound/pci/asihpi/hpifunc.c
1440
if (hr.error) {
sound/pci/asihpi/hpifunc.c
1441
err = hr.error;
sound/pci/asihpi/hpifunc.c
145
return hr.error;
sound/pci/asihpi/hpifunc.c
1519
return hr.error;
sound/pci/asihpi/hpifunc.c
1538
return hr.error;
sound/pci/asihpi/hpifunc.c
159
return hr.error;
sound/pci/asihpi/hpifunc.c
1634
return hr.error;
sound/pci/asihpi/hpifunc.c
1687
return hr.error;
sound/pci/asihpi/hpifunc.c
1712
if (!hr.h.error && pb_data) {
sound/pci/asihpi/hpifunc.c
1724
return hr.h.error;
sound/pci/asihpi/hpifunc.c
1741
if (!hr.error) {
sound/pci/asihpi/hpifunc.c
1751
return hr.error;
sound/pci/asihpi/hpifunc.c
180
return hr.error;
sound/pci/asihpi/hpifunc.c
193
return hr.error;
sound/pci/asihpi/hpifunc.c
1930
return hr.error;
sound/pci/asihpi/hpifunc.c
1949
return hr.error;
sound/pci/asihpi/hpifunc.c
1977
if (hr.error) {
sound/pci/asihpi/hpifunc.c
1988
return hr.error;
sound/pci/asihpi/hpifunc.c
2027
if (!hr.error)
sound/pci/asihpi/hpifunc.c
2033
return hr.error;
sound/pci/asihpi/hpifunc.c
2052
if (!hr.error)
sound/pci/asihpi/hpifunc.c
2059
return hr.error;
sound/pci/asihpi/hpifunc.c
2072
u16 error;
sound/pci/asihpi/hpifunc.c
2074
error = hpi_control_param2_get(h_control, HPI_METER_RMS_BALLISTICS,
sound/pci/asihpi/hpifunc.c
2082
return error;
sound/pci/asihpi/hpifunc.c
2096
u16 error;
sound/pci/asihpi/hpifunc.c
2098
error = hpi_control_param2_get(h_control, HPI_METER_PEAK_BALLISTICS,
sound/pci/asihpi/hpifunc.c
2106
return error;
sound/pci/asihpi/hpifunc.c
2117
u16 error = 0;
sound/pci/asihpi/hpifunc.c
2119
error = hpi_control_param1_get(h_control,
sound/pci/asihpi/hpifunc.c
2123
return error;
sound/pci/asihpi/hpifunc.c
213
return hr.error;
sound/pci/asihpi/hpifunc.c
2165
return hr.error;
sound/pci/asihpi/hpifunc.c
2173
u16 error = 0;
sound/pci/asihpi/hpifunc.c
2175
error = hpi_control_param2_get(h_control, HPI_EQUALIZER_NUM_FILTERS,
sound/pci/asihpi/hpifunc.c
2181
return error;
sound/pci/asihpi/hpifunc.c
2214
return hr.error;
sound/pci/asihpi/hpifunc.c
2236
return hr.error;
sound/pci/asihpi/hpifunc.c
2260
return hr.error;
sound/pci/asihpi/hpifunc.c
237
return hr.error;
sound/pci/asihpi/hpifunc.c
2502
u16 error = 0;
sound/pci/asihpi/hpifunc.c
2504
error = hpi_control_param1_get(h_control, HPI_TUNER_BAND, &band);
sound/pci/asihpi/hpifunc.c
2507
return error;
sound/pci/asihpi/hpifunc.c
254
return hr.error;
sound/pci/asihpi/hpifunc.c
2546
u16 error = 0;
sound/pci/asihpi/hpifunc.c
2548
error = hpi_control_param1_get(h_control, HPI_TUNER_GAIN, &gain);
sound/pci/asihpi/hpifunc.c
2551
return error;
sound/pci/asihpi/hpifunc.c
2567
return hr.error;
sound/pci/asihpi/hpifunc.c
2583
return hr.error;
sound/pci/asihpi/hpifunc.c
2639
u16 error = 0;
sound/pci/asihpi/hpifunc.c
2641
error = hpi_control_param1_get(h_control, HPI_TUNER_STATUS, &status);
sound/pci/asihpi/hpifunc.c
2643
if (!error) {
sound/pci/asihpi/hpifunc.c
2651
return error;
sound/pci/asihpi/hpifunc.c
268
if (!hr.error) {
sound/pci/asihpi/hpifunc.c
2699
return hr.error;
sound/pci/asihpi/hpifunc.c
275
return hr.error;
sound/pci/asihpi/hpifunc.c
2781
if (hr.error) {
sound/pci/asihpi/hpifunc.c
2792
return hr.error;
sound/pci/asihpi/hpifunc.c
2816
return hr.error;
sound/pci/asihpi/hpifunc.c
2850
return hr.error;
sound/pci/asihpi/hpifunc.c
2867
return hr.error;
sound/pci/asihpi/hpifunc.c
437
if (hr.error == 0)
sound/pci/asihpi/hpifunc.c
443
return hr.error;
sound/pci/asihpi/hpifunc.c
468
return hr.error;
sound/pci/asihpi/hpifunc.c
495
return hr.error;
sound/pci/asihpi/hpifunc.c
514
return hr.error;
sound/pci/asihpi/hpifunc.c
528
return hr.error;
sound/pci/asihpi/hpifunc.c
542
return hr.error;
sound/pci/asihpi/hpifunc.c
556
return hr.error;
sound/pci/asihpi/hpifunc.c
570
return hr.error;
sound/pci/asihpi/hpifunc.c
584
return hr.error;
sound/pci/asihpi/hpifunc.c
601
return hr.error;
sound/pci/asihpi/hpifunc.c
618
return hr.error;
sound/pci/asihpi/hpifunc.c
634
return hr.error;
sound/pci/asihpi/hpifunc.c
653
return hr.error;
sound/pci/asihpi/hpifunc.c
667
return hr.error;
sound/pci/asihpi/hpifunc.c
680
if (hr.error == 0) {
sound/pci/asihpi/hpifunc.c
686
return hr.error;
sound/pci/asihpi/hpifunc.c
708
hr.error = HPI_ERROR_INVALID_DATASIZE;
sound/pci/asihpi/hpifunc.c
709
return hr.error;
sound/pci/asihpi/hpifunc.c
726
return hr.error;
sound/pci/asihpi/hpifunc.c
740
return hr.error;
sound/pci/asihpi/hpifunc.c
755
if (hr.error == 0) {
sound/pci/asihpi/hpifunc.c
761
return hr.error;
sound/pci/asihpi/hpifunc.c
774
return hr.error;
sound/pci/asihpi/hpifunc.c
807
return hr.error;
sound/pci/asihpi/hpifunc.c
827
return hr.error;
sound/pci/asihpi/hpifunc.c
840
return hr.error;
sound/pci/asihpi/hpifunc.c
855
if (hr.error == 0)
sound/pci/asihpi/hpifunc.c
862
return hr.error;
sound/pci/asihpi/hpifunc.c
886
return hr.error;
sound/pci/asihpi/hpifunc.c
903
return hr.error;
sound/pci/asihpi/hpifunc.c
919
return hr.error;
sound/pci/asihpi/hpifunc.c
936
return hr.error;
sound/pci/asihpi/hpifunc.c
951
return hr.error;
sound/pci/asihpi/hpifunc.c
966
return hr.error;
sound/pci/asihpi/hpifunc.c
981
return hr.error;
sound/pci/asihpi/hpifunc.c
996
return hr.error;
sound/pci/asihpi/hpimsginit.c
111
phr->error = HPI_ERROR_PROCESSING_MESSAGE;
sound/pci/asihpi/hpimsginit.c
57
u16 error)
sound/pci/asihpi/hpimsginit.c
73
phr->error = error;
sound/pci/asihpi/hpimsginit.h
23
u16 error);
sound/pci/asihpi/hpimsgx.c
346
if (phr->error >= HPI_ERROR_DSP_COMMUNICATION) {
sound/pci/asihpi/hpimsgx.c
388
phr->error = HPI_ERROR_OBJ_ALREADY_OPEN;
sound/pci/asihpi/hpimsgx.c
390
[phm->obj_index].h.error)
sound/pci/asihpi/hpimsgx.c
408
if (hr.error) {
sound/pci/asihpi/hpimsgx.c
411
phr->error = hr.error;
sound/pci/asihpi/hpimsgx.c
452
if (hr.error) {
sound/pci/asihpi/hpimsgx.c
455
phr->error = hr.error;
sound/pci/asihpi/hpimsgx.c
468
phr->error = HPI_ERROR_OBJ_NOT_OPEN;
sound/pci/asihpi/hpimsgx.c
485
phr->error = HPI_ERROR_OBJ_ALREADY_OPEN;
sound/pci/asihpi/hpimsgx.c
487
[phm->obj_index].h.error)
sound/pci/asihpi/hpimsgx.c
505
if (hr.error) {
sound/pci/asihpi/hpimsgx.c
508
phr->error = hr.error;
sound/pci/asihpi/hpimsgx.c
550
if (hr.error) {
sound/pci/asihpi/hpimsgx.c
553
phr->error = hr.error;
sound/pci/asihpi/hpimsgx.c
566
phr->error = HPI_ERROR_OBJ_NOT_OPEN;
sound/pci/asihpi/hpimsgx.c
588
if (hr.error)
sound/pci/asihpi/hpimsgx.c
589
return hr.error;
sound/pci/asihpi/hpimsgx.c
596
if (hr.error)
sound/pci/asihpi/hpimsgx.c
597
return hr.error;
sound/pci/asihpi/hpimsgx.c
676
rESP_HPI_ADAPTER_OPEN[adapter_index].h.error =
sound/pci/asihpi/hpimsgx.c
678
rESP_HPI_MIXER_OPEN[adapter_index].h.error =
sound/pci/asihpi/hpimsgx.c
681
rESP_HPI_OSTREAM_OPEN[adapter_index][i].h.error =
sound/pci/asihpi/hpimsgx.c
683
rESP_HPI_ISTREAM_OPEN[adapter_index][i].h.error =
sound/pci/asihpi/hpimsgx.c
710
phr->error = HPI_ERROR_PROCESSING_MESSAGE;
sound/pci/asihpi/hpimsgx.c
711
return phr->error;
sound/pci/asihpi/hpimsgx.c
713
if (hr.error == 0 && hr.u.s.adapter_index < HPI_MAX_ADAPTERS) {
sound/pci/asihpi/hpimsgx.c
724
return phr->error;
sound/pci/asihpi/hpioctl.c
162
hr->h.error = HPI_ERROR_INVALID_OPERATION;
sound/pci/asihpi/hpioctl.c
291
hr->h.error = HPI_ERROR_RESPONSE_BUFFER_TOO_SMALL;
sound/pci/asihpi/hpioctl.c
405
if (hr.error)
sound/pci/asihpi/hpioctl.c
427
if (hr.error) {
sound/pci/asihpi/hpioctl.c
438
if (!hr.error
sound/pci/asihpi/hpioctl.c
452
if (hr.error || !hr.u.ax.property_get.parameter1) {
sound/pci/asihpi/hpioctl.c
483
if (hr.error) {
sound/pci/asihpi/hpioctl.c
63
phr->error = HPI_ERROR_INVALID_OBJ_INDEX;
sound/pci/aw2/aw2-alsa.c
277
goto error;
sound/pci/aw2/aw2-alsa.c
296
goto error;
sound/pci/aw2/aw2-alsa.c
304
error:
sound/pci/cmipci.c
3198
goto error;
sound/pci/cmipci.c
3202
goto error;
sound/pci/cmipci.c
3208
error:
sound/pci/cs46xx/cs46xx.c
103
goto error;
sound/pci/cs46xx/cs46xx.c
106
goto error;
sound/pci/cs46xx/cs46xx.c
120
goto error;
sound/pci/cs46xx/cs46xx.c
126
error:
sound/pci/cs46xx/cs46xx.c
77
goto error;
sound/pci/cs46xx/cs46xx.c
82
goto error;
sound/pci/cs46xx/cs46xx.c
86
goto error;
sound/pci/cs46xx/cs46xx.c
89
goto error;
sound/pci/cs46xx/cs46xx.c
93
goto error;
sound/pci/cs46xx/cs46xx.c
98
goto error;
sound/pci/cs46xx/cs46xx_lib.c
400
goto error;
sound/pci/cs46xx/cs46xx_lib.c
406
goto error;
sound/pci/cs46xx/cs46xx_lib.c
409
goto error;
sound/pci/cs46xx/cs46xx_lib.c
419
goto error;
sound/pci/cs46xx/cs46xx_lib.c
439
goto error;
sound/pci/cs46xx/cs46xx_lib.c
451
goto error;
sound/pci/cs46xx/cs46xx_lib.c
462
error:
sound/pci/cs46xx/cs46xx_lib.c
511
goto error;
sound/pci/cs46xx/cs46xx_lib.c
517
goto error;
sound/pci/cs46xx/cs46xx_lib.c
529
error:
sound/pci/cs46xx/dsp_spos.c
237
goto error;
sound/pci/cs46xx/dsp_spos.c
268
error:
sound/pci/ctxfi/ctamixer.c
258
goto error;
sound/pci/ctxfi/ctamixer.c
263
goto error;
sound/pci/ctxfi/ctamixer.c
269
error:
sound/pci/ctxfi/ctamixer.c
305
goto error;
sound/pci/ctxfi/ctamixer.c
317
error:
sound/pci/ctxfi/ctamixer.c
411
goto error;
sound/pci/ctxfi/ctamixer.c
416
goto error;
sound/pci/ctxfi/ctamixer.c
422
error:
sound/pci/ctxfi/ctamixer.c
457
goto error;
sound/pci/ctxfi/ctamixer.c
469
error:
sound/pci/ctxfi/ctdaio.c
546
goto error;
sound/pci/ctxfi/ctdaio.c
551
goto error;
sound/pci/ctxfi/ctdaio.c
558
goto error;
sound/pci/ctxfi/ctdaio.c
563
goto error;
sound/pci/ctxfi/ctdaio.c
574
error:
sound/pci/ctxfi/cthw20k2.c
1890
goto error;
sound/pci/ctxfi/cthw20k2.c
1929
goto error;
sound/pci/ctxfi/cthw20k2.c
1943
error:
sound/pci/ctxfi/ctmixer.c
1263
goto error;
sound/pci/ctxfi/ctmixer.c
1272
error:
sound/pci/ctxfi/ctresource.c
234
goto error;
sound/pci/ctxfi/ctresource.c
240
goto error;
sound/pci/ctxfi/ctresource.c
249
error:
sound/pci/ctxfi/xfi.c
108
goto error;
sound/pci/ctxfi/xfi.c
115
error:
sound/pci/ctxfi/xfi.c
92
goto error;
sound/pci/ctxfi/xfi.c
99
goto error;
sound/pci/korg1212/korg1212.c
2241
goto error;
sound/pci/korg1212/korg1212.c
2252
goto error;
sound/pci/korg1212/korg1212.c
2257
error:
sound/pci/lola/lola_pcm.c
352
goto error;
sound/pci/lola/lola_pcm.c
356
error:
sound/pci/lx6464es/lx6464es.c
1009
goto error;
sound/pci/lx6464es/lx6464es.c
1026
goto error;
sound/pci/lx6464es/lx6464es.c
1033
error:
sound/pci/rme96.c
1005
error:
sound/pci/rme96.c
985
goto error;
sound/pci/rme96.c
991
goto error;
sound/pci/rme9652/hdsp.c
5352
goto error;
sound/pci/rme9652/hdsp.c
5359
goto error;
sound/pci/rme9652/hdsp.c
5364
error:
sound/pci/rme9652/hdspm.c
6827
goto error;
sound/pci/rme9652/hdspm.c
6846
goto error;
sound/pci/rme9652/hdspm.c
6853
error:
sound/pci/rme9652/rme9652.c
2497
goto error;
sound/pci/rme9652/rme9652.c
2505
goto error;
sound/pci/rme9652/rme9652.c
2510
error:
sound/pci/sis7019.c
1180
goto error;
sound/pci/sis7019.c
1186
goto error;
sound/pci/sis7019.c
1211
error:
sound/soc/bcm/cygnus-ssp.c
1088
int error;
sound/soc/bcm/cygnus-ssp.c
1095
error = clk_prepare_enable(aio->cygaud->
sound/soc/bcm/cygnus-ssp.c
1097
if (error) {
sound/soc/bcm/cygnus-ssp.c
1104
error = clk_prepare_enable(aio->cygaud->
sound/soc/bcm/cygnus-ssp.c
1106
if (error) {
sound/soc/bcm/cygnus-ssp.c
484
int i = 0, error;
sound/soc/bcm/cygnus-ssp.c
505
error = clk_prepare_enable(ch_clk);
sound/soc/bcm/cygnus-ssp.c
506
if (error) {
sound/soc/bcm/cygnus-ssp.c
508
__func__, error);
sound/soc/bcm/cygnus-ssp.c
509
return error;
sound/soc/bcm/cygnus-ssp.c
515
error = clk_prepare_enable(ch_clk);
sound/soc/bcm/cygnus-ssp.c
516
if (error) {
sound/soc/bcm/cygnus-ssp.c
518
__func__, error);
sound/soc/bcm/cygnus-ssp.c
519
return error;
sound/soc/bcm/cygnus-ssp.c
524
error = clk_set_rate(ch_clk, mclk);
sound/soc/bcm/cygnus-ssp.c
525
if (error) {
sound/soc/bcm/cygnus-ssp.c
527
__func__, error);
sound/soc/bcm/cygnus-ssp.c
528
return error;
sound/soc/codecs/aw88166.c
1115
goto error;
sound/soc/codecs/aw88166.c
1126
goto error;
sound/soc/codecs/aw88166.c
1135
goto error;
sound/soc/codecs/aw88166.c
1146
error:
sound/soc/codecs/aw88395/aw88395_device.c
1241
goto error;
sound/soc/codecs/aw88395/aw88395_device.c
1250
goto error;
sound/soc/codecs/aw88395/aw88395_device.c
1259
goto error;
sound/soc/codecs/aw88395/aw88395_device.c
1268
goto error;
sound/soc/codecs/aw88395/aw88395_device.c
1274
error:
sound/soc/codecs/aw88395/aw88395_device.c
1327
goto error;
sound/soc/codecs/aw88395/aw88395_device.c
1336
goto error;
sound/soc/codecs/aw88395/aw88395_device.c
1345
goto error;
sound/soc/codecs/aw88395/aw88395_device.c
1354
error:
sound/soc/codecs/aw88399.c
1086
goto error;
sound/soc/codecs/aw88399.c
1095
goto error;
sound/soc/codecs/aw88399.c
1104
goto error;
sound/soc/codecs/aw88399.c
1113
error:
sound/soc/codecs/cros_ec_codec.c
103
error:
sound/soc/codecs/cros_ec_codec.c
97
goto error;
sound/soc/codecs/cs42l43-jack.c
101
goto error;
sound/soc/codecs/cs42l43-jack.c
107
goto error;
sound/soc/codecs/cs42l43-jack.c
115
goto error;
sound/soc/codecs/cs42l43-jack.c
127
goto error;
sound/soc/codecs/cs42l43-jack.c
137
goto error;
sound/soc/codecs/cs42l43-jack.c
145
goto error;
sound/soc/codecs/cs42l43-jack.c
157
goto error;
sound/soc/codecs/cs42l43-jack.c
173
goto error;
sound/soc/codecs/cs42l43-jack.c
181
goto error;
sound/soc/codecs/cs42l43-jack.c
202
goto error;
sound/soc/codecs/cs42l43-jack.c
210
goto error;
sound/soc/codecs/cs42l43-jack.c
242
error:
sound/soc/codecs/cs42l43-jack.c
387
goto error;
sound/soc/codecs/cs42l43-jack.c
398
goto error;
sound/soc/codecs/cs42l43-jack.c
403
goto error;
sound/soc/codecs/cs42l43-jack.c
428
error:
sound/soc/codecs/cs42l43-jack.c
770
goto error;
sound/soc/codecs/cs42l43-jack.c
788
error:
sound/soc/codecs/cs42l43.c
1067
goto error;
sound/soc/codecs/cs42l43.c
1073
goto error;
sound/soc/codecs/cs42l43.c
1082
error:
sound/soc/codecs/cs42l51.c
752
goto error;
sound/soc/codecs/cs42l51.c
765
goto error;
sound/soc/codecs/cs42l51.c
772
goto error;
sound/soc/codecs/cs42l51.c
780
goto error;
sound/soc/codecs/cs42l51.c
784
error:
sound/soc/codecs/cs53l30.c
1011
goto error;
sound/soc/codecs/cs53l30.c
1016
error:
sound/soc/codecs/cs53l30.c
950
goto error;
sound/soc/codecs/cs53l30.c
958
goto error;
sound/soc/codecs/cs53l30.c
965
goto error;
sound/soc/codecs/cs53l30.c
971
goto error;
sound/soc/codecs/cs53l30.c
978
goto error;
sound/soc/codecs/cs53l30.c
986
goto error;
sound/soc/codecs/nau8824.c
1094
goto error;
sound/soc/codecs/nau8824.c
1096
goto error;
sound/soc/codecs/nau8824.c
1121
goto error;
sound/soc/codecs/nau8824.c
1142
goto error;
sound/soc/codecs/nau8824.c
1149
error:
sound/soc/codecs/nau8824.c
508
bool clk_fll, error;
sound/soc/codecs/nau8824.c
540
error = value & NAU8824_DCO_EN;
sound/soc/codecs/nau8824.c
541
if (!error) {
sound/soc/codecs/nau8824.c
545
error = !(value & NAU8824_CLK_SRC_VCO);
sound/soc/codecs/nau8824.c
547
error = value & NAU8824_CLK_SRC_VCO;
sound/soc/codecs/nau8824.c
550
if (error) {
sound/soc/codecs/nau8825.c
1294
goto error;
sound/soc/codecs/nau8825.c
1296
goto error;
sound/soc/codecs/nau8825.c
1318
goto error;
sound/soc/codecs/nau8825.c
1338
goto error;
sound/soc/codecs/nau8825.c
1345
error:
sound/soc/codecs/wm_adsp.c
139
__be32 error; /* error if any */
sound/soc/codecs/wm_adsp.c
158
u32 error;
sound/soc/codecs/wm_adsp.c
1641
goto error;
sound/soc/codecs/wm_adsp.c
1659
error:
sound/soc/codecs/wm_adsp.c
1684
ret = wm_adsp_buffer_read(buf, HOST_BUFFER_FIELD(error), &buf->error);
sound/soc/codecs/wm_adsp.c
1689
if (buf->error != 0) {
sound/soc/codecs/wm_adsp.c
1690
compr_err(buf, "Buffer error occurred: %d\n", buf->error);
sound/soc/codecs/wm_adsp.c
1876
if (dsp->fatal_error || !buf || buf->error) {
sound/soc/codecs/wm_adsp.c
1896
if (buf->error)
sound/soc/codecs/wm_adsp.c
1986
if (dsp->fatal_error || !compr->buf || compr->buf->error) {
sound/soc/fsl/fsl_asrc.c
1040
asrc->pair[index]->error |= ASRC_TASK_Q_OVERLOAD;
sound/soc/fsl/fsl_asrc.c
1045
asrc->pair[index]->error |= ASRC_OUTPUT_TASK_OVERLOAD;
sound/soc/fsl/fsl_asrc.c
1050
asrc->pair[index]->error |= ASRC_INPUT_TASK_OVERLOAD;
sound/soc/fsl/fsl_asrc.c
1055
asrc->pair[index]->error |= ASRC_OUTPUT_BUFFER_OVERFLOW;
sound/soc/fsl/fsl_asrc.c
1060
asrc->pair[index]->error |= ASRC_INPUT_BUFFER_UNDERRUN;
sound/soc/fsl/fsl_asrc.c
278
pair->error = 0;
sound/soc/fsl/fsl_asrc_common.h
68
unsigned int error;
sound/soc/fsl/p1022_ds.c
264
goto error;
sound/soc/fsl/p1022_ds.c
273
goto error;
sound/soc/fsl/p1022_ds.c
291
goto error;
sound/soc/fsl/p1022_ds.c
333
goto error;
sound/soc/fsl/p1022_ds.c
339
goto error;
sound/soc/fsl/p1022_ds.c
349
goto error;
sound/soc/fsl/p1022_ds.c
359
goto error;
sound/soc/fsl/p1022_ds.c
380
goto error;
sound/soc/fsl/p1022_ds.c
387
error:
sound/soc/fsl/p1022_rdk.c
293
goto error;
sound/soc/fsl/p1022_rdk.c
300
goto error;
sound/soc/fsl/p1022_rdk.c
311
goto error;
sound/soc/fsl/p1022_rdk.c
322
goto error;
sound/soc/fsl/p1022_rdk.c
343
goto error;
sound/soc/fsl/p1022_rdk.c
348
error:
sound/soc/generic/simple-card-utils.c
793
int error;
sound/soc/generic/simple-card-utils.c
811
error = PTR_ERR_OR_ZERO(desc);
sound/soc/generic/simple-card-utils.c
812
if (error)
sound/soc/generic/simple-card-utils.c
813
return error;
sound/soc/generic/simple-card-utils.c
816
error = gpiod_set_consumer_name(desc, gpio_name);
sound/soc/generic/simple-card-utils.c
817
if (error)
sound/soc/generic/simple-card-utils.c
818
return error;
sound/soc/generic/simple-card.c
406
goto error;
sound/soc/generic/simple-card.c
452
goto error;
sound/soc/generic/simple-card.c
458
error:
sound/soc/renesas/rcar/ssiu.c
124
error = true;
sound/soc/renesas/rcar/ssiu.c
129
return error;
sound/soc/renesas/rcar/ssiu.c
90
bool error = false;
sound/soc/sdca/sdca_fdl.c
123
goto error;
sound/soc/sdca/sdca_fdl.c
133
error:
sound/soc/sdca/sdca_interrupts.c
104
goto error;
sound/soc/sdca/sdca_interrupts.c
113
goto error;
sound/soc/sdca/sdca_interrupts.c
146
goto error;
sound/soc/sdca/sdca_interrupts.c
150
error:
sound/soc/sdca/sdca_interrupts.c
165
goto error;
sound/soc/sdca/sdca_interrupts.c
170
goto error;
sound/soc/sdca/sdca_interrupts.c
173
error:
sound/soc/sdca/sdca_interrupts.c
188
goto error;
sound/soc/sdca/sdca_interrupts.c
193
goto error;
sound/soc/sdca/sdca_interrupts.c
196
error:
sound/soc/sdca/sdca_interrupts.c
228
goto error;
sound/soc/sdca/sdca_interrupts.c
234
goto error;
sound/soc/sdca/sdca_interrupts.c
237
error:
sound/soc/soc-pcm.c
1914
goto error;
sound/soc/soc-pcm.c
1939
goto error;
sound/soc/soc-pcm.c
1942
error:
sound/soc/sof/amd/acp-ipc.c
121
reply.error = 0;
sound/soc/sof/amd/acp-ipc.c
129
if (reply.error < 0) {
sound/soc/sof/amd/acp-ipc.c
131
ret = reply.error;
sound/soc/sof/debug.c
216
goto error;
sound/soc/sof/debug.c
226
if (ret < 0 || reply->rhdr.error < 0) {
sound/soc/sof/debug.c
227
ret = min(ret, reply->rhdr.error);
sound/soc/sof/debug.c
229
goto error;
sound/soc/sof/debug.c
236
goto error;
sound/soc/sof/debug.c
244
goto error;
sound/soc/sof/debug.c
249
error:
sound/soc/sof/intel/hda-ipc.c
155
reply.error = 0;
sound/soc/sof/ipc3-dtrace.c
172
goto error;
sound/soc/sof/ipc3-dtrace.c
182
error:
sound/soc/sof/ipc3-dtrace.c
209
goto error;
sound/soc/sof/ipc3-dtrace.c
215
goto error;
sound/soc/sof/ipc3-dtrace.c
219
error:
sound/soc/sof/ipc3.c
244
if (reply->error < 0)
sound/soc/sof/ipc3.c
245
return reply->error;
sound/soc/sof/loader.c
101
error:
sound/soc/sof/loader.c
80
goto error;
sound/soc/sof/loader.c
87
goto error;
sound/soc/sof/loader.c
95
goto error;
sound/soc/sof/sof-client-probes-ipc3.c
128
if (ret < 0 || reply->rhdr.error < 0)
sound/soc/sprd/sprd-pcm-dma.c
100
error:
sound/soc/sprd/sprd-pcm-dma.c
90
goto error;
sound/soc/stm/stm32_i2s.c
1318
goto error;
sound/soc/stm/stm32_i2s.c
1322
goto error;
sound/soc/stm/stm32_i2s.c
1327
goto error;
sound/soc/stm/stm32_i2s.c
1333
goto error;
sound/soc/stm/stm32_i2s.c
1338
goto error;
sound/soc/stm/stm32_i2s.c
1349
error:
sound/soc/stm/stm32_spdifrx.c
1015
goto error;
sound/soc/stm/stm32_spdifrx.c
1019
goto error;
sound/soc/stm/stm32_spdifrx.c
1024
goto error;
sound/soc/stm/stm32_spdifrx.c
1035
error:
sound/usb/6fire/firmware.c
118
record->error = true;
sound/usb/6fire/firmware.c
128
record->error = true;
sound/usb/6fire/firmware.c
137
record->error = true;
sound/usb/6fire/firmware.c
153
if (record->error)
sound/usb/6fire/firmware.c
50
char error; /* true if an error occurred parsing this record */
sound/usb/6fire/firmware.c
87
record->error = false;
sound/usb/6fire/firmware.c
99
record->error = true;
sound/usb/card.c
1170
goto error;
sound/usb/card.c
1174
goto error;
sound/usb/card.c
1177
error:
sound/usb/fcp.c
141
__le32 error;
sound/usb/fcp.c
156
req->error = 0;
sound/usb/fcp.c
273
if (resp->error) {
sound/usb/fcp.c
276
opcode, le32_to_cpu(resp->error));
sound/usb/hiface/pcm.c
567
goto error;
sound/usb/hiface/pcm.c
573
goto error;
sound/usb/hiface/pcm.c
589
error:
sound/usb/line6/driver.c
179
goto error;
sound/usb/line6/driver.c
183
goto error;
sound/usb/line6/driver.c
187
error:
sound/usb/line6/driver.c
791
goto error;
sound/usb/line6/driver.c
799
goto error;
sound/usb/line6/driver.c
805
goto error;
sound/usb/line6/driver.c
814
error:
sound/usb/line6/midi.c
130
goto error;
sound/usb/line6/midi.c
134
goto error;
sound/usb/line6/midi.c
139
error:
sound/usb/line6/pcm.c
331
goto error;
sound/usb/line6/pcm.c
339
goto error;
sound/usb/line6/pcm.c
342
error:
sound/usb/midi.c
1340
goto error;
sound/usb/midi.c
1353
goto error;
sound/usb/midi.c
1369
goto error;
sound/usb/midi.c
1376
error:
sound/usb/midi.c
1426
goto error;
sound/usb/midi.c
1465
goto error;
sound/usb/midi.c
1481
goto error;
sound/usb/midi.c
1502
error:
sound/usb/midi2.c
1118
goto error;
sound/usb/midi2.c
1125
goto error;
sound/usb/midi2.c
1132
goto error;
sound/usb/midi2.c
1138
goto error;
sound/usb/midi2.c
1145
goto error;
sound/usb/midi2.c
1152
goto error;
sound/usb/midi2.c
1160
goto error;
sound/usb/midi2.c
1165
error:
sound/usb/midi2.c
396
goto error;
sound/usb/midi2.c
407
error:
sound/usb/mixer.c
1513
goto error;
sound/usb/mixer.c
1541
error:
sound/usb/mixer.c
725
goto error;
sound/usb/mixer.c
728
goto error;
sound/usb/mixer.c
733
error:
sound/usb/mixer_scarlett2.c
2334
__le32 error;
sound/usb/mixer_scarlett2.c
2349
req->error = 0;
sound/usb/mixer_scarlett2.c
2460
resp->error ||
sound/usb/mixer_scarlett2.c
2471
le32_to_cpu(resp->error),
sound/usb/pcm.c
294
goto error;
sound/usb/pcm.c
303
goto error;
sound/usb/pcm.c
309
error:
sound/usb/quirks.c
182
goto error;
sound/usb/quirks.c
188
goto error;
sound/usb/quirks.c
202
goto error;
sound/usb/quirks.c
209
error:
sound/usb/stream.c
612
goto error;
sound/usb/stream.c
621
goto error;
sound/usb/stream.c
632
goto error;
sound/usb/stream.c
640
error:
sound/usb/usx2y/us144mkii.c
126
goto error;
sound/usb/usx2y/us144mkii.c
133
goto error;
sound/usb/usx2y/us144mkii.c
151
goto error;
sound/usb/usx2y/us144mkii.c
158
goto error;
sound/usb/usx2y/us144mkii.c
174
goto error;
sound/usb/usx2y/us144mkii.c
181
goto error;
sound/usb/usx2y/us144mkii.c
196
goto error;
sound/usb/usx2y/us144mkii.c
202
goto error;
sound/usb/usx2y/us144mkii.c
214
goto error;
sound/usb/usx2y/us144mkii.c
220
goto error;
sound/usb/usx2y/us144mkii.c
232
goto error;
sound/usb/usx2y/us144mkii.c
237
goto error;
sound/usb/usx2y/us144mkii.c
244
goto error;
sound/usb/usx2y/us144mkii.c
251
goto error;
sound/usb/usx2y/us144mkii.c
255
error:
sound/usb/usx2y/usbusx2y.c
298
goto error;
sound/usb/usx2y/usbusx2y.c
304
goto error;
sound/usb/usx2y/usbusx2y.c
314
goto error;
sound/usb/usx2y/usbusx2y.c
318
error:
sound/usb/usx2y/usbusx2y.c
457
goto error;
sound/usb/usx2y/usbusx2y.c
460
goto error;
sound/usb/usx2y/usbusx2y.c
465
error:
sound/x86/intel_hdmi_audio.c
1069
goto error;
sound/x86/intel_hdmi_audio.c
1077
goto error;
sound/x86/intel_hdmi_audio.c
1081
goto error;
sound/x86/intel_hdmi_audio.c
1090
error:
tools/accounting/getdelays.c
103
goto error;
tools/accounting/getdelays.c
110
goto error;
tools/accounting/getdelays.c
113
error:
tools/accounting/getdelays.c
648
err->error);
tools/accounting/procacct.c
109
goto error;
tools/accounting/procacct.c
116
goto error;
tools/accounting/procacct.c
119
error:
tools/accounting/procacct.c
363
err->error);
tools/arch/x86/include/uapi/asm/kvm.h
757
__u32 error;
tools/bpf/bpftool/link.c
348
goto error;
tools/bpf/bpftool/link.c
371
error:
tools/bpf/bpftool/link.c
787
goto error;
tools/bpf/bpftool/link.c
805
error:
tools/bpf/bpftool/net.c
188
if (!err->error)
tools/bpf/bpftool/net.c
190
ret = err->error;
tools/hv/hv_fcopy_uio_daemon.c
116
int error = HV_E_FAIL;
tools/hv/hv_fcopy_uio_daemon.c
156
error = HV_ERROR_ALREADY_EXISTS;
tools/hv/hv_fcopy_uio_daemon.c
168
error = 0;
tools/hv/hv_fcopy_uio_daemon.c
170
if (error)
tools/hv/hv_fcopy_uio_daemon.c
172
return error;
tools/hv/hv_kvp_daemon.c
1006
if (error)
tools/hv/hv_kvp_daemon.c
1044
error = kvp_process_ip_address(curp->ifa_addr,
tools/hv/hv_kvp_daemon.c
1048
if (error)
tools/hv/hv_kvp_daemon.c
1056
return error;
tools/hv/hv_kvp_daemon.c
1073
int error = HV_E_FAIL;
tools/hv/hv_kvp_daemon.c
1113
error = kvp_get_ip_info(0, if_name, KVP_OP_GET_IP_INFO,
tools/hv/hv_kvp_daemon.c
1116
if (!error && strlen((char *)kvp_ip_val->ip_addr))
tools/hv/hv_kvp_daemon.c
1121
return error;
tools/hv/hv_kvp_daemon.c
1215
int error = 0;
tools/hv/hv_kvp_daemon.c
1282
error = kvp_write_file(f, str, sub_str, addr);
tools/hv/hv_kvp_daemon.c
1283
if (error)
tools/hv/hv_kvp_daemon.c
1284
return error;
tools/hv/hv_kvp_daemon.c
1333
int ip_offset = 0, error = 0, ip_ver;
tools/hv/hv_kvp_daemon.c
1383
error = fprintf(f, "%s=%s\n", param_name, output_str);
tools/hv/hv_kvp_daemon.c
1387
return error;
tools/hv/hv_kvp_daemon.c
1395
int error = 0, i = 0;
tools/hv/hv_kvp_daemon.c
1423
error = fprintf(f, "address%d=%s/%d\n", ++i, (char *)addr,
tools/hv/hv_kvp_daemon.c
1425
if (error < 0)
tools/hv/hv_kvp_daemon.c
1426
return error;
tools/hv/hv_kvp_daemon.c
1432
return error;
tools/hv/hv_kvp_daemon.c
1437
int error = 0, ip_ver;
tools/hv/hv_kvp_daemon.c
1550
error = HV_E_FAIL;
tools/hv/hv_kvp_daemon.c
1554
error = kvp_write_file(ifcfg_file, "HWADDR", "", mac_addr);
tools/hv/hv_kvp_daemon.c
1555
if (error < 0)
tools/hv/hv_kvp_daemon.c
1558
error = kvp_write_file(ifcfg_file, "DEVICE", "", if_name);
tools/hv/hv_kvp_daemon.c
1559
if (error < 0)
tools/hv/hv_kvp_daemon.c
1562
error = fprintf(nmfile, "\n[connection]\n");
tools/hv/hv_kvp_daemon.c
1563
if (error < 0)
tools/hv/hv_kvp_daemon.c
1566
error = kvp_write_file(nmfile, "interface-name", "", if_name);
tools/hv/hv_kvp_daemon.c
1567
if (error)
tools/hv/hv_kvp_daemon.c
1570
error = fprintf(nmfile, "\n[ethernet]\n");
tools/hv/hv_kvp_daemon.c
1571
if (error < 0)
tools/hv/hv_kvp_daemon.c
1574
error = kvp_write_file(nmfile, "mac-address", "", mac_addr);
tools/hv/hv_kvp_daemon.c
1575
if (error)
tools/hv/hv_kvp_daemon.c
1591
error = kvp_write_file(ifcfg_file, "BOOTPROTO", "", "dhcp");
tools/hv/hv_kvp_daemon.c
1592
if (error)
tools/hv/hv_kvp_daemon.c
1595
error = kvp_write_file(ifcfg_file, "BOOTPROTO", "", "none");
tools/hv/hv_kvp_daemon.c
1596
if (error)
tools/hv/hv_kvp_daemon.c
1600
error = process_ip_string(ifcfg_file, (char *)new_val->ip_addr,
tools/hv/hv_kvp_daemon.c
1602
if (error)
tools/hv/hv_kvp_daemon.c
1605
error = process_ip_string(ifcfg_file, (char *)new_val->sub_net,
tools/hv/hv_kvp_daemon.c
1607
if (error)
tools/hv/hv_kvp_daemon.c
1610
error = process_ip_string(ifcfg_file, (char *)new_val->gate_way,
tools/hv/hv_kvp_daemon.c
1612
if (error)
tools/hv/hv_kvp_daemon.c
1615
error = process_ip_string(ifcfg_file, (char *)new_val->dns_addr, DNS);
tools/hv/hv_kvp_daemon.c
1616
if (error)
tools/hv/hv_kvp_daemon.c
1629
error = fprintf(nmfile, "\n[ipv4]\n");
tools/hv/hv_kvp_daemon.c
1630
if (error < 0)
tools/hv/hv_kvp_daemon.c
1633
error = fprintf(nmfile, "\n[ipv6]\n");
tools/hv/hv_kvp_daemon.c
1634
if (error < 0)
tools/hv/hv_kvp_daemon.c
1642
error = process_ip_string_nm(nmfile, (char *)new_val->ip_addr,
tools/hv/hv_kvp_daemon.c
1645
if (error < 0)
tools/hv/hv_kvp_daemon.c
1663
error = kvp_write_file(nmfile, "method", "",
tools/hv/hv_kvp_daemon.c
1665
if (error < 0)
tools/hv/hv_kvp_daemon.c
1667
} else if (error) {
tools/hv/hv_kvp_daemon.c
1668
error = kvp_write_file(nmfile, "method", "",
tools/hv/hv_kvp_daemon.c
1670
if (error < 0)
tools/hv/hv_kvp_daemon.c
1673
error = kvp_write_file(nmfile, "method", "",
tools/hv/hv_kvp_daemon.c
1675
if (error < 0)
tools/hv/hv_kvp_daemon.c
1679
if (error) {
tools/hv/hv_kvp_daemon.c
1680
error = kvp_write_file(nmfile, "method", "",
tools/hv/hv_kvp_daemon.c
1682
if (error < 0)
tools/hv/hv_kvp_daemon.c
1685
error = kvp_write_file(nmfile, "method", "",
tools/hv/hv_kvp_daemon.c
1687
if (error < 0)
tools/hv/hv_kvp_daemon.c
1692
error = process_dns_gateway_nm(nmfile,
tools/hv/hv_kvp_daemon.c
1695
if (error < 0)
tools/hv/hv_kvp_daemon.c
1698
error = process_dns_gateway_nm(nmfile,
tools/hv/hv_kvp_daemon.c
1701
if (error < 0)
tools/hv/hv_kvp_daemon.c
1740
return error;
tools/hv/hv_kvp_daemon.c
1748
int error = 0;
tools/hv/hv_kvp_daemon.c
1756
error = getaddrinfo(buffer, NULL, &hints, &info);
tools/hv/hv_kvp_daemon.c
1757
if (error != 0) {
tools/hv/hv_kvp_daemon.c
1759
error, gai_strerror(error));
tools/hv/hv_kvp_daemon.c
1778
int error;
tools/hv/hv_kvp_daemon.c
1894
hv_msg->error = HV_S_OK;
tools/hv/hv_kvp_daemon.c
1918
error = kvp_mac_to_ip(kvp_ip_val);
tools/hv/hv_kvp_daemon.c
1920
if (error)
tools/hv/hv_kvp_daemon.c
1921
hv_msg->error = error;
tools/hv/hv_kvp_daemon.c
1934
hv_msg->error = HV_GUID_NOTFOUND;
tools/hv/hv_kvp_daemon.c
1937
error = kvp_set_ip_info(if_name, kvp_ip_val);
tools/hv/hv_kvp_daemon.c
1938
if (error)
tools/hv/hv_kvp_daemon.c
1939
hv_msg->error = error;
tools/hv/hv_kvp_daemon.c
1950
hv_msg->error = HV_S_CONT;
tools/hv/hv_kvp_daemon.c
1959
hv_msg->error = HV_S_CONT;
tools/hv/hv_kvp_daemon.c
1966
hv_msg->error = HV_S_CONT;
tools/hv/hv_kvp_daemon.c
1988
hv_msg->error = HV_S_CONT;
tools/hv/hv_kvp_daemon.c
2039
hv_msg->error = HV_S_CONT;
tools/hv/hv_kvp_daemon.c
927
int error = 0;
tools/hv/hv_kvp_daemon.c
999
error = kvp_process_ip_address(
tools/hv/hv_vss_daemon.c
122
int error = 0, root_seen = 0, save_errno = 0;
tools/hv/hv_vss_daemon.c
159
error |= vss_do_freeze(ent->mnt_dir, cmd);
tools/hv/hv_vss_daemon.c
161
if (error)
tools/hv/hv_vss_daemon.c
170
error |= vss_do_freeze("/", cmd);
tools/hv/hv_vss_daemon.c
172
if (error)
tools/hv/hv_vss_daemon.c
178
if (operation == VSS_OP_THAW && !error)
tools/hv/hv_vss_daemon.c
198
return error;
tools/hv/hv_vss_daemon.c
212
int error;
tools/hv/hv_vss_daemon.c
315
error = HV_S_OK;
tools/hv/hv_vss_daemon.c
320
error = vss_operate(op);
tools/hv/hv_vss_daemon.c
323
error ? "failed" : "succeeded");
tools/hv/hv_vss_daemon.c
325
if (error) {
tools/hv/hv_vss_daemon.c
326
error = HV_E_FAIL;
tools/hv/hv_vss_daemon.c
344
vss_msg->error = error;
tools/hv/vmbus_bufring.c
186
int error;
tools/hv/vmbus_bufring.c
204
error = vmbus_txbr_write(txbr, iov, 3);
tools/hv/vmbus_bufring.c
206
return error;
tools/hv/vmbus_bufring.c
290
int error;
tools/hv/vmbus_bufring.c
292
error = vmbus_rxbr_peek(rxbr, &pkt, sizeof(pkt));
tools/hv/vmbus_bufring.c
293
if (error)
tools/hv/vmbus_bufring.c
294
return error;
tools/hv/vmbus_bufring.c
312
error = vmbus_rxbr_read(rxbr, data, dlen, 0);
tools/hv/vmbus_bufring.c
313
if (error)
tools/hv/vmbus_bufring.c
314
return error;
tools/iio/iio_generic_buffer.c
387
goto error;
tools/iio/iio_generic_buffer.c
391
goto error;
tools/iio/iio_generic_buffer.c
400
goto error;
tools/iio/iio_generic_buffer.c
415
goto error;
tools/iio/iio_generic_buffer.c
427
goto error;
tools/iio/iio_generic_buffer.c
444
goto error;
tools/iio/iio_generic_buffer.c
450
goto error;
tools/iio/iio_generic_buffer.c
459
goto error;
tools/iio/iio_generic_buffer.c
464
goto error;
tools/iio/iio_generic_buffer.c
470
goto error;
tools/iio/iio_generic_buffer.c
483
goto error;
tools/iio/iio_generic_buffer.c
488
goto error;
tools/iio/iio_generic_buffer.c
503
goto error;
tools/iio/iio_generic_buffer.c
523
goto error;
tools/iio/iio_generic_buffer.c
536
goto error;
tools/iio/iio_generic_buffer.c
545
goto error;
tools/iio/iio_generic_buffer.c
559
goto error;
tools/iio/iio_generic_buffer.c
575
goto error;
tools/iio/iio_generic_buffer.c
587
goto error;
tools/iio/iio_generic_buffer.c
592
goto error;
tools/iio/iio_generic_buffer.c
604
goto error;
tools/iio/iio_generic_buffer.c
616
goto error;
tools/iio/iio_generic_buffer.c
623
goto error;
tools/iio/iio_generic_buffer.c
629
goto error;
tools/iio/iio_generic_buffer.c
644
goto error;
tools/iio/iio_generic_buffer.c
651
goto error;
tools/iio/iio_generic_buffer.c
659
goto error;
tools/iio/iio_generic_buffer.c
674
goto error;
tools/iio/iio_generic_buffer.c
680
goto error;
tools/iio/iio_generic_buffer.c
688
goto error;
tools/iio/iio_generic_buffer.c
698
goto error;
tools/iio/iio_generic_buffer.c
704
goto error;
tools/iio/iio_generic_buffer.c
718
goto error;
tools/iio/iio_generic_buffer.c
737
goto error;
tools/iio/iio_generic_buffer.c
762
error:
tools/include/linux/compiler-gcc.h
22
# define __compiletime_error(message) __attribute__((error(message)))
tools/include/uapi/linux/fanotify.h
197
__s32 error;
tools/include/uapi/linux/kvm.h
424
__u8 error; /* user -> kernel */
tools/include/uapi/linux/netlink.h
110
int error;
tools/include/uapi/linux/seccomp.h
114
__s32 error;
tools/lib/bpf/bpf_gen_internal.h
43
int error;
tools/lib/bpf/gen_loader.c
185
gen->error = -E2BIG;
tools/lib/bpf/gen_loader.c
295
gen->error = -ERANGE;
tools/lib/bpf/gen_loader.c
382
gen->error = -EFAULT;
tools/lib/bpf/gen_loader.c
383
return gen->error;
tools/lib/bpf/gen_loader.c
404
pr_debug("gen: finish %s\n", errstr(gen->error));
tools/lib/bpf/gen_loader.c
405
if (!gen->error) {
tools/lib/bpf/gen_loader.c
422
return gen->error;
tools/lib/bpf/gen_loader.c
55
if (gen->error)
tools/lib/bpf/gen_loader.c
56
return gen->error;
tools/lib/bpf/gen_loader.c
570
gen->error = -EDOM; /* internal bug */
tools/lib/bpf/gen_loader.c
58
gen->error = -ERANGE;
tools/lib/bpf/gen_loader.c
600
gen->error = -ERANGE;
tools/lib/bpf/gen_loader.c
617
gen->error = -ENOSPC;
tools/lib/bpf/gen_loader.c
63
gen->error = -ENOMEM;
tools/lib/bpf/gen_loader.c
649
gen->error = -ENOMEM;
tools/lib/bpf/gen_loader.c
679
gen->error = -ENOMEM;
tools/lib/bpf/gen_loader.c
770
gen->error = -E2BIG;
tools/lib/bpf/gen_loader.c
78
if (gen->error)
tools/lib/bpf/gen_loader.c
79
return gen->error;
tools/lib/bpf/gen_loader.c
81
gen->error = -ERANGE;
tools/lib/bpf/gen_loader.c
86
gen->error = -ENOMEM;
tools/lib/bpf/gen_loader.c
938
gen->error = -ENOMEM;
tools/lib/bpf/libbpf.c
12050
goto error;
tools/lib/bpf/libbpf.c
12056
goto error;
tools/lib/bpf/libbpf.c
12080
goto error;
tools/lib/bpf/libbpf.c
12089
goto error;
tools/lib/bpf/libbpf.c
12095
error:
tools/lib/bpf/libbpf.c
12564
goto error;
tools/lib/bpf/libbpf.c
12573
goto error;
tools/lib/bpf/libbpf.c
12579
error:
tools/lib/bpf/libbpf.c
13719
goto error;
tools/lib/bpf/libbpf.c
13730
goto error;
tools/lib/bpf/libbpf.c
13737
goto error;
tools/lib/bpf/libbpf.c
13742
error:
tools/lib/bpf/libbpf.c
13864
goto error;
tools/lib/bpf/libbpf.c
13873
goto error;
tools/lib/bpf/libbpf.c
13883
goto error;
tools/lib/bpf/libbpf.c
13889
goto error;
tools/lib/bpf/libbpf.c
13895
goto error;
tools/lib/bpf/libbpf.c
13914
goto error;
tools/lib/bpf/libbpf.c
13926
goto error;
tools/lib/bpf/libbpf.c
13937
goto error;
tools/lib/bpf/libbpf.c
13946
error:
tools/lib/bpf/netlink.c
189
if (!err->error)
tools/lib/bpf/netlink.c
191
ret = err->error;
tools/lib/perf/tests/test-evlist.c
426
double error;
tools/lib/perf/tests/test-evlist.c
428
error = (((double)average - expected) / expected) * 100.0;
tools/lib/perf/tests/test-evlist.c
434
__T_VERBOSE(" Average Error = %.2f%%\n", error);
tools/lib/perf/tests/test-evlist.c
436
return error;
tools/lib/perf/tests/test-evlist.c
456
double error = 0.0;
tools/lib/perf/tests/test-evlist.c
562
error = display_error(avg, max, min, expected_counts.val);
tools/lib/perf/tests/test-evlist.c
564
__T("Error out of range!", ((error <= 1.0) && (error >= -1.0)));
tools/lib/thermal/thermal_nl.c
30
*ret = nl_err->error;
tools/lib/thermal/thermal_nl.h
13
int error;
tools/net/ynl/lib/ynl.c
332
code = err->error >= 0 ? err->error : -err->error;
tools/objtool/disas.c
389
goto error;
tools/objtool/disas.c
402
goto error;
tools/objtool/disas.c
407
error:
tools/perf/bench/epoll-ctl.c
134
int error;
tools/perf/bench/epoll-ctl.c
142
error = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev);
tools/perf/bench/epoll-ctl.c
146
error = epoll_ctl(epollfd, EPOLL_CTL_MOD, fd, &ev);
tools/perf/bench/epoll-ctl.c
149
error = epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, NULL);
tools/perf/bench/epoll-ctl.c
152
error = 1;
tools/perf/bench/epoll-ctl.c
156
if (!error)
tools/perf/bench/sched-seccomp-notify.c
83
resp.error = 0;
tools/perf/builtin-ftrace.c
358
goto error;
tools/perf/builtin-ftrace.c
363
goto error;
tools/perf/builtin-ftrace.c
366
error:
tools/perf/builtin-mem.c
452
goto error;
tools/perf/builtin-mem.c
467
error:
tools/perf/builtin-probe.c
474
goto error;
tools/perf/builtin-probe.c
476
goto error;
tools/perf/builtin-probe.c
485
goto error;
tools/perf/builtin-probe.c
487
goto error;
tools/perf/builtin-probe.c
494
error:
tools/perf/builtin-report.c
1659
goto error;
tools/perf/builtin-report.c
1692
goto error;
tools/perf/builtin-report.c
1728
goto error;
tools/perf/builtin-report.c
1748
goto error;
tools/perf/builtin-report.c
1786
goto error;
tools/perf/builtin-report.c
1810
goto error;
tools/perf/builtin-report.c
1825
goto error;
tools/perf/builtin-report.c
1842
goto error;
tools/perf/builtin-report.c
1861
goto error;
tools/perf/builtin-report.c
1869
goto error;
tools/perf/builtin-report.c
1903
error:
tools/perf/jvmti/jvmti_agent.c
300
goto error;
tools/perf/jvmti/jvmti_agent.c
307
goto error;
tools/perf/jvmti/jvmti_agent.c
322
goto error;
tools/perf/jvmti/jvmti_agent.c
325
error:
tools/perf/jvmti/jvmti_agent.c
467
goto error;
tools/perf/jvmti/jvmti_agent.c
475
goto error;
tools/perf/jvmti/jvmti_agent.c
480
goto error;
tools/perf/jvmti/jvmti_agent.c
485
goto error;
tools/perf/jvmti/jvmti_agent.c
489
goto error;
tools/perf/jvmti/jvmti_agent.c
493
error:
tools/perf/jvmti/jvmti_agent.c
71
goto error;
tools/perf/jvmti/jvmti_agent.c
75
goto error;
tools/perf/jvmti/jvmti_agent.c
79
goto error;
tools/perf/jvmti/jvmti_agent.c
83
error:
tools/perf/jvmti/libjvmti.c
284
goto error;
tools/perf/jvmti/libjvmti.c
291
goto error;
tools/perf/jvmti/libjvmti.c
309
error:
tools/perf/tests/pmu-events.c
775
static int check_parse_id(const char *id, struct parse_events_error *error)
tools/perf/tests/pmu-events.c
796
ret = __parse_events(evlist, dup, /*pmu_filter=*/NULL, error, /*fake_pmu=*/true,
tools/perf/tests/pmu-events.c
806
struct parse_events_error error;
tools/perf/tests/pmu-events.c
809
parse_events_error__init(&error);
tools/perf/tests/pmu-events.c
810
ret = check_parse_id(id, &error);
tools/perf/tests/pmu-events.c
811
parse_events_error__exit(&error);
tools/perf/tests/sdt.c
111
error:
tools/perf/tests/sdt.c
87
goto error;
tools/perf/ui/gtk/util.c
107
.error = perf_gtk__error,
tools/perf/ui/tui/util.c
272
.error = perf_tui__error,
tools/perf/ui/util.c
28
.error = perf_stdio__error,
tools/perf/ui/util.c
41
ret = perf_eops->error(format, args);
tools/perf/ui/util.h
17
int (*error)(const char *format, va_list args);
tools/perf/util/addr2line.c
188
goto error;
tools/perf/util/addr2line.c
215
goto error;
tools/perf/util/addr2line.c
234
goto error;
tools/perf/util/addr2line.c
245
goto error;
tools/perf/util/addr2line.c
251
goto error;
tools/perf/util/addr2line.c
262
error:
tools/perf/util/bpf-filter.y
2
%define parse.error verbose
tools/perf/util/bpf-trace-summary.c
166
stat->count, stat->error, total, min, avg, max,
tools/perf/util/bpf-trace-summary.c
274
stat->error += map_data->error;
tools/perf/util/bpf_skel/syscall_summary.bpf.c
88
__sync_fetch_and_add(&stats->error, 1);
tools/perf/util/bpf_skel/syscall_summary.h
24
u32 error;
tools/perf/util/debuginfo.c
52
goto error;
tools/perf/util/debuginfo.c
57
goto error;
tools/perf/util/debuginfo.c
61
goto error;
tools/perf/util/debuginfo.c
68
error:
tools/perf/util/demangle-java.c
105
goto error;
tools/perf/util/demangle-java.c
110
goto error;
tools/perf/util/demangle-java.c
116
goto error;
tools/perf/util/demangle-java.c
122
goto error;
tools/perf/util/demangle-java.c
133
goto error;
tools/perf/util/demangle-java.c
142
error:
tools/perf/util/demangle-java.c
187
goto error;
tools/perf/util/demangle-java.c
197
goto error;
tools/perf/util/demangle-java.c
200
error:
tools/perf/util/env.c
412
goto error;
tools/perf/util/env.c
415
goto error;
tools/perf/util/env.c
422
error:
tools/perf/util/env.c
488
goto error;
tools/perf/util/env.c
502
error:
tools/perf/util/env.c
549
goto error;
tools/perf/util/env.c
554
goto error;
tools/perf/util/env.c
563
error:
tools/perf/util/genelf.c
207
goto error;
tools/perf/util/genelf.c
216
goto error;
tools/perf/util/genelf.c
246
goto error;
tools/perf/util/genelf.c
252
goto error;
tools/perf/util/genelf.c
265
goto error;
tools/perf/util/genelf.c
286
goto error;
tools/perf/util/genelf.c
296
goto error;
tools/perf/util/genelf.c
302
goto error;
tools/perf/util/genelf.c
315
goto error;
tools/perf/util/genelf.c
332
goto error;
tools/perf/util/genelf.c
338
goto error;
tools/perf/util/genelf.c
351
goto error;
tools/perf/util/genelf.c
370
goto error;
tools/perf/util/genelf.c
377
goto error;
tools/perf/util/genelf.c
383
goto error;
tools/perf/util/genelf.c
396
goto error;
tools/perf/util/genelf.c
412
goto error;
tools/perf/util/genelf.c
418
goto error;
tools/perf/util/genelf.c
440
goto error;
tools/perf/util/genelf.c
454
goto error;
tools/perf/util/genelf.c
460
goto error;
tools/perf/util/genelf.c
465
error:
tools/perf/util/header.c
2096
goto error;
tools/perf/util/header.c
2099
goto error;
tools/perf/util/header.c
2104
goto error;
tools/perf/util/header.c
2109
goto error;
tools/perf/util/header.c
2123
goto error;
tools/perf/util/header.c
2131
goto error;
tools/perf/util/header.c
2134
goto error;
tools/perf/util/header.c
2141
goto error;
tools/perf/util/header.c
2148
goto error;
tools/perf/util/header.c
2154
goto error;
tools/perf/util/header.c
2161
error:
tools/perf/util/header.c
2335
goto error;
tools/perf/util/header.c
2349
error:
tools/perf/util/header.c
2766
goto error;
tools/perf/util/header.c
2771
goto error;
tools/perf/util/header.c
2782
error:
tools/perf/util/header.c
2812
goto error;
tools/perf/util/header.c
2816
goto error;
tools/perf/util/header.c
2831
goto error;
tools/perf/util/header.c
2835
goto error;
tools/perf/util/header.c
2880
goto error;
tools/perf/util/header.c
2884
goto error;
tools/perf/util/header.c
2899
error:
tools/perf/util/header.c
2927
goto error;
tools/perf/util/header.c
2930
goto error;
tools/perf/util/header.c
2933
goto error;
tools/perf/util/header.c
2937
goto error;
tools/perf/util/header.c
2942
goto error;
tools/perf/util/header.c
2948
error:
tools/perf/util/header.c
2975
goto error;
tools/perf/util/header.c
2979
goto error;
tools/perf/util/header.c
2982
goto error;
tools/perf/util/header.c
2985
goto error;
tools/perf/util/header.c
2998
error:
tools/perf/util/header.c
3297
goto error;
tools/perf/util/header.c
3301
goto error;
tools/perf/util/header.c
3308
error:
tools/perf/util/header.c
3502
goto error;
tools/perf/util/header.c
3532
error:
tools/perf/util/jitdump.c
157
goto error;
tools/perf/util/jitdump.c
166
goto error;
tools/perf/util/jitdump.c
172
goto error;
tools/perf/util/jitdump.c
199
goto error;
tools/perf/util/jitdump.c
205
goto error;
tools/perf/util/jitdump.c
210
goto error;
tools/perf/util/jitdump.c
218
goto error;
tools/perf/util/jitdump.c
226
goto error;
tools/perf/util/jitdump.c
232
goto error;
tools/perf/util/jitdump.c
243
error:
tools/perf/util/machine.c
2712
goto error;
tools/perf/util/machine.c
2717
goto error;
tools/perf/util/machine.c
2722
goto error;
tools/perf/util/machine.c
2729
goto error;
tools/perf/util/machine.c
2734
goto error;
tools/perf/util/machine.c
2741
goto error;
tools/perf/util/machine.c
2745
error:
tools/perf/util/parse-branch-options.c
78
goto error;
tools/perf/util/parse-branch-options.c
93
error:
tools/perf/util/parse-events.c
1005
if (check_type_val(term, parse_state->error, PARSE_EVENTS__TERM_TYPE_NUM))
tools/perf/util/parse-events.c
1008
parse_events_error__handle(parse_state->error, term->err_val,
tools/perf/util/parse-events.c
1013
if (!check_pmu_is_core(attr->type, term, parse_state->error))
tools/perf/util/parse-events.c
1024
if (check_type_val(term, parse_state->error, PARSE_EVENTS__TERM_TYPE_NUM))
tools/perf/util/parse-events.c
1033
parse_events_error__handle(parse_state->error, term->err_val,
tools/perf/util/parse-events.c
1038
if (!check_pmu_is_core(attr->type, term, parse_state->error))
tools/perf/util/parse-events.c
1094
parse_events_error__handle(parse_state->error, term->err_term,
tools/perf/util/parse-events.c
1497
struct parse_events_error *err = parse_state->error;
tools/perf/util/parse-events.c
1586
parse_state->error)) {
tools/perf/util/parse-events.c
1770
parse_events_error__handle(parse_state->error, loc->first_column,
tools/perf/util/parse-events.c
1801
parse_events_error__handle(parse_state->error, loc->first_column,
tools/perf/util/parse-events.c
1874
parse_events_error__handle(parse_state->error,
tools/perf/util/parse-events.c
2271
.error = err,
tools/perf/util/parse-events.c
809
if (check_type_val(term, parse_state->error, PARSE_EVENTS__TERM_TYPE_ ## type)) \
tools/perf/util/parse-events.c
845
parse_events_error__handle(parse_state->error, term->err_val,
tools/perf/util/parse-events.c
854
parse_events_error__handle(parse_state->error, term->err_val,
tools/perf/util/parse-events.c
896
parse_events_error__handle(parse_state->error, term->err_val,
tools/perf/util/parse-events.c
911
parse_events_error__handle(parse_state->error, term->err_val,
tools/perf/util/parse-events.c
922
parse_events_error__handle(parse_state->error, term->err_val,
tools/perf/util/parse-events.c
935
parse_events_error__handle(parse_state->error, term->err_val,
tools/perf/util/parse-events.c
946
parse_events_error__handle(parse_state->error, term->err_val,
tools/perf/util/parse-events.c
952
parse_events_error__handle(parse_state->error, term->err_val,
tools/perf/util/parse-events.c
963
parse_events_error__handle(parse_state->error, term->err_term,
tools/perf/util/parse-events.c
978
if (!config_term_avail(term->type_term, parse_state->error))
tools/perf/util/parse-events.h
153
struct parse_events_error *error;
tools/perf/util/parse-events.h
224
struct parse_events_error *error,
tools/perf/util/parse-events.h
34
struct parse_events_error *error, bool fake_pmu,
tools/perf/util/parse-events.y
280
struct parse_events_error *error = parse_state->error;
tools/perf/util/parse-events.y
285
parse_events_error__handle(error, @1.first_column, strdup("Bad event name"), help);
tools/perf/util/parse-events.y
375
struct parse_events_error *error = parse_state->error;
tools/perf/util/parse-events.y
384
error, $2, &@1);
tools/perf/util/parse-events.y
642
if (!parse_state->error || !list_empty(&parse_state->error->list))
tools/perf/util/parse-events.y
645
parse_events_error__handle(parse_state->error, loc->last_column,
tools/perf/util/parse-regs-options.c
109
error:
tools/perf/util/parse-regs-options.c
91
goto error;
tools/perf/util/parse-regs-options.c
98
goto error;
tools/perf/util/perf-regs-arch/perf_regs_aarch64.c
39
goto error;
tools/perf/util/perf-regs-arch/perf_regs_aarch64.c
50
error:
tools/perf/util/perf-regs-arch/perf_regs_powerpc.c
40
goto error;
tools/perf/util/perf-regs-arch/perf_regs_powerpc.c
51
error:
tools/perf/util/pfm.c
111
goto error;
tools/perf/util/pfm.c
119
error:
tools/perf/util/pfm.c
58
goto error;
tools/perf/util/pfm.c
68
goto error;
tools/perf/util/pfm.c
84
goto error;
tools/perf/util/pfm.c
92
goto error;
tools/perf/util/pmu.c
1474
goto error;
tools/perf/util/pmu.c
1477
error:
tools/perf/util/pmu.c
314
goto error;
tools/perf/util/pmu.c
318
goto error;
tools/perf/util/pmu.c
326
error:
tools/perf/util/pmu.c
350
goto error;
tools/perf/util/pmu.c
360
error:
tools/perf/util/pmu.h
269
struct parse_events_error *error);
tools/perf/util/pmu.h
274
struct parse_events_error *error);
tools/perf/util/probe-event.c
1015
goto error;
tools/perf/util/probe-event.c
1027
error:
tools/perf/util/probe-event.c
2266
goto error;
tools/perf/util/probe-event.c
2278
error:
tools/perf/util/probe-event.c
2384
goto error;
tools/perf/util/probe-event.c
2391
error:
tools/perf/util/probe-event.c
676
goto error;
tools/perf/util/probe-event.c
680
goto error;
tools/perf/util/probe-event.c
687
goto error;
tools/perf/util/probe-event.c
704
error:
tools/perf/util/probe-file.c
299
goto error;
tools/perf/util/probe-file.c
306
goto error;
tools/perf/util/probe-file.c
314
goto error;
tools/perf/util/probe-file.c
318
error:
tools/perf/util/probe-file.c
783
goto error;
tools/perf/util/probe-file.c
791
goto error;
tools/perf/util/probe-file.c
796
goto error;
tools/perf/util/probe-file.c
800
error:
tools/perf/util/probe-file.c
829
goto error;
tools/perf/util/probe-file.c
838
goto error;
tools/perf/util/probe-file.c
866
goto error;
tools/perf/util/probe-file.c
872
goto error;
tools/perf/util/probe-file.c
884
error:
tools/perf/util/probe-finder.c
1443
goto error;
tools/perf/util/probe-finder.c
1452
goto error;
tools/perf/util/probe-finder.c
1460
goto error;
tools/perf/util/probe-finder.c
1478
error:
tools/perf/util/python.c
2315
goto error;
tools/perf/util/python.c
2320
goto error;
tools/perf/util/python.c
2325
error:
tools/perf/util/scripting-engines/trace-event-perl.c
508
goto error;
tools/perf/util/scripting-engines/trace-event-perl.c
513
goto error;
tools/perf/util/scripting-engines/trace-event-perl.c
518
goto error;
tools/perf/util/scripting-engines/trace-event-perl.c
525
error:
tools/perf/util/scripting-engines/trace-event-python.c
1775
goto error;
tools/perf/util/scripting-engines/trace-event-python.c
1779
goto error;
tools/perf/util/scripting-engines/trace-event-python.c
1785
error:
tools/perf/util/scripting-engines/trace-event-python.c
1936
goto error;
tools/perf/util/scripting-engines/trace-event-python.c
1942
goto error;
tools/perf/util/scripting-engines/trace-event-python.c
1948
goto error;
tools/perf/util/scripting-engines/trace-event-python.c
1956
goto error;
tools/perf/util/scripting-engines/trace-event-python.c
1962
error:
tools/perf/util/session.c
2158
bool needs_swap, union perf_event *error)
tools/perf/util/session.c
2192
return error;
tools/perf/util/strfilter.c
107
goto error;
tools/perf/util/strfilter.c
116
goto error;
tools/perf/util/strfilter.c
124
goto error;
tools/perf/util/strfilter.c
129
goto error;
tools/perf/util/strfilter.c
134
goto error;
tools/perf/util/strfilter.c
145
goto error;
tools/perf/util/strfilter.c
150
error:
tools/perf/util/strfilter.c
191
goto error;
tools/perf/util/strfilter.c
196
goto error;
tools/perf/util/strfilter.c
202
error:
tools/perf/util/strfilter.c
98
goto error;
tools/perf/util/string.c
101
goto error;
tools/perf/util/string.c
105
error:
tools/perf/util/string.c
386
goto error;
tools/perf/util/string.c
400
error:
tools/perf/util/string.c
88
goto error;
tools/perf/util/string.c
94
goto error;
tools/perf/util/symbol-elf.c
915
int error = 0, fd;
tools/perf/util/symbol-elf.c
917
fd = filename__decompress(filename, path, sizeof(path), m.comp, &error);
tools/perf/util/symbol-elf.c
920
error, filename);
tools/perf/util/time-utils.c
481
goto error;
tools/perf/util/time-utils.c
514
error:
tools/perf/util/trace-event-info.c
524
goto error;
tools/perf/util/trace-event-info.c
530
error:
tools/perf/util/vdso.c
104
vdso_file->error = !vdso_file->found;
tools/perf/util/vdso.c
231
if (vdso_file->error)
tools/perf/util/vdso.c
238
vdso_file->error = true;
tools/perf/util/vdso.c
33
bool error;
tools/perf/util/vdso.c
82
if (vdso_file->error || find_map(&start, &end, VDSO__MAP_NAME))
tools/power/acpi/tools/ec/ec_access.c
178
int error;
tools/power/acpi/tools/ec/ec_access.c
180
error = lseek(fd, byte_offset, SEEK_SET);
tools/power/acpi/tools/ec/ec_access.c
181
if (error != byte_offset)
tools/power/acpi/tools/ec/ec_access.c
184
error = read(fd, &buf, 1);
tools/power/acpi/tools/ec/ec_access.c
185
if (error != 1)
tools/power/acpi/tools/ec/ec_access.c
194
int error;
tools/power/acpi/tools/ec/ec_access.c
196
error = lseek(fd, byte_offset, SEEK_SET);
tools/power/acpi/tools/ec/ec_access.c
197
if (error != byte_offset)
tools/power/acpi/tools/ec/ec_access.c
200
error = write(fd, &value, 1);
tools/power/acpi/tools/ec/ec_access.c
201
if (error != 1)
tools/power/x86/intel-speed-select/hfi-events.c
74
*ret = err->error;
tools/power/x86/intel-speed-select/isst-config.c
2799
goto error;
tools/power/x86/intel-speed-select/isst-config.c
2823
goto error;
tools/power/x86/intel-speed-select/isst-config.c
2828
goto error;
tools/power/x86/intel-speed-select/isst-config.c
2840
goto error;
tools/power/x86/intel-speed-select/isst-config.c
2860
error:
tools/power/x86/intel-speed-select/isst-display.c
747
void isst_display_error_info_message(int error, char *msg, int arg_valid, int arg)
tools/power/x86/intel-speed-select/isst-display.c
760
if (error)
tools/power/x86/intel-speed-select/isst-display.c
770
if (error)
tools/power/x86/intel-speed-select/isst.h
301
extern void isst_display_error_info_message(int error, char *msg, int arg_valid, int arg);
tools/power/x86/turbostat/turbostat.c
11363
goto error;
tools/power/x86/turbostat/turbostat.c
11369
goto error;
tools/power/x86/turbostat/turbostat.c
11374
goto error;
tools/power/x86/turbostat/turbostat.c
11384
goto error;
tools/power/x86/turbostat/turbostat.c
11388
error:
tools/power/x86/turbostat/turbostat.c
9686
goto error;
tools/power/x86/turbostat/turbostat.c
9690
goto error;
tools/power/x86/turbostat/turbostat.c
9694
goto error;
tools/power/x86/turbostat/turbostat.c
9697
error:
tools/power/x86/turbostat/turbostat.c
9709
goto error;
tools/power/x86/turbostat/turbostat.c
9716
goto error;
tools/power/x86/turbostat/turbostat.c
9723
goto error;
tools/power/x86/turbostat/turbostat.c
9729
error:
tools/testing/nvdimm/test/iomap.c
117
int error;
tools/testing/nvdimm/test/iomap.c
125
error = percpu_ref_init(&pgmap->ref, dev_pagemap_percpu_release, 0,
tools/testing/nvdimm/test/iomap.c
127
if (error)
tools/testing/nvdimm/test/iomap.c
128
return ERR_PTR(error);
tools/testing/nvdimm/test/iomap.c
130
error = devm_add_action_or_reset(dev, nfit_test_kill, pgmap);
tools/testing/nvdimm/test/iomap.c
131
if (error)
tools/testing/nvdimm/test/iomap.c
132
return ERR_PTR(error);
tools/testing/scatterlist/linux/mm.h
135
static inline void * __must_check ERR_PTR(long error)
tools/testing/scatterlist/linux/mm.h
137
return (void *) error;
tools/testing/selftests/arm64/abi/ptrace.c
188
goto error;
tools/testing/selftests/arm64/abi/ptrace.c
202
goto error;
tools/testing/selftests/arm64/abi/ptrace.c
217
goto error;
tools/testing/selftests/arm64/abi/ptrace.c
231
goto error;
tools/testing/selftests/arm64/abi/ptrace.c
243
error:
tools/testing/selftests/arm64/fp/sve-ptrace.c
135
goto error;
tools/testing/selftests/arm64/fp/sve-ptrace.c
147
goto error;
tools/testing/selftests/arm64/fp/sve-ptrace.c
159
error:
tools/testing/selftests/arm64/fp/sve-ptrace.c
757
goto error;
tools/testing/selftests/arm64/fp/sve-ptrace.c
771
goto error;
tools/testing/selftests/arm64/fp/sve-ptrace.c
786
goto error;
tools/testing/selftests/arm64/fp/sve-ptrace.c
800
goto error;
tools/testing/selftests/arm64/fp/sve-ptrace.c
892
error:
tools/testing/selftests/arm64/fp/vlset.c
123
goto error;
tools/testing/selftests/arm64/fp/vlset.c
138
goto error;
tools/testing/selftests/arm64/fp/vlset.c
145
goto error;
tools/testing/selftests/arm64/fp/vlset.c
159
error:
tools/testing/selftests/arm64/fp/vlset.c
60
default: goto error;
tools/testing/selftests/arm64/fp/vlset.c
64
goto error;
tools/testing/selftests/arm64/fp/vlset.c
69
goto error;
tools/testing/selftests/arm64/fp/vlset.c
80
goto error;
tools/testing/selftests/arm64/fp/vlset.c
88
goto error;
tools/testing/selftests/arm64/fp/vlset.c
92
error:
tools/testing/selftests/arm64/fp/za-ptrace.c
266
goto error;
tools/testing/selftests/arm64/fp/za-ptrace.c
280
goto error;
tools/testing/selftests/arm64/fp/za-ptrace.c
295
goto error;
tools/testing/selftests/arm64/fp/za-ptrace.c
309
goto error;
tools/testing/selftests/arm64/fp/za-ptrace.c
335
error:
tools/testing/selftests/arm64/fp/za-ptrace.c
73
goto error;
tools/testing/selftests/arm64/fp/za-ptrace.c
83
goto error;
tools/testing/selftests/arm64/fp/za-ptrace.c
94
error:
tools/testing/selftests/arm64/fp/zt-ptrace.c
270
goto error;
tools/testing/selftests/arm64/fp/zt-ptrace.c
284
goto error;
tools/testing/selftests/arm64/fp/zt-ptrace.c
299
goto error;
tools/testing/selftests/arm64/fp/zt-ptrace.c
313
goto error;
tools/testing/selftests/arm64/fp/zt-ptrace.c
325
error:
tools/testing/selftests/arm64/fp/zt-ptrace.c
68
goto error;
tools/testing/selftests/arm64/fp/zt-ptrace.c
78
goto error;
tools/testing/selftests/arm64/fp/zt-ptrace.c
89
error:
tools/testing/selftests/arm64/gcs/libc-gcs.c
179
goto error;
tools/testing/selftests/arm64/gcs/libc-gcs.c
193
goto error;
tools/testing/selftests/arm64/gcs/libc-gcs.c
210
goto error;
tools/testing/selftests/arm64/gcs/libc-gcs.c
225
goto error;
tools/testing/selftests/arm64/gcs/libc-gcs.c
236
goto error;
tools/testing/selftests/arm64/gcs/libc-gcs.c
243
goto error;
tools/testing/selftests/arm64/gcs/libc-gcs.c
296
error:
tools/testing/selftests/bpf/benchs/bench_bloom_filter_map.c
401
if (ctx.skel->bss->error != 0) {
tools/testing/selftests/bpf/benchs/bench_bloom_filter_map.c
403
ctx.skel->bss->error);
tools/testing/selftests/bpf/flow_dissector_load.c
100
error(1, 0, "must provide a section name");
tools/testing/selftests/bpf/flow_dissector_load.c
33
error(1, 0, "bpf_flow_load %s", cfg_path_name);
tools/testing/selftests/bpf/flow_dissector_load.c
37
error(1, 0, "bpf_prog_attach %s", cfg_path_name);
tools/testing/selftests/bpf/flow_dissector_load.c
41
error(1, 0, "bpf_object__pin %s", cfg_pin_path);
tools/testing/selftests/bpf/flow_dissector_load.c
51
error(1, 0, "bpf_prog_detach");
tools/testing/selftests/bpf/flow_dissector_load.c
57
error(1, errno, "%s", command);
tools/testing/selftests/bpf/flow_dissector_load.c
70
error(1, 0, "attach/detach are exclusive");
tools/testing/selftests/bpf/flow_dissector_load.c
75
error(1, 0, "attach/detach are exclusive");
tools/testing/selftests/bpf/flow_dissector_load.c
80
error(1, 0, "only one path can be given");
tools/testing/selftests/bpf/flow_dissector_load.c
86
error(1, 0, "only one prog can be given");
tools/testing/selftests/bpf/flow_dissector_load.c
97
error(1, 0, "must provide a path to the BPF program");
tools/testing/selftests/bpf/netlink_helpers.c
145
strerror(-err->error));
tools/testing/selftests/bpf/netlink_helpers.c
217
int error = err->error;
tools/testing/selftests/bpf/netlink_helpers.c
224
if (error) {
tools/testing/selftests/bpf/netlink_helpers.c
225
errno = -error;
tools/testing/selftests/bpf/netlink_helpers.c
234
if (error) {
tools/testing/selftests/bpf/network_helpers.c
1106
goto error;
tools/testing/selftests/bpf/network_helpers.c
1112
goto error;
tools/testing/selftests/bpf/network_helpers.c
1117
goto error;
tools/testing/selftests/bpf/network_helpers.c
1122
goto error;
tools/testing/selftests/bpf/network_helpers.c
1128
goto error;
tools/testing/selftests/bpf/network_helpers.c
1132
error:
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
104
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
106
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
108
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
112
error:
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
35
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
37
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
45
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
47
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
59
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
61
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
63
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
76
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
78
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
80
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
92
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
94
goto error;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
96
goto error;
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
104
ASSERT_EQ(skel->bss->error, 0, "error");
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
140
ASSERT_EQ(skel->bss->error, 0, "error");
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
172
goto error;
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
183
goto error;
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
187
goto error;
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
198
error:
tools/testing/selftests/bpf/prog_tests/fill_link_info.c
228
goto error;
tools/testing/selftests/bpf/prog_tests/fill_link_info.c
235
error:
tools/testing/selftests/bpf/prog_tests/map_init.c
50
goto error;
tools/testing/selftests/bpf/prog_tests/map_init.c
54
goto error;
tools/testing/selftests/bpf/prog_tests/map_init.c
58
goto error;
tools/testing/selftests/bpf/prog_tests/map_init.c
62
goto error;
tools/testing/selftests/bpf/prog_tests/map_init.c
72
error:
tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_nbd_invalid.c
10
char error[4096];
tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_nbd_invalid.c
24
.log_buf = error,
tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_nbd_invalid.c
25
.log_size = sizeof(error),
tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c
11
char error[4096];
tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c
23
.log_buf = error,
tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c
24
.log_size = sizeof(error),
tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c
40
.log_buf = error,
tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c
41
.log_size = sizeof(error),
tools/testing/selftests/bpf/prog_tests/sock_create.c
205
.error = DENY_CREATE,
tools/testing/selftests/bpf/prog_tests/sock_create.c
238
.error = DENY_CREATE,
tools/testing/selftests/bpf/prog_tests/sock_create.c
26
enum sock_create_test_error error;
tools/testing/selftests/bpf/prog_tests/sock_create.c
299
if (test->error == DENY_CREATE)
tools/testing/selftests/bpf/prog_tests/sock_create.c
321
ret = test->error != OK;
tools/testing/selftests/bpf/prog_tests/sock_iter_batch.c
235
goto error;
tools/testing/selftests/bpf/prog_tests/sock_iter_batch.c
241
goto error;
tools/testing/selftests/bpf/prog_tests/sock_iter_batch.c
246
goto error;
tools/testing/selftests/bpf/prog_tests/sock_iter_batch.c
252
error:
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
47
goto error;
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
52
goto error;
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
56
goto error;
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
61
goto error;
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
64
error:
tools/testing/selftests/bpf/prog_tests/sockopt.c
107
.error = EPERM_GETSOCKOPT,
tools/testing/selftests/bpf/prog_tests/sockopt.c
1084
if (test->error == DENY_LOAD)
tools/testing/selftests/bpf/prog_tests/sockopt.c
1098
if (test->error == DENY_ATTACH)
tools/testing/selftests/bpf/prog_tests/sockopt.c
1125
if (errno == EPERM && test->error == EPERM_SETSOCKOPT)
tools/testing/selftests/bpf/prog_tests/sockopt.c
1127
if (errno == EFAULT && test->error == EFAULT_SETSOCKOPT)
tools/testing/selftests/bpf/prog_tests/sockopt.c
1153
if (errno == EOPNOTSUPP && test->error == EOPNOTSUPP_GETSOCKOPT)
tools/testing/selftests/bpf/prog_tests/sockopt.c
1155
if (errno == EPERM && test->error == EPERM_GETSOCKOPT)
tools/testing/selftests/bpf/prog_tests/sockopt.c
1157
if (errno == EFAULT && test->error == EFAULT_GETSOCKOPT)
tools/testing/selftests/bpf/prog_tests/sockopt.c
1180
ret = test->error != OK;
tools/testing/selftests/bpf/prog_tests/sockopt.c
126
.error = DENY_LOAD,
tools/testing/selftests/bpf/prog_tests/sockopt.c
169
.error = DENY_LOAD,
tools/testing/selftests/bpf/prog_tests/sockopt.c
230
.error = DENY_LOAD,
tools/testing/selftests/bpf/prog_tests/sockopt.c
283
.error = EFAULT_GETSOCKOPT,
tools/testing/selftests/bpf/prog_tests/sockopt.c
326
.error = EOPNOTSUPP_GETSOCKOPT,
tools/testing/selftests/bpf/prog_tests/sockopt.c
364
.error = DENY_LOAD,
tools/testing/selftests/bpf/prog_tests/sockopt.c
378
.error = DENY_LOAD,
tools/testing/selftests/bpf/prog_tests/sockopt.c
42
enum sockopt_test_error error;
tools/testing/selftests/bpf/prog_tests/sockopt.c
432
.error = DENY_LOAD,
tools/testing/selftests/bpf/prog_tests/sockopt.c
444
.error = DENY_ATTACH,
tools/testing/selftests/bpf/prog_tests/sockopt.c
482
.error = EPERM_SETSOCKOPT,
tools/testing/selftests/bpf/prog_tests/sockopt.c
500
.error = DENY_LOAD,
tools/testing/selftests/bpf/prog_tests/sockopt.c
58
.error = DENY_LOAD,
tools/testing/selftests/bpf/prog_tests/sockopt.c
673
.error = EFAULT_SETSOCKOPT,
tools/testing/selftests/bpf/prog_tests/sockopt.c
691
.error = EFAULT_SETSOCKOPT,
tools/testing/selftests/bpf/prog_tests/sockopt.c
70
.error = DENY_ATTACH,
tools/testing/selftests/bpf/prog_tests/sockopt.c
792
.error = DENY_LOAD,
tools/testing/selftests/bpf/prog_tests/sockopt.c
808
.error = DENY_LOAD,
tools/testing/selftests/bpf/prog_tests/sockopt.c
822
.error = DENY_LOAD,
tools/testing/selftests/bpf/prog_tests/sockopt.c
836
.error = DENY_LOAD,
tools/testing/selftests/bpf/prog_tests/sockopt.c
930
.error = EPERM_SETSOCKOPT,
tools/testing/selftests/bpf/prog_tests/sockopt.c
946
.error = DENY_ATTACH,
tools/testing/selftests/bpf/prog_tests/sockopt.c
960
.error = DENY_ATTACH,
tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
109
goto error;
tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
145
error:
tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
99
goto error;
tools/testing/selftests/bpf/prog_tests/test_bpf_smc.c
191
if (!ASSERT_FALSE((err->error && err->error != -ENOENT),
tools/testing/selftests/bpf/prog_tests/test_bpf_smc.c
196
if (!ASSERT_OK(err->error, "ueid add"))
tools/testing/selftests/bpf/prog_tests/test_xsk.c
862
goto error;
tools/testing/selftests/bpf/prog_tests/test_xsk.c
867
goto error;
tools/testing/selftests/bpf/prog_tests/test_xsk.c
877
goto error;
tools/testing/selftests/bpf/prog_tests/test_xsk.c
882
error:
tools/testing/selftests/bpf/progs/bloom_filter_bench.c
134
error |= 2;
tools/testing/selftests/bpf/progs/bloom_filter_bench.c
61
int error = 0;
tools/testing/selftests/bpf/progs/bloom_filter_bench.c
82
error |= 1;
tools/testing/selftests/bpf/progs/bloom_filter_map.c
38
int error = 0;
tools/testing/selftests/bpf/progs/bloom_filter_map.c
48
error |= 1;
tools/testing/selftests/bpf/progs/bloom_filter_map.c
64
error |= 2;
tools/testing/selftests/bpf/progs/test_bpf_nf.c
109
test_einval_reserved = opts_def.error;
tools/testing/selftests/bpf/progs/test_bpf_nf.c
118
test_einval_netns_id = opts_def.error;
tools/testing/selftests/bpf/progs/test_bpf_nf.c
125
test_einval_len_opts = opts_def.error;
tools/testing/selftests/bpf/progs/test_bpf_nf.c
134
test_eproto_l4proto = opts_def.error;
tools/testing/selftests/bpf/progs/test_bpf_nf.c
143
test_enonet_netns_id = opts_def.error;
tools/testing/selftests/bpf/progs/test_bpf_nf.c
150
test_enoent_lookup = opts_def.error;
tools/testing/selftests/bpf/progs/test_bpf_nf.c
157
test_eafnosupport = opts_def.error;
tools/testing/selftests/bpf/progs/test_bpf_nf.c
233
test_exist_lookup = opts_def.error;
tools/testing/selftests/bpf/progs/test_bpf_nf.c
257
test_einval_reserved_new = opts_def.error;
tools/testing/selftests/bpf/progs/test_bpf_nf.c
305
test_ct_zone_dir_enoent_lookup = opts_def.error;
tools/testing/selftests/bpf/progs/test_bpf_nf.c
314
test_ct_zone_id_enoent_lookup = opts_def.error;
tools/testing/selftests/bpf/progs/test_bpf_nf.c
55
s32 error;
tools/testing/selftests/bpf/progs/test_bpf_nf.c
63
s32 error;
tools/testing/selftests/bpf/progs/test_bpf_nf_fail.c
13
s32 error;
tools/testing/selftests/bpf/progs/test_get_stack_rawtp_err.c
12
int error;
tools/testing/selftests/bpf/progs/test_get_stack_rawtp_err.c
15
error = bpf_get_stack(ctx, stack, 0, -1);
tools/testing/selftests/bpf/progs/test_get_stack_rawtp_err.c
16
if (error < 0)
tools/testing/selftests/bpf/progs/test_get_stack_rawtp_err.c
19
return error;
tools/testing/selftests/bpf/progs/test_get_stack_rawtp_err.c
22
error++;
tools/testing/selftests/bpf/progs/xdp_flowtable.c
15
s32 error;
tools/testing/selftests/bpf/progs/xdp_synproxy_kern.c
474
} else if (ct_lookup_opts.error != -ENOENT) {
tools/testing/selftests/bpf/progs/xdp_synproxy_kern.c
90
s32 error;
tools/testing/selftests/bpf/test_progs.c
1561
goto error;
tools/testing/selftests/bpf/test_progs.c
1563
goto error;
tools/testing/selftests/bpf/test_progs.c
1577
goto error;
tools/testing/selftests/bpf/test_progs.c
1585
goto error;
tools/testing/selftests/bpf/test_progs.c
1592
error:
tools/testing/selftests/bpf/test_sockmap.c
205
int error = env.fail_cnt - env.fail_last;
tools/testing/selftests/bpf/test_sockmap.c
208
if (!error)
tools/testing/selftests/bpf/test_sockmap.c
215
env.subtest, error ? "FAIL" : "OK");
tools/testing/selftests/bpf/test_tcpnotify_user.c
161
error = 0;
tools/testing/selftests/bpf/test_tcpnotify_user.c
167
return error;
tools/testing/selftests/bpf/test_tcpnotify_user.c
76
int error = EXIT_FAILURE;
tools/testing/selftests/bpf/test_tcpnotify_user.c
95
error, strerror(errno));
tools/testing/selftests/bpf/trace_helpers.c
101
error:
tools/testing/selftests/bpf/trace_helpers.c
644
goto error;
tools/testing/selftests/bpf/trace_helpers.c
660
goto error;
tools/testing/selftests/bpf/trace_helpers.c
670
goto error;
tools/testing/selftests/bpf/trace_helpers.c
675
goto error;
tools/testing/selftests/bpf/trace_helpers.c
684
error:
tools/testing/selftests/bpf/trace_helpers.c
721
goto error;
tools/testing/selftests/bpf/trace_helpers.c
739
goto error;
tools/testing/selftests/bpf/trace_helpers.c
750
error:
tools/testing/selftests/bpf/trace_helpers.c
92
goto error;
tools/testing/selftests/bpf/trace_helpers.c
95
goto error;
tools/testing/selftests/bpf/uprobe_multi.c
122
goto error;
tools/testing/selftests/bpf/uprobe_multi.c
133
error:
tools/testing/selftests/bpf/xdp_hw_metadata.c
194
error(res, errno, "Error with clock_gettime()");
tools/testing/selftests/bpf/xdp_hw_metadata.c
279
error(1, errno, "recvmsg");
tools/testing/selftests/bpf/xdp_hw_metadata.c
558
error(1, errno, "socket");
tools/testing/selftests/bpf/xdp_hw_metadata.c
562
error(1, errno, "ioctl(SIOCETHTOOL)");
tools/testing/selftests/bpf/xdp_hw_metadata.c
579
error(1, errno, "socket");
tools/testing/selftests/bpf/xdp_hw_metadata.c
583
error(1, errno, "ioctl(%d)", op);
tools/testing/selftests/bpf/xdp_hw_metadata.c
646
error(1, errno, "setsockopt(SO_TIMESTAMPING)");
tools/testing/selftests/bpf/xdp_hw_metadata.c
699
error(-1, opterr, "Command line options error");
tools/testing/selftests/bpf/xdp_hw_metadata.c
713
error(-1, errno, "Invalid interface name");
tools/testing/selftests/bpf/xdp_hw_metadata.c
756
error(1, 0, "Invalid launch_time_queue.");
tools/testing/selftests/bpf/xdp_hw_metadata.c
830
error(1, ENOMEM, "malloc");
tools/testing/selftests/bpf/xdp_hw_metadata.c
836
error(1, -ret, "open_xsk");
tools/testing/selftests/bpf/xdp_hw_metadata.c
844
error(1, libbpf_get_error(bpf_obj), "xdp_hw_metadata__open");
tools/testing/selftests/bpf/xdp_hw_metadata.c
853
error(1, -ret, "xdp_hw_metadata__load");
tools/testing/selftests/bpf/xdp_hw_metadata.c
858
error(1, errno, "start_server");
tools/testing/selftests/bpf/xdp_hw_metadata.c
871
error(1, -ret, "bpf_map_update_elem");
tools/testing/selftests/bpf/xdp_hw_metadata.c
879
error(1, -ret, "bpf_xdp_attach");
tools/testing/selftests/bpf/xdp_hw_metadata.c
886
error(1, -ret, "verify_metadata");
tools/testing/selftests/bpf/xsk.c
375
if (!err->error)
tools/testing/selftests/bpf/xsk.c
377
ret = err->error;
tools/testing/selftests/bpf/xskxceiver.c
110
static void __exit_with_error(int error, const char *file, const char *func, int line)
tools/testing/selftests/bpf/xskxceiver.c
113
error, strerror(error));
tools/testing/selftests/bpf/xskxceiver.c
117
#define exit_with_error(error) __exit_with_error(error, __FILE__, __func__, __LINE__)
tools/testing/selftests/drivers/net/gro.c
1052
error(1, 0, "incorrect number of packets");
tools/testing/selftests/drivers/net/gro.c
1054
error(1, 0, "incorrect packet geometry");
tools/testing/selftests/drivers/net/gro.c
1068
error(1, errno, "socket creation");
tools/testing/selftests/drivers/net/gro.c
1073
error(1, errno, "if_nametoindex");
tools/testing/selftests/drivers/net/gro.c
1203
error(1, 0, "Unknown testcase: %s", testname);
tools/testing/selftests/drivers/net/gro.c
1207
error(1, errno, "socket close");
tools/testing/selftests/drivers/net/gro.c
1217
error(1, 0, "socket creation");
tools/testing/selftests/drivers/net/gro.c
1398
error(1, 0, "Test case error: unknown testname %s", testname);
tools/testing/selftests/drivers/net/gro.c
1402
error(1, 0, "socket close");
tools/testing/selftests/drivers/net/gro.c
1463
error(1, 0, "%s invalid option %c\n", __func__, c);
tools/testing/selftests/drivers/net/gro.c
1483
error(1, 0, "Protocol family is not ipv4 or ipv6");
tools/testing/selftests/drivers/net/gro.c
199
error(1, errno, "error setting filter");
tools/testing/selftests/drivers/net/gro.c
240
error(1, errno, "inet_pton6 source ip pseudo");
tools/testing/selftests/drivers/net/gro.c
242
error(1, errno, "inet_pton6 dest ip pseudo");
tools/testing/selftests/drivers/net/gro.c
249
error(1, errno, "inet_pton source ip pseudo");
tools/testing/selftests/drivers/net/gro.c
251
error(1, errno, "inet_pton dest ip pseudo");
tools/testing/selftests/drivers/net/gro.c
266
error(1, 0, "sscanf");
tools/testing/selftests/drivers/net/gro.c
291
error(1, errno, "inet_pton source ip6");
tools/testing/selftests/drivers/net/gro.c
293
error(1, errno, "inet_pton dest ip6");
tools/testing/selftests/drivers/net/gro.c
305
error(1, errno, "inet_pton source ip");
tools/testing/selftests/drivers/net/gro.c
307
error(1, errno, "inet_pton dest ip");
tools/testing/selftests/drivers/net/gro.c
337
error(1, errno, "sendto failure");
tools/testing/selftests/drivers/net/gro.c
339
error(1, errno, "sendto wrong length");
tools/testing/selftests/drivers/net/gro.c
530
error(1, 0, "unimplemented TCP option");
tools/testing/selftests/drivers/net/gro.c
562
error(1, 0, "unknown order");
tools/testing/selftests/drivers/net/gro.c
661
error(1, 0, "ipv4 timestamp length is not a multiple of 4B");
tools/testing/selftests/drivers/net/gro.c
958
error(1, errno, "if_nametoindex");
tools/testing/selftests/drivers/net/gro.c
961
error(1, errno, "could not bind socket");
tools/testing/selftests/drivers/net/gro.c
972
error(1, errno, "cannot set timeout, setsockopt failed");
tools/testing/selftests/drivers/net/gro.c
980
error(1, errno, "cannot set rcvbuf size, setsockopt failed");
tools/testing/selftests/drivers/net/gro.c
990
error(1, errno, "can't get stats");
tools/testing/selftests/drivers/net/gro.c
994
error(1, rcv_errno, "could not receive");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
149
error(1, 0, "bad interface name: %s", cfg_ifname);
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
171
error(1, 0, "mmap(): zero copy area");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
209
error(1, 0, "io_uring_register_ifq(): %d", ret);
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
256
error(1, 0, "accept()");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
258
error(1, 0, "Unexpected second connection");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
284
error(1, 0, "recvzc(): %d", cqe->res);
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
303
error(1, 0, "payload mismatch at %d", i);
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
328
error(1, 0, "unknown cqe");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
343
error(1, 0, "socket()");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
348
error(1, 0, "setsockopt(SO_REUSEADDR)");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
352
error(1, 0, "bind()");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
355
error(1, 0, "listen()");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
376
error(1, 0, "test failed\n");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
388
error(1, 0, "socket()");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
391
error(1, 0, "connect()");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
399
error(1, 0, "send(): %zd", sent);
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
409
error(1, 0, "Usage: %s (-4|-6) (-s|-c) -h<server_ip> -p<port> "
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
432
error(1, 0, "Pass one of -s or -c");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
437
error(1, 0, "Pass one of -s or -c");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
473
error(1, 0, "Receiver cannot have -h specified");
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
482
error(1, 0, "receiver address parse error: %s", addr);
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
486
error(1, 0, "-l: payload exceeds max (%d)", max_payload_len);
tools/testing/selftests/drivers/net/hw/toeplitz.c
174
error(1, 0, "address parse error");
tools/testing/selftests/drivers/net/hw/toeplitz.c
303
error(1, errno, "setsockopt PACKET_RX_RING");
tools/testing/selftests/drivers/net/hw/toeplitz.c
312
error(1, 0, "mmap failed");
tools/testing/selftests/drivers/net/hw/toeplitz.c
334
error(1, errno, "setsockopt filter");
tools/testing/selftests/drivers/net/hw/toeplitz.c
363
error(1, errno, "setsockopt filter");
tools/testing/selftests/drivers/net/hw/toeplitz.c
378
error(1, errno, "socket creation failed");
tools/testing/selftests/drivers/net/hw/toeplitz.c
382
error(1, errno, "setsockopt PACKET_VERSION");
tools/testing/selftests/drivers/net/hw/toeplitz.c
395
error(1, errno, "bind");
tools/testing/selftests/drivers/net/hw/toeplitz.c
407
error(1, errno, "setsockopt PACKET_FANOUT cpu");
tools/testing/selftests/drivers/net/hw/toeplitz.c
420
error(1, errno, "socket %d.%d", cfg_family, cfg_type);
tools/testing/selftests/drivers/net/hw/toeplitz.c
424
error(1, errno, "setsockopt rcvbuf");
tools/testing/selftests/drivers/net/hw/toeplitz.c
449
error(1, errno, "munmap");
tools/testing/selftests/drivers/net/hw/toeplitz.c
451
error(1, errno, "close");
tools/testing/selftests/drivers/net/hw/toeplitz.c
489
error(1, 0, "invalid toeplitz key");
tools/testing/selftests/drivers/net/hw/toeplitz.c
494
error(1, 0, "key parse error at %d off %d len %d",
tools/testing/selftests/drivers/net/hw/toeplitz.c
507
error(1, 0, "rps bitmap 0x%lx out of bounds, max cpu %lu",
tools/testing/selftests/drivers/net/hw/toeplitz.c
523
error(1, errno, "ynl_sock_create failed");
tools/testing/selftests/drivers/net/hw/toeplitz.c
527
error(1, errno, "ethtool_rss_get_req_alloc failed");
tools/testing/selftests/drivers/net/hw/toeplitz.c
533
error(1, ys->err.code, "YNL: %s", ys->err.msg);
tools/testing/selftests/drivers/net/hw/toeplitz.c
536
error(1, 0, "RSS key not available for %s", cfg_ifname);
tools/testing/selftests/drivers/net/hw/toeplitz.c
540
error(1, 0, "RSS key length %u out of bounds [%u, %u]",
tools/testing/selftests/drivers/net/hw/toeplitz.c
547
error(1, 0, "RSS indirection table too large (%u > %u)",
tools/testing/selftests/drivers/net/hw/toeplitz.c
627
error(1, 0, "unknown option %c", optopt);
tools/testing/selftests/drivers/net/hw/toeplitz.c
637
error(1, 0, "increase RSS_MAX_CPUS");
tools/testing/selftests/drivers/net/hw/toeplitz.c
640
error(1, 0,
tools/testing/selftests/drivers/net/hw/toeplitz.c
667
error(1, errno, "close sink");
tools/testing/selftests/drivers/net/hw/toeplitz.c
670
error(1, 0, "too few frames for verification");
tools/testing/selftests/efivarfs/open-unlink.c
18
int error;
tools/testing/selftests/efivarfs/open-unlink.c
26
error = errno;
tools/testing/selftests/efivarfs/open-unlink.c
28
errno = error;
tools/testing/selftests/efivarfs/open-unlink.c
38
error = errno;
tools/testing/selftests/efivarfs/open-unlink.c
40
errno = error;
tools/testing/selftests/efivarfs/open-unlink.c
49
int error;
tools/testing/selftests/efivarfs/open-unlink.c
57
error = errno;
tools/testing/selftests/efivarfs/open-unlink.c
59
errno = error;
tools/testing/selftests/exec/check-exec.c
329
const int error;
tools/testing/selftests/exec/check-exec.c
336
.error = 0,
tools/testing/selftests/exec/check-exec.c
343
.error = EPERM,
tools/testing/selftests/exec/check-exec.c
362
EXPECT_EQ(variant->error, test_secbits_set(0));
tools/testing/selftests/exec/check-exec.c
405
EXPECT_EQ(variant->error, test_secbits_set(secbits));
tools/testing/selftests/exec/check-exec.c
406
CHILD(EXPECT_EQ(variant->error, test_secbits_set(secbits)));
tools/testing/selftests/exec/check-exec.c
421
EXPECT_EQ(variant->error, test_secbits_set(secbits));
tools/testing/selftests/exec/check-exec.c
422
CHILD(EXPECT_EQ(variant->error, test_secbits_set(secbits)));
tools/testing/selftests/exec/check-exec.c
439
EXPECT_EQ(variant->error, test_secbits_set(secbits));
tools/testing/selftests/exec/check-exec.c
440
CHILD(EXPECT_EQ(variant->error, test_secbits_set(secbits)));
tools/testing/selftests/exec/check-exec.c
455
EXPECT_EQ(variant->error, test_secbits_set(secbits));
tools/testing/selftests/exec/check-exec.c
456
CHILD(EXPECT_EQ(variant->error, test_secbits_set(secbits)));
tools/testing/selftests/filesystems/eventfd/eventfd_test.c
115
static int verify_fdinfo(int fd, struct error *err, const char *prefix,
tools/testing/selftests/filesystems/eventfd/eventfd_test.c
168
struct error err = {0};
tools/testing/selftests/filesystems/eventfd/eventfd_test.c
23
static int error_set(struct error *err, int code, const char *fmt, ...)
tools/testing/selftests/kvm/include/riscv/sbi.h
79
long error;
tools/testing/selftests/kvm/include/x86/sev.h
93
r ?: sev_cmd.c.error; \
tools/testing/selftests/kvm/lib/kvm_util.c
35
goto error;
tools/testing/selftests/kvm/lib/kvm_util.c
39
error:
tools/testing/selftests/kvm/lib/riscv/processor.c
498
ret.error = a0;
tools/testing/selftests/kvm/lib/riscv/processor.c
511
__GUEST_ASSERT(!ret.error || ret.error == SBI_ERR_NOT_SUPPORTED,
tools/testing/selftests/kvm/lib/riscv/processor.c
512
"ret.error=%ld, ret.value=%ld\n", ret.error, ret.value);
tools/testing/selftests/kvm/lib/riscv/processor.c
514
if (ret.error == SBI_ERR_NOT_SUPPORTED)
tools/testing/selftests/kvm/lib/riscv/processor.c
530
GUEST_ASSERT(!ret.error);
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
106
__GUEST_ASSERT(ret.error == 0, "Unable to start counter %ld\n", counter);
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
116
__GUEST_ASSERT(ret.error == SBI_ERR_ALREADY_STOPPED,
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
126
__GUEST_ASSERT(ret.error == 0 || ret.error == SBI_ERR_ALREADY_STOPPED,
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
127
"Unable to stop counter %ld error %ld\n", counter, ret.error);
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
187
__GUEST_ASSERT(ret.error == 0, "config matching failed %ld\n", ret.error);
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
200
__GUEST_ASSERT(ret.error == 0, "Unable to retrieve number of counters from SBI PMU");
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
216
if (ret.error)
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
232
GUEST_ASSERT(ret.error == 0);
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
273
GUEST_ASSERT(ret.value == 0 && ret.error == 0);
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
411
GUEST_ASSERT_EQ(ret.error, SBI_ERR_NOT_SUPPORTED);
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
450
if (ret.error)
tools/testing/selftests/kvm/steal_time.c
233
GUEST_ASSERT(ret.value == 0 && ret.error == 0);
tools/testing/selftests/kvm/x86/sev_init2_tests.c
43
TEST_ASSERT(ret < 0 || cmd.error == SEV_RET_SUCCESS,
tools/testing/selftests/kvm/x86/sev_init2_tests.c
45
cmd_id, cmd.error);
tools/testing/selftests/kvm/x86/userspace_msr_exit_test.c
410
run->msr.error = 1;
tools/testing/selftests/kvm/x86/userspace_msr_exit_test.c
440
run->msr.error = 1;
tools/testing/selftests/kvm/x86/userspace_msr_exit_test.c
444
run->msr.error = 1;
tools/testing/selftests/landlock/audit.h
106
return msg->err.error;
tools/testing/selftests/landlock/audit.h
138
return reply->err.error;
tools/testing/selftests/mm/mremap_test.c
220
goto error;
tools/testing/selftests/mm/mremap_test.c
237
goto error;
tools/testing/selftests/mm/mremap_test.c
240
error:
tools/testing/selftests/mm/uffd-unit-tests.c
1239
uffdio_verify_results(const char *name, int ret, int error, long result)
tools/testing/selftests/mm/uffd-unit-tests.c
1251
if (error != EAGAIN) {
tools/testing/selftests/mqueue/mq_open_tests.c
114
error(exit_val, errno, "%s at %d", err_cause, line_no);
tools/testing/selftests/mqueue/mq_perf_tests.c
208
error(exit_val, errno_at_shutdown, "%s at %d",
tools/testing/selftests/nci/nci_dev.c
103
goto error;
tools/testing/selftests/nci/nci_dev.c
106
error:
tools/testing/selftests/nci/nci_dev.c
258
goto error;
tools/testing/selftests/nci/nci_dev.c
264
goto error;
tools/testing/selftests/nci/nci_dev.c
270
goto error;
tools/testing/selftests/nci/nci_dev.c
274
error:
tools/testing/selftests/nci/nci_dev.c
331
goto error;
tools/testing/selftests/nci/nci_dev.c
333
goto error;
tools/testing/selftests/nci/nci_dev.c
335
goto error;
tools/testing/selftests/nci/nci_dev.c
340
goto error;
tools/testing/selftests/nci/nci_dev.c
342
goto error;
tools/testing/selftests/nci/nci_dev.c
344
goto error;
tools/testing/selftests/nci/nci_dev.c
349
goto error;
tools/testing/selftests/nci/nci_dev.c
351
goto error;
tools/testing/selftests/nci/nci_dev.c
353
goto error;
tools/testing/selftests/nci/nci_dev.c
357
error:
tools/testing/selftests/nci/nci_dev.c
371
goto error;
tools/testing/selftests/nci/nci_dev.c
373
goto error;
tools/testing/selftests/nci/nci_dev.c
375
goto error;
tools/testing/selftests/nci/nci_dev.c
381
goto error;
tools/testing/selftests/nci/nci_dev.c
383
goto error;
tools/testing/selftests/nci/nci_dev.c
385
goto error;
tools/testing/selftests/nci/nci_dev.c
390
goto error;
tools/testing/selftests/nci/nci_dev.c
392
goto error;
tools/testing/selftests/nci/nci_dev.c
394
goto error;
tools/testing/selftests/nci/nci_dev.c
398
error:
tools/testing/selftests/nci/nci_dev.c
462
goto error;
tools/testing/selftests/nci/nci_dev.c
464
goto error;
tools/testing/selftests/nci/nci_dev.c
466
goto error;
tools/testing/selftests/nci/nci_dev.c
470
error:
tools/testing/selftests/nci/nci_dev.c
484
goto error;
tools/testing/selftests/nci/nci_dev.c
486
goto error;
tools/testing/selftests/nci/nci_dev.c
488
goto error;
tools/testing/selftests/nci/nci_dev.c
493
error:
tools/testing/selftests/nci/nci_dev.c
547
goto error;
tools/testing/selftests/nci/nci_dev.c
549
goto error;
tools/testing/selftests/nci/nci_dev.c
551
goto error;
tools/testing/selftests/nci/nci_dev.c
555
error:
tools/testing/selftests/nci/nci_dev.c
569
goto error;
tools/testing/selftests/nci/nci_dev.c
571
goto error;
tools/testing/selftests/nci/nci_dev.c
573
goto error;
tools/testing/selftests/nci/nci_dev.c
577
error:
tools/testing/selftests/net/busy_poller.c
102
error(1, ERANGE, "busy_poll_usecs too large");
tools/testing/selftests/net/busy_poller.c
108
error(1, ERANGE,
tools/testing/selftests/net/busy_poller.c
115
error(1, ERANGE,
tools/testing/selftests/net/busy_poller.c
122
error(1, ERANGE, "port must be <= 65535");
tools/testing/selftests/net/busy_poller.c
129
error(1, errno,
tools/testing/selftests/net/busy_poller.c
135
error(1, 0, "outfile invalid");
tools/testing/selftests/net/busy_poller.c
139
error(1, ERANGE,
tools/testing/selftests/net/busy_poller.c
146
error(1, ERANGE,
tools/testing/selftests/net/busy_poller.c
153
error(1, ERANGE,
tools/testing/selftests/net/busy_poller.c
160
error(1, ERANGE,
tools/testing/selftests/net/busy_poller.c
167
error(1, ERANGE,
tools/testing/selftests/net/busy_poller.c
174
error(1, ERANGE, "napi threaded poll value must be 0-2");
tools/testing/selftests/net/busy_poller.c
195
error(1, errno, "epoll_ctl add fd: %d", fd);
tools/testing/selftests/net/busy_poller.c
205
error(1, errno, "unable to set socket to nonblocking mode");
tools/testing/selftests/net/busy_poller.c
218
error(1, errno, "unable to write data to outfile");
tools/testing/selftests/net/busy_poller.c
237
error(1, 0, "YNL: %s", yerr.msg);
tools/testing/selftests/net/busy_poller.c
247
error(1, 0, "napi ID not present?");
tools/testing/selftests/net/busy_poller.c
261
error(1, 0, "can't set NAPI params: %s\n", yerr.msg);
tools/testing/selftests/net/busy_poller.c
284
error(1, errno, "unable to open outfile: %s", cfg_outfile);
tools/testing/selftests/net/busy_poller.c
288
error(1, errno, "unable to create listen socket");
tools/testing/selftests/net/busy_poller.c
304
error(1, errno, "poller setsockopt reuseaddr");
tools/testing/selftests/net/busy_poller.c
310
error(0, errno, "poller bind to port: %d\n", cfg_port);
tools/testing/selftests/net/busy_poller.c
313
error(1, errno, "poller listen");
tools/testing/selftests/net/busy_poller.c
317
error(1, errno, "unable to set busy poll params");
tools/testing/selftests/net/busy_poller.c
327
error(1, errno,
tools/testing/selftests/net/busy_poller.c
76
error(1, 0,
tools/testing/selftests/net/cmsg_sender.c
249
error(ERN_CMSG_WR, EFAULT, "cmsg buffer too small");
tools/testing/selftests/net/cmsg_sender.c
295
error(ERN_CMSG_WR, EFAULT, "cmsg buffer too small");
tools/testing/selftests/net/cmsg_sender.c
306
error(ERN_CMSG_WR, EFAULT, "cmsg buffer too small");
tools/testing/selftests/net/cmsg_sender.c
318
error(ERN_CMSG_WR, EFAULT, "cmsg buffer too small");
tools/testing/selftests/net/cmsg_sender.c
368
error(ERN_RECVERR, errno, "recvmsg ERRQ");
tools/testing/selftests/net/cmsg_sender.c
376
error(ERN_CMSG_RD, EINVAL, "TS cmsg");
tools/testing/selftests/net/cmsg_sender.c
385
error(ERN_CMSG_RD, EINVAL, "sock_err cmsg");
tools/testing/selftests/net/cmsg_sender.c
392
error(ERN_CMSG_RCV, ENOENT, "TS cmsg not found");
tools/testing/selftests/net/cmsg_sender.c
394
error(ERN_CMSG_RCV, ENOENT, "sock_err cmsg not found");
tools/testing/selftests/net/cmsg_sender.c
421
error(ERN_SOCKOPT, errno, "setsockopt SO_MARK");
tools/testing/selftests/net/cmsg_sender.c
425
error(ERN_SOCKOPT, errno, "setsockopt SO_PRIORITY");
tools/testing/selftests/net/cmsg_sender.c
431
error(ERN_SOCKOPT, errno, "setsockopt IP_TOS");
tools/testing/selftests/net/cmsg_sender.c
435
error(ERN_SOCKOPT, errno, "setsockopt IP_TTL");
tools/testing/selftests/net/cmsg_sender.c
440
error(ERN_SOCKOPT, errno, "setsockopt IPV6_DONTFRAG");
tools/testing/selftests/net/cmsg_sender.c
444
error(ERN_SOCKOPT, errno, "setsockopt IPV6_TCLASS");
tools/testing/selftests/net/cmsg_sender.c
448
error(ERN_SOCKOPT, errno, "setsockopt IPV6_HOPLIMIT");
tools/testing/selftests/net/cmsg_sender.c
458
error(ERN_SOCKOPT, errno, "setsockopt TXTIME");
tools/testing/selftests/net/cmsg_sender.c
466
error(ERN_SOCKOPT, errno, "setsockopt TIMESTAMPING");
tools/testing/selftests/net/cmsg_sender.c
525
error(ERN_GETTIME, errno, "gettime REALTIME");
tools/testing/selftests/net/cmsg_sender.c
527
error(ERN_GETTIME, errno, "gettime MONOTONIC");
tools/testing/selftests/net/fin_ack_lat.c
119
error(-1, errno, "signal");
tools/testing/selftests/net/fin_ack_lat.c
123
error(-1, errno, "socket");
tools/testing/selftests/net/fin_ack_lat.c
127
error(-1, errno, "setsockopt");
tools/testing/selftests/net/fin_ack_lat.c
135
error(-1, errno, "bind");
tools/testing/selftests/net/fin_ack_lat.c
138
error(-1, errno, "listen");
tools/testing/selftests/net/fin_ack_lat.c
141
error(-1, errno, "getsockname");
tools/testing/selftests/net/fin_ack_lat.c
44
error(-1, errno, "socket creation");
tools/testing/selftests/net/fin_ack_lat.c
49
error(-1, errno, "setsockopt(linger)");
tools/testing/selftests/net/fin_ack_lat.c
53
error(-1, errno, "setsockopt(nodelay)");
tools/testing/selftests/net/fin_ack_lat.c
59
error(-1, errno, "inet_pton");
tools/testing/selftests/net/fin_ack_lat.c
62
error(-1, errno, "connect");
tools/testing/selftests/net/fin_ack_lat.c
66
error(-1, errno, "waiting read");
tools/testing/selftests/net/fin_ack_lat.c
76
error(-1, errno, "getsockname");
tools/testing/selftests/net/fin_ack_lat.c
96
error(-1, errno, "accept");
tools/testing/selftests/net/fin_ack_lat.c
99
error(-1, errno, "read");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
109
error(1, -ret, "io_uring: queue init");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
116
error(1, -ret, "io_uring: buffer registration");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
152
error(1, -ret, "submit");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
159
error(1, -ret, "wait cqe");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
163
error(1, EINVAL, "invalid cqe->user_data");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
167
error(1, EINVAL, "invalid notif flags");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
169
error(1, EINVAL, "notification mismatch");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
177
error(1, -cqe->res, "unexpected F_MORE");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
184
error(1, -cqe->res, "send failed");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
193
error(1, -ret, "wait cqe");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
195
error(1, EINVAL, "invalid notif flags");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
197
error(1, EINVAL, "missing notif flag");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
209
error(1, errno, "close");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
223
error(1, 0, "Usage: %s (-4|-6) (udp|tcp) -D<dst_ip> [-s<payload size>] "
tools/testing/selftests/net/io_uring_zerocopy_tx.c
246
error(1, 0, "Pass one of -4 or -6");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
252
error(1, 0, "Pass one of -4 or -6");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
287
error(1, 0, "ipv4 parse error: %s", daddr);
tools/testing/selftests/net/io_uring_zerocopy_tx.c
295
error(1, 0, "ipv6 parse error: %s", daddr);
tools/testing/selftests/net/io_uring_zerocopy_tx.c
298
error(1, 0, "illegal domain");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
302
error(1, 0, "-s: payload exceeds max (%d)", max_payload_len);
tools/testing/selftests/net/io_uring_zerocopy_tx.c
318
error(1, 0, "unknown cfg_test %s", cfg_test);
tools/testing/selftests/net/io_uring_zerocopy_tx.c
76
error(1, errno, "setsockopt %d.%d: %d", level, optname, val);
tools/testing/selftests/net/io_uring_zerocopy_tx.c
85
error(1, errno, "socket t");
tools/testing/selftests/net/io_uring_zerocopy_tx.c
90
error(1, errno, "connect");
tools/testing/selftests/net/ip_defrag.c
196
error(1, errno, "send_fragment");
tools/testing/selftests/net/ip_defrag.c
198
error(1, 0, "send_fragment: %d vs %d", res, frag_len);
tools/testing/selftests/net/ip_defrag.c
317
error(1, errno, "sendto overlap: %d", frag_len);
tools/testing/selftests/net/ip_defrag.c
319
error(1, 0, "sendto overlap: %d vs %d", (int)res, frag_len);
tools/testing/selftests/net/ip_defrag.c
352
error(1, errno, "socket tx_raw");
tools/testing/selftests/net/ip_defrag.c
356
error(1, errno, "socket rx_udp");
tools/testing/selftests/net/ip_defrag.c
358
error(1, errno, "bind");
tools/testing/selftests/net/ip_defrag.c
361
error(1, errno, "setsockopt rcv timeout");
tools/testing/selftests/net/ip_defrag.c
397
error(1, errno, "close tx_raw");
tools/testing/selftests/net/ip_defrag.c
399
error(1, errno, "close rx_udp");
tools/testing/selftests/net/ip_defrag.c
453
error(1, 0, "%s: parse error", argv[0]);
tools/testing/selftests/net/ip_defrag.c
67
error(1, 0, "recv: expected timeout; got %d",
tools/testing/selftests/net/ip_defrag.c
69
error(1, errno, "recv: expected timeout: %d", errno);
tools/testing/selftests/net/ip_defrag.c
74
error(1, errno, "recv: payload_len = %d max_frag_len = %d",
tools/testing/selftests/net/ip_defrag.c
77
error(1, 0, "recv: wrong size: %d vs %d", (int)ret, payload_len);
tools/testing/selftests/net/ip_defrag.c
79
error(1, 0, "recv: wrong data");
tools/testing/selftests/net/ipsec.c
1023
int error;
tools/testing/selftests/net/ipsec.c
1060
answer.error, strerror(-answer.error));
tools/testing/selftests/net/ipsec.c
1292
int error;
tools/testing/selftests/net/ipsec.c
1329
printk("NLMSG_ERROR: %d: %s", answer.error, strerror(-answer.error));
tools/testing/selftests/net/ipsec.c
1330
return (answer.error) ? KSFT_FAIL : KSFT_PASS;
tools/testing/selftests/net/ipsec.c
1378
int error;
tools/testing/selftests/net/ipsec.c
1418
if (req.error) {
tools/testing/selftests/net/ipsec.c
1419
printk("NLMSG_ERROR: %d: %s", req.error, strerror(-req.error));
tools/testing/selftests/net/ipsec.c
1420
ret = req.error;
tools/testing/selftests/net/ipsec.c
1449
int error;
tools/testing/selftests/net/ipsec.c
1492
if (req.error) {
tools/testing/selftests/net/ipsec.c
1493
printk("NLMSG_ERROR: %d: %s", req.error, strerror(-req.error));
tools/testing/selftests/net/ipsec.c
1494
ret = req.error;
tools/testing/selftests/net/ipsec.c
1521
int error;
tools/testing/selftests/net/ipsec.c
1570
if (req.error) {
tools/testing/selftests/net/ipsec.c
1571
printk("NLMSG_ERROR: %d: %s", req.error, strerror(-req.error));
tools/testing/selftests/net/ipsec.c
1572
ret = req.error;
tools/testing/selftests/net/ipsec.c
1602
int error;
tools/testing/selftests/net/ipsec.c
1645
if (req.error) {
tools/testing/selftests/net/ipsec.c
1646
printk("NLMSG_ERROR: %d: %s", req.error, strerror(-req.error));
tools/testing/selftests/net/ipsec.c
1659
int error;
tools/testing/selftests/net/ipsec.c
1718
printk("NLMSG_ERROR: %d: %s", req.error, strerror(-req.error));
tools/testing/selftests/net/ipsec.c
293
int error;
tools/testing/selftests/net/ipsec.c
303
} else if (answer.error) {
tools/testing/selftests/net/ipsec.c
305
answer.error, strerror(-answer.error));
tools/testing/selftests/net/ipsec.c
306
return answer.error;
tools/testing/selftests/net/ipv6_flowlabel.c
119
error(1, errno, "recv");
tools/testing/selftests/net/ipv6_flowlabel.c
123
error(1, 0, "recv: truncated");
tools/testing/selftests/net/ipv6_flowlabel.c
125
error(1, 0, "recv: length mismatch");
tools/testing/selftests/net/ipv6_flowlabel.c
127
error(1, 0, "recv: data mismatch");
tools/testing/selftests/net/ipv6_flowlabel.c
133
error(1, 0, "recv: missing cmsg");
tools/testing/selftests/net/ipv6_flowlabel.c
135
error(1, 0, "recv: too many cmsg");
tools/testing/selftests/net/ipv6_flowlabel.c
138
error(1, 0, "recv: unexpected cmsg level or type");
tools/testing/selftests/net/ipv6_flowlabel.c
146
error(1, 0, "recv: flowlabel is wrong");
tools/testing/selftests/net/ipv6_flowlabel.c
161
error(1, errno, "open sysctl");
tools/testing/selftests/net/ipv6_flowlabel.c
165
error(1, errno, "read sysctl");
tools/testing/selftests/net/ipv6_flowlabel.c
167
error(1, 0, "read sysctl: 0");
tools/testing/selftests/net/ipv6_flowlabel.c
170
error(1, errno, "close sysctl");
tools/testing/selftests/net/ipv6_flowlabel.c
189
error(1, errno, "setsockopt flowlabel get");
tools/testing/selftests/net/ipv6_flowlabel.c
208
error(1, 0, "%s: parse error", argv[0]);
tools/testing/selftests/net/ipv6_flowlabel.c
230
error(1, errno, "socket t");
tools/testing/selftests/net/ipv6_flowlabel.c
234
error(1, errno, "socket r");
tools/testing/selftests/net/ipv6_flowlabel.c
237
error(1, errno, "connect");
tools/testing/selftests/net/ipv6_flowlabel.c
239
error(1, errno, "bind");
tools/testing/selftests/net/ipv6_flowlabel.c
244
error(1, errno, "setsockopt flowinfo");
tools/testing/selftests/net/ipv6_flowlabel.c
261
error(1, errno, "setsockopt flowinfo_send");
tools/testing/selftests/net/ipv6_flowlabel.c
269
error(1, errno, "close r");
tools/testing/selftests/net/ipv6_flowlabel.c
271
error(1, errno, "close t");
tools/testing/selftests/net/ipv6_flowlabel.c
89
error(1, errno, "send");
tools/testing/selftests/net/ipv6_flowlabel_mgr.c
133
error(1, errno, "fork");
tools/testing/selftests/net/ipv6_flowlabel_mgr.c
143
error(1, errno, "wait");
tools/testing/selftests/net/ipv6_flowlabel_mgr.c
145
error(1, errno, "wait: unexpected child result");
tools/testing/selftests/net/ipv6_flowlabel_mgr.c
154
error(1, errno, "fork");
tools/testing/selftests/net/ipv6_flowlabel_mgr.c
160
error(1, errno, "wait");
tools/testing/selftests/net/ipv6_flowlabel_mgr.c
162
error(1, errno, "wait: unexpected child result");
tools/testing/selftests/net/ipv6_flowlabel_mgr.c
178
error(1, 0, "%s: parse error", argv[0]);
tools/testing/selftests/net/ipv6_flowlabel_mgr.c
191
error(1, errno, "socket");
tools/testing/selftests/net/ipv6_flowlabel_mgr.c
196
error(1, errno, "close");
tools/testing/selftests/net/ipv6_flowlabel_mgr.c
39
error(1, 0, "[ERR] " #x " (line %d)", __LINE__); \
tools/testing/selftests/net/ipv6_fragmentation.c
105
error(KSFT_FAIL, errno, "sendmsg");
tools/testing/selftests/net/ipv6_fragmentation.c
107
error(KSFT_FAIL, errno, "sendmsg returned %zi, expected %i",
tools/testing/selftests/net/ipv6_fragmentation.c
112
error(KSFT_FAIL, errno, "close");
tools/testing/selftests/net/ipv6_fragmentation.c
51
error(KSFT_FAIL, errno, "unshare");
tools/testing/selftests/net/ipv6_fragmentation.c
55
error(KSFT_FAIL, errno, "socket");
tools/testing/selftests/net/ipv6_fragmentation.c
60
error(KSFT_FAIL, errno, "ioctl: set MTU");
tools/testing/selftests/net/ipv6_fragmentation.c
64
error(KSFT_FAIL, errno, "ioctl SIOCGIFFLAGS");
tools/testing/selftests/net/ipv6_fragmentation.c
67
error(KSFT_FAIL, errno, "ioctl: bring interface up");
tools/testing/selftests/net/ipv6_fragmentation.c
70
error(KSFT_FAIL, errno, "close");
tools/testing/selftests/net/lib/csum.c
351
error(1, errno, "socket inet");
tools/testing/selftests/net/lib/csum.c
358
error(1, errno, "bind dgram 6");
tools/testing/selftests/net/lib/csum.c
360
error(1, errno, "connect dgram 6");
tools/testing/selftests/net/lib/csum.c
366
error(1, errno, "bind dgram 4");
tools/testing/selftests/net/lib/csum.c
368
error(1, errno, "connect dgram 4");
tools/testing/selftests/net/lib/csum.c
380
error(1, errno, "socket packet");
tools/testing/selftests/net/lib/csum.c
383
error(1, errno, "setsockopt packet_vnet_ndr");
tools/testing/selftests/net/lib/csum.c
394
error(1, errno, "write");
tools/testing/selftests/net/lib/csum.c
396
error(1, 0, "write: %d", ret);
tools/testing/selftests/net/lib/csum.c
403
error(1, 0, "cannot parse mac addr %s", str);
tools/testing/selftests/net/lib/csum.c
419
error(1, errno, "if_nametoindex %s", cfg_ifname);
tools/testing/selftests/net/lib/csum.c
462
error(1, errno, "sendmsg packet");
tools/testing/selftests/net/lib/csum.c
464
error(1, errno, "sendmsg packet: %u", ret);
tools/testing/selftests/net/lib/csum.c
473
error(1, errno, "socket r");
tools/testing/selftests/net/lib/csum.c
477
error(1, errno, "setsockopt SO_RCVBUF r");
tools/testing/selftests/net/lib/csum.c
481
error(1, errno, "bind r");
tools/testing/selftests/net/lib/csum.c
484
error(1, errno, "bind r");
tools/testing/selftests/net/lib/csum.c
512
error(1, errno, "setsockopt filter");
tools/testing/selftests/net/lib/csum.c
540
error(1, 0, "if_nametoindex %s", cfg_ifname);
tools/testing/selftests/net/lib/csum.c
543
error(1, errno, "bind pf_packet");
tools/testing/selftests/net/lib/csum.c
552
error(1, errno, "socket p");
tools/testing/selftests/net/lib/csum.c
556
error(1, errno, "setsockopt SO_RCVBUF p");
tools/testing/selftests/net/lib/csum.c
560
error(1, errno, "setsockopt auxdata");
tools/testing/selftests/net/lib/csum.c
581
error(1, errno, "recv r");
tools/testing/selftests/net/lib/csum.c
701
error(1, 0, "cmsg: truncated");
tools/testing/selftests/net/lib/csum.c
706
error(1, 0, "cmsg: level=%d type=%d\n",
tools/testing/selftests/net/lib/csum.c
710
error(1, 0, "cmsg: len=%zu expected=%zu",
tools/testing/selftests/net/lib/csum.c
717
error(1, 0, "cmsg: no auxdata");
tools/testing/selftests/net/lib/csum.c
749
error(1, errno, "recv p");
tools/testing/selftests/net/lib/csum.c
785
error(1, 0, "rx: errors at pf_packet: total=%lu bad_csums=%lu bad_valids=%lu\n",
tools/testing/selftests/net/lib/csum.c
867
error(1, 0, "unknown arg %c", c);
tools/testing/selftests/net/lib/csum.c
872
error(1, 0, "Must pass -D <daddr> and -S <saddr>");
tools/testing/selftests/net/lib/csum.c
875
error(1, 0, "Transmit with pf_packet requires mac addresses");
tools/testing/selftests/net/lib/csum.c
878
error(1, 0, "Payload length exceeds max");
tools/testing/selftests/net/lib/csum.c
881
error(1, 0, "Only UDP supports zero csum");
tools/testing/selftests/net/lib/csum.c
884
error(1, 0, "Zero checksum conversion requires -U for tx csum offload");
tools/testing/selftests/net/lib/csum.c
886
error(1, 0, "Cannot combine zero checksum conversion and invalid checksum");
tools/testing/selftests/net/lib/csum.c
888
error(1, 0, "Cannot combine zero checksum conversion with randomization");
tools/testing/selftests/net/lib/csum.c
895
error(1, errno, "Cannot parse ipv6 -D");
tools/testing/selftests/net/lib/csum.c
897
error(1, errno, "Cannot parse ipv6 -S");
tools/testing/selftests/net/lib/csum.c
903
error(1, errno, "Cannot parse ipv4 -D");
tools/testing/selftests/net/lib/csum.c
905
error(1, errno, "Cannot parse ipv4 -S");
tools/testing/selftests/net/lib/csum.c
946
error(1, errno, "close tx");
tools/testing/selftests/net/lib/csum.c
962
error(1, errno, "poll");
tools/testing/selftests/net/lib/csum.c
974
error(1, errno, "close r");
tools/testing/selftests/net/lib/csum.c
976
error(1, errno, "close p");
tools/testing/selftests/net/lib/csum.c
979
error(1, 0, "rx: missing packets at pf_packet: %lu < %u",
tools/testing/selftests/net/lib/csum.c
984
error(1, 0, "rx: unexpected packets at udp");
tools/testing/selftests/net/lib/csum.c
986
error(1, 0, "rx: missing packets at udp");
tools/testing/selftests/net/mptcp/mptcp_diag.c
336
-(err->error), strerror(-(err->error)));
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
116
error(1, errno, "could not join the " MPTCP_PM_EV_GRP_NAME " mcast group");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
129
error(1, ret, "error in select() on NL socket");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1328
error(1, errno, "can't parse ip %s", argv[2]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
133
error(1, res_len, "error on recv() from NL socket");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1332
error(1, errno, "can't create listener sock\n");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1336
error(1, errno, "can't set SO_REUSEADDR on listener sock\n");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1384
error(1, 0, " missing id value");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
139
error(1, NLMSG_ERROR, "received invalid NL message");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1405
error(1, errno, "can't parse ip %s", argv[arg]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1418
error(1, 0, " missing flags keyword");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1423
error(1, 0, " missing token value");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1432
error(1, 0, " missing flags value");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1442
error(1, errno,
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1455
error(1, 0, " port can't be used with id");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1458
error(1, 0, " missing port value");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1468
error(1, 0, " missing remote port");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1473
error(1, 0, " missing remote ip");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1477
error(1, 0, "unknown keyword %s", argv[arg]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1510
error(1, errno, "can't parse ip %s", (char *)rip);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1547
error(1, errno, "socket netlink");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
235
error(1, errno, "send netlink: %uB != %uB\n", ret, len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
240
error(1, errno, "recv netlink: %uB\n", ret);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
251
error(1, 0, "bailing out due to netlink error[s]");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
269
error(1, errno, "Not a controller message, len=%d type=0x%x\n",
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
275
error(1, errno, "wrong controller message len %d\n", len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
278
error(1, errno, "Unknown controller command %d\n", ghdr->cmd);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
320
error(1, errno, "can't find CTRL_ATTR_FAMILY_ID attr");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
380
error(1, 0, " missing local IP");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
385
error(1, 0, " missing local port");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
390
error(1, 0, " missing remote IP");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
395
error(1, 0, " missing remote port");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
400
error(1, 0, " missing token");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
404
error(1, 0, "unknown keyword %s", argv[arg]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
427
error(1, errno, "can't parse ip %s", params[arg]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
495
error(1, 0, " missing local IP");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
500
error(1, 0, " missing local id");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
505
error(1, 0, " missing remote ip");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
510
error(1, 0, " missing remote port");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
515
error(1, 0, " missing token");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
519
error(1, 0, "unknown param %s", argv[arg]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
542
error(1, errno, "can't parse ip %s", params[arg]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
618
error(1, 0, " missing id value");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
628
error(1, 0, " missing token value");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
637
error(1, 0, "unknown keyword %s", argv[arg]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
686
error(1, errno, "can't parse ip %s", argv[2]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
700
error(1, 0, " missing id value");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
713
error(1, 0, " missing dev name");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
717
error(1, errno, "unknown device %s", argv[arg]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
729
error(1, 0, " missing port value");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
73
error(1, 0, "netlink error message truncated %d min %ld", len,
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
740
error(1, 0, " missing token value");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
744
error(1, 0, "unknown keyword %s", argv[arg]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
757
error(1, 0, " missing mandatory inputs");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
78
if (err->error) {
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
810
error(1, errno, "can't parse ip %s", argv[2]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
826
error(1, 0, " missing flags value");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
83
err->error, strerror(-err->error));
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
844
error(1, errno,
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
850
error(1, errno, "error flag fullmesh");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
860
error(1, 0, " missing id value");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
872
error(1, 0, " missing dev name");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
876
error(1, errno, "unknown device %s", argv[arg]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
887
error(1, 0, " missing port value");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
889
error(1, 0, " flags must be signal when using port");
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
898
error(1, 0, "unknown keyword %s", argv[arg]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
957
error(1, errno, "can't parse ip %s", argv[3]);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
989
error(1, errno, "wrong IP (v4) for family %d",
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
998
error(1, errno, "wrong IP (v6) for family %d",
tools/testing/selftests/net/msg_zerocopy.c
141
error(1, errno, "setsockopt %d.%d: %d", level, optname, val);
tools/testing/selftests/net/msg_zerocopy.c
155
error(1, errno, "poll");
tools/testing/selftests/net/msg_zerocopy.c
166
error(1, errno, "accept");
tools/testing/selftests/net/msg_zerocopy.c
168
error(1, errno, "close listen sock");
tools/testing/selftests/net/msg_zerocopy.c
178
error(1, errno, "NULL cookie");
tools/testing/selftests/net/msg_zerocopy.c
211
error(1, errno, "send");
tools/testing/selftests/net/msg_zerocopy.c
311
error(1, 0, "ipv4 parse error: %s", str_addr);
tools/testing/selftests/net/msg_zerocopy.c
319
error(1, 0, "ipv6 parse error: %s", str_addr);
tools/testing/selftests/net/msg_zerocopy.c
322
error(1, 0, "illegal domain");
tools/testing/selftests/net/msg_zerocopy.c
332
error(1, errno, "socket t");
tools/testing/selftests/net/msg_zerocopy.c
340
error(1, errno, "connect");
tools/testing/selftests/net/msg_zerocopy.c
344
error(1, errno, "bind");
tools/testing/selftests/net/msg_zerocopy.c
355
error(1, 0, "Returned %d cookies, max expected %d\n",
tools/testing/selftests/net/msg_zerocopy.c
379
error(1, errno, "recvmsg notification: truncated");
tools/testing/selftests/net/msg_zerocopy.c
390
error(0, 0, "ignoring cmsg at level %d type %d\n",
tools/testing/selftests/net/msg_zerocopy.c
415
error(1, errno, "recvmsg notification");
tools/testing/selftests/net/msg_zerocopy.c
417
error(1, errno, "recvmsg notification: truncated");
tools/testing/selftests/net/msg_zerocopy.c
421
error(1, 0, "cmsg: no cmsg");
tools/testing/selftests/net/msg_zerocopy.c
425
error(1, 0, "serr: wrong type: %d.%d",
tools/testing/selftests/net/msg_zerocopy.c
431
error(1, 0, "serr: wrong origin: %u", serr->ee_origin);
tools/testing/selftests/net/msg_zerocopy.c
433
error(1, 0, "serr: wrong error code: %u", serr->ee_errno);
tools/testing/selftests/net/msg_zerocopy.c
573
error(1, errno, "close");
tools/testing/selftests/net/msg_zerocopy.c
588
error(1, 0, "Use PF_INET/SOCK_RAW to read");
tools/testing/selftests/net/msg_zerocopy.c
591
error(1, 0, "IPPROTO_RAW: not supported on Rx");
tools/testing/selftests/net/msg_zerocopy.c
595
error(1, errno, "socket r");
tools/testing/selftests/net/msg_zerocopy.c
602
error(1, errno, "bind");
tools/testing/selftests/net/msg_zerocopy.c
606
error(1, errno, "listen");
tools/testing/selftests/net/msg_zerocopy.c
623
error(1, errno, "flush");
tools/testing/selftests/net/msg_zerocopy.c
649
error(1, errno, "recv");
tools/testing/selftests/net/msg_zerocopy.c
651
error(1, 0, "recv: ret=%u != %u", ret, cfg_payload_len);
tools/testing/selftests/net/msg_zerocopy.c
655
error(1, 0, "recv: data mismatch");
tools/testing/selftests/net/msg_zerocopy.c
681
error(1, errno, "close");
tools/testing/selftests/net/msg_zerocopy.c
691
error(1, 0, "can only cork udp sockets");
tools/testing/selftests/net/msg_zerocopy.c
706
error(1, 0, "Usage: %s [options] <test>", filepath);
tools/testing/selftests/net/msg_zerocopy.c
725
error(1, 0, "Pass one of -4 or -6");
tools/testing/selftests/net/msg_zerocopy.c
731
error(1, 0, "Pass one of -4 or -6");
tools/testing/selftests/net/msg_zerocopy.c
747
error(1, errno, "invalid iface: %s", optarg);
tools/testing/selftests/net/msg_zerocopy.c
785
error(1, 0, "-D <server addr> required for PF_RDS\n");
tools/testing/selftests/net/msg_zerocopy.c
787
error(1, 0, "-S <client addr> required for PF_RDS\n");
tools/testing/selftests/net/msg_zerocopy.c
793
error(1, 0, "-s: payload exceeds max (%d)", max_payload_len);
tools/testing/selftests/net/msg_zerocopy.c
795
error(1, 0, "-m: cork_mixed requires corking and zerocopy");
tools/testing/selftests/net/msg_zerocopy.c
824
error(1, 0, "unknown cfg_test %s", cfg_test);
tools/testing/selftests/net/ovpn/ovpn-cli.c
1296
if (err->error) {
tools/testing/selftests/net/ovpn/ovpn-cli.c
1298
__func__, err->error,
tools/testing/selftests/net/ovpn/ovpn-cli.c
1299
strerror(-err->error));
tools/testing/selftests/net/ovpn/ovpn-cli.c
1300
ret = err->error;
tools/testing/selftests/net/ovpn/ovpn-cli.c
1467
*ret = err->error;
tools/testing/selftests/net/ovpn/ovpn-cli.c
260
*ret = err->error;
tools/testing/selftests/net/psock_snd.c
163
error(1, 0, "payload length exceeds max");
tools/testing/selftests/net/psock_snd.c
178
error(1, errno, "if_nametoindex");
tools/testing/selftests/net/psock_snd.c
181
error(1, errno, "bind");
tools/testing/selftests/net/psock_snd.c
205
error(1, errno, "if_nametoindex");
tools/testing/selftests/net/psock_snd.c
211
error(1, errno, "write");
tools/testing/selftests/net/psock_snd.c
213
error(1, 0, "write: %u %u", ret, len);
tools/testing/selftests/net/psock_snd.c
225
error(1, errno, "socket t");
tools/testing/selftests/net/psock_snd.c
232
error(1, errno, "setsockopt qdisc bypass");
tools/testing/selftests/net/psock_snd.c
236
error(1, errno, "setsockopt vnet");
tools/testing/selftests/net/psock_snd.c
246
error(1, errno, "close t");
tools/testing/selftests/net/psock_snd.c
259
error(1, errno, "socket r");
tools/testing/selftests/net/psock_snd.c
262
error(1, errno, "setsockopt rcv timeout");
tools/testing/selftests/net/psock_snd.c
269
error(1, errno, "bind r");
tools/testing/selftests/net/psock_snd.c
280
error(1, errno, "recv");
tools/testing/selftests/net/psock_snd.c
282
error(1, 0, "recv: %u != %u", ret, expected_len);
tools/testing/selftests/net/psock_snd.c
285
error(1, 0, "recv: data mismatch");
tools/testing/selftests/net/psock_snd.c
297
error(1, errno, "socket p");
tools/testing/selftests/net/psock_snd.c
300
error(1, errno, "setsockopt rcv timeout");
tools/testing/selftests/net/psock_snd.c
345
error(1, 0, "%s: parse error", argv[0]);
tools/testing/selftests/net/psock_snd.c
350
error(1, 0, "option vlan (-V) conflicts with dgram (-d)");
tools/testing/selftests/net/psock_snd.c
353
error(1, 0, "option csum offload (-c) requires vnet (-v)");
tools/testing/selftests/net/psock_snd.c
356
error(1, 0, "option csum bad (-C) requires csum offload (-c)");
tools/testing/selftests/net/psock_snd.c
359
error(1, 0, "option gso (-g) requires csum offload (-c)");
tools/testing/selftests/net/psock_snd.c
379
error(1, errno, "close s");
tools/testing/selftests/net/psock_snd.c
381
error(1, errno, "close r");
tools/testing/selftests/net/psock_snd.c
389
error(1, errno, "ip link set mtu");
tools/testing/selftests/net/psock_snd.c
391
error(1, errno, "ip addr add");
tools/testing/selftests/net/psock_snd.c
393
error(1, errno, "sysctl lo.accept_local");
tools/testing/selftests/net/reuseaddr_conflict.c
102
error(1, errno, "Couldn't open ipv6 reuseport");
tools/testing/selftests/net/reuseaddr_conflict.c
106
error(1, 0, "Was allowed to create an ipv4 reuseport on a already bound non-reuseport socket");
tools/testing/selftests/net/reuseaddr_conflict.c
111
error(1, 0, "Was allowed to create an ipv4 reuseport on an already bound non-reuseport socket with no ipv6");
tools/testing/selftests/net/reuseaddr_conflict.c
94
error(1, errno, "Couldn't open listen socket");
tools/testing/selftests/net/reuseaddr_conflict.c
98
error(1, 0, "Was allowed to create an ipv4 reuseport on a already bound non-reuseport socket");
tools/testing/selftests/net/reuseport_addr_any.c
104
error(1, errno, "inet_pton failed: %s", IP4_ADDR);
tools/testing/selftests/net/reuseport_addr_any.c
117
error(1, errno, "inet_pton failed: %s", IP6_ADDR);
tools/testing/selftests/net/reuseport_addr_any.c
125
error(1, 0, "Unsupported family %d", family);
tools/testing/selftests/net/reuseport_addr_any.c
135
error(1, errno, "failed to create send socket");
tools/testing/selftests/net/reuseport_addr_any.c
138
error(1, errno, "failed to bind send socket");
tools/testing/selftests/net/reuseport_addr_any.c
141
error(1, errno, "failed to connect send socket");
tools/testing/selftests/net/reuseport_addr_any.c
144
error(1, errno, "failed to send message");
tools/testing/selftests/net/reuseport_addr_any.c
157
error(1, errno, "epoll_wait failed");
tools/testing/selftests/net/reuseport_addr_any.c
162
error(1, errno, "failed to accept");
tools/testing/selftests/net/reuseport_addr_any.c
170
error(1, errno, "failed to recv");
tools/testing/selftests/net/reuseport_addr_any.c
182
error(1, errno, "failed to create epoll");
tools/testing/selftests/net/reuseport_addr_any.c
188
error(1, errno, "failed to register sock epoll");
tools/testing/selftests/net/reuseport_addr_any.c
195
error(1, 0, "received on an unexpected socket");
tools/testing/selftests/net/reuseport_addr_any.c
45
error(1, errno, "inet_pton failed: %s", addr_str);
tools/testing/selftests/net/reuseport_addr_any.c
55
error(1, errno, "inet_pton failed: %s", addr_str);
tools/testing/selftests/net/reuseport_addr_any.c
61
error(1, 0, "Unsupported family %d", family);
tools/testing/selftests/net/reuseport_addr_any.c
72
error(1, errno, "failed to create receive socket");
tools/testing/selftests/net/reuseport_addr_any.c
77
error(1, errno, "failed to set SO_REUSEPORT");
tools/testing/selftests/net/reuseport_addr_any.c
80
error(1, errno, "failed to bind receive socket");
tools/testing/selftests/net/reuseport_addr_any.c
83
error(1, errno, "tcp: failed to listen on receive port");
tools/testing/selftests/net/reuseport_bpf.c
122
error(1, errno, "ebpf error. log:\n%s\n", bpf_log_buf);
tools/testing/selftests/net/reuseport_bpf.c
126
error(1, errno, "failed to set SO_ATTACH_REUSEPORT_EBPF");
tools/testing/selftests/net/reuseport_bpf.c
147
error(1, errno, "failed to set SO_ATTACH_REUSEPORT_CBPF");
tools/testing/selftests/net/reuseport_bpf.c
160
error(1, errno, "failed to create recv %d", i);
tools/testing/selftests/net/reuseport_bpf.c
165
error(1, errno, "failed to set SO_REUSEPORT on %d", i);
tools/testing/selftests/net/reuseport_bpf.c
171
error(1, errno, "failed to bind recv socket %d", i);
tools/testing/selftests/net/reuseport_bpf.c
177
error(1, errno,
tools/testing/selftests/net/reuseport_bpf.c
180
error(1, errno, "failed to listen on socket");
tools/testing/selftests/net/reuseport_bpf.c
195
error(1, errno, "failed to create send socket");
tools/testing/selftests/net/reuseport_bpf.c
198
error(1, errno, "failed to set reuseaddr");
tools/testing/selftests/net/reuseport_bpf.c
201
error(1, errno, "failed to bind send socket");
tools/testing/selftests/net/reuseport_bpf.c
204
error(1, errno, "failed to send message");
tools/testing/selftests/net/reuseport_bpf.c
222
error(1, errno, "failed to create epoll");
tools/testing/selftests/net/reuseport_bpf.c
227
error(1, errno, "failed to register sock %d epoll", i);
tools/testing/selftests/net/reuseport_bpf.c
242
error(1, errno, "epoll wait failed");
tools/testing/selftests/net/reuseport_bpf.c
247
error(1, errno, "error accepting");
tools/testing/selftests/net/reuseport_bpf.c
254
error(1, errno, "recvmsg error");
tools/testing/selftests/net/reuseport_bpf.c
256
error(1, 0, "expected size %zd got %d",
tools/testing/selftests/net/reuseport_bpf.c
267
error(1, 0, "expected socket %d", expected);
tools/testing/selftests/net/reuseport_bpf.c
314
error(1, errno, "failed to create socket 1");
tools/testing/selftests/net/reuseport_bpf.c
317
error(1, errno, "failed to create socket 2");
tools/testing/selftests/net/reuseport_bpf.c
321
error(1, errno, "failed to set SO_REUSEPORT on socket 1");
tools/testing/selftests/net/reuseport_bpf.c
323
error(1, errno, "failed to set SO_REUSEPORT on socket 2");
tools/testing/selftests/net/reuseport_bpf.c
329
error(1, errno, "failed to bind recv socket 1");
tools/testing/selftests/net/reuseport_bpf.c
332
error(1, errno, "bind socket 2 should fail with EADDRINUSE");
tools/testing/selftests/net/reuseport_bpf.c
367
error(1, errno, "ebpf error");
tools/testing/selftests/net/reuseport_bpf.c
370
error(1, errno, "failed to create socket 1");
tools/testing/selftests/net/reuseport_bpf.c
373
error(1, errno, "failed to bind recv socket 1");
tools/testing/selftests/net/reuseport_bpf.c
378
error(1, errno, "setsockopt should have returned EINVAL");
tools/testing/selftests/net/reuseport_bpf.c
383
error(1, errno, "setsockopt should have returned EINVAL");
tools/testing/selftests/net/reuseport_bpf.c
395
error(1, errno, "failed to create socket 1");
tools/testing/selftests/net/reuseport_bpf.c
398
error(1, errno, "failed to create socket 2");
tools/testing/selftests/net/reuseport_bpf.c
400
error(1, errno, "failed to set SO_REUSEPORT on socket 1");
tools/testing/selftests/net/reuseport_bpf.c
402
error(1, errno, "failed to set SO_REUSEPORT on socket 2");
tools/testing/selftests/net/reuseport_bpf.c
419
error(1, errno, "Unable to open tcp_fastopen sysctl");
tools/testing/selftests/net/reuseport_bpf.c
421
error(1, errno, "Unable to read tcp_fastopen sysctl");
tools/testing/selftests/net/reuseport_bpf.c
428
error(1, errno,
tools/testing/selftests/net/reuseport_bpf.c
433
error(1, errno, "Unable to write tcp_fastopen sysctl");
tools/testing/selftests/net/reuseport_bpf.c
66
error(1, 0, "Unsupported family %d", family);
tools/testing/selftests/net/reuseport_bpf.c
87
error(1, 0, "Unsupported family %d", family);
tools/testing/selftests/net/reuseport_bpf_cpu.c
126
error(1, 0, "Unsupported family %d", family);
tools/testing/selftests/net/reuseport_bpf_cpu.c
132
error(1, errno, "failed to pin to cpu");
tools/testing/selftests/net/reuseport_bpf_cpu.c
136
error(1, errno, "failed to create send socket");
tools/testing/selftests/net/reuseport_bpf_cpu.c
139
error(1, errno, "failed to bind send socket");
tools/testing/selftests/net/reuseport_bpf_cpu.c
142
error(1, errno, "failed to connect send socket");
tools/testing/selftests/net/reuseport_bpf_cpu.c
145
error(1, errno, "failed to send message");
tools/testing/selftests/net/reuseport_bpf_cpu.c
159
error(1, errno, "epoll_wait failed");
tools/testing/selftests/net/reuseport_bpf_cpu.c
164
error(1, errno, "failed to accept");
tools/testing/selftests/net/reuseport_bpf_cpu.c
172
error(1, errno, "failed to recv");
tools/testing/selftests/net/reuseport_bpf_cpu.c
178
error(1, 0, "failed to find socket");
tools/testing/selftests/net/reuseport_bpf_cpu.c
181
error(1, 0, "cpu id/receive socket mismatch");
tools/testing/selftests/net/reuseport_bpf_cpu.c
194
error(1, errno, "failed to create epoll");
tools/testing/selftests/net/reuseport_bpf_cpu.c
199
error(1, errno, "failed to register sock epoll");
tools/testing/selftests/net/reuseport_bpf_cpu.c
237
error(1, errno, "failed counting cpus");
tools/testing/selftests/net/reuseport_bpf_cpu.c
241
error(1, 0, "failed to allocate array");
tools/testing/selftests/net/reuseport_bpf_cpu.c
56
error(1, 0, "Unsupported family %d", family);
tools/testing/selftests/net/reuseport_bpf_cpu.c
62
error(1, errno, "failed to create receive socket");
tools/testing/selftests/net/reuseport_bpf_cpu.c
67
error(1, errno, "failed to set SO_REUSEPORT");
tools/testing/selftests/net/reuseport_bpf_cpu.c
70
error(1, errno, "failed to bind receive socket");
tools/testing/selftests/net/reuseport_bpf_cpu.c
73
error(1, errno, "failed to listen on receive port");
tools/testing/selftests/net/reuseport_bpf_cpu.c
91
error(1, errno, "failed to set SO_ATTACH_REUSEPORT_CBPF");
tools/testing/selftests/net/reuseport_bpf_numa.c
102
error(1, errno, "failed to set SO_ATTACH_REUSEPORT_EBPF");
tools/testing/selftests/net/reuseport_bpf_numa.c
138
error(1, 0, "Unsupported family %d", family);
tools/testing/selftests/net/reuseport_bpf_numa.c
142
error(1, errno, "failed to pin to node");
tools/testing/selftests/net/reuseport_bpf_numa.c
146
error(1, errno, "failed to create send socket");
tools/testing/selftests/net/reuseport_bpf_numa.c
149
error(1, errno, "failed to bind send socket");
tools/testing/selftests/net/reuseport_bpf_numa.c
152
error(1, errno, "failed to connect send socket");
tools/testing/selftests/net/reuseport_bpf_numa.c
155
error(1, errno, "failed to send message");
tools/testing/selftests/net/reuseport_bpf_numa.c
169
error(1, errno, "epoll_wait failed");
tools/testing/selftests/net/reuseport_bpf_numa.c
174
error(1, errno, "failed to accept");
tools/testing/selftests/net/reuseport_bpf_numa.c
182
error(1, errno, "failed to recv");
tools/testing/selftests/net/reuseport_bpf_numa.c
188
error(1, 0, "failed to find socket");
tools/testing/selftests/net/reuseport_bpf_numa.c
191
error(1, 0, "node id/receive socket mismatch");
tools/testing/selftests/net/reuseport_bpf_numa.c
204
error(1, errno, "failed to create epoll");
tools/testing/selftests/net/reuseport_bpf_numa.c
209
error(1, errno, "failed to register sock epoll");
tools/testing/selftests/net/reuseport_bpf_numa.c
244
error(1, 0, "failed to allocate array");
tools/testing/selftests/net/reuseport_bpf_numa.c
52
error(1, 0, "Unsupported family %d", family);
tools/testing/selftests/net/reuseport_bpf_numa.c
58
error(1, errno, "failed to create receive socket");
tools/testing/selftests/net/reuseport_bpf_numa.c
63
error(1, errno, "failed to set SO_REUSEPORT");
tools/testing/selftests/net/reuseport_bpf_numa.c
66
error(1, errno, "failed to bind receive socket");
tools/testing/selftests/net/reuseport_bpf_numa.c
69
error(1, errno, "failed to listen on receive port");
tools/testing/selftests/net/reuseport_bpf_numa.c
98
error(1, errno, "ebpf error. log:\n%s\n", bpf_log_buf);
tools/testing/selftests/net/reuseport_dualstack.c
110
error(1, errno, "epoll_wait failed");
tools/testing/selftests/net/reuseport_dualstack.c
115
error(1, errno, "failed to accept");
tools/testing/selftests/net/reuseport_dualstack.c
123
error(1, errno, "failed to recv");
tools/testing/selftests/net/reuseport_dualstack.c
137
error(1, errno, "failed to create epoll");
tools/testing/selftests/net/reuseport_dualstack.c
143
error(1, errno, "failed to register sock epoll");
tools/testing/selftests/net/reuseport_dualstack.c
151
error(1, errno, "failed to read socket domain");
tools/testing/selftests/net/reuseport_dualstack.c
153
error(1, 0, "expected to receive on v4 socket but got v6 (%d)",
tools/testing/selftests/net/reuseport_dualstack.c
52
error(1, 0, "Unsupported family %d", family);
tools/testing/selftests/net/reuseport_dualstack.c
58
error(1, errno, "failed to create receive socket");
tools/testing/selftests/net/reuseport_dualstack.c
63
error(1, errno, "failed to set SO_REUSEPORT");
tools/testing/selftests/net/reuseport_dualstack.c
66
error(1, errno, "failed to bind receive socket");
tools/testing/selftests/net/reuseport_dualstack.c
69
error(1, errno, "failed to listen on receive port");
tools/testing/selftests/net/reuseport_dualstack.c
88
error(1, errno, "failed to create send socket");
tools/testing/selftests/net/reuseport_dualstack.c
91
error(1, errno, "failed to bind send socket");
tools/testing/selftests/net/reuseport_dualstack.c
94
error(1, errno, "failed to connect send socket");
tools/testing/selftests/net/reuseport_dualstack.c
97
error(1, errno, "failed to send message");
tools/testing/selftests/net/rxtimestamp.c
188
error(1, errno, "Failed to sendmsg");
tools/testing/selftests/net/rxtimestamp.c
218
error(1, errno, "Failed to recvmsg");
tools/testing/selftests/net/rxtimestamp.c
220
error(1, 0, "Only received %d bytes of payload.", r);
tools/testing/selftests/net/rxtimestamp.c
223
error(1, 0, "Message was truncated.");
tools/testing/selftests/net/rxtimestamp.c
228
error(1, 0, "Unexpected cmsg_level %d",
tools/testing/selftests/net/rxtimestamp.c
241
error(0, 0, "ts[1] should not be set.");
tools/testing/selftests/net/rxtimestamp.c
245
error(1, 0, "Unexpected cmsg_type %d", cmsg->cmsg_type);
tools/testing/selftests/net/rxtimestamp.c
253
error(0, 0, "Expected " #field " to be set."); \
tools/testing/selftests/net/rxtimestamp.c
255
error(0, 0, \
tools/testing/selftests/net/rxtimestamp.c
277
error(1, errno, "Failed to enable SO_REUSEADDR");
tools/testing/selftests/net/rxtimestamp.c
282
error(1, errno, "Failed to enable SO_TIMESTAMP");
tools/testing/selftests/net/rxtimestamp.c
287
error(1, errno, "Failed to enable SO_TIMESTAMPNS");
tools/testing/selftests/net/rxtimestamp.c
292
error(1, errno, "Failed to set SO_TIMESTAMPING");
tools/testing/selftests/net/rxtimestamp.c
327
error(1, errno, "Failed to open src socket");
tools/testing/selftests/net/rxtimestamp.c
332
error(1, errno, "Failed to open dst socket");
tools/testing/selftests/net/rxtimestamp.c
335
error(1, errno, "Failed to bind to port %d", port);
tools/testing/selftests/net/rxtimestamp.c
338
error(1, errno, "Failed to listen");
tools/testing/selftests/net/rxtimestamp.c
341
error(1, errno, "Failed to connect");
tools/testing/selftests/net/rxtimestamp.c
346
error(1, errno, "Failed to accept");
tools/testing/selftests/net/rxtimestamp.c
394
error(1, 0, "Invalid test case: %d", t);
tools/testing/selftests/net/rxtimestamp.c
423
error(1, 0, "Failed to parse parameters.");
tools/testing/selftests/net/sk_bind_sendto_listen.c
23
error(1, errno, "socket fd1");
tools/testing/selftests/net/sk_bind_sendto_listen.c
28
error(1, errno, "setsockopt(SO_REUSEADDR) fd1");
tools/testing/selftests/net/sk_bind_sendto_listen.c
33
error(1, errno, "bind fd1");
tools/testing/selftests/net/sk_bind_sendto_listen.c
39
error(1, errno, "sendto fd1");
tools/testing/selftests/net/sk_bind_sendto_listen.c
45
error(1, errno, "socket fd2");
tools/testing/selftests/net/sk_bind_sendto_listen.c
50
error(1, errno, "setsockopt(SO_REUSEADDR) fd2");
tools/testing/selftests/net/sk_bind_sendto_listen.c
55
error(1, errno, "bind fd2");
tools/testing/selftests/net/sk_bind_sendto_listen.c
61
error(1, errno, "sendto fd2");
tools/testing/selftests/net/sk_bind_sendto_listen.c
66
error(1, errno, "listen");
tools/testing/selftests/net/sk_connect_zero_addr.c
23
error(1, errno, "socket fd1");
tools/testing/selftests/net/sk_connect_zero_addr.c
28
error(1, errno, "setsockopt(SO_REUSEADDR) fd1");
tools/testing/selftests/net/sk_connect_zero_addr.c
33
error(1, errno, "bind fd1");
tools/testing/selftests/net/sk_connect_zero_addr.c
38
error(1, errno, "listen");
tools/testing/selftests/net/sk_connect_zero_addr.c
44
error(1, errno, "socket fd2");
tools/testing/selftests/net/sk_connect_zero_addr.c
49
error(1, errno, "bind fd2");
tools/testing/selftests/net/skf_net_off.c
100
error(1, errno, "setsockopt attach filter");
tools/testing/selftests/net/skf_net_off.c
109
error(1, errno, "socket raw (udp)");
tools/testing/selftests/net/skf_net_off.c
140
error(1, errno, "inet_pton src");
tools/testing/selftests/net/skf_net_off.c
142
error(1, errno, "inet_pton src");
tools/testing/selftests/net/skf_net_off.c
164
error(1, errno, "writev");
tools/testing/selftests/net/skf_net_off.c
177
error(1, errno, "setsockopt rcvtimeo udp");
tools/testing/selftests/net/skf_net_off.c
190
error(1, errno, "read raw");
tools/testing/selftests/net/skf_net_off.c
192
error(1, errno, "read raw: len=%d\n", ret);
tools/testing/selftests/net/skf_net_off.c
215
error(1, 0, "unknown option %c", optopt);
tools/testing/selftests/net/skf_net_off.c
221
error(1, 0, "must specify tap interface name (-i)");
tools/testing/selftests/net/skf_net_off.c
237
error(1, errno, "close tun");
tools/testing/selftests/net/skf_net_off.c
239
error(1, errno, "close udp");
tools/testing/selftests/net/skf_net_off.c
62
error(1, errno, "open /dev/net/tun");
tools/testing/selftests/net/skf_net_off.c
72
error(1, ret, "ioctl TUNSETIFF");
tools/testing/selftests/net/so_txtime.c
108
error(1, errno, "write");
tools/testing/selftests/net/so_txtime.c
110
error(1, 0, "write: 0B");
tools/testing/selftests/net/so_txtime.c
122
error(1, EAGAIN, "recv: timeout");
tools/testing/selftests/net/so_txtime.c
124
error(1, errno, "read");
tools/testing/selftests/net/so_txtime.c
126
error(1, 0, "read: %dB", ret);
tools/testing/selftests/net/so_txtime.c
135
error(1, 0, "payload mismatch. expected %c", ts->data);
tools/testing/selftests/net/so_txtime.c
151
error(1, 0, "recv: not empty as expected (%d, %d)", ret, errno);
tools/testing/selftests/net/so_txtime.c
183
error(1, errno, "errqueue");
tools/testing/selftests/net/so_txtime.c
185
error(1, 0, "errqueue: flags 0x%x\n", msg.msg_flags);
tools/testing/selftests/net/so_txtime.c
190
error(1, 0, "errqueue: type 0x%x.0x%x\n",
tools/testing/selftests/net/so_txtime.c
195
error(1, 0, "errqueue: origin 0x%x\n", err->ee_origin);
tools/testing/selftests/net/so_txtime.c
200
error(1, 0, "errqueue: unknown ECANCELED %u\n",
tools/testing/selftests/net/so_txtime.c
206
error(1, 0, "errqueue: unknown EINVAL %u\n",
tools/testing/selftests/net/so_txtime.c
211
error(1, 0, "errqueue: errno %u code %u\n",
tools/testing/selftests/net/so_txtime.c
238
error(1, errno, "poll");
tools/testing/selftests/net/so_txtime.c
263
error(1, errno, "usleep");
tools/testing/selftests/net/so_txtime.c
276
error(1, errno, "setsockopt txtime");
tools/testing/selftests/net/so_txtime.c
280
error(1, errno, "getsockopt txtime");
tools/testing/selftests/net/so_txtime.c
284
error(1, 0, "getsockopt txtime: mismatch");
tools/testing/selftests/net/so_txtime.c
293
error(1, errno, "socket t");
tools/testing/selftests/net/so_txtime.c
296
error(1, errno, "connect");
tools/testing/selftests/net/so_txtime.c
302
error(1, errno, "setsockopt mark");
tools/testing/selftests/net/so_txtime.c
314
error(1, errno, "socket r");
tools/testing/selftests/net/so_txtime.c
317
error(1, errno, "bind");
tools/testing/selftests/net/so_txtime.c
320
error(1, errno, "setsockopt rcv timeout");
tools/testing/selftests/net/so_txtime.c
344
error(1, errno, "close t");
tools/testing/selftests/net/so_txtime.c
362
error(1, errno, "close r");
tools/testing/selftests/net/so_txtime.c
378
error(1, 0, "ipv4 parse error: %s", str_addr);
tools/testing/selftests/net/so_txtime.c
386
error(1, 0, "ipv6 parse error: %s", str_addr);
tools/testing/selftests/net/so_txtime.c
398
error(1, errno, "strdup");
tools/testing/selftests/net/so_txtime.c
404
error(1, 0, "exceeds max pkt count (%d)", MAX_NUM_PKT);
tools/testing/selftests/net/so_txtime.c
448
error(1, 0, "Pass one of -4 or -6");
tools/testing/selftests/net/so_txtime.c
456
error(1, 0, "Pass one of -4 or -6");
tools/testing/selftests/net/so_txtime.c
469
error(1, 0, "unknown clock id %s", optarg);
tools/testing/selftests/net/so_txtime.c
495
error(1, 0, "Pass one of -4 or -6");
tools/testing/selftests/net/so_txtime.c
497
error(1, 0, "-D <server addr> required\n");
tools/testing/selftests/net/so_txtime.c
499
error(1, 0, "-S <client addr> required\n");
tools/testing/selftests/net/so_txtime.c
68
error(1, errno, "gettime");
tools/testing/selftests/net/stress_reuseport_listen.c
36
error(1, err, "inet_pton(%s)", IP6_LADDR_START);
tools/testing/selftests/net/stress_reuseport_listen.c
40
error(1, errno, "cannot alloc array of lfds");
tools/testing/selftests/net/stress_reuseport_listen.c
47
error(1, errno,
tools/testing/selftests/net/stress_reuseport_listen.c
53
error(1, errno,
tools/testing/selftests/net/stress_reuseport_listen.c
60
error(1, errno, "bind(lfds[%u,%u])", i, j);
tools/testing/selftests/net/stress_reuseport_listen.c
77
error(1, 0, "Usage: %s <nr_vips> <nr_socks_per_vip>\n",
tools/testing/selftests/net/stress_reuseport_listen.c
89
error(1, errno, "listen(lfds[%d])", i);
tools/testing/selftests/net/tcp_ao/lib/ftrace.c
179
static void tracer_set_error(struct test_ftracer *tracer, int error)
tools/testing/selftests/net/tcp_ao/lib/ftrace.c
181
if (!tracer->error)
tools/testing/selftests/net/tcp_ao/lib/ftrace.c
182
tracer->error = error;
tools/testing/selftests/net/tcp_ao/lib/ftrace.c
19
int error;
tools/testing/selftests/net/tcp_ao/lib/ftrace.c
281
if (tracer->error)
tools/testing/selftests/net/tcp_ao/lib/ftrace.c
282
test_fail("tracer errored by %s", strerror(tracer->error));
tools/testing/selftests/net/tcp_ao/lib/kconfig.c
10
int (*check_kconfig)(int *error);
tools/testing/selftests/net/tcp_ao/lib/netlink.c
38
int error;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
49
} else if (answer.error) {
tools/testing/selftests/net/tcp_ao/lib/netlink.c
52
answer.error, strerror(-answer.error));
tools/testing/selftests/net/tcp_ao/lib/netlink.c
54
return answer.error;
tools/testing/selftests/net/tcp_fastopen_backup_key.c
114
error(1, 0, "Unsupported family %d", family);
tools/testing/selftests/net/tcp_fastopen_backup_key.c
126
error(1, errno, "failed to create receive socket");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
129
error(1, errno, "failed to set SO_REUSEPORT");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
131
error(1, errno, "failed to bind receive socket");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
134
error(1, errno, "failed to set TCP_FASTOPEN");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
137
error(1, errno, "failed to listen on receive port");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
159
error(1, errno, "inet_pton failed: %s", IP4_ADDR);
tools/testing/selftests/net/tcp_fastopen_backup_key.c
172
error(1, errno, "inet_pton failed: %s", IP6_ADDR);
tools/testing/selftests/net/tcp_fastopen_backup_key.c
180
error(1, 0, "Unsupported family %d", family);
tools/testing/selftests/net/tcp_fastopen_backup_key.c
189
error(1, errno, "failed to create send socket");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
191
error(1, errno, "failed to bind send socket");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
195
error(1, errno, "failed to sendto");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
253
error(1, errno, "failed to create epoll");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
258
error(1, errno, "failed to register sock epoll");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
270
error(1, errno, "epoll_wait failed");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
274
error(1, errno, "failed to accept");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
277
error(1, errno, "failed epoll add");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
282
error(1, errno, "failed recv data");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
284
error(1, errno, "failed epoll del");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
314
error(1, 0, "%s: parse error", argv[0]);
tools/testing/selftests/net/tcp_fastopen_backup_key.c
324
error(1, errno, "Unable to open %s", PROC_FASTOPEN_KEY);
tools/testing/selftests/net/tcp_fastopen_backup_key.c
56
error(1, errno, "Unable to get key");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
61
error(1, errno, "Unable to read %s", PROC_FASTOPEN_KEY);
tools/testing/selftests/net/tcp_fastopen_backup_key.c
64
error(1, 0, "Unable to parse %s", PROC_FASTOPEN_KEY);
tools/testing/selftests/net/tcp_fastopen_backup_key.c
74
error(1, errno, "Unable to set key");
tools/testing/selftests/net/tcp_fastopen_backup_key.c
86
error(1, errno, "Unable to write %s", PROC_FASTOPEN_KEY);
tools/testing/selftests/net/tcp_inq.c
126
error(1, errno, "server socket");
tools/testing/selftests/net/tcp_inq.c
130
error(1, errno, "setsockopt(SO_REUSEADDR)");
tools/testing/selftests/net/tcp_inq.c
133
error(1, errno, "bind");
tools/testing/selftests/net/tcp_inq.c
135
error(1, errno, "listen");
tools/testing/selftests/net/tcp_inq.c
138
error(1, errno, "pthread_create");
tools/testing/selftests/net/tcp_inq.c
142
error(1, errno, "client socket");
tools/testing/selftests/net/tcp_inq.c
145
error(1, errno, "connect");
tools/testing/selftests/net/tcp_inq.c
147
error(1, errno, "setsockopt(TCP_INQ)");
tools/testing/selftests/net/tcp_inq.c
162
error(1, errno, "recvmsg");
tools/testing/selftests/net/tcp_inq.c
164
error(1, 0, "control message is truncated");
tools/testing/selftests/net/tcp_inq.c
55
error(1, 0, "illegal family");
tools/testing/selftests/net/tcp_mmap.c
194
goto error;
tools/testing/selftests/net/tcp_mmap.c
209
goto error;
tools/testing/selftests/net/tcp_mmap.c
315
error:
tools/testing/selftests/net/tcp_mmap.c
350
error(1, 0, "ipv4 parse error: %s", str_addr);
tools/testing/selftests/net/tcp_mmap.c
358
error(1, 0, "ipv6 parse error: %s", str_addr);
tools/testing/selftests/net/tcp_mmap.c
361
error(1, 0, "illegal domain");
tools/testing/selftests/net/tfo.c
102
error(1, errno, "socket()");
tools/testing/selftests/net/tfo.c
107
error(1, errno, "sendto()");
tools/testing/selftests/net/tfo.c
114
error(1, 0, "Usage: %s (-s|-c) -h<server_ip> -p<port> -o<outfile> ", filepath);
tools/testing/selftests/net/tfo.c
131
error(1, 0, "Pass one of -s or -c");
tools/testing/selftests/net/tfo.c
136
error(1, 0, "Pass one of -s or -c");
tools/testing/selftests/net/tfo.c
148
error(1, 0, "outfile invalid");
tools/testing/selftests/net/tfo.c
154
error(1, 0, "Server cannot have -h specified");
tools/testing/selftests/net/tfo.c
163
error(1, 0, "Client address parse error: %s", addr);
tools/testing/selftests/net/tfo.c
56
error(1, errno, "fopen() outfile");
tools/testing/selftests/net/tfo.c
60
error(1, errno, "socket()");
tools/testing/selftests/net/tfo.c
64
error(1, errno, "setsockopt(SO_REUSEADDR)");
tools/testing/selftests/net/tfo.c
67
error(1, errno, "setsockopt(TCP_FASTOPEN)");
tools/testing/selftests/net/tfo.c
70
error(1, errno, "bind()");
tools/testing/selftests/net/tfo.c
73
error(1, errno, "listen()");
tools/testing/selftests/net/tfo.c
78
error(1, errno, "accept()");
tools/testing/selftests/net/tfo.c
82
error(1, errno, "getsockopt(SO_INCOMING_NAPI_ID)");
tools/testing/selftests/net/tfo.c
85
error(1, errno, "read()");
tools/testing/selftests/net/tfo.c
88
error(1, errno, "fprintf()");
tools/testing/selftests/net/timestamping.c
46
static void usage(const char *error)
tools/testing/selftests/net/timestamping.c
48
if (error)
tools/testing/selftests/net/timestamping.c
49
printf("invalid option: %s\n", error);
tools/testing/selftests/net/timestamping.c
68
static void bail(const char *error)
tools/testing/selftests/net/timestamping.c
70
printf("%s: %s\n", error, strerror(errno));
tools/testing/selftests/net/txring_overwrite.c
100
error(1, errno, "if_nametoindex");
tools/testing/selftests/net/txring_overwrite.c
103
error(1, errno, "bind fdt");
tools/testing/selftests/net/txring_overwrite.c
112
error(1, errno, "setsockopt ring");
tools/testing/selftests/net/txring_overwrite.c
117
error(1, errno, "mmap");
tools/testing/selftests/net/txring_overwrite.c
137
error(1, errno, "kick tx");
tools/testing/selftests/net/txring_overwrite.c
147
error(1, errno, "read");
tools/testing/selftests/net/txring_overwrite.c
174
error(1, errno, "close t");
tools/testing/selftests/net/txring_overwrite.c
176
error(1, errno, "close r");
tools/testing/selftests/net/txring_overwrite.c
81
error(1, errno, "socket r");
tools/testing/selftests/net/txring_overwrite.c
94
error(1, errno, "socket t");
tools/testing/selftests/net/txtimestamp.c
212
error(1, errno, "clock_gettime");
tools/testing/selftests/net/txtimestamp.c
239
error(1, 0, "unknown timestamp type: %u",
tools/testing/selftests/net/txtimestamp.c
295
error(1, errno, "epoll_wait");
tools/testing/selftests/net/txtimestamp.c
307
error(1, errno, "poll");
tools/testing/selftests/net/txtimestamp.c
378
error(1, 0, "malloc");
tools/testing/selftests/net/txtimestamp.c
395
error(1, errno, "recvmsg");
tools/testing/selftests/net/txtimestamp.c
519
error(1, 0, "malloc");
tools/testing/selftests/net/txtimestamp.c
524
error(1, errno, "socket");
tools/testing/selftests/net/txtimestamp.c
535
error(1, errno, "epoll_create");
tools/testing/selftests/net/txtimestamp.c
537
error(1, errno, "epoll_ctl");
tools/testing/selftests/net/txtimestamp.c
546
error(1, 0, "setsockopt no nagle");
tools/testing/selftests/net/txtimestamp.c
550
error(1, errno, "connect ipv4");
tools/testing/selftests/net/txtimestamp.c
553
error(1, errno, "connect ipv6");
tools/testing/selftests/net/txtimestamp.c
561
error(1, errno, "setsockopt pktinfo ipv6");
tools/testing/selftests/net/txtimestamp.c
565
error(1, errno, "setsockopt pktinfo ipv4");
tools/testing/selftests/net/txtimestamp.c
581
error(1, 0, "setsockopt timestamping");
tools/testing/selftests/net/txtimestamp.c
658
error(1, errno, "send");
tools/testing/selftests/net/txtimestamp.c
681
error(1, errno, "close");
tools/testing/selftests/net/txtimestamp.c
817
error(1, 0, "payload may not be nonzero");
tools/testing/selftests/net/txtimestamp.c
819
error(1, 0, "udp packet might exceed expected MTU");
tools/testing/selftests/net/txtimestamp.c
821
error(1, 0, "pass -4 or -6, not both");
tools/testing/selftests/net/txtimestamp.c
823
error(1, 0, "pass -P, -r, -R or -u, not multiple");
tools/testing/selftests/net/txtimestamp.c
825
error(1, 0, "cannot ask for pktinfo over pf_packet");
tools/testing/selftests/net/txtimestamp.c
827
error(1, 0, "pass epoll or busy_poll, not both");
tools/testing/selftests/net/txtimestamp.c
829
error(1, 0, "TCP sockets don't support SCM_TS_OPT_ID");
tools/testing/selftests/net/txtimestamp.c
832
error(1, 0, "missing required hostname argument");
tools/testing/selftests/net/txtimestamp.c
843
error(1, errno, "getaddrinfo");
tools/testing/selftests/net/txtimestamp.c
879
error(1, errno, "socket rx");
tools/testing/selftests/net/txtimestamp.c
882
error(1, errno, "bind rx");
tools/testing/selftests/net/txtimestamp.c
885
error(1, errno, "listen rx");
tools/testing/selftests/net/udpgso.c
333
error(1, errno, "setsockopt path mtu");
tools/testing/selftests/net/udpgso.c
349
error(1, errno, "getsockopt mtu");
tools/testing/selftests/net/udpgso.c
365
error(1, errno, "sendmsg");
tools/testing/selftests/net/udpgso.c
367
error(1, 0, "sendto: %d != %llu", ret,
tools/testing/selftests/net/udpgso.c
370
error(1, 0, "sendmsg: return flags 0x%x\n", msg->msg_flags);
tools/testing/selftests/net/udpgso.c
407
error(1, 0, "send 1B failed");
tools/testing/selftests/net/udpgso.c
424
error(1, errno, "recv");
tools/testing/selftests/net/udpgso.c
444
error(1, errno, "setsockopt ipv6 hopopts");
tools/testing/selftests/net/udpgso.c
450
error(1, errno, "setsockopt udp segment");
tools/testing/selftests/net/udpgso.c
455
error(1, 0, "send succeeded while expecting failure");
tools/testing/selftests/net/udpgso.c
457
error(1, 0, "send failed while expecting success");
tools/testing/selftests/net/udpgso.c
461
error(1, errno, "setsockopt ipv6 hopopts clear");
tools/testing/selftests/net/udpgso.c
480
error(1, 0, "recv.%d: %d != %d", i, ret, mss);
tools/testing/selftests/net/udpgso.c
487
error(1, 0, "recv.%d: %d != %d (last)",
tools/testing/selftests/net/udpgso.c
494
error(1, 0, "recv: unexpected datagram");
tools/testing/selftests/net/udpgso.c
518
error(1, errno, "socket r");
tools/testing/selftests/net/udpgso.c
522
error(1, errno, "bind");
tools/testing/selftests/net/udpgso.c
527
error(1, errno, "setsockopt rcv timeout");
tools/testing/selftests/net/udpgso.c
531
error(1, errno, "socket t");
tools/testing/selftests/net/udpgso.c
541
error(1, errno, "connect");
tools/testing/selftests/net/udpgso.c
545
error(1, 0, "bad path mtu %u\n", val);
tools/testing/selftests/net/udpgso.c
551
error(1, errno, "close t");
tools/testing/selftests/net/udpgso.c
553
error(1, errno, "close r");
tools/testing/selftests/net/udpgso.c
609
error(1, 0, "%s: parse error", argv[0]);
tools/testing/selftests/net/udpgso_bench_rx.c
106
error(1, errno, "poll");
tools/testing/selftests/net/udpgso_bench_rx.c
121
error(1, errno, "poll: 0x%x expected 0x%x\n",
tools/testing/selftests/net/udpgso_bench_rx.c
132
error(1, errno, "socket");
tools/testing/selftests/net/udpgso_bench_rx.c
136
error(1, errno, "setsockopt rcvbuf");
tools/testing/selftests/net/udpgso_bench_rx.c
139
error(1, errno, "setsockopt reuseport");
tools/testing/selftests/net/udpgso_bench_rx.c
142
error(1, errno, "bind");
tools/testing/selftests/net/udpgso_bench_rx.c
148
error(1, errno, "listen");
tools/testing/selftests/net/udpgso_bench_rx.c
156
error(1, errno, "accept");
tools/testing/selftests/net/udpgso_bench_rx.c
158
error(1, errno, "close accept fd");
tools/testing/selftests/net/udpgso_bench_rx.c
175
error(1, errno, "flush");
tools/testing/selftests/net/udpgso_bench_rx.c
199
error(1, 0, "data initial byte out of range");
tools/testing/selftests/net/udpgso_bench_rx.c
208
error(1, 0, "data[%d]: len %d, %c(%hhu) != %c(%hhu)\n",
tools/testing/selftests/net/udpgso_bench_rx.c
263
error(1, errno, "recv");
tools/testing/selftests/net/udpgso_bench_rx.c
265
error(1, 0, "recv: bad packet len, got %d,"
tools/testing/selftests/net/udpgso_bench_rx.c
269
error(1, errno, "recv: 0 byte datagram\n");
tools/testing/selftests/net/udpgso_bench_rx.c
274
error(1, 0, "recv: bad gso size, got %d, expected %d "
tools/testing/selftests/net/udpgso_bench_rx.c
287
error(1, 0, "Usage: %s [-C connect_timeout] [-Grtv] [-b addr] [-p port]"
tools/testing/selftests/net/udpgso_bench_rx.c
351
error(1, 0, "TODO: implement verify mode for tcp");
tools/testing/selftests/net/udpgso_bench_rx.c
365
error(1, errno, "setsockopt UDP_GRO");
tools/testing/selftests/net/udpgso_bench_rx.c
393
error(1, 0, "wrong packet number! got %ld, expected %d\n",
tools/testing/selftests/net/udpgso_bench_rx.c
397
error(1, errno, "close");
tools/testing/selftests/net/udpgso_bench_rx.c
71
error(1, 0, "ipv4 parse error: %s", str_addr);
tools/testing/selftests/net/udpgso_bench_rx.c
77
error(1, 0, "ipv6 parse error: %s", str_addr);
tools/testing/selftests/net/udpgso_bench_rx.c
80
error(1, 0, "illegal domain");
tools/testing/selftests/net/udpgso_bench_tx.c
111
error(1, 0, "setaffinity %d", cpu);
tools/testing/selftests/net/udpgso_bench_tx.c
126
error(1, 0, "ipv4 parse error: %s", str_addr);
tools/testing/selftests/net/udpgso_bench_tx.c
132
error(1, 0, "ipv6 parse error: %s", str_addr);
tools/testing/selftests/net/udpgso_bench_tx.c
135
error(1, 0, "illegal domain");
tools/testing/selftests/net/udpgso_bench_tx.c
155
error(1, 0, "unknown SOL_SOCKET cmsg type=%u\n",
tools/testing/selftests/net/udpgso_bench_tx.c
193
error(0, 1, "received packet with origin: %u",
tools/testing/selftests/net/udpgso_bench_tx.c
199
error(0, 1, "unknown IP msg type=%u\n",
tools/testing/selftests/net/udpgso_bench_tx.c
205
error(0, 1, "unknown cmsg level=%u\n",
tools/testing/selftests/net/udpgso_bench_tx.c
226
error(1, errno, "errqueue");
tools/testing/selftests/net/udpgso_bench_tx.c
228
error(1, 0, "errqueue: flags 0x%x\n", msg.msg_flags);
tools/testing/selftests/net/udpgso_bench_tx.c
252
error(1, errno, "poll");
tools/testing/selftests/net/udpgso_bench_tx.c
281
error(1, errno, "write");
tools/testing/selftests/net/udpgso_bench_tx.c
303
error(1, errno, "write");
tools/testing/selftests/net/udpgso_bench_tx.c
305
error(1, errno, "write: %uB != %uB\n", ret, len);
tools/testing/selftests/net/udpgso_bench_tx.c
351
error(1, 0, "sendmmsg: exceeds max_nr_msg");
tools/testing/selftests/net/udpgso_bench_tx.c
373
error(1, errno, "sendmmsg");
tools/testing/selftests/net/udpgso_bench_tx.c
422
error(1, errno, "sendmsg");
tools/testing/selftests/net/udpgso_bench_tx.c
424
error(1, 0, "sendmsg: %u != %llu\n", ret,
tools/testing/selftests/net/udpgso_bench_tx.c
432
error(1, 0, "Usage: %s [-46acmHPtTuvz] [-C cpu] [-D dst ip] [-l secs] "
tools/testing/selftests/net/udpgso_bench_tx.c
447
error(1, 0, "Pass one of -4 or -6");
tools/testing/selftests/net/udpgso_bench_tx.c
453
error(1, 0, "Pass one of -4 or -6");
tools/testing/selftests/net/udpgso_bench_tx.c
527
error(1, 0, "must pass one of -4 or -6");
tools/testing/selftests/net/udpgso_bench_tx.c
529
error(1, 0, "connectionless tcp makes no sense");
tools/testing/selftests/net/udpgso_bench_tx.c
531
error(1, 0, "cannot combine segment offload and sendmmsg");
tools/testing/selftests/net/udpgso_bench_tx.c
533
error(1, 0, "Options -T and -H require either -S or -m option");
tools/testing/selftests/net/udpgso_bench_tx.c
546
error(1, 0, "payload length %u exceeds max %u",
tools/testing/selftests/net/udpgso_bench_tx.c
565
error(1, errno, "setsockopt path mtu");
tools/testing/selftests/net/udpgso_bench_tx.c
579
error(1, errno, "setsockopt tx timestamping");
tools/testing/selftests/net/udpgso_bench_tx.c
601
error(1, 0,
tools/testing/selftests/net/udpgso_bench_tx.c
605
error(1, 0,
tools/testing/selftests/net/udpgso_bench_tx.c
615
error(1, 0, "Unexpected number of Zerocopy completions: %9lu expected %9lu received",
tools/testing/selftests/net/udpgso_bench_tx.c
657
error(1, errno, "socket");
tools/testing/selftests/net/udpgso_bench_tx.c
669
error(1, errno, "setsockopt zerocopy");
tools/testing/selftests/net/udpgso_bench_tx.c
675
error(1, errno, "connect");
tools/testing/selftests/net/udpgso_bench_tx.c
724
error(1, errno, "close");
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c
131
static inline int child_join(struct child *child, struct error *err)
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c
151
static inline int child_join_close(struct child *child, struct error *err)
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c
165
static int verify_fdinfo(int pidfd, struct error *err, const char *prefix,
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c
219
struct error err;
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c
256
struct error err = {0, };
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c
26
static int error_set(struct error *err, int code, const char *fmt, ...)
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c
289
struct error err = {0, };
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c
43
static void error_report(struct error *err, const char *test_name)
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c
76
static inline int error_check(struct error *err, const char *test_name)
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c
94
struct error *err)
tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h
43
.error "Feature section else case larger than body"; \
tools/testing/selftests/rseq/basic_percpu_ops_test.c
334
goto error;
tools/testing/selftests/rseq/basic_percpu_ops_test.c
338
goto error;
tools/testing/selftests/rseq/basic_percpu_ops_test.c
347
goto error;
tools/testing/selftests/rseq/basic_percpu_ops_test.c
351
error:
tools/testing/selftests/rseq/param_test.c
1502
goto error;
tools/testing/selftests/rseq/param_test.c
1510
goto error;
tools/testing/selftests/rseq/param_test.c
1515
goto error;
tools/testing/selftests/rseq/param_test.c
1522
goto error;
tools/testing/selftests/rseq/param_test.c
1527
goto error;
tools/testing/selftests/rseq/param_test.c
1543
goto error;
tools/testing/selftests/rseq/param_test.c
1548
goto error;
tools/testing/selftests/rseq/param_test.c
1555
goto error;
tools/testing/selftests/rseq/param_test.c
1560
goto error;
tools/testing/selftests/rseq/param_test.c
1567
goto error;
tools/testing/selftests/rseq/param_test.c
1572
goto error;
tools/testing/selftests/rseq/param_test.c
1582
goto error;
tools/testing/selftests/rseq/param_test.c
1595
goto error;
tools/testing/selftests/rseq/param_test.c
1607
goto error;
tools/testing/selftests/rseq/param_test.c
1619
goto error;
tools/testing/selftests/rseq/param_test.c
1622
goto error;
tools/testing/selftests/rseq/param_test.c
1625
goto error;
tools/testing/selftests/rseq/param_test.c
1658
error:
tools/testing/selftests/rseq/syscall_errors_test.c
105
goto error;
tools/testing/selftests/rseq/syscall_errors_test.c
112
goto error;
tools/testing/selftests/rseq/syscall_errors_test.c
119
goto error;
tools/testing/selftests/rseq/syscall_errors_test.c
122
error:
tools/testing/selftests/rseq/syscall_errors_test.c
34
goto error;
tools/testing/selftests/rseq/syscall_errors_test.c
45
goto error;
tools/testing/selftests/rseq/syscall_errors_test.c
52
goto error;
tools/testing/selftests/rseq/syscall_errors_test.c
59
goto error;
tools/testing/selftests/rseq/syscall_errors_test.c
79
goto error;
tools/testing/selftests/rseq/syscall_errors_test.c
87
goto error;
tools/testing/selftests/rseq/syscall_errors_test.c
97
goto error;
tools/testing/selftests/seccomp/seccomp_bpf.c
1183
struct sock_fprog error;
tools/testing/selftests/seccomp/seccomp_bpf.c
1238
FILTER_ALLOC(error);
tools/testing/selftests/seccomp/seccomp_bpf.c
1249
FILTER_FREE(error);
tools/testing/selftests/seccomp/seccomp_bpf.c
1269
ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->error);
tools/testing/selftests/seccomp/seccomp_bpf.c
1295
ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->error);
tools/testing/selftests/seccomp/seccomp_bpf.c
1322
ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->error);
tools/testing/selftests/seccomp/seccomp_bpf.c
1351
ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->error);
tools/testing/selftests/seccomp/seccomp_bpf.c
1378
ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->error);
tools/testing/selftests/seccomp/seccomp_bpf.c
1401
ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->error);
tools/testing/selftests/seccomp/seccomp_bpf.c
1419
ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->error);
tools/testing/selftests/seccomp/seccomp_bpf.c
239
__s32 error;
tools/testing/selftests/seccomp/seccomp_bpf.c
3469
resp.error = 0;
tools/testing/selftests/seccomp/seccomp_bpf.c
3618
resp.error = -EPERM;
tools/testing/selftests/seccomp/seccomp_bpf.c
3628
resp.error = -512; /* -ERESTARTSYS */
tools/testing/selftests/seccomp/seccomp_bpf.c
3700
resp.error = 0;
tools/testing/selftests/seccomp/seccomp_bpf.c
3774
resp.error = 0;
tools/testing/selftests/seccomp/seccomp_bpf.c
3823
resp.error = 0;
tools/testing/selftests/seccomp/seccomp_bpf.c
3900
resp.error = 0;
tools/testing/selftests/seccomp/seccomp_bpf.c
3905
resp.error = USER_NOTIF_MAGIC;
tools/testing/selftests/seccomp/seccomp_bpf.c
3910
resp.error = 0;
tools/testing/selftests/seccomp/seccomp_bpf.c
4236
resp.error = 0;
tools/testing/selftests/seccomp/seccomp_bpf.c
4283
resp.error = 0;
tools/testing/selftests/seccomp/seccomp_bpf.c
4352
resp.error = 0;
tools/testing/selftests/seccomp/seccomp_bpf.c
4410
resp.error = 0;
tools/testing/selftests/seccomp/seccomp_bpf.c
4567
resp.error = 0;
tools/testing/selftests/sync/sync_stress_consumer.c
42
int error, active;
tools/testing/selftests/sync/sync_stress_consumer.c
45
error = sync_fence_count_with_status(fence, FENCE_STATUS_ERROR);
tools/testing/selftests/sync/sync_stress_consumer.c
46
ASSERT(error == 0, "Error occurred on fence\n");
tools/testing/selftests/vfio/lib/drivers/dsa/dsa.c
104
dev_err(device, " error: 0x%x\n", err.error);
tools/testing/selftests/vfio/lib/drivers/dsa/registers.h
277
u64 error:8;
tools/testing/selftests/vfio/lib/drivers/dsa/registers.h
626
u64 error:8;
tools/testing/selftests/x86/lam.c
425
goto error;
tools/testing/selftests/x86/lam.c
468
error:
tools/testing/vsock/vsock_diag_test.c
293
errno = -err->error;
tools/testing/vsock/vsock_perf.c
171
error("socket");
tools/testing/vsock/vsock_perf.c
174
error("bind");
tools/testing/vsock/vsock_perf.c
177
error("listen");
tools/testing/vsock/vsock_perf.c
182
error("accept");
tools/testing/vsock/vsock_perf.c
189
error("setsockopt(SO_RCVLOWAT)");
tools/testing/vsock/vsock_perf.c
211
error("poll");
tools/testing/vsock/vsock_perf.c
324
error("write");
tools/testing/vsock/vsock_perf.c
50
error("clock_gettime");
tools/testing/vsock/vsock_perf.c
93
error("setsockopt(SO_VM_SOCKETS_BUFFER_MAX_SIZE)");
tools/testing/vsock/vsock_perf.c
97
error("setsockopt(SO_VM_SOCKETS_BUFFER_SIZE)");
tools/testing/vsock/vsock_uring_test.c
100
error(1, errno, "io_uring_wait_cqe");
tools/testing/vsock/vsock_uring_test.c
138
error(1, errno, "io_uring_queue_init");
tools/testing/vsock/vsock_uring_test.c
154
error(1, errno, "io_uring_submit");
tools/testing/vsock/vsock_uring_test.c
157
error(1, errno, "io_uring_wait_cqe");
tools/testing/vsock/vsock_uring_test.c
81
error(1, errno, "io_uring_queue_init");
tools/testing/vsock/vsock_uring_test.c
84
error(1, errno, "io_uring_register_buffers");
tools/testing/vsock/vsock_uring_test.c
97
error(1, errno, "io_uring_submit");
tools/virtio/linux/err.h
10
return (void *) error;
tools/virtio/linux/err.h
8
static inline void * __must_check ERR_PTR(long error)
tools/virtio/virtio-trace/trace-agent-ctl.c
109
goto error;
tools/virtio/virtio-trace/trace-agent-ctl.c
133
error:
tools/virtio/virtio-trace/trace-agent-ctl.c
39
goto error;
tools/virtio/virtio-trace/trace-agent-ctl.c
44
error:
tools/virtio/virtio-trace/trace-agent-ctl.c
73
goto error;
tools/virtio/virtio-trace/trace-agent-ctl.c
82
error:
tools/virtio/virtio-trace/trace-agent-rw.c
132
goto error;
tools/virtio/virtio-trace/trace-agent-rw.c
155
goto error;
tools/virtio/virtio-trace/trace-agent-rw.c
173
error:
tools/virtio/virtio-trace/trace-agent-rw.c
52
goto error;
tools/virtio/virtio-trace/trace-agent-rw.c
61
goto error;
tools/virtio/virtio-trace/trace-agent-rw.c
69
goto error;
tools/virtio/virtio-trace/trace-agent-rw.c
78
goto error;
tools/virtio/virtio-trace/trace-agent-rw.c
87
error:
tools/virtio/virtio-trace/trace-agent.c
101
error:
tools/virtio/virtio-trace/trace-agent.c
118
goto error;
tools/virtio/virtio-trace/trace-agent.c
134
goto error;
tools/virtio/virtio-trace/trace-agent.c
139
error:
tools/virtio/virtio-trace/trace-agent.c
165
goto error;
tools/virtio/virtio-trace/trace-agent.c
171
goto error;
tools/virtio/virtio-trace/trace-agent.c
185
error:
tools/virtio/virtio-trace/trace-agent.c
204
goto error;
tools/virtio/virtio-trace/trace-agent.c
210
goto error;
tools/virtio/virtio-trace/trace-agent.c
218
error:
tools/virtio/virtio-trace/trace-agent.c
36
goto error;
tools/virtio/virtio-trace/trace-agent.c
39
goto error;
tools/virtio/virtio-trace/trace-agent.c
44
error:
tools/virtio/virtio-trace/trace-agent.c
90
goto error;
tools/virtio/virtio-trace/trace-agent.c
93
goto error;
usr/gen_init_cpio.c
377
goto error;
usr/gen_init_cpio.c
383
goto error;
usr/gen_init_cpio.c
406
goto error;
usr/gen_init_cpio.c
411
goto error;
usr/gen_init_cpio.c
457
goto error;
usr/gen_init_cpio.c
463
goto error;
usr/gen_init_cpio.c
477
goto error;
usr/gen_init_cpio.c
482
goto error;
usr/gen_init_cpio.c
488
goto error;
usr/gen_init_cpio.c
495
error: