error 167 arch/x86/boot/compressed/misc.c # define Assert(cond, msg) do { if (!(cond)) error(msg); } while (0) error 184 arch/x86/boot/compressed/misc.c static void error(char *m); error 233 arch/x86/boot/compressed/misc.c if (!error) error 302 arch/x86/boot/compressed/misc.c error("ran out of input data"); error 356 arch/x86/boot/compressed/misc.c error("Kernel is not a valid ELF file"); error 365 arch/x86/boot/compressed/misc.c error("Failed to allocate space for phdrs"); error 419 arch/x86/boot/compressed/misc.c error("Destination address not 2M aligned"); error 421 arch/x86/boot/compressed/misc.c error("Destination address too large"); error 424 arch/x86/boot/compressed/misc.c error("Destination address not CONFIG_PHYSICAL_ALIGN aligned"); error 426 arch/x86/boot/compressed/misc.c error("Destination address too large"); error 429 arch/x86/boot/compressed/misc.c error("Wrong destination address"); error 281 arch/x86/ia32/ia32_aout.c unsigned long error, fd_offset, rlim; error 343 arch/x86/ia32/ia32_aout.c error = do_brk(text_addr & PAGE_MASK, map_size); error 346 arch/x86/ia32/ia32_aout.c if (error != (text_addr & PAGE_MASK)) { error 348 arch/x86/ia32/ia32_aout.c return error; error 351 arch/x86/ia32/ia32_aout.c error = bprm->file->f_op->read(bprm->file, error 354 arch/x86/ia32/ia32_aout.c if ((signed long)error < 0) { error 356 arch/x86/ia32/ia32_aout.c return error; error 396 arch/x86/ia32/ia32_aout.c error = do_mmap(bprm->file, N_TXTADDR(ex), ex.a_text, error 403 arch/x86/ia32/ia32_aout.c if (error != N_TXTADDR(ex)) { error 405 arch/x86/ia32/ia32_aout.c return error; error 409 arch/x86/ia32/ia32_aout.c error = do_mmap(bprm->file, N_DATADDR(ex), ex.a_data, error 415 arch/x86/ia32/ia32_aout.c if (error != N_DATADDR(ex)) { error 417 arch/x86/ia32/ia32_aout.c return error; error 453 arch/x86/ia32/ia32_aout.c unsigned long bss, start_addr, len, error; error 460 arch/x86/ia32/ia32_aout.c error = kernel_read(file, 0, (char *) &ex, sizeof(ex)); error 461 arch/x86/ia32/ia32_aout.c if (error != sizeof(ex)) error 508 arch/x86/ia32/ia32_aout.c error = do_mmap(file, start_addr, ex.a_text + ex.a_data, error 513 arch/x86/ia32/ia32_aout.c retval = error; error 514 arch/x86/ia32/ia32_aout.c if (error != start_addr) error 521 arch/x86/ia32/ia32_aout.c error = do_brk(start_addr + len, bss - len); error 523 arch/x86/ia32/ia32_aout.c retval = error; error 524 arch/x86/ia32/ia32_aout.c if (error != start_addr + len) error 167 arch/x86/ia32/sys_ia32.c int error = -EINVAL; error 173 arch/x86/ia32/sys_ia32.c error = vfs_lstat_fd(dfd, filename, &stat); error 175 arch/x86/ia32/sys_ia32.c error = vfs_stat_fd(dfd, filename, &stat); error 177 arch/x86/ia32/sys_ia32.c if (!error) error 178 arch/x86/ia32/sys_ia32.c error = cp_stat64(statbuf, &stat); error 181 arch/x86/ia32/sys_ia32.c return error; error 669 arch/x86/ia32/sys_ia32.c unsigned long error; error 680 arch/x86/ia32/sys_ia32.c error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff); error 685 arch/x86/ia32/sys_ia32.c return error; error 765 arch/x86/ia32/sys_ia32.c long error; error 769 arch/x86/ia32/sys_ia32.c error = PTR_ERR(filename); error 771 arch/x86/ia32/sys_ia32.c return error; error 772 arch/x86/ia32/sys_ia32.c error = compat_do_execve(filename, argv, envp, regs); error 774 arch/x86/ia32/sys_ia32.c return error; error 1298 arch/x86/kernel/acpi/boot.c int error; error 1305 arch/x86/kernel/acpi/boot.c error = early_acpi_parse_madt_lapic_addr_ovr(); error 1306 arch/x86/kernel/acpi/boot.c if (!error) { error 1310 arch/x86/kernel/acpi/boot.c if (error == -EINVAL) { error 1325 arch/x86/kernel/acpi/boot.c int error; error 1332 arch/x86/kernel/acpi/boot.c error = acpi_parse_madt_lapic_entries(); error 1333 arch/x86/kernel/acpi/boot.c if (!error) { error 1342 arch/x86/kernel/acpi/boot.c error = acpi_parse_madt_ioapic_entries(); error 1343 arch/x86/kernel/acpi/boot.c if (!error) { error 1354 arch/x86/kernel/acpi/boot.c if (error == -EINVAL) { error 1671 arch/x86/kernel/acpi/boot.c int error; error 1685 arch/x86/kernel/acpi/boot.c error = acpi_table_init(); error 1686 arch/x86/kernel/acpi/boot.c if (error) { error 1688 arch/x86/kernel/acpi/boot.c return error; error 1696 arch/x86/kernel/acpi/boot.c error = acpi_blacklisted(); error 1697 arch/x86/kernel/acpi/boot.c if (error) { error 1703 arch/x86/kernel/acpi/boot.c return error; error 1712 arch/x86/kernel/apic_32.c int error; error 1718 arch/x86/kernel/apic_32.c error = sysdev_class_register(&lapic_sysclass); error 1719 arch/x86/kernel/apic_32.c if (!error) error 1720 arch/x86/kernel/apic_32.c error = sysdev_register(&device_lapic); error 1721 arch/x86/kernel/apic_32.c return error; error 1655 arch/x86/kernel/apic_64.c int error; error 1661 arch/x86/kernel/apic_64.c error = sysdev_class_register(&lapic_sysclass); error 1662 arch/x86/kernel/apic_64.c if (!error) error 1663 arch/x86/kernel/apic_64.c error = sysdev_register(&device_lapic); error 1664 arch/x86/kernel/apic_64.c return error; error 640 arch/x86/kernel/apm_32.c u8 error; error 657 arch/x86/kernel/apm_32.c error = apm_bios_call_simple_asm(func, ebx_in, ecx_in, eax); error 663 arch/x86/kernel/apm_32.c return error; error 1084 arch/x86/kernel/apm_32.c int error = APM_NOT_ENGAGED; /* silence gcc */ error 1092 arch/x86/kernel/apm_32.c error = set_power_state(dev[i], state); error 1094 arch/x86/kernel/apm_32.c if ((error == APM_SUCCESS) || (error == APM_NO_ERROR)) error 1097 arch/x86/kernel/apm_32.c if (error == APM_NOT_ENGAGED) error 1101 arch/x86/kernel/apm_32.c if (error == APM_NOT_ENGAGED) { error 1107 arch/x86/kernel/apm_32.c apm_error("set display", error); error 1114 arch/x86/kernel/apm_32.c apm_error("set display", error); error 1248 arch/x86/kernel/apm_32.c int error; error 1255 arch/x86/kernel/apm_32.c error = apm_get_event(&event, &info); error 1256 arch/x86/kernel/apm_32.c if (error == APM_SUCCESS) error 1259 arch/x86/kernel/apm_32.c if ((error != APM_NO_EVENTS) && (notified++ == 0)) error 1260 arch/x86/kernel/apm_32.c apm_error("get_event", error); error 1588 arch/x86/kernel/apm_32.c int error; error 1597 arch/x86/kernel/apm_32.c !(error = apm_get_power_status(&bx, &cx, &dx))) { error 1681 arch/x86/kernel/apm_32.c int error; error 1704 arch/x86/kernel/apm_32.c error = apm_driver_version(&apm_info.connection_version); error 1705 arch/x86/kernel/apm_32.c if (error != APM_SUCCESS) { error 1706 arch/x86/kernel/apm_32.c apm_error("driver version", error); error 1725 arch/x86/kernel/apm_32.c error = apm_enable_power_management(1); error 1726 arch/x86/kernel/apm_32.c if (error) { error 1727 arch/x86/kernel/apm_32.c apm_error("enable power management", error); error 1735 arch/x86/kernel/apm_32.c error = apm_engage_power_management(APM_DEVICE_ALL, 1); error 1736 arch/x86/kernel/apm_32.c if (error) { error 1737 arch/x86/kernel/apm_32.c apm_error("engage power management", error); error 1743 arch/x86/kernel/apm_32.c error = apm_get_power_status(&bx, &cx, &dx); error 1744 arch/x86/kernel/apm_32.c if (error) error 2359 arch/x86/kernel/apm_32.c int error; error 2372 arch/x86/kernel/apm_32.c error = apm_engage_power_management(APM_DEVICE_ALL, 0); error 2373 arch/x86/kernel/apm_32.c if (error) error 2374 arch/x86/kernel/apm_32.c apm_error("disengage power management", error); error 848 arch/x86/kernel/cpu/mcheck/mce_64.c goto error; error 853 arch/x86/kernel/cpu/mcheck/mce_64.c error: error 307 arch/x86/kernel/cpu/mtrr/main.c int i, replace, error; error 314 arch/x86/kernel/cpu/mtrr/main.c if ((error = mtrr_if->validate_add_page(base,size,type))) error 315 arch/x86/kernel/cpu/mtrr/main.c return error; error 339 arch/x86/kernel/cpu/mtrr/main.c error = -EINVAL; error 378 arch/x86/kernel/cpu/mtrr/main.c error = i; error 398 arch/x86/kernel/cpu/mtrr/main.c error = i; error 402 arch/x86/kernel/cpu/mtrr/main.c return error; error 484 arch/x86/kernel/cpu/mtrr/main.c int error = -EINVAL; error 523 arch/x86/kernel/cpu/mtrr/main.c error = reg; error 527 arch/x86/kernel/cpu/mtrr/main.c return error; error 371 arch/x86/kernel/ds.c int error = 0; error 390 arch/x86/kernel/ds.c error = -ENOMEM; error 395 arch/x86/kernel/ds.c error = -EALREADY; error 398 arch/x86/kernel/ds.c error = -EPERM; error 406 arch/x86/kernel/ds.c error = -ENOMEM; error 414 arch/x86/kernel/ds.c error = 0; error 446 arch/x86/kernel/ds.c return error; error 451 arch/x86/kernel/ds.c return error; error 456 arch/x86/kernel/ds.c return error; error 474 arch/x86/kernel/ds.c int error; error 477 arch/x86/kernel/ds.c error = ds_validate_access(context, qual); error 478 arch/x86/kernel/ds.c if (error < 0) error 497 arch/x86/kernel/ds.c return error; error 515 arch/x86/kernel/ds.c int error; error 518 arch/x86/kernel/ds.c error = ds_validate_access(context, qual); error 519 arch/x86/kernel/ds.c if (error < 0) error 525 arch/x86/kernel/ds.c error = ((index - base) / ds_cfg.sizeof_rec[qual]); error 527 arch/x86/kernel/ds.c *pos = error; error 530 arch/x86/kernel/ds.c return error; error 548 arch/x86/kernel/ds.c int error; error 551 arch/x86/kernel/ds.c error = ds_validate_access(context, qual); error 552 arch/x86/kernel/ds.c if (error < 0) error 558 arch/x86/kernel/ds.c error = ((end - base) / ds_cfg.sizeof_rec[qual]); error 560 arch/x86/kernel/ds.c *pos = error; error 563 arch/x86/kernel/ds.c return error; error 581 arch/x86/kernel/ds.c int error; error 587 arch/x86/kernel/ds.c error = ds_validate_access(context, qual); error 588 arch/x86/kernel/ds.c if (error < 0) error 594 arch/x86/kernel/ds.c error = -EINVAL; error 599 arch/x86/kernel/ds.c error = ds_cfg.sizeof_rec[qual]; error 602 arch/x86/kernel/ds.c return error; error 619 arch/x86/kernel/ds.c int error; error 624 arch/x86/kernel/ds.c error = -EPERM; error 630 arch/x86/kernel/ds.c error = ds_validate_access(context, qual); error 631 arch/x86/kernel/ds.c if (error < 0) error 635 arch/x86/kernel/ds.c error = 0; error 670 arch/x86/kernel/ds.c error += write_size; error 690 arch/x86/kernel/ds.c return error; error 720 arch/x86/kernel/ds.c int error; error 723 arch/x86/kernel/ds.c error = ds_validate_access(context, qual); error 724 arch/x86/kernel/ds.c if (error < 0) error 735 arch/x86/kernel/ds.c error = 0; error 738 arch/x86/kernel/ds.c return error; error 764 arch/x86/kernel/ds.c int error; error 770 arch/x86/kernel/ds.c error = ds_validate_access(context, ds_pebs); error 771 arch/x86/kernel/ds.c if (error < 0) error 776 arch/x86/kernel/ds.c error = 0; error 779 arch/x86/kernel/ds.c return error; error 785 arch/x86/kernel/ds.c int error; error 788 arch/x86/kernel/ds.c error = ds_validate_access(context, ds_pebs); error 789 arch/x86/kernel/ds.c if (error < 0) error 794 arch/x86/kernel/ds.c error = 0; error 797 arch/x86/kernel/ds.c return error; error 66 arch/x86/kernel/i8237.c int error = sysdev_class_register(&i8237_sysdev_class); error 67 arch/x86/kernel/i8237.c if (!error) error 68 arch/x86/kernel/i8237.c error = sysdev_register(&device_i8237A); error 69 arch/x86/kernel/i8237.c return error; error 277 arch/x86/kernel/i8259.c int error = sysdev_class_register(&i8259_sysdev_class); error 278 arch/x86/kernel/i8259.c if (!error) error 279 arch/x86/kernel/i8259.c error = sysdev_register(&device_i8259A); error 280 arch/x86/kernel/i8259.c return error; error 2410 arch/x86/kernel/io_apic_32.c int i, size, error = 0; error 2412 arch/x86/kernel/io_apic_32.c error = sysdev_class_register(&ioapic_sysdev_class); error 2413 arch/x86/kernel/io_apic_32.c if (error) error 2414 arch/x86/kernel/io_apic_32.c return error; error 2427 arch/x86/kernel/io_apic_32.c error = sysdev_register(dev); error 2428 arch/x86/kernel/io_apic_32.c if (error) { error 2239 arch/x86/kernel/io_apic_64.c int i, size, error; error 2241 arch/x86/kernel/io_apic_64.c error = sysdev_class_register(&ioapic_sysdev_class); error 2242 arch/x86/kernel/io_apic_64.c if (error) error 2243 arch/x86/kernel/io_apic_64.c return error; error 2256 arch/x86/kernel/io_apic_64.c error = sysdev_register(dev); error 2257 arch/x86/kernel/io_apic_64.c if (error) { error 2558 arch/x86/kernel/io_apic_64.c goto error; error 2569 arch/x86/kernel/io_apic_64.c error: error 2601 arch/x86/kernel/io_apic_64.c goto error; error 2607 arch/x86/kernel/io_apic_64.c goto error; error 2620 arch/x86/kernel/io_apic_64.c goto error; error 2625 arch/x86/kernel/io_apic_64.c error: error 87 arch/x86/kernel/kdebugfs.c int error; error 92 arch/x86/kernel/kdebugfs.c error = -ENOMEM; error 97 arch/x86/kernel/kdebugfs.c error = -ENOMEM; error 102 arch/x86/kernel/kdebugfs.c error = -ENOMEM; error 112 arch/x86/kernel/kdebugfs.c return error; error 119 arch/x86/kernel/kdebugfs.c int error, no = 0; error 126 arch/x86/kernel/kdebugfs.c error = -ENOMEM; error 135 arch/x86/kernel/kdebugfs.c error = -ENOMEM; error 143 arch/x86/kernel/kdebugfs.c error = -ENXIO; error 153 arch/x86/kernel/kdebugfs.c error = create_setup_data_node(d, no, node); error 158 arch/x86/kernel/kdebugfs.c if (error) error 167 arch/x86/kernel/kdebugfs.c return error; error 178 arch/x86/kernel/kdebugfs.c int error; error 182 arch/x86/kernel/kdebugfs.c error = -ENOMEM; error 188 arch/x86/kernel/kdebugfs.c error = -ENOMEM; error 194 arch/x86/kernel/kdebugfs.c error = -ENOMEM; error 197 arch/x86/kernel/kdebugfs.c error = create_setup_data_nodes(dbp); error 198 arch/x86/kernel/kdebugfs.c if (error) error 209 arch/x86/kernel/kdebugfs.c return error; error 215 arch/x86/kernel/kdebugfs.c int error = 0; error 222 arch/x86/kernel/kdebugfs.c error = boot_params_kdebugfs_init(); error 225 arch/x86/kernel/kdebugfs.c return error; error 196 arch/x86/kernel/ldt.c int error; error 199 arch/x86/kernel/ldt.c error = -EINVAL; error 202 arch/x86/kernel/ldt.c error = -EFAULT; error 206 arch/x86/kernel/ldt.c error = -EINVAL; error 218 arch/x86/kernel/ldt.c error = alloc_ldt(¤t->mm->context, error 220 arch/x86/kernel/ldt.c if (error < 0) error 239 arch/x86/kernel/ldt.c error = 0; error 244 arch/x86/kernel/ldt.c return error; error 114 arch/x86/kernel/microcode_core.c int error = 0; error 126 arch/x86/kernel/microcode_core.c error = microcode_ops->request_microcode_user(cpu, buf, size); error 127 arch/x86/kernel/microcode_core.c if (error < 0) error 129 arch/x86/kernel/microcode_core.c if (!error) error 134 arch/x86/kernel/microcode_core.c return error; error 181 arch/x86/kernel/microcode_core.c int error; error 183 arch/x86/kernel/microcode_core.c error = misc_register(µcode_dev); error 184 arch/x86/kernel/microcode_core.c if (error) { error 188 arch/x86/kernel/microcode_core.c return error; error 448 arch/x86/kernel/microcode_core.c int error; error 460 arch/x86/kernel/microcode_core.c error = microcode_dev_init(); error 461 arch/x86/kernel/microcode_core.c if (error) error 462 arch/x86/kernel/microcode_core.c return error; error 471 arch/x86/kernel/microcode_core.c error = sysdev_driver_register(&cpu_sysdev_class, &mc_sysdev_driver); error 473 arch/x86/kernel/microcode_core.c if (error) { error 476 arch/x86/kernel/microcode_core.c return error; error 144 arch/x86/kernel/nmi.c goto error; error 168 arch/x86/kernel/nmi.c goto error; error 181 arch/x86/kernel/nmi.c error: error 251 arch/x86/kernel/nmi.c int error; error 263 arch/x86/kernel/nmi.c error = sysdev_class_register(&nmi_sysclass); error 264 arch/x86/kernel/nmi.c if (!error) error 265 arch/x86/kernel/nmi.c error = sysdev_register(&device_lapic_nmi); error 266 arch/x86/kernel/nmi.c return error; error 318 arch/x86/kernel/pci-calgary_64.c goto error; error 329 arch/x86/kernel/pci-calgary_64.c error: error 436 arch/x86/kernel/pci-calgary_64.c goto error; error 449 arch/x86/kernel/pci-calgary_64.c error: error 499 arch/x86/kernel/pci-calgary_64.c goto error; error 511 arch/x86/kernel/pci-calgary_64.c error: error 1157 arch/x86/kernel/pci-calgary_64.c goto error; error 1182 arch/x86/kernel/pci-calgary_64.c error: error 1223 arch/x86/kernel/pci-calgary_64.c goto error; error 1238 arch/x86/kernel/pci-calgary_64.c error: error 442 arch/x86/kernel/pci-gart_64.c goto error; error 458 arch/x86/kernel/pci-gart_64.c goto error; error 467 arch/x86/kernel/pci-gart_64.c error: error 652 arch/x86/kernel/pci-gart_64.c int i, error; error 687 arch/x86/kernel/pci-gart_64.c error = sysdev_class_register(&gart_sysdev_class); error 688 arch/x86/kernel/pci-gart_64.c if (!error) error 689 arch/x86/kernel/pci-gart_64.c error = sysdev_register(&device_gart); error 690 arch/x86/kernel/pci-gart_64.c if (error) error 675 arch/x86/kernel/process_32.c int error; error 679 arch/x86/kernel/process_32.c error = PTR_ERR(filename); error 682 arch/x86/kernel/process_32.c error = do_execve(filename, error 686 arch/x86/kernel/process_32.c if (error == 0) { error 692 arch/x86/kernel/process_32.c return error; error 677 arch/x86/kernel/process_64.c long error; error 681 arch/x86/kernel/process_64.c error = PTR_ERR(filename); error 683 arch/x86/kernel/process_64.c return error; error 684 arch/x86/kernel/process_64.c error = do_execve(filename, argv, envp, regs); error 686 arch/x86/kernel/process_64.c return error; error 669 arch/x86/kernel/ptrace.c int error; error 671 arch/x86/kernel/ptrace.c error = ds_get_bts_end(child, &bts_end); error 672 arch/x86/kernel/ptrace.c if (error < 0) error 673 arch/x86/kernel/ptrace.c return error; error 678 arch/x86/kernel/ptrace.c error = ds_get_bts_index(child, &bts_index); error 679 arch/x86/kernel/ptrace.c if (error < 0) error 680 arch/x86/kernel/ptrace.c return error; error 687 arch/x86/kernel/ptrace.c error = ds_access_bts(child, bts_index, &bts_record); error 688 arch/x86/kernel/ptrace.c if (error < 0) error 689 arch/x86/kernel/ptrace.c return error; error 706 arch/x86/kernel/ptrace.c int error; error 708 arch/x86/kernel/ptrace.c error = ds_get_bts_index(child, &end); error 709 arch/x86/kernel/ptrace.c if (error < 0) error 710 arch/x86/kernel/ptrace.c return error; error 715 arch/x86/kernel/ptrace.c error = ds_access_bts(child, 0, (const void **)&raw); error 716 arch/x86/kernel/ptrace.c if (error < 0) error 717 arch/x86/kernel/ptrace.c return error; error 726 arch/x86/kernel/ptrace.c error = ds_clear_bts(child); error 727 arch/x86/kernel/ptrace.c if (error < 0) error 728 arch/x86/kernel/ptrace.c return error; error 743 arch/x86/kernel/ptrace.c int error = 0; error 745 arch/x86/kernel/ptrace.c error = -EOPNOTSUPP; error 749 arch/x86/kernel/ptrace.c error = -EIO; error 753 arch/x86/kernel/ptrace.c error = -EFAULT; error 757 arch/x86/kernel/ptrace.c error = -EINVAL; error 777 arch/x86/kernel/ptrace.c error = ds_request_bts(child, /* base = */ NULL, cfg.size, ovfl); error 778 arch/x86/kernel/ptrace.c if (error < 0) error 784 arch/x86/kernel/ptrace.c error = -EINVAL; error 798 arch/x86/kernel/ptrace.c error = sizeof(cfg); error 806 arch/x86/kernel/ptrace.c return error; error 821 arch/x86/kernel/ptrace.c int error; error 826 arch/x86/kernel/ptrace.c error = ds_get_bts_end(child, &end); error 827 arch/x86/kernel/ptrace.c if (error < 0) error 828 arch/x86/kernel/ptrace.c return error; error 830 arch/x86/kernel/ptrace.c error = ds_access_bts(child, /* index = */ 0, &base); error 831 arch/x86/kernel/ptrace.c if (error < 0) error 832 arch/x86/kernel/ptrace.c return error; error 834 arch/x86/kernel/ptrace.c error = ds_access_bts(child, /* index = */ end, &max); error 835 arch/x86/kernel/ptrace.c if (error < 0) error 836 arch/x86/kernel/ptrace.c return error; error 31 arch/x86/kernel/sys_i386_32.c int error = -EBADF; error 43 arch/x86/kernel/sys_i386_32.c error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff); error 49 arch/x86/kernel/sys_i386_32.c return error; error 204 arch/x86/kernel/sys_i386_32.c int error; error 213 arch/x86/kernel/sys_i386_32.c error = __copy_to_user(&name->sysname, &utsname()->sysname, error 215 arch/x86/kernel/sys_i386_32.c error |= __put_user(0, name->sysname + __OLD_UTS_LEN); error 216 arch/x86/kernel/sys_i386_32.c error |= __copy_to_user(&name->nodename, &utsname()->nodename, error 218 arch/x86/kernel/sys_i386_32.c error |= __put_user(0, name->nodename + __OLD_UTS_LEN); error 219 arch/x86/kernel/sys_i386_32.c error |= __copy_to_user(&name->release, &utsname()->release, error 221 arch/x86/kernel/sys_i386_32.c error |= __put_user(0, name->release + __OLD_UTS_LEN); error 222 arch/x86/kernel/sys_i386_32.c error |= __copy_to_user(&name->version, &utsname()->version, error 224 arch/x86/kernel/sys_i386_32.c error |= __put_user(0, name->version + __OLD_UTS_LEN); error 225 arch/x86/kernel/sys_i386_32.c error |= __copy_to_user(&name->machine, &utsname()->machine, error 227 arch/x86/kernel/sys_i386_32.c error |= __put_user(0, name->machine + __OLD_UTS_LEN); error 231 arch/x86/kernel/sys_i386_32.c error = error ? -EFAULT : 0; error 233 arch/x86/kernel/sys_i386_32.c return error; error 25 arch/x86/kernel/sys_x86_64.c long error; error 28 arch/x86/kernel/sys_x86_64.c error = -EINVAL; error 32 arch/x86/kernel/sys_x86_64.c error = -EBADF; error 41 arch/x86/kernel/sys_x86_64.c error = do_mmap_pgoff(file, addr, len, prot, flags, off >> PAGE_SHIFT); error 47 arch/x86/kernel/sys_x86_64.c return error; error 938 arch/x86/kernel/traps.c machine_check_vector(regs, error); error 322 arch/x86/kvm/vmx.c u8 error; error 325 arch/x86/kvm/vmx.c : "=g"(error) : "a"(&phys_addr), "m"(phys_addr) error 327 arch/x86/kvm/vmx.c if (error) error 426 arch/x86/kvm/vmx.c u8 error; error 429 arch/x86/kvm/vmx.c : "=q"(error) : "a"(value), "d"(field) : "cc"); error 430 arch/x86/kvm/vmx.c if (unlikely(error)) error 637 arch/x86/kvm/vmx.c u8 error; error 641 arch/x86/kvm/vmx.c : "=g"(error) : "a"(&phys_addr), "m"(phys_addr) error 643 arch/x86/kvm/vmx.c if (error) error 91 arch/x86/oprofile/nmi_int.c int error; error 93 arch/x86/oprofile/nmi_int.c error = sysdev_class_register(&oprofile_sysclass); error 94 arch/x86/oprofile/nmi_int.c if (!error) error 95 arch/x86/oprofile/nmi_int.c error = sysdev_register(&device_oprofile); error 96 arch/x86/oprofile/nmi_int.c return error; error 147 arch/x86/power/hibernate_32.c int error; error 154 arch/x86/power/hibernate_32.c error = resume_physical_mapping_init(resume_pg_dir); error 155 arch/x86/power/hibernate_32.c if (error) error 156 arch/x86/power/hibernate_32.c return error; error 74 arch/x86/power/hibernate_64.c int error; error 95 arch/x86/power/hibernate_64.c if ((error = res_phys_pud_init(pud, __pa(start), __pa(next)))) error 96 arch/x86/power/hibernate_64.c return error; error 105 arch/x86/power/hibernate_64.c int error; error 108 arch/x86/power/hibernate_64.c if ((error = set_up_temporary_mappings())) error 109 arch/x86/power/hibernate_64.c return error; error 95 block/blk-barrier.c if (error && !q->orderr) error 96 block/blk-barrier.c q->orderr = error; error 117 block/blk-barrier.c blk_ordered_complete_seq(rq->q, QUEUE_ORDSEQ_PREFLUSH, error); error 123 block/blk-barrier.c blk_ordered_complete_seq(rq->q, QUEUE_ORDSEQ_BAR, error); error 129 block/blk-barrier.c blk_ordered_complete_seq(rq->q, QUEUE_ORDSEQ_POSTFLUSH, error); error 131 block/blk-core.c if (error) error 134 block/blk-core.c error = -EIO; error 149 block/blk-core.c bio_endio(bio, error); error 156 block/blk-core.c if (error && !q->orderr) error 157 block/blk-core.c q->orderr = error; error 1645 block/blk-core.c if (error && (blk_fs_request(req) && !(req->cmd_flags & REQ_QUIET))) { error 1677 block/blk-core.c req_bio_endio(req, bio, nbytes, error); error 1732 block/blk-core.c req_bio_endio(req, bio, bio_nbytes, error); error 1784 block/blk-core.c req->end_io(req, error); error 1840 block/blk-core.c int error = 0; error 1843 block/blk-core.c error = uptodate ? uptodate : -EIO; error 1845 block/blk-core.c __blk_end_request(req, error, req->hard_cur_sectors << 9); error 1853 block/blk-core.c if (__end_that_request_first(rq, error, nr_bytes)) error 1858 block/blk-core.c __end_that_request_first(rq->next_rq, error, bidi_bytes)) error 1891 block/blk-core.c if (end_that_request_data(rq, error, nr_bytes, bidi_bytes)) error 1901 block/blk-core.c end_that_request_last(rq, error); error 1923 block/blk-core.c return blk_end_io(rq, error, nr_bytes, 0, NULL); error 1942 block/blk-core.c if (rq->bio && __end_that_request_first(rq, error, nr_bytes)) error 1947 block/blk-core.c end_that_request_last(rq, error); error 1970 block/blk-core.c return blk_end_io(rq, error, nr_bytes, bidi_bytes, NULL); error 1991 block/blk-core.c if (!end_that_request_data(rq, error, nr_bytes, 0)) { error 2033 block/blk-core.c return blk_end_io(rq, error, nr_bytes, 0, drv_callback); error 170 block/blktrace.c t->error = error; error 80 block/compat_ioctl.c int error; error 83 block/compat_ioctl.c error = blkdev_driver_ioctl(inode, file, disk, error 87 block/compat_ioctl.c if (error == 0) { error 90 block/compat_ioctl.c error = -EFAULT; error 92 block/compat_ioctl.c return error; error 965 block/elevator.c ssize_t error; error 971 block/elevator.c error = e->ops ? entry->show(e, page) : -ENOENT; error 973 block/elevator.c return error; error 982 block/elevator.c ssize_t error; error 988 block/elevator.c error = e->ops ? entry->store(e, page, length) : -ENOENT; error 990 block/elevator.c return error; error 1006 block/elevator.c int error; error 1008 block/elevator.c error = kobject_add(&e->kobj, &q->kobj, "%s", "iosched"); error 1009 block/elevator.c if (!error) { error 1020 block/elevator.c return error; error 750 block/genhd.c int error; error 753 block/genhd.c error = class_register(&block_class); error 754 block/genhd.c if (unlikely(error)) error 755 block/genhd.c return error; error 424 block/scsi_ioctl.c goto error; error 427 block/scsi_ioctl.c goto error; error 435 block/scsi_ioctl.c goto error; error 490 block/scsi_ioctl.c error: error 215 fs/9p/v9fs.c goto error; error 222 fs/9p/v9fs.c goto error; error 231 fs/9p/v9fs.c goto error; error 254 fs/9p/v9fs.c goto error; error 264 fs/9p/v9fs.c error: error 344 fs/9p/vfs_inode.c goto error; error 352 fs/9p/vfs_inode.c goto error; error 360 fs/9p/vfs_inode.c error: error 428 fs/9p/vfs_inode.c goto error; error 436 fs/9p/vfs_inode.c goto error; error 441 fs/9p/vfs_inode.c goto error; error 448 fs/9p/vfs_inode.c goto error; error 456 fs/9p/vfs_inode.c goto error; error 468 fs/9p/vfs_inode.c error: error 515 fs/9p/vfs_inode.c goto error; error 523 fs/9p/vfs_inode.c goto error; error 532 fs/9p/vfs_inode.c error: error 613 fs/9p/vfs_inode.c goto error; error 618 fs/9p/vfs_inode.c goto error; error 628 fs/9p/vfs_inode.c error: error 276 fs/adfs/dir.c int error; error 280 fs/adfs/dir.c error = adfs_dir_lookup_byname(dir, &dentry->d_name, &obj); error 281 fs/adfs/dir.c if (error == 0) { error 282 fs/adfs/dir.c error = -EACCES; error 289 fs/adfs/dir.c error = 0; error 293 fs/adfs/dir.c return ERR_PTR(error); error 323 fs/adfs/inode.c int error; error 327 fs/adfs/inode.c error = inode_change_ok(inode, attr); error 335 fs/adfs/inode.c error = -EPERM; error 337 fs/adfs/inode.c if (error) error 341 fs/adfs/inode.c error = vmtruncate(inode, attr->ia_size); error 343 fs/adfs/inode.c if (error) error 371 fs/adfs/inode.c return error; error 100 fs/adfs/map.c goto error; error 114 fs/adfs/map.c error: error 178 fs/adfs/map.c goto error; error 192 fs/adfs/map.c error: error 373 fs/adfs/super.c goto error; error 378 fs/adfs/super.c goto error; error 408 fs/adfs/super.c goto error; error 420 fs/adfs/super.c goto error; error 478 fs/adfs/super.c goto error; error 485 fs/adfs/super.c error: error 221 fs/affs/inode.c int error; error 225 fs/affs/inode.c error = inode_change_ok(inode,attr); error 226 fs/affs/inode.c if (error) error 234 fs/affs/inode.c error = -EPERM; error 238 fs/affs/inode.c error = inode_setattr(inode, attr); error 239 fs/affs/inode.c if (!error && (attr->ia_valid & ATTR_MODE)) error 242 fs/affs/inode.c return error; error 249 fs/affs/namei.c int error; error 265 fs/affs/namei.c error = affs_add_entry(dir, inode, dentry, ST_FILE); error 266 fs/affs/namei.c if (error) { error 269 fs/affs/namei.c return error; error 278 fs/affs/namei.c int error; error 293 fs/affs/namei.c error = affs_add_entry(dir, inode, dentry, ST_USERDIR); error 294 fs/affs/namei.c if (error) { error 298 fs/affs/namei.c return error; error 320 fs/affs/namei.c int i, maxlen, error; error 336 fs/affs/namei.c error = -EIO; error 372 fs/affs/namei.c error = affs_add_entry(dir, inode, dentry, ST_SOFTLINK); error 373 fs/affs/namei.c if (error) error 382 fs/affs/namei.c return error; error 98 fs/afs/cell.c goto error; error 111 fs/afs/cell.c error: error 148 fs/afs/cell.c goto error; error 171 fs/afs/cell.c error: error 139 fs/afs/dir.c goto error; error 145 fs/afs/dir.c goto error; error 164 fs/afs/dir.c goto error; error 171 fs/afs/dir.c error: error 743 fs/afs/dir.c goto error; error 748 fs/afs/dir.c goto error; error 786 fs/afs/dir.c error: error 808 fs/afs/dir.c goto error; error 813 fs/afs/dir.c goto error; error 833 fs/afs/dir.c error: error 854 fs/afs/dir.c goto error; error 859 fs/afs/dir.c goto error; error 868 fs/afs/dir.c goto error; error 901 fs/afs/dir.c error: error 928 fs/afs/dir.c goto error; error 933 fs/afs/dir.c goto error; error 971 fs/afs/dir.c error: error 997 fs/afs/dir.c goto error; error 1002 fs/afs/dir.c goto error; error 1017 fs/afs/dir.c error: error 1045 fs/afs/dir.c goto error; error 1049 fs/afs/dir.c goto error; error 1054 fs/afs/dir.c goto error; error 1091 fs/afs/dir.c error: error 1119 fs/afs/dir.c goto error; error 1124 fs/afs/dir.c goto error; error 1138 fs/afs/dir.c error: error 110 fs/afs/file.c _enter("%p,%p,%p,%d", cookie_data, page, data, error); error 112 fs/afs/file.c if (error) error 130 fs/afs/file.c _enter("%p,%p,%p,%d", cookie_data, page, data, error); error 162 fs/afs/file.c goto error; error 204 fs/afs/file.c goto error; error 227 fs/afs/file.c error: error 283 fs/afs/flock.c goto error; error 287 fs/afs/flock.c goto error; error 335 fs/afs/flock.c goto error; error 358 fs/afs/flock.c goto error; error 373 fs/afs/flock.c goto error; error 393 fs/afs/flock.c goto error; error 423 fs/afs/flock.c error: error 496 fs/afs/flock.c goto error; error 508 fs/afs/flock.c error: error 389 fs/afs/inode.c goto error; error 397 fs/afs/inode.c error: error 62 fs/afs/internal.h void (*async_complete)(void *reply, int error); error 103 fs/afs/internal.h int error; /* error code */ error 154 fs/afs/mntpt.c goto error; error 159 fs/afs/mntpt.c goto error; error 163 fs/afs/mntpt.c goto error; error 169 fs/afs/mntpt.c goto error; error 174 fs/afs/mntpt.c goto error; error 199 fs/afs/mntpt.c error: error 462 fs/afs/rxrpc.c call->error = ret; error 475 fs/afs/rxrpc.c call->error = -EBUSY; error 480 fs/afs/rxrpc.c call->error = call->type->abort_to_error(abort_code); error 482 fs/afs/rxrpc.c _debug("Rcv ABORT %u -> %d", abort_code, call->error); error 485 fs/afs/rxrpc.c call->error = -rxrpc_kernel_get_error_number(skb); error 487 fs/afs/rxrpc.c _debug("Rcv NET ERROR %d", call->error); error 490 fs/afs/rxrpc.c call->error = -rxrpc_kernel_get_error_number(skb); error 492 fs/afs/rxrpc.c _debug("Rcv LOCAL ERROR %d", call->error); error 541 fs/afs/rxrpc.c ret = call->error; error 631 fs/afs/rxrpc.c call->error); error 308 fs/afs/security.c goto error; error 315 fs/afs/security.c goto error; error 355 fs/afs/security.c error: error 54 fs/afs/server.c goto error; error 61 fs/afs/server.c error: error 326 fs/afs/super.c goto error; error 336 fs/afs/super.c error: error 371 fs/afs/super.c goto error; error 376 fs/afs/super.c goto error; error 383 fs/afs/super.c goto error; error 391 fs/afs/super.c goto error; error 399 fs/afs/super.c goto error; error 410 fs/afs/super.c goto error; error 426 fs/afs/super.c error: error 462 fs/afs/vlocation.c goto error; error 476 fs/afs/vlocation.c error: error 62 fs/afs/volume.c goto error; error 68 fs/afs/volume.c goto error; error 76 fs/afs/volume.c goto error; error 82 fs/afs/volume.c goto error; error 150 fs/afs/volume.c error: error 162 fs/afs/volume.c goto error; error 347 fs/afs/write.c if (error) error 77 fs/anon_inodes.c int error, fd; error 82 fs/anon_inodes.c error = get_unused_fd_flags(flags); error 83 fs/anon_inodes.c if (error < 0) error 84 fs/anon_inodes.c return error; error 85 fs/anon_inodes.c fd = error; error 91 fs/anon_inodes.c error = -ENOMEM; error 111 fs/anon_inodes.c error = -ENFILE; error 131 fs/anon_inodes.c return error; error 165 fs/anon_inodes.c int error; error 167 fs/anon_inodes.c error = register_filesystem(&anon_inode_fs_type); error 168 fs/anon_inodes.c if (error) error 172 fs/anon_inodes.c error = PTR_ERR(anon_inode_mnt); error 177 fs/anon_inodes.c error = PTR_ERR(anon_inode_inode); error 188 fs/anon_inodes.c panic(KERN_ERR "anon_inode_init() failed (%d)\n", error); error 34 fs/attr.c goto error; error 41 fs/attr.c goto error; error 46 fs/attr.c goto error; error 56 fs/attr.c goto error; error 60 fs/attr.c error: error 72 fs/attr.c int error = vmtruncate(inode, attr->ia_size); error 73 fs/attr.c if (error) error 74 fs/attr.c return error; error 107 fs/attr.c int error; error 126 fs/attr.c error = security_inode_need_killpriv(dentry); error 127 fs/attr.c if (error > 0) error 128 fs/attr.c error = security_inode_killpriv(dentry); error 129 fs/attr.c if (error) error 130 fs/attr.c return error; error 166 fs/attr.c error = security_inode_setattr(dentry, attr); error 167 fs/attr.c if (!error) error 168 fs/attr.c error = inode->i_op->setattr(dentry, attr); error 170 fs/attr.c error = inode_change_ok(inode, attr); error 171 fs/attr.c if (!error) error 172 fs/attr.c error = security_inode_setattr(dentry, attr); error 173 fs/attr.c if (!error) { error 176 fs/attr.c error = DQUOT_TRANSFER(inode, attr) ? -EDQUOT : 0; error 177 fs/attr.c if (!error) error 178 fs/attr.c error = inode_setattr(inode, attr); error 185 fs/attr.c if (!error) error 188 fs/attr.c return error; error 146 fs/befs/btree.c goto error; error 162 fs/befs/btree.c goto error; error 168 fs/befs/btree.c error: error 260 fs/befs/btree.c goto error; error 268 fs/befs/btree.c goto error; error 311 fs/befs/btree.c error: error 436 fs/befs/btree.c goto error; error 443 fs/befs/btree.c goto error; error 523 fs/befs/btree.c error: error 556 fs/befs/btree.c goto error; error 580 fs/befs/btree.c goto error; error 589 fs/befs/btree.c error: error 40 fs/befs/io.c goto error; error 51 fs/befs/io.c goto error; error 57 fs/befs/io.c error: error 73 fs/befs/io.c goto error; error 80 fs/befs/io.c error: error 189 fs/bfs/dir.c int error = -ENOENT; error 212 fs/bfs/dir.c error = 0; error 217 fs/bfs/dir.c return error; error 227 fs/bfs/dir.c int error = -ENOENT; error 244 fs/bfs/dir.c error = -EPERM; error 255 fs/bfs/dir.c error = bfs_add_entry(new_dir, error 259 fs/bfs/dir.c if (error) error 270 fs/bfs/dir.c error = 0; error 276 fs/bfs/dir.c return error; error 50 fs/bfs/inode.c goto error; error 58 fs/bfs/inode.c goto error; error 95 fs/bfs/inode.c error: error 265 fs/binfmt_aout.c unsigned long error; error 331 fs/binfmt_aout.c error = do_brk(N_TXTADDR(ex), ex.a_text); error 336 fs/binfmt_aout.c error = do_brk(N_DATADDR(ex), ex.a_data); error 358 fs/binfmt_aout.c error = do_brk(text_addr & PAGE_MASK, map_size); error 360 fs/binfmt_aout.c if (error != (text_addr & PAGE_MASK)) { error 362 fs/binfmt_aout.c return error; error 365 fs/binfmt_aout.c error = bprm->file->f_op->read(bprm->file, error 368 fs/binfmt_aout.c if ((signed long)error < 0) { error 370 fs/binfmt_aout.c return error; error 403 fs/binfmt_aout.c error = do_mmap(bprm->file, N_TXTADDR(ex), ex.a_text, error 409 fs/binfmt_aout.c if (error != N_TXTADDR(ex)) { error 411 fs/binfmt_aout.c return error; error 415 fs/binfmt_aout.c error = do_mmap(bprm->file, N_DATADDR(ex), ex.a_data, error 420 fs/binfmt_aout.c if (error != N_DATADDR(ex)) { error 422 fs/binfmt_aout.c return error; error 454 fs/binfmt_aout.c unsigned long error; error 461 fs/binfmt_aout.c error = kernel_read(file, 0, (char *) &ex, sizeof(ex)); error 462 fs/binfmt_aout.c if (error != sizeof(ex)) error 510 fs/binfmt_aout.c error = do_mmap(file, start_addr, ex.a_text + ex.a_data, error 515 fs/binfmt_aout.c retval = error; error 516 fs/binfmt_aout.c if (error != start_addr) error 523 fs/binfmt_aout.c error = do_brk(start_addr + len, bss - len); error 525 fs/binfmt_aout.c retval = error; error 526 fs/binfmt_aout.c if (error != start_addr + len) error 386 fs/binfmt_elf.c unsigned long error = ~0UL; error 419 fs/binfmt_elf.c error = -EIO; error 422 fs/binfmt_elf.c error = retval; error 428 fs/binfmt_elf.c error = -EINVAL; error 457 fs/binfmt_elf.c error = map_addr; error 477 fs/binfmt_elf.c error = -ENOMEM; error 506 fs/binfmt_elf.c error = -EFAULT; error 516 fs/binfmt_elf.c error = do_brk(elf_bss, last_bss - elf_bss); error 518 fs/binfmt_elf.c if (BAD_ADDR(error)) error 522 fs/binfmt_elf.c error = load_addr; error 527 fs/binfmt_elf.c return error; error 564 fs/binfmt_elf.c unsigned long error; error 834 fs/binfmt_elf.c error = elf_map(bprm->file, load_bias + vaddr, elf_ppnt, error 836 fs/binfmt_elf.c if (BAD_ADDR(error)) { error 838 fs/binfmt_elf.c retval = IS_ERR((void *)error) ? error 839 fs/binfmt_elf.c PTR_ERR((void*)error) : -EINVAL; error 847 fs/binfmt_elf.c load_bias += error - error 986 fs/binfmt_elf.c error = do_mmap(NULL, 0, PAGE_SIZE, PROT_READ | PROT_EXEC, error 1033 fs/binfmt_elf.c int retval, error, i, j; error 1036 fs/binfmt_elf.c error = -ENOEXEC; error 1054 fs/binfmt_elf.c error = -ENOMEM; error 1060 fs/binfmt_elf.c error = -ENOEXEC; error 1076 fs/binfmt_elf.c error = do_mmap(file, error 1085 fs/binfmt_elf.c if (error != ELF_PAGESTART(eppnt->p_vaddr)) error 1090 fs/binfmt_elf.c error = -EFAULT; error 1102 fs/binfmt_elf.c error = 0; error 1107 fs/binfmt_elf.c return error; error 192 fs/binfmt_elf_fdpic.c goto error; error 197 fs/binfmt_elf_fdpic.c goto error; error 207 fs/binfmt_elf_fdpic.c goto error; error 210 fs/binfmt_elf_fdpic.c goto error; error 215 fs/binfmt_elf_fdpic.c goto error; error 224 fs/binfmt_elf_fdpic.c goto error; error 229 fs/binfmt_elf_fdpic.c goto error; error 238 fs/binfmt_elf_fdpic.c goto error; error 254 fs/binfmt_elf_fdpic.c goto error; error 277 fs/binfmt_elf_fdpic.c goto error; error 284 fs/binfmt_elf_fdpic.c goto error; error 304 fs/binfmt_elf_fdpic.c goto error; error 312 fs/binfmt_elf_fdpic.c goto error; error 438 fs/binfmt_elf_fdpic.c error: error 453 fs/binfmt_elf_fdpic.c goto error; error 496 fs/bio-integrity.c int error = bip->bip_error; error 500 fs/bio-integrity.c error = -EIO; error 507 fs/bio-integrity.c bio->bi_end_io(bio, error); error 528 fs/bio-integrity.c bip->bip_error = error; error 1216 fs/bio.c if (error) error 1219 fs/bio.c error = -EIO; error 1222 fs/bio.c bio->bi_end_io(bio, error); error 1230 fs/bio.c bio_endio(master, bp->error); error 1240 fs/bio.c bp->error = err; error 1250 fs/bio.c bp->error = err; error 1272 fs/bio.c bp->error = 0; error 1276 fs/block_dev.c int error; error 1281 fs/block_dev.c error = path_lookup(path, LOOKUP_FOLLOW, &nd); error 1282 fs/block_dev.c if (error) error 1283 fs/block_dev.c return ERR_PTR(error); error 1286 fs/block_dev.c error = -ENOTBLK; error 1289 fs/block_dev.c error = -EACCES; error 1292 fs/block_dev.c error = -ENOMEM; error 1300 fs/block_dev.c bdev = ERR_PTR(error); error 1319 fs/block_dev.c int error = 0; error 1327 fs/block_dev.c error = blkdev_get(bdev, mode, 0); error 1328 fs/block_dev.c if (error) error 1329 fs/block_dev.c return ERR_PTR(error); error 1330 fs/block_dev.c error = -EACCES; error 1333 fs/block_dev.c error = bd_claim(bdev, holder); error 1334 fs/block_dev.c if (error) error 1341 fs/block_dev.c return ERR_PTR(error); error 91 fs/cifs/asn1.c int error; /* Error condition */ error 111 fs/cifs/asn1.c ctx->error = ASN1_ERR_NOERROR; error 118 fs/cifs/asn1.c ctx->error = ASN1_ERR_DEC_EMPTY; error 232 fs/cifs/asn1.c ctx->error = ASN1_ERR_DEC_EOC_MISMATCH; error 240 fs/cifs/asn1.c ctx->error = ASN1_ERR_DEC_EOC_MISMATCH; error 246 fs/cifs/asn1.c ctx->error = ASN1_ERR_DEC_LENGTH_MISMATCH; error 434 fs/cifs/asn1.c ctx->error = ASN1_ERR_DEC_BADVALUE; error 40 fs/cifs/cifs_spnego.c goto error; error 47 fs/cifs/cifs_spnego.c error: error 92 fs/coda/cnode.c int error; error 95 fs/coda/cnode.c error = venus_getattr(sb, fid, &attr); error 96 fs/coda/cnode.c if ( error ) { error 98 fs/coda/cnode.c return error; error 153 fs/coda/cnode.c int error = -ENOMEM; error 161 fs/coda/cnode.c error = 0; error 164 fs/coda/cnode.c return error; error 101 fs/coda/dir.c int error = 0; error 113 fs/coda/dir.c error = coda_cnode_makectl(&inode, dir->i_sb); error 120 fs/coda/dir.c error = venus_lookup(dir->i_sb, coda_i2f(dir), name, length, error 122 fs/coda/dir.c if (!error) error 123 fs/coda/dir.c error = coda_cnode_make(&inode, &resfid, dir->i_sb); error 127 fs/coda/dir.c if (error && error != -ENOENT) error 128 fs/coda/dir.c return ERR_PTR(error); error 142 fs/coda/dir.c int error = 0; error 154 fs/coda/dir.c error = venus_access(inode->i_sb, coda_i2f(inode), mask); error 156 fs/coda/dir.c if (!error) error 161 fs/coda/dir.c return error; error 199 fs/coda/dir.c int error=0; error 213 fs/coda/dir.c error = venus_create(dir->i_sb, coda_i2f(dir), name, length, error 216 fs/coda/dir.c if ( error ) { error 219 fs/coda/dir.c return error; error 242 fs/coda/dir.c int error; error 253 fs/coda/dir.c error = venus_mkdir(dir->i_sb, coda_i2f(dir), error 256 fs/coda/dir.c if ( error ) { error 259 fs/coda/dir.c return error; error 284 fs/coda/dir.c int error; error 293 fs/coda/dir.c error = venus_link(dir_inode->i_sb, coda_i2f(inode), error 296 fs/coda/dir.c if (error) { error 308 fs/coda/dir.c return(error); error 318 fs/coda/dir.c int error = 0; error 338 fs/coda/dir.c error = venus_symlink(dir_inode->i_sb, coda_i2f(dir_inode), name, len, error 342 fs/coda/dir.c if ( !error ) error 346 fs/coda/dir.c return error; error 352 fs/coda/dir.c int error; error 358 fs/coda/dir.c error = venus_remove(dir->i_sb, coda_i2f(dir), name, len); error 359 fs/coda/dir.c if ( error ) { error 361 fs/coda/dir.c return error; error 374 fs/coda/dir.c int error; error 378 fs/coda/dir.c error = venus_rmdir(dir->i_sb, coda_i2f(dir), name, len); error 379 fs/coda/dir.c if (!error) { error 389 fs/coda/dir.c return error; error 400 fs/coda/dir.c int error; error 404 fs/coda/dir.c error = venus_rename(old_dir->i_sb, coda_i2f(old_dir), error 408 fs/coda/dir.c if ( !error ) { error 424 fs/coda/dir.c return error; error 655 fs/coda/dir.c int error = 0; error 666 fs/coda/dir.c error = venus_getattr(inode->i_sb, &(cii->c_fid), &attr); error 667 fs/coda/dir.c if ( error ) error 127 fs/coda/file.c int error; error 138 fs/coda/file.c error = venus_open(coda_inode->i_sb, coda_i2f(coda_inode), coda_flags, error 141 fs/coda/file.c error = -EIO; error 143 fs/coda/file.c if (error) { error 146 fs/coda/file.c return error; error 147 fs/coda/inode.c int error; error 179 fs/coda/inode.c error = venus_rootfid(sb, &fid); error 180 fs/coda/inode.c if ( error ) { error 182 fs/coda/inode.c error); error 183 fs/coda/inode.c goto error; error 188 fs/coda/inode.c error = coda_cnode_make(&root, &fid, sb); error 189 fs/coda/inode.c if ( error || !root ) { error 190 fs/coda/inode.c printk("Failure of coda_cnode_make for root: error %d\n", error); error 191 fs/coda/inode.c goto error; error 198 fs/coda/inode.c goto error; error 201 fs/coda/inode.c error: error 235 fs/coda/inode.c int error; error 246 fs/coda/inode.c error = venus_setattr(inode->i_sb, coda_i2f(inode), &vattr); error 248 fs/coda/inode.c if ( !error ) { error 255 fs/coda/inode.c return error; error 266 fs/coda/inode.c int error; error 270 fs/coda/inode.c error = venus_statfs(dentry, buf); error 274 fs/coda/inode.c if (error) { error 53 fs/coda/pioctl.c int error; error 68 fs/coda/pioctl.c error = user_path(data.path, &path); error 70 fs/coda/pioctl.c error = user_lpath(data.path, &path); error 73 fs/coda/pioctl.c if ( error ) { error 74 fs/coda/pioctl.c return error; error 88 fs/coda/pioctl.c error = venus_pioctl(inode->i_sb, &(cnp->c_fid), cmd, &data); error 91 fs/coda/pioctl.c return error; error 104 fs/coda/psdev.c int error; error 141 fs/coda/psdev.c error = coda_downcall(hdr.opcode, dcbuf, sb); error 145 fs/coda/psdev.c if (error) { error 146 fs/coda/psdev.c printk("psdev_write: coda_downcall error: %d\n", error); error 147 fs/coda/psdev.c retval = error; error 27 fs/coda/symlink.c int error; error 35 fs/coda/symlink.c error = venus_readlink(inode->i_sb, &cii->c_fid, p, &len); error 37 fs/coda/symlink.c if (error) error 48 fs/coda/symlink.c return error; error 78 fs/coda/upcall.c int insize, outsize, error; error 83 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 84 fs/coda/upcall.c if (!error) error 88 fs/coda/upcall.c return error; error 96 fs/coda/upcall.c int insize, outsize, error; error 102 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 103 fs/coda/upcall.c if (!error) error 107 fs/coda/upcall.c return error; error 115 fs/coda/upcall.c int insize, outsize, error; error 123 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 126 fs/coda/upcall.c return error; error 135 fs/coda/upcall.c int insize, outsize, error; error 149 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 150 fs/coda/upcall.c if (!error) { error 156 fs/coda/upcall.c return error; error 164 fs/coda/upcall.c int insize, outsize, error; error 173 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 176 fs/coda/upcall.c return error; error 184 fs/coda/upcall.c int insize, outsize, error; error 192 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 193 fs/coda/upcall.c if (!error) error 197 fs/coda/upcall.c return error; error 206 fs/coda/upcall.c int insize, outsize, error; error 220 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 221 fs/coda/upcall.c if (!error) { error 227 fs/coda/upcall.c return error; error 238 fs/coda/upcall.c int insize, outsize, error; error 262 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 265 fs/coda/upcall.c return error; error 274 fs/coda/upcall.c int insize, outsize, error; error 291 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 292 fs/coda/upcall.c if (!error) { error 298 fs/coda/upcall.c return error; error 306 fs/coda/upcall.c int insize, outsize, error; error 318 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 321 fs/coda/upcall.c return error; error 329 fs/coda/upcall.c int error=0, insize, outsize, offset; error 340 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 343 fs/coda/upcall.c return error; error 351 fs/coda/upcall.c int insize, outsize, error; error 361 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 362 fs/coda/upcall.c if (!error) { error 373 fs/coda/upcall.c return error; error 383 fs/coda/upcall.c int insize, outsize, error; error 398 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 401 fs/coda/upcall.c return error; error 410 fs/coda/upcall.c int insize, outsize, error; error 433 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 436 fs/coda/upcall.c return error; error 443 fs/coda/upcall.c int insize, outsize, error; error 449 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), sizeof(union inputArgs), error 453 fs/coda/upcall.c return error; error 460 fs/coda/upcall.c int insize, outsize, error; error 468 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); error 471 fs/coda/upcall.c return error; error 480 fs/coda/upcall.c int insize, outsize, error; error 488 fs/coda/upcall.c error = -EINVAL; error 493 fs/coda/upcall.c error = -EINVAL; error 513 fs/coda/upcall.c error = -EINVAL; error 517 fs/coda/upcall.c error = coda_upcall(coda_vcp(sb), SIZE(ioctl) + data->vi.in_size, error 520 fs/coda/upcall.c if (error) { error 522 fs/coda/upcall.c error, coda_f2s(fid)); error 527 fs/coda/upcall.c error = -EINVAL; error 533 fs/coda/upcall.c error = -EINVAL; error 541 fs/coda/upcall.c error = -EFAULT; error 547 fs/coda/upcall.c return error; error 554 fs/coda/upcall.c int insize, outsize, error; error 559 fs/coda/upcall.c error = coda_upcall(coda_vcp(dentry->d_sb), insize, &outsize, inp); error 560 fs/coda/upcall.c if (!error) { error 569 fs/coda/upcall.c return error; error 670 fs/coda/upcall.c int error = 0; error 713 fs/coda/upcall.c error = -out->oh.result; error 718 fs/coda/upcall.c error = -EINTR; error 734 fs/coda/upcall.c error = -ENOMEM; error 744 fs/coda/upcall.c error = -EINTR; error 761 fs/coda/upcall.c return error; error 144 fs/compat.c int error = vfs_stat_fd(AT_FDCWD, filename, &stat); error 146 fs/compat.c if (!error) error 147 fs/compat.c error = cp_compat_stat(&stat, statbuf); error 148 fs/compat.c return error; error 155 fs/compat.c int error = vfs_lstat_fd(AT_FDCWD, filename, &stat); error 157 fs/compat.c if (!error) error 158 fs/compat.c error = cp_compat_stat(&stat, statbuf); error 159 fs/compat.c return error; error 167 fs/compat.c int error = -EINVAL; error 173 fs/compat.c error = vfs_lstat_fd(dfd, filename, &stat); error 175 fs/compat.c error = vfs_stat_fd(dfd, filename, &stat); error 177 fs/compat.c if (!error) error 178 fs/compat.c error = cp_compat_stat(&stat, statbuf); error 181 fs/compat.c return error; error 189 fs/compat.c int error = vfs_fstat(fd, &stat); error 191 fs/compat.c if (!error) error 192 fs/compat.c error = cp_compat_stat(&stat, statbuf); error 193 fs/compat.c return error; error 240 fs/compat.c int error; error 242 fs/compat.c error = user_path(pathname, &path); error 243 fs/compat.c if (!error) { error 245 fs/compat.c error = vfs_statfs(path.dentry, &tmp); error 246 fs/compat.c if (!error) error 247 fs/compat.c error = put_compat_statfs(buf, &tmp); error 250 fs/compat.c return error; error 257 fs/compat.c int error; error 259 fs/compat.c error = -EBADF; error 263 fs/compat.c error = vfs_statfs(file->f_path.dentry, &tmp); error 264 fs/compat.c if (!error) error 265 fs/compat.c error = put_compat_statfs(buf, &tmp); error 268 fs/compat.c return error; error 305 fs/compat.c int error; error 310 fs/compat.c error = user_path(pathname, &path); error 311 fs/compat.c if (!error) { error 313 fs/compat.c error = vfs_statfs(path.dentry, &tmp); error 314 fs/compat.c if (!error) error 315 fs/compat.c error = put_compat_statfs64(buf, &tmp); error 318 fs/compat.c return error; error 325 fs/compat.c int error; error 330 fs/compat.c error = -EBADF; error 334 fs/compat.c error = vfs_statfs(file->f_path.dentry, &tmp); error 335 fs/compat.c if (!error) error 336 fs/compat.c error = put_compat_statfs64(buf, &tmp); error 339 fs/compat.c return error; error 820 fs/compat.c int error; error 824 fs/compat.c error = -EBADF; error 832 fs/compat.c error = vfs_readdir(file, compat_fillonedir, &buf); error 833 fs/compat.c if (error >= 0) error 834 fs/compat.c error = buf.result; error 838 fs/compat.c return error; error 852 fs/compat.c int error; error 863 fs/compat.c buf->error = -EINVAL; /* only used if we fail.. */ error 868 fs/compat.c buf->error = -EOVERFLOW; error 893 fs/compat.c buf->error = -EFAULT; error 903 fs/compat.c int error; error 905 fs/compat.c error = -EFAULT; error 909 fs/compat.c error = -EBADF; error 917 fs/compat.c buf.error = 0; error 919 fs/compat.c error = vfs_readdir(file, compat_filldir, &buf); error 920 fs/compat.c if (error < 0) error 922 fs/compat.c error = buf.error; error 926 fs/compat.c error = -EFAULT; error 928 fs/compat.c error = count - buf.count; error 934 fs/compat.c return error; error 943 fs/compat.c int error; error 955 fs/compat.c buf->error = -EINVAL; /* only used if we fail.. */ error 984 fs/compat.c buf->error = -EFAULT; error 994 fs/compat.c int error; error 996 fs/compat.c error = -EFAULT; error 1000 fs/compat.c error = -EBADF; error 1008 fs/compat.c buf.error = 0; error 1010 fs/compat.c error = vfs_readdir(file, compat_filldir64, &buf); error 1011 fs/compat.c if (error < 0) error 1013 fs/compat.c error = buf.error; error 1017 fs/compat.c error = -EFAULT; error 1020 fs/compat.c error = count - buf.count; error 1026 fs/compat.c return error; error 2172 fs/compat.c int error; error 2181 fs/compat.c error = sys_timerfd_settime(ufd, flags, &ut[0], &ut[1]); error 2182 fs/compat.c if (!error && otmr) error 2183 fs/compat.c error = (copy_from_user(&t, &ut[1], sizeof(struct itimerspec)) || error 2186 fs/compat.c return error; error 2192 fs/compat.c int error; error 2197 fs/compat.c error = sys_timerfd_gettime(ufd, ut); error 2198 fs/compat.c if (!error) error 2199 fs/compat.c error = (copy_from_user(&t, ut, sizeof(struct itimerspec)) || error 2202 fs/compat.c return error; error 2772 fs/compat_ioctl.c int error = -EBADF; error 2781 fs/compat_ioctl.c error = security_file_ioctl(filp, cmd, arg); error 2782 fs/compat_ioctl.c if (error) error 2807 fs/compat_ioctl.c error = filp->f_op->compat_ioctl(filp, cmd, arg); error 2808 fs/compat_ioctl.c if (error != -ENOIOCTLCMD) error 2826 fs/compat_ioctl.c error = siocdevprivate_ioctl(fd, cmd, arg); error 2834 fs/compat_ioctl.c error = -EINVAL; error 2842 fs/compat_ioctl.c error = t->handler(fd, cmd, arg, filp); error 2848 fs/compat_ioctl.c error = do_vfs_ioctl(filp, fd, cmd, arg); error 2852 fs/compat_ioctl.c return error; error 182 fs/configfs/dir.c int error; error 185 fs/configfs/dir.c error = configfs_dirent_exists(p->d_fsdata, d->d_name.name); error 186 fs/configfs/dir.c if (!error) error 187 fs/configfs/dir.c error = configfs_make_dirent(p->d_fsdata, d, k, mode, error 189 fs/configfs/dir.c if (!error) { error 190 fs/configfs/dir.c error = configfs_create(d, mode, init_dir); error 191 fs/configfs/dir.c if (!error) { error 204 fs/configfs/dir.c return error; error 220 fs/configfs/dir.c int error = 0; error 231 fs/configfs/dir.c error = create_dir(item,parent,dentry); error 232 fs/configfs/dir.c if (!error) error 234 fs/configfs/dir.c return error; error 352 fs/configfs/dir.c int error; error 356 fs/configfs/dir.c error = configfs_create(dentry, (attr->ca_mode & S_IALLUGO) | S_IFREG, error 358 fs/configfs/dir.c if (error) { error 360 fs/configfs/dir.c return error; error 515 fs/configfs/dir.c int error = 0; error 522 fs/configfs/dir.c if ((error = configfs_create_file(item, attr))) error 527 fs/configfs/dir.c if (error) error 530 fs/configfs/dir.c return error; error 1384 fs/configfs/dir.c int error = 0; error 1401 fs/configfs/dir.c error = config_item_set_name(item, "%s", new_name); error 1402 fs/configfs/dir.c if (!error) { error 1409 fs/configfs/dir.c error = -EEXIST; error 1415 fs/configfs/dir.c return error; error 140 fs/configfs/file.c int error; error 149 fs/configfs/file.c error = copy_from_user(buffer->page,buf,count); error 154 fs/configfs/file.c return error ? -EFAULT : count; error 219 fs/configfs/file.c int error = 0; error 226 fs/configfs/file.c error = -ENODEV; error 260 fs/configfs/file.c error = -ENOMEM; error 270 fs/configfs/file.c error = -EINVAL; error 273 fs/configfs/file.c error = -EACCES; error 277 fs/configfs/file.c if (error && item) error 279 fs/configfs/file.c return error; error 321 fs/configfs/file.c int error = 0; error 324 fs/configfs/file.c error = configfs_make_dirent(parent_sd, NULL, (void *) attr, mode, type); error 327 fs/configfs/file.c return error; error 63 fs/configfs/inode.c int error; error 70 fs/configfs/inode.c error = inode_change_ok(inode, iattr); error 71 fs/configfs/inode.c if (error) error 72 fs/configfs/inode.c return error; error 74 fs/configfs/inode.c error = inode_setattr(inode, iattr); error 75 fs/configfs/inode.c if (error) error 76 fs/configfs/inode.c return error; error 114 fs/configfs/inode.c return error; error 158 fs/configfs/inode.c int error = 0; error 171 fs/configfs/inode.c error = -ENOMEM; error 173 fs/configfs/inode.c error = -EEXIST; error 175 fs/configfs/inode.c error = -ENOENT; error 180 fs/configfs/inode.c error = init(inode); error 181 fs/configfs/inode.c if (!error) { error 188 fs/configfs/inode.c return error; error 67 fs/configfs/item.c int error = 0; error 88 fs/configfs/item.c error = -ENOMEM; error 98 fs/configfs/item.c error = -EFAULT; error 110 fs/configfs/item.c return error; error 263 fs/configfs/symlink.c int error = 0; error 276 fs/configfs/symlink.c error = configfs_get_target_path(item, target_item, path); error 281 fs/configfs/symlink.c return error; error 287 fs/configfs/symlink.c int error = -ENOMEM; error 291 fs/configfs/symlink.c error = configfs_getlink(dentry, (char *)page); error 292 fs/configfs/symlink.c if (!error) { error 298 fs/configfs/symlink.c nd_set_link(nd, ERR_PTR(error)); error 365 fs/cramfs/inode.c int namelen, error; error 391 fs/cramfs/inode.c error = filldir(dirent, buf, namelen, offset, ino, mode >> 12); error 392 fs/cramfs/inode.c if (error) error 1242 fs/dcache.c int error; error 1252 fs/dcache.c error = -ENOMEM; error 1322 fs/dcache.c return ERR_PTR(error); error 2090 fs/dcache.c int error; error 2104 fs/dcache.c error = -ENOENT; error 2115 fs/dcache.c error = PTR_ERR(cwd); error 2119 fs/dcache.c error = -ERANGE; error 2122 fs/dcache.c error = len; error 2124 fs/dcache.c error = -EFAULT; error 2133 fs/dcache.c return error; error 72 fs/debugfs/inode.c int error = -EPERM; error 81 fs/debugfs/inode.c error = 0; error 83 fs/debugfs/inode.c return error; error 146 fs/debugfs/inode.c int error = 0; error 169 fs/debugfs/inode.c error = debugfs_mkdir(parent->d_inode, *dentry, mode); error 172 fs/debugfs/inode.c error = debugfs_link(parent->d_inode, *dentry, mode); error 175 fs/debugfs/inode.c error = debugfs_create(parent->d_inode, *dentry, mode); error 180 fs/debugfs/inode.c error = PTR_ERR(*dentry); error 183 fs/debugfs/inode.c return error; error 217 fs/debugfs/inode.c int error; error 221 fs/debugfs/inode.c error = simple_pin_fs(&debug_fs_type, &debugfs_mount, error 223 fs/debugfs/inode.c if (error) error 226 fs/debugfs/inode.c error = debugfs_create_by_name(name, mode, parent, &dentry); error 227 fs/debugfs/inode.c if (error) { error 461 fs/debugfs/inode.c int error; error 480 fs/debugfs/inode.c error = simple_rename(old_dir->d_inode, old_dentry, new_dir->d_inode, error 482 fs/debugfs/inode.c if (error) { error 145 fs/dlm/ast.c int error = 0; error 153 fs/dlm/ast.c error = PTR_ERR(p); error 156 fs/dlm/ast.c return error; error 204 fs/dlm/dir.c int error = -ENOMEM, last_len, count = 0; error 224 fs/dlm/dir.c error = dlm_recovery_stopped(ls); error 225 fs/dlm/dir.c if (error) error 228 fs/dlm/dir.c error = dlm_rcom_names(ls, memb->nodeid, error 230 fs/dlm/dir.c if (error) error 246 fs/dlm/dir.c error = -EINVAL; error 270 fs/dlm/dir.c error = -ENOMEM; error 292 fs/dlm/dir.c error = 0; error 299 fs/dlm/dir.c return error; error 360 fs/dlm/lock.c int error = 0; error 371 fs/dlm/lock.c error = -ENOTBLK; error 373 fs/dlm/lock.c return error; error 380 fs/dlm/lock.c int error; error 382 fs/dlm/lock.c error = search_rsb_list(&ls->ls_rsbtbl[b].list, name, len, flags, &r); error 383 fs/dlm/lock.c if (!error) { error 387 fs/dlm/lock.c error = search_rsb_list(&ls->ls_rsbtbl[b].toss, name, len, flags, &r); error 388 fs/dlm/lock.c if (error) error 408 fs/dlm/lock.c return error; error 414 fs/dlm/lock.c int error; error 416 fs/dlm/lock.c error = _search_rsb(ls, name, len, b, flags, r_ret); error 418 fs/dlm/lock.c return error; error 440 fs/dlm/lock.c int error = -EINVAL; error 448 fs/dlm/lock.c error = 0; error 452 fs/dlm/lock.c error = search_rsb(ls, name, namelen, bucket, flags, &r); error 453 fs/dlm/lock.c if (!error) error 456 fs/dlm/lock.c if (error == -EBADR && !(flags & R_CREATE)) error 460 fs/dlm/lock.c if (error == -ENOTBLK) error 463 fs/dlm/lock.c error = -ENOMEM; error 482 fs/dlm/lock.c error = _search_rsb(ls, name, namelen, bucket, 0, &tmp); error 483 fs/dlm/lock.c if (!error) { error 491 fs/dlm/lock.c error = 0; error 494 fs/dlm/lock.c return error; error 811 fs/dlm/lock.c int error = 0; error 817 fs/dlm/lock.c error = -EINVAL; error 830 fs/dlm/lock.c error = -EBUSY; error 851 fs/dlm/lock.c if (error) error 853 fs/dlm/lock.c lkb->lkb_id, error, lkb->lkb_flags, mstype, error 856 fs/dlm/lock.c return error; error 919 fs/dlm/lock.c int error; error 922 fs/dlm/lock.c error = _remove_from_waiters(lkb, mstype); error 924 fs/dlm/lock.c return error; error 933 fs/dlm/lock.c int error; error 937 fs/dlm/lock.c error = _remove_from_waiters(lkb, ms->m_type); error 940 fs/dlm/lock.c return error; error 1856 fs/dlm/lock.c int i, error, dir_nodeid, ret_nodeid, our_nodeid = dlm_our_nodeid(); error 1897 fs/dlm/lock.c error = dlm_dir_lookup(ls, our_nodeid, r->res_name, error 1899 fs/dlm/lock.c if (!error) error 1901 fs/dlm/lock.c log_debug(ls, "dir_lookup error %d %s", error, r->res_name); error 1904 fs/dlm/lock.c if (error && error != -EEXIST) error 1905 fs/dlm/lock.c return error; error 1939 fs/dlm/lock.c switch (error) { error 1965 fs/dlm/lock.c log_error(r->res_ls, "confirm_master unknown error %d", error); error 2227 fs/dlm/lock.c int error = 0; error 2236 fs/dlm/lock.c error = -EINPROGRESS; error 2243 fs/dlm/lock.c error = -EAGAIN; error 2249 fs/dlm/lock.c return error; error 2254 fs/dlm/lock.c int error = 0; error 2277 fs/dlm/lock.c error = -EDEADLK; error 2299 fs/dlm/lock.c error = -EINPROGRESS; error 2307 fs/dlm/lock.c error = -EAGAIN; error 2313 fs/dlm/lock.c return error; error 2328 fs/dlm/lock.c int error; error 2330 fs/dlm/lock.c error = revert_lock(r, lkb); error 2331 fs/dlm/lock.c if (error) { error 2348 fs/dlm/lock.c int error; error 2352 fs/dlm/lock.c error = set_master(r, lkb); error 2353 fs/dlm/lock.c if (error < 0) error 2355 fs/dlm/lock.c if (error) { error 2356 fs/dlm/lock.c error = 0; error 2362 fs/dlm/lock.c error = send_request(r, lkb); error 2364 fs/dlm/lock.c error = do_request(r, lkb); error 2366 fs/dlm/lock.c return error; error 2373 fs/dlm/lock.c int error; error 2377 fs/dlm/lock.c error = send_convert(r, lkb); error 2379 fs/dlm/lock.c error = do_convert(r, lkb); error 2381 fs/dlm/lock.c return error; error 2388 fs/dlm/lock.c int error; error 2392 fs/dlm/lock.c error = send_unlock(r, lkb); error 2394 fs/dlm/lock.c error = do_unlock(r, lkb); error 2396 fs/dlm/lock.c return error; error 2403 fs/dlm/lock.c int error; error 2407 fs/dlm/lock.c error = send_cancel(r, lkb); error 2409 fs/dlm/lock.c error = do_cancel(r, lkb); error 2411 fs/dlm/lock.c return error; error 2423 fs/dlm/lock.c int error; error 2425 fs/dlm/lock.c error = validate_lock_args(ls, lkb, args); error 2426 fs/dlm/lock.c if (error) error 2429 fs/dlm/lock.c error = find_rsb(ls, name, len, R_CREATE, &r); error 2430 fs/dlm/lock.c if (error) error 2438 fs/dlm/lock.c error = _request_lock(r, lkb); error 2444 fs/dlm/lock.c return error; error 2451 fs/dlm/lock.c int error; error 2458 fs/dlm/lock.c error = validate_lock_args(ls, lkb, args); error 2459 fs/dlm/lock.c if (error) error 2462 fs/dlm/lock.c error = _convert_lock(r, lkb); error 2466 fs/dlm/lock.c return error; error 2473 fs/dlm/lock.c int error; error 2480 fs/dlm/lock.c error = validate_unlock_args(lkb, args); error 2481 fs/dlm/lock.c if (error) error 2484 fs/dlm/lock.c error = _unlock_lock(r, lkb); error 2488 fs/dlm/lock.c return error; error 2495 fs/dlm/lock.c int error; error 2502 fs/dlm/lock.c error = validate_unlock_args(lkb, args); error 2503 fs/dlm/lock.c if (error) error 2506 fs/dlm/lock.c error = _cancel_lock(r, lkb); error 2510 fs/dlm/lock.c return error; error 2531 fs/dlm/lock.c int error, convert = flags & DLM_LKF_CONVERT; error 2540 fs/dlm/lock.c error = find_lkb(ls, lksb->sb_lkid, &lkb); error 2542 fs/dlm/lock.c error = create_lkb(ls, &lkb); error 2544 fs/dlm/lock.c if (error) error 2547 fs/dlm/lock.c error = set_lock_args(mode, lksb, flags, namelen, 0, ast, error 2549 fs/dlm/lock.c if (error) error 2553 fs/dlm/lock.c error = convert_lock(ls, lkb, &args); error 2555 fs/dlm/lock.c error = request_lock(ls, lkb, name, namelen, &args); error 2557 fs/dlm/lock.c if (error == -EINPROGRESS) error 2558 fs/dlm/lock.c error = 0; error 2560 fs/dlm/lock.c if (convert || error) error 2562 fs/dlm/lock.c if (error == -EAGAIN || error == -EDEADLK) error 2563 fs/dlm/lock.c error = 0; error 2567 fs/dlm/lock.c return error; error 2579 fs/dlm/lock.c int error; error 2587 fs/dlm/lock.c error = find_lkb(ls, lkid, &lkb); error 2588 fs/dlm/lock.c if (error) error 2591 fs/dlm/lock.c error = set_unlock_args(flags, astarg, &args); error 2592 fs/dlm/lock.c if (error) error 2596 fs/dlm/lock.c error = cancel_lock(ls, lkb, &args); error 2598 fs/dlm/lock.c error = unlock_lock(ls, lkb, &args); error 2600 fs/dlm/lock.c if (error == -DLM_EUNLOCK || error == -DLM_ECANCEL) error 2601 fs/dlm/lock.c error = 0; error 2602 fs/dlm/lock.c if (error == -EBUSY && (flags & (DLM_LKF_CANCEL | DLM_LKF_FORCEUNLOCK))) error 2603 fs/dlm/lock.c error = 0; error 2609 fs/dlm/lock.c return error; error 2753 fs/dlm/lock.c int to_nodeid, error; error 2755 fs/dlm/lock.c error = add_to_waiters(lkb, mstype); error 2756 fs/dlm/lock.c if (error) error 2757 fs/dlm/lock.c return error; error 2761 fs/dlm/lock.c error = create_message(r, lkb, to_nodeid, mstype, &ms, &mh); error 2762 fs/dlm/lock.c if (error) error 2767 fs/dlm/lock.c error = send_message(mh, ms); error 2768 fs/dlm/lock.c if (error) error 2774 fs/dlm/lock.c return error; error 2784 fs/dlm/lock.c int error; error 2786 fs/dlm/lock.c error = send_common(r, lkb, DLM_MSG_CONVERT); error 2789 fs/dlm/lock.c if (!error && down_conversion(lkb)) { error 2797 fs/dlm/lock.c return error; error 2818 fs/dlm/lock.c int to_nodeid, error; error 2822 fs/dlm/lock.c error = create_message(r, lkb, to_nodeid, DLM_MSG_GRANT, &ms, &mh); error 2823 fs/dlm/lock.c if (error) error 2830 fs/dlm/lock.c error = send_message(mh, ms); error 2832 fs/dlm/lock.c return error; error 2839 fs/dlm/lock.c int to_nodeid, error; error 2843 fs/dlm/lock.c error = create_message(r, NULL, to_nodeid, DLM_MSG_BAST, &ms, &mh); error 2844 fs/dlm/lock.c if (error) error 2851 fs/dlm/lock.c error = send_message(mh, ms); error 2853 fs/dlm/lock.c return error; error 2860 fs/dlm/lock.c int to_nodeid, error; error 2862 fs/dlm/lock.c error = add_to_waiters(lkb, DLM_MSG_LOOKUP); error 2863 fs/dlm/lock.c if (error) error 2864 fs/dlm/lock.c return error; error 2868 fs/dlm/lock.c error = create_message(r, NULL, to_nodeid, DLM_MSG_LOOKUP, &ms, &mh); error 2869 fs/dlm/lock.c if (error) error 2874 fs/dlm/lock.c error = send_message(mh, ms); error 2875 fs/dlm/lock.c if (error) error 2881 fs/dlm/lock.c return error; error 2888 fs/dlm/lock.c int to_nodeid, error; error 2892 fs/dlm/lock.c error = create_message(r, NULL, to_nodeid, DLM_MSG_REMOVE, &ms, &mh); error 2893 fs/dlm/lock.c if (error) error 2899 fs/dlm/lock.c error = send_message(mh, ms); error 2901 fs/dlm/lock.c return error; error 2909 fs/dlm/lock.c int to_nodeid, error; error 2913 fs/dlm/lock.c error = create_message(r, lkb, to_nodeid, mstype, &ms, &mh); error 2914 fs/dlm/lock.c if (error) error 2921 fs/dlm/lock.c error = send_message(mh, ms); error 2923 fs/dlm/lock.c return error; error 2952 fs/dlm/lock.c int error, nodeid = ms_in->m_header.h_nodeid; error 2954 fs/dlm/lock.c error = create_message(r, NULL, nodeid, DLM_MSG_LOOKUP_REPLY, &ms, &mh); error 2955 fs/dlm/lock.c if (error) error 2962 fs/dlm/lock.c error = send_message(mh, ms); error 2964 fs/dlm/lock.c return error; error 3080 fs/dlm/lock.c int error = 0; error 3087 fs/dlm/lock.c error = -EINVAL; error 3096 fs/dlm/lock.c error = -EINVAL; error 3101 fs/dlm/lock.c error = -EINVAL; error 3103 fs/dlm/lock.c error = -EINVAL; error 3107 fs/dlm/lock.c error = -EINVAL; error 3110 fs/dlm/lock.c if (error) error 3115 fs/dlm/lock.c return error; error 3122 fs/dlm/lock.c int error, namelen; error 3124 fs/dlm/lock.c error = create_lkb(ls, &lkb); error 3125 fs/dlm/lock.c if (error) error 3130 fs/dlm/lock.c error = receive_request_args(ls, lkb, ms); error 3131 fs/dlm/lock.c if (error) { error 3138 fs/dlm/lock.c error = find_rsb(ls, ms->m_extra, namelen, R_MASTER, &r); error 3139 fs/dlm/lock.c if (error) { error 3147 fs/dlm/lock.c error = do_request(r, lkb); error 3148 fs/dlm/lock.c send_request_reply(r, lkb, error); error 3153 fs/dlm/lock.c if (error == -EINPROGRESS) error 3154 fs/dlm/lock.c error = 0; error 3155 fs/dlm/lock.c if (error) error 3161 fs/dlm/lock.c send_request_reply(&ls->ls_stub_rsb, &ls->ls_stub_lkb, error); error 3168 fs/dlm/lock.c int error, reply = 1; error 3170 fs/dlm/lock.c error = find_lkb(ls, ms->m_remid, &lkb); error 3171 fs/dlm/lock.c if (error) error 3179 fs/dlm/lock.c error = validate_message(lkb, ms); error 3180 fs/dlm/lock.c if (error) error 3184 fs/dlm/lock.c error = receive_convert_args(ls, lkb, ms); error 3185 fs/dlm/lock.c if (error) error 3189 fs/dlm/lock.c error = do_convert(r, lkb); error 3192 fs/dlm/lock.c send_convert_reply(r, lkb, error); error 3201 fs/dlm/lock.c send_convert_reply(&ls->ls_stub_rsb, &ls->ls_stub_lkb, error); error 3208 fs/dlm/lock.c int error; error 3210 fs/dlm/lock.c error = find_lkb(ls, ms->m_remid, &lkb); error 3211 fs/dlm/lock.c if (error) error 3219 fs/dlm/lock.c error = validate_message(lkb, ms); error 3220 fs/dlm/lock.c if (error) error 3224 fs/dlm/lock.c error = receive_unlock_args(ls, lkb, ms); error 3225 fs/dlm/lock.c if (error) error 3228 fs/dlm/lock.c error = do_unlock(r, lkb); error 3230 fs/dlm/lock.c send_unlock_reply(r, lkb, error); error 3239 fs/dlm/lock.c send_unlock_reply(&ls->ls_stub_rsb, &ls->ls_stub_lkb, error); error 3246 fs/dlm/lock.c int error; error 3248 fs/dlm/lock.c error = find_lkb(ls, ms->m_remid, &lkb); error 3249 fs/dlm/lock.c if (error) error 3259 fs/dlm/lock.c error = validate_message(lkb, ms); error 3260 fs/dlm/lock.c if (error) error 3263 fs/dlm/lock.c error = do_cancel(r, lkb); error 3264 fs/dlm/lock.c send_cancel_reply(r, lkb, error); error 3273 fs/dlm/lock.c send_cancel_reply(&ls->ls_stub_rsb, &ls->ls_stub_lkb, error); error 3280 fs/dlm/lock.c int error; error 3282 fs/dlm/lock.c error = find_lkb(ls, ms->m_remid, &lkb); error 3283 fs/dlm/lock.c if (error) { error 3294 fs/dlm/lock.c error = validate_message(lkb, ms); error 3295 fs/dlm/lock.c if (error) error 3313 fs/dlm/lock.c int error; error 3315 fs/dlm/lock.c error = find_lkb(ls, ms->m_remid, &lkb); error 3316 fs/dlm/lock.c if (error) { error 3327 fs/dlm/lock.c error = validate_message(lkb, ms); error 3328 fs/dlm/lock.c if (error) error 3340 fs/dlm/lock.c int len, error, ret_nodeid, dir_nodeid, from_nodeid, our_nodeid; error 3351 fs/dlm/lock.c error = -EINVAL; error 3356 fs/dlm/lock.c error = dlm_dir_lookup(ls, from_nodeid, ms->m_extra, len, &ret_nodeid); error 3359 fs/dlm/lock.c if (!error && ret_nodeid == our_nodeid) { error 3364 fs/dlm/lock.c send_lookup_reply(ls, ms, ret_nodeid, error); error 3394 fs/dlm/lock.c int error, mstype, result; error 3396 fs/dlm/lock.c error = find_lkb(ls, ms->m_remid, &lkb); error 3397 fs/dlm/lock.c if (error) { error 3407 fs/dlm/lock.c error = validate_message(lkb, ms); error 3408 fs/dlm/lock.c if (error) error 3412 fs/dlm/lock.c error = remove_from_waiters(lkb, DLM_MSG_REQUEST_REPLY); error 3413 fs/dlm/lock.c if (error) error 3538 fs/dlm/lock.c int error; error 3543 fs/dlm/lock.c error = validate_message(lkb, ms); error 3544 fs/dlm/lock.c if (error) error 3548 fs/dlm/lock.c error = remove_from_waiters_ms(lkb, ms); error 3549 fs/dlm/lock.c if (error) error 3561 fs/dlm/lock.c int error; error 3563 fs/dlm/lock.c error = find_lkb(ls, ms->m_remid, &lkb); error 3564 fs/dlm/lock.c if (error) { error 3577 fs/dlm/lock.c int error; error 3582 fs/dlm/lock.c error = validate_message(lkb, ms); error 3583 fs/dlm/lock.c if (error) error 3587 fs/dlm/lock.c error = remove_from_waiters_ms(lkb, ms); error 3588 fs/dlm/lock.c if (error) error 3613 fs/dlm/lock.c int error; error 3615 fs/dlm/lock.c error = find_lkb(ls, ms->m_remid, &lkb); error 3616 fs/dlm/lock.c if (error) { error 3629 fs/dlm/lock.c int error; error 3634 fs/dlm/lock.c error = validate_message(lkb, ms); error 3635 fs/dlm/lock.c if (error) error 3639 fs/dlm/lock.c error = remove_from_waiters_ms(lkb, ms); error 3640 fs/dlm/lock.c if (error) error 3665 fs/dlm/lock.c int error; error 3667 fs/dlm/lock.c error = find_lkb(ls, ms->m_remid, &lkb); error 3668 fs/dlm/lock.c if (error) { error 3682 fs/dlm/lock.c int error, ret_nodeid; error 3684 fs/dlm/lock.c error = find_lkb(ls, ms->m_lkid, &lkb); error 3685 fs/dlm/lock.c if (error) { error 3697 fs/dlm/lock.c error = remove_from_waiters(lkb, DLM_MSG_LOOKUP_REPLY); error 3698 fs/dlm/lock.c if (error) error 4071 fs/dlm/lock.c int error = 0, mstype, err, oc, ou; error 4076 fs/dlm/lock.c error = -EINTR; error 4154 fs/dlm/lock.c return error; error 4349 fs/dlm/lock.c int error; error 4352 fs/dlm/lock.c error = -EOPNOTSUPP; error 4356 fs/dlm/lock.c error = find_rsb(ls, rl->rl_name, le16_to_cpu(rl->rl_namelen), error 4358 fs/dlm/lock.c if (error) error 4365 fs/dlm/lock.c error = -EEXIST; error 4369 fs/dlm/lock.c error = create_lkb(ls, &lkb); error 4370 fs/dlm/lock.c if (error) error 4373 fs/dlm/lock.c error = receive_rcom_lock_args(ls, lkb, r, rc); error 4374 fs/dlm/lock.c if (error) { error 4381 fs/dlm/lock.c error = 0; error 4392 fs/dlm/lock.c if (error) error 4393 fs/dlm/lock.c log_debug(ls, "recover_master_copy %d %x", error, error 4395 fs/dlm/lock.c rl->rl_result = cpu_to_le32(error); error 4396 fs/dlm/lock.c return error; error 4405 fs/dlm/lock.c int error; error 4407 fs/dlm/lock.c error = find_lkb(ls, le32_to_cpu(rl->rl_lkid), &lkb); error 4408 fs/dlm/lock.c if (error) { error 4411 fs/dlm/lock.c return error; error 4416 fs/dlm/lock.c error = le32_to_cpu(rl->rl_result); error 4422 fs/dlm/lock.c switch (error) { error 4439 fs/dlm/lock.c error, lkb->lkb_id); error 4459 fs/dlm/lock.c int error; error 4463 fs/dlm/lock.c error = create_lkb(ls, &lkb); error 4464 fs/dlm/lock.c if (error) { error 4474 fs/dlm/lock.c error = -ENOMEM; error 4483 fs/dlm/lock.c error = set_lock_args(mode, &ua->lksb, flags, namelen, timeout_cs, error 4488 fs/dlm/lock.c if (error) { error 4493 fs/dlm/lock.c error = request_lock(ls, lkb, name, namelen, &args); error 4495 fs/dlm/lock.c switch (error) { error 4499 fs/dlm/lock.c error = 0; error 4502 fs/dlm/lock.c error = 0; error 4516 fs/dlm/lock.c return error; error 4526 fs/dlm/lock.c int error; error 4530 fs/dlm/lock.c error = find_lkb(ls, lkid, &lkb); error 4531 fs/dlm/lock.c if (error) error 4542 fs/dlm/lock.c error = -ENOMEM; error 4557 fs/dlm/lock.c error = set_lock_args(mode, &ua->lksb, flags, 0, timeout_cs, error 4559 fs/dlm/lock.c if (error) error 4562 fs/dlm/lock.c error = convert_lock(ls, lkb, &args); error 4564 fs/dlm/lock.c if (error == -EINPROGRESS || error == -EAGAIN || error == -EDEADLK) error 4565 fs/dlm/lock.c error = 0; error 4571 fs/dlm/lock.c return error; error 4580 fs/dlm/lock.c int error; error 4584 fs/dlm/lock.c error = find_lkb(ls, lkid, &lkb); error 4585 fs/dlm/lock.c if (error) error 4596 fs/dlm/lock.c error = set_unlock_args(flags, ua, &args); error 4597 fs/dlm/lock.c if (error) error 4600 fs/dlm/lock.c error = unlock_lock(ls, lkb, &args); error 4602 fs/dlm/lock.c if (error == -DLM_EUNLOCK) error 4603 fs/dlm/lock.c error = 0; error 4605 fs/dlm/lock.c if (error == -EBUSY && (flags & DLM_LKF_FORCEUNLOCK)) error 4606 fs/dlm/lock.c error = 0; error 4607 fs/dlm/lock.c if (error) error 4620 fs/dlm/lock.c return error; error 4629 fs/dlm/lock.c int error; error 4633 fs/dlm/lock.c error = find_lkb(ls, lkid, &lkb); error 4634 fs/dlm/lock.c if (error) error 4642 fs/dlm/lock.c error = set_unlock_args(flags, ua, &args); error 4643 fs/dlm/lock.c if (error) error 4646 fs/dlm/lock.c error = cancel_lock(ls, lkb, &args); error 4648 fs/dlm/lock.c if (error == -DLM_ECANCEL) error 4649 fs/dlm/lock.c error = 0; error 4651 fs/dlm/lock.c if (error == -EBUSY) error 4652 fs/dlm/lock.c error = 0; error 4658 fs/dlm/lock.c return error; error 4667 fs/dlm/lock.c int error; error 4671 fs/dlm/lock.c error = find_lkb(ls, lkid, &lkb); error 4672 fs/dlm/lock.c if (error) error 4677 fs/dlm/lock.c error = set_unlock_args(flags, ua, &args); error 4678 fs/dlm/lock.c if (error) error 4687 fs/dlm/lock.c error = validate_unlock_args(lkb, &args); error 4688 fs/dlm/lock.c if (error) error 4692 fs/dlm/lock.c error = _cancel_lock(r, lkb); error 4697 fs/dlm/lock.c if (error == -DLM_ECANCEL) error 4698 fs/dlm/lock.c error = 0; error 4700 fs/dlm/lock.c if (error == -EBUSY) error 4701 fs/dlm/lock.c error = 0; error 4706 fs/dlm/lock.c return error; error 4715 fs/dlm/lock.c int error; error 4724 fs/dlm/lock.c error = cancel_lock(ls, lkb, &args); error 4725 fs/dlm/lock.c if (error == -DLM_ECANCEL) error 4726 fs/dlm/lock.c error = 0; error 4727 fs/dlm/lock.c return error; error 4736 fs/dlm/lock.c int error; error 4740 fs/dlm/lock.c error = unlock_lock(ls, lkb, &args); error 4741 fs/dlm/lock.c if (error == -DLM_EUNLOCK) error 4742 fs/dlm/lock.c error = 0; error 4743 fs/dlm/lock.c return error; error 4882 fs/dlm/lock.c int error; error 4884 fs/dlm/lock.c error = _create_message(ls, sizeof(struct dlm_message), nodeid, error 4886 fs/dlm/lock.c if (error) error 4887 fs/dlm/lock.c return error; error 4897 fs/dlm/lock.c int error = 0; error 4900 fs/dlm/lock.c error = send_purge(ls, nodeid, pid); error 4909 fs/dlm/lock.c return error; error 166 fs/dlm/lockspace.c int error; error 178 fs/dlm/lockspace.c error = wait_event_interruptible(ls->ls_uevent_wait, error 181 fs/dlm/lockspace.c log_debug(ls, "group event done %d %d", error, ls->ls_uevent_result); error 183 fs/dlm/lockspace.c if (error) error 186 fs/dlm/lockspace.c error = ls->ls_uevent_result; error 188 fs/dlm/lockspace.c if (error) error 190 fs/dlm/lockspace.c error, ls->ls_uevent_result); error 191 fs/dlm/lockspace.c return error; error 257 fs/dlm/lockspace.c int error = 0; error 261 fs/dlm/lockspace.c error = PTR_ERR(p); error 264 fs/dlm/lockspace.c return error; error 348 fs/dlm/lockspace.c int error; error 351 fs/dlm/lockspace.c error = dlm_astd_start(); error 352 fs/dlm/lockspace.c if (error) { error 353 fs/dlm/lockspace.c log_print("cannot start dlm_astd thread %d", error); error 357 fs/dlm/lockspace.c error = dlm_scand_start(); error 358 fs/dlm/lockspace.c if (error) { error 359 fs/dlm/lockspace.c log_print("cannot start dlm_scand thread %d", error); error 364 fs/dlm/lockspace.c error = dlm_lowcomms_start(); error 365 fs/dlm/lockspace.c if (error) { error 366 fs/dlm/lockspace.c log_print("cannot start dlm lowcomms %d", error); error 377 fs/dlm/lockspace.c return error; error 391 fs/dlm/lockspace.c int i, size, error; error 408 fs/dlm/lockspace.c error = 0; error 418 fs/dlm/lockspace.c error = -EEXIST; error 423 fs/dlm/lockspace.c error = 1; /* not an error, return 0 */ error 428 fs/dlm/lockspace.c if (error < 0) error 430 fs/dlm/lockspace.c if (error) error 433 fs/dlm/lockspace.c error = -ENOMEM; error 552 fs/dlm/lockspace.c error = dlm_recoverd_start(ls); error 553 fs/dlm/lockspace.c if (error) { error 554 fs/dlm/lockspace.c log_error(ls, "can't start dlm_recoverd %d", error); error 559 fs/dlm/lockspace.c error = kobject_init_and_add(&ls->ls_kobj, &dlm_ktype, NULL, error 561 fs/dlm/lockspace.c if (error) error 574 fs/dlm/lockspace.c error = do_uevent(ls, 1); error 575 fs/dlm/lockspace.c if (error) error 579 fs/dlm/lockspace.c error = ls->ls_members_result; error 580 fs/dlm/lockspace.c if (error) error 614 fs/dlm/lockspace.c return error; error 620 fs/dlm/lockspace.c int error = 0; error 624 fs/dlm/lockspace.c error = threads_start(); error 625 fs/dlm/lockspace.c if (error) error 628 fs/dlm/lockspace.c error = new_lockspace(name, namelen, lockspace, flags, lvblen); error 629 fs/dlm/lockspace.c if (!error) error 635 fs/dlm/lockspace.c return error; error 804 fs/dlm/lockspace.c int error; error 812 fs/dlm/lockspace.c error = release_lockspace(ls, force); error 813 fs/dlm/lockspace.c if (!error) error 819 fs/dlm/lockspace.c return error; error 237 fs/dlm/lowcomms.c int error; error 242 fs/dlm/lowcomms.c error = dlm_nodeid_to_addr(nodeid, &addr); error 243 fs/dlm/lowcomms.c if (error) error 244 fs/dlm/lowcomms.c return error; error 1396 fs/dlm/lowcomms.c int error; error 1398 fs/dlm/lowcomms.c error = IS_ERR(recv_workqueue); error 1399 fs/dlm/lowcomms.c if (error) { error 1400 fs/dlm/lowcomms.c log_print("can't start dlm_recv %d", error); error 1401 fs/dlm/lowcomms.c return error; error 1405 fs/dlm/lowcomms.c error = IS_ERR(send_workqueue); error 1406 fs/dlm/lowcomms.c if (error) { error 1407 fs/dlm/lowcomms.c log_print("can't start dlm_send %d", error); error 1409 fs/dlm/lowcomms.c return error; error 1456 fs/dlm/lowcomms.c int error = -EINVAL; error 1461 fs/dlm/lowcomms.c error = -ENOTCONN; error 1466 fs/dlm/lowcomms.c error = -ENOMEM; error 1475 fs/dlm/lowcomms.c error = tcp_listen_for_all(); error 1477 fs/dlm/lowcomms.c error = sctp_listen_for_all(); error 1478 fs/dlm/lowcomms.c if (error) error 1481 fs/dlm/lowcomms.c error = work_start(); error 1482 fs/dlm/lowcomms.c if (error) error 1496 fs/dlm/lowcomms.c return error; error 23 fs/dlm/main.c int error; error 25 fs/dlm/main.c error = dlm_memory_init(); error 26 fs/dlm/main.c if (error) error 29 fs/dlm/main.c error = dlm_lockspace_init(); error 30 fs/dlm/main.c if (error) error 33 fs/dlm/main.c error = dlm_config_init(); error 34 fs/dlm/main.c if (error) error 37 fs/dlm/main.c error = dlm_register_debugfs(); error 38 fs/dlm/main.c if (error) error 41 fs/dlm/main.c error = dlm_user_init(); error 42 fs/dlm/main.c if (error) error 45 fs/dlm/main.c error = dlm_netlink_init(); error 46 fs/dlm/main.c if (error) error 49 fs/dlm/main.c error = dlm_plock_init(); error 50 fs/dlm/main.c if (error) error 70 fs/dlm/main.c return error; error 166 fs/dlm/member.c int error = 0; error 169 fs/dlm/member.c error = dlm_recovery_stopped(ls); error 170 fs/dlm/member.c if (error) error 172 fs/dlm/member.c error = dlm_rcom_status(ls, memb->nodeid); error 173 fs/dlm/member.c if (error) error 176 fs/dlm/member.c if (error) error 178 fs/dlm/member.c error, ls->ls_recover_nodeid); error 179 fs/dlm/member.c return error; error 185 fs/dlm/member.c int i, error, found, pos = 0, neg = 0, low = -1; error 250 fs/dlm/member.c error = ping_members(ls); error 251 fs/dlm/member.c if (!error || error == -EPROTO) { error 254 fs/dlm/member.c ls->ls_members_result = error; error 257 fs/dlm/member.c if (error) error 260 fs/dlm/member.c error = dlm_recover_members_wait(ls); error 262 fs/dlm/member.c log_debug(ls, "total members %d error %d", ls->ls_num_nodes, error); error 263 fs/dlm/member.c return error; error 335 fs/dlm/member.c int error, ids_count = 0, new_count = 0; error 341 fs/dlm/member.c error = dlm_nodeid_list(ls->ls_name, &ids, &ids_count, error 343 fs/dlm/member.c if (error < 0) error 353 fs/dlm/member.c error = -EINVAL; error 381 fs/dlm/member.c return error; error 134 fs/dlm/rcom.c int error = 0; error 144 fs/dlm/rcom.c error = create_rcom(ls, nodeid, DLM_RCOM_STATUS, 0, &rc, &mh); error 145 fs/dlm/rcom.c if (error) error 153 fs/dlm/rcom.c error = dlm_wait_function(ls, &rcom_response); error 155 fs/dlm/rcom.c if (error) error 165 fs/dlm/rcom.c error = check_config(ls, rc, nodeid); error 168 fs/dlm/rcom.c return error; error 175 fs/dlm/rcom.c int error, nodeid = rc_in->rc_header.h_nodeid; error 177 fs/dlm/rcom.c error = create_rcom(ls, nodeid, DLM_RCOM_STATUS_REPLY, error 179 fs/dlm/rcom.c if (error) error 212 fs/dlm/rcom.c int error = 0; error 226 fs/dlm/rcom.c error = create_rcom(ls, nodeid, DLM_RCOM_NAMES, last_len, &rc, &mh); error 227 fs/dlm/rcom.c if (error) error 236 fs/dlm/rcom.c error = dlm_wait_function(ls, &rcom_response); error 239 fs/dlm/rcom.c return error; error 246 fs/dlm/rcom.c int error, inlen, outlen, nodeid; error 252 fs/dlm/rcom.c error = create_rcom(ls, nodeid, DLM_RCOM_NAMES_REPLY, outlen, &rc, &mh); error 253 fs/dlm/rcom.c if (error) error 268 fs/dlm/rcom.c int error; error 270 fs/dlm/rcom.c error = create_rcom(ls, dir_nodeid, DLM_RCOM_LOOKUP, r->res_length, error 272 fs/dlm/rcom.c if (error) error 279 fs/dlm/rcom.c return error; error 286 fs/dlm/rcom.c int error, ret_nodeid, nodeid = rc_in->rc_header.h_nodeid; error 289 fs/dlm/rcom.c error = create_rcom(ls, nodeid, DLM_RCOM_LOOKUP_REPLY, 0, &rc, &mh); error 290 fs/dlm/rcom.c if (error) error 293 fs/dlm/rcom.c error = dlm_dir_lookup(ls, nodeid, rc_in->rc_buf, len, &ret_nodeid); error 294 fs/dlm/rcom.c if (error) error 295 fs/dlm/rcom.c ret_nodeid = error; error 344 fs/dlm/rcom.c int error, len = sizeof(struct rcom_lock); error 349 fs/dlm/rcom.c error = create_rcom(ls, r->res_nodeid, DLM_RCOM_LOCK, len, &rc, &mh); error 350 fs/dlm/rcom.c if (error) error 359 fs/dlm/rcom.c return error; error 367 fs/dlm/rcom.c int error, nodeid = rc_in->rc_header.h_nodeid; error 371 fs/dlm/rcom.c error = create_rcom(ls, nodeid, DLM_RCOM_LOCK_REPLY, error 373 fs/dlm/rcom.c if (error) error 53 fs/dlm/recover.c int error = 0; error 66 fs/dlm/recover.c error = -EINTR; error 68 fs/dlm/recover.c return error; error 99 fs/dlm/recover.c int error = 0, delay; error 105 fs/dlm/recover.c error = -EINTR; error 109 fs/dlm/recover.c error = dlm_rcom_status(ls, memb->nodeid); error 110 fs/dlm/recover.c if (error) error 121 fs/dlm/recover.c return error; error 127 fs/dlm/recover.c int error = 0, delay = 0, nodeid = ls->ls_low_nodeid; error 131 fs/dlm/recover.c error = -EINTR; error 135 fs/dlm/recover.c error = dlm_rcom_status(ls, nodeid); error 136 fs/dlm/recover.c if (error) error 146 fs/dlm/recover.c return error; error 152 fs/dlm/recover.c int error; error 155 fs/dlm/recover.c error = wait_status_all(ls, status); error 156 fs/dlm/recover.c if (!error) error 159 fs/dlm/recover.c error = wait_status_low(ls, status_all); error 161 fs/dlm/recover.c return error; error 331 fs/dlm/recover.c int error, dir_nodeid, ret_nodeid, our_nodeid = dlm_our_nodeid(); error 336 fs/dlm/recover.c error = dlm_dir_lookup(ls, our_nodeid, r->res_name, error 338 fs/dlm/recover.c if (error) error 339 fs/dlm/recover.c log_error(ls, "recover dir lookup error %d", error); error 346 fs/dlm/recover.c error = dlm_send_rcom_lookup(r, dir_nodeid); error 349 fs/dlm/recover.c return error; error 386 fs/dlm/recover.c int error = 0, count = 0; error 394 fs/dlm/recover.c error = -EINTR; error 413 fs/dlm/recover.c error = dlm_wait_function(ls, &recover_list_empty); error 415 fs/dlm/recover.c if (error) error 417 fs/dlm/recover.c return error; error 467 fs/dlm/recover.c int error = 0; error 470 fs/dlm/recover.c error = dlm_send_rcom_lock(r, lkb); error 471 fs/dlm/recover.c if (error) error 476 fs/dlm/recover.c return error; error 481 fs/dlm/recover.c int error = 0; error 487 fs/dlm/recover.c error = recover_locks_queue(r, &r->res_grantqueue); error 488 fs/dlm/recover.c if (error) error 490 fs/dlm/recover.c error = recover_locks_queue(r, &r->res_convertqueue); error 491 fs/dlm/recover.c if (error) error 493 fs/dlm/recover.c error = recover_locks_queue(r, &r->res_waitqueue); error 494 fs/dlm/recover.c if (error) error 503 fs/dlm/recover.c return error; error 509 fs/dlm/recover.c int error, count = 0; error 524 fs/dlm/recover.c error = -EINTR; error 529 fs/dlm/recover.c error = recover_locks(r); error 530 fs/dlm/recover.c if (error) { error 541 fs/dlm/recover.c error = dlm_wait_function(ls, &recover_list_empty); error 543 fs/dlm/recover.c if (error) error 547 fs/dlm/recover.c return error; error 719 fs/dlm/recover.c int i, error = 0; error 724 fs/dlm/recover.c error = -EINVAL; error 752 fs/dlm/recover.c return error; error 35 fs/dlm/recoverd.c int error = -EINTR; error 44 fs/dlm/recoverd.c error = 0; error 49 fs/dlm/recoverd.c return error; error 55 fs/dlm/recoverd.c int error, neg = 0; error 88 fs/dlm/recoverd.c error = dlm_recover_members(ls, rv, &neg); error 89 fs/dlm/recoverd.c if (error) { error 90 fs/dlm/recoverd.c log_debug(ls, "recover_members failed %d", error); error 100 fs/dlm/recoverd.c error = dlm_recover_directory(ls); error 101 fs/dlm/recoverd.c if (error) { error 102 fs/dlm/recoverd.c log_debug(ls, "recover_directory failed %d", error); error 110 fs/dlm/recoverd.c error = dlm_recover_directory_wait(ls); error 111 fs/dlm/recoverd.c if (error) { error 112 fs/dlm/recoverd.c log_debug(ls, "recover_directory_wait failed %d", error); error 124 fs/dlm/recoverd.c error = dlm_recovery_stopped(ls); error 125 fs/dlm/recoverd.c if (error) error 140 fs/dlm/recoverd.c error = dlm_recover_masters(ls); error 141 fs/dlm/recoverd.c if (error) { error 142 fs/dlm/recoverd.c log_debug(ls, "recover_masters failed %d", error); error 150 fs/dlm/recoverd.c error = dlm_recover_locks(ls); error 151 fs/dlm/recoverd.c if (error) { error 152 fs/dlm/recoverd.c log_debug(ls, "recover_locks failed %d", error); error 156 fs/dlm/recoverd.c error = dlm_recover_locks_wait(ls); error 157 fs/dlm/recoverd.c if (error) { error 158 fs/dlm/recoverd.c log_debug(ls, "recover_locks_wait failed %d", error); error 177 fs/dlm/recoverd.c error = dlm_recover_locks_wait(ls); error 178 fs/dlm/recoverd.c if (error) { error 179 fs/dlm/recoverd.c log_debug(ls, "recover_locks_wait failed %d", error); error 195 fs/dlm/recoverd.c error = dlm_recover_done_wait(ls); error 196 fs/dlm/recoverd.c if (error) { error 197 fs/dlm/recoverd.c log_debug(ls, "recover_done_wait failed %d", error); error 205 fs/dlm/recoverd.c error = enable_locking(ls, rv->seq); error 206 fs/dlm/recoverd.c if (error) { error 207 fs/dlm/recoverd.c log_debug(ls, "enable_locking failed %d", error); error 211 fs/dlm/recoverd.c error = dlm_process_requestqueue(ls); error 212 fs/dlm/recoverd.c if (error) { error 213 fs/dlm/recoverd.c log_debug(ls, "process_requestqueue failed %d", error); error 217 fs/dlm/recoverd.c error = dlm_recover_waiters_post(ls); error 218 fs/dlm/recoverd.c if (error) { error 219 fs/dlm/recoverd.c log_debug(ls, "recover_waiters_post failed %d", error); error 237 fs/dlm/recoverd.c (unsigned long long)rv->seq, error); error 239 fs/dlm/recoverd.c return error; error 298 fs/dlm/recoverd.c int error = 0; error 302 fs/dlm/recoverd.c error = PTR_ERR(p); error 305 fs/dlm/recoverd.c return error; error 66 fs/dlm/requestqueue.c int error = 0; error 73 fs/dlm/requestqueue.c error = 0; error 88 fs/dlm/requestqueue.c error = -EINTR; error 94 fs/dlm/requestqueue.c return error; error 259 fs/dlm/user.c int error = -ENOMEM; error 266 fs/dlm/user.c error = -EINVAL; error 282 fs/dlm/user.c error = dlm_user_convert(ls, ua, error 287 fs/dlm/user.c error = dlm_user_request(ls, ua, error 291 fs/dlm/user.c if (!error) error 292 fs/dlm/user.c error = ua->lksb.sb_lkid; error 296 fs/dlm/user.c return error; error 304 fs/dlm/user.c int error = -ENOMEM; error 319 fs/dlm/user.c error = dlm_user_cancel(ls, ua, params->flags, params->lkid); error 321 fs/dlm/user.c error = dlm_user_unlock(ls, ua, params->flags, params->lkid, error 325 fs/dlm/user.c return error; error 332 fs/dlm/user.c int error; error 338 fs/dlm/user.c error = dlm_user_deadlock(ls, params->flags, params->lkid); error 341 fs/dlm/user.c return error; error 346 fs/dlm/user.c int error, len; error 353 fs/dlm/user.c error = -ENOMEM; error 364 fs/dlm/user.c error = misc_register(&ls->ls_device); error 365 fs/dlm/user.c if (error) { error 369 fs/dlm/user.c return error; error 374 fs/dlm/user.c int error; error 382 fs/dlm/user.c error = misc_deregister(&ls->ls_device); error 383 fs/dlm/user.c if (!error) error 385 fs/dlm/user.c return error; error 392 fs/dlm/user.c int error; error 398 fs/dlm/user.c error = dlm_user_purge(ls, proc, params->nodeid, params->pid); error 401 fs/dlm/user.c return error; error 408 fs/dlm/user.c int error; error 413 fs/dlm/user.c error = dlm_new_lockspace(params->name, strlen(params->name), error 415 fs/dlm/user.c if (error) error 416 fs/dlm/user.c return error; error 422 fs/dlm/user.c error = dlm_device_register(ls, params->name); error 425 fs/dlm/user.c if (error) error 428 fs/dlm/user.c error = ls->ls_device.minor; error 430 fs/dlm/user.c return error; error 437 fs/dlm/user.c int error, force = 0; error 459 fs/dlm/user.c error = dlm_release_lockspace(lockspace, force); error 460 fs/dlm/user.c if (error > 0) error 461 fs/dlm/user.c error = 0; error 462 fs/dlm/user.c return error; error 514 fs/dlm/user.c int error; error 528 fs/dlm/user.c error = -EFAULT; error 533 fs/dlm/user.c error = -EBADE; error 558 fs/dlm/user.c error = -EINVAL; error 565 fs/dlm/user.c error = -EINVAL; error 574 fs/dlm/user.c error = device_user_lock(proc, &kbuf->i.lock); error 582 fs/dlm/user.c error = device_user_unlock(proc, &kbuf->i.lock); error 590 fs/dlm/user.c error = device_user_deadlock(proc, &kbuf->i.lock); error 598 fs/dlm/user.c error = device_create_lockspace(&kbuf->i.lspace); error 606 fs/dlm/user.c error = device_remove_lockspace(&kbuf->i.lspace); error 614 fs/dlm/user.c error = device_user_purge(proc, &kbuf->i.purge); error 627 fs/dlm/user.c return error; error 705 fs/dlm/user.c int error=0; error 746 fs/dlm/user.c error = -EFAULT; error 764 fs/dlm/user.c error = -EFAULT; error 766 fs/dlm/user.c error = len; error 768 fs/dlm/user.c return error; error 793 fs/dlm/user.c int error, type=0, bmode=0, removed = 0; error 796 fs/dlm/user.c error = copy_version_to_user(buf, count); error 797 fs/dlm/user.c return error; error 862 fs/dlm/user.c error = copy_result_to_user(lkb->lkb_ua, error 871 fs/dlm/user.c return error; error 971 fs/dlm/user.c int error; error 975 fs/dlm/user.c error = misc_register(&ctl_device); error 976 fs/dlm/user.c if (error) { error 981 fs/dlm/user.c error = misc_register(&monitor_device); error 982 fs/dlm/user.c if (error) { error 987 fs/dlm/user.c return error; error 71 fs/dnotify.c int error = 0; error 106 fs/dnotify.c error = __f_setown(filp, task_pid(current), PIDTYPE_PID, 0); error 107 fs/dnotify.c if (error) error 126 fs/dnotify.c return error; error 1684 fs/dquot.c int error; error 1690 fs/dquot.c error = -EACCES; error 1694 fs/dquot.c error = -EROFS; error 1698 fs/dquot.c error = -EINVAL; error 1711 fs/dquot.c error = -EBUSY; error 1723 fs/dquot.c error = -EIO; error 1727 fs/dquot.c error = -EINVAL; error 1736 fs/dquot.c if ((error = dqopt->ops[type]->read_file_info(sb, type)) < 0) { error 1766 fs/dquot.c return error; error 1797 fs/dquot.c int error = security_quota_on(path->dentry); error 1798 fs/dquot.c if (error) error 1799 fs/dquot.c return error; error 1802 fs/dquot.c error = -EXDEV; error 1804 fs/dquot.c error = vfs_quota_on_inode(path->dentry->d_inode, type, error 1806 fs/dquot.c return error; error 1814 fs/dquot.c int error; error 1819 fs/dquot.c error = path_lookup(path, LOOKUP_FOLLOW, &nd); error 1820 fs/dquot.c if (!error) { error 1821 fs/dquot.c error = vfs_quota_on_path(sb, type, format_id, &nd.path); error 1824 fs/dquot.c return error; error 1835 fs/dquot.c int error; error 1842 fs/dquot.c error = -ENOENT; error 1846 fs/dquot.c error = security_quota_on(dentry); error 1847 fs/dquot.c if (!error) error 1848 fs/dquot.c error = vfs_quota_on_inode(dentry->d_inode, type, format_id); error 1852 fs/dquot.c return error; error 1654 fs/ecryptfs/crypto.c int error = 0; error 1658 fs/ecryptfs/crypto.c error = -ENOMEM; error 1669 fs/ecryptfs/crypto.c error = length + 1; error 1671 fs/ecryptfs/crypto.c return error; error 1698 fs/ecryptfs/crypto.c int error = 0; error 1702 fs/ecryptfs/crypto.c error = -ENOMEM; error 1716 fs/ecryptfs/crypto.c error = length; error 1718 fs/ecryptfs/crypto.c return error; error 15 fs/efs/file.c int error = -EROFS; error 19 fs/efs/file.c return error; error 118 fs/efs/namei.c long error; error 122 fs/efs/namei.c error = -ENOENT; error 129 fs/efs/namei.c error = PTR_ERR(inode); error 133 fs/efs/namei.c error = -ENOMEM; error 145 fs/efs/namei.c return ERR_PTR(error); error 701 fs/eventpoll.c int error, revents, pwake = 0; error 706 fs/eventpoll.c error = -ENOMEM; error 793 fs/eventpoll.c return error; error 852 fs/eventpoll.c int eventcnt, error = -EFAULT, pwake = 0; error 922 fs/eventpoll.c error = 0; error 970 fs/eventpoll.c return eventcnt == 0 ? error: eventcnt; error 1048 fs/eventpoll.c int error, fd = -1; error 1063 fs/eventpoll.c error = ep_alloc(&ep); error 1064 fs/eventpoll.c if (error < 0) { error 1065 fs/eventpoll.c fd = error; error 1101 fs/eventpoll.c int error; error 1110 fs/eventpoll.c error = -EFAULT; error 1116 fs/eventpoll.c error = -EBADF; error 1127 fs/eventpoll.c error = -EPERM; error 1136 fs/eventpoll.c error = -EINVAL; error 1155 fs/eventpoll.c error = -EINVAL; error 1161 fs/eventpoll.c error = ep_insert(ep, &epds, tfile, fd); error 1163 fs/eventpoll.c error = -EEXIST; error 1167 fs/eventpoll.c error = ep_remove(ep, epi); error 1169 fs/eventpoll.c error = -ENOENT; error 1174 fs/eventpoll.c error = ep_modify(ep, epi, &epds); error 1176 fs/eventpoll.c error = -ENOENT; error 1187 fs/eventpoll.c current, epfd, op, fd, event, error)); error 1189 fs/eventpoll.c return error; error 1199 fs/eventpoll.c int error; error 1212 fs/eventpoll.c error = -EFAULT; error 1217 fs/eventpoll.c error = -EBADF; error 1226 fs/eventpoll.c error = -EINVAL; error 1237 fs/eventpoll.c error = ep_poll(ep, events, maxevents, timeout); error 1243 fs/eventpoll.c current, epfd, events, maxevents, timeout, error)); error 1245 fs/eventpoll.c return error; error 1258 fs/eventpoll.c int error; error 1274 fs/eventpoll.c error = sys_epoll_wait(epfd, events, maxevents, timeout); error 1283 fs/eventpoll.c if (error == -EINTR) { error 1291 fs/eventpoll.c return error; error 113 fs/exec.c int error = PTR_ERR(tmp); error 116 fs/exec.c error = path_lookup_open(AT_FDCWD, tmp, error 121 fs/exec.c if (error) error 124 fs/exec.c error = -EINVAL; error 128 fs/exec.c error = -EACCES; error 132 fs/exec.c error = vfs_permission(&nd, MAY_READ | MAY_EXEC | MAY_OPEN); error 133 fs/exec.c if (error) error 137 fs/exec.c error = PTR_ERR(file); error 141 fs/exec.c error = -ENOEXEC; error 152 fs/exec.c error = fmt->load_shlib(file); error 155 fs/exec.c if (error != -ENOEXEC) error 162 fs/exec.c return error; error 254 fs/exportfs/expfs.c int error; error 258 fs/exportfs/expfs.c error = -ENOTDIR; error 261 fs/exportfs/expfs.c error = -EINVAL; error 268 fs/exportfs/expfs.c error = PTR_ERR(file); error 272 fs/exportfs/expfs.c error = -EINVAL; error 283 fs/exportfs/expfs.c error = vfs_readdir(file, filldir_one, &buffer); error 285 fs/exportfs/expfs.c if (error < 0) error 288 fs/exportfs/expfs.c error = 0; error 291 fs/exportfs/expfs.c error = -ENOENT; error 299 fs/exportfs/expfs.c return error; error 346 fs/exportfs/expfs.c int error; error 349 fs/exportfs/expfs.c error = nop->encode_fh(dentry, fid->raw, max_len, connectable); error 351 fs/exportfs/expfs.c error = export_encode_fh(dentry, fid, max_len, connectable); error 353 fs/exportfs/expfs.c return error; error 224 fs/ext2/acl.c int error; error 236 fs/ext2/acl.c error = posix_acl_equiv_mode(acl, &mode); error 237 fs/ext2/acl.c if (error < 0) error 238 fs/ext2/acl.c return error; error 242 fs/ext2/acl.c if (error == 0) error 263 fs/ext2/acl.c error = ext2_xattr_set(inode, name_index, "", value, size, 0); error 266 fs/ext2/acl.c if (!error) { error 277 fs/ext2/acl.c return error; error 288 fs/ext2/acl.c int error = posix_acl_permission(inode, acl, mask); error 290 fs/ext2/acl.c return error; error 312 fs/ext2/acl.c int error = 0; error 328 fs/ext2/acl.c error = ext2_set_acl(inode, ACL_TYPE_DEFAULT, acl); error 329 fs/ext2/acl.c if (error) error 333 fs/ext2/acl.c error = -ENOMEM; error 337 fs/ext2/acl.c error = posix_acl_create_masq(clone, &mode); error 338 fs/ext2/acl.c if (error >= 0) { error 340 fs/ext2/acl.c if (error > 0) { error 342 fs/ext2/acl.c error = ext2_set_acl(inode, error 350 fs/ext2/acl.c return error; error 371 fs/ext2/acl.c int error; error 384 fs/ext2/acl.c error = posix_acl_chmod_masq(clone, inode->i_mode); error 385 fs/ext2/acl.c if (!error) error 386 fs/ext2/acl.c error = ext2_set_acl(inode, ACL_TYPE_ACCESS, clone); error 388 fs/ext2/acl.c return error; error 424 fs/ext2/acl.c int error; error 434 fs/ext2/acl.c error = posix_acl_to_xattr(acl, buffer, size); error 437 fs/ext2/acl.c return error; error 463 fs/ext2/acl.c int error; error 475 fs/ext2/acl.c error = posix_acl_valid(acl); error 476 fs/ext2/acl.c if (error) error 482 fs/ext2/acl.c error = ext2_set_acl(inode, type, acl); error 486 fs/ext2/acl.c return error; error 116 fs/ext2/dir.c char *error; error 155 fs/ext2/dir.c error = "rec_len is smaller than minimal"; error 158 fs/ext2/dir.c error = "unaligned directory entry"; error 161 fs/ext2/dir.c error = "rec_len is too small for name_len"; error 164 fs/ext2/dir.c error = "directory entry across blocks"; error 167 fs/ext2/dir.c error = "inode out of bounds"; error 171 fs/ext2/dir.c dir->i_ino, error, (page->index<<PAGE_CACHE_SHIFT)+offs, error 1439 fs/ext2/inode.c int error; error 1441 fs/ext2/inode.c error = inode_change_ok(inode, iattr); error 1442 fs/ext2/inode.c if (error) error 1443 fs/ext2/inode.c return error; error 1446 fs/ext2/inode.c error = DQUOT_TRANSFER(inode, iattr) ? -EDQUOT : 0; error 1447 fs/ext2/inode.c if (error) error 1448 fs/ext2/inode.c return error; error 1450 fs/ext2/inode.c error = inode_setattr(inode, iattr); error 1451 fs/ext2/inode.c if (!error && (iattr->ia_valid & ATTR_MODE)) error 1452 fs/ext2/inode.c error = ext2_acl_chmod(inode); error 1453 fs/ext2/inode.c return error; error 156 fs/ext2/xattr.c int error; error 164 fs/ext2/xattr.c error = -ENODATA; error 169 fs/ext2/xattr.c error = -EIO; error 180 fs/ext2/xattr.c error = -EIO; error 186 fs/ext2/xattr.c error = -ERANGE; error 211 fs/ext2/xattr.c error = -ENODATA; error 225 fs/ext2/xattr.c error = -ERANGE; error 232 fs/ext2/xattr.c error = size; error 238 fs/ext2/xattr.c return error; error 258 fs/ext2/xattr.c int error; error 264 fs/ext2/xattr.c error = 0; error 269 fs/ext2/xattr.c error = -EIO; error 280 fs/ext2/xattr.c error = -EIO; error 308 fs/ext2/xattr.c error = -ERANGE; error 316 fs/ext2/xattr.c error = buffer_size - rest; /* total size */ error 322 fs/ext2/xattr.c return error; error 371 fs/ext2/xattr.c int not_found = 1, error; error 400 fs/ext2/xattr.c error = -EIO; error 413 fs/ext2/xattr.c error = -EIO; error 461 fs/ext2/xattr.c error = -ENODATA; error 464 fs/ext2/xattr.c error = 0; error 469 fs/ext2/xattr.c error = -EEXIST; error 482 fs/ext2/xattr.c error = -ENOSPC; error 508 fs/ext2/xattr.c error = -ENOMEM; error 522 fs/ext2/xattr.c error = -ENOMEM; error 605 fs/ext2/xattr.c error = ext2_xattr_set2(inode, bh, NULL); error 610 fs/ext2/xattr.c error = ext2_xattr_set2(inode, bh, header); error 619 fs/ext2/xattr.c return error; error 631 fs/ext2/xattr.c int error; error 644 fs/ext2/xattr.c error = -EDQUOT; error 664 fs/ext2/xattr.c int block = ext2_new_block(inode, goal, &error); error 665 fs/ext2/xattr.c if (error) error 672 fs/ext2/xattr.c error = -EIO; error 686 fs/ext2/xattr.c error = -EIO; error 696 fs/ext2/xattr.c error = ext2_sync_inode (inode); error 700 fs/ext2/xattr.c if (error && error != -ENOSPC) { error 708 fs/ext2/xattr.c error = 0; error 745 fs/ext2/xattr.c return error; error 831 fs/ext2/xattr.c int error; error 836 fs/ext2/xattr.c error = mb_cache_entry_insert(ce, bh->b_bdev, bh->b_blocknr, &hash); error 837 fs/ext2/xattr.c if (error) { error 839 fs/ext2/xattr.c if (error == -EBUSY) { error 842 fs/ext2/xattr.c error = 0; error 849 fs/ext2/xattr.c return error; error 230 fs/ext3/acl.c int error; error 240 fs/ext3/acl.c error = posix_acl_equiv_mode(acl, &mode); error 241 fs/ext3/acl.c if (error < 0) error 242 fs/ext3/acl.c return error; error 246 fs/ext3/acl.c if (error == 0) error 267 fs/ext3/acl.c error = ext3_xattr_set_handle(handle, inode, name_index, "", error 271 fs/ext3/acl.c if (!error) { error 282 fs/ext3/acl.c return error; error 293 fs/ext3/acl.c int error = posix_acl_permission(inode, acl, mask); error 295 fs/ext3/acl.c return error; error 317 fs/ext3/acl.c int error = 0; error 333 fs/ext3/acl.c error = ext3_set_acl(handle, inode, error 335 fs/ext3/acl.c if (error) error 339 fs/ext3/acl.c error = -ENOMEM; error 344 fs/ext3/acl.c error = posix_acl_create_masq(clone, &mode); error 345 fs/ext3/acl.c if (error >= 0) { error 347 fs/ext3/acl.c if (error > 0) { error 349 fs/ext3/acl.c error = ext3_set_acl(handle, inode, error 357 fs/ext3/acl.c return error; error 378 fs/ext3/acl.c int error; error 391 fs/ext3/acl.c error = posix_acl_chmod_masq(clone, inode->i_mode); error 392 fs/ext3/acl.c if (!error) { error 400 fs/ext3/acl.c error = PTR_ERR(handle); error 401 fs/ext3/acl.c ext3_std_error(inode->i_sb, error); error 404 fs/ext3/acl.c error = ext3_set_acl(handle, inode, ACL_TYPE_ACCESS, clone); error 406 fs/ext3/acl.c if (error == -ENOSPC && error 412 fs/ext3/acl.c return error; error 448 fs/ext3/acl.c int error; error 458 fs/ext3/acl.c error = posix_acl_to_xattr(acl, buffer, size); error 461 fs/ext3/acl.c return error; error 488 fs/ext3/acl.c int error, retries = 0; error 500 fs/ext3/acl.c error = posix_acl_valid(acl); error 501 fs/ext3/acl.c if (error) error 511 fs/ext3/acl.c error = ext3_set_acl(handle, inode, type, acl); error 513 fs/ext3/acl.c if (error == -ENOSPC && ext3_should_retry_alloc(inode->i_sb, &retries)) error 518 fs/ext3/acl.c return error; error 97 fs/ext3/dir.c int error = 0; error 126 fs/ext3/dir.c while (!error && !stored && filp->f_pos < inode->i_size) { error 187 fs/ext3/dir.c while (!error && filp->f_pos < inode->i_size error 211 fs/ext3/dir.c error = filldir(dirent, de->name, error 216 fs/ext3/dir.c if (error) error 397 fs/ext3/dir.c int error; error 407 fs/ext3/dir.c error = filldir(dirent, fname->name, error 411 fs/ext3/dir.c if (error) { error 414 fs/ext3/dir.c return error; error 649 fs/ext3/ialloc.c goto error; error 658 fs/ext3/ialloc.c goto error; error 708 fs/ext3/ialloc.c error: error 3029 fs/ext3/inode.c int error, rc = 0; error 3032 fs/ext3/inode.c error = inode_change_ok(inode, attr); error 3033 fs/ext3/inode.c if (error) error 3034 fs/ext3/inode.c return error; error 3045 fs/ext3/inode.c error = PTR_ERR(handle); error 3048 fs/ext3/inode.c error = DQUOT_TRANSFER(inode, attr) ? -EDQUOT : 0; error 3049 fs/ext3/inode.c if (error) { error 3051 fs/ext3/inode.c return error; error 3059 fs/ext3/inode.c error = ext3_mark_inode_dirty(handle, inode); error 3069 fs/ext3/inode.c error = PTR_ERR(handle); error 3073 fs/ext3/inode.c error = ext3_orphan_add(handle, inode); error 3076 fs/ext3/inode.c if (!error) error 3077 fs/ext3/inode.c error = rc; error 3093 fs/ext3/inode.c ext3_std_error(inode->i_sb, error); error 3094 fs/ext3/inode.c if (!error) error 3095 fs/ext3/inode.c error = rc; error 3096 fs/ext3/inode.c return error; error 1253 fs/ext3/namei.c *error = err; error 168 fs/ext3/xattr.c int error; error 173 fs/ext3/xattr.c error = ext3_xattr_check_names(BFIRST(bh), bh->b_data + bh->b_size); error 174 fs/ext3/xattr.c return error; error 222 fs/ext3/xattr.c int error; error 227 fs/ext3/xattr.c error = -ENODATA; error 240 fs/ext3/xattr.c error = -EIO; error 245 fs/ext3/xattr.c error = ext3_xattr_find_entry(&entry, name_index, name, bh->b_size, 1); error 246 fs/ext3/xattr.c if (error == -EIO) error 248 fs/ext3/xattr.c if (error) error 252 fs/ext3/xattr.c error = -ERANGE; error 258 fs/ext3/xattr.c error = size; error 262 fs/ext3/xattr.c return error; error 275 fs/ext3/xattr.c int error; error 279 fs/ext3/xattr.c error = ext3_get_inode_loc(inode, &iloc); error 280 fs/ext3/xattr.c if (error) error 281 fs/ext3/xattr.c return error; error 286 fs/ext3/xattr.c error = ext3_xattr_check_names(entry, end); error 287 fs/ext3/xattr.c if (error) error 289 fs/ext3/xattr.c error = ext3_xattr_find_entry(&entry, name_index, name, error 291 fs/ext3/xattr.c if (error) error 295 fs/ext3/xattr.c error = -ERANGE; error 301 fs/ext3/xattr.c error = size; error 305 fs/ext3/xattr.c return error; error 322 fs/ext3/xattr.c int error; error 325 fs/ext3/xattr.c error = ext3_xattr_ibody_get(inode, name_index, name, buffer, error 327 fs/ext3/xattr.c if (error == -ENODATA) error 328 fs/ext3/xattr.c error = ext3_xattr_block_get(inode, name_index, name, buffer, error 331 fs/ext3/xattr.c return error; error 363 fs/ext3/xattr.c int error; error 368 fs/ext3/xattr.c error = 0; error 373 fs/ext3/xattr.c error = -EIO; error 382 fs/ext3/xattr.c error = -EIO; error 386 fs/ext3/xattr.c error = ext3_xattr_list_entries(inode, BFIRST(bh), buffer, buffer_size); error 391 fs/ext3/xattr.c return error; error 401 fs/ext3/xattr.c int error; error 405 fs/ext3/xattr.c error = ext3_get_inode_loc(inode, &iloc); error 406 fs/ext3/xattr.c if (error) error 407 fs/ext3/xattr.c return error; error 411 fs/ext3/xattr.c error = ext3_xattr_check_names(IFIRST(header), end); error 412 fs/ext3/xattr.c if (error) error 414 fs/ext3/xattr.c error = ext3_xattr_list_entries(inode, IFIRST(header), error 419 fs/ext3/xattr.c return error; error 480 fs/ext3/xattr.c int error = 0; error 483 fs/ext3/xattr.c error = ext3_journal_get_write_access(handle, bh); error 484 fs/ext3/xattr.c if (error) error 498 fs/ext3/xattr.c error = ext3_journal_dirty_metadata(handle, bh); error 509 fs/ext3/xattr.c ext3_std_error(inode->i_sb, error); error 639 fs/ext3/xattr.c int error; error 647 fs/ext3/xattr.c error = -EIO; error 657 fs/ext3/xattr.c error = -EIO; error 665 fs/ext3/xattr.c error = ext3_xattr_find_entry(&bs->s.here, i->name_index, error 667 fs/ext3/xattr.c if (error && error != -ENODATA) error 669 fs/ext3/xattr.c bs->s.not_found = error; error 671 fs/ext3/xattr.c error = 0; error 674 fs/ext3/xattr.c return error; error 686 fs/ext3/xattr.c int error = 0; error 695 fs/ext3/xattr.c error = ext3_journal_get_write_access(handle, bs->bh); error 696 fs/ext3/xattr.c if (error) error 706 fs/ext3/xattr.c error = ext3_xattr_set_entry(i, s); error 707 fs/ext3/xattr.c if (!error) { error 714 fs/ext3/xattr.c if (error == -EIO) error 716 fs/ext3/xattr.c if (!error) error 717 fs/ext3/xattr.c error = ext3_journal_dirty_metadata(handle, error 719 fs/ext3/xattr.c if (error) error 734 fs/ext3/xattr.c error = -ENOMEM; error 747 fs/ext3/xattr.c error = -ENOMEM; error 758 fs/ext3/xattr.c error = ext3_xattr_set_entry(i, s); error 759 fs/ext3/xattr.c if (error == -EIO) error 761 fs/ext3/xattr.c if (error) error 776 fs/ext3/xattr.c error = -EDQUOT; error 779 fs/ext3/xattr.c error = ext3_journal_get_write_access(handle, error 781 fs/ext3/xattr.c if (error) error 788 fs/ext3/xattr.c error = ext3_journal_dirty_metadata(handle, error 790 fs/ext3/xattr.c if (error) error 805 fs/ext3/xattr.c goal, &error); error 806 fs/ext3/xattr.c if (error) error 814 fs/ext3/xattr.c error = -EIO; error 818 fs/ext3/xattr.c error = ext3_journal_get_create_access(handle, new_bh); error 819 fs/ext3/xattr.c if (error) { error 827 fs/ext3/xattr.c error = ext3_journal_dirty_metadata(handle, new_bh); error 828 fs/ext3/xattr.c if (error) error 839 fs/ext3/xattr.c error = 0; error 848 fs/ext3/xattr.c return error; error 874 fs/ext3/xattr.c int error; error 884 fs/ext3/xattr.c error = ext3_xattr_check_names(IFIRST(header), is->s.end); error 885 fs/ext3/xattr.c if (error) error 886 fs/ext3/xattr.c return error; error 888 fs/ext3/xattr.c error = ext3_xattr_find_entry(&is->s.here, i->name_index, error 891 fs/ext3/xattr.c if (error && error != -ENODATA) error 892 fs/ext3/xattr.c return error; error 893 fs/ext3/xattr.c is->s.not_found = error; error 905 fs/ext3/xattr.c int error; error 909 fs/ext3/xattr.c error = ext3_xattr_set_entry(i, s); error 910 fs/ext3/xattr.c if (error) error 911 fs/ext3/xattr.c return error; error 953 fs/ext3/xattr.c int error; error 960 fs/ext3/xattr.c error = ext3_get_inode_loc(inode, &is.iloc); error 961 fs/ext3/xattr.c if (error) error 970 fs/ext3/xattr.c error = ext3_xattr_ibody_find(inode, &i, &is); error 971 fs/ext3/xattr.c if (error) error 974 fs/ext3/xattr.c error = ext3_xattr_block_find(inode, &i, &bs); error 975 fs/ext3/xattr.c if (error) error 978 fs/ext3/xattr.c error = -ENODATA; error 981 fs/ext3/xattr.c error = 0; error 985 fs/ext3/xattr.c error = -EEXIST; error 989 fs/ext3/xattr.c error = ext3_journal_get_write_access(handle, is.iloc.bh); error 990 fs/ext3/xattr.c if (error) error 994 fs/ext3/xattr.c error = ext3_xattr_ibody_set(handle, inode, &i, &is); error 996 fs/ext3/xattr.c error = ext3_xattr_block_set(handle, inode, &i, &bs); error 998 fs/ext3/xattr.c error = ext3_xattr_ibody_set(handle, inode, &i, &is); error 999 fs/ext3/xattr.c if (!error && !bs.s.not_found) { error 1001 fs/ext3/xattr.c error = ext3_xattr_block_set(handle, inode, &i, &bs); error 1002 fs/ext3/xattr.c } else if (error == -ENOSPC) { error 1004 fs/ext3/xattr.c error = ext3_xattr_block_find(inode, &i, &bs); error 1005 fs/ext3/xattr.c if (error) error 1008 fs/ext3/xattr.c error = ext3_xattr_block_set(handle, inode, &i, &bs); error 1009 fs/ext3/xattr.c if (error) error 1013 fs/ext3/xattr.c error = ext3_xattr_ibody_set(handle, inode, &i, error 1018 fs/ext3/xattr.c if (!error) { error 1021 fs/ext3/xattr.c error = ext3_mark_iloc_dirty(handle, inode, &is.iloc); error 1035 fs/ext3/xattr.c return error; error 1051 fs/ext3/xattr.c int error, retries = 0; error 1056 fs/ext3/xattr.c error = PTR_ERR(handle); error 1060 fs/ext3/xattr.c error = ext3_xattr_set_handle(handle, inode, name_index, name, error 1063 fs/ext3/xattr.c if (error == -ENOSPC && error 1066 fs/ext3/xattr.c if (error == 0) error 1067 fs/ext3/xattr.c error = error2; error 1070 fs/ext3/xattr.c return error; error 1132 fs/ext3/xattr.c int error; error 1139 fs/ext3/xattr.c error = mb_cache_entry_insert(ce, bh->b_bdev, bh->b_blocknr, &hash); error 1140 fs/ext3/xattr.c if (error) { error 1142 fs/ext3/xattr.c if (error == -EBUSY) { error 1144 fs/ext3/xattr.c error = 0; error 230 fs/ext4/acl.c int error; error 240 fs/ext4/acl.c error = posix_acl_equiv_mode(acl, &mode); error 241 fs/ext4/acl.c if (error < 0) error 242 fs/ext4/acl.c return error; error 246 fs/ext4/acl.c if (error == 0) error 267 fs/ext4/acl.c error = ext4_xattr_set_handle(handle, inode, name_index, "", error 271 fs/ext4/acl.c if (!error) { error 282 fs/ext4/acl.c return error; error 293 fs/ext4/acl.c int error = posix_acl_permission(inode, acl, mask); error 295 fs/ext4/acl.c return error; error 317 fs/ext4/acl.c int error = 0; error 333 fs/ext4/acl.c error = ext4_set_acl(handle, inode, error 335 fs/ext4/acl.c if (error) error 339 fs/ext4/acl.c error = -ENOMEM; error 344 fs/ext4/acl.c error = posix_acl_create_masq(clone, &mode); error 345 fs/ext4/acl.c if (error >= 0) { error 347 fs/ext4/acl.c if (error > 0) { error 349 fs/ext4/acl.c error = ext4_set_acl(handle, inode, error 357 fs/ext4/acl.c return error; error 378 fs/ext4/acl.c int error; error 391 fs/ext4/acl.c error = posix_acl_chmod_masq(clone, inode->i_mode); error 392 fs/ext4/acl.c if (!error) { error 400 fs/ext4/acl.c error = PTR_ERR(handle); error 401 fs/ext4/acl.c ext4_std_error(inode->i_sb, error); error 404 fs/ext4/acl.c error = ext4_set_acl(handle, inode, ACL_TYPE_ACCESS, clone); error 406 fs/ext4/acl.c if (error == -ENOSPC && error 412 fs/ext4/acl.c return error; error 448 fs/ext4/acl.c int error; error 458 fs/ext4/acl.c error = posix_acl_to_xattr(acl, buffer, size); error 461 fs/ext4/acl.c return error; error 488 fs/ext4/acl.c int error, retries = 0; error 500 fs/ext4/acl.c error = posix_acl_valid(acl); error 501 fs/ext4/acl.c if (error) error 511 fs/ext4/acl.c error = ext4_set_acl(handle, inode, type, acl); error 513 fs/ext4/acl.c if (error == -ENOSPC && ext4_should_retry_alloc(inode->i_sb, &retries)) error 518 fs/ext4/acl.c return error; error 97 fs/ext4/dir.c int error = 0; error 127 fs/ext4/dir.c while (!error && !stored && filp->f_pos < inode->i_size) { error 192 fs/ext4/dir.c while (!error && filp->f_pos < inode->i_size error 217 fs/ext4/dir.c error = filldir(dirent, de->name, error 222 fs/ext4/dir.c if (error) error 403 fs/ext4/dir.c int error; error 414 fs/ext4/dir.c error = filldir(dirent, fname->name, error 418 fs/ext4/dir.c if (error) { error 421 fs/ext4/dir.c return error; error 3096 fs/ext4/extents.c int error; error 3142 fs/ext4/extents.c error = fiemap_fill_next_extent(fieinfo, logical, physical, error 3144 fs/ext4/extents.c if (error < 0) error 3145 fs/ext4/extents.c return error; error 3146 fs/ext4/extents.c if (error == 1) error 3161 fs/ext4/extents.c int error = 0; error 3168 fs/ext4/extents.c error = ext4_get_inode_loc(inode, &iloc); error 3169 fs/ext4/extents.c if (error) error 3170 fs/ext4/extents.c return error; error 3183 fs/ext4/extents.c error = fiemap_fill_next_extent(fieinfo, 0, physical, error 3185 fs/ext4/extents.c return (error < 0 ? error : 0); error 3193 fs/ext4/extents.c int error = 0; error 3204 fs/ext4/extents.c error = ext4_xattr_fiemap(inode, fieinfo); error 3214 fs/ext4/extents.c error = ext4_ext_walk_space(inode, start_blk, len_blks, error 3219 fs/ext4/extents.c return error; error 901 fs/ext4/ialloc.c goto error; error 910 fs/ext4/ialloc.c goto error; error 960 fs/ext4/ialloc.c error: error 4422 fs/ext4/inode.c int error, rc = 0; error 4425 fs/ext4/inode.c error = inode_change_ok(inode, attr); error 4426 fs/ext4/inode.c if (error) error 4427 fs/ext4/inode.c return error; error 4438 fs/ext4/inode.c error = PTR_ERR(handle); error 4441 fs/ext4/inode.c error = DQUOT_TRANSFER(inode, attr) ? -EDQUOT : 0; error 4442 fs/ext4/inode.c if (error) { error 4444 fs/ext4/inode.c return error; error 4452 fs/ext4/inode.c error = ext4_mark_inode_dirty(handle, inode); error 4461 fs/ext4/inode.c error = -EFBIG; error 4473 fs/ext4/inode.c error = PTR_ERR(handle); error 4477 fs/ext4/inode.c error = ext4_orphan_add(handle, inode); error 4480 fs/ext4/inode.c if (!error) error 4481 fs/ext4/inode.c error = rc; error 4485 fs/ext4/inode.c error = ext4_begin_ordered_truncate(inode, error 4487 fs/ext4/inode.c if (error) { error 4513 fs/ext4/inode.c ext4_std_error(inode->i_sb, error); error 4514 fs/ext4/inode.c if (!error) error 4515 fs/ext4/inode.c error = rc; error 4516 fs/ext4/inode.c return error; error 1257 fs/ext4/namei.c *error = err; error 161 fs/ext4/xattr.c int error; error 166 fs/ext4/xattr.c error = ext4_xattr_check_names(BFIRST(bh), bh->b_data + bh->b_size); error 167 fs/ext4/xattr.c return error; error 215 fs/ext4/xattr.c int error; error 220 fs/ext4/xattr.c error = -ENODATA; error 233 fs/ext4/xattr.c error = -EIO; error 238 fs/ext4/xattr.c error = ext4_xattr_find_entry(&entry, name_index, name, bh->b_size, 1); error 239 fs/ext4/xattr.c if (error == -EIO) error 241 fs/ext4/xattr.c if (error) error 245 fs/ext4/xattr.c error = -ERANGE; error 251 fs/ext4/xattr.c error = size; error 255 fs/ext4/xattr.c return error; error 268 fs/ext4/xattr.c int error; error 272 fs/ext4/xattr.c error = ext4_get_inode_loc(inode, &iloc); error 273 fs/ext4/xattr.c if (error) error 274 fs/ext4/xattr.c return error; error 279 fs/ext4/xattr.c error = ext4_xattr_check_names(entry, end); error 280 fs/ext4/xattr.c if (error) error 282 fs/ext4/xattr.c error = ext4_xattr_find_entry(&entry, name_index, name, error 284 fs/ext4/xattr.c if (error) error 288 fs/ext4/xattr.c error = -ERANGE; error 294 fs/ext4/xattr.c error = size; error 298 fs/ext4/xattr.c return error; error 315 fs/ext4/xattr.c int error; error 318 fs/ext4/xattr.c error = ext4_xattr_ibody_get(inode, name_index, name, buffer, error 320 fs/ext4/xattr.c if (error == -ENODATA) error 321 fs/ext4/xattr.c error = ext4_xattr_block_get(inode, name_index, name, buffer, error 324 fs/ext4/xattr.c return error; error 356 fs/ext4/xattr.c int error; error 361 fs/ext4/xattr.c error = 0; error 366 fs/ext4/xattr.c error = -EIO; error 375 fs/ext4/xattr.c error = -EIO; error 379 fs/ext4/xattr.c error = ext4_xattr_list_entries(inode, BFIRST(bh), buffer, buffer_size); error 384 fs/ext4/xattr.c return error; error 394 fs/ext4/xattr.c int error; error 398 fs/ext4/xattr.c error = ext4_get_inode_loc(inode, &iloc); error 399 fs/ext4/xattr.c if (error) error 400 fs/ext4/xattr.c return error; error 404 fs/ext4/xattr.c error = ext4_xattr_check_names(IFIRST(header), end); error 405 fs/ext4/xattr.c if (error) error 407 fs/ext4/xattr.c error = ext4_xattr_list_entries(inode, IFIRST(header), error 412 fs/ext4/xattr.c return error; error 473 fs/ext4/xattr.c int error = 0; error 476 fs/ext4/xattr.c error = ext4_journal_get_write_access(handle, bh); error 477 fs/ext4/xattr.c if (error) error 490 fs/ext4/xattr.c error = ext4_journal_dirty_metadata(handle, bh); error 501 fs/ext4/xattr.c ext4_std_error(inode->i_sb, error); error 649 fs/ext4/xattr.c int error; error 657 fs/ext4/xattr.c error = -EIO; error 667 fs/ext4/xattr.c error = -EIO; error 675 fs/ext4/xattr.c error = ext4_xattr_find_entry(&bs->s.here, i->name_index, error 677 fs/ext4/xattr.c if (error && error != -ENODATA) error 679 fs/ext4/xattr.c bs->s.not_found = error; error 681 fs/ext4/xattr.c error = 0; error 684 fs/ext4/xattr.c return error; error 696 fs/ext4/xattr.c int error = 0; error 705 fs/ext4/xattr.c error = ext4_journal_get_write_access(handle, bs->bh); error 706 fs/ext4/xattr.c if (error) error 716 fs/ext4/xattr.c error = ext4_xattr_set_entry(i, s); error 717 fs/ext4/xattr.c if (!error) { error 724 fs/ext4/xattr.c if (error == -EIO) error 726 fs/ext4/xattr.c if (!error) error 727 fs/ext4/xattr.c error = ext4_journal_dirty_metadata(handle, error 729 fs/ext4/xattr.c if (error) error 743 fs/ext4/xattr.c error = -ENOMEM; error 756 fs/ext4/xattr.c error = -ENOMEM; error 767 fs/ext4/xattr.c error = ext4_xattr_set_entry(i, s); error 768 fs/ext4/xattr.c if (error == -EIO) error 770 fs/ext4/xattr.c if (error) error 785 fs/ext4/xattr.c error = -EDQUOT; error 788 fs/ext4/xattr.c error = ext4_journal_get_write_access(handle, error 790 fs/ext4/xattr.c if (error) error 797 fs/ext4/xattr.c error = ext4_journal_dirty_metadata(handle, error 799 fs/ext4/xattr.c if (error) error 814 fs/ext4/xattr.c goal, &error); error 815 fs/ext4/xattr.c if (error) error 823 fs/ext4/xattr.c error = -EIO; error 827 fs/ext4/xattr.c error = ext4_journal_get_create_access(handle, new_bh); error 828 fs/ext4/xattr.c if (error) { error 836 fs/ext4/xattr.c error = ext4_journal_dirty_metadata(handle, new_bh); error 837 fs/ext4/xattr.c if (error) error 848 fs/ext4/xattr.c error = 0; error 857 fs/ext4/xattr.c return error; error 883 fs/ext4/xattr.c int error; error 893 fs/ext4/xattr.c error = ext4_xattr_check_names(IFIRST(header), is->s.end); error 894 fs/ext4/xattr.c if (error) error 895 fs/ext4/xattr.c return error; error 897 fs/ext4/xattr.c error = ext4_xattr_find_entry(&is->s.here, i->name_index, error 900 fs/ext4/xattr.c if (error && error != -ENODATA) error 901 fs/ext4/xattr.c return error; error 902 fs/ext4/xattr.c is->s.not_found = error; error 914 fs/ext4/xattr.c int error; error 918 fs/ext4/xattr.c error = ext4_xattr_set_entry(i, s); error 919 fs/ext4/xattr.c if (error) error 920 fs/ext4/xattr.c return error; error 963 fs/ext4/xattr.c int error; error 973 fs/ext4/xattr.c error = ext4_get_inode_loc(inode, &is.iloc); error 974 fs/ext4/xattr.c if (error) error 983 fs/ext4/xattr.c error = ext4_xattr_ibody_find(inode, &i, &is); error 984 fs/ext4/xattr.c if (error) error 987 fs/ext4/xattr.c error = ext4_xattr_block_find(inode, &i, &bs); error 988 fs/ext4/xattr.c if (error) error 991 fs/ext4/xattr.c error = -ENODATA; error 994 fs/ext4/xattr.c error = 0; error 998 fs/ext4/xattr.c error = -EEXIST; error 1002 fs/ext4/xattr.c error = ext4_journal_get_write_access(handle, is.iloc.bh); error 1003 fs/ext4/xattr.c if (error) error 1007 fs/ext4/xattr.c error = ext4_xattr_ibody_set(handle, inode, &i, &is); error 1009 fs/ext4/xattr.c error = ext4_xattr_block_set(handle, inode, &i, &bs); error 1011 fs/ext4/xattr.c error = ext4_xattr_ibody_set(handle, inode, &i, &is); error 1012 fs/ext4/xattr.c if (!error && !bs.s.not_found) { error 1014 fs/ext4/xattr.c error = ext4_xattr_block_set(handle, inode, &i, &bs); error 1015 fs/ext4/xattr.c } else if (error == -ENOSPC) { error 1017 fs/ext4/xattr.c error = ext4_xattr_block_find(inode, &i, &bs); error 1018 fs/ext4/xattr.c if (error) error 1021 fs/ext4/xattr.c error = ext4_xattr_block_set(handle, inode, &i, &bs); error 1022 fs/ext4/xattr.c if (error) error 1026 fs/ext4/xattr.c error = ext4_xattr_ibody_set(handle, inode, &i, error 1031 fs/ext4/xattr.c if (!error) { error 1036 fs/ext4/xattr.c error = ext4_mark_iloc_dirty(handle, inode, &is.iloc); error 1052 fs/ext4/xattr.c return error; error 1068 fs/ext4/xattr.c int error, retries = 0; error 1073 fs/ext4/xattr.c error = PTR_ERR(handle); error 1077 fs/ext4/xattr.c error = ext4_xattr_set_handle(handle, inode, name_index, name, error 1080 fs/ext4/xattr.c if (error == -ENOSPC && error 1083 fs/ext4/xattr.c if (error == 0) error 1084 fs/ext4/xattr.c error = error2; error 1087 fs/ext4/xattr.c return error; error 1131 fs/ext4/xattr.c int extra_isize = 0, error = 0, tried_min_extra_isize = 0; error 1164 fs/ext4/xattr.c error = 0; error 1174 fs/ext4/xattr.c error = -EIO; error 1181 fs/ext4/xattr.c error = -EIO; error 1197 fs/ext4/xattr.c error = -1; error 1218 fs/ext4/xattr.c error = -ENOMEM; error 1254 fs/ext4/xattr.c error = -1; error 1265 fs/ext4/xattr.c error = -ENOMEM; error 1275 fs/ext4/xattr.c error = ext4_get_inode_loc(inode, &is->iloc); error 1276 fs/ext4/xattr.c if (error) error 1279 fs/ext4/xattr.c error = ext4_xattr_ibody_find(inode, &i, is); error 1280 fs/ext4/xattr.c if (error) error 1284 fs/ext4/xattr.c error = ext4_xattr_ibody_set(handle, inode, &i, is); error 1305 fs/ext4/xattr.c error = ext4_xattr_block_find(inode, &i, bs); error 1306 fs/ext4/xattr.c if (error) error 1310 fs/ext4/xattr.c error = ext4_xattr_block_set(handle, inode, &i, bs); error 1311 fs/ext4/xattr.c if (error) error 1332 fs/ext4/xattr.c return error; error 1396 fs/ext4/xattr.c int error; error 1403 fs/ext4/xattr.c error = mb_cache_entry_insert(ce, bh->b_bdev, bh->b_blocknr, &hash); error 1404 fs/ext4/xattr.c if (error) { error 1406 fs/ext4/xattr.c if (error == -EBUSY) { error 1408 fs/ext4/xattr.c error = 0; error 1048 fs/fat/dir.c goto error; error 1060 fs/fat/dir.c goto error; error 1070 fs/fat/dir.c goto error; error 1077 fs/fat/dir.c error: error 1095 fs/fat/dir.c goto error; error 1140 fs/fat/dir.c error: error 1168 fs/fat/dir.c goto error; error 1222 fs/fat/dir.c error: error 1246 fs/fat/dir.c goto error; error 1266 fs/fat/dir.c goto error; error 1271 fs/fat/dir.c goto error; error 1347 fs/fat/dir.c error: error 370 fs/fat/fatent.c goto error; error 379 fs/fat/fatent.c goto error; error 382 fs/fat/fatent.c error: error 548 fs/fat/fatent.c goto error; error 553 fs/fat/fatent.c goto error; error 578 fs/fat/fatent.c goto error; error 582 fs/fat/fatent.c goto error; error 593 fs/fat/fatent.c goto error; error 596 fs/fat/fatent.c error: error 322 fs/fat/file.c int error = 0; error 332 fs/fat/file.c error = fat_cont_expand(inode, attr->ia_size); error 333 fs/fat/file.c if (error || attr->ia_valid == ATTR_SIZE) error 346 fs/fat/file.c error = inode_change_ok(inode, attr); error 348 fs/fat/file.c if (error) { error 350 fs/fat/file.c error = 0; error 360 fs/fat/file.c error = -EPERM; error 362 fs/fat/file.c if (error) { error 364 fs/fat/file.c error = 0; error 377 fs/fat/file.c error = inode_setattr(inode, attr); error 379 fs/fat/file.c return error; error 334 fs/fat/inode.c int error; error 354 fs/fat/inode.c error = fat_calc_dir_size(inode); error 355 fs/fat/inode.c if (error < 0) error 356 fs/fat/inode.c return error; error 1138 fs/fat/inode.c int error; error 1150 fs/fat/inode.c error = fat_calc_dir_size(inode); error 1151 fs/fat/inode.c if (error < 0) error 1152 fs/fat/inode.c return error; error 1184 fs/fat/inode.c long error; error 1204 fs/fat/inode.c error = parse_options(data, isvfat, silent, &debug, &sbi->options); error 1205 fs/fat/inode.c if (error) error 1208 fs/fat/inode.c error = -EIO; error 1397 fs/fat/inode.c error = -EINVAL; error 1415 fs/fat/inode.c error = -ENOMEM; error 1421 fs/fat/inode.c error = fat_read_root(root_inode); error 1422 fs/fat/inode.c if (error < 0) error 1424 fs/fat/inode.c error = -ENOMEM; error 1435 fs/fat/inode.c error = -EINVAL; error 1451 fs/fat/inode.c return error; error 148 fs/fcntl.c int error = 0; error 174 fs/fcntl.c error = filp->f_op->check_flags(arg); error 175 fs/fcntl.c if (error) error 176 fs/fcntl.c return error; error 180 fs/fcntl.c error = filp->f_op->fasync(fd, filp, (arg & FASYNC) != 0); error 181 fs/fcntl.c if (error < 0) error 188 fs/fcntl.c return error; error 444 fs/file.c int error; error 458 fs/file.c error = expand_files(files, fd); error 459 fs/file.c if (error < 0) error 466 fs/file.c if (error) error 477 fs/file.c error = fd; error 488 fs/file.c return error; error 198 fs/file_table.c int error = 0; error 213 fs/file_table.c error = mnt_want_write(mnt); error 214 fs/file_table.c WARN_ON(error); error 216 fs/file_table.c return error; error 353 fs/fuse/dev.c req->out.h.error = -EINTR; error 388 fs/fuse/dev.c req->out.h.error = -ENOTCONN; error 390 fs/fuse/dev.c req->out.h.error = -ECONNREFUSED; error 424 fs/fuse/dev.c req->out.h.error = -ENOTCONN; error 775 fs/fuse/dev.c req->out.h.error = -EIO; error 778 fs/fuse/dev.c req->out.h.error = -E2BIG; error 796 fs/fuse/dev.c req->out.h.error = -EIO; error 835 fs/fuse/dev.c if (out->h.error) error 880 fs/fuse/dev.c if (!oh.unique || oh.error <= -1000 || oh.error > 0 || error 906 fs/fuse/dev.c if (oh.error == -ENOSYS) error 908 fs/fuse/dev.c else if (oh.error == -EAGAIN) error 932 fs/fuse/dev.c req->out.h.error = -EIO; error 973 fs/fuse/dev.c req->out.h.error = -ECONNABORTED; error 999 fs/fuse/dev.c req->out.h.error = -ECONNABORTED; error 194 fs/fuse/dir.c err = req->out.h.error; error 287 fs/fuse/dir.c err = req->out.h.error; error 436 fs/fuse/dir.c err = req->out.h.error; error 506 fs/fuse/dir.c err = req->out.h.error; error 635 fs/fuse/dir.c err = req->out.h.error; error 666 fs/fuse/dir.c err = req->out.h.error; error 699 fs/fuse/dir.c err = req->out.h.error; error 815 fs/fuse/dir.c err = req->out.h.error; error 908 fs/fuse/dir.c err = req->out.h.error; error 1031 fs/fuse/dir.c err = req->out.h.error; error 1064 fs/fuse/dir.c if (req->out.h.error) { error 1066 fs/fuse/dir.c link = ERR_PTR(req->out.h.error); error 1270 fs/fuse/dir.c err = req->out.h.error; error 1275 fs/fuse/dir.c goto error; error 1281 fs/fuse/dir.c goto error; error 1308 fs/fuse/dir.c error: error 1364 fs/fuse/dir.c err = req->out.h.error; error 1410 fs/fuse/dir.c ret = req->out.h.error; error 1460 fs/fuse/dir.c ret = req->out.h.error; error 1493 fs/fuse/dir.c err = req->out.h.error; error 43 fs/fuse/file.c err = req->out.h.error; error 282 fs/fuse/file.c err = req->out.h.error; error 346 fs/fuse/file.c err = req->out.h.error; error 448 fs/fuse/file.c err = req->out.h.error; error 477 fs/fuse/file.c if (!req->out.h.error && num_read < count) { error 486 fs/fuse/file.c if (!req->out.h.error) error 691 fs/fuse/file.c err = req->out.h.error; error 738 fs/fuse/file.c if (!req->out.h.error && !offset && count >= PAGE_CACHE_SIZE) error 845 fs/fuse/file.c err = req->out.h.error; error 987 fs/fuse/file.c if (req->out.h.error) { error 989 fs/fuse/file.c res = req->out.h.error; error 1114 fs/fuse/file.c mapping_set_error(inode->i_mapping, req->out.h.error); error 1327 fs/fuse/file.c err = req->out.h.error; error 1359 fs/fuse/file.c err = req->out.h.error; error 1435 fs/fuse/file.c err = req->out.h.error; error 338 fs/fuse/inode.c err = req->out.h.error; error 740 fs/fuse/inode.c if (req->out.h.error || arg->major != FUSE_KERNEL_VERSION) error 57 fs/generic_acl.c int error; error 62 fs/generic_acl.c error = posix_acl_to_xattr(acl, buffer, size); error 65 fs/generic_acl.c return error; error 77 fs/generic_acl.c int error; error 91 fs/generic_acl.c error = posix_acl_valid(acl); error 92 fs/generic_acl.c if (error) error 97 fs/generic_acl.c error = posix_acl_equiv_mode(acl, &mode); error 98 fs/generic_acl.c if (error < 0) error 101 fs/generic_acl.c if (error == 0) { error 109 fs/generic_acl.c error = -EINVAL; error 116 fs/generic_acl.c error = 0; error 119 fs/generic_acl.c return error; error 135 fs/generic_acl.c int error; error 145 fs/generic_acl.c error = -ENOMEM; error 152 fs/generic_acl.c error = -ENOMEM; error 155 fs/generic_acl.c error = posix_acl_create_masq(clone, &mode); error 156 fs/generic_acl.c if (error >= 0) { error 158 fs/generic_acl.c if (error > 0) error 163 fs/generic_acl.c error = 0; error 167 fs/generic_acl.c return error; error 181 fs/generic_acl.c int error = 0; error 191 fs/generic_acl.c error = posix_acl_chmod_masq(clone, inode->i_mode); error 192 fs/generic_acl.c if (!error) error 196 fs/generic_acl.c return error; error 39 fs/gfs2/acl.c int error; error 41 fs/gfs2/acl.c error = gfs2_acl_validate_remove(ip, access); error 42 fs/gfs2/acl.c if (error) error 43 fs/gfs2/acl.c return error; error 56 fs/gfs2/acl.c error = posix_acl_valid(acl); error 57 fs/gfs2/acl.c if (error) error 61 fs/gfs2/acl.c error = posix_acl_equiv_mode(acl, mode); error 62 fs/gfs2/acl.c if (!error) error 64 fs/gfs2/acl.c else if (error > 0) error 65 fs/gfs2/acl.c error = 0; error 70 fs/gfs2/acl.c return error; error 92 fs/gfs2/acl.c int error; error 110 fs/gfs2/acl.c error = gfs2_ea_find(ip, &er, el); error 111 fs/gfs2/acl.c if (error) error 112 fs/gfs2/acl.c return error; error 120 fs/gfs2/acl.c error = -ENOMEM; error 124 fs/gfs2/acl.c error = gfs2_ea_get_copy(ip, el, er.er_data); error 125 fs/gfs2/acl.c if (error) error 131 fs/gfs2/acl.c error = PTR_ERR(*acl); error 135 fs/gfs2/acl.c if (error || !data) error 142 fs/gfs2/acl.c if (error || el == &el_this) error 144 fs/gfs2/acl.c return error; error 158 fs/gfs2/acl.c int error; error 160 fs/gfs2/acl.c error = acl_get(GFS2_I(inode), ACL_ACCESS, &acl, NULL, NULL, NULL); error 161 fs/gfs2/acl.c if (error) error 162 fs/gfs2/acl.c return error; error 165 fs/gfs2/acl.c error = posix_acl_permission(inode, acl, mask); error 167 fs/gfs2/acl.c return error; error 177 fs/gfs2/acl.c int error; error 179 fs/gfs2/acl.c error = gfs2_trans_begin(sdp, RES_DINODE, 0); error 180 fs/gfs2/acl.c if (error) error 181 fs/gfs2/acl.c return error; error 183 fs/gfs2/acl.c error = gfs2_meta_inode_buffer(ip, &dibh); error 184 fs/gfs2/acl.c if (!error) { error 204 fs/gfs2/acl.c int error; error 214 fs/gfs2/acl.c error = acl_get(dip, ACL_DEFAULT, &acl, NULL, error 216 fs/gfs2/acl.c if (error) error 217 fs/gfs2/acl.c return error; error 221 fs/gfs2/acl.c error = munge_mode(ip, mode); error 222 fs/gfs2/acl.c return error; error 226 fs/gfs2/acl.c error = -ENOMEM; error 235 fs/gfs2/acl.c error = gfs2_system_eaops.eo_set(ip, &er); error 236 fs/gfs2/acl.c if (error) error 240 fs/gfs2/acl.c error = posix_acl_create_masq(acl, &mode); error 241 fs/gfs2/acl.c if (error < 0) error 243 fs/gfs2/acl.c if (error > 0) { error 249 fs/gfs2/acl.c error = gfs2_system_eaops.eo_set(ip, &er); error 250 fs/gfs2/acl.c if (error) error 258 fs/gfs2/acl.c return error; error 267 fs/gfs2/acl.c int error; error 269 fs/gfs2/acl.c error = acl_get(ip, ACL_ACCESS, &acl, &el, &data, &len); error 270 fs/gfs2/acl.c if (error) error 271 fs/gfs2/acl.c return error; error 276 fs/gfs2/acl.c error = -ENOMEM; error 282 fs/gfs2/acl.c error = posix_acl_chmod_masq(acl, attr->ia_mode); error 283 fs/gfs2/acl.c if (!error) { error 285 fs/gfs2/acl.c error = gfs2_ea_acl_chmod(ip, &el, attr, data); error 292 fs/gfs2/acl.c return error; error 127 fs/gfs2/bmap.c int error; error 131 fs/gfs2/bmap.c error = gfs2_meta_inode_buffer(ip, &dibh); error 132 fs/gfs2/bmap.c if (error) error 143 fs/gfs2/bmap.c error = gfs2_dir_get_new_buffer(ip, block, &bh); error 144 fs/gfs2/bmap.c if (error) error 150 fs/gfs2/bmap.c error = gfs2_unstuffer_page(ip, dibh, block, page); error 151 fs/gfs2/bmap.c if (error) error 175 fs/gfs2/bmap.c return error; error 689 fs/gfs2/bmap.c int error; error 693 fs/gfs2/bmap.c error = gfs2_meta_inode_buffer(ip, &bh); error 694 fs/gfs2/bmap.c if (error) error 695 fs/gfs2/bmap.c return error; error 701 fs/gfs2/bmap.c error = gfs2_meta_indirect_buffer(ip, height, block, 0, &bh); error 702 fs/gfs2/bmap.c if (error) error 703 fs/gfs2/bmap.c return error; error 711 fs/gfs2/bmap.c error = bc(ip, dibh, bh, top, bottom, height, data); error 712 fs/gfs2/bmap.c if (error) error 722 fs/gfs2/bmap.c error = recursive_scan(ip, dibh, mp, height + 1, bn, error 724 fs/gfs2/bmap.c if (error) error 730 fs/gfs2/bmap.c return error; error 760 fs/gfs2/bmap.c int error; error 777 fs/gfs2/bmap.c error = gfs2_rindex_hold(sdp, &ip->i_alloc->al_ri_gh); error 778 fs/gfs2/bmap.c if (error) error 779 fs/gfs2/bmap.c return error; error 815 fs/gfs2/bmap.c error = gfs2_glock_nq_m(rlist.rl_rgrps, rlist.rl_ghs); error 816 fs/gfs2/bmap.c if (error) error 819 fs/gfs2/bmap.c error = gfs2_trans_begin(sdp, rg_blocks + RES_DINODE + error 822 fs/gfs2/bmap.c if (error) error 877 fs/gfs2/bmap.c return error; error 895 fs/gfs2/bmap.c int error; error 901 fs/gfs2/bmap.c error = gfs2_quota_lock_check(ip); error 902 fs/gfs2/bmap.c if (error) error 907 fs/gfs2/bmap.c error = gfs2_inplace_reserve(ip); error 908 fs/gfs2/bmap.c if (error) error 911 fs/gfs2/bmap.c error = gfs2_trans_begin(sdp, error 914 fs/gfs2/bmap.c if (error) error 917 fs/gfs2/bmap.c error = gfs2_meta_inode_buffer(ip, &dibh); error 918 fs/gfs2/bmap.c if (error) error 923 fs/gfs2/bmap.c error = gfs2_unstuff_dinode(ip, NULL); error 924 fs/gfs2/bmap.c if (error) error 944 fs/gfs2/bmap.c return error; error 1024 fs/gfs2/bmap.c int error; error 1026 fs/gfs2/bmap.c error = gfs2_trans_begin(sdp, error 1028 fs/gfs2/bmap.c if (error) error 1029 fs/gfs2/bmap.c return error; error 1031 fs/gfs2/bmap.c error = gfs2_meta_inode_buffer(ip, &dibh); error 1032 fs/gfs2/bmap.c if (error) error 1041 fs/gfs2/bmap.c error = 1; error 1045 fs/gfs2/bmap.c error = gfs2_block_truncate_page(ip->i_inode.i_mapping); error 1047 fs/gfs2/bmap.c if (!error) { error 1060 fs/gfs2/bmap.c return error; error 1069 fs/gfs2/bmap.c int error; error 1080 fs/gfs2/bmap.c error = gfs2_quota_hold(ip, NO_QUOTA_CHANGE, NO_QUOTA_CHANGE); error 1081 fs/gfs2/bmap.c if (error) error 1089 fs/gfs2/bmap.c error = recursive_scan(ip, NULL, &mp, 0, 0, 1, do_strip, &sm); error 1090 fs/gfs2/bmap.c if (error) error 1098 fs/gfs2/bmap.c return error; error 1105 fs/gfs2/bmap.c int error; error 1107 fs/gfs2/bmap.c error = gfs2_trans_begin(sdp, RES_DINODE, 0); error 1108 fs/gfs2/bmap.c if (error) error 1109 fs/gfs2/bmap.c return error; error 1113 fs/gfs2/bmap.c error = gfs2_meta_inode_buffer(ip, &dibh); error 1114 fs/gfs2/bmap.c if (error) error 1132 fs/gfs2/bmap.c return error; error 1148 fs/gfs2/bmap.c int error; error 1150 fs/gfs2/bmap.c error = trunc_start(ip, size); error 1151 fs/gfs2/bmap.c if (error < 0) error 1152 fs/gfs2/bmap.c return error; error 1153 fs/gfs2/bmap.c if (error > 0) error 1156 fs/gfs2/bmap.c error = trunc_dealloc(ip, size); error 1157 fs/gfs2/bmap.c if (!error) error 1158 fs/gfs2/bmap.c error = trunc_end(ip); error 1160 fs/gfs2/bmap.c return error; error 1167 fs/gfs2/bmap.c int error; error 1169 fs/gfs2/bmap.c error = gfs2_trans_begin(sdp, RES_DINODE, 0); error 1170 fs/gfs2/bmap.c if (error) error 1171 fs/gfs2/bmap.c return error; error 1175 fs/gfs2/bmap.c error = gfs2_meta_inode_buffer(ip, &dibh); error 1176 fs/gfs2/bmap.c if (error) error 1187 fs/gfs2/bmap.c return error; error 1203 fs/gfs2/bmap.c int error; error 1209 fs/gfs2/bmap.c error = do_grow(ip, size); error 1211 fs/gfs2/bmap.c error = do_shrink(ip, size); error 1214 fs/gfs2/bmap.c error = do_touch(ip, size); error 1216 fs/gfs2/bmap.c return error; error 1221 fs/gfs2/bmap.c int error; error 1222 fs/gfs2/bmap.c error = trunc_dealloc(ip, ip->i_di.di_size); error 1223 fs/gfs2/bmap.c if (!error) error 1224 fs/gfs2/bmap.c error = trunc_end(ip); error 1225 fs/gfs2/bmap.c return error; error 95 fs/gfs2/daemon.c int error; error 104 fs/gfs2/daemon.c error = gfs2_statfs_sync(sdp); error 105 fs/gfs2/daemon.c if (error && error 106 fs/gfs2/daemon.c error != -EROFS && error 108 fs/gfs2/daemon.c fs_err(sdp, "quotad: (1) error=%d\n", error); error 118 fs/gfs2/daemon.c error = gfs2_quota_sync(sdp); error 119 fs/gfs2/daemon.c if (error && error 120 fs/gfs2/daemon.c error != -EROFS && error 122 fs/gfs2/daemon.c fs_err(sdp, "quotad: (2) error=%d\n", error); error 106 fs/gfs2/dir.c int error; error 108 fs/gfs2/dir.c error = gfs2_meta_read(ip->i_gl, block, DIO_WAIT, &bh); error 109 fs/gfs2/dir.c if (error) error 110 fs/gfs2/dir.c return error; error 123 fs/gfs2/dir.c int error; error 125 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(ip, &dibh); error 126 fs/gfs2/dir.c if (error) error 127 fs/gfs2/dir.c return error; error 161 fs/gfs2/dir.c int error = 0; error 176 fs/gfs2/dir.c error = gfs2_unstuff_dinode(ip, NULL); error 177 fs/gfs2/dir.c if (error) error 178 fs/gfs2/dir.c return error; error 194 fs/gfs2/dir.c error = gfs2_extent_map(&ip->i_inode, lblock, &new, error 196 fs/gfs2/dir.c if (error) error 198 fs/gfs2/dir.c error = -EIO; error 204 fs/gfs2/dir.c error = gfs2_dir_get_new_buffer(ip, dblock, &bh); error 206 fs/gfs2/dir.c error = gfs2_dir_get_existing_buffer(ip, dblock, &bh); error 208 fs/gfs2/dir.c if (error) error 225 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(ip, &dibh); error 226 fs/gfs2/dir.c if (error) error 227 fs/gfs2/dir.c return error; error 241 fs/gfs2/dir.c return error; error 248 fs/gfs2/dir.c int error; error 250 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(ip, &dibh); error 251 fs/gfs2/dir.c if (!error) { error 257 fs/gfs2/dir.c return (error) ? error : size; error 278 fs/gfs2/dir.c int error = 0; error 309 fs/gfs2/dir.c error = gfs2_extent_map(&ip->i_inode, lblock, &new, error 311 fs/gfs2/dir.c if (error || !dblock) error 318 fs/gfs2/dir.c error = gfs2_meta_read(ip->i_gl, dblock, DIO_WAIT, &bh); error 319 fs/gfs2/dir.c if (error) error 322 fs/gfs2/dir.c error = gfs2_metatype_check(sdp, bh, GFS2_METATYPE_JD); error 323 fs/gfs2/dir.c if (error) { error 339 fs/gfs2/dir.c return (copied) ? copied : error; error 432 fs/gfs2/dir.c goto error; error 435 fs/gfs2/dir.c goto error; error 438 fs/gfs2/dir.c goto error; error 441 fs/gfs2/dir.c goto error; error 446 fs/gfs2/dir.c goto error; error 448 fs/gfs2/dir.c error: error 698 fs/gfs2/dir.c int error; error 700 fs/gfs2/dir.c error = gfs2_meta_read(dip->i_gl, leaf_no, DIO_WAIT, bhp); error 701 fs/gfs2/dir.c if (!error && gfs2_metatype_check(GFS2_SB(&dip->i_inode), *bhp, GFS2_METATYPE_LF)) { error 703 fs/gfs2/dir.c error = -EIO; error 706 fs/gfs2/dir.c return error; error 722 fs/gfs2/dir.c int error; error 724 fs/gfs2/dir.c error = gfs2_dir_read_data(dip, (char *)&leaf_no, error 727 fs/gfs2/dir.c if (error != sizeof(u64)) error 728 fs/gfs2/dir.c return (error < 0) ? error : -EIO; error 739 fs/gfs2/dir.c int error; error 741 fs/gfs2/dir.c error = get_leaf_nr(dip, index, &leaf_no); error 742 fs/gfs2/dir.c if (!error) error 743 fs/gfs2/dir.c error = get_leaf(dip, leaf_no, bh_out); error 745 fs/gfs2/dir.c return error; error 756 fs/gfs2/dir.c int error; error 769 fs/gfs2/dir.c error = get_first_leaf(ip, index, &bh); error 770 fs/gfs2/dir.c if (error) error 771 fs/gfs2/dir.c return ERR_PTR(error); error 783 fs/gfs2/dir.c error = get_leaf(ip, ln, &bh); error 784 fs/gfs2/dir.c } while(!error); error 786 fs/gfs2/dir.c return error ? ERR_PTR(error) : NULL; error 790 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(ip, &bh); error 791 fs/gfs2/dir.c if (error) error 792 fs/gfs2/dir.c return ERR_PTR(error); error 848 fs/gfs2/dir.c int error; error 850 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(dip, &dibh); error 851 fs/gfs2/dir.c if (error) error 852 fs/gfs2/dir.c return error; error 942 fs/gfs2/dir.c int error; error 945 fs/gfs2/dir.c error = get_leaf_nr(dip, index, &leaf_no); error 946 fs/gfs2/dir.c if (error) error 947 fs/gfs2/dir.c return error; error 950 fs/gfs2/dir.c error = get_leaf(dip, leaf_no, &obh); error 951 fs/gfs2/dir.c if (error) error 952 fs/gfs2/dir.c return error; error 975 fs/gfs2/dir.c error = -EIO; error 989 fs/gfs2/dir.c error = gfs2_dir_write_data(dip, (char *)lp, start * sizeof(u64), error 991 fs/gfs2/dir.c if (error != half_len * sizeof(u64)) { error 992 fs/gfs2/dir.c if (error >= 0) error 993 fs/gfs2/dir.c error = -EIO; error 1018 fs/gfs2/dir.c error = PTR_ERR(new); error 1044 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(dip, &dibh); error 1045 fs/gfs2/dir.c if (!gfs2_assert_withdraw(GFS2_SB(&dip->i_inode), !error)) { error 1055 fs/gfs2/dir.c return error; error 1063 fs/gfs2/dir.c return error; error 1082 fs/gfs2/dir.c int error = 0; error 1095 fs/gfs2/dir.c error = gfs2_dir_read_data(dip, (char *)buf, error 1098 fs/gfs2/dir.c if (error != sdp->sd_hash_bsize) { error 1099 fs/gfs2/dir.c if (error >= 0) error 1100 fs/gfs2/dir.c error = -EIO; error 1112 fs/gfs2/dir.c error = gfs2_dir_write_data(dip, error 1116 fs/gfs2/dir.c if (error != sdp->sd_sb.sb_bsize) { error 1117 fs/gfs2/dir.c if (error >= 0) error 1118 fs/gfs2/dir.c error = -EIO; error 1125 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(dip, &dibh); error 1126 fs/gfs2/dir.c if (!gfs2_assert_withdraw(sdp, !error)) { error 1132 fs/gfs2/dir.c return error; error 1136 fs/gfs2/dir.c return error; error 1208 fs/gfs2/dir.c int error = 0; error 1241 fs/gfs2/dir.c error = filldir(opaque, (const char *)(dent + 1), error 1245 fs/gfs2/dir.c if (error) error 1274 fs/gfs2/dir.c int error, i; error 1278 fs/gfs2/dir.c error = get_leaf(ip, lfn, &bh); error 1279 fs/gfs2/dir.c if (error) error 1293 fs/gfs2/dir.c error = -ENOMEM; error 1309 fs/gfs2/dir.c error = get_leaf(ip, lfn, &bh); error 1310 fs/gfs2/dir.c if (error) error 1318 fs/gfs2/dir.c error = PTR_ERR(dent); error 1328 fs/gfs2/dir.c error = -EIO; error 1331 fs/gfs2/dir.c error = 0; error 1339 fs/gfs2/dir.c error = do_filldir_main(ip, offset, opaque, filldir, darr, error 1346 fs/gfs2/dir.c return error; error 1369 fs/gfs2/dir.c int error = 0; error 1390 fs/gfs2/dir.c error = gfs2_dir_read_data(dip, (char *)lp, error 1393 fs/gfs2/dir.c if (error != sdp->sd_hash_bsize) { error 1394 fs/gfs2/dir.c if (error >= 0) error 1395 fs/gfs2/dir.c error = -EIO; error 1401 fs/gfs2/dir.c error = gfs2_dir_read_leaf(inode, offset, opaque, filldir, error 1404 fs/gfs2/dir.c if (error) error 1413 fs/gfs2/dir.c if (error > 0) error 1414 fs/gfs2/dir.c error = 0; error 1415 fs/gfs2/dir.c return error; error 1427 fs/gfs2/dir.c int error; error 1440 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(dip, &dibh); error 1441 fs/gfs2/dir.c if (error) error 1442 fs/gfs2/dir.c return error; error 1444 fs/gfs2/dir.c error = -ENOMEM; error 1453 fs/gfs2/dir.c error = PTR_ERR(dent); error 1462 fs/gfs2/dir.c error = -EIO; error 1465 fs/gfs2/dir.c error = do_filldir_main(dip, offset, opaque, filldir, darr, error 1471 fs/gfs2/dir.c if (error > 0) error 1472 fs/gfs2/dir.c error = 0; error 1476 fs/gfs2/dir.c return error; error 1547 fs/gfs2/dir.c int error; error 1552 fs/gfs2/dir.c error = get_first_leaf(ip, index, &obh); error 1553 fs/gfs2/dir.c if (error) error 1554 fs/gfs2/dir.c return error; error 1561 fs/gfs2/dir.c error = get_leaf(ip, bn, &obh); error 1562 fs/gfs2/dir.c if (error) error 1563 fs/gfs2/dir.c return error; error 1577 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(ip, &bh); error 1578 fs/gfs2/dir.c if (error) error 1579 fs/gfs2/dir.c return error; error 1604 fs/gfs2/dir.c int error; error 1620 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(ip, &bh); error 1621 fs/gfs2/dir.c if (error) error 1628 fs/gfs2/dir.c error = 0; error 1632 fs/gfs2/dir.c error = dir_make_exhash(inode); error 1633 fs/gfs2/dir.c if (error) error 1637 fs/gfs2/dir.c error = dir_split_leaf(inode, name); error 1638 fs/gfs2/dir.c if (error == 0) error 1640 fs/gfs2/dir.c if (error < 0) error 1643 fs/gfs2/dir.c error = dir_double_exhash(ip); error 1644 fs/gfs2/dir.c if (error) error 1646 fs/gfs2/dir.c error = dir_split_leaf(inode, name); error 1647 fs/gfs2/dir.c if (error < 0) error 1649 fs/gfs2/dir.c if (error == 0) error 1652 fs/gfs2/dir.c error = dir_new_leaf(inode, name); error 1653 fs/gfs2/dir.c if (!error) error 1655 fs/gfs2/dir.c error = -ENOSPC; error 1658 fs/gfs2/dir.c return error; error 1674 fs/gfs2/dir.c int error; error 1703 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(dip, &bh); error 1704 fs/gfs2/dir.c if (error) error 1705 fs/gfs2/dir.c return error; error 1716 fs/gfs2/dir.c return error; error 1737 fs/gfs2/dir.c int error; error 1753 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(dip, &bh); error 1754 fs/gfs2/dir.c if (error) error 1755 fs/gfs2/dir.c return error; error 1784 fs/gfs2/dir.c int error = 0; error 1801 fs/gfs2/dir.c error = gfs2_dir_read_data(dip, (char *)lp, error 1804 fs/gfs2/dir.c if (error != sdp->sd_hash_bsize) { error 1805 fs/gfs2/dir.c if (error >= 0) error 1806 fs/gfs2/dir.c error = -EIO; error 1814 fs/gfs2/dir.c error = get_leaf(dip, leaf_no, &bh); error 1815 fs/gfs2/dir.c if (error) error 1821 fs/gfs2/dir.c error = lc(dip, index, len, leaf_no, data); error 1822 fs/gfs2/dir.c if (error) error 1832 fs/gfs2/dir.c error = -EIO; error 1838 fs/gfs2/dir.c return error; error 1863 fs/gfs2/dir.c int error; error 1872 fs/gfs2/dir.c error = -ENOMEM; error 1876 fs/gfs2/dir.c error = gfs2_quota_hold(dip, NO_QUOTA_CHANGE, NO_QUOTA_CHANGE); error 1877 fs/gfs2/dir.c if (error) error 1880 fs/gfs2/dir.c error = gfs2_rindex_hold(sdp, &dip->i_alloc->al_ri_gh); error 1881 fs/gfs2/dir.c if (error) error 1887 fs/gfs2/dir.c error = get_leaf(dip, blk, &bh); error 1888 fs/gfs2/dir.c if (error) error 1906 fs/gfs2/dir.c error = gfs2_glock_nq_m(rlist.rl_rgrps, rlist.rl_ghs); error 1907 fs/gfs2/dir.c if (error) error 1910 fs/gfs2/dir.c error = gfs2_trans_begin(sdp, error 1913 fs/gfs2/dir.c if (error) error 1917 fs/gfs2/dir.c error = get_leaf(dip, blk, &bh); error 1918 fs/gfs2/dir.c if (error) error 1928 fs/gfs2/dir.c error = gfs2_dir_write_data(dip, ht, index * sizeof(u64), size); error 1929 fs/gfs2/dir.c if (error != size) { error 1930 fs/gfs2/dir.c if (error >= 0) error 1931 fs/gfs2/dir.c error = -EIO; error 1935 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(dip, &dibh); error 1936 fs/gfs2/dir.c if (error) error 1956 fs/gfs2/dir.c return error; error 1973 fs/gfs2/dir.c int error; error 1976 fs/gfs2/dir.c error = foreach_leaf(dip, leaf_dealloc, NULL); error 1977 fs/gfs2/dir.c if (error) error 1978 fs/gfs2/dir.c return error; error 1983 fs/gfs2/dir.c error = gfs2_trans_begin(sdp, RES_DINODE, 0); error 1984 fs/gfs2/dir.c if (error) error 1985 fs/gfs2/dir.c return error; error 1987 fs/gfs2/dir.c error = gfs2_meta_inode_buffer(dip, &bh); error 1988 fs/gfs2/dir.c if (!error) { error 1997 fs/gfs2/dir.c return error; error 77 fs/gfs2/eaops.c int error; error 84 fs/gfs2/eaops.c error = gfs2_acl_validate_set(ip, 1, er, error 86 fs/gfs2/eaops.c if (error) error 87 fs/gfs2/eaops.c return error; error 88 fs/gfs2/eaops.c error = gfs2_ea_set_i(ip, er); error 89 fs/gfs2/eaops.c if (error) error 90 fs/gfs2/eaops.c return error; error 96 fs/gfs2/eaops.c error = gfs2_acl_validate_set(ip, 0, er, error 98 fs/gfs2/eaops.c if (error) error 99 fs/gfs2/eaops.c return error; error 101 fs/gfs2/eaops.c error = gfs2_ea_set_i(ip, er); error 103 fs/gfs2/eaops.c error = gfs2_ea_remove_i(ip, er); error 104 fs/gfs2/eaops.c if (error == -ENODATA) error 105 fs/gfs2/eaops.c error = 0; error 107 fs/gfs2/eaops.c return error; error 116 fs/gfs2/eaops.c int error = gfs2_acl_validate_remove(ip, 1); error 117 fs/gfs2/eaops.c if (error) error 118 fs/gfs2/eaops.c return error; error 121 fs/gfs2/eaops.c int error = gfs2_acl_validate_remove(ip, 0); error 122 fs/gfs2/eaops.c if (error) error 123 fs/gfs2/eaops.c return error; error 78 fs/gfs2/eattr.c int error = 0; error 92 fs/gfs2/eattr.c error = ea_call(ip, bh, ea, prev, data); error 93 fs/gfs2/eattr.c if (error) error 94 fs/gfs2/eattr.c return error; error 104 fs/gfs2/eattr.c return error; error 115 fs/gfs2/eattr.c int error; error 117 fs/gfs2/eattr.c error = gfs2_meta_read(ip->i_gl, ip->i_di.di_eattr, DIO_WAIT, &bh); error 118 fs/gfs2/eattr.c if (error) error 119 fs/gfs2/eattr.c return error; error 122 fs/gfs2/eattr.c error = ea_foreach_i(ip, bh, ea_call, data); error 127 fs/gfs2/eattr.c error = -EIO; error 141 fs/gfs2/eattr.c error = gfs2_meta_read(ip->i_gl, bn, DIO_WAIT, &eabh); error 142 fs/gfs2/eattr.c if (error) error 144 fs/gfs2/eattr.c error = ea_foreach_i(ip, eabh, ea_call, data); error 146 fs/gfs2/eattr.c if (error) error 151 fs/gfs2/eattr.c return error; error 188 fs/gfs2/eattr.c int error; error 195 fs/gfs2/eattr.c error = ea_foreach(ip, ea_find_i, &ef); error 196 fs/gfs2/eattr.c if (error > 0) error 199 fs/gfs2/eattr.c return error; error 232 fs/gfs2/eattr.c int error; error 253 fs/gfs2/eattr.c error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &rg_gh); error 254 fs/gfs2/eattr.c if (error) error 255 fs/gfs2/eattr.c return error; error 257 fs/gfs2/eattr.c error = gfs2_trans_begin(sdp, rgd->rd_length + RES_DINODE + error 259 fs/gfs2/eattr.c if (error) error 298 fs/gfs2/eattr.c error = gfs2_meta_inode_buffer(ip, &dibh); error 299 fs/gfs2/eattr.c if (!error) { error 310 fs/gfs2/eattr.c return error; error 318 fs/gfs2/eattr.c int error; error 324 fs/gfs2/eattr.c error = gfs2_quota_hold(ip, NO_QUOTA_CHANGE, NO_QUOTA_CHANGE); error 325 fs/gfs2/eattr.c if (error) error 328 fs/gfs2/eattr.c error = gfs2_rindex_hold(GFS2_SB(&ip->i_inode), &al->al_ri_gh); error 329 fs/gfs2/eattr.c if (error) error 332 fs/gfs2/eattr.c error = ea_dealloc_unstuffed(ip, bh, ea, prev, (leave) ? &error : NULL); error 340 fs/gfs2/eattr.c return error; error 406 fs/gfs2/eattr.c int error; error 413 fs/gfs2/eattr.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); error 414 fs/gfs2/eattr.c if (error) error 415 fs/gfs2/eattr.c return error; error 420 fs/gfs2/eattr.c error = ea_foreach(ip, ea_list_i, &ei); error 421 fs/gfs2/eattr.c if (!error) error 422 fs/gfs2/eattr.c error = ei.ei_size; error 427 fs/gfs2/eattr.c return error; error 449 fs/gfs2/eattr.c int error = 0; error 456 fs/gfs2/eattr.c error = gfs2_meta_read(ip->i_gl, be64_to_cpu(*dataptrs), 0, error 458 fs/gfs2/eattr.c if (error) { error 467 fs/gfs2/eattr.c error = gfs2_meta_wait(sdp, bh[x]); error 468 fs/gfs2/eattr.c if (error) { error 476 fs/gfs2/eattr.c error = -EIO; error 491 fs/gfs2/eattr.c return error; error 515 fs/gfs2/eattr.c int error; error 520 fs/gfs2/eattr.c error = gfs2_ea_find(ip, er, &el); error 521 fs/gfs2/eattr.c if (error) error 522 fs/gfs2/eattr.c return error; error 528 fs/gfs2/eattr.c error = -ERANGE; error 530 fs/gfs2/eattr.c error = gfs2_ea_get_copy(ip, &el, er->er_data); error 532 fs/gfs2/eattr.c if (!error) error 533 fs/gfs2/eattr.c error = GFS2_EA_DATA_LEN(el.el_ea); error 537 fs/gfs2/eattr.c return error; error 551 fs/gfs2/eattr.c int error; error 561 fs/gfs2/eattr.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); error 562 fs/gfs2/eattr.c if (error) error 563 fs/gfs2/eattr.c return error; error 565 fs/gfs2/eattr.c error = gfs2_ea_ops[er->er_type]->eo_get(ip, er); error 569 fs/gfs2/eattr.c return error; error 683 fs/gfs2/eattr.c int error; error 689 fs/gfs2/eattr.c error = gfs2_quota_lock_check(ip); error 690 fs/gfs2/eattr.c if (error) error 695 fs/gfs2/eattr.c error = gfs2_inplace_reserve(ip); error 696 fs/gfs2/eattr.c if (error) error 699 fs/gfs2/eattr.c error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), error 702 fs/gfs2/eattr.c if (error) error 705 fs/gfs2/eattr.c error = skeleton_call(ip, er, private); error 706 fs/gfs2/eattr.c if (error) error 709 fs/gfs2/eattr.c error = gfs2_meta_inode_buffer(ip, &dibh); error 710 fs/gfs2/eattr.c if (!error) { error 731 fs/gfs2/eattr.c return error; error 738 fs/gfs2/eattr.c int error; error 740 fs/gfs2/eattr.c error = ea_alloc_blk(ip, &bh); error 741 fs/gfs2/eattr.c if (error) error 742 fs/gfs2/eattr.c return error; error 745 fs/gfs2/eattr.c error = ea_write(ip, GFS2_EA_BH2FIRST(bh), er); error 749 fs/gfs2/eattr.c return error; error 827 fs/gfs2/eattr.c int error; error 829 fs/gfs2/eattr.c error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), RES_DINODE + 2 * RES_EATTR, 0); error 830 fs/gfs2/eattr.c if (error) error 831 fs/gfs2/eattr.c return error; error 843 fs/gfs2/eattr.c error = gfs2_meta_inode_buffer(ip, &dibh); error 844 fs/gfs2/eattr.c if (error) error 858 fs/gfs2/eattr.c return error; error 866 fs/gfs2/eattr.c int error; error 873 fs/gfs2/eattr.c error = ea_write(ip, ea, er); error 874 fs/gfs2/eattr.c if (error) error 875 fs/gfs2/eattr.c return error; error 890 fs/gfs2/eattr.c int error; error 898 fs/gfs2/eattr.c error = ea_remove_unstuffed(ip, bh, ea, prev, 1); error 899 fs/gfs2/eattr.c if (error) error 900 fs/gfs2/eattr.c return error; error 909 fs/gfs2/eattr.c error = ea_set_simple_noalloc(ip, bh, ea, es); error 910 fs/gfs2/eattr.c if (error) error 911 fs/gfs2/eattr.c return error; error 920 fs/gfs2/eattr.c error = ea_alloc_skeleton(ip, es->es_er, blks, error 922 fs/gfs2/eattr.c if (error) error 923 fs/gfs2/eattr.c return error; error 935 fs/gfs2/eattr.c int error; error 941 fs/gfs2/eattr.c error = gfs2_meta_read(ip->i_gl, ip->i_di.di_eattr, DIO_WAIT, error 943 fs/gfs2/eattr.c if (error) error 944 fs/gfs2/eattr.c return error; error 947 fs/gfs2/eattr.c error = -EIO; error 959 fs/gfs2/eattr.c error = -ENOSPC; error 983 fs/gfs2/eattr.c error = ea_alloc_blk(ip, &newbh); error 984 fs/gfs2/eattr.c if (error) error 988 fs/gfs2/eattr.c error = ea_write(ip, GFS2_EA_BH2FIRST(newbh), er); error 990 fs/gfs2/eattr.c if (error) error 998 fs/gfs2/eattr.c return error; error 1006 fs/gfs2/eattr.c int error; error 1012 fs/gfs2/eattr.c error = ea_foreach(ip, ea_set_simple, &es); error 1013 fs/gfs2/eattr.c if (error > 0) error 1015 fs/gfs2/eattr.c if (error) error 1016 fs/gfs2/eattr.c return error; error 1041 fs/gfs2/eattr.c int error; error 1049 fs/gfs2/eattr.c error = gfs2_ea_find(ip, er, &el); error 1050 fs/gfs2/eattr.c if (error) error 1051 fs/gfs2/eattr.c return error; error 1059 fs/gfs2/eattr.c error = -EEXIST; error 1062 fs/gfs2/eattr.c error = ea_set_i(ip, er, &el); error 1063 fs/gfs2/eattr.c if (!error && unstuffed) error 1069 fs/gfs2/eattr.c error = -ENODATA; error 1071 fs/gfs2/eattr.c error = ea_set_i(ip, er, NULL); error 1074 fs/gfs2/eattr.c return error; error 1080 fs/gfs2/eattr.c int error; error 1088 fs/gfs2/eattr.c error = ea_check_size(GFS2_SB(&ip->i_inode), er); error 1089 fs/gfs2/eattr.c if (error) error 1090 fs/gfs2/eattr.c return error; error 1092 fs/gfs2/eattr.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); error 1093 fs/gfs2/eattr.c if (error) error 1094 fs/gfs2/eattr.c return error; error 1097 fs/gfs2/eattr.c error = -EPERM; error 1099 fs/gfs2/eattr.c error = gfs2_ea_ops[er->er_type]->eo_set(ip, er); error 1103 fs/gfs2/eattr.c return error; error 1111 fs/gfs2/eattr.c int error; error 1113 fs/gfs2/eattr.c error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), RES_DINODE + RES_EATTR, 0); error 1114 fs/gfs2/eattr.c if (error) error 1115 fs/gfs2/eattr.c return error; error 1130 fs/gfs2/eattr.c error = gfs2_meta_inode_buffer(ip, &dibh); error 1131 fs/gfs2/eattr.c if (!error) { error 1140 fs/gfs2/eattr.c return error; error 1146 fs/gfs2/eattr.c int error; error 1151 fs/gfs2/eattr.c error = gfs2_ea_find(ip, er, &el); error 1152 fs/gfs2/eattr.c if (error) error 1153 fs/gfs2/eattr.c return error; error 1158 fs/gfs2/eattr.c error = ea_remove_stuffed(ip, &el); error 1160 fs/gfs2/eattr.c error = ea_remove_unstuffed(ip, el.el_bh, el.el_ea, el.el_prev, error 1165 fs/gfs2/eattr.c return error; error 1179 fs/gfs2/eattr.c int error; error 1184 fs/gfs2/eattr.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); error 1185 fs/gfs2/eattr.c if (error) error 1186 fs/gfs2/eattr.c return error; error 1189 fs/gfs2/eattr.c error = -EPERM; error 1191 fs/gfs2/eattr.c error = gfs2_ea_ops[er->er_type]->eo_remove(ip, er); error 1195 fs/gfs2/eattr.c return error; error 1207 fs/gfs2/eattr.c int error; error 1213 fs/gfs2/eattr.c error = gfs2_trans_begin(sdp, nptrs + RES_DINODE, 0); error 1214 fs/gfs2/eattr.c if (error) error 1218 fs/gfs2/eattr.c error = gfs2_meta_read(ip->i_gl, be64_to_cpu(*dataptrs), 0, error 1220 fs/gfs2/eattr.c if (error) { error 1229 fs/gfs2/eattr.c error = gfs2_meta_wait(sdp, bh[x]); error 1230 fs/gfs2/eattr.c if (error) { error 1238 fs/gfs2/eattr.c error = -EIO; error 1255 fs/gfs2/eattr.c return error; error 1260 fs/gfs2/eattr.c return error; error 1267 fs/gfs2/eattr.c int error; error 1270 fs/gfs2/eattr.c error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), RES_DINODE + RES_EATTR, 0); error 1271 fs/gfs2/eattr.c if (error) error 1272 fs/gfs2/eattr.c return error; error 1278 fs/gfs2/eattr.c error = ea_acl_chmod_unstuffed(ip, el->el_ea, data); error 1280 fs/gfs2/eattr.c if (error) error 1281 fs/gfs2/eattr.c return error; error 1283 fs/gfs2/eattr.c error = gfs2_meta_inode_buffer(ip, &dibh); error 1284 fs/gfs2/eattr.c if (!error) { error 1285 fs/gfs2/eattr.c error = inode_setattr(&ip->i_inode, attr); error 1286 fs/gfs2/eattr.c gfs2_assert_warn(GFS2_SB(&ip->i_inode), !error); error 1294 fs/gfs2/eattr.c return error; error 1308 fs/gfs2/eattr.c int error; error 1312 fs/gfs2/eattr.c error = gfs2_meta_read(ip->i_gl, ip->i_di.di_eattr, DIO_WAIT, &indbh); error 1313 fs/gfs2/eattr.c if (error) error 1314 fs/gfs2/eattr.c return error; error 1317 fs/gfs2/eattr.c error = -EIO; error 1354 fs/gfs2/eattr.c error = gfs2_glock_nq_m(rlist.rl_rgrps, rlist.rl_ghs); error 1355 fs/gfs2/eattr.c if (error) error 1358 fs/gfs2/eattr.c error = gfs2_trans_begin(sdp, rg_blocks + RES_DINODE + RES_INDIRECT + error 1360 fs/gfs2/eattr.c if (error) error 1393 fs/gfs2/eattr.c error = gfs2_meta_inode_buffer(ip, &dibh); error 1394 fs/gfs2/eattr.c if (!error) { error 1408 fs/gfs2/eattr.c return error; error 1417 fs/gfs2/eattr.c int error; error 1425 fs/gfs2/eattr.c error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, error 1427 fs/gfs2/eattr.c if (error) error 1428 fs/gfs2/eattr.c return error; error 1430 fs/gfs2/eattr.c error = gfs2_trans_begin(sdp, RES_RG_BIT + RES_DINODE + RES_STATFS + error 1432 fs/gfs2/eattr.c if (error) error 1440 fs/gfs2/eattr.c error = gfs2_meta_inode_buffer(ip, &dibh); error 1441 fs/gfs2/eattr.c if (!error) { error 1451 fs/gfs2/eattr.c return error; error 1464 fs/gfs2/eattr.c int error; error 1470 fs/gfs2/eattr.c error = gfs2_quota_hold(ip, NO_QUOTA_CHANGE, NO_QUOTA_CHANGE); error 1471 fs/gfs2/eattr.c if (error) error 1474 fs/gfs2/eattr.c error = gfs2_rindex_hold(GFS2_SB(&ip->i_inode), &al->al_ri_gh); error 1475 fs/gfs2/eattr.c if (error) error 1478 fs/gfs2/eattr.c error = ea_foreach(ip, ea_dealloc_unstuffed, NULL); error 1479 fs/gfs2/eattr.c if (error) error 1483 fs/gfs2/eattr.c error = ea_dealloc_indirect(ip); error 1484 fs/gfs2/eattr.c if (error) error 1488 fs/gfs2/eattr.c error = ea_dealloc_block(ip); error 1496 fs/gfs2/eattr.c return error; error 644 fs/gfs2/glock.c int error = -EIO; error 648 fs/gfs2/glock.c error = sdp->sd_lockstruct.ls_ops->lm_get_lock( error 650 fs/gfs2/glock.c return error; error 673 fs/gfs2/glock.c int error; error 708 fs/gfs2/glock.c error = -ENOMEM; error 713 fs/gfs2/glock.c error = gfs2_lm_get_lock(sdp, &name, &gl->gl_lock); error 714 fs/gfs2/glock.c if (error) error 737 fs/gfs2/glock.c return error; error 958 fs/gfs2/glock.c int error = 0; error 969 fs/gfs2/glock.c error = gfs2_glock_wait(gh); error 971 fs/gfs2/glock.c return error; error 1066 fs/gfs2/glock.c int error; error 1068 fs/gfs2/glock.c error = gfs2_glock_get(sdp, number, glops, CREATE, &gl); error 1069 fs/gfs2/glock.c if (!error) { error 1070 fs/gfs2/glock.c error = gfs2_glock_nq_init(gl, state, flags, gh); error 1074 fs/gfs2/glock.c return error; error 1112 fs/gfs2/glock.c int error = 0; error 1122 fs/gfs2/glock.c error = gfs2_glock_nq(p[x]); error 1123 fs/gfs2/glock.c if (error) { error 1130 fs/gfs2/glock.c return error; error 1147 fs/gfs2/glock.c int error = 0; error 1163 fs/gfs2/glock.c error = nq_m_sync(num_gh, ghs, pph); error 1168 fs/gfs2/glock.c return error; error 1203 fs/gfs2/glock.c int error = -EIO; error 1207 fs/gfs2/glock.c error = sdp->sd_lockstruct.ls_ops->lm_hold_lvb(lock, lvbp); error 1208 fs/gfs2/glock.c return error; error 1219 fs/gfs2/glock.c int error; error 1222 fs/gfs2/glock.c error = gfs2_lm_hold_lvb(gl->gl_sbd, gl->gl_lock, &gl->gl_lvb); error 1223 fs/gfs2/glock.c if (error) error 1224 fs/gfs2/glock.c return error; error 1670 fs/gfs2/glock.c int error = 0; error 1688 fs/gfs2/glock.c error = dump_holder(seq, gh); error 1689 fs/gfs2/glock.c if (error) error 1693 fs/gfs2/glock.c error = glops->go_dump(seq, gl); error 1695 fs/gfs2/glock.c return error; error 1721 fs/gfs2/glock.c int error = 0; error 1731 fs/gfs2/glock.c error = dump_glock(NULL, gl); error 1732 fs/gfs2/glock.c if (error) error 1738 fs/gfs2/glock.c if (error) error 1743 fs/gfs2/glock.c return error; error 115 fs/gfs2/glock.h int error; error 119 fs/gfs2/glock.h error = gfs2_glock_nq(gh); error 120 fs/gfs2/glock.h if (error) error 123 fs/gfs2/glock.h return error; error 45 fs/gfs2/glops.c int error; error 51 fs/gfs2/glops.c error = gfs2_trans_begin(sdp, 0, blocks); error 52 fs/gfs2/glops.c if (gfs2_assert_withdraw(sdp, !error)) error 149 fs/gfs2/glops.c int error; error 165 fs/gfs2/glops.c error = filemap_fdatawait(mapping); error 166 fs/gfs2/glops.c mapping_set_error(mapping, error); error 168 fs/gfs2/glops.c error = filemap_fdatawait(metamapping); error 169 fs/gfs2/glops.c mapping_set_error(metamapping, error); error 231 fs/gfs2/glops.c int error = 0; error 237 fs/gfs2/glops.c error = gfs2_inode_refresh(ip); error 238 fs/gfs2/glops.c if (error) error 239 fs/gfs2/glops.c return error; error 245 fs/gfs2/glops.c error = gfs2_truncatei_resume(ip); error 247 fs/gfs2/glops.c return error; error 356 fs/gfs2/glops.c int error; error 361 fs/gfs2/glops.c error = gfs2_find_jhead(sdp->sd_jdesc, &head); error 362 fs/gfs2/glops.c if (error) error 54 fs/gfs2/incore.h void (*lo_after_scan) (struct gfs2_jdesc *jd, int error, int pass); error 179 fs/gfs2/inode.c int error; error 194 fs/gfs2/inode.c error = gfs2_glock_get(sdp, no_addr, &gfs2_inode_glops, CREATE, &ip->i_gl); error 195 fs/gfs2/inode.c if (unlikely(error)) error 199 fs/gfs2/inode.c error = gfs2_glock_get(sdp, no_addr, &gfs2_iopen_glops, CREATE, &io_gl); error 200 fs/gfs2/inode.c if (unlikely(error)) error 204 fs/gfs2/inode.c error = gfs2_glock_nq_init(io_gl, LM_ST_SHARED, GL_EXACT, &ip->i_iopen_gh); error 205 fs/gfs2/inode.c if (unlikely(error)) error 225 fs/gfs2/inode.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); error 226 fs/gfs2/inode.c if (unlikely(error)) error 246 fs/gfs2/inode.c return ERR_PTR(error); error 326 fs/gfs2/inode.c int error; error 328 fs/gfs2/inode.c error = gfs2_meta_inode_buffer(ip, &dibh); error 329 fs/gfs2/inode.c if (error) error 330 fs/gfs2/inode.c return error; error 337 fs/gfs2/inode.c error = gfs2_dinode_in(ip, dibh->b_data); error 341 fs/gfs2/inode.c return error; error 349 fs/gfs2/inode.c int error; error 361 fs/gfs2/inode.c error = gfs2_quota_hold(ip, NO_QUOTA_CHANGE, NO_QUOTA_CHANGE); error 362 fs/gfs2/inode.c if (error) error 365 fs/gfs2/inode.c error = gfs2_rindex_hold(sdp, &al->al_ri_gh); error 366 fs/gfs2/inode.c if (error) error 372 fs/gfs2/inode.c error = -EIO; error 376 fs/gfs2/inode.c error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, error 378 fs/gfs2/inode.c if (error) error 381 fs/gfs2/inode.c error = gfs2_trans_begin(sdp, RES_RG_BIT + RES_STATFS + RES_QUOTA, 1); error 382 fs/gfs2/inode.c if (error) error 401 fs/gfs2/inode.c return error; error 415 fs/gfs2/inode.c int error; error 428 fs/gfs2/inode.c error = gfs2_meta_inode_buffer(ip, &dibh); error 429 fs/gfs2/inode.c if (error) error 430 fs/gfs2/inode.c return error; error 447 fs/gfs2/inode.c return error; error 489 fs/gfs2/inode.c int error = 0; error 504 fs/gfs2/inode.c error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); error 505 fs/gfs2/inode.c if (error) error 506 fs/gfs2/inode.c return ERR_PTR(error); error 511 fs/gfs2/inode.c error = gfs2_permission(dir, MAY_EXEC); error 512 fs/gfs2/inode.c if (error) error 518 fs/gfs2/inode.c error = PTR_ERR(inode); error 522 fs/gfs2/inode.c if (error == -ENOENT) error 524 fs/gfs2/inode.c return inode ? inode : ERR_PTR(error); error 548 fs/gfs2/inode.c int error; error 550 fs/gfs2/inode.c error = gfs2_trans_begin(sdp, RES_DINODE, 0); error 551 fs/gfs2/inode.c if (error) error 552 fs/gfs2/inode.c return error; error 555 fs/gfs2/inode.c error = gfs2_meta_inode_buffer(ip, &bh); error 556 fs/gfs2/inode.c if (error) { error 559 fs/gfs2/inode.c return error; error 591 fs/gfs2/inode.c int error; error 593 fs/gfs2/inode.c error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); error 594 fs/gfs2/inode.c if (error) error 595 fs/gfs2/inode.c return error; error 597 fs/gfs2/inode.c error = gfs2_trans_begin(sdp, 2 * RES_DINODE, 0); error 598 fs/gfs2/inode.c if (error) error 602 fs/gfs2/inode.c error = gfs2_meta_inode_buffer(ip, &bh); error 603 fs/gfs2/inode.c if (error) error 613 fs/gfs2/inode.c error = gfs2_meta_inode_buffer(m_ip, &m_bh); error 614 fs/gfs2/inode.c if (error) error 644 fs/gfs2/inode.c return error; error 649 fs/gfs2/inode.c int error; error 651 fs/gfs2/inode.c error = pick_formal_ino_1(sdp, inum); error 652 fs/gfs2/inode.c if (error <= 0) error 653 fs/gfs2/inode.c return error; error 655 fs/gfs2/inode.c error = pick_formal_ino_2(sdp, inum); error 657 fs/gfs2/inode.c return error; error 672 fs/gfs2/inode.c int error; error 674 fs/gfs2/inode.c error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC); error 675 fs/gfs2/inode.c if (error) error 676 fs/gfs2/inode.c return error; error 682 fs/gfs2/inode.c error = gfs2_dir_check(&dip->i_inode, name, NULL); error 683 fs/gfs2/inode.c switch (error) { error 685 fs/gfs2/inode.c error = 0; error 690 fs/gfs2/inode.c return error; error 725 fs/gfs2/inode.c int error; error 731 fs/gfs2/inode.c error = gfs2_inplace_reserve(dip); error 732 fs/gfs2/inode.c if (error) error 735 fs/gfs2/inode.c error = gfs2_trans_begin(sdp, RES_RG_BIT + RES_STATFS, 0); error 736 fs/gfs2/inode.c if (error) error 747 fs/gfs2/inode.c return error; error 826 fs/gfs2/inode.c int error; error 832 fs/gfs2/inode.c error = gfs2_quota_lock(dip, uid, gid); error 833 fs/gfs2/inode.c if (error) error 836 fs/gfs2/inode.c error = gfs2_quota_check(dip, uid, gid); error 837 fs/gfs2/inode.c if (error) error 840 fs/gfs2/inode.c error = gfs2_trans_begin(sdp, RES_DINODE + RES_QUOTA, 0); error 841 fs/gfs2/inode.c if (error) error 852 fs/gfs2/inode.c return error; error 862 fs/gfs2/inode.c int error; error 868 fs/gfs2/inode.c error = gfs2_quota_lock(dip, NO_QUOTA_CHANGE, NO_QUOTA_CHANGE); error 869 fs/gfs2/inode.c if (error) error 872 fs/gfs2/inode.c error = alloc_required = gfs2_diradd_alloc_required(&dip->i_inode, name); error 876 fs/gfs2/inode.c error = gfs2_quota_check(dip, dip->i_inode.i_uid, dip->i_inode.i_gid); error 877 fs/gfs2/inode.c if (error) error 882 fs/gfs2/inode.c error = gfs2_inplace_reserve(dip); error 883 fs/gfs2/inode.c if (error) error 886 fs/gfs2/inode.c error = gfs2_trans_begin(sdp, sdp->sd_max_dirres + error 890 fs/gfs2/inode.c if (error) error 893 fs/gfs2/inode.c error = gfs2_trans_begin(sdp, RES_LEAF + 2 * RES_DINODE, 0); error 894 fs/gfs2/inode.c if (error) error 898 fs/gfs2/inode.c error = gfs2_dir_add(&dip->i_inode, name, ip, IF2DT(ip->i_inode.i_mode)); error 899 fs/gfs2/inode.c if (error) error 902 fs/gfs2/inode.c error = gfs2_meta_inode_buffer(ip, &dibh); error 903 fs/gfs2/inode.c if (error) error 923 fs/gfs2/inode.c return error; error 983 fs/gfs2/inode.c int error; error 991 fs/gfs2/inode.c error = gfs2_glock_nq(ghs); error 992 fs/gfs2/inode.c if (error) error 995 fs/gfs2/inode.c error = create_ok(dip, name, mode); error 996 fs/gfs2/inode.c if (error) error 999 fs/gfs2/inode.c error = pick_formal_ino(sdp, &inum.no_formal_ino); error 1000 fs/gfs2/inode.c if (error) error 1003 fs/gfs2/inode.c error = alloc_dinode(dip, &inum.no_addr, &generation); error 1004 fs/gfs2/inode.c if (error) error 1007 fs/gfs2/inode.c error = gfs2_glock_nq_num(sdp, inum.no_addr, &gfs2_inode_glops, error 1009 fs/gfs2/inode.c if (error) error 1012 fs/gfs2/inode.c error = make_dinode(dip, ghs[1].gh_gl, mode, &inum, &generation, dev, &bh); error 1013 fs/gfs2/inode.c if (error) error 1022 fs/gfs2/inode.c error = gfs2_inode_refresh(GFS2_I(inode)); error 1023 fs/gfs2/inode.c if (error) error 1026 fs/gfs2/inode.c error = gfs2_acl_create(dip, GFS2_I(inode)); error 1027 fs/gfs2/inode.c if (error) error 1030 fs/gfs2/inode.c error = gfs2_security_init(dip, GFS2_I(inode)); error 1031 fs/gfs2/inode.c if (error) error 1034 fs/gfs2/inode.c error = link_dinode(dip, name, GFS2_I(inode)); error 1035 fs/gfs2/inode.c if (error) error 1051 fs/gfs2/inode.c return ERR_PTR(error); error 1069 fs/gfs2/inode.c int error; error 1077 fs/gfs2/inode.c error = gfs2_dir_del(dip, name); error 1078 fs/gfs2/inode.c if (error) error 1079 fs/gfs2/inode.c return error; error 1081 fs/gfs2/inode.c error = gfs2_change_nlink(dip, -1); error 1082 fs/gfs2/inode.c if (error) error 1083 fs/gfs2/inode.c return error; error 1086 fs/gfs2/inode.c error = gfs2_dir_del(ip, &dotname); error 1087 fs/gfs2/inode.c if (error) error 1088 fs/gfs2/inode.c return error; error 1091 fs/gfs2/inode.c error = gfs2_dir_del(ip, &dotname); error 1092 fs/gfs2/inode.c if (error) error 1093 fs/gfs2/inode.c return error; error 1096 fs/gfs2/inode.c error = gfs2_change_nlink(ip, -1); error 1097 fs/gfs2/inode.c if (error) error 1098 fs/gfs2/inode.c return error; error 1100 fs/gfs2/inode.c error = gfs2_change_nlink(ip, -1); error 1101 fs/gfs2/inode.c if (error) error 1102 fs/gfs2/inode.c return error; error 1104 fs/gfs2/inode.c return error; error 1121 fs/gfs2/inode.c int error; error 1134 fs/gfs2/inode.c error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC); error 1135 fs/gfs2/inode.c if (error) error 1136 fs/gfs2/inode.c return error; error 1138 fs/gfs2/inode.c error = gfs2_dir_check(&dip->i_inode, name, ip); error 1139 fs/gfs2/inode.c if (error) error 1140 fs/gfs2/inode.c return error; error 1162 fs/gfs2/inode.c int error; error 1165 fs/gfs2/inode.c error = gfs2_glock_nq(&i_gh); error 1166 fs/gfs2/inode.c if (error) { error 1168 fs/gfs2/inode.c return error; error 1173 fs/gfs2/inode.c error = -EIO; error 1177 fs/gfs2/inode.c error = gfs2_meta_inode_buffer(ip, &dibh); error 1178 fs/gfs2/inode.c if (error) error 1185 fs/gfs2/inode.c error = -ENOMEM; error 1197 fs/gfs2/inode.c return error; error 1204 fs/gfs2/inode.c int error; error 1206 fs/gfs2/inode.c error = gfs2_meta_inode_buffer(ip, &dibh); error 1207 fs/gfs2/inode.c if (!error) { error 1208 fs/gfs2/inode.c error = inode_setattr(&ip->i_inode, attr); error 1209 fs/gfs2/inode.c gfs2_assert_warn(GFS2_SB(&ip->i_inode), !error); error 1214 fs/gfs2/inode.c return error; error 1229 fs/gfs2/inode.c int error; error 1234 fs/gfs2/inode.c error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), RES_DINODE, 0); error 1235 fs/gfs2/inode.c if (error) error 1236 fs/gfs2/inode.c return error; error 1238 fs/gfs2/inode.c error = __gfs2_setattr_simple(ip, attr); error 1240 fs/gfs2/inode.c return error; error 159 fs/gfs2/locking.c int error, found; error 184 fs/gfs2/locking.c error = -ENOENT; error 196 fs/gfs2/locking.c error = lw->lw_ops->lm_mount(table_name, host_data, cb, cb_data, error 198 fs/gfs2/locking.c if (error) error 202 fs/gfs2/locking.c return error; error 408 fs/gfs2/locking/dlm/lock.c int error; error 410 fs/gfs2/locking/dlm/lock.c error = gdlm_create_lp(lockspace, name, &lp); error 413 fs/gfs2/locking/dlm/lock.c return error; error 424 fs/gfs2/locking/dlm/lock.c int error, bast = 1; error 451 fs/gfs2/locking/dlm/lock.c error = dlm_lock(ls->dlm_lockspace, lp->req, &lp->lksb, lp->lkf, error 455 fs/gfs2/locking/dlm/lock.c if ((error == -EAGAIN) && (lp->lkf & DLM_LKF_NOQUEUE)) { error 458 fs/gfs2/locking/dlm/lock.c error = 0; error 461 fs/gfs2/locking/dlm/lock.c if (error) { error 464 fs/gfs2/locking/dlm/lock.c (unsigned long long)lp->lockname.ln_number, error, error 475 fs/gfs2/locking/dlm/lock.c int error; error 487 fs/gfs2/locking/dlm/lock.c error = dlm_unlock(ls->dlm_lockspace, lp->lksb.sb_lkid, lkf, NULL, lp); error 489 fs/gfs2/locking/dlm/lock.c if (error) { error 492 fs/gfs2/locking/dlm/lock.c (unsigned long long)lp->lockname.ln_number, error, error 535 fs/gfs2/locking/dlm/lock.c int error, delay_list = 0; error 570 fs/gfs2/locking/dlm/lock.c error = dlm_unlock(ls->dlm_lockspace, lp->lksb.sb_lkid, DLM_LKF_CANCEL, error 573 fs/gfs2/locking/dlm/lock.c log_info("gdlm_cancel rv %d %x,%llx flags %lx", error, error 577 fs/gfs2/locking/dlm/lock.c if (error == -EBUSY) error 614 fs/gfs2/locking/dlm/lock.c int error; error 621 fs/gfs2/locking/dlm/lock.c error = gdlm_create_lp(lp->ls, &lp->lockname, &lpn); error 622 fs/gfs2/locking/dlm/lock.c if (error) error 636 fs/gfs2/locking/dlm/lock.c error = lpn->lksb.sb_status; error 637 fs/gfs2/locking/dlm/lock.c if (error) { error 639 fs/gfs2/locking/dlm/lock.c error); error 645 fs/gfs2/locking/dlm/lock.c return error; error 673 fs/gfs2/locking/dlm/lock.c int error; error 675 fs/gfs2/locking/dlm/lock.c error = gdlm_add_lvb(lp); error 676 fs/gfs2/locking/dlm/lock.c if (error) error 677 fs/gfs2/locking/dlm/lock.c return error; error 681 fs/gfs2/locking/dlm/lock.c error = hold_null_lock(lp); error 682 fs/gfs2/locking/dlm/lock.c if (error) error 685 fs/gfs2/locking/dlm/lock.c return error; error 16 fs/gfs2/locking/dlm/main.c int error; error 18 fs/gfs2/locking/dlm/main.c error = gfs2_register_lockproto(&gdlm_ops); error 19 fs/gfs2/locking/dlm/main.c if (error) { error 21 fs/gfs2/locking/dlm/main.c error); error 22 fs/gfs2/locking/dlm/main.c return error; error 25 fs/gfs2/locking/dlm/main.c error = gdlm_sysfs_init(); error 26 fs/gfs2/locking/dlm/main.c if (error) { error 28 fs/gfs2/locking/dlm/main.c return error; error 57 fs/gfs2/locking/dlm/mount.c int error = 0; error 78 fs/gfs2/locking/dlm/mount.c error = -EINVAL; error 86 fs/gfs2/locking/dlm/mount.c error = -EINVAL; error 94 fs/gfs2/locking/dlm/mount.c error = -EINVAL; error 102 fs/gfs2/locking/dlm/mount.c error = -EINVAL; error 109 fs/gfs2/locking/dlm/mount.c error = -EINVAL; error 114 fs/gfs2/locking/dlm/mount.c return error; error 124 fs/gfs2/locking/dlm/mount.c int error = -ENOMEM, nodir = 0; error 133 fs/gfs2/locking/dlm/mount.c error = make_args(ls, host_data, &nodir); error 134 fs/gfs2/locking/dlm/mount.c if (error) error 137 fs/gfs2/locking/dlm/mount.c error = gdlm_init_threads(ls); error 138 fs/gfs2/locking/dlm/mount.c if (error) error 141 fs/gfs2/locking/dlm/mount.c error = gdlm_kobject_setup(ls, fskobj); error 142 fs/gfs2/locking/dlm/mount.c if (error) error 145 fs/gfs2/locking/dlm/mount.c error = dlm_new_lockspace(ls->fsname, strlen(ls->fsname), error 150 fs/gfs2/locking/dlm/mount.c if (error) { error 151 fs/gfs2/locking/dlm/mount.c log_error("dlm_new_lockspace error %d", error); error 170 fs/gfs2/locking/dlm/mount.c return error; error 181 fs/gfs2/locking/dlm/sysfs.c int error; error 184 fs/gfs2/locking/dlm/sysfs.c error = kobject_init_and_add(&ls->kobj, &gdlm_ktype, fskobj, error 186 fs/gfs2/locking/dlm/sysfs.c if (error) error 187 fs/gfs2/locking/dlm/sysfs.c log_error("can't register kobj %d", error); error 190 fs/gfs2/locking/dlm/sysfs.c return error; error 51 fs/gfs2/locking/dlm/thread.c int error; error 54 fs/gfs2/locking/dlm/thread.c error = IS_ERR(p); error 55 fs/gfs2/locking/dlm/thread.c if (error) { error 56 fs/gfs2/locking/dlm/thread.c log_error("can't start lock_dlm thread %d", error); error 57 fs/gfs2/locking/dlm/thread.c return error; error 252 fs/gfs2/lops.c int error = 0; error 267 fs/gfs2/lops.c error = gfs2_replay_read_block(jd, start, &bh_log); error 268 fs/gfs2/lops.c if (error) error 269 fs/gfs2/lops.c return error; error 275 fs/gfs2/lops.c error = -EIO; error 282 fs/gfs2/lops.c if (error) error 288 fs/gfs2/lops.c return error; error 296 fs/gfs2/lops.c if (error) { error 388 fs/gfs2/lops.c int error; error 396 fs/gfs2/lops.c error = gfs2_replay_read_block(jd, start, &bh); error 397 fs/gfs2/lops.c if (error) error 398 fs/gfs2/lops.c return error; error 406 fs/gfs2/lops.c error = gfs2_revoke_add(sdp, blkno, start); error 407 fs/gfs2/lops.c if (error < 0) { error 409 fs/gfs2/lops.c return error; error 411 fs/gfs2/lops.c else if (error) error 431 fs/gfs2/lops.c if (error) { error 649 fs/gfs2/lops.c int error = 0; error 664 fs/gfs2/lops.c error = gfs2_replay_read_block(jd, start, &bh_log); error 665 fs/gfs2/lops.c if (error) error 666 fs/gfs2/lops.c return error; error 680 fs/gfs2/lops.c if (error) error 686 fs/gfs2/lops.c return error; error 696 fs/gfs2/lops.c if (error) { error 91 fs/gfs2/lops.h int x, error; error 94 fs/gfs2/lops.h error = gfs2_log_ops[x]->lo_scan_elements(jd, start, error 96 fs/gfs2/lops.h if (error) error 97 fs/gfs2/lops.h return error; error 109 fs/gfs2/lops.h gfs2_log_ops[x]->lo_after_scan(jd, error, pass); error 58 fs/gfs2/main.c int error; error 60 fs/gfs2/main.c error = gfs2_sys_init(); error 61 fs/gfs2/main.c if (error) error 62 fs/gfs2/main.c return error; error 64 fs/gfs2/main.c error = gfs2_glock_init(); error 65 fs/gfs2/main.c if (error) error 68 fs/gfs2/main.c error = -ENOMEM; error 96 fs/gfs2/main.c error = register_filesystem(&gfs2_fs_type); error 97 fs/gfs2/main.c if (error) error 100 fs/gfs2/main.c error = register_filesystem(&gfs2meta_fs_type); error 101 fs/gfs2/main.c if (error) error 128 fs/gfs2/main.c return error; error 122 fs/gfs2/meta_io.c int error; error 125 fs/gfs2/meta_io.c error = filemap_fdatawait(mapping); error 127 fs/gfs2/meta_io.c if (error) error 230 fs/gfs2/meta_io.c int error = gfs2_meta_wait(gl->gl_sbd, *bhp); error 231 fs/gfs2/meta_io.c if (error) { error 233 fs/gfs2/meta_io.c return error; error 87 fs/gfs2/mount.c int error = 0; error 120 fs/gfs2/mount.c error = -ENOMEM; error 137 fs/gfs2/mount.c error = -ENOMEM; error 154 fs/gfs2/mount.c error = -ENOMEM; error 200 fs/gfs2/mount.c if ((error = match_int(&tmp[0], &option))) { error 210 fs/gfs2/mount.c error = -EINVAL; error 252 fs/gfs2/mount.c error = -EINVAL; error 258 fs/gfs2/mount.c if (error) error 264 fs/gfs2/mount.c return error; error 73 fs/gfs2/ops_address.c int error; error 75 fs/gfs2/ops_address.c error = gfs2_block_map(inode, lblock, bh_result, 0); error 76 fs/gfs2/ops_address.c if (error) error 77 fs/gfs2/ops_address.c return error; error 213 fs/gfs2/ops_address.c int error; error 216 fs/gfs2/ops_address.c error = gfs2_writepage_common(page, wbc); error 217 fs/gfs2/ops_address.c if (error <= 0) error 218 fs/gfs2/ops_address.c return error; error 223 fs/gfs2/ops_address.c error = gfs2_trans_begin(sdp, RES_DINODE + 1, 0); error 224 fs/gfs2/ops_address.c if (error) error 228 fs/gfs2/ops_address.c error = __gfs2_jdata_writepage(page, wbc); error 231 fs/gfs2/ops_address.c return error; error 438 fs/gfs2/ops_address.c int error; error 450 fs/gfs2/ops_address.c error = gfs2_meta_inode_buffer(ip, &dibh); error 451 fs/gfs2/ops_address.c if (error) error 452 fs/gfs2/ops_address.c return error; error 482 fs/gfs2/ops_address.c int error; error 485 fs/gfs2/ops_address.c error = stuffed_readpage(ip, page); error 488 fs/gfs2/ops_address.c error = mpage_readpage(page, gfs2_block_map); error 494 fs/gfs2/ops_address.c return error; error 512 fs/gfs2/ops_address.c int error; error 516 fs/gfs2/ops_address.c error = gfs2_glock_nq(&gh); error 517 fs/gfs2/ops_address.c if (unlikely(error)) error 519 fs/gfs2/ops_address.c error = AOP_TRUNCATED_PAGE; error 522 fs/gfs2/ops_address.c error = __gfs2_readpage(file, page); error 528 fs/gfs2/ops_address.c if (error && error != AOP_TRUNCATED_PAGE) error 530 fs/gfs2/ops_address.c return error; error 632 fs/gfs2/ops_address.c int error = 0; error 640 fs/gfs2/ops_address.c error = gfs2_glock_nq(&ip->i_gh); error 641 fs/gfs2/ops_address.c if (unlikely(error)) error 645 fs/gfs2/ops_address.c error = gfs2_write_alloc_required(ip, pos, len, &alloc_required); error 646 fs/gfs2/ops_address.c if (error) error 652 fs/gfs2/ops_address.c error = -ENOMEM; error 656 fs/gfs2/ops_address.c error = gfs2_quota_lock_check(ip); error 657 fs/gfs2/ops_address.c if (error) error 661 fs/gfs2/ops_address.c error = gfs2_inplace_reserve(ip); error 662 fs/gfs2/ops_address.c if (error) error 672 fs/gfs2/ops_address.c error = gfs2_trans_begin(sdp, rblocks, error 674 fs/gfs2/ops_address.c if (error) error 677 fs/gfs2/ops_address.c error = -ENOMEM; error 684 fs/gfs2/ops_address.c error = 0; error 686 fs/gfs2/ops_address.c error = gfs2_unstuff_dinode(ip, page); error 687 fs/gfs2/ops_address.c if (error == 0) error 690 fs/gfs2/ops_address.c error = stuffed_readpage(ip, page); error 696 fs/gfs2/ops_address.c error = block_prepare_write(page, from, to, gfs2_block_map); error 698 fs/gfs2/ops_address.c if (error == 0) error 718 fs/gfs2/ops_address.c return error; error 899 fs/gfs2/ops_address.c int error; error 901 fs/gfs2/ops_address.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); error 902 fs/gfs2/ops_address.c if (error) error 45 fs/gfs2/ops_dentry.c int error; error 59 fs/gfs2/ops_dentry.c error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); error 60 fs/gfs2/ops_dentry.c if (error) error 64 fs/gfs2/ops_dentry.c error = gfs2_dir_check(parent->d_inode, &dentry->d_name, ip); error 65 fs/gfs2/ops_dentry.c switch (error) { error 100 fs/gfs2/ops_export.c int error; error 116 fs/gfs2/ops_export.c error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &gh); error 117 fs/gfs2/ops_export.c if (error) error 118 fs/gfs2/ops_export.c return error; error 120 fs/gfs2/ops_export.c error = gfs2_dir_read(dir, &offset, &gnfd, get_name_filldir); error 124 fs/gfs2/ops_export.c if (!error && !*name) error 125 fs/gfs2/ops_export.c error = -ENOENT; error 127 fs/gfs2/ops_export.c return error; error 166 fs/gfs2/ops_export.c int error; error 179 fs/gfs2/ops_export.c error = gfs2_glock_nq_num(sdp, inum->no_addr, &gfs2_inode_glops, error 181 fs/gfs2/ops_export.c if (error) error 182 fs/gfs2/ops_export.c return ERR_PTR(error); error 184 fs/gfs2/ops_export.c error = gfs2_rindex_hold(sdp, &ri_gh); error 185 fs/gfs2/ops_export.c if (error) error 188 fs/gfs2/ops_export.c error = -EINVAL; error 193 fs/gfs2/ops_export.c error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_SHARED, 0, &rgd_gh); error 194 fs/gfs2/ops_export.c if (error) error 197 fs/gfs2/ops_export.c error = -ESTALE; error 208 fs/gfs2/ops_export.c error = PTR_ERR(inode); error 212 fs/gfs2/ops_export.c error = gfs2_inode_refresh(GFS2_I(inode)); error 213 fs/gfs2/ops_export.c if (error) { error 227 fs/gfs2/ops_export.c error = -EIO; error 253 fs/gfs2/ops_export.c return ERR_PTR(error); error 60 fs/gfs2/ops_file.c loff_t error; error 63 fs/gfs2/ops_file.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, error 65 fs/gfs2/ops_file.c if (!error) { error 66 fs/gfs2/ops_file.c error = generic_file_llseek_unlocked(file, offset, origin); error 70 fs/gfs2/ops_file.c error = generic_file_llseek_unlocked(file, offset, origin); error 72 fs/gfs2/ops_file.c return error; error 90 fs/gfs2/ops_file.c int error; error 93 fs/gfs2/ops_file.c error = gfs2_glock_nq(&d_gh); error 94 fs/gfs2/ops_file.c if (error) { error 96 fs/gfs2/ops_file.c return error; error 99 fs/gfs2/ops_file.c error = gfs2_dir_read(dir, &offset, dirent, filldir); error 105 fs/gfs2/ops_file.c return error; error 153 fs/gfs2/ops_file.c int error; error 157 fs/gfs2/ops_file.c error = gfs2_glock_nq(&gh); error 158 fs/gfs2/ops_file.c if (error) error 159 fs/gfs2/ops_file.c return error; error 165 fs/gfs2/ops_file.c error = -EFAULT; error 169 fs/gfs2/ops_file.c return error; error 213 fs/gfs2/ops_file.c int error; error 216 fs/gfs2/ops_file.c error = mnt_want_write(filp->f_path.mnt); error 217 fs/gfs2/ops_file.c if (error) error 218 fs/gfs2/ops_file.c return error; error 220 fs/gfs2/ops_file.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); error 221 fs/gfs2/ops_file.c if (error) error 229 fs/gfs2/ops_file.c error = -EINVAL; error 233 fs/gfs2/ops_file.c error = -EPERM; error 242 fs/gfs2/ops_file.c error = gfs2_permission(inode, MAY_WRITE); error 243 fs/gfs2/ops_file.c if (error) error 249 fs/gfs2/ops_file.c error = filemap_fdatawrite(inode->i_mapping); error 250 fs/gfs2/ops_file.c if (error) error 252 fs/gfs2/ops_file.c error = filemap_fdatawait(inode->i_mapping); error 253 fs/gfs2/ops_file.c if (error) error 256 fs/gfs2/ops_file.c error = gfs2_trans_begin(sdp, RES_DINODE, 0); error 257 fs/gfs2/ops_file.c if (error) error 259 fs/gfs2/ops_file.c error = gfs2_meta_inode_buffer(ip, &bh); error 260 fs/gfs2/ops_file.c if (error) error 274 fs/gfs2/ops_file.c return error; error 435 fs/gfs2/ops_file.c int error; error 438 fs/gfs2/ops_file.c error = gfs2_glock_nq(&i_gh); error 439 fs/gfs2/ops_file.c if (error) { error 441 fs/gfs2/ops_file.c return error; error 448 fs/gfs2/ops_file.c return error; error 464 fs/gfs2/ops_file.c int error; error 476 fs/gfs2/ops_file.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, error 478 fs/gfs2/ops_file.c if (error) error 483 fs/gfs2/ops_file.c error = -EOVERFLOW; error 497 fs/gfs2/ops_file.c return error; error 591 fs/gfs2/ops_file.c int error = -EIO; error 593 fs/gfs2/ops_file.c error = sdp->sd_lockstruct.ls_ops->lm_plock_get( error 595 fs/gfs2/ops_file.c return error; error 601 fs/gfs2/ops_file.c int error = -EIO; error 603 fs/gfs2/ops_file.c error = sdp->sd_lockstruct.ls_ops->lm_plock( error 605 fs/gfs2/ops_file.c return error; error 611 fs/gfs2/ops_file.c int error = -EIO; error 613 fs/gfs2/ops_file.c error = sdp->sd_lockstruct.ls_ops->lm_punlock( error 615 fs/gfs2/ops_file.c return error; error 661 fs/gfs2/ops_file.c int error = 0; error 677 fs/gfs2/ops_file.c error = gfs2_glock_get(GFS2_SB(&ip->i_inode), ip->i_no_addr, error 679 fs/gfs2/ops_file.c if (error) error 684 fs/gfs2/ops_file.c error = gfs2_glock_nq(fl_gh); error 685 fs/gfs2/ops_file.c if (error) { error 687 fs/gfs2/ops_file.c if (error == GLR_TRYFAILED) error 688 fs/gfs2/ops_file.c error = -EAGAIN; error 690 fs/gfs2/ops_file.c error = flock_lock_file_wait(file, fl); error 691 fs/gfs2/ops_file.c gfs2_assert_warn(GFS2_SB(&ip->i_inode), !error); error 696 fs/gfs2/ops_file.c return error; error 221 fs/gfs2/ops_fstype.c if (!error) error 224 fs/gfs2/ops_fstype.c printk(KERN_WARNING "gfs2: error %d reading superblock\n", error); error 320 fs/gfs2/ops_fstype.c int error; error 322 fs/gfs2/ops_fstype.c error = gfs2_read_super(sdp, GFS2_SB_ADDR >> sdp->sd_fsb2bb_shift); error 323 fs/gfs2/ops_fstype.c if (error) { error 326 fs/gfs2/ops_fstype.c return error; error 329 fs/gfs2/ops_fstype.c error = gfs2_check_sb(sdp, &sdp->sd_sb, silent); error 330 fs/gfs2/ops_fstype.c if (error) error 331 fs/gfs2/ops_fstype.c return error; error 407 fs/gfs2/ops_fstype.c int error = 0; error 415 fs/gfs2/ops_fstype.c error = gfs2_read_super(sdp, GFS2_SB_ADDR >> sdp->sd_fsb2bb_shift); error 416 fs/gfs2/ops_fstype.c if (error) error 417 fs/gfs2/ops_fstype.c return error; error 419 fs/gfs2/ops_fstype.c error = gfs2_check_sb(sdp, &sdp->sd_sb, silent); error 420 fs/gfs2/ops_fstype.c if (error) error 440 fs/gfs2/ops_fstype.c return error; error 447 fs/gfs2/ops_fstype.c int error = 0; error 456 fs/gfs2/ops_fstype.c error = IS_ERR(p); error 457 fs/gfs2/ops_fstype.c if (error) { error 458 fs/gfs2/ops_fstype.c fs_err(sdp, "can't start glockd thread: %d\n", error); error 464 fs/gfs2/ops_fstype.c error = gfs2_glock_nq_num(sdp, error 468 fs/gfs2/ops_fstype.c if (error) { error 469 fs/gfs2/ops_fstype.c fs_err(sdp, "can't acquire mount glock: %d\n", error); error 473 fs/gfs2/ops_fstype.c error = gfs2_glock_nq_num(sdp, error 478 fs/gfs2/ops_fstype.c if (error) { error 479 fs/gfs2/ops_fstype.c fs_err(sdp, "can't acquire live glock: %d\n", error); error 483 fs/gfs2/ops_fstype.c error = gfs2_glock_get(sdp, GFS2_RENAME_LOCK, &gfs2_nondisk_glops, error 485 fs/gfs2/ops_fstype.c if (error) { error 486 fs/gfs2/ops_fstype.c fs_err(sdp, "can't create rename glock: %d\n", error); error 490 fs/gfs2/ops_fstype.c error = gfs2_glock_get(sdp, GFS2_TRANS_LOCK, &gfs2_trans_glops, error 492 fs/gfs2/ops_fstype.c if (error) { error 493 fs/gfs2/ops_fstype.c fs_err(sdp, "can't create transaction glock: %d\n", error); error 512 fs/gfs2/ops_fstype.c return error; error 671 fs/gfs2/ops_fstype.c int error = 0; error 680 fs/gfs2/ops_fstype.c fs_err(sdp, "can't lookup journal index: %d\n", error); error 688 fs/gfs2/ops_fstype.c error = gfs2_jindex_hold(sdp, &ji_gh); error 689 fs/gfs2/ops_fstype.c if (error) { error 690 fs/gfs2/ops_fstype.c fs_err(sdp, "can't read journal index: %d\n", error); error 694 fs/gfs2/ops_fstype.c error = -EINVAL; error 714 fs/gfs2/ops_fstype.c error = gfs2_glock_nq_num(sdp, sdp->sd_lockstruct.ls_jid, error 718 fs/gfs2/ops_fstype.c if (error) { error 719 fs/gfs2/ops_fstype.c fs_err(sdp, "can't acquire journal glock: %d\n", error); error 724 fs/gfs2/ops_fstype.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, error 727 fs/gfs2/ops_fstype.c if (error) { error 729 fs/gfs2/ops_fstype.c error); error 733 fs/gfs2/ops_fstype.c error = gfs2_jdesc_check(sdp->sd_jdesc); error 734 fs/gfs2/ops_fstype.c if (error) { error 736 fs/gfs2/ops_fstype.c sdp->sd_jdesc->jd_jid, error); error 748 fs/gfs2/ops_fstype.c error = gfs2_recover_journal(gfs2_jdesc_find(sdp, x)); error 749 fs/gfs2/ops_fstype.c if (error) { error 751 fs/gfs2/ops_fstype.c x, error); error 758 fs/gfs2/ops_fstype.c error = gfs2_recover_journal(sdp->sd_jdesc); error 759 fs/gfs2/ops_fstype.c if (error) { error 760 fs/gfs2/ops_fstype.c fs_err(sdp, "error recovering my journal: %d\n", error); error 770 fs/gfs2/ops_fstype.c error = IS_ERR(p); error 771 fs/gfs2/ops_fstype.c if (error) { error 772 fs/gfs2/ops_fstype.c fs_err(sdp, "can't start recoverd thread: %d\n", error); error 793 fs/gfs2/ops_fstype.c return error; error 799 fs/gfs2/ops_fstype.c int error = 0; error 806 fs/gfs2/ops_fstype.c error = init_journal(sdp, undo); error 807 fs/gfs2/ops_fstype.c if (error) error 813 fs/gfs2/ops_fstype.c error = PTR_ERR(sdp->sd_inum_inode); error 814 fs/gfs2/ops_fstype.c fs_err(sdp, "can't read in inum inode: %d\n", error); error 822 fs/gfs2/ops_fstype.c error = PTR_ERR(sdp->sd_statfs_inode); error 823 fs/gfs2/ops_fstype.c fs_err(sdp, "can't read in statfs inode: %d\n", error); error 830 fs/gfs2/ops_fstype.c error = PTR_ERR(sdp->sd_rindex); error 831 fs/gfs2/ops_fstype.c fs_err(sdp, "can't get resource index inode: %d\n", error); error 841 fs/gfs2/ops_fstype.c error = PTR_ERR(sdp->sd_quota_inode); error 842 fs/gfs2/ops_fstype.c fs_err(sdp, "can't get quota file inode: %d\n", error); error 859 fs/gfs2/ops_fstype.c return error; error 866 fs/gfs2/ops_fstype.c int error = 0; error 878 fs/gfs2/ops_fstype.c error = PTR_ERR(pn); error 879 fs/gfs2/ops_fstype.c fs_err(sdp, "can't find per_node directory: %d\n", error); error 880 fs/gfs2/ops_fstype.c return error; error 886 fs/gfs2/ops_fstype.c error = PTR_ERR(sdp->sd_ir_inode); error 887 fs/gfs2/ops_fstype.c fs_err(sdp, "can't find local \"ir\" file: %d\n", error); error 894 fs/gfs2/ops_fstype.c error = PTR_ERR(sdp->sd_sc_inode); error 895 fs/gfs2/ops_fstype.c fs_err(sdp, "can't find local \"sc\" file: %d\n", error); error 902 fs/gfs2/ops_fstype.c error = PTR_ERR(sdp->sd_qc_inode); error 903 fs/gfs2/ops_fstype.c fs_err(sdp, "can't find local \"qc\" file: %d\n", error); error 911 fs/gfs2/ops_fstype.c error = gfs2_glock_nq_init(ip->i_gl, error 914 fs/gfs2/ops_fstype.c if (error) { error 915 fs/gfs2/ops_fstype.c fs_err(sdp, "can't lock local \"ir\" file: %d\n", error); error 920 fs/gfs2/ops_fstype.c error = gfs2_glock_nq_init(ip->i_gl, error 923 fs/gfs2/ops_fstype.c if (error) { error 924 fs/gfs2/ops_fstype.c fs_err(sdp, "can't lock local \"sc\" file: %d\n", error); error 929 fs/gfs2/ops_fstype.c error = gfs2_glock_nq_init(ip->i_gl, error 932 fs/gfs2/ops_fstype.c if (error) { error 933 fs/gfs2/ops_fstype.c fs_err(sdp, "can't lock local \"qc\" file: %d\n", error); error 954 fs/gfs2/ops_fstype.c return error; error 960 fs/gfs2/ops_fstype.c int error = 0; error 969 fs/gfs2/ops_fstype.c error = IS_ERR(p); error 970 fs/gfs2/ops_fstype.c if (error) { error 971 fs/gfs2/ops_fstype.c fs_err(sdp, "can't start logd thread: %d\n", error); error 972 fs/gfs2/ops_fstype.c return error; error 980 fs/gfs2/ops_fstype.c error = IS_ERR(p); error 981 fs/gfs2/ops_fstype.c if (error) { error 982 fs/gfs2/ops_fstype.c fs_err(sdp, "can't start quotad thread: %d\n", error); error 994 fs/gfs2/ops_fstype.c return error; error 1011 fs/gfs2/ops_fstype.c int error; error 1018 fs/gfs2/ops_fstype.c error = gfs2_mount_lockproto(proto, table, sdp->sd_args.ar_hostdata, error 1022 fs/gfs2/ops_fstype.c if (error) { error 1050 fs/gfs2/ops_fstype.c return error; error 1072 fs/gfs2/ops_fstype.c int error; error 1080 fs/gfs2/ops_fstype.c error = gfs2_mount_args(sdp, (char *)data, 0); error 1081 fs/gfs2/ops_fstype.c if (error) { error 1100 fs/gfs2/ops_fstype.c error = init_names(sdp, silent); error 1101 fs/gfs2/ops_fstype.c if (error) error 1106 fs/gfs2/ops_fstype.c error = gfs2_sys_fs_add(sdp); error 1107 fs/gfs2/ops_fstype.c if (error) error 1110 fs/gfs2/ops_fstype.c error = gfs2_lm_mount(sdp, silent); error 1111 fs/gfs2/ops_fstype.c if (error) error 1114 fs/gfs2/ops_fstype.c error = init_locking(sdp, &mount_gh, DO); error 1115 fs/gfs2/ops_fstype.c if (error) error 1118 fs/gfs2/ops_fstype.c error = init_sb(sdp, silent); error 1119 fs/gfs2/ops_fstype.c if (error) error 1122 fs/gfs2/ops_fstype.c error = init_inodes(sdp, DO); error 1123 fs/gfs2/ops_fstype.c if (error) error 1126 fs/gfs2/ops_fstype.c error = init_per_node(sdp, DO); error 1127 fs/gfs2/ops_fstype.c if (error) error 1130 fs/gfs2/ops_fstype.c error = gfs2_statfs_init(sdp); error 1131 fs/gfs2/ops_fstype.c if (error) { error 1132 fs/gfs2/ops_fstype.c fs_err(sdp, "can't initialize statfs subsystem: %d\n", error); error 1136 fs/gfs2/ops_fstype.c error = init_threads(sdp, DO); error 1137 fs/gfs2/ops_fstype.c if (error) error 1141 fs/gfs2/ops_fstype.c error = gfs2_make_fs_rw(sdp); error 1142 fs/gfs2/ops_fstype.c if (error) { error 1143 fs/gfs2/ops_fstype.c fs_err(sdp, "can't make FS RW: %d\n", error); error 1177 fs/gfs2/ops_fstype.c return error; error 1190 fs/gfs2/ops_fstype.c int error; error 1192 fs/gfs2/ops_fstype.c error = path_lookup(dev_name, LOOKUP_FOLLOW, &nd); error 1193 fs/gfs2/ops_fstype.c if (error) { error 1195 fs/gfs2/ops_fstype.c dev_name, error); error 119 fs/gfs2/ops_inode.c int error; error 120 fs/gfs2/ops_inode.c error = gfs2_glock_nq_init(gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); error 121 fs/gfs2/ops_inode.c if (error) { error 123 fs/gfs2/ops_inode.c return ERR_PTR(error); error 154 fs/gfs2/ops_inode.c int error; error 162 fs/gfs2/ops_inode.c error = gfs2_glock_nq(ghs); /* parent */ error 163 fs/gfs2/ops_inode.c if (error) error 166 fs/gfs2/ops_inode.c error = gfs2_glock_nq(ghs + 1); /* child */ error 167 fs/gfs2/ops_inode.c if (error) error 170 fs/gfs2/ops_inode.c error = gfs2_permission(dir, MAY_WRITE | MAY_EXEC); error 171 fs/gfs2/ops_inode.c if (error) error 174 fs/gfs2/ops_inode.c error = gfs2_dir_check(dir, &dentry->d_name, NULL); error 175 fs/gfs2/ops_inode.c switch (error) { error 179 fs/gfs2/ops_inode.c error = -EEXIST; error 184 fs/gfs2/ops_inode.c error = -EINVAL; error 187 fs/gfs2/ops_inode.c error = -EFBIG; error 190 fs/gfs2/ops_inode.c error = -EPERM; error 193 fs/gfs2/ops_inode.c error = -EINVAL; error 196 fs/gfs2/ops_inode.c error = -EMLINK; error 200 fs/gfs2/ops_inode.c alloc_required = error = gfs2_diradd_alloc_required(dir, &dentry->d_name); error 201 fs/gfs2/ops_inode.c if (error < 0) error 203 fs/gfs2/ops_inode.c error = 0; error 208 fs/gfs2/ops_inode.c error = -ENOMEM; error 212 fs/gfs2/ops_inode.c error = gfs2_quota_lock_check(dip); error 213 fs/gfs2/ops_inode.c if (error) error 218 fs/gfs2/ops_inode.c error = gfs2_inplace_reserve(dip); error 219 fs/gfs2/ops_inode.c if (error) error 222 fs/gfs2/ops_inode.c error = gfs2_trans_begin(sdp, sdp->sd_max_dirres + error 226 fs/gfs2/ops_inode.c if (error) error 229 fs/gfs2/ops_inode.c error = gfs2_trans_begin(sdp, 2 * RES_DINODE + RES_LEAF, 0); error 230 fs/gfs2/ops_inode.c if (error) error 234 fs/gfs2/ops_inode.c error = gfs2_dir_add(dir, &dentry->d_name, ip, IF2DT(inode->i_mode)); error 235 fs/gfs2/ops_inode.c if (error) error 238 fs/gfs2/ops_inode.c error = gfs2_change_nlink(ip, +1); error 258 fs/gfs2/ops_inode.c if (!error) { error 263 fs/gfs2/ops_inode.c return error; error 284 fs/gfs2/ops_inode.c int error; error 286 fs/gfs2/ops_inode.c error = gfs2_rindex_hold(sdp, &ri_gh); error 287 fs/gfs2/ops_inode.c if (error) error 288 fs/gfs2/ops_inode.c return error; error 297 fs/gfs2/ops_inode.c error = gfs2_glock_nq(ghs); /* parent */ error 298 fs/gfs2/ops_inode.c if (error) error 301 fs/gfs2/ops_inode.c error = gfs2_glock_nq(ghs + 1); /* child */ error 302 fs/gfs2/ops_inode.c if (error) error 305 fs/gfs2/ops_inode.c error = gfs2_glock_nq(ghs + 2); /* rgrp */ error 306 fs/gfs2/ops_inode.c if (error) error 309 fs/gfs2/ops_inode.c error = gfs2_unlink_ok(dip, &dentry->d_name, ip); error 310 fs/gfs2/ops_inode.c if (error) error 313 fs/gfs2/ops_inode.c error = gfs2_trans_begin(sdp, 2*RES_DINODE + RES_LEAF + RES_RG_BIT, 0); error 314 fs/gfs2/ops_inode.c if (error) error 317 fs/gfs2/ops_inode.c error = gfs2_dir_del(dip, &dentry->d_name); error 318 fs/gfs2/ops_inode.c if (error) error 321 fs/gfs2/ops_inode.c error = gfs2_change_nlink(ip, -1); error 336 fs/gfs2/ops_inode.c return error; error 357 fs/gfs2/ops_inode.c int error; error 376 fs/gfs2/ops_inode.c error = gfs2_meta_inode_buffer(ip, &dibh); error 378 fs/gfs2/ops_inode.c if (!gfs2_assert_withdraw(sdp, !error)) { error 415 fs/gfs2/ops_inode.c int error; error 432 fs/gfs2/ops_inode.c error = gfs2_meta_inode_buffer(ip, &dibh); error 434 fs/gfs2/ops_inode.c if (!gfs2_assert_withdraw(sdp, !error)) { error 458 fs/gfs2/ops_inode.c error = gfs2_change_nlink(dip, +1); error 459 fs/gfs2/ops_inode.c gfs2_assert_withdraw(sdp, !error); /* dip already pinned */ error 493 fs/gfs2/ops_inode.c int error; error 495 fs/gfs2/ops_inode.c error = gfs2_rindex_hold(sdp, &ri_gh); error 496 fs/gfs2/ops_inode.c if (error) error 497 fs/gfs2/ops_inode.c return error; error 504 fs/gfs2/ops_inode.c error = gfs2_glock_nq(ghs); /* parent */ error 505 fs/gfs2/ops_inode.c if (error) error 508 fs/gfs2/ops_inode.c error = gfs2_glock_nq(ghs + 1); /* child */ error 509 fs/gfs2/ops_inode.c if (error) error 512 fs/gfs2/ops_inode.c error = gfs2_glock_nq(ghs + 2); /* rgrp */ error 513 fs/gfs2/ops_inode.c if (error) error 516 fs/gfs2/ops_inode.c error = gfs2_unlink_ok(dip, &dentry->d_name, ip); error 517 fs/gfs2/ops_inode.c if (error) error 523 fs/gfs2/ops_inode.c error = -EIO; error 527 fs/gfs2/ops_inode.c error = -ENOTEMPTY; error 531 fs/gfs2/ops_inode.c error = gfs2_trans_begin(sdp, 2 * RES_DINODE + 3 * RES_LEAF + RES_RG_BIT, 0); error 532 fs/gfs2/ops_inode.c if (error) error 535 fs/gfs2/ops_inode.c error = gfs2_rmdiri(dip, &dentry->d_name, ip); error 550 fs/gfs2/ops_inode.c return error; error 609 fs/gfs2/ops_inode.c int error = 0; error 617 fs/gfs2/ops_inode.c error = -EINVAL; error 621 fs/gfs2/ops_inode.c error = 0; error 627 fs/gfs2/ops_inode.c error = PTR_ERR(tmp); error 637 fs/gfs2/ops_inode.c return error; error 664 fs/gfs2/ops_inode.c int error; error 674 fs/gfs2/ops_inode.c error = gfs2_glock_nq_init(sdp->sd_rename_gl, LM_ST_EXCLUSIVE, error 676 fs/gfs2/ops_inode.c if (error) error 682 fs/gfs2/ops_inode.c error = gfs2_ok_to_move(ip, ndip); error 683 fs/gfs2/ops_inode.c if (error) error 710 fs/gfs2/ops_inode.c error = gfs2_glock_nq(ghs + x); error 711 fs/gfs2/ops_inode.c if (error) error 717 fs/gfs2/ops_inode.c error = gfs2_unlink_ok(odip, &odentry->d_name, ip); error 718 fs/gfs2/ops_inode.c if (error) error 724 fs/gfs2/ops_inode.c error = gfs2_unlink_ok(ndip, &ndentry->d_name, nip); error 725 fs/gfs2/ops_inode.c if (error) error 732 fs/gfs2/ops_inode.c error = -EIO; error 736 fs/gfs2/ops_inode.c error = -ENOTEMPTY; error 741 fs/gfs2/ops_inode.c error = gfs2_permission(ndir, MAY_WRITE | MAY_EXEC); error 742 fs/gfs2/ops_inode.c if (error) error 745 fs/gfs2/ops_inode.c error = gfs2_dir_check(ndir, &ndentry->d_name, NULL); error 746 fs/gfs2/ops_inode.c switch (error) { error 748 fs/gfs2/ops_inode.c error = 0; error 751 fs/gfs2/ops_inode.c error = -EEXIST; error 758 fs/gfs2/ops_inode.c error = -EINVAL; error 762 fs/gfs2/ops_inode.c error = -EFBIG; error 767 fs/gfs2/ops_inode.c error = -EMLINK; error 776 fs/gfs2/ops_inode.c error = gfs2_permission(odentry->d_inode, MAY_WRITE); error 777 fs/gfs2/ops_inode.c if (error) error 781 fs/gfs2/ops_inode.c alloc_required = error = gfs2_diradd_alloc_required(ndir, &ndentry->d_name); error 782 fs/gfs2/ops_inode.c if (error < 0) error 784 fs/gfs2/ops_inode.c error = 0; error 789 fs/gfs2/ops_inode.c error = -ENOMEM; error 793 fs/gfs2/ops_inode.c error = gfs2_quota_lock_check(ndip); error 794 fs/gfs2/ops_inode.c if (error) error 799 fs/gfs2/ops_inode.c error = gfs2_inplace_reserve(ndip); error 800 fs/gfs2/ops_inode.c if (error) error 803 fs/gfs2/ops_inode.c error = gfs2_trans_begin(sdp, sdp->sd_max_dirres + error 807 fs/gfs2/ops_inode.c if (error) error 810 fs/gfs2/ops_inode.c error = gfs2_trans_begin(sdp, 4 * RES_DINODE + error 812 fs/gfs2/ops_inode.c if (error) error 820 fs/gfs2/ops_inode.c error = gfs2_rmdiri(ndip, &ndentry->d_name, nip); error 822 fs/gfs2/ops_inode.c error = gfs2_dir_del(ndip, &ndentry->d_name); error 823 fs/gfs2/ops_inode.c if (error) error 825 fs/gfs2/ops_inode.c error = gfs2_change_nlink(nip, -1); error 827 fs/gfs2/ops_inode.c if (error) error 835 fs/gfs2/ops_inode.c error = gfs2_change_nlink(ndip, +1); error 836 fs/gfs2/ops_inode.c if (error) error 838 fs/gfs2/ops_inode.c error = gfs2_change_nlink(odip, -1); error 839 fs/gfs2/ops_inode.c if (error) error 842 fs/gfs2/ops_inode.c error = gfs2_dir_mvino(ip, &name, ndip, DT_DIR); error 843 fs/gfs2/ops_inode.c if (error) error 847 fs/gfs2/ops_inode.c error = gfs2_meta_inode_buffer(ip, &dibh); error 848 fs/gfs2/ops_inode.c if (error) error 856 fs/gfs2/ops_inode.c error = gfs2_dir_del(odip, &odentry->d_name); error 857 fs/gfs2/ops_inode.c if (error) error 860 fs/gfs2/ops_inode.c error = gfs2_dir_add(ndir, &ndentry->d_name, ip, IF2DT(ip->i_inode.i_mode)); error 861 fs/gfs2/ops_inode.c if (error) error 884 fs/gfs2/ops_inode.c return error; error 902 fs/gfs2/ops_inode.c int error; error 904 fs/gfs2/ops_inode.c error = gfs2_readlinki(ip, &buf, &len); error 905 fs/gfs2/ops_inode.c if (error) error 906 fs/gfs2/ops_inode.c return error; error 912 fs/gfs2/ops_inode.c error = -EFAULT; error 914 fs/gfs2/ops_inode.c error = user_size; error 919 fs/gfs2/ops_inode.c return error; error 938 fs/gfs2/ops_inode.c int error; error 940 fs/gfs2/ops_inode.c error = gfs2_readlinki(ip, &buf, &len); error 941 fs/gfs2/ops_inode.c if (!error) { error 942 fs/gfs2/ops_inode.c error = vfs_follow_link(nd, buf); error 947 fs/gfs2/ops_inode.c return ERR_PTR(error); error 967 fs/gfs2/ops_inode.c int error; error 971 fs/gfs2/ops_inode.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); error 972 fs/gfs2/ops_inode.c if (error) error 973 fs/gfs2/ops_inode.c return error; error 978 fs/gfs2/ops_inode.c error = -EACCES; error 980 fs/gfs2/ops_inode.c error = generic_permission(inode, mask, gfs2_check_acl); error 984 fs/gfs2/ops_inode.c return error; error 991 fs/gfs2/ops_inode.c int error; error 994 fs/gfs2/ops_inode.c error = gfs2_trans_begin(sdp, 0, sdp->sd_jdesc->jd_blocks); error 995 fs/gfs2/ops_inode.c if (error) error 996 fs/gfs2/ops_inode.c return error; error 997 fs/gfs2/ops_inode.c error = vmtruncate(inode, attr->ia_size); error 999 fs/gfs2/ops_inode.c if (error) error 1000 fs/gfs2/ops_inode.c return error; error 1003 fs/gfs2/ops_inode.c error = gfs2_truncatei(ip, attr->ia_size); error 1004 fs/gfs2/ops_inode.c if (error && (inode->i_size != ip->i_di.di_size)) error 1007 fs/gfs2/ops_inode.c return error; error 1016 fs/gfs2/ops_inode.c int error; error 1031 fs/gfs2/ops_inode.c error = gfs2_quota_lock(ip, nuid, ngid); error 1032 fs/gfs2/ops_inode.c if (error) error 1036 fs/gfs2/ops_inode.c error = gfs2_quota_check(ip, nuid, ngid); error 1037 fs/gfs2/ops_inode.c if (error) error 1041 fs/gfs2/ops_inode.c error = gfs2_trans_begin(sdp, RES_DINODE + 2 * RES_QUOTA, 0); error 1042 fs/gfs2/ops_inode.c if (error) error 1045 fs/gfs2/ops_inode.c error = gfs2_meta_inode_buffer(ip, &dibh); error 1046 fs/gfs2/ops_inode.c if (error) error 1049 fs/gfs2/ops_inode.c error = inode_setattr(inode, attr); error 1050 fs/gfs2/ops_inode.c gfs2_assert_warn(sdp, !error); error 1068 fs/gfs2/ops_inode.c return error; error 1087 fs/gfs2/ops_inode.c int error; error 1089 fs/gfs2/ops_inode.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); error 1090 fs/gfs2/ops_inode.c if (error) error 1091 fs/gfs2/ops_inode.c return error; error 1093 fs/gfs2/ops_inode.c error = -EPERM; error 1097 fs/gfs2/ops_inode.c error = inode_change_ok(inode, attr); error 1098 fs/gfs2/ops_inode.c if (error) error 1102 fs/gfs2/ops_inode.c error = setattr_size(inode, attr); error 1104 fs/gfs2/ops_inode.c error = setattr_chown(inode, attr); error 1106 fs/gfs2/ops_inode.c error = gfs2_acl_chmod(ip, attr); error 1108 fs/gfs2/ops_inode.c error = gfs2_setattr_simple(ip, attr); error 1112 fs/gfs2/ops_inode.c if (!error) error 1114 fs/gfs2/ops_inode.c return error; error 1138 fs/gfs2/ops_inode.c int error; error 1142 fs/gfs2/ops_inode.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); error 1143 fs/gfs2/ops_inode.c if (error) error 1144 fs/gfs2/ops_inode.c return error; error 102 fs/gfs2/ops_super.c int error; error 107 fs/gfs2/ops_super.c error = gfs2_glock_nq_init(sdp->sd_trans_gl, LM_ST_SHARED, GL_NOCACHE, error 109 fs/gfs2/ops_super.c if (error && !test_bit(SDF_SHUTDOWN, &sdp->sd_flags)) error 110 fs/gfs2/ops_super.c return error; error 122 fs/gfs2/ops_super.c return error; error 134 fs/gfs2/ops_super.c int error; error 150 fs/gfs2/ops_super.c error = gfs2_make_fs_ro(sdp); error 151 fs/gfs2/ops_super.c if (error) error 226 fs/gfs2/ops_super.c int error; error 232 fs/gfs2/ops_super.c error = gfs2_freeze_fs(sdp); error 233 fs/gfs2/ops_super.c if (!error) error 236 fs/gfs2/ops_super.c switch (error) { error 242 fs/gfs2/ops_super.c fs_err(sdp, "error freezing FS: %d\n", error); error 275 fs/gfs2/ops_super.c int error; error 278 fs/gfs2/ops_super.c error = gfs2_statfs_slow(sdp, &sc); error 280 fs/gfs2/ops_super.c error = gfs2_statfs_i(sdp, &sc); error 282 fs/gfs2/ops_super.c if (error) error 283 fs/gfs2/ops_super.c return error; error 309 fs/gfs2/ops_super.c int error; error 311 fs/gfs2/ops_super.c error = gfs2_mount_args(sdp, data, 1); error 312 fs/gfs2/ops_super.c if (error) error 313 fs/gfs2/ops_super.c return error; error 320 fs/gfs2/ops_super.c error = gfs2_make_fs_ro(sdp); error 323 fs/gfs2/ops_super.c error = gfs2_make_fs_rw(sdp); error 327 fs/gfs2/ops_super.c return error; error 482 fs/gfs2/ops_super.c int error; error 487 fs/gfs2/ops_super.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); error 488 fs/gfs2/ops_super.c if (unlikely(error)) { error 495 fs/gfs2/ops_super.c error = gfs2_glock_nq(&ip->i_iopen_gh); error 496 fs/gfs2/ops_super.c if (error) error 501 fs/gfs2/ops_super.c error = gfs2_dir_exhash_dealloc(ip); error 502 fs/gfs2/ops_super.c if (error) error 507 fs/gfs2/ops_super.c error = gfs2_ea_dealloc(ip); error 508 fs/gfs2/ops_super.c if (error) error 513 fs/gfs2/ops_super.c error = gfs2_file_dealloc(ip); error 514 fs/gfs2/ops_super.c if (error) error 518 fs/gfs2/ops_super.c error = gfs2_dinode_dealloc(ip); error 519 fs/gfs2/ops_super.c if (error) error 522 fs/gfs2/ops_super.c error = gfs2_trans_begin(sdp, 0, sdp->sd_jdesc->jd_blocks); error 523 fs/gfs2/ops_super.c if (error) error 534 fs/gfs2/ops_super.c if (error && error != GLR_TRYFAILED) error 535 fs/gfs2/ops_super.c fs_warn(sdp, "gfs2_delete_inode: %d\n", error); error 95 fs/gfs2/quota.c int error; error 107 fs/gfs2/quota.c error = gfs2_glock_get(sdp, 2 * (u64)id + !user, error 109 fs/gfs2/quota.c if (error) error 112 fs/gfs2/quota.c error = gfs2_lvb_hold(qd->qd_gl); error 114 fs/gfs2/quota.c if (error) error 123 fs/gfs2/quota.c return error; error 130 fs/gfs2/quota.c int error, found; error 167 fs/gfs2/quota.c error = qd_alloc(sdp, user, id, &new_qd); error 168 fs/gfs2/quota.c if (error) error 169 fs/gfs2/quota.c return error; error 265 fs/gfs2/quota.c int error; error 279 fs/gfs2/quota.c error = gfs2_block_map(&ip->i_inode, block, &bh_map, 0); error 280 fs/gfs2/quota.c if (error) error 282 fs/gfs2/quota.c error = gfs2_meta_read(ip->i_gl, bh_map.b_blocknr, DIO_WAIT, &bh); error 283 fs/gfs2/quota.c if (error) error 285 fs/gfs2/quota.c error = -EIO; error 303 fs/gfs2/quota.c return error; error 323 fs/gfs2/quota.c int error; error 359 fs/gfs2/quota.c error = bh_get(qd); error 360 fs/gfs2/quota.c if (error) { error 364 fs/gfs2/quota.c return error; error 423 fs/gfs2/quota.c int error; error 425 fs/gfs2/quota.c error = qd_get(sdp, user, id, create, qdp); error 426 fs/gfs2/quota.c if (error) error 427 fs/gfs2/quota.c return error; error 429 fs/gfs2/quota.c error = slot_get(*qdp); error 430 fs/gfs2/quota.c if (error) error 433 fs/gfs2/quota.c error = bh_get(*qdp); error 434 fs/gfs2/quota.c if (error) error 443 fs/gfs2/quota.c return error; error 458 fs/gfs2/quota.c int error; error 467 fs/gfs2/quota.c error = qdsb_get(sdp, QUOTA_USER, ip->i_inode.i_uid, CREATE, qd); error 468 fs/gfs2/quota.c if (error) error 473 fs/gfs2/quota.c error = qdsb_get(sdp, QUOTA_GROUP, ip->i_inode.i_gid, CREATE, qd); error 474 fs/gfs2/quota.c if (error) error 480 fs/gfs2/quota.c error = qdsb_get(sdp, QUOTA_USER, uid, CREATE, qd); error 481 fs/gfs2/quota.c if (error) error 488 fs/gfs2/quota.c error = qdsb_get(sdp, QUOTA_GROUP, gid, CREATE, qd); error 489 fs/gfs2/quota.c if (error) error 496 fs/gfs2/quota.c if (error) error 498 fs/gfs2/quota.c return error; error 688 fs/gfs2/quota.c int error; error 699 fs/gfs2/quota.c error = gfs2_glock_nq_init(qda[qx]->qd_gl, error 702 fs/gfs2/quota.c if (error) error 706 fs/gfs2/quota.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); error 707 fs/gfs2/quota.c if (error) error 714 fs/gfs2/quota.c error = gfs2_write_alloc_required(ip, offset, error 717 fs/gfs2/quota.c if (error) error 725 fs/gfs2/quota.c error = -ENOMEM; error 740 fs/gfs2/quota.c error = gfs2_inplace_reserve(ip); error 741 fs/gfs2/quota.c if (error) error 747 fs/gfs2/quota.c error = gfs2_trans_begin(sdp, blocks, 0); error 748 fs/gfs2/quota.c if (error) error 754 fs/gfs2/quota.c error = gfs2_adjust_quota(ip, offset, qd->qd_change_sync, error 757 fs/gfs2/quota.c if (error) error 763 fs/gfs2/quota.c error = 0; error 778 fs/gfs2/quota.c return error; error 789 fs/gfs2/quota.c int error; error 793 fs/gfs2/quota.c error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_SHARED, 0, q_gh); error 794 fs/gfs2/quota.c if (error) error 795 fs/gfs2/quota.c return error; error 802 fs/gfs2/quota.c error = gfs2_glock_nq_init(qd->qd_gl, error 805 fs/gfs2/quota.c if (error) error 806 fs/gfs2/quota.c return error; error 808 fs/gfs2/quota.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh); error 809 fs/gfs2/quota.c if (error) error 814 fs/gfs2/quota.c error = gfs2_internal_read(ip, NULL, buf, &pos, error 816 fs/gfs2/quota.c if (error < 0) error 844 fs/gfs2/quota.c return error; error 852 fs/gfs2/quota.c int error = 0; error 864 fs/gfs2/quota.c error = do_glock(al->al_qd[x], NO_FORCE, &al->al_qd_ghs[x]); error 865 fs/gfs2/quota.c if (error) error 869 fs/gfs2/quota.c if (!error) error 877 fs/gfs2/quota.c return error; error 970 fs/gfs2/quota.c int error = 0; error 992 fs/gfs2/quota.c error = -EDQUOT; error 999 fs/gfs2/quota.c error = print_message(qd, "warning"); error 1004 fs/gfs2/quota.c return error; error 1035 fs/gfs2/quota.c int error = 0; error 1047 fs/gfs2/quota.c error = qd_fish(sdp, qda + num_qd); error 1048 fs/gfs2/quota.c if (error || !qda[num_qd]) error 1055 fs/gfs2/quota.c if (!error) error 1056 fs/gfs2/quota.c error = do_sync(num_qd, qda); error 1057 fs/gfs2/quota.c if (!error) error 1065 fs/gfs2/quota.c } while (!error && num_qd == max_qd); error 1069 fs/gfs2/quota.c return error; error 1076 fs/gfs2/quota.c int error; error 1078 fs/gfs2/quota.c error = qd_get(sdp, user, id, CREATE, &qd); error 1079 fs/gfs2/quota.c if (error) error 1080 fs/gfs2/quota.c return error; error 1082 fs/gfs2/quota.c error = do_glock(qd, FORCE, &q_gh); error 1083 fs/gfs2/quota.c if (!error) error 1088 fs/gfs2/quota.c return error; error 1108 fs/gfs2/quota.c int error; error 1118 fs/gfs2/quota.c error = -ENOMEM; error 1123 fs/gfs2/quota.c return error; error 1137 fs/gfs2/quota.c error = gfs2_extent_map(&ip->i_inode, x, &new, &dblock, &extlen); error 1138 fs/gfs2/quota.c if (error) error 1141 fs/gfs2/quota.c error = -EIO; error 1161 fs/gfs2/quota.c error = qd_alloc(sdp, (qc.qc_flags & GFS2_QCF_USER), error 1163 fs/gfs2/quota.c if (error) { error 1195 fs/gfs2/quota.c return error; error 38 fs/gfs2/recovery.c int error; error 40 fs/gfs2/recovery.c error = gfs2_extent_map(&ip->i_inode, blk, &new, &dblock, &extlen); error 41 fs/gfs2/recovery.c if (error) error 42 fs/gfs2/recovery.c return error; error 50 fs/gfs2/recovery.c return error; error 155 fs/gfs2/recovery.c int error; error 157 fs/gfs2/recovery.c error = gfs2_replay_read_block(jd, blk, &bh); error 158 fs/gfs2/recovery.c if (error) error 159 fs/gfs2/recovery.c return error; error 165 fs/gfs2/recovery.c error = gfs2_log_header_in(&lh, bh->b_data); error 168 fs/gfs2/recovery.c if (error || lh.lh_blkno != blk || lh.lh_hash != hash) error 193 fs/gfs2/recovery.c int error; error 196 fs/gfs2/recovery.c error = get_log_header(jd, *blk, head); error 197 fs/gfs2/recovery.c if (error <= 0) error 198 fs/gfs2/recovery.c return error; error 225 fs/gfs2/recovery.c int error; error 231 fs/gfs2/recovery.c error = get_log_header(jd, blk, &lh); error 232 fs/gfs2/recovery.c if (error < 0) error 233 fs/gfs2/recovery.c return error; error 234 fs/gfs2/recovery.c if (error == 1) error 265 fs/gfs2/recovery.c int error; error 273 fs/gfs2/recovery.c error = find_good_lh(jd, &blk_1, &lh_1); error 274 fs/gfs2/recovery.c if (error) error 275 fs/gfs2/recovery.c return error; error 277 fs/gfs2/recovery.c error = find_good_lh(jd, &blk_m, &lh_m); error 278 fs/gfs2/recovery.c if (error) error 279 fs/gfs2/recovery.c return error; error 290 fs/gfs2/recovery.c error = jhead_scan(jd, &lh_1); error 291 fs/gfs2/recovery.c if (error) error 292 fs/gfs2/recovery.c return error; error 296 fs/gfs2/recovery.c return error; error 317 fs/gfs2/recovery.c int error = 0; error 325 fs/gfs2/recovery.c error = gfs2_replay_read_block(jd, start, &bh); error 326 fs/gfs2/recovery.c if (error) error 327 fs/gfs2/recovery.c return error; error 337 fs/gfs2/recovery.c error = get_log_header(jd, start, &lh); error 338 fs/gfs2/recovery.c if (!error) { error 343 fs/gfs2/recovery.c if (error == 1) { error 345 fs/gfs2/recovery.c error = -EIO; error 348 fs/gfs2/recovery.c return error; error 354 fs/gfs2/recovery.c error = lops_scan_elements(jd, start, ld, ptr, pass); error 355 fs/gfs2/recovery.c if (error) { error 357 fs/gfs2/recovery.c return error; error 387 fs/gfs2/recovery.c int error; error 393 fs/gfs2/recovery.c error = gfs2_block_map(&ip->i_inode, lblock, &bh_map, 0); error 394 fs/gfs2/recovery.c if (error) error 395 fs/gfs2/recovery.c return error; error 424 fs/gfs2/recovery.c return error; error 459 fs/gfs2/recovery.c int error; error 467 fs/gfs2/recovery.c error = gfs2_glock_nq_num(sdp, jd->jd_jid, &gfs2_journal_glops, error 471 fs/gfs2/recovery.c switch (error) { error 477 fs/gfs2/recovery.c error = 0; error 483 fs/gfs2/recovery.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, error 485 fs/gfs2/recovery.c if (error) error 493 fs/gfs2/recovery.c error = gfs2_jdesc_check(jd); error 494 fs/gfs2/recovery.c if (error) error 497 fs/gfs2/recovery.c error = gfs2_find_jhead(jd, &head); error 498 fs/gfs2/recovery.c if (error) error 509 fs/gfs2/recovery.c error = gfs2_glock_nq_init(sdp->sd_trans_gl, LM_ST_SHARED, error 512 fs/gfs2/recovery.c if (error) error 534 fs/gfs2/recovery.c error = -EROFS; error 542 fs/gfs2/recovery.c error = foreach_descriptor(jd, head.lh_tail, error 544 fs/gfs2/recovery.c lops_after_scan(jd, error, pass); error 545 fs/gfs2/recovery.c if (error) error 549 fs/gfs2/recovery.c error = clean_journal(jd, &head); error 550 fs/gfs2/recovery.c if (error) error 579 fs/gfs2/recovery.c fs_info(sdp, "jid=%u: %s\n", jd->jd_jid, (error) ? "Failed" : "Done"); error 583 fs/gfs2/recovery.c return error; error 497 fs/gfs2/rgrp.c int error, rgrps; error 506 fs/gfs2/rgrp.c error = gfs2_internal_read(ip, &ra_state, buf, &pos, error 508 fs/gfs2/rgrp.c if (error != sizeof(struct gfs2_rindex)) error 540 fs/gfs2/rgrp.c int error; error 543 fs/gfs2/rgrp.c error = gfs2_internal_read(ip, ra_state, buf, &pos, error 545 fs/gfs2/rgrp.c if (!error) error 547 fs/gfs2/rgrp.c if (error != sizeof(struct gfs2_rindex)) { error 548 fs/gfs2/rgrp.c if (error > 0) error 549 fs/gfs2/rgrp.c error = -EIO; error 550 fs/gfs2/rgrp.c return error; error 554 fs/gfs2/rgrp.c error = -ENOMEM; error 556 fs/gfs2/rgrp.c return error; error 566 fs/gfs2/rgrp.c error = compute_bitstructs(rgd); error 567 fs/gfs2/rgrp.c if (error) error 568 fs/gfs2/rgrp.c return error; error 570 fs/gfs2/rgrp.c error = gfs2_glock_get(sdp, rgd->rd_addr, error 572 fs/gfs2/rgrp.c if (error) error 573 fs/gfs2/rgrp.c return error; error 578 fs/gfs2/rgrp.c return error; error 594 fs/gfs2/rgrp.c int error; error 605 fs/gfs2/rgrp.c error = read_rindex_entry(ip, &ra_state); error 606 fs/gfs2/rgrp.c if (error) { error 608 fs/gfs2/rgrp.c return error; error 631 fs/gfs2/rgrp.c int error; error 639 fs/gfs2/rgrp.c error = read_rindex_entry(ip, &ra_state); error 640 fs/gfs2/rgrp.c if (error) { error 642 fs/gfs2/rgrp.c return error; error 672 fs/gfs2/rgrp.c int error; error 674 fs/gfs2/rgrp.c error = gfs2_glock_nq_init(gl, LM_ST_SHARED, 0, ri_gh); error 675 fs/gfs2/rgrp.c if (error) error 676 fs/gfs2/rgrp.c return error; error 682 fs/gfs2/rgrp.c error = gfs2_ri_update(ip); error 683 fs/gfs2/rgrp.c if (error) error 689 fs/gfs2/rgrp.c return error; error 741 fs/gfs2/rgrp.c int error; error 756 fs/gfs2/rgrp.c error = gfs2_meta_read(gl, rgd->rd_addr + x, 0, &bi->bi_bh); error 757 fs/gfs2/rgrp.c if (error) error 763 fs/gfs2/rgrp.c error = gfs2_meta_wait(sdp, bi->bi_bh); error 764 fs/gfs2/rgrp.c if (error) error 768 fs/gfs2/rgrp.c error = -EIO; error 796 fs/gfs2/rgrp.c return error; error 1031 fs/gfs2/rgrp.c int error, rg_locked; error 1040 fs/gfs2/rgrp.c error = 0; error 1042 fs/gfs2/rgrp.c error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, error 1045 fs/gfs2/rgrp.c switch (error) { error 1061 fs/gfs2/rgrp.c return ERR_PTR(error); error 1074 fs/gfs2/rgrp.c error = 0; error 1076 fs/gfs2/rgrp.c error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, flags, error 1079 fs/gfs2/rgrp.c switch (error) { error 1096 fs/gfs2/rgrp.c return ERR_PTR(error); error 1140 fs/gfs2/rgrp.c int error = 0; error 1150 fs/gfs2/rgrp.c error = gfs2_rindex_hold(sdp, &al->al_ri_gh); error 1152 fs/gfs2/rgrp.c error = gfs2_ri_update_special(ip); error 1154 fs/gfs2/rgrp.c if (error) error 1155 fs/gfs2/rgrp.c return error; error 54 fs/gfs2/super.c int error; error 61 fs/gfs2/super.c error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, ji_gh); error 62 fs/gfs2/super.c if (error) error 68 fs/gfs2/super.c error = gfs2_dir_check(sdp->sd_jindex, &name, NULL); error 69 fs/gfs2/super.c if (error == -ENOENT) { error 70 fs/gfs2/super.c error = 0; error 76 fs/gfs2/super.c if (error) error 79 fs/gfs2/super.c error = -ENOMEM; error 88 fs/gfs2/super.c error = -ENOENT; error 90 fs/gfs2/super.c error = PTR_ERR(jd->jd_inode); error 103 fs/gfs2/super.c return error; error 207 fs/gfs2/super.c int error; error 216 fs/gfs2/super.c error = gfs2_write_alloc_required(ip, 0, ip->i_di.di_size, &ar); error 217 fs/gfs2/super.c if (!error && ar) { error 219 fs/gfs2/super.c error = -EIO; error 222 fs/gfs2/super.c return error; error 238 fs/gfs2/super.c int error; error 240 fs/gfs2/super.c error = gfs2_glock_nq_init(sdp->sd_trans_gl, LM_ST_SHARED, 0, &t_gh); error 241 fs/gfs2/super.c if (error) error 242 fs/gfs2/super.c return error; error 246 fs/gfs2/super.c error = gfs2_find_jhead(sdp->sd_jdesc, &head); error 247 fs/gfs2/super.c if (error) error 252 fs/gfs2/super.c error = -EIO; error 260 fs/gfs2/super.c error = gfs2_quota_init(sdp); error 261 fs/gfs2/super.c if (error) error 274 fs/gfs2/super.c return error; error 303 fs/gfs2/super.c int error; error 305 fs/gfs2/super.c error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, error 307 fs/gfs2/super.c if (error) error 308 fs/gfs2/super.c return error; error 310 fs/gfs2/super.c error = gfs2_meta_inode_buffer(m_ip, &m_bh); error 311 fs/gfs2/super.c if (error) error 320 fs/gfs2/super.c error = gfs2_meta_inode_buffer(l_ip, &l_bh); error 321 fs/gfs2/super.c if (error) error 347 fs/gfs2/super.c int error; error 349 fs/gfs2/super.c error = gfs2_meta_inode_buffer(l_ip, &l_bh); error 350 fs/gfs2/super.c if (error) error 373 fs/gfs2/super.c int error; error 375 fs/gfs2/super.c error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, error 377 fs/gfs2/super.c if (error) error 378 fs/gfs2/super.c return error; error 380 fs/gfs2/super.c error = gfs2_meta_inode_buffer(m_ip, &m_bh); error 381 fs/gfs2/super.c if (error) error 393 fs/gfs2/super.c error = gfs2_meta_inode_buffer(l_ip, &l_bh); error 394 fs/gfs2/super.c if (error) error 397 fs/gfs2/super.c error = gfs2_trans_begin(sdp, 2 * RES_DINODE, 0); error 398 fs/gfs2/super.c if (error) error 423 fs/gfs2/super.c return error; error 497 fs/gfs2/super.c int error = 0, err; error 504 fs/gfs2/super.c error = gfs2_rindex_hold(sdp, &ri_gh); error 505 fs/gfs2/super.c if (error) error 520 fs/gfs2/super.c error = err; error 522 fs/gfs2/super.c if (!error) error 523 fs/gfs2/super.c error = statfs_slow_fill( error 531 fs/gfs2/super.c else if (rgd_next && !error) { error 532 fs/gfs2/super.c error = gfs2_glock_nq_init(rgd_next->rd_gl, error 541 fs/gfs2/super.c error = -ERESTARTSYS; error 554 fs/gfs2/super.c return error; error 581 fs/gfs2/super.c int error; error 583 fs/gfs2/super.c error = gfs2_jindex_hold(sdp, &ji_gh); error 584 fs/gfs2/super.c if (error) error 585 fs/gfs2/super.c return error; error 590 fs/gfs2/super.c error = -ENOMEM; error 594 fs/gfs2/super.c error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &lfcc->gh); error 595 fs/gfs2/super.c if (error) { error 602 fs/gfs2/super.c error = gfs2_glock_nq_init(sdp->sd_trans_gl, LM_ST_DEFERRED, error 606 fs/gfs2/super.c error = gfs2_jdesc_check(jd); error 607 fs/gfs2/super.c if (error) error 609 fs/gfs2/super.c error = gfs2_find_jhead(jd, &lh); error 610 fs/gfs2/super.c if (error) error 613 fs/gfs2/super.c error = -EBUSY; error 618 fs/gfs2/super.c if (error) error 629 fs/gfs2/super.c return error; error 645 fs/gfs2/super.c int error = 0; error 650 fs/gfs2/super.c error = gfs2_lock_fs_check_clean(sdp, &sdp->sd_freeze_gh); error 651 fs/gfs2/super.c if (error) error 657 fs/gfs2/super.c return error; error 57 fs/gfs2/sys.c int error = 0; error 68 fs/gfs2/sys.c error = gfs2_freeze_fs(sdp); error 74 fs/gfs2/sys.c if (error) error 75 fs/gfs2/sys.c fs_warn(sdp, "freeze %d error %d", n, error); error 457 fs/gfs2/sys.c int error; error 460 fs/gfs2/sys.c error = kobject_init_and_add(&sdp->sd_kobj, &gfs2_ktype, NULL, error 462 fs/gfs2/sys.c if (error) error 465 fs/gfs2/sys.c error = sysfs_create_group(&sdp->sd_kobj, &lockstruct_group); error 466 fs/gfs2/sys.c if (error) error 469 fs/gfs2/sys.c error = sysfs_create_group(&sdp->sd_kobj, &counters_group); error 470 fs/gfs2/sys.c if (error) error 473 fs/gfs2/sys.c error = sysfs_create_group(&sdp->sd_kobj, &args_group); error 474 fs/gfs2/sys.c if (error) error 477 fs/gfs2/sys.c error = sysfs_create_group(&sdp->sd_kobj, &tune_group); error 478 fs/gfs2/sys.c if (error) error 493 fs/gfs2/sys.c fs_err(sdp, "error %d adding sysfs files", error); error 494 fs/gfs2/sys.c return error; error 32 fs/gfs2/trans.c int error; error 54 fs/gfs2/trans.c error = gfs2_glock_nq(&tr->tr_t_gh); error 55 fs/gfs2/trans.c if (error) error 60 fs/gfs2/trans.c error = -EROFS; error 64 fs/gfs2/trans.c error = gfs2_log_reserve(sdp, tr->tr_reserved); error 65 fs/gfs2/trans.c if (error) error 79 fs/gfs2/trans.c return error; error 568 fs/hfs/inode.c int error; error 570 fs/hfs/inode.c error = inode_change_ok(inode, attr); /* basic permission checks */ error 571 fs/hfs/inode.c if (error) error 572 fs/hfs/inode.c return error; error 583 fs/hfs/inode.c return hsb->s_quiet ? 0 : error; error 594 fs/hfs/inode.c error = inode_setattr(inode, attr); error 595 fs/hfs/inode.c if (error) error 596 fs/hfs/inode.c return error; error 109 fs/hfsplus/wrapper.c goto error; error 171 fs/hfsplus/wrapper.c goto error; error 176 fs/hfsplus/wrapper.c error: error 353 fs/hostfs/hostfs_kern.c int error, len; error 358 fs/hostfs/hostfs_kern.c dir = open_dir(name, &error); error 361 fs/hostfs/hostfs_kern.c return -error; error 364 fs/hostfs/hostfs_kern.c error = (*filldir)(ent, name, len, file->f_pos, error 366 fs/hostfs/hostfs_kern.c if (error) break; error 600 fs/hostfs/hostfs_kern.c int error, fd; error 604 fs/hostfs/hostfs_kern.c error = PTR_ERR(inode); error 608 fs/hostfs/hostfs_kern.c error = init_inode(inode, dentry); error 609 fs/hostfs/hostfs_kern.c if (error) error 612 fs/hostfs/hostfs_kern.c error = -ENOMEM; error 622 fs/hostfs/hostfs_kern.c error = fd; error 623 fs/hostfs/hostfs_kern.c else error = read_name(inode, name); error 626 fs/hostfs/hostfs_kern.c if (error) error 637 fs/hostfs/hostfs_kern.c return error; error 951 fs/hpfs/dnode.c else goto error; error 957 fs/hpfs/dnode.c if (!de->first) goto error; error 960 fs/hpfs/dnode.c if (!de->last) goto error; error 968 fs/hpfs/dnode.c if (!de->last) goto error; error 977 fs/hpfs/dnode.c error: error 266 fs/hpfs/inode.c int error=0; error 270 fs/hpfs/inode.c error = -EINVAL; error 271 fs/hpfs/inode.c } else if ((error = inode_change_ok(inode, attr))) { error 272 fs/hpfs/inode.c } else if ((error = inode_setattr(inode, attr))) { error 277 fs/hpfs/inode.c return error; error 476 fs/hugetlbfs/inode.c int error; error 481 fs/hugetlbfs/inode.c error = inode_change_ok(inode, attr); error 482 fs/hugetlbfs/inode.c if (error) error 486 fs/hugetlbfs/inode.c error = -EINVAL; error 488 fs/hugetlbfs/inode.c error = hugetlb_vmtruncate(inode, attr->ia_size); error 489 fs/hugetlbfs/inode.c if (error) error 493 fs/hugetlbfs/inode.c error = inode_setattr(inode, attr); error 495 fs/hugetlbfs/inode.c return error; error 546 fs/hugetlbfs/inode.c int error = -ENOSPC; error 561 fs/hugetlbfs/inode.c error = 0; error 563 fs/hugetlbfs/inode.c return error; error 583 fs/hugetlbfs/inode.c int error = -ENOSPC; error 595 fs/hugetlbfs/inode.c error = page_symlink(inode, symname, l); error 596 fs/hugetlbfs/inode.c if (!error) { error 604 fs/hugetlbfs/inode.c return error; error 949 fs/hugetlbfs/inode.c int error = -ENOMEM; error 972 fs/hugetlbfs/inode.c error = -ENOSPC; error 978 fs/hugetlbfs/inode.c error = -ENOMEM; error 987 fs/hugetlbfs/inode.c error = -ENFILE; error 1002 fs/hugetlbfs/inode.c return ERR_PTR(error); error 1007 fs/hugetlbfs/inode.c int error; error 1010 fs/hugetlbfs/inode.c error = bdi_init(&hugetlbfs_backing_dev_info); error 1011 fs/hugetlbfs/inode.c if (error) error 1012 fs/hugetlbfs/inode.c return error; error 1020 fs/hugetlbfs/inode.c error = register_filesystem(&hugetlbfs_fs_type); error 1021 fs/hugetlbfs/inode.c if (error) error 1031 fs/hugetlbfs/inode.c error = PTR_ERR(vfsmount); error 1034 fs/hugetlbfs/inode.c if (error) error 1038 fs/hugetlbfs/inode.c return error; error 369 fs/inotify_user.c int error; error 371 fs/inotify_user.c error = user_path_at(AT_FDCWD, dirname, flags, path); error 372 fs/inotify_user.c if (error) error 373 fs/inotify_user.c return error; error 375 fs/inotify_user.c error = inode_permission(path->dentry->d_inode, MAY_READ); error 376 fs/inotify_user.c if (error) error 378 fs/inotify_user.c return error; error 39 fs/ioctl.c int error = -ENOTTY; error 45 fs/ioctl.c error = filp->f_op->unlocked_ioctl(filp, cmd, arg); error 46 fs/ioctl.c if (error == -ENOIOCTLCMD) error 47 fs/ioctl.c error = -EINVAL; error 51 fs/ioctl.c error = filp->f_op->ioctl(filp->f_path.dentry->d_inode, error 57 fs/ioctl.c return error; error 191 fs/ioctl.c int error; error 203 fs/ioctl.c error = fiemap_check_ranges(sb, fiemap.fm_start, fiemap.fm_length, error 205 fs/ioctl.c if (error) error 206 fs/ioctl.c return error; error 220 fs/ioctl.c error = inode->i_op->fiemap(inode, &fieinfo, fiemap.fm_start, len); error 224 fs/ioctl.c error = -EFAULT; error 226 fs/ioctl.c return error; error 372 fs/ioctl.c int on, error; error 374 fs/ioctl.c error = get_user(on, argp); error 375 fs/ioctl.c if (error) error 376 fs/ioctl.c return error; error 387 fs/ioctl.c return error; error 394 fs/ioctl.c int on, error; error 396 fs/ioctl.c error = get_user(on, argp); error 397 fs/ioctl.c if (error) error 398 fs/ioctl.c return error; error 405 fs/ioctl.c error = filp->f_op->fasync(fd, filp, on); error 408 fs/ioctl.c error = -ENOTTY; error 410 fs/ioctl.c if (error) error 411 fs/ioctl.c return error; error 417 fs/ioctl.c return error; error 430 fs/ioctl.c int error = 0; error 443 fs/ioctl.c error = ioctl_fionbio(filp, argp); error 447 fs/ioctl.c error = ioctl_fioasync(fd, filp, argp); error 456 fs/ioctl.c error = copy_to_user((loff_t __user *)arg, &res, error 459 fs/ioctl.c error = -ENOTTY; error 463 fs/ioctl.c error = file_ioctl(filp, cmd, arg); error 465 fs/ioctl.c error = vfs_ioctl(filp, cmd, arg); error 468 fs/ioctl.c return error; error 474 fs/ioctl.c int error = -EBADF; error 481 fs/ioctl.c error = security_file_ioctl(filp, cmd, arg); error 482 fs/ioctl.c if (error) error 485 fs/ioctl.c error = do_vfs_ioctl(filp, fd, cmd, arg); error 489 fs/ioctl.c return error; error 562 fs/isofs/inode.c int table, error = -EINVAL; error 895 fs/isofs/inode.c error = PTR_ERR(inode); error 896 fs/isofs/inode.c if (error != -ENOMEM) error 926 fs/isofs/inode.c return error; error 958 fs/isofs/inode.c int section, rv, error; error 963 fs/isofs/inode.c error = -EIO; error 1003 fs/isofs/inode.c error = PTR_ERR(ninode); error 1036 fs/isofs/inode.c error = 0; error 1039 fs/isofs/inode.c return rv != 0 ? rv : error; error 1062 fs/isofs/inode.c int error; error 1066 fs/isofs/inode.c error = isofs_get_block(inode, block, &dummy, 0); error 1067 fs/isofs/inode.c if (!error) error 678 fs/isofs/rock.c goto error; error 770 fs/isofs/rock.c error: error 537 fs/jbd/transaction.c int error; error 596 fs/jbd/transaction.c error = -EROFS; error 601 fs/jbd/transaction.c error = 0; error 692 fs/jbd/transaction.c error = -ENOMEM; error 748 fs/jbd/transaction.c return error; error 546 fs/jbd2/transaction.c int error; error 605 fs/jbd2/transaction.c error = -EROFS; error 610 fs/jbd2/transaction.c error = 0; error 701 fs/jbd2/transaction.c error = -ENOMEM; error 757 fs/jbd2/transaction.c return error; error 317 fs/jffs2/debug.c goto error; error 331 fs/jffs2/debug.c goto error; error 339 fs/jffs2/debug.c goto error; error 345 fs/jffs2/debug.c goto error; error 353 fs/jffs2/debug.c goto error; error 361 fs/jffs2/debug.c goto error; error 370 fs/jffs2/debug.c error: error 323 fs/jffs2/fs.c goto error; error 348 fs/jffs2/fs.c error: error 1849 fs/jfs/jfs_logmgr.c goto error; error 1856 fs/jfs/jfs_logmgr.c goto error; error 1874 fs/jfs/jfs_logmgr.c error: error 236 fs/lockd/svc.c int error = 0; error 253 fs/lockd/svc.c error = -ENOMEM; error 260 fs/lockd/svc.c error = make_socks(serv); error 261 fs/lockd/svc.c if (error < 0) error 269 fs/lockd/svc.c error = PTR_ERR(nlmsvc_rqst); error 273 fs/lockd/svc.c error); error 281 fs/lockd/svc.c error = PTR_ERR(nlmsvc_task); error 286 fs/lockd/svc.c "lockd_up: kthread_run failed, error=%d\n", error); error 297 fs/lockd/svc.c if (!error) error 300 fs/lockd/svc.c return error; error 34 fs/lockd/svc4proc.c __be32 error = 0; error 48 fs/lockd/svc4proc.c if ((error = nlm_lookup_file(rqstp, &file, &lock->fh)) != 0) error 62 fs/lockd/svc4proc.c if (error) error 63 fs/lockd/svc4proc.c return error; error 366 fs/lockd/svclock.c int error; error 420 fs/lockd/svclock.c error = vfs_lock_file(file->f_file, F_SETLK, &lock->fl, NULL); error 423 fs/lockd/svclock.c dprintk("lockd: vfs_lock_file returned %d\n", error); error 424 fs/lockd/svclock.c switch (error) { error 466 fs/lockd/svclock.c int error; error 518 fs/lockd/svclock.c error = vfs_test_lock(file->f_file, &lock->fl); error 519 fs/lockd/svclock.c if (error == FILE_LOCK_DEFERRED) { error 523 fs/lockd/svclock.c if (error) { error 560 fs/lockd/svclock.c int error; error 573 fs/lockd/svclock.c error = vfs_lock_file(file->f_file, F_SETLK, &lock->fl, NULL); error 575 fs/lockd/svclock.c return (error < 0)? nlm_lck_denied_nolocks : nlm_granted; error 721 fs/lockd/svclock.c int error; error 740 fs/lockd/svclock.c error = vfs_lock_file(file->f_file, F_SETLK, &lock->fl, NULL); error 743 fs/lockd/svclock.c switch (error) { error 747 fs/lockd/svclock.c dprintk("lockd: lock still blocked error %d\n", error); error 753 fs/lockd/svclock.c -error, __func__); error 772 fs/lockd/svclock.c error = nlm_async_call(block->b_call, NLMPROC_GRANTED_MSG, error 776 fs/lockd/svclock.c if (error < 0) error 63 fs/lockd/svcproc.c __be32 error = 0; error 77 fs/lockd/svcproc.c if ((error = nlm_lookup_file(rqstp, &file, &lock->fh)) != 0) error 91 fs/lockd/svcproc.c if (error) error 92 fs/lockd/svcproc.c return error; error 467 fs/locks.c int error = -ENOMEM; error 470 fs/locks.c return ERR_PTR(error); error 472 fs/locks.c error = lease_init(filp, type, fl); error 473 fs/locks.c if (error) { error 475 fs/locks.c return ERR_PTR(error); error 729 fs/locks.c int error = 0; error 737 fs/locks.c error = -ENOMEM; error 741 fs/locks.c error = 0; error 761 fs/locks.c error = -ENOENT; error 781 fs/locks.c error = -EAGAIN; error 784 fs/locks.c error = FILE_LOCK_DEFERRED; error 793 fs/locks.c error = 0; error 799 fs/locks.c return error; error 810 fs/locks.c int error, added = 0; error 835 fs/locks.c error = -EAGAIN; error 838 fs/locks.c error = -EDEADLK; error 841 fs/locks.c error = FILE_LOCK_DEFERRED; error 848 fs/locks.c error = 0; error 955 fs/locks.c error = -ENOLCK; /* "no luck" */ error 959 fs/locks.c error = 0; error 963 fs/locks.c error = -ENOENT; error 968 fs/locks.c error = -ENOLCK; error 1001 fs/locks.c return error; error 1036 fs/locks.c int error; error 1039 fs/locks.c error = posix_lock_file(filp, fl, NULL); error 1040 fs/locks.c if (error != FILE_LOCK_DEFERRED) error 1042 fs/locks.c error = wait_event_interruptible(fl->fl_wait, !fl->fl_next); error 1043 fs/locks.c if (!error) error 1049 fs/locks.c return error; error 1097 fs/locks.c int error; error 1111 fs/locks.c error = __posix_lock_file(inode, &fl, NULL); error 1112 fs/locks.c if (error != FILE_LOCK_DEFERRED) error 1114 fs/locks.c error = wait_event_interruptible(fl.fl_wait, !fl.fl_next); error 1115 fs/locks.c if (!error) { error 1128 fs/locks.c return error; error 1137 fs/locks.c int error = assign_type(fl, arg); error 1139 fs/locks.c if (error) error 1140 fs/locks.c return error; error 1179 fs/locks.c int error = 0, future; error 1215 fs/locks.c error = PTR_ERR(new_fl); error 1236 fs/locks.c error = -EWOULDBLOCK; error 1248 fs/locks.c error = wait_event_interruptible_timeout(new_fl->fl_wait, error 1251 fs/locks.c if (error >= 0) { error 1252 fs/locks.c if (error == 0) error 1260 fs/locks.c error = 0; error 1267 fs/locks.c return error; error 1350 fs/locks.c int error, rdlease_count = 0, wrlease_count = 0; error 1356 fs/locks.c error = security_file_lock(filp, arg); error 1357 fs/locks.c if (error) error 1358 fs/locks.c return error; error 1367 fs/locks.c error = -ENOMEM; error 1372 fs/locks.c error = -EAGAIN; error 1405 fs/locks.c error = -EAGAIN; error 1412 fs/locks.c error = lease->fl_lmops->fl_change(my_before, arg); error 1416 fs/locks.c error = 0; error 1420 fs/locks.c error = -EINVAL; error 1433 fs/locks.c return error; error 1466 fs/locks.c int error; error 1470 fs/locks.c error = filp->f_op->setlease(filp, arg, lease); error 1472 fs/locks.c error = generic_setlease(filp, arg, lease); error 1475 fs/locks.c return error; error 1493 fs/locks.c int error; error 1496 fs/locks.c error = lease_init(filp, arg, &fl); error 1497 fs/locks.c if (error) error 1498 fs/locks.c return error; error 1502 fs/locks.c error = vfs_setlease(filp, arg, &flp); error 1503 fs/locks.c if (error || arg == F_UNLCK) error 1506 fs/locks.c error = fasync_helper(fd, filp, 1, &flp->fl_fasync); error 1507 fs/locks.c if (error < 0) { error 1515 fs/locks.c error = __f_setown(filp, task_pid(current), PIDTYPE_PID, 0); error 1518 fs/locks.c return error; error 1530 fs/locks.c int error; error 1533 fs/locks.c error = flock_lock_file(filp, fl); error 1534 fs/locks.c if (error != FILE_LOCK_DEFERRED) error 1536 fs/locks.c error = wait_event_interruptible(fl->fl_wait, !fl->fl_next); error 1537 fs/locks.c if (!error) error 1543 fs/locks.c return error; error 1572 fs/locks.c int error; error 1574 fs/locks.c error = -EBADF; error 1586 fs/locks.c error = flock_make_lock(filp, &lock, cmd); error 1587 fs/locks.c if (error) error 1592 fs/locks.c error = security_file_lock(filp, cmd); error 1593 fs/locks.c if (error) error 1597 fs/locks.c error = filp->f_op->flock(filp, error 1601 fs/locks.c error = flock_lock_file_wait(filp, lock); error 1609 fs/locks.c return error; error 1669 fs/locks.c int error; error 1671 fs/locks.c error = -EFAULT; error 1674 fs/locks.c error = -EINVAL; error 1678 fs/locks.c error = flock_to_posix_lock(filp, &file_lock, &flock); error 1679 fs/locks.c if (error) error 1682 fs/locks.c error = vfs_test_lock(filp, &file_lock); error 1683 fs/locks.c if (error) error 1688 fs/locks.c error = posix_lock_to_flock(&flock, &file_lock); error 1689 fs/locks.c if (error) error 1692 fs/locks.c error = -EFAULT; error 1694 fs/locks.c error = 0; error 1696 fs/locks.c return error; error 1744 fs/locks.c int error; error 1746 fs/locks.c error = security_file_lock(filp, fl->fl_type); error 1747 fs/locks.c if (error) error 1748 fs/locks.c return error; error 1751 fs/locks.c error = vfs_lock_file(filp, cmd, fl, NULL); error 1752 fs/locks.c if (error != FILE_LOCK_DEFERRED) error 1754 fs/locks.c error = wait_event_interruptible(fl->fl_wait, !fl->fl_next); error 1755 fs/locks.c if (!error) error 1762 fs/locks.c return error; error 1775 fs/locks.c int error; error 1783 fs/locks.c error = -EFAULT; error 1793 fs/locks.c error = -EAGAIN; error 1798 fs/locks.c error = flock_to_posix_lock(filp, file_lock, &flock); error 1799 fs/locks.c if (error) error 1805 fs/locks.c error = -EBADF; error 1818 fs/locks.c error = -EINVAL; error 1822 fs/locks.c error = do_lock_file_wait(filp, cmd, file_lock); error 1836 fs/locks.c if (!error && f != filp && flock.l_type != F_UNLCK) { error 1843 fs/locks.c return error; error 1854 fs/locks.c int error; error 1856 fs/locks.c error = -EFAULT; error 1859 fs/locks.c error = -EINVAL; error 1863 fs/locks.c error = flock64_to_posix_lock(filp, &file_lock, &flock); error 1864 fs/locks.c if (error) error 1867 fs/locks.c error = vfs_test_lock(filp, &file_lock); error 1868 fs/locks.c if (error) error 1875 fs/locks.c error = -EFAULT; error 1877 fs/locks.c error = 0; error 1880 fs/locks.c return error; error 1893 fs/locks.c int error; error 1901 fs/locks.c error = -EFAULT; error 1911 fs/locks.c error = -EAGAIN; error 1916 fs/locks.c error = flock64_to_posix_lock(filp, file_lock, &flock); error 1917 fs/locks.c if (error) error 1923 fs/locks.c error = -EBADF; error 1936 fs/locks.c error = -EINVAL; error 1940 fs/locks.c error = do_lock_file_wait(filp, cmd, file_lock); error 1949 fs/locks.c if (!error && f != filp && flock.l_type != F_UNLCK) { error 1956 fs/locks.c return error; error 441 fs/mbcache.c int error = -EBUSY, n; error 462 fs/mbcache.c error = 0; error 465 fs/mbcache.c return error; error 234 fs/minix/bitmap.c *error = -ENOMEM; error 239 fs/minix/bitmap.c *error = -ENOSPC; error 274 fs/minix/bitmap.c *error = 0; error 43 fs/minix/namei.c int error; error 49 fs/minix/namei.c inode = minix_new_inode(dir, &error); error 55 fs/minix/namei.c error = add_nondir(dentry, inode); error 57 fs/minix/namei.c return error; error 156 fs/msdos/namei.c int error; error 158 fs/msdos/namei.c error = msdos_format_name(qstr->name, qstr->len, msdos_name, options); error 159 fs/msdos/namei.c if (!error) error 172 fs/msdos/namei.c int error; error 174 fs/msdos/namei.c error = msdos_format_name(a->name, a->len, a_msdos_name, options); error 175 fs/msdos/namei.c if (error) error 177 fs/msdos/namei.c error = msdos_format_name(b->name, b->len, b_msdos_name, options); error 178 fs/msdos/namei.c if (error) error 180 fs/msdos/namei.c error = memcmp(a_msdos_name, b_msdos_name, MSDOS_NAME); error 182 fs/msdos/namei.c return error; error 185 fs/msdos/namei.c error = 1; error 187 fs/msdos/namei.c error = memcmp(a->name, b->name, a->len); error 193 fs/namei.c int error = check_acl(inode, mask); error 194 fs/namei.c if (error == -EACCES) error 196 fs/namei.c else if (error != -EAGAIN) error 197 fs/namei.c return error; error 634 fs/namei.c int error; error 647 fs/namei.c error = PTR_ERR(cookie); error 650 fs/namei.c error = 0; error 652 fs/namei.c error = __vfs_follow_link(nd, s); error 658 fs/namei.c return error; error 1346 fs/namei.c int error; error 1351 fs/namei.c error = do_path_lookup(dfd, s, LOOKUP_PARENT, nd); error 1352 fs/namei.c if (error) error 1357 fs/namei.c return error; error 1396 fs/namei.c int error; error 1404 fs/namei.c error = inode_permission(dir, MAY_WRITE | MAY_EXEC); error 1405 fs/namei.c if (error) error 1406 fs/namei.c return error; error 1506 fs/namei.c int error = may_create(dir, dentry); error 1508 fs/namei.c if (error) error 1509 fs/namei.c return error; error 1515 fs/namei.c error = security_inode_create(dir, dentry, mode); error 1516 fs/namei.c if (error) error 1517 fs/namei.c return error; error 1519 fs/namei.c error = dir->i_op->create(dir, dentry, mode, nd); error 1520 fs/namei.c if (!error) error 1522 fs/namei.c return error; error 1529 fs/namei.c int error; error 1554 fs/namei.c error = vfs_permission(nd, acc_mode); error 1555 fs/namei.c if (error) error 1556 fs/namei.c return error; error 1575 fs/namei.c error = break_lease(inode, flag); error 1576 fs/namei.c if (error) error 1577 fs/namei.c return error; error 1580 fs/namei.c error = get_write_access(inode); error 1581 fs/namei.c if (error) error 1582 fs/namei.c return error; error 1587 fs/namei.c error = locks_verify_locked(inode); error 1588 fs/namei.c if (!error) { error 1591 fs/namei.c error = do_truncate(dentry, 0, error 1596 fs/namei.c if (error) error 1597 fs/namei.c return error; error 1613 fs/namei.c int error; error 1618 fs/namei.c error = vfs_create(dir->d_inode, path->dentry, mode, nd); error 1622 fs/namei.c if (error) error 1623 fs/namei.c return error; error 1673 fs/namei.c int acc_mode, error; error 1695 fs/namei.c error = path_lookup_open(dfd, pathname, lookup_flags(flag), error 1697 fs/namei.c if (error) error 1698 fs/namei.c return ERR_PTR(error); error 1705 fs/namei.c error = path_lookup_create(dfd, pathname, LOOKUP_PARENT, error 1707 fs/namei.c if (error) error 1708 fs/namei.c return ERR_PTR(error); error 1715 fs/namei.c error = -EISDIR; error 1726 fs/namei.c error = PTR_ERR(path.dentry); error 1733 fs/namei.c error = PTR_ERR(nd.intent.open.file); error 1746 fs/namei.c error = mnt_want_write(nd.path.mnt); error 1747 fs/namei.c if (error) error 1749 fs/namei.c error = __open_namei_create(&nd, &path, flag, mode); error 1750 fs/namei.c if (error) { error 1765 fs/namei.c error = -EEXIST; error 1770 fs/namei.c error = -ELOOP; error 1775 fs/namei.c error = -ENOENT; error 1782 fs/namei.c error = -EISDIR; error 1798 fs/namei.c error = mnt_want_write(nd.path.mnt); error 1799 fs/namei.c if (error) error 1802 fs/namei.c error = may_open(&nd, acc_mode, flag); error 1803 fs/namei.c if (error) { error 1826 fs/namei.c return ERR_PTR(error); error 1829 fs/namei.c error = -ELOOP; error 1843 fs/namei.c error = security_inode_follow_link(path.dentry, &nd); error 1844 fs/namei.c if (error) error 1846 fs/namei.c error = __do_follow_link(&path, &nd); error 1847 fs/namei.c if (error) { error 1853 fs/namei.c return ERR_PTR(error); error 1858 fs/namei.c error = -EISDIR; error 1865 fs/namei.c error = -ELOOP; error 1950 fs/namei.c int error = may_create(dir, dentry); error 1952 fs/namei.c if (error) error 1953 fs/namei.c return error; error 1961 fs/namei.c error = devcgroup_inode_mknod(mode, dev); error 1962 fs/namei.c if (error) error 1963 fs/namei.c return error; error 1965 fs/namei.c error = security_inode_mknod(dir, dentry, mode, dev); error 1966 fs/namei.c if (error) error 1967 fs/namei.c return error; error 1970 fs/namei.c error = dir->i_op->mknod(dir, dentry, mode, dev); error 1971 fs/namei.c if (!error) error 1973 fs/namei.c return error; error 1996 fs/namei.c int error; error 2004 fs/namei.c error = user_path_parent(dfd, filename, &nd, &tmp); error 2005 fs/namei.c if (error) error 2006 fs/namei.c return error; error 2010 fs/namei.c error = PTR_ERR(dentry); error 2015 fs/namei.c error = may_mknod(mode); error 2016 fs/namei.c if (error) error 2018 fs/namei.c error = mnt_want_write(nd.path.mnt); error 2019 fs/namei.c if (error) error 2023 fs/namei.c error = vfs_create(nd.path.dentry->d_inode,dentry,mode,&nd); error 2026 fs/namei.c error = vfs_mknod(nd.path.dentry->d_inode,dentry,mode, error 2030 fs/namei.c error = vfs_mknod(nd.path.dentry->d_inode,dentry,mode,0); error 2041 fs/namei.c return error; error 2051 fs/namei.c int error = may_create(dir, dentry); error 2053 fs/namei.c if (error) error 2054 fs/namei.c return error; error 2060 fs/namei.c error = security_inode_mkdir(dir, dentry, mode); error 2061 fs/namei.c if (error) error 2062 fs/namei.c return error; error 2065 fs/namei.c error = dir->i_op->mkdir(dir, dentry, mode); error 2066 fs/namei.c if (!error) error 2068 fs/namei.c return error; error 2073 fs/namei.c int error = 0; error 2078 fs/namei.c error = user_path_parent(dfd, pathname, &nd, &tmp); error 2079 fs/namei.c if (error) error 2083 fs/namei.c error = PTR_ERR(dentry); error 2089 fs/namei.c error = mnt_want_write(nd.path.mnt); error 2090 fs/namei.c if (error) error 2092 fs/namei.c error = vfs_mkdir(nd.path.dentry->d_inode, dentry, mode); error 2101 fs/namei.c return error; error 2138 fs/namei.c int error = may_delete(dir, dentry, 1); error 2140 fs/namei.c if (error) error 2141 fs/namei.c return error; error 2151 fs/namei.c error = -EBUSY; error 2153 fs/namei.c error = security_inode_rmdir(dir, dentry); error 2154 fs/namei.c if (!error) { error 2155 fs/namei.c error = dir->i_op->rmdir(dir, dentry); error 2156 fs/namei.c if (!error) error 2161 fs/namei.c if (!error) { error 2166 fs/namei.c return error; error 2171 fs/namei.c int error = 0; error 2176 fs/namei.c error = user_path_parent(dfd, pathname, &nd, &name); error 2177 fs/namei.c if (error) error 2178 fs/namei.c return error; error 2182 fs/namei.c error = -ENOTEMPTY; error 2185 fs/namei.c error = -EINVAL; error 2188 fs/namei.c error = -EBUSY; error 2193 fs/namei.c error = PTR_ERR(dentry); error 2196 fs/namei.c error = mnt_want_write(nd.path.mnt); error 2197 fs/namei.c if (error) error 2199 fs/namei.c error = vfs_rmdir(nd.path.dentry->d_inode, dentry); error 2208 fs/namei.c return error; error 2218 fs/namei.c int error = may_delete(dir, dentry, 0); error 2220 fs/namei.c if (error) error 2221 fs/namei.c return error; error 2230 fs/namei.c error = -EBUSY; error 2232 fs/namei.c error = security_inode_unlink(dir, dentry); error 2233 fs/namei.c if (!error) error 2234 fs/namei.c error = dir->i_op->unlink(dir, dentry); error 2239 fs/namei.c if (!error && !(dentry->d_flags & DCACHE_NFSFS_RENAMED)) { error 2244 fs/namei.c return error; error 2255 fs/namei.c int error; error 2261 fs/namei.c error = user_path_parent(dfd, pathname, &nd, &name); error 2262 fs/namei.c if (error) error 2263 fs/namei.c return error; error 2265 fs/namei.c error = -EISDIR; error 2270 fs/namei.c error = PTR_ERR(dentry); error 2278 fs/namei.c error = mnt_want_write(nd.path.mnt); error 2279 fs/namei.c if (error) error 2281 fs/namei.c error = vfs_unlink(nd.path.dentry->d_inode, dentry); error 2292 fs/namei.c return error; error 2295 fs/namei.c error = !dentry->d_inode ? -ENOENT : error 2318 fs/namei.c int error = may_create(dir, dentry); error 2320 fs/namei.c if (error) error 2321 fs/namei.c return error; error 2326 fs/namei.c error = security_inode_symlink(dir, dentry, oldname); error 2327 fs/namei.c if (error) error 2328 fs/namei.c return error; error 2331 fs/namei.c error = dir->i_op->symlink(dir, dentry, oldname); error 2332 fs/namei.c if (!error) error 2334 fs/namei.c return error; error 2340 fs/namei.c int error; error 2350 fs/namei.c error = user_path_parent(newdfd, newname, &nd, &to); error 2351 fs/namei.c if (error) error 2355 fs/namei.c error = PTR_ERR(dentry); error 2359 fs/namei.c error = mnt_want_write(nd.path.mnt); error 2360 fs/namei.c if (error) error 2362 fs/namei.c error = vfs_symlink(nd.path.dentry->d_inode, dentry, from); error 2372 fs/namei.c return error; error 2383 fs/namei.c int error; error 2388 fs/namei.c error = may_create(dir, new_dentry); error 2389 fs/namei.c if (error) error 2390 fs/namei.c return error; error 2405 fs/namei.c error = security_inode_link(old_dentry, dir, new_dentry); error 2406 fs/namei.c if (error) error 2407 fs/namei.c return error; error 2411 fs/namei.c error = dir->i_op->link(old_dentry, dir, new_dentry); error 2413 fs/namei.c if (!error) error 2415 fs/namei.c return error; error 2434 fs/namei.c int error; error 2440 fs/namei.c error = user_path_at(olddfd, oldname, error 2443 fs/namei.c if (error) error 2444 fs/namei.c return error; error 2446 fs/namei.c error = user_path_parent(newdfd, newname, &nd, &to); error 2447 fs/namei.c if (error) error 2449 fs/namei.c error = -EXDEV; error 2453 fs/namei.c error = PTR_ERR(new_dentry); error 2456 fs/namei.c error = mnt_want_write(nd.path.mnt); error 2457 fs/namei.c if (error) error 2459 fs/namei.c error = vfs_link(old_path.dentry, nd.path.dentry->d_inode, new_dentry); error 2471 fs/namei.c return error; error 2514 fs/namei.c int error = 0; error 2522 fs/namei.c error = inode_permission(old_dentry->d_inode, MAY_WRITE); error 2523 fs/namei.c if (error) error 2524 fs/namei.c return error; error 2527 fs/namei.c error = security_inode_rename(old_dir, old_dentry, new_dir, new_dentry); error 2528 fs/namei.c if (error) error 2529 fs/namei.c return error; error 2537 fs/namei.c error = -EBUSY; error 2539 fs/namei.c error = old_dir->i_op->rename(old_dir, old_dentry, new_dir, new_dentry); error 2541 fs/namei.c if (!error) error 2548 fs/namei.c if (!error) error 2551 fs/namei.c return error; error 2558 fs/namei.c int error; error 2560 fs/namei.c error = security_inode_rename(old_dir, old_dentry, new_dir, new_dentry); error 2561 fs/namei.c if (error) error 2562 fs/namei.c return error; error 2569 fs/namei.c error = -EBUSY; error 2571 fs/namei.c error = old_dir->i_op->rename(old_dir, old_dentry, new_dir, new_dentry); error 2572 fs/namei.c if (!error) { error 2579 fs/namei.c return error; error 2585 fs/namei.c int error; error 2592 fs/namei.c error = may_delete(old_dir, old_dentry, is_dir); error 2593 fs/namei.c if (error) error 2594 fs/namei.c return error; error 2597 fs/namei.c error = may_create(new_dir, new_dentry); error 2599 fs/namei.c error = may_delete(new_dir, new_dentry, is_dir); error 2600 fs/namei.c if (error) error 2601 fs/namei.c return error; error 2612 fs/namei.c error = vfs_rename_dir(old_dir,old_dentry,new_dir,new_dentry); error 2614 fs/namei.c error = vfs_rename_other(old_dir,old_dentry,new_dir,new_dentry); error 2615 fs/namei.c if (!error) { error 2622 fs/namei.c return error; error 2634 fs/namei.c int error; error 2636 fs/namei.c error = user_path_parent(olddfd, oldname, &oldnd, &from); error 2637 fs/namei.c if (error) error 2640 fs/namei.c error = user_path_parent(newdfd, newname, &newnd, &to); error 2641 fs/namei.c if (error) error 2644 fs/namei.c error = -EXDEV; error 2649 fs/namei.c error = -EBUSY; error 2660 fs/namei.c error = PTR_ERR(old_dentry); error 2664 fs/namei.c error = -ENOENT; error 2669 fs/namei.c error = -ENOTDIR; error 2676 fs/namei.c error = -EINVAL; error 2680 fs/namei.c error = PTR_ERR(new_dentry); error 2684 fs/namei.c error = -ENOTEMPTY; error 2688 fs/namei.c error = mnt_want_write(oldnd.path.mnt); error 2689 fs/namei.c if (error) error 2691 fs/namei.c error = vfs_rename(old_dir->d_inode, old_dentry, error 2707 fs/namei.c return error; error 1512 fs/namespace.c int error = 0; error 1521 fs/namespace.c error = mnt_make_readonly(mnt); error 1524 fs/namespace.c return error; error 2183 fs/namespace.c int error; error 2188 fs/namespace.c error = user_path_dir(new_root, &new); error 2189 fs/namespace.c if (error) error 2191 fs/namespace.c error = -EINVAL; error 2195 fs/namespace.c error = user_path_dir(put_old, &old); error 2196 fs/namespace.c if (error) error 2199 fs/namespace.c error = security_sb_pivotroot(&old, &new); error 2200 fs/namespace.c if (error) { error 2211 fs/namespace.c error = -EINVAL; error 2218 fs/namespace.c error = -ENOENT; error 2225 fs/namespace.c error = -EBUSY; error 2229 fs/namespace.c error = -EINVAL; error 2263 fs/namespace.c error = 0; error 2274 fs/namespace.c return error; error 799 fs/ncpfs/dir.c int error, res, len; error 803 fs/ncpfs/dir.c error = -EIO; error 836 fs/ncpfs/dir.c error = -EACCES; error 844 fs/ncpfs/dir.c error = 0; error 848 fs/ncpfs/dir.c PPRINTK("ncp_lookup: result=%d\n", error); error 850 fs/ncpfs/dir.c return ERR_PTR(error); error 860 fs/ncpfs/dir.c int error = -EINVAL; error 867 fs/ncpfs/dir.c error = 0; error 869 fs/ncpfs/dir.c return error; error 883 fs/ncpfs/dir.c int error, result, len; error 890 fs/ncpfs/dir.c error = -EIO; error 897 fs/ncpfs/dir.c error = ncp_io2vol(server, __name, &len, dentry->d_name.name, error 899 fs/ncpfs/dir.c if (error) error 902 fs/ncpfs/dir.c error = -EACCES; error 919 fs/ncpfs/dir.c error = -ENAMETOOLONG; error 936 fs/ncpfs/dir.c error = ncp_instantiate(dir, dentry, &finfo); error 939 fs/ncpfs/dir.c return error; error 952 fs/ncpfs/dir.c int error, len; error 958 fs/ncpfs/dir.c error = -EIO; error 965 fs/ncpfs/dir.c error = ncp_io2vol(server, __name, &len, dentry->d_name.name, error 967 fs/ncpfs/dir.c if (error) error 970 fs/ncpfs/dir.c error = -EACCES; error 985 fs/ncpfs/dir.c error = ncp_instantiate(dir, dentry, &finfo); error 989 fs/ncpfs/dir.c return error; error 995 fs/ncpfs/dir.c int error, result, len; error 1001 fs/ncpfs/dir.c error = -EIO; error 1006 fs/ncpfs/dir.c error = -EBUSY; error 1011 fs/ncpfs/dir.c error = ncp_io2vol(server, __name, &len, dentry->d_name.name, error 1013 fs/ncpfs/dir.c if (error) error 1019 fs/ncpfs/dir.c error = 0; error 1023 fs/ncpfs/dir.c error = -EACCES; error 1027 fs/ncpfs/dir.c error = -EPERM; error 1030 fs/ncpfs/dir.c error = -EBUSY; error 1033 fs/ncpfs/dir.c error = -ENOTEMPTY; error 1036 fs/ncpfs/dir.c error = -ENOENT; error 1039 fs/ncpfs/dir.c error = -EACCES; error 1044 fs/ncpfs/dir.c return error; error 1051 fs/ncpfs/dir.c int error; error 1058 fs/ncpfs/dir.c error = -EIO; error 1070 fs/ncpfs/dir.c error = ncp_del_file_or_subdir2(server, dentry); error 1074 fs/ncpfs/dir.c if ((error == 0x9C || error == 0x90) && server->m.flags & NCP_MOUNT_STRONG) { /* R/O */ error 1075 fs/ncpfs/dir.c error = ncp_force_unlink(dir, dentry); error 1078 fs/ncpfs/dir.c switch (error) { error 1085 fs/ncpfs/dir.c error = -EACCES; error 1089 fs/ncpfs/dir.c error = -EBUSY; error 1094 fs/ncpfs/dir.c error = -EPERM; error 1097 fs/ncpfs/dir.c error = -ENOENT; error 1100 fs/ncpfs/dir.c error = -EACCES; error 1106 fs/ncpfs/dir.c return error; error 1113 fs/ncpfs/dir.c int error; error 1121 fs/ncpfs/dir.c error = -EIO; error 1130 fs/ncpfs/dir.c error = ncp_io2vol(server, __old_name, &old_len, error 1133 fs/ncpfs/dir.c if (error) error 1137 fs/ncpfs/dir.c error = ncp_io2vol(server, __new_name, &new_len, error 1140 fs/ncpfs/dir.c if (error) error 1143 fs/ncpfs/dir.c error = ncp_ren_or_mov_file_or_subdir(server, old_dir, __old_name, error 1146 fs/ncpfs/dir.c if ((error == 0x90 || error == 0x8B || error == -EACCES) && error 1148 fs/ncpfs/dir.c error = ncp_force_rename(old_dir, old_dentry, __old_name, error 1152 fs/ncpfs/dir.c switch (error) { error 1158 fs/ncpfs/dir.c error = -ENAMETOOLONG; error 1161 fs/ncpfs/dir.c error = -ENOENT; error 1164 fs/ncpfs/dir.c error = -EACCES; error 1169 fs/ncpfs/dir.c return error; error 36 fs/ncpfs/file.c int error; error 39 fs/ncpfs/file.c error = -EINVAL; error 49 fs/ncpfs/file.c error = -EACCES; error 93 fs/ncpfs/file.c error = 0; error 99 fs/ncpfs/file.c return error; error 110 fs/ncpfs/file.c int error; error 133 fs/ncpfs/file.c error = ncp_make_open(inode, O_RDONLY); error 134 fs/ncpfs/file.c if (error) { error 135 fs/ncpfs/file.c DPRINTK(KERN_ERR "ncp_file_read: open failed, error=%d\n", error); error 136 fs/ncpfs/file.c return error; error 141 fs/ncpfs/file.c error = -EIO; error 146 fs/ncpfs/file.c error = 0; error 154 fs/ncpfs/file.c error = ncp_read_bounce(NCP_SERVER(inode), error 158 fs/ncpfs/file.c if (error) { error 159 fs/ncpfs/file.c error = -EIO; /* NW errno -> Linux errno */ error 180 fs/ncpfs/file.c return already_read ? already_read : error; error 441 fs/ncpfs/inode.c int error; error 454 fs/ncpfs/inode.c error = -EFAULT; error 498 fs/ncpfs/inode.c error = -ECHRNG; error 500 fs/ncpfs/inode.c error = ncp_parse_options(&data, raw_data); error 502 fs/ncpfs/inode.c if (error) error 506 fs/ncpfs/inode.c error = -EBADF; error 510 fs/ncpfs/inode.c error = -ENOTSOCK; error 539 fs/ncpfs/inode.c error = -EBADF; error 543 fs/ncpfs/inode.c error = -ENOTSOCK; error 550 fs/ncpfs/inode.c error = -EBADFD; error 605 fs/ncpfs/inode.c error = -ENOMEM; error 634 fs/ncpfs/inode.c error = ncp_connect(server); error 636 fs/ncpfs/inode.c if (error < 0) error 640 fs/ncpfs/inode.c error = -EMSGSIZE; /* -EREMOTESIDEINCOMPATIBLE */ error 689 fs/ncpfs/inode.c error = -ENOMEM; error 732 fs/ncpfs/inode.c return error; error 46 fs/ncpfs/symlink.c int error, length, len; error 50 fs/ncpfs/symlink.c error = -ENOMEM; error 58 fs/ncpfs/symlink.c error=ncp_read_kernel(NCP_SERVER(inode),NCP_FINFO(inode)->file_handle, error 64 fs/ncpfs/symlink.c if (error) error 79 fs/ncpfs/symlink.c error = ncp_vol2io(NCP_SERVER(inode), buf, &len, link, length, 0); error 81 fs/ncpfs/symlink.c if (error) error 89 fs/ncpfs/symlink.c error = -EIO; error 95 fs/ncpfs/symlink.c return error; error 359 fs/nfs/client.c int error; error 398 fs/nfs/client.c error = wait_event_killable(nfs_client_active_wq, error 400 fs/nfs/client.c if (error < 0) { error 406 fs/nfs/client.c error = clp->cl_cons_state; error 408 fs/nfs/client.c return ERR_PTR(error); error 614 fs/nfs/client.c int error; error 626 fs/nfs/client.c error = nfs_create_rpc_client(clp, timeparms, RPC_AUTH_UNIX, 0); error 627 fs/nfs/client.c if (error < 0) error 628 fs/nfs/client.c goto error; error 632 fs/nfs/client.c error: error 633 fs/nfs/client.c nfs_mark_client_ready(clp, error); error 634 fs/nfs/client.c dprintk("<-- nfs_init_client() = xerror %d\n", error); error 635 fs/nfs/client.c return error; error 653 fs/nfs/client.c int error; error 671 fs/nfs/client.c error = nfs_init_client(clp, &timeparms, data); error 672 fs/nfs/client.c if (error < 0) error 673 fs/nfs/client.c goto error; error 691 fs/nfs/client.c error = nfs_start_lockd(server); error 692 fs/nfs/client.c if (error < 0) error 693 fs/nfs/client.c goto error; error 697 fs/nfs/client.c error = nfs_init_server_rpcclient(server, &timeparms, data->auth_flavors[0]); error 698 fs/nfs/client.c if (error < 0) error 699 fs/nfs/client.c goto error; error 717 fs/nfs/client.c error: error 720 fs/nfs/client.c dprintk("<-- nfs_init_server() = xerror %d\n", error); error 721 fs/nfs/client.c return error; error 782 fs/nfs/client.c int error; error 787 fs/nfs/client.c error = clp->rpc_ops->set_capabilities(server, mntfh); error 788 fs/nfs/client.c if (error < 0) error 794 fs/nfs/client.c error = clp->rpc_ops->fsinfo(server, mntfh, &fsinfo); error 795 fs/nfs/client.c if (error < 0) error 799 fs/nfs/client.c error = bdi_init(&server->backing_dev_info); error 800 fs/nfs/client.c if (error) error 819 fs/nfs/client.c dprintk("nfs_probe_fsinfo: error = %d\n", -error); error 820 fs/nfs/client.c return error; error 903 fs/nfs/client.c int error; error 910 fs/nfs/client.c error = nfs_init_server(server, data); error 911 fs/nfs/client.c if (error < 0) error 912 fs/nfs/client.c goto error; error 919 fs/nfs/client.c error = nfs_probe_fsinfo(server, mntfh, &fattr); error 920 fs/nfs/client.c if (error < 0) error 921 fs/nfs/client.c goto error; error 933 fs/nfs/client.c error = server->nfs_client->rpc_ops->getattr(server, mntfh, &fattr); error 934 fs/nfs/client.c if (error < 0) { error 935 fs/nfs/client.c dprintk("nfs_create_server: getattr error = %d\n", -error); error 936 fs/nfs/client.c goto error; error 957 fs/nfs/client.c error: error 959 fs/nfs/client.c return ERR_PTR(error); error 971 fs/nfs/client.c int error; error 982 fs/nfs/client.c error = nfs_create_rpc_client(clp, timeparms, authflavour, error 984 fs/nfs/client.c if (error < 0) error 985 fs/nfs/client.c goto error; error 988 fs/nfs/client.c error = nfs_idmap_new(clp); error 989 fs/nfs/client.c if (error < 0) { error 991 fs/nfs/client.c __func__, error); error 992 fs/nfs/client.c goto error; error 999 fs/nfs/client.c error: error 1000 fs/nfs/client.c nfs_mark_client_ready(clp, error); error 1001 fs/nfs/client.c dprintk("<-- nfs4_init_client() = xerror %d\n", error); error 1002 fs/nfs/client.c return error; error 1024 fs/nfs/client.c int error; error 1031 fs/nfs/client.c error = PTR_ERR(clp); error 1032 fs/nfs/client.c goto error; error 1034 fs/nfs/client.c error = nfs4_init_client(clp, timeparms, ip_addr, authflavour); error 1035 fs/nfs/client.c if (error < 0) error 1044 fs/nfs/client.c error: error 1045 fs/nfs/client.c dprintk("<-- nfs4_set_client() = xerror %d\n", error); error 1046 fs/nfs/client.c return error; error 1056 fs/nfs/client.c int error; error 1064 fs/nfs/client.c error = nfs4_set_client(server, error 1072 fs/nfs/client.c if (error < 0) error 1073 fs/nfs/client.c goto error; error 1091 fs/nfs/client.c error = nfs_init_server_rpcclient(server, &timeparms, data->auth_flavors[0]); error 1093 fs/nfs/client.c error: error 1095 fs/nfs/client.c dprintk("<-- nfs4_init_server() = %d\n", error); error 1096 fs/nfs/client.c return error; error 1108 fs/nfs/client.c int error; error 1117 fs/nfs/client.c error = nfs4_init_server(server, data); error 1118 fs/nfs/client.c if (error < 0) error 1119 fs/nfs/client.c goto error; error 1126 fs/nfs/client.c error = nfs4_path_walk(server, mntfh, data->nfs_server.export_path); error 1127 fs/nfs/client.c if (error < 0) error 1128 fs/nfs/client.c goto error; error 1135 fs/nfs/client.c error = nfs_probe_fsinfo(server, mntfh, &fattr); error 1136 fs/nfs/client.c if (error < 0) error 1137 fs/nfs/client.c goto error; error 1155 fs/nfs/client.c error: error 1157 fs/nfs/client.c dprintk("<-- nfs4_create_server() = error %d\n", error); error 1158 fs/nfs/client.c return ERR_PTR(error); error 1170 fs/nfs/client.c int error; error 1183 fs/nfs/client.c error = nfs4_set_client(server, data->hostname, error 1190 fs/nfs/client.c if (error < 0) error 1191 fs/nfs/client.c goto error; error 1197 fs/nfs/client.c error = nfs_init_server_rpcclient(server, parent_server->client->cl_timeout, data->authflavor); error 1198 fs/nfs/client.c if (error < 0) error 1199 fs/nfs/client.c goto error; error 1206 fs/nfs/client.c error = nfs4_path_walk(server, mntfh, data->mnt_path); error 1207 fs/nfs/client.c if (error < 0) error 1208 fs/nfs/client.c goto error; error 1211 fs/nfs/client.c error = nfs_probe_fsinfo(server, mntfh, &fattr); error 1212 fs/nfs/client.c if (error < 0) error 1213 fs/nfs/client.c goto error; error 1232 fs/nfs/client.c error: error 1234 fs/nfs/client.c dprintk("<-- nfs4_create_referral_server() = error %d\n", error); error 1235 fs/nfs/client.c return ERR_PTR(error); error 1249 fs/nfs/client.c int error; error 1266 fs/nfs/client.c error = nfs_init_server_rpcclient(server, error 1269 fs/nfs/client.c if (error < 0) error 1275 fs/nfs/client.c error = nfs_probe_fsinfo(server, fh, &fattr_fsinfo); error 1276 fs/nfs/client.c if (error < 0) error 1286 fs/nfs/client.c error = nfs_start_lockd(server); error 1287 fs/nfs/client.c if (error < 0) error 1302 fs/nfs/client.c dprintk("<-- nfs_clone_server() = error %d\n", error); error 1303 fs/nfs/client.c return ERR_PTR(error); error 181 fs/nfs/dir.c int error; error 189 fs/nfs/dir.c error = NFS_PROTO(inode)->readdir(file->f_path.dentry, cred, desc->entry->cookie, page, error 191 fs/nfs/dir.c if (error < 0) { error 193 fs/nfs/dir.c if (error == -ENOTSUPP && desc->plus) { error 199 fs/nfs/dir.c goto error; error 214 fs/nfs/dir.c error: error 772 fs/nfs/dir.c int error; error 804 fs/nfs/dir.c error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, &fhandle, &fattr); error 805 fs/nfs/dir.c if (error) error 809 fs/nfs/dir.c if ((error = nfs_refresh_inode(inode, &fattr)) != 0) error 901 fs/nfs/dir.c int error; error 929 fs/nfs/dir.c error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, &fhandle, &fattr); error 930 fs/nfs/dir.c if (error == -ENOENT) error 932 fs/nfs/dir.c if (error < 0) { error 933 fs/nfs/dir.c res = ERR_PTR(error); error 985 fs/nfs/dir.c int error; error 1010 fs/nfs/dir.c error = PTR_ERR(res); error 1011 fs/nfs/dir.c switch (error) { error 1168 fs/nfs/dir.c int error = -EACCES; error 1176 fs/nfs/dir.c error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr); error 1177 fs/nfs/dir.c if (error) error 1183 fs/nfs/dir.c error = server->nfs_client->rpc_ops->getattr(server, fhandle, fattr); error 1184 fs/nfs/dir.c if (error < 0) error 1188 fs/nfs/dir.c error = PTR_ERR(inode); error 1198 fs/nfs/dir.c return error; error 1211 fs/nfs/dir.c int error; error 1223 fs/nfs/dir.c error = NFS_PROTO(dir)->create(dir, dentry, &attr, open_flags, nd); error 1224 fs/nfs/dir.c if (error != 0) error 1229 fs/nfs/dir.c return error; error 1265 fs/nfs/dir.c int error; error 1273 fs/nfs/dir.c error = NFS_PROTO(dir)->mkdir(dir, dentry, &attr); error 1274 fs/nfs/dir.c if (error != 0) error 1279 fs/nfs/dir.c return error; error 1290 fs/nfs/dir.c int error; error 1295 fs/nfs/dir.c error = NFS_PROTO(dir)->rmdir(dir, &dentry->d_name); error 1297 fs/nfs/dir.c if (error == 0 && dentry->d_inode != NULL) error 1299 fs/nfs/dir.c else if (error == -ENOENT) error 1302 fs/nfs/dir.c return error; error 1314 fs/nfs/dir.c int error = -EIO; error 1324 fs/nfs/dir.c error = -EBUSY; error 1358 fs/nfs/dir.c error = NFS_PROTO(dir)->rename(dir, &dentry->d_name, error 1362 fs/nfs/dir.c error = NFS_PROTO(dir)->rename(dir, &dentry->d_name, error 1364 fs/nfs/dir.c if (!error) { error 1367 fs/nfs/dir.c error = nfs_async_unlink(dir, dentry); error 1372 fs/nfs/dir.c return error; error 1386 fs/nfs/dir.c int error = -EBUSY; error 1393 fs/nfs/dir.c error = 0; error 1399 fs/nfs/dir.c error = NFS_PROTO(dir)->remove(dir, &dentry->d_name); error 1401 fs/nfs/dir.c if (error == 0) error 1405 fs/nfs/dir.c error = NFS_PROTO(dir)->remove(dir, &dentry->d_name); error 1406 fs/nfs/dir.c if (error == -ENOENT) error 1409 fs/nfs/dir.c return error; error 1419 fs/nfs/dir.c int error; error 1432 fs/nfs/dir.c error = nfs_sillyrename(dir, dentry); error 1433 fs/nfs/dir.c return error; error 1441 fs/nfs/dir.c error = nfs_safe_remove(dentry); error 1442 fs/nfs/dir.c if (!error || error == -ENOENT) { error 1446 fs/nfs/dir.c return error; error 1471 fs/nfs/dir.c int error; error 1492 fs/nfs/dir.c error = NFS_PROTO(dir)->symlink(dir, dentry, page, pathlen, &attr); error 1493 fs/nfs/dir.c if (error != 0) { error 1496 fs/nfs/dir.c dentry->d_name.name, symname, error); error 1499 fs/nfs/dir.c return error; error 1523 fs/nfs/dir.c int error; error 1530 fs/nfs/dir.c error = NFS_PROTO(dir)->link(inode, dir, &dentry->d_name); error 1531 fs/nfs/dir.c if (error == 0) { error 1535 fs/nfs/dir.c return error; error 1568 fs/nfs/dir.c int error = -EBUSY; error 1595 fs/nfs/dir.c error = -EISDIR; error 1635 fs/nfs/dir.c error = NFS_PROTO(old_dir)->rename(old_dir, &old_dentry->d_name, error 1641 fs/nfs/dir.c if (!error) { error 1645 fs/nfs/dir.c } else if (error == -ENOENT) error 1651 fs/nfs/dir.c return error; error 78 fs/nfs/direct.c error; /* any reported error */ error 165 fs/nfs/direct.c dreq->error = 0; error 199 fs/nfs/direct.c result = dreq->error; error 214 fs/nfs/direct.c long res = (long) dreq->error; error 245 fs/nfs/direct.c dreq->error = status; error 648 fs/nfs/direct.c dreq->error = status; error 650 fs/nfs/direct.c if (unlikely(dreq->error != 0)) error 220 fs/nfs/file.c ret = xchg(&ctx->error, 0); error 85 fs/nfs/getroot.c int error; error 90 fs/nfs/getroot.c error = server->nfs_client->rpc_ops->getroot(server, mntfh, &fsinfo); error 91 fs/nfs/getroot.c if (error < 0) { error 92 fs/nfs/getroot.c dprintk("nfs_get_root: getattr error = %d\n", -error); error 93 fs/nfs/getroot.c return ERR_PTR(error); error 102 fs/nfs/getroot.c error = nfs_superblock_set_dummy_root(sb, inode); error 103 fs/nfs/getroot.c if (error != 0) error 104 fs/nfs/getroot.c return ERR_PTR(error); error 247 fs/nfs/getroot.c int error; error 252 fs/nfs/getroot.c error = nfs4_server_capabilities(server, mntfh); error 253 fs/nfs/getroot.c if (error < 0) { error 255 fs/nfs/getroot.c -error); error 256 fs/nfs/getroot.c return ERR_PTR(error); error 260 fs/nfs/getroot.c error = server->nfs_client->rpc_ops->getattr(server, mntfh, &fattr); error 261 fs/nfs/getroot.c if (error < 0) { error 262 fs/nfs/getroot.c dprintk("nfs_get_root: getattr error = %d\n", -error); error 263 fs/nfs/getroot.c return ERR_PTR(error); error 272 fs/nfs/getroot.c error = nfs_superblock_set_dummy_root(sb, inode); error 273 fs/nfs/getroot.c if (error != 0) error 274 fs/nfs/getroot.c return ERR_PTR(error); error 114 fs/nfs/idmap.c int error; error 125 fs/nfs/idmap.c error = PTR_ERR(idmap->idmap_dentry); error 127 fs/nfs/idmap.c return error; error 355 fs/nfs/inode.c int error; error 383 fs/nfs/inode.c error = NFS_PROTO(inode)->setattr(dentry, &fattr, attr); error 384 fs/nfs/inode.c if (error == 0) error 386 fs/nfs/inode.c return error; error 489 fs/nfs/inode.c int error; error 491 fs/nfs/inode.c error = wait_on_bit_lock(&nfsi->flags, NFS_INO_REVALIDATING, error 494 fs/nfs/inode.c return error; error 561 fs/nfs/inode.c ctx->error = 0; error 56 fs/nfs/nfs3acl.c int type, error = 0; error 70 fs/nfs/nfs3acl.c error = -ENODATA; error 72 fs/nfs/nfs3acl.c error = posix_acl_to_xattr(acl, buffer, size); error 75 fs/nfs/nfs3acl.c error = -ENODATA; error 77 fs/nfs/nfs3acl.c return error; error 85 fs/nfs/nfs3acl.c int type, error; error 97 fs/nfs/nfs3acl.c error = nfs3_proc_setacl(inode, type, acl); error 100 fs/nfs/nfs3acl.c return error; error 396 fs/nfs/nfs3acl.c int error = 0; error 400 fs/nfs/nfs3acl.c error = PTR_ERR(dfacl); error 401 fs/nfs/nfs3acl.c return (error == -EOPNOTSUPP) ? 0 : error; error 406 fs/nfs/nfs3acl.c error = -ENOMEM; error 409 fs/nfs/nfs3acl.c error = posix_acl_create_masq(acl, &mode); error 410 fs/nfs/nfs3acl.c if (error < 0) error 412 fs/nfs/nfs3acl.c error = nfs3_proc_setacls(inode, acl, S_ISDIR(inode->i_mode) ? error 418 fs/nfs/nfs3acl.c return error; error 132 fs/nfs/nfs4namespace.c int loc, error; error 149 fs/nfs/nfs4namespace.c error = nfs4_validate_fspath(mnt_parent, dentry, locations, page, page2); error 150 fs/nfs/nfs4namespace.c if (error < 0) { error 151 fs/nfs/nfs4namespace.c mnt = ERR_PTR(error); error 309 fs/nfs/pagelist.c int error = desc->pg_doio(desc->pg_inode, error 315 fs/nfs/pagelist.c if (error < 0) error 316 fs/nfs/pagelist.c desc->pg_error = error; error 481 fs/nfs/read.c int error; error 495 fs/nfs/read.c error = nfs_wb_page(inode, page); error 496 fs/nfs/read.c if (error) error 501 fs/nfs/read.c error = -ESTALE; error 506 fs/nfs/read.c error = -EBADF; error 513 fs/nfs/read.c error = nfs_readpage_async(ctx, inode, page); error 516 fs/nfs/read.c return error; error 519 fs/nfs/read.c return error; error 534 fs/nfs/read.c int error; error 536 fs/nfs/read.c error = nfs_wb_page(inode, page); error 537 fs/nfs/read.c if (error) error 553 fs/nfs/read.c error = desc->pgio->pg_error; error 558 fs/nfs/read.c error = PTR_ERR(new); error 562 fs/nfs/read.c return error; error 375 fs/nfs/super.c int error; error 377 fs/nfs/super.c error = server->nfs_client->rpc_ops->statfs(server, fh, &res); error 378 fs/nfs/super.c if (error < 0) error 411 fs/nfs/super.c dprintk("%s: statfs error = %d\n", __func__, -error); error 412 fs/nfs/super.c return error; error 1714 fs/nfs/super.c int error; error 1752 fs/nfs/super.c error = nfs_parse_mount_options((char *)options, data); error 1753 fs/nfs/super.c if (error < 0) error 1757 fs/nfs/super.c error = nfs_compare_remount_data(nfss, data); error 1760 fs/nfs/super.c return error; error 1957 fs/nfs/super.c int error = -ENOMEM; error 1967 fs/nfs/super.c error = nfs_validate_mount_data(raw_data, data, mntfh, dev_name); error 1968 fs/nfs/super.c if (error < 0) error 1974 fs/nfs/super.c error = PTR_ERR(server); error 1985 fs/nfs/super.c error = PTR_ERR(s); error 1993 fs/nfs/super.c error = nfs_bdi_register(server); error 1994 fs/nfs/super.c if (error) error 2005 fs/nfs/super.c error = PTR_ERR(mntroot); error 2009 fs/nfs/super.c error = security_sb_set_mnt_opts(s, &data->lsm_opts); error 2010 fs/nfs/super.c if (error) error 2016 fs/nfs/super.c error = 0; error 2025 fs/nfs/super.c return error; error 2066 fs/nfs/super.c int error; error 2073 fs/nfs/super.c error = PTR_ERR(server); error 2084 fs/nfs/super.c error = PTR_ERR(s); error 2092 fs/nfs/super.c error = nfs_bdi_register(server); error 2093 fs/nfs/super.c if (error) error 2104 fs/nfs/super.c error = PTR_ERR(mntroot); error 2109 fs/nfs/super.c error = -ESTALE; error 2126 fs/nfs/super.c dprintk("<-- nfs_xdev_get_sb() = %d [error]\n", error); error 2127 fs/nfs/super.c return error; error 2132 fs/nfs/super.c dprintk("<-- nfs_xdev_get_sb() = %d [splat]\n", error); error 2133 fs/nfs/super.c return error; error 2311 fs/nfs/super.c int error = -ENOMEM; error 2321 fs/nfs/super.c error = nfs4_validate_mount_data(raw_data, data, dev_name); error 2322 fs/nfs/super.c if (error < 0) error 2328 fs/nfs/super.c error = PTR_ERR(server); error 2339 fs/nfs/super.c error = PTR_ERR(s); error 2347 fs/nfs/super.c error = nfs_bdi_register(server); error 2348 fs/nfs/super.c if (error) error 2359 fs/nfs/super.c error = PTR_ERR(mntroot); error 2363 fs/nfs/super.c error = security_sb_set_mnt_opts(s, &data->lsm_opts); error 2364 fs/nfs/super.c if (error) error 2370 fs/nfs/super.c error = 0; error 2380 fs/nfs/super.c return error; error 2420 fs/nfs/super.c int error; error 2427 fs/nfs/super.c error = PTR_ERR(server); error 2438 fs/nfs/super.c error = PTR_ERR(s); error 2446 fs/nfs/super.c error = nfs_bdi_register(server); error 2447 fs/nfs/super.c if (error) error 2458 fs/nfs/super.c error = PTR_ERR(mntroot); error 2463 fs/nfs/super.c error = -ESTALE; error 2479 fs/nfs/super.c dprintk("<-- nfs4_xdev_get_sb() = %d [error]\n", error); error 2480 fs/nfs/super.c return error; error 2485 fs/nfs/super.c dprintk("<-- nfs4_xdev_get_sb() = %d [splat]\n", error); error 2486 fs/nfs/super.c return error; error 2505 fs/nfs/super.c int error; error 2512 fs/nfs/super.c error = PTR_ERR(server); error 2523 fs/nfs/super.c error = PTR_ERR(s); error 2531 fs/nfs/super.c error = nfs_bdi_register(server); error 2532 fs/nfs/super.c if (error) error 2543 fs/nfs/super.c error = PTR_ERR(mntroot); error 2548 fs/nfs/super.c error = -ESTALE; error 2564 fs/nfs/super.c dprintk("<-- nfs4_referral_get_sb() = %d [error]\n", error); error 2565 fs/nfs/super.c return error; error 2570 fs/nfs/super.c dprintk("<-- nfs4_referral_get_sb() = %d [splat]\n", error); error 2571 fs/nfs/super.c return error; error 32 fs/nfs/symlink.c int error; error 34 fs/nfs/symlink.c error = NFS_PROTO(inode)->readlink(inode, page, 0, PAGE_SIZE); error 35 fs/nfs/symlink.c if (error < 0) error 36 fs/nfs/symlink.c goto error; error 41 fs/nfs/symlink.c error: error 104 fs/nfs/write.c ctx->error = error; error 337 fs/nfs/write.c int error; error 339 fs/nfs/write.c error = radix_tree_preload(GFP_NOFS); error 340 fs/nfs/write.c if (error != 0) error 347 fs/nfs/write.c error = radix_tree_insert(&nfsi->nfs_page_tree, req->wb_index, req); error 348 fs/nfs/write.c BUG_ON(error); error 363 fs/nfs/write.c return error; error 486 fs/nfs/write.c int error; error 503 fs/nfs/write.c error = nfs_wait_on_request(req); error 506 fs/nfs/write.c if (error < 0) error 507 fs/nfs/write.c return error; error 572 fs/nfs/write.c int error; error 601 fs/nfs/write.c error = nfs_wait_on_request(req); error 603 fs/nfs/write.c if (error != 0) error 627 fs/nfs/write.c error = nfs_wb_page(inode, page); error 629 fs/nfs/write.c return ERR_PTR(error); error 644 fs/nfs/write.c int error; error 652 fs/nfs/write.c error = nfs_inode_add_request(inode, req); error 653 fs/nfs/write.c if (error != 0) { error 655 fs/nfs/write.c req = ERR_PTR(error); error 1343 fs/nfs/write.c int error = nfs_commit_list(inode, &head, how); error 1344 fs/nfs/write.c if (error < 0) error 1345 fs/nfs/write.c return error; error 27 fs/nfsctl.c int error; error 33 fs/nfsctl.c error = vfs_path_lookup(mnt->mnt_root, mnt, name, 0, &nd); error 35 fs/nfsctl.c if (error) error 36 fs/nfsctl.c return ERR_PTR(error); error 39 fs/nfsctl.c error = may_open(&nd,MAY_READ|MAY_WRITE,FMODE_READ|FMODE_WRITE); error 41 fs/nfsctl.c error = may_open(&nd, MAY_WRITE, FMODE_WRITE); error 43 fs/nfsctl.c if (!error) error 47 fs/nfsctl.c return ERR_PTR(error); error 505 fs/nfsd/nfs4acl.c int i, error = 0; error 528 fs/nfsd/nfs4acl.c error = check_deny(state->owner.deny, 1); error 529 fs/nfsd/nfs4acl.c if (error) error 537 fs/nfsd/nfs4acl.c error = check_deny(state->users->aces[i].perms.deny, 0); error 538 fs/nfsd/nfs4acl.c if (error) error 548 fs/nfsd/nfs4acl.c error = check_deny(state->group.deny, 0); error 549 fs/nfsd/nfs4acl.c if (error) error 558 fs/nfsd/nfs4acl.c error = check_deny(state->groups->aces[i].perms.deny, 0); error 559 fs/nfsd/nfs4acl.c if (error) error 574 fs/nfsd/nfs4acl.c error = check_deny(state->other.deny, 0); error 575 fs/nfsd/nfs4acl.c if (error) error 583 fs/nfsd/nfs4acl.c return ERR_PTR(error); error 211 fs/nfsd/nfs4idmap.c int error = -EINVAL; error 246 fs/nfsd/nfs4idmap.c error = -ENOMEM; error 252 fs/nfsd/nfs4idmap.c error = -EINVAL; error 262 fs/nfsd/nfs4idmap.c error = -ENOMEM; error 269 fs/nfsd/nfs4idmap.c error = 0; error 273 fs/nfsd/nfs4idmap.c return error; error 381 fs/nfsd/nfs4idmap.c int error = -EINVAL; error 405 fs/nfsd/nfs4idmap.c error = qword_get(&buf, buf1, PAGE_SIZE); error 406 fs/nfsd/nfs4idmap.c if (error <= 0 || error >= IDMAP_NAMESZ) error 416 fs/nfsd/nfs4idmap.c error = get_int(&buf, &ent.id); error 417 fs/nfsd/nfs4idmap.c if (error == -EINVAL) error 419 fs/nfsd/nfs4idmap.c if (error == -ENOENT) error 422 fs/nfsd/nfs4idmap.c error = -ENOMEM; error 431 fs/nfsd/nfs4idmap.c error = 0; error 435 fs/nfsd/nfs4idmap.c return (error); error 2781 fs/nfsd/nfs4state.c int error; error 2846 fs/nfsd/nfs4state.c error = vfs_test_lock(&file, &file_lock); error 2847 fs/nfsd/nfs4state.c if (error) { error 2848 fs/nfsd/nfs4state.c status = nfserrno(error); error 346 fs/nfsd/nfsctl.c int error; error 359 fs/nfsd/nfsctl.c error = path_lookup(fo_path, 0, &nd); error 360 fs/nfsd/nfsctl.c if (error) error 361 fs/nfsd/nfsctl.c return error; error 363 fs/nfsd/nfsctl.c error = nlmsvc_unlock_all_by_sb(nd.path.mnt->mnt_sb); error 366 fs/nfsd/nfsctl.c return error; error 128 fs/nfsd/nfsfh.c __be32 error; error 130 fs/nfsd/nfsfh.c error = nfserr_stale; error 132 fs/nfsd/nfsfh.c error = nfserr_badhandle; error 140 fs/nfsd/nfsfh.c return error; error 142 fs/nfsd/nfsfh.c return error; error 145 fs/nfsd/nfsfh.c return error; error 155 fs/nfsd/nfsfh.c return error; error 164 fs/nfsd/nfsfh.c return error; error 172 fs/nfsd/nfsfh.c error = nfserr_stale; error 174 fs/nfsd/nfsfh.c return error; error 193 fs/nfsd/nfsfh.c error = nfsd_setuser_and_check_port(rqstp, exp); error 194 fs/nfsd/nfsfh.c if (error) error 201 fs/nfsd/nfsfh.c error = nfserr_stale; error 203 fs/nfsd/nfsfh.c error = nfserr_badhandle; error 229 fs/nfsd/nfsfh.c error = nfserrno(PTR_ERR(dentry)); error 234 fs/nfsd/nfsfh.c error = nfsd_setuser_and_check_port(rqstp, exp); error 235 fs/nfsd/nfsfh.c if (error) { error 253 fs/nfsd/nfsfh.c return error; error 270 fs/nfsd/nfsfh.c __be32 error; error 275 fs/nfsd/nfsfh.c error = nfsd_set_fh_dentry(rqstp, fhp); error 276 fs/nfsd/nfsfh.c if (error) error 296 fs/nfsd/nfsfh.c error = nfsd_setuser_and_check_port(rqstp, exp); error 297 fs/nfsd/nfsfh.c if (error) error 301 fs/nfsd/nfsfh.c error = nfsd_mode_check(rqstp, dentry->d_inode->i_mode, type); error 302 fs/nfsd/nfsfh.c if (error) error 321 fs/nfsd/nfsfh.c error = check_nfsd_access(exp, rqstp); error 322 fs/nfsd/nfsfh.c if (error) error 327 fs/nfsd/nfsfh.c error = nfsd_permission(rqstp, exp, dentry, access); error 329 fs/nfsd/nfsfh.c if (error) { error 334 fs/nfsd/nfsfh.c access, ntohl(error)); error 337 fs/nfsd/nfsfh.c if (error == nfserr_stale) error 339 fs/nfsd/nfsfh.c return error; error 243 fs/nfsd/nfssvc.c int error; error 247 fs/nfsd/nfssvc.c error = svc_create_xprt(nfsd_serv, "udp", port, error 249 fs/nfsd/nfssvc.c if (error < 0) error 250 fs/nfsd/nfssvc.c return error; error 252 fs/nfsd/nfssvc.c error = svc_create_xprt(nfsd_serv, "tcp", port, error 254 fs/nfsd/nfssvc.c if (error < 0) error 255 fs/nfsd/nfssvc.c return error; error 257 fs/nfsd/nfssvc.c error = lockd_up(); error 258 fs/nfsd/nfssvc.c if (error < 0) error 259 fs/nfsd/nfssvc.c return error; error 341 fs/nfsd/nfssvc.c int error; error 345 fs/nfsd/nfssvc.c error = -EINVAL; error 352 fs/nfsd/nfssvc.c error = nfsd_racache_init(2*nrservs); error 353 fs/nfsd/nfssvc.c if (error<0) error 359 fs/nfsd/nfssvc.c error = nfsd_create_serv(); error 361 fs/nfsd/nfssvc.c if (error) error 363 fs/nfsd/nfssvc.c error = nfsd_init_socks(port); error 364 fs/nfsd/nfssvc.c if (error) error 367 fs/nfsd/nfssvc.c error = svc_set_num_threads(nfsd_serv, NULL, nrservs); error 372 fs/nfsd/nfssvc.c return error; error 433 fs/nfsd/vfs.c int error = 0; error 437 fs/nfsd/vfs.c error = -ENOMEM; error 443 fs/nfsd/vfs.c error = len; error 447 fs/nfsd/vfs.c error = vfs_setxattr(dentry, key, buf, len, 0); error 450 fs/nfsd/vfs.c return error; error 457 fs/nfsd/vfs.c __be32 error; error 465 fs/nfsd/vfs.c error = fh_verify(rqstp, fhp, 0 /* S_IFREG */, NFSD_MAY_SATTR); error 466 fs/nfsd/vfs.c if (error) error 467 fs/nfsd/vfs.c return error; error 519 fs/nfsd/vfs.c int error = 0; error 527 fs/nfsd/vfs.c error = PTR_ERR(pacl); error 537 fs/nfsd/vfs.c error = PTR_ERR(dpacl); error 546 fs/nfsd/vfs.c error = PTR_ERR(*acl); error 552 fs/nfsd/vfs.c return error; error 607 fs/nfsd/vfs.c __be32 error; error 609 fs/nfsd/vfs.c error = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP); error 610 fs/nfsd/vfs.c if (error) error 645 fs/nfsd/vfs.c error = err2; error 655 fs/nfsd/vfs.c return error; error 2066 fs/nfsd/vfs.c int error; error 2087 fs/nfsd/vfs.c error = posix_acl_to_xattr(acl, value, size); error 2088 fs/nfsd/vfs.c if (error < 0) error 2090 fs/nfsd/vfs.c size = error; error 2094 fs/nfsd/vfs.c error = mnt_want_write(fhp->fh_export->ex_path.mnt); error 2095 fs/nfsd/vfs.c if (error) error 2098 fs/nfsd/vfs.c error = vfs_setxattr(fhp->fh_dentry, name, value, size, 0); error 2101 fs/nfsd/vfs.c error = 0; error 2103 fs/nfsd/vfs.c error = vfs_removexattr(fhp->fh_dentry, name); error 2104 fs/nfsd/vfs.c if (error == -ENODATA) error 2105 fs/nfsd/vfs.c error = 0; error 2112 fs/nfsd/vfs.c return error; error 224 fs/ocfs2/cluster/heartbeat.c if (error) { error 225 fs/ocfs2/cluster/heartbeat.c mlog(ML_ERROR, "IO Error %d\n", error); error 226 fs/ocfs2/cluster/heartbeat.c wc->wc_error = error; error 78 fs/ocfs2/cluster/sys.c goto error; error 82 fs/ocfs2/cluster/sys.c goto error; error 86 fs/ocfs2/cluster/sys.c goto error; error 88 fs/ocfs2/cluster/sys.c error: error 961 fs/ocfs2/cluster/tcp.c *error = nn->nn_persistent_error; error 967 fs/ocfs2/cluster/tcp.c *error = 0; error 977 fs/ocfs2/cluster/tcp.c int ret, error = 0; error 1019 fs/ocfs2/cluster/tcp.c o2net_tx_can_proceed(nn, &sc, &error)); error 1020 fs/ocfs2/cluster/tcp.c if (!ret && error) error 1021 fs/ocfs2/cluster/tcp.c ret = error; error 722 fs/ocfs2/dir.c int error = 0; error 736 fs/ocfs2/dir.c while (!error && !stored && *f_pos < i_size_read(inode)) { error 789 fs/ocfs2/dir.c while (!error && *f_pos < i_size_read(inode) error 813 fs/ocfs2/dir.c error = filldir(priv, de->name, error 818 fs/ocfs2/dir.c if (error) { error 820 fs/ocfs2/dir.c *filldir_err = error; error 879 fs/ocfs2/dir.c int error = 0; error 886 fs/ocfs2/dir.c error = ocfs2_inode_lock_atime(inode, filp->f_vfsmnt, &lock_level); error 887 fs/ocfs2/dir.c if (lock_level && error >= 0) { error 893 fs/ocfs2/dir.c error = ocfs2_inode_lock(inode, NULL, 0); error 895 fs/ocfs2/dir.c if (error < 0) { error 896 fs/ocfs2/dir.c if (error != -ENOENT) error 897 fs/ocfs2/dir.c mlog_errno(error); error 902 fs/ocfs2/dir.c error = ocfs2_dir_foreach_blk(inode, &filp->f_version, &filp->f_pos, error 908 fs/ocfs2/dir.c mlog_exit(error); error 910 fs/ocfs2/dir.c return error; error 1853 fs/ocfs2/dlm/dlmdomain.c goto error; error 1860 fs/ocfs2/dlm/dlmdomain.c goto error; error 1866 fs/ocfs2/dlm/dlmdomain.c goto error; error 1872 fs/ocfs2/dlm/dlmdomain.c goto error; error 1877 fs/ocfs2/dlm/dlmdomain.c goto error; error 1880 fs/ocfs2/dlm/dlmdomain.c error: error 585 fs/ocfs2/dlm/dlmlock.c goto error; error 590 fs/ocfs2/dlm/dlmlock.c goto error; error 599 fs/ocfs2/dlm/dlmlock.c goto error; error 603 fs/ocfs2/dlm/dlmlock.c goto error; error 614 fs/ocfs2/dlm/dlmlock.c goto error; error 621 fs/ocfs2/dlm/dlmlock.c goto error; error 638 fs/ocfs2/dlm/dlmlock.c goto error; error 665 fs/ocfs2/dlm/dlmlock.c goto error; error 671 fs/ocfs2/dlm/dlmlock.c goto error; error 678 fs/ocfs2/dlm/dlmlock.c goto error; error 689 fs/ocfs2/dlm/dlmlock.c goto error; error 748 fs/ocfs2/dlm/dlmlock.c goto error; error 752 fs/ocfs2/dlm/dlmlock.c error: error 626 fs/ocfs2/dlm/dlmmaster.c goto error; error 631 fs/ocfs2/dlm/dlmmaster.c goto error; error 636 fs/ocfs2/dlm/dlmmaster.c error: error 1278 fs/ocfs2/dlm/dlmrecovery.c goto error; error 1292 fs/ocfs2/dlm/dlmrecovery.c goto error; error 1295 fs/ocfs2/dlm/dlmrecovery.c error: error 2822 fs/ocfs2/dlmglue.c if (error) { error 2824 fs/ocfs2/dlmglue.c "unlock_action %d\n", error, lockres->l_name, error 66 fs/ocfs2/mmap.c int error, ret; error 70 fs/ocfs2/mmap.c error = ocfs2_vm_op_block_sigs(&blocked, &oldset); error 71 fs/ocfs2/mmap.c if (error < 0) { error 72 fs/ocfs2/mmap.c mlog_errno(error); error 79 fs/ocfs2/mmap.c error = ocfs2_vm_op_unblock_sigs(&oldset); error 80 fs/ocfs2/mmap.c if (error < 0) error 81 fs/ocfs2/mmap.c mlog_errno(error); error 177 fs/ocfs2/stack_o2cb.c int error = dlm_status_to_errno(status); error 195 fs/ocfs2/stack_o2cb.c o2cb_stack.sp_proto->lp_unlock_ast(astarg, error); error 601 fs/ocfs2/stackglue.c goto error; error 605 fs/ocfs2/stackglue.c error: error 65 fs/ocfs2/stackglue.h void (*lp_unlock_ast)(void *astarg, int error); error 128 fs/open.c int error; error 130 fs/open.c error = user_path(pathname, &path); error 131 fs/open.c if (!error) { error 133 fs/open.c error = vfs_statfs_native(path.dentry, &tmp); error 134 fs/open.c if (!error && copy_to_user(buf, &tmp, sizeof(tmp))) error 135 fs/open.c error = -EFAULT; error 138 fs/open.c return error; error 145 fs/open.c long error; error 149 fs/open.c error = user_path(pathname, &path); error 150 fs/open.c if (!error) { error 152 fs/open.c error = vfs_statfs64(path.dentry, &tmp); error 153 fs/open.c if (!error && copy_to_user(buf, &tmp, sizeof(tmp))) error 154 fs/open.c error = -EFAULT; error 157 fs/open.c return error; error 165 fs/open.c int error; error 167 fs/open.c error = -EBADF; error 171 fs/open.c error = vfs_statfs_native(file->f_path.dentry, &tmp); error 172 fs/open.c if (!error && copy_to_user(buf, &tmp, sizeof(tmp))) error 173 fs/open.c error = -EFAULT; error 176 fs/open.c return error; error 183 fs/open.c int error; error 188 fs/open.c error = -EBADF; error 192 fs/open.c error = vfs_statfs64(file->f_path.dentry, &tmp); error 193 fs/open.c if (!error && copy_to_user(buf, &tmp, sizeof(tmp))) error 194 fs/open.c error = -EFAULT; error 197 fs/open.c return error; error 230 fs/open.c int error; error 232 fs/open.c error = -EINVAL; error 236 fs/open.c error = user_path(pathname, &path); error 237 fs/open.c if (error) error 242 fs/open.c error = -EISDIR; error 246 fs/open.c error = -EINVAL; error 250 fs/open.c error = mnt_want_write(path.mnt); error 251 fs/open.c if (error) error 254 fs/open.c error = inode_permission(inode, MAY_WRITE); error 255 fs/open.c if (error) error 258 fs/open.c error = -EPERM; error 262 fs/open.c error = get_write_access(inode); error 263 fs/open.c if (error) error 270 fs/open.c error = break_lease(inode, FMODE_WRITE); error 271 fs/open.c if (error) error 274 fs/open.c error = locks_verify_truncate(inode, NULL, length); error 275 fs/open.c if (!error) { error 277 fs/open.c error = do_truncate(path.dentry, length, 0, NULL); error 287 fs/open.c return error; error 301 fs/open.c int error; error 303 fs/open.c error = -EINVAL; error 306 fs/open.c error = -EBADF; error 317 fs/open.c error = -EINVAL; error 321 fs/open.c error = -EINVAL; error 326 fs/open.c error = -EPERM; error 330 fs/open.c error = locks_verify_truncate(inode, file, length); error 331 fs/open.c if (!error) error 332 fs/open.c error = do_truncate(dentry, length, ATTR_MTIME|ATTR_CTIME, file); error 336 fs/open.c return error; error 514 fs/open.c int error; error 516 fs/open.c error = user_path_dir(filename, &path); error 517 fs/open.c if (error) error 520 fs/open.c error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_ACCESS); error 521 fs/open.c if (error) error 529 fs/open.c return error; error 536 fs/open.c int error; error 538 fs/open.c error = -EBADF; error 545 fs/open.c error = -ENOTDIR; error 549 fs/open.c error = inode_permission(inode, MAY_EXEC | MAY_ACCESS); error 550 fs/open.c if (!error) error 555 fs/open.c return error; error 561 fs/open.c int error; error 563 fs/open.c error = user_path_dir(filename, &path); error 564 fs/open.c if (error) error 567 fs/open.c error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_ACCESS); error 568 fs/open.c if (error) error 571 fs/open.c error = -EPERM; error 576 fs/open.c error = 0; error 580 fs/open.c return error; error 622 fs/open.c int error; error 625 fs/open.c error = user_path_at(dfd, filename, LOOKUP_FOLLOW, &path); error 626 fs/open.c if (error) error 630 fs/open.c error = mnt_want_write(path.mnt); error 631 fs/open.c if (error) error 638 fs/open.c error = notify_change(path.dentry, &newattrs); error 644 fs/open.c return error; error 655 fs/open.c int error; error 671 fs/open.c error = notify_change(dentry, &newattrs); error 674 fs/open.c return error; error 680 fs/open.c int error; error 682 fs/open.c error = user_path(filename, &path); error 683 fs/open.c if (error) error 685 fs/open.c error = mnt_want_write(path.mnt); error 686 fs/open.c if (error) error 688 fs/open.c error = chown_common(path.dentry, user, group); error 693 fs/open.c return error; error 700 fs/open.c int error = -EINVAL; error 707 fs/open.c error = user_path_at(dfd, filename, follow, &path); error 708 fs/open.c if (error) error 710 fs/open.c error = mnt_want_write(path.mnt); error 711 fs/open.c if (error) error 713 fs/open.c error = chown_common(path.dentry, user, group); error 718 fs/open.c return error; error 724 fs/open.c int error; error 726 fs/open.c error = user_lpath(filename, &path); error 727 fs/open.c if (error) error 729 fs/open.c error = mnt_want_write(path.mnt); error 730 fs/open.c if (error) error 732 fs/open.c error = chown_common(path.dentry, user, group); error 737 fs/open.c return error; error 744 fs/open.c int error = -EBADF; error 751 fs/open.c error = mnt_want_write(file->f_path.mnt); error 752 fs/open.c if (error) error 756 fs/open.c error = chown_common(dentry, user, group); error 761 fs/open.c return error; error 773 fs/open.c int error; error 774 fs/open.c error = get_write_access(inode); error 775 fs/open.c if (error) error 776 fs/open.c return error; error 786 fs/open.c error = mnt_want_write(mnt); error 787 fs/open.c if (error) error 790 fs/open.c return error; error 798 fs/open.c int error; error 805 fs/open.c error = __get_file_write_access(inode, mnt); error 806 fs/open.c if (error) error 819 fs/open.c error = security_dentry_open(f); error 820 fs/open.c if (error) error 826 fs/open.c error = open(inode, f); error 827 fs/open.c if (error) error 869 fs/open.c return ERR_PTR(error); error 939 fs/open.c int error; error 954 fs/open.c error = -ENFILE; error 959 fs/open.c return ERR_PTR(error); error 310 fs/pipe.c int error, atomic; error 315 fs/pipe.c error = ops->confirm(pipe, buf); error 316 fs/pipe.c if (error) { error 318 fs/pipe.c error = ret; error 325 fs/pipe.c error = pipe_iov_copy_to_user(iov, addr + buf->offset, chars, atomic); error 327 fs/pipe.c if (unlikely(error)) { error 336 fs/pipe.c ret = error; error 433 fs/pipe.c int error, atomic = 1; error 436 fs/pipe.c error = ops->confirm(pipe, buf); error 437 fs/pipe.c if (error) error 443 fs/pipe.c error = pipe_iov_copy_from_user(offset + addr, iov, error 446 fs/pipe.c ret = error; error 448 fs/pipe.c if (error) { error 478 fs/pipe.c int error, atomic = 1; error 505 fs/pipe.c error = pipe_iov_copy_from_user(src, iov, chars, error 512 fs/pipe.c if (unlikely(error)) { error 518 fs/pipe.c ret = error; error 998 fs/pipe.c int error; error 1008 fs/pipe.c error = PTR_ERR(fr); error 1012 fs/pipe.c error = get_unused_fd_flags(flags); error 1013 fs/pipe.c if (error < 0) error 1015 fs/pipe.c fdr = error; error 1017 fs/pipe.c error = get_unused_fd_flags(flags); error 1018 fs/pipe.c if (error < 0) error 1020 fs/pipe.c fdw = error; error 1022 fs/pipe.c error = audit_fd_pair(fdr, fdw); error 1023 fs/pipe.c if (error < 0) error 1042 fs/pipe.c return error; error 1057 fs/pipe.c int error; error 1059 fs/pipe.c error = do_pipe_flags(fd, flags); error 1060 fs/pipe.c if (!error) { error 1064 fs/pipe.c error = -EFAULT; error 1067 fs/pipe.c return error; error 548 fs/proc/base.c int error; error 554 fs/proc/base.c error = inode_change_ok(inode, attr); error 555 fs/proc/base.c if (!error) error 556 fs/proc/base.c error = inode_setattr(inode, attr); error 557 fs/proc/base.c return error; error 1321 fs/proc/base.c int error = -EACCES; error 1330 fs/proc/base.c error = PROC_I(inode)->op.proc_get_link(inode, &nd->path); error 1333 fs/proc/base.c return ERR_PTR(error); error 1362 fs/proc/base.c int error = -EACCES; error 1370 fs/proc/base.c error = PROC_I(inode)->op.proc_get_link(inode, &path); error 1371 fs/proc/base.c if (error) error 1374 fs/proc/base.c error = do_proc_readlink(&path, buffer, buflen); error 1377 fs/proc/base.c return error; error 1695 fs/proc/base.c struct dentry *error = ERR_PTR(-ENOENT); error 1729 fs/proc/base.c error = NULL; error 1732 fs/proc/base.c return error; error 1882 fs/proc/base.c struct dentry *error = ERR_PTR(-ENOENT); error 1895 fs/proc/base.c error = NULL; error 1898 fs/proc/base.c return error; error 1934 fs/proc/base.c struct dentry *error = ERR_PTR(-EINVAL); error 1953 fs/proc/base.c error = NULL; error 1955 fs/proc/base.c return error; error 1964 fs/proc/base.c struct dentry *error; error 1968 fs/proc/base.c error = ERR_PTR(-ENOENT); error 1988 fs/proc/base.c error = proc_pident_instantiate(dir, dentry, task, p); error 1992 fs/proc/base.c return error; error 2317 fs/proc/base.c struct dentry *error = ERR_PTR(-EINVAL); error 2320 fs/proc/base.c error = ERR_PTR(-ENOMEM); error 2350 fs/proc/base.c error = NULL; error 2352 fs/proc/base.c return error; error 2360 fs/proc/base.c struct dentry *error; error 2364 fs/proc/base.c error = ERR_PTR(-ENOENT); error 2380 fs/proc/base.c error = proc_base_instantiate(dir, dentry, task, p); error 2385 fs/proc/base.c return error; error 2643 fs/proc/base.c struct dentry *error = ERR_PTR(-ENOENT); error 2663 fs/proc/base.c error = NULL; error 2665 fs/proc/base.c return error; error 2881 fs/proc/base.c struct dentry *error = ERR_PTR(-ENOENT); error 2900 fs/proc/base.c error = NULL; error 2902 fs/proc/base.c return error; error 229 fs/proc/generic.c int error; error 231 fs/proc/generic.c error = inode_change_ok(inode, iattr); error 232 fs/proc/generic.c if (error) error 235 fs/proc/generic.c error = inode_setattr(inode, iattr); error 236 fs/proc/generic.c if (error) error 243 fs/proc/generic.c return error; error 315 fs/proc/generic.c int error; error 322 fs/proc/generic.c error = ida_get_new(&proc_inum_ida, &i); error 324 fs/proc/generic.c if (error == -EAGAIN) error 326 fs/proc/generic.c else if (error) error 380 fs/proc/generic.c int error = -ENOENT; error 393 fs/proc/generic.c error = -EINVAL; error 409 fs/proc/generic.c return ERR_PTR(error); error 135 fs/proc/proc_sysctl.c ssize_t error; error 145 fs/proc/proc_sysctl.c error = -EPERM; error 150 fs/proc/proc_sysctl.c error = -EINVAL; error 156 fs/proc/proc_sysctl.c error = table->proc_handler(table, write, filp, buf, &res, ppos); error 157 fs/proc/proc_sysctl.c if (!error) error 158 fs/proc/proc_sysctl.c error = res; error 162 fs/proc/proc_sysctl.c return error; error 303 fs/proc/proc_sysctl.c int error; error 309 fs/proc/proc_sysctl.c error = mask & MAY_WRITE ? -EACCES : 0; error 311 fs/proc/proc_sysctl.c error = sysctl_perm(head->root, table, mask); error 314 fs/proc/proc_sysctl.c return error; error 320 fs/proc/proc_sysctl.c int error; error 325 fs/proc/proc_sysctl.c error = inode_change_ok(inode, attr); error 326 fs/proc/proc_sysctl.c if (!error) error 327 fs/proc/proc_sysctl.c error = inode_setattr(inode, attr); error 329 fs/proc/proc_sysctl.c return error; error 168 fs/proc/root.c int error = proc_readdir(filp, dirent, filldir); error 169 fs/proc/root.c if (error <= 0) { error 171 fs/proc/root.c return error; error 147 fs/quota.c int error; error 150 fs/quota.c error = xqm_quotactl_valid(sb, type, cmd, id); error 152 fs/quota.c error = generic_quotactl_valid(sb, type, cmd, id); error 153 fs/quota.c if (!error) error 154 fs/quota.c error = security_quotactl(cmd, type, id, sb); error 155 fs/quota.c return error; error 96 fs/ramfs/inode.c int error = -ENOSPC; error 106 fs/ramfs/inode.c error = 0; error 109 fs/ramfs/inode.c return error; error 128 fs/ramfs/inode.c int error = -ENOSPC; error 133 fs/ramfs/inode.c error = page_symlink(inode, symname, l); error 134 fs/ramfs/inode.c if (!error) { error 143 fs/ramfs/inode.c return error; error 107 fs/readdir.c int error; error 111 fs/readdir.c error = -EBADF; error 119 fs/readdir.c error = vfs_readdir(file, fillonedir, &buf); error 120 fs/readdir.c if (error >= 0) error 121 fs/readdir.c error = buf.result; error 125 fs/readdir.c return error; error 145 fs/readdir.c int error; error 156 fs/readdir.c buf->error = -EINVAL; /* only used if we fail.. */ error 161 fs/readdir.c buf->error = -EOVERFLOW; error 186 fs/readdir.c buf->error = -EFAULT; error 195 fs/readdir.c int error; error 197 fs/readdir.c error = -EFAULT; error 201 fs/readdir.c error = -EBADF; error 209 fs/readdir.c buf.error = 0; error 211 fs/readdir.c error = vfs_readdir(file, filldir, &buf); error 212 fs/readdir.c if (error < 0) error 214 fs/readdir.c error = buf.error; error 218 fs/readdir.c error = -EFAULT; error 220 fs/readdir.c error = count - buf.count; error 226 fs/readdir.c return error; error 233 fs/readdir.c int error; error 243 fs/readdir.c buf->error = -EINVAL; /* only used if we fail.. */ error 270 fs/readdir.c buf->error = -EFAULT; error 279 fs/readdir.c int error; error 281 fs/readdir.c error = -EFAULT; error 285 fs/readdir.c error = -EBADF; error 293 fs/readdir.c buf.error = 0; error 295 fs/readdir.c error = vfs_readdir(file, filldir64, &buf); error 296 fs/readdir.c if (error < 0) error 298 fs/readdir.c error = buf.error; error 302 fs/readdir.c error = -EFAULT; error 305 fs/readdir.c error = count - buf.count; error 311 fs/readdir.c return error; error 2013 fs/reiserfs/inode.c int error; error 2024 fs/reiserfs/inode.c error = -ENOMEM; error 2031 fs/reiserfs/inode.c error = block_prepare_write(page, start, offset, error 2033 fs/reiserfs/inode.c if (error) error 2056 fs/reiserfs/inode.c error = -EIO; error 2063 fs/reiserfs/inode.c return error; error 2068 fs/reiserfs/inode.c return error; error 2085 fs/reiserfs/inode.c int error; error 2092 fs/reiserfs/inode.c if ((error = grab_tail_page(p_s_inode, &page, &bh))) { error 2096 fs/reiserfs/inode.c if (error != -ENOENT) error 2099 fs/reiserfs/inode.c error); error 2115 fs/reiserfs/inode.c error = journal_begin(&th, p_s_inode->i_sb, error 2117 fs/reiserfs/inode.c if (error) error 2126 fs/reiserfs/inode.c error = error 2128 fs/reiserfs/inode.c if (error) error 2133 fs/reiserfs/inode.c error = err2; error 2138 fs/reiserfs/inode.c error = remove_save_link(p_s_inode, 1 /* truncate */ ); error 2139 fs/reiserfs/inode.c if (error) error 2165 fs/reiserfs/inode.c return error; error 2330 fs/reiserfs/inode.c int error = 0; error 2395 fs/reiserfs/inode.c if ((error = map_block_for_writepage(inode, bh, block))) { error 2412 fs/reiserfs/inode.c error = journal_begin(&th, s, bh_per_page + 1); error 2413 fs/reiserfs/inode.c if (error) { error 2451 fs/reiserfs/inode.c error = journal_end(&th, s, bh_per_page + 1); error 2453 fs/reiserfs/inode.c if (error) error 2475 fs/reiserfs/inode.c error = 0; error 2496 fs/reiserfs/inode.c return error; error 3057 fs/reiserfs/inode.c int error; error 3070 fs/reiserfs/inode.c error = -EFBIG; error 3075 fs/reiserfs/inode.c error = generic_cont_expand_simple(inode, attr->ia_size); error 3086 fs/reiserfs/inode.c error = err; error 3088 fs/reiserfs/inode.c if (error) error 3102 fs/reiserfs/inode.c error = -EINVAL; error 3106 fs/reiserfs/inode.c error = inode_change_ok(inode, attr); error 3107 fs/reiserfs/inode.c if (!error) { error 3110 fs/reiserfs/inode.c error = reiserfs_chown_xattrs(inode, attr); error 3112 fs/reiserfs/inode.c if (!error) { error 3121 fs/reiserfs/inode.c error = error 3124 fs/reiserfs/inode.c if (error) error 3126 fs/reiserfs/inode.c error = error 3128 fs/reiserfs/inode.c if (error) { error 3140 fs/reiserfs/inode.c error = error 3144 fs/reiserfs/inode.c if (!error) error 3145 fs/reiserfs/inode.c error = inode_setattr(inode, attr); error 3148 fs/reiserfs/inode.c if (!error && reiserfs_posixacl(inode->i_sb)) { error 3150 fs/reiserfs/inode.c error = reiserfs_acl_chmod(inode); error 3155 fs/reiserfs/inode.c return error; error 1944 fs/reiserfs/journal.c if (!error && !(p_s_sb->s_flags & MS_RDONLY)) { error 1962 fs/reiserfs/journal.c if (!error && reiserfs_is_journal_aborted(journal)) { error 1615 fs/reiserfs/super.c goto error; error 1637 fs/reiserfs/super.c goto error; error 1646 fs/reiserfs/super.c goto error; error 1657 fs/reiserfs/super.c goto error; error 1674 fs/reiserfs/super.c goto error; error 1683 fs/reiserfs/super.c goto error; error 1711 fs/reiserfs/super.c goto error; error 1720 fs/reiserfs/super.c goto error; error 1724 fs/reiserfs/super.c goto error; error 1739 fs/reiserfs/super.c goto error; error 1750 fs/reiserfs/super.c goto error; error 1757 fs/reiserfs/super.c goto error; error 1774 fs/reiserfs/super.c goto error; error 1827 fs/reiserfs/super.c goto error; error 1833 fs/reiserfs/super.c goto error; error 1846 fs/reiserfs/super.c goto error; error 1861 fs/reiserfs/super.c error: error 1160 fs/reiserfs/xattr.c goto error; error 1212 fs/reiserfs/xattr.c error: error 1232 fs/reiserfs/xattr.c int error = -EAGAIN; /* do regular unix permission checks by default */ error 1244 fs/reiserfs/xattr.c error = posix_acl_permission(inode, acl, mask); error 1247 fs/reiserfs/xattr.c error = PTR_ERR(acl); error 1250 fs/reiserfs/xattr.c return error; error 20 fs/reiserfs/xattr_acl.c int error; error 32 fs/reiserfs/xattr_acl.c error = posix_acl_valid(acl); error 33 fs/reiserfs/xattr_acl.c if (error) error 39 fs/reiserfs/xattr_acl.c error = reiserfs_set_acl(inode, type, acl); error 43 fs/reiserfs/xattr_acl.c return error; error 50 fs/reiserfs/xattr_acl.c int error; error 60 fs/reiserfs/xattr_acl.c error = posix_acl_to_xattr(acl, buffer, size); error 63 fs/reiserfs/xattr_acl.c return error; error 252 fs/reiserfs/xattr_acl.c int error; error 264 fs/reiserfs/xattr_acl.c error = posix_acl_equiv_mode(acl, &mode); error 265 fs/reiserfs/xattr_acl.c if (error < 0) error 266 fs/reiserfs/xattr_acl.c return error; error 269 fs/reiserfs/xattr_acl.c if (error == 0) error 288 fs/reiserfs/xattr_acl.c error = reiserfs_xattr_set(inode, name, value, size, 0); error 290 fs/reiserfs/xattr_acl.c error = reiserfs_xattr_del(inode, name); error 291 fs/reiserfs/xattr_acl.c if (error == -ENODATA) { error 297 fs/reiserfs/xattr_acl.c error = 0; error 303 fs/reiserfs/xattr_acl.c if (!error) { error 314 fs/reiserfs/xattr_acl.c return error; error 422 fs/reiserfs/xattr_acl.c int error; error 443 fs/reiserfs/xattr_acl.c error = posix_acl_chmod_masq(clone, inode->i_mode); error 444 fs/reiserfs/xattr_acl.c if (!error) { error 451 fs/reiserfs/xattr_acl.c error = reiserfs_set_acl(inode, ACL_TYPE_ACCESS, clone); error 459 fs/reiserfs/xattr_acl.c return error; error 355 fs/romfs/inode.c goto error; error 370 fs/romfs/inode.c goto error; error 401 fs/romfs/inode.c goto error; error 407 fs/romfs/inode.c error: error 57 fs/select.c pwq->error = 0; error 106 fs/select.c p->error = -ENOMEM; error 264 fs/select.c if (table.error) { error 265 fs/select.c retval = table.error; error 616 fs/select.c count = wait->error; error 192 fs/seq_file.c int error = 0; error 209 fs/seq_file.c error = PTR_ERR(p); error 212 fs/seq_file.c error = m->op->show(m, p); error 213 fs/seq_file.c if (error < 0) error 215 fs/seq_file.c if (unlikely(error)) { error 216 fs/seq_file.c error = 0; error 237 fs/seq_file.c return error; error 244 fs/smbfs/dir.c int error = 0; error 267 fs/smbfs/dir.c error = smb_revalidate_inode(dentry); error 269 fs/smbfs/dir.c return error; error 431 fs/smbfs/dir.c int error; error 434 fs/smbfs/dir.c error = -ENAMETOOLONG; error 439 fs/smbfs/dir.c error = -EINVAL; error 444 fs/smbfs/dir.c error = smb_proc_getattr(dentry, &finfo); error 446 fs/smbfs/dir.c if (error && error != -ENOENT) error 448 fs/smbfs/dir.c DENTRY_PATH(dentry), error); error 452 fs/smbfs/dir.c if (error == -ENOENT) error 454 fs/smbfs/dir.c if (!error) { error 455 fs/smbfs/dir.c error = -EACCES; error 468 fs/smbfs/dir.c error = 0; error 473 fs/smbfs/dir.c return ERR_PTR(error); error 484 fs/smbfs/dir.c int error; error 489 fs/smbfs/dir.c error = smb_proc_getattr(dentry, &fattr); error 490 fs/smbfs/dir.c if (error) error 507 fs/smbfs/dir.c return error; error 510 fs/smbfs/dir.c error = -EACCES; error 514 fs/smbfs/dir.c DENTRY_PATH(dentry), error, fileid); error 527 fs/smbfs/dir.c int error; error 534 fs/smbfs/dir.c error = smb_proc_create(dentry, 0, get_seconds(), &fileid); error 535 fs/smbfs/dir.c if (!error) { error 540 fs/smbfs/dir.c error = smb_proc_setattr_unix(dentry, &attr, 0, 0); error 542 fs/smbfs/dir.c error = smb_instantiate(dentry, fileid, 1); error 545 fs/smbfs/dir.c DENTRY_PATH(dentry), error); error 548 fs/smbfs/dir.c return error; error 556 fs/smbfs/dir.c int error; error 561 fs/smbfs/dir.c error = smb_proc_mkdir(dentry); error 562 fs/smbfs/dir.c if (!error) { error 567 fs/smbfs/dir.c error = smb_proc_setattr_unix(dentry, &attr, 0, 0); error 569 fs/smbfs/dir.c error = smb_instantiate(dentry, 0, 0); error 572 fs/smbfs/dir.c return error; error 579 fs/smbfs/dir.c int error; error 590 fs/smbfs/dir.c error = -EBUSY; error 595 fs/smbfs/dir.c error = smb_proc_rmdir(dentry); error 599 fs/smbfs/dir.c return error; error 605 fs/smbfs/dir.c int error; error 614 fs/smbfs/dir.c error = smb_proc_unlink(dentry); error 615 fs/smbfs/dir.c if (!error) error 618 fs/smbfs/dir.c return error; error 625 fs/smbfs/dir.c int error; error 636 fs/smbfs/dir.c error = smb_proc_unlink(new_dentry); error 637 fs/smbfs/dir.c if (error) { error 639 fs/smbfs/dir.c DENTRY_PATH(new_dentry), error); error 648 fs/smbfs/dir.c error = smb_proc_mv(old_dentry, new_dentry); error 649 fs/smbfs/dir.c if (!error) { error 655 fs/smbfs/dir.c return error; error 665 fs/smbfs/dir.c int error; error 677 fs/smbfs/dir.c error = smb_proc_setattr_unix(dentry, &attr, MAJOR(dev), MINOR(dev)); error 678 fs/smbfs/dir.c if (!error) { error 679 fs/smbfs/dir.c error = smb_instantiate(dentry, 0, 0); error 681 fs/smbfs/dir.c return error; error 691 fs/smbfs/dir.c int error; error 696 fs/smbfs/dir.c error = smb_proc_link(server_from_dentry(dentry), dentry, new_dentry); error 697 fs/smbfs/dir.c if (!error) { error 699 fs/smbfs/dir.c error = smb_instantiate(new_dentry, 0, 0); error 701 fs/smbfs/dir.c return error; error 105 fs/smbfs/file.c int error; error 109 fs/smbfs/file.c error = smb_readpage_sync(dentry, page); error 111 fs/smbfs/file.c return error; error 414 fs/smbfs/file.c int error = 0; error 421 fs/smbfs/file.c error = -EACCES; error 422 fs/smbfs/file.c return error; error 243 fs/smbfs/inode.c int error; error 246 fs/smbfs/inode.c error = smb_proc_getattr(dentry, &fattr); error 247 fs/smbfs/inode.c if (!error) { error 256 fs/smbfs/inode.c return error; error 258 fs/smbfs/inode.c return error; /* VFS will deal with it */ error 286 fs/smbfs/inode.c error = -EIO; error 289 fs/smbfs/inode.c return error; error 302 fs/smbfs/inode.c int error = 0; error 316 fs/smbfs/inode.c error = smb_refresh_inode(dentry); error 319 fs/smbfs/inode.c return error; error 676 fs/smbfs/inode.c int error, changed, refresh = 0; error 681 fs/smbfs/inode.c error = smb_revalidate_inode(dentry); error 682 fs/smbfs/inode.c if (error) error 685 fs/smbfs/inode.c if ((error = inode_change_ok(inode, attr)) < 0) error 688 fs/smbfs/inode.c error = -EPERM; error 705 fs/smbfs/inode.c error = smb_open(dentry, O_WRONLY); error 706 fs/smbfs/inode.c if (error) error 708 fs/smbfs/inode.c error = server->ops->truncate(inode, attr->ia_size); error 709 fs/smbfs/inode.c if (error) error 711 fs/smbfs/inode.c error = vmtruncate(inode, attr->ia_size); error 712 fs/smbfs/inode.c if (error) error 721 fs/smbfs/inode.c error = smb_proc_setattr_unix(dentry, attr, 0, 0); error 722 fs/smbfs/inode.c if (!error) error 747 fs/smbfs/inode.c error = smb_proc_settime(dentry, &fattr); error 748 fs/smbfs/inode.c if (error) error 773 fs/smbfs/inode.c error = smb_proc_setattr(dentry, &fattr); error 774 fs/smbfs/inode.c if (error) error 779 fs/smbfs/inode.c error = 0; error 785 fs/smbfs/inode.c return error; error 694 fs/smbfs/proc.c int error = req->rq_err; error 698 fs/smbfs/proc.c errcls, error, SMB_CMD(req->rq_header)); error 701 fs/smbfs/proc.c switch (error) { error 757 fs/smbfs/proc.c switch (error) { error 780 fs/smbfs/proc.c switch (error) { error 810 fs/smbfs/proc.c class, error, SMB_CMD(req->rq_header)); error 853 fs/smbfs/proc.c int error; error 862 fs/smbfs/proc.c error = -EINVAL; error 866 fs/smbfs/proc.c error = -EACCES; error 871 fs/smbfs/proc.c error = -EBADF; error 883 fs/smbfs/proc.c error = 0; error 988 fs/smbfs/proc.c return error; error 993 fs/smbfs/proc.c return error; error 109 fs/splice.c goto error; error 117 fs/splice.c goto error; error 127 fs/splice.c error: error 280 fs/splice.c int error, page_nr; error 308 fs/splice.c error = 0; error 323 fs/splice.c error = add_to_page_cache_lru(page, mapping, index, error 325 fs/splice.c if (unlikely(error)) { error 327 fs/splice.c if (error == -EEXIST) error 375 fs/splice.c error = -EAGAIN; error 393 fs/splice.c error = -ENOMEM; error 410 fs/splice.c error = mapping->a_ops->readpage(in, page); error 411 fs/splice.c if (unlikely(error)) { error 418 fs/splice.c if (error == AOP_TRUNCATED_PAGE) error 419 fs/splice.c error = 0; error 473 fs/splice.c return error; error 1177 fs/splice.c int buffers = 0, error = 0; error 1186 fs/splice.c error = -EFAULT; error 1196 fs/splice.c error = 0; error 1199 fs/splice.c error = -EFAULT; error 1213 fs/splice.c error = -EINVAL; error 1221 fs/splice.c error = get_user_pages_fast((unsigned long)base, npages, error 1224 fs/splice.c if (unlikely(error <= 0)) error 1230 fs/splice.c for (i = 0; i < error; i++) { error 1254 fs/splice.c if (error < npages || buffers == PIPE_BUFFERS) error 1264 fs/splice.c return error; error 1318 fs/splice.c int error; error 1328 fs/splice.c error = ret = 0; error 1336 fs/splice.c error = get_user(base, &iov->iov_base); error 1337 fs/splice.c if (unlikely(error)) error 1339 fs/splice.c error = get_user(len, &iov->iov_len); error 1340 fs/splice.c if (unlikely(error)) error 1349 fs/splice.c error = -EFAULT; error 1354 fs/splice.c error = -EFAULT; error 1385 fs/splice.c ret = error; error 1441 fs/splice.c long error; error 1449 fs/splice.c error = -EBADF; error 1453 fs/splice.c error = vmsplice_to_pipe(file, iov, nr_segs, flags); error 1455 fs/splice.c error = vmsplice_to_user(file, iov, nr_segs, flags); error 1460 fs/splice.c return error; error 1467 fs/splice.c long error; error 1474 fs/splice.c error = -EBADF; error 1481 fs/splice.c error = do_splice(in, off_in, error 1491 fs/splice.c return error; error 1690 fs/splice.c int error, fput_in; error 1695 fs/splice.c error = -EBADF; error 1704 fs/splice.c error = do_tee(in, out, len, flags); error 1711 fs/splice.c return error; error 61 fs/stat.c int error; error 63 fs/stat.c error = user_path_at(dfd, name, LOOKUP_FOLLOW, &path); error 64 fs/stat.c if (!error) { error 65 fs/stat.c error = vfs_getattr(path.mnt, path.dentry, stat); error 68 fs/stat.c return error; error 81 fs/stat.c int error; error 83 fs/stat.c error = user_path_at(dfd, name, 0, &path); error 84 fs/stat.c if (!error) { error 85 fs/stat.c error = vfs_getattr(path.mnt, path.dentry, stat); error 88 fs/stat.c return error; error 101 fs/stat.c int error = -EBADF; error 104 fs/stat.c error = vfs_getattr(f->f_path.mnt, f->f_path.dentry, stat); error 107 fs/stat.c return error; error 158 fs/stat.c int error = vfs_stat_fd(AT_FDCWD, filename, &stat); error 160 fs/stat.c if (!error) error 161 fs/stat.c error = cp_old_stat(&stat, statbuf); error 163 fs/stat.c return error; error 168 fs/stat.c int error = vfs_lstat_fd(AT_FDCWD, filename, &stat); error 170 fs/stat.c if (!error) error 171 fs/stat.c error = cp_old_stat(&stat, statbuf); error 173 fs/stat.c return error; error 178 fs/stat.c int error = vfs_fstat(fd, &stat); error 180 fs/stat.c if (!error) error 181 fs/stat.c error = cp_old_stat(&stat, statbuf); error 183 fs/stat.c return error; error 241 fs/stat.c int error = vfs_stat_fd(AT_FDCWD, filename, &stat); error 243 fs/stat.c if (!error) error 244 fs/stat.c error = cp_new_stat(&stat, statbuf); error 246 fs/stat.c return error; error 252 fs/stat.c int error = vfs_lstat_fd(AT_FDCWD, filename, &stat); error 254 fs/stat.c if (!error) error 255 fs/stat.c error = cp_new_stat(&stat, statbuf); error 257 fs/stat.c return error; error 265 fs/stat.c int error = -EINVAL; error 271 fs/stat.c error = vfs_lstat_fd(dfd, filename, &stat); error 273 fs/stat.c error = vfs_stat_fd(dfd, filename, &stat); error 275 fs/stat.c if (!error) error 276 fs/stat.c error = cp_new_stat(&stat, statbuf); error 279 fs/stat.c return error; error 286 fs/stat.c int error = vfs_fstat(fd, &stat); error 288 fs/stat.c if (!error) error 289 fs/stat.c error = cp_new_stat(&stat, statbuf); error 291 fs/stat.c return error; error 298 fs/stat.c int error; error 303 fs/stat.c error = user_path_at(dfd, pathname, 0, &path); error 304 fs/stat.c if (!error) { error 307 fs/stat.c error = -EINVAL; error 309 fs/stat.c error = security_inode_readlink(path.dentry); error 310 fs/stat.c if (!error) { error 312 fs/stat.c error = inode->i_op->readlink(path.dentry, error 318 fs/stat.c return error; error 371 fs/stat.c int error = vfs_stat(filename, &stat); error 373 fs/stat.c if (!error) error 374 fs/stat.c error = cp_new_stat64(&stat, statbuf); error 376 fs/stat.c return error; error 381 fs/stat.c int error = vfs_lstat(filename, &stat); error 383 fs/stat.c if (!error) error 384 fs/stat.c error = cp_new_stat64(&stat, statbuf); error 386 fs/stat.c return error; error 391 fs/stat.c int error = vfs_fstat(fd, &stat); error 393 fs/stat.c if (!error) error 394 fs/stat.c error = cp_new_stat64(&stat, statbuf); error 396 fs/stat.c return error; error 403 fs/stat.c int error = -EINVAL; error 409 fs/stat.c error = vfs_lstat_fd(dfd, filename, &stat); error 411 fs/stat.c error = vfs_stat_fd(dfd, filename, &stat); error 413 fs/stat.c if (!error) error 414 fs/stat.c error = cp_new_stat64(&stat, statbuf); error 417 fs/stat.c return error; error 691 fs/super.c int error; error 697 fs/super.c error = idr_get_new(&unnamed_dev_idr, NULL, &dev); error 699 fs/super.c if (error == -EAGAIN) error 702 fs/super.c else if (error) error 763 fs/super.c int error = 0; error 784 fs/super.c error = -EBUSY; error 795 fs/super.c error = fill_super(s, data, flags & MS_SILENT ? 1 : 0); error 796 fs/super.c if (error) { error 799 fs/super.c goto error; error 808 fs/super.c error = PTR_ERR(s); error 811 fs/super.c error: error 812 fs/super.c return error; error 834 fs/super.c int error; error 842 fs/super.c error = fill_super(s, data, flags & MS_SILENT ? 1 : 0); error 843 fs/super.c if (error) { error 846 fs/super.c return error; error 865 fs/super.c int error; error 872 fs/super.c error = fill_super(s, data, flags & MS_SILENT ? 1 : 0); error 873 fs/super.c if (error) { error 876 fs/super.c return error; error 891 fs/super.c int error; error 896 fs/super.c error = -ENOMEM; error 906 fs/super.c error = security_sb_copy_data(data, secdata); error 907 fs/super.c if (error) error 911 fs/super.c error = type->get_sb(type, flags, name, data, mnt); error 912 fs/super.c if (error < 0) error 916 fs/super.c error = security_sb_kern_mount(mnt->mnt_sb, secdata); error 917 fs/super.c if (error) error 934 fs/super.c return ERR_PTR(error); error 178 fs/sysfs/bin.c int error; error 184 fs/sysfs/bin.c error = -EACCES; error 190 fs/sysfs/bin.c error = -ENOMEM; error 209 fs/sysfs/bin.c return error; error 680 fs/sysfs/dir.c int error = 0; error 689 fs/sysfs/dir.c error = create_dir(kobj, parent_sd, kobject_name(kobj), &sd); error 690 fs/sysfs/dir.c if (!error) error 692 fs/sysfs/dir.c return error; error 801 fs/sysfs/dir.c int error; error 805 fs/sysfs/dir.c error = 0; error 812 fs/sysfs/dir.c error = PTR_ERR(old_dentry); error 823 fs/sysfs/dir.c error = -EEXIST; error 827 fs/sysfs/dir.c error = -ENOMEM; error 833 fs/sysfs/dir.c error = -ENOMEM; error 838 fs/sysfs/dir.c error = kobject_set_name(kobj, "%s", new_name); error 839 fs/sysfs/dir.c if (error) error 849 fs/sysfs/dir.c error = 0; error 858 fs/sysfs/dir.c return error; error 867 fs/sysfs/dir.c int error; error 873 fs/sysfs/dir.c error = 0; error 880 fs/sysfs/dir.c error = PTR_ERR(old_dentry); error 888 fs/sysfs/dir.c error = PTR_ERR(new_parent); error 901 fs/sysfs/dir.c error = -EEXIST; error 905 fs/sysfs/dir.c error = -ENOMEM; error 910 fs/sysfs/dir.c error = 0; error 930 fs/sysfs/dir.c return error; error 160 fs/sysfs/file.c int error; error 169 fs/sysfs/file.c error = copy_from_user(buffer->page,buf,count); error 174 fs/sysfs/file.c return error ? -EFAULT : count; error 330 fs/sysfs/file.c int error = -EACCES; error 366 fs/sysfs/file.c error = -ENOMEM; error 377 fs/sysfs/file.c error = sysfs_get_open_dirent(attr_sd, buffer); error 378 fs/sysfs/file.c if (error) error 389 fs/sysfs/file.c return error; error 536 fs/sysfs/file.c int error; error 546 fs/sysfs/file.c error = sysfs_add_file(dir_sd, attr, SYSFS_KOBJ_ATTR); error 549 fs/sysfs/file.c return error; error 33 fs/sysfs/group.c int error = 0, i; error 35 fs/sysfs/group.c for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++) { error 48 fs/sysfs/group.c error = sysfs_add_file_mode(dir_sd, *attr, SYSFS_KOBJ_ATTR, error 50 fs/sysfs/group.c if (unlikely(error)) error 53 fs/sysfs/group.c if (error) error 55 fs/sysfs/group.c return error; error 63 fs/sysfs/group.c int error; error 72 fs/sysfs/group.c error = sysfs_create_subdir(kobj, grp->name, &sd); error 73 fs/sysfs/group.c if (error) error 74 fs/sysfs/group.c return error; error 78 fs/sysfs/group.c error = create_files(sd, kobj, grp, update); error 79 fs/sysfs/group.c if (error) { error 84 fs/sysfs/group.c return error; error 51 fs/sysfs/inode.c int error; error 58 fs/sysfs/inode.c error = inode_change_ok(inode, iattr); error 59 fs/sysfs/inode.c if (error) error 60 fs/sysfs/inode.c return error; error 64 fs/sysfs/inode.c error = inode_setattr(inode, iattr); error 65 fs/sysfs/inode.c if (error) error 66 fs/sysfs/inode.c return error; error 104 fs/sysfs/inode.c return error; error 29 fs/sysfs/symlink.c int error; error 38 fs/sysfs/symlink.c error = -EFAULT; error 50 fs/sysfs/symlink.c error = -ENOENT; error 54 fs/sysfs/symlink.c error = -ENOMEM; error 64 fs/sysfs/symlink.c error = sysfs_add_one(&acxt, sd); error 66 fs/sysfs/symlink.c error = __sysfs_add_one(&acxt, sd); error 69 fs/sysfs/symlink.c if (error) error 77 fs/sysfs/symlink.c return error; error 182 fs/sysfs/symlink.c int error; error 185 fs/sysfs/symlink.c error = sysfs_get_target_path(parent_sd, target_sd, path); error 188 fs/sysfs/symlink.c return error; error 193 fs/sysfs/symlink.c int error = -ENOMEM; error 196 fs/sysfs/symlink.c error = sysfs_getlink(dentry, (char *) page); error 197 fs/sysfs/symlink.c nd_set_link(nd, error ? ERR_PTR(error) : (char *)page); error 533 fs/sysv/super.c int error; error 535 fs/sysv/super.c error = sysv_init_icache(); error 536 fs/sysv/super.c if (error) error 538 fs/sysv/super.c error = register_filesystem(&sysv_fs_type); error 539 fs/sysv/super.c if (error) error 541 fs/sysv/super.c error = register_filesystem(&v7_fs_type); error 542 fs/sysv/super.c if (error) error 551 fs/sysv/super.c return error; error 133 fs/ubifs/file.c goto error; error 166 fs/ubifs/file.c goto error; error 178 fs/ubifs/file.c error: error 634 fs/ubifs/recovery.c goto error; error 726 fs/ubifs/recovery.c goto error; error 734 fs/ubifs/recovery.c error: error 312 fs/ubifs/scan.c goto error; error 340 fs/ubifs/scan.c error: error 32 fs/udf/directory.c *error = 0; error 39 fs/udf/directory.c *error = 1; error 121 fs/ufs/dir.c char *error; error 161 fs/ufs/dir.c error = "rec_len is smaller than minimal"; error 164 fs/ufs/dir.c error = "unaligned directory entry"; error 167 fs/ufs/dir.c error = "rec_len is too small for name_len"; error 170 fs/ufs/dir.c error = "directory entry across blocks"; error 173 fs/ufs/dir.c error = "inode out of bounds"; error 177 fs/ufs/dir.c dir->i_ino, error, (page->index<<PAGE_CACHE_SHIFT)+offs, error 521 fs/ufs/inode.c int error; error 525 fs/ufs/inode.c error = ufs_getfrag_block(inode, fragment, &dummy, create); error 526 fs/ufs/inode.c *err = error; error 527 fs/ufs/inode.c if (!error && buffer_mapped(&dummy)) { error 171 fs/ufs/namei.c int error; error 183 fs/ufs/namei.c error = ufs_add_nondir(dentry, inode); error 185 fs/ufs/namei.c return error; error 514 fs/ufs/truncate.c int error; error 516 fs/ufs/truncate.c error = inode_change_ok(inode, attr); error 517 fs/ufs/truncate.c if (error) error 518 fs/ufs/truncate.c return error; error 523 fs/ufs/truncate.c error = vmtruncate(inode, attr->ia_size); error 524 fs/ufs/truncate.c if (error) error 525 fs/ufs/truncate.c return error; error 526 fs/ufs/truncate.c error = ufs_truncate(inode, old_i_size); error 527 fs/ufs/truncate.c if (error) error 528 fs/ufs/truncate.c return error; error 53 fs/utimes.c int error; error 57 fs/utimes.c error = mnt_want_write(path->mnt); error 58 fs/utimes.c if (error) error 94 fs/utimes.c error = -EACCES; error 99 fs/utimes.c error = inode_permission(inode, MAY_WRITE); error 100 fs/utimes.c if (error) error 105 fs/utimes.c error = notify_change(path->dentry, &newattrs); error 111 fs/utimes.c return error; error 131 fs/utimes.c int error = -EINVAL; error 148 fs/utimes.c error = -EBADF; error 152 fs/utimes.c error = utimes_common(&file->f_path, times); error 161 fs/utimes.c error = user_path_at(dfd, filename, lookup_flags, &path); error 162 fs/utimes.c if (error) error 165 fs/utimes.c error = utimes_common(&path, times); error 170 fs/utimes.c return error; error 697 fs/vfat/namei.c goto error; error 716 fs/vfat/namei.c error: error 74 fs/xattr.c int error; error 76 fs/xattr.c error = xattr_permission(inode, name, MAY_WRITE); error 77 fs/xattr.c if (error) error 78 fs/xattr.c return error; error 81 fs/xattr.c error = security_inode_setxattr(dentry, name, value, size, flags); error 82 fs/xattr.c if (error) error 84 fs/xattr.c error = -EOPNOTSUPP; error 86 fs/xattr.c error = inode->i_op->setxattr(dentry, name, value, size, flags); error 87 fs/xattr.c if (!error) { error 95 fs/xattr.c error = security_inode_setsecurity(inode, suffix, value, error 97 fs/xattr.c if (!error) error 102 fs/xattr.c return error; error 137 fs/xattr.c int error; error 139 fs/xattr.c error = xattr_permission(inode, name, MAY_READ); error 140 fs/xattr.c if (error) error 141 fs/xattr.c return error; error 143 fs/xattr.c error = security_inode_getxattr(dentry, name); error 144 fs/xattr.c if (error) error 145 fs/xattr.c return error; error 161 fs/xattr.c error = inode->i_op->getxattr(dentry, name, value, size); error 163 fs/xattr.c error = -EOPNOTSUPP; error 165 fs/xattr.c return error; error 172 fs/xattr.c ssize_t error; error 174 fs/xattr.c error = security_inode_listxattr(d); error 175 fs/xattr.c if (error) error 176 fs/xattr.c return error; error 177 fs/xattr.c error = -EOPNOTSUPP; error 179 fs/xattr.c error = d->d_inode->i_op->listxattr(d, list, size); error 181 fs/xattr.c error = security_inode_listsecurity(d->d_inode, list, size); error 182 fs/xattr.c if (size && error > size) error 183 fs/xattr.c error = -ERANGE; error 185 fs/xattr.c return error; error 193 fs/xattr.c int error; error 198 fs/xattr.c error = xattr_permission(inode, name, MAY_WRITE); error 199 fs/xattr.c if (error) error 200 fs/xattr.c return error; error 202 fs/xattr.c error = security_inode_removexattr(dentry, name); error 203 fs/xattr.c if (error) error 204 fs/xattr.c return error; error 207 fs/xattr.c error = inode->i_op->removexattr(dentry, name); error 210 fs/xattr.c if (!error) error 212 fs/xattr.c return error; error 224 fs/xattr.c int error; error 231 fs/xattr.c error = strncpy_from_user(kname, name, sizeof(kname)); error 232 fs/xattr.c if (error == 0 || error == sizeof(kname)) error 233 fs/xattr.c error = -ERANGE; error 234 fs/xattr.c if (error < 0) error 235 fs/xattr.c return error; error 249 fs/xattr.c error = vfs_setxattr(d, kname, kvalue, size, flags); error 251 fs/xattr.c return error; error 259 fs/xattr.c int error; error 261 fs/xattr.c error = user_path(pathname, &path); error 262 fs/xattr.c if (error) error 263 fs/xattr.c return error; error 264 fs/xattr.c error = mnt_want_write(path.mnt); error 265 fs/xattr.c if (!error) { error 266 fs/xattr.c error = setxattr(path.dentry, name, value, size, flags); error 270 fs/xattr.c return error; error 278 fs/xattr.c int error; error 280 fs/xattr.c error = user_lpath(pathname, &path); error 281 fs/xattr.c if (error) error 282 fs/xattr.c return error; error 283 fs/xattr.c error = mnt_want_write(path.mnt); error 284 fs/xattr.c if (!error) { error 285 fs/xattr.c error = setxattr(path.dentry, name, value, size, flags); error 289 fs/xattr.c return error; error 298 fs/xattr.c int error = -EBADF; error 302 fs/xattr.c return error; error 305 fs/xattr.c error = mnt_want_write(f->f_path.mnt); error 306 fs/xattr.c if (!error) { error 307 fs/xattr.c error = setxattr(dentry, name, value, size, flags); error 311 fs/xattr.c return error; error 321 fs/xattr.c ssize_t error; error 325 fs/xattr.c error = strncpy_from_user(kname, name, sizeof(kname)); error 326 fs/xattr.c if (error == 0 || error == sizeof(kname)) error 327 fs/xattr.c error = -ERANGE; error 328 fs/xattr.c if (error < 0) error 329 fs/xattr.c return error; error 339 fs/xattr.c error = vfs_getxattr(d, kname, kvalue, size); error 340 fs/xattr.c if (error > 0) { error 341 fs/xattr.c if (size && copy_to_user(value, kvalue, error)) error 342 fs/xattr.c error = -EFAULT; error 343 fs/xattr.c } else if (error == -ERANGE && size >= XATTR_SIZE_MAX) { error 346 fs/xattr.c error = -E2BIG; error 349 fs/xattr.c return error; error 357 fs/xattr.c ssize_t error; error 359 fs/xattr.c error = user_path(pathname, &path); error 360 fs/xattr.c if (error) error 361 fs/xattr.c return error; error 362 fs/xattr.c error = getxattr(path.dentry, name, value, size); error 364 fs/xattr.c return error; error 372 fs/xattr.c ssize_t error; error 374 fs/xattr.c error = user_lpath(pathname, &path); error 375 fs/xattr.c if (error) error 376 fs/xattr.c return error; error 377 fs/xattr.c error = getxattr(path.dentry, name, value, size); error 379 fs/xattr.c return error; error 386 fs/xattr.c ssize_t error = -EBADF; error 390 fs/xattr.c return error; error 392 fs/xattr.c error = getxattr(f->f_path.dentry, name, value, size); error 394 fs/xattr.c return error; error 403 fs/xattr.c ssize_t error; error 414 fs/xattr.c error = vfs_listxattr(d, klist, size); error 415 fs/xattr.c if (error > 0) { error 416 fs/xattr.c if (size && copy_to_user(list, klist, error)) error 417 fs/xattr.c error = -EFAULT; error 418 fs/xattr.c } else if (error == -ERANGE && size >= XATTR_LIST_MAX) { error 421 fs/xattr.c error = -E2BIG; error 424 fs/xattr.c return error; error 431 fs/xattr.c ssize_t error; error 433 fs/xattr.c error = user_path(pathname, &path); error 434 fs/xattr.c if (error) error 435 fs/xattr.c return error; error 436 fs/xattr.c error = listxattr(path.dentry, list, size); error 438 fs/xattr.c return error; error 445 fs/xattr.c ssize_t error; error 447 fs/xattr.c error = user_lpath(pathname, &path); error 448 fs/xattr.c if (error) error 449 fs/xattr.c return error; error 450 fs/xattr.c error = listxattr(path.dentry, list, size); error 452 fs/xattr.c return error; error 459 fs/xattr.c ssize_t error = -EBADF; error 463 fs/xattr.c return error; error 465 fs/xattr.c error = listxattr(f->f_path.dentry, list, size); error 467 fs/xattr.c return error; error 476 fs/xattr.c int error; error 479 fs/xattr.c error = strncpy_from_user(kname, name, sizeof(kname)); error 480 fs/xattr.c if (error == 0 || error == sizeof(kname)) error 481 fs/xattr.c error = -ERANGE; error 482 fs/xattr.c if (error < 0) error 483 fs/xattr.c return error; error 492 fs/xattr.c int error; error 494 fs/xattr.c error = user_path(pathname, &path); error 495 fs/xattr.c if (error) error 496 fs/xattr.c return error; error 497 fs/xattr.c error = mnt_want_write(path.mnt); error 498 fs/xattr.c if (!error) { error 499 fs/xattr.c error = removexattr(path.dentry, name); error 503 fs/xattr.c return error; error 510 fs/xattr.c int error; error 512 fs/xattr.c error = user_lpath(pathname, &path); error 513 fs/xattr.c if (error) error 514 fs/xattr.c return error; error 515 fs/xattr.c error = mnt_want_write(path.mnt); error 516 fs/xattr.c if (!error) { error 517 fs/xattr.c error = removexattr(path.dentry, name); error 521 fs/xattr.c return error; error 529 fs/xattr.c int error = -EBADF; error 533 fs/xattr.c return error; error 536 fs/xattr.c error = mnt_want_write(f->f_path.mnt); error 537 fs/xattr.c if (!error) { error 538 fs/xattr.c error = removexattr(dentry, name); error 542 fs/xattr.c return error; error 246 fs/xfs/linux-2.6/xfs_aops.c int error; error 247 fs/xfs/linux-2.6/xfs_aops.c error = xfs_iomap_write_unwritten(ip, offset, size); error 248 fs/xfs/linux-2.6/xfs_aops.c if (error) error 249 fs/xfs/linux-2.6/xfs_aops.c ioend->io_error = error; error 321 fs/xfs/linux-2.6/xfs_aops.c int error, nmaps = 1; error 323 fs/xfs/linux-2.6/xfs_aops.c error = xfs_iomap(ip, offset, count, error 325 fs/xfs/linux-2.6/xfs_aops.c if (!error && (flags & (BMAPI_WRITE|BMAPI_ALLOCATE))) error 327 fs/xfs/linux-2.6/xfs_aops.c return -error; error 350 fs/xfs/linux-2.6/xfs_aops.c ioend->io_error = test_bit(BIO_UPTODATE, &bio->bi_flags) ? 0 : error; error 1062 fs/xfs/linux-2.6/xfs_aops.c goto error; error 1093 fs/xfs/linux-2.6/xfs_aops.c goto error; error 1146 fs/xfs/linux-2.6/xfs_aops.c error: error 1188 fs/xfs/linux-2.6/xfs_aops.c int error; error 1233 fs/xfs/linux-2.6/xfs_aops.c error = xfs_page_state_convert(inode, page, wbc, 1, unmapped); error 1234 fs/xfs/linux-2.6/xfs_aops.c if (error == -EAGAIN) error 1236 fs/xfs/linux-2.6/xfs_aops.c if (unlikely(error < 0)) error 1247 fs/xfs/linux-2.6/xfs_aops.c return error; error 1336 fs/xfs/linux-2.6/xfs_aops.c int error; error 1345 fs/xfs/linux-2.6/xfs_aops.c error = xfs_iomap(XFS_I(inode), offset, size, error 1347 fs/xfs/linux-2.6/xfs_aops.c if (error) error 1348 fs/xfs/linux-2.6/xfs_aops.c return -error; error 367 fs/xfs/linux-2.6/xfs_buf.c int error; error 372 fs/xfs/linux-2.6/xfs_buf.c error = _xfs_buf_get_pages(bp, page_count, flags); error 373 fs/xfs/linux-2.6/xfs_buf.c if (unlikely(error)) error 374 fs/xfs/linux-2.6/xfs_buf.c return error; error 442 fs/xfs/linux-2.6/xfs_buf.c return error; error 585 fs/xfs/linux-2.6/xfs_buf.c int error = 0, i; error 593 fs/xfs/linux-2.6/xfs_buf.c error = _xfs_buf_lookup_pages(bp, flags); error 594 fs/xfs/linux-2.6/xfs_buf.c if (error) error 606 fs/xfs/linux-2.6/xfs_buf.c error = _xfs_buf_map_pages(bp, flags); error 607 fs/xfs/linux-2.6/xfs_buf.c if (unlikely(error)) { error 768 fs/xfs/linux-2.6/xfs_buf.c int error, i; error 776 fs/xfs/linux-2.6/xfs_buf.c error = _xfs_buf_get_pages(bp, page_count, 0); error 777 fs/xfs/linux-2.6/xfs_buf.c if (error) error 787 fs/xfs/linux-2.6/xfs_buf.c error = _xfs_buf_map_pages(bp, XBF_MAPPED); error 788 fs/xfs/linux-2.6/xfs_buf.c if (unlikely(error)) { error 1046 fs/xfs/linux-2.6/xfs_buf.c ASSERT(error >= 0 && error <= 0xffff); error 1047 fs/xfs/linux-2.6/xfs_buf.c bp->b_error = (unsigned short)error; error 1048 fs/xfs/linux-2.6/xfs_buf.c XB_TRACE(bp, "ioerror", (unsigned long)error); error 1534 fs/xfs/linux-2.6/xfs_buf.c int error = 0; error 1542 fs/xfs/linux-2.6/xfs_buf.c error = PTR_ERR(btp->bt_task); error 1547 fs/xfs/linux-2.6/xfs_buf.c return error; error 1562 fs/xfs/linux-2.6/xfs_buf.c goto error; error 1564 fs/xfs/linux-2.6/xfs_buf.c goto error; error 1566 fs/xfs/linux-2.6/xfs_buf.c goto error; error 1570 fs/xfs/linux-2.6/xfs_buf.c error: error 403 fs/xfs/linux-2.6/xfs_buf.h int error = 0; error 411 fs/xfs/linux-2.6/xfs_buf.h error = xfs_buf_iowait(bp); error 414 fs/xfs/linux-2.6/xfs_buf.h return error; error 122 fs/xfs/linux-2.6/xfs_export.c int error; error 130 fs/xfs/linux-2.6/xfs_export.c error = xfs_iget(mp, NULL, ino, 0, XFS_ILOCK_SHARED, &ip, 0); error 131 fs/xfs/linux-2.6/xfs_export.c if (error) error 132 fs/xfs/linux-2.6/xfs_export.c return ERR_PTR(-error); error 214 fs/xfs/linux-2.6/xfs_export.c int error; error 218 fs/xfs/linux-2.6/xfs_export.c error = xfs_lookup(XFS_I(child->d_inode), &xfs_name_dotdot, &cip, NULL); error 219 fs/xfs/linux-2.6/xfs_export.c if (unlikely(error)) error 220 fs/xfs/linux-2.6/xfs_export.c return ERR_PTR(-error); error 224 fs/xfs/linux-2.6/xfs_file.c int error; error 241 fs/xfs/linux-2.6/xfs_file.c error = xfs_readdir(ip, dirent, bufsize, error 243 fs/xfs/linux-2.6/xfs_file.c if (error) error 244 fs/xfs/linux-2.6/xfs_file.c return -error; error 299 fs/xfs/linux-2.6/xfs_file.c int error; error 330 fs/xfs/linux-2.6/xfs_file.c error = -xfs_readdir(ip, &buf, buf.len, &offset, error 332 fs/xfs/linux-2.6/xfs_file.c if (error || offset == start_offset) { error 355 fs/xfs/linux-2.6/xfs_file.c if (!error) { error 363 fs/xfs/linux-2.6/xfs_file.c return error; error 385 fs/xfs/linux-2.6/xfs_file.c int error; error 388 fs/xfs/linux-2.6/xfs_file.c error = xfs_ioctl(XFS_I(inode), filp, 0, cmd, (void __user *)p); error 397 fs/xfs/linux-2.6/xfs_file.c return error; error 406 fs/xfs/linux-2.6/xfs_file.c int error; error 409 fs/xfs/linux-2.6/xfs_file.c error = xfs_ioctl(XFS_I(inode), filp, IO_INVIS, cmd, (void __user *)p); error 418 fs/xfs/linux-2.6/xfs_file.c return error; error 90 fs/xfs/linux-2.6/xfs_ioctl.c int error = user_lpath((const char __user *)hreq.path, &path); error 91 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 92 fs/xfs/linux-2.6/xfs_ioctl.c return error; error 196 fs/xfs/linux-2.6/xfs_ioctl.c int error; error 236 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_iget(mp, NULL, ino, 0, XFS_ILOCK_SHARED, &ip, 0); error 237 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 238 fs/xfs/linux-2.6/xfs_ioctl.c return error; error 259 fs/xfs/linux-2.6/xfs_ioctl.c int error; error 272 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_vget_fsop_handlereq(mp, parinode, &hreq, &inode); error 273 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 274 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 376 fs/xfs/linux-2.6/xfs_ioctl.c int error; error 383 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_vget_fsop_handlereq(mp, parinode, &hreq, &inode); error 384 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 385 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 389 fs/xfs/linux-2.6/xfs_ioctl.c error = -XFS_ERROR(EINVAL); error 394 fs/xfs/linux-2.6/xfs_ioctl.c error = -XFS_ERROR(EFAULT); error 402 fs/xfs/linux-2.6/xfs_ioctl.c error = -xfs_readlink(XFS_I(inode), link); error 403 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 405 fs/xfs/linux-2.6/xfs_ioctl.c error = do_readlink(hreq.ohandle, olen, link); error 406 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 413 fs/xfs/linux-2.6/xfs_ioctl.c return error; error 422 fs/xfs/linux-2.6/xfs_ioctl.c int error; error 432 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_vget_fsop_handlereq(mp, parinode, &dmhreq.hreq, &inode); error 433 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 434 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 437 fs/xfs/linux-2.6/xfs_ioctl.c error = -XFS_ERROR(EPERM); error 442 fs/xfs/linux-2.6/xfs_ioctl.c error = -XFS_ERROR(EFAULT); error 446 fs/xfs/linux-2.6/xfs_ioctl.c error = -xfs_set_dmattrs(XFS_I(inode), fsd.fsd_dmevmask, error 451 fs/xfs/linux-2.6/xfs_ioctl.c return error; error 460 fs/xfs/linux-2.6/xfs_ioctl.c int error; error 479 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_vget_fsop_handlereq(mp, parinode, &al_hreq.hreq, &inode); error 480 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 488 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_attr_list(XFS_I(inode), kbuf, al_hreq.buflen, error 490 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 494 fs/xfs/linux-2.6/xfs_ioctl.c error = -EFAULT; error 501 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 513 fs/xfs/linux-2.6/xfs_ioctl.c int error = EFAULT; error 521 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_attr_get(XFS_I(inode), name, kbuf, (int *)len, flags); error 522 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 526 fs/xfs/linux-2.6/xfs_ioctl.c error = EFAULT; error 530 fs/xfs/linux-2.6/xfs_ioctl.c return error; error 542 fs/xfs/linux-2.6/xfs_ioctl.c int error = EFAULT; error 556 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_attr_set(XFS_I(inode), name, kbuf, len, flags); error 560 fs/xfs/linux-2.6/xfs_ioctl.c return error; error 581 fs/xfs/linux-2.6/xfs_ioctl.c int error; error 593 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_vget_fsop_handlereq(mp, parinode, &am_hreq.hreq, &inode); error 594 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 597 fs/xfs/linux-2.6/xfs_ioctl.c error = E2BIG; error 602 fs/xfs/linux-2.6/xfs_ioctl.c error = ENOMEM; error 607 fs/xfs/linux-2.6/xfs_ioctl.c error = EFAULT; error 616 fs/xfs/linux-2.6/xfs_ioctl.c error = 0; error 621 fs/xfs/linux-2.6/xfs_ioctl.c error = -ERANGE; error 654 fs/xfs/linux-2.6/xfs_ioctl.c error = XFS_ERROR(EFAULT); error 662 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 676 fs/xfs/linux-2.6/xfs_ioctl.c int error; error 695 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_change_file_space(ip, cmd, &bf, filp->f_pos, error 697 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 710 fs/xfs/linux-2.6/xfs_ioctl.c int error; error 734 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_inumbers(mp, &inlast, &count, error 737 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_bulkstat_single(mp, &inlast, error 740 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_bulkstat(mp, &inlast, &count, error 745 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 746 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 766 fs/xfs/linux-2.6/xfs_ioctl.c int error; error 768 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_fs_geometry(mp, (xfs_fsop_geom_t *)&fsgeo, 3); error 769 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 770 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 783 fs/xfs/linux-2.6/xfs_ioctl.c int error; error 785 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_fs_geometry(mp, &fsgeo, 4); error 786 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 787 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 1267 fs/xfs/linux-2.6/xfs_ioctl.c int error; error 1279 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_getbmap(ip, &bm, (struct getbmap __user *)arg+1, iflags); error 1280 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 1281 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 1296 fs/xfs/linux-2.6/xfs_ioctl.c int error; error 1317 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_getbmap(ip, &bm, (struct getbmapx __user *)arg+1, iflags); error 1318 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 1319 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 1339 fs/xfs/linux-2.6/xfs_ioctl.c int error; error 1407 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_set_dmattrs(ip, dmi.fsd_dmevmask, error 1409 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 1440 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_swapext((struct xfs_swapext __user *)arg); error 1441 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 1447 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_fs_counts(mp, &out); error 1448 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 1449 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 1468 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_reserve_blocks(mp, &in, &inout); error 1469 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 1470 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 1483 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_reserve_blocks(mp, NULL, &out); error 1484 fs/xfs/linux-2.6/xfs_ioctl.c if (error) error 1485 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 1502 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_growfs_data(mp, &in); error 1503 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 1515 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_growfs_log(mp, &in); error 1516 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 1528 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_growfs_rt(mp, &in); error 1529 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 1556 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_fs_goingdown(mp, in); error 1557 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 1569 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_errortag_add(in.errtag, mp); error 1570 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 1577 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_errortag_clearall(mp, 1); error 1578 fs/xfs/linux-2.6/xfs_ioctl.c return -error; error 267 fs/xfs/linux-2.6/xfs_ioctl32.c int error; error 299 fs/xfs/linux-2.6/xfs_ioctl32.c error = xfs_inumbers(mp, &inlast, &count, error 304 fs/xfs/linux-2.6/xfs_ioctl32.c error = xfs_bulkstat(mp, &inlast, &count, error 309 fs/xfs/linux-2.6/xfs_ioctl32.c if (error) error 310 fs/xfs/linux-2.6/xfs_ioctl32.c return -error; error 378 fs/xfs/linux-2.6/xfs_ioctl32.c int error; error 466 fs/xfs/linux-2.6/xfs_ioctl32.c error = xfs_ioctl(XFS_I(inode), file, mode, cmd, (void __user *)arg); error 469 fs/xfs/linux-2.6/xfs_ioctl32.c return error; error 150 fs/xfs/linux-2.6/xfs_iops.c int error; error 152 fs/xfs/linux-2.6/xfs_iops.c error = security_inode_init_security(inode, dir, &name, error 154 fs/xfs/linux-2.6/xfs_iops.c if (error) { error 155 fs/xfs/linux-2.6/xfs_iops.c if (error == -EOPNOTSUPP) error 157 fs/xfs/linux-2.6/xfs_iops.c return -error; error 160 fs/xfs/linux-2.6/xfs_iops.c error = xfs_attr_set(ip, name, value, length, ATTR_SECURE); error 161 fs/xfs/linux-2.6/xfs_iops.c if (!error) error 166 fs/xfs/linux-2.6/xfs_iops.c return error; error 209 fs/xfs/linux-2.6/xfs_iops.c int error; error 240 fs/xfs/linux-2.6/xfs_iops.c error = xfs_create(XFS_I(dir), &name, mode, rdev, &ip, NULL); error 243 fs/xfs/linux-2.6/xfs_iops.c error = xfs_mkdir(XFS_I(dir), &name, mode, &ip, NULL); error 246 fs/xfs/linux-2.6/xfs_iops.c error = EINVAL; error 250 fs/xfs/linux-2.6/xfs_iops.c if (unlikely(error)) error 255 fs/xfs/linux-2.6/xfs_iops.c error = xfs_init_security(inode, dir); error 256 fs/xfs/linux-2.6/xfs_iops.c if (unlikely(error)) error 260 fs/xfs/linux-2.6/xfs_iops.c error = _ACL_INHERIT(inode, mode, default_acl); error 261 fs/xfs/linux-2.6/xfs_iops.c if (unlikely(error)) error 269 fs/xfs/linux-2.6/xfs_iops.c return -error; error 276 fs/xfs/linux-2.6/xfs_iops.c return -error; error 306 fs/xfs/linux-2.6/xfs_iops.c int error; error 312 fs/xfs/linux-2.6/xfs_iops.c error = xfs_lookup(XFS_I(dir), &name, &cip, NULL); error 313 fs/xfs/linux-2.6/xfs_iops.c if (unlikely(error)) { error 314 fs/xfs/linux-2.6/xfs_iops.c if (unlikely(error != ENOENT)) error 315 fs/xfs/linux-2.6/xfs_iops.c return ERR_PTR(-error); error 333 fs/xfs/linux-2.6/xfs_iops.c int error; error 339 fs/xfs/linux-2.6/xfs_iops.c error = xfs_lookup(XFS_I(dir), &xname, &ip, &ci_name); error 340 fs/xfs/linux-2.6/xfs_iops.c if (unlikely(error)) { error 341 fs/xfs/linux-2.6/xfs_iops.c if (unlikely(error != ENOENT)) error 342 fs/xfs/linux-2.6/xfs_iops.c return ERR_PTR(-error); error 371 fs/xfs/linux-2.6/xfs_iops.c int error; error 377 fs/xfs/linux-2.6/xfs_iops.c error = xfs_link(XFS_I(dir), XFS_I(inode), &name); error 378 fs/xfs/linux-2.6/xfs_iops.c if (unlikely(error)) { error 380 fs/xfs/linux-2.6/xfs_iops.c return -error; error 394 fs/xfs/linux-2.6/xfs_iops.c int error; error 398 fs/xfs/linux-2.6/xfs_iops.c error = -xfs_remove(XFS_I(dir), &name, XFS_I(dentry->d_inode)); error 399 fs/xfs/linux-2.6/xfs_iops.c if (error) error 400 fs/xfs/linux-2.6/xfs_iops.c return error; error 421 fs/xfs/linux-2.6/xfs_iops.c int error; error 428 fs/xfs/linux-2.6/xfs_iops.c error = xfs_symlink(XFS_I(dir), &name, symname, mode, &cip, NULL); error 429 fs/xfs/linux-2.6/xfs_iops.c if (unlikely(error)) error 434 fs/xfs/linux-2.6/xfs_iops.c error = xfs_init_security(inode, dir); error 435 fs/xfs/linux-2.6/xfs_iops.c if (unlikely(error)) error 444 fs/xfs/linux-2.6/xfs_iops.c return -error; error 477 fs/xfs/linux-2.6/xfs_iops.c int error = -ENOMEM; error 483 fs/xfs/linux-2.6/xfs_iops.c error = -xfs_readlink(XFS_I(dentry->d_inode), link); error 484 fs/xfs/linux-2.6/xfs_iops.c if (unlikely(error)) error 493 fs/xfs/linux-2.6/xfs_iops.c nd_set_link(nd, ERR_PTR(error)); error 516 fs/xfs/linux-2.6/xfs_iops.c int error; error 521 fs/xfs/linux-2.6/xfs_iops.c error = xfs_acl_iaccess(ip, mask, NULL); error 522 fs/xfs/linux-2.6/xfs_iops.c if (error != -1) error 523 fs/xfs/linux-2.6/xfs_iops.c return -error; error 616 fs/xfs/linux-2.6/xfs_iops.c int error; error 617 fs/xfs/linux-2.6/xfs_iops.c error = block_truncate_page(inode->i_mapping, inode->i_size, error 619 fs/xfs/linux-2.6/xfs_iops.c WARN_ON(error); error 629 fs/xfs/linux-2.6/xfs_iops.c long error; error 635 fs/xfs/linux-2.6/xfs_iops.c error = -ENODEV; error 644 fs/xfs/linux-2.6/xfs_iops.c error = xfs_change_file_space(ip, XFS_IOC_RESVSP, &bf, error 646 fs/xfs/linux-2.6/xfs_iops.c if (!error && !(mode & FALLOC_FL_KEEP_SIZE) && error 656 fs/xfs/linux-2.6/xfs_iops.c error = xfs_setattr(ip, &iattr, XFS_ATTR_NOLOCK, NULL); error 661 fs/xfs/linux-2.6/xfs_iops.c return error; error 290 fs/xfs/linux-2.6/xfs_lrw.c int error; error 292 fs/xfs/linux-2.6/xfs_lrw.c error = XFS_SEND_DATA(mp, DM_EVENT_READ, ip, *ppos, count, error 294 fs/xfs/linux-2.6/xfs_lrw.c if (error) { error 296 fs/xfs/linux-2.6/xfs_lrw.c return -error; error 332 fs/xfs/linux-2.6/xfs_lrw.c int error; error 334 fs/xfs/linux-2.6/xfs_lrw.c error = XFS_SEND_DATA(mp, DM_EVENT_WRITE, ip, *ppos, count, error 336 fs/xfs/linux-2.6/xfs_lrw.c if (error) { error 338 fs/xfs/linux-2.6/xfs_lrw.c return -error; error 394 fs/xfs/linux-2.6/xfs_lrw.c int error = 0; error 410 fs/xfs/linux-2.6/xfs_lrw.c error = xfs_bmapi(NULL, ip, last_fsb, 1, 0, NULL, 0, &imap, error 412 fs/xfs/linux-2.6/xfs_lrw.c if (error) { error 413 fs/xfs/linux-2.6/xfs_lrw.c return error; error 433 fs/xfs/linux-2.6/xfs_lrw.c error = xfs_iozero(ip, isize, zero_len); error 436 fs/xfs/linux-2.6/xfs_lrw.c ASSERT(error >= 0); error 437 fs/xfs/linux-2.6/xfs_lrw.c return error; error 465 fs/xfs/linux-2.6/xfs_lrw.c int error = 0; error 475 fs/xfs/linux-2.6/xfs_lrw.c error = xfs_zero_last_block(ip, offset, isize); error 476 fs/xfs/linux-2.6/xfs_lrw.c if (error) { error 478 fs/xfs/linux-2.6/xfs_lrw.c return error; error 505 fs/xfs/linux-2.6/xfs_lrw.c error = xfs_bmapi(NULL, ip, start_zero_fsb, zero_count_fsb, error 507 fs/xfs/linux-2.6/xfs_lrw.c if (error) { error 509 fs/xfs/linux-2.6/xfs_lrw.c return error; error 540 fs/xfs/linux-2.6/xfs_lrw.c error = xfs_iozero(ip, zero_off, zero_len); error 541 fs/xfs/linux-2.6/xfs_lrw.c if (error) { error 555 fs/xfs/linux-2.6/xfs_lrw.c ASSERT(error >= 0); error 556 fs/xfs/linux-2.6/xfs_lrw.c return error; error 573 fs/xfs/linux-2.6/xfs_lrw.c ssize_t ret = 0, error = 0; error 583 fs/xfs/linux-2.6/xfs_lrw.c error = generic_segment_checks(iovp, &segs, &ocount, VERIFY_READ); error 584 fs/xfs/linux-2.6/xfs_lrw.c if (error) error 585 fs/xfs/linux-2.6/xfs_lrw.c return error; error 613 fs/xfs/linux-2.6/xfs_lrw.c error = -generic_write_checks(file, &pos, &count, error 615 fs/xfs/linux-2.6/xfs_lrw.c if (error) { error 628 fs/xfs/linux-2.6/xfs_lrw.c error = XFS_SEND_DATA(xip->i_mount, DM_EVENT_WRITE, xip, error 630 fs/xfs/linux-2.6/xfs_lrw.c if (error) { error 691 fs/xfs/linux-2.6/xfs_lrw.c error = xfs_zero_eof(xip, pos, xip->i_size); error 692 fs/xfs/linux-2.6/xfs_lrw.c if (error) { error 710 fs/xfs/linux-2.6/xfs_lrw.c error = xfs_write_clear_setuid(xip); error 711 fs/xfs/linux-2.6/xfs_lrw.c if (likely(!error)) error 712 fs/xfs/linux-2.6/xfs_lrw.c error = -file_remove_suid(file); error 713 fs/xfs/linux-2.6/xfs_lrw.c if (unlikely(error)) { error 727 fs/xfs/linux-2.6/xfs_lrw.c error = xfs_flushinval_pages(xip, error 730 fs/xfs/linux-2.6/xfs_lrw.c if (error) error 779 fs/xfs/linux-2.6/xfs_lrw.c error = XFS_SEND_NAMESP(xip->i_mount, DM_EVENT_NOSPACE, xip, error 785 fs/xfs/linux-2.6/xfs_lrw.c if (error) error 803 fs/xfs/linux-2.6/xfs_lrw.c error = -ret; error 817 fs/xfs/linux-2.6/xfs_lrw.c if (!error) error 818 fs/xfs/linux-2.6/xfs_lrw.c error = error2; error 823 fs/xfs/linux-2.6/xfs_lrw.c if (!error) error 824 fs/xfs/linux-2.6/xfs_lrw.c error = error2; error 846 fs/xfs/linux-2.6/xfs_lrw.c return -error; error 590 fs/xfs/linux-2.6/xfs_super.c int error = 0; error 594 fs/xfs/linux-2.6/xfs_super.c error = PTR_ERR(*bdevp); error 595 fs/xfs/linux-2.6/xfs_super.c printk("XFS: Invalid device [%s], error=%d\n", name, error); error 598 fs/xfs/linux-2.6/xfs_super.c return -error; error 617 fs/xfs/linux-2.6/xfs_super.c int error; error 627 fs/xfs/linux-2.6/xfs_super.c error = xfs_iowait(sbp); error 640 fs/xfs/linux-2.6/xfs_super.c return error; error 646 fs/xfs/linux-2.6/xfs_super.c int error; error 662 fs/xfs/linux-2.6/xfs_super.c error = xfs_barrier_test(mp); error 663 fs/xfs/linux-2.6/xfs_super.c if (error) { error 712 fs/xfs/linux-2.6/xfs_super.c int error; error 718 fs/xfs/linux-2.6/xfs_super.c error = xfs_blkdev_get(mp, args->logname, &logdev); error 719 fs/xfs/linux-2.6/xfs_super.c if (error) error 724 fs/xfs/linux-2.6/xfs_super.c error = xfs_blkdev_get(mp, args->rtname, &rtdev); error 725 fs/xfs/linux-2.6/xfs_super.c if (error) error 731 fs/xfs/linux-2.6/xfs_super.c error = EINVAL; error 739 fs/xfs/linux-2.6/xfs_super.c error = ENOMEM; error 772 fs/xfs/linux-2.6/xfs_super.c return error; error 782 fs/xfs/linux-2.6/xfs_super.c int error; error 784 fs/xfs/linux-2.6/xfs_super.c error = xfs_setsize_buftarg(mp->m_ddev_targp, mp->m_sb.sb_blocksize, error 786 fs/xfs/linux-2.6/xfs_super.c if (error) error 787 fs/xfs/linux-2.6/xfs_super.c return error; error 794 fs/xfs/linux-2.6/xfs_super.c error = xfs_setsize_buftarg(mp->m_logdev_targp, error 797 fs/xfs/linux-2.6/xfs_super.c if (error) error 798 fs/xfs/linux-2.6/xfs_super.c return error; error 801 fs/xfs/linux-2.6/xfs_super.c error = xfs_setsize_buftarg(mp->m_rtdev_targp, error 804 fs/xfs/linux-2.6/xfs_super.c if (error) error 805 fs/xfs/linux-2.6/xfs_super.c return error; error 901 fs/xfs/linux-2.6/xfs_super.c int error = 0; error 909 fs/xfs/linux-2.6/xfs_super.c error = xfs_inode_flush(XFS_I(inode), flags); error 914 fs/xfs/linux-2.6/xfs_super.c if (error) error 917 fs/xfs/linux-2.6/xfs_super.c return -error; error 1030 fs/xfs/linux-2.6/xfs_super.c int error; error 1033 fs/xfs/linux-2.6/xfs_super.c error = xfs_sync(mp, SYNC_FSDATA | SYNC_BDFLUSH | SYNC_ATTR); error 1102 fs/xfs/linux-2.6/xfs_super.c int error; error 1131 fs/xfs/linux-2.6/xfs_super.c error = xfs_unmount_flush(mp, 0); error 1132 fs/xfs/linux-2.6/xfs_super.c WARN_ON(error); error 1140 fs/xfs/linux-2.6/xfs_super.c error = xfs_sync(mp, SYNC_WAIT | SYNC_CLOSE); error 1141 fs/xfs/linux-2.6/xfs_super.c ASSERT(error != EFSCORRUPTED); error 1174 fs/xfs/linux-2.6/xfs_super.c int error; error 1202 fs/xfs/linux-2.6/xfs_super.c error = xfs_sync(mp, flags); error 1224 fs/xfs/linux-2.6/xfs_super.c return -error; error 1432 fs/xfs/linux-2.6/xfs_super.c int error; error 1467 fs/xfs/linux-2.6/xfs_super.c error = ENOMEM; error 1566 fs/xfs/linux-2.6/xfs_super.c return error; error 1671 fs/xfs/linux-2.6/xfs_super.c int flags = 0, error = ENOMEM; error 1695 fs/xfs/linux-2.6/xfs_super.c error = xfs_parseargs(mp, (char *)data, args, 0); error 1696 fs/xfs/linux-2.6/xfs_super.c if (error) error 1705 fs/xfs/linux-2.6/xfs_super.c error = xfs_dmops_get(mp, args); error 1706 fs/xfs/linux-2.6/xfs_super.c if (error) error 1708 fs/xfs/linux-2.6/xfs_super.c error = xfs_qmops_get(mp, args); error 1709 fs/xfs/linux-2.6/xfs_super.c if (error) error 1715 fs/xfs/linux-2.6/xfs_super.c error = xfs_open_devices(mp, args); error 1716 fs/xfs/linux-2.6/xfs_super.c if (error) error 1725 fs/xfs/linux-2.6/xfs_super.c error = xfs_start_flags(args, mp); error 1726 fs/xfs/linux-2.6/xfs_super.c if (error) error 1728 fs/xfs/linux-2.6/xfs_super.c error = xfs_readsb(mp, flags); error 1729 fs/xfs/linux-2.6/xfs_super.c if (error) error 1731 fs/xfs/linux-2.6/xfs_super.c error = xfs_finish_flags(args, mp); error 1732 fs/xfs/linux-2.6/xfs_super.c if (error) error 1735 fs/xfs/linux-2.6/xfs_super.c error = xfs_setup_devices(mp); error 1736 fs/xfs/linux-2.6/xfs_super.c if (error) error 1742 fs/xfs/linux-2.6/xfs_super.c error = xfs_filestream_mount(mp); error 1743 fs/xfs/linux-2.6/xfs_super.c if (error) error 1746 fs/xfs/linux-2.6/xfs_super.c error = xfs_mountfs(mp); error 1747 fs/xfs/linux-2.6/xfs_super.c if (error) error 1762 fs/xfs/linux-2.6/xfs_super.c error = ENOENT; error 1766 fs/xfs/linux-2.6/xfs_super.c error = EINVAL; error 1771 fs/xfs/linux-2.6/xfs_super.c error = ENOMEM; error 1779 fs/xfs/linux-2.6/xfs_super.c error = -PTR_ERR(mp->m_sync_task); error 1804 fs/xfs/linux-2.6/xfs_super.c return -error; error 1823 fs/xfs/linux-2.6/xfs_super.c error = xfs_unmount_flush(mp, 0); error 1824 fs/xfs/linux-2.6/xfs_super.c WARN_ON(error); error 2102 fs/xfs/linux-2.6/xfs_super.c int error; error 2112 fs/xfs/linux-2.6/xfs_super.c error = xfs_init_zones(); error 2113 fs/xfs/linux-2.6/xfs_super.c if (error) error 2116 fs/xfs/linux-2.6/xfs_super.c error = xfs_alloc_trace_bufs(); error 2117 fs/xfs/linux-2.6/xfs_super.c if (error) error 2120 fs/xfs/linux-2.6/xfs_super.c error = xfs_mru_cache_init(); error 2121 fs/xfs/linux-2.6/xfs_super.c if (error) error 2124 fs/xfs/linux-2.6/xfs_super.c error = xfs_filestream_init(); error 2125 fs/xfs/linux-2.6/xfs_super.c if (error) error 2128 fs/xfs/linux-2.6/xfs_super.c error = xfs_buf_init(); error 2129 fs/xfs/linux-2.6/xfs_super.c if (error) error 2132 fs/xfs/linux-2.6/xfs_super.c error = xfs_init_procfs(); error 2133 fs/xfs/linux-2.6/xfs_super.c if (error) error 2136 fs/xfs/linux-2.6/xfs_super.c error = xfs_sysctl_register(); error 2137 fs/xfs/linux-2.6/xfs_super.c if (error) error 2142 fs/xfs/linux-2.6/xfs_super.c error = register_filesystem(&xfs_fs_type); error 2143 fs/xfs/linux-2.6/xfs_super.c if (error) error 2162 fs/xfs/linux-2.6/xfs_super.c return error; error 81 fs/xfs/linux-2.6/xfs_vnode.c if (unlikely(error == -ENODEV)) error 98 fs/xfs/linux-2.6/xfs_xattr.c int error, asize = size; error 109 fs/xfs/linux-2.6/xfs_xattr.c error = -xfs_attr_get(ip, name, value, &asize, xflags); error 110 fs/xfs/linux-2.6/xfs_xattr.c if (error) error 111 fs/xfs/linux-2.6/xfs_xattr.c return error; error 288 fs/xfs/linux-2.6/xfs_xattr.c int error; error 314 fs/xfs/linux-2.6/xfs_xattr.c error = list_one_attr(POSIX_ACL_XATTR_ACCESS, error 317 fs/xfs/linux-2.6/xfs_xattr.c if (error) error 318 fs/xfs/linux-2.6/xfs_xattr.c return error; error 322 fs/xfs/linux-2.6/xfs_xattr.c error = list_one_attr(POSIX_ACL_XATTR_DEFAULT, error 325 fs/xfs/linux-2.6/xfs_xattr.c if (error) error 326 fs/xfs/linux-2.6/xfs_xattr.c return error; error 414 fs/xfs/quota/xfs_dquot.c int nmaps, error, committed; error 444 fs/xfs/quota/xfs_dquot.c if ((error = xfs_bmapi(tp, quotip, error 467 fs/xfs/quota/xfs_dquot.c if (!bp || (error = XFS_BUF_GETERROR(bp))) error 491 fs/xfs/quota/xfs_dquot.c if ((error = xfs_bmap_finish(tpp, &flist, &committed))) { error 510 fs/xfs/quota/xfs_dquot.c return (error); error 527 fs/xfs/quota/xfs_dquot.c int nmaps, error; error 561 fs/xfs/quota/xfs_dquot.c error = xfs_bmapi(NULL, quotip, dqp->q_fileoffset, error 567 fs/xfs/quota/xfs_dquot.c if (error) error 568 fs/xfs/quota/xfs_dquot.c return (error); error 585 fs/xfs/quota/xfs_dquot.c if ((error = xfs_qm_dqalloc(tpp, mp, dqp, quotip, error 587 fs/xfs/quota/xfs_dquot.c return (error); error 607 fs/xfs/quota/xfs_dquot.c if ((error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, error 611 fs/xfs/quota/xfs_dquot.c return (error); error 613 fs/xfs/quota/xfs_dquot.c if (error || !bp) error 614 fs/xfs/quota/xfs_dquot.c return XFS_ERROR(error); error 659 fs/xfs/quota/xfs_dquot.c int error; error 669 fs/xfs/quota/xfs_dquot.c if ((error = xfs_qm_dqtobp(tpp, dqp, &ddqp, &bp, flags))) { error 670 fs/xfs/quota/xfs_dquot.c return (error); error 706 fs/xfs/quota/xfs_dquot.c return (error); error 725 fs/xfs/quota/xfs_dquot.c int error; error 733 fs/xfs/quota/xfs_dquot.c if ((error = xfs_trans_reserve(tp, error 751 fs/xfs/quota/xfs_dquot.c if ((error = xfs_qm_dqread(&tp, id, dqp, flags))) { error 762 fs/xfs/quota/xfs_dquot.c if ((error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES))) error 770 fs/xfs/quota/xfs_dquot.c ASSERT(error); error 776 fs/xfs/quota/xfs_dquot.c return (error); error 915 fs/xfs/quota/xfs_dquot.c int error; error 992 fs/xfs/quota/xfs_dquot.c if ((error = xfs_qm_idtodq(mp, id, type, error 998 fs/xfs/quota/xfs_dquot.c return (error); error 1217 fs/xfs/quota/xfs_dquot.c int error; error 1252 fs/xfs/quota/xfs_dquot.c if ((error = xfs_qm_dqtobp(NULL, dqp, &ddqp, &bp, XFS_QMOPT_DOWARN))) { error 1254 fs/xfs/quota/xfs_dquot.c ASSERT(error != ENOENT); error 1259 fs/xfs/quota/xfs_dquot.c return (error); error 1300 fs/xfs/quota/xfs_dquot.c error = xfs_bawrite(mp, bp); error 1302 fs/xfs/quota/xfs_dquot.c error = xfs_bwrite(mp, bp); error 1308 fs/xfs/quota/xfs_dquot.c return (error); error 1475 fs/xfs/quota/xfs_dquot.c int error; error 1486 fs/xfs/quota/xfs_dquot.c error = xfs_qm_dqflush(dqp, XFS_QMOPT_SYNC); error 1487 fs/xfs/quota/xfs_dquot.c if (error) error 1574 fs/xfs/quota/xfs_dquot.c int error; error 1580 fs/xfs/quota/xfs_dquot.c error = xfs_bawrite(dqp->q_mount, bp); error 1581 fs/xfs/quota/xfs_dquot.c if (error) error 1585 fs/xfs/quota/xfs_dquot.c error, dqp, bp); error 149 fs/xfs/quota/xfs_dquot_item.c int error; error 165 fs/xfs/quota/xfs_dquot_item.c error = xfs_qm_dqflush(dqp, XFS_QMOPT_DELWRI); error 166 fs/xfs/quota/xfs_dquot_item.c if (error) error 169 fs/xfs/quota/xfs_dquot_item.c error, dqp); error 270 fs/xfs/quota/xfs_dquot_item.c int error; error 275 fs/xfs/quota/xfs_dquot_item.c error = xfs_bawrite(mp, bp); error 276 fs/xfs/quota/xfs_dquot_item.c if (error) error 279 fs/xfs/quota/xfs_dquot_item.c error, qip, bp); error 315 fs/xfs/quota/xfs_qm.c int error = 0; error 336 fs/xfs/quota/xfs_qm.c error = xfs_qm_init_quotainfo(mp); error 337 fs/xfs/quota/xfs_qm.c if (error) { error 349 fs/xfs/quota/xfs_qm.c error = xfs_qm_quotacheck(mp); error 350 fs/xfs/quota/xfs_qm.c if (error) { error 389 fs/xfs/quota/xfs_qm.c if (error) { error 404 fs/xfs/quota/xfs_qm.c int error = 0; error 425 fs/xfs/quota/xfs_qm.c error = xfs_iflush(uqp, XFS_IFLUSH_SYNC); error 427 fs/xfs/quota/xfs_qm.c if (unlikely(error == EFSCORRUPTED)) { error 436 fs/xfs/quota/xfs_qm.c error = xfs_iflush(gqp, XFS_IFLUSH_SYNC); error 438 fs/xfs/quota/xfs_qm.c if (unlikely(error == EFSCORRUPTED)) { error 454 fs/xfs/quota/xfs_qm.c return XFS_ERROR(error); error 469 fs/xfs/quota/xfs_qm.c int error; error 500 fs/xfs/quota/xfs_qm.c error = xfs_qm_dqflush(dqp, flags); error 502 fs/xfs/quota/xfs_qm.c if (error) error 503 fs/xfs/quota/xfs_qm.c return error; error 669 fs/xfs/quota/xfs_qm.c int error; error 672 fs/xfs/quota/xfs_qm.c error = 0; error 730 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_dqget(ip->i_mount, ip, id, type, error 766 fs/xfs/quota/xfs_qm.c if (! error) { error 771 fs/xfs/quota/xfs_qm.c return error; error 866 fs/xfs/quota/xfs_qm.c int error = 0; error 881 fs/xfs/quota/xfs_qm.c error = xfs_qm_dqattach_one(ip, ip->i_d.di_uid, XFS_DQ_USER, error 885 fs/xfs/quota/xfs_qm.c if (error) error 892 fs/xfs/quota/xfs_qm.c error = XFS_IS_GQUOTA_ON(mp) ? error 905 fs/xfs/quota/xfs_qm.c if (error) error 937 fs/xfs/quota/xfs_qm.c if (! error) { error 960 fs/xfs/quota/xfs_qm.c return error; error 1007 fs/xfs/quota/xfs_qm.c int error; error 1085 fs/xfs/quota/xfs_qm.c error = xfs_qm_dqflush(dqp, flush_flags); error 1087 fs/xfs/quota/xfs_qm.c if (error && XFS_FORCED_SHUTDOWN(mp)) error 1089 fs/xfs/quota/xfs_qm.c else if (error) error 1090 fs/xfs/quota/xfs_qm.c return error; error 1116 fs/xfs/quota/xfs_qm.c int error; error 1124 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_hold_quotafs_ref(mp))) { error 1125 fs/xfs/quota/xfs_qm.c return error; error 1134 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_init_quotainos(mp))) { error 1137 fs/xfs/quota/xfs_qm.c return error; error 1163 fs/xfs/quota/xfs_qm.c error = xfs_qm_dqget(mp, NULL, (xfs_dqid_t)0, error 1169 fs/xfs/quota/xfs_qm.c if (! error) { error 1289 fs/xfs/quota/xfs_qm.c int error; error 1303 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_dqget(mp, ip, ip->i_d.di_uid, XFS_DQ_USER, error 1309 fs/xfs/quota/xfs_qm.c ASSERT(error != ESRCH); error 1310 fs/xfs/quota/xfs_qm.c ASSERT(error != ENOENT); error 1311 fs/xfs/quota/xfs_qm.c return error; error 1320 fs/xfs/quota/xfs_qm.c error = XFS_IS_GQUOTA_ON(mp) ? error 1329 fs/xfs/quota/xfs_qm.c if (error) { error 1332 fs/xfs/quota/xfs_qm.c ASSERT(error != ESRCH); error 1333 fs/xfs/quota/xfs_qm.c ASSERT(error != ENOENT); error 1334 fs/xfs/quota/xfs_qm.c return error; error 1370 fs/xfs/quota/xfs_qm.c int error; error 1374 fs/xfs/quota/xfs_qm.c if ((error = xfs_trans_reserve(tp, error 1380 fs/xfs/quota/xfs_qm.c return error; error 1383 fs/xfs/quota/xfs_qm.c if ((error = xfs_dir_ialloc(&tp, NULL, S_IFREG, 1, 0, error 1387 fs/xfs/quota/xfs_qm.c return error; error 1432 fs/xfs/quota/xfs_qm.c if ((error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES))) { error 1434 fs/xfs/quota/xfs_qm.c return error; error 1491 fs/xfs/quota/xfs_qm.c int error; error 1502 fs/xfs/quota/xfs_qm.c error = 0; error 1514 fs/xfs/quota/xfs_qm.c error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, error 1517 fs/xfs/quota/xfs_qm.c if (error) error 1528 fs/xfs/quota/xfs_qm.c return error; error 1543 fs/xfs/quota/xfs_qm.c int error; /* return value */ error 1550 fs/xfs/quota/xfs_qm.c error = 0; error 1571 fs/xfs/quota/xfs_qm.c error = xfs_bmapi(NULL, qip, lblkno, error 1577 fs/xfs/quota/xfs_qm.c if (error) error 1611 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_dqiter_bufs(mp, error 1620 fs/xfs/quota/xfs_qm.c if (error) error 1626 fs/xfs/quota/xfs_qm.c return error; error 1679 fs/xfs/quota/xfs_qm.c int error; error 1684 fs/xfs/quota/xfs_qm.c if ((error = xfs_iread_extents(NULL, ip, XFS_DATA_FORK))) error 1685 fs/xfs/quota/xfs_qm.c return error; error 1715 fs/xfs/quota/xfs_qm.c int error; error 1734 fs/xfs/quota/xfs_qm.c if ((error = xfs_iget(mp, NULL, ino, 0, XFS_ILOCK_EXCL, &ip, bno))) { error 1736 fs/xfs/quota/xfs_qm.c return error; error 1745 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_dqget_noattach(ip, &udqp, &gdqp))) { error 1748 fs/xfs/quota/xfs_qm.c return error; error 1758 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_get_rtblks(ip, &rtblks))) { error 1765 fs/xfs/quota/xfs_qm.c return error; error 1821 fs/xfs/quota/xfs_qm.c int done, count, error; error 1849 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_dqiterate(mp, uip, XFS_QMOPT_UQUOTA))) error 1855 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_dqiterate(mp, gip, XFS_IS_GQUOTA_ON(mp) ? error 1866 fs/xfs/quota/xfs_qm.c if ((error = xfs_bulkstat(mp, &lastino, &count, error 1878 fs/xfs/quota/xfs_qm.c if (!error) error 1879 fs/xfs/quota/xfs_qm.c error = xfs_qm_dqflush_all(mp, XFS_QMOPT_DELWRI); error 1888 fs/xfs/quota/xfs_qm.c if (error) { error 1913 fs/xfs/quota/xfs_qm.c if (error) { error 1916 fs/xfs/quota/xfs_qm.c mp->m_fsname, error); error 1930 fs/xfs/quota/xfs_qm.c return (error); error 1942 fs/xfs/quota/xfs_qm.c int error; error 1958 fs/xfs/quota/xfs_qm.c if ((error = xfs_iget(mp, NULL, mp->m_sb.sb_uquotino, error 1960 fs/xfs/quota/xfs_qm.c return XFS_ERROR(error); error 1965 fs/xfs/quota/xfs_qm.c if ((error = xfs_iget(mp, NULL, mp->m_sb.sb_gquotino, error 1969 fs/xfs/quota/xfs_qm.c return XFS_ERROR(error); error 1985 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_qino_alloc(mp, &uip, error 1988 fs/xfs/quota/xfs_qm.c return XFS_ERROR(error); error 1995 fs/xfs/quota/xfs_qm.c error = xfs_qm_qino_alloc(mp, &gip, error 1997 fs/xfs/quota/xfs_qm.c if (error) { error 2001 fs/xfs/quota/xfs_qm.c return XFS_ERROR(error); error 2093 fs/xfs/quota/xfs_qm.c int error; error 2099 fs/xfs/quota/xfs_qm.c error = xfs_qm_dqflush(dqp, XFS_QMOPT_DELWRI); error 2100 fs/xfs/quota/xfs_qm.c if (error) { error 2270 fs/xfs/quota/xfs_qm.c int error; error 2276 fs/xfs/quota/xfs_qm.c error = xfs_qm_dqflush(dqp, XFS_QMOPT_DELWRI); error 2277 fs/xfs/quota/xfs_qm.c if (error) { error 2373 fs/xfs/quota/xfs_qm.c int error; error 2379 fs/xfs/quota/xfs_qm.c if ((error = xfs_trans_reserve(tp, 0, error 2384 fs/xfs/quota/xfs_qm.c return error; error 2388 fs/xfs/quota/xfs_qm.c error = xfs_trans_commit(tp, 0); error 2390 fs/xfs/quota/xfs_qm.c return error; error 2418 fs/xfs/quota/xfs_qm.c int error; error 2436 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_dqattach(ip, XFS_QMOPT_DQALLOC | error 2439 fs/xfs/quota/xfs_qm.c return error; error 2456 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_dqget(mp, NULL, (xfs_dqid_t) uid, error 2461 fs/xfs/quota/xfs_qm.c ASSERT(error != ENOENT); error 2462 fs/xfs/quota/xfs_qm.c return error; error 2485 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_dqget(mp, NULL, (xfs_dqid_t)gid, error 2492 fs/xfs/quota/xfs_qm.c ASSERT(error != ENOENT); error 2493 fs/xfs/quota/xfs_qm.c return error; error 2508 fs/xfs/quota/xfs_qm.c if ((error = xfs_qm_dqget(mp, NULL, (xfs_dqid_t)prid, error 2515 fs/xfs/quota/xfs_qm.c ASSERT(error != ENOENT); error 2516 fs/xfs/quota/xfs_qm.c return (error); error 2598 fs/xfs/quota/xfs_qm.c int error; error 2641 fs/xfs/quota/xfs_qm.c if ((error = xfs_trans_reserve_quota_bydquots(tp, ip->i_mount, error 2644 fs/xfs/quota/xfs_qm.c return (error); error 2658 fs/xfs/quota/xfs_qm.c if ((error = xfs_trans_reserve_quota_bydquots(NULL, ip->i_mount, error 2661 fs/xfs/quota/xfs_qm.c return (error); error 2676 fs/xfs/quota/xfs_qm.c int error; error 2684 fs/xfs/quota/xfs_qm.c error = xfs_qm_dqattach(ip, 0); error 2685 fs/xfs/quota/xfs_qm.c if (error) error 2686 fs/xfs/quota/xfs_qm.c return error; error 2694 fs/xfs/quota/xfs_qm.c error = xfs_qm_dqattach(ip, 0); error 2695 fs/xfs/quota/xfs_qm.c if (error) error 2696 fs/xfs/quota/xfs_qm.c return error; error 89 fs/xfs/quota/xfs_qm_syscalls.c int error; error 143 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_qm_scall_quotaoff(mp, error 149 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_qm_scall_getquota(mp, (xfs_dqid_t)id, XFS_DQ_USER, error 153 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_qm_scall_getquota(mp, (xfs_dqid_t)id, XFS_DQ_GROUP, error 157 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_qm_scall_getquota(mp, (xfs_dqid_t)id, XFS_DQ_PROJ, error 164 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_qm_scall_setqlim(mp, (xfs_dqid_t)id, XFS_DQ_USER, error 170 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_qm_scall_setqlim(mp, (xfs_dqid_t)id, XFS_DQ_GROUP, error 176 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_qm_scall_setqlim(mp, (xfs_dqid_t)id, XFS_DQ_PROJ, error 181 fs/xfs/quota/xfs_qm_syscalls.c error = XFS_ERROR(EINVAL); error 185 fs/xfs/quota/xfs_qm_syscalls.c return (error); error 203 fs/xfs/quota/xfs_qm_syscalls.c int error; error 217 fs/xfs/quota/xfs_qm_syscalls.c error = 0; error 245 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_qm_write_sb_changes(mp, XFS_SB_QFLAGS); error 246 fs/xfs/quota/xfs_qm_syscalls.c return (error); error 285 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_qm_log_quotaoff(mp, &qoffstart, flags); error 286 fs/xfs/quota/xfs_qm_syscalls.c if (error) error 343 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_qm_log_quotaoff_end(mp, qoffstart, flags); error 344 fs/xfs/quota/xfs_qm_syscalls.c if (error) { error 375 fs/xfs/quota/xfs_qm_syscalls.c return (error); error 383 fs/xfs/quota/xfs_qm_syscalls.c int error = 0, error2 = 0; error 394 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_iget(mp, NULL, mp->m_sb.sb_uquotino, 0, 0, &qip, 0); error 395 fs/xfs/quota/xfs_qm_syscalls.c if (!error) { error 396 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_truncate_file(mp, qip); error 410 fs/xfs/quota/xfs_qm_syscalls.c return error ? error : error2; error 424 fs/xfs/quota/xfs_qm_syscalls.c int error; error 489 fs/xfs/quota/xfs_qm_syscalls.c if ((error = xfs_qm_write_sb_changes(mp, sbflags))) error 490 fs/xfs/quota/xfs_qm_syscalls.c return (error); error 595 fs/xfs/quota/xfs_qm_syscalls.c int error; error 606 fs/xfs/quota/xfs_qm_syscalls.c if ((error = xfs_trans_reserve(tp, 0, sizeof(xfs_disk_dquot_t) + 128, error 609 fs/xfs/quota/xfs_qm_syscalls.c return (error); error 624 fs/xfs/quota/xfs_qm_syscalls.c if ((error = xfs_qm_dqget(mp, NULL, id, type, XFS_QMOPT_DQALLOC, &dqp))) { error 627 fs/xfs/quota/xfs_qm_syscalls.c ASSERT(error != ENOENT); error 628 fs/xfs/quota/xfs_qm_syscalls.c return (error); error 737 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_trans_commit(tp, 0); error 742 fs/xfs/quota/xfs_qm_syscalls.c return error; error 753 fs/xfs/quota/xfs_qm_syscalls.c int error; error 760 fs/xfs/quota/xfs_qm_syscalls.c if ((error = xfs_qm_dqget(mp, NULL, id, type, 0, &dqp))) { error 761 fs/xfs/quota/xfs_qm_syscalls.c return (error); error 779 fs/xfs/quota/xfs_qm_syscalls.c return (error ? XFS_ERROR(EFAULT) : 0); error 790 fs/xfs/quota/xfs_qm_syscalls.c int error; error 795 fs/xfs/quota/xfs_qm_syscalls.c if ((error = xfs_trans_reserve(tp, 0, sizeof(xfs_qoff_logitem_t) * 2, error 798 fs/xfs/quota/xfs_qm_syscalls.c return (error); error 811 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_trans_commit(tp, 0); error 812 fs/xfs/quota/xfs_qm_syscalls.c return (error); error 823 fs/xfs/quota/xfs_qm_syscalls.c int error; error 828 fs/xfs/quota/xfs_qm_syscalls.c if ((error = xfs_trans_reserve(tp, 0, error 853 fs/xfs/quota/xfs_qm_syscalls.c error = xfs_trans_commit(tp, 0); error 856 fs/xfs/quota/xfs_qm_syscalls.c if (error) { error 867 fs/xfs/quota/xfs_qm_syscalls.c return (error); error 1202 fs/xfs/quota/xfs_qm_syscalls.c if (error) error 1204 fs/xfs/quota/xfs_qm_syscalls.c d->d_id, error, reason); error 1265 fs/xfs/quota/xfs_qm_syscalls.c int error; error 1268 fs/xfs/quota/xfs_qm_syscalls.c if ((error = xfs_qm_dqget(d->q_mount, NULL, d->d_id, d->dq_flags, 0, error 1270 fs/xfs/quota/xfs_qm_syscalls.c xfs_qm_dqtest_failed(d, NULL, "dqget failed", 0, 0, error); error 1349 fs/xfs/quota/xfs_qm_syscalls.c int error; error 1364 fs/xfs/quota/xfs_qm_syscalls.c if ((error = xfs_iget(mp, NULL, ino, 0, lock_flags, &ip, bno))) { error 1366 fs/xfs/quota/xfs_qm_syscalls.c return (error); error 1409 fs/xfs/quota/xfs_qm_syscalls.c int error; error 1437 fs/xfs/quota/xfs_qm_syscalls.c if ((error = xfs_bulkstat(mp, &lastino, &count, error 1443 fs/xfs/quota/xfs_qm_syscalls.c if (error) { error 1444 fs/xfs/quota/xfs_qm_syscalls.c cmn_err(CE_DEBUG, "Bulkstat returned error 0x%x", error); error 617 fs/xfs/quota/xfs_trans_dquot.c int error; error 655 fs/xfs/quota/xfs_trans_dquot.c error = 0; error 674 fs/xfs/quota/xfs_trans_dquot.c error = xfs_quota_error(flags); error 682 fs/xfs/quota/xfs_trans_dquot.c error = xfs_quota_error(flags); error 699 fs/xfs/quota/xfs_trans_dquot.c error = xfs_quota_error(flags); error 704 fs/xfs/quota/xfs_trans_dquot.c error = xfs_quota_error(flags); error 746 fs/xfs/quota/xfs_trans_dquot.c return (error); error 773 fs/xfs/quota/xfs_trans_dquot.c int resvd = 0, error; error 784 fs/xfs/quota/xfs_trans_dquot.c error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, error 786 fs/xfs/quota/xfs_trans_dquot.c if (error) error 787 fs/xfs/quota/xfs_trans_dquot.c return error; error 792 fs/xfs/quota/xfs_trans_dquot.c error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); error 793 fs/xfs/quota/xfs_trans_dquot.c if (error) { error 802 fs/xfs/quota/xfs_trans_dquot.c return error; error 827 fs/xfs/quota/xfs_trans_dquot.c int error; error 847 fs/xfs/quota/xfs_trans_dquot.c error = xfs_trans_reserve_quota_bydquots(tp, mp, error 851 fs/xfs/quota/xfs_trans_dquot.c return error; error 60 fs/xfs/xfs_acl.c int error; error 62 fs/xfs/xfs_acl.c xfs_acl_get_attr(vp, NULL, _ACL_TYPE_ACCESS, ATTR_KERNOVAL, &error); error 63 fs/xfs/xfs_acl.c return (error == 0); error 73 fs/xfs/xfs_acl.c int error; error 77 fs/xfs/xfs_acl.c xfs_acl_get_attr(vp, NULL, _ACL_TYPE_DEFAULT, ATTR_KERNOVAL, &error); error 78 fs/xfs/xfs_acl.c return (error == 0); error 215 fs/xfs/xfs_acl.c int error; error 222 fs/xfs/xfs_acl.c error = ENOMEM; error 229 fs/xfs/xfs_acl.c xfs_acl_get_attr(vp, xfs_acl, kind, flags, &error); error 230 fs/xfs/xfs_acl.c if (error) error 234 fs/xfs/xfs_acl.c error = -posix_acl_xattr_size(XFS_ACL_MAX_ENTRIES); error 237 fs/xfs/xfs_acl.c error = EINVAL; error 242 fs/xfs/xfs_acl.c error = -posix_acl_xfs_to_xattr(xfs_acl, ext_acl, size); error 247 fs/xfs/xfs_acl.c return -error; error 255 fs/xfs/xfs_acl.c int error; error 257 fs/xfs/xfs_acl.c error = xfs_acl_allow_set(vp, kind); error 258 fs/xfs/xfs_acl.c if (!error) { error 259 fs/xfs/xfs_acl.c error = xfs_attr_remove(XFS_I(vp), error 263 fs/xfs/xfs_acl.c if (error == ENOATTR) error 264 fs/xfs/xfs_acl.c error = 0; /* 'scool */ error 266 fs/xfs/xfs_acl.c return -error; error 278 fs/xfs/xfs_acl.c int error; error 287 fs/xfs/xfs_acl.c error = posix_acl_xattr_to_xfs(ext_acl, size, xfs_acl); error 288 fs/xfs/xfs_acl.c if (error) { error 290 fs/xfs/xfs_acl.c return -error; error 297 fs/xfs/xfs_acl.c error = xfs_acl_allow_set(vp, kind); error 300 fs/xfs/xfs_acl.c if (!error && kind == _ACL_TYPE_ACCESS) error 301 fs/xfs/xfs_acl.c error = xfs_acl_setmode(vp, xfs_acl, &basicperms); error 303 fs/xfs/xfs_acl.c if (error) error 313 fs/xfs/xfs_acl.c xfs_acl_set_attr(vp, xfs_acl, kind, &error); error 315 fs/xfs/xfs_acl.c error = -xfs_acl_vremove(vp, _ACL_TYPE_ACCESS); error 320 fs/xfs/xfs_acl.c return -error; error 573 fs/xfs/xfs_acl.c *error = xfs_attr_get(XFS_I(vp), error 577 fs/xfs/xfs_acl.c if (*error || (flags & ATTR_KERNOVAL)) error 597 fs/xfs/xfs_acl.c *error = ENOMEM; error 612 fs/xfs/xfs_acl.c *error = xfs_attr_set(XFS_I(vp), error 625 fs/xfs/xfs_acl.c int error = 0; error 632 fs/xfs/xfs_acl.c xfs_acl_get_attr(vp, access_acl, _ACL_TYPE_ACCESS, 0, &error); error 633 fs/xfs/xfs_acl.c if (error) error 640 fs/xfs/xfs_acl.c xfs_acl_get_attr(vp, default_acl, _ACL_TYPE_DEFAULT, 0, &error); error 641 fs/xfs/xfs_acl.c if (error) error 644 fs/xfs/xfs_acl.c return error; error 658 fs/xfs/xfs_acl.c int error = 0; error 683 fs/xfs/xfs_acl.c error = xfs_acl_setmode(vp, cacl, &basicperms); error 684 fs/xfs/xfs_acl.c if (error) error 695 fs/xfs/xfs_acl.c xfs_acl_set_attr(vp, pdaclp, _ACL_TYPE_DEFAULT, &error); error 696 fs/xfs/xfs_acl.c if (!error && !basicperms) error 697 fs/xfs/xfs_acl.c xfs_acl_set_attr(vp, cacl, _ACL_TYPE_ACCESS, &error); error 700 fs/xfs/xfs_acl.c return error; error 260 fs/xfs/xfs_alloc.c int error; /* error code */ error 272 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(cnt_cur, &nfbno1, &nflen1, &i))) error 273 fs/xfs/xfs_alloc.c return error; error 278 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) error 279 fs/xfs/xfs_alloc.c return error; error 287 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(bno_cur, &nfbno1, &nflen1, &i))) error 288 fs/xfs/xfs_alloc.c return error; error 293 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) error 294 fs/xfs/xfs_alloc.c return error; error 336 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_delete(cnt_cur, &i))) error 337 fs/xfs/xfs_alloc.c return error; error 343 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_eq(cnt_cur, nfbno1, nflen1, &i))) error 344 fs/xfs/xfs_alloc.c return error; error 346 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_insert(cnt_cur, &i))) error 347 fs/xfs/xfs_alloc.c return error; error 351 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_eq(cnt_cur, nfbno2, nflen2, &i))) error 352 fs/xfs/xfs_alloc.c return error; error 354 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_insert(cnt_cur, &i))) error 355 fs/xfs/xfs_alloc.c return error; error 365 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_delete(bno_cur, &i))) error 366 fs/xfs/xfs_alloc.c return error; error 372 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_update(bno_cur, nfbno1, nflen1))) error 373 fs/xfs/xfs_alloc.c return error; error 379 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_eq(bno_cur, nfbno2, nflen2, &i))) error 380 fs/xfs/xfs_alloc.c return error; error 382 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_insert(bno_cur, &i))) error 383 fs/xfs/xfs_alloc.c return error; error 400 fs/xfs/xfs_alloc.c int error; error 403 fs/xfs/xfs_alloc.c error = xfs_trans_read_buf( error 407 fs/xfs/xfs_alloc.c if (error) error 408 fs/xfs/xfs_alloc.c return error; error 550 fs/xfs/xfs_alloc.c int error=0; error 563 fs/xfs/xfs_alloc.c error = xfs_alloc_ag_vextent_size(args); error 566 fs/xfs/xfs_alloc.c error = xfs_alloc_ag_vextent_near(args); error 569 fs/xfs/xfs_alloc.c error = xfs_alloc_ag_vextent_exact(args); error 575 fs/xfs/xfs_alloc.c if (error) error 576 fs/xfs/xfs_alloc.c return error; error 630 fs/xfs/xfs_alloc.c int error; error 650 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_le(bno_cur, args->agbno, args->minlen, &i))) error 663 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(bno_cur, &fbno, &flen, &i))) error 703 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, error 717 fs/xfs/xfs_alloc.c return error; error 739 fs/xfs/xfs_alloc.c int error; /* error code */ error 769 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_ge(cnt_cur, 0, args->maxlen, &i))) error 776 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_ag_vextent_small(args, cnt_cur, <bno, error 815 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(cnt_cur, <bno, error 821 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_increment(cnt_cur, 0, &i))) error 830 fs/xfs/xfs_alloc.c !error && j && (blen < args->maxlen || bdiff > 0); error 831 fs/xfs/xfs_alloc.c error = xfs_alloc_increment(cnt_cur, 0, &j)) { error 836 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(cnt_cur, <bno, <len, &i))) error 868 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(cnt_cur, <bno, <len, &i))) error 894 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur_lt, ltbno, error 922 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_le(bno_cur_lt, args->agbno, args->maxlen, &i))) error 935 fs/xfs/xfs_alloc.c else if ((error = xfs_btree_dup_cursor(bno_cur_lt, &bno_cur_gt))) error 941 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_increment(bno_cur_gt, 0, &i))) error 957 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(bno_cur_lt, <bno, <len, &i))) error 964 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_decrement(bno_cur_lt, 0, &i))) error 973 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(bno_cur_gt, >bno, >len, &i))) error 980 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_increment(bno_cur_gt, 0, &i))) error 1014 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec( error 1069 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_increment( error 1111 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec( error 1165 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_decrement( error 1229 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur_lt, ltbno, ltlen, error 1245 fs/xfs/xfs_alloc.c return error; error 1260 fs/xfs/xfs_alloc.c int error; /* error result */ error 1276 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_ge(cnt_cur, 0, error 1284 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_ag_vextent_small(args, cnt_cur, &fbno, error 1298 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, &i))) error 1324 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_decrement(cnt_cur, 0, &i))) error 1328 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, error 1349 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_eq(cnt_cur, bestfbno, bestflen, error 1377 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, error 1398 fs/xfs/xfs_alloc.c return error; error 1414 fs/xfs/xfs_alloc.c int error; error 1419 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_decrement(ccur, 0, &i))) error 1422 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(ccur, &fbno, &flen, &i))) error 1434 fs/xfs/xfs_alloc.c error = xfs_alloc_get_freelist(args->tp, args->agbp, &fbno, 0); error 1435 fs/xfs/xfs_alloc.c if (error) error 1485 fs/xfs/xfs_alloc.c return error; error 1502 fs/xfs/xfs_alloc.c int error; /* error return value */ error 1525 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_le(bno_cur, bno, len, &haveleft))) error 1531 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(bno_cur, <bno, <len, &i))) error 1552 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_increment(bno_cur, 0, &haveright))) error 1558 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(bno_cur, >bno, >len, &i))) error 1588 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_eq(cnt_cur, ltbno, ltlen, &i))) error 1591 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_delete(cnt_cur, &i))) error 1597 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_eq(cnt_cur, gtbno, gtlen, &i))) error 1600 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_delete(cnt_cur, &i))) error 1606 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_delete(bno_cur, &i))) error 1612 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_decrement(bno_cur, 0, &i))) error 1624 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_get_rec(bno_cur, &xxbno, &xxlen, error 1637 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_update(bno_cur, nbno, nlen))) error 1648 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_eq(cnt_cur, ltbno, ltlen, &i))) error 1651 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_delete(cnt_cur, &i))) error 1658 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_decrement(bno_cur, 0, &i))) error 1663 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_update(bno_cur, nbno, nlen))) error 1674 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_eq(cnt_cur, gtbno, gtlen, &i))) error 1677 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_delete(cnt_cur, &i))) error 1686 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_update(bno_cur, nbno, nlen))) error 1696 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_insert(bno_cur, &i))) error 1705 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_lookup_eq(cnt_cur, nbno, nlen, &i))) error 1708 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_insert(cnt_cur, &i))) error 1761 fs/xfs/xfs_alloc.c return error; error 1805 fs/xfs/xfs_alloc.c int error; /* error result code */ error 1818 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_read_agf(mp, tp, args->agno, flags, error 1820 fs/xfs/xfs_alloc.c return error; error 1868 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_read_agf(mp, tp, args->agno, flags, error 1870 fs/xfs/xfs_alloc.c return error; error 1908 fs/xfs/xfs_alloc.c error = xfs_alloc_get_freelist(tp, agbp, &bno, 0); error 1909 fs/xfs/xfs_alloc.c if (error) error 1910 fs/xfs/xfs_alloc.c return error; error 1911 fs/xfs/xfs_alloc.c if ((error = xfs_free_ag_extent(tp, agbp, args->agno, bno, 1, 1))) error 1912 fs/xfs/xfs_alloc.c return error; error 1928 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_read_agfl(mp, tp, targs.agno, &agflbp))) error 1929 fs/xfs/xfs_alloc.c return error; error 1939 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_ag_vextent(&targs))) { error 1941 fs/xfs/xfs_alloc.c return error; error 1959 fs/xfs/xfs_alloc.c error = xfs_alloc_put_freelist(tp, agbp, error 1961 fs/xfs/xfs_alloc.c if (error) error 1962 fs/xfs/xfs_alloc.c return error; error 1985 fs/xfs/xfs_alloc.c int error; error 2002 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_read_agfl(mp, tp, error 2004 fs/xfs/xfs_alloc.c return error; error 2084 fs/xfs/xfs_alloc.c int error; error 2086 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_read_agf(mp, tp, agno, flags, &bp))) error 2087 fs/xfs/xfs_alloc.c return error; error 2107 fs/xfs/xfs_alloc.c int error; error 2115 fs/xfs/xfs_alloc.c if (!agflbp && (error = xfs_alloc_read_agfl(mp, tp, error 2117 fs/xfs/xfs_alloc.c return error; error 2164 fs/xfs/xfs_alloc.c int error; error 2167 fs/xfs/xfs_alloc.c error = xfs_trans_read_buf( error 2173 fs/xfs/xfs_alloc.c if (error) error 2174 fs/xfs/xfs_alloc.c return error; error 2239 fs/xfs/xfs_alloc.c int error; error 2288 fs/xfs/xfs_alloc.c error = xfs_alloc_fix_freelist(args, 0); error 2290 fs/xfs/xfs_alloc.c if (error) { error 2300 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_ag_vextent(args))) error 2358 fs/xfs/xfs_alloc.c error = xfs_alloc_fix_freelist(args, flags); error 2360 fs/xfs/xfs_alloc.c if (error) { error 2368 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_ag_vextent(args))) error 2443 fs/xfs/xfs_alloc.c return error; error 2458 fs/xfs/xfs_alloc.c int error; error 2469 fs/xfs/xfs_alloc.c if ((error = xfs_alloc_fix_freelist(&args, XFS_ALLOC_FLAG_FREEING))) error 2476 fs/xfs/xfs_alloc.c error = xfs_free_ag_extent(tp, args.agbp, args.agno, args.agbno, len, 0); error 2479 fs/xfs/xfs_alloc.c return error; error 77 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 113 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, level, bp))) error 114 fs/xfs/xfs_alloc_btree.c return error; error 135 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(lpp[i]), level))) error 136 fs/xfs/xfs_alloc_btree.c return error; error 229 fs/xfs/xfs_alloc_btree.c error = xfs_alloc_put_freelist(cur->bc_tp, error 231 fs/xfs/xfs_alloc_btree.c if (error) error 232 fs/xfs/xfs_alloc_btree.c return error; error 259 fs/xfs/xfs_alloc_btree.c (error = xfs_alloc_decrement(cur, level, &i))) error 260 fs/xfs/xfs_alloc_btree.c return error; error 268 fs/xfs/xfs_alloc_btree.c if (ptr == 1 && (error = xfs_alloc_updkey(cur, lkp, level + 1))) error 269 fs/xfs/xfs_alloc_btree.c return error; error 275 fs/xfs/xfs_alloc_btree.c if (level > 0 && (error = xfs_alloc_decrement(cur, level, &i))) error 276 fs/xfs/xfs_alloc_btree.c return error; error 293 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_dup_cursor(cur, &tcur))) error 294 fs/xfs/xfs_alloc_btree.c return error; error 306 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_increment(tcur, level, &i))) error 317 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, right, level, rbp))) error 331 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_lshift(tcur, level, &i))) error 339 fs/xfs/xfs_alloc_btree.c (error = xfs_alloc_decrement(cur, level, error 341 fs/xfs/xfs_alloc_btree.c return error; error 355 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_decrement(tcur, level, &i))) error 371 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_decrement(tcur, level, &i))) error 381 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, left, level, lbp))) error 395 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_rshift(tcur, level, &i))) error 435 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_read_bufs(mp, cur->bc_tp, error 438 fs/xfs/xfs_alloc_btree.c return error; error 441 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, left, level, lbp))) error 442 fs/xfs/xfs_alloc_btree.c return error; error 457 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_read_bufs(mp, cur->bc_tp, error 460 fs/xfs/xfs_alloc_btree.c return error; error 463 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, right, level, rbp))) error 464 fs/xfs/xfs_alloc_btree.c return error; error 471 fs/xfs/xfs_alloc_btree.c if (level > 0 && (error = xfs_alloc_decrement(cur, level, &i))) error 472 fs/xfs/xfs_alloc_btree.c return error; error 490 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(rpp[i]), level))) error 491 fs/xfs/xfs_alloc_btree.c return error; error 520 fs/xfs/xfs_alloc_btree.c (error = xfs_alloc_increment(cur, level + 1, &i))) error 521 fs/xfs/xfs_alloc_btree.c return error; error 540 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_read_bufs(mp, cur->bc_tp, error 543 fs/xfs/xfs_alloc_btree.c return error; error 545 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, rrblock, level, rrbp))) error 546 fs/xfs/xfs_alloc_btree.c return error; error 553 fs/xfs/xfs_alloc_btree.c error = xfs_alloc_put_freelist(cur->bc_tp, error 555 fs/xfs/xfs_alloc_btree.c if (error) error 556 fs/xfs/xfs_alloc_btree.c return error; error 587 fs/xfs/xfs_alloc_btree.c return error; error 606 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 635 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_newroot(cur, &i))) error 636 fs/xfs/xfs_alloc_btree.c return error; error 662 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, level, bp))) error 663 fs/xfs/xfs_alloc_btree.c return error; error 687 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_rshift(cur, level, &i))) error 688 fs/xfs/xfs_alloc_btree.c return error; error 696 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_lshift(cur, level, &i))) error 697 fs/xfs/xfs_alloc_btree.c return error; error 707 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_split(cur, level, &nbno, error 709 fs/xfs/xfs_alloc_btree.c return error; error 714 fs/xfs/xfs_alloc_btree.c if ((error = error 717 fs/xfs/xfs_alloc_btree.c return error; error 747 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(pp[i - 1]), level))) error 748 fs/xfs/xfs_alloc_btree.c return error; error 756 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sptr(cur, *bnop, level))) error 757 fs/xfs/xfs_alloc_btree.c return error; error 801 fs/xfs/xfs_alloc_btree.c if (optr == 1 && (error = xfs_alloc_updkey(cur, &key, level + 1))) error 802 fs/xfs/xfs_alloc_btree.c return error; error 954 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 998 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_read_bufs(mp, cur->bc_tp, agno, error 1000 fs/xfs/xfs_alloc_btree.c return error; error 1006 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, level, error 1008 fs/xfs/xfs_alloc_btree.c return error; error 1115 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sptr(cur, agbno, level))) error 1116 fs/xfs/xfs_alloc_btree.c return error; error 1137 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_increment(cur, 0, &i))) error 1138 fs/xfs/xfs_alloc_btree.c return error; error 1167 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 1187 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, right, level, rbp))) error 1188 fs/xfs/xfs_alloc_btree.c return error; error 1208 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_read_bufs(cur->bc_mp, cur->bc_tp, error 1211 fs/xfs/xfs_alloc_btree.c return error; error 1213 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, left, level, lbp))) error 1214 fs/xfs/xfs_alloc_btree.c return error; error 1237 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(*rpp), level))) error 1238 fs/xfs/xfs_alloc_btree.c return error; error 1269 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(rpp[i + 1]), error 1271 fs/xfs/xfs_alloc_btree.c return error; error 1288 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_updkey(cur, rkp, level + 1))) error 1289 fs/xfs/xfs_alloc_btree.c return error; error 1306 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 1325 fs/xfs/xfs_alloc_btree.c error = xfs_alloc_get_freelist(cur->bc_tp, error 1327 fs/xfs/xfs_alloc_btree.c if (error) error 1328 fs/xfs/xfs_alloc_btree.c return error; error 1364 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, left, cur->bc_nlevels - 1, lbp))) error 1365 fs/xfs/xfs_alloc_btree.c return error; error 1373 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_read_bufs(mp, cur->bc_tp, error 1376 fs/xfs/xfs_alloc_btree.c return error; error 1378 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, right, error 1380 fs/xfs/xfs_alloc_btree.c return error; error 1390 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_read_bufs(mp, cur->bc_tp, error 1393 fs/xfs/xfs_alloc_btree.c return error; error 1395 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, left, error 1397 fs/xfs/xfs_alloc_btree.c return error; error 1463 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 1479 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, left, level, lbp))) error 1480 fs/xfs/xfs_alloc_btree.c return error; error 1500 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_read_bufs(cur->bc_mp, cur->bc_tp, error 1503 fs/xfs/xfs_alloc_btree.c return error; error 1505 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, right, level, rbp))) error 1506 fs/xfs/xfs_alloc_btree.c return error; error 1529 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(rpp[i]), level))) error 1530 fs/xfs/xfs_alloc_btree.c return error; error 1536 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(*lpp), level))) error 1537 fs/xfs/xfs_alloc_btree.c return error; error 1569 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_dup_cursor(cur, &tcur))) error 1570 fs/xfs/xfs_alloc_btree.c return error; error 1573 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_increment(tcur, level, &i)) || error 1574 fs/xfs/xfs_alloc_btree.c (error = xfs_alloc_updkey(tcur, rkp, level + 1))) error 1581 fs/xfs/xfs_alloc_btree.c return error; error 1597 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 1610 fs/xfs/xfs_alloc_btree.c error = xfs_alloc_get_freelist(cur->bc_tp, error 1612 fs/xfs/xfs_alloc_btree.c if (error) error 1613 fs/xfs/xfs_alloc_btree.c return error; error 1631 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, left, level, lbp))) error 1632 fs/xfs/xfs_alloc_btree.c return error; error 1663 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(lpp[i]), level))) error 1664 fs/xfs/xfs_alloc_btree.c return error; error 1706 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_read_bufs(cur->bc_mp, cur->bc_tp, error 1709 fs/xfs/xfs_alloc_btree.c return error; error 1711 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, rrblock, level, rrbp))) error 1712 fs/xfs/xfs_alloc_btree.c return error; error 1730 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_dup_cursor(cur, curp))) error 1731 fs/xfs/xfs_alloc_btree.c return error; error 1760 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 1767 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, level, bp))) error 1768 fs/xfs/xfs_alloc_btree.c return error; error 1793 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 1814 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, level, error 1816 fs/xfs/xfs_alloc_btree.c return error; error 1851 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_read_bufs(cur->bc_mp, cur->bc_tp, error 1854 fs/xfs/xfs_alloc_btree.c return error; error 1858 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, lev, bp))) error 1859 fs/xfs/xfs_alloc_btree.c return error; error 1876 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 1886 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_delrec(cur, level, &i))) error 1887 fs/xfs/xfs_alloc_btree.c return error; error 1892 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_decrement(cur, level, &i))) error 1893 fs/xfs/xfs_alloc_btree.c return error; error 1914 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 1921 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, 0, cur->bc_bufs[0]))) error 1922 fs/xfs/xfs_alloc_btree.c return error; error 1957 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 1971 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, level, bp))) error 1972 fs/xfs/xfs_alloc_btree.c return error; error 1997 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, lev, bp))) error 1998 fs/xfs/xfs_alloc_btree.c return error; error 2021 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_read_bufs(cur->bc_mp, cur->bc_tp, error 2024 fs/xfs/xfs_alloc_btree.c return error; error 2028 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, lev, bp))) error 2029 fs/xfs/xfs_alloc_btree.c return error; error 2045 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 2069 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_insrec(pcur, level++, &nbno, &nrec, &ncur, error 2073 fs/xfs/xfs_alloc_btree.c return error; error 2154 fs/xfs/xfs_alloc_btree.c int error; /* error return value */ error 2163 fs/xfs/xfs_alloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, 0, cur->bc_bufs[0]))) error 2164 fs/xfs/xfs_alloc_btree.c return error; error 2207 fs/xfs/xfs_alloc_btree.c if ((error = xfs_alloc_updkey(cur, &key, 1))) error 2208 fs/xfs/xfs_alloc_btree.c return error; error 132 fs/xfs/xfs_attr.c int error; error 154 fs/xfs/xfs_attr.c error = xfs_attr_shortform_getvalue(&args); error 156 fs/xfs/xfs_attr.c error = xfs_attr_leaf_get(&args); error 158 fs/xfs/xfs_attr.c error = xfs_attr_node_get(&args); error 166 fs/xfs/xfs_attr.c if (error == EEXIST) error 167 fs/xfs/xfs_attr.c error = 0; error 168 fs/xfs/xfs_attr.c return(error); error 179 fs/xfs/xfs_attr.c int error; error 187 fs/xfs/xfs_attr.c error = xfs_attr_name_to_xname(&xname, name); error 188 fs/xfs/xfs_attr.c if (error) error 189 fs/xfs/xfs_attr.c return error; error 192 fs/xfs/xfs_attr.c error = xfs_attr_fetch(ip, &xname, value, valuelenp, flags); error 194 fs/xfs/xfs_attr.c return(error); error 244 fs/xfs/xfs_attr.c int error, err2, committed; error 252 fs/xfs/xfs_attr.c if ((error = XFS_QM_DQATTACH(mp, dp, 0))) error 253 fs/xfs/xfs_attr.c return (error); error 263 fs/xfs/xfs_attr.c if ((error = xfs_bmap_add_attrfork(dp, sf_size, rsvd))) error 264 fs/xfs/xfs_attr.c return(error); error 306 fs/xfs/xfs_attr.c if ((error = xfs_trans_reserve(args.trans, args.total, error 310 fs/xfs/xfs_attr.c return(error); error 314 fs/xfs/xfs_attr.c error = XFS_TRANS_RESERVE_QUOTA_NBLKS(mp, args.trans, dp, args.total, 0, error 317 fs/xfs/xfs_attr.c if (error) { error 320 fs/xfs/xfs_attr.c return (error); error 344 fs/xfs/xfs_attr.c error = xfs_attr_shortform_addname(&args); error 345 fs/xfs/xfs_attr.c if (error != ENOSPC) { error 367 fs/xfs/xfs_attr.c if (!error && (flags & ATTR_KERNOTIME) == 0) { error 370 fs/xfs/xfs_attr.c return(error == 0 ? err2 : error); error 378 fs/xfs/xfs_attr.c error = xfs_attr_shortform_to_leaf(&args); error 379 fs/xfs/xfs_attr.c if (!error) { error 380 fs/xfs/xfs_attr.c error = xfs_bmap_finish(&args.trans, args.flist, error 383 fs/xfs/xfs_attr.c if (error) { error 404 fs/xfs/xfs_attr.c error = xfs_trans_roll(&args.trans, dp); error 405 fs/xfs/xfs_attr.c if (error) error 411 fs/xfs/xfs_attr.c error = xfs_attr_leaf_addname(&args); error 413 fs/xfs/xfs_attr.c error = xfs_attr_node_addname(&args); error 415 fs/xfs/xfs_attr.c if (error) { error 431 fs/xfs/xfs_attr.c error = xfs_trans_commit(args.trans, XFS_TRANS_RELEASE_LOG_RES); error 437 fs/xfs/xfs_attr.c if (!error && (flags & ATTR_KERNOTIME) == 0) { error 441 fs/xfs/xfs_attr.c return(error); error 448 fs/xfs/xfs_attr.c return(error); error 459 fs/xfs/xfs_attr.c int error; error 467 fs/xfs/xfs_attr.c error = xfs_attr_name_to_xname(&xname, name); error 468 fs/xfs/xfs_attr.c if (error) error 469 fs/xfs/xfs_attr.c return error; error 484 fs/xfs/xfs_attr.c int error; error 504 fs/xfs/xfs_attr.c if ((error = XFS_QM_DQATTACH(mp, dp, 0))) error 505 fs/xfs/xfs_attr.c return (error); error 527 fs/xfs/xfs_attr.c if ((error = xfs_trans_reserve(args.trans, error 533 fs/xfs/xfs_attr.c return(error); error 548 fs/xfs/xfs_attr.c error = XFS_ERROR(ENOATTR); error 553 fs/xfs/xfs_attr.c error = xfs_attr_shortform_remove(&args); error 554 fs/xfs/xfs_attr.c if (error) { error 558 fs/xfs/xfs_attr.c error = xfs_attr_leaf_removename(&args); error 560 fs/xfs/xfs_attr.c error = xfs_attr_node_removename(&args); error 562 fs/xfs/xfs_attr.c if (error) { error 578 fs/xfs/xfs_attr.c error = xfs_trans_commit(args.trans, XFS_TRANS_RELEASE_LOG_RES); error 584 fs/xfs/xfs_attr.c if (!error && (flags & ATTR_KERNOTIME) == 0) { error 588 fs/xfs/xfs_attr.c return(error); error 595 fs/xfs/xfs_attr.c return(error); error 604 fs/xfs/xfs_attr.c int error; error 612 fs/xfs/xfs_attr.c error = xfs_attr_name_to_xname(&xname, name); error 613 fs/xfs/xfs_attr.c if (error) error 614 fs/xfs/xfs_attr.c return error; error 629 fs/xfs/xfs_attr.c int error; error 644 fs/xfs/xfs_attr.c error = 0; error 646 fs/xfs/xfs_attr.c error = xfs_attr_shortform_list(context); error 648 fs/xfs/xfs_attr.c error = xfs_attr_leaf_list(context); error 650 fs/xfs/xfs_attr.c error = xfs_attr_node_list(context); error 656 fs/xfs/xfs_attr.c return error; error 733 fs/xfs/xfs_attr.c int error; error 770 fs/xfs/xfs_attr.c error = xfs_attr_list_int(&context); error 771 fs/xfs/xfs_attr.c ASSERT(error >= 0); error 772 fs/xfs/xfs_attr.c return error; error 780 fs/xfs/xfs_attr.c int error; error 804 fs/xfs/xfs_attr.c if ((error = xfs_trans_reserve(trans, 0, XFS_ATTRINVAL_LOG_RES(mp), 0, error 808 fs/xfs/xfs_attr.c return(error); error 824 fs/xfs/xfs_attr.c error = 0; error 827 fs/xfs/xfs_attr.c error = xfs_attr_root_inactive(&trans, dp); error 828 fs/xfs/xfs_attr.c if (error) error 838 fs/xfs/xfs_attr.c if ((error = xfs_itruncate_finish(&trans, dp, 0LL, XFS_ATTR_FORK, error 847 fs/xfs/xfs_attr.c error = xfs_trans_commit(trans, XFS_TRANS_RELEASE_LOG_RES); error 850 fs/xfs/xfs_attr.c return(error); error 855 fs/xfs/xfs_attr.c return(error); error 914 fs/xfs/xfs_attr.c int retval, error, committed, forkoff; error 921 fs/xfs/xfs_attr.c error = xfs_da_read_buf(args->trans, args->dp, args->blkno, -1, &bp, error 923 fs/xfs/xfs_attr.c if (error) error 924 fs/xfs/xfs_attr.c return(error); error 960 fs/xfs/xfs_attr.c error = xfs_attr_leaf_to_node(args); error 961 fs/xfs/xfs_attr.c if (!error) { error 962 fs/xfs/xfs_attr.c error = xfs_bmap_finish(&args->trans, args->flist, error 965 fs/xfs/xfs_attr.c if (error) { error 969 fs/xfs/xfs_attr.c return(error); error 985 fs/xfs/xfs_attr.c error = xfs_trans_roll(&args->trans, dp); error 986 fs/xfs/xfs_attr.c if (error) error 987 fs/xfs/xfs_attr.c return (error); error 992 fs/xfs/xfs_attr.c error = xfs_attr_node_addname(args); error 993 fs/xfs/xfs_attr.c return(error); error 1000 fs/xfs/xfs_attr.c error = xfs_trans_roll(&args->trans, dp); error 1001 fs/xfs/xfs_attr.c if (error) error 1002 fs/xfs/xfs_attr.c return (error); error 1011 fs/xfs/xfs_attr.c error = xfs_attr_rmtval_set(args); error 1012 fs/xfs/xfs_attr.c if (error) error 1013 fs/xfs/xfs_attr.c return(error); error 1027 fs/xfs/xfs_attr.c error = xfs_attr_leaf_flipflags(args); error 1028 fs/xfs/xfs_attr.c if (error) error 1029 fs/xfs/xfs_attr.c return(error); error 1040 fs/xfs/xfs_attr.c error = xfs_attr_rmtval_remove(args); error 1041 fs/xfs/xfs_attr.c if (error) error 1042 fs/xfs/xfs_attr.c return(error); error 1049 fs/xfs/xfs_attr.c error = xfs_da_read_buf(args->trans, args->dp, args->blkno, -1, error 1051 fs/xfs/xfs_attr.c if (error) error 1052 fs/xfs/xfs_attr.c return(error); error 1061 fs/xfs/xfs_attr.c error = xfs_attr_leaf_to_shortform(bp, args, forkoff); error 1063 fs/xfs/xfs_attr.c if (!error) { error 1064 fs/xfs/xfs_attr.c error = xfs_bmap_finish(&args->trans, error 1068 fs/xfs/xfs_attr.c if (error) { error 1072 fs/xfs/xfs_attr.c return(error); error 1090 fs/xfs/xfs_attr.c error = xfs_trans_roll(&args->trans, dp); error 1096 fs/xfs/xfs_attr.c error = xfs_attr_leaf_clearflag(args); error 1098 fs/xfs/xfs_attr.c return(error); error 1112 fs/xfs/xfs_attr.c int error, committed, forkoff; error 1119 fs/xfs/xfs_attr.c error = xfs_da_read_buf(args->trans, args->dp, args->blkno, -1, &bp, error 1121 fs/xfs/xfs_attr.c if (error) { error 1122 fs/xfs/xfs_attr.c return(error); error 1126 fs/xfs/xfs_attr.c error = xfs_attr_leaf_lookup_int(bp, args); error 1127 fs/xfs/xfs_attr.c if (error == ENOATTR) { error 1129 fs/xfs/xfs_attr.c return(error); error 1139 fs/xfs/xfs_attr.c error = xfs_attr_leaf_to_shortform(bp, args, forkoff); error 1141 fs/xfs/xfs_attr.c if (!error) { error 1142 fs/xfs/xfs_attr.c error = xfs_bmap_finish(&args->trans, args->flist, error 1145 fs/xfs/xfs_attr.c if (error) { error 1149 fs/xfs/xfs_attr.c return(error); error 1175 fs/xfs/xfs_attr.c int error; error 1178 fs/xfs/xfs_attr.c error = xfs_da_read_buf(args->trans, args->dp, args->blkno, -1, &bp, error 1180 fs/xfs/xfs_attr.c if (error) error 1181 fs/xfs/xfs_attr.c return(error); error 1184 fs/xfs/xfs_attr.c error = xfs_attr_leaf_lookup_int(bp, args); error 1185 fs/xfs/xfs_attr.c if (error != EEXIST) { error 1187 fs/xfs/xfs_attr.c return(error); error 1189 fs/xfs/xfs_attr.c error = xfs_attr_leaf_getvalue(bp, args); error 1191 fs/xfs/xfs_attr.c if (!error && (args->rmtblkno > 0) && !(args->flags & ATTR_KERNOVAL)) { error 1192 fs/xfs/xfs_attr.c error = xfs_attr_rmtval_get(args); error 1194 fs/xfs/xfs_attr.c return(error); error 1204 fs/xfs/xfs_attr.c int error; error 1208 fs/xfs/xfs_attr.c error = xfs_da_read_buf(NULL, context->dp, 0, -1, &bp, XFS_ATTR_FORK); error 1209 fs/xfs/xfs_attr.c if (error) error 1210 fs/xfs/xfs_attr.c return XFS_ERROR(error); error 1220 fs/xfs/xfs_attr.c error = xfs_attr_leaf_list_int(bp, context); error 1222 fs/xfs/xfs_attr.c return XFS_ERROR(error); error 1247 fs/xfs/xfs_attr.c int committed, retval, error; error 1265 fs/xfs/xfs_attr.c error = xfs_da_node_lookup_int(state, &retval); error 1266 fs/xfs/xfs_attr.c if (error) error 1294 fs/xfs/xfs_attr.c error = xfs_attr_leaf_to_node(args); error 1295 fs/xfs/xfs_attr.c if (!error) { error 1296 fs/xfs/xfs_attr.c error = xfs_bmap_finish(&args->trans, error 1300 fs/xfs/xfs_attr.c if (error) { error 1321 fs/xfs/xfs_attr.c error = xfs_trans_roll(&args->trans, dp); error 1322 fs/xfs/xfs_attr.c if (error) error 1335 fs/xfs/xfs_attr.c error = xfs_da_split(state); error 1336 fs/xfs/xfs_attr.c if (!error) { error 1337 fs/xfs/xfs_attr.c error = xfs_bmap_finish(&args->trans, args->flist, error 1340 fs/xfs/xfs_attr.c if (error) { error 1373 fs/xfs/xfs_attr.c error = xfs_trans_roll(&args->trans, dp); error 1374 fs/xfs/xfs_attr.c if (error) error 1384 fs/xfs/xfs_attr.c error = xfs_attr_rmtval_set(args); error 1385 fs/xfs/xfs_attr.c if (error) error 1386 fs/xfs/xfs_attr.c return(error); error 1400 fs/xfs/xfs_attr.c error = xfs_attr_leaf_flipflags(args); error 1401 fs/xfs/xfs_attr.c if (error) error 1413 fs/xfs/xfs_attr.c error = xfs_attr_rmtval_remove(args); error 1414 fs/xfs/xfs_attr.c if (error) error 1415 fs/xfs/xfs_attr.c return(error); error 1430 fs/xfs/xfs_attr.c error = xfs_da_node_lookup_int(state, &retval); error 1431 fs/xfs/xfs_attr.c if (error) error 1439 fs/xfs/xfs_attr.c error = xfs_attr_leaf_remove(blk->bp, args); error 1447 fs/xfs/xfs_attr.c error = xfs_da_join(state); error 1448 fs/xfs/xfs_attr.c if (!error) { error 1449 fs/xfs/xfs_attr.c error = xfs_bmap_finish(&args->trans, error 1453 fs/xfs/xfs_attr.c if (error) { error 1474 fs/xfs/xfs_attr.c error = xfs_trans_roll(&args->trans, dp); error 1475 fs/xfs/xfs_attr.c if (error) error 1482 fs/xfs/xfs_attr.c error = xfs_attr_leaf_clearflag(args); error 1483 fs/xfs/xfs_attr.c if (error) error 1486 fs/xfs/xfs_attr.c retval = error = 0; error 1491 fs/xfs/xfs_attr.c if (error) error 1492 fs/xfs/xfs_attr.c return(error); error 1510 fs/xfs/xfs_attr.c int retval, error, committed, forkoff; error 1525 fs/xfs/xfs_attr.c error = xfs_da_node_lookup_int(state, &retval); error 1526 fs/xfs/xfs_attr.c if (error || (retval != EEXIST)) { error 1527 fs/xfs/xfs_attr.c if (error == 0) error 1528 fs/xfs/xfs_attr.c error = retval; error 1546 fs/xfs/xfs_attr.c error = xfs_attr_fillstate(state); error 1547 fs/xfs/xfs_attr.c if (error) error 1554 fs/xfs/xfs_attr.c error = xfs_attr_leaf_setflag(args); error 1555 fs/xfs/xfs_attr.c if (error) error 1557 fs/xfs/xfs_attr.c error = xfs_attr_rmtval_remove(args); error 1558 fs/xfs/xfs_attr.c if (error) error 1565 fs/xfs/xfs_attr.c error = xfs_attr_refillstate(state); error 1566 fs/xfs/xfs_attr.c if (error) error 1583 fs/xfs/xfs_attr.c error = xfs_da_join(state); error 1584 fs/xfs/xfs_attr.c if (!error) { error 1585 fs/xfs/xfs_attr.c error = xfs_bmap_finish(&args->trans, args->flist, error 1588 fs/xfs/xfs_attr.c if (error) { error 1607 fs/xfs/xfs_attr.c error = xfs_trans_roll(&args->trans, dp); error 1608 fs/xfs/xfs_attr.c if (error) error 1624 fs/xfs/xfs_attr.c error = xfs_da_read_buf(args->trans, args->dp, 0, -1, &bp, error 1626 fs/xfs/xfs_attr.c if (error) error 1634 fs/xfs/xfs_attr.c error = xfs_attr_leaf_to_shortform(bp, args, forkoff); error 1636 fs/xfs/xfs_attr.c if (!error) { error 1637 fs/xfs/xfs_attr.c error = xfs_bmap_finish(&args->trans, error 1641 fs/xfs/xfs_attr.c if (error) { error 1660 fs/xfs/xfs_attr.c error = 0; error 1664 fs/xfs/xfs_attr.c return(error); error 1726 fs/xfs/xfs_attr.c int level, error; error 1736 fs/xfs/xfs_attr.c error = xfs_da_read_buf(state->args->trans, error 1740 fs/xfs/xfs_attr.c if (error) error 1741 fs/xfs/xfs_attr.c return(error); error 1755 fs/xfs/xfs_attr.c error = xfs_da_read_buf(state->args->trans, error 1759 fs/xfs/xfs_attr.c if (error) error 1760 fs/xfs/xfs_attr.c return(error); error 1781 fs/xfs/xfs_attr.c int error, retval; error 1793 fs/xfs/xfs_attr.c error = xfs_da_node_lookup_int(state, &retval); error 1794 fs/xfs/xfs_attr.c if (error) { error 1795 fs/xfs/xfs_attr.c retval = error; error 1830 fs/xfs/xfs_attr.c int error, i; error 1843 fs/xfs/xfs_attr.c error = xfs_da_read_buf(NULL, context->dp, cursor->blkno, -1, error 1845 fs/xfs/xfs_attr.c if ((error != 0) && (error != EFSCORRUPTED)) error 1846 fs/xfs/xfs_attr.c return(error); error 1887 fs/xfs/xfs_attr.c error = xfs_da_read_buf(NULL, context->dp, error 1890 fs/xfs/xfs_attr.c if (error) error 1891 fs/xfs/xfs_attr.c return(error); error 1946 fs/xfs/xfs_attr.c error = xfs_attr_leaf_list_int(bp, context); error 1947 fs/xfs/xfs_attr.c if (error) { error 1949 fs/xfs/xfs_attr.c return error; error 1955 fs/xfs/xfs_attr.c error = xfs_da_read_buf(NULL, context->dp, cursor->blkno, -1, error 1957 fs/xfs/xfs_attr.c if (error) error 1958 fs/xfs/xfs_attr.c return(error); error 1987 fs/xfs/xfs_attr.c int nmap, error, tmp, valuelen, blkcnt, i; error 1998 fs/xfs/xfs_attr.c error = xfs_bmapi(args->trans, args->dp, (xfs_fileoff_t)lblkno, error 2002 fs/xfs/xfs_attr.c if (error) error 2003 fs/xfs/xfs_attr.c return(error); error 2011 fs/xfs/xfs_attr.c error = xfs_read_buf(mp, mp->m_ddev_targp, dblkno, error 2013 fs/xfs/xfs_attr.c if (error) error 2014 fs/xfs/xfs_attr.c return(error); error 2045 fs/xfs/xfs_attr.c int blkcnt, valuelen, nmap, error, tmp, committed; error 2057 fs/xfs/xfs_attr.c error = xfs_bmap_first_unused(args->trans, args->dp, blkcnt, &lfileoff, error 2059 fs/xfs/xfs_attr.c if (error) { error 2060 fs/xfs/xfs_attr.c return(error); error 2074 fs/xfs/xfs_attr.c error = xfs_bmapi(args->trans, dp, (xfs_fileoff_t)lblkno, error 2080 fs/xfs/xfs_attr.c if (!error) { error 2081 fs/xfs/xfs_attr.c error = xfs_bmap_finish(&args->trans, args->flist, error 2084 fs/xfs/xfs_attr.c if (error) { error 2088 fs/xfs/xfs_attr.c return(error); error 2109 fs/xfs/xfs_attr.c error = xfs_trans_roll(&args->trans, dp); error 2110 fs/xfs/xfs_attr.c if (error) error 2111 fs/xfs/xfs_attr.c return (error); error 2128 fs/xfs/xfs_attr.c error = xfs_bmapi(NULL, dp, (xfs_fileoff_t)lblkno, error 2133 fs/xfs/xfs_attr.c if (error) { error 2134 fs/xfs/xfs_attr.c return(error); error 2153 fs/xfs/xfs_attr.c if ((error = xfs_bwrite(mp, bp))) {/* GROT: NOTE: synchronous write */ error 2154 fs/xfs/xfs_attr.c return (error); error 2177 fs/xfs/xfs_attr.c int valuelen, blkcnt, nmap, error, done, committed; error 2193 fs/xfs/xfs_attr.c error = xfs_bmapi(NULL, args->dp, (xfs_fileoff_t)lblkno, error 2198 fs/xfs/xfs_attr.c if (error) { error 2199 fs/xfs/xfs_attr.c return(error); error 2233 fs/xfs/xfs_attr.c error = xfs_bunmapi(args->trans, args->dp, lblkno, blkcnt, error 2237 fs/xfs/xfs_attr.c if (!error) { error 2238 fs/xfs/xfs_attr.c error = xfs_bmap_finish(&args->trans, args->flist, error 2241 fs/xfs/xfs_attr.c if (error) { error 2245 fs/xfs/xfs_attr.c return(error); error 2260 fs/xfs/xfs_attr.c error = xfs_trans_roll(&args->trans, args->dp); error 2261 fs/xfs/xfs_attr.c if (error) error 2262 fs/xfs/xfs_attr.c return (error); error 462 fs/xfs/xfs_attr_leaf.c int error, i, size; error 478 fs/xfs/xfs_attr_leaf.c error = xfs_da_grow_inode(args, &blkno); error 479 fs/xfs/xfs_attr_leaf.c if (error) { error 484 fs/xfs/xfs_attr_leaf.c if (error == EIO) error 492 fs/xfs/xfs_attr_leaf.c error = xfs_attr_leaf_create(args, blkno, &bp); error 493 fs/xfs/xfs_attr_leaf.c if (error) { error 494 fs/xfs/xfs_attr_leaf.c error = xfs_da_shrink_inode(args, 0, bp); error 496 fs/xfs/xfs_attr_leaf.c if (error) error 521 fs/xfs/xfs_attr_leaf.c error = xfs_attr_leaf_lookup_int(bp, &nargs); /* set a->index */ error 522 fs/xfs/xfs_attr_leaf.c ASSERT(error == ENOATTR); error 523 fs/xfs/xfs_attr_leaf.c error = xfs_attr_leaf_add(bp, &nargs); error 524 fs/xfs/xfs_attr_leaf.c ASSERT(error != ENOSPC); error 525 fs/xfs/xfs_attr_leaf.c if (error) error 529 fs/xfs/xfs_attr_leaf.c error = 0; error 535 fs/xfs/xfs_attr_leaf.c return(error); error 575 fs/xfs/xfs_attr_leaf.c int error; error 603 fs/xfs/xfs_attr_leaf.c error = context->put_listent(context, error 617 fs/xfs/xfs_attr_leaf.c if (error) error 618 fs/xfs/xfs_attr_leaf.c return error; error 699 fs/xfs/xfs_attr_leaf.c error = context->put_listent(context, error 705 fs/xfs/xfs_attr_leaf.c if (error) error 706 fs/xfs/xfs_attr_leaf.c return error; error 767 fs/xfs/xfs_attr_leaf.c int error, i; error 782 fs/xfs/xfs_attr_leaf.c error = xfs_da_shrink_inode(args, 0, bp); error 783 fs/xfs/xfs_attr_leaf.c if (error) error 835 fs/xfs/xfs_attr_leaf.c error = 0; error 839 fs/xfs/xfs_attr_leaf.c return(error); error 853 fs/xfs/xfs_attr_leaf.c int error; error 857 fs/xfs/xfs_attr_leaf.c error = xfs_da_grow_inode(args, &blkno); error 858 fs/xfs/xfs_attr_leaf.c if (error) error 860 fs/xfs/xfs_attr_leaf.c error = xfs_da_read_buf(args->trans, args->dp, 0, -1, &bp1, error 862 fs/xfs/xfs_attr_leaf.c if (error) error 866 fs/xfs/xfs_attr_leaf.c error = xfs_da_get_buf(args->trans, args->dp, blkno, -1, &bp2, error 868 fs/xfs/xfs_attr_leaf.c if (error) error 879 fs/xfs/xfs_attr_leaf.c error = xfs_da_node_create(args, 0, 1, &bp1, XFS_ATTR_FORK); error 880 fs/xfs/xfs_attr_leaf.c if (error) error 891 fs/xfs/xfs_attr_leaf.c error = 0; error 897 fs/xfs/xfs_attr_leaf.c return(error); error 916 fs/xfs/xfs_attr_leaf.c int error; error 920 fs/xfs/xfs_attr_leaf.c error = xfs_da_get_buf(args->trans, args->dp, blkno, -1, &bp, error 922 fs/xfs/xfs_attr_leaf.c if (error) error 923 fs/xfs/xfs_attr_leaf.c return(error); error 953 fs/xfs/xfs_attr_leaf.c int error; error 959 fs/xfs/xfs_attr_leaf.c error = xfs_da_grow_inode(state->args, &blkno); error 960 fs/xfs/xfs_attr_leaf.c if (error) error 961 fs/xfs/xfs_attr_leaf.c return(error); error 962 fs/xfs/xfs_attr_leaf.c error = xfs_attr_leaf_create(state->args, blkno, &newblk->bp); error 963 fs/xfs/xfs_attr_leaf.c if (error) error 964 fs/xfs/xfs_attr_leaf.c return(error); error 973 fs/xfs/xfs_attr_leaf.c error = xfs_da_blk_link(state, oldblk, newblk); error 974 fs/xfs/xfs_attr_leaf.c if (error) error 975 fs/xfs/xfs_attr_leaf.c return(error); error 985 fs/xfs/xfs_attr_leaf.c error = xfs_attr_leaf_add(oldblk->bp, state->args); error 987 fs/xfs/xfs_attr_leaf.c error = xfs_attr_leaf_add(newblk->bp, state->args); error 994 fs/xfs/xfs_attr_leaf.c return(error); error 1534 fs/xfs/xfs_attr_leaf.c int count, bytes, forward, error, retval, i; error 1569 fs/xfs/xfs_attr_leaf.c error = xfs_da_path_shift(state, &state->altpath, forward, error 1571 fs/xfs/xfs_attr_leaf.c if (error) error 1572 fs/xfs/xfs_attr_leaf.c return(error); error 1597 fs/xfs/xfs_attr_leaf.c error = xfs_da_read_buf(state->args->trans, state->args->dp, error 1599 fs/xfs/xfs_attr_leaf.c if (error) error 1600 fs/xfs/xfs_attr_leaf.c return(error); error 1628 fs/xfs/xfs_attr_leaf.c error = xfs_da_path_shift(state, &state->altpath, forward, error 1631 fs/xfs/xfs_attr_leaf.c error = xfs_da_path_shift(state, &state->path, forward, error 1634 fs/xfs/xfs_attr_leaf.c if (error) error 1635 fs/xfs/xfs_attr_leaf.c return(error); error 2445 fs/xfs/xfs_attr_leaf.c int error; error 2455 fs/xfs/xfs_attr_leaf.c error = xfs_da_read_buf(args->trans, args->dp, args->blkno, -1, &bp, error 2457 fs/xfs/xfs_attr_leaf.c if (error) { error 2458 fs/xfs/xfs_attr_leaf.c return(error); error 2514 fs/xfs/xfs_attr_leaf.c int error; error 2519 fs/xfs/xfs_attr_leaf.c error = xfs_da_read_buf(args->trans, args->dp, args->blkno, -1, &bp, error 2521 fs/xfs/xfs_attr_leaf.c if (error) { error 2522 fs/xfs/xfs_attr_leaf.c return(error); error 2565 fs/xfs/xfs_attr_leaf.c int error; error 2575 fs/xfs/xfs_attr_leaf.c error = xfs_da_read_buf(args->trans, args->dp, args->blkno, -1, &bp1, error 2577 fs/xfs/xfs_attr_leaf.c if (error) { error 2578 fs/xfs/xfs_attr_leaf.c return(error); error 2586 fs/xfs/xfs_attr_leaf.c error = xfs_da_read_buf(args->trans, args->dp, args->blkno2, error 2588 fs/xfs/xfs_attr_leaf.c if (error) { error 2589 fs/xfs/xfs_attr_leaf.c return(error); error 2664 fs/xfs/xfs_attr_leaf.c error = xfs_trans_roll(&args->trans, args->dp); error 2666 fs/xfs/xfs_attr_leaf.c return(error); error 2683 fs/xfs/xfs_attr_leaf.c int error; error 2691 fs/xfs/xfs_attr_leaf.c error = xfs_da_read_buf(*trans, dp, 0, -1, &bp, XFS_ATTR_FORK); error 2692 fs/xfs/xfs_attr_leaf.c if (error) error 2693 fs/xfs/xfs_attr_leaf.c return(error); error 2702 fs/xfs/xfs_attr_leaf.c error = xfs_attr_node_inactive(trans, dp, bp, 1); error 2704 fs/xfs/xfs_attr_leaf.c error = xfs_attr_leaf_inactive(trans, dp, bp); error 2706 fs/xfs/xfs_attr_leaf.c error = XFS_ERROR(EIO); error 2709 fs/xfs/xfs_attr_leaf.c if (error) error 2710 fs/xfs/xfs_attr_leaf.c return(error); error 2715 fs/xfs/xfs_attr_leaf.c error = xfs_da_get_buf(*trans, dp, 0, blkno, &bp, XFS_ATTR_FORK); error 2716 fs/xfs/xfs_attr_leaf.c if (error) error 2717 fs/xfs/xfs_attr_leaf.c return(error); error 2722 fs/xfs/xfs_attr_leaf.c error = xfs_trans_roll(trans, dp); error 2724 fs/xfs/xfs_attr_leaf.c return (error); error 2739 fs/xfs/xfs_attr_leaf.c int error, count, i; error 2773 fs/xfs/xfs_attr_leaf.c error = xfs_da_read_buf(*trans, dp, child_fsb, -2, &child_bp, error 2775 fs/xfs/xfs_attr_leaf.c if (error) error 2776 fs/xfs/xfs_attr_leaf.c return(error); error 2786 fs/xfs/xfs_attr_leaf.c error = xfs_attr_node_inactive(trans, dp, error 2789 fs/xfs/xfs_attr_leaf.c error = xfs_attr_leaf_inactive(trans, dp, error 2792 fs/xfs/xfs_attr_leaf.c error = XFS_ERROR(EIO); error 2795 fs/xfs/xfs_attr_leaf.c if (error) error 2796 fs/xfs/xfs_attr_leaf.c return(error); error 2802 fs/xfs/xfs_attr_leaf.c error = xfs_da_get_buf(*trans, dp, 0, child_blkno, error 2804 fs/xfs/xfs_attr_leaf.c if (error) error 2805 fs/xfs/xfs_attr_leaf.c return(error); error 2814 fs/xfs/xfs_attr_leaf.c error = xfs_da_read_buf(*trans, dp, 0, parent_blkno, error 2816 fs/xfs/xfs_attr_leaf.c if (error) error 2817 fs/xfs/xfs_attr_leaf.c return(error); error 2824 fs/xfs/xfs_attr_leaf.c error = xfs_trans_roll(trans, dp); error 2825 fs/xfs/xfs_attr_leaf.c if (error) error 2826 fs/xfs/xfs_attr_leaf.c return (error); error 2845 fs/xfs/xfs_attr_leaf.c int error, count, size, tmp, i; error 2900 fs/xfs/xfs_attr_leaf.c error = 0; error 2905 fs/xfs/xfs_attr_leaf.c if (error == 0) error 2906 fs/xfs/xfs_attr_leaf.c error = tmp; /* save only the 1st errno */ error 2910 fs/xfs/xfs_attr_leaf.c return(error); error 2923 fs/xfs/xfs_attr_leaf.c int tblkcnt, dblkcnt, nmap, error; error 2938 fs/xfs/xfs_attr_leaf.c error = xfs_bmapi(*trans, dp, (xfs_fileoff_t)tblkno, tblkcnt, error 2941 fs/xfs/xfs_attr_leaf.c if (error) { error 2942 fs/xfs/xfs_attr_leaf.c return(error); error 2964 fs/xfs/xfs_attr_leaf.c error = xfs_trans_roll(trans, dp); error 2965 fs/xfs/xfs_attr_leaf.c if (error) error 2966 fs/xfs/xfs_attr_leaf.c return (error); error 417 fs/xfs/xfs_bmap.c int error; /* error return value */ error 429 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_ge(cur, 0, 0, 0, &stat))) error 433 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_newroot(cur, flags, &stat))) error 446 fs/xfs/xfs_bmap.c return error; error 461 fs/xfs/xfs_bmap.c int error; /* error return value */ error 466 fs/xfs/xfs_bmap.c error = xfs_bmap_extents_to_btree(tp, ip, firstblock, flist, &cur, 0, error 471 fs/xfs/xfs_bmap.c error ? XFS_BTREE_ERROR : XFS_BTREE_NOERROR); error 473 fs/xfs/xfs_bmap.c return error; error 488 fs/xfs/xfs_bmap.c int error; /* error return value */ error 502 fs/xfs/xfs_bmap.c error = xfs_dir2_sf_to_block(&dargs); error 504 fs/xfs/xfs_bmap.c error = xfs_bmap_local_to_extents(tp, ip, firstblock, 1, flags, error 506 fs/xfs/xfs_bmap.c return error; error 529 fs/xfs/xfs_bmap.c int error; /* error return value */ error 540 fs/xfs/xfs_bmap.c error = 0; error 574 fs/xfs/xfs_bmap.c if ((error = xfs_bmap_add_extent_hole_delay(ip, idx, new, error 585 fs/xfs/xfs_bmap.c if ((error = xfs_bmap_add_extent_hole_real(ip, idx, cur, new, error 609 fs/xfs/xfs_bmap.c if ((error = xfs_bmap_add_extent_delay_real(ip, error 615 fs/xfs/xfs_bmap.c if ((error = xfs_bmap_add_extent_unwritten_real( error 620 fs/xfs/xfs_bmap.c if ((error = xfs_bmap_add_extent_unwritten_real( error 633 fs/xfs/xfs_bmap.c if ((error = xfs_bmap_add_extent_hole_real(ip, idx, cur, error 648 fs/xfs/xfs_bmap.c error = xfs_bmap_extents_to_btree(ip->i_transp, ip, first, error 651 fs/xfs/xfs_bmap.c if (error) error 678 fs/xfs/xfs_bmap.c if (!error) error 682 fs/xfs/xfs_bmap.c return error; error 705 fs/xfs/xfs_bmap.c int error; /* error return value */ error 790 fs/xfs/xfs_bmap.c error = 0; error 816 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, RIGHT.br_startoff, error 821 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_delete(cur, &i))) error 824 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_decrement(cur, 0, &i))) error 827 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, LEFT.br_startoff, error 860 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, LEFT.br_startoff, error 865 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, LEFT.br_startoff, error 895 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, RIGHT.br_startoff, error 900 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, PREV.br_startoff, error 928 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, new->br_startoff, error 934 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_insert(cur, &i))) error 963 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, LEFT.br_startoff, error 968 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, LEFT.br_startoff, error 1004 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, new->br_startoff, error 1010 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_insert(cur, &i))) error 1016 fs/xfs/xfs_bmap.c error = xfs_bmap_extents_to_btree(ip->i_transp, ip, error 1020 fs/xfs/xfs_bmap.c if (error) error 1054 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, RIGHT.br_startoff, error 1059 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, new->br_startoff, error 1094 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, new->br_startoff, error 1100 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_insert(cur, &i))) error 1106 fs/xfs/xfs_bmap.c error = xfs_bmap_extents_to_btree(ip->i_transp, ip, error 1110 fs/xfs/xfs_bmap.c if (error) error 1149 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, new->br_startoff, error 1155 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_insert(cur, &i))) error 1161 fs/xfs/xfs_bmap.c error = xfs_bmap_extents_to_btree(ip->i_transp, ip, error 1165 fs/xfs/xfs_bmap.c if (error) error 1232 fs/xfs/xfs_bmap.c return error; error 1261 fs/xfs/xfs_bmap.c int error; /* error return value */ error 1297 fs/xfs/xfs_bmap.c error = 0; error 1377 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, RIGHT.br_startoff, error 1382 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_delete(cur, &i))) error 1385 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_decrement(cur, 0, &i))) error 1388 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_delete(cur, &i))) error 1391 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_decrement(cur, 0, &i))) error 1394 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, LEFT.br_startoff, error 1426 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, PREV.br_startoff, error 1431 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_delete(cur, &i))) error 1434 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_decrement(cur, 0, &i))) error 1437 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, LEFT.br_startoff, error 1469 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, RIGHT.br_startoff, error 1474 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_delete(cur, &i))) error 1477 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_decrement(cur, 0, &i))) error 1480 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, new->br_startoff, error 1508 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, new->br_startoff, error 1513 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, new->br_startoff, error 1549 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, PREV.br_startoff, error 1554 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, error 1560 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_decrement(cur, 0, &i))) error 1596 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, PREV.br_startoff, error 1601 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, error 1608 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_insert(cur, &i))) error 1640 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, PREV.br_startoff, error 1645 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, PREV.br_startoff, error 1650 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_increment(cur, 0, &i))) error 1652 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, new->br_startoff, error 1682 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, PREV.br_startoff, error 1687 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, PREV.br_startoff, error 1692 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, new->br_startoff, error 1698 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_insert(cur, &i))) error 1732 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, PREV.br_startoff, error 1738 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, r[1].br_startoff, error 1746 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_insert(cur, &i))) error 1754 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, new->br_startoff, error 1761 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_insert(cur, &i))) error 1792 fs/xfs/xfs_bmap.c return error; error 2010 fs/xfs/xfs_bmap.c int error; /* error return value */ error 2075 fs/xfs/xfs_bmap.c error = 0; error 2103 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, error 2109 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_delete(cur, &i))) error 2112 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_decrement(cur, 0, &i))) error 2115 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, left.br_startoff, error 2145 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, error 2151 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, left.br_startoff, error 2180 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, error 2186 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, new->br_startoff, error 2214 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, error 2221 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_insert(cur, &i))) error 2239 fs/xfs/xfs_bmap.c return error; error 2566 fs/xfs/xfs_bmap.c int error; /* error return value */ error 2576 fs/xfs/xfs_bmap.c error = xfs_bmap_extsize_align(mp, ap->gotp, ap->prevp, error 2579 fs/xfs/xfs_bmap.c if (error) error 2580 fs/xfs/xfs_bmap.c return error; error 2610 fs/xfs/xfs_bmap.c error = xfs_rtpick_extent(mp, ap->tp, ralen, &rtx); error 2611 fs/xfs/xfs_bmap.c if (error) error 2612 fs/xfs/xfs_bmap.c return error; error 2627 fs/xfs/xfs_bmap.c if ((error = xfs_rtallocate_extent(ap->tp, ap->rval, 1, ap->alen, error 2629 fs/xfs/xfs_bmap.c return error; error 2631 fs/xfs/xfs_bmap.c (error = xfs_rtallocate_extent(ap->tp, ap->rval, 1, error 2634 fs/xfs/xfs_bmap.c return error; error 2678 fs/xfs/xfs_bmap.c int error; error 2683 fs/xfs/xfs_bmap.c error = xfs_bmap_extsize_align(mp, ap->gotp, ap->prevp, error 2686 fs/xfs/xfs_bmap.c ASSERT(!error); error 2744 fs/xfs/xfs_bmap.c (error = xfs_alloc_pagf_init(mp, args.tp, error 2747 fs/xfs/xfs_bmap.c return error; error 2782 fs/xfs/xfs_bmap.c error = xfs_filestream_new_ag(ap, &ag); error 2783 fs/xfs/xfs_bmap.c if (error) { error 2785 fs/xfs/xfs_bmap.c return error; error 2903 fs/xfs/xfs_bmap.c if ((error = xfs_alloc_vextent(&args))) error 2904 fs/xfs/xfs_bmap.c return error; error 2916 fs/xfs/xfs_bmap.c if ((error = xfs_alloc_vextent(&args))) error 2917 fs/xfs/xfs_bmap.c return error; error 2927 fs/xfs/xfs_bmap.c if ((error = xfs_alloc_vextent(&args))) error 2928 fs/xfs/xfs_bmap.c return error; error 2935 fs/xfs/xfs_bmap.c if ((error = xfs_alloc_vextent(&args))) error 2936 fs/xfs/xfs_bmap.c return error; error 2943 fs/xfs/xfs_bmap.c if ((error = xfs_alloc_vextent(&args))) error 2944 fs/xfs/xfs_bmap.c return error; error 3002 fs/xfs/xfs_bmap.c int error; /* error return value */ error 3020 fs/xfs/xfs_bmap.c if ((error = xfs_btree_check_lptr(cur, cbno, 1))) error 3021 fs/xfs/xfs_bmap.c return error; error 3023 fs/xfs/xfs_bmap.c if ((error = xfs_btree_read_bufl(mp, tp, cbno, 0, &cbp, error 3025 fs/xfs/xfs_bmap.c return error; error 3027 fs/xfs/xfs_bmap.c if ((error = xfs_btree_check_lblock(cur, cblock, 0, cbp))) error 3028 fs/xfs/xfs_bmap.c return error; error 3067 fs/xfs/xfs_bmap.c int error; /* error return value */ error 3097 fs/xfs/xfs_bmap.c error = 0; error 3118 fs/xfs/xfs_bmap.c if ((error = xfs_rtfree_extent(ip->i_transp, bno, error 3138 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, got.br_startoff, error 3173 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_delete(cur, &i))) error 3202 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, del_endoff, del_endblock, error 3230 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, got.br_startoff, error 3252 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, error 3257 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_increment(cur, 0, &i))) error 3260 fs/xfs/xfs_bmap.c error = xfs_bmbt_insert(cur, &i); error 3261 fs/xfs/xfs_bmap.c if (error && error != ENOSPC) error 3269 fs/xfs/xfs_bmap.c if (error == ENOSPC) { error 3274 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_lookup_eq(cur, error 3284 fs/xfs/xfs_bmap.c if ((error = xfs_bmbt_update(cur, error 3297 fs/xfs/xfs_bmap.c error = XFS_ERROR(ENOSPC); error 3371 fs/xfs/xfs_bmap.c return error; error 3414 fs/xfs/xfs_bmap.c int error; /* error return value */ error 3471 fs/xfs/xfs_bmap.c if ((error = xfs_alloc_vextent(&args))) { error 3474 fs/xfs/xfs_bmap.c return error; error 3568 fs/xfs/xfs_bmap.c int error; /* error return value */ error 3581 fs/xfs/xfs_bmap.c error = 0; error 3607 fs/xfs/xfs_bmap.c if ((error = xfs_alloc_vextent(&args))) error 3640 fs/xfs/xfs_bmap.c return error; error 3969 fs/xfs/xfs_bmap.c int error; /* error return value */ error 3981 fs/xfs/xfs_bmap.c if ((error = xfs_trans_reserve(tp, blks, XFS_ADDAFORK_LOG_RES(mp), 0, error 3985 fs/xfs/xfs_bmap.c error = XFS_TRANS_RESERVE_QUOTA_NBLKS(mp, tp, ip, blks, 0, rsvd ? error 3988 fs/xfs/xfs_bmap.c if (error) { error 3991 fs/xfs/xfs_bmap.c return error; error 4024 fs/xfs/xfs_bmap.c error = XFS_ERROR(EINVAL); error 4038 fs/xfs/xfs_bmap.c error = xfs_bmap_add_attrfork_local(tp, ip, &firstblock, &flist, error 4042 fs/xfs/xfs_bmap.c error = xfs_bmap_add_attrfork_extents(tp, ip, &firstblock, error 4046 fs/xfs/xfs_bmap.c error = xfs_bmap_add_attrfork_btree(tp, ip, &firstblock, &flist, error 4050 fs/xfs/xfs_bmap.c error = 0; error 4055 fs/xfs/xfs_bmap.c if (error) error 4076 fs/xfs/xfs_bmap.c if ((error = xfs_bmap_finish(&tp, &flist, &committed))) error 4078 fs/xfs/xfs_bmap.c error = xfs_trans_commit(tp, XFS_TRANS_PERM_LOG_RES); error 4081 fs/xfs/xfs_bmap.c return error; error 4090 fs/xfs/xfs_bmap.c return error; error 4217 fs/xfs/xfs_bmap.c int error; /* error return value */ error 4238 fs/xfs/xfs_bmap.c error = xfs_trans_commit(*tp, 0); error 4245 fs/xfs/xfs_bmap.c if (error) { error 4246 fs/xfs/xfs_bmap.c return error; error 4248 fs/xfs/xfs_bmap.c if ((error = xfs_trans_reserve(ntp, 0, logres, 0, XFS_TRANS_PERM_LOG_RES, error 4250 fs/xfs/xfs_bmap.c return error; error 4254 fs/xfs/xfs_bmap.c if ((error = xfs_free_extent(ntp, free->xbfi_startblock, error 4267 fs/xfs/xfs_bmap.c (error == EFSCORRUPTED) ? error 4270 fs/xfs/xfs_bmap.c return error; error 4314 fs/xfs/xfs_bmap.c int error; /* error return value */ error 4332 fs/xfs/xfs_bmap.c (error = xfs_iread_extents(tp, ip, whichfork))) error 4333 fs/xfs/xfs_bmap.c return error; error 4369 fs/xfs/xfs_bmap.c int error; /* error return value */ error 4385 fs/xfs/xfs_bmap.c (error = xfs_iread_extents(tp, ip, whichfork))) error 4386 fs/xfs/xfs_bmap.c return error; error 4415 fs/xfs/xfs_bmap.c int error; /* error return value */ error 4429 fs/xfs/xfs_bmap.c (error = xfs_iread_extents(tp, ip, whichfork))) error 4430 fs/xfs/xfs_bmap.c return error; error 4492 fs/xfs/xfs_bmap.c int error; /* error return value */ error 4523 fs/xfs/xfs_bmap.c if ((error = xfs_btree_read_bufl(mp, tp, bno, 0, &bp, error 4525 fs/xfs/xfs_bmap.c return error; error 4603 fs/xfs/xfs_bmap.c if ((error = xfs_btree_read_bufl(mp, tp, bno, 0, &bp, error 4605 fs/xfs/xfs_bmap.c return error; error 4725 fs/xfs/xfs_bmap.c int error; /* error return */ error 4806 fs/xfs/xfs_bmap.c if ((error = xfs_bmap_local_to_extents(tp, ip, error 4818 fs/xfs/xfs_bmap.c (error = xfs_iread_extents(tp, ip, whichfork))) error 4880 fs/xfs/xfs_bmap.c error = xfs_bmap_extsize_align(mp, error 4886 fs/xfs/xfs_bmap.c ASSERT(!error); error 4898 fs/xfs/xfs_bmap.c if ((error = XFS_TRANS_RESERVE_QUOTA_NBLKS( error 4905 fs/xfs/xfs_bmap.c return error; error 4919 fs/xfs/xfs_bmap.c error = xfs_mod_incore_sb(mp, error 4924 fs/xfs/xfs_bmap.c error = xfs_mod_incore_sb(mp, error 4929 fs/xfs/xfs_bmap.c if (!error) { error 4930 fs/xfs/xfs_bmap.c error = xfs_mod_incore_sb(mp, error 4934 fs/xfs/xfs_bmap.c if (error && rt) error 4939 fs/xfs/xfs_bmap.c else if (error) error 4946 fs/xfs/xfs_bmap.c if (error) { error 5001 fs/xfs/xfs_bmap.c if ((error = xfs_bmap_isaeof(ip, aoff, error 5009 fs/xfs/xfs_bmap.c if ((error = xfs_bmap_alloc(&bma))) error 5061 fs/xfs/xfs_bmap.c error = xfs_bmap_add_extent(ip, lastx, &cur, &got, error 5065 fs/xfs/xfs_bmap.c if (error) error 5158 fs/xfs/xfs_bmap.c error = xfs_bmap_add_extent(ip, lastx, &cur, mval, error 5162 fs/xfs/xfs_bmap.c if (error) error 5238 fs/xfs/xfs_bmap.c error = xfs_bmap_btree_to_extents(tp, ip, cur, error 5241 fs/xfs/xfs_bmap.c if (error) error 5248 fs/xfs/xfs_bmap.c error = 0; error 5278 fs/xfs/xfs_bmap.c if (!error) { error 5290 fs/xfs/xfs_bmap.c error ? XFS_BTREE_ERROR : XFS_BTREE_NOERROR); error 5292 fs/xfs/xfs_bmap.c if (!error) error 5295 fs/xfs/xfs_bmap.c return error; error 5314 fs/xfs/xfs_bmap.c int error; /* error return */ error 5332 fs/xfs/xfs_bmap.c (error = xfs_iread_extents(tp, ip, whichfork))) error 5333 fs/xfs/xfs_bmap.c return error; error 5376 fs/xfs/xfs_bmap.c int error; /* error return value */ error 5414 fs/xfs/xfs_bmap.c (error = xfs_iread_extents(tp, ip, whichfork))) error 5415 fs/xfs/xfs_bmap.c return error; error 5528 fs/xfs/xfs_bmap.c error = xfs_bmap_add_extent(ip, lastx, &cur, &del, error 5531 fs/xfs/xfs_bmap.c if (error) error 5582 fs/xfs/xfs_bmap.c error = xfs_bmap_add_extent(ip, lastx - 1, &cur, error 5585 fs/xfs/xfs_bmap.c if (error) error 5591 fs/xfs/xfs_bmap.c error = xfs_bmap_add_extent(ip, lastx, &cur, error 5594 fs/xfs/xfs_bmap.c if (error) error 5642 fs/xfs/xfs_bmap.c error = XFS_ERROR(ENOSPC); error 5645 fs/xfs/xfs_bmap.c error = xfs_bmap_del_extent(ip, tp, lastx, flist, cur, &del, error 5648 fs/xfs/xfs_bmap.c if (error) error 5679 fs/xfs/xfs_bmap.c error = xfs_bmap_extents_to_btree(tp, ip, firstblock, flist, error 5682 fs/xfs/xfs_bmap.c if (error) error 5691 fs/xfs/xfs_bmap.c error = xfs_bmap_btree_to_extents(tp, ip, cur, &tmp_logflags, error 5694 fs/xfs/xfs_bmap.c if (error) error 5702 fs/xfs/xfs_bmap.c error = 0; error 5729 fs/xfs/xfs_bmap.c if (!error) { error 5734 fs/xfs/xfs_bmap.c error ? XFS_BTREE_ERROR : XFS_BTREE_NOERROR); error 5736 fs/xfs/xfs_bmap.c return error; error 5783 fs/xfs/xfs_bmap.c int error; /* return value */ error 5823 fs/xfs/xfs_bmap.c error = XFS_SEND_DATA(mp, DM_EVENT_READ, ip, 0, 0, 0, NULL); error 5824 fs/xfs/xfs_bmap.c if (error) error 5825 fs/xfs/xfs_bmap.c return XFS_ERROR(error); error 5879 fs/xfs/xfs_bmap.c error = xfs_flush_pages(ip, (xfs_off_t)0, error 5881 fs/xfs/xfs_bmap.c if (error) { error 5883 fs/xfs/xfs_bmap.c return error; error 5910 fs/xfs/xfs_bmap.c error = 0; error 5918 fs/xfs/xfs_bmap.c error = xfs_bmapi(NULL, ip, XFS_BB_TO_FSBT(mp, bmv->bmv_offset), error 5922 fs/xfs/xfs_bmap.c if (error) error 5953 fs/xfs/xfs_bmap.c error = XFS_ERROR(EFAULT); error 5959 fs/xfs/xfs_bmap.c error = XFS_ERROR(EFAULT); error 5983 fs/xfs/xfs_bmap.c return error; error 5999 fs/xfs/xfs_bmap.c int error; /* error return value */ error 6008 fs/xfs/xfs_bmap.c (error = xfs_iread_extents(NULL, ip, whichfork))) error 6009 fs/xfs/xfs_bmap.c return error; error 6043 fs/xfs/xfs_bmap.c int error; /* error return value */ error 6052 fs/xfs/xfs_bmap.c (error = xfs_iread_extents(NULL, ip, whichfork))) error 6053 fs/xfs/xfs_bmap.c return error; error 6201 fs/xfs/xfs_bmap.c int error; /* error return value */ error 6245 fs/xfs/xfs_bmap.c if (!bp && (error = xfs_btree_read_bufl(mp, NULL, bno, 0, &bp, error 6326 fs/xfs/xfs_bmap.c if (!bp && (error = xfs_btree_read_bufl(mp, NULL, bno, 0, &bp, error 6410 fs/xfs/xfs_bmap.c int error; error 6419 fs/xfs/xfs_bmap.c if ((error = xfs_btree_read_bufl(mp, tp, bno, 0, &bp, XFS_BMAP_BTREE_REF))) error 6420 fs/xfs/xfs_bmap.c return error; error 6428 fs/xfs/xfs_bmap.c if ((error = xfs_btree_read_bufl(mp, tp, nextbno, error 6430 fs/xfs/xfs_bmap.c return error; error 6440 fs/xfs/xfs_bmap.c if (unlikely((error = error 6458 fs/xfs/xfs_bmap.c if ((error = xfs_btree_read_bufl(mp, tp, bno, 0, &bp, error 6460 fs/xfs/xfs_bmap.c return error; error 321 fs/xfs/xfs_bmap_btree.c int error; /* error return value */ error 362 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, block, level, bp))) { error 378 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr_disk(cur, pp[i], level))) { error 417 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_killroot(cur))) { error 421 fs/xfs/xfs_bmap_btree.c if (level > 0 && (error = xfs_bmbt_decrement(cur, level, &j))) { error 429 fs/xfs/xfs_bmap_btree.c if (ptr == 1 && (error = xfs_bmbt_updkey(cur, kp, level + 1))) { error 434 fs/xfs/xfs_bmap_btree.c if (level > 0 && (error = xfs_bmbt_decrement(cur, level, &j))) { error 451 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_killroot(cur))) { error 455 fs/xfs/xfs_bmap_btree.c if (level > 0 && (error = xfs_bmbt_decrement(cur, level, &i))) { error 464 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_dup_cursor(cur, &tcur))) { error 472 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_increment(tcur, level, &i))) { error 482 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, right, level, rbp))) { error 490 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_lshift(tcur, level, &i))) { error 500 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_decrement(cur, error 516 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_decrement(tcur, level, &i))) { error 529 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_decrement(tcur, level, &i))) { error 538 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, left, level, lbp))) { error 546 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_rshift(tcur, level, &i))) { error 573 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_read_bufl(mp, cur->bc_tp, lbno, 0, &lbp, error 579 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, left, level, lbp))) { error 589 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_read_bufl(mp, cur->bc_tp, rbno, 0, &rbp, error 595 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, right, level, rbp))) { error 601 fs/xfs/xfs_bmap_btree.c if (level > 0 && (error = xfs_bmbt_decrement(cur, level, &i))) { error 618 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr_disk(cur, rpp[i], level))) { error 638 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_read_bufl(mp, cur->bc_tp, error 645 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, rrblock, level, rrbp))) { error 663 fs/xfs/xfs_bmap_btree.c } else if ((error = xfs_bmbt_increment(cur, level + 1, &i))) { error 676 fs/xfs/xfs_bmap_btree.c return error; error 694 fs/xfs/xfs_bmap_btree.c int error; /* error return value */ error 724 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, block, level, bp))) { error 726 fs/xfs/xfs_bmap_btree.c return error; error 748 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_newroot(cur, &logflags, stat)) || error 751 fs/xfs/xfs_bmap_btree.c return error; error 757 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_rshift(cur, level, &i))) { error 759 fs/xfs/xfs_bmap_btree.c return error; error 764 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_lshift(cur, level, &i))) { error 766 fs/xfs/xfs_bmap_btree.c return error; error 771 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_split(cur, level, error 776 fs/xfs/xfs_bmap_btree.c return error; error 782 fs/xfs/xfs_bmap_btree.c if ((error = error 787 fs/xfs/xfs_bmap_btree.c return error; error 810 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr_disk(cur, pp[i - 1], error 813 fs/xfs/xfs_bmap_btree.c return error; error 822 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr(cur, *bnop, level))) { error 824 fs/xfs/xfs_bmap_btree.c return error; error 853 fs/xfs/xfs_bmap_btree.c if (optr == 1 && (error = xfs_bmbt_updkey(cur, &key, level + 1))) { error 855 fs/xfs/xfs_bmap_btree.c return error; error 877 fs/xfs/xfs_bmap_btree.c int error; error 936 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr_disk(cur, cpp[i], level - 1))) { error 938 fs/xfs/xfs_bmap_btree.c return error; error 1043 fs/xfs/xfs_bmap_btree.c int error; /* error return value */ error 1073 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_read_bufl(mp, tp, fsbno, error 1076 fs/xfs/xfs_bmap_btree.c return error; error 1080 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, block, error 1083 fs/xfs/xfs_bmap_btree.c return error; error 1130 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr(cur, fsbno, level))) { error 1132 fs/xfs/xfs_bmap_btree.c return error; error 1147 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_increment(cur, 0, &i))) { error 1149 fs/xfs/xfs_bmap_btree.c return error; error 1180 fs/xfs/xfs_bmap_btree.c int error; /* error return value */ error 1209 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, right, level, rbp))) { error 1211 fs/xfs/xfs_bmap_btree.c return error; error 1225 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_read_bufl(mp, cur->bc_tp, be64_to_cpu(right->bb_leftsib), 0, error 1228 fs/xfs/xfs_bmap_btree.c return error; error 1231 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, left, level, lbp))) { error 1233 fs/xfs/xfs_bmap_btree.c return error; error 1249 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr_disk(cur, *rpp, level))) { error 1251 fs/xfs/xfs_bmap_btree.c return error; error 1276 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr_disk(cur, rpp[i + 1], error 1279 fs/xfs/xfs_bmap_btree.c return error; error 1293 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_updkey(cur, rkp, level + 1))) { error 1295 fs/xfs/xfs_bmap_btree.c return error; error 1313 fs/xfs/xfs_bmap_btree.c int error; /* error return value */ error 1339 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, left, level, lbp))) { error 1341 fs/xfs/xfs_bmap_btree.c return error; error 1355 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_read_bufl(mp, cur->bc_tp, be64_to_cpu(left->bb_rightsib), 0, error 1358 fs/xfs/xfs_bmap_btree.c return error; error 1361 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, right, level, rbp))) { error 1363 fs/xfs/xfs_bmap_btree.c return error; error 1377 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr_disk(cur, rpp[i], level))) { error 1379 fs/xfs/xfs_bmap_btree.c return error; error 1386 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr_disk(cur, *lpp, level))) { error 1388 fs/xfs/xfs_bmap_btree.c return error; error 1414 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_dup_cursor(cur, &tcur))) { error 1416 fs/xfs/xfs_bmap_btree.c return error; error 1420 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_increment(tcur, level, &i))) { error 1425 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_updkey(tcur, rkp, level + 1))) { error 1437 fs/xfs/xfs_bmap_btree.c return error; error 1471 fs/xfs/xfs_bmap_btree.c int error; /* error return value */ error 1524 fs/xfs/xfs_bmap_btree.c if ((error = xfs_alloc_vextent(&args))) { error 1526 fs/xfs/xfs_bmap_btree.c return error; error 1537 fs/xfs/xfs_bmap_btree.c if ((error = xfs_alloc_vextent(&args))) { error 1539 fs/xfs/xfs_bmap_btree.c return error; error 1558 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, left, level, rbp))) { error 1560 fs/xfs/xfs_bmap_btree.c return error; error 1577 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr_disk(cur, lpp[i], level))) { error 1579 fs/xfs/xfs_bmap_btree.c return error; error 1602 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_read_bufl(args.mp, args.tp, error 1606 fs/xfs/xfs_bmap_btree.c return error; error 1609 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, rrblock, level, rrbp))) { error 1611 fs/xfs/xfs_bmap_btree.c return error; error 1621 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_dup_cursor(cur, curp))) { error 1623 fs/xfs/xfs_bmap_btree.c return error; error 1646 fs/xfs/xfs_bmap_btree.c int error; error 1657 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, block, level, bp))) { error 1659 fs/xfs/xfs_bmap_btree.c return error; error 1715 fs/xfs/xfs_bmap_btree.c int error; /* error return value */ error 1733 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, block, level, bp))) { error 1735 fs/xfs/xfs_bmap_btree.c return error; error 1758 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_read_bufl(mp, tp, fsbno, 0, &bp, error 1761 fs/xfs/xfs_bmap_btree.c return error; error 1766 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, block, lev, bp))) { error 1768 fs/xfs/xfs_bmap_btree.c return error; error 1785 fs/xfs/xfs_bmap_btree.c int error; /* error return value */ error 1791 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_delrec(cur, level, &i))) { error 1793 fs/xfs/xfs_bmap_btree.c return error; error 1799 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_decrement(cur, level, error 1802 fs/xfs/xfs_bmap_btree.c return error; error 1989 fs/xfs/xfs_bmap_btree.c int error; /* error return value */ error 2002 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, block, level, bp))) { error 2004 fs/xfs/xfs_bmap_btree.c return error; error 2020 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, block, lev, bp))) { error 2022 fs/xfs/xfs_bmap_btree.c return error; error 2039 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_read_bufl(mp, tp, fsbno, 0, &bp, error 2042 fs/xfs/xfs_bmap_btree.c return error; error 2047 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, block, lev, bp))) { error 2049 fs/xfs/xfs_bmap_btree.c return error; error 2070 fs/xfs/xfs_bmap_btree.c int error; /* error return value */ error 2085 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_insrec(pcur, level++, &nbno, &nrec, &ncur, error 2090 fs/xfs/xfs_bmap_btree.c return error; error 2116 fs/xfs/xfs_bmap_btree.c return error; error 2225 fs/xfs/xfs_bmap_btree.c int error; /* error return code */ error 2250 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr_disk(cur, *pp, level))) { error 2252 fs/xfs/xfs_bmap_btree.c return error; error 2261 fs/xfs/xfs_bmap_btree.c if ((error = xfs_alloc_vextent(&args))) { error 2263 fs/xfs/xfs_bmap_btree.c return error; error 2289 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr_disk(cur, pp[i], level))) { error 2291 fs/xfs/xfs_bmap_btree.c return error; error 2297 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lptr(cur, args.fsbno, level))) { error 2299 fs/xfs/xfs_bmap_btree.c return error; error 2555 fs/xfs/xfs_bmap_btree.c int error; error 2565 fs/xfs/xfs_bmap_btree.c if ((error = xfs_btree_check_lblock(cur, block, 0, bp))) { error 2567 fs/xfs/xfs_bmap_btree.c return error; error 2579 fs/xfs/xfs_bmap_btree.c if ((error = xfs_bmbt_updkey(cur, &key, 1))) { error 2581 fs/xfs/xfs_bmap_btree.c return error; error 357 fs/xfs/xfs_btree.c else if (!error) error 382 fs/xfs/xfs_btree.c int error; /* error return value */ error 407 fs/xfs/xfs_btree.c if ((error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, error 409 fs/xfs/xfs_btree.c xfs_btree_del_cursor(new, error); error 411 fs/xfs/xfs_btree.c return error; error 726 fs/xfs/xfs_btree.c int error; error 730 fs/xfs/xfs_btree.c if ((error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, d, error 732 fs/xfs/xfs_btree.c return error; error 758 fs/xfs/xfs_btree.c int error; error 763 fs/xfs/xfs_btree.c if ((error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, d, error 765 fs/xfs/xfs_btree.c return error; error 648 fs/xfs/xfs_buf_item.c int error; error 649 fs/xfs/xfs_buf_item.c error = xfs_bawrite(bip->bli_item.li_mountp, bp); error 650 fs/xfs/xfs_buf_item.c if (error) error 653 fs/xfs/xfs_buf_item.c error, bip, bp); error 115 fs/xfs/xfs_da_btree.c int error; error 119 fs/xfs/xfs_da_btree.c error = xfs_da_get_buf(tp, args->dp, blkno, -1, &bp, whichfork); error 120 fs/xfs/xfs_da_btree.c if (error) error 121 fs/xfs/xfs_da_btree.c return(error); error 148 fs/xfs/xfs_da_btree.c int max, action, error, i; error 174 fs/xfs/xfs_da_btree.c error = xfs_attr_leaf_split(state, oldblk, newblk); error 175 fs/xfs/xfs_da_btree.c if ((error != 0) && (error != ENOSPC)) { error 176 fs/xfs/xfs_da_btree.c return(error); /* GROT: attr is inconsistent */ error 178 fs/xfs/xfs_da_btree.c if (!error) { error 188 fs/xfs/xfs_da_btree.c error = xfs_attr_leaf_split(state, oldblk, error 192 fs/xfs/xfs_da_btree.c error = xfs_attr_leaf_split(state, newblk, error 195 fs/xfs/xfs_da_btree.c if (error) error 196 fs/xfs/xfs_da_btree.c return(error); /* GROT: attr inconsistent */ error 200 fs/xfs/xfs_da_btree.c error = xfs_dir2_leafn_split(state, oldblk, newblk); error 201 fs/xfs/xfs_da_btree.c if (error) error 202 fs/xfs/xfs_da_btree.c return error; error 206 fs/xfs/xfs_da_btree.c error = xfs_da_node_split(state, oldblk, newblk, addblk, error 210 fs/xfs/xfs_da_btree.c if (error) error 211 fs/xfs/xfs_da_btree.c return(error); /* GROT: dir is inconsistent */ error 242 fs/xfs/xfs_da_btree.c error = xfs_da_root_split(state, oldblk, addblk); error 243 fs/xfs/xfs_da_btree.c if (error) { error 247 fs/xfs/xfs_da_btree.c return(error); /* GROT: dir is inconsistent */ error 304 fs/xfs/xfs_da_btree.c int error, size; error 316 fs/xfs/xfs_da_btree.c error = xfs_da_grow_inode(args, &blkno); error 317 fs/xfs/xfs_da_btree.c if (error) error 318 fs/xfs/xfs_da_btree.c return(error); error 322 fs/xfs/xfs_da_btree.c error = xfs_da_get_buf(tp, dp, blkno, -1, &bp, args->whichfork); error 323 fs/xfs/xfs_da_btree.c if (error) error 324 fs/xfs/xfs_da_btree.c return(error); error 346 fs/xfs/xfs_da_btree.c error = xfs_da_node_create(args, error 349 fs/xfs/xfs_da_btree.c if (error) error 350 fs/xfs/xfs_da_btree.c return(error); error 387 fs/xfs/xfs_da_btree.c int newcount, error; error 406 fs/xfs/xfs_da_btree.c error = xfs_da_grow_inode(state->args, &blkno); error 407 fs/xfs/xfs_da_btree.c if (error) error 408 fs/xfs/xfs_da_btree.c return(error); /* GROT: dir is inconsistent */ error 410 fs/xfs/xfs_da_btree.c error = xfs_da_node_create(state->args, blkno, treelevel, error 412 fs/xfs/xfs_da_btree.c if (error) error 413 fs/xfs/xfs_da_btree.c return(error); /* GROT: dir is inconsistent */ error 417 fs/xfs/xfs_da_btree.c error = xfs_da_blk_link(state, oldblk, newblk); error 418 fs/xfs/xfs_da_btree.c if (error) error 419 fs/xfs/xfs_da_btree.c return(error); error 629 fs/xfs/xfs_da_btree.c int action, error; error 652 fs/xfs/xfs_da_btree.c error = xfs_attr_leaf_toosmall(state, &action); error 653 fs/xfs/xfs_da_btree.c if (error) error 654 fs/xfs/xfs_da_btree.c return(error); error 660 fs/xfs/xfs_da_btree.c error = xfs_dir2_leafn_toosmall(state, &action); error 661 fs/xfs/xfs_da_btree.c if (error) error 662 fs/xfs/xfs_da_btree.c return error; error 674 fs/xfs/xfs_da_btree.c error = xfs_da_node_toosmall(state, &action); error 675 fs/xfs/xfs_da_btree.c if (error) error 676 fs/xfs/xfs_da_btree.c return(error); error 683 fs/xfs/xfs_da_btree.c error = xfs_da_blk_unlink(state, drop_blk, save_blk); error 685 fs/xfs/xfs_da_btree.c if (error) error 686 fs/xfs/xfs_da_btree.c return(error); error 687 fs/xfs/xfs_da_btree.c error = xfs_da_shrink_inode(state->args, drop_blk->blkno, error 690 fs/xfs/xfs_da_btree.c if (error) error 691 fs/xfs/xfs_da_btree.c return(error); error 700 fs/xfs/xfs_da_btree.c error = xfs_da_root_join(state, &state->path.blk[0]); error 701 fs/xfs/xfs_da_btree.c return(error); error 717 fs/xfs/xfs_da_btree.c int error; error 739 fs/xfs/xfs_da_btree.c error = xfs_da_read_buf(args->trans, args->dp, child, -1, &bp, error 741 fs/xfs/xfs_da_btree.c if (error) error 742 fs/xfs/xfs_da_btree.c return(error); error 755 fs/xfs/xfs_da_btree.c error = xfs_da_shrink_inode(args, child, bp); error 756 fs/xfs/xfs_da_btree.c return(error); error 774 fs/xfs/xfs_da_btree.c int count, forward, error, retval, i; error 806 fs/xfs/xfs_da_btree.c error = xfs_da_path_shift(state, &state->altpath, forward, error 808 fs/xfs/xfs_da_btree.c if (error) error 809 fs/xfs/xfs_da_btree.c return(error); error 834 fs/xfs/xfs_da_btree.c error = xfs_da_read_buf(state->args->trans, state->args->dp, error 836 fs/xfs/xfs_da_btree.c if (error) error 837 fs/xfs/xfs_da_btree.c return(error); error 862 fs/xfs/xfs_da_btree.c error = xfs_da_path_shift(state, &state->altpath, forward, error 864 fs/xfs/xfs_da_btree.c if (error) { error 865 fs/xfs/xfs_da_btree.c return(error); error 872 fs/xfs/xfs_da_btree.c error = xfs_da_path_shift(state, &state->path, forward, error 874 fs/xfs/xfs_da_btree.c if (error) { error 875 fs/xfs/xfs_da_btree.c return(error); error 1056 fs/xfs/xfs_da_btree.c int probe, span, max, error, retval; error 1074 fs/xfs/xfs_da_btree.c error = xfs_da_read_buf(args->trans, args->dp, blkno, error 1076 fs/xfs/xfs_da_btree.c if (error) { error 1079 fs/xfs/xfs_da_btree.c return(error); error 1166 fs/xfs/xfs_da_btree.c error = xfs_da_path_shift(state, &state->path, 1, 1, error 1168 fs/xfs/xfs_da_btree.c if (error) error 1169 fs/xfs/xfs_da_btree.c return(error); error 1196 fs/xfs/xfs_da_btree.c int before=0, error; error 1235 fs/xfs/xfs_da_btree.c error = xfs_da_read_buf(args->trans, args->dp, error 1238 fs/xfs/xfs_da_btree.c if (error) error 1239 fs/xfs/xfs_da_btree.c return(error); error 1256 fs/xfs/xfs_da_btree.c error = xfs_da_read_buf(args->trans, args->dp, error 1259 fs/xfs/xfs_da_btree.c if (error) error 1260 fs/xfs/xfs_da_btree.c return(error); error 1326 fs/xfs/xfs_da_btree.c int error; error 1352 fs/xfs/xfs_da_btree.c error = xfs_da_read_buf(args->trans, args->dp, error 1355 fs/xfs/xfs_da_btree.c if (error) error 1356 fs/xfs/xfs_da_btree.c return(error); error 1369 fs/xfs/xfs_da_btree.c error = xfs_da_read_buf(args->trans, args->dp, error 1372 fs/xfs/xfs_da_btree.c if (error) error 1373 fs/xfs/xfs_da_btree.c return(error); error 1406 fs/xfs/xfs_da_btree.c int level, error; error 1454 fs/xfs/xfs_da_btree.c error = xfs_da_read_buf(args->trans, args->dp, blkno, -1, error 1456 fs/xfs/xfs_da_btree.c if (error) error 1457 fs/xfs/xfs_da_btree.c return(error); error 1566 fs/xfs/xfs_da_btree.c int nmap, error, w, count, c, got, i, mapi; error 1587 fs/xfs/xfs_da_btree.c if ((error = xfs_bmap_first_unused(tp, dp, count, &bno, w))) error 1588 fs/xfs/xfs_da_btree.c return error; error 1596 fs/xfs/xfs_da_btree.c if ((error = xfs_bmapi(tp, dp, bno, count, error 1601 fs/xfs/xfs_da_btree.c return error; error 1617 fs/xfs/xfs_da_btree.c if ((error = xfs_bmapi(tp, dp, b, c, error 1624 fs/xfs/xfs_da_btree.c return error; error 1672 fs/xfs/xfs_da_btree.c int error, w, entno, level, dead_level; error 1686 fs/xfs/xfs_da_btree.c error = xfs_bmap_last_before(tp, ip, &lastoff, w); error 1687 fs/xfs/xfs_da_btree.c if (error) error 1688 fs/xfs/xfs_da_btree.c return error; error 1698 fs/xfs/xfs_da_btree.c if ((error = xfs_da_read_buf(tp, ip, last_blkno, -1, &last_buf, w))) error 1699 fs/xfs/xfs_da_btree.c return error; error 1724 fs/xfs/xfs_da_btree.c if ((error = xfs_da_read_buf(tp, ip, sib_blkno, -1, &sib_buf, w))) error 1732 fs/xfs/xfs_da_btree.c error = XFS_ERROR(EFSCORRUPTED); error 1746 fs/xfs/xfs_da_btree.c if ((error = xfs_da_read_buf(tp, ip, sib_blkno, -1, &sib_buf, w))) error 1754 fs/xfs/xfs_da_btree.c error = XFS_ERROR(EFSCORRUPTED); error 1770 fs/xfs/xfs_da_btree.c if ((error = xfs_da_read_buf(tp, ip, par_blkno, -1, &par_buf, w))) error 1778 fs/xfs/xfs_da_btree.c error = XFS_ERROR(EFSCORRUPTED); error 1790 fs/xfs/xfs_da_btree.c error = XFS_ERROR(EFSCORRUPTED); error 1817 fs/xfs/xfs_da_btree.c error = XFS_ERROR(EFSCORRUPTED); error 1820 fs/xfs/xfs_da_btree.c if ((error = xfs_da_read_buf(tp, ip, par_blkno, -1, &par_buf, w))) error 1828 fs/xfs/xfs_da_btree.c error = XFS_ERROR(EFSCORRUPTED); error 1851 fs/xfs/xfs_da_btree.c return error; error 1862 fs/xfs/xfs_da_btree.c int done, error, w, count; error 1879 fs/xfs/xfs_da_btree.c if ((error = xfs_bunmapi(tp, dp, dead_blkno, count, error 1885 fs/xfs/xfs_da_btree.c if ((error = xfs_da_swap_lastblock(args, &dead_blkno, error 1893 fs/xfs/xfs_da_btree.c return error; error 1940 fs/xfs/xfs_da_btree.c int error=0; error 1965 fs/xfs/xfs_da_btree.c if ((error = error 1968 fs/xfs/xfs_da_btree.c return error; error 1982 fs/xfs/xfs_da_btree.c if ((error = xfs_bmapi(trans, dp, (xfs_fileoff_t)bno, error 1997 fs/xfs/xfs_da_btree.c error = mappedbno == -2 ? 0 : XFS_ERROR(EFSCORRUPTED); error 1998 fs/xfs/xfs_da_btree.c if (unlikely(error == EFSCORRUPTED)) { error 2038 fs/xfs/xfs_da_btree.c error = bp ? XFS_BUF_GETERROR(bp) : XFS_ERROR(EIO); error 2043 fs/xfs/xfs_da_btree.c error = xfs_trans_read_buf(mp, trans, mp->m_ddev_targp, error 2048 fs/xfs/xfs_da_btree.c error = 0; error 2052 fs/xfs/xfs_da_btree.c if (error) { error 2108 fs/xfs/xfs_da_btree.c error = XFS_ERROR(EFSCORRUPTED); error 2134 fs/xfs/xfs_da_btree.c return error; error 57 fs/xfs/xfs_dfrag.c int error = 0; error 61 fs/xfs/xfs_dfrag.c error = XFS_ERROR(ENOMEM); error 66 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EFAULT); error 73 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EINVAL); error 78 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EBADF); error 84 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EINVAL); error 90 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EBADF); error 98 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EINVAL); error 103 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EINVAL); error 108 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EIO); error 112 fs/xfs/xfs_dfrag.c error = xfs_swap_extents(ip, tip, sxp); error 121 fs/xfs/xfs_dfrag.c return error; error 136 fs/xfs/xfs_dfrag.c int error = 0; error 146 fs/xfs/xfs_dfrag.c error = XFS_ERROR(ENOMEM); error 164 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EINVAL); error 170 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EINVAL); error 177 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EINVAL); error 183 fs/xfs/xfs_dfrag.c error = xfs_flushinval_pages(tip, 0, -1, error 185 fs/xfs/xfs_dfrag.c if (error) error 191 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EINVAL); error 199 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EFAULT); error 209 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EINVAL); error 224 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EBUSY); error 235 fs/xfs/xfs_dfrag.c error = XFS_ERROR(EBUSY); error 253 fs/xfs/xfs_dfrag.c if ((error = xfs_trans_reserve(tp, 0, error 269 fs/xfs/xfs_dfrag.c error = xfs_bmap_count_blocks(tp, ip, XFS_ATTR_FORK, &aforkblks); error 270 fs/xfs/xfs_dfrag.c if (error) { error 277 fs/xfs/xfs_dfrag.c error = xfs_bmap_count_blocks(tp, tip, XFS_ATTR_FORK, error 279 fs/xfs/xfs_dfrag.c if (error) { error 365 fs/xfs/xfs_dfrag.c error = xfs_trans_commit(tp, XFS_TRANS_SWAPEXT); error 375 fs/xfs/xfs_dfrag.c return error; error 184 fs/xfs/xfs_dir2.c int error; error 190 fs/xfs/xfs_dir2.c if ((error = xfs_dir_ino_validate(tp->t_mountp, pdp->i_ino))) error 191 fs/xfs/xfs_dir2.c return error; error 519 fs/xfs/xfs_dir2.c int error; error 541 fs/xfs/xfs_dir2.c if ((error = xfs_bmap_first_unused(tp, dp, count, &bno, XFS_DATA_FORK))) error 542 fs/xfs/xfs_dir2.c return error; error 548 fs/xfs/xfs_dir2.c if ((error = xfs_bmapi(tp, dp, bno, count, error 552 fs/xfs/xfs_dir2.c return error; error 580 fs/xfs/xfs_dir2.c if ((error = xfs_bmapi(tp, dp, b, c, error 586 fs/xfs/xfs_dir2.c return error; error 698 fs/xfs/xfs_dir2.c int error; error 710 fs/xfs/xfs_dir2.c if ((error = xfs_bunmapi(tp, dp, da, mp->m_dirblkfsbs, error 727 fs/xfs/xfs_dir2.c return error; error 745 fs/xfs/xfs_dir2.c if ((error = xfs_bmap_last_before(tp, dp, &bno, XFS_DATA_FORK))) { error 749 fs/xfs/xfs_dir2.c return error; error 80 fs/xfs/xfs_dir2_block.c int error; /* error return value */ error 104 fs/xfs/xfs_dir2_block.c if ((error = error 106 fs/xfs/xfs_dir2_block.c return error; error 234 fs/xfs/xfs_dir2_block.c error = xfs_dir2_block_to_leaf(args, bp); error 236 fs/xfs/xfs_dir2_block.c if (error) error 237 fs/xfs/xfs_dir2_block.c return error; error 447 fs/xfs/xfs_dir2_block.c int error; /* error return value */ error 464 fs/xfs/xfs_dir2_block.c error = xfs_da_read_buf(NULL, dp, mp->m_dirdatablk, -1, error 466 fs/xfs/xfs_dir2_block.c if (error) error 467 fs/xfs/xfs_dir2_block.c return error; error 594 fs/xfs/xfs_dir2_block.c int error; /* error return value */ error 602 fs/xfs/xfs_dir2_block.c if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) error 603 fs/xfs/xfs_dir2_block.c return error; error 619 fs/xfs/xfs_dir2_block.c error = xfs_dir_cilookup_result(args, dep->name, dep->namelen); error 621 fs/xfs/xfs_dir2_block.c return XFS_ERROR(error); error 640 fs/xfs/xfs_dir2_block.c int error; /* error return value */ error 655 fs/xfs/xfs_dir2_block.c if ((error = error 657 fs/xfs/xfs_dir2_block.c return error; error 746 fs/xfs/xfs_dir2_block.c int error; /* error return value */ error 759 fs/xfs/xfs_dir2_block.c if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) { error 760 fs/xfs/xfs_dir2_block.c return error; error 827 fs/xfs/xfs_dir2_block.c int error; /* error return value */ error 835 fs/xfs/xfs_dir2_block.c if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) { error 836 fs/xfs/xfs_dir2_block.c return error; error 890 fs/xfs/xfs_dir2_block.c int error; /* error return value */ error 921 fs/xfs/xfs_dir2_block.c if ((error = error 926 fs/xfs/xfs_dir2_block.c error = 0; error 934 fs/xfs/xfs_dir2_block.c (error = xfs_da_read_buf(tp, dp, mp->m_dirdatablk, -1, &dbp, error 955 fs/xfs/xfs_dir2_block.c error = 0; error 997 fs/xfs/xfs_dir2_block.c error = xfs_da_shrink_inode(args, mp->m_dirleafblk, lbp); error 999 fs/xfs/xfs_dir2_block.c if (error) { error 1007 fs/xfs/xfs_dir2_block.c error = 0; error 1016 fs/xfs/xfs_dir2_block.c return error; error 1038 fs/xfs/xfs_dir2_block.c int error; /* error return value */ error 1086 fs/xfs/xfs_dir2_block.c error = xfs_dir2_grow_inode(args, XFS_DIR2_DATA_SPACE, &blkno); error 1087 fs/xfs/xfs_dir2_block.c if (error) { error 1089 fs/xfs/xfs_dir2_block.c return error; error 1094 fs/xfs/xfs_dir2_block.c error = xfs_dir2_data_init(args, blkno, &bp); error 1095 fs/xfs/xfs_dir2_block.c if (error) { error 1097 fs/xfs/xfs_dir2_block.c return error; error 397 fs/xfs/xfs_dir2_data.c int error; /* error return value */ error 409 fs/xfs/xfs_dir2_data.c error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(mp, blkno), -1, &bp, error 411 fs/xfs/xfs_dir2_data.c if (error) { error 412 fs/xfs/xfs_dir2_data.c return error; error 73 fs/xfs/xfs_dir2_leaf.c int error; /* error return code */ error 92 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_da_grow_inode(args, &blkno))) { error 93 fs/xfs/xfs_dir2_leaf.c return error; error 100 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_dir2_leaf_init(args, ldb, &lbp, XFS_DIR2_LEAF1_MAGIC))) { error 101 fs/xfs/xfs_dir2_leaf.c return error; error 170 fs/xfs/xfs_dir2_leaf.c int error; /* error return value */ error 198 fs/xfs/xfs_dir2_leaf.c error = xfs_da_read_buf(tp, dp, mp->m_dirleafblk, -1, &lbp, error 200 fs/xfs/xfs_dir2_leaf.c if (error) { error 201 fs/xfs/xfs_dir2_leaf.c return error; error 287 fs/xfs/xfs_dir2_leaf.c error = xfs_dir2_leaf_to_node(args, lbp); error 289 fs/xfs/xfs_dir2_leaf.c if (error) error 290 fs/xfs/xfs_dir2_leaf.c return error; error 343 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_dir2_grow_inode(args, XFS_DIR2_DATA_SPACE, error 346 fs/xfs/xfs_dir2_leaf.c return error; error 351 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_dir2_data_init(args, use_block, &dbp))) { error 353 fs/xfs/xfs_dir2_leaf.c return error; error 381 fs/xfs/xfs_dir2_leaf.c if ((error = error 385 fs/xfs/xfs_dir2_leaf.c return error; error 766 fs/xfs/xfs_dir2_leaf.c int error = 0; /* error return value */ error 871 fs/xfs/xfs_dir2_leaf.c error = xfs_bmapi(NULL, dp, error 884 fs/xfs/xfs_dir2_leaf.c if (error) error 934 fs/xfs/xfs_dir2_leaf.c error = xfs_da_read_buf(NULL, dp, map->br_startoff, error 943 fs/xfs/xfs_dir2_leaf.c if (error) error 1117 fs/xfs/xfs_dir2_leaf.c return error; error 1132 fs/xfs/xfs_dir2_leaf.c int error; /* error return code */ error 1147 fs/xfs/xfs_dir2_leaf.c error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(mp, bno), -1, &bp, error 1149 fs/xfs/xfs_dir2_leaf.c if (error) { error 1150 fs/xfs/xfs_dir2_leaf.c return error; error 1273 fs/xfs/xfs_dir2_leaf.c int error; /* error return code */ error 1284 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp))) { error 1285 fs/xfs/xfs_dir2_leaf.c return error; error 1305 fs/xfs/xfs_dir2_leaf.c error = xfs_dir_cilookup_result(args, dep->name, dep->namelen); error 1308 fs/xfs/xfs_dir2_leaf.c return XFS_ERROR(error); error 1328 fs/xfs/xfs_dir2_leaf.c int error; /* error return code */ error 1345 fs/xfs/xfs_dir2_leaf.c error = xfs_da_read_buf(tp, dp, mp->m_dirleafblk, -1, &lbp, error 1347 fs/xfs/xfs_dir2_leaf.c if (error) error 1348 fs/xfs/xfs_dir2_leaf.c return error; error 1379 fs/xfs/xfs_dir2_leaf.c error = xfs_da_read_buf(tp, dp, error 1382 fs/xfs/xfs_dir2_leaf.c if (error) { error 1384 fs/xfs/xfs_dir2_leaf.c return error; error 1421 fs/xfs/xfs_dir2_leaf.c error = xfs_da_read_buf(tp, dp, error 1424 fs/xfs/xfs_dir2_leaf.c if (error) { error 1426 fs/xfs/xfs_dir2_leaf.c return error; error 1455 fs/xfs/xfs_dir2_leaf.c int error; /* error return code */ error 1472 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp))) { error 1473 fs/xfs/xfs_dir2_leaf.c return error; error 1529 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_dir2_shrink_inode(args, db, dbp))) { error 1536 fs/xfs/xfs_dir2_leaf.c if (error == ENOSPC && args->total == 0) { error 1538 fs/xfs/xfs_dir2_leaf.c error = 0; error 1542 fs/xfs/xfs_dir2_leaf.c return error; error 1593 fs/xfs/xfs_dir2_leaf.c int error; /* error return code */ error 1604 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp))) { error 1605 fs/xfs/xfs_dir2_leaf.c return error; error 1702 fs/xfs/xfs_dir2_leaf.c int error; /* error return value */ error 1714 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_da_read_buf(tp, dp, xfs_dir2_db_to_da(mp, db), -1, &dbp, error 1716 fs/xfs/xfs_dir2_leaf.c return error; error 1735 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_dir2_shrink_inode(args, db, dbp))) { error 1736 fs/xfs/xfs_dir2_leaf.c ASSERT(error != ENOSPC); error 1738 fs/xfs/xfs_dir2_leaf.c return error; error 1762 fs/xfs/xfs_dir2_leaf.c int error; /* error return code */ error 1787 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_bmap_last_offset(tp, dp, &fo, XFS_DATA_FORK))) { error 1788 fs/xfs/xfs_dir2_leaf.c return error; error 1798 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_dir2_node_trim_free(args, fo, &rval))) { error 1799 fs/xfs/xfs_dir2_leaf.c return error; error 1809 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_bmap_last_before(tp, dp, &fo, XFS_DATA_FORK))) { error 1810 fs/xfs/xfs_dir2_leaf.c return error; error 1823 fs/xfs/xfs_dir2_leaf.c if ((error = xfs_da_read_buf(tp, dp, mp->m_dirfreeblk, -1, &fbp, error 1825 fs/xfs/xfs_dir2_leaf.c return error; error 1867 fs/xfs/xfs_dir2_leaf.c error = xfs_dir2_shrink_inode(args, XFS_DIR2_FREE_FIRSTDB(mp), fbp); error 1868 fs/xfs/xfs_dir2_leaf.c if (error) { error 1874 fs/xfs/xfs_dir2_leaf.c ASSERT(error != ENOSPC); error 1875 fs/xfs/xfs_dir2_leaf.c return error; error 1884 fs/xfs/xfs_dir2_leaf.c error = xfs_dir2_leaf_to_block(args, lbp, NULL); error 1886 fs/xfs/xfs_dir2_leaf.c return error; error 112 fs/xfs/xfs_dir2_node.c int error; /* error return value */ error 133 fs/xfs/xfs_dir2_node.c if ((error = xfs_dir2_grow_inode(args, XFS_DIR2_FREE_SPACE, &fdb))) { error 134 fs/xfs/xfs_dir2_node.c return error; error 140 fs/xfs/xfs_dir2_node.c if ((error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(mp, fdb), -1, &fbp, error 142 fs/xfs/xfs_dir2_node.c return error; error 404 fs/xfs/xfs_dir2_node.c int error; /* error return value */ error 482 fs/xfs/xfs_dir2_node.c error = xfs_da_read_buf(tp, dp, error 485 fs/xfs/xfs_dir2_node.c if (error) error 486 fs/xfs/xfs_dir2_node.c return error; error 551 fs/xfs/xfs_dir2_node.c int error; /* error return value */ error 618 fs/xfs/xfs_dir2_node.c error = xfs_da_read_buf(tp, dp, error 621 fs/xfs/xfs_dir2_node.c if (error) error 622 fs/xfs/xfs_dir2_node.c return error; error 986 fs/xfs/xfs_dir2_node.c int error; /* error return value */ error 998 fs/xfs/xfs_dir2_node.c if ((error = xfs_da_read_buf(tp, dp, xfs_dir2_db_to_da(mp, fdb), error 1000 fs/xfs/xfs_dir2_node.c return error; error 1020 fs/xfs/xfs_dir2_node.c error = xfs_dir2_shrink_inode(args, db, dbp); error 1021 fs/xfs/xfs_dir2_node.c if (error == 0) { error 1030 fs/xfs/xfs_dir2_node.c else if (error == ENOSPC && args->total == 0) error 1033 fs/xfs/xfs_dir2_node.c return error; error 1073 fs/xfs/xfs_dir2_node.c error = xfs_dir2_shrink_inode(args, fdb, fbp); error 1074 fs/xfs/xfs_dir2_node.c if (error == 0) { error 1077 fs/xfs/xfs_dir2_node.c } else if (error != ENOSPC || args->total != 0) error 1078 fs/xfs/xfs_dir2_node.c return error; error 1129 fs/xfs/xfs_dir2_node.c int error; /* error return value */ error 1139 fs/xfs/xfs_dir2_node.c error = xfs_da_grow_inode(args, &blkno); error 1140 fs/xfs/xfs_dir2_node.c if (error) { error 1141 fs/xfs/xfs_dir2_node.c return error; error 1146 fs/xfs/xfs_dir2_node.c error = xfs_dir2_leaf_init(args, xfs_dir2_da_to_db(mp, blkno), error 1148 fs/xfs/xfs_dir2_node.c if (error) { error 1149 fs/xfs/xfs_dir2_node.c return error; error 1158 fs/xfs/xfs_dir2_node.c error = xfs_da_blk_link(state, oldblk, newblk); error 1159 fs/xfs/xfs_dir2_node.c if (error) { error 1160 fs/xfs/xfs_dir2_node.c return error; error 1166 fs/xfs/xfs_dir2_node.c error = xfs_dir2_leafn_add(oldblk->bp, args, oldblk->index); error 1168 fs/xfs/xfs_dir2_node.c error = xfs_dir2_leafn_add(newblk->bp, args, newblk->index); error 1176 fs/xfs/xfs_dir2_node.c return error; error 1198 fs/xfs/xfs_dir2_node.c int error; /* error return value */ error 1236 fs/xfs/xfs_dir2_node.c error = xfs_da_path_shift(state, &state->altpath, forward, 0, error 1238 fs/xfs/xfs_dir2_node.c if (error) error 1239 fs/xfs/xfs_dir2_node.c return error; error 1258 fs/xfs/xfs_dir2_node.c if ((error = error 1261 fs/xfs/xfs_dir2_node.c return error; error 1299 fs/xfs/xfs_dir2_node.c error = xfs_da_path_shift(state, &state->altpath, forward, 0, error 1302 fs/xfs/xfs_dir2_node.c error = xfs_da_path_shift(state, &state->path, forward, 0, error 1304 fs/xfs/xfs_dir2_node.c if (error) { error 1305 fs/xfs/xfs_dir2_node.c return error; error 1362 fs/xfs/xfs_dir2_node.c int error; /* error return value */ error 1379 fs/xfs/xfs_dir2_node.c error = xfs_da_node_lookup_int(state, &rval); error 1380 fs/xfs/xfs_dir2_node.c if (error) error 1381 fs/xfs/xfs_dir2_node.c rval = error; error 1440 fs/xfs/xfs_dir2_node.c int error; /* error return value */ error 1509 fs/xfs/xfs_dir2_node.c if ((error = xfs_bmap_last_offset(tp, dp, &fo, XFS_DATA_FORK))) error 1510 fs/xfs/xfs_dir2_node.c return error; error 1546 fs/xfs/xfs_dir2_node.c if ((error = xfs_da_read_buf(tp, dp, error 1549 fs/xfs/xfs_dir2_node.c return error; error 1600 fs/xfs/xfs_dir2_node.c if (unlikely((error = xfs_dir2_grow_inode(args, error 1603 fs/xfs/xfs_dir2_node.c (error = xfs_dir2_data_init(args, dbno, &dbp)))) { error 1610 fs/xfs/xfs_dir2_node.c return error; error 1625 fs/xfs/xfs_dir2_node.c if (unlikely(error = xfs_da_read_buf(tp, dp, error 1629 fs/xfs/xfs_dir2_node.c return error; error 1636 fs/xfs/xfs_dir2_node.c if ((error = xfs_dir2_grow_inode(args, XFS_DIR2_FREE_SPACE, error 1638 fs/xfs/xfs_dir2_node.c return error; error 1671 fs/xfs/xfs_dir2_node.c if ((error = xfs_da_get_buf(tp, dp, error 1674 fs/xfs/xfs_dir2_node.c return error; error 1743 fs/xfs/xfs_dir2_node.c error = xfs_da_read_buf(tp, dp, xfs_dir2_db_to_da(mp, dbno), error 1747 fs/xfs/xfs_dir2_node.c return error; error 1820 fs/xfs/xfs_dir2_node.c int error; /* error return value */ error 1837 fs/xfs/xfs_dir2_node.c error = xfs_da_node_lookup_int(state, &rval); error 1838 fs/xfs/xfs_dir2_node.c if (error) error 1839 fs/xfs/xfs_dir2_node.c rval = error; error 1874 fs/xfs/xfs_dir2_node.c int error; /* error return value */ error 1890 fs/xfs/xfs_dir2_node.c error = xfs_da_node_lookup_int(state, &rval); error 1891 fs/xfs/xfs_dir2_node.c if (error) error 1892 fs/xfs/xfs_dir2_node.c rval = error; error 1907 fs/xfs/xfs_dir2_node.c error = xfs_dir2_leafn_remove(args, blk->bp, blk->index, error 1909 fs/xfs/xfs_dir2_node.c if (error) error 1910 fs/xfs/xfs_dir2_node.c return error; error 1919 fs/xfs/xfs_dir2_node.c error = xfs_da_join(state); error 1923 fs/xfs/xfs_dir2_node.c if (!error) error 1924 fs/xfs/xfs_dir2_node.c error = xfs_dir2_node_to_leaf(state); error 1926 fs/xfs/xfs_dir2_node.c return error; error 1939 fs/xfs/xfs_dir2_node.c int error; /* error return value */ error 1960 fs/xfs/xfs_dir2_node.c error = xfs_da_node_lookup_int(state, &rval); error 1961 fs/xfs/xfs_dir2_node.c if (error) { error 1962 fs/xfs/xfs_dir2_node.c rval = error; error 2023 fs/xfs/xfs_dir2_node.c int error; /* error return code */ error 2034 fs/xfs/xfs_dir2_node.c if (unlikely(error = xfs_da_read_buf(tp, dp, (xfs_dablk_t)fo, -2, &bp, error 2036 fs/xfs/xfs_dir2_node.c return error; error 2059 fs/xfs/xfs_dir2_node.c if ((error = error 2067 fs/xfs/xfs_dir2_node.c ASSERT(error != ENOSPC); error 2069 fs/xfs/xfs_dir2_node.c return error; error 164 fs/xfs/xfs_dir2_sf.c int error; /* error return value */ error 183 fs/xfs/xfs_dir2_sf.c if ((error = xfs_dir2_shrink_inode(args, mp->m_dirdatablk, bp))) { error 184 fs/xfs/xfs_dir2_sf.c ASSERT(error != ENOSPC); error 259 fs/xfs/xfs_dir2_sf.c return error; error 274 fs/xfs/xfs_dir2_sf.c int error; /* error return value */ error 340 fs/xfs/xfs_dir2_sf.c error = xfs_dir2_sf_to_block(args); error 341 fs/xfs/xfs_dir2_sf.c if (error) error 342 fs/xfs/xfs_dir2_sf.c return error; error 815 fs/xfs/xfs_dir2_sf.c int error; error 884 fs/xfs/xfs_dir2_sf.c error = xfs_dir_cilookup_result(args, ci_sfep->name, ci_sfep->namelen); error 885 fs/xfs/xfs_dir2_sf.c return XFS_ERROR(error); error 1015 fs/xfs/xfs_dir2_sf.c int error; /* error return value */ error 1027 fs/xfs/xfs_dir2_sf.c error = xfs_dir2_sf_to_block(args); error 1028 fs/xfs/xfs_dir2_sf.c if (error) { error 1029 fs/xfs/xfs_dir2_sf.c return error; error 57 fs/xfs/xfs_error.h error = XFS_ERROR(EFSCORRUPTED); \ error 133 fs/xfs/xfs_fsops.c int error; error 147 fs/xfs/xfs_fsops.c if ((error = xfs_sb_validate_fsb_count(&mp->m_sb, nb))) error 148 fs/xfs/xfs_fsops.c return error; error 150 fs/xfs/xfs_fsops.c error = xfs_read_buf(mp, mp->m_ddev_targp, error 153 fs/xfs/xfs_fsops.c if (error) error 154 fs/xfs/xfs_fsops.c return error; error 184 fs/xfs/xfs_fsops.c if ((error = xfs_trans_reserve(tp, XFS_GROWFS_SPACE_RES(mp), error 187 fs/xfs/xfs_fsops.c return error; error 220 fs/xfs/xfs_fsops.c error = xfs_bwrite(mp, bp); error 221 fs/xfs/xfs_fsops.c if (error) { error 244 fs/xfs/xfs_fsops.c error = xfs_bwrite(mp, bp); error 245 fs/xfs/xfs_fsops.c if (error) { error 265 fs/xfs/xfs_fsops.c error = xfs_bwrite(mp, bp); error 266 fs/xfs/xfs_fsops.c if (error) { error 287 fs/xfs/xfs_fsops.c error = xfs_bwrite(mp, bp); error 288 fs/xfs/xfs_fsops.c if (error) { error 304 fs/xfs/xfs_fsops.c error = xfs_bwrite(mp, bp); error 305 fs/xfs/xfs_fsops.c if (error) { error 317 fs/xfs/xfs_fsops.c error = xfs_ialloc_read_agi(mp, tp, agno, &bp); error 318 fs/xfs/xfs_fsops.c if (error) { error 330 fs/xfs/xfs_fsops.c error = xfs_alloc_read_agf(mp, tp, agno, 0, &bp); error 331 fs/xfs/xfs_fsops.c if (error) { error 343 fs/xfs/xfs_fsops.c error = xfs_free_extent(tp, XFS_AGB_TO_FSB(mp, agno, error 345 fs/xfs/xfs_fsops.c if (error) { error 358 fs/xfs/xfs_fsops.c error = xfs_trans_commit(tp, 0); error 359 fs/xfs/xfs_fsops.c if (error) { error 360 fs/xfs/xfs_fsops.c return error; error 372 fs/xfs/xfs_fsops.c error = xfs_read_buf(mp, mp->m_ddev_targp, error 375 fs/xfs/xfs_fsops.c if (error) { error 378 fs/xfs/xfs_fsops.c error, agno); error 387 fs/xfs/xfs_fsops.c if (!(error = xfs_bwrite(mp, bp))) { error 392 fs/xfs/xfs_fsops.c error, agno); error 400 fs/xfs/xfs_fsops.c return error; error 437 fs/xfs/xfs_fsops.c int error; error 440 fs/xfs/xfs_fsops.c error = xfs_growfs_data_private(mp, in); error 442 fs/xfs/xfs_fsops.c return error; error 450 fs/xfs/xfs_fsops.c int error; error 453 fs/xfs/xfs_fsops.c error = xfs_growfs_log_private(mp, in); error 455 fs/xfs/xfs_fsops.c return error; error 584 fs/xfs/xfs_fsops.c int error; error 585 fs/xfs/xfs_fsops.c error = xfs_mod_incore_sb(mp, XFS_SBS_FDBLOCKS, fdblks_delta, 0); error 586 fs/xfs/xfs_fsops.c if (error == ENOSPC) error 137 fs/xfs/xfs_ialloc.c int error; error 200 fs/xfs/xfs_ialloc.c if ((error = xfs_alloc_vextent(&args))) error 201 fs/xfs/xfs_ialloc.c return error; error 240 fs/xfs/xfs_ialloc.c if ((error = xfs_alloc_vextent(&args))) error 241 fs/xfs/xfs_ialloc.c return error; error 254 fs/xfs/xfs_ialloc.c if ((error = xfs_alloc_vextent(&args))) error 255 fs/xfs/xfs_ialloc.c return error; error 343 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_lookup_eq(cur, thisino, error 346 fs/xfs/xfs_ialloc.c return error; error 349 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_insert(cur, &i))) { error 351 fs/xfs/xfs_ialloc.c return error; error 546 fs/xfs/xfs_ialloc.c int error; /* error return value */ error 624 fs/xfs/xfs_ialloc.c if ((error = xfs_ialloc_ag_alloc(tp, agbp, &ialloced))) { error 626 fs/xfs/xfs_ialloc.c if (error == ENOSPC) { error 630 fs/xfs/xfs_ialloc.c return error; error 665 fs/xfs/xfs_ialloc.c error = xfs_ialloc_read_agi(mp, tp, tagno, &agbp); error 667 fs/xfs/xfs_ialloc.c if (error) error 691 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_lookup_ge(cur, 0, 0, 0, &i))) error 695 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_get_rec(cur, &rec.ir_startino, error 700 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_increment(cur, 0, &i))) error 712 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_lookup_le(cur, pagino, 0, 0, &i))) error 715 fs/xfs/xfs_ialloc.c (error = xfs_inobt_get_rec(cur, &rec.ir_startino, error 731 fs/xfs/xfs_ialloc.c if (error) error 739 fs/xfs/xfs_ialloc.c if ((error = xfs_btree_dup_cursor(cur, &tcur))) error 744 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_decrement(tcur, 0, &i))) error 748 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_get_rec(tcur, error 758 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_increment(cur, 0, &i))) error 762 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_get_rec(cur, error 820 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_decrement(tcur, 0, error 825 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_get_rec( error 840 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_increment(cur, 0, error 845 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_get_rec( error 864 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_lookup_eq(cur, error 868 fs/xfs/xfs_ialloc.c (error = xfs_inobt_get_rec(cur, &rec.ir_startino, error 881 fs/xfs/xfs_ialloc.c if (error) error 883 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_lookup_ge(cur, 0, 0, 0, &i))) error 887 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_get_rec(cur, error 895 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_increment(cur, 0, &i))) error 909 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_update(cur, rec.ir_startino, rec.ir_freecount, error 921 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_lookup_ge(cur, 0, 0, 0, &i))) error 924 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_get_rec(cur, &rec.ir_startino, error 929 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_increment(cur, 0, &i))) error 944 fs/xfs/xfs_ialloc.c return error; error 968 fs/xfs/xfs_ialloc.c int error; /* error return value */ error 1011 fs/xfs/xfs_ialloc.c error = xfs_ialloc_read_agi(mp, tp, agno, &agbp); error 1013 fs/xfs/xfs_ialloc.c if (error) { error 1016 fs/xfs/xfs_ialloc.c error, mp->m_fsname); error 1017 fs/xfs/xfs_ialloc.c return error; error 1031 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_lookup_ge(cur, 0, 0, 0, &i))) error 1034 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_get_rec(cur, &rec.ir_startino, error 1039 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_increment(cur, 0, &i))) error 1050 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_lookup_le(cur, agino, 0, 0, &i))) { error 1053 fs/xfs/xfs_ialloc.c error, mp->m_fsname); error 1057 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_get_rec(cur, &rec.ir_startino, &rec.ir_freecount, error 1061 fs/xfs/xfs_ialloc.c error, mp->m_fsname); error 1101 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_delete(cur, &i))) { error 1103 fs/xfs/xfs_ialloc.c error, mp->m_fsname); error 1113 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_update(cur, rec.ir_startino, rec.ir_freecount, rec.ir_free))) { error 1116 fs/xfs/xfs_ialloc.c error, mp->m_fsname); error 1134 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_lookup_ge(cur, 0, 0, 0, &i))) error 1137 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_get_rec(cur, error 1144 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_increment(cur, 0, &i))) error 1157 fs/xfs/xfs_ialloc.c return error; error 1185 fs/xfs/xfs_ialloc.c int error; /* error code */ error 1251 fs/xfs/xfs_ialloc.c error = xfs_ialloc_read_agi(mp, tp, agno, &agbp); error 1253 fs/xfs/xfs_ialloc.c if (error) { error 1258 fs/xfs/xfs_ialloc.c error, agno); error 1260 fs/xfs/xfs_ialloc.c return error; error 1264 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_lookup_le(cur, agino, 0, 0, &i))) { error 1271 fs/xfs/xfs_ialloc.c if ((error = xfs_inobt_get_rec(cur, &chunk_agino, &chunk_cnt, error 1284 fs/xfs/xfs_ialloc.c error = XFS_ERROR(EINVAL); error 1288 fs/xfs/xfs_ialloc.c if (error) error 1289 fs/xfs/xfs_ialloc.c return error; error 1305 fs/xfs/xfs_ialloc.c return error; error 1387 fs/xfs/xfs_ialloc.c int error; error 1390 fs/xfs/xfs_ialloc.c error = xfs_trans_read_buf( error 1394 fs/xfs/xfs_ialloc.c if (error) error 1395 fs/xfs/xfs_ialloc.c return error; error 1450 fs/xfs/xfs_ialloc.c int error; error 1452 fs/xfs/xfs_ialloc.c error = xfs_ialloc_read_agi(mp, tp, agno, &bp); error 1453 fs/xfs/xfs_ialloc.c if (error) error 1454 fs/xfs/xfs_ialloc.c return error; error 71 fs/xfs/xfs_ialloc_btree.c int error; /* error return value */ error 112 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, level, bp))) error 113 fs/xfs/xfs_ialloc_btree.c return error; error 134 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(pp[i]), level))) error 135 fs/xfs/xfs_ialloc_btree.c return error; error 196 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_free_extent(cur->bc_tp, error 198 fs/xfs/xfs_ialloc_btree.c return error; error 208 fs/xfs/xfs_ialloc_btree.c (error = xfs_inobt_decrement(cur, level, &i))) error 209 fs/xfs/xfs_ialloc_btree.c return error; error 217 fs/xfs/xfs_ialloc_btree.c if (ptr == 1 && (error = xfs_inobt_updkey(cur, kp, level + 1))) error 218 fs/xfs/xfs_ialloc_btree.c return error; error 225 fs/xfs/xfs_ialloc_btree.c (error = xfs_inobt_decrement(cur, level, &i))) error 226 fs/xfs/xfs_ialloc_btree.c return error; error 243 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_dup_cursor(cur, &tcur))) error 244 fs/xfs/xfs_ialloc_btree.c return error; error 256 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_increment(tcur, level, &i))) error 267 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, right, level, rbp))) error 281 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_lshift(tcur, level, &i))) error 289 fs/xfs/xfs_ialloc_btree.c (error = xfs_inobt_decrement(cur, level, error 291 fs/xfs/xfs_ialloc_btree.c return error; error 304 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_decrement(tcur, level, &i))) error 318 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_decrement(tcur, level, &i))) error 327 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, left, level, lbp))) error 341 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_rshift(tcur, level, &i))) error 381 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_read_bufs(mp, cur->bc_tp, error 384 fs/xfs/xfs_ialloc_btree.c return error; error 387 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, left, level, lbp))) error 388 fs/xfs/xfs_ialloc_btree.c return error; error 403 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_read_bufs(mp, cur->bc_tp, error 406 fs/xfs/xfs_ialloc_btree.c return error; error 409 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, right, level, rbp))) error 410 fs/xfs/xfs_ialloc_btree.c return error; error 417 fs/xfs/xfs_ialloc_btree.c if (level > 0 && (error = xfs_inobt_decrement(cur, level, &i))) error 418 fs/xfs/xfs_ialloc_btree.c return error; error 436 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(rpp[i]), level))) error 437 fs/xfs/xfs_ialloc_btree.c return error; error 466 fs/xfs/xfs_ialloc_btree.c (error = xfs_alloc_increment(cur, level + 1, &i))) error 467 fs/xfs/xfs_ialloc_btree.c return error; error 486 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_read_bufs(mp, cur->bc_tp, error 489 fs/xfs/xfs_ialloc_btree.c return error; error 491 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, rrblock, level, rrbp))) error 492 fs/xfs/xfs_ialloc_btree.c return error; error 499 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_free_extent(cur->bc_tp, XFS_AGB_TO_FSB(mp, error 501 fs/xfs/xfs_ialloc_btree.c return error; error 519 fs/xfs/xfs_ialloc_btree.c return error; error 537 fs/xfs/xfs_ialloc_btree.c int error; /* error return value */ error 563 fs/xfs/xfs_ialloc_btree.c error = xfs_inobt_newroot(cur, &i); error 566 fs/xfs/xfs_ialloc_btree.c return error; error 587 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, level, bp))) error 588 fs/xfs/xfs_ialloc_btree.c return error; error 612 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_rshift(cur, level, &i))) error 613 fs/xfs/xfs_ialloc_btree.c return error; error 621 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_lshift(cur, level, &i))) error 622 fs/xfs/xfs_ialloc_btree.c return error; error 632 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_split(cur, level, &nbno, error 634 fs/xfs/xfs_ialloc_btree.c return error; error 639 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, error 641 fs/xfs/xfs_ialloc_btree.c return error; error 669 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(pp[i - 1]), level))) error 670 fs/xfs/xfs_ialloc_btree.c return error; error 681 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sptr(cur, *bnop, level))) error 682 fs/xfs/xfs_ialloc_btree.c return error; error 726 fs/xfs/xfs_ialloc_btree.c if (optr == 1 && (error = xfs_inobt_updkey(cur, &key, level + 1))) error 727 fs/xfs/xfs_ialloc_btree.c return error; error 845 fs/xfs/xfs_ialloc_btree.c int error; /* error return value */ error 887 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_read_bufs(mp, cur->bc_tp, error 889 fs/xfs/xfs_ialloc_btree.c return error; error 895 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, level, error 897 fs/xfs/xfs_ialloc_btree.c return error; error 995 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sptr(cur, agbno, level))) error 996 fs/xfs/xfs_ialloc_btree.c return error; error 1017 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_increment(cur, 0, &i))) error 1018 fs/xfs/xfs_ialloc_btree.c return error; error 1047 fs/xfs/xfs_ialloc_btree.c int error; /* error return value */ error 1070 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, right, level, rbp))) error 1071 fs/xfs/xfs_ialloc_btree.c return error; error 1091 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_read_bufs(cur->bc_mp, cur->bc_tp, error 1094 fs/xfs/xfs_ialloc_btree.c return error; error 1096 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, left, level, lbp))) error 1097 fs/xfs/xfs_ialloc_btree.c return error; error 1117 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(*rpp), level))) error 1118 fs/xfs/xfs_ialloc_btree.c return error; error 1151 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(rpp[i + 1]), error 1153 fs/xfs/xfs_ialloc_btree.c return error; error 1169 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_updkey(cur, rkp, level + 1))) error 1170 fs/xfs/xfs_ialloc_btree.c return error; error 1191 fs/xfs/xfs_ialloc_btree.c int error; /* error return value */ error 1219 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_alloc_vextent(&args))) error 1220 fs/xfs/xfs_ialloc_btree.c return error; error 1247 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, cur->bc_nlevels - 1, bp))) error 1248 fs/xfs/xfs_ialloc_btree.c return error; error 1258 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_read_bufs(args.mp, args.tp, args.agno, error 1260 fs/xfs/xfs_ialloc_btree.c return error; error 1263 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, right, error 1265 fs/xfs/xfs_ialloc_btree.c return error; error 1275 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_read_bufs(args.mp, args.tp, args.agno, error 1277 fs/xfs/xfs_ialloc_btree.c return error; error 1280 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, left, error 1282 fs/xfs/xfs_ialloc_btree.c return error; error 1336 fs/xfs/xfs_ialloc_btree.c int error; /* error return value */ error 1357 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, left, level, lbp))) error 1358 fs/xfs/xfs_ialloc_btree.c return error; error 1378 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_read_bufs(cur->bc_mp, cur->bc_tp, error 1381 fs/xfs/xfs_ialloc_btree.c return error; error 1383 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, right, level, rbp))) error 1384 fs/xfs/xfs_ialloc_btree.c return error; error 1403 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(rpp[i]), level))) error 1404 fs/xfs/xfs_ialloc_btree.c return error; error 1410 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(*lpp), level))) error 1411 fs/xfs/xfs_ialloc_btree.c return error; error 1443 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_dup_cursor(cur, &tcur))) error 1444 fs/xfs/xfs_ialloc_btree.c return error; error 1446 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_increment(tcur, level, &i)) || error 1447 fs/xfs/xfs_ialloc_btree.c (error = xfs_inobt_updkey(tcur, rkp, level + 1))) { error 1449 fs/xfs/xfs_ialloc_btree.c return error; error 1470 fs/xfs/xfs_ialloc_btree.c int error; /* error return value */ error 1500 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_alloc_vextent(&args))) error 1501 fs/xfs/xfs_ialloc_btree.c return error; error 1517 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, left, level, lbp))) error 1518 fs/xfs/xfs_ialloc_btree.c return error; error 1544 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(lpp[i]), level))) error 1545 fs/xfs/xfs_ialloc_btree.c return error; error 1582 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_read_bufs(args.mp, args.tp, args.agno, error 1585 fs/xfs/xfs_ialloc_btree.c return error; error 1587 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, rrblock, level, rrbp))) error 1588 fs/xfs/xfs_ialloc_btree.c return error; error 1606 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_dup_cursor(cur, curp))) error 1607 fs/xfs/xfs_ialloc_btree.c return error; error 1636 fs/xfs/xfs_ialloc_btree.c int error; /* error return value */ error 1643 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, level, bp))) error 1644 fs/xfs/xfs_ialloc_btree.c return error; error 1669 fs/xfs/xfs_ialloc_btree.c int error; error 1690 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, level, error 1692 fs/xfs/xfs_ialloc_btree.c return error; error 1727 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_read_bufs(cur->bc_mp, cur->bc_tp, error 1730 fs/xfs/xfs_ialloc_btree.c return error; error 1734 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, lev, bp))) error 1735 fs/xfs/xfs_ialloc_btree.c return error; error 1752 fs/xfs/xfs_ialloc_btree.c int error; error 1762 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_delrec(cur, level, &i))) error 1763 fs/xfs/xfs_ialloc_btree.c return error; error 1768 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_decrement(cur, level, &i))) error 1769 fs/xfs/xfs_ialloc_btree.c return error; error 1793 fs/xfs/xfs_ialloc_btree.c int error; /* error return value */ error 1802 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, 0, bp))) error 1803 fs/xfs/xfs_ialloc_btree.c return error; error 1835 fs/xfs/xfs_ialloc_btree.c int error; /* error return value */ error 1849 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, level, bp))) error 1850 fs/xfs/xfs_ialloc_btree.c return error; error 1875 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, lev, bp))) error 1876 fs/xfs/xfs_ialloc_btree.c return error; error 1899 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_read_bufs(cur->bc_mp, cur->bc_tp, error 1902 fs/xfs/xfs_ialloc_btree.c return error; error 1906 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, lev, bp))) error 1907 fs/xfs/xfs_ialloc_btree.c return error; error 1923 fs/xfs/xfs_ialloc_btree.c int error; /* error return value */ error 1948 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_insrec(pcur, level++, &nbno, &nrec, &ncur, error 1952 fs/xfs/xfs_ialloc_btree.c return error; error 2042 fs/xfs/xfs_ialloc_btree.c int error; /* error return value */ error 2052 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_btree_check_sblock(cur, block, 0, bp))) error 2053 fs/xfs/xfs_ialloc_btree.c return error; error 2074 fs/xfs/xfs_ialloc_btree.c if ((error = xfs_inobt_updkey(cur, &key, 1))) error 2075 fs/xfs/xfs_ialloc_btree.c return error; error 80 fs/xfs/xfs_iget.c int error; error 204 fs/xfs/xfs_iget.c error = xfs_iread(mp, tp, ino, &ip, bno, error 206 fs/xfs/xfs_iget.c if (error) { error 208 fs/xfs/xfs_iget.c return error; error 252 fs/xfs/xfs_iget.c error = radix_tree_insert(&pag->pag_ici_root, agino, ip); error 253 fs/xfs/xfs_iget.c if (unlikely(error)) { error 254 fs/xfs/xfs_iget.c BUG_ON(error != -EEXIST); error 329 fs/xfs/xfs_iget.c int error; error 343 fs/xfs/xfs_iget.c error = xfs_iget_core(inode, mp, tp, ino, flags, error 345 fs/xfs/xfs_iget.c if (error) { error 351 fs/xfs/xfs_iget.c return error; error 141 fs/xfs/xfs_inode.c int error; error 146 fs/xfs/xfs_inode.c error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, imap->im_blkno, error 148 fs/xfs/xfs_inode.c if (error) { error 149 fs/xfs/xfs_inode.c if (error != EAGAIN) { error 153 fs/xfs/xfs_inode.c error, mp->m_fsname); error 157 fs/xfs/xfs_inode.c return error; error 235 fs/xfs/xfs_inode.c int error; error 238 fs/xfs/xfs_inode.c error = xfs_imap(mp, tp, ino, &imap, XFS_IMAP_LOOKUP); error 239 fs/xfs/xfs_inode.c if (error) error 240 fs/xfs/xfs_inode.c return error; error 242 fs/xfs/xfs_inode.c error = xfs_imap_to_bp(mp, tp, &imap, &bp, XFS_BUF_LOCK, 0); error 243 fs/xfs/xfs_inode.c if (error) error 244 fs/xfs/xfs_inode.c return error; error 286 fs/xfs/xfs_inode.c int error; error 290 fs/xfs/xfs_inode.c error = xfs_imap(mp, tp, ip->i_ino, &imap, error 292 fs/xfs/xfs_inode.c if (error) error 293 fs/xfs/xfs_inode.c return error; error 313 fs/xfs/xfs_inode.c error = xfs_imap_to_bp(mp, tp, &imap, &bp, buf_flags, imap_flags); error 314 fs/xfs/xfs_inode.c if (error) error 315 fs/xfs/xfs_inode.c return error; error 345 fs/xfs/xfs_inode.c int error; error 349 fs/xfs/xfs_inode.c error = 0; error 424 fs/xfs/xfs_inode.c error = xfs_iformat_local(ip, dip, XFS_DATA_FORK, size); error 427 fs/xfs/xfs_inode.c error = xfs_iformat_extents(ip, dip, XFS_DATA_FORK); error 430 fs/xfs/xfs_inode.c error = xfs_iformat_btree(ip, dip, XFS_DATA_FORK); error 443 fs/xfs/xfs_inode.c if (error) { error 444 fs/xfs/xfs_inode.c return error; error 456 fs/xfs/xfs_inode.c error = xfs_iformat_local(ip, dip, XFS_ATTR_FORK, size); error 459 fs/xfs/xfs_inode.c error = xfs_iformat_extents(ip, dip, XFS_ATTR_FORK); error 462 fs/xfs/xfs_inode.c error = xfs_iformat_btree(ip, dip, XFS_ATTR_FORK); error 465 fs/xfs/xfs_inode.c error = XFS_ERROR(EFSCORRUPTED); error 468 fs/xfs/xfs_inode.c if (error) { error 473 fs/xfs/xfs_inode.c return error; error 810 fs/xfs/xfs_inode.c int error; error 827 fs/xfs/xfs_inode.c error = xfs_itobp(mp, tp, ip, &dip, &bp, bno, imap_flags, XFS_BUF_LOCK); error 828 fs/xfs/xfs_inode.c if (error) { error 830 fs/xfs/xfs_inode.c return error; error 882 fs/xfs/xfs_inode.c error = xfs_iformat(ip, dip); error 883 fs/xfs/xfs_inode.c if (error) { error 889 fs/xfs/xfs_inode.c error); error 891 fs/xfs/xfs_inode.c return error; error 971 fs/xfs/xfs_inode.c int error; error 992 fs/xfs/xfs_inode.c error = xfs_bmap_read_extents(tp, ip, whichfork); error 993 fs/xfs/xfs_inode.c if (error) { error 996 fs/xfs/xfs_inode.c return error; error 1050 fs/xfs/xfs_inode.c int error; error 1057 fs/xfs/xfs_inode.c error = xfs_dialloc(tp, pip ? pip->i_ino : 0, mode, okalloc, error 1059 fs/xfs/xfs_inode.c if (error != 0) { error 1060 fs/xfs/xfs_inode.c return error; error 1073 fs/xfs/xfs_inode.c error = xfs_trans_iget(tp->t_mountp, tp, ino, error 1075 fs/xfs/xfs_inode.c if (error != 0) { error 1076 fs/xfs/xfs_inode.c return error; error 1159 fs/xfs/xfs_inode.c error = xfs_filestream_associate(pip, ip); error 1160 fs/xfs/xfs_inode.c if (error < 0) error 1161 fs/xfs/xfs_inode.c return -error; error 1162 fs/xfs/xfs_inode.c if (!error) error 1297 fs/xfs/xfs_inode.c int error; error 1309 fs/xfs/xfs_inode.c error = xfs_bmap_last_offset(NULL, ip, &last_block, error 1311 fs/xfs/xfs_inode.c if (error) { error 1407 fs/xfs/xfs_inode.c int error = 0; error 1456 fs/xfs/xfs_inode.c error = xfs_flushinval_pages(ip, toss_start, error 1466 fs/xfs/xfs_inode.c return error; error 1532 fs/xfs/xfs_inode.c int error; error 1666 fs/xfs/xfs_inode.c error = xfs_bunmapi(ntp, ip, error 1673 fs/xfs/xfs_inode.c if (error) { error 1682 fs/xfs/xfs_inode.c return error; error 1689 fs/xfs/xfs_inode.c error = xfs_bmap_finish(tp, &free_list, &committed); error 1698 fs/xfs/xfs_inode.c if (error) { error 1710 fs/xfs/xfs_inode.c return error; error 1722 fs/xfs/xfs_inode.c error = xfs_trans_commit(*tp, 0); error 1729 fs/xfs/xfs_inode.c if (!error) error 1730 fs/xfs/xfs_inode.c error = xfs_trans_reserve(ntp, 0, error 1734 fs/xfs/xfs_inode.c if (error) error 1735 fs/xfs/xfs_inode.c return error; error 1789 fs/xfs/xfs_inode.c int error; error 1805 fs/xfs/xfs_inode.c error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, agdaddr, error 1807 fs/xfs/xfs_inode.c if (error) error 1808 fs/xfs/xfs_inode.c return error; error 1840 fs/xfs/xfs_inode.c error = xfs_itobp(mp, tp, ip, &dip, &ibp, 0, 0, XFS_BUF_LOCK); error 1841 fs/xfs/xfs_inode.c if (error) error 1842 fs/xfs/xfs_inode.c return error; error 1889 fs/xfs/xfs_inode.c int error; error 1904 fs/xfs/xfs_inode.c error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, agdaddr, error 1906 fs/xfs/xfs_inode.c if (error) { error 1909 fs/xfs/xfs_inode.c error, mp->m_fsname); error 1910 fs/xfs/xfs_inode.c return error; error 1948 fs/xfs/xfs_inode.c error = xfs_itobp(mp, tp, ip, &dip, &ibp, 0, 0, XFS_BUF_LOCK); error 1949 fs/xfs/xfs_inode.c if (error) { error 1952 fs/xfs/xfs_inode.c error, mp->m_fsname); error 1953 fs/xfs/xfs_inode.c return error; error 1994 fs/xfs/xfs_inode.c error = xfs_inotobp(mp, tp, next_ino, &last_dip, error 1996 fs/xfs/xfs_inode.c if (error) { error 1999 fs/xfs/xfs_inode.c error, mp->m_fsname); error 2000 fs/xfs/xfs_inode.c return error; error 2010 fs/xfs/xfs_inode.c error = xfs_itobp(mp, tp, ip, &dip, &ibp, 0, 0, XFS_BUF_LOCK); error 2011 fs/xfs/xfs_inode.c if (error) { error 2014 fs/xfs/xfs_inode.c error, mp->m_fsname); error 2015 fs/xfs/xfs_inode.c return error; error 2223 fs/xfs/xfs_inode.c int error; error 2241 fs/xfs/xfs_inode.c error = xfs_iunlink_remove(tp, ip); error 2242 fs/xfs/xfs_inode.c if (error != 0) { error 2243 fs/xfs/xfs_inode.c return error; error 2246 fs/xfs/xfs_inode.c error = xfs_difree(tp, ip->i_ino, flist, &delete, &first_ino); error 2247 fs/xfs/xfs_inode.c if (error != 0) { error 2248 fs/xfs/xfs_inode.c return error; error 2266 fs/xfs/xfs_inode.c error = xfs_itobp(ip->i_mount, tp, ip, &dip, &ibp, 0, 0, XFS_BUF_LOCK); error 2267 fs/xfs/xfs_inode.c if (error) error 2268 fs/xfs/xfs_inode.c return error; error 2539 fs/xfs/xfs_inode.c int error; error 2543 fs/xfs/xfs_inode.c error = xfs_dilocate(mp, tp, ino, &fsbno, &len, &off, flags); error 2544 fs/xfs/xfs_inode.c if (error) error 2545 fs/xfs/xfs_inode.c return error; error 2982 fs/xfs/xfs_inode.c int error; error 2983 fs/xfs/xfs_inode.c error = xfs_iflush_int(iq, bp); error 2984 fs/xfs/xfs_inode.c if (error) { error 3068 fs/xfs/xfs_inode.c int error; error 3175 fs/xfs/xfs_inode.c error = xfs_itobp(mp, NULL, ip, &dip, &bp, 0, 0, error 3177 fs/xfs/xfs_inode.c if (error || !bp) { error 3179 fs/xfs/xfs_inode.c return error; error 3185 fs/xfs/xfs_inode.c error = xfs_iflush_int(ip, bp); error 3186 fs/xfs/xfs_inode.c if (error) error 3200 fs/xfs/xfs_inode.c error = xfs_iflush_cluster(ip, bp); error 3201 fs/xfs/xfs_inode.c if (error) error 3207 fs/xfs/xfs_inode.c error = xfs_bawrite(mp, bp); error 3209 fs/xfs/xfs_inode.c error = xfs_bwrite(mp, bp); error 3211 fs/xfs/xfs_inode.c return error; error 816 fs/xfs/xfs_inode_item.c int error; error 817 fs/xfs/xfs_inode_item.c error = xfs_bawrite(mp, bp); error 818 fs/xfs/xfs_inode_item.c if (error) error 821 fs/xfs/xfs_inode_item.c error, iip, bp); error 179 fs/xfs/xfs_iomap.c int error = 0; error 227 fs/xfs/xfs_iomap.c error = xfs_bmapi(NULL, ip, offset_fsb, error 232 fs/xfs/xfs_iomap.c if (error) error 247 fs/xfs/xfs_iomap.c error = xfs_iomap_write_direct(ip, offset, count, flags, error 250 fs/xfs/xfs_iomap.c error = xfs_iomap_write_delay(ip, offset, count, flags, error 253 fs/xfs/xfs_iomap.c if (!error) { error 270 fs/xfs/xfs_iomap.c error = xfs_iomap_write_allocate(ip, offset, count, error 285 fs/xfs/xfs_iomap.c return XFS_ERROR(error); error 299 fs/xfs/xfs_iomap.c int eof, error; error 332 fs/xfs/xfs_iomap.c error = xfs_bmap_eof(ip, new_last_fsb, XFS_DATA_FORK, &eof); error 333 fs/xfs/xfs_iomap.c if (error) error 334 fs/xfs/xfs_iomap.c return error; error 416 fs/xfs/xfs_iomap.c int error; error 422 fs/xfs/xfs_iomap.c error = XFS_QM_DQATTACH(ip->i_mount, ip, XFS_QMOPT_ILOCKED); error 423 fs/xfs/xfs_iomap.c if (error) error 424 fs/xfs/xfs_iomap.c return XFS_ERROR(error); error 436 fs/xfs/xfs_iomap.c error = xfs_iomap_eof_align_last_fsb(mp, ip, isize, extsz, error 438 fs/xfs/xfs_iomap.c if (error) error 473 fs/xfs/xfs_iomap.c error = xfs_trans_reserve(tp, resblks, error 480 fs/xfs/xfs_iomap.c if (error) error 483 fs/xfs/xfs_iomap.c if (error) error 486 fs/xfs/xfs_iomap.c error = XFS_TRANS_RESERVE_QUOTA_NBLKS(mp, tp, ip, error 488 fs/xfs/xfs_iomap.c if (error) error 503 fs/xfs/xfs_iomap.c error = xfs_bmapi(tp, ip, offset_fsb, count_fsb, bmapi_flag, error 505 fs/xfs/xfs_iomap.c if (error) error 511 fs/xfs/xfs_iomap.c error = xfs_bmap_finish(&tp, &free_list, &committed); error 512 fs/xfs/xfs_iomap.c if (error) error 514 fs/xfs/xfs_iomap.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 515 fs/xfs/xfs_iomap.c if (error) error 522 fs/xfs/xfs_iomap.c error = ENOSPC; error 527 fs/xfs/xfs_iomap.c error = xfs_cmn_err_fsblock_zero(ip, &imap); error 544 fs/xfs/xfs_iomap.c return XFS_ERROR(error); error 573 fs/xfs/xfs_iomap.c int n, error, imaps; error 588 fs/xfs/xfs_iomap.c error = xfs_bmapi(NULL, ip, start_fsb, count_fsb, 0, error 590 fs/xfs/xfs_iomap.c if (error) error 591 fs/xfs/xfs_iomap.c return error; error 624 fs/xfs/xfs_iomap.c int error; error 632 fs/xfs/xfs_iomap.c error = XFS_QM_DQATTACH(mp, ip, XFS_QMOPT_ILOCKED); error 633 fs/xfs/xfs_iomap.c if (error) error 634 fs/xfs/xfs_iomap.c return XFS_ERROR(error); error 644 fs/xfs/xfs_iomap.c error = xfs_iomap_eof_want_preallocate(mp, ip, isize, offset, count, error 646 fs/xfs/xfs_iomap.c if (error) error 647 fs/xfs/xfs_iomap.c return error; error 658 fs/xfs/xfs_iomap.c error = xfs_iomap_eof_align_last_fsb(mp, ip, isize, extsz, error 660 fs/xfs/xfs_iomap.c if (error) error 661 fs/xfs/xfs_iomap.c return error; error 666 fs/xfs/xfs_iomap.c error = xfs_bmapi(NULL, ip, offset_fsb, error 671 fs/xfs/xfs_iomap.c if (error && (error != ENOSPC)) error 672 fs/xfs/xfs_iomap.c return XFS_ERROR(error); error 684 fs/xfs/xfs_iomap.c error = 0; error 724 fs/xfs/xfs_iomap.c int error = 0; error 732 fs/xfs/xfs_iomap.c if ((error = XFS_QM_DQATTACH(mp, ip, 0))) error 733 fs/xfs/xfs_iomap.c return XFS_ERROR(error); error 756 fs/xfs/xfs_iomap.c error = xfs_trans_reserve(tp, nres, error 760 fs/xfs/xfs_iomap.c if (error) { error 762 fs/xfs/xfs_iomap.c return XFS_ERROR(error); error 803 fs/xfs/xfs_iomap.c error = xfs_bmap_last_offset(NULL, ip, &last_block, error 805 fs/xfs/xfs_iomap.c if (error) error 812 fs/xfs/xfs_iomap.c error = EAGAIN; error 818 fs/xfs/xfs_iomap.c error = xfs_bmapi(tp, ip, map_start_fsb, count_fsb, error 821 fs/xfs/xfs_iomap.c if (error) error 824 fs/xfs/xfs_iomap.c error = xfs_bmap_finish(&tp, &free_list, &committed); error 825 fs/xfs/xfs_iomap.c if (error) error 828 fs/xfs/xfs_iomap.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 829 fs/xfs/xfs_iomap.c if (error) error 864 fs/xfs/xfs_iomap.c return XFS_ERROR(error); error 884 fs/xfs/xfs_iomap.c int error; error 912 fs/xfs/xfs_iomap.c error = xfs_trans_reserve(tp, resblks, error 916 fs/xfs/xfs_iomap.c if (error) { error 918 fs/xfs/xfs_iomap.c return XFS_ERROR(error); error 930 fs/xfs/xfs_iomap.c error = xfs_bmapi(tp, ip, offset_fsb, count_fsb, error 933 fs/xfs/xfs_iomap.c if (error) error 936 fs/xfs/xfs_iomap.c error = xfs_bmap_finish(&(tp), &(free_list), &committed); error 937 fs/xfs/xfs_iomap.c if (error) error 940 fs/xfs/xfs_iomap.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 942 fs/xfs/xfs_iomap.c if (error) error 943 fs/xfs/xfs_iomap.c return XFS_ERROR(error); error 966 fs/xfs/xfs_iomap.c return XFS_ERROR(error); error 62 fs/xfs/xfs_itable.c int error; error 64 fs/xfs/xfs_itable.c error = xfs_iget(mp, NULL, ino, error 66 fs/xfs/xfs_itable.c if (error) { error 68 fs/xfs/xfs_itable.c return error; error 121 fs/xfs/xfs_itable.c return error; error 222 fs/xfs/xfs_itable.c int error = 0; /* error value */ error 240 fs/xfs/xfs_itable.c error = xfs_bulkstat_one_iget(mp, ino, bno, buf, stat); error 241 fs/xfs/xfs_itable.c if (error) error 247 fs/xfs/xfs_itable.c error = formatter(buffer, buf); error 248 fs/xfs/xfs_itable.c if (error < 0) { error 249 fs/xfs/xfs_itable.c error = EFAULT; error 255 fs/xfs/xfs_itable.c *ubused = error; error 259 fs/xfs/xfs_itable.c return error; error 336 fs/xfs/xfs_itable.c int error; /* error code */ error 405 fs/xfs/xfs_itable.c error = xfs_ialloc_read_agi(mp, NULL, agno, &agbp); error 407 fs/xfs/xfs_itable.c if (error) { error 432 fs/xfs/xfs_itable.c error = xfs_inobt_lookup_le(cur, agino, 0, 0, &tmp); error 433 fs/xfs/xfs_itable.c if (!error && /* no I/O error */ error 436 fs/xfs/xfs_itable.c !(error = xfs_inobt_get_rec(cur, &gino, &gcnt, error 474 fs/xfs/xfs_itable.c if (!error) error 475 fs/xfs/xfs_itable.c error = xfs_inobt_increment(cur, 0, &tmp); error 480 fs/xfs/xfs_itable.c error = xfs_inobt_lookup_ge(cur, 0, 0, 0, &tmp); error 492 fs/xfs/xfs_itable.c while (error) { error 497 fs/xfs/xfs_itable.c error = xfs_inobt_lookup_ge(cur, agino, 0, 0, error 505 fs/xfs/xfs_itable.c if (error || error 506 fs/xfs/xfs_itable.c (error = xfs_inobt_get_rec(cur, &gino, &gcnt, error 542 fs/xfs/xfs_itable.c error = xfs_inobt_increment(cur, 0, &tmp); error 605 fs/xfs/xfs_itable.c error = xfs_itobp(mp, NULL, ip, error 609 fs/xfs/xfs_itable.c if (!error) error 612 fs/xfs/xfs_itable.c if (XFS_TEST_ERROR(error != 0, error 617 fs/xfs/xfs_itable.c rval = error; error 662 fs/xfs/xfs_itable.c error = formatter(mp, ino, ubufp, error 666 fs/xfs/xfs_itable.c if (error && error != ENOENT && error 667 fs/xfs/xfs_itable.c error != EINVAL) { error 669 fs/xfs/xfs_itable.c rval = error; error 677 fs/xfs/xfs_itable.c ASSERT(error); error 678 fs/xfs/xfs_itable.c rval = error; error 742 fs/xfs/xfs_itable.c int error; /* return value */ error 756 fs/xfs/xfs_itable.c error = xfs_bulkstat_one(mp, ino, buffer, sizeof(xfs_bstat_t), error 758 fs/xfs/xfs_itable.c if (error) { error 768 fs/xfs/xfs_itable.c return error; error 770 fs/xfs/xfs_itable.c return error == EFSCORRUPTED ? error 771 fs/xfs/xfs_itable.c XFS_ERROR(EINVAL) : error; error 810 fs/xfs/xfs_itable.c int error; error 826 fs/xfs/xfs_itable.c error = bufidx = 0; error 832 fs/xfs/xfs_itable.c error = xfs_ialloc_read_agi(mp, NULL, agno, &agbp); error 834 fs/xfs/xfs_itable.c if (error) { error 847 fs/xfs/xfs_itable.c error = xfs_inobt_lookup_ge(cur, agino, 0, 0, &tmp); error 848 fs/xfs/xfs_itable.c if (error) { error 862 fs/xfs/xfs_itable.c if ((error = xfs_inobt_get_rec(cur, &gino, &gcnt, &gfree, error 882 fs/xfs/xfs_itable.c error = XFS_ERROR(EFAULT); error 890 fs/xfs/xfs_itable.c error = xfs_inobt_increment(cur, 0, &tmp); error 891 fs/xfs/xfs_itable.c if (error) { error 905 fs/xfs/xfs_itable.c if (!error) { error 909 fs/xfs/xfs_itable.c error = XFS_ERROR(EFAULT); error 917 fs/xfs/xfs_itable.c xfs_btree_del_cursor(cur, (error ? XFS_BTREE_ERROR : error 921 fs/xfs/xfs_itable.c return error; error 427 fs/xfs/xfs_log.c int error; error 428 fs/xfs/xfs_log.c error = _xfs_log_force(mp, lsn, flags, NULL); error 429 fs/xfs/xfs_log.c if (error) { error 431 fs/xfs/xfs_log.c "error %d returned.", error); error 554 fs/xfs/xfs_log.c int error; error 571 fs/xfs/xfs_log.c error = xfs_trans_ail_init(mp); error 572 fs/xfs/xfs_log.c if (error) { error 573 fs/xfs/xfs_log.c cmn_err(CE_WARN, "XFS: AIL initialisation failed: error %d", error); error 574 fs/xfs/xfs_log.c goto error; error 587 fs/xfs/xfs_log.c error = xlog_recover(mp->m_log); error 591 fs/xfs/xfs_log.c if (error) { error 592 fs/xfs/xfs_log.c cmn_err(CE_WARN, "XFS: log mount/recovery failed: error %d", error); error 593 fs/xfs/xfs_log.c goto error; error 602 fs/xfs/xfs_log.c error: error 604 fs/xfs/xfs_log.c return error; error 618 fs/xfs/xfs_log.c int error; error 621 fs/xfs/xfs_log.c error = xlog_recover_finish(mp->m_log); error 623 fs/xfs/xfs_log.c error = 0; error 627 fs/xfs/xfs_log.c return error; error 636 fs/xfs/xfs_log.c int error; error 638 fs/xfs/xfs_log.c error = xfs_log_unmount_write(mp); error 640 fs/xfs/xfs_log.c return error; error 670 fs/xfs/xfs_log.c int error; error 686 fs/xfs/xfs_log.c error = _xfs_log_force(mp, 0, XFS_LOG_FORCE|XFS_LOG_SYNC, NULL); error 687 fs/xfs/xfs_log.c ASSERT(error || !(XLOG_FORCED_SHUTDOWN(log))); error 704 fs/xfs/xfs_log.c error = xfs_log_reserve(mp, 600, 1, &tic, error 706 fs/xfs/xfs_log.c if (!error) { error 709 fs/xfs/xfs_log.c error = xlog_write(mp, reg, 1, tic, &lsn, error 718 fs/xfs/xfs_log.c if (error) { error 729 fs/xfs/xfs_log.c error = xlog_state_release_iclog(log, iclog); error 768 fs/xfs/xfs_log.c error = xlog_state_release_iclog(log, iclog); error 783 fs/xfs/xfs_log.c return error; error 811 fs/xfs/xfs_log.c int error; error 817 fs/xfs/xfs_log.c if ((error = xlog_write(mp, reg, nentries, tic, start_lsn, NULL, 0))) { error 820 fs/xfs/xfs_log.c return error; error 1339 fs/xfs/xfs_log.c int error; error 1347 fs/xfs/xfs_log.c if ((error = xlog_write(mp, reg, 1, ticket, commitlsnp, error 1351 fs/xfs/xfs_log.c return error; error 1456 fs/xfs/xfs_log.c int error; error 1537 fs/xfs/xfs_log.c if ((error = XFS_bwrite(bp))) { error 1540 fs/xfs/xfs_log.c return error; error 1576 fs/xfs/xfs_log.c if ((error = XFS_bwrite(bp))) { error 1579 fs/xfs/xfs_log.c return error; error 1806 fs/xfs/xfs_log.c int error; error 1844 fs/xfs/xfs_log.c if ((error = xlog_state_get_iclog_space(log, len, &iclog, ticket, error 1846 fs/xfs/xfs_log.c return error; error 1951 fs/xfs/xfs_log.c if ((error = xlog_state_release_iclog(log, iclog))) error 1952 fs/xfs/xfs_log.c return error; error 1965 fs/xfs/xfs_log.c } else if ((error = xlog_state_release_iclog(log, iclog))) error 1966 fs/xfs/xfs_log.c return error; error 2394 fs/xfs/xfs_log.c int error; error 2456 fs/xfs/xfs_log.c error = xlog_state_release_iclog(log, iclog); error 2457 fs/xfs/xfs_log.c if (error) error 2458 fs/xfs/xfs_log.c return error; error 106 fs/xfs/xfs_log_recover.c int error; error 124 fs/xfs/xfs_log_recover.c error = xfs_iowait(bp); error 125 fs/xfs/xfs_log_recover.c if (error) error 128 fs/xfs/xfs_log_recover.c return error; error 143 fs/xfs/xfs_log_recover.c int error; error 161 fs/xfs/xfs_log_recover.c if ((error = xfs_bwrite(log->l_mp, bp))) error 164 fs/xfs/xfs_log_recover.c return error; error 309 fs/xfs/xfs_log_recover.c int error; error 313 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, mid_blk, 1, bp))) error 314 fs/xfs/xfs_log_recover.c return error; error 355 fs/xfs/xfs_log_recover.c int error = 0; error 371 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, i, bcount, bp))) error 390 fs/xfs/xfs_log_recover.c return error; error 416 fs/xfs/xfs_log_recover.c int error = 0; error 428 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, start_blk, num_blks, bp))) error 440 fs/xfs/xfs_log_recover.c error = XFS_ERROR(EIO); error 445 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, i, 1, bp))) error 465 fs/xfs/xfs_log_recover.c error = -1; error 473 fs/xfs/xfs_log_recover.c if ((error = xlog_header_check_mount(log->l_mp, head))) error 499 fs/xfs/xfs_log_recover.c return error; error 526 fs/xfs/xfs_log_recover.c int error, log_bbnum = log->l_logBBsize; error 529 fs/xfs/xfs_log_recover.c if ((error = xlog_find_zeroed(log, &first_blk)) == -1) { error 542 fs/xfs/xfs_log_recover.c } else if (error) { error 544 fs/xfs/xfs_log_recover.c return error; error 551 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, 0, 1, bp))) error 557 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, last_blk, 1, bp))) error 624 fs/xfs/xfs_log_recover.c if ((error = xlog_find_cycle_start(log, bp, first_blk, error 643 fs/xfs/xfs_log_recover.c if ((error = xlog_find_verify_cycle(log, error 680 fs/xfs/xfs_log_recover.c if ((error = xlog_find_verify_cycle(log, start_blk, error 696 fs/xfs/xfs_log_recover.c if ((error = xlog_find_verify_cycle(log, error 714 fs/xfs/xfs_log_recover.c if ((error = xlog_find_verify_log_record(log, start_blk, error 716 fs/xfs/xfs_log_recover.c error = XFS_ERROR(EIO); error 718 fs/xfs/xfs_log_recover.c } else if (error) error 723 fs/xfs/xfs_log_recover.c if ((error = xlog_find_verify_log_record(log, start_blk, error 731 fs/xfs/xfs_log_recover.c if ((error = xlog_find_verify_log_record(log, error 734 fs/xfs/xfs_log_recover.c error = XFS_ERROR(EIO); error 736 fs/xfs/xfs_log_recover.c } else if (error) error 740 fs/xfs/xfs_log_recover.c } else if (error) error 760 fs/xfs/xfs_log_recover.c if (error) error 762 fs/xfs/xfs_log_recover.c return error; error 791 fs/xfs/xfs_log_recover.c int error, i, found; error 802 fs/xfs/xfs_log_recover.c if ((error = xlog_find_head(log, head_blk))) error 803 fs/xfs/xfs_log_recover.c return error; error 809 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, 0, 1, bp))) error 824 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, i, 1, bp))) error 840 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, i, 1, bp))) error 914 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, umount_data_blk, 1, bp))) { error 963 fs/xfs/xfs_log_recover.c error = xlog_clear_stale_blocks(log, tail_lsn); error 970 fs/xfs/xfs_log_recover.c if (error) error 972 fs/xfs/xfs_log_recover.c return error; error 1001 fs/xfs/xfs_log_recover.c int error, log_bbnum = log->l_logBBsize; error 1009 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, 0, 1, bp))) error 1020 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, log_bbnum-1, 1, bp))) error 1039 fs/xfs/xfs_log_recover.c if ((error = xlog_find_cycle_start(log, bp, 0, &last_blk, 0))) error 1061 fs/xfs/xfs_log_recover.c if ((error = xlog_find_verify_cycle(log, start_blk, error 1071 fs/xfs/xfs_log_recover.c if ((error = xlog_find_verify_log_record(log, start_blk, error 1073 fs/xfs/xfs_log_recover.c error = XFS_ERROR(EIO); error 1075 fs/xfs/xfs_log_recover.c } else if (error) error 1081 fs/xfs/xfs_log_recover.c if (error) error 1082 fs/xfs/xfs_log_recover.c return error; error 1128 fs/xfs/xfs_log_recover.c int error = 0; error 1144 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, start_block, 1, bp))) { error 1146 fs/xfs/xfs_log_recover.c return error; error 1165 fs/xfs/xfs_log_recover.c error = XFS_BUF_SET_PTR(bp, offset + balign, error 1167 fs/xfs/xfs_log_recover.c if (!error) error 1168 fs/xfs/xfs_log_recover.c error = xlog_bread(log, ealign, sectbb, bp); error 1169 fs/xfs/xfs_log_recover.c if (!error) error 1170 fs/xfs/xfs_log_recover.c error = XFS_BUF_SET_PTR(bp, offset, bufblks); error 1171 fs/xfs/xfs_log_recover.c if (error) error 1181 fs/xfs/xfs_log_recover.c error = xlog_bwrite(log, start_block, endcount, bp); error 1182 fs/xfs/xfs_log_recover.c if (error) error 1188 fs/xfs/xfs_log_recover.c return error; error 1216 fs/xfs/xfs_log_recover.c int error; error 1284 fs/xfs/xfs_log_recover.c error = xlog_write_log_records(log, (head_cycle - 1), error 1287 fs/xfs/xfs_log_recover.c if (error) error 1288 fs/xfs/xfs_log_recover.c return error; error 1298 fs/xfs/xfs_log_recover.c error = xlog_write_log_records(log, (head_cycle - 1), error 1302 fs/xfs/xfs_log_recover.c if (error) error 1303 fs/xfs/xfs_log_recover.c return error; error 1314 fs/xfs/xfs_log_recover.c error = xlog_write_log_records(log, head_cycle, 0, distance, error 1316 fs/xfs/xfs_log_recover.c if (error) error 1317 fs/xfs/xfs_log_recover.c return error; error 1891 fs/xfs/xfs_log_recover.c int error; error 1917 fs/xfs/xfs_log_recover.c error = 0; error 1920 fs/xfs/xfs_log_recover.c error = xfs_qm_dqcheck((xfs_disk_dquot_t *) error 1925 fs/xfs/xfs_log_recover.c if (!error) error 2132 fs/xfs/xfs_log_recover.c int error; error 2186 fs/xfs/xfs_log_recover.c error = XFS_BUF_GETERROR(bp); error 2188 fs/xfs/xfs_log_recover.c return error; error 2191 fs/xfs/xfs_log_recover.c error = 0; error 2193 fs/xfs/xfs_log_recover.c error = xlog_recover_do_inode_buffer(mp, item, bp, buf_f); error 2200 fs/xfs/xfs_log_recover.c if (error) error 2201 fs/xfs/xfs_log_recover.c return XFS_ERROR(error); error 2223 fs/xfs/xfs_log_recover.c error = xfs_bwrite(mp, bp); error 2232 fs/xfs/xfs_log_recover.c return (error); error 2250 fs/xfs/xfs_log_recover.c int error; error 2266 fs/xfs/xfs_log_recover.c error = xfs_inode_item_format_convert(&item->ri_buf[0], in_f); error 2267 fs/xfs/xfs_log_recover.c if (error) error 2268 fs/xfs/xfs_log_recover.c goto error; error 2288 fs/xfs/xfs_log_recover.c error = xfs_imap(log->l_mp, NULL, ino, &imap, 0); error 2289 fs/xfs/xfs_log_recover.c if (error) error 2290 fs/xfs/xfs_log_recover.c goto error; error 2298 fs/xfs/xfs_log_recover.c error = 0; error 2299 fs/xfs/xfs_log_recover.c goto error; error 2307 fs/xfs/xfs_log_recover.c error = XFS_BUF_GETERROR(bp); error 2309 fs/xfs/xfs_log_recover.c goto error; error 2311 fs/xfs/xfs_log_recover.c error = 0; error 2326 fs/xfs/xfs_log_recover.c error = EFSCORRUPTED; error 2327 fs/xfs/xfs_log_recover.c goto error; error 2337 fs/xfs/xfs_log_recover.c error = EFSCORRUPTED; error 2338 fs/xfs/xfs_log_recover.c goto error; error 2352 fs/xfs/xfs_log_recover.c error = 0; error 2353 fs/xfs/xfs_log_recover.c goto error; error 2368 fs/xfs/xfs_log_recover.c error = EFSCORRUPTED; error 2369 fs/xfs/xfs_log_recover.c goto error; error 2381 fs/xfs/xfs_log_recover.c error = EFSCORRUPTED; error 2382 fs/xfs/xfs_log_recover.c goto error; error 2394 fs/xfs/xfs_log_recover.c error = EFSCORRUPTED; error 2395 fs/xfs/xfs_log_recover.c goto error; error 2404 fs/xfs/xfs_log_recover.c error = EFSCORRUPTED; error 2405 fs/xfs/xfs_log_recover.c goto error; error 2414 fs/xfs/xfs_log_recover.c error = EFSCORRUPTED; error 2415 fs/xfs/xfs_log_recover.c goto error; error 2502 fs/xfs/xfs_log_recover.c error = EIO; error 2503 fs/xfs/xfs_log_recover.c goto error; error 2516 fs/xfs/xfs_log_recover.c error = xfs_bwrite(mp, bp); error 2519 fs/xfs/xfs_log_recover.c error: error 2522 fs/xfs/xfs_log_recover.c return XFS_ERROR(error); error 2571 fs/xfs/xfs_log_recover.c int error; error 2608 fs/xfs/xfs_log_recover.c if ((error = xfs_qm_dqcheck(recddq, error 2616 fs/xfs/xfs_log_recover.c error = xfs_read_buf(mp, mp->m_ddev_targp, error 2620 fs/xfs/xfs_log_recover.c if (error) { error 2623 fs/xfs/xfs_log_recover.c return error; error 2665 fs/xfs/xfs_log_recover.c int error; error 2678 fs/xfs/xfs_log_recover.c if ((error = xfs_efi_copy_format(&(item->ri_buf[0]), error 2681 fs/xfs/xfs_log_recover.c return error; error 2764 fs/xfs/xfs_log_recover.c int error = 0; error 2767 fs/xfs/xfs_log_recover.c if ((error = xlog_recover_reorder_trans(trans))) error 2768 fs/xfs/xfs_log_recover.c return error; error 2781 fs/xfs/xfs_log_recover.c if ((error = xlog_recover_do_buffer_trans(log, item, error 2785 fs/xfs/xfs_log_recover.c if ((error = xlog_recover_do_inode_trans(log, item, error 2789 fs/xfs/xfs_log_recover.c if ((error = xlog_recover_do_efi_trans(log, item, trans->r_lsn, error 2795 fs/xfs/xfs_log_recover.c if ((error = xlog_recover_do_dquot_trans(log, item, error 2799 fs/xfs/xfs_log_recover.c if ((error = xlog_recover_do_quotaoff_trans(log, item, error 2805 fs/xfs/xfs_log_recover.c error = XFS_ERROR(EIO); error 2811 fs/xfs/xfs_log_recover.c return error; error 2849 fs/xfs/xfs_log_recover.c int error; error 2851 fs/xfs/xfs_log_recover.c if ((error = xlog_recover_unlink_tid(q, trans))) error 2852 fs/xfs/xfs_log_recover.c return error; error 2853 fs/xfs/xfs_log_recover.c if ((error = xlog_recover_do_trans(log, trans, pass))) error 2854 fs/xfs/xfs_log_recover.c return error; error 2890 fs/xfs/xfs_log_recover.c int error; error 2931 fs/xfs/xfs_log_recover.c error = xlog_recover_commit_trans(log, error 2935 fs/xfs/xfs_log_recover.c error = xlog_recover_unmount_trans(trans); error 2938 fs/xfs/xfs_log_recover.c error = xlog_recover_add_to_cont_trans(trans, error 2945 fs/xfs/xfs_log_recover.c error = XFS_ERROR(EIO); error 2949 fs/xfs/xfs_log_recover.c error = xlog_recover_add_to_trans(trans, error 2956 fs/xfs/xfs_log_recover.c error = XFS_ERROR(EIO); error 2959 fs/xfs/xfs_log_recover.c if (error) error 2960 fs/xfs/xfs_log_recover.c return error; error 2980 fs/xfs/xfs_log_recover.c int error = 0; error 3009 fs/xfs/xfs_log_recover.c error = xfs_trans_reserve(tp, 0, XFS_ITRUNCATE_LOG_RES(mp), 0, 0, 0); error 3010 fs/xfs/xfs_log_recover.c if (error) error 3016 fs/xfs/xfs_log_recover.c error = xfs_free_extent(tp, extp->ext_start, extp->ext_len); error 3017 fs/xfs/xfs_log_recover.c if (error) error 3024 fs/xfs/xfs_log_recover.c error = xfs_trans_commit(tp, 0); error 3025 fs/xfs/xfs_log_recover.c return error; error 3029 fs/xfs/xfs_log_recover.c return error; error 3085 fs/xfs/xfs_log_recover.c int error = 0; error 3110 fs/xfs/xfs_log_recover.c error = xlog_recover_process_efi(mp, efip); error 3111 fs/xfs/xfs_log_recover.c if (error) error 3112 fs/xfs/xfs_log_recover.c return error; error 3117 fs/xfs/xfs_log_recover.c return error; error 3134 fs/xfs/xfs_log_recover.c int error; error 3137 fs/xfs/xfs_log_recover.c error = xfs_trans_reserve(tp, 0, XFS_CLEAR_AGI_BUCKET_LOG_RES(mp), 0, 0, 0); error 3138 fs/xfs/xfs_log_recover.c if (!error) error 3139 fs/xfs/xfs_log_recover.c error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, error 3142 fs/xfs/xfs_log_recover.c if (error) error 3145 fs/xfs/xfs_log_recover.c error = EINVAL; error 3156 fs/xfs/xfs_log_recover.c error = xfs_trans_commit(tp, 0); error 3157 fs/xfs/xfs_log_recover.c if (error) error 3195 fs/xfs/xfs_log_recover.c int error; error 3234 fs/xfs/xfs_log_recover.c error = xfs_iget(mp, NULL, ino, 0, 0, &ip, 0); error 3235 fs/xfs/xfs_log_recover.c ASSERT(error || (ip != NULL)); error 3237 fs/xfs/xfs_log_recover.c if (!error) { error 3242 fs/xfs/xfs_log_recover.c error = xfs_itobp(mp, NULL, ip, &dip, error 3245 fs/xfs/xfs_log_recover.c ASSERT(error || (dip != NULL)); error 3248 fs/xfs/xfs_log_recover.c if (!error) { error 3513 fs/xfs/xfs_log_recover.c int error = 0, h_size; error 3533 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, tail_blk, 1, hbp))) error 3537 fs/xfs/xfs_log_recover.c error = xlog_valid_rec_header(log, rhead, tail_blk); error 3538 fs/xfs/xfs_log_recover.c if (error) error 3569 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, blk_no, hblks, hbp))) error 3573 fs/xfs/xfs_log_recover.c error = xlog_valid_rec_header(log, rhead, blk_no); error 3574 fs/xfs/xfs_log_recover.c if (error) error 3579 fs/xfs/xfs_log_recover.c error = xlog_bread(log, blk_no + hblks, bblks, dbp); error 3580 fs/xfs/xfs_log_recover.c if (error) error 3584 fs/xfs/xfs_log_recover.c if ((error = xlog_recover_process_data(log, error 3605 fs/xfs/xfs_log_recover.c error = xlog_bread(log, blk_no, hblks, hbp); error 3606 fs/xfs/xfs_log_recover.c if (error) error 3616 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, blk_no, error 3636 fs/xfs/xfs_log_recover.c error = XFS_BUF_SET_PTR(hbp, error 3639 fs/xfs/xfs_log_recover.c if (!error) error 3640 fs/xfs/xfs_log_recover.c error = xlog_bread(log, 0, error 3642 fs/xfs/xfs_log_recover.c if (!error) error 3643 fs/xfs/xfs_log_recover.c error = XFS_BUF_SET_PTR(hbp, bufaddr, error 3645 fs/xfs/xfs_log_recover.c if (error) error 3652 fs/xfs/xfs_log_recover.c error = xlog_valid_rec_header(log, rhead, error 3654 fs/xfs/xfs_log_recover.c if (error) error 3662 fs/xfs/xfs_log_recover.c error = xlog_bread(log, blk_no, bblks, dbp); error 3663 fs/xfs/xfs_log_recover.c if (error) error 3679 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, blk_no, error 3698 fs/xfs/xfs_log_recover.c error = XFS_BUF_SET_PTR(dbp, error 3701 fs/xfs/xfs_log_recover.c if (!error) error 3702 fs/xfs/xfs_log_recover.c error = xlog_bread(log, wrapped_hblks, error 3705 fs/xfs/xfs_log_recover.c if (!error) error 3706 fs/xfs/xfs_log_recover.c error = XFS_BUF_SET_PTR(dbp, bufaddr, error 3708 fs/xfs/xfs_log_recover.c if (error) error 3715 fs/xfs/xfs_log_recover.c if ((error = xlog_recover_process_data(log, rhash, error 3726 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, blk_no, hblks, hbp))) error 3730 fs/xfs/xfs_log_recover.c error = xlog_valid_rec_header(log, rhead, blk_no); error 3731 fs/xfs/xfs_log_recover.c if (error) error 3734 fs/xfs/xfs_log_recover.c if ((error = xlog_bread(log, blk_no+hblks, bblks, dbp))) error 3738 fs/xfs/xfs_log_recover.c if ((error = xlog_recover_process_data(log, rhash, error 3749 fs/xfs/xfs_log_recover.c return error; error 3771 fs/xfs/xfs_log_recover.c int error; error 3783 fs/xfs/xfs_log_recover.c error = xlog_do_recovery_pass(log, head_blk, tail_blk, error 3785 fs/xfs/xfs_log_recover.c if (error != 0) { error 3788 fs/xfs/xfs_log_recover.c return error; error 3794 fs/xfs/xfs_log_recover.c error = xlog_do_recovery_pass(log, head_blk, tail_blk, error 3797 fs/xfs/xfs_log_recover.c if (!error) { error 3808 fs/xfs/xfs_log_recover.c return error; error 3820 fs/xfs/xfs_log_recover.c int error; error 3827 fs/xfs/xfs_log_recover.c error = xlog_do_log_recovery(log, head_blk, tail_blk); error 3828 fs/xfs/xfs_log_recover.c if (error) { error 3829 fs/xfs/xfs_log_recover.c return error; error 3863 fs/xfs/xfs_log_recover.c error = xfs_iowait(bp); error 3864 fs/xfs/xfs_log_recover.c if (error) { error 3869 fs/xfs/xfs_log_recover.c return error; error 3899 fs/xfs/xfs_log_recover.c int error; error 3902 fs/xfs/xfs_log_recover.c if ((error = xlog_find_tail(log, &head_blk, &tail_blk))) error 3903 fs/xfs/xfs_log_recover.c return error; error 3917 fs/xfs/xfs_log_recover.c if ((error = xfs_dev_is_read_only(log->l_mp, "recovery"))) { error 3918 fs/xfs/xfs_log_recover.c return error; error 3926 fs/xfs/xfs_log_recover.c error = xlog_do_recover(log, head_blk, tail_blk); error 3929 fs/xfs/xfs_log_recover.c return error; error 3954 fs/xfs/xfs_log_recover.c int error; error 3955 fs/xfs/xfs_log_recover.c error = xlog_recover_process_efis(log); error 3956 fs/xfs/xfs_log_recover.c if (error) { error 3960 fs/xfs/xfs_log_recover.c return error; error 478 fs/xfs/xfs_mount.c int error; error 495 fs/xfs/xfs_mount.c error = bp ? XFS_BUF_GETERROR(bp) : ENOMEM; error 507 fs/xfs/xfs_mount.c error = xfs_mount_validate_sb(mp, &(mp->m_sb), flags); error 508 fs/xfs/xfs_mount.c if (error) { error 520 fs/xfs/xfs_mount.c error = ENOSYS; error 536 fs/xfs/xfs_mount.c error = bp ? XFS_BUF_GETERROR(bp) : ENOMEM; error 556 fs/xfs/xfs_mount.c return error; error 652 fs/xfs/xfs_mount.c int error; error 660 fs/xfs/xfs_mount.c error = xfs_alloc_pagf_init(mp, NULL, index, 0); error 661 fs/xfs/xfs_mount.c if (error) error 662 fs/xfs/xfs_mount.c return error; error 664 fs/xfs/xfs_mount.c error = xfs_ialloc_pagi_init(mp, NULL, index); error 665 fs/xfs/xfs_mount.c if (error) error 666 fs/xfs/xfs_mount.c return error; error 857 fs/xfs/xfs_mount.c int error; error 864 fs/xfs/xfs_mount.c error = xfs_read_buf(mp, mp->m_ddev_targp, error 867 fs/xfs/xfs_mount.c if (!error) { error 871 fs/xfs/xfs_mount.c if (error == ENOSPC) error 872 fs/xfs/xfs_mount.c error = XFS_ERROR(E2BIG); error 873 fs/xfs/xfs_mount.c return error; error 882 fs/xfs/xfs_mount.c error = xfs_read_buf(mp, mp->m_logdev_targp, error 885 fs/xfs/xfs_mount.c if (!error) { error 889 fs/xfs/xfs_mount.c if (error == ENOSPC) error 890 fs/xfs/xfs_mount.c error = XFS_ERROR(E2BIG); error 891 fs/xfs/xfs_mount.c return error; error 919 fs/xfs/xfs_mount.c int error = 0; error 971 fs/xfs/xfs_mount.c error = xfs_update_alignment(mp, &update_flags); error 972 fs/xfs/xfs_mount.c if (error) error 992 fs/xfs/xfs_mount.c error = XFS_ERROR(EINVAL); error 1018 fs/xfs/xfs_mount.c error = xfs_check_sizes(mp); error 1019 fs/xfs/xfs_mount.c if (error) error 1025 fs/xfs/xfs_mount.c error = xfs_rtmount_init(mp); error 1026 fs/xfs/xfs_mount.c if (error) { error 1066 fs/xfs/xfs_mount.c error = xfs_log_mount(mp, mp->m_logdev_targp, error 1069 fs/xfs/xfs_mount.c if (error) { error 1076 fs/xfs/xfs_mount.c error = XFS_ERROR(EFSCORRUPTED); error 1103 fs/xfs/xfs_mount.c error = xfs_initialize_perag_data(mp, sbp->sb_agcount); error 1104 fs/xfs/xfs_mount.c if (error) { error 1112 fs/xfs/xfs_mount.c error = xfs_iget(mp, NULL, sbp->sb_rootino, 0, XFS_ILOCK_EXCL, &rip, 0); error 1113 fs/xfs/xfs_mount.c if (error) { error 1128 fs/xfs/xfs_mount.c error = XFS_ERROR(EFSCORRUPTED); error 1138 fs/xfs/xfs_mount.c error = xfs_rtmount_inodes(mp); error 1139 fs/xfs/xfs_mount.c if (error) { error 1151 fs/xfs/xfs_mount.c error = xfs_mount_log_sb(mp, update_flags); error 1152 fs/xfs/xfs_mount.c if (error) { error 1161 fs/xfs/xfs_mount.c error = XFS_QM_INIT(mp, "amount, "aflags); error 1162 fs/xfs/xfs_mount.c if (error) error 1170 fs/xfs/xfs_mount.c error = xfs_log_mount_finish(mp); error 1171 fs/xfs/xfs_mount.c if (error) { error 1179 fs/xfs/xfs_mount.c error = XFS_QM_MOUNT(mp, quotamount, quotaflags); error 1180 fs/xfs/xfs_mount.c if (error) error 1198 fs/xfs/xfs_mount.c error = xfs_reserve_blocks(mp, &resblks, NULL); error 1199 fs/xfs/xfs_mount.c if (error) error 1217 fs/xfs/xfs_mount.c return error; error 1229 fs/xfs/xfs_mount.c int error; error 1275 fs/xfs/xfs_mount.c error = xfs_reserve_blocks(mp, &resblks, NULL); error 1276 fs/xfs/xfs_mount.c if (error) error 1280 fs/xfs/xfs_mount.c error = xfs_log_sbcount(mp, 1); error 1281 fs/xfs/xfs_mount.c if (error) error 1338 fs/xfs/xfs_mount.c int error; error 1353 fs/xfs/xfs_mount.c error = xfs_trans_reserve(tp, 0, mp->m_sb.sb_sectsize + 128, 0, 0, error 1355 fs/xfs/xfs_mount.c if (error) { error 1357 fs/xfs/xfs_mount.c return error; error 1363 fs/xfs/xfs_mount.c error = xfs_trans_commit(tp, 0); error 1364 fs/xfs/xfs_mount.c return error; error 1389 fs/xfs/xfs_mount.c int error = 0; error 1413 fs/xfs/xfs_mount.c error = xfs_iowait(sbp); error 1414 fs/xfs/xfs_mount.c if (error) error 1417 fs/xfs/xfs_mount.c if (error && mp->m_mk_sharedro) error 1421 fs/xfs/xfs_mount.c return error; error 1857 fs/xfs/xfs_mount.c int error; error 1864 fs/xfs/xfs_mount.c error = xfs_trans_reserve(tp, 0, mp->m_sb.sb_sectsize + 128, 0, 0, error 1866 fs/xfs/xfs_mount.c if (error) { error 1868 fs/xfs/xfs_mount.c return error; error 1871 fs/xfs/xfs_mount.c error = xfs_trans_commit(tp, 0); error 1872 fs/xfs/xfs_mount.c return error; error 50 fs/xfs/xfs_qmops.c int error; error 74 fs/xfs/xfs_qmops.c if ((error = xfs_trans_reserve(tp, 0, mp->m_sb.sb_sectsize + 128, 0, 0, error 79 fs/xfs/xfs_qmops.c return error; error 82 fs/xfs/xfs_qmops.c error = xfs_trans_commit(tp, 0); error 83 fs/xfs/xfs_qmops.c return error; error 92 fs/xfs/xfs_qmops.c int error = 0; error 109 fs/xfs/xfs_qmops.c error = xfs_mount_reset_sbqflags(mp); error 111 fs/xfs/xfs_qmops.c return error; error 134 fs/xfs/xfs_rename.c int error; error 148 fs/xfs/xfs_rename.c error = XFS_SEND_NAMESP(mp, DM_EVENT_RENAME, error 153 fs/xfs/xfs_rename.c if (error) error 154 fs/xfs/xfs_rename.c return error; error 167 fs/xfs/xfs_rename.c error = XFS_ERROR(EMLINK); error 179 fs/xfs/xfs_rename.c error = xfs_trans_reserve(tp, spaceres, XFS_RENAME_LOG_RES(mp), 0, error 181 fs/xfs/xfs_rename.c if (error == ENOSPC) { error 183 fs/xfs/xfs_rename.c error = xfs_trans_reserve(tp, 0, XFS_RENAME_LOG_RES(mp), 0, error 186 fs/xfs/xfs_rename.c if (error) { error 194 fs/xfs/xfs_rename.c if ((error = XFS_QM_DQVOPRENAME(mp, inodes))) { error 214 fs/xfs/xfs_rename.c error = XFS_ERROR(EXDEV); error 252 fs/xfs/xfs_rename.c error = xfs_dir_canenter(tp, target_dp, target_name, spaceres); error 253 fs/xfs/xfs_rename.c if (error) error 260 fs/xfs/xfs_rename.c error = xfs_dir_createname(tp, target_dp, target_name, error 263 fs/xfs/xfs_rename.c if (error == ENOSPC) error 265 fs/xfs/xfs_rename.c if (error) error 270 fs/xfs/xfs_rename.c error = xfs_bumplink(tp, target_dp); error 271 fs/xfs/xfs_rename.c if (error) error 286 fs/xfs/xfs_rename.c error = XFS_ERROR(EEXIST); error 300 fs/xfs/xfs_rename.c error = xfs_dir_replace(tp, target_dp, target_name, error 303 fs/xfs/xfs_rename.c if (error) error 311 fs/xfs/xfs_rename.c error = xfs_droplink(tp, target_ip); error 312 fs/xfs/xfs_rename.c if (error) error 319 fs/xfs/xfs_rename.c error = xfs_droplink(tp, target_ip); error 320 fs/xfs/xfs_rename.c if (error) error 333 fs/xfs/xfs_rename.c error = xfs_dir_replace(tp, src_ip, &xfs_name_dotdot, error 336 fs/xfs/xfs_rename.c ASSERT(error != EEXIST); error 337 fs/xfs/xfs_rename.c if (error) error 361 fs/xfs/xfs_rename.c error = xfs_droplink(tp, src_dp); error 362 fs/xfs/xfs_rename.c if (error) error 366 fs/xfs/xfs_rename.c error = xfs_dir_removename(tp, src_dp, src_name, src_ip->i_ino, error 368 fs/xfs/xfs_rename.c if (error) error 393 fs/xfs/xfs_rename.c error = xfs_bmap_finish(&tp, &free_list, &committed); error 394 fs/xfs/xfs_rename.c if (error) { error 405 fs/xfs/xfs_rename.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 416 fs/xfs/xfs_rename.c 0, error, 0); error 418 fs/xfs/xfs_rename.c return error; error 91 fs/xfs/xfs_rtalloc.c int error; /* error return value */ error 111 fs/xfs/xfs_rtalloc.c if ((error = xfs_trans_reserve(tp, resblks, error 120 fs/xfs/xfs_rtalloc.c if ((error = xfs_trans_iget(mp, tp, ino, 0, error 129 fs/xfs/xfs_rtalloc.c error = xfs_bmapi(tp, ip, oblocks, nblocks - oblocks, error 132 fs/xfs/xfs_rtalloc.c if (!error && nmap < 1) error 133 fs/xfs/xfs_rtalloc.c error = XFS_ERROR(ENOSPC); error 134 fs/xfs/xfs_rtalloc.c if (error) error 139 fs/xfs/xfs_rtalloc.c error = xfs_bmap_finish(&tp, &flist, &committed); error 140 fs/xfs/xfs_rtalloc.c if (error) error 142 fs/xfs/xfs_rtalloc.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 143 fs/xfs/xfs_rtalloc.c if (error) error 144 fs/xfs/xfs_rtalloc.c goto error; error 157 fs/xfs/xfs_rtalloc.c if ((error = xfs_trans_reserve(tp, 0, error 163 fs/xfs/xfs_rtalloc.c if ((error = xfs_trans_iget(mp, tp, ino, 0, error 173 fs/xfs/xfs_rtalloc.c error = XFS_ERROR(EIO); error 181 fs/xfs/xfs_rtalloc.c error = xfs_trans_commit(tp, 0); error 182 fs/xfs/xfs_rtalloc.c if (error) error 183 fs/xfs/xfs_rtalloc.c goto error; error 193 fs/xfs/xfs_rtalloc.c error: error 194 fs/xfs/xfs_rtalloc.c return error; error 220 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 237 fs/xfs/xfs_rtalloc.c error = xfs_rtcheck_range(mp, tp, i, maxlen, 1, &next, &stat); error 238 fs/xfs/xfs_rtalloc.c if (error) { error 239 fs/xfs/xfs_rtalloc.c return error; error 245 fs/xfs/xfs_rtalloc.c error = xfs_rtallocate_range(mp, tp, i, maxlen, rbpp, error 247 fs/xfs/xfs_rtalloc.c if (error) { error 248 fs/xfs/xfs_rtalloc.c return error; error 273 fs/xfs/xfs_rtalloc.c error = xfs_rtfind_forw(mp, tp, next, end, &i); error 274 fs/xfs/xfs_rtalloc.c if (error) { error 275 fs/xfs/xfs_rtalloc.c return error; error 294 fs/xfs/xfs_rtalloc.c error = xfs_rtallocate_range(mp, tp, besti, bestlen, rbpp, rsb); error 295 fs/xfs/xfs_rtalloc.c if (error) { error 296 fs/xfs/xfs_rtalloc.c return error; error 329 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 338 fs/xfs/xfs_rtalloc.c error = xfs_rtcheck_range(mp, tp, bno, maxlen, 1, &next, &isfree); error 339 fs/xfs/xfs_rtalloc.c if (error) { error 340 fs/xfs/xfs_rtalloc.c return error; error 346 fs/xfs/xfs_rtalloc.c error = xfs_rtallocate_range(mp, tp, bno, maxlen, rbpp, rsb); error 347 fs/xfs/xfs_rtalloc.c if (error) { error 348 fs/xfs/xfs_rtalloc.c return error; error 381 fs/xfs/xfs_rtalloc.c error = xfs_rtallocate_range(mp, tp, bno, maxlen, rbpp, rsb); error 382 fs/xfs/xfs_rtalloc.c if (error) { error 383 fs/xfs/xfs_rtalloc.c return error; error 410 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 427 fs/xfs/xfs_rtalloc.c error = xfs_rtallocate_extent_exact(mp, tp, bno, minlen, maxlen, len, error 429 fs/xfs/xfs_rtalloc.c if (error) { error 430 fs/xfs/xfs_rtalloc.c return error; error 451 fs/xfs/xfs_rtalloc.c error = xfs_rtany_summary(mp, tp, log2len, mp->m_rsumlevels - 1, error 453 fs/xfs/xfs_rtalloc.c if (error) { error 454 fs/xfs/xfs_rtalloc.c return error; error 469 fs/xfs/xfs_rtalloc.c error = xfs_rtallocate_extent_block(mp, tp, error 472 fs/xfs/xfs_rtalloc.c if (error) { error 473 fs/xfs/xfs_rtalloc.c return error; error 498 fs/xfs/xfs_rtalloc.c error = xfs_rtany_summary(mp, tp, error 501 fs/xfs/xfs_rtalloc.c if (error) { error 502 fs/xfs/xfs_rtalloc.c return error; error 514 fs/xfs/xfs_rtalloc.c error = xfs_rtallocate_extent_block(mp, error 517 fs/xfs/xfs_rtalloc.c if (error) { error 518 fs/xfs/xfs_rtalloc.c return error; error 536 fs/xfs/xfs_rtalloc.c error = xfs_rtallocate_extent_block(mp, tp, error 539 fs/xfs/xfs_rtalloc.c if (error) { error 540 fs/xfs/xfs_rtalloc.c return error; error 602 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 627 fs/xfs/xfs_rtalloc.c error = xfs_rtget_summary(mp, tp, l, i, rbpp, rsb, error 629 fs/xfs/xfs_rtalloc.c if (error) { error 630 fs/xfs/xfs_rtalloc.c return error; error 640 fs/xfs/xfs_rtalloc.c error = xfs_rtallocate_extent_block(mp, tp, i, maxlen, error 642 fs/xfs/xfs_rtalloc.c if (error) { error 643 fs/xfs/xfs_rtalloc.c return error; error 686 fs/xfs/xfs_rtalloc.c error = xfs_rtget_summary(mp, tp, l, i, rbpp, rsb, error 688 fs/xfs/xfs_rtalloc.c if (error) { error 689 fs/xfs/xfs_rtalloc.c return error; error 701 fs/xfs/xfs_rtalloc.c error = xfs_rtallocate_extent_block(mp, tp, i, error 705 fs/xfs/xfs_rtalloc.c if (error) { error 706 fs/xfs/xfs_rtalloc.c return error; error 745 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 755 fs/xfs/xfs_rtalloc.c error = xfs_rtfind_back(mp, tp, start, 0, &preblock); error 756 fs/xfs/xfs_rtalloc.c if (error) { error 757 fs/xfs/xfs_rtalloc.c return error; error 762 fs/xfs/xfs_rtalloc.c error = xfs_rtfind_forw(mp, tp, end, mp->m_sb.sb_rextents - 1, error 764 fs/xfs/xfs_rtalloc.c if (error) { error 765 fs/xfs/xfs_rtalloc.c return error; error 771 fs/xfs/xfs_rtalloc.c error = xfs_rtmodify_summary(mp, tp, error 774 fs/xfs/xfs_rtalloc.c if (error) { error 775 fs/xfs/xfs_rtalloc.c return error; error 782 fs/xfs/xfs_rtalloc.c error = xfs_rtmodify_summary(mp, tp, error 785 fs/xfs/xfs_rtalloc.c if (error) { error 786 fs/xfs/xfs_rtalloc.c return error; error 794 fs/xfs/xfs_rtalloc.c error = xfs_rtmodify_summary(mp, tp, error 797 fs/xfs/xfs_rtalloc.c if (error) { error 798 fs/xfs/xfs_rtalloc.c return error; error 804 fs/xfs/xfs_rtalloc.c error = xfs_rtmodify_range(mp, tp, start, len, 0); error 805 fs/xfs/xfs_rtalloc.c return error; error 823 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 834 fs/xfs/xfs_rtalloc.c error = xfs_rtget_summary(mp, tp, log, bbno, rbpp, rsb, &sum); error 835 fs/xfs/xfs_rtalloc.c if (error) { error 836 fs/xfs/xfs_rtalloc.c return error; error 867 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 876 fs/xfs/xfs_rtalloc.c error = xfs_bmapi_single(tp, ip, XFS_DATA_FORK, &fsb, block); error 877 fs/xfs/xfs_rtalloc.c if (error) { error 878 fs/xfs/xfs_rtalloc.c return error; error 888 fs/xfs/xfs_rtalloc.c error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, d, error 890 fs/xfs/xfs_rtalloc.c if (error) { error 891 fs/xfs/xfs_rtalloc.c return error; error 935 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 949 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, block, 0, &bp); error 950 fs/xfs/xfs_rtalloc.c if (error) { error 951 fs/xfs/xfs_rtalloc.c return error; error 1000 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, ++block, 0, &bp); error 1001 fs/xfs/xfs_rtalloc.c if (error) { error 1002 fs/xfs/xfs_rtalloc.c return error; error 1046 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, ++block, 0, &bp); error 1047 fs/xfs/xfs_rtalloc.c if (error) { error 1048 fs/xfs/xfs_rtalloc.c return error; error 1104 fs/xfs/xfs_rtalloc.c int error; /* error return value */ error 1114 fs/xfs/xfs_rtalloc.c error = xfs_rtget_summary(omp, tp, log, bbno, &bp, error 1116 fs/xfs/xfs_rtalloc.c if (error) error 1117 fs/xfs/xfs_rtalloc.c return error; error 1120 fs/xfs/xfs_rtalloc.c error = xfs_rtmodify_summary(omp, tp, log, bbno, -sum, error 1122 fs/xfs/xfs_rtalloc.c if (error) error 1123 fs/xfs/xfs_rtalloc.c return error; error 1124 fs/xfs/xfs_rtalloc.c error = xfs_rtmodify_summary(nmp, tp, log, bbno, sum, error 1126 fs/xfs/xfs_rtalloc.c if (error) error 1127 fs/xfs/xfs_rtalloc.c return error; error 1151 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 1164 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, block, 0, &bp); error 1165 fs/xfs/xfs_rtalloc.c if (error) { error 1166 fs/xfs/xfs_rtalloc.c return error; error 1216 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, --block, 0, &bp); error 1217 fs/xfs/xfs_rtalloc.c if (error) { error 1218 fs/xfs/xfs_rtalloc.c return error; error 1262 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, --block, 0, &bp); error 1263 fs/xfs/xfs_rtalloc.c if (error) { error 1264 fs/xfs/xfs_rtalloc.c return error; error 1326 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 1339 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, block, 0, &bp); error 1340 fs/xfs/xfs_rtalloc.c if (error) { error 1341 fs/xfs/xfs_rtalloc.c return error; error 1390 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, ++block, 0, &bp); error 1391 fs/xfs/xfs_rtalloc.c if (error) { error 1392 fs/xfs/xfs_rtalloc.c return error; error 1435 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, ++block, 0, &bp); error 1436 fs/xfs/xfs_rtalloc.c if (error) { error 1437 fs/xfs/xfs_rtalloc.c return error; error 1493 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 1501 fs/xfs/xfs_rtalloc.c error = xfs_rtmodify_range(mp, tp, start, len, 1); error 1502 fs/xfs/xfs_rtalloc.c if (error) { error 1503 fs/xfs/xfs_rtalloc.c return error; error 1510 fs/xfs/xfs_rtalloc.c error = xfs_rtfind_back(mp, tp, start, 0, &preblock); error 1511 fs/xfs/xfs_rtalloc.c if (error) { error 1512 fs/xfs/xfs_rtalloc.c return error; error 1517 fs/xfs/xfs_rtalloc.c error = xfs_rtfind_forw(mp, tp, end, mp->m_sb.sb_rextents - 1, error 1524 fs/xfs/xfs_rtalloc.c error = xfs_rtmodify_summary(mp, tp, error 1527 fs/xfs/xfs_rtalloc.c if (error) { error 1528 fs/xfs/xfs_rtalloc.c return error; error 1536 fs/xfs/xfs_rtalloc.c error = xfs_rtmodify_summary(mp, tp, error 1539 fs/xfs/xfs_rtalloc.c if (error) { error 1540 fs/xfs/xfs_rtalloc.c return error; error 1547 fs/xfs/xfs_rtalloc.c error = xfs_rtmodify_summary(mp, tp, error 1550 fs/xfs/xfs_rtalloc.c return error; error 1570 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 1597 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, sb, 1, &bp); error 1598 fs/xfs/xfs_rtalloc.c if (error) { error 1599 fs/xfs/xfs_rtalloc.c return error; error 1639 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 1653 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, block, 0, &bp); error 1654 fs/xfs/xfs_rtalloc.c if (error) { error 1655 fs/xfs/xfs_rtalloc.c return error; error 1698 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, ++block, 0, &bp); error 1699 fs/xfs/xfs_rtalloc.c if (error) { error 1700 fs/xfs/xfs_rtalloc.c return error; error 1738 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, ++block, 0, &bp); error 1739 fs/xfs/xfs_rtalloc.c if (error) { error 1740 fs/xfs/xfs_rtalloc.c return error; error 1796 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 1823 fs/xfs/xfs_rtalloc.c error = xfs_rtbuf_get(mp, tp, sb, 1, &bp); error 1824 fs/xfs/xfs_rtalloc.c if (error) { error 1825 fs/xfs/xfs_rtalloc.c return error; error 1860 fs/xfs/xfs_rtalloc.c int error; /* error return value */ error 1886 fs/xfs/xfs_rtalloc.c if ((error = xfs_sb_validate_fsb_count(sbp, nrblocks))) error 1887 fs/xfs/xfs_rtalloc.c return error; error 1891 fs/xfs/xfs_rtalloc.c error = xfs_read_buf(mp, mp->m_rtdev_targp, error 1894 fs/xfs/xfs_rtalloc.c if (error) error 1895 fs/xfs/xfs_rtalloc.c return error; error 1925 fs/xfs/xfs_rtalloc.c if ((error = xfs_growfs_rt_alloc(mp, rbmblocks, nrbmblocks, error 1927 fs/xfs/xfs_rtalloc.c return error; error 1928 fs/xfs/xfs_rtalloc.c if ((error = xfs_growfs_rt_alloc(mp, rsumblocks, nrsumblocks, error 1930 fs/xfs/xfs_rtalloc.c return error; error 1971 fs/xfs/xfs_rtalloc.c if ((error = xfs_trans_reserve(tp, 0, error 1977 fs/xfs/xfs_rtalloc.c if ((error = xfs_trans_iget(mp, tp, mp->m_sb.sb_rbmino, 0, error 1991 fs/xfs/xfs_rtalloc.c if ((error = xfs_trans_iget(mp, tp, mp->m_sb.sb_rsumino, 0, error 2006 fs/xfs/xfs_rtalloc.c error = xfs_rtcopy_summary(mp, nmp, tp); error 2007 fs/xfs/xfs_rtalloc.c if (error) error 2032 fs/xfs/xfs_rtalloc.c error = xfs_rtfree_range(nmp, tp, sbp->sb_rextents, error 2034 fs/xfs/xfs_rtalloc.c if (error) error 2047 fs/xfs/xfs_rtalloc.c error = xfs_trans_commit(tp, 0); error 2048 fs/xfs/xfs_rtalloc.c if (error) { error 2054 fs/xfs/xfs_rtalloc.c if (error && tp) error 2062 fs/xfs/xfs_rtalloc.c return error; error 2082 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 2109 fs/xfs/xfs_rtalloc.c if ((error = xfs_trans_iget(mp, tp, mp->m_sb.sb_rbmino, 0, error 2111 fs/xfs/xfs_rtalloc.c return error; error 2118 fs/xfs/xfs_rtalloc.c error = xfs_rtallocate_extent_size(mp, tp, minlen, maxlen, len, error 2122 fs/xfs/xfs_rtalloc.c error = xfs_rtallocate_extent_near(mp, tp, bno, minlen, maxlen, error 2126 fs/xfs/xfs_rtalloc.c error = xfs_rtallocate_extent_exact(mp, tp, bno, minlen, maxlen, error 2132 fs/xfs/xfs_rtalloc.c if (error) { error 2133 fs/xfs/xfs_rtalloc.c return error; error 2161 fs/xfs/xfs_rtalloc.c int error; /* error value */ error 2171 fs/xfs/xfs_rtalloc.c if ((error = xfs_trans_iget(mp, tp, mp->m_sb.sb_rbmino, 0, error 2173 fs/xfs/xfs_rtalloc.c return error; error 2181 fs/xfs/xfs_rtalloc.c error = xfs_rtcheck_alloc_range(mp, tp, bno, len, &stat); error 2182 fs/xfs/xfs_rtalloc.c if (error) { error 2183 fs/xfs/xfs_rtalloc.c return error; error 2192 fs/xfs/xfs_rtalloc.c error = xfs_rtfree_range(mp, tp, bno, len, &sumbp, &sb); error 2193 fs/xfs/xfs_rtalloc.c if (error) { error 2194 fs/xfs/xfs_rtalloc.c return error; error 2223 fs/xfs/xfs_rtalloc.c int error; /* error return value */ error 2250 fs/xfs/xfs_rtalloc.c error = xfs_read_buf(mp, mp->m_rtdev_targp, error 2253 fs/xfs/xfs_rtalloc.c if (error) { error 2255 fs/xfs/xfs_rtalloc.c "XFS: realtime mount -- xfs_read_buf failed, returned %d", error); error 2256 fs/xfs/xfs_rtalloc.c if (error == ENOSPC) error 2258 fs/xfs/xfs_rtalloc.c return error; error 2272 fs/xfs/xfs_rtalloc.c int error; /* error return value */ error 2278 fs/xfs/xfs_rtalloc.c error = xfs_iget(mp, NULL, sbp->sb_rbmino, 0, 0, &mp->m_rbmip, 0); error 2279 fs/xfs/xfs_rtalloc.c if (error) error 2280 fs/xfs/xfs_rtalloc.c return error; error 2283 fs/xfs/xfs_rtalloc.c error = xfs_iget(mp, NULL, sbp->sb_rsumino, 0, 0, &mp->m_rsumip, 0); error 2284 fs/xfs/xfs_rtalloc.c if (error) { error 2286 fs/xfs/xfs_rtalloc.c return error; error 2307 fs/xfs/xfs_rtalloc.c int error; /* error return value */ error 2314 fs/xfs/xfs_rtalloc.c if ((error = xfs_trans_iget(mp, tp, mp->m_sb.sb_rbmino, 0, error 2316 fs/xfs/xfs_rtalloc.c return error; error 59 fs/xfs/xfs_rw.c int error; error 63 fs/xfs/xfs_rw.c if ((error = xfs_trans_reserve(tp, 0, error 67 fs/xfs/xfs_rw.c return error; error 86 fs/xfs/xfs_rw.c error = xfs_trans_commit(tp, 0); error 99 fs/xfs/xfs_rw.c int error = 0; error 129 fs/xfs/xfs_rw.c error = _xfs_log_force(mp, iip->ili_last_lsn, error 132 fs/xfs/xfs_rw.c error = _xfs_log_force(mp, (xfs_lsn_t)0, error 155 fs/xfs/xfs_rw.c if ((error = xfs_trans_reserve(tp, 0, error 167 fs/xfs/xfs_rw.c error = xfs_trans_commit(tp, 0); error 172 fs/xfs/xfs_rw.c return error; error 363 fs/xfs/xfs_rw.c int error; error 371 fs/xfs/xfs_rw.c error = XFS_BUF_GETERROR(bp); error 372 fs/xfs/xfs_rw.c if (bp && !error && !XFS_FORCED_SHUTDOWN(mp)) { error 376 fs/xfs/xfs_rw.c if (error) { error 379 fs/xfs/xfs_rw.c error = XFS_ERROR(EIO); error 391 fs/xfs/xfs_rw.c return (error); error 403 fs/xfs/xfs_rw.c int error; error 412 fs/xfs/xfs_rw.c if ((error = XFS_bwrite(bp))) { error 422 fs/xfs/xfs_rw.c return (error); error 330 fs/xfs/xfs_trans.c int error = 0; error 342 fs/xfs/xfs_trans.c error = xfs_mod_incore_sb(tp->t_mountp, XFS_SBS_FDBLOCKS, error 344 fs/xfs/xfs_trans.c if (error != 0) { error 367 fs/xfs/xfs_trans.c error = xfs_log_reserve(tp->t_mountp, logspace, logcount, error 370 fs/xfs/xfs_trans.c if (error) { error 383 fs/xfs/xfs_trans.c error = xfs_mod_incore_sb(tp->t_mountp, XFS_SBS_FREXTENTS, error 385 fs/xfs/xfs_trans.c if (error) { error 386 fs/xfs/xfs_trans.c error = XFS_ERROR(ENOSPC); error 420 fs/xfs/xfs_trans.c return error; error 662 fs/xfs/xfs_trans.c int error; error 762 fs/xfs/xfs_trans.c error = xfs_mod_incore_sb_batch(tp->t_mountp, msb, error 764 fs/xfs/xfs_trans.c ASSERT(error == 0); error 795 fs/xfs/xfs_trans.c int error; error 882 fs/xfs/xfs_trans.c error = xfs_log_write(mp, log_vector, nvec, tp->t_ticket, &(tp->t_lsn)); error 900 fs/xfs/xfs_trans.c if (error || commit_lsn == -1) { error 978 fs/xfs/xfs_trans.c error = xfs_log_release_iclog(mp, commit_iclog); error 985 fs/xfs/xfs_trans.c if (!error) { error 986 fs/xfs/xfs_trans.c error = _xfs_log_force(mp, commit_lsn, error 995 fs/xfs/xfs_trans.c return (error); error 1234 fs/xfs/xfs_trans.c int error; error 1256 fs/xfs/xfs_trans.c error = xfs_trans_commit(trans, 0); error 1257 fs/xfs/xfs_trans.c if (error) error 1258 fs/xfs/xfs_trans.c return (error); error 1270 fs/xfs/xfs_trans.c error = xfs_trans_reserve(trans, 0, logres, 0, error 1275 fs/xfs/xfs_trans.c if (error) error 1276 fs/xfs/xfs_trans.c return error; error 296 fs/xfs/xfs_trans_buf.c int error; error 313 fs/xfs/xfs_trans_buf.c error = XFS_BUF_GETERROR(bp); error 315 fs/xfs/xfs_trans_buf.c return error; error 357 fs/xfs/xfs_trans_buf.c error = xfs_iowait(bp); error 358 fs/xfs/xfs_trans_buf.c if (error) { error 370 fs/xfs/xfs_trans_buf.c return error; error 409 fs/xfs/xfs_trans_buf.c error = XFS_BUF_GETERROR(bp); error 416 fs/xfs/xfs_trans_buf.c return error; error 86 fs/xfs/xfs_trans_inode.c int error; error 135 fs/xfs/xfs_trans_inode.c error = xfs_iget(tp->t_mountp, tp, ino, flags, lock_flags, &ip, 0); error 136 fs/xfs/xfs_trans_inode.c if (error) { error 137 fs/xfs/xfs_trans_inode.c return error; error 234 fs/xfs/xfs_utils.c int error; error 243 fs/xfs/xfs_utils.c error = 0; error 251 fs/xfs/xfs_utils.c error = xfs_iunlink(tp, ip); error 253 fs/xfs/xfs_utils.c return error; error 333 fs/xfs/xfs_utils.c int error; error 354 fs/xfs/xfs_utils.c error = xfs_itruncate_start(ip, XFS_ITRUNC_DEFINITE, (xfs_fsize_t)0); error 355 fs/xfs/xfs_utils.c if (error) { error 357 fs/xfs/xfs_utils.c return error; error 361 fs/xfs/xfs_utils.c if ((error = xfs_trans_reserve(tp, 0, XFS_ITRUNCATE_LOG_RES(mp), 0, error 366 fs/xfs/xfs_utils.c return error; error 388 fs/xfs/xfs_utils.c error = xfs_itruncate_finish(&tp, ip, (xfs_fsize_t)0, error 393 fs/xfs/xfs_utils.c if (error) { error 398 fs/xfs/xfs_utils.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 402 fs/xfs/xfs_utils.c return error; error 96 fs/xfs/xfs_vfsops.c int error = 0; error 108 fs/xfs/xfs_vfsops.c error = xfs_log_sbcount(mp, 1); error 109 fs/xfs/xfs_vfsops.c if (error) error 131 fs/xfs/xfs_vfsops.c int error; error 142 fs/xfs/xfs_vfsops.c error = xfs_iflush(rbmip, XFS_IFLUSH_SYNC); error 145 fs/xfs/xfs_vfsops.c if (error == EFSCORRUPTED) error 153 fs/xfs/xfs_vfsops.c error = xfs_iflush(rsumip, XFS_IFLUSH_SYNC); error 156 fs/xfs/xfs_vfsops.c if (error == EFSCORRUPTED) error 165 fs/xfs/xfs_vfsops.c error = xfs_iflush(rip, XFS_IFLUSH_SYNC); error 166 fs/xfs/xfs_vfsops.c if (error == EFSCORRUPTED) error 178 fs/xfs/xfs_vfsops.c error = XFS_QM_UNMOUNT(mp); error 179 fs/xfs/xfs_vfsops.c if (error == EFSCORRUPTED) error 246 fs/xfs/xfs_vfsops.c int error; error 255 fs/xfs/xfs_vfsops.c error = XFS_QM_DQSYNC(mp, flags); error 256 fs/xfs/xfs_vfsops.c if (error) { error 261 fs/xfs/xfs_vfsops.c ASSERT(error != EIO || XFS_FORCED_SHUTDOWN(mp)); error 263 fs/xfs/xfs_vfsops.c return XFS_ERROR(error); error 287 fs/xfs/xfs_vfsops.c int error; error 353 fs/xfs/xfs_vfsops.c error = 0; error 510 fs/xfs/xfs_vfsops.c error = xfs_flushinval_pages(ip, error 513 fs/xfs/xfs_vfsops.c error = xfs_flush_pages(ip, 0, error 536 fs/xfs/xfs_vfsops.c error = xfs_iflush(ip, XFS_IFLUSH_SYNC); error 546 fs/xfs/xfs_vfsops.c error = xfs_iflush(ip, XFS_IFLUSH_DELWRI); error 578 fs/xfs/xfs_vfsops.c if (error) { error 579 fs/xfs/xfs_vfsops.c last_error = error; error 585 fs/xfs/xfs_vfsops.c if (error == EFSCORRUPTED) { error 593 fs/xfs/xfs_vfsops.c return XFS_ERROR(error); error 639 fs/xfs/xfs_vfsops.c int error = 0; error 658 fs/xfs/xfs_vfsops.c error = xfs_sync_inodes(mp, flags, bypassed); error 683 fs/xfs/xfs_vfsops.c error = xfs_bwrite(mp, bp); error 708 fs/xfs/xfs_vfsops.c error = xfs_bwrite(mp, bp); error 710 fs/xfs/xfs_vfsops.c if (error) { error 711 fs/xfs/xfs_vfsops.c last_error = error; error 727 fs/xfs/xfs_vfsops.c if ((error = xfs_trans_reserve(tp, 0, error 731 fs/xfs/xfs_vfsops.c return error; error 740 fs/xfs/xfs_vfsops.c error = xfs_trans_commit(tp, 0); error 625 fs/xfs/xfs_vnodeops.c int error = 0; error 627 fs/xfs/xfs_vnodeops.c error = xfs_bmapi(NULL, ip, 0, XFS_B_TO_FSB(mp, pathlen), 0, NULL, 0, error 629 fs/xfs/xfs_vnodeops.c if (error) error 637 fs/xfs/xfs_vnodeops.c error = XFS_BUF_GETERROR(bp); error 638 fs/xfs/xfs_vnodeops.c if (error) { error 653 fs/xfs/xfs_vnodeops.c error = 0; error 656 fs/xfs/xfs_vnodeops.c return error; error 666 fs/xfs/xfs_vnodeops.c int error = 0; error 686 fs/xfs/xfs_vnodeops.c error = xfs_readlink_bmap(ip, link); error 691 fs/xfs/xfs_vnodeops.c return error; error 707 fs/xfs/xfs_vnodeops.c int error; error 716 fs/xfs/xfs_vnodeops.c error = filemap_fdatawait(VFS_I(ip)->i_mapping); error 717 fs/xfs/xfs_vnodeops.c if (error) error 718 fs/xfs/xfs_vnodeops.c return XFS_ERROR(error); error 747 fs/xfs/xfs_vnodeops.c error = _xfs_log_force(ip->i_mount, (xfs_lsn_t)0, error 764 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, 0, error 766 fs/xfs/xfs_vnodeops.c if (error) { error 768 fs/xfs/xfs_vnodeops.c return error; error 785 fs/xfs/xfs_vnodeops.c error = _xfs_trans_commit(tp, 0, &log_flushed); error 806 fs/xfs/xfs_vnodeops.c return error; error 821 fs/xfs/xfs_vnodeops.c int error; error 841 fs/xfs/xfs_vnodeops.c error = xfs_bmapi(NULL, ip, end_fsb, map_len, 0, error 845 fs/xfs/xfs_vnodeops.c if (!error && (nimaps != 0) && error 851 fs/xfs/xfs_vnodeops.c if ((error = XFS_QM_DQATTACH(mp, ip, 0))) error 852 fs/xfs/xfs_vnodeops.c return error; error 870 fs/xfs/xfs_vnodeops.c error = xfs_itruncate_start(ip, XFS_ITRUNC_DEFINITE, error 872 fs/xfs/xfs_vnodeops.c if (error) { error 876 fs/xfs/xfs_vnodeops.c return error; error 879 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, 0, error 883 fs/xfs/xfs_vnodeops.c if (error) { error 887 fs/xfs/xfs_vnodeops.c return error; error 896 fs/xfs/xfs_vnodeops.c error = xfs_itruncate_finish(&tp, ip, error 904 fs/xfs/xfs_vnodeops.c if (error) { error 909 fs/xfs/xfs_vnodeops.c error = xfs_trans_commit(tp, error 915 fs/xfs/xfs_vnodeops.c return error; error 929 fs/xfs/xfs_vnodeops.c int error; error 951 fs/xfs/xfs_vnodeops.c if ((error = xfs_trans_reserve(tp, 0, XFS_ITRUNCATE_LOG_RES(mp), 0, error 956 fs/xfs/xfs_vnodeops.c return error; error 976 fs/xfs/xfs_vnodeops.c if ((error = xfs_bmapi(tp, ip, 0, XFS_B_TO_FSB(mp, size), error 992 fs/xfs/xfs_vnodeops.c if ((error = xfs_bunmapi(tp, ip, 0, size, XFS_BMAPI_METADATA, nmaps, error 999 fs/xfs/xfs_vnodeops.c if ((error = xfs_bmap_finish(&tp, &free_list, &committed))) error 1025 fs/xfs/xfs_vnodeops.c error = xfs_trans_commit(tp, 0); error 1027 fs/xfs/xfs_vnodeops.c if (error) { error 1041 fs/xfs/xfs_vnodeops.c if ((error = xfs_trans_reserve(tp, 0, XFS_ITRUNCATE_LOG_RES(mp), 0, error 1068 fs/xfs/xfs_vnodeops.c return error; error 1077 fs/xfs/xfs_vnodeops.c int error; error 1085 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(*tpp, 0, error 1090 fs/xfs/xfs_vnodeops.c if (error) { error 1093 fs/xfs/xfs_vnodeops.c return error; error 1115 fs/xfs/xfs_vnodeops.c int error; error 1122 fs/xfs/xfs_vnodeops.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 1124 fs/xfs/xfs_vnodeops.c if (error) error 1127 fs/xfs/xfs_vnodeops.c error = xfs_attr_inactive(ip); error 1128 fs/xfs/xfs_vnodeops.c if (error) error 1132 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, 0, error 1136 fs/xfs/xfs_vnodeops.c if (error) error 1155 fs/xfs/xfs_vnodeops.c return error; error 1163 fs/xfs/xfs_vnodeops.c int error; error 1207 fs/xfs/xfs_vnodeops.c error = xfs_free_eofblocks(mp, ip, XFS_FREE_EOF_LOCK); error 1208 fs/xfs/xfs_vnodeops.c if (error) error 1209 fs/xfs/xfs_vnodeops.c return error; error 1233 fs/xfs/xfs_vnodeops.c int error; error 1264 fs/xfs/xfs_vnodeops.c error = 0; error 1278 fs/xfs/xfs_vnodeops.c error = xfs_free_eofblocks(mp, ip, XFS_FREE_EOF_LOCK); error 1279 fs/xfs/xfs_vnodeops.c if (error) error 1287 fs/xfs/xfs_vnodeops.c if ((error = XFS_QM_DQATTACH(mp, ip, 0))) error 1300 fs/xfs/xfs_vnodeops.c error = xfs_itruncate_start(ip, XFS_ITRUNC_DEFINITE, 0); error 1301 fs/xfs/xfs_vnodeops.c if (error) { error 1307 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, 0, error 1311 fs/xfs/xfs_vnodeops.c if (error) { error 1330 fs/xfs/xfs_vnodeops.c error = xfs_itruncate_finish(&tp, ip, 0, XFS_DATA_FORK, error 1333 fs/xfs/xfs_vnodeops.c if (error) { error 1345 fs/xfs/xfs_vnodeops.c error = (ip->i_d.di_size > XFS_IFORK_DSIZE(ip)) ? error 1349 fs/xfs/xfs_vnodeops.c if (error) { error 1357 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, 0, error 1361 fs/xfs/xfs_vnodeops.c if (error) { error 1380 fs/xfs/xfs_vnodeops.c error = xfs_inactive_attrs(ip, &tp); error 1385 fs/xfs/xfs_vnodeops.c if (error) error 1395 fs/xfs/xfs_vnodeops.c error = xfs_ifree(tp, ip, &free_list); error 1396 fs/xfs/xfs_vnodeops.c if (error) { error 1405 fs/xfs/xfs_vnodeops.c error, mp->m_fsname); error 1420 fs/xfs/xfs_vnodeops.c error = xfs_bmap_finish(&tp, &free_list, &committed); error 1421 fs/xfs/xfs_vnodeops.c if (error) error 1423 fs/xfs/xfs_vnodeops.c "xfs_bmap_finish() returned error %d", error); error 1424 fs/xfs/xfs_vnodeops.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 1425 fs/xfs/xfs_vnodeops.c if (error) error 1427 fs/xfs/xfs_vnodeops.c "xfs_trans_commit() returned error %d", error); error 1454 fs/xfs/xfs_vnodeops.c int error; error 1463 fs/xfs/xfs_vnodeops.c error = xfs_dir_lookup(NULL, dp, name, &inum, ci_name); error 1466 fs/xfs/xfs_vnodeops.c if (error) error 1469 fs/xfs/xfs_vnodeops.c error = xfs_iget(dp->i_mount, NULL, inum, 0, 0, ipp, 0); error 1470 fs/xfs/xfs_vnodeops.c if (error) error 1481 fs/xfs/xfs_vnodeops.c return error; error 1496 fs/xfs/xfs_vnodeops.c int error; error 1511 fs/xfs/xfs_vnodeops.c error = XFS_SEND_NAMESP(mp, DM_EVENT_CREATE, error 1516 fs/xfs/xfs_vnodeops.c if (error) error 1517 fs/xfs/xfs_vnodeops.c return error; error 1535 fs/xfs/xfs_vnodeops.c error = XFS_QM_DQVOPALLOC(mp, dp, error 1538 fs/xfs/xfs_vnodeops.c if (error) error 1552 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, resblks, XFS_CREATE_LOG_RES(mp), 0, error 1554 fs/xfs/xfs_vnodeops.c if (error == ENOSPC) { error 1556 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, 0, XFS_CREATE_LOG_RES(mp), 0, error 1559 fs/xfs/xfs_vnodeops.c if (error) { error 1574 fs/xfs/xfs_vnodeops.c error = XFS_TRANS_RESERVE_QUOTA(mp, tp, udqp, gdqp, resblks, 1, 0); error 1575 fs/xfs/xfs_vnodeops.c if (error) error 1578 fs/xfs/xfs_vnodeops.c error = xfs_dir_canenter(tp, dp, name, resblks); error 1579 fs/xfs/xfs_vnodeops.c if (error) error 1581 fs/xfs/xfs_vnodeops.c error = xfs_dir_ialloc(&tp, dp, mode, 1, error 1584 fs/xfs/xfs_vnodeops.c if (error) { error 1585 fs/xfs/xfs_vnodeops.c if (error == ENOSPC) error 1609 fs/xfs/xfs_vnodeops.c error = xfs_dir_createname(tp, dp, name, ip->i_ino, error 1612 fs/xfs/xfs_vnodeops.c if (error) { error 1613 fs/xfs/xfs_vnodeops.c ASSERT(error != ENOSPC); error 1644 fs/xfs/xfs_vnodeops.c error = xfs_bmap_finish(&tp, &free_list, &committed); error 1645 fs/xfs/xfs_vnodeops.c if (error) { error 1650 fs/xfs/xfs_vnodeops.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 1651 fs/xfs/xfs_vnodeops.c if (error) { error 1665 fs/xfs/xfs_vnodeops.c if ((*ipp || (error != 0 && dm_event_sent != 0)) && error 1671 fs/xfs/xfs_vnodeops.c mode, error, 0); error 1673 fs/xfs/xfs_vnodeops.c return error; error 1897 fs/xfs/xfs_vnodeops.c int error = 0; error 1913 fs/xfs/xfs_vnodeops.c error = XFS_SEND_NAMESP(mp, DM_EVENT_REMOVE, dp, DM_RIGHT_NULL, error 1916 fs/xfs/xfs_vnodeops.c if (error) error 1917 fs/xfs/xfs_vnodeops.c return error; error 1920 fs/xfs/xfs_vnodeops.c error = XFS_QM_DQATTACH(mp, dp, 0); error 1921 fs/xfs/xfs_vnodeops.c if (error) error 1924 fs/xfs/xfs_vnodeops.c error = XFS_QM_DQATTACH(mp, ip, 0); error 1925 fs/xfs/xfs_vnodeops.c if (error) error 1947 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, resblks, XFS_REMOVE_LOG_RES(mp), 0, error 1949 fs/xfs/xfs_vnodeops.c if (error == ENOSPC) { error 1951 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, 0, XFS_REMOVE_LOG_RES(mp), 0, error 1954 fs/xfs/xfs_vnodeops.c if (error) { error 1955 fs/xfs/xfs_vnodeops.c ASSERT(error != ENOSPC); error 1978 fs/xfs/xfs_vnodeops.c error = XFS_ERROR(ENOTEMPTY); error 1982 fs/xfs/xfs_vnodeops.c error = XFS_ERROR(ENOTEMPTY); error 1988 fs/xfs/xfs_vnodeops.c error = xfs_dir_removename(tp, dp, name, ip->i_ino, error 1990 fs/xfs/xfs_vnodeops.c if (error) { error 1991 fs/xfs/xfs_vnodeops.c ASSERT(error != ENOENT); error 2007 fs/xfs/xfs_vnodeops.c error = xfs_droplink(tp, dp); error 2008 fs/xfs/xfs_vnodeops.c if (error) error 2014 fs/xfs/xfs_vnodeops.c error = xfs_droplink(tp, ip); error 2015 fs/xfs/xfs_vnodeops.c if (error) error 2029 fs/xfs/xfs_vnodeops.c error = xfs_droplink(tp, ip); error 2030 fs/xfs/xfs_vnodeops.c if (error) error 2047 fs/xfs/xfs_vnodeops.c error = xfs_bmap_finish(&tp, &free_list, &committed); error 2048 fs/xfs/xfs_vnodeops.c if (error) error 2051 fs/xfs/xfs_vnodeops.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 2052 fs/xfs/xfs_vnodeops.c if (error) error 2071 fs/xfs/xfs_vnodeops.c ip->i_d.di_mode, error, 0); error 2074 fs/xfs/xfs_vnodeops.c return error; error 2092 fs/xfs/xfs_vnodeops.c int error; error 2108 fs/xfs/xfs_vnodeops.c error = XFS_SEND_NAMESP(mp, DM_EVENT_LINK, error 2112 fs/xfs/xfs_vnodeops.c if (error) error 2113 fs/xfs/xfs_vnodeops.c return error; error 2118 fs/xfs/xfs_vnodeops.c error = XFS_QM_DQATTACH(mp, sip, 0); error 2119 fs/xfs/xfs_vnodeops.c if (!error && sip != tdp) error 2120 fs/xfs/xfs_vnodeops.c error = XFS_QM_DQATTACH(mp, tdp, 0); error 2121 fs/xfs/xfs_vnodeops.c if (error) error 2127 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, resblks, XFS_LINK_LOG_RES(mp), 0, error 2129 fs/xfs/xfs_vnodeops.c if (error == ENOSPC) { error 2131 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, 0, XFS_LINK_LOG_RES(mp), 0, error 2134 fs/xfs/xfs_vnodeops.c if (error) { error 2155 fs/xfs/xfs_vnodeops.c error = XFS_ERROR(EMLINK); error 2166 fs/xfs/xfs_vnodeops.c error = XFS_ERROR(EXDEV); error 2170 fs/xfs/xfs_vnodeops.c error = xfs_dir_canenter(tp, tdp, target_name, resblks); error 2171 fs/xfs/xfs_vnodeops.c if (error) error 2176 fs/xfs/xfs_vnodeops.c error = xfs_dir_createname(tp, tdp, target_name, sip->i_ino, error 2178 fs/xfs/xfs_vnodeops.c if (error) error 2184 fs/xfs/xfs_vnodeops.c error = xfs_bumplink(tp, sip); error 2185 fs/xfs/xfs_vnodeops.c if (error) error 2197 fs/xfs/xfs_vnodeops.c error = xfs_bmap_finish (&tp, &free_list, &committed); error 2198 fs/xfs/xfs_vnodeops.c if (error) { error 2203 fs/xfs/xfs_vnodeops.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 2204 fs/xfs/xfs_vnodeops.c if (error) error 2213 fs/xfs/xfs_vnodeops.c target_name->name, NULL, 0, error, 0); error 2215 fs/xfs/xfs_vnodeops.c return error; error 2239 fs/xfs/xfs_vnodeops.c int error; error 2256 fs/xfs/xfs_vnodeops.c error = XFS_SEND_NAMESP(mp, DM_EVENT_CREATE, error 2260 fs/xfs/xfs_vnodeops.c if (error) error 2261 fs/xfs/xfs_vnodeops.c return error; error 2279 fs/xfs/xfs_vnodeops.c error = XFS_QM_DQVOPALLOC(mp, dp, error 2282 fs/xfs/xfs_vnodeops.c if (error) error 2288 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, resblks, XFS_MKDIR_LOG_RES(mp), 0, error 2290 fs/xfs/xfs_vnodeops.c if (error == ENOSPC) { error 2292 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, 0, XFS_MKDIR_LOG_RES(mp), 0, error 2296 fs/xfs/xfs_vnodeops.c if (error) { error 2308 fs/xfs/xfs_vnodeops.c error = XFS_ERROR(EMLINK); error 2315 fs/xfs/xfs_vnodeops.c error = XFS_TRANS_RESERVE_QUOTA(mp, tp, udqp, gdqp, resblks, 1, 0); error 2316 fs/xfs/xfs_vnodeops.c if (error) error 2319 fs/xfs/xfs_vnodeops.c error = xfs_dir_canenter(tp, dp, dir_name, resblks); error 2320 fs/xfs/xfs_vnodeops.c if (error) error 2325 fs/xfs/xfs_vnodeops.c error = xfs_dir_ialloc(&tp, dp, mode, 2, error 2328 fs/xfs/xfs_vnodeops.c if (error) { error 2329 fs/xfs/xfs_vnodeops.c if (error == ENOSPC) error 2349 fs/xfs/xfs_vnodeops.c error = xfs_dir_createname(tp, dp, dir_name, cdp->i_ino, error 2352 fs/xfs/xfs_vnodeops.c if (error) { error 2353 fs/xfs/xfs_vnodeops.c ASSERT(error != ENOSPC); error 2365 fs/xfs/xfs_vnodeops.c error = xfs_dir_init(tp, cdp, dp); error 2366 fs/xfs/xfs_vnodeops.c if (error) error 2370 fs/xfs/xfs_vnodeops.c error = xfs_bumplink(tp, dp); error 2371 fs/xfs/xfs_vnodeops.c if (error) error 2393 fs/xfs/xfs_vnodeops.c error = xfs_bmap_finish(&tp, &free_list, &committed); error 2394 fs/xfs/xfs_vnodeops.c if (error) { error 2399 fs/xfs/xfs_vnodeops.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 2402 fs/xfs/xfs_vnodeops.c if (error) { error 2410 fs/xfs/xfs_vnodeops.c if ((created || (error != 0 && dm_event_sent != 0)) && error 2417 fs/xfs/xfs_vnodeops.c mode, error, 0); error 2419 fs/xfs/xfs_vnodeops.c return error; error 2449 fs/xfs/xfs_vnodeops.c int error; error 2470 fs/xfs/xfs_vnodeops.c error = 0; error 2487 fs/xfs/xfs_vnodeops.c error = XFS_SEND_NAMESP(mp, DM_EVENT_SYMLINK, dp, error 2490 fs/xfs/xfs_vnodeops.c if (error) error 2491 fs/xfs/xfs_vnodeops.c return error; error 2505 fs/xfs/xfs_vnodeops.c error = XFS_QM_DQVOPALLOC(mp, dp, error 2508 fs/xfs/xfs_vnodeops.c if (error) error 2522 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, resblks, XFS_SYMLINK_LOG_RES(mp), 0, error 2524 fs/xfs/xfs_vnodeops.c if (error == ENOSPC && fs_blocks == 0) { error 2526 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, 0, XFS_SYMLINK_LOG_RES(mp), 0, error 2529 fs/xfs/xfs_vnodeops.c if (error) { error 2541 fs/xfs/xfs_vnodeops.c error = XFS_ERROR(EPERM); error 2548 fs/xfs/xfs_vnodeops.c error = XFS_TRANS_RESERVE_QUOTA(mp, tp, udqp, gdqp, resblks, 1, 0); error 2549 fs/xfs/xfs_vnodeops.c if (error) error 2555 fs/xfs/xfs_vnodeops.c error = xfs_dir_canenter(tp, dp, link_name, resblks); error 2556 fs/xfs/xfs_vnodeops.c if (error) error 2567 fs/xfs/xfs_vnodeops.c error = xfs_dir_ialloc(&tp, dp, S_IFLNK | (mode & ~S_IFMT), error 2569 fs/xfs/xfs_vnodeops.c if (error) { error 2570 fs/xfs/xfs_vnodeops.c if (error == ENOSPC) error 2613 fs/xfs/xfs_vnodeops.c error = xfs_bmapi(tp, ip, first_fsb, fs_blocks, error 2617 fs/xfs/xfs_vnodeops.c if (error) { error 2648 fs/xfs/xfs_vnodeops.c error = xfs_dir_createname(tp, dp, link_name, ip->i_ino, error 2650 fs/xfs/xfs_vnodeops.c if (error) error 2678 fs/xfs/xfs_vnodeops.c error = xfs_bmap_finish(&tp, &free_list, &committed); error 2679 fs/xfs/xfs_vnodeops.c if (error) { error 2682 fs/xfs/xfs_vnodeops.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 2692 fs/xfs/xfs_vnodeops.c error ? NULL : ip, error 2694 fs/xfs/xfs_vnodeops.c target_path, 0, error, 0); error 2697 fs/xfs/xfs_vnodeops.c if (!error) error 2699 fs/xfs/xfs_vnodeops.c return error; error 2723 fs/xfs/xfs_vnodeops.c int error = 0; error 2754 fs/xfs/xfs_vnodeops.c error = xfs_iflush(ip, (flags & FLUSH_SYNC) ? XFS_IFLUSH_SYNC error 2758 fs/xfs/xfs_vnodeops.c return error; error 2770 fs/xfs/xfs_vnodeops.c int error; error 2779 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, 0, XFS_ICHANGE_LOG_RES (mp), 0, 0, 0); error 2780 fs/xfs/xfs_vnodeops.c if (error) { error 2782 fs/xfs/xfs_vnodeops.c return error; error 2792 fs/xfs/xfs_vnodeops.c error = xfs_trans_commit(tp, 0); error 2794 fs/xfs/xfs_vnodeops.c return error; error 2998 fs/xfs/xfs_vnodeops.c int error; error 3005 fs/xfs/xfs_vnodeops.c if ((error = XFS_QM_DQATTACH(mp, ip, 0))) error 3006 fs/xfs/xfs_vnodeops.c return error; error 3030 fs/xfs/xfs_vnodeops.c error = XFS_SEND_DATA(mp, DM_EVENT_WRITE, ip, offset, error 3032 fs/xfs/xfs_vnodeops.c if (error) error 3033 fs/xfs/xfs_vnodeops.c return error; error 3040 fs/xfs/xfs_vnodeops.c while (allocatesize_fsb && !error) { error 3076 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, resblks, error 3083 fs/xfs/xfs_vnodeops.c if (error) { error 3087 fs/xfs/xfs_vnodeops.c ASSERT(error == ENOSPC || XFS_FORCED_SHUTDOWN(mp)); error 3092 fs/xfs/xfs_vnodeops.c error = XFS_TRANS_RESERVE_QUOTA_NBLKS(mp, tp, ip, error 3094 fs/xfs/xfs_vnodeops.c if (error) error 3104 fs/xfs/xfs_vnodeops.c error = xfs_bmapi(tp, ip, startoffset_fsb, error 3108 fs/xfs/xfs_vnodeops.c if (error) { error 3115 fs/xfs/xfs_vnodeops.c error = xfs_bmap_finish(&tp, &free_list, &committed); error 3116 fs/xfs/xfs_vnodeops.c if (error) { error 3120 fs/xfs/xfs_vnodeops.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 3122 fs/xfs/xfs_vnodeops.c if (error) { error 3129 fs/xfs/xfs_vnodeops.c error = XFS_ERROR(ENOSPC); error 3137 fs/xfs/xfs_vnodeops.c if (error == ENOSPC && (attr_flags & XFS_ATTR_DMI) == 0 && error 3139 fs/xfs/xfs_vnodeops.c error = XFS_SEND_NAMESP(mp, DM_EVENT_NOSPACE, error 3143 fs/xfs/xfs_vnodeops.c if (error == 0) error 3148 fs/xfs/xfs_vnodeops.c return error; error 3184 fs/xfs/xfs_vnodeops.c int error = 0; error 3204 fs/xfs/xfs_vnodeops.c error = xfs_bmapi(NULL, ip, offset_fsb, 1, 0, error 3206 fs/xfs/xfs_vnodeops.c if (error || nimap < 1) error 3223 fs/xfs/xfs_vnodeops.c error = xfs_iowait(bp); error 3224 fs/xfs/xfs_vnodeops.c if (error) { error 3236 fs/xfs/xfs_vnodeops.c error = xfs_iowait(bp); error 3237 fs/xfs/xfs_vnodeops.c if (error) { error 3244 fs/xfs/xfs_vnodeops.c return error; error 3270 fs/xfs/xfs_vnodeops.c int error; error 3289 fs/xfs/xfs_vnodeops.c if ((error = XFS_QM_DQATTACH(mp, ip, 0))) error 3290 fs/xfs/xfs_vnodeops.c return error; error 3292 fs/xfs/xfs_vnodeops.c error = 0; error 3294 fs/xfs/xfs_vnodeops.c return error; error 3304 fs/xfs/xfs_vnodeops.c error = XFS_SEND_DATA(mp, DM_EVENT_WRITE, ip, error 3307 fs/xfs/xfs_vnodeops.c if (error) error 3308 fs/xfs/xfs_vnodeops.c return error; error 3323 fs/xfs/xfs_vnodeops.c error = xfs_flushinval_pages(ip, ioffset, -1, FI_REMAPF_LOCKED); error 3324 fs/xfs/xfs_vnodeops.c if (error) error 3336 fs/xfs/xfs_vnodeops.c error = xfs_bmapi(NULL, ip, startoffset_fsb, error 3338 fs/xfs/xfs_vnodeops.c if (error) error 3351 fs/xfs/xfs_vnodeops.c error = xfs_bmapi(NULL, ip, endoffset_fsb - 1, error 3353 fs/xfs/xfs_vnodeops.c if (error) error 3367 fs/xfs/xfs_vnodeops.c error = xfs_zero_remaining_bytes(ip, offset, offset + len - 1); error 3373 fs/xfs/xfs_vnodeops.c error = xfs_zero_remaining_bytes(ip, offset, error 3375 fs/xfs/xfs_vnodeops.c if (!error && error 3377 fs/xfs/xfs_vnodeops.c error = xfs_zero_remaining_bytes(ip, error 3386 fs/xfs/xfs_vnodeops.c while (!error && !done) { error 3395 fs/xfs/xfs_vnodeops.c error = xfs_trans_reserve(tp, error 3405 fs/xfs/xfs_vnodeops.c if (error) { error 3409 fs/xfs/xfs_vnodeops.c ASSERT(error == ENOSPC || XFS_FORCED_SHUTDOWN(mp)); error 3414 fs/xfs/xfs_vnodeops.c error = XFS_TRANS_RESERVE_QUOTA(mp, tp, error 3417 fs/xfs/xfs_vnodeops.c if (error) error 3427 fs/xfs/xfs_vnodeops.c error = xfs_bunmapi(tp, ip, startoffset_fsb, error 3430 fs/xfs/xfs_vnodeops.c if (error) { error 3437 fs/xfs/xfs_vnodeops.c error = xfs_bmap_finish(&tp, &free_list, &committed); error 3438 fs/xfs/xfs_vnodeops.c if (error) { error 3442 fs/xfs/xfs_vnodeops.c error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); error 3449 fs/xfs/xfs_vnodeops.c return error; error 3457 fs/xfs/xfs_vnodeops.c return error; error 3482 fs/xfs/xfs_vnodeops.c int error; error 3537 fs/xfs/xfs_vnodeops.c error = xfs_alloc_file_space(ip, startoffset, bf->l_len, error 3539 fs/xfs/xfs_vnodeops.c if (error) error 3540 fs/xfs/xfs_vnodeops.c return error; error 3546 fs/xfs/xfs_vnodeops.c if ((error = xfs_free_file_space(ip, startoffset, bf->l_len, error 3548 fs/xfs/xfs_vnodeops.c return error; error 3556 fs/xfs/xfs_vnodeops.c error = xfs_alloc_file_space(ip, fsize, error 3558 fs/xfs/xfs_vnodeops.c if (error) error 3565 fs/xfs/xfs_vnodeops.c error = xfs_setattr(ip, &iattr, attr_flags, credp); error 3567 fs/xfs/xfs_vnodeops.c if (error) error 3568 fs/xfs/xfs_vnodeops.c return error; error 3583 fs/xfs/xfs_vnodeops.c if ((error = xfs_trans_reserve(tp, 0, XFS_WRITEID_LOG_RES(mp), error 3587 fs/xfs/xfs_vnodeops.c return error; error 3618 fs/xfs/xfs_vnodeops.c error = xfs_trans_commit(tp, 0); error 3622 fs/xfs/xfs_vnodeops.c return error; error 140 include/asm-arm/plat-s3c/uncompress.h static void error(char *err); error 206 include/asm-m68k/sun3xflop.h int error; error 210 include/asm-m68k/sun3xflop.h error = request_irq(FLOPPY_IRQ, sun3xflop_hardint, error 212 include/asm-m68k/sun3xflop.h return ((error == 0) ? 0 : -1); error 52 include/asm-x86/mach-default/apm.h u8 error; error 66 include/asm-x86/mach-default/apm.h : "=a" (*eax), "=b" (error), "=c" (cx), "=d" (dx), error 70 include/asm-x86/mach-default/apm.h return error; error 38 include/asm-x86/syscall.h unsigned long error = regs->ax; error 49 include/asm-x86/syscall.h error = (long) (int) error; error 51 include/asm-x86/syscall.h return IS_ERR_VALUE(error) ? error : 0; error 64 include/asm-x86/syscall.h regs->ax = (long) error ?: val; error 311 include/linux/bio.h int error; error 106 include/linux/blktrace_api.h __u16 error; /* completion error */ error 1005 include/linux/cdrom.h long error; error 87 include/linux/clocksource.h s64 error; error 157 include/linux/device-mapper.h char *error; error 24 include/linux/err.h return (void *) error; error 467 include/linux/fs.h int error; error 396 include/linux/fuse.h __s32 error; error 363 include/linux/ide.h u8 error; /* read: error */ error 416 include/linux/ide.h int error; error 1119 include/linux/ide.h ide_startstop_t (*error)(ide_drive_t *, struct request *rq, u8, u8); error 245 include/linux/memstick.h int error; error 79 include/linux/mmc/core.h unsigned int error; /* command error */ error 104 include/linux/mmc/core.h unsigned int error; /* data error */ error 99 include/linux/nbd.h __be32 error; /* 0 = ok, else error */ error 161 include/linux/netfilter/nf_conntrack_common.h unsigned int error; error 99 include/linux/netlink.h int error; error 90 include/linux/nfs_fs.h int error; error 27 include/linux/pagemap.h if (unlikely(error)) { error 28 include/linux/pagemap.h if (error == -ENOSPC) error 418 include/linux/pagemap.h int error; error 421 include/linux/pagemap.h error = add_to_page_cache_locked(page, mapping, offset, gfp_mask); error 422 include/linux/pagemap.h if (unlikely(error)) error 424 include/linux/pagemap.h return error; error 383 include/linux/pci.h enum pci_channel_state error); error 60 include/linux/poll.h int error; error 68 include/net/9p/9p.h "%s: %.*s\n", s, fcall?fcall->params.rerror.error.len:0, \ error 69 include/net/9p/9p.h fcall?fcall->params.rerror.error.str:""); error 397 include/net/9p/9p.h struct p9_str error; error 43 include/net/dst.h short error; error 53 include/net/netfilter/nf_conntrack_l4proto.h int (*error)(struct net *net, struct sk_buff *skb, unsigned int dataoff, error 127 include/net/sctp/command.h int error; error 1126 include/net/sctp/structs.h unsigned error; error 181 include/scsi/iscsi_if.h uint32_t error; /* enum iscsi_err */ error 279 include/scsi/libsas.h int error; error 202 include/scsi/sas.h u8 error; error 34 include/sound/info.h int error; /* error code */ error 43 init/do_mounts_initrd.c int error; error 89 init/do_mounts_initrd.c error = sys_mount("/old", "/root/initrd", NULL, MS_MOVE, NULL); error 90 init/do_mounts_initrd.c if (!error) error 94 init/do_mounts_initrd.c if (error == -ENOENT) error 102 init/do_mounts_initrd.c error = fd; error 104 init/do_mounts_initrd.c error = sys_ioctl(fd, BLKFLSBUF, 0); error 107 init/do_mounts_initrd.c printk(!error ? "okay\n" : "failed\n"); error 306 init/do_mounts_rd.c static void __init error(char *m); error 323 init/do_mounts_rd.c error("RAMDISK: ran out of compressed data"); error 176 init/initramfs.c error("incorrect cpio method used: use -H newc option"); error 180 init/initramfs.c error("no cpio magic"); error 224 init/initramfs.c error("broken padding"); error 356 init/initramfs.c error("junk in compressed archive"); error 399 init/initramfs.c static void __init error(char *m); error 464 init/initramfs.c error("junk in gzipped archive"); error 269 ipc/mqueue.c int error; error 273 ipc/mqueue.c error = -ENOSPC; error 281 ipc/mqueue.c error = -ENOMEM; error 295 ipc/mqueue.c return error; error 656 ipc/mqueue.c int fd, error; error 658 ipc/mqueue.c error = audit_mq_open(oflag, mode, u_attr); error 659 ipc/mqueue.c if (error != 0) error 660 ipc/mqueue.c return error; error 672 ipc/mqueue.c error = PTR_ERR(dentry); error 680 ipc/mqueue.c error = -EEXIST; error 689 ipc/mqueue.c error = -ENOENT; error 697 ipc/mqueue.c error = PTR_ERR(filp); error 710 ipc/mqueue.c fd = error; error 1250 ipc/mqueue.c int error; error 1261 ipc/mqueue.c error = register_filesystem(&mqueue_fs_type); error 1262 ipc/mqueue.c if (error) error 1266 ipc/mqueue.c error = PTR_ERR(mqueue_mnt); error 1282 ipc/mqueue.c return error; error 405 ipc/sem.c int error; error 410 ipc/sem.c error = try_atomic_semop(sma, q->sops, q->nsops, error 414 ipc/sem.c if (error <= 0) { error 452 ipc/sem.c q->status = error; error 985 ipc/sem.c int error; error 987 ipc/sem.c error = get_undo_list(&ulp); error 988 ipc/sem.c if (error) error 989 ipc/sem.c return ERR_PTR(error); error 1054 ipc/sem.c int error = -EINVAL; error 1076 ipc/sem.c error=-EFAULT; error 1082 ipc/sem.c error = -EFAULT; error 1087 ipc/sem.c error = -EINVAL; error 1105 ipc/sem.c error = PTR_ERR(un); error 1115 ipc/sem.c error = PTR_ERR(sma); error 1126 ipc/sem.c error = -EIDRM; error 1144 ipc/sem.c error = -EFBIG; error 1148 ipc/sem.c error = -EACCES; error 1152 ipc/sem.c error = security_sem_semop(sma, sops, nsops, alter); error 1153 ipc/sem.c if (error) error 1156 ipc/sem.c error = try_atomic_semop (sma, sops, nsops, un, task_tgid_vnr(current)); error 1157 ipc/sem.c if (error <= 0) { error 1158 ipc/sem.c if (alter && error == 0) error 1187 ipc/sem.c error = queue.status; error 1188 ipc/sem.c while(unlikely(error == IN_WAKEUP)) { error 1190 ipc/sem.c error = queue.status; error 1193 ipc/sem.c if (error != -EINTR) { error 1201 ipc/sem.c error = -EIDRM; error 1208 ipc/sem.c error = queue.status; error 1209 ipc/sem.c if (error != -EINTR) { error 1217 ipc/sem.c error = -EAGAIN; error 1226 ipc/sem.c return error; error 1241 ipc/sem.c int error; error 1244 ipc/sem.c error = get_undo_list(&undo_list); error 1245 ipc/sem.c if (error) error 1246 ipc/sem.c return error; error 337 ipc/shm.c int error; error 359 ipc/shm.c error = security_shm_alloc(shp); error 360 ipc/shm.c if (error) { error 362 ipc/shm.c return error; error 381 ipc/shm.c error = PTR_ERR(file); error 387 ipc/shm.c error = id; error 405 ipc/shm.c error = shp->shm_perm.id; error 407 ipc/shm.c return error; error 414 ipc/shm.c return error; error 218 kernel/acct.c int error; error 246 kernel/acct.c error = security_acct(file); error 247 kernel/acct.c if (error) { error 250 kernel/acct.c return error; error 282 kernel/acct.c int error; error 291 kernel/acct.c error = acct_on(tmp); error 300 kernel/acct.c error = security_acct(NULL); error 301 kernel/acct.c if (!error) { error 307 kernel/acct.c return error; error 1293 kernel/auditfilter.c goto error; error 1300 kernel/auditfilter.c goto error; error 1309 kernel/auditfilter.c goto error; error 1318 kernel/auditfilter.c goto error; error 1340 kernel/auditfilter.c error: error 905 kernel/auditsc.c int error; error 912 kernel/auditsc.c error = security_secid_to_secctx(sid, &ctx, &len); error 913 kernel/auditsc.c if (error) { error 914 kernel/auditsc.c if (error != -EINVAL) error 1662 kernel/cgroup.c int error = 0; error 1665 kernel/cgroup.c error = cgroup_create_file(dentry, S_IFDIR | mode, cgrp->root->sb); error 1666 kernel/cgroup.c if (!error) { error 1674 kernel/cgroup.c return error; error 1683 kernel/cgroup.c int error; error 1694 kernel/cgroup.c error = cgroup_create_file(dentry, 0644 | S_IFREG, error 1696 kernel/cgroup.c if (!error) error 1700 kernel/cgroup.c error = PTR_ERR(dentry); error 1701 kernel/cgroup.c return error; error 124 kernel/compat.c int error; error 126 kernel/compat.c error = do_getitimer(which, &kit); error 127 kernel/compat.c if (!error && put_compat_itimerval(it, &kit)) error 128 kernel/compat.c error = -EFAULT; error 129 kernel/compat.c return error; error 137 kernel/compat.c int error; error 145 kernel/compat.c error = do_setitimer(which, &kin, out ? &kout : NULL); error 146 kernel/compat.c if (error || !out) error 147 kernel/compat.c return error; error 399 kernel/cpu.c int cpu, first_cpu, error = 0; error 411 kernel/cpu.c error = _cpu_down(cpu, 1); error 412 kernel/cpu.c if (!error) { error 417 kernel/cpu.c cpu, error); error 421 kernel/cpu.c if (!error) { error 429 kernel/cpu.c return error; error 434 kernel/cpu.c int cpu, error; error 444 kernel/cpu.c error = _cpu_up(cpu, 1); error 445 kernel/cpu.c if (!error) { error 449 kernel/cpu.c printk(KERN_WARNING "Error taking CPU%d up: %d\n", cpu, error); error 690 kernel/fork.c int error = 0; error 704 kernel/fork.c newf = dup_fd(oldf, &error); error 709 kernel/fork.c error = 0; error 711 kernel/fork.c return error; error 1544 kernel/fork.c int error = 0; error 1548 kernel/fork.c *new_fdp = dup_fd(fd, &error); error 1550 kernel/fork.c return error; error 1679 kernel/fork.c int error; error 1681 kernel/fork.c error = unshare_fd(CLONE_FILES, ©); error 1682 kernel/fork.c if (error || !copy) { error 1684 kernel/fork.c return error; error 114 kernel/itimer.c int error = -EFAULT; error 118 kernel/itimer.c error = do_getitimer(which, &get_buffer); error 119 kernel/itimer.c if (!error && error 121 kernel/itimer.c error = -EFAULT; error 123 kernel/itimer.c return error; error 281 kernel/itimer.c int error; error 289 kernel/itimer.c error = do_setitimer(which, &set_buffer, ovalue ? &get_buffer : NULL); error 290 kernel/itimer.c if (error || !ovalue) error 291 kernel/itimer.c return error; error 1429 kernel/kexec.c int error = 0; error 1434 kernel/kexec.c error = -EINVAL; error 1442 kernel/kexec.c error = freeze_processes(); error 1443 kernel/kexec.c if (error) { error 1444 kernel/kexec.c error = -EBUSY; error 1448 kernel/kexec.c error = device_suspend(PMSG_FREEZE); error 1449 kernel/kexec.c if (error) error 1451 kernel/kexec.c error = disable_nonboot_cpus(); error 1452 kernel/kexec.c if (error) error 1463 kernel/kexec.c error = device_power_down(PMSG_FREEZE); error 1464 kernel/kexec.c if (error) error 1496 kernel/kexec.c return error; error 500 kernel/kgdb.c error = -error; error 502 kernel/kgdb.c pkt[1] = hex_asc[(error / 10)]; error 503 kernel/kgdb.c pkt[2] = hex_asc[(error % 10)]; error 622 kernel/kgdb.c int error = 0; error 630 kernel/kgdb.c error = kgdb_arch_set_breakpoint(addr, error 632 kernel/kgdb.c if (error) error 633 kernel/kgdb.c return error; error 685 kernel/kgdb.c int error = 0; error 692 kernel/kgdb.c error = kgdb_arch_remove_breakpoint(addr, error 694 kernel/kgdb.c if (error) error 695 kernel/kgdb.c return error; error 732 kernel/kgdb.c int error; error 740 kernel/kgdb.c error = kgdb_arch_remove_breakpoint(addr, error 742 kernel/kgdb.c if (error) error 947 kernel/kgdb.c int error; error 951 kernel/kgdb.c error = remove_all_break(); error 952 kernel/kgdb.c if (error < 0) { error 953 kernel/kgdb.c error_packet(remcom_out_buffer, error); error 1136 kernel/kgdb.c int error = 0; error 1171 kernel/kgdb.c error = kgdb_set_sw_break(addr); error 1173 kernel/kgdb.c error = kgdb_remove_sw_break(addr); error 1175 kernel/kgdb.c error = arch_kgdb_ops.set_hw_breakpoint(addr, error 1178 kernel/kgdb.c error = arch_kgdb_ops.remove_hw_breakpoint(addr, error 1181 kernel/kgdb.c if (error == 0) error 1184 kernel/kgdb.c error_packet(remcom_out_buffer, error); error 1220 kernel/kgdb.c int error = 0; error 1246 kernel/kgdb.c error = 0; error 1314 kernel/kgdb.c error = kgdb_arch_handle_exception(ks->ex_vector, error 1324 kernel/kgdb.c if (error >= 0 || remcom_in_buffer[0] == 'D' || error 1326 kernel/kgdb.c error = 0; error 1338 kernel/kgdb.c error = 1; error 1339 kernel/kgdb.c return error; error 1398 kernel/kgdb.c int error = 0; error 1444 kernel/kgdb.c error = 1; error 1503 kernel/kgdb.c error = gdb_serial_stub(ks); error 1533 kernel/kgdb.c return error; error 126 kernel/ksysfs.c int error; error 130 kernel/ksysfs.c error = -ENOMEM; error 133 kernel/ksysfs.c error = sysfs_create_group(kernel_kobj, &kernel_attr_group); error 134 kernel/ksysfs.c if (error) error 139 kernel/ksysfs.c error = sysfs_create_bin_file(kernel_kobj, ¬es_attr); error 140 kernel/ksysfs.c if (error) error 145 kernel/ksysfs.c error = uids_sysfs_init(); error 146 kernel/ksysfs.c if (error) error 159 kernel/ksysfs.c return error; error 1268 kernel/module.c int error = 0; error 1278 kernel/module.c for (i = 0; (attr = modinfo_attrs[i]) && !error; i++) { error 1282 kernel/module.c error = sysfs_create_file(&mod->mkobj.kobj,&temp_attr->attr); error 1286 kernel/module.c return error; error 13 kernel/posix-cpu-timers.c int error = 0; error 27 kernel/posix-cpu-timers.c error = -EINVAL; error 31 kernel/posix-cpu-timers.c return error; error 168 kernel/posix-cpu-timers.c int error = check_clock(which_clock); error 169 kernel/posix-cpu-timers.c if (!error) { error 181 kernel/posix-cpu-timers.c return error; error 190 kernel/posix-cpu-timers.c int error = check_clock(which_clock); error 191 kernel/posix-cpu-timers.c if (error == 0) { error 192 kernel/posix-cpu-timers.c error = -EPERM; error 194 kernel/posix-cpu-timers.c return error; error 280 kernel/posix-cpu-timers.c int error = -EINVAL; error 292 kernel/posix-cpu-timers.c error = cpu_clock_sample(which_clock, error 296 kernel/posix-cpu-timers.c error = cpu_clock_sample_group(which_clock, error 311 kernel/posix-cpu-timers.c error = cpu_clock_sample(which_clock, error 317 kernel/posix-cpu-timers.c error = error 327 kernel/posix-cpu-timers.c if (error) error 328 kernel/posix-cpu-timers.c return error; error 1452 kernel/posix-cpu-timers.c int error; error 1461 kernel/posix-cpu-timers.c error = posix_cpu_timer_create(&timer); error 1463 kernel/posix-cpu-timers.c if (!error) { error 1470 kernel/posix-cpu-timers.c error = posix_cpu_timer_set(&timer, flags, it, NULL); error 1471 kernel/posix-cpu-timers.c if (error) { error 1473 kernel/posix-cpu-timers.c return error; error 1508 kernel/posix-cpu-timers.c error = -ERESTART_RESTARTBLOCK; error 1511 kernel/posix-cpu-timers.c return error; error 1520 kernel/posix-cpu-timers.c int error; error 1530 kernel/posix-cpu-timers.c error = do_cpu_nanosleep(which_clock, flags, rqtp, &it); error 1532 kernel/posix-cpu-timers.c if (error == -ERESTART_RESTARTBLOCK) { error 1548 kernel/posix-cpu-timers.c return error; error 1557 kernel/posix-cpu-timers.c int error; error 1564 kernel/posix-cpu-timers.c error = do_cpu_nanosleep(which_clock, TIMER_ABSTIME, &t, &it); error 1566 kernel/posix-cpu-timers.c if (error == -ERESTART_RESTARTBLOCK) { error 1579 kernel/posix-cpu-timers.c return error; error 471 kernel/posix-timers.c int error = 0; error 489 kernel/posix-timers.c error = -EAGAIN; error 493 kernel/posix-timers.c error = idr_get_new(&posix_timers_id, (void *) new_timer, error 496 kernel/posix-timers.c if (error == -EAGAIN) error 498 kernel/posix-timers.c else if (error) { error 503 kernel/posix-timers.c error = -EAGAIN; error 511 kernel/posix-timers.c error = CLOCK_DISPATCH(which_clock, timer_create, (new_timer)); error 512 kernel/posix-timers.c if (error) error 521 kernel/posix-timers.c error = -EFAULT; error 526 kernel/posix-timers.c error = -EFAULT; error 565 kernel/posix-timers.c error = -EINVAL; error 587 kernel/posix-timers.c if (error) error 590 kernel/posix-timers.c return error; error 793 kernel/posix-timers.c int error = 0; error 811 kernel/posix-timers.c error = CLOCK_DISPATCH(timr->it_clock, timer_set, error 815 kernel/posix-timers.c if (error == TIMER_RETRY) { error 820 kernel/posix-timers.c if (old_setting && !error && error 822 kernel/posix-timers.c error = -EFAULT; error 824 kernel/posix-timers.c return error; error 950 kernel/posix-timers.c int error; error 954 kernel/posix-timers.c error = CLOCK_DISPATCH(which_clock, clock_get, error 956 kernel/posix-timers.c if (!error && copy_to_user(tp, &kernel_tp, sizeof (kernel_tp))) error 957 kernel/posix-timers.c error = -EFAULT; error 959 kernel/posix-timers.c return error; error 967 kernel/posix-timers.c int error; error 972 kernel/posix-timers.c error = CLOCK_DISPATCH(which_clock, clock_getres, error 975 kernel/posix-timers.c if (!error && tp && copy_to_user(tp, &rtn_tp, sizeof (rtn_tp))) { error 976 kernel/posix-timers.c error = -EFAULT; error 979 kernel/posix-timers.c return error; error 202 kernel/power/disk.c int error; error 204 kernel/power/disk.c error = arch_prepare_suspend(); error 205 kernel/power/disk.c if (error) error 206 kernel/power/disk.c return error; error 216 kernel/power/disk.c error = device_power_down(PMSG_FREEZE); error 217 kernel/power/disk.c if (error) { error 228 kernel/power/disk.c error = swsusp_arch_suspend(); error 229 kernel/power/disk.c if (error) error 231 kernel/power/disk.c error); error 241 kernel/power/disk.c (error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE); error 245 kernel/power/disk.c return error; error 259 kernel/power/disk.c int error, ftrace_save; error 262 kernel/power/disk.c error = swsusp_shrink_memory(); error 263 kernel/power/disk.c if (error) error 264 kernel/power/disk.c return error; error 266 kernel/power/disk.c error = platform_begin(platform_mode); error 267 kernel/power/disk.c if (error) error 272 kernel/power/disk.c error = device_suspend(PMSG_FREEZE); error 273 kernel/power/disk.c if (error) error 279 kernel/power/disk.c error = platform_pre_snapshot(platform_mode); error 280 kernel/power/disk.c if (error || hibernation_test(TEST_PLATFORM)) error 283 kernel/power/disk.c error = disable_nonboot_cpus(); error 284 kernel/power/disk.c if (!error) { error 291 kernel/power/disk.c error = create_image(platform_mode); error 300 kernel/power/disk.c (error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE); error 305 kernel/power/disk.c return error; error 322 kernel/power/disk.c int error; error 326 kernel/power/disk.c error = device_power_down(PMSG_QUIESCE); error 327 kernel/power/disk.c if (error) { error 334 kernel/power/disk.c error = restore_highmem(); error 335 kernel/power/disk.c if (!error) { error 336 kernel/power/disk.c error = swsusp_arch_resume(); error 342 kernel/power/disk.c BUG_ON(!error); error 358 kernel/power/disk.c return error; error 372 kernel/power/disk.c int error, ftrace_save; error 377 kernel/power/disk.c error = device_suspend(PMSG_QUIESCE); error 378 kernel/power/disk.c if (error) error 381 kernel/power/disk.c error = platform_pre_restore(platform_mode); error 382 kernel/power/disk.c if (!error) { error 383 kernel/power/disk.c error = disable_nonboot_cpus(); error 384 kernel/power/disk.c if (!error) error 385 kernel/power/disk.c error = resume_target_kernel(); error 394 kernel/power/disk.c return error; error 404 kernel/power/disk.c int error, ftrace_save; error 414 kernel/power/disk.c error = hibernation_ops->begin(); error 415 kernel/power/disk.c if (error) error 420 kernel/power/disk.c error = device_suspend(PMSG_HIBERNATE); error 421 kernel/power/disk.c if (error) { error 427 kernel/power/disk.c error = hibernation_ops->prepare(); error 428 kernel/power/disk.c if (error) error 431 kernel/power/disk.c error = disable_nonboot_cpus(); error 432 kernel/power/disk.c if (error) error 437 kernel/power/disk.c error = device_power_down(PMSG_HIBERNATE); error 438 kernel/power/disk.c if (!error) { error 458 kernel/power/disk.c return error; error 494 kernel/power/disk.c int error = 0; error 497 kernel/power/disk.c error = -EBUSY; error 500 kernel/power/disk.c return error; error 509 kernel/power/disk.c int error; error 514 kernel/power/disk.c error = -EBUSY; error 519 kernel/power/disk.c error = pm_notifier_call_chain(PM_HIBERNATION_PREPARE); error 520 kernel/power/disk.c if (error) error 524 kernel/power/disk.c error = create_basic_memory_bitmaps(); error 525 kernel/power/disk.c if (error) error 532 kernel/power/disk.c error = prepare_processes(); error 533 kernel/power/disk.c if (error) error 542 kernel/power/disk.c error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM); error 543 kernel/power/disk.c if (in_suspend && !error) { error 549 kernel/power/disk.c error = swsusp_write(flags); error 551 kernel/power/disk.c if (!error) error 567 kernel/power/disk.c return error; error 585 kernel/power/disk.c int error; error 622 kernel/power/disk.c error = swsusp_check(); error 623 kernel/power/disk.c if (error) error 628 kernel/power/disk.c error = -EBUSY; error 633 kernel/power/disk.c error = pm_notifier_call_chain(PM_RESTORE_PREPARE); error 634 kernel/power/disk.c if (error) error 637 kernel/power/disk.c error = create_basic_memory_bitmaps(); error 638 kernel/power/disk.c if (error) error 642 kernel/power/disk.c error = prepare_processes(); error 643 kernel/power/disk.c if (error) { error 650 kernel/power/disk.c error = swsusp_read(&flags); error 651 kernel/power/disk.c if (!error) error 667 kernel/power/disk.c return error; error 741 kernel/power/disk.c int error = 0; error 770 kernel/power/disk.c error = -EINVAL; error 773 kernel/power/disk.c error = -EINVAL; error 775 kernel/power/disk.c if (!error) error 779 kernel/power/disk.c return error ? error : n; error 107 kernel/power/main.c int error = -EINVAL; error 118 kernel/power/main.c error = 0; error 124 kernel/power/main.c return error ? error : n; error 228 kernel/power/main.c int error; error 236 kernel/power/main.c error = pm_notifier_call_chain(PM_SUSPEND_PREPARE); error 237 kernel/power/main.c if (error) error 241 kernel/power/main.c error = -EAGAIN; error 250 kernel/power/main.c error = -ENOMEM; error 254 kernel/power/main.c if (!error) error 262 kernel/power/main.c return error; error 285 kernel/power/main.c int error = 0; error 291 kernel/power/main.c if ((error = device_power_down(PMSG_SUSPEND))) { error 297 kernel/power/main.c error = suspend_ops->enter(state); error 304 kernel/power/main.c return error; error 314 kernel/power/main.c int error, ftrace_save; error 320 kernel/power/main.c error = suspend_ops->begin(state); error 321 kernel/power/main.c if (error) error 327 kernel/power/main.c error = device_suspend(PMSG_SUSPEND); error 328 kernel/power/main.c if (error) { error 337 kernel/power/main.c error = suspend_ops->prepare(); error 338 kernel/power/main.c if (error) error 345 kernel/power/main.c error = disable_nonboot_cpus(); error 346 kernel/power/main.c if (!error && !suspend_test(TEST_CPUS)) error 362 kernel/power/main.c return error; error 414 kernel/power/main.c int error; error 427 kernel/power/main.c error = suspend_prepare(); error 428 kernel/power/main.c if (error) error 435 kernel/power/main.c error = suspend_devices_and_enter(state); error 442 kernel/power/main.c return error; error 509 kernel/power/main.c int error = -EINVAL; error 516 kernel/power/main.c error = hibernate(); error 526 kernel/power/main.c error = enter_state(state); error 530 kernel/power/main.c return error ? error : n; error 222 kernel/power/process.c int error; error 225 kernel/power/process.c error = try_to_freeze_tasks(true); error 226 kernel/power/process.c if (error) error 231 kernel/power/process.c error = try_to_freeze_tasks(false); error 232 kernel/power/process.c if (error) error 238 kernel/power/process.c return error; error 481 kernel/power/snapshot.c int error; error 483 kernel/power/snapshot.c error = memory_bm_find_bit(bm, pfn, &addr, &bit); error 484 kernel/power/snapshot.c BUG_ON(error); error 492 kernel/power/snapshot.c int error; error 494 kernel/power/snapshot.c error = memory_bm_find_bit(bm, pfn, &addr, &bit); error 495 kernel/power/snapshot.c if (!error) error 497 kernel/power/snapshot.c return error; error 504 kernel/power/snapshot.c int error; error 506 kernel/power/snapshot.c error = memory_bm_find_bit(bm, pfn, &addr, &bit); error 507 kernel/power/snapshot.c BUG_ON(error); error 515 kernel/power/snapshot.c int error; error 517 kernel/power/snapshot.c error = memory_bm_find_bit(bm, pfn, &addr, &bit); error 518 kernel/power/snapshot.c BUG_ON(error); error 709 kernel/power/snapshot.c int error = 0; error 717 kernel/power/snapshot.c error = memory_bm_create(bm1, GFP_KERNEL, PG_ANY); error 718 kernel/power/snapshot.c if (error) error 725 kernel/power/snapshot.c error = memory_bm_create(bm2, GFP_KERNEL, PG_ANY); error 726 kernel/power/snapshot.c if (error) error 1152 kernel/power/snapshot.c int error; error 1154 kernel/power/snapshot.c error = memory_bm_create(orig_bm, GFP_ATOMIC | __GFP_COLD, PG_ANY); error 1155 kernel/power/snapshot.c if (error) error 1158 kernel/power/snapshot.c error = memory_bm_create(copy_bm, GFP_ATOMIC | __GFP_COLD, PG_ANY); error 1159 kernel/power/snapshot.c if (error) error 1163 kernel/power/snapshot.c error = get_highmem_buffer(PG_ANY); error 1164 kernel/power/snapshot.c if (error) error 1331 kernel/power/snapshot.c int error; error 1333 kernel/power/snapshot.c error = init_header((struct swsusp_info *)buffer); error 1334 kernel/power/snapshot.c if (error) error 1335 kernel/power/snapshot.c return error; error 1447 kernel/power/snapshot.c int error; error 1450 kernel/power/snapshot.c error = check_header(info); error 1451 kernel/power/snapshot.c if (!error) { error 1455 kernel/power/snapshot.c return error; error 1709 kernel/power/snapshot.c int error; error 1716 kernel/power/snapshot.c error = mark_unsafe_pages(bm); error 1717 kernel/power/snapshot.c if (error) error 1720 kernel/power/snapshot.c error = memory_bm_create(new_bm, GFP_ATOMIC, PG_SAFE); error 1721 kernel/power/snapshot.c if (error) error 1727 kernel/power/snapshot.c error = prepare_highmem_image(bm, &nr_highmem); error 1728 kernel/power/snapshot.c if (error) error 1744 kernel/power/snapshot.c error = -ENOMEM; error 1757 kernel/power/snapshot.c error = -ENOMEM; error 1780 kernel/power/snapshot.c return error; error 1843 kernel/power/snapshot.c int error = 0; error 1862 kernel/power/snapshot.c error = load_header(buffer); error 1863 kernel/power/snapshot.c if (error) error 1864 kernel/power/snapshot.c return error; error 1866 kernel/power/snapshot.c error = memory_bm_create(©_bm, GFP_ATOMIC, PG_ANY); error 1867 kernel/power/snapshot.c if (error) error 1868 kernel/power/snapshot.c return error; error 1873 kernel/power/snapshot.c error = prepare_image(&orig_bm, ©_bm); error 1874 kernel/power/snapshot.c if (error) error 1875 kernel/power/snapshot.c return error; error 142 kernel/power/swap.c int error; error 151 kernel/power/swap.c error = bio_write_page(swsusp_resume_block, error 155 kernel/power/swap.c error = -ENODEV; error 157 kernel/power/swap.c return error; error 272 kernel/power/swap.c int error = 0; error 278 kernel/power/swap.c error = write_page(buf, offset, bio_chain); error 279 kernel/power/swap.c if (error) error 280 kernel/power/swap.c return error; error 283 kernel/power/swap.c error = wait_on_bio_chain(bio_chain); error 284 kernel/power/swap.c if (error) error 290 kernel/power/swap.c error = write_page(handle->cur, handle->cur_swap, NULL); error 291 kernel/power/swap.c if (error) error 298 kernel/power/swap.c return error; error 319 kernel/power/swap.c int error = 0; error 337 kernel/power/swap.c error = swap_write_page(handle, data_of(*snapshot), error 339 kernel/power/swap.c if (error) error 348 kernel/power/swap.c if (!error) error 349 kernel/power/swap.c error = err2; error 350 kernel/power/swap.c if (!error) error 353 kernel/power/swap.c return error; error 386 kernel/power/swap.c int error; error 388 kernel/power/swap.c error = swsusp_swap_check(); error 389 kernel/power/swap.c if (error) { error 392 kernel/power/swap.c return error; error 395 kernel/power/swap.c error = snapshot_read_next(&snapshot, PAGE_SIZE); error 396 kernel/power/swap.c if (error < PAGE_SIZE) { error 397 kernel/power/swap.c if (error >= 0) error 398 kernel/power/swap.c error = -EFAULT; error 405 kernel/power/swap.c error = -ENOSPC; error 408 kernel/power/swap.c error = get_swap_writer(&handle); error 409 kernel/power/swap.c if (!error) { error 412 kernel/power/swap.c error = swap_write_page(&handle, header, NULL); error 413 kernel/power/swap.c if (!error) error 414 kernel/power/swap.c error = save_image(&handle, &snapshot, error 417 kernel/power/swap.c if (!error) { error 420 kernel/power/swap.c error = mark_swapfiles(start, flags); error 424 kernel/power/swap.c if (error) error 430 kernel/power/swap.c return error; error 447 kernel/power/swap.c int error; error 456 kernel/power/swap.c error = bio_read_page(start, handle->cur, NULL); error 457 kernel/power/swap.c if (error) { error 459 kernel/power/swap.c return error; error 469 kernel/power/swap.c int error; error 476 kernel/power/swap.c error = bio_read_page(offset, buf, bio_chain); error 477 kernel/power/swap.c if (error) error 478 kernel/power/swap.c return error; error 480 kernel/power/swap.c error = wait_on_bio_chain(bio_chain); error 485 kernel/power/swap.c else if (!error) error 486 kernel/power/swap.c error = bio_read_page(offset, handle->cur, NULL); error 488 kernel/power/swap.c return error; error 502 kernel/power/swap.c int error = 0; error 518 kernel/power/swap.c error = snapshot_write_next(snapshot, PAGE_SIZE); error 519 kernel/power/swap.c if (error <= 0) error 521 kernel/power/swap.c error = swap_read_page(handle, data_of(*snapshot), &bio); error 522 kernel/power/swap.c if (error) error 525 kernel/power/swap.c error = wait_on_bio_chain(&bio); error 526 kernel/power/swap.c if (error) error 534 kernel/power/swap.c if (!error) error 535 kernel/power/swap.c error = err2; error 536 kernel/power/swap.c if (!error) { error 540 kernel/power/swap.c error = -ENODATA; error 543 kernel/power/swap.c return error; error 554 kernel/power/swap.c int error; error 566 kernel/power/swap.c error = snapshot_write_next(&snapshot, PAGE_SIZE); error 567 kernel/power/swap.c if (error < PAGE_SIZE) error 568 kernel/power/swap.c return error < 0 ? error : -EFAULT; error 570 kernel/power/swap.c error = get_swap_reader(&handle, swsusp_header->image); error 571 kernel/power/swap.c if (!error) error 572 kernel/power/swap.c error = swap_read_page(&handle, header, NULL); error 573 kernel/power/swap.c if (!error) error 574 kernel/power/swap.c error = load_image(&handle, &snapshot, header->pages - 1); error 579 kernel/power/swap.c if (!error) error 582 kernel/power/swap.c pr_debug("PM: Error %d resuming\n", error); error 583 kernel/power/swap.c return error; error 592 kernel/power/swap.c int error; error 598 kernel/power/swap.c error = bio_read_page(swsusp_resume_block, error 600 kernel/power/swap.c if (error) error 601 kernel/power/swap.c return error; error 606 kernel/power/swap.c error = bio_write_page(swsusp_resume_block, error 611 kernel/power/swap.c if (error) error 616 kernel/power/swap.c error = PTR_ERR(resume_bdev); error 619 kernel/power/swap.c if (error) error 620 kernel/power/swap.c pr_debug("PM: Error %d checking image file\n", error); error 622 kernel/power/swap.c return error; error 71 kernel/power/user.c int error; error 76 kernel/power/user.c error = -EBUSY; error 82 kernel/power/user.c error = -ENOSYS; error 87 kernel/power/user.c error = -ENOMEM; error 98 kernel/power/user.c error = pm_notifier_call_chain(PM_RESTORE_PREPARE); error 99 kernel/power/user.c if (error) error 104 kernel/power/user.c error = pm_notifier_call_chain(PM_HIBERNATION_PREPARE); error 105 kernel/power/user.c if (error) error 108 kernel/power/user.c if (error) error 117 kernel/power/user.c return error; error 193 kernel/power/user.c int error = 0; error 219 kernel/power/user.c error = freeze_processes(); error 220 kernel/power/user.c if (error) error 222 kernel/power/user.c if (!error) error 236 kernel/power/user.c error = -EPERM; error 239 kernel/power/user.c error = hibernation_snapshot(data->platform_support); error 240 kernel/power/user.c if (!error) error 241 kernel/power/user.c error = put_user(in_suspend, (int __user *)arg); error 242 kernel/power/user.c if (!error) error 250 kernel/power/user.c error = -EPERM; error 253 kernel/power/user.c error = hibernation_restore(data->platform_support); error 269 kernel/power/user.c error = -ENODATA; error 274 kernel/power/user.c error = put_user(size, (loff_t __user *)arg); error 281 kernel/power/user.c error = put_user(size, (loff_t __user *)arg); error 287 kernel/power/user.c error = -ENODEV; error 293 kernel/power/user.c error = put_user(offset, (loff_t __user *)arg); error 295 kernel/power/user.c error = -ENOSPC; error 301 kernel/power/user.c error = -ENODEV; error 317 kernel/power/user.c error = -ENODEV; error 320 kernel/power/user.c error = -EINVAL; error 323 kernel/power/user.c error = -EPERM; error 329 kernel/power/user.c error = -EPERM; error 336 kernel/power/user.c error = suspend_devices_and_enter(PM_SUSPEND_MEM); error 345 kernel/power/user.c error = hibernation_platform_enter(); error 349 kernel/power/user.c error = -EINVAL; error 355 kernel/power/user.c error = 0; error 360 kernel/power/user.c error = hibernation_platform_enter(); error 365 kernel/power/user.c error = 0; error 376 kernel/power/user.c error = -EPERM; error 381 kernel/power/user.c error = copy_from_user(&swap_area, (void __user *)arg, error 383 kernel/power/user.c if (error) { error 384 kernel/power/user.c error = -EFAULT; error 397 kernel/power/user.c error = -ENODEV; error 400 kernel/power/user.c error = -EINVAL; error 406 kernel/power/user.c error = -ENOTTY; error 412 kernel/power/user.c return error; error 294 kernel/printk.c int error = 0; error 296 kernel/printk.c error = security_syslog(type); error 297 kernel/printk.c if (error) error 298 kernel/printk.c return error; error 306 kernel/printk.c error = -EINVAL; error 309 kernel/printk.c error = 0; error 313 kernel/printk.c error = -EFAULT; error 316 kernel/printk.c error = wait_event_interruptible(log_wait, error 318 kernel/printk.c if (error) error 322 kernel/printk.c while (!error && (log_start != log_end) && i < len) { error 326 kernel/printk.c error = __put_user(c,buf); error 333 kernel/printk.c if (!error) error 334 kernel/printk.c error = i; error 340 kernel/printk.c error = -EINVAL; error 343 kernel/printk.c error = 0; error 347 kernel/printk.c error = -EFAULT; error 365 kernel/printk.c for (i = 0; i < count && !error; i++) { error 371 kernel/printk.c error = __put_user(c,&buf[count-1-i]); error 376 kernel/printk.c if (error) error 378 kernel/printk.c error = i; error 380 kernel/printk.c int offset = count-error; error 382 kernel/printk.c for (i = 0; i < error; i++) { error 385 kernel/printk.c error = -EFAULT; error 402 kernel/printk.c error = -EINVAL; error 408 kernel/printk.c error = 0; error 411 kernel/printk.c error = log_end - log_start; error 414 kernel/printk.c error = log_buf_len; error 417 kernel/printk.c error = -EINVAL; error 421 kernel/printk.c return error; error 317 kernel/ptrace.c int error = -ESRCH; error 321 kernel/ptrace.c error = -EINVAL; error 325 kernel/ptrace.c error = 0; error 330 kernel/ptrace.c return error; error 335 kernel/ptrace.c int error = -ESRCH; error 339 kernel/ptrace.c error = -EINVAL; error 343 kernel/ptrace.c error = 0; error 348 kernel/ptrace.c return error; error 1111 kernel/relay.c desc->error = -EFAULT; error 1154 kernel/relay.c if (desc->error < 0) error 1176 kernel/relay.c desc.error = 0; error 7571 kernel/sched.c goto error; error 7606 kernel/sched.c goto error; error 7670 kernel/sched.c error: error 569 kernel/signal.c int error; error 577 kernel/signal.c error = audit_signal_info(sig, t); /* Let audit system see the signal */ error 578 kernel/signal.c if (error) error 579 kernel/signal.c return error; error 1048 kernel/signal.c int error = -ESRCH; error 1055 kernel/signal.c error = group_send_sig_info(sig, info, p); error 1056 kernel/signal.c if (unlikely(error == -ESRCH)) error 1067 kernel/signal.c return error; error 1073 kernel/signal.c int error; error 1075 kernel/signal.c error = kill_pid_info(sig, info, find_vpid(pid)); error 1077 kernel/signal.c return error; error 1966 kernel/signal.c int error; error 1972 kernel/signal.c error = 0; error 1984 kernel/signal.c error = -EINVAL; error 1989 kernel/signal.c return error; error 1995 kernel/signal.c int error = -EINVAL; error 2003 kernel/signal.c error = -EFAULT; error 2008 kernel/signal.c error = sigprocmask(how, &new_set, &old_set); error 2009 kernel/signal.c if (error) error 2019 kernel/signal.c error = -EFAULT; error 2023 kernel/signal.c error = 0; error 2025 kernel/signal.c return error; error 2030 kernel/signal.c long error = -EINVAL; error 2044 kernel/signal.c error = -EFAULT; error 2046 kernel/signal.c error = 0; error 2049 kernel/signal.c return error; error 2217 kernel/signal.c int error; error 2222 kernel/signal.c error = -ESRCH; error 2232 kernel/signal.c error = check_kill_permission(sig, &info, p); error 2241 kernel/signal.c if (!error && sig && lock_task_sighand(p, &flags)) { error 2242 kernel/signal.c error = specific_send_sig_info(sig, &info, p); error 2248 kernel/signal.c return error; error 2350 kernel/signal.c int error; error 2363 kernel/signal.c error = -EFAULT; error 2370 kernel/signal.c error = -EPERM; error 2374 kernel/signal.c error = -EINVAL; error 2390 kernel/signal.c error = -ENOMEM; error 2400 kernel/signal.c error = -EFAULT; error 2405 kernel/signal.c error = 0; error 2407 kernel/signal.c return error; error 2427 kernel/signal.c int error; error 2431 kernel/signal.c error = -EFAULT; error 2439 kernel/signal.c error = 0; error 2442 kernel/signal.c error = -EINVAL; error 2457 kernel/signal.c if (error) error 2464 kernel/signal.c error = -EFAULT; error 2468 kernel/signal.c error = 0; error 2470 kernel/signal.c return error; error 121 kernel/sys.c error = -EPERM; error 125 kernel/sys.c error = -EACCES; error 130 kernel/sys.c error = no_nice; error 133 kernel/sys.c if (error == -ESRCH) error 134 kernel/sys.c error = 0; error 137 kernel/sys.c return error; error 144 kernel/sys.c int error = -EINVAL; error 151 kernel/sys.c error = -ESRCH; error 165 kernel/sys.c error = set_one_prio(p, niceval, error); error 173 kernel/sys.c error = set_one_prio(p, niceval, error); error 186 kernel/sys.c error = set_one_prio(p, niceval, error); error 195 kernel/sys.c return error; error 1636 kernel/sys.c long error = 0; error 1638 kernel/sys.c if (security_task_prctl(option, arg2, arg3, arg4, arg5, &error)) error 1639 kernel/sys.c return error; error 1644 kernel/sys.c error = -EINVAL; error 1650 kernel/sys.c error = put_user(current->pdeath_signal, (int __user *)arg2); error 1653 kernel/sys.c error = get_dumpable(current->mm); error 1657 kernel/sys.c error = -EINVAL; error 1664 kernel/sys.c error = SET_UNALIGN_CTL(current, arg2); error 1667 kernel/sys.c error = GET_UNALIGN_CTL(current, arg2); error 1670 kernel/sys.c error = SET_FPEMU_CTL(current, arg2); error 1673 kernel/sys.c error = GET_FPEMU_CTL(current, arg2); error 1676 kernel/sys.c error = SET_FPEXC_CTL(current, arg2); error 1679 kernel/sys.c error = GET_FPEXC_CTL(current, arg2); error 1682 kernel/sys.c error = PR_TIMING_STATISTICAL; error 1686 kernel/sys.c error = -EINVAL; error 1710 kernel/sys.c error = GET_ENDIAN(current, arg2); error 1713 kernel/sys.c error = SET_ENDIAN(current, arg2); error 1717 kernel/sys.c error = prctl_get_seccomp(); error 1720 kernel/sys.c error = prctl_set_seccomp(arg2); error 1723 kernel/sys.c error = GET_TSC_CTL(arg2); error 1726 kernel/sys.c error = SET_TSC_CTL(arg2); error 1729 kernel/sys.c error = -EINVAL; error 1732 kernel/sys.c return error; error 1553 kernel/sysctl.c int error; error 1562 kernel/sysctl.c error = do_sysctl_strategy(root, table, name, nlen, error 1565 kernel/sysctl.c return error; error 1575 kernel/sysctl.c int error = -ENOTDIR; error 1587 kernel/sysctl.c error = parse_table(name, nlen, oldval, oldlenp, error 1590 kernel/sysctl.c if (error != -ENOTDIR) { error 1595 kernel/sysctl.c return error; error 1601 kernel/sysctl.c int error; error 1606 kernel/sysctl.c error = deprecated_sysctl_warning(&tmp); error 1607 kernel/sysctl.c if (error) error 1611 kernel/sysctl.c error = do_sysctl(tmp.name, tmp.nlen, tmp.oldval, tmp.oldlenp, error 1615 kernel/sysctl.c return error; error 1637 kernel/sysctl.c int error; error 1640 kernel/sysctl.c error = security_sysctl(table, op & (MAY_READ | MAY_WRITE | MAY_EXEC)); error 1641 kernel/sysctl.c if (error) error 1642 kernel/sysctl.c return error; error 2912 kernel/sysctl.c int error; error 2917 kernel/sysctl.c error = deprecated_sysctl_warning(&tmp); error 2920 kernel/sysctl.c if (!error) error 2921 kernel/sysctl.c error = -ENOSYS; error 2923 kernel/sysctl.c return error; error 1399 kernel/sysctl_check.c int error; error 1401 kernel/sysctl_check.c error = 0; error 1421 kernel/sysctl_check.c error = -EINVAL; error 1424 kernel/sysctl_check.c return error; error 1458 kernel/sysctl_check.c int error = 0; error 1539 kernel/sysctl_check.c error = -EINVAL; error 1542 kernel/sysctl_check.c error |= sysctl_check_table(namespaces, table->child); error 1544 kernel/sysctl_check.c return error; error 156 kernel/time.c int error = 0; error 161 kernel/time.c error = security_settime(tv, tz); error 162 kernel/time.c if (error) error 163 kernel/time.c return error; error 495 kernel/time/clocksource.c int error = sysdev_class_register(&clocksource_sysclass); error 497 kernel/time/clocksource.c if (!error) error 498 kernel/time/clocksource.c error = sysdev_register(&device_clocksource); error 499 kernel/time/clocksource.c if (!error) error 500 kernel/time/clocksource.c error = sysdev_create_file( error 503 kernel/time/clocksource.c if (!error) error 504 kernel/time/clocksource.c error = sysdev_create_file( error 507 kernel/time/clocksource.c return error; error 150 kernel/time/timekeeping.c clock->error = 0; error 189 kernel/time/timekeeping.c clock->error = 0; error 301 kernel/time/timekeeping.c clock->error = 0; error 346 kernel/time/timekeeping.c int error = sysdev_class_register(&timekeeping_sysclass); error 347 kernel/time/timekeeping.c if (!error) error 348 kernel/time/timekeeping.c error = sysdev_register(&device_timer); error 349 kernel/time/timekeeping.c return error; error 374 kernel/time/timekeeping.c error2 = clock->error >> (NTP_SCALE_SHIFT + 22 - 2 * SHIFT_HZ); error 385 kernel/time/timekeeping.c error = ((error - tick_error) >> look_ahead) + tick_error; error 390 kernel/time/timekeeping.c if (error < 0) { error 391 kernel/time/timekeeping.c error = -error; error 396 kernel/time/timekeeping.c for (adj = 0; error > i; adj++) error 397 kernel/time/timekeeping.c error >>= 1; error 411 kernel/time/timekeeping.c s64 error, interval = clock->cycle_interval; error 414 kernel/time/timekeeping.c error = clock->error >> (NTP_SCALE_SHIFT - clock->shift - 1); error 415 kernel/time/timekeeping.c if (error > interval) { error 416 kernel/time/timekeeping.c error >>= 2; error 417 kernel/time/timekeeping.c if (likely(error <= interval)) error 420 kernel/time/timekeeping.c adj = clocksource_bigadjust(error, &interval, &offset); error 421 kernel/time/timekeeping.c } else if (error < -interval) { error 422 kernel/time/timekeeping.c error >>= 2; error 423 kernel/time/timekeeping.c if (likely(error >= -interval)) { error 428 kernel/time/timekeeping.c adj = clocksource_bigadjust(error, &interval, &offset); error 435 kernel/time/timekeeping.c clock->error -= (interval - offset) << error 475 kernel/time/timekeeping.c clock->error += tick_length; error 476 kernel/time/timekeeping.c clock->error -= clock->xtime_interval << (NTP_SCALE_SHIFT - clock->shift); error 249 kernel/user.c int error; error 253 kernel/user.c error = kobject_init_and_add(kobj, &uids_ktype, NULL, "%d", up->uid); error 254 kernel/user.c if (error) { error 261 kernel/user.c return error; error 534 lib/idr.c int n, id, max, error = 0; error 552 lib/idr.c error = fn(id, (void *)p, data); error 553 lib/idr.c if (error) error 564 lib/idr.c return error; error 246 lib/inflate.c error("Malloc error"); error 256 lib/inflate.c error("Out of memory"); error 978 lib/inflate.c error("incomplete literal tree"); error 990 lib/inflate.c error("incomplete distance tree"); error 1205 lib/inflate.c error("bad gzip magic numbers"); error 1211 lib/inflate.c error("internal error, invalid method"); error 1217 lib/inflate.c error("Input is encrypted"); error 1221 lib/inflate.c error("Multi part input"); error 1225 lib/inflate.c error("Input has invalid flags"); error 1259 lib/inflate.c error("invalid compressed format (err=1)"); error 1262 lib/inflate.c error("invalid compressed format (err=2)"); error 1265 lib/inflate.c error("out of memory"); error 1268 lib/inflate.c error("out of input data"); error 1271 lib/inflate.c error("invalid compressed format (other)"); error 1292 lib/inflate.c error("crc error"); error 1296 lib/inflate.c error("length error"); error 1302 lib/inflate.c error("out of input data"); error 34 lib/kobject.c int error = 0; error 39 lib/kobject.c error = sysfs_create_file(kobj, attr); error 40 lib/kobject.c if (error) error 44 lib/kobject.c return error; error 49 lib/kobject.c int error = 0; error 51 lib/kobject.c error = sysfs_create_dir(kobj); error 52 lib/kobject.c if (!error) { error 53 lib/kobject.c error = populate_dir(kobj); error 54 lib/kobject.c if (error) error 58 lib/kobject.c return error; error 160 lib/kobject.c int error = 0; error 187 lib/kobject.c error = create_dir(kobj); error 188 lib/kobject.c if (error) { error 194 lib/kobject.c if (error == -EEXIST) error 201 lib/kobject.c __func__, kobject_name(kobj), error); error 206 lib/kobject.c return error; error 273 lib/kobject.c goto error; error 277 lib/kobject.c goto error; error 290 lib/kobject.c error: error 393 lib/kobject.c int error = 0; error 419 lib/kobject.c error = -ENOMEM; error 424 lib/kobject.c error = -ENOMEM; error 431 lib/kobject.c error = sysfs_rename_dir(kobj, new_name); error 436 lib/kobject.c if (!error) error 444 lib/kobject.c return error; error 455 lib/kobject.c int error; error 472 lib/kobject.c error = -ENOMEM; error 477 lib/kobject.c error = -ENOMEM; error 483 lib/kobject.c error = sysfs_move_dir(kobj, new_parent); error 484 lib/kobject.c if (error) error 496 lib/kobject.c return error; error 826 lib/kobject.c int error; error 831 lib/kobject.c error = kset_register(kset); error 832 lib/kobject.c if (error) { error 297 lib/radix-tree.c int error; error 303 lib/radix-tree.c error = radix_tree_extend(root, index); error 304 lib/radix-tree.c if (error) error 305 lib/radix-tree.c return error; error 915 lib/zlib_deflate/deftree.c if (buf == (char*)0) error ("block vanished"); error 457 mm/filemap.c int error; error 461 mm/filemap.c error = mem_cgroup_cache_charge(page, current->mm, error 463 mm/filemap.c if (error) error 466 mm/filemap.c error = radix_tree_preload(gfp_mask & ~__GFP_HIGHMEM); error 467 mm/filemap.c if (error == 0) { error 473 mm/filemap.c error = radix_tree_insert(&mapping->page_tree, offset, page); error 474 mm/filemap.c if (likely(!error)) { error 488 mm/filemap.c return error; error 996 mm/filemap.c int error; error 1122 mm/filemap.c error = mapping->a_ops->readpage(filp, page); error 1124 mm/filemap.c if (unlikely(error)) { error 1125 mm/filemap.c if (error == AOP_TRUNCATED_PAGE) { error 1154 mm/filemap.c error = -EIO; error 1157 mm/filemap.c desc->error = error; error 1168 mm/filemap.c desc->error = -ENOMEM; error 1171 mm/filemap.c error = add_to_page_cache_lru(page, mapping, error 1173 mm/filemap.c if (error) { error 1175 mm/filemap.c if (error == -EEXIST) error 1177 mm/filemap.c desc->error = error; error 1222 mm/filemap.c desc->error = -EFAULT; error 1329 mm/filemap.c desc.error = 0; error 1332 mm/filemap.c if (desc.error) { error 1333 mm/filemap.c retval = retval ?: desc.error; error 1425 mm/filemap.c int error; error 1530 mm/filemap.c error = page_cache_read(file, vmf->pgoff); error 1537 mm/filemap.c if (error >= 0) error 1545 mm/filemap.c if (error == -ENOMEM) error 1563 mm/filemap.c error = mapping->a_ops->readpage(file, page); error 1564 mm/filemap.c if (!error) { error 1567 mm/filemap.c error = -EIO; error 1571 mm/filemap.c if (!error || error == AOP_TRUNCATED_PAGE) error 1776 mm/filemap.c int error = 0; error 1781 mm/filemap.c error = security_inode_killpriv(dentry); error 1782 mm/filemap.c if (!error && killsuid) error 1783 mm/filemap.c error = __remove_suid(dentry, killsuid); error 1785 mm/filemap.c return error; error 62 mm/filemap_xip.c size_t copied = 0, error = 0; error 95 mm/filemap_xip.c error = mapping->a_ops->get_xip_mem(mapping, index, 0, error 97 mm/filemap_xip.c if (unlikely(error)) { error 98 mm/filemap_xip.c if (error == -ENODATA) { error 127 mm/filemap_xip.c error = -EFAULT; error 142 mm/filemap_xip.c return (copied ? copied : error); error 229 mm/filemap_xip.c int error; error 237 mm/filemap_xip.c error = mapping->a_ops->get_xip_mem(mapping, vmf->pgoff, 0, error 239 mm/filemap_xip.c if (likely(!error)) error 241 mm/filemap_xip.c if (error != -ENODATA) error 252 mm/filemap_xip.c error = mapping->a_ops->get_xip_mem(mapping, vmf->pgoff, 1, error 255 mm/filemap_xip.c if (error) error 272 mm/filemap_xip.c error = mapping->a_ops->get_xip_mem(mapping, vmf->pgoff, 0, error 274 mm/filemap_xip.c if (unlikely(!error)) { error 279 mm/filemap_xip.c if (error != -ENODATA) error 42 mm/madvise.c int error = 0; error 80 mm/madvise.c error = split_vma(mm, vma, start, 1); error 81 mm/madvise.c if (error) error 86 mm/madvise.c error = split_vma(mm, vma, end, 0); error 87 mm/madvise.c if (error) error 98 mm/madvise.c if (error == -ENOMEM) error 99 mm/madvise.c error = -EAGAIN; error 100 mm/madvise.c return error; error 182 mm/madvise.c int error; error 206 mm/madvise.c error = vmtruncate_range(mapping->host, offset, endoff); error 208 mm/madvise.c return error; error 215 mm/madvise.c long error; error 220 mm/madvise.c error = -EINVAL; error 227 mm/madvise.c error = madvise_behavior(vma, prev, start, end, behavior); error 230 mm/madvise.c error = madvise_remove(vma, prev, start, end); error 234 mm/madvise.c error = madvise_willneed(vma, prev, start, end); error 238 mm/madvise.c error = madvise_dontneed(vma, prev, start, end); error 242 mm/madvise.c error = -EINVAL; error 245 mm/madvise.c return error; error 289 mm/madvise.c int error = -EINVAL; error 311 mm/madvise.c error = 0; error 326 mm/madvise.c error = -ENOMEM; error 344 mm/madvise.c error = madvise_vma(vma, &prev, start, tmp, behavior); error 345 mm/madvise.c if (error) error 350 mm/madvise.c error = unmapped_error; error 364 mm/madvise.c return error; error 495 mm/memory_hotplug.c goto error; error 513 mm/memory_hotplug.c error: error 88 mm/mlock.c int error; error 115 mm/mlock.c error = mlock_fixup(vma, &prev, nstart, tmp, newflags); error 116 mm/mlock.c if (error) error 126 mm/mlock.c error = -ENOMEM; error 130 mm/mlock.c return error; error 137 mm/mlock.c int error = -ENOMEM; error 154 mm/mlock.c error = do_mlock(start, len, 1); error 156 mm/mlock.c return error; error 150 mm/mmap.c goto error; error 164 mm/mmap.c goto error; error 186 mm/mmap.c error: error 919 mm/mmap.c int error; error 939 mm/mmap.c error = arch_mmap_check(addr, len, flags); error 940 mm/mmap.c if (error) error 941 mm/mmap.c return error; error 1050 mm/mmap.c error = security_file_mmap(file, reqprot, prot, flags, addr, 0); error 1051 mm/mmap.c if (error) error 1052 mm/mmap.c return error; error 1099 mm/mmap.c int error; error 1105 mm/mmap.c error = -ENOMEM; error 1154 mm/mmap.c error = -ENOMEM; error 1166 mm/mmap.c error = -EINVAL; error 1170 mm/mmap.c error = deny_write_access(file); error 1171 mm/mmap.c if (error) error 1177 mm/mmap.c error = file->f_op->mmap(file, vma); error 1178 mm/mmap.c if (error) error 1183 mm/mmap.c error = shmem_zero_setup(vma); error 1184 mm/mmap.c if (error) error 1248 mm/mmap.c return error; error 1593 mm/mmap.c int error; error 1618 mm/mmap.c error = 0; error 1627 mm/mmap.c error = acct_stack_growth(vma, size, grow); error 1628 mm/mmap.c if (!error) error 1632 mm/mmap.c return error; error 1642 mm/mmap.c int error; error 1652 mm/mmap.c error = security_file_mmap(NULL, 0, 0, 0, address, 1); error 1653 mm/mmap.c if (error) error 1654 mm/mmap.c return error; error 1671 mm/mmap.c error = acct_stack_growth(vma, size, grow); error 1672 mm/mmap.c if (!error) { error 1678 mm/mmap.c return error; error 1901 mm/mmap.c int error = split_vma(mm, vma, start, 0); error 1902 mm/mmap.c if (error) error 1903 mm/mmap.c return error; error 1910 mm/mmap.c int error = split_vma(mm, last, end, 1); error 1911 mm/mmap.c if (error) error 1912 mm/mmap.c return error; error 1965 mm/mmap.c int error; error 1977 mm/mmap.c error = security_file_mmap(NULL, 0, 0, 0, addr, 1); error 1978 mm/mmap.c if (error) error 1979 mm/mmap.c return error; error 1983 mm/mmap.c error = arch_mmap_check(addr, len, flags); error 1984 mm/mmap.c if (error) error 1985 mm/mmap.c return error; error 145 mm/mprotect.c int error; error 182 mm/mprotect.c error = split_vma(mm, vma, start, 1); error 183 mm/mprotect.c if (error) error 188 mm/mprotect.c error = split_vma(mm, vma, end, 0); error 189 mm/mprotect.c if (error) error 219 mm/mprotect.c return error; error 227 mm/mprotect.c int error = -EINVAL; error 256 mm/mprotect.c error = -ENOMEM; error 263 mm/mprotect.c error = -EINVAL; error 272 mm/mprotect.c error = -EINVAL; error 289 mm/mprotect.c error = -EACCES; error 293 mm/mprotect.c error = security_file_mprotect(vma, reqprot, prot); error 294 mm/mprotect.c if (error) error 300 mm/mprotect.c error = mprotect_fixup(vma, &prev, nstart, tmp, newflags); error 301 mm/mprotect.c if (error) error 312 mm/mprotect.c error = -ENOMEM; error 318 mm/mprotect.c return error; error 37 mm/msync.c int error = -EINVAL; error 45 mm/msync.c error = -ENOMEM; error 50 mm/msync.c error = 0; error 63 mm/msync.c error = -ENOMEM; error 76 mm/msync.c error = -EBUSY; error 85 mm/msync.c error = do_fsync(file, 0); error 87 mm/msync.c if (error || start >= end) error 93 mm/msync.c error = 0; error 102 mm/msync.c return error ? : unmapped_error; error 976 mm/nommu.c goto error; error 983 mm/nommu.c goto error; error 1018 mm/nommu.c goto error; error 1054 mm/nommu.c error: error 1408 mm/nommu.c goto error; error 1422 mm/nommu.c goto error; error 1443 mm/nommu.c error: error 751 mm/shmem.c int error; error 785 mm/shmem.c error = inode_change_ok(inode, attr); error 786 mm/shmem.c if (!error) error 787 mm/shmem.c error = inode_setattr(inode, attr); error 789 mm/shmem.c if (!error && (attr->ia_valid & ATTR_MODE)) error 790 mm/shmem.c error = generic_acl_chmod(inode, &shmem_acl_ops); error 794 mm/shmem.c return error; error 839 mm/shmem.c int error; error 920 mm/shmem.c error = 1; error 924 mm/shmem.c error = mem_cgroup_cache_charge(page, current->mm, GFP_KERNEL); error 925 mm/shmem.c if (error) error 927 mm/shmem.c error = radix_tree_preload(GFP_KERNEL); error 928 mm/shmem.c if (error) { error 932 mm/shmem.c error = 1; error 937 mm/shmem.c error = add_to_page_cache_locked(page, inode->i_mapping, error 943 mm/shmem.c if (error == -EEXIST) { error 945 mm/shmem.c error = 1; error 952 mm/shmem.c error = 0; error 956 mm/shmem.c if (!error) { error 962 mm/shmem.c error = 1; /* not an error, but entry was found */ error 972 mm/shmem.c return error; error 1189 mm/shmem.c int error; error 1210 mm/shmem.c error = 0; error 1217 mm/shmem.c error = radix_tree_preload(gfp & ~__GFP_HIGHMEM); error 1218 mm/shmem.c if (error) error 1228 mm/shmem.c error = PTR_ERR(entry); error 1249 mm/shmem.c error = PTR_ERR(entry); error 1252 mm/shmem.c error = -ENOMEM; error 1256 mm/shmem.c if (error) error 1286 mm/shmem.c error = -EIO; error 1302 mm/shmem.c } else if (!(error = add_to_page_cache_locked(swappage, mapping, error 1317 mm/shmem.c if (error == -ENOMEM) { error 1319 mm/shmem.c error = mem_cgroup_shrink_usage(current->mm, error 1321 mm/shmem.c if (error) error 1347 mm/shmem.c error = -ENOSPC; error 1355 mm/shmem.c error = -ENOSPC; error 1367 mm/shmem.c error = -ENOMEM; error 1372 mm/shmem.c error = mem_cgroup_cache_charge(filepage, current->mm, error 1374 mm/shmem.c if (error) { error 1385 mm/shmem.c error = PTR_ERR(entry); error 1390 mm/shmem.c ret = error || swap.val; error 1406 mm/shmem.c if (error) error 1430 mm/shmem.c return error; error 1436 mm/shmem.c int error; error 1442 mm/shmem.c error = shmem_getpage(inode, vmf->pgoff, &vmf->page, SGP_CACHE, &ret); error 1443 mm/shmem.c if (error) error 1444 mm/shmem.c return ((error == -ENOMEM) ? VM_FAULT_OOM : VM_FAULT_SIGBUS); error 1566 mm/shmem.c int error = shmem_getpage(inode, page->index, &page, SGP_CACHE, NULL); error 1568 mm/shmem.c return error; error 1631 mm/shmem.c desc->error = shmem_getpage(inode, index, &page, sgp, NULL); error 1632 mm/shmem.c if (desc->error) { error 1633 mm/shmem.c if (desc->error == -EINVAL) error 1634 mm/shmem.c desc->error = 0; error 1722 mm/shmem.c desc.error = 0; error 1725 mm/shmem.c if (desc.error) { error 1726 mm/shmem.c retval = retval ?: desc.error; error 1763 mm/shmem.c int error = -ENOSPC; error 1766 mm/shmem.c error = security_inode_init_security(inode, dir, NULL, NULL, error 1768 mm/shmem.c if (error) { error 1769 mm/shmem.c if (error != -EOPNOTSUPP) { error 1771 mm/shmem.c return error; error 1774 mm/shmem.c error = shmem_acl_init(inode, dir); error 1775 mm/shmem.c if (error) { error 1777 mm/shmem.c return error; error 1789 mm/shmem.c return error; error 1794 mm/shmem.c int error; error 1796 mm/shmem.c if ((error = shmem_mknod(dir, dentry, mode | S_IFDIR, 0))) error 1797 mm/shmem.c return error; error 1892 mm/shmem.c int error; error 1907 mm/shmem.c error = security_inode_init_security(inode, dir, NULL, NULL, error 1909 mm/shmem.c if (error) { error 1910 mm/shmem.c if (error != -EOPNOTSUPP) { error 1912 mm/shmem.c return error; error 1914 mm/shmem.c error = 0; error 1924 mm/shmem.c error = shmem_getpage(inode, 0, &page, SGP_WRITE, NULL); error 1925 mm/shmem.c if (error) { error 1927 mm/shmem.c return error; error 2197 mm/shmem.c int error = -EINVAL; error 2200 mm/shmem.c return error; error 2220 mm/shmem.c error = 0; error 2230 mm/shmem.c return error; error 2488 mm/shmem.c int error; error 2490 mm/shmem.c error = bdi_init(&shmem_backing_dev_info); error 2491 mm/shmem.c if (error) error 2494 mm/shmem.c error = init_inodecache(); error 2495 mm/shmem.c if (error) error 2498 mm/shmem.c error = register_filesystem(&tmpfs_fs_type); error 2499 mm/shmem.c if (error) { error 2507 mm/shmem.c error = PTR_ERR(shm_mnt); error 2520 mm/shmem.c shm_mnt = ERR_PTR(error); error 2521 mm/shmem.c return error; error 2533 mm/shmem.c int error; error 2548 mm/shmem.c error = -ENOMEM; error 2557 mm/shmem.c error = -ENFILE; error 2562 mm/shmem.c error = -ENOSPC; error 2581 mm/shmem.c return ERR_PTR(error); error 183 mm/shmem_acl.c int error = posix_acl_permission(inode, acl, mask); error 185 mm/shmem_acl.c return error; error 1781 mm/slab.c unsigned char error = 0; error 1787 mm/slab.c error = data[offset + i]; error 1795 mm/slab.c error ^= POISON_FREE; error 1796 mm/slab.c if (!(error & (error - 1))) { error 4160 mm/slab.c char *error = NULL; error 4175 mm/slab.c if (slabp->inuse != cachep->num && !error) error 4176 mm/slab.c error = "slabs_full accounting error"; error 4181 mm/slab.c if (slabp->inuse == cachep->num && !error) error 4182 mm/slab.c error = "slabs_partial inuse accounting error"; error 4183 mm/slab.c if (!slabp->inuse && !error) error 4184 mm/slab.c error = "slabs_partial/inuse accounting error"; error 4189 mm/slab.c if (slabp->inuse && !error) error 4190 mm/slab.c error = "slabs_free/inuse accounting error"; error 4201 mm/slab.c if (num_objs - active_objs != free_objects && !error) error 4202 mm/slab.c error = "free_objects accounting error"; error 4205 mm/slab.c if (error) error 4206 mm/slab.c printk(KERN_ERR "slab: cache %s error: %s\n", name, error); error 2312 mm/slub.c goto error; error 2319 mm/slub.c goto error; error 2324 mm/slub.c error: error 154 mm/sparse-vmemmap.c int error = vmemmap_populate(map, PAGES_PER_SECTION, nid); error 155 mm/sparse-vmemmap.c if (error) error 73 mm/swap_state.c int error; error 78 mm/swap_state.c error = radix_tree_preload(gfp_mask); error 79 mm/swap_state.c if (!error) { error 85 mm/swap_state.c error = radix_tree_insert(&swapper_space.page_tree, error 87 mm/swap_state.c if (likely(!error)) { error 95 mm/swap_state.c if (unlikely(error)) { error 101 mm/swap_state.c return error; error 1460 mm/swapfile.c int error; error 1480 mm/swapfile.c error = -EPERM; error 1493 mm/swapfile.c error = PTR_ERR(name); error 1499 mm/swapfile.c error = PTR_ERR(swap_file); error 1509 mm/swapfile.c error = -EBUSY; error 1519 mm/swapfile.c error = -EINVAL; error 1522 mm/swapfile.c error = bd_claim(bdev, sys_swapon); error 1523 mm/swapfile.c if (error < 0) { error 1525 mm/swapfile.c error = -EINVAL; error 1529 mm/swapfile.c error = set_blocksize(bdev, PAGE_SIZE); error 1530 mm/swapfile.c if (error < 0) error 1538 mm/swapfile.c error = -EBUSY; error 1551 mm/swapfile.c error = -EINVAL; error 1556 mm/swapfile.c error = PTR_ERR(page); error 1568 mm/swapfile.c error = -EINVAL; error 1576 mm/swapfile.c error = -EINVAL; error 1593 mm/swapfile.c error = -EINVAL; error 1619 mm/swapfile.c error = -EINVAL; error 1635 mm/swapfile.c error = -ENOMEM; error 1639 mm/swapfile.c error = 0; error 1644 mm/swapfile.c error = -EINVAL; error 1651 mm/swapfile.c if (error) error 1661 mm/swapfile.c error = nr_extents; error 1668 mm/swapfile.c error = -EINVAL; error 1705 mm/swapfile.c error = 0; error 1729 mm/swapfile.c if (!error) error 1733 mm/swapfile.c return error; error 50 mm/tiny-shmem.c int error; error 59 mm/tiny-shmem.c error = -ENOMEM; error 68 mm/tiny-shmem.c error = -ENFILE; error 73 mm/tiny-shmem.c error = -ENOSPC; error 85 mm/tiny-shmem.c error = ramfs_nommu_expand_for_mapping(inode, size); error 86 mm/tiny-shmem.c if (error) error 96 mm/tiny-shmem.c return ERR_PTR(error); error 287 mm/vmscan.c mapping_set_error(mapping, error); error 164 net/9p/client.c goto error; error 169 net/9p/client.c goto error; error 175 net/9p/client.c goto error; error 187 net/9p/client.c goto error; error 197 net/9p/client.c goto error; error 202 net/9p/client.c goto error; error 211 net/9p/client.c goto error; error 222 net/9p/client.c error: error 278 net/9p/client.c goto error; error 286 net/9p/client.c goto error; error 291 net/9p/client.c goto error; error 298 net/9p/client.c error: error 324 net/9p/client.c goto error; error 331 net/9p/client.c goto error; error 336 net/9p/client.c goto error; error 343 net/9p/client.c error: error 371 net/9p/client.c goto error; error 382 net/9p/client.c goto error; error 390 net/9p/client.c goto error; error 417 net/9p/client.c goto error; error 422 net/9p/client.c error: error 597 net/9p/client.c goto error; error 602 net/9p/client.c goto error; error 621 net/9p/client.c error: error 654 net/9p/client.c goto error; error 659 net/9p/client.c goto error; error 674 net/9p/client.c error: error 708 net/9p/client.c goto error; error 713 net/9p/client.c goto error; error 722 net/9p/client.c goto error; error 737 net/9p/client.c error: error 772 net/9p/client.c goto error; error 777 net/9p/client.c goto error; error 792 net/9p/client.c error: error 843 net/9p/client.c goto error; error 848 net/9p/client.c goto error; error 854 net/9p/client.c goto error; error 861 net/9p/client.c error: error 942 net/9p/client.c goto error; error 947 net/9p/client.c goto error; error 972 net/9p/client.c goto error; error 981 net/9p/client.c goto error; error 989 net/9p/client.c error: error 1050 net/9p/client.c goto error; error 1068 net/9p/client.c error: error 392 net/9p/conv.c buf_get_str(bufp, &rcall->params.rerror.error); error 547 net/9p/conv.c goto error; error 556 net/9p/conv.c error: error 592 net/9p/conv.c goto error; error 604 net/9p/conv.c error: error 643 net/9p/conv.c goto error; error 652 net/9p/conv.c error: error 673 net/9p/conv.c goto error; error 681 net/9p/conv.c error: error 715 net/9p/conv.c goto error; error 728 net/9p/conv.c error: error 750 net/9p/conv.c goto error; error 759 net/9p/conv.c error: error 794 net/9p/conv.c goto error; error 807 net/9p/conv.c error: error 829 net/9p/conv.c goto error; error 839 net/9p/conv.c error: error 867 net/9p/conv.c goto error; error 876 net/9p/conv.c goto error; error 883 net/9p/conv.c error: error 910 net/9p/conv.c goto error; error 919 net/9p/conv.c goto error; error 926 net/9p/conv.c error: error 949 net/9p/conv.c goto error; error 957 net/9p/conv.c error: error 978 net/9p/conv.c goto error; error 986 net/9p/conv.c error: error 1007 net/9p/conv.c goto error; error 1015 net/9p/conv.c error: error 1040 net/9p/conv.c goto error; error 1050 net/9p/conv.c error: error 212 net/9p/fcprint.c fc->params.rerror.error.len, error 213 net/9p/fcprint.c fc->params.rerror.error.str); error 627 net/9p/trans_fd.c goto error; error 630 net/9p/trans_fd.c goto error; error 653 net/9p/trans_fd.c error: error 665 net/9p/trans_fd.c ename = &req->rcall->params.rerror.error; error 718 net/9p/trans_fd.c goto error; error 734 net/9p/trans_fd.c goto error; error 743 net/9p/trans_fd.c goto error; error 752 net/9p/trans_fd.c goto error; error 771 net/9p/trans_fd.c goto error; error 833 net/9p/trans_fd.c error: error 1439 net/9p/trans_fd.c goto error; error 1449 net/9p/trans_fd.c goto error; error 1454 net/9p/trans_fd.c goto error; error 1461 net/9p/trans_fd.c goto error; error 1466 net/9p/trans_fd.c error: error 1496 net/9p/trans_fd.c goto error; error 1508 net/9p/trans_fd.c goto error; error 1513 net/9p/trans_fd.c goto error; error 1522 net/9p/trans_fd.c goto error; error 1527 net/9p/trans_fd.c error: error 1560 net/9p/trans_fd.c goto error; error 1569 net/9p/trans_fd.c goto error; error 1574 net/9p/trans_fd.c error: error 90 net/9p/util.c int error; error 100 net/9p/util.c error = idr_get_new(&p->pool, p, &i); error 103 net/9p/util.c if (error == -EAGAIN) error 105 net/9p/util.c else if (error) error 72 net/atm/addr.c int error; error 74 net/atm/addr.c error = check_addr(addr); error 75 net/atm/addr.c if (error) error 76 net/atm/addr.c return error; error 107 net/atm/addr.c int error; error 109 net/atm/addr.c error = check_addr(addr); error 110 net/atm/addr.c if (error) error 111 net/atm/addr.c return error; error 137 net/atm/addr.c int total = 0, error; error 155 net/atm/addr.c error = total > size ? -E2BIG : total; error 157 net/atm/addr.c error = -EFAULT; error 159 net/atm/addr.c return error; error 384 net/atm/br2684.c goto error; error 398 net/atm/br2684.c goto error; error 411 net/atm/br2684.c goto error; error 416 net/atm/br2684.c goto error; error 442 net/atm/br2684.c error: error 475 net/atm/br2684.c goto error; error 480 net/atm/br2684.c goto error; error 485 net/atm/br2684.c goto error; error 494 net/atm/br2684.c goto error; error 541 net/atm/br2684.c error: error 96 net/atm/clip.c int error; error 106 net/atm/clip.c error = neigh_update(entry->neigh, NULL, NUD_NONE, error 108 net/atm/clip.c if (error) error 110 net/atm/clip.c "neigh_update failed with %d\n", error); error 518 net/atm/clip.c int error; error 537 net/atm/clip.c error = ip_route_output_key(&init_net, &rt, &fl); error 538 net/atm/clip.c if (error) error 539 net/atm/clip.c return error; error 554 net/atm/clip.c error = neigh_update(neigh, llc_oui, NUD_PERMANENT, error 557 net/atm/clip.c return error; error 580 net/atm/clip.c int error; error 599 net/atm/clip.c error = register_netdev(dev); error 600 net/atm/clip.c if (error) { error 602 net/atm/clip.c return error; error 342 net/atm/common.c int error; error 350 net/atm/common.c error = -ENODEV; error 352 net/atm/common.c return error; error 356 net/atm/common.c (error = find_ci(vcc, &vpi, &vci))) { error 366 net/atm/common.c error = atm_init_aal0(vcc); error 370 net/atm/common.c error = atm_init_aal34(vcc); error 378 net/atm/common.c error = atm_init_aal5(vcc); error 382 net/atm/common.c error = -EPROTOTYPE; error 384 net/atm/common.c if (!error) error = adjust_tp(&vcc->qos.txtp,vcc->qos.aal); error 385 net/atm/common.c if (!error) error = adjust_tp(&vcc->qos.rxtp,vcc->qos.aal); error 386 net/atm/common.c if (error) error 395 net/atm/common.c if ((error = dev->ops->open(vcc))) error 406 net/atm/common.c return error; error 414 net/atm/common.c int error; error 455 net/atm/common.c error = __vcc_connect(vcc, dev, vpi, vci); error 456 net/atm/common.c if (error) { error 458 net/atm/common.c return error; error 474 net/atm/common.c int copied, error = -EINVAL; error 486 net/atm/common.c skb = skb_recv_datagram(sk, flags, flags & MSG_DONTWAIT, &error); error 488 net/atm/common.c return error; error 496 net/atm/common.c error = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); error 497 net/atm/common.c if (error) error 498 net/atm/common.c return error; error 514 net/atm/common.c int eff,error; error 520 net/atm/common.c error = -ENOTCONN; error 524 net/atm/common.c error = -EISCONN; error 528 net/atm/common.c error = -ENOSYS; /* fix this later @@@ */ error 537 net/atm/common.c error = -EPIPE; error 542 net/atm/common.c error = 0; error 546 net/atm/common.c error = -EMSGSIZE; error 552 net/atm/common.c error = 0; error 555 net/atm/common.c error = -EAGAIN; error 560 net/atm/common.c error = -ERESTARTSYS; error 566 net/atm/common.c error = -EPIPE; error 573 net/atm/common.c if (error) error 579 net/atm/common.c error = -EFAULT; error 583 net/atm/common.c error = vcc->dev->ops->send(vcc,skb); error 584 net/atm/common.c error = error ? error : size; error 587 net/atm/common.c return error; error 629 net/atm/common.c int error; error 639 net/atm/common.c error = adjust_tp(&qos->txtp,qos->aal); error 640 net/atm/common.c if (!error) error = adjust_tp(&qos->rxtp,qos->aal); error 641 net/atm/common.c if (error) return error; error 668 net/atm/common.c int error; error 676 net/atm/common.c error = check_tp(&qos->txtp); error 677 net/atm/common.c if (error) return error; error 686 net/atm/common.c int error; error 699 net/atm/common.c error = check_qos(&qos); error 700 net/atm/common.c if (error) return error; error 769 net/atm/common.c int error; error 771 net/atm/common.c if ((error = proto_register(&vcc_proto, 0)) < 0) error 774 net/atm/common.c if ((error = atmpvc_init()) < 0) { error 775 net/atm/common.c printk(KERN_ERR "atmpvc_init() failed with %d\n", error); error 778 net/atm/common.c if ((error = atmsvc_init()) < 0) { error 779 net/atm/common.c printk(KERN_ERR "atmsvc_init() failed with %d\n", error); error 782 net/atm/common.c if ((error = atm_proc_init()) < 0) { error 783 net/atm/common.c printk(KERN_ERR "atm_proc_init() failed with %d\n",error); error 786 net/atm/common.c if ((error = atm_sysfs_init()) < 0) { error 787 net/atm/common.c printk(KERN_ERR "atm_sysfs_init() failed with %d\n",error); error 791 net/atm/common.c return error; error 53 net/atm/ioctl.c int error; error 62 net/atm/ioctl.c error = -EINVAL; error 65 net/atm/ioctl.c error = put_user(sk->sk_sndbuf - error 74 net/atm/ioctl.c error = -EINVAL; error 78 net/atm/ioctl.c error = put_user(skb ? skb->len : 0, error 83 net/atm/ioctl.c error = sock_get_timestamp(sk, argp); error 86 net/atm/ioctl.c error = sock_get_timestampns(sk, argp); error 90 net/atm/ioctl.c error = 0; error 94 net/atm/ioctl.c error = -EPERM; error 105 net/atm/ioctl.c error = -EPERM; error 108 net/atm/ioctl.c error = sigd_attach(vcc); error 109 net/atm/ioctl.c if (!error) error 116 net/atm/ioctl.c error = get_user(backend, (atm_backend_t __user *) argp); error 117 net/atm/ioctl.c if (error) error 141 net/atm/ioctl.c error = -ENOIOCTLCMD; error 147 net/atm/ioctl.c error = ic->ioctl(sock, cmd, arg); error 149 net/atm/ioctl.c if (error != -ENOIOCTLCMD) error 155 net/atm/ioctl.c if (error != -ENOIOCTLCMD) error 158 net/atm/ioctl.c error = atm_dev_ioctl(cmd, argp); error 161 net/atm/ioctl.c return error; error 147 net/atm/pppoatm.c goto error; error 172 net/atm/pppoatm.c goto error; error 178 net/atm/pppoatm.c error: error 404 net/atm/proc.c int error; error 410 net/atm/proc.c error = -ENOMEM; error 428 net/atm/proc.c return error; error 32 net/atm/pvc.c int error; error 40 net/atm/pvc.c error = -EBADFD; error 47 net/atm/pvc.c error = vcc_connect(sock, addr->sap_addr.itf, addr->sap_addr.vpi, error 51 net/atm/pvc.c return error; error 65 net/atm/pvc.c int error; error 68 net/atm/pvc.c error = vcc_setsockopt(sock, level, optname, optval, optlen); error 70 net/atm/pvc.c return error; error 78 net/atm/pvc.c int error; error 81 net/atm/pvc.c error = vcc_getsockopt(sock, level, optname, optval, optlen); error 83 net/atm/pvc.c return error; error 182 net/atm/resources.c int error = 0; error 188 net/atm/resources.c error = copy_to_user(arg, &tmp, sizeof(tmp)); error 189 net/atm/resources.c if (zero && !error) { error 194 net/atm/resources.c return error ? -EFAULT : 0; error 201 net/atm/resources.c int error, len, number, size = 0; error 231 net/atm/resources.c error = ((copy_to_user(buf, tmp_buf, size)) || error 235 net/atm/resources.c return error; error 255 net/atm/resources.c error = -EFAULT; error 262 net/atm/resources.c error = -EFAULT; error 272 net/atm/resources.c error = -EEXIST; error 282 net/atm/resources.c error = -EPERM; error 286 net/atm/resources.c error = -EFAULT; error 290 net/atm/resources.c error = ESI_LEN; error 295 net/atm/resources.c error = -EPERM; error 301 net/atm/resources.c error = fetch_stats(dev, buf, cmd == ATM_GETSTATZ); error 302 net/atm/resources.c if (error) error 308 net/atm/resources.c error = -EFAULT; error 315 net/atm/resources.c error = -EFAULT; error 321 net/atm/resources.c error = -EPERM; error 331 net/atm/resources.c error = -EPERM; error 338 net/atm/resources.c error = -EFAULT; error 342 net/atm/resources.c error = atm_add_addr(dev, &addr, error 346 net/atm/resources.c error = atm_del_addr(dev, &addr, error 353 net/atm/resources.c error = atm_get_addr(dev, buf, len, error 356 net/atm/resources.c if (error < 0) error 358 net/atm/resources.c size = error; error 361 net/atm/resources.c error = put_user(size, &sioc->length) error 368 net/atm/resources.c error = -EINVAL; error 378 net/atm/resources.c error = -EPERM; error 384 net/atm/resources.c error = -EINVAL; error 389 net/atm/resources.c error = (size == -ENOIOCTLCMD ? -EINVAL : size); error 395 net/atm/resources.c error = put_user(size, &sioc->length) error 398 net/atm/resources.c error = 0; error 401 net/atm/resources.c return error; error 98 net/atm/svc.c int error; error 104 net/atm/svc.c error = -EISCONN; error 108 net/atm/svc.c error = -EINVAL; error 114 net/atm/svc.c error = -EAFNOSUPPORT; error 121 net/atm/svc.c error = -EBADFD; error 135 net/atm/svc.c error = -EUNATCH; error 140 net/atm/svc.c error = -sk->sk_err; error 143 net/atm/svc.c return error; error 154 net/atm/svc.c int error; error 159 net/atm/svc.c error = -EINVAL; error 165 net/atm/svc.c error = -EINVAL; error 168 net/atm/svc.c error = -EISCONN; error 172 net/atm/svc.c error = -EALREADY; error 177 net/atm/svc.c error = -sk->sk_err; error 184 net/atm/svc.c error = -EAFNOSUPPORT; error 188 net/atm/svc.c error = -EBADFD; error 193 net/atm/svc.c error = -EINVAL; error 198 net/atm/svc.c error = -EINVAL; error 208 net/atm/svc.c error = -EINPROGRESS; error 211 net/atm/svc.c error = 0; error 246 net/atm/svc.c error = -EINTR; error 250 net/atm/svc.c if (error) error 253 net/atm/svc.c error = -EUNATCH; error 257 net/atm/svc.c error = -sk->sk_err; error 272 net/atm/svc.c if (!(error = vcc_connect(sock, vcc->itf, vcc->vpi, vcc->vci))) error 278 net/atm/svc.c return error; error 287 net/atm/svc.c int error; error 293 net/atm/svc.c error = -EINVAL; error 306 net/atm/svc.c error = -EUNATCH; error 311 net/atm/svc.c error = -sk->sk_err; error 314 net/atm/svc.c return error; error 325 net/atm/svc.c int error; error 329 net/atm/svc.c error = svc_create(sock_net(sk), newsock,0); error 330 net/atm/svc.c if (error) error 344 net/atm/svc.c error = -sk->sk_err; error 348 net/atm/svc.c error = -EAGAIN; error 355 net/atm/svc.c error = -ERESTARTSYS; error 361 net/atm/svc.c if (error) error 364 net/atm/svc.c error = -EUNATCH; error 373 net/atm/svc.c error = vcc_connect(newsock, msg->pvc.sap_addr.itf, error 377 net/atm/svc.c if (error) { error 379 net/atm/svc.c &old_vcc->qos,error); error 380 net/atm/svc.c error = error == -EAGAIN ? -EBUSY : error; error 395 net/atm/svc.c error = -EUNATCH; error 401 net/atm/svc.c error = -sk_atm(new_vcc)->sk_err; error 408 net/atm/svc.c return error; error 449 net/atm/svc.c int value, error = 0; error 455 net/atm/svc.c error = -EINVAL; error 459 net/atm/svc.c error = -EFAULT; error 466 net/atm/svc.c error = -EINVAL; error 470 net/atm/svc.c error = -EFAULT; error 478 net/atm/svc.c error = -EINVAL; error 482 net/atm/svc.c error = vcc_setsockopt(sock, level, optname, error 488 net/atm/svc.c return error; error 496 net/atm/svc.c int error = 0, len; error 500 net/atm/svc.c error = vcc_getsockopt(sock, level, optname, optval, optlen); error 504 net/atm/svc.c error = -EFAULT; error 508 net/atm/svc.c error = -EINVAL; error 512 net/atm/svc.c error = -EFAULT; error 517 net/atm/svc.c return error; error 527 net/atm/svc.c int error; error 536 net/atm/svc.c error = -EINPROGRESS; error 545 net/atm/svc.c error = xchg(&sk->sk_err_soft, 0); error 548 net/atm/svc.c return error; error 557 net/atm/svc.c int error; error 569 net/atm/svc.c error = -EUNATCH; error 572 net/atm/svc.c error = xchg(&sk->sk_err_soft, 0); error 575 net/atm/svc.c return error; error 581 net/atm/svc.c int error, ep_ref; error 591 net/atm/svc.c error = svc_addparty(sock, (struct sockaddr *) &sa, sizeof(sa), 0); error 598 net/atm/svc.c error = svc_dropparty(sock, ep_ref); error 601 net/atm/svc.c error = vcc_ioctl(sock, cmd, arg); error 604 net/atm/svc.c return error; error 632 net/atm/svc.c int error; error 638 net/atm/svc.c error = vcc_create(net, sock, protocol, AF_ATMSVC); error 639 net/atm/svc.c if (error) return error; error 246 net/bluetooth/bnep/sock.c goto error; error 250 net/bluetooth/bnep/sock.c error: error 241 net/bluetooth/cmtp/sock.c goto error; error 245 net/bluetooth/cmtp/sock.c error: error 715 net/bluetooth/hci_sock.c goto error; error 723 net/bluetooth/hci_sock.c error: error 292 net/bluetooth/hidp/sock.c goto error; error 296 net/bluetooth/hidp/sock.c error: error 2493 net/bluetooth/l2cap.c goto error; error 2500 net/bluetooth/l2cap.c goto error; error 2511 net/bluetooth/l2cap.c error: error 956 net/bluetooth/rfcomm/sock.c goto error; error 965 net/bluetooth/rfcomm/sock.c error: error 963 net/bluetooth/sco.c goto error; error 970 net/bluetooth/sco.c goto error; error 981 net/bluetooth/sco.c error: error 295 net/bridge/netfilter/ebtables.c *error = mutex_lock_interruptible(mutex); error 296 net/bridge/netfilter/ebtables.c if (*error != 0) error 303 net/bridge/netfilter/ebtables.c *error = -ENOENT; error 317 net/bridge/netfilter/ebtables.c ret = find_inlist_lock_noload(head, name, error, mutex); error 320 net/bridge/netfilter/ebtables.c ret = find_inlist_lock_noload(head, name, error, mutex); error 329 net/bridge/netfilter/ebtables.c return find_inlist_lock(&ebt_tables, name, "ebtable_", error, mutex); error 1483 net/can/bcm.c int error = 0; error 1489 net/can/bcm.c skb = skb_recv_datagram(sk, flags, noblock, &error); error 1491 net/can/bcm.c return error; error 72 net/core/datagram.c int error; error 78 net/core/datagram.c error = sock_error(sk); error 79 net/core/datagram.c if (error) error 92 net/core/datagram.c error = -ENOTCONN; error 101 net/core/datagram.c error = 0; error 105 net/core/datagram.c return error; error 107 net/core/datagram.c error = sock_intr_errno(*timeo_p); error 109 net/core/datagram.c *err = error; error 113 net/core/datagram.c error = 1; error 154 net/core/datagram.c int error = sock_error(sk); error 156 net/core/datagram.c if (error) error 186 net/core/datagram.c error = -EAGAIN; error 195 net/core/datagram.c *err = error; error 411 net/core/neighbour.c int error; error 424 net/core/neighbour.c if (tbl->constructor && (error = tbl->constructor(n)) < 0) { error 425 net/core/neighbour.c rc = ERR_PTR(error); error 431 net/core/neighbour.c (error = n->parms->neigh_setup(n)) < 0) { error 432 net/core/neighbour.c rc = ERR_PTR(error); error 35 net/core/net_namespace.c int error; error 43 net/core/net_namespace.c error = -ENOMEM; error 53 net/core/net_namespace.c error = 0; error 56 net/core/net_namespace.c error = ops->init(net); error 57 net/core/net_namespace.c if (error < 0) error 62 net/core/net_namespace.c return error; error 227 net/core/net_namespace.c int error; error 232 net/core/net_namespace.c error = ops->init(net); error 233 net/core/net_namespace.c if (error) error 250 net/core/net_namespace.c return error; error 303 net/core/net_namespace.c int error; error 305 net/core/net_namespace.c error = register_pernet_operations(first_device, ops); error 307 net/core/net_namespace.c return error; error 349 net/core/net_namespace.c int error; error 351 net/core/net_namespace.c error = register_pernet_operations(&pernet_list, ops); error 352 net/core/net_namespace.c if (!error && (first_device == &pernet_list)) error 355 net/core/net_namespace.c return error; error 361 net/core/net_namespace.c int error; error 364 net/core/net_namespace.c error = ida_get_new_above(&net_generic_ids, 1, id); error 365 net/core/net_namespace.c if (error) { error 366 net/core/net_namespace.c if (error == -EAGAIN) { error 372 net/core/net_namespace.c error = register_pernet_operations(&pernet_list, ops); error 373 net/core/net_namespace.c if (error) error 379 net/core/net_namespace.c return error; error 2435 net/core/pktgen.c goto error; error 2438 net/core/pktgen.c goto error; error 2442 net/core/pktgen.c error: error 474 net/core/rtnetlink.c netlink_set_err(rtnl, 0, group, error); error 512 net/core/rtnetlink.c .rta_error = error, error 133 net/core/scm.c goto error; error 143 net/core/scm.c goto error; error 147 net/core/scm.c goto error; error 151 net/core/scm.c goto error; error 154 net/core/scm.c goto error; error 165 net/core/scm.c error: error 124 net/dccp/probe.c int error = 0, cnt = 0; error 137 net/dccp/probe.c error = wait_event_interruptible(dccpw.wait, error 139 net/dccp/probe.c if (error) error 143 net/dccp/probe.c error = copy_to_user(buf, tbuf, cnt) ? -EFAULT : 0; error 148 net/dccp/probe.c return error ? error : cnt; error 64 net/decnet/dn_fib.c int error; error 67 net/decnet/dn_fib.c [RTN_UNSPEC] = { .error = 0, .scope = RT_SCOPE_NOWHERE }, error 68 net/decnet/dn_fib.c [RTN_UNICAST] = { .error = 0, .scope = RT_SCOPE_UNIVERSE }, error 69 net/decnet/dn_fib.c [RTN_LOCAL] = { .error = 0, .scope = RT_SCOPE_HOST }, error 70 net/decnet/dn_fib.c [RTN_BROADCAST] = { .error = -EINVAL, .scope = RT_SCOPE_NOWHERE }, error 71 net/decnet/dn_fib.c [RTN_ANYCAST] = { .error = -EINVAL, .scope = RT_SCOPE_NOWHERE }, error 72 net/decnet/dn_fib.c [RTN_MULTICAST] = { .error = -EINVAL, .scope = RT_SCOPE_NOWHERE }, error 73 net/decnet/dn_fib.c [RTN_BLACKHOLE] = { .error = -EINVAL, .scope = RT_SCOPE_UNIVERSE }, error 74 net/decnet/dn_fib.c [RTN_UNREACHABLE] = { .error = -EHOSTUNREACH, .scope = RT_SCOPE_UNIVERSE }, error 75 net/decnet/dn_fib.c [RTN_PROHIBIT] = { .error = -EACCES, .scope = RT_SCOPE_UNIVERSE }, error 76 net/decnet/dn_fib.c [RTN_THROW] = { .error = -EAGAIN, .scope = RT_SCOPE_UNIVERSE }, error 77 net/decnet/dn_fib.c [RTN_NAT] = { .error = 0, .scope = RT_SCOPE_NOWHERE }, error 78 net/decnet/dn_fib.c [RTN_XRESOLVE] = { .error = -EINVAL, .scope = RT_SCOPE_NOWHERE }, error 340 net/decnet/dn_fib.c if (dn_fib_props[r->rtm_type].error) { error 408 net/decnet/dn_fib.c int err = dn_fib_props[type].error; error 695 net/decnet/dn_route.c goto error; error 713 net/decnet/dn_route.c error: error 1496 net/decnet/dn_route.c rt->u.dst.error) < 0) error 1563 net/decnet/dn_route.c if (!err && -rt->u.dst.error) error 1564 net/decnet/dn_route.c err = rt->u.dst.error; error 1010 net/econet/af_econet.c int error; error 1024 net/econet/af_econet.c if ((error = sock_create_kern(PF_INET, SOCK_DGRAM, 0, &udpsock)) < 0) error 1026 net/econet/af_econet.c printk("AUN: socket error %d\n", -error); error 1027 net/econet/af_econet.c return error; error 1034 net/econet/af_econet.c error = udpsock->ops->bind(udpsock, (struct sockaddr *)&sin, error 1036 net/econet/af_econet.c if (error < 0) error 1038 net/econet/af_econet.c printk("AUN: bind error %d\n", -error); error 1049 net/econet/af_econet.c return error; error 81 net/ipv4/ah4.c goto error; error 107 net/ipv4/ah4.c goto error; error 119 net/ipv4/ah4.c error: error 227 net/ipv4/ah4.c goto error; error 230 net/ipv4/ah4.c goto error; error 238 net/ipv4/ah4.c goto error; error 243 net/ipv4/ah4.c goto error; error 259 net/ipv4/ah4.c goto error; error 269 net/ipv4/ah4.c goto error; error 279 net/ipv4/ah4.c error: error 1736 net/ipv4/cipso_ipv4.c if (ip_hdr(skb)->protocol == IPPROTO_ICMP || error != -EACCES) error 139 net/ipv4/esp4.c goto error; error 144 net/ipv4/esp4.c goto error; error 219 net/ipv4/esp4.c goto error; error 226 net/ipv4/esp4.c error: error 452 net/ipv4/esp4.c goto error; error 459 net/ipv4/esp4.c goto error; error 463 net/ipv4/esp4.c goto error; error 465 net/ipv4/esp4.c error: error 483 net/ipv4/esp4.c goto error; error 489 net/ipv4/esp4.c goto error; error 494 net/ipv4/esp4.c goto error; error 503 net/ipv4/esp4.c goto error; error 545 net/ipv4/esp4.c error: error 568 net/ipv4/esp4.c goto error; error 585 net/ipv4/esp4.c goto error; error 600 net/ipv4/esp4.c error: error 1022 net/ipv4/fib_frontend.c int error; error 1024 net/ipv4/fib_frontend.c error = ip_fib_net_init(net); error 1025 net/ipv4/fib_frontend.c if (error < 0) error 1027 net/ipv4/fib_frontend.c error = nl_fib_lookup_init(net); error 1028 net/ipv4/fib_frontend.c if (error < 0) error 1030 net/ipv4/fib_frontend.c error = fib_proc_init(net); error 1031 net/ipv4/fib_frontend.c if (error < 0) error 1034 net/ipv4/fib_frontend.c return error; error 85 net/ipv4/fib_semantics.c int error; error 89 net/ipv4/fib_semantics.c .error = 0, error 93 net/ipv4/fib_semantics.c .error = 0, error 97 net/ipv4/fib_semantics.c .error = 0, error 101 net/ipv4/fib_semantics.c .error = 0, error 105 net/ipv4/fib_semantics.c .error = 0, error 109 net/ipv4/fib_semantics.c .error = 0, error 113 net/ipv4/fib_semantics.c .error = -EINVAL, error 117 net/ipv4/fib_semantics.c .error = -EHOSTUNREACH, error 121 net/ipv4/fib_semantics.c .error = -EACCES, error 125 net/ipv4/fib_semantics.c .error = -EAGAIN, error 129 net/ipv4/fib_semantics.c .error = -EINVAL, error 133 net/ipv4/fib_semantics.c .error = -EINVAL, error 788 net/ipv4/fib_semantics.c if (fib_props[cfg->fc_type].error) { error 886 net/ipv4/fib_semantics.c err = fib_props[fa->fa_type].error; error 190 net/ipv4/icmp.c short error; /* This ICMP is classed as an error message */ error 318 net/ipv4/icmp.c if (icmp_pointers[icmp_param->data.icmph.type].error) error 462 net/ipv4/icmp.c if (icmp_pointers[type].error) { error 486 net/ipv4/icmp.c icmp_pointers[*itp].error) error 514 net/ipv4/icmp.c tos = icmp_pointers[type].error ? ((iph->tos & IPTOS_TOS_MASK) | error 1007 net/ipv4/icmp.c goto error; error 1011 net/ipv4/icmp.c goto error; error 1023 net/ipv4/icmp.c goto error; error 1040 net/ipv4/icmp.c goto error; error 1046 net/ipv4/icmp.c goto error; error 1055 net/ipv4/icmp.c error: error 1069 net/ipv4/icmp.c .error = 1, error 1073 net/ipv4/icmp.c .error = 1, error 1077 net/ipv4/icmp.c .error = 1, error 1081 net/ipv4/icmp.c .error = 1, error 1085 net/ipv4/icmp.c .error = 1, error 1089 net/ipv4/icmp.c .error = 1, error 1093 net/ipv4/icmp.c .error = 1, error 1100 net/ipv4/icmp.c .error = 1, error 1104 net/ipv4/icmp.c .error = 1, error 1108 net/ipv4/icmp.c .error = 1, error 1112 net/ipv4/icmp.c .error = 1, error 239 net/ipv4/inet_connection_sock.c int error; error 246 net/ipv4/inet_connection_sock.c error = -EINVAL; error 255 net/ipv4/inet_connection_sock.c error = -EAGAIN; error 259 net/ipv4/inet_connection_sock.c error = inet_csk_wait_for_connect(sk, timeo); error 260 net/ipv4/inet_connection_sock.c if (error) error 271 net/ipv4/inet_connection_sock.c *err = error; error 284 net/ipv4/ip_options.c goto error; error 291 net/ipv4/ip_options.c goto error; error 295 net/ipv4/ip_options.c goto error; error 300 net/ipv4/ip_options.c goto error; error 305 net/ipv4/ip_options.c goto error; error 317 net/ipv4/ip_options.c goto error; error 321 net/ipv4/ip_options.c goto error; error 325 net/ipv4/ip_options.c goto error; error 330 net/ipv4/ip_options.c goto error; error 344 net/ipv4/ip_options.c goto error; error 348 net/ipv4/ip_options.c goto error; error 352 net/ipv4/ip_options.c goto error; error 358 net/ipv4/ip_options.c goto error; error 371 net/ipv4/ip_options.c goto error; error 385 net/ipv4/ip_options.c goto error; error 402 net/ipv4/ip_options.c goto error; error 418 net/ipv4/ip_options.c goto error; error 430 net/ipv4/ip_options.c goto error; error 438 net/ipv4/ip_options.c goto error; error 443 net/ipv4/ip_options.c goto error; error 451 net/ipv4/ip_options.c goto error; error 463 net/ipv4/ip_options.c error: error 864 net/ipv4/ip_output.c goto error; error 935 net/ipv4/ip_output.c goto error; error 967 net/ipv4/ip_output.c goto error; error 994 net/ipv4/ip_output.c goto error; error 1009 net/ipv4/ip_output.c goto error; error 1021 net/ipv4/ip_output.c goto error; error 1030 net/ipv4/ip_output.c goto error; error 1034 net/ipv4/ip_output.c goto error; error 1049 net/ipv4/ip_output.c error: error 1129 net/ipv4/ip_output.c goto error; error 1173 net/ipv4/ip_output.c goto error; error 1191 net/ipv4/ip_output.c error: error 1294 net/ipv4/ip_output.c goto error; error 1301 net/ipv4/ip_output.c error: error 66 net/ipv4/ipcomp.c goto error; error 72 net/ipv4/ipcomp.c error: error 341 net/ipv4/ipmr.c e->error = -ETIMEDOUT; error 567 net/ipv4/ipmr.c e->error = -EMSGSIZE; error 63 net/ipv4/netfilter.c if (skb->dst->error) error 348 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c st->error, error 307 net/ipv4/netfilter/nf_conntrack_proto_icmp.c .error = icmp_error, error 134 net/ipv4/netfilter/nf_nat_snmp_basic.c int error; /* Error condition */ error 156 net/ipv4/netfilter/nf_nat_snmp_basic.c ctx->error = ASN1_ERR_NOERROR; error 162 net/ipv4/netfilter/nf_nat_snmp_basic.c ctx->error = ASN1_ERR_DEC_EMPTY; error 278 net/ipv4/netfilter/nf_nat_snmp_basic.c ctx->error = ASN1_ERR_DEC_EOC_MISMATCH; error 286 net/ipv4/netfilter/nf_nat_snmp_basic.c ctx->error = ASN1_ERR_DEC_EOC_MISMATCH; error 292 net/ipv4/netfilter/nf_nat_snmp_basic.c ctx->error = ASN1_ERR_DEC_LENGTH_MISMATCH; error 320 net/ipv4/netfilter/nf_nat_snmp_basic.c ctx->error = ASN1_ERR_DEC_BADVALUE; error 349 net/ipv4/netfilter/nf_nat_snmp_basic.c ctx->error = ASN1_ERR_DEC_BADVALUE; error 378 net/ipv4/netfilter/nf_nat_snmp_basic.c ctx->error = ASN1_ERR_DEC_BADVALUE; error 482 net/ipv4/netfilter/nf_nat_snmp_basic.c ctx->error = ASN1_ERR_DEC_BADVALUE; error 341 net/ipv4/raw.c goto error; error 380 net/ipv4/raw.c goto error; error 387 net/ipv4/raw.c error: error 1248 net/ipv4/route.c rth->u.dst.error || error 1428 net/ipv4/route.c switch (rt->u.dst.error) { error 2074 net/ipv4/route.c rth->u.dst.error= -err; error 2663 net/ipv4/route.c u32 id = 0, ts = 0, tsage = 0, error; error 2706 net/ipv4/route.c error = rt->u.dst.error; error 2731 net/ipv4/route.c error = err; error 2740 net/ipv4/route.c expires, error) < 0) error 2804 net/ipv4/route.c if (err == 0 && rt->u.dst.error) error 2805 net/ipv4/route.c err = -rt->u.dst.error; error 169 net/ipv4/tcp_probe.c int error = 0, cnt = 0; error 179 net/ipv4/tcp_probe.c error = wait_event_interruptible(tcp_probe.wait, error 181 net/ipv4/tcp_probe.c if (error) error 208 net/ipv4/tcp_probe.c return cnt == 0 ? error : cnt; error 158 net/ipv4/udp.c int error = 1; error 191 net/ipv4/udp.c error = 0; error 194 net/ipv4/udp.c return error; error 257 net/ipv6/ah6.c goto error; error 307 net/ipv6/ah6.c error: error 435 net/ipv6/ah6.c goto error; error 438 net/ipv6/ah6.c goto error; error 446 net/ipv6/ah6.c goto error; error 451 net/ipv6/ah6.c goto error; error 467 net/ipv6/ah6.c goto error; error 477 net/ipv6/ah6.c goto error; error 489 net/ipv6/ah6.c goto error; error 495 net/ipv6/ah6.c error: error 163 net/ipv6/esp6.c goto error; error 168 net/ipv6/esp6.c goto error; error 208 net/ipv6/esp6.c goto error; error 215 net/ipv6/esp6.c error: error 395 net/ipv6/esp6.c goto error; error 402 net/ipv6/esp6.c goto error; error 406 net/ipv6/esp6.c goto error; error 408 net/ipv6/esp6.c error: error 426 net/ipv6/esp6.c goto error; error 432 net/ipv6/esp6.c goto error; error 437 net/ipv6/esp6.c goto error; error 446 net/ipv6/esp6.c goto error; error 488 net/ipv6/esp6.c error: error 514 net/ipv6/esp6.c goto error; error 534 net/ipv6/esp6.c goto error; error 542 net/ipv6/esp6.c error: error 473 net/ipv6/exthdrs.c if (skb->dst->error) { error 185 net/ipv6/icmp.c if (dst->error) { error 423 net/ipv6/ip6_output.c goto error; error 520 net/ipv6/ip6_output.c goto error; error 524 net/ipv6/ip6_output.c goto error; error 555 net/ipv6/ip6_output.c error: error 946 net/ipv6/ip6_output.c if ((err = (*dst)->error)) error 988 net/ipv6/ip6_output.c if ((err = (*dst)->error)) error 1213 net/ipv6/ip6_output.c goto error; error 1287 net/ipv6/ip6_output.c goto error; error 1317 net/ipv6/ip6_output.c goto error; error 1321 net/ipv6/ip6_output.c goto error; error 1348 net/ipv6/ip6_output.c goto error; error 1363 net/ipv6/ip6_output.c goto error; error 1375 net/ipv6/ip6_output.c goto error; error 1384 net/ipv6/ip6_output.c goto error; error 1388 net/ipv6/ip6_output.c goto error; error 1401 net/ipv6/ip6_output.c error: error 1494 net/ipv6/ip6_output.c goto error; error 1500 net/ipv6/ip6_output.c error: error 866 net/ipv6/ip6_tunnel.c if (dst->error || xfrm_lookup(&dst, fl, NULL, 0) < 0) error 522 net/ipv6/ip6mr.c ((struct nlmsgerr *)NLMSG_DATA(nlh))->error = -ETIMEDOUT; error 728 net/ipv6/ip6mr.c ((struct nlmsgerr *)NLMSG_DATA(nlh))->error = -EMSGSIZE; error 86 net/ipv6/ipcomp6.c goto error; error 95 net/ipv6/ipcomp6.c goto error; error 102 net/ipv6/ipcomp6.c error: error 35 net/ipv6/netfilter.c if (dst->error) { error 91 net/ipv6/netfilter.c return (*dst)->error; error 100 net/ipv6/netfilter/ip6t_REJECT.c if (dst->error || xfrm_lookup(&dst, &fl, NULL, 0)) error 274 net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c .error = icmpv6_error, error 623 net/ipv6/raw.c goto error; error 647 net/ipv6/raw.c goto error; error 654 net/ipv6/raw.c error: error 135 net/ipv6/route.c .error = -ENETUNREACH, error 157 net/ipv6/route.c .error = -EACCES, error 174 net/ipv6/route.c .error = -EINVAL, error 583 net/ipv6/route.c if (dst->error == 0) error 1180 net/ipv6/route.c rt->u.dst.error = -ENETUNREACH; error 1618 net/ipv6/route.c rt->u.dst.error = ort->u.dst.error; error 2240 net/ipv6/route.c expires, rt->u.dst.error) < 0) error 43 net/ipv6/xfrm6_policy.c err = dst->error; error 44 net/ipv6/xfrm6_policy.c if (dst->error) { error 1234 net/iucv/iucv.c char *error; error 1238 net/iucv/iucv.c error = iucv_error_no_memory; error 1265 net/iucv/iucv.c error = iucv_error_no_listener; error 1267 net/iucv/iucv.c iucv_sever_pathid(ipp->ippathid, error); error 477 net/mac80211/rc80211_minstrel.c goto error; error 488 net/mac80211/rc80211_minstrel.c error: error 612 net/netfilter/ipvs/ip_vs_sync.c goto error; error 621 net/netfilter/ipvs/ip_vs_sync.c goto error; error 628 net/netfilter/ipvs/ip_vs_sync.c goto error; error 633 net/netfilter/ipvs/ip_vs_sync.c error: error 661 net/netfilter/ipvs/ip_vs_sync.c goto error; error 670 net/netfilter/ipvs/ip_vs_sync.c goto error; error 675 net/netfilter/ipvs/ip_vs_sync.c error: error 694 net/netfilter/nf_conntrack_core.c NF_CT_STAT_INC_ATOMIC(net, error); error 704 net/netfilter/nf_conntrack_core.c if (l4proto->error != NULL) { error 705 net/netfilter/nf_conntrack_core.c ret = l4proto->error(net, skb, dataoff, &ctinfo, pf, hooknum); error 707 net/netfilter/nf_conntrack_core.c NF_CT_STAT_INC_ATOMIC(net, error); error 744 net/netfilter/nf_conntrack_proto_dccp.c .error = dccp_error, error 769 net/netfilter/nf_conntrack_proto_dccp.c .error = dccp_error, error 1396 net/netfilter/nf_conntrack_proto_tcp.c .error = tcp_error, error 1426 net/netfilter/nf_conntrack_proto_tcp.c .error = tcp_error, error 192 net/netfilter/nf_conntrack_proto_udp.c .error = udp_error, error 219 net/netfilter/nf_conntrack_proto_udp.c .error = udp_error, error 180 net/netfilter/nf_conntrack_proto_udplite.c .error = udplite_error, error 203 net/netfilter/nf_conntrack_proto_udplite.c .error = udplite_error, error 257 net/netfilter/nf_conntrack_standalone.c st->error, error 673 net/netfilter/x_tables.c *error = -EAGAIN; error 653 net/netlabel/netlabel_kapi.c cipso_v4_error(skb, error, gateway); error 1661 net/netlink/af_netlink.c errmsg->error = err; error 167 net/rfkill/rfkill-input.c int error; error 178 net/rfkill/rfkill-input.c error = input_register_handle(handle); error 179 net/rfkill/rfkill-input.c if (error) error 182 net/rfkill/rfkill-input.c error = input_open_device(handle); error 183 net/rfkill/rfkill-input.c if (error) error 192 net/rfkill/rfkill-input.c return error; error 420 net/rfkill/rfkill.c int error; error 425 net/rfkill/rfkill.c error = strict_strtoul(buf, 0, &state); error 426 net/rfkill/rfkill.c if (error) error 427 net/rfkill/rfkill.c return error; error 436 net/rfkill/rfkill.c error = rfkill_toggle_radio(rfkill, state, 0); error 439 net/rfkill/rfkill.c return error ? error : count; error 458 net/rfkill/rfkill.c int error; error 466 net/rfkill/rfkill.c error = strict_strtoul(buf, 0, &claim_tmp); error 467 net/rfkill/rfkill.c if (error) error 468 net/rfkill/rfkill.c return error; error 475 net/rfkill/rfkill.c error = mutex_lock_interruptible(&rfkill_global_mutex); error 476 net/rfkill/rfkill.c if (error) error 477 net/rfkill/rfkill.c return error; error 492 net/rfkill/rfkill.c return error ? error : count; error 568 net/rfkill/rfkill.c int error; error 570 net/rfkill/rfkill.c error = add_uevent_var(env, "RFKILL_NAME=%s", rfkill->name); error 571 net/rfkill/rfkill.c if (error) error 572 net/rfkill/rfkill.c return error; error 573 net/rfkill/rfkill.c error = add_uevent_var(env, "RFKILL_TYPE=%s", error 575 net/rfkill/rfkill.c if (error) error 576 net/rfkill/rfkill.c return error; error 577 net/rfkill/rfkill.c error = add_uevent_var(env, "RFKILL_STATE=%d", rfkill->state); error 578 net/rfkill/rfkill.c return error; error 611 net/rfkill/rfkill.c int error; error 615 net/rfkill/rfkill.c error = rfkill_check_duplicity(rfkill); error 616 net/rfkill/rfkill.c if (error < 0) error 619 net/rfkill/rfkill.c if (!error) { error 632 net/rfkill/rfkill.c error = 0; error 636 net/rfkill/rfkill.c return error; error 711 net/rfkill/rfkill.c int error; error 717 net/rfkill/rfkill.c error = led_trigger_register(&rfkill->led_trigger); error 718 net/rfkill/rfkill.c if (error) error 745 net/rfkill/rfkill.c int error; error 760 net/rfkill/rfkill.c error = rfkill_add_switch(rfkill); error 761 net/rfkill/rfkill.c if (error) { error 763 net/rfkill/rfkill.c return error; error 766 net/rfkill/rfkill.c error = device_add(dev); error 767 net/rfkill/rfkill.c if (error) { error 770 net/rfkill/rfkill.c return error; error 822 net/rfkill/rfkill.c int error; error 836 net/rfkill/rfkill.c error = 0; error 838 net/rfkill/rfkill.c error = -EPERM; error 841 net/rfkill/rfkill.c return error; error 850 net/rfkill/rfkill.c int error; error 861 net/rfkill/rfkill.c error = class_register(&rfkill_class); error 862 net/rfkill/rfkill.c if (error) { error 864 net/rfkill/rfkill.c return error; error 131 net/rxrpc/af_rxrpc.c goto error; error 176 net/rxrpc/af_rxrpc.c error: error 525 net/rxrpc/af_rxrpc.c goto error; error 528 net/rxrpc/af_rxrpc.c goto error; error 535 net/rxrpc/af_rxrpc.c goto error; error 538 net/rxrpc/af_rxrpc.c goto error; error 540 net/rxrpc/af_rxrpc.c goto error; error 545 net/rxrpc/af_rxrpc.c goto error; error 548 net/rxrpc/af_rxrpc.c goto error; error 550 net/rxrpc/af_rxrpc.c goto error; error 555 net/rxrpc/af_rxrpc.c goto error; error 558 net/rxrpc/af_rxrpc.c goto error; error 562 net/rxrpc/af_rxrpc.c goto error; error 565 net/rxrpc/af_rxrpc.c goto error; error 576 net/rxrpc/af_rxrpc.c error: error 98 net/rxrpc/ar-accept.c goto error; error 106 net/rxrpc/ar-accept.c goto error; error 114 net/rxrpc/ar-accept.c goto error; error 122 net/rxrpc/ar-accept.c goto error; error 190 net/rxrpc/ar-accept.c error: error 360 net/rxrpc/ar-accept.c ret = call->conn->error; error 439 net/rxrpc/ar-accept.c ret = call->conn->error; error 784 net/rxrpc/ar-ack.c call->debug_id, call->flags, mark, error, fatal); error 810 net/rxrpc/ar-ack.c sp->error = error; error 883 net/rxrpc/ar-ack.c int error; error 889 net/rxrpc/ar-ack.c error = call->conn->trans->peer->net_error; error 890 net/rxrpc/ar-ack.c _debug("post net error %d", error); error 893 net/rxrpc/ar-ack.c error, true) < 0) error 908 net/rxrpc/ar-ack.c call->conn->error, true) < 0) error 1226 net/rxrpc/ar-ack.c goto error; error 1286 net/rxrpc/ar-ack.c error: error 70 net/rxrpc/ar-connevent.c _enter("%d,,%u,%u", conn->debug_id, error, abort_code); error 76 net/rxrpc/ar-connevent.c conn->error = error; error 88 net/rxrpc/ar-internal.h u32 error; /* network error code */ error 272 net/rxrpc/ar-internal.h int error; /* error code for local abort */ error 88 net/rxrpc/ar-key.c goto error; error 97 net/rxrpc/ar-key.c goto error; error 102 net/rxrpc/ar-key.c goto error; error 106 net/rxrpc/ar-key.c goto error; error 126 net/rxrpc/ar-key.c goto error; error 133 net/rxrpc/ar-key.c goto error; error 138 net/rxrpc/ar-key.c goto error; error 148 net/rxrpc/ar-key.c error: error 320 net/rxrpc/ar-key.c goto error; error 326 net/rxrpc/ar-key.c error: error 82 net/rxrpc/ar-local.c goto error; error 92 net/rxrpc/ar-local.c goto error; error 101 net/rxrpc/ar-local.c goto error; error 116 net/rxrpc/ar-local.c error: error 299 net/rxrpc/ar-recvmsg.c _debug("RECV NET ERROR %d", sp->error); error 300 net/rxrpc/ar-recvmsg.c abort_code = sp->error; error 304 net/rxrpc/ar-recvmsg.c _debug("RECV LOCAL ERROR %d", sp->error); error 305 net/rxrpc/ar-recvmsg.c abort_code = sp->error; error 435 net/rxrpc/ar-recvmsg.c return sp->error; error 75 net/rxrpc/rxkad.c goto error; error 97 net/rxrpc/rxkad.c goto error; error 102 net/rxrpc/rxkad.c error: error 842 net/rxrpc/rxkad.c goto error; error 845 net/rxrpc/rxkad.c goto error; error 930 net/rxrpc/rxkad.c goto error; error 936 net/rxrpc/rxkad.c goto error; error 950 net/rxrpc/rxkad.c error: error 957 net/rxrpc/rxkad.c goto error; error 212 net/sched/sch_atm.c int fd, error, hdr_len; error 234 net/sched/sch_atm.c error = nla_parse_nested(tb, TCA_ATM_MAX, opt, atm_policy); error 235 net/sched/sch_atm.c if (error < 0) error 236 net/sched/sch_atm.c return error; error 259 net/sched/sch_atm.c sock = sockfd_lookup(fd, &error); error 261 net/sched/sch_atm.c return error; /* f_count++ */ error 264 net/sched/sch_atm.c error = -EPROTOTYPE; error 272 net/sched/sch_atm.c error = -EINVAL; error 276 net/sched/sch_atm.c error = -EEXIST; error 295 net/sched/sch_atm.c error = -ENOBUFS; error 327 net/sched/sch_atm.c return error; error 789 net/sctp/associola.c SCTP_HEARTBEAT_SUCCESS == error) error 816 net/sctp/associola.c 0, spc_state, error, GFP_ATOMIC); error 1033 net/sctp/associola.c int error = 0; error 1067 net/sctp/associola.c error = sctp_do_sm(SCTP_EVENT_T_CHUNK, subtype, error 1077 net/sctp/associola.c if (error && chunk) error 1484 net/sctp/associola.c int error = 0; error 1490 net/sctp/associola.c error = idr_get_new_above(&sctp_assocs_id, (void *)asoc, error 1493 net/sctp/associola.c if (error == -EAGAIN) error 1495 net/sctp/associola.c else if (error) error 1496 net/sctp/associola.c return error; error 1499 net/sctp/associola.c return error; error 70 net/sctp/bind_addr.c int error = 0; error 77 net/sctp/bind_addr.c error = sctp_copy_one_addr(dest, &addr->a, scope, error 79 net/sctp/bind_addr.c if (error < 0) error 89 net/sctp/bind_addr.c error = sctp_copy_one_addr(dest, &addr->a, error 92 net/sctp/bind_addr.c if (error < 0) error 98 net/sctp/bind_addr.c if (error) error 101 net/sctp/bind_addr.c return error; error 114 net/sctp/bind_addr.c int error = 0; error 120 net/sctp/bind_addr.c error = sctp_add_bind_addr(dest, &addr->a, 1, gfp); error 121 net/sctp/bind_addr.c if (error < 0) error 125 net/sctp/bind_addr.c return error; error 458 net/sctp/bind_addr.c int error = 0; error 461 net/sctp/bind_addr.c error = sctp_copy_local_addr_list(dest, scope, gfp, flags); error 472 net/sctp/bind_addr.c error = sctp_add_bind_addr(dest, addr, SCTP_ADDR_SRC, error 476 net/sctp/bind_addr.c return error; error 84 net/sctp/chunk.c int error = 0, notify; error 97 net/sctp/chunk.c error = msg->send_error; error 99 net/sctp/chunk.c error = asoc->outqueue.error; error 115 net/sctp/chunk.c error, GFP_ATOMIC); error 307 net/sctp/chunk.c chunk->msg->send_error = error; error 409 net/sctp/endpointola.c int error = 0; error 474 net/sctp/endpointola.c error = sctp_do_sm(SCTP_EVENT_T_CHUNK, subtype, state, error 477 net/sctp/endpointola.c if (error && chunk) error 266 net/sctp/ipv6.c if (!dst->error) { error 165 net/sctp/output.c int error = 0; error 173 net/sctp/output.c error = sctp_packet_transmit(packet); error 174 net/sctp/output.c if (error < 0) error 175 net/sctp/output.c chunk->skb->sk->sk_err = -error; error 237 net/sctp/outqueue.c sctp_chunk_fail(chunk, q->error); error 247 net/sctp/outqueue.c sctp_chunk_fail(chunk, q->error); error 256 net/sctp/outqueue.c sctp_chunk_fail(chunk, q->error); error 265 net/sctp/outqueue.c sctp_chunk_fail(chunk, q->error); error 273 net/sctp/outqueue.c sctp_chunk_fail(chunk, q->error); error 277 net/sctp/outqueue.c q->error = 0; error 300 net/sctp/outqueue.c int error = 0; error 328 net/sctp/outqueue.c error = -ESHUTDOWN; error 350 net/sctp/outqueue.c if (error < 0) error 351 net/sctp/outqueue.c return error; error 354 net/sctp/outqueue.c error = sctp_outq_flush(q, 0); error 356 net/sctp/outqueue.c return error; error 489 net/sctp/outqueue.c int error = 0; error 533 net/sctp/outqueue.c error = sctp_outq_flush(q, /* rtx_timeout */ 1); error 535 net/sctp/outqueue.c if (error) error 536 net/sctp/outqueue.c q->asoc->base.sk->sk_err = -error; error 556 net/sctp/outqueue.c int error = 0; error 613 net/sctp/outqueue.c error = sctp_packet_transmit(pkt); error 626 net/sctp/outqueue.c error = sctp_packet_transmit(pkt); error 636 net/sctp/outqueue.c error = sctp_packet_transmit(pkt); error 669 net/sctp/outqueue.c if (!error && !timer) error 694 net/sctp/outqueue.c return error; error 700 net/sctp/outqueue.c int error = 0; error 703 net/sctp/outqueue.c error = sctp_outq_flush(q, 0); error 704 net/sctp/outqueue.c return error; error 729 net/sctp/outqueue.c int error = 0; error 828 net/sctp/outqueue.c error = sctp_packet_transmit(&singleton); error 829 net/sctp/outqueue.c if (error < 0) error 830 net/sctp/outqueue.c return error; error 911 net/sctp/outqueue.c error = sctp_outq_flush_rtx(q, packet, error 1063 net/sctp/outqueue.c error = sctp_packet_transmit(packet); error 1066 net/sctp/outqueue.c return error; error 61 net/sctp/primitive.c int error = 0; \ error 71 net/sctp/primitive.c error = sctp_do_sm(event_type, subtype, state, ep, asoc, \ error 73 net/sctp/primitive.c return error; \ error 241 net/sctp/protocol.c int error = 0; error 257 net/sctp/protocol.c error = sctp_add_bind_addr(bp, &addr->a, error 259 net/sctp/protocol.c if (error) error 267 net/sctp/protocol.c return error; error 1023 net/sctp/sm_make_chunk.c static const char error[] = "The following parameter had invalid length:"; error 1024 net/sctp/sm_make_chunk.c size_t payload_len = sizeof(error) + sizeof(sctp_errhdr_t) + error 1032 net/sctp/sm_make_chunk.c sizeof(error) + sizeof(sctp_paramhdr_t)); error 1033 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(error), error); error 1618 net/sctp/sm_make_chunk.c *error = -SCTP_IERROR_NOMEM; error 1628 net/sctp/sm_make_chunk.c *error = -SCTP_IERROR_NOMEM; error 1634 net/sctp/sm_make_chunk.c *error = -SCTP_IERROR_BAD_SIG; error 1648 net/sctp/sm_make_chunk.c *error = -SCTP_IERROR_BAD_TAG; error 1654 net/sctp/sm_make_chunk.c *error = -SCTP_IERROR_BAD_PORTS; error 1691 net/sctp/sm_make_chunk.c *error = -SCTP_IERROR_STALE_COOKIE; error 1693 net/sctp/sm_make_chunk.c *error = -SCTP_IERROR_NOMEM; error 1702 net/sctp/sm_make_chunk.c *error = -SCTP_IERROR_NOMEM; error 1714 net/sctp/sm_make_chunk.c *error = -SCTP_IERROR_NOMEM; error 1744 net/sctp/sm_make_chunk.c *error = -SCTP_IERROR_MALFORMED; error 2309 net/sctp/sm_make_chunk.c int error; error 2316 net/sctp/sm_make_chunk.c error = sctp_assoc_set_id(asoc, gfp); error 2317 net/sctp/sm_make_chunk.c if (error) error 161 net/sctp/sm_sideeffect.c int error = 0; error 236 net/sctp/sm_sideeffect.c return error; error 238 net/sctp/sm_sideeffect.c error = -ENOMEM; error 239 net/sctp/sm_sideeffect.c return error; error 247 net/sctp/sm_sideeffect.c int error; error 270 net/sctp/sm_sideeffect.c error = sctp_do_sm(SCTP_EVENT_T_TIMEOUT, error 276 net/sctp/sm_sideeffect.c if (error) error 277 net/sctp/sm_sideeffect.c asoc->base.sk->sk_err = -error; error 290 net/sctp/sm_sideeffect.c int error = 0; error 311 net/sctp/sm_sideeffect.c error = sctp_do_sm(SCTP_EVENT_T_TIMEOUT, error 316 net/sctp/sm_sideeffect.c if (error) error 317 net/sctp/sm_sideeffect.c asoc->base.sk->sk_err = -error; error 367 net/sctp/sm_sideeffect.c int error = 0; error 387 net/sctp/sm_sideeffect.c error = sctp_do_sm(SCTP_EVENT_T_TIMEOUT, error 392 net/sctp/sm_sideeffect.c if (error) error 393 net/sctp/sm_sideeffect.c asoc->base.sk->sk_err = -error; error 477 net/sctp/sm_sideeffect.c (__u16)error, 0, 0, NULL, error 488 net/sctp/sm_sideeffect.c asoc->outqueue.error = error; error 507 net/sctp/sm_sideeffect.c (__u16)error, 0, 0, chunk, error 511 net/sctp/sm_sideeffect.c (__u16)error, 0, 0, NULL, error 521 net/sctp/sm_sideeffect.c asoc->outqueue.error = error; error 536 net/sctp/sm_sideeffect.c int error; error 545 net/sctp/sm_sideeffect.c error = -ENOMEM; error 547 net/sctp/sm_sideeffect.c error = 0; error 549 net/sctp/sm_sideeffect.c return error; error 862 net/sctp/sm_sideeffect.c sk->sk_err = error; error 939 net/sctp/sm_sideeffect.c error, asoc, \ error 959 net/sctp/sm_sideeffect.c int error = 0; error 978 net/sctp/sm_sideeffect.c error = sctp_side_effects(event_type, subtype, state, error 983 net/sctp/sm_sideeffect.c return error; error 1001 net/sctp/sm_sideeffect.c int error; error 1009 net/sctp/sm_sideeffect.c if (0 != (error = sctp_cmd_interpreter(event_type, subtype, state, error 1029 net/sctp/sm_sideeffect.c error = -ENOMEM; error 1072 net/sctp/sm_sideeffect.c return error; error 1090 net/sctp/sm_sideeffect.c int error = 0; error 1155 net/sctp/sm_sideeffect.c error = sctp_tsnmap_mark(&asoc->peer.tsn_map, error 1181 net/sctp/sm_sideeffect.c error = sctp_gen_sack(asoc, force, commands); error 1186 net/sctp/sm_sideeffect.c error = sctp_cmd_process_sack(commands, asoc, error 1207 net/sctp/sm_sideeffect.c error = sctp_cmd_process_init(commands, asoc, chunk, error 1294 net/sctp/sm_sideeffect.c error = sctp_outq_tail(&asoc->outqueue, cmd->obj.ptr); error 1318 net/sctp/sm_sideeffect.c error = sctp_outq_uncork(&asoc->outqueue); error 1476 net/sctp/sm_sideeffect.c error = cmd->obj.error; error 1535 net/sctp/sm_sideeffect.c error = sctp_outq_uncork(&asoc->outqueue); error 1540 net/sctp/sm_sideeffect.c sctp_cmd_set_sk_err(asoc, cmd->obj.error); error 1551 net/sctp/sm_sideeffect.c error = sctp_auth_asoc_init_active_key(asoc, error 1564 net/sctp/sm_sideeffect.c if (error) error 1578 net/sctp/sm_sideeffect.c return error; error 1580 net/sctp/sm_sideeffect.c error = -ENOMEM; error 508 net/sctp/sm_statefuns.c sctp_error_t error = SCTP_ERROR_NO_RESOURCE; error 528 net/sctp/sm_statefuns.c error = SCTP_ERROR_INV_PARAM; error 547 net/sctp/sm_statefuns.c return sctp_stop_t1_and_abort(commands, error, ECONNREFUSED, error 633 net/sctp/sm_statefuns.c int error = 0; error 675 net/sctp/sm_statefuns.c new_asoc = sctp_unpack_cookie(ep, asoc, chunk, GFP_ATOMIC, &error, error 688 net/sctp/sm_statefuns.c switch (error) { error 723 net/sctp/sm_statefuns.c error = sctp_auth_asoc_init_active_key(new_asoc, GFP_ATOMIC); error 724 net/sctp/sm_statefuns.c if (error) error 1950 net/sctp/sm_statefuns.c int error = 0; error 1976 net/sctp/sm_statefuns.c new_asoc = sctp_unpack_cookie(ep, asoc, chunk, GFP_ATOMIC, &error, error 1989 net/sctp/sm_statefuns.c switch (error) { error 2396 net/sctp/sm_statefuns.c __be16 error = SCTP_ERROR_NO_ERROR; error 2401 net/sctp/sm_statefuns.c error = ((sctp_errhdr_t *)chunk->skb->data)->cause; error 2405 net/sctp/sm_statefuns.c sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, SCTP_PERR(error)); error 2425 net/sctp/sm_statefuns.c __be16 error = SCTP_ERROR_NO_ERROR; error 2446 net/sctp/sm_statefuns.c error = ((sctp_errhdr_t *)chunk->skb->data)->cause; error 2448 net/sctp/sm_statefuns.c return sctp_stop_t1_and_abort(commands, error, ECONNREFUSED, asoc, error 2500 net/sctp/sm_statefuns.c SCTP_PERR(error)); error 2790 net/sctp/sm_statefuns.c int error; error 2802 net/sctp/sm_statefuns.c error = sctp_eat_data(asoc, chunk, commands ); error 2803 net/sctp/sm_statefuns.c switch (error) { error 2904 net/sctp/sm_statefuns.c int error; error 2916 net/sctp/sm_statefuns.c error = sctp_eat_data(asoc, chunk, commands ); error 2917 net/sctp/sm_statefuns.c switch (error) { error 3854 net/sctp/sm_statefuns.c sctp_ierror_t error; error 3872 net/sctp/sm_statefuns.c error = sctp_sf_authenticate(ep, asoc, type, chunk); error 3873 net/sctp/sm_statefuns.c switch (error) { error 2147 net/sctp/socket.c int error; error 2150 net/sctp/socket.c error = sctp_primitive_REQUESTHEARTBEAT (trans->asoc, trans); error 2151 net/sctp/socket.c if (error) error 2152 net/sctp/socket.c return error; error 2287 net/sctp/socket.c int error; error 2334 net/sctp/socket.c error = sctp_apply_peer_addr_params(¶ms, trans, asoc, sp, error 2338 net/sctp/socket.c if (error) error 2339 net/sctp/socket.c return error; error 3444 net/sctp/socket.c int error = 0; error 3452 net/sctp/socket.c error = -EOPNOTSUPP; error 3457 net/sctp/socket.c error = -EINVAL; error 3463 net/sctp/socket.c error = sctp_wait_for_accept(sk, timeo); error 3464 net/sctp/socket.c if (error) error 3474 net/sctp/socket.c error = -ENOMEM; error 3485 net/sctp/socket.c *err = error; error 4633 net/sctp/socket.c goto error; error 4641 net/sctp/socket.c error: error 6130 net/sctp/socket.c int error; error 6136 net/sctp/socket.c error = sock_error(sk); error 6137 net/sctp/socket.c if (error) error 6150 net/sctp/socket.c error = -ENOTCONN; error 6174 net/sctp/socket.c error = sock_intr_errno(*timeo_p); error 6178 net/sctp/socket.c *err = error; error 6179 net/sctp/socket.c return error; error 6189 net/sctp/socket.c int error; error 6220 net/sctp/socket.c error = sock_error(sk); error 6221 net/sctp/socket.c if (error) error 6228 net/sctp/socket.c error = -EAGAIN; error 6236 net/sctp/socket.c *err = error; error 221 net/sctp/ulpevent.c sac->sac_error = error; error 325 net/sctp/ulpevent.c spc->spc_error = error; error 544 net/sctp/ulpevent.c ssf->ssf_error = error; error 96 net/sunrpc/clnt.c int error; error 115 net/sunrpc/clnt.c error = PTR_ERR(clnt->cl_dentry); error 116 net/sunrpc/clnt.c if (error != -EEXIST) { error 118 net/sunrpc/clnt.c clnt->cl_pathname, error); error 120 net/sunrpc/clnt.c return error; error 1341 net/sunrpc/clnt.c int error = -EACCES; error 1373 net/sunrpc/clnt.c error = -EPROTONOSUPPORT; error 1415 net/sunrpc/clnt.c error = -EIO; error 1437 net/sunrpc/clnt.c error = -EPFNOSUPPORT; error 1445 net/sunrpc/clnt.c error = -EPROTONOSUPPORT; error 1455 net/sunrpc/clnt.c error = -EOPNOTSUPP; error 1478 net/sunrpc/clnt.c error = -EIO; error 1480 net/sunrpc/clnt.c rpc_exit(task, error); error 1482 net/sunrpc/clnt.c __func__, error); error 1483 net/sunrpc/clnt.c return ERR_PTR(error); error 633 net/sunrpc/rpc_pipe.c int error; error 634 net/sunrpc/rpc_pipe.c error = simple_rmdir(dir, dentry); error 635 net/sunrpc/rpc_pipe.c if (!error) error 637 net/sunrpc/rpc_pipe.c return error; error 667 net/sunrpc/rpc_pipe.c int error; error 669 net/sunrpc/rpc_pipe.c if ((error = rpc_lookup_parent(path, nd)) != 0) error 670 net/sunrpc/rpc_pipe.c return ERR_PTR(error); error 694 net/sunrpc/rpc_pipe.c int error; error 700 net/sunrpc/rpc_pipe.c if ((error = __rpc_mkdir(dir, dentry)) != 0) error 703 net/sunrpc/rpc_pipe.c error = rpc_populate(dentry, authfiles, error 705 net/sunrpc/rpc_pipe.c if (error) error 718 net/sunrpc/rpc_pipe.c __FILE__, __func__, path, error); error 719 net/sunrpc/rpc_pipe.c dentry = ERR_PTR(error); error 732 net/sunrpc/rpc_pipe.c int error; error 738 net/sunrpc/rpc_pipe.c error = __rpc_rmdir(dir, dentry); error 742 net/sunrpc/rpc_pipe.c return error; error 826 net/sunrpc/rpc_pipe.c int error = 0; error 833 net/sunrpc/rpc_pipe.c error = simple_unlink(dir, dentry); error 834 net/sunrpc/rpc_pipe.c if (!error) error 840 net/sunrpc/rpc_pipe.c return error; error 183 net/sunrpc/rpcb_clnt.c int result, error = 0; error 189 net/sunrpc/rpcb_clnt.c error = rpc_call_sync(rpcb_clnt, msg, 0); error 192 net/sunrpc/rpcb_clnt.c error = PTR_ERR(rpcb_clnt); error 194 net/sunrpc/rpcb_clnt.c if (error < 0) { error 196 net/sunrpc/rpcb_clnt.c "server (errno %d).\n", -error); error 197 net/sunrpc/rpcb_clnt.c return error; error 644 net/sunrpc/svc.c int error = 0; error 663 net/sunrpc/svc.c error = PTR_ERR(rqstp); error 670 net/sunrpc/svc.c error = PTR_ERR(task); error 690 net/sunrpc/svc.c return error; error 807 net/sunrpc/svc.c int error; error 814 net/sunrpc/svc.c error = __svc_rpcb_register6(program, version, error 816 net/sunrpc/svc.c if (error < 0) error 817 net/sunrpc/svc.c return error; error 868 net/sunrpc/svc.c int error = 0; error 889 net/sunrpc/svc.c error = __svc_register(progp->pg_prog, i, error 891 net/sunrpc/svc.c if (error < 0) error 896 net/sunrpc/svc.c return error; error 909 net/sunrpc/svc.c int error; error 911 net/sunrpc/svc.c error = rpcb_v4_register(program, version, error 914 net/sunrpc/svc.c __func__, progname, version, error); error 922 net/sunrpc/svc.c int error; error 924 net/sunrpc/svc.c error = rpcb_register(program, version, 0, 0); error 926 net/sunrpc/svc.c __func__, progname, version, error); error 547 net/sunrpc/svcsock.c int error; error 549 net/sunrpc/svcsock.c error = svc_sendto(rqstp, &rqstp->rq_res); error 550 net/sunrpc/svcsock.c if (error == -ECONNREFUSED) error 552 net/sunrpc/svcsock.c error = svc_sendto(rqstp, &rqstp->rq_res); error 554 net/sunrpc/svcsock.c return error; error 834 net/sunrpc/svcsock.c goto error; error 870 net/sunrpc/svcsock.c goto error; error 896 net/sunrpc/svcsock.c goto error; error 926 net/sunrpc/svcsock.c error: error 1219 net/sunrpc/svcsock.c int error; error 1237 net/sunrpc/svcsock.c error = sock_create_kern(sin->sa_family, type, protocol, &sock); error 1238 net/sunrpc/svcsock.c if (error < 0) error 1239 net/sunrpc/svcsock.c return ERR_PTR(error); error 1245 net/sunrpc/svcsock.c error = kernel_bind(sock, sin, len); error 1246 net/sunrpc/svcsock.c if (error < 0) error 1250 net/sunrpc/svcsock.c error = kernel_getsockname(sock, newsin, &newlen); error 1251 net/sunrpc/svcsock.c if (error < 0) error 1255 net/sunrpc/svcsock.c if ((error = kernel_listen(sock, 64)) < 0) error 1259 net/sunrpc/svcsock.c if ((svsk = svc_setup_socket(serv, sock, &error, flags)) != NULL) { error 1265 net/sunrpc/svcsock.c dprintk("svc: svc_create_socket error = %d\n", -error); error 1267 net/sunrpc/svcsock.c return ERR_PTR(error); error 1431 net/tipc/link.c error: error 1461 net/tipc/link.c goto error; error 758 net/unix/af_unix.c *error=err; error 2200 net/unix/af_unix.c int error = -ENOMEM; error 2212 net/unix/af_unix.c error = 0; error 556 net/wireless/nl80211.c int error; error 577 net/wireless/nl80211.c cookie->error = 1; error 588 net/wireless/nl80211.c .error = 0, error 640 net/wireless/nl80211.c if (cookie.error) error 302 net/xfrm/xfrm_ipcomp.c goto error; error 308 net/xfrm/xfrm_ipcomp.c goto error; error 314 net/xfrm/xfrm_ipcomp.c error: error 359 net/xfrm/xfrm_ipcomp.c goto error; error 363 net/xfrm/xfrm_ipcomp.c goto error; error 374 net/xfrm/xfrm_ipcomp.c error: error 65 net/xfrm/xfrm_output.c goto error; error 75 net/xfrm/xfrm_output.c goto error; error 109 net/xfrm/xfrm_output.c error: error 872 net/xfrm/xfrm_policy.c int error = 0; error 893 net/xfrm/xfrm_policy.c error = func(pol, xfrm_policy_id2dir(pol->index), error 895 net/xfrm/xfrm_policy.c if (error) { error 902 net/xfrm/xfrm_policy.c error = -ENOENT; error 908 net/xfrm/xfrm_policy.c return error; error 1217 net/xfrm/xfrm_policy.c int i, error; error 1234 net/xfrm/xfrm_policy.c error = xfrm_get_saddr(&tmp, remote, family); error 1235 net/xfrm/xfrm_policy.c if (error) error 1241 net/xfrm/xfrm_policy.c x = xfrm_state_find(remote, local, fl, tmpl, policy, &error, family); error 1250 net/xfrm/xfrm_policy.c error = (x->km.state == XFRM_STATE_ERROR ? error 1263 net/xfrm/xfrm_policy.c return error; error 1274 net/xfrm/xfrm_policy.c int error; error 1280 net/xfrm/xfrm_policy.c error = -ENOBUFS; error 1286 net/xfrm/xfrm_policy.c error = ret; error 1301 net/xfrm/xfrm_policy.c return error; error 1606 net/xfrm/xfrm_policy.c goto error; error 1616 net/xfrm/xfrm_policy.c goto error; error 1636 net/xfrm/xfrm_policy.c goto error; error 1651 net/xfrm/xfrm_policy.c goto error; error 1656 net/xfrm/xfrm_policy.c goto error; error 1703 net/xfrm/xfrm_policy.c goto error; error 1714 net/xfrm/xfrm_policy.c goto error; error 1727 net/xfrm/xfrm_policy.c goto error; error 1751 net/xfrm/xfrm_policy.c goto error; error 1762 net/xfrm/xfrm_policy.c goto error; error 1775 net/xfrm/xfrm_policy.c error: error 781 net/xfrm/xfrm_state.c int error = 0; error 824 net/xfrm/xfrm_state.c error = -ESRCH; error 830 net/xfrm/xfrm_state.c if (!x && !error && !acquire_in_progress) { error 835 net/xfrm/xfrm_state.c error = -EEXIST; error 840 net/xfrm/xfrm_state.c error = -ENOMEM; error 847 net/xfrm/xfrm_state.c error = security_xfrm_state_alloc_acquire(x, pol->security, fl->secid); error 848 net/xfrm/xfrm_state.c if (error) { error 874 net/xfrm/xfrm_state.c error = -ESRCH; error 881 net/xfrm/xfrm_state.c *err = acquire_in_progress ? -EAGAIN : error; error 1130 net/xfrm/xfrm_state.c goto error; error 1144 net/xfrm/xfrm_state.c goto error; error 1151 net/xfrm/xfrm_state.c goto error; error 1158 net/xfrm/xfrm_state.c goto error; error 1165 net/xfrm/xfrm_state.c goto error; error 1172 net/xfrm/xfrm_state.c goto error; error 1177 net/xfrm/xfrm_state.c goto error; error 1187 net/xfrm/xfrm_state.c error: error 1266 net/xfrm/xfrm_state.c goto error; error 1270 net/xfrm/xfrm_state.c error: error 2008 net/xfrm/xfrm_state.c goto error; error 2017 net/xfrm/xfrm_state.c goto error; error 2024 net/xfrm/xfrm_state.c goto error; error 2029 net/xfrm/xfrm_state.c goto error; error 2038 net/xfrm/xfrm_state.c goto error; error 2042 net/xfrm/xfrm_state.c goto error; error 2047 net/xfrm/xfrm_state.c goto error; error 2051 net/xfrm/xfrm_state.c goto error; error 2065 net/xfrm/xfrm_state.c goto error; error 2069 net/xfrm/xfrm_state.c goto error; error 2073 net/xfrm/xfrm_state.c goto error; error 2077 net/xfrm/xfrm_state.c error: error 333 net/xfrm/xfrm_user.c goto error; error 337 net/xfrm/xfrm_user.c goto error; error 341 net/xfrm/xfrm_user.c goto error; error 345 net/xfrm/xfrm_user.c goto error; error 351 net/xfrm/xfrm_user.c goto error; error 358 net/xfrm/xfrm_user.c goto error; error 363 net/xfrm/xfrm_user.c goto error; error 367 net/xfrm/xfrm_user.c goto error; error 383 net/xfrm/xfrm_user.c error: error 1095 net/xfrm/xfrm_user.c goto error; error 1100 net/xfrm/xfrm_user.c goto error; error 1103 net/xfrm/xfrm_user.c error: error 93 samples/firmware_class/firmware_sample_driver.c int error; error 94 samples/firmware_class/firmware_sample_driver.c error = request_firmware_nowait(THIS_MODULE, FW_ACTION_NOHOTPLUG, error 98 samples/firmware_class/firmware_sample_driver.c if (error) error 179 samples/firmware_class/firmware_sample_firmware_class.c int error; error 186 samples/firmware_class/firmware_sample_firmware_class.c error = fw_setup_class_device(class_dev, "my_firmware_image", error 188 samples/firmware_class/firmware_sample_firmware_class.c if (error) { error 190 samples/firmware_class/firmware_sample_firmware_class.c return error; error 122 scripts/genksyms/parse.y | error ';' { $$ = $2; } error 123 scripts/genksyms/parse.y | error '}' { $$ = $2; } error 299 scripts/genksyms/parse.y | direct_declarator '(' error ')' error 305 scripts/genksyms/parse.y | '(' error ')' error 321 scripts/genksyms/parse.y | direct_nested_declarator '(' error ')' error 327 scripts/genksyms/parse.y | '(' error ')' error 375 scripts/genksyms/parse.y | direct_m_abstract_declarator '(' error ')' error 381 scripts/genksyms/parse.y | '(' error ')' error 407 scripts/genksyms/parse.y | '{' error '}' { $$ = $3; } error 423 scripts/genksyms/parse.y | error ';' error 14 scripts/kconfig/kconfig_load.c char *error; error 28 scripts/kconfig/kconfig_load.c if ((error = dlerror())) { \ error 29 scripts/kconfig/kconfig_load.c fprintf(stderr, "%s\n", error); \ error 113 scripts/kconfig/zconf.y | stmt_list T_WORD error T_EOL { zconf_error("unknown statement \"%s\"", $2); } error 114 scripts/kconfig/zconf.y | stmt_list option_name error T_EOL error 118 scripts/kconfig/zconf.y | stmt_list error T_EOL { zconf_error("invalid statement"); } error 135 scripts/kconfig/zconf.y T_WORD error T_EOL { zconf_error("unknown option \"%s\"", $1); } error 136 scripts/kconfig/zconf.y | error T_EOL { zconf_error("invalid option"); } error 206 scripts/unifdef.c static void error(const char *); error 342 scripts/unifdef.c static void Eelif (void) { error("Inappropriate #elif"); } error 343 scripts/unifdef.c static void Eelse (void) { error("Inappropriate #else"); } error 344 scripts/unifdef.c static void Eendif(void) { error("Inappropriate #endif"); } error 345 scripts/unifdef.c static void Eeof (void) { error("Premature EOF"); } error 346 scripts/unifdef.c static void Eioccc(void) { error("Obfuscated preprocessor control line"); } error 435 scripts/unifdef.c error("EOF in comment"); error 468 scripts/unifdef.c error("Too many levels of nesting"); error 853 scripts/unifdef.c error("unterminated char literal"); error 855 scripts/unifdef.c error("unterminated string literal"); error 184 security/commoncap.c int error; error 189 security/commoncap.c error = inode->i_op->getxattr(dentry, XATTR_NAME_CAPS, NULL, 0); error 190 security/commoncap.c if (error <= 0) error 604 security/commoncap.c long error = 0; error 609 security/commoncap.c error = -EINVAL; error 611 security/commoncap.c error = !!cap_raised(current->cap_bset, arg2); error 615 security/commoncap.c error = cap_prctl_drop(arg2); error 651 security/commoncap.c error = -EPERM; /* cannot change a locked bit */ error 657 security/commoncap.c error = current->securebits; error 664 security/commoncap.c error = 1; error 668 security/commoncap.c error = -EINVAL; error 670 security/commoncap.c error = -EPERM; error 684 security/commoncap.c *rc_p = error; error 92 security/inode.c int error = -EPERM; error 101 security/inode.c error = 0; error 103 security/inode.c return error; error 153 security/inode.c int error = 0; error 176 security/inode.c error = mkdir(parent->d_inode, *dentry, mode); error 178 security/inode.c error = create(parent->d_inode, *dentry, mode); error 180 security/inode.c error = PTR_ERR(dentry); error 183 security/inode.c return error; error 220 security/inode.c int error; error 224 security/inode.c error = simple_pin_fs(&fs_type, &mount, &mount_count); error 225 security/inode.c if (error) { error 226 security/inode.c dentry = ERR_PTR(error); error 230 security/inode.c error = create_by_name(name, mode, parent, &dentry); error 231 security/inode.c if (error) { error 232 security/inode.c dentry = ERR_PTR(error); error 231 security/keys/key.c goto error; error 305 security/keys/key.c error: error 319 security/keys/key.c goto error; error 333 security/keys/key.c goto error; error 339 security/keys/key.c goto error; error 635 security/keys/key.c goto error; error 649 security/keys/key.c error: error 706 security/keys/key.c goto error; error 710 security/keys/key.c goto error; error 722 security/keys/key.c goto error; error 726 security/keys/key.c error: error 756 security/keys/key.c goto error; error 826 security/keys/key.c error: error 837 security/keys/key.c goto error; error 857 security/keys/key.c goto error; error 872 security/keys/key.c error: error 71 security/keys/keyctl.c goto error; error 76 security/keys/keyctl.c goto error; error 81 security/keys/keyctl.c goto error; error 133 security/keys/keyctl.c error: error 164 security/keys/keyctl.c goto error; error 170 security/keys/keyctl.c goto error; error 222 security/keys/keyctl.c error: error 241 security/keys/keyctl.c goto error; error 246 security/keys/keyctl.c error: error 267 security/keys/keyctl.c goto error; error 274 security/keys/keyctl.c error: error 295 security/keys/keyctl.c goto error; error 303 security/keys/keyctl.c goto error; error 323 security/keys/keyctl.c error: error 342 security/keys/keyctl.c goto error; error 349 security/keys/keyctl.c error: error 368 security/keys/keyctl.c goto error; error 374 security/keys/keyctl.c error: error 394 security/keys/keyctl.c goto error; error 408 security/keys/keyctl.c error: error 428 security/keys/keyctl.c goto error; error 442 security/keys/keyctl.c error: error 483 security/keys/keyctl.c goto error; error 523 security/keys/keyctl.c error: error 551 security/keys/keyctl.c goto error; error 556 security/keys/keyctl.c goto error; error 617 security/keys/keyctl.c error: error 642 security/keys/keyctl.c goto error; error 652 security/keys/keyctl.c goto error; error 679 security/keys/keyctl.c error: error 700 security/keys/keyctl.c goto error; error 705 security/keys/keyctl.c goto error; error 780 security/keys/keyctl.c error: error 805 security/keys/keyctl.c goto error; error 810 security/keys/keyctl.c goto error; error 827 security/keys/keyctl.c error: error 851 security/keys/keyctl.c goto error; error 858 security/keys/keyctl.c goto error; error 862 security/keys/keyctl.c goto error; error 872 security/keys/keyctl.c goto error; error 876 security/keys/keyctl.c goto error; error 914 security/keys/keyctl.c error: error 936 security/keys/keyctl.c goto error; error 940 security/keys/keyctl.c goto error; error 949 security/keys/keyctl.c goto error; error 966 security/keys/keyctl.c error: error 1024 security/keys/keyctl.c goto error; error 1044 security/keys/keyctl.c error: error 1061 security/keys/keyctl.c goto error; error 1068 security/keys/keyctl.c goto error; error 1079 security/keys/keyctl.c goto error; error 1086 security/keys/keyctl.c error: error 225 security/keys/keyring.c goto error; error 237 security/keys/keyring.c error: error 309 security/keys/keyring.c goto error; error 314 security/keys/keyring.c goto error; error 440 security/keys/keyring.c error: error 528 security/keys/keyring.c goto error; error 555 security/keys/keyring.c goto error; error 562 security/keys/keyring.c error: error 641 security/keys/keyring.c error: error 647 security/keys/keyring.c goto error; error 651 security/keys/keyring.c goto error; error 698 security/keys/keyring.c goto error; error 702 security/keys/keyring.c goto error; error 815 security/keys/keyring.c error: error 861 security/keys/keyring.c goto error; error 875 security/keys/keyring.c goto error; error 911 security/keys/keyring.c error: error 916 security/keys/keyring.c goto error; error 91 security/keys/permission.c goto error; error 102 security/keys/permission.c error: error 74 security/keys/process_keys.c goto error; error 112 security/keys/process_keys.c error: error 161 security/keys/process_keys.c goto error; error 172 security/keys/process_keys.c error: error 196 security/keys/process_keys.c goto error; error 211 security/keys/process_keys.c error: error 591 security/keys/process_keys.c goto error; error 596 security/keys/process_keys.c goto error; error 608 security/keys/process_keys.c goto error; error 613 security/keys/process_keys.c goto error; error 628 security/keys/process_keys.c goto error; error 632 security/keys/process_keys.c goto error; error 646 security/keys/process_keys.c goto error; error 658 security/keys/process_keys.c goto error; error 669 security/keys/process_keys.c goto error; error 674 security/keys/process_keys.c goto error; error 683 security/keys/process_keys.c goto error; error 688 security/keys/process_keys.c goto error; error 732 security/keys/process_keys.c error: error 738 security/keys/process_keys.c goto error; error 759 security/keys/process_keys.c goto error; error 764 security/keys/process_keys.c goto error; error 796 security/keys/process_keys.c error: error 45 security/keys/request_key.c kenter("{%d,%d},%d", cons->key->serial, cons->authkey->serial, error); error 47 security/keys/request_key.c if (error < 0) error 402 security/keys/request_key.c goto error; error 409 security/keys/request_key.c error: error 268 security/keys/request_key_auth.c goto error; error 277 security/keys/request_key_auth.c error: error 49 security/keys/user_defined.c goto error; error 53 security/keys/user_defined.c goto error; error 58 security/keys/user_defined.c goto error; error 66 security/keys/user_defined.c error: error 99 security/keys/user_defined.c goto error; error 105 security/keys/user_defined.c goto error; error 124 security/keys/user_defined.c error: error 1776 security/selinux/hooks.c int error; error 1778 security/selinux/hooks.c error = task_has_perm(current, target, PROCESS__GETCAP); error 1779 security/selinux/hooks.c if (error) error 1780 security/selinux/hooks.c return error; error 1788 security/selinux/hooks.c int error; error 1790 security/selinux/hooks.c error = secondary_ops->capset_check(target, effective, inheritable, permitted); error 1791 security/selinux/hooks.c if (error) error 1792 security/selinux/hooks.c return error; error 1857 security/selinux/hooks.c int error = 0; error 1879 security/selinux/hooks.c error = avc_has_perm(tsec->sid, tsid, error 1888 security/selinux/hooks.c error = avc_has_perm(tsec->sid, tsid, error 1892 security/selinux/hooks.c return error; error 2810 security/selinux/hooks.c int error; error 2827 security/selinux/hooks.c error = secondary_ops->capable(current, CAP_MAC_ADMIN); error 2828 security/selinux/hooks.c if (!error) error 2829 security/selinux/hooks.c error = avc_has_perm_noaudit(tsec->sid, tsec->sid, error 2834 security/selinux/hooks.c if (!error) error 2835 security/selinux/hooks.c error = security_sid_to_context_force(isec->sid, &context, error 2838 security/selinux/hooks.c error = security_sid_to_context(isec->sid, &context, &size); error 2839 security/selinux/hooks.c if (error) error 2840 security/selinux/hooks.c return error; error 2841 security/selinux/hooks.c error = size; error 2848 security/selinux/hooks.c return error; error 5220 security/selinux/hooks.c int error; error 5224 security/selinux/hooks.c error = task_has_perm(current, p, PROCESS__GETATTR); error 5225 security/selinux/hooks.c if (error) error 5226 security/selinux/hooks.c return error; error 5249 security/selinux/hooks.c error = security_sid_to_context(sid, value, &len); error 5250 security/selinux/hooks.c if (error) error 5251 security/selinux/hooks.c return error; error 5261 security/selinux/hooks.c int error; error 5276 security/selinux/hooks.c error = task_has_perm(current, p, PROCESS__SETEXEC); error 5278 security/selinux/hooks.c error = task_has_perm(current, p, PROCESS__SETFSCREATE); error 5280 security/selinux/hooks.c error = task_has_perm(current, p, PROCESS__SETKEYCREATE); error 5282 security/selinux/hooks.c error = task_has_perm(current, p, PROCESS__SETSOCKCREATE); error 5284 security/selinux/hooks.c error = task_has_perm(current, p, PROCESS__SETCURRENT); error 5286 security/selinux/hooks.c error = -EINVAL; error 5287 security/selinux/hooks.c if (error) error 5288 security/selinux/hooks.c return error; error 5296 security/selinux/hooks.c error = security_context_to_sid(value, size, &sid); error 5297 security/selinux/hooks.c if (error == -EINVAL && !strcmp(name, "fscreate")) { error 5299 security/selinux/hooks.c return error; error 5300 security/selinux/hooks.c error = security_context_to_sid_force(value, size, error 5303 security/selinux/hooks.c if (error) error 5304 security/selinux/hooks.c return error; error 5319 security/selinux/hooks.c error = may_create_key(sid, p); error 5320 security/selinux/hooks.c if (error) error 5321 security/selinux/hooks.c return error; error 5343 security/selinux/hooks.c error = security_bounded_transition(tsec->sid, sid); error 5344 security/selinux/hooks.c if (!error) error 5347 security/selinux/hooks.c return error; error 5355 security/selinux/hooks.c error = avc_has_perm(tsec->sid, sid, SECCLASS_PROCESS, error 5357 security/selinux/hooks.c if (error) error 5358 security/selinux/hooks.c return error; error 5369 security/selinux/hooks.c error = avc_has_perm_noaudit(ptsid, sid, error 5372 security/selinux/hooks.c if (!error) error 5376 security/selinux/hooks.c PROCESS__PTRACE, &avd, error, NULL); error 5377 security/selinux/hooks.c if (error) error 5378 security/selinux/hooks.c return error; error 164 security/selinux/netlabel.c netlbl_skbuff_err(skb, error, gateway); error 938 sound/aoa/codecs/snd-aoa-codec-onyx.c goto error; \ error 982 sound/aoa/codecs/snd-aoa-codec-onyx.c error: error 834 sound/aoa/codecs/snd-aoa-codec-tas.c goto error; error 838 sound/aoa/codecs/snd-aoa-codec-tas.c goto error; error 842 sound/aoa/codecs/snd-aoa-codec-tas.c goto error; error 846 sound/aoa/codecs/snd-aoa-codec-tas.c goto error; error 850 sound/aoa/codecs/snd-aoa-codec-tas.c goto error; error 854 sound/aoa/codecs/snd-aoa-codec-tas.c goto error; error 858 sound/aoa/codecs/snd-aoa-codec-tas.c goto error; error 862 sound/aoa/codecs/snd-aoa-codec-tas.c goto error; error 866 sound/aoa/codecs/snd-aoa-codec-tas.c goto error; error 869 sound/aoa/codecs/snd-aoa-codec-tas.c error: error 39 sound/aoa/soundbus/core.c int error = -ENODEV; error 47 sound/aoa/soundbus/core.c return error; error 51 sound/aoa/soundbus/core.c error = drv->probe(soundbus_dev); error 52 sound/aoa/soundbus/core.c if (error) error 55 sound/aoa/soundbus/core.c return error; error 320 sound/core/control.c goto error; error 332 sound/core/control.c goto error; error 337 sound/core/control.c goto error; error 348 sound/core/control.c error: error 104 sound/core/control_compat.c goto error; error 109 sound/core/control_compat.c goto error; error 118 sound/core/control_compat.c goto error; error 124 sound/core/control_compat.c goto error; error 126 sound/core/control_compat.c goto error; error 133 sound/core/control_compat.c goto error; error 139 sound/core/control_compat.c goto error; error 145 sound/core/control_compat.c goto error; error 151 sound/core/control_compat.c error: error 295 sound/core/control_compat.c goto error; error 304 sound/core/control_compat.c error: error 321 sound/core/control_compat.c goto error; error 330 sound/core/control_compat.c error: error 351 sound/core/control_compat.c goto error; error 354 sound/core/control_compat.c goto error; error 361 sound/core/control_compat.c goto error; error 367 sound/core/control_compat.c goto error; error 373 sound/core/control_compat.c goto error; error 379 sound/core/control_compat.c error: error 118 sound/core/info.c if (buffer->stop || buffer->error) error 423 sound/core/info.c if (data->wbuffer->error) { error 426 sound/core/info.c data->wbuffer->error); error 701 sound/core/info.c if (len <= 0 || buffer->stop || buffer->error) error 2874 sound/core/oss/pcm_oss.c buffer->error = -ENOMEM; error 2888 sound/core/oss/pcm_oss.c buffer->error = -ENOMEM; error 241 sound/core/pcm_compat.c goto error; error 248 sound/core/pcm_compat.c goto error; error 252 sound/core/pcm_compat.c goto error; error 260 sound/core/pcm_compat.c error: error 169 sound/core/pcm_memory.c buffer->error = -EBUSY; error 176 sound/core/pcm_memory.c buffer->error = -EINVAL; error 187 sound/core/pcm_memory.c buffer->error = -ENOMEM; error 198 sound/core/pcm_memory.c buffer->error = -EINVAL; error 2039 sound/core/pcm_native.c goto error; error 2043 sound/core/pcm_native.c goto error; error 2050 sound/core/pcm_native.c goto error; error 2056 sound/core/pcm_native.c error: error 84 sound/core/seq/oss/seq_oss.c goto error; error 87 sound/core/seq/oss/seq_oss.c goto error; error 92 sound/core/seq/oss/seq_oss.c goto error; error 100 sound/core/seq/oss/seq_oss.c goto error; error 106 sound/core/seq/oss/seq_oss.c error: error 84 sound/core/seq/seq.c goto error; error 88 sound/core/seq/seq.c goto error; error 92 sound/core/seq/seq.c goto error; error 96 sound/core/seq/seq.c goto error; error 100 sound/core/seq/seq.c goto error; error 104 sound/core/seq/seq.c goto error; error 106 sound/core/seq/seq.c error: error 58 sound/core/seq/seq_compat.c goto error; error 65 sound/core/seq/seq_compat.c goto error; error 72 sound/core/seq/seq_compat.c error: error 154 sound/isa/ad1816a/ad1816a.c int error; error 165 sound/isa/ad1816a/ad1816a.c if ((error = snd_card_ad1816a_pnp(dev, acard, pcard, pid))) { error 167 sound/isa/ad1816a/ad1816a.c return error; error 171 sound/isa/ad1816a/ad1816a.c if ((error = snd_ad1816a_create(card, port[dev], error 177 sound/isa/ad1816a/ad1816a.c return error; error 187 sound/isa/ad1816a/ad1816a.c if ((error = snd_ad1816a_pcm(chip, 0, NULL)) < 0) { error 189 sound/isa/ad1816a/ad1816a.c return error; error 192 sound/isa/ad1816a/ad1816a.c if ((error = snd_ad1816a_mixer(chip)) < 0) { error 194 sound/isa/ad1816a/ad1816a.c return error; error 210 sound/isa/ad1816a/ad1816a.c if ((error = snd_opl3_timer_new(opl3, 1, 2)) < 0) { error 212 sound/isa/ad1816a/ad1816a.c return error; error 214 sound/isa/ad1816a/ad1816a.c if ((error = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { error 216 sound/isa/ad1816a/ad1816a.c return error; error 221 sound/isa/ad1816a/ad1816a.c if ((error = snd_card_register(card)) < 0) { error 223 sound/isa/ad1816a/ad1816a.c return error; error 179 sound/isa/ad1816a/ad1816a_lib.c int error = 0; error 200 sound/isa/ad1816a/ad1816a_lib.c error = -EINVAL; error 203 sound/isa/ad1816a/ad1816a_lib.c return error; error 452 sound/isa/ad1816a/ad1816a_lib.c int error; error 454 sound/isa/ad1816a/ad1816a_lib.c if ((error = snd_ad1816a_open(chip, AD1816A_MODE_PLAYBACK)) < 0) error 455 sound/isa/ad1816a/ad1816a_lib.c return error; error 467 sound/isa/ad1816a/ad1816a_lib.c int error; error 469 sound/isa/ad1816a/ad1816a_lib.c if ((error = snd_ad1816a_open(chip, AD1816A_MODE_CAPTURE)) < 0) error 470 sound/isa/ad1816a/ad1816a_lib.c return error; error 584 sound/isa/ad1816a/ad1816a_lib.c int error; error 624 sound/isa/ad1816a/ad1816a_lib.c if ((error = snd_ad1816a_probe(chip))) { error 626 sound/isa/ad1816a/ad1816a_lib.c return error; error 632 sound/isa/ad1816a/ad1816a_lib.c if ((error = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { error 634 sound/isa/ad1816a/ad1816a_lib.c return error; error 665 sound/isa/ad1816a/ad1816a_lib.c int error; error 668 sound/isa/ad1816a/ad1816a_lib.c if ((error = snd_pcm_new(chip->card, "AD1816A", device, 1, 1, &pcm))) error 669 sound/isa/ad1816a/ad1816a_lib.c return error; error 695 sound/isa/ad1816a/ad1816a_lib.c int error; error 702 sound/isa/ad1816a/ad1816a_lib.c if ((error = snd_timer_new(chip->card, "AD1816A", &tid, &timer)) < 0) error 703 sound/isa/ad1816a/ad1816a_lib.c return error; error 92 sound/isa/ad1848/ad1848.c int error; error 98 sound/isa/ad1848/ad1848.c error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], -1, error 101 sound/isa/ad1848/ad1848.c if (error < 0) error 106 sound/isa/ad1848/ad1848.c error = snd_wss_pcm(chip, 0, &pcm); error 107 sound/isa/ad1848/ad1848.c if (error < 0) error 110 sound/isa/ad1848/ad1848.c error = snd_wss_mixer(chip); error 111 sound/isa/ad1848/ad1848.c if (error < 0) error 124 sound/isa/ad1848/ad1848.c error = snd_card_register(card); error 125 sound/isa/ad1848/ad1848.c if (error < 0) error 132 sound/isa/ad1848/ad1848.c return error; error 54 sound/isa/adlib.c int error; error 65 sound/isa/adlib.c error = -EBUSY; error 74 sound/isa/adlib.c error = snd_opl3_create(card, port[n], port[n] + 2, OPL3_HW_AUTO, 1, &opl3); error 75 sound/isa/adlib.c if (error < 0) { error 80 sound/isa/adlib.c error = snd_opl3_hwdep_new(opl3, 0, 0, NULL); error 81 sound/isa/adlib.c if (error < 0) { error 88 sound/isa/adlib.c error = snd_card_register(card); error 89 sound/isa/adlib.c if (error < 0) { error 98 sound/isa/adlib.c return error; error 160 sound/isa/als100.c int error; error 171 sound/isa/als100.c if ((error = snd_card_als100_pnp(dev, acard, pcard, pid))) { error 173 sound/isa/als100.c return error; error 177 sound/isa/als100.c if ((error = snd_sbdsp_create(card, port[dev], error 184 sound/isa/als100.c return error; error 194 sound/isa/als100.c if ((error = snd_sb16dsp_pcm(chip, 0, NULL)) < 0) { error 196 sound/isa/als100.c return error; error 199 sound/isa/als100.c if ((error = snd_sbmixer_new(chip)) < 0) { error 201 sound/isa/als100.c return error; error 219 sound/isa/als100.c if ((error = snd_opl3_timer_new(opl3, 0, 1)) < 0) { error 221 sound/isa/als100.c return error; error 223 sound/isa/als100.c if ((error = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { error 225 sound/isa/als100.c return error; error 230 sound/isa/als100.c if ((error = snd_card_register(card)) < 0) { error 232 sound/isa/als100.c return error; error 166 sound/isa/azt2320.c int error; error 168 sound/isa/azt2320.c if ((error = snd_card_azt2320_command(port, 0x09))) error 169 sound/isa/azt2320.c return error; error 170 sound/isa/azt2320.c if ((error = snd_card_azt2320_command(port, 0x00))) error 171 sound/isa/azt2320.c return error; error 181 sound/isa/azt2320.c int error; error 192 sound/isa/azt2320.c if ((error = snd_card_azt2320_pnp(dev, acard, pcard, pid))) { error 194 sound/isa/azt2320.c return error; error 198 sound/isa/azt2320.c if ((error = snd_card_azt2320_enable_wss(port[dev]))) { error 200 sound/isa/azt2320.c return error; error 203 sound/isa/azt2320.c error = snd_wss_create(card, wss_port[dev], -1, error 207 sound/isa/azt2320.c if (error < 0) { error 209 sound/isa/azt2320.c return error; error 217 sound/isa/azt2320.c error = snd_wss_pcm(chip, 0, NULL); error 218 sound/isa/azt2320.c if (error < 0) { error 220 sound/isa/azt2320.c return error; error 222 sound/isa/azt2320.c error = snd_wss_mixer(chip); error 223 sound/isa/azt2320.c if (error < 0) { error 225 sound/isa/azt2320.c return error; error 227 sound/isa/azt2320.c error = snd_wss_timer(chip, 0, NULL); error 228 sound/isa/azt2320.c if (error < 0) { error 230 sound/isa/azt2320.c return error; error 248 sound/isa/azt2320.c if ((error = snd_opl3_timer_new(opl3, 1, 2)) < 0) { error 250 sound/isa/azt2320.c return error; error 252 sound/isa/azt2320.c if ((error = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { error 254 sound/isa/azt2320.c return error; error 259 sound/isa/azt2320.c if ((error = snd_card_register(card)) < 0) { error 261 sound/isa/azt2320.c return error; error 96 sound/isa/cs423x/cs4231.c int error; error 102 sound/isa/cs423x/cs4231.c error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], dma2[n], error 104 sound/isa/cs423x/cs4231.c if (error < 0) error 109 sound/isa/cs423x/cs4231.c error = snd_wss_pcm(chip, 0, &pcm); error 110 sound/isa/cs423x/cs4231.c if (error < 0) error 121 sound/isa/cs423x/cs4231.c error = snd_wss_mixer(chip); error 122 sound/isa/cs423x/cs4231.c if (error < 0) error 125 sound/isa/cs423x/cs4231.c error = snd_wss_timer(chip, 0, NULL); error 126 sound/isa/cs423x/cs4231.c if (error < 0) error 141 sound/isa/cs423x/cs4231.c error = snd_card_register(card); error 142 sound/isa/cs423x/cs4231.c if (error < 0) error 149 sound/isa/cs423x/cs4231.c return error; error 147 sound/isa/dt019x.c int error; error 159 sound/isa/dt019x.c if ((error = snd_card_dt019x_pnp(dev, acard, pcard, pid))) { error 161 sound/isa/dt019x.c return error; error 164 sound/isa/dt019x.c if ((error = snd_sbdsp_create(card, port[dev], error 172 sound/isa/dt019x.c return error; error 182 sound/isa/dt019x.c if ((error = snd_sb16dsp_pcm(chip, 0, NULL)) < 0) { error 184 sound/isa/dt019x.c return error; error 186 sound/isa/dt019x.c if ((error = snd_sbmixer_new(chip)) < 0) { error 188 sound/isa/dt019x.c return error; error 212 sound/isa/dt019x.c if ((error = snd_opl3_timer_new(opl3, 0, 1)) < 0) { error 214 sound/isa/dt019x.c return error; error 216 sound/isa/dt019x.c if ((error = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { error 218 sound/isa/dt019x.c return error; error 223 sound/isa/dt019x.c if ((error = snd_card_register(card)) < 0) { error 225 sound/isa/dt019x.c return error; error 86 sound/isa/es1688/es1688.c int i, error; error 112 sound/isa/es1688/es1688.c error = snd_es1688_create(card, port[n], mpu_port[n], irq[n], error 114 sound/isa/es1688/es1688.c } while (error < 0 && ++i < ARRAY_SIZE(possible_ports)); error 116 sound/isa/es1688/es1688.c return error; error 125 sound/isa/es1688/es1688.c int error; error 131 sound/isa/es1688/es1688.c error = snd_es1688_legacy_create(card, dev, n, &chip); error 132 sound/isa/es1688/es1688.c if (error < 0) error 135 sound/isa/es1688/es1688.c error = snd_es1688_pcm(chip, 0, &pcm); error 136 sound/isa/es1688/es1688.c if (error < 0) error 139 sound/isa/es1688/es1688.c error = snd_es1688_mixer(chip); error 140 sound/isa/es1688/es1688.c if (error < 0) error 153 sound/isa/es1688/es1688.c error = snd_opl3_hwdep_new(opl3, 0, 1, NULL); error 154 sound/isa/es1688/es1688.c if (error < 0) error 160 sound/isa/es1688/es1688.c error = snd_mpu401_uart_new(card, 0, MPU401_HW_ES1688, error 163 sound/isa/es1688/es1688.c if (error < 0) error 169 sound/isa/es1688/es1688.c error = snd_card_register(card); error 170 sound/isa/es1688/es1688.c if (error < 0) error 177 sound/isa/es1688/es1688.c return error; error 88 sound/isa/gus/gusclassic.c int i, error; error 122 sound/isa/gus/gusclassic.c error = snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n], error 124 sound/isa/gus/gusclassic.c } while (error < 0 && ++i < ARRAY_SIZE(possible_ports)); error 126 sound/isa/gus/gusclassic.c return error; error 152 sound/isa/gus/gusclassic.c int error; error 161 sound/isa/gus/gusclassic.c error = snd_gusclassic_create(card, dev, n, &gus); error 162 sound/isa/gus/gusclassic.c if (error < 0) error 165 sound/isa/gus/gusclassic.c error = snd_gusclassic_detect(gus); error 166 sound/isa/gus/gusclassic.c if (error < 0) error 171 sound/isa/gus/gusclassic.c error = snd_gus_initialize(gus); error 172 sound/isa/gus/gusclassic.c if (error < 0) error 175 sound/isa/gus/gusclassic.c error = -ENODEV; error 182 sound/isa/gus/gusclassic.c error = snd_gf1_new_mixer(gus); error 183 sound/isa/gus/gusclassic.c if (error < 0) error 186 sound/isa/gus/gusclassic.c error = snd_gf1_pcm_new(gus, 0, 0, NULL); error 187 sound/isa/gus/gusclassic.c if (error < 0) error 191 sound/isa/gus/gusclassic.c error = snd_gf1_rawmidi_new(gus, 0, NULL); error 192 sound/isa/gus/gusclassic.c if (error < 0) error 206 sound/isa/gus/gusclassic.c error = snd_card_register(card); error 207 sound/isa/gus/gusclassic.c if (error < 0) error 214 sound/isa/gus/gusclassic.c return error; error 104 sound/isa/gus/gusextreme.c int i, error; error 130 sound/isa/gus/gusextreme.c error = snd_es1688_create(card, port[n], mpu_port[n], irq[n], error 132 sound/isa/gus/gusextreme.c } while (error < 0 && ++i < ARRAY_SIZE(possible_ports)); error 134 sound/isa/gus/gusextreme.c return error; error 217 sound/isa/gus/gusextreme.c int error; error 226 sound/isa/gus/gusextreme.c error = snd_ctl_rename_id(card, &id1, &id2); error 227 sound/isa/gus/gusextreme.c if (error < 0) error 228 sound/isa/gus/gusextreme.c return error; error 233 sound/isa/gus/gusextreme.c error = snd_ctl_rename_id(card, &id1, &id2); error 234 sound/isa/gus/gusextreme.c if (error < 0) error 235 sound/isa/gus/gusextreme.c return error; error 246 sound/isa/gus/gusextreme.c int error; error 258 sound/isa/gus/gusextreme.c error = snd_gusextreme_es1688_create(card, dev, n, &es1688); error 259 sound/isa/gus/gusextreme.c if (error < 0) error 265 sound/isa/gus/gusextreme.c error = snd_gusextreme_gus_card_create(card, dev, n, &gus); error 266 sound/isa/gus/gusextreme.c if (error < 0) error 269 sound/isa/gus/gusextreme.c error = snd_gusextreme_detect(gus, es1688); error 270 sound/isa/gus/gusextreme.c if (error < 0) error 275 sound/isa/gus/gusextreme.c error = snd_gus_initialize(gus); error 276 sound/isa/gus/gusextreme.c if (error < 0) error 279 sound/isa/gus/gusextreme.c error = -ENODEV; error 287 sound/isa/gus/gusextreme.c error = snd_es1688_pcm(es1688, 0, NULL); error 288 sound/isa/gus/gusextreme.c if (error < 0) error 291 sound/isa/gus/gusextreme.c error = snd_es1688_mixer(es1688); error 292 sound/isa/gus/gusextreme.c if (error < 0) error 298 sound/isa/gus/gusextreme.c error = snd_gf1_pcm_new(gus, 1, 1, NULL); error 299 sound/isa/gus/gusextreme.c if (error < 0) error 303 sound/isa/gus/gusextreme.c error = snd_gf1_new_mixer(gus); error 304 sound/isa/gus/gusextreme.c if (error < 0) error 307 sound/isa/gus/gusextreme.c error = snd_gusextreme_mixer(es1688); error 308 sound/isa/gus/gusextreme.c if (error < 0) error 316 sound/isa/gus/gusextreme.c error = snd_opl3_hwdep_new(opl3, 0, 2, NULL); error 317 sound/isa/gus/gusextreme.c if (error < 0) error 322 sound/isa/gus/gusextreme.c error = snd_mpu401_uart_new(card, 0, MPU401_HW_ES1688, error 325 sound/isa/gus/gusextreme.c if (error < 0) error 335 sound/isa/gus/gusextreme.c error = snd_card_register(card); error 336 sound/isa/gus/gusextreme.c if (error < 0) error 343 sound/isa/gus/gusextreme.c return error; error 266 sound/isa/opti9xx/miro.c int change, value, error; error 270 sound/isa/opti9xx/miro.c if ((error = aci_setvalue(miro, ACI_SET_SOLOMODE, value)) < 0) { error 271 sound/isa/opti9xx/miro.c snd_printk(KERN_ERR "snd_miro_put_capture() failed: %d\n", error); error 272 sound/isa/opti9xx/miro.c return error; error 324 sound/isa/opti9xx/miro.c int error, value, change; error 328 sound/isa/opti9xx/miro.c if ((error = aci_setvalue(miro, ACI_SET_PREAMP, value)) < 0) { error 329 sound/isa/opti9xx/miro.c snd_printk(KERN_ERR "snd_miro_put_preamp() failed: %d\n", error); error 330 sound/isa/opti9xx/miro.c return error; error 354 sound/isa/opti9xx/miro.c int error, value, change; error 358 sound/isa/opti9xx/miro.c if ((error = aci_setvalue(miro, ACI_SET_POWERAMP, value)) < 0) { error 359 sound/isa/opti9xx/miro.c snd_printk(KERN_ERR "snd_miro_put_amp() to %d failed: %d\n", value, error); error 360 sound/isa/opti9xx/miro.c return error; error 456 sound/isa/opti9xx/miro.c int change, error; error 495 sound/isa/opti9xx/miro.c if ((error = aci_setvalue(miro, setreg_left, left)) < 0) { error 497 sound/isa/opti9xx/miro.c left, error); error 498 sound/isa/opti9xx/miro.c return error; error 501 sound/isa/opti9xx/miro.c if ((error = aci_setvalue(miro, setreg_left, 0x80 - left)) < 0) { error 503 sound/isa/opti9xx/miro.c 0x80 - left, error); error 504 sound/isa/opti9xx/miro.c return error; error 509 sound/isa/opti9xx/miro.c if ((error = aci_setvalue(miro, setreg_right, right)) < 0) { error 511 sound/isa/opti9xx/miro.c right, error); error 512 sound/isa/opti9xx/miro.c return error; error 515 sound/isa/opti9xx/miro.c if ((error = aci_setvalue(miro, setreg_right, 0x80 - right)) < 0) { error 517 sound/isa/opti9xx/miro.c 0x80 - right, error); error 518 sound/isa/opti9xx/miro.c return error; error 533 sound/isa/opti9xx/miro.c if ((error = aci_setvalue(miro, setreg_left, 0x20 - left)) < 0) { error 535 sound/isa/opti9xx/miro.c 0x20 - left, error); error 536 sound/isa/opti9xx/miro.c return error; error 538 sound/isa/opti9xx/miro.c if ((error = aci_setvalue(miro, setreg_right, 0x20 - right)) < 0) { error 540 sound/isa/opti9xx/miro.c 0x20 - right, error); error 541 sound/isa/opti9xx/miro.c return error; error 635 sound/isa/opti9xx/miro.c int idx, error; error 640 sound/isa/opti9xx/miro.c if ((error = aci_setvalue(miro, ACI_SET_WSS, wss)) < 0) { error 642 sound/isa/opti9xx/miro.c return error; error 649 sound/isa/opti9xx/miro.c if ((error = aci_setvalue(miro, ACI_SET_IDE, ide)) < 0) { error 651 sound/isa/opti9xx/miro.c return error; error 658 sound/isa/opti9xx/miro.c if ((error = aci_setvalue(miro, aci_init_values[idx][0], error 661 sound/isa/opti9xx/miro.c aci_init_values[idx][0], error); error 662 sound/isa/opti9xx/miro.c return error; error 1223 sound/isa/opti9xx/miro.c int error; error 1239 sound/isa/opti9xx/miro.c if ((error = snd_card_miro_aci_detect(card, miro)) < 0) { error 1248 sound/isa/opti9xx/miro.c if ((error = snd_card_miro_detect(card, miro)) < 0) { error 1314 sound/isa/opti9xx/miro.c error = snd_miro_configure(miro); error 1315 sound/isa/opti9xx/miro.c if (error) { error 1317 sound/isa/opti9xx/miro.c return error; error 1320 sound/isa/opti9xx/miro.c error = snd_wss_create(card, miro->wss_base + 4, -1, error 1323 sound/isa/opti9xx/miro.c if (error < 0) { error 1325 sound/isa/opti9xx/miro.c return error; error 1328 sound/isa/opti9xx/miro.c error = snd_wss_pcm(codec, 0, &pcm); error 1329 sound/isa/opti9xx/miro.c if (error < 0) { error 1331 sound/isa/opti9xx/miro.c return error; error 1333 sound/isa/opti9xx/miro.c error = snd_wss_mixer(codec); error 1334 sound/isa/opti9xx/miro.c if (error < 0) { error 1336 sound/isa/opti9xx/miro.c return error; error 1338 sound/isa/opti9xx/miro.c error = snd_wss_timer(codec, 0, &timer); error 1339 sound/isa/opti9xx/miro.c if (error < 0) { error 1341 sound/isa/opti9xx/miro.c return error; error 1346 sound/isa/opti9xx/miro.c if ((error = snd_miro_mixer(miro)) < 0) { error 1348 sound/isa/opti9xx/miro.c return error; error 1385 sound/isa/opti9xx/miro.c if ((error = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, error 1398 sound/isa/opti9xx/miro.c if ((error = snd_set_aci_init_values(miro)) < 0) { error 1400 sound/isa/opti9xx/miro.c return error; error 1405 sound/isa/opti9xx/miro.c if ((error = snd_card_register(card))) { error 1407 sound/isa/opti9xx/miro.c return error; error 699 sound/isa/opti9xx/opti92x-ad1848.c int error; error 733 sound/isa/opti9xx/opti92x-ad1848.c error = snd_opti9xx_configure(chip); error 734 sound/isa/opti9xx/opti92x-ad1848.c if (error) error 735 sound/isa/opti9xx/opti92x-ad1848.c return error; error 737 sound/isa/opti9xx/opti92x-ad1848.c error = snd_wss_create(card, chip->wss_base + 4, -1, error 745 sound/isa/opti9xx/opti92x-ad1848.c if (error < 0) error 746 sound/isa/opti9xx/opti92x-ad1848.c return error; error 750 sound/isa/opti9xx/opti92x-ad1848.c error = snd_wss_pcm(codec, 0, &pcm); error 751 sound/isa/opti9xx/opti92x-ad1848.c if (error < 0) error 752 sound/isa/opti9xx/opti92x-ad1848.c return error; error 753 sound/isa/opti9xx/opti92x-ad1848.c error = snd_wss_mixer(codec); error 754 sound/isa/opti9xx/opti92x-ad1848.c if (error < 0) error 755 sound/isa/opti9xx/opti92x-ad1848.c return error; error 757 sound/isa/opti9xx/opti92x-ad1848.c error = snd_wss_timer(codec, 0, &timer); error 758 sound/isa/opti9xx/opti92x-ad1848.c if (error < 0) error 759 sound/isa/opti9xx/opti92x-ad1848.c return error; error 762 sound/isa/opti9xx/opti92x-ad1848.c error = request_irq(chip->irq, snd_opti93x_interrupt, error 764 sound/isa/opti9xx/opti92x-ad1848.c if (error < 0) { error 766 sound/isa/opti9xx/opti92x-ad1848.c return error; error 784 sound/isa/opti9xx/opti92x-ad1848.c if ((error = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, error 823 sound/isa/opti9xx/opti92x-ad1848.c if ((error = snd_opl3_timer_new(opl3, t1dev, t1dev+1)) < 0) error 824 sound/isa/opti9xx/opti92x-ad1848.c return error; error 825 sound/isa/opti9xx/opti92x-ad1848.c if ((error = snd_opl3_hwdep_new(opl3, 0, 1, &synth)) < 0) error 826 sound/isa/opti9xx/opti92x-ad1848.c return error; error 860 sound/isa/opti9xx/opti92x-ad1848.c int error; error 910 sound/isa/opti9xx/opti92x-ad1848.c if ((error = snd_card_opti9xx_detect(card, card->private_data)) < 0) { error 912 sound/isa/opti9xx/opti92x-ad1848.c return error; error 915 sound/isa/opti9xx/opti92x-ad1848.c if ((error = snd_opti9xx_probe(card)) < 0) { error 917 sound/isa/opti9xx/opti92x-ad1848.c return error; error 946 sound/isa/opti9xx/opti92x-ad1848.c int error, hw; error 974 sound/isa/opti9xx/opti92x-ad1848.c if ((error = snd_opti9xx_init(chip, hw))) { error 976 sound/isa/opti9xx/opti92x-ad1848.c return error; error 981 sound/isa/opti9xx/opti92x-ad1848.c if ((error = snd_opti9xx_probe(card)) < 0) { error 983 sound/isa/opti9xx/opti92x-ad1848.c return error; error 106 sound/isa/sb/es968.c int error; error 115 sound/isa/sb/es968.c if ((error = snd_card_es968_pnp(dev, acard, pcard, pid))) { error 117 sound/isa/sb/es968.c return error; error 121 sound/isa/sb/es968.c if ((error = snd_sbdsp_create(card, port[dev], error 128 sound/isa/sb/es968.c return error; error 132 sound/isa/sb/es968.c if ((error = snd_sb8dsp_pcm(chip, 0, NULL)) < 0) { error 134 sound/isa/sb/es968.c return error; error 137 sound/isa/sb/es968.c if ((error = snd_sbmixer_new(chip)) < 0) { error 139 sound/isa/sb/es968.c return error; error 142 sound/isa/sb/es968.c if ((error = snd_sb8dsp_midi(chip, 0, NULL)) < 0) { error 144 sound/isa/sb/es968.c return error; error 152 sound/isa/sb/es968.c if ((error = snd_card_register(card)) < 0) { error 154 sound/isa/sb/es968.c return error; error 117 sound/oss/au1550_ac97.c unsigned error; error 773 sound/oss/au1550_ac97.c dp->error++; error 46 sound/oss/dmasound/dmasound.h do { int error = get_user(ret, (int __user *)(arg)); \ error 47 sound/oss/dmasound/dmasound.h if (error) return error; \ error 239 sound/oss/swarm_cs4297a.c unsigned error; // over/underrun error 593 sound/pci/ac97/ac97_pcm.c goto error; error 604 sound/pci/ac97/ac97_pcm.c goto error; error 633 sound/pci/ac97/ac97_pcm.c error: error 2316 sound/pci/ali5451/ali5451.c goto error; error 2322 sound/pci/ali5451/ali5451.c goto error; error 2327 sound/pci/ali5451/ali5451.c goto error; error 2340 sound/pci/ali5451/ali5451.c goto error; error 2345 sound/pci/ali5451/ali5451.c error: error 239 sound/pci/cs46xx/dsp_spos.c goto error; error 248 sound/pci/cs46xx/dsp_spos.c goto error; error 259 sound/pci/cs46xx/dsp_spos.c goto error; error 283 sound/pci/cs46xx/dsp_spos.c error: error 128 sound/pci/emu10k1/emu10k1.c goto error; error 131 sound/pci/emu10k1/emu10k1.c goto error; error 133 sound/pci/emu10k1/emu10k1.c goto error; error 135 sound/pci/emu10k1/emu10k1.c goto error; error 140 sound/pci/emu10k1/emu10k1.c goto error; error 144 sound/pci/emu10k1/emu10k1.c goto error; error 147 sound/pci/emu10k1/emu10k1.c goto error; error 150 sound/pci/emu10k1/emu10k1.c goto error; error 153 sound/pci/emu10k1/emu10k1.c goto error; error 157 sound/pci/emu10k1/emu10k1.c goto error; error 160 sound/pci/emu10k1/emu10k1.c goto error; error 163 sound/pci/emu10k1/emu10k1.c goto error; error 187 sound/pci/emu10k1/emu10k1.c goto error; error 193 sound/pci/emu10k1/emu10k1.c error: error 1826 sound/pci/emu10k1/emu10k1_main.c goto error; error 1834 sound/pci/emu10k1/emu10k1_main.c goto error; error 1840 sound/pci/emu10k1/emu10k1_main.c goto error; error 1845 sound/pci/emu10k1/emu10k1_main.c goto error; error 1863 sound/pci/emu10k1/emu10k1_main.c goto error; error 1867 sound/pci/emu10k1/emu10k1_main.c goto error; error 1888 sound/pci/emu10k1/emu10k1_main.c goto error; error 1930 sound/pci/emu10k1/emu10k1_main.c goto error; error 1933 sound/pci/emu10k1/emu10k1_main.c goto error; error 1938 sound/pci/emu10k1/emu10k1_main.c goto error; error 1942 sound/pci/emu10k1/emu10k1_main.c goto error; error 1952 sound/pci/emu10k1/emu10k1_main.c error: error 1086 sound/pci/hda/hda_generic.c goto error; error 1090 sound/pci/hda/hda_generic.c goto error; error 1096 sound/pci/hda/hda_generic.c error: error 1091 sound/pci/hda/hda_intel.c goto error; error 1104 sound/pci/hda/hda_intel.c goto error; error 1108 sound/pci/hda/hda_intel.c error: error 1226 sound/pci/sis7019.c goto error; error 1231 sound/pci/sis7019.c goto error; error 1237 sound/pci/sis7019.c goto error; error 1263 sound/pci/sis7019.c error: error 563 sound/soc/codecs/cs4270.c goto error; error 571 sound/soc/codecs/cs4270.c goto error; error 577 sound/soc/codecs/cs4270.c goto error; error 594 sound/soc/codecs/cs4270.c goto error; error 605 sound/soc/codecs/cs4270.c goto error; error 612 sound/soc/codecs/cs4270.c error: error 247 sound/soc/fsl/mpc8610_hpcd.c goto error; error 251 sound/soc/fsl/mpc8610_hpcd.c goto error; error 256 sound/soc/fsl/mpc8610_hpcd.c goto error; error 263 sound/soc/fsl/mpc8610_hpcd.c goto error; error 273 sound/soc/fsl/mpc8610_hpcd.c goto error; error 291 sound/soc/fsl/mpc8610_hpcd.c goto error; error 326 sound/soc/fsl/mpc8610_hpcd.c goto error; error 332 sound/soc/fsl/mpc8610_hpcd.c goto error; error 339 sound/soc/fsl/mpc8610_hpcd.c goto error; error 343 sound/soc/fsl/mpc8610_hpcd.c goto error; error 352 sound/soc/fsl/mpc8610_hpcd.c goto error; error 362 sound/soc/fsl/mpc8610_hpcd.c goto error; error 372 sound/soc/fsl/mpc8610_hpcd.c goto error; error 379 sound/soc/fsl/mpc8610_hpcd.c goto error; error 395 sound/soc/fsl/mpc8610_hpcd.c goto error; error 432 sound/soc/fsl/mpc8610_hpcd.c goto error; error 444 sound/soc/fsl/mpc8610_hpcd.c goto error; error 465 sound/soc/fsl/mpc8610_hpcd.c goto error; error 487 sound/soc/fsl/mpc8610_hpcd.c goto error; error 494 sound/soc/fsl/mpc8610_hpcd.c error: error 309 usr/gen_init_cpio.c goto error; error 315 usr/gen_init_cpio.c goto error; error 321 usr/gen_init_cpio.c goto error; error 327 usr/gen_init_cpio.c goto error; error 367 usr/gen_init_cpio.c error: