err 24 arch/x86/boot/apm.c u8 err; err 30 arch/x86/boot/apm.c : "=d" (err), "+a" (ax), "+b" (bx), "+c" (cx) err 33 arch/x86/boot/apm.c if (err) err 56 arch/x86/boot/apm.c "+S" (esi), "+D" (di), "=m" (err) err 67 arch/x86/boot/apm.c if (err) err 76 arch/x86/boot/apm.c : "=d" (err), "+a" (ax), "+b" (bx), "+c" (cx) err 79 arch/x86/boot/apm.c if (err || bx != 0x504d) { err 159 arch/x86/boot/cpucheck.c u32 err; err 162 arch/x86/boot/cpucheck.c err = 0; err 166 arch/x86/boot/cpucheck.c err |= 1 << i; err 169 arch/x86/boot/cpucheck.c return err; err 182 arch/x86/boot/cpucheck.c int err; err 191 arch/x86/boot/cpucheck.c err = check_flags(); err 196 arch/x86/boot/cpucheck.c if (err == 0x01 && err 211 arch/x86/boot/cpucheck.c err = check_flags(); err 212 arch/x86/boot/cpucheck.c } else if (err == 0x01 && err 226 arch/x86/boot/cpucheck.c err = check_flags(); err 227 arch/x86/boot/cpucheck.c } else if (err == 0x01 && is_transmeta()) { err 241 arch/x86/boot/cpucheck.c err = check_flags(); err 245 arch/x86/boot/cpucheck.c *err_flags_ptr = err ? err_flags : NULL; err 251 arch/x86/boot/cpucheck.c return (cpu.level < req_level || err) ? -1 : 0; err 19 arch/x86/boot/mca.c u8 err; err 27 arch/x86/boot/mca.c : "=acd" (err), "=acdSD" (es), "=b" (bx) err 30 arch/x86/boot/mca.c if (err) err 24 arch/x86/boot/memory.c u8 err; err 34 arch/x86/boot/memory.c : "=d" (err), "+b" (next), "=a" (id), "+c" (size), err 41 arch/x86/boot/memory.c if (err) err 64 arch/x86/boot/memory.c u8 err; err 69 arch/x86/boot/memory.c : "=m" (err), "+a" (ax), "+b" (bx), "+c" (cx), "+d" (dx)); err 71 arch/x86/boot/memory.c if (err) err 95 arch/x86/boot/memory.c u8 err; err 98 arch/x86/boot/memory.c asm("stc; int $0x15; setc %0" : "=bcdm" (err), "+a" (ax)); err 102 arch/x86/boot/memory.c return -err; err 107 arch/x86/boot/memory.c int err = -1; err 110 arch/x86/boot/memory.c err = 0; err 113 arch/x86/boot/memory.c err = 0; err 116 arch/x86/boot/memory.c err = 0; err 118 arch/x86/boot/memory.c return err; err 19 arch/x86/boot/voyager.c u8 err; err 31 arch/x86/boot/voyager.c : "=q" (err), "=r" (es), "=D" (di) err 34 arch/x86/boot/voyager.c if (err) err 60 arch/x86/crypto/salsa20_glue.c int err; err 63 arch/x86/crypto/salsa20_glue.c err = blkcipher_walk_virt_block(desc, &walk, 64); err 78 arch/x86/crypto/salsa20_glue.c err = blkcipher_walk_done(desc, &walk, walk.nbytes % 64); err 84 arch/x86/crypto/salsa20_glue.c err = blkcipher_walk_done(desc, &walk, 0); err 87 arch/x86/crypto/salsa20_glue.c return err; err 49 arch/x86/ia32/ia32_signal.c int err; err 59 arch/x86/ia32/ia32_signal.c err = __put_user(from->si_signo, &to->si_signo); err 60 arch/x86/ia32/ia32_signal.c err |= __put_user(from->si_errno, &to->si_errno); err 61 arch/x86/ia32/ia32_signal.c err |= __put_user((short)from->si_code, &to->si_code); err 64 arch/x86/ia32/ia32_signal.c err |= __put_user(from->si_pid, &to->si_pid); err 65 arch/x86/ia32/ia32_signal.c err |= __put_user(from->si_uid, &to->si_uid); err 66 arch/x86/ia32/ia32_signal.c err |= __put_user(ptr_to_compat(from->si_ptr), &to->si_ptr); err 72 arch/x86/ia32/ia32_signal.c err |= __put_user(from->_sifields._pad[0], err 78 arch/x86/ia32/ia32_signal.c err |= __put_user(from->si_utime, &to->si_utime); err 79 arch/x86/ia32/ia32_signal.c err |= __put_user(from->si_stime, &to->si_stime); err 80 arch/x86/ia32/ia32_signal.c err |= __put_user(from->si_status, &to->si_status); err 84 arch/x86/ia32/ia32_signal.c err |= __put_user(from->si_uid, &to->si_uid); err 87 arch/x86/ia32/ia32_signal.c err |= __put_user(from->si_fd, &to->si_fd); err 90 arch/x86/ia32/ia32_signal.c err |= __put_user(from->si_overrun, &to->si_overrun); err 91 arch/x86/ia32/ia32_signal.c err |= __put_user(ptr_to_compat(from->si_ptr), err 97 arch/x86/ia32/ia32_signal.c err |= __put_user(from->si_uid, &to->si_uid); err 98 arch/x86/ia32/ia32_signal.c err |= __put_user(from->si_int, &to->si_int); err 102 arch/x86/ia32/ia32_signal.c return err; err 107 arch/x86/ia32/ia32_signal.c int err; err 113 arch/x86/ia32/ia32_signal.c err = __get_user(to->si_signo, &from->si_signo); err 114 arch/x86/ia32/ia32_signal.c err |= __get_user(to->si_errno, &from->si_errno); err 115 arch/x86/ia32/ia32_signal.c err |= __get_user(to->si_code, &from->si_code); err 117 arch/x86/ia32/ia32_signal.c err |= __get_user(to->si_pid, &from->si_pid); err 118 arch/x86/ia32/ia32_signal.c err |= __get_user(to->si_uid, &from->si_uid); err 119 arch/x86/ia32/ia32_signal.c err |= __get_user(ptr32, &from->si_ptr); err 122 arch/x86/ia32/ia32_signal.c return err; err 202 arch/x86/ia32/ia32_signal.c err |= __get_user(reg, &sc->x); \ err 209 arch/x86/ia32/ia32_signal.c err |= __get_user(pre, &sc->seg); \ err 218 arch/x86/ia32/ia32_signal.c unsigned int tmpflags, gs, oldgs, err = 0; err 228 arch/x86/ia32/ia32_signal.c sc, sc->err, sc->ip, sc->cs, sc->flags); err 237 arch/x86/ia32/ia32_signal.c err |= __get_user(gs, &sc->gs); err 251 arch/x86/ia32/ia32_signal.c err |= __get_user(regs->cs, &sc->cs); err 253 arch/x86/ia32/ia32_signal.c err |= __get_user(regs->ss, &sc->ss); err 256 arch/x86/ia32/ia32_signal.c err |= __get_user(tmpflags, &sc->flags); err 261 arch/x86/ia32/ia32_signal.c err |= __get_user(tmp, &sc->fpstate); err 263 arch/x86/ia32/ia32_signal.c err |= restore_i387_xstate_ia32(buf); err 265 arch/x86/ia32/ia32_signal.c err |= __get_user(tmp, &sc->ax); err 268 arch/x86/ia32/ia32_signal.c return err; err 343 arch/x86/ia32/ia32_signal.c int tmp, err = 0; err 346 arch/x86/ia32/ia32_signal.c err |= __put_user(tmp, (unsigned int __user *)&sc->gs); err 348 arch/x86/ia32/ia32_signal.c err |= __put_user(tmp, (unsigned int __user *)&sc->fs); err 350 arch/x86/ia32/ia32_signal.c err |= __put_user(tmp, (unsigned int __user *)&sc->ds); err 352 arch/x86/ia32/ia32_signal.c err |= __put_user(tmp, (unsigned int __user *)&sc->es); err 354 arch/x86/ia32/ia32_signal.c err |= __put_user(regs->di, &sc->di); err 355 arch/x86/ia32/ia32_signal.c err |= __put_user(regs->si, &sc->si); err 356 arch/x86/ia32/ia32_signal.c err |= __put_user(regs->bp, &sc->bp); err 357 arch/x86/ia32/ia32_signal.c err |= __put_user(regs->sp, &sc->sp); err 358 arch/x86/ia32/ia32_signal.c err |= __put_user(regs->bx, &sc->bx); err 359 arch/x86/ia32/ia32_signal.c err |= __put_user(regs->dx, &sc->dx); err 360 arch/x86/ia32/ia32_signal.c err |= __put_user(regs->cx, &sc->cx); err 361 arch/x86/ia32/ia32_signal.c err |= __put_user(regs->ax, &sc->ax); err 362 arch/x86/ia32/ia32_signal.c err |= __put_user(regs->cs, &sc->cs); err 363 arch/x86/ia32/ia32_signal.c err |= __put_user(regs->ss, &sc->ss); err 364 arch/x86/ia32/ia32_signal.c err |= __put_user(current->thread.trap_no, &sc->trapno); err 365 arch/x86/ia32/ia32_signal.c err |= __put_user(current->thread.error_code, &sc->err); err 366 arch/x86/ia32/ia32_signal.c err |= __put_user(regs->ip, &sc->ip); err 367 arch/x86/ia32/ia32_signal.c err |= __put_user(regs->flags, &sc->flags); err 368 arch/x86/ia32/ia32_signal.c err |= __put_user(regs->sp, &sc->sp_at_signal); err 372 arch/x86/ia32/ia32_signal.c err = -EFAULT; err 374 arch/x86/ia32/ia32_signal.c err |= __put_user(ptr_to_compat(tmp ? fpstate : NULL), err 378 arch/x86/ia32/ia32_signal.c err |= __put_user(mask, &sc->oldmask); err 379 arch/x86/ia32/ia32_signal.c err |= __put_user(current->thread.cr2, &sc->cr2); err 381 arch/x86/ia32/ia32_signal.c return err; err 425 arch/x86/ia32/ia32_signal.c int err = 0; err 468 arch/x86/ia32/ia32_signal.c err |= __put_user(ptr_to_compat(restorer), &frame->pretcode); err 474 arch/x86/ia32/ia32_signal.c err |= __copy_to_user(frame->retcode, &code, 8); err 475 arch/x86/ia32/ia32_signal.c if (err) err 506 arch/x86/ia32/ia32_signal.c int err = 0; err 528 arch/x86/ia32/ia32_signal.c err |= __put_user(sig, &frame->sig); err 529 arch/x86/ia32/ia32_signal.c err |= __put_user(ptr_to_compat(&frame->info), &frame->pinfo); err 530 arch/x86/ia32/ia32_signal.c err |= __put_user(ptr_to_compat(&frame->uc), &frame->puc); err 531 arch/x86/ia32/ia32_signal.c err |= copy_siginfo_to_user32(&frame->info, info); err 532 arch/x86/ia32/ia32_signal.c if (err) err 537 arch/x86/ia32/ia32_signal.c err |= __put_user(UC_FP_XSTATE, &frame->uc.uc_flags); err 539 arch/x86/ia32/ia32_signal.c err |= __put_user(0, &frame->uc.uc_flags); err 540 arch/x86/ia32/ia32_signal.c err |= __put_user(0, &frame->uc.uc_link); err 541 arch/x86/ia32/ia32_signal.c err |= __put_user(current->sas_ss_sp, &frame->uc.uc_stack.ss_sp); err 542 arch/x86/ia32/ia32_signal.c err |= __put_user(sas_ss_flags(regs->sp), err 544 arch/x86/ia32/ia32_signal.c err |= __put_user(current->sas_ss_size, &frame->uc.uc_stack.ss_size); err 545 arch/x86/ia32/ia32_signal.c err |= ia32_setup_sigcontext(&frame->uc.uc_mcontext, fpstate, err 547 arch/x86/ia32/ia32_signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); err 548 arch/x86/ia32/ia32_signal.c if (err) err 556 arch/x86/ia32/ia32_signal.c err |= __put_user(ptr_to_compat(restorer), &frame->pretcode); err 562 arch/x86/ia32/ia32_signal.c err |= __copy_to_user(frame->retcode, &code, 8); err 563 arch/x86/ia32/ia32_signal.c if (err) err 407 arch/x86/ia32/sys_ia32.c int err = -EFAULT; err 410 arch/x86/ia32/sys_ia32.c err = __get_user(o->tv_sec, &i->tv_sec); err 411 arch/x86/ia32/sys_ia32.c err |= __get_user(o->tv_usec, &i->tv_usec); err 413 arch/x86/ia32/sys_ia32.c return err; err 418 arch/x86/ia32/sys_ia32.c int err = -EFAULT; err 421 arch/x86/ia32/sys_ia32.c err = __put_user(i->tv_sec, &o->tv_sec); err 422 arch/x86/ia32/sys_ia32.c err |= __put_user(i->tv_usec, &o->tv_usec); err 424 arch/x86/ia32/sys_ia32.c return err; err 691 arch/x86/ia32/sys_ia32.c int err; err 700 arch/x86/ia32/sys_ia32.c err = __copy_to_user(&name->sysname, &utsname()->sysname, err 702 arch/x86/ia32/sys_ia32.c err |= __put_user(0, name->sysname+__OLD_UTS_LEN); err 703 arch/x86/ia32/sys_ia32.c err |= __copy_to_user(&name->nodename, &utsname()->nodename, err 705 arch/x86/ia32/sys_ia32.c err |= __put_user(0, name->nodename+__OLD_UTS_LEN); err 706 arch/x86/ia32/sys_ia32.c err |= __copy_to_user(&name->release, &utsname()->release, err 708 arch/x86/ia32/sys_ia32.c err |= __put_user(0, name->release+__OLD_UTS_LEN); err 709 arch/x86/ia32/sys_ia32.c err |= __copy_to_user(&name->version, &utsname()->version, err 711 arch/x86/ia32/sys_ia32.c err |= __put_user(0, name->version+__OLD_UTS_LEN); err 716 arch/x86/ia32/sys_ia32.c err |= __copy_to_user(&name->machine, arch, strlen(arch) + 1); err 720 arch/x86/ia32/sys_ia32.c err = err ? -EFAULT : 0; err 722 arch/x86/ia32/sys_ia32.c return err; err 727 arch/x86/ia32/sys_ia32.c int err; err 732 arch/x86/ia32/sys_ia32.c err = copy_to_user(name, utsname(), sizeof(*name)); err 735 arch/x86/ia32/sys_ia32.c err |= copy_to_user(&name->machine, "i686", 5); err 737 arch/x86/ia32/sys_ia32.c return err ? -EFAULT : 0; err 481 arch/x86/kernel/apm_32.c if (error_table[i].key == err) err 487 arch/x86/kernel/apm_32.c str, err); err 1193 arch/x86/kernel/apm_32.c int err; err 1203 arch/x86/kernel/apm_32.c err = set_system_power_state(APM_STATE_SUSPEND); err 1210 arch/x86/kernel/apm_32.c if (err == APM_NO_ERROR) err 1211 arch/x86/kernel/apm_32.c err = APM_SUCCESS; err 1212 arch/x86/kernel/apm_32.c if (err != APM_SUCCESS) err 1213 arch/x86/kernel/apm_32.c apm_error("suspend", err); err 1214 arch/x86/kernel/apm_32.c err = (err == APM_SUCCESS) ? 0 : -EIO; err 1222 arch/x86/kernel/apm_32.c as->suspend_result = err; err 1226 arch/x86/kernel/apm_32.c return err; err 1231 arch/x86/kernel/apm_32.c int err; err 1237 arch/x86/kernel/apm_32.c err = set_system_power_state(APM_STATE_STANDBY); err 1238 arch/x86/kernel/apm_32.c if ((err != APM_SUCCESS) && (err != APM_NO_ERROR)) err 1239 arch/x86/kernel/apm_32.c apm_error("standby", err); err 1357 arch/x86/kernel/apm_32.c int err; err 1365 arch/x86/kernel/apm_32.c err = set_system_power_state(APM_STATE_BUSY); err 1366 arch/x86/kernel/apm_32.c if (err) err 1367 arch/x86/kernel/apm_32.c apm_error("busy", err); err 2216 arch/x86/kernel/apm_32.c int err; err 2325 arch/x86/kernel/apm_32.c err = PTR_ERR(kapmd_task); err 2328 arch/x86/kernel/apm_32.c return err; err 58 arch/x86/kernel/cpu/cpufreq/e_powersaver.c int err = 0; err 74 arch/x86/kernel/cpu/cpufreq/e_powersaver.c err = -ENODEV; err 87 arch/x86/kernel/cpu/cpufreq/e_powersaver.c err = -ENODEV; err 112 arch/x86/kernel/cpu/cpufreq/e_powersaver.c return err; err 155 arch/x86/kernel/cpu/cpufreq/sc520_freq.c int err; err 169 arch/x86/kernel/cpu/cpufreq/sc520_freq.c err = cpufreq_register_driver(&sc520_freq_driver); err 170 arch/x86/kernel/cpu/cpufreq/sc520_freq.c if (err) err 173 arch/x86/kernel/cpu/cpufreq/sc520_freq.c return err; err 845 arch/x86/kernel/cpu/intel_cacheinfo.c int err; err 850 arch/x86/kernel/cpu/intel_cacheinfo.c err = detect_cache_attributes(cpu); err 851 arch/x86/kernel/cpu/intel_cacheinfo.c if (err) err 852 arch/x86/kernel/cpu/intel_cacheinfo.c return err; err 968 arch/x86/kernel/cpu/intel_cacheinfo.c int err; err 971 arch/x86/kernel/cpu/intel_cacheinfo.c err = cache_add_dev(sys_dev); err 972 arch/x86/kernel/cpu/intel_cacheinfo.c if (err) err 973 arch/x86/kernel/cpu/intel_cacheinfo.c return err; err 581 arch/x86/kernel/cpu/mcheck/mce_64.c int i, err; err 597 arch/x86/kernel/cpu/mcheck/mce_64.c err = 0; err 609 arch/x86/kernel/cpu/mcheck/mce_64.c err |= copy_to_user(buf, mcelog.entry + i, sizeof(struct mce)); err 628 arch/x86/kernel/cpu/mcheck/mce_64.c err |= copy_to_user(buf, mcelog.entry+i, err 637 arch/x86/kernel/cpu/mcheck/mce_64.c return err ? -EFAULT : buf - ubuf; err 830 arch/x86/kernel/cpu/mcheck/mce_64.c int err; err 840 arch/x86/kernel/cpu/mcheck/mce_64.c err = sysdev_register(&per_cpu(device_mce,cpu)); err 841 arch/x86/kernel/cpu/mcheck/mce_64.c if (err) err 842 arch/x86/kernel/cpu/mcheck/mce_64.c return err; err 845 arch/x86/kernel/cpu/mcheck/mce_64.c err = sysdev_create_file(&per_cpu(device_mce,cpu), err 847 arch/x86/kernel/cpu/mcheck/mce_64.c if (err) err 860 arch/x86/kernel/cpu/mcheck/mce_64.c return err; err 906 arch/x86/kernel/cpu/mcheck/mce_64.c int err; err 911 arch/x86/kernel/cpu/mcheck/mce_64.c err = sysdev_class_register(&mce_sysclass); err 912 arch/x86/kernel/cpu/mcheck/mce_64.c if (err) err 913 arch/x86/kernel/cpu/mcheck/mce_64.c return err; err 916 arch/x86/kernel/cpu/mcheck/mce_64.c err = mce_create_device(i); err 917 arch/x86/kernel/cpu/mcheck/mce_64.c if (err) err 918 arch/x86/kernel/cpu/mcheck/mce_64.c return err; err 923 arch/x86/kernel/cpu/mcheck/mce_64.c return err; err 395 arch/x86/kernel/cpu/mcheck/mce_amd_64.c int err; err 435 arch/x86/kernel/cpu/mcheck/mce_amd_64.c err = kobject_init_and_add(&b->kobj, &threshold_ktype, err 438 arch/x86/kernel/cpu/mcheck/mce_amd_64.c if (err) err 449 arch/x86/kernel/cpu/mcheck/mce_amd_64.c err = allocate_threshold_blocks(cpu, bank, ++block, address); err 450 arch/x86/kernel/cpu/mcheck/mce_amd_64.c if (err) err 456 arch/x86/kernel/cpu/mcheck/mce_amd_64.c return err; err 463 arch/x86/kernel/cpu/mcheck/mce_amd_64.c return err; err 469 arch/x86/kernel/cpu/mcheck/mce_amd_64.c int i, err = 0; err 493 arch/x86/kernel/cpu/mcheck/mce_amd_64.c err = sysfs_create_link(&per_cpu(device_mce, cpu).kobj, err 495 arch/x86/kernel/cpu/mcheck/mce_amd_64.c if (err) err 506 arch/x86/kernel/cpu/mcheck/mce_amd_64.c err = -ENOMEM; err 523 arch/x86/kernel/cpu/mcheck/mce_amd_64.c err = allocate_threshold_blocks(cpu, bank, 0, err 527 arch/x86/kernel/cpu/mcheck/mce_amd_64.c if (err) err 534 arch/x86/kernel/cpu/mcheck/mce_amd_64.c err = sysfs_create_link(&per_cpu(device_mce, i).kobj, err 536 arch/x86/kernel/cpu/mcheck/mce_amd_64.c if (err) err 548 arch/x86/kernel/cpu/mcheck/mce_amd_64.c return err; err 555 arch/x86/kernel/cpu/mcheck/mce_amd_64.c int err = 0; err 560 arch/x86/kernel/cpu/mcheck/mce_amd_64.c err = threshold_create_bank(cpu, bank); err 561 arch/x86/kernel/cpu/mcheck/mce_amd_64.c if (err) err 565 arch/x86/kernel/cpu/mcheck/mce_amd_64.c return err; err 675 arch/x86/kernel/cpu/mcheck/mce_amd_64.c int err = threshold_create_device(lcpu); err 676 arch/x86/kernel/cpu/mcheck/mce_amd_64.c if (err) err 677 arch/x86/kernel/cpu/mcheck/mce_amd_64.c return err; err 134 arch/x86/kernel/cpu/mcheck/therm_throt.c int err = 0; err 141 arch/x86/kernel/cpu/mcheck/therm_throt.c err = thermal_throttle_add_dev(sys_dev); err 143 arch/x86/kernel/cpu/mcheck/therm_throt.c WARN_ON(err); err 154 arch/x86/kernel/cpu/mcheck/therm_throt.c return err ? NOTIFY_BAD : NOTIFY_OK; err 165 arch/x86/kernel/cpu/mcheck/therm_throt.c int err; err 177 arch/x86/kernel/cpu/mcheck/therm_throt.c err = thermal_throttle_add_dev(get_cpu_sysdev(cpu)); err 178 arch/x86/kernel/cpu/mcheck/therm_throt.c WARN_ON(err); err 92 arch/x86/kernel/cpu/mtrr/if.c int i, err; err 114 arch/x86/kernel/cpu/mtrr/if.c err = mtrr_del_page(reg, 0, 0); err 115 arch/x86/kernel/cpu/mtrr/if.c if (err < 0) err 116 arch/x86/kernel/cpu/mtrr/if.c return err; err 138 arch/x86/kernel/cpu/mtrr/if.c err = err 141 arch/x86/kernel/cpu/mtrr/if.c if (err < 0) err 142 arch/x86/kernel/cpu/mtrr/if.c return err; err 151 arch/x86/kernel/cpu/mtrr/if.c int err = 0; err 185 arch/x86/kernel/cpu/mtrr/if.c err = get_user(sentry.base, &s32->base); err 186 arch/x86/kernel/cpu/mtrr/if.c err |= get_user(sentry.size, &s32->size); err 187 arch/x86/kernel/cpu/mtrr/if.c err |= get_user(sentry.type, &s32->type); err 188 arch/x86/kernel/cpu/mtrr/if.c if (err) err 189 arch/x86/kernel/cpu/mtrr/if.c return err; err 195 arch/x86/kernel/cpu/mtrr/if.c err = get_user(gentry.regnum, &g32->regnum); err 196 arch/x86/kernel/cpu/mtrr/if.c err |= get_user(gentry.base, &g32->base); err 197 arch/x86/kernel/cpu/mtrr/if.c err |= get_user(gentry.size, &g32->size); err 198 arch/x86/kernel/cpu/mtrr/if.c err |= get_user(gentry.type, &g32->type); err 199 arch/x86/kernel/cpu/mtrr/if.c if (err) err 200 arch/x86/kernel/cpu/mtrr/if.c return err; err 215 arch/x86/kernel/cpu/mtrr/if.c err = err 225 arch/x86/kernel/cpu/mtrr/if.c err = mtrr_add(sentry.base, sentry.size, sentry.type, false); err 233 arch/x86/kernel/cpu/mtrr/if.c err = mtrr_file_del(sentry.base, sentry.size, file, 0); err 241 arch/x86/kernel/cpu/mtrr/if.c err = mtrr_del(-1, sentry.base, sentry.size); err 268 arch/x86/kernel/cpu/mtrr/if.c err = err 278 arch/x86/kernel/cpu/mtrr/if.c err = err 287 arch/x86/kernel/cpu/mtrr/if.c err = mtrr_file_del(sentry.base, sentry.size, file, 1); err 295 arch/x86/kernel/cpu/mtrr/if.c err = mtrr_del_page(-1, sentry.base, sentry.size); err 314 arch/x86/kernel/cpu/mtrr/if.c if (err) err 315 arch/x86/kernel/cpu/mtrr/if.c return err; err 321 arch/x86/kernel/cpu/mtrr/if.c err = -EFAULT; err 327 arch/x86/kernel/cpu/mtrr/if.c err = put_user(gentry.base, &g32->base); err 328 arch/x86/kernel/cpu/mtrr/if.c err |= put_user(gentry.size, &g32->size); err 329 arch/x86/kernel/cpu/mtrr/if.c err |= put_user(gentry.regnum, &g32->regnum); err 330 arch/x86/kernel/cpu/mtrr/if.c err |= put_user(gentry.type, &g32->type); err 335 arch/x86/kernel/cpu/mtrr/if.c return err; err 92 arch/x86/kernel/cpuid.c int err = 0; err 100 arch/x86/kernel/cpuid.c err = smp_call_function_single(cpu, cpuid_smp_cpuid, &cmd, 1); err 101 arch/x86/kernel/cpuid.c if (err) err 104 arch/x86/kernel/cpuid.c err = -EFAULT; err 112 arch/x86/kernel/cpuid.c return bytes ? bytes : err; err 165 arch/x86/kernel/cpuid.c int err = 0; err 169 arch/x86/kernel/cpuid.c err = cpuid_device_create(cpu); err 177 arch/x86/kernel/cpuid.c return err ? NOTIFY_BAD : NOTIFY_OK; err 187 arch/x86/kernel/cpuid.c int i, err = 0; err 193 arch/x86/kernel/cpuid.c err = -EBUSY; err 198 arch/x86/kernel/cpuid.c err = PTR_ERR(cpuid_class); err 202 arch/x86/kernel/cpuid.c err = cpuid_device_create(i); err 203 arch/x86/kernel/cpuid.c if (err != 0) err 208 arch/x86/kernel/cpuid.c err = 0; err 220 arch/x86/kernel/cpuid.c return err; err 335 arch/x86/kernel/dumpstack_32.c printk(KERN_EMERG "%s: %04lx [#%d] ", str, err & 0xffff, ++die_counter); err 346 arch/x86/kernel/dumpstack_32.c if (notify_die(DIE_OOPS, str, regs, err, err 375 arch/x86/kernel/dumpstack_32.c if (__die(str, regs, err)) err 481 arch/x86/kernel/dumpstack_64.c printk(KERN_EMERG "%s: %04lx [#%d] ", str, err & 0xffff, ++die_counter); err 492 arch/x86/kernel/dumpstack_64.c if (notify_die(DIE_OOPS, str, regs, err, err 514 arch/x86/kernel/dumpstack_64.c if (__die(str, regs, err)) err 685 arch/x86/kernel/early_printk.c goto err; err 707 arch/x86/kernel/early_printk.c goto err; err 711 arch/x86/kernel/early_printk.c goto err; err 723 arch/x86/kernel/early_printk.c goto err; err 735 arch/x86/kernel/early_printk.c goto err; err 744 arch/x86/kernel/early_printk.c goto err; err 749 arch/x86/kernel/early_printk.c err: err 453 arch/x86/kernel/i387.c int err = 0; err 459 arch/x86/kernel/i387.c err |= __put_user(fx->swd, &buf->status); err 460 arch/x86/kernel/i387.c err |= __put_user(X86_FXSR_MAGIC, &buf->magic); err 461 arch/x86/kernel/i387.c if (err) err 473 arch/x86/kernel/i387.c int err = 0; err 491 arch/x86/kernel/i387.c err = __copy_to_user(&fx->sw_reserved, &fx_sw_reserved_ia32, err 493 arch/x86/kernel/i387.c err |= __put_user(FP_XSTATE_MAGIC2, err 496 arch/x86/kernel/i387.c if (err) err 547 arch/x86/kernel/i387.c int err; err 549 arch/x86/kernel/i387.c err = __copy_from_user(&tsk->thread.xstate->fxsave, &buf->_fxsr_env[0], err 553 arch/x86/kernel/i387.c if (err || __copy_from_user(&env, buf, sizeof(env))) err 570 arch/x86/kernel/i387.c int err; err 577 arch/x86/kernel/i387.c err = restore_i387_fxsave(buf, fx_sw_user.xstate_size); err 592 arch/x86/kernel/i387.c return err; err 605 arch/x86/kernel/i387.c int err; err 624 arch/x86/kernel/i387.c err = init_fpu(tsk); err 625 arch/x86/kernel/i387.c if (err) err 626 arch/x86/kernel/i387.c return err; err 631 arch/x86/kernel/i387.c err = restore_i387_xsave(buf); err 633 arch/x86/kernel/i387.c err = restore_i387_fxsave(fp, sizeof(struct err 636 arch/x86/kernel/i387.c err = restore_i387_fsave(fp); err 638 arch/x86/kernel/i387.c err = fpregs_soft_set(current, NULL, err 644 arch/x86/kernel/i387.c return err; err 863 arch/x86/kernel/io_apic_64.c int err; err 867 arch/x86/kernel/io_apic_64.c err = __assign_irq_vector(irq, mask); err 869 arch/x86/kernel/io_apic_64.c return err; err 2320 arch/x86/kernel/io_apic_64.c int err; err 2325 arch/x86/kernel/io_apic_64.c err = assign_irq_vector(irq, tmp); err 2326 arch/x86/kernel/io_apic_64.c if (err) err 2327 arch/x86/kernel/io_apic_64.c return err; err 2380 arch/x86/kernel/io_apic_64.c return err; err 2749 arch/x86/kernel/io_apic_64.c int err; err 2753 arch/x86/kernel/io_apic_64.c err = assign_irq_vector(irq, tmp); err 2754 arch/x86/kernel/io_apic_64.c if (!err) { err 2781 arch/x86/kernel/io_apic_64.c return err; err 435 arch/x86/kernel/kgdb.c args->err, "c", "", regs); err 494 arch/x86/kernel/kgdb.c if (kgdb_handle_exception(args->trapnr, args->signr, args->err, regs)) err 90 arch/x86/kernel/ldt.c int err = alloc_ldt(new, old->size, 0); err 93 arch/x86/kernel/ldt.c if (err < 0) err 94 arch/x86/kernel/ldt.c return err; err 145 arch/x86/kernel/ldt.c int err; err 159 arch/x86/kernel/ldt.c err = 0; err 161 arch/x86/kernel/ldt.c err = -EFAULT; err 163 arch/x86/kernel/ldt.c if (err < 0) err 168 arch/x86/kernel/ldt.c err = -EFAULT; err 174 arch/x86/kernel/ldt.c return err; err 381 arch/x86/kernel/mfgpt_32.c goto err; err 404 arch/x86/kernel/mfgpt_32.c err: err 215 arch/x86/kernel/microcode_core.c int err = 0; err 228 arch/x86/kernel/microcode_core.c err = microcode_ops->request_microcode_fw(cpu, err 230 arch/x86/kernel/microcode_core.c if (!err) err 238 arch/x86/kernel/microcode_core.c if (err) err 239 arch/x86/kernel/microcode_core.c return err; err 325 arch/x86/kernel/microcode_core.c int err = 0; err 332 arch/x86/kernel/microcode_core.c err = microcode_resume_cpu(cpu); err 336 arch/x86/kernel/microcode_core.c err = microcode_ops->request_microcode_fw(cpu, err 339 arch/x86/kernel/microcode_core.c if (!err) err 360 arch/x86/kernel/microcode_core.c int err, cpu = sys_dev->id; err 369 arch/x86/kernel/microcode_core.c err = sysfs_create_group(&sys_dev->kobj, &mc_attr_group); err 370 arch/x86/kernel/microcode_core.c if (err) err 371 arch/x86/kernel/microcode_core.c return err; err 75 arch/x86/kernel/msr.c int err = 0; err 82 arch/x86/kernel/msr.c err = rdmsr_safe_on_cpu(cpu, reg, &data[0], &data[1]); err 83 arch/x86/kernel/msr.c if (err) { err 84 arch/x86/kernel/msr.c if (err == -EFAULT) /* Fix idiotic error code */ err 85 arch/x86/kernel/msr.c err = -EIO; err 89 arch/x86/kernel/msr.c err = -EFAULT; err 96 arch/x86/kernel/msr.c return bytes ? bytes : err; err 106 arch/x86/kernel/msr.c int err = 0; err 114 arch/x86/kernel/msr.c err = -EFAULT; err 117 arch/x86/kernel/msr.c err = wrmsr_safe_on_cpu(cpu, reg, data[0], data[1]); err 118 arch/x86/kernel/msr.c if (err) { err 119 arch/x86/kernel/msr.c if (err == -EFAULT) /* Fix idiotic error code */ err 120 arch/x86/kernel/msr.c err = -EIO; err 127 arch/x86/kernel/msr.c return bytes ? bytes : err; err 180 arch/x86/kernel/msr.c int err = 0; err 184 arch/x86/kernel/msr.c err = msr_device_create(cpu); err 192 arch/x86/kernel/msr.c return err ? NOTIFY_BAD : NOTIFY_OK; err 201 arch/x86/kernel/msr.c int i, err = 0; err 207 arch/x86/kernel/msr.c err = -EBUSY; err 212 arch/x86/kernel/msr.c err = PTR_ERR(msr_class); err 216 arch/x86/kernel/msr.c err = msr_device_create(i); err 217 arch/x86/kernel/msr.c if (err != 0) err 222 arch/x86/kernel/msr.c err = 0; err 233 arch/x86/kernel/msr.c return err; err 127 arch/x86/kernel/olpc.c goto err; err 133 arch/x86/kernel/olpc.c goto err; err 152 arch/x86/kernel/olpc.c goto err; err 161 arch/x86/kernel/olpc.c goto err; err 183 arch/x86/kernel/olpc.c err: err 304 arch/x86/kernel/process_32.c int err; err 329 arch/x86/kernel/process_32.c err = 0; err 335 arch/x86/kernel/process_32.c err = do_set_thread_area(p, -1, err 338 arch/x86/kernel/process_32.c if (err && p->thread.io_bitmap_ptr) { err 342 arch/x86/kernel/process_32.c return err; err 316 arch/x86/kernel/process_64.c int err; err 360 arch/x86/kernel/process_64.c err = do_set_thread_area(p, -1, err 364 arch/x86/kernel/process_64.c err = do_arch_prctl(p, ARCH_SET_FS, childregs->r8); err 365 arch/x86/kernel/process_64.c if (err) err 368 arch/x86/kernel/process_64.c err = 0; err 370 arch/x86/kernel/process_64.c if (err && p->thread.io_bitmap_ptr) { err 374 arch/x86/kernel/process_64.c return err; err 103 arch/x86/kernel/quirks.c int err = 0; err 142 arch/x86/kernel/quirks.c err = 1; err 148 arch/x86/kernel/quirks.c if (err) { err 117 arch/x86/kernel/signal_32.c err |= __get_user(regs->x, &sc->x); \ err 122 arch/x86/kernel/signal_32.c err |= __get_user(tmp, &sc->seg); \ err 128 arch/x86/kernel/signal_32.c err |= __get_user(tmp, &sc->seg); \ err 134 arch/x86/kernel/signal_32.c err |= __get_user(tmp, &sc->seg); \ err 147 arch/x86/kernel/signal_32.c unsigned int err = 0; err 161 arch/x86/kernel/signal_32.c err |= __get_user(tmpflags, &sc->flags); err 165 arch/x86/kernel/signal_32.c err |= __get_user(buf, &sc->fpstate); err 166 arch/x86/kernel/signal_32.c err |= restore_i387_xstate(buf); err 168 arch/x86/kernel/signal_32.c err |= __get_user(*pax, &sc->ax); err 169 arch/x86/kernel/signal_32.c return err; err 260 arch/x86/kernel/signal_32.c int tmp, err = 0; err 262 arch/x86/kernel/signal_32.c err |= __put_user(regs->fs, (unsigned int __user *)&sc->fs); err 264 arch/x86/kernel/signal_32.c err |= __put_user(tmp, (unsigned int __user *)&sc->gs); err 266 arch/x86/kernel/signal_32.c err |= __put_user(regs->es, (unsigned int __user *)&sc->es); err 267 arch/x86/kernel/signal_32.c err |= __put_user(regs->ds, (unsigned int __user *)&sc->ds); err 268 arch/x86/kernel/signal_32.c err |= __put_user(regs->di, &sc->di); err 269 arch/x86/kernel/signal_32.c err |= __put_user(regs->si, &sc->si); err 270 arch/x86/kernel/signal_32.c err |= __put_user(regs->bp, &sc->bp); err 271 arch/x86/kernel/signal_32.c err |= __put_user(regs->sp, &sc->sp); err 272 arch/x86/kernel/signal_32.c err |= __put_user(regs->bx, &sc->bx); err 273 arch/x86/kernel/signal_32.c err |= __put_user(regs->dx, &sc->dx); err 274 arch/x86/kernel/signal_32.c err |= __put_user(regs->cx, &sc->cx); err 275 arch/x86/kernel/signal_32.c err |= __put_user(regs->ax, &sc->ax); err 276 arch/x86/kernel/signal_32.c err |= __put_user(current->thread.trap_no, &sc->trapno); err 277 arch/x86/kernel/signal_32.c err |= __put_user(current->thread.error_code, &sc->err); err 278 arch/x86/kernel/signal_32.c err |= __put_user(regs->ip, &sc->ip); err 279 arch/x86/kernel/signal_32.c err |= __put_user(regs->cs, (unsigned int __user *)&sc->cs); err 280 arch/x86/kernel/signal_32.c err |= __put_user(regs->flags, &sc->flags); err 281 arch/x86/kernel/signal_32.c err |= __put_user(regs->sp, &sc->sp_at_signal); err 282 arch/x86/kernel/signal_32.c err |= __put_user(regs->ss, (unsigned int __user *)&sc->ss); err 286 arch/x86/kernel/signal_32.c err = 1; err 288 arch/x86/kernel/signal_32.c err |= __put_user(tmp ? fpstate : NULL, &sc->fpstate); err 291 arch/x86/kernel/signal_32.c err |= __put_user(mask, &sc->oldmask); err 292 arch/x86/kernel/signal_32.c err |= __put_user(current->thread.cr2, &sc->cr2); err 294 arch/x86/kernel/signal_32.c return err; err 349 arch/x86/kernel/signal_32.c int err = 0; err 377 arch/x86/kernel/signal_32.c err |= __put_user(restorer, &frame->pretcode); err 386 arch/x86/kernel/signal_32.c err |= __put_user(0xb858, (short __user *)(frame->retcode+0)); err 387 arch/x86/kernel/signal_32.c err |= __put_user(__NR_sigreturn, (int __user *)(frame->retcode+2)); err 388 arch/x86/kernel/signal_32.c err |= __put_user(0x80cd, (short __user *)(frame->retcode+6)); err 390 arch/x86/kernel/signal_32.c if (err) err 413 arch/x86/kernel/signal_32.c int err = 0; err 421 arch/x86/kernel/signal_32.c err |= __put_user(sig, &frame->sig); err 422 arch/x86/kernel/signal_32.c err |= __put_user(&frame->info, &frame->pinfo); err 423 arch/x86/kernel/signal_32.c err |= __put_user(&frame->uc, &frame->puc); err 424 arch/x86/kernel/signal_32.c err |= copy_siginfo_to_user(&frame->info, info); err 425 arch/x86/kernel/signal_32.c if (err) err 430 arch/x86/kernel/signal_32.c err |= __put_user(UC_FP_XSTATE, &frame->uc.uc_flags); err 432 arch/x86/kernel/signal_32.c err |= __put_user(0, &frame->uc.uc_flags); err 433 arch/x86/kernel/signal_32.c err |= __put_user(0, &frame->uc.uc_link); err 434 arch/x86/kernel/signal_32.c err |= __put_user(current->sas_ss_sp, &frame->uc.uc_stack.ss_sp); err 435 arch/x86/kernel/signal_32.c err |= __put_user(sas_ss_flags(regs->sp), err 437 arch/x86/kernel/signal_32.c err |= __put_user(current->sas_ss_size, &frame->uc.uc_stack.ss_size); err 438 arch/x86/kernel/signal_32.c err |= setup_sigcontext(&frame->uc.uc_mcontext, fpstate, err 440 arch/x86/kernel/signal_32.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); err 441 arch/x86/kernel/signal_32.c if (err) err 448 arch/x86/kernel/signal_32.c err |= __put_user(restorer, &frame->pretcode); err 457 arch/x86/kernel/signal_32.c err |= __put_user(0xb8, (char __user *)(frame->retcode+0)); err 458 arch/x86/kernel/signal_32.c err |= __put_user(__NR_rt_sigreturn, (int __user *)(frame->retcode+1)); err 459 arch/x86/kernel/signal_32.c err |= __put_user(0x80cd, (short __user *)(frame->retcode+5)); err 461 arch/x86/kernel/signal_32.c if (err) err 56 arch/x86/kernel/signal_64.c err |= __get_user(regs->x, &sc->x); \ err 61 arch/x86/kernel/signal_64.c err |= __get_user(tmp, &sc->seg); \ err 74 arch/x86/kernel/signal_64.c unsigned int err = 0; err 95 arch/x86/kernel/signal_64.c err |= __get_user(tmpflags, &sc->flags); err 99 arch/x86/kernel/signal_64.c err |= __get_user(buf, &sc->fpstate); err 100 arch/x86/kernel/signal_64.c err |= restore_i387_xstate(buf); err 102 arch/x86/kernel/signal_64.c err |= __get_user(*pax, &sc->ax); err 103 arch/x86/kernel/signal_64.c return err; err 150 arch/x86/kernel/signal_64.c int err = 0; err 152 arch/x86/kernel/signal_64.c err |= __put_user(regs->cs, &sc->cs); err 153 arch/x86/kernel/signal_64.c err |= __put_user(0, &sc->gs); err 154 arch/x86/kernel/signal_64.c err |= __put_user(0, &sc->fs); err 156 arch/x86/kernel/signal_64.c err |= __put_user(regs->di, &sc->di); err 157 arch/x86/kernel/signal_64.c err |= __put_user(regs->si, &sc->si); err 158 arch/x86/kernel/signal_64.c err |= __put_user(regs->bp, &sc->bp); err 159 arch/x86/kernel/signal_64.c err |= __put_user(regs->sp, &sc->sp); err 160 arch/x86/kernel/signal_64.c err |= __put_user(regs->bx, &sc->bx); err 161 arch/x86/kernel/signal_64.c err |= __put_user(regs->dx, &sc->dx); err 162 arch/x86/kernel/signal_64.c err |= __put_user(regs->cx, &sc->cx); err 163 arch/x86/kernel/signal_64.c err |= __put_user(regs->ax, &sc->ax); err 164 arch/x86/kernel/signal_64.c err |= __put_user(regs->r8, &sc->r8); err 165 arch/x86/kernel/signal_64.c err |= __put_user(regs->r9, &sc->r9); err 166 arch/x86/kernel/signal_64.c err |= __put_user(regs->r10, &sc->r10); err 167 arch/x86/kernel/signal_64.c err |= __put_user(regs->r11, &sc->r11); err 168 arch/x86/kernel/signal_64.c err |= __put_user(regs->r12, &sc->r12); err 169 arch/x86/kernel/signal_64.c err |= __put_user(regs->r13, &sc->r13); err 170 arch/x86/kernel/signal_64.c err |= __put_user(regs->r14, &sc->r14); err 171 arch/x86/kernel/signal_64.c err |= __put_user(regs->r15, &sc->r15); err 172 arch/x86/kernel/signal_64.c err |= __put_user(me->thread.trap_no, &sc->trapno); err 173 arch/x86/kernel/signal_64.c err |= __put_user(me->thread.error_code, &sc->err); err 174 arch/x86/kernel/signal_64.c err |= __put_user(regs->ip, &sc->ip); err 175 arch/x86/kernel/signal_64.c err |= __put_user(regs->flags, &sc->flags); err 176 arch/x86/kernel/signal_64.c err |= __put_user(mask, &sc->oldmask); err 177 arch/x86/kernel/signal_64.c err |= __put_user(me->thread.cr2, &sc->cr2); err 179 arch/x86/kernel/signal_64.c return err; err 208 arch/x86/kernel/signal_64.c int err = 0; err 231 arch/x86/kernel/signal_64.c err |= __put_user(UC_FP_XSTATE, &frame->uc.uc_flags); err 233 arch/x86/kernel/signal_64.c err |= __put_user(0, &frame->uc.uc_flags); err 234 arch/x86/kernel/signal_64.c err |= __put_user(0, &frame->uc.uc_link); err 235 arch/x86/kernel/signal_64.c err |= __put_user(me->sas_ss_sp, &frame->uc.uc_stack.ss_sp); err 236 arch/x86/kernel/signal_64.c err |= __put_user(sas_ss_flags(regs->sp), err 238 arch/x86/kernel/signal_64.c err |= __put_user(me->sas_ss_size, &frame->uc.uc_stack.ss_size); err 239 arch/x86/kernel/signal_64.c err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, set->sig[0], me); err 240 arch/x86/kernel/signal_64.c err |= __put_user(fp, &frame->uc.uc_mcontext.fpstate); err 245 arch/x86/kernel/signal_64.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); err 251 arch/x86/kernel/signal_64.c err |= __put_user(ka->sa.sa_restorer, &frame->pretcode); err 257 arch/x86/kernel/signal_64.c if (err) err 969 arch/x86/kernel/smpboot.c int err; err 1004 arch/x86/kernel/smpboot.c err = do_boot_cpu(apicid, cpu); err 1009 arch/x86/kernel/smpboot.c err = do_boot_cpu(apicid, cpu); err 1011 arch/x86/kernel/smpboot.c if (err) { err 1012 arch/x86/kernel/smpboot.c pr_debug("do_boot_cpu failed %d\n", err); err 71 arch/x86/kernel/sys_i386_32.c int err = -EFAULT; err 76 arch/x86/kernel/sys_i386_32.c err = -EINVAL; err 80 arch/x86/kernel/sys_i386_32.c err = sys_mmap2(a.addr, a.len, a.prot, a.flags, err 83 arch/x86/kernel/sys_i386_32.c return err; err 193 arch/x86/kernel/sys_i386_32.c int err; err 197 arch/x86/kernel/sys_i386_32.c err = copy_to_user(name, utsname(), sizeof(*name)); err 199 arch/x86/kernel/sys_i386_32.c return err? -EFAULT:0; err 231 arch/x86/kernel/sys_x86_64.c int err; err 233 arch/x86/kernel/sys_x86_64.c err = copy_to_user(name, utsname(), sizeof(*name)); err 236 arch/x86/kernel/sys_x86_64.c err |= copy_to_user(&name->machine, "i686", 5); err 237 arch/x86/kernel/sys_x86_64.c return err ? -EFAULT : 0; err 119 arch/x86/kernel/traps.c die(str, regs, err); err 35 arch/x86/kernel/xsave.c int err; err 37 arch/x86/kernel/xsave.c err = __copy_from_user(fx_sw_user, &buf->sw_reserved[0], err 40 arch/x86/kernel/xsave.c if (err) err 41 arch/x86/kernel/xsave.c return err; err 57 arch/x86/kernel/xsave.c err = __get_user(magic2, (__u32 *) (((void *)fpstate) + err 66 arch/x86/kernel/xsave.c if (err || magic2 != FP_XSTATE_MAGIC2) err 80 arch/x86/kernel/xsave.c int err = 0; err 98 arch/x86/kernel/xsave.c err = __clear_user(buf, sig_xstate_size); err 99 arch/x86/kernel/xsave.c if (err) err 100 arch/x86/kernel/xsave.c return err; err 103 arch/x86/kernel/xsave.c err = xsave_user(buf); err 105 arch/x86/kernel/xsave.c err = fxsave_user(buf); err 107 arch/x86/kernel/xsave.c if (err) err 108 arch/x86/kernel/xsave.c return err; err 122 arch/x86/kernel/xsave.c err = __copy_to_user(&fx->sw_reserved, &fx_sw_reserved, err 125 arch/x86/kernel/xsave.c err |= __put_user(FP_XSTATE_MAGIC2, err 134 arch/x86/kernel/xsave.c err |= __get_user(xstate_bv, &x->xstate_hdr.xstate_bv); err 149 arch/x86/kernel/xsave.c err |= __put_user(xstate_bv, &x->xstate_hdr.xstate_bv); err 151 arch/x86/kernel/xsave.c if (err) err 152 arch/x86/kernel/xsave.c return err; err 166 arch/x86/kernel/xsave.c int err; err 177 arch/x86/kernel/xsave.c err = xrestore_user(buf, mask); err 178 arch/x86/kernel/xsave.c if (err) err 179 arch/x86/kernel/xsave.c return err; err 206 arch/x86/kernel/xsave.c int err = 0; err 217 arch/x86/kernel/xsave.c err = init_fpu(tsk); err 218 arch/x86/kernel/xsave.c if (err) err 219 arch/x86/kernel/xsave.c return err; err 227 arch/x86/kernel/xsave.c err = restore_user_xstate(buf); err 229 arch/x86/kernel/xsave.c err = fxrstor_checking((__force struct i387_fxsave_struct *) err 231 arch/x86/kernel/xsave.c if (unlikely(err)) { err 240 arch/x86/kernel/xsave.c return err; err 230 arch/x86/kvm/paging_tmpl.h goto err; err 235 arch/x86/kvm/paging_tmpl.h err: err 441 arch/x86/kvm/svm.c goto err; err 462 arch/x86/kvm/svm.c err: err 631 arch/x86/kvm/svm.c int err; err 635 arch/x86/kvm/svm.c err = -ENOMEM; err 639 arch/x86/kvm/svm.c err = kvm_vcpu_init(&svm->vcpu, kvm, id); err 640 arch/x86/kvm/svm.c if (err) err 645 arch/x86/kvm/svm.c err = -ENOMEM; err 649 arch/x86/kvm/svm.c err = -ENOMEM; err 676 arch/x86/kvm/svm.c return ERR_PTR(err); err 3113 arch/x86/kvm/vmx.c int err; err 3122 arch/x86/kvm/vmx.c err = kvm_vcpu_init(&vmx->vcpu, kvm, id); err 3123 arch/x86/kvm/vmx.c if (err) err 3128 arch/x86/kvm/vmx.c err = -ENOMEM; err 3144 arch/x86/kvm/vmx.c err = vmx_vcpu_setup(vmx); err 3147 arch/x86/kvm/vmx.c if (err) err 3169 arch/x86/kvm/vmx.c return ERR_PTR(err); err 1530 arch/x86/kvm/x86_emulate.c int err; err 1535 arch/x86/kvm/x86_emulate.c err = kvm_load_segment_descriptor(ctxt->vcpu, sel, err 1543 arch/x86/kvm/x86_emulate.c if (err < 0) err 9 arch/x86/lib/msr-on-cpu.c int err; err 28 arch/x86/lib/msr-on-cpu.c int err; err 32 arch/x86/lib/msr-on-cpu.c err = smp_call_function_single(cpu, __rdmsr_on_cpu, &rv, 1); err 36 arch/x86/lib/msr-on-cpu.c return err; err 41 arch/x86/lib/msr-on-cpu.c int err; err 47 arch/x86/lib/msr-on-cpu.c err = smp_call_function_single(cpu, __wrmsr_on_cpu, &rv, 1); err 49 arch/x86/lib/msr-on-cpu.c return err; err 58 arch/x86/lib/msr-on-cpu.c rv->err = rdmsr_safe(rv->msr_no, &rv->l, &rv->h); err 65 arch/x86/lib/msr-on-cpu.c rv->err = wrmsr_safe(rv->msr_no, rv->l, rv->h); err 70 arch/x86/lib/msr-on-cpu.c int err; err 74 arch/x86/lib/msr-on-cpu.c err = smp_call_function_single(cpu, __rdmsr_safe_on_cpu, &rv, 1); err 78 arch/x86/lib/msr-on-cpu.c return err ? err : rv.err; err 83 arch/x86/lib/msr-on-cpu.c int err; err 89 arch/x86/lib/msr-on-cpu.c err = smp_call_function_single(cpu, __wrmsr_safe_on_cpu, &rv, 1); err 91 arch/x86/lib/msr-on-cpu.c return err ? err : rv.err; err 936 arch/x86/mach-voyager/voyager_cat.c int err = 0; err 944 arch/x86/mach-voyager/voyager_cat.c err = cat_read(modp, asicp, VOYAGER_SCANPATH, &val); err 945 arch/x86/mach-voyager/voyager_cat.c if (err) { err 947 arch/x86/mach-voyager/voyager_cat.c return err; err 950 arch/x86/mach-voyager/voyager_cat.c err = cat_write(modp, asicp, VOYAGER_SCANPATH, val); err 951 arch/x86/mach-voyager/voyager_cat.c if (err) { err 953 arch/x86/mach-voyager/voyager_cat.c return err; err 965 arch/x86/mach-voyager/voyager_cat.c int err = 0; err 974 arch/x86/mach-voyager/voyager_cat.c err = cat_read(modp, asicp, VOYAGER_SCANPATH, &val); err 975 arch/x86/mach-voyager/voyager_cat.c if (err) { err 977 arch/x86/mach-voyager/voyager_cat.c return err; err 980 arch/x86/mach-voyager/voyager_cat.c err = cat_write(modp, asicp, VOYAGER_SCANPATH, val); err 981 arch/x86/mach-voyager/voyager_cat.c if (err) { err 983 arch/x86/mach-voyager/voyager_cat.c return err; err 164 arch/x86/mm/ioremap.c int err; err 169 arch/x86/mm/ioremap.c err = _set_memory_uc(vaddr, nrpages); err 172 arch/x86/mm/ioremap.c err = _set_memory_wc(vaddr, nrpages); err 175 arch/x86/mm/ioremap.c err = _set_memory_wb(vaddr, nrpages); err 179 arch/x86/mm/ioremap.c return err; err 385 arch/x86/mm/ioremap.c int err; err 392 arch/x86/mm/ioremap.c err = reserve_memtype(phys_addr, phys_addr + size, -1, &flags); err 393 arch/x86/mm/ioremap.c if (err < 0) err 492 arch/x86/mm/kmmio.c if (val == DIE_DEBUG && (arg->err & DR_STEP)) err 493 arch/x86/mm/kmmio.c if (post_kmmio_handler(arg->err, arg->regs) == 1) err 412 arch/x86/mm/mmio-mod.c int err; err 422 arch/x86/mm/mmio-mod.c err = cpu_down(cpu); err 423 arch/x86/mm/mmio-mod.c if (!err) err 426 arch/x86/mm/mmio-mod.c pr_err(NAME "Error taking CPU%d down: %d\n", cpu, err); err 438 arch/x86/mm/mmio-mod.c int err; err 444 arch/x86/mm/mmio-mod.c err = cpu_up(cpu); err 445 arch/x86/mm/mmio-mod.c if (!err) err 448 arch/x86/mm/mmio-mod.c pr_err(NAME "cannot re-enable CPU%d: %d\n", cpu, err); err 50 arch/x86/mm/pageattr-test.c int err = 0; err 75 arch/x86/mm/pageattr-test.c err = 1; err 105 arch/x86/mm/pageattr-test.c return err; err 120 arch/x86/mm/pageattr-test.c int err; err 177 arch/x86/mm/pageattr-test.c err = change_page_attr_set(&test_addr, len[i], PAGE_CPA_TEST, 0); err 178 arch/x86/mm/pageattr-test.c if (err < 0) { err 179 arch/x86/mm/pageattr-test.c printk(KERN_ERR "CPA %d failed %d\n", i, err); err 210 arch/x86/mm/pageattr-test.c err = change_page_attr_clear(&test_addr, len[i], PAGE_CPA_TEST, 0); err 211 arch/x86/mm/pageattr-test.c if (err < 0) { err 212 arch/x86/mm/pageattr-test.c printk(KERN_ERR "CPA reverting failed: %d\n", err); err 541 arch/x86/mm/pageattr.c int do_split, err; err 609 arch/x86/mm/pageattr.c err = split_large_page(kpte, address); err 610 arch/x86/mm/pageattr.c if (!err) { err 633 arch/x86/mm/pageattr.c return err; err 296 arch/x86/mm/pat.c int err = 0; err 368 arch/x86/mm/pat.c err = chk_conflict(new, entry, new_type); err 369 arch/x86/mm/pat.c if (!err) { err 378 arch/x86/mm/pat.c err = chk_conflict(new, entry, new_type); err 379 arch/x86/mm/pat.c if (!err) { err 401 arch/x86/mm/pat.c if (err) { err 408 arch/x86/mm/pat.c return err; err 424 arch/x86/mm/pat.c return err; err 430 arch/x86/mm/pat.c int err = -EINVAL; err 454 arch/x86/mm/pat.c err = 0; err 460 arch/x86/mm/pat.c if (err) { err 467 arch/x86/mm/pat.c return err; err 391 arch/x86/mm/pf_in.c goto err; err 415 arch/x86/mm/pf_in.c err: err 439 arch/x86/mm/pf_in.c goto err; err 487 arch/x86/mm/pf_in.c err: err 218 arch/x86/oprofile/nmi_int.c int err = 0; err 224 arch/x86/oprofile/nmi_int.c err = register_die_notifier(&profile_exceptions_nb); err 225 arch/x86/oprofile/nmi_int.c if (err) { err 227 arch/x86/oprofile/nmi_int.c return err; err 533 arch/x86/pci/common.c int err; err 535 arch/x86/pci/common.c if ((err = pci_enable_resources(dev, mask)) < 0) err 536 arch/x86/pci/common.c return err; err 67 arch/x86/pci/mmconfig_32.c err: *value = -1; err 73 arch/x86/pci/mmconfig_32.c goto err; err 57 arch/x86/pci/mmconfig_64.c err: *value = -1; err 63 arch/x86/pci/mmconfig_64.c goto err; err 128 arch/x86/xen/enlighten.c int err; err 148 arch/x86/xen/enlighten.c err = HYPERVISOR_vcpu_op(VCPUOP_register_vcpu_info, cpu, &info); err 150 arch/x86/xen/enlighten.c if (err) { err 151 arch/x86/xen/enlighten.c printk(KERN_DEBUG "register_vcpu_info failed: err=%d\n", err); err 256 block/blk-barrier.c if (err) { err 257 block/blk-barrier.c if (err == -EOPNOTSUPP) err 321 block/blk-barrier.c if (err) { err 322 block/blk-barrier.c if (err == -EOPNOTSUPP) err 486 block/blk-core.c int err; err 495 block/blk-core.c err = bdi_init(&q->backing_dev_info); err 496 block/blk-core.c if (err) { err 1107 block/blk-core.c int el_ret, nr_sectors, barrier, discard, err; err 1124 block/blk-core.c err = -EOPNOTSUPP; err 1130 block/blk-core.c err = -EOPNOTSUPP; err 1232 block/blk-core.c bio_endio(bio, err); err 1365 block/blk-core.c int err = -EIO; err 1393 block/blk-core.c bio_endio(bio, err); err 1433 block/blk-core.c err = -EOPNOTSUPP; err 83 block/blk-exec.c int err = 0; err 102 block/blk-exec.c err = -EIO; err 104 block/blk-exec.c return err; err 213 block/blktrace.c goto err; err 226 block/blktrace.c err: err 386 block/blktrace.c goto err; err 390 block/blktrace.c goto err; err 394 block/blktrace.c goto err; err 399 block/blktrace.c goto err; err 408 block/blktrace.c goto err; err 412 block/blktrace.c goto err; err 417 block/blktrace.c goto err; err 435 block/blktrace.c goto err; err 439 block/blktrace.c err: err 85 block/bsg.c int err; err 1669 block/cfq-iosched.c goto err; err 1682 block/cfq-iosched.c err: err 186 block/compat_ioctl.c int err; err 188 block/compat_ioctl.c err = get_user(n, &ua32->op); err 189 block/compat_ioctl.c err |= put_user(n, &a->op); err 190 block/compat_ioctl.c err |= get_user(n, &ua32->flags); err 191 block/compat_ioctl.c err |= put_user(n, &a->flags); err 192 block/compat_ioctl.c err |= get_user(n, &ua32->datalen); err 193 block/compat_ioctl.c err |= put_user(n, &a->datalen); err 194 block/compat_ioctl.c err |= get_user(udata, &ua32->data); err 195 block/compat_ioctl.c err |= put_user(compat_ptr(udata), &a->data); err 196 block/compat_ioctl.c if (err) err 197 block/compat_ioctl.c return err; err 317 block/compat_ioctl.c int i, err; err 342 block/compat_ioctl.c err = __get_user(f->size, &uf->size); err 343 block/compat_ioctl.c err |= __get_user(f->sect, &uf->sect); err 344 block/compat_ioctl.c err |= __get_user(f->head, &uf->head); err 345 block/compat_ioctl.c err |= __get_user(f->track, &uf->track); err 346 block/compat_ioctl.c err |= __get_user(f->stretch, &uf->stretch); err 347 block/compat_ioctl.c err |= __get_user(f->gap, &uf->gap); err 348 block/compat_ioctl.c err |= __get_user(f->rate, &uf->rate); err 349 block/compat_ioctl.c err |= __get_user(f->spec1, &uf->spec1); err 350 block/compat_ioctl.c err |= __get_user(f->fmt_gap, &uf->fmt_gap); err 351 block/compat_ioctl.c err |= __get_user(name, &uf->name); err 353 block/compat_ioctl.c if (err) { err 354 block/compat_ioctl.c err = -EFAULT; err 371 block/compat_ioctl.c err = __get_user(f->cmos, &uf->cmos); err 372 block/compat_ioctl.c err |= __get_user(f->max_dtr, &uf->max_dtr); err 373 block/compat_ioctl.c err |= __get_user(f->hlt, &uf->hlt); err 374 block/compat_ioctl.c err |= __get_user(f->hut, &uf->hut); err 375 block/compat_ioctl.c err |= __get_user(f->srt, &uf->srt); err 376 block/compat_ioctl.c err |= __get_user(f->spinup, &uf->spinup); err 377 block/compat_ioctl.c err |= __get_user(f->spindown, &uf->spindown); err 378 block/compat_ioctl.c err |= __get_user(f->spindown_offset, &uf->spindown_offset); err 379 block/compat_ioctl.c err |= __get_user(f->select_delay, &uf->select_delay); err 380 block/compat_ioctl.c err |= __get_user(f->rps, &uf->rps); err 381 block/compat_ioctl.c err |= __get_user(f->tracks, &uf->tracks); err 382 block/compat_ioctl.c err |= __get_user(f->timeout, &uf->timeout); err 383 block/compat_ioctl.c err |= __get_user(f->interleave_sect, &uf->interleave_sect); err 384 block/compat_ioctl.c err |= __copy_from_user(&f->max_errors, &uf->max_errors, sizeof(f->max_errors)); err 385 block/compat_ioctl.c err |= __get_user(f->flags, &uf->flags); err 386 block/compat_ioctl.c err |= __get_user(f->read_track, &uf->read_track); err 387 block/compat_ioctl.c err |= __copy_from_user(f->autodetect, uf->autodetect, sizeof(f->autodetect)); err 388 block/compat_ioctl.c err |= __get_user(f->checkfreq, &uf->checkfreq); err 389 block/compat_ioctl.c err |= __get_user(f->native_format, &uf->native_format); err 390 block/compat_ioctl.c if (err) { err 391 block/compat_ioctl.c err = -EFAULT; err 416 block/compat_ioctl.c err = blkdev_driver_ioctl(inode, file, disk, kcmd, (unsigned long)karg); err 418 block/compat_ioctl.c if (err) err 426 block/compat_ioctl.c err = __put_user(f->size, &uf->size); err 427 block/compat_ioctl.c err |= __put_user(f->sect, &uf->sect); err 428 block/compat_ioctl.c err |= __put_user(f->head, &uf->head); err 429 block/compat_ioctl.c err |= __put_user(f->track, &uf->track); err 430 block/compat_ioctl.c err |= __put_user(f->stretch, &uf->stretch); err 431 block/compat_ioctl.c err |= __put_user(f->gap, &uf->gap); err 432 block/compat_ioctl.c err |= __put_user(f->rate, &uf->rate); err 433 block/compat_ioctl.c err |= __put_user(f->spec1, &uf->spec1); err 434 block/compat_ioctl.c err |= __put_user(f->fmt_gap, &uf->fmt_gap); err 435 block/compat_ioctl.c err |= __put_user((u64)f->name, (compat_caddr_t __user *)&uf->name); err 444 block/compat_ioctl.c err = __put_user(f->cmos, &uf->cmos); err 445 block/compat_ioctl.c err |= __put_user(f->max_dtr, &uf->max_dtr); err 446 block/compat_ioctl.c err |= __put_user(f->hlt, &uf->hlt); err 447 block/compat_ioctl.c err |= __put_user(f->hut, &uf->hut); err 448 block/compat_ioctl.c err |= __put_user(f->srt, &uf->srt); err 449 block/compat_ioctl.c err |= __put_user(f->spinup, &uf->spinup); err 450 block/compat_ioctl.c err |= __put_user(f->spindown, &uf->spindown); err 451 block/compat_ioctl.c err |= __put_user(f->spindown_offset, &uf->spindown_offset); err 452 block/compat_ioctl.c err |= __put_user(f->select_delay, &uf->select_delay); err 453 block/compat_ioctl.c err |= __put_user(f->rps, &uf->rps); err 454 block/compat_ioctl.c err |= __put_user(f->tracks, &uf->tracks); err 455 block/compat_ioctl.c err |= __put_user(f->timeout, &uf->timeout); err 456 block/compat_ioctl.c err |= __put_user(f->interleave_sect, &uf->interleave_sect); err 457 block/compat_ioctl.c err |= __copy_to_user(&uf->max_errors, &f->max_errors, sizeof(f->max_errors)); err 458 block/compat_ioctl.c err |= __put_user(f->flags, &uf->flags); err 459 block/compat_ioctl.c err |= __put_user(f->read_track, &uf->read_track); err 460 block/compat_ioctl.c err |= __copy_to_user(uf->autodetect, f->autodetect, sizeof(f->autodetect)); err 461 block/compat_ioctl.c err |= __put_user(f->checkfreq, &uf->checkfreq); err 462 block/compat_ioctl.c err |= __put_user(f->native_format, &uf->native_format); err 472 block/compat_ioctl.c err = __put_user(f->flags, &uf->flags); err 473 block/compat_ioctl.c err |= __put_user(f->spinup_date, &uf->spinup_date); err 474 block/compat_ioctl.c err |= __put_user(f->select_date, &uf->select_date); err 475 block/compat_ioctl.c err |= __put_user(f->first_read_date, &uf->first_read_date); err 476 block/compat_ioctl.c err |= __put_user(f->probed_format, &uf->probed_format); err 477 block/compat_ioctl.c err |= __put_user(f->track, &uf->track); err 478 block/compat_ioctl.c err |= __put_user(f->maxblock, &uf->maxblock); err 479 block/compat_ioctl.c err |= __put_user(f->maxtrack, &uf->maxtrack); err 480 block/compat_ioctl.c err |= __put_user(f->generation, &uf->generation); err 481 block/compat_ioctl.c err |= __put_user(f->keep_data, &uf->keep_data); err 482 block/compat_ioctl.c err |= __put_user(f->fd_ref, &uf->fd_ref); err 483 block/compat_ioctl.c err |= __put_user(f->fd_device, &uf->fd_device); err 484 block/compat_ioctl.c err |= __put_user(f->last_checked, &uf->last_checked); err 485 block/compat_ioctl.c err |= __put_user((u64)f->dmabuf, &uf->dmabuf); err 486 block/compat_ioctl.c err |= __put_user((u64)f->bufblocks, &uf->bufblocks); err 495 block/compat_ioctl.c err = __put_user(f->spec1, &uf->spec1); err 496 block/compat_ioctl.c err |= __put_user(f->spec2, &uf->spec2); err 497 block/compat_ioctl.c err |= __put_user(f->dtr, &uf->dtr); err 498 block/compat_ioctl.c err |= __put_user(f->version, &uf->version); err 499 block/compat_ioctl.c err |= __put_user(f->dor, &uf->dor); err 500 block/compat_ioctl.c err |= __put_user(f->address, &uf->address); err 501 block/compat_ioctl.c err |= __copy_to_user((char __user *)&uf->address + sizeof(uf->address), err 503 block/compat_ioctl.c err |= __put_user(f->driver_version, &uf->driver_version); err 504 block/compat_ioctl.c err |= __copy_to_user(uf->track, f->track, sizeof(f->track)); err 513 block/compat_ioctl.c err = __put_user(f->write_errors, &uf->write_errors); err 514 block/compat_ioctl.c err |= __put_user(f->first_error_sector, &uf->first_error_sector); err 515 block/compat_ioctl.c err |= __put_user(f->first_error_generation, &uf->first_error_generation); err 516 block/compat_ioctl.c err |= __put_user(f->last_error_sector, &uf->last_error_sector); err 517 block/compat_ioctl.c err |= __put_user(f->last_error_generation, &uf->last_error_generation); err 518 block/compat_ioctl.c err |= __put_user(f->badness, &uf->badness); err 524 block/compat_ioctl.c if (err) err 525 block/compat_ioctl.c err = -EFAULT; err 529 block/compat_ioctl.c return err; err 213 block/elevator.c goto err; err 223 block/elevator.c goto err; err 229 block/elevator.c err: err 21 block/ioctl.c int err; err 64 block/ioctl.c err = add_partition(disk, partno, start, length, err 67 block/ioctl.c return err; err 118 block/ioctl.c if (err) { err 119 block/ioctl.c if (err == -EOPNOTSUPP) err 68 block/scsi_ioctl.c int timeout, err = get_user(timeout, p); err 70 block/scsi_ioctl.c if (!err) err 73 block/scsi_ioctl.c return err; err 85 block/scsi_ioctl.c int size, err = get_user(size, p); err 87 block/scsi_ioctl.c if (err) err 88 block/scsi_ioctl.c return err; err 387 block/scsi_ioctl.c int err, write_perm = 0; err 421 block/scsi_ioctl.c err = -EFAULT; err 433 block/scsi_ioctl.c err = blk_verify_command(&q->cmd_filter, rq->cmd, write_perm); err 434 block/scsi_ioctl.c if (err) err 465 block/scsi_ioctl.c err = DRIVER_ERROR << 24; err 477 block/scsi_ioctl.c err = rq->errors & 0xff; /* only 8 bit SCSI status */ err 478 block/scsi_ioctl.c if (err) { err 483 block/scsi_ioctl.c err = -EFAULT; err 487 block/scsi_ioctl.c err = -EFAULT; err 493 block/scsi_ioctl.c return err; err 502 block/scsi_ioctl.c int err; err 513 block/scsi_ioctl.c err = blk_execute_rq(q, bd_disk, rq, 0); err 516 block/scsi_ioctl.c return err; err 528 block/scsi_ioctl.c int err; err 538 block/scsi_ioctl.c err = sg_get_version(arg); err 541 block/scsi_ioctl.c err = scsi_get_idlun(q, arg); err 544 block/scsi_ioctl.c err = scsi_get_bus(q, arg); err 547 block/scsi_ioctl.c err = sg_set_timeout(q, arg); err 550 block/scsi_ioctl.c err = sg_get_timeout(q); err 553 block/scsi_ioctl.c err = sg_get_reserved_size(q, arg); err 556 block/scsi_ioctl.c err = sg_set_reserved_size(q, arg); err 559 block/scsi_ioctl.c err = sg_emulated_host(q, arg); err 564 block/scsi_ioctl.c err = -EFAULT; err 567 block/scsi_ioctl.c err = sg_io(file, q, bd_disk, &hdr); err 568 block/scsi_ioctl.c if (err == -EFAULT) err 572 block/scsi_ioctl.c err = -EFAULT; err 579 block/scsi_ioctl.c err = -EFAULT; err 587 block/scsi_ioctl.c err = 0; err 602 block/scsi_ioctl.c err = -EINVAL; err 604 block/scsi_ioctl.c if (err) err 615 block/scsi_ioctl.c err = sg_io(file, q, bd_disk, &hdr); err 616 block/scsi_ioctl.c if (err == -EFAULT) err 620 block/scsi_ioctl.c err = -EIO; err 622 block/scsi_ioctl.c cgc.stat = err; err 625 block/scsi_ioctl.c err = -EFAULT; err 635 block/scsi_ioctl.c err = -EINVAL; err 639 block/scsi_ioctl.c err = sg_scsi_ioctl(file, q, bd_disk, arg); err 642 block/scsi_ioctl.c err = blk_send_start_stop(q, bd_disk, 0x03); err 645 block/scsi_ioctl.c err = blk_send_start_stop(q, bd_disk, 0x02); err 648 block/scsi_ioctl.c err = -ENOTTY; err 652 block/scsi_ioctl.c return err; err 201 crypto/ablkcipher.c int err; err 206 crypto/ablkcipher.c err = PTR_ERR(larval); err 210 crypto/ablkcipher.c err = -EAGAIN; err 239 crypto/ablkcipher.c err = -ENOENT; err 244 crypto/ablkcipher.c err = PTR_ERR(inst); err 248 crypto/ablkcipher.c if ((err = crypto_register_instance(tmpl, inst))) { err 254 crypto/ablkcipher.c err = -EAGAIN; err 264 crypto/ablkcipher.c return err; err 292 crypto/ablkcipher.c int err; err 301 crypto/ablkcipher.c err = crypto_init_spawn(&spawn->base, alg, spawn->base.inst, mask); err 303 crypto/ablkcipher.c return err; err 311 crypto/ablkcipher.c int err; err 321 crypto/ablkcipher.c err = PTR_ERR(alg); err 322 crypto/ablkcipher.c goto err; err 330 crypto/ablkcipher.c err = PTR_ERR(tfm); err 332 crypto/ablkcipher.c err: err 333 crypto/ablkcipher.c if (err != -EAGAIN) err 336 crypto/ablkcipher.c err = -EINTR; err 341 crypto/ablkcipher.c return ERR_PTR(err); err 62 crypto/aead.c int err; err 68 crypto/aead.c err = crypto_aead_alg(tfm)->setauthsize(crt->base, authsize); err 69 crypto/aead.c if (err) err 70 crypto/aead.c return err; err 195 crypto/aead.c int err; err 205 crypto/aead.c err = crypto_init_spawn(&spawn->base, alg, spawn->base.inst, mask); err 207 crypto/aead.c return err; err 219 crypto/aead.c int err; err 222 crypto/aead.c err = PTR_ERR(algt); err 224 crypto/aead.c return ERR_PTR(err); err 231 crypto/aead.c err = PTR_ERR(name); err 233 crypto/aead.c return ERR_PTR(err); err 245 crypto/aead.c err = crypto_grab_nivaead(spawn, name, type, mask); err 246 crypto/aead.c if (err) err 251 crypto/aead.c err = -EINVAL; err 268 crypto/aead.c err = -ENAMETOOLONG; err 302 crypto/aead.c inst = ERR_PTR(err); err 351 crypto/aead.c int err; err 356 crypto/aead.c err = PTR_ERR(larval); err 360 crypto/aead.c err = -EAGAIN; err 382 crypto/aead.c err = -ENOENT; err 387 crypto/aead.c err = PTR_ERR(inst); err 391 crypto/aead.c if ((err = crypto_register_instance(tmpl, inst))) { err 397 crypto/aead.c err = -EAGAIN; err 407 crypto/aead.c return err; err 432 crypto/aead.c int err; err 443 crypto/aead.c err = crypto_init_spawn(&spawn->base, alg, spawn->base.inst, mask); err 445 crypto/aead.c return err; err 452 crypto/aead.c int err; err 464 crypto/aead.c err = PTR_ERR(alg); err 465 crypto/aead.c goto err; err 473 crypto/aead.c err = PTR_ERR(tfm); err 475 crypto/aead.c err: err 476 crypto/aead.c if (err != -EAGAIN) err 479 crypto/aead.c err = -EINTR; err 484 crypto/aead.c return ERR_PTR(err); err 67 crypto/ahash.c if (nbytes && walk->offset & alignmask && !err) { err 82 crypto/ahash.c if (err) err 83 crypto/ahash.c return err; err 138 crypto/algapi.c goto err; err 150 crypto/algapi.c goto err; err 154 crypto/algapi.c goto err; err 160 crypto/algapi.c goto err; err 186 crypto/algapi.c err: err 209 crypto/algapi.c printk(KERN_ERR "alg: Unexpected test result for %s: %d\n", name, err); err 214 crypto/algapi.c if (err || list_empty(&alg->cra_list)) err 283 crypto/algapi.c int err; err 285 crypto/algapi.c err = crypto_probing_notify(CRYPTO_MSG_ALG_REGISTER, larval->adult); err 286 crypto/algapi.c if (err != NOTIFY_STOP) { err 287 crypto/algapi.c if (WARN_ON(err != NOTIFY_DONE)) err 292 crypto/algapi.c err = wait_for_completion_interruptible(&larval->completion); err 293 crypto/algapi.c WARN_ON(err); err 302 crypto/algapi.c int err; err 304 crypto/algapi.c err = crypto_check_alg(alg); err 305 crypto/algapi.c if (err) err 306 crypto/algapi.c return err; err 358 crypto/algapi.c int err = -EEXIST; err 369 crypto/algapi.c err = 0; err 372 crypto/algapi.c return err; err 390 crypto/algapi.c int err = crypto_remove_alg(&inst->alg, &users); err 391 crypto/algapi.c BUG_ON(err); err 435 crypto/algapi.c int err; err 437 crypto/algapi.c err = crypto_check_alg(&inst->alg); err 438 crypto/algapi.c if (err) err 439 crypto/algapi.c goto err; err 455 crypto/algapi.c err = PTR_ERR(larval); err 457 crypto/algapi.c goto err; err 460 crypto/algapi.c err = 0; err 462 crypto/algapi.c err: err 463 crypto/algapi.c return err; err 470 crypto/algapi.c int err = -EAGAIN; err 479 crypto/algapi.c err = 0; err 483 crypto/algapi.c return err; err 597 crypto/algapi.c int err; err 600 crypto/algapi.c err = PTR_ERR(name); err 602 crypto/algapi.c return ERR_PTR(err); err 631 crypto/algapi.c int err; err 637 crypto/algapi.c err = -ENAMETOOLONG; err 647 crypto/algapi.c err = crypto_init_spawn(spawn, alg, inst, err 650 crypto/algapi.c if (err) err 657 crypto/algapi.c return ERR_PTR(err); err 673 crypto/algapi.c int err = -EINPROGRESS; err 676 crypto/algapi.c err = -EBUSY; err 687 crypto/algapi.c return err; err 64 crypto/algboss.c int err; err 68 crypto/algboss.c goto err; err 73 crypto/algboss.c err = PTR_ERR(inst); err 74 crypto/algboss.c else if ((err = crypto_register_instance(tmpl, inst))) err 76 crypto/algboss.c } while (err == -EAGAIN && !signal_pending(current)); err 80 crypto/algboss.c if (err) err 81 crypto/algboss.c goto err; err 87 crypto/algboss.c err: err 102 crypto/algboss.c goto err; err 199 crypto/algboss.c err: err 207 crypto/algboss.c int err = 0; err 213 crypto/algboss.c err = alg_test(param->driver, param->alg, type, CRYPTO_ALG_TESTED); err 216 crypto/algboss.c crypto_alg_tested(param->driver, err); err 228 crypto/algboss.c goto err; err 248 crypto/algboss.c err: err 271 crypto/algboss.c int err; err 273 crypto/algboss.c err = testmgr_init(); err 274 crypto/algboss.c if (err) err 275 crypto/algboss.c return err; err 277 crypto/algboss.c err = crypto_register_notifier(&cryptomgr_notifier); err 278 crypto/algboss.c if (err) err 285 crypto/algboss.c return err; err 290 crypto/algboss.c int err = crypto_unregister_notifier(&cryptomgr_notifier); err 291 crypto/algboss.c BUG_ON(err); err 187 crypto/ansi_cprng.c int err; err 195 crypto/ansi_cprng.c err = -EINVAL; err 203 crypto/ansi_cprng.c err = -EINVAL; err 210 crypto/ansi_cprng.c err = byte_count; err 220 crypto/ansi_cprng.c err = -EINVAL; err 245 crypto/ansi_cprng.c err = -EINVAL; err 262 crypto/ansi_cprng.c err, ctx); err 263 crypto/ansi_cprng.c return err; err 369 crypto/api.c int err = -ENOMEM; err 378 crypto/api.c err = crypto_init_ops(tfm, type, mask); err 379 crypto/api.c if (err) err 382 crypto/api.c if (alg->cra_init && (err = alg->cra_init(tfm))) { err 383 crypto/api.c if (err == -EAGAIN) err 395 crypto/api.c tfm = ERR_PTR(err); err 423 crypto/api.c int err; err 430 crypto/api.c err = PTR_ERR(alg); err 431 crypto/api.c goto err; err 439 crypto/api.c err = PTR_ERR(tfm); err 441 crypto/api.c err: err 442 crypto/api.c if (err != -EAGAIN) err 445 crypto/api.c err = -EINTR; err 450 crypto/api.c return ERR_PTR(err); err 348 crypto/async_tx/async_tx.c goto err; err 358 crypto/async_tx/async_tx.c err: err 46 crypto/authenc.c int err = -EINVAL; err 69 crypto/authenc.c err = crypto_hash_setkey(auth, key, authkeylen); err 73 crypto/authenc.c if (err) err 79 crypto/authenc.c err = crypto_ablkcipher_setkey(enc, key + authkeylen, enckeylen); err 84 crypto/authenc.c return err; err 117 crypto/authenc.c int err; err 123 crypto/authenc.c err = crypto_hash_init(&desc); err 124 crypto/authenc.c if (err) err 127 crypto/authenc.c err = crypto_hash_update(&desc, req->assoc, req->assoclen); err 128 crypto/authenc.c if (err) err 131 crypto/authenc.c err = crypto_hash_update(&desc, cipher, cryptlen); err 132 crypto/authenc.c if (err) err 135 crypto/authenc.c err = crypto_hash_final(&desc, hash); err 139 crypto/authenc.c if (err) err 140 crypto/authenc.c return ERR_PTR(err); err 179 crypto/authenc.c if (!err) { err 186 crypto/authenc.c err = crypto_authenc_genicv(areq, iv, 0); err 189 crypto/authenc.c aead_request_complete(areq, err); err 201 crypto/authenc.c int err; err 210 crypto/authenc.c err = crypto_ablkcipher_encrypt(abreq); err 211 crypto/authenc.c if (err) err 212 crypto/authenc.c return err; err 222 crypto/authenc.c if (!err) { err 225 crypto/authenc.c err = crypto_authenc_genicv(areq, greq->giv, 0); err 228 crypto/authenc.c aead_request_complete(areq, err); err 238 crypto/authenc.c int err; err 247 crypto/authenc.c err = crypto_skcipher_givencrypt(greq); err 248 crypto/authenc.c if (err) err 249 crypto/authenc.c return err; err 302 crypto/authenc.c int err; err 308 crypto/authenc.c err = crypto_authenc_iverify(req, iv, cryptlen); err 309 crypto/authenc.c if (err) err 310 crypto/authenc.c return err; err 327 crypto/authenc.c int err; err 334 crypto/authenc.c err = PTR_ERR(enc); err 354 crypto/authenc.c return err; err 373 crypto/authenc.c int err; err 376 crypto/authenc.c err = PTR_ERR(algt); err 378 crypto/authenc.c return ERR_PTR(err); err 389 crypto/authenc.c err = PTR_ERR(enc_name); err 394 crypto/authenc.c err = -ENOMEM; err 400 crypto/authenc.c err = crypto_init_spawn(&ctx->auth, auth, inst, CRYPTO_ALG_TYPE_MASK); err 401 crypto/authenc.c if (err) err 405 crypto/authenc.c err = crypto_grab_skcipher(&ctx->enc, enc_name, 0, err 408 crypto/authenc.c if (err) err 413 crypto/authenc.c err = -ENAMETOOLONG; err 457 crypto/authenc.c inst = ERR_PTR(err); err 109 crypto/blkcipher.c if (likely(err >= 0)) { err 110 crypto/blkcipher.c unsigned int n = walk->nbytes - err; err 114 crypto/blkcipher.c else if (WARN_ON(err)) { err 115 crypto/blkcipher.c err = -EINVAL; err 116 crypto/blkcipher.c goto err; err 121 crypto/blkcipher.c err = 0; err 135 crypto/blkcipher.c err: err 143 crypto/blkcipher.c return err; err 231 crypto/blkcipher.c int err; err 256 crypto/blkcipher.c err = blkcipher_next_slow(desc, walk, bsize, alignmask); err 262 crypto/blkcipher.c err = blkcipher_next_copy(walk); err 275 crypto/blkcipher.c return err; err 337 crypto/blkcipher.c int err = blkcipher_copy_iv(walk, tfm, alignmask); err 338 crypto/blkcipher.c if (err) err 339 crypto/blkcipher.c return err; err 521 crypto/blkcipher.c int err; err 530 crypto/blkcipher.c err = crypto_init_spawn(&spawn->base, alg, spawn->base.inst, mask); err 532 crypto/blkcipher.c return err; err 556 crypto/blkcipher.c int err; err 559 crypto/blkcipher.c err = PTR_ERR(algt); err 561 crypto/blkcipher.c return ERR_PTR(err); err 568 crypto/blkcipher.c err = PTR_ERR(name); err 570 crypto/blkcipher.c return ERR_PTR(err); err 582 crypto/blkcipher.c err = crypto_grab_nivcipher(spawn, name, type, mask); err 583 crypto/blkcipher.c if (err) err 611 crypto/blkcipher.c err = -EINVAL; err 623 crypto/blkcipher.c err = -EAGAIN; err 631 crypto/blkcipher.c err = -ENAMETOOLONG; err 665 crypto/blkcipher.c inst = ERR_PTR(err); err 31 crypto/cbc.c int err; err 36 crypto/cbc.c err = crypto_cipher_setkey(child, key, keylen); err 39 crypto/cbc.c return err; err 98 crypto/cbc.c int err; err 101 crypto/cbc.c err = blkcipher_walk_virt(desc, &walk); err 108 crypto/cbc.c err = blkcipher_walk_done(desc, &walk, nbytes); err 111 crypto/cbc.c return err; err 177 crypto/cbc.c int err; err 180 crypto/cbc.c err = blkcipher_walk_virt(desc, &walk); err 187 crypto/cbc.c err = blkcipher_walk_done(desc, &walk, nbytes); err 190 crypto/cbc.c return err; err 218 crypto/cbc.c int err; err 220 crypto/cbc.c err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_BLKCIPHER); err 221 crypto/cbc.c if (err) err 222 crypto/cbc.c return ERR_PTR(err); err 82 crypto/ccm.c int err = 0; err 87 crypto/ccm.c err = crypto_ablkcipher_setkey(ctr, key, keylen); err 90 crypto/ccm.c if (err) err 96 crypto/ccm.c err = crypto_cipher_setkey(tfm, key, keylen); err 101 crypto/ccm.c return err; err 255 crypto/ccm.c int err; err 258 crypto/ccm.c err = format_input(odata, req, cryptlen); err 259 crypto/ccm.c if (err) err 275 crypto/ccm.c return err; err 285 crypto/ccm.c if (!err) err 288 crypto/ccm.c aead_request_complete(req, err); err 310 crypto/ccm.c int err; err 312 crypto/ccm.c err = crypto_ccm_check_iv(iv); err 313 crypto/ccm.c if (err) err 314 crypto/ccm.c return err; err 318 crypto/ccm.c err = crypto_ccm_auth(req, req->src, cryptlen); err 319 crypto/ccm.c if (err) err 320 crypto/ccm.c return err; err 343 crypto/ccm.c err = crypto_ablkcipher_encrypt(abreq); err 344 crypto/ccm.c if (err) err 345 crypto/ccm.c return err; err 350 crypto/ccm.c return err; err 362 crypto/ccm.c if (!err) { err 363 crypto/ccm.c err = crypto_ccm_auth(req, req->dst, cryptlen); err 364 crypto/ccm.c if (!err && memcmp(pctx->auth_tag, pctx->odata, authsize)) err 365 crypto/ccm.c err = -EBADMSG; err 367 crypto/ccm.c aead_request_complete(req, err); err 382 crypto/ccm.c int err; err 388 crypto/ccm.c err = crypto_ccm_check_iv(iv); err 389 crypto/ccm.c if (err) err 390 crypto/ccm.c return err; err 414 crypto/ccm.c err = crypto_ablkcipher_decrypt(abreq); err 415 crypto/ccm.c if (err) err 416 crypto/ccm.c return err; err 418 crypto/ccm.c err = crypto_ccm_auth(req, req->dst, cryptlen); err 419 crypto/ccm.c if (err) err 420 crypto/ccm.c return err; err 426 crypto/ccm.c return err; err 437 crypto/ccm.c int err; err 444 crypto/ccm.c err = PTR_ERR(ctr); err 461 crypto/ccm.c return err; err 482 crypto/ccm.c int err; err 485 crypto/ccm.c err = PTR_ERR(algt); err 487 crypto/ccm.c return ERR_PTR(err); err 494 crypto/ccm.c err = PTR_ERR(cipher); err 496 crypto/ccm.c return ERR_PTR(err); err 498 crypto/ccm.c err = -EINVAL; err 503 crypto/ccm.c err = -ENOMEM; err 509 crypto/ccm.c err = crypto_init_spawn(&ictx->cipher, cipher, inst, err 511 crypto/ccm.c if (err) err 515 crypto/ccm.c err = crypto_grab_skcipher(&ictx->ctr, ctr_name, 0, err 518 crypto/ccm.c if (err) err 524 crypto/ccm.c err = -EINVAL; err 532 crypto/ccm.c err = -ENAMETOOLONG; err 568 crypto/ccm.c inst = ERR_PTR(err); err 574 crypto/ccm.c int err; err 580 crypto/ccm.c err = PTR_ERR(cipher_name); err 582 crypto/ccm.c return ERR_PTR(err); err 613 crypto/ccm.c int err; err 619 crypto/ccm.c err = PTR_ERR(ctr_name); err 621 crypto/ccm.c return ERR_PTR(err); err 624 crypto/ccm.c err = PTR_ERR(cipher_name); err 626 crypto/ccm.c return ERR_PTR(err); err 647 crypto/ccm.c int err; err 658 crypto/ccm.c err = crypto_aead_setkey(child, key, keylen); err 662 crypto/ccm.c return err; err 758 crypto/ccm.c int err; err 761 crypto/ccm.c err = PTR_ERR(algt); err 763 crypto/ccm.c return ERR_PTR(err); err 769 crypto/ccm.c err = PTR_ERR(ccm_name); err 771 crypto/ccm.c return ERR_PTR(err); err 779 crypto/ccm.c err = crypto_grab_aead(spawn, ccm_name, 0, err 781 crypto/ccm.c if (err) err 786 crypto/ccm.c err = -EINVAL; err 796 crypto/ccm.c err = -ENAMETOOLONG; err 833 crypto/ccm.c inst = ERR_PTR(err); err 852 crypto/ccm.c int err; err 854 crypto/ccm.c err = crypto_register_template(&crypto_ccm_base_tmpl); err 855 crypto/ccm.c if (err) err 858 crypto/ccm.c err = crypto_register_template(&crypto_ccm_tmpl); err 859 crypto/ccm.c if (err) err 862 crypto/ccm.c err = crypto_register_template(&crypto_rfc4309_tmpl); err 863 crypto/ccm.c if (err) err 867 crypto/ccm.c return err; err 39 crypto/chainiv.c int err; err 53 crypto/chainiv.c int err; err 70 crypto/chainiv.c err = crypto_ablkcipher_encrypt(subreq); err 71 crypto/chainiv.c if (err) err 79 crypto/chainiv.c return err; err 86 crypto/chainiv.c int err = 0; err 94 crypto/chainiv.c err = crypto_rng_get_bytes(crypto_default_rng, ctx->iv, err 100 crypto/chainiv.c if (err) err 101 crypto/chainiv.c return err; err 125 crypto/chainiv.c int err = ctx->err; err 140 crypto/chainiv.c return err; err 147 crypto/chainiv.c int err; err 150 crypto/chainiv.c err = skcipher_enqueue_givcrypt(&ctx->queue, req); err 154 crypto/chainiv.c return err; err 156 crypto/chainiv.c ctx->err = err; err 170 crypto/chainiv.c ctx->err = crypto_ablkcipher_encrypt(subreq); err 171 crypto/chainiv.c if (ctx->err) err 211 crypto/chainiv.c int err = 0; err 221 crypto/chainiv.c err = crypto_rng_get_bytes(crypto_default_rng, ctx->iv, err 227 crypto/chainiv.c if (err) err 228 crypto/chainiv.c return err; err 241 crypto/chainiv.c int err; err 256 crypto/chainiv.c err = async_chainiv_givencrypt_tail(req); err 259 crypto/chainiv.c skcipher_givcrypt_complete(req, err); err 290 crypto/chainiv.c int err; err 293 crypto/chainiv.c err = PTR_ERR(algt); err 295 crypto/chainiv.c return ERR_PTR(err); err 297 crypto/chainiv.c err = crypto_get_default_rng(); err 298 crypto/chainiv.c if (err) err 299 crypto/chainiv.c return ERR_PTR(err); err 206 crypto/crc32c.c int err; err 208 crypto/crc32c.c err = crypto_register_alg(&old_alg); err 209 crypto/crc32c.c if (err) err 210 crypto/crc32c.c return err; err 212 crypto/crc32c.c err = crypto_register_alg(&alg); err 213 crypto/crc32c.c if (err) err 216 crypto/crc32c.c return err; err 69 crypto/cryptd.c int err; err 74 crypto/cryptd.c err = crypto_blkcipher_setkey(child, key, keylen); err 77 crypto/cryptd.c return err; err 93 crypto/cryptd.c if (unlikely(err == -EINPROGRESS)) err 100 crypto/cryptd.c err = crypt(&desc, req->dst, req->src, req->nbytes); err 106 crypto/cryptd.c rctx->complete(&req->base, err); err 115 crypto/cryptd.c cryptd_blkcipher_crypt(ablkcipher_request_cast(req), child, err, err 124 crypto/cryptd.c cryptd_blkcipher_crypt(ablkcipher_request_cast(req), child, err, err 135 crypto/cryptd.c int err; err 141 crypto/cryptd.c err = ablkcipher_enqueue_request(&state->queue, req); err 145 crypto/cryptd.c return err; err 197 crypto/cryptd.c int err; err 205 crypto/cryptd.c err = -ENAMETOOLONG; err 211 crypto/cryptd.c err = crypto_init_spawn(&ctx->spawn, alg, inst, err 213 crypto/cryptd.c if (err) err 229 crypto/cryptd.c inst = ERR_PTR(err); err 310 crypto/cryptd.c int err; err 315 crypto/cryptd.c err = crypto_hash_setkey(child, key, keylen); err 318 crypto/cryptd.c return err; err 328 crypto/cryptd.c int err; err 334 crypto/cryptd.c err = ahash_enqueue_request(&state->queue, req); err 338 crypto/cryptd.c return err; err 351 crypto/cryptd.c if (unlikely(err == -EINPROGRESS)) err 357 crypto/cryptd.c err = crypto_hash_crt(child)->init(&desc); err 363 crypto/cryptd.c rctx->complete(&req->base, err); err 382 crypto/cryptd.c if (unlikely(err == -EINPROGRESS)) err 388 crypto/cryptd.c err = crypto_hash_crt(child)->update(&desc, err 396 crypto/cryptd.c rctx->complete(&req->base, err); err 415 crypto/cryptd.c if (unlikely(err == -EINPROGRESS)) err 421 crypto/cryptd.c err = crypto_hash_crt(child)->final(&desc, req->result); err 427 crypto/cryptd.c rctx->complete(&req->base, err); err 446 crypto/cryptd.c if (unlikely(err == -EINPROGRESS)) err 452 crypto/cryptd.c err = crypto_hash_crt(child)->digest(&desc, err 461 crypto/cryptd.c rctx->complete(&req->base, err); err 600 crypto/cryptd.c int err; err 602 crypto/cryptd.c err = cryptd_create_thread(&state, cryptd_thread, "cryptd"); err 603 crypto/cryptd.c if (err) err 604 crypto/cryptd.c return err; err 606 crypto/cryptd.c err = crypto_register_template(&cryptd_tmpl); err 607 crypto/cryptd.c if (err) err 610 crypto/cryptd.c return err; err 65 crypto/crypto_null.c int err; err 68 crypto/crypto_null.c err = blkcipher_walk_virt(desc, &walk); err 74 crypto/crypto_null.c err = blkcipher_walk_done(desc, &walk, 0); err 77 crypto/crypto_null.c return err; err 37 crypto/ctr.c int err; err 42 crypto/ctr.c err = crypto_cipher_setkey(child, key, keylen); err 46 crypto/ctr.c return err; err 130 crypto/ctr.c int err; err 133 crypto/ctr.c err = blkcipher_walk_virt_block(desc, &walk, bsize); err 141 crypto/ctr.c err = blkcipher_walk_done(desc, &walk, nbytes); err 146 crypto/ctr.c err = blkcipher_walk_done(desc, &walk, 0); err 149 crypto/ctr.c return err; err 179 crypto/ctr.c int err; err 181 crypto/ctr.c err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_BLKCIPHER); err 182 crypto/ctr.c if (err) err 183 crypto/ctr.c return ERR_PTR(err); err 191 crypto/ctr.c err = -EINVAL; err 227 crypto/ctr.c inst = ERR_PTR(err); err 249 crypto/ctr.c int err; err 263 crypto/ctr.c err = crypto_blkcipher_setkey(child, key, keylen); err 267 crypto/ctr.c return err; err 281 crypto/ctr.c int err; err 293 crypto/ctr.c err = crypto_blkcipher_encrypt_iv(desc, dst, src, nbytes); err 297 crypto/ctr.c return err; err 327 crypto/ctr.c int err; err 329 crypto/ctr.c err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_BLKCIPHER); err 330 crypto/ctr.c if (err) err 331 crypto/ctr.c return ERR_PTR(err); err 335 crypto/ctr.c err = PTR_ERR(alg); err 337 crypto/ctr.c return ERR_PTR(err); err 340 crypto/ctr.c err = -EINVAL; err 380 crypto/ctr.c inst = ERR_PTR(err); err 393 crypto/ctr.c int err; err 395 crypto/ctr.c err = crypto_register_template(&crypto_ctr_tmpl); err 396 crypto/ctr.c if (err) err 399 crypto/ctr.c err = crypto_register_template(&crypto_rfc3686_tmpl); err 400 crypto/ctr.c if (err) err 404 crypto/ctr.c return err; err 62 crypto/cts.c int err; err 67 crypto/cts.c err = crypto_blkcipher_setkey(child, key, keylen); err 70 crypto/cts.c return err; err 87 crypto/cts.c int err; err 106 crypto/cts.c err = crypto_blkcipher_encrypt_iv(&lcldesc, sgdst, sgsrc, bsize); err 114 crypto/cts.c err = crypto_blkcipher_encrypt_iv(&lcldesc, sgdst, sgsrc, bsize); err 122 crypto/cts.c return err; err 134 crypto/cts.c int err; err 141 crypto/cts.c err = crypto_blkcipher_encrypt_iv(&lcldesc, dst, src, bsize); err 143 crypto/cts.c err = cts_cbc_encrypt(ctx, desc, dst, src, 0, nbytes); err 146 crypto/cts.c err = crypto_blkcipher_encrypt_iv(&lcldesc, dst, src, err 148 crypto/cts.c if (err == 0) { err 150 crypto/cts.c err = cts_cbc_encrypt(ctx, desc, dst, src, err 156 crypto/cts.c return err; err 173 crypto/cts.c int err; err 191 crypto/cts.c err = crypto_blkcipher_decrypt_iv(&lcldesc, sgdst, sgsrc, bsize); err 192 crypto/cts.c if (err) err 193 crypto/cts.c return err; err 208 crypto/cts.c err = crypto_blkcipher_decrypt_iv(&lcldesc, sgdst, sgsrc, bsize); err 216 crypto/cts.c return err; err 228 crypto/cts.c int err; err 235 crypto/cts.c err = crypto_blkcipher_decrypt_iv(&lcldesc, dst, src, bsize); err 237 crypto/cts.c err = cts_cbc_decrypt(ctx, desc, dst, src, 0, nbytes); err 240 crypto/cts.c err = crypto_blkcipher_decrypt_iv(&lcldesc, dst, src, err 242 crypto/cts.c if (err == 0) { err 244 crypto/cts.c err = cts_cbc_decrypt(ctx, desc, dst, src, err 249 crypto/cts.c return err; err 277 crypto/cts.c int err; err 279 crypto/cts.c err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_BLKCIPHER); err 280 crypto/cts.c if (err) err 281 crypto/cts.c return ERR_PTR(err); err 285 crypto/cts.c err = PTR_ERR(alg); err 287 crypto/cts.c return ERR_PTR(err); err 30 crypto/ecb.c int err; err 35 crypto/ecb.c err = crypto_cipher_setkey(child, key, keylen); err 38 crypto/ecb.c return err; err 48 crypto/ecb.c int err; err 50 crypto/ecb.c err = blkcipher_walk_virt(desc, walk); err 63 crypto/ecb.c err = blkcipher_walk_done(desc, walk, nbytes); err 66 crypto/ecb.c return err; err 122 crypto/ecb.c int err; err 124 crypto/ecb.c err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_BLKCIPHER); err 125 crypto/ecb.c if (err) err 126 crypto/ecb.c return ERR_PTR(err); err 56 crypto/eseqiv.c if (err) err 62 crypto/eseqiv.c skcipher_givcrypt_complete(req, err); err 97 crypto/eseqiv.c int err; err 152 crypto/eseqiv.c err = crypto_ablkcipher_encrypt(subreq); err 153 crypto/eseqiv.c if (err) err 159 crypto/eseqiv.c return err; err 166 crypto/eseqiv.c int err = 0; err 173 crypto/eseqiv.c err = crypto_rng_get_bytes(crypto_default_rng, ctx->salt, err 179 crypto/eseqiv.c if (err) err 180 crypto/eseqiv.c return err; err 222 crypto/eseqiv.c int err; err 224 crypto/eseqiv.c err = crypto_get_default_rng(); err 225 crypto/eseqiv.c if (err) err 226 crypto/eseqiv.c return ERR_PTR(err); err 232 crypto/eseqiv.c err = -EINVAL; err 249 crypto/eseqiv.c inst = ERR_PTR(err); err 53 crypto/gcm.c int err; err 176 crypto/gcm.c if (err == -EINPROGRESS) err 179 crypto/gcm.c result->err = err; err 197 crypto/gcm.c int err; err 203 crypto/gcm.c err = crypto_ablkcipher_setkey(ctr, key, keylen); err 204 crypto/gcm.c if (err) err 205 crypto/gcm.c return err; err 225 crypto/gcm.c err = crypto_ablkcipher_encrypt(&data->req); err 226 crypto/gcm.c if (err == -EINPROGRESS || err == -EBUSY) { err 227 crypto/gcm.c err = wait_for_completion_interruptible( err 229 crypto/gcm.c if (!err) err 230 crypto/gcm.c err = data->result.err; err 233 crypto/gcm.c if (err) err 242 crypto/gcm.c err = -ENOMEM; err 246 crypto/gcm.c return err; err 326 crypto/gcm.c if (!err) err 327 crypto/gcm.c err = crypto_gcm_hash(req); err 329 crypto/gcm.c aead_request_complete(req, err); err 336 crypto/gcm.c int err; err 342 crypto/gcm.c err = crypto_ablkcipher_encrypt(abreq); err 343 crypto/gcm.c if (err) err 344 crypto/gcm.c return err; err 370 crypto/gcm.c if (!err) err 371 crypto/gcm.c err = crypto_gcm_verify(req); err 373 crypto/gcm.c aead_request_complete(req, err); err 384 crypto/gcm.c int err; err 396 crypto/gcm.c err = crypto_ablkcipher_decrypt(abreq); err 397 crypto/gcm.c if (err) err 398 crypto/gcm.c return err; err 410 crypto/gcm.c int err; err 413 crypto/gcm.c err = PTR_ERR(ctr); err 415 crypto/gcm.c return err; err 447 crypto/gcm.c int err; err 450 crypto/gcm.c err = PTR_ERR(algt); err 452 crypto/gcm.c return ERR_PTR(err); err 463 crypto/gcm.c err = crypto_grab_skcipher(&ctx->ctr, ctr_name, 0, err 466 crypto/gcm.c if (err) err 476 crypto/gcm.c err = -EINVAL; err 480 crypto/gcm.c err = -ENAMETOOLONG; err 511 crypto/gcm.c inst = ERR_PTR(err); err 517 crypto/gcm.c int err; err 523 crypto/gcm.c err = PTR_ERR(cipher_name); err 525 crypto/gcm.c return ERR_PTR(err); err 555 crypto/gcm.c int err; err 560 crypto/gcm.c err = PTR_ERR(ctr_name); err 562 crypto/gcm.c return ERR_PTR(err); err 583 crypto/gcm.c int err; err 594 crypto/gcm.c err = crypto_aead_setkey(child, key, keylen); err 598 crypto/gcm.c return err; err 691 crypto/gcm.c int err; err 694 crypto/gcm.c err = PTR_ERR(algt); err 696 crypto/gcm.c return ERR_PTR(err); err 702 crypto/gcm.c err = PTR_ERR(ccm_name); err 704 crypto/gcm.c return ERR_PTR(err); err 712 crypto/gcm.c err = crypto_grab_aead(spawn, ccm_name, 0, err 714 crypto/gcm.c if (err) err 719 crypto/gcm.c err = -EINVAL; err 729 crypto/gcm.c err = -ENAMETOOLONG; err 766 crypto/gcm.c inst = ERR_PTR(err); err 785 crypto/gcm.c int err; err 787 crypto/gcm.c err = crypto_register_template(&crypto_gcm_base_tmpl); err 788 crypto/gcm.c if (err) err 791 crypto/gcm.c err = crypto_register_template(&crypto_gcm_tmpl); err 792 crypto/gcm.c if (err) err 795 crypto/gcm.c err = crypto_register_template(&crypto_rfc4106_tmpl); err 796 crypto/gcm.c if (err) err 800 crypto/gcm.c return err; err 61 crypto/hmac.c int err; err 67 crypto/hmac.c err = crypto_hash_init(&desc); err 68 crypto/hmac.c if (err) err 69 crypto/hmac.c return err; err 76 crypto/hmac.c err = crypto_hash_update(&desc, &tmp, tmplen); err 77 crypto/hmac.c if (err) err 78 crypto/hmac.c return err; err 83 crypto/hmac.c err = crypto_hash_update(&desc, &tmp, keylen); err 84 crypto/hmac.c if (err) err 85 crypto/hmac.c return err; err 88 crypto/hmac.c err = crypto_hash_final(&desc, digest); err 89 crypto/hmac.c if (err) err 90 crypto/hmac.c return err; err 117 crypto/hmac.c int err; err 123 crypto/hmac.c err = crypto_hash_init(&desc); err 124 crypto/hmac.c if (unlikely(err)) err 125 crypto/hmac.c return err; err 152 crypto/hmac.c int err; err 158 crypto/hmac.c err = crypto_hash_final(&desc, digest); err 159 crypto/hmac.c if (unlikely(err)) err 160 crypto/hmac.c return err; err 178 crypto/hmac.c int err; err 190 crypto/hmac.c err = crypto_hash_digest(&desc, sg1, nbytes + bs, digest); err 191 crypto/hmac.c if (unlikely(err)) err 192 crypto/hmac.c return err; err 228 crypto/hmac.c int err; err 231 crypto/hmac.c err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_HASH); err 232 crypto/hmac.c if (err) err 233 crypto/hmac.c return ERR_PTR(err); err 56 crypto/lrw.c int err, i; err 63 crypto/lrw.c if ((err = crypto_cipher_setkey(child, key, keylen - bsize))) err 64 crypto/lrw.c return err; err 129 crypto/lrw.c int err; err 140 crypto/lrw.c err = blkcipher_walk_virt(d, w); err 142 crypto/lrw.c return err; err 170 crypto/lrw.c err = blkcipher_walk_done(d, w, avail); err 178 crypto/lrw.c return err; err 236 crypto/lrw.c int err; err 238 crypto/lrw.c err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_BLKCIPHER); err 239 crypto/lrw.c if (err) err 240 crypto/lrw.c return ERR_PTR(err); err 52 crypto/lzo.c int err; err 54 crypto/lzo.c err = lzo1x_1_compress(src, slen, dst, &tmp_len, ctx->lzo_comp_mem); err 56 crypto/lzo.c if (err != LZO_E_OK) err 66 crypto/lzo.c int err; err 69 crypto/lzo.c err = lzo1x_decompress_safe(src, slen, dst, &tmp_len); err 71 crypto/lzo.c if (err != LZO_E_OK) err 34 crypto/pcbc.c int err; err 39 crypto/pcbc.c err = crypto_cipher_setkey(child, key, keylen); err 42 crypto/pcbc.c return err; err 105 crypto/pcbc.c int err; err 108 crypto/pcbc.c err = blkcipher_walk_virt(desc, &walk); err 117 crypto/pcbc.c err = blkcipher_walk_done(desc, &walk, nbytes); err 120 crypto/pcbc.c return err; err 185 crypto/pcbc.c int err; err 188 crypto/pcbc.c err = blkcipher_walk_virt(desc, &walk); err 197 crypto/pcbc.c err = blkcipher_walk_done(desc, &walk, nbytes); err 200 crypto/pcbc.c return err; err 228 crypto/pcbc.c int err; err 230 crypto/pcbc.c err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_BLKCIPHER); err 231 crypto/pcbc.c if (err) err 232 crypto/pcbc.c return ERR_PTR(err); err 32 crypto/rng.c int err; err 43 crypto/rng.c err = crypto_rng_alg(tfm)->rng_reset(tfm, seed, slen); err 46 crypto/rng.c return err; err 86 crypto/rng.c int err; err 91 crypto/rng.c err = PTR_ERR(rng); err 95 crypto/rng.c err = crypto_rng_reset(rng, NULL, crypto_rng_seedsize(rng)); err 96 crypto/rng.c if (err) { err 105 crypto/rng.c err = 0; err 110 crypto/rng.c return err; err 187 crypto/salsa20_generic.c int err; err 190 crypto/salsa20_generic.c err = blkcipher_walk_virt_block(desc, &walk, 64); err 205 crypto/salsa20_generic.c err = blkcipher_walk_done(desc, &walk, walk.nbytes % 64); err 211 crypto/salsa20_generic.c err = blkcipher_walk_done(desc, &walk, 0); err 214 crypto/salsa20_generic.c return err; err 36 crypto/seqiv.c if (err == -EINPROGRESS) err 39 crypto/seqiv.c if (err) err 53 crypto/seqiv.c seqiv_complete2(req, err); err 54 crypto/seqiv.c skcipher_givcrypt_complete(req, err); err 62 crypto/seqiv.c if (err == -EINPROGRESS) err 65 crypto/seqiv.c if (err) err 79 crypto/seqiv.c seqiv_aead_complete2(req, err); err 80 crypto/seqiv.c aead_givcrypt_complete(req, err); err 106 crypto/seqiv.c int err; err 136 crypto/seqiv.c err = crypto_ablkcipher_encrypt(subreq); err 138 crypto/seqiv.c seqiv_complete2(req, err); err 139 crypto/seqiv.c return err; err 152 crypto/seqiv.c int err; err 182 crypto/seqiv.c err = crypto_aead_encrypt(subreq); err 184 crypto/seqiv.c seqiv_aead_complete2(req, err); err 185 crypto/seqiv.c return err; err 192 crypto/seqiv.c int err = 0; err 199 crypto/seqiv.c err = crypto_rng_get_bytes(crypto_default_rng, ctx->salt, err 205 crypto/seqiv.c if (err) err 206 crypto/seqiv.c return err; err 215 crypto/seqiv.c int err = 0; err 222 crypto/seqiv.c err = crypto_rng_get_bytes(crypto_default_rng, ctx->salt, err 228 crypto/seqiv.c if (err) err 229 crypto/seqiv.c return err; err 304 crypto/seqiv.c int err; err 307 crypto/seqiv.c err = PTR_ERR(algt); err 309 crypto/seqiv.c return ERR_PTR(err); err 311 crypto/seqiv.c err = crypto_get_default_rng(); err 312 crypto/seqiv.c if (err) err 313 crypto/seqiv.c return ERR_PTR(err); err 865 crypto/tcrypt.c int err = -ENOMEM; err 882 crypto/tcrypt.c err = -EAGAIN; err 888 crypto/tcrypt.c return err; err 51 crypto/testmgr.c int err; err 109 crypto/testmgr.c if (err == -EINPROGRESS) err 112 crypto/testmgr.c res->err = err; err 169 crypto/testmgr.c if (!ret && !(ret = tresult.err)) { err 232 crypto/testmgr.c if (!ret && !(ret = tresult.err)) { err 363 crypto/testmgr.c if (!ret && !(ret = result.err)) { err 481 crypto/testmgr.c if (!ret && !(ret = result.err)) { err 685 crypto/testmgr.c if (!ret && !((ret = result.err))) { err 772 crypto/testmgr.c if (!ret && !((ret = result.err))) { err 889 crypto/testmgr.c int err = 0; err 899 crypto/testmgr.c err = test_aead(tfm, ENCRYPT, desc->suite.aead.enc.vecs, err 901 crypto/testmgr.c if (err) err 905 crypto/testmgr.c if (!err && desc->suite.aead.dec.vecs) err 906 crypto/testmgr.c err = test_aead(tfm, DECRYPT, desc->suite.aead.dec.vecs, err 911 crypto/testmgr.c return err; err 918 crypto/testmgr.c int err = 0; err 928 crypto/testmgr.c err = test_cipher(tfm, ENCRYPT, desc->suite.cipher.enc.vecs, err 930 crypto/testmgr.c if (err) err 935 crypto/testmgr.c err = test_cipher(tfm, DECRYPT, desc->suite.cipher.dec.vecs, err 940 crypto/testmgr.c return err; err 947 crypto/testmgr.c int err = 0; err 957 crypto/testmgr.c err = test_skcipher(tfm, ENCRYPT, desc->suite.cipher.enc.vecs, err 959 crypto/testmgr.c if (err) err 964 crypto/testmgr.c err = test_skcipher(tfm, DECRYPT, desc->suite.cipher.dec.vecs, err 969 crypto/testmgr.c return err; err 976 crypto/testmgr.c int err; err 985 crypto/testmgr.c err = test_comp(tfm, desc->suite.comp.comp.vecs, err 991 crypto/testmgr.c return err; err 998 crypto/testmgr.c int err; err 1007 crypto/testmgr.c err = test_hash(tfm, desc->suite.hash.vecs, desc->suite.hash.count); err 1010 crypto/testmgr.c return err; err 73 crypto/xcbc.c int err = 0; err 76 crypto/xcbc.c if ((err = crypto_cipher_setkey(ctx->child, ctx->key, ctx->keylen))) err 77 crypto/xcbc.c return err; err 207 crypto/xcbc.c int err = 0; err 212 crypto/xcbc.c if ((err = crypto_cipher_setkey(tfm, ctx->key, ctx->keylen)) != 0) err 213 crypto/xcbc.c return err; err 234 crypto/xcbc.c if ((err = crypto_cipher_setkey(tfm, ctx->key, ctx->keylen)) != 0) err 235 crypto/xcbc.c return err; err 300 crypto/xcbc.c int err; err 302 crypto/xcbc.c err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_HASH); err 303 crypto/xcbc.c if (err) err 304 crypto/xcbc.c return ERR_PTR(err); err 38 crypto/xts.c int err; err 56 crypto/xts.c err = crypto_cipher_setkey(child, key + keylen/2, keylen/2); err 57 crypto/xts.c if (err) err 58 crypto/xts.c return err; err 69 crypto/xts.c err = crypto_cipher_setkey(child, key, keylen/2); err 70 crypto/xts.c if (err) err 71 crypto/xts.c return err; err 97 crypto/xts.c int err; err 107 crypto/xts.c err = blkcipher_walk_virt(d, w); err 109 crypto/xts.c return err; err 133 crypto/xts.c err = blkcipher_walk_done(d, w, avail); err 143 crypto/xts.c return err; err 218 crypto/xts.c int err; err 220 crypto/xts.c err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_BLKCIPHER); err 221 crypto/xts.c if (err) err 222 crypto/xts.c return ERR_PTR(err); err 55 fs/9p/vfs_file.c int err; err 69 fs/9p/vfs_file.c err = p9_client_open(fid, omode); err 70 fs/9p/vfs_file.c if (err < 0) { err 72 fs/9p/vfs_file.c return err; err 335 fs/9p/vfs_inode.c int err, umode; err 342 fs/9p/vfs_inode.c err = PTR_ERR(st); err 350 fs/9p/vfs_inode.c err = PTR_ERR(ret); err 365 fs/9p/vfs_inode.c return ERR_PTR(err); err 415 fs/9p/vfs_inode.c int err; err 420 fs/9p/vfs_inode.c err = 0; err 426 fs/9p/vfs_inode.c err = PTR_ERR(dfid); err 434 fs/9p/vfs_inode.c err = PTR_ERR(ofid); err 439 fs/9p/vfs_inode.c err = p9_client_fcreate(ofid, name, perm, mode, extension); err 440 fs/9p/vfs_inode.c if (err < 0) err 446 fs/9p/vfs_inode.c err = PTR_ERR(fid); err 455 fs/9p/vfs_inode.c err = PTR_ERR(inode); err 478 fs/9p/vfs_inode.c return ERR_PTR(err); err 494 fs/9p/vfs_inode.c int err; err 501 fs/9p/vfs_inode.c err = 0; err 513 fs/9p/vfs_inode.c err = PTR_ERR(fid); err 522 fs/9p/vfs_inode.c err = PTR_ERR(filp); err 536 fs/9p/vfs_inode.c return err; err 549 fs/9p/vfs_inode.c int err; err 555 fs/9p/vfs_inode.c err = 0; err 560 fs/9p/vfs_inode.c err = PTR_ERR(fid); err 567 fs/9p/vfs_inode.c return err; err 734 fs/9p/vfs_inode.c int err; err 740 fs/9p/vfs_inode.c err = -EPERM; err 508 fs/adfs/super.c int err = init_inodecache(); err 509 fs/adfs/super.c if (err) err 511 fs/adfs/super.c err = register_filesystem(&adfs_fs_type); err 512 fs/adfs/super.c if (err) err 518 fs/adfs/super.c return err; err 127 fs/affs/file.c goto err; err 137 fs/affs/file.c err: err 247 fs/affs/file.c int err; err 249 fs/affs/file.c err = affs_grow_extcache(inode, lc_idx); err 250 fs/affs/file.c if (err) err 251 fs/affs/file.c return ERR_PTR(err); err 433 fs/affs/file.c int err; err 436 fs/affs/file.c err = affs_get_block(inode, block, &tmp_bh, create); err 437 fs/affs/file.c if (!err) { err 443 fs/affs/file.c err = -EIO; err 445 fs/affs/file.c return ERR_PTR(err); err 452 fs/affs/file.c int err; err 455 fs/affs/file.c err = affs_get_block(inode, block, &tmp_bh, 1); err 456 fs/affs/file.c if (!err) { err 462 fs/affs/file.c err = -EIO; err 464 fs/affs/file.c return ERR_PTR(err); err 471 fs/affs/file.c int err; err 474 fs/affs/file.c err = affs_get_block(inode, block, &tmp_bh, 1); err 475 fs/affs/file.c if (!err) { err 481 fs/affs/file.c err = -EIO; err 483 fs/affs/file.c return ERR_PTR(err); err 595 fs/affs/file.c int err; err 604 fs/affs/file.c err = affs_do_readpage_ofs(file, page, 0, to); err 605 fs/affs/file.c if (!err) err 608 fs/affs/file.c return err; err 618 fs/affs/file.c int err = 0; err 625 fs/affs/file.c err = affs_extent_file_ofs(inode, pos); err 626 fs/affs/file.c if (err) err 627 fs/affs/file.c return err; err 640 fs/affs/file.c err = affs_do_readpage_ofs(file, page, 0, PAGE_CACHE_SIZE); err 641 fs/affs/file.c if (err) { err 645 fs/affs/file.c return err; err 357 fs/affs/inode.c goto err; err 362 fs/affs/inode.c goto err; err 400 fs/affs/inode.c err: err 339 fs/affs/namei.c goto err; err 374 fs/affs/namei.c goto err; err 378 fs/affs/namei.c err: err 566 fs/affs/super.c int err = init_inodecache(); err 567 fs/affs/super.c if (err) err 569 fs/affs/super.c err = register_filesystem(&affs_fs_type); err 570 fs/affs/super.c if (err) err 576 fs/affs/super.c return err; err 19 fs/affs/symlink.c int err; err 27 fs/affs/symlink.c err = -EIO; err 66 fs/affs/symlink.c return err; err 216 fs/afs/mntpt.c int err; err 235 fs/afs/mntpt.c err = do_add_mount(newmnt, &nd->path, MNT_SHRINKABLE, &afs_vfsmounts); err 236 fs/afs/mntpt.c switch (err) { err 249 fs/afs/mntpt.c err = 0; err 255 fs/afs/mntpt.c _leave(" = %d", err); err 256 fs/afs/mntpt.c return ERR_PTR(err); err 95 fs/befs/datastream.c int err; err 99 fs/befs/datastream.c err = befs_find_brun_direct(sb, data, fblock, run); err 102 fs/befs/datastream.c err = befs_find_brun_indirect(sb, data, fblock, run); err 105 fs/befs/datastream.c err = befs_find_brun_dblindirect(sb, data, fblock, run); err 111 fs/befs/datastream.c err = BEFS_ERR; err 113 fs/befs/datastream.c return err; err 936 fs/befs/linuxvfs.c int err; err 940 fs/befs/linuxvfs.c err = befs_init_inodecache(); err 941 fs/befs/linuxvfs.c if (err) err 944 fs/befs/linuxvfs.c err = register_filesystem(&befs_fs_type); err 945 fs/befs/linuxvfs.c if (err) err 954 fs/befs/linuxvfs.c return err; err 90 fs/bfs/dir.c int err; err 124 fs/bfs/dir.c err = bfs_add_entry(dir, dentry->d_name.name, dentry->d_name.len, err 126 fs/bfs/dir.c if (err) { err 130 fs/bfs/dir.c return err; err 169 fs/bfs/dir.c int err; err 172 fs/bfs/dir.c err = bfs_add_entry(dir, new->d_name.name, new->d_name.len, err 174 fs/bfs/dir.c if (err) { err 176 fs/bfs/dir.c return err; err 70 fs/bfs/file.c int err; err 117 fs/bfs/file.c err = 0; err 124 fs/bfs/file.c err = -ENOSPC; err 129 fs/bfs/file.c err = bfs_move_blocks(inode->i_sb, bi->i_sblock, err 131 fs/bfs/file.c if (err) { err 137 fs/bfs/file.c err = 0; err 155 fs/bfs/file.c return err; err 443 fs/bfs/inode.c int err = init_inodecache(); err 444 fs/bfs/inode.c if (err) err 446 fs/bfs/inode.c err = register_filesystem(&bfs_fs_type); err 447 fs/bfs/inode.c if (err) err 453 fs/bfs/inode.c return err; err 453 fs/binfmt_flat.c goto err; err 464 fs/binfmt_flat.c goto err; err 472 fs/binfmt_flat.c goto err; err 486 fs/binfmt_flat.c goto err; err 500 fs/binfmt_flat.c goto err; err 508 fs/binfmt_flat.c goto err; err 542 fs/binfmt_flat.c goto err; err 566 fs/binfmt_flat.c goto err; err 589 fs/binfmt_flat.c goto err; err 617 fs/binfmt_flat.c goto err; err 663 fs/binfmt_flat.c goto err; err 728 fs/binfmt_flat.c goto err; err 761 fs/binfmt_flat.c goto err; err 777 fs/binfmt_flat.c goto err; err 798 fs/binfmt_flat.c err: err 296 fs/binfmt_misc.c int memsize, err; err 301 fs/binfmt_misc.c err = -EINVAL; err 305 fs/binfmt_misc.c err = -ENOMEM; err 400 fs/binfmt_misc.c return ERR_PTR(err); err 592 fs/binfmt_misc.c int err = 0; err 602 fs/binfmt_misc.c err = PTR_ERR(dentry); err 606 fs/binfmt_misc.c err = -EEXIST; err 612 fs/binfmt_misc.c err = -ENOMEM; err 616 fs/binfmt_misc.c err = simple_pin_fs(&bm_fs_type, &bm_mnt, &entry_count); err 617 fs/binfmt_misc.c if (err) { err 632 fs/binfmt_misc.c err = 0; err 639 fs/binfmt_misc.c if (err) { err 701 fs/binfmt_misc.c int err = simple_fill_super(sb, 0x42494e4d, bm_files); err 702 fs/binfmt_misc.c if (!err) err 704 fs/binfmt_misc.c return err; err 727 fs/binfmt_misc.c int err = register_filesystem(&bm_fs_type); err 728 fs/binfmt_misc.c if (!err) { err 729 fs/binfmt_misc.c err = register_binfmt(&misc_format); err 730 fs/binfmt_misc.c if (err) err 733 fs/binfmt_misc.c return err; err 1026 fs/bio.c if (read && !err) err 1239 fs/bio.c if (err) err 1240 fs/bio.c bp->error = err; err 1249 fs/bio.c if (err) err 1250 fs/bio.c bp->error = err; err 334 fs/block_dev.c int err; err 339 fs/block_dev.c err = register_filesystem(&bd_type); err 340 fs/block_dev.c if (err) err 676 fs/block_dev.c int err; err 684 fs/block_dev.c err = add_symlink(bo->sdir, bo->sdev); err 685 fs/block_dev.c if (err) err 686 fs/block_dev.c return err; err 688 fs/block_dev.c err = add_symlink(bo->hdir, bo->hdev); err 689 fs/block_dev.c if (err) { err 691 fs/block_dev.c return err; err 753 fs/block_dev.c int err; err 765 fs/block_dev.c err = bd_claim(bdev, holder); err 766 fs/block_dev.c if (err) err 773 fs/block_dev.c err = add_bd_holder(bdev, bo); err 774 fs/block_dev.c if (err) err 781 fs/block_dev.c return err; err 846 fs/block_dev.c int err = -ENOMEM; err 849 fs/block_dev.c err = blkdev_get(bdev, mode, flags); err 850 fs/block_dev.c return err ? ERR_PTR(err) : bdev; err 611 fs/buffer.c int err = 0; err 622 fs/buffer.c err = -EIO; err 629 fs/buffer.c return err; err 800 fs/buffer.c int err = 0, err2; err 847 fs/buffer.c err = -EIO; err 854 fs/buffer.c if (err) err 855 fs/buffer.c return err; err 1647 fs/buffer.c int err; err 1696 fs/buffer.c err = get_block(inode, block, bh, 1); err 1697 fs/buffer.c if (err) err 1751 fs/buffer.c err = 0; err 1766 fs/buffer.c return err; err 1792 fs/buffer.c mapping_set_error(page->mapping, err); err 1854 fs/buffer.c int err = 0; err 1885 fs/buffer.c err = get_block(inode, block, bh, 1); err 1886 fs/buffer.c if (err) err 1922 fs/buffer.c err = -EIO; err 1924 fs/buffer.c if (unlikely(err)) err 1926 fs/buffer.c return err; err 2177 fs/buffer.c int err = 0; err 2182 fs/buffer.c err = get_block(inode, iblock, bh, 0); err 2183 fs/buffer.c if (err) err 2188 fs/buffer.c if (!err) err 2248 fs/buffer.c int err; err 2250 fs/buffer.c err = -EFBIG; err 2259 fs/buffer.c err = pagecache_write_begin(NULL, mapping, size, 0, err 2262 fs/buffer.c if (err) err 2265 fs/buffer.c err = pagecache_write_end(NULL, mapping, size, 0, 0, page, fsdata); err 2266 fs/buffer.c BUG_ON(err > 0); err 2269 fs/buffer.c return err; err 2282 fs/buffer.c int err = 0; err 2295 fs/buffer.c err = pagecache_write_begin(file, mapping, curpos, len, err 2298 fs/buffer.c if (err) err 2301 fs/buffer.c err = pagecache_write_end(file, mapping, curpos, len, len, err 2303 fs/buffer.c if (err < 0) err 2305 fs/buffer.c BUG_ON(err != len); err 2306 fs/buffer.c err = 0; err 2324 fs/buffer.c err = pagecache_write_begin(file, mapping, curpos, len, err 2327 fs/buffer.c if (err) err 2330 fs/buffer.c err = pagecache_write_end(file, mapping, curpos, len, len, err 2332 fs/buffer.c if (err < 0) err 2334 fs/buffer.c BUG_ON(err != len); err 2335 fs/buffer.c err = 0; err 2338 fs/buffer.c return err; err 2353 fs/buffer.c int err; err 2355 fs/buffer.c err = cont_expand_zero(file, mapping, pos, bytes); err 2356 fs/buffer.c if (err) err 2366 fs/buffer.c err = block_write_begin(file, mapping, pos, len, err 2369 fs/buffer.c return err; err 2376 fs/buffer.c int err = __block_prepare_write(inode, page, from, to, get_block); err 2377 fs/buffer.c if (err) err 2379 fs/buffer.c return err; err 2716 fs/buffer.c int err; err 2729 fs/buffer.c err = -ENOMEM; err 2747 fs/buffer.c err = get_block(inode, iblock, &map_bh, 0); err 2748 fs/buffer.c if (err) err 2756 fs/buffer.c err = mapping->a_ops->readpage(NULL, page); err 2757 fs/buffer.c if (err) { err 2763 fs/buffer.c err = -EIO; err 2771 fs/buffer.c err = 0; err 2777 fs/buffer.c return err; err 2792 fs/buffer.c int err; err 2805 fs/buffer.c err = -ENOMEM; err 2821 fs/buffer.c err = 0; err 2824 fs/buffer.c err = get_block(inode, iblock, bh, 0); err 2825 fs/buffer.c if (err) err 2837 fs/buffer.c err = -EIO; err 2847 fs/buffer.c err = 0; err 2853 fs/buffer.c return err; err 2911 fs/buffer.c if (err == -EOPNOTSUPP) { err 271 fs/char_dev.c int err = -ENOMEM; err 287 fs/char_dev.c err = cdev_add(cdev, MKDEV(cd->major, 0), 256); err 288 fs/char_dev.c if (err) err 298 fs/char_dev.c return err; err 226 fs/cifs/cifs_dfs_ref.c int err; err 229 fs/cifs/cifs_dfs_ref.c err = do_add_mount(newmnt, &nd->path, nd->path.mnt->mnt_flags, mntlist); err 230 fs/cifs/cifs_dfs_ref.c switch (err) { err 243 fs/cifs/cifs_dfs_ref.c err = 0; err 248 fs/cifs/cifs_dfs_ref.c return err; err 1482 fs/cifs/inode.c int err = cifs_revalidate(dentry); err 1483 fs/cifs/inode.c if (!err) { err 1487 fs/cifs/inode.c return err; err 776 fs/cifs/netmisc.c __u32 err = le32_to_cpu(smb->Status.CifsError); err 777 fs/cifs/netmisc.c if (logErr && (err != (NT_STATUS_MORE_PROCESSING_REQUIRED))) err 778 fs/cifs/netmisc.c cifs_print_status(err); err 780 fs/cifs/netmisc.c cifs_print_status(err); err 781 fs/cifs/netmisc.c ntstatus_to_dos(err, &smberrclass, &smberrcode); err 169 fs/coda/file.c int err = 0; err 176 fs/coda/file.c err = venus_close(coda_inode->i_sb, coda_i2f(coda_inode), err 206 fs/coda/file.c int err = 0; err 220 fs/coda/file.c err = host_file->f_op->fsync(host_file, host_dentry, datasync); err 224 fs/coda/file.c if ( !err && !datasync ) { err 226 fs/coda/file.c err = venus_fsync(coda_inode->i_sb, coda_i2f(coda_inode)); err 230 fs/coda/file.c return err; err 225 fs/coda/inode.c int err = coda_revalidate_inode(dentry); err 226 fs/coda/inode.c if (!err) err 228 fs/coda/inode.c return err; err 273 fs/coda/psdev.c int idx, err; err 281 fs/coda/psdev.c err = -EBUSY; err 293 fs/coda/psdev.c err = 0; err 297 fs/coda/psdev.c return err; err 353 fs/coda/psdev.c int i, err = 0; err 361 fs/coda/psdev.c err = PTR_ERR(coda_psdev_class); err 374 fs/coda/psdev.c return err; err 417 fs/coda/psdev.c int err, i; err 419 fs/coda/psdev.c err = unregister_filesystem(&coda_fs_type); err 420 fs/coda/psdev.c if ( err != 0 ) { err 2004 fs/compat.c int err; err 2006 fs/compat.c err = copy_to_user(res, kres, sizeof(*res)); err 2008 fs/compat.c return (err) ? -EFAULT : 0; err 2018 fs/compat.c int err; err 2023 fs/compat.c err = -ENOMEM; err 2029 fs/compat.c err = compat_nfs_svc_trans(karg, arg); err 2033 fs/compat.c err = compat_nfs_clnt_trans(karg, arg); err 2037 fs/compat.c err = compat_nfs_clnt_trans(karg, arg); err 2042 fs/compat.c err = compat_nfs_exp_trans(karg, arg); err 2046 fs/compat.c err = compat_nfs_getfd_trans(karg, arg); err 2050 fs/compat.c err = compat_nfs_getfs_trans(karg, arg); err 2054 fs/compat.c err = -EINVAL; err 2058 fs/compat.c if (err) err 2064 fs/compat.c err = sys_nfsservctl(cmd, (void __user *) karg, (void __user *) kres); err 2067 fs/compat.c if (err) err 2072 fs/compat.c err = compat_nfs_getfh_res_trans(kres, res); err 2077 fs/compat.c return err; err 2095 fs/compat.c long err; err 2113 fs/compat.c err = sys_epoll_wait(epfd, events, maxevents, timeout); err 2122 fs/compat.c if (err == -EINTR) { err 2130 fs/compat.c return err; err 126 fs/compat_ioctl.c int err; err 130 fs/compat_ioctl.c err = sys_ioctl(fd, cmd, (unsigned long)&val); err 132 fs/compat_ioctl.c if (!err && put_user(val, (u32 __user *)compat_ptr(arg))) err 134 fs/compat_ioctl.c return err; err 141 fs/compat_ioctl.c int err; err 147 fs/compat_ioctl.c err = sys_ioctl(fd, cmd, (unsigned long)&val); err 149 fs/compat_ioctl.c if (!err && put_user(val, argptr)) err 151 fs/compat_ioctl.c return err; err 167 fs/compat_ioctl.c int err; err 170 fs/compat_ioctl.c err = sys_ioctl(fd, cmd, (unsigned long) &kevent); err 173 fs/compat_ioctl.c if (!err) { err 176 fs/compat_ioctl.c err = put_user(kevent.type, &up->type); err 177 fs/compat_ioctl.c err |= put_user(kevent.timestamp, &up->timestamp); err 178 fs/compat_ioctl.c err |= put_user(kevent.u.size.w, &up->u.size.w); err 179 fs/compat_ioctl.c err |= put_user(kevent.u.size.h, &up->u.size.h); err 180 fs/compat_ioctl.c err |= put_user(kevent.u.size.aspect_ratio, err 182 fs/compat_ioctl.c if (err) err 183 fs/compat_ioctl.c err = -EFAULT; err 186 fs/compat_ioctl.c return err; err 200 fs/compat_ioctl.c int err; err 203 fs/compat_ioctl.c err = get_user(fp, &up->iFrame); err 204 fs/compat_ioctl.c err |= get_user(size, &up->size); err 205 fs/compat_ioctl.c if (err) err 211 fs/compat_ioctl.c err = put_user(compat_ptr(fp), &up_native->iFrame); err 212 fs/compat_ioctl.c err |= put_user(size, &up_native->size); err 213 fs/compat_ioctl.c if (err) err 216 fs/compat_ioctl.c err = sys_ioctl(fd, cmd, (unsigned long) up_native); err 218 fs/compat_ioctl.c return err; err 231 fs/compat_ioctl.c int length, err; err 234 fs/compat_ioctl.c err = get_user(palp, &up->palette); err 235 fs/compat_ioctl.c err |= get_user(length, &up->length); err 238 fs/compat_ioctl.c err = put_user(compat_ptr(palp), &up_native->palette); err 239 fs/compat_ioctl.c err |= put_user(length, &up_native->length); err 240 fs/compat_ioctl.c if (err) err 243 fs/compat_ioctl.c err = sys_ioctl(fd, cmd, (unsigned long) up_native); err 245 fs/compat_ioctl.c return err; err 254 fs/compat_ioctl.c int err; err 257 fs/compat_ioctl.c err = sys_ioctl(fd, cmd, (unsigned long)&ktv); err 259 fs/compat_ioctl.c if(!err) { err 260 fs/compat_ioctl.c err = put_user(ktv.tv_sec, &up->tv_sec); err 261 fs/compat_ioctl.c err |= __put_user(ktv.tv_usec, &up->tv_usec); err 263 fs/compat_ioctl.c return err; err 271 fs/compat_ioctl.c int err; err 274 fs/compat_ioctl.c err = sys_ioctl(fd, cmd, (unsigned long)&kts); err 276 fs/compat_ioctl.c if (!err) { err 277 fs/compat_ioctl.c err = put_user(kts.tv_sec, &up->tv_sec); err 278 fs/compat_ioctl.c err |= __put_user(kts.tv_nsec, &up->tv_nsec); err 280 fs/compat_ioctl.c return err; err 323 fs/compat_ioctl.c int err; err 329 fs/compat_ioctl.c err = sys_ioctl(fd, SIOCGIFNAME, (unsigned long)uifr); err 330 fs/compat_ioctl.c if (err) err 331 fs/compat_ioctl.c return err; err 347 fs/compat_ioctl.c int err; err 374 fs/compat_ioctl.c err = sys_ioctl (fd, SIOCGIFCONF, (unsigned long)uifc); err 375 fs/compat_ioctl.c if (err) err 376 fs/compat_ioctl.c return err; err 437 fs/compat_ioctl.c int err; err 451 fs/compat_ioctl.c err = sys_ioctl (fd, cmd, (unsigned long)&kifr); err 454 fs/compat_ioctl.c return err; err 509 fs/compat_ioctl.c int err; err 515 fs/compat_ioctl.c err = copy_from_user(&ifr, uifr32, sizeof(ifr.ifr_name)); err 516 fs/compat_ioctl.c err |= __get_user(ifr.ifr_map.mem_start, &uifmap32->mem_start); err 517 fs/compat_ioctl.c err |= __get_user(ifr.ifr_map.mem_end, &uifmap32->mem_end); err 518 fs/compat_ioctl.c err |= __get_user(ifr.ifr_map.base_addr, &uifmap32->base_addr); err 519 fs/compat_ioctl.c err |= __get_user(ifr.ifr_map.irq, &uifmap32->irq); err 520 fs/compat_ioctl.c err |= __get_user(ifr.ifr_map.dma, &uifmap32->dma); err 521 fs/compat_ioctl.c err |= __get_user(ifr.ifr_map.port, &uifmap32->port); err 522 fs/compat_ioctl.c if (err) err 532 fs/compat_ioctl.c err = sys_ioctl (fd, cmd, (unsigned long)&ifr); err 534 fs/compat_ioctl.c if (!err) { err 556 fs/compat_ioctl.c err = copy_to_user(uifr32, &ifr, sizeof(ifr.ifr_name)); err 557 fs/compat_ioctl.c err |= __put_user(ifr.ifr_map.mem_start, &uifmap32->mem_start); err 558 fs/compat_ioctl.c err |= __put_user(ifr.ifr_map.mem_end, &uifmap32->mem_end); err 559 fs/compat_ioctl.c err |= __put_user(ifr.ifr_map.base_addr, &uifmap32->base_addr); err 560 fs/compat_ioctl.c err |= __put_user(ifr.ifr_map.irq, &uifmap32->irq); err 561 fs/compat_ioctl.c err |= __put_user(ifr.ifr_map.dma, &uifmap32->dma); err 562 fs/compat_ioctl.c err |= __put_user(ifr.ifr_map.port, &uifmap32->port); err 563 fs/compat_ioctl.c if (err) err 564 fs/compat_ioctl.c err = -EFAULT; err 568 fs/compat_ioctl.c return err; err 724 fs/compat_ioctl.c int err; err 791 fs/compat_ioctl.c err = sys_ioctl(fd, cmd, (unsigned long) sgio); err 793 fs/compat_ioctl.c if (err >= 0) { err 805 fs/compat_ioctl.c err = -EFAULT; err 808 fs/compat_ioctl.c return err; err 824 fs/compat_ioctl.c int err, i; err 828 fs/compat_ioctl.c err = sys_ioctl(fd,cmd,(unsigned long)r); err 829 fs/compat_ioctl.c if (err < 0) err 830 fs/compat_ioctl.c return err; err 842 fs/compat_ioctl.c return err; err 898 fs/compat_ioctl.c int err; err 903 fs/compat_ioctl.c err = sys_ioctl(fd, PPPIOCGIDLE, (unsigned long) idle); err 905 fs/compat_ioctl.c if (!err) { err 910 fs/compat_ioctl.c err = -EFAULT; err 912 fs/compat_ioctl.c return err; err 941 fs/compat_ioctl.c int err; err 945 fs/compat_ioctl.c err = ppp_gidle(fd, cmd, arg); err 949 fs/compat_ioctl.c err = ppp_scompress(fd, cmd, arg); err 960 fs/compat_ioctl.c err = -EINVAL; err 964 fs/compat_ioctl.c return err; err 994 fs/compat_ioctl.c int err = 0; err 1016 fs/compat_ioctl.c err = sys_ioctl (fd, kcmd, (unsigned long)karg); err 1018 fs/compat_ioctl.c if (err) err 1019 fs/compat_ioctl.c return err; err 1023 fs/compat_ioctl.c err = __put_user(pos.mt_blkno, &upos32->mt_blkno); err 1027 fs/compat_ioctl.c err = __put_user(get.mt_type, &umget32->mt_type); err 1028 fs/compat_ioctl.c err |= __put_user(get.mt_resid, &umget32->mt_resid); err 1029 fs/compat_ioctl.c err |= __put_user(get.mt_dsreg, &umget32->mt_dsreg); err 1030 fs/compat_ioctl.c err |= __put_user(get.mt_gstat, &umget32->mt_gstat); err 1031 fs/compat_ioctl.c err |= __put_user(get.mt_erreg, &umget32->mt_erreg); err 1032 fs/compat_ioctl.c err |= __put_user(get.mt_fileno, &umget32->mt_fileno); err 1033 fs/compat_ioctl.c err |= __put_user(get.mt_blkno, &umget32->mt_blkno); err 1036 fs/compat_ioctl.c return err ? -EFAULT: 0; err 1200 fs/compat_ioctl.c int err; err 1205 fs/compat_ioctl.c err = sys_ioctl(fd, cmd, (unsigned long)&kuid); err 1208 fs/compat_ioctl.c if (err >= 0) err 1209 fs/compat_ioctl.c err = put_user(kuid, (compat_uid_t __user *)compat_ptr(arg)); err 1211 fs/compat_ioctl.c return err; err 1274 fs/compat_ioctl.c int len, err; err 1287 fs/compat_ioctl.c err = sys_ioctl(fd, cmd, (unsigned long)iobuf); err 1289 fs/compat_ioctl.c if (!err) { err 1292 fs/compat_ioctl.c err = -EFAULT; err 1295 fs/compat_ioctl.c return err; err 1304 fs/compat_ioctl.c int err; err 1316 fs/compat_ioctl.c err = sys_ioctl(fd, cmd, (unsigned long) sioc); err 1318 fs/compat_ioctl.c if (!err) { err 1321 fs/compat_ioctl.c err = -EFAULT; err 1323 fs/compat_ioctl.c return err; err 1424 fs/compat_ioctl.c int err; err 1437 fs/compat_ioctl.c err = sys_ioctl(fd, real_cmd, (unsigned long) buf); err 1439 fs/compat_ioctl.c if (!err) { err 1442 fs/compat_ioctl.c err = -EFAULT; err 1445 fs/compat_ioctl.c return err; err 1542 fs/compat_ioctl.c int err; err 1562 fs/compat_ioctl.c err = sys_ioctl(fd,cmd,(unsigned long)(&ss)); err 1564 fs/compat_ioctl.c if (cmd == TIOCGSERIAL && err >= 0) { err 1576 fs/compat_ioctl.c return err; err 1651 fs/compat_ioctl.c int err; err 1663 fs/compat_ioctl.c err = sys_ioctl(fd, USBDEVFS_DISCSIGNAL, (unsigned long) &kdis); err 1666 fs/compat_ioctl.c return err; err 279 fs/configfs/dir.c int err = 0; err 282 fs/configfs/dir.c err = configfs_make_dirent(parent->d_fsdata, dentry, sl, mode, err 284 fs/configfs/dir.c if (!err) { err 285 fs/configfs/dir.c err = configfs_create(dentry, mode, init_symlink); err 286 fs/configfs/dir.c if (!err) err 298 fs/configfs/dir.c return err; err 376 fs/configfs/dir.c int err; err 386 fs/configfs/dir.c err = -ENOENT; err 398 fs/configfs/dir.c err = configfs_attach_attr(sd, dentry); err 412 fs/configfs/dir.c return ERR_PTR(err); err 1423 fs/configfs/dir.c int err; err 1430 fs/configfs/dir.c err = -ENOENT; err 1434 fs/configfs/dir.c err = PTR_ERR(file->private_data); err 1436 fs/configfs/dir.c err = 0; err 1440 fs/configfs/dir.c return err; err 1578 fs/configfs/dir.c int err; err 1584 fs/configfs/dir.c err = configfs_pin_fs(); err 1585 fs/configfs/dir.c if (err) err 1586 fs/configfs/dir.c return err; err 1601 fs/configfs/dir.c err = -ENOMEM; err 1606 fs/configfs/dir.c err = configfs_attach_group(sd->s_element, &group->cg_item, err 1608 fs/configfs/dir.c if (err) { err 1620 fs/configfs/dir.c if (err) { err 1625 fs/configfs/dir.c return err; err 135 fs/configfs/mount.c int err = -ENOMEM; err 150 fs/configfs/mount.c err = register_filesystem(&configfs_fs_type); err 151 fs/configfs/mount.c if (err) { err 159 fs/configfs/mount.c err = configfs_inode_init(); err 160 fs/configfs/mount.c if (err) { err 167 fs/configfs/mount.c return err; err 30 fs/cramfs/uncompress.c int err; err 38 fs/cramfs/uncompress.c err = zlib_inflateReset(&stream); err 39 fs/cramfs/uncompress.c if (err != Z_OK) { err 40 fs/cramfs/uncompress.c printk("zlib_inflateReset error %d\n", err); err 45 fs/cramfs/uncompress.c err = zlib_inflate(&stream, Z_FINISH); err 46 fs/cramfs/uncompress.c if (err != Z_STREAM_END) err 47 fs/cramfs/uncompress.c goto err; err 50 fs/cramfs/uncompress.c err: err 51 fs/cramfs/uncompress.c printk("Error %d while decompressing!\n", err); err 112 fs/dcookies.c int err = 0; err 118 fs/dcookies.c err = -EINVAL; err 128 fs/dcookies.c err = -ENOMEM; err 136 fs/dcookies.c return err; err 146 fs/dcookies.c int err = -EINVAL; err 161 fs/dcookies.c err = -EINVAL; err 168 fs/dcookies.c err = -ENOMEM; err 177 fs/dcookies.c err = PTR_ERR(path); err 181 fs/dcookies.c err = -ERANGE; err 185 fs/dcookies.c err = pathlen; err 187 fs/dcookies.c err = -EFAULT; err 194 fs/dcookies.c return err; err 202 fs/dcookies.c int err = -ENOMEM; err 215 fs/dcookies.c err = 0; err 245 fs/dcookies.c return err; err 277 fs/devpts/inode.c int err = register_filesystem(&devpts_fs_type); err 278 fs/devpts/inode.c if (!err) { err 281 fs/devpts/inode.c err = PTR_ERR(devpts_mnt); err 283 fs/devpts/inode.c return err; err 1612 fs/dlm/lock.c if (err) err 1613 fs/dlm/lock.c *err = 0; err 1631 fs/dlm/lock.c if (err) err 1632 fs/dlm/lock.c *err = -EDEADLK; err 4071 fs/dlm/lock.c int error = 0, mstype, err, oc, ou; err 4091 fs/dlm/lock.c err = 0; err 4128 fs/dlm/lock.c err = 1; err 4142 fs/dlm/lock.c err = 1; err 4146 fs/dlm/lock.c if (err) err 1354 fs/dlm/lowcomms.c int err; err 1358 fs/dlm/lowcomms.c err = con->rx_action(con); err 1359 fs/dlm/lowcomms.c } while (!err); err 68 fs/dlm/midcomms.c int err = 0; err 84 fs/dlm/midcomms.c err = -EINVAL; err 94 fs/dlm/midcomms.c err = -E2BIG; err 100 fs/dlm/midcomms.c err = 0; err 135 fs/dlm/midcomms.c return err ? err : ret; err 91 fs/dlm/netlink.c goto err; err 93 fs/dlm/netlink.c err: err 46 fs/dlm/util.c switch (err) { err 62 fs/dlm/util.c return err; err 67 fs/dlm/util.c switch (err) { err 83 fs/dlm/util.c return err; err 1859 fs/dquot.c int ret = 0, err; err 1864 fs/dquot.c err = sb->s_qcop->quota_on(sb, cnt, 0, NULL, 1); err 1865 fs/dquot.c if (err < 0 && !ret) err 1866 fs/dquot.c ret = err; err 74 fs/ecryptfs/file.c int err; err 131 fs/ecryptfs/file.c buf.err = 0; err 133 fs/ecryptfs/file.c if (buf.err) err 134 fs/ecryptfs/file.c rc = buf.err; err 123 fs/efs/super.c int err; err 125 fs/efs/super.c err = init_inodecache(); err 126 fs/efs/super.c if (err) err 128 fs/efs/super.c err = register_filesystem(&efs_fs_type); err 129 fs/efs/super.c if (err) err 135 fs/efs/super.c return err; err 21 fs/efs/symlink.c int err; err 23 fs/efs/symlink.c err = -ENAMETOOLONG; err 29 fs/efs/symlink.c err = -EIO; err 54 fs/efs/symlink.c return err; err 238 fs/exec.c int err = -ENOMEM; err 244 fs/exec.c goto err; err 260 fs/exec.c err = insert_vm_struct(mm, vma); err 261 fs/exec.c if (err) { err 263 fs/exec.c goto err; err 273 fs/exec.c err: err 279 fs/exec.c return err; err 351 fs/exec.c int err; err 355 fs/exec.c err = -ENOMEM; err 357 fs/exec.c goto err; err 359 fs/exec.c err = init_new_context(current, mm); err 360 fs/exec.c if (err) err 361 fs/exec.c goto err; err 363 fs/exec.c err = __bprm_mm_init(bprm); err 364 fs/exec.c if (err) err 365 fs/exec.c goto err; err 369 fs/exec.c err: err 375 fs/exec.c return err; err 671 fs/exec.c int err; err 673 fs/exec.c err = path_lookup_open(AT_FDCWD, name, LOOKUP_FOLLOW, &nd, err 675 fs/exec.c if (err) err 678 fs/exec.c err = -EACCES; err 685 fs/exec.c err = vfs_permission(&nd, MAY_EXEC | MAY_OPEN); err 686 fs/exec.c if (err) err 693 fs/exec.c err = deny_write_access(file); err 694 fs/exec.c if (err) { err 705 fs/exec.c return ERR_PTR(err); err 101 fs/exportfs/expfs.c int err = -ESTALE; err 151 fs/exportfs/expfs.c err = PTR_ERR(ppd); err 153 fs/exportfs/expfs.c __func__, pd->d_inode->i_ino, err); err 160 fs/exportfs/expfs.c err = exportfs_get_name(mnt, ppd, nbuf, pd); err 161 fs/exportfs/expfs.c if (err) { err 164 fs/exportfs/expfs.c if (err == -ENOENT) err 176 fs/exportfs/expfs.c err = PTR_ERR(npd); err 178 fs/exportfs/expfs.c __func__, err); err 205 fs/exportfs/expfs.c if (!err) err 206 fs/exportfs/expfs.c err = -ESTALE; err 207 fs/exportfs/expfs.c return err; err 363 fs/exportfs/expfs.c int err; err 384 fs/exportfs/expfs.c err = reconnect_path(mnt, result); err 385 fs/exportfs/expfs.c if (err) err 390 fs/exportfs/expfs.c err = -EACCES; err 419 fs/exportfs/expfs.c err = -ESTALE; err 427 fs/exportfs/expfs.c err = PTR_ERR(target_dir); err 436 fs/exportfs/expfs.c err = reconnect_path(mnt, target_dir); err 437 fs/exportfs/expfs.c if (err) { err 447 fs/exportfs/expfs.c err = exportfs_get_name(mnt, target_dir, nbuf, result); err 448 fs/exportfs/expfs.c if (!err) { err 474 fs/exportfs/expfs.c err = -EACCES; err 483 fs/exportfs/expfs.c return ERR_PTR(err); err 88 fs/ext2/dir.c int err = 0; err 99 fs/ext2/dir.c err = write_one_page(page, 1); err 103 fs/ext2/dir.c return err; err 448 fs/ext2/dir.c int err; err 451 fs/ext2/dir.c err = __ext2_write_begin(NULL, page->mapping, pos, len, err 453 fs/ext2/dir.c BUG_ON(err); err 456 fs/ext2/dir.c err = ext2_commit_chunk(page, pos, len); err 480 fs/ext2/dir.c int err; err 491 fs/ext2/dir.c err = PTR_ERR(page); err 511 fs/ext2/dir.c err = -EIO; err 514 fs/ext2/dir.c err = -EEXIST; err 534 fs/ext2/dir.c err = __ext2_write_begin(NULL, page->mapping, pos, rec_len, 0, err 536 fs/ext2/dir.c if (err) err 548 fs/ext2/dir.c err = ext2_commit_chunk(page, pos, rec_len); err 556 fs/ext2/dir.c return err; err 577 fs/ext2/dir.c int err; err 583 fs/ext2/dir.c err = -EIO; err 593 fs/ext2/dir.c err = __ext2_write_begin(NULL, page->mapping, pos, to - from, 0, err 595 fs/ext2/dir.c BUG_ON(err); err 599 fs/ext2/dir.c err = ext2_commit_chunk(page, pos, to - from); err 605 fs/ext2/dir.c return err; err 617 fs/ext2/dir.c int err; err 623 fs/ext2/dir.c err = __ext2_write_begin(NULL, page->mapping, 0, chunk_size, 0, err 625 fs/ext2/dir.c if (err) { err 645 fs/ext2/dir.c err = ext2_commit_chunk(page, 0, chunk_size); err 648 fs/ext2/dir.c return err; err 37 fs/ext2/fsync.c int err; err 46 fs/ext2/fsync.c err = ext2_sync_inode(inode); err 48 fs/ext2/fsync.c ret = err; err 450 fs/ext2/ialloc.c int err; err 469 fs/ext2/ialloc.c err = -ENOSPC; err 478 fs/ext2/ialloc.c err = -EIO; err 517 fs/ext2/ialloc.c err = -ENOSPC; err 531 fs/ext2/ialloc.c err = -EIO; err 591 fs/ext2/ialloc.c err = -EDQUOT; err 595 fs/ext2/ialloc.c err = ext2_init_acl(inode, dir); err 596 fs/ext2/ialloc.c if (err) err 599 fs/ext2/ialloc.c err = ext2_init_security(inode,dir); err 600 fs/ext2/ialloc.c if (err) err 616 fs/ext2/ialloc.c return ERR_PTR(err); err 621 fs/ext2/ialloc.c return ERR_PTR(err); err 208 fs/ext2/inode.c *err = 0; err 230 fs/ext2/inode.c *err = -EAGAIN; err 233 fs/ext2/inode.c *err = -EIO; err 385 fs/ext2/inode.c current_block = ext2_new_blocks(inode,goal,&count,err); err 386 fs/ext2/inode.c if (*err) err 405 fs/ext2/inode.c *err = 0; err 444 fs/ext2/inode.c int err = 0; err 451 fs/ext2/inode.c *blks, new_blocks, &err); err 452 fs/ext2/inode.c if (err) err 453 fs/ext2/inode.c return err; err 493 fs/ext2/inode.c return err; err 578 fs/ext2/inode.c int err = -EIO; err 593 fs/ext2/inode.c return (err); err 595 fs/ext2/inode.c partial = ext2_get_branch(inode, depth, offsets, chain, &err); err 626 fs/ext2/inode.c if (!create || err == -EIO) err 651 fs/ext2/inode.c err = ext2_alloc_branch(inode, indirect_blks, &count, goal, err 654 fs/ext2/inode.c if (err) { err 663 fs/ext2/inode.c err = ext2_clear_xip_target (inode, err 665 fs/ext2/inode.c if (err) { err 678 fs/ext2/inode.c err = count; err 686 fs/ext2/inode.c return err; err 877 fs/ext2/inode.c int k, err; err 882 fs/ext2/inode.c partial = ext2_get_branch(inode, k, offsets, chain, &err); err 1327 fs/ext2/inode.c int err = 0; err 1414 fs/ext2/inode.c err = -EIO; err 1419 fs/ext2/inode.c return err; err 41 fs/ext2/namei.c int err = ext2_add_link(dentry, inode); err 42 fs/ext2/namei.c if (!err) { err 48 fs/ext2/namei.c return err; err 109 fs/ext2/namei.c int err = PTR_ERR(inode); err 123 fs/ext2/namei.c err = ext2_add_nondir(dentry, inode); err 125 fs/ext2/namei.c return err; err 131 fs/ext2/namei.c int err; err 137 fs/ext2/namei.c err = PTR_ERR(inode); err 144 fs/ext2/namei.c err = ext2_add_nondir(dentry, inode); err 146 fs/ext2/namei.c return err; err 153 fs/ext2/namei.c int err = -ENAMETOOLONG; err 161 fs/ext2/namei.c err = PTR_ERR(inode); err 172 fs/ext2/namei.c err = page_symlink(inode, symname, l); err 173 fs/ext2/namei.c if (err) err 183 fs/ext2/namei.c err = ext2_add_nondir(dentry, inode); err 185 fs/ext2/namei.c return err; err 211 fs/ext2/namei.c int err = -EMLINK; err 219 fs/ext2/namei.c err = PTR_ERR(inode); err 232 fs/ext2/namei.c err = ext2_make_empty(inode, dir); err 233 fs/ext2/namei.c if (err) err 236 fs/ext2/namei.c err = ext2_add_link(dentry, inode); err 237 fs/ext2/namei.c if (err) err 242 fs/ext2/namei.c return err; err 258 fs/ext2/namei.c int err = -ENOENT; err 264 fs/ext2/namei.c err = ext2_delete_entry (de, page); err 265 fs/ext2/namei.c if (err) err 270 fs/ext2/namei.c err = 0; err 272 fs/ext2/namei.c return err; err 278 fs/ext2/namei.c int err = -ENOTEMPTY; err 281 fs/ext2/namei.c err = ext2_unlink(dir, dentry); err 282 fs/ext2/namei.c if (!err) { err 288 fs/ext2/namei.c return err; err 300 fs/ext2/namei.c int err = -ENOENT; err 307 fs/ext2/namei.c err = -EIO; err 317 fs/ext2/namei.c err = -ENOTEMPTY; err 321 fs/ext2/namei.c err = -ENOENT; err 333 fs/ext2/namei.c err = -EMLINK; err 338 fs/ext2/namei.c err = ext2_add_link(new_dentry, old_inode); err 339 fs/ext2/namei.c if (err) { err 373 fs/ext2/namei.c return err; err 754 fs/ext2/super.c int err; err 1025 fs/ext2/super.c err = percpu_counter_init(&sbi->s_freeblocks_counter, err 1027 fs/ext2/super.c if (!err) { err 1028 fs/ext2/super.c err = percpu_counter_init(&sbi->s_freeinodes_counter, err 1031 fs/ext2/super.c if (!err) { err 1032 fs/ext2/super.c err = percpu_counter_init(&sbi->s_dirs_counter, err 1035 fs/ext2/super.c if (err) { err 1149 fs/ext2/super.c int err; err 1161 fs/ext2/super.c err = -EINVAL; err 1173 fs/ext2/super.c err = -EINVAL; err 1202 fs/ext2/super.c err = -EROFS; err 1221 fs/ext2/super.c return err; err 1305 fs/ext2/super.c int err = 0; err 1323 fs/ext2/super.c err = ext2_get_block(inode, blk, &tmp_bh, 0); err 1324 fs/ext2/super.c if (err < 0) err 1325 fs/ext2/super.c return err; err 1349 fs/ext2/super.c int err = 0; err 1362 fs/ext2/super.c err = ext2_get_block(inode, blk, &tmp_bh, 1); err 1363 fs/ext2/super.c if (err < 0) err 1370 fs/ext2/super.c err = -EIO; err 1387 fs/ext2/super.c return err; err 1409 fs/ext2/super.c int err = init_ext2_xattr(); err 1410 fs/ext2/super.c if (err) err 1411 fs/ext2/super.c return err; err 1412 fs/ext2/super.c err = init_inodecache(); err 1413 fs/ext2/super.c if (err) err 1415 fs/ext2/super.c err = register_filesystem(&ext2_fs_type); err 1416 fs/ext2/super.c if (err) err 1423 fs/ext2/super.c return err; err 51 fs/ext2/xattr_security.c int err; err 56 fs/ext2/xattr_security.c err = security_inode_init_security(inode, dir, &name, &value, &len); err 57 fs/ext2/xattr_security.c if (err) { err 58 fs/ext2/xattr_security.c if (err == -EOPNOTSUPP) err 60 fs/ext2/xattr_security.c return err; err 62 fs/ext2/xattr_security.c err = ext2_xattr_set(inode, EXT2_XATTR_INDEX_SECURITY, err 66 fs/ext2/xattr_security.c return err; err 489 fs/ext3/balloc.c int err = 0, ret; err 547 fs/ext3/balloc.c err = ext3_journal_get_undo_access(handle, bitmap_bh); err 548 fs/ext3/balloc.c if (err) err 557 fs/ext3/balloc.c err = ext3_journal_get_write_access(handle, gd_bh); err 558 fs/ext3/balloc.c if (err) err 639 fs/ext3/balloc.c err = ext3_journal_dirty_metadata(handle, bitmap_bh); err 644 fs/ext3/balloc.c if (!err) err = ret; err 647 fs/ext3/balloc.c if (overflow && !err) { err 655 fs/ext3/balloc.c ext3_std_error(sb, err); err 1479 fs/ext3/balloc.c int fatal = 0, err; err 1706 fs/ext3/balloc.c err = ext3_journal_dirty_metadata(handle, gdp_bh); err 1708 fs/ext3/balloc.c fatal = err; err 102 fs/ext3/dir.c int err; err 112 fs/ext3/dir.c err = ext3_dx_readdir(filp, dirent, filldir); err 113 fs/ext3/dir.c if (err != ERR_BAD_DX_DIR) { err 114 fs/ext3/dir.c ret = err; err 132 fs/ext3/dir.c err = ext3_get_blocks_handle(NULL, inode, blk, 1, err 134 fs/ext3/dir.c if (err > 0) { err 143 fs/ext3/dir.c bh = ext3_bread(NULL, inode, blk, 0, &err); err 10 fs/ext3/ext3_jbd.c int err = journal_get_undo_access(handle, bh); err 11 fs/ext3/ext3_jbd.c if (err) err 12 fs/ext3/ext3_jbd.c ext3_journal_abort_handle(where, __func__, bh, handle,err); err 13 fs/ext3/ext3_jbd.c return err; err 19 fs/ext3/ext3_jbd.c int err = journal_get_write_access(handle, bh); err 20 fs/ext3/ext3_jbd.c if (err) err 21 fs/ext3/ext3_jbd.c ext3_journal_abort_handle(where, __func__, bh, handle,err); err 22 fs/ext3/ext3_jbd.c return err; err 28 fs/ext3/ext3_jbd.c int err = journal_forget(handle, bh); err 29 fs/ext3/ext3_jbd.c if (err) err 30 fs/ext3/ext3_jbd.c ext3_journal_abort_handle(where, __func__, bh, handle,err); err 31 fs/ext3/ext3_jbd.c return err; err 37 fs/ext3/ext3_jbd.c int err = journal_revoke(handle, blocknr, bh); err 38 fs/ext3/ext3_jbd.c if (err) err 39 fs/ext3/ext3_jbd.c ext3_journal_abort_handle(where, __func__, bh, handle,err); err 40 fs/ext3/ext3_jbd.c return err; err 46 fs/ext3/ext3_jbd.c int err = journal_get_create_access(handle, bh); err 47 fs/ext3/ext3_jbd.c if (err) err 48 fs/ext3/ext3_jbd.c ext3_journal_abort_handle(where, __func__, bh, handle,err); err 49 fs/ext3/ext3_jbd.c return err; err 55 fs/ext3/ext3_jbd.c int err = journal_dirty_metadata(handle, bh); err 56 fs/ext3/ext3_jbd.c if (err) err 57 fs/ext3/ext3_jbd.c ext3_journal_abort_handle(where, __func__, bh, handle,err); err 58 fs/ext3/ext3_jbd.c return err; err 57 fs/ext3/file.c int err; err 103 fs/ext3/file.c err = ext3_force_commit(inode->i_sb); err 104 fs/ext3/file.c if (err) err 105 fs/ext3/file.c return err; err 101 fs/ext3/ialloc.c int fatal = 0, err; err 177 fs/ext3/ialloc.c err = ext3_journal_dirty_metadata(handle, bh2); err 178 fs/ext3/ialloc.c if (!fatal) fatal = err; err 181 fs/ext3/ialloc.c err = ext3_journal_dirty_metadata(handle, bitmap_bh); err 183 fs/ext3/ialloc.c fatal = err; err 431 fs/ext3/ialloc.c int err = 0; err 455 fs/ext3/ialloc.c err = -ENOSPC; err 460 fs/ext3/ialloc.c err = -EIO; err 479 fs/ext3/ialloc.c err = ext3_journal_get_write_access(handle, bitmap_bh); err 480 fs/ext3/ialloc.c if (err) err 488 fs/ext3/ialloc.c err = ext3_journal_dirty_metadata(handle, err 490 fs/ext3/ialloc.c if (err) err 511 fs/ext3/ialloc.c err = -ENOSPC; err 520 fs/ext3/ialloc.c err = -EIO; err 525 fs/ext3/ialloc.c err = ext3_journal_get_write_access(handle, bh2); err 526 fs/ext3/ialloc.c if (err) goto fail; err 534 fs/ext3/ialloc.c err = ext3_journal_dirty_metadata(handle, bh2); err 535 fs/ext3/ialloc.c if (err) goto fail; err 594 fs/ext3/ialloc.c err = -EDQUOT; err 598 fs/ext3/ialloc.c err = ext3_init_acl(handle, inode, dir); err 599 fs/ext3/ialloc.c if (err) err 602 fs/ext3/ialloc.c err = ext3_init_security(handle,inode, dir); err 603 fs/ext3/ialloc.c if (err) err 606 fs/ext3/ialloc.c err = ext3_mark_inode_dirty(handle, inode); err 607 fs/ext3/ialloc.c if (err) { err 608 fs/ext3/ialloc.c ext3_std_error(sb, err); err 615 fs/ext3/ialloc.c ext3_std_error(sb, err); err 618 fs/ext3/ialloc.c ret = ERR_PTR(err); err 632 fs/ext3/ialloc.c return ERR_PTR(err); err 643 fs/ext3/ialloc.c long err = -EIO; err 686 fs/ext3/ialloc.c err = PTR_ERR(inode); err 709 fs/ext3/ialloc.c return ERR_PTR(err); err 68 fs/ext3/inode.c int err; err 97 fs/ext3/inode.c err = ext3_journal_revoke(handle, blocknr, bh); err 98 fs/ext3/inode.c if (err) err 100 fs/ext3/inode.c "error %d when attempting revoke", err); err 102 fs/ext3/inode.c return err; err 362 fs/ext3/inode.c *err = 0; err 383 fs/ext3/inode.c *err = -EAGAIN; err 386 fs/ext3/inode.c *err = -EIO; err 539 fs/ext3/inode.c current_block = ext3_new_blocks(handle,inode,goal,&count,err); err 540 fs/ext3/inode.c if (*err) err 559 fs/ext3/inode.c *err = 0; err 598 fs/ext3/inode.c int err = 0; err 605 fs/ext3/inode.c *blks, new_blocks, &err); err 606 fs/ext3/inode.c if (err) err 607 fs/ext3/inode.c return err; err 623 fs/ext3/inode.c err = ext3_journal_get_create_access(handle, bh); err 624 fs/ext3/inode.c if (err) { err 649 fs/ext3/inode.c err = ext3_journal_dirty_metadata(handle, bh); err 650 fs/ext3/inode.c if (err) err 654 fs/ext3/inode.c return err; err 666 fs/ext3/inode.c return err; err 687 fs/ext3/inode.c int err = 0; err 699 fs/ext3/inode.c err = ext3_journal_get_write_access(handle, where->bh); err 700 fs/ext3/inode.c if (err) err 745 fs/ext3/inode.c err = ext3_journal_dirty_metadata(handle, where->bh); err 746 fs/ext3/inode.c if (err) err 755 fs/ext3/inode.c return err; err 765 fs/ext3/inode.c return err; err 792 fs/ext3/inode.c int err = -EIO; err 811 fs/ext3/inode.c partial = ext3_get_branch(inode, depth, offsets, chain, &err); err 830 fs/ext3/inode.c err = -EAGAIN; err 841 fs/ext3/inode.c if (err != -EAGAIN) err 846 fs/ext3/inode.c if (!create || err == -EIO) err 863 fs/ext3/inode.c if (err == -EAGAIN || !verify_chain(chain, partial)) { err 868 fs/ext3/inode.c partial = ext3_get_branch(inode, depth, offsets, chain, &err); err 872 fs/ext3/inode.c if (err) err 900 fs/ext3/inode.c err = ext3_alloc_branch(handle, inode, indirect_blks, &count, goal, err 910 fs/ext3/inode.c if (!err) err 911 fs/ext3/inode.c err = ext3_splice_branch(handle, inode, iblock, err 918 fs/ext3/inode.c if (!err && extend_disksize && inode->i_size > ei->i_disksize) err 921 fs/ext3/inode.c if (err) err 929 fs/ext3/inode.c err = count; err 940 fs/ext3/inode.c return err; err 999 fs/ext3/inode.c int fatal = 0, err; err 1006 fs/ext3/inode.c err = ext3_get_blocks_handle(handle, inode, block, 1, err 1012 fs/ext3/inode.c if (err > 0) { err 1013 fs/ext3/inode.c if (err > 1) err 1015 fs/ext3/inode.c err = 0; err 1017 fs/ext3/inode.c *errp = err; err 1018 fs/ext3/inode.c if (!err && buffer_mapped(&dummy)) { err 1023 fs/ext3/inode.c goto err; err 1045 fs/ext3/inode.c err = ext3_journal_dirty_metadata(handle, bh); err 1047 fs/ext3/inode.c fatal = err; err 1058 fs/ext3/inode.c err: err 1067 fs/ext3/inode.c bh = ext3_getblk(handle, inode, block, create, err); err 1077 fs/ext3/inode.c *err = -EIO; err 1092 fs/ext3/inode.c int err, ret = 0; err 1106 fs/ext3/inode.c err = (*fn)(handle, bh); err 1108 fs/ext3/inode.c ret = err; err 1199 fs/ext3/inode.c int err = journal_dirty_data(handle, bh); err 1200 fs/ext3/inode.c if (err) err 1202 fs/ext3/inode.c bh, handle, err); err 1203 fs/ext3/inode.c return err; err 1377 fs/ext3/inode.c int err; err 1401 fs/ext3/inode.c err = journal_flush(journal); err 1404 fs/ext3/inode.c if (err) err 1489 fs/ext3/inode.c int err; err 1530 fs/ext3/inode.c err = walk_page_buffers(handle, page_bufs, 0, PAGE_CACHE_SIZE, err 1533 fs/ext3/inode.c ret = err; err 1537 fs/ext3/inode.c err = ext3_journal_stop(handle); err 1539 fs/ext3/inode.c ret = err; err 1554 fs/ext3/inode.c int err; err 1570 fs/ext3/inode.c err = ext3_journal_stop(handle); err 1572 fs/ext3/inode.c ret = err; err 1587 fs/ext3/inode.c int err; err 1613 fs/ext3/inode.c err = walk_page_buffers(handle, page_buffers(page), 0, err 1616 fs/ext3/inode.c ret = err; err 1627 fs/ext3/inode.c err = ext3_journal_stop(handle); err 1629 fs/ext3/inode.c ret = err; err 1722 fs/ext3/inode.c int err; err 1750 fs/ext3/inode.c err = ext3_journal_stop(handle); err 1752 fs/ext3/inode.c ret = err; err 1845 fs/ext3/inode.c int err = 0; err 1874 fs/ext3/inode.c err = 0; err 1895 fs/ext3/inode.c err = -EIO; err 1905 fs/ext3/inode.c err = ext3_journal_get_write_access(handle, bh); err 1906 fs/ext3/inode.c if (err) err 1913 fs/ext3/inode.c err = 0; err 1915 fs/ext3/inode.c err = ext3_journal_dirty_metadata(handle, bh); err 1918 fs/ext3/inode.c err = ext3_journal_dirty_data(handle, bh); err 1925 fs/ext3/inode.c return err; err 1980 fs/ext3/inode.c int k, err; err 1986 fs/ext3/inode.c partial = ext3_get_branch(inode, k, offsets, chain, &err); err 2103 fs/ext3/inode.c int err; err 2107 fs/ext3/inode.c err = ext3_journal_get_write_access(handle, this_bh); err 2110 fs/ext3/inode.c if (err) err 2852 fs/ext3/inode.c int err = 0, rc, block; err 2913 fs/ext3/inode.c err = ext3_journal_get_write_access(handle, err 2915 fs/ext3/inode.c if (err) err 2922 fs/ext3/inode.c err = ext3_journal_dirty_metadata(handle, err 2947 fs/ext3/inode.c if (!err) err 2948 fs/ext3/inode.c err = rc; err 2953 fs/ext3/inode.c ext3_std_error(inode->i_sb, err); err 2954 fs/ext3/inode.c return err; err 3154 fs/ext3/inode.c int err = 0; err 3160 fs/ext3/inode.c err = ext3_do_update_inode(handle, inode, iloc); err 3162 fs/ext3/inode.c return err; err 3174 fs/ext3/inode.c int err = 0; err 3176 fs/ext3/inode.c err = ext3_get_inode_loc(inode, iloc); err 3177 fs/ext3/inode.c if (!err) { err 3179 fs/ext3/inode.c err = ext3_journal_get_write_access(handle, iloc->bh); err 3180 fs/ext3/inode.c if (err) { err 3186 fs/ext3/inode.c ext3_std_error(inode->i_sb, err); err 3187 fs/ext3/inode.c return err; err 3214 fs/ext3/inode.c int err; err 3217 fs/ext3/inode.c err = ext3_reserve_inode_write(handle, inode, &iloc); err 3218 fs/ext3/inode.c if (!err) err 3219 fs/ext3/inode.c err = ext3_mark_iloc_dirty(handle, inode, &iloc); err 3220 fs/ext3/inode.c return err; err 3272 fs/ext3/inode.c int err = 0; err 3274 fs/ext3/inode.c err = ext3_get_inode_loc(inode, &iloc); err 3275 fs/ext3/inode.c if (!err) { err 3277 fs/ext3/inode.c err = journal_get_write_access(handle, iloc.bh); err 3278 fs/ext3/inode.c if (!err) err 3279 fs/ext3/inode.c err = ext3_journal_dirty_metadata(handle, err 3284 fs/ext3/inode.c ext3_std_error(inode->i_sb, err); err 3285 fs/ext3/inode.c return err; err 3293 fs/ext3/inode.c int err; err 3334 fs/ext3/inode.c err = ext3_mark_inode_dirty(handle, inode); err 3337 fs/ext3/inode.c ext3_std_error(inode->i_sb, err); err 3339 fs/ext3/inode.c return err; err 37 fs/ext3/ioctl.c int err; err 42 fs/ext3/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 43 fs/ext3/ioctl.c if (err) err 44 fs/ext3/ioctl.c return err; err 47 fs/ext3/ioctl.c err = -EACCES; err 52 fs/ext3/ioctl.c err = -EFAULT; err 63 fs/ext3/ioctl.c err = -EPERM; err 80 fs/ext3/ioctl.c err = -EPERM; err 92 fs/ext3/ioctl.c err = -EPERM; err 101 fs/ext3/ioctl.c err = PTR_ERR(handle); err 106 fs/ext3/ioctl.c err = ext3_reserve_inode_write(handle, inode, &iloc); err 107 fs/ext3/ioctl.c if (err) err 117 fs/ext3/ioctl.c err = ext3_mark_iloc_dirty(handle, inode, &iloc); err 120 fs/ext3/ioctl.c if (err) { err 122 fs/ext3/ioctl.c return err; err 126 fs/ext3/ioctl.c err = ext3_change_inode_journal_flag(inode, jflag); err 130 fs/ext3/ioctl.c return err; err 140 fs/ext3/ioctl.c int err; err 144 fs/ext3/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 145 fs/ext3/ioctl.c if (err) err 146 fs/ext3/ioctl.c return err; err 148 fs/ext3/ioctl.c err = -EFAULT; err 153 fs/ext3/ioctl.c err = PTR_ERR(handle); err 156 fs/ext3/ioctl.c err = ext3_reserve_inode_write(handle, inode, &iloc); err 157 fs/ext3/ioctl.c if (err == 0) { err 160 fs/ext3/ioctl.c err = ext3_mark_iloc_dirty(handle, inode, &iloc); err 165 fs/ext3/ioctl.c return err; err 200 fs/ext3/ioctl.c int err; err 205 fs/ext3/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 206 fs/ext3/ioctl.c if (err) err 207 fs/ext3/ioctl.c return err; err 210 fs/ext3/ioctl.c err = -EACCES; err 215 fs/ext3/ioctl.c err = -EFAULT; err 237 fs/ext3/ioctl.c return err; err 242 fs/ext3/ioctl.c int err; err 247 fs/ext3/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 248 fs/ext3/ioctl.c if (err) err 249 fs/ext3/ioctl.c return err; err 252 fs/ext3/ioctl.c err = -EFAULT; err 255 fs/ext3/ioctl.c err = ext3_group_extend(sb, EXT3_SB(sb)->s_es, n_blocks_count); err 261 fs/ext3/ioctl.c return err; err 266 fs/ext3/ioctl.c int err; err 271 fs/ext3/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 272 fs/ext3/ioctl.c if (err) err 273 fs/ext3/ioctl.c return err; err 277 fs/ext3/ioctl.c err = -EFAULT; err 281 fs/ext3/ioctl.c err = ext3_group_add(sb, &input); err 287 fs/ext3/ioctl.c return err; err 60 fs/ext3/namei.c bh = ext3_bread(handle, inode, *block, 1, err); err 64 fs/ext3/namei.c *err = ext3_journal_get_write_access(handle, bh); err 65 fs/ext3/namei.c if (*err) { err 311 fs/ext3/namei.c int err; err 319 fs/ext3/namei.c if (!(bh = ext3_bread (NULL,dir, block, 0,&err))) continue; err 358 fs/ext3/namei.c if (!(bh = ext3_bread (NULL,dir, 0, 0, err))) err 368 fs/ext3/namei.c *err = ERR_BAD_DX_DIR; err 382 fs/ext3/namei.c *err = ERR_BAD_DX_DIR; err 391 fs/ext3/namei.c *err = ERR_BAD_DX_DIR; err 403 fs/ext3/namei.c *err = ERR_BAD_DX_DIR; err 415 fs/ext3/namei.c *err = ERR_BAD_DX_DIR; err 453 fs/ext3/namei.c if (!(bh = ext3_bread (NULL,dir, dx_get_block(at), 0, err))) err 460 fs/ext3/namei.c *err = ERR_BAD_DX_DIR; err 472 fs/ext3/namei.c if (*err == ERR_BAD_DX_DIR) err 513 fs/ext3/namei.c int err, num_frames = 0; err 553 fs/ext3/namei.c 0, &err))) err 554 fs/ext3/namei.c return err; /* Failure */ err 576 fs/ext3/namei.c int err, count = 0; err 579 fs/ext3/namei.c if (!(bh = ext3_bread (NULL, dir, block, 0, &err))) err 580 fs/ext3/namei.c return err; err 603 fs/ext3/namei.c if ((err = ext3_htree_store_dirent(dir_file, err 606 fs/ext3/namei.c return err; err 630 fs/ext3/namei.c int block, err; err 648 fs/ext3/namei.c frame = dx_probe(NULL, dir_file->f_path.dentry->d_inode, &hinfo, frames, &err); err 650 fs/ext3/namei.c return err; err 655 fs/ext3/namei.c if ((err = ext3_htree_store_dirent(dir_file, 0, 0, de)) != 0) err 662 fs/ext3/namei.c if ((err = ext3_htree_store_dirent(dir_file, 2, 0, de)) != 0) err 672 fs/ext3/namei.c err = ret; err 681 fs/ext3/namei.c err = ret; err 699 fs/ext3/namei.c return (err); err 865 fs/ext3/namei.c int nblocks, i, err; err 875 fs/ext3/namei.c bh = ext3_dx_find_entry(dentry, res_dir, &err); err 881 fs/ext3/namei.c if (bh || (err != ERR_BAD_DX_DIR)) err 910 fs/ext3/namei.c bh = ext3_getblk(NULL, dir, b++, 0, &err); err 978 fs/ext3/namei.c if (!(frame = dx_probe(dentry, NULL, &hinfo, frames, err))) err 989 fs/ext3/namei.c if (!(bh = ext3_bread (NULL,dir, block, 0, err))) err 1000 fs/ext3/namei.c *err = ERR_BAD_DX_DIR; err 1018 fs/ext3/namei.c *err = retval; err 1023 fs/ext3/namei.c *err = -ENOENT; err 1178 fs/ext3/namei.c int err = 0; err 1180 fs/ext3/namei.c bh2 = ext3_append (handle, dir, &newblock, &err); err 1188 fs/ext3/namei.c err = ext3_journal_get_write_access(handle, *bh); err 1189 fs/ext3/namei.c if (err) err 1193 fs/ext3/namei.c err = ext3_journal_get_write_access(handle, frame->bh); err 1194 fs/ext3/namei.c if (err) err 1237 fs/ext3/namei.c err = ext3_journal_dirty_metadata (handle, bh2); err 1238 fs/ext3/namei.c if (err) err 1240 fs/ext3/namei.c err = ext3_journal_dirty_metadata (handle, frame->bh); err 1241 fs/ext3/namei.c if (err) err 1251 fs/ext3/namei.c ext3_std_error(dir->i_sb, err); err 1253 fs/ext3/namei.c *error = err; err 1278 fs/ext3/namei.c int nlen, rlen, err; err 1306 fs/ext3/namei.c err = ext3_journal_get_write_access(handle, bh); err 1307 fs/ext3/namei.c if (err) { err 1308 fs/ext3/namei.c ext3_std_error(dir->i_sb, err); err 1310 fs/ext3/namei.c return err; err 1346 fs/ext3/namei.c err = ext3_journal_dirty_metadata(handle, bh); err 1347 fs/ext3/namei.c if (err) err 1348 fs/ext3/namei.c ext3_std_error(dir->i_sb, err); err 1504 fs/ext3/namei.c int err; err 1506 fs/ext3/namei.c frame = dx_probe(dentry, NULL, &hinfo, frames, &err); err 1508 fs/ext3/namei.c return err; err 1512 fs/ext3/namei.c if (!(bh = ext3_bread(handle,dir, dx_get_block(frame->at), 0, &err))) err 1516 fs/ext3/namei.c err = ext3_journal_get_write_access(handle, bh); err 1517 fs/ext3/namei.c if (err) err 1520 fs/ext3/namei.c err = add_dirent_to_buf(handle, dentry, inode, NULL, bh); err 1521 fs/ext3/namei.c if (err != -ENOSPC) { err 1542 fs/ext3/namei.c err = -ENOSPC; err 1545 fs/ext3/namei.c bh2 = ext3_append (handle, dir, &newblock, &err); err 1553 fs/ext3/namei.c err = ext3_journal_get_write_access(handle, frame->bh); err 1554 fs/ext3/namei.c if (err) err 1562 fs/ext3/namei.c err = ext3_journal_get_write_access(handle, err 1564 fs/ext3/namei.c if (err) err 1583 fs/ext3/namei.c err = ext3_journal_dirty_metadata(handle, bh2); err 1584 fs/ext3/namei.c if (err) err 1603 fs/ext3/namei.c err = ext3_journal_get_write_access(handle, err 1605 fs/ext3/namei.c if (err) err 1610 fs/ext3/namei.c de = do_split(handle, dir, &bh, frame, &hinfo, &err); err 1613 fs/ext3/namei.c err = add_dirent_to_buf(handle, dentry, inode, de, bh); err 1618 fs/ext3/namei.c ext3_std_error(dir->i_sb, err); err 1623 fs/ext3/namei.c return err; err 1668 fs/ext3/namei.c int err = ext3_add_entry(handle, dentry, inode); err 1669 fs/ext3/namei.c if (!err) { err 1676 fs/ext3/namei.c return err; err 1692 fs/ext3/namei.c int err, retries = 0; err 1705 fs/ext3/namei.c err = PTR_ERR(inode); err 1710 fs/ext3/namei.c err = ext3_add_nondir(handle, dentry, inode); err 1713 fs/ext3/namei.c if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) err 1715 fs/ext3/namei.c return err; err 1723 fs/ext3/namei.c int err, retries = 0; err 1739 fs/ext3/namei.c err = PTR_ERR(inode); err 1745 fs/ext3/namei.c err = ext3_add_nondir(handle, dentry, inode); err 1748 fs/ext3/namei.c if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) err 1750 fs/ext3/namei.c return err; err 1759 fs/ext3/namei.c int err, retries = 0; err 1775 fs/ext3/namei.c err = PTR_ERR(inode); err 1782 fs/ext3/namei.c dir_block = ext3_bread (handle, inode, 0, 1, &err); err 1809 fs/ext3/namei.c err = ext3_add_entry (handle, dentry, inode); err 1810 fs/ext3/namei.c if (err) { err 1822 fs/ext3/namei.c if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) err 1824 fs/ext3/namei.c return err; err 1836 fs/ext3/namei.c int err = 0; err 1840 fs/ext3/namei.c !(bh = ext3_bread (NULL, inode, 0, 0, &err))) { err 1841 fs/ext3/namei.c if (err) err 1844 fs/ext3/namei.c err, inode->i_ino); err 1869 fs/ext3/namei.c err = 0; err 1872 fs/ext3/namei.c offset >> EXT3_BLOCK_SIZE_BITS(sb), 0, &err); err 1874 fs/ext3/namei.c if (err) err 1878 fs/ext3/namei.c err, inode->i_ino, offset); err 1913 fs/ext3/namei.c int err = 0, rc; err 1932 fs/ext3/namei.c err = ext3_journal_get_write_access(handle, EXT3_SB(sb)->s_sbh); err 1933 fs/ext3/namei.c if (err) err 1936 fs/ext3/namei.c err = ext3_reserve_inode_write(handle, inode, &iloc); err 1937 fs/ext3/namei.c if (err) err 1943 fs/ext3/namei.c err = ext3_journal_dirty_metadata(handle, EXT3_SB(sb)->s_sbh); err 1945 fs/ext3/namei.c if (!err) err 1946 fs/ext3/namei.c err = rc; err 1956 fs/ext3/namei.c if (!err) err 1964 fs/ext3/namei.c ext3_std_error(inode->i_sb, err); err 1965 fs/ext3/namei.c return err; err 1979 fs/ext3/namei.c int err = 0; err 2002 fs/ext3/namei.c err = ext3_reserve_inode_write(handle, inode, &iloc); err 2003 fs/ext3/namei.c if (err) err 2009 fs/ext3/namei.c err = ext3_journal_get_write_access(handle, sbi->s_sbh); err 2010 fs/ext3/namei.c if (err) err 2013 fs/ext3/namei.c err = ext3_journal_dirty_metadata(handle, sbi->s_sbh); err 2021 fs/ext3/namei.c err = ext3_reserve_inode_write(handle, i_prev, &iloc2); err 2022 fs/ext3/namei.c if (err) err 2025 fs/ext3/namei.c err = ext3_mark_iloc_dirty(handle, i_prev, &iloc2); err 2027 fs/ext3/namei.c if (err) err 2030 fs/ext3/namei.c err = ext3_mark_iloc_dirty(handle, inode, &iloc); err 2033 fs/ext3/namei.c ext3_std_error(inode->i_sb, err); err 2036 fs/ext3/namei.c return err; err 2161 fs/ext3/namei.c int l, err, retries = 0; err 2178 fs/ext3/namei.c err = PTR_ERR(inode); err 2190 fs/ext3/namei.c err = __page_symlink(inode, symname, l, err 2192 fs/ext3/namei.c if (err) { err 2204 fs/ext3/namei.c err = ext3_add_nondir(handle, dentry, inode); err 2207 fs/ext3/namei.c if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) err 2209 fs/ext3/namei.c return err; err 2217 fs/ext3/namei.c int err, retries = 0; err 2241 fs/ext3/namei.c err = ext3_add_nondir(handle, dentry, inode); err 2243 fs/ext3/namei.c if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) err 2245 fs/ext3/namei.c return err; err 38 fs/ext3/resize.c int err = -EINVAL; err 109 fs/ext3/resize.c err = 0; err 112 fs/ext3/resize.c return err; err 119 fs/ext3/resize.c int err; err 124 fs/ext3/resize.c if ((err = ext3_journal_get_write_access(handle, bh))) { err 126 fs/ext3/resize.c bh = ERR_PTR(err); err 164 fs/ext3/resize.c int err; err 169 fs/ext3/resize.c err = ext3_journal_extend(handle, EXT3_MAX_TRANS_DATA); err 170 fs/ext3/resize.c if (err < 0) err 171 fs/ext3/resize.c return err; err 172 fs/ext3/resize.c if (err) { err 173 fs/ext3/resize.c err = ext3_journal_restart(handle, EXT3_MAX_TRANS_DATA); err 174 fs/ext3/resize.c if (err) err 175 fs/ext3/resize.c return err; err 176 fs/ext3/resize.c err = ext3_journal_get_write_access(handle, bh); err 177 fs/ext3/resize.c if (err) err 178 fs/ext3/resize.c return err; err 204 fs/ext3/resize.c int err = 0, err2; err 214 fs/ext3/resize.c err = -EBUSY; err 219 fs/ext3/resize.c err = PTR_ERR(bh); err 235 fs/ext3/resize.c err = extend_or_restart_transaction(handle, 1, bh); err 236 fs/ext3/resize.c if (err) err 241 fs/ext3/resize.c err = -EIO; err 244 fs/ext3/resize.c if ((err = ext3_journal_get_write_access(handle, gdb))) { err 264 fs/ext3/resize.c err = extend_or_restart_transaction(handle, 1, bh); err 265 fs/ext3/resize.c if (err) err 269 fs/ext3/resize.c err = PTR_ERR(bh); err 290 fs/ext3/resize.c err = extend_or_restart_transaction(handle, 1, bh); err 291 fs/ext3/resize.c if (err) err 295 fs/ext3/resize.c err = PTR_ERR(it); err 303 fs/ext3/resize.c err = extend_or_restart_transaction(handle, 2, bh); err 304 fs/ext3/resize.c if (err) err 316 fs/ext3/resize.c err = PTR_ERR(bh); err 328 fs/ext3/resize.c if ((err2 = ext3_journal_stop(handle)) && !err) err 329 fs/ext3/resize.c err = err2; err 331 fs/ext3/resize.c return err; err 429 fs/ext3/resize.c int err; err 454 fs/ext3/resize.c err = gdbackups; err 461 fs/ext3/resize.c err = -EIO; err 470 fs/ext3/resize.c err = -EINVAL; err 474 fs/ext3/resize.c if ((err = ext3_journal_get_write_access(handle, EXT3_SB(sb)->s_sbh))) err 477 fs/ext3/resize.c if ((err = ext3_journal_get_write_access(handle, *primary))) err 480 fs/ext3/resize.c if ((err = ext3_journal_get_write_access(handle, dind))) err 484 fs/ext3/resize.c if ((err = ext3_reserve_inode_write(handle, inode, &iloc))) err 490 fs/ext3/resize.c err = -ENOMEM; err 540 fs/ext3/resize.c ext3_debug("leaving with error %d\n", err); err 541 fs/ext3/resize.c return err; err 569 fs/ext3/resize.c int err; err 578 fs/ext3/resize.c err = -EIO; err 595 fs/ext3/resize.c err = -EINVAL; err 600 fs/ext3/resize.c err = -EIO; err 605 fs/ext3/resize.c err = gdbackups; err 613 fs/ext3/resize.c if ((err = ext3_journal_get_write_access(handle, primary[i]))) { err 623 fs/ext3/resize.c if ((err = ext3_reserve_inode_write(handle, inode, &iloc))) err 639 fs/ext3/resize.c if (!err) err 640 fs/ext3/resize.c err = err2; err 653 fs/ext3/resize.c return err; err 683 fs/ext3/resize.c int err = 0, err2; err 688 fs/ext3/resize.c err = PTR_ERR(handle); err 698 fs/ext3/resize.c (err = ext3_journal_restart(handle, EXT3_MAX_TRANS_DATA))) err 703 fs/ext3/resize.c err = -EIO; err 708 fs/ext3/resize.c if ((err = ext3_journal_get_write_access(handle, bh))) err 719 fs/ext3/resize.c if ((err2 = ext3_journal_stop(handle)) && !err) err 720 fs/ext3/resize.c err = err2; err 733 fs/ext3/resize.c if (err) { err 736 fs/ext3/resize.c "forcing fsck on next reboot", group, err); err 767 fs/ext3/resize.c int err, err2; err 806 fs/ext3/resize.c if ((err = verify_group_input(sb, input))) err 809 fs/ext3/resize.c if ((err = setup_new_group_blocks(sb, input))) err 823 fs/ext3/resize.c err = PTR_ERR(handle); err 831 fs/ext3/resize.c err = -EBUSY; err 835 fs/ext3/resize.c if ((err = ext3_journal_get_write_access(handle, sbi->s_sbh))) err 846 fs/ext3/resize.c if ((err = ext3_journal_get_write_access(handle, primary))) err 850 fs/ext3/resize.c (err = reserve_backup_gdb(handle, inode, input))) err 852 fs/ext3/resize.c } else if ((err = add_new_gdb(handle, inode, input, &primary))) err 940 fs/ext3/resize.c if ((err2 = ext3_journal_stop(handle)) && !err) err 941 fs/ext3/resize.c err = err2; err 942 fs/ext3/resize.c if (!err) { err 950 fs/ext3/resize.c return err; err 971 fs/ext3/resize.c int err; err 1043 fs/ext3/resize.c err = PTR_ERR(handle); err 1044 fs/ext3/resize.c ext3_warning(sb, __func__, "error %d on journal start",err); err 1054 fs/ext3/resize.c err = -EBUSY; err 1058 fs/ext3/resize.c if ((err = ext3_journal_get_write_access(handle, err 1061 fs/ext3/resize.c "error %d on journal write access", err); err 1075 fs/ext3/resize.c if ((err = ext3_journal_stop(handle))) err 1083 fs/ext3/resize.c return err; err 104 fs/ext3/super.c int err; err 108 fs/ext3/super.c err = handle->h_err; err 111 fs/ext3/super.c if (!err) err 112 fs/ext3/super.c err = rc; err 113 fs/ext3/super.c if (err) err 114 fs/ext3/super.c __ext3_std_error(sb, where, err); err 115 fs/ext3/super.c return err; err 122 fs/ext3/super.c const char *errstr = ext3_decode_error(NULL, err, nbuf); err 128 fs/ext3/super.c handle->h_err = err; err 1529 fs/ext3/super.c int err; err 1794 fs/ext3/super.c err = percpu_counter_init(&sbi->s_freeblocks_counter, err 1796 fs/ext3/super.c if (!err) { err 1797 fs/ext3/super.c err = percpu_counter_init(&sbi->s_freeinodes_counter, err 1800 fs/ext3/super.c if (!err) { err 1801 fs/ext3/super.c err = percpu_counter_init(&sbi->s_dirs_counter, err 1804 fs/ext3/super.c if (err) { err 2130 fs/ext3/super.c int err = 0; err 2178 fs/ext3/super.c err = journal_update_format(journal); err 2179 fs/ext3/super.c if (err) { err 2182 fs/ext3/super.c return err; err 2187 fs/ext3/super.c err = journal_wipe(journal, !really_read_only); err 2188 fs/ext3/super.c if (!err) err 2189 fs/ext3/super.c err = journal_load(journal); err 2191 fs/ext3/super.c if (err) { err 2194 fs/ext3/super.c return err; err 2217 fs/ext3/super.c int err; err 2232 fs/ext3/super.c err = journal_create(journal); err 2233 fs/ext3/super.c if (err) { err 2422 fs/ext3/super.c int err; err 2443 fs/ext3/super.c err = -EINVAL; err 2460 fs/ext3/super.c err = -EROFS; err 2495 fs/ext3/super.c err = -EROFS; err 2510 fs/ext3/super.c err = -EINVAL; err 2522 fs/ext3/super.c if ((err = ext3_group_extend(sb, es, n_blocks_count))) err 2551 fs/ext3/super.c return err; err 2640 fs/ext3/super.c int ret, err; err 2647 fs/ext3/super.c err = ext3_journal_stop(handle); err 2649 fs/ext3/super.c ret = err; err 2656 fs/ext3/super.c int ret, err; err 2669 fs/ext3/super.c err = ext3_journal_stop(handle); err 2671 fs/ext3/super.c ret = err; err 2677 fs/ext3/super.c int ret, err; err 2687 fs/ext3/super.c err = ext3_journal_stop(handle); err 2689 fs/ext3/super.c ret = err; err 2695 fs/ext3/super.c int ret, err; err 2703 fs/ext3/super.c err = ext3_journal_stop(handle); err 2705 fs/ext3/super.c ret = err; err 2711 fs/ext3/super.c int ret, err; err 2722 fs/ext3/super.c err = ext3_journal_stop(handle); err 2724 fs/ext3/super.c ret = err; err 2742 fs/ext3/super.c int ret, err; err 2750 fs/ext3/super.c err = ext3_journal_stop(handle); err 2752 fs/ext3/super.c ret = err; err 2772 fs/ext3/super.c int err; err 2781 fs/ext3/super.c err = path_lookup(path, LOOKUP_FOLLOW, &nd); err 2782 fs/ext3/super.c if (err) err 2783 fs/ext3/super.c return err; err 2813 fs/ext3/super.c err = vfs_quota_on_path(sb, type, format_id, &nd.path); err 2815 fs/ext3/super.c return err; err 2827 fs/ext3/super.c int err = 0; err 2842 fs/ext3/super.c bh = ext3_bread(NULL, inode, blk, 0, &err); err 2843 fs/ext3/super.c if (err) err 2844 fs/ext3/super.c return err; err 2865 fs/ext3/super.c int err = 0; err 2883 fs/ext3/super.c bh = ext3_bread(handle, inode, blk, 1, &err); err 2887 fs/ext3/super.c err = ext3_journal_get_write_access(handle, bh); err 2888 fs/ext3/super.c if (err) { err 2898 fs/ext3/super.c err = ext3_journal_dirty_metadata(handle, bh); err 2901 fs/ext3/super.c err = ext3_journal_dirty_data(handle, bh); err 2905 fs/ext3/super.c if (err) err 2915 fs/ext3/super.c return err; err 2946 fs/ext3/super.c int err = init_ext3_xattr(); err 2947 fs/ext3/super.c if (err) err 2948 fs/ext3/super.c return err; err 2949 fs/ext3/super.c err = init_inodecache(); err 2950 fs/ext3/super.c if (err) err 2952 fs/ext3/super.c err = register_filesystem(&ext3_fs_type); err 2953 fs/ext3/super.c if (err) err 2960 fs/ext3/super.c return err; err 53 fs/ext3/xattr_security.c int err; err 58 fs/ext3/xattr_security.c err = security_inode_init_security(inode, dir, &name, &value, &len); err 59 fs/ext3/xattr_security.c if (err) { err 60 fs/ext3/xattr_security.c if (err == -EOPNOTSUPP) err 62 fs/ext3/xattr_security.c return err; err 64 fs/ext3/xattr_security.c err = ext3_xattr_set_handle(handle, inode, EXT3_XATTR_INDEX_SECURITY, err 68 fs/ext3/xattr_security.c return err; err 380 fs/ext4/balloc.c int err = 0, ret; err 434 fs/ext4/balloc.c err = ext4_journal_get_undo_access(handle, bitmap_bh); err 435 fs/ext4/balloc.c if (err) err 444 fs/ext4/balloc.c err = ext4_journal_get_write_access(handle, gd_bh); err 445 fs/ext4/balloc.c if (err) err 534 fs/ext4/balloc.c err = ext4_journal_dirty_metadata(handle, bitmap_bh); err 539 fs/ext4/balloc.c if (!err) err = ret; err 542 fs/ext4/balloc.c if (overflow && !err) { err 550 fs/ext4/balloc.c ext4_std_error(sb, err); err 102 fs/ext4/dir.c int err; err 113 fs/ext4/dir.c err = ext4_dx_readdir(filp, dirent, filldir); err 114 fs/ext4/dir.c if (err != ERR_BAD_DX_DIR) { err 115 fs/ext4/dir.c ret = err; err 133 fs/ext4/dir.c err = ext4_get_blocks_wrap(NULL, inode, blk, 1, &map_bh, err 135 fs/ext4/dir.c if (err > 0) { err 144 fs/ext4/dir.c bh = ext4_bread(NULL, inode, blk, 0, &err); err 10 fs/ext4/ext4_jbd2.c int err = jbd2_journal_get_undo_access(handle, bh); err 11 fs/ext4/ext4_jbd2.c if (err) err 12 fs/ext4/ext4_jbd2.c ext4_journal_abort_handle(where, __func__, bh, handle, err); err 13 fs/ext4/ext4_jbd2.c return err; err 19 fs/ext4/ext4_jbd2.c int err = jbd2_journal_get_write_access(handle, bh); err 20 fs/ext4/ext4_jbd2.c if (err) err 21 fs/ext4/ext4_jbd2.c ext4_journal_abort_handle(where, __func__, bh, handle, err); err 22 fs/ext4/ext4_jbd2.c return err; err 28 fs/ext4/ext4_jbd2.c int err = jbd2_journal_forget(handle, bh); err 29 fs/ext4/ext4_jbd2.c if (err) err 30 fs/ext4/ext4_jbd2.c ext4_journal_abort_handle(where, __func__, bh, handle, err); err 31 fs/ext4/ext4_jbd2.c return err; err 37 fs/ext4/ext4_jbd2.c int err = jbd2_journal_revoke(handle, blocknr, bh); err 38 fs/ext4/ext4_jbd2.c if (err) err 39 fs/ext4/ext4_jbd2.c ext4_journal_abort_handle(where, __func__, bh, handle, err); err 40 fs/ext4/ext4_jbd2.c return err; err 46 fs/ext4/ext4_jbd2.c int err = jbd2_journal_get_create_access(handle, bh); err 47 fs/ext4/ext4_jbd2.c if (err) err 48 fs/ext4/ext4_jbd2.c ext4_journal_abort_handle(where, __func__, bh, handle, err); err 49 fs/ext4/ext4_jbd2.c return err; err 55 fs/ext4/ext4_jbd2.c int err = jbd2_journal_dirty_metadata(handle, bh); err 56 fs/ext4/ext4_jbd2.c if (err) err 57 fs/ext4/ext4_jbd2.c ext4_journal_abort_handle(where, __func__, bh, handle, err); err 58 fs/ext4/ext4_jbd2.c return err; err 98 fs/ext4/extents.c int err; err 102 fs/ext4/extents.c err = ext4_journal_extend(handle, needed); err 103 fs/ext4/extents.c if (err <= 0) err 104 fs/ext4/extents.c return err; err 134 fs/ext4/extents.c int err; err 137 fs/ext4/extents.c err = ext4_journal_dirty_metadata(handle, path->p_bh); err 140 fs/ext4/extents.c err = ext4_mark_inode_dirty(handle, inode); err 142 fs/ext4/extents.c return err; err 194 fs/ext4/extents.c newblock = ext4_new_meta_block(handle, inode, goal, err); err 576 fs/ext4/extents.c goto err; err 586 fs/ext4/extents.c goto err; err 603 fs/ext4/extents.c err: err 620 fs/ext4/extents.c int len, err; err 622 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, curp); err 623 fs/ext4/extents.c if (err) err 624 fs/ext4/extents.c return err; err 660 fs/ext4/extents.c err = ext4_ext_dirty(handle, inode, curp); err 661 fs/ext4/extents.c ext4_std_error(inode->i_sb, err); err 663 fs/ext4/extents.c return err; err 689 fs/ext4/extents.c int err = 0; err 729 fs/ext4/extents.c newext, &err); err 740 fs/ext4/extents.c err = -EIO; err 745 fs/ext4/extents.c err = ext4_journal_get_create_access(handle, bh); err 746 fs/ext4/extents.c if (err) err 783 fs/ext4/extents.c err = ext4_journal_dirty_metadata(handle, bh); err 784 fs/ext4/extents.c if (err) err 791 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, path + depth); err 792 fs/ext4/extents.c if (err) err 795 fs/ext4/extents.c err = ext4_ext_dirty(handle, inode, path + depth); err 796 fs/ext4/extents.c if (err) err 814 fs/ext4/extents.c err = -EIO; err 819 fs/ext4/extents.c err = ext4_journal_get_create_access(handle, bh); err 820 fs/ext4/extents.c if (err) err 862 fs/ext4/extents.c err = ext4_journal_dirty_metadata(handle, bh); err 863 fs/ext4/extents.c if (err) err 870 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, path + i); err 871 fs/ext4/extents.c if (err) err 874 fs/ext4/extents.c err = ext4_ext_dirty(handle, inode, path + i); err 875 fs/ext4/extents.c if (err) err 883 fs/ext4/extents.c err = ext4_ext_insert_index(handle, inode, path + at, err 893 fs/ext4/extents.c if (err) { err 903 fs/ext4/extents.c return err; err 923 fs/ext4/extents.c int err = 0; err 925 fs/ext4/extents.c newblock = ext4_ext_new_meta_block(handle, inode, path, newext, &err); err 927 fs/ext4/extents.c return err; err 931 fs/ext4/extents.c err = -EIO; err 932 fs/ext4/extents.c ext4_std_error(inode->i_sb, err); err 933 fs/ext4/extents.c return err; err 937 fs/ext4/extents.c err = ext4_journal_get_create_access(handle, bh); err 938 fs/ext4/extents.c if (err) { err 958 fs/ext4/extents.c err = ext4_journal_dirty_metadata(handle, bh); err 959 fs/ext4/extents.c if (err) err 963 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, curp); err 964 fs/ext4/extents.c if (err) err 987 fs/ext4/extents.c err = ext4_ext_dirty(handle, inode, curp); err 991 fs/ext4/extents.c return err; err 1004 fs/ext4/extents.c int depth, i, err = 0; err 1021 fs/ext4/extents.c err = ext4_ext_split(handle, inode, path, newext, i); err 1022 fs/ext4/extents.c if (err) err 1031 fs/ext4/extents.c err = PTR_ERR(path); err 1034 fs/ext4/extents.c err = ext4_ext_grow_indepth(handle, inode, path, newext); err 1035 fs/ext4/extents.c if (err) err 1044 fs/ext4/extents.c err = PTR_ERR(path); err 1060 fs/ext4/extents.c return err; err 1286 fs/ext4/extents.c int k, err = 0; err 1308 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, path + k); err 1309 fs/ext4/extents.c if (err) err 1310 fs/ext4/extents.c return err; err 1312 fs/ext4/extents.c err = ext4_ext_dirty(handle, inode, path + k); err 1313 fs/ext4/extents.c if (err) err 1314 fs/ext4/extents.c return err; err 1320 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, path + k); err 1321 fs/ext4/extents.c if (err) err 1324 fs/ext4/extents.c err = ext4_ext_dirty(handle, inode, path + k); err 1325 fs/ext4/extents.c if (err) err 1329 fs/ext4/extents.c return err; err 1484 fs/ext4/extents.c int depth, len, err; err 1499 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, path + depth); err 1500 fs/ext4/extents.c if (err) err 1501 fs/ext4/extents.c return err; err 1551 fs/ext4/extents.c err = ext4_ext_create_new_leaf(handle, inode, path, newext); err 1552 fs/ext4/extents.c if (err) err 1560 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, path + depth); err 1561 fs/ext4/extents.c if (err) err 1614 fs/ext4/extents.c err = ext4_ext_correct_indexes(handle, inode, path); err 1615 fs/ext4/extents.c if (err) err 1618 fs/ext4/extents.c err = ext4_ext_dirty(handle, inode, path + depth); err 1627 fs/ext4/extents.c return err; err 1639 fs/ext4/extents.c int depth, exists, err = 0; err 1649 fs/ext4/extents.c err = PTR_ERR(path); err 1707 fs/ext4/extents.c err = func(inode, path, &cbex, ex, cbdata); err 1710 fs/ext4/extents.c if (err < 0) err 1713 fs/ext4/extents.c if (err == EXT_REPEAT) err 1715 fs/ext4/extents.c else if (err == EXT_BREAK) { err 1716 fs/ext4/extents.c err = 0; err 1734 fs/ext4/extents.c return err; err 1837 fs/ext4/extents.c int err; err 1844 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, path); err 1845 fs/ext4/extents.c if (err) err 1846 fs/ext4/extents.c return err; err 1848 fs/ext4/extents.c err = ext4_ext_dirty(handle, inode, path); err 1849 fs/ext4/extents.c if (err) err 1850 fs/ext4/extents.c return err; err 1855 fs/ext4/extents.c return err; err 1971 fs/ext4/extents.c int err = 0, correct_index = 0; err 2042 fs/ext4/extents.c err = ext4_ext_journal_restart(handle, credits); err 2043 fs/ext4/extents.c if (err) err 2046 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, path + depth); err 2047 fs/ext4/extents.c if (err) err 2050 fs/ext4/extents.c err = ext4_remove_blocks(handle, inode, ex, a, b); err 2051 fs/ext4/extents.c if (err) err 2069 fs/ext4/extents.c err = ext4_ext_dirty(handle, inode, path + depth); err 2070 fs/ext4/extents.c if (err) err 2081 fs/ext4/extents.c err = ext4_ext_correct_indexes(handle, inode, path); err 2085 fs/ext4/extents.c if (err == 0 && eh->eh_entries == 0 && path[depth].p_bh != NULL) err 2086 fs/ext4/extents.c err = ext4_ext_rm_idx(handle, inode, path + depth); err 2089 fs/ext4/extents.c return err; err 2119 fs/ext4/extents.c int i = 0, err = 0; err 2141 fs/ext4/extents.c err = -EIO; err 2146 fs/ext4/extents.c while (i >= 0 && err == 0) { err 2149 fs/ext4/extents.c err = ext4_ext_rm_leaf(handle, inode, path, start); err 2187 fs/ext4/extents.c err = -EIO; err 2191 fs/ext4/extents.c err = -EIO; err 2196 fs/ext4/extents.c err = -EIO; err 2211 fs/ext4/extents.c err = ext4_ext_rm_idx(handle, inode, path + i); err 2227 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, path); err 2228 fs/ext4/extents.c if (err == 0) { err 2232 fs/ext4/extents.c err = ext4_ext_dirty(handle, inode, path); err 2241 fs/ext4/extents.c return err; err 2393 fs/ext4/extents.c int err = 0; err 2408 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, path + depth); err 2409 fs/ext4/extents.c if (err) err 2413 fs/ext4/extents.c err = ext4_ext_zeroout(inode, &orig_ex); err 2414 fs/ext4/extents.c if (err) err 2461 fs/ext4/extents.c err = ext4_ext_insert_extent(handle, inode, path, ex3); err 2462 fs/ext4/extents.c if (err == -ENOSPC) { err 2463 fs/ext4/extents.c err = ext4_ext_zeroout(inode, &orig_ex); err 2464 fs/ext4/extents.c if (err) err 2473 fs/ext4/extents.c } else if (err) err 2483 fs/ext4/extents.c err = ext4_ext_zeroout(inode, ex3); err 2484 fs/ext4/extents.c if (err) { err 2495 fs/ext4/extents.c err = PTR_ERR(path); err 2496 fs/ext4/extents.c return err; err 2500 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, err 2502 fs/ext4/extents.c if (err) err 2503 fs/ext4/extents.c return err; err 2506 fs/ext4/extents.c return err; err 2517 fs/ext4/extents.c err = ext4_ext_insert_extent(handle, inode, path, ex3); err 2518 fs/ext4/extents.c if (err == -ENOSPC) { err 2519 fs/ext4/extents.c err = ext4_ext_zeroout(inode, &orig_ex); err 2520 fs/ext4/extents.c if (err) err 2531 fs/ext4/extents.c } else if (err) err 2548 fs/ext4/extents.c err = PTR_ERR(path); err 2556 fs/ext4/extents.c err = ext4_ext_get_access(handle, inode, path + depth); err 2557 fs/ext4/extents.c if (err) err 2568 fs/ext4/extents.c err = ext4_ext_zeroout(inode, &orig_ex); err 2569 fs/ext4/extents.c if (err) err 2611 fs/ext4/extents.c err = ext4_ext_correct_indexes(handle, inode, path); err 2612 fs/ext4/extents.c if (err) err 2626 fs/ext4/extents.c err = ext4_ext_correct_indexes(handle, inode, path); err 2627 fs/ext4/extents.c if (err) err 2632 fs/ext4/extents.c err = ext4_ext_dirty(handle, inode, path + depth); err 2635 fs/ext4/extents.c err = ext4_ext_insert_extent(handle, inode, path, &newex); err 2636 fs/ext4/extents.c if (err == -ENOSPC) { err 2637 fs/ext4/extents.c err = ext4_ext_zeroout(inode, &orig_ex); err 2638 fs/ext4/extents.c if (err) err 2647 fs/ext4/extents.c } else if (err) err 2650 fs/ext4/extents.c return err ? err : allocated; err 2658 fs/ext4/extents.c return err; err 2688 fs/ext4/extents.c int err = 0, depth, ret; err 2726 fs/ext4/extents.c err = PTR_ERR(path); err 2787 fs/ext4/extents.c err = ret; err 2813 fs/ext4/extents.c err = ext4_ext_search_left(inode, path, &ar.lleft, &ar.pleft); err 2814 fs/ext4/extents.c if (err) err 2817 fs/ext4/extents.c err = ext4_ext_search_right(inode, path, &ar.lright, &ar.pright); err 2818 fs/ext4/extents.c if (err) err 2837 fs/ext4/extents.c err = ext4_ext_check_overlap(inode, &newex, path); err 2838 fs/ext4/extents.c if (err) err 2853 fs/ext4/extents.c newblock = ext4_mb_new_blocks(handle, &ar, &err); err 2864 fs/ext4/extents.c err = ext4_ext_insert_extent(handle, inode, path, &newex); err 2865 fs/ext4/extents.c if (err) { err 2905 fs/ext4/extents.c return err ? err : allocated; err 2914 fs/ext4/extents.c int err = 0; err 2919 fs/ext4/extents.c err = ext4_writepage_trans_blocks(inode); err 2920 fs/ext4/extents.c handle = ext4_journal_start(inode, err); err 2947 fs/ext4/extents.c err = ext4_ext_remove_space(inode, last_block); err 57 fs/ext4/file.c int err; err 120 fs/ext4/file.c err = ext4_force_commit(inode->i_sb); err 121 fs/ext4/file.c if (err) err 122 fs/ext4/file.c return err; err 171 fs/ext4/ialloc.c int fatal = 0, err; err 257 fs/ext4/ialloc.c err = ext4_journal_dirty_metadata(handle, bh2); err 258 fs/ext4/ialloc.c if (!fatal) fatal = err; err 261 fs/ext4/ialloc.c err = ext4_journal_dirty_metadata(handle, bitmap_bh); err 263 fs/ext4/ialloc.c fatal = err; err 594 fs/ext4/ialloc.c int ret2, err = 0; err 627 fs/ext4/ialloc.c err = -ENOSPC; err 632 fs/ext4/ialloc.c err = -EIO; err 651 fs/ext4/ialloc.c err = ext4_journal_get_write_access(handle, bitmap_bh); err 652 fs/ext4/ialloc.c if (err) err 660 fs/ext4/ialloc.c err = ext4_journal_dirty_metadata(handle, err 662 fs/ext4/ialloc.c if (err) err 683 fs/ext4/ialloc.c err = -ENOSPC; err 694 fs/ext4/ialloc.c err = -EIO; err 699 fs/ext4/ialloc.c err = ext4_journal_get_write_access(handle, bh2); err 700 fs/ext4/ialloc.c if (err) goto fail; err 708 fs/ext4/ialloc.c err = ext4_journal_get_write_access(handle, block_bh); err 709 fs/ext4/ialloc.c if (err) { err 727 fs/ext4/ialloc.c err = ext4_journal_dirty_metadata(handle, block_bh); err 731 fs/ext4/ialloc.c if (err) err 773 fs/ext4/ialloc.c err = ext4_journal_dirty_metadata(handle, bh2); err 774 fs/ext4/ialloc.c if (err) goto fail; err 838 fs/ext4/ialloc.c err = -EDQUOT; err 842 fs/ext4/ialloc.c err = ext4_init_acl(handle, inode, dir); err 843 fs/ext4/ialloc.c if (err) err 846 fs/ext4/ialloc.c err = ext4_init_security(handle, inode, dir); err 847 fs/ext4/ialloc.c if (err) err 858 fs/ext4/ialloc.c err = ext4_mark_inode_dirty(handle, inode); err 859 fs/ext4/ialloc.c if (err) { err 860 fs/ext4/ialloc.c ext4_std_error(sb, err); err 867 fs/ext4/ialloc.c ext4_std_error(sb, err); err 870 fs/ext4/ialloc.c ret = ERR_PTR(err); err 884 fs/ext4/ialloc.c return ERR_PTR(err); err 895 fs/ext4/ialloc.c long err = -EIO; err 938 fs/ext4/ialloc.c err = PTR_ERR(inode); err 961 fs/ext4/ialloc.c return ERR_PTR(err); err 78 fs/ext4/inode.c int err; err 107 fs/ext4/inode.c err = ext4_journal_revoke(handle, blocknr, bh); err 108 fs/ext4/inode.c if (err) err 110 fs/ext4/inode.c "error %d when attempting revoke", err); err 112 fs/ext4/inode.c return err; err 196 fs/ext4/inode.c int err; err 220 fs/ext4/inode.c err = ext4_mark_inode_dirty(handle, inode); err 221 fs/ext4/inode.c if (err) { err 223 fs/ext4/inode.c "couldn't mark inode dirty (err %d)", err); err 236 fs/ext4/inode.c err = ext4_journal_extend(handle, 3); err 237 fs/ext4/inode.c if (err > 0) err 238 fs/ext4/inode.c err = ext4_journal_restart(handle, 3); err 239 fs/ext4/inode.c if (err != 0) { err 241 fs/ext4/inode.c "couldn't extend journal (err %d)", err); err 401 fs/ext4/inode.c *err = 0; err 418 fs/ext4/inode.c *err = -EIO; err 569 fs/ext4/inode.c goal, &count, err); err 570 fs/ext4/inode.c if (*err) err 600 fs/ext4/inode.c goal, &count, err); err 601 fs/ext4/inode.c if (*err && (target == blks)) { err 608 fs/ext4/inode.c if (!*err) { err 621 fs/ext4/inode.c *err = 0; err 661 fs/ext4/inode.c int err = 0; err 668 fs/ext4/inode.c *blks, new_blocks, &err); err 669 fs/ext4/inode.c if (err) err 670 fs/ext4/inode.c return err; err 686 fs/ext4/inode.c err = ext4_journal_get_create_access(handle, bh); err 687 fs/ext4/inode.c if (err) { err 712 fs/ext4/inode.c err = ext4_journal_dirty_metadata(handle, bh); err 713 fs/ext4/inode.c if (err) err 717 fs/ext4/inode.c return err; err 729 fs/ext4/inode.c return err; err 750 fs/ext4/inode.c int err = 0; err 760 fs/ext4/inode.c err = ext4_journal_get_write_access(handle, where->bh); err 761 fs/ext4/inode.c if (err) err 795 fs/ext4/inode.c err = ext4_journal_dirty_metadata(handle, where->bh); err 796 fs/ext4/inode.c if (err) err 805 fs/ext4/inode.c return err; err 816 fs/ext4/inode.c return err; err 847 fs/ext4/inode.c int err = -EIO; err 869 fs/ext4/inode.c partial = ext4_get_branch(inode, depth, offsets, chain, &err); err 891 fs/ext4/inode.c if (!create || err == -EIO) err 911 fs/ext4/inode.c err = ext4_alloc_branch(handle, inode, iblock, indirect_blks, err 922 fs/ext4/inode.c if (!err) err 923 fs/ext4/inode.c err = ext4_splice_branch(handle, inode, iblock, err 930 fs/ext4/inode.c if (!err && extend_disksize) { err 937 fs/ext4/inode.c if (err) err 945 fs/ext4/inode.c err = count; err 956 fs/ext4/inode.c return err; err 1178 fs/ext4/inode.c int fatal = 0, err; err 1185 fs/ext4/inode.c err = ext4_get_blocks_wrap(handle, inode, block, 1, err 1191 fs/ext4/inode.c if (err > 0) { err 1192 fs/ext4/inode.c if (err > 1) err 1194 fs/ext4/inode.c err = 0; err 1196 fs/ext4/inode.c *errp = err; err 1197 fs/ext4/inode.c if (!err && buffer_mapped(&dummy)) { err 1202 fs/ext4/inode.c goto err; err 1224 fs/ext4/inode.c err = ext4_journal_dirty_metadata(handle, bh); err 1226 fs/ext4/inode.c fatal = err; err 1237 fs/ext4/inode.c err: err 1246 fs/ext4/inode.c bh = ext4_getblk(handle, inode, block, create, err); err 1256 fs/ext4/inode.c *err = -EIO; err 1271 fs/ext4/inode.c int err, ret = 0; err 1285 fs/ext4/inode.c err = (*fn)(handle, bh); err 1287 fs/ext4/inode.c ret = err; err 1648 fs/ext4/inode.c int ret = 0, err, nr_pages, i; err 1670 fs/ext4/inode.c err = mapping->a_ops->writepage(page, mpd->wbc); err 1671 fs/ext4/inode.c if (!err) err 1679 fs/ext4/inode.c ret = err; err 1844 fs/ext4/inode.c int err = 0; err 1864 fs/ext4/inode.c err = mpd->get_block(mpd->inode, next, &new, 1); err 1865 fs/ext4/inode.c if (err) { err 1872 fs/ext4/inode.c if (err == -EAGAIN) err 1875 fs/ext4/inode.c if (err == -ENOSPC && err 1877 fs/ext4/inode.c mpd->retval = err; err 1894 fs/ext4/inode.c lbh->b_size >> mpd->inode->i_blkbits, err); err 1897 fs/ext4/inode.c if (err == -ENOSPC) { err 1903 fs/ext4/inode.c return err; err 2687 fs/ext4/inode.c int err; err 2721 fs/ext4/inode.c err = jbd2_journal_flush(journal); err 2724 fs/ext4/inode.c if (err) err 2853 fs/ext4/inode.c int err; err 2876 fs/ext4/inode.c err = walk_page_buffers(handle, page_bufs, 0, err 2879 fs/ext4/inode.c ret = err; err 2880 fs/ext4/inode.c err = ext4_journal_stop(handle); err 2882 fs/ext4/inode.c ret = err; err 3030 fs/ext4/inode.c int err; err 3058 fs/ext4/inode.c err = ext4_journal_stop(handle); err 3060 fs/ext4/inode.c ret = err; err 3177 fs/ext4/inode.c int err = 0; err 3210 fs/ext4/inode.c err = 0; err 3231 fs/ext4/inode.c err = -EIO; err 3241 fs/ext4/inode.c err = ext4_journal_get_write_access(handle, bh); err 3242 fs/ext4/inode.c if (err) err 3250 fs/ext4/inode.c err = 0; err 3252 fs/ext4/inode.c err = ext4_journal_dirty_metadata(handle, bh); err 3255 fs/ext4/inode.c err = ext4_jbd2_file_inode(handle, inode); err 3262 fs/ext4/inode.c return err; err 3317 fs/ext4/inode.c int k, err; err 3323 fs/ext4/inode.c partial = ext4_get_branch(inode, k, offsets, chain, &err); err 3440 fs/ext4/inode.c int err; err 3444 fs/ext4/inode.c err = ext4_journal_get_write_access(handle, this_bh); err 3447 fs/ext4/inode.c if (err) err 4178 fs/ext4/inode.c int err = 0; err 4193 fs/ext4/inode.c err = ext4_update_rocompat_feature(handle, sb, err 4195 fs/ext4/inode.c if (err) err 4206 fs/ext4/inode.c err = ext4_update_rocompat_feature(handle, sb, err 4208 fs/ext4/inode.c if (err) err 4217 fs/ext4/inode.c return err; err 4234 fs/ext4/inode.c int err = 0, rc, block; err 4294 fs/ext4/inode.c err = ext4_journal_get_write_access(handle, err 4296 fs/ext4/inode.c if (err) err 4303 fs/ext4/inode.c err = ext4_journal_dirty_metadata(handle, err 4333 fs/ext4/inode.c if (!err) err 4334 fs/ext4/inode.c err = rc; err 4339 fs/ext4/inode.c ext4_std_error(inode->i_sb, err); err 4340 fs/ext4/inode.c return err; err 4675 fs/ext4/inode.c int err = 0; err 4684 fs/ext4/inode.c err = ext4_do_update_inode(handle, inode, iloc); err 4686 fs/ext4/inode.c return err; err 4698 fs/ext4/inode.c int err = 0; err 4700 fs/ext4/inode.c err = ext4_get_inode_loc(inode, iloc); err 4701 fs/ext4/inode.c if (!err) { err 4703 fs/ext4/inode.c err = ext4_journal_get_write_access(handle, iloc->bh); err 4704 fs/ext4/inode.c if (err) { err 4710 fs/ext4/inode.c ext4_std_error(inode->i_sb, err); err 4711 fs/ext4/inode.c return err; err 4775 fs/ext4/inode.c int err, ret; err 4778 fs/ext4/inode.c err = ext4_reserve_inode_write(handle, inode, &iloc); err 4807 fs/ext4/inode.c if (!err) err 4808 fs/ext4/inode.c err = ext4_mark_iloc_dirty(handle, inode, &iloc); err 4809 fs/ext4/inode.c return err; err 4861 fs/ext4/inode.c int err = 0; err 4863 fs/ext4/inode.c err = ext4_get_inode_loc(inode, &iloc); err 4864 fs/ext4/inode.c if (!err) { err 4866 fs/ext4/inode.c err = jbd2_journal_get_write_access(handle, iloc.bh); err 4867 fs/ext4/inode.c if (!err) err 4868 fs/ext4/inode.c err = ext4_journal_dirty_metadata(handle, err 4873 fs/ext4/inode.c ext4_std_error(inode->i_sb, err); err 4874 fs/ext4/inode.c return err; err 4882 fs/ext4/inode.c int err; err 4923 fs/ext4/inode.c err = ext4_mark_inode_dirty(handle, inode); err 4926 fs/ext4/inode.c ext4_std_error(inode->i_sb, err); err 4928 fs/ext4/inode.c return err; err 36 fs/ext4/ioctl.c int err, migrate = 0; err 47 fs/ext4/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 48 fs/ext4/ioctl.c if (err) err 49 fs/ext4/ioctl.c return err; err 54 fs/ext4/ioctl.c err = -EPERM; err 87 fs/ext4/ioctl.c err = -EOPNOTSUPP; err 98 fs/ext4/ioctl.c err = PTR_ERR(handle); err 103 fs/ext4/ioctl.c err = ext4_reserve_inode_write(handle, inode, &iloc); err 104 fs/ext4/ioctl.c if (err) err 114 fs/ext4/ioctl.c err = ext4_mark_iloc_dirty(handle, inode, &iloc); err 117 fs/ext4/ioctl.c if (err) err 121 fs/ext4/ioctl.c err = ext4_change_inode_journal_flag(inode, jflag); err 122 fs/ext4/ioctl.c if (err) err 125 fs/ext4/ioctl.c err = ext4_ext_migrate(inode); err 129 fs/ext4/ioctl.c return err; err 139 fs/ext4/ioctl.c int err; err 144 fs/ext4/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 145 fs/ext4/ioctl.c if (err) err 146 fs/ext4/ioctl.c return err; err 148 fs/ext4/ioctl.c err = -EFAULT; err 154 fs/ext4/ioctl.c err = PTR_ERR(handle); err 157 fs/ext4/ioctl.c err = ext4_reserve_inode_write(handle, inode, &iloc); err 158 fs/ext4/ioctl.c if (err == 0) { err 161 fs/ext4/ioctl.c err = ext4_mark_iloc_dirty(handle, inode, &iloc); err 166 fs/ext4/ioctl.c return err; err 195 fs/ext4/ioctl.c int err, err2; err 203 fs/ext4/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 204 fs/ext4/ioctl.c if (err) err 205 fs/ext4/ioctl.c return err; err 207 fs/ext4/ioctl.c err = ext4_group_extend(sb, EXT4_SB(sb)->s_es, n_blocks_count); err 211 fs/ext4/ioctl.c if (err == 0) err 212 fs/ext4/ioctl.c err = err2; err 215 fs/ext4/ioctl.c return err; err 220 fs/ext4/ioctl.c int err, err2; err 229 fs/ext4/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 230 fs/ext4/ioctl.c if (err) err 231 fs/ext4/ioctl.c return err; err 233 fs/ext4/ioctl.c err = ext4_group_add(sb, &input); err 237 fs/ext4/ioctl.c if (err == 0) err 238 fs/ext4/ioctl.c err = err2; err 241 fs/ext4/ioctl.c return err; err 246 fs/ext4/ioctl.c int err; err 250 fs/ext4/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 251 fs/ext4/ioctl.c if (err) err 252 fs/ext4/ioctl.c return err; err 260 fs/ext4/ioctl.c err = ext4_ext_migrate(inode); err 263 fs/ext4/ioctl.c return err; err 734 fs/ext4/mballoc.c int err = 0; err 758 fs/ext4/mballoc.c err = -ENOMEM; err 775 fs/ext4/mballoc.c err = -EIO; err 780 fs/ext4/mballoc.c err = -ENOMEM; err 810 fs/ext4/mballoc.c err = -EIO; err 815 fs/ext4/mballoc.c err = 0; err 882 fs/ext4/mballoc.c return err; err 931 fs/ext4/mballoc.c goto err; err 941 fs/ext4/mballoc.c goto err; err 962 fs/ext4/mballoc.c goto err; err 970 fs/ext4/mballoc.c goto err; err 981 fs/ext4/mballoc.c err: err 1432 fs/ext4/mballoc.c int err; err 1435 fs/ext4/mballoc.c err = ext4_mb_load_buddy(ac->ac_sb, group, e4b); err 1436 fs/ext4/mballoc.c if (err) err 1437 fs/ext4/mballoc.c return err; err 1458 fs/ext4/mballoc.c int err; err 1466 fs/ext4/mballoc.c err = ext4_mb_load_buddy(ac->ac_sb, group, e4b); err 1467 fs/ext4/mballoc.c if (err) err 1468 fs/ext4/mballoc.c return err; err 1701 fs/ext4/mballoc.c int err = 0; err 1713 fs/ext4/mballoc.c err = ext4_mb_find_by_goal(ac, &e4b); err 1714 fs/ext4/mballoc.c if (err || ac->ac_status == AC_STATUS_FOUND) err 1791 fs/ext4/mballoc.c err = ext4_mb_load_buddy(sb, group, &e4b); err 1792 fs/ext4/mballoc.c if (err) err 1804 fs/ext4/mballoc.c err = ext4_mb_load_buddy(sb, group, &e4b); err 1805 fs/ext4/mballoc.c if (err) err 1862 fs/ext4/mballoc.c return err; err 2097 fs/ext4/mballoc.c int err; err 2115 fs/ext4/mballoc.c err = ext4_mb_load_buddy(sb, group, &e4b); err 2116 fs/ext4/mballoc.c if (err) { err 2341 fs/ext4/mballoc.c int err; err 2344 fs/ext4/mballoc.c err = ext4_mb_add_groupinfo(sb, group, desc); err 2345 fs/ext4/mballoc.c if (err) err 2346 fs/ext4/mballoc.c return err; err 2651 fs/ext4/mballoc.c int err; err 2679 fs/ext4/mballoc.c err = ext4_mb_load_buddy(sb, md->group, &e4b); err 2681 fs/ext4/mballoc.c BUG_ON(err != 0); err 2800 fs/ext4/mballoc.c int err, len; err 2810 fs/ext4/mballoc.c err = -EIO; err 2815 fs/ext4/mballoc.c err = ext4_journal_get_write_access(handle, bitmap_bh); err 2816 fs/ext4/mballoc.c if (err) err 2819 fs/ext4/mballoc.c err = -EIO; err 2827 fs/ext4/mballoc.c err = ext4_journal_get_write_access(handle, gdp_bh); err 2828 fs/ext4/mballoc.c if (err) err 2852 fs/ext4/mballoc.c err = ext4_journal_dirty_metadata(handle, bitmap_bh); err 2853 fs/ext4/mballoc.c if (!err) err 2854 fs/ext4/mballoc.c err = -EAGAIN; err 2899 fs/ext4/mballoc.c err = ext4_journal_dirty_metadata(handle, bitmap_bh); err 2900 fs/ext4/mballoc.c if (err) err 2902 fs/ext4/mballoc.c err = ext4_journal_dirty_metadata(handle, gdp_bh); err 2907 fs/ext4/mballoc.c return err; err 3555 fs/ext4/mballoc.c int err; err 3558 fs/ext4/mballoc.c err = ext4_mb_new_group_pa(ac); err 3560 fs/ext4/mballoc.c err = ext4_mb_new_inode_pa(ac); err 3561 fs/ext4/mballoc.c return err; err 3584 fs/ext4/mballoc.c int err = 0; err 3635 fs/ext4/mballoc.c return err; err 3688 fs/ext4/mballoc.c int err; err 3704 fs/ext4/mballoc.c err = ext4_mb_load_buddy(sb, group, &e4b); err 3705 fs/ext4/mballoc.c if (err) { err 3807 fs/ext4/mballoc.c int err; err 3871 fs/ext4/mballoc.c err = ext4_mb_load_buddy(sb, group, &e4b); err 3872 fs/ext4/mballoc.c if (err) { err 4498 fs/ext4/mballoc.c int err = 0; err 4539 fs/ext4/mballoc.c err = -EIO; err 4544 fs/ext4/mballoc.c err = -EIO; err 4563 fs/ext4/mballoc.c err = ext4_journal_get_write_access(handle, bitmap_bh); err 4564 fs/ext4/mballoc.c if (err) err 4573 fs/ext4/mballoc.c err = ext4_journal_get_write_access(handle, gd_bh); err 4574 fs/ext4/mballoc.c if (err) err 4577 fs/ext4/mballoc.c err = ext4_mb_load_buddy(sb, block_group, &e4b); err 4578 fs/ext4/mballoc.c if (err) err 4593 fs/ext4/mballoc.c err = ext4_journal_dirty_metadata(handle, bitmap_bh); err 4633 fs/ext4/mballoc.c if (!err) err 4634 fs/ext4/mballoc.c err = ret; err 4636 fs/ext4/mballoc.c if (overflow && !err) { err 4645 fs/ext4/mballoc.c ext4_std_error(sb, err); err 60 fs/ext4/namei.c bh = ext4_bread(handle, inode, *block, 1, err); err 64 fs/ext4/namei.c *err = ext4_journal_get_write_access(handle, bh); err 65 fs/ext4/namei.c if (*err) { err 314 fs/ext4/namei.c int err; err 323 fs/ext4/namei.c if (!(bh = ext4_bread (NULL,dir, block, 0,&err))) continue; err 361 fs/ext4/namei.c if (!(bh = ext4_bread (NULL,dir, 0, 0, err))) err 371 fs/ext4/namei.c *err = ERR_BAD_DX_DIR; err 385 fs/ext4/namei.c *err = ERR_BAD_DX_DIR; err 394 fs/ext4/namei.c *err = ERR_BAD_DX_DIR; err 406 fs/ext4/namei.c *err = ERR_BAD_DX_DIR; err 418 fs/ext4/namei.c *err = ERR_BAD_DX_DIR; err 456 fs/ext4/namei.c if (!(bh = ext4_bread (NULL,dir, dx_get_block(at), 0, err))) err 463 fs/ext4/namei.c *err = ERR_BAD_DX_DIR; err 475 fs/ext4/namei.c if (*err == ERR_BAD_DX_DIR) err 516 fs/ext4/namei.c int err, num_frames = 0; err 556 fs/ext4/namei.c 0, &err))) err 557 fs/ext4/namei.c return err; /* Failure */ err 579 fs/ext4/namei.c int err, count = 0; err 583 fs/ext4/namei.c if (!(bh = ext4_bread (NULL, dir, block, 0, &err))) err 584 fs/ext4/namei.c return err; err 607 fs/ext4/namei.c if ((err = ext4_htree_store_dirent(dir_file, err 610 fs/ext4/namei.c return err; err 636 fs/ext4/namei.c int ret, err; err 652 fs/ext4/namei.c frame = dx_probe(NULL, dir, &hinfo, frames, &err); err 654 fs/ext4/namei.c return err; err 659 fs/ext4/namei.c if ((err = ext4_htree_store_dirent(dir_file, 0, 0, de)) != 0) err 666 fs/ext4/namei.c if ((err = ext4_htree_store_dirent(dir_file, 2, 0, de)) != 0) err 676 fs/ext4/namei.c err = ret; err 685 fs/ext4/namei.c err = ret; err 703 fs/ext4/namei.c return (err); err 869 fs/ext4/namei.c int i, err; err 878 fs/ext4/namei.c bh = ext4_dx_find_entry(dir, d_name, res_dir, &err); err 884 fs/ext4/namei.c if (bh || (err != ERR_BAD_DX_DIR)) err 914 fs/ext4/namei.c bh = ext4_getblk(NULL, dir, b++, 0, &err); err 982 fs/ext4/namei.c if (!(frame = dx_probe(d_name, dir, &hinfo, frames, err))) err 993 fs/ext4/namei.c if (!(bh = ext4_bread (NULL,dir, block, 0, err))) err 1004 fs/ext4/namei.c *err = ERR_BAD_DX_DIR; err 1022 fs/ext4/namei.c *err = retval; err 1027 fs/ext4/namei.c *err = -ENOENT; err 1181 fs/ext4/namei.c int err = 0; err 1183 fs/ext4/namei.c bh2 = ext4_append (handle, dir, &newblock, &err); err 1191 fs/ext4/namei.c err = ext4_journal_get_write_access(handle, *bh); err 1192 fs/ext4/namei.c if (err) err 1196 fs/ext4/namei.c err = ext4_journal_get_write_access(handle, frame->bh); err 1197 fs/ext4/namei.c if (err) err 1241 fs/ext4/namei.c err = ext4_journal_dirty_metadata(handle, bh2); err 1242 fs/ext4/namei.c if (err) err 1244 fs/ext4/namei.c err = ext4_journal_dirty_metadata(handle, frame->bh); err 1245 fs/ext4/namei.c if (err) err 1255 fs/ext4/namei.c ext4_std_error(dir->i_sb, err); err 1257 fs/ext4/namei.c *error = err; err 1281 fs/ext4/namei.c int nlen, rlen, err; err 1309 fs/ext4/namei.c err = ext4_journal_get_write_access(handle, bh); err 1310 fs/ext4/namei.c if (err) { err 1311 fs/ext4/namei.c ext4_std_error(dir->i_sb, err); err 1313 fs/ext4/namei.c return err; err 1349 fs/ext4/namei.c err = ext4_journal_dirty_metadata(handle, bh); err 1350 fs/ext4/namei.c if (err) err 1351 fs/ext4/namei.c ext4_std_error(dir->i_sb, err); err 1507 fs/ext4/namei.c int err; err 1509 fs/ext4/namei.c frame = dx_probe(&dentry->d_name, dir, &hinfo, frames, &err); err 1511 fs/ext4/namei.c return err; err 1515 fs/ext4/namei.c if (!(bh = ext4_bread(handle,dir, dx_get_block(frame->at), 0, &err))) err 1519 fs/ext4/namei.c err = ext4_journal_get_write_access(handle, bh); err 1520 fs/ext4/namei.c if (err) err 1523 fs/ext4/namei.c err = add_dirent_to_buf(handle, dentry, inode, NULL, bh); err 1524 fs/ext4/namei.c if (err != -ENOSPC) { err 1545 fs/ext4/namei.c err = -ENOSPC; err 1548 fs/ext4/namei.c bh2 = ext4_append (handle, dir, &newblock, &err); err 1556 fs/ext4/namei.c err = ext4_journal_get_write_access(handle, frame->bh); err 1557 fs/ext4/namei.c if (err) err 1566 fs/ext4/namei.c err = ext4_journal_get_write_access(handle, err 1568 fs/ext4/namei.c if (err) err 1587 fs/ext4/namei.c err = ext4_journal_dirty_metadata(handle, bh2); err 1588 fs/ext4/namei.c if (err) err 1608 fs/ext4/namei.c err = ext4_journal_get_write_access(handle, err 1610 fs/ext4/namei.c if (err) err 1615 fs/ext4/namei.c de = do_split(handle, dir, &bh, frame, &hinfo, &err); err 1618 fs/ext4/namei.c err = add_dirent_to_buf(handle, dentry, inode, de, bh); err 1623 fs/ext4/namei.c ext4_std_error(dir->i_sb, err); err 1628 fs/ext4/namei.c return err; err 1702 fs/ext4/namei.c int err = ext4_add_entry(handle, dentry, inode); err 1703 fs/ext4/namei.c if (!err) { err 1710 fs/ext4/namei.c return err; err 1726 fs/ext4/namei.c int err, retries = 0; err 1739 fs/ext4/namei.c err = PTR_ERR(inode); err 1744 fs/ext4/namei.c err = ext4_add_nondir(handle, dentry, inode); err 1747 fs/ext4/namei.c if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) err 1749 fs/ext4/namei.c return err; err 1757 fs/ext4/namei.c int err, retries = 0; err 1773 fs/ext4/namei.c err = PTR_ERR(inode); err 1779 fs/ext4/namei.c err = ext4_add_nondir(handle, dentry, inode); err 1782 fs/ext4/namei.c if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) err 1784 fs/ext4/namei.c return err; err 1793 fs/ext4/namei.c int err, retries = 0; err 1809 fs/ext4/namei.c err = PTR_ERR(inode); err 1816 fs/ext4/namei.c dir_block = ext4_bread(handle, inode, 0, 1, &err); err 1839 fs/ext4/namei.c err = ext4_add_entry(handle, dentry, inode); err 1840 fs/ext4/namei.c if (err) { err 1853 fs/ext4/namei.c if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) err 1855 fs/ext4/namei.c return err; err 1867 fs/ext4/namei.c int err = 0; err 1871 fs/ext4/namei.c !(bh = ext4_bread(NULL, inode, 0, 0, &err))) { err 1872 fs/ext4/namei.c if (err) err 1875 fs/ext4/namei.c err, inode->i_ino); err 1900 fs/ext4/namei.c err = 0; err 1903 fs/ext4/namei.c offset >> EXT4_BLOCK_SIZE_BITS(sb), 0, &err); err 1905 fs/ext4/namei.c if (err) err 1909 fs/ext4/namei.c err, inode->i_ino, offset); err 1944 fs/ext4/namei.c int err = 0, rc; err 1963 fs/ext4/namei.c err = ext4_journal_get_write_access(handle, EXT4_SB(sb)->s_sbh); err 1964 fs/ext4/namei.c if (err) err 1967 fs/ext4/namei.c err = ext4_reserve_inode_write(handle, inode, &iloc); err 1968 fs/ext4/namei.c if (err) err 1974 fs/ext4/namei.c err = ext4_journal_dirty_metadata(handle, EXT4_SB(sb)->s_sbh); err 1976 fs/ext4/namei.c if (!err) err 1977 fs/ext4/namei.c err = rc; err 1987 fs/ext4/namei.c if (!err) err 1995 fs/ext4/namei.c ext4_std_error(inode->i_sb, err); err 1996 fs/ext4/namei.c return err; err 2010 fs/ext4/namei.c int err = 0; err 2033 fs/ext4/namei.c err = ext4_reserve_inode_write(handle, inode, &iloc); err 2034 fs/ext4/namei.c if (err) err 2040 fs/ext4/namei.c err = ext4_journal_get_write_access(handle, sbi->s_sbh); err 2041 fs/ext4/namei.c if (err) err 2044 fs/ext4/namei.c err = ext4_journal_dirty_metadata(handle, sbi->s_sbh); err 2052 fs/ext4/namei.c err = ext4_reserve_inode_write(handle, i_prev, &iloc2); err 2053 fs/ext4/namei.c if (err) err 2056 fs/ext4/namei.c err = ext4_mark_iloc_dirty(handle, i_prev, &iloc2); err 2058 fs/ext4/namei.c if (err) err 2061 fs/ext4/namei.c err = ext4_mark_iloc_dirty(handle, inode, &iloc); err 2064 fs/ext4/namei.c ext4_std_error(inode->i_sb, err); err 2067 fs/ext4/namei.c return err; err 2192 fs/ext4/namei.c int l, err, retries = 0; err 2209 fs/ext4/namei.c err = PTR_ERR(inode); err 2221 fs/ext4/namei.c err = __page_symlink(inode, symname, l, err 2223 fs/ext4/namei.c if (err) { err 2237 fs/ext4/namei.c err = ext4_add_nondir(handle, dentry, inode); err 2240 fs/ext4/namei.c if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) err 2242 fs/ext4/namei.c return err; err 2250 fs/ext4/namei.c int err, retries = 0; err 2275 fs/ext4/namei.c err = ext4_add_nondir(handle, dentry, inode); err 2277 fs/ext4/namei.c if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) err 2279 fs/ext4/namei.c return err; err 38 fs/ext4/resize.c int err = -EINVAL; err 114 fs/ext4/resize.c err = 0; err 117 fs/ext4/resize.c return err; err 124 fs/ext4/resize.c int err; err 129 fs/ext4/resize.c if ((err = ext4_journal_get_write_access(handle, bh))) { err 131 fs/ext4/resize.c bh = ERR_PTR(err); err 150 fs/ext4/resize.c int err; err 155 fs/ext4/resize.c err = ext4_journal_extend(handle, EXT4_MAX_TRANS_DATA); err 156 fs/ext4/resize.c if (err < 0) err 157 fs/ext4/resize.c return err; err 158 fs/ext4/resize.c if (err) { err 159 fs/ext4/resize.c if ((err = ext4_journal_restart(handle, EXT4_MAX_TRANS_DATA))) err 160 fs/ext4/resize.c return err; err 161 fs/ext4/resize.c if ((err = ext4_journal_get_write_access(handle, bh))) err 162 fs/ext4/resize.c return err; err 188 fs/ext4/resize.c int err = 0, err2; err 198 fs/ext4/resize.c err = -EBUSY; err 203 fs/ext4/resize.c err = PTR_ERR(bh); err 219 fs/ext4/resize.c if ((err = extend_or_restart_transaction(handle, 1, bh))) err 224 fs/ext4/resize.c err = -EIO; err 227 fs/ext4/resize.c if ((err = ext4_journal_get_write_access(handle, gdb))) { err 247 fs/ext4/resize.c if ((err = extend_or_restart_transaction(handle, 1, bh))) err 251 fs/ext4/resize.c err = PTR_ERR(bh); err 272 fs/ext4/resize.c if ((err = extend_or_restart_transaction(handle, 1, bh))) err 276 fs/ext4/resize.c err = PTR_ERR(it); err 284 fs/ext4/resize.c if ((err = extend_or_restart_transaction(handle, 2, bh))) err 296 fs/ext4/resize.c err = PTR_ERR(bh); err 308 fs/ext4/resize.c if ((err2 = ext4_journal_stop(handle)) && !err) err 309 fs/ext4/resize.c err = err2; err 311 fs/ext4/resize.c return err; err 412 fs/ext4/resize.c int err; err 437 fs/ext4/resize.c err = gdbackups; err 444 fs/ext4/resize.c err = -EIO; err 453 fs/ext4/resize.c err = -EINVAL; err 457 fs/ext4/resize.c if ((err = ext4_journal_get_write_access(handle, EXT4_SB(sb)->s_sbh))) err 460 fs/ext4/resize.c if ((err = ext4_journal_get_write_access(handle, *primary))) err 463 fs/ext4/resize.c if ((err = ext4_journal_get_write_access(handle, dind))) err 467 fs/ext4/resize.c if ((err = ext4_reserve_inode_write(handle, inode, &iloc))) err 473 fs/ext4/resize.c err = -ENOMEM; err 523 fs/ext4/resize.c ext4_debug("leaving with error %d\n", err); err 524 fs/ext4/resize.c return err; err 552 fs/ext4/resize.c int err; err 561 fs/ext4/resize.c err = -EIO; err 578 fs/ext4/resize.c err = -EINVAL; err 583 fs/ext4/resize.c err = -EIO; err 588 fs/ext4/resize.c err = gdbackups; err 596 fs/ext4/resize.c if ((err = ext4_journal_get_write_access(handle, primary[i]))) { err 606 fs/ext4/resize.c if ((err = ext4_reserve_inode_write(handle, inode, &iloc))) err 622 fs/ext4/resize.c if (!err) err 623 fs/ext4/resize.c err = err2; err 636 fs/ext4/resize.c return err; err 666 fs/ext4/resize.c int err = 0, err2; err 671 fs/ext4/resize.c err = PTR_ERR(handle); err 681 fs/ext4/resize.c (err = ext4_journal_restart(handle, EXT4_MAX_TRANS_DATA))) err 686 fs/ext4/resize.c err = -EIO; err 691 fs/ext4/resize.c if ((err = ext4_journal_get_write_access(handle, bh))) err 702 fs/ext4/resize.c if ((err2 = ext4_journal_stop(handle)) && !err) err 703 fs/ext4/resize.c err = err2; err 716 fs/ext4/resize.c if (err) { err 719 fs/ext4/resize.c "forcing fsck on next reboot", group, err); err 750 fs/ext4/resize.c int err, err2; err 790 fs/ext4/resize.c if ((err = verify_group_input(sb, input))) err 793 fs/ext4/resize.c if ((err = setup_new_group_blocks(sb, input))) err 807 fs/ext4/resize.c err = PTR_ERR(handle); err 815 fs/ext4/resize.c err = -EBUSY; err 819 fs/ext4/resize.c if ((err = ext4_journal_get_write_access(handle, sbi->s_sbh))) err 830 fs/ext4/resize.c if ((err = ext4_journal_get_write_access(handle, primary))) err 834 fs/ext4/resize.c (err = reserve_backup_gdb(handle, inode, input))) err 836 fs/ext4/resize.c } else if ((err = add_new_gdb(handle, inode, input, &primary))) err 873 fs/ext4/resize.c err = ext4_mb_add_more_groupinfo(sb, input->group, gdp); err 874 fs/ext4/resize.c if (err) err 945 fs/ext4/resize.c if ((err2 = ext4_journal_stop(handle)) && !err) err 946 fs/ext4/resize.c err = err2; err 947 fs/ext4/resize.c if (!err) { err 955 fs/ext4/resize.c return err; err 977 fs/ext4/resize.c int err; err 1050 fs/ext4/resize.c err = PTR_ERR(handle); err 1051 fs/ext4/resize.c ext4_warning(sb, __func__, "error %d on journal start", err); err 1061 fs/ext4/resize.c err = -EBUSY; err 1065 fs/ext4/resize.c if ((err = ext4_journal_get_write_access(handle, err 1068 fs/ext4/resize.c "error %d on journal write access", err); err 1082 fs/ext4/resize.c if ((err = ext4_journal_stop(handle))) err 1136 fs/ext4/resize.c return err; err 157 fs/ext4/super.c int err; err 161 fs/ext4/super.c err = handle->h_err; err 164 fs/ext4/super.c if (!err) err 165 fs/ext4/super.c err = rc; err 166 fs/ext4/super.c if (err) err 167 fs/ext4/super.c __ext4_std_error(sb, where, err); err 168 fs/ext4/super.c return err; err 175 fs/ext4/super.c const char *errstr = ext4_decode_error(NULL, err, nbuf); err 181 fs/ext4/super.c handle->h_err = err; err 380 fs/ext4/super.c int err = 0; err 382 fs/ext4/super.c err = ext4_journal_get_write_access(handle, err 384 fs/ext4/super.c if (err) err 385 fs/ext4/super.c return err; err 391 fs/ext4/super.c err = ext4_journal_dirty_metadata(handle, err 394 fs/ext4/super.c return err; err 400 fs/ext4/super.c int err = 0; err 402 fs/ext4/super.c err = ext4_journal_get_write_access(handle, err 404 fs/ext4/super.c if (err) err 405 fs/ext4/super.c return err; err 411 fs/ext4/super.c err = ext4_journal_dirty_metadata(handle, err 414 fs/ext4/super.c return err; err 420 fs/ext4/super.c int err = 0; err 422 fs/ext4/super.c err = ext4_journal_get_write_access(handle, err 424 fs/ext4/super.c if (err) err 425 fs/ext4/super.c return err; err 431 fs/ext4/super.c err = ext4_journal_dirty_metadata(handle, err 434 fs/ext4/super.c return err; err 1946 fs/ext4/super.c int err; err 2272 fs/ext4/super.c err = percpu_counter_init(&sbi->s_freeblocks_counter, err 2274 fs/ext4/super.c if (!err) { err 2275 fs/ext4/super.c err = percpu_counter_init(&sbi->s_freeinodes_counter, err 2278 fs/ext4/super.c if (!err) { err 2279 fs/ext4/super.c err = percpu_counter_init(&sbi->s_dirs_counter, err 2282 fs/ext4/super.c if (!err) { err 2283 fs/ext4/super.c err = percpu_counter_init(&sbi->s_dirtyblocks_counter, 0); err 2285 fs/ext4/super.c if (err) { err 2486 fs/ext4/super.c err = ext4_mb_init(sb, needs_recovery); err 2487 fs/ext4/super.c if (err) { err 2489 fs/ext4/super.c err); err 2697 fs/ext4/super.c int err = 0; err 2750 fs/ext4/super.c err = jbd2_journal_update_format(journal); err 2751 fs/ext4/super.c if (err) { err 2754 fs/ext4/super.c return err; err 2759 fs/ext4/super.c err = jbd2_journal_wipe(journal, !really_read_only); err 2760 fs/ext4/super.c if (!err) err 2761 fs/ext4/super.c err = jbd2_journal_load(journal); err 2763 fs/ext4/super.c if (err) { err 2766 fs/ext4/super.c return err; err 2789 fs/ext4/super.c int err; err 2804 fs/ext4/super.c err = jbd2_journal_create(journal); err 2805 fs/ext4/super.c if (err) { err 3026 fs/ext4/super.c int err; err 3047 fs/ext4/super.c err = -EINVAL; err 3064 fs/ext4/super.c err = -EROFS; err 3099 fs/ext4/super.c err = -EROFS; err 3118 fs/ext4/super.c err = -EINVAL; err 3134 fs/ext4/super.c err = -EINVAL; err 3146 fs/ext4/super.c if ((err = ext4_group_extend(sb, es, n_blocks_count))) err 3175 fs/ext4/super.c return err; err 3265 fs/ext4/super.c int ret, err; err 3272 fs/ext4/super.c err = ext4_journal_stop(handle); err 3274 fs/ext4/super.c ret = err; err 3281 fs/ext4/super.c int ret, err; err 3294 fs/ext4/super.c err = ext4_journal_stop(handle); err 3296 fs/ext4/super.c ret = err; err 3302 fs/ext4/super.c int ret, err; err 3312 fs/ext4/super.c err = ext4_journal_stop(handle); err 3314 fs/ext4/super.c ret = err; err 3320 fs/ext4/super.c int ret, err; err 3328 fs/ext4/super.c err = ext4_journal_stop(handle); err 3330 fs/ext4/super.c ret = err; err 3336 fs/ext4/super.c int ret, err; err 3347 fs/ext4/super.c err = ext4_journal_stop(handle); err 3349 fs/ext4/super.c ret = err; err 3367 fs/ext4/super.c int ret, err; err 3375 fs/ext4/super.c err = ext4_journal_stop(handle); err 3377 fs/ext4/super.c ret = err; err 3397 fs/ext4/super.c int err; err 3406 fs/ext4/super.c err = path_lookup(path, LOOKUP_FOLLOW, &nd); err 3407 fs/ext4/super.c if (err) err 3408 fs/ext4/super.c return err; err 3434 fs/ext4/super.c err = jbd2_journal_flush(EXT4_SB(sb)->s_journal); err 3436 fs/ext4/super.c if (err) { err 3438 fs/ext4/super.c return err; err 3442 fs/ext4/super.c err = vfs_quota_on_path(sb, type, format_id, &nd.path); err 3444 fs/ext4/super.c return err; err 3456 fs/ext4/super.c int err = 0; err 3471 fs/ext4/super.c bh = ext4_bread(NULL, inode, blk, 0, &err); err 3472 fs/ext4/super.c if (err) err 3473 fs/ext4/super.c return err; err 3494 fs/ext4/super.c int err = 0; err 3512 fs/ext4/super.c bh = ext4_bread(handle, inode, blk, 1, &err); err 3516 fs/ext4/super.c err = ext4_journal_get_write_access(handle, bh); err 3517 fs/ext4/super.c if (err) { err 3527 fs/ext4/super.c err = ext4_journal_dirty_metadata(handle, bh); err 3530 fs/ext4/super.c err = ext4_jbd2_file_inode(handle, inode); err 3534 fs/ext4/super.c if (err) err 3544 fs/ext4/super.c return err; err 3637 fs/ext4/super.c int err; err 3640 fs/ext4/super.c err = init_ext4_mballoc(); err 3641 fs/ext4/super.c if (err) err 3642 fs/ext4/super.c return err; err 3644 fs/ext4/super.c err = init_ext4_xattr(); err 3645 fs/ext4/super.c if (err) err 3647 fs/ext4/super.c err = init_inodecache(); err 3648 fs/ext4/super.c if (err) err 3650 fs/ext4/super.c err = register_filesystem(&ext4_fs_type); err 3651 fs/ext4/super.c if (err) err 3654 fs/ext4/super.c err = register_filesystem(&ext4dev_fs_type); err 3655 fs/ext4/super.c if (err) { err 3667 fs/ext4/super.c return err; err 53 fs/ext4/xattr_security.c int err; err 58 fs/ext4/xattr_security.c err = security_inode_init_security(inode, dir, &name, &value, &len); err 59 fs/ext4/xattr_security.c if (err) { err 60 fs/ext4/xattr_security.c if (err == -EOPNOTSUPP) err 62 fs/ext4/xattr_security.c return err; err 64 fs/ext4/xattr_security.c err = ext4_xattr_set_handle(handle, inode, EXT4_XATTR_INDEX_SECURITY, err 68 fs/ext4/xattr_security.c return err; err 72 fs/fat/dir.c int err, offset; err 80 fs/fat/dir.c err = fat_bmap(dir, iblock, &phys, &mapped_blocks); err 81 fs/fat/dir.c if (err || !phys) err 359 fs/fat/dir.c int chl, i, j, last_u, err, len; err 361 fs/fat/dir.c err = -ENOENT; err 448 fs/fat/dir.c err = 0; err 453 fs/fat/dir.c return err; err 952 fs/fat/dir.c int err = 0, orig_slots; err 957 fs/fat/dir.c err = -EIO; err 970 fs/fat/dir.c err = sync_dirty_buffer(bh); err 972 fs/fat/dir.c if (err) err 979 fs/fat/dir.c return err; err 986 fs/fat/dir.c int err = 0, nr_slots; err 1004 fs/fat/dir.c err = sync_dirty_buffer(bh); err 1006 fs/fat/dir.c if (err) err 1007 fs/fat/dir.c return err; err 1016 fs/fat/dir.c err = __fat_remove_entries(dir, sinfo->slot_off, nr_slots); err 1017 fs/fat/dir.c if (err) { err 1039 fs/fat/dir.c int err, i, n; err 1047 fs/fat/dir.c err = -ENOMEM; err 1058 fs/fat/dir.c err = fat_sync_bhs(bhs, n); err 1059 fs/fat/dir.c if (err) err 1068 fs/fat/dir.c err = fat_sync_bhs(bhs, n); err 1069 fs/fat/dir.c if (err) err 1080 fs/fat/dir.c return err; err 1091 fs/fat/dir.c int err, cluster; err 1093 fs/fat/dir.c err = fat_alloc_clusters(dir, &cluster, 1); err 1094 fs/fat/dir.c if (err) err 1100 fs/fat/dir.c err = -ENOMEM; err 1132 fs/fat/dir.c err = fat_zeroed_cluster(dir, blknr, 1, bhs, MAX_BUF_PER_PAGE); err 1133 fs/fat/dir.c if (err) err 1141 fs/fat/dir.c return err; err 1155 fs/fat/dir.c int err, i, n, offset, cluster[2]; err 1166 fs/fat/dir.c err = fat_alloc_clusters(dir, cluster, *nr_cluster); err 1167 fs/fat/dir.c if (err) err 1182 fs/fat/dir.c err = -ENOMEM; err 1208 fs/fat/dir.c err = fat_zeroed_cluster(dir, start_blknr, ++n, bhs, MAX_BUF_PER_PAGE); err 1209 fs/fat/dir.c if (err) err 1223 fs/fat/dir.c return err; err 1233 fs/fat/dir.c int err, free_slots, i, nr_bhs; err 1242 fs/fat/dir.c err = -ENOSPC; err 1270 fs/fat/dir.c err = -EIO; err 1275 fs/fat/dir.c err = 0; err 1298 fs/fat/dir.c err = fat_sync_bhs(bhs, long_bhs); err 1299 fs/fat/dir.c if (!err && i < nr_bhs) { err 1305 fs/fat/dir.c err = sync_dirty_buffer(bhs[i]); err 1309 fs/fat/dir.c if (err) err 1324 fs/fat/dir.c err = cluster; err 1327 fs/fat/dir.c err = fat_chain_add(dir, cluster, nr_cluster); err 1328 fs/fat/dir.c if (err) { err 1351 fs/fat/dir.c return err; err 1357 fs/fat/dir.c return err; err 77 fs/fat/fatent.c goto err; err 94 fs/fat/fatent.c err: err 333 fs/fat/fatent.c int err, offset; err 347 fs/fat/fatent.c err = ops->ent_bread(sb, fatent, offset, blocknr); err 348 fs/fat/fatent.c if (err) err 349 fs/fat/fatent.c return err; err 360 fs/fat/fatent.c int err, n, copy; err 362 fs/fat/fatent.c err = 0; err 369 fs/fat/fatent.c err = -ENOMEM; err 376 fs/fat/fatent.c err = sync_dirty_buffer(c_bh); err 378 fs/fat/fatent.c if (err) err 383 fs/fat/fatent.c return err; err 391 fs/fat/fatent.c int err; err 395 fs/fat/fatent.c err = fat_sync_bhs(fatent->bhs, fatent->nr_bhs); err 396 fs/fat/fatent.c if (err) err 397 fs/fat/fatent.c return err; err 449 fs/fat/fatent.c int i, count, err, nr_bhs, idx_clus; err 460 fs/fat/fatent.c err = nr_bhs = idx_clus = 0; err 469 fs/fat/fatent.c err = fat_ent_read_block(sb, &fatent); err 470 fs/fat/fatent.c if (err) err 511 fs/fat/fatent.c err = -ENOSPC; err 516 fs/fat/fatent.c if (!err) { err 518 fs/fat/fatent.c err = fat_sync_bhs(bhs, nr_bhs); err 519 fs/fat/fatent.c if (!err) err 520 fs/fat/fatent.c err = fat_mirror_bhs(sb, bhs, nr_bhs); err 525 fs/fat/fatent.c if (err && idx_clus) err 528 fs/fat/fatent.c return err; err 538 fs/fat/fatent.c int i, err, nr_bhs; err 547 fs/fat/fatent.c err = cluster; err 552 fs/fat/fatent.c err = -EIO; err 576 fs/fat/fatent.c err = fat_sync_bhs(bhs, nr_bhs); err 577 fs/fat/fatent.c if (err) err 580 fs/fat/fatent.c err = fat_mirror_bhs(sb, bhs, nr_bhs); err 581 fs/fat/fatent.c if (err) err 591 fs/fat/fatent.c err = fat_sync_bhs(bhs, nr_bhs); err 592 fs/fat/fatent.c if (err) err 595 fs/fat/fatent.c err = fat_mirror_bhs(sb, bhs, nr_bhs); err 602 fs/fat/fatent.c return err; err 629 fs/fat/fatent.c int err = 0, free; err 650 fs/fat/fatent.c err = fat_ent_read_block(sb, &fatent); err 651 fs/fat/fatent.c if (err) err 665 fs/fat/fatent.c return err; err 42 fs/fat/file.c int err, is_dir = S_ISDIR(inode->i_mode); err 45 fs/fat/file.c err = get_user(attr, user_attr); err 46 fs/fat/file.c if (err) err 47 fs/fat/file.c return err; err 51 fs/fat/file.c err = mnt_want_write(filp->f_path.mnt); err 52 fs/fat/file.c if (err) err 83 fs/fat/file.c err = -EINVAL; err 90 fs/fat/file.c err = -EPERM; err 101 fs/fat/file.c err = security_inode_setattr(filp->f_path.dentry, &ia); err 102 fs/fat/file.c if (err) err 106 fs/fat/file.c err = fat_setattr(filp->f_path.dentry, &ia); err 107 fs/fat/file.c if (err) err 124 fs/fat/file.c return err; err 158 fs/fat/file.c int err; err 160 fs/fat/file.c err = generic_cont_expand_simple(inode, size); err 161 fs/fat/file.c if (err) err 167 fs/fat/file.c err = sync_page_range_nolock(inode, mapping, start, count); err 169 fs/fat/file.c return err; err 176 fs/fat/file.c int err, wait, free_start, i_start, i_logstart; err 195 fs/fat/file.c err = fat_sync_inode(inode); err 196 fs/fat/file.c if (err) { err 199 fs/fat/file.c return err; err 226 fs/fat/file.c err = fat_ent_write(inode, &fatent, FAT_ENT_EOF, wait); err 227 fs/fat/file.c if (err) err 228 fs/fat/file.c ret = err; err 43 fs/fat/inode.c int err, cluster; err 45 fs/fat/inode.c err = fat_alloc_clusters(inode, &cluster, 1); err 46 fs/fat/inode.c if (err) err 47 fs/fat/inode.c return err; err 50 fs/fat/inode.c err = fat_chain_add(inode, cluster, 1); err 51 fs/fat/inode.c if (err) err 53 fs/fat/inode.c return err; err 64 fs/fat/inode.c int err, offset; err 66 fs/fat/inode.c err = fat_bmap(inode, iblock, &phys, &mapped_blocks); err 67 fs/fat/inode.c if (err) err 68 fs/fat/inode.c return err; err 86 fs/fat/inode.c err = fat_add_cluster(inode); err 87 fs/fat/inode.c if (err) err 88 fs/fat/inode.c return err; err 96 fs/fat/inode.c err = fat_bmap(inode, iblock, &phys, &mapped_blocks); err 97 fs/fat/inode.c if (err) err 98 fs/fat/inode.c return err; err 113 fs/fat/inode.c int err; err 115 fs/fat/inode.c err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); err 116 fs/fat/inode.c if (err) err 117 fs/fat/inode.c return err; err 159 fs/fat/inode.c int err; err 160 fs/fat/inode.c err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); err 161 fs/fat/inode.c if (!(err < 0) && !(MSDOS_I(inode)->i_attrs & ATTR_ARCH)) { err 166 fs/fat/inode.c return err; err 410 fs/fat/inode.c int err; err 422 fs/fat/inode.c err = fat_fill_inode(inode, de); err 423 fs/fat/inode.c if (err) { err 425 fs/fat/inode.c inode = ERR_PTR(err); err 543 fs/fat/inode.c int err = fat_count_free_clusters(dentry->d_sb); err 544 fs/fat/inode.c if (err) err 545 fs/fat/inode.c return err; err 565 fs/fat/inode.c int err; err 607 fs/fat/inode.c err = 0; err 609 fs/fat/inode.c err = sync_dirty_buffer(bh); err 611 fs/fat/inode.c return err; err 746 fs/fat/inode.c int err; err 750 fs/fat/inode.c err = fat_get_dotdot_entry(child->d_inode, &bh, &de, &i_pos); err 751 fs/fat/inode.c if (err) { err 752 fs/fat/inode.c parent = ERR_PTR(err); err 1508 fs/fat/inode.c int err; err 1510 fs/fat/inode.c err = fat_cache_init(); err 1511 fs/fat/inode.c if (err) err 1512 fs/fat/inode.c return err; err 1514 fs/fat/inode.c err = fat_init_inodecache(); err 1515 fs/fat/inode.c if (err) err 1522 fs/fat/inode.c return err; err 200 fs/fat/misc.c int i, err = 0; err 207 fs/fat/misc.c err = -EOPNOTSUPP; err 208 fs/fat/misc.c } else if (!err && !buffer_uptodate(bhs[i])) err 209 fs/fat/misc.c err = -EIO; err 211 fs/fat/misc.c return err; err 54 fs/fcntl.c int err = -EBADF; err 66 fs/fcntl.c err = expand_files(files, newfd); err 70 fs/fcntl.c if (unlikely(err < 0)) { err 71 fs/fcntl.c if (err == -EMFILE) err 89 fs/fcntl.c err = -EBUSY; err 109 fs/fcntl.c err = -EBADF; err 112 fs/fcntl.c return err; err 208 fs/fcntl.c int err; err 210 fs/fcntl.c err = security_file_set_fowner(filp); err 211 fs/fcntl.c if (err) err 212 fs/fcntl.c return err; err 257 fs/fcntl.c long err = -EINVAL; err 264 fs/fcntl.c err = alloc_fd(arg, cmd == F_DUPFD_CLOEXEC ? O_CLOEXEC : 0); err 265 fs/fcntl.c if (err >= 0) { err 267 fs/fcntl.c fd_install(err, filp); err 271 fs/fcntl.c err = get_close_on_exec(fd) ? FD_CLOEXEC : 0; err 274 fs/fcntl.c err = 0; err 278 fs/fcntl.c err = filp->f_flags; err 281 fs/fcntl.c err = setfl(fd, filp, arg); err 284 fs/fcntl.c err = fcntl_getlk(filp, (struct flock __user *) arg); err 288 fs/fcntl.c err = fcntl_setlk(fd, filp, cmd, (struct flock __user *) arg); err 298 fs/fcntl.c err = f_getown(filp); err 302 fs/fcntl.c err = f_setown(filp, arg, 1); err 305 fs/fcntl.c err = filp->f_owner.signum; err 312 fs/fcntl.c err = 0; err 316 fs/fcntl.c err = fcntl_getlease(filp); err 319 fs/fcntl.c err = fcntl_setlease(fd, filp, arg); err 322 fs/fcntl.c err = fcntl_dirnotify(fd, filp, arg); err 327 fs/fcntl.c return err; err 333 fs/fcntl.c long err = -EBADF; err 339 fs/fcntl.c err = security_file_fcntl(filp, cmd, arg); err 340 fs/fcntl.c if (err) { err 342 fs/fcntl.c return err; err 345 fs/fcntl.c err = do_fcntl(fd, cmd, arg, filp); err 349 fs/fcntl.c return err; err 356 fs/fcntl.c long err; err 358 fs/fcntl.c err = -EBADF; err 363 fs/fcntl.c err = security_file_fcntl(filp, cmd, arg); err 364 fs/fcntl.c if (err) { err 366 fs/fcntl.c return err; err 368 fs/fcntl.c err = -EBADF; err 372 fs/fcntl.c err = fcntl_getlk64(filp, (struct flock64 __user *) arg); err 376 fs/fcntl.c err = fcntl_setlk64(fd, filp, cmd, err 380 fs/fcntl.c err = do_fcntl(fd, cmd, arg, filp); err 385 fs/fcntl.c return err; err 87 fs/fifo.c goto err; err 120 fs/fifo.c goto err; err 131 fs/fifo.c goto err; err 137 fs/fifo.c goto err; err 139 fs/fifo.c err: err 125 fs/filesystems.c int err, index; err 128 fs/filesystems.c err = PTR_ERR(name); err 130 fs/filesystems.c return err; err 132 fs/filesystems.c err = -EINVAL; err 136 fs/filesystems.c err = index; err 142 fs/filesystems.c return err; err 289 fs/fs-writeback.c int err = write_inode(inode, wait); err 291 fs/fs-writeback.c ret = err; err 295 fs/fs-writeback.c int err = filemap_fdatawait(mapping); err 297 fs/fs-writeback.c ret = err; err 758 fs/fs-writeback.c int err = 0; err 763 fs/fs-writeback.c err = filemap_fdatawrite(mapping); err 766 fs/fs-writeback.c if (!err) err 767 fs/fs-writeback.c err = err2; err 771 fs/fs-writeback.c if (!err) err 772 fs/fs-writeback.c err = err2; err 783 fs/fs-writeback.c if (!err) err 784 fs/fs-writeback.c err = err2; err 789 fs/fs-writeback.c return err; err 125 fs/fuse/control.c goto err; err 131 fs/fuse/control.c goto err; err 135 fs/fuse/control.c err: err 164 fs/fuse/control.c int err; err 166 fs/fuse/control.c err = simple_fill_super(sb, FUSE_CTL_SUPER_MAGIC, &empty_descr); err 167 fs/fuse/control.c if (err) err 168 fs/fuse/control.c return err; err 174 fs/fuse/control.c err = fuse_ctl_add_conn(fc); err 175 fs/fuse/control.c if (err) { err 178 fs/fuse/control.c return err; err 100 fs/fuse/dev.c int err; err 106 fs/fuse/dev.c err = -EINTR; err 110 fs/fuse/dev.c err = -ENOTCONN; err 115 fs/fuse/dev.c err = -ENOMEM; err 125 fs/fuse/dev.c return ERR_PTR(err); err 459 fs/fuse/dev.c int err = 0; err 463 fs/fuse/dev.c err = -ENOENT; err 468 fs/fuse/dev.c return err; err 534 fs/fuse/dev.c int err; err 546 fs/fuse/dev.c err = get_user_pages(current, current->mm, cs->addr, 1, cs->write, 0, err 549 fs/fuse/dev.c if (err < 0) err 550 fs/fuse/dev.c return err; err 551 fs/fuse/dev.c BUG_ON(err != 1); err 592 fs/fuse/dev.c int err; err 593 fs/fuse/dev.c if (!cs->len && (err = fuse_copy_fill(cs))) err 594 fs/fuse/dev.c return err; err 619 fs/fuse/dev.c int err = fuse_copy_page(cs, page, offset, count, zeroing); err 620 fs/fuse/dev.c if (err) err 621 fs/fuse/dev.c return err; err 634 fs/fuse/dev.c int err; err 635 fs/fuse/dev.c if (!cs->len && (err = fuse_copy_fill(cs))) err 636 fs/fuse/dev.c return err; err 647 fs/fuse/dev.c int err = 0; err 650 fs/fuse/dev.c for (i = 0; !err && i < numargs; i++) { err 653 fs/fuse/dev.c err = fuse_copy_pages(cs, arg->size, zeroing); err 655 fs/fuse/dev.c err = fuse_copy_one(cs, arg->value, arg->size); err 657 fs/fuse/dev.c return err; err 700 fs/fuse/dev.c int err; err 716 fs/fuse/dev.c err = fuse_copy_one(&cs, &ih, sizeof(ih)); err 717 fs/fuse/dev.c if (!err) err 718 fs/fuse/dev.c err = fuse_copy_one(&cs, &arg, sizeof(arg)); err 721 fs/fuse/dev.c return err ? err : reqsize; err 736 fs/fuse/dev.c int err; err 748 fs/fuse/dev.c err = -EAGAIN; err 754 fs/fuse/dev.c err = -ENODEV; err 757 fs/fuse/dev.c err = -ERESTARTSYS; err 784 fs/fuse/dev.c err = fuse_copy_one(&cs, &in->h, sizeof(in->h)); err 785 fs/fuse/dev.c if (!err) err 786 fs/fuse/dev.c err = fuse_copy_args(&cs, in->numargs, in->argpages, err 795 fs/fuse/dev.c if (err) { err 798 fs/fuse/dev.c return err; err 813 fs/fuse/dev.c return err; err 863 fs/fuse/dev.c int err; err 876 fs/fuse/dev.c err = fuse_copy_one(&cs, &oh, sizeof(oh)); err 877 fs/fuse/dev.c if (err) err 879 fs/fuse/dev.c err = -EINVAL; err 885 fs/fuse/dev.c err = -ENOENT; err 902 fs/fuse/dev.c err = -EINVAL; err 923 fs/fuse/dev.c err = copy_out_args(&cs, &req->out, nbytes); err 928 fs/fuse/dev.c if (!err) { err 930 fs/fuse/dev.c err = -ENOENT; err 935 fs/fuse/dev.c return err ? err : nbytes; err 941 fs/fuse/dev.c return err; err 1096 fs/fuse/dev.c int err = -ENOMEM; err 1103 fs/fuse/dev.c err = misc_register(&fuse_miscdevice); err 1104 fs/fuse/dev.c if (err) err 1112 fs/fuse/dev.c return err; err 164 fs/fuse/dir.c int err; err 194 fs/fuse/dir.c err = req->out.h.error; err 197 fs/fuse/dir.c if (!err && !outarg.nodeid) err 198 fs/fuse/dir.c err = -ENOENT; err 199 fs/fuse/dir.c if (!err) { err 211 fs/fuse/dir.c if (err || (outarg.attr.mode ^ inode->i_mode) & S_IFMT) err 264 fs/fuse/dir.c int err; err 267 fs/fuse/dir.c err = -ENAMETOOLONG; err 272 fs/fuse/dir.c err = PTR_ERR(req); err 277 fs/fuse/dir.c err = PTR_ERR(forget_req); err 287 fs/fuse/dir.c err = req->out.h.error; err 290 fs/fuse/dir.c if (err || !outarg->nodeid) err 293 fs/fuse/dir.c err = -EIO; err 302 fs/fuse/dir.c err = -ENOMEM; err 307 fs/fuse/dir.c err = 0; err 312 fs/fuse/dir.c return err; err 318 fs/fuse/dir.c int err; err 325 fs/fuse/dir.c err = fuse_lookup_name(dir->i_sb, get_node_id(dir), &entry->d_name, err 327 fs/fuse/dir.c if (err == -ENOENT) { err 329 fs/fuse/dir.c err = 0; err 331 fs/fuse/dir.c if (err) err 334 fs/fuse/dir.c err = -EIO; err 342 fs/fuse/dir.c err = PTR_ERR(newent); err 361 fs/fuse/dir.c return ERR_PTR(err); err 386 fs/fuse/dir.c int err; err 406 fs/fuse/dir.c err = PTR_ERR(req); err 410 fs/fuse/dir.c err = -ENOMEM; err 436 fs/fuse/dir.c err = req->out.h.error; err 437 fs/fuse/dir.c if (err) { err 438 fs/fuse/dir.c if (err == -ENOSYS) err 443 fs/fuse/dir.c err = -EIO; err 476 fs/fuse/dir.c return err; err 488 fs/fuse/dir.c int err; err 506 fs/fuse/dir.c err = req->out.h.error; err 508 fs/fuse/dir.c if (err) err 511 fs/fuse/dir.c err = -EIO; err 548 fs/fuse/dir.c return err; err 576 fs/fuse/dir.c int err = fuse_create_open(dir, entry, mode, nd); err 577 fs/fuse/dir.c if (err != -ENOSYS) err 578 fs/fuse/dir.c return err; err 623 fs/fuse/dir.c int err; err 635 fs/fuse/dir.c err = req->out.h.error; err 637 fs/fuse/dir.c if (!err) { err 647 fs/fuse/dir.c } else if (err == -EINTR) err 649 fs/fuse/dir.c return err; err 654 fs/fuse/dir.c int err; err 666 fs/fuse/dir.c err = req->out.h.error; err 668 fs/fuse/dir.c if (!err) { err 672 fs/fuse/dir.c } else if (err == -EINTR) err 674 fs/fuse/dir.c return err; err 680 fs/fuse/dir.c int err; err 699 fs/fuse/dir.c err = req->out.h.error; err 701 fs/fuse/dir.c if (!err) { err 712 fs/fuse/dir.c } else if (err == -EINTR) { err 723 fs/fuse/dir.c return err; err 729 fs/fuse/dir.c int err; err 745 fs/fuse/dir.c err = create_new_entry(fc, req, newdir, newent, inode->i_mode); err 752 fs/fuse/dir.c if (!err || err == -EINTR) err 754 fs/fuse/dir.c return err; err 781 fs/fuse/dir.c int err; err 815 fs/fuse/dir.c err = req->out.h.error; err 817 fs/fuse/dir.c if (!err) { err 820 fs/fuse/dir.c err = -EIO; err 829 fs/fuse/dir.c return err; err 836 fs/fuse/dir.c int err; err 841 fs/fuse/dir.c err = fuse_do_getattr(inode, stat, file); err 844 fs/fuse/dir.c err = 0; err 854 fs/fuse/dir.c return err; err 891 fs/fuse/dir.c int err; err 908 fs/fuse/dir.c err = req->out.h.error; err 910 fs/fuse/dir.c if (err == -ENOSYS) { err 912 fs/fuse/dir.c err = 0; err 914 fs/fuse/dir.c return err; err 934 fs/fuse/dir.c int err = 0; err 944 fs/fuse/dir.c err = fuse_update_attributes(inode, NULL, NULL, &refreshed); err 945 fs/fuse/dir.c if (err) err 946 fs/fuse/dir.c return err; err 950 fs/fuse/dir.c err = generic_permission(inode, mask, NULL); err 955 fs/fuse/dir.c if (err == -EACCES && !refreshed) { err 956 fs/fuse/dir.c err = fuse_do_getattr(inode, NULL, NULL); err 957 fs/fuse/dir.c if (!err) err 958 fs/fuse/dir.c err = generic_permission(inode, mask, NULL); err 966 fs/fuse/dir.c err = fuse_access(inode, mask); err 972 fs/fuse/dir.c err = fuse_do_getattr(inode, NULL, NULL); err 973 fs/fuse/dir.c if (!err && !(inode->i_mode & S_IXUGO)) err 977 fs/fuse/dir.c return err; err 1007 fs/fuse/dir.c int err; err 1031 fs/fuse/dir.c err = req->out.h.error; err 1033 fs/fuse/dir.c if (!err) err 1034 fs/fuse/dir.c err = parse_dirfile(page_address(page), nbytes, file, dstbuf, err 1039 fs/fuse/dir.c return err; err 1212 fs/fuse/dir.c int err; err 1218 fs/fuse/dir.c err = inode_change_ok(inode, attr); err 1219 fs/fuse/dir.c if (err) err 1220 fs/fuse/dir.c return err; err 1270 fs/fuse/dir.c err = req->out.h.error; err 1272 fs/fuse/dir.c if (err) { err 1273 fs/fuse/dir.c if (err == -EINTR) err 1280 fs/fuse/dir.c err = -EIO; err 1312 fs/fuse/dir.c return err; err 1342 fs/fuse/dir.c int err; err 1364 fs/fuse/dir.c err = req->out.h.error; err 1366 fs/fuse/dir.c if (err == -ENOSYS) { err 1368 fs/fuse/dir.c err = -EOPNOTSUPP; err 1370 fs/fuse/dir.c return err; err 1478 fs/fuse/dir.c int err; err 1493 fs/fuse/dir.c err = req->out.h.error; err 1495 fs/fuse/dir.c if (err == -ENOSYS) { err 1497 fs/fuse/dir.c err = -EOPNOTSUPP; err 1499 fs/fuse/dir.c return err; err 24 fs/fuse/file.c int err; err 43 fs/fuse/file.c err = req->out.h.error; err 46 fs/fuse/file.c return err; err 112 fs/fuse/file.c int err; err 118 fs/fuse/file.c err = generic_file_open(inode, file); err 119 fs/fuse/file.c if (err) err 120 fs/fuse/file.c return err; err 126 fs/fuse/file.c err = fuse_send_open(inode, file, isdir, &outarg); err 127 fs/fuse/file.c if (err) err 135 fs/fuse/file.c return err; err 263 fs/fuse/file.c int err; err 282 fs/fuse/file.c err = req->out.h.error; err 284 fs/fuse/file.c if (err == -ENOSYS) { err 286 fs/fuse/file.c err = 0; err 288 fs/fuse/file.c return err; err 314 fs/fuse/file.c int err; err 327 fs/fuse/file.c err = write_inode_now(inode, 0); err 328 fs/fuse/file.c if (err) err 329 fs/fuse/file.c return err; err 346 fs/fuse/file.c err = req->out.h.error; err 348 fs/fuse/file.c if (err == -ENOSYS) { err 353 fs/fuse/file.c err = 0; err 355 fs/fuse/file.c return err; err 424 fs/fuse/file.c int err; err 426 fs/fuse/file.c err = -EIO; err 438 fs/fuse/file.c err = PTR_ERR(req); err 448 fs/fuse/file.c err = req->out.h.error; err 451 fs/fuse/file.c if (!err) { err 464 fs/fuse/file.c return err; err 554 fs/fuse/file.c int err; err 556 fs/fuse/file.c err = -EIO; err 563 fs/fuse/file.c err = PTR_ERR(data.req); err 567 fs/fuse/file.c err = read_cache_pages(mapping, pages, fuse_readpages_fill, &data); err 568 fs/fuse/file.c if (!err) { err 575 fs/fuse/file.c return err; err 584 fs/fuse/file.c int err; err 589 fs/fuse/file.c err = fuse_update_attributes(inode, NULL, iocb->ki_filp, NULL); err 590 fs/fuse/file.c if (err) err 591 fs/fuse/file.c return err; err 668 fs/fuse/file.c int err; err 691 fs/fuse/file.c err = req->out.h.error; err 693 fs/fuse/file.c if (!err && !nres) err 694 fs/fuse/file.c err = -EIO; err 695 fs/fuse/file.c if (!err) { err 702 fs/fuse/file.c return err ? err : nres; err 761 fs/fuse/file.c int err; err 775 fs/fuse/file.c err = -EFAULT; err 779 fs/fuse/file.c err = -ENOMEM; err 796 fs/fuse/file.c err = 0; err 812 fs/fuse/file.c return count > 0 ? count : err; err 821 fs/fuse/file.c int err = 0; err 833 fs/fuse/file.c err = PTR_ERR(req); err 839 fs/fuse/file.c err = count; err 845 fs/fuse/file.c err = req->out.h.error; err 846 fs/fuse/file.c if (!err) { err 852 fs/fuse/file.c err = -EIO; err 856 fs/fuse/file.c } while (!err && iov_iter_count(ii)); err 863 fs/fuse/file.c return res > 0 ? res : err; err 874 fs/fuse/file.c ssize_t err; err 879 fs/fuse/file.c err = generic_segment_checks(iov, &nr_segs, &count, VERIFY_READ); err 880 fs/fuse/file.c if (err) err 881 fs/fuse/file.c return err; err 889 fs/fuse/file.c err = generic_write_checks(file, &pos, &count, S_ISBLK(inode->i_mode)); err 890 fs/fuse/file.c if (err) err 896 fs/fuse/file.c err = file_remove_suid(file); err 897 fs/fuse/file.c if (err) err 911 fs/fuse/file.c return written ? written : err; err 973 fs/fuse/file.c int err = fuse_get_user_pages(req, buf, nbytes_limit, !write); err 974 fs/fuse/file.c if (err) { err 975 fs/fuse/file.c res = err; err 1136 fs/fuse/file.c goto err; err 1171 fs/fuse/file.c err: err 1178 fs/fuse/file.c int err; err 1180 fs/fuse/file.c err = fuse_writepage_locked(page); err 1183 fs/fuse/file.c return err; err 1188 fs/fuse/file.c int err = 0; err 1191 fs/fuse/file.c err = fuse_writepage_locked(page); err 1192 fs/fuse/file.c if (!err) err 1195 fs/fuse/file.c return err; err 1316 fs/fuse/file.c int err; err 1327 fs/fuse/file.c err = req->out.h.error; err 1329 fs/fuse/file.c if (!err) err 1330 fs/fuse/file.c err = convert_fuse_file_lock(&outarg.lk, fl); err 1332 fs/fuse/file.c return err; err 1342 fs/fuse/file.c int err; err 1359 fs/fuse/file.c err = req->out.h.error; err 1361 fs/fuse/file.c if (err == -EINTR) err 1362 fs/fuse/file.c err = -ERESTARTSYS; err 1364 fs/fuse/file.c return err; err 1371 fs/fuse/file.c int err; err 1374 fs/fuse/file.c err = 0; err 1378 fs/fuse/file.c err = 0; err 1380 fs/fuse/file.c err = fuse_getlk(file, fl); err 1383 fs/fuse/file.c err = posix_lock_file(file, fl, NULL); err 1385 fs/fuse/file.c err = fuse_setlk(file, fl, 0); err 1387 fs/fuse/file.c return err; err 1394 fs/fuse/file.c int err; err 1397 fs/fuse/file.c err = flock_lock_file_wait(file, fl); err 1401 fs/fuse/file.c err = fuse_setlk(file, fl, 1); err 1404 fs/fuse/file.c return err; err 1414 fs/fuse/file.c int err; err 1435 fs/fuse/file.c err = req->out.h.error; err 1437 fs/fuse/file.c if (err == -ENOSYS) err 1440 fs/fuse/file.c return err ? 0 : outarg.block; err 318 fs/fuse/inode.c int err; err 338 fs/fuse/inode.c err = req->out.h.error; err 339 fs/fuse/inode.c if (!err) err 342 fs/fuse/inode.c return err; err 468 fs/fuse/inode.c int err; err 489 fs/fuse/inode.c err = bdi_init(&fc->bdi); err 490 fs/fuse/inode.c if (err) err 493 fs/fuse/inode.c err = bdi_register(&fc->bdi, NULL, "%u:%u-fuseblk", err 496 fs/fuse/inode.c err = bdi_register_dev(&fc->bdi, fc->dev); err 498 fs/fuse/inode.c if (err) err 568 fs/fuse/inode.c int err = -ESTALE; err 583 fs/fuse/inode.c err = fuse_lookup_name(sb, handle->nodeid, &name, &outarg, err 585 fs/fuse/inode.c if (err && err != -ENOENT) err 587 fs/fuse/inode.c if (err || !inode) { err 588 fs/fuse/inode.c err = -ESTALE; err 591 fs/fuse/inode.c err = -EIO; err 595 fs/fuse/inode.c err = -ESTALE; err 600 fs/fuse/inode.c err = -ENOMEM; err 614 fs/fuse/inode.c return ERR_PTR(err); err 690 fs/fuse/inode.c int err; err 697 fs/fuse/inode.c err = fuse_lookup_name(child_inode->i_sb, get_node_id(child_inode), err 699 fs/fuse/inode.c if (err && err != -ENOENT) err 700 fs/fuse/inode.c return ERR_PTR(err); err 701 fs/fuse/inode.c if (err || !inode) err 808 fs/fuse/inode.c int err; err 850 fs/fuse/inode.c err = -ENOMEM; err 853 fs/fuse/inode.c goto err; err 858 fs/fuse/inode.c goto err; err 872 fs/fuse/inode.c err = -EINVAL; err 876 fs/fuse/inode.c err = fuse_ctl_add_conn(fc); err 877 fs/fuse/inode.c if (err) err 901 fs/fuse/inode.c err: err 904 fs/fuse/inode.c return err; err 968 fs/fuse/inode.c int err; err 970 fs/fuse/inode.c err = register_filesystem(&fuse_fs_type); err 971 fs/fuse/inode.c if (err) err 974 fs/fuse/inode.c err = register_fuseblk(); err 975 fs/fuse/inode.c if (err) err 982 fs/fuse/inode.c err = -ENOMEM; err 993 fs/fuse/inode.c return err; err 1008 fs/fuse/inode.c int err; err 1012 fs/fuse/inode.c err = -ENOMEM; err 1018 fs/fuse/inode.c err = -ENOMEM; err 1027 fs/fuse/inode.c return err; err 1046 fs/fuse/inode.c goto err; err 1068 fs/fuse/inode.c err: err 963 fs/gfs2/bmap.c int err; err 985 fs/gfs2/bmap.c err = 0; err 999 fs/gfs2/bmap.c err = -EIO; err 1005 fs/gfs2/bmap.c err = 0; err 1016 fs/gfs2/bmap.c return err; err 928 fs/gfs2/inode.c int err; err 934 fs/gfs2/inode.c err = security_inode_init_security(&ip->i_inode, &dip->i_inode, err 937 fs/gfs2/inode.c if (err) { err 938 fs/gfs2/inode.c if (err == -EOPNOTSUPP) err 940 fs/gfs2/inode.c return err; err 951 fs/gfs2/inode.c err = gfs2_ea_set_i(ip, &er); err 956 fs/gfs2/inode.c return err; err 617 fs/gfs2/quota.c int err = -EIO; err 666 fs/gfs2/quota.c err = 0; err 674 fs/gfs2/quota.c return err; err 497 fs/gfs2/super.c int error = 0, err; err 517 fs/gfs2/super.c err = gfs2_glock_wait(gh); err 518 fs/gfs2/super.c if (err) { err 520 fs/gfs2/super.c error = err; err 88 fs/hfs/catalog.c int err; err 101 fs/hfs/catalog.c err = hfs_brec_find(&fd); err 102 fs/hfs/catalog.c if (err != -ENOENT) { err 103 fs/hfs/catalog.c if (!err) err 104 fs/hfs/catalog.c err = -EEXIST; err 107 fs/hfs/catalog.c err = hfs_brec_insert(&fd, &entry, entry_size); err 108 fs/hfs/catalog.c if (err) err 113 fs/hfs/catalog.c err = hfs_brec_find(&fd); err 114 fs/hfs/catalog.c if (err != -ENOENT) { err 116 fs/hfs/catalog.c if (!err) err 117 fs/hfs/catalog.c err = -EEXIST; err 120 fs/hfs/catalog.c err = hfs_brec_insert(&fd, &entry, entry_size); err 121 fs/hfs/catalog.c if (err) err 136 fs/hfs/catalog.c return err; err 275 fs/hfs/catalog.c int err; err 285 fs/hfs/catalog.c err = hfs_brec_find(&src_fd); err 286 fs/hfs/catalog.c if (err) err 294 fs/hfs/catalog.c err = hfs_brec_find(&dst_fd); err 295 fs/hfs/catalog.c if (err != -ENOENT) { err 296 fs/hfs/catalog.c if (!err) err 297 fs/hfs/catalog.c err = -EEXIST; err 301 fs/hfs/catalog.c err = hfs_brec_insert(&dst_fd, &entry, src_fd.entrylength); err 302 fs/hfs/catalog.c if (err) err 310 fs/hfs/catalog.c err = hfs_brec_find(&src_fd); err 311 fs/hfs/catalog.c if (err) err 313 fs/hfs/catalog.c err = hfs_brec_remove(&src_fd); err 314 fs/hfs/catalog.c if (err) err 326 fs/hfs/catalog.c err = hfs_brec_find(&src_fd); err 327 fs/hfs/catalog.c if (err) err 329 fs/hfs/catalog.c err = hfs_brec_remove(&src_fd); err 330 fs/hfs/catalog.c if (err) err 337 fs/hfs/catalog.c err = hfs_brec_find(&dst_fd); err 338 fs/hfs/catalog.c if (err != -ENOENT) { err 339 fs/hfs/catalog.c if (!err) err 340 fs/hfs/catalog.c err = -EEXIST; err 343 fs/hfs/catalog.c err = hfs_brec_insert(&dst_fd, &entry, entry_size); err 347 fs/hfs/catalog.c return err; err 58 fs/hfs/dir.c int len, err; err 70 fs/hfs/dir.c err = hfs_brec_find(&fd); err 71 fs/hfs/dir.c if (err) err 85 fs/hfs/dir.c err = -EIO; err 101 fs/hfs/dir.c err = hfs_brec_goto(&fd, filp->f_pos - 1); err 102 fs/hfs/dir.c if (err) err 109 fs/hfs/dir.c err = -EIO; err 118 fs/hfs/dir.c err = -EIO; err 127 fs/hfs/dir.c err = -EIO; err 135 fs/hfs/dir.c err = -EIO; err 141 fs/hfs/dir.c err = hfs_brec_goto(&fd, 1); err 142 fs/hfs/dir.c if (err) err 149 fs/hfs/dir.c err = -ENOMEM; err 159 fs/hfs/dir.c return err; err 444 fs/hfs/super.c int err; err 451 fs/hfs/super.c err = register_filesystem(&hfs_fs_type); err 452 fs/hfs/super.c if (err) err 454 fs/hfs/super.c return err; err 157 fs/hfsplus/catalog.c int err; err 161 fs/hfsplus/catalog.c err = hfs_brec_read(fd, &tmp, sizeof(hfsplus_cat_entry)); err 162 fs/hfsplus/catalog.c if (err) err 163 fs/hfsplus/catalog.c return err; err 182 fs/hfsplus/catalog.c int err; err 192 fs/hfsplus/catalog.c err = hfs_brec_find(&fd); err 193 fs/hfsplus/catalog.c if (err != -ENOENT) { err 194 fs/hfsplus/catalog.c if (!err) err 195 fs/hfsplus/catalog.c err = -EEXIST; err 198 fs/hfsplus/catalog.c err = hfs_brec_insert(&fd, &entry, entry_size); err 199 fs/hfsplus/catalog.c if (err) err 204 fs/hfsplus/catalog.c err = hfs_brec_find(&fd); err 205 fs/hfsplus/catalog.c if (err != -ENOENT) { err 207 fs/hfsplus/catalog.c if (!err) err 208 fs/hfsplus/catalog.c err = -EEXIST; err 211 fs/hfsplus/catalog.c err = hfs_brec_insert(&fd, &entry, entry_size); err 212 fs/hfsplus/catalog.c if (err) err 227 fs/hfsplus/catalog.c return err; err 236 fs/hfsplus/catalog.c int err, off; err 247 fs/hfsplus/catalog.c err = hfs_brec_find(&fd); err 248 fs/hfsplus/catalog.c if (err) err 260 fs/hfsplus/catalog.c err = hfs_brec_find(&fd); err 261 fs/hfsplus/catalog.c if (err) err 284 fs/hfsplus/catalog.c err = hfs_brec_remove(&fd); err 285 fs/hfsplus/catalog.c if (err) err 289 fs/hfsplus/catalog.c err = hfs_brec_find(&fd); err 290 fs/hfsplus/catalog.c if (err) err 293 fs/hfsplus/catalog.c err = hfs_brec_remove(&fd); err 294 fs/hfsplus/catalog.c if (err) err 303 fs/hfsplus/catalog.c return err; err 314 fs/hfsplus/catalog.c int err = 0; err 324 fs/hfsplus/catalog.c err = hfs_brec_find(&src_fd); err 325 fs/hfsplus/catalog.c if (err) err 333 fs/hfsplus/catalog.c err = hfs_brec_find(&dst_fd); err 334 fs/hfsplus/catalog.c if (err != -ENOENT) { err 335 fs/hfsplus/catalog.c if (!err) err 336 fs/hfsplus/catalog.c err = -EEXIST; err 340 fs/hfsplus/catalog.c err = hfs_brec_insert(&dst_fd, &entry, src_fd.entrylength); err 341 fs/hfsplus/catalog.c if (err) err 349 fs/hfsplus/catalog.c err = hfs_brec_find(&src_fd); err 350 fs/hfsplus/catalog.c if (err) err 352 fs/hfsplus/catalog.c err = hfs_brec_remove(&src_fd); err 353 fs/hfsplus/catalog.c if (err) err 361 fs/hfsplus/catalog.c err = hfs_brec_find(&src_fd); err 362 fs/hfsplus/catalog.c if (err) err 365 fs/hfsplus/catalog.c err = hfs_brec_remove(&src_fd); err 366 fs/hfsplus/catalog.c if (err) err 372 fs/hfsplus/catalog.c err = hfs_brec_find(&dst_fd); err 373 fs/hfsplus/catalog.c if (err != -ENOENT) { err 374 fs/hfsplus/catalog.c if (!err) err 375 fs/hfsplus/catalog.c err = -EEXIST; err 378 fs/hfsplus/catalog.c err = hfs_brec_insert(&dst_fd, &entry, entry_size); err 382 fs/hfsplus/catalog.c return err; err 34 fs/hfsplus/dir.c int err; err 45 fs/hfsplus/dir.c err = hfs_brec_read(&fd, &entry, sizeof(entry)); err 46 fs/hfsplus/dir.c if (err) { err 47 fs/hfsplus/dir.c if (err == -ENOENT) { err 58 fs/hfsplus/dir.c err = -EIO; err 65 fs/hfsplus/dir.c err = -EIO; err 96 fs/hfsplus/dir.c err = -EIO; err 110 fs/hfsplus/dir.c return ERR_PTR(err); err 117 fs/hfsplus/dir.c int len, err; err 129 fs/hfsplus/dir.c err = hfs_brec_find(&fd); err 130 fs/hfsplus/dir.c if (err) err 144 fs/hfsplus/dir.c err = -EIO; err 149 fs/hfsplus/dir.c err = -EIO; err 160 fs/hfsplus/dir.c err = hfs_brec_goto(&fd, filp->f_pos - 1); err 161 fs/hfsplus/dir.c if (err) err 168 fs/hfsplus/dir.c err = -EIO; err 174 fs/hfsplus/dir.c err = hfsplus_uni2asc(sb, &fd.key->cat.name, strbuf, &len); err 175 fs/hfsplus/dir.c if (err) err 180 fs/hfsplus/dir.c err = -EIO; err 192 fs/hfsplus/dir.c err = -EIO; err 200 fs/hfsplus/dir.c err = -EIO; err 207 fs/hfsplus/dir.c err = hfs_brec_goto(&fd, 1); err 208 fs/hfsplus/dir.c if (err) err 215 fs/hfsplus/dir.c err = -ENOMEM; err 225 fs/hfsplus/dir.c return err; err 151 fs/hfsplus/inode.c int err; err 170 fs/hfsplus/inode.c err = hfsplus_find_cat(sb, dir->i_ino, &fd); err 171 fs/hfsplus/inode.c if (!err) err 172 fs/hfsplus/inode.c err = hfsplus_cat_read_inode(inode, &fd); err 174 fs/hfsplus/inode.c if (err) { err 176 fs/hfsplus/inode.c return ERR_PTR(err); err 39 fs/hfsplus/ioctl.c int err = 0; err 40 fs/hfsplus/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 41 fs/hfsplus/ioctl.c if (err) err 42 fs/hfsplus/ioctl.c return err; err 45 fs/hfsplus/ioctl.c err = -EACCES; err 49 fs/hfsplus/ioctl.c err = -EFAULT; err 55 fs/hfsplus/ioctl.c err = -EPERM; err 62 fs/hfsplus/ioctl.c err = -EOPNOTSUPP; err 88 fs/hfsplus/ioctl.c return err; err 28 fs/hfsplus/super.c long err = -EIO; err 45 fs/hfsplus/super.c err = hfsplus_find_cat(inode->i_sb, inode->i_ino, &fd); err 46 fs/hfsplus/super.c if (!err) err 47 fs/hfsplus/super.c err = hfsplus_cat_read_inode(inode, &fd); err 49 fs/hfsplus/super.c if (err) err 86 fs/hfsplus/super.c return ERR_PTR(err); err 293 fs/hfsplus/super.c int err = -EINVAL; err 304 fs/hfsplus/super.c err = -EINVAL; err 313 fs/hfsplus/super.c err = -EINVAL; err 321 fs/hfsplus/super.c err = -EINVAL; err 381 fs/hfsplus/super.c err = PTR_ERR(inode); err 390 fs/hfsplus/super.c err = PTR_ERR(root); err 396 fs/hfsplus/super.c err = -ENOMEM; err 411 fs/hfsplus/super.c err = PTR_ERR(inode); err 448 fs/hfsplus/super.c return err; err 497 fs/hfsplus/super.c int err; err 504 fs/hfsplus/super.c err = register_filesystem(&hfsplus_fs_type); err 505 fs/hfsplus/super.c if (err) err 507 fs/hfsplus/super.c return err; err 139 fs/hostfs/hostfs_kern.c int err; err 145 fs/hostfs/hostfs_kern.c err = stat_file(name, &i_ino, &i_mode, &i_nlink, &ino->i_uid, err 148 fs/hostfs/hostfs_kern.c if (err) err 149 fs/hostfs/hostfs_kern.c return err; err 210 fs/hostfs/hostfs_kern.c int err = 0; err 219 fs/hostfs/hostfs_kern.c err = -ENOMEM; err 227 fs/hostfs/hostfs_kern.c err = PTR_ERR(name); err 232 fs/hostfs/hostfs_kern.c err = read_name(ino, name); err 235 fs/hostfs/hostfs_kern.c return err; err 264 fs/hostfs/hostfs_kern.c int err; err 271 fs/hostfs/hostfs_kern.c err = do_statfs(HOSTFS_I(dentry->d_sb->s_root->d_inode)->host_filename, err 275 fs/hostfs/hostfs_kern.c if (err) err 276 fs/hostfs/hostfs_kern.c return err; err 444 fs/hostfs/hostfs_kern.c int err; err 452 fs/hostfs/hostfs_kern.c err = write_file(HOSTFS_I(inode)->fd, &base, buffer, count); err 453 fs/hostfs/hostfs_kern.c if (err != count) { err 463 fs/hostfs/hostfs_kern.c err = 0; err 469 fs/hostfs/hostfs_kern.c return err; err 476 fs/hostfs/hostfs_kern.c int err = 0; err 480 fs/hostfs/hostfs_kern.c err = read_file(FILE_HOSTFS_I(file)->fd, &start, buffer, err 482 fs/hostfs/hostfs_kern.c if (err < 0) err 485 fs/hostfs/hostfs_kern.c memset(&buffer[err], 0, PAGE_CACHE_SIZE - err); err 490 fs/hostfs/hostfs_kern.c err = 0; err 494 fs/hostfs/hostfs_kern.c return err; err 516 fs/hostfs/hostfs_kern.c int err; err 519 fs/hostfs/hostfs_kern.c err = write_file(FILE_HOSTFS_I(file)->fd, &pos, buffer + from, copied); err 522 fs/hostfs/hostfs_kern.c if (!PageUptodate(page) && err == PAGE_CACHE_SIZE) err 529 fs/hostfs/hostfs_kern.c if (err > 0 && (pos > inode->i_size)) err 534 fs/hostfs/hostfs_kern.c return err; err 548 fs/hostfs/hostfs_kern.c int type, err = -ENOMEM; err 563 fs/hostfs/hostfs_kern.c err = 0; err 592 fs/hostfs/hostfs_kern.c return err; err 645 fs/hostfs/hostfs_kern.c int err; err 649 fs/hostfs/hostfs_kern.c err = PTR_ERR(inode); err 653 fs/hostfs/hostfs_kern.c err = init_inode(inode, dentry); err 654 fs/hostfs/hostfs_kern.c if (err) err 657 fs/hostfs/hostfs_kern.c err = -ENOMEM; err 662 fs/hostfs/hostfs_kern.c err = read_name(inode, name); err 664 fs/hostfs/hostfs_kern.c if (err == -ENOENT) { err 668 fs/hostfs/hostfs_kern.c else if (err) err 678 fs/hostfs/hostfs_kern.c return ERR_PTR(err); err 699 fs/hostfs/hostfs_kern.c int err; err 708 fs/hostfs/hostfs_kern.c err = link_file(to_name, from_name); err 711 fs/hostfs/hostfs_kern.c return err; err 717 fs/hostfs/hostfs_kern.c int err; err 724 fs/hostfs/hostfs_kern.c err = unlink_file(file); err 726 fs/hostfs/hostfs_kern.c return err; err 732 fs/hostfs/hostfs_kern.c int err; err 736 fs/hostfs/hostfs_kern.c err = make_symlink(file, to); err 738 fs/hostfs/hostfs_kern.c return err; err 744 fs/hostfs/hostfs_kern.c int err; err 748 fs/hostfs/hostfs_kern.c err = do_mkdir(file, mode); err 750 fs/hostfs/hostfs_kern.c return err; err 756 fs/hostfs/hostfs_kern.c int err; err 760 fs/hostfs/hostfs_kern.c err = do_rmdir(file); err 762 fs/hostfs/hostfs_kern.c return err; err 769 fs/hostfs/hostfs_kern.c int err; err 773 fs/hostfs/hostfs_kern.c err = PTR_ERR(inode); err 777 fs/hostfs/hostfs_kern.c err = init_inode(inode, dentry); err 778 fs/hostfs/hostfs_kern.c if (err) err 781 fs/hostfs/hostfs_kern.c err = -ENOMEM; err 787 fs/hostfs/hostfs_kern.c err = do_mknod(name, mode, MAJOR(dev), MINOR(dev)); err 788 fs/hostfs/hostfs_kern.c if (err) err 791 fs/hostfs/hostfs_kern.c err = read_name(inode, name); err 793 fs/hostfs/hostfs_kern.c if (err) err 804 fs/hostfs/hostfs_kern.c return err; err 811 fs/hostfs/hostfs_kern.c int err; err 819 fs/hostfs/hostfs_kern.c err = rename_file(from_name, to_name); err 822 fs/hostfs/hostfs_kern.c return err; err 828 fs/hostfs/hostfs_kern.c int r = 0, w = 0, x = 0, err; err 839 fs/hostfs/hostfs_kern.c err = 0; err 841 fs/hostfs/hostfs_kern.c err = access_file(name, r, w, x); err 843 fs/hostfs/hostfs_kern.c if (!err) err 844 fs/hostfs/hostfs_kern.c err = generic_permission(ino, desired, NULL); err 845 fs/hostfs/hostfs_kern.c return err; err 852 fs/hostfs/hostfs_kern.c int err; err 856 fs/hostfs/hostfs_kern.c err = inode_change_ok(dentry->d_inode, attr); err 857 fs/hostfs/hostfs_kern.c if (err) err 858 fs/hostfs/hostfs_kern.c return err; err 901 fs/hostfs/hostfs_kern.c err = set_attr(name, &attrs, fd); err 903 fs/hostfs/hostfs_kern.c if (err) err 904 fs/hostfs/hostfs_kern.c return err; err 939 fs/hostfs/hostfs_kern.c int err; err 945 fs/hostfs/hostfs_kern.c err = do_readlink(name, buffer, PAGE_CACHE_SIZE); err 947 fs/hostfs/hostfs_kern.c if (err == PAGE_CACHE_SIZE) err 948 fs/hostfs/hostfs_kern.c err = -E2BIG; err 949 fs/hostfs/hostfs_kern.c else if (err > 0) { err 953 fs/hostfs/hostfs_kern.c err = 0; err 957 fs/hostfs/hostfs_kern.c return err; err 968 fs/hostfs/hostfs_kern.c int err; err 979 fs/hostfs/hostfs_kern.c err = -ENOMEM; err 989 fs/hostfs/hostfs_kern.c err = PTR_ERR(root_inode); err 993 fs/hostfs/hostfs_kern.c err = init_inode(root_inode, NULL); err 994 fs/hostfs/hostfs_kern.c if (err) err 1004 fs/hostfs/hostfs_kern.c err = -ENOMEM; err 1009 fs/hostfs/hostfs_kern.c err = hostfs_read_inode(root_inode); err 1010 fs/hostfs/hostfs_kern.c if (err) { err 1024 fs/hostfs/hostfs_kern.c return err; err 240 fs/hostfs/hostfs_user.c int err, ma; err 282 fs/hostfs/hostfs_user.c err = stat_file(file, NULL, NULL, NULL, NULL, NULL, NULL, err 284 fs/hostfs/hostfs_user.c if (err != 0) err 285 fs/hostfs/hostfs_user.c return err; err 311 fs/hostfs/hostfs_user.c err = stat_file(file, NULL, NULL, NULL, NULL, NULL, NULL, err 314 fs/hostfs/hostfs_user.c if (err != 0) err 315 fs/hostfs/hostfs_user.c return err; err 322 fs/hostfs/hostfs_user.c int err; err 324 fs/hostfs/hostfs_user.c err = symlink(to, from); err 325 fs/hostfs/hostfs_user.c if (err) err 332 fs/hostfs/hostfs_user.c int err; err 334 fs/hostfs/hostfs_user.c err = unlink(file); err 335 fs/hostfs/hostfs_user.c if (err) err 342 fs/hostfs/hostfs_user.c int err; err 344 fs/hostfs/hostfs_user.c err = mkdir(file, mode); err 345 fs/hostfs/hostfs_user.c if (err) err 352 fs/hostfs/hostfs_user.c int err; err 354 fs/hostfs/hostfs_user.c err = rmdir(file); err 355 fs/hostfs/hostfs_user.c if (err) err 362 fs/hostfs/hostfs_user.c int err; err 364 fs/hostfs/hostfs_user.c err = mknod(file, mode, makedev(major, minor)); err 365 fs/hostfs/hostfs_user.c if (err) err 372 fs/hostfs/hostfs_user.c int err; err 374 fs/hostfs/hostfs_user.c err = link(to, from); err 375 fs/hostfs/hostfs_user.c if (err) err 394 fs/hostfs/hostfs_user.c int err; err 396 fs/hostfs/hostfs_user.c err = rename(from, to); err 397 fs/hostfs/hostfs_user.c if (err < 0) err 409 fs/hostfs/hostfs_user.c int err; err 411 fs/hostfs/hostfs_user.c err = statfs64(root, &buf); err 412 fs/hostfs/hostfs_user.c if (err < 0) err 194 fs/hpfs/dir.c int err; err 199 fs/hpfs/dir.c if ((err = hpfs_chk_name((char *)name, &len))) { err 200 fs/hpfs/dir.c if (err == -ENAMETOOLONG) { err 25 fs/hpfs/namei.c int err; err 26 fs/hpfs/namei.c if ((err = hpfs_chk_name((char *)name, &len))) return err==-ENOENT ? -EINVAL : err; err 28 fs/hpfs/namei.c err = -ENOSPC; err 68 fs/hpfs/namei.c err = -EEXIST; err 118 fs/hpfs/namei.c return err; err 131 fs/hpfs/namei.c int err; err 132 fs/hpfs/namei.c if ((err = hpfs_chk_name((char *)name, &len))) err 133 fs/hpfs/namei.c return err==-ENOENT ? -EINVAL : err; err 135 fs/hpfs/namei.c err = -ENOSPC; err 176 fs/hpfs/namei.c err = -EEXIST; err 208 fs/hpfs/namei.c return err; err 221 fs/hpfs/namei.c int err; err 222 fs/hpfs/namei.c if ((err = hpfs_chk_name((char *)name, &len))) return err==-ENOENT ? -EINVAL : err; err 227 fs/hpfs/namei.c err = -ENOSPC; err 262 fs/hpfs/namei.c err = -EEXIST; err 286 fs/hpfs/namei.c return err; err 299 fs/hpfs/namei.c int err; err 300 fs/hpfs/namei.c if ((err = hpfs_chk_name((char *)name, &len))) return err==-ENOENT ? -EINVAL : err; err 306 fs/hpfs/namei.c err = -ENOSPC; err 341 fs/hpfs/namei.c err = -EEXIST; err 366 fs/hpfs/namei.c return err; err 380 fs/hpfs/namei.c int err; err 387 fs/hpfs/namei.c err = -ENOENT; err 392 fs/hpfs/namei.c err = -EPERM; err 396 fs/hpfs/namei.c err = -EISDIR; err 405 fs/hpfs/namei.c err = -EFSERROR; err 409 fs/hpfs/namei.c err = -ENOSPC; err 429 fs/hpfs/namei.c err = notify_change(dentry, &newattrs); err 431 fs/hpfs/namei.c if (!err) err 438 fs/hpfs/namei.c err = 0; err 448 fs/hpfs/namei.c return err; err 461 fs/hpfs/namei.c int err; err 468 fs/hpfs/namei.c err = -ENOENT; err 473 fs/hpfs/namei.c err = -EPERM; err 477 fs/hpfs/namei.c err = -ENOTDIR; err 482 fs/hpfs/namei.c err = -ENOTEMPTY; err 491 fs/hpfs/namei.c err = -EFSERROR; err 494 fs/hpfs/namei.c err = -ENOSPC; err 499 fs/hpfs/namei.c err = 0; err 508 fs/hpfs/namei.c return err; err 517 fs/hpfs/namei.c int err; err 519 fs/hpfs/namei.c err = -EIO; err 523 fs/hpfs/namei.c err = hpfs_read_ea(i->i_sb, fnode, "SYMLINK", link, PAGE_SIZE); err 525 fs/hpfs/namei.c if (err) err 538 fs/hpfs/namei.c return err; err 561 fs/hpfs/namei.c int err; err 562 fs/hpfs/namei.c if ((err = hpfs_chk_name((char *)new_name, &new_len))) return err; err 563 fs/hpfs/namei.c err = 0; err 577 fs/hpfs/namei.c err = -EINVAL; err 583 fs/hpfs/namei.c err = -ENOENT; err 601 fs/hpfs/namei.c err = -EFSERROR; err 604 fs/hpfs/namei.c err = r == 2 ? -ENOSPC : r == 1 ? -EFSERROR : 0; err 614 fs/hpfs/namei.c err = r == 1 ? -ENOSPC : -EFSERROR; err 623 fs/hpfs/namei.c err = -ENOENT; err 630 fs/hpfs/namei.c err = r == 2 ? -ENOSPC : -EFSERROR; err 659 fs/hpfs/namei.c return err; err 686 fs/hpfs/super.c int err = init_inodecache(); err 687 fs/hpfs/super.c if (err) err 689 fs/hpfs/super.c err = register_filesystem(&hpfs_fs_type); err 690 fs/hpfs/super.c if (err) err 696 fs/hpfs/super.c return err; err 143 fs/hppfs/hppfs.c int err, deleted; err 151 fs/hppfs/hppfs.c err = -ENOMEM; err 173 fs/hppfs/hppfs.c err = -ENOMEM; err 184 fs/hppfs/hppfs.c return ERR_PTR(err); err 214 fs/hppfs/hppfs.c int cur, err; err 226 fs/hppfs/hppfs.c err = os_read_file(fd, new_buf, cur); err 227 fs/hppfs/hppfs.c if (err < 0) { err 229 fs/hppfs/hppfs.c "errno = %d\n", err); err 230 fs/hppfs/hppfs.c n = err; err 232 fs/hppfs/hppfs.c } else if (err == 0) err 235 fs/hppfs/hppfs.c if (copy_to_user(buf, new_buf, err)) { err 239 fs/hppfs/hppfs.c n += err; err 240 fs/hppfs/hppfs.c count -= err; err 254 fs/hppfs/hppfs.c int err; err 277 fs/hppfs/hppfs.c err = os_seek_file(hppfs->host_fd, *ppos); err 278 fs/hppfs/hppfs.c if (err) { err 280 fs/hppfs/hppfs.c "errno = %d\n", err); err 281 fs/hppfs/hppfs.c return err; err 342 fs/hppfs/hppfs.c int n, err; err 344 fs/hppfs/hppfs.c err = -ENOMEM; err 360 fs/hppfs/hppfs.c err = os_shutdown_socket(fd, 0, 1); err 361 fs/hppfs/hppfs.c if (err) { err 370 fs/hppfs/hppfs.c err = n; err 372 fs/hppfs/hppfs.c "errno = %d\n", err); err 386 fs/hppfs/hppfs.c err = -ENOMEM; err 399 fs/hppfs/hppfs.c return ERR_PTR(err); err 433 fs/hppfs/hppfs.c int err, fd, type, filter; err 435 fs/hppfs/hppfs.c err = -ENOMEM; err 450 fs/hppfs/hppfs.c err = PTR_ERR(data->proc_file); err 487 fs/hppfs/hppfs.c return err; err 495 fs/hppfs/hppfs.c int err; err 497 fs/hppfs/hppfs.c err = -ENOMEM; err 506 fs/hppfs/hppfs.c err = PTR_ERR(data->proc_file); err 516 fs/hppfs/hppfs.c return err; err 572 fs/hppfs/hppfs.c int err; err 577 fs/hppfs/hppfs.c err = (*readdir)(proc_file, &dirent, hppfs_filldir); err 580 fs/hppfs/hppfs.c return err; err 706 fs/hppfs/hppfs.c int err = -ENOENT; err 718 fs/hppfs/hppfs.c err = -ENOMEM; err 734 fs/hppfs/hppfs.c return(err); err 1247 fs/inode.c int err; err 1252 fs/inode.c err = mnt_want_write(file->f_path.mnt); err 1253 fs/inode.c if (err) err 32 fs/ioprio.c int err; err 39 fs/ioprio.c err = security_task_setioprio(task, ioprio); err 40 fs/ioprio.c if (err) err 41 fs/ioprio.c return err; err 53 fs/ioprio.c err = -ENOMEM; err 59 fs/ioprio.c if (!err) { err 65 fs/ioprio.c return err; err 54 fs/isofs/compress.c int err = -EIO; err 167 fs/isofs/compress.c err = 0; /* The critical page */ err 212 fs/isofs/compress.c if ( err && zerr == Z_MEM_ERROR ) err 213 fs/isofs/compress.c err = -ENOMEM; err 257 fs/isofs/compress.c if ( err && zerr == Z_MEM_ERROR ) err 258 fs/isofs/compress.c err = -ENOMEM; err 285 fs/isofs/compress.c err = 0; /* The critical page */ err 322 fs/isofs/compress.c return err; err 1468 fs/isofs/inode.c int err = init_inodecache(); err 1469 fs/isofs/inode.c if (err) err 1472 fs/isofs/inode.c err = zisofs_init(); err 1473 fs/isofs/inode.c if (err) err 1476 fs/isofs/inode.c err = register_filesystem(&iso9660_fs_type); err 1477 fs/isofs/inode.c if (err) err 1487 fs/isofs/inode.c return err; err 196 fs/jbd/commit.c int err = 0; err 271 fs/jbd/commit.c err = -EIO; err 291 fs/jbd/commit.c return err; err 307 fs/jbd/commit.c int err; err 431 fs/jbd/commit.c err = journal_submit_data_buffers(journal, commit_transaction); err 459 fs/jbd/commit.c err = -EIO; err 479 fs/jbd/commit.c if (err) { err 485 fs/jbd/commit.c err = 0; err 575 fs/jbd/commit.c err = journal_next_log_block(journal, &blocknr); err 579 fs/jbd/commit.c if (err) { err 580 fs/jbd/commit.c journal_abort(journal, err); err 699 fs/jbd/commit.c err = -EIO; err 755 fs/jbd/commit.c err = -EIO; err 768 fs/jbd/commit.c err = -EIO; err 770 fs/jbd/commit.c if (err) err 771 fs/jbd/commit.c journal_abort(journal, err); err 529 fs/jbd/journal.c int err = 0; err 554 fs/jbd/journal.c err = -EIO; err 556 fs/jbd/journal.c return err; err 589 fs/jbd/journal.c int err = 0; err 604 fs/jbd/journal.c err = -EIO; err 605 fs/jbd/journal.c __journal_abort_soft(journal, err); err 610 fs/jbd/journal.c return err; err 627 fs/jbd/journal.c int err; err 629 fs/jbd/journal.c err = journal_next_log_block(journal, &blocknr); err 631 fs/jbd/journal.c if (err) err 655 fs/jbd/journal.c int err; err 679 fs/jbd/journal.c err = journal_init_revoke(journal, JOURNAL_REVOKE_DEFAULT_HASH); err 680 fs/jbd/journal.c if (err) { err 760 fs/jbd/journal.c int err; err 789 fs/jbd/journal.c err = journal_bmap(journal, 0, &blocknr); err 791 fs/jbd/journal.c if (err) { err 864 fs/jbd/journal.c int i, err; err 887 fs/jbd/journal.c err = journal_bmap(journal, i, &blocknr); err 888 fs/jbd/journal.c if (err) err 889 fs/jbd/journal.c return err; err 989 fs/jbd/journal.c int err = -EIO; err 1006 fs/jbd/journal.c err = -EINVAL; err 1037 fs/jbd/journal.c return err; err 1047 fs/jbd/journal.c int err; err 1050 fs/jbd/journal.c err = journal_get_superblock(journal); err 1051 fs/jbd/journal.c if (err) err 1052 fs/jbd/journal.c return err; err 1076 fs/jbd/journal.c int err; err 1079 fs/jbd/journal.c err = load_superblock(journal); err 1080 fs/jbd/journal.c if (err) err 1081 fs/jbd/journal.c return err; err 1279 fs/jbd/journal.c int err; err 1281 fs/jbd/journal.c err = journal_get_superblock(journal); err 1282 fs/jbd/journal.c if (err) err 1283 fs/jbd/journal.c return err; err 1335 fs/jbd/journal.c int err = 0; err 1360 fs/jbd/journal.c while (!err && journal->j_checkpoint_transactions != NULL) { err 1362 fs/jbd/journal.c err = log_do_checkpoint(journal); err 1387 fs/jbd/journal.c return err; err 1406 fs/jbd/journal.c int err = 0; err 1410 fs/jbd/journal.c err = load_superblock(journal); err 1411 fs/jbd/journal.c if (err) err 1412 fs/jbd/journal.c return err; err 1422 fs/jbd/journal.c err = journal_skip_recovery(journal); err 1427 fs/jbd/journal.c return err; err 1559 fs/jbd/journal.c int err; err 1563 fs/jbd/journal.c err = -EROFS; err 1565 fs/jbd/journal.c err = journal->j_errno; err 1567 fs/jbd/journal.c return err; err 1579 fs/jbd/journal.c int err = 0; err 1583 fs/jbd/journal.c err = -EROFS; err 1587 fs/jbd/journal.c return err; err 71 fs/jbd/recovery.c int err; err 89 fs/jbd/recovery.c err = journal_bmap(journal, next, &blocknr); err 91 fs/jbd/recovery.c if (err) { err 99 fs/jbd/recovery.c err = -ENOMEM; err 116 fs/jbd/recovery.c err = 0; err 121 fs/jbd/recovery.c return err; err 134 fs/jbd/recovery.c int err; err 145 fs/jbd/recovery.c err = journal_bmap(journal, offset, &blocknr); err 147 fs/jbd/recovery.c if (err) { err 150 fs/jbd/recovery.c return err; err 226 fs/jbd/recovery.c int err; err 247 fs/jbd/recovery.c err = do_one_pass(journal, &info, PASS_SCAN); err 248 fs/jbd/recovery.c if (!err) err 249 fs/jbd/recovery.c err = do_one_pass(journal, &info, PASS_REVOKE); err 250 fs/jbd/recovery.c if (!err) err 251 fs/jbd/recovery.c err = do_one_pass(journal, &info, PASS_REPLAY); err 255 fs/jbd/recovery.c err, info.start_transaction, info.end_transaction); err 265 fs/jbd/recovery.c return err; err 283 fs/jbd/recovery.c int err; err 291 fs/jbd/recovery.c err = do_one_pass(journal, &info, PASS_SCAN); err 293 fs/jbd/recovery.c if (err) { err 294 fs/jbd/recovery.c printk(KERN_ERR "JBD: error %d scanning journal\n", err); err 307 fs/jbd/recovery.c return err; err 315 fs/jbd/recovery.c int err, success = 0; err 375 fs/jbd/recovery.c err = jread(&bh, journal, next_log_block); err 376 fs/jbd/recovery.c if (err) err 436 fs/jbd/recovery.c err = jread(&obh, journal, io_block); err 437 fs/jbd/recovery.c if (err) { err 440 fs/jbd/recovery.c success = err; err 444 fs/jbd/recovery.c err, io_block); err 471 fs/jbd/recovery.c err = -ENOMEM; err 524 fs/jbd/recovery.c err = scan_revoke_records(journal, bh, err 527 fs/jbd/recovery.c if (err) err 564 fs/jbd/recovery.c return err; err 582 fs/jbd/recovery.c int err; err 586 fs/jbd/recovery.c err = journal_set_revoke(journal, blocknr, sequence); err 587 fs/jbd/recovery.c if (err) err 588 fs/jbd/recovery.c return err; err 321 fs/jbd/revoke.c int err; err 385 fs/jbd/revoke.c err = insert_revoke_hash(journal, blocknr, err 388 fs/jbd/revoke.c return err; err 269 fs/jbd/transaction.c int err; err 286 fs/jbd/transaction.c err = start_this_handle(journal, handle); err 287 fs/jbd/transaction.c if (err < 0) { err 290 fs/jbd/transaction.c handle = ERR_PTR(err); err 801 fs/jbd/transaction.c int err; err 804 fs/jbd/transaction.c err = -EROFS; err 807 fs/jbd/transaction.c err = 0; err 856 fs/jbd/transaction.c return err; err 887 fs/jbd/transaction.c int err; err 898 fs/jbd/transaction.c err = do_get_write_access(handle, jh, 1); err 899 fs/jbd/transaction.c if (err) err 908 fs/jbd/transaction.c err = -ENOMEM; err 932 fs/jbd/transaction.c return err; err 1237 fs/jbd/transaction.c int err = 0; err 1253 fs/jbd/transaction.c err = -EIO; err 1341 fs/jbd/transaction.c return err; err 1364 fs/jbd/transaction.c int old_handle_count, err; err 1370 fs/jbd/transaction.c err = -EIO; err 1373 fs/jbd/transaction.c err = 0; err 1379 fs/jbd/transaction.c return err; err 1445 fs/jbd/transaction.c err = log_wait_commit(journal, tid); err 1454 fs/jbd/transaction.c return err; err 375 fs/jbd2/checkpoint.c int retry = 0, err; err 415 fs/jbd2/checkpoint.c err = __wait_cp_io(journal, transaction); err 417 fs/jbd2/checkpoint.c result = err; err 219 fs/jbd2/commit.c int err, ret = 0; err 233 fs/jbd2/commit.c err = journal_submit_inode_data_buffers(mapping); err 235 fs/jbd2/commit.c ret = err; err 254 fs/jbd2/commit.c int err, ret = 0; err 261 fs/jbd2/commit.c err = filemap_fdatawait(jinode->i_vfs_inode->i_mapping); err 262 fs/jbd2/commit.c if (err) { err 272 fs/jbd2/commit.c ret = err; err 333 fs/jbd2/commit.c int err; err 471 fs/jbd2/commit.c err = journal_submit_data_buffers(journal, commit_transaction); err 472 fs/jbd2/commit.c if (err) err 473 fs/jbd2/commit.c jbd2_journal_abort(journal, err); err 497 fs/jbd2/commit.c err = 0; err 562 fs/jbd2/commit.c err = jbd2_journal_next_log_block(journal, &blocknr); err 566 fs/jbd2/commit.c if (err) { err 567 fs/jbd2/commit.c jbd2_journal_abort(journal, err); err 669 fs/jbd2/commit.c err = journal_submit_commit_record(journal, commit_transaction, err 671 fs/jbd2/commit.c if (err) err 682 fs/jbd2/commit.c err = journal_finish_inode_data_buffers(journal, commit_transaction); err 683 fs/jbd2/commit.c if (err) { err 688 fs/jbd2/commit.c jbd2_journal_abort(journal, err); err 689 fs/jbd2/commit.c err = 0; err 723 fs/jbd2/commit.c err = -EIO; err 779 fs/jbd2/commit.c err = -EIO; err 789 fs/jbd2/commit.c if (err) err 790 fs/jbd2/commit.c jbd2_journal_abort(journal, err); err 796 fs/jbd2/commit.c err = journal_submit_commit_record(journal, commit_transaction, err 798 fs/jbd2/commit.c if (err) err 801 fs/jbd2/commit.c if (!err && !is_journal_aborted(journal)) err 802 fs/jbd2/commit.c err = journal_wait_on_commit_record(cbh); err 804 fs/jbd2/commit.c if (err) err 805 fs/jbd2/commit.c jbd2_journal_abort(journal, err); err 532 fs/jbd2/journal.c int err = 0; err 557 fs/jbd2/journal.c err = -EIO; err 559 fs/jbd2/journal.c return err; err 592 fs/jbd2/journal.c int err = 0; err 603 fs/jbd2/journal.c err = -EIO; err 604 fs/jbd2/journal.c __journal_abort_soft(journal, err); err 609 fs/jbd2/journal.c return err; err 626 fs/jbd2/journal.c int err; err 628 fs/jbd2/journal.c err = jbd2_journal_next_log_block(journal, &blocknr); err 630 fs/jbd2/journal.c if (err) err 945 fs/jbd2/journal.c int err; err 969 fs/jbd2/journal.c err = jbd2_journal_init_revoke(journal, JOURNAL_REVOKE_DEFAULT_HASH); err 970 fs/jbd2/journal.c if (err) { err 1060 fs/jbd2/journal.c int err; err 1096 fs/jbd2/journal.c err = jbd2_journal_bmap(journal, 0, &blocknr); err 1098 fs/jbd2/journal.c if (err) { err 1171 fs/jbd2/journal.c int i, err; err 1194 fs/jbd2/journal.c err = jbd2_journal_bmap(journal, i, &blocknr); err 1195 fs/jbd2/journal.c if (err) err 1196 fs/jbd2/journal.c return err; err 1319 fs/jbd2/journal.c int err = -EIO; err 1336 fs/jbd2/journal.c err = -EINVAL; err 1367 fs/jbd2/journal.c return err; err 1377 fs/jbd2/journal.c int err; err 1380 fs/jbd2/journal.c err = journal_get_superblock(journal); err 1381 fs/jbd2/journal.c if (err) err 1382 fs/jbd2/journal.c return err; err 1406 fs/jbd2/journal.c int err; err 1409 fs/jbd2/journal.c err = load_superblock(journal); err 1410 fs/jbd2/journal.c if (err) err 1411 fs/jbd2/journal.c return err; err 1458 fs/jbd2/journal.c int err = 0; err 1490 fs/jbd2/journal.c err = -EIO; err 1504 fs/jbd2/journal.c return err; err 1647 fs/jbd2/journal.c int err; err 1649 fs/jbd2/journal.c err = journal_get_superblock(journal); err 1650 fs/jbd2/journal.c if (err) err 1651 fs/jbd2/journal.c return err; err 1703 fs/jbd2/journal.c int err = 0; err 1728 fs/jbd2/journal.c while (!err && journal->j_checkpoint_transactions != NULL) { err 1731 fs/jbd2/journal.c err = jbd2_log_do_checkpoint(journal); err 1780 fs/jbd2/journal.c int err = 0; err 1784 fs/jbd2/journal.c err = load_superblock(journal); err 1785 fs/jbd2/journal.c if (err) err 1786 fs/jbd2/journal.c return err; err 1796 fs/jbd2/journal.c err = jbd2_journal_skip_recovery(journal); err 1801 fs/jbd2/journal.c return err; err 1915 fs/jbd2/journal.c int err; err 1919 fs/jbd2/journal.c err = -EROFS; err 1921 fs/jbd2/journal.c err = journal->j_errno; err 1923 fs/jbd2/journal.c return err; err 1935 fs/jbd2/journal.c int err = 0; err 1939 fs/jbd2/journal.c err = -EROFS; err 1943 fs/jbd2/journal.c return err; err 72 fs/jbd2/recovery.c int err; err 90 fs/jbd2/recovery.c err = jbd2_journal_bmap(journal, next, &blocknr); err 92 fs/jbd2/recovery.c if (err) { err 100 fs/jbd2/recovery.c err = -ENOMEM; err 117 fs/jbd2/recovery.c err = 0; err 122 fs/jbd2/recovery.c return err; err 135 fs/jbd2/recovery.c int err; err 146 fs/jbd2/recovery.c err = jbd2_journal_bmap(journal, offset, &blocknr); err 148 fs/jbd2/recovery.c if (err) { err 151 fs/jbd2/recovery.c return err; err 228 fs/jbd2/recovery.c int err, err2; err 249 fs/jbd2/recovery.c err = do_one_pass(journal, &info, PASS_SCAN); err 250 fs/jbd2/recovery.c if (!err) err 251 fs/jbd2/recovery.c err = do_one_pass(journal, &info, PASS_REVOKE); err 252 fs/jbd2/recovery.c if (!err) err 253 fs/jbd2/recovery.c err = do_one_pass(journal, &info, PASS_REPLAY); err 257 fs/jbd2/recovery.c err, info.start_transaction, info.end_transaction); err 267 fs/jbd2/recovery.c if (!err) err 268 fs/jbd2/recovery.c err = err2; err 270 fs/jbd2/recovery.c return err; err 288 fs/jbd2/recovery.c int err; err 296 fs/jbd2/recovery.c err = do_one_pass(journal, &info, PASS_SCAN); err 298 fs/jbd2/recovery.c if (err) { err 299 fs/jbd2/recovery.c printk(KERN_ERR "JBD: error %d scanning journal\n", err); err 312 fs/jbd2/recovery.c return err; err 330 fs/jbd2/recovery.c int i, num_blks, err; err 341 fs/jbd2/recovery.c err = jread(&obh, journal, io_block); err 342 fs/jbd2/recovery.c if (err) { err 344 fs/jbd2/recovery.c "%lu in log\n", err, io_block); err 360 fs/jbd2/recovery.c int err, success = 0; err 422 fs/jbd2/recovery.c err = jread(&bh, journal, next_log_block); err 423 fs/jbd2/recovery.c if (err) err 496 fs/jbd2/recovery.c err = jread(&obh, journal, io_block); err 497 fs/jbd2/recovery.c if (err) { err 500 fs/jbd2/recovery.c success = err; err 504 fs/jbd2/recovery.c err, io_block); err 532 fs/jbd2/recovery.c err = -ENOMEM; err 669 fs/jbd2/recovery.c err = scan_revoke_records(journal, bh, err 672 fs/jbd2/recovery.c if (err) err 710 fs/jbd2/recovery.c return err; err 732 fs/jbd2/recovery.c int err; err 739 fs/jbd2/recovery.c err = jbd2_journal_set_revoke(journal, blocknr, sequence); err 740 fs/jbd2/recovery.c if (err) err 741 fs/jbd2/recovery.c return err; err 320 fs/jbd2/revoke.c int err; err 384 fs/jbd2/revoke.c err = insert_revoke_hash(journal, blocknr, err 387 fs/jbd2/revoke.c return err; err 279 fs/jbd2/transaction.c int err; err 296 fs/jbd2/transaction.c err = start_this_handle(journal, handle); err 297 fs/jbd2/transaction.c if (err < 0) { err 300 fs/jbd2/transaction.c handle = ERR_PTR(err); err 810 fs/jbd2/transaction.c int err; err 813 fs/jbd2/transaction.c err = -EROFS; err 816 fs/jbd2/transaction.c err = 0; err 865 fs/jbd2/transaction.c return err; err 897 fs/jbd2/transaction.c int err; err 908 fs/jbd2/transaction.c err = do_get_write_access(handle, jh, 1); err 909 fs/jbd2/transaction.c if (err) err 918 fs/jbd2/transaction.c err = -ENOMEM; err 942 fs/jbd2/transaction.c return err; err 1068 fs/jbd2/transaction.c int err = 0; err 1084 fs/jbd2/transaction.c err = -EIO; err 1172 fs/jbd2/transaction.c return err; err 1195 fs/jbd2/transaction.c int old_handle_count, err; err 1201 fs/jbd2/transaction.c err = -EIO; err 1204 fs/jbd2/transaction.c err = 0; err 1210 fs/jbd2/transaction.c return err; err 1276 fs/jbd2/transaction.c err = jbd2_log_wait_commit(journal, tid); err 1285 fs/jbd2/transaction.c return err; err 38 fs/jffs2/malloc.c goto err; err 44 fs/jffs2/malloc.c goto err; err 50 fs/jffs2/malloc.c goto err; err 56 fs/jffs2/malloc.c goto err; err 62 fs/jffs2/malloc.c goto err; err 68 fs/jffs2/malloc.c goto err; err 74 fs/jffs2/malloc.c goto err; err 81 fs/jffs2/malloc.c goto err; err 87 fs/jffs2/malloc.c goto err; err 91 fs/jffs2/malloc.c err: err 32 fs/jffs2/readinode.c int err = 0, pointed = 0; err 66 fs/jffs2/readinode.c err = c->mtd->point(c->mtd, ofs, len, &retlen, err 68 fs/jffs2/readinode.c if (!err && retlen < len) { err 71 fs/jffs2/readinode.c } else if (err) err 72 fs/jffs2/readinode.c JFFS2_WARNING("MTD point failed: error code %d.\n", err); err 85 fs/jffs2/readinode.c err = jffs2_flash_read(c, ofs, len, &retlen, buffer); err 86 fs/jffs2/readinode.c if (err) { err 87 fs/jffs2/readinode.c JFFS2_ERROR("can not read %d bytes from 0x%08x, error code: %d.\n", len, ofs, err); err 93 fs/jffs2/readinode.c err = -EIO; err 142 fs/jffs2/readinode.c return err; err 651 fs/jffs2/readinode.c int err; err 654 fs/jffs2/readinode.c err = jffs2_flash_read(c, (ref_offset(ref)) + read, err 656 fs/jffs2/readinode.c if (unlikely(read != rd->nsize - already) && likely(!err)) err 659 fs/jffs2/readinode.c if (unlikely(err)) { err 660 fs/jffs2/readinode.c JFFS2_ERROR("read remainder of name: error %d\n", err); err 916 fs/jffs2/readinode.c int err, to_read = needed_len - *rdlen; err 932 fs/jffs2/readinode.c err = jffs2_flash_read(c, offs, to_read, &retlen, buf + *rdlen); err 933 fs/jffs2/readinode.c if (err) { err 935 fs/jffs2/readinode.c "error code: %d.\n", to_read, offs, err); err 936 fs/jffs2/readinode.c return err; err 961 fs/jffs2/readinode.c int len, err; err 1018 fs/jffs2/readinode.c err = jffs2_flash_read(c, ref_offset(ref), len, &retlen, buf); err 1019 fs/jffs2/readinode.c if (err) { err 1020 fs/jffs2/readinode.c JFFS2_ERROR("can not read %d bytes from 0x%08x, " "error code: %d.\n", len, ref_offset(ref), err); err 1026 fs/jffs2/readinode.c err = -EIO; err 1057 fs/jffs2/readinode.c err = read_more(c, ref, sizeof(struct jffs2_raw_dirent), &len, buf); err 1058 fs/jffs2/readinode.c if (unlikely(err)) err 1062 fs/jffs2/readinode.c err = read_direntry(c, ref, &node->d, retlen, rii); err 1063 fs/jffs2/readinode.c if (unlikely(err)) err 1072 fs/jffs2/readinode.c err = read_more(c, ref, sizeof(struct jffs2_raw_inode), &len, buf); err 1073 fs/jffs2/readinode.c if (unlikely(err)) err 1077 fs/jffs2/readinode.c err = read_dnode(c, ref, &node->i, len, rii); err 1078 fs/jffs2/readinode.c if (unlikely(err)) err 1086 fs/jffs2/readinode.c err = read_more(c, ref, sizeof(struct jffs2_unknown_node), &len, buf); err 1087 fs/jffs2/readinode.c if (unlikely(err)) err 1091 fs/jffs2/readinode.c err = read_unknown(c, ref, &node->u); err 1092 fs/jffs2/readinode.c if (unlikely(err)) err 1115 fs/jffs2/readinode.c return err; err 323 fs/jffs2/scan.c int err; err 329 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) err 330 fs/jffs2/scan.c return err; err 342 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) err 343 fs/jffs2/scan.c return err; err 379 fs/jffs2/scan.c int err; err 385 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen))))) err 386 fs/jffs2/scan.c return err; err 394 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rr->totlen)))) err 395 fs/jffs2/scan.c return err; err 438 fs/jffs2/scan.c int err; err 492 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf + buf_size - buf_len, err 495 fs/jffs2/scan.c if (err) err 496 fs/jffs2/scan.c return err; err 513 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, sumptr, err 516 fs/jffs2/scan.c if (err) err 517 fs/jffs2/scan.c return err; err 524 fs/jffs2/scan.c err = jffs2_sum_scan_sumnode(c, jeb, sumptr, sumlen, &pseudo_random); err 532 fs/jffs2/scan.c if (err) err 533 fs/jffs2/scan.c return err; err 544 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, buf_ofs, buf_len); err 545 fs/jffs2/scan.c if (err) err 546 fs/jffs2/scan.c return err; err 578 fs/jffs2/scan.c if ((err = jffs2_prealloc_raw_node_refs(c, jeb, 1))) err 579 fs/jffs2/scan.c return err; err 580 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, ofs))) err 581 fs/jffs2/scan.c return err; err 597 fs/jffs2/scan.c err = jffs2_prealloc_raw_node_refs(c, jeb, 2); err 598 fs/jffs2/scan.c if (err) err 599 fs/jffs2/scan.c return err; err 610 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, 4))) err 611 fs/jffs2/scan.c return err; err 620 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, (jeb->offset + c->sector_size)-ofs))) err 621 fs/jffs2/scan.c return err; err 629 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, ofs, buf_len); err 630 fs/jffs2/scan.c if (err) err 631 fs/jffs2/scan.c return err; err 652 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, ofs-empty_start))) err 653 fs/jffs2/scan.c return err; err 687 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, ofs, buf_len); err 688 fs/jffs2/scan.c if (err) err 689 fs/jffs2/scan.c return err; err 696 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, 4))) err 697 fs/jffs2/scan.c return err; err 703 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, 4))) err 704 fs/jffs2/scan.c return err; err 711 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, 4))) err 712 fs/jffs2/scan.c return err; err 721 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, 4))) err 722 fs/jffs2/scan.c return err; err 739 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, 4))) err 740 fs/jffs2/scan.c return err; err 750 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, 4))) err 751 fs/jffs2/scan.c return err; err 759 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) err 760 fs/jffs2/scan.c return err; err 771 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, ofs, buf_len); err 772 fs/jffs2/scan.c if (err) err 773 fs/jffs2/scan.c return err; err 777 fs/jffs2/scan.c err = jffs2_scan_inode_node(c, jeb, (void *)node, ofs, s); err 778 fs/jffs2/scan.c if (err) return err; err 787 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, ofs, buf_len); err 788 fs/jffs2/scan.c if (err) err 789 fs/jffs2/scan.c return err; err 793 fs/jffs2/scan.c err = jffs2_scan_dirent_node(c, jeb, (void *)node, ofs, s); err 794 fs/jffs2/scan.c if (err) return err; err 805 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, ofs, buf_len); err 806 fs/jffs2/scan.c if (err) err 807 fs/jffs2/scan.c return err; err 811 fs/jffs2/scan.c err = jffs2_scan_xattr_node(c, jeb, (void *)node, ofs, s); err 812 fs/jffs2/scan.c if (err) err 813 fs/jffs2/scan.c return err; err 822 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, ofs, buf_len); err 823 fs/jffs2/scan.c if (err) err 824 fs/jffs2/scan.c return err; err 828 fs/jffs2/scan.c err = jffs2_scan_xref_node(c, jeb, (void *)node, ofs, s); err 829 fs/jffs2/scan.c if (err) err 830 fs/jffs2/scan.c return err; err 840 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(sizeof(struct jffs2_unknown_node))))) err 841 fs/jffs2/scan.c return err; err 845 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(sizeof(struct jffs2_unknown_node))))) err 846 fs/jffs2/scan.c return err; err 858 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) err 859 fs/jffs2/scan.c return err; err 870 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) err 871 fs/jffs2/scan.c return err; err 881 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) err 882 fs/jffs2/scan.c return err; err 1010 fs/jffs2/scan.c int err; err 1022 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen))))) err 1023 fs/jffs2/scan.c return err; err 1050 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen))))) err 1051 fs/jffs2/scan.c return err; err 391 fs/jffs2/summary.c int err; err 401 fs/jffs2/summary.c err = jffs2_prealloc_raw_node_refs(c, jeb, 2); err 402 fs/jffs2/summary.c if (err) err 403 fs/jffs2/summary.c return err; err 69 fs/jfs/ioctl.c int err; err 71 fs/jfs/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 72 fs/jfs/ioctl.c if (err) err 73 fs/jfs/ioctl.c return err; err 76 fs/jfs/ioctl.c err = -EACCES; err 80 fs/jfs/ioctl.c err = -EFAULT; err 90 fs/jfs/ioctl.c err = -EPERM; err 109 fs/jfs/ioctl.c err = -EPERM; err 124 fs/jfs/ioctl.c return err; err 634 fs/jfs/super.c int err = 0; err 653 fs/jfs/super.c err = jfs_get_block(inode, blk, &tmp_bh, 0); err 654 fs/jfs/super.c if (err) err 655 fs/jfs/super.c return err; err 679 fs/jfs/super.c int err = 0; err 693 fs/jfs/super.c err = jfs_get_block(inode, blk, &tmp_bh, 1); err 694 fs/jfs/super.c if (err) err 701 fs/jfs/super.c err = -EIO; err 718 fs/jfs/super.c return err; err 1017 fs/jfs/xattr.c int err; err 1019 fs/jfs/xattr.c err = __jfs_getxattr(dentry->d_inode, name, data, buf_size); err 1021 fs/jfs/xattr.c return err; err 404 fs/lockd/clntproc.c int err; err 409 fs/lockd/clntproc.c err = rpc_wait_for_completion_task(task); err 411 fs/lockd/clntproc.c return err; err 112 fs/lockd/svc.c int err = 0, preverr = 0; err 161 fs/lockd/svc.c err = svc_recv(rqstp, timeout); err 162 fs/lockd/svc.c if (err == -EAGAIN || err == -EINTR) { err 163 fs/lockd/svc.c preverr = err; err 166 fs/lockd/svc.c if (err < 0) { err 167 fs/lockd/svc.c if (err != preverr) { err 169 fs/lockd/svc.c "from svc_recv (%d)\n", __func__, err); err 170 fs/lockd/svc.c preverr = err; err 175 fs/lockd/svc.c preverr = err; err 205 fs/lockd/svc.c int err = 0; err 209 fs/lockd/svc.c err = svc_create_xprt(serv, "udp", nlm_udpport, err 213 fs/lockd/svc.c if (err >= 0) { err 216 fs/lockd/svc.c err = svc_create_xprt(serv, "tcp", nlm_tcpport, err 221 fs/lockd/svc.c if (err >= 0) { err 223 fs/lockd/svc.c err = 0; err 226 fs/lockd/svc.c "lockd_up: makesock failed, error=%d\n", err); err 227 fs/lockd/svc.c return err; err 57 fs/minix/dir.c int err = 0; err 65 fs/minix/dir.c err = write_one_page(page, 1); err 68 fs/minix/dir.c return err; err 232 fs/minix/dir.c int err; err 245 fs/minix/dir.c err = PTR_ERR(page); err 272 fs/minix/dir.c err = -EEXIST; err 284 fs/minix/dir.c err = __minix_write_begin(NULL, page->mapping, pos, sbi->s_dirsize, err 286 fs/minix/dir.c if (err) err 296 fs/minix/dir.c err = dir_commit_chunk(page, pos, sbi->s_dirsize); err 302 fs/minix/dir.c return err; err 315 fs/minix/dir.c int err; err 318 fs/minix/dir.c err = __minix_write_begin(NULL, mapping, pos, len, err 320 fs/minix/dir.c if (err == 0) { err 322 fs/minix/dir.c err = dir_commit_chunk(page, pos, len); err 329 fs/minix/dir.c return err; err 338 fs/minix/dir.c int err; err 342 fs/minix/dir.c err = __minix_write_begin(NULL, mapping, 0, 2 * sbi->s_dirsize, err 344 fs/minix/dir.c if (err) { err 371 fs/minix/dir.c err = dir_commit_chunk(page, 0, 2 * sbi->s_dirsize); err 374 fs/minix/dir.c return err; err 439 fs/minix/dir.c int err; err 443 fs/minix/dir.c err = __minix_write_begin(NULL, mapping, pos, sbi->s_dirsize, err 445 fs/minix/dir.c if (err == 0) { err 447 fs/minix/dir.c err = dir_commit_chunk(page, pos, sbi->s_dirsize); err 37 fs/minix/file.c int err; err 39 fs/minix/file.c err = sync_mapping_buffers(inode->i_mapping); err 41 fs/minix/file.c return err; err 43 fs/minix/file.c return err; err 45 fs/minix/file.c err |= minix_sync_inode(inode); err 46 fs/minix/file.c return err ? -EIO : 0; err 568 fs/minix/inode.c int err = 0; err 579 fs/minix/inode.c err = -1; err 583 fs/minix/inode.c err = -1; err 585 fs/minix/inode.c return err; err 631 fs/minix/inode.c int err = init_inodecache(); err 632 fs/minix/inode.c if (err) err 634 fs/minix/inode.c err = register_filesystem(&minix_fs_type); err 635 fs/minix/inode.c if (err) err 641 fs/minix/inode.c return err; err 39 fs/minix/itree_common.c *err = 0; err 61 fs/minix/itree_common.c *err = -EAGAIN; err 64 fs/minix/itree_common.c *err = -EIO; err 148 fs/minix/itree_common.c int err = -EIO; err 159 fs/minix/itree_common.c partial = get_branch(inode, depth, offsets, chain, &err); err 171 fs/minix/itree_common.c if (!create || err == -EIO) { err 178 fs/minix/itree_common.c return err; err 186 fs/minix/itree_common.c if (err == -EAGAIN) err 190 fs/minix/itree_common.c err = alloc_branch(inode, left, offsets+(partial-chain), partial); err 191 fs/minix/itree_common.c if (err) err 223 fs/minix/itree_common.c int k, err; err 228 fs/minix/itree_common.c partial = get_branch(inode, k, offsets, chain, &err); err 11 fs/minix/namei.c int err = minix_add_link(dentry, inode); err 12 fs/minix/namei.c if (!err) { err 18 fs/minix/namei.c return err; err 69 fs/minix/namei.c int err = -ENAMETOOLONG; err 76 fs/minix/namei.c inode = minix_new_inode(dir, &err); err 82 fs/minix/namei.c err = page_symlink(inode, symname, i); err 83 fs/minix/namei.c if (err) err 86 fs/minix/namei.c err = add_nondir(dentry, inode); err 88 fs/minix/namei.c return err; err 113 fs/minix/namei.c int err = -EMLINK; err 120 fs/minix/namei.c inode = minix_new_inode(dir, &err); err 131 fs/minix/namei.c err = minix_make_empty(inode, dir); err 132 fs/minix/namei.c if (err) err 135 fs/minix/namei.c err = minix_add_link(dentry, inode); err 136 fs/minix/namei.c if (err) err 141 fs/minix/namei.c return err; err 154 fs/minix/namei.c int err = -ENOENT; err 163 fs/minix/namei.c err = minix_delete_entry(de, page); err 164 fs/minix/namei.c if (err) err 170 fs/minix/namei.c return err; err 176 fs/minix/namei.c int err = -ENOTEMPTY; err 179 fs/minix/namei.c err = minix_unlink(dir, dentry); err 180 fs/minix/namei.c if (!err) { err 185 fs/minix/namei.c return err; err 198 fs/minix/namei.c int err = -ENOENT; err 205 fs/minix/namei.c err = -EIO; err 215 fs/minix/namei.c err = -ENOTEMPTY; err 219 fs/minix/namei.c err = -ENOENT; err 231 fs/minix/namei.c err = -EMLINK; err 236 fs/minix/namei.c err = minix_add_link(new_dentry, old_inode); err 237 fs/minix/namei.c if (err) { err 263 fs/minix/namei.c return err; err 125 fs/msdos/namei.c int err; err 127 fs/msdos/namei.c err = msdos_format_name(name, len, msdos_name, &sbi->options); err 128 fs/msdos/namei.c if (err) err 131 fs/msdos/namei.c err = fat_scan(dir, msdos_name, sinfo); err 132 fs/msdos/namei.c if (!err && sbi->options.dotsOK) { err 135 fs/msdos/namei.c err = -ENOENT; err 138 fs/msdos/namei.c err = -ENOENT; err 140 fs/msdos/namei.c if (err) err 143 fs/msdos/namei.c return err; err 243 fs/msdos/namei.c int err; err 260 fs/msdos/namei.c err = fat_add_entries(dir, &de, 1, sinfo); err 261 fs/msdos/namei.c if (err) err 262 fs/msdos/namei.c return err; err 282 fs/msdos/namei.c int err, is_hid; err 286 fs/msdos/namei.c err = msdos_format_name(dentry->d_name.name, dentry->d_name.len, err 288 fs/msdos/namei.c if (err) err 294 fs/msdos/namei.c err = -EINVAL; err 299 fs/msdos/namei.c err = msdos_add_entry(dir, msdos_name, 0, is_hid, 0, &ts, &sinfo); err 300 fs/msdos/namei.c if (err) err 305 fs/msdos/namei.c err = PTR_ERR(inode); err 314 fs/msdos/namei.c if (!err) err 315 fs/msdos/namei.c err = fat_flush_inodes(sb, dir, inode); err 316 fs/msdos/namei.c return err; err 325 fs/msdos/namei.c int err; err 332 fs/msdos/namei.c err = fat_dir_empty(inode); err 333 fs/msdos/namei.c if (err) err 335 fs/msdos/namei.c err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); err 336 fs/msdos/namei.c if (err) err 339 fs/msdos/namei.c err = fat_remove_entries(dir, &sinfo); /* and releases bh */ err 340 fs/msdos/namei.c if (err) err 349 fs/msdos/namei.c if (!err) err 350 fs/msdos/namei.c err = fat_flush_inodes(sb, dir, inode); err 352 fs/msdos/namei.c return err; err 363 fs/msdos/namei.c int err, is_hid, cluster; err 367 fs/msdos/namei.c err = msdos_format_name(dentry->d_name.name, dentry->d_name.len, err 369 fs/msdos/namei.c if (err) err 375 fs/msdos/namei.c err = -EINVAL; err 382 fs/msdos/namei.c err = cluster; err 385 fs/msdos/namei.c err = msdos_add_entry(dir, msdos_name, 1, is_hid, cluster, &ts, &sinfo); err 386 fs/msdos/namei.c if (err) err 393 fs/msdos/namei.c err = PTR_ERR(inode); err 411 fs/msdos/namei.c return err; err 420 fs/msdos/namei.c int err; err 423 fs/msdos/namei.c err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); err 424 fs/msdos/namei.c if (err) err 427 fs/msdos/namei.c err = fat_remove_entries(dir, &sinfo); /* and releases bh */ err 428 fs/msdos/namei.c if (err) err 435 fs/msdos/namei.c if (!err) err 436 fs/msdos/namei.c err = fat_flush_inodes(sb, dir, inode); err 438 fs/msdos/namei.c return err; err 452 fs/msdos/namei.c int err, old_attrs, is_dir, update_dotdot, corrupt = 0; err 458 fs/msdos/namei.c err = fat_scan(old_dir, old_name, &old_sinfo); err 459 fs/msdos/namei.c if (err) { err 460 fs/msdos/namei.c err = -EIO; err 469 fs/msdos/namei.c err = -EIO; err 475 fs/msdos/namei.c err = fat_scan(new_dir, new_name, &sinfo); err 476 fs/msdos/namei.c if (!err) { err 480 fs/msdos/namei.c err = -EINVAL; err 488 fs/msdos/namei.c err = fat_sync_inode(old_inode); err 489 fs/msdos/namei.c if (err) { err 508 fs/msdos/namei.c if (err) err 511 fs/msdos/namei.c err = fat_dir_empty(new_inode); err 512 fs/msdos/namei.c if (err) err 518 fs/msdos/namei.c err = msdos_add_entry(new_dir, new_name, is_dir, is_hid, 0, err 520 fs/msdos/namei.c if (err) err 533 fs/msdos/namei.c err = fat_sync_inode(old_inode); err 534 fs/msdos/namei.c if (err) err 545 fs/msdos/namei.c err = sync_dirty_buffer(dotdot_bh); err 546 fs/msdos/namei.c if (err) err 554 fs/msdos/namei.c err = fat_remove_entries(old_dir, &old_sinfo); /* and releases bh */ err 556 fs/msdos/namei.c if (err) err 575 fs/msdos/namei.c return err; err 620 fs/msdos/namei.c int err, is_hid; err 624 fs/msdos/namei.c err = msdos_format_name(old_dentry->d_name.name, err 627 fs/msdos/namei.c if (err) err 629 fs/msdos/namei.c err = msdos_format_name(new_dentry->d_name.name, err 632 fs/msdos/namei.c if (err) err 638 fs/msdos/namei.c err = do_msdos_rename(old_dir, old_msdos_name, old_dentry, err 642 fs/msdos/namei.c if (!err) err 643 fs/msdos/namei.c err = fat_flush_inodes(sb, old_dir, new_dir); err 644 fs/msdos/namei.c return err; err 670 fs/namei.c int err = -ELOOP; err 677 fs/namei.c err = security_inode_follow_link(path->dentry, nd); err 678 fs/namei.c if (err) err 683 fs/namei.c err = __do_follow_link(path, nd); err 686 fs/namei.c return err; err 690 fs/namei.c return err; err 854 fs/namei.c int err; err 873 fs/namei.c err = exec_permission_lite(inode); err 874 fs/namei.c if (err == -EAGAIN) err 875 fs/namei.c err = vfs_permission(nd, MAY_EXEC); err 876 fs/namei.c if (err) err 920 fs/namei.c err = nd->path.dentry->d_op->d_hash(nd->path.dentry, err 922 fs/namei.c if (err < 0) err 926 fs/namei.c err = do_lookup(nd, &this, &next); err 927 fs/namei.c if (err) err 930 fs/namei.c err = -ENOENT; err 934 fs/namei.c err = -ENOTDIR; err 939 fs/namei.c err = do_follow_link(&next, nd); err 940 fs/namei.c if (err) err 942 fs/namei.c err = -ENOENT; err 946 fs/namei.c err = -ENOTDIR; err 951 fs/namei.c err = -ENOTDIR; err 977 fs/namei.c err = nd->path.dentry->d_op->d_hash(nd->path.dentry, err 979 fs/namei.c if (err < 0) err 982 fs/namei.c err = do_lookup(nd, &this, &next); err 983 fs/namei.c if (err) err 988 fs/namei.c err = do_follow_link(&next, nd); err 989 fs/namei.c if (err) err 994 fs/namei.c err = -ENOENT; err 998 fs/namei.c err = -ENOTDIR; err 1021 fs/namei.c err = -ESTALE; err 1035 fs/namei.c return err; err 1146 fs/namei.c int err; err 1153 fs/namei.c err = do_path_lookup(dfd, name, lookup_flags|LOOKUP_OPEN, nd); err 1155 fs/namei.c if (err == 0) { err 1156 fs/namei.c err = PTR_ERR(nd->intent.open.file); err 1159 fs/namei.c } else if (err != 0) err 1161 fs/namei.c return err; err 1201 fs/namei.c int err; err 1210 fs/namei.c err = base->d_op->d_hash(base, name); err 1211 fs/namei.c dentry = ERR_PTR(err); err 1212 fs/namei.c if (err < 0) err 1246 fs/namei.c int err; err 1248 fs/namei.c err = inode_permission(nd->path.dentry->d_inode, MAY_EXEC); err 1249 fs/namei.c if (err) err 1250 fs/namei.c return ERR_PTR(err); err 1289 fs/namei.c int err; err 1292 fs/namei.c err = __lookup_one_len(name, &this, base, len); err 1293 fs/namei.c if (err) err 1294 fs/namei.c return ERR_PTR(err); err 1296 fs/namei.c err = inode_permission(base->d_inode, MAY_EXEC); err 1297 fs/namei.c if (err) err 1298 fs/namei.c return ERR_PTR(err); err 1315 fs/namei.c int err; err 1318 fs/namei.c err = __lookup_one_len(name, &this, base, strlen(name)); err 1319 fs/namei.c if (err) err 1320 fs/namei.c return ERR_PTR(err); err 1329 fs/namei.c int err = PTR_ERR(tmp); err 1334 fs/namei.c err = do_path_lookup(dfd, tmp, flags, &nd); err 1336 fs/namei.c if (!err) err 1339 fs/namei.c return err; err 2806 fs/namei.c int err; err 2810 fs/namei.c err = pagecache_write_begin(NULL, mapping, 0, len-1, err 2812 fs/namei.c if (err) err 2819 fs/namei.c err = pagecache_write_end(NULL, mapping, 0, len-1, len-1, err 2821 fs/namei.c if (err < 0) err 2823 fs/namei.c if (err < len-1) err 2829 fs/namei.c return err; err 112 fs/namespace.c int err; err 114 fs/namespace.c err = mnt_alloc_id(mnt); err 115 fs/namespace.c if (err) err 565 fs/namespace.c int err = mnt_alloc_group_id(mnt); err 566 fs/namespace.c if (err) err 803 fs/namespace.c int err = 0; err 812 fs/namespace.c err = show_sb_opts(m, mnt->mnt_sb); err 813 fs/namespace.c if (err) err 817 fs/namespace.c err = mnt->mnt_sb->s_op->show_options(m, mnt); err 820 fs/namespace.c return err; err 837 fs/namespace.c int err = 0; err 874 fs/namespace.c err = show_sb_opts(m, sb); err 875 fs/namespace.c if (err) err 878 fs/namespace.c err = sb->s_op->show_options(m, mnt); err 881 fs/namespace.c return err; err 895 fs/namespace.c int err = 0; err 916 fs/namespace.c err = mnt->mnt_sb->s_op->show_stats(m, mnt); err 920 fs/namespace.c return err; err 1276 fs/namespace.c int err = mnt_alloc_group_id(p); err 1277 fs/namespace.c if (err) { err 1279 fs/namespace.c return err; err 1357 fs/namespace.c int err; err 1360 fs/namespace.c err = invent_group_ids(source_mnt, true); err 1361 fs/namespace.c if (err) err 1364 fs/namespace.c err = propagate_mnt(dest_mnt, dest_dentry, source_mnt, &tree_list); err 1365 fs/namespace.c if (err) err 1394 fs/namespace.c return err; err 1399 fs/namespace.c int err; err 1407 fs/namespace.c err = -ENOENT; err 1412 fs/namespace.c err = security_sb_check_sb(mnt, path); err 1413 fs/namespace.c if (err) err 1416 fs/namespace.c err = -ENOENT; err 1418 fs/namespace.c err = attach_recursive_mnt(mnt, path, NULL); err 1421 fs/namespace.c if (!err) err 1423 fs/namespace.c return err; err 1435 fs/namespace.c int err = 0; err 1445 fs/namespace.c err = invent_group_ids(mnt, recurse); err 1446 fs/namespace.c if (err) err 1457 fs/namespace.c return err; err 1469 fs/namespace.c int err = mount_is_safe(nd); err 1470 fs/namespace.c if (err) err 1471 fs/namespace.c return err; err 1474 fs/namespace.c err = path_lookup(old_name, LOOKUP_FOLLOW, &old_nd); err 1475 fs/namespace.c if (err) err 1476 fs/namespace.c return err; err 1479 fs/namespace.c err = -EINVAL; err 1486 fs/namespace.c err = -ENOMEM; err 1495 fs/namespace.c err = graft_tree(mnt, &nd->path); err 1496 fs/namespace.c if (err) { err 1507 fs/namespace.c return err; err 1536 fs/namespace.c int err; err 1550 fs/namespace.c err = change_mount_flags(nd->path.mnt, flags); err 1552 fs/namespace.c err = do_remount_sb(sb, flags, data, 0); err 1553 fs/namespace.c if (!err) err 1556 fs/namespace.c if (!err) err 1558 fs/namespace.c return err; err 1579 fs/namespace.c int err = 0; err 1584 fs/namespace.c err = path_lookup(old_name, LOOKUP_FOLLOW, &old_nd); err 1585 fs/namespace.c if (err) err 1586 fs/namespace.c return err; err 1592 fs/namespace.c err = -EINVAL; err 1596 fs/namespace.c err = -ENOENT; err 1604 fs/namespace.c err = -EINVAL; err 1627 fs/namespace.c err = -ELOOP; err 1632 fs/namespace.c err = attach_recursive_mnt(old_nd.path.mnt, &nd->path, &parent_path); err 1633 fs/namespace.c if (err) err 1643 fs/namespace.c if (!err) err 1646 fs/namespace.c return err; err 1680 fs/namespace.c int err; err 1687 fs/namespace.c err = -EINVAL; err 1692 fs/namespace.c err = -EBUSY; err 1697 fs/namespace.c err = -EINVAL; err 1702 fs/namespace.c if ((err = graft_tree(newmnt, path))) err 1714 fs/namespace.c return err; err 2313 fs/namespace.c int err; err 2330 fs/namespace.c err = sysfs_init(); err 2331 fs/namespace.c if (err) err 2333 fs/namespace.c __func__, err); err 693 fs/ncpfs/dir.c int err; err 705 fs/ncpfs/dir.c err = ncp_initialize_search(server, dir, &seq); err 706 fs/ncpfs/dir.c if (err) { err 707 fs/ncpfs/dir.c DPRINTK("ncp_do_readdir: init failed, err=%d\n", err); err 724 fs/ncpfs/dir.c err = ncp_search_for_fileset(server, &seq, &more, &cnt, buf, bufsize, &rpl, &rpls); err 725 fs/ncpfs/dir.c if (err) /* Error */ err 380 fs/ncpfs/inode.c goto err; err 418 fs/ncpfs/inode.c goto err; err 420 fs/ncpfs/inode.c goto err; err 427 fs/ncpfs/inode.c err: err 782 fs/ncpfs/inode.c int err; err 805 fs/ncpfs/inode.c err = ncp_dirhandle_alloc(s, ni->volNumber, ni->DosDirNum, &dh); err 806 fs/ncpfs/inode.c if (err) { err 809 fs/ncpfs/inode.c err = ncp_get_directory_info(s, dh, &vi); err 811 fs/ncpfs/inode.c if (err) { err 1024 fs/ncpfs/inode.c int err; err 1027 fs/ncpfs/inode.c err = init_inodecache(); err 1028 fs/ncpfs/inode.c if (err) err 1030 fs/ncpfs/inode.c err = register_filesystem(&ncp_fs_type); err 1031 fs/ncpfs/inode.c if (err) err 1037 fs/ncpfs/inode.c return err; err 289 fs/ncpfs/ncplib_kernel.c int err; err 291 fs/ncpfs/ncplib_kernel.c err = 0; err 295 fs/ncpfs/ncplib_kernel.c err = ncp_close_file(NCP_SERVER(inode), NCP_FINFO(inode)->file_handle); err 297 fs/ncpfs/ncplib_kernel.c if (!err) err 300 fs/ncpfs/ncplib_kernel.c NCP_FINFO(inode)->dirEntNum, err); err 303 fs/ncpfs/ncplib_kernel.c return err; err 1182 fs/ncpfs/ncplib_kernel.c int err; err 1207 fs/ncpfs/ncplib_kernel.c err = chl; err 1219 fs/ncpfs/ncplib_kernel.c err = -ENAMETOOLONG; err 1230 fs/ncpfs/ncplib_kernel.c err = -ENAMETOOLONG; err 1251 fs/ncpfs/ncplib_kernel.c err = 0; err 1255 fs/ncpfs/ncplib_kernel.c return err; err 182 fs/ncpfs/sock.c ncp_finish_request(server, req, err); err 195 fs/ncpfs/sock.c __ncp_abort_request(server, req, err); err 110 fs/ncpfs/symlink.c int length, err, i, outlen; err 149 fs/ncpfs/symlink.c err = ncp_io2vol(NCP_SERVER(dir), rawlink + hdr, &outlen, symname, length, 0); err 150 fs/ncpfs/symlink.c if (err) err 155 fs/ncpfs/symlink.c err = -EIO; err 179 fs/ncpfs/symlink.c return err; err 62 fs/nfs/callback.c int err, preverr = 0; err 76 fs/nfs/callback.c err = svc_recv(rqstp, MAX_SCHEDULE_TIMEOUT); err 77 fs/nfs/callback.c if (err == -EAGAIN || err == -EINTR) { err 78 fs/nfs/callback.c preverr = err; err 81 fs/nfs/callback.c if (err < 0) { err 82 fs/nfs/callback.c if (err != preverr) { err 84 fs/nfs/callback.c "from svc_recv (%d)\n", __func__, err); err 85 fs/nfs/callback.c preverr = err; err 90 fs/nfs/callback.c preverr = err; err 81 fs/nfs/delegation.c int err; err 95 fs/nfs/delegation.c err = nfs4_open_delegation_recall(ctx, state, stateid); err 96 fs/nfs/delegation.c if (err >= 0) err 97 fs/nfs/delegation.c err = nfs_delegation_claim_locks(ctx, state); err 99 fs/nfs/delegation.c if (err != 0) err 270 fs/nfs/delegation.c int err = 0; err 277 fs/nfs/delegation.c err = __nfs_inode_return_delegation(inode, delegation); err 279 fs/nfs/delegation.c return err; err 1599 fs/nfs/dir.c int err; err 1607 fs/nfs/dir.c err = nfs_sillyrename(new_dir, new_dentry); err 1608 fs/nfs/dir.c if (!err) { err 1781 fs/nfs/dir.c int err = -ENOENT; err 1795 fs/nfs/dir.c err = 0; err 1798 fs/nfs/dir.c return err; err 538 fs/nfs/file.c int err = nfs_do_fsync(nfs_file_open_context(iocb->ki_filp), inode); err 539 fs/nfs/file.c if (err < 0) err 540 fs/nfs/file.c result = err; err 510 fs/nfs/inode.c int err; err 539 fs/nfs/inode.c err = __nfs_revalidate_inode(NFS_SERVER(inode), inode); err 541 fs/nfs/inode.c err = nfs_revalidate_inode(NFS_SERVER(inode), inode); err 542 fs/nfs/inode.c if (!err) { err 546 fs/nfs/inode.c return err; err 1315 fs/nfs/inode.c int err; err 1317 fs/nfs/inode.c err = nfsiod_start(); err 1318 fs/nfs/inode.c if (err) err 1321 fs/nfs/inode.c err = nfs_fs_proc_init(); err 1322 fs/nfs/inode.c if (err) err 1325 fs/nfs/inode.c err = nfs_init_nfspagecache(); err 1326 fs/nfs/inode.c if (err) err 1329 fs/nfs/inode.c err = nfs_init_inodecache(); err 1330 fs/nfs/inode.c if (err) err 1333 fs/nfs/inode.c err = nfs_init_readpagecache(); err 1334 fs/nfs/inode.c if (err) err 1337 fs/nfs/inode.c err = nfs_init_writepagecache(); err 1338 fs/nfs/inode.c if (err) err 1341 fs/nfs/inode.c err = nfs_init_directcache(); err 1342 fs/nfs/inode.c if (err) err 1348 fs/nfs/inode.c if ((err = register_nfs_fs()) != 0) err 1369 fs/nfs/inode.c return err; err 104 fs/nfs/namespace.c int err; err 115 fs/nfs/namespace.c err = server->nfs_client->rpc_ops->lookup(parent->d_inode, err 119 fs/nfs/namespace.c if (err != 0) err 127 fs/nfs/namespace.c err = PTR_ERR(mnt); err 132 fs/nfs/namespace.c err = do_add_mount(mnt, &nd->path, nd->path.mnt->mnt_flags|MNT_SHRINKABLE, err 134 fs/nfs/namespace.c if (err < 0) { err 136 fs/nfs/namespace.c if (err == -EBUSY) err 145 fs/nfs/namespace.c dprintk("%s: done, returned %d\n", __func__, err); err 147 fs/nfs/namespace.c dprintk("<-- nfs_follow_mountpoint() = %d\n", err); err 148 fs/nfs/namespace.c return ERR_PTR(err); err 156 fs/nfs/namespace.c err = 0; err 709 fs/nfs/nfs3xdr.c int count, err; err 729 fs/nfs/nfs3xdr.c err = nfsacl_encode(buf, base, args->inode, err 732 fs/nfs/nfs3xdr.c if (err > 0) err 733 fs/nfs/nfs3xdr.c err = nfsacl_encode(buf, base + err, args->inode, err 737 fs/nfs/nfs3xdr.c return (err > 0) ? 0 : err; err 1114 fs/nfs/nfs3xdr.c int err, base; err 1126 fs/nfs/nfs3xdr.c err = nfsacl_decode(buf, base, aclcnt, acl); err 1130 fs/nfs/nfs3xdr.c if (err > 0) err 1131 fs/nfs/nfs3xdr.c err = nfsacl_decode(buf, base + err, aclcnt, acl); err 1132 fs/nfs/nfs3xdr.c return (err > 0) ? 0 : err; err 32 fs/nfs/nfs4_fs.h (((err) != NFSERR_STALE_CLIENTID) && \ err 33 fs/nfs/nfs4_fs.h ((err) != NFSERR_STALE_STATEID) && \ err 34 fs/nfs/nfs4_fs.h ((err) != NFSERR_BAD_STATEID) && \ err 35 fs/nfs/nfs4_fs.h ((err) != NFSERR_BAD_SEQID) && \ err 36 fs/nfs/nfs4_fs.h ((err) != NFSERR_BAD_XDR) && \ err 37 fs/nfs/nfs4_fs.h ((err) != NFSERR_RESOURCE) && \ err 38 fs/nfs/nfs4_fs.h ((err) != NFSERR_NOFILEHANDLE)) err 223 fs/nfs/nfs4namespace.c int err; err 243 fs/nfs/nfs4namespace.c err = nfs4_proc_fs_locations(parent->d_inode, &dentry->d_name, fs_locations, page); err 245 fs/nfs/nfs4namespace.c if (err != 0 || err 74 fs/nfs/nfs4proc.c if (err < -1000) { err 76 fs/nfs/nfs4proc.c __func__, -err); err 79 fs/nfs/nfs4proc.c return err; err 261 fs/nfs/nfs4proc.c goto err; err 294 fs/nfs/nfs4proc.c err: err 493 fs/nfs/nfs4proc.c goto err; err 497 fs/nfs/nfs4proc.c goto err; err 530 fs/nfs/nfs4proc.c err: err 657 fs/nfs/nfs4proc.c int err; err 659 fs/nfs/nfs4proc.c err = _nfs4_do_open_reclaim(ctx, state); err 660 fs/nfs/nfs4proc.c if (err != -NFS4ERR_DELAY) err 662 fs/nfs/nfs4proc.c nfs4_handle_exception(server, err, &exception); err 664 fs/nfs/nfs4proc.c return err; err 700 fs/nfs/nfs4proc.c int err; err 702 fs/nfs/nfs4proc.c err = _nfs4_open_delegation_recall(ctx, state, stateid); err 703 fs/nfs/nfs4proc.c switch (err) { err 705 fs/nfs/nfs4proc.c return err; err 711 fs/nfs/nfs4proc.c return err; err 713 fs/nfs/nfs4proc.c err = nfs4_handle_exception(server, err, &exception); err 715 fs/nfs/nfs4proc.c return err; err 992 fs/nfs/nfs4proc.c int err; err 995 fs/nfs/nfs4proc.c err = _nfs4_open_expired(ctx, state); err 996 fs/nfs/nfs4proc.c if (err == -NFS4ERR_DELAY) err 997 fs/nfs/nfs4proc.c nfs4_handle_exception(server, err, &exception); err 999 fs/nfs/nfs4proc.c return err; err 1185 fs/nfs/nfs4proc.c int err; err 1187 fs/nfs/nfs4proc.c err = nfs4_handle_exception(server, err 1191 fs/nfs/nfs4proc.c return err; err 1498 fs/nfs/nfs4proc.c int err; err 1500 fs/nfs/nfs4proc.c err = nfs4_handle_exception(server, err 1504 fs/nfs/nfs4proc.c return err; err 1531 fs/nfs/nfs4proc.c int err; err 1533 fs/nfs/nfs4proc.c err = nfs4_handle_exception(server, err 1537 fs/nfs/nfs4proc.c return err; err 1620 fs/nfs/nfs4proc.c int err; err 1622 fs/nfs/nfs4proc.c err = nfs4_handle_exception(server, err 1626 fs/nfs/nfs4proc.c return err; err 1706 fs/nfs/nfs4proc.c int err; err 1708 fs/nfs/nfs4proc.c err = _nfs4_proc_lookupfh(server, dirfh, name, fhandle, fattr); err 1710 fs/nfs/nfs4proc.c if (err == -NFS4ERR_MOVED) { err 1711 fs/nfs/nfs4proc.c err = -EREMOTE; err 1714 fs/nfs/nfs4proc.c err = nfs4_handle_exception(server, err, &exception); err 1716 fs/nfs/nfs4proc.c return err; err 1735 fs/nfs/nfs4proc.c int err; err 1737 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(dir), err 1741 fs/nfs/nfs4proc.c return err; err 1799 fs/nfs/nfs4proc.c int err; err 1801 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(inode), err 1805 fs/nfs/nfs4proc.c return err; err 1854 fs/nfs/nfs4proc.c int err; err 1856 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(inode), err 1860 fs/nfs/nfs4proc.c return err; err 1951 fs/nfs/nfs4proc.c int err; err 1953 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(dir), err 1957 fs/nfs/nfs4proc.c return err; err 2023 fs/nfs/nfs4proc.c int err; err 2025 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(old_dir), err 2030 fs/nfs/nfs4proc.c return err; err 2070 fs/nfs/nfs4proc.c int err; err 2072 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(inode), err 2076 fs/nfs/nfs4proc.c return err; err 2161 fs/nfs/nfs4proc.c int err; err 2163 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(dir), err 2168 fs/nfs/nfs4proc.c return err; err 2192 fs/nfs/nfs4proc.c int err; err 2194 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(dir), err 2198 fs/nfs/nfs4proc.c return err; err 2241 fs/nfs/nfs4proc.c int err; err 2243 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(dentry->d_inode), err 2248 fs/nfs/nfs4proc.c return err; err 2289 fs/nfs/nfs4proc.c int err; err 2291 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(dir), err 2295 fs/nfs/nfs4proc.c return err; err 2318 fs/nfs/nfs4proc.c int err; err 2320 fs/nfs/nfs4proc.c err = nfs4_handle_exception(server, err 2324 fs/nfs/nfs4proc.c return err; err 2346 fs/nfs/nfs4proc.c int err; err 2349 fs/nfs/nfs4proc.c err = nfs4_handle_exception(server, err 2353 fs/nfs/nfs4proc.c return err; err 2389 fs/nfs/nfs4proc.c int err; err 2392 fs/nfs/nfs4proc.c err = nfs4_handle_exception(server, err 2396 fs/nfs/nfs4proc.c return err; err 2733 fs/nfs/nfs4proc.c int err; err 2735 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(inode), err 2739 fs/nfs/nfs4proc.c return err; err 2926 fs/nfs/nfs4proc.c int err; err 2928 fs/nfs/nfs4proc.c err = _nfs4_proc_setclientid_confirm(clp, cred); err 2929 fs/nfs/nfs4proc.c switch (err) { err 2931 fs/nfs/nfs4proc.c return err; err 2935 fs/nfs/nfs4proc.c err = nfs4_delay(clp->cl_rpcclient, &timeout); err 2937 fs/nfs/nfs4proc.c } while (err == 0); err 2938 fs/nfs/nfs4proc.c return err; err 3024 fs/nfs/nfs4proc.c int err; err 3026 fs/nfs/nfs4proc.c err = _nfs4_proc_delegreturn(inode, cred, stateid, issync); err 3027 fs/nfs/nfs4proc.c switch (err) { err 3033 fs/nfs/nfs4proc.c err = nfs4_handle_exception(server, err, &exception); err 3035 fs/nfs/nfs4proc.c return err; err 3099 fs/nfs/nfs4proc.c int err; err 3102 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(state->inode), err 3106 fs/nfs/nfs4proc.c return err; err 3449 fs/nfs/nfs4proc.c int err; err 3455 fs/nfs/nfs4proc.c err = _nfs4_do_setlk(state, F_SETLK, request, 1); err 3456 fs/nfs/nfs4proc.c if (err != -NFS4ERR_DELAY) err 3458 fs/nfs/nfs4proc.c nfs4_handle_exception(server, err, &exception); err 3460 fs/nfs/nfs4proc.c return err; err 3467 fs/nfs/nfs4proc.c int err; err 3469 fs/nfs/nfs4proc.c err = nfs4_set_lock_state(state, request); err 3470 fs/nfs/nfs4proc.c if (err != 0) err 3471 fs/nfs/nfs4proc.c return err; err 3475 fs/nfs/nfs4proc.c err = _nfs4_do_setlk(state, F_SETLK, request, 0); err 3476 fs/nfs/nfs4proc.c if (err != -NFS4ERR_DELAY) err 3478 fs/nfs/nfs4proc.c nfs4_handle_exception(server, err, &exception); err 3480 fs/nfs/nfs4proc.c return err; err 3528 fs/nfs/nfs4proc.c int err; err 3531 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(state->inode), err 3535 fs/nfs/nfs4proc.c return err; err 3578 fs/nfs/nfs4proc.c int err; err 3580 fs/nfs/nfs4proc.c err = nfs4_set_lock_state(state, fl); err 3581 fs/nfs/nfs4proc.c if (err != 0) err 3584 fs/nfs/nfs4proc.c err = _nfs4_do_setlk(state, F_SETLK, fl, 0); err 3585 fs/nfs/nfs4proc.c if (err != -NFS4ERR_DELAY) err 3587 fs/nfs/nfs4proc.c err = nfs4_handle_exception(server, err, &exception); err 3590 fs/nfs/nfs4proc.c return err; err 51 fs/nfs/symlink.c void *err; err 53 fs/nfs/symlink.c err = ERR_PTR(nfs_revalidate_mapping_nolock(inode, inode->i_mapping)); err 54 fs/nfs/symlink.c if (err) err 59 fs/nfs/symlink.c err = page; err 66 fs/nfs/symlink.c nd_set_link(nd, err); err 283 fs/nfs/write.c int err; err 286 fs/nfs/write.c err = nfs_do_writepage(page, wbc, &pgio); err 288 fs/nfs/write.c if (err < 0) err 289 fs/nfs/write.c return err; err 317 fs/nfs/write.c int err; err 322 fs/nfs/write.c err = write_cache_pages(mapping, wbc, nfs_writepages_callback, &pgio); err 324 fs/nfs/write.c if (err < 0) err 325 fs/nfs/write.c return err; err 90 fs/nfs_common/nfsacl.c int err; err 110 fs/nfs_common/nfsacl.c err = xdr_encode_array2(buf, base + 4, &nfsacl_desc.desc); err 113 fs/nfs_common/nfsacl.c if (!err) err 114 fs/nfs_common/nfsacl.c err = 8 + nfsacl_desc.desc.elem_size * err 116 fs/nfs_common/nfsacl.c return err; err 237 fs/nfs_common/nfsacl.c int err; err 243 fs/nfs_common/nfsacl.c err = xdr_decode_array2(buf, base + 4, &nfsacl_desc.desc); err 244 fs/nfs_common/nfsacl.c if (err) err 245 fs/nfs_common/nfsacl.c return err; err 91 fs/nfsctl.c int err; err 105 fs/nfsctl.c err = file->f_op->write(file, p, map[cmd].wsize, &file->f_pos); err 106 fs/nfsctl.c if (err >= 0 && map[cmd].rsize) err 107 fs/nfsctl.c err = file->f_op->read(file, res, map[cmd].rsize, &file->f_pos); err 108 fs/nfsctl.c if (err >= 0) err 109 fs/nfsctl.c err = 0; err 111 fs/nfsctl.c return err; err 98 fs/nfsd/export.c int err; err 109 fs/nfsd/export.c err = -ENOMEM; err 112 fs/nfsd/export.c err = -EINVAL; err 116 fs/nfsd/export.c err = -ENOENT; err 122 fs/nfsd/export.c err = -EINVAL; err 148 fs/nfsd/export.c err = -ENOMEM; err 153 fs/nfsd/export.c err = -EINVAL; err 157 fs/nfsd/export.c err = 0; err 163 fs/nfsd/export.c else err = -ENOMEM; err 166 fs/nfsd/export.c err = path_lookup(buf, 0, &nd); err 167 fs/nfsd/export.c if (err) err 177 fs/nfsd/export.c err = -ENOMEM; err 185 fs/nfsd/export.c return err; err 403 fs/nfsd/export.c int migrated, i, err; err 406 fs/nfsd/export.c err = get_int(mesg, &fsloc->locations_count); err 407 fs/nfsd/export.c if (err) err 408 fs/nfsd/export.c return err; err 420 fs/nfsd/export.c err = -EINVAL; err 424 fs/nfsd/export.c err = -ENOMEM; err 428 fs/nfsd/export.c err = -EINVAL; err 433 fs/nfsd/export.c err = -ENOMEM; err 439 fs/nfsd/export.c err = get_int(mesg, &migrated); err 440 fs/nfsd/export.c if (err) err 442 fs/nfsd/export.c err = -EINVAL; err 449 fs/nfsd/export.c return err; err 454 fs/nfsd/export.c int listsize, err; err 457 fs/nfsd/export.c err = get_int(mesg, &listsize); err 458 fs/nfsd/export.c if (err) err 459 fs/nfsd/export.c return err; err 464 fs/nfsd/export.c err = get_int(mesg, &f->pseudoflavor); err 465 fs/nfsd/export.c if (err) err 466 fs/nfsd/export.c return err; err 478 fs/nfsd/export.c err = get_int(mesg, &f->flags); err 479 fs/nfsd/export.c if (err) err 480 fs/nfsd/export.c return err; err 501 fs/nfsd/export.c int err; err 525 fs/nfsd/export.c err = -ENOMEM; err 530 fs/nfsd/export.c err = -EINVAL; err 533 fs/nfsd/export.c err = -ENOENT; err 539 fs/nfsd/export.c err = -EINVAL; err 542 fs/nfsd/export.c err = path_lookup(buf, 0, &nd); err 543 fs/nfsd/export.c if (err) goto out_no_path; err 550 fs/nfsd/export.c err = -ENOMEM; err 555 fs/nfsd/export.c err = -EINVAL; err 561 fs/nfsd/export.c err = get_int(&mesg, &an_int); err 562 fs/nfsd/export.c if (err == -ENOENT) { err 563 fs/nfsd/export.c err = 0; err 566 fs/nfsd/export.c if (err || an_int < 0) goto out; err 570 fs/nfsd/export.c err = get_int(&mesg, &an_int); err 571 fs/nfsd/export.c if (err) goto out; err 575 fs/nfsd/export.c err = get_int(&mesg, &an_int); err 576 fs/nfsd/export.c if (err) goto out; err 580 fs/nfsd/export.c err = get_int(&mesg, &an_int); err 581 fs/nfsd/export.c if (err) goto out; err 586 fs/nfsd/export.c err = fsloc_parse(&mesg, buf, &exp.ex_fslocs); err 591 fs/nfsd/export.c err = -EINVAL; err 596 fs/nfsd/export.c err = -ENOMEM; err 599 fs/nfsd/export.c err = secinfo_parse(&mesg, buf, &exp); err 606 fs/nfsd/export.c if (err) err 610 fs/nfsd/export.c err = check_export(nd.path.dentry->d_inode, exp.ex_flags, err 612 fs/nfsd/export.c if (err) goto out; err 619 fs/nfsd/export.c err = -ENOMEM; err 622 fs/nfsd/export.c err = -ENOMEM; err 635 fs/nfsd/export.c return err; err 789 fs/nfsd/export.c int err; err 801 fs/nfsd/export.c err = cache_check(&svc_expkey_cache, &ek->h, reqp); err 802 fs/nfsd/export.c if (err) err 803 fs/nfsd/export.c return ERR_PTR(err); err 863 fs/nfsd/export.c int err; err 875 fs/nfsd/export.c err = cache_check(&svc_export_cache, &exp->h, reqp); err 876 fs/nfsd/export.c if (err) err 877 fs/nfsd/export.c return ERR_PTR(err); err 1002 fs/nfsd/export.c int err; err 1005 fs/nfsd/export.c err = -EINVAL; err 1024 fs/nfsd/export.c err = path_lookup(nxp->ex_path, 0, &nd); err 1025 fs/nfsd/export.c if (err) err 1027 fs/nfsd/export.c err = -EINVAL; err 1050 fs/nfsd/export.c err = exp_fsid_hash(clp, exp); err 1054 fs/nfsd/export.c err = check_export(nd.path.dentry->d_inode, nxp->ex_flags, NULL); err 1055 fs/nfsd/export.c if (err) goto finish; err 1057 fs/nfsd/export.c err = -ENOMEM; err 1086 fs/nfsd/export.c err = 0; err 1099 fs/nfsd/export.c return err; err 1125 fs/nfsd/export.c int err; err 1134 fs/nfsd/export.c err = -EINVAL; err 1141 fs/nfsd/export.c err = path_lookup(nxp->ex_path, 0, &nd); err 1142 fs/nfsd/export.c if (err) err 1145 fs/nfsd/export.c err = -EINVAL; err 1153 fs/nfsd/export.c err = 0; err 1160 fs/nfsd/export.c return err; err 1175 fs/nfsd/export.c int err; err 1177 fs/nfsd/export.c err = -EPERM; err 1181 fs/nfsd/export.c return err; err 1190 fs/nfsd/export.c err = PTR_ERR(exp); err 1199 fs/nfsd/export.c err = -EINVAL; err 1201 fs/nfsd/export.c err = 0; err 1207 fs/nfsd/export.c return err; err 1551 fs/nfsd/export.c int i, err; err 1555 fs/nfsd/export.c err = -EINVAL; err 1566 fs/nfsd/export.c err = -ENOMEM; err 1578 fs/nfsd/export.c err = 0; err 1583 fs/nfsd/export.c return err; err 1592 fs/nfsd/export.c int err; err 1595 fs/nfsd/export.c err = -EINVAL; err 1607 fs/nfsd/export.c err = auth_unix_forget_old(dom); err 1613 fs/nfsd/export.c return err; err 54 fs/nfsd/nfs2acl.c int err = PTR_ERR(acl); err 56 fs/nfsd/nfs2acl.c if (err == -ENODATA || err == -EOPNOTSUPP) err 59 fs/nfsd/nfs2acl.c nfserr = nfserrno(err); err 77 fs/nfsd/nfs2acl.c int err = PTR_ERR(acl); err 79 fs/nfsd/nfs2acl.c if (err == -ENODATA || err == -EOPNOTSUPP) err 82 fs/nfsd/nfs2acl.c nfserr = nfserrno(err); err 50 fs/nfsd/nfs3acl.c int err = PTR_ERR(acl); err 52 fs/nfsd/nfs3acl.c if (err == -ENODATA || err == -EOPNOTSUPP) err 55 fs/nfsd/nfs3acl.c nfserr = nfserrno(err); err 73 fs/nfsd/nfs3acl.c int err = PTR_ERR(acl); err 75 fs/nfsd/nfs3acl.c if (err == -ENODATA || err == -EOPNOTSUPP) err 78 fs/nfsd/nfs3acl.c nfserr = nfserrno(err); err 59 fs/nfsd/nfs3proc.c int err; err 71 fs/nfsd/nfs3proc.c err = vfs_getattr(resp->fh.fh_export->ex_path.mnt, err 73 fs/nfsd/nfs3proc.c nfserr = nfserrno(err); err 449 fs/nfsd/nfs3proc.c resp->common.err = nfs_ok; err 487 fs/nfsd/nfs3proc.c resp->common.err = nfs_ok; err 218 fs/nfsd/nfs3xdr.c int err; err 221 fs/nfsd/nfs3xdr.c err = vfs_getattr(fhp->fh_export->ex_path.mnt, dentry, &stat); err 222 fs/nfsd/nfs3xdr.c if (!err) { err 268 fs/nfsd/nfs3xdr.c int err; err 273 fs/nfsd/nfs3xdr.c err = vfs_getattr(fhp->fh_export->ex_path.mnt, fhp->fh_dentry, err 275 fs/nfsd/nfs3xdr.c if (err) err 795 fs/nfsd/nfs3xdr.c *p++ = htonl(resp->common.err == nfserr_eof); err 913 fs/nfsd/nfs3xdr.c cd->common.err = nfserr_toosmall; err 1008 fs/nfsd/nfs3xdr.c cd->common.err = nfserr_toosmall; err 1014 fs/nfsd/nfs3xdr.c cd->common.err = nfs_ok; err 631 fs/nfsd/nfs4proc.c __be32 err; err 634 fs/nfsd/nfs4proc.c err = nfsd_lookup_dentry(rqstp, &cstate->current_fh, err 637 fs/nfsd/nfs4proc.c if (err) err 638 fs/nfsd/nfs4proc.c return err; err 641 fs/nfsd/nfs4proc.c err = nfserr_noent; err 645 fs/nfsd/nfs4proc.c return err; err 1587 fs/nfsd/nfs4state.c int err = get_write_access(inode); err 1588 fs/nfsd/nfs4state.c if (err) err 1589 fs/nfsd/nfs4state.c return nfserrno(err); err 1590 fs/nfsd/nfs4state.c err = mnt_want_write(cur_fh->fh_export->ex_path.mnt); err 1591 fs/nfsd/nfs4state.c if (err) err 1592 fs/nfsd/nfs4state.c return nfserrno(err); err 2627 fs/nfsd/nfs4state.c int err; err 2739 fs/nfsd/nfs4state.c err = vfs_lock_file(filp, cmd, &file_lock, &conflock); err 2740 fs/nfsd/nfs4state.c switch (-err) { err 2756 fs/nfsd/nfs4state.c dprintk("NFSD: nfsd4_lock: vfs_lock_file() failed! status %d\n",err); err 2868 fs/nfsd/nfs4state.c int err; err 2906 fs/nfsd/nfs4state.c err = vfs_lock_file(filp, F_SETLK, &file_lock, NULL); err 2907 fs/nfsd/nfs4state.c if (err) { err 2926 fs/nfsd/nfs4state.c status = nfserrno(err); err 80 fs/nfsd/nfs4xdr.c return err; err 83 fs/nfsd/nfs4xdr.c return err; err 1427 fs/nfsd/nfs4xdr.c int err; err 1441 fs/nfsd/nfs4xdr.c err = vfs_getattr(exp->ex_path.mnt, dentry, &stat); err 1442 fs/nfsd/nfs4xdr.c if (err) err 1448 fs/nfsd/nfs4xdr.c err = vfs_statfs(dentry, &statfs); err 1449 fs/nfsd/nfs4xdr.c if (err) err 1461 fs/nfsd/nfs4xdr.c err = nfsd4_get_nfs4_acl(rqstp, dentry, &acl); err 1462 fs/nfsd/nfs4xdr.c aclsupport = (err == 0); err 1464 fs/nfsd/nfs4xdr.c if (err == -EOPNOTSUPP) err 1466 fs/nfsd/nfs4xdr.c else if (err == -EINVAL) { err 1469 fs/nfsd/nfs4xdr.c } else if (err != 0) err 1799 fs/nfsd/nfs4xdr.c err = vfs_getattr(exp->ex_path.mnt->mnt_parent, err 1801 fs/nfsd/nfs4xdr.c if (err) err 1816 fs/nfsd/nfs4xdr.c status = nfserrno(err); err 1860 fs/nfsd/nfs4xdr.c int err; err 1867 fs/nfsd/nfs4xdr.c err = nfsd_cross_mnt(cd->rd_rqstp, &dentry, &exp); err 1868 fs/nfsd/nfs4xdr.c if (err) { err 1869 fs/nfsd/nfs4xdr.c nfserr = nfserrno(err); err 1914 fs/nfsd/nfs4xdr.c cd->common.err = nfs_ok; err 1958 fs/nfsd/nfs4xdr.c cd->common.err = nfs_ok; err 1961 fs/nfsd/nfs4xdr.c cd->common.err = nfserr; err 2383 fs/nfsd/nfs4xdr.c readdir->common.err = 0; err 2393 fs/nfsd/nfs4xdr.c readdir->common.err == nfserr_toosmall && err 2406 fs/nfsd/nfs4xdr.c *p++ = htonl(readdir->common.err == nfserr_eof); err 234 fs/nfsd/nfsctl.c int err = 0; err 241 fs/nfsd/nfsctl.c err = -EPROTONOSUPPORT; err 256 fs/nfsd/nfsctl.c err = -EPERM; err 258 fs/nfsd/nfsctl.c err = exp_rootfh(clp, data->gd_path, res, data->gd_maxlen); err 262 fs/nfsd/nfsctl.c if (err == 0) err 263 fs/nfsd/nfsctl.c err = res->fh_size + offsetof(struct knfsd_fh, fh_base); err 265 fs/nfsd/nfsctl.c return err; err 273 fs/nfsd/nfsctl.c int err = 0; err 281 fs/nfsd/nfsctl.c err = -EPROTONOSUPPORT; err 284 fs/nfsd/nfsctl.c err = -EINVAL; err 296 fs/nfsd/nfsctl.c err = -EPERM; err 298 fs/nfsd/nfsctl.c err = exp_rootfh(clp, data->gd_path, &fh, NFS_FHSIZE); err 303 fs/nfsd/nfsctl.c if (err == 0) { err 306 fs/nfsd/nfsctl.c err = NFS_FHSIZE; err 309 fs/nfsd/nfsctl.c return err; err 609 fs/nfsd/nfsctl.c int err; err 610 fs/nfsd/nfsctl.c err = get_int(&mesg, &fd); err 611 fs/nfsd/nfsctl.c if (err) err 615 fs/nfsd/nfsctl.c err = nfsd_create_serv(); err 616 fs/nfsd/nfsctl.c if (!err) { err 617 fs/nfsd/nfsctl.c err = svc_addsock(nfsd_serv, fd, buf); err 618 fs/nfsd/nfsctl.c if (err >= 0) { err 619 fs/nfsd/nfsctl.c err = lockd_up(); err 620 fs/nfsd/nfsctl.c if (err < 0) err 628 fs/nfsd/nfsctl.c return err < 0 ? err : 0; err 646 fs/nfsd/nfsctl.c int err; err 650 fs/nfsd/nfsctl.c err = nfsd_create_serv(); err 651 fs/nfsd/nfsctl.c if (!err) { err 652 fs/nfsd/nfsctl.c err = svc_create_xprt(nfsd_serv, err 655 fs/nfsd/nfsctl.c if (err == -ENOENT) err 658 fs/nfsd/nfsctl.c err = -EPROTONOSUPPORT; err 660 fs/nfsd/nfsctl.c return err < 0 ? err : 0; err 668 fs/nfsd/nfsctl.c int err = -EINVAL; err 680 fs/nfsd/nfsctl.c err = 0; err 682 fs/nfsd/nfsctl.c err = -ENOTCONN; err 684 fs/nfsd/nfsctl.c return err < 0 ? err : 0; err 52 fs/nfsd/nfsfh.c int err; err 54 fs/nfsd/nfsfh.c err = inode_permission(parent->d_inode, MAY_EXEC); err 55 fs/nfsd/nfsfh.c if (err < 0) { err 43 fs/nfsd/nfsproc.c if (err) return err; err 51 fs/nfsd/nfsproc.c if (err) return err; err 500 fs/nfsd/nfsproc.c resp->common.err = nfs_ok; err 206 fs/nfsd/nfssvc.c int err = 0; err 235 fs/nfsd/nfssvc.c err = -ENOMEM; err 238 fs/nfsd/nfssvc.c return err; err 288 fs/nfsd/nfssvc.c int err = 0; err 328 fs/nfsd/nfssvc.c err = svc_set_num_threads(nfsd_serv, &nfsd_serv->sv_pools[i], err 330 fs/nfsd/nfssvc.c if (err) err 335 fs/nfsd/nfssvc.c return err; err 404 fs/nfsd/nfssvc.c int err, preverr = 0; err 449 fs/nfsd/nfssvc.c while ((err = svc_recv(rqstp, 60*60*HZ)) == -EAGAIN) err 451 fs/nfsd/nfssvc.c if (err == -EINTR) err 453 fs/nfsd/nfssvc.c else if (err < 0) { err 454 fs/nfsd/nfssvc.c if (err != preverr) { err 456 fs/nfsd/nfssvc.c "from svc_recv (%d)\n", __func__, -err); err 457 fs/nfsd/nfssvc.c preverr = err; err 482 fs/nfsd/nfsxdr.c *p++ = htonl((resp->common.err == nfserr_eof)); err 517 fs/nfsd/nfsxdr.c cd->common.err = nfserr_fbig; err 527 fs/nfsd/nfsxdr.c cd->common.err = nfserr_toosmall; err 531 fs/nfsd/nfsxdr.c cd->common.err = nfserr_fbig; err 542 fs/nfsd/nfsxdr.c cd->common.err = nfs_ok; err 105 fs/nfsd/vfs.c int err = 0; err 112 fs/nfsd/vfs.c err = PTR_ERR(exp2); err 129 fs/nfsd/vfs.c return err; err 140 fs/nfsd/vfs.c __be32 err; err 146 fs/nfsd/vfs.c err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); err 147 fs/nfsd/vfs.c if (err) err 148 fs/nfsd/vfs.c return err; err 232 fs/nfsd/vfs.c __be32 err; err 234 fs/nfsd/vfs.c err = nfsd_lookup_dentry(rqstp, fhp, name, len, &exp, &dentry); err 235 fs/nfsd/vfs.c if (err) err 236 fs/nfsd/vfs.c return err; err 237 fs/nfsd/vfs.c err = check_nfsd_access(exp, rqstp); err 238 fs/nfsd/vfs.c if (err) err 244 fs/nfsd/vfs.c err = fh_compose(resfh, exp, dentry, fhp); err 245 fs/nfsd/vfs.c if (!err && !dentry->d_inode) err 246 fs/nfsd/vfs.c err = nfserr_noent; err 250 fs/nfsd/vfs.c return err; err 266 fs/nfsd/vfs.c __be32 err; err 276 fs/nfsd/vfs.c err = fh_verify(rqstp, fhp, ftype, accmode); err 277 fs/nfsd/vfs.c if (err) err 333 fs/nfsd/vfs.c err = nfsd_permission(rqstp, fhp->fh_export, dentry, err 335 fs/nfsd/vfs.c if (err) err 387 fs/nfsd/vfs.c err = nfserr_notsync; err 391 fs/nfsd/vfs.c err = nfserrno(host_err); err 396 fs/nfsd/vfs.c if (!err) err 400 fs/nfsd/vfs.c return err; err 403 fs/nfsd/vfs.c err = nfserrno(host_err); err 673 fs/nfsd/vfs.c __be32 err; err 681 fs/nfsd/vfs.c err = fh_verify(rqstp, fhp, type, access | NFSD_MAY_OWNER_OVERRIDE); err 682 fs/nfsd/vfs.c if (err) err 691 fs/nfsd/vfs.c err = nfserr_perm; err 728 fs/nfsd/vfs.c err = nfserrno(host_err); err 730 fs/nfsd/vfs.c return err; err 752 fs/nfsd/vfs.c int err; err 754 fs/nfsd/vfs.c err = filemap_fdatawrite(inode->i_mapping); err 755 fs/nfsd/vfs.c if (err == 0 && fop && (fsync = fop->fsync)) err 756 fs/nfsd/vfs.c err = fsync(filp, dp, 0); err 757 fs/nfsd/vfs.c if (err == 0) err 758 fs/nfsd/vfs.c err = filemap_fdatawait(inode->i_mapping); err 760 fs/nfsd/vfs.c return err; err 767 fs/nfsd/vfs.c int err; err 771 fs/nfsd/vfs.c err=nfsd_dosync(filp, filp->f_path.dentry, filp->f_op); err 774 fs/nfsd/vfs.c return err; err 893 fs/nfsd/vfs.c __be32 err; err 896 fs/nfsd/vfs.c err = nfserr_perm; err 938 fs/nfsd/vfs.c err = 0; err 941 fs/nfsd/vfs.c err = nfserrno(host_err); err 943 fs/nfsd/vfs.c return err; err 965 fs/nfsd/vfs.c __be32 err = 0; err 970 fs/nfsd/vfs.c err = nfserr_perm; err 1051 fs/nfsd/vfs.c err = 0; err 1053 fs/nfsd/vfs.c err = nfserrno(host_err); err 1055 fs/nfsd/vfs.c return err; err 1068 fs/nfsd/vfs.c __be32 err; err 1071 fs/nfsd/vfs.c err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, err 1073 fs/nfsd/vfs.c if (err) err 1075 fs/nfsd/vfs.c err = nfsd_vfs_read(rqstp, fhp, file, offset, vec, vlen, count); err 1077 fs/nfsd/vfs.c err = nfsd_open(rqstp, fhp, S_IFREG, NFSD_MAY_READ, &file); err 1078 fs/nfsd/vfs.c if (err) err 1080 fs/nfsd/vfs.c err = nfsd_vfs_read(rqstp, fhp, file, offset, vec, vlen, count); err 1084 fs/nfsd/vfs.c return err; err 1097 fs/nfsd/vfs.c __be32 err = 0; err 1100 fs/nfsd/vfs.c err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, err 1102 fs/nfsd/vfs.c if (err) err 1104 fs/nfsd/vfs.c err = nfsd_vfs_write(rqstp, fhp, file, offset, vec, vlen, cnt, err 1107 fs/nfsd/vfs.c err = nfsd_open(rqstp, fhp, S_IFREG, NFSD_MAY_WRITE, &file); err 1108 fs/nfsd/vfs.c if (err) err 1112 fs/nfsd/vfs.c err = nfsd_vfs_write(rqstp, fhp, file, offset, vec, vlen, err 1117 fs/nfsd/vfs.c return err; err 1134 fs/nfsd/vfs.c __be32 err; err 1139 fs/nfsd/vfs.c err = nfsd_open(rqstp, fhp, S_IFREG, NFSD_MAY_WRITE, &file); err 1140 fs/nfsd/vfs.c if (err) err 1141 fs/nfsd/vfs.c return err; err 1144 fs/nfsd/vfs.c err = nfserrno(nfsd_sync(file)); err 1146 fs/nfsd/vfs.c err = nfserr_notsupp; err 1151 fs/nfsd/vfs.c return err; err 1190 fs/nfsd/vfs.c __be32 err; err 1194 fs/nfsd/vfs.c err = nfserr_perm; err 1197 fs/nfsd/vfs.c err = nfserr_exist; err 1201 fs/nfsd/vfs.c err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); err 1202 fs/nfsd/vfs.c if (err) err 1208 fs/nfsd/vfs.c err = nfserr_notdir; err 1222 fs/nfsd/vfs.c err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); err 1223 fs/nfsd/vfs.c if (err) err 1234 fs/nfsd/vfs.c err = nfserr_io; err 1241 fs/nfsd/vfs.c err = nfserr_exist; err 1252 fs/nfsd/vfs.c err = nfserr_inval; err 1266 fs/nfsd/vfs.c err = 0; err 1287 fs/nfsd/vfs.c err = nfserrno(nfsd_sync_dir(dentry)); err 1293 fs/nfsd/vfs.c err = err2; err 1298 fs/nfsd/vfs.c if (!err) err 1299 fs/nfsd/vfs.c err = fh_update(resfhp); err 1303 fs/nfsd/vfs.c return err; err 1306 fs/nfsd/vfs.c err = nfserrno(host_err); err 1322 fs/nfsd/vfs.c __be32 err; err 1327 fs/nfsd/vfs.c err = nfserr_perm; err 1330 fs/nfsd/vfs.c err = nfserr_exist; err 1335 fs/nfsd/vfs.c err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); err 1336 fs/nfsd/vfs.c if (err) err 1344 fs/nfsd/vfs.c err = nfserr_notdir; err 1357 fs/nfsd/vfs.c err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); err 1358 fs/nfsd/vfs.c if (err) err 1376 fs/nfsd/vfs.c err = 0; err 1381 fs/nfsd/vfs.c err = nfserr_exist; err 1404 fs/nfsd/vfs.c err = nfserr_exist; err 1419 fs/nfsd/vfs.c err = nfserrno(nfsd_sync_dir(dentry)); err 1437 fs/nfsd/vfs.c err = err2; err 1443 fs/nfsd/vfs.c if (!err) err 1444 fs/nfsd/vfs.c err = fh_update(resfhp); err 1450 fs/nfsd/vfs.c return err; err 1453 fs/nfsd/vfs.c err = nfserrno(host_err); err 1469 fs/nfsd/vfs.c __be32 err; err 1472 fs/nfsd/vfs.c err = fh_verify(rqstp, fhp, S_IFLNK, NFSD_MAY_NOP); err 1473 fs/nfsd/vfs.c if (err) err 1479 fs/nfsd/vfs.c err = nfserr_inval; err 1495 fs/nfsd/vfs.c err = 0; err 1497 fs/nfsd/vfs.c return err; err 1500 fs/nfsd/vfs.c err = nfserrno(host_err); err 1516 fs/nfsd/vfs.c __be32 err, cerr; err 1519 fs/nfsd/vfs.c err = nfserr_noent; err 1522 fs/nfsd/vfs.c err = nfserr_exist; err 1526 fs/nfsd/vfs.c err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); err 1527 fs/nfsd/vfs.c if (err) err 1557 fs/nfsd/vfs.c err = nfserrno(host_err); err 1564 fs/nfsd/vfs.c if (err==0) err = cerr; err 1566 fs/nfsd/vfs.c return err; err 1569 fs/nfsd/vfs.c err = nfserrno(host_err); err 1583 fs/nfsd/vfs.c __be32 err; err 1586 fs/nfsd/vfs.c err = fh_verify(rqstp, ffhp, S_IFDIR, NFSD_MAY_CREATE); err 1587 fs/nfsd/vfs.c if (err) err 1589 fs/nfsd/vfs.c err = fh_verify(rqstp, tfhp, -S_IFDIR, NFSD_MAY_NOP); err 1590 fs/nfsd/vfs.c if (err) err 1593 fs/nfsd/vfs.c err = nfserr_perm; err 1596 fs/nfsd/vfs.c err = nfserr_exist; err 1614 fs/nfsd/vfs.c err = nfserrno(host_err); err 1620 fs/nfsd/vfs.c err = nfserrno(nfsd_sync_dir(ddir)); err 1623 fs/nfsd/vfs.c err = 0; err 1626 fs/nfsd/vfs.c err = nfserr_acces; err 1628 fs/nfsd/vfs.c err = nfserrno(host_err); err 1636 fs/nfsd/vfs.c return err; err 1639 fs/nfsd/vfs.c err = nfserrno(host_err); err 1653 fs/nfsd/vfs.c __be32 err; err 1656 fs/nfsd/vfs.c err = fh_verify(rqstp, ffhp, S_IFDIR, NFSD_MAY_REMOVE); err 1657 fs/nfsd/vfs.c if (err) err 1659 fs/nfsd/vfs.c err = fh_verify(rqstp, tfhp, S_IFDIR, NFSD_MAY_CREATE); err 1660 fs/nfsd/vfs.c if (err) err 1669 fs/nfsd/vfs.c err = (rqstp->rq_vers == 2) ? nfserr_acces : nfserr_xdev; err 1673 fs/nfsd/vfs.c err = nfserr_perm; err 1732 fs/nfsd/vfs.c err = nfserrno(host_err); err 1744 fs/nfsd/vfs.c return err; err 1757 fs/nfsd/vfs.c __be32 err; err 1760 fs/nfsd/vfs.c err = nfserr_acces; err 1763 fs/nfsd/vfs.c err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_REMOVE); err 1764 fs/nfsd/vfs.c if (err) err 1778 fs/nfsd/vfs.c err = nfserr_noent; err 1811 fs/nfsd/vfs.c err = nfserrno(host_err); err 1813 fs/nfsd/vfs.c return err; err 1824 fs/nfsd/vfs.c __be32 err; err 1829 fs/nfsd/vfs.c err = nfsd_open(rqstp, fhp, S_IFDIR, NFSD_MAY_READ, &file); err 1830 fs/nfsd/vfs.c if (err) err 1835 fs/nfsd/vfs.c err = nfserrno((int)offset); err 1846 fs/nfsd/vfs.c cdp->err = nfserr_eof; /* will be cleared on successful read */ err 1848 fs/nfsd/vfs.c } while (host_err >=0 && cdp->err == nfs_ok); err 1850 fs/nfsd/vfs.c err = nfserrno(host_err); err 1852 fs/nfsd/vfs.c err = cdp->err; err 1855 fs/nfsd/vfs.c if (err == nfserr_eof || err == nfserr_toosmall) err 1856 fs/nfsd/vfs.c err = nfs_ok; /* can still be found in ->err */ err 1860 fs/nfsd/vfs.c return err; err 1870 fs/nfsd/vfs.c __be32 err = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP | access); err 1871 fs/nfsd/vfs.c if (!err && vfs_statfs(fhp->fh_dentry,stat)) err 1872 fs/nfsd/vfs.c err = nfserr_io; err 1873 fs/nfsd/vfs.c return err; err 1889 fs/nfsd/vfs.c int err; err 1955 fs/nfsd/vfs.c err = inode_permission(inode, acc & (MAY_READ|MAY_WRITE|MAY_EXEC)); err 1958 fs/nfsd/vfs.c if (err == -EACCES && S_ISREG(inode->i_mode) && err 1960 fs/nfsd/vfs.c err = inode_permission(inode, MAY_EXEC); err 1962 fs/nfsd/vfs.c return err? nfserrno(err) : 0; err 248 fs/ntfs/aops.c int err = 0; err 303 fs/ntfs/aops.c err = ntfs_map_runlist(ni, vcn); err 304 fs/ntfs/aops.c if (likely(!err)) err 314 fs/ntfs/aops.c if (err == -ENOENT || lcn == LCN_ENOENT) { err 315 fs/ntfs/aops.c err = 0; err 319 fs/ntfs/aops.c if (!err) err 320 fs/ntfs/aops.c err = -EIO; err 330 fs/ntfs/aops.c "retrying" : "", err); err 342 fs/ntfs/aops.c if (likely(!err)) err 408 fs/ntfs/aops.c int err = 0; err 442 fs/ntfs/aops.c err = -EACCES; err 476 fs/ntfs/aops.c err = PTR_ERR(mrec); err 489 fs/ntfs/aops.c err = -ENOMEM; err 492 fs/ntfs/aops.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 494 fs/ntfs/aops.c if (unlikely(err)) err 523 fs/ntfs/aops.c return err; err 564 fs/ntfs/aops.c int err; err 631 fs/ntfs/aops.c err = 0; err 703 fs/ntfs/aops.c err = -EOPNOTSUPP; err 770 fs/ntfs/aops.c err = -EOPNOTSUPP; err 781 fs/ntfs/aops.c err = ntfs_map_runlist(ni, vcn); err 782 fs/ntfs/aops.c if (likely(!err)) err 792 fs/ntfs/aops.c if (err == -ENOENT || lcn == LCN_ENOENT) { err 797 fs/ntfs/aops.c err = 0; err 801 fs/ntfs/aops.c if (!err) err 802 fs/ntfs/aops.c err = -EIO; err 810 fs/ntfs/aops.c "retrying" : "", err); err 844 fs/ntfs/aops.c } else if (unlikely(err)) { err 849 fs/ntfs/aops.c if (err != -ENOMEM) err 854 fs/ntfs/aops.c if (unlikely(err)) { err 856 fs/ntfs/aops.c if (unlikely(err == -EOPNOTSUPP)) err 857 fs/ntfs/aops.c err = 0; err 858 fs/ntfs/aops.c else if (err == -ENOMEM) { err 867 fs/ntfs/aops.c err = 0; err 892 fs/ntfs/aops.c return err; err 932 fs/ntfs/aops.c int i, nr_locked_nis, nr_recs, nr_bhs, max_bhs, bhs_per_rec, err, err2; err 976 fs/ntfs/aops.c err = err2 = nr_bhs = nr_recs = nr_locked_nis = 0; err 1073 fs/ntfs/aops.c if (!err || err == -ENOMEM) err 1074 fs/ntfs/aops.c err = err2; err 1169 fs/ntfs/aops.c if (!err || err == -ENOMEM) err 1170 fs/ntfs/aops.c err = -EIO; err 1224 fs/ntfs/aops.c if (!err || err == -ENOMEM) err 1225 fs/ntfs/aops.c err = -EIO; err 1298 fs/ntfs/aops.c if (unlikely(err && err != -ENOMEM)) { err 1325 fs/ntfs/aops.c if (likely(!err)) err 1327 fs/ntfs/aops.c return err; err 1362 fs/ntfs/aops.c int err; err 1454 fs/ntfs/aops.c err = PTR_ERR(m); err 1469 fs/ntfs/aops.c err = -ENOMEM; err 1472 fs/ntfs/aops.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 1474 fs/ntfs/aops.c if (unlikely(err)) err 1492 fs/ntfs/aops.c err = ntfs_resident_attr_value_resize(ctx->mrec, ctx->attr, err 1495 fs/ntfs/aops.c BUG_ON(err); err 1515 fs/ntfs/aops.c if (err == -ENOMEM) { err 1523 fs/ntfs/aops.c err = 0; err 1526 fs/ntfs/aops.c "error %i.", err); err 1535 fs/ntfs/aops.c return err; err 92 fs/ntfs/attrib.c int err = 0; err 109 fs/ntfs/attrib.c err = -ENOMEM; err 165 fs/ntfs/attrib.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 167 fs/ntfs/attrib.c if (unlikely(err)) { err 168 fs/ntfs/attrib.c if (err == -ENOENT) err 169 fs/ntfs/attrib.c err = -EIO; err 183 fs/ntfs/attrib.c err = -ENOENT; err 188 fs/ntfs/attrib.c err = PTR_ERR(rl); err 279 fs/ntfs/attrib.c return err; err 299 fs/ntfs/attrib.c int err = 0; err 305 fs/ntfs/attrib.c err = ntfs_map_runlist_nolock(ni, vcn, NULL); err 307 fs/ntfs/attrib.c return err; err 372 fs/ntfs/attrib.c int err; err 384 fs/ntfs/attrib.c err = ntfs_map_runlist_nolock(ni, vcn, NULL); err 389 fs/ntfs/attrib.c if (likely(!err)) { err 393 fs/ntfs/attrib.c if (err == -ENOENT) err 395 fs/ntfs/attrib.c else if (err == -ENOMEM) err 468 fs/ntfs/attrib.c int err = 0; err 499 fs/ntfs/attrib.c err = -ENOENT; err 501 fs/ntfs/attrib.c err = -EIO; err 504 fs/ntfs/attrib.c if (!err && !is_retry) { err 510 fs/ntfs/attrib.c err = PTR_ERR(ctx->mrec); err 516 fs/ntfs/attrib.c err = ntfs_map_runlist_nolock(ni, vcn, ctx); err 517 fs/ntfs/attrib.c if (likely(!err)) { err 522 fs/ntfs/attrib.c if (err == -EINVAL) err 523 fs/ntfs/attrib.c err = -EIO; err 524 fs/ntfs/attrib.c } else if (!err) err 525 fs/ntfs/attrib.c err = -EIO; err 526 fs/ntfs/attrib.c if (err != -ENOENT) err 527 fs/ntfs/attrib.c ntfs_error(ni->vol->sb, "Failed with error code %i.", err); err 528 fs/ntfs/attrib.c return ERR_PTR(err); err 720 fs/ntfs/attrib.c int err = 0; err 780 fs/ntfs/attrib.c return err; err 802 fs/ntfs/attrib.c err = -EIO; err 868 fs/ntfs/attrib.c int err = 0; err 986 fs/ntfs/attrib.c err = -EIO; err 1011 fs/ntfs/attrib.c err = PTR_ERR(ctx->mrec); err 1012 fs/ntfs/attrib.c if (err == -ENOENT) err 1013 fs/ntfs/attrib.c err = -EIO; err 1083 fs/ntfs/attrib.c if (!err) { err 1087 fs/ntfs/attrib.c err = -EIO; err 1096 fs/ntfs/attrib.c if (err != -ENOMEM) err 1098 fs/ntfs/attrib.c return err; err 1140 fs/ntfs/attrib.c err = ntfs_attr_find(type, name, name_len, ic, val, val_len, err 1142 fs/ntfs/attrib.c } while (!err); err 1144 fs/ntfs/attrib.c return err; err 1547 fs/ntfs/attrib.c int mp_size, mp_ofs, name_ofs, arec_size, err, err2; err 1552 fs/ntfs/attrib.c err = ntfs_attr_can_be_non_resident(vol, ni->type); err 1553 fs/ntfs/attrib.c if (unlikely(err)) { err 1554 fs/ntfs/attrib.c if (err == -EPERM) err 1560 fs/ntfs/attrib.c return err; err 1587 fs/ntfs/attrib.c err = PTR_ERR(rl); err 1591 fs/ntfs/attrib.c err); err 1601 fs/ntfs/attrib.c err = mp_size; err 1603 fs/ntfs/attrib.c "code %i.", err); err 1613 fs/ntfs/attrib.c err = PTR_ERR(m); err 1620 fs/ntfs/attrib.c err = -ENOMEM; err 1623 fs/ntfs/attrib.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 1625 fs/ntfs/attrib.c if (unlikely(err)) { err 1626 fs/ntfs/attrib.c if (err == -ENOENT) err 1627 fs/ntfs/attrib.c err = -EIO; err 1670 fs/ntfs/attrib.c err = ntfs_attr_record_resize(m, a, arec_size); err 1671 fs/ntfs/attrib.c if (unlikely(err)) err 1703 fs/ntfs/attrib.c err = ntfs_mapping_pairs_build(vol, (u8*)a + mp_ofs, err 1705 fs/ntfs/attrib.c if (unlikely(err)) { err 1707 fs/ntfs/attrib.c err); err 1840 fs/ntfs/attrib.c if (err == -EINVAL) err 1841 fs/ntfs/attrib.c err = -EIO; err 1842 fs/ntfs/attrib.c return err; err 1917 fs/ntfs/attrib.c int err, mp_size; err 1948 fs/ntfs/attrib.c err = ntfs_attr_size_bounds_check(vol, ni->type, new_alloc_size); err 1949 fs/ntfs/attrib.c if (unlikely(err)) { err 1955 fs/ntfs/attrib.c if (err == -ERANGE) { err 1977 fs/ntfs/attrib.c if (err == -ERANGE) err 1978 fs/ntfs/attrib.c err = -EFBIG; err 1980 fs/ntfs/attrib.c err = -EIO; err 1981 fs/ntfs/attrib.c return err; err 1994 fs/ntfs/attrib.c err = PTR_ERR(m); err 2001 fs/ntfs/attrib.c err = -ENOMEM; err 2030 fs/ntfs/attrib.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 2032 fs/ntfs/attrib.c if (unlikely(err)) { err 2033 fs/ntfs/attrib.c if (err == -ENOENT) err 2034 fs/ntfs/attrib.c err = -EIO; err 2081 fs/ntfs/attrib.c err = ntfs_attr_make_non_resident(ni, attr_len); err 2082 fs/ntfs/attrib.c if (likely(!err)) err 2089 fs/ntfs/attrib.c if (unlikely(err != -EPERM && err != -ENOSPC)) { err 2100 fs/ntfs/attrib.c (unsigned)le32_to_cpu(ni->type), err); err 2101 fs/ntfs/attrib.c if (err != -ENOMEM) err 2102 fs/ntfs/attrib.c err = -EIO; err 2110 fs/ntfs/attrib.c if (err == -ENOSPC) err 2120 fs/ntfs/attrib.c err = -EOPNOTSUPP; err 2124 fs/ntfs/attrib.c if (!err) err 2136 fs/ntfs/attrib.c err = -EOPNOTSUPP; err 2137 fs/ntfs/attrib.c if (!err) err 2144 fs/ntfs/attrib.c err = -EOPNOTSUPP; err 2145 fs/ntfs/attrib.c if (!err) err 2186 fs/ntfs/attrib.c err = PTR_ERR(rl); err 2195 fs/ntfs/attrib.c err); err 2196 fs/ntfs/attrib.c if (err != -ENOMEM) err 2197 fs/ntfs/attrib.c err = -EIO; err 2224 fs/ntfs/attrib.c err = PTR_ERR(rl2); err 2230 fs/ntfs/attrib.c (unsigned)le32_to_cpu(ni->type), err); err 2231 fs/ntfs/attrib.c if (err != -ENOMEM && err != -ENOSPC) err 2232 fs/ntfs/attrib.c err = -EIO; err 2237 fs/ntfs/attrib.c err = PTR_ERR(rl); err 2243 fs/ntfs/attrib.c (unsigned)le32_to_cpu(ni->type), err); err 2244 fs/ntfs/attrib.c if (err != -ENOMEM) err 2245 fs/ntfs/attrib.c err = -EIO; err 2269 fs/ntfs/attrib.c err = mp_size; err 2276 fs/ntfs/attrib.c (unsigned)le32_to_cpu(ni->type), err); err 2277 fs/ntfs/attrib.c err = -EIO; err 2282 fs/ntfs/attrib.c err = ntfs_attr_record_resize(m, a, mp_size + err 2284 fs/ntfs/attrib.c if (unlikely(err)) { err 2285 fs/ntfs/attrib.c BUG_ON(err != -ENOSPC); err 2297 fs/ntfs/attrib.c err = -EOPNOTSUPP; err 2302 fs/ntfs/attrib.c err = ntfs_mapping_pairs_build(vol, (u8*)a + err 2305 fs/ntfs/attrib.c if (unlikely(err)) { err 2311 fs/ntfs/attrib.c (unsigned)le32_to_cpu(ni->type), err); err 2312 fs/ntfs/attrib.c err = -EIO; err 2330 fs/ntfs/attrib.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 2332 fs/ntfs/attrib.c if (unlikely(err)) err 2381 fs/ntfs/attrib.c (unsigned)le32_to_cpu(ni->type), err); err 2382 fs/ntfs/attrib.c if (err == -ENOENT) err 2383 fs/ntfs/attrib.c err = -EIO; err 2413 fs/ntfs/attrib.c return err; err 2469 fs/ntfs/attrib.c ntfs_debug("Failed. Returning error code %i.", err); err 2470 fs/ntfs/attrib.c return err; err 202 fs/ntfs/compress.c int err = -EOVERFLOW; err 220 fs/ntfs/compress.c err = 0; err 247 fs/ntfs/compress.c return err; err 520 fs/ntfs/compress.c int block, max_block, cb_max_page, bhs_size, nr_bhs, err = 0; err 866 fs/ntfs/compress.c err = ntfs_decompress(pages, &cur_page, &cur_ofs, err 874 fs/ntfs/compress.c if (err) { err 878 fs/ntfs/compress.c ni->mft_no, -err); err 929 fs/ntfs/compress.c ntfs_debug("Failed. Returning error code %s.", err == -EOVERFLOW ? err 930 fs/ntfs/compress.c "EOVERFLOW" : (!err ? "EIO" : "unkown error")); err 931 fs/ntfs/compress.c return err < 0 ? err : -EIO; err 91 fs/ntfs/dir.c int err, rc; err 109 fs/ntfs/dir.c err = -ENOMEM; err 113 fs/ntfs/dir.c err = ntfs_attr_lookup(AT_INDEX_ROOT, I30, 4, CASE_SENSITIVE, 0, NULL, err 115 fs/ntfs/dir.c if (unlikely(err)) { err 116 fs/ntfs/dir.c if (err == -ENOENT) { err 120 fs/ntfs/dir.c err = -EIO; err 175 fs/ntfs/dir.c err = -ENOMEM; err 229 fs/ntfs/dir.c err = -ENOMEM; err 293 fs/ntfs/dir.c err = -ENOENT; err 325 fs/ntfs/dir.c err = PTR_ERR(page); err 435 fs/ntfs/dir.c err = -ENOMEM; err 491 fs/ntfs/dir.c err = -ENOMEM; err 584 fs/ntfs/dir.c err = -ENOENT; err 589 fs/ntfs/dir.c if (!err) err 590 fs/ntfs/dir.c err = -EIO; err 599 fs/ntfs/dir.c return ERR_MREF(err); err 644 fs/ntfs/dir.c int err, rc; err 660 fs/ntfs/dir.c err = -ENOMEM; err 664 fs/ntfs/dir.c err = ntfs_attr_lookup(AT_INDEX_ROOT, I30, 4, CASE_SENSITIVE, 0, NULL, err 666 fs/ntfs/dir.c if (unlikely(err)) { err 667 fs/ntfs/dir.c if (err == -ENOENT) { err 671 fs/ntfs/dir.c err = -EIO; err 771 fs/ntfs/dir.c err = -ENOENT; err 803 fs/ntfs/dir.c err = PTR_ERR(page); err 984 fs/ntfs/dir.c err = -ENOENT; err 989 fs/ntfs/dir.c if (!err) err 990 fs/ntfs/dir.c err = -EIO; err 995 fs/ntfs/dir.c return ERR_MREF(err); err 1112 fs/ntfs/dir.c int rc, err, ir_pos, cur_bmp_pos; err 1121 fs/ntfs/dir.c rc = err = 0; err 1153 fs/ntfs/dir.c err = -ENOMEM; err 1162 fs/ntfs/dir.c err = PTR_ERR(m); err 1168 fs/ntfs/dir.c err = -ENOMEM; err 1174 fs/ntfs/dir.c err = ntfs_attr_lookup(AT_INDEX_ROOT, I30, 4, CASE_SENSITIVE, 0, NULL, err 1176 fs/ntfs/dir.c if (unlikely(err)) { err 1194 fs/ntfs/dir.c err = -ENOMEM; err 1255 fs/ntfs/dir.c err = PTR_ERR(bmp_vi); err 1278 fs/ntfs/dir.c err = PTR_ERR(bmp_page); err 1320 fs/ntfs/dir.c err = PTR_ERR(ia_page); err 1470 fs/ntfs/dir.c if (!err) err 1471 fs/ntfs/dir.c err = -EIO; err 1472 fs/ntfs/dir.c ntfs_debug("Failed. Returning error code %i.", -err); err 1474 fs/ntfs/dir.c return err; err 1533 fs/ntfs/dir.c int err, ret; err 1550 fs/ntfs/dir.c err = sync_blockdev(vi->i_sb->s_bdev); err 1551 fs/ntfs/dir.c if (unlikely(err && !ret)) err 1552 fs/ntfs/dir.c ret = err; err 127 fs/ntfs/file.c int err; err 151 fs/ntfs/file.c err = PTR_ERR(m); err 157 fs/ntfs/file.c err = -ENOMEM; err 160 fs/ntfs/file.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 162 fs/ntfs/file.c if (unlikely(err)) { err 163 fs/ntfs/file.c if (err == -ENOENT) err 164 fs/ntfs/file.c err = -EIO; err 195 fs/ntfs/file.c err = PTR_ERR(m); err 201 fs/ntfs/file.c err = -ENOMEM; err 204 fs/ntfs/file.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 206 fs/ntfs/file.c if (unlikely(err)) { err 207 fs/ntfs/file.c if (err == -ENOENT) err 208 fs/ntfs/file.c err = -EIO; err 236 fs/ntfs/file.c err = PTR_ERR(page); err 241 fs/ntfs/file.c err = -EIO; err 292 fs/ntfs/file.c err = PTR_ERR(m); err 298 fs/ntfs/file.c err = -ENOMEM; err 301 fs/ntfs/file.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 303 fs/ntfs/file.c if (unlikely(err)) { err 304 fs/ntfs/file.c if (err == -ENOENT) err 305 fs/ntfs/file.c err = -EIO; err 331 fs/ntfs/file.c ntfs_debug("Failed. Returning error code %i.", err); err 332 fs/ntfs/file.c return err; err 418 fs/ntfs/file.c int err, nr; err 421 fs/ntfs/file.c err = nr = 0; err 428 fs/ntfs/file.c err = -ENOMEM; err 432 fs/ntfs/file.c err = add_to_page_cache(*cached_page, mapping, index, err 434 fs/ntfs/file.c if (unlikely(err)) { err 435 fs/ntfs/file.c if (err == -EEXIST) err 449 fs/ntfs/file.c return err; err 510 fs/ntfs/file.c int err, mp_size; err 548 fs/ntfs/file.c err = 0; err 811 fs/ntfs/file.c err = ntfs_map_runlist_nolock(ni, bh_cpos, err 813 fs/ntfs/file.c if (likely(!err)) { err 822 fs/ntfs/file.c if (err == -ENOENT) { err 824 fs/ntfs/file.c err = 0; err 828 fs/ntfs/file.c err = -EIO; err 841 fs/ntfs/file.c err); err 906 fs/ntfs/file.c err = PTR_ERR(rl2); err 908 fs/ntfs/file.c err); err 914 fs/ntfs/file.c err = PTR_ERR(rl); err 915 fs/ntfs/file.c if (err != -ENOMEM) err 916 fs/ntfs/file.c err = -EIO; err 938 fs/ntfs/file.c err = PTR_ERR(m); err 943 fs/ntfs/file.c err = -ENOMEM; err 948 fs/ntfs/file.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 950 fs/ntfs/file.c if (unlikely(err)) { err 951 fs/ntfs/file.c if (err == -ENOENT) err 952 fs/ntfs/file.c err = -EIO; err 985 fs/ntfs/file.c if (!(err = mp_size)) err 986 fs/ntfs/file.c err = -EIO; err 988 fs/ntfs/file.c "array, error code %i.", err); err 996 fs/ntfs/file.c err = ntfs_attr_record_resize(m, a, mp_size + le16_to_cpu( err 998 fs/ntfs/file.c if (unlikely(err)) { err 999 fs/ntfs/file.c BUG_ON(err != -ENOSPC); err 1016 fs/ntfs/file.c err = -EOPNOTSUPP; err 1024 fs/ntfs/file.c err = ntfs_mapping_pairs_build(vol, (u8*)a + le16_to_cpu( err 1027 fs/ntfs/file.c if (unlikely(err)) { err 1032 fs/ntfs/file.c (unsigned)le32_to_cpu(ni->type), err); err 1033 fs/ntfs/file.c err = -EIO; err 1054 fs/ntfs/file.c err = ntfs_attr_lookup(ni->type, ni->name, err 1057 fs/ntfs/file.c if (unlikely(err)) { err 1098 fs/ntfs/file.c if (likely(!err && ++u < nr_pages)) err 1101 fs/ntfs/file.c if (likely(!err)) { err 1133 fs/ntfs/file.c err = -EIO; err 1135 fs/ntfs/file.c if (likely(!err)) { err 1146 fs/ntfs/file.c return err; err 1278 fs/ntfs/file.c ntfs_error(vol->sb, "Failed. Returning error code %i.", err); err 1279 fs/ntfs/file.c return err; err 1494 fs/ntfs/file.c int err; err 1551 fs/ntfs/file.c err = PTR_ERR(m); err 1559 fs/ntfs/file.c err = -ENOMEM; err 1562 fs/ntfs/file.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 1564 fs/ntfs/file.c if (unlikely(err)) { err 1565 fs/ntfs/file.c if (err == -ENOENT) err 1566 fs/ntfs/file.c err = -EIO; err 1594 fs/ntfs/file.c "code %i).", err); err 1595 fs/ntfs/file.c if (err != -ENOMEM) err 1597 fs/ntfs/file.c return err; err 1650 fs/ntfs/file.c int err; err 1678 fs/ntfs/file.c err = PTR_ERR(m); err 1685 fs/ntfs/file.c err = -ENOMEM; err 1688 fs/ntfs/file.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 1690 fs/ntfs/file.c if (unlikely(err)) { err 1691 fs/ntfs/file.c if (err == -ENOENT) err 1692 fs/ntfs/file.c err = -EIO; err 1749 fs/ntfs/file.c if (err == -ENOMEM) { err 1761 fs/ntfs/file.c err = 0; err 1767 fs/ntfs/file.c "with error %i.", err); err 1774 fs/ntfs/file.c return err; err 1801 fs/ntfs/file.c int err; err 1849 fs/ntfs/file.c err = ntfs_truncate(vi); err 1851 fs/ntfs/file.c if (err || NInoTruncateFailed(ni)) { err 1852 fs/ntfs/file.c if (!err) err 1853 fs/ntfs/file.c err = -EIO; err 1858 fs/ntfs/file.c (unsigned)le32_to_cpu(ni->type), err); err 1859 fs/ntfs/file.c return err; err 1888 fs/ntfs/file.c err = ll; err 1899 fs/ntfs/file.c le32_to_cpu(ni->type), err); err 1909 fs/ntfs/file.c le32_to_cpu(ni->type), err); err 1910 fs/ntfs/file.c return err; err 1927 fs/ntfs/file.c err = ntfs_attr_extend_initialized(ni, pos, &cached_page, err 1929 fs/ntfs/file.c if (err < 0) { err 1934 fs/ntfs/file.c (unsigned)le32_to_cpu(ni->type), err); err 1935 fs/ntfs/file.c status = err; err 2105 fs/ntfs/file.c ssize_t written, err; err 2108 fs/ntfs/file.c err = generic_segment_checks(iov, &nr_segs, &count, VERIFY_READ); err 2109 fs/ntfs/file.c if (err) err 2110 fs/ntfs/file.c return err; err 2116 fs/ntfs/file.c err = generic_write_checks(file, &pos, &count, S_ISBLK(inode->i_mode)); err 2117 fs/ntfs/file.c if (err) err 2121 fs/ntfs/file.c err = file_remove_suid(file); err 2122 fs/ntfs/file.c if (err) err 2129 fs/ntfs/file.c return written ? written : err; err 2149 fs/ntfs/file.c int err = sync_page_range(inode, mapping, pos, ret); err 2150 fs/ntfs/file.c if (err < 0) err 2151 fs/ntfs/file.c ret = err; err 2177 fs/ntfs/file.c int err = sync_page_range(inode, mapping, *ppos - ret, ret); err 2178 fs/ntfs/file.c if (err < 0) err 2179 fs/ntfs/file.c ret = err; err 2228 fs/ntfs/file.c int err, ret = 0; err 2240 fs/ntfs/file.c err = sync_blockdev(vi->i_sb->s_bdev); err 2241 fs/ntfs/file.c if (unlikely(err && !ret)) err 2242 fs/ntfs/file.c ret = err; err 133 fs/ntfs/index.c int rc, err = 0; err 158 fs/ntfs/index.c err = -ENOMEM; err 162 fs/ntfs/index.c err = ntfs_attr_lookup(AT_INDEX_ROOT, idx_ni->name, idx_ni->name_len, err 164 fs/ntfs/index.c if (unlikely(err)) { err 165 fs/ntfs/index.c if (err == -ENOENT) { err 168 fs/ntfs/index.c err = -EIO; err 219 fs/ntfs/index.c return err; err 249 fs/ntfs/index.c err = -ENOENT; err 281 fs/ntfs/index.c err = PTR_ERR(page); err 411 fs/ntfs/index.c err = -ENOENT; err 442 fs/ntfs/index.c if (!err) err 443 fs/ntfs/index.c err = -EIO; err 448 fs/ntfs/index.c return err; err 172 fs/ntfs/inode.c int err; err 185 fs/ntfs/inode.c err = 0; err 189 fs/ntfs/inode.c err = ntfs_read_locked_inode(vi); err 196 fs/ntfs/inode.c if (unlikely(err == -ENOMEM)) { err 198 fs/ntfs/inode.c vi = ERR_PTR(err); err 230 fs/ntfs/inode.c int err; err 246 fs/ntfs/inode.c err = 0; err 250 fs/ntfs/inode.c err = ntfs_read_locked_attr_inode(base_vi, vi); err 258 fs/ntfs/inode.c if (unlikely(err)) { err 260 fs/ntfs/inode.c vi = ERR_PTR(err); err 288 fs/ntfs/inode.c int err; err 301 fs/ntfs/inode.c err = 0; err 305 fs/ntfs/inode.c err = ntfs_read_locked_index_inode(base_vi, vi); err 313 fs/ntfs/inode.c if (unlikely(err)) { err 315 fs/ntfs/inode.c vi = ERR_PTR(err); err 452 fs/ntfs/inode.c int nr_links, err; err 461 fs/ntfs/inode.c while (!(err = ntfs_attr_lookup(AT_FILE_NAME, NULL, 0, 0, 0, NULL, 0, err 505 fs/ntfs/inode.c if (unlikely(err != -ENOENT)) err 506 fs/ntfs/inode.c return err; err 551 fs/ntfs/inode.c int err = 0; err 577 fs/ntfs/inode.c err = PTR_ERR(m); err 582 fs/ntfs/inode.c err = -ENOMEM; err 641 fs/ntfs/inode.c err = ntfs_attr_lookup(AT_STANDARD_INFORMATION, NULL, 0, 0, 0, NULL, 0, err 643 fs/ntfs/inode.c if (unlikely(err)) { err 644 fs/ntfs/inode.c if (err == -ENOENT) { err 685 fs/ntfs/inode.c err = ntfs_attr_lookup(AT_ATTRIBUTE_LIST, NULL, 0, 0, 0, NULL, 0, ctx); err 686 fs/ntfs/inode.c if (err) { err 687 fs/ntfs/inode.c if (unlikely(err != -ENOENT)) { err 726 fs/ntfs/inode.c err = -ENOMEM; err 743 fs/ntfs/inode.c err = PTR_ERR(ni->attr_list_rl.rl); err 750 fs/ntfs/inode.c if ((err = load_attribute_list(vol, &ni->attr_list_rl, err 787 fs/ntfs/inode.c err = ntfs_attr_lookup(AT_INDEX_ROOT, I30, 4, CASE_SENSITIVE, err 789 fs/ntfs/inode.c if (unlikely(err)) { err 790 fs/ntfs/inode.c if (err == -ENOENT) { err 870 fs/ntfs/inode.c err = -EOPNOTSUPP; err 879 fs/ntfs/inode.c err = -EOPNOTSUPP; err 913 fs/ntfs/inode.c err = ntfs_attr_lookup(AT_INDEX_ALLOCATION, I30, 4, err 915 fs/ntfs/inode.c if (unlikely(err)) { err 916 fs/ntfs/inode.c if (err == -ENOENT) err 982 fs/ntfs/inode.c err = PTR_ERR(bvi); err 1017 fs/ntfs/inode.c err = ntfs_attr_lookup(AT_DATA, NULL, 0, 0, 0, NULL, 0, ctx); err 1018 fs/ntfs/inode.c if (unlikely(err)) { err 1021 fs/ntfs/inode.c if (err != -ENOENT) { err 1094 fs/ntfs/inode.c err = -EOPNOTSUPP; err 1180 fs/ntfs/inode.c if (!err) err 1181 fs/ntfs/inode.c err = -EIO; err 1188 fs/ntfs/inode.c "inode 0x%lx as bad. Run chkdsk.", err, vi->i_ino); err 1190 fs/ntfs/inode.c if (err != -EOPNOTSUPP && err != -ENOMEM) err 1192 fs/ntfs/inode.c return err; err 1224 fs/ntfs/inode.c int err = 0; err 1248 fs/ntfs/inode.c err = PTR_ERR(m); err 1253 fs/ntfs/inode.c err = -ENOMEM; err 1257 fs/ntfs/inode.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 1259 fs/ntfs/inode.c if (unlikely(err)) err 1376 fs/ntfs/inode.c err = -EOPNOTSUPP; err 1435 fs/ntfs/inode.c if (!err) err 1436 fs/ntfs/inode.c err = -EIO; err 1444 fs/ntfs/inode.c "Run chkdsk.", err, vi->i_ino, ni->type, ni->name_len, err 1447 fs/ntfs/inode.c if (err != -ENOMEM) err 1449 fs/ntfs/inode.c return err; err 1496 fs/ntfs/inode.c int err = 0; err 1516 fs/ntfs/inode.c err = PTR_ERR(m); err 1521 fs/ntfs/inode.c err = -ENOMEM; err 1525 fs/ntfs/inode.c err = ntfs_attr_lookup(AT_INDEX_ROOT, ni->name, ni->name_len, err 1527 fs/ntfs/inode.c if (unlikely(err)) { err 1528 fs/ntfs/inode.c if (err == -ENOENT) err 1585 fs/ntfs/inode.c err = -EOPNOTSUPP; err 1592 fs/ntfs/inode.c err = -EOPNOTSUPP; err 1618 fs/ntfs/inode.c err = ntfs_attr_lookup(AT_INDEX_ALLOCATION, ni->name, ni->name_len, err 1620 fs/ntfs/inode.c if (unlikely(err)) { err 1621 fs/ntfs/inode.c if (err == -ENOENT) err 1681 fs/ntfs/inode.c err = PTR_ERR(bvi); err 1719 fs/ntfs/inode.c if (!err) err 1720 fs/ntfs/inode.c err = -EIO; err 1727 fs/ntfs/inode.c "inode (mft_no 0x%lx, name_len %i.", err, vi->i_ino, err 1730 fs/ntfs/inode.c if (err != -EOPNOTSUPP && err != -ENOMEM) err 1732 fs/ntfs/inode.c return err; err 1782 fs/ntfs/inode.c int err; err 1857 fs/ntfs/inode.c err = -ENOMEM; err 1862 fs/ntfs/inode.c err = ntfs_attr_lookup(AT_ATTRIBUTE_LIST, NULL, 0, 0, 0, NULL, 0, ctx); err 1863 fs/ntfs/inode.c if (err) { err 1864 fs/ntfs/inode.c if (unlikely(err != -ENOENT)) { err 1919 fs/ntfs/inode.c err = PTR_ERR(ni->attr_list_rl.rl); err 1923 fs/ntfs/inode.c -err); err 1927 fs/ntfs/inode.c if ((err = load_attribute_list(vol, &ni->attr_list_rl, err 1933 fs/ntfs/inode.c -err); err 2018 fs/ntfs/inode.c while (!(err = ntfs_attr_lookup(AT_DATA, NULL, 0, 0, next_vcn, NULL, 0, err 2148 fs/ntfs/inode.c if (err != -ENOENT) { err 2371 fs/ntfs/inode.c int err, mp_size, size_change, alloc_change; err 2391 fs/ntfs/inode.c err = PTR_ERR(m); err 2393 fs/ntfs/inode.c "(error code %d).%s", vi->i_ino, err, te); err 2403 fs/ntfs/inode.c err = -ENOMEM; err 2406 fs/ntfs/inode.c err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, err 2408 fs/ntfs/inode.c if (unlikely(err)) { err 2409 fs/ntfs/inode.c if (err == -ENOENT) { err 2413 fs/ntfs/inode.c err = -EIO; err 2417 fs/ntfs/inode.c vi->i_ino, err, te); err 2463 fs/ntfs/inode.c err = ntfs_attr_size_bounds_check(vol, ni->type, new_size); err 2464 fs/ntfs/inode.c if (unlikely(err)) { err 2465 fs/ntfs/inode.c if (err == -ERANGE) { err 2474 fs/ntfs/inode.c err = -EFBIG; err 2481 fs/ntfs/inode.c err = -EIO; err 2493 fs/ntfs/inode.c err = -EOPNOTSUPP; err 2559 fs/ntfs/inode.c err = ntfs_attr_make_non_resident(ni, old_size); err 2560 fs/ntfs/inode.c if (likely(!err)) err 2567 fs/ntfs/inode.c if (unlikely(err != -EPERM && err != -ENOSPC)) { err 2572 fs/ntfs/inode.c (unsigned)le32_to_cpu(ni->type), err); err 2573 fs/ntfs/inode.c if (err != -ENOMEM) err 2574 fs/ntfs/inode.c err = -EIO; err 2578 fs/ntfs/inode.c if (err == -ENOSPC) err 2586 fs/ntfs/inode.c err = -EOPNOTSUPP; err 2590 fs/ntfs/inode.c if (!err) err 2602 fs/ntfs/inode.c err = -EOPNOTSUPP; err 2603 fs/ntfs/inode.c if (!err) err 2610 fs/ntfs/inode.c err = -EOPNOTSUPP; err 2611 fs/ntfs/inode.c if (!err) err 2634 fs/ntfs/inode.c err = -EOPNOTSUPP; err 2688 fs/ntfs/inode.c err = ntfs_attr_extend_allocation(ni, new_size, err 2713 fs/ntfs/inode.c err = ntfs_rl_truncate_nolock(vol, &ni->runlist, err 2721 fs/ntfs/inode.c if (unlikely(err || IS_ERR(m))) { err 2726 fs/ntfs/inode.c IS_ERR(m) ? PTR_ERR(m) : err, es); err 2727 fs/ntfs/inode.c err = -EIO; err 2738 fs/ntfs/inode.c err = -EIO; err 2747 fs/ntfs/inode.c err = ntfs_attr_record_resize(m, a, mp_size + err 2749 fs/ntfs/inode.c BUG_ON(err); err 2753 fs/ntfs/inode.c err = ntfs_mapping_pairs_build(vol, (u8*)a + err 2756 fs/ntfs/inode.c if (unlikely(err)) { err 2761 fs/ntfs/inode.c err, es); err 2762 fs/ntfs/inode.c err = -EIO; err 2826 fs/ntfs/inode.c if (likely(!err)) { err 2830 fs/ntfs/inode.c return err; err 2834 fs/ntfs/inode.c if (err != -ENOMEM && err != -EOPNOTSUPP) err 2836 fs/ntfs/inode.c if (err != -EOPNOTSUPP) err 2847 fs/ntfs/inode.c ntfs_debug("Failed. Returning error code %i.", err); err 2848 fs/ntfs/inode.c return err; err 2850 fs/ntfs/inode.c if (err != -ENOMEM && err != -EOPNOTSUPP) err 2852 fs/ntfs/inode.c if (err != -EOPNOTSUPP) err 2892 fs/ntfs/inode.c int err; err 2895 fs/ntfs/inode.c err = inode_change_ok(vi, attr); err 2896 fs/ntfs/inode.c if (err) err 2902 fs/ntfs/inode.c err = -EOPNOTSUPP; err 2918 fs/ntfs/inode.c err = -EOPNOTSUPP; err 2920 fs/ntfs/inode.c err = vmtruncate(vi, attr->ia_size); err 2921 fs/ntfs/inode.c if (err || ia_valid == ATTR_SIZE) err 2942 fs/ntfs/inode.c return err; err 2970 fs/ntfs/inode.c int err = 0; err 2988 fs/ntfs/inode.c err = PTR_ERR(m); err 2994 fs/ntfs/inode.c err = -ENOMEM; err 2997 fs/ntfs/inode.c err = ntfs_attr_lookup(AT_STANDARD_INFORMATION, NULL, 0, err 2999 fs/ntfs/inode.c if (unlikely(err)) { err 3058 fs/ntfs/inode.c err = write_mft_record(ni, m, sync); err 3074 fs/ntfs/inode.c if (!err || err == -ENOMEM) err 3075 fs/ntfs/inode.c err = PTR_ERR(tm); err 3081 fs/ntfs/inode.c if (!err || err == -ENOMEM) err 3082 fs/ntfs/inode.c err = ret; err 3089 fs/ntfs/inode.c if (unlikely(err)) err 3096 fs/ntfs/inode.c if (err == -ENOMEM) { err 3102 fs/ntfs/inode.c ntfs_error(vi->i_sb, "Failed (error %i): Run chkdsk.", -err); err 3105 fs/ntfs/inode.c return err; err 60 fs/ntfs/lcnalloc.c int err; err 64 fs/ntfs/lcnalloc.c err = ntfs_bitmap_clear_run(lcnbmp_vi, rl->lcn, rl->length); err 65 fs/ntfs/lcnalloc.c if (unlikely(err && (!ret || ret == -ENOMEM) && ret != err)) err 66 fs/ntfs/lcnalloc.c ret = err; err 160 fs/ntfs/lcnalloc.c int err = 0, rlpos, rlsize, buf_size; err 288 fs/ntfs/lcnalloc.c err = PTR_ERR(page); err 345 fs/ntfs/lcnalloc.c err = -ENOMEM; err 699 fs/ntfs/lcnalloc.c err = -ENOSPC; err 753 fs/ntfs/lcnalloc.c if (likely(!err)) { err 759 fs/ntfs/lcnalloc.c "(error %i).", err); err 763 fs/ntfs/lcnalloc.c if (err == -ENOSPC) err 781 fs/ntfs/lcnalloc.c } else if (err == -ENOSPC) err 786 fs/ntfs/lcnalloc.c return ERR_PTR(err); err 856 fs/ntfs/lcnalloc.c int err; err 886 fs/ntfs/lcnalloc.c err = PTR_ERR(rl); err 893 fs/ntfs/lcnalloc.c err = -EIO; err 906 fs/ntfs/lcnalloc.c err = ntfs_bitmap_set_bits_in_run(lcnbmp_vi, rl->lcn + delta, err 908 fs/ntfs/lcnalloc.c if (unlikely(err)) { err 911 fs/ntfs/lcnalloc.c "(error %i), aborting.", err); err 936 fs/ntfs/lcnalloc.c err = PTR_ERR(rl); err 952 fs/ntfs/lcnalloc.c err = -EIO; err 963 fs/ntfs/lcnalloc.c err = ntfs_bitmap_set_bits_in_run(lcnbmp_vi, rl->lcn, err 965 fs/ntfs/lcnalloc.c if (unlikely(err)) { err 991 fs/ntfs/lcnalloc.c return err; err 995 fs/ntfs/lcnalloc.c return err; err 1010 fs/ntfs/lcnalloc.c ntfs_error(vol->sb, "Aborting (error %i).", err); err 1011 fs/ntfs/lcnalloc.c return err; err 354 fs/ntfs/logfile.c int size, err; err 403 fs/ntfs/logfile.c err = PTR_ERR(page); err 404 fs/ntfs/logfile.c if (err != -EIO && err != -ENOMEM) err 405 fs/ntfs/logfile.c err = -EIO; err 433 fs/ntfs/logfile.c err = -EINVAL; err 442 fs/ntfs/logfile.c err = 0; err 446 fs/ntfs/logfile.c err = -EINVAL; err 463 fs/ntfs/logfile.c return err; err 493 fs/ntfs/logfile.c int log_page_size, log_page_mask, err; err 580 fs/ntfs/logfile.c err = ntfs_check_and_load_restart_page(log_vi, err 584 fs/ntfs/logfile.c if (!err) { err 604 fs/ntfs/logfile.c if (err != -EINVAL) { err 734 fs/ntfs/logfile.c int err; err 761 fs/ntfs/logfile.c err = ntfs_map_runlist_nolock(log_ni, vcn, NULL); err 762 fs/ntfs/logfile.c if (err) { err 764 fs/ntfs/logfile.c "%d).", -err); err 765 fs/ntfs/logfile.c goto err; err 854 fs/ntfs/logfile.c err = -EIO; err 855 fs/ntfs/logfile.c err: err 858 fs/ntfs/logfile.c -err); err 476 fs/ntfs/mft.c int i_bhs, nr_bhs, err = 0; err 483 fs/ntfs/mft.c err = ntfs_sync_mft_mirror_umount(vol, mft_no, m); err 484 fs/ntfs/mft.c if (likely(!err)) err 485 fs/ntfs/mft.c return err; err 493 fs/ntfs/mft.c err = PTR_ERR(page); err 573 fs/ntfs/mft.c err = -EIO; err 584 fs/ntfs/mft.c if (likely(!err)) { err 603 fs/ntfs/mft.c err = -EIO; err 623 fs/ntfs/mft.c if (likely(!err)) { err 632 fs/ntfs/mft.c "after umounting to correct this.", -err); err 635 fs/ntfs/mft.c return err; err 680 fs/ntfs/mft.c int i_bhs, nr_bhs, err = 0; err 756 fs/ntfs/mft.c err = -EIO; err 769 fs/ntfs/mft.c if (unlikely(err)) err 772 fs/ntfs/mft.c err = pre_write_mst_fixup((NTFS_RECORD*)m, vol->mft_record_size); err 773 fs/ntfs/mft.c if (err) { err 799 fs/ntfs/mft.c err = -EIO; err 814 fs/ntfs/mft.c if (unlikely(err)) { err 836 fs/ntfs/mft.c if (err == -ENOMEM) { err 840 fs/ntfs/mft.c err = 0; err 843 fs/ntfs/mft.c return err; err 2099 fs/ntfs/mft.c int err; err 2130 fs/ntfs/mft.c err = ntfs_mft_record_layout(vol, mft_no, m); err 2131 fs/ntfs/mft.c if (unlikely(err)) { err 2137 fs/ntfs/mft.c return err; err 2256 fs/ntfs/mft.c int err; err 2332 fs/ntfs/mft.c err = ntfs_mft_bitmap_extend_allocation_nolock(vol); err 2333 fs/ntfs/mft.c if (unlikely(err)) { err 2353 fs/ntfs/mft.c err = ntfs_mft_bitmap_extend_initialized_nolock(vol); err 2354 fs/ntfs/mft.c if (unlikely(err)) { err 2372 fs/ntfs/mft.c err = ntfs_bitmap_set_bit(vol->mftbmp_ino, bit); err 2373 fs/ntfs/mft.c if (unlikely(err)) { err 2412 fs/ntfs/mft.c err = ntfs_mft_data_extend_allocation_nolock(vol); err 2413 fs/ntfs/mft.c if (unlikely(err)) { err 2448 fs/ntfs/mft.c err = ntfs_mft_record_format(vol, mft_no); err 2449 fs/ntfs/mft.c if (unlikely(err)) { err 2462 fs/ntfs/mft.c err = PTR_ERR(m); err 2468 fs/ntfs/mft.c err = -ENOMEM; err 2472 fs/ntfs/mft.c err = ntfs_attr_lookup(mft_ni->type, mft_ni->name, mft_ni->name_len, err 2474 fs/ntfs/mft.c if (unlikely(err)) { err 2525 fs/ntfs/mft.c err = PTR_ERR(page); err 2542 fs/ntfs/mft.c err = -EIO; err 2558 fs/ntfs/mft.c err = ntfs_mft_record_layout(vol, bit, m); err 2559 fs/ntfs/mft.c if (unlikely(err)) { err 2595 fs/ntfs/mft.c err = PTR_ERR(m); err 2628 fs/ntfs/mft.c err = -ENOMEM; err 2752 fs/ntfs/mft.c return ERR_PTR(err); err 2787 fs/ntfs/mft.c int i, err; err 2815 fs/ntfs/mft.c err = -ENOENT; err 2823 fs/ntfs/mft.c err = 0; err 2829 fs/ntfs/mft.c if (unlikely(err)) { err 2859 fs/ntfs/mft.c err = write_mft_record(ni, m, 0); err 2860 fs/ntfs/mft.c if (unlikely(err)) { err 2872 fs/ntfs/mft.c err = ntfs_bitmap_clear_bit(vol->mftbmp_ino, mft_no); err 2874 fs/ntfs/mft.c if (unlikely(err)) { err 2912 fs/ntfs/mft.c return err; err 105 fs/ntfs/mft.h int err; err 109 fs/ntfs/mft.h err = write_mft_record_nolock(ni, m, sync); err 111 fs/ntfs/mft.h return err; err 180 fs/ntfs/namei.c int err; err 200 fs/ntfs/namei.c err = PTR_ERR(m); err 207 fs/ntfs/namei.c err = -ENOMEM; err 214 fs/ntfs/namei.c err = ntfs_attr_lookup(AT_FILE_NAME, NULL, 0, 0, 0, err 216 fs/ntfs/namei.c if (unlikely(err)) { err 220 fs/ntfs/namei.c if (err == -ENOENT) err 221 fs/ntfs/namei.c err = -EIO; err 252 fs/ntfs/namei.c err = (signed)nls_name.len; err 263 fs/ntfs/namei.c err = -EIO; err 270 fs/ntfs/namei.c ntfs_error(vol->sb, "Failed, returning error code %i.", err); err 271 fs/ntfs/namei.c return ERR_PTR(err); err 310 fs/ntfs/namei.c int err; err 324 fs/ntfs/namei.c err = ntfs_attr_lookup(AT_FILE_NAME, NULL, 0, CASE_SENSITIVE, 0, NULL, err 326 fs/ntfs/namei.c if (unlikely(err)) { err 329 fs/ntfs/namei.c if (err == -ENOENT) err 333 fs/ntfs/namei.c return ERR_PTR(err); err 42 fs/ntfs/quota.c int err; err 57 fs/ntfs/quota.c err = ntfs_index_lookup(&qid, sizeof(qid), ictx); err 58 fs/ntfs/quota.c if (err) { err 59 fs/ntfs/quota.c if (err == -ENOENT) err 1329 fs/ntfs/runlist.c int err = -ENOSPC; err 1459 fs/ntfs/runlist.c err = 0; err 1466 fs/ntfs/runlist.c return err; err 1469 fs/ntfs/runlist.c err = -EINVAL; err 1471 fs/ntfs/runlist.c err = -EIO; err 1472 fs/ntfs/runlist.c return err; err 356 fs/ntfs/super.c int err; err 365 fs/ntfs/super.c err = PTR_ERR(m); err 370 fs/ntfs/super.c err = -ENOMEM; err 373 fs/ntfs/super.c err = ntfs_attr_lookup(AT_VOLUME_INFORMATION, NULL, 0, 0, 0, NULL, 0, err 375 fs/ntfs/super.c if (err) err 392 fs/ntfs/super.c ntfs_error(vol->sb, "Failed with error code %i.", -err); err 393 fs/ntfs/super.c return err; err 1752 fs/ntfs/super.c int err; err 1975 fs/ntfs/super.c err = check_windows_hibernation_status(vol); err 1976 fs/ntfs/super.c if (unlikely(err)) { err 1983 fs/ntfs/super.c es1 = err < 0 ? es1a : es1b; err 3124 fs/ntfs/super.c int err = 0; err 3189 fs/ntfs/super.c err = ntfs_sysctl(1); err 3190 fs/ntfs/super.c if (err) { err 3195 fs/ntfs/super.c err = register_filesystem(&ntfs_fs_type); err 3196 fs/ntfs/super.c if (!err) { err 3213 fs/ntfs/super.c if (!err) { err 3216 fs/ntfs/super.c err = -ENOMEM; err 3218 fs/ntfs/super.c return err; err 52 fs/ocfs2/aops.c int err = -EIO; err 126 fs/ocfs2/aops.c err = 0; err 131 fs/ocfs2/aops.c mlog_exit(err); err 132 fs/ocfs2/aops.c return err; err 138 fs/ocfs2/aops.c int err = 0; err 153 fs/ocfs2/aops.c err = ocfs2_symlink_get_block(inode, iblock, bh_result, create); err 157 fs/ocfs2/aops.c err = ocfs2_extent_map_get_blocks(inode, iblock, &p_blkno, &count, err 159 fs/ocfs2/aops.c if (err) { err 161 fs/ocfs2/aops.c "%llu, NULL)\n", err, inode, (unsigned long long)iblock, err 194 fs/ocfs2/aops.c err = -EIO; err 213 fs/ocfs2/aops.c if (err < 0) err 214 fs/ocfs2/aops.c err = -EIO; err 216 fs/ocfs2/aops.c mlog_exit(err); err 217 fs/ocfs2/aops.c return err; err 347 fs/ocfs2/aops.c int ret, err = -EIO; err 359 fs/ocfs2/aops.c return err; err 363 fs/ocfs2/aops.c return err; err 382 fs/ocfs2/aops.c err = mpage_readpages(mapping, pages, nr_pages, ocfs2_get_block); err 388 fs/ocfs2/aops.c return err; err 445 fs/ocfs2/aops.c int err, ret = 0; err 459 fs/ocfs2/aops.c err = (*fn)(handle, bh); err 461 fs/ocfs2/aops.c ret = err; err 506 fs/ocfs2/aops.c int err = 0; err 515 fs/ocfs2/aops.c err = ocfs2_inode_lock(inode, NULL, 0); err 516 fs/ocfs2/aops.c if (err) { err 517 fs/ocfs2/aops.c if (err != -ENOENT) err 518 fs/ocfs2/aops.c mlog_errno(err); err 525 fs/ocfs2/aops.c err = ocfs2_extent_map_get_blocks(inode, block, &p_blkno, NULL, err 533 fs/ocfs2/aops.c if (err) { err 536 fs/ocfs2/aops.c mlog_errno(err); err 541 fs/ocfs2/aops.c status = err ? 0 : p_blkno; err 231 fs/ocfs2/cluster/tcp.c BUG_ON(err >= O2NET_ERR_MAX); err 232 fs/ocfs2/cluster/tcp.c trans = o2net_sys_err_translations[err]; err 235 fs/ocfs2/cluster/tcp.c BUG_ON(err != O2NET_ERR_NONE && trans == 0); err 463 fs/ocfs2/cluster/tcp.c mlog_bug_on_msg(err && valid, "err %d valid %u\n", err, valid); err 466 fs/ocfs2/cluster/tcp.c if (was_valid && !valid && err == 0) err 467 fs/ocfs2/cluster/tcp.c err = -ENOTCONN; err 471 fs/ocfs2/cluster/tcp.c nn->nn_persistent_error, err); err 475 fs/ocfs2/cluster/tcp.c nn->nn_persistent_error = err; err 653 fs/ocfs2/cluster/tcp.c o2net_set_nn_state(nn, NULL, 0, err); err 1120 fs/ocfs2/cluster/tcp.c hdr->status = cpu_to_be32(err); err 1124 fs/ocfs2/cluster/tcp.c msglog(hdr, "about to send status magic %d\n", err); err 76 fs/ocfs2/cluster/tcp.h if (err >= 0) err 78 fs/ocfs2/cluster/tcp.h switch (err) { err 117 fs/ocfs2/dir.c *err = 0; err 124 fs/ocfs2/dir.c *err = -EIO; err 266 fs/ocfs2/dir.c int nblocks, i, err; err 299 fs/ocfs2/dir.c bh = ocfs2_bread(dir, b++, &err, 1); err 727 fs/ocfs2/dir.c int err; err 738 fs/ocfs2/dir.c bh = ocfs2_bread(inode, blk, &err, 0); err 757 fs/ocfs2/dir.c tmp = ocfs2_bread(inode, ++blk, &err, 1); err 1077 fs/ocfs2/dlm/dlmcommon.h if (err == -ENOMEM) err 1079 fs/ocfs2/dlm/dlmcommon.h else if (err == -ETIMEDOUT || o2net_link_down(err, NULL)) err 1081 fs/ocfs2/dlm/dlmcommon.h else if (err == -EINVAL) err 1083 fs/ocfs2/dlm/dlmcommon.h else if (err == -ENAMETOOLONG) err 235 fs/ocfs2/dlm/dlmdebug.c if (err >= DLM_MAXSTATS || err < 0) err 237 fs/ocfs2/dlm/dlmdebug.c return dlm_errmsgs[err]; err 243 fs/ocfs2/dlm/dlmdebug.c if (err >= DLM_MAXSTATS || err < 0) err 245 fs/ocfs2/dlm/dlmdebug.c return dlm_errnames[err]; err 1887 fs/ocfs2/dlm/dlmmaster.c int rr, err = 0; err 1937 fs/ocfs2/dlm/dlmmaster.c err = 1; err 1939 fs/ocfs2/dlm/dlmmaster.c err = 1; err 1942 fs/ocfs2/dlm/dlmmaster.c err = 1; err 1944 fs/ocfs2/dlm/dlmmaster.c err = 1; err 1946 fs/ocfs2/dlm/dlmmaster.c if (err) { err 2985 fs/ocfs2/dlmglue.c int status, err; err 2992 fs/ocfs2/dlmglue.c err = ocfs2_drop_lock(OCFS2_SB(inode->i_sb), err 2994 fs/ocfs2/dlmglue.c if (err < 0) err 2995 fs/ocfs2/dlmglue.c mlog_errno(err); err 2997 fs/ocfs2/dlmglue.c status = err; err 2999 fs/ocfs2/dlmglue.c err = ocfs2_drop_lock(OCFS2_SB(inode->i_sb), err 3001 fs/ocfs2/dlmglue.c if (err < 0) err 3002 fs/ocfs2/dlmglue.c mlog_errno(err); err 3003 fs/ocfs2/dlmglue.c if (err < 0 && !status) err 3004 fs/ocfs2/dlmglue.c status = err; err 3006 fs/ocfs2/dlmglue.c err = ocfs2_drop_lock(OCFS2_SB(inode->i_sb), err 3008 fs/ocfs2/dlmglue.c if (err < 0) err 3009 fs/ocfs2/dlmglue.c mlog_errno(err); err 3010 fs/ocfs2/dlmglue.c if (err < 0 && !status) err 3011 fs/ocfs2/dlmglue.c status = err; err 175 fs/ocfs2/file.c int err = 0; err 183 fs/ocfs2/file.c err = ocfs2_sync_inode(dentry->d_inode); err 184 fs/ocfs2/file.c if (err) err 188 fs/ocfs2/file.c err = jbd2_journal_force_commit(journal); err 191 fs/ocfs2/file.c mlog_exit(err); err 193 fs/ocfs2/file.c return (err < 0) ? -EIO : 0; err 1004 fs/ocfs2/file.c int err; err 1008 fs/ocfs2/file.c err = ocfs2_inode_revalidate(dentry); err 1009 fs/ocfs2/file.c if (err) { err 1010 fs/ocfs2/file.c if (err != -ENOENT) err 1011 fs/ocfs2/file.c mlog_errno(err); err 1021 fs/ocfs2/file.c mlog_exit(err); err 1023 fs/ocfs2/file.c return err; err 441 fs/ocfs2/journal.c int err = journal_dirty_data(handle, bh); err 442 fs/ocfs2/journal.c if (err) err 443 fs/ocfs2/journal.c mlog_errno(err); err 447 fs/ocfs2/journal.c return err; err 537 fs/ocfs2/namei.c int err; err 551 fs/ocfs2/namei.c err = ocfs2_inode_lock(dir, &parent_fe_bh, 1); err 552 fs/ocfs2/namei.c if (err < 0) { err 553 fs/ocfs2/namei.c if (err != -ENOENT) err 554 fs/ocfs2/namei.c mlog_errno(err); err 555 fs/ocfs2/namei.c return err; err 559 fs/ocfs2/namei.c err = -ENOENT; err 563 fs/ocfs2/namei.c err = ocfs2_check_dir_for_entry(dir, dentry->d_name.name, err 565 fs/ocfs2/namei.c if (err) err 568 fs/ocfs2/namei.c err = ocfs2_prepare_dir_for_insert(osb, dir, parent_fe_bh, err 571 fs/ocfs2/namei.c if (err < 0) { err 572 fs/ocfs2/namei.c mlog_errno(err); err 576 fs/ocfs2/namei.c err = ocfs2_inode_lock(inode, &fe_bh, 1); err 577 fs/ocfs2/namei.c if (err < 0) { err 578 fs/ocfs2/namei.c if (err != -ENOENT) err 579 fs/ocfs2/namei.c mlog_errno(err); err 585 fs/ocfs2/namei.c err = -EMLINK; err 591 fs/ocfs2/namei.c err = PTR_ERR(handle); err 593 fs/ocfs2/namei.c mlog_errno(err); err 597 fs/ocfs2/namei.c err = ocfs2_journal_access(handle, inode, fe_bh, err 599 fs/ocfs2/namei.c if (err < 0) { err 600 fs/ocfs2/namei.c mlog_errno(err); err 610 fs/ocfs2/namei.c err = ocfs2_journal_dirty(handle, fe_bh); err 611 fs/ocfs2/namei.c if (err < 0) { err 614 fs/ocfs2/namei.c mlog_errno(err); err 618 fs/ocfs2/namei.c err = ocfs2_add_entry(handle, dentry, inode, err 621 fs/ocfs2/namei.c if (err) { err 624 fs/ocfs2/namei.c mlog_errno(err); err 628 fs/ocfs2/namei.c err = ocfs2_dentry_attach_lock(dentry, inode, OCFS2_I(dir)->ip_blkno); err 629 fs/ocfs2/namei.c if (err) { err 630 fs/ocfs2/namei.c mlog_errno(err); err 650 fs/ocfs2/namei.c mlog_exit(err); err 652 fs/ocfs2/namei.c return err; err 51 fs/omfs/bitmap.c int err; err 55 fs/omfs/bitmap.c err = -ENOMEM; err 82 fs/omfs/bitmap.c err = 0; err 84 fs/omfs/bitmap.c return err; err 41 fs/omfs/dir.c int err = -ENOENT; err 48 fs/omfs/dir.c err = -EIO; err 49 fs/omfs/dir.c goto err; err 55 fs/omfs/dir.c goto err; err 65 fs/omfs/dir.c err: err 66 fs/omfs/dir.c return ERR_PTR(err); err 170 fs/omfs/dir.c int err = -ENOMEM; err 182 fs/omfs/dir.c err = PTR_ERR(bh2); err 213 fs/omfs/dir.c err = 0; err 217 fs/omfs/dir.c return err; err 261 fs/omfs/dir.c int err = -ENOTEMPTY; err 265 fs/omfs/dir.c err = omfs_unlink(dir, dentry); err 266 fs/omfs/dir.c if (!err) err 269 fs/omfs/dir.c return err; err 274 fs/omfs/dir.c int err; err 280 fs/omfs/dir.c err = omfs_make_empty(inode, dir->i_sb); err 281 fs/omfs/dir.c if (err) err 284 fs/omfs/dir.c err = omfs_add_link(dentry, inode); err 285 fs/omfs/dir.c if (err) err 293 fs/omfs/dir.c return err; err 396 fs/omfs/dir.c int err; err 402 fs/omfs/dir.c err = -ENOTEMPTY; err 406 fs/omfs/dir.c err = -ENOENT; err 413 fs/omfs/dir.c err = omfs_unlink(new_dir, new_dentry); err 414 fs/omfs/dir.c if (err) err 421 fs/omfs/dir.c err = omfs_unlink(old_dir, old_dentry); err 422 fs/omfs/dir.c if (err) { err 427 fs/omfs/dir.c err = omfs_add_link(new_dentry, old_inode); err 428 fs/omfs/dir.c if (err) err 433 fs/omfs/dir.c return err; err 18 fs/omfs/file.c int err; err 20 fs/omfs/file.c err = sync_mapping_buffers(inode->i_mapping); err 22 fs/omfs/file.c return err; err 24 fs/omfs/file.c return err; err 25 fs/omfs/file.c err |= omfs_sync_inode(inode); err 26 fs/omfs/file.c return err ? -EIO : 0; err 25 fs/omfs/inode.c int err; err 33 fs/omfs/inode.c err = omfs_allocate_range(dir->i_sb, sbi->s_mirrors, sbi->s_mirrors, err 35 fs/omfs/inode.c if (err) err 66 fs/omfs/inode.c return ERR_PTR(err); err 203 fs/open.c int err; err 221 fs/open.c err = notify_change(dentry, &newattrs); err 223 fs/open.c return err; err 588 fs/open.c int err = -EBADF; err 600 fs/open.c err = mnt_want_write(file->f_path.mnt); err 601 fs/open.c if (err) err 608 fs/open.c err = notify_change(dentry, &newattrs); err 614 fs/open.c return err; err 442 fs/openpromfs/inode.c int err; err 453 fs/openpromfs/inode.c err = register_filesystem(&openprom_fs_type); err 454 fs/openpromfs/inode.c if (err) err 457 fs/openpromfs/inode.c return err; err 160 fs/partitions/check.c int i, res, err; err 172 fs/partitions/check.c i = res = err = 0; err 180 fs/partitions/check.c err = res; err 187 fs/partitions/check.c if (err) err 189 fs/partitions/check.c res = err; err 350 fs/partitions/check.c int err; err 352 fs/partitions/check.c err = disk_expand_part_tbl(disk, partno); err 353 fs/partitions/check.c if (err) err 354 fs/partitions/check.c return err; err 365 fs/partitions/check.c err = -ENOMEM; err 386 fs/partitions/check.c err = blk_alloc_devt(p, &devt); err 387 fs/partitions/check.c if (err) err 393 fs/partitions/check.c err = device_add(pdev); err 394 fs/partitions/check.c if (err) err 397 fs/partitions/check.c err = -ENOMEM; err 404 fs/partitions/check.c err = device_create_file(pdev, &dev_attr_whole_disk); err 405 fs/partitions/check.c if (err) err 421 fs/partitions/check.c return err; err 428 fs/partitions/check.c return err; err 439 fs/partitions/check.c int err; err 455 fs/partitions/check.c err = sysfs_create_link(block_depr, &ddev->kobj, err 457 fs/partitions/check.c if (err) { err 478 fs/partitions/check.c err = blkdev_get(bdev, FMODE_READ, 0); err 479 fs/partitions/check.c if (err < 0) err 429 fs/partitions/ldm.c goto err; err 451 fs/partitions/ldm.c goto err; err 458 fs/partitions/ldm.c goto err; err 464 fs/partitions/ldm.c goto err; err 469 fs/partitions/ldm.c err: err 920 fs/pipe.c int err; err 926 fs/pipe.c err = -ENFILE; err 929 fs/pipe.c goto err; err 931 fs/pipe.c err = -ENOMEM; err 945 fs/pipe.c err = -ENFILE; err 959 fs/pipe.c return ERR_PTR(err); err 964 fs/pipe.c err: err 965 fs/pipe.c return ERR_PTR(err); err 1096 fs/pipe.c int err = register_filesystem(&pipe_fs_type); err 1098 fs/pipe.c if (!err) { err 1101 fs/pipe.c err = PTR_ERR(pipe_mnt); err 1105 fs/pipe.c return err; err 590 fs/proc/base.c goto err; err 623 fs/proc/base.c err: err 1835 fs/proc/base.c int err = proc_fd_info(file->f_path.dentry->d_inode, NULL, tmp); err 1836 fs/proc/base.c if (!err) err 1837 fs/proc/base.c err = simple_read_from_buffer(buf, len, ppos, tmp, strlen(tmp)); err 1838 fs/proc/base.c return err; err 62 fs/proc/proc_net.c int err; err 65 fs/proc/proc_net.c err = -ENXIO; err 70 fs/proc/proc_net.c err = single_open(file, show, net); err 71 fs/proc/proc_net.c if (err < 0) err 79 fs/proc/proc_net.c return err; err 196 fs/proc/proc_net.c int err; err 198 fs/proc/proc_net.c err = -ENOMEM; err 209 fs/proc/proc_net.c err = -EEXIST; err 221 fs/proc/proc_net.c return err; err 86 fs/proc/proc_sysctl.c struct dentry *err = ERR_PTR(-ENOENT); err 112 fs/proc/proc_sysctl.c err = ERR_PTR(-ENOMEM); err 120 fs/proc/proc_sysctl.c err = NULL; err 126 fs/proc/proc_sysctl.c return err; err 42 fs/proc/root.c int err; err 69 fs/proc/root.c err = proc_fill_super(sb); err 70 fs/proc/root.c if (err) { err 73 fs/proc/root.c return err; err 107 fs/proc/root.c int err = proc_init_inodecache(); err 108 fs/proc/root.c if (err) err 110 fs/proc/root.c err = register_filesystem(&proc_fs_type); err 111 fs/proc/root.c if (err) err 114 fs/proc/root.c err = PTR_ERR(proc_mnt); err 538 fs/proc/task_mmu.c int err = 0; err 540 fs/proc/task_mmu.c err = add_to_pagemap(addr, PM_NOT_PRESENT, pm); err 541 fs/proc/task_mmu.c if (err) err 544 fs/proc/task_mmu.c return err; err 571 fs/proc/task_mmu.c int err = 0; err 592 fs/proc/task_mmu.c err = add_to_pagemap(addr, pfn, pm); err 593 fs/proc/task_mmu.c if (err) err 594 fs/proc/task_mmu.c return err; err 599 fs/proc/task_mmu.c return err; err 88 fs/qnx4/fsync.c int rc, err = 0; err 96 fs/qnx4/fsync.c err = rc; err 98 fs/qnx4/fsync.c return err; err 106 fs/qnx4/fsync.c int rc, err = 0; err 119 fs/qnx4/fsync.c err = rc; err 122 fs/qnx4/fsync.c return err; err 130 fs/qnx4/fsync.c int rc, err = 0; err 143 fs/qnx4/fsync.c err = rc; err 146 fs/qnx4/fsync.c return err; err 153 fs/qnx4/fsync.c int wait, err = 0; err 162 fs/qnx4/fsync.c err |= sync_direct(inode, wait); err 164 fs/qnx4/fsync.c err |= qnx4_sync_inode(inode); err 166 fs/qnx4/fsync.c return (err < 0) ? -EIO : 0; err 39 fs/qnx4/inode.c int err = 0; err 51 fs/qnx4/inode.c err = -1; err 55 fs/qnx4/inode.c err = -1; err 59 fs/qnx4/inode.c return err; err 597 fs/qnx4/inode.c int err; err 599 fs/qnx4/inode.c err = init_inodecache(); err 600 fs/qnx4/inode.c if (err) err 601 fs/qnx4/inode.c return err; err 603 fs/qnx4/inode.c err = register_filesystem(&qnx4_fs_type); err 604 fs/qnx4/inode.c if (err) { err 606 fs/qnx4/inode.c return err; err 187 fs/quota_v2.c int err; err 195 fs/quota_v2.c if ((err = write_blk(sb, type, blk, buf)) < 0) err 196 fs/quota_v2.c return err; err 207 fs/quota_v2.c int err; err 212 fs/quota_v2.c if ((err = read_blk(sb, type, nextblk, tmpbuf)) < 0) err 215 fs/quota_v2.c if ((err = write_blk(sb, type, nextblk, tmpbuf)) < 0) err 219 fs/quota_v2.c if ((err = read_blk(sb, type, prevblk, tmpbuf)) < 0) err 222 fs/quota_v2.c if ((err = write_blk(sb, type, prevblk, tmpbuf)) < 0) err 237 fs/quota_v2.c return err; err 246 fs/quota_v2.c int err; err 252 fs/quota_v2.c if ((err = write_blk(sb, type, blk, buf)) < 0) err 255 fs/quota_v2.c if ((err = read_blk(sb, type, info->u.v2_i.dqi_free_entry, tmpbuf)) < 0) err 258 fs/quota_v2.c if ((err = write_blk(sb, type, info->u.v2_i.dqi_free_entry, tmpbuf)) < 0) err 267 fs/quota_v2.c return err; err 281 fs/quota_v2.c *err = 0; err 283 fs/quota_v2.c *err = -ENOMEM; err 290 fs/quota_v2.c if ((*err = read_blk(sb, dquot->dq_type, blk, buf)) < 0) err 296 fs/quota_v2.c *err = blk; err 306 fs/quota_v2.c if ((*err = remove_free_dqentry(sb, dquot->dq_type, buf, blk)) < 0) { err 317 fs/quota_v2.c *err = -EIO; err 321 fs/quota_v2.c if ((*err = write_blk(sb, dquot->dq_type, blk, buf)) < 0) { err 226 fs/ramfs/inode.c int err; err 228 fs/ramfs/inode.c err = bdi_init(&ramfs_backing_dev_info); err 229 fs/ramfs/inode.c if (err) err 230 fs/ramfs/inode.c return err; err 232 fs/ramfs/inode.c err = register_filesystem(&rootfs_fs_type); err 233 fs/ramfs/inode.c if (err) err 236 fs/ramfs/inode.c return err; err 33 fs/reiserfs/dir.c int err; err 35 fs/reiserfs/dir.c err = reiserfs_commit_for_inode(inode); err 37 fs/reiserfs/dir.c if (err < 0) err 38 fs/reiserfs/dir.c return err; err 36 fs/reiserfs/file.c int err; err 61 fs/reiserfs/file.c err = journal_begin(&th, inode->i_sb, 1); err 62 fs/reiserfs/file.c if (err) { err 67 fs/reiserfs/file.c jbegin_failure = err; err 68 fs/reiserfs/file.c err = journal_join_abort(&th, inode->i_sb, 1); err 70 fs/reiserfs/file.c if (err) { err 91 fs/reiserfs/file.c err = journal_end(&th, inode->i_sb, 1); err 94 fs/reiserfs/file.c if (!err) err 95 fs/reiserfs/file.c err = jbegin_failure; err 97 fs/reiserfs/file.c if (!err && atomic_read(&inode->i_count) <= 1 && err 104 fs/reiserfs/file.c err = reiserfs_truncate_file(inode, 0); err 110 fs/reiserfs/file.c return err; err 34 fs/reiserfs/inode.c int err; err 50 fs/reiserfs/inode.c err = reiserfs_delete_object(&th, inode); err 55 fs/reiserfs/inode.c if (!err) err 64 fs/reiserfs/inode.c if (err) err 218 fs/reiserfs/inode.c int err; err 230 fs/reiserfs/inode.c err = journal_end(th, s, len); err 231 fs/reiserfs/inode.c if (!err) { err 232 fs/reiserfs/inode.c err = journal_begin(th, s, JOURNAL_PER_BALANCE_CNT * 6); err 233 fs/reiserfs/inode.c if (!err) err 236 fs/reiserfs/inode.c return err; err 491 fs/reiserfs/inode.c int err; err 493 fs/reiserfs/inode.c err = reiserfs_commit_for_inode(inode); err 496 fs/reiserfs/inode.c if (err < 0) err 497 fs/reiserfs/inode.c ret = err; err 1029 fs/reiserfs/inode.c int err; err 1032 fs/reiserfs/inode.c err = reiserfs_end_persistent_transaction(th); err 1033 fs/reiserfs/inode.c if (err) err 1034 fs/reiserfs/inode.c retval = err; err 1770 fs/reiserfs/inode.c int err; err 1775 fs/reiserfs/inode.c err = -EDQUOT; err 1779 fs/reiserfs/inode.c err = -EPERM; err 1789 fs/reiserfs/inode.c err = -ENOMEM; err 1852 fs/reiserfs/inode.c err = -EIO; err 1857 fs/reiserfs/inode.c err = -EEXIST; err 1864 fs/reiserfs/inode.c err = -EINVAL; err 1896 fs/reiserfs/inode.c err = retval; err 1919 fs/reiserfs/inode.c err = retval; err 1929 fs/reiserfs/inode.c err = retval; err 1981 fs/reiserfs/inode.c return err; err 2286 fs/reiserfs/inode.c int err = journal_end(&th, inode->i_sb, jbegin_count); err 2287 fs/reiserfs/inode.c if (err) err 2288 fs/reiserfs/inode.c retval = err; err 2602 fs/reiserfs/inode.c int err; err 2604 fs/reiserfs/inode.c err = reiserfs_end_persistent_transaction(th); err 2606 fs/reiserfs/inode.c if (err) err 2607 fs/reiserfs/inode.c ret = err; err 2654 fs/reiserfs/inode.c int err; err 2656 fs/reiserfs/inode.c err = reiserfs_end_persistent_transaction(th); err 2658 fs/reiserfs/inode.c if (err) err 2659 fs/reiserfs/inode.c ret = err; err 3077 fs/reiserfs/inode.c int err; err 3080 fs/reiserfs/inode.c err = journal_begin(&th, inode->i_sb, 4); err 3081 fs/reiserfs/inode.c if (!err) { err 3083 fs/reiserfs/inode.c err = journal_end(&th, inode->i_sb, 4); err 3085 fs/reiserfs/inode.c if (err) err 3086 fs/reiserfs/inode.c error = err; err 27 fs/reiserfs/ioctl.c int err = 0; err 51 fs/reiserfs/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 52 fs/reiserfs/ioctl.c if (err) err 53 fs/reiserfs/ioctl.c return err; err 56 fs/reiserfs/ioctl.c err = -EPERM; err 60 fs/reiserfs/ioctl.c err = -EFAULT; err 67 fs/reiserfs/ioctl.c err = -EPERM; err 74 fs/reiserfs/ioctl.c err = -EPERM; err 83 fs/reiserfs/ioctl.c err = result; err 93 fs/reiserfs/ioctl.c return err; err 100 fs/reiserfs/ioctl.c err = mnt_want_write(filp->f_path.mnt); err 101 fs/reiserfs/ioctl.c if (err) err 102 fs/reiserfs/ioctl.c return err; err 104 fs/reiserfs/ioctl.c err = -EFAULT; err 111 fs/reiserfs/ioctl.c return err; err 1399 fs/reiserfs/journal.c int err = 0; err 1567 fs/reiserfs/journal.c err = -EIO; err 1584 fs/reiserfs/journal.c if (err) err 1599 fs/reiserfs/journal.c err = journal->j_errno; err 1608 fs/reiserfs/journal.c if (!err && flushall) { err 1609 fs/reiserfs/journal.c err = err 1614 fs/reiserfs/journal.c if (err) err 1645 fs/reiserfs/journal.c return err; err 652 fs/reiserfs/namei.c int err; err 655 fs/reiserfs/namei.c err = journal_end(&th, dir->i_sb, jbegin_count); err 656 fs/reiserfs/namei.c if (err) err 657 fs/reiserfs/namei.c retval = err; err 733 fs/reiserfs/namei.c int err; err 736 fs/reiserfs/namei.c err = journal_end(&th, dir->i_sb, jbegin_count); err 737 fs/reiserfs/namei.c if (err) err 738 fs/reiserfs/namei.c retval = err; err 817 fs/reiserfs/namei.c int err; err 821 fs/reiserfs/namei.c err = journal_end(&th, dir->i_sb, jbegin_count); err 822 fs/reiserfs/namei.c if (err) err 823 fs/reiserfs/namei.c retval = err; err 855 fs/reiserfs/namei.c int retval, err; err 934 fs/reiserfs/namei.c err = journal_end(&th, dir->i_sb, jbegin_count); err 936 fs/reiserfs/namei.c return err ? err : retval; err 941 fs/reiserfs/namei.c int retval, err; err 1026 fs/reiserfs/namei.c err = journal_end(&th, dir->i_sb, jbegin_count); err 1028 fs/reiserfs/namei.c if (err) err 1029 fs/reiserfs/namei.c retval = err; err 1102 fs/reiserfs/namei.c int err; err 1105 fs/reiserfs/namei.c err = journal_end(&th, parent_dir->i_sb, jbegin_count); err 1106 fs/reiserfs/namei.c if (err) err 1107 fs/reiserfs/namei.c retval = err; err 1160 fs/reiserfs/namei.c int err; err 1162 fs/reiserfs/namei.c err = journal_end(&th, dir->i_sb, jbegin_count); err 1164 fs/reiserfs/namei.c return err ? err : retval; err 1326 fs/reiserfs/namei.c int err = journal_end(&th, old_dir->i_sb, jbegin_count); err 1328 fs/reiserfs/namei.c return err ? err : retval; err 22 fs/reiserfs/resize.c int err = 0; err 158 fs/reiserfs/resize.c err = journal_begin(&th, s, 10); err 159 fs/reiserfs/resize.c if (err) err 160 fs/reiserfs/resize.c return err; err 1406 fs/reiserfs/stree.c int err; err 1411 fs/reiserfs/stree.c err = err 1413 fs/reiserfs/stree.c if (err) err 1414 fs/reiserfs/stree.c return err; err 1428 fs/reiserfs/stree.c return err; err 1775 fs/reiserfs/stree.c int err = 0; err 1804 fs/reiserfs/stree.c err = -EIO; err 1813 fs/reiserfs/stree.c err = -EIO; err 1888 fs/reiserfs/stree.c err = journal_end(th, p_s_inode->i_sb, orig_len_alloc); err 1889 fs/reiserfs/stree.c if (err) err 1891 fs/reiserfs/stree.c err = journal_begin(th, p_s_inode->i_sb, err 1893 fs/reiserfs/stree.c if (err) err 1914 fs/reiserfs/stree.c return err; err 91 fs/reiserfs/super.c int err = journal_begin(&th, s, 1); err 92 fs/reiserfs/super.c if (err) { err 124 fs/reiserfs/super.c int err; err 127 fs/reiserfs/super.c err = journal_begin(&th, s, JOURNAL_PER_BALANCE_CNT); err 128 fs/reiserfs/super.c if (err) err 129 fs/reiserfs/super.c return err; err 409 fs/reiserfs/super.c int err; err 412 fs/reiserfs/super.c err = journal_begin(&th, inode->i_sb, JOURNAL_PER_BALANCE_CNT); err 413 fs/reiserfs/super.c if (err) err 414 fs/reiserfs/super.c return err; err 558 fs/reiserfs/super.c int err = 0; err 570 fs/reiserfs/super.c err = journal_begin(&th, inode->i_sb, 1); err 571 fs/reiserfs/super.c if (err) { err 1170 fs/reiserfs/super.c int err; err 1189 fs/reiserfs/super.c err = -EINVAL; err 1231 fs/reiserfs/super.c err = reiserfs_resize(s, blocks); err 1232 fs/reiserfs/super.c if (err != 0) err 1248 fs/reiserfs/super.c err = journal_begin(&th, s, 10); err 1249 fs/reiserfs/super.c if (err) err 1264 fs/reiserfs/super.c err = journal->j_errno; err 1272 fs/reiserfs/super.c err = journal_begin(&th, s, 10); err 1273 fs/reiserfs/super.c if (err) err 1287 fs/reiserfs/super.c err = journal_end(&th, s, 10); err 1288 fs/reiserfs/super.c if (err) err 1304 fs/reiserfs/super.c return err; err 1900 fs/reiserfs/super.c int ret, err; err 1910 fs/reiserfs/super.c err = err 1913 fs/reiserfs/super.c if (!ret && err) err 1914 fs/reiserfs/super.c ret = err; err 1923 fs/reiserfs/super.c int ret, err; err 1939 fs/reiserfs/super.c err = err 1942 fs/reiserfs/super.c if (!ret && err) err 1943 fs/reiserfs/super.c ret = err; err 1952 fs/reiserfs/super.c int ret, err; err 1961 fs/reiserfs/super.c err = err 1964 fs/reiserfs/super.c if (!ret && err) err 1965 fs/reiserfs/super.c ret = err; err 1974 fs/reiserfs/super.c int ret, err; err 1983 fs/reiserfs/super.c err = err 1986 fs/reiserfs/super.c if (!ret && err) err 1987 fs/reiserfs/super.c ret = err; err 1996 fs/reiserfs/super.c int ret, err; err 2008 fs/reiserfs/super.c err = err 2011 fs/reiserfs/super.c if (!ret && err) err 2012 fs/reiserfs/super.c ret = err; err 2032 fs/reiserfs/super.c int ret, err; err 2040 fs/reiserfs/super.c err = journal_end(&th, sb, 2); err 2041 fs/reiserfs/super.c if (!ret && err) err 2042 fs/reiserfs/super.c ret = err; err 2063 fs/reiserfs/super.c int err; err 2073 fs/reiserfs/super.c err = path_lookup(path, LOOKUP_FOLLOW, &nd); err 2074 fs/reiserfs/super.c if (err) err 2075 fs/reiserfs/super.c return err; err 2078 fs/reiserfs/super.c err = -EXDEV; err 2084 fs/reiserfs/super.c err = reiserfs_unpack(inode, NULL); err 2085 fs/reiserfs/super.c if (err) { err 2088 fs/reiserfs/super.c " (%d). Cannot turn on quotas.", err); err 2089 fs/reiserfs/super.c err = -EINVAL; err 2109 fs/reiserfs/super.c err = journal_begin(&th, sb, 1); err 2110 fs/reiserfs/super.c if (err) err 2112 fs/reiserfs/super.c err = journal_end_sync(&th, sb, 1); err 2113 fs/reiserfs/super.c if (err) err 2116 fs/reiserfs/super.c err = vfs_quota_on_path(sb, type, format_id, &nd.path); err 2119 fs/reiserfs/super.c return err; err 2131 fs/reiserfs/super.c int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; err 2148 fs/reiserfs/super.c err = reiserfs_get_block(inode, blk, &tmp_bh, 0); err 2150 fs/reiserfs/super.c if (err) err 2151 fs/reiserfs/super.c return err; err 2176 fs/reiserfs/super.c int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; err 2192 fs/reiserfs/super.c err = reiserfs_get_block(inode, blk, &tmp_bh, GET_BLOCK_CREATE); err 2193 fs/reiserfs/super.c if (err) err 2200 fs/reiserfs/super.c err = -EIO; err 2221 fs/reiserfs/super.c return err; err 80 fs/reiserfs/xattr.c int err = -ENODATA; err 82 fs/reiserfs/xattr.c err = privroot->d_inode->i_op->mkdir(privroot->d_inode, err 84 fs/reiserfs/xattr.c if (err) { err 86 fs/reiserfs/xattr.c xaroot = ERR_PTR(err); err 121 fs/reiserfs/xattr.c int err; err 126 fs/reiserfs/xattr.c err = err 129 fs/reiserfs/xattr.c if (err) { err 132 fs/reiserfs/xattr.c return ERR_PTR(err); err 153 fs/reiserfs/xattr.c int err = 0; err 171 fs/reiserfs/xattr.c err = -EEXIST; err 180 fs/reiserfs/xattr.c err = xadir->d_inode->i_op->create(xadir->d_inode, xafile, err 183 fs/reiserfs/xattr.c if (err) { err 191 fs/reiserfs/xattr.c if (err) err 192 fs/reiserfs/xattr.c xafile = ERR_PTR(err); err 418 fs/reiserfs/xattr.c int err = 0; err 439 fs/reiserfs/xattr.c err = PTR_ERR(dentry); err 449 fs/reiserfs/xattr.c err = reiserfs_xattr_del(inode, name); err 450 fs/reiserfs/xattr.c if (err < 0) err 462 fs/reiserfs/xattr.c err = notify_change(dentry, &newattrs); err 463 fs/reiserfs/xattr.c if (err) err 478 fs/reiserfs/xattr.c err = PTR_ERR(page); err 495 fs/reiserfs/xattr.c err = reiserfs_prepare_write(NULL, page, page_offset, err 497 fs/reiserfs/xattr.c if (!err) { err 500 fs/reiserfs/xattr.c err = reiserfs_commit_write(NULL, page, page_offset, err 509 fs/reiserfs/xattr.c if (err || buffer_size == 0 || !buffer) err 527 fs/reiserfs/xattr.c return err; err 537 fs/reiserfs/xattr.c ssize_t err = 0; err 556 fs/reiserfs/xattr.c err = PTR_ERR(dentry); err 566 fs/reiserfs/xattr.c err = isize - sizeof(struct reiserfs_xattr_header); err 571 fs/reiserfs/xattr.c err = -ERANGE; err 586 fs/reiserfs/xattr.c err = PTR_ERR(page); err 605 fs/reiserfs/xattr.c err = -EIO; err 617 fs/reiserfs/xattr.c err = isize - sizeof(struct reiserfs_xattr_header); err 624 fs/reiserfs/xattr.c err = -EIO; err 631 fs/reiserfs/xattr.c return err; err 639 fs/reiserfs/xattr.c int err = 0; err 643 fs/reiserfs/xattr.c err = PTR_ERR(dentry); err 646 fs/reiserfs/xattr.c err = -ENODATA; err 667 fs/reiserfs/xattr.c err = dir->i_op->unlink(dir, dentry); err 668 fs/reiserfs/xattr.c if (!err) err 675 fs/reiserfs/xattr.c return err; err 681 fs/reiserfs/xattr.c int err; err 685 fs/reiserfs/xattr.c err = PTR_ERR(dir); err 689 fs/reiserfs/xattr.c err = __reiserfs_xattr_del(dir, name, strlen(name)); err 692 fs/reiserfs/xattr.c if (!err) { err 698 fs/reiserfs/xattr.c return err; err 719 fs/reiserfs/xattr.c int err = 0; err 731 fs/reiserfs/xattr.c err = PTR_ERR(dir); err 739 fs/reiserfs/xattr.c err = xattr_readdir(dir->d_inode, reiserfs_delete_xattrs_filler, dir); err 740 fs/reiserfs/xattr.c if (err) { err 749 fs/reiserfs/xattr.c err = vfs_rmdir(root->d_inode, dir); err 762 fs/reiserfs/xattr.c if (!err) err 765 fs/reiserfs/xattr.c return err; err 782 fs/reiserfs/xattr.c int err = 0; err 793 fs/reiserfs/xattr.c err = notify_change(xafile, attrs); err 796 fs/reiserfs/xattr.c return err; err 802 fs/reiserfs/xattr.c int err = 0; err 817 fs/reiserfs/xattr.c err = PTR_ERR(dir); err 831 fs/reiserfs/xattr.c err = xattr_readdir(dir->d_inode, reiserfs_chown_xattrs_filler, &buf); err 832 fs/reiserfs/xattr.c if (err) { err 837 fs/reiserfs/xattr.c err = notify_change(dir, attrs); err 845 fs/reiserfs/xattr.c return err; err 859 fs/reiserfs/xattr.c int err; err 867 fs/reiserfs/xattr.c err = xah->get(dentry->d_inode, name, buffer, size); err 870 fs/reiserfs/xattr.c return err; err 883 fs/reiserfs/xattr.c int err; err 896 fs/reiserfs/xattr.c err = xah->set(dentry->d_inode, name, value, size, flags); err 902 fs/reiserfs/xattr.c return err; err 912 fs/reiserfs/xattr.c int err; err 924 fs/reiserfs/xattr.c err = xah->del(dentry->d_inode, name); err 925 fs/reiserfs/xattr.c if (err) err 929 fs/reiserfs/xattr.c err = reiserfs_xattr_del(dentry->d_inode, name); err 937 fs/reiserfs/xattr.c return err; err 990 fs/reiserfs/xattr.c int err = 0; err 1005 fs/reiserfs/xattr.c err = PTR_ERR(dir); err 1006 fs/reiserfs/xattr.c if (err == -ENODATA) err 1007 fs/reiserfs/xattr.c err = 0; /* Not an error if there aren't any xattrs */ err 1018 fs/reiserfs/xattr.c err = xattr_readdir(dir->d_inode, reiserfs_listxattr_filler, &buf); err 1019 fs/reiserfs/xattr.c if (err) err 1023 fs/reiserfs/xattr.c err = -ERANGE; err 1025 fs/reiserfs/xattr.c err = buf.r_pos; err 1032 fs/reiserfs/xattr.c return err; err 1074 fs/reiserfs/xattr.c int err = 0; err 1101 fs/reiserfs/xattr.c err = xah->init(); err 1102 fs/reiserfs/xattr.c if (err) { err 1110 fs/reiserfs/xattr.c if (err) err 1114 fs/reiserfs/xattr.c return err; err 1148 fs/reiserfs/xattr.c int err = 0; err 1159 fs/reiserfs/xattr.c err = -EOPNOTSUPP; err 1177 fs/reiserfs/xattr.c err = inode->i_op->mkdir(inode, dentry, 0700); err 1179 fs/reiserfs/xattr.c if (err) { err 1196 fs/reiserfs/xattr.c err = PTR_ERR(dentry); err 1198 fs/reiserfs/xattr.c if (!err && dentry) { err 1208 fs/reiserfs/xattr.c err = -EOPNOTSUPP; err 1215 fs/reiserfs/xattr.c if (err) { err 1226 fs/reiserfs/xattr.c return err; err 324 fs/reiserfs/xattr_acl.c int err = 0; err 357 fs/reiserfs/xattr_acl.c err = reiserfs_set_acl(inode, ACL_TYPE_DEFAULT, acl); err 358 fs/reiserfs/xattr_acl.c if (err) err 366 fs/reiserfs/xattr_acl.c err = -ENOMEM; err 378 fs/reiserfs/xattr_acl.c err = err 381 fs/reiserfs/xattr_acl.c if (err) err 395 fs/reiserfs/xattr_acl.c return err; err 643 fs/romfs/inode.c int err = init_inodecache(); err 644 fs/romfs/inode.c if (err) err 646 fs/romfs/inode.c err = register_filesystem(&romfs_fs_type); err 647 fs/romfs/inode.c if (err) err 653 fs/romfs/inode.c return err; err 652 fs/select.c int err = -EFAULT, fdcount, len, size; err 683 fs/select.c err = -ENOMEM; err 701 fs/select.c err = fdcount; err 710 fs/select.c return err; err 73 fs/seq_file.c int err = 0; err 97 fs/seq_file.c err = copy_to_user(buf, m->buf + m->from, n); err 98 fs/seq_file.c if (err) err 114 fs/seq_file.c err = PTR_ERR(p); err 117 fs/seq_file.c err = m->op->show(m, p); err 118 fs/seq_file.c if (err < 0) err 120 fs/seq_file.c if (unlikely(err)) err 149 fs/seq_file.c err = PTR_ERR(p); err 152 fs/seq_file.c err = m->op->show(m, p); err 153 fs/seq_file.c if (m->count == m->size || err) { err 155 fs/seq_file.c if (likely(err <= 0)) err 162 fs/seq_file.c err = copy_to_user(buf, m->buf, n); err 163 fs/seq_file.c if (err) err 174 fs/seq_file.c copied = err; err 181 fs/seq_file.c err = -ENOMEM; err 184 fs/seq_file.c err = -EFAULT; err 410 fs/seq_file.c int err = -ENAMETOOLONG; err 418 fs/seq_file.c err = PTR_ERR(p); err 429 fs/seq_file.c return err; err 65 fs/signalfd.c long err; err 72 fs/signalfd.c err = __clear_user(uinfo, sizeof(*uinfo)); err 78 fs/signalfd.c err |= __put_user(kinfo->si_signo, &uinfo->ssi_signo); err 79 fs/signalfd.c err |= __put_user(kinfo->si_errno, &uinfo->ssi_errno); err 80 fs/signalfd.c err |= __put_user((short) kinfo->si_code, &uinfo->ssi_code); err 83 fs/signalfd.c err |= __put_user(kinfo->si_pid, &uinfo->ssi_pid); err 84 fs/signalfd.c err |= __put_user(kinfo->si_uid, &uinfo->ssi_uid); err 87 fs/signalfd.c err |= __put_user(kinfo->si_tid, &uinfo->ssi_tid); err 88 fs/signalfd.c err |= __put_user(kinfo->si_overrun, &uinfo->ssi_overrun); err 89 fs/signalfd.c err |= __put_user((long) kinfo->si_ptr, &uinfo->ssi_ptr); err 92 fs/signalfd.c err |= __put_user(kinfo->si_band, &uinfo->ssi_band); err 93 fs/signalfd.c err |= __put_user(kinfo->si_fd, &uinfo->ssi_fd); err 96 fs/signalfd.c err |= __put_user((long) kinfo->si_addr, &uinfo->ssi_addr); err 98 fs/signalfd.c err |= __put_user(kinfo->si_trapno, &uinfo->ssi_trapno); err 102 fs/signalfd.c err |= __put_user(kinfo->si_pid, &uinfo->ssi_pid); err 103 fs/signalfd.c err |= __put_user(kinfo->si_uid, &uinfo->ssi_uid); err 104 fs/signalfd.c err |= __put_user(kinfo->si_status, &uinfo->ssi_status); err 105 fs/signalfd.c err |= __put_user(kinfo->si_utime, &uinfo->ssi_utime); err 106 fs/signalfd.c err |= __put_user(kinfo->si_stime, &uinfo->ssi_stime); err 110 fs/signalfd.c err |= __put_user(kinfo->si_pid, &uinfo->ssi_pid); err 111 fs/signalfd.c err |= __put_user(kinfo->si_uid, &uinfo->ssi_uid); err 112 fs/signalfd.c err |= __put_user((long) kinfo->si_ptr, &uinfo->ssi_ptr); err 118 fs/signalfd.c err |= __put_user(kinfo->si_pid, &uinfo->ssi_pid); err 119 fs/signalfd.c err |= __put_user(kinfo->si_uid, &uinfo->ssi_uid); err 120 fs/signalfd.c err |= __put_user((long) kinfo->si_ptr, &uinfo->ssi_ptr); err 121 fs/signalfd.c err |= __put_user(kinfo->si_int, &uinfo->ssi_int); err 125 fs/signalfd.c return err ? -EFAULT: sizeof(*uinfo); err 180 fs/smbfs/file.c int err; err 198 fs/smbfs/file.c err = smb_writepage_sync(inode, page, 0, offset); err 202 fs/smbfs/file.c return err; err 664 fs/smbfs/inode.c int err = smb_revalidate_inode(dentry); err 665 fs/smbfs/inode.c if (!err) err 667 fs/smbfs/inode.c return err; err 804 fs/smbfs/inode.c int err; err 807 fs/smbfs/inode.c err = init_inodecache(); err 808 fs/smbfs/inode.c if (err) err 810 fs/smbfs/inode.c err = smb_init_request_cache(); err 811 fs/smbfs/inode.c if (err) err 813 fs/smbfs/inode.c err = register_filesystem(&smb_fs_type); err 814 fs/smbfs/inode.c if (err) err 822 fs/smbfs/inode.c return err; err 70 fs/smbfs/smbiod.c int err = 0; err 79 fs/smbfs/smbiod.c err = PTR_ERR(tsk); err 84 fs/smbfs/smbiod.c if (err < 0) { err 91 fs/smbfs/smbiod.c return err; err 145 fs/smbfs/sock.c int avail, err; err 150 fs/smbfs/sock.c err = sock->ops->ioctl(sock, SIOCINQ, (unsigned long) &avail); err 152 fs/smbfs/sock.c return (err >= 0) ? avail : err; err 98 fs/splice.c int err; err 108 fs/splice.c err = -ENODATA; err 116 fs/splice.c err = -EIO; err 129 fs/splice.c return err; err 618 fs/splice.c int ret, do_wakeup, err; err 632 fs/splice.c err = actor(pipe, buf, sd); err 633 fs/splice.c if (err <= 0) { err 634 fs/splice.c if (!ret && err != -ENODATA) err 635 fs/splice.c ret = err; err 640 fs/splice.c ret += err; err 641 fs/splice.c buf->offset += err; err 642 fs/splice.c buf->len -= err; err 644 fs/splice.c sd->len -= err; err 645 fs/splice.c sd->pos += err; err 646 fs/splice.c sd->total_len -= err; err 773 fs/splice.c int err; err 775 fs/splice.c err = file_remove_suid(out); err 776 fs/splice.c if (unlikely(err)) err 777 fs/splice.c return err; err 791 fs/splice.c err = generic_osync_inode(inode, mapping, err 794 fs/splice.c if (err) err 795 fs/splice.c ret = err; err 848 fs/splice.c int err; err 851 fs/splice.c err = generic_osync_inode(inode, mapping, err 855 fs/splice.c if (err) err 856 fs/splice.c ret = err; err 340 fs/super.c int err; err 363 fs/super.c err = set(s, data); err 364 fs/super.c if (err) { err 367 fs/super.c return ERR_PTR(err); err 542 fs/super.c int err = -EINVAL; err 547 fs/super.c err = vfs_statfs(s->s_root, &sbuf); err 549 fs/super.c if (err) err 556 fs/super.c err = copy_to_user(ubuf,&tmp,sizeof(struct ustat)) ? -EFAULT : 0; err 558 fs/super.c return err; err 941 fs/super.c int err; err 945 fs/super.c err = -EINVAL; err 947 fs/super.c goto err; err 952 fs/super.c err = -ENOMEM; err 954 fs/super.c goto err; err 957 fs/super.c err: err 959 fs/super.c return ERR_PTR(err); err 59 fs/sync.c int ret, err; err 72 fs/sync.c err = sync_blockdev(sb->s_bdev); err 74 fs/sync.c ret = err; err 81 fs/sync.c int err; err 97 fs/sync.c err = file->f_op->fsync(file, file->f_path.dentry, datasync); err 99 fs/sync.c ret = err; err 101 fs/sync.c err = filemap_fdatawait(mapping); err 103 fs/sync.c ret = err; err 87 fs/sysfs/mount.c int err = -ENOMEM; err 95 fs/sysfs/mount.c err = sysfs_inode_init(); err 96 fs/sysfs/mount.c if (err) err 99 fs/sysfs/mount.c err = register_filesystem(&sysfs_fs_type); err 100 fs/sysfs/mount.c if (!err) { err 104 fs/sysfs/mount.c err = PTR_ERR(sysfs_mount); err 112 fs/sysfs/mount.c return err; err 45 fs/sysv/dir.c int err = 0; err 53 fs/sysv/dir.c err = write_one_page(page, 1); err 56 fs/sysv/dir.c return err; err 196 fs/sysv/dir.c int err; err 201 fs/sysv/dir.c err = PTR_ERR(page); err 210 fs/sysv/dir.c err = -EEXIST; err 224 fs/sysv/dir.c err = __sysv_write_begin(NULL, page->mapping, pos, SYSV_DIRSIZE, err 226 fs/sysv/dir.c if (err) err 231 fs/sysv/dir.c err = dir_commit_chunk(page, pos, SYSV_DIRSIZE); err 237 fs/sysv/dir.c return err; err 249 fs/sysv/dir.c int err; err 252 fs/sysv/dir.c err = __sysv_write_begin(NULL, mapping, pos, SYSV_DIRSIZE, err 254 fs/sysv/dir.c BUG_ON(err); err 256 fs/sysv/dir.c err = dir_commit_chunk(page, pos, SYSV_DIRSIZE); err 260 fs/sysv/dir.c return err; err 269 fs/sysv/dir.c int err; err 273 fs/sysv/dir.c err = __sysv_write_begin(NULL, mapping, 0, 2 * SYSV_DIRSIZE, err 275 fs/sysv/dir.c if (err) { err 292 fs/sysv/dir.c err = dir_commit_chunk(page, 0, 2 * SYSV_DIRSIZE); err 295 fs/sysv/dir.c return err; err 351 fs/sysv/dir.c int err; err 354 fs/sysv/dir.c err = __sysv_write_begin(NULL, mapping, pos, SYSV_DIRSIZE, err 356 fs/sysv/dir.c BUG_ON(err); err 358 fs/sysv/dir.c err = dir_commit_chunk(page, pos, SYSV_DIRSIZE); err 41 fs/sysv/file.c int err; err 43 fs/sysv/file.c err = sync_mapping_buffers(inode->i_mapping); err 45 fs/sysv/file.c return err; err 47 fs/sysv/file.c return err; err 49 fs/sysv/file.c err |= sysv_sync_inode(inode); err 50 fs/sysv/file.c return err ? -EIO : 0; err 284 fs/sysv/inode.c int err = 0; err 293 fs/sysv/inode.c err = -1; err 297 fs/sysv/inode.c err = -1; err 299 fs/sysv/inode.c return err; err 97 fs/sysv/itree.c *err = 0; err 116 fs/sysv/itree.c *err = -EAGAIN; err 119 fs/sysv/itree.c *err = -EIO; err 204 fs/sysv/itree.c int err = -EIO; err 217 fs/sysv/itree.c partial = get_branch(inode, depth, offsets, chain, &err); err 231 fs/sysv/itree.c if (!create || err == -EIO) { err 238 fs/sysv/itree.c return err; err 246 fs/sysv/itree.c if (err == -EAGAIN) err 250 fs/sysv/itree.c err = alloc_branch(inode, left, offsets+(partial-chain), partial); err 251 fs/sysv/itree.c if (err) err 283 fs/sysv/itree.c int k, err; err 290 fs/sysv/itree.c partial = get_branch(inode, k, offsets, chain, &err); err 20 fs/sysv/namei.c int err = sysv_add_link(dentry, inode); err 21 fs/sysv/namei.c if (!err) { err 27 fs/sysv/namei.c return err; err 67 fs/sysv/namei.c int err; err 73 fs/sysv/namei.c err = PTR_ERR(inode); err 78 fs/sysv/namei.c err = add_nondir(dentry, inode); err 80 fs/sysv/namei.c return err; err 91 fs/sysv/namei.c int err = -ENAMETOOLONG; err 99 fs/sysv/namei.c err = PTR_ERR(inode); err 104 fs/sysv/namei.c err = page_symlink(inode, symname, l); err 105 fs/sysv/namei.c if (err) err 109 fs/sysv/namei.c err = add_nondir(dentry, inode); err 111 fs/sysv/namei.c return err; err 137 fs/sysv/namei.c int err = -EMLINK; err 144 fs/sysv/namei.c err = PTR_ERR(inode); err 152 fs/sysv/namei.c err = sysv_make_empty(inode, dir); err 153 fs/sysv/namei.c if (err) err 156 fs/sysv/namei.c err = sysv_add_link(dentry, inode); err 157 fs/sysv/namei.c if (err) err 162 fs/sysv/namei.c return err; err 178 fs/sysv/namei.c int err = -ENOENT; err 184 fs/sysv/namei.c err = sysv_delete_entry (de, page); err 185 fs/sysv/namei.c if (err) err 191 fs/sysv/namei.c return err; err 197 fs/sysv/namei.c int err = -ENOTEMPTY; err 200 fs/sysv/namei.c err = sysv_unlink(dir, dentry); err 201 fs/sysv/namei.c if (!err) { err 207 fs/sysv/namei.c return err; err 223 fs/sysv/namei.c int err = -ENOENT; err 230 fs/sysv/namei.c err = -EIO; err 240 fs/sysv/namei.c err = -ENOTEMPTY; err 244 fs/sysv/namei.c err = -ENOENT; err 256 fs/sysv/namei.c err = -EMLINK; err 261 fs/sysv/namei.c err = sysv_add_link(new_dentry, old_inode); err 262 fs/sysv/namei.c if (err) { err 288 fs/sysv/namei.c return err; err 132 fs/ubifs/budget.c int err, lnum; err 143 fs/ubifs/budget.c err = ubifs_return_leb(c, lnum); err 144 fs/ubifs/budget.c if (err) err 145 fs/ubifs/budget.c return err; err 170 fs/ubifs/budget.c int err; err 212 fs/ubifs/budget.c err = run_gc(c); err 213 fs/ubifs/budget.c if (!err) err 216 fs/ubifs/budget.c if (err == -EAGAIN) { err 218 fs/ubifs/budget.c err = ubifs_run_commit(c); err 219 fs/ubifs/budget.c if (err) err 220 fs/ubifs/budget.c return err; err 224 fs/ubifs/budget.c if (err != -ENOSPC) err 225 fs/ubifs/budget.c return err; err 235 fs/ubifs/budget.c return err; err 244 fs/ubifs/budget.c err = ubifs_run_commit(c); err 245 fs/ubifs/budget.c if (err) err 246 fs/ubifs/budget.c return err; err 531 fs/ubifs/budget.c int err, idx_growth, data_growth, dd_growth; err 568 fs/ubifs/budget.c err = do_budget_space(c); err 569 fs/ubifs/budget.c if (likely(!err)) { err 585 fs/ubifs/budget.c return err; err 588 fs/ubifs/budget.c err = make_free_space(c, &ri); err 589 fs/ubifs/budget.c if (err == -EAGAIN) { err 593 fs/ubifs/budget.c } else if (err == -ENOSPC) { err 600 fs/ubifs/budget.c ubifs_err("cannot budget space, error %d", err); err 601 fs/ubifs/budget.c return err; err 60 fs/ubifs/commit.c int err, new_ltail_lnum, old_ltail_lnum, i; err 66 fs/ubifs/commit.c err = -EROFS; err 72 fs/ubifs/commit.c err = ubifs_wbuf_sync(&c->jheads[i].wbuf); err 73 fs/ubifs/commit.c if (err) err 78 fs/ubifs/commit.c err = ubifs_gc_start_commit(c); err 79 fs/ubifs/commit.c if (err) err 81 fs/ubifs/commit.c err = dbg_check_lprops(c); err 82 fs/ubifs/commit.c if (err) err 84 fs/ubifs/commit.c err = ubifs_log_start_commit(c, &new_ltail_lnum); err 85 fs/ubifs/commit.c if (err) err 87 fs/ubifs/commit.c err = ubifs_tnc_start_commit(c, &zroot); err 88 fs/ubifs/commit.c if (err) err 90 fs/ubifs/commit.c err = ubifs_lpt_start_commit(c); err 91 fs/ubifs/commit.c if (err) err 93 fs/ubifs/commit.c err = ubifs_orphan_start_commit(c); err 94 fs/ubifs/commit.c if (err) err 101 fs/ubifs/commit.c err = ubifs_tnc_end_commit(c); err 102 fs/ubifs/commit.c if (err) err 104 fs/ubifs/commit.c err = ubifs_lpt_end_commit(c); err 105 fs/ubifs/commit.c if (err) err 107 fs/ubifs/commit.c err = ubifs_orphan_end_commit(c); err 108 fs/ubifs/commit.c if (err) err 111 fs/ubifs/commit.c err = ubifs_log_end_commit(c, new_ltail_lnum); err 112 fs/ubifs/commit.c if (err) err 114 fs/ubifs/commit.c err = dbg_check_old_index(c, &zroot); err 115 fs/ubifs/commit.c if (err) err 147 fs/ubifs/commit.c err = ubifs_write_master(c); err 149 fs/ubifs/commit.c if (err) err 152 fs/ubifs/commit.c err = ubifs_log_post_commit(c, old_ltail_lnum); err 153 fs/ubifs/commit.c if (err) err 155 fs/ubifs/commit.c err = ubifs_gc_end_commit(c); err 156 fs/ubifs/commit.c if (err) err 158 fs/ubifs/commit.c err = ubifs_lpt_post_commit(c); err 159 fs/ubifs/commit.c if (err) err 173 fs/ubifs/commit.c ubifs_err("commit failed, error %d", err); err 178 fs/ubifs/commit.c ubifs_ro_mode(c, err); err 179 fs/ubifs/commit.c return err; err 234 fs/ubifs/commit.c int err; err 264 fs/ubifs/commit.c err = ubifs_bg_wbufs_sync(c); err 265 fs/ubifs/commit.c if (err) err 266 fs/ubifs/commit.c ubifs_ro_mode(c, err); err 358 fs/ubifs/commit.c int err = 0; err 362 fs/ubifs/commit.c err = -EINVAL; err 388 fs/ubifs/commit.c err = -EINVAL; err 403 fs/ubifs/commit.c err = do_commit(c); err 404 fs/ubifs/commit.c return err; err 410 fs/ubifs/commit.c return err; err 472 fs/ubifs/commit.c int lnum, offs, len, err = 0; err 484 fs/ubifs/commit.c err = ubifs_read_node(c, idx, UBIFS_IDX_NODE, len, lnum, offs); err 485 fs/ubifs/commit.c if (err) err 492 fs/ubifs/commit.c return err; err 510 fs/ubifs/commit.c int lnum, offs, len, err = 0, uninitialized_var(last_level), child_cnt; err 543 fs/ubifs/commit.c err = -ENOMEM; err 551 fs/ubifs/commit.c err = ubifs_read_node(c, idx, UBIFS_IDX_NODE, len, lnum, offs); err 552 fs/ubifs/commit.c if (err) err 557 fs/ubifs/commit.c err = 1; err 564 fs/ubifs/commit.c err = 2; err 568 fs/ubifs/commit.c err = 3; err 579 fs/ubifs/commit.c err = 3; err 587 fs/ubifs/commit.c err = 4; err 595 fs/ubifs/commit.c err = 5; err 599 fs/ubifs/commit.c err = 6; err 604 fs/ubifs/commit.c err = 7; err 650 fs/ubifs/commit.c err = dbg_old_index_check_init(c, zroot); err 651 fs/ubifs/commit.c if (err) err 672 fs/ubifs/commit.c ubifs_err("failed, error %d", err); err 673 fs/ubifs/commit.c if (err > 0) err 674 fs/ubifs/commit.c err = -EINVAL; err 675 fs/ubifs/commit.c return err; err 100 fs/ubifs/compress.c int err; err 112 fs/ubifs/compress.c err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, err 116 fs/ubifs/compress.c if (unlikely(err)) { err 119 fs/ubifs/compress.c in_len, compr->name, err); err 153 fs/ubifs/compress.c int err; err 176 fs/ubifs/compress.c err = crypto_comp_decompress(compr->cc, in_buf, in_len, out_buf, err 180 fs/ubifs/compress.c if (err) err 182 fs/ubifs/compress.c "error %d", in_len, compr->name, err); err 184 fs/ubifs/compress.c return err; err 228 fs/ubifs/compress.c int err; err 230 fs/ubifs/compress.c err = compr_init(&lzo_compr); err 231 fs/ubifs/compress.c if (err) err 232 fs/ubifs/compress.c return err; err 234 fs/ubifs/compress.c err = compr_init(&zlib_compr); err 235 fs/ubifs/compress.c if (err) err 243 fs/ubifs/compress.c return err; err 633 fs/ubifs/debug.c int lnum, err; err 642 fs/ubifs/debug.c err = ubifs_read_one_lp(c, lnum, &lp); err 643 fs/ubifs/debug.c if (err) err 804 fs/ubifs/debug.c int err = 0; err 820 fs/ubifs/debug.c err = -EINVAL; err 824 fs/ubifs/debug.c return err; err 856 fs/ubifs/debug.c int err; err 860 fs/ubifs/debug.c err = PTR_ERR(dent); err 861 fs/ubifs/debug.c if (err == -ENOENT) err 863 fs/ubifs/debug.c return err; err 911 fs/ubifs/debug.c int err, nlen1, nlen2, cmp; err 921 fs/ubifs/debug.c err = -ENOMEM; err 925 fs/ubifs/debug.c err = ubifs_tnc_read_node(c, zbr1, dent1); err 926 fs/ubifs/debug.c if (err) err 928 fs/ubifs/debug.c err = ubifs_validate_entry(c, dent1); err 929 fs/ubifs/debug.c if (err) err 932 fs/ubifs/debug.c err = ubifs_tnc_read_node(c, zbr2, dent2); err 933 fs/ubifs/debug.c if (err) err 935 fs/ubifs/debug.c err = ubifs_validate_entry(c, dent2); err 936 fs/ubifs/debug.c if (err) err 940 fs/ubifs/debug.c err = 1; err 966 fs/ubifs/debug.c err = 0; err 983 fs/ubifs/debug.c return err; err 998 fs/ubifs/debug.c int n, err, cmp; err 1001 fs/ubifs/debug.c err = 1; err 1005 fs/ubifs/debug.c err = 2; err 1009 fs/ubifs/debug.c err = 3; err 1016 fs/ubifs/debug.c err = 4; err 1036 fs/ubifs/debug.c err = 5; err 1046 fs/ubifs/debug.c err = 6; err 1051 fs/ubifs/debug.c err = ubifs_search_zbranch(c, zp, &zbr->key, &n); err 1052 fs/ubifs/debug.c if (!err) { err 1054 fs/ubifs/debug.c err = 7; err 1059 fs/ubifs/debug.c err = 8; err 1067 fs/ubifs/debug.c err = 9; err 1080 fs/ubifs/debug.c err = 10; err 1095 fs/ubifs/debug.c err = 11; err 1102 fs/ubifs/debug.c err = 12; err 1115 fs/ubifs/debug.c err = 13; err 1121 fs/ubifs/debug.c err = 14; err 1132 fs/ubifs/debug.c err = dbg_check_key_order(c, &znode->zbranch[n - 1], err 1134 fs/ubifs/debug.c if (err < 0) err 1135 fs/ubifs/debug.c return err; err 1136 fs/ubifs/debug.c if (err) { err 1137 fs/ubifs/debug.c err = 15; err 1147 fs/ubifs/debug.c err = 16; err 1153 fs/ubifs/debug.c err = 17; err 1159 fs/ubifs/debug.c err = 18; err 1165 fs/ubifs/debug.c err = 19; err 1171 fs/ubifs/debug.c err = 20; err 1179 fs/ubifs/debug.c ubifs_err("failed, error %d", err); err 1202 fs/ubifs/debug.c int err, last; err 1221 fs/ubifs/debug.c err = dbg_check_znode(c, zbr); err 1222 fs/ubifs/debug.c if (err) err 1223 fs/ubifs/debug.c return err; err 1245 fs/ubifs/debug.c err = dbg_check_key_order(c, &prev->zbranch[last], err 1247 fs/ubifs/debug.c if (err < 0) err 1248 fs/ubifs/debug.c return err; err 1249 fs/ubifs/debug.c if (err) { err 1295 fs/ubifs/debug.c int err; err 1304 fs/ubifs/debug.c err = PTR_ERR(c->zroot.znode); err 1322 fs/ubifs/debug.c err = PTR_ERR(child); err 1338 fs/ubifs/debug.c err = znode_cb(c, znode, priv); err 1339 fs/ubifs/debug.c if (err) { err 1341 fs/ubifs/debug.c "error %d", err); err 1349 fs/ubifs/debug.c err = leaf_cb(c, zbr, priv); err 1350 fs/ubifs/debug.c if (err) { err 1354 fs/ubifs/debug.c err, zbr->lnum, zbr->offs); err 1372 fs/ubifs/debug.c err = PTR_ERR(child); err 1392 fs/ubifs/debug.c err = PTR_ERR(child); err 1413 fs/ubifs/debug.c return err; err 1448 fs/ubifs/debug.c int err; err 1454 fs/ubifs/debug.c err = dbg_walk_index(c, NULL, add_size, &calc); err 1455 fs/ubifs/debug.c if (err) { err 1456 fs/ubifs/debug.c ubifs_err("error %d while walking the index", err); err 1457 fs/ubifs/debug.c return err; err 1612 fs/ubifs/debug.c int n, err; err 1624 fs/ubifs/debug.c err = ubifs_lookup_level0(c, &key, &znode, &n); err 1625 fs/ubifs/debug.c if (!err) { err 1628 fs/ubifs/debug.c } else if (err < 0) { err 1629 fs/ubifs/debug.c ubifs_err("error %d while looking up inode %lu", err, inum); err 1630 fs/ubifs/debug.c return ERR_PTR(err); err 1643 fs/ubifs/debug.c err = ubifs_tnc_read_node(c, zbr, ino); err 1644 fs/ubifs/debug.c if (err) { err 1646 fs/ubifs/debug.c zbr->lnum, zbr->offs, err); err 1648 fs/ubifs/debug.c return ERR_PTR(err); err 1684 fs/ubifs/debug.c int err, type = key_type(c, &zbr->key); err 1697 fs/ubifs/debug.c err = ubifs_tnc_read_node(c, zbr, node); err 1698 fs/ubifs/debug.c if (err) { err 1700 fs/ubifs/debug.c zbr->lnum, zbr->offs, err); err 1708 fs/ubifs/debug.c err = PTR_ERR(fscki); err 1709 fs/ubifs/debug.c ubifs_err("error %d while adding inode node", err); err 1719 fs/ubifs/debug.c err = -EINVAL; err 1727 fs/ubifs/debug.c err = -EINVAL; err 1742 fs/ubifs/debug.c err = PTR_ERR(fscki); err 1744 fs/ubifs/debug.c "trying to find inode node %lu", err, inum); err 1756 fs/ubifs/debug.c err = -EINVAL; err 1764 fs/ubifs/debug.c err = ubifs_validate_entry(c, dent); err 1765 fs/ubifs/debug.c if (err) err 1775 fs/ubifs/debug.c err = PTR_ERR(fscki); err 1777 fs/ubifs/debug.c "trying to find inode node %lu", err, inum); err 1787 fs/ubifs/debug.c err = PTR_ERR(fscki); err 1790 fs/ubifs/debug.c err, inum); err 1816 fs/ubifs/debug.c return err; err 1859 fs/ubifs/debug.c int n, err; err 1941 fs/ubifs/debug.c err = ubifs_lookup_level0(c, &key, &znode, &n); err 1942 fs/ubifs/debug.c if (!err) { err 1945 fs/ubifs/debug.c } else if (err < 0) { err 1947 fs/ubifs/debug.c err, fscki->inum); err 1948 fs/ubifs/debug.c return err; err 1956 fs/ubifs/debug.c err = ubifs_tnc_read_node(c, zbr, ino); err 1957 fs/ubifs/debug.c if (err) { err 1959 fs/ubifs/debug.c zbr->lnum, zbr->offs, err); err 1961 fs/ubifs/debug.c return err; err 1986 fs/ubifs/debug.c int err; err 1993 fs/ubifs/debug.c err = dbg_walk_index(c, check_leaf, NULL, &fsckd); err 1994 fs/ubifs/debug.c if (err) err 1997 fs/ubifs/debug.c err = check_inodes(c, &fsckd); err 1998 fs/ubifs/debug.c if (err) err 2005 fs/ubifs/debug.c ubifs_err("file-system check failed with error %d", err); err 2008 fs/ubifs/debug.c return err; err 2211 fs/ubifs/debug.c int err, failing; err 2218 fs/ubifs/debug.c err = ubi_leb_write(desc, lnum, buf, offset, len, dtype); err 2219 fs/ubifs/debug.c if (err) err 2220 fs/ubifs/debug.c return err; err 2229 fs/ubifs/debug.c int err; err 2233 fs/ubifs/debug.c err = ubi_leb_change(desc, lnum, buf, len, dtype); err 2234 fs/ubifs/debug.c if (err) err 2235 fs/ubifs/debug.c return err; err 2243 fs/ubifs/debug.c int err; err 2247 fs/ubifs/debug.c err = ubi_leb_erase(desc, lnum); err 2248 fs/ubifs/debug.c if (err) err 2249 fs/ubifs/debug.c return err; err 2257 fs/ubifs/debug.c int err; err 2261 fs/ubifs/debug.c err = ubi_leb_unmap(desc, lnum); err 2262 fs/ubifs/debug.c if (err) err 2263 fs/ubifs/debug.c return err; err 2278 fs/ubifs/debug.c int err; err 2282 fs/ubifs/debug.c err = ubi_leb_map(desc, lnum, dtype); err 2283 fs/ubifs/debug.c if (err) err 2284 fs/ubifs/debug.c return err; err 202 fs/ubifs/dir.c int err; err 220 fs/ubifs/dir.c err = ubifs_tnc_lookup_nm(c, &key, dent, &dentry->d_name); err 221 fs/ubifs/dir.c if (err) { err 222 fs/ubifs/dir.c if (err == -ENOENT) { err 230 fs/ubifs/dir.c err = -EINVAL; err 240 fs/ubifs/dir.c err = PTR_ERR(inode); err 242 fs/ubifs/dir.c dentry->d_name.len, dentry->d_name.name, err); err 243 fs/ubifs/dir.c ubifs_ro_mode(c, err); err 258 fs/ubifs/dir.c return ERR_PTR(err); err 266 fs/ubifs/dir.c int err, sz_change = CALC_DENT_SIZE(dentry->d_name.len); err 279 fs/ubifs/dir.c err = ubifs_budget_space(c, &req); err 280 fs/ubifs/dir.c if (err) err 281 fs/ubifs/dir.c return err; err 285 fs/ubifs/dir.c err = PTR_ERR(inode); err 293 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 0, 0); err 294 fs/ubifs/dir.c if (err) err 311 fs/ubifs/dir.c ubifs_err("cannot create regular file, error %d", err); err 312 fs/ubifs/dir.c return err; err 364 fs/ubifs/dir.c int err, over = 0; err 401 fs/ubifs/dir.c err = PTR_ERR(dent); err 420 fs/ubifs/dir.c err = PTR_ERR(dent); err 445 fs/ubifs/dir.c err = PTR_ERR(dent); err 456 fs/ubifs/dir.c if (err != -ENOENT) { err 457 fs/ubifs/dir.c ubifs_err("cannot find next direntry, error %d", err); err 458 fs/ubifs/dir.c return err; err 517 fs/ubifs/dir.c int err, sz_change = CALC_DENT_SIZE(dentry->d_name.len); err 529 fs/ubifs/dir.c err = dbg_check_synced_i_size(inode); err 530 fs/ubifs/dir.c if (err) err 531 fs/ubifs/dir.c return err; err 533 fs/ubifs/dir.c err = ubifs_budget_space(c, &req); err 534 fs/ubifs/dir.c if (err) err 535 fs/ubifs/dir.c return err; err 544 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 0, 0); err 545 fs/ubifs/dir.c if (err) err 560 fs/ubifs/dir.c return err; err 569 fs/ubifs/dir.c int err, budgeted = 1; err 582 fs/ubifs/dir.c err = dbg_check_synced_i_size(inode); err 583 fs/ubifs/dir.c if (err) err 584 fs/ubifs/dir.c return err; err 586 fs/ubifs/dir.c err = ubifs_budget_space(c, &req); err 587 fs/ubifs/dir.c if (err) { err 588 fs/ubifs/dir.c if (err != -ENOSPC) err 589 fs/ubifs/dir.c return err; err 599 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 1, 0); err 600 fs/ubifs/dir.c if (err) err 620 fs/ubifs/dir.c return err; err 637 fs/ubifs/dir.c int err; err 642 fs/ubifs/dir.c err = PTR_ERR(dent); err 643 fs/ubifs/dir.c if (err == -ENOENT) err 644 fs/ubifs/dir.c err = 0; err 647 fs/ubifs/dir.c err = -ENOTEMPTY; err 649 fs/ubifs/dir.c return err; err 657 fs/ubifs/dir.c int err, budgeted = 1; err 670 fs/ubifs/dir.c err = check_dir_empty(c, dentry->d_inode); err 671 fs/ubifs/dir.c if (err) err 672 fs/ubifs/dir.c return err; err 674 fs/ubifs/dir.c err = ubifs_budget_space(c, &req); err 675 fs/ubifs/dir.c if (err) { err 676 fs/ubifs/dir.c if (err != -ENOSPC) err 677 fs/ubifs/dir.c return err; err 688 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 1, 0); err 689 fs/ubifs/dir.c if (err) err 711 fs/ubifs/dir.c return err; err 719 fs/ubifs/dir.c int err, sz_change = CALC_DENT_SIZE(dentry->d_name.len); err 730 fs/ubifs/dir.c err = ubifs_budget_space(c, &req); err 731 fs/ubifs/dir.c if (err) err 732 fs/ubifs/dir.c return err; err 736 fs/ubifs/dir.c err = PTR_ERR(inode); err 747 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 0, 0); err 748 fs/ubifs/dir.c if (err) { err 749 fs/ubifs/dir.c ubifs_err("cannot create directory, error %d", err); err 767 fs/ubifs/dir.c return err; err 779 fs/ubifs/dir.c int err, devlen = 0; err 802 fs/ubifs/dir.c err = ubifs_budget_space(c, &req); err 803 fs/ubifs/dir.c if (err) { err 805 fs/ubifs/dir.c return err; err 811 fs/ubifs/dir.c err = PTR_ERR(inode); err 825 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 0, 0); err 826 fs/ubifs/dir.c if (err) err 843 fs/ubifs/dir.c return err; err 853 fs/ubifs/dir.c int err, len = strlen(symname); err 870 fs/ubifs/dir.c err = ubifs_budget_space(c, &req); err 871 fs/ubifs/dir.c if (err) err 872 fs/ubifs/dir.c return err; err 876 fs/ubifs/dir.c err = PTR_ERR(inode); err 883 fs/ubifs/dir.c err = -ENOMEM; err 901 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 0, 0); err 902 fs/ubifs/dir.c if (err) err 920 fs/ubifs/dir.c return err; err 998 fs/ubifs/dir.c int err, release, sync = 0, move = (new_dir != old_dir); err 1024 fs/ubifs/dir.c err = check_dir_empty(c, new_inode); err 1025 fs/ubifs/dir.c if (err) err 1026 fs/ubifs/dir.c return err; err 1029 fs/ubifs/dir.c err = ubifs_budget_space(c, &req); err 1030 fs/ubifs/dir.c if (err) err 1031 fs/ubifs/dir.c return err; err 1032 fs/ubifs/dir.c err = ubifs_budget_space(c, &ino_req); err 1033 fs/ubifs/dir.c if (err) { err 1035 fs/ubifs/dir.c return err; err 1107 fs/ubifs/dir.c err = ubifs_jnl_rename(c, old_dir, old_dentry, new_dir, new_dentry, err 1109 fs/ubifs/dir.c if (err) err 1123 fs/ubifs/dir.c err = old_inode->i_sb->s_op->write_inode(old_inode, 1); err 1124 fs/ubifs/dir.c return err; err 1150 fs/ubifs/dir.c return err; err 62 fs/ubifs/file.c int err, len, out_len; err 67 fs/ubifs/file.c err = ubifs_tnc_lookup(c, &key, dn); err 68 fs/ubifs/file.c if (err) { err 69 fs/ubifs/file.c if (err == -ENOENT) err 72 fs/ubifs/file.c return err; err 83 fs/ubifs/file.c err = ubifs_decompress(&dn->data, dlen, addr, &out_len, err 85 fs/ubifs/file.c if (err || len != out_len) err 108 fs/ubifs/file.c int err = 0, i; err 132 fs/ubifs/file.c err = -ENOMEM; err 142 fs/ubifs/file.c err = -ENOENT; err 147 fs/ubifs/file.c err = ret; err 148 fs/ubifs/file.c if (err != -ENOENT) err 157 fs/ubifs/file.c if (err) { err 158 fs/ubifs/file.c if (err == -ENOENT) { err 165 fs/ubifs/file.c page->index, inode->i_ino, err); err 184 fs/ubifs/file.c return err; err 222 fs/ubifs/file.c int uninitialized_var(err), appending = !!(pos + len > inode->i_size); err 240 fs/ubifs/file.c err = ubifs_budget_space(c, &req); err 241 fs/ubifs/file.c if (unlikely(err)) err 242 fs/ubifs/file.c return err; err 254 fs/ubifs/file.c err = do_readpage(page); err 255 fs/ubifs/file.c if (err) { err 258 fs/ubifs/file.c return err; err 425 fs/ubifs/file.c int uninitialized_var(err), appending = !!(pos + len > inode->i_size); err 451 fs/ubifs/file.c err = do_readpage(page); err 452 fs/ubifs/file.c if (err) { err 455 fs/ubifs/file.c return err; err 463 fs/ubifs/file.c err = allocate_budget(c, page, ui, appending); err 464 fs/ubifs/file.c if (unlikely(err)) { err 465 fs/ubifs/file.c ubifs_assert(err == -ENOSPC); err 589 fs/ubifs/file.c int err = 0, i, blen; err 611 fs/ubifs/file.c err = ubifs_jnl_write_data(c, inode, &key, addr, blen); err 612 fs/ubifs/file.c if (err) err 620 fs/ubifs/file.c if (err) { err 623 fs/ubifs/file.c page->index, inode->i_ino, err); err 624 fs/ubifs/file.c ubifs_ro_mode(c, err); err 640 fs/ubifs/file.c return err; err 691 fs/ubifs/file.c int err, len = i_size & (PAGE_CACHE_SIZE - 1); err 700 fs/ubifs/file.c err = 0; err 711 fs/ubifs/file.c err = inode->i_sb->s_op->write_inode(inode, 1); err 712 fs/ubifs/file.c if (err) err 739 fs/ubifs/file.c err = inode->i_sb->s_op->write_inode(inode, 1); err 740 fs/ubifs/file.c if (err) err 748 fs/ubifs/file.c return err; err 793 fs/ubifs/file.c int err; err 813 fs/ubifs/file.c err = ubifs_budget_space(c, &req); err 814 fs/ubifs/file.c if (err) { err 819 fs/ubifs/file.c if (new_size || err != -ENOSPC) err 820 fs/ubifs/file.c return err; err 824 fs/ubifs/file.c err = vmtruncate(inode, new_size); err 825 fs/ubifs/file.c if (err) err 849 fs/ubifs/file.c err = do_writepage(page, offset); err 851 fs/ubifs/file.c if (err) err 876 fs/ubifs/file.c err = ubifs_jnl_truncate(c, inode, old_size, new_size); err 885 fs/ubifs/file.c return err; err 901 fs/ubifs/file.c int err, release; err 907 fs/ubifs/file.c err = ubifs_budget_space(c, &req); err 908 fs/ubifs/file.c if (err) err 909 fs/ubifs/file.c return err; err 913 fs/ubifs/file.c err = vmtruncate(inode, new_size); err 914 fs/ubifs/file.c if (err) err 942 fs/ubifs/file.c err = inode->i_sb->s_op->write_inode(inode, 1); err 943 fs/ubifs/file.c return err; err 947 fs/ubifs/file.c return err; err 952 fs/ubifs/file.c int err; err 958 fs/ubifs/file.c err = inode_change_ok(inode, attr); err 959 fs/ubifs/file.c if (err) err 960 fs/ubifs/file.c return err; err 962 fs/ubifs/file.c err = dbg_check_synced_i_size(inode); err 963 fs/ubifs/file.c if (err) err 964 fs/ubifs/file.c return err; err 968 fs/ubifs/file.c err = do_truncation(c, inode, attr); err 970 fs/ubifs/file.c err = do_setattr(c, inode, attr); err 972 fs/ubifs/file.c return err; err 1007 fs/ubifs/file.c int err; err 1016 fs/ubifs/file.c err = inode->i_sb->s_op->write_inode(inode, 1); err 1017 fs/ubifs/file.c if (err) err 1018 fs/ubifs/file.c return err; err 1025 fs/ubifs/file.c err = ubifs_sync_wbufs_by_inode(c, inode); err 1026 fs/ubifs/file.c if (err) err 1027 fs/ubifs/file.c return err; err 1065 fs/ubifs/file.c int err, release; err 1069 fs/ubifs/file.c err = ubifs_budget_space(c, &req); err 1070 fs/ubifs/file.c if (err) err 1071 fs/ubifs/file.c return err; err 1088 fs/ubifs/file.c int err; err 1093 fs/ubifs/file.c err = update_mctime(c, inode); err 1094 fs/ubifs/file.c if (err) err 1095 fs/ubifs/file.c return err; err 1102 fs/ubifs/file.c err = ubifs_sync_wbufs_by_inode(c, inode); err 1103 fs/ubifs/file.c if (err) err 1104 fs/ubifs/file.c return err; err 1148 fs/ubifs/file.c int err, update_time; err 1183 fs/ubifs/file.c err = ubifs_budget_space(c, &req); err 1184 fs/ubifs/file.c if (unlikely(err)) { err 1185 fs/ubifs/file.c if (err == -ENOSPC) err 1188 fs/ubifs/file.c return err; err 1195 fs/ubifs/file.c err = -EINVAL; err 1228 fs/ubifs/file.c return err; err 1238 fs/ubifs/file.c int err; err 1241 fs/ubifs/file.c err = generic_file_mmap(file, vma); err 1242 fs/ubifs/file.c if (err) err 1243 fs/ubifs/file.c return err; err 143 fs/ubifs/find.c int err, i; err 181 fs/ubifs/find.c err = ubifs_lpt_scan_nolock(c, -1, c->lscan_lnum, err 184 fs/ubifs/find.c if (err) err 185 fs/ubifs/find.c return ERR_PTR(err); err 236 fs/ubifs/find.c int err = 0, sum, exclude_index = pick_free == 2 ? 1 : 0; err 326 fs/ubifs/find.c err = PTR_ERR(lp); err 339 fs/ubifs/find.c err = PTR_ERR(lp); err 347 fs/ubifs/find.c return err; err 414 fs/ubifs/find.c int err, i; err 460 fs/ubifs/find.c err = ubifs_lpt_scan_nolock(c, -1, c->lscan_lnum, err 463 fs/ubifs/find.c if (err) err 464 fs/ubifs/find.c return ERR_PTR(err); err 497 fs/ubifs/find.c int lebs, rsvd_idx_lebs, pick_free = 0, err, lnum, flags; err 542 fs/ubifs/find.c err = PTR_ERR(lprops); err 551 fs/ubifs/find.c err = PTR_ERR(lprops); err 571 fs/ubifs/find.c err = ubifs_leb_unmap(c, lnum); err 572 fs/ubifs/find.c if (err) err 573 fs/ubifs/find.c return err; err 587 fs/ubifs/find.c return err; err 637 fs/ubifs/find.c int err; err 640 fs/ubifs/find.c err = ubifs_lpt_scan_nolock(c, -1, c->lscan_lnum, err 643 fs/ubifs/find.c if (err) err 644 fs/ubifs/find.c return ERR_PTR(err); err 676 fs/ubifs/find.c int lnum = -1, err, flags; err 688 fs/ubifs/find.c err = PTR_ERR(lprops); err 696 fs/ubifs/find.c err = -ENOSPC; err 708 fs/ubifs/find.c err = PTR_ERR(lprops); err 719 fs/ubifs/find.c err = ubifs_leb_unmap(c, lnum); err 720 fs/ubifs/find.c if (err) { err 723 fs/ubifs/find.c return err; err 730 fs/ubifs/find.c return err; err 835 fs/ubifs/find.c int err, i, ret; err 859 fs/ubifs/find.c err = ubifs_lpt_scan_nolock(c, -1, c->lscan_lnum, err 862 fs/ubifs/find.c if (err) err 863 fs/ubifs/find.c return err; err 893 fs/ubifs/find.c int err, lnum; err 895 fs/ubifs/find.c err = ubifs_get_idx_gc_leb(c); err 896 fs/ubifs/find.c if (err < 0) err 897 fs/ubifs/find.c return err; err 898 fs/ubifs/find.c lnum = err; err 957 fs/ubifs/find.c int err; err 965 fs/ubifs/find.c err = find_dirtiest_idx_leb(c); err 968 fs/ubifs/find.c if (err == -ENOSPC) err 969 fs/ubifs/find.c err = find_dirty_idx_leb(c); err 972 fs/ubifs/find.c if (err == -ENOSPC) err 973 fs/ubifs/find.c err = get_idx_gc_leb(c); err 976 fs/ubifs/find.c return err; err 69 fs/ubifs/gc.c int err, gc_lnum = c->gc_lnum; err 77 fs/ubifs/gc.c err = ubifs_wbuf_sync_nolock(wbuf); err 78 fs/ubifs/gc.c if (err) err 79 fs/ubifs/gc.c return err; err 85 fs/ubifs/gc.c err = ubifs_leb_unmap(c, gc_lnum); err 86 fs/ubifs/gc.c if (err) err 87 fs/ubifs/gc.c return err; err 89 fs/ubifs/gc.c err = ubifs_add_bud_to_log(c, GCHD, gc_lnum, 0); err 90 fs/ubifs/gc.c if (err) err 91 fs/ubifs/gc.c return err; err 94 fs/ubifs/gc.c err = ubifs_wbuf_seek_nolock(wbuf, gc_lnum, 0, UBI_LONGTERM); err 95 fs/ubifs/gc.c return err; err 121 fs/ubifs/gc.c int avail, err, min = INT_MAX; err 134 fs/ubifs/gc.c err = ubifs_tnc_has_node(c, &snod->key, 0, sleb->lnum, err 136 fs/ubifs/gc.c if (err < 0) err 141 fs/ubifs/gc.c if (!err) { err 175 fs/ubifs/gc.c err = switch_gc_head(c); err 176 fs/ubifs/gc.c if (err) err 197 fs/ubifs/gc.c err = ubifs_wbuf_write_nolock(wbuf, snod->node, err 199 fs/ubifs/gc.c if (err) err 201 fs/ubifs/gc.c err = ubifs_tnc_replace(c, &snod->key, sleb->lnum, err 204 fs/ubifs/gc.c if (err) err 219 fs/ubifs/gc.c err = switch_gc_head(c); err 220 fs/ubifs/gc.c if (err) err 231 fs/ubifs/gc.c return err; err 249 fs/ubifs/gc.c int err, i; err 254 fs/ubifs/gc.c err = ubifs_wbuf_sync(&c->jheads[i].wbuf); err 255 fs/ubifs/gc.c if (err) err 256 fs/ubifs/gc.c return err; err 275 fs/ubifs/gc.c int err = 0, lnum = lp->lnum; err 304 fs/ubifs/gc.c err = ubifs_dirty_idx_node(c, &snod->key, level, lnum, err 306 fs/ubifs/gc.c if (err) err 312 fs/ubifs/gc.c err = -ENOMEM; err 326 fs/ubifs/gc.c err = ubifs_change_one_lp(c, lnum, c->leb_size, 0, 0, err 328 fs/ubifs/gc.c if (err) err 330 fs/ubifs/gc.c err = LEB_FREED_IDX; err 335 fs/ubifs/gc.c err = move_nodes(c, sleb); err 336 fs/ubifs/gc.c if (err) err 339 fs/ubifs/gc.c err = gc_sync_wbufs(c); err 340 fs/ubifs/gc.c if (err) err 343 fs/ubifs/gc.c err = ubifs_change_one_lp(c, lnum, c->leb_size, 0, 0, 0, 0); err 344 fs/ubifs/gc.c if (err) err 355 fs/ubifs/gc.c err = LEB_RETAINED; err 357 fs/ubifs/gc.c err = ubifs_wbuf_sync_nolock(wbuf); err 358 fs/ubifs/gc.c if (err) err 361 fs/ubifs/gc.c err = ubifs_leb_unmap(c, lnum); err 362 fs/ubifs/gc.c if (err) err 365 fs/ubifs/gc.c err = LEB_FREED; err 371 fs/ubifs/gc.c return err; err 420 fs/ubifs/gc.c int i, err, ret, min_space = c->dead_wm; err 536 fs/ubifs/gc.c err = ubifs_return_leb(c, lp.lnum); err 537 fs/ubifs/gc.c if (err) err 538 fs/ubifs/gc.c ret = err; err 610 fs/ubifs/gc.c err = ubifs_wbuf_sync_nolock(wbuf); err 611 fs/ubifs/gc.c if (!err) err 612 fs/ubifs/gc.c err = ubifs_leb_unmap(c, c->gc_lnum); err 613 fs/ubifs/gc.c if (err) { err 614 fs/ubifs/gc.c ret = err; err 646 fs/ubifs/gc.c int err = 0, flags; err 657 fs/ubifs/gc.c err = PTR_ERR(lp); err 664 fs/ubifs/gc.c err = ubifs_leb_unmap(c, lp->lnum); err 665 fs/ubifs/gc.c if (err) err 669 fs/ubifs/gc.c err = PTR_ERR(lp); err 684 fs/ubifs/gc.c err = PTR_ERR(lp); err 691 fs/ubifs/gc.c err = -ENOMEM; err 700 fs/ubifs/gc.c err = PTR_ERR(lp); err 712 fs/ubifs/gc.c return err; err 725 fs/ubifs/gc.c int err = 0; err 732 fs/ubifs/gc.c err = ubifs_leb_unmap(c, idx_gc->lnum); err 733 fs/ubifs/gc.c if (err) err 735 fs/ubifs/gc.c err = ubifs_change_one_lp(c, idx_gc->lnum, LPROPS_NC, err 737 fs/ubifs/gc.c if (err) err 744 fs/ubifs/gc.c return err; err 65 fs/ubifs/io.c ubifs_warn("switched to read-only mode, error %d", err); err 90 fs/ubifs/io.c int err = -EINVAL, type, node_len; err 102 fs/ubifs/io.c err = -EUCLEAN; err 130 fs/ubifs/io.c err = -EUCLEAN; err 145 fs/ubifs/io.c return err; err 333 fs/ubifs/io.c int err, dirt; err 350 fs/ubifs/io.c err = ubi_leb_write(c->ubi, wbuf->lnum, wbuf->buf, wbuf->offs, err 352 fs/ubifs/io.c if (err) { err 356 fs/ubifs/io.c return err; err 369 fs/ubifs/io.c err = wbuf->sync_callback(c, wbuf->lnum, err 371 fs/ubifs/io.c return err; err 397 fs/ubifs/io.c int err = ubifs_wbuf_sync_nolock(wbuf); err 399 fs/ubifs/io.c if (err) err 400 fs/ubifs/io.c return err; err 424 fs/ubifs/io.c int err, i; err 431 fs/ubifs/io.c err = -EROFS; err 454 fs/ubifs/io.c err = ubifs_wbuf_sync_nolock(wbuf); err 456 fs/ubifs/io.c if (err) { err 457 fs/ubifs/io.c ubifs_err("cannot sync write-buffer, error %d", err); err 458 fs/ubifs/io.c ubifs_ro_mode(c, err); err 474 fs/ubifs/io.c return err; err 495 fs/ubifs/io.c int err, written, n, aligned_len = ALIGN(len, 8), offs; err 507 fs/ubifs/io.c err = -ENOSPC; err 526 fs/ubifs/io.c err = ubi_leb_write(c->ubi, wbuf->lnum, wbuf->buf, err 529 fs/ubifs/io.c if (err) err 555 fs/ubifs/io.c err = ubi_leb_write(c->ubi, wbuf->lnum, wbuf->buf, wbuf->offs, err 557 fs/ubifs/io.c if (err) err 575 fs/ubifs/io.c err = ubi_leb_write(c->ubi, wbuf->lnum, buf + written, offs, n, err 577 fs/ubifs/io.c if (err) err 604 fs/ubifs/io.c err = wbuf->sync_callback(c, wbuf->lnum, free, 0); err 605 fs/ubifs/io.c if (err) err 616 fs/ubifs/io.c len, wbuf->lnum, wbuf->offs, err); err 620 fs/ubifs/io.c return err; err 641 fs/ubifs/io.c int err, buf_len = ALIGN(len, c->min_io_size); err 653 fs/ubifs/io.c err = ubi_leb_write(c->ubi, lnum, buf, offs, buf_len, dtype); err 654 fs/ubifs/io.c if (err) { err 656 fs/ubifs/io.c buf_len, lnum, offs, err); err 661 fs/ubifs/io.c return err; err 683 fs/ubifs/io.c int err, rlen, overlap; err 710 fs/ubifs/io.c err = ubi_read(c->ubi, lnum, buf, offs, rlen); err 711 fs/ubifs/io.c if (err && err != -EBADMSG) { err 713 fs/ubifs/io.c "error %d", type, lnum, offs, err); err 715 fs/ubifs/io.c return err; err 725 fs/ubifs/io.c err = ubifs_check_node(c, buf, lnum, offs, 0); err 726 fs/ubifs/io.c if (err) { err 728 fs/ubifs/io.c return err; err 762 fs/ubifs/io.c int err, l; err 771 fs/ubifs/io.c err = ubi_read(c->ubi, lnum, buf, offs, len); err 772 fs/ubifs/io.c if (err && err != -EBADMSG) { err 774 fs/ubifs/io.c type, lnum, offs, err); err 775 fs/ubifs/io.c return err; err 784 fs/ubifs/io.c err = ubifs_check_node(c, buf, lnum, offs, 0); err 785 fs/ubifs/io.c if (err) { err 787 fs/ubifs/io.c return err; err 900 fs/ubifs/io.c int i, err = 0; err 919 fs/ubifs/io.c err = ubifs_wbuf_sync_nolock(wbuf); err 922 fs/ubifs/io.c if (err) { err 923 fs/ubifs/io.c ubifs_ro_mode(c, err); err 924 fs/ubifs/io.c return err; err 105 fs/ubifs/ioctl.c int oldflags, err, release; err 111 fs/ubifs/ioctl.c err = ubifs_budget_space(c, &req); err 112 fs/ubifs/ioctl.c if (err) err 113 fs/ubifs/ioctl.c return err; err 123 fs/ubifs/ioctl.c err = -EPERM; err 138 fs/ubifs/ioctl.c err = write_inode_now(inode, 1); err 139 fs/ubifs/ioctl.c return err; err 145 fs/ubifs/ioctl.c return err; err 150 fs/ubifs/ioctl.c int flags, err; err 176 fs/ubifs/ioctl.c err = mnt_want_write(file->f_path.mnt); err 177 fs/ubifs/ioctl.c if (err) err 178 fs/ubifs/ioctl.c return err; err 179 fs/ubifs/ioctl.c err = setflags(inode, flags); err 181 fs/ubifs/ioctl.c return err; err 117 fs/ubifs/journal.c int err = 0, err1, retries = 0, avail, lnum, offs, free, squeeze; err 130 fs/ubifs/journal.c err = -EROFS; err 146 fs/ubifs/journal.c err = ubifs_add_bud_to_log(c, jhead, lnum, offs); err 147 fs/ubifs/journal.c if (err) err 153 fs/ubifs/journal.c err = lnum; err 154 fs/ubifs/journal.c if (err != -ENOSPC) err 167 fs/ubifs/journal.c err = lnum; err 168 fs/ubifs/journal.c if (err != -ENOSPC) err 169 fs/ubifs/journal.c return err; err 184 fs/ubifs/journal.c return err; err 199 fs/ubifs/journal.c err = ubifs_return_leb(c, lnum); err 200 fs/ubifs/journal.c if (err) err 205 fs/ubifs/journal.c err = ubifs_add_bud_to_log(c, jhead, lnum, 0); err 206 fs/ubifs/journal.c if (err) err 211 fs/ubifs/journal.c err = ubifs_wbuf_seek_nolock(wbuf, lnum, offs, UBI_SHORTTERM); err 212 fs/ubifs/journal.c if (err) err 219 fs/ubifs/journal.c return err; err 223 fs/ubifs/journal.c ubifs_assert(err < 0); err 225 fs/ubifs/journal.c if (err1 && err == -EAGAIN) err 231 fs/ubifs/journal.c err = err1; err 233 fs/ubifs/journal.c return err; err 282 fs/ubifs/journal.c int err; err 291 fs/ubifs/journal.c err = ubifs_wbuf_write_nolock(wbuf, buf, len); err 292 fs/ubifs/journal.c if (err) err 293 fs/ubifs/journal.c return err; err 295 fs/ubifs/journal.c err = ubifs_wbuf_sync_nolock(wbuf); err 296 fs/ubifs/journal.c return err; err 317 fs/ubifs/journal.c int err, cmt_retries = 0, nospc_retries = 0; err 321 fs/ubifs/journal.c err = reserve_space(c, jhead, len); err 322 fs/ubifs/journal.c if (!err) err 326 fs/ubifs/journal.c if (err == -ENOSPC) { err 335 fs/ubifs/journal.c err = -EAGAIN; err 346 fs/ubifs/journal.c if (err != -EAGAIN) err 359 fs/ubifs/journal.c err = -ENOSPC; err 369 fs/ubifs/journal.c err = ubifs_run_commit(c); err 370 fs/ubifs/journal.c if (err) err 371 fs/ubifs/journal.c return err; err 376 fs/ubifs/journal.c len, jhead, err); err 377 fs/ubifs/journal.c if (err == -ENOSPC) { err 388 fs/ubifs/journal.c return err; err 539 fs/ubifs/journal.c int err, dlen, ilen, len, lnum, ino_offs, dent_offs; err 575 fs/ubifs/journal.c err = make_reservation(c, BASEHD, len); err 576 fs/ubifs/journal.c if (err) err 602 fs/ubifs/journal.c err = ubifs_add_orphan(c, inode->i_ino); err 603 fs/ubifs/journal.c if (err) { err 610 fs/ubifs/journal.c err = write_head(c, BASEHD, dent, len, &lnum, &dent_offs, sync); err 611 fs/ubifs/journal.c if (err) err 623 fs/ubifs/journal.c err = ubifs_tnc_remove_nm(c, &dent_key, nm); err 624 fs/ubifs/journal.c if (err) err 626 fs/ubifs/journal.c err = ubifs_add_dirt(c, lnum, dlen); err 628 fs/ubifs/journal.c err = ubifs_tnc_add_nm(c, &dent_key, lnum, dent_offs, dlen, nm); err 629 fs/ubifs/journal.c if (err) err 640 fs/ubifs/journal.c err = ubifs_tnc_add(c, &ino_key, lnum, ino_offs, ilen); err 641 fs/ubifs/journal.c if (err) err 646 fs/ubifs/journal.c err = ubifs_tnc_add(c, &ino_key, lnum, ino_offs, UBIFS_INO_NODE_SZ); err 647 fs/ubifs/journal.c if (err) err 662 fs/ubifs/journal.c return err; err 667 fs/ubifs/journal.c ubifs_ro_mode(c, err); err 671 fs/ubifs/journal.c return err; err 689 fs/ubifs/journal.c int err, lnum, offs, compr_type, out_len; err 720 fs/ubifs/journal.c err = make_reservation(c, DATAHD, dlen); err 721 fs/ubifs/journal.c if (err) err 724 fs/ubifs/journal.c err = write_node(c, DATAHD, data, dlen, &lnum, &offs); err 725 fs/ubifs/journal.c if (err) err 730 fs/ubifs/journal.c err = ubifs_tnc_add(c, key, lnum, offs, dlen); err 731 fs/ubifs/journal.c if (err) err 741 fs/ubifs/journal.c ubifs_ro_mode(c, err); err 745 fs/ubifs/journal.c return err; err 759 fs/ubifs/journal.c int err, lnum, offs; err 779 fs/ubifs/journal.c err = make_reservation(c, BASEHD, len); err 780 fs/ubifs/journal.c if (err) err 784 fs/ubifs/journal.c err = write_head(c, BASEHD, ino, len, &lnum, &offs, sync); err 785 fs/ubifs/journal.c if (err) err 793 fs/ubifs/journal.c err = ubifs_tnc_remove_ino(c, inode->i_ino); err 794 fs/ubifs/journal.c if (err) err 797 fs/ubifs/journal.c err = ubifs_add_dirt(c, lnum, len); err 802 fs/ubifs/journal.c err = ubifs_tnc_add(c, &key, lnum, offs, len); err 804 fs/ubifs/journal.c if (err) err 817 fs/ubifs/journal.c ubifs_ro_mode(c, err); err 821 fs/ubifs/journal.c return err; err 855 fs/ubifs/journal.c int err; err 874 fs/ubifs/journal.c err = ubifs_tnc_remove_ino(c, inode->i_ino); err 875 fs/ubifs/journal.c if (err) err 876 fs/ubifs/journal.c ubifs_ro_mode(c, err); err 880 fs/ubifs/journal.c return err; err 905 fs/ubifs/journal.c int err, dlen1, dlen2, ilen, lnum, offs, len; err 943 fs/ubifs/journal.c err = make_reservation(c, BASEHD, len); err 944 fs/ubifs/journal.c if (err) err 986 fs/ubifs/journal.c err = ubifs_add_orphan(c, new_inode->i_ino); err 987 fs/ubifs/journal.c if (err) { err 994 fs/ubifs/journal.c err = write_head(c, BASEHD, dent, len, &lnum, &offs, sync); err 995 fs/ubifs/journal.c if (err) err 1009 fs/ubifs/journal.c err = ubifs_tnc_add_nm(c, &key, lnum, offs, dlen1, &new_dentry->d_name); err 1010 fs/ubifs/journal.c if (err) err 1013 fs/ubifs/journal.c err = ubifs_add_dirt(c, lnum, dlen2); err 1014 fs/ubifs/journal.c if (err) err 1018 fs/ubifs/journal.c err = ubifs_tnc_remove_nm(c, &key, &old_dentry->d_name); err 1019 fs/ubifs/journal.c if (err) err 1025 fs/ubifs/journal.c err = ubifs_tnc_add(c, &key, lnum, offs, ilen); err 1026 fs/ubifs/journal.c if (err) err 1032 fs/ubifs/journal.c err = ubifs_tnc_add(c, &key, lnum, offs, plen); err 1033 fs/ubifs/journal.c if (err) err 1039 fs/ubifs/journal.c err = ubifs_tnc_add(c, &key, lnum, offs, plen); err 1040 fs/ubifs/journal.c if (err) err 1060 fs/ubifs/journal.c ubifs_ro_mode(c, err); err 1067 fs/ubifs/journal.c return err; err 1081 fs/ubifs/journal.c int err, len, compr_type, out_len; err 1090 fs/ubifs/journal.c err = ubifs_decompress(&dn->data, len, buf, &out_len, compr_type); err 1091 fs/ubifs/journal.c if (err) err 1101 fs/ubifs/journal.c return err; err 1126 fs/ubifs/journal.c int err, dlen, len, lnum, offs, bit, sz, sync = IS_SYNC(inode); err 1156 fs/ubifs/journal.c err = ubifs_tnc_lookup(c, &key, dn); err 1157 fs/ubifs/journal.c if (err == -ENOENT) err 1159 fs/ubifs/journal.c else if (err) err 1168 fs/ubifs/journal.c err = recomp_data_node(dn, &dlen); err 1169 fs/ubifs/journal.c if (err) err 1184 fs/ubifs/journal.c err = make_reservation(c, BASEHD, len); err 1185 fs/ubifs/journal.c if (err) err 1193 fs/ubifs/journal.c err = write_head(c, BASEHD, ino, len, &lnum, &offs, sync); err 1194 fs/ubifs/journal.c if (err) err 1202 fs/ubifs/journal.c err = ubifs_tnc_add(c, &key, lnum, sz, dlen); err 1203 fs/ubifs/journal.c if (err) err 1208 fs/ubifs/journal.c err = ubifs_tnc_add(c, &key, lnum, offs, UBIFS_INO_NODE_SZ); err 1209 fs/ubifs/journal.c if (err) err 1212 fs/ubifs/journal.c err = ubifs_add_dirt(c, lnum, UBIFS_TRUN_NODE_SZ); err 1213 fs/ubifs/journal.c if (err) err 1224 fs/ubifs/journal.c err = ubifs_tnc_remove_range(c, &key, &to_key); err 1225 fs/ubifs/journal.c if (err) err 1239 fs/ubifs/journal.c ubifs_ro_mode(c, err); err 1243 fs/ubifs/journal.c return err; err 1263 fs/ubifs/journal.c int err, xlen, hlen, len, lnum, xent_offs, aligned_xlen; err 1290 fs/ubifs/journal.c err = make_reservation(c, BASEHD, len); err 1291 fs/ubifs/journal.c if (err) { err 1293 fs/ubifs/journal.c return err; err 1312 fs/ubifs/journal.c err = write_head(c, BASEHD, xent, len, &lnum, &xent_offs, sync); err 1313 fs/ubifs/journal.c if (!sync && !err) err 1317 fs/ubifs/journal.c if (err) err 1321 fs/ubifs/journal.c err = ubifs_tnc_remove_nm(c, &xent_key, nm); err 1322 fs/ubifs/journal.c if (err) err 1324 fs/ubifs/journal.c err = ubifs_add_dirt(c, lnum, xlen); err 1325 fs/ubifs/journal.c if (err) err 1334 fs/ubifs/journal.c err = ubifs_tnc_remove_range(c, &key1, &key2); err 1335 fs/ubifs/journal.c if (err) err 1337 fs/ubifs/journal.c err = ubifs_add_dirt(c, lnum, UBIFS_INO_NODE_SZ); err 1338 fs/ubifs/journal.c if (err) err 1343 fs/ubifs/journal.c err = ubifs_tnc_add(c, &key1, lnum, xent_offs + len - hlen, hlen); err 1344 fs/ubifs/journal.c if (err) err 1355 fs/ubifs/journal.c ubifs_ro_mode(c, err); err 1357 fs/ubifs/journal.c return err; err 1376 fs/ubifs/journal.c int err, len1, len2, aligned_len, aligned_len1, lnum, offs; err 1397 fs/ubifs/journal.c err = make_reservation(c, BASEHD, aligned_len); err 1398 fs/ubifs/journal.c if (err) err 1404 fs/ubifs/journal.c err = write_head(c, BASEHD, ino, aligned_len, &lnum, &offs, 0); err 1405 fs/ubifs/journal.c if (!sync && !err) { err 1412 fs/ubifs/journal.c if (err) err 1416 fs/ubifs/journal.c err = ubifs_tnc_add(c, &key, lnum, offs, len1); err 1417 fs/ubifs/journal.c if (err) err 1421 fs/ubifs/journal.c err = ubifs_tnc_add(c, &key, lnum, offs + aligned_len1, len2); err 1422 fs/ubifs/journal.c if (err) err 1434 fs/ubifs/journal.c ubifs_ro_mode(c, err); err 1438 fs/ubifs/journal.c return err; err 212 fs/ubifs/log.c int err; err 228 fs/ubifs/log.c err = -EROFS; err 237 fs/ubifs/log.c err = -EAGAIN; err 254 fs/ubifs/log.c err = -EAGAIN; err 286 fs/ubifs/log.c err = ubifs_leb_unmap(c, c->lhead_lnum); err 287 fs/ubifs/log.c if (err) err 299 fs/ubifs/log.c err = ubi_leb_map(c->ubi, bud->lnum, UBI_SHORTTERM); err 300 fs/ubifs/log.c if (err) err 306 fs/ubifs/log.c err = ubifs_write_node(c, ref, UBIFS_REF_NODE_SZ, c->lhead_lnum, err 308 fs/ubifs/log.c if (err) err 320 fs/ubifs/log.c if (err != -EAGAIN) err 321 fs/ubifs/log.c ubifs_ro_mode(c, err); err 325 fs/ubifs/log.c return err; err 402 fs/ubifs/log.c int err, i, max_len, len; err 404 fs/ubifs/log.c err = dbg_check_bud_bytes(c); err 405 fs/ubifs/log.c if (err) err 406 fs/ubifs/log.c return err; err 454 fs/ubifs/log.c err = ubifs_leb_unmap(c, c->lhead_lnum); err 455 fs/ubifs/log.c if (err) err 461 fs/ubifs/log.c err = ubifs_leb_write(c, c->lhead_lnum, cs, 0, len, UBI_SHORTTERM); err 462 fs/ubifs/log.c if (err) err 483 fs/ubifs/log.c return err; err 498 fs/ubifs/log.c int err; err 521 fs/ubifs/log.c err = dbg_check_bud_bytes(c); err 524 fs/ubifs/log.c return err; err 542 fs/ubifs/log.c int lnum, err = 0; err 548 fs/ubifs/log.c err = ubifs_return_leb(c, bud->lnum); err 549 fs/ubifs/log.c if (err) err 550 fs/ubifs/log.c return err; err 558 fs/ubifs/log.c err = ubifs_leb_unmap(c, lnum); err 559 fs/ubifs/log.c if (err) err 564 fs/ubifs/log.c return err; err 659 fs/ubifs/log.c int sz = ALIGN(*offs, c->min_io_size), err; err 662 fs/ubifs/log.c err = ubifs_leb_change(c, *lnum, buf, sz, UBI_SHORTTERM); err 663 fs/ubifs/log.c if (err) err 664 fs/ubifs/log.c return err; err 688 fs/ubifs/log.c int lnum, err, first = 1, write_lnum, offs = 0; err 701 fs/ubifs/log.c err = PTR_ERR(sleb); err 710 fs/ubifs/log.c err = done_already(&done_tree, ref_lnum); err 711 fs/ubifs/log.c if (err < 0) err 713 fs/ubifs/log.c if (err != 1) { err 714 fs/ubifs/log.c err = add_node(c, buf, &write_lnum, err 716 fs/ubifs/log.c if (err) err 724 fs/ubifs/log.c err = add_node(c, buf, &write_lnum, &offs, err 726 fs/ubifs/log.c if (err) err 741 fs/ubifs/log.c err = ubifs_leb_change(c, write_lnum, buf, sz, UBI_SHORTTERM); err 742 fs/ubifs/log.c if (err) err 756 fs/ubifs/log.c err = ubifs_leb_unmap(c, lnum); err 757 fs/ubifs/log.c if (err) err 758 fs/ubifs/log.c return err; err 770 fs/ubifs/log.c return err; err 785 fs/ubifs/log.c int i, err = 0; err 800 fs/ubifs/log.c err = -EINVAL; err 804 fs/ubifs/log.c return err; err 694 fs/ubifs/lprops.c int err = 0, flags; err 701 fs/ubifs/lprops.c err = PTR_ERR(lp); err 708 fs/ubifs/lprops.c err = PTR_ERR(lp); err 712 fs/ubifs/lprops.c return err; err 730 fs/ubifs/lprops.c int err = 0, flags; err 737 fs/ubifs/lprops.c err = PTR_ERR(lp); err 744 fs/ubifs/lprops.c err = PTR_ERR(lp); err 748 fs/ubifs/lprops.c return err; err 763 fs/ubifs/lprops.c int err = 0; err 770 fs/ubifs/lprops.c err = PTR_ERR(lpp); err 778 fs/ubifs/lprops.c return err; err 985 fs/ubifs/lprops.c int i = 0, j, err = 0; err 996 fs/ubifs/lprops.c err = 1; err 1000 fs/ubifs/lprops.c err = 2; err 1005 fs/ubifs/lprops.c err = 3; err 1012 fs/ubifs/lprops.c err = 4; err 1018 fs/ubifs/lprops.c err = 5; err 1022 fs/ubifs/lprops.c err = 6; err 1028 fs/ubifs/lprops.c if (err) { err 1029 fs/ubifs/lprops.c dbg_msg("failed cat %d hpos %d err %d", cat, i, err); err 1042 fs/ubifs/lprops.c int err; err 1146 fs/ubifs/lprops.c data->err = PTR_ERR(sleb); err 1276 fs/ubifs/lprops.c data->err = -EINVAL; err 1293 fs/ubifs/lprops.c int i, err; err 1305 fs/ubifs/lprops.c err = ubifs_wbuf_sync(&c->jheads[i].wbuf); err 1306 fs/ubifs/lprops.c if (err) err 1307 fs/ubifs/lprops.c return err; err 1312 fs/ubifs/lprops.c data.err = 0; err 1313 fs/ubifs/lprops.c err = ubifs_lpt_scan_nolock(c, c->main_first, c->leb_cnt - 1, err 1316 fs/ubifs/lprops.c if (err && err != -ENOSPC) err 1318 fs/ubifs/lprops.c if (data.err) { err 1319 fs/ubifs/lprops.c err = data.err; err 1337 fs/ubifs/lprops.c err = -EINVAL; err 1348 fs/ubifs/lprops.c err = -EINVAL; err 1352 fs/ubifs/lprops.c err = dbg_check_cats(c); err 1354 fs/ubifs/lprops.c return err; err 582 fs/ubifs/lpt.c int lnum, err = 0, node_sz, iopos, i, j, cnt, len, alen, row; err 590 fs/ubifs/lpt.c err = calc_dflt_lpt_geom(c, main_lebs, big_lpt); err 591 fs/ubifs/lpt.c if (err) err 592 fs/ubifs/lpt.c return err; err 608 fs/ubifs/lpt.c err = -ENOMEM; err 675 fs/ubifs/lpt.c err = ubi_leb_change(c->ubi, lnum++, buf, alen, err 677 fs/ubifs/lpt.c if (err) err 706 fs/ubifs/lpt.c err = ubi_leb_change(c->ubi, lnum++, buf, alen, err 708 fs/ubifs/lpt.c if (err) err 754 fs/ubifs/lpt.c err = ubi_leb_change(c->ubi, lnum++, buf, alen, err 756 fs/ubifs/lpt.c if (err) err 780 fs/ubifs/lpt.c err = ubi_leb_change(c->ubi, lnum++, buf, alen, UBI_SHORTTERM); err 781 fs/ubifs/lpt.c if (err) err 800 fs/ubifs/lpt.c err = ubi_leb_change(c->ubi, lnum, buf, alen, UBI_SHORTTERM); err 801 fs/ubifs/lpt.c if (err) err 832 fs/ubifs/lpt.c return err; err 941 fs/ubifs/lpt.c int i, pos = 0, err; err 943 fs/ubifs/lpt.c err = check_lpt_type(&addr, &pos, UBIFS_LPT_PNODE); err 944 fs/ubifs/lpt.c if (err) err 945 fs/ubifs/lpt.c return err; err 962 fs/ubifs/lpt.c err = check_lpt_crc(buf, c->pnode_sz); err 963 fs/ubifs/lpt.c return err; err 978 fs/ubifs/lpt.c int i, pos = 0, err; err 980 fs/ubifs/lpt.c err = check_lpt_type(&addr, &pos, UBIFS_LPT_NNODE); err 981 fs/ubifs/lpt.c if (err) err 982 fs/ubifs/lpt.c return err; err 996 fs/ubifs/lpt.c err = check_lpt_crc(buf, c->nnode_sz); err 997 fs/ubifs/lpt.c return err; err 1010 fs/ubifs/lpt.c int i, pos = 0, err; err 1012 fs/ubifs/lpt.c err = check_lpt_type(&addr, &pos, UBIFS_LPT_LTAB); err 1013 fs/ubifs/lpt.c if (err) err 1014 fs/ubifs/lpt.c return err; err 1028 fs/ubifs/lpt.c err = check_lpt_crc(buf, c->ltab_sz); err 1029 fs/ubifs/lpt.c return err; err 1042 fs/ubifs/lpt.c int i, pos = 0, err; err 1044 fs/ubifs/lpt.c err = check_lpt_type(&addr, &pos, UBIFS_LPT_LSAVE); err 1045 fs/ubifs/lpt.c if (err) err 1046 fs/ubifs/lpt.c return err; err 1054 fs/ubifs/lpt.c err = check_lpt_crc(buf, c->lsave_sz); err 1055 fs/ubifs/lpt.c return err; err 1170 fs/ubifs/lpt.c int err, lnum, offs; err 1182 fs/ubifs/lpt.c err = -ENOMEM; err 1195 fs/ubifs/lpt.c err = ubi_read(c->ubi, lnum, buf, offs, c->nnode_sz); err 1196 fs/ubifs/lpt.c if (err) err 1198 fs/ubifs/lpt.c err = unpack_nnode(c, buf, nnode); err 1199 fs/ubifs/lpt.c if (err) err 1202 fs/ubifs/lpt.c err = validate_nnode(c, nnode, parent, iip); err 1203 fs/ubifs/lpt.c if (err) err 1219 fs/ubifs/lpt.c ubifs_err("error %d reading nnode at %d:%d", err, lnum, offs); err 1221 fs/ubifs/lpt.c return err; err 1237 fs/ubifs/lpt.c int err, lnum, offs; err 1244 fs/ubifs/lpt.c err = -ENOMEM; err 1264 fs/ubifs/lpt.c err = ubi_read(c->ubi, lnum, buf, offs, c->pnode_sz); err 1265 fs/ubifs/lpt.c if (err) err 1267 fs/ubifs/lpt.c err = unpack_pnode(c, buf, pnode); err 1268 fs/ubifs/lpt.c if (err) err 1271 fs/ubifs/lpt.c err = validate_pnode(c, pnode, parent, iip); err 1272 fs/ubifs/lpt.c if (err) err 1284 fs/ubifs/lpt.c ubifs_err("error %d reading pnode at %d:%d", err, lnum, offs); err 1288 fs/ubifs/lpt.c return err; err 1299 fs/ubifs/lpt.c int err; err 1305 fs/ubifs/lpt.c err = ubi_read(c->ubi, c->ltab_lnum, buf, c->ltab_offs, c->ltab_sz); err 1306 fs/ubifs/lpt.c if (err) err 1308 fs/ubifs/lpt.c err = unpack_ltab(c, buf); err 1311 fs/ubifs/lpt.c return err; err 1322 fs/ubifs/lpt.c int err, i; err 1328 fs/ubifs/lpt.c err = ubi_read(c->ubi, c->lsave_lnum, buf, c->lsave_offs, c->lsave_sz); err 1329 fs/ubifs/lpt.c if (err) err 1331 fs/ubifs/lpt.c err = unpack_lsave(c, buf); err 1332 fs/ubifs/lpt.c if (err) err 1347 fs/ubifs/lpt.c return err; err 1364 fs/ubifs/lpt.c int err; err 1370 fs/ubifs/lpt.c err = ubifs_read_nnode(c, parent, iip); err 1371 fs/ubifs/lpt.c if (err) err 1372 fs/ubifs/lpt.c return ERR_PTR(err); err 1390 fs/ubifs/lpt.c int err; err 1396 fs/ubifs/lpt.c err = read_pnode(c, parent, iip); err 1397 fs/ubifs/lpt.c if (err) err 1398 fs/ubifs/lpt.c return ERR_PTR(err); err 1413 fs/ubifs/lpt.c int err, i, h, iip, shft; err 1418 fs/ubifs/lpt.c err = ubifs_read_nnode(c, NULL, 0); err 1419 fs/ubifs/lpt.c if (err) err 1420 fs/ubifs/lpt.c return ERR_PTR(err); err 1547 fs/ubifs/lpt.c int err, i, h, iip, shft; err 1552 fs/ubifs/lpt.c err = ubifs_read_nnode(c, NULL, 0); err 1553 fs/ubifs/lpt.c if (err) err 1554 fs/ubifs/lpt.c return ERR_PTR(err); err 1596 fs/ubifs/lpt.c int err, i; err 1622 fs/ubifs/lpt.c err = read_ltab(c); err 1623 fs/ubifs/lpt.c if (err) err 1624 fs/ubifs/lpt.c return err; err 1658 fs/ubifs/lpt.c int err, i; err 1672 fs/ubifs/lpt.c err = read_lsave(c); err 1673 fs/ubifs/lpt.c if (err) err 1674 fs/ubifs/lpt.c return err; err 1679 fs/ubifs/lpt.c err = ubifs_leb_unmap(c, i + c->lpt_first); err 1680 fs/ubifs/lpt.c if (err) err 1681 fs/ubifs/lpt.c return err; err 1701 fs/ubifs/lpt.c int err; err 1704 fs/ubifs/lpt.c err = lpt_init_rd(c); err 1705 fs/ubifs/lpt.c if (err) err 1706 fs/ubifs/lpt.c return err; err 1710 fs/ubifs/lpt.c err = lpt_init_wr(c); err 1711 fs/ubifs/lpt.c if (err) err 1712 fs/ubifs/lpt.c return err; err 1760 fs/ubifs/lpt.c int err; err 1783 fs/ubifs/lpt.c err = ubi_read(c->ubi, branch->lnum, buf, branch->offs, err 1785 fs/ubifs/lpt.c if (err) err 1786 fs/ubifs/lpt.c return ERR_PTR(err); err 1787 fs/ubifs/lpt.c err = unpack_nnode(c, buf, nnode); err 1788 fs/ubifs/lpt.c if (err) err 1789 fs/ubifs/lpt.c return ERR_PTR(err); err 1791 fs/ubifs/lpt.c err = validate_nnode(c, nnode, parent, iip); err 1792 fs/ubifs/lpt.c if (err) err 1793 fs/ubifs/lpt.c return ERR_PTR(err); err 1819 fs/ubifs/lpt.c int err; err 1852 fs/ubifs/lpt.c err = ubi_read(c->ubi, branch->lnum, buf, branch->offs, err 1854 fs/ubifs/lpt.c if (err) err 1855 fs/ubifs/lpt.c return ERR_PTR(err); err 1856 fs/ubifs/lpt.c err = unpack_pnode(c, buf, pnode); err 1857 fs/ubifs/lpt.c if (err) err 1858 fs/ubifs/lpt.c return ERR_PTR(err); err 1860 fs/ubifs/lpt.c err = validate_pnode(c, pnode, parent, iip); err 1861 fs/ubifs/lpt.c if (err) err 1862 fs/ubifs/lpt.c return ERR_PTR(err); err 1884 fs/ubifs/lpt.c int err = 0, i, h, iip, shft; err 1899 fs/ubifs/lpt.c err = ubifs_read_nnode(c, NULL, 0); err 1900 fs/ubifs/lpt.c if (err) err 1901 fs/ubifs/lpt.c return err; err 1921 fs/ubifs/lpt.c err = PTR_ERR(nnode); err 1929 fs/ubifs/lpt.c err = PTR_ERR(pnode); err 1941 fs/ubifs/lpt.c err = ret; err 1954 fs/ubifs/lpt.c err = -ENOMEM; err 1972 fs/ubifs/lpt.c err = -ENOMEM; err 1983 fs/ubifs/lpt.c err = dbg_check_lpt_nodes(c, (struct ubifs_cnode *) err 1985 fs/ubifs/lpt.c if (err) err 1987 fs/ubifs/lpt.c err = dbg_check_cats(c); err 1988 fs/ubifs/lpt.c if (err) err 1992 fs/ubifs/lpt.c err = 0; err 2001 fs/ubifs/lpt.c err = -ENOSPC; err 2031 fs/ubifs/lpt.c err = PTR_ERR(nnode); err 2038 fs/ubifs/lpt.c err = PTR_ERR(pnode); err 2045 fs/ubifs/lpt.c return err; err 2191 fs/ubifs/lpt.c int num, iip = 0, err; err 2230 fs/ubifs/lpt.c err = dbg_chk_pnode(c, pnode, col); err 2231 fs/ubifs/lpt.c if (err) err 2232 fs/ubifs/lpt.c return err; err 193 fs/ubifs/lpt_commit.c int lnum, offs, len, alen, done_lsave, done_ltab, err; err 229 fs/ubifs/lpt_commit.c err = alloc_lpt_leb(c, &lnum); err 230 fs/ubifs/lpt_commit.c if (err) err 231 fs/ubifs/lpt_commit.c return err; err 268 fs/ubifs/lpt_commit.c err = alloc_lpt_leb(c, &lnum); err 269 fs/ubifs/lpt_commit.c if (err) err 270 fs/ubifs/lpt_commit.c return err; err 286 fs/ubifs/lpt_commit.c err = alloc_lpt_leb(c, &lnum); err 287 fs/ubifs/lpt_commit.c if (err) err 288 fs/ubifs/lpt_commit.c return err; err 349 fs/ubifs/lpt_commit.c int lnum, offs, len, from, err, wlen, alen, done_ltab, done_lsave; err 361 fs/ubifs/lpt_commit.c err = ubifs_leb_unmap(c, lnum); err 362 fs/ubifs/lpt_commit.c if (err) err 363 fs/ubifs/lpt_commit.c return err; err 391 fs/ubifs/lpt_commit.c err = ubifs_leb_write(c, lnum, buf + from, from, err 393 fs/ubifs/lpt_commit.c if (err) err 394 fs/ubifs/lpt_commit.c return err; err 396 fs/ubifs/lpt_commit.c err = realloc_lpt_leb(c, &lnum); err 397 fs/ubifs/lpt_commit.c if (err) err 398 fs/ubifs/lpt_commit.c return err; err 403 fs/ubifs/lpt_commit.c err = ubifs_leb_unmap(c, lnum); err 404 fs/ubifs/lpt_commit.c if (err) err 405 fs/ubifs/lpt_commit.c return err; err 447 fs/ubifs/lpt_commit.c err = ubifs_leb_write(c, lnum, buf + from, from, alen, err 449 fs/ubifs/lpt_commit.c if (err) err 450 fs/ubifs/lpt_commit.c return err; err 451 fs/ubifs/lpt_commit.c err = realloc_lpt_leb(c, &lnum); err 452 fs/ubifs/lpt_commit.c if (err) err 453 fs/ubifs/lpt_commit.c return err; err 457 fs/ubifs/lpt_commit.c err = ubifs_leb_unmap(c, lnum); err 458 fs/ubifs/lpt_commit.c if (err) err 459 fs/ubifs/lpt_commit.c return err; err 472 fs/ubifs/lpt_commit.c err = ubifs_leb_write(c, lnum, buf + from, from, alen, err 474 fs/ubifs/lpt_commit.c if (err) err 475 fs/ubifs/lpt_commit.c return err; err 476 fs/ubifs/lpt_commit.c err = realloc_lpt_leb(c, &lnum); err 477 fs/ubifs/lpt_commit.c if (err) err 478 fs/ubifs/lpt_commit.c return err; err 482 fs/ubifs/lpt_commit.c err = ubifs_leb_unmap(c, lnum); err 483 fs/ubifs/lpt_commit.c if (err) err 484 fs/ubifs/lpt_commit.c return err; err 495 fs/ubifs/lpt_commit.c err = ubifs_leb_write(c, lnum, buf + from, from, alen, UBI_SHORTTERM); err 496 fs/ubifs/lpt_commit.c if (err) err 497 fs/ubifs/lpt_commit.c return err; err 567 fs/ubifs/lpt_commit.c int err, h, iip, shft; err 571 fs/ubifs/lpt_commit.c err = ubifs_read_nnode(c, NULL, 0); err 572 fs/ubifs/lpt_commit.c if (err) err 573 fs/ubifs/lpt_commit.c return ERR_PTR(err); err 713 fs/ubifs/lpt_commit.c int i, err; err 717 fs/ubifs/lpt_commit.c err = ubifs_leb_unmap(c, i + c->lpt_first); err 718 fs/ubifs/lpt_commit.c if (err) err 719 fs/ubifs/lpt_commit.c return err; err 797 fs/ubifs/lpt_commit.c int err, iip; err 801 fs/ubifs/lpt_commit.c err = ubifs_read_nnode(c, NULL, 0); err 802 fs/ubifs/lpt_commit.c if (err) err 803 fs/ubifs/lpt_commit.c return ERR_PTR(err); err 1078 fs/ubifs/lpt_commit.c int err, len = c->leb_size, node_type, node_num, node_len, offs; err 1082 fs/ubifs/lpt_commit.c err = ubi_read(c->ubi, lnum, buf, 0, c->leb_size); err 1083 fs/ubifs/lpt_commit.c if (err) { err 1084 fs/ubifs/lpt_commit.c ubifs_err("cannot read LEB %d, error %d", lnum, err); err 1085 fs/ubifs/lpt_commit.c return err; err 1104 fs/ubifs/lpt_commit.c err = make_node_dirty(c, node_type, node_num, lnum, offs); err 1106 fs/ubifs/lpt_commit.c if (err) err 1107 fs/ubifs/lpt_commit.c return err; err 1154 fs/ubifs/lpt_commit.c int err, cnt; err 1159 fs/ubifs/lpt_commit.c err = dbg_check_ltab(c); err 1160 fs/ubifs/lpt_commit.c if (err) err 1173 fs/ubifs/lpt_commit.c err = lpt_gc(c); err 1174 fs/ubifs/lpt_commit.c if (err) err 1175 fs/ubifs/lpt_commit.c return err; err 1184 fs/ubifs/lpt_commit.c err = 0; err 1190 fs/ubifs/lpt_commit.c err = make_tree_dirty(c); err 1191 fs/ubifs/lpt_commit.c if (err) err 1202 fs/ubifs/lpt_commit.c err = layout_cnodes(c); err 1203 fs/ubifs/lpt_commit.c if (err) err 1213 fs/ubifs/lpt_commit.c return err; err 1249 fs/ubifs/lpt_commit.c int err; err 1256 fs/ubifs/lpt_commit.c err = write_cnodes(c); err 1257 fs/ubifs/lpt_commit.c if (err) err 1258 fs/ubifs/lpt_commit.c return err; err 1276 fs/ubifs/lpt_commit.c int err; err 1279 fs/ubifs/lpt_commit.c err = lpt_tgc_end(c); err 1280 fs/ubifs/lpt_commit.c if (err) err 1285 fs/ubifs/lpt_commit.c err = lpt_gc(c); err 1286 fs/ubifs/lpt_commit.c if (err) err 1287 fs/ubifs/lpt_commit.c return err; err 1292 fs/ubifs/lpt_commit.c return err; err 1555 fs/ubifs/lpt_commit.c int err, len = c->leb_size, dirty = 0, node_type, node_num, node_len; err 1560 fs/ubifs/lpt_commit.c err = ubi_read(c->ubi, lnum, buf, 0, c->leb_size); err 1561 fs/ubifs/lpt_commit.c if (err) { err 1562 fs/ubifs/lpt_commit.c dbg_msg("ubi_read failed, LEB %d, error %d", lnum, err); err 1563 fs/ubifs/lpt_commit.c return err; err 1579 fs/ubifs/lpt_commit.c err = -EINVAL; err 1586 fs/ubifs/lpt_commit.c err = -EINVAL; err 1592 fs/ubifs/lpt_commit.c err = -EINVAL; err 1594 fs/ubifs/lpt_commit.c return err; err 1614 fs/ubifs/lpt_commit.c int lnum, err, i, cnt; err 1631 fs/ubifs/lpt_commit.c err = dbg_check_lpt_nodes(c, (struct ubifs_cnode *)c->nroot, 0, 0); err 1632 fs/ubifs/lpt_commit.c if (err) err 1633 fs/ubifs/lpt_commit.c return err; err 1637 fs/ubifs/lpt_commit.c err = dbg_check_ltab_lnum(c, lnum); err 1638 fs/ubifs/lpt_commit.c if (err) { err 1640 fs/ubifs/lpt_commit.c return err; err 94 fs/ubifs/master.c int err; err 97 fs/ubifs/master.c err = 1; err 102 fs/ubifs/master.c err = 2; err 107 fs/ubifs/master.c err = 3; err 115 fs/ubifs/master.c err = 4; err 121 fs/ubifs/master.c err = 5; err 127 fs/ubifs/master.c err = 6; err 132 fs/ubifs/master.c err = 7; err 139 fs/ubifs/master.c err = 8; err 145 fs/ubifs/master.c err = 9; err 151 fs/ubifs/master.c err = 10; err 158 fs/ubifs/master.c err = 11; err 165 fs/ubifs/master.c err = 12; err 172 fs/ubifs/master.c err = 13; err 177 fs/ubifs/master.c err = 14; err 182 fs/ubifs/master.c err = 15; err 187 fs/ubifs/master.c err = 16; err 193 fs/ubifs/master.c err = 17; err 198 fs/ubifs/master.c err = 18; err 203 fs/ubifs/master.c err = 19; err 209 fs/ubifs/master.c err = 20; err 215 fs/ubifs/master.c err = 21; err 222 fs/ubifs/master.c err = 22; err 229 fs/ubifs/master.c err = 23; err 236 fs/ubifs/master.c ubifs_err("bad master node at offset %d error %d", c->mst_offs, err); err 251 fs/ubifs/master.c int err, old_leb_cnt; err 257 fs/ubifs/master.c err = scan_for_master(c); err 258 fs/ubifs/master.c if (err) { err 259 fs/ubifs/master.c err = ubifs_recover_master_node(c); err 260 fs/ubifs/master.c if (err) err 265 fs/ubifs/master.c return err; err 334 fs/ubifs/master.c err = validate_master(c); err 335 fs/ubifs/master.c if (err) err 336 fs/ubifs/master.c return err; err 338 fs/ubifs/master.c err = dbg_old_index_check_init(c, &c->zroot); err 340 fs/ubifs/master.c return err; err 354 fs/ubifs/master.c int err, lnum, offs, len; err 364 fs/ubifs/master.c err = ubifs_leb_unmap(c, lnum); err 365 fs/ubifs/master.c if (err) err 366 fs/ubifs/master.c return err; err 373 fs/ubifs/master.c err = ubifs_write_node(c, c->mst_node, len, lnum, offs, UBI_SHORTTERM); err 374 fs/ubifs/master.c if (err) err 375 fs/ubifs/master.c return err; err 380 fs/ubifs/master.c err = ubifs_leb_unmap(c, lnum); err 381 fs/ubifs/master.c if (err) err 382 fs/ubifs/master.c return err; err 384 fs/ubifs/master.c err = ubifs_write_node(c, c->mst_node, len, lnum, offs, UBI_SHORTTERM); err 386 fs/ubifs/master.c return err; err 116 fs/ubifs/misc.h int err; err 119 fs/ubifs/misc.h err = ubifs_wbuf_sync_nolock(wbuf); err 121 fs/ubifs/misc.h return err; err 133 fs/ubifs/misc.h int err; err 137 fs/ubifs/misc.h err = ubi_leb_unmap(c->ubi, lnum); err 138 fs/ubifs/misc.h if (err) { err 139 fs/ubifs/misc.h ubifs_err("unmap LEB %d failed, error %d", lnum, err); err 140 fs/ubifs/misc.h return err; err 160 fs/ubifs/misc.h int err; err 164 fs/ubifs/misc.h err = ubi_leb_write(c->ubi, lnum, buf, offs, len, dtype); err 165 fs/ubifs/misc.h if (err) { err 167 fs/ubifs/misc.h len, lnum, offs, err); err 168 fs/ubifs/misc.h return err; err 187 fs/ubifs/misc.h int err; err 191 fs/ubifs/misc.h err = ubi_leb_change(c->ubi, lnum, buf, len, dtype); err 192 fs/ubifs/misc.h if (err) { err 194 fs/ubifs/misc.h len, lnum, err); err 195 fs/ubifs/misc.h return err; err 243 fs/ubifs/orphan.c int err = 0; err 249 fs/ubifs/orphan.c err = ubifs_leb_change(c, c->ohead_lnum, c->orph_buf, len, err 254 fs/ubifs/orphan.c err = ubifs_leb_unmap(c, c->ohead_lnum); err 255 fs/ubifs/orphan.c if (err) err 256 fs/ubifs/orphan.c return err; err 258 fs/ubifs/orphan.c err = ubifs_write_node(c, c->orph_buf, len, c->ohead_lnum, err 261 fs/ubifs/orphan.c return err; err 277 fs/ubifs/orphan.c int gap, err, len, cnt, i; err 320 fs/ubifs/orphan.c err = do_write_orph_node(c, len, atomic); err 323 fs/ubifs/orphan.c return err; err 336 fs/ubifs/orphan.c int err; err 339 fs/ubifs/orphan.c err = write_orph_node(c, atomic); err 340 fs/ubifs/orphan.c if (err) err 341 fs/ubifs/orphan.c return err; err 349 fs/ubifs/orphan.c err = ubifs_leb_unmap(c, lnum); err 350 fs/ubifs/orphan.c if (err) err 351 fs/ubifs/orphan.c return err; err 370 fs/ubifs/orphan.c int tot_avail = tot_avail_orphs(c), err = 0; err 399 fs/ubifs/orphan.c err = -EINVAL; err 402 fs/ubifs/orphan.c return err; err 414 fs/ubifs/orphan.c int avail, atomic = 0, err; err 420 fs/ubifs/orphan.c err = consolidate(c); err 421 fs/ubifs/orphan.c if (err) err 422 fs/ubifs/orphan.c return err; err 425 fs/ubifs/orphan.c err = write_orph_nodes(c, atomic); err 426 fs/ubifs/orphan.c return err; err 466 fs/ubifs/orphan.c int err; err 469 fs/ubifs/orphan.c err = commit_orphans(c); err 470 fs/ubifs/orphan.c if (err) err 471 fs/ubifs/orphan.c return err; err 474 fs/ubifs/orphan.c err = dbg_check_orphans(c); err 475 fs/ubifs/orphan.c return err; err 488 fs/ubifs/orphan.c int lnum, err; err 491 fs/ubifs/orphan.c err = ubifs_leb_unmap(c, lnum); err 492 fs/ubifs/orphan.c if (err) err 493 fs/ubifs/orphan.c return err; err 564 fs/ubifs/orphan.c int i, n, err, first = 1; err 613 fs/ubifs/orphan.c err = ubifs_tnc_remove_ino(c, inum); err 614 fs/ubifs/orphan.c if (err) err 615 fs/ubifs/orphan.c return err; err 616 fs/ubifs/orphan.c err = insert_dead_orphan(c, inum); err 617 fs/ubifs/orphan.c if (err) err 618 fs/ubifs/orphan.c return err; err 646 fs/ubifs/orphan.c int lnum, err = 0, outofdate = 0, last_flagged = 0; err 674 fs/ubifs/orphan.c err = PTR_ERR(sleb); err 678 fs/ubifs/orphan.c err = do_kill_orphans(c, sleb, &last_cmt_no, &outofdate, err 680 fs/ubifs/orphan.c if (err || outofdate) { err 690 fs/ubifs/orphan.c return err; err 705 fs/ubifs/orphan.c int err = 0; err 716 fs/ubifs/orphan.c err = kill_orphans(c); err 718 fs/ubifs/orphan.c err = clear_orphans(c); err 720 fs/ubifs/orphan.c return err; err 837 fs/ubifs/orphan.c int err; err 847 fs/ubifs/orphan.c err = ubifs_tnc_read_node(c, zbr, ci->node); err 848 fs/ubifs/orphan.c if (err) { err 849 fs/ubifs/orphan.c ubifs_err("node read failed, error %d", err); err 850 fs/ubifs/orphan.c return err; err 869 fs/ubifs/orphan.c int i, n, err; err 879 fs/ubifs/orphan.c err = dbg_ins_check_orphan(&ci->root, inum); err 880 fs/ubifs/orphan.c if (err) err 881 fs/ubifs/orphan.c return err; err 889 fs/ubifs/orphan.c int lnum, err = 0; err 900 fs/ubifs/orphan.c err = PTR_ERR(sleb); err 904 fs/ubifs/orphan.c err = dbg_read_orphans(ci, sleb); err 906 fs/ubifs/orphan.c if (err) err 910 fs/ubifs/orphan.c return err; err 916 fs/ubifs/orphan.c int err; err 932 fs/ubifs/orphan.c err = dbg_scan_orphans(c, &ci); err 933 fs/ubifs/orphan.c if (err) err 936 fs/ubifs/orphan.c err = dbg_walk_index(c, &dbg_orphan_check, NULL, &ci); err 937 fs/ubifs/orphan.c if (err) { err 938 fs/ubifs/orphan.c ubifs_err("cannot scan TNC, error %d", err); err 944 fs/ubifs/orphan.c err = -EINVAL; err 955 fs/ubifs/orphan.c return err; err 76 fs/ubifs/recovery.c int err, offs, len; err 83 fs/ubifs/recovery.c err = ubi_read(c->ubi, lnum, sbuf, 0, c->leb_size); err 84 fs/ubifs/recovery.c if (err && err != -EBADMSG) err 152 fs/ubifs/recovery.c err = -EINVAL; err 157 fs/ubifs/recovery.c return err; err 170 fs/ubifs/recovery.c int err = 0, lnum = UBIFS_MST_LNUM, sz = c->mst_node_alsz; err 179 fs/ubifs/recovery.c err = ubi_leb_change(c->ubi, lnum, mst, sz, UBI_SHORTTERM); err 180 fs/ubifs/recovery.c if (err) err 182 fs/ubifs/recovery.c err = ubi_leb_change(c->ubi, lnum + 1, mst, sz, UBI_SHORTTERM); err 183 fs/ubifs/recovery.c if (err) err 187 fs/ubifs/recovery.c return err; err 204 fs/ubifs/recovery.c int err, offs1, offs2; err 208 fs/ubifs/recovery.c err = get_master_node(c, UBIFS_MST_LNUM, &buf1, &mst1, &cor1); err 209 fs/ubifs/recovery.c if (err) err 212 fs/ubifs/recovery.c err = get_master_node(c, UBIFS_MST_LNUM + 1, &buf2, &mst2, &cor2); err 213 fs/ubifs/recovery.c if (err) err 279 fs/ubifs/recovery.c err = -ENOMEM; err 286 fs/ubifs/recovery.c err = write_rcvrd_mst_node(c, c->mst_node); err 287 fs/ubifs/recovery.c if (err) err 297 fs/ubifs/recovery.c err = -EINVAL; err 310 fs/ubifs/recovery.c return err; err 324 fs/ubifs/recovery.c int err; err 330 fs/ubifs/recovery.c err = write_rcvrd_mst_node(c, c->rcvrd_mst_node); err 331 fs/ubifs/recovery.c if (err) err 332 fs/ubifs/recovery.c return err; err 517 fs/ubifs/recovery.c int err; err 522 fs/ubifs/recovery.c err = ubifs_leb_unmap(c, lnum); err 523 fs/ubifs/recovery.c if (err) err 524 fs/ubifs/recovery.c return err; err 529 fs/ubifs/recovery.c err = ubi_read(c->ubi, lnum, sleb->buf, 0, err 531 fs/ubifs/recovery.c if (err) err 532 fs/ubifs/recovery.c return err; err 544 fs/ubifs/recovery.c err = ubi_leb_change(c->ubi, lnum, sleb->buf, len, err 546 fs/ubifs/recovery.c if (err) err 547 fs/ubifs/recovery.c return err; err 599 fs/ubifs/recovery.c int err, len = c->leb_size - offs, need_clean = 0, quiet = 1; err 632 fs/ubifs/recovery.c err = ubifs_add_snod(c, sleb, buf, offs); err 633 fs/ubifs/recovery.c if (err) err 724 fs/ubifs/recovery.c err = fix_unclean_leb(c, sleb, start); err 725 fs/ubifs/recovery.c if (err) err 733 fs/ubifs/recovery.c err = -EUCLEAN; err 737 fs/ubifs/recovery.c return ERR_PTR(err); err 753 fs/ubifs/recovery.c int err, ret; err 761 fs/ubifs/recovery.c err = ubi_read(c->ubi, lnum, (void *)cs_node, offs, UBIFS_CS_NODE_SZ); err 762 fs/ubifs/recovery.c if (err && err != -EBADMSG) err 785 fs/ubifs/recovery.c err = -EINVAL; err 789 fs/ubifs/recovery.c return err; err 829 fs/ubifs/recovery.c int err; err 831 fs/ubifs/recovery.c err = get_cs_sqnum(c, lnum, offs, &cs_sqnum); err 832 fs/ubifs/recovery.c if (err) { err 834 fs/ubifs/recovery.c return ERR_PTR(err); err 863 fs/ubifs/recovery.c int len, err, need_clean = 0; err 876 fs/ubifs/recovery.c err = ubi_read(c->ubi, lnum, sbuf, offs, len); err 877 fs/ubifs/recovery.c if (err) err 893 fs/ubifs/recovery.c err = ubi_read(c->ubi, lnum, sbuf, 0, offs); err 894 fs/ubifs/recovery.c if (err) err 895 fs/ubifs/recovery.c return err; err 921 fs/ubifs/recovery.c int err; err 926 fs/ubifs/recovery.c err = recover_head(c, c->ihead_lnum, c->ihead_offs, sbuf); err 927 fs/ubifs/recovery.c if (err) err 928 fs/ubifs/recovery.c return err; err 931 fs/ubifs/recovery.c err = recover_head(c, c->nhead_lnum, c->nhead_offs, sbuf); err 932 fs/ubifs/recovery.c if (err) err 933 fs/ubifs/recovery.c return err; err 953 fs/ubifs/recovery.c int err, lnum = ucleb->lnum, offs = 0, len = ucleb->endpt, quiet = 1; err 960 fs/ubifs/recovery.c err = ubifs_leb_unmap(c, lnum); err 961 fs/ubifs/recovery.c if (err) err 962 fs/ubifs/recovery.c return err; err 966 fs/ubifs/recovery.c err = ubi_read(c->ubi, lnum, buf, offs, len); err 967 fs/ubifs/recovery.c if (err && err != -EBADMSG) err 968 fs/ubifs/recovery.c return err; err 1026 fs/ubifs/recovery.c err = ubi_leb_change(c->ubi, lnum, sbuf, len, UBI_UNKNOWN); err 1027 fs/ubifs/recovery.c if (err) err 1028 fs/ubifs/recovery.c return err; err 1051 fs/ubifs/recovery.c int err; err 1055 fs/ubifs/recovery.c err = clean_an_unclean_leb(c, ucleb, sbuf); err 1056 fs/ubifs/recovery.c if (err) err 1057 fs/ubifs/recovery.c return err; err 1086 fs/ubifs/recovery.c int lnum, err; err 1101 fs/ubifs/recovery.c err = ubifs_find_dirty_leb(c, &lp, wbuf->offs, 2); err 1102 fs/ubifs/recovery.c if (err) { err 1103 fs/ubifs/recovery.c if (err == -ENOSPC) err 1105 fs/ubifs/recovery.c return err; err 1112 fs/ubifs/recovery.c err = ubifs_change_one_lp(c, lnum, c->leb_size, err 1114 fs/ubifs/recovery.c if (err) err 1115 fs/ubifs/recovery.c return err; err 1117 fs/ubifs/recovery.c err = ubifs_leb_unmap(c, lnum); err 1118 fs/ubifs/recovery.c if (err) err 1119 fs/ubifs/recovery.c return err; err 1133 fs/ubifs/recovery.c err = ubifs_return_leb(c, lnum); err 1134 fs/ubifs/recovery.c if (err) err 1135 fs/ubifs/recovery.c return err; err 1143 fs/ubifs/recovery.c err = ubifs_run_commit(c); err 1144 fs/ubifs/recovery.c if (err) err 1145 fs/ubifs/recovery.c return err; err 1152 fs/ubifs/recovery.c err = ubifs_garbage_collect_leb(c, &lp); err 1153 fs/ubifs/recovery.c if (err >= 0) { err 1157 fs/ubifs/recovery.c err = err2; err 1160 fs/ubifs/recovery.c if (err < 0) { err 1161 fs/ubifs/recovery.c dbg_err("GC failed, error %d", err); err 1162 fs/ubifs/recovery.c if (err == -EAGAIN) err 1163 fs/ubifs/recovery.c err = -EINVAL; err 1164 fs/ubifs/recovery.c return err; err 1166 fs/ubifs/recovery.c if (err != LEB_RETAINED) { err 1167 fs/ubifs/recovery.c dbg_err("GC returned %d", err); err 1170 fs/ubifs/recovery.c err = ubifs_leb_unmap(c, c->gc_lnum); err 1171 fs/ubifs/recovery.c if (err) err 1172 fs/ubifs/recovery.c return err; err 1188 fs/ubifs/recovery.c err = ubifs_change_one_lp(c, lnum, LPROPS_NC, LPROPS_NC, 0, err 1190 fs/ubifs/recovery.c if (err) err 1191 fs/ubifs/recovery.c return err; err 1354 fs/ubifs/recovery.c int err; err 1366 fs/ubifs/recovery.c err = add_ino(c, inum, new_size, 0, 1); err 1367 fs/ubifs/recovery.c if (err) err 1368 fs/ubifs/recovery.c return err; err 1378 fs/ubifs/recovery.c err = add_ino(c, inum, 0, new_size, 0); err 1379 fs/ubifs/recovery.c if (err) err 1380 fs/ubifs/recovery.c return err; err 1402 fs/ubifs/recovery.c int err, lnum, offs, len; err 1408 fs/ubifs/recovery.c err = ubifs_tnc_locate(c, &key, ino, &lnum, &offs); err 1409 fs/ubifs/recovery.c if (err) err 1419 fs/ubifs/recovery.c err = ubi_read(c->ubi, lnum, c->sbuf, 0, c->leb_size); err 1420 fs/ubifs/recovery.c if (err) err 1435 fs/ubifs/recovery.c err = ubi_leb_change(c->ubi, lnum, c->sbuf, len, UBI_UNKNOWN); err 1436 fs/ubifs/recovery.c if (err) err 1444 fs/ubifs/recovery.c e->inum, e->i_size, e->d_size, err); err 1445 fs/ubifs/recovery.c return err; err 1463 fs/ubifs/recovery.c int err; err 1470 fs/ubifs/recovery.c err = ubifs_tnc_lookup(c, &key, c->sbuf); err 1471 fs/ubifs/recovery.c if (err && err != -ENOENT) err 1472 fs/ubifs/recovery.c return err; err 1473 fs/ubifs/recovery.c if (err == -ENOENT) { err 1476 fs/ubifs/recovery.c err = ubifs_tnc_remove_ino(c, e->inum); err 1477 fs/ubifs/recovery.c if (err) err 1478 fs/ubifs/recovery.c return err; err 1507 fs/ubifs/recovery.c err = fix_size_in_place(c, e); err 1508 fs/ubifs/recovery.c if (err) err 1509 fs/ubifs/recovery.c return err; err 109 fs/ubifs/replay.c int err = 0, dirty; err 115 fs/ubifs/replay.c err = PTR_ERR(lp); err 159 fs/ubifs/replay.c err = PTR_ERR(lp); err 164 fs/ubifs/replay.c return err; err 203 fs/ubifs/replay.c int err, deletion = ((r->flags & REPLAY_DELETION) != 0); err 212 fs/ubifs/replay.c err = set_bud_lprops(c, r); err 215 fs/ubifs/replay.c err = ubifs_tnc_remove_nm(c, &r->key, &r->nm); err 217 fs/ubifs/replay.c err = ubifs_tnc_add_nm(c, &r->key, r->lnum, r->offs, err 226 fs/ubifs/replay.c err = ubifs_tnc_remove_ino(c, inum); err 230 fs/ubifs/replay.c err = trun_remove_range(c, r); err 233 fs/ubifs/replay.c err = ubifs_tnc_remove(c, &r->key); err 237 fs/ubifs/replay.c err = ubifs_tnc_add(c, &r->key, r->lnum, r->offs, err 239 fs/ubifs/replay.c if (err) err 240 fs/ubifs/replay.c return err; err 243 fs/ubifs/replay.c err = ubifs_recover_size_accum(c, &r->key, deletion, err 247 fs/ubifs/replay.c return err; err 298 fs/ubifs/replay.c int err; err 303 fs/ubifs/replay.c err = apply_replay_entry(c, r); err 304 fs/ubifs/replay.c if (err) err 305 fs/ubifs/replay.c return err; err 500 fs/ubifs/replay.c int err = 0, used = 0; err 556 fs/ubifs/replay.c err = insert_node(c, lnum, snod->offs, snod->len, err 568 fs/ubifs/replay.c err = insert_node(c, lnum, snod->offs, snod->len, err 578 fs/ubifs/replay.c err = ubifs_validate_entry(c, dent); err 579 fs/ubifs/replay.c if (err) err 582 fs/ubifs/replay.c err = insert_dent(c, lnum, snod->offs, snod->len, err 608 fs/ubifs/replay.c err = insert_node(c, lnum, snod->offs, snod->len, err 616 fs/ubifs/replay.c err = -EINVAL; err 619 fs/ubifs/replay.c if (err) err 632 fs/ubifs/replay.c err = ubifs_wbuf_seek_nolock(&c->jheads[jhead].wbuf, lnum, err 640 fs/ubifs/replay.c return err; err 708 fs/ubifs/replay.c int err, uninitialized_var(free), uninitialized_var(dirty); err 711 fs/ubifs/replay.c err = replay_bud(c, b->bud->lnum, b->bud->start, b->bud->jhead, err 713 fs/ubifs/replay.c if (err) err 714 fs/ubifs/replay.c return err; err 715 fs/ubifs/replay.c err = insert_ref_node(c, b->bud->lnum, b->bud->start, b->sqnum, err 717 fs/ubifs/replay.c if (err) err 718 fs/ubifs/replay.c return err; err 833 fs/ubifs/replay.c int err; err 848 fs/ubifs/replay.c err = 1; err 889 fs/ubifs/replay.c err = 1; err 921 fs/ubifs/replay.c err = validate_ref(c, ref); err 922 fs/ubifs/replay.c if (err == 1) err 924 fs/ubifs/replay.c if (err) err 927 fs/ubifs/replay.c err = add_replay_bud(c, le32_to_cpu(ref->lnum), err 931 fs/ubifs/replay.c if (err) err 954 fs/ubifs/replay.c err = !sleb->endpt; err 957 fs/ubifs/replay.c return err; err 977 fs/ubifs/replay.c int err, free; err 983 fs/ubifs/replay.c err = PTR_ERR(lp); err 992 fs/ubifs/replay.c err = PTR_ERR(lp); err 996 fs/ubifs/replay.c err = free; err 999 fs/ubifs/replay.c return err; err 1012 fs/ubifs/replay.c int err, i, lnum, offs, free; err 1048 fs/ubifs/replay.c err = replay_log_leb(c, lnum, offs, sbuf); err 1049 fs/ubifs/replay.c if (err == 1) err 1052 fs/ubifs/replay.c if (err) err 1057 fs/ubifs/replay.c err = replay_buds(c); err 1058 fs/ubifs/replay.c if (err) err 1061 fs/ubifs/replay.c err = apply_replay_tree(c); err 1062 fs/ubifs/replay.c if (err) err 1074 fs/ubifs/replay.c return err; err 80 fs/ubifs/sb.c int err, tmp, jnl_lebs, log_lebs, max_buds, main_lebs, main_first; err 146 fs/ubifs/sb.c err = ubifs_create_dflt_lpt(c, &main_lebs, lpt_first, &lpt_lebs, err 148 fs/ubifs/sb.c if (err) err 149 fs/ubifs/sb.c return err; err 193 fs/ubifs/sb.c err = ubifs_write_node(c, sup, UBIFS_SB_NODE_SZ, 0, 0, UBI_LONGTERM); err 195 fs/ubifs/sb.c if (err) err 196 fs/ubifs/sb.c return err; err 249 fs/ubifs/sb.c err = ubifs_write_node(c, mst, UBIFS_MST_NODE_SZ, UBIFS_MST_LNUM, 0, err 251 fs/ubifs/sb.c if (err) { err 253 fs/ubifs/sb.c return err; err 255 fs/ubifs/sb.c err = ubifs_write_node(c, mst, UBIFS_MST_NODE_SZ, UBIFS_MST_LNUM + 1, 0, err 258 fs/ubifs/sb.c if (err) err 259 fs/ubifs/sb.c return err; err 279 fs/ubifs/sb.c err = ubifs_write_node(c, idx, tmp, main_first + DEFAULT_IDX_LEB, 0, err 282 fs/ubifs/sb.c if (err) err 283 fs/ubifs/sb.c return err; err 311 fs/ubifs/sb.c err = ubifs_write_node(c, ino, UBIFS_INO_NODE_SZ, err 315 fs/ubifs/sb.c if (err) err 316 fs/ubifs/sb.c return err; err 332 fs/ubifs/sb.c err = ubifs_write_node(c, cs, UBIFS_CS_NODE_SZ, UBIFS_LOG_LNUM, err 353 fs/ubifs/sb.c int err = 1, min_leb_cnt; err 356 fs/ubifs/sb.c err = 2; err 361 fs/ubifs/sb.c err = 3; err 381 fs/ubifs/sb.c err = 4; err 407 fs/ubifs/sb.c err = 7; err 413 fs/ubifs/sb.c err = 8; err 419 fs/ubifs/sb.c err = 9; err 425 fs/ubifs/sb.c err = 10; err 432 fs/ubifs/sb.c err = 11; err 438 fs/ubifs/sb.c err = 12; err 443 fs/ubifs/sb.c err = 13; err 449 fs/ubifs/sb.c err = 14; err 455 fs/ubifs/sb.c err = 15; err 462 fs/ubifs/sb.c ubifs_err("bad superblock, error %d", err); err 477 fs/ubifs/sb.c int err; err 483 fs/ubifs/sb.c err = ubifs_read_node(c, sup, UBIFS_SB_NODE, UBIFS_SB_NODE_SZ, err 485 fs/ubifs/sb.c if (err) { err 487 fs/ubifs/sb.c return ERR_PTR(err); err 518 fs/ubifs/sb.c int err, sup_flags; err 522 fs/ubifs/sb.c err = create_default_filesystem(c); err 523 fs/ubifs/sb.c if (err) err 524 fs/ubifs/sb.c return err; err 540 fs/ubifs/sb.c err = -EINVAL; err 547 fs/ubifs/sb.c err = -EINVAL; err 571 fs/ubifs/sb.c err = -EINVAL; err 607 fs/ubifs/sb.c err = ubifs_write_sb_node(c, sup); err 608 fs/ubifs/sb.c if (err) err 625 fs/ubifs/sb.c err = validate_sb(c, sup); err 628 fs/ubifs/sb.c return err; err 140 fs/ubifs/scan.c int err; err 152 fs/ubifs/scan.c err = ubi_read(c->ubi, lnum, sbuf + offs, offs, c->leb_size - offs); err 153 fs/ubifs/scan.c if (err && err != -EBADMSG) { err 155 fs/ubifs/scan.c " error %d", c->leb_size - offs, lnum, offs, err); err 157 fs/ubifs/scan.c return ERR_PTR(err); err 160 fs/ubifs/scan.c if (err == -EBADMSG) err 265 fs/ubifs/scan.c int err, len = c->leb_size - offs; err 310 fs/ubifs/scan.c err = ubifs_add_snod(c, sleb, buf, offs); err 311 fs/ubifs/scan.c if (err) err 339 fs/ubifs/scan.c err = -EUCLEAN; err 343 fs/ubifs/scan.c return ERR_PTR(err); err 60 fs/ubifs/super.c int err; err 89 fs/ubifs/super.c err = dbg_check_dir_size(c, inode); err 90 fs/ubifs/super.c return err; err 95 fs/ubifs/super.c int err; err 113 fs/ubifs/super.c err = -ENOMEM; err 119 fs/ubifs/super.c err = ubifs_tnc_lookup(c, &key, ino); err 120 fs/ubifs/super.c if (err) err 147 fs/ubifs/super.c err = validate_inode(c, inode); err 148 fs/ubifs/super.c if (err) err 162 fs/ubifs/super.c err = -ENOMEM; err 168 fs/ubifs/super.c err = 10; err 176 fs/ubifs/super.c err = 11; err 183 fs/ubifs/super.c err = 12; err 188 fs/ubifs/super.c err = -ENOMEM; err 202 fs/ubifs/super.c err = -ENOMEM; err 212 fs/ubifs/super.c err = 13; err 225 fs/ubifs/super.c err = 14; err 230 fs/ubifs/super.c err = 15; err 240 fs/ubifs/super.c ubifs_err("inode %lu validation failed, error %d", inode->i_ino, err); err 243 fs/ubifs/super.c err = -EINVAL; err 247 fs/ubifs/super.c ubifs_err("failed to read inode %lu, error %d", inode->i_ino, err); err 249 fs/ubifs/super.c return ERR_PTR(err); err 280 fs/ubifs/super.c int err = 0; err 308 fs/ubifs/super.c err = ubifs_jnl_write_inode(c, inode); err 309 fs/ubifs/super.c if (err) err 311 fs/ubifs/super.c inode->i_ino, err); err 317 fs/ubifs/super.c return err; err 322 fs/ubifs/super.c int err; err 343 fs/ubifs/super.c err = ubifs_jnl_delete_inode(c, inode); err 344 fs/ubifs/super.c if (err) err 350 fs/ubifs/super.c inode->i_ino, err); err 410 fs/ubifs/super.c int i, ret = 0, err; err 414 fs/ubifs/super.c err = ubifs_wbuf_sync(&c->jheads[i].wbuf); err 415 fs/ubifs/super.c if (err && !ret) err 416 fs/ubifs/super.c ret = err; err 575 fs/ubifs/super.c int tmp, err; err 647 fs/ubifs/super.c err = ubifs_calc_lpt_geom(c); err 648 fs/ubifs/super.c if (err) err 649 fs/ubifs/super.c return err; err 682 fs/ubifs/super.c int err; err 689 fs/ubifs/super.c err = ubifs_leb_unmap(c, c->gc_lnum); err 690 fs/ubifs/super.c if (err) err 691 fs/ubifs/super.c return err; err 694 fs/ubifs/super.c err = ubifs_change_one_lp(c, c->gc_lnum, c->leb_size, 0, err 696 fs/ubifs/super.c return err; err 708 fs/ubifs/super.c int i, err; err 718 fs/ubifs/super.c err = ubifs_wbuf_init(c, &c->jheads[i].wbuf); err 719 fs/ubifs/super.c if (err) err 720 fs/ubifs/super.c return err; err 820 fs/ubifs/super.c int lnum, err; err 824 fs/ubifs/super.c err = ubi_is_mapped(c->ubi, lnum); err 825 fs/ubifs/super.c if (unlikely(err < 0)) err 826 fs/ubifs/super.c return err; err 827 fs/ubifs/super.c if (err == 1) { err 944 fs/ubifs/super.c int err, mounted_read_only = (sb->s_flags & MS_RDONLY); err 948 fs/ubifs/super.c err = init_constants_early(c); err 949 fs/ubifs/super.c if (err) err 950 fs/ubifs/super.c return err; err 958 fs/ubifs/super.c err = check_volume_empty(c); err 959 fs/ubifs/super.c if (err) err 969 fs/ubifs/super.c err = -EROFS; err 975 fs/ubifs/super.c err = -EROFS; err 984 fs/ubifs/super.c err = -ENOMEM; err 999 fs/ubifs/super.c err = ubifs_read_superblock(c); err 1000 fs/ubifs/super.c if (err) err 1015 fs/ubifs/super.c err = init_constants_late(c); err 1016 fs/ubifs/super.c if (err) err 1023 fs/ubifs/super.c err = -ENOMEM; err 1029 fs/ubifs/super.c err = alloc_wbufs(c); err 1030 fs/ubifs/super.c if (err) err 1038 fs/ubifs/super.c err = PTR_ERR(c->bgt); err 1041 fs/ubifs/super.c c->bgt_name, err); err 1047 fs/ubifs/super.c err = ubifs_read_master(c); err 1048 fs/ubifs/super.c if (err) err 1055 fs/ubifs/super.c err = ubifs_recover_inl_heads(c, c->sbuf); err 1056 fs/ubifs/super.c if (err) err 1065 fs/ubifs/super.c err = ubifs_write_master(c); err 1066 fs/ubifs/super.c if (err) err 1070 fs/ubifs/super.c err = ubifs_lpt_init(c, 1, !mounted_read_only); err 1071 fs/ubifs/super.c if (err) err 1074 fs/ubifs/super.c err = dbg_check_idx_size(c, c->old_idx_sz); err 1075 fs/ubifs/super.c if (err) err 1078 fs/ubifs/super.c err = ubifs_replay_journal(c); err 1079 fs/ubifs/super.c if (err) err 1082 fs/ubifs/super.c err = ubifs_mount_orphans(c, c->need_recovery, mounted_read_only); err 1083 fs/ubifs/super.c if (err) err 1092 fs/ubifs/super.c err = -EINVAL; err 1101 fs/ubifs/super.c err = ubifs_consolidate_log(c); err 1102 fs/ubifs/super.c if (err) err 1107 fs/ubifs/super.c err = ubifs_recover_size(c); err 1108 fs/ubifs/super.c if (err) err 1110 fs/ubifs/super.c err = ubifs_rcvry_gc_commit(c); err 1112 fs/ubifs/super.c err = take_gc_lnum(c); err 1113 fs/ubifs/super.c if (err) err 1116 fs/ubifs/super.c err = dbg_check_lprops(c); err 1117 fs/ubifs/super.c if (err) err 1120 fs/ubifs/super.c err = ubifs_recover_size(c); err 1121 fs/ubifs/super.c if (err) err 1138 fs/ubifs/super.c err = dbg_check_filesystem(c); err 1139 fs/ubifs/super.c if (err) err 1229 fs/ubifs/super.c return err; err 1278 fs/ubifs/super.c int err, lnum; err 1289 fs/ubifs/super.c err = -EINVAL; err 1298 fs/ubifs/super.c err = PTR_ERR(sup); err 1302 fs/ubifs/super.c err = ubifs_write_sb_node(c, sup); err 1303 fs/ubifs/super.c if (err) err 1309 fs/ubifs/super.c err = ubifs_write_rcvrd_mst_node(c); err 1310 fs/ubifs/super.c if (err) err 1312 fs/ubifs/super.c err = ubifs_recover_size(c); err 1313 fs/ubifs/super.c if (err) err 1315 fs/ubifs/super.c err = ubifs_clean_lebs(c, c->sbuf); err 1316 fs/ubifs/super.c if (err) err 1318 fs/ubifs/super.c err = ubifs_recover_inl_heads(c, c->sbuf); err 1319 fs/ubifs/super.c if (err) err 1325 fs/ubifs/super.c err = ubifs_write_master(c); err 1326 fs/ubifs/super.c if (err) err 1332 fs/ubifs/super.c err = -ENOMEM; err 1336 fs/ubifs/super.c err = ubifs_lpt_init(c, 0, 1); err 1337 fs/ubifs/super.c if (err) err 1340 fs/ubifs/super.c err = alloc_wbufs(c); err 1341 fs/ubifs/super.c if (err) err 1351 fs/ubifs/super.c err = PTR_ERR(c->bgt); err 1354 fs/ubifs/super.c c->bgt_name, err); err 1355 fs/ubifs/super.c return err; err 1368 fs/ubifs/super.c err = ubifs_consolidate_log(c); err 1369 fs/ubifs/super.c if (err) err 1374 fs/ubifs/super.c err = ubifs_rcvry_gc_commit(c); err 1376 fs/ubifs/super.c err = take_gc_lnum(c); err 1377 fs/ubifs/super.c if (err) err 1404 fs/ubifs/super.c return err; err 1440 fs/ubifs/super.c int i, err; err 1460 fs/ubifs/super.c err = ubifs_write_master(c); err 1461 fs/ubifs/super.c if (err) err 1462 fs/ubifs/super.c ubifs_ro_mode(c, err); err 1526 fs/ubifs/super.c int err; err 1531 fs/ubifs/super.c err = ubifs_write_master(c); err 1532 fs/ubifs/super.c if (err) err 1539 fs/ubifs/super.c "error %d", err); err 1552 fs/ubifs/super.c int err; err 1557 fs/ubifs/super.c err = ubifs_parse_options(c, data, 1); err 1558 fs/ubifs/super.c if (err) { err 1560 fs/ubifs/super.c return err; err 1563 fs/ubifs/super.c err = ubifs_remount_rw(c); err 1564 fs/ubifs/super.c if (err) err 1565 fs/ubifs/super.c return err; err 1642 fs/ubifs/super.c int err; err 1686 fs/ubifs/super.c err = PTR_ERR(c->ubi); err 1700 fs/ubifs/super.c err = bdi_init(&c->bdi); err 1701 fs/ubifs/super.c if (err) err 1704 fs/ubifs/super.c err = ubifs_parse_options(c, data, 0); err 1705 fs/ubifs/super.c if (err) err 1721 fs/ubifs/super.c err = mount_ubifs(c); err 1722 fs/ubifs/super.c if (err) { err 1723 fs/ubifs/super.c ubifs_assert(err < 0); err 1730 fs/ubifs/super.c err = PTR_ERR(root); err 1754 fs/ubifs/super.c return err; err 1778 fs/ubifs/super.c int err; err 1799 fs/ubifs/super.c err = PTR_ERR(sb); err 1807 fs/ubifs/super.c err = -EBUSY; err 1817 fs/ubifs/super.c err = ubifs_fill_super(sb, data, flags & MS_SILENT ? 1 : 0); err 1818 fs/ubifs/super.c if (err) err 1834 fs/ubifs/super.c return err; err 1869 fs/ubifs/super.c int err; err 1921 fs/ubifs/super.c err = register_filesystem(&ubifs_fs_type); err 1922 fs/ubifs/super.c if (err) { err 1923 fs/ubifs/super.c ubifs_err("cannot register file system, error %d", err); err 1924 fs/ubifs/super.c return err; err 1927 fs/ubifs/super.c err = -ENOMEM; err 1937 fs/ubifs/super.c err = ubifs_compressors_init(); err 1938 fs/ubifs/super.c if (err) err 1948 fs/ubifs/super.c return err; err 142 fs/ubifs/tnc.c int err; err 149 fs/ubifs/tnc.c err = insert_old_idx(c, zbr->lnum, zbr->offs); err 150 fs/ubifs/tnc.c if (err) err 151 fs/ubifs/tnc.c return err; err 158 fs/ubifs/tnc.c err = insert_old_idx(c, c->zroot.lnum, c->zroot.offs); err 159 fs/ubifs/tnc.c if (err) err 160 fs/ubifs/tnc.c return err; err 271 fs/ubifs/tnc.c int err; err 279 fs/ubifs/tnc.c err = add_idx_dirt(c, zbr->lnum, zbr->len); err 280 fs/ubifs/tnc.c if (unlikely(err)) err 281 fs/ubifs/tnc.c return ERR_PTR(err); err 291 fs/ubifs/tnc.c err = insert_old_idx(c, zbr->lnum, zbr->offs); err 292 fs/ubifs/tnc.c if (unlikely(err)) err 293 fs/ubifs/tnc.c return ERR_PTR(err); err 294 fs/ubifs/tnc.c err = add_idx_dirt(c, zbr->lnum, zbr->len); err 296 fs/ubifs/tnc.c err = 0; err 303 fs/ubifs/tnc.c if (unlikely(err)) err 304 fs/ubifs/tnc.c return ERR_PTR(err); err 331 fs/ubifs/tnc.c int err; err 339 fs/ubifs/tnc.c err = ubifs_validate_entry(c, dent); err 340 fs/ubifs/tnc.c if (err) { err 343 fs/ubifs/tnc.c return err; err 368 fs/ubifs/tnc.c int err; err 373 fs/ubifs/tnc.c err = ubifs_validate_entry(c, node); err 374 fs/ubifs/tnc.c if (err) { err 377 fs/ubifs/tnc.c return err; err 411 fs/ubifs/tnc.c int err; err 422 fs/ubifs/tnc.c err = ubifs_tnc_read_node(c, zbr, node); err 423 fs/ubifs/tnc.c if (err) err 424 fs/ubifs/tnc.c return err; err 427 fs/ubifs/tnc.c err = lnc_add(c, zbr, node); err 428 fs/ubifs/tnc.c return err; err 450 fs/ubifs/tnc.c int err, node_len; err 456 fs/ubifs/tnc.c err = ubi_read(c->ubi, lnum, buf, offs, len); err 457 fs/ubifs/tnc.c if (err) { err 459 fs/ubifs/tnc.c type, lnum, offs, err); err 460 fs/ubifs/tnc.c return err; err 530 fs/ubifs/tnc.c int nlen, err; err 538 fs/ubifs/tnc.c err = ubifs_tnc_read_node(c, zbr, dent); err 539 fs/ubifs/tnc.c if (err) err 543 fs/ubifs/tnc.c err = lnc_add_directly(c, zbr, dent); err 544 fs/ubifs/tnc.c if (err) err 550 fs/ubifs/tnc.c err = memcmp(dent->name, nm->name, min_t(int, nlen, nm->len)); err 551 fs/ubifs/tnc.c if (err == 0) { err 558 fs/ubifs/tnc.c } else if (err < 0) err 565 fs/ubifs/tnc.c return err; err 699 fs/ubifs/tnc.c int err; err 701 fs/ubifs/tnc.c err = matches_name(c, &(*zn)->zbranch[*n], nm); err 702 fs/ubifs/tnc.c if (unlikely(err < 0)) err 703 fs/ubifs/tnc.c return err; err 704 fs/ubifs/tnc.c if (err == NAME_MATCHES) err 707 fs/ubifs/tnc.c if (err == NAME_GREATER) { err 710 fs/ubifs/tnc.c err = tnc_prev(c, zn, n); err 711 fs/ubifs/tnc.c if (err == -ENOENT) { err 716 fs/ubifs/tnc.c if (err < 0) err 717 fs/ubifs/tnc.c return err; err 749 fs/ubifs/tnc.c err = tnc_next(c, zn, n); err 750 fs/ubifs/tnc.c if (err) { err 753 fs/ubifs/tnc.c if (err == -ENOENT) err 754 fs/ubifs/tnc.c err = -EINVAL; err 755 fs/ubifs/tnc.c return err; err 762 fs/ubifs/tnc.c err = matches_name(c, &(*zn)->zbranch[*n], nm); err 763 fs/ubifs/tnc.c if (err < 0) err 764 fs/ubifs/tnc.c return err; err 765 fs/ubifs/tnc.c if (err == NAME_LESS) err 767 fs/ubifs/tnc.c if (err == NAME_MATCHES) err 769 fs/ubifs/tnc.c ubifs_assert(err == NAME_GREATER); err 777 fs/ubifs/tnc.c err = tnc_next(c, &znode, &nn); err 778 fs/ubifs/tnc.c if (err == -ENOENT) err 780 fs/ubifs/tnc.c if (err < 0) err 781 fs/ubifs/tnc.c return err; err 784 fs/ubifs/tnc.c err = matches_name(c, &znode->zbranch[nn], nm); err 785 fs/ubifs/tnc.c if (err < 0) err 786 fs/ubifs/tnc.c return err; err 787 fs/ubifs/tnc.c if (err == NAME_GREATER) err 791 fs/ubifs/tnc.c if (err == NAME_MATCHES) err 793 fs/ubifs/tnc.c ubifs_assert(err == NAME_LESS); err 818 fs/ubifs/tnc.c int nlen, err; err 826 fs/ubifs/tnc.c err = fallible_read_node(c, &zbr->key, zbr, dent); err 827 fs/ubifs/tnc.c if (err < 0) err 829 fs/ubifs/tnc.c if (err == 0) { err 831 fs/ubifs/tnc.c err = NOT_ON_MEDIA; err 834 fs/ubifs/tnc.c ubifs_assert(err == 1); err 836 fs/ubifs/tnc.c err = lnc_add_directly(c, zbr, dent); err 837 fs/ubifs/tnc.c if (err) err 843 fs/ubifs/tnc.c err = memcmp(dent->name, nm->name, min_t(int, nlen, nm->len)); err 844 fs/ubifs/tnc.c if (err == 0) { err 851 fs/ubifs/tnc.c } else if (err < 0) err 858 fs/ubifs/tnc.c return err; err 889 fs/ubifs/tnc.c int uninitialized_var(o_n), err, cmp, unsure = 0, nn = *n; err 911 fs/ubifs/tnc.c err = tnc_prev(c, zn, n); err 912 fs/ubifs/tnc.c if (err == -ENOENT) { err 917 fs/ubifs/tnc.c if (err < 0) err 918 fs/ubifs/tnc.c return err; err 922 fs/ubifs/tnc.c err = tnc_next(c, zn, n); err 923 fs/ubifs/tnc.c if (err) { err 926 fs/ubifs/tnc.c if (err == -ENOENT) err 927 fs/ubifs/tnc.c err = -EINVAL; err 928 fs/ubifs/tnc.c return err; err 935 fs/ubifs/tnc.c err = fallible_matches_name(c, &(*zn)->zbranch[*n], nm); err 936 fs/ubifs/tnc.c if (err < 0) err 937 fs/ubifs/tnc.c return err; err 938 fs/ubifs/tnc.c if (err == NAME_MATCHES) err 940 fs/ubifs/tnc.c if (err == NOT_ON_MEDIA) { err 947 fs/ubifs/tnc.c if (err == NAME_LESS) err 959 fs/ubifs/tnc.c err = tnc_next(c, &znode, &nn); err 960 fs/ubifs/tnc.c if (err == -ENOENT) err 962 fs/ubifs/tnc.c if (err < 0) err 963 fs/ubifs/tnc.c return err; err 966 fs/ubifs/tnc.c err = fallible_matches_name(c, &znode->zbranch[nn], nm); err 967 fs/ubifs/tnc.c if (err < 0) err 968 fs/ubifs/tnc.c return err; err 969 fs/ubifs/tnc.c if (err == NAME_GREATER) err 973 fs/ubifs/tnc.c if (err == NAME_MATCHES) err 975 fs/ubifs/tnc.c if (err == NOT_ON_MEDIA) { err 1033 fs/ubifs/tnc.c int nn, err; err 1042 fs/ubifs/tnc.c err = tnc_prev(c, &znode, &nn); err 1043 fs/ubifs/tnc.c if (err == -ENOENT) err 1045 fs/ubifs/tnc.c if (err < 0) err 1046 fs/ubifs/tnc.c return err; err 1060 fs/ubifs/tnc.c err = tnc_next(c, &znode, &nn); err 1061 fs/ubifs/tnc.c if (err == -ENOENT) err 1063 fs/ubifs/tnc.c if (err < 0) err 1064 fs/ubifs/tnc.c return err; err 1166 fs/ubifs/tnc.c int err, exact; err 1254 fs/ubifs/tnc.c err = tnc_prev(c, &znode, n); err 1255 fs/ubifs/tnc.c if (err == -ENOENT) { err 1260 fs/ubifs/tnc.c if (unlikely(err < 0)) err 1261 fs/ubifs/tnc.c return err; err 1301 fs/ubifs/tnc.c int err, exact; err 1359 fs/ubifs/tnc.c err = tnc_prev(c, &znode, n); err 1360 fs/ubifs/tnc.c if (err == -ENOENT) { err 1365 fs/ubifs/tnc.c if (unlikely(err < 0)) err 1366 fs/ubifs/tnc.c return err; err 1436 fs/ubifs/tnc.c int found, n, err, safely = 0, gc_seq1; err 1444 fs/ubifs/tnc.c err = -ENOENT; err 1447 fs/ubifs/tnc.c err = found; err 1460 fs/ubifs/tnc.c err = tnc_read_node_nm(c, zt, node); err 1464 fs/ubifs/tnc.c err = ubifs_tnc_read_node(c, zt, node); err 1474 fs/ubifs/tnc.c err = ubifs_tnc_read_node(c, &zbr, node); err 1475 fs/ubifs/tnc.c return err; err 1478 fs/ubifs/tnc.c err = fallible_read_node(c, key, &zbr, node); err 1479 fs/ubifs/tnc.c if (err <= 0 || maybe_leb_gced(c, zbr.lnum, gc_seq1)) { err 1491 fs/ubifs/tnc.c return err; err 1510 fs/ubifs/tnc.c int found, n, err; err 1517 fs/ubifs/tnc.c err = -ENOENT; err 1520 fs/ubifs/tnc.c err = found; err 1526 fs/ubifs/tnc.c err = resolve_collision(c, key, &znode, &n, nm); err 1527 fs/ubifs/tnc.c dbg_tnc("rc returned %d, znode %p, n %d", err, znode, n); err 1528 fs/ubifs/tnc.c if (unlikely(err < 0)) err 1530 fs/ubifs/tnc.c if (err == 0) { err 1531 fs/ubifs/tnc.c err = -ENOENT; err 1535 fs/ubifs/tnc.c err = tnc_read_node_nm(c, &znode->zbranch[n], node); err 1539 fs/ubifs/tnc.c return err; err 1558 fs/ubifs/tnc.c int err, len; err 1565 fs/ubifs/tnc.c err = ubifs_tnc_lookup(c, key, node); err 1566 fs/ubifs/tnc.c if (err) err 1567 fs/ubifs/tnc.c return err; err 1857 fs/ubifs/tnc.c int found, n, err = 0; err 1871 fs/ubifs/tnc.c err = tnc_insert(c, znode, &zbr, n + 1); err 1876 fs/ubifs/tnc.c err = ubifs_add_dirt(c, zbr->lnum, zbr->len); err 1881 fs/ubifs/tnc.c err = found; err 1882 fs/ubifs/tnc.c if (!err) err 1883 fs/ubifs/tnc.c err = dbg_check_tnc(c, 0); err 1886 fs/ubifs/tnc.c return err; err 1906 fs/ubifs/tnc.c int found, n, err = 0; err 1914 fs/ubifs/tnc.c err = found; err 1924 fs/ubifs/tnc.c err = ubifs_add_dirt(c, zbr->lnum, zbr->len); err 1925 fs/ubifs/tnc.c if (err) err 1937 fs/ubifs/tnc.c err = found; err 1947 fs/ubifs/tnc.c err = PTR_ERR(znode); err 1953 fs/ubifs/tnc.c err = ubifs_add_dirt(c, zbr->lnum, err 1955 fs/ubifs/tnc.c if (err) err 1965 fs/ubifs/tnc.c err = ubifs_add_dirt(c, lnum, len); err 1967 fs/ubifs/tnc.c if (!err) err 1968 fs/ubifs/tnc.c err = dbg_check_tnc(c, 0); err 1972 fs/ubifs/tnc.c return err; err 1990 fs/ubifs/tnc.c int found, n, err = 0; err 1998 fs/ubifs/tnc.c err = found; err 2010 fs/ubifs/tnc.c err = found; err 2018 fs/ubifs/tnc.c err = PTR_ERR(znode); err 2027 fs/ubifs/tnc.c err = ubifs_add_dirt(c, zbr->lnum, zbr->len); err 2043 fs/ubifs/tnc.c err = tnc_insert(c, znode, &zbr, n + 1); err 2044 fs/ubifs/tnc.c if (err) err 2055 fs/ubifs/tnc.c err = dbg_check_tnc(c, 0); err 2057 fs/ubifs/tnc.c if (err) err 2058 fs/ubifs/tnc.c return err; err 2064 fs/ubifs/tnc.c if (!err) err 2065 fs/ubifs/tnc.c err = dbg_check_tnc(c, 0); err 2067 fs/ubifs/tnc.c return err; err 2083 fs/ubifs/tnc.c int i, err; err 2093 fs/ubifs/tnc.c err = ubifs_add_dirt(c, zbr->lnum, zbr->len); err 2094 fs/ubifs/tnc.c if (err) { err 2096 fs/ubifs/tnc.c return err; err 2121 fs/ubifs/tnc.c err = insert_old_idx_znode(c, znode); err 2122 fs/ubifs/tnc.c if (err) err 2123 fs/ubifs/tnc.c return err; err 2160 fs/ubifs/tnc.c err = insert_old_idx(c, c->zroot.lnum, err 2162 fs/ubifs/tnc.c if (err) err 2163 fs/ubifs/tnc.c return err; err 2195 fs/ubifs/tnc.c int found, n, err = 0; err 2202 fs/ubifs/tnc.c err = found; err 2206 fs/ubifs/tnc.c err = tnc_delete(c, znode, n); err 2207 fs/ubifs/tnc.c if (!err) err 2208 fs/ubifs/tnc.c err = dbg_check_tnc(c, 0); err 2212 fs/ubifs/tnc.c return err; err 2226 fs/ubifs/tnc.c int n, err; err 2231 fs/ubifs/tnc.c err = lookup_level0_dirty(c, key, &znode, &n); err 2232 fs/ubifs/tnc.c if (err < 0) err 2235 fs/ubifs/tnc.c if (err) { err 2237 fs/ubifs/tnc.c err = fallible_resolve_collision(c, key, &znode, &n, err 2240 fs/ubifs/tnc.c err = resolve_collision(c, key, &znode, &n, nm); err 2241 fs/ubifs/tnc.c dbg_tnc("rc returned %d, znode %p, n %d", err, znode, n); err 2242 fs/ubifs/tnc.c if (err < 0) err 2244 fs/ubifs/tnc.c if (err) { err 2249 fs/ubifs/tnc.c err = PTR_ERR(znode); err 2253 fs/ubifs/tnc.c err = tnc_delete(c, znode, n); err 2258 fs/ubifs/tnc.c if (!err) err 2259 fs/ubifs/tnc.c err = dbg_check_tnc(c, 0); err 2261 fs/ubifs/tnc.c return err; err 2296 fs/ubifs/tnc.c int i, n, k, err = 0; err 2303 fs/ubifs/tnc.c err = ubifs_lookup_level0(c, from_key, &znode, &n); err 2304 fs/ubifs/tnc.c if (err < 0) err 2307 fs/ubifs/tnc.c if (err) err 2310 fs/ubifs/tnc.c err = tnc_next(c, &znode, &n); err 2311 fs/ubifs/tnc.c if (err == -ENOENT) { err 2312 fs/ubifs/tnc.c err = 0; err 2315 fs/ubifs/tnc.c if (err < 0) err 2319 fs/ubifs/tnc.c err = 0; err 2328 fs/ubifs/tnc.c err = PTR_ERR(znode); err 2339 fs/ubifs/tnc.c err = ubifs_add_dirt(c, znode->zbranch[i].lnum, err 2341 fs/ubifs/tnc.c if (err) { err 2354 fs/ubifs/tnc.c err = tnc_delete(c, znode, n); err 2355 fs/ubifs/tnc.c if (err) err 2360 fs/ubifs/tnc.c if (!err) err 2361 fs/ubifs/tnc.c err = dbg_check_tnc(c, 0); err 2363 fs/ubifs/tnc.c return err; err 2390 fs/ubifs/tnc.c int err; err 2394 fs/ubifs/tnc.c err = PTR_ERR(xent); err 2395 fs/ubifs/tnc.c if (err == -ENOENT) err 2397 fs/ubifs/tnc.c return err; err 2405 fs/ubifs/tnc.c err = ubifs_tnc_remove_nm(c, &key1, &nm); err 2406 fs/ubifs/tnc.c if (err) { err 2408 fs/ubifs/tnc.c return err; err 2413 fs/ubifs/tnc.c err = ubifs_tnc_remove_range(c, &key1, &key2); err 2414 fs/ubifs/tnc.c if (err) { err 2416 fs/ubifs/tnc.c return err; err 2458 fs/ubifs/tnc.c int n, err, type = key_type(c, key); err 2468 fs/ubifs/tnc.c err = ubifs_lookup_level0(c, key, &znode, &n); err 2469 fs/ubifs/tnc.c if (unlikely(err < 0)) err 2473 fs/ubifs/tnc.c if (err) { err 2475 fs/ubifs/tnc.c err = resolve_collision(c, key, &znode, &n, nm); err 2477 fs/ubifs/tnc.c err, znode, n); err 2478 fs/ubifs/tnc.c if (unlikely(err < 0)) err 2483 fs/ubifs/tnc.c err = tnc_next(c, &znode, &n); err 2484 fs/ubifs/tnc.c if (unlikely(err)) err 2492 fs/ubifs/tnc.c if (!err) { err 2498 fs/ubifs/tnc.c err = tnc_next(c, &znode, &n); err 2499 fs/ubifs/tnc.c if (err) err 2507 fs/ubifs/tnc.c err = -ENOMEM; err 2518 fs/ubifs/tnc.c err = -ENOENT; err 2522 fs/ubifs/tnc.c err = tnc_read_node_nm(c, zbr, dent); err 2523 fs/ubifs/tnc.c if (unlikely(err)) err 2533 fs/ubifs/tnc.c return ERR_PTR(err); err 2834 fs/ubifs/tnc.c int n, found, err, nn; err 2855 fs/ubifs/tnc.c err = tnc_prev(c, &znode, &n); err 2856 fs/ubifs/tnc.c if (err == -ENOENT) err 2858 fs/ubifs/tnc.c if (err) err 2859 fs/ubifs/tnc.c return err; err 2870 fs/ubifs/tnc.c err = tnc_next(c, &znode, &n); err 2871 fs/ubifs/tnc.c if (err) { err 2872 fs/ubifs/tnc.c if (err == -ENOENT) err 2874 fs/ubifs/tnc.c return err; err 2902 fs/ubifs/tnc.c int err; err 2906 fs/ubifs/tnc.c err = is_idx_node_in_tnc(c, key, level, lnum, offs); err 2907 fs/ubifs/tnc.c if (err < 0) err 2909 fs/ubifs/tnc.c if (err == 1) err 2911 fs/ubifs/tnc.c err = 0; err 2912 fs/ubifs/tnc.c else if (err == 2) err 2914 fs/ubifs/tnc.c err = 1; err 2916 fs/ubifs/tnc.c BUG_ON(err != 0); err 2918 fs/ubifs/tnc.c err = is_leaf_node_in_tnc(c, key, lnum, offs); err 2922 fs/ubifs/tnc.c return err; err 2943 fs/ubifs/tnc.c int err = 0; err 2950 fs/ubifs/tnc.c err = PTR_ERR(znode); err 2955 fs/ubifs/tnc.c err = PTR_ERR(znode); err 2961 fs/ubifs/tnc.c return err; err 40 fs/ubifs/tnc_commit.c int i, err; err 69 fs/ubifs/tnc_commit.c err = insert_old_idx_znode(c, znode); err 95 fs/ubifs/tnc_commit.c return err; err 127 fs/ubifs/tnc_commit.c int err; err 130 fs/ubifs/tnc_commit.c err = make_idx_node(c, c->ileb_buf + gap_pos, znode, err 132 fs/ubifs/tnc_commit.c if (err) err 133 fs/ubifs/tnc_commit.c return err; err 230 fs/ubifs/tnc_commit.c int lnum, dirt = 0, gap_start, gap_end, err, written, tot_written; err 300 fs/ubifs/tnc_commit.c err = ubifs_read_one_lp(c, lnum, &lp); err 301 fs/ubifs/tnc_commit.c if (err) err 302 fs/ubifs/tnc_commit.c return err; err 308 fs/ubifs/tnc_commit.c err = ubifs_change_one_lp(c, lnum, err 311 fs/ubifs/tnc_commit.c if (err) err 312 fs/ubifs/tnc_commit.c return err; err 316 fs/ubifs/tnc_commit.c err = ubifs_change_one_lp(c, lnum, c->leb_size - c->ileb_len, dirt, err 318 fs/ubifs/tnc_commit.c if (err) err 319 fs/ubifs/tnc_commit.c return err; err 320 fs/ubifs/tnc_commit.c err = ubifs_leb_change(c, lnum, c->ileb_buf, c->ileb_len, err 322 fs/ubifs/tnc_commit.c if (err) err 323 fs/ubifs/tnc_commit.c return err; err 361 fs/ubifs/tnc_commit.c int err, leb_needed_cnt, written, *p; err 374 fs/ubifs/tnc_commit.c err = written; err 375 fs/ubifs/tnc_commit.c if (err != -ENOSPC) { err 378 fs/ubifs/tnc_commit.c return err; err 392 fs/ubifs/tnc_commit.c err = 0; err 418 fs/ubifs/tnc_commit.c int wlen, blen, err; err 501 fs/ubifs/tnc_commit.c err = ubifs_update_one_lp(c, lnum, 0, err 503 fs/ubifs/tnc_commit.c if (err) err 504 fs/ubifs/tnc_commit.c return err; err 508 fs/ubifs/tnc_commit.c err = ubifs_update_one_lp(c, lnum, err 510 fs/ubifs/tnc_commit.c if (err) err 511 fs/ubifs/tnc_commit.c return err; err 535 fs/ubifs/tnc_commit.c err = ubifs_update_one_lp(c, lnum, err 538 fs/ubifs/tnc_commit.c if (err) err 539 fs/ubifs/tnc_commit.c return err; err 548 fs/ubifs/tnc_commit.c err = ubifs_update_one_lp(c, lnum, c->leb_size - buf_offs, err 550 fs/ubifs/tnc_commit.c if (err) err 551 fs/ubifs/tnc_commit.c return err; err 578 fs/ubifs/tnc_commit.c int err; err 581 fs/ubifs/tnc_commit.c err = layout_in_gaps(c, cnt); err 582 fs/ubifs/tnc_commit.c if (err) err 583 fs/ubifs/tnc_commit.c return err; err 585 fs/ubifs/tnc_commit.c err = layout_in_empty_space(c); err 586 fs/ubifs/tnc_commit.c return err; err 725 fs/ubifs/tnc_commit.c int i, err = 0, lnum, er; err 732 fs/ubifs/tnc_commit.c if (!err) err 733 fs/ubifs/tnc_commit.c err = er; err 735 fs/ubifs/tnc_commit.c return err; err 746 fs/ubifs/tnc_commit.c int err; err 748 fs/ubifs/tnc_commit.c err = free_unused_idx_lebs(c); err 751 fs/ubifs/tnc_commit.c return err; err 766 fs/ubifs/tnc_commit.c int err = 0, cnt; err 769 fs/ubifs/tnc_commit.c err = dbg_check_tnc(c, 1); err 770 fs/ubifs/tnc_commit.c if (err) err 776 fs/ubifs/tnc_commit.c err = alloc_idx_lebs(c, cnt); err 777 fs/ubifs/tnc_commit.c if (err == -ENOSPC) err 779 fs/ubifs/tnc_commit.c else if (err) err 781 fs/ubifs/tnc_commit.c err = layout_commit(c, no_space, cnt); err 782 fs/ubifs/tnc_commit.c if (err) err 785 fs/ubifs/tnc_commit.c err = free_unused_idx_lebs(c); err 786 fs/ubifs/tnc_commit.c if (err) err 792 fs/ubifs/tnc_commit.c err = ubifs_save_dirty_idx_lnums(c); err 793 fs/ubifs/tnc_commit.c if (err) err 812 fs/ubifs/tnc_commit.c return err; err 818 fs/ubifs/tnc_commit.c return err; err 833 fs/ubifs/tnc_commit.c int avail, wlen, err, lnum_pos = 0; err 854 fs/ubifs/tnc_commit.c err = ubifs_update_one_lp(c, lnum, LPROPS_NC, 0, 0, err 856 fs/ubifs/tnc_commit.c if (err) err 857 fs/ubifs/tnc_commit.c return err; err 946 fs/ubifs/tnc_commit.c err = ubifs_leb_write(c, lnum, c->cbuf, buf_offs, err 948 fs/ubifs/tnc_commit.c if (err) err 949 fs/ubifs/tnc_commit.c return err; err 955 fs/ubifs/tnc_commit.c err = ubifs_update_one_lp(c, lnum, err 957 fs/ubifs/tnc_commit.c if (err) err 958 fs/ubifs/tnc_commit.c return err; err 980 fs/ubifs/tnc_commit.c err = ubifs_leb_write(c, lnum, c->cbuf, buf_offs, err 982 fs/ubifs/tnc_commit.c if (err) err 983 fs/ubifs/tnc_commit.c return err; err 987 fs/ubifs/tnc_commit.c err = ubifs_update_one_lp(c, lnum, err 989 fs/ubifs/tnc_commit.c if (err) err 990 fs/ubifs/tnc_commit.c return err; err 1050 fs/ubifs/tnc_commit.c int *p, err; err 1057 fs/ubifs/tnc_commit.c err = ubifs_change_one_lp(c, *p, LPROPS_NC, LPROPS_NC, 0, err 1059 fs/ubifs/tnc_commit.c if (err) err 1060 fs/ubifs/tnc_commit.c return err; err 1076 fs/ubifs/tnc_commit.c int err; err 1081 fs/ubifs/tnc_commit.c err = return_gap_lebs(c); err 1082 fs/ubifs/tnc_commit.c if (err) err 1083 fs/ubifs/tnc_commit.c return err; err 1085 fs/ubifs/tnc_commit.c err = write_index(c); err 1086 fs/ubifs/tnc_commit.c if (err) err 1087 fs/ubifs/tnc_commit.c return err; err 276 fs/ubifs/tnc_misc.c int i, err, type, cmp; err 283 fs/ubifs/tnc_misc.c err = ubifs_read_node(c, idx, UBIFS_IDX_NODE, len, lnum, offs); err 284 fs/ubifs/tnc_misc.c if (err < 0) { err 286 fs/ubifs/tnc_misc.c return err; err 300 fs/ubifs/tnc_misc.c err = 1; err 320 fs/ubifs/tnc_misc.c err = 2; err 333 fs/ubifs/tnc_misc.c err = 3; err 346 fs/ubifs/tnc_misc.c err = 4; err 356 fs/ubifs/tnc_misc.c err = 5; err 374 fs/ubifs/tnc_misc.c err = 6; err 380 fs/ubifs/tnc_misc.c err = 7; err 389 fs/ubifs/tnc_misc.c ubifs_err("bad indexing node at LEB %d:%d, error %d", lnum, offs, err); err 410 fs/ubifs/tnc_misc.c int err; err 422 fs/ubifs/tnc_misc.c err = read_znode(c, zbr->lnum, zbr->offs, zbr->len, znode); err 423 fs/ubifs/tnc_misc.c if (err) err 445 fs/ubifs/tnc_misc.c return ERR_PTR(err); err 462 fs/ubifs/tnc_misc.c int err, type = key_type(c, key); err 471 fs/ubifs/tnc_misc.c err = ubifs_read_node_wbuf(wbuf, node, type, zbr->len, err 474 fs/ubifs/tnc_misc.c err = ubifs_read_node(c, node, type, zbr->len, zbr->lnum, err 477 fs/ubifs/tnc_misc.c if (err) { err 479 fs/ubifs/tnc_misc.c return err; err 102 fs/ubifs/xattr.c int err; err 121 fs/ubifs/xattr.c err = ubifs_budget_space(c, &req); err 122 fs/ubifs/xattr.c if (err) err 123 fs/ubifs/xattr.c return err; err 127 fs/ubifs/xattr.c err = PTR_ERR(inode); err 142 fs/ubifs/xattr.c err = -ENOMEM; err 156 fs/ubifs/xattr.c err = ubifs_jnl_update(c, host, nm, inode, 0, 1); err 157 fs/ubifs/xattr.c if (err) err 176 fs/ubifs/xattr.c return err; err 194 fs/ubifs/xattr.c int err; err 201 fs/ubifs/xattr.c err = ubifs_budget_space(c, &req); err 202 fs/ubifs/xattr.c if (err) err 203 fs/ubifs/xattr.c return err; err 208 fs/ubifs/xattr.c err = -ENOMEM; err 226 fs/ubifs/xattr.c err = ubifs_jnl_change_xattr(c, inode, host); err 227 fs/ubifs/xattr.c if (err) err 241 fs/ubifs/xattr.c return err; err 305 fs/ubifs/xattr.c int err, type; err 327 fs/ubifs/xattr.c err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); err 328 fs/ubifs/xattr.c if (err) { err 329 fs/ubifs/xattr.c if (err != -ENOENT) err 334 fs/ubifs/xattr.c err = -ENODATA; err 336 fs/ubifs/xattr.c err = create_xattr(c, host, &nm, value, size); err 342 fs/ubifs/xattr.c err = -EEXIST; err 348 fs/ubifs/xattr.c err = PTR_ERR(inode); err 352 fs/ubifs/xattr.c err = change_xattr(c, host, inode, value, size); err 357 fs/ubifs/xattr.c return err; err 369 fs/ubifs/xattr.c int err; err 374 fs/ubifs/xattr.c err = check_namespace(&nm); err 375 fs/ubifs/xattr.c if (err < 0) err 376 fs/ubifs/xattr.c return err; err 383 fs/ubifs/xattr.c err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); err 384 fs/ubifs/xattr.c if (err) { err 385 fs/ubifs/xattr.c if (err == -ENOENT) err 386 fs/ubifs/xattr.c err = -ENODATA; err 392 fs/ubifs/xattr.c err = PTR_ERR(inode); err 405 fs/ubifs/xattr.c err = -ERANGE; err 411 fs/ubifs/xattr.c err = ui->data_len; err 417 fs/ubifs/xattr.c return err; err 427 fs/ubifs/xattr.c int err, len, written = 0; err 450 fs/ubifs/xattr.c err = PTR_ERR(xent); err 459 fs/ubifs/xattr.c err = type; err 475 fs/ubifs/xattr.c if (err != -ENOENT) { err 476 fs/ubifs/xattr.c ubifs_err("cannot find next direntry, error %d", err); err 477 fs/ubifs/xattr.c return err; err 487 fs/ubifs/xattr.c int err; err 495 fs/ubifs/xattr.c err = ubifs_budget_space(c, &req); err 496 fs/ubifs/xattr.c if (err) err 497 fs/ubifs/xattr.c return err; err 506 fs/ubifs/xattr.c err = ubifs_jnl_delete_xattr(c, host, inode, nm); err 507 fs/ubifs/xattr.c if (err) err 521 fs/ubifs/xattr.c return err; err 531 fs/ubifs/xattr.c int err; err 537 fs/ubifs/xattr.c err = check_namespace(&nm); err 538 fs/ubifs/xattr.c if (err < 0) err 539 fs/ubifs/xattr.c return err; err 546 fs/ubifs/xattr.c err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); err 547 fs/ubifs/xattr.c if (err) { err 548 fs/ubifs/xattr.c if (err == -ENOENT) err 549 fs/ubifs/xattr.c err = -ENODATA; err 555 fs/ubifs/xattr.c err = PTR_ERR(inode); err 561 fs/ubifs/xattr.c err = remove_xattr(c, host, inode, &nm); err 562 fs/ubifs/xattr.c if (err) err 570 fs/ubifs/xattr.c return err; err 299 fs/udf/balloc.c *err = -ENOSPC; err 398 fs/udf/balloc.c *err = -EDQUOT; err 416 fs/udf/balloc.c *err = 0; err 420 fs/udf/balloc.c *err = -EIO; err 743 fs/udf/balloc.c *err = -ENOSPC; err 812 fs/udf/balloc.c *err = -EDQUOT; err 827 fs/udf/balloc.c *err = 0; err 900 fs/udf/balloc.c partition, goal, err); err 904 fs/udf/balloc.c partition, goal, err); err 908 fs/udf/balloc.c partition, goal, err); err 912 fs/udf/balloc.c partition, goal, err); err 914 fs/udf/balloc.c *err = -EIO; err 113 fs/udf/file.c int err, pos; err 126 fs/udf/file.c udf_expand_file_adinicb(inode, pos + count, &err); err 128 fs/udf/file.c udf_debug("udf_expand_adinicb: err=%d\n", err); err 129 fs/udf/file.c return err; err 41 fs/udf/fsync.c int err; err 43 fs/udf/fsync.c err = sync_mapping_buffers(inode->i_mapping); err 45 fs/udf/fsync.c return err; err 47 fs/udf/fsync.c return err; err 49 fs/udf/fsync.c err |= udf_sync_inode(inode); err 51 fs/udf/fsync.c return err ? -EIO : 0; err 73 fs/udf/ialloc.c *err = -ENOMEM; err 76 fs/udf/ialloc.c *err = -ENOSPC; err 94 fs/udf/ialloc.c *err = -ENOMEM; err 100 fs/udf/ialloc.c start, err); err 101 fs/udf/ialloc.c if (*err) { err 162 fs/udf/ialloc.c *err = -EDQUOT; err 166 fs/udf/ialloc.c *err = 0; err 227 fs/udf/inode.c iinfo->i_location.logicalBlockNum, err); err 294 fs/udf/inode.c int err, new; err 306 fs/udf/inode.c err = -EIO; err 318 fs/udf/inode.c err = 0; err 320 fs/udf/inode.c bh = inode_getblk(inode, block, &err, &phys, &new); err 322 fs/udf/inode.c if (err) err 332 fs/udf/inode.c return err; err 343 fs/udf/inode.c *err = udf_get_block(inode, block, &dummy, create); err 344 fs/udf/inode.c if (!*err && buffer_mapped(&dummy)) { err 588 fs/udf/inode.c *err = -ENOSPC; err 650 fs/udf/inode.c goal, err); err 653 fs/udf/inode.c *err = -ENOSPC; err 685 fs/udf/inode.c *err = 0; err 995 fs/udf/inode.c bh = udf_getblk(inode, block, create, err); err 1009 fs/udf/inode.c *err = -EIO; err 1016 fs/udf/inode.c int err; err 1031 fs/udf/inode.c udf_expand_file_adinicb(inode, inode->i_size, &err); err 1391 fs/udf/inode.c int err = 0; err 1430 fs/udf/inode.c return err; err 1600 fs/udf/inode.c err = -EIO; err 1605 fs/udf/inode.c return err; err 1668 fs/udf/inode.c int err, loffset; err 1673 fs/udf/inode.c obloc.logicalBlockNum, &err); err 326 fs/udf/namei.c *err = -ENOMEM; err 332 fs/udf/namei.c *err = -EINVAL; err 338 fs/udf/namei.c *err = -ENAMETOOLONG; err 370 fs/udf/namei.c *err = -EIO; err 382 fs/udf/namei.c *err = -EIO; err 401 fs/udf/namei.c *err = -EIO; err 431 fs/udf/namei.c udf_expand_dir_adinicb(dir, &block, err); err 473 fs/udf/namei.c f_pos >> dir->i_sb->s_blocksize_bits, 1, err); err 512 fs/udf/namei.c *err = -EIO; err 545 fs/udf/namei.c int err; err 549 fs/udf/namei.c inode = udf_new_inode(dir, mode, &err); err 552 fs/udf/namei.c return err; err 565 fs/udf/namei.c fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err); err 571 fs/udf/namei.c return err; err 595 fs/udf/namei.c int err; err 602 fs/udf/namei.c err = -EIO; err 603 fs/udf/namei.c inode = udf_new_inode(dir, mode, &err); err 610 fs/udf/namei.c fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err); err 616 fs/udf/namei.c return err; err 631 fs/udf/namei.c err = 0; err 635 fs/udf/namei.c return err; err 643 fs/udf/namei.c int err; err 648 fs/udf/namei.c err = -EMLINK; err 652 fs/udf/namei.c err = -EIO; err 653 fs/udf/namei.c inode = udf_new_inode(dir, S_IFDIR, &err); err 660 fs/udf/namei.c fi = udf_add_entry(inode, NULL, &fibh, &cfi, &err); err 681 fs/udf/namei.c fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err); err 700 fs/udf/namei.c err = 0; err 704 fs/udf/namei.c return err; err 877 fs/udf/namei.c int err; err 885 fs/udf/namei.c inode = udf_new_inode(dir, S_IFLNK, &err); err 891 fs/udf/namei.c err = -ENOMEM; err 906 fs/udf/namei.c iinfo->i_location.logicalBlockNum, &err); err 948 fs/udf/namei.c err = -ENAMETOOLONG; err 1003 fs/udf/namei.c fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err); err 1031 fs/udf/namei.c err = 0; err 1036 fs/udf/namei.c return err; err 1050 fs/udf/namei.c int err; err 1059 fs/udf/namei.c fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err); err 1062 fs/udf/namei.c return err; err 209 fs/udf/super.c int err; err 211 fs/udf/super.c err = init_inodecache(); err 212 fs/udf/super.c if (err) err 214 fs/udf/super.c err = register_filesystem(&udf_fstype); err 215 fs/udf/super.c if (err) err 224 fs/udf/super.c return err; err 79 fs/udf/symlink.c int err = -EIO; err 110 fs/udf/symlink.c return err; err 371 fs/ufs/balloc.c *err = -ENOSPC; err 431 fs/ufs/balloc.c result = ufs_alloc_fragments (inode, cgno, goal, count, err); err 434 fs/ufs/balloc.c *err = 0; err 449 fs/ufs/balloc.c result = ufs_add_fragments (inode, tmp, oldcount, newcount, err); err 451 fs/ufs/balloc.c *err = 0; err 482 fs/ufs/balloc.c result = ufs_alloc_fragments (inode, cgno, goal, request, err); err 490 fs/ufs/balloc.c *err = 0; err 560 fs/ufs/balloc.c *err = -EDQUOT; err 649 fs/ufs/balloc.c result = ufs_alloccg_block (inode, ucpi, goal, err); err 660 fs/ufs/balloc.c result = ufs_alloccg_block (inode, ucpi, goal, err); err 680 fs/ufs/balloc.c *err = -EDQUOT; err 751 fs/ufs/balloc.c *err = -EDQUOT; err 47 fs/ufs/dir.c int err = 0; err 56 fs/ufs/dir.c err = write_one_page(page, 1); err 59 fs/ufs/dir.c return err; err 95 fs/ufs/dir.c int err; err 98 fs/ufs/dir.c err = __ufs_write_begin(NULL, page->mapping, pos, len, err 100 fs/ufs/dir.c BUG_ON(err); err 105 fs/ufs/dir.c err = ufs_commit_chunk(page, pos, len); err 328 fs/ufs/dir.c int err; err 341 fs/ufs/dir.c err = PTR_ERR(page); err 361 fs/ufs/dir.c err = -EIO; err 364 fs/ufs/dir.c err = -EEXIST; err 384 fs/ufs/dir.c err = __ufs_write_begin(NULL, page->mapping, pos, rec_len, err 386 fs/ufs/dir.c if (err) err 402 fs/ufs/dir.c err = ufs_commit_chunk(page, pos, rec_len); err 410 fs/ufs/dir.c return err; err 528 fs/ufs/dir.c int err; err 541 fs/ufs/dir.c err = -EIO; err 552 fs/ufs/dir.c err = __ufs_write_begin(NULL, mapping, pos, to - from, err 554 fs/ufs/dir.c BUG_ON(err); err 558 fs/ufs/dir.c err = ufs_commit_chunk(page, pos, to - from); err 564 fs/ufs/dir.c return err; err 575 fs/ufs/dir.c int err; err 580 fs/ufs/dir.c err = __ufs_write_begin(NULL, mapping, 0, chunk_size, err 582 fs/ufs/dir.c if (err) { err 607 fs/ufs/dir.c err = ufs_commit_chunk(page, 0, chunk_size); err 610 fs/ufs/dir.c return err; err 36 fs/ufs/file.c int err; err 45 fs/ufs/file.c err = ufs_sync_inode(inode); err 47 fs/ufs/file.c ret = err; err 194 fs/ufs/ialloc.c int err = -ENOSPC; err 253 fs/ufs/ialloc.c err = -EIO; err 267 fs/ufs/ialloc.c err = -EIO; err 276 fs/ufs/ialloc.c err = -EIO; err 341 fs/ufs/ialloc.c err = -EIO; err 360 fs/ufs/ialloc.c err = -EDQUOT; err 374 fs/ufs/ialloc.c UFSD("EXIT (FAILED): err %d\n", err); err 375 fs/ufs/ialloc.c return ERR_PTR(err); err 380 fs/ufs/ialloc.c UFSD("EXIT (FAILED): err %d\n", err); err 381 fs/ufs/ialloc.c return ERR_PTR(err); err 235 fs/ufs/inode.c err, locked_page); err 252 fs/ufs/inode.c err, err 262 fs/ufs/inode.c err, phys != NULL ? locked_page : NULL); err 274 fs/ufs/inode.c goal, uspi->s_fpb, err, err 281 fs/ufs/inode.c *err = -ENOSPC; err 290 fs/ufs/inode.c *err = 0; err 384 fs/ufs/inode.c uspi->s_fpb, err, locked_page); err 421 fs/ufs/inode.c int ret, err, new; err 435 fs/ufs/inode.c err = -EIO; err 450 fs/ufs/inode.c err = 0; err 458 fs/ufs/inode.c ufs_inode_getfrag(inode, x, fragment, 1, &err, &phys, &new,\ err 461 fs/ufs/inode.c ufs_inode_getfrag(inode, x, fragment, uspi->s_fpb, &err, NULL, NULL,\ err 465 fs/ufs/inode.c &err, &phys, &new, bh_result->b_page) err 468 fs/ufs/inode.c &err, NULL, NULL, NULL) err 498 fs/ufs/inode.c if (err) err 505 fs/ufs/inode.c return err; err 526 fs/ufs/inode.c *err = error; err 546 fs/ufs/inode.c bh = ufs_getfrag (inode, fragment, create, err); err 554 fs/ufs/inode.c *err = -EIO; err 723 fs/ufs/inode.c int err; err 750 fs/ufs/inode.c err = ufs2_read_inode(inode, err 755 fs/ufs/inode.c err = ufs1_read_inode(inode, err 759 fs/ufs/inode.c if (err) err 40 fs/ufs/namei.c int err = ufs_add_link(dentry, inode); err 41 fs/ufs/namei.c if (!err) { err 47 fs/ufs/namei.c return err; err 84 fs/ufs/namei.c int err; err 88 fs/ufs/namei.c err = PTR_ERR(inode); err 96 fs/ufs/namei.c err = ufs_add_nondir(dentry, inode); err 99 fs/ufs/namei.c UFSD("END: err=%d\n", err); err 100 fs/ufs/namei.c return err; err 106 fs/ufs/namei.c int err; err 111 fs/ufs/namei.c err = PTR_ERR(inode); err 117 fs/ufs/namei.c err = ufs_add_nondir(dentry, inode); err 120 fs/ufs/namei.c return err; err 127 fs/ufs/namei.c int err = -ENAMETOOLONG; err 136 fs/ufs/namei.c err = PTR_ERR(inode); err 144 fs/ufs/namei.c err = page_symlink(inode, symname, l); err 145 fs/ufs/namei.c if (err) err 155 fs/ufs/namei.c err = ufs_add_nondir(dentry, inode); err 159 fs/ufs/namei.c return err; err 191 fs/ufs/namei.c int err = -EMLINK; err 200 fs/ufs/namei.c err = PTR_ERR(inode); err 210 fs/ufs/namei.c err = ufs_make_empty(inode, dir); err 211 fs/ufs/namei.c if (err) err 214 fs/ufs/namei.c err = ufs_add_link(dentry, inode); err 215 fs/ufs/namei.c if (err) err 221 fs/ufs/namei.c return err; err 238 fs/ufs/namei.c int err = -ENOENT; err 244 fs/ufs/namei.c err = ufs_delete_entry(dir, de, page); err 245 fs/ufs/namei.c if (err) err 250 fs/ufs/namei.c err = 0; err 252 fs/ufs/namei.c return err; err 258 fs/ufs/namei.c int err= -ENOTEMPTY; err 262 fs/ufs/namei.c err = ufs_unlink(dir, dentry); err 263 fs/ufs/namei.c if (!err) { err 270 fs/ufs/namei.c return err; err 282 fs/ufs/namei.c int err = -ENOENT; err 289 fs/ufs/namei.c err = -EIO; err 299 fs/ufs/namei.c err = -ENOTEMPTY; err 303 fs/ufs/namei.c err = -ENOENT; err 315 fs/ufs/namei.c err = -EMLINK; err 320 fs/ufs/namei.c err = ufs_add_link(new_dentry, old_inode); err 321 fs/ufs/namei.c if (err) { err 355 fs/ufs/namei.c return err; err 1361 fs/ufs/super.c int err = 0; err 1377 fs/ufs/super.c bh = ufs_bread(inode, blk, 0, &err); err 1378 fs/ufs/super.c if (err) err 1379 fs/ufs/super.c return err; err 1400 fs/ufs/super.c int err = 0; err 1411 fs/ufs/super.c bh = ufs_bread(inode, blk, 1, &err); err 1429 fs/ufs/super.c return err; err 1458 fs/ufs/super.c int err = init_inodecache(); err 1459 fs/ufs/super.c if (err) err 1461 fs/ufs/super.c err = register_filesystem(&ufs_fs_type); err 1462 fs/ufs/super.c if (err) err 1468 fs/ufs/super.c return err; err 382 fs/ufs/truncate.c int err = 0; err 402 fs/ufs/truncate.c err = -EIO; err 412 fs/ufs/truncate.c err = ufs_getfrag_block(inode, lastfrag, bh, 1); err 414 fs/ufs/truncate.c if (unlikely(err)) err 447 fs/ufs/truncate.c return err; err 455 fs/ufs/truncate.c int retry, err = 0; err 467 fs/ufs/truncate.c err = ufs_alloc_lastblock(inode); err 469 fs/ufs/truncate.c if (err) { err 499 fs/ufs/truncate.c UFSD("EXIT: err %d\n", err); err 500 fs/ufs/truncate.c return err; err 189 fs/vfat/namei.c int err = fat_scan(dir, name, &sinfo); err 190 fs/vfat/namei.c if (err) err 572 fs/vfat/namei.c int err, ulen, usize, i; err 581 fs/vfat/namei.c err = xlate_to_uni(name, len, (unsigned char *)uname, &ulen, &usize, err 583 fs/vfat/namei.c if (err) err 586 fs/vfat/namei.c err = vfat_is_used_badchars(uname, ulen); err 587 fs/vfat/namei.c if (err) err 590 fs/vfat/namei.c err = vfat_create_shortname(dir, sbi->nls_disk, uname, ulen, err 592 fs/vfat/namei.c if (err < 0) err 594 fs/vfat/namei.c else if (err == 1) { err 596 fs/vfat/namei.c err = 0; err 633 fs/vfat/namei.c return err; err 642 fs/vfat/namei.c int err, nr_slots; err 652 fs/vfat/namei.c err = vfat_build_slots(dir, qname->name, len, is_dir, cluster, ts, err 654 fs/vfat/namei.c if (err) err 657 fs/vfat/namei.c err = fat_add_entries(dir, slots, nr_slots, sinfo); err 658 fs/vfat/namei.c if (err) err 669 fs/vfat/namei.c return err; err 688 fs/vfat/namei.c int err, table; err 694 fs/vfat/namei.c err = vfat_find(dir, &dentry->d_name, &sinfo); err 695 fs/vfat/namei.c if (err) { err 735 fs/vfat/namei.c int err; err 740 fs/vfat/namei.c err = vfat_add_entry(dir, &dentry->d_name, 0, 0, &ts, &sinfo); err 741 fs/vfat/namei.c if (err) err 748 fs/vfat/namei.c err = PTR_ERR(inode); err 759 fs/vfat/namei.c return err; err 767 fs/vfat/namei.c int err; err 771 fs/vfat/namei.c err = fat_dir_empty(inode); err 772 fs/vfat/namei.c if (err) err 774 fs/vfat/namei.c err = vfat_find(dir, &dentry->d_name, &sinfo); err 775 fs/vfat/namei.c if (err) err 778 fs/vfat/namei.c err = fat_remove_entries(dir, &sinfo); /* and releases bh */ err 779 fs/vfat/namei.c if (err) err 789 fs/vfat/namei.c return err; err 797 fs/vfat/namei.c int err; err 801 fs/vfat/namei.c err = vfat_find(dir, &dentry->d_name, &sinfo); err 802 fs/vfat/namei.c if (err) err 805 fs/vfat/namei.c err = fat_remove_entries(dir, &sinfo); /* and releases bh */ err 806 fs/vfat/namei.c if (err) err 814 fs/vfat/namei.c return err; err 823 fs/vfat/namei.c int err, cluster; err 830 fs/vfat/namei.c err = cluster; err 833 fs/vfat/namei.c err = vfat_add_entry(dir, &dentry->d_name, 1, cluster, &ts, &sinfo); err 834 fs/vfat/namei.c if (err) err 842 fs/vfat/namei.c err = PTR_ERR(inode); err 861 fs/vfat/namei.c return err; err 873 fs/vfat/namei.c int err, is_dir, update_dotdot, corrupt = 0; err 880 fs/vfat/namei.c err = vfat_find(old_dir, &old_dentry->d_name, &old_sinfo); err 881 fs/vfat/namei.c if (err) err 889 fs/vfat/namei.c err = -EIO; err 897 fs/vfat/namei.c err = fat_dir_empty(new_inode); err 898 fs/vfat/namei.c if (err) err 904 fs/vfat/namei.c err = vfat_add_entry(new_dir, &new_dentry->d_name, is_dir, 0, err 906 fs/vfat/namei.c if (err) err 915 fs/vfat/namei.c err = fat_sync_inode(old_inode); err 916 fs/vfat/namei.c if (err) err 927 fs/vfat/namei.c err = sync_dirty_buffer(dotdot_bh); err 928 fs/vfat/namei.c if (err) err 936 fs/vfat/namei.c err = fat_remove_entries(old_dir, &old_sinfo); /* and releases bh */ err 938 fs/vfat/namei.c if (err) err 959 fs/vfat/namei.c return err; err 942 fs/xfs/linux-2.6/xfs_aops.c int flags, err, iomap_valid = 0, uptodate = 1; err 1059 fs/xfs/linux-2.6/xfs_aops.c err = xfs_map_blocks(inode, offset, size, err 1061 fs/xfs/linux-2.6/xfs_aops.c if (err) err 1090 fs/xfs/linux-2.6/xfs_aops.c err = xfs_map_blocks(inode, offset, size, err 1092 fs/xfs/linux-2.6/xfs_aops.c if (err) err 1155 fs/xfs/linux-2.6/xfs_aops.c if (err != -EAGAIN) { err 1160 fs/xfs/linux-2.6/xfs_aops.c return err; err 1218 fs/xfs/quota/xfs_qm_syscalls.c int err = 0; err 1223 fs/xfs/quota/xfs_qm_syscalls.c err++; err 1229 fs/xfs/quota/xfs_qm_syscalls.c err++; err 1238 fs/xfs/quota/xfs_qm_syscalls.c err++; err 1248 fs/xfs/quota/xfs_qm_syscalls.c err++; err 1252 fs/xfs/quota/xfs_qm_syscalls.c if (!err) { err 1257 fs/xfs/quota/xfs_qm_syscalls.c return (err); err 142 fs/xfs/xfs_filestream.c int err, trylock, nscan; err 163 fs/xfs/xfs_filestream.c err = xfs_alloc_pagf_init(mp, NULL, ag, trylock); err 164 fs/xfs/xfs_filestream.c if (err && !trylock) err 165 fs/xfs/xfs_filestream.c return err; err 264 fs/xfs/xfs_filestream.c int err = 0; err 322 fs/xfs/xfs_filestream.c err = xfs_mru_cache_insert(cache, ip->i_ino, item); err 323 fs/xfs/xfs_filestream.c if (err) { err 325 fs/xfs/xfs_filestream.c return err; err 430 fs/xfs/xfs_filestream.c int err; err 443 fs/xfs/xfs_filestream.c err = xfs_mru_cache_create(&mp->m_filestream, lifetime, grp_count, err 446 fs/xfs/xfs_filestream.c return err; err 529 fs/xfs/xfs_filestream.c int err = 0; err 570 fs/xfs/xfs_filestream.c err = _xfs_filestream_update_ag(ip, pip, ag); err 588 fs/xfs/xfs_filestream.c err = _xfs_filestream_pick_ag(mp, startag, &ag, 0, 0); err 589 fs/xfs/xfs_filestream.c if (err || ag == NULLAGNUMBER) err 593 fs/xfs/xfs_filestream.c err = _xfs_filestream_update_ag(pip, NULL, ag); err 594 fs/xfs/xfs_filestream.c if (err) err 598 fs/xfs/xfs_filestream.c err = _xfs_filestream_update_ag(ip, pip, ag); err 599 fs/xfs/xfs_filestream.c if (err) err 616 fs/xfs/xfs_filestream.c return -err; err 629 fs/xfs/xfs_filestream.c int flags, err; err 680 fs/xfs/xfs_filestream.c err = xfs_mru_cache_insert(cache, ip->i_ino, file); err 681 fs/xfs/xfs_filestream.c if (err) { err 683 fs/xfs/xfs_filestream.c return err; err 715 fs/xfs/xfs_filestream.c err = _xfs_filestream_pick_ag(mp, ag, agp, flags, minlen); err 716 fs/xfs/xfs_filestream.c if (err || *agp == NULLAGNUMBER) err 733 fs/xfs/xfs_filestream.c err = _xfs_filestream_update_ag(pip, NULL, *agp); err 734 fs/xfs/xfs_filestream.c if (err) err 738 fs/xfs/xfs_filestream.c err = _xfs_filestream_update_ag(ip, pip, *agp); err 739 fs/xfs/xfs_filestream.c if (err) err 759 fs/xfs/xfs_filestream.c return err; err 345 fs/xfs/xfs_mru_cache.c int err = 0, grp; err 365 fs/xfs/xfs_mru_cache.c err = ENOMEM; err 387 fs/xfs/xfs_mru_cache.c if (err && mru && mru->lists) err 389 fs/xfs/xfs_mru_cache.c if (err && mru) err 392 fs/xfs/xfs_mru_cache.c return err; err 28 include/asm-cris/arch-v10/uaccess.h : "=r" (err) \ err 29 include/asm-cris/arch-v10/uaccess.h : "r" (x), "r" (addr), "g" (-EFAULT), "0" (err)) err 44 include/asm-cris/arch-v10/uaccess.h : "=r" (err) \ err 45 include/asm-cris/arch-v10/uaccess.h : "r" (x), "r" (addr), "g" (-EFAULT), "0" (err)) err 61 include/asm-cris/arch-v10/uaccess.h : "=r" (err), "=r" (x) \ err 62 include/asm-cris/arch-v10/uaccess.h : "r" (addr), "g" (-EFAULT), "0" (err)) err 78 include/asm-cris/arch-v10/uaccess.h : "=r" (err), "=r" (x) \ err 79 include/asm-cris/arch-v10/uaccess.h : "r" (addr), "g" (-EFAULT), "0" (err)) err 190 include/asm-cris/arch-v32/hwregs/iop/iop_crc_par_defs.h unsigned int err : 1; err 105 include/asm-cris/arch-v32/hwregs/iop/iop_scrc_in_defs.h unsigned int err : 1; err 28 include/asm-cris/arch-v32/uaccess.h : "=r" (err) \ err 29 include/asm-cris/arch-v32/uaccess.h : "r" (x), "r" (addr), "g" (-EFAULT), "0" (err)) err 45 include/asm-cris/arch-v32/uaccess.h : "=r" (err), "=b" (dummy_for_put_user_asm_64_) \ err 47 include/asm-cris/arch-v32/uaccess.h "0" (err)); \ err 64 include/asm-cris/arch-v32/uaccess.h : "=r" (err), "=r" (x) \ err 65 include/asm-cris/arch-v32/uaccess.h : "r" (addr), "g" (-EFAULT), "0" (err)) err 82 include/asm-cris/arch-v32/uaccess.h : "=r" (err), "=r" (x), \ err 84 include/asm-cris/arch-v32/uaccess.h : "2" (addr), "g" (-EFAULT), "0" (err));\ err 155 include/asm-frv/uaccess.h : "=r" (err) \ err 156 include/asm-frv/uaccess.h : "m" (*__ptr(ptr)), constraint (x), "i"(-EFAULT), "0"(err) \ err 244 include/asm-frv/uaccess.h : "=r" (err), constraint (x) \ err 245 include/asm-frv/uaccess.h : "m" (*__ptr(ptr)), "i"(-EFAULT), "0"(err) \ err 268 include/asm-m32r/uaccess.h : "=&r" (err), "=&r" (x) \ err 269 include/asm-m32r/uaccess.h : "r" (addr), "i" (-EFAULT), "0" (err) \ err 335 include/asm-m32r/uaccess.h : "=&r" (err) \ err 336 include/asm-m32r/uaccess.h : "r" (x), "r" (addr), "i" (-EFAULT), "0" (err) \ err 360 include/asm-m32r/uaccess.h : "=&r" (err) \ err 361 include/asm-m32r/uaccess.h : "r" (x), "r" (addr), "i" (-EFAULT), "0" (err) \ err 407 include/asm-m32r/uaccess.h : "=&r" (err) \ err 408 include/asm-m32r/uaccess.h : "r" (x), "r" (addr), "i" (-EFAULT), "0" (err) \ err 60 include/asm-m68k/uaccess.h : #reg (x), "i" (err)) err 132 include/asm-m68k/uaccess.h : "m" (*(ptr)), "i" (err)); \ err 56 include/asm-parisc/futex.h int err = 0; err 68 include/asm-parisc/futex.h err = get_user(uval, uaddr); err 69 include/asm-parisc/futex.h if (err) return -EFAULT; err 71 include/asm-parisc/futex.h err = put_user(newval, uaddr); err 72 include/asm-parisc/futex.h if (err) return -EFAULT; err 60 include/asm-x86/i387.h int err; err 69 include/asm-x86/i387.h : [err] "=r" (err) err 75 include/asm-x86/i387.h return err; err 113 include/asm-x86/i387.h int err; err 122 include/asm-x86/i387.h : [err] "=r" (err), "=m" (*fx) err 128 include/asm-x86/i387.h if (unlikely(err) && err 130 include/asm-x86/i387.h err = -EFAULT; err 132 include/asm-x86/i387.h return err; err 205 include/asm-x86/kvm_host.h int (*page_fault)(struct kvm_vcpu *vcpu, gva_t gva, u32 err); err 61 include/asm-x86/msr.h : [err] "=r" (*err), EAX_EDX_RET(val, low, high) err 77 include/asm-x86/msr.h : "=r" (*err), EAX_EDX_RET(val, low, high) err 91 include/asm-x86/msr.h int err; err 98 include/asm-x86/msr.h : [err] "=a" (err) err 102 include/asm-x86/msr.h return err; err 172 include/asm-x86/msr.h int err; err 174 include/asm-x86/msr.h *p = native_read_msr_safe(msr, &err); err 175 include/asm-x86/msr.h return err; err 179 include/asm-x86/msr.h int err; err 181 include/asm-x86/msr.h *p = native_read_msr_amd_safe(msr, &err); err 182 include/asm-x86/msr.h return err; err 143 include/asm-x86/paravirt.h u64 (*read_msr_amd)(unsigned int msr, int *err); err 144 include/asm-x86/paravirt.h u64 (*read_msr)(unsigned int msr, int *err); err 726 include/asm-x86/paravirt.h return PVOP_CALL2(u64, pv_cpu_ops.read_msr, msr, err); err 730 include/asm-x86/paravirt.h return PVOP_CALL2(u64, pv_cpu_ops.read_msr_amd, msr, err); err 772 include/asm-x86/paravirt.h int err; err 774 include/asm-x86/paravirt.h *p = paravirt_read_msr(msr, &err); err 775 include/asm-x86/paravirt.h return err; err 779 include/asm-x86/paravirt.h int err; err 781 include/asm-x86/paravirt.h *p = paravirt_read_msr_amd(msr, &err); err 782 include/asm-x86/paravirt.h return err; err 116 include/asm-x86/sigcontext.h unsigned long err; err 152 include/asm-x86/sigcontext.h unsigned long err; err 213 include/asm-x86/sigcontext.h unsigned long err; err 255 include/asm-x86/sigcontext.h unsigned long err; err 64 include/asm-x86/sigcontext32.h unsigned int err; err 198 include/asm-x86/uaccess.h : "=r" (err) \ err 199 include/asm-x86/uaccess.h : "A" (x), "r" (addr), "i" (-EFAULT), "0" (err)) err 348 include/asm-x86/uaccess.h : "=r" (err), ltype(x) \ err 349 include/asm-x86/uaccess.h : "m" (__m(addr)), "i" (errret), "0" (err)) err 384 include/asm-x86/uaccess.h : "=r"(err) \ err 385 include/asm-x86/uaccess.h : ltype(x), "m" (__m(addr)), "i" (errret), "0" (err)) err 39 include/asm-x86/xsave.h int err; err 48 include/asm-x86/xsave.h : [err] "=r" (err) err 52 include/asm-x86/xsave.h return err; err 57 include/asm-x86/xsave.h int err; err 68 include/asm-x86/xsave.h : [err] "=r" (err) err 71 include/asm-x86/xsave.h if (unlikely(err) && __clear_user(buf, xstate_size)) err 72 include/asm-x86/xsave.h err = -EFAULT; err 74 include/asm-x86/xsave.h return err; err 79 include/asm-x86/xsave.h int err; err 94 include/asm-x86/xsave.h : [err] "=r" (err) err 97 include/asm-x86/xsave.h return err; err 308 include/asm-xtensa/uaccess.h :"=r" (err), "=r" (cb) \ err 309 include/asm-xtensa/uaccess.h :"r" ((int)(x)), "r" (addr), "i" (-EFAULT), "0" (err)) err 367 include/asm-xtensa/uaccess.h :"=r" (err), "=r" (cb), "=r" (x) \ err 368 include/asm-xtensa/uaccess.h :"r" (addr), "i" (-EFAULT), "0" (err)) err 294 include/crypto/algapi.h req->base.complete(&req->base, err); err 76 include/crypto/internal/aead.h aead_request_complete(&req->areq, err); err 95 include/crypto/internal/skcipher.h req->base.complete(&req->base, err); err 101 include/crypto/internal/skcipher.h ablkcipher_request_complete(&req->creq, err); err 1108 include/drm/drmP.h int err = (*dev->driver->device_is_agp) (dev); err 1110 include/drm/drmP.h if (err != 2) { err 1111 include/drm/drmP.h return err; err 64 include/linux/cn_proc.h __u32 err; err 11 include/linux/kdebug.h long err; err 50 include/linux/nfsd/nfsd.h __be32 err; /* 0, nfserr, or nfserr_eof */ err 270 include/linux/nfsd/state.h (((err) != nfserr_stale_clientid) && \ err 271 include/linux/nfsd/state.h ((err) != nfserr_bad_seqid) && \ err 272 include/linux/nfsd/state.h ((err) != nfserr_stale_stateid) && \ err 273 include/linux/nfsd/state.h ((err) != nfserr_bad_stateid)) err 167 include/linux/notifier.h return NOTIFY_STOP_MASK | (NOTIFY_OK - err); err 1307 include/linux/skbuff.h int err = pskb_trim(skb, len); err 1308 include/linux/skbuff.h BUG_ON(err); err 1495 include/linux/skbuff.h int err = 0; err 1497 include/linux/skbuff.h copy, 0, &err); err 1498 include/linux/skbuff.h if (!err) { err 62 include/media/v4l2-i2c-drv-legacy.h int err; err 67 include/media/v4l2-i2c-drv-legacy.h err = i2c_detach_client(client); err 68 include/media/v4l2-i2c-drv-legacy.h if (err) err 69 include/media/v4l2-i2c-drv-legacy.h return err; err 107 include/media/v4l2-i2c-drv-legacy.h int err; err 118 include/media/v4l2-i2c-drv-legacy.h err = i2c_add_driver(&v4l2_i2c_driver_legacy); err 120 include/media/v4l2-i2c-drv-legacy.h if (err) err 121 include/media/v4l2-i2c-drv-legacy.h return err; err 128 include/media/v4l2-i2c-drv-legacy.h err = i2c_add_driver(&v4l2_i2c_driver); err 129 include/media/v4l2-i2c-drv-legacy.h if (err) err 131 include/media/v4l2-i2c-drv-legacy.h return err; err 23 include/net/ah.h int err; err 29 include/net/ah.h err = crypto_hash_init(&desc); err 30 include/net/ah.h if (unlikely(err)) err 32 include/net/ah.h err = skb_icv_walk(skb, &desc, 0, skb->len, crypto_hash_update); err 33 include/net/ah.h if (unlikely(err)) err 35 include/net/ah.h err = crypto_hash_final(&desc, ahp->work_icv); err 38 include/net/ah.h return err; err 154 include/net/bluetooth/bluetooth.h if ((skb = sock_alloc_send_skb(sk, len + BT_SKB_RESERVE, nb, err))) { err 197 include/net/bluetooth/rfcomm.h void (*state_change)(struct rfcomm_dlc *d, int err); err 121 include/net/ip_fib.h int err; err 39 include/net/ipip.h int err; \ err 45 include/net/ipip.h err = ip_local_out(skb); \ err 46 include/net/ipip.h if (net_xmit_eval(err) == 0) { \ err 596 include/net/netlink.h int err; err 600 include/net/netlink.h err = netlink_broadcast(sk, skb, pid, group, flags); err 601 include/net/netlink.h if (err > 0) err 602 include/net/netlink.h err = 0; err 604 include/net/netlink.h return err; err 615 include/net/netlink.h int err; err 617 include/net/netlink.h err = netlink_unicast(sk, skb, pid, MSG_DONTWAIT); err 618 include/net/netlink.h if (err > 0) err 619 include/net/netlink.h err = 0; err 621 include/net/netlink.h return err; err 162 include/net/route.h int err; err 169 include/net/route.h err = __ip_route_output_key(net, rp, &fl); err 170 include/net/route.h if (err) err 171 include/net/route.h return err; err 73 include/net/scm.h int err; err 76 include/net/scm.h err = security_secid_to_secctx(scm->secid, &secdata, &seclen); err 78 include/net/scm.h if (!err) { err 128 include/net/sctp/command.h __be16 err; err 530 include/net/sctp/sctp.h _sctp_walk_errors((err), (chunk_hdr), ntohs((chunk_hdr)->length)) err 533 include/net/sctp/sctp.h for (err = (sctp_errhdr_t *)((void *)chunk_hdr + \ err 535 include/net/sctp/sctp.h (void *)err <= (void *)chunk_hdr + end - sizeof(sctp_errhdr_t) &&\ err 536 include/net/sctp/sctp.h (void *)err <= (void *)chunk_hdr + end - ntohs(err->length) &&\ err 537 include/net/sctp/sctp.h ntohs(err->length) >= sizeof(sctp_errhdr_t); \ err 538 include/net/sctp/sctp.h err = (sctp_errhdr_t *)((void *)err + WORD_ROUND(ntohs(err->length)))) err 527 include/net/sock.h struct sock * (*accept) (struct sock *sk, int flags, int *err); err 1105 include/net/sock.h int err = 0; err 1108 include/net/sock.h copy, 0, &err); err 1109 include/net/sock.h if (err) err 1110 include/net/sock.h return err; err 1176 include/net/sock.h int err; err 1179 include/net/sock.h err = xchg(&sk->sk_err, 0); err 1180 include/net/sock.h return -err; err 307 include/sound/asequencer.h int err; err 315 include/sound/vx_core.h #define vx_get_error(err) (-(err) & ~VX_ERR_MASK) err 199 include/xen/xenbus.h #define XENBUS_EXIST_ERR(err) ((err) == -ENOENT || (err) == -ERANGE) err 217 init/do_mounts.c int err = sys_mount(name, "/root", fs, flags, data); err 218 init/do_mounts.c if (err) err 219 init/do_mounts.c return err; err 243 init/do_mounts.c int err = do_mount_root(name, p, flags, root_mount_data); err 244 init/do_mounts.c switch (err) { err 125 init/do_mounts_md.c int err = 0; err 203 init/do_mounts_md.c err = sys_ioctl(fd, SET_ARRAY_INFO, (long)&ainfo); err 204 init/do_mounts_md.c for (i = 0; !err && i <= MD_SB_DISKS; i++) { err 213 init/do_mounts_md.c err = sys_ioctl(fd, ADD_NEW_DISK, (long)&dinfo); err 226 init/do_mounts_md.c if (!err) err 227 init/do_mounts_md.c err = sys_ioctl(fd, RUN_ARRAY, 0); err 228 init/do_mounts_md.c if (err) err 525 init/initramfs.c char *err = unpack_to_rootfs(__initramfs_start, err 527 init/initramfs.c if (err) err 528 init/initramfs.c panic(err); err 533 init/initramfs.c err = unpack_to_rootfs((char *)initrd_start, err 535 init/initramfs.c if (!err) { err 542 init/initramfs.c printk("it isn't (%s); looks like an initrd\n", err); err 552 init/initramfs.c err = unpack_to_rootfs((char *)initrd_start, err 554 init/initramfs.c if (err) err 555 init/initramfs.c panic(err); err 30 init/noinitramfs.c int err; err 32 init/noinitramfs.c err = sys_mkdir("/dev", 0755); err 33 init/noinitramfs.c if (err < 0) err 36 init/noinitramfs.c err = sys_mknod((const char __user *) "/dev/console", err 39 init/noinitramfs.c if (err < 0) err 42 init/noinitramfs.c err = sys_mkdir("/root", 0700); err 43 init/noinitramfs.c if (err < 0) err 50 init/noinitramfs.c return err; err 137 ipc/compat.c int err; err 139 ipc/compat.c err = __get_user(p64->uid, &up64->uid); err 140 ipc/compat.c err |= __get_user(p64->gid, &up64->gid); err 141 ipc/compat.c err |= __get_user(p64->mode, &up64->mode); err 142 ipc/compat.c return err; err 148 ipc/compat.c int err; err 150 ipc/compat.c err = __get_user(p->uid, &up->uid); err 151 ipc/compat.c err |= __get_user(p->gid, &up->gid); err 152 ipc/compat.c err |= __get_user(p->mode, &up->mode); err 153 ipc/compat.c return err; err 159 ipc/compat.c int err; err 161 ipc/compat.c err = __put_user(p64->key, &up64->key); err 162 ipc/compat.c err |= __put_user(p64->uid, &up64->uid); err 163 ipc/compat.c err |= __put_user(p64->gid, &up64->gid); err 164 ipc/compat.c err |= __put_user(p64->cuid, &up64->cuid); err 165 ipc/compat.c err |= __put_user(p64->cgid, &up64->cgid); err 166 ipc/compat.c err |= __put_user(p64->mode, &up64->mode); err 167 ipc/compat.c err |= __put_user(p64->seq, &up64->seq); err 168 ipc/compat.c return err; err 174 ipc/compat.c int err; err 178 ipc/compat.c err = __put_user(p->key, &up->key); err 180 ipc/compat.c err |= __put_user(u, &up->uid); err 182 ipc/compat.c err |= __put_user(g, &up->gid); err 184 ipc/compat.c err |= __put_user(u, &up->cuid); err 186 ipc/compat.c err |= __put_user(g, &up->cgid); err 187 ipc/compat.c err |= __put_user(p->mode, &up->mode); err 188 ipc/compat.c err |= __put_user(p->seq, &up->seq); err 189 ipc/compat.c return err; err 211 ipc/compat.c int err; err 215 ipc/compat.c err = __put_compat_ipc64_perm(&s64->sem_perm, &up64->sem_perm); err 216 ipc/compat.c err |= __put_user(s64->sem_otime, &up64->sem_otime); err 217 ipc/compat.c err |= __put_user(s64->sem_ctime, &up64->sem_ctime); err 218 ipc/compat.c err |= __put_user(s64->sem_nsems, &up64->sem_nsems); err 219 ipc/compat.c return err; err 225 ipc/compat.c int err; err 229 ipc/compat.c err = __put_compat_ipc_perm(&s->sem_perm, &up->sem_perm); err 230 ipc/compat.c err |= __put_user(s->sem_otime, &up->sem_otime); err 231 ipc/compat.c err |= __put_user(s->sem_ctime, &up->sem_ctime); err 232 ipc/compat.c err |= __put_user(s->sem_nsems, &up->sem_nsems); err 233 ipc/compat.c return err; err 240 ipc/compat.c int err, err2; err 264 ipc/compat.c err = sys_semctl(first, second, third, fourth); err 271 ipc/compat.c err = sys_semctl(first, second, third, fourth); err 272 ipc/compat.c if (err < 0) err 281 ipc/compat.c err = -EFAULT; err 286 ipc/compat.c err = get_compat_semid64_ds(&s64, compat_ptr(pad)); err 288 ipc/compat.c err = get_compat_semid_ds(&s64, compat_ptr(pad)); err 292 ipc/compat.c err = -EFAULT; err 293 ipc/compat.c if (err) err 297 ipc/compat.c err = sys_semctl(first, second, third, fourth); err 301 ipc/compat.c err = -EINVAL; err 304 ipc/compat.c return err; err 328 ipc/compat.c int err; err 337 ipc/compat.c err = -EINVAL; err 340 ipc/compat.c err = -EFAULT; err 347 ipc/compat.c err = do_msgrcv(first, &type, up->mtext, second, msgtyp, third); err 348 ipc/compat.c if (err < 0) err 351 ipc/compat.c err = -EFAULT; err 353 ipc/compat.c return err; err 359 ipc/compat.c int err; err 363 ipc/compat.c err = __get_compat_ipc64_perm(&m64->msg_perm, &up64->msg_perm); err 364 ipc/compat.c err |= __get_user(m64->msg_qbytes, &up64->msg_qbytes); err 365 ipc/compat.c return err; err 371 ipc/compat.c int err; err 375 ipc/compat.c err = __get_compat_ipc_perm(&m->msg_perm, &up->msg_perm); err 376 ipc/compat.c err |= __get_user(m->msg_qbytes, &up->msg_qbytes); err 377 ipc/compat.c return err; err 383 ipc/compat.c int err; err 387 ipc/compat.c err = __put_compat_ipc64_perm(&m64->msg_perm, &up64->msg_perm); err 388 ipc/compat.c err |= __put_user(m64->msg_stime, &up64->msg_stime); err 389 ipc/compat.c err |= __put_user(m64->msg_rtime, &up64->msg_rtime); err 390 ipc/compat.c err |= __put_user(m64->msg_ctime, &up64->msg_ctime); err 391 ipc/compat.c err |= __put_user(m64->msg_cbytes, &up64->msg_cbytes); err 392 ipc/compat.c err |= __put_user(m64->msg_qnum, &up64->msg_qnum); err 393 ipc/compat.c err |= __put_user(m64->msg_qbytes, &up64->msg_qbytes); err 394 ipc/compat.c err |= __put_user(m64->msg_lspid, &up64->msg_lspid); err 395 ipc/compat.c err |= __put_user(m64->msg_lrpid, &up64->msg_lrpid); err 396 ipc/compat.c return err; err 402 ipc/compat.c int err; err 406 ipc/compat.c err = __put_compat_ipc_perm(&m->msg_perm, &up->msg_perm); err 407 ipc/compat.c err |= __put_user(m->msg_stime, &up->msg_stime); err 408 ipc/compat.c err |= __put_user(m->msg_rtime, &up->msg_rtime); err 409 ipc/compat.c err |= __put_user(m->msg_ctime, &up->msg_ctime); err 410 ipc/compat.c err |= __put_user(m->msg_cbytes, &up->msg_cbytes); err 411 ipc/compat.c err |= __put_user(m->msg_qnum, &up->msg_qnum); err 412 ipc/compat.c err |= __put_user(m->msg_qbytes, &up->msg_qbytes); err 413 ipc/compat.c err |= __put_user(m->msg_lspid, &up->msg_lspid); err 414 ipc/compat.c err |= __put_user(m->msg_lrpid, &up->msg_lrpid); err 415 ipc/compat.c return err; err 420 ipc/compat.c int err, err2; err 429 ipc/compat.c err = sys_msgctl(first, second, uptr); err 434 ipc/compat.c err = get_compat_msqid64(&m64, uptr); err 436 ipc/compat.c err = get_compat_msqid(&m64, uptr); err 438 ipc/compat.c if (err) err 442 ipc/compat.c err = -EFAULT; err 444 ipc/compat.c err = sys_msgctl(first, second, p); err 450 ipc/compat.c err = sys_msgctl(first, second, p); err 451 ipc/compat.c if (err < 0) err 460 ipc/compat.c err = -EFAULT; err 464 ipc/compat.c err = -EINVAL; err 467 ipc/compat.c return err; err 473 ipc/compat.c int err; err 479 ipc/compat.c err = do_shmat(first, uptr, second, &raddr); err 480 ipc/compat.c if (err < 0) err 481 ipc/compat.c return err; err 505 ipc/compat.c int err; err 509 ipc/compat.c err = __put_compat_ipc64_perm(&s64->shm_perm, &up64->shm_perm); err 510 ipc/compat.c err |= __put_user(s64->shm_atime, &up64->shm_atime); err 511 ipc/compat.c err |= __put_user(s64->shm_dtime, &up64->shm_dtime); err 512 ipc/compat.c err |= __put_user(s64->shm_ctime, &up64->shm_ctime); err 513 ipc/compat.c err |= __put_user(s64->shm_segsz, &up64->shm_segsz); err 514 ipc/compat.c err |= __put_user(s64->shm_nattch, &up64->shm_nattch); err 515 ipc/compat.c err |= __put_user(s64->shm_cpid, &up64->shm_cpid); err 516 ipc/compat.c err |= __put_user(s64->shm_lpid, &up64->shm_lpid); err 517 ipc/compat.c return err; err 523 ipc/compat.c int err; err 527 ipc/compat.c err = __put_compat_ipc_perm(&s->shm_perm, &up->shm_perm); err 528 ipc/compat.c err |= __put_user(s->shm_atime, &up->shm_atime); err 529 ipc/compat.c err |= __put_user(s->shm_dtime, &up->shm_dtime); err 530 ipc/compat.c err |= __put_user(s->shm_ctime, &up->shm_ctime); err 531 ipc/compat.c err |= __put_user(s->shm_segsz, &up->shm_segsz); err 532 ipc/compat.c err |= __put_user(s->shm_nattch, &up->shm_nattch); err 533 ipc/compat.c err |= __put_user(s->shm_cpid, &up->shm_cpid); err 534 ipc/compat.c err |= __put_user(s->shm_lpid, &up->shm_lpid); err 535 ipc/compat.c return err; err 541 ipc/compat.c int err; err 547 ipc/compat.c err = __put_user(smi->shmmax, &up64->shmmax); err 548 ipc/compat.c err |= __put_user(smi->shmmin, &up64->shmmin); err 549 ipc/compat.c err |= __put_user(smi->shmmni, &up64->shmmni); err 550 ipc/compat.c err |= __put_user(smi->shmseg, &up64->shmseg); err 551 ipc/compat.c err |= __put_user(smi->shmall, &up64->shmall); err 552 ipc/compat.c return err; err 558 ipc/compat.c int err; err 564 ipc/compat.c err = __put_user(smi->shmmax, &up->shmmax); err 565 ipc/compat.c err |= __put_user(smi->shmmin, &up->shmmin); err 566 ipc/compat.c err |= __put_user(smi->shmmni, &up->shmmni); err 567 ipc/compat.c err |= __put_user(smi->shmseg, &up->shmseg); err 568 ipc/compat.c err |= __put_user(smi->shmall, &up->shmall); err 569 ipc/compat.c return err; err 575 ipc/compat.c int err; err 581 ipc/compat.c err = __put_user(si.used_ids, &uip->used_ids); err 582 ipc/compat.c err |= __put_user(si.shm_tot, &uip->shm_tot); err 583 ipc/compat.c err |= __put_user(si.shm_rss, &uip->shm_rss); err 584 ipc/compat.c err |= __put_user(si.shm_swp, &uip->shm_swp); err 585 ipc/compat.c err |= __put_user(si.swap_attempts, &uip->swap_attempts); err 586 ipc/compat.c err |= __put_user(si.swap_successes, &uip->swap_successes); err 587 ipc/compat.c return err; err 595 ipc/compat.c int err, err2; err 602 ipc/compat.c err = sys_shmctl(first, second, uptr); err 607 ipc/compat.c err = sys_shmctl(first, second, p); err 608 ipc/compat.c if (err < 0) err 617 ipc/compat.c err = -EFAULT; err 623 ipc/compat.c err = get_compat_shmid64_ds(&s64, uptr); err 625 ipc/compat.c err = get_compat_shmid_ds(&s64, uptr); err 627 ipc/compat.c if (err) err 631 ipc/compat.c err = -EFAULT; err 633 ipc/compat.c err = sys_shmctl(first, second, p); err 639 ipc/compat.c err = sys_shmctl(first, second, p); err 640 ipc/compat.c if (err < 0) err 649 ipc/compat.c err = -EFAULT; err 654 ipc/compat.c err = sys_shmctl(first, second, p); err 655 ipc/compat.c if (err < 0) err 659 ipc/compat.c err = -EFAULT; err 663 ipc/compat.c err = -EINVAL; err 666 ipc/compat.c return err; err 720 ipc/mqueue.c int err; err 733 ipc/mqueue.c err = PTR_ERR(dentry); err 738 ipc/mqueue.c err = -ENOENT; err 745 ipc/mqueue.c err = mnt_want_write(mqueue_mnt); err 746 ipc/mqueue.c if (err) err 748 ipc/mqueue.c err = vfs_unlink(dentry->d_parent->d_inode, dentry); err 759 ipc/mqueue.c return err; err 417 ipc/msg.c int err; err 431 ipc/msg.c err = security_msg_queue_msgctl(msq, cmd); err 432 ipc/msg.c if (err) err 442 ipc/msg.c err = -EPERM; err 460 ipc/msg.c err = -EINVAL; err 466 ipc/msg.c return err; err 472 ipc/msg.c int err, version; err 495 ipc/msg.c err = security_msg_queue_msgctl(NULL, cmd); err 496 ipc/msg.c if (err) err 497 ipc/msg.c return err; err 541 ipc/msg.c err = -EACCES; err 545 ipc/msg.c err = security_msg_queue_msgctl(msq, cmd); err 546 ipc/msg.c if (err) err 567 ipc/msg.c err = msgctl_down(ns, msqid, cmd, buf, version); err 568 ipc/msg.c return err; err 575 ipc/msg.c return err; err 640 ipc/msg.c int err; err 659 ipc/msg.c err = PTR_ERR(msq); err 666 ipc/msg.c err = -EACCES; err 670 ipc/msg.c err = security_msg_queue_msgsnd(msq, msg, msgflg); err 671 ipc/msg.c if (err) err 681 ipc/msg.c err = -EAGAIN; err 692 ipc/msg.c err = -EIDRM; err 698 ipc/msg.c err = -ERESTARTNOHAND; err 715 ipc/msg.c err = 0; err 723 ipc/msg.c return err; err 910 ipc/msg.c long err, mtype; err 912 ipc/msg.c err = do_msgrcv(msqid, &mtype, msgp->mtext, msgsz, msgtyp, msgflg); err 913 ipc/msg.c if (err < 0) err 917 ipc/msg.c err = -EFAULT; err 919 ipc/msg.c return err; err 32 ipc/msgutil.c int err; err 47 ipc/msgutil.c err = -EFAULT; err 62 ipc/msgutil.c err = -ENOMEM; err 68 ipc/msgutil.c err = -EFAULT; err 76 ipc/msgutil.c err = security_msg_msg_alloc(msg); err 77 ipc/msgutil.c if (err) err 84 ipc/msgutil.c return ERR_PTR(err); err 578 ipc/sem.c int err = -EINVAL; err 588 ipc/sem.c err = security_sem_semctl(NULL, cmd); err 589 ipc/sem.c if (err) err 590 ipc/sem.c return err; err 633 ipc/sem.c err = -EACCES; err 637 ipc/sem.c err = security_sem_semctl(sma, cmd); err 638 ipc/sem.c if (err) err 655 ipc/sem.c return err; err 658 ipc/sem.c return err; err 666 ipc/sem.c int err; err 677 ipc/sem.c err = -EACCES; err 681 ipc/sem.c err = security_sem_semctl(sma, cmd); err 682 ipc/sem.c if (err) err 685 ipc/sem.c err = -EACCES; err 704 ipc/sem.c err = -EIDRM; err 712 ipc/sem.c err = 0; err 714 ipc/sem.c err = -EFAULT; err 734 ipc/sem.c err = -EFAULT; err 741 ipc/sem.c err = -ERANGE; err 748 ipc/sem.c err = -EIDRM; err 763 ipc/sem.c err = 0; err 768 ipc/sem.c err = -EINVAL; err 776 ipc/sem.c err = curr->semval; err 779 ipc/sem.c err = curr->sempid; err 782 ipc/sem.c err = count_semncnt(sma,semnum); err 785 ipc/sem.c err = count_semzcnt(sma,semnum); err 792 ipc/sem.c err = -ERANGE; err 805 ipc/sem.c err = 0; err 814 ipc/sem.c return err; err 852 ipc/sem.c int err; err 867 ipc/sem.c err = security_sem_semctl(sma, cmd); err 868 ipc/sem.c if (err) err 880 ipc/sem.c err = -EINVAL; err 887 ipc/sem.c return err; err 892 ipc/sem.c int err = -EINVAL; err 907 ipc/sem.c err = semctl_nolock(ns, semid, cmd, version, arg); err 908 ipc/sem.c return err; err 916 ipc/sem.c err = semctl_main(ns,semid,semnum,cmd,version,arg); err 917 ipc/sem.c return err; err 920 ipc/sem.c err = semctl_down(ns, semid, cmd, version, arg); err 921 ipc/sem.c return err; err 225 ipc/shm.c int err = 0; err 227 ipc/shm.c err = sfd->vm_ops->set_policy(vma, new); err 228 ipc/shm.c return err; err 590 ipc/shm.c int err; err 603 ipc/shm.c err = security_shm_shmctl(shp, cmd); err 604 ipc/shm.c if (err) err 615 ipc/shm.c err = -EINVAL; err 621 ipc/shm.c return err; err 627 ipc/shm.c int err, version; err 631 ipc/shm.c err = -EINVAL; err 643 ipc/shm.c err = security_shm_shmctl(NULL, cmd); err 644 ipc/shm.c if (err) err 645 ipc/shm.c return err; err 657 ipc/shm.c err = ipc_get_maxid(&shm_ids(ns)); err 660 ipc/shm.c if(err<0) err 661 ipc/shm.c err = 0; err 668 ipc/shm.c err = security_shm_shmctl(NULL, cmd); err 669 ipc/shm.c if (err) err 670 ipc/shm.c return err; err 679 ipc/shm.c err = ipc_get_maxid(&shm_ids(ns)); err 682 ipc/shm.c err = -EFAULT; err 686 ipc/shm.c err = err < 0 ? 0 : err; err 696 ipc/shm.c err = -EFAULT; err 703 ipc/shm.c err = PTR_ERR(shp); err 710 ipc/shm.c err = PTR_ERR(shp); err 715 ipc/shm.c err=-EACCES; err 718 ipc/shm.c err = security_shm_shmctl(shp, cmd); err 719 ipc/shm.c if (err) err 732 ipc/shm.c err = -EFAULT; err 734 ipc/shm.c err = result; err 742 ipc/shm.c err = PTR_ERR(shp); err 746 ipc/shm.c err = audit_ipc_obj(&(shp->shm_perm)); err 747 ipc/shm.c if (err) err 751 ipc/shm.c err = -EPERM; err 760 ipc/shm.c err = security_shm_shmctl(shp, cmd); err 761 ipc/shm.c if (err) err 767 ipc/shm.c err = shmem_lock(shp->shm_file, 1, user); err 768 ipc/shm.c if (!err && !(shp->shm_perm.mode & SHM_LOCKED)){ err 783 ipc/shm.c err = shmctl_down(ns, shmid, cmd, buf, version); err 784 ipc/shm.c return err; err 792 ipc/shm.c return err; err 808 ipc/shm.c int err; err 818 ipc/shm.c err = -EINVAL; err 860 ipc/shm.c err = PTR_ERR(shp); err 864 ipc/shm.c err = -EACCES; err 868 ipc/shm.c err = security_shm_shmat(shp, shmaddr, shmflg); err 869 ipc/shm.c if (err) err 878 ipc/shm.c err = -ENOMEM; err 896 ipc/shm.c err = -EINVAL; err 910 ipc/shm.c err = 0; err 912 ipc/shm.c err = (long)user_addr; err 931 ipc/shm.c return err; err 947 ipc/shm.c long err; err 949 ipc/shm.c err = do_shmat(shmid, shmaddr, shmflg, &ret); err 950 ipc/shm.c if (err) err 951 ipc/shm.c return err; err 261 ipc/util.c int id, err; err 269 ipc/util.c err = idr_get_new(&ids->ipcs_idr, new, &id); err 270 ipc/util.c if (err) err 271 ipc/util.c return err; err 303 ipc/util.c int err; err 305 ipc/util.c err = idr_pre_get(&ids->ipcs_idr, GFP_KERNEL); err 307 ipc/util.c if (!err) err 311 ipc/util.c err = ops->getnew(ns, params); err 314 ipc/util.c if (err == -EAGAIN) err 317 ipc/util.c return err; err 337 ipc/util.c int err; err 340 ipc/util.c err = -EACCES; err 342 ipc/util.c err = ops->associate(ipcp, params->flg); err 343 ipc/util.c if (!err) err 344 ipc/util.c err = ipcp->id; err 347 ipc/util.c return err; err 369 ipc/util.c int err; err 371 ipc/util.c err = idr_pre_get(&ids->ipcs_idr, GFP_KERNEL); err 382 ipc/util.c err = -ENOENT; err 383 ipc/util.c else if (!err) err 384 ipc/util.c err = -ENOMEM; err 386 ipc/util.c err = ops->getnew(ns, params); err 391 ipc/util.c err = -EEXIST; err 393 ipc/util.c err = 0; err 395 ipc/util.c err = ops->more_checks(ipcp, params); err 396 ipc/util.c if (!err) err 401 ipc/util.c err = ipc_check_perms(ipcp, ops, params); err 407 ipc/util.c if (err == -EAGAIN) err 410 ipc/util.c return err; err 619 ipc/util.c int requested_mode, granted_mode, err; err 621 ipc/util.c if (unlikely((err = audit_ipc_obj(ipcp)))) err 622 ipc/util.c return err; err 787 ipc/util.c int err; err 792 ipc/util.c err = PTR_ERR(ipcp); err 796 ipc/util.c err = audit_ipc_obj(ipcp); err 797 ipc/util.c if (err) err 801 ipc/util.c err = audit_ipc_set_perm(extra_perm, perm->uid, err 803 ipc/util.c if (err) err 810 ipc/util.c err = -EPERM; err 815 ipc/util.c return ERR_PTR(err); err 377 kernel/audit.c int err; err 380 kernel/audit.c err = netlink_unicast(audit_sock, skb, audit_nlk_pid, 0); err 381 kernel/audit.c if (err < 0) { err 382 kernel/audit.c BUG_ON(err != -ECONNREFUSED); /* Shoudn't happen */ err 455 kernel/audit.c int err; err 459 kernel/audit.c err = -ESRCH; err 462 kernel/audit.c err = 0; err 466 kernel/audit.c err = -EPERM; err 468 kernel/audit.c if (err) err 474 kernel/audit.c return err; err 594 kernel/audit.c int err = 0; err 611 kernel/audit.c err = -EPERM; err 617 kernel/audit.c err = -EPERM; err 620 kernel/audit.c err = -EINVAL; err 623 kernel/audit.c return err; err 660 kernel/audit.c int err; err 669 kernel/audit.c err = audit_netlink_ok(skb, msg_type); err 670 kernel/audit.c if (err) err 671 kernel/audit.c return err; err 678 kernel/audit.c err = PTR_ERR(kauditd_task); err 680 kernel/audit.c return err; err 708 kernel/audit.c err = audit_set_enabled(status_get->enabled, err 710 kernel/audit.c if (err < 0) err 711 kernel/audit.c return err; err 714 kernel/audit.c err = audit_set_failure(status_get->failure, err 716 kernel/audit.c if (err < 0) err 717 kernel/audit.c return err; err 731 kernel/audit.c err = audit_set_rate_limit(status_get->rate_limit, err 733 kernel/audit.c if (err < 0) err 734 kernel/audit.c return err; err 737 kernel/audit.c err = audit_set_backlog_limit(status_get->backlog_limit, err 746 kernel/audit.c err = audit_filter_user(&NETLINK_CB(skb)); err 747 kernel/audit.c if (err == 1) { err 748 kernel/audit.c err = 0; err 750 kernel/audit.c err = audit_prepare_user_tty(pid, loginuid, err 752 kernel/audit.c if (err) err 787 kernel/audit.c err = audit_receive_filter(msg_type, NETLINK_CB(skb).pid, err 806 kernel/audit.c err = audit_receive_filter(msg_type, NETLINK_CB(skb).pid, err 825 kernel/audit.c err = -EINVAL; err 833 kernel/audit.c err = PTR_ERR(old); err 838 kernel/audit.c err = PTR_ERR(new); err 843 kernel/audit.c err = audit_tag_tree(old, new); err 852 kernel/audit.c audit_log_format(ab, " res=%d", !err); err 859 kernel/audit.c err = security_secid_to_secctx(audit_sig_sid, &ctx, &len); err 860 kernel/audit.c if (err) err 861 kernel/audit.c return err; err 882 kernel/audit.c err = -ESRCH; err 905 kernel/audit.c err = -ESRCH; err 915 kernel/audit.c err = -EINVAL; err 919 kernel/audit.c return err < 0 ? err : 0; err 929 kernel/audit.c int err; err 940 kernel/audit.c if ((err = audit_receive_msg(skb, nlh))) { err 941 kernel/audit.c netlink_ack(skb, nlh, err); err 1053 kernel/audit.c goto err; err 1058 kernel/audit.c goto err; err 1068 kernel/audit.c err: err 539 kernel/audit_tree.c int err; err 547 kernel/audit_tree.c err = path_lookup(tree->pathname, 0, &nd); err 548 kernel/audit_tree.c if (err) err 624 kernel/audit_tree.c int err; err 640 kernel/audit_tree.c err = path_lookup(tree->pathname, 0, &nd); err 641 kernel/audit_tree.c if (err) err 646 kernel/audit_tree.c err = -ENOMEM; err 653 kernel/audit_tree.c err = tag_chunk(p->mnt_root->d_inode, tree); err 654 kernel/audit_tree.c if (err) err 661 kernel/audit_tree.c if (!err) { err 686 kernel/audit_tree.c return err; err 698 kernel/audit_tree.c int err; err 700 kernel/audit_tree.c err = path_lookup(new, 0, &nd); err 701 kernel/audit_tree.c if (err) err 702 kernel/audit_tree.c return err; err 708 kernel/audit_tree.c err = path_lookup(old, 0, &nd); err 709 kernel/audit_tree.c if (err) { err 711 kernel/audit_tree.c return err; err 736 kernel/audit_tree.c err = path_lookup(tree->pathname, 0, &nd); err 737 kernel/audit_tree.c if (err) { err 355 kernel/auditfilter.c int i, err; err 357 kernel/auditfilter.c err = -EINVAL; err 380 kernel/auditfilter.c err = -ENOMEM; err 412 kernel/auditfilter.c return ERR_PTR(err); err 421 kernel/auditfilter.c int err = 0; err 435 kernel/auditfilter.c err = -EINVAL; err 459 kernel/auditfilter.c err = -EINVAL; err 472 kernel/auditfilter.c err = -EINVAL; err 486 kernel/auditfilter.c err = audit_to_inode(&entry->rule, f); err 487 kernel/auditfilter.c if (err) err 501 kernel/auditfilter.c err = -EINVAL; err 514 kernel/auditfilter.c err = -EINVAL; err 524 kernel/auditfilter.c return ERR_PTR(err); err 531 kernel/auditfilter.c int err = 0; err 548 kernel/auditfilter.c err = -EINVAL; err 599 kernel/auditfilter.c err = security_audit_rule_init(f->type, f->op, str, err 603 kernel/auditfilter.c if (err == -EINVAL) { err 606 kernel/auditfilter.c err = 0; err 608 kernel/auditfilter.c if (err) { err 620 kernel/auditfilter.c err = audit_to_watch(&entry->rule, str, f->val, f->op); err 621 kernel/auditfilter.c if (err) { err 632 kernel/auditfilter.c err = audit_make_tree(&entry->rule, str, f->op); err 634 kernel/auditfilter.c if (err) err 638 kernel/auditfilter.c err = audit_to_inode(&entry->rule, f); err 639 kernel/auditfilter.c if (err) err 643 kernel/auditfilter.c err = -EINVAL; err 673 kernel/auditfilter.c err = -EINVAL; err 683 kernel/auditfilter.c return ERR_PTR(err); err 909 kernel/auditfilter.c int i, err = 0; err 950 kernel/auditfilter.c err = audit_dupe_lsm_field(&new->fields[i], err 956 kernel/auditfilter.c err = -ENOMEM; err 960 kernel/auditfilter.c if (err) { err 962 kernel/auditfilter.c return ERR_PTR(err); err 1138 kernel/auditfilter.c int err; err 1150 kernel/auditfilter.c err = path_lookup(path, LOOKUP_PARENT, ndparent); err 1151 kernel/auditfilter.c if (err) { err 1154 kernel/auditfilter.c return err; err 1157 kernel/auditfilter.c err = path_lookup(path, 0, ndwatch); err 1158 kernel/auditfilter.c if (err) { err 1270 kernel/auditfilter.c int h, err; err 1289 kernel/auditfilter.c err = -EEXIST; err 1298 kernel/auditfilter.c err = audit_get_nd(watch->path, &ndp, &ndw); err 1299 kernel/auditfilter.c if (err) err 1306 kernel/auditfilter.c err = audit_add_watch(&entry->rule, ndp, ndw); err 1307 kernel/auditfilter.c if (err) { err 1315 kernel/auditfilter.c err = audit_add_tree_rule(&entry->rule); err 1316 kernel/auditfilter.c if (err) { err 1344 kernel/auditfilter.c return err; err 1561 kernel/auditfilter.c int err = 0; err 1590 kernel/auditfilter.c err = PTR_ERR(tsk); err 1602 kernel/auditfilter.c err = audit_add_rule(entry, err 1605 kernel/auditfilter.c &entry->rule, !err); err 1607 kernel/auditfilter.c if (err) err 1619 kernel/auditfilter.c err = audit_del_rule(entry, err 1622 kernel/auditfilter.c &entry->rule, !err); err 1630 kernel/auditfilter.c return err; err 1787 kernel/auditfilter.c int i, err = 0; err 1803 kernel/auditfilter.c if (!err) err 1804 kernel/auditfilter.c err = PTR_ERR(nentry); err 1825 kernel/auditfilter.c return err; err 1546 kernel/cgroup.c int err; err 1549 kernel/cgroup.c err = generic_file_open(inode, file); err 1550 kernel/cgroup.c if (err) err 1551 kernel/cgroup.c return err; err 1564 kernel/cgroup.c err = single_open(file, cgroup_seqfile_show, state); err 1565 kernel/cgroup.c if (err < 0) err 1568 kernel/cgroup.c err = cft->open(inode, file); err 1570 kernel/cgroup.c err = 0; err 1572 kernel/cgroup.c return err; err 1709 kernel/cgroup.c int i, err; err 1711 kernel/cgroup.c err = cgroup_add_file(cgrp, subsys, &cft[i]); err 1712 kernel/cgroup.c if (err) err 1713 kernel/cgroup.c return err; err 2052 kernel/cgroup.c goto err; err 2082 kernel/cgroup.c err: err 2237 kernel/cgroup.c int err; err 2243 kernel/cgroup.c err = cgroup_add_files(cgrp, NULL, files, ARRAY_SIZE(files)); err 2244 kernel/cgroup.c if (err < 0) err 2245 kernel/cgroup.c return err; err 2248 kernel/cgroup.c if ((err = cgroup_add_file(cgrp, NULL, &cft_release_agent)) < 0) err 2249 kernel/cgroup.c return err; err 2253 kernel/cgroup.c if (ss->populate && (err = ss->populate(ss, cgrp)) < 0) err 2254 kernel/cgroup.c return err; err 2286 kernel/cgroup.c int err = 0; err 2318 kernel/cgroup.c err = PTR_ERR(css); err 2327 kernel/cgroup.c err = cgroup_create_dir(cgrp, dentry, mode); err 2328 kernel/cgroup.c if (err < 0) err 2334 kernel/cgroup.c err = cgroup_populate_dir(cgrp); err 2360 kernel/cgroup.c return err; err 2545 kernel/cgroup.c int err; err 2549 kernel/cgroup.c err = bdi_init(&cgroup_backing_dev_info); err 2550 kernel/cgroup.c if (err) err 2551 kernel/cgroup.c return err; err 2563 kernel/cgroup.c err = register_filesystem(&cgroup_fs_type); err 2564 kernel/cgroup.c if (err < 0) err 2570 kernel/cgroup.c if (err) err 2573 kernel/cgroup.c return err; err 517 kernel/compat.c long err; err 527 kernel/compat.c err = sys_timer_settime(timer_id, flags, err 531 kernel/compat.c if (!err && old && put_compat_itimerspec(old, &oldts)) err 533 kernel/compat.c return err; err 539 kernel/compat.c long err; err 545 kernel/compat.c err = sys_timer_gettime(timer_id, err 548 kernel/compat.c if (!err && put_compat_itimerspec(setting, &ts)) err 550 kernel/compat.c return err; err 556 kernel/compat.c long err; err 564 kernel/compat.c err = sys_clock_settime(which_clock, err 567 kernel/compat.c return err; err 573 kernel/compat.c long err; err 579 kernel/compat.c err = sys_clock_gettime(which_clock, err 582 kernel/compat.c if (!err && put_compat_timespec(&ts, tp)) err 584 kernel/compat.c return err; err 590 kernel/compat.c long err; err 596 kernel/compat.c err = sys_clock_getres(which_clock, err 599 kernel/compat.c if (!err && tp && put_compat_timespec(&ts, tp)) err 601 kernel/compat.c return err; err 606 kernel/compat.c long err; err 614 kernel/compat.c err = clock_nanosleep_restart(restart); err 617 kernel/compat.c if ((err == -ERESTART_RESTARTBLOCK) && rmtp && err 621 kernel/compat.c if (err == -ERESTART_RESTARTBLOCK) { err 625 kernel/compat.c return err; err 632 kernel/compat.c long err; err 642 kernel/compat.c err = sys_clock_nanosleep(which_clock, flags, err 647 kernel/compat.c if ((err == -ERESTART_RESTARTBLOCK) && rmtp && err 651 kernel/compat.c if (err == -ERESTART_RESTARTBLOCK) { err 656 kernel/compat.c return err; err 861 kernel/compat.c int err; err 868 kernel/compat.c err = security_settime(&tv, NULL); err 869 kernel/compat.c if (err) err 870 kernel/compat.c return err; err 200 kernel/cpu.c int err; err 203 kernel/cpu.c err = __cpu_disable(); err 204 kernel/cpu.c if (err < 0) err 205 kernel/cpu.c return err; err 219 kernel/cpu.c int err, nr_calls = 0; err 235 kernel/cpu.c err = __raw_notifier_call_chain(&cpu_chain, CPU_DOWN_PREPARE | mod, err 237 kernel/cpu.c if (err == NOTIFY_BAD) { err 243 kernel/cpu.c err = -EINVAL; err 254 kernel/cpu.c err = __stop_machine(take_cpu_down, &tcd_param, &tmp); err 255 kernel/cpu.c if (err) { err 283 kernel/cpu.c if (!err) { err 288 kernel/cpu.c return err; err 293 kernel/cpu.c int err = 0; err 298 kernel/cpu.c err = -EBUSY; err 314 kernel/cpu.c err = _cpu_down(cpu, 0); err 321 kernel/cpu.c return err; err 369 kernel/cpu.c int err = 0; err 383 kernel/cpu.c err = -EBUSY; err 387 kernel/cpu.c err = _cpu_up(cpu, 0); err 391 kernel/cpu.c return err; err 1174 kernel/cpuset.c int err; err 1183 kernel/cpuset.c err = validate_change(cs, &trialcs); err 1184 kernel/cpuset.c if (err < 0) err 1185 kernel/cpuset.c return err; err 1329 kernel/cpuset.c int err; err 1333 kernel/cpuset.c err = set_cpus_allowed_ptr(tsk, &cpus); err 1335 kernel/cpuset.c if (err) err 1672 kernel/cpuset.c int err; err 1674 kernel/cpuset.c err = cgroup_add_files(cont, ss, files, ARRAY_SIZE(files)); err 1675 kernel/cpuset.c if (err) err 1676 kernel/cpuset.c return err; err 1679 kernel/cpuset.c err = cgroup_add_file(cont, ss, err 1681 kernel/cpuset.c return err; err 1814 kernel/cpuset.c int err = 0; err 1824 kernel/cpuset.c err = register_filesystem(&cpuset_fs_type); err 1825 kernel/cpuset.c if (err < 0) err 1826 kernel/cpuset.c return err; err 79 kernel/dma-coherent.c int pos, err; err 87 kernel/dma-coherent.c err = bitmap_allocate_region(mem->bitmap, pos, get_order(size)); err 88 kernel/dma-coherent.c if (err != 0) err 89 kernel/dma-coherent.c return ERR_PTR(err); err 90 kernel/exec_domain.c int err = -EBUSY; err 106 kernel/exec_domain.c err = 0; err 110 kernel/exec_domain.c return (err); err 1207 kernel/exit.c int err; err 1223 kernel/exit.c err = security_task_wait(p); err 1224 kernel/exit.c if (err) err 1225 kernel/exit.c return err; err 210 kernel/fork.c int err; err 224 kernel/fork.c err = arch_dup_task_struct(tsk, orig); err 225 kernel/fork.c if (err) err 230 kernel/fork.c err = prop_local_init_single(&tsk->dirties); err 231 kernel/fork.c if (err) err 558 kernel/fork.c int err; err 581 kernel/fork.c err = dup_mmap(mm, oldmm); err 582 kernel/fork.c if (err) err 1566 kernel/fork.c int err = 0; err 1577 kernel/fork.c err = -EINVAL; err 1591 kernel/fork.c if ((err = unshare_thread(unshare_flags))) err 1593 kernel/fork.c if ((err = unshare_fs(unshare_flags, &new_fs))) err 1595 kernel/fork.c if ((err = unshare_sighand(unshare_flags, &new_sigh))) err 1597 kernel/fork.c if ((err = unshare_vm(unshare_flags, &new_mm))) err 1599 kernel/fork.c if ((err = unshare_fd(unshare_flags, &new_fd))) err 1601 kernel/fork.c if ((err = unshare_nsproxy_namespaces(unshare_flags, &new_nsproxy, err 1666 kernel/fork.c return err; err 189 kernel/futex.c int err; err 260 kernel/futex.c err = get_user_pages(current, mm, address, 1, 0, 0, &page, NULL); err 261 kernel/futex.c if (err >= 0) { err 267 kernel/futex.c return err; err 44 kernel/irq/proc.c int err; err 50 kernel/irq/proc.c err = cpumask_parse_user(buffer, count, new_value); err 51 kernel/irq/proc.c if (err) err 52 kernel/irq/proc.c return err; err 96 kernel/irq/proc.c int err; err 98 kernel/irq/proc.c err = cpumask_parse_user(buffer, count, new_value); err 99 kernel/irq/proc.c if (err) err 100 kernel/irq/proc.c return err; err 173 kernel/kgdb.c int err; err 175 kernel/kgdb.c err = probe_kernel_read(saved_instr, (char *)addr, BREAK_INSTR_SIZE); err 176 kernel/kgdb.c if (err) err 177 kernel/kgdb.c return err; err 192 kernel/kgdb.c int err; err 198 kernel/kgdb.c err = kgdb_arch_set_breakpoint(addr, tmp_variable); err 199 kernel/kgdb.c if (err) err 200 kernel/kgdb.c return err; err 201 kernel/kgdb.c err = kgdb_arch_remove_breakpoint(addr, tmp_variable); err 202 kernel/kgdb.c if (err) err 205 kernel/kgdb.c return err; err 369 kernel/kgdb.c int err; err 377 kernel/kgdb.c err = probe_kernel_read(tmp, mem, count); err 378 kernel/kgdb.c if (!err) { err 388 kernel/kgdb.c return err; err 398 kernel/kgdb.c int err = 0; err 406 kernel/kgdb.c err = probe_kernel_write(mem, &c, 1); err 407 kernel/kgdb.c if (err) err 413 kernel/kgdb.c return err; err 480 kernel/kgdb.c int err; err 485 kernel/kgdb.c err = kgdb_ebin2mem(ptr, (char *)addr, length); err 487 kernel/kgdb.c err = kgdb_hex2mem(ptr, (char *)addr, length); err 488 kernel/kgdb.c if (err) err 489 kernel/kgdb.c return err; err 643 kernel/kgdb.c int err = kgdb_validate_break_address(addr); err 647 kernel/kgdb.c if (err) err 648 kernel/kgdb.c return err; err 910 kernel/kgdb.c int err; err 914 kernel/kgdb.c err = kgdb_mem2hex((char *)addr, remcom_out_buffer, length); err 915 kernel/kgdb.c if (err) err 916 kernel/kgdb.c error_packet(remcom_out_buffer, err); err 925 kernel/kgdb.c int err = write_mem_msg(0); err 927 kernel/kgdb.c if (err) err 928 kernel/kgdb.c error_packet(remcom_out_buffer, err); err 936 kernel/kgdb.c int err = write_mem_msg(1); err 938 kernel/kgdb.c if (err) err 939 kernel/kgdb.c error_packet(remcom_out_buffer, err); err 1642 kernel/kgdb.c int err; err 1655 kernel/kgdb.c err = new_kgdb_io_ops->init(); err 1656 kernel/kgdb.c if (err) { err 1658 kernel/kgdb.c return err; err 1049 kernel/kprobes.c int i, err = 0; err 1100 kernel/kprobes.c err = arch_init_kprobes(); err 1101 kernel/kprobes.c if (!err) err 1102 kernel/kprobes.c err = register_die_notifier(&kprobe_exceptions_nb); err 1103 kernel/kprobes.c kprobes_initialized = (err == 0); err 1105 kernel/kprobes.c if (!err) err 1107 kernel/kprobes.c return err; err 40 kernel/kthread.c int err; err 83 kernel/kthread.c kthread_stop_info.err = ret; err 221 kernel/kthread.c ret = kthread_stop_info.err; err 585 kernel/module.c int no_warn, err; err 591 kernel/module.c module_wq, (err = strong_try_module_get(b)) != -EBUSY, err 599 kernel/module.c if (err) err 1307 kernel/module.c int err; err 1313 kernel/module.c err = -EINVAL; err 1321 kernel/module.c err = -EINVAL; err 1329 kernel/module.c err = kobject_init_and_add(&mod->mkobj.kobj, &module_ktype, NULL, err 1331 kernel/module.c if (err) err 1336 kernel/module.c return err; err 1343 kernel/module.c int err; err 1347 kernel/module.c err = -ENOMEM; err 1351 kernel/module.c err = module_param_sysfs_setup(mod, kparam, num_params); err 1352 kernel/module.c if (err) err 1355 kernel/module.c err = module_add_modinfo_attrs(mod); err 1356 kernel/module.c if (err) err 1368 kernel/module.c return err; err 1835 kernel/module.c long err = 0; err 1850 kernel/module.c err = -EFAULT; err 1860 kernel/module.c err = -ENOEXEC; err 1898 kernel/module.c err = -ENOEXEC; err 1906 kernel/module.c err = -ENOEXEC; err 1946 kernel/module.c err = -ENOEXEC; err 1953 kernel/module.c err = try_to_force_load(mod, "magic"); err 1954 kernel/module.c if (err) err 1959 kernel/module.c err = -ENOEXEC; err 1966 kernel/module.c err = PTR_ERR(args); err 1971 kernel/module.c err = -EEXIST; err 1978 kernel/module.c err = module_frob_arch_sections(hdr, sechdrs, secstrings, mod); err 1979 kernel/module.c if (err < 0) err 1988 kernel/module.c err = -ENOMEM; err 2003 kernel/module.c err = -ENOMEM; err 2011 kernel/module.c err = -ENOMEM; err 2045 kernel/module.c err = mod_sysfs_init(mod); err 2046 kernel/module.c if (err) err 2068 kernel/module.c err = simplify_symbols(sechdrs, symindex, strtab, versindex, pcpuindex, err 2070 kernel/module.c if (err < 0) err 2112 kernel/module.c err = try_to_force_load(mod, "nocrc"); err 2113 kernel/module.c if (err) err 2135 kernel/module.c err = apply_relocate(sechdrs, strtab, symindex, i,mod); err 2137 kernel/module.c err = apply_relocate_add(sechdrs, strtab, symindex, i, err 2139 kernel/module.c if (err < 0) err 2149 kernel/module.c err = verify_export_symbols(mod); err 2151 kernel/module.c if (err < 0) err 2170 kernel/module.c err = module_finalize(hdr, sechdrs, mod); err 2171 kernel/module.c if (err < 0) err 2203 kernel/module.c err = parse_args(mod->name, mod->args, err 2209 kernel/module.c if (err < 0) err 2212 kernel/module.c err = mod_sysfs_setup(mod, err 2217 kernel/module.c if (err < 0) err 2251 kernel/module.c return ERR_PTR(err); err 2255 kernel/module.c err = -ENOEXEC; err 559 kernel/notifier.c .err = err, err 53 kernel/nsproxy.c int err; err 61 kernel/nsproxy.c err = PTR_ERR(new_nsp->mnt_ns); err 67 kernel/nsproxy.c err = PTR_ERR(new_nsp->uts_ns); err 73 kernel/nsproxy.c err = PTR_ERR(new_nsp->ipc_ns); err 79 kernel/nsproxy.c err = PTR_ERR(new_nsp->pid_ns); err 85 kernel/nsproxy.c err = PTR_ERR(new_nsp->user_ns); err 91 kernel/nsproxy.c err = PTR_ERR(new_nsp->net_ns); err 114 kernel/nsproxy.c return ERR_PTR(err); err 125 kernel/nsproxy.c int err = 0; err 137 kernel/nsproxy.c err = -EPERM; err 149 kernel/nsproxy.c err = -EINVAL; err 155 kernel/nsproxy.c err = PTR_ERR(new_ns); err 163 kernel/nsproxy.c return err; err 189 kernel/nsproxy.c int err = 0; err 201 kernel/nsproxy.c err = PTR_ERR(*new_nsp); err 205 kernel/nsproxy.c err = ns_cgroup_clone(current, task_pid(current)); err 206 kernel/nsproxy.c if (err) err 210 kernel/nsproxy.c return err; err 416 kernel/params.c int err; err 422 kernel/params.c err = attribute->param->set(buf, attribute->param); err 423 kernel/params.c if (!err) err 425 kernel/params.c return err; err 458 kernel/params.c int err; err 495 kernel/params.c if ((err = sysfs_create_group(&mk->kobj, &mp->grp))) { err 497 kernel/params.c return ERR_PTR(err); err 150 kernel/profile.c int err = -EINVAL; err 154 kernel/profile.c err = blocking_notifier_chain_register( err 158 kernel/profile.c err = blocking_notifier_chain_register( err 163 kernel/profile.c return err; err 169 kernel/profile.c int err = -EINVAL; err 173 kernel/profile.c err = blocking_notifier_chain_unregister( err 177 kernel/profile.c err = blocking_notifier_chain_unregister( err 182 kernel/profile.c return err; err 435 kernel/profile.c unsigned long full_count = count, err; err 438 kernel/profile.c err = cpumask_parse_user(buffer, count, new_value); err 439 kernel/profile.c if (err) err 440 kernel/profile.c return err; err 148 kernel/ptrace.c int err; err 150 kernel/ptrace.c err = __ptrace_may_access(task, mode); err 152 kernel/ptrace.c return (!err ? true : false); err 654 kernel/relay.c int err = 0; err 682 kernel/relay.c err = -EINVAL; err 688 kernel/relay.c err = -EINVAL; err 701 kernel/relay.c err = smp_call_function_single(i, err 705 kernel/relay.c if (unlikely(err)) err 711 kernel/relay.c return err; err 353 kernel/resource.c int err; err 356 kernel/resource.c err = find_resource(root, new, size, min, max, align, alignf, alignf_data); err 357 kernel/resource.c if (err >= 0 && __request_resource(root, new)) err 358 kernel/resource.c err = -EBUSY; err 360 kernel/resource.c return err; err 6606 kernel/sched.c int err; err 6609 kernel/sched.c err = migration_call(&migration_notifier, CPU_UP_PREPARE, cpu); err 6610 kernel/sched.c BUG_ON(err == NOTIFY_BAD); err 6614 kernel/sched.c return err; err 7705 kernel/sched.c int err; err 7714 kernel/sched.c err = build_sched_domains(doms_cur); err 7717 kernel/sched.c return err; err 7908 kernel/sched.c int err = 0; err 7912 kernel/sched.c err = sysfs_create_file(&cls->kset.kobj, err 7916 kernel/sched.c if (!err && mc_capable()) err 7917 kernel/sched.c err = sysfs_create_file(&cls->kset.kobj, err 7920 kernel/sched.c return err; err 8479 kernel/sched.c goto err; err 8482 kernel/sched.c goto err; err 8492 kernel/sched.c goto err; err 8497 kernel/sched.c goto err; err 8505 kernel/sched.c err: err 8567 kernel/sched.c goto err; err 8570 kernel/sched.c goto err; err 8581 kernel/sched.c goto err; err 8586 kernel/sched.c goto err; err 8594 kernel/sched.c err: err 8648 kernel/sched.c goto err; err 8651 kernel/sched.c goto err; err 8669 kernel/sched.c err: err 8934 kernel/sched.c int i, err = 0; err 8938 kernel/sched.c err = __rt_schedulable(tg, rt_period, rt_runtime); err 8939 kernel/sched.c if (err) err 8958 kernel/sched.c return err; err 9309 kernel/sched.c int err = 0; err 9313 kernel/sched.c err = -EINVAL; err 9325 kernel/sched.c return err; err 1039 kernel/signal.c int err = group_send_sig_info(sig, info, p); err 1040 kernel/signal.c success |= !err; err 1041 kernel/signal.c retval = err; err 1145 kernel/signal.c int err = group_send_sig_info(sig, info, p); err 1147 kernel/signal.c if (err != -EPERM) err 1148 kernel/signal.c retval = err; err 2062 kernel/signal.c int err; err 2078 kernel/signal.c err = __put_user(from->si_signo, &to->si_signo); err 2079 kernel/signal.c err |= __put_user(from->si_errno, &to->si_errno); err 2080 kernel/signal.c err |= __put_user((short)from->si_code, &to->si_code); err 2083 kernel/signal.c err |= __put_user(from->si_pid, &to->si_pid); err 2084 kernel/signal.c err |= __put_user(from->si_uid, &to->si_uid); err 2087 kernel/signal.c err |= __put_user(from->si_tid, &to->si_tid); err 2088 kernel/signal.c err |= __put_user(from->si_overrun, &to->si_overrun); err 2089 kernel/signal.c err |= __put_user(from->si_ptr, &to->si_ptr); err 2092 kernel/signal.c err |= __put_user(from->si_band, &to->si_band); err 2093 kernel/signal.c err |= __put_user(from->si_fd, &to->si_fd); err 2096 kernel/signal.c err |= __put_user(from->si_addr, &to->si_addr); err 2098 kernel/signal.c err |= __put_user(from->si_trapno, &to->si_trapno); err 2102 kernel/signal.c err |= __put_user(from->si_pid, &to->si_pid); err 2103 kernel/signal.c err |= __put_user(from->si_uid, &to->si_uid); err 2104 kernel/signal.c err |= __put_user(from->si_status, &to->si_status); err 2105 kernel/signal.c err |= __put_user(from->si_utime, &to->si_utime); err 2106 kernel/signal.c err |= __put_user(from->si_stime, &to->si_stime); err 2110 kernel/signal.c err |= __put_user(from->si_pid, &to->si_pid); err 2111 kernel/signal.c err |= __put_user(from->si_uid, &to->si_uid); err 2112 kernel/signal.c err |= __put_user(from->si_ptr, &to->si_ptr); err 2115 kernel/signal.c err |= __put_user(from->si_pid, &to->si_pid); err 2116 kernel/signal.c err |= __put_user(from->si_uid, &to->si_uid); err 2119 kernel/signal.c return err; err 216 kernel/smp.c int err = 0; err 242 kernel/smp.c err = -ENXIO; /* CPU not online */ err 246 kernel/smp.c return err; err 636 kernel/softirq.c int err = cpu_callback(&cpu_nfb, CPU_UP_PREPARE, cpu); err 638 kernel/softirq.c BUG_ON(err == NOTIFY_BAD); err 354 kernel/softlockup.c int err; err 359 kernel/softlockup.c err = cpu_callback(&cpu_nfb, CPU_UP_PREPARE, cpu); err 360 kernel/softlockup.c if (err == NOTIFY_BAD) { err 104 kernel/stop_machine.c int i, err; err 140 kernel/stop_machine.c err = PTR_ERR(threads[i]); err 175 kernel/stop_machine.c return err; err 911 kernel/sys.c int err; err 925 kernel/sys.c err = -ESRCH; err 930 kernel/sys.c err = -EINVAL; err 935 kernel/sys.c err = -EPERM; err 938 kernel/sys.c err = -EACCES; err 942 kernel/sys.c err = -ESRCH; err 947 kernel/sys.c err = -EPERM; err 961 kernel/sys.c err = security_task_setpgid(p, pgid); err 962 kernel/sys.c if (err) err 970 kernel/sys.c err = 0; err 974 kernel/sys.c return err; err 1047 kernel/sys.c int err = -EPERM; err 1065 kernel/sys.c err = session; err 1068 kernel/sys.c return err; err 1738 kernel/sys.c int err = 0; err 1741 kernel/sys.c err |= put_user(cpu, cpup); err 1743 kernel/sys.c err |= put_user(cpu_to_node(cpu), nodep); err 1744 kernel/sys.c return err ? -EFAULT : 0; err 1666 kernel/sysctl.c int err; err 1667 kernel/sysctl.c err = sysctl_check_table(current->nsproxy, root_table); err 371 kernel/taskstats.c goto err; err 373 kernel/taskstats.c goto err; err 376 kernel/taskstats.c goto err; err 380 kernel/taskstats.c err: err 409 kernel/taskstats.c goto err; err 419 kernel/taskstats.c goto err; err 424 kernel/taskstats.c err: err 464 kernel/taskstats.c goto err; err 468 kernel/taskstats.c goto err; err 473 kernel/taskstats.c goto err; err 477 kernel/taskstats.c goto err; err 479 kernel/taskstats.c goto err; err 482 kernel/taskstats.c err: err 548 kernel/taskstats.c goto err; err 552 kernel/taskstats.c goto err; err 562 kernel/taskstats.c goto err; err 569 kernel/taskstats.c err: err 607 kernel/taskstats.c goto err; err 618 kernel/taskstats.c err: err 83 kernel/time.c int err; err 90 kernel/time.c err = security_settime(&tv, NULL); err 91 kernel/time.c if (err) err 92 kernel/time.c return err; err 1490 kernel/timer.c int err = timer_cpu_notify(&timers_nb, (unsigned long)CPU_UP_PREPARE, err 1495 kernel/timer.c BUG_ON(err == NOTIFY_BAD); err 2113 kernel/trace/trace.c int err, cpu; err 2116 kernel/trace/trace.c err = cpumask_parse_user(ubuf, count, tracing_cpumask_new); err 2117 kernel/trace/trace.c if (err) err 2148 kernel/trace/trace.c return err; err 809 kernel/workqueue.c int err = 0, cpu; err 829 kernel/workqueue.c err = create_workqueue_thread(cwq, singlethread_cpu); err 850 kernel/workqueue.c if (err || !cpu_online(cpu)) err 852 kernel/workqueue.c err = create_workqueue_thread(cwq, cpu); err 858 kernel/workqueue.c if (err) { err 620 lib/debugobjects.c goto err; err 624 lib/debugobjects.c err: err 827 lib/idr.c goto err; err 834 lib/idr.c goto err; err 846 lib/idr.c err: err 75 lib/ioremap.c int err; err 84 lib/ioremap.c err = ioremap_pud_range(pgd, addr, next, phys_addr+addr, prot); err 85 lib/ioremap.c if (err) err 91 lib/ioremap.c return err; err 706 lib/kobject.c int err; err 712 lib/kobject.c err = kobject_add_internal(&k->kobj); err 713 lib/kobject.c if (err) err 714 lib/kobject.c return err; err 94 lib/percpu_counter.c int err; err 96 lib/percpu_counter.c err = percpu_counter_init(fbc, amount); err 97 lib/percpu_counter.c if (!err) err 99 lib/percpu_counter.c return err; err 78 lib/proportions.c int err; err 86 lib/proportions.c err = percpu_counter_init_irq(&pd->pg[0].events, 0); err 87 lib/proportions.c if (err) err 90 lib/proportions.c err = percpu_counter_init_irq(&pd->pg[1].events, 0); err 91 lib/proportions.c if (err) err 95 lib/proportions.c return err; err 142 lib/textsearch.c int err = -EEXIST; err 156 lib/textsearch.c err = 0; err 159 lib/textsearch.c return err; err 176 lib/textsearch.c int err = 0; err 187 lib/textsearch.c err = -ENOENT; err 190 lib/textsearch.c return err; err 262 lib/textsearch.c int err = -ENOENT; err 287 lib/textsearch.c err = PTR_ERR(conf); err 298 lib/textsearch.c return ERR_PTR(err); err 262 lib/ts_fsm.c int i, err = -EINVAL; err 303 lib/ts_fsm.c return ERR_PTR(err); err 323 lib/zlib_deflate/deflate.c int err = Z_OK; err 338 lib/zlib_deflate/deflate.c err = zlib_deflate(strm, Z_PARTIAL_FLUSH); err 348 lib/zlib_deflate/deflate.c return err; err 214 mm/backing-dev.c int err; err 223 mm/backing-dev.c err = percpu_counter_init_irq(&bdi->bdi_stat[i], 0); err 224 mm/backing-dev.c if (err) err 225 mm/backing-dev.c goto err; err 229 mm/backing-dev.c err = prop_local_init_percpu(&bdi->completions); err 231 mm/backing-dev.c if (err) { err 232 mm/backing-dev.c err: err 237 mm/backing-dev.c return err; err 299 mm/bootmem.c int err; err 310 mm/bootmem.c err = mark_bootmem_node(bdata, pos, max, reserve, flags); err 311 mm/bootmem.c if (reserve && err) { err 313 mm/bootmem.c return err; err 143 mm/bounce.c bio_endio(bio_orig, err); err 149 mm/bounce.c bounce_end_io(bio, page_pool, err); err 155 mm/bounce.c bounce_end_io(bio, isa_page_pool, err); err 165 mm/bounce.c bounce_end_io(bio, pool, err); err 170 mm/bounce.c __bounce_end_io_read(bio, page_pool, err); err 175 mm/bounce.c __bounce_end_io_read(bio, isa_page_pool, err); err 393 mm/filemap.c int err = 0; err 396 mm/filemap.c err = filemap_fdatawrite(mapping); err 403 mm/filemap.c if (err != -EIO) { err 405 mm/filemap.c if (!err) err 406 mm/filemap.c err = err2; err 409 mm/filemap.c return err; err 427 mm/filemap.c int err = 0; err 430 mm/filemap.c err = __filemap_fdatawrite_range(mapping, lstart, lend, err 433 mm/filemap.c if (err != -EIO) { err 437 mm/filemap.c if (!err) err 438 mm/filemap.c err = err2; err 441 mm/filemap.c return err; err 724 mm/filemap.c int err; err 731 mm/filemap.c err = add_to_page_cache_lru(page, mapping, index, gfp_mask); err 732 mm/filemap.c if (unlikely(err)) { err 735 mm/filemap.c if (err == -EEXIST) err 1627 mm/filemap.c int err; err 1634 mm/filemap.c err = add_to_page_cache_lru(page, mapping, index, GFP_KERNEL); err 1635 mm/filemap.c if (unlikely(err)) { err 1637 mm/filemap.c if (err == -EEXIST) err 1640 mm/filemap.c return ERR_PTR(err); err 1642 mm/filemap.c err = filler(data, page); err 1643 mm/filemap.c if (err < 0) { err 1645 mm/filemap.c page = ERR_PTR(err); err 1672 mm/filemap.c int err; err 1691 mm/filemap.c err = filler(data, page); err 1692 mm/filemap.c if (err < 0) { err 1694 mm/filemap.c return ERR_PTR(err); err 2181 mm/filemap.c int err = generic_osync_inode(inode, mapping, OSYNC_METADATA); err 2182 mm/filemap.c if (err < 0) err 2183 mm/filemap.c written = err; err 2527 mm/filemap.c ssize_t err; err 2530 mm/filemap.c err = generic_segment_checks(iov, &nr_segs, &ocount, VERIFY_READ); err 2531 mm/filemap.c if (err) err 2532 mm/filemap.c return err; err 2543 mm/filemap.c err = generic_write_checks(file, &pos, &count, S_ISBLK(inode->i_mode)); err 2544 mm/filemap.c if (err) err 2550 mm/filemap.c err = file_remove_suid(file); err 2551 mm/filemap.c if (err) err 2582 mm/filemap.c err = written_buffered; err 2592 mm/filemap.c err = do_sync_mapping_range(file->f_mapping, pos, endbyte, err 2596 mm/filemap.c if (err == 0) { err 2613 mm/filemap.c return written ? written : err; err 2630 mm/filemap.c ssize_t err; err 2632 mm/filemap.c err = sync_page_range_nolock(inode, mapping, pos, ret); err 2633 mm/filemap.c if (err < 0) err 2634 mm/filemap.c ret = err; err 2656 mm/filemap.c ssize_t err; err 2658 mm/filemap.c err = sync_page_range(inode, mapping, pos, ret); err 2659 mm/filemap.c if (err < 0) err 2660 mm/filemap.c ret = err; err 248 mm/filemap_xip.c int err; err 261 mm/filemap_xip.c err = vm_insert_mixed(vma, (unsigned long)vmf->virtual_address, err 263 mm/filemap_xip.c if (err == -ENOMEM) err 265 mm/filemap_xip.c BUG_ON(err); err 268 mm/filemap_xip.c int err, ret = VM_FAULT_OOM; err 285 mm/filemap_xip.c err = vm_insert_page(vma, (unsigned long)vmf->virtual_address, err 287 mm/filemap_xip.c if (err == -ENOMEM) err 449 mm/filemap_xip.c int err; err 462 mm/filemap_xip.c err = mapping->a_ops->get_xip_mem(mapping, index, 0, err 464 mm/filemap_xip.c if (unlikely(err)) { err 465 mm/filemap_xip.c if (err == -ENODATA) err 469 mm/filemap_xip.c return err; err 57 mm/fremap.c int err = -ENOMEM; err 77 mm/fremap.c err = 0; err 79 mm/fremap.c return err; err 85 mm/fremap.c int err; err 88 mm/fremap.c err = install_file_pte(mm, vma, addr, pgoff, vma->vm_page_prot); err 89 mm/fremap.c if (err) err 90 mm/fremap.c return err; err 128 mm/fremap.c int err = -EINVAL; err 132 mm/fremap.c return err; err 141 mm/fremap.c return err; err 146 mm/fremap.c return err; err 176 mm/fremap.c err = 0; err 202 mm/fremap.c err = addr; err 205 mm/fremap.c err = 0; err 219 mm/fremap.c err = populate_range(mm, vma, start, size, pgoff); err 221 mm/fremap.c if (!err && !(flags & MAP_NONBLOCK)) { err 241 mm/fremap.c return err; err 865 mm/hugetlb.c int err; err 869 mm/hugetlb.c err = region_chg(&reservations->regions, idx, idx + 1); err 870 mm/hugetlb.c if (err < 0) err 871 mm/hugetlb.c return err; err 1167 mm/hugetlb.c int err; err 1171 mm/hugetlb.c err = strict_strtoul(buf, 10, &input); err 1172 mm/hugetlb.c if (err) err 1190 mm/hugetlb.c int err; err 1194 mm/hugetlb.c err = strict_strtoul(buf, 10, &input); err 1195 mm/hugetlb.c if (err) err 1263 mm/hugetlb.c int err; err 1270 mm/hugetlb.c err = hugetlb_sysfs_add_hstate(h); err 1271 mm/hugetlb.c if (err) err 1927 mm/hugetlb.c int err; err 1930 mm/hugetlb.c err = add_to_page_cache(page, mapping, idx, GFP_KERNEL); err 1931 mm/hugetlb.c if (err) { err 1933 mm/hugetlb.c if (err == -EEXIST) err 549 mm/memcontrol.c goto err; err 630 mm/memcontrol.c err: err 1539 mm/memory.c int err; err 1573 mm/memory.c err = remap_pud_range(mm, pgd, addr, next, err 1575 mm/memory.c if (err) err 1578 mm/memory.c return err; err 1587 mm/memory.c int err; err 1602 mm/memory.c err = fn(pte, token, addr, data); err 1603 mm/memory.c if (err) err 1609 mm/memory.c return err; err 1618 mm/memory.c int err; err 1627 mm/memory.c err = apply_to_pte_range(mm, pmd, addr, next, fn, data); err 1628 mm/memory.c if (err) err 1631 mm/memory.c return err; err 1640 mm/memory.c int err; err 1647 mm/memory.c err = apply_to_pmd_range(mm, pud, addr, next, fn, data); err 1648 mm/memory.c if (err) err 1651 mm/memory.c return err; err 1664 mm/memory.c int err; err 1671 mm/memory.c err = apply_to_pud_range(mm, pgd, addr, next, fn, data); err 1672 mm/memory.c if (err) err 1676 mm/memory.c return err; err 280 mm/memory_hotplug.c int err = 0; err 287 mm/memory_hotplug.c err = __add_section(zone, i << PFN_SECTION_SHIFT); err 294 mm/memory_hotplug.c if (err && (err != -EEXIST)) err 296 mm/memory_hotplug.c err = 0; err 299 mm/memory_hotplug.c return err; err 487 mm/mempolicy.c int err; err 492 mm/mempolicy.c err = migrate_prep(); err 493 mm/mempolicy.c if (err) err 494 mm/mempolicy.c return ERR_PTR(err); err 518 mm/mempolicy.c err = check_pgd_range(vma, start, endvma, nodes, err 520 mm/mempolicy.c if (err) { err 521 mm/mempolicy.c first = ERR_PTR(err); err 533 mm/mempolicy.c int err = 0; err 542 mm/mempolicy.c err = vma->vm_ops->set_policy(vma, new); err 543 mm/mempolicy.c if (!err) { err 548 mm/mempolicy.c return err; err 556 mm/mempolicy.c int err; err 558 mm/mempolicy.c err = 0; err 562 mm/mempolicy.c err = split_vma(vma->vm_mm, vma, start, 1); err 563 mm/mempolicy.c if (!err && vma->vm_end > end) err 564 mm/mempolicy.c err = split_vma(vma->vm_mm, vma, end, 0); err 565 mm/mempolicy.c if (!err) err 566 mm/mempolicy.c err = policy_vma(vma, new); err 567 mm/mempolicy.c if (err) err 570 mm/mempolicy.c return err; err 662 mm/mempolicy.c int err; err 664 mm/mempolicy.c err = get_user_pages(current, mm, addr & PAGE_MASK, 1, 0, 0, &p, NULL); err 665 mm/mempolicy.c if (err >= 0) { err 666 mm/mempolicy.c err = page_to_nid(p); err 669 mm/mempolicy.c return err; err 676 mm/mempolicy.c int err; err 718 mm/mempolicy.c err = lookup_node(mm, addr); err 719 mm/mempolicy.c if (err < 0) err 721 mm/mempolicy.c *policy = err; err 726 mm/mempolicy.c err = -EINVAL; err 744 mm/mempolicy.c err = 0; err 752 mm/mempolicy.c return err; err 783 mm/mempolicy.c int err = 0; err 792 mm/mempolicy.c err = migrate_pages(&pagelist, new_node_page, dest); err 794 mm/mempolicy.c return err; err 807 mm/mempolicy.c int err = 0; err 812 mm/mempolicy.c err = migrate_vmas(mm, from_nodes, to_nodes, flags); err 813 mm/mempolicy.c if (err) err 869 mm/mempolicy.c err = migrate_to_node(mm, source, dest, flags); err 870 mm/mempolicy.c if (err > 0) err 871 mm/mempolicy.c busy += err; err 872 mm/mempolicy.c if (err < 0) err 877 mm/mempolicy.c if (err < 0) err 878 mm/mempolicy.c return err; err 934 mm/mempolicy.c int err; err 976 mm/mempolicy.c err = PTR_ERR(vma); err 980 mm/mempolicy.c err = mbind_range(vma, start, end, new); err 986 mm/mempolicy.c if (!err && nr_failed && (flags & MPOL_MF_STRICT)) err 987 mm/mempolicy.c err = -EIO; err 992 mm/mempolicy.c return err; err 1068 mm/mempolicy.c int err; err 1078 mm/mempolicy.c err = get_nodes(&nodes, nmask, maxnode); err 1079 mm/mempolicy.c if (err) err 1080 mm/mempolicy.c return err; err 1088 mm/mempolicy.c int err; err 1098 mm/mempolicy.c err = get_nodes(&nodes, nmask, maxnode); err 1099 mm/mempolicy.c if (err) err 1100 mm/mempolicy.c return err; err 1113 mm/mempolicy.c int err; err 1115 mm/mempolicy.c err = get_nodes(&old, old_nodes, maxnode); err 1116 mm/mempolicy.c if (err) err 1117 mm/mempolicy.c return err; err 1119 mm/mempolicy.c err = get_nodes(&new, new_nodes, maxnode); err 1120 mm/mempolicy.c if (err) err 1121 mm/mempolicy.c return err; err 1145 mm/mempolicy.c err = -EPERM; err 1152 mm/mempolicy.c err = -EPERM; err 1157 mm/mempolicy.c err = -EINVAL; err 1161 mm/mempolicy.c err = security_task_movememory(task); err 1162 mm/mempolicy.c if (err) err 1165 mm/mempolicy.c err = do_migrate_pages(mm, &old, &new, err 1169 mm/mempolicy.c return err; err 1179 mm/mempolicy.c int err; err 1186 mm/mempolicy.c err = do_get_mempolicy(&pval, &nodes, addr, flags); err 1188 mm/mempolicy.c if (err) err 1189 mm/mempolicy.c return err; err 1195 mm/mempolicy.c err = copy_nodes_to_user(nmask, maxnode, &nodes); err 1197 mm/mempolicy.c return err; err 1207 mm/mempolicy.c long err; err 1218 mm/mempolicy.c err = sys_get_mempolicy(policy, nm, nr_bits+1, addr, flags); err 1220 mm/mempolicy.c if (!err && nmask) { err 1221 mm/mempolicy.c err = copy_from_user(bm, nm, alloc_size); err 1223 mm/mempolicy.c err |= clear_user(nmask, ALIGN(maxnode-1, 8) / 8); err 1224 mm/mempolicy.c err |= compat_put_bitmap(nmask, bm, nr_bits); err 1227 mm/mempolicy.c return err; err 1233 mm/mempolicy.c long err = 0; err 1242 mm/mempolicy.c err = compat_get_bitmap(bm, nmask, nr_bits); err 1244 mm/mempolicy.c err |= copy_to_user(nm, bm, alloc_size); err 1247 mm/mempolicy.c if (err) err 1257 mm/mempolicy.c long err = 0; err 1266 mm/mempolicy.c err = compat_get_bitmap(nodes_addr(bm), nmask, nr_bits); err 1268 mm/mempolicy.c err |= copy_to_user(nm, nodes_addr(bm), alloc_size); err 1271 mm/mempolicy.c if (err) err 1869 mm/mempolicy.c int err; err 1884 mm/mempolicy.c err = shared_policy_replace(info, vma->vm_pgoff, vma->vm_pgoff+sz, new); err 1885 mm/mempolicy.c if (err && new) err 1887 mm/mempolicy.c return err; err 2000 mm/mempolicy.c int err = 1; err 2034 mm/mempolicy.c err = 0; err 2043 mm/mempolicy.c err = 0; err 2071 mm/mempolicy.c err = 1; err 2076 mm/mempolicy.c err = 1; err 2086 mm/mempolicy.c if (!err) err 2088 mm/mempolicy.c return err; err 865 mm/migrate.c int err; err 885 mm/migrate.c err = -EFAULT; err 892 mm/migrate.c err = PTR_ERR(page); err 896 mm/migrate.c err = -ENOENT; err 904 mm/migrate.c err = page_to_nid(page); err 906 mm/migrate.c if (err == pp->node) err 912 mm/migrate.c err = -EACCES; err 917 mm/migrate.c err = isolate_lru_page(page, &pagelist); err 926 mm/migrate.c pp->status = err; err 930 mm/migrate.c err = migrate_pages(&pagelist, new_page_node, err 933 mm/migrate.c err = -ENOENT; err 936 mm/migrate.c return err; err 951 mm/migrate.c int err; err 953 mm/migrate.c err = -EFAULT; err 960 mm/migrate.c err = PTR_ERR(page); err 964 mm/migrate.c err = -ENOENT; err 969 mm/migrate.c err = page_to_nid(page); err 971 mm/migrate.c pm->status = err; err 987 mm/migrate.c int err = 0; err 1023 mm/migrate.c err = -EPERM; err 1027 mm/migrate.c err = security_task_movememory(task); err 1028 mm/migrate.c if (err) err 1036 mm/migrate.c err = -E2BIG; err 1042 mm/migrate.c err = -ENOMEM; err 1053 mm/migrate.c err = -EFAULT; err 1064 mm/migrate.c err = -ENODEV; err 1068 mm/migrate.c err = -EACCES; err 1080 mm/migrate.c err = do_move_pages(mm, pm, flags & MPOL_MF_MOVE_ALL); err 1082 mm/migrate.c err = do_pages_stat(mm, pm); err 1084 mm/migrate.c if (err >= 0) err 1088 mm/migrate.c err = -EFAULT; err 1094 mm/migrate.c return err; err 1106 mm/migrate.c int err = 0; err 1108 mm/migrate.c for(vma = mm->mmap; vma->vm_next && !err; vma = vma->vm_next) { err 1110 mm/migrate.c err = vma->vm_ops->migrate(vma, to, from, flags); err 1111 mm/migrate.c if (err) err 1115 mm/migrate.c return err; err 1164 mm/page_alloc.c int err; err 1166 mm/page_alloc.c err = init_fault_attr_dentries(&fail_page_alloc.attr, err 1168 mm/page_alloc.c if (err) err 1169 mm/page_alloc.c return err; err 1186 mm/page_alloc.c err = -ENOMEM; err 1193 mm/page_alloc.c return err; err 2802 mm/page_alloc.c int err; err 2808 mm/page_alloc.c err = process_zones(smp_processor_id()); err 2809 mm/page_alloc.c BUG_ON(err); err 9 mm/pagewalk.c int err = 0; err 13 mm/pagewalk.c err = walk->pte_entry(pte, addr, addr + PAGE_SIZE, walk); err 14 mm/pagewalk.c if (err) err 23 mm/pagewalk.c return err; err 31 mm/pagewalk.c int err = 0; err 38 mm/pagewalk.c err = walk->pte_hole(addr, next, walk); err 39 mm/pagewalk.c if (err) err 44 mm/pagewalk.c err = walk->pmd_entry(pmd, addr, next, walk); err 45 mm/pagewalk.c if (!err && walk->pte_entry) err 46 mm/pagewalk.c err = walk_pte_range(pmd, addr, next, walk); err 47 mm/pagewalk.c if (err) err 51 mm/pagewalk.c return err; err 59 mm/pagewalk.c int err = 0; err 66 mm/pagewalk.c err = walk->pte_hole(addr, next, walk); err 67 mm/pagewalk.c if (err) err 72 mm/pagewalk.c err = walk->pud_entry(pud, addr, next, walk); err 73 mm/pagewalk.c if (!err && (walk->pmd_entry || walk->pte_entry)) err 74 mm/pagewalk.c err = walk_pmd_range(pud, addr, next, walk); err 75 mm/pagewalk.c if (err) err 79 mm/pagewalk.c return err; err 109 mm/pagewalk.c int err = 0; err 112 mm/pagewalk.c return err; err 122 mm/pagewalk.c err = walk->pte_hole(addr, next, walk); err 123 mm/pagewalk.c if (err) err 128 mm/pagewalk.c err = walk->pgd_entry(pgd, addr, next, walk); err 129 mm/pagewalk.c if (!err && err 131 mm/pagewalk.c err = walk_pud_range(pgd, addr, next, walk); err 132 mm/pagewalk.c if (err) err 136 mm/pagewalk.c return err; err 191 mm/readahead.c int err; err 197 mm/readahead.c err = __do_page_cache_readahead(mapping, filp, err 199 mm/readahead.c if (err < 0) { err 200 mm/readahead.c ret = err; err 203 mm/readahead.c ret += err; err 238 mm/readahead.c int err; err 240 mm/readahead.c err = bdi_init(&default_backing_dev_info); err 241 mm/readahead.c if (!err) err 244 mm/readahead.c return err; err 2265 mm/shmem.c int err = -ENOMEM; err 2291 mm/shmem.c err = -EINVAL; err 2330 mm/shmem.c return err; err 1328 mm/slab.c int err = 0; err 1334 mm/slab.c err = cpuup_prepare(cpu); err 1377 mm/slab.c return err ? NOTIFY_BAD : NOTIFY_OK; err 3148 mm/slab.c int err; err 3150 mm/slab.c err = init_fault_attr_dentries(&failslab.attr, "failslab"); err 3151 mm/slab.c if (err) err 3152 mm/slab.c return err; err 3160 mm/slab.c err = -ENOMEM; err 3165 mm/slab.c return err; err 3956 mm/slab.c int err; err 4000 mm/slab.c err = do_tune_cpucache(cachep, limit, (limit + 1) / 2, shared); err 4001 mm/slab.c if (err) err 4003 mm/slab.c cachep->name, -err); err 4004 mm/slab.c return err; err 3124 mm/slub.c goto err; err 3135 mm/slub.c goto err; err 3142 mm/slub.c err: err 3798 mm/slub.c int err; err 3800 mm/slub.c err = strict_strtoul(buf, 10, &order); err 3801 mm/slub.c if (err) err 3802 mm/slub.c return err; err 4056 mm/slub.c int err; err 4058 mm/slub.c err = strict_strtoul(buf, 10, &ratio); err 4059 mm/slub.c if (err) err 4060 mm/slub.c return err; err 4192 mm/slub.c int err; err 4200 mm/slub.c err = attribute->show(s, buf); err 4202 mm/slub.c return err; err 4211 mm/slub.c int err; err 4219 mm/slub.c err = attribute->store(s, buf, len); err 4221 mm/slub.c return err; err 4292 mm/slub.c int err; err 4318 mm/slub.c err = kobject_init_and_add(&s->kobj, &slab_ktype, NULL, name); err 4319 mm/slub.c if (err) { err 4321 mm/slub.c return err; err 4324 mm/slub.c err = sysfs_create_group(&s->kobj, &slab_attr_group); err 4325 mm/slub.c if (err) err 4326 mm/slub.c return err; err 4381 mm/slub.c int err; err 4392 mm/slub.c err = sysfs_slab_add(s); err 4393 mm/slub.c if (err) err 4402 mm/slub.c err = sysfs_slab_alias(al->s, al->name); err 4403 mm/slub.c if (err) err 134 mm/swap_state.c int err; err 155 mm/swap_state.c err = add_to_swap_cache(page, entry, err 158 mm/swap_state.c switch (err) { err 270 mm/swap_state.c int err; err 306 mm/swap_state.c err = add_to_swap_cache(new_page, entry, gfp_mask & GFP_KERNEL); err 307 mm/swap_state.c if (likely(!err)) { err 317 mm/swap_state.c } while (err != -ENOMEM); err 1216 mm/swapfile.c int err; err 1222 mm/swapfile.c err = PTR_ERR(pathname); err 1228 mm/swapfile.c err = PTR_ERR(victim); err 1244 mm/swapfile.c err = -EINVAL; err 1251 mm/swapfile.c err = -ENOMEM; err 1275 mm/swapfile.c err = try_to_unuse(type); err 1278 mm/swapfile.c if (err) { err 1338 mm/swapfile.c err = 0; err 1343 mm/swapfile.c return err; err 156 mm/vmalloc.c int err; err 162 mm/vmalloc.c err = vmap_pud_range(pgd, addr, next, prot, pages); err 163 mm/vmalloc.c if (err) err 167 mm/vmalloc.c return err; err 283 net/802/garp.c int err; err 286 net/802/garp.c err = garp_pdu_init(app); err 287 net/802/garp.c if (err < 0) err 288 net/802/garp.c return err; err 511 net/802/garp.c goto err; err 514 net/802/garp.c goto err; err 517 net/802/garp.c goto err; err 520 net/802/garp.c goto err; err 531 net/802/garp.c err: err 563 net/802/garp.c int err; err 568 net/802/garp.c err = garp_init_port(dev); err 569 net/802/garp.c if (err < 0) err 573 net/802/garp.c err = -ENOMEM; err 578 net/802/garp.c err = dev_mc_add(dev, appl->proto.group_address, ETH_ALEN, 0); err 579 net/802/garp.c if (err < 0) err 597 net/802/garp.c return err; err 41 net/802/stp.c goto err; err 48 net/802/stp.c goto err; err 53 net/802/stp.c goto err; err 58 net/802/stp.c err: err 65 net/802/stp.c int err = 0; err 71 net/802/stp.c err = -ENOMEM; err 82 net/802/stp.c return err; err 245 net/8021q/vlan.c int err; err 252 net/8021q/vlan.c err = vlan_gvrp_init_applicant(real_dev); err 253 net/8021q/vlan.c if (err < 0) err 257 net/8021q/vlan.c err = vlan_group_prealloc_vid(grp, vlan_id); err 258 net/8021q/vlan.c if (err < 0) err 261 net/8021q/vlan.c err = register_netdevice(dev); err 262 net/8021q/vlan.c if (err < 0) err 290 net/8021q/vlan.c return err; err 302 net/8021q/vlan.c int err; err 307 net/8021q/vlan.c err = vlan_check_real_dev(real_dev, vlan_id); err 308 net/8021q/vlan.c if (err < 0) err 309 net/8021q/vlan.c return err; err 355 net/8021q/vlan.c err = register_vlan_dev(new_dev); err 356 net/8021q/vlan.c if (err < 0) err 363 net/8021q/vlan.c return err; err 543 net/8021q/vlan.c int err; err 564 net/8021q/vlan.c err = -ENODEV; err 569 net/8021q/vlan.c err = -EINVAL; err 576 net/8021q/vlan.c err = -EPERM; err 582 net/8021q/vlan.c err = 0; err 586 net/8021q/vlan.c err = -EPERM; err 589 net/8021q/vlan.c err = vlan_dev_set_egress_priority(dev, err 595 net/8021q/vlan.c err = -EPERM; err 598 net/8021q/vlan.c err = vlan_dev_change_flags(dev, err 604 net/8021q/vlan.c err = -EPERM; err 613 net/8021q/vlan.c err = 0; err 615 net/8021q/vlan.c err = -EINVAL; err 620 net/8021q/vlan.c err = -EPERM; err 623 net/8021q/vlan.c err = register_vlan_device(dev, args.u.VID); err 627 net/8021q/vlan.c err = -EPERM; err 631 net/8021q/vlan.c err = 0; err 635 net/8021q/vlan.c err = 0; err 639 net/8021q/vlan.c err = -EFAULT; err 643 net/8021q/vlan.c err = 0; err 647 net/8021q/vlan.c err = -EFAULT; err 651 net/8021q/vlan.c err = -EOPNOTSUPP; err 656 net/8021q/vlan.c return err; err 661 net/8021q/vlan.c int err; err 664 net/8021q/vlan.c err = -ENOMEM; err 669 net/8021q/vlan.c err = net_assign_generic(net, vlan_net_id, vn); err 670 net/8021q/vlan.c if (err < 0) err 675 net/8021q/vlan.c err = vlan_proc_init(net); err 676 net/8021q/vlan.c if (err < 0) err 686 net/8021q/vlan.c return err; err 706 net/8021q/vlan.c int err; err 711 net/8021q/vlan.c err = register_pernet_gen_device(&vlan_net_id, &vlan_net_ops); err 712 net/8021q/vlan.c if (err < 0) err 715 net/8021q/vlan.c err = register_netdevice_notifier(&vlan_notifier_block); err 716 net/8021q/vlan.c if (err < 0) err 719 net/8021q/vlan.c err = vlan_gvrp_init(); err 720 net/8021q/vlan.c if (err < 0) err 723 net/8021q/vlan.c err = vlan_netlink_init(); err 724 net/8021q/vlan.c if (err < 0) err 738 net/8021q/vlan.c return err; err 440 net/8021q/vlan_dev.c int err; err 446 net/8021q/vlan_dev.c err = dev_unicast_add(real_dev, dev->dev_addr, ETH_ALEN); err 447 net/8021q/vlan_dev.c if (err < 0) err 452 net/8021q/vlan_dev.c err = dev_set_allmulti(real_dev, 1); err 453 net/8021q/vlan_dev.c if (err < 0) err 457 net/8021q/vlan_dev.c err = dev_set_promiscuity(real_dev, 1); err 458 net/8021q/vlan_dev.c if (err < 0) err 476 net/8021q/vlan_dev.c return err; err 504 net/8021q/vlan_dev.c int err; err 513 net/8021q/vlan_dev.c err = dev_unicast_add(real_dev, addr->sa_data, ETH_ALEN); err 514 net/8021q/vlan_dev.c if (err < 0) err 515 net/8021q/vlan_dev.c return err; err 530 net/8021q/vlan_dev.c int err = -EOPNOTSUPP; err 540 net/8021q/vlan_dev.c err = real_dev->do_ioctl(real_dev, &ifrr, cmd); err 544 net/8021q/vlan_dev.c if (!err) err 547 net/8021q/vlan_dev.c return err; err 43 net/8021q/vlan_netlink.c int err; err 67 net/8021q/vlan_netlink.c err = vlan_validate_qos_map(data[IFLA_VLAN_INGRESS_QOS]); err 68 net/8021q/vlan_netlink.c if (err < 0) err 69 net/8021q/vlan_netlink.c return err; err 70 net/8021q/vlan_netlink.c err = vlan_validate_qos_map(data[IFLA_VLAN_EGRESS_QOS]); err 71 net/8021q/vlan_netlink.c if (err < 0) err 72 net/8021q/vlan_netlink.c return err; err 108 net/8021q/vlan_netlink.c int err; err 123 net/8021q/vlan_netlink.c err = vlan_check_real_dev(real_dev, vlan->vlan_id); err 124 net/8021q/vlan_netlink.c if (err < 0) err 125 net/8021q/vlan_netlink.c return err; err 132 net/8021q/vlan_netlink.c err = vlan_changelink(dev, tb, data); err 133 net/8021q/vlan_netlink.c if (err < 0) err 134 net/8021q/vlan_netlink.c return err; err 149 net/8021q/vlanproc.c goto err; err 154 net/8021q/vlanproc.c goto err; err 157 net/8021q/vlanproc.c err: err 144 net/9p/client.c int err, n; err 149 net/9p/client.c err = 0; err 162 net/9p/client.c err = PTR_ERR(clnt->fidpool); err 167 net/9p/client.c err = parse_opts(options, clnt); err 168 net/9p/client.c if (err < 0) err 172 net/9p/client.c err = -EPROTONOSUPPORT; err 185 net/9p/client.c err = PTR_ERR(clnt->trans); err 195 net/9p/client.c err = PTR_ERR(tc); err 200 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 201 net/9p/client.c if (err) err 210 net/9p/client.c err = -EREMOTEIO; err 226 net/9p/client.c return ERR_PTR(err); err 264 net/9p/client.c int err; err 270 net/9p/client.c err = 0; err 276 net/9p/client.c err = PTR_ERR(fid); err 284 net/9p/client.c err = PTR_ERR(tc); err 289 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 290 net/9p/client.c if (err) err 303 net/9p/client.c return ERR_PTR(err); err 310 net/9p/client.c int err; err 316 net/9p/client.c err = 0; err 322 net/9p/client.c err = PTR_ERR(fid); err 329 net/9p/client.c err = PTR_ERR(tc); err 334 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 335 net/9p/client.c if (err) err 348 net/9p/client.c return ERR_PTR(err); err 355 net/9p/client.c int err; err 362 net/9p/client.c err = 0; err 369 net/9p/client.c err = PTR_ERR(fid); err 380 net/9p/client.c err = PTR_ERR(tc); err 385 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 386 net/9p/client.c if (err) { err 394 net/9p/client.c err = -ENOENT; err 415 net/9p/client.c err = PTR_ERR(tc); err 428 net/9p/client.c return ERR_PTR(err); err 434 net/9p/client.c int err; err 439 net/9p/client.c err = 0; err 449 net/9p/client.c err = PTR_ERR(tc); err 454 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 455 net/9p/client.c if (err) err 464 net/9p/client.c return err; err 471 net/9p/client.c int err; err 477 net/9p/client.c err = 0; err 488 net/9p/client.c err = PTR_ERR(tc); err 493 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 494 net/9p/client.c if (err) err 503 net/9p/client.c return err; err 509 net/9p/client.c int err; err 514 net/9p/client.c err = 0; err 521 net/9p/client.c err = PTR_ERR(tc); err 526 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 527 net/9p/client.c if (err) err 535 net/9p/client.c return err; err 541 net/9p/client.c int err; err 546 net/9p/client.c err = 0; err 553 net/9p/client.c err = PTR_ERR(tc); err 558 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 559 net/9p/client.c if (err) err 567 net/9p/client.c return err; err 573 net/9p/client.c int err, n, rsize, total; err 579 net/9p/client.c err = 0; err 595 net/9p/client.c err = PTR_ERR(tc); err 600 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 601 net/9p/client.c if (err) err 624 net/9p/client.c return err; err 630 net/9p/client.c int err, n, rsize, total; err 636 net/9p/client.c err = 0; err 652 net/9p/client.c err = PTR_ERR(tc); err 657 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 658 net/9p/client.c if (err) err 677 net/9p/client.c return err; err 684 net/9p/client.c int err, n, rsize, total; err 690 net/9p/client.c err = 0; err 706 net/9p/client.c err = PTR_ERR(tc); err 711 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 712 net/9p/client.c if (err) err 719 net/9p/client.c err = copy_to_user(data, rc->params.rread.data, n); err 720 net/9p/client.c if (err) { err 721 net/9p/client.c err = -EFAULT; err 740 net/9p/client.c return err; err 748 net/9p/client.c int err, n, rsize, total; err 754 net/9p/client.c err = 0; err 770 net/9p/client.c err = PTR_ERR(tc); err 775 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 776 net/9p/client.c if (err) err 795 net/9p/client.c return err; err 827 net/9p/client.c int err; err 833 net/9p/client.c err = 0; err 841 net/9p/client.c err = PTR_ERR(tc); err 846 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 847 net/9p/client.c if (err) err 852 net/9p/client.c err = PTR_ERR(ret); err 865 net/9p/client.c return ERR_PTR(err); err 871 net/9p/client.c int err; err 876 net/9p/client.c err = 0; err 883 net/9p/client.c err = PTR_ERR(tc); err 888 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 893 net/9p/client.c return err; err 899 net/9p/client.c int err, n, m; err 906 net/9p/client.c err = 0; err 940 net/9p/client.c err = PTR_ERR(tc); err 945 net/9p/client.c err = p9_client_rpc(clnt, tc, &rc); err 946 net/9p/client.c if (err) err 971 net/9p/client.c err = -EIO; err 979 net/9p/client.c err = PTR_ERR(ret); err 993 net/9p/client.c return ERR_PTR(err); err 1039 net/9p/client.c int err; err 1049 net/9p/client.c err = -ENOSPC; err 1070 net/9p/client.c return ERR_PTR(err); err 858 net/9p/conv.c int size, err; err 872 net/9p/conv.c err = p9_put_data(bufp, data, count, &fc->params.twrite.data); err 873 net/9p/conv.c if (err) { err 875 net/9p/conv.c fc = ERR_PTR(err); err 901 net/9p/conv.c int size, err; err 915 net/9p/conv.c err = p9_put_user_data(bufp, data, count, &fc->params.twrite.data); err 916 net/9p/conv.c if (err) { err 918 net/9p/conv.c fc = ERR_PTR(err); err 131 net/9p/trans_fd.c int err; err 179 net/9p/trans_fd.c int err; err 209 net/9p/trans_fd.c int err; err 514 net/9p/trans_fd.c if (m->err < 0) err 585 net/9p/trans_fd.c int n, err; err 591 net/9p/trans_fd.c if (m->err < 0) { err 607 net/9p/trans_fd.c if (req->err == ERREQFLUSH) err 619 net/9p/trans_fd.c err = p9_fd_write(m->trans, m->wbuf + m->wpos, m->wsize - m->wpos); err 620 net/9p/trans_fd.c P9_DPRINTK(P9_DEBUG_MUX, "mux %p sent %d bytes\n", m, err); err 621 net/9p/trans_fd.c if (err == -EAGAIN) { err 626 net/9p/trans_fd.c if (err < 0) err 628 net/9p/trans_fd.c else if (err == 0) { err 629 net/9p/trans_fd.c err = -EREMOTEIO; err 633 net/9p/trans_fd.c m->wpos += err; err 654 net/9p/trans_fd.c p9_conn_cancel(m, err); err 663 net/9p/trans_fd.c if (!req->err && req->rcall->id == P9_RERROR) { err 671 net/9p/trans_fd.c req->err = -ecode; err 673 net/9p/trans_fd.c if (!req->err) { err 674 net/9p/trans_fd.c req->err = p9_errstr2errno(ename->str, ename->len); err 677 net/9p/trans_fd.c if (!req->err) { err 679 net/9p/trans_fd.c req->err = -ESERVERFAULT; err 686 net/9p/trans_fd.c if (!req->err) err 687 net/9p/trans_fd.c req->err = -EIO; err 699 net/9p/trans_fd.c int n, err; err 707 net/9p/trans_fd.c if (m->err < 0) err 717 net/9p/trans_fd.c err = -ENOMEM; err 726 net/9p/trans_fd.c err = p9_fd_read(m->trans, m->rbuf + m->rpos, m->msize - m->rpos); err 727 net/9p/trans_fd.c P9_DPRINTK(P9_DEBUG_MUX, "mux %p got %d bytes\n", m, err); err 728 net/9p/trans_fd.c if (err == -EAGAIN) { err 733 net/9p/trans_fd.c if (err <= 0) err 736 net/9p/trans_fd.c m->rpos += err; err 742 net/9p/trans_fd.c err = -EIO; err 749 net/9p/trans_fd.c err = err 751 net/9p/trans_fd.c if (err < 0) err 770 net/9p/trans_fd.c err = -ENOMEM; err 809 net/9p/trans_fd.c if (err >= 0 && rcall->id != P9_RFLUSH) err 834 net/9p/trans_fd.c p9_conn_cancel(m, err); err 861 net/9p/trans_fd.c if (m->err < 0) err 862 net/9p/trans_fd.c return ERR_PTR(m->err); err 893 net/9p/trans_fd.c req->err = 0; err 927 net/9p/trans_fd.c freq->tcall, freq->rcall, freq->err, err 968 net/9p/trans_fd.c if (req->rcall || req->err) { err 1008 net/9p/trans_fd.c r->err = req->err; err 1010 net/9p/trans_fd.c if (req->flush != None && !req->err) err 1011 net/9p/trans_fd.c r->err = -ERESTARTSYS; err 1030 net/9p/trans_fd.c int err, sigpending; err 1035 net/9p/trans_fd.c r.err = 0; err 1052 net/9p/trans_fd.c err = PTR_ERR(req); err 1053 net/9p/trans_fd.c P9_DPRINTK(P9_DEBUG_MUX, "error %d\n", err); err 1054 net/9p/trans_fd.c return err; err 1057 net/9p/trans_fd.c err = wait_event_interruptible(r.wqueue, r.rcall != NULL || r.err < 0); err 1058 net/9p/trans_fd.c if (r.err < 0) err 1059 net/9p/trans_fd.c err = r.err; err 1061 net/9p/trans_fd.c if (err == -ERESTARTSYS && m->trans->status == Connected err 1062 net/9p/trans_fd.c && m->err == 0) { err 1067 net/9p/trans_fd.c err = wait_event_interruptible(r.wqueue, err 1068 net/9p/trans_fd.c r.rcall || r.err); err 1069 net/9p/trans_fd.c } while (!r.rcall && !r.err && err == -ERESTARTSYS && err 1070 net/9p/trans_fd.c m->trans->status == Connected && !m->err); err 1072 net/9p/trans_fd.c err = -ERESTARTSYS; err 1089 net/9p/trans_fd.c if (err > 0) err 1090 net/9p/trans_fd.c err = -EIO; err 1092 net/9p/trans_fd.c return err; err 1108 net/9p/trans_fd.c int err; err 1113 net/9p/trans_fd.c err = PTR_ERR(req); err 1114 net/9p/trans_fd.c P9_DPRINTK(P9_DEBUG_MUX, "error %d\n", err); err 1135 net/9p/trans_fd.c P9_DPRINTK(P9_DEBUG_ERROR, "mux %p err %d\n", m, err); err 1136 net/9p/trans_fd.c m->err = err; err 1148 net/9p/trans_fd.c if (!req->err) err 1149 net/9p/trans_fd.c req->err = err; err 1408 net/9p/trans_fd.c int err; err 1415 net/9p/trans_fd.c err = parse_opts(args, &opts); err 1416 net/9p/trans_fd.c if (err < 0) err 1417 net/9p/trans_fd.c return ERR_PTR(err); err 1438 net/9p/trans_fd.c err = -EIO; err 1442 net/9p/trans_fd.c err = csocket->ops->connect(csocket, err 1445 net/9p/trans_fd.c if (err < 0) { err 1452 net/9p/trans_fd.c err = p9_socket_open(trans, csocket); err 1453 net/9p/trans_fd.c if (err < 0) err 1459 net/9p/trans_fd.c err = PTR_ERR(p->conn); err 1471 net/9p/trans_fd.c return ERR_PTR(err); err 1478 net/9p/trans_fd.c int err; err 1495 net/9p/trans_fd.c err = -ENAMETOOLONG; err 1502 net/9p/trans_fd.c err = csocket->ops->connect(csocket, (struct sockaddr *)&sun_server, err 1504 net/9p/trans_fd.c if (err < 0) { err 1507 net/9p/trans_fd.c addr, err); err 1511 net/9p/trans_fd.c err = p9_socket_open(trans, csocket); err 1512 net/9p/trans_fd.c if (err < 0) err 1520 net/9p/trans_fd.c err = PTR_ERR(p->conn); err 1532 net/9p/trans_fd.c return ERR_PTR(err); err 1539 net/9p/trans_fd.c int err; err 1558 net/9p/trans_fd.c err = p9_fd_open(trans, opts.rfd, opts.wfd); err 1559 net/9p/trans_fd.c if (err < 0) err 1567 net/9p/trans_fd.c err = PTR_ERR(p->conn); err 1576 net/9p/trans_fd.c return ERR_PTR(err); err 298 net/9p/trans_virtio.c int n, err, size; err 344 net/9p/trans_virtio.c err = p9_deserialize_fcall(rdata, size, *rc, t->extended); err 345 net/9p/trans_virtio.c if (err < 0) { err 347 net/9p/trans_virtio.c "9p debug: virtio rpc deserialize returned %d\n", err); err 348 net/9p/trans_virtio.c return err; err 380 net/9p/trans_virtio.c int err; err 392 net/9p/trans_virtio.c err = -ENOMEM; err 401 net/9p/trans_virtio.c err = PTR_ERR(chan->vq); err 419 net/9p/trans_virtio.c return err; err 1560 net/appletalk/ddp.c int err; err 1621 net/appletalk/ddp.c skb = sock_alloc_send_skb(sk, size, (flags & MSG_DONTWAIT), &err); err 1623 net/appletalk/ddp.c return err; err 1643 net/appletalk/ddp.c err = memcpy_fromiovec(skb_put(skb, len), msg->msg_iov, len); err 1644 net/appletalk/ddp.c if (err) { err 1715 net/appletalk/ddp.c int err = 0; err 1717 net/appletalk/ddp.c flags & MSG_DONTWAIT, &err); err 1719 net/appletalk/ddp.c return err; err 1734 net/appletalk/ddp.c err = skb_copy_datagram_iovec(skb, offset, msg->msg_iov, copied); err 1736 net/appletalk/ddp.c if (!err) { err 1747 net/appletalk/ddp.c return err ? : copied; err 147 net/atm/atm_sysfs.c int i, j, err; err 153 net/atm/atm_sysfs.c err = device_register(cdev); err 154 net/atm/atm_sysfs.c if (err < 0) err 155 net/atm/atm_sysfs.c return err; err 158 net/atm/atm_sysfs.c err = device_create_file(cdev, atm_attrs[i]); err 159 net/atm/atm_sysfs.c if (err) err 169 net/atm/atm_sysfs.c return err; err 271 net/atm/br2684.c int err = my_eth_mac_addr(dev, p); err 272 net/atm/br2684.c if (!err) err 274 net/atm/br2684.c return err; err 455 net/atm/br2684.c int err; err 474 net/atm/br2684.c err = -ENXIO; err 479 net/atm/br2684.c err = -EBADFD; err 484 net/atm/br2684.c err = -EEXIST; err 493 net/atm/br2684.c err = -EINVAL; err 544 net/atm/br2684.c return err; err 582 net/atm/br2684.c int err; err 615 net/atm/br2684.c err = register_netdev(netdev); err 616 net/atm/br2684.c if (err < 0) { err 619 net/atm/br2684.c return err; err 642 net/atm/br2684.c int err; err 646 net/atm/br2684.c err = get_user(b, (atm_backend_t __user *) argp); err 647 net/atm/br2684.c if (err) err 663 net/atm/br2684.c err = br2684_setfilt(atmvcc, argp); err 665 net/atm/br2684.c return err; err 726 net/atm/clip.c int err = 0; err 743 net/atm/clip.c err = clip_create(arg); err 746 net/atm/clip.c err = atm_init_atmarp(vcc); err 747 net/atm/clip.c if (!err) { err 753 net/atm/clip.c err = clip_mkip(vcc, arg); err 756 net/atm/clip.c err = clip_setentry(vcc, (__force __be32)arg); err 759 net/atm/clip.c err = clip_encap(vcc, arg); err 762 net/atm/clip.c return err; err 299 net/atm/common.c int err; err 302 net/atm/common.c err = check_ci(vcc, *vpi, *vci); err 303 net/atm/common.c return err; err 1195 net/atm/lec.c int err = 0; err 1210 net/atm/lec.c err = lecd_attach(vcc, (int)arg); err 1211 net/atm/lec.c if (err >= 0) err 1215 net/atm/lec.c err = lec_mcast_attach(vcc, (int)arg); err 1218 net/atm/lec.c err = lec_vcc_attach(vcc, (void __user *)arg); err 1222 net/atm/lec.c return err; err 2364 net/atm/lec.c int err = 0; err 2377 net/atm/lec.c err = -ENOMEM; err 2390 net/atm/lec.c return err; err 759 net/atm/mpc.c int err; err 766 net/atm/mpc.c err = register_netdevice_notifier(&mpoa_notifier); err 767 net/atm/mpc.c if (err < 0) { err 769 net/atm/mpc.c return err; err 1415 net/atm/mpc.c int err = 0; err 1426 net/atm/mpc.c err = atm_mpoa_mpoad_attach(vcc, (int)arg); err 1427 net/atm/mpc.c if (err >= 0) err 1431 net/atm/mpc.c err = atm_mpoa_vcc_attach(vcc, (void __user *)arg); err 1436 net/atm/mpc.c return err; err 268 net/atm/pppoatm.c int err; err 292 net/atm/pppoatm.c if ((err = ppp_register_channel(&pvcc->chan)) != 0) { err 294 net/atm/pppoatm.c return err; err 1034 net/ax25/af_ax25.c int err = 0; err 1063 net/ax25/af_ax25.c err = -EINVAL; err 1078 net/ax25/af_ax25.c err = -EADDRNOTAVAIL; err 1083 net/ax25/af_ax25.c err = -EADDRNOTAVAIL; err 1111 net/ax25/af_ax25.c int ct = 0, err = 0; err 1140 net/ax25/af_ax25.c err = -EINPROGRESS; err 1149 net/ax25/af_ax25.c err = -ECONNREFUSED; err 1155 net/ax25/af_ax25.c err = -EISCONN; /* No reconnect on a seqpacket socket */ err 1172 net/ax25/af_ax25.c err = -EINVAL; err 1177 net/ax25/af_ax25.c err = -ENOBUFS; err 1206 net/ax25/af_ax25.c if ((err = ax25_rt_autobind(ax25, &fsa->fsa_ax25.sax25_call)) < 0) { err 1216 net/ax25/af_ax25.c err = -EHOSTUNREACH; err 1225 net/ax25/af_ax25.c err = -EADDRINUSE; /* Already such a connection */ err 1268 net/ax25/af_ax25.c err = -EINPROGRESS; err 1286 net/ax25/af_ax25.c err = -ERESTARTSYS; err 1291 net/ax25/af_ax25.c if (err) err 1298 net/ax25/af_ax25.c err = sock_error(sk); /* Always set at this point */ err 1304 net/ax25/af_ax25.c err = 0; err 1308 net/ax25/af_ax25.c return err; err 1317 net/ax25/af_ax25.c int err = 0; err 1327 net/ax25/af_ax25.c err = -EOPNOTSUPP; err 1332 net/ax25/af_ax25.c err = -EINVAL; err 1347 net/ax25/af_ax25.c err = -EWOULDBLOCK; err 1356 net/ax25/af_ax25.c err = -ERESTARTSYS; err 1361 net/ax25/af_ax25.c if (err) err 1375 net/ax25/af_ax25.c return err; err 1385 net/ax25/af_ax25.c int err = 0; err 1392 net/ax25/af_ax25.c err = -ENOTCONN; err 1423 net/ax25/af_ax25.c return err; err 1436 net/ax25/af_ax25.c int lv, err, addr_len = msg->msg_namelen; err 1445 net/ax25/af_ax25.c err = -EADDRNOTAVAIL; err 1451 net/ax25/af_ax25.c err = -EPIPE; err 1456 net/ax25/af_ax25.c err = -ENETUNREACH; err 1461 net/ax25/af_ax25.c err = -EMSGSIZE; err 1467 net/ax25/af_ax25.c err = -EINVAL; err 1481 net/ax25/af_ax25.c err = -EINVAL; err 1492 net/ax25/af_ax25.c err = -EINVAL; err 1510 net/ax25/af_ax25.c err = -EISCONN; err 1524 net/ax25/af_ax25.c err = -ENOTCONN; err 1540 net/ax25/af_ax25.c skb = sock_alloc_send_skb(sk, size, msg->msg_flags&MSG_DONTWAIT, &err); err 1550 net/ax25/af_ax25.c err = -EFAULT; err 1567 net/ax25/af_ax25.c err = -ENOTCONN; err 1574 net/ax25/af_ax25.c err = len; err 1601 net/ax25/af_ax25.c err = len; err 1606 net/ax25/af_ax25.c return err; err 1615 net/ax25/af_ax25.c int err = 0; err 1623 net/ax25/af_ax25.c err = -ENOTCONN; err 1629 net/ax25/af_ax25.c flags & MSG_DONTWAIT, &err); err 1672 net/ax25/af_ax25.c err = copied; err 1677 net/ax25/af_ax25.c return err; err 186 net/ax25/ax25_route.c int err = 0; err 206 net/ax25/ax25_route.c err = -EINVAL; err 211 net/ax25/ax25_route.c err = -EINVAL; err 220 net/ax25/ax25_route.c return err; err 414 net/ax25/ax25_route.c int err; err 420 net/ax25/ax25_route.c err = -EHOSTUNREACH; err 430 net/ax25/ax25_route.c err = -EPERM; err 440 net/ax25/ax25_route.c err = -ENOMEM; err 85 net/bluetooth/af_bluetooth.c int err = 0; err 93 net/bluetooth/af_bluetooth.c err = -EEXIST; err 99 net/bluetooth/af_bluetooth.c return err; err 105 net/bluetooth/af_bluetooth.c int err = 0; err 113 net/bluetooth/af_bluetooth.c err = -ENOENT; err 119 net/bluetooth/af_bluetooth.c return err; err 140 net/bluetooth/af_bluetooth.c int err; err 154 net/bluetooth/af_bluetooth.c err = -EPROTONOSUPPORT; err 159 net/bluetooth/af_bluetooth.c err = bt_proto[proto]->create(net, sock, proto); err 166 net/bluetooth/af_bluetooth.c return err; err 247 net/bluetooth/af_bluetooth.c int err; err 254 net/bluetooth/af_bluetooth.c if (!(skb = skb_recv_datagram(sk, flags, noblock, &err))) { err 257 net/bluetooth/af_bluetooth.c return err; err 269 net/bluetooth/af_bluetooth.c err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); err 270 net/bluetooth/af_bluetooth.c if (err == 0) err 275 net/bluetooth/af_bluetooth.c return err ? : copied; err 340 net/bluetooth/af_bluetooth.c int err; err 352 net/bluetooth/af_bluetooth.c err = put_user(amount, (int __user *) arg); err 363 net/bluetooth/af_bluetooth.c err = put_user(amount, (int __user *) arg); err 367 net/bluetooth/af_bluetooth.c err = sock_get_timestamp(sk, (struct timeval __user *) arg); err 371 net/bluetooth/af_bluetooth.c err = sock_get_timestampns(sk, (struct timespec __user *) arg); err 375 net/bluetooth/af_bluetooth.c err = -ENOIOCTLCMD; err 379 net/bluetooth/af_bluetooth.c return err; err 386 net/bluetooth/af_bluetooth.c int err = 0; err 395 net/bluetooth/af_bluetooth.c err = -EINPROGRESS; err 400 net/bluetooth/af_bluetooth.c err = sock_intr_errno(timeo); err 408 net/bluetooth/af_bluetooth.c err = sock_error(sk); err 409 net/bluetooth/af_bluetooth.c if (err) err 414 net/bluetooth/af_bluetooth.c return err; err 426 net/bluetooth/af_bluetooth.c int err; err 430 net/bluetooth/af_bluetooth.c err = bt_sysfs_init(); err 431 net/bluetooth/af_bluetooth.c if (err < 0) err 432 net/bluetooth/af_bluetooth.c return err; err 434 net/bluetooth/af_bluetooth.c err = sock_register(&bt_sock_family_ops); err 435 net/bluetooth/af_bluetooth.c if (err < 0) { err 437 net/bluetooth/af_bluetooth.c return err; err 232 net/bluetooth/bnep/core.c int err = 0; err 246 net/bluetooth/bnep/core.c err = bnep_ctrl_set_netfilter(s, data, len); err 250 net/bluetooth/bnep/core.c err = bnep_ctrl_set_mcfilter(s, data, len); err 263 net/bluetooth/bnep/core.c return err; err 269 net/bluetooth/bnep/core.c int err = 0; err 274 net/bluetooth/bnep/core.c err = -EILSEQ; err 291 net/bluetooth/bnep/core.c err = -EILSEQ; err 294 net/bluetooth/bnep/core.c } while (!err && (h->type & BNEP_EXT_HEADER)); err 296 net/bluetooth/bnep/core.c return err; err 547 net/bluetooth/bnep/core.c int err; err 565 net/bluetooth/bnep/core.c err = -EEXIST; err 596 net/bluetooth/bnep/core.c err = register_netdev(dev); err 597 net/bluetooth/bnep/core.c if (err) { err 603 net/bluetooth/bnep/core.c err = kernel_thread(bnep_session, s, CLONE_KERNEL); err 604 net/bluetooth/bnep/core.c if (err < 0) { err 618 net/bluetooth/bnep/core.c return err; err 624 net/bluetooth/bnep/core.c int err = 0; err 640 net/bluetooth/bnep/core.c err = -ENOENT; err 643 net/bluetooth/bnep/core.c return err; err 658 net/bluetooth/bnep/core.c int err = 0, n = 0; err 671 net/bluetooth/bnep/core.c err = -EFAULT; err 683 net/bluetooth/bnep/core.c return err; err 689 net/bluetooth/bnep/core.c int err = 0; err 697 net/bluetooth/bnep/core.c err = -ENOENT; err 700 net/bluetooth/bnep/core.c return err; err 76 net/bluetooth/bnep/sock.c int err; err 88 net/bluetooth/bnep/sock.c nsock = sockfd_lookup(ca.sock, &err); err 90 net/bluetooth/bnep/sock.c return err; err 97 net/bluetooth/bnep/sock.c err = bnep_add_connection(&ca, nsock); err 98 net/bluetooth/bnep/sock.c if (!err) { err 100 net/bluetooth/bnep/sock.c err = -EFAULT; err 104 net/bluetooth/bnep/sock.c return err; err 122 net/bluetooth/bnep/sock.c err = bnep_get_connlist(&cl); err 123 net/bluetooth/bnep/sock.c if (!err && copy_to_user(argp, &cl, sizeof(cl))) err 126 net/bluetooth/bnep/sock.c return err; err 132 net/bluetooth/bnep/sock.c err = bnep_get_conninfo(&ci); err 133 net/bluetooth/bnep/sock.c if (!err && copy_to_user(argp, &ci, sizeof(ci))) err 136 net/bluetooth/bnep/sock.c return err; err 151 net/bluetooth/bnep/sock.c int err; err 162 net/bluetooth/bnep/sock.c err = bnep_get_connlist(&cl); err 164 net/bluetooth/bnep/sock.c if (!err && put_user(cl.cnum, (uint32_t __user *) arg)) err 165 net/bluetooth/bnep/sock.c err = -EFAULT; err 167 net/bluetooth/bnep/sock.c return err; err 238 net/bluetooth/bnep/sock.c int err; err 240 net/bluetooth/bnep/sock.c err = proto_register(&bnep_proto, 0); err 241 net/bluetooth/bnep/sock.c if (err < 0) err 242 net/bluetooth/bnep/sock.c return err; err 244 net/bluetooth/bnep/sock.c err = bt_sock_register(BTPROTO_BNEP, &bnep_sock_family_ops); err 245 net/bluetooth/bnep/sock.c if (err < 0) err 253 net/bluetooth/bnep/sock.c return err; err 403 net/bluetooth/cmtp/capi.c int err = 0, nconn, want = rp->level3cnt; err 437 net/bluetooth/cmtp/capi.c err = -EAGAIN; err 442 net/bluetooth/cmtp/capi.c err = -application->err; err 450 net/bluetooth/cmtp/capi.c err = -EINTR; err 459 net/bluetooth/cmtp/capi.c if (err) { err 106 net/bluetooth/cmtp/cmtp.h int err; err 331 net/bluetooth/cmtp/core.c int i, err; err 346 net/bluetooth/cmtp/core.c err = -EEXIST; err 376 net/bluetooth/cmtp/core.c err = kernel_thread(cmtp_session, session, CLONE_KERNEL); err 377 net/bluetooth/cmtp/core.c if (err < 0) err 381 net/bluetooth/cmtp/core.c err = cmtp_attach_device(session); err 382 net/bluetooth/cmtp/core.c if (err < 0) err 398 net/bluetooth/cmtp/core.c return err; err 404 net/bluetooth/cmtp/core.c int err = 0; err 419 net/bluetooth/cmtp/core.c err = -ENOENT; err 422 net/bluetooth/cmtp/core.c return err; err 428 net/bluetooth/cmtp/core.c int err = 0, n = 0; err 443 net/bluetooth/cmtp/core.c err = -EFAULT; err 455 net/bluetooth/cmtp/core.c return err; err 461 net/bluetooth/cmtp/core.c int err = 0; err 469 net/bluetooth/cmtp/core.c err = -ENOENT; err 472 net/bluetooth/cmtp/core.c return err; err 74 net/bluetooth/cmtp/sock.c int err; err 86 net/bluetooth/cmtp/sock.c nsock = sockfd_lookup(ca.sock, &err); err 88 net/bluetooth/cmtp/sock.c return err; err 95 net/bluetooth/cmtp/sock.c err = cmtp_add_connection(&ca, nsock); err 96 net/bluetooth/cmtp/sock.c if (!err) { err 98 net/bluetooth/cmtp/sock.c err = -EFAULT; err 102 net/bluetooth/cmtp/sock.c return err; err 120 net/bluetooth/cmtp/sock.c err = cmtp_get_connlist(&cl); err 121 net/bluetooth/cmtp/sock.c if (!err && copy_to_user(argp, &cl, sizeof(cl))) err 124 net/bluetooth/cmtp/sock.c return err; err 130 net/bluetooth/cmtp/sock.c err = cmtp_get_conninfo(&ci); err 131 net/bluetooth/cmtp/sock.c if (!err && copy_to_user(argp, &ci, sizeof(ci))) err 134 net/bluetooth/cmtp/sock.c return err; err 146 net/bluetooth/cmtp/sock.c int err; err 157 net/bluetooth/cmtp/sock.c err = cmtp_get_connlist(&cl); err 159 net/bluetooth/cmtp/sock.c if (!err && put_user(cl.cnum, (uint32_t __user *) arg)) err 160 net/bluetooth/cmtp/sock.c err = -EFAULT; err 162 net/bluetooth/cmtp/sock.c return err; err 233 net/bluetooth/cmtp/sock.c int err; err 235 net/bluetooth/cmtp/sock.c err = proto_register(&cmtp_proto, 0); err 236 net/bluetooth/cmtp/sock.c if (err < 0) err 237 net/bluetooth/cmtp/sock.c return err; err 239 net/bluetooth/cmtp/sock.c err = bt_sock_register(BTPROTO_CMTP, &cmtp_sock_family_ops); err 240 net/bluetooth/cmtp/sock.c if (err < 0) err 248 net/bluetooth/cmtp/sock.c return err; err 579 net/bluetooth/hci_conn.c int n = 0, size, err; err 621 net/bluetooth/hci_conn.c err = copy_to_user(arg, cl, size); err 624 net/bluetooth/hci_conn.c return err ? -EFAULT : 0; err 110 net/bluetooth/hci_core.c BT_DBG("%s err 0x%2.2x", hdev->name, err); err 113 net/bluetooth/hci_core.c hdev->req_result = err; err 124 net/bluetooth/hci_core.c int err = 0; err 143 net/bluetooth/hci_core.c err = -bt_err(hdev->req_result); err 147 net/bluetooth/hci_core.c err = -hdev->req_result; err 151 net/bluetooth/hci_core.c err = -ETIMEDOUT; err 157 net/bluetooth/hci_core.c BT_DBG("%s end: err %d", hdev->name, err); err 159 net/bluetooth/hci_core.c return err; err 415 net/bluetooth/hci_core.c int err = 0, do_inquiry = 0, max_rsp; err 435 net/bluetooth/hci_core.c if (do_inquiry && (err = hci_request(hdev, hci_inq_req, (unsigned long)&ir, timeo)) < 0) err 445 net/bluetooth/hci_core.c err = -ENOMEM; err 459 net/bluetooth/hci_core.c err = -EFAULT; err 461 net/bluetooth/hci_core.c err = -EFAULT; err 467 net/bluetooth/hci_core.c return err; err 605 net/bluetooth/hci_core.c int err; err 609 net/bluetooth/hci_core.c err = hci_dev_do_close(hdev); err 611 net/bluetooth/hci_core.c return err; err 673 net/bluetooth/hci_core.c int err = 0; err 683 net/bluetooth/hci_core.c err = hci_request(hdev, hci_auth_req, dr.dev_opt, err 689 net/bluetooth/hci_core.c err = -EOPNOTSUPP; err 695 net/bluetooth/hci_core.c err = hci_request(hdev, hci_auth_req, dr.dev_opt, err 697 net/bluetooth/hci_core.c if (err) err 701 net/bluetooth/hci_core.c err = hci_request(hdev, hci_encrypt_req, dr.dev_opt, err 706 net/bluetooth/hci_core.c err = hci_request(hdev, hci_scan_req, dr.dev_opt, err 711 net/bluetooth/hci_core.c err = hci_request(hdev, hci_linkpol_req, dr.dev_opt, err 735 net/bluetooth/hci_core.c err = -EINVAL; err 740 net/bluetooth/hci_core.c return err; err 748 net/bluetooth/hci_core.c int n = 0, size, err; err 778 net/bluetooth/hci_core.c err = copy_to_user(arg, dl, size); err 781 net/bluetooth/hci_core.c return err ? -EFAULT : 0; err 788 net/bluetooth/hci_core.c int err = 0; err 812 net/bluetooth/hci_core.c err = -EFAULT; err 816 net/bluetooth/hci_core.c return err; err 1046 net/bluetooth/hci_core.c int err = 0; err 1058 net/bluetooth/hci_core.c err = -EEXIST; err 1062 net/bluetooth/hci_core.c return err; err 1068 net/bluetooth/hci_core.c int err = 0; err 1080 net/bluetooth/hci_core.c err = -ENOENT; err 1084 net/bluetooth/hci_core.c return err; err 213 net/bluetooth/hci_sock.c int err; err 264 net/bluetooth/hci_sock.c err = hci_sock_bound_ioctl(sk, cmd, arg); err 266 net/bluetooth/hci_sock.c return err; err 275 net/bluetooth/hci_sock.c int err = 0; err 285 net/bluetooth/hci_sock.c err = -EALREADY; err 291 net/bluetooth/hci_sock.c err = -ENODEV; err 303 net/bluetooth/hci_sock.c return err; err 365 net/bluetooth/hci_sock.c int copied, err; err 375 net/bluetooth/hci_sock.c if (!(skb = skb_recv_datagram(sk, flags, noblock, &err))) err 376 net/bluetooth/hci_sock.c return err; err 387 net/bluetooth/hci_sock.c err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); err 393 net/bluetooth/hci_sock.c return err ? : copied; err 402 net/bluetooth/hci_sock.c int err; err 418 net/bluetooth/hci_sock.c err = -EBADFD; err 422 net/bluetooth/hci_sock.c if (!(skb = bt_skb_send_alloc(sk, len, msg->msg_flags & MSG_DONTWAIT, &err))) err 426 net/bluetooth/hci_sock.c err = -EFAULT; err 442 net/bluetooth/hci_sock.c err = -EPERM; err 455 net/bluetooth/hci_sock.c err = -EPERM; err 463 net/bluetooth/hci_sock.c err = len; err 467 net/bluetooth/hci_sock.c return err; err 478 net/bluetooth/hci_sock.c int err = 0, opt = 0; err 487 net/bluetooth/hci_sock.c err = -EFAULT; err 499 net/bluetooth/hci_sock.c err = -EFAULT; err 521 net/bluetooth/hci_sock.c err = -EFAULT; err 542 net/bluetooth/hci_sock.c err = -ENOPROTOOPT; err 547 net/bluetooth/hci_sock.c return err; err 707 net/bluetooth/hci_sock.c int err; err 709 net/bluetooth/hci_sock.c err = proto_register(&hci_sk_proto, 0); err 710 net/bluetooth/hci_sock.c if (err < 0) err 711 net/bluetooth/hci_sock.c return err; err 713 net/bluetooth/hci_sock.c err = bt_sock_register(BTPROTO_HCI, &hci_sock_family_ops); err 714 net/bluetooth/hci_sock.c if (err < 0) err 726 net/bluetooth/hci_sock.c return err; err 416 net/bluetooth/hci_sysfs.c int err; err 428 net/bluetooth/hci_sysfs.c err = device_register(dev); err 429 net/bluetooth/hci_sysfs.c if (err < 0) err 430 net/bluetooth/hci_sysfs.c return err; err 327 net/bluetooth/hidp/core.c int err; err 329 net/bluetooth/hidp/core.c err = __hidp_send_ctrl_message(session, hdr, data, size); err 333 net/bluetooth/hidp/core.c return err; err 761 net/bluetooth/hidp/core.c goto err; err 792 net/bluetooth/hidp/core.c err: err 799 net/bluetooth/hidp/core.c int err; err 817 net/bluetooth/hidp/core.c err = -EEXIST; err 841 net/bluetooth/hidp/core.c err = hidp_setup_hid(session, req); err 842 net/bluetooth/hidp/core.c if (err && err != -ENODEV) err 847 net/bluetooth/hidp/core.c err = hidp_setup_input(session, req); err 848 net/bluetooth/hidp/core.c if (err < 0) err 856 net/bluetooth/hidp/core.c err = kernel_thread(hidp_session, session, CLONE_KERNEL); err 857 net/bluetooth/hidp/core.c if (err < 0) err 889 net/bluetooth/hidp/core.c return err; err 895 net/bluetooth/hidp/core.c int err = 0; err 920 net/bluetooth/hidp/core.c err = -ENOENT; err 923 net/bluetooth/hidp/core.c return err; err 929 net/bluetooth/hidp/core.c int err = 0, n = 0; err 944 net/bluetooth/hidp/core.c err = -EFAULT; err 956 net/bluetooth/hidp/core.c return err; err 962 net/bluetooth/hidp/core.c int err = 0; err 970 net/bluetooth/hidp/core.c err = -ENOENT; err 973 net/bluetooth/hidp/core.c return err; err 996 net/bluetooth/hidp/core.c goto err; err 1005 net/bluetooth/hidp/core.c err: err 71 net/bluetooth/hidp/sock.c int err; err 83 net/bluetooth/hidp/sock.c csock = sockfd_lookup(ca.ctrl_sock, &err); err 85 net/bluetooth/hidp/sock.c return err; err 87 net/bluetooth/hidp/sock.c isock = sockfd_lookup(ca.intr_sock, &err); err 90 net/bluetooth/hidp/sock.c return err; err 99 net/bluetooth/hidp/sock.c err = hidp_add_connection(&ca, csock, isock); err 100 net/bluetooth/hidp/sock.c if (!err) { err 102 net/bluetooth/hidp/sock.c err = -EFAULT; err 108 net/bluetooth/hidp/sock.c return err; err 126 net/bluetooth/hidp/sock.c err = hidp_get_connlist(&cl); err 127 net/bluetooth/hidp/sock.c if (!err && copy_to_user(argp, &cl, sizeof(cl))) err 130 net/bluetooth/hidp/sock.c return err; err 136 net/bluetooth/hidp/sock.c err = hidp_get_conninfo(&ci); err 137 net/bluetooth/hidp/sock.c if (!err && copy_to_user(argp, &ci, sizeof(ci))) err 140 net/bluetooth/hidp/sock.c return err; err 168 net/bluetooth/hidp/sock.c int err; err 179 net/bluetooth/hidp/sock.c err = hidp_get_connlist(&cl); err 181 net/bluetooth/hidp/sock.c if (!err && put_user(cl.cnum, (uint32_t __user *) arg)) err 182 net/bluetooth/hidp/sock.c err = -EFAULT; err 184 net/bluetooth/hidp/sock.c return err; err 284 net/bluetooth/hidp/sock.c int err; err 286 net/bluetooth/hidp/sock.c err = proto_register(&hidp_proto, 0); err 287 net/bluetooth/hidp/sock.c if (err < 0) err 288 net/bluetooth/hidp/sock.c return err; err 290 net/bluetooth/hidp/sock.c err = bt_sock_register(BTPROTO_HIDP, &hidp_sock_family_ops); err 291 net/bluetooth/hidp/sock.c if (err < 0) err 299 net/bluetooth/hidp/sock.c return err; err 244 net/bluetooth/l2cap.c BT_DBG("sk %p, conn %p, err %d", sk, conn, err); err 256 net/bluetooth/l2cap.c if (err) err 257 net/bluetooth/l2cap.c sk->sk_err = err; err 435 net/bluetooth/l2cap.c sk->sk_err = err; err 489 net/bluetooth/l2cap.c BT_DBG("hcon %p conn %p, err %d", hcon, conn, err); err 497 net/bluetooth/l2cap.c l2cap_chan_del(sk, err); err 735 net/bluetooth/l2cap.c int err = 0; err 745 net/bluetooth/l2cap.c err = -EBADFD; err 751 net/bluetooth/l2cap.c err = -EACCES; err 758 net/bluetooth/l2cap.c err = -EADDRINUSE; err 771 net/bluetooth/l2cap.c return err; err 782 net/bluetooth/l2cap.c int err = 0; err 791 net/bluetooth/l2cap.c err = -ENOMEM; err 817 net/bluetooth/l2cap.c err = 0; err 838 net/bluetooth/l2cap.c return err; err 845 net/bluetooth/l2cap.c int err = 0; err 852 net/bluetooth/l2cap.c err = -EINVAL; err 857 net/bluetooth/l2cap.c err = -EINVAL; err 878 net/bluetooth/l2cap.c err = -EBADFD; err 886 net/bluetooth/l2cap.c if ((err = l2cap_do_connect(sk))) err 890 net/bluetooth/l2cap.c err = bt_sock_wait_state(sk, BT_CONNECTED, err 894 net/bluetooth/l2cap.c return err; err 900 net/bluetooth/l2cap.c int err = 0; err 907 net/bluetooth/l2cap.c err = -EBADFD; err 915 net/bluetooth/l2cap.c err = -EINVAL; err 923 net/bluetooth/l2cap.c err = 0; err 929 net/bluetooth/l2cap.c if (err < 0) err 939 net/bluetooth/l2cap.c return err; err 947 net/bluetooth/l2cap.c int err = 0; err 952 net/bluetooth/l2cap.c err = -EBADFD; err 965 net/bluetooth/l2cap.c err = -EAGAIN; err 974 net/bluetooth/l2cap.c err = -EBADFD; err 979 net/bluetooth/l2cap.c err = sock_intr_errno(timeo); err 986 net/bluetooth/l2cap.c if (err) err 995 net/bluetooth/l2cap.c return err; err 1021 net/bluetooth/l2cap.c int err, hlen, count, sent=0; err 1035 net/bluetooth/l2cap.c msg->msg_flags & MSG_DONTWAIT, &err); err 1037 net/bluetooth/l2cap.c return err; err 1048 net/bluetooth/l2cap.c err = -EFAULT; err 1060 net/bluetooth/l2cap.c *frag = bt_skb_send_alloc(sk, count, msg->msg_flags & MSG_DONTWAIT, &err); err 1065 net/bluetooth/l2cap.c err = -EFAULT; err 1075 net/bluetooth/l2cap.c if ((err = hci_send_acl(conn->hcon, skb, 0)) < 0) err 1082 net/bluetooth/l2cap.c return err; err 1088 net/bluetooth/l2cap.c int err = 0; err 1092 net/bluetooth/l2cap.c err = sock_error(sk); err 1093 net/bluetooth/l2cap.c if (err) err 1094 net/bluetooth/l2cap.c return err; err 1106 net/bluetooth/l2cap.c err = l2cap_do_send(sk, msg, len); err 1108 net/bluetooth/l2cap.c err = -ENOTCONN; err 1111 net/bluetooth/l2cap.c return err; err 1118 net/bluetooth/l2cap.c int err = 0, len; err 1134 net/bluetooth/l2cap.c err = -EFAULT; err 1144 net/bluetooth/l2cap.c err = -EFAULT; err 1152 net/bluetooth/l2cap.c err = -ENOPROTOOPT; err 1157 net/bluetooth/l2cap.c return err; err 1165 net/bluetooth/l2cap.c int len, err = 0; err 1183 net/bluetooth/l2cap.c err = -EFAULT; err 1189 net/bluetooth/l2cap.c err = -EFAULT; err 1194 net/bluetooth/l2cap.c err = -ENOTCONN; err 1203 net/bluetooth/l2cap.c err = -EFAULT; err 1208 net/bluetooth/l2cap.c err = -ENOPROTOOPT; err 1213 net/bluetooth/l2cap.c return err; err 1219 net/bluetooth/l2cap.c int err = 0; err 1233 net/bluetooth/l2cap.c err = bt_sock_wait_state(sk, BT_CLOSED, err 1237 net/bluetooth/l2cap.c return err; err 1243 net/bluetooth/l2cap.c int err; err 1250 net/bluetooth/l2cap.c err = l2cap_sock_shutdown(sock, 2); err 1254 net/bluetooth/l2cap.c return err; err 1954 net/bluetooth/l2cap.c int err = 0; err 1979 net/bluetooth/l2cap.c err = l2cap_connect_req(conn, &cmd, data); err 1983 net/bluetooth/l2cap.c err = l2cap_connect_rsp(conn, &cmd, data); err 1987 net/bluetooth/l2cap.c err = l2cap_config_req(conn, &cmd, cmd_len, data); err 1991 net/bluetooth/l2cap.c err = l2cap_config_rsp(conn, &cmd, data); err 1995 net/bluetooth/l2cap.c err = l2cap_disconnect_req(conn, &cmd, data); err 1999 net/bluetooth/l2cap.c err = l2cap_disconnect_rsp(conn, &cmd, data); err 2010 net/bluetooth/l2cap.c err = l2cap_information_req(conn, &cmd, data); err 2014 net/bluetooth/l2cap.c err = l2cap_information_rsp(conn, &cmd, data); err 2019 net/bluetooth/l2cap.c err = -EINVAL; err 2023 net/bluetooth/l2cap.c if (err) { err 2025 net/bluetooth/l2cap.c BT_DBG("error %d", err); err 2484 net/bluetooth/l2cap.c int err; err 2486 net/bluetooth/l2cap.c err = proto_register(&l2cap_proto, 0); err 2487 net/bluetooth/l2cap.c if (err < 0) err 2488 net/bluetooth/l2cap.c return err; err 2490 net/bluetooth/l2cap.c err = bt_sock_register(BTPROTO_L2CAP, &l2cap_sock_family_ops); err 2491 net/bluetooth/l2cap.c if (err < 0) { err 2496 net/bluetooth/l2cap.c err = hci_register_proto(&l2cap_hci_proto); err 2497 net/bluetooth/l2cap.c if (err < 0) { err 2513 net/bluetooth/l2cap.c return err; err 218 net/bluetooth/rfcomm/core.c int err; err 222 net/bluetooth/rfcomm/core.c err = sock_create_kern(PF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP, sock); err 223 net/bluetooth/rfcomm/core.c if (!err) { err 228 net/bluetooth/rfcomm/core.c return err; err 356 net/bluetooth/rfcomm/core.c int err = 0; err 370 net/bluetooth/rfcomm/core.c s = rfcomm_session_create(src, dst, &err); err 372 net/bluetooth/rfcomm/core.c return err; err 426 net/bluetooth/rfcomm/core.c d, d->state, d->dlci, err, s); err 447 net/bluetooth/rfcomm/core.c d->state_change(d, err); err 463 net/bluetooth/rfcomm/core.c r = __rfcomm_dlc_close(d, err); err 612 net/bluetooth/rfcomm/core.c BT_DBG("session %p state %ld err %d", s, s->state, err); err 622 net/bluetooth/rfcomm/core.c __rfcomm_dlc_close(d, err); err 637 net/bluetooth/rfcomm/core.c *err = rfcomm_l2sock_create(&sock); err 638 net/bluetooth/rfcomm/core.c if (*err < 0) err 644 net/bluetooth/rfcomm/core.c *err = kernel_bind(sock, (struct sockaddr *) &addr, sizeof(addr)); err 645 net/bluetooth/rfcomm/core.c if (*err < 0) err 656 net/bluetooth/rfcomm/core.c *err = -ENOMEM; err 665 net/bluetooth/rfcomm/core.c *err = kernel_connect(sock, (struct sockaddr *) &addr, sizeof(addr), O_NONBLOCK); err 666 net/bluetooth/rfcomm/core.c if (*err == 0 || *err == -EINPROGRESS) err 1106 net/bluetooth/rfcomm/core.c int err = 0; err 1115 net/bluetooth/rfcomm/core.c err = ECONNREFUSED; err 1117 net/bluetooth/rfcomm/core.c err = ECONNRESET; err 1120 net/bluetooth/rfcomm/core.c __rfcomm_dlc_close(d, err); err 1124 net/bluetooth/rfcomm/core.c err = ECONNREFUSED; err 1126 net/bluetooth/rfcomm/core.c err = ECONNRESET; err 1129 net/bluetooth/rfcomm/core.c rfcomm_session_close(s, err); err 1136 net/bluetooth/rfcomm/core.c int err = 0; err 1146 net/bluetooth/rfcomm/core.c err = ECONNREFUSED; err 1148 net/bluetooth/rfcomm/core.c err = ECONNRESET; err 1151 net/bluetooth/rfcomm/core.c __rfcomm_dlc_close(d, err); err 1159 net/bluetooth/rfcomm/core.c err = ECONNREFUSED; err 1161 net/bluetooth/rfcomm/core.c err = ECONNRESET; err 1164 net/bluetooth/rfcomm/core.c rfcomm_session_close(s, err); err 1660 net/bluetooth/rfcomm/core.c int err; err 1687 net/bluetooth/rfcomm/core.c err = rfcomm_send_frame(d->session, skb->data, skb->len); err 1688 net/bluetooth/rfcomm/core.c if (err < 0) { err 1776 net/bluetooth/rfcomm/core.c int err; err 1785 net/bluetooth/rfcomm/core.c err = kernel_accept(sock, &nsock, O_NONBLOCK); err 1786 net/bluetooth/rfcomm/core.c if (err < 0) err 1873 net/bluetooth/rfcomm/core.c int err = 0; err 1876 net/bluetooth/rfcomm/core.c err = rfcomm_l2sock_create(&sock); err 1877 net/bluetooth/rfcomm/core.c if (err < 0) { err 1878 net/bluetooth/rfcomm/core.c BT_ERR("Create socket failed %d", err); err 1879 net/bluetooth/rfcomm/core.c return err; err 1886 net/bluetooth/rfcomm/core.c err = kernel_bind(sock, (struct sockaddr *) &addr, sizeof(addr)); err 1887 net/bluetooth/rfcomm/core.c if (err < 0) { err 1888 net/bluetooth/rfcomm/core.c BT_ERR("Bind failed %d", err); err 1899 net/bluetooth/rfcomm/core.c err = kernel_listen(sock, 10); err 1900 net/bluetooth/rfcomm/core.c if (err) { err 1901 net/bluetooth/rfcomm/core.c BT_ERR("Listen failed %d", err); err 1914 net/bluetooth/rfcomm/core.c return err; err 91 net/bluetooth/rfcomm/sock.c BT_DBG("dlc %p state %ld err %d", d, d->state, err); err 95 net/bluetooth/rfcomm/sock.c if (err) err 96 net/bluetooth/rfcomm/sock.c sk->sk_err = err; err 349 net/bluetooth/rfcomm/sock.c int err = 0; err 359 net/bluetooth/rfcomm/sock.c err = -EBADFD; err 364 net/bluetooth/rfcomm/sock.c err = -EINVAL; err 371 net/bluetooth/rfcomm/sock.c err = -EADDRINUSE; err 383 net/bluetooth/rfcomm/sock.c return err; err 391 net/bluetooth/rfcomm/sock.c int err = 0; err 401 net/bluetooth/rfcomm/sock.c err = -EBADFD; err 406 net/bluetooth/rfcomm/sock.c err = -EINVAL; err 416 net/bluetooth/rfcomm/sock.c err = rfcomm_dlc_open(d, &bt_sk(sk)->src, &sa->rc_bdaddr, sa->rc_channel); err 417 net/bluetooth/rfcomm/sock.c if (!err) err 418 net/bluetooth/rfcomm/sock.c err = bt_sock_wait_state(sk, BT_CONNECTED, err 423 net/bluetooth/rfcomm/sock.c return err; err 429 net/bluetooth/rfcomm/sock.c int err = 0; err 436 net/bluetooth/rfcomm/sock.c err = -EBADFD; err 441 net/bluetooth/rfcomm/sock.c err = -EINVAL; err 449 net/bluetooth/rfcomm/sock.c err = -EINVAL; err 456 net/bluetooth/rfcomm/sock.c err = 0; err 462 net/bluetooth/rfcomm/sock.c if (err < 0) err 472 net/bluetooth/rfcomm/sock.c return err; err 480 net/bluetooth/rfcomm/sock.c int err = 0; err 485 net/bluetooth/rfcomm/sock.c err = -EBADFD; err 490 net/bluetooth/rfcomm/sock.c err = -EINVAL; err 503 net/bluetooth/rfcomm/sock.c err = -EAGAIN; err 512 net/bluetooth/rfcomm/sock.c err = -EBADFD; err 517 net/bluetooth/rfcomm/sock.c err = sock_intr_errno(timeo); err 524 net/bluetooth/rfcomm/sock.c if (err) err 533 net/bluetooth/rfcomm/sock.c return err; err 574 net/bluetooth/rfcomm/sock.c int err; err 577 net/bluetooth/rfcomm/sock.c msg->msg_flags & MSG_DONTWAIT, &err); err 582 net/bluetooth/rfcomm/sock.c err = memcpy_fromiovec(skb_put(skb, size), msg->msg_iov, size); err 583 net/bluetooth/rfcomm/sock.c if (err) { err 586 net/bluetooth/rfcomm/sock.c sent = err; err 590 net/bluetooth/rfcomm/sock.c err = rfcomm_dlc_send(d, skb); err 591 net/bluetooth/rfcomm/sock.c if (err < 0) { err 594 net/bluetooth/rfcomm/sock.c sent = err; err 638 net/bluetooth/rfcomm/sock.c int err = 0; err 663 net/bluetooth/rfcomm/sock.c if ((err = sock_error(sk)) != 0) err 668 net/bluetooth/rfcomm/sock.c err = -EAGAIN; err 675 net/bluetooth/rfcomm/sock.c err = sock_intr_errno(timeo); err 715 net/bluetooth/rfcomm/sock.c return copied ? : err; err 721 net/bluetooth/rfcomm/sock.c int err = 0; err 731 net/bluetooth/rfcomm/sock.c err = -EFAULT; err 739 net/bluetooth/rfcomm/sock.c err = -ENOPROTOOPT; err 744 net/bluetooth/rfcomm/sock.c return err; err 752 net/bluetooth/rfcomm/sock.c int len, err = 0; err 764 net/bluetooth/rfcomm/sock.c err = -EFAULT; err 769 net/bluetooth/rfcomm/sock.c err = -ENOTCONN; err 780 net/bluetooth/rfcomm/sock.c err = -EFAULT; err 785 net/bluetooth/rfcomm/sock.c err = -ENOPROTOOPT; err 790 net/bluetooth/rfcomm/sock.c return err; err 796 net/bluetooth/rfcomm/sock.c int err; err 800 net/bluetooth/rfcomm/sock.c err = bt_sock_ioctl(sock, cmd, arg); err 802 net/bluetooth/rfcomm/sock.c if (err == -ENOIOCTLCMD) { err 805 net/bluetooth/rfcomm/sock.c err = rfcomm_dev_ioctl(sk, cmd, (void __user *) arg); err 808 net/bluetooth/rfcomm/sock.c err = -EOPNOTSUPP; err 812 net/bluetooth/rfcomm/sock.c return err; err 818 net/bluetooth/rfcomm/sock.c int err = 0; err 830 net/bluetooth/rfcomm/sock.c err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); err 833 net/bluetooth/rfcomm/sock.c return err; err 839 net/bluetooth/rfcomm/sock.c int err; err 846 net/bluetooth/rfcomm/sock.c err = rfcomm_sock_shutdown(sock, 2); err 850 net/bluetooth/rfcomm/sock.c return err; err 948 net/bluetooth/rfcomm/sock.c int err; err 950 net/bluetooth/rfcomm/sock.c err = proto_register(&rfcomm_proto, 0); err 951 net/bluetooth/rfcomm/sock.c if (err < 0) err 952 net/bluetooth/rfcomm/sock.c return err; err 954 net/bluetooth/rfcomm/sock.c err = bt_sock_register(BTPROTO_RFCOMM, &rfcomm_sock_family_ops); err 955 net/bluetooth/rfcomm/sock.c if (err < 0) err 968 net/bluetooth/rfcomm/sock.c return err; err 62 net/bluetooth/rfcomm/tty.c int err; err 209 net/bluetooth/rfcomm/tty.c int err = 0; err 236 net/bluetooth/rfcomm/tty.c err = -EADDRINUSE; err 248 net/bluetooth/rfcomm/tty.c err = -ENFILE; err 304 net/bluetooth/rfcomm/tty.c if (err < 0) { err 306 net/bluetooth/rfcomm/tty.c return err; err 312 net/bluetooth/rfcomm/tty.c err = PTR_ERR(dev->tty_dev); err 315 net/bluetooth/rfcomm/tty.c return err; err 464 net/bluetooth/rfcomm/tty.c int n = 0, size, err; err 503 net/bluetooth/rfcomm/tty.c err = copy_to_user(arg, dl, size); err 506 net/bluetooth/rfcomm/tty.c return err ? -EFAULT : 0; err 513 net/bluetooth/rfcomm/tty.c int err = 0; err 530 net/bluetooth/rfcomm/tty.c err = -EFAULT; err 533 net/bluetooth/rfcomm/tty.c return err; err 587 net/bluetooth/rfcomm/tty.c BT_DBG("dlc %p dev %p err %d", dlc, dev, err); err 589 net/bluetooth/rfcomm/tty.c dev->err = err; err 678 net/bluetooth/rfcomm/tty.c int err, id; err 707 net/bluetooth/rfcomm/tty.c err = rfcomm_dlc_open(dlc, &dev->src, &dev->dst, dev->channel); err 708 net/bluetooth/rfcomm/tty.c if (err < 0) err 709 net/bluetooth/rfcomm/tty.c return err; err 717 net/bluetooth/rfcomm/tty.c err = -dev->err; err 725 net/bluetooth/rfcomm/tty.c err = -EINTR; err 734 net/bluetooth/rfcomm/tty.c if (err == 0) err 741 net/bluetooth/rfcomm/tty.c return err; err 776 net/bluetooth/rfcomm/tty.c int err = 0, sent = 0, size; err 792 net/bluetooth/rfcomm/tty.c if ((err = rfcomm_dlc_send(dlc, skb)) < 0) { err 801 net/bluetooth/rfcomm/tty.c return sent ? sent : err; err 150 net/bluetooth/sco.c BT_DBG("hcon %p conn %p, err %d", hcon, conn, err); err 156 net/bluetooth/sco.c sco_chan_del(sk, err); err 168 net/bluetooth/sco.c int err = 0; err 172 net/bluetooth/sco.c err = -EBUSY; err 177 net/bluetooth/sco.c return err; err 187 net/bluetooth/sco.c int err, type; err 196 net/bluetooth/sco.c err = -ENOMEM; err 216 net/bluetooth/sco.c err = sco_chan_add(conn, sk, NULL); err 217 net/bluetooth/sco.c if (err) err 231 net/bluetooth/sco.c return err; err 238 net/bluetooth/sco.c int err, count; err 247 net/bluetooth/sco.c if (!(skb = bt_skb_send_alloc(sk, count, msg->msg_flags & MSG_DONTWAIT, &err))) err 248 net/bluetooth/sco.c return err; err 251 net/bluetooth/sco.c err = -EFAULT; err 255 net/bluetooth/sco.c if ((err = hci_send_sco(conn->hcon, skb)) < 0) err 256 net/bluetooth/sco.c return err; err 262 net/bluetooth/sco.c return err; err 469 net/bluetooth/sco.c int err = 0; err 479 net/bluetooth/sco.c err = -EBADFD; err 486 net/bluetooth/sco.c err = -EADDRINUSE; err 497 net/bluetooth/sco.c return err; err 504 net/bluetooth/sco.c int err = 0; err 523 net/bluetooth/sco.c if ((err = sco_connect(sk))) err 526 net/bluetooth/sco.c err = bt_sock_wait_state(sk, BT_CONNECTED, err 531 net/bluetooth/sco.c return err; err 537 net/bluetooth/sco.c int err = 0; err 544 net/bluetooth/sco.c err = -EBADFD; err 554 net/bluetooth/sco.c return err; err 562 net/bluetooth/sco.c int err = 0; err 567 net/bluetooth/sco.c err = -EBADFD; err 580 net/bluetooth/sco.c err = -EAGAIN; err 589 net/bluetooth/sco.c err = -EBADFD; err 594 net/bluetooth/sco.c err = sock_intr_errno(timeo); err 601 net/bluetooth/sco.c if (err) err 610 net/bluetooth/sco.c return err; err 635 net/bluetooth/sco.c int err = 0; err 639 net/bluetooth/sco.c err = sock_error(sk); err 640 net/bluetooth/sco.c if (err) err 641 net/bluetooth/sco.c return err; err 649 net/bluetooth/sco.c err = sco_send_frame(sk, msg, len); err 651 net/bluetooth/sco.c err = -ENOTCONN; err 654 net/bluetooth/sco.c return err; err 660 net/bluetooth/sco.c int err = 0; err 668 net/bluetooth/sco.c err = -ENOPROTOOPT; err 673 net/bluetooth/sco.c return err; err 681 net/bluetooth/sco.c int len, err = 0; err 693 net/bluetooth/sco.c err = -ENOTCONN; err 703 net/bluetooth/sco.c err = -EFAULT; err 709 net/bluetooth/sco.c err = -ENOTCONN; err 718 net/bluetooth/sco.c err = -EFAULT; err 723 net/bluetooth/sco.c err = -ENOPROTOOPT; err 728 net/bluetooth/sco.c return err; err 734 net/bluetooth/sco.c int err = 0; err 745 net/bluetooth/sco.c err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); err 751 net/bluetooth/sco.c return err; err 773 net/bluetooth/sco.c BT_DBG("sk %p, conn %p, err %d", sk, conn, err); err 784 net/bluetooth/sco.c sk->sk_err = err; err 954 net/bluetooth/sco.c int err; err 956 net/bluetooth/sco.c err = proto_register(&sco_proto, 0); err 957 net/bluetooth/sco.c if (err < 0) err 958 net/bluetooth/sco.c return err; err 960 net/bluetooth/sco.c err = bt_sock_register(BTPROTO_SCO, &sco_sock_family_ops); err 961 net/bluetooth/sco.c if (err < 0) { err 966 net/bluetooth/sco.c err = hci_register_proto(&sco_hci_proto); err 967 net/bluetooth/sco.c if (err < 0) { err 983 net/bluetooth/sco.c return err; err 37 net/bridge/br.c int err; err 39 net/bridge/br.c err = stp_proto_register(&br_stp_proto); err 40 net/bridge/br.c if (err < 0) { err 42 net/bridge/br.c return err; err 45 net/bridge/br.c err = br_fdb_init(); err 46 net/bridge/br.c if (err) err 49 net/bridge/br.c err = register_pernet_subsys(&br_net_ops); err 50 net/bridge/br.c if (err) err 53 net/bridge/br.c err = br_netfilter_init(); err 54 net/bridge/br.c if (err) err 57 net/bridge/br.c err = register_netdevice_notifier(&br_device_notifier); err 58 net/bridge/br.c if (err) err 61 net/bridge/br.c err = br_netlink_init(); err 62 net/bridge/br.c if (err) err 82 net/bridge/br.c return err; err 365 net/bridge/br_if.c int err = 0; err 380 net/bridge/br_if.c err = dev_set_promiscuity(dev, 1); err 381 net/bridge/br_if.c if (err) err 384 net/bridge/br_if.c err = kobject_init_and_add(&p->kobj, &brport_ktype, &(dev->dev.kobj), err 386 net/bridge/br_if.c if (err) err 389 net/bridge/br_if.c err = br_fdb_insert(br, p, dev->dev_addr); err 390 net/bridge/br_if.c if (err) err 393 net/bridge/br_if.c err = br_sysfs_addif(p); err 394 net/bridge/br_if.c if (err) err 428 net/bridge/br_if.c return err; err 200 net/bridge/br_netfilter.c int err; err 203 net/bridge/br_netfilter.c err = skb_cow_head(skb, header_size); err 204 net/bridge/br_netfilter.c if (err) err 205 net/bridge/br_netfilter.c return err; err 329 net/bridge/br_netfilter.c int err; err 337 net/bridge/br_netfilter.c if ((err = ip_route_input(skb, iph->daddr, iph->saddr, iph->tos, dev))) { err 357 net/bridge/br_netfilter.c if (err != -EHOSTUNREACH || !in_dev || IN_DEV_FORWARD(in_dev)) err 87 net/bridge/br_netlink.c int err = -ENOBUFS; err 94 net/bridge/br_netlink.c err = br_fill_ifinfo(skb, port, 0, 0, event, 0); err 95 net/bridge/br_netlink.c if (err < 0) { err 97 net/bridge/br_netlink.c WARN_ON(err == -EMSGSIZE); err 101 net/bridge/br_netlink.c err = rtnl_notify(skb, net, 0, RTNLGRP_LINK, NULL, GFP_ATOMIC); err 103 net/bridge/br_netlink.c if (err < 0) err 104 net/bridge/br_netlink.c rtnl_set_sk_err(net, RTNLGRP_LINK, err); err 144 net/bridge/br_stp_bpdu.c goto err; err 147 net/bridge/br_stp_bpdu.c goto err; err 152 net/bridge/br_stp_bpdu.c goto err; err 217 net/bridge/br_stp_bpdu.c err: err 37 net/bridge/br_sysfs_br.c int err; err 47 net/bridge/br_sysfs_br.c err = (*set)(br, val); err 49 net/bridge/br_sysfs_br.c return err ? err : len; err 423 net/bridge/br_sysfs_br.c int err; err 425 net/bridge/br_sysfs_br.c err = sysfs_create_group(brobj, &bridge_group); err 426 net/bridge/br_sysfs_br.c if (err) { err 432 net/bridge/br_sysfs_br.c err = sysfs_create_bin_file(brobj, &bridge_forward); err 433 net/bridge/br_sysfs_br.c if (err) { err 451 net/bridge/br_sysfs_br.c return err; err 219 net/bridge/br_sysfs_if.c int err; err 221 net/bridge/br_sysfs_if.c err = sysfs_create_link(&p->kobj, &br->dev->dev.kobj, err 223 net/bridge/br_sysfs_if.c if (err) err 227 net/bridge/br_sysfs_if.c err = sysfs_create_file(&p->kobj, &((*a)->attr)); err 228 net/bridge/br_sysfs_if.c if (err) err 232 net/bridge/br_sysfs_if.c err = sysfs_create_link(br->ifobj, &p->kobj, p->dev->name); err 234 net/bridge/br_sysfs_if.c return err; err 181 net/bridge/netfilter/ebt_among.c int err; err 196 net/bridge/netfilter/ebt_among.c if (wh_dst && (err = ebt_mac_wormhash_check_integrity(wh_dst))) { err 198 net/bridge/netfilter/ebt_among.c "ebtables: among: dst integrity fail: %x\n", -err); err 201 net/bridge/netfilter/ebt_among.c if (wh_src && (err = ebt_mac_wormhash_check_integrity(wh_src))) { err 203 net/bridge/netfilter/ebt_among.c "ebtables: among: src integrity fail: %x\n", -err); err 121 net/can/af_can.c int err = 0; err 134 net/can/af_can.c err = request_module("can-proto-%d", protocol); err 141 net/can/af_can.c if (err && printk_ratelimit()) err 159 net/can/af_can.c err = -EPROTONOSUPPORT; err 164 net/can/af_can.c err = -EPERM; err 172 net/can/af_can.c err = -ENOMEM; err 180 net/can/af_can.c err = sk->sk_prot->init(sk); err 182 net/can/af_can.c if (err) { err 190 net/can/af_can.c return err; err 214 net/can/af_can.c int err; err 271 net/can/af_can.c err = dev_queue_xmit(skb); err 272 net/can/af_can.c if (err > 0) err 273 net/can/af_can.c err = net_xmit_errno(err); err 275 net/can/af_can.c if (err) { err 278 net/can/af_can.c return err; err 396 net/can/af_can.c int err = 0; err 425 net/can/af_can.c err = -ENODEV; err 430 net/can/af_can.c return err; err 669 net/can/af_can.c int err = 0; err 677 net/can/af_can.c err = proto_register(cp->prot, 0); err 678 net/can/af_can.c if (err < 0) err 679 net/can/af_can.c return err; err 685 net/can/af_can.c err = -EBUSY; err 695 net/can/af_can.c if (err < 0) err 698 net/can/af_can.c return err; err 291 net/can/bcm.c int err; err 333 net/can/bcm.c err = sock_queue_rcv_skb(sk, skb); err 334 net/can/bcm.c if (err < 0) { err 801 net/can/bcm.c int i, err; err 827 net/can/bcm.c err = memcpy_fromiovec((u8 *)&op->frames[i], err 831 net/can/bcm.c err = -EINVAL; err 833 net/can/bcm.c if (err < 0) err 834 net/can/bcm.c return err; err 863 net/can/bcm.c err = memcpy_fromiovec((u8 *)&op->frames[i], err 867 net/can/bcm.c err = -EINVAL; err 869 net/can/bcm.c if (err < 0) { err 873 net/can/bcm.c return err; err 959 net/can/bcm.c int err = 0; err 988 net/can/bcm.c err = memcpy_fromiovec((u8 *)op->frames, err 991 net/can/bcm.c if (err < 0) err 992 net/can/bcm.c return err; err 1036 net/can/bcm.c err = memcpy_fromiovec((u8 *)op->frames, msg->msg_iov, err 1038 net/can/bcm.c if (err < 0) { err 1044 net/can/bcm.c return err; err 1119 net/can/bcm.c err = can_rx_register(dev, op->can_id, err 1129 net/can/bcm.c err = can_rx_register(NULL, op->can_id, err 1132 net/can/bcm.c if (err) { err 1136 net/can/bcm.c return err; err 1150 net/can/bcm.c int err; err 1161 net/can/bcm.c err = memcpy_fromiovec(skb_put(skb, CFSIZ), msg->msg_iov, CFSIZ); err 1162 net/can/bcm.c if (err < 0) { err 1164 net/can/bcm.c return err; err 1175 net/can/bcm.c err = can_send(skb, 1); /* send with loopback */ err 1178 net/can/bcm.c if (err) err 1179 net/can/bcm.c return err; err 1485 net/can/bcm.c int err; err 1496 net/can/bcm.c err = memcpy_toiovec(msg->msg_iov, skb->data, size); err 1497 net/can/bcm.c if (err < 0) { err 1499 net/can/bcm.c return err; err 1551 net/can/bcm.c int err; err 1555 net/can/bcm.c err = can_proto_register(&bcm_can_proto); err 1556 net/can/bcm.c if (err < 0) { err 1558 net/can/bcm.c return err; err 130 net/can/raw.c int err = 0; err 134 net/can/raw.c err = can_rx_register(dev, filter[i].can_id, err 137 net/can/raw.c if (err) { err 147 net/can/raw.c return err; err 153 net/can/raw.c int err = 0; err 156 net/can/raw.c err = can_rx_register(dev, 0, err_mask | CAN_ERR_FLAG, err 159 net/can/raw.c return err; err 194 net/can/raw.c int err; err 196 net/can/raw.c err = raw_enable_filters(dev, sk, ro->filter, ro->count); err 197 net/can/raw.c if (!err) { err 198 net/can/raw.c err = raw_enable_errfilter(dev, sk, ro->err_mask); err 199 net/can/raw.c if (err) err 203 net/can/raw.c return err; err 320 net/can/raw.c int err = 0; err 336 net/can/raw.c err = -ENODEV; err 341 net/can/raw.c err = -ENODEV; err 350 net/can/raw.c err = raw_enable_allfilters(dev, sk); err 356 net/can/raw.c err = raw_enable_allfilters(NULL, sk); err 359 net/can/raw.c if (!err) { err 386 net/can/raw.c return err; err 417 net/can/raw.c int err = 0; err 455 net/can/raw.c err = raw_enable_filters(dev, sk, &sfilter, 1); err 457 net/can/raw.c err = raw_enable_filters(dev, sk, filter, err 459 net/can/raw.c if (err) { err 507 net/can/raw.c err = raw_enable_errfilter(dev, sk, err_mask); err 509 net/can/raw.c if (err) err 548 net/can/raw.c return err; err 558 net/can/raw.c int err = 0; err 576 net/can/raw.c err = -EFAULT; err 581 net/can/raw.c if (!err) err 582 net/can/raw.c err = put_user(len, optlen); err 583 net/can/raw.c return err; err 622 net/can/raw.c int err; err 643 net/can/raw.c &err); err 646 net/can/raw.c return err; err 649 net/can/raw.c err = memcpy_fromiovec(skb_put(skb, size), msg->msg_iov, size); err 650 net/can/raw.c if (err < 0) { err 653 net/can/raw.c return err; err 658 net/can/raw.c err = can_send(skb, ro->loopback); err 662 net/can/raw.c if (err) err 663 net/can/raw.c return err; err 673 net/can/raw.c int err = 0; err 679 net/can/raw.c skb = skb_recv_datagram(sk, flags, noblock, &err); err 681 net/can/raw.c return err; err 688 net/can/raw.c err = memcpy_toiovec(msg->msg_iov, skb->data, size); err 689 net/can/raw.c if (err < 0) { err 691 net/can/raw.c return err; err 743 net/can/raw.c int err; err 747 net/can/raw.c err = can_proto_register(&raw_can_proto); err 748 net/can/raw.c if (err < 0) err 751 net/can/raw.c return err; err 84 net/compat.c int err = move_addr_to_kernel(kern_msg->msg_name, err 87 net/compat.c if (err < 0) err 88 net/compat.c return err; err 145 net/compat.c int err = -EFAULT; err 209 net/compat.c err = -EINVAL; err 213 net/compat.c return err; err 272 net/compat.c int err = 0, i; err 279 net/compat.c err = security_file_receive(fp[i]); err 280 net/compat.c if (err) err 282 net/compat.c err = get_unused_fd_flags(MSG_CMSG_CLOEXEC & kmsg->msg_flags err 284 net/compat.c if (err < 0) err 286 net/compat.c new_fd = err; err 287 net/compat.c err = put_user(new_fd, cmfptr); err 288 net/compat.c if (err) { err 299 net/compat.c err = put_user(SOL_SOCKET, &cm->cmsg_level); err 300 net/compat.c if (!err) err 301 net/compat.c err = put_user(SCM_RIGHTS, &cm->cmsg_type); err 302 net/compat.c if (!err) err 303 net/compat.c err = put_user(cmlen, &cm->cmsg_len); err 304 net/compat.c if (!err) { err 354 net/compat.c int err; err 364 net/compat.c err = sock_setsockopt(sock, level, optname, (char *) &ktime, sizeof(ktime)); err 367 net/compat.c return err; err 385 net/compat.c int err; err 391 net/compat.c if ((sock = sockfd_lookup(fd, &err))!=NULL) err 393 net/compat.c err = security_socket_setsockopt(sock,level,optname); err 394 net/compat.c if (err) { err 396 net/compat.c return err; err 400 net/compat.c err = compat_sock_setsockopt(sock, level, err 403 net/compat.c err = sock->ops->compat_setsockopt(sock, level, err 406 net/compat.c err = sock->ops->setsockopt(sock, level, err 410 net/compat.c return err; err 419 net/compat.c int len, err; err 429 net/compat.c err = sock_getsockopt(sock, level, optname, (char *) &ktime, &len); err 432 net/compat.c if (!err) { err 437 net/compat.c err = -EFAULT; err 439 net/compat.c return err; err 454 net/compat.c int err = -ENOENT; err 461 net/compat.c return err; err 466 net/compat.c err = 0; err 469 net/compat.c err = -EFAULT; err 470 net/compat.c return err; err 478 net/compat.c int err = -ENOENT; err 485 net/compat.c return err; err 490 net/compat.c err = 0; err 493 net/compat.c err = -EFAULT; err 494 net/compat.c return err; err 501 net/compat.c int err; err 504 net/compat.c if ((sock = sockfd_lookup(fd, &err))!=NULL) err 506 net/compat.c err = security_socket_getsockopt(sock, level, err 508 net/compat.c if (err) { err 510 net/compat.c return err; err 514 net/compat.c err = compat_sock_getsockopt(sock, level, err 517 net/compat.c err = sock->ops->compat_getsockopt(sock, level, err 520 net/compat.c err = sock->ops->getsockopt(sock, level, err 524 net/compat.c return err; err 651 net/compat.c int klen, ulen, err; err 684 net/compat.c err = getsockopt(sock, level, optname, (char __user *)kgf, koptlen); err 685 net/compat.c if (err) err 686 net/compat.c return err; err 717 net/compat.c return err; err 109 net/core/datagram.c *err = error; err 112 net/core/datagram.c *err = 0; err 190 net/core/datagram.c } while (!wait_for_packet(sk, err, &timeo)); err 195 net/core/datagram.c *err = error; err 206 net/core/datagram.c &peeked, err); err 238 net/core/datagram.c int err = 0; err 241 net/core/datagram.c err = -ENOENT; err 246 net/core/datagram.c err = 0; err 253 net/core/datagram.c return err; err 292 net/core/datagram.c int err; err 300 net/core/datagram.c err = memcpy_toiovec(to, vaddr + frag->page_offset + err 303 net/core/datagram.c if (err) err 377 net/core/datagram.c int err; err 385 net/core/datagram.c err = memcpy_fromiovec(vaddr + frag->page_offset + err 388 net/core/datagram.c if (err) err 439 net/core/datagram.c int err = 0; err 443 net/core/datagram.c *csump, &err); err 444 net/core/datagram.c if (err) err 461 net/core/datagram.c int err = 0; err 472 net/core/datagram.c to, copy, 0, &err); err 474 net/core/datagram.c if (err) err 897 net/core/dev.c int err = 0; err 917 net/core/dev.c err = dev_alloc_name(dev, newname); err 918 net/core/dev.c if (err < 0) err 919 net/core/dev.c return err; err 927 net/core/dev.c err = device_rename(&dev->dev, dev->name); err 928 net/core/dev.c if (err) { err 930 net/core/dev.c return err; err 942 net/core/dev.c if (err) { err 947 net/core/dev.c err = ret; err 953 net/core/dev.c return err; err 1227 net/core/dev.c int err; err 1230 net/core/dev.c err = raw_notifier_chain_register(&netdev_chain, nb); err 1231 net/core/dev.c if (err) err 1237 net/core/dev.c err = nb->notifier_call(nb, NETDEV_REGISTER, dev); err 1238 net/core/dev.c err = notifier_to_errno(err); err 1239 net/core/dev.c if (err) err 1251 net/core/dev.c return err; err 1284 net/core/dev.c int err; err 1287 net/core/dev.c err = raw_notifier_chain_unregister(&netdev_chain, nb); err 1289 net/core/dev.c return err; err 1528 net/core/dev.c int err; err 1538 net/core/dev.c (err = pskb_expand_head(skb, 0, 0, GFP_ATOMIC))) err 1539 net/core/dev.c return ERR_PTR(err); err 1547 net/core/dev.c err = ptype->gso_send_check(skb); err 1548 net/core/dev.c segs = ERR_PTR(err); err 1549 net/core/dev.c if (err || skb_gso_ok(skb, features)) err 1970 net/core/dev.c int err; err 1973 net/core/dev.c err = netif_rx(skb); err 1978 net/core/dev.c return err; err 3014 net/core/dev.c int err; err 3016 net/core/dev.c err = __dev_set_promiscuity(dev, inc); err 3017 net/core/dev.c if (err < 0) err 3018 net/core/dev.c return err; err 3021 net/core/dev.c return err; err 3179 net/core/dev.c int err; err 3184 net/core/dev.c err = __dev_addr_delete(&dev->uc_list, &dev->uc_count, addr, alen, 0); err 3185 net/core/dev.c if (!err) err 3188 net/core/dev.c return err; err 3205 net/core/dev.c int err; err 3210 net/core/dev.c err = __dev_addr_add(&dev->uc_list, &dev->uc_count, addr, alen, 0); err 3211 net/core/dev.c if (!err) err 3214 net/core/dev.c return err; err 3222 net/core/dev.c int err = 0; err 3228 net/core/dev.c err = __dev_addr_add(to, to_count, err 3230 net/core/dev.c if (err < 0) err 3242 net/core/dev.c return err; err 3278 net/core/dev.c int err = 0; err 3281 net/core/dev.c err = __dev_addr_sync(&to->uc_list, &to->uc_count, err 3283 net/core/dev.c if (!err) err 3286 net/core/dev.c return err; err 3456 net/core/dev.c int err; err 3468 net/core/dev.c err = 0; err 3470 net/core/dev.c err = dev->change_mtu(dev, new_mtu); err 3473 net/core/dev.c if (!err && dev->flags & IFF_UP) err 3475 net/core/dev.c return err; err 3487 net/core/dev.c int err; err 3495 net/core/dev.c err = dev->set_mac_address(dev, sa); err 3496 net/core/dev.c if (!err) err 3498 net/core/dev.c return err; err 3506 net/core/dev.c int err; err 3536 net/core/dev.c err = -EINVAL; err 3561 net/core/dev.c err = -EINVAL; err 3565 net/core/dev.c return err; err 3573 net/core/dev.c int err; err 3656 net/core/dev.c err = -EOPNOTSUPP; err 3659 net/core/dev.c err = dev->do_ioctl(dev, ifr, err 3662 net/core/dev.c err = -ENODEV; err 3665 net/core/dev.c err = -EINVAL; err 3668 net/core/dev.c return err; err 4119 net/core/dev.c int err; err 4128 net/core/dev.c err = dev_alloc_name(dev, dev->name); err 4129 net/core/dev.c if (err < 0) err 4133 net/core/dev.c err = register_netdevice(dev); err 4136 net/core/dev.c return err; err 4443 net/core/dev.c int err; err 4448 net/core/dev.c err = -EINVAL; err 4453 net/core/dev.c err = -EINVAL; err 4458 net/core/dev.c err = 0; err 4465 net/core/dev.c err = -EEXIST; err 4491 net/core/dev.c err = -ENODEV; err 4526 net/core/dev.c err = netdev_register_kobject(dev); err 4527 net/core/dev.c WARN_ON(err); err 4536 net/core/dev.c err = 0; err 4538 net/core/dev.c return err; err 4829 net/core/dev.c int err; err 4838 net/core/dev.c err = dev_change_net_namespace(dev, &init_net, fb_name); err 4839 net/core/dev.c if (err) { err 4841 net/core/dev.c __func__, dev->name, err); err 73 net/core/dev_mcast.c int err; err 76 net/core/dev_mcast.c err = __dev_addr_delete(&dev->mc_list, &dev->mc_count, err 78 net/core/dev_mcast.c if (!err) { err 87 net/core/dev_mcast.c return err; err 96 net/core/dev_mcast.c int err; err 99 net/core/dev_mcast.c err = __dev_addr_add(&dev->mc_list, &dev->mc_count, addr, alen, glbl); err 100 net/core/dev_mcast.c if (!err) err 103 net/core/dev_mcast.c return err; err 120 net/core/dev_mcast.c int err = 0; err 123 net/core/dev_mcast.c err = __dev_addr_sync(&to->mc_list, &to->mc_count, err 125 net/core/dev_mcast.c if (!err) err 129 net/core/dev_mcast.c return err; err 143 net/core/ethtool.c int err; err 148 net/core/ethtool.c err = dev->ethtool_ops->get_settings(dev, &cmd); err 149 net/core/ethtool.c if (err < 0) err 150 net/core/ethtool.c return err; err 495 net/core/ethtool.c int err; err 498 net/core/ethtool.c err = dev->ethtool_ops->set_tso(dev, 0); err 499 net/core/ethtool.c if (err) err 500 net/core/ethtool.c return err; err 504 net/core/ethtool.c err = dev->ethtool_ops->set_ufo(dev, 0); err 505 net/core/ethtool.c if (err) err 506 net/core/ethtool.c return err; err 514 net/core/ethtool.c int err; err 523 net/core/ethtool.c err = __ethtool_set_sg(dev, 0); err 524 net/core/ethtool.c if (err) err 525 net/core/ethtool.c return err; err 77 net/core/fib_rules.c int err = -EEXIST; err 98 net/core/fib_rules.c err = 0; err 102 net/core/fib_rules.c return err; err 153 net/core/fib_rules.c int err; err 175 net/core/fib_rules.c err = ops->action(rule, fl, flags, arg); err 177 net/core/fib_rules.c if (err != -EAGAIN) { err 184 net/core/fib_rules.c err = -ESRCH; err 188 net/core/fib_rules.c return err; err 196 net/core/fib_rules.c int err = -EINVAL; err 210 net/core/fib_rules.c err = 0; err 212 net/core/fib_rules.c return err; err 222 net/core/fib_rules.c int err = -EINVAL, unresolved = 0; err 229 net/core/fib_rules.c err = -EAFNOSUPPORT; err 233 net/core/fib_rules.c err = nlmsg_parse(nlh, sizeof(*frh), tb, FRA_MAX, ops->policy); err 234 net/core/fib_rules.c if (err < 0) err 237 net/core/fib_rules.c err = validate_rulemsg(frh, tb, ops); err 238 net/core/fib_rules.c if (err < 0) err 243 net/core/fib_rules.c err = -ENOMEM; err 280 net/core/fib_rules.c err = -EINVAL; err 302 net/core/fib_rules.c err = ops->configure(rule, skb, nlh, frh, tb); err 303 net/core/fib_rules.c if (err < 0) err 351 net/core/fib_rules.c return err; err 361 net/core/fib_rules.c int err = -EINVAL; err 368 net/core/fib_rules.c err = -EAFNOSUPPORT; err 372 net/core/fib_rules.c err = nlmsg_parse(nlh, sizeof(*frh), tb, FRA_MAX, ops->policy); err 373 net/core/fib_rules.c if (err < 0) err 376 net/core/fib_rules.c err = validate_rulemsg(frh, tb, ops); err 377 net/core/fib_rules.c if (err < 0) err 407 net/core/fib_rules.c err = -EPERM; err 440 net/core/fib_rules.c err = -ENOENT; err 443 net/core/fib_rules.c return err; err 576 net/core/fib_rules.c int err = -ENOBUFS; err 583 net/core/fib_rules.c err = fib_nl_fill_rule(skb, rule, pid, nlh->nlmsg_seq, event, 0, ops); err 584 net/core/fib_rules.c if (err < 0) { err 586 net/core/fib_rules.c WARN_ON(err == -EMSGSIZE); err 591 net/core/fib_rules.c err = rtnl_notify(skb, net, pid, ops->nlgroup, nlh, GFP_KERNEL); err 593 net/core/fib_rules.c if (err < 0) err 594 net/core/fib_rules.c rtnl_set_sk_err(net, ops->nlgroup, err); err 662 net/core/fib_rules.c int err; err 667 net/core/fib_rules.c err = register_netdevice_notifier(&fib_rules_notifier); err 668 net/core/fib_rules.c if (err < 0) err 671 net/core/fib_rules.c err = register_pernet_subsys(&fib_rules_net_ops); err 672 net/core/fib_rules.c if (err < 0) err 682 net/core/fib_rules.c return err; err 81 net/core/filter.c int err; err 84 net/core/filter.c err = security_sock_rcv_skb(sk, skb); err 85 net/core/filter.c if (err) err 86 net/core/filter.c return err; err 93 net/core/filter.c err = pkt_len ? pskb_trim(skb, pkt_len) : -EPERM; err 97 net/core/filter.c return err; err 475 net/core/filter.c int err; err 492 net/core/filter.c err = sk_chk_filter(fp->insns, fp->len); err 493 net/core/filter.c if (err) { err 495 net/core/filter.c return err; err 224 net/core/flow.c int err; err 228 net/core/flow.c err = resolver(key, family, dir, &obj, &obj_ref); err 230 net/core/flow.c if (fle && !err) { err 243 net/core/flow.c if (err) err 244 net/core/flow.c obj = ERR_PTR(err); err 41 net/core/iovec.c int size, err, ct; err 45 net/core/iovec.c err = move_addr_to_kernel(m->msg_name, m->msg_namelen, err 47 net/core/iovec.c if (err < 0) err 48 net/core/iovec.c return err; err 60 net/core/iovec.c err = 0; err 63 net/core/iovec.c err += iov[ct].iov_len; err 69 net/core/iovec.c if (err < 0) err 73 net/core/iovec.c return err; err 163 net/core/iovec.c int partial_cnt = 0, err = 0; err 218 net/core/iovec.c csum, &err); err 219 net/core/iovec.c if (err) err 228 net/core/iovec.c return err; err 231 net/core/iovec.c err = -EFAULT; err 986 net/core/neighbour.c int err; err 995 net/core/neighbour.c err = -EPERM; err 1006 net/core/neighbour.c err = 0; err 1028 net/core/neighbour.c err = -EINVAL; err 1041 net/core/neighbour.c err = 0; err 1113 net/core/neighbour.c return err; err 1199 net/core/neighbour.c int err; err 1205 net/core/neighbour.c err = dev_hard_header(skb, dev, ntohs(skb->protocol), err 1210 net/core/neighbour.c err = dev_hard_header(skb, dev, ntohs(skb->protocol), err 1214 net/core/neighbour.c if (err >= 0) err 1235 net/core/neighbour.c int err; err 1243 net/core/neighbour.c err = dev_hard_header(skb, dev, ntohs(skb->protocol), err 1246 net/core/neighbour.c if (err >= 0) err 1247 net/core/neighbour.c err = neigh->ops->queue_xmit(skb); err 1249 net/core/neighbour.c err = -EINVAL; err 1252 net/core/neighbour.c return err; err 1527 net/core/neighbour.c int err = -EINVAL; err 1540 net/core/neighbour.c err = -ENODEV; err 1557 net/core/neighbour.c err = pneigh_delete(tbl, net, nla_data(dst_attr), dev); err 1566 net/core/neighbour.c err = -ENOENT; err 1570 net/core/neighbour.c err = neigh_update(neigh, NULL, NUD_FAILED, err 1577 net/core/neighbour.c err = -EAFNOSUPPORT; err 1583 net/core/neighbour.c return err; err 1593 net/core/neighbour.c int err; err 1595 net/core/neighbour.c err = nlmsg_parse(nlh, sizeof(*ndm), tb, NDA_MAX, NULL); err 1596 net/core/neighbour.c if (err < 0) err 1599 net/core/neighbour.c err = -EINVAL; err 1607 net/core/neighbour.c err = -ENODEV; err 1633 net/core/neighbour.c err = -ENOBUFS; err 1637 net/core/neighbour.c err = 0; err 1648 net/core/neighbour.c err = -ENOENT; err 1654 net/core/neighbour.c err = PTR_ERR(neigh); err 1659 net/core/neighbour.c err = -EEXIST; err 1668 net/core/neighbour.c err = neigh_update(neigh, lladdr, ndm->ndm_state, flags); err 1674 net/core/neighbour.c err = -EAFNOSUPPORT; err 1680 net/core/neighbour.c return err; err 1861 net/core/neighbour.c int err; err 1863 net/core/neighbour.c err = nlmsg_parse(nlh, sizeof(*ndtmsg), tb, NDTA_MAX, err 1865 net/core/neighbour.c if (err < 0) err 1869 net/core/neighbour.c err = -EINVAL; err 1884 net/core/neighbour.c err = -ENOENT; err 1899 net/core/neighbour.c err = nla_parse_nested(tbp, NDTPA_MAX, tb[NDTA_PARMS], err 1901 net/core/neighbour.c if (err < 0) err 1909 net/core/neighbour.c err = -ENOENT; err 1970 net/core/neighbour.c err = 0; err 1977 net/core/neighbour.c return err; err 2531 net/core/neighbour.c int err = -ENOBUFS; err 2537 net/core/neighbour.c err = neigh_fill_info(skb, n, 0, 0, type, flags); err 2538 net/core/neighbour.c if (err < 0) { err 2540 net/core/neighbour.c WARN_ON(err == -EMSGSIZE); err 2544 net/core/neighbour.c err = rtnl_notify(skb, net, 0, RTNLGRP_NEIGH, NULL, GFP_ATOMIC); err 2546 net/core/neighbour.c if (err < 0) err 2547 net/core/neighbour.c rtnl_set_sk_err(net, RTNLGRP_NEIGH, err); err 2720 net/core/neighbour.c goto err; err 2799 net/core/neighbour.c err: err 78 net/core/net-sysfs.c goto err; err 86 net/core/net-sysfs.c err: err 106 net/core/net_namespace.c int err; err 113 net/core/net_namespace.c err = -ENOMEM; err 119 net/core/net_namespace.c err = setup_net(new_net); err 120 net/core/net_namespace.c if (err) err 132 net/core/net_namespace.c if (err) { err 134 net/core/net_namespace.c new_net = ERR_PTR(err); err 192 net/core/net_namespace.c int err; err 207 net/core/net_namespace.c err = setup_net(&init_net); err 214 net/core/net_namespace.c if (err) err 33 net/core/netevent.c int err; err 35 net/core/netevent.c err = atomic_notifier_chain_register(&netevent_notif_chain, nb); err 36 net/core/netevent.c return err; err 666 net/core/netpoll.c int err; err 680 net/core/netpoll.c err = -ENOMEM; err 701 net/core/netpoll.c err = -ENOTSUPP; err 712 net/core/netpoll.c err = dev_open(ndev); err 715 net/core/netpoll.c if (err) { err 754 net/core/netpoll.c err = -EDESTADDRREQ; err 787 net/core/netpoll.c return err; err 460 net/core/pktgen.c int err = 0; err 464 net/core/pktgen.c err = -EPERM; err 472 net/core/pktgen.c err = -EFAULT; err 486 net/core/pktgen.c err = count; err 489 net/core/pktgen.c return err; err 1930 net/core/pktgen.c int err; err 1946 net/core/pktgen.c err = -EINVAL; err 1949 net/core/pktgen.c err = -ENETDOWN; err 1956 net/core/pktgen.c return err; err 2019 net/core/pktgen.c int i, set = 0, err = 1; err 2049 net/core/pktgen.c err = 0; err 2056 net/core/pktgen.c if (err) err 2420 net/core/pktgen.c int err = 0; err 2433 net/core/pktgen.c err = x->outer_mode->output(x, skb); err 2434 net/core/pktgen.c if (err) err 2436 net/core/pktgen.c err = x->type->output(x, skb); err 2437 net/core/pktgen.c if (err) err 2444 net/core/pktgen.c return err; err 2477 net/core/pktgen.c goto err; err 2487 net/core/pktgen.c goto err; err 2496 net/core/pktgen.c err: err 3617 net/core/pktgen.c int err; err 3659 net/core/pktgen.c err = pktgen_setup_dev(pkt_dev, ifname); err 3660 net/core/pktgen.c if (err) err 3668 net/core/pktgen.c err = -EINVAL; err 3686 net/core/pktgen.c return err; err 3813 net/core/pktgen.c int err; err 3815 net/core/pktgen.c err = pktgen_create_thread(cpu); err 3816 net/core/pktgen.c if (err) err 3818 net/core/pktgen.c "thread for cpu %d (%d)\n", cpu, err); err 267 net/core/rtnetlink.c int err; err 270 net/core/rtnetlink.c err = __rtnl_link_register(ops); err 272 net/core/rtnetlink.c return err; err 365 net/core/rtnetlink.c int err = -EMSGSIZE; err 374 net/core/rtnetlink.c err = ops->fill_xstats(skb, dev); err 375 net/core/rtnetlink.c if (err < 0) err 382 net/core/rtnetlink.c err = ops->fill_info(skb, dev); err 383 net/core/rtnetlink.c if (err < 0) err 396 net/core/rtnetlink.c return err; err 440 net/core/rtnetlink.c int err = 0; err 447 net/core/rtnetlink.c err = netlink_unicast(rtnl, skb, pid, MSG_DONTWAIT); err 448 net/core/rtnetlink.c return err; err 766 net/core/rtnetlink.c int err; err 772 net/core/rtnetlink.c err = PTR_ERR(net); err 775 net/core/rtnetlink.c err = dev_change_net_namespace(dev, net, ifname); err 777 net/core/rtnetlink.c if (err) err 787 net/core/rtnetlink.c err = -EOPNOTSUPP; err 792 net/core/rtnetlink.c err = -ENODEV; err 804 net/core/rtnetlink.c err = dev->set_config(dev, &k_map); err 805 net/core/rtnetlink.c if (err < 0) err 816 net/core/rtnetlink.c err = -EOPNOTSUPP; err 821 net/core/rtnetlink.c err = -ENODEV; err 828 net/core/rtnetlink.c err = -ENOMEM; err 834 net/core/rtnetlink.c err = dev->set_mac_address(dev, sa); err 836 net/core/rtnetlink.c if (err) err 843 net/core/rtnetlink.c err = dev_set_mtu(dev, nla_get_u32(tb[IFLA_MTU])); err 844 net/core/rtnetlink.c if (err < 0) err 855 net/core/rtnetlink.c err = dev_change_name(dev, ifname); err 856 net/core/rtnetlink.c if (err < 0) err 862 net/core/rtnetlink.c err = dev_set_alias(dev, nla_data(tb[IFLA_IFALIAS]), err 864 net/core/rtnetlink.c if (err < 0) err 896 net/core/rtnetlink.c err = 0; err 899 net/core/rtnetlink.c if (err < 0 && modified && net_ratelimit()) err 907 net/core/rtnetlink.c return err; err 915 net/core/rtnetlink.c int err; err 919 net/core/rtnetlink.c err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFLA_MAX, ifla_policy); err 920 net/core/rtnetlink.c if (err < 0) err 928 net/core/rtnetlink.c err = -EINVAL; err 938 net/core/rtnetlink.c err = -ENODEV; err 942 net/core/rtnetlink.c if ((err = validate_linkmsg(dev, tb)) < 0) err 945 net/core/rtnetlink.c err = do_setlink(dev, ifm, tb, ifname, 0); err 949 net/core/rtnetlink.c return err; err 960 net/core/rtnetlink.c int err; err 962 net/core/rtnetlink.c err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFLA_MAX, ifla_policy); err 963 net/core/rtnetlink.c if (err < 0) err 964 net/core/rtnetlink.c return err; err 991 net/core/rtnetlink.c int err; err 994 net/core/rtnetlink.c err = -ENOMEM; err 997 net/core/rtnetlink.c goto err; err 1000 net/core/rtnetlink.c err = dev_alloc_name(dev, dev->name); err 1001 net/core/rtnetlink.c if (err < 0) err 1027 net/core/rtnetlink.c err: err 1028 net/core/rtnetlink.c return ERR_PTR(err); err 1041 net/core/rtnetlink.c int err; err 1046 net/core/rtnetlink.c err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFLA_MAX, ifla_policy); err 1047 net/core/rtnetlink.c if (err < 0) err 1048 net/core/rtnetlink.c return err; err 1063 net/core/rtnetlink.c if ((err = validate_linkmsg(dev, tb)) < 0) err 1064 net/core/rtnetlink.c return err; err 1067 net/core/rtnetlink.c err = nla_parse_nested(linkinfo, IFLA_INFO_MAX, err 1069 net/core/rtnetlink.c if (err < 0) err 1070 net/core/rtnetlink.c return err; err 1087 net/core/rtnetlink.c err = nla_parse_nested(attr, ops->maxtype, err 1090 net/core/rtnetlink.c if (err < 0) err 1091 net/core/rtnetlink.c return err; err 1095 net/core/rtnetlink.c err = ops->validate(tb, data); err 1096 net/core/rtnetlink.c if (err < 0) err 1097 net/core/rtnetlink.c return err; err 1114 net/core/rtnetlink.c err = ops->changelink(dev, tb, data); err 1115 net/core/rtnetlink.c if (err < 0) err 1116 net/core/rtnetlink.c return err; err 1151 net/core/rtnetlink.c err = PTR_ERR(dev); err 1153 net/core/rtnetlink.c err = ops->newlink(dev, tb, data); err 1155 net/core/rtnetlink.c err = register_netdevice(dev); err 1157 net/core/rtnetlink.c if (err < 0 && !IS_ERR(dev)) err 1159 net/core/rtnetlink.c return err; err 1170 net/core/rtnetlink.c int err; err 1172 net/core/rtnetlink.c err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFLA_MAX, ifla_policy); err 1173 net/core/rtnetlink.c if (err < 0) err 1174 net/core/rtnetlink.c return err; err 1186 net/core/rtnetlink.c err = -ENOBUFS; err 1190 net/core/rtnetlink.c err = rtnl_fill_ifinfo(nskb, dev, RTM_NEWLINK, NETLINK_CB(skb).pid, err 1192 net/core/rtnetlink.c if (err < 0) { err 1194 net/core/rtnetlink.c WARN_ON(err == -EMSGSIZE); err 1198 net/core/rtnetlink.c err = rtnl_unicast(nskb, net, NETLINK_CB(skb).pid); err 1202 net/core/rtnetlink.c return err; err 1233 net/core/rtnetlink.c int err = -ENOBUFS; err 1239 net/core/rtnetlink.c err = rtnl_fill_ifinfo(skb, dev, type, 0, 0, change, 0); err 1240 net/core/rtnetlink.c if (err < 0) { err 1242 net/core/rtnetlink.c WARN_ON(err == -EMSGSIZE); err 1246 net/core/rtnetlink.c err = rtnl_notify(skb, net, 0, RTNLGRP_LINK, NULL, GFP_KERNEL); err 1248 net/core/rtnetlink.c if (err < 0) err 1249 net/core/rtnetlink.c rtnl_set_sk_err(net, RTNLGRP_LINK, err); err 1266 net/core/rtnetlink.c int err; err 1298 net/core/rtnetlink.c err = netlink_dump_start(rtnl, skb, nlh, dumpit, NULL); err 1300 net/core/rtnetlink.c return err; err 118 net/core/scm.c int err; err 122 net/core/scm.c err = -EINVAL; err 141 net/core/scm.c err=scm_fp_copy(cmsg, &p->fp); err 142 net/core/scm.c if (err<0) err 149 net/core/scm.c err = scm_check_creds(&p->creds); err 150 net/core/scm.c if (err) err 167 net/core/scm.c return err; err 176 net/core/scm.c int err; err 193 net/core/scm.c err = -EFAULT; err 203 net/core/scm.c err = 0; err 205 net/core/scm.c return err; err 217 net/core/scm.c int err = 0, i; err 235 net/core/scm.c err = security_file_receive(fp[i]); err 236 net/core/scm.c if (err) err 238 net/core/scm.c err = get_unused_fd_flags(MSG_CMSG_CLOEXEC & msg->msg_flags err 240 net/core/scm.c if (err < 0) err 242 net/core/scm.c new_fd = err; err 243 net/core/scm.c err = put_user(new_fd, cmfptr); err 244 net/core/scm.c if (err) { err 256 net/core/scm.c err = put_user(SOL_SOCKET, &cm->cmsg_level); err 257 net/core/scm.c if (!err) err 258 net/core/scm.c err = put_user(SCM_RIGHTS, &cm->cmsg_type); err 259 net/core/scm.c if (!err) err 260 net/core/scm.c err = put_user(cmlen, &cm->cmsg_len); err 261 net/core/scm.c if (!err) { err 915 net/core/skbuff.c int err; err 926 net/core/skbuff.c err = pskb_expand_head(skb, 0, ntail, GFP_ATOMIC); err 927 net/core/skbuff.c if (unlikely(err)) err 934 net/core/skbuff.c err = skb_linearize(skb); err 935 net/core/skbuff.c if (unlikely(err)) err 943 net/core/skbuff.c return err; err 1028 net/core/skbuff.c int err; err 1031 net/core/skbuff.c unlikely((err = pskb_expand_head(skb, 0, 0, GFP_ATOMIC)))) err 1032 net/core/skbuff.c return err; err 1082 net/core/skbuff.c unlikely((err = pskb_trim(frag, len - offset)))) err 1083 net/core/skbuff.c return err; err 2283 net/core/skbuff.c int err = -ENOMEM; err 2310 net/core/skbuff.c goto err; err 2375 net/core/skbuff.c err: err 2380 net/core/skbuff.c return ERR_PTR(err); err 271 net/core/sock.c int err = 0; err 279 net/core/sock.c err = -ENOMEM; err 283 net/core/sock.c err = sk_filter(sk, skb); err 284 net/core/sock.c if (err) err 288 net/core/sock.c err = -ENOBUFS; err 307 net/core/sock.c return err; err 1267 net/core/sock.c int err; err 1275 net/core/sock.c err = sock_error(sk); err 1276 net/core/sock.c if (err != 0) err 1279 net/core/sock.c err = -EPIPE; err 1302 net/core/sock.c err = -ENOBUFS; err 1320 net/core/sock.c err = -ENOBUFS; err 1325 net/core/sock.c err = -EAGAIN; err 1337 net/core/sock.c err = sock_intr_errno(timeo); err 1339 net/core/sock.c *errcode = err; err 1858 net/core/sock.c int err; err 1860 net/core/sock.c err = sk->sk_prot->recvmsg(iocb, sk, msg, size, flags & MSG_DONTWAIT, err 1862 net/core/sock.c if (err >= 0) err 1864 net/core/sock.c return err; err 58 net/core/stream.c int err = sock_error(sk); err 59 net/core/stream.c if (err) err 60 net/core/stream.c return err; err 117 net/core/stream.c int err = 0; err 160 net/core/stream.c return err; err 163 net/core/stream.c err = -EPIPE; err 166 net/core/stream.c err = -EAGAIN; err 169 net/core/stream.c err = sock_intr_errno(*timeo_p); err 177 net/core/stream.c if (err == -EPIPE) err 178 net/core/stream.c err = sock_error(sk) ? : -EPIPE; err 179 net/core/stream.c if (err == -EPIPE && !(flags & MSG_NOSIGNAL)) err 181 net/core/stream.c return err; err 91 net/dccp/ccid.c int err = -ENOBUFS; err 108 net/dccp/ccid.c err = -EEXIST; err 111 net/dccp/ccid.c err = 0; err 114 net/dccp/ccid.c if (err != 0) err 120 net/dccp/ccid.c return err; err 150 net/dccp/input.c u8 err = dccp_reset_code_convert(dccp_hdr_reset(skb)->dccph_reset_code); err 152 net/dccp/input.c sk->sk_err = err; err 157 net/dccp/input.c if (err && !sock_flag(sk, SOCK_DEAD)) err 48 net/dccp/ipv4.c int err; err 97 net/dccp/ipv4.c err = inet_hash_connect(&dccp_death_row, sk); err 98 net/dccp/ipv4.c if (err != 0) err 101 net/dccp/ipv4.c err = ip_route_newports(&rt, IPPROTO_DCCP, inet->sport, inet->dport, err 103 net/dccp/ipv4.c if (err != 0) err 113 net/dccp/ipv4.c err = dccp_connect(sk); err 115 net/dccp/ipv4.c if (err != 0) err 118 net/dccp/ipv4.c return err; err 207 net/dccp/ipv4.c int err; err 252 net/dccp/ipv4.c err = EPROTO; err 264 net/dccp/ipv4.c err = icmp_err_convert[code].errno; err 267 net/dccp/ipv4.c err = EHOSTUNREACH; err 306 net/dccp/ipv4.c sk->sk_err = err; err 312 net/dccp/ipv4.c sk->sk_err_soft = err; err 334 net/dccp/ipv4.c sk->sk_err = err; err 337 net/dccp/ipv4.c sk->sk_err_soft = err; err 478 net/dccp/ipv4.c int err = -1; err 493 net/dccp/ipv4.c err = ip_build_and_send_pkt(skb, sk, ireq->loc_addr, err 496 net/dccp/ipv4.c err = net_xmit_eval(err); err 501 net/dccp/ipv4.c return err; err 506 net/dccp/ipv4.c int err; err 534 net/dccp/ipv4.c err = ip_build_and_send_pkt(skb, ctl_sk, err 538 net/dccp/ipv4.c if (net_xmit_eval(err) == 0) { err 904 net/dccp/ipv4.c int err = dccp_init_sock(sk, dccp_v4_ctl_sock_initialized); err 906 net/dccp/ipv4.c if (err == 0) { err 912 net/dccp/ipv4.c return err; err 996 net/dccp/ipv4.c int err; err 998 net/dccp/ipv4.c err = inet_ctl_sock_create(&net->dccp.v4_ctl_sk, PF_INET, err 1000 net/dccp/ipv4.c return err; err 1015 net/dccp/ipv4.c int err = proto_register(&dccp_v4_prot, 1); err 1017 net/dccp/ipv4.c if (err != 0) err 1020 net/dccp/ipv4.c err = inet_add_protocol(&dccp_v4_protocol, IPPROTO_DCCP); err 1021 net/dccp/ipv4.c if (err != 0) err 1026 net/dccp/ipv4.c err = register_pernet_subsys(&dccp_v4_ops); err 1027 net/dccp/ipv4.c if (err) err 1030 net/dccp/ipv4.c return err; err 95 net/dccp/ipv6.c int err; err 165 net/dccp/ipv6.c err = ip6_dst_lookup(sk, &dst, &fl); err 166 net/dccp/ipv6.c if (err) { err 167 net/dccp/ipv6.c sk->sk_err_soft = -err; err 171 net/dccp/ipv6.c err = xfrm_lookup(&dst, &fl, sk, 0); err 172 net/dccp/ipv6.c if (err < 0) { err 173 net/dccp/ipv6.c sk->sk_err_soft = -err; err 186 net/dccp/ipv6.c icmpv6_err_convert(type, code, &err); err 220 net/dccp/ipv6.c sk->sk_err = err; err 228 net/dccp/ipv6.c sk->sk_err_soft = err; err 233 net/dccp/ipv6.c sk->sk_err = err; err 236 net/dccp/ipv6.c sk->sk_err_soft = err; err 252 net/dccp/ipv6.c int err = -1; err 275 net/dccp/ipv6.c err = ip6_dst_lookup(sk, &dst, &fl); err 276 net/dccp/ipv6.c if (err) err 282 net/dccp/ipv6.c err = xfrm_lookup(&dst, &fl, sk, 0); err 283 net/dccp/ipv6.c if (err < 0) err 294 net/dccp/ipv6.c err = ip6_xmit(sk, skb, &fl, opt, 0); err 295 net/dccp/ipv6.c err = net_xmit_eval(err); err 302 net/dccp/ipv6.c return err; err 888 net/dccp/ipv6.c int err; err 963 net/dccp/ipv6.c err = dccp_v4_connect(sk, (struct sockaddr *)&sin, sizeof(sin)); err 964 net/dccp/ipv6.c if (err) { err 976 net/dccp/ipv6.c return err; err 998 net/dccp/ipv6.c err = ip6_dst_lookup(sk, &dst, &fl); err 999 net/dccp/ipv6.c if (err) err 1005 net/dccp/ipv6.c err = __xfrm_lookup(&dst, &fl, sk, XFRM_LOOKUP_WAIT); err 1006 net/dccp/ipv6.c if (err < 0) { err 1007 net/dccp/ipv6.c if (err == -EREMOTE) err 1008 net/dccp/ipv6.c err = ip6_dst_blackhole(sk, &dst, &fl); err 1009 net/dccp/ipv6.c if (err < 0) err 1032 net/dccp/ipv6.c err = inet6_hash_connect(&dccp_death_row, sk); err 1033 net/dccp/ipv6.c if (err) err 1039 net/dccp/ipv6.c err = dccp_connect(sk); err 1040 net/dccp/ipv6.c if (err) err 1051 net/dccp/ipv6.c return err; err 1098 net/dccp/ipv6.c int err = dccp_init_sock(sk, dccp_v6_ctl_sock_initialized); err 1100 net/dccp/ipv6.c if (err == 0) { err 1106 net/dccp/ipv6.c return err; err 1192 net/dccp/ipv6.c int err; err 1194 net/dccp/ipv6.c err = inet_ctl_sock_create(&net->dccp.v6_ctl_sk, PF_INET6, err 1196 net/dccp/ipv6.c return err; err 1211 net/dccp/ipv6.c int err = proto_register(&dccp_v6_prot, 1); err 1213 net/dccp/ipv6.c if (err != 0) err 1216 net/dccp/ipv6.c err = inet6_add_protocol(&dccp_v6_protocol, IPPROTO_DCCP); err 1217 net/dccp/ipv6.c if (err != 0) err 1222 net/dccp/ipv6.c err = register_pernet_subsys(&dccp_v6_ops); err 1223 net/dccp/ipv6.c if (err != 0) err 1226 net/dccp/ipv6.c return err; err 54 net/dccp/output.c int err, set_ack = 1; err 138 net/dccp/output.c err = icsk->icsk_af_ops->queue_xmit(skb, 0); err 139 net/dccp/output.c return net_xmit_eval(err); err 254 net/dccp/output.c int err = ccid_hc_tx_send_packet(dp->dccps_hc_tx_ccid, sk, skb); err 256 net/dccp/output.c if (err > 0) { err 259 net/dccp/output.c msecs_to_jiffies(err)+jiffies); err 262 net/dccp/output.c err = dccp_wait_for_ccid(sk, skb, err); err 263 net/dccp/output.c if (err && err != -EINTR) err 264 net/dccp/output.c DCCP_BUG("err=%d after dccp_wait_for_ccid", err); err 268 net/dccp/output.c if (err == 0) { err 284 net/dccp/output.c err = dccp_transmit_skb(sk, skb); err 286 net/dccp/output.c if (err) err 288 net/dccp/output.c err); err 290 net/dccp/output.c dccp_pr_debug("packet discarded due to err=%d\n", err); err 430 net/dccp/output.c int err = inet_csk(sk)->icsk_af_ops->rebuild_header(sk); err 432 net/dccp/output.c if (err != 0) err 433 net/dccp/output.c return err; err 293 net/dccp/proto.c int err = 0; err 335 net/dccp/proto.c return err; err 511 net/dccp/proto.c int val, err = 0; err 526 net/dccp/proto.c err = 0; err 530 net/dccp/proto.c err = -EINVAL; err 532 net/dccp/proto.c err = dccp_setsockopt_change(sk, DCCPO_CHANGE_L, err 538 net/dccp/proto.c err = -EINVAL; err 540 net/dccp/proto.c err = dccp_setsockopt_change(sk, DCCPO_CHANGE_R, err 546 net/dccp/proto.c err = -EOPNOTSUPP; err 552 net/dccp/proto.c err = -EINVAL; err 558 net/dccp/proto.c err = -EINVAL; err 566 net/dccp/proto.c err = -ENOPROTOOPT; err 571 net/dccp/proto.c return err; err 605 net/dccp/proto.c int err = -ENOENT, slen = 0, total_len = sizeof(u32); err 613 net/dccp/proto.c err = -EINVAL; err 617 net/dccp/proto.c err = 0; err 621 net/dccp/proto.c err = -EFAULT; err 624 net/dccp/proto.c return err; err 868 net/dccp/proto.c int err; err 872 net/dccp/proto.c err = -EINVAL; err 888 net/dccp/proto.c err = dccp_listen_start(sk, backlog); err 889 net/dccp/proto.c if (err) err 893 net/dccp/proto.c err = 0; err 897 net/dccp/proto.c return err; err 825 net/decnet/af_decnet.c int err; err 840 net/decnet/af_decnet.c err = 0; err 843 net/decnet/af_decnet.c err = sock_error(sk); err 844 net/decnet/af_decnet.c if (err) err 846 net/decnet/af_decnet.c err = sock_intr_errno(*timeo); err 849 net/decnet/af_decnet.c err = -EAGAIN; err 855 net/decnet/af_decnet.c if (err == 0) { err 860 net/decnet/af_decnet.c return err; err 867 net/decnet/af_decnet.c int err = 0; err 881 net/decnet/af_decnet.c err = 0; err 884 net/decnet/af_decnet.c err = sock_error(sk); err 885 net/decnet/af_decnet.c if (err) err 887 net/decnet/af_decnet.c err = sock_intr_errno(*timeo); err 890 net/decnet/af_decnet.c err = -ETIMEDOUT; err 897 net/decnet/af_decnet.c if (err == 0) { err 902 net/decnet/af_decnet.c return err; err 909 net/decnet/af_decnet.c int err = -EISCONN; err 916 net/decnet/af_decnet.c err = 0; err 921 net/decnet/af_decnet.c err = -ECONNREFUSED; err 929 net/decnet/af_decnet.c err = -EINVAL; err 941 net/decnet/af_decnet.c err = dn_auto_bind(sk->sk_socket); err 942 net/decnet/af_decnet.c if (err) err 948 net/decnet/af_decnet.c err = -EHOSTUNREACH; err 963 net/decnet/af_decnet.c err = -EINPROGRESS; err 965 net/decnet/af_decnet.c err = dn_wait_run(sk, timeo); err 968 net/decnet/af_decnet.c return err; err 975 net/decnet/af_decnet.c int err; err 979 net/decnet/af_decnet.c err = __dn_connect(sk, addr, addrlen, &timeo, 0); err 982 net/decnet/af_decnet.c return err; err 1040 net/decnet/af_decnet.c int err = 0; err 1053 net/decnet/af_decnet.c err = -EINVAL; err 1056 net/decnet/af_decnet.c err = sock_intr_errno(*timeo); err 1059 net/decnet/af_decnet.c err = -EAGAIN; err 1066 net/decnet/af_decnet.c return skb == NULL ? ERR_PTR(err) : skb; err 1075 net/decnet/af_decnet.c int err = 0; err 1158 net/decnet/af_decnet.c err = dn_hash_sock(newsk); err 1159 net/decnet/af_decnet.c if (err == 0) { err 1168 net/decnet/af_decnet.c err = dn_confirm_accept(newsk, &timeo, err 1172 net/decnet/af_decnet.c return err; err 1221 net/decnet/af_decnet.c int err = -EOPNOTSUPP; err 1244 net/decnet/af_decnet.c err = put_user(amount, (int __user *)arg); err 1262 net/decnet/af_decnet.c err = put_user(amount, (int __user *)arg); err 1266 net/decnet/af_decnet.c err = -ENOIOCTLCMD; err 1270 net/decnet/af_decnet.c return err; err 1276 net/decnet/af_decnet.c int err = -EINVAL; err 1289 net/decnet/af_decnet.c err = 0; err 1295 net/decnet/af_decnet.c return err; err 1303 net/decnet/af_decnet.c int err = -ENOTCONN; err 1310 net/decnet/af_decnet.c err = 0; err 1314 net/decnet/af_decnet.c err = -EINVAL; err 1323 net/decnet/af_decnet.c err = 0; err 1328 net/decnet/af_decnet.c return err; err 1334 net/decnet/af_decnet.c int err; err 1337 net/decnet/af_decnet.c err = __dn_setsockopt(sock, level, optname, optval, optlen, 0); err 1340 net/decnet/af_decnet.c return err; err 1357 net/decnet/af_decnet.c int err; err 1434 net/decnet/af_decnet.c err = dn_confirm_accept(sk, &timeo, sk->sk_allocation); err 1435 net/decnet/af_decnet.c return err; err 1511 net/decnet/af_decnet.c int err; err 1514 net/decnet/af_decnet.c err = __dn_getsockopt(sock, level, optname, optval, optlen, 0); err 1517 net/decnet/af_decnet.c return err; err 1920 net/decnet/af_decnet.c int err = 0; err 1945 net/decnet/af_decnet.c err = -EINVAL; err 1952 net/decnet/af_decnet.c err = dn_check_state(sk, addr, addr_len, &timeo, flags); err 1953 net/decnet/af_decnet.c if (err) err 1957 net/decnet/af_decnet.c err = -EPIPE; err 1974 net/decnet/af_decnet.c err = -EMSGSIZE; err 1982 net/decnet/af_decnet.c err = sock_error(sk); err 1983 net/decnet/af_decnet.c if (err) err 1987 net/decnet/af_decnet.c err = sock_intr_errno(timeo); err 2007 net/decnet/af_decnet.c err = -EWOULDBLOCK; err 2027 net/decnet/af_decnet.c flags & MSG_DONTWAIT, &err); err 2029 net/decnet/af_decnet.c if (err) err 2040 net/decnet/af_decnet.c err = -EFAULT; err 2079 net/decnet/af_decnet.c return sent ? sent : err; err 2082 net/decnet/af_decnet.c err = sk_stream_error(sk, flags, err); err 2084 net/decnet/af_decnet.c return err; err 284 net/decnet/dn_dev.c int err; err 293 net/decnet/dn_dev.c err = proc_dointvec(table, write, filep, buffer, lenp, ppos); err 295 net/decnet/dn_dev.c if ((err >= 0) && write) { err 315 net/decnet/dn_dev.c return err; err 461 net/decnet/dn_dev.c int err; err 462 net/decnet/dn_dev.c dn_db = dn_dev_create(dev, &err); err 464 net/decnet/dn_dev.c return err; err 633 net/decnet/dn_dev.c int err = -EINVAL; err 638 net/decnet/dn_dev.c err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, dn_ifa_policy); err 639 net/decnet/dn_dev.c if (err < 0) err 642 net/decnet/dn_dev.c err = -ENODEV; err 647 net/decnet/dn_dev.c err = -EADDRNOTAVAIL; err 661 net/decnet/dn_dev.c return err; err 672 net/decnet/dn_dev.c int err; err 677 net/decnet/dn_dev.c err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, dn_ifa_policy); err 678 net/decnet/dn_dev.c if (err < 0) err 679 net/decnet/dn_dev.c return err; err 689 net/decnet/dn_dev.c int err; err 690 net/decnet/dn_dev.c dn_db = dn_dev_create(dev, &err); err 692 net/decnet/dn_dev.c return err; err 712 net/decnet/dn_dev.c err = dn_dev_insert_ifa(dn_db, ifa); err 713 net/decnet/dn_dev.c if (err) err 716 net/decnet/dn_dev.c return err; err 761 net/decnet/dn_dev.c int err = -ENOBUFS; err 767 net/decnet/dn_dev.c err = dn_nl_fill_ifaddr(skb, ifa, 0, 0, event, 0); err 768 net/decnet/dn_dev.c if (err < 0) { err 770 net/decnet/dn_dev.c WARN_ON(err == -EMSGSIZE); err 774 net/decnet/dn_dev.c err = rtnl_notify(skb, &init_net, 0, RTNLGRP_DECnet_IFADDR, NULL, GFP_KERNEL); err 776 net/decnet/dn_dev.c if (err < 0) err 777 net/decnet/dn_dev.c rtnl_set_sk_err(&init_net, RTNLGRP_DECnet_IFADDR, err); err 1122 net/decnet/dn_dev.c *err = -ENODEV; err 1126 net/decnet/dn_dev.c *err = -ENOBUFS; err 1158 net/decnet/dn_dev.c *err = 0; err 1191 net/decnet/dn_dev.c int err; err 1192 net/decnet/dn_dev.c dn_db = dn_dev_create(dev, &err); err 200 net/decnet/dn_fib.c int err; err 231 net/decnet/dn_fib.c if ((err = dn_fib_lookup(&fl, &res)) != 0) err 232 net/decnet/dn_fib.c return err; err 234 net/decnet/dn_fib.c err = -EINVAL; err 243 net/decnet/dn_fib.c err = -ENETDOWN; err 246 net/decnet/dn_fib.c err = 0; err 249 net/decnet/dn_fib.c return err; err 272 net/decnet/dn_fib.c int err; err 290 net/decnet/dn_fib.c err = -ENOBUFS; err 317 net/decnet/dn_fib.c if ((err = dn_fib_get_nhs(fi, rta->rta_mp, r)) != 0) err 357 net/decnet/dn_fib.c err = -ENODEV; err 362 net/decnet/dn_fib.c if ((err = dn_fib_check_nh(r, fi, nh)) != 0) err 394 net/decnet/dn_fib.c err = -EINVAL; err 397 net/decnet/dn_fib.c *errp = err; err 408 net/decnet/dn_fib.c int err = dn_fib_props[type].error; err 410 net/decnet/dn_fib.c if (err == 0) { err 444 net/decnet/dn_fib.c return err; err 227 net/decnet/dn_nsp_in.c int err = 0; err 254 net/decnet/dn_nsp_in.c err++; err 258 net/decnet/dn_nsp_in.c err++; err 269 net/decnet/dn_nsp_in.c err++; err 275 net/decnet/dn_nsp_in.c err++; err 286 net/decnet/dn_nsp_in.c err++; err 293 net/decnet/dn_nsp_in.c err++; err 306 net/decnet/dn_nsp_in.c err++; err 317 net/decnet/dn_nsp_in.c dn_log_martian(skb, ci_err_table[err].text); err 318 net/decnet/dn_nsp_in.c *reason = ci_err_table[err].reason; err 578 net/decnet/dn_nsp_in.c int err; err 585 net/decnet/dn_nsp_in.c err = -ENOMEM; err 589 net/decnet/dn_nsp_in.c err = sk_filter(sk, skb); err 590 net/decnet/dn_nsp_in.c if (err) err 610 net/decnet/dn_nsp_in.c return err; err 468 net/decnet/dn_route.c int err; err 470 net/decnet/dn_route.c if ((err = dn_route_input(skb)) == 0) err 480 net/decnet/dn_route.c err, skb->pkt_type); err 692 net/decnet/dn_route.c int err = -EINVAL; err 719 net/decnet/dn_route.c return err; err 883 net/decnet/dn_route.c int err; err 897 net/decnet/dn_route.c err = -ENODEV; err 908 net/decnet/dn_route.c err = -EADDRNOTAVAIL; err 942 net/decnet/dn_route.c err = -EADDRNOTAVAIL; err 971 net/decnet/dn_route.c err = -ESRCH; err 972 net/decnet/dn_route.c if (try_hard || (err = dn_fib_lookup(&fl, &res)) != 0) { err 974 net/decnet/dn_route.c if (err != -ESRCH) err 1014 net/decnet/dn_route.c err = -ENODEV; err 1121 net/decnet/dn_route.c err = dn_rt_set_next_hop(rt, &res); err 1122 net/decnet/dn_route.c if (err) err 1136 net/decnet/dn_route.c return err; err 1139 net/decnet/dn_route.c err = -EADDRNOTAVAIL; err 1142 net/decnet/dn_route.c err = -EINVAL; err 1145 net/decnet/dn_route.c err = -ENOBUFS; err 1184 net/decnet/dn_route.c int err; err 1186 net/decnet/dn_route.c err = __dn_route_output_key(pprt, flp, flags); err 1187 net/decnet/dn_route.c if (err == 0 && flp->proto) { err 1188 net/decnet/dn_route.c err = xfrm_lookup(pprt, flp, NULL, 0); err 1190 net/decnet/dn_route.c return err; err 1195 net/decnet/dn_route.c int err; err 1197 net/decnet/dn_route.c err = __dn_route_output_key(pprt, fl, flags & MSG_TRYHARD); err 1198 net/decnet/dn_route.c if (err == 0 && fl->proto) { err 1199 net/decnet/dn_route.c err = xfrm_lookup(pprt, fl, sk, (flags & MSG_DONTWAIT) ? err 1202 net/decnet/dn_route.c return err; err 1225 net/decnet/dn_route.c int err = -EINVAL; err 1244 net/decnet/dn_route.c err = -ENOTUNIQ; err 1248 net/decnet/dn_route.c err = dn_fib_lookup(&fl, &res); err 1249 net/decnet/dn_route.c if (err) { err 1250 net/decnet/dn_route.c if (err != -ESRCH) err 1395 net/decnet/dn_route.c err = dn_rt_set_next_hop(rt, &res); err 1396 net/decnet/dn_route.c if (err) err 1411 net/decnet/dn_route.c return err; err 1414 net/decnet/dn_route.c err = -EINVAL; err 1418 net/decnet/dn_route.c err = -ENOBUFS; err 1520 net/decnet/dn_route.c int err; err 1559 net/decnet/dn_route.c err = dn_route_input(skb); err 1563 net/decnet/dn_route.c if (!err && -rt->u.dst.error) err 1564 net/decnet/dn_route.c err = rt->u.dst.error; err 1570 net/decnet/dn_route.c err = dn_route_output_key((struct dst_entry **)&rt, &fl, 0); err 1576 net/decnet/dn_route.c if (err) err 1582 net/decnet/dn_route.c err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0); err 1584 net/decnet/dn_route.c if (err == 0) err 1586 net/decnet/dn_route.c if (err < 0) { err 1587 net/decnet/dn_route.c err = -EMSGSIZE; err 1595 net/decnet/dn_route.c return err; err 57 net/decnet/dn_rules.c int err; err 59 net/decnet/dn_rules.c err = fib_rules_lookup(&dn_fib_rules_ops, flp, 0, &arg); err 62 net/decnet/dn_rules.c return err; err 68 net/decnet/dn_rules.c int err = -EAGAIN; err 76 net/decnet/dn_rules.c err = -ENETUNREACH; err 80 net/decnet/dn_rules.c err = -EACCES; err 85 net/decnet/dn_rules.c err = -EINVAL; err 93 net/decnet/dn_rules.c err = tbl->lookup(tbl, flp, (struct dn_fib_res *)arg->result); err 94 net/decnet/dn_rules.c if (err > 0) err 95 net/decnet/dn_rules.c err = -EAGAIN; err 97 net/decnet/dn_rules.c return err; err 121 net/decnet/dn_rules.c int err = -EINVAL; err 133 net/decnet/dn_rules.c err = -ENOBUFS; err 151 net/decnet/dn_rules.c err = 0; err 153 net/decnet/dn_rules.c return err; err 363 net/decnet/dn_table.c int err = -ENOBUFS; err 369 net/decnet/dn_table.c err = dn_fib_dump_info(skb, pid, nlh->nlmsg_seq, event, tb_id, err 372 net/decnet/dn_table.c if (err < 0) { err 374 net/decnet/dn_table.c WARN_ON(err == -EMSGSIZE); err 378 net/decnet/dn_table.c err = rtnl_notify(skb, &init_net, pid, RTNLGRP_DECnet_ROUTE, nlh, GFP_KERNEL); err 380 net/decnet/dn_table.c if (err < 0) err 381 net/decnet/dn_table.c rtnl_set_sk_err(&init_net, RTNLGRP_DECnet_ROUTE, err); err 514 net/decnet/dn_table.c int err; err 532 net/decnet/dn_table.c if ((fi = dn_fib_create_info(r, rta, n, &err)) == NULL) err 533 net/decnet/dn_table.c return err; err 566 net/decnet/dn_table.c err = -EEXIST; err 578 net/decnet/dn_table.c err = -EEXIST; err 595 net/decnet/dn_table.c err = -ENOENT; err 600 net/decnet/dn_table.c err = -ENOBUFS; err 637 net/decnet/dn_table.c return err; err 767 net/decnet/dn_table.c int err; err 792 net/decnet/dn_table.c err = dn_fib_semantic_match(f->fn_type, DN_FIB_INFO(f), flp, res); err 794 net/decnet/dn_table.c if (err == 0) { err 800 net/decnet/dn_table.c if (err < 0) err 804 net/decnet/dn_table.c err = 1; err 807 net/decnet/dn_table.c return err; err 101 net/decnet/netfilter/dn_rtmsg.c #define RCV_SKB_FAIL(err) do { netlink_ack(skb, nlh, (err)); return; } while (0) err 104 net/dsa/slave.c int err; err 106 net/dsa/slave.c err = -EOPNOTSUPP; err 108 net/dsa/slave.c err = phy_read_status(p->phy); err 109 net/dsa/slave.c if (err == 0) err 110 net/dsa/slave.c err = phy_ethtool_gset(p->phy, cmd); err 113 net/dsa/slave.c return err; err 123 net/econet/af_econet.c int err; err 138 net/econet/af_econet.c skb=skb_recv_datagram(sk,flags,flags&MSG_DONTWAIT,&err); err 162 net/econet/af_econet.c err = memcpy_toiovec(msg->msg_iov, skb->data, copied); err 163 net/econet/af_econet.c if (err) err 174 net/econet/af_econet.c err = copied; err 180 net/econet/af_econet.c return err; err 270 net/econet/af_econet.c int err; err 344 net/econet/af_econet.c msg->msg_flags & MSG_DONTWAIT, &err); err 358 net/econet/af_econet.c err = -EINVAL; err 376 net/econet/af_econet.c err = memcpy_fromiovec(skb_put(skb,len), msg->msg_iov, len); err 380 net/econet/af_econet.c if (err) err 383 net/econet/af_econet.c err = -ENETDOWN; err 402 net/econet/af_econet.c err = -EPROTOTYPE; err 406 net/econet/af_econet.c return err; err 474 net/econet/af_econet.c &err)) == NULL) { err 476 net/econet/af_econet.c return err; err 499 net/econet/af_econet.c err = sock_sendmsg(udpsock, &udpmsg, size); err 502 net/econet/af_econet.c err = -EPROTOTYPE; err 506 net/econet/af_econet.c return err; err 613 net/econet/af_econet.c int err; err 624 net/econet/af_econet.c err = -ENOBUFS; err 641 net/econet/af_econet.c return err; err 654 net/econet/af_econet.c int err; err 670 net/econet/af_econet.c err = 0; err 678 net/econet/af_econet.c err = -ENOMEM; err 694 net/econet/af_econet.c err = -ENODEV; err 703 net/econet/af_econet.c err = -EFAULT; err 707 net/econet/af_econet.c err = -EINVAL; err 715 net/econet/af_econet.c return err; err 932 net/econet/af_econet.c int err; err 939 net/econet/af_econet.c while ((skb = skb_recv_datagram(sk, 0, 1, &err)) == NULL) { err 940 net/econet/af_econet.c if (err == -EAGAIN) { err 944 net/econet/af_econet.c printk(KERN_DEBUG "AUN: recvfrom() error %d\n", -err); err 1164 net/econet/af_econet.c int err = proto_register(&econet_proto, 0); err 1166 net/econet/af_econet.c if (err != 0) err 1178 net/econet/af_econet.c return err; err 138 net/ieee80211/ieee80211_module.c int err; err 157 net/ieee80211/ieee80211_module.c err = ieee80211_networks_allocate(ieee); err 158 net/ieee80211/ieee80211_module.c if (err) { err 159 net/ieee80211/ieee80211_module.c IEEE80211_ERROR("Unable to allocate beacon storage: %d\n", err); err 262 net/ieee80211/ieee80211_wx.c int err = 0; err 276 net/ieee80211/ieee80211_wx.c err = -E2BIG; err 302 net/ieee80211/ieee80211_wx.c return err; err 195 net/ipv4/af_inet.c int err; err 199 net/ipv4/af_inet.c err = -EINVAL; err 211 net/ipv4/af_inet.c err = inet_csk_listen_start(sk, backlog); err 212 net/ipv4/af_inet.c if (err) err 216 net/ipv4/af_inet.c err = 0; err 220 net/ipv4/af_inet.c return err; err 273 net/ipv4/af_inet.c int err; err 284 net/ipv4/af_inet.c err = -ESOCKTNOSUPPORT; err 288 net/ipv4/af_inet.c err = 0; err 302 net/ipv4/af_inet.c err = -EPROTONOSUPPORT; err 305 net/ipv4/af_inet.c if (unlikely(err)) { err 327 net/ipv4/af_inet.c err = -EPERM; err 331 net/ipv4/af_inet.c err = -EAFNOSUPPORT; err 343 net/ipv4/af_inet.c err = -ENOBUFS; err 348 net/ipv4/af_inet.c err = 0; err 396 net/ipv4/af_inet.c err = sk->sk_prot->init(sk); err 397 net/ipv4/af_inet.c if (err) err 401 net/ipv4/af_inet.c return err; err 450 net/ipv4/af_inet.c int err; err 454 net/ipv4/af_inet.c err = sk->sk_prot->bind(sk, uaddr, addr_len); err 457 net/ipv4/af_inet.c err = -EINVAL; err 470 net/ipv4/af_inet.c err = -EADDRNOTAVAIL; err 480 net/ipv4/af_inet.c err = -EACCES; err 494 net/ipv4/af_inet.c err = -EINVAL; err 505 net/ipv4/af_inet.c err = -EADDRINUSE; err 517 net/ipv4/af_inet.c err = 0; err 521 net/ipv4/af_inet.c return err; err 568 net/ipv4/af_inet.c int err; err 574 net/ipv4/af_inet.c err = sk->sk_prot->disconnect(sk, flags); err 575 net/ipv4/af_inet.c sock->state = err ? SS_DISCONNECTING : SS_UNCONNECTED; err 581 net/ipv4/af_inet.c err = -EINVAL; err 584 net/ipv4/af_inet.c err = -EISCONN; err 587 net/ipv4/af_inet.c err = -EALREADY; err 591 net/ipv4/af_inet.c err = -EISCONN; err 595 net/ipv4/af_inet.c err = sk->sk_prot->connect(sk, uaddr, addr_len); err 596 net/ipv4/af_inet.c if (err < 0) err 605 net/ipv4/af_inet.c err = -EINPROGRESS; err 616 net/ipv4/af_inet.c err = sock_intr_errno(timeo); err 633 net/ipv4/af_inet.c err = 0; err 636 net/ipv4/af_inet.c return err; err 639 net/ipv4/af_inet.c err = sock_error(sk) ? : -ECONNABORTED; err 653 net/ipv4/af_inet.c int err = -EINVAL; err 654 net/ipv4/af_inet.c struct sock *sk2 = sk1->sk_prot->accept(sk1, flags, &err); err 667 net/ipv4/af_inet.c err = 0; err 670 net/ipv4/af_inet.c return err; err 734 net/ipv4/af_inet.c int err = 0; err 756 net/ipv4/af_inet.c err = -ENOTCONN; err 774 net/ipv4/af_inet.c err = sk->sk_prot->disconnect(sk, O_NONBLOCK); err 775 net/ipv4/af_inet.c sock->state = err ? SS_DISCONNECTING : SS_UNCONNECTED; err 782 net/ipv4/af_inet.c return err; err 798 net/ipv4/af_inet.c int err = 0; err 803 net/ipv4/af_inet.c err = sock_get_timestamp(sk, (struct timeval __user *)arg); err 806 net/ipv4/af_inet.c err = sock_get_timestampns(sk, (struct timespec __user *)arg); err 811 net/ipv4/af_inet.c err = ip_rt_ioctl(net, cmd, (void __user *)arg); err 816 net/ipv4/af_inet.c err = arp_ioctl(net, cmd, (void __user *)arg); err 829 net/ipv4/af_inet.c err = devinet_ioctl(net, cmd, (void __user *)arg); err 833 net/ipv4/af_inet.c err = sk->sk_prot->ioctl(sk, cmd, arg); err 835 net/ipv4/af_inet.c err = -ENOIOCTLCMD; err 838 net/ipv4/af_inet.c return err; err 1047 net/ipv4/af_inet.c int err; err 1057 net/ipv4/af_inet.c err = ip_route_connect(&rt, daddr, 0, err 1062 net/ipv4/af_inet.c if (err) err 1063 net/ipv4/af_inet.c return err; err 1099 net/ipv4/af_inet.c int err; err 1129 net/ipv4/af_inet.c err = ip_route_output_flow(sock_net(sk), &rt, &fl, sk, 0); err 1131 net/ipv4/af_inet.c if (!err) err 1143 net/ipv4/af_inet.c (err = inet_sk_reselect_saddr(sk)) != 0) err 1144 net/ipv4/af_inet.c sk->sk_err_soft = -err; err 1147 net/ipv4/af_inet.c return err; err 1158 net/ipv4/af_inet.c int err = -EINVAL; err 1175 net/ipv4/af_inet.c err = -EPROTONOSUPPORT; err 1180 net/ipv4/af_inet.c err = ops->gso_send_check(skb); err 1184 net/ipv4/af_inet.c return err; err 59 net/ipv4/ah4.c int err; err 79 net/ipv4/ah4.c err = ip_clear_mutable_options(top_iph, &top_iph->daddr); err 80 net/ipv4/ah4.c if (err) err 102 net/ipv4/ah4.c err = ah_mac_digest(ahp, skb, ah->auth_data); err 106 net/ipv4/ah4.c if (err) err 117 net/ipv4/ah4.c err = 0; err 120 net/ipv4/ah4.c return err; err 128 net/ipv4/ah4.c int err = -EINVAL; err 179 net/ipv4/ah4.c err = ah_mac_digest(ahp, skb, ah->auth_data); err 180 net/ipv4/ah4.c if (err) err 183 net/ipv4/ah4.c err = -EBADMSG; err 188 net/ipv4/ah4.c if (err) err 199 net/ipv4/ah4.c return err; err 988 net/ipv4/arp.c int err; err 1000 net/ipv4/arp.c if ((err = ip_route_output_key(net, &rt, &fl)) != 0) err 1001 net/ipv4/arp.c return err; err 1029 net/ipv4/arp.c err = PTR_ERR(neigh); err 1034 net/ipv4/arp.c err = neigh_update(neigh, (r->arp_flags&ATF_COM) ? err 1040 net/ipv4/arp.c return err; err 1061 net/ipv4/arp.c int err = -ENXIO; err 1072 net/ipv4/arp.c err = 0; err 1074 net/ipv4/arp.c return err; err 1095 net/ipv4/arp.c int err; err 1107 net/ipv4/arp.c if ((err = ip_route_output_key(net, &rt, &fl)) != 0) err 1108 net/ipv4/arp.c return err; err 1114 net/ipv4/arp.c err = -ENXIO; err 1118 net/ipv4/arp.c err = neigh_update(neigh, NULL, NUD_FAILED, err 1123 net/ipv4/arp.c return err; err 1132 net/ipv4/arp.c int err; err 1142 net/ipv4/arp.c err = copy_from_user(&r, arg, sizeof(struct arpreq)); err 1143 net/ipv4/arp.c if (err) err 1161 net/ipv4/arp.c err = -ENODEV; err 1168 net/ipv4/arp.c err = -EINVAL; err 1172 net/ipv4/arp.c err = -ENODEV; err 1178 net/ipv4/arp.c err = arp_req_delete(net, &r, dev); err 1181 net/ipv4/arp.c err = arp_req_set(net, &r, dev); err 1184 net/ipv4/arp.c err = arp_req_get(&r, dev); err 1185 net/ipv4/arp.c if (!err && copy_to_user(arg, &r, sizeof(r))) err 1186 net/ipv4/arp.c err = -EFAULT; err 1191 net/ipv4/arp.c return err; err 30 net/ipv4/datagram.c int err; err 49 net/ipv4/datagram.c err = ip_route_connect(&rt, usin->sin_addr.s_addr, saddr, err 53 net/ipv4/datagram.c if (err) { err 54 net/ipv4/datagram.c if (err == -ENETUNREACH) err 56 net/ipv4/datagram.c return err; err 444 net/ipv4/devinet.c int err = -EINVAL; err 448 net/ipv4/devinet.c err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_ipv4_policy); err 449 net/ipv4/devinet.c if (err < 0) err 455 net/ipv4/devinet.c err = -ENODEV; err 479 net/ipv4/devinet.c err = -EADDRNOTAVAIL; err 481 net/ipv4/devinet.c return err; err 491 net/ipv4/devinet.c int err; err 493 net/ipv4/devinet.c err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_ipv4_policy); err 494 net/ipv4/devinet.c if (err < 0) err 498 net/ipv4/devinet.c err = -EINVAL; err 503 net/ipv4/devinet.c err = -ENODEV; err 508 net/ipv4/devinet.c err = -ENOBUFS; err 546 net/ipv4/devinet.c return ERR_PTR(err); err 1205 net/ipv4/devinet.c int err = -ENOBUFS; err 1213 net/ipv4/devinet.c err = inet_fill_ifaddr(skb, ifa, pid, seq, event, 0); err 1214 net/ipv4/devinet.c if (err < 0) { err 1216 net/ipv4/devinet.c WARN_ON(err == -EMSGSIZE); err 1220 net/ipv4/devinet.c err = rtnl_notify(skb, net, pid, RTNLGRP_IPV4_IFADDR, nlh, GFP_KERNEL); err 1222 net/ipv4/devinet.c if (err < 0) err 1223 net/ipv4/devinet.c rtnl_set_sk_err(net, RTNLGRP_IPV4_IFADDR, err); err 1568 net/ipv4/devinet.c int err; err 1575 net/ipv4/devinet.c err = -ENOMEM; err 1600 net/ipv4/devinet.c err = __devinet_sysctl_register(net, "all", err 1602 net/ipv4/devinet.c if (err < 0) err 1605 net/ipv4/devinet.c err = __devinet_sysctl_register(net, "default", err 1607 net/ipv4/devinet.c if (err < 0) err 1610 net/ipv4/devinet.c err = -ENOMEM; err 1637 net/ipv4/devinet.c return err; err 101 net/ipv4/esp4.c xfrm_output_resume(skb, err); err 106 net/ipv4/esp4.c int err; err 124 net/ipv4/esp4.c err = -ENOMEM; err 138 net/ipv4/esp4.c if ((err = skb_cow_data(skb, clen - skb->len + alen, &trailer)) < 0) err 140 net/ipv4/esp4.c nfrags = err; err 217 net/ipv4/esp4.c err = crypto_aead_givencrypt(req); err 218 net/ipv4/esp4.c if (err == -EINPROGRESS) err 221 net/ipv4/esp4.c if (err == -EBUSY) err 222 net/ipv4/esp4.c err = NET_XMIT_DROP; err 227 net/ipv4/esp4.c return err; err 245 net/ipv4/esp4.c if (unlikely(err)) err 251 net/ipv4/esp4.c err = -EINVAL; err 302 net/ipv4/esp4.c err = nexthdr[1]; err 305 net/ipv4/esp4.c if (err == IPPROTO_NONE) err 306 net/ipv4/esp4.c err = -EINVAL; err 309 net/ipv4/esp4.c return err; err 316 net/ipv4/esp4.c xfrm_input_resume(skb, esp_input_done2(skb, err)); err 337 net/ipv4/esp4.c int err = -EINVAL; err 345 net/ipv4/esp4.c if ((err = skb_cow_data(skb, 0, &trailer)) < 0) err 347 net/ipv4/esp4.c nfrags = err; err 349 net/ipv4/esp4.c err = -ENOMEM; err 375 net/ipv4/esp4.c err = crypto_aead_decrypt(req); err 376 net/ipv4/esp4.c if (err == -EINPROGRESS) err 379 net/ipv4/esp4.c err = esp_input_done2(skb, err); err 382 net/ipv4/esp4.c return err; err 447 net/ipv4/esp4.c int err; err 450 net/ipv4/esp4.c err = PTR_ERR(aead); err 456 net/ipv4/esp4.c err = crypto_aead_setkey(aead, x->aead->alg_key, err 458 net/ipv4/esp4.c if (err) err 461 net/ipv4/esp4.c err = crypto_aead_setauthsize(aead, x->aead->alg_icv_len / 8); err 462 net/ipv4/esp4.c if (err) err 466 net/ipv4/esp4.c return err; err 479 net/ipv4/esp4.c int err; err 481 net/ipv4/esp4.c err = -EINVAL; err 485 net/ipv4/esp4.c err = -ENAMETOOLONG; err 492 net/ipv4/esp4.c err = PTR_ERR(aead); err 500 net/ipv4/esp4.c err = -ENOMEM; err 521 net/ipv4/esp4.c err = -EINVAL; err 531 net/ipv4/esp4.c err = crypto_aead_setauthsize( err 533 net/ipv4/esp4.c if (err) err 540 net/ipv4/esp4.c err = crypto_aead_setkey(aead, key, keylen); err 546 net/ipv4/esp4.c return err; err 554 net/ipv4/esp4.c int err; err 563 net/ipv4/esp4.c err = esp_init_aead(x); err 565 net/ipv4/esp4.c err = esp_init_authenc(x); err 567 net/ipv4/esp4.c if (err) err 601 net/ipv4/esp4.c return err; err 458 net/ipv4/fib_frontend.c int err; err 470 net/ipv4/fib_frontend.c err = rtentry_to_fib_config(net, cmd, &rt, &cfg); err 471 net/ipv4/fib_frontend.c if (err == 0) { err 477 net/ipv4/fib_frontend.c err = tb->tb_delete(tb, &cfg); err 479 net/ipv4/fib_frontend.c err = -ESRCH; err 483 net/ipv4/fib_frontend.c err = tb->tb_insert(tb, &cfg); err 485 net/ipv4/fib_frontend.c err = -ENOBUFS; err 492 net/ipv4/fib_frontend.c return err; err 514 net/ipv4/fib_frontend.c int err, remaining; err 517 net/ipv4/fib_frontend.c err = nlmsg_validate(nlh, sizeof(*rtm), RTA_MAX, rtm_ipv4_policy); err 518 net/ipv4/fib_frontend.c if (err < 0) err 538 net/ipv4/fib_frontend.c err = -EINVAL; err 578 net/ipv4/fib_frontend.c return err; err 586 net/ipv4/fib_frontend.c int err; err 588 net/ipv4/fib_frontend.c err = rtm_to_fib_config(net, skb, nlh, &cfg); err 589 net/ipv4/fib_frontend.c if (err < 0) err 594 net/ipv4/fib_frontend.c err = -ESRCH; err 598 net/ipv4/fib_frontend.c err = tb->tb_delete(tb, &cfg); err 600 net/ipv4/fib_frontend.c return err; err 608 net/ipv4/fib_frontend.c int err; err 610 net/ipv4/fib_frontend.c err = rtm_to_fib_config(net, skb, nlh, &cfg); err 611 net/ipv4/fib_frontend.c if (err < 0) err 616 net/ipv4/fib_frontend.c err = -ENOBUFS; err 620 net/ipv4/fib_frontend.c err = tb->tb_insert(tb, &cfg); err 622 net/ipv4/fib_frontend.c return err; err 831 net/ipv4/fib_frontend.c frn->err = -ENOENT; err 836 net/ipv4/fib_frontend.c frn->err = tb->tb_lookup(tb, &fl, &res); err 838 net/ipv4/fib_frontend.c if (!frn->err) { err 976 net/ipv4/fib_frontend.c int err; err 987 net/ipv4/fib_frontend.c err = fib4_rules_init(net); err 988 net/ipv4/fib_frontend.c if (err < 0) err 994 net/ipv4/fib_frontend.c return err; err 248 net/ipv4/fib_hash.c int err; err 264 net/ipv4/fib_hash.c err = fib_semantic_match(&f->fn_alias, err 268 net/ipv4/fib_hash.c if (err <= 0) err 272 net/ipv4/fib_hash.c err = 1; err 275 net/ipv4/fib_hash.c return err; err 380 net/ipv4/fib_hash.c int err; err 428 net/ipv4/fib_hash.c err = -EEXIST; err 460 net/ipv4/fib_hash.c err = 0; err 492 net/ipv4/fib_hash.c err = -ENOENT; err 496 net/ipv4/fib_hash.c err = -ENOBUFS; err 545 net/ipv4/fib_hash.c return err; err 62 net/ipv4/fib_rules.c int err; err 64 net/ipv4/fib_rules.c err = fib_rules_lookup(net->ipv4.rules_ops, flp, 0, &arg); err 67 net/ipv4/fib_rules.c return err; err 73 net/ipv4/fib_rules.c int err = -EAGAIN; err 81 net/ipv4/fib_rules.c err = -ENETUNREACH; err 85 net/ipv4/fib_rules.c err = -EACCES; err 90 net/ipv4/fib_rules.c err = -EINVAL; err 97 net/ipv4/fib_rules.c err = tbl->tb_lookup(tbl, flp, (struct fib_result *) arg->result); err 98 net/ipv4/fib_rules.c if (err > 0) err 99 net/ipv4/fib_rules.c err = -EAGAIN; err 101 net/ipv4/fib_rules.c return err; err 141 net/ipv4/fib_rules.c int err = -EINVAL; err 153 net/ipv4/fib_rules.c err = -ENOBUFS; err 178 net/ipv4/fib_rules.c err = 0; err 180 net/ipv4/fib_rules.c return err; err 285 net/ipv4/fib_rules.c int err; err 287 net/ipv4/fib_rules.c err = fib_default_rule_add(ops, 0, RT_TABLE_LOCAL, FIB_RULE_PERMANENT); err 288 net/ipv4/fib_rules.c if (err < 0) err 289 net/ipv4/fib_rules.c return err; err 290 net/ipv4/fib_rules.c err = fib_default_rule_add(ops, 0x7FFE, RT_TABLE_MAIN, 0); err 291 net/ipv4/fib_rules.c if (err < 0) err 292 net/ipv4/fib_rules.c return err; err 293 net/ipv4/fib_rules.c err = fib_default_rule_add(ops, 0x7FFF, RT_TABLE_DEFAULT, 0); err 294 net/ipv4/fib_rules.c if (err < 0) err 295 net/ipv4/fib_rules.c return err; err 301 net/ipv4/fib_rules.c int err; err 312 net/ipv4/fib_rules.c err = fib_default_rules_init(ops); err 313 net/ipv4/fib_rules.c if (err < 0) err 322 net/ipv4/fib_rules.c return err; err 310 net/ipv4/fib_semantics.c int err = -ENOBUFS; err 316 net/ipv4/fib_semantics.c err = fib_dump_info(skb, info->pid, seq, event, tb_id, err 319 net/ipv4/fib_semantics.c if (err < 0) { err 321 net/ipv4/fib_semantics.c WARN_ON(err == -EMSGSIZE); err 325 net/ipv4/fib_semantics.c err = rtnl_notify(skb, info->nl_net, info->pid, RTNLGRP_IPV4_ROUTE, err 328 net/ipv4/fib_semantics.c if (err < 0) err 329 net/ipv4/fib_semantics.c rtnl_set_sk_err(info->nl_net, RTNLGRP_IPV4_ROUTE, err); err 522 net/ipv4/fib_semantics.c int err; err 563 net/ipv4/fib_semantics.c if ((err = fib_lookup(net, &fl, &res)) != 0) err 564 net/ipv4/fib_semantics.c return err; err 566 net/ipv4/fib_semantics.c err = -EINVAL; err 574 net/ipv4/fib_semantics.c err = -ENETDOWN; err 577 net/ipv4/fib_semantics.c err = 0; err 580 net/ipv4/fib_semantics.c return err; err 687 net/ipv4/fib_semantics.c int err; err 705 net/ipv4/fib_semantics.c err = -ENOBUFS; err 760 net/ipv4/fib_semantics.c err = fib_get_nhs(fi, cfg->fc_mp, cfg->fc_mp_len, cfg); err 761 net/ipv4/fib_semantics.c if (err != 0) err 805 net/ipv4/fib_semantics.c err = -ENODEV; err 810 net/ipv4/fib_semantics.c if ((err = fib_check_nh(cfg, fi, nh)) != 0) err 855 net/ipv4/fib_semantics.c err = -EINVAL; err 863 net/ipv4/fib_semantics.c return ERR_PTR(err); err 875 net/ipv4/fib_semantics.c int err; err 886 net/ipv4/fib_semantics.c err = fib_props[fa->fa_type].error; err 887 net/ipv4/fib_semantics.c if (err == 0) { err 924 net/ipv4/fib_semantics.c return err; err 484 net/ipv4/fib_trie.c int err = 0; err 588 net/ipv4/fib_trie.c err = 0; err 633 net/ipv4/fib_trie.c err = 0; err 1175 net/ipv4/fib_trie.c int err; err 1194 net/ipv4/fib_trie.c err = PTR_ERR(fi); err 1195 net/ipv4/fib_trie.c goto err; err 1221 net/ipv4/fib_trie.c err = -EEXIST; err 1253 net/ipv4/fib_trie.c err = 0; err 1256 net/ipv4/fib_trie.c err = -ENOBUFS; err 1290 net/ipv4/fib_trie.c err = -ENOENT; err 1294 net/ipv4/fib_trie.c err = -ENOBUFS; err 1311 net/ipv4/fib_trie.c err = -ENOMEM; err 1329 net/ipv4/fib_trie.c err: err 1330 net/ipv4/fib_trie.c return err; err 1343 net/ipv4/fib_trie.c int err; err 1350 net/ipv4/fib_trie.c err = fib_semantic_match(&li->falh, flp, res, err 1354 net/ipv4/fib_trie.c if (err <= 0) err 1359 net/ipv4/fib_trie.c if (err <= 0) err 1360 net/ipv4/fib_trie.c return err; err 555 net/ipv4/icmp.c int err; err 565 net/ipv4/icmp.c err = xfrm_lookup((struct dst_entry **)&rt, &fl, NULL, 0); err 566 net/ipv4/icmp.c switch (err) { err 582 net/ipv4/icmp.c err = __ip_route_output_key(net, &rt2, &fl); err 593 net/ipv4/icmp.c err = ip_route_input(skb_in, fl.fl4_dst, fl.fl4_src, err 601 net/ipv4/icmp.c if (err) err 604 net/ipv4/icmp.c err = xfrm_lookup((struct dst_entry **)&rt2, &fl, NULL, err 606 net/ipv4/icmp.c switch (err) { err 1146 net/ipv4/icmp.c int i, err; err 1156 net/ipv4/icmp.c err = inet_ctl_sock_create(&sk, PF_INET, err 1158 net/ipv4/icmp.c if (err < 0) err 1201 net/ipv4/icmp.c return err; err 1478 net/ipv4/igmp.c int i, err; err 1498 net/ipv4/igmp.c err = -EINVAL; err 1503 net/ipv4/igmp.c err = 0; err 1508 net/ipv4/igmp.c if (!err && rv < 0) err 1509 net/ipv4/igmp.c err = rv; err 1533 net/ipv4/igmp.c return err; err 1651 net/ipv4/igmp.c int i, err; err 1674 net/ipv4/igmp.c err = 0; err 1676 net/ipv4/igmp.c err = ip_mc_add1_src(pmc, sfmode, &psfsrc[i], delta); err 1677 net/ipv4/igmp.c if (err) err 1680 net/ipv4/igmp.c if (err) { err 1711 net/ipv4/igmp.c return err; err 1739 net/ipv4/igmp.c int err; err 1757 net/ipv4/igmp.c err = -ENODEV; err 1761 net/ipv4/igmp.c err = -EADDRINUSE; err 1769 net/ipv4/igmp.c err = -ENOBUFS; err 1782 net/ipv4/igmp.c err = 0; err 1785 net/ipv4/igmp.c return err; err 1791 net/ipv4/igmp.c int err; err 1798 net/ipv4/igmp.c err = ip_mc_del_src(in_dev, &iml->multi.imr_multiaddr.s_addr, err 1803 net/ipv4/igmp.c return err; err 1852 net/ipv4/igmp.c int err; err 1874 net/ipv4/igmp.c err = -ENODEV; err 1877 net/ipv4/igmp.c err = -EADDRNOTAVAIL; err 1885 net/ipv4/igmp.c err = -EINVAL; err 1891 net/ipv4/igmp.c err = -EINVAL; err 1929 net/ipv4/igmp.c err = 0; err 1935 net/ipv4/igmp.c err = -ENOBUFS; err 1946 net/ipv4/igmp.c err = -ENOBUFS; err 1971 net/ipv4/igmp.c err = 0; err 1979 net/ipv4/igmp.c return err; err 1984 net/ipv4/igmp.c int err = 0; err 2008 net/ipv4/igmp.c err = -ENODEV; err 2024 net/ipv4/igmp.c err = -EINVAL; err 2031 net/ipv4/igmp.c err = -ENOBUFS; err 2037 net/ipv4/igmp.c err = ip_mc_add_src(in_dev, &msf->imsf_multiaddr, err 2039 net/ipv4/igmp.c if (err) { err 2058 net/ipv4/igmp.c err = 0; err 2062 net/ipv4/igmp.c err = ip_mc_leave_group(sk, &imr); err 2063 net/ipv4/igmp.c return err; err 2069 net/ipv4/igmp.c int err, len, count, copycount; err 2089 net/ipv4/igmp.c err = -ENODEV; err 2092 net/ipv4/igmp.c err = -EADDRNOTAVAIL; err 2123 net/ipv4/igmp.c return err; err 2129 net/ipv4/igmp.c int err, i, count, copycount; err 2145 net/ipv4/igmp.c err = -EADDRNOTAVAIL; err 2177 net/ipv4/igmp.c return err; err 192 net/ipv4/inet_connection_sock.c int err; err 215 net/ipv4/inet_connection_sock.c err = 0; err 218 net/ipv4/inet_connection_sock.c err = -EINVAL; err 221 net/ipv4/inet_connection_sock.c err = sock_intr_errno(timeo); err 224 net/ipv4/inet_connection_sock.c err = -EAGAIN; err 229 net/ipv4/inet_connection_sock.c return err; err 271 net/ipv4/inet_connection_sock.c *err = error; err 252 net/ipv4/inet_diag.c int err; err 261 net/ipv4/inet_diag.c err = PTR_ERR(handler); err 266 net/ipv4/inet_diag.c err = -EINVAL; err 287 net/ipv4/inet_diag.c err = -ENOENT; err 291 net/ipv4/inet_diag.c err = -ESTALE; err 298 net/ipv4/inet_diag.c err = -ENOMEM; err 306 net/ipv4/inet_diag.c err = sk_diag_fill(sk, rep, req->idiag_ext, err 309 net/ipv4/inet_diag.c if (err < 0) { err 310 net/ipv4/inet_diag.c WARN_ON(err == -EMSGSIZE); err 314 net/ipv4/inet_diag.c err = netlink_unicast(idiagnl, rep, NETLINK_CB(in_skb).pid, err 316 net/ipv4/inet_diag.c if (err > 0) err 317 net/ipv4/inet_diag.c err = 0; err 328 net/ipv4/inet_diag.c return err; err 628 net/ipv4/inet_diag.c int err = 0; err 683 net/ipv4/inet_diag.c err = inet_diag_fill_req(skb, sk, req, err 686 net/ipv4/inet_diag.c if (err < 0) { err 699 net/ipv4/inet_diag.c return err; err 887 net/ipv4/inet_diag.c int err = -EINVAL; err 893 net/ipv4/inet_diag.c err = -EEXIST; err 896 net/ipv4/inet_diag.c err = 0; err 900 net/ipv4/inet_diag.c return err; err 921 net/ipv4/inet_diag.c int err = -ENOMEM; err 931 net/ipv4/inet_diag.c err = 0; err 933 net/ipv4/inet_diag.c return err; err 305 net/ipv4/ip_fragment.c int err = -ENOENT; err 308 net/ipv4/ip_fragment.c goto err; err 312 net/ipv4/ip_fragment.c unlikely(err = ip_frag_reinit(qp))) { err 314 net/ipv4/ip_fragment.c goto err; err 325 net/ipv4/ip_fragment.c err = -EINVAL; err 334 net/ipv4/ip_fragment.c goto err; err 346 net/ipv4/ip_fragment.c goto err; err 351 net/ipv4/ip_fragment.c goto err; err 353 net/ipv4/ip_fragment.c err = -ENOMEM; err 355 net/ipv4/ip_fragment.c goto err; err 357 net/ipv4/ip_fragment.c err = pskb_trim_rcsum(skb, end - offset); err 358 net/ipv4/ip_fragment.c if (err) err 359 net/ipv4/ip_fragment.c goto err; err 381 net/ipv4/ip_fragment.c err = -EINVAL; err 383 net/ipv4/ip_fragment.c goto err; err 384 net/ipv4/ip_fragment.c err = -ENOMEM; err 386 net/ipv4/ip_fragment.c goto err; err 392 net/ipv4/ip_fragment.c err = -ENOMEM; err 402 net/ipv4/ip_fragment.c goto err; err 455 net/ipv4/ip_fragment.c err: err 457 net/ipv4/ip_fragment.c return err; err 470 net/ipv4/ip_fragment.c int err; err 498 net/ipv4/ip_fragment.c err = -E2BIG; err 558 net/ipv4/ip_fragment.c err = -ENOMEM; err 567 net/ipv4/ip_fragment.c return err; err 910 net/ipv4/ip_gre.c int err = 0; err 921 net/ipv4/ip_gre.c err = -EFAULT; err 930 net/ipv4/ip_gre.c err = -EFAULT; err 935 net/ipv4/ip_gre.c err = -EPERM; err 939 net/ipv4/ip_gre.c err = -EFAULT; err 943 net/ipv4/ip_gre.c err = -EINVAL; err 961 net/ipv4/ip_gre.c err = -EEXIST; err 975 net/ipv4/ip_gre.c err = -EINVAL; err 991 net/ipv4/ip_gre.c err = 0; err 1003 net/ipv4/ip_gre.c err = -EFAULT; err 1005 net/ipv4/ip_gre.c err = (cmd == SIOCADDTUNNEL ? -ENOBUFS : -ENOENT); err 1009 net/ipv4/ip_gre.c err = -EPERM; err 1014 net/ipv4/ip_gre.c err = -EFAULT; err 1017 net/ipv4/ip_gre.c err = -ENOENT; err 1020 net/ipv4/ip_gre.c err = -EPERM; err 1026 net/ipv4/ip_gre.c err = 0; err 1030 net/ipv4/ip_gre.c err = -EINVAL; err 1034 net/ipv4/ip_gre.c return err; err 1249 net/ipv4/ip_gre.c int err; err 1252 net/ipv4/ip_gre.c err = -ENOMEM; err 1257 net/ipv4/ip_gre.c err = net_assign_generic(net, ipgre_net_id, ign); err 1258 net/ipv4/ip_gre.c if (err < 0) err 1264 net/ipv4/ip_gre.c err = -ENOMEM; err 1272 net/ipv4/ip_gre.c if ((err = register_netdev(ign->fb_tunnel_dev))) err 1284 net/ipv4/ip_gre.c return err; err 1422 net/ipv4/ip_gre.c int err; err 1437 net/ipv4/ip_gre.c err = register_netdevice(dev); err 1438 net/ipv4/ip_gre.c if (err) err 1445 net/ipv4/ip_gre.c return err; err 1601 net/ipv4/ip_gre.c int err; err 1610 net/ipv4/ip_gre.c err = register_pernet_gen_device(&ipgre_net_id, &ipgre_net_ops); err 1611 net/ipv4/ip_gre.c if (err < 0) err 1614 net/ipv4/ip_gre.c err = rtnl_link_register(&ipgre_link_ops); err 1615 net/ipv4/ip_gre.c if (err < 0) err 1618 net/ipv4/ip_gre.c err = rtnl_link_register(&ipgre_tap_ops); err 1619 net/ipv4/ip_gre.c if (err < 0) err 1623 net/ipv4/ip_gre.c return err; err 327 net/ipv4/ip_input.c int err = ip_route_input(skb, iph->daddr, iph->saddr, iph->tos, err 329 net/ipv4/ip_input.c if (unlikely(err)) { err 330 net/ipv4/ip_input.c if (err == -EHOSTUNREACH) err 333 net/ipv4/ip_input.c else if (err == -ENETUNREACH) err 603 net/ipv4/ip_options.c int err; err 628 net/ipv4/ip_options.c err = ip_route_input(skb, nexthop, iph->saddr, iph->tos, skb->dev); err 630 net/ipv4/ip_options.c if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { err 104 net/ipv4/ip_output.c int err; err 106 net/ipv4/ip_output.c err = __ip_local_out(skb); err 107 net/ipv4/ip_output.c if (likely(err == 1)) err 108 net/ipv4/ip_output.c err = dst_output(skb); err 110 net/ipv4/ip_output.c return err; err 444 net/ipv4/ip_output.c int err = 0; err 510 net/ipv4/ip_output.c err = 0; err 543 net/ipv4/ip_output.c err = output(skb); err 545 net/ipv4/ip_output.c if (!err) err 547 net/ipv4/ip_output.c if (err || !frag) err 555 net/ipv4/ip_output.c if (err == 0) { err 566 net/ipv4/ip_output.c return err; err 607 net/ipv4/ip_output.c err = -ENOMEM; err 673 net/ipv4/ip_output.c err = output(skb2); err 674 net/ipv4/ip_output.c if (err) err 681 net/ipv4/ip_output.c return err; err 686 net/ipv4/ip_output.c return err; err 726 net/ipv4/ip_output.c int err; err 735 net/ipv4/ip_output.c (flags & MSG_DONTWAIT), &err); err 738 net/ipv4/ip_output.c return err; err 792 net/ipv4/ip_output.c int err; err 860 net/ipv4/ip_output.c err = ip_ufo_append_data(sk, getfrag, from, length, hh_len, err 863 net/ipv4/ip_output.c if (err) err 923 net/ipv4/ip_output.c (flags & MSG_DONTWAIT), &err); err 932 net/ipv4/ip_output.c err = -ENOBUFS; err 965 net/ipv4/ip_output.c err = -EFAULT; err 993 net/ipv4/ip_output.c err = -EFAULT; err 1008 net/ipv4/ip_output.c err = -EMSGSIZE; err 1020 net/ipv4/ip_output.c err = -ENOMEM; err 1029 net/ipv4/ip_output.c err = -EMSGSIZE; err 1033 net/ipv4/ip_output.c err = -EFAULT; err 1052 net/ipv4/ip_output.c return err; err 1065 net/ipv4/ip_output.c int err; err 1128 net/ipv4/ip_output.c err = -ENOBUFS; err 1172 net/ipv4/ip_output.c err = -EMSGSIZE; err 1194 net/ipv4/ip_output.c return err; err 1221 net/ipv4/ip_output.c int err = 0; err 1289 net/ipv4/ip_output.c err = ip_local_out(skb); err 1290 net/ipv4/ip_output.c if (err) { err 1291 net/ipv4/ip_output.c if (err > 0) err 1292 net/ipv4/ip_output.c err = inet->recverr ? net_xmit_errno(err) : 0; err 1293 net/ipv4/ip_output.c if (err) err 1299 net/ipv4/ip_output.c return err; err 115 net/ipv4/ip_sockglue.c int err; err 117 net/ipv4/ip_sockglue.c err = security_socket_getpeersec_dgram(NULL, skb, &secid); err 118 net/ipv4/ip_sockglue.c if (err) err 121 net/ipv4/ip_sockglue.c err = security_secid_to_secctx(secid, &secdata, &seclen); err 122 net/ipv4/ip_sockglue.c if (err) err 167 net/ipv4/ip_sockglue.c int err; err 177 net/ipv4/ip_sockglue.c err = cmsg->cmsg_len - CMSG_ALIGN(sizeof(struct cmsghdr)); err 178 net/ipv4/ip_sockglue.c err = ip_options_get(net, &ipc->opt, CMSG_DATA(cmsg), err < 40 ? err : 40); err 179 net/ipv4/ip_sockglue.c if (err) err 180 net/ipv4/ip_sockglue.c return err; err 269 net/ipv4/ip_sockglue.c serr->ee.ee_errno = err; err 308 net/ipv4/ip_sockglue.c serr->ee.ee_errno = err; err 337 net/ipv4/ip_sockglue.c int err; err 340 net/ipv4/ip_sockglue.c err = -EAGAIN; err 350 net/ipv4/ip_sockglue.c err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); err 351 net/ipv4/ip_sockglue.c if (err) err 386 net/ipv4/ip_sockglue.c err = copied; err 401 net/ipv4/ip_sockglue.c return err; err 414 net/ipv4/ip_sockglue.c int val=0,err; err 442 net/ipv4/ip_sockglue.c err = 0; err 451 net/ipv4/ip_sockglue.c err = ip_options_get_from_user(sock_net(sk), &opt, err 453 net/ipv4/ip_sockglue.c if (err) err 532 net/ipv4/ip_sockglue.c err = -ENOPROTOOPT; err 574 net/ipv4/ip_sockglue.c err = -EFAULT; err 589 net/ipv4/ip_sockglue.c err = 0; err 601 net/ipv4/ip_sockglue.c err = -EADDRNOTAVAIL; err 605 net/ipv4/ip_sockglue.c err = -EINVAL; err 612 net/ipv4/ip_sockglue.c err = 0; err 621 net/ipv4/ip_sockglue.c err = -EPROTO; err 627 net/ipv4/ip_sockglue.c err = -EFAULT; err 638 net/ipv4/ip_sockglue.c err = ip_mc_join_group(sk, &mreq); err 640 net/ipv4/ip_sockglue.c err = ip_mc_leave_group(sk, &mreq); err 651 net/ipv4/ip_sockglue.c err = -ENOBUFS; err 656 net/ipv4/ip_sockglue.c err = -ENOBUFS; err 659 net/ipv4/ip_sockglue.c err = -EFAULT; err 668 net/ipv4/ip_sockglue.c err = -ENOBUFS; err 673 net/ipv4/ip_sockglue.c err = -EINVAL; err 676 net/ipv4/ip_sockglue.c err = ip_mc_msfilter(sk, msf, 0); err 691 net/ipv4/ip_sockglue.c err = -EFAULT; err 706 net/ipv4/ip_sockglue.c err = ip_mc_join_group(sk, &mreq); err 707 net/ipv4/ip_sockglue.c if (err && err != -EADDRINUSE) err 715 net/ipv4/ip_sockglue.c err = ip_mc_source(add, omode, sk, &mreqs, 0); err 727 net/ipv4/ip_sockglue.c err = -EFAULT; err 738 net/ipv4/ip_sockglue.c err = ip_mc_join_group(sk, &mreq); err 740 net/ipv4/ip_sockglue.c err = ip_mc_leave_group(sk, &mreq); err 756 net/ipv4/ip_sockglue.c err = -EFAULT; err 761 net/ipv4/ip_sockglue.c err = -EADDRNOTAVAIL; err 783 net/ipv4/ip_sockglue.c err = ip_mc_join_group(sk, &mreq); err 784 net/ipv4/ip_sockglue.c if (err && err != -EADDRINUSE) err 793 net/ipv4/ip_sockglue.c err = ip_mc_source(add, omode, sk, &mreqs, err 808 net/ipv4/ip_sockglue.c err = -ENOBUFS; err 813 net/ipv4/ip_sockglue.c err = -ENOBUFS; err 816 net/ipv4/ip_sockglue.c err = -EFAULT; err 823 net/ipv4/ip_sockglue.c err = -ENOBUFS; err 827 net/ipv4/ip_sockglue.c err = -EINVAL; err 833 net/ipv4/ip_sockglue.c err = -ENOBUFS; err 839 net/ipv4/ip_sockglue.c err = -EADDRNOTAVAIL; err 846 net/ipv4/ip_sockglue.c err = -EADDRNOTAVAIL; err 857 net/ipv4/ip_sockglue.c err = ip_mc_msfilter(sk, msf, ifindex); err 864 net/ipv4/ip_sockglue.c err = ip_ra_control(sk, val ? 1 : 0, NULL); err 875 net/ipv4/ip_sockglue.c err = -EPERM; err 878 net/ipv4/ip_sockglue.c err = xfrm_user_policy(sk, optname, optval, optlen); err 883 net/ipv4/ip_sockglue.c err = -EPERM; err 892 net/ipv4/ip_sockglue.c err = -ENOPROTOOPT; err 896 net/ipv4/ip_sockglue.c return err; err 906 net/ipv4/ip_sockglue.c int err; err 911 net/ipv4/ip_sockglue.c err = do_ip_setsockopt(sk, level, optname, optval, optlen); err 914 net/ipv4/ip_sockglue.c if (err == -ENOPROTOOPT && optname != IP_HDRINCL && err 919 net/ipv4/ip_sockglue.c err = nf_setsockopt(sk, PF_INET, optname, optval, optlen); err 923 net/ipv4/ip_sockglue.c return err; err 930 net/ipv4/ip_sockglue.c int err; err 939 net/ipv4/ip_sockglue.c err = do_ip_setsockopt(sk, level, optname, optval, optlen); err 942 net/ipv4/ip_sockglue.c if (err == -ENOPROTOOPT && optname != IP_HDRINCL && err 947 net/ipv4/ip_sockglue.c err = compat_nf_setsockopt(sk, PF_INET, optname, err 952 net/ipv4/ip_sockglue.c return err; err 1079 net/ipv4/ip_sockglue.c int err; err 1089 net/ipv4/ip_sockglue.c err = ip_mc_msfget(sk, &msf, err 1092 net/ipv4/ip_sockglue.c return err; err 1097 net/ipv4/ip_sockglue.c int err; err 1107 net/ipv4/ip_sockglue.c err = ip_mc_gsfget(sk, &gsf, err 1110 net/ipv4/ip_sockglue.c return err; err 1172 net/ipv4/ip_sockglue.c int err; err 1174 net/ipv4/ip_sockglue.c err = do_ip_getsockopt(sk, level, optname, optval, optlen); err 1177 net/ipv4/ip_sockglue.c if (err == -ENOPROTOOPT && optname != IP_PKTOPTIONS && err 1185 net/ipv4/ip_sockglue.c err = nf_getsockopt(sk, PF_INET, optname, optval, err 1188 net/ipv4/ip_sockglue.c if (err >= 0) err 1189 net/ipv4/ip_sockglue.c err = put_user(len, optlen); err 1190 net/ipv4/ip_sockglue.c return err; err 1193 net/ipv4/ip_sockglue.c return err; err 1200 net/ipv4/ip_sockglue.c int err; err 1206 net/ipv4/ip_sockglue.c err = do_ip_getsockopt(sk, level, optname, optval, optlen); err 1210 net/ipv4/ip_sockglue.c if (err == -ENOPROTOOPT && optname != IP_PKTOPTIONS && err 1218 net/ipv4/ip_sockglue.c err = compat_nf_getsockopt(sk, PF_INET, optname, optval, &len); err 1220 net/ipv4/ip_sockglue.c if (err >= 0) err 1221 net/ipv4/ip_sockglue.c err = put_user(len, optlen); err 1222 net/ipv4/ip_sockglue.c return err; err 1225 net/ipv4/ip_sockglue.c return err; err 85 net/ipv4/ipcomp.c int err = 0; err 93 net/ipv4/ipcomp.c err = -EINVAL; err 102 net/ipv4/ipcomp.c return err; err 107 net/ipv4/ipcomp.c int err = -EINVAL; err 120 net/ipv4/ipcomp.c err = ipcomp_init_state(x); err 121 net/ipv4/ipcomp.c if (err) err 125 net/ipv4/ipcomp.c err = ipcomp_tunnel_attach(x); err 126 net/ipv4/ipcomp.c if (err) err 130 net/ipv4/ipcomp.c err = 0; err 132 net/ipv4/ipcomp.c return err; err 317 net/ipv4/ipconfig.c int err; err 322 net/ipv4/ipconfig.c if ((err = ic_dev_ioctl(SIOCSIFADDR, &ir)) < 0) { err 323 net/ipv4/ipconfig.c printk(KERN_ERR "IP-Config: Unable to set interface address (%d).\n", err); err 327 net/ipv4/ipconfig.c if ((err = ic_dev_ioctl(SIOCSIFNETMASK, &ir)) < 0) { err 328 net/ipv4/ipconfig.c printk(KERN_ERR "IP-Config: Unable to set interface netmask (%d).\n", err); err 332 net/ipv4/ipconfig.c if ((err = ic_dev_ioctl(SIOCSIFBRDADDR, &ir)) < 0) { err 333 net/ipv4/ipconfig.c printk(KERN_ERR "IP-Config: Unable to set interface broadcast address (%d).\n", err); err 345 net/ipv4/ipconfig.c int err; err 356 net/ipv4/ipconfig.c if ((err = ic_route_ioctl(SIOCADDRT, &rm)) < 0) { err 357 net/ipv4/ipconfig.c printk(KERN_ERR "IP-Config: Cannot add default route (%d).\n", err); err 288 net/ipv4/ipip.c int err; err 318 net/ipv4/ipip.c err = -ENOENT; err 325 net/ipv4/ipip.c err = 0; err 336 net/ipv4/ipip.c return err; err 574 net/ipv4/ipip.c int err = 0; err 585 net/ipv4/ipip.c err = -EFAULT; err 594 net/ipv4/ipip.c err = -EFAULT; err 599 net/ipv4/ipip.c err = -EPERM; err 603 net/ipv4/ipip.c err = -EFAULT; err 607 net/ipv4/ipip.c err = -EINVAL; err 619 net/ipv4/ipip.c err = -EEXIST; err 625 net/ipv4/ipip.c err = -EINVAL; err 640 net/ipv4/ipip.c err = 0; err 652 net/ipv4/ipip.c err = -EFAULT; err 654 net/ipv4/ipip.c err = (cmd == SIOCADDTUNNEL ? -ENOBUFS : -ENOENT); err 658 net/ipv4/ipip.c err = -EPERM; err 663 net/ipv4/ipip.c err = -EFAULT; err 666 net/ipv4/ipip.c err = -ENOENT; err 669 net/ipv4/ipip.c err = -EPERM; err 675 net/ipv4/ipip.c err = 0; err 679 net/ipv4/ipip.c err = -EINVAL; err 683 net/ipv4/ipip.c return err; err 771 net/ipv4/ipip.c int err; err 774 net/ipv4/ipip.c err = -ENOMEM; err 779 net/ipv4/ipip.c err = net_assign_generic(net, ipip_net_id, ipn); err 780 net/ipv4/ipip.c if (err < 0) err 792 net/ipv4/ipip.c err = -ENOMEM; err 799 net/ipv4/ipip.c if ((err = register_netdev(ipn->fb_tunnel_dev))) err 811 net/ipv4/ipip.c return err; err 833 net/ipv4/ipip.c int err; err 842 net/ipv4/ipip.c err = register_pernet_gen_device(&ipip_net_id, &ipip_net_ops); err 843 net/ipv4/ipip.c if (err) err 846 net/ipv4/ipip.c return err; err 154 net/ipv4/ipmr.c int err; err 170 net/ipv4/ipmr.c err = dev->do_ioctl(dev, &ifr, SIOCADDTUNNEL); err 175 net/ipv4/ipmr.c if (err == 0 && (dev = __dev_get_by_name(&init_net, p.name)) != NULL) { err 421 net/ipv4/ipmr.c int err; err 439 net/ipv4/ipmr.c err = dev_set_allmulti(dev, 1); err 440 net/ipv4/ipmr.c if (err) { err 443 net/ipv4/ipmr.c return err; err 451 net/ipv4/ipmr.c err = dev_set_allmulti(dev, 1); err 452 net/ipv4/ipmr.c if (err) { err 455 net/ipv4/ipmr.c return err; err 462 net/ipv4/ipmr.c err = dev_set_allmulti(dev, 1); err 463 net/ipv4/ipmr.c if (err) { err 465 net/ipv4/ipmr.c return err; err 672 net/ipv4/ipmr.c int err; err 706 net/ipv4/ipmr.c if ((err = ipmr_cache_report(skb, vifi, IGMPMSG_NOCACHE))<0) { err 714 net/ipv4/ipmr.c return err; err 729 net/ipv4/ipmr.c err = -ENOBUFS; err 732 net/ipv4/ipmr.c err = 0; err 736 net/ipv4/ipmr.c return err; err 1446 net/ipv4/ipmr.c int err = ipmr_cache_unresolved(vif, skb); err 1449 net/ipv4/ipmr.c return err; err 1630 net/ipv4/ipmr.c int err; err 1666 net/ipv4/ipmr.c err = ipmr_cache_unresolved(vif, skb2); err 1668 net/ipv4/ipmr.c return err; err 1673 net/ipv4/ipmr.c err = ipmr_fill_mroute(skb, cache, rtm); err 1675 net/ipv4/ipmr.c return err; err 1927 net/ipv4/ipmr.c int err; err 1937 net/ipv4/ipmr.c err = register_netdevice_notifier(&ip_mr_notifier); err 1938 net/ipv4/ipmr.c if (err) err 1941 net/ipv4/ipmr.c err = -ENOMEM; err 1956 net/ipv4/ipmr.c return err; err 507 net/ipv4/netfilter/arp_tables.c goto err; err 511 net/ipv4/netfilter/arp_tables.c err: err 406 net/ipv4/netfilter/ip_queue.c #define RCV_SKB_FAIL(err) do { netlink_ack(skb, nlh, (err)); return; } while (0) err 650 net/ipv4/netfilter/ip_tables.c goto err; err 653 net/ipv4/netfilter/ip_tables.c err: err 718 net/ipv4/netfilter/ip_tables.c goto err; err 722 net/ipv4/netfilter/ip_tables.c err: err 23 net/ipv4/netfilter/nf_defrag_ipv4.c int err; err 28 net/ipv4/netfilter/nf_defrag_ipv4.c err = ip_defrag(skb, user); err 31 net/ipv4/netfilter/nf_defrag_ipv4.c if (!err) err 34 net/ipv4/netfilter/nf_defrag_ipv4.c return err; err 286 net/ipv4/netfilter/nf_nat_sip.c goto err; err 290 net/ipv4/netfilter/nf_nat_sip.c err: err 215 net/ipv4/raw.c int err = 0; err 229 net/ipv4/raw.c err = EHOSTUNREACH; err 234 net/ipv4/raw.c err = EPROTO; err 238 net/ipv4/raw.c err = EHOSTUNREACH; err 241 net/ipv4/raw.c err = icmp_err_convert[code].errno; err 245 net/ipv4/raw.c err = EMSGSIZE; err 255 net/ipv4/raw.c ip_icmp_error(sk, skb, err, 0, info, payload); err 259 net/ipv4/raw.c sk->sk_err = err; err 327 net/ipv4/raw.c int err; err 339 net/ipv4/raw.c flags & MSG_DONTWAIT, &err); err 355 net/ipv4/raw.c err = memcpy_fromiovecend((void *)iph, from, 0, length); err 356 net/ipv4/raw.c if (err) err 375 net/ipv4/raw.c err = NF_HOOK(PF_INET, NF_INET_LOCAL_OUT, skb, NULL, rt->u.dst.dev, err 377 net/ipv4/raw.c if (err > 0) err 378 net/ipv4/raw.c err = inet->recverr ? net_xmit_errno(err) : 0; err 379 net/ipv4/raw.c if (err) err 385 net/ipv4/raw.c err = -EFAULT; err 389 net/ipv4/raw.c return err; err 449 net/ipv4/raw.c int err; err 451 net/ipv4/raw.c err = -EMSGSIZE; err 459 net/ipv4/raw.c err = -EOPNOTSUPP; err 469 net/ipv4/raw.c err = -EINVAL; err 478 net/ipv4/raw.c err = -EAFNOSUPPORT; err 488 net/ipv4/raw.c err = -EDESTADDRREQ; err 499 net/ipv4/raw.c err = ip_cmsg_send(sock_net(sk), msg, &ipc); err 500 net/ipv4/raw.c if (err) err 513 net/ipv4/raw.c err = -EINVAL; err 547 net/ipv4/raw.c err = raw_probe_proto_opt(&fl, msg); err 548 net/ipv4/raw.c if (err) err 553 net/ipv4/raw.c err = ip_route_output_flow(sock_net(sk), &rt, &fl, sk, 1); err 555 net/ipv4/raw.c if (err) err 558 net/ipv4/raw.c err = -EACCES; err 567 net/ipv4/raw.c err = raw_send_hdrinc(sk, msg->msg_iov, len, err 574 net/ipv4/raw.c err = ip_append_data(sk, ip_generic_getfrag, msg->msg_iov, len, 0, err 576 net/ipv4/raw.c if (err) err 579 net/ipv4/raw.c err = ip_push_pending_frames(sk); err 588 net/ipv4/raw.c if (err < 0) err 589 net/ipv4/raw.c return err; err 596 net/ipv4/raw.c err = 0; err 650 net/ipv4/raw.c int err = -EOPNOTSUPP; err 661 net/ipv4/raw.c err = ip_recv_error(sk, msg, len); err 665 net/ipv4/raw.c skb = skb_recv_datagram(sk, flags, noblock, &err); err 675 net/ipv4/raw.c err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); err 676 net/ipv4/raw.c if (err) err 695 net/ipv4/raw.c if (err) err 696 net/ipv4/raw.c return err; err 964 net/ipv4/raw.c int err; err 967 net/ipv4/raw.c err = seq_open_net(ino, file, ops, sizeof(struct raw_iter_state)); err 968 net/ipv4/raw.c if (err < 0) err 969 net/ipv4/raw.c return err; err 1070 net/ipv4/route.c int err = arp_bind_neighbour(&rt->u.dst); err 1071 net/ipv4/route.c if (err) { err 1074 net/ipv4/route.c if (err != -ENOBUFS) { err 1076 net/ipv4/route.c return err; err 1812 net/ipv4/route.c int err; err 1828 net/ipv4/route.c err = fib_validate_source(saddr, daddr, tos, FIB_RES_OIF(*res), err 1830 net/ipv4/route.c if (err < 0) { err 1834 net/ipv4/route.c err = -EINVAL; err 1838 net/ipv4/route.c if (err) err 1841 net/ipv4/route.c if (out_dev == in_dev && err && err 1851 net/ipv4/route.c err = -EINVAL; err 1859 net/ipv4/route.c err = -ENOBUFS; err 1893 net/ipv4/route.c err = 0; err 1897 net/ipv4/route.c return err; err 1907 net/ipv4/route.c int err; err 1916 net/ipv4/route.c err = __mkroute_input(skb, res, in_dev, daddr, saddr, tos, &rth); err 1917 net/ipv4/route.c if (err) err 1918 net/ipv4/route.c return err; err 1954 net/ipv4/route.c int err = -EINVAL; err 1987 net/ipv4/route.c if ((err = fib_lookup(net, &fl, &res)) != 0) { err 2017 net/ipv4/route.c err = ip_mkroute_input(skb, &res, &fl, in_dev, daddr, saddr, tos); err 2022 net/ipv4/route.c out: return err; err 2031 net/ipv4/route.c err = fib_validate_source(saddr, 0, tos, 0, dev, &spec_dst, err 2033 net/ipv4/route.c if (err < 0) err 2035 net/ipv4/route.c if (err) err 2074 net/ipv4/route.c rth->u.dst.error= -err; err 2079 net/ipv4/route.c err = rt_intern_hash(hash, rth, &skb->rtable); err 2086 net/ipv4/route.c if (err == -ESRCH) err 2087 net/ipv4/route.c err = -ENETUNREACH; err 2103 net/ipv4/route.c err = -EHOSTUNREACH; err 2107 net/ipv4/route.c err = -EINVAL; err 2111 net/ipv4/route.c err = -ENOBUFS; err 2197 net/ipv4/route.c int err = 0; err 2241 net/ipv4/route.c err = -ENOBUFS; err 2304 net/ipv4/route.c return err; err 2315 net/ipv4/route.c int err = __mkroute_output(&rth, res, fl, oldflp, dev_out, flags); err 2317 net/ipv4/route.c if (err == 0) { err 2320 net/ipv4/route.c err = rt_intern_hash(hash, rth, rp); err 2323 net/ipv4/route.c return err; err 2349 net/ipv4/route.c int err; err 2358 net/ipv4/route.c err = -EINVAL; err 2412 net/ipv4/route.c err = -ENODEV; err 2482 net/ipv4/route.c err = -ENETUNREACH; err 2521 net/ipv4/route.c err = ip_mkroute_output(rp, &res, &fl, oldflp, dev_out, flags); err 2528 net/ipv4/route.c out: return err; err 2628 net/ipv4/route.c int err; err 2630 net/ipv4/route.c if ((err = __ip_route_output_key(net, rp, flp)) != 0) err 2631 net/ipv4/route.c return err; err 2638 net/ipv4/route.c err = __xfrm_lookup((struct dst_entry **)rp, flp, sk, err 2640 net/ipv4/route.c if (err == -EREMOTE) err 2641 net/ipv4/route.c err = ipv4_dst_blackhole(net, rp, flp); err 2643 net/ipv4/route.c return err; err 2722 net/ipv4/route.c int err = ipmr_get_route(skb, r, nowait); err 2723 net/ipv4/route.c if (err <= 0) { err 2725 net/ipv4/route.c if (err == 0) err 2729 net/ipv4/route.c if (err == -EMSGSIZE) err 2731 net/ipv4/route.c error = err; err 2759 net/ipv4/route.c int err; err 2762 net/ipv4/route.c err = nlmsg_parse(nlh, sizeof(*rtm), tb, RTA_MAX, rtm_ipv4_policy); err 2763 net/ipv4/route.c if (err < 0) err 2770 net/ipv4/route.c err = -ENOBUFS; err 2793 net/ipv4/route.c err = -ENODEV; err 2800 net/ipv4/route.c err = ip_route_input(skb, dst, src, rtm->rtm_tos, dev); err 2804 net/ipv4/route.c if (err == 0 && rt->u.dst.error) err 2805 net/ipv4/route.c err = -rt->u.dst.error; err 2817 net/ipv4/route.c err = ip_route_output_key(net, &rt, &fl); err 2820 net/ipv4/route.c if (err) err 2827 net/ipv4/route.c err = rt_fill_info(skb, NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, err 2829 net/ipv4/route.c if (err <= 0) err 2832 net/ipv4/route.c err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).pid); err 2834 net/ipv4/route.c return err; err 663 net/ipv4/tcp.c int err; err 669 net/ipv4/tcp.c if ((err = sk_stream_wait_connect(sk, &timeo)) != 0) err 678 net/ipv4/tcp.c err = -EPIPE; err 755 net/ipv4/tcp.c if ((err = sk_stream_wait_memory(sk, &timeo)) != 0) err 771 net/ipv4/tcp.c return sk_stream_error(sk, flags, err); err 824 net/ipv4/tcp.c int err, copied; err 835 net/ipv4/tcp.c if ((err = sk_stream_wait_connect(sk, &timeo)) != 0) err 849 net/ipv4/tcp.c err = -EPIPE; err 898 net/ipv4/tcp.c if ((err = skb_add_data(skb, from, copy)) != 0) err 943 net/ipv4/tcp.c err = skb_copy_to_page(sk, from, skb, page, err 945 net/ipv4/tcp.c if (err) { err 1001 net/ipv4/tcp.c if ((err = sk_stream_wait_memory(sk, &timeo)) != 0) err 1030 net/ipv4/tcp.c err = sk_stream_error(sk, flags, err); err 1033 net/ipv4/tcp.c return err; err 1056 net/ipv4/tcp.c int err = 0; err 1067 net/ipv4/tcp.c err = memcpy_toiovec(msg->msg_iov, &c, 1); err 1072 net/ipv4/tcp.c return err ? -EFAULT : len; err 1277 net/ipv4/tcp.c int err; err 1288 net/ipv4/tcp.c err = -ENOTCONN; err 1552 net/ipv4/tcp.c err = skb_copy_datagram_iovec(skb, offset, err 1554 net/ipv4/tcp.c if (err) { err 1657 net/ipv4/tcp.c return err; err 1660 net/ipv4/tcp.c err = tcp_recv_urg(sk, timeo, msg, len, flags, addr_len); err 1926 net/ipv4/tcp.c int err = 0; err 1981 net/ipv4/tcp.c return err; err 1993 net/ipv4/tcp.c int err = 0; err 2009 net/ipv4/tcp.c err = tcp_set_congestion_control(sk, name); err 2011 net/ipv4/tcp.c return err; err 2028 net/ipv4/tcp.c err = -EINVAL; err 2075 net/ipv4/tcp.c err = -EINVAL; err 2092 net/ipv4/tcp.c err = -EINVAL; err 2098 net/ipv4/tcp.c err = -EINVAL; err 2104 net/ipv4/tcp.c err = -EINVAL; err 2134 net/ipv4/tcp.c err = -EINVAL; err 2162 net/ipv4/tcp.c err = tp->af_specific->md5_parse(sk, optval, optlen); err 2167 net/ipv4/tcp.c err = -ENOPROTOOPT; err 2172 net/ipv4/tcp.c return err; err 2598 net/ipv4/tcp.c int err; err 2604 net/ipv4/tcp.c err = crypto_hash_update(&hp->md5_desc, &sg, sizeof(struct tcphdr)); err 2606 net/ipv4/tcp.c return err; err 238 net/ipv4/tcp_cong.c int err = 0; err 257 net/ipv4/tcp_cong.c err = -ENOENT; err 260 net/ipv4/tcp_cong.c err = -EPERM; err 263 net/ipv4/tcp_cong.c err = -EBUSY; err 274 net/ipv4/tcp_cong.c return err; err 1248 net/ipv4/tcp_input.c int in_sack, err; err 1263 net/ipv4/tcp_input.c err = tcp_fragment(sk, skb, pkt_len, skb_shinfo(skb)->gso_size); err 1264 net/ipv4/tcp_input.c if (err < 0) err 1265 net/ipv4/tcp_input.c return err; err 2191 net/ipv4/tcp_input.c int err; err 2224 net/ipv4/tcp_input.c err = tcp_fragment(sk, skb, (packets - oldcnt) * mss, mss); err 2225 net/ipv4/tcp_input.c if (err < 0) err 4631 net/ipv4/tcp_input.c int err; err 4635 net/ipv4/tcp_input.c err = skb_copy_datagram_iovec(skb, hlen, tp->ucopy.iov, chunk); err 4637 net/ipv4/tcp_input.c err = skb_copy_and_csum_datagram_iovec(skb, hlen, err 4640 net/ipv4/tcp_input.c if (!err) { err 4647 net/ipv4/tcp_input.c return err; err 156 net/ipv4/tcp_ipv4.c int err; err 231 net/ipv4/tcp_ipv4.c err = inet_hash_connect(&tcp_death_row, sk); err 232 net/ipv4/tcp_ipv4.c if (err) err 235 net/ipv4/tcp_ipv4.c err = ip_route_newports(&rt, IPPROTO_TCP, err 237 net/ipv4/tcp_ipv4.c if (err) err 252 net/ipv4/tcp_ipv4.c err = tcp_connect(sk); err 254 net/ipv4/tcp_ipv4.c if (err) err 268 net/ipv4/tcp_ipv4.c return err; err 344 net/ipv4/tcp_ipv4.c int err; err 386 net/ipv4/tcp_ipv4.c err = EPROTO; err 398 net/ipv4/tcp_ipv4.c err = icmp_err_convert[code].errno; err 401 net/ipv4/tcp_ipv4.c err = EHOSTUNREACH; err 442 net/ipv4/tcp_ipv4.c sk->sk_err = err; err 448 net/ipv4/tcp_ipv4.c sk->sk_err_soft = err; err 471 net/ipv4/tcp_ipv4.c sk->sk_err = err; err 474 net/ipv4/tcp_ipv4.c sk->sk_err_soft = err; err 714 net/ipv4/tcp_ipv4.c int err = -1; err 732 net/ipv4/tcp_ipv4.c err = ip_build_and_send_pkt(skb, sk, ireq->loc_addr, err 735 net/ipv4/tcp_ipv4.c err = net_xmit_eval(err); err 739 net/ipv4/tcp_ipv4.c return err; err 2150 net/ipv4/tcp_ipv4.c int err; err 2152 net/ipv4/tcp_ipv4.c err = seq_open_net(inode, file, &afinfo->seq_ops, err 2154 net/ipv4/tcp_ipv4.c if (err < 0) err 2155 net/ipv4/tcp_ipv4.c return err; err 596 net/ipv4/tcp_output.c int err; err 685 net/ipv4/tcp_output.c err = icsk->icsk_af_ops->queue_xmit(skb, 0); err 686 net/ipv4/tcp_output.c if (likely(err <= 0)) err 687 net/ipv4/tcp_output.c return err; err 691 net/ipv4/tcp_output.c return net_xmit_eval(err); err 1898 net/ipv4/tcp_output.c int err; err 1970 net/ipv4/tcp_output.c err = tcp_transmit_skb(sk, skb, 1, GFP_ATOMIC); err 1972 net/ipv4/tcp_output.c if (err == 0) { err 2000 net/ipv4/tcp_output.c return err; err 2550 net/ipv4/tcp_output.c int err; err 2572 net/ipv4/tcp_output.c err = tcp_transmit_skb(sk, skb, 1, GFP_ATOMIC); err 2573 net/ipv4/tcp_output.c if (!err) err 2575 net/ipv4/tcp_output.c return err; err 2590 net/ipv4/tcp_output.c int err; err 2592 net/ipv4/tcp_output.c err = tcp_write_wakeup(sk); err 2601 net/ipv4/tcp_output.c if (err <= 0) { err 37 net/ipv4/tunnel4.c goto err; err 45 net/ipv4/tunnel4.c err: err 335 net/ipv4/udp.c int err; err 345 net/ipv4/udp.c err = 0; err 352 net/ipv4/udp.c err = EHOSTUNREACH; err 357 net/ipv4/udp.c err = EPROTO; err 363 net/ipv4/udp.c err = EMSGSIZE; err 369 net/ipv4/udp.c err = EHOSTUNREACH; err 372 net/ipv4/udp.c err = icmp_err_convert[code].errno; err 385 net/ipv4/udp.c ip_icmp_error(sk, skb, err, uh->dest, info, (u8*)(uh+1)); err 387 net/ipv4/udp.c sk->sk_err = err; err 464 net/ipv4/udp.c int err = 0; err 504 net/ipv4/udp.c err = ip_push_pending_frames(sk); err 508 net/ipv4/udp.c if (!err) err 511 net/ipv4/udp.c return err; err 527 net/ipv4/udp.c int err, is_udplite = IS_UDPLITE(sk); err 590 net/ipv4/udp.c err = ip_cmsg_send(sock_net(sk), msg, &ipc); err 591 net/ipv4/udp.c if (err) err 592 net/ipv4/udp.c return err; err 641 net/ipv4/udp.c err = ip_route_output_flow(net, &rt, &fl, sk, 1); err 642 net/ipv4/udp.c if (err) { err 643 net/ipv4/udp.c if (err == -ENETUNREACH) err 648 net/ipv4/udp.c err = -EACCES; err 671 net/ipv4/udp.c err = -EINVAL; err 686 net/ipv4/udp.c err = ip_append_data(sk, getfrag, msg->msg_iov, ulen, err 689 net/ipv4/udp.c if (err) err 692 net/ipv4/udp.c err = udp_push_pending_frames(sk); err 701 net/ipv4/udp.c if (!err) err 710 net/ipv4/udp.c if (err == -ENOBUFS || test_bit(SOCK_NOSPACE, &sk->sk_socket->flags)) { err 714 net/ipv4/udp.c return err; err 720 net/ipv4/udp.c err = 0; err 825 net/ipv4/udp.c int err; err 839 net/ipv4/udp.c &peeked, &err); err 862 net/ipv4/udp.c err = skb_copy_datagram_iovec(skb, sizeof(struct udphdr), err 865 net/ipv4/udp.c err = skb_copy_and_csum_datagram_iovec(skb, sizeof(struct udphdr), msg->msg_iov); err 867 net/ipv4/udp.c if (err == -EINVAL) err 871 net/ipv4/udp.c if (err) err 891 net/ipv4/udp.c err = copied; err 893 net/ipv4/udp.c err = ulen; err 900 net/ipv4/udp.c return err; err 1118 net/ipv4/udp.c int err; err 1124 net/ipv4/udp.c err = udplite_checksum_init(skb, uh); err 1125 net/ipv4/udp.c if (err) err 1126 net/ipv4/udp.c return err; err 1268 net/ipv4/udp.c int err = 0; err 1300 net/ipv4/udp.c err = -ENOPROTOOPT; err 1336 net/ipv4/udp.c err = -ENOPROTOOPT; err 1340 net/ipv4/udp.c return err; err 1579 net/ipv4/udp.c int err; err 1581 net/ipv4/udp.c err = seq_open_net(inode, file, &afinfo->seq_ops, err 1583 net/ipv4/udp.c if (err < 0) err 1584 net/ipv4/udp.c return err; err 1589 net/ipv4/udp.c return err; err 88 net/ipv4/xfrm4_mode_beet.c int err = -EINVAL; err 128 net/ipv4/xfrm4_mode_beet.c err = 0; err 130 net/ipv4/xfrm4_mode_beet.c return err; err 150 net/ipv4/xfrm4_mode_beet.c int err; err 152 net/ipv4/xfrm4_mode_beet.c err = xfrm_unregister_mode(&xfrm4_beet_mode, AF_INET); err 153 net/ipv4/xfrm4_mode_beet.c BUG_ON(err); err 71 net/ipv4/xfrm4_mode_transport.c int err; err 73 net/ipv4/xfrm4_mode_transport.c err = xfrm_unregister_mode(&xfrm4_transport_mode, AF_INET); err 74 net/ipv4/xfrm4_mode_transport.c BUG_ON(err); err 69 net/ipv4/xfrm4_mode_tunnel.c int err = -EINVAL; err 78 net/ipv4/xfrm4_mode_tunnel.c (err = pskb_expand_head(skb, 0, 0, GFP_ATOMIC))) err 90 net/ipv4/xfrm4_mode_tunnel.c err = 0; err 93 net/ipv4/xfrm4_mode_tunnel.c return err; err 113 net/ipv4/xfrm4_mode_tunnel.c int err; err 115 net/ipv4/xfrm4_mode_tunnel.c err = xfrm_unregister_mode(&xfrm4_tunnel_mode, AF_INET); err 116 net/ipv4/xfrm4_mode_tunnel.c BUG_ON(err); err 44 net/ipv4/xfrm4_output.c int err; err 46 net/ipv4/xfrm4_output.c err = xfrm4_tunnel_check_size(skb); err 47 net/ipv4/xfrm4_output.c if (err) err 48 net/ipv4/xfrm4_output.c return err; err 57 net/ipv4/xfrm4_output.c int err; err 59 net/ipv4/xfrm4_output.c err = xfrm_inner_extract_output(x, skb); err 60 net/ipv4/xfrm4_output.c if (err) err 61 net/ipv4/xfrm4_output.c return err; err 34 net/ipv4/xfrm4_policy.c int err; err 39 net/ipv4/xfrm4_policy.c err = __ip_route_output_key(&init_net, &rt, &fl); err 41 net/ipv4/xfrm4_policy.c if (err) err 42 net/ipv4/xfrm4_policy.c dst = ERR_PTR(err); err 591 net/ipv6/addrconf.c int err = 0; err 602 net/ipv6/addrconf.c err = -ENODEV; /*XXX*/ err 611 net/ipv6/addrconf.c err = -EEXIST; err 619 net/ipv6/addrconf.c err = -ENOBUFS; err 625 net/ipv6/addrconf.c err = PTR_ERR(rt); err 681 net/ipv6/addrconf.c if (likely(err == 0)) err 685 net/ipv6/addrconf.c ifa = ERR_PTR(err); err 1247 net/ipv6/addrconf.c int err = -EADDRNOTAVAIL; err 1257 net/ipv6/addrconf.c err = 0; err 1264 net/ipv6/addrconf.c return err; err 1585 net/ipv6/addrconf.c int err = -1; err 1592 net/ipv6/addrconf.c err = 0; err 1597 net/ipv6/addrconf.c return err; err 2018 net/ipv6/addrconf.c int err = -EINVAL; err 2022 net/ipv6/addrconf.c err = -EFAULT; err 2028 net/ipv6/addrconf.c err = -ENODEV; err 2038 net/ipv6/addrconf.c err = -EADDRNOTAVAIL; err 2052 net/ipv6/addrconf.c err = dev->do_ioctl(dev, &ifr, SIOCADDTUNNEL); err 2055 net/ipv6/addrconf.c if (err == 0) { err 2056 net/ipv6/addrconf.c err = -ENOBUFS; err 2060 net/ipv6/addrconf.c err = dev_open(dev); err 2067 net/ipv6/addrconf.c return err; err 2188 net/ipv6/addrconf.c int err; err 2197 net/ipv6/addrconf.c err = inet6_addr_add(net, ireq.ifr6_ifindex, &ireq.ifr6_addr, err 2201 net/ipv6/addrconf.c return err; err 2207 net/ipv6/addrconf.c int err; err 2216 net/ipv6/addrconf.c err = inet6_addr_del(net, ireq.ifr6_ifindex, &ireq.ifr6_addr, err 2219 net/ipv6/addrconf.c return err; err 2458 net/ipv6/addrconf.c int err; err 2577 net/ipv6/addrconf.c err = snmp6_register_dev(idev); err 2578 net/ipv6/addrconf.c if (err) err 2579 net/ipv6/addrconf.c return notifier_from_errno(err); err 3211 net/ipv6/addrconf.c int err; err 3213 net/ipv6/addrconf.c err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_ipv6_policy); err 3214 net/ipv6/addrconf.c if (err < 0) err 3215 net/ipv6/addrconf.c return err; err 3281 net/ipv6/addrconf.c int err; err 3283 net/ipv6/addrconf.c err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_ipv6_policy); err 3284 net/ipv6/addrconf.c if (err < 0) err 3285 net/ipv6/addrconf.c return err; err 3323 net/ipv6/addrconf.c err = -EEXIST; err 3325 net/ipv6/addrconf.c err = inet6_addr_modify(ifa, ifa_flags, preferred_lft, valid_lft); err 3329 net/ipv6/addrconf.c return err; err 3477 net/ipv6/addrconf.c int err = 1; err 3505 net/ipv6/addrconf.c err = inet6_fill_ifaddr(skb, ifa, err 3518 net/ipv6/addrconf.c err = inet6_fill_ifmcaddr(skb, ifmca, err 3531 net/ipv6/addrconf.c err = inet6_fill_ifacaddr(skb, ifaca, err 3544 net/ipv6/addrconf.c if (err <= 0) err 3586 net/ipv6/addrconf.c int err; err 3588 net/ipv6/addrconf.c err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_ipv6_policy); err 3589 net/ipv6/addrconf.c if (err < 0) err 3594 net/ipv6/addrconf.c err = -EINVAL; err 3603 net/ipv6/addrconf.c err = -EADDRNOTAVAIL; err 3608 net/ipv6/addrconf.c err = -ENOBUFS; err 3612 net/ipv6/addrconf.c err = inet6_fill_ifaddr(skb, ifa, NETLINK_CB(in_skb).pid, err 3614 net/ipv6/addrconf.c if (err < 0) { err 3616 net/ipv6/addrconf.c WARN_ON(err == -EMSGSIZE); err 3620 net/ipv6/addrconf.c err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).pid); err 3624 net/ipv6/addrconf.c return err; err 3631 net/ipv6/addrconf.c int err = -ENOBUFS; err 3637 net/ipv6/addrconf.c err = inet6_fill_ifaddr(skb, ifa, 0, 0, event, 0); err 3638 net/ipv6/addrconf.c if (err < 0) { err 3640 net/ipv6/addrconf.c WARN_ON(err == -EMSGSIZE); err 3644 net/ipv6/addrconf.c err = rtnl_notify(skb, net, 0, RTNLGRP_IPV6_IFADDR, NULL, GFP_ATOMIC); err 3646 net/ipv6/addrconf.c if (err < 0) err 3647 net/ipv6/addrconf.c rtnl_set_sk_err(net, RTNLGRP_IPV6_IFADDR, err); err 3812 net/ipv6/addrconf.c int idx, err; err 3824 net/ipv6/addrconf.c err = inet6_fill_ifinfo(skb, idev, NETLINK_CB(cb->skb).pid, err 3827 net/ipv6/addrconf.c if (err <= 0) err 3842 net/ipv6/addrconf.c int err = -ENOBUFS; err 3848 net/ipv6/addrconf.c err = inet6_fill_ifinfo(skb, idev, 0, 0, event, 0); err 3849 net/ipv6/addrconf.c if (err < 0) { err 3851 net/ipv6/addrconf.c WARN_ON(err == -EMSGSIZE); err 3855 net/ipv6/addrconf.c err = rtnl_notify(skb, net, 0, RTNLGRP_IPV6_IFADDR, NULL, GFP_ATOMIC); err 3857 net/ipv6/addrconf.c if (err < 0) err 3858 net/ipv6/addrconf.c rtnl_set_sk_err(net, RTNLGRP_IPV6_IFADDR, err); err 3912 net/ipv6/addrconf.c int err = -ENOBUFS; err 3918 net/ipv6/addrconf.c err = inet6_fill_prefix(skb, idev, pinfo, 0, 0, event, 0); err 3919 net/ipv6/addrconf.c if (err < 0) { err 3921 net/ipv6/addrconf.c WARN_ON(err == -EMSGSIZE); err 3925 net/ipv6/addrconf.c err = rtnl_notify(skb, net, 0, RTNLGRP_IPV6_PREFIX, NULL, GFP_ATOMIC); err 3927 net/ipv6/addrconf.c if (err < 0) err 3928 net/ipv6/addrconf.c rtnl_set_sk_err(net, RTNLGRP_IPV6_PREFIX, err); err 4364 net/ipv6/addrconf.c int err; err 4367 net/ipv6/addrconf.c err = -ENOMEM; err 4385 net/ipv6/addrconf.c err = __addrconf_sysctl_register(net, "all", NET_PROTO_CONF_ALL, err 4387 net/ipv6/addrconf.c if (err < 0) err 4390 net/ipv6/addrconf.c err = __addrconf_sysctl_register(net, "default", NET_PROTO_CONF_DEFAULT, err 4392 net/ipv6/addrconf.c if (err < 0) err 4406 net/ipv6/addrconf.c return err; err 4469 net/ipv6/addrconf.c int err; err 4471 net/ipv6/addrconf.c if ((err = ipv6_addr_label_init()) < 0) { err 4473 net/ipv6/addrconf.c err); err 4474 net/ipv6/addrconf.c return err; err 4499 net/ipv6/addrconf.c err = -ENOMEM; err 4501 net/ipv6/addrconf.c if (err) err 4504 net/ipv6/addrconf.c err = register_pernet_device(&addrconf_net_ops); err 4505 net/ipv6/addrconf.c if (err) err 4506 net/ipv6/addrconf.c return err; err 4512 net/ipv6/addrconf.c err = __rtnl_register(PF_INET6, RTM_GETLINK, NULL, inet6_dump_ifinfo); err 4513 net/ipv6/addrconf.c if (err < 0) err 4531 net/ipv6/addrconf.c return err; err 365 net/ipv6/addrlabel.c int err = 0; err 377 net/ipv6/addrlabel.c if (ret && (!err || err != -ENOMEM)) err 378 net/ipv6/addrlabel.c err = ret; err 380 net/ipv6/addrlabel.c return err; err 424 net/ipv6/addrlabel.c int err = 0; err 426 net/ipv6/addrlabel.c err = nlmsg_parse(nlh, sizeof(*ifal), tb, IFAL_MAX, ifal_policy); err 427 net/ipv6/addrlabel.c if (err < 0) err 428 net/ipv6/addrlabel.c return err; err 455 net/ipv6/addrlabel.c err = ip6addrlbl_add(net, pfx, ifal->ifal_prefixlen, err 460 net/ipv6/addrlabel.c err = ip6addrlbl_del(net, pfx, ifal->ifal_prefixlen, err 464 net/ipv6/addrlabel.c err = -EOPNOTSUPP; err 466 net/ipv6/addrlabel.c return err; err 508 net/ipv6/addrlabel.c int err; err 514 net/ipv6/addrlabel.c if ((err = ip6addrlbl_fill(skb, p, err 545 net/ipv6/addrlabel.c int err = 0; err 549 net/ipv6/addrlabel.c err = nlmsg_parse(nlh, sizeof(*ifal), tb, IFAL_MAX, ifal_policy); err 550 net/ipv6/addrlabel.c if (err < 0) err 551 net/ipv6/addrlabel.c return err; err 578 net/ipv6/addrlabel.c err = -ESRCH; err 587 net/ipv6/addrlabel.c err = ip6addrlbl_fill(skb, p, lseq, err 593 net/ipv6/addrlabel.c if (err < 0) { err 594 net/ipv6/addrlabel.c WARN_ON(err == -EMSGSIZE); err 599 net/ipv6/addrlabel.c err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).pid); err 601 net/ipv6/addrlabel.c return err; err 92 net/ipv6/af_inet6.c int err; err 101 net/ipv6/af_inet6.c err = -ESOCKTNOSUPPORT; err 105 net/ipv6/af_inet6.c err = 0; err 119 net/ipv6/af_inet6.c err = -EPROTONOSUPPORT; err 122 net/ipv6/af_inet6.c if (err) { err 144 net/ipv6/af_inet6.c err = -EPERM; err 156 net/ipv6/af_inet6.c err = -ENOBUFS; err 163 net/ipv6/af_inet6.c err = 0; err 224 net/ipv6/af_inet6.c err = sk->sk_prot->init(sk); err 225 net/ipv6/af_inet6.c if (err) { err 231 net/ipv6/af_inet6.c return err; err 249 net/ipv6/af_inet6.c int err = 0; err 269 net/ipv6/af_inet6.c err = -EINVAL; err 277 net/ipv6/af_inet6.c err = -EADDRNOTAVAIL; err 295 net/ipv6/af_inet6.c err = -EINVAL; err 300 net/ipv6/af_inet6.c err = -ENODEV; err 314 net/ipv6/af_inet6.c err = -EADDRNOTAVAIL; err 334 net/ipv6/af_inet6.c err = -EADDRINUSE; err 347 net/ipv6/af_inet6.c return err; err 604 net/ipv6/af_inet6.c int err; err 632 net/ipv6/af_inet6.c err = ip6_dst_lookup(sk, &dst, &fl); err 633 net/ipv6/af_inet6.c if (err) { err 635 net/ipv6/af_inet6.c return err; err 640 net/ipv6/af_inet6.c if ((err = xfrm_lookup(&dst, &fl, sk, 0)) < 0) { err 641 net/ipv6/af_inet6.c sk->sk_err_soft = -err; err 642 net/ipv6/af_inet6.c return err; err 714 net/ipv6/af_inet6.c int err = -EINVAL; err 721 net/ipv6/af_inet6.c err = -EPROTONOSUPPORT; err 727 net/ipv6/af_inet6.c err = ops->gso_send_check(skb); err 732 net/ipv6/af_inet6.c return err; err 839 net/ipv6/af_inet6.c int err = 0; err 844 net/ipv6/af_inet6.c err = ipv6_init_mibs(net); err 845 net/ipv6/af_inet6.c if (err) err 846 net/ipv6/af_inet6.c return err; err 848 net/ipv6/af_inet6.c err = udp6_proc_init(net); err 849 net/ipv6/af_inet6.c if (err) err 851 net/ipv6/af_inet6.c err = tcp6_proc_init(net); err 852 net/ipv6/af_inet6.c if (err) err 854 net/ipv6/af_inet6.c err = ac6_proc_init(net); err 855 net/ipv6/af_inet6.c if (err) err 858 net/ipv6/af_inet6.c return err; err 867 net/ipv6/af_inet6.c return err; err 890 net/ipv6/af_inet6.c int err; err 894 net/ipv6/af_inet6.c err = proto_register(&tcpv6_prot, 1); err 895 net/ipv6/af_inet6.c if (err) err 898 net/ipv6/af_inet6.c err = proto_register(&udpv6_prot, 1); err 899 net/ipv6/af_inet6.c if (err) err 902 net/ipv6/af_inet6.c err = proto_register(&udplitev6_prot, 1); err 903 net/ipv6/af_inet6.c if (err) err 906 net/ipv6/af_inet6.c err = proto_register(&rawv6_prot, 1); err 907 net/ipv6/af_inet6.c if (err) err 918 net/ipv6/af_inet6.c err = rawv6_init(); err 919 net/ipv6/af_inet6.c if (err) err 925 net/ipv6/af_inet6.c err = sock_register(&inet6_family_ops); err 926 net/ipv6/af_inet6.c if (err) err 930 net/ipv6/af_inet6.c err = ipv6_static_sysctl_register(); err 931 net/ipv6/af_inet6.c if (err) err 941 net/ipv6/af_inet6.c err = register_pernet_subsys(&inet6_net_ops); err 942 net/ipv6/af_inet6.c if (err) err 944 net/ipv6/af_inet6.c err = icmpv6_init(); err 945 net/ipv6/af_inet6.c if (err) err 947 net/ipv6/af_inet6.c err = ip6_mr_init(); err 948 net/ipv6/af_inet6.c if (err) err 950 net/ipv6/af_inet6.c err = ndisc_init(); err 951 net/ipv6/af_inet6.c if (err) err 953 net/ipv6/af_inet6.c err = igmp6_init(); err 954 net/ipv6/af_inet6.c if (err) err 956 net/ipv6/af_inet6.c err = ipv6_netfilter_init(); err 957 net/ipv6/af_inet6.c if (err) err 961 net/ipv6/af_inet6.c err = -ENOMEM; err 971 net/ipv6/af_inet6.c err = ip6_route_init(); err 972 net/ipv6/af_inet6.c if (err) err 974 net/ipv6/af_inet6.c err = ip6_flowlabel_init(); err 975 net/ipv6/af_inet6.c if (err) err 977 net/ipv6/af_inet6.c err = addrconf_init(); err 978 net/ipv6/af_inet6.c if (err) err 982 net/ipv6/af_inet6.c err = ipv6_exthdrs_init(); err 983 net/ipv6/af_inet6.c if (err) err 986 net/ipv6/af_inet6.c err = ipv6_frag_init(); err 987 net/ipv6/af_inet6.c if (err) err 991 net/ipv6/af_inet6.c err = udpv6_init(); err 992 net/ipv6/af_inet6.c if (err) err 995 net/ipv6/af_inet6.c err = udplitev6_init(); err 996 net/ipv6/af_inet6.c if (err) err 999 net/ipv6/af_inet6.c err = tcpv6_init(); err 1000 net/ipv6/af_inet6.c if (err) err 1003 net/ipv6/af_inet6.c err = ipv6_packet_init(); err 1004 net/ipv6/af_inet6.c if (err) err 1008 net/ipv6/af_inet6.c err = ipv6_sysctl_register(); err 1009 net/ipv6/af_inet6.c if (err) err 1013 net/ipv6/af_inet6.c return err; err 223 net/ipv6/ah6.c int err; err 256 net/ipv6/ah6.c err = -ENOMEM; err 264 net/ipv6/ah6.c err = ipv6_clear_mutable_options(top_iph, err 268 net/ipv6/ah6.c if (err) err 289 net/ipv6/ah6.c err = ah_mac_digest(ahp, skb, ah->auth_data); err 293 net/ipv6/ah6.c if (err) err 308 net/ipv6/ah6.c return err; err 335 net/ipv6/ah6.c int err = -EINVAL; err 380 net/ipv6/ah6.c err = ah_mac_digest(ahp, skb, ah->auth_data); err 381 net/ipv6/ah6.c if (err) err 384 net/ipv6/ah6.c err = -EBADMSG; err 389 net/ipv6/ah6.c if (err) err 404 net/ipv6/ah6.c return err; err 64 net/ipv6/anycast.c int err = 0; err 88 net/ipv6/anycast.c err = -EADDRNOTAVAIL; err 99 net/ipv6/anycast.c err = -ENODEV; err 106 net/ipv6/anycast.c err = -ENODEV; err 108 net/ipv6/anycast.c err = -EADDRNOTAVAIL; err 124 net/ipv6/anycast.c err = -EADDRNOTAVAIL; err 125 net/ipv6/anycast.c if (err) err 129 net/ipv6/anycast.c err = ipv6_dev_ac_inc(dev, addr); err 130 net/ipv6/anycast.c if (err) err 146 net/ipv6/anycast.c return err; err 265 net/ipv6/anycast.c int err; err 274 net/ipv6/anycast.c err = -ENODEV; err 281 net/ipv6/anycast.c err = 0; err 293 net/ipv6/anycast.c err = -ENOMEM; err 300 net/ipv6/anycast.c err = PTR_ERR(rt); err 326 net/ipv6/anycast.c return err; err 45 net/ipv6/datagram.c int err; err 50 net/ipv6/datagram.c err = ip4_datagram_connect(sk, uaddr, addr_len); err 86 net/ipv6/datagram.c err = -ENETUNREACH; err 93 net/ipv6/datagram.c err = ip4_datagram_connect(sk, err 98 net/ipv6/datagram.c if (err) err 120 net/ipv6/datagram.c err = -EINVAL; err 131 net/ipv6/datagram.c err = -EINVAL; err 172 net/ipv6/datagram.c err = ip6_dst_lookup(sk, &dst, &fl); err 173 net/ipv6/datagram.c if (err) err 178 net/ipv6/datagram.c if ((err = __xfrm_lookup(&dst, &fl, sk, XFRM_LOOKUP_WAIT)) < 0) { err 179 net/ipv6/datagram.c if (err == -EREMOTE) err 180 net/ipv6/datagram.c err = ip6_dst_blackhole(sk, &dst, &fl); err 181 net/ipv6/datagram.c if (err < 0) err 207 net/ipv6/datagram.c return err; err 225 net/ipv6/datagram.c serr->ee.ee_errno = err; err 263 net/ipv6/datagram.c serr->ee.ee_errno = err; err 293 net/ipv6/datagram.c int err; err 296 net/ipv6/datagram.c err = -EAGAIN; err 306 net/ipv6/datagram.c err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); err 307 net/ipv6/datagram.c if (err) err 365 net/ipv6/datagram.c err = copied; err 381 net/ipv6/datagram.c return err; err 507 net/ipv6/datagram.c int err = 0; err 513 net/ipv6/datagram.c err = -EINVAL; err 527 net/ipv6/datagram.c err = -EINVAL; err 552 net/ipv6/datagram.c err = -EINVAL; err 560 net/ipv6/datagram.c if (err) err 568 net/ipv6/datagram.c err = -EINVAL; err 574 net/ipv6/datagram.c err = -EINVAL; err 584 net/ipv6/datagram.c err = -EINVAL; err 591 net/ipv6/datagram.c err = -EINVAL; err 595 net/ipv6/datagram.c err = -EPERM; err 604 net/ipv6/datagram.c err = -EINVAL; err 611 net/ipv6/datagram.c err = -EINVAL; err 615 net/ipv6/datagram.c err = -EPERM; err 619 net/ipv6/datagram.c err = -EINVAL; err 629 net/ipv6/datagram.c err = -EINVAL; err 636 net/ipv6/datagram.c err = -EINVAL; err 640 net/ipv6/datagram.c err = -EPERM; err 655 net/ipv6/datagram.c err = -EINVAL; err 667 net/ipv6/datagram.c err = -EINVAL; err 674 net/ipv6/datagram.c err = -EINVAL; err 680 net/ipv6/datagram.c err = -EINVAL; err 701 net/ipv6/datagram.c err = -EINVAL; err 707 net/ipv6/datagram.c err = -EINVAL; err 717 net/ipv6/datagram.c err = -EINVAL; err 726 net/ipv6/datagram.c err = 0; err 734 net/ipv6/datagram.c err = -EINVAL; err 740 net/ipv6/datagram.c return err; err 127 net/ipv6/esp6.c xfrm_output_resume(skb, err); err 132 net/ipv6/esp6.c int err; err 149 net/ipv6/esp6.c err = -ENOMEM; err 162 net/ipv6/esp6.c if ((err = skb_cow_data(skb, clen - skb->len + alen, &trailer)) < 0) err 164 net/ipv6/esp6.c nfrags = err; err 206 net/ipv6/esp6.c err = crypto_aead_givencrypt(req); err 207 net/ipv6/esp6.c if (err == -EINPROGRESS) err 210 net/ipv6/esp6.c if (err == -EBUSY) err 211 net/ipv6/esp6.c err = NET_XMIT_DROP; err 216 net/ipv6/esp6.c return err; err 233 net/ipv6/esp6.c if (unlikely(err)) err 239 net/ipv6/esp6.c err = -EINVAL; err 253 net/ipv6/esp6.c err = nexthdr[1]; err 256 net/ipv6/esp6.c if (err == IPPROTO_NONE) err 257 net/ipv6/esp6.c err = -EINVAL; err 260 net/ipv6/esp6.c return err; err 267 net/ipv6/esp6.c xfrm_input_resume(skb, esp_input_done2(skb, err)); err 390 net/ipv6/esp6.c int err; err 393 net/ipv6/esp6.c err = PTR_ERR(aead); err 399 net/ipv6/esp6.c err = crypto_aead_setkey(aead, x->aead->alg_key, err 401 net/ipv6/esp6.c if (err) err 404 net/ipv6/esp6.c err = crypto_aead_setauthsize(aead, x->aead->alg_icv_len / 8); err 405 net/ipv6/esp6.c if (err) err 409 net/ipv6/esp6.c return err; err 422 net/ipv6/esp6.c int err; err 424 net/ipv6/esp6.c err = -EINVAL; err 428 net/ipv6/esp6.c err = -ENAMETOOLONG; err 435 net/ipv6/esp6.c err = PTR_ERR(aead); err 443 net/ipv6/esp6.c err = -ENOMEM; err 464 net/ipv6/esp6.c err = -EINVAL; err 474 net/ipv6/esp6.c err = crypto_aead_setauthsize( err 476 net/ipv6/esp6.c if (err) err 483 net/ipv6/esp6.c err = crypto_aead_setkey(aead, key, keylen); err 489 net/ipv6/esp6.c return err; err 497 net/ipv6/esp6.c int err; err 509 net/ipv6/esp6.c err = esp_init_aead(x); err 511 net/ipv6/esp6.c err = esp_init_authenc(x); err 513 net/ipv6/esp6.c if (err) err 543 net/ipv6/esp6.c return err; err 788 net/ipv6/exthdrs.c int err; err 817 net/ipv6/exthdrs.c err = ipv6_renew_option(opt ? opt->hopopt : NULL, newopt, newoptlen, err 820 net/ipv6/exthdrs.c if (err) err 823 net/ipv6/exthdrs.c err = ipv6_renew_option(opt ? opt->dst0opt : NULL, newopt, newoptlen, err 826 net/ipv6/exthdrs.c if (err) err 829 net/ipv6/exthdrs.c err = ipv6_renew_option(opt ? opt->srcrt : NULL, newopt, newoptlen, err 832 net/ipv6/exthdrs.c if (err) err 835 net/ipv6/exthdrs.c err = ipv6_renew_option(opt ? opt->dst1opt : NULL, newopt, newoptlen, err 838 net/ipv6/exthdrs.c if (err) err 849 net/ipv6/exthdrs.c return ERR_PTR(err); err 157 net/ipv6/fib6_rules.c int err = -EINVAL; err 166 net/ipv6/fib6_rules.c err = -ENOBUFS; err 183 net/ipv6/fib6_rules.c err = 0; err 185 net/ipv6/fib6_rules.c return err; err 267 net/ipv6/fib6_rules.c int err = -ENOMEM; err 278 net/ipv6/fib6_rules.c err = fib_default_rule_add(net->ipv6.fib6_rules_ops, 0, err 280 net/ipv6/fib6_rules.c if (err) err 283 net/ipv6/fib6_rules.c err = fib_default_rule_add(net->ipv6.fib6_rules_ops, err 285 net/ipv6/fib6_rules.c if (err) err 288 net/ipv6/fib6_rules.c err = fib_rules_register(net->ipv6.fib6_rules_ops); err 289 net/ipv6/fib6_rules.c if (err) err 292 net/ipv6/fib6_rules.c return err; err 226 net/ipv6/icmp.c int err = 0; err 258 net/ipv6/icmp.c return err; err 327 net/ipv6/icmp.c int err = 0; err 414 net/ipv6/icmp.c err = ip6_dst_lookup(sk, &dst, &fl); err 415 net/ipv6/icmp.c if (err) err 430 net/ipv6/icmp.c err = xfrm_lookup(&dst, &fl, sk, 0); err 431 net/ipv6/icmp.c switch (err) { err 449 net/ipv6/icmp.c err = xfrm_lookup(&dst2, &fl, sk, XFRM_LOOKUP_ICMP); err 450 net/ipv6/icmp.c switch (err) { err 489 net/ipv6/icmp.c err = ip6_append_data(sk, icmpv6_getfrag, &msg, err 494 net/ipv6/icmp.c if (err) { err 498 net/ipv6/icmp.c err = icmpv6_push_pending_frames(sk, &fl, &tmp_hdr, len + sizeof(struct icmp6hdr)); err 523 net/ipv6/icmp.c int err = 0; err 552 net/ipv6/icmp.c err = ip6_dst_lookup(sk, &dst, &fl); err 553 net/ipv6/icmp.c if (err) err 555 net/ipv6/icmp.c if ((err = xfrm_lookup(&dst, &fl, sk, 0)) < 0) err 575 net/ipv6/icmp.c err = ip6_append_data(sk, icmpv6_getfrag, &msg, skb->len + sizeof(struct icmp6hdr), err 579 net/ipv6/icmp.c if (err) { err 583 net/ipv6/icmp.c err = icmpv6_push_pending_frames(sk, &fl, &tmp_hdr, skb->len + sizeof(struct icmp6hdr)); err 805 net/ipv6/icmp.c int err, i, j; err 813 net/ipv6/icmp.c err = inet_ctl_sock_create(&sk, PF_INET6, err 815 net/ipv6/icmp.c if (err < 0) { err 819 net/ipv6/icmp.c err); err 846 net/ipv6/icmp.c return err; err 866 net/ipv6/icmp.c int err; err 868 net/ipv6/icmp.c err = register_pernet_subsys(&icmpv6_sk_ops); err 869 net/ipv6/icmp.c if (err < 0) err 870 net/ipv6/icmp.c return err; err 872 net/ipv6/icmp.c err = -EAGAIN; err 880 net/ipv6/icmp.c return err; err 891 net/ipv6/icmp.c int err; err 895 net/ipv6/icmp.c .err = ENETUNREACH, err 899 net/ipv6/icmp.c .err = EACCES, err 903 net/ipv6/icmp.c .err = EHOSTUNREACH, err 907 net/ipv6/icmp.c .err = EHOSTUNREACH, err 911 net/ipv6/icmp.c .err = ECONNREFUSED, err 920 net/ipv6/icmp.c *err = EPROTO; err 926 net/ipv6/icmp.c *err = tab_unreach[code].err; err 932 net/ipv6/icmp.c *err = EMSGSIZE; err 936 net/ipv6/icmp.c *err = EPROTO; err 941 net/ipv6/icmp.c *err = EHOSTUNREACH; err 211 net/ipv6/inet6_connection_sock.c int err = ip6_dst_lookup(sk, &dst, &fl); err 213 net/ipv6/inet6_connection_sock.c if (err) { err 214 net/ipv6/inet6_connection_sock.c sk->sk_err_soft = -err; err 216 net/ipv6/inet6_connection_sock.c return err; err 222 net/ipv6/inet6_connection_sock.c if ((err = xfrm_lookup(&dst, &fl, sk, 0)) < 0) { err 225 net/ipv6/inet6_connection_sock.c return err; err 687 net/ipv6/ip6_fib.c int err = -ENOMEM; err 759 net/ipv6/ip6_fib.c err = fib6_add_rt2node(fn, rt, info); err 761 net/ipv6/ip6_fib.c if (err == 0) { err 768 net/ipv6/ip6_fib.c if (err) { err 791 net/ipv6/ip6_fib.c return err; err 801 net/ipv6/ip6_fib.c return err; err 1258 net/ipv6/ip6_fib.c int err = w->func(w); err 1259 net/ipv6/ip6_fib.c if (err) err 1260 net/ipv6/ip6_fib.c return err; err 329 net/ipv6/ip6_flowlabel.c int err; err 331 net/ipv6/ip6_flowlabel.c err = -ENOMEM; err 342 net/ipv6/ip6_flowlabel.c err = -ENOMEM; err 349 net/ipv6/ip6_flowlabel.c err = -EFAULT; err 357 net/ipv6/ip6_flowlabel.c err = datagram_send_ctl(net, &msg, &flowi, fl->opt, &junk, &junk); err 358 net/ipv6/ip6_flowlabel.c if (err) err 360 net/ipv6/ip6_flowlabel.c err = -EINVAL; err 371 net/ipv6/ip6_flowlabel.c err = fl6_renew(fl, freq->flr_linger, freq->flr_expires); err 372 net/ipv6/ip6_flowlabel.c if (err) err 378 net/ipv6/ip6_flowlabel.c err = -EINVAL; err 394 net/ipv6/ip6_flowlabel.c err = -EINVAL; err 401 net/ipv6/ip6_flowlabel.c *err_p = err; err 467 net/ipv6/ip6_flowlabel.c int err; err 503 net/ipv6/ip6_flowlabel.c err = fl6_renew(sfl->fl, freq.flr_linger, freq.flr_expires); err 505 net/ipv6/ip6_flowlabel.c return err; err 513 net/ipv6/ip6_flowlabel.c err = fl6_renew(fl, freq.flr_linger, freq.flr_expires); err 515 net/ipv6/ip6_flowlabel.c return err; err 524 net/ipv6/ip6_flowlabel.c fl = fl_create(net, &freq, optval, optlen, &err); err 526 net/ipv6/ip6_flowlabel.c return err; err 530 net/ipv6/ip6_flowlabel.c err = -EEXIST; err 549 net/ipv6/ip6_flowlabel.c err = -EEXIST; err 552 net/ipv6/ip6_flowlabel.c err = -EPERM; err 558 net/ipv6/ip6_flowlabel.c err = -EINVAL; err 563 net/ipv6/ip6_flowlabel.c err = -ENOMEM; err 579 net/ipv6/ip6_flowlabel.c err = -ENOENT; err 583 net/ipv6/ip6_flowlabel.c err = -ENOMEM; err 584 net/ipv6/ip6_flowlabel.c if (sfl1 == NULL || (err = mem_check(sk)) != 0) err 608 net/ipv6/ip6_flowlabel.c return err; err 98 net/ipv6/ip6_input.c goto err; err 103 net/ipv6/ip6_input.c goto err; err 112 net/ipv6/ip6_input.c goto err; err 145 net/ipv6/ip6_input.c err: err 87 net/ipv6/ip6_output.c int err; err 89 net/ipv6/ip6_output.c err = __ip6_local_out(skb); err 90 net/ipv6/ip6_output.c if (likely(err == 1)) err 91 net/ipv6/ip6_output.c err = dst_output(skb); err 93 net/ipv6/ip6_output.c return err; err 631 net/ipv6/ip6_output.c int ptr, offset = 0, err=0; err 688 net/ipv6/ip6_output.c err = 0; err 747 net/ipv6/ip6_output.c err = output(skb); err 748 net/ipv6/ip6_output.c if(!err) err 752 net/ipv6/ip6_output.c if (err || !frag) err 762 net/ipv6/ip6_output.c if (err == 0) { err 778 net/ipv6/ip6_output.c return err; err 812 net/ipv6/ip6_output.c err = -ENOMEM; err 870 net/ipv6/ip6_output.c err = output(frag); err 871 net/ipv6/ip6_output.c if (err) err 880 net/ipv6/ip6_output.c return err; err 886 net/ipv6/ip6_output.c return err; err 940 net/ipv6/ip6_output.c int err; err 946 net/ipv6/ip6_output.c if ((err = (*dst)->error)) err 950 net/ipv6/ip6_output.c err = ipv6_dev_get_saddr(net, ip6_dst_idev(*dst)->dev, err 954 net/ipv6/ip6_output.c if (err) err 988 net/ipv6/ip6_output.c if ((err = (*dst)->error)) err 997 net/ipv6/ip6_output.c if (err == -ENETUNREACH) err 1001 net/ipv6/ip6_output.c return err; err 1054 net/ipv6/ip6_output.c int err; err 1063 net/ipv6/ip6_output.c (flags & MSG_DONTWAIT), &err); err 1084 net/ipv6/ip6_output.c err = skb_append_datato_frags(sk,skb, getfrag, from, err 1086 net/ipv6/ip6_output.c if (!err) { err 1104 net/ipv6/ip6_output.c return err; err 1121 net/ipv6/ip6_output.c int err; err 1209 net/ipv6/ip6_output.c err = ip6_ufo_append_data(sk, getfrag, from, length, hh_len, err 1212 net/ipv6/ip6_output.c if (err) err 1275 net/ipv6/ip6_output.c (flags & MSG_DONTWAIT), &err); err 1284 net/ipv6/ip6_output.c err = -ENOBUFS; err 1315 net/ipv6/ip6_output.c err = -EINVAL; err 1319 net/ipv6/ip6_output.c err = -EFAULT; err 1347 net/ipv6/ip6_output.c err = -EFAULT; err 1362 net/ipv6/ip6_output.c err = -EMSGSIZE; err 1374 net/ipv6/ip6_output.c err = -ENOMEM; err 1383 net/ipv6/ip6_output.c err = -EMSGSIZE; err 1387 net/ipv6/ip6_output.c err = -EFAULT; err 1404 net/ipv6/ip6_output.c return err; err 1433 net/ipv6/ip6_output.c int err = 0; err 1489 net/ipv6/ip6_output.c err = ip6_local_out(skb); err 1490 net/ipv6/ip6_output.c if (err) { err 1491 net/ipv6/ip6_output.c if (err > 0) err 1492 net/ipv6/ip6_output.c err = np->recverr ? net_xmit_errno(err) : 0; err 1493 net/ipv6/ip6_output.c if (err) err 1499 net/ipv6/ip6_output.c return err; err 232 net/ipv6/ip6_tunnel.c int err; err 255 net/ipv6/ip6_tunnel.c if ((err = register_netdevice(dev)) < 0) err 406 net/ipv6/ip6_tunnel.c int err = -ENOENT; err 420 net/ipv6/ip6_tunnel.c err = 0; err 486 net/ipv6/ip6_tunnel.c return err; err 497 net/ipv6/ip6_tunnel.c int err; err 503 net/ipv6/ip6_tunnel.c err = ip6_tnl_err(skb, IPPROTO_IPIP, opt, &rel_type, &rel_code, err 505 net/ipv6/ip6_tunnel.c if (err < 0) err 506 net/ipv6/ip6_tunnel.c return err; err 595 net/ipv6/ip6_tunnel.c int err; err 597 net/ipv6/ip6_tunnel.c err = ip6_tnl_err(skb, IPPROTO_IPV6, opt, &rel_type, &rel_code, err 599 net/ipv6/ip6_tunnel.c if (err < 0) err 600 net/ipv6/ip6_tunnel.c return err; err 858 net/ipv6/ip6_tunnel.c int err = -1; err 891 net/ipv6/ip6_tunnel.c err = -EMSGSIZE; err 934 net/ipv6/ip6_tunnel.c err = ip6_local_out(skb); err 936 net/ipv6/ip6_tunnel.c if (net_xmit_eval(err) == 0) { err 950 net/ipv6/ip6_tunnel.c return err; err 962 net/ipv6/ip6_tunnel.c int err; err 980 net/ipv6/ip6_tunnel.c err = ip6_tnl_xmit2(skb, dev, dsfield, &fl, encap_limit, &mtu); err 981 net/ipv6/ip6_tunnel.c if (err != 0) { err 983 net/ipv6/ip6_tunnel.c if (err == -EMSGSIZE) err 1002 net/ipv6/ip6_tunnel.c int err; err 1030 net/ipv6/ip6_tunnel.c err = ip6_tnl_xmit2(skb, dev, dsfield, &fl, encap_limit, &mtu); err 1031 net/ipv6/ip6_tunnel.c if (err != 0) { err 1032 net/ipv6/ip6_tunnel.c if (err == -EMSGSIZE) err 1206 net/ipv6/ip6_tunnel.c int err = 0; err 1216 net/ipv6/ip6_tunnel.c err = -EFAULT; err 1225 net/ipv6/ip6_tunnel.c err = -EFAULT; err 1230 net/ipv6/ip6_tunnel.c err = -EPERM; err 1233 net/ipv6/ip6_tunnel.c err = -EFAULT; err 1236 net/ipv6/ip6_tunnel.c err = -EINVAL; err 1244 net/ipv6/ip6_tunnel.c err = -EEXIST; err 1251 net/ipv6/ip6_tunnel.c err = ip6_tnl_change(t, &p); err 1256 net/ipv6/ip6_tunnel.c err = 0; err 1258 net/ipv6/ip6_tunnel.c err = -EFAULT; err 1261 net/ipv6/ip6_tunnel.c err = (cmd == SIOCADDTUNNEL ? -ENOBUFS : -ENOENT); err 1264 net/ipv6/ip6_tunnel.c err = -EPERM; err 1269 net/ipv6/ip6_tunnel.c err = -EFAULT; err 1272 net/ipv6/ip6_tunnel.c err = -ENOENT; err 1275 net/ipv6/ip6_tunnel.c err = -EPERM; err 1280 net/ipv6/ip6_tunnel.c err = 0; err 1284 net/ipv6/ip6_tunnel.c err = -EINVAL; err 1286 net/ipv6/ip6_tunnel.c return err; err 1410 net/ipv6/ip6_tunnel.c int err; err 1413 net/ipv6/ip6_tunnel.c err = -ENOMEM; err 1418 net/ipv6/ip6_tunnel.c err = net_assign_generic(net, ip6_tnl_net_id, ip6n); err 1419 net/ipv6/ip6_tunnel.c if (err < 0) err 1425 net/ipv6/ip6_tunnel.c err = -ENOMEM; err 1435 net/ipv6/ip6_tunnel.c err = register_netdev(ip6n->fb_tnl_dev); err 1436 net/ipv6/ip6_tunnel.c if (err < 0) err 1447 net/ipv6/ip6_tunnel.c return err; err 1474 net/ipv6/ip6_tunnel.c int err; err 1478 net/ipv6/ip6_tunnel.c err = -EAGAIN; err 1484 net/ipv6/ip6_tunnel.c err = -EAGAIN; err 1488 net/ipv6/ip6_tunnel.c err = register_pernet_gen_device(&ip6_tnl_net_id, &ip6_tnl_net_ops); err 1489 net/ipv6/ip6_tunnel.c if (err < 0) err 1497 net/ipv6/ip6_tunnel.c return err; err 599 net/ipv6/ip6mr.c int err; err 617 net/ipv6/ip6mr.c err = dev_set_allmulti(dev, 1); err 618 net/ipv6/ip6mr.c if (err) { err 621 net/ipv6/ip6mr.c return err; err 629 net/ipv6/ip6mr.c err = dev_set_allmulti(dev, 1); err 630 net/ipv6/ip6mr.c if (err) { err 632 net/ipv6/ip6mr.c return err; err 719 net/ipv6/ip6mr.c int err; err 730 net/ipv6/ip6mr.c err = rtnl_unicast(skb, &init_net, NETLINK_CB(skb).pid); err 840 net/ipv6/ip6mr.c int err; err 873 net/ipv6/ip6mr.c if ((err = ip6mr_cache_report(skb, mifi, MRT6MSG_NOCACHE)) < 0) { err 881 net/ipv6/ip6mr.c return err; err 896 net/ipv6/ip6mr.c err = -ENOBUFS; err 899 net/ipv6/ip6mr.c err = 0; err 903 net/ipv6/ip6mr.c return err; err 962 net/ipv6/ip6mr.c int err; err 972 net/ipv6/ip6mr.c err = register_netdevice_notifier(&ip6_mr_notifier); err 973 net/ipv6/ip6mr.c if (err) err 976 net/ipv6/ip6mr.c err = -ENOMEM; err 992 net/ipv6/ip6mr.c return err; err 1136 net/ipv6/ip6mr.c int err = 0; err 1143 net/ipv6/ip6mr.c err = -EADDRINUSE; err 1148 net/ipv6/ip6mr.c return err; err 1153 net/ipv6/ip6mr.c int err = 0; err 1163 net/ipv6/ip6mr.c err = -EACCES; err 1166 net/ipv6/ip6mr.c return err; err 1557 net/ipv6/ip6mr.c int err = ip6mr_cache_unresolved(vif, skb); err 1560 net/ipv6/ip6mr.c return err; err 1612 net/ipv6/ip6mr.c int err; err 1660 net/ipv6/ip6mr.c err = ip6mr_cache_unresolved(vif, skb2); err 1663 net/ipv6/ip6mr.c return err; err 1669 net/ipv6/ip6mr.c err = ip6mr_fill_mroute(skb, cache, rtm); err 1671 net/ipv6/ip6mr.c return err; err 111 net/ipv6/ipcomp6.c int err = 0; err 122 net/ipv6/ipcomp6.c err = -EINVAL; err 132 net/ipv6/ipcomp6.c return err; err 137 net/ipv6/ipcomp6.c int err = -EINVAL; err 150 net/ipv6/ipcomp6.c err = ipcomp_init_state(x); err 151 net/ipv6/ipcomp6.c if (err) err 155 net/ipv6/ipcomp6.c err = ipcomp6_tunnel_attach(x); err 156 net/ipv6/ipcomp6.c if (err) err 160 net/ipv6/ipcomp6.c err = 0; err 162 net/ipv6/ipcomp6.c return err; err 753 net/ipv6/ipv6_sockglue.c int err; err 761 net/ipv6/ipv6_sockglue.c err = do_ipv6_setsockopt(sk, level, optname, optval, optlen); err 764 net/ipv6/ipv6_sockglue.c if (err == -ENOPROTOOPT && optname != IPV6_IPSEC_POLICY && err 767 net/ipv6/ipv6_sockglue.c err = nf_setsockopt(sk, PF_INET6, optname, optval, err 772 net/ipv6/ipv6_sockglue.c return err; err 781 net/ipv6/ipv6_sockglue.c int err; err 797 net/ipv6/ipv6_sockglue.c err = do_ipv6_setsockopt(sk, level, optname, optval, optlen); err 800 net/ipv6/ipv6_sockglue.c if (err == -ENOPROTOOPT && optname != IPV6_IPSEC_POLICY && err 803 net/ipv6/ipv6_sockglue.c err = compat_nf_setsockopt(sk, PF_INET6, optname, err 808 net/ipv6/ipv6_sockglue.c return err; err 873 net/ipv6/ipv6_sockglue.c int err; err 882 net/ipv6/ipv6_sockglue.c err = ip6_mc_msfget(sk, &gsf, err 885 net/ipv6/ipv6_sockglue.c return err; err 907 net/ipv6/ipv6_sockglue.c int err = datagram_recv_ctl(sk, &msg, skb); err 909 net/ipv6/ipv6_sockglue.c if (err) err 910 net/ipv6/ipv6_sockglue.c return err; err 1099 net/ipv6/ipv6_sockglue.c int err; err 1107 net/ipv6/ipv6_sockglue.c err = do_ipv6_getsockopt(sk, level, optname, optval, optlen); err 1110 net/ipv6/ipv6_sockglue.c if (err == -ENOPROTOOPT && optname != IPV6_2292PKTOPTIONS) { err 1117 net/ipv6/ipv6_sockglue.c err = nf_getsockopt(sk, PF_INET6, optname, optval, err 1120 net/ipv6/ipv6_sockglue.c if (err >= 0) err 1121 net/ipv6/ipv6_sockglue.c err = put_user(len, optlen); err 1124 net/ipv6/ipv6_sockglue.c return err; err 1133 net/ipv6/ipv6_sockglue.c int err; err 1149 net/ipv6/ipv6_sockglue.c err = do_ipv6_getsockopt(sk, level, optname, optval, optlen); err 1152 net/ipv6/ipv6_sockglue.c if (err == -ENOPROTOOPT && optname != IPV6_2292PKTOPTIONS) { err 1159 net/ipv6/ipv6_sockglue.c err = compat_nf_getsockopt(sk, PF_INET6, err 1162 net/ipv6/ipv6_sockglue.c if (err >= 0) err 1163 net/ipv6/ipv6_sockglue.c err = put_user(len, optlen); err 1166 net/ipv6/ipv6_sockglue.c return err; err 181 net/ipv6/mcast.c int err; err 229 net/ipv6/mcast.c err = ipv6_dev_mc_inc(dev, addr); err 231 net/ipv6/mcast.c if (err) { err 234 net/ipv6/mcast.c return err; err 368 net/ipv6/mcast.c int err; err 381 net/ipv6/mcast.c err = -EADDRNOTAVAIL; err 391 net/ipv6/mcast.c err = -EINVAL; err 397 net/ipv6/mcast.c err = -EINVAL; err 436 net/ipv6/mcast.c err = 0; err 442 net/ipv6/mcast.c err = -ENOBUFS; err 453 net/ipv6/mcast.c err = -ENOBUFS; err 477 net/ipv6/mcast.c err = 0; err 489 net/ipv6/mcast.c return err; err 502 net/ipv6/mcast.c int i, err; err 518 net/ipv6/mcast.c err = 0; err 533 net/ipv6/mcast.c err = -EINVAL; err 540 net/ipv6/mcast.c err = -ENOBUFS; err 550 net/ipv6/mcast.c err = ip6_mc_add_src(idev, group, gsf->gf_fmode, err 552 net/ipv6/mcast.c if (err) { err 572 net/ipv6/mcast.c err = 0; err 579 net/ipv6/mcast.c err = ipv6_sock_mc_drop(sk, gsf->gf_interface, group); err 580 net/ipv6/mcast.c return err; err 586 net/ipv6/mcast.c int err, i, count, copycount; err 607 net/ipv6/mcast.c err = -EADDRNOTAVAIL; err 655 net/ipv6/mcast.c return err; err 964 net/ipv6/mcast.c int err; err 969 net/ipv6/mcast.c err = __ipv6_dev_mc_dec(idev, addr); err 973 net/ipv6/mcast.c return err; err 1401 net/ipv6/mcast.c int err; err 1407 net/ipv6/mcast.c skb = sock_alloc_send_skb(sk, size + LL_ALLOCATED_SPACE(dev), 1, &err); err 1446 net/ipv6/mcast.c int err; err 1461 net/ipv6/mcast.c err = -ENOMEM; err 1469 net/ipv6/mcast.c err = xfrm_lookup(&skb->dst, &fl, NULL, 0); err 1470 net/ipv6/mcast.c if (err) err 1473 net/ipv6/mcast.c err = NF_HOOK(PF_INET6, NF_INET_LOCAL_OUT, skb, NULL, skb->dev, err 1476 net/ipv6/mcast.c if (!err) { err 1767 net/ipv6/mcast.c int err, len, payload_len, full_len; err 1786 net/ipv6/mcast.c skb = sock_alloc_send_skb(sk, LL_ALLOCATED_SPACE(dev) + full_len, 1, &err); err 1826 net/ipv6/mcast.c err = -ENOMEM; err 1834 net/ipv6/mcast.c err = xfrm_lookup(&skb->dst, &fl, NULL, 0); err 1835 net/ipv6/mcast.c if (err) err 1838 net/ipv6/mcast.c err = NF_HOOK(PF_INET6, NF_INET_LOCAL_OUT, skb, NULL, skb->dev, err 1841 net/ipv6/mcast.c if (!err) { err 1900 net/ipv6/mcast.c int i, err; err 1924 net/ipv6/mcast.c err = 0; err 1929 net/ipv6/mcast.c if (!err && rv < 0) err 1930 net/ipv6/mcast.c err = rv; err 1948 net/ipv6/mcast.c return err; err 2065 net/ipv6/mcast.c int i, err; err 2085 net/ipv6/mcast.c err = 0; err 2087 net/ipv6/mcast.c err = ip6_mc_add1_src(pmc, sfmode, &psfsrc[i], delta); err 2088 net/ipv6/mcast.c if (err) err 2091 net/ipv6/mcast.c if (err) { err 2118 net/ipv6/mcast.c return err; err 2167 net/ipv6/mcast.c int err; err 2176 net/ipv6/mcast.c err = ip6_mc_del_src(idev, &iml->addr, iml->sfmode, err 2180 net/ipv6/mcast.c return err; err 2627 net/ipv6/mcast.c int err; err 2629 net/ipv6/mcast.c err = -ENOMEM; err 2636 net/ipv6/mcast.c err = 0; err 2638 net/ipv6/mcast.c return err; err 2663 net/ipv6/mcast.c int err; err 2665 net/ipv6/mcast.c err = inet_ctl_sock_create(&net->ipv6.igmp_sk, PF_INET6, err 2667 net/ipv6/mcast.c if (err < 0) { err 2670 net/ipv6/mcast.c err); err 2676 net/ipv6/mcast.c err = igmp6_proc_init(net); err 2677 net/ipv6/mcast.c if (err) err 2680 net/ipv6/mcast.c return err; err 131 net/ipv6/mip6.c int err = destopt->nexthdr; err 136 net/ipv6/mip6.c err = -ENOENT; err 139 net/ipv6/mip6.c return err; err 213 net/ipv6/mip6.c int err = 0; err 250 net/ipv6/mip6.c err = km_report(IPPROTO_DSTOPTS, &sel, err 254 net/ipv6/mip6.c return err; err 350 net/ipv6/mip6.c int err = rt2->rt_hdr.nexthdr; err 355 net/ipv6/mip6.c err = -ENOENT; err 358 net/ipv6/mip6.c return err; err 458 net/ipv6/ndisc.c int err; err 469 net/ipv6/ndisc.c err = xfrm_lookup(&dst, &fl, NULL, 0); err 470 net/ipv6/ndisc.c if (err < 0) err 483 net/ipv6/ndisc.c 1, &err); err 521 net/ipv6/ndisc.c err = NF_HOOK(PF_INET6, NF_INET_LOCAL_OUT, skb, NULL, dst->dev, err 523 net/ipv6/ndisc.c if (!err) { err 1029 net/ipv6/ndisc.c int err; err 1036 net/ipv6/ndisc.c err = -ENOBUFS; err 1058 net/ipv6/ndisc.c err = rtnl_notify(skb, net, 0, RTNLGRP_ND_USEROPT, NULL, err 1060 net/ipv6/ndisc.c if (err < 0) err 1067 net/ipv6/ndisc.c err = -EMSGSIZE; err 1069 net/ipv6/ndisc.c rtnl_set_sk_err(net, RTNLGRP_ND_USEROPT, err); err 1468 net/ipv6/ndisc.c int err; err 1492 net/ipv6/ndisc.c err = xfrm_lookup(&dst, &fl, NULL, 0); err 1493 net/ipv6/ndisc.c if (err) err 1528 net/ipv6/ndisc.c 1, &err); err 1585 net/ipv6/ndisc.c err = NF_HOOK(PF_INET6, NF_INET_LOCAL_OUT, buff, NULL, dst->dev, err 1587 net/ipv6/ndisc.c if (!err) { err 1779 net/ipv6/ndisc.c int err; err 1781 net/ipv6/ndisc.c err = inet_ctl_sock_create(&sk, PF_INET6, err 1783 net/ipv6/ndisc.c if (err < 0) { err 1786 net/ipv6/ndisc.c err); err 1787 net/ipv6/ndisc.c return err; err 1812 net/ipv6/ndisc.c int err; err 1814 net/ipv6/ndisc.c err = register_pernet_subsys(&ndisc_net_ops); err 1815 net/ipv6/ndisc.c if (err) err 1816 net/ipv6/ndisc.c return err; err 1823 net/ipv6/ndisc.c err = neigh_sysctl_register(NULL, &nd_tbl.parms, NET_IPV6, err 1827 net/ipv6/ndisc.c if (err) err 1830 net/ipv6/ndisc.c err = register_netdevice_notifier(&ndisc_netdev_notifier); err 1831 net/ipv6/ndisc.c if (err) err 1834 net/ipv6/ndisc.c return err; err 409 net/ipv6/netfilter/ip6_queue.c #define RCV_SKB_FAIL(err) do { netlink_ack(skb, nlh, (err)); return; } while (0) err 674 net/ipv6/netfilter/ip6_tables.c goto err; err 677 net/ipv6/netfilter/ip6_tables.c err: err 743 net/ipv6/netfilter/ip6_tables.c goto err; err 747 net/ipv6/netfilter/ip6_tables.c err: err 46 net/ipv6/netfilter/ip6t_ah.c int err; err 48 net/ipv6/netfilter/ip6t_ah.c err = ipv6_find_hdr(skb, &ptr, NEXTHDR_AUTH, NULL); err 49 net/ipv6/netfilter/ip6t_ah.c if (err < 0) { err 50 net/ipv6/netfilter/ip6t_ah.c if (err != -ENOENT) err 44 net/ipv6/netfilter/ip6t_frag.c int err; err 46 net/ipv6/netfilter/ip6t_frag.c err = ipv6_find_hdr(skb, &ptr, NEXTHDR_FRAGMENT, NULL); err 47 net/ipv6/netfilter/ip6t_frag.c if (err < 0) { err 48 net/ipv6/netfilter/ip6t_frag.c if (err != -ENOENT) err 59 net/ipv6/netfilter/ip6t_hbh.c int err; err 61 net/ipv6/netfilter/ip6t_hbh.c err = ipv6_find_hdr(skb, &ptr, par->match->data, NULL); err 62 net/ipv6/netfilter/ip6t_hbh.c if (err < 0) { err 63 net/ipv6/netfilter/ip6t_hbh.c if (err != -ENOENT) err 50 net/ipv6/netfilter/ip6t_rt.c int err; err 52 net/ipv6/netfilter/ip6t_rt.c err = ipv6_find_hdr(skb, &ptr, NEXTHDR_ROUTING, NULL); err 53 net/ipv6/netfilter/ip6t_rt.c if (err < 0) { err 54 net/ipv6/netfilter/ip6t_rt.c if (err != -ENOENT) err 207 net/ipv6/netfilter/nf_conntrack_reasm.c goto err; err 234 net/ipv6/netfilter/nf_conntrack_reasm.c goto err; err 253 net/ipv6/netfilter/nf_conntrack_reasm.c goto err; err 260 net/ipv6/netfilter/nf_conntrack_reasm.c goto err; err 265 net/ipv6/netfilter/nf_conntrack_reasm.c goto err; err 269 net/ipv6/netfilter/nf_conntrack_reasm.c goto err; err 294 net/ipv6/netfilter/nf_conntrack_reasm.c goto err; err 298 net/ipv6/netfilter/nf_conntrack_reasm.c goto err; err 318 net/ipv6/netfilter/nf_conntrack_reasm.c goto err; err 370 net/ipv6/netfilter/nf_conntrack_reasm.c err: err 244 net/ipv6/raw.c int err; err 256 net/ipv6/raw.c err = -EINVAL; err 279 net/ipv6/raw.c err = -ENODEV; err 289 net/ipv6/raw.c err = -EADDRNOTAVAIL; err 305 net/ipv6/raw.c err = 0; err 308 net/ipv6/raw.c return err; err 317 net/ipv6/raw.c int err; err 328 net/ipv6/raw.c harderr = icmpv6_err_convert(type, code, &err); err 336 net/ipv6/raw.c ipv6_icmp_error(sk, skb, err, 0, ntohl(info), payload); err 340 net/ipv6/raw.c sk->sk_err = err; err 454 net/ipv6/raw.c int err; err 465 net/ipv6/raw.c skb = skb_recv_datagram(sk, flags, noblock, &err); err 476 net/ipv6/raw.c err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); err 480 net/ipv6/raw.c err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); err 482 net/ipv6/raw.c err = skb_copy_and_csum_datagram_iovec(skb, 0, msg->msg_iov); err 483 net/ipv6/raw.c if (err == -EINVAL) err 486 net/ipv6/raw.c if (err) err 505 net/ipv6/raw.c err = copied; err 507 net/ipv6/raw.c err = skb->len; err 512 net/ipv6/raw.c return err; err 520 net/ipv6/raw.c err = (flags&MSG_DONTWAIT) ? -EAGAIN : -EHOSTUNREACH; err 529 net/ipv6/raw.c int err = 0; err 546 net/ipv6/raw.c err = -EINVAL; err 598 net/ipv6/raw.c err = ip6_push_pending_frames(sk); err 600 net/ipv6/raw.c return err; err 610 net/ipv6/raw.c int err; err 621 net/ipv6/raw.c flags & MSG_DONTWAIT, &err); err 637 net/ipv6/raw.c err = memcpy_fromiovecend((void *)iph, from, 0, length); err 638 net/ipv6/raw.c if (err) err 642 net/ipv6/raw.c err = NF_HOOK(PF_INET6, NF_INET_LOCAL_OUT, skb, NULL, rt->u.dst.dev, err 644 net/ipv6/raw.c if (err > 0) err 645 net/ipv6/raw.c err = np->recverr ? net_xmit_errno(err) : 0; err 646 net/ipv6/raw.c if (err) err 652 net/ipv6/raw.c err = -EFAULT; err 656 net/ipv6/raw.c return err; err 737 net/ipv6/raw.c int err; err 814 net/ipv6/raw.c err = datagram_send_ctl(sock_net(sk), msg, &fl, opt, &hlimit, &tclass); err 815 net/ipv6/raw.c if (err < 0) { err 817 net/ipv6/raw.c return err; err 834 net/ipv6/raw.c err = rawv6_probe_proto_opt(&fl, msg); err 835 net/ipv6/raw.c if (err) err 857 net/ipv6/raw.c err = ip6_dst_lookup(sk, &dst, &fl); err 858 net/ipv6/raw.c if (err) err 863 net/ipv6/raw.c if ((err = __xfrm_lookup(&dst, &fl, sk, XFRM_LOOKUP_WAIT)) < 0) { err 864 net/ipv6/raw.c if (err == -EREMOTE) err 865 net/ipv6/raw.c err = ip6_dst_blackhole(sk, &dst, &fl); err 866 net/ipv6/raw.c if (err < 0) err 890 net/ipv6/raw.c err = rawv6_send_hdrinc(sk, msg->msg_iov, len, &fl, (struct rt6_info*)dst, msg->msg_flags); err 893 net/ipv6/raw.c err = ip6_append_data(sk, ip_generic_getfrag, msg->msg_iov, err 897 net/ipv6/raw.c if (err) err 900 net/ipv6/raw.c err = rawv6_push_pending_frames(sk, &fl, rp); err 907 net/ipv6/raw.c return err<0?err:len; err 912 net/ipv6/raw.c err = 0; err 273 net/ipv6/reassembly.c goto err; err 302 net/ipv6/reassembly.c goto err; err 322 net/ipv6/reassembly.c goto err; err 328 net/ipv6/reassembly.c goto err; err 332 net/ipv6/reassembly.c goto err; err 335 net/ipv6/reassembly.c goto err; err 358 net/ipv6/reassembly.c goto err; err 360 net/ipv6/reassembly.c goto err; err 377 net/ipv6/reassembly.c goto err; err 436 net/ipv6/reassembly.c err: err 601 net/ipv6/route.c int err; err 606 net/ipv6/route.c err = fib6_add(&table->tb6_root, rt, info); err 609 net/ipv6/route.c return err; err 678 net/ipv6/route.c int err; err 715 net/ipv6/route.c err = ip6_ins_rt(nrt); err 716 net/ipv6/route.c if (!err) err 1089 net/ipv6/route.c int err; err 1104 net/ipv6/route.c err = -ENODEV; err 1118 net/ipv6/route.c err = -ENOBUFS; err 1125 net/ipv6/route.c err = -ENOMEM; err 1174 net/ipv6/route.c err = -ENODEV; err 1203 net/ipv6/route.c err = -EINVAL; err 1209 net/ipv6/route.c err = -EHOSTUNREACH; err 1224 net/ipv6/route.c err = 0; err 1227 net/ipv6/route.c if (err) err 1230 net/ipv6/route.c err = -EINVAL; err 1235 net/ipv6/route.c err = -ENODEV; err 1242 net/ipv6/route.c err = PTR_ERR(rt->rt6i_nexthop); err 1260 net/ipv6/route.c err = -EINVAL; err 1290 net/ipv6/route.c return err; err 1295 net/ipv6/route.c int err; err 1305 net/ipv6/route.c err = fib6_del(rt, info); err 1310 net/ipv6/route.c return err; err 1326 net/ipv6/route.c int err = -ESRCH; err 1330 net/ipv6/route.c return err; err 1357 net/ipv6/route.c return err; err 1796 net/ipv6/route.c int err; err 1803 net/ipv6/route.c err = copy_from_user(&rtmsg, arg, err 1805 net/ipv6/route.c if (err) err 1813 net/ipv6/route.c err = ip6_route_add(&cfg); err 1816 net/ipv6/route.c err = ip6_route_del(&cfg); err 1819 net/ipv6/route.c err = -EINVAL; err 1823 net/ipv6/route.c return err; err 2028 net/ipv6/route.c int err; err 2030 net/ipv6/route.c err = nlmsg_parse(nlh, sizeof(*rtm), tb, RTA_MAX, rtm_ipv6_policy); err 2031 net/ipv6/route.c if (err < 0) err 2034 net/ipv6/route.c err = -EINVAL; err 2088 net/ipv6/route.c err = 0; err 2090 net/ipv6/route.c return err; err 2096 net/ipv6/route.c int err; err 2098 net/ipv6/route.c err = rtm_to_fib6_config(skb, nlh, &cfg); err 2099 net/ipv6/route.c if (err < 0) err 2100 net/ipv6/route.c return err; err 2108 net/ipv6/route.c int err; err 2110 net/ipv6/route.c err = rtm_to_fib6_config(skb, nlh, &cfg); err 2111 net/ipv6/route.c if (err < 0) err 2112 net/ipv6/route.c return err; err 2199 net/ipv6/route.c int err = ip6mr_get_route(skb, rtm, nowait); err 2200 net/ipv6/route.c if (err <= 0) { err 2202 net/ipv6/route.c if (err == 0) err 2206 net/ipv6/route.c if (err == -EMSGSIZE) err 2275 net/ipv6/route.c int err, iif = 0; err 2277 net/ipv6/route.c err = nlmsg_parse(nlh, sizeof(*rtm), tb, RTA_MAX, rtm_ipv6_policy); err 2278 net/ipv6/route.c if (err < 0) err 2281 net/ipv6/route.c err = -EINVAL; err 2308 net/ipv6/route.c err = -ENODEV; err 2315 net/ipv6/route.c err = -ENOBUFS; err 2328 net/ipv6/route.c err = rt6_fill_node(net, skb, rt, &fl.fl6_dst, &fl.fl6_src, iif, err 2331 net/ipv6/route.c if (err < 0) { err 2336 net/ipv6/route.c err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).pid); err 2338 net/ipv6/route.c return err; err 2346 net/ipv6/route.c int err; err 2348 net/ipv6/route.c err = -ENOBUFS; err 2355 net/ipv6/route.c err = rt6_fill_node(net, skb, rt, NULL, NULL, 0, err 2357 net/ipv6/route.c if (err < 0) { err 2359 net/ipv6/route.c WARN_ON(err == -EMSGSIZE); err 2363 net/ipv6/route.c err = rtnl_notify(skb, net, info->pid, RTNLGRP_IPV6_ROUTE, err 2366 net/ipv6/route.c if (err < 0) err 2367 net/ipv6/route.c rtnl_set_sk_err(net, RTNLGRP_IPV6_ROUTE, err); err 290 net/ipv6/sit.c int err = 0; err 301 net/ipv6/sit.c err = -EEXIST; err 307 net/ipv6/sit.c err = -ENXIO; err 313 net/ipv6/sit.c err = -ENOBUFS; err 325 net/ipv6/sit.c return err; err 332 net/ipv6/sit.c int err = 0; err 346 net/ipv6/sit.c err = -ENXIO; err 415 net/ipv6/sit.c int err; err 445 net/ipv6/sit.c err = -ENOENT; err 452 net/ipv6/sit.c err = 0; err 463 net/ipv6/sit.c return err; err 771 net/ipv6/sit.c int err = 0; err 783 net/ipv6/sit.c err = -EFAULT; err 792 net/ipv6/sit.c err = -EFAULT; err 797 net/ipv6/sit.c err = -EPERM; err 801 net/ipv6/sit.c err = -EFAULT; err 805 net/ipv6/sit.c err = -EINVAL; err 817 net/ipv6/sit.c err = -EEXIST; err 823 net/ipv6/sit.c err = -EINVAL; err 838 net/ipv6/sit.c err = 0; err 849 net/ipv6/sit.c err = -EFAULT; err 851 net/ipv6/sit.c err = (cmd == SIOCADDTUNNEL ? -ENOBUFS : -ENOENT); err 855 net/ipv6/sit.c err = -EPERM; err 860 net/ipv6/sit.c err = -EFAULT; err 863 net/ipv6/sit.c err = -ENOENT; err 866 net/ipv6/sit.c err = -EPERM; err 872 net/ipv6/sit.c err = 0; err 876 net/ipv6/sit.c err = -EINVAL; err 879 net/ipv6/sit.c err = -ENOENT; err 882 net/ipv6/sit.c err = ipip6_tunnel_get_prl(t, ifr->ifr_ifru.ifru_data); err 888 net/ipv6/sit.c err = -EPERM; err 891 net/ipv6/sit.c err = -EINVAL; err 894 net/ipv6/sit.c err = -EFAULT; err 897 net/ipv6/sit.c err = -ENOENT; err 903 net/ipv6/sit.c err = ipip6_tunnel_del_prl(t, &prl); err 907 net/ipv6/sit.c err = ipip6_tunnel_add_prl(t, &prl, cmd == SIOCCHGPRL); err 914 net/ipv6/sit.c err = -EINVAL; err 918 net/ipv6/sit.c return err; err 1005 net/ipv6/sit.c int err; err 1008 net/ipv6/sit.c err = -ENOMEM; err 1013 net/ipv6/sit.c err = net_assign_generic(net, sit_net_id, sitn); err 1014 net/ipv6/sit.c if (err < 0) err 1025 net/ipv6/sit.c err = -ENOMEM; err 1032 net/ipv6/sit.c if ((err = register_netdev(sitn->fb_tunnel_dev))) err 1044 net/ipv6/sit.c return err; err 1073 net/ipv6/sit.c int err; err 1082 net/ipv6/sit.c err = register_pernet_gen_device(&sit_net_id, &sit_net_ops); err 1083 net/ipv6/sit.c if (err < 0) err 1086 net/ipv6/sit.c return err; err 67 net/ipv6/sysctl_net_ipv6.c int err; err 69 net/ipv6/sysctl_net_ipv6.c err = -ENOMEM; err 92 net/ipv6/sysctl_net_ipv6.c err = 0; err 94 net/ipv6/sysctl_net_ipv6.c return err; err 131 net/ipv6/sysctl_net_ipv6.c int err = -ENOMEM;; err 137 net/ipv6/sysctl_net_ipv6.c err = register_pernet_subsys(&ipv6_sysctl_net_ops); err 138 net/ipv6/sysctl_net_ipv6.c if (err) err 141 net/ipv6/sysctl_net_ipv6.c return err; err 131 net/ipv6/tcp_ipv6.c int err; err 217 net/ipv6/tcp_ipv6.c err = tcp_v4_connect(sk, (struct sockaddr *)&sin, sizeof(sin)); err 219 net/ipv6/tcp_ipv6.c if (err) { err 234 net/ipv6/tcp_ipv6.c return err; err 257 net/ipv6/tcp_ipv6.c err = ip6_dst_lookup(sk, &dst, &fl); err 258 net/ipv6/tcp_ipv6.c if (err) err 263 net/ipv6/tcp_ipv6.c if ((err = __xfrm_lookup(&dst, &fl, sk, XFRM_LOOKUP_WAIT)) < 0) { err 264 net/ipv6/tcp_ipv6.c if (err == -EREMOTE) err 265 net/ipv6/tcp_ipv6.c err = ip6_dst_blackhole(sk, &dst, &fl); err 266 net/ipv6/tcp_ipv6.c if (err < 0) err 292 net/ipv6/tcp_ipv6.c err = inet6_hash_connect(&tcp_death_row, sk); err 293 net/ipv6/tcp_ipv6.c if (err) err 302 net/ipv6/tcp_ipv6.c err = tcp_connect(sk); err 303 net/ipv6/tcp_ipv6.c if (err) err 314 net/ipv6/tcp_ipv6.c return err; err 324 net/ipv6/tcp_ipv6.c int err; err 388 net/ipv6/tcp_ipv6.c if ((err = ip6_dst_lookup(sk, &dst, &fl))) { err 389 net/ipv6/tcp_ipv6.c sk->sk_err_soft = -err; err 393 net/ipv6/tcp_ipv6.c if ((err = xfrm_lookup(&dst, &fl, sk, 0)) < 0) { err 394 net/ipv6/tcp_ipv6.c sk->sk_err_soft = -err; err 409 net/ipv6/tcp_ipv6.c icmpv6_err_convert(type, code, &err); err 440 net/ipv6/tcp_ipv6.c sk->sk_err = err; err 445 net/ipv6/tcp_ipv6.c sk->sk_err_soft = err; err 450 net/ipv6/tcp_ipv6.c sk->sk_err = err; err 453 net/ipv6/tcp_ipv6.c sk->sk_err_soft = err; err 470 net/ipv6/tcp_ipv6.c int err = -1; err 490 net/ipv6/tcp_ipv6.c err = ip6_dst_lookup(sk, &dst, &fl); err 491 net/ipv6/tcp_ipv6.c if (err) err 495 net/ipv6/tcp_ipv6.c if ((err = xfrm_lookup(&dst, &fl, sk, 0)) < 0) err 507 net/ipv6/tcp_ipv6.c err = ip6_xmit(sk, skb, &fl, opt, 0); err 508 net/ipv6/tcp_ipv6.c err = net_xmit_eval(err); err 515 net/ipv6/tcp_ipv6.c return err; err 49 net/ipv6/tunnel6.c goto err; err 57 net/ipv6/tunnel6.c err: err 139 net/ipv6/udp.c int err; err 150 net/ipv6/udp.c &peeked, &err); err 173 net/ipv6/udp.c err = skb_copy_datagram_iovec(skb, sizeof(struct udphdr), err 176 net/ipv6/udp.c err = skb_copy_and_csum_datagram_iovec(skb, sizeof(struct udphdr), msg->msg_iov); err 177 net/ipv6/udp.c if (err == -EINVAL) err 180 net/ipv6/udp.c if (err) err 218 net/ipv6/udp.c err = copied; err 220 net/ipv6/udp.c err = ulen; err 227 net/ipv6/udp.c return err; err 250 net/ipv6/udp.c int err; err 259 net/ipv6/udp.c if (!icmpv6_err_convert(type, code, &err) && !np->recverr) err 266 net/ipv6/udp.c ipv6_icmp_error(sk, skb, err, uh->dest, ntohl(info), (u8 *)(uh+1)); err 268 net/ipv6/udp.c sk->sk_err = err; err 419 net/ipv6/udp.c int err; err 425 net/ipv6/udp.c err = udplite_checksum_init(skb, uh); err 426 net/ipv6/udp.c if (err) err 427 net/ipv6/udp.c return err; err 577 net/ipv6/udp.c int err = 0; err 605 net/ipv6/udp.c err = ip6_push_pending_frames(sk); err 609 net/ipv6/udp.c if (!err) err 612 net/ipv6/udp.c return err; err 633 net/ipv6/udp.c int err; err 757 net/ipv6/udp.c err = datagram_send_ctl(sock_net(sk), msg, &fl, opt, &hlimit, &tclass); err 758 net/ipv6/udp.c if (err < 0) { err 760 net/ipv6/udp.c return err; err 802 net/ipv6/udp.c err = ip6_sk_dst_lookup(sk, &dst, &fl); err 803 net/ipv6/udp.c if (err) err 808 net/ipv6/udp.c if ((err = __xfrm_lookup(&dst, &fl, sk, XFRM_LOOKUP_WAIT)) < 0) { err 809 net/ipv6/udp.c if (err == -EREMOTE) err 810 net/ipv6/udp.c err = ip6_dst_blackhole(sk, &dst, &fl); err 811 net/ipv6/udp.c if (err < 0) err 841 net/ipv6/udp.c err = -EINVAL; err 850 net/ipv6/udp.c err = ip6_append_data(sk, getfrag, msg->msg_iov, ulen, err 854 net/ipv6/udp.c if (err) err 857 net/ipv6/udp.c err = udp_v6_push_pending_frames(sk); err 877 net/ipv6/udp.c if (err > 0) err 878 net/ipv6/udp.c err = np->recverr ? net_xmit_errno(err) : 0; err 883 net/ipv6/udp.c if (!err) err 892 net/ipv6/udp.c if (err == -ENOBUFS || test_bit(SOCK_NOSPACE, &sk->sk_socket->flags)) { err 896 net/ipv6/udp.c return err; err 902 net/ipv6/udp.c err = 0; err 87 net/ipv6/xfrm6_mode_beet.c int err; err 89 net/ipv6/xfrm6_mode_beet.c err = skb_cow_head(skb, size + skb->mac_len); err 90 net/ipv6/xfrm6_mode_beet.c if (err) err 106 net/ipv6/xfrm6_mode_beet.c err = 0; err 108 net/ipv6/xfrm6_mode_beet.c return err; err 128 net/ipv6/xfrm6_mode_beet.c int err; err 130 net/ipv6/xfrm6_mode_beet.c err = xfrm_unregister_mode(&xfrm6_beet_mode, AF_INET6); err 131 net/ipv6/xfrm6_mode_beet.c BUG_ON(err); err 75 net/ipv6/xfrm6_mode_ro.c int err; err 77 net/ipv6/xfrm6_mode_ro.c err = xfrm_unregister_mode(&xfrm6_ro_mode, AF_INET6); err 78 net/ipv6/xfrm6_mode_ro.c BUG_ON(err); err 76 net/ipv6/xfrm6_mode_transport.c int err; err 78 net/ipv6/xfrm6_mode_transport.c err = xfrm_unregister_mode(&xfrm6_transport_mode, AF_INET6); err 79 net/ipv6/xfrm6_mode_transport.c BUG_ON(err); err 63 net/ipv6/xfrm6_mode_tunnel.c int err = -EINVAL; err 72 net/ipv6/xfrm6_mode_tunnel.c (err = pskb_expand_head(skb, 0, 0, GFP_ATOMIC))) err 85 net/ipv6/xfrm6_mode_tunnel.c err = 0; err 88 net/ipv6/xfrm6_mode_tunnel.c return err; err 108 net/ipv6/xfrm6_mode_tunnel.c int err; err 110 net/ipv6/xfrm6_mode_tunnel.c err = xfrm_unregister_mode(&xfrm6_tunnel_mode, AF_INET6); err 111 net/ipv6/xfrm6_mode_tunnel.c BUG_ON(err); err 50 net/ipv6/xfrm6_output.c int err; err 52 net/ipv6/xfrm6_output.c err = xfrm6_tunnel_check_size(skb); err 53 net/ipv6/xfrm6_output.c if (err) err 54 net/ipv6/xfrm6_output.c return err; err 63 net/ipv6/xfrm6_output.c int err; err 65 net/ipv6/xfrm6_output.c err = xfrm_inner_extract_output(x, skb); err 66 net/ipv6/xfrm6_output.c if (err) err 67 net/ipv6/xfrm6_output.c return err; err 35 net/ipv6/xfrm6_policy.c int err; err 43 net/ipv6/xfrm6_policy.c err = dst->error; err 46 net/ipv6/xfrm6_policy.c dst = ERR_PTR(err); err 86 net/irda/af_irda.c int err; err 93 net/irda/af_irda.c err = sock_queue_rcv_skb(sk, skb); err 94 net/irda/af_irda.c if (err) { err 99 net/irda/af_irda.c return err; err 626 net/irda/af_irda.c int err = -ENETUNREACH; err 655 net/irda/af_irda.c err = irda_find_lsap_sel(self, name); err 656 net/irda/af_irda.c switch (err) { err 777 net/irda/af_irda.c int err; err 793 net/irda/af_irda.c err = irda_open_lsap(self, self->pid); err 794 net/irda/af_irda.c if (err < 0) err 795 net/irda/af_irda.c return err; err 809 net/irda/af_irda.c err = irda_open_tsap(self, addr->sir_lsap_sel, addr->sir_name); err 810 net/irda/af_irda.c if (err < 0) { err 813 net/irda/af_irda.c return err; err 836 net/irda/af_irda.c int err; err 840 net/irda/af_irda.c err = irda_create(sock_net(sk), newsock, sk->sk_protocol); err 841 net/irda/af_irda.c if (err) err 842 net/irda/af_irda.c return err; err 879 net/irda/af_irda.c err = wait_event_interruptible(*(sk->sk_sleep), err 881 net/irda/af_irda.c if (err) err 882 net/irda/af_irda.c return err; err 955 net/irda/af_irda.c int err; err 985 net/irda/af_irda.c err = irda_discover_daddr_and_lsap_sel(self, addr->sir_name); err 986 net/irda/af_irda.c if (err) { err 988 net/irda/af_irda.c return err; err 1001 net/irda/af_irda.c err = irda_find_lsap_sel(self, addr->sir_name); err 1002 net/irda/af_irda.c if (err) { err 1004 net/irda/af_irda.c return err; err 1024 net/irda/af_irda.c err = irttp_connect_request(self->tsap, self->dtsap_sel, err 1027 net/irda/af_irda.c if (err) { err 1029 net/irda/af_irda.c return err; err 1042 net/irda/af_irda.c err = sock_error(sk); err 1043 net/irda/af_irda.c return err? err : -ECONNRESET; err 1257 net/irda/af_irda.c int err = -EPIPE; err 1292 net/irda/af_irda.c msg->msg_flags & MSG_DONTWAIT, &err); err 1299 net/irda/af_irda.c err = memcpy_fromiovec(skb_transport_header(skb), msg->msg_iov, len); err 1300 net/irda/af_irda.c if (err) { err 1309 net/irda/af_irda.c err = irttp_data_request(self->tsap, skb); err 1310 net/irda/af_irda.c if (err) { err 1311 net/irda/af_irda.c IRDA_DEBUG(0, "%s(), err=%d\n", __func__, err); err 1318 net/irda/af_irda.c return sk_stream_error(sk, msg->msg_flags, err); err 1335 net/irda/af_irda.c int err; err 1339 net/irda/af_irda.c if ((err = sock_error(sk)) < 0) err 1340 net/irda/af_irda.c return err; err 1343 net/irda/af_irda.c flags & MSG_DONTWAIT, &err); err 1345 net/irda/af_irda.c return err; err 1387 net/irda/af_irda.c int target, err; err 1392 net/irda/af_irda.c if ((err = sock_error(sk)) < 0) err 1393 net/irda/af_irda.c return err; err 1509 net/irda/af_irda.c int err; err 1538 net/irda/af_irda.c msg->msg_flags & MSG_DONTWAIT, &err); err 1547 net/irda/af_irda.c err = memcpy_fromiovec(skb_transport_header(skb), msg->msg_iov, len); err 1548 net/irda/af_irda.c if (err) { err 1550 net/irda/af_irda.c return err; err 1557 net/irda/af_irda.c err = irttp_udata_request(self->tsap, skb); err 1558 net/irda/af_irda.c if (err) { err 1559 net/irda/af_irda.c IRDA_DEBUG(0, "%s(), err=%d\n", __func__, err); err 1560 net/irda/af_irda.c return err; err 1580 net/irda/af_irda.c int err; err 1633 net/irda/af_irda.c msg->msg_flags & MSG_DONTWAIT, &err); err 1642 net/irda/af_irda.c err = memcpy_fromiovec(skb_transport_header(skb), msg->msg_iov, len); err 1643 net/irda/af_irda.c if (err) { err 1645 net/irda/af_irda.c return err; err 1648 net/irda/af_irda.c err = irlmp_connless_data_request((bound ? self->lsap : NULL), err 1650 net/irda/af_irda.c if (err) { err 1651 net/irda/af_irda.c IRDA_DEBUG(0, "%s(), err=%d\n", __func__, err); err 1652 net/irda/af_irda.c return err; err 2151 net/irda/af_irda.c int err; err 2173 net/irda/af_irda.c err = 0; err 2179 net/irda/af_irda.c err = -EFAULT; err 2188 net/irda/af_irda.c err = -EINVAL; err 2195 net/irda/af_irda.c err = -EFAULT; err 2199 net/irda/af_irda.c err = -EFAULT; err 2203 net/irda/af_irda.c if (err) err 2204 net/irda/af_irda.c return err; err 2256 net/irda/af_irda.c err = irda_extract_ias_value(ias_opt, ias_attr->value); err 2257 net/irda/af_irda.c if(err) { err 2259 net/irda/af_irda.c return err; err 2360 net/irda/af_irda.c err = irda_extract_ias_value(ias_opt, self->ias_result); err 2363 net/irda/af_irda.c if (err) { err 2365 net/irda/af_irda.c return err; err 220 net/irda/ircomm/ircomm_tty.c goto err; err 228 net/irda/ircomm/ircomm_tty.c goto err; err 232 net/irda/ircomm/ircomm_tty.c err: err 388 net/irda/irlmp.c goto err; err 394 net/irda/irlmp.c goto err; err 443 net/irda/irlmp.c goto err; err 458 net/irda/irlmp.c goto err; err 465 net/irda/irlmp.c goto err; err 499 net/irda/irlmp.c err: err 292 net/irda/irnet/irnet_irda.c int err; err 297 net/irda/irnet/irnet_irda.c err = irnet_open_tsap(self); err 298 net/irda/irnet/irnet_irda.c if(err != 0) err 302 net/irda/irnet/irnet_irda.c return(err); err 306 net/irda/irnet/irnet_irda.c err = irttp_connect_request(self->tsap, self->dtsap_sel, err 309 net/irda/irnet/irnet_irda.c if(err != 0) err 313 net/irda/irnet/irnet_irda.c return(err); err 322 net/irda/irnet/irnet_irda.c return(err); err 547 net/irda/irnet/irnet_irda.c int err; err 576 net/irda/irnet/irnet_irda.c if((err = irnet_discover_daddr_and_lsap_sel(self)) != 0) err 577 net/irda/irnet/irnet_irda.c DRETURN(err, IRDA_SOCK_INFO, "auto-connect failed!\n"); err 585 net/irda/irnet/irnet_irda.c if((err = irnet_dname_to_daddr(self)) != 0) err 586 net/irda/irnet/irnet_irda.c DRETURN(err, IRDA_SOCK_INFO, "name connect failed!\n"); err 751 net/irda/irnet/irnet_irda.c int err; err 760 net/irda/irnet/irnet_irda.c err = irnet_daddr_to_dname(self); err 767 net/irda/irnet/irnet_irda.c if(err == 0) err 1826 net/irda/irnet/irnet_irda.c int err = 0; err 1852 net/irda/irnet/irnet_irda.c err = irnet_setup_server(); err 1854 net/irda/irnet/irnet_irda.c if(!err) err 1859 net/irda/irnet/irnet_irda.c return err; err 468 net/irda/irnet/irnet_ppp.c int err; err 499 net/irda/irnet/irnet_ppp.c err = irda_irnet_create(ap); err 500 net/irda/irnet/irnet_ppp.c if(err) err 505 net/irda/irnet/irnet_ppp.c return err; err 641 net/irda/irnet/irnet_ppp.c int err; err 655 net/irda/irnet/irnet_ppp.c err = -EFAULT; err 667 net/irda/irnet/irnet_ppp.c err = ppp_register_channel(&ap->chan); err 668 net/irda/irnet/irnet_ppp.c if(err == 0) err 694 net/irda/irnet/irnet_ppp.c err = 0; err 703 net/irda/irnet/irnet_ppp.c err = 0; err 709 net/irda/irnet/irnet_ppp.c err = 0; err 727 net/irda/irnet/irnet_ppp.c err = -EPERM; err 730 net/irda/irnet/irnet_ppp.c err = ppp_irnet_ioctl(&ap->chan, cmd, arg); err 742 net/irda/irnet/irnet_ppp.c err = 0; err 745 net/irda/irnet/irnet_ppp.c err = 0; err 755 net/irda/irnet/irnet_ppp.c err = 0; err 758 net/irda/irnet/irnet_ppp.c err = 0; err 770 net/irda/irnet/irnet_ppp.c err = 0; err 787 net/irda/irnet/irnet_ppp.c err = 0; err 795 net/irda/irnet/irnet_ppp.c err = 0; err 800 net/irda/irnet/irnet_ppp.c err = -ENOTTY; err 803 net/irda/irnet/irnet_ppp.c DEXIT(FS_TRACE, " - err = 0x%X\n", err); err 804 net/irda/irnet/irnet_ppp.c return err; err 997 net/irda/irnet/irnet_ppp.c int err; err 1008 net/irda/irnet/irnet_ppp.c err = -EFAULT; err 1016 net/irda/irnet/irnet_ppp.c err = 0; err 1023 net/irda/irnet/irnet_ppp.c err = 0; err 1030 net/irda/irnet/irnet_ppp.c err = 0; err 1035 net/irda/irnet/irnet_ppp.c err = 0; err 1040 net/irda/irnet/irnet_ppp.c err = 0; err 1045 net/irda/irnet/irnet_ppp.c err = 0; err 1050 net/irda/irnet/irnet_ppp.c err = 0; err 1058 net/irda/irnet/irnet_ppp.c err = 0; err 1065 net/irda/irnet/irnet_ppp.c err = 0; err 1073 net/irda/irnet/irnet_ppp.c err = 0; err 1078 net/irda/irnet/irnet_ppp.c err = -ENOIOCTLCMD; err 1081 net/irda/irnet/irnet_ppp.c DEXIT(PPP_TRACE, " - err = 0x%X\n", err); err 1082 net/irda/irnet/irnet_ppp.c return err; err 1098 net/irda/irnet/irnet_ppp.c int err = 0; err 1103 net/irda/irnet/irnet_ppp.c err = misc_register(&irnet_misc_device); err 1106 net/irda/irnet/irnet_ppp.c return err; err 1131 net/irda/irnet/irnet_ppp.c int err; err 1134 net/irda/irnet/irnet_ppp.c err = irda_irnet_init(); err 1135 net/irda/irnet/irnet_ppp.c if(!err) err 1136 net/irda/irnet/irnet_ppp.c err = ppp_irnet_init(); err 1137 net/irda/irnet/irnet_ppp.c return err; err 151 net/irda/irnetlink.c int err, i; err 153 net/irda/irnetlink.c err = genl_register_family(&irda_nl_family); err 154 net/irda/irnetlink.c if (err) err 155 net/irda/irnetlink.c return err; err 158 net/irda/irnetlink.c err = genl_register_ops(&irda_nl_family, &irda_nl_ops[i]); err 159 net/irda/irnetlink.c if (err) err 165 net/irda/irnetlink.c return err; err 562 net/irda/irttp.c goto err; err 568 net/irda/irttp.c goto err; err 576 net/irda/irttp.c err: err 605 net/irda/irttp.c goto err; err 616 net/irda/irttp.c goto err; err 630 net/irda/irttp.c goto err; err 644 net/irda/irttp.c goto err; err 688 net/irda/irttp.c err: err 863 net/irda/irttp.c int err; err 877 net/irda/irttp.c err = self->notify.udata_indication(self->notify.instance, err 880 net/irda/irttp.c if (!err) err 1631 net/irda/irttp.c int err; err 1639 net/irda/irttp.c err = self->notify.data_indication(self->notify.instance, self, skb); err 1646 net/irda/irttp.c if (err) { err 133 net/irda/parameters.c int err; err 140 net/irda/parameters.c err = (*func)(self, &p, PV_GET); err 141 net/irda/parameters.c if (err < 0) err 142 net/irda/parameters.c return err; err 210 net/irda/parameters.c int err; err 280 net/irda/parameters.c err = (*func)(self, &p, PV_PUT); err 281 net/irda/parameters.c if (err < 0) err 282 net/irda/parameters.c return err; err 295 net/irda/parameters.c int err; err 326 net/irda/parameters.c err = (*func)(self, &p, PV_PUT); err 327 net/irda/parameters.c if (err < 0) err 328 net/irda/parameters.c return err; err 146 net/iucv/af_iucv.c int err; err 159 net/iucv/af_iucv.c err = 0; err 169 net/iucv/af_iucv.c err = iucv_sock_wait_state(sk, IUCV_CLOSED, 0, timeo); err 179 net/iucv/af_iucv.c err = iucv_path_sever(iucv->path, user_data); err 338 net/iucv/af_iucv.c int err = 0; err 345 net/iucv/af_iucv.c err = -EAGAIN; err 350 net/iucv/af_iucv.c err = sock_intr_errno(timeo); err 358 net/iucv/af_iucv.c err = sock_error(sk); err 359 net/iucv/af_iucv.c if (err) err 364 net/iucv/af_iucv.c return err; err 374 net/iucv/af_iucv.c int err; err 382 net/iucv/af_iucv.c err = -EBADFD; err 390 net/iucv/af_iucv.c err = -EADDRINUSE; err 394 net/iucv/af_iucv.c err = 0; err 404 net/iucv/af_iucv.c err = 0; err 411 net/iucv/af_iucv.c return err; err 420 net/iucv/af_iucv.c int err = 0; err 423 net/iucv/af_iucv.c cpcmd("QUERY USERID", query_buffer, sizeof(query_buffer), &err); err 424 net/iucv/af_iucv.c if (unlikely(err)) err 441 net/iucv/af_iucv.c return err; err 452 net/iucv/af_iucv.c int err; err 466 net/iucv/af_iucv.c err = iucv_sock_autobind(sk); err 467 net/iucv/af_iucv.c if (unlikely(err)) err 468 net/iucv/af_iucv.c return err; err 486 net/iucv/af_iucv.c err = -ENOMEM; err 489 net/iucv/af_iucv.c err = iucv_path_connect(iucv->path, &af_iucv_handler, err 491 net/iucv/af_iucv.c if (err) { err 494 net/iucv/af_iucv.c err = -ECONNREFUSED; err 499 net/iucv/af_iucv.c err = iucv_sock_wait_state(sk, IUCV_CONNECTED, IUCV_DISCONN, err 509 net/iucv/af_iucv.c return err; err 516 net/iucv/af_iucv.c int err; err 520 net/iucv/af_iucv.c err = -EINVAL; err 527 net/iucv/af_iucv.c err = 0; err 531 net/iucv/af_iucv.c return err; err 541 net/iucv/af_iucv.c int err = 0; err 546 net/iucv/af_iucv.c err = -EBADFD; err 557 net/iucv/af_iucv.c err = -EAGAIN; err 566 net/iucv/af_iucv.c err = -EBADFD; err 571 net/iucv/af_iucv.c err = sock_intr_errno(timeo); err 579 net/iucv/af_iucv.c if (err) err 586 net/iucv/af_iucv.c return err; err 619 net/iucv/af_iucv.c int err; err 621 net/iucv/af_iucv.c err = sock_error(sk); err 622 net/iucv/af_iucv.c if (err) err 623 net/iucv/af_iucv.c return err; err 631 net/iucv/af_iucv.c err = -EPIPE; err 638 net/iucv/af_iucv.c &err))) err 642 net/iucv/af_iucv.c err = -EFAULT; err 651 net/iucv/af_iucv.c err = iucv_message_send(iucv->path, &txmsg, 0, 0, err 653 net/iucv/af_iucv.c if (err) { err 654 net/iucv/af_iucv.c if (err == 3) err 657 net/iucv/af_iucv.c err = -EPIPE; err 662 net/iucv/af_iucv.c err = -ENOTCONN; err 673 net/iucv/af_iucv.c return err; err 768 net/iucv/af_iucv.c int err = 0; err 781 net/iucv/af_iucv.c skb = skb_recv_datagram(sk, flags, noblock, &err); err 785 net/iucv/af_iucv.c return err; err 833 net/iucv/af_iucv.c return err ? : copied; err 894 net/iucv/af_iucv.c int err = 0; err 905 net/iucv/af_iucv.c err = -ENOTCONN; err 916 net/iucv/af_iucv.c err = iucv_message_send(iucv->path, &txmsg, IUCV_IPRMDATA, 0, err 918 net/iucv/af_iucv.c if (err) { err 919 net/iucv/af_iucv.c switch (err) { err 921 net/iucv/af_iucv.c err = -ENOTCONN; err 924 net/iucv/af_iucv.c err = -ECONNRESET; err 927 net/iucv/af_iucv.c err = -ENOTCONN; err 934 net/iucv/af_iucv.c err = iucv_path_quiesce(iucv_sk(sk)->path, NULL); err 935 net/iucv/af_iucv.c if (err) err 936 net/iucv/af_iucv.c err = -ENOTCONN; err 946 net/iucv/af_iucv.c return err; err 952 net/iucv/af_iucv.c int err = 0; err 968 net/iucv/af_iucv.c return err; err 981 net/iucv/af_iucv.c int err; err 1011 net/iucv/af_iucv.c err = iucv_path_sever(path, user_data); err 1017 net/iucv/af_iucv.c err = iucv_path_sever(path, user_data); err 1024 net/iucv/af_iucv.c err = iucv_path_sever(path, user_data); err 1045 net/iucv/af_iucv.c err = iucv_path_accept(path, &af_iucv_handler, nuser_data, nsk); err 1046 net/iucv/af_iucv.c if (err) { err 1047 net/iucv/af_iucv.c err = iucv_path_sever(path, user_data); err 1056 net/iucv/af_iucv.c err = 0; err 1190 net/iucv/af_iucv.c int err; err 1194 net/iucv/af_iucv.c err = -EPROTONOSUPPORT; err 1197 net/iucv/af_iucv.c cpcmd("QUERY USERID", iucv_userid, sizeof(iucv_userid), &err); err 1198 net/iucv/af_iucv.c if (unlikely(err)) { err 1199 net/iucv/af_iucv.c WARN_ON(err); err 1200 net/iucv/af_iucv.c err = -EPROTONOSUPPORT; err 1204 net/iucv/af_iucv.c err = iucv_register(&af_iucv_handler, 0); err 1205 net/iucv/af_iucv.c if (err) err 1207 net/iucv/af_iucv.c err = proto_register(&iucv_proto, 0); err 1208 net/iucv/af_iucv.c if (err) err 1210 net/iucv/af_iucv.c err = sock_register(&iucv_sock_family_ops); err 1211 net/iucv/af_iucv.c if (err) err 1220 net/iucv/af_iucv.c return err; err 409 net/iucv/iucv.c char *err = "Unknown"; err 412 net/iucv/iucv.c err = "Directory error"; err 415 net/iucv/iucv.c err = "Invalid length"; err 418 net/iucv/iucv.c err = "Buffer already exists"; err 421 net/iucv/iucv.c err = "Buffer overlap"; err 424 net/iucv/iucv.c err = "Paging or storage error"; err 428 net/iucv/iucv.c "on cpu %i returned error 0x%02x (%s)\n", cpu, rc, err); err 175 net/key/af_key.c int err; err 187 net/key/af_key.c err = -ENOMEM; err 204 net/key/af_key.c return err; err 227 net/key/af_key.c int err = -ENOBUFS; err 245 net/key/af_key.c err = 0; err 249 net/key/af_key.c return err; err 263 net/key/af_key.c int err = -ESRCH; err 300 net/key/af_key.c if ((broadcast_flags & BROADCAST_REGISTERED) && err) err 301 net/key/af_key.c err = err2; err 306 net/key/af_key.c err = pfkey_broadcast_one(skb, &skb2, allocation, one_sk); err 311 net/key/af_key.c return err; err 355 net/key/af_key.c err = -err; err 356 net/key/af_key.c if (err == ERESTARTSYS || err 357 net/key/af_key.c err == ERESTARTNOHAND || err 358 net/key/af_key.c err == ERESTARTNOINTR) err 359 net/key/af_key.c err = EINTR; err 360 net/key/af_key.c if (err >= 512) err 361 net/key/af_key.c err = EINVAL; err 362 net/key/af_key.c BUG_ON(err <= 0 || err >= 256); err 366 net/key/af_key.c hdr->sadb_msg_errno = (uint8_t) err; err 1070 net/key/af_key.c int err; err 1093 net/key/af_key.c err = -ENOBUFS; err 1161 net/key/af_key.c err = security_xfrm_state_alloc(x, uctx); err 1164 net/key/af_key.c if (err) err 1173 net/key/af_key.c err = -ENOSYS; err 1194 net/key/af_key.c err = -ENOSYS; err 1206 net/key/af_key.c err = -ENOSYS; err 1229 net/key/af_key.c err = -EAFNOSUPPORT; err 1239 net/key/af_key.c err = -EINVAL; err 1281 net/key/af_key.c err = xfrm_init_state(x); err 1282 net/key/af_key.c if (err) err 1291 net/key/af_key.c return ERR_PTR(err); err 1308 net/key/af_key.c int err; err 1373 net/key/af_key.c err = xfrm_alloc_spi(x, min_spi, max_spi); err 1374 net/key/af_key.c resp_skb = err ? ERR_PTR(err) : pfkey_xfrm_state2msg(x); err 1487 net/key/af_key.c int err; err 1496 net/key/af_key.c err = xfrm_state_add(x); err 1498 net/key/af_key.c err = xfrm_state_update(x); err 1500 net/key/af_key.c xfrm_audit_state_add(x, err ? 0 : 1, err 1504 net/key/af_key.c if (err < 0) { err 1519 net/key/af_key.c return err; err 1526 net/key/af_key.c int err; err 1537 net/key/af_key.c if ((err = security_xfrm_state_delete(x))) err 1541 net/key/af_key.c err = -EPERM; err 1545 net/key/af_key.c err = xfrm_state_delete(x); err 1547 net/key/af_key.c if (err < 0) err 1555 net/key/af_key.c xfrm_audit_state_delete(x, err ? 0 : 1, err 1560 net/key/af_key.c return err; err 1726 net/key/af_key.c int err; err 1735 net/key/af_key.c err = xfrm_state_flush(proto, &audit_info); err 1736 net/key/af_key.c if (err) err 1737 net/key/af_key.c return err; err 1910 net/key/af_key.c int err; err 1915 net/key/af_key.c if ((err = parse_ipsecrequest(xp, rq)) < 0) err 1916 net/key/af_key.c return err; err 2130 net/key/af_key.c int err; err 2134 net/key/af_key.c err = PTR_ERR(out_skb); err 2137 net/key/af_key.c err = pfkey_xfrm_policy2msg(out_skb, xp, dir); err 2138 net/key/af_key.c if (err < 0) err 2139 net/key/af_key.c return err; err 2159 net/key/af_key.c int err = 0; err 2189 net/key/af_key.c err = -EINVAL; err 2217 net/key/af_key.c err = -ENOBUFS; err 2221 net/key/af_key.c err = security_xfrm_policy_alloc(&xp->security, uctx); err 2224 net/key/af_key.c if (err) err 2246 net/key/af_key.c (err = parse_ipsecrequests(xp, pol)) < 0) err 2249 net/key/af_key.c err = xfrm_policy_insert(pol->sadb_x_policy_dir-1, xp, err 2252 net/key/af_key.c xfrm_audit_policy_add(xp, err ? 0 : 1, err 2256 net/key/af_key.c if (err) err 2274 net/key/af_key.c return err; err 2279 net/key/af_key.c int err; err 2322 net/key/af_key.c err = security_xfrm_policy_alloc(&pol_ctx, uctx); err 2324 net/key/af_key.c if (err) err 2325 net/key/af_key.c return err; err 2330 net/key/af_key.c 1, &err); err 2335 net/key/af_key.c xfrm_audit_policy_delete(xp, err ? 0 : 1, err 2339 net/key/af_key.c if (err) err 2350 net/key/af_key.c return err; err 2355 net/key/af_key.c int err; err 2358 net/key/af_key.c err = 0; err 2362 net/key/af_key.c err = PTR_ERR(out_skb); err 2365 net/key/af_key.c err = pfkey_xfrm_policy2msg(out_skb, xp, dir); err 2366 net/key/af_key.c if (err < 0) err 2377 net/key/af_key.c err = 0; err 2380 net/key/af_key.c return err; err 2414 net/key/af_key.c int err; err 2423 net/key/af_key.c err = parse_sockaddr_pair((struct sockaddr *)(rq1 + 1), err 2427 net/key/af_key.c if (err) err 2428 net/key/af_key.c return err; err 2438 net/key/af_key.c err = parse_sockaddr_pair((struct sockaddr *)(rq2 + 1), err 2442 net/key/af_key.c if (err) err 2443 net/key/af_key.c return err; err 2463 net/key/af_key.c int i, len, ret, err = -EINVAL; err 2476 net/key/af_key.c err = -EINVAL; err 2484 net/key/af_key.c err = -EINVAL; err 2495 net/key/af_key.c err = ret; err 2530 net/key/af_key.c err = ret; err 2540 net/key/af_key.c err = -EINVAL; err 2548 net/key/af_key.c return err; err 2562 net/key/af_key.c int err = 0, delete; err 2576 net/key/af_key.c delete, &err); err 2581 net/key/af_key.c xfrm_audit_policy_delete(xp, err ? 0 : 1, err 2585 net/key/af_key.c if (err) err 2593 net/key/af_key.c err = key_pol_get_resp(sk, xp, hdr, dir); err 2598 net/key/af_key.c return err; err 2606 net/key/af_key.c int err; err 2615 net/key/af_key.c err = pfkey_xfrm_policy2msg(out_skb, xp, dir); err 2616 net/key/af_key.c if (err < 0) err 2617 net/key/af_key.c return err; err 2685 net/key/af_key.c int err; err 2690 net/key/af_key.c err = xfrm_policy_flush(XFRM_POLICY_TYPE_MAIN, &audit_info); err 2691 net/key/af_key.c if (err) err 2692 net/key/af_key.c return err; err 2733 net/key/af_key.c int err; err 2739 net/key/af_key.c err = parse_exthdrs(skb, hdr, ext_hdrs); err 2740 net/key/af_key.c if (!err) { err 2741 net/key/af_key.c err = -EOPNOTSUPP; err 2743 net/key/af_key.c err = pfkey_funcs[hdr->sadb_msg_type](sk, skb, hdr, ext_hdrs); err 2745 net/key/af_key.c return err; err 3478 net/key/af_key.c goto err; err 3483 net/key/af_key.c goto err; err 3490 net/key/af_key.c goto err; err 3498 net/key/af_key.c err: err 3517 net/key/af_key.c int err; err 3519 net/key/af_key.c err = -EOPNOTSUPP; err 3523 net/key/af_key.c err = -EMSGSIZE; err 3527 net/key/af_key.c err = -ENOBUFS; err 3532 net/key/af_key.c err = -EFAULT; err 3536 net/key/af_key.c hdr = pfkey_get_base_msg(skb, &err); err 3541 net/key/af_key.c err = pfkey_process(sk, skb, hdr); err 3545 net/key/af_key.c if (err && hdr && pfkey_error(hdr, err, sk) == 0) err 3546 net/key/af_key.c err = 0; err 3550 net/key/af_key.c return err ? : len; err 3560 net/key/af_key.c int copied, err; err 3562 net/key/af_key.c err = -EINVAL; err 3567 net/key/af_key.c skb = skb_recv_datagram(sk, flags, flags & MSG_DONTWAIT, &err); err 3578 net/key/af_key.c err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); err 3579 net/key/af_key.c if (err) err 3584 net/key/af_key.c err = (flags & MSG_TRUNC) ? skb->len : copied; err 3593 net/key/af_key.c return err; err 3742 net/key/af_key.c int err = proto_register(&key_proto, 0); err 3744 net/key/af_key.c if (err != 0) err 3747 net/key/af_key.c err = sock_register(&pfkey_family_ops); err 3748 net/key/af_key.c if (err != 0) err 3750 net/key/af_key.c err = pfkey_init_proc(); err 3751 net/key/af_key.c if (err != 0) err 3753 net/key/af_key.c err = xfrm_register_km(&pfkeyv2_mgr); err 3754 net/key/af_key.c if (err != 0) err 3757 net/key/af_key.c return err; err 50 net/mac80211/cfg.c int err; err 55 net/mac80211/cfg.c err = ieee80211_if_add(local, name, &dev, type, params); err 56 net/mac80211/cfg.c if (err || type != NL80211_IFTYPE_MONITOR || !flags) err 57 net/mac80211/cfg.c return err; err 126 net/mac80211/cfg.c int err; err 155 net/mac80211/cfg.c err = -ENOENT; err 162 net/mac80211/cfg.c err = 0; err 166 net/mac80211/cfg.c return err; err 223 net/mac80211/cfg.c int err = -ENOENT; err 289 net/mac80211/cfg.c err = 0; err 293 net/mac80211/cfg.c return err; err 390 net/mac80211/cfg.c int err = -EINVAL; err 410 net/mac80211/cfg.c err = 0; err 415 net/mac80211/cfg.c return err; err 419 net/mac80211/cfg.c return err; err 667 net/mac80211/cfg.c int err; err 700 net/mac80211/cfg.c err = sta_info_insert(sta); err 701 net/mac80211/cfg.c if (err) { err 704 net/mac80211/cfg.c return err; err 791 net/mac80211/cfg.c int err; err 808 net/mac80211/cfg.c err = mesh_path_add(dst, sdata); err 809 net/mac80211/cfg.c if (err) { err 811 net/mac80211/cfg.c return err; err 563 net/mac80211/debugfs_netdev.c int err; err 565 net/mac80211/debugfs_netdev.c err = register_netdevice_notifier(&mac80211_debugfs_netdev_notifier); err 566 net/mac80211/debugfs_netdev.c if (err) { err 213 net/mac80211/mesh_hwmp.c int rate, err; err 221 net/mac80211/mesh_hwmp.c err = (sta->fail_avg << ARITH_SHIFT) / 100; err 228 net/mac80211/mesh_hwmp.c estimated_retx = ((1 << (2 * ARITH_SHIFT)) / (s_unit - err)); err 776 net/mac80211/mesh_hwmp.c int err = 0; err 787 net/mac80211/mesh_hwmp.c err = -ENOSPC; err 819 net/mac80211/mesh_hwmp.c err = -ENOENT; err 824 net/mac80211/mesh_hwmp.c return err; err 175 net/mac80211/mesh_pathtbl.c int err = 0; err 188 net/mac80211/mesh_pathtbl.c err = -ENOMEM; err 214 net/mac80211/mesh_pathtbl.c err = -EEXIST; err 254 net/mac80211/mesh_pathtbl.c return err; err 265 net/mac80211/mesh_pathtbl.c int err = 0; err 276 net/mac80211/mesh_pathtbl.c err = -ENOMEM; err 300 net/mac80211/mesh_pathtbl.c err = -EEXIST; err 339 net/mac80211/mesh_pathtbl.c return err; err 443 net/mac80211/mesh_pathtbl.c int err = 0; err 464 net/mac80211/mesh_pathtbl.c err = -ENXIO; err 468 net/mac80211/mesh_pathtbl.c return err; err 1262 net/mac80211/mlme.c int err; err 1281 net/mac80211/mlme.c err = sta_info_insert(sta); err 1282 net/mac80211/mlme.c if (err) { err 1284 net/mac80211/mlme.c " the AP (error %d)\n", sdata->dev->name, err); err 1279 net/mac80211/rx.c int remaining, err; err 1293 net/mac80211/rx.c err = ieee80211_data_to_8023(rx); err 1294 net/mac80211/rx.c if (unlikely(err)) err 1465 net/mac80211/rx.c int err; err 1473 net/mac80211/rx.c err = ieee80211_data_to_8023(rx); err 1474 net/mac80211/rx.c if (unlikely(err)) err 283 net/mac80211/sta_info.c int err = 0; err 292 net/mac80211/sta_info.c err = -ENETDOWN; err 298 net/mac80211/sta_info.c err = -EINVAL; err 306 net/mac80211/sta_info.c err = -EEXIST; err 347 net/mac80211/sta_info.c BUG_ON(!err); err 349 net/mac80211/sta_info.c return err; err 38 net/mac80211/wext.c int err; err 49 net/mac80211/wext.c err = 0; err 56 net/mac80211/wext.c err = -ENOENT; err 69 net/mac80211/wext.c err = 0; err 83 net/mac80211/wext.c err = -EINVAL; err 90 net/mac80211/wext.c err = -ENOENT; err 98 net/mac80211/wext.c err = -EINVAL; err 111 net/mac80211/wext.c return err; err 587 net/mac80211/wext.c int i, err = -EINVAL; err 612 net/mac80211/wext.c err = 0; err 616 net/mac80211/wext.c return err; err 34 net/netfilter/core.c int err; err 36 net/netfilter/core.c err = mutex_lock_interruptible(&afinfo_mutex); err 37 net/netfilter/core.c if (err < 0) err 38 net/netfilter/core.c return err; err 61 net/netfilter/core.c int err; err 63 net/netfilter/core.c err = mutex_lock_interruptible(&nf_hook_mutex); err 64 net/netfilter/core.c if (err < 0) err 65 net/netfilter/core.c return err; err 89 net/netfilter/core.c int err = 0; err 92 net/netfilter/core.c err = nf_register_hook(®[i]); err 93 net/netfilter/core.c if (err) err 94 net/netfilter/core.c goto err; err 96 net/netfilter/core.c return err; err 98 net/netfilter/core.c err: err 101 net/netfilter/core.c return err; err 548 net/netfilter/ipvs/ip_vs_core.c int err = ip_defrag(skb, user); err 550 net/netfilter/ipvs/ip_vs_core.c if (!err) err 553 net/netfilter/ipvs/ip_vs_core.c return err; err 564 net/netfilter/nf_conntrack_expect.c int err = -ENOMEM; err 589 net/netfilter/nf_conntrack_expect.c err = exp_proc_init(net); err 590 net/netfilter/nf_conntrack_expect.c if (err < 0) err 602 net/netfilter/nf_conntrack_expect.c return err; err 496 net/netfilter/nf_conntrack_h323_asn1.c int err; err 540 net/netfilter/nf_conntrack_h323_asn1.c if ((err = (Decoders[son->type]) (bs, son, base, err 543 net/netfilter/nf_conntrack_h323_asn1.c return err; err 547 net/netfilter/nf_conntrack_h323_asn1.c } else if ((err = (Decoders[son->type]) (bs, son, base, err 550 net/netfilter/nf_conntrack_h323_asn1.c return err; err 597 net/netfilter/nf_conntrack_h323_asn1.c if ((err = (Decoders[son->type]) (bs, son, base, err 600 net/netfilter/nf_conntrack_h323_asn1.c return err; err 613 net/netfilter/nf_conntrack_h323_asn1.c int err; err 671 net/netfilter/nf_conntrack_h323_asn1.c if ((err = (Decoders[son->type]) (bs, son, err 677 net/netfilter/nf_conntrack_h323_asn1.c return err; err 682 net/netfilter/nf_conntrack_h323_asn1.c if ((err = (Decoders[son->type]) (bs, son, err 688 net/netfilter/nf_conntrack_h323_asn1.c return err; err 703 net/netfilter/nf_conntrack_h323_asn1.c int err; err 755 net/netfilter/nf_conntrack_h323_asn1.c if ((err = (Decoders[son->type]) (bs, son, base, level + 1)) < err 757 net/netfilter/nf_conntrack_h323_asn1.c return err; err 761 net/netfilter/nf_conntrack_h323_asn1.c } else if ((err = (Decoders[son->type]) (bs, son, base, level + 1)) < err 763 net/netfilter/nf_conntrack_h323_asn1.c return err; err 185 net/netfilter/nf_conntrack_helper.c int err; err 193 net/netfilter/nf_conntrack_helper.c err = nf_ct_extend_register(&helper_extend); err 194 net/netfilter/nf_conntrack_helper.c if (err < 0) err 202 net/netfilter/nf_conntrack_helper.c return err; err 661 net/netfilter/nf_conntrack_netlink.c int err; err 672 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple_ip(tb[CTA_TUPLE_IP], tuple); err 673 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 674 net/netfilter/nf_conntrack_netlink.c return err; err 679 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple_proto(tb[CTA_TUPLE_PROTO], tuple); err 680 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 681 net/netfilter/nf_conntrack_netlink.c return err; err 704 net/netfilter/nf_conntrack_netlink.c int err; err 706 net/netfilter/nf_conntrack_netlink.c err = nla_parse_nested(tb, CTA_PROTONAT_MAX, attr, protonat_nla_policy); err 707 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 708 net/netfilter/nf_conntrack_netlink.c return err; err 712 net/netfilter/nf_conntrack_netlink.c err = npt->nlattr_to_range(tb, range); err 714 net/netfilter/nf_conntrack_netlink.c return err; err 727 net/netfilter/nf_conntrack_netlink.c int err; err 731 net/netfilter/nf_conntrack_netlink.c err = nla_parse_nested(tb, CTA_NAT_MAX, nat, nat_nla_policy); err 732 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 733 net/netfilter/nf_conntrack_netlink.c return err; err 749 net/netfilter/nf_conntrack_netlink.c err = nfnetlink_parse_nat_proto(tb[CTA_NAT_PROTO], ct, range); err 750 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 751 net/netfilter/nf_conntrack_netlink.c return err; err 789 net/netfilter/nf_conntrack_netlink.c int err = 0; err 792 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple(cda, &tuple, CTA_TUPLE_ORIG, u3); err 794 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple(cda, &tuple, CTA_TUPLE_REPLY, u3); err 801 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 802 net/netfilter/nf_conntrack_netlink.c return err; err 834 net/netfilter/nf_conntrack_netlink.c int err = 0; err 841 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple(cda, &tuple, CTA_TUPLE_ORIG, u3); err 843 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple(cda, &tuple, CTA_TUPLE_REPLY, u3); err 847 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 848 net/netfilter/nf_conntrack_netlink.c return err; err 856 net/netfilter/nf_conntrack_netlink.c err = -ENOMEM; err 863 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_fill_info(skb2, NETLINK_CB(skb).pid, nlh->nlmsg_seq, err 866 net/netfilter/nf_conntrack_netlink.c if (err <= 0) err 869 net/netfilter/nf_conntrack_netlink.c err = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).pid, MSG_DONTWAIT); err 870 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 878 net/netfilter/nf_conntrack_netlink.c return err; err 939 net/netfilter/nf_conntrack_netlink.c int err; err 945 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_help(cda[CTA_HELP], &helpname); err 946 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 947 net/netfilter/nf_conntrack_netlink.c return err; err 1000 net/netfilter/nf_conntrack_netlink.c int err = 0; err 1006 net/netfilter/nf_conntrack_netlink.c err = l4proto->from_nlattr(tb, ct); err 1009 net/netfilter/nf_conntrack_netlink.c return err; err 1075 net/netfilter/nf_conntrack_netlink.c int err; err 1078 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_change_helper(ct, cda); err 1079 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1080 net/netfilter/nf_conntrack_netlink.c return err; err 1084 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_change_timeout(ct, cda); err 1085 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1086 net/netfilter/nf_conntrack_netlink.c return err; err 1090 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_change_status(ct, cda); err 1091 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1092 net/netfilter/nf_conntrack_netlink.c return err; err 1096 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_change_protoinfo(ct, cda); err 1097 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1098 net/netfilter/nf_conntrack_netlink.c return err; err 1108 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_change_nat_seq_adj(ct, cda); err 1109 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1110 net/netfilter/nf_conntrack_netlink.c return err; err 1124 net/netfilter/nf_conntrack_netlink.c int err = -EINVAL; err 1133 net/netfilter/nf_conntrack_netlink.c goto err; err 1145 net/netfilter/nf_conntrack_netlink.c err = -ENOMEM; err 1146 net/netfilter/nf_conntrack_netlink.c goto err; err 1153 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_change_status(ct, cda); err 1154 net/netfilter/nf_conntrack_netlink.c if (err < 0) { err 1156 net/netfilter/nf_conntrack_netlink.c goto err; err 1161 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_change_protoinfo(ct, cda); err 1162 net/netfilter/nf_conntrack_netlink.c if (err < 0) { err 1164 net/netfilter/nf_conntrack_netlink.c goto err; err 1187 net/netfilter/nf_conntrack_netlink.c err: err 1189 net/netfilter/nf_conntrack_netlink.c return err; err 1200 net/netfilter/nf_conntrack_netlink.c int err = 0; err 1203 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple(cda, &otuple, CTA_TUPLE_ORIG, u3); err 1204 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1205 net/netfilter/nf_conntrack_netlink.c return err; err 1209 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple(cda, &rtuple, CTA_TUPLE_REPLY, u3); err 1210 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1211 net/netfilter/nf_conntrack_netlink.c return err; err 1226 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple(cda, err 1230 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1235 net/netfilter/nf_conntrack_netlink.c err = -ENOENT; err 1243 net/netfilter/nf_conntrack_netlink.c err = -ENOENT; err 1245 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_create_conntrack(cda, err 1249 net/netfilter/nf_conntrack_netlink.c if (err < 0 && master_ct) err 1252 net/netfilter/nf_conntrack_netlink.c return err; err 1258 net/netfilter/nf_conntrack_netlink.c err = -EEXIST; err 1262 net/netfilter/nf_conntrack_netlink.c err = -EOPNOTSUPP; err 1267 net/netfilter/nf_conntrack_netlink.c err = -EOPNOTSUPP; err 1270 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_change_conntrack(nf_ct_tuplehash_to_ctrack(h), err 1276 net/netfilter/nf_conntrack_netlink.c return err; err 1517 net/netfilter/nf_conntrack_netlink.c int err = 0; err 1526 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple(cda, &tuple, CTA_EXPECT_MASTER, u3); err 1530 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1531 net/netfilter/nf_conntrack_netlink.c return err; err 1545 net/netfilter/nf_conntrack_netlink.c err = -ENOMEM; err 1550 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_exp_fill_info(skb2, NETLINK_CB(skb).pid, err 1553 net/netfilter/nf_conntrack_netlink.c if (err <= 0) err 1564 net/netfilter/nf_conntrack_netlink.c return err; err 1578 net/netfilter/nf_conntrack_netlink.c int err; err 1582 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple(cda, &tuple, CTA_EXPECT_TUPLE, u3); err 1583 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1584 net/netfilter/nf_conntrack_netlink.c return err; err 1660 net/netfilter/nf_conntrack_netlink.c int err = 0; err 1663 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple(cda, &tuple, CTA_EXPECT_TUPLE, u3); err 1664 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1665 net/netfilter/nf_conntrack_netlink.c return err; err 1666 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple(cda, &mask, CTA_EXPECT_MASK, u3); err 1667 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1668 net/netfilter/nf_conntrack_netlink.c return err; err 1669 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple(cda, &master_tuple, CTA_EXPECT_MASTER, u3); err 1670 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1671 net/netfilter/nf_conntrack_netlink.c return err; err 1682 net/netfilter/nf_conntrack_netlink.c err = -EINVAL; err 1688 net/netfilter/nf_conntrack_netlink.c err = -ENOMEM; err 1700 net/netfilter/nf_conntrack_netlink.c err = nf_ct_expect_related(exp); err 1705 net/netfilter/nf_conntrack_netlink.c return err; err 1716 net/netfilter/nf_conntrack_netlink.c int err = 0; err 1723 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_parse_tuple(cda, &tuple, CTA_EXPECT_TUPLE, u3); err 1724 net/netfilter/nf_conntrack_netlink.c if (err < 0) err 1725 net/netfilter/nf_conntrack_netlink.c return err; err 1732 net/netfilter/nf_conntrack_netlink.c err = -ENOENT; err 1734 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_create_expect(cda, u3); err 1735 net/netfilter/nf_conntrack_netlink.c return err; err 1738 net/netfilter/nf_conntrack_netlink.c err = -EEXIST; err 1740 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_change_expect(exp, cda); err 1743 net/netfilter/nf_conntrack_netlink.c return err; err 162 net/netfilter/nf_conntrack_proto.c int err = 0; err 166 net/netfilter/nf_conntrack_proto.c err = nf_ct_register_sysctl(&l3proto->ctl_table_header, err 171 net/netfilter/nf_conntrack_proto.c return err; err 231 net/netfilter/nf_conntrack_proto.c int err = 0; err 235 net/netfilter/nf_conntrack_proto.c err = nf_ct_register_sysctl(l4proto->ctl_table_header, err 239 net/netfilter/nf_conntrack_proto.c if (err < 0) err 244 net/netfilter/nf_conntrack_proto.c err = nf_ct_register_sysctl(&l4proto->ctl_compat_table_header, err 247 net/netfilter/nf_conntrack_proto.c if (err == 0) err 256 net/netfilter/nf_conntrack_proto.c return err; err 344 net/netfilter/nf_conntrack_proto.c int err; err 346 net/netfilter/nf_conntrack_proto.c err = nf_ct_l4proto_register_sysctl(&nf_conntrack_l4proto_generic); err 347 net/netfilter/nf_conntrack_proto.c if (err < 0) err 348 net/netfilter/nf_conntrack_proto.c return err; err 641 net/netfilter/nf_conntrack_proto_dccp.c int err; err 646 net/netfilter/nf_conntrack_proto_dccp.c err = nla_parse_nested(tb, CTA_PROTOINFO_DCCP_MAX, attr, err 648 net/netfilter/nf_conntrack_proto_dccp.c if (err < 0) err 649 net/netfilter/nf_conntrack_proto_dccp.c return err; err 788 net/netfilter/nf_conntrack_proto_dccp.c int err; err 790 net/netfilter/nf_conntrack_proto_dccp.c err = nf_conntrack_l4proto_register(&dccp_proto4); err 791 net/netfilter/nf_conntrack_proto_dccp.c if (err < 0) err 794 net/netfilter/nf_conntrack_proto_dccp.c err = nf_conntrack_l4proto_register(&dccp_proto6); err 795 net/netfilter/nf_conntrack_proto_dccp.c if (err < 0) err 802 net/netfilter/nf_conntrack_proto_dccp.c return err; err 512 net/netfilter/nf_conntrack_proto_sctp.c int err; err 518 net/netfilter/nf_conntrack_proto_sctp.c err = nla_parse_nested(tb, err 522 net/netfilter/nf_conntrack_proto_sctp.c if (err < 0) err 523 net/netfilter/nf_conntrack_proto_sctp.c return err; err 1138 net/netfilter/nf_conntrack_proto_tcp.c int err; err 1145 net/netfilter/nf_conntrack_proto_tcp.c err = nla_parse_nested(tb, CTA_PROTOINFO_TCP_MAX, pattr, tcp_nla_policy); err 1146 net/netfilter/nf_conntrack_proto_tcp.c if (err < 0) err 1147 net/netfilter/nf_conntrack_proto_tcp.c return err; err 218 net/netfilter/nf_conntrack_proto_udplite.c int err; err 220 net/netfilter/nf_conntrack_proto_udplite.c err = nf_conntrack_l4proto_register(&nf_conntrack_l4proto_udplite4); err 221 net/netfilter/nf_conntrack_proto_udplite.c if (err < 0) err 223 net/netfilter/nf_conntrack_proto_udplite.c err = nf_conntrack_l4proto_register(&nf_conntrack_l4proto_udplite6); err 224 net/netfilter/nf_conntrack_proto_udplite.c if (err < 0) err 230 net/netfilter/nf_conntrack_proto_udplite.c return err; err 179 net/netfilter/nf_queue.c goto err; err 186 net/netfilter/nf_queue.c err: err 125 net/netfilter/nfnetlink.c int type, err; err 161 net/netfilter/nfnetlink.c err = nla_parse(cda, attr_count, attr, attrlen, err 163 net/netfilter/nfnetlink.c if (err < 0) err 164 net/netfilter/nfnetlink.c return err; err 131 net/netfilter/nfnetlink_log.c int err; err 135 net/netfilter/nfnetlink_log.c err = -EEXIST; err 141 net/netfilter/nfnetlink_log.c err = -ENOMEM; err 147 net/netfilter/nfnetlink_log.c err = -EAGAIN; err 176 net/netfilter/nfnetlink_log.c return ERR_PTR(err); err 522 net/netfilter/nfnetlink_log.c #define RCV_SKB_FAIL(err) do { netlink_ack(skb, nlh, (err)); return; } while (0) err 94 net/netfilter/nfnetlink_queue.c int err; err 98 net/netfilter/nfnetlink_queue.c err = -EEXIST; err 104 net/netfilter/nfnetlink_queue.c err = -ENOMEM; err 118 net/netfilter/nfnetlink_queue.c err = -EAGAIN; err 133 net/netfilter/nfnetlink_queue.c return ERR_PTR(err); err 394 net/netfilter/nfnetlink_queue.c int err; err 423 net/netfilter/nfnetlink_queue.c err = nfnetlink_unicast(nskb, queue->peer_pid, MSG_DONTWAIT); err 424 net/netfilter/nfnetlink_queue.c if (err < 0) { err 550 net/netfilter/nfnetlink_queue.c #define RCV_SKB_FAIL(err) do { netlink_ack(skb, nlh, (err)); return; } while (0) err 620 net/netfilter/nfnetlink_queue.c int err; err 625 net/netfilter/nfnetlink_queue.c err = -ENODEV; err 630 net/netfilter/nfnetlink_queue.c err = -EPERM; err 635 net/netfilter/nfnetlink_queue.c err = -EINVAL; err 643 net/netfilter/nfnetlink_queue.c err = -EINVAL; err 649 net/netfilter/nfnetlink_queue.c err = -ENOENT; err 668 net/netfilter/nfnetlink_queue.c return err; err 100 net/netfilter/x_tables.c int err = 0; err 103 net/netfilter/x_tables.c err = xt_register_target(&target[i]); err 104 net/netfilter/x_tables.c if (err) err 105 net/netfilter/x_tables.c goto err; err 107 net/netfilter/x_tables.c return err; err 109 net/netfilter/x_tables.c err: err 112 net/netfilter/x_tables.c return err; err 158 net/netfilter/x_tables.c int err = 0; err 161 net/netfilter/x_tables.c err = xt_register_match(&match[i]); err 162 net/netfilter/x_tables.c if (err) err 163 net/netfilter/x_tables.c goto err; err 165 net/netfilter/x_tables.c return err; err 167 net/netfilter/x_tables.c err: err 170 net/netfilter/x_tables.c return err; err 195 net/netfilter/x_tables.c int err = 0; err 208 net/netfilter/x_tables.c err = -EPROTOTYPE; /* Found something. */ err 217 net/netfilter/x_tables.c return ERR_PTR(err); err 225 net/netfilter/x_tables.c int err = 0; err 238 net/netfilter/x_tables.c err = -EPROTOTYPE; /* Found something. */ err 247 net/netfilter/x_tables.c return ERR_PTR(err); err 302 net/netfilter/x_tables.c *err = -EINTR; err 313 net/netfilter/x_tables.c *err = -ENOENT; err 317 net/netfilter/x_tables.c *err = best; err 319 net/netfilter/x_tables.c *err = -EPROTONOSUPPORT; err 54 net/netfilter/xt_SECMARK.c int err; err 59 net/netfilter/xt_SECMARK.c err = selinux_string_to_sid(sel->selctx, &sel->selsid); err 60 net/netfilter/xt_SECMARK.c if (err) { err 61 net/netfilter/xt_SECMARK.c if (err == -EINVAL) err 73 net/netfilter/xt_SECMARK.c err = selinux_secmark_relabel_packet_permission(sel->selsid); err 74 net/netfilter/xt_SECMARK.c if (err) { err 967 net/netfilter/xt_hashlimit.c int err; err 969 net/netfilter/xt_hashlimit.c err = xt_register_matches(hashlimit_mt_reg, err 971 net/netfilter/xt_hashlimit.c if (err < 0) err 974 net/netfilter/xt_hashlimit.c err = -ENOMEM; err 988 net/netfilter/xt_hashlimit.c err = 0; err 994 net/netfilter/xt_hashlimit.c err = -ENOMEM; err 997 net/netfilter/xt_hashlimit.c if (!err) err 1005 net/netfilter/xt_hashlimit.c return err; err 647 net/netfilter/xt_recent.c int err; err 653 net/netfilter/xt_recent.c err = xt_register_matches(recent_mt_reg, ARRAY_SIZE(recent_mt_reg)); err 655 net/netfilter/xt_recent.c if (err) err 656 net/netfilter/xt_recent.c return err; err 660 net/netfilter/xt_recent.c err = -ENOMEM; err 663 net/netfilter/xt_recent.c if (err < 0) err 664 net/netfilter/xt_recent.c return err; err 669 net/netfilter/xt_recent.c err = -ENOMEM; err 673 net/netfilter/xt_recent.c return err; err 342 net/netlink/af_netlink.c int err = -EADDRINUSE; err 356 net/netlink/af_netlink.c goto err; err 358 net/netlink/af_netlink.c err = -EBUSY; err 360 net/netlink/af_netlink.c goto err; err 362 net/netlink/af_netlink.c err = -ENOMEM; err 364 net/netlink/af_netlink.c goto err; err 371 net/netlink/af_netlink.c err = 0; err 373 net/netlink/af_netlink.c err: err 375 net/netlink/af_netlink.c return err; err 427 net/netlink/af_netlink.c int err = 0; err 451 net/netlink/af_netlink.c err = __netlink_create(net, sock, cb_mutex, protocol); err 452 net/netlink/af_netlink.c if (err < 0) err 458 net/netlink/af_netlink.c return err; err 527 net/netlink/af_netlink.c int err; err 548 net/netlink/af_netlink.c err = netlink_insert(sk, net, pid); err 549 net/netlink/af_netlink.c if (err == -EADDRINUSE) err 553 net/netlink/af_netlink.c if (err == -EBUSY) err 554 net/netlink/af_netlink.c err = 0; err 556 net/netlink/af_netlink.c return err; err 582 net/netlink/af_netlink.c int err = 0; err 588 net/netlink/af_netlink.c err = -ENOENT; err 597 net/netlink/af_netlink.c err = -ENOMEM; err 607 net/netlink/af_netlink.c return err; err 617 net/netlink/af_netlink.c int err; err 626 net/netlink/af_netlink.c err = netlink_realloc_groups(sk); err 627 net/netlink/af_netlink.c if (err) err 628 net/netlink/af_netlink.c return err; err 635 net/netlink/af_netlink.c err = nladdr->nl_pid ? err 638 net/netlink/af_netlink.c if (err) err 639 net/netlink/af_netlink.c return err; err 659 net/netlink/af_netlink.c int err = 0; err 678 net/netlink/af_netlink.c err = netlink_autobind(sock); err 680 net/netlink/af_netlink.c if (err == 0) { err 686 net/netlink/af_netlink.c return err; err 874 net/netlink/af_netlink.c int err; err 890 net/netlink/af_netlink.c err = skb->len; err 893 net/netlink/af_netlink.c return err; err 896 net/netlink/af_netlink.c err = netlink_attachskb(sk, skb, &timeo, ssk); err 897 net/netlink/af_netlink.c if (err == 1) err 899 net/netlink/af_netlink.c if (err) err 900 net/netlink/af_netlink.c return err; err 1122 net/netlink/af_netlink.c int err; err 1137 net/netlink/af_netlink.c err = 0; err 1143 net/netlink/af_netlink.c err = netlink_realloc_groups(sk); err 1144 net/netlink/af_netlink.c if (err) err 1145 net/netlink/af_netlink.c return err; err 1152 net/netlink/af_netlink.c err = 0; err 1156 net/netlink/af_netlink.c err = -ENOPROTOOPT; err 1158 net/netlink/af_netlink.c return err; err 1166 net/netlink/af_netlink.c int len, val, err; err 1185 net/netlink/af_netlink.c err = 0; err 1188 net/netlink/af_netlink.c err = -ENOPROTOOPT; err 1190 net/netlink/af_netlink.c return err; err 1211 net/netlink/af_netlink.c int err; err 1219 net/netlink/af_netlink.c err = scm_send(sock, msg, siocb->scm); err 1220 net/netlink/af_netlink.c if (err < 0) err 1221 net/netlink/af_netlink.c return err; err 1236 net/netlink/af_netlink.c err = netlink_autobind(sock); err 1237 net/netlink/af_netlink.c if (err) err 1241 net/netlink/af_netlink.c err = -EMSGSIZE; err 1244 net/netlink/af_netlink.c err = -ENOBUFS; err 1262 net/netlink/af_netlink.c err = -EFAULT; err 1268 net/netlink/af_netlink.c err = security_netlink_send(sk, skb); err 1269 net/netlink/af_netlink.c if (err) { err 1278 net/netlink/af_netlink.c err = netlink_unicast(sk, skb, dst_pid, msg->msg_flags&MSG_DONTWAIT); err 1281 net/netlink/af_netlink.c return err; err 1295 net/netlink/af_netlink.c int err; err 1302 net/netlink/af_netlink.c skb = skb_recv_datagram(sk, flags, noblock, &err); err 1315 net/netlink/af_netlink.c err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); err 1344 net/netlink/af_netlink.c return err ? : copied; err 1455 net/netlink/af_netlink.c int err = 0; err 1464 net/netlink/af_netlink.c err = -ENOMEM; err 1477 net/netlink/af_netlink.c return err; err 1529 net/netlink/af_netlink.c int len, err = -ENOBUFS; err 1539 net/netlink/af_netlink.c err = -EINVAL; err 1582 net/netlink/af_netlink.c return err; err 1640 net/netlink/af_netlink.c if (err) err 1661 net/netlink/af_netlink.c errmsg->error = err; err 1662 net/netlink/af_netlink.c memcpy(&errmsg->msg, nlh, err ? nlh->nlmsg_len : sizeof(*nlh)); err 1671 net/netlink/af_netlink.c int err; err 1677 net/netlink/af_netlink.c err = 0; err 1690 net/netlink/af_netlink.c err = cb(skb, nlh); err 1691 net/netlink/af_netlink.c if (err == -EINTR) err 1695 net/netlink/af_netlink.c if (nlh->nlmsg_flags & NLM_F_ACK || err) err 1696 net/netlink/af_netlink.c netlink_ack(skb, nlh, err); err 1721 net/netlink/af_netlink.c int err = 0; err 1736 net/netlink/af_netlink.c err = nlmsg_unicast(sk, skb, pid); err 1738 net/netlink/af_netlink.c return err; err 1947 net/netlink/af_netlink.c int err = proto_register(&netlink_proto, 0); err 1949 net/netlink/af_netlink.c if (err != 0) err 1989 net/netlink/af_netlink.c return err; err 116 net/netlink/attr.c int rem, err; err 119 net/netlink/attr.c err = validate_nla(nla, maxtype, policy); err 120 net/netlink/attr.c if (err < 0) err 124 net/netlink/attr.c err = 0; err 126 net/netlink/attr.c return err; err 148 net/netlink/attr.c int rem, err; err 157 net/netlink/attr.c err = validate_nla(nla, maxtype, policy); err 158 net/netlink/attr.c if (err < 0) err 170 net/netlink/attr.c err = 0; err 172 net/netlink/attr.c return err; err 141 net/netlink/genetlink.c int err; err 161 net/netlink/genetlink.c err = -ENOMEM; err 169 net/netlink/genetlink.c err = -ENOMEM; err 178 net/netlink/genetlink.c err = netlink_change_ngroups(genl_sock, err 180 net/netlink/genetlink.c if (err) err 191 net/netlink/genetlink.c return err; err 254 net/netlink/genetlink.c int err = -EINVAL; err 260 net/netlink/genetlink.c err = -EEXIST; err 276 net/netlink/genetlink.c err = 0; err 278 net/netlink/genetlink.c return err; err 328 net/netlink/genetlink.c int err = -EINVAL; err 342 net/netlink/genetlink.c err = -EEXIST; err 347 net/netlink/genetlink.c err = -EEXIST; err 355 net/netlink/genetlink.c err = -ENOMEM; err 366 net/netlink/genetlink.c err = -ENOMEM; err 382 net/netlink/genetlink.c return err; err 425 net/netlink/genetlink.c int hdrlen, err; err 448 net/netlink/genetlink.c err = netlink_dump_start(genl_sock, skb, nlh, err 451 net/netlink/genetlink.c return err; err 458 net/netlink/genetlink.c err = nlmsg_parse(nlh, hdrlen, family->attrbuf, family->maxattr, err 460 net/netlink/genetlink.c if (err < 0) err 461 net/netlink/genetlink.c return err; err 636 net/netlink/genetlink.c int err; err 642 net/netlink/genetlink.c err = ctrl_fill_info(family, pid, seq, 0, skb, cmd); err 643 net/netlink/genetlink.c if (err < 0) { err 645 net/netlink/genetlink.c return ERR_PTR(err); err 655 net/netlink/genetlink.c int err; err 661 net/netlink/genetlink.c err = ctrl_fill_mcgrp_info(grp, pid, seq, 0, skb, cmd); err 662 net/netlink/genetlink.c if (err < 0) { err 664 net/netlink/genetlink.c return ERR_PTR(err); err 680 net/netlink/genetlink.c int err = -EINVAL; err 695 net/netlink/genetlink.c err = -ENOENT; err 702 net/netlink/genetlink.c err = PTR_ERR(msg); err 706 net/netlink/genetlink.c err = genlmsg_reply(msg, info); err 708 net/netlink/genetlink.c return err; err 753 net/netlink/genetlink.c int i, err; err 758 net/netlink/genetlink.c err = genl_register_family(&genl_ctrl); err 759 net/netlink/genetlink.c if (err < 0) err 762 net/netlink/genetlink.c err = genl_register_ops(&genl_ctrl, &genl_ctrl_ops); err 763 net/netlink/genetlink.c if (err < 0) err 774 net/netlink/genetlink.c err = genl_register_mc_group(&genl_ctrl, ¬ify_grp); err 775 net/netlink/genetlink.c if (err < 0) err 783 net/netlink/genetlink.c panic("GENL: Cannot register controller: %d\n", err); err 647 net/netrom/af_netrom.c int err = 0; err 657 net/netrom/af_netrom.c err = -ECONNREFUSED; err 662 net/netrom/af_netrom.c err = -EISCONN; /* No reconnect on a seqpacket socket */ err 670 net/netrom/af_netrom.c err = -EINVAL; err 674 net/netrom/af_netrom.c err = -EINVAL; err 681 net/netrom/af_netrom.c err = -ENETUNREACH; err 693 net/netrom/af_netrom.c err = -EPERM; err 729 net/netrom/af_netrom.c err = -EINPROGRESS; err 751 net/netrom/af_netrom.c err = -ERESTARTSYS; err 755 net/netrom/af_netrom.c if (err) err 761 net/netrom/af_netrom.c err = sock_error(sk); /* Always set at this point */ err 770 net/netrom/af_netrom.c return err; err 779 net/netrom/af_netrom.c int err = 0; err 786 net/netrom/af_netrom.c err = -EOPNOTSUPP; err 791 net/netrom/af_netrom.c err = -EINVAL; err 806 net/netrom/af_netrom.c err = -EWOULDBLOCK; err 815 net/netrom/af_netrom.c err = -ERESTARTSYS; err 819 net/netrom/af_netrom.c if (err) err 832 net/netrom/af_netrom.c return err; err 1034 net/netrom/af_netrom.c int err; err 1045 net/netrom/af_netrom.c err = -EADDRNOTAVAIL; err 1051 net/netrom/af_netrom.c err = -EPIPE; err 1056 net/netrom/af_netrom.c err = -ENETUNREACH; err 1062 net/netrom/af_netrom.c err = -EINVAL; err 1067 net/netrom/af_netrom.c err = -EISCONN; err 1071 net/netrom/af_netrom.c err = -EINVAL; err 1076 net/netrom/af_netrom.c err = -ENOTCONN; err 1089 net/netrom/af_netrom.c if ((skb = sock_alloc_send_skb(sk, size, msg->msg_flags & MSG_DONTWAIT, &err)) == NULL) err 1121 net/netrom/af_netrom.c err = -EFAULT; err 1129 net/netrom/af_netrom.c err = -ENOTCONN; err 1135 net/netrom/af_netrom.c err = len; err 1138 net/netrom/af_netrom.c return err; err 134 net/netrom/nr_dev.c int err; err 140 net/netrom/nr_dev.c err = ax25_listen_register((ax25_address *)sa->sa_data, NULL); err 141 net/netrom/nr_dev.c if (err) err 142 net/netrom/nr_dev.c return err; err 154 net/netrom/nr_dev.c int err; err 156 net/netrom/nr_dev.c err = ax25_listen_register((ax25_address *)dev->dev_addr, NULL); err 157 net/netrom/nr_dev.c if (err) err 158 net/netrom/nr_dev.c return err; err 39 net/netrom/nr_out.c int err, frontlen, len; err 49 net/netrom/nr_out.c if ((skbn = sock_alloc_send_skb(sk, frontlen + NR_MAX_PACKET_SIZE, 0, &err)) == NULL) err 358 net/packet/af_packet.c int err; err 380 net/packet/af_packet.c err = -ENODEV; err 384 net/packet/af_packet.c err = -ENETDOWN; err 393 net/packet/af_packet.c err = -EMSGSIZE; err 397 net/packet/af_packet.c err = -ENOBUFS; err 429 net/packet/af_packet.c err = memcpy_fromiovec(skb_put(skb,len), msg->msg_iov, len); err 433 net/packet/af_packet.c if (err) err 449 net/packet/af_packet.c return err; err 774 net/packet/af_packet.c int ifindex, err, reserve = 0; err 787 net/packet/af_packet.c err = -EINVAL; err 799 net/packet/af_packet.c err = -ENXIO; err 805 net/packet/af_packet.c err = -ENETDOWN; err 809 net/packet/af_packet.c err = -EMSGSIZE; err 814 net/packet/af_packet.c msg->msg_flags & MSG_DONTWAIT, &err); err 821 net/packet/af_packet.c err = -EINVAL; err 827 net/packet/af_packet.c err = memcpy_fromiovec(skb_put(skb,len), msg->msg_iov, len); err 828 net/packet/af_packet.c if (err) err 839 net/packet/af_packet.c err = dev_queue_xmit(skb); err 840 net/packet/af_packet.c if (err > 0 && (err = net_xmit_errno(err)) != 0) err 853 net/packet/af_packet.c return err; err 974 net/packet/af_packet.c int err = -ENODEV; err 986 net/packet/af_packet.c err = packet_do_bind(sk, dev, pkt_sk(sk)->num); err 989 net/packet/af_packet.c return err; err 997 net/packet/af_packet.c int err; err 1010 net/packet/af_packet.c err = -ENODEV; err 1015 net/packet/af_packet.c err = packet_do_bind(sk, dev, sll->sll_protocol ? : pkt_sk(sk)->num); err 1020 net/packet/af_packet.c return err; err 1038 net/packet/af_packet.c int err; err 1048 net/packet/af_packet.c err = -ENOBUFS; err 1090 net/packet/af_packet.c return err; err 1103 net/packet/af_packet.c int copied, err; err 1106 net/packet/af_packet.c err = -EINVAL; err 1125 net/packet/af_packet.c skb=skb_recv_datagram(sk,flags,flags&MSG_DONTWAIT,&err); err 1159 net/packet/af_packet.c err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); err 1160 net/packet/af_packet.c if (err) err 1188 net/packet/af_packet.c err = (flags&MSG_TRUNC) ? skb->len : copied; err 1193 net/packet/af_packet.c return err; err 1280 net/packet/af_packet.c int err; err 1284 net/packet/af_packet.c err = -ENODEV; err 1289 net/packet/af_packet.c err = -EINVAL; err 1293 net/packet/af_packet.c err = -ENOBUFS; err 1298 net/packet/af_packet.c err = 0; err 1318 net/packet/af_packet.c err = packet_dev_mc(dev, i, 1); err 1319 net/packet/af_packet.c if (err) { err 1326 net/packet/af_packet.c return err; err 1792 net/packet/af_packet.c int err = 0; err 1828 net/packet/af_packet.c err = -ENOMEM; err 1865 net/packet/af_packet.c err = -EBUSY; err 1867 net/packet/af_packet.c err = 0; err 1902 net/packet/af_packet.c return err; err 1911 net/packet/af_packet.c int err = -EINVAL; err 1931 net/packet/af_packet.c err = vm_insert_page(vma, start, page); err 1932 net/packet/af_packet.c if (unlikely(err)) err 1939 net/packet/af_packet.c err = 0; err 1943 net/packet/af_packet.c return err; err 47 net/phonet/af_phonet.c int err; err 78 net/phonet/af_phonet.c err = -EPROTONOSUPPORT; err 84 net/phonet/af_phonet.c err = -ENOMEM; err 97 net/phonet/af_phonet.c err = 0; err 101 net/phonet/af_phonet.c return err; err 146 net/phonet/af_phonet.c int err; err 150 net/phonet/af_phonet.c err = -EMSGSIZE; err 178 net/phonet/af_phonet.c err = 0; err 180 net/phonet/af_phonet.c err = dev_hard_header(skb, dev, ntohs(skb->protocol), err 182 net/phonet/af_phonet.c if (err < 0) { err 183 net/phonet/af_phonet.c err = -EHOSTUNREACH; err 186 net/phonet/af_phonet.c err = dev_queue_xmit(skb); err 189 net/phonet/af_phonet.c return err; err 192 net/phonet/af_phonet.c return err; err 217 net/phonet/af_phonet.c int err; err 221 net/phonet/af_phonet.c err = -EHOSTUNREACH; err 237 net/phonet/af_phonet.c err = pn_send(skb, dev, pn_sockaddr_get_object(target), err 240 net/phonet/af_phonet.c return err; err 246 net/phonet/af_phonet.c return err; err 383 net/phonet/af_phonet.c int err = 0; err 388 net/phonet/af_phonet.c err = proto_register(pp->prot, 1); err 389 net/phonet/af_phonet.c if (err) err 390 net/phonet/af_phonet.c return err; err 394 net/phonet/af_phonet.c err = -EBUSY; err 399 net/phonet/af_phonet.c return err; err 437 net/phonet/af_phonet.c int err; err 439 net/phonet/af_phonet.c err = sock_register(&phonet_proto_family); err 440 net/phonet/af_phonet.c if (err) { err 443 net/phonet/af_phonet.c return err; err 451 net/phonet/af_phonet.c err = isi_register(); err 452 net/phonet/af_phonet.c if (err) err 453 net/phonet/af_phonet.c goto err; err 456 net/phonet/af_phonet.c err: err 461 net/phonet/af_phonet.c return err; err 76 net/phonet/datagram.c int err; err 92 net/phonet/datagram.c msg->msg_flags & MSG_DONTWAIT, &err); err 94 net/phonet/datagram.c return err; err 97 net/phonet/datagram.c err = memcpy_fromiovec((void *)skb_put(skb, len), msg->msg_iov, len); err 98 net/phonet/datagram.c if (err < 0) { err 100 net/phonet/datagram.c return err; err 107 net/phonet/datagram.c err = pn_skb_send(sk, skb, target); err 110 net/phonet/datagram.c return (err >= 0) ? len : err; err 161 net/phonet/datagram.c int err = sock_queue_rcv_skb(sk, skb); err 162 net/phonet/datagram.c if (err < 0) err 164 net/phonet/datagram.c return err ? NET_RX_DROP : NET_RX_SUCCESS; err 86 net/phonet/pep-gprs.c int err = 0; err 90 net/phonet/pep-gprs.c err = -EINVAL; err 104 net/phonet/pep-gprs.c err = -ENOBUFS; err 134 net/phonet/pep-gprs.c err = -ENODEV; err 141 net/phonet/pep-gprs.c return err; err 206 net/phonet/pep-gprs.c int err; err 215 net/phonet/pep-gprs.c err = pep_write(sk, skb); err 216 net/phonet/pep-gprs.c if (err) { err 218 net/phonet/pep-gprs.c dev->net->name, err); err 275 net/phonet/pep-gprs.c int err; err 292 net/phonet/pep-gprs.c err = register_netdev(net); err 293 net/phonet/pep-gprs.c if (err) { err 295 net/phonet/pep-gprs.c return err; err 300 net/phonet/pep-gprs.c err = -EBUSY; err 305 net/phonet/pep-gprs.c err = -EINVAL; err 327 net/phonet/pep-gprs.c return err; err 311 net/phonet/pep.c int err = 0; err 341 net/phonet/pep.c err = -EINVAL; err 360 net/phonet/pep.c err = sock_queue_rcv_skb(sk, skb); err 361 net/phonet/pep.c if (!err) err 367 net/phonet/pep.c err = -ENOBUFS; err 379 net/phonet/pep.c err = pipe_rcv_created(sk, skb); err 383 net/phonet/pep.c err = pipe_rcv_created(sk, skb); err 384 net/phonet/pep.c if (err) err 410 net/phonet/pep.c err = -EINVAL; err 414 net/phonet/pep.c return err; err 419 net/phonet/pep.c err = skb->len; err 422 net/phonet/pep.c sk->sk_data_ready(sk, err); err 559 net/phonet/pep.c int err = NET_RX_SUCCESS; err 583 net/phonet/pep.c err = NET_RX_DROP; err 589 net/phonet/pep.c err = pep_connreq_rcv(sk, skb); err 605 net/phonet/pep.c err = NET_RX_DROP; err 609 net/phonet/pep.c return err; err 672 net/phonet/pep.c int err; err 675 net/phonet/pep.c err = pep_wait_connreq(sk, flags & O_NONBLOCK); err 676 net/phonet/pep.c if (err) err 682 net/phonet/pep.c err = pep_accept_conn(newsk, oskb); err 683 net/phonet/pep.c if (err) { err 700 net/phonet/pep.c *errp = err; err 744 net/phonet/pep.c int val = 0, err = 0; err 757 net/phonet/pep.c err = -EINVAL; err 763 net/phonet/pep.c err = -EPERM; err 768 net/phonet/pep.c err = gprs_attach(sk); err 769 net/phonet/pep.c if (err > 0) { err 770 net/phonet/pep.c pn->ifindex = err; err 771 net/phonet/pep.c err = 0; err 777 net/phonet/pep.c err = 0; err 781 net/phonet/pep.c err = -ENOPROTOOPT; err 786 net/phonet/pep.c return err; err 843 net/phonet/pep.c int err, done; err 851 net/phonet/pep.c err = -ENOTCONN; err 857 net/phonet/pep.c err = sk_stream_wait_connect(sk, &timeo); err 858 net/phonet/pep.c if (err) err 862 net/phonet/pep.c err = -ECONNRESET; err 874 net/phonet/pep.c err = -EAGAIN; err 878 net/phonet/pep.c err = sock_intr_errno(timeo); err 893 net/phonet/pep.c flags & MSG_DONTWAIT, &err); err 902 net/phonet/pep.c err = memcpy_fromiovec(skb_put(skb, len), msg->msg_iov, len); err 903 net/phonet/pep.c if (err < 0) err 906 net/phonet/pep.c err = pipe_skb_send(sk, skb); err 907 net/phonet/pep.c if (err >= 0) err 908 net/phonet/pep.c err = len; /* success! */ err 913 net/phonet/pep.c return err; err 965 net/phonet/pep.c int err; err 985 net/phonet/pep.c skb = skb_recv_datagram(sk, flags, noblock, &err); err 988 net/phonet/pep.c if (err == -ENOTCONN && sk->sk_state == TCP_CLOSE_WAIT) err 989 net/phonet/pep.c err = -ECONNRESET; err 991 net/phonet/pep.c return err; err 1004 net/phonet/pep.c err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, len); err 1005 net/phonet/pep.c if (!err) err 1006 net/phonet/pep.c err = (flags & MSG_TRUNC) ? skb->len : len; err 1009 net/phonet/pep.c return err; err 94 net/phonet/pn_dev.c int err = 0; err 102 net/phonet/pn_dev.c err = -ENOMEM; err 104 net/phonet/pn_dev.c err = -EEXIST; err 106 net/phonet/pn_dev.c return err; err 112 net/phonet/pn_dev.c int err = 0; err 117 net/phonet/pn_dev.c err = -EADDRNOTAVAIL; err 121 net/phonet/pn_dev.c return err; err 38 net/phonet/pn_netlink.c int err = -ENOBUFS; err 44 net/phonet/pn_netlink.c err = fill_addr(skb, dev, addr, 0, 0, event); err 45 net/phonet/pn_netlink.c if (err < 0) { err 46 net/phonet/pn_netlink.c WARN_ON(err == -EMSGSIZE); err 50 net/phonet/pn_netlink.c err = rtnl_notify(skb, dev_net(dev), 0, err 53 net/phonet/pn_netlink.c if (err < 0) err 54 net/phonet/pn_netlink.c rtnl_set_sk_err(dev_net(dev), RTNLGRP_PHONET_IFADDR, err); err 67 net/phonet/pn_netlink.c int err; err 75 net/phonet/pn_netlink.c err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_phonet_policy); err 76 net/phonet/pn_netlink.c if (err < 0) err 77 net/phonet/pn_netlink.c return err; err 92 net/phonet/pn_netlink.c err = phonet_address_add(dev, pnaddr); err 94 net/phonet/pn_netlink.c err = phonet_address_del(dev, pnaddr); err 95 net/phonet/pn_netlink.c if (!err) err 97 net/phonet/pn_netlink.c return err; err 119 net/phonet/socket.c int err; err 138 net/phonet/socket.c err = -EINVAL; /* attempt to rebind */ err 141 net/phonet/socket.c err = sk->sk_prot->get_port(sk, pn_port(handle)); err 142 net/phonet/socket.c if (err) err 153 net/phonet/socket.c return err; err 159 net/phonet/socket.c int err; err 163 net/phonet/socket.c err = pn_socket_bind(sock, (struct sockaddr *)&sa, err 165 net/phonet/socket.c if (err != -EINVAL) err 166 net/phonet/socket.c return err; err 176 net/phonet/socket.c int err; err 178 net/phonet/socket.c newsk = sk->sk_prot->accept(sk, flags, &err); err 180 net/phonet/socket.c return err; err 275 net/phonet/socket.c int err = 0; err 284 net/phonet/socket.c err = -EINVAL; err 293 net/phonet/socket.c return err; err 732 net/rose/af_rose.c int n, err = 0; err 760 net/rose/af_rose.c err = -ECONNREFUSED; err 766 net/rose/af_rose.c err = -EISCONN; err 776 net/rose/af_rose.c err = -ENETUNREACH; err 782 net/rose/af_rose.c err = -ENETUNREACH; err 790 net/rose/af_rose.c err = -ENETUNREACH; err 796 net/rose/af_rose.c err = -EINVAL; err 837 net/rose/af_rose.c err = -EINPROGRESS; err 859 net/rose/af_rose.c err = -ERESTARTSYS; err 864 net/rose/af_rose.c if (err) err 876 net/rose/af_rose.c err = sock_error(sk); /* Always set at this point */ err 885 net/rose/af_rose.c return err; err 894 net/rose/af_rose.c int err = 0; err 901 net/rose/af_rose.c err = -EOPNOTSUPP; err 906 net/rose/af_rose.c err = -EINVAL; err 922 net/rose/af_rose.c err = -EWOULDBLOCK; err 931 net/rose/af_rose.c err = -ERESTARTSYS; err 935 net/rose/af_rose.c if (err) err 949 net/rose/af_rose.c return err; err 1069 net/rose/af_rose.c int err; err 1125 net/rose/af_rose.c if ((skb = sock_alloc_send_skb(sk, size, msg->msg_flags & MSG_DONTWAIT, &err)) == NULL) err 1126 net/rose/af_rose.c return err; err 1138 net/rose/af_rose.c err = memcpy_fromiovec(skb_transport_header(skb), msg->msg_iov, len); err 1139 net/rose/af_rose.c if (err) { err 1141 net/rose/af_rose.c return err; err 1192 net/rose/af_rose.c if ((skbn = sock_alloc_send_skb(sk, frontlen + ROSE_PACLEN, 0, &err)) == NULL) { err 1194 net/rose/af_rose.c return err; err 96 net/rose/rose_dev.c int err; err 102 net/rose/rose_dev.c err = rose_add_loopback_node((rose_address *)dev->dev_addr); err 103 net/rose/rose_dev.c if (err) err 104 net/rose/rose_dev.c return err; err 116 net/rose/rose_dev.c int err; err 118 net/rose/rose_dev.c err = rose_add_loopback_node((rose_address *)dev->dev_addr); err 119 net/rose/rose_dev.c if (err) err 120 net/rose/rose_dev.c return err; err 293 net/rose/rose_route.c int i, err = 0; err 308 net/rose/rose_route.c err = -EINVAL; err 321 net/rose/rose_route.c err = -EINVAL; err 351 net/rose/rose_route.c err = -EINVAL; err 357 net/rose/rose_route.c return err; err 400 net/rose/rose_route.c int err = 0; err 417 net/rose/rose_route.c err = -ENOMEM; err 436 net/rose/rose_route.c return err; err 717 net/rose/rose_route.c int err; err 733 net/rose/rose_route.c err = rose_add_node(&rose_route, dev); err 735 net/rose/rose_route.c return err; err 742 net/rose/rose_route.c err = rose_del_node(&rose_route, dev); err 744 net/rose/rose_route.c return err; err 143 net/rxrpc/ar-error.c int local, err; err 157 net/rxrpc/ar-error.c err = ee->ee_errno; err 167 net/rxrpc/ar-error.c err = ENETUNREACH; err 171 net/rxrpc/ar-error.c err = EHOSTUNREACH; err 175 net/rxrpc/ar-error.c err = ECONNREFUSED; err 180 net/rxrpc/ar-error.c err = 0; /* dealt with elsewhere */ err 184 net/rxrpc/ar-error.c err = ENETUNREACH; err 188 net/rxrpc/ar-error.c err = EHOSTUNREACH; err 225 net/rxrpc/ar-error.c if (err) { err 228 net/rxrpc/ar-error.c _debug("ISSUE ERROR %d", err); err 231 net/rxrpc/ar-error.c trans->peer->net_error = err; err 71 net/sched/act_api.c int err = 0, index = -1,i = 0, s_i = 0, n_i = 0; err 91 net/sched/act_api.c err = tcf_action_dump_1(skb, a, 0, 0); err 92 net/sched/act_api.c if (err < 0) { err 274 net/sched/act_api.c int err = -ENOENT; err 283 net/sched/act_api.c err = 0; err 286 net/sched/act_api.c return err; err 408 net/sched/act_api.c int err = -EINVAL; err 411 net/sched/act_api.c return err; err 418 net/sched/act_api.c int err = -EINVAL; err 423 net/sched/act_api.c return err; err 431 net/sched/act_api.c if ((err = tcf_action_dump_old(skb, a, bind, ref)) > 0) { err 433 net/sched/act_api.c return err; err 446 net/sched/act_api.c int err = -EINVAL; err 454 net/sched/act_api.c err = tcf_action_dump_1(skb, a, bind, ref); err 455 net/sched/act_api.c if (err < 0) err 463 net/sched/act_api.c err = -EINVAL; err 466 net/sched/act_api.c return err; err 477 net/sched/act_api.c int err; err 480 net/sched/act_api.c err = nla_parse_nested(tb, TCA_ACT_MAX, nla, NULL); err 481 net/sched/act_api.c if (err < 0) err 483 net/sched/act_api.c err = -EINVAL; err 490 net/sched/act_api.c err = -EINVAL; err 511 net/sched/act_api.c err = -EAGAIN; err 515 net/sched/act_api.c err = -ENOENT; err 519 net/sched/act_api.c err = -ENOMEM; err 526 net/sched/act_api.c err = a_o->init(tb[TCA_ACT_OPTIONS], est, a, ovr, bind); err 528 net/sched/act_api.c err = a_o->init(nla, est, a, ovr, bind); err 529 net/sched/act_api.c if (err < 0) err 536 net/sched/act_api.c if (err != ACT_P_CREATED) err 547 net/sched/act_api.c return ERR_PTR(err); err 555 net/sched/act_api.c int err; err 558 net/sched/act_api.c err = nla_parse_nested(tb, TCA_ACT_MAX_PRIO, nla, NULL); err 559 net/sched/act_api.c if (err < 0) err 560 net/sched/act_api.c return ERR_PTR(err); err 565 net/sched/act_api.c goto err; err 576 net/sched/act_api.c err: err 585 net/sched/act_api.c int err = 0; err 597 net/sched/act_api.c err = gnet_stats_start_copy_compat(skb, 0, err 602 net/sched/act_api.c err = gnet_stats_start_copy(skb, TCA_ACT_STATS, err 605 net/sched/act_api.c if (err < 0) err 682 net/sched/act_api.c int err; err 684 net/sched/act_api.c err = nla_parse_nested(tb, TCA_ACT_MAX, nla, NULL); err 685 net/sched/act_api.c if (err < 0) err 688 net/sched/act_api.c err = -EINVAL; err 694 net/sched/act_api.c err = -ENOMEM; err 699 net/sched/act_api.c err = -EINVAL; err 705 net/sched/act_api.c err = -ENOENT; err 717 net/sched/act_api.c return ERR_PTR(err); err 754 net/sched/act_api.c int err = -ENOMEM; err 758 net/sched/act_api.c return err; err 765 net/sched/act_api.c return err; err 770 net/sched/act_api.c err = nla_parse_nested(tb, TCA_ACT_MAX, nla, NULL); err 771 net/sched/act_api.c if (err < 0) err 774 net/sched/act_api.c err = -EINVAL; err 790 net/sched/act_api.c err = a->ops->walk(skb, &dcb, RTM_DELACTION, a); err 791 net/sched/act_api.c if (err < 0) err 793 net/sched/act_api.c if (err == 0) err 802 net/sched/act_api.c err = rtnetlink_send(skb, &init_net, pid, RTNLGRP_TC, n->nlmsg_flags&NLM_F_ECHO); err 803 net/sched/act_api.c if (err > 0) err 806 net/sched/act_api.c return err; err 815 net/sched/act_api.c return err; err 840 net/sched/act_api.c goto err; err 859 net/sched/act_api.c goto err; err 866 net/sched/act_api.c goto err; err 877 net/sched/act_api.c err: err 890 net/sched/act_api.c int err = 0; err 916 net/sched/act_api.c err = rtnetlink_send(skb, &init_net, pid, RTNLGRP_TC, flags&NLM_F_ECHO); err 917 net/sched/act_api.c if (err > 0) err 918 net/sched/act_api.c err = 0; err 919 net/sched/act_api.c return err; err 69 net/sched/act_gact.c int err; err 74 net/sched/act_gact.c err = nla_parse_nested(tb, TCA_GACT_MAX, nla, gact_policy); err 75 net/sched/act_gact.c if (err < 0) err 76 net/sched/act_gact.c return err; err 112 net/sched/act_ipt.c int ret = 0, err; err 119 net/sched/act_ipt.c err = nla_parse_nested(tb, TCA_IPT_MAX, nla, ipt_policy); err 120 net/sched/act_ipt.c if (err < 0) err 121 net/sched/act_ipt.c return err; err 152 net/sched/act_ipt.c err = -ENOMEM; err 164 net/sched/act_ipt.c if ((err = ipt_init_target(t, tname, hook)) < 0) err 187 net/sched/act_ipt.c return err; err 69 net/sched/act_mirred.c int ret = 0, err; err 75 net/sched/act_mirred.c err = nla_parse_nested(tb, TCA_MIRRED_MAX, nla, mirred_policy); err 76 net/sched/act_mirred.c if (err < 0) err 77 net/sched/act_mirred.c return err; err 52 net/sched/act_nat.c int ret = 0, err; err 59 net/sched/act_nat.c err = nla_parse_nested(tb, TCA_NAT_MAX, nla, nat_policy); err 60 net/sched/act_nat.c if (err < 0) err 61 net/sched/act_nat.c return err; err 45 net/sched/act_pedit.c int ret = 0, err; err 54 net/sched/act_pedit.c err = nla_parse_nested(tb, TCA_PEDIT_MAX, nla, pedit_policy); err 55 net/sched/act_pedit.c if (err < 0) err 56 net/sched/act_pedit.c return err; err 56 net/sched/act_police.c int err = 0, index = -1, i = 0, s_i = 0, n_i = 0; err 76 net/sched/act_police.c err = tcf_action_dump_1(skb, a, 0, 1); err 78 net/sched/act_police.c err = tcf_action_dump_1(skb, a, 0, 0); err 79 net/sched/act_police.c if (err < 0) { err 133 net/sched/act_police.c int ret = 0, err; err 143 net/sched/act_police.c err = nla_parse_nested(tb, TCA_POLICE_MAX, nla, police_policy); err 144 net/sched/act_police.c if (err < 0) err 145 net/sched/act_police.c return err; err 181 net/sched/act_police.c err = -ENOMEM; err 244 net/sched/act_police.c return err; err 105 net/sched/act_simple.c int ret = 0, err; err 110 net/sched/act_simple.c err = nla_parse_nested(tb, TCA_DEF_MAX, nla, simple_policy); err 111 net/sched/act_simple.c if (err < 0) err 112 net/sched/act_simple.c return err; err 77 net/sched/act_skbedit.c int ret = 0, err; err 82 net/sched/act_skbedit.c err = nla_parse_nested(tb, TCA_SKBEDIT_MAX, nla, skbedit_policy); err 83 net/sched/act_skbedit.c if (err < 0) err 84 net/sched/act_skbedit.c return err; err 137 net/sched/cls_api.c int err; err 164 net/sched/cls_api.c err = nlmsg_parse(n, sizeof(*t), tca, TCA_MAX, NULL); err 165 net/sched/cls_api.c if (err < 0) err 166 net/sched/cls_api.c return err; err 192 net/sched/cls_api.c err = -EINVAL; err 216 net/sched/cls_api.c err = -ENOENT; err 223 net/sched/cls_api.c err = -ENOBUFS; err 227 net/sched/cls_api.c err = -ENOENT; err 248 net/sched/cls_api.c err = -EAGAIN; err 262 net/sched/cls_api.c err = tp_ops->init(tp); err 263 net/sched/cls_api.c if (err != 0) { err 287 net/sched/cls_api.c err = 0; err 291 net/sched/cls_api.c err = -ENOENT; err 298 net/sched/cls_api.c err = -EEXIST; err 303 net/sched/cls_api.c err = tp->ops->delete(tp, fh); err 304 net/sched/cls_api.c if (err == 0) err 308 net/sched/cls_api.c err = tfilter_notify(skb, n, tp, fh, RTM_NEWTFILTER); err 311 net/sched/cls_api.c err = -EINVAL; err 316 net/sched/cls_api.c err = tp->ops->change(tp, cl, t->tcm_handle, tca, &fh); err 317 net/sched/cls_api.c if (err == 0) err 323 net/sched/cls_api.c if (err == -EAGAIN) err 326 net/sched/cls_api.c return err; err 141 net/sched/cls_basic.c int err = -EINVAL; err 145 net/sched/cls_basic.c err = tcf_exts_validate(tp, tb, est, &e, &basic_ext_map); err 146 net/sched/cls_basic.c if (err < 0) err 147 net/sched/cls_basic.c return err; err 149 net/sched/cls_basic.c err = tcf_em_tree_validate(tp, tb[TCA_BASIC_EMATCHES], &t); err 150 net/sched/cls_basic.c if (err < 0) err 164 net/sched/cls_basic.c return err; err 170 net/sched/cls_basic.c int err; err 178 net/sched/cls_basic.c err = nla_parse_nested(tb, TCA_BASIC_MAX, tca[TCA_OPTIONS], err 180 net/sched/cls_basic.c if (err < 0) err 181 net/sched/cls_basic.c return err; err 189 net/sched/cls_basic.c err = -ENOBUFS; err 194 net/sched/cls_basic.c err = -EINVAL; err 212 net/sched/cls_basic.c err = basic_set_parms(tp, f, base, tb, tca[TCA_RATE]); err 213 net/sched/cls_basic.c if (err < 0) err 226 net/sched/cls_basic.c return err; err 411 net/sched/cls_flow.c int err; err 416 net/sched/cls_flow.c err = nla_parse_nested(tb, TCA_FLOW_MAX, opt, flow_policy); err 417 net/sched/cls_flow.c if (err < 0) err 418 net/sched/cls_flow.c return err; err 437 net/sched/cls_flow.c err = tcf_exts_validate(tp, tb, tca[TCA_RATE], &e, &flow_ext_map); err 438 net/sched/cls_flow.c if (err < 0) err 439 net/sched/cls_flow.c return err; err 441 net/sched/cls_flow.c err = tcf_em_tree_validate(tp, tb[TCA_FLOW_EMATCHES], &t); err 442 net/sched/cls_flow.c if (err < 0) err 447 net/sched/cls_flow.c err = -EINVAL; err 465 net/sched/cls_flow.c err = -EINVAL; err 488 net/sched/cls_flow.c err = -ENOBUFS; err 545 net/sched/cls_flow.c return err; err 202 net/sched/cls_fw.c int err; err 204 net/sched/cls_fw.c err = tcf_exts_validate(tp, tb, tca[TCA_RATE], &e, &fw_ext_map); err 205 net/sched/cls_fw.c if (err < 0) err 206 net/sched/cls_fw.c return err; err 208 net/sched/cls_fw.c err = -EINVAL; err 216 net/sched/cls_fw.c err = tcf_change_indev(tp, f->indev, tb[TCA_FW_INDEV]); err 217 net/sched/cls_fw.c if (err < 0) err 234 net/sched/cls_fw.c return err; err 246 net/sched/cls_fw.c int err; err 251 net/sched/cls_fw.c err = nla_parse_nested(tb, TCA_FW_MAX, opt, fw_policy); err 252 net/sched/cls_fw.c if (err < 0) err 253 net/sched/cls_fw.c return err; err 285 net/sched/cls_fw.c err = fw_change_attrs(tp, f, tb, tca, base); err 286 net/sched/cls_fw.c if (err < 0) err 299 net/sched/cls_fw.c return err; err 339 net/sched/cls_route.c int err; err 346 net/sched/cls_route.c err = tcf_exts_validate(tp, tb, est, &e, &route_ext_map); err 347 net/sched/cls_route.c if (err < 0) err 348 net/sched/cls_route.c return err; err 350 net/sched/cls_route.c err = -EINVAL; err 383 net/sched/cls_route.c err = -ENOBUFS; err 393 net/sched/cls_route.c err = -EEXIST; err 422 net/sched/cls_route.c return err; err 437 net/sched/cls_route.c int err; err 442 net/sched/cls_route.c err = nla_parse_nested(tb, TCA_ROUTE4_MAX, opt, route4_policy); err 443 net/sched/cls_route.c if (err < 0) err 444 net/sched/cls_route.c return err; err 453 net/sched/cls_route.c err = route4_set_parms(tp, base, f, handle, head, tb, err 455 net/sched/cls_route.c if (err < 0) err 456 net/sched/cls_route.c return err; err 461 net/sched/cls_route.c err = -ENOBUFS; err 476 net/sched/cls_route.c err = route4_set_parms(tp, base, f, handle, head, tb, err 478 net/sched/cls_route.c if (err < 0) err 511 net/sched/cls_route.c return err; err 423 net/sched/cls_rsvp.h int err; err 428 net/sched/cls_rsvp.h err = nla_parse_nested(tb, TCA_RSVP_MAX, opt, rsvp_policy); err 429 net/sched/cls_rsvp.h if (err < 0) err 430 net/sched/cls_rsvp.h return err; err 432 net/sched/cls_rsvp.h err = tcf_exts_validate(tp, tb, tca[TCA_RATE-1], &e, &rsvp_ext_map); err 433 net/sched/cls_rsvp.h if (err < 0) err 434 net/sched/cls_rsvp.h return err; err 451 net/sched/cls_rsvp.h err = -EINVAL; err 457 net/sched/cls_rsvp.h err = -ENOBUFS; err 478 net/sched/cls_rsvp.h err = -ENOMEM; err 483 net/sched/cls_rsvp.h err = -EINVAL; err 487 net/sched/cls_rsvp.h err = -ENOMEM; err 529 net/sched/cls_rsvp.h err = -ENOBUFS; err 554 net/sched/cls_rsvp.h return err; err 209 net/sched/cls_tcindex.c int err, balloc = 0; err 216 net/sched/cls_tcindex.c err = tcf_exts_validate(tp, tb, est, &e, &tcindex_ext_map); err 217 net/sched/cls_tcindex.c if (err < 0) err 218 net/sched/cls_tcindex.c return err; err 237 net/sched/cls_tcindex.c err = -EBUSY; err 248 net/sched/cls_tcindex.c err = -EINVAL; err 275 net/sched/cls_tcindex.c err = -ENOMEM; err 336 net/sched/cls_tcindex.c return err; err 347 net/sched/cls_tcindex.c int err; err 356 net/sched/cls_tcindex.c err = nla_parse_nested(tb, TCA_TCINDEX_MAX, opt, tcindex_policy); err 357 net/sched/cls_tcindex.c if (err < 0) err 358 net/sched/cls_tcindex.c return err; err 472 net/sched/cls_u32.c int err; err 475 net/sched/cls_u32.c err = tcf_exts_validate(tp, tb, est, &e, &u32_ext_map); err 476 net/sched/cls_u32.c if (err < 0) err 477 net/sched/cls_u32.c return err; err 479 net/sched/cls_u32.c err = -EINVAL; err 509 net/sched/cls_u32.c err = tcf_change_indev(tp, n->indev, tb[TCA_U32_INDEV]); err 510 net/sched/cls_u32.c if (err < 0) err 519 net/sched/cls_u32.c return err; err 533 net/sched/cls_u32.c int err; err 538 net/sched/cls_u32.c err = nla_parse_nested(tb, TCA_U32_MAX, opt, u32_policy); err 539 net/sched/cls_u32.c if (err < 0) err 540 net/sched/cls_u32.c return err; err 632 net/sched/cls_u32.c err = u32_set_parms(tp, base, ht, n, tb, tca[TCA_RATE]); err 633 net/sched/cls_u32.c if (err == 0) { err 650 net/sched/cls_u32.c return err; err 106 net/sched/em_meta.c struct meta_obj *dst, int *err) err 165 net/sched/em_meta.c *err = int_dev(skb->dev, dst); err 170 net/sched/em_meta.c *err = var_dev(skb->dev, dst); err 181 net/sched/em_meta.c *err = -1; err 248 net/sched/em_meta.c *err = -1; err 260 net/sched/em_meta.c *err = -1; err 271 net/sched/em_meta.c *err = -1; \ err 311 net/sched/em_meta.c *err = var_dev(dev, dst); err 693 net/sched/em_meta.c int err = 0; err 701 net/sched/em_meta.c meta_ops(v)->get(skb, info, v, dst, &err); err 702 net/sched/em_meta.c if (err < 0) err 703 net/sched/em_meta.c return err; err 774 net/sched/em_meta.c int err; err 779 net/sched/em_meta.c err = nla_parse(tb, TCA_EM_META_MAX, data, len, meta_policy); err 780 net/sched/em_meta.c if (err < 0) err 783 net/sched/em_meta.c err = -EINVAL; err 803 net/sched/em_meta.c err = -EOPNOTSUPP; err 814 net/sched/em_meta.c err = 0; err 816 net/sched/em_meta.c if (err && meta) err 818 net/sched/em_meta.c return err; err 127 net/sched/ematch.c int err = -EEXIST; err 139 net/sched/ematch.c err = 0; err 142 net/sched/ematch.c return err; err 159 net/sched/ematch.c int err = 0; err 170 net/sched/ematch.c err = -ENOENT; err 173 net/sched/ematch.c return err; err 188 net/sched/ematch.c int err = -EINVAL; err 226 net/sched/ematch.c err = -ENOENT; err 237 net/sched/ematch.c err = -EAGAIN; err 249 net/sched/ematch.c err = em->ops->change(tp, data, data_len, em); err 250 net/sched/ematch.c if (err < 0) err 268 net/sched/ematch.c err = -ENOBUFS; err 280 net/sched/ematch.c err = 0; err 282 net/sched/ematch.c return err; err 309 net/sched/ematch.c int idx, list_len, matches_len, err; err 319 net/sched/ematch.c err = nla_parse_nested(tb, TCA_EMATCH_TREE_MAX, nla, em_policy); err 320 net/sched/ematch.c if (err < 0) err 323 net/sched/ematch.c err = -EINVAL; err 350 net/sched/ematch.c err = -EINVAL; err 363 net/sched/ematch.c err = tcf_em_validate(tp, tree_hdr, em, rt_match, idx); err 364 net/sched/ematch.c if (err < 0) err 375 net/sched/ematch.c err = -EINVAL; err 379 net/sched/ematch.c err = 0; err 381 net/sched/ematch.c return err; err 385 net/sched/ematch.c return err; err 167 net/sched/sch_api.c int err = -ENOENT; err 176 net/sched/sch_api.c err = 0; err 179 net/sched/sch_api.c return err; err 349 net/sched/sch_api.c int err; err 351 net/sched/sch_api.c err = nla_parse_nested(tb, TCA_STAB_MAX, opt, stab_policy); err 352 net/sched/sch_api.c if (err < 0) err 353 net/sched/sch_api.c return ERR_PTR(err); err 697 net/sched/sch_api.c int err = 0; err 731 net/sched/sch_api.c err = -EINVAL; err 736 net/sched/sch_api.c err = cops->graft(parent, cl, new, &old); err 740 net/sched/sch_api.c if (!err) err 743 net/sched/sch_api.c return err; err 760 net/sched/sch_api.c int err; err 788 net/sched/sch_api.c err = -EAGAIN; err 795 net/sched/sch_api.c err = -ENOENT; err 801 net/sched/sch_api.c err = PTR_ERR(sch); err 814 net/sched/sch_api.c err = -ENOMEM; err 823 net/sched/sch_api.c if (!ops->init || (err = ops->init(sch, tca[TCA_OPTIONS])) == 0) { err 827 net/sched/sch_api.c err = PTR_ERR(stab); err 841 net/sched/sch_api.c err = gen_new_estimator(&sch->bstats, &sch->rate_est, err 843 net/sched/sch_api.c if (err) { err 866 net/sched/sch_api.c *errp = err; err 873 net/sched/sch_api.c int err = 0; err 878 net/sched/sch_api.c err = sch->ops->change(sch, tca[TCA_OPTIONS]); err 879 net/sched/sch_api.c if (err) err 880 net/sched/sch_api.c return err; err 952 net/sched/sch_api.c int err; err 960 net/sched/sch_api.c err = nlmsg_parse(n, sizeof(*tcm), tca, TCA_MAX, NULL); err 961 net/sched/sch_api.c if (err < 0) err 962 net/sched/sch_api.c return err; err 996 net/sched/sch_api.c if ((err = qdisc_graft(dev, p, skb, n, clid, NULL, q)) != 0) err 997 net/sched/sch_api.c return err; err 1016 net/sched/sch_api.c int err; err 1030 net/sched/sch_api.c err = nlmsg_parse(n, sizeof(*tcm), tca, TCA_MAX, NULL); err 1031 net/sched/sch_api.c if (err < 0) err 1032 net/sched/sch_api.c return err; err 1114 net/sched/sch_api.c err = qdisc_change(q, tca); err 1115 net/sched/sch_api.c if (err == 0) err 1117 net/sched/sch_api.c return err; err 1125 net/sched/sch_api.c tca, &err); err 1129 net/sched/sch_api.c tca, &err); err 1131 net/sched/sch_api.c if (err == -EAGAIN) err 1133 net/sched/sch_api.c return err; err 1137 net/sched/sch_api.c err = qdisc_graft(dev, p, skb, n, clid, q, NULL); err 1138 net/sched/sch_api.c if (err) { err 1141 net/sched/sch_api.c return err; err 1334 net/sched/sch_api.c int err; err 1342 net/sched/sch_api.c err = nlmsg_parse(n, sizeof(*tcm), tca, TCA_MAX, NULL); err 1343 net/sched/sch_api.c if (err < 0) err 1344 net/sched/sch_api.c return err; err 1406 net/sched/sch_api.c err = -ENOENT; err 1412 net/sched/sch_api.c err = -EEXIST; err 1417 net/sched/sch_api.c err = cops->delete(q, cl); err 1418 net/sched/sch_api.c if (err == 0) err 1422 net/sched/sch_api.c err = tclass_notify(skb, n, q, cl, RTM_NEWTCLASS); err 1425 net/sched/sch_api.c err = -EINVAL; err 1431 net/sched/sch_api.c err = cops->change(q, clid, pid, tca, &new_cl); err 1432 net/sched/sch_api.c if (err == 0) err 1439 net/sched/sch_api.c return err; err 1607 net/sched/sch_api.c int err = 0; err 1612 net/sched/sch_api.c (err = tp->classify(skb, tp, res)) >= 0) { err 1614 net/sched/sch_api.c if (err != TC_ACT_RECLASSIFY && skb->tc_verd) err 1617 net/sched/sch_api.c return err; err 1627 net/sched/sch_api.c int err = 0; err 1635 net/sched/sch_api.c err = tc_classify_compat(skb, tp, res); err 1637 net/sched/sch_api.c if (err == TC_ACT_RECLASSIFY) { err 1651 net/sched/sch_api.c return err; err 1392 net/sched/sch_cbq.c int err; err 1394 net/sched/sch_cbq.c err = nla_parse_nested(tb, TCA_CBQ_MAX, opt, cbq_policy); err 1395 net/sched/sch_cbq.c if (err < 0) err 1396 net/sched/sch_cbq.c return err; err 1406 net/sched/sch_cbq.c err = qdisc_class_hash_init(&q->clhash); err 1407 net/sched/sch_cbq.c if (err < 0) err 1449 net/sched/sch_cbq.c return err; err 1774 net/sched/sch_cbq.c int err; err 1785 net/sched/sch_cbq.c err = nla_parse_nested(tb, TCA_CBQ_MAX, opt, cbq_policy); err 1786 net/sched/sch_cbq.c if (err < 0) err 1787 net/sched/sch_cbq.c return err; err 1859 net/sched/sch_cbq.c err = -EINVAL; err 1872 net/sched/sch_cbq.c err = -ENOSR; err 1881 net/sched/sch_cbq.c err = -EINVAL; err 1886 net/sched/sch_cbq.c err = -ENOBUFS; err 1940 net/sched/sch_cbq.c return err; err 117 net/sched/sch_dsmark.c int err = -EINVAL; err 124 net/sched/sch_dsmark.c err = -ENOENT; err 131 net/sched/sch_dsmark.c err = nla_parse_nested(tb, TCA_DSMARK_MAX, opt, dsmark_policy); err 132 net/sched/sch_dsmark.c if (err < 0) err 144 net/sched/sch_dsmark.c err = 0; err 147 net/sched/sch_dsmark.c return err; err 199 net/sched/sch_dsmark.c int err; err 255 net/sched/sch_dsmark.c err = qdisc_enqueue(skb, p->q); err 256 net/sched/sch_dsmark.c if (err != NET_XMIT_SUCCESS) { err 257 net/sched/sch_dsmark.c if (net_xmit_drop_count(err)) err 259 net/sched/sch_dsmark.c return err; err 319 net/sched/sch_dsmark.c int err; err 323 net/sched/sch_dsmark.c err = p->q->ops->requeue(skb, p->q); err 324 net/sched/sch_dsmark.c if (err != NET_XMIT_SUCCESS) { err 325 net/sched/sch_dsmark.c if (net_xmit_drop_count(err)) err 327 net/sched/sch_dsmark.c return err; err 357 net/sched/sch_dsmark.c int err = -EINVAL; err 367 net/sched/sch_dsmark.c err = nla_parse_nested(tb, TCA_DSMARK_MAX, opt, dsmark_policy); err 368 net/sched/sch_dsmark.c if (err < 0) err 371 net/sched/sch_dsmark.c err = -EINVAL; err 382 net/sched/sch_dsmark.c err = -ENOMEM; err 403 net/sched/sch_dsmark.c err = 0; err 405 net/sched/sch_dsmark.c return err; err 138 net/sched/sch_fifo.c int err = -ENOMEM; err 143 net/sched/sch_fifo.c err = fifo_set_limit(q, limit); err 144 net/sched/sch_fifo.c if (err < 0) { err 150 net/sched/sch_fifo.c return q ? : ERR_PTR(err); err 471 net/sched/sch_generic.c int err = -ENOBUFS; err 495 net/sched/sch_generic.c return ERR_PTR(err); err 439 net/sched/sch_gred.c int err, prio = GRED_DEF_PRIO; err 445 net/sched/sch_gred.c err = nla_parse_nested(tb, TCA_GRED_MAX, opt, gred_policy); err 446 net/sched/sch_gred.c if (err < 0) err 447 net/sched/sch_gred.c return err; err 456 net/sched/sch_gred.c err = -EINVAL; err 480 net/sched/sch_gred.c err = gred_change_vq(sch, ctl->DP, ctl, prio, stab); err 481 net/sched/sch_gred.c if (err < 0) err 490 net/sched/sch_gred.c err = 0; err 495 net/sched/sch_gred.c return err; err 501 net/sched/sch_gred.c int err; err 506 net/sched/sch_gred.c err = nla_parse_nested(tb, TCA_GRED_MAX, opt, gred_policy); err 507 net/sched/sch_gred.c if (err < 0) err 508 net/sched/sch_gred.c return err; err 993 net/sched/sch_hfsc.c int err; err 998 net/sched/sch_hfsc.c err = nla_parse_nested(tb, TCA_HFSC_MAX, opt, hfsc_policy); err 999 net/sched/sch_hfsc.c if (err < 0) err 1000 net/sched/sch_hfsc.c return err; err 1431 net/sched/sch_hfsc.c int err; err 1438 net/sched/sch_hfsc.c err = qdisc_class_hash_init(&q->clhash); err 1439 net/sched/sch_hfsc.c if (err < 0) err 1440 net/sched/sch_hfsc.c return err; err 1577 net/sched/sch_hfsc.c int err; err 1579 net/sched/sch_hfsc.c cl = hfsc_classify(skb, sch, &err); err 1581 net/sched/sch_hfsc.c if (err & __NET_XMIT_BYPASS) err 1584 net/sched/sch_hfsc.c return err; err 1587 net/sched/sch_hfsc.c err = qdisc_enqueue(skb, cl->qdisc); err 1588 net/sched/sch_hfsc.c if (unlikely(err != NET_XMIT_SUCCESS)) { err 1589 net/sched/sch_hfsc.c if (net_xmit_drop_count(err)) { err 1593 net/sched/sch_hfsc.c return err; err 1002 net/sched/sch_htb.c int err; err 1008 net/sched/sch_htb.c err = nla_parse_nested(tb, TCA_HTB_INIT, opt, htb_policy); err 1009 net/sched/sch_htb.c if (err < 0) err 1010 net/sched/sch_htb.c return err; err 1024 net/sched/sch_htb.c err = qdisc_class_hash_init(&q->clhash); err 1025 net/sched/sch_htb.c if (err < 0) err 1026 net/sched/sch_htb.c return err; err 1313 net/sched/sch_htb.c int err = -EINVAL; err 1325 net/sched/sch_htb.c err = nla_parse_nested(tb, TCA_HTB_RTAB, opt, htb_policy); err 1326 net/sched/sch_htb.c if (err < 0) err 1329 net/sched/sch_htb.c err = -EINVAL; err 1370 net/sched/sch_htb.c err = -ENOBUFS; err 1481 net/sched/sch_htb.c return err; err 45 net/sched/sch_multiq.c int err; err 48 net/sched/sch_multiq.c err = tc_classify(skb, q->filter_list, &res); err 50 net/sched/sch_multiq.c switch (err) { err 258 net/sched/sch_multiq.c int i, err; err 273 net/sched/sch_multiq.c err = multiq_tune(sch,opt); err 275 net/sched/sch_multiq.c if (err) err 278 net/sched/sch_multiq.c return err; err 39 net/sched/sch_prio.c int err; err 43 net/sched/sch_prio.c err = tc_classify(skb, q->filter_list, &res); err 45 net/sched/sch_prio.c switch (err) { err 53 net/sched/sch_prio.c if (!q->filter_list || err < 0) { err 245 net/sched/sch_prio.c int err; err 247 net/sched/sch_prio.c if ((err= prio_tune(sch, opt)) != 0) err 248 net/sched/sch_prio.c return err; err 188 net/sched/sch_red.c int err; err 193 net/sched/sch_red.c err = nla_parse_nested(tb, TCA_RED_MAX, opt, red_policy); err 194 net/sched/sch_red.c if (err < 0) err 195 net/sched/sch_red.c return err; err 509 net/sched/sch_sfq.c int err = sfq_change(sch, opt); err 510 net/sched/sch_sfq.c if (err) err 511 net/sched/sch_sfq.c return err; err 248 net/sched/sch_tbf.c int err; err 257 net/sched/sch_tbf.c err = nla_parse_nested(tb, TCA_TBF_PTAB, opt, tbf_policy); err 258 net/sched/sch_tbf.c if (err < 0) err 259 net/sched/sch_tbf.c return err; err 261 net/sched/sch_tbf.c err = -EINVAL; err 294 net/sched/sch_tbf.c err = PTR_ERR(child); err 313 net/sched/sch_tbf.c err = 0; err 319 net/sched/sch_tbf.c return err; err 243 net/sched/sch_teql.c int err; err 246 net/sched/sch_teql.c err = dev_hard_header(skb, dev, ntohs(skb->protocol), err 250 net/sched/sch_teql.c if (err < 0) { err 462 net/sched/sch_teql.c int err = -ENODEV; err 471 net/sched/sch_teql.c err = -ENOMEM; err 475 net/sched/sch_teql.c if ((err = register_netdev(dev))) { err 483 net/sched/sch_teql.c err = register_qdisc(&master->qops); err 485 net/sched/sch_teql.c if (err) { err 493 net/sched/sch_teql.c return i ? 0 : err; err 79 net/sctp/associola.c int err; err 310 net/sctp/associola.c err = sctp_auth_asoc_copy_shkeys(ep, asoc, gfp); err 311 net/sctp/associola.c if (err) err 159 net/sctp/chunk.c int max, whole, i, offset, over, err; err 233 net/sctp/chunk.c err = sctp_user_addto_chunk(chunk, offset, len, msgh->msg_iov); err 234 net/sctp/chunk.c if (err < 0) err 265 net/sctp/chunk.c err = sctp_user_addto_chunk(chunk, offset, over,msgh->msg_iov); err 270 net/sctp/chunk.c if (err < 0) err 71 net/sctp/endpointola.c int err; err 166 net/sctp/endpointola.c err = sctp_auth_init_hmacs(ep, gfp); err 167 net/sctp/endpointola.c if (err) err 535 net/sctp/input.c int err; err 561 net/sctp/input.c err = EPROTO; err 579 net/sctp/input.c err = icmp_err_convert[code].errno; err 588 net/sctp/input.c err = EHOSTUNREACH; err 596 net/sctp/input.c sk->sk_err = err; err 599 net/sctp/input.c sk->sk_err_soft = err; err 622 net/sctp/input.c sctp_errhdr_t *err; err 666 net/sctp/input.c sctp_walk_errors(err, ch) { err 667 net/sctp/input.c if (SCTP_ERROR_STALE_COOKIE == err->cause) err 145 net/sctp/ipv6.c int err; err 182 net/sctp/ipv6.c icmpv6_err_convert(type, code, &err); err 184 net/sctp/ipv6.c sk->sk_err = err; err 187 net/sctp/ipv6.c sk->sk_err_soft = err; err 372 net/sctp/output.c int err = 0; err 383 net/sctp/output.c return err; err 595 net/sctp/output.c return err; err 608 net/sctp/output.c err: err 620 net/sctp/output.c err = -ENOMEM; err 621 net/sctp/output.c goto err; err 715 net/sctp/protocol.c int err; err 723 net/sctp/protocol.c err = inet_ctl_sock_create(&sctp_ctl_sock, family, err 725 net/sctp/protocol.c if (err < 0) { err 728 net/sctp/protocol.c return err; err 117 net/sctp/sm_make_chunk.c sctp_errhdr_t err; err 121 net/sctp/sm_make_chunk.c err.cause = cause_code; err 123 net/sctp/sm_make_chunk.c err.length = htons(len); err 124 net/sctp/sm_make_chunk.c chunk->subh.err_hdr = sctp_addto_chunk(chunk, sizeof(sctp_errhdr_t), &err); err 936 net/sctp/sm_make_chunk.c int err; err 948 net/sctp/sm_make_chunk.c err = memcpy_fromiovec(payload, msg->msg_iov, paylen); err 949 net/sctp/sm_make_chunk.c if (err < 0) err 1367 net/sctp/sm_make_chunk.c int err = 0; err 1373 net/sctp/sm_make_chunk.c if ((err = memcpy_fromiovecend(target, data, off, len))) err 1382 net/sctp/sm_make_chunk.c return err; err 667 net/sctp/sm_sideeffect.c int err = 0; err 671 net/sctp/sm_sideeffect.c err = sctp_do_sm(SCTP_EVENT_T_OTHER, err 677 net/sctp/sm_sideeffect.c return err; err 1417 net/sctp/sm_sideeffect.c sctp_cmd_init_failed(commands, asoc, cmd->obj.err); err 1422 net/sctp/sm_sideeffect.c subtype, chunk, cmd->obj.err); err 1674 net/sctp/sm_statefuns.c struct sctp_chunk *err; err 1708 net/sctp/sm_statefuns.c err = sctp_make_op_error(asoc, chunk, err 1711 net/sctp/sm_statefuns.c if (err) err 1713 net/sctp/sm_statefuns.c SCTP_CHUNK(err)); err 2174 net/sctp/sm_statefuns.c sctp_errhdr_t *err; err 2191 net/sctp/sm_statefuns.c sctp_walk_errors(err, chunk->chunk_hdr) { err 2192 net/sctp/sm_statefuns.c if (SCTP_ERROR_STALE_COOKIE == err->cause) err 2239 net/sctp/sm_statefuns.c sctp_errhdr_t *err; err 2252 net/sctp/sm_statefuns.c err = (sctp_errhdr_t *)(chunk->skb->data); err 2268 net/sctp/sm_statefuns.c stale = ntohl(*(__be32 *)((u8 *)err + sizeof(sctp_errhdr_t))); err 5781 net/sctp/sm_statefuns.c struct sctp_chunk *err; err 5902 net/sctp/sm_statefuns.c err = sctp_make_abort_no_data(asoc, chunk, tsn); err 5903 net/sctp/sm_statefuns.c if (err) { err 5905 net/sctp/sm_statefuns.c SCTP_CHUNK(err)); err 5942 net/sctp/sm_statefuns.c err = sctp_make_op_error(asoc, chunk, SCTP_ERROR_INV_STRM, err 5945 net/sctp/sm_statefuns.c if (err) err 5947 net/sctp/sm_statefuns.c SCTP_CHUNK(err)); err 888 net/sctp/socket.c int err; err 936 net/sctp/socket.c err = sctp_bindx_add(sk, kaddrs, addrcnt); err 937 net/sctp/socket.c if (err) err 939 net/sctp/socket.c err = sctp_send_asconf_add_ip(sk, kaddrs, addrcnt); err 943 net/sctp/socket.c err = sctp_bindx_rem(sk, kaddrs, addrcnt); err 944 net/sctp/socket.c if (err) err 946 net/sctp/socket.c err = sctp_send_asconf_del_ip(sk, kaddrs, addrcnt); err 950 net/sctp/socket.c err = -EINVAL; err 957 net/sctp/socket.c return err; err 979 net/sctp/socket.c int err = 0; err 997 net/sctp/socket.c err = -EISCONN; err 1012 net/sctp/socket.c err = -EINVAL; err 1019 net/sctp/socket.c err = sctp_verify_addr(sk, &to, af->sockaddr_len); err 1020 net/sctp/socket.c if (err) err 1036 net/sctp/socket.c err = -EISCONN; err 1038 net/sctp/socket.c err = -EALREADY; err 1047 net/sctp/socket.c err = -EADDRNOTAVAIL; err 1059 net/sctp/socket.c err = -EAGAIN; err 1072 net/sctp/socket.c err = -EACCES; err 1080 net/sctp/socket.c err = -ENOMEM; err 1089 net/sctp/socket.c err = -ENOMEM; err 1098 net/sctp/socket.c err = sctp_assoc_set_bind_addr_from_ep(asoc, GFP_KERNEL); err 1099 net/sctp/socket.c if (err < 0) { err 1103 net/sctp/socket.c err = sctp_primitive_ASSOCIATE(asoc, NULL); err 1104 net/sctp/socket.c if (err < 0) { err 1122 net/sctp/socket.c err = sctp_wait_for_connect(asoc, &timeo); err 1123 net/sctp/socket.c if (!err && assoc_id) err 1133 net/sctp/socket.c asoc, kaddrs, err); err 1136 net/sctp/socket.c return err; err 1206 net/sctp/socket.c int err = 0; err 1225 net/sctp/socket.c err = -EFAULT; err 1227 net/sctp/socket.c err = __sctp_connect(sk, kaddrs, addrs_size, assoc_id); err 1232 net/sctp/socket.c return err; err 1257 net/sctp/socket.c int err = 0; err 1259 net/sctp/socket.c err = __sctp_setsockopt_connectx(sk, addrs, addrs_size, &assoc_id); err 1261 net/sctp/socket.c if (err) err 1262 net/sctp/socket.c return err; err 1391 net/sctp/socket.c if (err == -EPIPE) err 1392 net/sctp/socket.c err = sock_error(sk) ? : -EPIPE; err 1393 net/sctp/socket.c if (err == -EPIPE && !(flags & MSG_NOSIGNAL)) err 1395 net/sctp/socket.c return err; err 1438 net/sctp/socket.c int err; err 1448 net/sctp/socket.c err = 0; err 1456 net/sctp/socket.c err = -EPIPE; err 1461 net/sctp/socket.c err = sctp_msghdr_parse(msg, &cmsgs); err 1463 net/sctp/socket.c if (err) { err 1464 net/sctp/socket.c SCTP_DEBUG_PRINTK("msghdr parse err = %x\n", err); err 1476 net/sctp/socket.c err = sctp_verify_addr(sk, (union sctp_addr *)msg->msg_name, err 1478 net/sctp/socket.c if (err) err 1479 net/sctp/socket.c return err; err 1501 net/sctp/socket.c err = -EINVAL; err 1512 net/sctp/socket.c err = -EINVAL; err 1520 net/sctp/socket.c err = -EINVAL; err 1543 net/sctp/socket.c err = -EADDRNOTAVAIL; err 1550 net/sctp/socket.c err = -EPIPE; err 1564 net/sctp/socket.c err = -EPIPE; err 1572 net/sctp/socket.c err = 0; err 1579 net/sctp/socket.c err = -ENOMEM; err 1585 net/sctp/socket.c err = 0; err 1595 net/sctp/socket.c err = -EINVAL; err 1607 net/sctp/socket.c err = -EINVAL; err 1614 net/sctp/socket.c err = -EINVAL; err 1629 net/sctp/socket.c err = -EAGAIN; err 1642 net/sctp/socket.c err = -EACCES; err 1650 net/sctp/socket.c err = -ENOMEM; err 1680 net/sctp/socket.c err = -ENOMEM; err 1683 net/sctp/socket.c err = sctp_assoc_set_bind_addr_from_ep(asoc, GFP_KERNEL); err 1684 net/sctp/socket.c if (err < 0) { err 1685 net/sctp/socket.c err = -ENOMEM; err 1710 net/sctp/socket.c err = -EMSGSIZE; err 1723 net/sctp/socket.c err = -EMSGSIZE; err 1730 net/sctp/socket.c err = -EINVAL; err 1737 net/sctp/socket.c err = sctp_wait_for_sndbuf(asoc, &timeo, msg_len); err 1738 net/sctp/socket.c if (err) err 1750 net/sctp/socket.c err = -EINVAL; err 1758 net/sctp/socket.c err = sctp_primitive_ASSOCIATE(asoc, NULL); err 1759 net/sctp/socket.c if (err < 0) err 1767 net/sctp/socket.c err = -ENOMEM; err 1785 net/sctp/socket.c err = sctp_primitive_SEND(asoc, chunk); err 1787 net/sctp/socket.c if (err) err 1793 net/sctp/socket.c if (err) err 1796 net/sctp/socket.c err = msg_len; err 1810 net/sctp/socket.c return sctp_error(sk, msg_flags, err); err 1815 net/sctp/socket.c err = msg_len; err 1817 net/sctp/socket.c err = sock_error(sk); err 1822 net/sctp/socket.c err = msg_len; err 1886 net/sctp/socket.c int err = 0; err 1897 net/sctp/socket.c err = -ENOTCONN; err 1901 net/sctp/socket.c skb = sctp_skb_recv_datagram(sk, flags, noblock, &err); err 1914 net/sctp/socket.c err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); err 1918 net/sctp/socket.c if (err) err 1938 net/sctp/socket.c err = copied; err 1979 net/sctp/socket.c return err; err 2829 net/sctp/socket.c int err; err 2865 net/sctp/socket.c err = sctp_send_asconf(asoc, chunk); err 2869 net/sctp/socket.c return err; err 3090 net/sctp/socket.c int err; err 3103 net/sctp/socket.c err = -EFAULT; err 3110 net/sctp/socket.c err = -EINVAL; err 3114 net/sctp/socket.c err = sctp_auth_ep_set_hmacs(sctp_sk(sk)->ep, hmacs); err 3117 net/sctp/socket.c return err; err 3401 net/sctp/socket.c int err = 0; err 3412 net/sctp/socket.c err = -EINVAL; err 3417 net/sctp/socket.c err = __sctp_connect(sk, addr, af->sockaddr_len, NULL); err 3421 net/sctp/socket.c return err; err 3485 net/sctp/socket.c *err = error; err 3878 net/sctp/socket.c int err = 0; err 3887 net/sctp/socket.c err = sock_create(sk->sk_family, SOCK_SEQPACKET, IPPROTO_SCTP, &sock); err 3888 net/sctp/socket.c if (err < 0) err 3889 net/sctp/socket.c return err; err 3906 net/sctp/socket.c return err; err 4554 net/sctp/socket.c int err = 0; err 4632 net/sctp/socket.c err = -EFAULT; err 4639 net/sctp/socket.c err = -EFAULT; err 4643 net/sctp/socket.c return err; err 4658 net/sctp/socket.c int err = 0; err 4702 net/sctp/socket.c err = cnt; err 4719 net/sctp/socket.c err = -ENOMEM; /*fixme: right error?*/ err 4731 net/sctp/socket.c err = -EFAULT; err 4735 net/sctp/socket.c err = -EFAULT; err 4739 net/sctp/socket.c err = -EFAULT; err 4742 net/sctp/socket.c return err; err 5824 net/sctp/socket.c int err = -EINVAL; err 5843 net/sctp/socket.c err = -ENOSYS; err 5850 net/sctp/socket.c err = sctp_seqpacket_listen(sk, backlog); err 5853 net/sctp/socket.c err = sctp_stream_listen(sk, backlog); err 5859 net/sctp/socket.c if (err) err 5867 net/sctp/socket.c return err; err 6178 net/sctp/socket.c *err = error; err 6231 net/sctp/socket.c } while (sctp_wait_for_packet(sk, err, &timeo) == 0); err 6236 net/sctp/socket.c *err = error; err 6322 net/sctp/socket.c int err = 0; err 6363 net/sctp/socket.c return err; err 6366 net/sctp/socket.c err = -EPIPE; err 6370 net/sctp/socket.c err = sock_intr_errno(*timeo_p); err 6374 net/sctp/socket.c err = -EAGAIN; err 6416 net/sctp/socket.c int err = 0; err 6458 net/sctp/socket.c return err; err 6462 net/sctp/socket.c err = -ETIMEDOUT; err 6464 net/sctp/socket.c err = -ECONNREFUSED; err 6468 net/sctp/socket.c err = sock_intr_errno(*timeo_p); err 6472 net/sctp/socket.c err = -EINPROGRESS; err 6479 net/sctp/socket.c int err = 0; err 6495 net/sctp/socket.c err = -EINVAL; err 6499 net/sctp/socket.c err = 0; err 6503 net/sctp/socket.c err = sock_intr_errno(timeo); err 6507 net/sctp/socket.c err = -EAGAIN; err 6514 net/sctp/socket.c return err; err 216 net/socket.c int err; err 219 net/socket.c err = get_user(len, ulen); err 220 net/socket.c if (err) err 221 net/socket.c return err; err 407 net/socket.c int err = sock_attach_fd(sock, newfile, flags); err 409 net/socket.c if (unlikely(err < 0)) { err 412 net/socket.c return err; err 424 net/socket.c *err = -ENOTSOCK; err 448 net/socket.c *err = -EBADF; err 452 net/socket.c sock = sock_from_file(file, err); err 463 net/socket.c *err = -EBADF; err 466 net/socket.c sock = sock_from_file(file, err); err 553 net/socket.c int err; err 560 net/socket.c err = security_socket_sendmsg(sock, msg, size); err 561 net/socket.c if (err) err 562 net/socket.c return err; err 633 net/socket.c int err; err 642 net/socket.c err = security_socket_recvmsg(sock, msg, size, flags); err 643 net/socket.c if (err) err 644 net/socket.c return err; err 858 net/socket.c int pid, err; err 865 net/socket.c err = dev_ioctl(net, cmd, argp); err 869 net/socket.c err = dev_ioctl(net, cmd, argp); err 875 net/socket.c err = -EFAULT; err 878 net/socket.c err = f_setown(sock->file, pid, 1); err 882 net/socket.c err = put_user(f_getown(sock->file), err 889 net/socket.c err = -ENOPKG; err 895 net/socket.c err = br_ioctl_hook(net, cmd, argp); err 900 net/socket.c err = -ENOPKG; err 906 net/socket.c err = vlan_ioctl_hook(net, argp); err 911 net/socket.c err = -ENOPKG; err 917 net/socket.c err = dlci_ioctl_hook(cmd, argp); err 921 net/socket.c err = sock->ops->ioctl(sock, cmd, arg); err 927 net/socket.c if (err == -ENOIOCTLCMD) err 928 net/socket.c err = dev_ioctl(net, cmd, argp); err 931 net/socket.c return err; err 936 net/socket.c int err; err 939 net/socket.c err = security_socket_create(family, type, protocol, 1); err 940 net/socket.c if (err) err 945 net/socket.c err = -ENOMEM; err 950 net/socket.c err = security_socket_post_create(sock, family, type, protocol, 1); err 951 net/socket.c if (err) err 956 net/socket.c return err; err 1099 net/socket.c int err; err 1126 net/socket.c err = security_socket_create(family, type, protocol, kern); err 1127 net/socket.c if (err) err 1128 net/socket.c return err; err 1158 net/socket.c err = -EAFNOSUPPORT; err 1172 net/socket.c err = pf->create(net, sock, protocol); err 1173 net/socket.c if (err < 0) err 1188 net/socket.c err = security_socket_post_create(sock, family, type, protocol, kern); err 1189 net/socket.c if (err) err 1196 net/socket.c err = -EAFNOSUPPORT; err 1202 net/socket.c return err; err 1264 net/socket.c int fd1, fd2, err; err 1281 net/socket.c err = sock_create(family, type, protocol, &sock1); err 1282 net/socket.c if (err < 0) err 1285 net/socket.c err = sock_create(family, type, protocol, &sock2); err 1286 net/socket.c if (err < 0) err 1289 net/socket.c err = sock1->ops->socketpair(sock1, sock2); err 1290 net/socket.c if (err < 0) err 1295 net/socket.c err = fd1; err 1301 net/socket.c err = fd2; err 1307 net/socket.c err = sock_attach_fd(sock1, newfile1, flags & O_NONBLOCK); err 1308 net/socket.c if (unlikely(err < 0)) { err 1312 net/socket.c err = sock_attach_fd(sock2, newfile2, flags & O_NONBLOCK); err 1313 net/socket.c if (unlikely(err < 0)) { err 1318 net/socket.c err = audit_fd_pair(fd1, fd2); err 1319 net/socket.c if (err < 0) { err 1331 net/socket.c err = put_user(fd1, &usockvec[0]); err 1332 net/socket.c if (!err) err 1333 net/socket.c err = put_user(fd2, &usockvec[1]); err 1334 net/socket.c if (!err) err 1339 net/socket.c return err; err 1346 net/socket.c return err; err 1372 net/socket.c int err, fput_needed; err 1374 net/socket.c sock = sockfd_lookup_light(fd, &err, &fput_needed); err 1376 net/socket.c err = move_addr_to_kernel(umyaddr, addrlen, (struct sockaddr *)&address); err 1377 net/socket.c if (err >= 0) { err 1378 net/socket.c err = security_socket_bind(sock, err 1381 net/socket.c if (!err) err 1382 net/socket.c err = sock->ops->bind(sock, err 1388 net/socket.c return err; err 1400 net/socket.c int err, fput_needed; err 1403 net/socket.c sock = sockfd_lookup_light(fd, &err, &fput_needed); err 1409 net/socket.c err = security_socket_listen(sock, backlog); err 1410 net/socket.c if (!err) err 1411 net/socket.c err = sock->ops->listen(sock, backlog); err 1415 net/socket.c return err; err 1435 net/socket.c int err, len, newfd, fput_needed; err 1444 net/socket.c sock = sockfd_lookup_light(fd, &err, &fput_needed); err 1448 net/socket.c err = -ENFILE; err 1463 net/socket.c err = newfd; err 1468 net/socket.c err = sock_attach_fd(newsock, newfile, flags & O_NONBLOCK); err 1469 net/socket.c if (err < 0) err 1472 net/socket.c err = security_socket_accept(sock, newsock); err 1473 net/socket.c if (err) err 1476 net/socket.c err = sock->ops->accept(sock, newsock, sock->file->f_flags); err 1477 net/socket.c if (err < 0) err 1483 net/socket.c err = -ECONNABORTED; err 1486 net/socket.c err = move_addr_to_user((struct sockaddr *)&address, err 1488 net/socket.c if (err < 0) err 1495 net/socket.c err = newfd; err 1502 net/socket.c return err; err 1593 net/socket.c int err, fput_needed; err 1595 net/socket.c sock = sockfd_lookup_light(fd, &err, &fput_needed); err 1598 net/socket.c err = move_addr_to_kernel(uservaddr, addrlen, (struct sockaddr *)&address); err 1599 net/socket.c if (err < 0) err 1602 net/socket.c err = err 1604 net/socket.c if (err) err 1607 net/socket.c err = sock->ops->connect(sock, (struct sockaddr *)&address, addrlen, err 1612 net/socket.c return err; err 1625 net/socket.c int len, err, fput_needed; err 1627 net/socket.c sock = sockfd_lookup_light(fd, &err, &fput_needed); err 1631 net/socket.c err = security_socket_getsockname(sock); err 1632 net/socket.c if (err) err 1635 net/socket.c err = sock->ops->getname(sock, (struct sockaddr *)&address, &len, 0); err 1636 net/socket.c if (err) err 1638 net/socket.c err = move_addr_to_user((struct sockaddr *)&address, len, usockaddr, usockaddr_len); err 1643 net/socket.c return err; err 1656 net/socket.c int len, err, fput_needed; err 1658 net/socket.c sock = sockfd_lookup_light(fd, &err, &fput_needed); err 1660 net/socket.c err = security_socket_getpeername(sock); err 1661 net/socket.c if (err) { err 1663 net/socket.c return err; err 1666 net/socket.c err = err 1669 net/socket.c if (!err) err 1670 net/socket.c err = move_addr_to_user((struct sockaddr *)&address, len, usockaddr, err 1674 net/socket.c return err; err 1689 net/socket.c int err; err 1694 net/socket.c sock = sockfd_lookup_light(fd, &err, &fput_needed); err 1707 net/socket.c err = move_addr_to_kernel(addr, addr_len, (struct sockaddr *)&address); err 1708 net/socket.c if (err < 0) err 1716 net/socket.c err = sock_sendmsg(sock, &msg, len); err 1721 net/socket.c return err; err 1747 net/socket.c int err, err2; err 1750 net/socket.c sock = sockfd_lookup_light(fd, &err, &fput_needed); err 1764 net/socket.c err = sock_recvmsg(sock, &msg, size, flags); err 1766 net/socket.c if (err >= 0 && addr != NULL) { err 1770 net/socket.c err = err2; err 1775 net/socket.c return err; err 1796 net/socket.c int err, fput_needed; err 1802 net/socket.c sock = sockfd_lookup_light(fd, &err, &fput_needed); err 1804 net/socket.c err = security_socket_setsockopt(sock, level, optname); err 1805 net/socket.c if (err) err 1809 net/socket.c err = err 1813 net/socket.c err = err 1819 net/socket.c return err; err 1830 net/socket.c int err, fput_needed; err 1833 net/socket.c sock = sockfd_lookup_light(fd, &err, &fput_needed); err 1835 net/socket.c err = security_socket_getsockopt(sock, level, optname); err 1836 net/socket.c if (err) err 1840 net/socket.c err = err 1844 net/socket.c err = err 1850 net/socket.c return err; err 1859 net/socket.c int err, fput_needed; err 1862 net/socket.c sock = sockfd_lookup_light(fd, &err, &fput_needed); err 1864 net/socket.c err = security_socket_shutdown(sock, how); err 1865 net/socket.c if (!err) err 1866 net/socket.c err = sock->ops->shutdown(sock, how); err 1869 net/socket.c return err; err 1895 net/socket.c int err, ctl_len, iov_size, total_len; err 1898 net/socket.c err = -EFAULT; err 1906 net/socket.c sock = sockfd_lookup_light(fd, &err, &fput_needed); err 1911 net/socket.c err = -EMSGSIZE; err 1916 net/socket.c err = -ENOMEM; err 1926 net/socket.c err = verify_compat_iovec(&msg_sys, iov, err 1930 net/socket.c err = verify_iovec(&msg_sys, iov, err 1933 net/socket.c if (err < 0) err 1935 net/socket.c total_len = err; err 1937 net/socket.c err = -ENOBUFS; err 1943 net/socket.c err = err 1946 net/socket.c if (err) err 1956 net/socket.c err = -EFAULT; err 1971 net/socket.c err = sock_sendmsg(sock, &msg_sys, total_len); err 1982 net/socket.c return err; err 1999 net/socket.c int err, iov_size, total_len, len; err 2016 net/socket.c sock = sockfd_lookup_light(fd, &err, &fput_needed); err 2020 net/socket.c err = -EMSGSIZE; err 2025 net/socket.c err = -ENOMEM; err 2041 net/socket.c err = verify_compat_iovec(&msg_sys, iov, err 2045 net/socket.c err = verify_iovec(&msg_sys, iov, err 2048 net/socket.c if (err < 0) err 2050 net/socket.c total_len = err; err 2057 net/socket.c err = sock_recvmsg(sock, &msg_sys, total_len, flags); err 2058 net/socket.c if (err < 0) err 2060 net/socket.c len = err; err 2063 net/socket.c err = move_addr_to_user((struct sockaddr *)&addr, err 2066 net/socket.c if (err < 0) err 2069 net/socket.c err = __put_user((msg_sys.msg_flags & ~MSG_CMSG_COMPAT), err 2071 net/socket.c if (err) err 2074 net/socket.c err = __put_user((unsigned long)msg_sys.msg_control - cmsg_ptr, err 2077 net/socket.c err = __put_user((unsigned long)msg_sys.msg_control - cmsg_ptr, err 2079 net/socket.c if (err) err 2081 net/socket.c err = len; err 2089 net/socket.c return err; err 2117 net/socket.c int err; err 2126 net/socket.c err = audit_socketcall(nargs[call] / sizeof(unsigned long), a); err 2127 net/socket.c if (err) err 2128 net/socket.c return err; err 2135 net/socket.c err = sys_socket(a0, a1, a[2]); err 2138 net/socket.c err = sys_bind(a0, (struct sockaddr __user *)a1, a[2]); err 2141 net/socket.c err = sys_connect(a0, (struct sockaddr __user *)a1, a[2]); err 2144 net/socket.c err = sys_listen(a0, a1); err 2147 net/socket.c err = err 2152 net/socket.c err = err 2157 net/socket.c err = err 2162 net/socket.c err = sys_socketpair(a0, a1, a[2], (int __user *)a[3]); err 2165 net/socket.c err = sys_send(a0, (void __user *)a1, a[2], a[3]); err 2168 net/socket.c err = sys_sendto(a0, (void __user *)a1, a[2], a[3], err 2172 net/socket.c err = sys_recv(a0, (void __user *)a1, a[2], a[3]); err 2175 net/socket.c err = sys_recvfrom(a0, (void __user *)a1, a[2], a[3], err 2180 net/socket.c err = sys_shutdown(a0, a1); err 2183 net/socket.c err = sys_setsockopt(a0, a1, a[2], (char __user *)a[3], a[4]); err 2186 net/socket.c err = err 2191 net/socket.c err = sys_sendmsg(a0, (struct msghdr __user *)a1, a[2]); err 2194 net/socket.c err = sys_recvmsg(a0, (struct msghdr __user *)a1, a[2]); err 2197 net/socket.c err = err 2204 net/socket.c err = -EINVAL; err 2207 net/socket.c return err; err 2223 net/socket.c int err; err 2233 net/socket.c err = -EEXIST; err 2236 net/socket.c err = 0; err 2241 net/socket.c return err; err 2356 net/socket.c int err; err 2358 net/socket.c err = sock_create_lite(sk->sk_family, sk->sk_type, sk->sk_protocol, err 2360 net/socket.c if (err < 0) err 2363 net/socket.c err = sock->ops->accept(sock, *newsock, flags); err 2364 net/socket.c if (err < 0) { err 2373 net/socket.c return err; err 2398 net/socket.c int err; err 2402 net/socket.c err = sock_getsockopt(sock, level, optname, optval, optlen); err 2404 net/socket.c err = sock->ops->getsockopt(sock, level, optname, optval, err 2407 net/socket.c return err; err 2414 net/socket.c int err; err 2418 net/socket.c err = sock_setsockopt(sock, level, optname, optval, optlen); err 2420 net/socket.c err = sock->ops->setsockopt(sock, level, optname, optval, err 2423 net/socket.c return err; err 2438 net/socket.c int err; err 2441 net/socket.c err = sock->ops->ioctl(sock, cmd, arg); err 2444 net/socket.c return err; err 538 net/sunrpc/auth.c int err; err 543 net/sunrpc/auth.c err = cred->cr_ops->crrefresh(task); err 544 net/sunrpc/auth.c if (err < 0) err 545 net/sunrpc/auth.c task->tk_status = err; err 546 net/sunrpc/auth.c return err; err 184 net/sunrpc/auth_gss/auth_gss.c goto err; err 191 net/sunrpc/auth_gss/auth_gss.c goto err; err 197 net/sunrpc/auth_gss/auth_gss.c goto err; err 202 net/sunrpc/auth_gss/auth_gss.c goto err; err 206 net/sunrpc/auth_gss/auth_gss.c goto err; err 210 net/sunrpc/auth_gss/auth_gss.c goto err; err 215 net/sunrpc/auth_gss/auth_gss.c goto err; err 218 net/sunrpc/auth_gss/auth_gss.c err: err 382 net/sunrpc/auth_gss/auth_gss.c int err = 0; err 388 net/sunrpc/auth_gss/auth_gss.c err = PTR_ERR(gss_msg); err 405 net/sunrpc/auth_gss/auth_gss.c err = gss_msg->msg.errno; err 410 net/sunrpc/auth_gss/auth_gss.c task->tk_pid, cred->cr_uid, err); err 411 net/sunrpc/auth_gss/auth_gss.c return err; err 421 net/sunrpc/auth_gss/auth_gss.c int err = 0; err 426 net/sunrpc/auth_gss/auth_gss.c err = PTR_ERR(gss_msg); err 437 net/sunrpc/auth_gss/auth_gss.c err = -ERESTARTSYS; err 445 net/sunrpc/auth_gss/auth_gss.c err = gss_msg->msg.errno; err 452 net/sunrpc/auth_gss/auth_gss.c cred->cr_uid, err); err 453 net/sunrpc/auth_gss/auth_gss.c return err; err 487 net/sunrpc/auth_gss/auth_gss.c ssize_t err = -EFBIG; err 491 net/sunrpc/auth_gss/auth_gss.c err = -ENOMEM; err 496 net/sunrpc/auth_gss/auth_gss.c err = -EFAULT; err 498 net/sunrpc/auth_gss/auth_gss.c goto err; err 503 net/sunrpc/auth_gss/auth_gss.c err = PTR_ERR(p); err 504 net/sunrpc/auth_gss/auth_gss.c goto err; err 507 net/sunrpc/auth_gss/auth_gss.c err = -ENOMEM; err 510 net/sunrpc/auth_gss/auth_gss.c goto err; err 512 net/sunrpc/auth_gss/auth_gss.c err = -ENOENT; err 525 net/sunrpc/auth_gss/auth_gss.c err = PTR_ERR(p); err 526 net/sunrpc/auth_gss/auth_gss.c gss_msg->msg.errno = (err == -EAGAIN) ? -EAGAIN : -EACCES; err 530 net/sunrpc/auth_gss/auth_gss.c err = mlen; err 539 net/sunrpc/auth_gss/auth_gss.c err: err 542 net/sunrpc/auth_gss/auth_gss.c dprintk("RPC: gss_pipe_downcall returning %Zd\n", err); err 543 net/sunrpc/auth_gss/auth_gss.c return err; err 599 net/sunrpc/auth_gss/auth_gss.c int err = -ENOMEM; /* XXX? */ err 604 net/sunrpc/auth_gss/auth_gss.c return ERR_PTR(err); err 608 net/sunrpc/auth_gss/auth_gss.c err = -EINVAL; err 629 net/sunrpc/auth_gss/auth_gss.c err = PTR_ERR(gss_auth->dentry); err 633 net/sunrpc/auth_gss/auth_gss.c err = rpcauth_init_credcache(auth); err 634 net/sunrpc/auth_gss/auth_gss.c if (err) err 646 net/sunrpc/auth_gss/auth_gss.c return ERR_PTR(err); err 789 net/sunrpc/auth_gss/auth_gss.c int err = -ENOMEM; err 809 net/sunrpc/auth_gss/auth_gss.c dprintk("RPC: gss_create_cred failed with error %d\n", err); err 810 net/sunrpc/auth_gss/auth_gss.c return ERR_PTR(err); err 818 net/sunrpc/auth_gss/auth_gss.c int err; err 821 net/sunrpc/auth_gss/auth_gss.c err = gss_create_upcall(gss_auth, gss_cred); err 822 net/sunrpc/auth_gss/auth_gss.c } while (err == -EAGAIN); err 823 net/sunrpc/auth_gss/auth_gss.c return err; err 1349 net/sunrpc/auth_gss/auth_gss.c int err = 0; err 1351 net/sunrpc/auth_gss/auth_gss.c err = rpcauth_register(&authgss_ops); err 1352 net/sunrpc/auth_gss/auth_gss.c if (err) err 1354 net/sunrpc/auth_gss/auth_gss.c err = gss_svc_init(); err 1355 net/sunrpc/auth_gss/auth_gss.c if (err) err 1361 net/sunrpc/auth_gss/auth_gss.c return err; err 134 net/sunrpc/auth_gss/gss_krb5_crypto.c int err; err 142 net/sunrpc/auth_gss/gss_krb5_crypto.c err = crypto_hash_init(&desc); err 143 net/sunrpc/auth_gss/gss_krb5_crypto.c if (err) err 146 net/sunrpc/auth_gss/gss_krb5_crypto.c err = crypto_hash_update(&desc, sg, hdrlen); err 147 net/sunrpc/auth_gss/gss_krb5_crypto.c if (err) err 149 net/sunrpc/auth_gss/gss_krb5_crypto.c err = xdr_process_buf(body, body_offset, body->len - body_offset, err 151 net/sunrpc/auth_gss/gss_krb5_crypto.c if (err) err 153 net/sunrpc/auth_gss/gss_krb5_crypto.c err = crypto_hash_final(&desc, cksum->data); err 157 net/sunrpc/auth_gss/gss_krb5_crypto.c return err ? GSS_S_FAILURE : 0; err 196 net/sunrpc/auth_gss/gss_spkm3_mech.c u32 err = 0; err 199 net/sunrpc/auth_gss/gss_spkm3_mech.c err = spkm3_make_token(sctx, message_buffer, err 201 net/sunrpc/auth_gss/gss_spkm3_mech.c dprintk("RPC: gss_get_mic_spkm3 returning %d\n", err); err 202 net/sunrpc/auth_gss/gss_spkm3_mech.c return err; err 148 net/sunrpc/auth_gss/gss_spkm3_seal.c int err; err 168 net/sunrpc/auth_gss/gss_spkm3_seal.c err = crypto_hash_setkey(desc.tfm, key->data, key->len); err 169 net/sunrpc/auth_gss/gss_spkm3_seal.c if (err) err 172 net/sunrpc/auth_gss/gss_spkm3_seal.c err = crypto_hash_init(&desc); err 173 net/sunrpc/auth_gss/gss_spkm3_seal.c if (err) err 186 net/sunrpc/auth_gss/gss_spkm3_seal.c return err ? GSS_S_FAILURE : 0; err 700 net/sunrpc/cache.c int err; err 729 net/sunrpc/cache.c err = -EAGAIN; err 736 net/sunrpc/cache.c err = -EFAULT; err 746 net/sunrpc/cache.c err = 0; err 763 net/sunrpc/cache.c if (err == -EAGAIN) err 766 net/sunrpc/cache.c return err ? err : count; err 775 net/sunrpc/cache.c int err; err 791 net/sunrpc/cache.c err = cd->cache_parse(cd, write_buf, count); err 793 net/sunrpc/cache.c err = -EINVAL; err 796 net/sunrpc/cache.c return err ? err : count; err 131 net/sunrpc/clnt.c int err; err 135 net/sunrpc/clnt.c err = -EINVAL; err 144 net/sunrpc/clnt.c err = rpciod_up(); err 145 net/sunrpc/clnt.c if (err) err 147 net/sunrpc/clnt.c err = -EINVAL; err 157 net/sunrpc/clnt.c err = -ENOMEM; err 181 net/sunrpc/clnt.c err = -ENOMEM; err 203 net/sunrpc/clnt.c err = rpc_setup_pipedir(clnt, program->pipe_dir_name); err 204 net/sunrpc/clnt.c if (err < 0) err 211 net/sunrpc/clnt.c err = PTR_ERR(auth); err 239 net/sunrpc/clnt.c return ERR_PTR(err); err 312 net/sunrpc/clnt.c int err = rpc_ping(clnt, RPC_TASK_SOFT); err 313 net/sunrpc/clnt.c if (err != 0) { err 315 net/sunrpc/clnt.c return ERR_PTR(err); err 343 net/sunrpc/clnt.c int err = -ENOMEM; err 358 net/sunrpc/clnt.c err = rpc_setup_pipedir(new, clnt->cl_program->pipe_dir_name); err 359 net/sunrpc/clnt.c if (err != 0) err 373 net/sunrpc/clnt.c dprintk("RPC: %s: returned error %d\n", __func__, err); err 374 net/sunrpc/clnt.c return ERR_PTR(err); err 479 net/sunrpc/clnt.c int err; err 492 net/sunrpc/clnt.c err = rpc_ping(clnt, RPC_TASK_SOFT); err 493 net/sunrpc/clnt.c if (err != 0) { err 495 net/sunrpc/clnt.c clnt = ERR_PTR(err); err 1510 net/sunrpc/clnt.c int err; err 1512 net/sunrpc/clnt.c err = rpc_call_sync(clnt, &msg, flags); err 1514 net/sunrpc/clnt.c return err; err 50 net/sunrpc/rpc_pipe.c msg->errno = err; err 449 net/sunrpc/rpc_pipe.c int err; err 451 net/sunrpc/rpc_pipe.c err = simple_pin_fs(&rpc_pipe_fs_type, &rpc_mount, &rpc_mount_count); err 452 net/sunrpc/rpc_pipe.c if (err != 0) err 453 net/sunrpc/rpc_pipe.c return ERR_PTR(err); err 920 net/sunrpc/rpc_pipe.c int err; err 929 net/sunrpc/rpc_pipe.c err = register_filesystem(&rpc_pipe_fs_type); err 930 net/sunrpc/rpc_pipe.c if (err) { err 932 net/sunrpc/rpc_pipe.c return err; err 30 net/sunrpc/sunrpc_syms.c int err = register_rpc_pipefs(); err 31 net/sunrpc/sunrpc_syms.c if (err) err 33 net/sunrpc/sunrpc_syms.c err = rpc_init_mempool(); err 34 net/sunrpc/sunrpc_syms.c if (err) { err 50 net/sunrpc/sunrpc_syms.c return err; err 70 net/sunrpc/svc.c int err; err 74 net/sunrpc/svc.c err = -EBUSY; err 78 net/sunrpc/svc.c err = 0; err 88 net/sunrpc/svc.c err = -EINVAL; err 92 net/sunrpc/svc.c return err; err 182 net/sunrpc/svc.c int err; err 184 net/sunrpc/svc.c err = svc_pool_map_alloc_arrays(m, maxpools); err 185 net/sunrpc/svc.c if (err) err 186 net/sunrpc/svc.c return err; err 210 net/sunrpc/svc.c int err; err 212 net/sunrpc/svc.c err = svc_pool_map_alloc_arrays(m, maxpools); err 213 net/sunrpc/svc.c if (err) err 214 net/sunrpc/svc.c return err; err 209 net/sunrpc/svc_xprt.c goto err; err 225 net/sunrpc/svc_xprt.c err: err 193 net/sunrpc/svcauth_unix.c int err; err 247 net/sunrpc/svcauth_unix.c err = ip_map_update(ipmp, err 251 net/sunrpc/svcauth_unix.c err = -ENOMEM; err 257 net/sunrpc/svcauth_unix.c return err; err 547 net/sunrpc/svcauth_unix.c int err; err 575 net/sunrpc/svcauth_unix.c err = -EINVAL; err 590 net/sunrpc/svcauth_unix.c err = -ENOMEM; err 592 net/sunrpc/svcauth_unix.c err = 0; err 596 net/sunrpc/svcauth_unix.c err = -ENOMEM; err 600 net/sunrpc/svcauth_unix.c return err; err 300 net/sunrpc/svcsock.c int avail, err; err 302 net/sunrpc/svcsock.c err = kernel_sock_ioctl(sock, TIOCINQ, (unsigned long) &avail); err 304 net/sunrpc/svcsock.c return (err >= 0)? avail : err; err 434 net/sunrpc/svcsock.c int err, len; err 457 net/sunrpc/svcsock.c err = kernel_recvmsg(svsk->sk_sock, &msg, NULL, err 459 net/sunrpc/svcsock.c if (err >= 0) err 460 net/sunrpc/svcsock.c skb = skb_recv_datagram(svsk->sk_sk, 0, 1, &err); err 463 net/sunrpc/svcsock.c if (err != -EAGAIN) { err 465 net/sunrpc/svcsock.c dprintk("svc: recvfrom returned error %d\n", -err); err 720 net/sunrpc/svcsock.c int err, slen; err 728 net/sunrpc/svcsock.c err = kernel_accept(sock, &newsock, O_NONBLOCK); err 729 net/sunrpc/svcsock.c if (err < 0) { err 730 net/sunrpc/svcsock.c if (err == -ENOMEM) err 733 net/sunrpc/svcsock.c else if (err != -EAGAIN && net_ratelimit()) err 735 net/sunrpc/svcsock.c serv->sv_name, -err); err 740 net/sunrpc/svcsock.c err = kernel_getpeername(newsock, sin, &slen); err 741 net/sunrpc/svcsock.c if (err < 0) { err 744 net/sunrpc/svcsock.c serv->sv_name, -err); err 766 net/sunrpc/svcsock.c if (!(newsvsk = svc_setup_socket(serv, newsock, &err, err 770 net/sunrpc/svcsock.c err = kernel_getsockname(newsock, sin, &slen); err 771 net/sunrpc/svcsock.c if (unlikely(err < 0)) { err 772 net/sunrpc/svcsock.c dprintk("svc_tcp_accept: kernel_getsockname error %d\n", -err); err 1172 net/sunrpc/svcsock.c int err = 0; err 1173 net/sunrpc/svcsock.c struct socket *so = sockfd_lookup(fd, &err); err 1177 net/sunrpc/svcsock.c return err; err 1179 net/sunrpc/svcsock.c err = -EAFNOSUPPORT; err 1182 net/sunrpc/svcsock.c err = -EPROTONOSUPPORT; err 1184 net/sunrpc/svcsock.c err = -EISCONN; err 1186 net/sunrpc/svcsock.c svsk = svc_setup_socket(serv, so, &err, SVC_SOCK_DEFAULTS); err 1198 net/sunrpc/svcsock.c err = 0; err 1201 net/sunrpc/svcsock.c if (err) { err 1203 net/sunrpc/svcsock.c return err; err 834 net/sunrpc/xdr.c int err; err 861 net/sunrpc/xdr.c err = desc->xcode(desc, c); err 862 net/sunrpc/xdr.c if (err) err 870 net/sunrpc/xdr.c err = -ENOMEM; err 875 net/sunrpc/xdr.c err = desc->xcode(desc, elem); err 876 net/sunrpc/xdr.c if (err) err 909 net/sunrpc/xdr.c err = -ENOMEM; err 915 net/sunrpc/xdr.c err = desc->xcode(desc, elem); err 916 net/sunrpc/xdr.c if (err) err 927 net/sunrpc/xdr.c err = desc->xcode(desc, elem); err 928 net/sunrpc/xdr.c if (err) err 937 net/sunrpc/xdr.c err = desc->xcode(desc, c); err 938 net/sunrpc/xdr.c if (err) err 949 net/sunrpc/xdr.c err = -ENOMEM; err 955 net/sunrpc/xdr.c err = desc->xcode(desc, elem); err 956 net/sunrpc/xdr.c if (err) err 967 net/sunrpc/xdr.c err = desc->xcode(desc, elem); err 968 net/sunrpc/xdr.c if (err) err 997 net/sunrpc/xdr.c err = desc->xcode(desc, elem); err 998 net/sunrpc/xdr.c if (err) err 1005 net/sunrpc/xdr.c err = desc->xcode(desc, c); err 1006 net/sunrpc/xdr.c if (err) err 1012 net/sunrpc/xdr.c err = 0; err 1018 net/sunrpc/xdr.c return err; err 816 net/sunrpc/xprt.c int err = 0; err 822 net/sunrpc/xprt.c err = req->rq_received; err 826 net/sunrpc/xprt.c err = -EAGAIN; err 831 net/sunrpc/xprt.c err = -ENOTCONN; err 836 net/sunrpc/xprt.c return err; err 323 net/sunrpc/xprtrdma/svc_rdma_marshal.c *va++ = htonl(err); err 324 net/sunrpc/xprtrdma/svc_rdma_marshal.c if (err == ERR_VERS) { err 384 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c int err = 0; err 417 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c err = -EIO; err 447 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c err = rdma_set_ctxt_sge(xprt, ctxt, hdr_ctxt->frmr, err 451 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c if (err) { err 490 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c err = svc_rdma_send(xprt, &read_wr); err 491 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c if (err) { err 493 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c err); err 506 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c err = 1; err 524 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c return err; err 297 net/sunrpc/xprtrdma/svc_rdma_sendto.c goto err; err 328 net/sunrpc/xprtrdma/svc_rdma_sendto.c goto err; err 330 net/sunrpc/xprtrdma/svc_rdma_sendto.c err: err 534 net/sunrpc/xprtrdma/svc_rdma_sendto.c goto err; err 553 net/sunrpc/xprtrdma/svc_rdma_sendto.c goto err; err 602 net/sunrpc/xprtrdma/svc_rdma_sendto.c goto err; err 606 net/sunrpc/xprtrdma/svc_rdma_sendto.c err: err 729 net/sunrpc/xprtrdma/svc_rdma_transport.c goto err; err 749 net/sunrpc/xprtrdma/svc_rdma_transport.c err: err 1314 net/sunrpc/xprtrdma/svc_rdma_transport.c length = svc_rdma_xdr_encode_error(xprt, rmsgp, err, va); err 525 net/sunrpc/xprtrdma/verbs.c int rc, err; err 651 net/sunrpc/xprtrdma/verbs.c err = ib_destroy_cq(ep->rep_cq); err 652 net/sunrpc/xprtrdma/verbs.c if (err) err 654 net/sunrpc/xprtrdma/verbs.c __func__, err); err 430 net/sunrpc/xprtsock.c int err, sent = 0; err 443 net/sunrpc/xprtsock.c err = sock->ops->sendpage(sock, *ppage, base, len, flags); err 444 net/sunrpc/xprtsock.c if (remainder == 0 || err != len) err 446 net/sunrpc/xprtsock.c sent += err; err 451 net/sunrpc/xprtsock.c return err; err 452 net/sunrpc/xprtsock.c if (err > 0) err 453 net/sunrpc/xprtsock.c sent += err; err 469 net/sunrpc/xprtsock.c int err, sent = 0; err 483 net/sunrpc/xprtsock.c err = xs_send_kvec(sock, addr, addrlen, &xdr->head[0], base, remainder != 0); err 484 net/sunrpc/xprtsock.c if (remainder == 0 || err != len) err 486 net/sunrpc/xprtsock.c sent += err; err 494 net/sunrpc/xprtsock.c err = xs_send_pagedata(sock, xdr, base, remainder != 0); err 495 net/sunrpc/xprtsock.c if (remainder == 0 || err != len) err 497 net/sunrpc/xprtsock.c sent += err; err 504 net/sunrpc/xprtsock.c err = xs_send_kvec(sock, NULL, 0, &xdr->tail[0], base, 0); err 507 net/sunrpc/xprtsock.c return err; err 508 net/sunrpc/xprtsock.c if (err > 0) err 509 net/sunrpc/xprtsock.c sent += err; err 821 net/sunrpc/xprtsock.c int err, repsize, copied; err 830 net/sunrpc/xprtsock.c if ((skb = skb_recv_datagram(sk, 0, 1, &err)) == NULL) err 1358 net/sunrpc/xprtsock.c int err, nloop = 0; err 1366 net/sunrpc/xprtsock.c err = kernel_bind(sock, (struct sockaddr *) &myaddr, err 1370 net/sunrpc/xprtsock.c if (err == 0) { err 1378 net/sunrpc/xprtsock.c } while (err == -EADDRINUSE && nloop != 2); err 1381 net/sunrpc/xprtsock.c port, err ? "failed" : "ok", err); err 1382 net/sunrpc/xprtsock.c return err; err 1391 net/sunrpc/xprtsock.c int err, nloop = 0; err 1399 net/sunrpc/xprtsock.c err = kernel_bind(sock, (struct sockaddr *) &myaddr, err 1403 net/sunrpc/xprtsock.c if (err == 0) { err 1411 net/sunrpc/xprtsock.c } while (err == -EADDRINUSE && nloop != 2); err 1413 net/sunrpc/xprtsock.c NIP6(myaddr.sin6_addr), port, err ? "failed" : "ok", err); err 1414 net/sunrpc/xprtsock.c return err; err 1489 net/sunrpc/xprtsock.c int err, status = -EIO; err 1497 net/sunrpc/xprtsock.c if ((err = sock_create_kern(PF_INET, SOCK_DGRAM, IPPROTO_UDP, &sock)) < 0) { err 1498 net/sunrpc/xprtsock.c dprintk("RPC: can't create UDP transport socket (%d).\n", -err); err 1530 net/sunrpc/xprtsock.c int err, status = -EIO; err 1538 net/sunrpc/xprtsock.c if ((err = sock_create_kern(PF_INET6, SOCK_DGRAM, IPPROTO_UDP, &sock)) < 0) { err 1539 net/sunrpc/xprtsock.c dprintk("RPC: can't create UDP transport socket (%d).\n", -err); err 1634 net/sunrpc/xprtsock.c int err, status = -EIO; err 1641 net/sunrpc/xprtsock.c if ((err = sock_create_kern(PF_INET, SOCK_STREAM, IPPROTO_TCP, &sock)) < 0) { err 1642 net/sunrpc/xprtsock.c dprintk("RPC: can't create TCP transport socket (%d).\n", -err); err 1694 net/sunrpc/xprtsock.c int err, status = -EIO; err 1701 net/sunrpc/xprtsock.c if ((err = sock_create_kern(PF_INET6, SOCK_STREAM, IPPROTO_TCP, &sock)) < 0) { err 1702 net/sunrpc/xprtsock.c dprintk("RPC: can't create TCP transport socket (%d).\n", -err); err 693 net/tipc/config.c err("Unable to create configuration service\n"); err 200 net/tipc/core.c err("Unable to start in single node mode\n"); err 152 net/tipc/dbg.c char *err = "\n\n*** PRINT BUFFER OVERFLOW ***\n\n"; err 166 net/tipc/dbg.c memcpy(pb->buf, err, strlen(err)); err 169 net/tipc/dbg.c tipc_printf(pb, err); err 60 net/tipc/handler.c err("Signal request ignored by handler\n"); err 67 net/tipc/handler.c err("Signal queue out of memory\n"); err 517 net/tipc/link.c err("Attempt to delete non-existent link\n"); err 852 net/tipc/link.c err("Unknown link event %u in WW state\n", event); err 913 net/tipc/link.c err("Unknown link event %u in WU state\n", event); err 956 net/tipc/link.c err("Unknown link event %u in RU state\n", event); err 990 net/tipc/link.c err("Unknown link event %u in RR state\n", event); err 994 net/tipc/link.c err("Unknown link state %u/%u\n", l_ptr->state, event); err 2561 net/tipc/link.c err("Unexpected changeover message on link <%s>\n", err 172 net/tipc/msg.h msg_set_bits(m, 1, 25, 0xf, err); err 229 net/tipc/name_distr.c err("Unable to remove publication from failed node\n" err 283 net/tipc/name_distr.c err("Unable to remove publication by node 0x%x\n" err 441 net/tipc/name_table.c err("Unable to de-list cluster publication\n" err 472 net/tipc/name_table.c err("Unable to de-list node publication\n" err 815 net/tipc/name_table.c err("Unable to remove local publication\n" err 1098 net/tipc/name_table.c err("tipc_nametbl_stop(): hash chain %u is non-null\n", i); err 91 net/tipc/netlink.c goto err; err 103 net/tipc/netlink.c err: err 104 net/tipc/netlink.c err("Failed to register netlink interface\n"); err 270 net/tipc/node.c err("Attempt to create third link to %s\n", err 281 net/tipc/node.c err("Attempt to establish second link on <%s> to %s \n", err 400 net/tipc/port.c msg_set_errcode(msg, err); err 444 net/tipc/port.c msg_set_errcode(rmsg, err); err 465 net/tipc/port.c abuf = port_build_self_abort_msg(p_ptr, err); err 489 net/tipc/port.c return tipc_reject_msg(buf, err); err 554 net/tipc/port.c err, err 574 net/tipc/port.c err, err 583 net/tipc/port.c u32 err = TIPC_OK; err 590 net/tipc/port.c err = TIPC_ERR_NO_PORT; err 593 net/tipc/port.c err = TIPC_ERR_NO_PORT; err 595 net/tipc/port.c err = TIPC_ERR_NO_PORT; err 596 net/tipc/port.c if (!err && msg_routed(msg)) { err 600 net/tipc/port.c err = TIPC_ERR_NO_PORT; err 601 net/tipc/port.c abort_buf = port_build_self_abort_msg(p_ptr, err); err 618 net/tipc/port.c err = TIPC_ERR_NO_PORT; err 620 net/tipc/port.c if (err) { err 627 net/tipc/port.c err, err 828 net/tipc/port.c goto err; err 889 net/tipc/port.c err: err 175 net/tipc/port.h u32 err; err 190 net/tipc/port.h err = TIPC_ERR_NO_PORT; err 195 net/tipc/port.h err = p_ptr->dispatcher(&p_ptr->publ, buf); err 197 net/tipc/port.h if (likely(!err)) err 200 net/tipc/port.h err = TIPC_ERR_NO_PORT; err 203 net/tipc/port.h dbg("port->rejecting, err = %x..\n",err); err 204 net/tipc/port.h return tipc_reject_msg(buf, err); err 163 net/tipc/ref.c err("Attempt to acquire reference to non-existent object\n"); err 167 net/tipc/ref.c err("Reference table not found during acquisition attempt\n"); err 219 net/tipc/ref.c err("Reference table not found during discard attempt\n"); err 230 net/tipc/ref.c err("Attempt to discard reference to non-existent object\n"); err 234 net/tipc/ref.c err("Attempt to discard non-existent reference\n"); err 293 net/tipc/ref.c err("Attempt to unlock non-existent reference\n"); err 825 net/tipc/socket.c u32 err; err 835 net/tipc/socket.c err = msg ? msg_errcode(msg) : 0; err 836 net/tipc/socket.c if (unlikely(err)) { err 837 net/tipc/socket.c anc_data[0] = err; err 900 net/tipc/socket.c u32 err; err 945 net/tipc/socket.c err = msg_errcode(msg); err 957 net/tipc/socket.c if ((!sz) && (!err)) { err 974 net/tipc/socket.c if (!err) { err 987 net/tipc/socket.c ((err == TIPC_CONN_SHUTDOWN) || m->msg_control)) err 1032 net/tipc/socket.c u32 err; err 1078 net/tipc/socket.c err = msg_errcode(msg); err 1082 net/tipc/socket.c if ((!sz) && (!err)) { err 1098 net/tipc/socket.c if (!err) { err 1121 net/tipc/socket.c if ((err == TIPC_CONN_SHUTDOWN) || m->msg_control) err 1142 net/tipc/socket.c && (!err) /* ... and haven't reached a FIN */ err 1863 net/tipc/socket.c err("Failed to register TIPC protocol type\n"); err 1869 net/tipc/socket.c err("Failed to register TIPC socket type\n"); err 582 net/tipc/subscr.c err("Failed to create subscription service\n"); err 51 net/tipc/zone.c err("Zone creation failed, invalid domain 0x%x\n", addr); err 451 net/unix/af_unix.c int err; err 455 net/unix/af_unix.c err = -EOPNOTSUPP; err 458 net/unix/af_unix.c err = -EINVAL; err 472 net/unix/af_unix.c err = 0; err 477 net/unix/af_unix.c return err; err 666 net/unix/af_unix.c int err; err 670 net/unix/af_unix.c err = 0; err 674 net/unix/af_unix.c err = -ENOMEM; err 703 net/unix/af_unix.c err = 0; err 706 net/unix/af_unix.c return err; err 715 net/unix/af_unix.c int err = 0; err 718 net/unix/af_unix.c err = path_lookup(sunname->sun_path, LOOKUP_FOLLOW, &nd); err 719 net/unix/af_unix.c if (err) err 721 net/unix/af_unix.c err = vfs_permission(&nd, MAY_WRITE); err 722 net/unix/af_unix.c if (err) err 725 net/unix/af_unix.c err = -ECONNREFUSED; err 737 net/unix/af_unix.c err=-EPROTOTYPE; err 743 net/unix/af_unix.c err = -ECONNREFUSED; err 758 net/unix/af_unix.c *error=err; err 771 net/unix/af_unix.c int err; err 776 net/unix/af_unix.c err = -EINVAL; err 781 net/unix/af_unix.c err = unix_autobind(sock); err 785 net/unix/af_unix.c err = unix_mkname(sunaddr, addr_len, &hash); err 786 net/unix/af_unix.c if (err < 0) err 788 net/unix/af_unix.c addr_len = err; err 792 net/unix/af_unix.c err = -EINVAL; err 796 net/unix/af_unix.c err = -ENOMEM; err 808 net/unix/af_unix.c err = 0; err 813 net/unix/af_unix.c err = path_lookup(sunaddr->sun_path, LOOKUP_PARENT, &nd); err 814 net/unix/af_unix.c if (err) err 818 net/unix/af_unix.c err = PTR_ERR(dentry); err 827 net/unix/af_unix.c err = mnt_want_write(nd.path.mnt); err 828 net/unix/af_unix.c if (err) err 830 net/unix/af_unix.c err = vfs_mknod(nd.path.dentry->d_inode, dentry, mode, 0); err 832 net/unix/af_unix.c if (err) err 844 net/unix/af_unix.c err = -EADDRINUSE; err 858 net/unix/af_unix.c err = 0; err 868 net/unix/af_unix.c return err; err 876 net/unix/af_unix.c if (err==-EEXIST) err 877 net/unix/af_unix.c err=-EADDRINUSE; err 915 net/unix/af_unix.c int err; err 918 net/unix/af_unix.c err = unix_mkname(sunaddr, alen, &hash); err 919 net/unix/af_unix.c if (err < 0) err 921 net/unix/af_unix.c alen = err; err 924 net/unix/af_unix.c !unix_sk(sk)->addr && (err = unix_autobind(sock)) != 0) err 928 net/unix/af_unix.c other=unix_find_other(net, sunaddr, alen, sock->type, hash, &err); err 941 net/unix/af_unix.c err = -EPERM; err 945 net/unix/af_unix.c err = security_unix_may_send(sk->sk_socket, other->sk_socket); err 946 net/unix/af_unix.c if (err) err 978 net/unix/af_unix.c return err; err 1014 net/unix/af_unix.c int err; err 1017 net/unix/af_unix.c err = unix_mkname(sunaddr, addr_len, &hash); err 1018 net/unix/af_unix.c if (err < 0) err 1020 net/unix/af_unix.c addr_len = err; err 1023 net/unix/af_unix.c && !u->addr && (err = unix_autobind(sock)) != 0) err 1033 net/unix/af_unix.c err = -ENOMEM; err 1047 net/unix/af_unix.c other = unix_find_other(net, sunaddr, addr_len, sk->sk_type, hash, &err); err 1061 net/unix/af_unix.c err = -ECONNREFUSED; err 1066 net/unix/af_unix.c err = -EAGAIN; err 1072 net/unix/af_unix.c err = sock_intr_errno(timeo); err 1098 net/unix/af_unix.c err = -EISCONN; err 1101 net/unix/af_unix.c err = -EINVAL; err 1114 net/unix/af_unix.c err = security_unix_stream_connect(sock, other->sk_socket, newsk); err 1115 net/unix/af_unix.c if (err) { err 1175 net/unix/af_unix.c return err; err 1205 net/unix/af_unix.c int err; err 1207 net/unix/af_unix.c err = -EOPNOTSUPP; err 1211 net/unix/af_unix.c err = -EINVAL; err 1219 net/unix/af_unix.c skb = skb_recv_datagram(sk, 0, flags&O_NONBLOCK, &err); err 1222 net/unix/af_unix.c if (err == 0) err 1223 net/unix/af_unix.c err = -EINVAL; err 1239 net/unix/af_unix.c return err; err 1248 net/unix/af_unix.c int err = 0; err 1253 net/unix/af_unix.c err = -ENOTCONN; err 1256 net/unix/af_unix.c err = 0; err 1276 net/unix/af_unix.c return err; err 1327 net/unix/af_unix.c int err; err 1335 net/unix/af_unix.c err = scm_send(sock, msg, siocb->scm); err 1336 net/unix/af_unix.c if (err < 0) err 1337 net/unix/af_unix.c return err; err 1339 net/unix/af_unix.c err = -EOPNOTSUPP; err 1344 net/unix/af_unix.c err = unix_mkname(sunaddr, msg->msg_namelen, &hash); err 1345 net/unix/af_unix.c if (err < 0) err 1347 net/unix/af_unix.c namelen = err; err 1350 net/unix/af_unix.c err = -ENOTCONN; err 1357 net/unix/af_unix.c && !u->addr && (err = unix_autobind(sock)) != 0) err 1360 net/unix/af_unix.c err = -EMSGSIZE; err 1364 net/unix/af_unix.c skb = sock_alloc_send_skb(sk, len, msg->msg_flags&MSG_DONTWAIT, &err); err 1374 net/unix/af_unix.c err = memcpy_fromiovec(skb_put(skb,len), msg->msg_iov, len); err 1375 net/unix/af_unix.c if (err) err 1382 net/unix/af_unix.c err = -ECONNRESET; err 1387 net/unix/af_unix.c hash, &err); err 1393 net/unix/af_unix.c err = -EPERM; err 1405 net/unix/af_unix.c err = 0; err 1413 net/unix/af_unix.c err = -ECONNREFUSED; err 1419 net/unix/af_unix.c if (err) err 1424 net/unix/af_unix.c err = -EPIPE; err 1429 net/unix/af_unix.c err = security_unix_may_send(sk->sk_socket, other->sk_socket); err 1430 net/unix/af_unix.c if (err) err 1436 net/unix/af_unix.c err = -EAGAIN; err 1442 net/unix/af_unix.c err = sock_intr_errno(timeo); err 1464 net/unix/af_unix.c return err; err 1475 net/unix/af_unix.c int err,size; err 1482 net/unix/af_unix.c err = scm_send(sock, msg, siocb->scm); err 1483 net/unix/af_unix.c if (err < 0) err 1484 net/unix/af_unix.c return err; err 1486 net/unix/af_unix.c err = -EOPNOTSUPP; err 1491 net/unix/af_unix.c err = sk->sk_state == TCP_ESTABLISHED ? -EISCONN : -EOPNOTSUPP; err 1495 net/unix/af_unix.c err = -ENOTCONN; err 1524 net/unix/af_unix.c skb=sock_alloc_send_skb(sk,size,msg->msg_flags&MSG_DONTWAIT, &err); err 1542 net/unix/af_unix.c if ((err = memcpy_fromiovec(skb_put(skb,size), msg->msg_iov, size)) != 0) { err 1570 net/unix/af_unix.c err = -EPIPE; err 1574 net/unix/af_unix.c return sent ? : err; err 1580 net/unix/af_unix.c int err; err 1583 net/unix/af_unix.c err = sock_error(sk); err 1584 net/unix/af_unix.c if (err) err 1585 net/unix/af_unix.c return err; err 1617 net/unix/af_unix.c int err; err 1619 net/unix/af_unix.c err = -EOPNOTSUPP; err 1627 net/unix/af_unix.c skb = skb_recv_datagram(sk, flags, noblock, &err); err 1631 net/unix/af_unix.c if (sk->sk_type == SOCK_SEQPACKET && err == -EAGAIN && err 1633 net/unix/af_unix.c err = 0; err 1648 net/unix/af_unix.c err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, size); err 1649 net/unix/af_unix.c if (err) err 1681 net/unix/af_unix.c err = size; err 1690 net/unix/af_unix.c return err; err 1739 net/unix/af_unix.c int err = 0; err 1742 net/unix/af_unix.c err = -EINVAL; err 1746 net/unix/af_unix.c err = -EOPNOTSUPP; err 1782 net/unix/af_unix.c if ((err = sock_error(sk)) != 0) err 1788 net/unix/af_unix.c err = -EAGAIN; err 1796 net/unix/af_unix.c err = sock_intr_errno(timeo); err 1872 net/unix/af_unix.c return copied ? : err; err 1921 net/unix/af_unix.c int err; err 1927 net/unix/af_unix.c err = put_user(amount, (int __user *)arg); err 1934 net/unix/af_unix.c err = -EINVAL; err 1949 net/unix/af_unix.c err = put_user(amount, (int __user *)arg); err 1954 net/unix/af_unix.c err = -ENOIOCTLCMD; err 1957 net/unix/af_unix.c return err; err 112 net/wanrouter/wanmain.c int err; err 118 net/wanrouter/wanmain.c err = wanrouter_proc_init(); err 119 net/wanrouter/wanmain.c if (err) err 123 net/wanrouter/wanmain.c return err; err 162 net/wanrouter/wanmain.c int err, namelen; err 183 net/wanrouter/wanmain.c err = wanrouter_proc_add(wandev); err 184 net/wanrouter/wanmain.c if (err) { err 188 net/wanrouter/wanmain.c return err; err 355 net/wanrouter/wanmain.c int err = 0; err 377 net/wanrouter/wanmain.c err = wanrouter_device_setup(wandev, data); err 381 net/wanrouter/wanmain.c err = wanrouter_device_shutdown(wandev); err 385 net/wanrouter/wanmain.c err = wanrouter_device_stat(wandev, data); err 389 net/wanrouter/wanmain.c err = wanrouter_device_new_if(wandev, data); err 393 net/wanrouter/wanmain.c err = wanrouter_device_del_if(wandev, data); err 403 net/wanrouter/wanmain.c err = wandev->ioctl(wandev, cmd, arg); err 404 net/wanrouter/wanmain.c else err = -EINVAL; err 407 net/wanrouter/wanmain.c return err; err 427 net/wanrouter/wanmain.c int err = -EINVAL; err 475 net/wanrouter/wanmain.c err = wandev->setup(wandev, conf); err 480 net/wanrouter/wanmain.c err = -EFAULT; err 490 net/wanrouter/wanmain.c return err; err 502 net/wanrouter/wanmain.c int err=0; err 510 net/wanrouter/wanmain.c err = wanrouter_delete_interface(wandev, dev->name); err 511 net/wanrouter/wanmain.c if (err) err 512 net/wanrouter/wanmain.c return err; err 524 net/wanrouter/wanmain.c err=wandev->shutdown(wandev); err 526 net/wanrouter/wanmain.c return err; err 569 net/wanrouter/wanmain.c int err; err 578 net/wanrouter/wanmain.c err = -EFAULT; err 582 net/wanrouter/wanmain.c err = -EINVAL; err 589 net/wanrouter/wanmain.c err = -EPROTONOSUPPORT; err 593 net/wanrouter/wanmain.c err = -ENOBUFS; err 596 net/wanrouter/wanmain.c err = wandev->new_if(wandev, dev, cnf); err 599 net/wanrouter/wanmain.c if (!err) { err 606 net/wanrouter/wanmain.c err = -EINVAL; err 614 net/wanrouter/wanmain.c err = register_netdev(dev); err 615 net/wanrouter/wanmain.c if (!err) { err 633 net/wanrouter/wanmain.c err = 0; /* done !!! */ err 650 net/wanrouter/wanmain.c return err; err 663 net/wanrouter/wanmain.c int err = 0; err 673 net/wanrouter/wanmain.c err = wanrouter_delete_interface(wandev, name); err 674 net/wanrouter/wanmain.c if (err) err 675 net/wanrouter/wanmain.c return err; err 687 net/wanrouter/wanmain.c err = wandev->shutdown(wandev); err 689 net/wanrouter/wanmain.c return err; err 222 net/wanrouter/wanproc.c int err = wandev->update(wandev); err 223 net/wanrouter/wanproc.c if (err == -EAGAIN) { err 227 net/wanrouter/wanproc.c if (err) { err 62 net/wireless/core.c int err = -EINVAL; err 67 net/wireless/core.c err = -ENODEV; err 79 net/wireless/core.c err = -ENODEV; err 94 net/wireless/core.c return ERR_PTR(err); err 417 net/wireless/core.c int err; err 419 net/wireless/core.c err = wiphy_sysfs_init(); err 420 net/wireless/core.c if (err) err 423 net/wireless/core.c err = register_netdevice_notifier(&cfg80211_netdev_notifier); err 424 net/wireless/core.c if (err) err 427 net/wireless/core.c err = nl80211_init(); err 428 net/wireless/core.c if (err) err 433 net/wireless/core.c err = regulatory_init(); err 434 net/wireless/core.c if (err) err 446 net/wireless/core.c return err; err 359 net/wireless/nl80211.c int err; err 361 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &dev, &netdev); err 362 net/wireless/nl80211.c if (err) err 363 net/wireless/nl80211.c return err; err 418 net/wireless/nl80211.c int err, ifindex; err 425 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 426 net/wireless/nl80211.c if (err) err 427 net/wireless/nl80211.c return err; err 432 net/wireless/nl80211.c err = -EINVAL; err 441 net/wireless/nl80211.c err = -EOPNOTSUPP; err 447 net/wireless/nl80211.c err = -EINVAL; err 456 net/wireless/nl80211.c err = -EINVAL; err 459 net/wireless/nl80211.c err = parse_monitor_flags(info->attrs[NL80211_ATTR_MNTR_FLAGS], err 461 net/wireless/nl80211.c if (!err) err 465 net/wireless/nl80211.c err = drv->ops->change_virtual_intf(&drv->wiphy, ifindex, err 469 net/wireless/nl80211.c WARN_ON(!dev || (!err && dev->ieee80211_ptr->iftype != type)); err 475 net/wireless/nl80211.c return err; err 482 net/wireless/nl80211.c int err; err 503 net/wireless/nl80211.c err = -EOPNOTSUPP; err 514 net/wireless/nl80211.c err = parse_monitor_flags(type == NL80211_IFTYPE_MONITOR ? err 517 net/wireless/nl80211.c err = drv->ops->add_virtual_intf(&drv->wiphy, err 519 net/wireless/nl80211.c type, err ? NULL : &flags, ¶ms); err 525 net/wireless/nl80211.c return err; err 531 net/wireless/nl80211.c int ifindex, err; err 534 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 535 net/wireless/nl80211.c if (err) err 536 net/wireless/nl80211.c return err; err 541 net/wireless/nl80211.c err = -EOPNOTSUPP; err 546 net/wireless/nl80211.c err = drv->ops->del_virtual_intf(&drv->wiphy, ifindex); err 551 net/wireless/nl80211.c return err; err 583 net/wireless/nl80211.c int err; err 602 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 603 net/wireless/nl80211.c if (err) err 604 net/wireless/nl80211.c return err; err 607 net/wireless/nl80211.c err = -EOPNOTSUPP; err 613 net/wireless/nl80211.c err = -ENOMEM; err 621 net/wireless/nl80211.c err = PTR_ERR(hdr); err 633 net/wireless/nl80211.c err = drv->ops->get_key(&drv->wiphy, dev, key_idx, mac_addr, err 637 net/wireless/nl80211.c if (err) err 644 net/wireless/nl80211.c err = genlmsg_unicast(msg, info->snd_pid); err 648 net/wireless/nl80211.c err = -ENOBUFS; err 653 net/wireless/nl80211.c return err; err 659 net/wireless/nl80211.c int err; err 675 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 676 net/wireless/nl80211.c if (err) err 677 net/wireless/nl80211.c return err; err 680 net/wireless/nl80211.c err = -EOPNOTSUPP; err 685 net/wireless/nl80211.c err = drv->ops->set_default_key(&drv->wiphy, dev, key_idx); err 691 net/wireless/nl80211.c return err; err 697 net/wireless/nl80211.c int err; err 756 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 757 net/wireless/nl80211.c if (err) err 758 net/wireless/nl80211.c return err; err 761 net/wireless/nl80211.c err = -EOPNOTSUPP; err 766 net/wireless/nl80211.c err = drv->ops->add_key(&drv->wiphy, dev, key_idx, mac_addr, ¶ms); err 772 net/wireless/nl80211.c return err; err 778 net/wireless/nl80211.c int err; err 792 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 793 net/wireless/nl80211.c if (err) err 794 net/wireless/nl80211.c return err; err 797 net/wireless/nl80211.c err = -EOPNOTSUPP; err 802 net/wireless/nl80211.c err = drv->ops->del_key(&drv->wiphy, dev, key_idx, mac_addr); err 808 net/wireless/nl80211.c return err; err 816 net/wireless/nl80211.c int err; err 821 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 822 net/wireless/nl80211.c if (err) err 823 net/wireless/nl80211.c return err; err 831 net/wireless/nl80211.c err = -EINVAL; err 842 net/wireless/nl80211.c err = -EOPNOTSUPP; err 847 net/wireless/nl80211.c err = -EOPNOTSUPP; err 880 net/wireless/nl80211.c err = -EINVAL; err 885 net/wireless/nl80211.c err = call(&drv->wiphy, dev, ¶ms); err 891 net/wireless/nl80211.c return err; err 897 net/wireless/nl80211.c int err; err 900 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 901 net/wireless/nl80211.c if (err) err 902 net/wireless/nl80211.c return err; err 905 net/wireless/nl80211.c err = -EOPNOTSUPP; err 910 net/wireless/nl80211.c err = drv->ops->del_beacon(&drv->wiphy, dev); err 916 net/wireless/nl80211.c return err; err 1002 net/wireless/nl80211.c int err; err 1005 net/wireless/nl80211.c err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, err 1008 net/wireless/nl80211.c if (err) err 1009 net/wireless/nl80211.c return err; err 1025 net/wireless/nl80211.c err = PTR_ERR(dev); err 1030 net/wireless/nl80211.c err = -ENOSYS; err 1037 net/wireless/nl80211.c err = dev->ops->dump_station(&dev->wiphy, netdev, sta_idx, err 1039 net/wireless/nl80211.c if (err == -ENOENT) err 1041 net/wireless/nl80211.c if (err) err 1057 net/wireless/nl80211.c err = skb->len; err 1065 net/wireless/nl80211.c return err; err 1071 net/wireless/nl80211.c int err; err 1084 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 1085 net/wireless/nl80211.c if (err) err 1086 net/wireless/nl80211.c return err; err 1089 net/wireless/nl80211.c err = -EOPNOTSUPP; err 1094 net/wireless/nl80211.c err = drv->ops->get_station(&drv->wiphy, dev, mac_addr, &sinfo); err 1097 net/wireless/nl80211.c if (err) err 1108 net/wireless/nl80211.c err = genlmsg_unicast(msg, info->snd_pid); err 1117 net/wireless/nl80211.c return err; err 1144 net/wireless/nl80211.c int err; err 1184 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 1185 net/wireless/nl80211.c if (err) err 1186 net/wireless/nl80211.c return err; err 1188 net/wireless/nl80211.c err = get_vlan(info->attrs[NL80211_ATTR_STA_VLAN], drv, ¶ms.vlan); err 1189 net/wireless/nl80211.c if (err) err 1193 net/wireless/nl80211.c err = -EOPNOTSUPP; err 1198 net/wireless/nl80211.c err = drv->ops->change_station(&drv->wiphy, dev, mac_addr, ¶ms); err 1206 net/wireless/nl80211.c return err; err 1212 net/wireless/nl80211.c int err; err 1247 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 1248 net/wireless/nl80211.c if (err) err 1249 net/wireless/nl80211.c return err; err 1251 net/wireless/nl80211.c err = get_vlan(info->attrs[NL80211_ATTR_STA_VLAN], drv, ¶ms.vlan); err 1252 net/wireless/nl80211.c if (err) err 1256 net/wireless/nl80211.c err = -EOPNOTSUPP; err 1261 net/wireless/nl80211.c err = drv->ops->add_station(&drv->wiphy, dev, mac_addr, ¶ms); err 1269 net/wireless/nl80211.c return err; err 1275 net/wireless/nl80211.c int err; err 1282 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 1283 net/wireless/nl80211.c if (err) err 1284 net/wireless/nl80211.c return err; err 1287 net/wireless/nl80211.c err = -EOPNOTSUPP; err 1292 net/wireless/nl80211.c err = drv->ops->del_station(&drv->wiphy, dev, mac_addr); err 1298 net/wireless/nl80211.c return err; err 1361 net/wireless/nl80211.c int err; err 1364 net/wireless/nl80211.c err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, err 1367 net/wireless/nl80211.c if (err) err 1368 net/wireless/nl80211.c return err; err 1384 net/wireless/nl80211.c err = PTR_ERR(dev); err 1389 net/wireless/nl80211.c err = -ENOSYS; err 1396 net/wireless/nl80211.c err = dev->ops->dump_mpath(&dev->wiphy, netdev, path_idx, err 1398 net/wireless/nl80211.c if (err == -ENOENT) err 1400 net/wireless/nl80211.c if (err) err 1415 net/wireless/nl80211.c err = skb->len; err 1423 net/wireless/nl80211.c return err; err 1429 net/wireless/nl80211.c int err; err 1443 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 1444 net/wireless/nl80211.c if (err) err 1445 net/wireless/nl80211.c return err; err 1448 net/wireless/nl80211.c err = -EOPNOTSUPP; err 1453 net/wireless/nl80211.c err = drv->ops->get_mpath(&drv->wiphy, dev, dst, next_hop, &pinfo); err 1456 net/wireless/nl80211.c if (err) err 1467 net/wireless/nl80211.c err = genlmsg_unicast(msg, info->snd_pid); err 1476 net/wireless/nl80211.c return err; err 1482 net/wireless/nl80211.c int err; err 1496 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 1497 net/wireless/nl80211.c if (err) err 1498 net/wireless/nl80211.c return err; err 1501 net/wireless/nl80211.c err = -EOPNOTSUPP; err 1506 net/wireless/nl80211.c err = drv->ops->change_mpath(&drv->wiphy, dev, dst, next_hop); err 1512 net/wireless/nl80211.c return err; err 1517 net/wireless/nl80211.c int err; err 1531 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 1532 net/wireless/nl80211.c if (err) err 1533 net/wireless/nl80211.c return err; err 1536 net/wireless/nl80211.c err = -EOPNOTSUPP; err 1541 net/wireless/nl80211.c err = drv->ops->add_mpath(&drv->wiphy, dev, dst, next_hop); err 1547 net/wireless/nl80211.c return err; err 1553 net/wireless/nl80211.c int err; err 1560 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 1561 net/wireless/nl80211.c if (err) err 1562 net/wireless/nl80211.c return err; err 1565 net/wireless/nl80211.c err = -EOPNOTSUPP; err 1570 net/wireless/nl80211.c err = drv->ops->del_mpath(&drv->wiphy, dev, dst); err 1576 net/wireless/nl80211.c return err; err 1582 net/wireless/nl80211.c int err; err 1602 net/wireless/nl80211.c err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); err 1603 net/wireless/nl80211.c if (err) err 1604 net/wireless/nl80211.c return err; err 1607 net/wireless/nl80211.c err = -EOPNOTSUPP; err 1612 net/wireless/nl80211.c err = drv->ops->change_bss(&drv->wiphy, dev, ¶ms); err 1618 net/wireless/nl80211.c return err; err 1934 net/wireless/nl80211.c int err, i; err 1936 net/wireless/nl80211.c err = genl_register_family(&nl80211_fam); err 1937 net/wireless/nl80211.c if (err) err 1938 net/wireless/nl80211.c return err; err 1941 net/wireless/nl80211.c err = genl_register_ops(&nl80211_fam, &nl80211_ops[i]); err 1942 net/wireless/nl80211.c if (err) err 1946 net/wireless/nl80211.c err = genl_register_mc_group(&nl80211_fam, &nl80211_config_mcgrp); err 1947 net/wireless/nl80211.c if (err) err 1953 net/wireless/nl80211.c return err; err 826 net/wireless/reg.c int err; err 842 net/wireless/reg.c err = __regulatory_hint(NULL, REGDOM_SET_BY_CORE, err 847 net/wireless/reg.c err = __regulatory_hint(NULL, REGDOM_SET_BY_CORE, "00", NULL); err 848 net/wireless/reg.c if (err) err 702 net/wireless/wext.c int err, extra_size, user_length = 0, essid_compat = 0; err 721 net/wireless/wext.c err = copy_from_user(essid, iwp->pointer, err 724 net/wireless/wext.c if (err) err 786 net/wireless/wext.c err = -EFAULT; err 791 net/wireless/wext.c err = handler(dev, info, (union iwreq_data *) iwp, extra); err 796 net/wireless/wext.c if (!err && IW_IS_GET(cmd)) { err 799 net/wireless/wext.c err = -E2BIG; err 806 net/wireless/wext.c err = -EFAULT; err 812 net/wireless/wext.c if ((descr->flags & IW_DESCR_FLAG_EVENT) && err == -EIWCOMMIT) { err 826 net/wireless/wext.c return err; err 938 net/wireless/wext.c int err; err 957 net/wireless/wext.c err = -EFAULT; err 963 net/wireless/wext.c err = handler(dev, info, (union iwreq_data *) iwp, extra); err 966 net/wireless/wext.c if (!err && IW_IS_GET(cmd)) { err 974 net/wireless/wext.c err = -EFAULT; err 979 net/wireless/wext.c return err; err 1121 net/wireless/wext.c int err; err 1133 net/wireless/wext.c err = ioctl_standard_iw_point(&iwp, cmd, descr, handler, dev, info); err 1139 net/wireless/wext.c return err; err 1301 net/wireless/wext.c int err; err 1310 net/wireless/wext.c err = rtnetlink_fill_iwinfo(skb, dev, RTM_NEWLINK, event, event_len); err 1311 net/wireless/wext.c if (err < 0) { err 1312 net/wireless/wext.c WARN_ON(err == -EMSGSIZE); err 55 net/x25/x25_out.c int err, frontlen, len; err 71 net/x25/x25_out.c noblock, &err)) == NULL){ err 72 net/x25/x25_out.c if (err == -EWOULDBLOCK && noblock){ err 78 net/x25/x25_out.c "sent\n", err, sent); err 79 net/x25/x25_out.c return err; err 699 net/xfrm/xfrm_algo.c int err; err 709 net/xfrm/xfrm_algo.c err = icv_update(desc, &sg, copy); err 710 net/xfrm/xfrm_algo.c if (unlikely(err)) err 711 net/xfrm/xfrm_algo.c return err; err 734 net/xfrm/xfrm_algo.c err = icv_update(desc, &sg, copy); err 735 net/xfrm/xfrm_algo.c if (unlikely(err)) err 736 net/xfrm/xfrm_algo.c return err; err 757 net/xfrm/xfrm_algo.c err = skb_icv_walk(list, desc, offset-start, err 759 net/xfrm/xfrm_algo.c if (unlikely(err)) err 760 net/xfrm/xfrm_algo.c return err; err 88 net/xfrm/xfrm_input.c int err; err 90 net/xfrm/xfrm_input.c err = x->outer_mode->afinfo->extract_input(x, skb); err 91 net/xfrm/xfrm_input.c if (err) err 92 net/xfrm/xfrm_input.c return err; err 107 net/xfrm/xfrm_input.c int err; err 143 net/xfrm/xfrm_input.c if (!spi && (err = xfrm_parse_spi(skb, nexthdr, &spi, &seq)) != 0) { err 243 net/xfrm/xfrm_input.c err = xfrm_parse_spi(skb, nexthdr, &spi, &seq); err 244 net/xfrm/xfrm_input.c if (err < 0) { err 248 net/xfrm/xfrm_input.c } while (!err); err 51 net/xfrm/xfrm_ipcomp.c int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen); err 54 net/xfrm/xfrm_ipcomp.c if (err) err 58 net/xfrm/xfrm_ipcomp.c err = -EINVAL; err 75 net/xfrm/xfrm_ipcomp.c err = -EMSGSIZE; err 82 net/xfrm/xfrm_ipcomp.c err = -ENOMEM; err 101 net/xfrm/xfrm_ipcomp.c err = 0; err 105 net/xfrm/xfrm_ipcomp.c return err; err 111 net/xfrm/xfrm_ipcomp.c int err = -ENOMEM; err 125 net/xfrm/xfrm_ipcomp.c err = ipcomp_decompress(x, skb); err 126 net/xfrm/xfrm_ipcomp.c if (err) err 129 net/xfrm/xfrm_ipcomp.c err = nexthdr; err 132 net/xfrm/xfrm_ipcomp.c return err; err 145 net/xfrm/xfrm_ipcomp.c int err; err 148 net/xfrm/xfrm_ipcomp.c err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); err 150 net/xfrm/xfrm_ipcomp.c if (err) err 154 net/xfrm/xfrm_ipcomp.c err = -EMSGSIZE; err 166 net/xfrm/xfrm_ipcomp.c return err; err 171 net/xfrm/xfrm_ipcomp.c int err; err 183 net/xfrm/xfrm_ipcomp.c err = ipcomp_compress(x, skb); err 185 net/xfrm/xfrm_ipcomp.c if (err) { err 341 net/xfrm/xfrm_ipcomp.c int err; err 345 net/xfrm/xfrm_ipcomp.c err = -EINVAL; err 352 net/xfrm/xfrm_ipcomp.c err = -ENOMEM; err 370 net/xfrm/xfrm_ipcomp.c err = 0; err 372 net/xfrm/xfrm_ipcomp.c return err; err 45 net/xfrm/xfrm_output.c if (err <= 0) err 49 net/xfrm/xfrm_output.c err = xfrm_state_check_space(x, skb); err 50 net/xfrm/xfrm_output.c if (err) { err 55 net/xfrm/xfrm_output.c err = x->outer_mode->output(x, skb); err 56 net/xfrm/xfrm_output.c if (err) { err 62 net/xfrm/xfrm_output.c err = xfrm_state_check_expire(x); err 63 net/xfrm/xfrm_output.c if (err) { err 74 net/xfrm/xfrm_output.c err = -EOVERFLOW; err 86 net/xfrm/xfrm_output.c err = x->type->output(x, skb); err 87 net/xfrm/xfrm_output.c if (err == -EINPROGRESS) err 91 net/xfrm/xfrm_output.c if (err) { err 98 net/xfrm/xfrm_output.c err = -EHOSTUNREACH; err 105 net/xfrm/xfrm_output.c err = 0; err 108 net/xfrm/xfrm_output.c return err; err 118 net/xfrm/xfrm_output.c while (likely((err = xfrm_output_one(skb, err)) == 0)) { err 121 net/xfrm/xfrm_output.c err = skb->dst->ops->local_out(skb); err 122 net/xfrm/xfrm_output.c if (unlikely(err != 1)) err 128 net/xfrm/xfrm_output.c err = nf_hook(skb->dst->ops->family, err 131 net/xfrm/xfrm_output.c if (unlikely(err != 1)) err 135 net/xfrm/xfrm_output.c if (err == -EINPROGRESS) err 136 net/xfrm/xfrm_output.c err = 0; err 139 net/xfrm/xfrm_output.c return err; err 159 net/xfrm/xfrm_output.c int err; err 162 net/xfrm/xfrm_output.c err = xfrm_output2(segs); err 164 net/xfrm/xfrm_output.c if (unlikely(err)) { err 170 net/xfrm/xfrm_output.c return err; err 181 net/xfrm/xfrm_output.c int err; err 187 net/xfrm/xfrm_output.c err = skb_checksum_help(skb); err 188 net/xfrm/xfrm_output.c if (err) { err 191 net/xfrm/xfrm_output.c return err; err 666 net/xfrm/xfrm_policy.c *err = 0; err 676 net/xfrm/xfrm_policy.c *err = security_xfrm_policy_delete( err 678 net/xfrm/xfrm_policy.c if (*err) { err 708 net/xfrm/xfrm_policy.c *err = -ENOENT; err 712 net/xfrm/xfrm_policy.c *err = 0; err 720 net/xfrm/xfrm_policy.c *err = security_xfrm_policy_delete( err 722 net/xfrm/xfrm_policy.c if (*err) { err 749 net/xfrm/xfrm_policy.c int dir, err = 0; err 760 net/xfrm/xfrm_policy.c err = security_xfrm_policy_delete(pol->security); err 761 net/xfrm/xfrm_policy.c if (err) { err 766 net/xfrm/xfrm_policy.c return err; err 775 net/xfrm/xfrm_policy.c err = security_xfrm_policy_delete( err 777 net/xfrm/xfrm_policy.c if (err) { err 782 net/xfrm/xfrm_policy.c return err; err 787 net/xfrm/xfrm_policy.c return err; err 799 net/xfrm/xfrm_policy.c int dir, err = 0; err 803 net/xfrm/xfrm_policy.c err = xfrm_policy_flush_secctx_check(type, audit_info); err 804 net/xfrm/xfrm_policy.c if (err) err 862 net/xfrm/xfrm_policy.c return err; err 958 net/xfrm/xfrm_policy.c int err; err 974 net/xfrm/xfrm_policy.c err = xfrm_policy_match(pol, fl, type, family, dir); err 975 net/xfrm/xfrm_policy.c if (err) { err 976 net/xfrm/xfrm_policy.c if (err == -ESRCH) err 979 net/xfrm/xfrm_policy.c ret = ERR_PTR(err); err 990 net/xfrm/xfrm_policy.c err = xfrm_policy_match(pol, fl, type, family, dir); err 991 net/xfrm/xfrm_policy.c if (err) { err 992 net/xfrm/xfrm_policy.c if (err == -ESRCH) err 995 net/xfrm/xfrm_policy.c ret = ERR_PTR(err); err 1015 net/xfrm/xfrm_policy.c int err = 0; err 1020 net/xfrm/xfrm_policy.c err = PTR_ERR(pol); err 1023 net/xfrm/xfrm_policy.c if (pol || err) err 1028 net/xfrm/xfrm_policy.c err = PTR_ERR(pol); err 1036 net/xfrm/xfrm_policy.c return err; err 1064 net/xfrm/xfrm_policy.c int err = 0; err 1067 net/xfrm/xfrm_policy.c err = security_xfrm_policy_lookup(pol->security, err 1070 net/xfrm/xfrm_policy.c if (!err) err 1072 net/xfrm/xfrm_policy.c else if (err == -ESRCH) err 1075 net/xfrm/xfrm_policy.c pol = ERR_PTR(err); err 1199 net/xfrm/xfrm_policy.c int err; err 1204 net/xfrm/xfrm_policy.c err = afinfo->get_saddr(local, remote); err 1206 net/xfrm/xfrm_policy.c return err; err 1356 net/xfrm/xfrm_policy.c int err; err 1361 net/xfrm/xfrm_policy.c err = afinfo->init_path(path, dst, nfheader_len); err 1365 net/xfrm/xfrm_policy.c return err; err 1372 net/xfrm/xfrm_policy.c int err; err 1377 net/xfrm/xfrm_policy.c err = afinfo->fill_dst(xdst, dev); err 1381 net/xfrm/xfrm_policy.c return err; err 1398 net/xfrm/xfrm_policy.c int err; err 1409 net/xfrm/xfrm_policy.c err = tos; err 1419 net/xfrm/xfrm_policy.c err = PTR_ERR(xdst); err 1439 net/xfrm/xfrm_policy.c err = PTR_ERR(dst); err 1467 net/xfrm/xfrm_policy.c err = -ENODEV; err 1481 net/xfrm/xfrm_policy.c err = xfrm_fill_dst(xdst, dev); err 1482 net/xfrm/xfrm_policy.c if (err) err 1500 net/xfrm/xfrm_policy.c dst0 = ERR_PTR(err); err 1558 net/xfrm/xfrm_policy.c int err; err 1574 net/xfrm/xfrm_policy.c err = PTR_ERR(policy); err 1589 net/xfrm/xfrm_policy.c err = PTR_ERR(policy); err 1604 net/xfrm/xfrm_policy.c err = -ENOENT; err 1615 net/xfrm/xfrm_policy.c err = -EPERM; err 1635 net/xfrm/xfrm_policy.c err = PTR_ERR(dst); err 1650 net/xfrm/xfrm_policy.c err = PTR_ERR(pols[1]); err 1655 net/xfrm/xfrm_policy.c err = -EPERM; err 1680 net/xfrm/xfrm_policy.c err = nx; err 1681 net/xfrm/xfrm_policy.c if (err == -EAGAIN && sysctl_xfrm_larval_drop) { err 1689 net/xfrm/xfrm_policy.c if (err == -EAGAIN && (flags & XFRM_LOOKUP_WAIT)) { err 1702 net/xfrm/xfrm_policy.c err = -ERESTART; err 1710 net/xfrm/xfrm_policy.c err = nx; err 1712 net/xfrm/xfrm_policy.c if (err < 0) { err 1724 net/xfrm/xfrm_policy.c err = PTR_ERR(dst); err 1750 net/xfrm/xfrm_policy.c err = -EHOSTUNREACH; err 1755 net/xfrm/xfrm_policy.c err = xfrm_dst_update_parent(dst, &pols[1]->selector); err 1757 net/xfrm/xfrm_policy.c err = xfrm_dst_update_origin(dst, fl); err 1758 net/xfrm/xfrm_policy.c if (unlikely(err)) { err 1780 net/xfrm/xfrm_policy.c return err; err 1783 net/xfrm/xfrm_policy.c err = -ENOENT; err 1793 net/xfrm/xfrm_policy.c int err = __xfrm_lookup(dst_p, fl, sk, flags); err 1795 net/xfrm/xfrm_policy.c if (err == -EREMOTE) { err 1798 net/xfrm/xfrm_policy.c err = -EAGAIN; err 1801 net/xfrm/xfrm_policy.c return err; err 1874 net/xfrm/xfrm_policy.c int err; err 1880 net/xfrm/xfrm_policy.c err = security_xfrm_decode_session(skb, &fl->secid); err 1882 net/xfrm/xfrm_policy.c return err; err 2297 net/xfrm/xfrm_policy.c int err = 0; err 2304 net/xfrm/xfrm_policy.c err = -ENOBUFS; err 2320 net/xfrm/xfrm_policy.c return err; err 2326 net/xfrm/xfrm_policy.c int err = 0; err 2334 net/xfrm/xfrm_policy.c err = -EINVAL; err 2346 net/xfrm/xfrm_policy.c return err; err 2685 net/xfrm/xfrm_policy.c int i, err, nx_cur = 0, nx_new = 0; err 2692 net/xfrm/xfrm_policy.c if ((err = xfrm_migrate_check(m, num_migrate)) < 0) err 2697 net/xfrm/xfrm_policy.c err = -ENOENT; err 2710 net/xfrm/xfrm_policy.c err = -ENODATA; err 2717 net/xfrm/xfrm_policy.c if ((err = xfrm_policy_migrate(pol, m, num_migrate)) < 0) err 2733 net/xfrm/xfrm_policy.c return err; err 2743 net/xfrm/xfrm_policy.c return err; err 224 net/xfrm/xfrm_state.c int err = 0; err 233 net/xfrm/xfrm_state.c err = -EEXIST; err 235 net/xfrm/xfrm_state.c return err; err 243 net/xfrm/xfrm_state.c int err = 0; err 250 net/xfrm/xfrm_state.c err = -ENOENT; err 254 net/xfrm/xfrm_state.c return err; err 294 net/xfrm/xfrm_state.c int err; err 303 net/xfrm/xfrm_state.c err = -EEXIST; err 308 net/xfrm/xfrm_state.c err = -ENOENT; err 314 net/xfrm/xfrm_state.c err = 0; err 318 net/xfrm/xfrm_state.c return err; err 326 net/xfrm/xfrm_state.c int err; err 335 net/xfrm/xfrm_state.c err = -ENOENT; err 340 net/xfrm/xfrm_state.c err = 0; err 344 net/xfrm/xfrm_state.c return err; err 434 net/xfrm/xfrm_state.c int err = 0; err 493 net/xfrm/xfrm_state.c err = __xfrm_state_delete(x); err 494 net/xfrm/xfrm_state.c if (!err && x->id.spi) err 497 net/xfrm/xfrm_state.c xfrm_audit_state_delete(x, err ? 0 : 1, err 551 net/xfrm/xfrm_state.c int err = -ESRCH; err 569 net/xfrm/xfrm_state.c err = 0; err 572 net/xfrm/xfrm_state.c return err; err 578 net/xfrm/xfrm_state.c int err; err 581 net/xfrm/xfrm_state.c err = __xfrm_state_delete(x); err 584 net/xfrm/xfrm_state.c return err; err 592 net/xfrm/xfrm_state.c int i, err = 0; err 600 net/xfrm/xfrm_state.c (err = security_xfrm_state_delete(x)) != 0) { err 605 net/xfrm/xfrm_state.c return err; err 610 net/xfrm/xfrm_state.c return err; err 622 net/xfrm/xfrm_state.c int i, err = 0; err 625 net/xfrm/xfrm_state.c err = xfrm_state_flush_secctx_check(proto, audit_info); err 626 net/xfrm/xfrm_state.c if (err) err 639 net/xfrm/xfrm_state.c err = xfrm_state_delete(x); err 640 net/xfrm/xfrm_state.c xfrm_audit_state_delete(x, err ? 0 : 1, err 651 net/xfrm/xfrm_state.c err = 0; err 656 net/xfrm/xfrm_state.c return err; err 881 net/xfrm/xfrm_state.c *err = acquire_in_progress ? -EAGAIN : error; err 1074 net/xfrm/xfrm_state.c int err; err 1087 net/xfrm/xfrm_state.c err = -EEXIST; err 1107 net/xfrm/xfrm_state.c err = 0; err 1120 net/xfrm/xfrm_state.c return err; err 1127 net/xfrm/xfrm_state.c int err = -ENOMEM; err 1175 net/xfrm/xfrm_state.c err = xfrm_init_state(x); err 1176 net/xfrm/xfrm_state.c if (err) err 1189 net/xfrm/xfrm_state.c *errp = err; err 1250 net/xfrm/xfrm_state.c int err; err 1252 net/xfrm/xfrm_state.c xc = xfrm_state_clone(x, &err); err 1265 net/xfrm/xfrm_state.c if ((err = xfrm_state_add(xc)) < 0) err 1280 net/xfrm/xfrm_state.c int err; err 1288 net/xfrm/xfrm_state.c err = -ESRCH; err 1294 net/xfrm/xfrm_state.c err = -EEXIST; err 1302 net/xfrm/xfrm_state.c err = 0; err 1310 net/xfrm/xfrm_state.c if (err) err 1311 net/xfrm/xfrm_state.c return err; err 1319 net/xfrm/xfrm_state.c err = -EINVAL; err 1336 net/xfrm/xfrm_state.c err = 0; err 1342 net/xfrm/xfrm_state.c return err; err 1417 net/xfrm/xfrm_state.c int err = 0; err 1424 net/xfrm/xfrm_state.c err = afinfo->tmpl_sort(dst, src, n); err 1427 net/xfrm/xfrm_state.c return err; err 1435 net/xfrm/xfrm_state.c int err = 0; err 1442 net/xfrm/xfrm_state.c err = afinfo->state_sort(dst, src, n); err 1445 net/xfrm/xfrm_state.c return err; err 1499 net/xfrm/xfrm_state.c int err = -ENOENT; err 1507 net/xfrm/xfrm_state.c err = 0; err 1511 net/xfrm/xfrm_state.c err = -ENOENT; err 1538 net/xfrm/xfrm_state.c err = 0; err 1544 net/xfrm/xfrm_state.c return err; err 1554 net/xfrm/xfrm_state.c int err = 0; err 1570 net/xfrm/xfrm_state.c err = func(state, walk->seq, data); err 1571 net/xfrm/xfrm_state.c if (err) { err 1578 net/xfrm/xfrm_state.c err = -ENOENT; err 1584 net/xfrm/xfrm_state.c return err; err 1679 net/xfrm/xfrm_state.c goto err; err 1688 net/xfrm/xfrm_state.c goto err; err 1693 net/xfrm/xfrm_state.c goto err; err 1697 net/xfrm/xfrm_state.c err: err 1770 net/xfrm/xfrm_state.c int err = -EINVAL, acqret; err 1777 net/xfrm/xfrm_state.c err = acqret; err 1780 net/xfrm/xfrm_state.c return err; err 1786 net/xfrm/xfrm_state.c int err = -EINVAL; err 1792 net/xfrm/xfrm_state.c err = km->new_mapping(x, ipaddr, sport); err 1793 net/xfrm/xfrm_state.c if (!err) err 1797 net/xfrm/xfrm_state.c return err; err 1820 net/xfrm/xfrm_state.c int err = -EINVAL; err 1829 net/xfrm/xfrm_state.c err = ret; err 1833 net/xfrm/xfrm_state.c return err; err 1840 net/xfrm/xfrm_state.c int err = -EINVAL; err 1849 net/xfrm/xfrm_state.c err = ret; err 1853 net/xfrm/xfrm_state.c return err; err 1859 net/xfrm/xfrm_state.c int err; err 1871 net/xfrm/xfrm_state.c err = -EFAULT; err 1875 net/xfrm/xfrm_state.c err = -EINVAL; err 1879 net/xfrm/xfrm_state.c optlen, &err); err 1880 net/xfrm/xfrm_state.c if (err >= 0) err 1885 net/xfrm/xfrm_state.c if (err >= 0) { err 1886 net/xfrm/xfrm_state.c xfrm_sk_policy_insert(sk, err, pol); err 1888 net/xfrm/xfrm_state.c err = 0; err 1893 net/xfrm/xfrm_state.c return err; err 1917 net/xfrm/xfrm_state.c int err = 0; err 1924 net/xfrm/xfrm_state.c err = -ENOBUFS; err 1928 net/xfrm/xfrm_state.c return err; err 1934 net/xfrm/xfrm_state.c int err = 0; err 1942 net/xfrm/xfrm_state.c err = -EINVAL; err 1947 net/xfrm/xfrm_state.c return err; err 2003 net/xfrm/xfrm_state.c int err; err 2005 net/xfrm/xfrm_state.c err = -EAFNOSUPPORT; err 2010 net/xfrm/xfrm_state.c err = 0; err 2012 net/xfrm/xfrm_state.c err = afinfo->init_flags(x); err 2016 net/xfrm/xfrm_state.c if (err) err 2019 net/xfrm/xfrm_state.c err = -EPROTONOSUPPORT; err 2067 net/xfrm/xfrm_state.c err = x->type->init_state(x); err 2068 net/xfrm/xfrm_state.c if (err) err 2078 net/xfrm/xfrm_state.c return err; err 109 net/xfrm/xfrm_user.c int err; err 111 net/xfrm/xfrm_user.c err = -EINVAL; err 120 net/xfrm/xfrm_user.c err = -EAFNOSUPPORT; err 128 net/xfrm/xfrm_user.c err = -EINVAL; err 177 net/xfrm/xfrm_user.c if ((err = verify_aead(attrs))) err 179 net/xfrm/xfrm_user.c if ((err = verify_one_alg(attrs, XFRMA_ALG_AUTH))) err 181 net/xfrm/xfrm_user.c if ((err = verify_one_alg(attrs, XFRMA_ALG_CRYPT))) err 183 net/xfrm/xfrm_user.c if ((err = verify_one_alg(attrs, XFRMA_ALG_COMP))) err 185 net/xfrm/xfrm_user.c if ((err = verify_sec_ctx_len(attrs))) err 188 net/xfrm/xfrm_user.c err = -EINVAL; err 200 net/xfrm/xfrm_user.c err = 0; err 203 net/xfrm/xfrm_user.c return err; err 324 net/xfrm/xfrm_user.c int err = -ENOMEM; err 331 net/xfrm/xfrm_user.c if ((err = attach_aead(&x->aead, &x->props.ealgo, err 334 net/xfrm/xfrm_user.c if ((err = attach_one_algo(&x->aalg, &x->props.aalgo, err 338 net/xfrm/xfrm_user.c if ((err = attach_one_algo(&x->ealg, &x->props.ealgo, err 342 net/xfrm/xfrm_user.c if ((err = attach_one_algo(&x->calg, &x->props.calgo, err 361 net/xfrm/xfrm_user.c err = xfrm_init_state(x); err 362 net/xfrm/xfrm_user.c if (err) err 387 net/xfrm/xfrm_user.c *errp = err; err 396 net/xfrm/xfrm_user.c int err; err 402 net/xfrm/xfrm_user.c err = verify_newsa_info(p, attrs); err 403 net/xfrm/xfrm_user.c if (err) err 404 net/xfrm/xfrm_user.c return err; err 406 net/xfrm/xfrm_user.c x = xfrm_state_construct(p, attrs, &err); err 408 net/xfrm/xfrm_user.c return err; err 412 net/xfrm/xfrm_user.c err = xfrm_state_add(x); err 414 net/xfrm/xfrm_user.c err = xfrm_state_update(x); err 416 net/xfrm/xfrm_user.c xfrm_audit_state_add(x, err ? 0 : 1, loginuid, sessionid, sid); err 418 net/xfrm/xfrm_user.c if (err < 0) { err 431 net/xfrm/xfrm_user.c return err; err 439 net/xfrm/xfrm_user.c int err; err 442 net/xfrm/xfrm_user.c err = -ESRCH; err 449 net/xfrm/xfrm_user.c err = -EINVAL; err 453 net/xfrm/xfrm_user.c err = -ESRCH; err 460 net/xfrm/xfrm_user.c *errp = err; err 468 net/xfrm/xfrm_user.c int err = -ESRCH; err 475 net/xfrm/xfrm_user.c x = xfrm_user_state_lookup(p, attrs, &err); err 477 net/xfrm/xfrm_user.c return err; err 479 net/xfrm/xfrm_user.c if ((err = security_xfrm_state_delete(x)) != 0) err 483 net/xfrm/xfrm_user.c err = -EPERM; err 487 net/xfrm/xfrm_user.c err = xfrm_state_delete(x); err 489 net/xfrm/xfrm_user.c if (err < 0) err 498 net/xfrm/xfrm_user.c xfrm_audit_state_delete(x, err ? 0 : 1, loginuid, sessionid, sid); err 500 net/xfrm/xfrm_user.c return err; err 588 net/xfrm/xfrm_user.c int err; err 597 net/xfrm/xfrm_user.c err = copy_to_user_state_extra(x, p, skb); err 598 net/xfrm/xfrm_user.c if (err) err 606 net/xfrm/xfrm_user.c return err; err 780 net/xfrm/xfrm_user.c int err = -ESRCH; err 782 net/xfrm/xfrm_user.c x = xfrm_user_state_lookup(p, attrs, &err); err 788 net/xfrm/xfrm_user.c err = PTR_ERR(resp_skb); err 790 net/xfrm/xfrm_user.c err = nlmsg_unicast(xfrm_nl, resp_skb, NETLINK_CB(skb).pid); err 794 net/xfrm/xfrm_user.c return err; err 828 net/xfrm/xfrm_user.c int err; err 831 net/xfrm/xfrm_user.c err = verify_userspi_info(p); err 832 net/xfrm/xfrm_user.c if (err) err 852 net/xfrm/xfrm_user.c err = -ENOENT; err 856 net/xfrm/xfrm_user.c err = xfrm_alloc_spi(x, p->min, p->max); err 857 net/xfrm/xfrm_user.c if (err) err 862 net/xfrm/xfrm_user.c err = PTR_ERR(resp_skb); err 866 net/xfrm/xfrm_user.c err = nlmsg_unicast(xfrm_nl, resp_skb, NETLINK_CB(skb).pid); err 871 net/xfrm/xfrm_user.c return err; err 1024 net/xfrm/xfrm_user.c int err; err 1026 net/xfrm/xfrm_user.c err = validate_tmpl(nr, utmpl, pol->family); err 1027 net/xfrm/xfrm_user.c if (err) err 1028 net/xfrm/xfrm_user.c return err; err 1040 net/xfrm/xfrm_user.c int err; err 1047 net/xfrm/xfrm_user.c err = verify_policy_type(type); err 1048 net/xfrm/xfrm_user.c if (err) err 1049 net/xfrm/xfrm_user.c return err; err 1084 net/xfrm/xfrm_user.c int err; err 1093 net/xfrm/xfrm_user.c err = copy_from_user_policy_type(&xp->type, attrs); err 1094 net/xfrm/xfrm_user.c if (err) err 1097 net/xfrm/xfrm_user.c if (!(err = copy_from_user_tmpl(xp, attrs))) err 1098 net/xfrm/xfrm_user.c err = copy_from_user_sec_ctx(xp, attrs); err 1099 net/xfrm/xfrm_user.c if (err) err 1104 net/xfrm/xfrm_user.c *errp = err; err 1116 net/xfrm/xfrm_user.c int err; err 1122 net/xfrm/xfrm_user.c err = verify_newpolicy_info(p); err 1123 net/xfrm/xfrm_user.c if (err) err 1124 net/xfrm/xfrm_user.c return err; err 1125 net/xfrm/xfrm_user.c err = verify_sec_ctx_len(attrs); err 1126 net/xfrm/xfrm_user.c if (err) err 1127 net/xfrm/xfrm_user.c return err; err 1129 net/xfrm/xfrm_user.c xp = xfrm_policy_construct(p, attrs, &err); err 1131 net/xfrm/xfrm_user.c return err; err 1138 net/xfrm/xfrm_user.c err = xfrm_policy_insert(p->dir, xp, excl); err 1139 net/xfrm/xfrm_user.c xfrm_audit_policy_add(xp, err ? 0 : 1, loginuid, sessionid, sid); err 1141 net/xfrm/xfrm_user.c if (err) { err 1144 net/xfrm/xfrm_user.c return err; err 1317 net/xfrm/xfrm_user.c int err; err 1324 net/xfrm/xfrm_user.c err = copy_from_user_policy_type(&type, attrs); err 1325 net/xfrm/xfrm_user.c if (err) err 1326 net/xfrm/xfrm_user.c return err; err 1328 net/xfrm/xfrm_user.c err = verify_policy_dir(p->dir); err 1329 net/xfrm/xfrm_user.c if (err) err 1330 net/xfrm/xfrm_user.c return err; err 1333 net/xfrm/xfrm_user.c xp = xfrm_policy_byid(type, p->dir, p->index, delete, &err); err 1338 net/xfrm/xfrm_user.c err = verify_sec_ctx_len(attrs); err 1339 net/xfrm/xfrm_user.c if (err) err 1340 net/xfrm/xfrm_user.c return err; err 1346 net/xfrm/xfrm_user.c err = security_xfrm_policy_alloc(&ctx, uctx); err 1347 net/xfrm/xfrm_user.c if (err) err 1348 net/xfrm/xfrm_user.c return err; err 1351 net/xfrm/xfrm_user.c delete, &err); err 1362 net/xfrm/xfrm_user.c err = PTR_ERR(resp_skb); err 1364 net/xfrm/xfrm_user.c err = nlmsg_unicast(xfrm_nl, resp_skb, err 1372 net/xfrm/xfrm_user.c xfrm_audit_policy_delete(xp, err ? 0 : 1, loginuid, sessionid, err 1375 net/xfrm/xfrm_user.c if (err != 0) err 1387 net/xfrm/xfrm_user.c return err; err 1396 net/xfrm/xfrm_user.c int err; err 1401 net/xfrm/xfrm_user.c err = xfrm_state_flush(p->proto, &audit_info); err 1402 net/xfrm/xfrm_user.c if (err) err 1403 net/xfrm/xfrm_user.c return err; err 1462 net/xfrm/xfrm_user.c int err; err 1489 net/xfrm/xfrm_user.c err = nlmsg_unicast(xfrm_nl, r_skb, NETLINK_CB(skb).pid); err 1492 net/xfrm/xfrm_user.c return err; err 1500 net/xfrm/xfrm_user.c int err = - EINVAL; err 1506 net/xfrm/xfrm_user.c return err; err 1510 net/xfrm/xfrm_user.c return err; err 1528 net/xfrm/xfrm_user.c err = 0; err 1531 net/xfrm/xfrm_user.c return err; err 1539 net/xfrm/xfrm_user.c int err; err 1542 net/xfrm/xfrm_user.c err = copy_from_user_policy_type(&type, attrs); err 1543 net/xfrm/xfrm_user.c if (err) err 1544 net/xfrm/xfrm_user.c return err; err 1549 net/xfrm/xfrm_user.c err = xfrm_policy_flush(type, &audit_info); err 1550 net/xfrm/xfrm_user.c if (err) err 1551 net/xfrm/xfrm_user.c return err; err 1567 net/xfrm/xfrm_user.c int err = -ENOENT; err 1569 net/xfrm/xfrm_user.c err = copy_from_user_policy_type(&type, attrs); err 1570 net/xfrm/xfrm_user.c if (err) err 1571 net/xfrm/xfrm_user.c return err; err 1574 net/xfrm/xfrm_user.c xp = xfrm_policy_byid(type, p->dir, p->index, 0, &err); err 1579 net/xfrm/xfrm_user.c err = verify_sec_ctx_len(attrs); err 1580 net/xfrm/xfrm_user.c if (err) err 1581 net/xfrm/xfrm_user.c return err; err 1587 net/xfrm/xfrm_user.c err = security_xfrm_policy_alloc(&ctx, uctx); err 1588 net/xfrm/xfrm_user.c if (err) err 1589 net/xfrm/xfrm_user.c return err; err 1591 net/xfrm/xfrm_user.c xp = xfrm_policy_bysel_ctx(type, p->dir, &p->sel, ctx, 0, &err); err 1604 net/xfrm/xfrm_user.c err = 0; err 1620 net/xfrm/xfrm_user.c return err; err 1627 net/xfrm/xfrm_user.c int err; err 1633 net/xfrm/xfrm_user.c err = -ENOENT; err 1635 net/xfrm/xfrm_user.c return err; err 1638 net/xfrm/xfrm_user.c err = -EINVAL; err 1650 net/xfrm/xfrm_user.c err = 0; err 1654 net/xfrm/xfrm_user.c return err; err 1667 net/xfrm/xfrm_user.c int err = -ENOMEM; err 1670 net/xfrm/xfrm_user.c return err; err 1672 net/xfrm/xfrm_user.c err = verify_newpolicy_info(&ua->policy); err 1673 net/xfrm/xfrm_user.c if (err) { err 1676 net/xfrm/xfrm_user.c return err; err 1680 net/xfrm/xfrm_user.c xp = xfrm_policy_construct(&ua->policy, attrs, &err); err 1683 net/xfrm/xfrm_user.c return err; err 1701 net/xfrm/xfrm_user.c err = km_query(x, t, xp); err 1761 net/xfrm/xfrm_user.c int err; err 1769 net/xfrm/xfrm_user.c err = copy_from_user_policy_type(&type, attrs); err 1770 net/xfrm/xfrm_user.c if (err) err 1771 net/xfrm/xfrm_user.c return err; err 1773 net/xfrm/xfrm_user.c err = copy_from_user_migrate((struct xfrm_migrate *)m, kmp, attrs, &n); err 1774 net/xfrm/xfrm_user.c if (err) err 1775 net/xfrm/xfrm_user.c return err; err 1973 net/xfrm/xfrm_user.c int type, err; err 1995 net/xfrm/xfrm_user.c err = nlmsg_parse(nlh, xfrm_msg_min[type], attrs, XFRMA_MAX, err 1997 net/xfrm/xfrm_user.c if (err < 0) err 1998 net/xfrm/xfrm_user.c return err; err 63 scripts/binoffset.c int ix, err, tmp; err 73 scripts/binoffset.c err = sscanf (pats[ix], "%5i", &tmp); err 74 scripts/binoffset.c if (err != 1 || tmp > 0xff) { err 108 scripts/binoffset.c int err; err 111 scripts/binoffset.c err = fstat (fd, &stat); err 112 scripts/binoffset.c fprintf (stderr, "filesize: %ld\n", err < 0 ? (long)err : stat.st_size); err 113 scripts/binoffset.c if (err < 0) err 114 scripts/binoffset.c return err; err 543 scripts/kconfig/zconf.y va_start(ap, err); err 544 scripts/kconfig/zconf.y vfprintf(stderr, err, ap); err 555 scripts/kconfig/zconf.y va_start(ap, err); err 556 scripts/kconfig/zconf.y vfprintf(stderr, err, ap); err 564 scripts/kconfig/zconf.y fprintf(stderr, "%s:%d: %s\n", zconf_curname(), zconf_lineno() + 1, err); err 1735 scripts/mod/modpost.c int err = 0; err 1747 scripts/mod/modpost.c err = 1; err 1758 scripts/mod/modpost.c return err; err 1778 scripts/mod/modpost.c return err; err 2054 scripts/mod/modpost.c int err; err 2127 scripts/mod/modpost.c err = 0; err 2138 scripts/mod/modpost.c err |= add_versions(&buf, mod); err 2161 scripts/mod/modpost.c return err; err 293 scripts/unifdef.c err(2, "can't open %s", filename); err 298 security/keys/keyring.c long err; err 306 security/keys/keyring.c err = key_task_permission(keyring_ref, context, KEY_SEARCH); err 307 security/keys/keyring.c if (err < 0) { err 308 security/keys/keyring.c key_ref = ERR_PTR(err); err 319 security/keys/keyring.c err = -EAGAIN; err 384 security/keys/keyring.c err = -ENOKEY; err 430 security/keys/keyring.c key_ref = ERR_PTR(err); err 410 security/keys/process_keys.c key_ref_t key_ref, ret, err; err 423 security/keys/process_keys.c err = ERR_PTR(-EAGAIN); err 441 security/keys/process_keys.c err = key_ref; err 462 security/keys/process_keys.c err = key_ref; err 488 security/keys/process_keys.c err = key_ref; err 508 security/keys/process_keys.c err = key_ref; err 543 security/keys/process_keys.c err = key_ref; err 552 security/keys/process_keys.c key_ref = ret ? ret : err; err 3066 security/selinux/hooks.c int err = 0; err 3071 security/selinux/hooks.c err = -EINVAL; err 3076 security/selinux/hooks.c err = file_has_perm(current, file, FILE__WRITE); err 3086 security/selinux/hooks.c err = file_has_perm(current, file, 0); err 3097 security/selinux/hooks.c err = -EINVAL; err 3100 security/selinux/hooks.c err = file_has_perm(current, file, FILE__LOCK); err 3104 security/selinux/hooks.c return err; err 3609 security/selinux/hooks.c int err; err 3617 security/selinux/hooks.c err = security_net_peersid_resolve(nlbl_sid, nlbl_type, xfrm_sid, sid); err 3618 security/selinux/hooks.c if (unlikely(err)) { err 3635 security/selinux/hooks.c int err = 0; err 3645 security/selinux/hooks.c err = avc_has_perm(tsec->sid, isec->sid, isec->sclass, perms, &ad); err 3648 security/selinux/hooks.c return err; err 3654 security/selinux/hooks.c int err = 0; err 3663 security/selinux/hooks.c err = avc_has_perm(tsec->sid, newsid, err 3668 security/selinux/hooks.c return err; err 3674 security/selinux/hooks.c int err = 0; err 3692 security/selinux/hooks.c err = selinux_netlbl_socket_post_create(sock); err 3695 security/selinux/hooks.c return err; err 3705 security/selinux/hooks.c int err; err 3707 security/selinux/hooks.c err = socket_has_perm(current, sock, SOCKET__BIND); err 3708 security/selinux/hooks.c if (err) err 3747 security/selinux/hooks.c err = sel_netport_sid(sk->sk_protocol, err 3749 security/selinux/hooks.c if (err) err 3754 security/selinux/hooks.c err = avc_has_perm(isec->sid, sid, err 3757 security/selinux/hooks.c if (err) err 3780 security/selinux/hooks.c err = sel_netnode_sid(addrp, family, &sid); err 3781 security/selinux/hooks.c if (err) err 3793 security/selinux/hooks.c err = avc_has_perm(isec->sid, sid, err 3795 security/selinux/hooks.c if (err) err 3799 security/selinux/hooks.c return err; err 3806 security/selinux/hooks.c int err; err 3808 security/selinux/hooks.c err = socket_has_perm(current, sock, SOCKET__CONNECT); err 3809 security/selinux/hooks.c if (err) err 3810 security/selinux/hooks.c return err; err 3836 security/selinux/hooks.c err = sel_netport_sid(sk->sk_protocol, snum, &sid); err 3837 security/selinux/hooks.c if (err) err 3846 security/selinux/hooks.c err = avc_has_perm(isec->sid, sid, isec->sclass, perm, &ad); err 3847 security/selinux/hooks.c if (err) err 3851 security/selinux/hooks.c err = selinux_netlbl_socket_connect(sk, address); err 3854 security/selinux/hooks.c return err; err 3864 security/selinux/hooks.c int err; err 3868 security/selinux/hooks.c err = socket_has_perm(current, sock, SOCKET__ACCEPT); err 3869 security/selinux/hooks.c if (err) err 3870 security/selinux/hooks.c return err; err 3912 security/selinux/hooks.c int err; err 3914 security/selinux/hooks.c err = socket_has_perm(current, sock, SOCKET__SETOPT); err 3915 security/selinux/hooks.c if (err) err 3916 security/selinux/hooks.c return err; err 3940 security/selinux/hooks.c int err; err 3942 security/selinux/hooks.c err = secondary_ops->unix_stream_connect(sock, other, newsk); err 3943 security/selinux/hooks.c if (err) err 3944 security/selinux/hooks.c return err; err 3952 security/selinux/hooks.c err = avc_has_perm(isec->sid, other_isec->sid, err 3955 security/selinux/hooks.c if (err) err 3956 security/selinux/hooks.c return err; err 3965 security/selinux/hooks.c err = security_sid_mls_copy(other_isec->sid, ssec->peer_sid, &ssec->sid); err 3967 security/selinux/hooks.c return err; err 3976 security/selinux/hooks.c int err; err 3984 security/selinux/hooks.c err = avc_has_perm(isec->sid, other_isec->sid, err 3986 security/selinux/hooks.c if (err) err 3987 security/selinux/hooks.c return err; err 3996 security/selinux/hooks.c int err; err 4000 security/selinux/hooks.c err = sel_netif_sid(ifindex, &if_sid); err 4001 security/selinux/hooks.c if (err) err 4002 security/selinux/hooks.c return err; err 4003 security/selinux/hooks.c err = avc_has_perm(peer_sid, if_sid, err 4005 security/selinux/hooks.c if (err) err 4006 security/selinux/hooks.c return err; err 4008 security/selinux/hooks.c err = sel_netnode_sid(addrp, family, &node_sid); err 4009 security/selinux/hooks.c if (err) err 4010 security/selinux/hooks.c return err; err 4021 security/selinux/hooks.c int err; err 4053 security/selinux/hooks.c err = sel_netif_sid(skb->iif, &if_sid); err 4054 security/selinux/hooks.c if (err) err 4055 security/selinux/hooks.c return err; err 4056 security/selinux/hooks.c err = avc_has_perm(sk_sid, if_sid, SECCLASS_NETIF, netif_perm, ad); err 4057 security/selinux/hooks.c if (err) err 4058 security/selinux/hooks.c return err; err 4060 security/selinux/hooks.c err = sel_netnode_sid(addrp, family, &node_sid); err 4061 security/selinux/hooks.c if (err) err 4062 security/selinux/hooks.c return err; err 4063 security/selinux/hooks.c err = avc_has_perm(sk_sid, node_sid, SECCLASS_NODE, node_perm, ad); err 4064 security/selinux/hooks.c if (err) err 4065 security/selinux/hooks.c return err; err 4069 security/selinux/hooks.c err = sel_netport_sid(sk->sk_protocol, err 4071 security/selinux/hooks.c if (unlikely(err)) { err 4076 security/selinux/hooks.c return err; err 4084 security/selinux/hooks.c int err; err 4094 security/selinux/hooks.c err = selinux_parse_skb(skb, &ad, &addrp, 1, NULL); err 4095 security/selinux/hooks.c if (err) err 4096 security/selinux/hooks.c return err; err 4099 security/selinux/hooks.c err = selinux_sock_rcv_skb_iptables_compat(sk, skb, &ad, err 4102 security/selinux/hooks.c err = avc_has_perm(sk_sid, skb->secmark, SECCLASS_PACKET, err 4104 security/selinux/hooks.c if (err) err 4105 security/selinux/hooks.c return err; err 4108 security/selinux/hooks.c err = selinux_skb_peerlbl_sid(skb, family, &peer_sid); err 4109 security/selinux/hooks.c if (err) err 4110 security/selinux/hooks.c return err; err 4111 security/selinux/hooks.c err = avc_has_perm(sk_sid, peer_sid, err 4113 security/selinux/hooks.c if (err) err 4114 security/selinux/hooks.c selinux_netlbl_err(skb, err, 0); err 4116 security/selinux/hooks.c err = selinux_netlbl_sock_rcv_skb(sksec, skb, family, &ad); err 4117 security/selinux/hooks.c if (err) err 4118 security/selinux/hooks.c return err; err 4119 security/selinux/hooks.c err = selinux_xfrm_sock_rcv_skb(sksec->sid, skb, &ad); err 4122 security/selinux/hooks.c return err; err 4127 security/selinux/hooks.c int err; err 4158 security/selinux/hooks.c err = selinux_parse_skb(skb, &ad, &addrp, 1, NULL); err 4159 security/selinux/hooks.c if (err) err 4160 security/selinux/hooks.c return err; err 4165 security/selinux/hooks.c err = selinux_skb_peerlbl_sid(skb, family, &peer_sid); err 4166 security/selinux/hooks.c if (err) err 4167 security/selinux/hooks.c return err; err 4168 security/selinux/hooks.c err = selinux_inet_sys_rcv_skb(skb->iif, addrp, family, err 4170 security/selinux/hooks.c if (err) { err 4171 security/selinux/hooks.c selinux_netlbl_err(skb, err, 0); err 4172 security/selinux/hooks.c return err; err 4174 security/selinux/hooks.c err = avc_has_perm(sk_sid, peer_sid, SECCLASS_PEER, err 4176 security/selinux/hooks.c if (err) err 4177 security/selinux/hooks.c selinux_netlbl_err(skb, err, 0); err 4181 security/selinux/hooks.c err = avc_has_perm(sk_sid, skb->secmark, SECCLASS_PACKET, err 4183 security/selinux/hooks.c if (err) err 4184 security/selinux/hooks.c return err; err 4187 security/selinux/hooks.c return err; err 4193 security/selinux/hooks.c int err = 0; err 4208 security/selinux/hooks.c err = -ENOPROTOOPT; err 4212 security/selinux/hooks.c err = security_sid_to_context(peer_sid, &scontext, &scontext_len); err 4214 security/selinux/hooks.c if (err) err 4218 security/selinux/hooks.c err = -ERANGE; err 4223 security/selinux/hooks.c err = -EFAULT; err 4227 security/selinux/hooks.c err = -EFAULT; err 4231 security/selinux/hooks.c return err; err 4308 security/selinux/hooks.c int err; err 4317 security/selinux/hooks.c err = selinux_skb_peerlbl_sid(skb, family, &peersid); err 4318 security/selinux/hooks.c if (err) err 4319 security/selinux/hooks.c return err; err 4326 security/selinux/hooks.c err = security_sid_mls_copy(sksec->sid, peersid, &newsid); err 4327 security/selinux/hooks.c if (err) err 4328 security/selinux/hooks.c return err; err 4374 security/selinux/hooks.c int err = 0; err 4381 security/selinux/hooks.c err = -EINVAL; err 4386 security/selinux/hooks.c err = selinux_nlmsg_lookup(isec->sclass, nlh->nlmsg_type, &perm); err 4387 security/selinux/hooks.c if (err) { err 4388 security/selinux/hooks.c if (err == -EINVAL) { err 4394 security/selinux/hooks.c err = 0; err 4398 security/selinux/hooks.c if (err == -ENOENT) err 4399 security/selinux/hooks.c err = 0; err 4403 security/selinux/hooks.c err = socket_has_perm(current, sock, perm); err 4405 security/selinux/hooks.c return err; err 4413 security/selinux/hooks.c int err; err 4440 security/selinux/hooks.c err = selinux_inet_sys_rcv_skb(ifindex, addrp, family, err 4442 security/selinux/hooks.c if (err) { err 4443 security/selinux/hooks.c selinux_netlbl_err(skb, err, 1); err 4520 security/selinux/hooks.c int err; err 4552 security/selinux/hooks.c err = sel_netif_sid(ifindex, &if_sid); err 4553 security/selinux/hooks.c if (err) err 4554 security/selinux/hooks.c return err; err 4555 security/selinux/hooks.c err = avc_has_perm(sk_sid, if_sid, SECCLASS_NETIF, netif_perm, ad); err 4556 security/selinux/hooks.c return err; err 4558 security/selinux/hooks.c err = sel_netnode_sid(addrp, family, &node_sid); err 4559 security/selinux/hooks.c if (err) err 4560 security/selinux/hooks.c return err; err 4561 security/selinux/hooks.c err = avc_has_perm(sk_sid, node_sid, SECCLASS_NODE, node_perm, ad); err 4562 security/selinux/hooks.c if (err) err 4563 security/selinux/hooks.c return err; err 4568 security/selinux/hooks.c err = sel_netport_sid(sk->sk_protocol, err 4570 security/selinux/hooks.c if (unlikely(err)) { err 4575 security/selinux/hooks.c return err; err 4737 security/selinux/hooks.c int err; err 4739 security/selinux/hooks.c err = secondary_ops->netlink_send(sk, skb); err 4740 security/selinux/hooks.c if (err) err 4741 security/selinux/hooks.c return err; err 4744 security/selinux/hooks.c err = selinux_nlmsg_perm(sk, skb); err 4746 security/selinux/hooks.c return err; err 4751 security/selinux/hooks.c int err; err 4754 security/selinux/hooks.c err = secondary_ops->netlink_recv(skb, capability); err 4755 security/selinux/hooks.c if (err) err 4756 security/selinux/hooks.c return err; err 4888 security/selinux/hooks.c int err; err 4910 security/selinux/hooks.c err = ipc_has_perm(&msq->q_perm, perms); err 4911 security/selinux/hooks.c return err; err 5037 security/selinux/hooks.c int err; err 5062 security/selinux/hooks.c err = ipc_has_perm(&shp->shm_perm, perms); err 5063 security/selinux/hooks.c return err; err 5135 security/selinux/hooks.c int err; err 5170 security/selinux/hooks.c err = ipc_has_perm(&sma->sem_perm, perms); err 5171 security/selinux/hooks.c return err; err 5794 security/selinux/hooks.c int err = 0; err 5801 security/selinux/hooks.c err = nf_register_hooks(selinux_ipv4_ops, ARRAY_SIZE(selinux_ipv4_ops)); err 5802 security/selinux/hooks.c if (err) err 5803 security/selinux/hooks.c panic("SELinux: nf_register_hooks for IPv4: error %d\n", err); err 5806 security/selinux/hooks.c err = nf_register_hooks(selinux_ipv6_ops, ARRAY_SIZE(selinux_ipv6_ops)); err 5807 security/selinux/hooks.c if (err) err 5808 security/selinux/hooks.c panic("SELinux: nf_register_hooks for IPv6: error %d\n", err); err 5812 security/selinux/hooks.c return err; err 84 security/selinux/include/xfrm.h int err = selinux_xfrm_decode_session(skb, sid, 0); err 85 security/selinux/include/xfrm.h BUG_ON(err); err 300 security/selinux/netif.c int i, err; err 310 security/selinux/netif.c err = avc_add_callback(sel_netif_avc_callback, AVC_CALLBACK_RESET, err 312 security/selinux/netif.c if (err) err 313 security/selinux/netif.c panic("avc_add_callback() failed, error %d\n", err); err 315 security/selinux/netif.c return err; err 119 security/selinux/nlmsgtab.c int i, err = -EINVAL; err 124 security/selinux/nlmsgtab.c err = 0; err 128 security/selinux/nlmsgtab.c return err; err 133 security/selinux/nlmsgtab.c int err = 0; err 137 security/selinux/nlmsgtab.c err = nlmsg_perm(nlmsg_type, perm, nlmsg_route_perms, err 143 security/selinux/nlmsgtab.c err = nlmsg_perm(nlmsg_type, perm, nlmsg_firewall_perms, err 148 security/selinux/nlmsgtab.c err = nlmsg_perm(nlmsg_type, perm, nlmsg_tcpdiag_perms, err 153 security/selinux/nlmsgtab.c err = nlmsg_perm(nlmsg_type, perm, nlmsg_xfrm_perms, err 164 security/selinux/nlmsgtab.c err = nlmsg_perm(nlmsg_type, perm, nlmsg_audit_perms, err 171 security/selinux/nlmsgtab.c err = -ENOENT; err 175 security/selinux/nlmsgtab.c return err; err 1069 security/selinux/selinuxfs.c goto err; err 1074 security/selinux/selinuxfs.c goto err; err 1080 security/selinux/selinuxfs.c goto err; err 1083 security/selinux/selinuxfs.c goto err; err 1088 security/selinux/selinuxfs.c goto err; err 1101 security/selinux/selinuxfs.c err: err 1672 security/selinux/selinuxfs.c goto err; err 1679 security/selinux/selinuxfs.c goto err; err 1684 security/selinux/selinuxfs.c goto err; err 1691 security/selinux/selinuxfs.c goto err; err 1697 security/selinux/selinuxfs.c goto err; err 1712 security/selinux/selinuxfs.c goto err; err 1717 security/selinux/selinuxfs.c goto err; err 1721 security/selinux/selinuxfs.c goto err; err 1726 security/selinux/selinuxfs.c goto err; err 1731 security/selinux/selinuxfs.c goto err; err 1735 security/selinux/selinuxfs.c goto err; err 1740 security/selinux/selinuxfs.c goto err; err 1745 security/selinux/selinuxfs.c goto err; err 1752 security/selinux/selinuxfs.c goto err; err 1757 security/selinux/selinuxfs.c goto err; err 1763 security/selinux/selinuxfs.c err: err 1786 security/selinux/selinuxfs.c int err; err 1790 security/selinux/selinuxfs.c err = register_filesystem(&sel_fs_type); err 1791 security/selinux/selinuxfs.c if (!err) { err 1795 security/selinux/selinuxfs.c err = PTR_ERR(selinuxfs_mount); err 1799 security/selinux/selinuxfs.c return err; err 226 security/selinux/ss/conditional.c goto err; err 232 security/selinux/ss/conditional.c goto err; err 238 security/selinux/ss/conditional.c goto err; err 241 security/selinux/ss/conditional.c goto err; err 244 security/selinux/ss/conditional.c goto err; err 247 security/selinux/ss/conditional.c err: err 276 security/selinux/ss/conditional.c goto err; err 291 security/selinux/ss/conditional.c goto err; err 302 security/selinux/ss/conditional.c goto err; err 308 security/selinux/ss/conditional.c goto err; err 316 security/selinux/ss/conditional.c goto err; err 321 security/selinux/ss/conditional.c goto err; err 331 security/selinux/ss/conditional.c err: err 409 security/selinux/ss/conditional.c goto err; err 413 security/selinux/ss/conditional.c goto err; err 420 security/selinux/ss/conditional.c goto err; err 431 security/selinux/ss/conditional.c goto err; err 433 security/selinux/ss/conditional.c goto err; err 435 security/selinux/ss/conditional.c err: err 455 security/selinux/ss/conditional.c goto err; err 460 security/selinux/ss/conditional.c goto err; err 463 security/selinux/ss/conditional.c goto err; err 472 security/selinux/ss/conditional.c err: err 1691 security/selinux/ss/services.c goto err; err 1697 security/selinux/ss/services.c goto err; err 1704 security/selinux/ss/services.c goto err; err 1715 security/selinux/ss/services.c goto err; err 1741 security/selinux/ss/services.c err: err 2162 security/selinux/ss/services.c goto err; err 2166 security/selinux/ss/services.c goto err; err 2174 security/selinux/ss/services.c goto err; err 2182 security/selinux/ss/services.c err: err 2517 security/selinux/ss/services.c goto err; err 2523 security/selinux/ss/services.c goto err; err 2529 security/selinux/ss/services.c err: err 2818 security/selinux/ss/services.c int err = 0; err 2821 security/selinux/ss/services.c err = aurule_callback(); err 2822 security/selinux/ss/services.c return err; err 2827 security/selinux/ss/services.c int err; err 2829 security/selinux/ss/services.c err = avc_add_callback(aurule_avc_callback, AVC_CALLBACK_RESET, err 2831 security/selinux/ss/services.c if (err) err 2832 security/selinux/ss/services.c panic("avc_add_callback() failed, error %d\n", err); err 2834 security/selinux/ss/services.c return err; err 289 security/selinux/xfrm.c int err; err 293 security/selinux/xfrm.c err = selinux_xfrm_sec_ctx_alloc(ctxp, uctx, 0); err 294 security/selinux/xfrm.c if (err == 0) err 297 security/selinux/xfrm.c return err; err 357 security/selinux/xfrm.c int err; err 361 security/selinux/xfrm.c err = selinux_xfrm_sec_ctx_alloc(&x->security, uctx, secid); err 362 security/selinux/xfrm.c if (err == 0) err 364 security/selinux/xfrm.c return err; err 1074 security/smack/smackfs.c int err; err 1079 security/smack/smackfs.c err = register_filesystem(&smk_fs_type); err 1080 security/smack/smackfs.c if (!err) { err 1084 security/smack/smackfs.c err = PTR_ERR(smackfs_mount); err 1092 security/smack/smackfs.c return err; err 335 sound/aoa/codecs/snd-aoa-codec-onyx.c int err = -EBUSY; err 348 sound/aoa/codecs/snd-aoa-codec-onyx.c err = onyx_write_register(onyx, ONYX_REG_DAC_CONTROL, c); err 353 sound/aoa/codecs/snd-aoa-codec-onyx.c return !err ? (v != c) : err; err 395 sound/aoa/codecs/snd-aoa-codec-onyx.c int err; err 405 sound/aoa/codecs/snd-aoa-codec-onyx.c err = -EBUSY; err 413 sound/aoa/codecs/snd-aoa-codec-onyx.c err = onyx_write_register(onyx, address, c); err 418 sound/aoa/codecs/snd-aoa-codec-onyx.c return !err ? (v != c) : err; err 704 sound/aoa/codecs/snd-aoa-codec-onyx.c int err = -EBUSY; err 717 sound/aoa/codecs/snd-aoa-codec-onyx.c err = 0; err 728 sound/aoa/codecs/snd-aoa-codec-onyx.c err = 0; err 739 sound/aoa/codecs/snd-aoa-codec-onyx.c err = 0; err 746 sound/aoa/codecs/snd-aoa-codec-onyx.c return err; err 803 sound/aoa/codecs/snd-aoa-codec-onyx.c int err = -ENXIO; err 810 sound/aoa/codecs/snd-aoa-codec-onyx.c err = 0; err 814 sound/aoa/codecs/snd-aoa-codec-onyx.c return err; err 821 sound/aoa/codecs/snd-aoa-codec-onyx.c int err = -ENXIO; err 841 sound/aoa/codecs/snd-aoa-codec-onyx.c err = 0; err 845 sound/aoa/codecs/snd-aoa-codec-onyx.c return err; err 872 sound/aoa/codecs/snd-aoa-codec-onyx.c int err; err 936 sound/aoa/codecs/snd-aoa-codec-onyx.c err = aoa_snd_ctl_add(ctl); \ err 937 sound/aoa/codecs/snd-aoa-codec-onyx.c if (err) \ err 985 sound/aoa/codecs/snd-aoa-codec-onyx.c return err; err 1086 sound/aoa/codecs/snd-aoa-codec-onyx.c int err; err 1088 sound/aoa/codecs/snd-aoa-codec-onyx.c if ((err = i2c_detach_client(client))) err 1089 sound/aoa/codecs/snd-aoa-codec-onyx.c return err; err 805 sound/aoa/codecs/snd-aoa-codec-tas.c int err; err 832 sound/aoa/codecs/snd-aoa-codec-tas.c err = aoa_snd_ctl_add(snd_ctl_new1(&volume_control, tas)); err 833 sound/aoa/codecs/snd-aoa-codec-tas.c if (err) err 836 sound/aoa/codecs/snd-aoa-codec-tas.c err = aoa_snd_ctl_add(snd_ctl_new1(&mute_control, tas)); err 837 sound/aoa/codecs/snd-aoa-codec-tas.c if (err) err 840 sound/aoa/codecs/snd-aoa-codec-tas.c err = aoa_snd_ctl_add(snd_ctl_new1(&pcm1_control, tas)); err 841 sound/aoa/codecs/snd-aoa-codec-tas.c if (err) err 844 sound/aoa/codecs/snd-aoa-codec-tas.c err = aoa_snd_ctl_add(snd_ctl_new1(&monitor_control, tas)); err 845 sound/aoa/codecs/snd-aoa-codec-tas.c if (err) err 848 sound/aoa/codecs/snd-aoa-codec-tas.c err = aoa_snd_ctl_add(snd_ctl_new1(&capture_source_control, tas)); err 849 sound/aoa/codecs/snd-aoa-codec-tas.c if (err) err 852 sound/aoa/codecs/snd-aoa-codec-tas.c err = aoa_snd_ctl_add(snd_ctl_new1(&drc_range_control, tas)); err 853 sound/aoa/codecs/snd-aoa-codec-tas.c if (err) err 856 sound/aoa/codecs/snd-aoa-codec-tas.c err = aoa_snd_ctl_add(snd_ctl_new1(&drc_switch_control, tas)); err 857 sound/aoa/codecs/snd-aoa-codec-tas.c if (err) err 860 sound/aoa/codecs/snd-aoa-codec-tas.c err = aoa_snd_ctl_add(snd_ctl_new1(&treble_control, tas)); err 861 sound/aoa/codecs/snd-aoa-codec-tas.c if (err) err 864 sound/aoa/codecs/snd-aoa-codec-tas.c err = aoa_snd_ctl_add(snd_ctl_new1(&bass_control, tas)); err 865 sound/aoa/codecs/snd-aoa-codec-tas.c if (err) err 872 sound/aoa/codecs/snd-aoa-codec-tas.c return err; err 976 sound/aoa/codecs/snd-aoa-codec-tas.c int err; err 979 sound/aoa/codecs/snd-aoa-codec-tas.c if ((err = i2c_detach_client(client))) err 980 sound/aoa/codecs/snd-aoa-codec-tas.c return err; err 20 sound/aoa/core/snd-aoa-alsa.c int err; err 36 sound/aoa/core/snd-aoa-alsa.c err = snd_card_register(aoa_card->alsa_card); err 37 sound/aoa/core/snd-aoa-alsa.c if (err < 0) { err 41 sound/aoa/core/snd-aoa-alsa.c return err; err 66 sound/aoa/core/snd-aoa-alsa.c int err; err 70 sound/aoa/core/snd-aoa-alsa.c err = snd_device_new(card, type, device_data, ops); err 71 sound/aoa/core/snd-aoa-alsa.c if (err) { err 72 sound/aoa/core/snd-aoa-alsa.c printk(KERN_ERR "snd-aoa: failed to create snd device (%d)\n", err); err 73 sound/aoa/core/snd-aoa-alsa.c return err; err 75 sound/aoa/core/snd-aoa-alsa.c err = snd_device_register(card, device_data); err 76 sound/aoa/core/snd-aoa-alsa.c if (err) { err 78 sound/aoa/core/snd-aoa-alsa.c "snd device (%d)\n", err); err 83 sound/aoa/core/snd-aoa-alsa.c return err; err 89 sound/aoa/core/snd-aoa-alsa.c int err; err 93 sound/aoa/core/snd-aoa-alsa.c err = snd_ctl_add(aoa_card->alsa_card, control); err 94 sound/aoa/core/snd-aoa-alsa.c if (err) err 96 sound/aoa/core/snd-aoa-alsa.c err); err 97 sound/aoa/core/snd-aoa-alsa.c return err; err 26 sound/aoa/core/snd-aoa-core.c int err; err 31 sound/aoa/core/snd-aoa-core.c err = -ENOENT; err 33 sound/aoa/core/snd-aoa-core.c err = fabric->found_codec(c); err 34 sound/aoa/core/snd-aoa-core.c if (err) { err 38 sound/aoa/core/snd-aoa-core.c return err; err 42 sound/aoa/core/snd-aoa-core.c err = 0; err 44 sound/aoa/core/snd-aoa-core.c err = c->init(c); err 45 sound/aoa/core/snd-aoa-core.c if (err) { err 51 sound/aoa/core/snd-aoa-core.c return err; err 60 sound/aoa/core/snd-aoa-core.c int err = 0; err 66 sound/aoa/core/snd-aoa-core.c err = attach_codec_to_fabric(codec); err 67 sound/aoa/core/snd-aoa-core.c if (!err) err 69 sound/aoa/core/snd-aoa-core.c return err; err 88 sound/aoa/core/snd-aoa-core.c int err; err 93 sound/aoa/core/snd-aoa-core.c err = -EALREADY; err 101 sound/aoa/core/snd-aoa-core.c err = aoa_alsa_init(new_fabric->name, new_fabric->owner, dev); err 102 sound/aoa/core/snd-aoa-core.c if (err) err 103 sound/aoa/core/snd-aoa-core.c return err; err 112 sound/aoa/core/snd-aoa-core.c return err; err 302 sound/aoa/core/snd-aoa-gpio-feature.c int err = -EBUSY; err 332 sound/aoa/core/snd-aoa-gpio-feature.c err = 0; err 338 sound/aoa/core/snd-aoa-gpio-feature.c err = 0; err 346 sound/aoa/core/snd-aoa-gpio-feature.c err = request_irq(irq, ftr_handle_notify_irq, 0, name, notif); err 347 sound/aoa/core/snd-aoa-gpio-feature.c if (err) err 354 sound/aoa/core/snd-aoa-gpio-feature.c err = 0; err 357 sound/aoa/core/snd-aoa-gpio-feature.c return err; err 142 sound/aoa/core/snd-aoa-gpio-pmf.c int err = -EBUSY; err 166 sound/aoa/core/snd-aoa-gpio-pmf.c err = 0; err 172 sound/aoa/core/snd-aoa-gpio-pmf.c err = 0; err 188 sound/aoa/core/snd-aoa-gpio-pmf.c err = pmf_register_irq_client(rt->node, err 191 sound/aoa/core/snd-aoa-gpio-pmf.c if (err) { err 193 sound/aoa/core/snd-aoa-gpio-pmf.c " register %s irq (%d)\n", name, err); err 202 sound/aoa/core/snd-aoa-gpio-pmf.c err = 0; err 205 sound/aoa/core/snd-aoa-gpio-pmf.c return err; err 212 sound/aoa/core/snd-aoa-gpio-pmf.c int err = -EBUSY, ret; err 229 sound/aoa/core/snd-aoa-gpio-pmf.c err = pmf_call_function(rt->node, name, &args); err 230 sound/aoa/core/snd-aoa-gpio-pmf.c if (err) err 231 sound/aoa/core/snd-aoa-gpio-pmf.c return err; err 944 sound/aoa/fabrics/snd-aoa-fabric-layout.c int err; err 1009 sound/aoa/fabrics/snd-aoa-fabric-layout.c err = aoa_fabric_register(&layout_fabric, &sdev->ofdev.dev); err 1010 sound/aoa/fabrics/snd-aoa-fabric-layout.c if (err && err != -EALREADY) { err 1105 sound/aoa/fabrics/snd-aoa-fabric-layout.c int err; err 1107 sound/aoa/fabrics/snd-aoa-fabric-layout.c err = soundbus_register_driver(&aoa_soundbus_driver); err 1108 sound/aoa/fabrics/snd-aoa-fabric-layout.c if (err) err 1109 sound/aoa/fabrics/snd-aoa-fabric-layout.c return err; err 232 sound/aoa/soundbus/i2sbus/i2sbus-core.c goto err; err 245 sound/aoa/soundbus/i2sbus/i2sbus-core.c goto err; err 257 sound/aoa/soundbus/i2sbus/i2sbus-core.c goto err; err 264 sound/aoa/soundbus/i2sbus/i2sbus-core.c goto err; err 270 sound/aoa/soundbus/i2sbus/i2sbus-core.c goto err; err 276 sound/aoa/soundbus/i2sbus/i2sbus-core.c goto err; err 280 sound/aoa/soundbus/i2sbus/i2sbus-core.c goto err; err 284 sound/aoa/soundbus/i2sbus/i2sbus-core.c goto err; err 287 sound/aoa/soundbus/i2sbus/i2sbus-core.c goto err; err 291 sound/aoa/soundbus/i2sbus/i2sbus-core.c goto err; err 296 sound/aoa/soundbus/i2sbus/i2sbus-core.c goto err; err 305 sound/aoa/soundbus/i2sbus/i2sbus-core.c err: err 325 sound/aoa/soundbus/i2sbus/i2sbus-core.c int got = 0, err; err 328 sound/aoa/soundbus/i2sbus/i2sbus-core.c err = i2sbus_control_init(dev, &control); err 329 sound/aoa/soundbus/i2sbus/i2sbus-core.c if (err) err 330 sound/aoa/soundbus/i2sbus/i2sbus-core.c return err; err 371 sound/aoa/soundbus/i2sbus/i2sbus-core.c int err, ret = 0; err 382 sound/aoa/soundbus/i2sbus/i2sbus-core.c err = 0; err 384 sound/aoa/soundbus/i2sbus/i2sbus-core.c err = cii->codec->suspend(cii, state); err 385 sound/aoa/soundbus/i2sbus/i2sbus-core.c if (err) err 386 sound/aoa/soundbus/i2sbus/i2sbus-core.c ret = err; err 401 sound/aoa/soundbus/i2sbus/i2sbus-core.c int err, ret = 0; err 409 sound/aoa/soundbus/i2sbus/i2sbus-core.c err = 0; err 411 sound/aoa/soundbus/i2sbus/i2sbus-core.c err = cii->codec->resume(cii); err 412 sound/aoa/soundbus/i2sbus/i2sbus-core.c if (err) err 413 sound/aoa/soundbus/i2sbus/i2sbus-core.c ret = err; err 75 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c int masks_inited = 0, err; err 194 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = snd_pcm_hw_constraint_integer(pi->substream->runtime, err 196 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (err < 0) { err 197 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c result = err; err 202 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = cii->codec->open(cii, pi->substream); err 203 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (err) { err 204 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c result = err; err 232 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c int err = 0, tmp; err 242 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = tmp; err 249 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c return err; err 464 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c int err = 0; err 466 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = cii->codec->prepare(cii, &bi, pi->substream); err 467 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (err) { err 468 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c result = err; err 733 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c int err; err 739 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = i2sbus_pcm_close(i2sdev, 0); err 740 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (!err) err 742 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c return err; err 803 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c int err; err 809 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = i2sbus_pcm_close(i2sdev, 1); err 810 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (!err) err 812 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c return err; err 882 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c int err, in = 0, out = 0; err 945 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = -ENODEV; err 951 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = -EBUSY; err 958 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = -EBUSY; err 963 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = snd_pcm_new(card, dev->pcmname, dev->pcmid, 0, 0, err 965 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (err) { err 981 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = -EINVAL; err 984 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = snd_pcm_new_stream(dev->pcm, SNDRV_PCM_STREAM_PLAYBACK, 1); err 985 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (err) err 996 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = -EINVAL; err 999 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = snd_pcm_new_stream(dev->pcm, SNDRV_PCM_STREAM_CAPTURE, 1); err 1000 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (err) err 1013 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = snd_device_register(card, dev->pcm); err 1014 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (err) { err 1039 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c return err; err 504 sound/arm/aaci.c int err; err 508 sound/arm/aaci.c err = devdma_hw_alloc(NULL, substream, err 510 sound/arm/aaci.c if (err < 0) err 514 sound/arm/aaci.c err = snd_ac97_pcm_open(aacirun->pcm, params_rate(params), err 518 sound/arm/aaci.c err = snd_ac97_pcm_open(aacirun->pcm, params_rate(params), err 522 sound/arm/aaci.c if (err) err 528 sound/arm/aaci.c return err; err 326 sound/arm/pxa2xx-ac97-lib.c goto err; err 362 sound/arm/pxa2xx-ac97-lib.c err: err 179 sound/arm/pxa2xx-ac97.c goto err; err 186 sound/arm/pxa2xx-ac97.c goto err; err 190 sound/arm/pxa2xx-ac97.c goto err; err 214 sound/arm/pxa2xx-ac97.c err: err 530 sound/arm/sa11xx-uda1341.c int err = 0; err 651 sound/arm/sa11xx-uda1341.c err = -EINVAL; err 655 sound/arm/sa11xx-uda1341.c return err; err 735 sound/arm/sa11xx-uda1341.c int err; err 743 sound/arm/sa11xx-uda1341.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) err 744 sound/arm/sa11xx-uda1341.c return err; err 745 sound/arm/sa11xx-uda1341.c if ((err = snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, &hw_constraints_rates)) < 0) err 746 sound/arm/sa11xx-uda1341.c return err; err 800 sound/arm/sa11xx-uda1341.c int err; err 802 sound/arm/sa11xx-uda1341.c if ((err = snd_pcm_new(sa11xx_uda1341->card, "UDA1341 PCM", device, 1, 1, &pcm)) < 0) err 803 sound/arm/sa11xx-uda1341.c return err; err 885 sound/arm/sa11xx-uda1341.c int err; err 903 sound/arm/sa11xx-uda1341.c if ((err = snd_chip_uda1341_mixer_new(card, &chip->uda1341))) err 907 sound/arm/sa11xx-uda1341.c if ((err = snd_card_sa11xx_uda1341_pcm(chip, 0)) < 0) err 916 sound/arm/sa11xx-uda1341.c if ((err = snd_card_register(card)) == 0) { err 924 sound/arm/sa11xx-uda1341.c return err; err 950 sound/arm/sa11xx-uda1341.c int err; err 954 sound/arm/sa11xx-uda1341.c if ((err = platform_driver_register(&sa11xx_uda1341_driver)) < 0) err 955 sound/arm/sa11xx-uda1341.c return err; err 961 sound/arm/sa11xx-uda1341.c err = -ENODEV; err 963 sound/arm/sa11xx-uda1341.c err = PTR_ERR(device); err 965 sound/arm/sa11xx-uda1341.c return err; err 51 sound/core/control.c int err; err 55 sound/core/control.c err = -ENODEV; err 58 sound/core/control.c err = snd_card_file_add(card, file); err 59 sound/core/control.c if (err < 0) { err 60 sound/core/control.c err = -ENODEV; err 64 sound/core/control.c err = -EFAULT; err 69 sound/core/control.c err = -ENOMEM; err 90 sound/core/control.c return err; err 315 sound/core/control.c int err = -EINVAL; err 318 sound/core/control.c return err; err 331 sound/core/control.c err = -EBUSY; err 336 sound/core/control.c err = -ENOMEM; err 350 sound/core/control.c return err; err 955 sound/core/control.c int idx, err; err 969 sound/core/control.c err = 0; err 972 sound/core/control.c err = snd_ctl_remove(card, _kctl); err 974 sound/core/control.c err = -EBUSY; err 977 sound/core/control.c err = -ENOENT; err 980 sound/core/control.c if (err < 0) err 981 sound/core/control.c return err; err 1036 sound/core/control.c err = snd_ctl_add(card, _kctl); err 1037 sound/core/control.c if (err < 0) err 1038 sound/core/control.c return err; err 1060 sound/core/control.c int err; err 1064 sound/core/control.c err = snd_ctl_remove_unlocked_id(file, &id); err 1065 sound/core/control.c if (! err) { err 1071 sound/core/control.c return err; err 1104 sound/core/control.c int err = 0; err 1113 sound/core/control.c err = -ENOENT; err 1117 sound/core/control.c err = -ENXIO; err 1124 sound/core/control.c err = -ENXIO; err 1129 sound/core/control.c err = -EPERM; err 1132 sound/core/control.c err = kctl->tlv.c(kctl, op_flag, tlv.length, _tlv->tlv); err 1133 sound/core/control.c if (err > 0) { err 1140 sound/core/control.c err = -ENXIO; err 1145 sound/core/control.c err = -ENOMEM; err 1149 sound/core/control.c err = -EFAULT; err 1153 sound/core/control.c return err; err 1163 sound/core/control.c int err; err 1211 sound/core/control.c err = p->fioctl(card, ctl, cmd, arg); err 1212 sound/core/control.c if (err != -ENOIOCTLCMD) { err 1214 sound/core/control.c return err; err 1226 sound/core/control.c int err = 0; err 1243 sound/core/control.c err = -EAGAIN; err 1264 sound/core/control.c err = -EFAULT; err 1275 sound/core/control.c return result > 0 ? result : err; err 1372 sound/core/control.c int err; err 1374 sound/core/control.c err = fasync_helper(fd, file, on, &ctl->fasync); err 1375 sound/core/control.c if (err < 0) err 1376 sound/core/control.c return err; err 1411 sound/core/control.c int err, cardnum; err 1420 sound/core/control.c if ((err = snd_register_device(SNDRV_DEVICE_TYPE_CONTROL, card, -1, err 1422 sound/core/control.c return err; err 1433 sound/core/control.c int err, cardnum; err 1448 sound/core/control.c if ((err = snd_unregister_device(SNDRV_DEVICE_TYPE_CONTROL, err 1450 sound/core/control.c return err; err 39 sound/core/control_compat.c int err; err 50 sound/core/control_compat.c err = snd_ctl_elem_list(card, data); err 51 sound/core/control_compat.c if (err < 0) err 52 sound/core/control_compat.c return err; err 95 sound/core/control_compat.c int err; err 101 sound/core/control_compat.c err = -EFAULT; err 112 sound/core/control_compat.c err = snd_power_wait(ctl->card, SNDRV_CTL_POWER_D0); err 113 sound/core/control_compat.c if (err >= 0) err 114 sound/core/control_compat.c err = snd_ctl_elem_info(ctl, data); err 117 sound/core/control_compat.c if (err < 0) err 120 sound/core/control_compat.c err = -EFAULT; err 150 sound/core/control_compat.c err = 0; err 153 sound/core/control_compat.c return err; err 177 sound/core/control_compat.c int err; err 191 sound/core/control_compat.c err = kctl->info(kctl, info); err 193 sound/core/control_compat.c if (err >= 0) { err 194 sound/core/control_compat.c err = info->type; err 198 sound/core/control_compat.c return err; err 288 sound/core/control_compat.c int err, type, count; err 294 sound/core/control_compat.c if ((err = copy_ctl_value_from_user(card, data, data32, &type, &count)) < 0) err 298 sound/core/control_compat.c err = snd_power_wait(card, SNDRV_CTL_POWER_D0); err 299 sound/core/control_compat.c if (err >= 0) err 300 sound/core/control_compat.c err = snd_ctl_elem_read(card, data); err 302 sound/core/control_compat.c if (err >= 0) err 303 sound/core/control_compat.c err = copy_ctl_value_to_user(data32, data, type, count); err 306 sound/core/control_compat.c return err; err 314 sound/core/control_compat.c int err, type, count; err 320 sound/core/control_compat.c if ((err = copy_ctl_value_from_user(card, data, data32, &type, &count)) < 0) err 324 sound/core/control_compat.c err = snd_power_wait(card, SNDRV_CTL_POWER_D0); err 325 sound/core/control_compat.c if (err >= 0) err 326 sound/core/control_compat.c err = snd_ctl_elem_write(card, file, data); err 328 sound/core/control_compat.c if (err >= 0) err 329 sound/core/control_compat.c err = copy_ctl_value_to_user(data32, data, type, count); err 332 sound/core/control_compat.c return err; err 341 sound/core/control_compat.c int err; err 347 sound/core/control_compat.c err = -EFAULT; err 378 sound/core/control_compat.c err = snd_ctl_elem_add(file, data, replace); err 381 sound/core/control_compat.c return err; err 398 sound/core/control_compat.c int err; err 434 sound/core/control_compat.c err = p->fioctl(ctl->card, ctl, cmd, arg); err 435 sound/core/control_compat.c if (err != -ENOIOCTLCMD) { err 437 sound/core/control_compat.c return err; err 159 sound/core/device.c int err; err 167 sound/core/device.c if ((err = dev->ops->dev_register(dev)) < 0) err 168 sound/core/device.c return err; err 188 sound/core/device.c int err; err 194 sound/core/device.c if ((err = dev->ops->dev_register(dev)) < 0) err 195 sound/core/device.c return err; err 209 sound/core/device.c int err = 0; err 215 sound/core/device.c err = -ENXIO; err 217 sound/core/device.c return err; err 227 sound/core/device.c int err; err 237 sound/core/device.c if ((err = snd_device_free(card, dev->device_data)) < 0) err 238 sound/core/device.c return err; err 86 sound/core/hwdep.c int err; err 113 sound/core/hwdep.c err = -EBUSY; err 116 sound/core/hwdep.c err = hw->ops.open(hw, file); err 117 sound/core/hwdep.c if (err >= 0) err 119 sound/core/hwdep.c if (err == -EAGAIN) { err 121 sound/core/hwdep.c err = -EBUSY; err 131 sound/core/hwdep.c err = -ERESTARTSYS; err 136 sound/core/hwdep.c if (err >= 0) { err 137 sound/core/hwdep.c err = snd_card_file_add(hw->card, file); err 138 sound/core/hwdep.c if (err >= 0) { err 147 sound/core/hwdep.c if (err < 0) err 149 sound/core/hwdep.c return err; err 154 sound/core/hwdep.c int err = -ENXIO; err 160 sound/core/hwdep.c err = hw->ops.release(hw, file); err 168 sound/core/hwdep.c return err; err 198 sound/core/hwdep.c int err; err 204 sound/core/hwdep.c if ((err = hw->ops.dsp_status(hw, &info)) < 0) err 205 sound/core/hwdep.c return err; err 215 sound/core/hwdep.c int err; err 227 sound/core/hwdep.c err = hw->ops.dsp_load(hw, &info); err 228 sound/core/hwdep.c if (err < 0) err 229 sound/core/hwdep.c return err; err 290 sound/core/hwdep.c int device, err; err 298 sound/core/hwdep.c err = snd_hwdep_info(hwdep, info); err 300 sound/core/hwdep.c err = -ENXIO; err 302 sound/core/hwdep.c return err; err 349 sound/core/hwdep.c int err; err 372 sound/core/hwdep.c if ((err = snd_device_new(card, SNDRV_DEV_HWDEP, hwdep, &ops)) < 0) { err 374 sound/core/hwdep.c return err; err 402 sound/core/hwdep.c int err; err 412 sound/core/hwdep.c if ((err = snd_register_device(SNDRV_DEVICE_TYPE_HWDEP, err 419 sound/core/hwdep.c return err; err 115 sound/core/info.c int err = 0; err 129 sound/core/info.c err = resize_info_buffer(buffer, buffer->len + PAGE_SIZE); err 130 sound/core/info.c if (err < 0) err 136 sound/core/info.c if (err < 0) err 137 sound/core/info.c return err; err 308 sound/core/info.c int mode, err; err 318 sound/core/info.c err = -EFAULT; err 325 sound/core/info.c err = -ENODEV; err 332 sound/core/info.c err = -ENODEV; err 338 sound/core/info.c err = -ENOMEM; err 367 sound/core/info.c if ((err = entry->c.ops->open(entry, mode, err 397 sound/core/info.c err = -ENOMEM; err 402 sound/core/info.c return err; err 905 sound/core/info.c int err; err 910 sound/core/info.c if ((err = snd_device_new(card, SNDRV_DEV_INFO, entry, &ops)) < 0) { err 912 sound/core/info.c return err; err 100 sound/core/init.c int err; err 103 sound/core/init.c if ((err = snd_info_card_register(card)) < 0) { err 105 sound/core/init.c return err; err 109 sound/core/init.c return err; err 139 sound/core/init.c int err, idx2; err 151 sound/core/init.c err = 0; err 174 sound/core/init.c err = -ENODEV; err 177 sound/core/init.c err = -EBUSY; /* invalid */ err 179 sound/core/init.c err = -ENODEV; err 180 sound/core/init.c if (err < 0) { err 183 sound/core/init.c idx, snd_ecards_limit - 1, err); err 205 sound/core/init.c if ((err = snd_ctl_create(card)) < 0) { err 209 sound/core/init.c if ((err = snd_info_card_create(card)) < 0) { err 325 sound/core/init.c int err; err 375 sound/core/init.c err = snd_device_disconnect_all(card); err 376 sound/core/init.c if (err < 0) err 546 sound/core/init.c int err; err 559 sound/core/init.c if ((err = snd_device_register_all(card)) < 0) err 560 sound/core/init.c return err; err 46 sound/core/jack.c int err; err 56 sound/core/jack.c err = input_register_device(jack->input_dev); err 57 sound/core/jack.c if (err == 0) err 60 sound/core/jack.c return err; err 80 sound/core/jack.c int err; err 94 sound/core/jack.c err = -ENOMEM; err 109 sound/core/jack.c err = snd_device_new(card, SNDRV_DEV_JACK, jack, &ops); err 110 sound/core/jack.c if (err < 0) err 120 sound/core/jack.c return err; err 236 sound/core/memalloc.c int err; err 238 sound/core/memalloc.c while ((err = snd_dma_alloc_pages(type, device, size, dmab)) < 0) { err 240 sound/core/memalloc.c if (err != -ENOMEM) err 241 sound/core/memalloc.c return err; err 66 sound/core/oss/copy.c int err; err 85 sound/core/oss/copy.c err = snd_pcm_plugin_build(plug, "copy", src_format, dst_format, err 87 sound/core/oss/copy.c if (err < 0) err 88 sound/core/oss/copy.c return err; err 94 sound/core/oss/io.c int err; err 97 sound/core/oss/io.c err = snd_pcm_plugin_client_channels(plugin, frames, &v); err 98 sound/core/oss/io.c if (err < 0) err 99 sound/core/oss/io.c return err; err 112 sound/core/oss/io.c int err; err 124 sound/core/oss/io.c err = snd_pcm_plugin_build(plug, "I/O io", err 128 sound/core/oss/io.c if (err < 0) err 129 sound/core/oss/io.c return err; err 154 sound/core/oss/linear.c int err; err 170 sound/core/oss/linear.c err = snd_pcm_plugin_build(plug, "linear format conversion", err 173 sound/core/oss/linear.c if (err < 0) err 174 sound/core/oss/linear.c return err; err 44 sound/core/oss/mixer_oss.c int err; err 52 sound/core/oss/mixer_oss.c err = snd_card_file_add(card, file); err 53 sound/core/oss/mixer_oss.c if (err < 0) err 54 sound/core/oss/mixer_oss.c return err; err 188 sound/core/oss/mixer_oss.c int err; err 189 sound/core/oss/mixer_oss.c if ((err = mixer->get_recsrc(fmixer, &result)) < 0) err 190 sound/core/oss/mixer_oss.c return err; err 778 sound/core/oss/mixer_oss.c int err, idx; err 783 sound/core/oss/mixer_oss.c err = -ENOMEM; err 789 sound/core/oss/mixer_oss.c err = -ENOENT; err 792 sound/core/oss/mixer_oss.c if ((err = kctl->info(kctl, uinfo)) < 0) err 794 sound/core/oss/mixer_oss.c if ((err = kctl->get(kctl, uctl)) < 0) err 810 sound/core/oss/mixer_oss.c err = 0; err 815 sound/core/oss/mixer_oss.c return err; err 827 sound/core/oss/mixer_oss.c int err; err 833 sound/core/oss/mixer_oss.c err = -ENOMEM; err 839 sound/core/oss/mixer_oss.c err = -ENOENT; err 842 sound/core/oss/mixer_oss.c if ((err = kctl->info(kctl, uinfo)) < 0) err 861 sound/core/oss/mixer_oss.c err = kctl->put(kctl, uctl); err 862 sound/core/oss/mixer_oss.c if (err > 0) err 864 sound/core/oss/mixer_oss.c err = 0; err 869 sound/core/oss/mixer_oss.c return err; err 883 sound/core/oss/mixer_oss.c int err; err 896 sound/core/oss/mixer_oss.c if ((err = kcontrol->info(kcontrol, info)) < 0) { err 899 sound/core/oss/mixer_oss.c return err; err 938 sound/core/oss/mixer_oss.c int err; err 940 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, ptr->name, ptr->index, err 942 sound/core/oss/mixer_oss.c if (err) err 943 sound/core/oss/mixer_oss.c return err; err 945 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, err 947 sound/core/oss/mixer_oss.c if (err) err 948 sound/core/oss/mixer_oss.c return err; err 950 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, err 952 sound/core/oss/mixer_oss.c if (err) err 953 sound/core/oss/mixer_oss.c return err; err 955 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, err 957 sound/core/oss/mixer_oss.c if (err) err 958 sound/core/oss/mixer_oss.c return err; err 960 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, err 962 sound/core/oss/mixer_oss.c if (err) err 963 sound/core/oss/mixer_oss.c return err; err 965 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, err 967 sound/core/oss/mixer_oss.c if (err) err 968 sound/core/oss/mixer_oss.c return err; err 970 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, err 972 sound/core/oss/mixer_oss.c if (err) err 973 sound/core/oss/mixer_oss.c return err; err 975 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, err 977 sound/core/oss/mixer_oss.c if (err) err 978 sound/core/oss/mixer_oss.c return err; err 980 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, err 982 sound/core/oss/mixer_oss.c if (err) err 983 sound/core/oss/mixer_oss.c return err; err 985 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, err 987 sound/core/oss/mixer_oss.c if (err) err 988 sound/core/oss/mixer_oss.c return err; err 1312 sound/core/oss/mixer_oss.c int idx, err; err 1319 sound/core/oss/mixer_oss.c if ((err = snd_register_oss_device(SNDRV_OSS_DEVICE_TYPE_MIXER, err 1326 sound/core/oss/mixer_oss.c return err; err 303 sound/core/oss/mulaw.c int err; err 333 sound/core/oss/mulaw.c err = snd_pcm_plugin_build(plug, "Mu-Law<->linear conversion", err 336 sound/core/oss/mulaw.c if (err < 0) err 337 sound/core/oss/mulaw.c return err; err 214 sound/core/oss/pcm_oss.c int err = snd_pcm_hw_refine(pcm, params); err 215 sound/core/oss/pcm_oss.c if (err < 0) err 216 sound/core/oss/pcm_oss.c return err; err 273 sound/core/oss/pcm_oss.c int err = snd_pcm_hw_refine(pcm, params); err 274 sound/core/oss/pcm_oss.c if (err < 0) err 275 sound/core/oss/pcm_oss.c return err; err 334 sound/core/oss/pcm_oss.c int err = snd_pcm_hw_refine(pcm, params); err 335 sound/core/oss/pcm_oss.c if (err < 0) err 336 sound/core/oss/pcm_oss.c return err; err 538 sound/core/oss/pcm_oss.c int err = snd_pcm_hw_refine(pcm, params); err 539 sound/core/oss/pcm_oss.c if (err < 0) err 540 sound/core/oss/pcm_oss.c return err; err 837 sound/core/oss/pcm_oss.c int err; err 850 sound/core/oss/pcm_oss.c err = -ENOMEM; err 870 sound/core/oss/pcm_oss.c err = snd_pcm_hw_param_mask(substream, sparams, SNDRV_PCM_HW_PARAM_ACCESS, &mask); err 871 sound/core/oss/pcm_oss.c if (err < 0) { err 873 sound/core/oss/pcm_oss.c err = -EINVAL; err 895 sound/core/oss/pcm_oss.c err = -EINVAL; err 899 sound/core/oss/pcm_oss.c err = _snd_pcm_hw_param_set(sparams, SNDRV_PCM_HW_PARAM_FORMAT, sformat, 0); err 900 sound/core/oss/pcm_oss.c if (err < 0) err 931 sound/core/oss/pcm_oss.c if ((err = snd_pcm_plug_format_plugins(substream, err 934 sound/core/oss/pcm_oss.c snd_printd("snd_pcm_plug_format_plugins failed: %i\n", err); err 940 sound/core/oss/pcm_oss.c if ((err = snd_pcm_plugin_build_io(substream, sparams, &plugin)) < 0) { err 941 sound/core/oss/pcm_oss.c snd_printd("snd_pcm_plugin_build_io failed: %i\n", err); err 946 sound/core/oss/pcm_oss.c err = snd_pcm_plugin_append(plugin); err 948 sound/core/oss/pcm_oss.c err = snd_pcm_plugin_insert(plugin); err 950 sound/core/oss/pcm_oss.c if (err < 0) { err 958 sound/core/oss/pcm_oss.c err = snd_pcm_oss_period_size(substream, params, sparams); err 959 sound/core/oss/pcm_oss.c if (err < 0) err 963 sound/core/oss/pcm_oss.c err = snd_pcm_hw_param_near(substream, sparams, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, n, NULL); err 964 sound/core/oss/pcm_oss.c if (err < 0) err 967 sound/core/oss/pcm_oss.c err = snd_pcm_hw_param_near(substream, sparams, SNDRV_PCM_HW_PARAM_PERIODS, err 969 sound/core/oss/pcm_oss.c if (err < 0) err 974 sound/core/oss/pcm_oss.c if ((err = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_HW_PARAMS, sparams)) < 0) { err 975 sound/core/oss/pcm_oss.c snd_printd("HW_PARAMS failed: %i\n", err); err 1007 sound/core/oss/pcm_oss.c if ((err = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_SW_PARAMS, sw_params)) < 0) { err 1008 sound/core/oss/pcm_oss.c snd_printd("SW_PARAMS failed: %i\n", err); err 1015 sound/core/oss/pcm_oss.c err = -EINVAL; err 1020 sound/core/oss/pcm_oss.c err = snd_pcm_plug_alloc(substream, oss_period_size); err 1021 sound/core/oss/pcm_oss.c if (err < 0) err 1029 sound/core/oss/pcm_oss.c err = -EINVAL; err 1057 sound/core/oss/pcm_oss.c err = 0; err 1063 sound/core/oss/pcm_oss.c return err; err 1068 sound/core/oss/pcm_oss.c int idx, err; err 1078 sound/core/oss/pcm_oss.c err = snd_pcm_oss_change_params(substream); err 1079 sound/core/oss/pcm_oss.c if (err < 0) err 1080 sound/core/oss/pcm_oss.c return err; err 1092 sound/core/oss/pcm_oss.c int err; err 1095 sound/core/oss/pcm_oss.c err = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_PREPARE, NULL); err 1096 sound/core/oss/pcm_oss.c if (err < 0) { err 1098 sound/core/oss/pcm_oss.c return err; err 1111 sound/core/oss/pcm_oss.c int err; err 1117 sound/core/oss/pcm_oss.c err = snd_pcm_oss_change_params(substream); err 1118 sound/core/oss/pcm_oss.c if (err < 0) err 1119 sound/core/oss/pcm_oss.c return err; err 1122 sound/core/oss/pcm_oss.c err = snd_pcm_oss_prepare(substream); err 1123 sound/core/oss/pcm_oss.c if (err < 0) err 1124 sound/core/oss/pcm_oss.c return err; err 1133 sound/core/oss/pcm_oss.c int err = 0; err 1136 sound/core/oss/pcm_oss.c err = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_DELAY, delay); err 1137 sound/core/oss/pcm_oss.c if (err < 0) err 1147 sound/core/oss/pcm_oss.c err = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_FORWARD, &frames); err 1148 sound/core/oss/pcm_oss.c if (err < 0) err 1151 sound/core/oss/pcm_oss.c return err; err 1360 sound/core/oss/pcm_oss.c goto err; err 1372 sound/core/oss/pcm_oss.c goto err; err 1381 sound/core/oss/pcm_oss.c goto err; err 1389 sound/core/oss/pcm_oss.c goto err; err 1402 sound/core/oss/pcm_oss.c err: err 1457 sound/core/oss/pcm_oss.c goto err; err 1467 sound/core/oss/pcm_oss.c goto err; err 1477 sound/core/oss/pcm_oss.c goto err; err 1487 sound/core/oss/pcm_oss.c err: err 1512 sound/core/oss/pcm_oss.c int err; err 1516 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_make_ready(substream)) < 0) err 1517 sound/core/oss/pcm_oss.c return err; err 1573 sound/core/oss/pcm_oss.c int err = 0; err 1586 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_make_ready(substream)) < 0) err 1587 sound/core/oss/pcm_oss.c return err; err 1599 sound/core/oss/pcm_oss.c err = snd_pcm_oss_sync1(substream, runtime->oss.period_bytes); err 1600 sound/core/oss/pcm_oss.c if (err < 0) { err 1602 sound/core/oss/pcm_oss.c return err; err 1612 sound/core/oss/pcm_oss.c err = snd_pcm_oss_sync1(substream, size); err 1613 sound/core/oss/pcm_oss.c if (err < 0) { err 1615 sound/core/oss/pcm_oss.c return err; err 1654 sound/core/oss/pcm_oss.c err = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_DRAIN, NULL); err 1656 sound/core/oss/pcm_oss.c if (err < 0) err 1657 sound/core/oss/pcm_oss.c return err; err 1663 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_make_ready(substream)) < 0) err 1664 sound/core/oss/pcm_oss.c return err; err 1666 sound/core/oss/pcm_oss.c err = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_DROP, NULL); err 1667 sound/core/oss/pcm_oss.c if (err < 0) err 1668 sound/core/oss/pcm_oss.c return err; err 1700 sound/core/oss/pcm_oss.c int err; err 1702 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_get_active_substream(pcm_oss_file, &substream)) < 0) err 1703 sound/core/oss/pcm_oss.c return err; err 1731 sound/core/oss/pcm_oss.c int err; err 1733 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_get_active_substream(pcm_oss_file, &substream)) < 0) err 1734 sound/core/oss/pcm_oss.c return err; err 1741 sound/core/oss/pcm_oss.c int err; err 1743 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_get_active_substream(pcm_oss_file, &substream)) < 0) err 1744 sound/core/oss/pcm_oss.c return err; err 1751 sound/core/oss/pcm_oss.c int err; err 1758 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_get_active_substream(pcm_oss_file, &substream)) < 0) err 1759 sound/core/oss/pcm_oss.c return err; err 1776 sound/core/oss/pcm_oss.c err = snd_pcm_hw_refine(substream, params); err 1779 sound/core/oss/pcm_oss.c if (err < 0) err 1780 sound/core/oss/pcm_oss.c return err; err 1819 sound/core/oss/pcm_oss.c int err; err 1821 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_get_active_substream(pcm_oss_file, &substream)) < 0) err 1822 sound/core/oss/pcm_oss.c return err; err 1851 sound/core/oss/pcm_oss.c int err = -EINVAL, idx; err 1857 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_set_subdivide1(substream, subdivide)) < 0) err 1858 sound/core/oss/pcm_oss.c return err; err 1860 sound/core/oss/pcm_oss.c return err; err 1884 sound/core/oss/pcm_oss.c int err = -EINVAL, idx; err 1890 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_set_fragment1(substream, val)) < 0) err 1891 sound/core/oss/pcm_oss.c return err; err 1893 sound/core/oss/pcm_oss.c return err; err 1952 sound/core/oss/pcm_oss.c int err, cmd; err 1962 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_make_ready(psubstream)) < 0) err 1963 sound/core/oss/pcm_oss.c return err; err 1966 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_make_ready(csubstream)) < 0) err 1967 sound/core/oss/pcm_oss.c return err; err 1987 sound/core/oss/pcm_oss.c err = snd_pcm_kernel_ioctl(psubstream, cmd, NULL); err 1988 sound/core/oss/pcm_oss.c if (err < 0) err 1989 sound/core/oss/pcm_oss.c return err; err 2008 sound/core/oss/pcm_oss.c err = snd_pcm_kernel_ioctl(csubstream, cmd, NULL); err 2009 sound/core/oss/pcm_oss.c if (err < 0) err 2010 sound/core/oss/pcm_oss.c return err; err 2035 sound/core/oss/pcm_oss.c int err; err 2040 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_make_ready(substream)) < 0) err 2041 sound/core/oss/pcm_oss.c return err; err 2045 sound/core/oss/pcm_oss.c err = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_DELAY, &delay); err 2046 sound/core/oss/pcm_oss.c if (err == -EPIPE) err 2048 sound/core/oss/pcm_oss.c else if (err < 0) err 2049 sound/core/oss/pcm_oss.c return err; err 2060 sound/core/oss/pcm_oss.c int err; err 2067 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_make_ready(substream)) < 0) err 2068 sound/core/oss/pcm_oss.c return err; err 2077 sound/core/oss/pcm_oss.c err = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_DELAY, &delay); err 2078 sound/core/oss/pcm_oss.c if (err == -EPIPE || err == -ESTRPIPE || (! err && delay < 0)) { err 2079 sound/core/oss/pcm_oss.c err = 0; err 2086 sound/core/oss/pcm_oss.c err = snd_pcm_oss_capture_position_fixup(substream, &delay); err 2089 sound/core/oss/pcm_oss.c if (err < 0) err 2090 sound/core/oss/pcm_oss.c return err; err 2128 sound/core/oss/pcm_oss.c int err; err 2138 sound/core/oss/pcm_oss.c (err = snd_pcm_oss_change_params(substream)) < 0) err 2139 sound/core/oss/pcm_oss.c return err; err 2153 sound/core/oss/pcm_oss.c err = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_DELAY, &avail); err 2154 sound/core/oss/pcm_oss.c if (err == -EPIPE || err == -ESTRPIPE || (! err && avail < 0)) { err 2156 sound/core/oss/pcm_oss.c err = 0; err 2163 sound/core/oss/pcm_oss.c err = snd_pcm_oss_capture_position_fixup(substream, &avail); err 2166 sound/core/oss/pcm_oss.c if (err < 0) err 2167 sound/core/oss/pcm_oss.c return err; err 2283 sound/core/oss/pcm_oss.c int idx, err; err 2312 sound/core/oss/pcm_oss.c err = snd_pcm_open_substream(pcm, idx, file, &substream); err 2313 sound/core/oss/pcm_oss.c if (err < 0) { err 2315 sound/core/oss/pcm_oss.c return err; err 2349 sound/core/oss/pcm_oss.c int err; err 2360 sound/core/oss/pcm_oss.c err = -ENODEV; err 2363 sound/core/oss/pcm_oss.c err = snd_card_file_add(pcm->card, file); err 2364 sound/core/oss/pcm_oss.c if (err < 0) err 2367 sound/core/oss/pcm_oss.c err = -EFAULT; err 2371 sound/core/oss/pcm_oss.c err = -EFAULT; err 2390 sound/core/oss/pcm_oss.c err = snd_pcm_oss_open_file(file, pcm, &pcm_oss_file, err 2392 sound/core/oss/pcm_oss.c if (err >= 0) err 2394 sound/core/oss/pcm_oss.c if (err == -EAGAIN) { err 2396 sound/core/oss/pcm_oss.c err = -EBUSY; err 2406 sound/core/oss/pcm_oss.c err = -ERESTARTSYS; err 2412 sound/core/oss/pcm_oss.c if (err < 0) err 2414 sound/core/oss/pcm_oss.c return err; err 2421 sound/core/oss/pcm_oss.c return err; err 2720 sound/core/oss/pcm_oss.c int err; err 2755 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_change_params(substream)) < 0) err 2756 sound/core/oss/pcm_oss.c return err; err 2766 sound/core/oss/pcm_oss.c err = snd_pcm_mmap_data(substream, file, area); err 2767 sound/core/oss/pcm_oss.c if (err < 0) err 2768 sound/core/oss/pcm_oss.c return err; err 3036 sound/core/oss/pcm_oss.c int err; err 3051 sound/core/oss/pcm_oss.c if ((err = snd_pcm_notify(&snd_pcm_oss_notify, 0)) < 0) err 3052 sound/core/oss/pcm_oss.c return err; err 106 sound/core/oss/pcm_plugin.c int err; err 117 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_alloc(plugin, frames); err 118 sound/core/oss/pcm_plugin.c if (err < 0) err 119 sound/core/oss/pcm_plugin.c return err; err 129 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_alloc(plugin, frames); err 130 sound/core/oss/pcm_plugin.c if (err < 0) err 131 sound/core/oss/pcm_plugin.c return err; err 364 sound/core/oss/pcm_plugin.c int err; err 413 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_build_mulaw(plug, err 416 sound/core/oss/pcm_plugin.c if (err < 0) err 417 sound/core/oss/pcm_plugin.c return err; err 418 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_append(plugin); err 419 sound/core/oss/pcm_plugin.c if (err < 0) { err 421 sound/core/oss/pcm_plugin.c return err; err 430 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_build_route(plug, &srcformat, &tmpformat, &plugin); err 431 sound/core/oss/pcm_plugin.c pdprintf("channels reduction: src=%i, dst=%i returns %i\n", srcformat.channels, tmpformat.channels, err); err 432 sound/core/oss/pcm_plugin.c if (err < 0) err 433 sound/core/oss/pcm_plugin.c return err; err 434 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_append(plugin); err 435 sound/core/oss/pcm_plugin.c if (err < 0) { err 437 sound/core/oss/pcm_plugin.c return err; err 448 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_build_linear(plug, err 451 sound/core/oss/pcm_plugin.c if (err < 0) err 452 sound/core/oss/pcm_plugin.c return err; err 453 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_append(plugin); err 454 sound/core/oss/pcm_plugin.c if (err < 0) { err 456 sound/core/oss/pcm_plugin.c return err; err 462 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_build_rate(plug, err 465 sound/core/oss/pcm_plugin.c pdprintf("rate down resampling: src=%i, dst=%i returns %i\n", srcformat.rate, tmpformat.rate, err); err 466 sound/core/oss/pcm_plugin.c if (err < 0) err 467 sound/core/oss/pcm_plugin.c return err; err 468 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_append(plugin); err 469 sound/core/oss/pcm_plugin.c if (err < 0) { err 471 sound/core/oss/pcm_plugin.c return err; err 482 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_build_mulaw(plug, err 488 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_build_linear(plug, err 494 sound/core/oss/pcm_plugin.c pdprintf("format change: src=%i, dst=%i returns %i\n", srcformat.format, tmpformat.format, err); err 495 sound/core/oss/pcm_plugin.c if (err < 0) err 496 sound/core/oss/pcm_plugin.c return err; err 497 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_append(plugin); err 498 sound/core/oss/pcm_plugin.c if (err < 0) { err 500 sound/core/oss/pcm_plugin.c return err; err 509 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_build_route(plug, &srcformat, &tmpformat, &plugin); err 510 sound/core/oss/pcm_plugin.c pdprintf("channels extension: src=%i, dst=%i returns %i\n", srcformat.channels, tmpformat.channels, err); err 511 sound/core/oss/pcm_plugin.c if (err < 0) err 512 sound/core/oss/pcm_plugin.c return err; err 513 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_append(plugin); err 514 sound/core/oss/pcm_plugin.c if (err < 0) { err 516 sound/core/oss/pcm_plugin.c return err; err 524 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_build_copy(plug, err 528 sound/core/oss/pcm_plugin.c pdprintf("interleave change (copy: returns %i)\n", err); err 529 sound/core/oss/pcm_plugin.c if (err < 0) err 530 sound/core/oss/pcm_plugin.c return err; err 531 sound/core/oss/pcm_plugin.c err = snd_pcm_plugin_append(plugin); err 532 sound/core/oss/pcm_plugin.c if (err < 0) { err 534 sound/core/oss/pcm_plugin.c return err; err 584 sound/core/oss/pcm_plugin.c int err; err 593 sound/core/oss/pcm_plugin.c if ((err = next->client_channels(next, frames1, &dst_channels)) < 0) { err 594 sound/core/oss/pcm_plugin.c return err; err 596 sound/core/oss/pcm_plugin.c if (err != frames1) { err 597 sound/core/oss/pcm_plugin.c frames = err; err 617 sound/core/oss/pcm_plugin.c int err; err 627 sound/core/oss/pcm_plugin.c if ((err = plugin->client_channels(plugin, frames, &dst_channels)) < 0) { err 628 sound/core/oss/pcm_plugin.c return err; err 630 sound/core/oss/pcm_plugin.c frames = err; err 305 sound/core/oss/rate.c int err; err 324 sound/core/oss/rate.c err = snd_pcm_plugin_build(plug, "rate conversion", err 329 sound/core/oss/rate.c if (err < 0) err 330 sound/core/oss/rate.c return err; err 92 sound/core/oss/route.c int err; err 102 sound/core/oss/route.c err = snd_pcm_plugin_build(plug, "route conversion", err 104 sound/core/oss/route.c if (err < 0) err 105 sound/core/oss/route.c return err; err 113 sound/core/pcm.c int err; err 127 sound/core/pcm.c err = -ENXIO; err 132 sound/core/pcm.c err = -ENOENT; err 136 sound/core/pcm.c err = -ENXIO; err 144 sound/core/pcm.c err = -ENXIO; err 147 sound/core/pcm.c err = snd_pcm_info_user(substream, info); err 150 sound/core/pcm.c return err; err 318 sound/core/pcm.c int err; err 329 sound/core/pcm.c err = snd_pcm_info(substream, info); err 330 sound/core/pcm.c if (err < 0) { err 331 sound/core/pcm.c snd_iprintf(buffer, "error %d\n", err); err 424 sound/core/pcm.c int err; err 430 sound/core/pcm.c err = snd_pcm_status(substream, &status); err 431 sound/core/pcm.c if (err < 0) { err 432 sound/core/pcm.c snd_iprintf(buffer, "error %d\n", err); err 619 sound/core/pcm.c int idx, err; err 630 sound/core/pcm.c err = snd_pcm_stream_proc_init(pstr); err 631 sound/core/pcm.c if (err < 0) { err 633 sound/core/pcm.c return err; err 656 sound/core/pcm.c err = snd_pcm_substream_proc_init(substream); err 657 sound/core/pcm.c if (err < 0) { err 664 sound/core/pcm.c return err; err 700 sound/core/pcm.c int err; err 720 sound/core/pcm.c if ((err = snd_pcm_new_stream(pcm, SNDRV_PCM_STREAM_PLAYBACK, playback_count)) < 0) { err 722 sound/core/pcm.c return err; err 724 sound/core/pcm.c if ((err = snd_pcm_new_stream(pcm, SNDRV_PCM_STREAM_CAPTURE, capture_count)) < 0) { err 726 sound/core/pcm.c return err; err 730 sound/core/pcm.c if ((err = snd_device_new(card, SNDRV_DEV_PCM, pcm, &ops)) < 0) { err 732 sound/core/pcm.c return err; err 951 sound/core/pcm.c int cidx, err; err 961 sound/core/pcm.c err = snd_pcm_add(pcm); err 962 sound/core/pcm.c if (err) { err 964 sound/core/pcm.c return err; err 987 sound/core/pcm.c err = snd_register_device_for_dev(devtype, pcm->card, err 991 sound/core/pcm.c if (err < 0) { err 994 sound/core/pcm.c return err; err 30 sound/core/pcm_compat.c int err; err 33 sound/core/pcm_compat.c err = snd_pcm_delay(substream, &delay); err 35 sound/core/pcm_compat.c if (err < 0) err 36 sound/core/pcm_compat.c return err; err 39 sound/core/pcm_compat.c return err; err 46 sound/core/pcm_compat.c int err; err 51 sound/core/pcm_compat.c err = snd_pcm_playback_rewind(substream, frames); err 53 sound/core/pcm_compat.c err = snd_pcm_capture_rewind(substream, frames); err 54 sound/core/pcm_compat.c if (put_user(err, src)) err 56 sound/core/pcm_compat.c return err < 0 ? err : 0; err 63 sound/core/pcm_compat.c int err; err 68 sound/core/pcm_compat.c err = snd_pcm_playback_forward(substream, frames); err 70 sound/core/pcm_compat.c err = snd_pcm_capture_forward(substream, frames); err 71 sound/core/pcm_compat.c if (put_user(err, src)) err 73 sound/core/pcm_compat.c return err < 0 ? err : 0; err 124 sound/core/pcm_compat.c int err; err 144 sound/core/pcm_compat.c err = snd_pcm_sw_params(substream, ¶ms); err 145 sound/core/pcm_compat.c if (err < 0) err 146 sound/core/pcm_compat.c return err; err 149 sound/core/pcm_compat.c return err; err 163 sound/core/pcm_compat.c int err; err 170 sound/core/pcm_compat.c err = snd_pcm_channel_info(substream, &info); err 171 sound/core/pcm_compat.c if (err < 0) err 172 sound/core/pcm_compat.c return err; err 178 sound/core/pcm_compat.c return err; err 200 sound/core/pcm_compat.c int err; err 202 sound/core/pcm_compat.c err = snd_pcm_status(substream, &status); err 203 sound/core/pcm_compat.c if (err < 0) err 204 sound/core/pcm_compat.c return err; err 220 sound/core/pcm_compat.c return err; err 230 sound/core/pcm_compat.c int err; err 240 sound/core/pcm_compat.c err = -EFAULT; err 244 sound/core/pcm_compat.c err = snd_pcm_hw_refine(substream, data); err 246 sound/core/pcm_compat.c err = snd_pcm_hw_params(substream, data); err 247 sound/core/pcm_compat.c if (err < 0) err 251 sound/core/pcm_compat.c err = -EFAULT; err 262 sound/core/pcm_compat.c return err; err 279 sound/core/pcm_compat.c int err; err 293 sound/core/pcm_compat.c err = snd_pcm_lib_write(substream, compat_ptr(buf), frames); err 295 sound/core/pcm_compat.c err = snd_pcm_lib_read(substream, compat_ptr(buf), frames); err 296 sound/core/pcm_compat.c if (err < 0) err 297 sound/core/pcm_compat.c return err; err 299 sound/core/pcm_compat.c if (put_user(err, &data32->result)) err 325 sound/core/pcm_compat.c int err, ch, i; err 351 sound/core/pcm_compat.c err = snd_pcm_lib_writev(substream, bufs, frames); err 353 sound/core/pcm_compat.c err = snd_pcm_lib_readv(substream, bufs, frames); err 354 sound/core/pcm_compat.c if (err >= 0) { err 355 sound/core/pcm_compat.c if (put_user(err, &data32->result)) err 356 sound/core/pcm_compat.c err = -EFAULT; err 359 sound/core/pcm_compat.c return err; err 398 sound/core/pcm_compat.c int err; err 408 sound/core/pcm_compat.c err = snd_pcm_hwsync(substream); err 409 sound/core/pcm_compat.c if (err < 0) err 410 sound/core/pcm_compat.c return err; err 98 sound/core/pcm_lib.c int err; err 99 sound/core/pcm_lib.c err = substream->ops->silence(substream, -1, ofs, transfer); err 100 sound/core/pcm_lib.c snd_BUG_ON(err < 0); err 110 sound/core/pcm_lib.c int err; err 111 sound/core/pcm_lib.c err = substream->ops->silence(substream, c, ofs, transfer); err 112 sound/core/pcm_lib.c snd_BUG_ON(err < 0); err 587 sound/core/pcm_lib.c int err; err 659 sound/core/pcm_lib.c err = snd_interval_refine(i, &t); err 660 sound/core/pcm_lib.c if (err < 0) err 661 sound/core/pcm_lib.c return err; err 669 sound/core/pcm_lib.c return err; err 691 sound/core/pcm_lib.c int err; err 757 sound/core/pcm_lib.c err = snd_interval_refine(i, &t); err 758 sound/core/pcm_lib.c if (err < 0) err 759 sound/core/pcm_lib.c return err; err 767 sound/core/pcm_lib.c return err; err 1023 sound/core/pcm_lib.c int err; err 1024 sound/core/pcm_lib.c err = snd_interval_ratnum(hw_param_interval(params, rule->var), err 1026 sound/core/pcm_lib.c if (err >= 0 && den && rule->var == SNDRV_PCM_HW_PARAM_RATE) { err 1030 sound/core/pcm_lib.c return err; err 1057 sound/core/pcm_lib.c int err = snd_interval_ratden(hw_param_interval(params, rule->var), err 1059 sound/core/pcm_lib.c if (err >= 0 && den && rule->var == SNDRV_PCM_HW_PARAM_RATE) { err 1063 sound/core/pcm_lib.c return err; err 1292 sound/core/pcm_lib.c int err = snd_pcm_hw_refine(pcm, params); err 1293 sound/core/pcm_lib.c if (snd_BUG_ON(err < 0)) err 1294 sound/core/pcm_lib.c return err; err 1338 sound/core/pcm_lib.c int err = snd_pcm_hw_refine(pcm, params); err 1339 sound/core/pcm_lib.c if (snd_BUG_ON(err < 0)) err 1340 sound/core/pcm_lib.c return err; err 1371 sound/core/pcm_lib.c int err, *v; err 1375 sound/core/pcm_lib.c err = snd_pcm_hw_param_first(pcm, params, *v, NULL); err 1377 sound/core/pcm_lib.c err = snd_pcm_hw_param_last(pcm, params, *v, NULL); err 1378 sound/core/pcm_lib.c if (snd_BUG_ON(err < 0)) err 1379 sound/core/pcm_lib.c return err; err 1512 sound/core/pcm_lib.c int err = 0; err 1520 sound/core/pcm_lib.c err = -ERESTARTSYS; err 1529 sound/core/pcm_lib.c err = -ESTRPIPE; err 1532 sound/core/pcm_lib.c err = -EPIPE; err 1536 sound/core/pcm_lib.c err = -EPIPE; err 1543 sound/core/pcm_lib.c err = -EBADFD; err 1549 sound/core/pcm_lib.c err = -EIO; err 1562 sound/core/pcm_lib.c return err; err 1571 sound/core/pcm_lib.c int err; err 1574 sound/core/pcm_lib.c if ((err = substream->ops->copy(substream, -1, hwoff, buf, frames)) < 0) err 1575 sound/core/pcm_lib.c return err; err 1597 sound/core/pcm_lib.c int err = 0; err 1609 sound/core/pcm_lib.c err = -EPIPE; err 1612 sound/core/pcm_lib.c err = -ESTRPIPE; err 1615 sound/core/pcm_lib.c err = -EBADFD; err 1628 sound/core/pcm_lib.c err = -EAGAIN; err 1631 sound/core/pcm_lib.c err = wait_for_avail_min(substream, &avail); err 1632 sound/core/pcm_lib.c if (err < 0) err 1646 sound/core/pcm_lib.c if ((err = transfer(substream, appl_ofs, data, offset, frames)) < 0) err 1651 sound/core/pcm_lib.c err = -EPIPE; err 1654 sound/core/pcm_lib.c err = -ESTRPIPE; err 1671 sound/core/pcm_lib.c err = snd_pcm_start(substream); err 1672 sound/core/pcm_lib.c if (err < 0) err 1679 sound/core/pcm_lib.c return xfer > 0 ? (snd_pcm_sframes_t)xfer : err; err 1700 sound/core/pcm_lib.c int err; err 1702 sound/core/pcm_lib.c err = pcm_sanity_check(substream); err 1703 sound/core/pcm_lib.c if (err < 0) err 1704 sound/core/pcm_lib.c return err; err 1723 sound/core/pcm_lib.c int err; err 1732 sound/core/pcm_lib.c if ((err = substream->ops->silence(substream, c, hwoff, frames)) < 0) err 1733 sound/core/pcm_lib.c return err; err 1736 sound/core/pcm_lib.c if ((err = substream->ops->copy(substream, c, hwoff, buf, frames)) < 0) err 1737 sound/core/pcm_lib.c return err; err 1763 sound/core/pcm_lib.c int err; err 1765 sound/core/pcm_lib.c err = pcm_sanity_check(substream); err 1766 sound/core/pcm_lib.c if (err < 0) err 1767 sound/core/pcm_lib.c return err; err 1785 sound/core/pcm_lib.c int err; err 1788 sound/core/pcm_lib.c if ((err = substream->ops->copy(substream, -1, hwoff, buf, frames)) < 0) err 1789 sound/core/pcm_lib.c return err; err 1807 sound/core/pcm_lib.c int err = 0; err 1816 sound/core/pcm_lib.c err = snd_pcm_start(substream); err 1817 sound/core/pcm_lib.c if (err < 0) err 1826 sound/core/pcm_lib.c err = -EPIPE; err 1829 sound/core/pcm_lib.c err = -ESTRPIPE; err 1832 sound/core/pcm_lib.c err = -EBADFD; err 1850 sound/core/pcm_lib.c err = -EAGAIN; err 1853 sound/core/pcm_lib.c err = wait_for_avail_min(substream, &avail); err 1854 sound/core/pcm_lib.c if (err < 0) err 1870 sound/core/pcm_lib.c if ((err = transfer(substream, appl_ofs, data, offset, frames)) < 0) err 1875 sound/core/pcm_lib.c err = -EPIPE; err 1878 sound/core/pcm_lib.c err = -ESTRPIPE; err 1897 sound/core/pcm_lib.c return xfer > 0 ? (snd_pcm_sframes_t)xfer : err; err 1904 sound/core/pcm_lib.c int err; err 1906 sound/core/pcm_lib.c err = pcm_sanity_check(substream); err 1907 sound/core/pcm_lib.c if (err < 0) err 1908 sound/core/pcm_lib.c return err; err 1924 sound/core/pcm_lib.c int err; err 1934 sound/core/pcm_lib.c if ((err = substream->ops->copy(substream, c, hwoff, buf, frames)) < 0) err 1935 sound/core/pcm_lib.c return err; err 1960 sound/core/pcm_lib.c int err; err 1962 sound/core/pcm_lib.c err = pcm_sanity_check(substream); err 1963 sound/core/pcm_lib.c if (err < 0) err 1964 sound/core/pcm_lib.c return err; err 51 sound/core/pcm_memory.c int err; err 63 sound/core/pcm_memory.c if ((err = snd_dma_alloc_pages(dmab->dev.type, dmab->dev.dev, err 65 sound/core/pcm_memory.c if (err != -ENOMEM) err 66 sound/core/pcm_memory.c return err; /* fatal error */ err 296 sound/core/pcm_memory.c int stream, err; err 300 sound/core/pcm_memory.c if ((err = snd_pcm_lib_preallocate_pages(substream, type, data, size, max)) < 0) err 301 sound/core/pcm_memory.c return err; err 123 sound/core/pcm_native.c int err; err 128 sound/core/pcm_native.c err = snd_pcm_info(substream, info); err 129 sound/core/pcm_native.c if (err >= 0) { err 131 sound/core/pcm_native.c err = -EFAULT; err 134 sound/core/pcm_native.c return err; err 328 sound/core/pcm_native.c int err; err 332 sound/core/pcm_native.c err = -ENOMEM; err 336 sound/core/pcm_native.c err = -EFAULT; err 339 sound/core/pcm_native.c err = snd_pcm_hw_refine(substream, params); err 341 sound/core/pcm_native.c if (!err) err 342 sound/core/pcm_native.c err = -EFAULT; err 346 sound/core/pcm_native.c return err; err 368 sound/core/pcm_native.c int err, usecs; err 393 sound/core/pcm_native.c err = snd_pcm_hw_refine(substream, params); err 394 sound/core/pcm_native.c if (err < 0) err 397 sound/core/pcm_native.c err = snd_pcm_hw_params_choose(substream, params); err 398 sound/core/pcm_native.c if (err < 0) err 402 sound/core/pcm_native.c err = substream->ops->hw_params(substream, params); err 403 sound/core/pcm_native.c if (err < 0) err 459 sound/core/pcm_native.c return err; err 466 sound/core/pcm_native.c int err; err 470 sound/core/pcm_native.c err = -ENOMEM; err 474 sound/core/pcm_native.c err = -EFAULT; err 477 sound/core/pcm_native.c err = snd_pcm_hw_params(substream, params); err 479 sound/core/pcm_native.c if (!err) err 480 sound/core/pcm_native.c err = -EFAULT; err 484 sound/core/pcm_native.c return err; err 566 sound/core/pcm_native.c int err; err 569 sound/core/pcm_native.c err = snd_pcm_sw_params(substream, ¶ms); err 572 sound/core/pcm_native.c return err; err 1076 sound/core/pcm_native.c int err; err 1083 sound/core/pcm_native.c err = snd_pcm_action(&snd_pcm_action_suspend, substream, 0); err 1085 sound/core/pcm_native.c return err; err 1100 sound/core/pcm_native.c int stream, err = 0; err 1111 sound/core/pcm_native.c err = snd_pcm_suspend(substream); err 1112 sound/core/pcm_native.c if (err < 0 && err != -EBUSY) err 1113 sound/core/pcm_native.c return err; err 1245 sound/core/pcm_native.c int err = substream->ops->ioctl(substream, SNDRV_PCM_IOCTL1_RESET, NULL); err 1246 sound/core/pcm_native.c if (err < 0) err 1247 sound/core/pcm_native.c return err; err 1295 sound/core/pcm_native.c int err; err 1296 sound/core/pcm_native.c err = substream->ops->prepare(substream); err 1297 sound/core/pcm_native.c if (err < 0) err 1298 sound/core/pcm_native.c return err; err 1791 sound/core/pcm_native.c int k, err; err 1807 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, err 1810 sound/core/pcm_native.c if (err < 0) err 1811 sound/core/pcm_native.c return err; err 1812 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_SAMPLE_BITS, err 1816 sound/core/pcm_native.c if (err < 0) err 1817 sound/core/pcm_native.c return err; err 1818 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_SAMPLE_BITS, err 1821 sound/core/pcm_native.c if (err < 0) err 1822 sound/core/pcm_native.c return err; err 1823 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FRAME_BITS, err 1826 sound/core/pcm_native.c if (err < 0) err 1827 sound/core/pcm_native.c return err; err 1828 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FRAME_BITS, err 1831 sound/core/pcm_native.c if (err < 0) err 1832 sound/core/pcm_native.c return err; err 1833 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FRAME_BITS, err 1836 sound/core/pcm_native.c if (err < 0) err 1837 sound/core/pcm_native.c return err; err 1838 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, err 1841 sound/core/pcm_native.c if (err < 0) err 1842 sound/core/pcm_native.c return err; err 1843 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, err 1846 sound/core/pcm_native.c if (err < 0) err 1847 sound/core/pcm_native.c return err; err 1848 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, err 1851 sound/core/pcm_native.c if (err < 0) err 1852 sound/core/pcm_native.c return err; err 1853 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_PERIODS, err 1856 sound/core/pcm_native.c if (err < 0) err 1857 sound/core/pcm_native.c return err; err 1858 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, err 1861 sound/core/pcm_native.c if (err < 0) err 1862 sound/core/pcm_native.c return err; err 1863 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, err 1866 sound/core/pcm_native.c if (err < 0) err 1867 sound/core/pcm_native.c return err; err 1868 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, err 1871 sound/core/pcm_native.c if (err < 0) err 1872 sound/core/pcm_native.c return err; err 1873 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_SIZE, err 1876 sound/core/pcm_native.c if (err < 0) err 1877 sound/core/pcm_native.c return err; err 1878 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_SIZE, err 1881 sound/core/pcm_native.c if (err < 0) err 1882 sound/core/pcm_native.c return err; err 1883 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_SIZE, err 1886 sound/core/pcm_native.c if (err < 0) err 1887 sound/core/pcm_native.c return err; err 1888 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, err 1891 sound/core/pcm_native.c if (err < 0) err 1892 sound/core/pcm_native.c return err; err 1893 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, err 1896 sound/core/pcm_native.c if (err < 0) err 1897 sound/core/pcm_native.c return err; err 1898 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_TIME, err 1901 sound/core/pcm_native.c if (err < 0) err 1902 sound/core/pcm_native.c return err; err 1903 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_TIME, err 1906 sound/core/pcm_native.c if (err < 0) err 1907 sound/core/pcm_native.c return err; err 1915 sound/core/pcm_native.c int err; err 1930 sound/core/pcm_native.c err = snd_pcm_hw_constraint_mask(runtime, SNDRV_PCM_HW_PARAM_ACCESS, mask); err 1931 sound/core/pcm_native.c if (err < 0) err 1932 sound/core/pcm_native.c return err; err 1934 sound/core/pcm_native.c err = snd_pcm_hw_constraint_mask64(runtime, SNDRV_PCM_HW_PARAM_FORMAT, hw->formats); err 1935 sound/core/pcm_native.c if (err < 0) err 1936 sound/core/pcm_native.c return err; err 1938 sound/core/pcm_native.c err = snd_pcm_hw_constraint_mask(runtime, SNDRV_PCM_HW_PARAM_SUBFORMAT, 1 << SNDRV_PCM_SUBFORMAT_STD); err 1939 sound/core/pcm_native.c if (err < 0) err 1940 sound/core/pcm_native.c return err; err 1942 sound/core/pcm_native.c err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_CHANNELS, err 1944 sound/core/pcm_native.c if (err < 0) err 1945 sound/core/pcm_native.c return err; err 1947 sound/core/pcm_native.c err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_RATE, err 1949 sound/core/pcm_native.c if (err < 0) err 1950 sound/core/pcm_native.c return err; err 1952 sound/core/pcm_native.c err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, err 1954 sound/core/pcm_native.c if (err < 0) err 1955 sound/core/pcm_native.c return err; err 1957 sound/core/pcm_native.c err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_PERIODS, err 1959 sound/core/pcm_native.c if (err < 0) err 1960 sound/core/pcm_native.c return err; err 1962 sound/core/pcm_native.c err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, err 1964 sound/core/pcm_native.c if (err < 0) err 1965 sound/core/pcm_native.c return err; err 1967 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, err 1970 sound/core/pcm_native.c if (err < 0) err 1971 sound/core/pcm_native.c return err; err 1975 sound/core/pcm_native.c err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, 0, runtime->dma_bytes); err 1976 sound/core/pcm_native.c if (err < 0) err 1981 sound/core/pcm_native.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, err 1984 sound/core/pcm_native.c if (err < 0) err 1985 sound/core/pcm_native.c return err; err 2026 sound/core/pcm_native.c int err; err 2028 sound/core/pcm_native.c err = snd_pcm_attach_substream(pcm, stream, file, &substream); err 2029 sound/core/pcm_native.c if (err < 0) err 2030 sound/core/pcm_native.c return err; err 2036 sound/core/pcm_native.c err = snd_pcm_hw_constraints_init(substream); err 2037 sound/core/pcm_native.c if (err < 0) { err 2042 sound/core/pcm_native.c if ((err = substream->ops->open(substream)) < 0) err 2047 sound/core/pcm_native.c err = snd_pcm_hw_constraints_complete(substream); err 2048 sound/core/pcm_native.c if (err < 0) { err 2058 sound/core/pcm_native.c return err; err 2071 sound/core/pcm_native.c int err; err 2076 sound/core/pcm_native.c err = snd_pcm_open_substream(pcm, stream, file, &substream); err 2077 sound/core/pcm_native.c if (err < 0) err 2078 sound/core/pcm_native.c return err; err 2117 sound/core/pcm_native.c int err; err 2122 sound/core/pcm_native.c err = -ENODEV; err 2125 sound/core/pcm_native.c err = snd_card_file_add(pcm->card, file); err 2126 sound/core/pcm_native.c if (err < 0) err 2129 sound/core/pcm_native.c err = -EFAULT; err 2136 sound/core/pcm_native.c err = snd_pcm_open_file(file, pcm, stream, &pcm_file); err 2137 sound/core/pcm_native.c if (err >= 0) err 2139 sound/core/pcm_native.c if (err == -EAGAIN) { err 2141 sound/core/pcm_native.c err = -EBUSY; err 2151 sound/core/pcm_native.c err = -ERESTARTSYS; err 2157 sound/core/pcm_native.c if (err < 0) err 2159 sound/core/pcm_native.c return err; err 2166 sound/core/pcm_native.c return err; err 2376 sound/core/pcm_native.c int err; err 2384 sound/core/pcm_native.c if ((err = snd_pcm_update_hw_ptr(substream)) < 0) err 2389 sound/core/pcm_native.c err = 0; err 2392 sound/core/pcm_native.c err = -EPIPE; err 2396 sound/core/pcm_native.c err = -EBADFD; err 2400 sound/core/pcm_native.c return err; err 2407 sound/core/pcm_native.c int err; err 2416 sound/core/pcm_native.c if ((err = snd_pcm_update_hw_ptr(substream)) < 0) err 2421 sound/core/pcm_native.c err = 0; err 2428 sound/core/pcm_native.c err = -EPIPE; err 2432 sound/core/pcm_native.c err = -EBADFD; err 2436 sound/core/pcm_native.c if (!err) err 2438 sound/core/pcm_native.c err = -EFAULT; err 2439 sound/core/pcm_native.c return err; err 2449 sound/core/pcm_native.c int err; err 2459 sound/core/pcm_native.c err = snd_pcm_hwsync(substream); err 2460 sound/core/pcm_native.c if (err < 0) err 2461 sound/core/pcm_native.c return err; err 3247 sound/core/pcm_native.c int err = -ENXIO; err 3255 sound/core/pcm_native.c err = fasync_helper(fd, file, on, &runtime->fasync); err 3258 sound/core/pcm_native.c if (err < 0) err 3259 sound/core/pcm_native.c return err; err 3323 sound/core/pcm_native.c int err; err 3327 sound/core/pcm_native.c err = -ENOMEM; err 3332 sound/core/pcm_native.c err = -ENOMEM; err 3337 sound/core/pcm_native.c err = -EFAULT; err 3341 sound/core/pcm_native.c err = snd_pcm_hw_refine(substream, params); err 3344 sound/core/pcm_native.c if (!err) err 3345 sound/core/pcm_native.c err = -EFAULT; err 3350 sound/core/pcm_native.c return err; err 3358 sound/core/pcm_native.c int err; err 3362 sound/core/pcm_native.c err = -ENOMEM; err 3367 sound/core/pcm_native.c err = -ENOMEM; err 3371 sound/core/pcm_native.c err = -EFAULT; err 3375 sound/core/pcm_native.c err = snd_pcm_hw_params(substream, params); err 3378 sound/core/pcm_native.c if (!err) err 3379 sound/core/pcm_native.c err = -EFAULT; err 3384 sound/core/pcm_native.c return err; err 182 sound/core/rawmidi.c int err; err 186 sound/core/rawmidi.c err = 0; err 192 sound/core/rawmidi.c err = -ERESTARTSYS; err 195 sound/core/rawmidi.c err = -EIO; err 198 sound/core/rawmidi.c if (err != -ERESTARTSYS) { err 206 sound/core/rawmidi.c return err; err 230 sound/core/rawmidi.c int err; err 238 sound/core/rawmidi.c err = -ENODEV; err 242 sound/core/rawmidi.c err = -EFAULT; err 249 sound/core/rawmidi.c err = -ENXIO; err 253 sound/core/rawmidi.c err = -ENODEV; err 258 sound/core/rawmidi.c err = -EAGAIN; err 264 sound/core/rawmidi.c err = -ENXIO; err 268 sound/core/rawmidi.c err = -ENODEV; err 273 sound/core/rawmidi.c err = -EAGAIN; err 282 sound/core/rawmidi.c err = -EAGAIN; err 300 sound/core/rawmidi.c err = -EAGAIN; err 321 sound/core/rawmidi.c if ((err = snd_rawmidi_runtime_create(sinput)) < 0) err 324 sound/core/rawmidi.c if ((err = sinput->ops->open(sinput)) < 0) err 334 sound/core/rawmidi.c if ((err = snd_rawmidi_runtime_create(soutput)) < 0) { err 340 sound/core/rawmidi.c if ((err = soutput->ops->open(soutput)) < 0) { err 373 sound/core/rawmidi.c return err; err 382 sound/core/rawmidi.c int err; err 404 sound/core/rawmidi.c err = snd_card_file_add(card, file); err 405 sound/core/rawmidi.c if (err < 0) err 430 sound/core/rawmidi.c err = snd_rawmidi_kernel_open(rmidi->card, rmidi->device, err 432 sound/core/rawmidi.c if (err >= 0) err 434 sound/core/rawmidi.c if (err == -EAGAIN) { err 436 sound/core/rawmidi.c err = -EBUSY; err 446 sound/core/rawmidi.c err = -ERESTARTSYS; err 457 sound/core/rawmidi.c if (err >= 0) { err 464 sound/core/rawmidi.c return err; err 519 sound/core/rawmidi.c int err; err 522 sound/core/rawmidi.c err = snd_rawmidi_kernel_release(rfile); err 527 sound/core/rawmidi.c return err; err 557 sound/core/rawmidi.c int err; err 558 sound/core/rawmidi.c if ((err = snd_rawmidi_info(substream, &info)) < 0) err 559 sound/core/rawmidi.c return err; err 593 sound/core/rawmidi.c int err; err 601 sound/core/rawmidi.c if ((err = snd_rawmidi_info_select(card, &info)) < 0) err 602 sound/core/rawmidi.c return err; err 736 sound/core/rawmidi.c int err = 0; err 744 sound/core/rawmidi.c err = snd_rawmidi_output_status(rfile->output, &status); err 749 sound/core/rawmidi.c err = snd_rawmidi_input_status(rfile->input, &status); err 754 sound/core/rawmidi.c if (err < 0) err 755 sound/core/rawmidi.c return err; err 1418 sound/core/rawmidi.c int err; err 1443 sound/core/rawmidi.c if ((err = snd_rawmidi_alloc_substreams(rmidi, err 1448 sound/core/rawmidi.c return err; err 1450 sound/core/rawmidi.c if ((err = snd_rawmidi_alloc_substreams(rmidi, err 1455 sound/core/rawmidi.c return err; err 1457 sound/core/rawmidi.c if ((err = snd_device_new(card, SNDRV_DEV_RAWMIDI, rmidi, &ops)) < 0) { err 1459 sound/core/rawmidi.c return err; err 1513 sound/core/rawmidi.c int err; err 1527 sound/core/rawmidi.c if ((err = snd_register_device(SNDRV_DEVICE_TYPE_RAWMIDI, err 1533 sound/core/rawmidi.c return err; err 1536 sound/core/rawmidi.c (err = rmidi->ops->dev_register(rmidi)) < 0) { err 1540 sound/core/rawmidi.c return err; err 67 sound/core/rawmidi_compat.c int err; err 77 sound/core/rawmidi_compat.c err = snd_rawmidi_output_status(rfile->output, &status); err 80 sound/core/rawmidi_compat.c err = snd_rawmidi_input_status(rfile->input, &status); err 85 sound/core/rawmidi_compat.c if (err < 0) err 86 sound/core/rawmidi_compat.c return err; err 69 sound/core/rtctimer.c int err; err 71 sound/core/rtctimer.c err = rtc_register(&rtc_task); err 72 sound/core/rtctimer.c if (err < 0) err 73 sound/core/rtctimer.c return err; err 130 sound/core/rtctimer.c int err; err 141 sound/core/rtctimer.c err = snd_timer_global_new("rtc", SNDRV_TIMER_GLOBAL_RTC, &timer); err 142 sound/core/rtctimer.c if (err < 0) err 143 sound/core/rtctimer.c return err; err 156 sound/core/rtctimer.c err = snd_timer_global_register(timer); err 157 sound/core/rtctimer.c if (err < 0) { err 159 sound/core/rtctimer.c return err; err 47 sound/core/seq/oss/seq_oss_rw.c int result = 0, err = 0; err 57 sound/core/seq/oss/seq_oss_rw.c err = snd_seq_oss_readq_pick(readq, &rec); err 58 sound/core/seq/oss/seq_oss_rw.c if (err == -EAGAIN && err 64 sound/core/seq/oss/seq_oss_rw.c err = -ERESTARTSYS; err 66 sound/core/seq/oss/seq_oss_rw.c err = snd_seq_oss_readq_pick(readq, &rec); err 68 sound/core/seq/oss/seq_oss_rw.c if (err < 0) { err 80 sound/core/seq/oss/seq_oss_rw.c err = -EFAULT; err 87 sound/core/seq/oss/seq_oss_rw.c return result > 0 ? result : err; err 98 sound/core/seq/oss/seq_oss_rw.c int result = 0, err = 0; err 107 sound/core/seq/oss/seq_oss_rw.c err = -EFAULT; err 113 sound/core/seq/oss/seq_oss_rw.c err = -EINVAL; err 125 sound/core/seq/oss/seq_oss_rw.c err = -EINVAL; err 135 sound/core/seq/oss/seq_oss_rw.c err = -EFAULT; err 141 sound/core/seq/oss/seq_oss_rw.c err = -EINVAL; err 148 sound/core/seq/oss/seq_oss_rw.c if ((err = insert_queue(dp, &rec, opt)) < 0) err 155 sound/core/seq/oss/seq_oss_rw.c return result > 0 ? result : err; err 80 sound/core/seq/seq.c int err; err 83 sound/core/seq/seq.c if ((err = client_init_data()) < 0) err 87 sound/core/seq/seq.c if ((err = snd_sequencer_memory_init()) < 0) err 91 sound/core/seq/seq.c if ((err = snd_seq_queues_init()) < 0) err 95 sound/core/seq/seq.c if ((err = snd_sequencer_device_init()) < 0) err 99 sound/core/seq/seq.c if ((err = snd_seq_info_init()) < 0) err 103 sound/core/seq/seq.c if ((err = snd_seq_system_client_init()) < 0) err 108 sound/core/seq/seq.c return err; err 396 sound/core/seq/seq_clientmgr.c int err; err 421 sound/core/seq/seq_clientmgr.c err = 0; err 429 sound/core/seq/seq_clientmgr.c if ((err = snd_seq_fifo_cell_out(fifo, &cell, nonblock)) < 0) { err 437 sound/core/seq/seq_clientmgr.c err = -EFAULT; err 442 sound/core/seq/seq_clientmgr.c err = snd_seq_expand_var_event(&cell->event, count, err 445 sound/core/seq/seq_clientmgr.c if (err < 0) err 447 sound/core/seq/seq_clientmgr.c result += err; err 448 sound/core/seq/seq_clientmgr.c count -= err; err 449 sound/core/seq/seq_clientmgr.c buf += err; err 452 sound/core/seq/seq_clientmgr.c err = -EFAULT; err 463 sound/core/seq/seq_clientmgr.c if (err < 0) { err 466 sound/core/seq/seq_clientmgr.c if (err == -EAGAIN && result > 0) err 467 sound/core/seq/seq_clientmgr.c err = 0; err 471 sound/core/seq/seq_clientmgr.c return (err < 0) ? err : result; err 546 sound/core/seq/seq_clientmgr.c bounce_ev.data.quote.value = -err; /* use positive value */ err 657 sound/core/seq/seq_clientmgr.c int err = 0, num_ev = 0; err 680 sound/core/seq/seq_clientmgr.c err = snd_seq_deliver_single_event(client, event, err 682 sound/core/seq/seq_clientmgr.c if (err < 0) err 694 sound/core/seq/seq_clientmgr.c return (err < 0) ? err : num_ev; err 706 sound/core/seq/seq_clientmgr.c int num_ev = 0, err = 0; err 718 sound/core/seq/seq_clientmgr.c err = snd_seq_deliver_single_event(NULL, event, err 721 sound/core/seq/seq_clientmgr.c if (err < 0) err 728 sound/core/seq/seq_clientmgr.c return (err < 0) ? err : num_ev; err 738 sound/core/seq/seq_clientmgr.c int err = 0, num_ev = 0; err 751 sound/core/seq/seq_clientmgr.c err = port_broadcast_event(client, event, atomic, hop); err 754 sound/core/seq/seq_clientmgr.c err = snd_seq_deliver_single_event(NULL, event, err 757 sound/core/seq/seq_clientmgr.c if (err < 0) err 759 sound/core/seq/seq_clientmgr.c num_ev += err; err 762 sound/core/seq/seq_clientmgr.c return (err < 0) ? err : num_ev; err 903 sound/core/seq/seq_clientmgr.c int err; err 938 sound/core/seq/seq_clientmgr.c err = snd_seq_event_dup(client->pool, event, &cell, !blocking || atomic, file); err 939 sound/core/seq/seq_clientmgr.c if (err < 0) err 940 sound/core/seq/seq_clientmgr.c return err; err 943 sound/core/seq/seq_clientmgr.c if ((err = snd_seq_enqueue_event(cell, atomic, hop)) < 0) { err 945 sound/core/seq/seq_clientmgr.c return err; err 993 sound/core/seq/seq_clientmgr.c int err = -EINVAL; err 1017 sound/core/seq/seq_clientmgr.c err = -EFAULT; err 1023 sound/core/seq/seq_clientmgr.c err = -EINVAL; err 1031 sound/core/seq/seq_clientmgr.c err = -EINVAL; err 1039 sound/core/seq/seq_clientmgr.c err = -EINVAL; err 1057 sound/core/seq/seq_clientmgr.c err = snd_seq_client_enqueue_event(client, &event, file, err 1060 sound/core/seq/seq_clientmgr.c if (err < 0) err 1070 sound/core/seq/seq_clientmgr.c return written ? written : err; err 1134 sound/core/seq/seq_clientmgr.c int err = 0; err 1146 sound/core/seq/seq_clientmgr.c err = -EINVAL; err 1151 sound/core/seq/seq_clientmgr.c err = -EINVAL; err 1157 sound/core/seq/seq_clientmgr.c err = -EINVAL; err 1163 sound/core/seq/seq_clientmgr.c return err; err 1291 sound/core/seq/seq_clientmgr.c int err; err 1301 sound/core/seq/seq_clientmgr.c err = snd_seq_delete_port(client, info.addr.port); err 1302 sound/core/seq/seq_clientmgr.c if (err >= 0) err 1304 sound/core/seq/seq_clientmgr.c return err; err 1835 sound/core/seq/seq_clientmgr.c int err; err 1842 sound/core/seq/seq_clientmgr.c err = snd_seq_queue_use(info.queue, client->number, info.used); err 1843 sound/core/seq/seq_clientmgr.c if (err < 0) err 1844 sound/core/seq/seq_clientmgr.c return err; err 2563 sound/core/seq/seq_clientmgr.c int err; err 2568 sound/core/seq/seq_clientmgr.c if ((err = snd_register_device(SNDRV_DEVICE_TYPE_SEQUENCER, NULL, 0, err 2571 sound/core/seq/seq_clientmgr.c return err; err 47 sound/core/seq/seq_compat.c int err = -EFAULT; err 62 sound/core/seq/seq_compat.c err = snd_seq_do_ioctl(client, cmd, data); err 64 sound/core/seq/seq_compat.c if (err < 0) err 70 sound/core/seq/seq_compat.c err = -EFAULT; err 74 sound/core/seq/seq_compat.c return err; err 180 sound/core/seq/seq_device.c int err; err 218 sound/core/seq/seq_device.c if ((err = snd_device_new(card, SNDRV_DEV_SEQUENCER, dev, &dops)) < 0) { err 220 sound/core/seq/seq_device.c return err; err 248 sound/core/seq/seq_dummy.c int err; err 250 sound/core/seq/seq_dummy.c err = register_client(); err 252 sound/core/seq/seq_dummy.c return err; err 119 sound/core/seq/seq_fifo.c int err; err 125 sound/core/seq/seq_fifo.c err = snd_seq_event_dup(f->pool, event, &cell, 1, NULL); /* always non-blocking */ err 126 sound/core/seq/seq_fifo.c if (err < 0) { err 127 sound/core/seq/seq_fifo.c if (err == -ENOMEM) err 130 sound/core/seq/seq_fifo.c return err; err 81 sound/core/seq/seq_memory.c int len, err; err 96 sound/core/seq/seq_memory.c err = func(private_data, buf, size); err 97 sound/core/seq/seq_memory.c if (err < 0) err 98 sound/core/seq/seq_memory.c return err; err 112 sound/core/seq/seq_memory.c err = func(private_data, &cell->event, size); err 113 sound/core/seq/seq_memory.c if (err < 0) err 114 sound/core/seq/seq_memory.c return err; err 147 sound/core/seq/seq_memory.c int err; err 164 sound/core/seq/seq_memory.c err = snd_seq_dump_var_event(event, err 168 sound/core/seq/seq_memory.c return err < 0 ? err : newlen; err 227 sound/core/seq/seq_memory.c int err = -EAGAIN; err 239 sound/core/seq/seq_memory.c err = -EINVAL; err 252 sound/core/seq/seq_memory.c err = -ERESTARTSYS; err 257 sound/core/seq/seq_memory.c err = -ENOMEM; err 272 sound/core/seq/seq_memory.c err = 0; err 279 sound/core/seq/seq_memory.c return err; err 292 sound/core/seq/seq_memory.c int ncells, err; err 307 sound/core/seq/seq_memory.c err = snd_seq_cell_alloc(pool, &cell, nonblock, file); err 308 sound/core/seq/seq_memory.c if (err < 0) err 309 sound/core/seq/seq_memory.c return err; err 333 sound/core/seq/seq_memory.c err = snd_seq_cell_alloc(pool, &tmp, nonblock, file); err 334 sound/core/seq/seq_memory.c if (err < 0) err 347 sound/core/seq/seq_memory.c err = -EFAULT; err 363 sound/core/seq/seq_memory.c return err; err 181 sound/core/seq/seq_midi.c int err; err 187 sound/core/seq/seq_midi.c if ((err = snd_rawmidi_kernel_open(msynth->card, msynth->device, err 192 sound/core/seq/seq_midi.c return err; err 198 sound/core/seq/seq_midi.c if ((err = snd_rawmidi_input_params(msynth->input_rfile.input, ¶ms)) < 0) { err 200 sound/core/seq/seq_midi.c return err; err 212 sound/core/seq/seq_midi.c int err; err 217 sound/core/seq/seq_midi.c err = snd_rawmidi_kernel_release(&msynth->input_rfile); err 218 sound/core/seq/seq_midi.c return err; err 224 sound/core/seq/seq_midi.c int err; err 229 sound/core/seq/seq_midi.c if ((err = snd_rawmidi_kernel_open(msynth->card, msynth->device, err 234 sound/core/seq/seq_midi.c return err; err 239 sound/core/seq/seq_midi.c if ((err = snd_rawmidi_output_params(msynth->output_rfile.output, ¶ms)) < 0) { err 241 sound/core/seq/seq_midi.c return err; err 424 sound/core/seq/seq_ports.c int err = 0; err 430 sound/core/seq/seq_ports.c err = grp->open(port->private_data, info); err 431 sound/core/seq/seq_ports.c if (err < 0) { err 436 sound/core/seq/seq_ports.c if (err >= 0 && send_ack && client->type == USER_CLIENT) err 440 sound/core/seq/seq_ports.c return err; err 449 sound/core/seq/seq_ports.c int err = 0; err 455 sound/core/seq/seq_ports.c err = grp->close(port->private_data, info); err 460 sound/core/seq/seq_ports.c return err; err 498 sound/core/seq/seq_ports.c int err, src_called = 0; err 513 sound/core/seq/seq_ports.c err = -EBUSY; err 531 sound/core/seq/seq_ports.c if ((err = subscribe_port(src_client, src_port, src, info, err 536 sound/core/seq/seq_ports.c if ((err = subscribe_port(dest_client, dest_port, dest, info, err 561 sound/core/seq/seq_ports.c return err; err 576 sound/core/seq/seq_ports.c int err = -ENOENT; err 597 sound/core/seq/seq_ports.c err = 0; err 604 sound/core/seq/seq_ports.c return err; err 672 sound/core/seq/seq_ports.c int err; err 677 sound/core/seq/seq_ports.c err = snd_seq_kernel_client_ctl(client, err 681 sound/core/seq/seq_ports.c return err; err 315 sound/core/seq/seq_queue.c int dest, err; err 342 sound/core/seq/seq_queue.c err = snd_seq_prioq_cell_in(q->tickq, cell); err 347 sound/core/seq/seq_queue.c err = snd_seq_prioq_cell_in(q->timeq, cell); err 351 sound/core/seq/seq_queue.c if (err < 0) { err 353 sound/core/seq/seq_queue.c return err; err 270 sound/core/seq/seq_timer.c int err; err 282 sound/core/seq/seq_timer.c err = snd_timer_open(&t, str, &tmr->alsa_id, q->queue); err 283 sound/core/seq/seq_timer.c if (err < 0 && tmr->alsa_id.dev_class != SNDRV_TIMER_CLASS_SLAVE) { err 292 sound/core/seq/seq_timer.c err = snd_timer_open(&t, str, &tid, q->queue); err 294 sound/core/seq/seq_timer.c if (err < 0) { err 295 sound/core/seq/seq_timer.c snd_printk(KERN_ERR "seq fatal error: cannot create timer (%i)\n", err); err 296 sound/core/seq/seq_timer.c return err; err 360 sound/core/seq/seq_virmidi.c int err; err 367 sound/core/seq/seq_virmidi.c err = -ENOMEM; err 376 sound/core/seq/seq_virmidi.c err = client; err 401 sound/core/seq/seq_virmidi.c err = snd_seq_kernel_client_ctl(client, SNDRV_SEQ_IOCTL_CREATE_PORT, pinfo); err 402 sound/core/seq/seq_virmidi.c if (err < 0) { err 409 sound/core/seq/seq_virmidi.c err = 0; /* success */ err 413 sound/core/seq/seq_virmidi.c return err; err 434 sound/core/seq/seq_virmidi.c int err; err 438 sound/core/seq/seq_virmidi.c err = snd_virmidi_dev_attach_seq(rdev); err 439 sound/core/seq/seq_virmidi.c if (err < 0) err 440 sound/core/seq/seq_virmidi.c return err; err 493 sound/core/seq/seq_virmidi.c int err; err 496 sound/core/seq/seq_virmidi.c if ((err = snd_rawmidi_new(card, "VirMidi", device, err 500 sound/core/seq/seq_virmidi.c return err; err 128 sound/core/sound.c int err = 0; err 156 sound/core/sound.c err = file->f_op->open(inode, file); err 157 sound/core/sound.c if (err) { err 162 sound/core/sound.c return err; err 527 sound/core/timer.c int err; err 529 sound/core/timer.c err = _snd_timer_stop(timeri, 0, SNDRV_TIMER_EVENT_STOP); err 530 sound/core/timer.c if (err < 0) err 531 sound/core/timer.c return err; err 757 sound/core/timer.c int err; err 789 sound/core/timer.c err = snd_device_new(card, SNDRV_DEV_TIMER, timer, &ops); err 790 sound/core/timer.c if (err < 0) { err 792 sound/core/timer.c return err; err 1013 sound/core/timer.c int err; err 1015 sound/core/timer.c err = snd_timer_global_new("system", SNDRV_TIMER_GLOBAL_SYSTEM, &timer); err 1016 sound/core/timer.c if (err < 0) err 1017 sound/core/timer.c return err; err 1397 sound/core/timer.c int err = 0; err 1426 sound/core/timer.c err = -ENODEV; err 1429 sound/core/timer.c if (err >= 0 && copy_to_user(_ginfo, ginfo, sizeof(*ginfo))) err 1430 sound/core/timer.c err = -EFAULT; err 1432 sound/core/timer.c return err; err 1440 sound/core/timer.c int err; err 1447 sound/core/timer.c err = -ENODEV; err 1451 sound/core/timer.c err = -EBUSY; err 1455 sound/core/timer.c err = -ENOSYS; err 1458 sound/core/timer.c err = t->hw.set_period(t, gparams.period_num, gparams.period_den); err 1461 sound/core/timer.c return err; err 1470 sound/core/timer.c int err = 0; err 1492 sound/core/timer.c err = -ENODEV; err 1495 sound/core/timer.c if (err >= 0 && copy_to_user(_gstatus, &gstatus, sizeof(gstatus))) err 1496 sound/core/timer.c err = -EFAULT; err 1497 sound/core/timer.c return err; err 1506 sound/core/timer.c int err = 0; err 1515 sound/core/timer.c err = -EFAULT; err 1521 sound/core/timer.c err = snd_timer_open(&tu->timeri, str, &tselect.id, current->pid); err 1522 sound/core/timer.c if (err < 0) err 1533 sound/core/timer.c err = -ENOMEM; err 1538 sound/core/timer.c err = -ENOMEM; err 1541 sound/core/timer.c if (err < 0) { err 1554 sound/core/timer.c return err; err 1563 sound/core/timer.c int err = 0; err 1582 sound/core/timer.c err = -EFAULT; err 1584 sound/core/timer.c return err; err 1595 sound/core/timer.c int err; err 1606 sound/core/timer.c err = -EINVAL; err 1611 sound/core/timer.c err = -EINVAL; err 1628 sound/core/timer.c err = -EINVAL; err 1682 sound/core/timer.c err = 0; err 1686 sound/core/timer.c return err; err 1713 sound/core/timer.c int err; err 1722 sound/core/timer.c return (err = snd_timer_start(tu->timeri, tu->ticks)) < 0 ? err : 0; err 1727 sound/core/timer.c int err; err 1733 sound/core/timer.c return (err = snd_timer_stop(tu->timeri)) < 0 ? err : 0; err 1738 sound/core/timer.c int err; err 1745 sound/core/timer.c return (err = snd_timer_continue(tu->timeri)) < 0 ? err : 0; err 1750 sound/core/timer.c int err; err 1756 sound/core/timer.c return (err = snd_timer_pause(tu->timeri)) < 0 ? err : 0; err 1829 sound/core/timer.c int err; err 1832 sound/core/timer.c err = fasync_helper(fd, file, on, &tu->fasync); err 1833 sound/core/timer.c if (err < 0) err 1834 sound/core/timer.c return err; err 1843 sound/core/timer.c int err = 0; err 1853 sound/core/timer.c err = -EAGAIN; err 1868 sound/core/timer.c err = -ERESTARTSYS; err 1874 sound/core/timer.c if (err < 0) err 1880 sound/core/timer.c err = -EFAULT; err 1886 sound/core/timer.c err = -EFAULT; err 1901 sound/core/timer.c return result > 0 ? result : err; err 1944 sound/core/timer.c int err; err 1951 sound/core/timer.c if ((err = snd_timer_register_system()) < 0) err 1953 sound/core/timer.c err); err 1954 sound/core/timer.c if ((err = snd_register_device(SNDRV_DEVICE_TYPE_TIMER, NULL, 0, err 1957 sound/core/timer.c err); err 61 sound/core/vmaster.c int err, ch; err 70 sound/core/vmaster.c err = slave->slave.info(&slave->slave, uinfo); err 71 sound/core/vmaster.c if (err < 0) { err 73 sound/core/vmaster.c return err; err 92 sound/core/vmaster.c err = slave->slave.get(&slave->slave, uctl); err 108 sound/core/vmaster.c int err = slave_init(slave); err 109 sound/core/vmaster.c if (err < 0) err 110 sound/core/vmaster.c return err; err 123 sound/core/vmaster.c int err, ch; err 125 sound/core/vmaster.c err = slave_init(slave); err 126 sound/core/vmaster.c if (err < 0) err 127 sound/core/vmaster.c return err; err 136 sound/core/vmaster.c int err, ch, vol; err 138 sound/core/vmaster.c err = master_init(slave->master); err 139 sound/core/vmaster.c if (err < 0) err 140 sound/core/vmaster.c return err; err 185 sound/core/vmaster.c int err, ch, changed = 0; err 187 sound/core/vmaster.c err = slave_init(slave); err 188 sound/core/vmaster.c if (err < 0) err 189 sound/core/vmaster.c return err; err 283 sound/core/vmaster.c int err = master_init(master); err 284 sound/core/vmaster.c if (err < 0) err 285 sound/core/vmaster.c return err; err 296 sound/core/vmaster.c int err, old_val; err 298 sound/core/vmaster.c err = master_init(master); err 299 sound/core/vmaster.c if (err < 0) err 300 sound/core/vmaster.c return err; err 49 sound/drivers/dummy.c int err; err 50 sound/drivers/dummy.c err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS); err 51 sound/drivers/dummy.c if (err < 0) err 52 sound/drivers/dummy.c return err; err 53 sound/drivers/dummy.c err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, 256, UINT_MAX); err 54 sound/drivers/dummy.c if (err) < 0) err 55 sound/drivers/dummy.c return err; err 211 sound/drivers/dummy.c int err = 0; err 224 sound/drivers/dummy.c err = -EINVAL; err 354 sound/drivers/dummy.c int err; err 368 sound/drivers/dummy.c err = add_playback_constraints(runtime); err 369 sound/drivers/dummy.c if (err < 0) err 370 sound/drivers/dummy.c return err; err 379 sound/drivers/dummy.c int err; err 393 sound/drivers/dummy.c err = add_capture_constraints(runtime); err 394 sound/drivers/dummy.c if (err < 0) err 395 sound/drivers/dummy.c return err; err 436 sound/drivers/dummy.c int err; err 438 sound/drivers/dummy.c err = snd_pcm_new(dummy->card, "Dummy PCM", device, err 440 sound/drivers/dummy.c if (err < 0) err 441 sound/drivers/dummy.c return err; err 569 sound/drivers/dummy.c int err; err 577 sound/drivers/dummy.c err = snd_ctl_add(card, snd_ctl_new1(&snd_dummy_controls[idx], dummy)); err 578 sound/drivers/dummy.c if (err < 0) err 579 sound/drivers/dummy.c return err; err 588 sound/drivers/dummy.c int idx, err; err 602 sound/drivers/dummy.c err = snd_card_dummy_pcm(dummy, idx, pcm_substreams[dev]); err 603 sound/drivers/dummy.c if (err < 0) err 606 sound/drivers/dummy.c err = snd_card_dummy_new_mixer(dummy); err 607 sound/drivers/dummy.c if (err < 0) err 615 sound/drivers/dummy.c err = snd_card_register(card); err 616 sound/drivers/dummy.c if (err == 0) { err 622 sound/drivers/dummy.c return err; err 677 sound/drivers/dummy.c int i, cards, err; err 679 sound/drivers/dummy.c err = platform_driver_register(&snd_dummy_driver); err 680 sound/drivers/dummy.c if (err < 0) err 681 sound/drivers/dummy.c return err; err 545 sound/drivers/ml403-ac97cr.c int err = 0; err 572 sound/drivers/ml403-ac97cr.c err = -EINVAL; err 576 sound/drivers/ml403-ac97cr.c return err; err 584 sound/drivers/ml403-ac97cr.c int err = 0; err 612 sound/drivers/ml403-ac97cr.c err = -EINVAL; err 616 sound/drivers/ml403-ac97cr.c return err; err 1115 sound/drivers/ml403-ac97cr.c int err; err 1181 sound/drivers/ml403-ac97cr.c err = snd_ml403_ac97cr_chip_init(ml403_ac97cr); err 1182 sound/drivers/ml403-ac97cr.c if (err < 0) { err 1184 sound/drivers/ml403-ac97cr.c return err; err 1187 sound/drivers/ml403-ac97cr.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, ml403_ac97cr, &ops); err 1188 sound/drivers/ml403-ac97cr.c if (err < 0) { err 1191 sound/drivers/ml403-ac97cr.c return err; err 1211 sound/drivers/ml403-ac97cr.c int err; err 1217 sound/drivers/ml403-ac97cr.c err = snd_ac97_bus(ml403_ac97cr->card, 0, &ops, NULL, &bus); err 1218 sound/drivers/ml403-ac97cr.c if (err < 0) err 1219 sound/drivers/ml403-ac97cr.c return err; err 1232 sound/drivers/ml403-ac97cr.c err = snd_ac97_mixer(bus, &ac97, &ml403_ac97cr->ac97); err 1235 sound/drivers/ml403-ac97cr.c PDEBUG(INIT_INFO, "mixer(): (done) snd_ac97_mixer()=%d\n", err); err 1236 sound/drivers/ml403-ac97cr.c return err; err 1244 sound/drivers/ml403-ac97cr.c int err; err 1248 sound/drivers/ml403-ac97cr.c err = snd_pcm_new(ml403_ac97cr->card, "ML403AC97CR/1", device, 1, 1, err 1250 sound/drivers/ml403-ac97cr.c if (err < 0) err 1251 sound/drivers/ml403-ac97cr.c return err; err 1274 sound/drivers/ml403-ac97cr.c int err; err 1285 sound/drivers/ml403-ac97cr.c err = snd_ml403_ac97cr_create(card, pfdev, &ml403_ac97cr); err 1286 sound/drivers/ml403-ac97cr.c if (err < 0) { err 1289 sound/drivers/ml403-ac97cr.c return err; err 1293 sound/drivers/ml403-ac97cr.c err = snd_ml403_ac97cr_mixer(ml403_ac97cr); err 1294 sound/drivers/ml403-ac97cr.c if (err < 0) { err 1296 sound/drivers/ml403-ac97cr.c return err; err 1299 sound/drivers/ml403-ac97cr.c err = snd_ml403_ac97cr_pcm(ml403_ac97cr, 0, NULL); err 1300 sound/drivers/ml403-ac97cr.c if (err < 0) { err 1302 sound/drivers/ml403-ac97cr.c return err; err 1314 sound/drivers/ml403-ac97cr.c err = snd_card_register(card); err 1315 sound/drivers/ml403-ac97cr.c if (err < 0) { err 1317 sound/drivers/ml403-ac97cr.c return err; err 70 sound/drivers/mpu401/mpu401.c int err; err 88 sound/drivers/mpu401/mpu401.c err = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, port[dev], 0, err 91 sound/drivers/mpu401/mpu401.c if (err < 0) { err 101 sound/drivers/mpu401/mpu401.c return err; err 107 sound/drivers/mpu401/mpu401.c int err; err 118 sound/drivers/mpu401/mpu401.c err = snd_mpu401_create(dev, &card); err 119 sound/drivers/mpu401/mpu401.c if (err < 0) err 120 sound/drivers/mpu401/mpu401.c return err; err 122 sound/drivers/mpu401/mpu401.c if ((err = snd_card_register(card)) < 0) { err 124 sound/drivers/mpu401/mpu401.c return err; err 190 sound/drivers/mpu401/mpu401.c int err; err 195 sound/drivers/mpu401/mpu401.c err = snd_mpu401_pnp(dev, pnp_dev, id); err 196 sound/drivers/mpu401/mpu401.c if (err < 0) err 197 sound/drivers/mpu401/mpu401.c return err; err 198 sound/drivers/mpu401/mpu401.c err = snd_mpu401_create(dev, &card); err 199 sound/drivers/mpu401/mpu401.c if (err < 0) err 200 sound/drivers/mpu401/mpu401.c return err; err 201 sound/drivers/mpu401/mpu401.c if ((err = snd_card_register(card)) < 0) { err 203 sound/drivers/mpu401/mpu401.c return err; err 245 sound/drivers/mpu401/mpu401.c int i, err; err 247 sound/drivers/mpu401/mpu401.c if ((err = platform_driver_register(&snd_mpu401_driver)) < 0) err 248 sound/drivers/mpu401/mpu401.c return err; err 269 sound/drivers/mpu401/mpu401.c err = pnp_register_driver(&snd_mpu401_pnp_driver); err 270 sound/drivers/mpu401/mpu401.c if (!err) err 285 sound/drivers/mpu401/mpu401_uart.c int err; err 288 sound/drivers/mpu401/mpu401_uart.c if (mpu->open_input && (err = mpu->open_input(mpu)) < 0) err 289 sound/drivers/mpu401/mpu401_uart.c return err; err 307 sound/drivers/mpu401/mpu401_uart.c int err; err 310 sound/drivers/mpu401/mpu401_uart.c if (mpu->open_output && (err = mpu->open_output(mpu)) < 0) err 311 sound/drivers/mpu401/mpu401_uart.c return err; err 329 sound/drivers/mpu401/mpu401_uart.c int err = 0; err 335 sound/drivers/mpu401/mpu401_uart.c err = snd_mpu401_uart_cmd(mpu, MPU401_RESET, 0); err 338 sound/drivers/mpu401/mpu401_uart.c if (err) err 346 sound/drivers/mpu401/mpu401_uart.c int err = 0; err 352 sound/drivers/mpu401/mpu401_uart.c err = snd_mpu401_uart_cmd(mpu, MPU401_RESET, 0); err 355 sound/drivers/mpu401/mpu401_uart.c if (err) err 534 sound/drivers/mpu401/mpu401_uart.c int err; err 542 sound/drivers/mpu401/mpu401_uart.c if ((err = snd_rawmidi_new(card, "MPU-401U", device, err 544 sound/drivers/mpu401/mpu401_uart.c return err; err 696 sound/drivers/mtpav.c int err; err 718 sound/drivers/mtpav.c err = snd_mtpav_get_RAWMIDI(mtp_card); err 719 sound/drivers/mtpav.c if (err < 0) err 722 sound/drivers/mtpav.c err = snd_mtpav_get_ISA(mtp_card); err 723 sound/drivers/mtpav.c if (err < 0) err 734 sound/drivers/mtpav.c err = snd_card_register(mtp_card->card); err 735 sound/drivers/mtpav.c if (err < 0) err 744 sound/drivers/mtpav.c return err; err 766 sound/drivers/mtpav.c int err; err 768 sound/drivers/mtpav.c if ((err = platform_driver_register(&snd_mtpav_driver)) < 0) err 769 sound/drivers/mtpav.c return err; err 776 sound/drivers/mtpav.c err = -ENODEV; err 778 sound/drivers/mtpav.c err = PTR_ERR(device); err 780 sound/drivers/mtpav.c return err; err 667 sound/drivers/mts64.c int err, i; err 678 sound/drivers/mts64.c err = snd_ctl_add(card, snd_ctl_new1(control[i], mts)); err 679 sound/drivers/mts64.c if (err < 0) { err 682 sound/drivers/mts64.c return err; err 781 sound/drivers/mts64.c int err; err 783 sound/drivers/mts64.c err = snd_rawmidi_new(card, CARD_NAME, 0, err 787 sound/drivers/mts64.c if (err < 0) err 788 sound/drivers/mts64.c return err; err 828 sound/drivers/mts64.c err = snd_mts64_ctl_create(card, mts); err 830 sound/drivers/mts64.c return err; err 948 sound/drivers/mts64.c int err; err 957 sound/drivers/mts64.c if ((err = snd_mts64_probe_port(p)) < 0) err 958 sound/drivers/mts64.c return err; err 979 sound/drivers/mts64.c err = -EIO; err 983 sound/drivers/mts64.c if ((err = snd_mts64_create(card, pardev, &mts)) < 0) { err 991 sound/drivers/mts64.c if ((err = snd_mts64_rawmidi_create(card)) < 0) { err 999 sound/drivers/mts64.c err = -EIO; err 1005 sound/drivers/mts64.c if ((err = mts64_device_init(p)) < 0) err 1013 sound/drivers/mts64.c if ((err = snd_card_register(card)) < 0) { err 1023 sound/drivers/mts64.c return err; err 1064 sound/drivers/mts64.c int err; err 1066 sound/drivers/mts64.c if ((err = platform_driver_register(&snd_mts64_driver)) < 0) err 1067 sound/drivers/mts64.c return err; err 253 sound/drivers/opl3/opl3_lib.c int err; err 260 sound/drivers/opl3/opl3_lib.c if ((err = snd_timer_new(opl3->card, "AdLib timer #1", &tid, &timer)) >= 0) { err 266 sound/drivers/opl3/opl3_lib.c return err; err 273 sound/drivers/opl3/opl3_lib.c int err; err 280 sound/drivers/opl3/opl3_lib.c if ((err = snd_timer_new(opl3->card, "AdLib timer #2", &tid, &timer)) >= 0) { err 286 sound/drivers/opl3/opl3_lib.c return err; err 353 sound/drivers/opl3/opl3_lib.c int err; err 367 sound/drivers/opl3/opl3_lib.c if ((err = snd_device_new(card, SNDRV_DEV_CODEC, opl3, &ops)) < 0) { err 369 sound/drivers/opl3/opl3_lib.c return err; err 412 sound/drivers/opl3/opl3_lib.c int err; err 415 sound/drivers/opl3/opl3_lib.c if ((err = snd_opl3_new(card, hardware, &opl3)) < 0) err 416 sound/drivers/opl3/opl3_lib.c return err; err 442 sound/drivers/opl3/opl3_lib.c if ((err = snd_opl3_detect(opl3)) < 0) { err 446 sound/drivers/opl3/opl3_lib.c return err; err 466 sound/drivers/opl3/opl3_lib.c int err; err 469 sound/drivers/opl3/opl3_lib.c if ((err = snd_opl3_timer1_init(opl3, timer1_dev)) < 0) err 470 sound/drivers/opl3/opl3_lib.c return err; err 472 sound/drivers/opl3/opl3_lib.c if ((err = snd_opl3_timer2_init(opl3, timer2_dev)) < 0) { err 475 sound/drivers/opl3/opl3_lib.c return err; err 489 sound/drivers/opl3/opl3_lib.c int err; err 496 sound/drivers/opl3/opl3_lib.c if ((err = snd_hwdep_new(card, "OPL2/OPL3", device, &hw)) < 0) { err 498 sound/drivers/opl3/opl3_lib.c return err; err 163 sound/drivers/opl3/opl3_oss.c int err; err 168 sound/drivers/opl3/opl3_oss.c if ((err = snd_opl3_synth_setup(opl3)) < 0) err 169 sound/drivers/opl3/opl3_oss.c return err; err 176 sound/drivers/opl3/opl3_oss.c if ((err = snd_opl3_synth_use_inc(opl3)) < 0) err 177 sound/drivers/opl3/opl3_oss.c return err; err 209 sound/drivers/opl3/opl3_oss.c int err, type; err 238 sound/drivers/opl3/opl3_oss.c err = snd_opl3_load_patch(opl3, sbi.channel, 127, type, name, NULL, err 240 sound/drivers/opl3/opl3_oss.c if (err < 0) err 241 sound/drivers/opl3/opl3_oss.c return err; err 106 sound/drivers/opl3/opl3_seq.c int err; err 108 sound/drivers/opl3/opl3_seq.c if ((err = snd_opl3_synth_setup(opl3)) < 0) err 109 sound/drivers/opl3/opl3_seq.c return err; err 123 sound/drivers/opl3/opl3_seq.c if ((err = snd_opl3_synth_use_inc(opl3)) < 0) err 124 sound/drivers/opl3/opl3_seq.c return err; err 221 sound/drivers/opl3/opl3_seq.c int client, err; err 242 sound/drivers/opl3/opl3_seq.c if ((err = snd_opl3_synth_create_port(opl3)) < 0) { err 245 sound/drivers/opl3/opl3_seq.c return err; err 197 sound/drivers/opl3/opl3_synth.c int err = 0; err 211 sound/drivers/opl3/opl3_synth.c err = snd_opl3_load_patch(opl3, inst.prog, inst.bank, type, err 214 sound/drivers/opl3/opl3_synth.c if (err < 0) err 219 sound/drivers/opl3/opl3_synth.c return result > 0 ? result : err; err 199 sound/drivers/opl4/opl4_lib.c int err; err 227 sound/drivers/opl4/opl4_lib.c err = snd_opl4_detect(opl4); err 228 sound/drivers/opl4/opl4_lib.c if (err < 0) { err 231 sound/drivers/opl4/opl4_lib.c return err; err 234 sound/drivers/opl4/opl4_lib.c err = snd_device_new(card, SNDRV_DEV_CODEC, opl4, &ops); err 235 sound/drivers/opl4/opl4_lib.c if (err < 0) { err 237 sound/drivers/opl4/opl4_lib.c return err; err 240 sound/drivers/opl4/opl4_lib.c err = snd_opl3_create(card, fm_port, fm_port + 2, opl4->hardware, 1, &opl3); err 241 sound/drivers/opl4/opl4_lib.c if (err < 0) { err 243 sound/drivers/opl4/opl4_lib.c return err; err 85 sound/drivers/opl4/opl4_mixer.c int i, err; err 90 sound/drivers/opl4/opl4_mixer.c err = snd_ctl_add(card, snd_ctl_new1(&snd_opl4_controls[i], opl4)); err 91 sound/drivers/opl4/opl4_mixer.c if (err < 0) err 92 sound/drivers/opl4/opl4_mixer.c return err; err 63 sound/drivers/opl4/opl4_seq.c int err; err 74 sound/drivers/opl4/opl4_seq.c err = snd_opl4_seq_use_inc(opl4); err 75 sound/drivers/opl4/opl4_seq.c if (err < 0) { err 77 sound/drivers/opl4/opl4_seq.c return err; err 173 sound/drivers/opl4/opl4_seq.c int err = opl4->chset->port; err 177 sound/drivers/opl4/opl4_seq.c return err; err 43 sound/drivers/pcsp/pcsp.c int err; err 83 sound/drivers/pcsp/pcsp.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, &pcsp_chip, &ops); err 84 sound/drivers/pcsp/pcsp.c if (err < 0) err 85 sound/drivers/pcsp/pcsp.c return err; err 93 sound/drivers/pcsp/pcsp.c int err; err 106 sound/drivers/pcsp/pcsp.c err = snd_pcsp_create(card); err 107 sound/drivers/pcsp/pcsp.c if (err < 0) { err 109 sound/drivers/pcsp/pcsp.c return err; err 111 sound/drivers/pcsp/pcsp.c err = snd_pcsp_new_pcm(&pcsp_chip); err 112 sound/drivers/pcsp/pcsp.c if (err < 0) { err 114 sound/drivers/pcsp/pcsp.c return err; err 116 sound/drivers/pcsp/pcsp.c err = snd_pcsp_new_mixer(&pcsp_chip); err 117 sound/drivers/pcsp/pcsp.c if (err < 0) { err 119 sound/drivers/pcsp/pcsp.c return err; err 129 sound/drivers/pcsp/pcsp.c err = snd_card_register(card); err 130 sound/drivers/pcsp/pcsp.c if (err < 0) { err 132 sound/drivers/pcsp/pcsp.c return err; err 140 sound/drivers/pcsp/pcsp.c int err; err 142 sound/drivers/pcsp/pcsp.c err = snd_card_pcsp_probe(0, dev); err 143 sound/drivers/pcsp/pcsp.c if (err) { err 145 sound/drivers/pcsp/pcsp.c return err; err 164 sound/drivers/pcsp/pcsp.c int err; err 166 sound/drivers/pcsp/pcsp.c err = pcspkr_input_init(&pcsp_chip.input_dev, &dev->dev); err 167 sound/drivers/pcsp/pcsp.c if (err < 0) err 168 sound/drivers/pcsp/pcsp.c return err; err 170 sound/drivers/pcsp/pcsp.c err = alsa_card_pcsp_init(&dev->dev); err 171 sound/drivers/pcsp/pcsp.c if (err < 0) { err 173 sound/drivers/pcsp/pcsp.c return err; err 82 sound/drivers/pcsp/pcsp_input.c int err; err 100 sound/drivers/pcsp/pcsp_input.c err = input_register_device(input_dev); err 101 sound/drivers/pcsp/pcsp_input.c if (err) { err 103 sound/drivers/pcsp/pcsp_input.c return err; err 186 sound/drivers/pcsp/pcsp_lib.c int err; err 187 sound/drivers/pcsp/pcsp_lib.c err = snd_pcm_lib_malloc_pages(substream, err 189 sound/drivers/pcsp/pcsp_lib.c if (err < 0) err 190 sound/drivers/pcsp/pcsp_lib.c return err; err 300 sound/drivers/pcsp/pcsp_lib.c int err; err 302 sound/drivers/pcsp/pcsp_lib.c err = snd_pcm_new(chip->card, "pcspeaker", 0, 1, 0, &chip->pcm); err 303 sound/drivers/pcsp/pcsp_lib.c if (err < 0) err 304 sound/drivers/pcsp/pcsp_lib.c return err; err 131 sound/drivers/pcsp/pcsp_mixer.c int i, err; err 134 sound/drivers/pcsp/pcsp_mixer.c err = snd_ctl_add(card, err 137 sound/drivers/pcsp/pcsp_mixer.c if (err < 0) err 138 sound/drivers/pcsp/pcsp_mixer.c return err; err 567 sound/drivers/portman2x4.c int err; err 569 sound/drivers/portman2x4.c err = snd_rawmidi_new(card, CARD_NAME, 0, err 573 sound/drivers/portman2x4.c if (err < 0) err 574 sound/drivers/portman2x4.c return err; err 607 sound/drivers/portman2x4.c return err; err 736 sound/drivers/portman2x4.c int err; err 746 sound/drivers/portman2x4.c if ((err = snd_portman_probe_port(p)) < 0) err 747 sound/drivers/portman2x4.c return err; err 768 sound/drivers/portman2x4.c err = -EIO; err 772 sound/drivers/portman2x4.c if ((err = portman_create(card, pardev, &pm)) < 0) { err 780 sound/drivers/portman2x4.c if ((err = snd_portman_rawmidi_create(card)) < 0) { err 788 sound/drivers/portman2x4.c err = -EIO; err 794 sound/drivers/portman2x4.c if ((err = portman_device_init(pm)) < 0) err 802 sound/drivers/portman2x4.c if ((err = snd_card_register(card)) < 0) { err 812 sound/drivers/portman2x4.c return err; err 853 sound/drivers/portman2x4.c int err; err 855 sound/drivers/portman2x4.c if ((err = platform_driver_register(&snd_portman_driver)) < 0) err 856 sound/drivers/portman2x4.c return err; err 797 sound/drivers/serial-u16550.c int err; err 809 sound/drivers/serial-u16550.c if ((err = snd_uart16550_detect(uart)) <= 0) { err 836 sound/drivers/serial-u16550.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, uart, &ops)) < 0) { err 838 sound/drivers/serial-u16550.c return err; err 877 sound/drivers/serial-u16550.c int err; err 879 sound/drivers/serial-u16550.c err = snd_rawmidi_new(uart->card, "UART Serial MIDI", device, err 881 sound/drivers/serial-u16550.c if (err < 0) err 882 sound/drivers/serial-u16550.c return err; err 903 sound/drivers/serial-u16550.c int err; err 946 sound/drivers/serial-u16550.c if ((err = snd_uart16550_create(card, err 956 sound/drivers/serial-u16550.c err = snd_uart16550_rmidi(uart, 0, outs[dev], ins[dev], &uart->rmidi); err 957 sound/drivers/serial-u16550.c if (err < 0) err 973 sound/drivers/serial-u16550.c if ((err = snd_card_register(card)) < 0) err 981 sound/drivers/serial-u16550.c return err; err 1012 sound/drivers/serial-u16550.c int i, cards, err; err 1014 sound/drivers/serial-u16550.c if ((err = platform_driver_register(&snd_serial_driver)) < 0) err 1015 sound/drivers/serial-u16550.c return err; err 90 sound/drivers/virmidi.c int idx, err; err 107 sound/drivers/virmidi.c if ((err = snd_virmidi_new(card, idx, &rmidi)) < 0) err 121 sound/drivers/virmidi.c if ((err = snd_card_register(card)) == 0) { err 127 sound/drivers/virmidi.c return err; err 158 sound/drivers/virmidi.c int i, cards, err; err 160 sound/drivers/virmidi.c if ((err = platform_driver_register(&snd_virmidi_driver)) < 0) err 161 sound/drivers/virmidi.c return err; err 124 sound/drivers/vx/vx_core.c int err; err 126 sound/drivers/vx/vx_core.c if ((err = vx_reset_chk(chip)) < 0) err 127 sound/drivers/vx/vx_core.c return err; err 130 sound/drivers/vx/vx_core.c if ((err = vx_send_irq_dsp(chip, cmd)) < 0) err 131 sound/drivers/vx/vx_core.c return err; err 134 sound/drivers/vx/vx_core.c if ((err = vx_wait_isr_bit(chip, ISR_CHK)) < 0) err 135 sound/drivers/vx/vx_core.c return err; err 138 sound/drivers/vx/vx_core.c if ((err = vx_inb(chip, ISR)) & ISR_ERR) { err 139 sound/drivers/vx/vx_core.c if ((err = vx_wait_for_rx_full(chip)) < 0) { err 141 sound/drivers/vx/vx_core.c return err; err 143 sound/drivers/vx/vx_core.c err = vx_inb(chip, RXH) << 16; err 144 sound/drivers/vx/vx_core.c err |= vx_inb(chip, RXM) << 8; err 145 sound/drivers/vx/vx_core.c err |= vx_inb(chip, RXL); err 146 sound/drivers/vx/vx_core.c snd_printd(KERN_DEBUG "transfer_end: error = 0x%x\n", err); err 147 sound/drivers/vx/vx_core.c return -(VX_ERR_MASK | err); err 162 sound/drivers/vx/vx_core.c int i, err, val, size; err 171 sound/drivers/vx/vx_core.c err = vx_wait_for_rx_full(chip); err 172 sound/drivers/vx/vx_core.c if (err < 0) err 173 sound/drivers/vx/vx_core.c return err; err 213 sound/drivers/vx/vx_core.c err = vx_send_irq_dsp(chip, IRQ_MESS_WRITE_NEXT); err 214 sound/drivers/vx/vx_core.c if (err < 0) err 215 sound/drivers/vx/vx_core.c return err; err 217 sound/drivers/vx/vx_core.c err = vx_wait_for_rx_full(chip); err 218 sound/drivers/vx/vx_core.c if (err < 0) err 219 sound/drivers/vx/vx_core.c return err; err 243 sound/drivers/vx/vx_core.c int i, err; err 248 sound/drivers/vx/vx_core.c if ((err = vx_reset_chk(chip)) < 0) { err 250 sound/drivers/vx/vx_core.c return err; err 270 sound/drivers/vx/vx_core.c if ((err = vx_wait_isr_bit(chip, ISR_TX_EMPTY)) < 0) { err 272 sound/drivers/vx/vx_core.c return err; err 281 sound/drivers/vx/vx_core.c if ((err = vx_send_irq_dsp(chip, IRQ_MESSAGE)) < 0) { err 283 sound/drivers/vx/vx_core.c return err; err 287 sound/drivers/vx/vx_core.c if ((err = vx_wait_isr_bit(chip, ISR_CHK)) < 0) err 288 sound/drivers/vx/vx_core.c return err; err 292 sound/drivers/vx/vx_core.c if ((err = vx_wait_for_rx_full(chip)) < 0) { err 294 sound/drivers/vx/vx_core.c return err; err 296 sound/drivers/vx/vx_core.c err = vx_inb(chip, RXH) << 16; err 297 sound/drivers/vx/vx_core.c err |= vx_inb(chip, RXM) << 8; err 298 sound/drivers/vx/vx_core.c err |= vx_inb(chip, RXL); err 299 sound/drivers/vx/vx_core.c snd_printd(KERN_DEBUG "msg got error = 0x%x at cmd[0]\n", err); err 300 sound/drivers/vx/vx_core.c err = -(VX_ERR_MASK | err); err 301 sound/drivers/vx/vx_core.c return err; err 308 sound/drivers/vx/vx_core.c if ((err = vx_wait_isr_bit(chip, ISR_TX_READY)) < 0) { err 310 sound/drivers/vx/vx_core.c return err; err 319 sound/drivers/vx/vx_core.c if ((err = vx_send_irq_dsp(chip, IRQ_MESS_READ_NEXT)) < 0) { err 321 sound/drivers/vx/vx_core.c return err; err 325 sound/drivers/vx/vx_core.c if ((err = vx_wait_isr_bit(chip, ISR_TX_READY)) < 0) { err 327 sound/drivers/vx/vx_core.c return err; err 330 sound/drivers/vx/vx_core.c err = vx_transfer_end(chip, IRQ_MESS_READ_END); err 331 sound/drivers/vx/vx_core.c if (err < 0) err 332 sound/drivers/vx/vx_core.c return err; err 349 sound/drivers/vx/vx_core.c int err; err 352 sound/drivers/vx/vx_core.c err = vx_send_msg_nolock(chip, rmh); err 354 sound/drivers/vx/vx_core.c return err; err 371 sound/drivers/vx/vx_core.c int err; err 379 sound/drivers/vx/vx_core.c if ((err = vx_reset_chk(chip)) < 0) err 380 sound/drivers/vx/vx_core.c return err; err 382 sound/drivers/vx/vx_core.c if ((err = vx_send_irq_dsp(chip, cmd)) < 0) err 383 sound/drivers/vx/vx_core.c return err; err 385 sound/drivers/vx/vx_core.c if ((err = vx_wait_isr_bit(chip, ISR_CHK)) < 0) err 386 sound/drivers/vx/vx_core.c return err; err 389 sound/drivers/vx/vx_core.c if ((err = vx_wait_for_rx_full(chip)) < 0) err 390 sound/drivers/vx/vx_core.c return err; err 391 sound/drivers/vx/vx_core.c err = vx_inb(chip, RXH) << 16; err 392 sound/drivers/vx/vx_core.c err |= vx_inb(chip, RXM) << 8; err 393 sound/drivers/vx/vx_core.c err |= vx_inb(chip, RXL); err 394 sound/drivers/vx/vx_core.c return -(VX_ERR_MASK | err); err 409 sound/drivers/vx/vx_core.c int err; err 412 sound/drivers/vx/vx_core.c err = vx_send_rih_nolock(chip, cmd); err 414 sound/drivers/vx/vx_core.c return err; err 482 sound/drivers/vx/vx_core.c int err; err 486 sound/drivers/vx/vx_core.c err = vx_send_msg_nolock(chip, &chip->irq_rmh); err 487 sound/drivers/vx/vx_core.c if (err < 0) err 492 sound/drivers/vx/vx_core.c return err; err 656 sound/drivers/vx/vx_core.c int err; err 662 sound/drivers/vx/vx_core.c if ((err = snd_vx_load_boot_image(chip, boot)) < 0) err 663 sound/drivers/vx/vx_core.c return err; err 677 sound/drivers/vx/vx_core.c int err; err 690 sound/drivers/vx/vx_core.c if ((err = vx_wait_isr_bit(chip, ISR_TX_EMPTY)) < 0) { err 692 sound/drivers/vx/vx_core.c return err; err 709 sound/drivers/vx/vx_core.c if ((err = vx_wait_isr_bit(chip, ISR_CHK)) < 0) err 710 sound/drivers/vx/vx_core.c return err; err 745 sound/drivers/vx/vx_core.c int i, err; err 752 sound/drivers/vx/vx_core.c err = chip->ops->load_dsp(chip, i, chip->firmware[i]); err 753 sound/drivers/vx/vx_core.c if (err < 0) { err 66 sound/drivers/vx/vx_hwdep.c int i, err; err 78 sound/drivers/vx/vx_hwdep.c err = chip->ops->load_dsp(chip, i, fw); err 79 sound/drivers/vx/vx_hwdep.c if (err < 0) { err 81 sound/drivers/vx/vx_hwdep.c return err; err 94 sound/drivers/vx/vx_hwdep.c if ((err = snd_vx_pcm_new(chip)) < 0) err 95 sound/drivers/vx/vx_hwdep.c return err; err 97 sound/drivers/vx/vx_hwdep.c if ((err = snd_vx_mixer_new(chip)) < 0) err 98 sound/drivers/vx/vx_hwdep.c return err; err 101 sound/drivers/vx/vx_hwdep.c if ((err = chip->ops->add_controls(chip)) < 0) err 102 sound/drivers/vx/vx_hwdep.c return err; err 169 sound/drivers/vx/vx_hwdep.c int index, err; err 196 sound/drivers/vx/vx_hwdep.c err = vx->ops->load_dsp(vx, index, fw); err 197 sound/drivers/vx/vx_hwdep.c if (err < 0) { err 199 sound/drivers/vx/vx_hwdep.c return err; err 215 sound/drivers/vx/vx_hwdep.c if ((err = snd_vx_pcm_new(vx)) < 0) err 216 sound/drivers/vx/vx_hwdep.c return err; err 218 sound/drivers/vx/vx_hwdep.c if ((err = snd_vx_mixer_new(vx)) < 0) err 219 sound/drivers/vx/vx_hwdep.c return err; err 222 sound/drivers/vx/vx_hwdep.c if ((err = vx->ops->add_controls(vx)) < 0) err 223 sound/drivers/vx/vx_hwdep.c return err; err 225 sound/drivers/vx/vx_hwdep.c if ((err = snd_card_register(vx->card)) < 0) err 226 sound/drivers/vx/vx_hwdep.c return err; err 238 sound/drivers/vx/vx_hwdep.c int err; err 241 sound/drivers/vx/vx_hwdep.c if ((err = snd_hwdep_new(chip->card, SND_VX_HWDEP_ID, 0, &hw)) < 0) err 242 sound/drivers/vx/vx_hwdep.c return err; err 263 sound/drivers/vx/vx_mixer.c int err; err 272 sound/drivers/vx/vx_mixer.c err = vx_send_msg(chip, &rmh); err 273 sound/drivers/vx/vx_mixer.c if (err < 0) err 274 sound/drivers/vx/vx_mixer.c return err; err 382 sound/drivers/vx/vx_mixer.c int i, err; err 396 sound/drivers/vx/vx_mixer.c err = vx_send_msg(chip, &rmh); err 397 sound/drivers/vx/vx_mixer.c if (err < 0) err 398 sound/drivers/vx/vx_mixer.c return err; err 937 sound/drivers/vx/vx_mixer.c int err; err 949 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) err 950 sound/drivers/vx/vx_mixer.c return err; err 960 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) err 961 sound/drivers/vx/vx_mixer.c return err; err 965 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) err 966 sound/drivers/vx/vx_mixer.c return err; err 970 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) err 971 sound/drivers/vx/vx_mixer.c return err; err 975 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) err 976 sound/drivers/vx/vx_mixer.c return err; err 983 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) err 984 sound/drivers/vx/vx_mixer.c return err; err 988 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_audio_src, chip))) < 0) err 989 sound/drivers/vx/vx_mixer.c return err; err 991 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_clock_mode, chip))) < 0) err 992 sound/drivers/vx/vx_mixer.c return err; err 994 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_iec958_mask, chip))) < 0) err 995 sound/drivers/vx/vx_mixer.c return err; err 996 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&vx_control_iec958, chip))) < 0) err 997 sound/drivers/vx/vx_mixer.c return err; err 1007 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) err 1008 sound/drivers/vx/vx_mixer.c return err; err 1015 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) err 1016 sound/drivers/vx/vx_mixer.c return err; err 1022 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) err 1023 sound/drivers/vx/vx_mixer.c return err; err 247 sound/drivers/vx/vx_pcm.c int err; err 252 sound/drivers/vx/vx_pcm.c err = vx_send_msg(chip, &rmh); err 253 sound/drivers/vx/vx_pcm.c if (err < 0) err 254 sound/drivers/vx/vx_pcm.c return err; err 277 sound/drivers/vx/vx_pcm.c int err; err 282 sound/drivers/vx/vx_pcm.c err = vx_send_msg_nolock(chip, &rmh); /* no lock needed for trigger */ err 283 sound/drivers/vx/vx_pcm.c if (! err) err 285 sound/drivers/vx/vx_pcm.c return err; err 326 sound/drivers/vx/vx_pcm.c int err; err 333 sound/drivers/vx/vx_pcm.c err = vx_send_msg_nolock(chip, &rmh); /* no lock needed for trigger */ err 334 sound/drivers/vx/vx_pcm.c if (! err) { err 336 sound/drivers/vx/vx_pcm.c err = 1; err 338 sound/drivers/vx/vx_pcm.c return err; err 386 sound/drivers/vx/vx_pcm.c int err, i, cur_state; err 400 sound/drivers/vx/vx_pcm.c err = vx_pipe_can_start(chip, pipe); err 401 sound/drivers/vx/vx_pcm.c if (err > 0) err 410 sound/drivers/vx/vx_pcm.c if ((err = vx_conf_pipe(chip, pipe)) < 0) err 411 sound/drivers/vx/vx_pcm.c return err; err 413 sound/drivers/vx/vx_pcm.c if ((err = vx_send_irqa(chip)) < 0) err 414 sound/drivers/vx/vx_pcm.c return err; err 421 sound/drivers/vx/vx_pcm.c err = vx_get_pipe_state(chip, pipe, &cur_state); err 422 sound/drivers/vx/vx_pcm.c if (err < 0 || cur_state == state) err 424 sound/drivers/vx/vx_pcm.c err = -EIO; err 427 sound/drivers/vx/vx_pcm.c return err < 0 ? -EIO : 0; err 459 sound/drivers/vx/vx_pcm.c int err; err 474 sound/drivers/vx/vx_pcm.c err = vx_send_msg(chip, &rmh); err 475 sound/drivers/vx/vx_pcm.c if (err < 0) err 476 sound/drivers/vx/vx_pcm.c return err; err 584 sound/drivers/vx/vx_pcm.c int err; err 597 sound/drivers/vx/vx_pcm.c err = vx_alloc_pipe(chip, 0, audio, 2, &pipe); /* stereo playback */ err 598 sound/drivers/vx/vx_pcm.c if (err < 0) err 599 sound/drivers/vx/vx_pcm.c return err; err 651 sound/drivers/vx/vx_pcm.c int err; err 658 sound/drivers/vx/vx_pcm.c err = vx_send_msg_nolock(chip, &rmh); err 659 sound/drivers/vx/vx_pcm.c if (err < 0) err 660 sound/drivers/vx/vx_pcm.c return err; err 681 sound/drivers/vx/vx_pcm.c int space, err = 0; err 701 sound/drivers/vx/vx_pcm.c err = vx_notify_end_of_buffer(chip, pipe); err 705 sound/drivers/vx/vx_pcm.c return err; err 720 sound/drivers/vx/vx_pcm.c int err, update; err 725 sound/drivers/vx/vx_pcm.c err = vx_send_msg(chip, &rmh); err 726 sound/drivers/vx/vx_pcm.c if (err < 0) err 727 sound/drivers/vx/vx_pcm.c return err; err 747 sound/drivers/vx/vx_pcm.c int i, err; err 753 sound/drivers/vx/vx_pcm.c if ((err = vx_pcm_playback_transfer_chunk(chip, runtime, pipe, err 767 sound/drivers/vx/vx_pcm.c int err; err 771 sound/drivers/vx/vx_pcm.c if ((err = vx_update_pipe_position(chip, runtime, pipe)) < 0) err 790 sound/drivers/vx/vx_pcm.c int err; err 794 sound/drivers/vx/vx_pcm.c if ((err = vx_start_stream(chip, pipe)) < 0) { err 798 sound/drivers/vx/vx_pcm.c if ((err = vx_toggle_pipe(chip, pipe, 1)) < 0) { err 812 sound/drivers/vx/vx_pcm.c int err; err 839 sound/drivers/vx/vx_pcm.c if ((err = vx_toggle_pipe(chip, pipe, 0)) < 0) err 840 sound/drivers/vx/vx_pcm.c return err; err 843 sound/drivers/vx/vx_pcm.c if ((err = vx_toggle_pipe(chip, pipe, 1)) < 0) err 844 sound/drivers/vx/vx_pcm.c return err; err 887 sound/drivers/vx/vx_pcm.c int err, data_mode; err 901 sound/drivers/vx/vx_pcm.c if ((err = vx_send_msg(chip, &rmh)) < 0) err 902 sound/drivers/vx/vx_pcm.c return err; err 907 sound/drivers/vx/vx_pcm.c if ((err = vx_send_msg(chip, &rmh)) < 0) err 908 sound/drivers/vx/vx_pcm.c return err; err 919 sound/drivers/vx/vx_pcm.c if ((err = vx_set_format(chip, pipe, runtime)) < 0) err 920 sound/drivers/vx/vx_pcm.c return err; err 994 sound/drivers/vx/vx_pcm.c int err; err 1002 sound/drivers/vx/vx_pcm.c err = vx_alloc_pipe(chip, 1, audio, 2, &pipe); err 1003 sound/drivers/vx/vx_pcm.c if (err < 0) err 1004 sound/drivers/vx/vx_pcm.c return err; err 1014 sound/drivers/vx/vx_pcm.c err = vx_alloc_pipe(chip, 0, audio, 2, &pipe_out_monitoring); err 1015 sound/drivers/vx/vx_pcm.c if (err < 0) err 1016 sound/drivers/vx/vx_pcm.c return err; err 1302 sound/drivers/vx/vx_pcm.c int err; err 1304 sound/drivers/vx/vx_pcm.c if ((err = vx_init_audio_io(chip)) < 0) err 1305 sound/drivers/vx/vx_pcm.c return err; err 1313 sound/drivers/vx/vx_pcm.c err = snd_pcm_new(chip->card, "VX PCM", i, err 1315 sound/drivers/vx/vx_pcm.c if (err < 0) err 1316 sound/drivers/vx/vx_pcm.c return err; err 73 sound/i2c/cs8427.c int err; err 78 sound/i2c/cs8427.c if ((err = snd_i2c_sendbytes(device, buf, 2)) != 2) { err 80 sound/i2c/cs8427.c "to CS8427 (%i)\n", buf[0], buf[1], err); err 81 sound/i2c/cs8427.c return err < 0 ? err : -EIO; err 90 sound/i2c/cs8427.c int err; err 93 sound/i2c/cs8427.c if ((err = snd_i2c_sendbytes(device, ®, 1)) != 1) { err 96 sound/i2c/cs8427.c return err < 0 ? err : -EIO; err 98 sound/i2c/cs8427.c if ((err = snd_i2c_readbytes(device, &buf, 1)) != 1) { err 101 sound/i2c/cs8427.c return err < 0 ? err : -EIO; err 109 sound/i2c/cs8427.c int err; err 115 sound/i2c/cs8427.c err = snd_cs8427_reg_write(device, CS8427_REG_CSDATABUF, err 117 sound/i2c/cs8427.c if (err < 0) err 118 sound/i2c/cs8427.c return err; err 132 sound/i2c/cs8427.c int err, idx; err 136 sound/i2c/cs8427.c if ((err = snd_cs8427_select_corudata(device, udata)) < 0) err 137 sound/i2c/cs8427.c return err; err 145 sound/i2c/cs8427.c err = snd_cs8427_reg_write(device, CS8427_REG_UDATABUF, err 147 sound/i2c/cs8427.c return err < 0 ? err : 0; err 213 sound/i2c/cs8427.c int err; err 218 sound/i2c/cs8427.c if ((err = snd_i2c_device_create(bus, "CS8427", err 221 sound/i2c/cs8427.c return err; err 230 sound/i2c/cs8427.c err = snd_cs8427_reg_read(device, CS8427_REG_ID_AND_VER); err 231 sound/i2c/cs8427.c if (err != CS8427_VER8427A) { err 234 sound/i2c/cs8427.c "let me try again...\n", err); err 235 sound/i2c/cs8427.c err = snd_cs8427_reg_read(device, CS8427_REG_ID_AND_VER); err 237 sound/i2c/cs8427.c if (err != CS8427_VER8427A) { err 241 sound/i2c/cs8427.c CS8427_VER8427A, err); err 246 sound/i2c/cs8427.c err = snd_cs8427_reg_write(device, CS8427_REG_CLOCKSOURCE, 0x00); err 247 sound/i2c/cs8427.c if (err < 0) err 251 sound/i2c/cs8427.c if ((err = snd_i2c_sendbytes(device, initvals1, 7)) != 7) { err 252 sound/i2c/cs8427.c err = err < 0 ? err : -EIO; err 259 sound/i2c/cs8427.c if ((err = snd_i2c_sendbytes(device, buf, 7)) != 7) err 263 sound/i2c/cs8427.c if ((err = snd_i2c_sendbytes(device, initvals2, 4)) != 4) { err 264 sound/i2c/cs8427.c err = err < 0 ? err : -EIO; err 301 sound/i2c/cs8427.c return err < 0 ? err : -EIO; err 389 sound/i2c/cs8427.c int err; err 392 sound/i2c/cs8427.c if ((err = snd_i2c_sendbytes(device, ®, 1)) != 1) { err 396 sound/i2c/cs8427.c return err < 0 ? err : -EIO; err 398 sound/i2c/cs8427.c err = snd_i2c_readbytes(device, ucontrol->value.bytes.data, 10); err 399 sound/i2c/cs8427.c if (err != 10) { err 403 sound/i2c/cs8427.c return err < 0 ? err : -EIO; err 438 sound/i2c/cs8427.c int err, change; err 445 sound/i2c/cs8427.c err = snd_cs8427_send_corudata(device, 0, status, 24); err 446 sound/i2c/cs8427.c if (err < 0) err 447 sound/i2c/cs8427.c change = err; err 528 sound/i2c/cs8427.c int err; err 538 sound/i2c/cs8427.c err = snd_ctl_add(cs8427->bus->card, kctl); err 539 sound/i2c/cs8427.c if (err < 0) err 540 sound/i2c/cs8427.c return err; err 578 sound/i2c/cs8427.c int err, reset; err 601 sound/i2c/cs8427.c err = snd_cs8427_send_corudata(cs8427, 0, status, 24); err 602 sound/i2c/cs8427.c if (err > 0) err 611 sound/i2c/cs8427.c return err < 0 ? err : 0; err 82 sound/i2c/i2c.c int err; err 101 sound/i2c/i2c.c if ((err = snd_device_new(card, SNDRV_DEV_BUS, bus, &ops)) < 0) { err 103 sound/i2c/i2c.c return err; err 245 sound/i2c/i2c.c int i, err; err 249 sound/i2c/i2c.c if ((err = snd_i2c_bit_ack(bus)) < 0) err 250 sound/i2c/i2c.c return err; err 276 sound/i2c/i2c.c int err, res = 0; err 281 sound/i2c/i2c.c if ((err = snd_i2c_bit_sendbyte(bus, device->addr << 1)) < 0) { err 283 sound/i2c/i2c.c return err; err 286 sound/i2c/i2c.c if ((err = snd_i2c_bit_sendbyte(bus, *bytes++)) < 0) { err 288 sound/i2c/i2c.c return err; err 300 sound/i2c/i2c.c int err, res = 0; err 305 sound/i2c/i2c.c if ((err = snd_i2c_bit_sendbyte(bus, (device->addr << 1) | 1)) < 0) { err 307 sound/i2c/i2c.c return err; err 310 sound/i2c/i2c.c if ((err = snd_i2c_bit_readbyte(bus, count == 0)) < 0) { err 312 sound/i2c/i2c.c return err; err 314 sound/i2c/i2c.c *bytes++ = (unsigned char)err; err 323 sound/i2c/i2c.c int err; err 330 sound/i2c/i2c.c err = snd_i2c_bit_sendbyte(bus, addr << 1); err 332 sound/i2c/i2c.c return err; err 173 sound/i2c/l3/uda1341.c int err = 0; err 179 sound/i2c/l3/uda1341.c err = l3_write(clnt, UDA1341_DATA0, (const unsigned char *)&val, 1); err 181 sound/i2c/l3/uda1341.c err = l3_write(clnt, UDA1341_DATA1, (const unsigned char *)&val, 1); err 183 sound/i2c/l3/uda1341.c err = l3_write(clnt, UDA1341_STATUS, (const unsigned char *)&val, 1); err 187 sound/i2c/l3/uda1341.c err = l3_write(clnt, UDA1341_DATA0, (const unsigned char *)buf, 2); err 191 sound/i2c/l3/uda1341.c return err; err 197 sound/i2c/l3/uda1341.c int err; err 199 sound/i2c/l3/uda1341.c err = l3_read(clnt, reg, &val, 1); err 200 sound/i2c/l3/uda1341.c if (err == 1) err 203 sound/i2c/l3/uda1341.c return err < 0 ? err : -EIO; err 772 sound/i2c/l3/uda1341.c int idx, err; err 781 sound/i2c/l3/uda1341.c if ((err = l3_attach_client(clnt, "l3-bit-sa1100-gpio", UDA1341_ALSA_NAME))) { err 783 sound/i2c/l3/uda1341.c return err; err 787 sound/i2c/l3/uda1341.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_uda1341_controls[idx], clnt))) < 0) { err 789 sound/i2c/l3/uda1341.c return err; err 793 sound/i2c/l3/uda1341.c if ((err = snd_device_new(card, SNDRV_DEV_CODEC, clnt, &ops)) < 0) { err 795 sound/i2c/l3/uda1341.c return err; err 88 sound/i2c/other/ak4114.c int err = 0; err 114 sound/i2c/other/ak4114.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) err 123 sound/i2c/other/ak4114.c return err < 0 ? err : -EIO; err 476 sound/i2c/other/ak4114.c int err; err 498 sound/i2c/other/ak4114.c err = snd_ctl_add(ak4114->card, kctl); err 499 sound/i2c/other/ak4114.c if (err < 0) err 500 sound/i2c/other/ak4114.c return err; err 79 sound/i2c/other/ak4117.c int err = 0; err 105 sound/i2c/other/ak4117.c if ((err = snd_device_new(card, SNDRV_DEV_CODEC, chip, &ops)) < 0) err 114 sound/i2c/other/ak4117.c return err < 0 ? err : -EIO; err 432 sound/i2c/other/ak4117.c int err; err 443 sound/i2c/other/ak4117.c err = snd_ctl_add(ak4117->card, kctl); err 444 sound/i2c/other/ak4117.c if (err < 0) err 445 sound/i2c/other/ak4117.c return err; err 602 sound/i2c/other/ak4xxx-adda.c int idx, err, mixer_ch, num_stereo; err 623 sound/i2c/other/ak4xxx-adda.c err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); err 624 sound/i2c/other/ak4xxx-adda.c if (err < 0) err 625 sound/i2c/other/ak4xxx-adda.c return err; err 695 sound/i2c/other/ak4xxx-adda.c err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); err 696 sound/i2c/other/ak4xxx-adda.c if (err < 0) err 697 sound/i2c/other/ak4xxx-adda.c return err; err 707 sound/i2c/other/ak4xxx-adda.c int idx, err, mixer_ch, num_stereo; err 744 sound/i2c/other/ak4xxx-adda.c err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); err 745 sound/i2c/other/ak4xxx-adda.c if (err < 0) err 746 sound/i2c/other/ak4xxx-adda.c return err; err 763 sound/i2c/other/ak4xxx-adda.c err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); err 764 sound/i2c/other/ak4xxx-adda.c if (err < 0) err 765 sound/i2c/other/ak4xxx-adda.c return err; err 783 sound/i2c/other/ak4xxx-adda.c err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); err 784 sound/i2c/other/ak4xxx-adda.c if (err < 0) err 785 sound/i2c/other/ak4xxx-adda.c return err; err 796 sound/i2c/other/ak4xxx-adda.c int idx, err; err 830 sound/i2c/other/ak4xxx-adda.c err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak)); err 831 sound/i2c/other/ak4xxx-adda.c if (err < 0) err 832 sound/i2c/other/ak4xxx-adda.c return err; err 839 sound/i2c/other/ak4xxx-adda.c int err, num_emphs; err 841 sound/i2c/other/ak4xxx-adda.c err = build_dac_controls(ak); err 842 sound/i2c/other/ak4xxx-adda.c if (err < 0) err 843 sound/i2c/other/ak4xxx-adda.c return err; err 845 sound/i2c/other/ak4xxx-adda.c err = build_adc_controls(ak); err 846 sound/i2c/other/ak4xxx-adda.c if (err < 0) err 847 sound/i2c/other/ak4xxx-adda.c return err; err 853 sound/i2c/other/ak4xxx-adda.c err = build_deemphasis(ak, num_emphs); err 854 sound/i2c/other/ak4xxx-adda.c if (err < 0) err 855 sound/i2c/other/ak4xxx-adda.c return err; err 191 sound/i2c/other/pt2258.c int i, err; err 206 sound/i2c/other/pt2258.c err = snd_ctl_add(pt->card, snd_ctl_new1(&knew, pt)); err 207 sound/i2c/other/pt2258.c if (err < 0) err 208 sound/i2c/other/pt2258.c return err; err 218 sound/i2c/other/pt2258.c err = snd_ctl_add(pt->card, snd_ctl_new1(&knew, pt)); err 219 sound/i2c/other/pt2258.c if (err < 0) err 220 sound/i2c/other/pt2258.c return err; err 111 sound/i2c/tea6330t.c int change, count, err; err 132 sound/i2c/tea6330t.c if ((err = snd_i2c_sendbytes(tea->device, bytes, count)) < 0) err 133 sound/i2c/tea6330t.c change = err; err 162 sound/i2c/tea6330t.c int change, err; err 177 sound/i2c/tea6330t.c if ((err = snd_i2c_sendbytes(tea->device, bytes, 3)) < 0) err 178 sound/i2c/tea6330t.c change = err; err 213 sound/i2c/tea6330t.c int change, err; err 224 sound/i2c/tea6330t.c if ((err = snd_i2c_sendbytes(tea->device, bytes, 2)) < 0) err 225 sound/i2c/tea6330t.c change = err; err 260 sound/i2c/tea6330t.c int change, err; err 271 sound/i2c/tea6330t.c if ((err = snd_i2c_sendbytes(tea->device, bytes, 2)) < 0) err 272 sound/i2c/tea6330t.c change = err; err 297 sound/i2c/tea6330t.c int err = -ENOMEM; err 304 sound/i2c/tea6330t.c if ((err = snd_i2c_device_create(bus, "TEA6330T", TEA6330T_ADDR, &device)) < 0) { err 306 sound/i2c/tea6330t.c return err; err 344 sound/i2c/tea6330t.c if ((err = snd_i2c_sendbytes(device, bytes, 7)) < 0) err 348 sound/i2c/tea6330t.c if ((err = snd_component_add(card, "TEA6330T")) < 0) err 355 sound/i2c/tea6330t.c if ((err = snd_ctl_add(card, snd_ctl_new1(knew, tea))) < 0) err 365 sound/i2c/tea6330t.c return err; err 107 sound/isa/ad1816a/ad1816a.c int err; err 121 sound/isa/ad1816a/ad1816a.c err = pnp_activate_dev(pdev); err 122 sound/isa/ad1816a/ad1816a.c if (err < 0) { err 138 sound/isa/ad1816a/ad1816a.c err = pnp_activate_dev(pdev); err 139 sound/isa/ad1816a/ad1816a.c if (err < 0) { err 267 sound/isa/ad1816a/ad1816a.c int err; err 269 sound/isa/ad1816a/ad1816a.c err = pnp_register_card_driver(&ad1816a_pnpc_driver); err 270 sound/isa/ad1816a/ad1816a.c if (err) err 271 sound/isa/ad1816a/ad1816a.c return err; err 963 sound/isa/ad1816a/ad1816a_lib.c int err; err 973 sound/isa/ad1816a/ad1816a_lib.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_ad1816a_controls[idx], chip))) < 0) err 974 sound/isa/ad1816a/ad1816a_lib.c return err; err 99 sound/isa/als100.c int err; err 110 sound/isa/als100.c err = pnp_activate_dev(pdev); err 111 sound/isa/als100.c if (err < 0) { err 113 sound/isa/als100.c return err; err 122 sound/isa/als100.c err = pnp_activate_dev(pdev); err 123 sound/isa/als100.c if (err < 0) err 139 sound/isa/als100.c err = pnp_activate_dev(pdev); err 140 sound/isa/als100.c if (err < 0) err 305 sound/isa/als100.c int err; err 307 sound/isa/als100.c err = pnp_register_card_driver(&als100_pnpc_driver); err 308 sound/isa/als100.c if (err) err 309 sound/isa/als100.c return err; err 107 sound/isa/azt2320.c int err; err 117 sound/isa/azt2320.c err = pnp_activate_dev(pdev); err 118 sound/isa/azt2320.c if (err < 0) { err 120 sound/isa/azt2320.c return err; err 131 sound/isa/azt2320.c err = pnp_activate_dev(pdev); err 132 sound/isa/azt2320.c if (err < 0) err 332 sound/isa/azt2320.c int err; err 334 sound/isa/azt2320.c err = pnp_register_card_driver(&azt2320_pnpc_driver); err 335 sound/isa/azt2320.c if (err) err 336 sound/isa/azt2320.c return err; err 265 sound/isa/cmi8330.c int idx, err; err 281 sound/isa/cmi8330.c if ((err = snd_sbmixer_add_ctl_elem(chip, &cmi8330_sb_mixers[idx])) < 0) err 282 sound/isa/cmi8330.c return err; err 291 sound/isa/cmi8330.c int err; err 296 sound/isa/cmi8330.c err = snd_ctl_add(card, err 299 sound/isa/cmi8330.c if (err < 0) err 300 sound/isa/cmi8330.c return err; err 304 sound/isa/cmi8330.c if ((err = cmi8330_add_sb_mixers(acard->sb)) < 0) err 305 sound/isa/cmi8330.c return err; err 316 sound/isa/cmi8330.c int err; err 328 sound/isa/cmi8330.c err = pnp_activate_dev(pdev); err 329 sound/isa/cmi8330.c if (err < 0) { err 340 sound/isa/cmi8330.c err = pnp_activate_dev(pdev); err 341 sound/isa/cmi8330.c if (err < 0) { err 397 sound/isa/cmi8330.c int err; err 403 sound/isa/cmi8330.c if ((err = snd_pcm_new(card, "CMI8330", 0, 1, 1, &pcm)) < 0) err 404 sound/isa/cmi8330.c return err; err 489 sound/isa/cmi8330.c int i, err; err 492 sound/isa/cmi8330.c err = snd_wss_create(card, wssport[dev] + 4, -1, err 496 sound/isa/cmi8330.c if (err < 0) { err 498 sound/isa/cmi8330.c return err; err 505 sound/isa/cmi8330.c if ((err = snd_sbdsp_create(card, sbport[dev], err 512 sound/isa/cmi8330.c return err; err 516 sound/isa/cmi8330.c return err; err 524 sound/isa/cmi8330.c if ((err = snd_cmi8330_mixer(card, acard)) < 0) { err 526 sound/isa/cmi8330.c return err; err 529 sound/isa/cmi8330.c if ((err = snd_cmi8330_pcm(card, acard)) < 0) { err 531 sound/isa/cmi8330.c return err; err 565 sound/isa/cmi8330.c int err; err 571 sound/isa/cmi8330.c if ((err = snd_cmi8330_probe(card, dev)) < 0) { err 573 sound/isa/cmi8330.c return err; err 682 sound/isa/cmi8330.c int err; err 684 sound/isa/cmi8330.c err = isa_register_driver(&snd_cmi8330_driver, SNDRV_CARDS); err 686 sound/isa/cmi8330.c if (!err) err 689 sound/isa/cmi8330.c err = pnp_register_card_driver(&cmi8330_pnpc_driver); err 690 sound/isa/cmi8330.c if (!err) err 694 sound/isa/cmi8330.c err = 0; err 696 sound/isa/cmi8330.c return err; err 403 sound/isa/cs423x/cs4236.c int err; err 413 sound/isa/cs423x/cs4236.c err = snd_wss_create(card, port[dev], cport[dev], err 417 sound/isa/cs423x/cs4236.c if (err < 0) err 418 sound/isa/cs423x/cs4236.c return err; err 421 sound/isa/cs423x/cs4236.c err = snd_wss_pcm(chip, 0, &pcm); err 422 sound/isa/cs423x/cs4236.c if (err < 0) err 423 sound/isa/cs423x/cs4236.c return err; err 425 sound/isa/cs423x/cs4236.c err = snd_wss_mixer(chip); err 426 sound/isa/cs423x/cs4236.c if (err < 0) err 427 sound/isa/cs423x/cs4236.c return err; err 430 sound/isa/cs423x/cs4236.c err = snd_cs4236_create(card, err 434 sound/isa/cs423x/cs4236.c if (err < 0) err 435 sound/isa/cs423x/cs4236.c return err; err 438 sound/isa/cs423x/cs4236.c err = snd_cs4236_pcm(chip, 0, &pcm); err 439 sound/isa/cs423x/cs4236.c if (err < 0) err 440 sound/isa/cs423x/cs4236.c return err; err 442 sound/isa/cs423x/cs4236.c err = snd_cs4236_mixer(chip); err 443 sound/isa/cs423x/cs4236.c if (err < 0) err 444 sound/isa/cs423x/cs4236.c return err; err 456 sound/isa/cs423x/cs4236.c err = snd_wss_timer(chip, 0, NULL); err 457 sound/isa/cs423x/cs4236.c if (err < 0) err 458 sound/isa/cs423x/cs4236.c return err; err 466 sound/isa/cs423x/cs4236.c if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) err 467 sound/isa/cs423x/cs4236.c return err; err 513 sound/isa/cs423x/cs4236.c int err; err 519 sound/isa/cs423x/cs4236.c if ((err = snd_cs423x_probe(card, dev)) < 0) { err 521 sound/isa/cs423x/cs4236.c return err; err 585 sound/isa/cs423x/cs4236.c int err; err 600 sound/isa/cs423x/cs4236.c if ((err = snd_card_cs4232_pnp(dev, card->private_data, pdev)) < 0) { err 603 sound/isa/cs423x/cs4236.c return err; err 606 sound/isa/cs423x/cs4236.c if ((err = snd_cs423x_probe(card, dev)) < 0) { err 608 sound/isa/cs423x/cs4236.c return err; err 711 sound/isa/cs423x/cs4236.c int err; err 713 sound/isa/cs423x/cs4236.c err = isa_register_driver(&cs423x_isa_driver, SNDRV_CARDS); err 715 sound/isa/cs423x/cs4236.c if (!err) err 718 sound/isa/cs423x/cs4236.c err = pnp_register_driver(&cs4232_pnp_driver); err 719 sound/isa/cs423x/cs4236.c if (!err) err 722 sound/isa/cs423x/cs4236.c err = pnp_register_card_driver(&cs423x_pnpc_driver); err 723 sound/isa/cs423x/cs4236.c if (!err) err 727 sound/isa/cs423x/cs4236.c err = 0; err 730 sound/isa/cs423x/cs4236.c err = 0; err 732 sound/isa/cs423x/cs4236.c return err; err 283 sound/isa/cs423x/cs4236_lib.c int err; err 292 sound/isa/cs423x/cs4236_lib.c err = snd_wss_create(card, port, cport, err 294 sound/isa/cs423x/cs4236_lib.c if (err < 0) err 295 sound/isa/cs423x/cs4236_lib.c return err; err 368 sound/isa/cs423x/cs4236_lib.c int err; err 370 sound/isa/cs423x/cs4236_lib.c err = snd_wss_pcm(chip, device, &pcm); err 371 sound/isa/cs423x/cs4236_lib.c if (err < 0) err 372 sound/isa/cs423x/cs4236_lib.c return err; err 967 sound/isa/cs423x/cs4236_lib.c int err; err 978 sound/isa/cs423x/cs4236_lib.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_cs4235_controls[idx], chip))) < 0) err 979 sound/isa/cs423x/cs4236_lib.c return err; err 983 sound/isa/cs423x/cs4236_lib.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_cs4236_controls[idx], chip))) < 0) err 984 sound/isa/cs423x/cs4236_lib.c return err; err 1006 sound/isa/cs423x/cs4236_lib.c if ((err = snd_ctl_add(card, snd_ctl_new1(kcontrol, chip))) < 0) err 1007 sound/isa/cs423x/cs4236_lib.c return err; err 1012 sound/isa/cs423x/cs4236_lib.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_cs4236_iec958_controls[idx], chip))) < 0) err 1013 sound/isa/cs423x/cs4236_lib.c return err; err 85 sound/isa/dt019x.c int err; err 96 sound/isa/dt019x.c err = pnp_activate_dev(pdev); err 97 sound/isa/dt019x.c if (err < 0) { err 99 sound/isa/dt019x.c return err; err 110 sound/isa/dt019x.c err = pnp_activate_dev(pdev); err 111 sound/isa/dt019x.c if (err < 0) { err 128 sound/isa/dt019x.c err = pnp_activate_dev(pdev); err 129 sound/isa/dt019x.c if (err < 0) { err 298 sound/isa/dt019x.c int err; err 300 sound/isa/dt019x.c err = pnp_register_card_driver(&dt019x_pnpc_driver); err 301 sound/isa/dt019x.c if (err) err 302 sound/isa/dt019x.c return err; err 647 sound/isa/es1688/es1688_lib.c int err; err 685 sound/isa/es1688/es1688_lib.c if ((err = snd_es1688_probe(chip)) < 0) { err 687 sound/isa/es1688/es1688_lib.c return err; err 689 sound/isa/es1688/es1688_lib.c if ((err = snd_es1688_init(chip, 1)) < 0) { err 691 sound/isa/es1688/es1688_lib.c return err; err 695 sound/isa/es1688/es1688_lib.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 697 sound/isa/es1688/es1688_lib.c return err; err 729 sound/isa/es1688/es1688_lib.c int err; err 731 sound/isa/es1688/es1688_lib.c if ((err = snd_pcm_new(chip->card, "ESx688", device, 1, 1, &pcm)) < 0) err 732 sound/isa/es1688/es1688_lib.c return err; err 1009 sound/isa/es1688/es1688_lib.c int err; err 1020 sound/isa/es1688/es1688_lib.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es1688_controls[idx], chip))) < 0) err 1021 sound/isa/es1688/es1688_lib.c return err; err 462 sound/isa/es18xx.c int shift, err; err 481 sound/isa/es18xx.c if ((err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params))) < 0) err 482 sound/isa/es18xx.c return err; err 573 sound/isa/es18xx.c int shift, err; err 587 sound/isa/es18xx.c if ((err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params))) < 0) err 588 sound/isa/es18xx.c return err; err 1698 sound/isa/es18xx.c int err; err 1704 sound/isa/es18xx.c err = snd_pcm_new(chip->card, str, device, 2, 1, &pcm); err 1706 sound/isa/es18xx.c err = snd_pcm_new(chip->card, str, device, 1, 1, &pcm); err 1707 sound/isa/es18xx.c if (err < 0) err 1708 sound/isa/es18xx.c return err; err 1802 sound/isa/es18xx.c int err; err 1852 sound/isa/es18xx.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 1854 sound/isa/es18xx.c return err; err 1863 sound/isa/es18xx.c int err; err 1885 sound/isa/es18xx.c if ((err = snd_ctl_add(card, kctl)) < 0) err 1886 sound/isa/es18xx.c return err; err 1890 sound/isa/es18xx.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_pcm2_controls[idx], chip))) < 0) err 1891 sound/isa/es18xx.c return err; err 1895 sound/isa/es18xx.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_pcm1_controls[idx], chip))) < 0) err 1896 sound/isa/es18xx.c return err; err 1902 sound/isa/es18xx.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_recmix_controls[idx], chip))) < 0) err 1903 sound/isa/es18xx.c return err; err 1908 sound/isa/es18xx.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_micpre1_control, chip))) < 0) err 1909 sound/isa/es18xx.c return err; err 1913 sound/isa/es18xx.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_micpre2_control, chip))) < 0) err 1914 sound/isa/es18xx.c return err; err 1919 sound/isa/es18xx.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_spatializer_controls[idx], chip))) < 0) err 1920 sound/isa/es18xx.c return err; err 1932 sound/isa/es18xx.c if ((err = snd_ctl_add(card, kctl)) < 0) err 1933 sound/isa/es18xx.c return err; err 1940 sound/isa/es18xx.c err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_opt_speaker, err 1942 sound/isa/es18xx.c if (err < 0) err 1943 sound/isa/es18xx.c return err; err 1947 sound/isa/es18xx.c err = snd_ctl_add(card, err 1950 sound/isa/es18xx.c if (err < 0) err 1951 sound/isa/es18xx.c return err; err 1954 sound/isa/es18xx.c err = snd_ctl_add(card, snd_ctl_new1(&snd_es18xx_opt_1878, err 1956 sound/isa/es18xx.c if (err < 0) err 1957 sound/isa/es18xx.c return err; err 1960 sound/isa/es18xx.c err = snd_ctl_add(card, err 1963 sound/isa/es18xx.c if (err < 0) err 1964 sound/isa/es18xx.c return err; err 2139 sound/isa/es18xx.c int err; err 2141 sound/isa/es18xx.c if ((err = snd_es18xx_new_device(card, err 2147 sound/isa/es18xx.c return err; err 2164 sound/isa/es18xx.c if ((err = snd_es18xx_pcm(chip, 0, NULL)) < 0) err 2165 sound/isa/es18xx.c return err; err 2167 sound/isa/es18xx.c if ((err = snd_es18xx_mixer(chip)) < 0) err 2168 sound/isa/es18xx.c return err; err 2174 sound/isa/es18xx.c if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) err 2175 sound/isa/es18xx.c return err; err 2180 sound/isa/es18xx.c if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_ES18XX, err 2184 sound/isa/es18xx.c return err; err 2198 sound/isa/es18xx.c int err; err 2204 sound/isa/es18xx.c if ((err = snd_audiodrive_probe(card, dev)) < 0) { err 2206 sound/isa/es18xx.c return err; err 2214 sound/isa/es18xx.c int err; err 2244 sound/isa/es18xx.c err = snd_es18xx_isa_probe1(dev, pdev); err 2245 sound/isa/es18xx.c if (! err) err 2248 sound/isa/es18xx.c return err; err 2294 sound/isa/es18xx.c int err; err 2309 sound/isa/es18xx.c if ((err = snd_audiodrive_pnp(dev, card->private_data, pdev)) < 0) { err 2311 sound/isa/es18xx.c return err; err 2314 sound/isa/es18xx.c if ((err = snd_audiodrive_probe(card, dev)) < 0) { err 2316 sound/isa/es18xx.c return err; err 2418 sound/isa/es18xx.c int err; err 2420 sound/isa/es18xx.c err = isa_register_driver(&snd_es18xx_isa_driver, SNDRV_CARDS); err 2422 sound/isa/es18xx.c if (!err) err 2425 sound/isa/es18xx.c err = pnp_register_driver(&es18xx_pnp_driver); err 2426 sound/isa/es18xx.c if (!err) err 2429 sound/isa/es18xx.c err = pnp_register_card_driver(&es18xx_pnpc_driver); err 2430 sound/isa/es18xx.c if (!err) err 2434 sound/isa/es18xx.c err = 0; err 2436 sound/isa/es18xx.c return err; err 35 sound/isa/gus/gus_instr.c int err; err 48 sound/isa/gus/gus_instr.c err = snd_gus_dram_write(gus, data, err 50 sound/isa/gus/gus_instr.c if (err < 0) { err 54 sound/isa/gus/gus_instr.c return err; err 88 sound/isa/gus/gus_instr.c int err; err 99 sound/isa/gus/gus_instr.c err = snd_gus_dram_write(gus, data, err 101 sound/isa/gus/gus_instr.c if (err < 0) { err 105 sound/isa/gus/gus_instr.c return err; err 136 sound/isa/gus/gus_instr.c int err; err 147 sound/isa/gus/gus_instr.c err = snd_gus_dram_write(gus, data, block->ptr, instr->size); err 148 sound/isa/gus/gus_instr.c if (err < 0) { err 152 sound/isa/gus/gus_instr.c return err; err 141 sound/isa/gus/gus_main.c int err; err 222 sound/isa/gus/gus_main.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, gus, &ops)) < 0) { err 224 sound/isa/gus/gus_main.c return err; err 408 sound/isa/gus/gus_main.c int err; err 411 sound/isa/gus/gus_main.c if ((err = snd_gus_check_version(gus)) < 0) { err 413 sound/isa/gus/gus_main.c return err; err 415 sound/isa/gus/gus_main.c if ((err = snd_gus_detect_memory(gus)) < 0) err 416 sound/isa/gus/gus_main.c return err; err 418 sound/isa/gus/gus_main.c if ((err = snd_gus_init_dma_irq(gus, 1)) < 0) err 419 sound/isa/gus/gus_main.c return err; err 41 sound/isa/gus/gus_mem_proc.c int err; err 47 sound/isa/gus/gus_mem_proc.c if ((err = snd_gus_dram_read(gus, buf, pos, size, priv->rom)) < 0) err 48 sound/isa/gus/gus_mem_proc.c return err; err 162 sound/isa/gus/gus_mixer.c int err; err 183 sound/isa/gus/gus_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_gf1_controls[idx], gus))) < 0) err 184 sound/isa/gus/gus_mixer.c return err; err 188 sound/isa/gus/gus_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_ics_controls[idx], gus))) < 0) err 189 sound/isa/gus/gus_mixer.c return err; err 365 sound/isa/gus/gus_pcm.c int err, w16, invert; err 369 sound/isa/gus/gus_pcm.c if ((err = snd_gf1_pcm_poke_block(gus, runtime->dma_area + bpos, pcmp->memory + bpos, len, w16, invert)) < 0) err 370 sound/isa/gus/gus_pcm.c return err; err 395 sound/isa/gus/gus_pcm.c int err, w16, invert; err 399 sound/isa/gus/gus_pcm.c if ((err = snd_gf1_pcm_poke_block(gus, runtime->dma_area + bpos, pcmp->memory + bpos, len, w16, invert)) < 0) err 400 sound/isa/gus/gus_pcm.c return err; err 411 sound/isa/gus/gus_pcm.c int err; err 413 sound/isa/gus/gus_pcm.c if ((err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params))) < 0) err 414 sound/isa/gus/gus_pcm.c return err; err 415 sound/isa/gus/gus_pcm.c if (err > 0) { /* change */ err 669 sound/isa/gus/gus_pcm.c int err; err 685 sound/isa/gus/gus_pcm.c if ((err = snd_gf1_dma_init(gus)) < 0) err 686 sound/isa/gus/gus_pcm.c return err; err 844 sound/isa/gus/gus_pcm.c int capture, err; err 850 sound/isa/gus/gus_pcm.c err = snd_pcm_new(card, err 856 sound/isa/gus/gus_pcm.c if (err < 0) err 857 sound/isa/gus/gus_pcm.c return err; err 888 sound/isa/gus/gus_pcm.c if ((err = snd_ctl_add(card, kctl)) < 0) err 889 sound/isa/gus/gus_pcm.c return err; err 241 sound/isa/gus/gus_uart.c int err; err 245 sound/isa/gus/gus_uart.c if ((err = snd_rawmidi_new(gus->card, "GF1", device, 1, 1, &rmidi)) < 0) err 246 sound/isa/gus/gus_uart.c return err; err 255 sound/isa/gus/gus_uart.c return err; err 147 sound/isa/gus/gusmax.c int err; err 155 sound/isa/gus/gusmax.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 156 sound/isa/gus/gusmax.c return err; err 159 sound/isa/gus/gusmax.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 160 sound/isa/gus/gusmax.c return err; err 164 sound/isa/gus/gusmax.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 165 sound/isa/gus/gusmax.c return err; err 168 sound/isa/gus/gusmax.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 169 sound/isa/gus/gusmax.c return err; err 211 sound/isa/gus/gusmax.c int xirq, xdma1, xdma2, err; err 230 sound/isa/gus/gusmax.c err = -EBUSY; err 238 sound/isa/gus/gusmax.c err = -EBUSY; err 246 sound/isa/gus/gusmax.c err = -EBUSY; err 252 sound/isa/gus/gusmax.c err = snd_gus_create(card, err 264 sound/isa/gus/gusmax.c err = snd_gus_create(card, err 270 sound/isa/gus/gusmax.c if (err >= 0) { err 276 sound/isa/gus/gusmax.c if (err < 0) err 279 sound/isa/gus/gusmax.c if ((err = snd_gusmax_detect(gus)) < 0) err 285 sound/isa/gus/gusmax.c if ((err = snd_gus_initialize(gus)) < 0) err 290 sound/isa/gus/gusmax.c err = -ENODEV; err 296 sound/isa/gus/gusmax.c err = -EBUSY; err 301 sound/isa/gus/gusmax.c err = snd_wss_create(card, err 309 sound/isa/gus/gusmax.c if (err < 0) err 312 sound/isa/gus/gusmax.c err = snd_wss_pcm(wss, 0, NULL); err 313 sound/isa/gus/gusmax.c if (err < 0) err 316 sound/isa/gus/gusmax.c err = snd_wss_mixer(wss); err 317 sound/isa/gus/gusmax.c if (err < 0) err 320 sound/isa/gus/gusmax.c err = snd_wss_timer(wss, 2, NULL); err 321 sound/isa/gus/gusmax.c if (err < 0) err 325 sound/isa/gus/gusmax.c if ((err = snd_gf1_pcm_new(gus, 1, 1, NULL)) < 0) err 328 sound/isa/gus/gusmax.c err = snd_gusmax_mixer(wss); err 329 sound/isa/gus/gusmax.c if (err < 0) err 332 sound/isa/gus/gusmax.c err = snd_gf1_rawmidi_new(gus, 0, NULL); err 333 sound/isa/gus/gusmax.c if (err < 0) err 342 sound/isa/gus/gusmax.c err = snd_card_register(card); err 343 sound/isa/gus/gusmax.c if (err < 0) err 354 sound/isa/gus/gusmax.c return err; err 219 sound/isa/gus/interwave.c int err; err 242 sound/isa/gus/interwave.c if ((err = snd_i2c_bus_create(card, name, NULL, &bus)) < 0) err 243 sound/isa/gus/interwave.c return err; err 246 sound/isa/gus/interwave.c if ((err = snd_tea6330t_detect(bus, 0)) < 0) err 247 sound/isa/gus/interwave.c return err; err 516 sound/isa/gus/interwave.c int err; err 524 sound/isa/gus/interwave.c if ((err = snd_ctl_remove_id(card, &id1)) < 0) err 525 sound/isa/gus/interwave.c return err; err 527 sound/isa/gus/interwave.c if ((err = snd_ctl_remove_id(card, &id1)) < 0) err 528 sound/isa/gus/interwave.c return err; err 532 sound/isa/gus/interwave.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_interwave_controls[idx], chip))) < 0) err 533 sound/isa/gus/interwave.c return err; err 541 sound/isa/gus/interwave.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 542 sound/isa/gus/interwave.c return err; err 545 sound/isa/gus/interwave.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 546 sound/isa/gus/interwave.c return err; err 550 sound/isa/gus/interwave.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 551 sound/isa/gus/interwave.c return err; err 554 sound/isa/gus/interwave.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 555 sound/isa/gus/interwave.c return err; err 566 sound/isa/gus/interwave.c int err; err 580 sound/isa/gus/interwave.c err = pnp_activate_dev(pdev); err 581 sound/isa/gus/interwave.c if (err < 0) { err 583 sound/isa/gus/interwave.c return err; err 604 sound/isa/gus/interwave.c err = pnp_activate_dev(pdev); err 605 sound/isa/gus/interwave.c if (err < 0) { err 607 sound/isa/gus/interwave.c return err; err 656 sound/isa/gus/interwave.c int err; err 662 sound/isa/gus/interwave.c if ((err = snd_gus_create(card, err 667 sound/isa/gus/interwave.c return err; err 669 sound/isa/gus/interwave.c if ((err = snd_interwave_detect(iwcard, gus, dev err 674 sound/isa/gus/interwave.c return err; err 681 sound/isa/gus/interwave.c if ((err = snd_gus_initialize(gus)) < 0) err 682 sound/isa/gus/interwave.c return err; err 691 sound/isa/gus/interwave.c err = snd_wss_create(card, err 699 sound/isa/gus/interwave.c if (err < 0) err 700 sound/isa/gus/interwave.c return err; err 702 sound/isa/gus/interwave.c err = snd_wss_pcm(wss, 0, &pcm); err 703 sound/isa/gus/interwave.c if (err < 0) err 704 sound/isa/gus/interwave.c return err; err 709 sound/isa/gus/interwave.c err = snd_wss_timer(wss, 2, NULL); err 710 sound/isa/gus/interwave.c if (err < 0) err 711 sound/isa/gus/interwave.c return err; err 713 sound/isa/gus/interwave.c err = snd_wss_mixer(wss); err 714 sound/isa/gus/interwave.c if (err < 0) err 715 sound/isa/gus/interwave.c return err; err 718 sound/isa/gus/interwave.c err = snd_gf1_pcm_new(gus, 1, 1, NULL); err 719 sound/isa/gus/interwave.c if (err < 0) err 720 sound/isa/gus/interwave.c return err; err 722 sound/isa/gus/interwave.c err = snd_interwave_mixer(wss); err 723 sound/isa/gus/interwave.c if (err < 0) err 724 sound/isa/gus/interwave.c return err; err 735 sound/isa/gus/interwave.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 736 sound/isa/gus/interwave.c return err; err 739 sound/isa/gus/interwave.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 740 sound/isa/gus/interwave.c return err; err 741 sound/isa/gus/interwave.c if ((err = snd_tea6330t_update_mixer(card, i2c_bus, 0, 1)) < 0) err 742 sound/isa/gus/interwave.c return err; err 747 sound/isa/gus/interwave.c if ((err = snd_gf1_rawmidi_new(gus, 0, NULL)) < 0) err 748 sound/isa/gus/interwave.c return err; err 767 sound/isa/gus/interwave.c err = snd_card_register(card); err 768 sound/isa/gus/interwave.c if (err < 0) err 769 sound/isa/gus/interwave.c return err; err 779 sound/isa/gus/interwave.c int err; err 786 sound/isa/gus/interwave.c if ((err = snd_interwave_probe(card, dev)) < 0) { err 788 sound/isa/gus/interwave.c return err; err 809 sound/isa/gus/interwave.c int err; err 839 sound/isa/gus/interwave.c err = snd_interwave_isa_probe1(dev, pdev); err 840 sound/isa/gus/interwave.c if (! err) err 843 sound/isa/gus/interwave.c return err; err 916 sound/isa/gus/interwave.c int err; err 918 sound/isa/gus/interwave.c err = isa_register_driver(&snd_interwave_driver, SNDRV_CARDS); err 920 sound/isa/gus/interwave.c if (!err) err 923 sound/isa/gus/interwave.c err = pnp_register_card_driver(&interwave_pnpc_driver); err 924 sound/isa/gus/interwave.c if (!err) err 928 sound/isa/gus/interwave.c err = 0; err 930 sound/isa/gus/interwave.c return err; err 501 sound/isa/opl3sa2.c int err; err 509 sound/isa/opl3sa2.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { err 511 sound/isa/opl3sa2.c return err; err 515 sound/isa/opl3sa2.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { err 517 sound/isa/opl3sa2.c return err; err 522 sound/isa/opl3sa2.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { err 524 sound/isa/opl3sa2.c return err; err 528 sound/isa/opl3sa2.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { err 530 sound/isa/opl3sa2.c return err; err 534 sound/isa/opl3sa2.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_opl3sa2_controls[idx], chip))) < 0) err 535 sound/isa/opl3sa2.c return err; err 543 sound/isa/opl3sa2.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_opl3sa2_tone_controls[idx], chip))) < 0) err 544 sound/isa/opl3sa2.c return err; err 643 sound/isa/opl3sa2.c int err; err 654 sound/isa/opl3sa2.c err = snd_opl3sa2_detect(card); err 655 sound/isa/opl3sa2.c if (err < 0) err 656 sound/isa/opl3sa2.c return err; err 657 sound/isa/opl3sa2.c err = request_irq(xirq, snd_opl3sa2_interrupt, IRQF_DISABLED, err 659 sound/isa/opl3sa2.c if (err) { err 664 sound/isa/opl3sa2.c err = snd_wss_create(card, err 668 sound/isa/opl3sa2.c if (err < 0) { err 670 sound/isa/opl3sa2.c return err; err 673 sound/isa/opl3sa2.c err = snd_wss_pcm(wss, 0, NULL); err 674 sound/isa/opl3sa2.c if (err < 0) err 675 sound/isa/opl3sa2.c return err; err 676 sound/isa/opl3sa2.c err = snd_wss_mixer(wss); err 677 sound/isa/opl3sa2.c if (err < 0) err 678 sound/isa/opl3sa2.c return err; err 679 sound/isa/opl3sa2.c err = snd_opl3sa2_mixer(card); err 680 sound/isa/opl3sa2.c if (err < 0) err 681 sound/isa/opl3sa2.c return err; err 682 sound/isa/opl3sa2.c err = snd_wss_timer(wss, 0, NULL); err 683 sound/isa/opl3sa2.c if (err < 0) err 684 sound/isa/opl3sa2.c return err; err 686 sound/isa/opl3sa2.c if ((err = snd_opl3_create(card, fm_port[dev], err 689 sound/isa/opl3sa2.c return err; err 690 sound/isa/opl3sa2.c if ((err = snd_opl3_timer_new(opl3, 1, 2)) < 0) err 691 sound/isa/opl3sa2.c return err; err 692 sound/isa/opl3sa2.c if ((err = snd_opl3_hwdep_new(opl3, 0, 1, &chip->synth)) < 0) err 693 sound/isa/opl3sa2.c return err; err 696 sound/isa/opl3sa2.c if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_OPL3SA2, err 699 sound/isa/opl3sa2.c return err; err 714 sound/isa/opl3sa2.c int err; err 729 sound/isa/opl3sa2.c if ((err = snd_opl3sa2_pnp(dev, card->private_data, pdev)) < 0) { err 731 sound/isa/opl3sa2.c return err; err 734 sound/isa/opl3sa2.c if ((err = snd_opl3sa2_probe(card, dev)) < 0) { err 736 sound/isa/opl3sa2.c return err; err 776 sound/isa/opl3sa2.c int err; err 795 sound/isa/opl3sa2.c if ((err = snd_opl3sa2_pnp(dev, card->private_data, pdev)) < 0) { err 797 sound/isa/opl3sa2.c return err; err 800 sound/isa/opl3sa2.c if ((err = snd_opl3sa2_probe(card, dev)) < 0) { err 802 sound/isa/opl3sa2.c return err; err 871 sound/isa/opl3sa2.c int err; err 877 sound/isa/opl3sa2.c if ((err = snd_opl3sa2_probe(card, dev)) < 0) { err 879 sound/isa/opl3sa2.c return err; err 923 sound/isa/opl3sa2.c int err; err 925 sound/isa/opl3sa2.c err = isa_register_driver(&snd_opl3sa2_isa_driver, SNDRV_CARDS); err 927 sound/isa/opl3sa2.c if (!err) err 930 sound/isa/opl3sa2.c err = pnp_register_driver(&opl3sa2_pnp_driver); err 931 sound/isa/opl3sa2.c if (!err) err 934 sound/isa/opl3sa2.c err = pnp_register_card_driver(&opl3sa2_pnpc_driver); err 935 sound/isa/opl3sa2.c if (!err) err 939 sound/isa/opl3sa2.c err = 0; err 941 sound/isa/opl3sa2.c return err; err 676 sound/isa/opti9xx/miro.c int err; err 696 sound/isa/opti9xx/miro.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_controls[idx], miro))) < 0) err 697 sound/isa/opti9xx/miro.c return err; err 702 sound/isa/opti9xx/miro.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_line_control[0], miro))) < 0) err 703 sound/isa/opti9xx/miro.c return err; err 704 sound/isa/opti9xx/miro.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_amp_control[0], miro))) < 0) err 705 sound/isa/opti9xx/miro.c return err; err 710 sound/isa/opti9xx/miro.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_preamp_control[0], miro))) < 0) err 711 sound/isa/opti9xx/miro.c return err; err 713 sound/isa/opti9xx/miro.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_capture_control[0], miro))) < 0) err 714 sound/isa/opti9xx/miro.c return err; err 719 sound/isa/opti9xx/miro.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_radio_control[0], miro))) < 0) err 720 sound/isa/opti9xx/miro.c return err; err 722 sound/isa/opti9xx/miro.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_miro_eq_controls[idx], miro))) < 0) err 723 sound/isa/opti9xx/miro.c return err; err 1128 sound/isa/opti9xx/miro.c int i, err; err 1133 sound/isa/opti9xx/miro.c if ((err = snd_miro_init(chip, i)) < 0) err 1134 sound/isa/opti9xx/miro.c return err; err 577 sound/isa/opti9xx/opti92x-ad1848.c int i, err; err 583 sound/isa/opti9xx/opti92x-ad1848.c if ((err = snd_opti9xx_init(chip, i)) < 0) err 584 sound/isa/opti9xx/opti92x-ad1848.c return err; err 603 sound/isa/opti9xx/opti92x-ad1848.c if ((err = snd_opti9xx_init(chip, i)) < 0) err 604 sound/isa/opti9xx/opti92x-ad1848.c return err; err 634 sound/isa/opti9xx/opti92x-ad1848.c int err; err 644 sound/isa/opti9xx/opti92x-ad1848.c err = pnp_activate_dev(pdev); err 645 sound/isa/opti9xx/opti92x-ad1848.c if (err < 0) { err 646 sound/isa/opti9xx/opti92x-ad1848.c snd_printk(KERN_ERR "AUDIO pnp configure failure: %d\n", err); err 647 sound/isa/opti9xx/opti92x-ad1848.c return err; err 666 sound/isa/opti9xx/opti92x-ad1848.c err = pnp_activate_dev(pdev); err 667 sound/isa/opti9xx/opti92x-ad1848.c if (err < 0) { err 1024 sound/isa/sb/emu8000.c int i, err = 0; err 1033 sound/isa/sb/emu8000.c if ((err = snd_ctl_add(card, emu->controls[i] = snd_ctl_new1(mixer_defs[i], emu))) < 0) err 1045 sound/isa/sb/emu8000.c return err; err 1078 sound/isa/sb/emu8000.c int err; err 1120 sound/isa/sb/emu8000.c if ((err = snd_emu8000_create_mixer(card, hw)) < 0) { err 1122 sound/isa/sb/emu8000.c return err; err 1125 sound/isa/sb/emu8000.c if ((err = snd_device_new(card, SNDRV_DEV_CODEC, hw, &ops)) < 0) { err 1127 sound/isa/sb/emu8000.c return err; err 455 sound/isa/sb/emu8000_pcm.c int i, err; err 458 sound/isa/sb/emu8000_pcm.c err = emu8k_transfer_block(emu, pos + rec->loop_start[i], buf, count); err 459 sound/isa/sb/emu8000_pcm.c if (err < 0) err 460 sound/isa/sb/emu8000_pcm.c return err; err 493 sound/isa/sb/emu8000_pcm.c int err; err 494 sound/isa/sb/emu8000_pcm.c err = emu8k_silence_block(emu, pos + rec->loop_start[0], count / 2); err 495 sound/isa/sb/emu8000_pcm.c if (err < 0) err 496 sound/isa/sb/emu8000_pcm.c return err; err 632 sound/isa/sb/emu8000_pcm.c int err, i, ch; err 635 sound/isa/sb/emu8000_pcm.c if ((err = emu8k_open_dram_for_pcm(rec->emu, rec->voices)) != 0) err 636 sound/isa/sb/emu8000_pcm.c return err; err 689 sound/isa/sb/emu8000_pcm.c int err; err 691 sound/isa/sb/emu8000_pcm.c if ((err = snd_pcm_new(card, "Emu8000 PCM", index, 1, 0, &pcm)) < 0) err 692 sound/isa/sb/emu8000_pcm.c return err; err 82 sound/isa/sb/es968.c int err; err 90 sound/isa/sb/es968.c err = pnp_activate_dev(pdev); err 91 sound/isa/sb/es968.c if (err < 0) { err 93 sound/isa/sb/es968.c return err; err 227 sound/isa/sb/es968.c int err = pnp_register_card_driver(&es968_pnpc_driver); err 228 sound/isa/sb/es968.c if (err) err 229 sound/isa/sb/es968.c return err; err 259 sound/isa/sb/sb16.c int err; err 271 sound/isa/sb/sb16.c err = pnp_activate_dev(pdev); err 272 sound/isa/sb/sb16.c if (err < 0) { err 274 sound/isa/sb/sb16.c return err; err 290 sound/isa/sb/sb16.c err = pnp_activate_dev(pdev); err 291 sound/isa/sb/sb16.c if (err < 0) { err 348 sound/isa/sb/sb16.c int err; err 354 sound/isa/sb/sb16.c if ((err = snd_sbdsp_create(card, err 362 sound/isa/sb/sb16.c return err; err 370 sound/isa/sb/sb16.c if (! is_isapnp_selected(dev) && (err = snd_sb16dsp_configure(chip)) < 0) err 371 sound/isa/sb/sb16.c return err; err 373 sound/isa/sb/sb16.c if ((err = snd_sb16dsp_pcm(chip, 0, &chip->pcm)) < 0) err 374 sound/isa/sb/sb16.c return err; err 393 sound/isa/sb/sb16.c if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_SB, err 396 sound/isa/sb/sb16.c return err; err 418 sound/isa/sb/sb16.c if ((err = snd_opl3_hwdep_new(opl3, 0, seqdev, &synth)) < 0) err 419 sound/isa/sb/sb16.c return err; err 423 sound/isa/sb/sb16.c if ((err = snd_sbmixer_new(chip)) < 0) err 424 sound/isa/sb/sb16.c return err; err 440 sound/isa/sb/sb16.c if ((err = snd_emu8000_new(card, 1, awe_port[dev], err 444 sound/isa/sb/sb16.c return err; err 456 sound/isa/sb/sb16.c if ((err = snd_card_register(card)) < 0) err 457 sound/isa/sb/sb16.c return err; err 490 sound/isa/sb/sb16.c int err; err 507 sound/isa/sb/sb16.c if ((err = snd_sb16_probe(card, dev)) < 0) { err 509 sound/isa/sb/sb16.c return err; err 523 sound/isa/sb/sb16.c int err; err 554 sound/isa/sb/sb16.c err = snd_sb16_isa_probe1(dev, pdev); err 555 sound/isa/sb/sb16.c if (! err) err 558 sound/isa/sb/sb16.c return err; err 667 sound/isa/sb/sb16.c int err; err 669 sound/isa/sb/sb16.c err = isa_register_driver(&snd_sb16_isa_driver, SNDRV_CARDS); err 671 sound/isa/sb/sb16.c if (!err) err 674 sound/isa/sb/sb16.c err = pnp_register_card_driver(&sb16_pnpc_driver); err 675 sound/isa/sb/sb16.c if (!err) err 679 sound/isa/sb/sb16.c err = 0; err 681 sound/isa/sb/sb16.c return err; err 119 sound/isa/sb/sb16_csp.c int err; err 128 sound/isa/sb/sb16_csp.c if ((err = snd_hwdep_new(chip->card, "SB16-CSP", device, &hw)) < 0) err 129 sound/isa/sb/sb16_csp.c return err; err 199 sound/isa/sb/sb16_csp.c int err; err 222 sound/isa/sb/sb16_csp.c err = -EFAULT; err 224 sound/isa/sb/sb16_csp.c err = 0; err 229 sound/isa/sb/sb16_csp.c err = (p->running & SNDRV_SB_CSP_ST_RUNNING ? err 233 sound/isa/sb/sb16_csp.c err = (p->running & SNDRV_SB_CSP_ST_RUNNING ? err 240 sound/isa/sb/sb16_csp.c err = -EFAULT; err 242 sound/isa/sb/sb16_csp.c err = snd_sb_csp_start(p, start_info.sample_width, start_info.channels); err 245 sound/isa/sb/sb16_csp.c err = snd_sb_csp_stop(p); err 248 sound/isa/sb/sb16_csp.c err = snd_sb_csp_pause(p); err 251 sound/isa/sb/sb16_csp.c err = snd_sb_csp_restart(p); err 254 sound/isa/sb/sb16_csp.c err = -ENOTTY; err 258 sound/isa/sb/sb16_csp.c return err; err 319 sound/isa/sb/sb16_csp.c int err; err 382 sound/isa/sb/sb16_csp.c err = snd_sb_csp_load_user(p, data_ptr, le32_to_cpu(code_h.len), err 384 sound/isa/sb/sb16_csp.c if (err) err 385 sound/isa/sb/sb16_csp.c return err; err 397 sound/isa/sb/sb16_csp.c err = snd_sb_csp_load_user(p, data_ptr, err 399 sound/isa/sb/sb16_csp.c if (err) err 400 sound/isa/sb/sb16_csp.c return err; err 622 sound/isa/sb/sb16_csp.c int err; err 669 sound/isa/sb/sb16_csp.c err = (set_codec_parameter(p->chip, 0xaa, 0x00) || err 672 sound/isa/sb/sb16_csp.c if (err) err 687 sound/isa/sb/sb16_csp.c int err = -ENOMEM; err 691 sound/isa/sb/sb16_csp.c err = -EFAULT; err 693 sound/isa/sb/sb16_csp.c err = snd_sb_csp_load(p, kbuf, size, load_flags); err 696 sound/isa/sb/sb16_csp.c return err; err 713 sound/isa/sb/sb16_csp.c int err = request_firmware(&program, names[index], err 715 sound/isa/sb/sb16_csp.c if (err < 0) err 716 sound/isa/sb/sb16_csp.c return err; err 729 sound/isa/sb/sb16_csp.c int err = 0; err 741 sound/isa/sb/sb16_csp.c err = snd_sb_csp_firmware_load(p, CSP_PROGRAM_MULAW, 0); err 746 sound/isa/sb/sb16_csp.c err = snd_sb_csp_firmware_load(p, CSP_PROGRAM_ALAW, 0); err 751 sound/isa/sb/sb16_csp.c err = snd_sb_csp_firmware_load(p, CSP_PROGRAM_ADPCM_INIT, err 753 sound/isa/sb/sb16_csp.c if (err) err 756 sound/isa/sb/sb16_csp.c err = snd_sb_csp_firmware_load err 760 sound/isa/sb/sb16_csp.c err = snd_sb_csp_firmware_load err 777 sound/isa/sb/sb16_csp.c if (err) { err 783 sound/isa/sb/sb16_csp.c return (err); err 1048 sound/isa/sb/sb16_csp.c int err; err 1059 sound/isa/sb/sb16_csp.c if ((err = snd_ctl_add(card, p->qsound_switch = snd_ctl_new1(&snd_sb_qsound_switch, p))) < 0) err 1061 sound/isa/sb/sb16_csp.c if ((err = snd_ctl_add(card, p->qsound_space = snd_ctl_new1(&snd_sb_qsound_space, p))) < 0) err 1068 sound/isa/sb/sb16_csp.c return err; err 1100 sound/isa/sb/sb16_csp.c int err = -ENXIO; err 1111 sound/isa/sb/sb16_csp.c err = 0; err 1115 sound/isa/sb/sb16_csp.c return err; err 872 sound/isa/sb/sb16_main.c int err; err 876 sound/isa/sb/sb16_main.c if ((err = snd_pcm_new(card, "SB16 DSP", device, 1, 1, &pcm)) < 0) err 877 sound/isa/sb/sb16_main.c return err; err 104 sound/isa/sb/sb8.c int err; err 117 sound/isa/sb/sb8.c if ((err = snd_sbdsp_create(card, port[dev], irq[dev], err 131 sound/isa/sb/sb8.c err = snd_sbdsp_create(card, possible_ports[i], err 138 sound/isa/sb/sb8.c if (err >= 0) { err 155 sound/isa/sb/sb8.c err = -ENODEV; err 159 sound/isa/sb/sb8.c if ((err = snd_sb8dsp_pcm(chip, 0, NULL)) < 0) err 162 sound/isa/sb/sb8.c if ((err = snd_sbmixer_new(chip)) < 0) err 166 sound/isa/sb/sb8.c if ((err = snd_opl3_create(card, chip->port + 8, 0, err 172 sound/isa/sb/sb8.c if ((err = snd_opl3_create(card, chip->port, chip->port + 2, err 179 sound/isa/sb/sb8.c if (err >= 0) { err 180 sound/isa/sb/sb8.c if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) err 184 sound/isa/sb/sb8.c if ((err = snd_sb8dsp_midi(chip, 0, NULL)) < 0) err 196 sound/isa/sb/sb8.c if ((err = snd_card_register(card)) < 0) err 204 sound/isa/sb/sb8.c return err; err 81 sound/isa/sb/sb8_main.c int err = snd_interval_ratnum(hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE), err 83 sound/isa/sb/sb8_main.c if (err >= 0 && den) { err 87 sound/isa/sb/sb8_main.c return err; err 517 sound/isa/sb/sb8_main.c int err; err 521 sound/isa/sb/sb8_main.c if ((err = snd_pcm_new(card, "SB8 DSP", device, 1, 1, &pcm)) < 0) err 522 sound/isa/sb/sb8_main.c return err; err 269 sound/isa/sb/sb8_midi.c int err; err 273 sound/isa/sb/sb8_midi.c if ((err = snd_rawmidi_new(chip->card, "SB8 MIDI", device, 1, 1, &rmidi)) < 0) err 274 sound/isa/sb/sb8_midi.c return err; err 217 sound/isa/sb/sb_common.c int err; err 280 sound/isa/sb/sb_common.c if ((err = snd_sbdsp_probe(chip)) < 0) { err 282 sound/isa/sb/sb_common.c return err; err 284 sound/isa/sb/sb_common.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 286 sound/isa/sb/sb_common.c return err; err 447 sound/isa/sb/sb_mixer.c int err; err 455 sound/isa/sb/sb_mixer.c if ((err = snd_ctl_add(chip->card, ctl)) < 0) err 456 sound/isa/sb/sb_mixer.c return err; err 767 sound/isa/sb/sb_mixer.c int idx, err; err 782 sound/isa/sb/sb_mixer.c if ((err = snd_sbmixer_add_ctl_elem(chip, controls[idx])) < 0) err 783 sound/isa/sb/sb_mixer.c return err; err 793 sound/isa/sb/sb_mixer.c int err; err 805 sound/isa/sb/sb_mixer.c if ((err = snd_sbmixer_init(chip, err 811 sound/isa/sb/sb_mixer.c return err; err 814 sound/isa/sb/sb_mixer.c if ((err = snd_sbmixer_init(chip, err 820 sound/isa/sb/sb_mixer.c return err; err 825 sound/isa/sb/sb_mixer.c if ((err = snd_sbmixer_init(chip, err 831 sound/isa/sb/sb_mixer.c return err; err 834 sound/isa/sb/sb_mixer.c if ((err = snd_sbmixer_init(chip, err 840 sound/isa/sb/sb_mixer.c return err; err 843 sound/isa/sb/sb_mixer.c if ((err = snd_sbmixer_init(chip, err 346 sound/isa/sc6000.c int err; err 348 sound/isa/sc6000.c err = sc6000_dsp_reset(vport); err 349 sound/isa/sc6000.c if (err < 0) { err 351 sound/isa/sc6000.c return err; err 355 sound/isa/sc6000.c err = sc6000_dsp_get_answer(vport, GET_DSP_COPYRIGHT, answer, 15); err 356 sound/isa/sc6000.c if (err <= 0) { err 378 sound/isa/sc6000.c err = sc6000_cfg_write(vport, 0x0a); err 379 sound/isa/sc6000.c if (err < 0) { err 384 sound/isa/sc6000.c err = sc6000_setup_board(vport, config); err 385 sound/isa/sc6000.c if (err < 0) { err 390 sound/isa/sc6000.c err = sc6000_init_mss(vport, config, vmss_port, mss_config); err 391 sound/isa/sc6000.c if (err < 0) { err 404 sound/isa/sc6000.c int err; err 413 sound/isa/sc6000.c err = snd_ctl_rename_id(card, &id1, &id2); err 414 sound/isa/sc6000.c if (err < 0) err 415 sound/isa/sc6000.c return err; err 418 sound/isa/sc6000.c err = snd_ctl_rename_id(card, &id1, &id2); err 419 sound/isa/sc6000.c if (err < 0) err 420 sound/isa/sc6000.c return err; err 424 sound/isa/sc6000.c err = snd_ctl_rename_id(card, &id1, &id2); err 425 sound/isa/sc6000.c if (err < 0) err 426 sound/isa/sc6000.c return err; err 429 sound/isa/sc6000.c err = snd_ctl_rename_id(card, &id1, &id2); err 430 sound/isa/sc6000.c if (err < 0) err 431 sound/isa/sc6000.c return err; err 482 sound/isa/sc6000.c int err; err 500 sound/isa/sc6000.c err = -EBUSY; err 509 sound/isa/sc6000.c err = -EBUSY; err 517 sound/isa/sc6000.c err = -EBUSY; err 524 sound/isa/sc6000.c err = -EBUSY; err 532 sound/isa/sc6000.c err = -EBUSY; err 539 sound/isa/sc6000.c err = -EBUSY; err 547 sound/isa/sc6000.c err = sc6000_init_board(vport, xirq, xdma, vmss_port, mpu_irq[dev]); err 548 sound/isa/sc6000.c if (err < 0) err 551 sound/isa/sc6000.c err = snd_wss_create(card, mss_port[dev] + 4, -1, xirq, xdma, -1, err 553 sound/isa/sc6000.c if (err < 0) err 557 sound/isa/sc6000.c err = snd_wss_pcm(chip, 0, NULL); err 558 sound/isa/sc6000.c if (err < 0) { err 563 sound/isa/sc6000.c err = snd_wss_mixer(chip); err 564 sound/isa/sc6000.c if (err < 0) { err 568 sound/isa/sc6000.c err = snd_sc6000_mixer(chip); err 569 sound/isa/sc6000.c if (err < 0) { err 579 sound/isa/sc6000.c err = snd_opl3_timer_new(opl3, 0, 1); err 580 sound/isa/sc6000.c if (err < 0) err 583 sound/isa/sc6000.c err = snd_opl3_hwdep_new(opl3, 0, 1, NULL); err 584 sound/isa/sc6000.c if (err < 0) err 607 sound/isa/sc6000.c err = snd_card_register(card); err 608 sound/isa/sc6000.c if (err < 0) err 620 sound/isa/sc6000.c return err; err 190 sound/isa/sgalaxy.c int err; err 198 sound/isa/sgalaxy.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 199 sound/isa/sgalaxy.c return err; err 202 sound/isa/sgalaxy.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 203 sound/isa/sgalaxy.c return err; err 207 sound/isa/sgalaxy.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 208 sound/isa/sgalaxy.c return err; err 211 sound/isa/sgalaxy.c if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) err 212 sound/isa/sgalaxy.c return err; err 215 sound/isa/sgalaxy.c err = snd_ctl_add(card, err 217 sound/isa/sgalaxy.c if (err < 0) err 218 sound/isa/sgalaxy.c return err; err 242 sound/isa/sgalaxy.c int err, xirq, xdma1; err 254 sound/isa/sgalaxy.c err = -EBUSY; err 262 sound/isa/sgalaxy.c err = -EBUSY; err 267 sound/isa/sgalaxy.c if ((err = snd_sgalaxy_detect(dev, xirq, xdma1)) < 0) err 270 sound/isa/sgalaxy.c err = snd_wss_create(card, wssport[dev] + 4, -1, err 273 sound/isa/sgalaxy.c if (err < 0) err 277 sound/isa/sgalaxy.c err = snd_wss_pcm(chip, 0, NULL); err 278 sound/isa/sgalaxy.c if (err < 0) { err 282 sound/isa/sgalaxy.c err = snd_wss_mixer(chip); err 283 sound/isa/sgalaxy.c if (err < 0) { err 287 sound/isa/sgalaxy.c if ((err = snd_sgalaxy_mixer(chip)) < 0) { err 299 sound/isa/sgalaxy.c if ((err = snd_card_register(card)) < 0) err 307 sound/isa/sgalaxy.c return err; err 314 sound/isa/sscape.c int err; err 316 sound/isa/sscape.c while (!(err = host_write_unsafe(io_base, data)) && (timeout != 0)) { err 321 sound/isa/sscape.c return err; err 602 sound/isa/sscape.c int err; err 616 sound/isa/sscape.c if ((err = upload_dma_data(sscape, code, SSCAPE_MICROCODE_SIZE)) == 0) { err 626 sound/isa/sscape.c return err; err 641 sound/isa/sscape.c int err; err 646 sound/isa/sscape.c err = -EBUSY; err 649 sound/isa/sscape.c err = 0; err 653 sound/isa/sscape.c return err; err 671 sound/isa/sscape.c int err = -EBUSY; err 692 sound/isa/sscape.c err = sscape_upload_bootblock(sscape, bb); err 700 sound/isa/sscape.c err = sscape_upload_microcode(sscape, mc); err 705 sound/isa/sscape.c err = -EINVAL; err 709 sound/isa/sscape.c return err; err 894 sound/isa/sscape.c int err; err 898 sound/isa/sscape.c err = -ENODEV; err 906 sound/isa/sscape.c err = -EBUSY; err 909 sound/isa/sscape.c err = 0; err 915 sound/isa/sscape.c return err; err 935 sound/isa/sscape.c int err; err 937 sound/isa/sscape.c if ((err = snd_mpu401_uart_new(card, devnum, err 953 sound/isa/sscape.c return err; err 1044 sound/isa/sscape.c int err; err 1052 sound/isa/sscape.c err = snd_wss_create(card, port, -1, irq, dma1, dma2, err 1054 sound/isa/sscape.c if (!err) { err 1103 sound/isa/sscape.c err = snd_wss_pcm(chip, 0, &pcm); err 1104 sound/isa/sscape.c if (err < 0) { err 1110 sound/isa/sscape.c err = snd_wss_mixer(chip); err 1111 sound/isa/sscape.c if (err < 0) { err 1116 sound/isa/sscape.c err = snd_wss_timer(chip, 0, NULL); err 1117 sound/isa/sscape.c if (err < 0) { err 1124 sound/isa/sscape.c err = snd_ctl_add(card, err 1126 sound/isa/sscape.c if (err < 0) { err 1146 sound/isa/sscape.c return err; err 1164 sound/isa/sscape.c int err; err 1197 sound/isa/sscape.c err = -EBUSY; err 1205 sound/isa/sscape.c err = request_dma(dma[dev], "SoundScape"); err 1206 sound/isa/sscape.c if (err < 0) { err 1220 sound/isa/sscape.c err = -ENODEV; err 1234 sound/isa/sscape.c err = snd_hwdep_new(card, "MC68EC000", 0, &(sscape->hw)); err 1235 sound/isa/sscape.c if (err < 0) { err 1282 sound/isa/sscape.c err = create_ad1845(card, wss_port[dev], irq[dev], err 1284 sound/isa/sscape.c if (err < 0) { err 1291 sound/isa/sscape.c err = create_mpu401(card, MIDI_DEVNUM, err 1293 sound/isa/sscape.c if (err < 0) { err 1331 sound/isa/sscape.c return err; err 1532 sound/isa/sscape.c int err; err 1534 sound/isa/sscape.c err = isa_register_driver(&snd_sscape_driver, SNDRV_CARDS); err 1536 sound/isa/sscape.c if (!err) err 1539 sound/isa/sscape.c err = pnp_register_card_driver(&sscape_pnpc_driver); err 1540 sound/isa/sscape.c if (!err) err 1544 sound/isa/sscape.c err = 0; err 1546 sound/isa/sscape.c return err; err 107 sound/isa/wavefront/wavefront.c int err; err 156 sound/isa/wavefront/wavefront.c err = pnp_activate_dev(pdev); err 157 sound/isa/wavefront/wavefront.c if (err < 0) { err 159 sound/isa/wavefront/wavefront.c return err; err 172 sound/isa/wavefront/wavefront.c err = pnp_activate_dev(pdev); err 173 sound/isa/wavefront/wavefront.c if (err < 0) { err 175 sound/isa/wavefront/wavefront.c return err; err 190 sound/isa/wavefront/wavefront.c err = pnp_activate_dev(pdev); err 191 sound/isa/wavefront/wavefront.c if (err < 0) { err 372 sound/isa/wavefront/wavefront.c int hw_dev = 0, midi_dev = 0, err; err 376 sound/isa/wavefront/wavefront.c err = snd_wss_create(card, cs4232_pcm_port[dev], -1, err 379 sound/isa/wavefront/wavefront.c if (err < 0) { err 381 sound/isa/wavefront/wavefront.c return err; err 384 sound/isa/wavefront/wavefront.c err = snd_wss_pcm(chip, 0, NULL); err 385 sound/isa/wavefront/wavefront.c if (err < 0) err 386 sound/isa/wavefront/wavefront.c return err; err 388 sound/isa/wavefront/wavefront.c err = snd_wss_timer(chip, 0, NULL); err 389 sound/isa/wavefront/wavefront.c if (err < 0) err 390 sound/isa/wavefront/wavefront.c return err; err 397 sound/isa/wavefront/wavefront.c err = snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2, err 399 sound/isa/wavefront/wavefront.c if (err < 0) { err 401 sound/isa/wavefront/wavefront.c return err; err 404 sound/isa/wavefront/wavefront.c err = snd_opl3_hwdep_new(opl3, hw_dev, 1, NULL); err 405 sound/isa/wavefront/wavefront.c if (err < 0) err 406 sound/isa/wavefront/wavefront.c return err; err 440 sound/isa/wavefront/wavefront.c err = snd_wss_mixer(chip); err 441 sound/isa/wavefront/wavefront.c if (err < 0) { err 443 sound/isa/wavefront/wavefront.c return err; err 449 sound/isa/wavefront/wavefront.c err = snd_mpu401_uart_new(card, midi_dev, MPU401_HW_CS4232, err 453 sound/isa/wavefront/wavefront.c if (err < 0) { err 455 sound/isa/wavefront/wavefront.c return err; err 568 sound/isa/wavefront/wavefront.c int err; err 574 sound/isa/wavefront/wavefront.c if ((err = snd_wavefront_probe(card, dev)) < 0) { err 576 sound/isa/wavefront/wavefront.c return err; err 659 sound/isa/wavefront/wavefront.c int err; err 661 sound/isa/wavefront/wavefront.c err = isa_register_driver(&snd_wavefront_driver, SNDRV_CARDS); err 663 sound/isa/wavefront/wavefront.c if (!err) err 666 sound/isa/wavefront/wavefront.c err = pnp_register_card_driver(&wavefront_pnpc_driver); err 667 sound/isa/wavefront/wavefront.c if (!err) err 671 sound/isa/wavefront/wavefront.c err = 0; err 673 sound/isa/wavefront/wavefront.c return err; err 181 sound/isa/wavefront/wavefront_fx.c int err = 0; err 225 sound/isa/wavefront/wavefront_fx.c err = wavefront_fx_memset (dev, err 238 sound/isa/wavefront/wavefront_fx.c return err; err 257 sound/isa/wavefront/wavefront_fx.c int err; err 266 sound/isa/wavefront/wavefront_fx.c err = request_firmware(&firmware, "yamaha/yss225_registers.bin", err 268 sound/isa/wavefront/wavefront_fx.c if (err < 0) { err 269 sound/isa/wavefront/wavefront_fx.c err = -1; err 280 sound/isa/wavefront/wavefront_fx.c err = -1; err 286 sound/isa/wavefront/wavefront_fx.c err = -1; err 292 sound/isa/wavefront/wavefront_fx.c err = 0; err 298 sound/isa/wavefront/wavefront_fx.c return err; err 474 sound/isa/wavefront/wavefront_synth.c int err = -1; /* something unknown */ err 478 sound/isa/wavefront/wavefront_synth.c if ((err = wavefront_read (dev)) == -1) { err 488 sound/isa/wavefront/wavefront_synth.c cmd, wfcmd->action, ack, err, err 489 sound/isa/wavefront/wavefront_synth.c wavefront_errorstr (err)); err 491 sound/isa/wavefront/wavefront_synth.c return -err; err 1358 sound/isa/wavefront/wavefront_synth.c int err; err 1367 sound/isa/wavefront/wavefront_synth.c err = -EFAULT; err 1384 sound/isa/wavefront/wavefront_synth.c err = -EFAULT; err 1388 sound/isa/wavefront/wavefront_synth.c err = wavefront_send_sample (dev, header, header->dataptr, 0); err 1395 sound/isa/wavefront/wavefront_synth.c err = -EFAULT; err 1399 sound/isa/wavefront/wavefront_synth.c err = wavefront_send_multisample (dev, header); err 1406 sound/isa/wavefront/wavefront_synth.c err = -EFAULT; err 1410 sound/isa/wavefront/wavefront_synth.c err = wavefront_send_alias (dev, header); err 1416 sound/isa/wavefront/wavefront_synth.c err = -EFAULT; err 1420 sound/isa/wavefront/wavefront_synth.c err = wavefront_send_drum (dev, header); err 1426 sound/isa/wavefront/wavefront_synth.c err = -EFAULT; err 1430 sound/isa/wavefront/wavefront_synth.c err = wavefront_send_patch (dev, header); err 1436 sound/isa/wavefront/wavefront_synth.c err = -EFAULT; err 1440 sound/isa/wavefront/wavefront_synth.c err = wavefront_send_program (dev, header); err 1446 sound/isa/wavefront/wavefront_synth.c err = -EINVAL; err 1452 sound/isa/wavefront/wavefront_synth.c return err; err 1647 sound/isa/wavefront/wavefront_synth.c int err; err 1671 sound/isa/wavefront/wavefront_synth.c err = -EFAULT; err 1673 sound/isa/wavefront/wavefront_synth.c err = -EIO; err 1675 sound/isa/wavefront/wavefront_synth.c err = -EFAULT; err 1677 sound/isa/wavefront/wavefront_synth.c err = 0; err 1679 sound/isa/wavefront/wavefront_synth.c return err; err 1944 sound/isa/wavefront/wavefront_synth.c int len, err; err 1948 sound/isa/wavefront/wavefront_synth.c err = request_firmware(&firmware, path, dev->card->dev); err 1949 sound/isa/wavefront/wavefront_synth.c if (err < 0) { err 1990 sound/isa/wavefront/wavefront_synth.c err = inb(dev->data_port); err 1991 sound/isa/wavefront/wavefront_synth.c if (err != WF_ACK) { err 1995 sound/isa/wavefront/wavefront_synth.c section_cnt_downloaded + 1, err); err 967 sound/isa/wss/wss_lib.c int err; err 969 sound/isa/wss/wss_lib.c if ((err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params))) < 0) err 970 sound/isa/wss/wss_lib.c return err; err 1010 sound/isa/wss/wss_lib.c int err; err 1012 sound/isa/wss/wss_lib.c if ((err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params))) < 0) err 1013 sound/isa/wss/wss_lib.c return err; err 1154 sound/isa/wss/wss_lib.c int err = 0; err 1172 sound/isa/wss/wss_lib.c err = -ENODEV; err 1181 sound/isa/wss/wss_lib.c err = -ENODEV; err 1227 sound/isa/wss/wss_lib.c return err; err 1451 sound/isa/wss/wss_lib.c int err; err 1473 sound/isa/wss/wss_lib.c if ((err = chip->claim_dma(chip, chip->dma_private_data, chip->dma1)) < 0) err 1474 sound/isa/wss/wss_lib.c return err; err 1477 sound/isa/wss/wss_lib.c err = snd_wss_open(chip, WSS_MODE_PLAY); err 1478 sound/isa/wss/wss_lib.c if (err < 0) { err 1482 sound/isa/wss/wss_lib.c return err; err 1494 sound/isa/wss/wss_lib.c int err; err 1514 sound/isa/wss/wss_lib.c if ((err = chip->claim_dma(chip, chip->dma_private_data, chip->dma2)) < 0) err 1515 sound/isa/wss/wss_lib.c return err; err 1518 sound/isa/wss/wss_lib.c err = snd_wss_open(chip, WSS_MODE_RECORD); err 1519 sound/isa/wss/wss_lib.c if (err < 0) { err 1523 sound/isa/wss/wss_lib.c return err; err 1754 sound/isa/wss/wss_lib.c int err; err 1756 sound/isa/wss/wss_lib.c err = snd_wss_new(card, hardware, hwshare, &chip); err 1757 sound/isa/wss/wss_lib.c if (err < 0) err 1758 sound/isa/wss/wss_lib.c return err; err 1828 sound/isa/wss/wss_lib.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops); err 1829 sound/isa/wss/wss_lib.c if (err < 0) { err 1831 sound/isa/wss/wss_lib.c return err; err 1870 sound/isa/wss/wss_lib.c int err; err 1872 sound/isa/wss/wss_lib.c err = snd_pcm_new(chip->card, "WSS", device, 1, 1, &pcm); err 1873 sound/isa/wss/wss_lib.c if (err < 0) err 1874 sound/isa/wss/wss_lib.c return err; err 1909 sound/isa/wss/wss_lib.c int err; err 1917 sound/isa/wss/wss_lib.c if ((err = snd_timer_new(chip->card, "CS4231", &tid, &timer)) < 0) err 1918 sound/isa/wss/wss_lib.c return err; err 2264 sound/isa/wss/wss_lib.c int err; err 2275 sound/isa/wss/wss_lib.c err = snd_ctl_add(card, err 2278 sound/isa/wss/wss_lib.c if (err < 0) err 2279 sound/isa/wss/wss_lib.c return err; err 2283 sound/isa/wss/wss_lib.c err = snd_ctl_add(card, err 2286 sound/isa/wss/wss_lib.c if (err < 0) err 2287 sound/isa/wss/wss_lib.c return err; err 2291 sound/isa/wss/wss_lib.c err = snd_ctl_add(card, err 2294 sound/isa/wss/wss_lib.c if (err < 0) err 2295 sound/isa/wss/wss_lib.c return err; err 334 sound/mips/au1x00.c int err; err 336 sound/mips/au1x00.c err = snd_pcm_lib_malloc_pages(substream, err 338 sound/mips/au1x00.c if (err < 0) err 339 sound/mips/au1x00.c return err; err 385 sound/mips/au1x00.c int err = 0; err 396 sound/mips/au1x00.c err = -EINVAL; err 400 sound/mips/au1x00.c return err; err 445 sound/mips/au1x00.c int err; err 448 sound/mips/au1x00.c if ((err = snd_pcm_new(au1000->card, "AU1000 AC97 PCM", 0, 1, 1, &pcm)) < 0) err 449 sound/mips/au1x00.c return err; err 556 sound/mips/au1x00.c int err; err 591 sound/mips/au1x00.c if ((err = snd_ac97_bus(au1000->card, 0, &ops, au1000, &pbus)) < 0) err 592 sound/mips/au1x00.c return err; err 596 sound/mips/au1x00.c if ((err = snd_ac97_mixer(pbus, &ac97, &au1000->ac97)) < 0) err 597 sound/mips/au1x00.c return err; err 635 sound/mips/au1x00.c int err; err 662 sound/mips/au1x00.c if ((err = snd_au1000_ac97_new(au1000)) < 0 ) { err 664 sound/mips/au1x00.c return err; err 667 sound/mips/au1x00.c if ((err = snd_au1000_pcm_new(au1000)) < 0) { err 669 sound/mips/au1x00.c return err; err 676 sound/mips/au1x00.c if ((err = snd_card_register(card)) < 0) { err 678 sound/mips/au1x00.c return err; err 283 sound/mips/hal2.c int err; err 291 sound/mips/hal2.c err = snd_ctl_add(hal2->card, err 293 sound/mips/hal2.c if (err < 0) err 294 sound/mips/hal2.c return err; err 296 sound/mips/hal2.c err = snd_ctl_add(hal2->card, err 298 sound/mips/hal2.c if (err < 0) err 299 sound/mips/hal2.c return err; err 514 sound/mips/hal2.c int err; err 516 sound/mips/hal2.c err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(params)); err 517 sound/mips/hal2.c if (err < 0) err 518 sound/mips/hal2.c return err; err 532 sound/mips/hal2.c int err; err 536 sound/mips/hal2.c err = hal2_alloc_dmabuf(&hal2->dac); err 537 sound/mips/hal2.c if (err) err 538 sound/mips/hal2.c return err; err 624 sound/mips/hal2.c int err; err 628 sound/mips/hal2.c err = hal2_alloc_dmabuf(adc); err 629 sound/mips/hal2.c if (err) err 630 sound/mips/hal2.c return err; err 737 sound/mips/hal2.c int err; err 740 sound/mips/hal2.c err = snd_pcm_new(hal2->card, "SGI HAL2 Audio", 0, 1, 1, &pcm); err 741 sound/mips/hal2.c if (err < 0) err 742 sound/mips/hal2.c return err; err 811 sound/mips/hal2.c int err; err 865 sound/mips/hal2.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, hal2, &hal2_ops); err 866 sound/mips/hal2.c if (err < 0) { err 869 sound/mips/hal2.c return err; err 879 sound/mips/hal2.c int err; err 885 sound/mips/hal2.c err = hal2_create(card, &chip); err 886 sound/mips/hal2.c if (err < 0) { err 888 sound/mips/hal2.c return err; err 892 sound/mips/hal2.c err = hal2_pcm_create(chip); err 893 sound/mips/hal2.c if (err < 0) { err 895 sound/mips/hal2.c return err; err 897 sound/mips/hal2.c err = hal2_mixer_create(chip); err 898 sound/mips/hal2.c if (err < 0) { err 900 sound/mips/hal2.c return err; err 909 sound/mips/hal2.c err = snd_card_register(card); err 910 sound/mips/hal2.c if (err < 0) { err 912 sound/mips/hal2.c return err; err 322 sound/mips/sgio2audio.c int err; err 324 sound/mips/sgio2audio.c err = snd_ctl_add(chip->card, err 326 sound/mips/sgio2audio.c if (err < 0) err 327 sound/mips/sgio2audio.c return err; err 329 sound/mips/sgio2audio.c err = snd_ctl_add(chip->card, err 331 sound/mips/sgio2audio.c if (err < 0) err 332 sound/mips/sgio2audio.c return err; err 334 sound/mips/sgio2audio.c err = snd_ctl_add(chip->card, err 336 sound/mips/sgio2audio.c if (err < 0) err 337 sound/mips/sgio2audio.c return err; err 339 sound/mips/sgio2audio.c err = snd_ctl_add(chip->card, err 341 sound/mips/sgio2audio.c if (err < 0) err 342 sound/mips/sgio2audio.c return err; err 343 sound/mips/sgio2audio.c err = snd_ctl_add(chip->card, err 345 sound/mips/sgio2audio.c if (err < 0) err 346 sound/mips/sgio2audio.c return err; err 348 sound/mips/sgio2audio.c err = snd_ctl_add(chip->card, err 350 sound/mips/sgio2audio.c if (err < 0) err 351 sound/mips/sgio2audio.c return err; err 353 sound/mips/sgio2audio.c err = snd_ctl_add(chip->card, err 355 sound/mips/sgio2audio.c if (err < 0) err 356 sound/mips/sgio2audio.c return err; err 748 sound/mips/sgio2audio.c int err; err 751 sound/mips/sgio2audio.c err = snd_pcm_new(chip->card, "SGI O2 Audio", 0, 1, 1, &pcm); err 752 sound/mips/sgio2audio.c if (err < 0) err 753 sound/mips/sgio2audio.c return err; err 765 sound/mips/sgio2audio.c err = snd_pcm_new(chip->card, "SGI O2 Audio", 1, 1, 0, &pcm); err 766 sound/mips/sgio2audio.c if (err < 0) err 767 sound/mips/sgio2audio.c return err; err 857 sound/mips/sgio2audio.c int i, err; err 918 sound/mips/sgio2audio.c err = ad1843_init(&chip->ad1843); err 919 sound/mips/sgio2audio.c if (err < 0) { err 921 sound/mips/sgio2audio.c return err; err 924 sound/mips/sgio2audio.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops); err 925 sound/mips/sgio2audio.c if (err < 0) { err 927 sound/mips/sgio2audio.c return err; err 937 sound/mips/sgio2audio.c int err; err 943 sound/mips/sgio2audio.c err = snd_sgio2audio_create(card, &chip); err 944 sound/mips/sgio2audio.c if (err < 0) { err 946 sound/mips/sgio2audio.c return err; err 950 sound/mips/sgio2audio.c err = snd_sgio2audio_new_pcm(chip); err 951 sound/mips/sgio2audio.c if (err < 0) { err 953 sound/mips/sgio2audio.c return err; err 955 sound/mips/sgio2audio.c err = snd_sgio2audio_new_mixer(chip); err 956 sound/mips/sgio2audio.c if (err < 0) { err 958 sound/mips/sgio2audio.c return err; err 968 sound/mips/sgio2audio.c err = snd_card_register(card); err 969 sound/mips/sgio2audio.c if (err < 0) { err 971 sound/mips/sgio2audio.c return err; err 2886 sound/oss/ad1848.c int err; err 2888 sound/oss/ad1848.c err = pnp_device_attach(dev); err 2889 sound/oss/ad1848.c if (err < 0) err 2892 sound/oss/ad1848.c if((err = pnp_activate_dev(dev)) < 0) { err 2893 sound/oss/ad1848.c printk(KERN_ERR "ad1848: %s %s config failed (out of resources?)[%d]\n", devname, resname, err); err 198 sound/oss/au1550_ac97.c err("rdcodec: codec cmd pending expired!"); err 214 sound/oss/au1550_ac97.c err("rdcodec: read poll expired!"); err 228 sound/oss/au1550_ac97.c err("rdcodec: read cmdwait expired!"); err 265 sound/oss/au1550_ac97.c err("wrcodec: codec cmd pending expired!"); err 279 sound/oss/au1550_ac97.c err("wrcodec: codec cmd pending expired!"); err 288 sound/oss/au1550_ac97.c err("wrcodec: read cmdwait expired!"); err 319 sound/oss/au1550_ac97.c err("waitcodec: CODEC_READY poll expired!"); err 343 sound/oss/au1550_ac97.c err("codec reg 26 status (0x%x) not ready!!", temp); err 737 sound/oss/au1550_ac97.c err("qcount < 2 and no ring room!"); err 774 sound/oss/au1550_ac97.c err("adc overrun"); err 1182 sound/oss/au1550_ac97.c err("qcount < 2 and no ring room!"); err 1914 sound/oss/au1550_ac97.c err("Out of memory"); err 1925 sound/oss/au1550_ac97.c err("AC'97 ports in use"); err 1932 sound/oss/au1550_ac97.c err("Can't get DAC DMA"); err 1938 sound/oss/au1550_ac97.c err("Can't get DAC DMA descriptors"); err 1944 sound/oss/au1550_ac97.c err("Can't get ADC DMA"); err 1950 sound/oss/au1550_ac97.c err("Can't get ADC DMA descriptors"); err 225 sound/oss/audio.c int err; err 252 sound/oss/audio.c if ((err = DMAbuf_getwrbuffer(dev, &dma_buf, &buf_size, !!(file->f_flags & O_NONBLOCK))) < 0) err 255 sound/oss/audio.c if ((file->f_flags & O_NONBLOCK) && err == -EAGAIN) err 257 sound/oss/audio.c return err; err 745 sound/oss/audio.c int fact, ret, changed, bits, count, err; err 836 sound/oss/audio.c if ((err = audio_devs[dev]->d->prepare_for_input(dev, err 839 sound/oss/audio.c return -err; err 186 sound/oss/dmabuf.c int err; err 190 sound/oss/dmabuf.c if ((err = sound_alloc_dmap(dmap)) < 0) err 191 sound/oss/dmabuf.c return err; err 518 sound/oss/dmabuf.c int err; err 534 sound/oss/dmabuf.c if ((err = adev->d->prepare_for_input(dev, err 536 sound/oss/dmabuf.c return err; err 556 sound/oss/dmabuf.c int err = 0, n = 0; err 575 sound/oss/dmabuf.c if ((err = DMAbuf_activate_recording(dev, dmap)) < 0) { err 577 sound/oss/dmabuf.c return err; err 593 sound/oss/dmabuf.c err = -EIO; err 597 sound/oss/dmabuf.c err = -EINTR; err 603 sound/oss/dmabuf.c return err ? err : -EINTR; err 750 sound/oss/dmabuf.c int err = 0; err 777 sound/oss/dmabuf.c err = -EINTR; err 779 sound/oss/dmabuf.c return err; err 830 sound/oss/dmabuf.c int err = -EIO; err 850 sound/oss/dmabuf.c if ((err = output_sleep(dev, dontblock)) < 0) { err 851 sound/oss/dmabuf.c return err; err 715 sound/oss/dmasound/dmasound_paula.c int err; err 724 sound/oss/dmasound/dmasound_paula.c err = dmasound_init(); err 725 sound/oss/dmasound/dmasound_paula.c if (err) err 727 sound/oss/dmasound/dmasound_paula.c return err; err 426 sound/oss/midi_synth.c int err; err 436 sound/oss/midi_synth.c if ((err = midi_devs[orig_dev]->open(orig_dev, mode, err 438 sound/oss/midi_synth.c return err; err 157 sound/oss/midibuf.c int mode, err; err 175 sound/oss/midibuf.c if ((err = midi_devs[dev]->open(dev, mode, err 177 sound/oss/midibuf.c return err; err 211 sound/oss/midibuf.c return err; err 462 sound/oss/mpu401.c int err; err 497 sound/oss/mpu401.c if ((err = coprocessor->open(coprocessor->devc, COPR_MIDI)) < 0) err 501 sound/oss/mpu401.c return err; err 797 sound/oss/mpu401.c int midi_dev, err; err 836 sound/oss/mpu401.c if ((err = coprocessor->open(coprocessor->devc, COPR_MIDI)) < 0) err 839 sound/oss/mpu401.c return err; err 757 sound/oss/msnd_pinnacle.c int err = 0; err 766 sound/oss/msnd_pinnacle.c if ((err = dsp_open(file)) >= 0) { err 784 sound/oss/msnd_pinnacle.c err = -EINVAL; err 786 sound/oss/msnd_pinnacle.c return err; err 792 sound/oss/msnd_pinnacle.c int err = 0; err 796 sound/oss/msnd_pinnacle.c err = dsp_release(file); err 800 sound/oss/msnd_pinnacle.c err = -EINVAL; err 802 sound/oss/msnd_pinnacle.c return err; err 1332 sound/oss/msnd_pinnacle.c int err, timeout; err 1340 sound/oss/msnd_pinnacle.c if ((err = init_sma()) < 0) { err 1342 sound/oss/msnd_pinnacle.c return err; err 1345 sound/oss/msnd_pinnacle.c if ((err = reset_dsp()) < 0) err 1346 sound/oss/msnd_pinnacle.c return err; err 1348 sound/oss/msnd_pinnacle.c if ((err = upload_dsp_code()) < 0) { err 1350 sound/oss/msnd_pinnacle.c return err; err 1388 sound/oss/msnd_pinnacle.c int err; err 1390 sound/oss/msnd_pinnacle.c if ((err = request_irq(dev.irq, intr, 0, dev.name, &dev)) < 0) { err 1392 sound/oss/msnd_pinnacle.c return err; err 1396 sound/oss/msnd_pinnacle.c if ((err = dsp_full_reset()) < 0) { err 1399 sound/oss/msnd_pinnacle.c return err; err 1402 sound/oss/msnd_pinnacle.c if ((err = msnd_register(&dev)) < 0) { err 1406 sound/oss/msnd_pinnacle.c return err; err 1725 sound/oss/msnd_pinnacle.c int err; err 1880 sound/oss/msnd_pinnacle.c if ((err = msnd_fifo_alloc(&dev.DAPF, dev.fifosize)) < 0) { err 1882 sound/oss/msnd_pinnacle.c return err; err 1885 sound/oss/msnd_pinnacle.c if ((err = msnd_fifo_alloc(&dev.DARF, dev.fifosize)) < 0) { err 1888 sound/oss/msnd_pinnacle.c return err; err 1891 sound/oss/msnd_pinnacle.c if ((err = probe_multisound()) < 0) { err 1895 sound/oss/msnd_pinnacle.c return err; err 1898 sound/oss/msnd_pinnacle.c if ((err = attach_multisound()) < 0) { err 1902 sound/oss/msnd_pinnacle.c return err; err 40 sound/oss/pas2_midi.c int err; err 56 sound/oss/pas2_midi.c if ((err = pas_set_intr(0x10)) < 0) err 59 sound/oss/pas2_midi.c return err; err 214 sound/oss/pas2_pcm.c int err; err 228 sound/oss/pas2_pcm.c if ((err = pas_set_intr(PAS_PCM_INTRBITS)) < 0) err 229 sound/oss/pas2_pcm.c return err; err 852 sound/oss/pss.c int i, err; err 869 sound/oss/pss.c err = download_boot_block(dev_info, buf); err 871 sound/oss/pss.c return err; err 887 sound/oss/pss.c err = copy_to_user(arg, mbuf, sizeof(copr_msg)); err 889 sound/oss/pss.c return err ? -EFAULT : -EIO; err 897 sound/oss/pss.c err = 0; err 907 sound/oss/pss.c err = -EIO; err 913 sound/oss/pss.c err = -EFAULT; err 915 sound/oss/pss.c return err; err 319 sound/oss/sb_card.c int err = pnp_register_card_driver(&sb_pnp_driver); err 320 sound/oss/sb_card.c if (!err) err 215 sound/oss/sequencer.c int err; err 235 sound/oss/sequencer.c int err, fmt; err 245 sound/oss/sequencer.c err = synth_devs[dev]->load_patch(dev, fmt, buf, p + 4, c, 0); err 246 sound/oss/sequencer.c if (err < 0) err 247 sound/oss/sequencer.c return err; err 249 sound/oss/sequencer.c return err; err 298 sound/oss/sequencer.c if ((err = midi_devs[dev]->open(dev, mode, err 303 sound/oss/sequencer.c return err; err 1326 sound/oss/sequencer.c int midi_dev, orig_dev, val, err; err 1383 sound/oss/sequencer.c (err = midi_devs[midi_dev]->open(midi_dev, mode, sequencer_midi_input, err 1385 sound/oss/sequencer.c return err; err 545 sound/oss/soundcard.c int err; err 553 sound/oss/soundcard.c err = create_special_devices(); err 554 sound/oss/soundcard.c if (err) { err 556 sound/oss/soundcard.c return err; err 623 sound/oss/soundcard.c int err; err 625 sound/oss/soundcard.c if ((err = request_dma(chn, deviceID)) != 0) err 626 sound/oss/soundcard.c return err; err 567 sound/oss/sscape.c int err; err 584 sound/oss/sscape.c err = download_boot_block(dev_info, buf); err 586 sound/oss/sscape.c return err; err 1337 sound/oss/vwsnd.c int err; err 1339 sound/oss/vwsnd.c err = li_init(lith); err 1340 sound/oss/vwsnd.c if (err) err 1341 sound/oss/vwsnd.c return err; err 3004 sound/oss/vwsnd.c int err = 0; err 3035 sound/oss/vwsnd.c return err; err 3155 sound/oss/vwsnd.c int err; err 3159 sound/oss/vwsnd.c err = get_user(val, (int __user *) arg); err 3160 sound/oss/vwsnd.c if (err) err 3297 sound/oss/vwsnd.c int err = -ENOMEM; err 3305 sound/oss/vwsnd.c err = li_create(&devc->lith, hw_config->io_base); err 3306 sound/oss/vwsnd.c if (err) err 3343 sound/oss/vwsnd.c err = ad1843_init(&devc->lith); err 3345 sound/oss/vwsnd.c if (err) err 3350 sound/oss/vwsnd.c err = request_irq(hw_config->irq, vwsnd_audio_intr, 0, "vwsnd", devc); err 3351 sound/oss/vwsnd.c if (err) err 3357 sound/oss/vwsnd.c if ((err = devc->audio_minor) < 0) { err 3360 sound/oss/vwsnd.c err)); err 3365 sound/oss/vwsnd.c if ((err = devc->mixer_minor) < 0) { err 3368 sound/oss/vwsnd.c err)); err 3417 sound/oss/vwsnd.c return err; err 3463 sound/oss/vwsnd.c int err; err 3471 sound/oss/vwsnd.c err = attach_vwsnd(&the_hw_config); err 3472 sound/oss/vwsnd.c if (err < 0) err 3473 sound/oss/vwsnd.c return err; err 530 sound/parisc/harmony.c int err; err 537 sound/parisc/harmony.c err = snd_pcm_hw_constraint_integer(rt, SNDRV_PCM_HW_PARAM_PERIODS); err 538 sound/parisc/harmony.c if (err < 0) err 539 sound/parisc/harmony.c return err; err 549 sound/parisc/harmony.c int err; err 556 sound/parisc/harmony.c err = snd_pcm_hw_constraint_integer(rt, SNDRV_PCM_HW_PARAM_PERIODS); err 557 sound/parisc/harmony.c if (err < 0) err 558 sound/parisc/harmony.c return err; err 583 sound/parisc/harmony.c int err; err 586 sound/parisc/harmony.c err = snd_pcm_lib_malloc_pages(ss, params_buffer_bytes(hw)); err 587 sound/parisc/harmony.c if (err > 0 && h->dma.type == SNDRV_DMA_TYPE_CONTINUOUS) err 590 sound/parisc/harmony.c return err; err 625 sound/parisc/harmony.c int err; err 629 sound/parisc/harmony.c err = snd_pcm_new(h->card, "harmony", 0, 1, 1, &pcm); err 630 sound/parisc/harmony.c if (err < 0) err 631 sound/parisc/harmony.c return err; err 649 sound/parisc/harmony.c err = snd_dma_alloc_pages(h->dma.type, err 653 sound/parisc/harmony.c if (err < 0) { err 655 sound/parisc/harmony.c return err; err 659 sound/parisc/harmony.c err = snd_dma_alloc_pages(h->dma.type, err 663 sound/parisc/harmony.c if (err < 0) { err 665 sound/parisc/harmony.c return err; err 669 sound/parisc/harmony.c err = snd_pcm_lib_preallocate_pages_for_all(pcm, h->dma.type, err 673 sound/parisc/harmony.c if (err < 0) { err 674 sound/parisc/harmony.c printk(KERN_ERR PFX "buffer allocation error: %d\n", err); err 675 sound/parisc/harmony.c return err; err 869 sound/parisc/harmony.c int idx, err; err 876 sound/parisc/harmony.c err = snd_ctl_add(card, err 878 sound/parisc/harmony.c if (err < 0) err 879 sound/parisc/harmony.c return err; err 919 sound/parisc/harmony.c int err; err 939 sound/parisc/harmony.c err = -EBUSY; err 943 sound/parisc/harmony.c err = request_irq(padev->irq, snd_harmony_interrupt, 0, err 945 sound/parisc/harmony.c if (err) { err 955 sound/parisc/harmony.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, err 968 sound/parisc/harmony.c return err; err 974 sound/parisc/harmony.c int err; err 982 sound/parisc/harmony.c err = snd_harmony_create(card, padev, &h); err 983 sound/parisc/harmony.c if (err < 0) err 986 sound/parisc/harmony.c err = snd_harmony_pcm_init(h); err 987 sound/parisc/harmony.c if (err < 0) err 990 sound/parisc/harmony.c err = snd_harmony_mixer_init(h); err 991 sound/parisc/harmony.c if (err < 0) err 999 sound/parisc/harmony.c err = snd_card_register(card); err 1000 sound/parisc/harmony.c if (err < 0) err 1008 sound/parisc/harmony.c return err; err 562 sound/pci/ac97/ac97_codec.c int err, page_save; err 578 sound/pci/ac97/ac97_codec.c err = snd_ac97_update_bits(ac97, reg, val_mask, val); err 591 sound/pci/ac97/ac97_codec.c return err; err 1170 sound/pci/ac97/ac97_codec.c int err; err 1198 sound/pci/ac97/ac97_codec.c err = snd_ctl_add(card, kctl); err 1199 sound/pci/ac97/ac97_codec.c if (err < 0) err 1200 sound/pci/ac97/ac97_codec.c return err; err 1238 sound/pci/ac97/ac97_codec.c int err; err 1258 sound/pci/ac97/ac97_codec.c err = snd_ctl_add(card, kctl); err 1259 sound/pci/ac97/ac97_codec.c if (err < 0) err 1260 sound/pci/ac97/ac97_codec.c return err; err 1274 sound/pci/ac97/ac97_codec.c int err; err 1283 sound/pci/ac97/ac97_codec.c if ((err = snd_ac97_cmute_new_stereo(card, name, reg, err 1286 sound/pci/ac97/ac97_codec.c return err; err 1291 sound/pci/ac97/ac97_codec.c if ((err = snd_ac97_cvol_new(card, name, reg, lo_max, hi_max, ac97)) < 0) err 1292 sound/pci/ac97/ac97_codec.c return err; err 1308 sound/pci/ac97/ac97_codec.c int err; err 1316 sound/pci/ac97/ac97_codec.c err = snd_ac97_cmute_new(card, "Master Playback Switch", err 1319 sound/pci/ac97/ac97_codec.c err = snd_ac97_cmix_new(card, "Master Playback", err 1321 sound/pci/ac97/ac97_codec.c if (err < 0) err 1322 sound/pci/ac97/ac97_codec.c return err; err 1330 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_center[0], ac97))) < 0) err 1331 sound/pci/ac97/ac97_codec.c return err; err 1332 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_center[1], ac97))) < 0) err 1333 sound/pci/ac97/ac97_codec.c return err; err 1344 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_lfe[0], ac97))) < 0) err 1345 sound/pci/ac97/ac97_codec.c return err; err 1346 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_lfe[1], ac97))) < 0) err 1347 sound/pci/ac97/ac97_codec.c return err; err 1359 sound/pci/ac97/ac97_codec.c if ((err = snd_ac97_cmix_new_stereo(card, "Surround Playback", err 1362 sound/pci/ac97/ac97_codec.c return err; err 1367 sound/pci/ac97/ac97_codec.c if ((err = snd_ac97_cmix_new(card, "Headphone Playback", err 1369 sound/pci/ac97/ac97_codec.c return err; err 1374 sound/pci/ac97/ac97_codec.c if ((err = snd_ac97_cmix_new(card, "Master Mono Playback", err 1376 sound/pci/ac97/ac97_codec.c return err; err 1383 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_tone[idx], ac97))) < 0) err 1384 sound/pci/ac97/ac97_codec.c return err; err 1400 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_pc_beep[idx], ac97))) < 0) err 1401 sound/pci/ac97/ac97_codec.c return err; err 1410 sound/pci/ac97/ac97_codec.c if ((err = snd_ac97_cmix_new(card, "Phone Playback", err 1412 sound/pci/ac97/ac97_codec.c return err; err 1419 sound/pci/ac97/ac97_codec.c if ((err = snd_ac97_cmix_new(card, "Mic Playback", err 1421 sound/pci/ac97/ac97_codec.c return err; err 1422 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_mic_boost, ac97))) < 0) err 1423 sound/pci/ac97/ac97_codec.c return err; err 1429 sound/pci/ac97/ac97_codec.c if ((err = snd_ac97_cmix_new(card, "Line Playback", err 1431 sound/pci/ac97/ac97_codec.c return err; err 1437 sound/pci/ac97/ac97_codec.c if ((err = snd_ac97_cmix_new(card, "CD Playback", err 1439 sound/pci/ac97/ac97_codec.c return err; err 1446 sound/pci/ac97/ac97_codec.c if ((err = snd_ac97_cmix_new(card, "Video Playback", err 1448 sound/pci/ac97/ac97_codec.c return err; err 1455 sound/pci/ac97/ac97_codec.c if ((err = snd_ac97_cmix_new(card, "Aux Playback", err 1457 sound/pci/ac97/ac97_codec.c return err; err 1469 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_ad18xx_pcm[idx], ac97))) < 0) err 1470 sound/pci/ac97/ac97_codec.c return err; err 1475 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_ad18xx_surround[idx], ac97))) < 0) err 1476 sound/pci/ac97/ac97_codec.c return err; err 1482 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_ad18xx_center[idx], ac97))) < 0) err 1483 sound/pci/ac97/ac97_codec.c return err; err 1486 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_ad18xx_lfe[idx], ac97))) < 0) err 1487 sound/pci/ac97/ac97_codec.c return err; err 1495 sound/pci/ac97/ac97_codec.c err = snd_ac97_cmute_new(card, err 1499 sound/pci/ac97/ac97_codec.c err = snd_ac97_cmix_new(card, "PCM Playback", err 1501 sound/pci/ac97/ac97_codec.c if (err < 0) err 1502 sound/pci/ac97/ac97_codec.c return err; err 1508 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_control_capture_src, ac97))) < 0) err 1509 sound/pci/ac97/ac97_codec.c return err; err 1511 sound/pci/ac97/ac97_codec.c err = snd_ac97_cmute_new(card, "Capture Switch", err 1513 sound/pci/ac97/ac97_codec.c if (err < 0) err 1514 sound/pci/ac97/ac97_codec.c return err; err 1516 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_control_capture_vol, ac97))) < 0) err 1517 sound/pci/ac97/ac97_codec.c return err; err 1525 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_mic_capture[idx], ac97))) < 0) err 1526 sound/pci/ac97/ac97_codec.c return err; err 1533 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_general[AC97_GENERAL_PCM_OUT], ac97))) < 0) err 1534 sound/pci/ac97/ac97_codec.c return err; err 1539 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_general[AC97_GENERAL_STEREO_ENHANCEMENT], ac97))) < 0) err 1540 sound/pci/ac97/ac97_codec.c return err; err 1545 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_general[AC97_GENERAL_3D], ac97))) < 0) err 1546 sound/pci/ac97/ac97_codec.c return err; err 1551 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_general[AC97_GENERAL_LOUDNESS], ac97))) < 0) err 1552 sound/pci/ac97/ac97_codec.c return err; err 1557 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_general[AC97_GENERAL_MONO], ac97))) < 0) err 1558 sound/pci/ac97/ac97_codec.c return err; err 1563 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_general[AC97_GENERAL_MIC], ac97))) < 0) err 1564 sound/pci/ac97/ac97_codec.c return err; err 1569 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_general[AC97_GENERAL_LOOPBACK], ac97))) < 0) err 1570 sound/pci/ac97/ac97_codec.c return err; err 1585 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_3d[0], ac97))) < 0) err 1586 sound/pci/ac97/ac97_codec.c return err; err 1589 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, kctl = snd_ac97_cnew(&snd_ac97_controls_3d[1], ac97))) < 0) err 1590 sound/pci/ac97/ac97_codec.c return err; err 1606 sound/pci/ac97/ac97_codec.c if ((err = ac97->build_ops->build_spdif(ac97)) < 0) err 1607 sound/pci/ac97/ac97_codec.c return err; err 1610 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, snd_ac97_cnew(&snd_ac97_controls_spdif[idx], ac97))) < 0) err 1611 sound/pci/ac97/ac97_codec.c return err; err 1613 sound/pci/ac97/ac97_codec.c if ((err = ac97->build_ops->build_post_spdif(ac97)) < 0) err 1614 sound/pci/ac97/ac97_codec.c return err; err 1626 sound/pci/ac97/ac97_codec.c if ((err = ac97->build_ops->build_specific(ac97)) < 0) err 1627 sound/pci/ac97/ac97_codec.c return err; err 1635 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, kctl)) < 0) err 1636 sound/pci/ac97/ac97_codec.c return err; err 1644 sound/pci/ac97/ac97_codec.c int err, idx; err 1655 sound/pci/ac97/ac97_codec.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_ac97_controls_modem_switches[idx], ac97))) < 0) err 1656 sound/pci/ac97/ac97_codec.c return err; err 1660 sound/pci/ac97/ac97_codec.c if ((err = ac97->build_ops->build_specific(ac97)) < 0) err 1661 sound/pci/ac97/ac97_codec.c return err; err 1887 sound/pci/ac97/ac97_codec.c int err; err 1905 sound/pci/ac97/ac97_codec.c if ((err = snd_device_new(card, SNDRV_DEV_BUS, bus, &dev_ops)) < 0) { err 1907 sound/pci/ac97/ac97_codec.c return err; err 1925 sound/pci/ac97/ac97_codec.c int err; err 1933 sound/pci/ac97/ac97_codec.c if ((err = device_register(&ac97->dev)) < 0) { err 1936 sound/pci/ac97/ac97_codec.c return err; err 1982 sound/pci/ac97/ac97_codec.c int err; err 2052 sound/pci/ac97/ac97_codec.c err = ac97_reset_wait(ac97, msecs_to_jiffies(500), 1); err 2054 sound/pci/ac97/ac97_codec.c err = ac97_reset_wait(ac97, msecs_to_jiffies(500), 0); err 2055 sound/pci/ac97/ac97_codec.c if (err < 0) err 2056 sound/pci/ac97/ac97_codec.c err = ac97_reset_wait(ac97, err 2059 sound/pci/ac97/ac97_codec.c if (err < 0) { err 2081 sound/pci/ac97/ac97_codec.c if (((err = snd_ac97_read(ac97, AC97_REC_GAIN)) & 0x7fff) == 0x0a06) err 2228 sound/pci/ac97/ac97_codec.c if ((err = snd_component_add(card, comp)) < 0) { err 2230 sound/pci/ac97/ac97_codec.c return err; err 2248 sound/pci/ac97/ac97_codec.c if ((err = snd_component_add(card, comp)) < 0) { err 2250 sound/pci/ac97/ac97_codec.c return err; err 2260 sound/pci/ac97/ac97_codec.c if ((err = snd_device_new(card, SNDRV_DEV_CODEC, ac97, &ops)) < 0) { err 2262 sound/pci/ac97/ac97_codec.c return err; err 2632 sound/pci/ac97/ac97_codec.c int err = snd_ac97_put_volsw(kcontrol, ucontrol); err 2633 sound/pci/ac97/ac97_codec.c if (err > 0) { err 2639 sound/pci/ac97/ac97_codec.c return err; err 2731 sound/pci/ac97/ac97_codec.c int err = snd_ac97_put_volsw(kcontrol, ucontrol); err 2732 sound/pci/ac97/ac97_codec.c if (err > 0) { err 2745 sound/pci/ac97/ac97_codec.c return err; err 2764 sound/pci/ac97/ac97_codec.c int err = bind_hp_volsw_put(kcontrol, ucontrol); err 2765 sound/pci/ac97/ac97_codec.c if (err > 0) { err 2778 sound/pci/ac97/ac97_codec.c return err; err 35 sound/pci/ac97/ac97_patch.c int idx, err; err 38 sound/pci/ac97/ac97_patch.c if ((err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97))) < 0) err 39 sound/pci/ac97/ac97_patch.c return err; err 324 sound/pci/ac97/ac97_patch.c int err; err 327 sound/pci/ac97/ac97_patch.c err = snd_ctl_add(ac97->bus->card, kctl); err 328 sound/pci/ac97/ac97_patch.c if (err < 0) err 329 sound/pci/ac97/ac97_patch.c return err; err 333 sound/pci/ac97/ac97_patch.c err = snd_ctl_add(ac97->bus->card, err 336 sound/pci/ac97/ac97_patch.c if (err < 0) err 337 sound/pci/ac97/ac97_patch.c return err; err 359 sound/pci/ac97/ac97_patch.c int err; err 361 sound/pci/ac97/ac97_patch.c err = patch_build_controls(ac97, &snd_ac97_controls_spdif[0], 3); err 362 sound/pci/ac97/ac97_patch.c if (err < 0) err 363 sound/pci/ac97/ac97_patch.c return err; err 364 sound/pci/ac97/ac97_patch.c err = patch_build_controls(ac97, err 366 sound/pci/ac97/ac97_patch.c if (err < 0) err 367 sound/pci/ac97/ac97_patch.c return err; err 451 sound/pci/ac97/ac97_patch.c int err; err 453 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, snd_ac97_ymf753_controls_spdif, ARRAY_SIZE(snd_ac97_ymf753_controls_spdif))) < 0) err 454 sound/pci/ac97/ac97_patch.c return err; err 495 sound/pci/ac97/ac97_patch.c int err, i; err 498 sound/pci/ac97/ac97_patch.c if ((err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&wm97xx_snd_ac97_controls[i], ac97))) < 0) err 499 sound/pci/ac97/ac97_patch.c return err; err 526 sound/pci/ac97/ac97_patch.c int err, i; err 528 sound/pci/ac97/ac97_patch.c if ((err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&wm9704_snd_ac97_controls[i], ac97))) < 0) err 529 sound/pci/ac97/ac97_patch.c return err; err 549 sound/pci/ac97/ac97_patch.c int err, i; err 551 sound/pci/ac97/ac97_patch.c if ((err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&wm97xx_snd_ac97_controls[i], ac97))) < 0) err 552 sound/pci/ac97/ac97_patch.c return err; err 680 sound/pci/ac97/ac97_patch.c int err, i; err 683 sound/pci/ac97/ac97_patch.c if ((err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&wm9711_snd_ac97_controls[i], ac97))) < 0) err 684 sound/pci/ac97/ac97_patch.c return err; err 847 sound/pci/ac97/ac97_patch.c int err, i; err 850 sound/pci/ac97/ac97_patch.c if ((err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&wm13_snd_ac97_controls_3d[i], ac97))) < 0) err 851 sound/pci/ac97/ac97_patch.c return err; err 858 sound/pci/ac97/ac97_patch.c int err, i; err 861 sound/pci/ac97/ac97_patch.c if ((err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&wm13_snd_ac97_controls[i], ac97))) < 0) err 862 sound/pci/ac97/ac97_patch.c return err; err 933 sound/pci/ac97/ac97_patch.c int err; err 935 sound/pci/ac97/ac97_patch.c if ((err = snd_ctl_add(ac97->bus->card, kctl = snd_ac97_cnew(&snd_ac97_controls_3d[0], ac97))) < 0) err 936 sound/pci/ac97/ac97_patch.c return err; err 946 sound/pci/ac97/ac97_patch.c int err; err 948 sound/pci/ac97/ac97_patch.c if ((err = snd_ctl_add(ac97->bus->card, kctl = snd_ac97_cnew(&snd_ac97_controls_3d[0], ac97))) < 0) err 949 sound/pci/ac97/ac97_patch.c return err; err 952 sound/pci/ac97/ac97_patch.c if ((err = snd_ctl_add(ac97->bus->card, kctl = snd_ac97_cnew(&snd_ac97_controls_3d[0], ac97))) < 0) err 953 sound/pci/ac97/ac97_patch.c return err; err 973 sound/pci/ac97/ac97_patch.c int err; err 977 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_sigmatel_controls[0], 1)) < 0) err 978 sound/pci/ac97/ac97_patch.c return err; err 980 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_sigmatel_controls[1], 1)) < 0) err 981 sound/pci/ac97/ac97_patch.c return err; err 983 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_sigmatel_4speaker, 1)) < 0) err 984 sound/pci/ac97/ac97_patch.c return err; err 986 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_sigmatel_phaseinvert, 1)) < 0) err 987 sound/pci/ac97/ac97_patch.c return err; err 1005 sound/pci/ac97/ac97_patch.c int err; err 1009 sound/pci/ac97/ac97_patch.c err = snd_ac97_update_bits(ac97, AC97_SIGMATEL_BIAS2, 0x0010, err 1013 sound/pci/ac97/ac97_patch.c return err; err 1027 sound/pci/ac97/ac97_patch.c int err; err 1033 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_stac9708_bias_control, 1)) < 0) err 1034 sound/pci/ac97/ac97_patch.c return err; err 1247 sound/pci/ac97/ac97_patch.c int err; err 1249 sound/pci/ac97/ac97_patch.c err = patch_sigmatel_stac97xx_specific(ac97); err 1250 sound/pci/ac97/ac97_patch.c if (err < 0) err 1251 sound/pci/ac97/ac97_patch.c return err; err 1252 sound/pci/ac97/ac97_patch.c err = patch_build_controls(ac97, snd_ac97_sigmatel_stac9758_controls, err 1254 sound/pci/ac97/ac97_patch.c if (err < 0) err 1255 sound/pci/ac97/ac97_patch.c return err; err 1322 sound/pci/ac97/ac97_patch.c int err; err 1325 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_controls_spdif[0], 3)) < 0) err 1326 sound/pci/ac97/ac97_patch.c return err; err 1328 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_cirrus_controls_spdif[0], 1)) < 0) err 1329 sound/pci/ac97/ac97_patch.c return err; err 1332 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_cirrus_controls_spdif[1], 1)) < 0) err 1333 sound/pci/ac97/ac97_patch.c return err; err 1384 sound/pci/ac97/ac97_patch.c int err; err 1387 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_controls_spdif[0], 3)) < 0) err 1388 sound/pci/ac97/ac97_patch.c return err; err 1390 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_conexant_controls_spdif[0], 1)) < 0) err 1391 sound/pci/ac97/ac97_patch.c return err; err 1653 sound/pci/ac97/ac97_patch.c int err; err 1655 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, snd_ac97_controls_ad1885, ARRAY_SIZE(snd_ac97_controls_ad1885))) < 0) err 1656 sound/pci/ac97/ac97_patch.c return err; err 1938 sound/pci/ac97/ac97_patch.c int err; err 1940 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_ad198x_2cmic, 1)) < 0) err 1941 sound/pci/ac97/ac97_patch.c return err; err 2128 sound/pci/ac97/ac97_patch.c int err; err 2130 sound/pci/ac97/ac97_patch.c if ((err = patch_ad1888_specific(ac97)) < 0) err 2131 sound/pci/ac97/ac97_patch.c return err; err 2236 sound/pci/ac97/ac97_patch.c int err; err 2243 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_ad198x_2cmic, 1)) < 0) err 2244 sound/pci/ac97/ac97_patch.c return err; err 2533 sound/pci/ac97/ac97_patch.c int err; err 2535 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_ad198x_2cmic, 1)) < 0) err 2536 sound/pci/ac97/ac97_patch.c return err; err 2633 sound/pci/ac97/ac97_patch.c int err; err 2635 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, snd_ac97_controls_alc650, ARRAY_SIZE(snd_ac97_controls_alc650))) < 0) err 2636 sound/pci/ac97/ac97_patch.c return err; err 2638 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, snd_ac97_spdif_controls_alc650, ARRAY_SIZE(snd_ac97_spdif_controls_alc650))) < 0) err 2639 sound/pci/ac97/ac97_patch.c return err; err 2788 sound/pci/ac97/ac97_patch.c int err; err 2790 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, snd_ac97_controls_alc655, ARRAY_SIZE(snd_ac97_controls_alc655))) < 0) err 2791 sound/pci/ac97/ac97_patch.c return err; err 2793 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, snd_ac97_spdif_controls_alc655, ARRAY_SIZE(snd_ac97_spdif_controls_alc655))) < 0) err 2794 sound/pci/ac97/ac97_patch.c return err; err 2898 sound/pci/ac97/ac97_patch.c int err; err 2900 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, snd_ac97_controls_alc850, ARRAY_SIZE(snd_ac97_controls_alc850))) < 0) err 2901 sound/pci/ac97/ac97_patch.c return err; err 2903 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, snd_ac97_spdif_controls_alc655, ARRAY_SIZE(snd_ac97_spdif_controls_alc655))) < 0) err 2904 sound/pci/ac97/ac97_patch.c return err; err 3397 sound/pci/ac97/ac97_patch.c int err; err 3402 sound/pci/ac97/ac97_patch.c err = snd_ctl_add(ac97->bus->card, kctl); err 3403 sound/pci/ac97/ac97_patch.c if (err < 0) err 3404 sound/pci/ac97/ac97_patch.c return err; err 3414 sound/pci/ac97/ac97_patch.c err = snd_ctl_add_slave(kctl, sctl); err 3415 sound/pci/ac97/ac97_patch.c if (err < 0) err 3416 sound/pci/ac97/ac97_patch.c return err; err 3424 sound/pci/ac97/ac97_patch.c int err; err 3427 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_controls_vt1616[0], 1)) < 0) err 3428 sound/pci/ac97/ac97_patch.c return err; err 3429 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, &snd_ac97_controls_vt1616[1], ARRAY_SIZE(snd_ac97_controls_vt1616) - 1)) < 0) err 3430 sound/pci/ac97/ac97_patch.c return err; err 3439 sound/pci/ac97/ac97_patch.c err = snd_ac97_add_vmaster(ac97, "Master Playback Volume", err 3441 sound/pci/ac97/ac97_patch.c if (err < 0) err 3442 sound/pci/ac97/ac97_patch.c return err; err 3444 sound/pci/ac97/ac97_patch.c err = snd_ac97_add_vmaster(ac97, "Master Playback Switch", err 3446 sound/pci/ac97/ac97_patch.c if (err < 0) err 3447 sound/pci/ac97/ac97_patch.c return err; err 3553 sound/pci/ac97/ac97_patch.c int err = 0; err 3559 sound/pci/ac97/ac97_patch.c err = patch_build_controls(ac97, &snd_ac97_controls_vt1617a[0], err 3576 sound/pci/ac97/ac97_patch.c return err; err 3798 sound/pci/ac97/ac97_patch.c int err; err 3799 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, snd_ac97_controls_it2646, ARRAY_SIZE(snd_ac97_controls_it2646))) < 0) err 3800 sound/pci/ac97/ac97_patch.c return err; err 3801 sound/pci/ac97/ac97_patch.c if ((err = patch_build_controls(ac97, snd_ac97_spdif_controls_it2646, ARRAY_SIZE(snd_ac97_spdif_controls_it2646))) < 0) err 3802 sound/pci/ac97/ac97_patch.c return err; err 3833 sound/pci/ac97/ac97_patch.c int idx, err; err 3835 sound/pci/ac97/ac97_patch.c if ((err = snd_ctl_add(ac97->bus->card, snd_ctl_new1(&snd_ac97_controls_si3036[idx], ac97))) < 0) err 3836 sound/pci/ac97/ac97_patch.c return err; err 3900 sound/pci/ac97/ac97_patch.c int idx, err; err 3902 sound/pci/ac97/ac97_patch.c if ((err = snd_ctl_add(ac97->bus->card, snd_ctl_new1(&snd_ac97_controls_ucb1400[idx], ac97))) < 0) err 3903 sound/pci/ac97/ac97_patch.c return err; err 572 sound/pci/ac97/ac97_pcm.c int err = 0; err 579 sound/pci/ac97/ac97_pcm.c err = set_spdif_rate(bus->codec[cidx], rate); err 580 sound/pci/ac97/ac97_pcm.c if (err < 0) err 581 sound/pci/ac97/ac97_pcm.c return err; err 592 sound/pci/ac97/ac97_pcm.c err = -EBUSY; err 603 sound/pci/ac97/ac97_pcm.c err = -EAGAIN; err 622 sound/pci/ac97/ac97_pcm.c err = snd_ac97_set_rate(pcm->r[r].codec[cidx], reg, rate); err 623 sound/pci/ac97/ac97_pcm.c if (err < 0) err 624 sound/pci/ac97/ac97_pcm.c snd_printk(KERN_ERR "error in snd_ac97_set_rate: cidx=%d, reg=0x%x, rate=%d, err=%d\n", cidx, reg, rate, err); err 636 sound/pci/ac97/ac97_pcm.c return err; err 723 sound/pci/ac97/ac97_pcm.c int err; err 725 sound/pci/ac97/ac97_pcm.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, err 728 sound/pci/ac97/ac97_pcm.c if (err < 0) err 729 sound/pci/ac97/ac97_pcm.c return err; err 730 sound/pci/ac97/ac97_pcm.c err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, err 733 sound/pci/ac97/ac97_pcm.c return err; err 629 sound/pci/ad1889.c int err; err 635 sound/pci/ad1889.c err = snd_pcm_new(chip->card, chip->card->driver, device, 1, 1, &pcm); err 636 sound/pci/ad1889.c if (err < 0) err 637 sound/pci/ad1889.c return err; err 652 sound/pci/ad1889.c err = snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV, err 657 sound/pci/ad1889.c if (err < 0) { err 658 sound/pci/ad1889.c snd_printk(KERN_ERR PFX "buffer allocation error: %d\n", err); err 659 sound/pci/ad1889.c return err; err 810 sound/pci/ad1889.c int err; err 820 sound/pci/ad1889.c err = snd_ac97_bus(chip->card, 0, &ops, chip, &chip->ac97_bus); err 821 sound/pci/ad1889.c if (err < 0) err 822 sound/pci/ad1889.c return err; err 831 sound/pci/ad1889.c err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97); err 832 sound/pci/ad1889.c if (err < 0) err 833 sound/pci/ad1889.c return err; err 899 sound/pci/ad1889.c int err; err 908 sound/pci/ad1889.c if ((err = pci_enable_device(pci)) < 0) err 909 sound/pci/ad1889.c return err; err 931 sound/pci/ad1889.c if ((err = pci_request_regions(pci, card->driver)) < 0) err 938 sound/pci/ad1889.c err = -EBUSY; err 957 sound/pci/ad1889.c if ((err = snd_ad1889_init(chip)) < 0) { err 959 sound/pci/ad1889.c return err; err 962 sound/pci/ad1889.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 964 sound/pci/ad1889.c return err; err 977 sound/pci/ad1889.c return err; err 984 sound/pci/ad1889.c int err; err 1007 sound/pci/ad1889.c err = snd_ad1889_create(card, pci, &chip); err 1008 sound/pci/ad1889.c if (err < 0) err 1017 sound/pci/ad1889.c err = snd_ad1889_ac97_init(chip, ac97_quirk[devno]); err 1018 sound/pci/ad1889.c if (err < 0) err 1021 sound/pci/ad1889.c err = snd_ad1889_pcm_init(chip, 0, NULL); err 1022 sound/pci/ad1889.c if (err < 0) err 1029 sound/pci/ad1889.c err = snd_card_register(card); err 1030 sound/pci/ad1889.c if (err < 0) err 1041 sound/pci/ad1889.c return err; err 389 sound/pci/ak4531_codec.c int err; err 404 sound/pci/ak4531_codec.c if ((err = snd_component_add(card, "AK4531")) < 0) { err 406 sound/pci/ak4531_codec.c return err; err 418 sound/pci/ak4531_codec.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_ak4531_controls[idx], ak4531))) < 0) { err 420 sound/pci/ak4531_codec.c return err; err 424 sound/pci/ak4531_codec.c if ((err = snd_device_new(card, SNDRV_DEV_CODEC, ak4531, &ops)) < 0) { err 426 sound/pci/ak4531_codec.c return err; err 1230 sound/pci/ali5451/ali5451.c int err; err 1232 sound/pci/ali5451/ali5451.c err = snd_pcm_lib_malloc_pages(substream, err 1234 sound/pci/ali5451/ali5451.c if (err < 0) err 1235 sound/pci/ali5451/ali5451.c return err; err 1682 sound/pci/ali5451/ali5451.c int err = snd_ali_open(substream, rec, channel, &snd_ali_modem); err 1684 sound/pci/ali5451/ali5451.c if (err) err 1685 sound/pci/ali5451/ali5451.c return err; err 1744 sound/pci/ali5451/ali5451.c int err; err 1746 sound/pci/ali5451/ali5451.c err = snd_pcm_new(codec->card, desc->name, device, err 1748 sound/pci/ali5451/ali5451.c if (err < 0) { err 1750 sound/pci/ali5451/ali5451.c return err; err 1791 sound/pci/ali5451/ali5451.c int i, err; err 1793 sound/pci/ali5451/ali5451.c err = snd_ali_pcm(codec, i, &ali_pcms[i]); err 1794 sound/pci/ali5451/ali5451.c if (err < 0) err 1795 sound/pci/ali5451/ali5451.c return err; err 1908 sound/pci/ali5451/ali5451.c int i, err; err 1914 sound/pci/ali5451/ali5451.c err = snd_ac97_bus(codec->card, 0, &ops, codec, &codec->ac97_bus); err 1915 sound/pci/ali5451/ali5451.c if (err < 0) err 1916 sound/pci/ali5451/ali5451.c return err; err 1923 sound/pci/ali5451/ali5451.c err = snd_ac97_mixer(codec->ac97_bus, &ac97, &codec->ac97[i]); err 1924 sound/pci/ali5451/ali5451.c if (err < 0) { err 1928 sound/pci/ali5451/ali5451.c return err; err 1936 sound/pci/ali5451/ali5451.c err = snd_ctl_add(codec->card, err 1938 sound/pci/ali5451/ali5451.c if (err < 0) err 1939 sound/pci/ali5451/ali5451.c return err; err 2143 sound/pci/ali5451/ali5451.c int err; err 2146 sound/pci/ali5451/ali5451.c err = pci_request_regions(codec->pci, "ALI 5451"); err 2147 sound/pci/ali5451/ali5451.c if (err < 0) err 2148 sound/pci/ali5451/ali5451.c return err; err 2174 sound/pci/ali5451/ali5451.c int i, err; err 2185 sound/pci/ali5451/ali5451.c err = pci_enable_device(pci); err 2186 sound/pci/ali5451/ali5451.c if (err < 0) err 2187 sound/pci/ali5451/ali5451.c return err; err 2269 sound/pci/ali5451/ali5451.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, codec, &ops); err 2270 sound/pci/ali5451/ali5451.c if (err < 0) { err 2272 sound/pci/ali5451/ali5451.c return err; err 2281 sound/pci/ali5451/ali5451.c err = snd_ali_chip_init(codec); err 2282 sound/pci/ali5451/ali5451.c if (err < 0) { err 2284 sound/pci/ali5451/ali5451.c return err; err 2306 sound/pci/ali5451/ali5451.c int err; err 2314 sound/pci/ali5451/ali5451.c err = snd_ali_create(card, pci, pcm_channels, spdif, &codec); err 2315 sound/pci/ali5451/ali5451.c if (err < 0) err 2320 sound/pci/ali5451/ali5451.c err = snd_ali_mixer(codec); err 2321 sound/pci/ali5451/ali5451.c if (err < 0) err 2325 sound/pci/ali5451/ali5451.c err = snd_ali_build_pcms(codec); err 2326 sound/pci/ali5451/ali5451.c if (err < 0) err 2338 sound/pci/ali5451/ali5451.c err = snd_card_register(card); err 2339 sound/pci/ali5451/ali5451.c if (err < 0) err 2347 sound/pci/ali5451/ali5451.c return err; err 321 sound/pci/als300.c int err; err 328 sound/pci/als300.c if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &bus)) < 0) err 329 sound/pci/als300.c return err; err 617 sound/pci/als300.c int err; err 620 sound/pci/als300.c err = snd_pcm_new(chip->card, "ALS300", 0, 1, 1, &pcm); err 621 sound/pci/als300.c if (err < 0) err 622 sound/pci/als300.c return err; err 681 sound/pci/als300.c int err; err 689 sound/pci/als300.c if ((err = pci_enable_device(pci)) < 0) err 690 sound/pci/als300.c return err; err 712 sound/pci/als300.c if ((err = pci_request_regions(pci, "ALS300")) < 0) { err 715 sound/pci/als300.c return err; err 735 sound/pci/als300.c err = snd_als300_ac97(chip); err 736 sound/pci/als300.c if (err < 0) { err 739 sound/pci/als300.c return err; err 742 sound/pci/als300.c if ((err = snd_als300_new_pcm(chip)) < 0) { err 745 sound/pci/als300.c return err; err 748 sound/pci/als300.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, err 751 sound/pci/als300.c return err; err 806 sound/pci/als300.c int err, chip_type; err 822 sound/pci/als300.c if ((err = snd_als300_create(card, pci, chip_type, &chip)) < 0) { err 824 sound/pci/als300.c return err; err 839 sound/pci/als300.c if ((err = snd_card_register(card)) < 0) { err 841 sound/pci/als300.c return err; err 701 sound/pci/als4000.c int err; err 703 sound/pci/als4000.c err = snd_pcm_new(chip->card, "ALS4000 DSP", device, 1, 1, &pcm); err 704 sound/pci/als4000.c if (err < 0) err 705 sound/pci/als4000.c return err; err 861 sound/pci/als4000.c int err; err 871 sound/pci/als4000.c if ((err = pci_enable_device(pci)) < 0) { err 872 sound/pci/als4000.c return err; err 882 sound/pci/als4000.c if ((err = pci_request_regions(pci, "ALS4000")) < 0) { err 884 sound/pci/als4000.c return err; err 908 sound/pci/als4000.c if ((err = snd_sbdsp_create(card, err 932 sound/pci/als4000.c if ((err = snd_mpu401_uart_new( card, 0, MPU401_HW_ALS4000, err 946 sound/pci/als4000.c if ((err = snd_als4000_pcm(chip, 0)) < 0) { err 949 sound/pci/als4000.c if ((err = snd_sbmixer_new(chip)) < 0) { err 961 sound/pci/als4000.c if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { err 968 sound/pci/als4000.c if ((err = snd_card_register(card)) < 0) { err 973 sound/pci/als4000.c err = 0; err 980 sound/pci/als4000.c return err; err 724 sound/pci/atiixp.c int err = 0; err 747 sound/pci/atiixp.c err = -EINVAL; err 750 sound/pci/atiixp.c if (! err) { err 758 sound/pci/atiixp.c return err; err 959 sound/pci/atiixp.c int err; err 961 sound/pci/atiixp.c err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params)); err 962 sound/pci/atiixp.c if (err < 0) err 963 sound/pci/atiixp.c return err; err 967 sound/pci/atiixp.c err = atiixp_build_dma_packets(chip, dma, substream, err 970 sound/pci/atiixp.c if (err < 0) err 971 sound/pci/atiixp.c return err; err 982 sound/pci/atiixp.c err = snd_ac97_pcm_open(pcm, params_rate(hw_params), err 985 sound/pci/atiixp.c if (err >= 0) err 989 sound/pci/atiixp.c return err; err 1036 sound/pci/atiixp.c int err; err 1053 sound/pci/atiixp.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) err 1054 sound/pci/atiixp.c return err; err 1086 sound/pci/atiixp.c int err; err 1089 sound/pci/atiixp.c err = snd_atiixp_pcm_open(substream, &chip->dmas[ATI_DMA_PLAYBACK], 0); err 1091 sound/pci/atiixp.c if (err < 0) err 1092 sound/pci/atiixp.c return err; err 1104 sound/pci/atiixp.c int err; err 1106 sound/pci/atiixp.c err = snd_atiixp_pcm_close(substream, &chip->dmas[ATI_DMA_PLAYBACK]); err 1108 sound/pci/atiixp.c return err; err 1126 sound/pci/atiixp.c int err; err 1129 sound/pci/atiixp.c err = snd_atiixp_pcm_open(substream, &chip->dmas[ATI_DMA_PLAYBACK], 2); err 1131 sound/pci/atiixp.c err = snd_atiixp_pcm_open(substream, &chip->dmas[ATI_DMA_SPDIF], -1); err 1133 sound/pci/atiixp.c return err; err 1139 sound/pci/atiixp.c int err; err 1142 sound/pci/atiixp.c err = snd_atiixp_pcm_close(substream, &chip->dmas[ATI_DMA_PLAYBACK]); err 1144 sound/pci/atiixp.c err = snd_atiixp_pcm_close(substream, &chip->dmas[ATI_DMA_SPDIF]); err 1146 sound/pci/atiixp.c return err; err 1253 sound/pci/atiixp.c int err, i, num_pcms; err 1266 sound/pci/atiixp.c err = snd_ac97_pcm_assign(pbus, num_pcms, atiixp_pcm_defs); err 1267 sound/pci/atiixp.c if (err < 0) err 1268 sound/pci/atiixp.c return err; err 1281 sound/pci/atiixp.c err = snd_pcm_new(chip->card, "ATI IXP AC97", err 1283 sound/pci/atiixp.c if (err < 0) err 1284 sound/pci/atiixp.c return err; err 1304 sound/pci/atiixp.c err = snd_pcm_new(chip->card, "ATI IXP IEC958", err 1306 sound/pci/atiixp.c if (err < 0) err 1307 sound/pci/atiixp.c return err; err 1404 sound/pci/atiixp.c int i, err; err 1419 sound/pci/atiixp.c if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0) err 1420 sound/pci/atiixp.c return err; err 1435 sound/pci/atiixp.c if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) { err 1590 sound/pci/atiixp.c int err; err 1592 sound/pci/atiixp.c if ((err = pci_enable_device(pci)) < 0) err 1593 sound/pci/atiixp.c return err; err 1606 sound/pci/atiixp.c if ((err = pci_request_regions(pci, "ATI IXP AC97")) < 0) { err 1609 sound/pci/atiixp.c return err; err 1629 sound/pci/atiixp.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 1631 sound/pci/atiixp.c return err; err 1646 sound/pci/atiixp.c int err; err 1654 sound/pci/atiixp.c if ((err = snd_atiixp_create(card, pci, &chip)) < 0) err 1658 sound/pci/atiixp.c if ((err = snd_atiixp_aclink_reset(chip)) < 0) err 1663 sound/pci/atiixp.c if ((err = snd_atiixp_mixer_new(chip, ac97_clock, ac97_quirk)) < 0) err 1666 sound/pci/atiixp.c if ((err = snd_atiixp_pcm_new(chip)) < 0) err 1679 sound/pci/atiixp.c if ((err = snd_card_register(card)) < 0) err 1687 sound/pci/atiixp.c return err; err 675 sound/pci/atiixp_modem.c int err = 0; err 692 sound/pci/atiixp_modem.c err = -EINVAL; err 695 sound/pci/atiixp_modem.c if (! err) { err 703 sound/pci/atiixp_modem.c return err; err 797 sound/pci/atiixp_modem.c int err; err 800 sound/pci/atiixp_modem.c err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params)); err 801 sound/pci/atiixp_modem.c if (err < 0) err 802 sound/pci/atiixp_modem.c return err; err 806 sound/pci/atiixp_modem.c err = atiixp_build_dma_packets(chip, dma, substream, err 809 sound/pci/atiixp_modem.c if (err < 0) err 810 sound/pci/atiixp_modem.c return err; err 820 sound/pci/atiixp_modem.c return err; err 862 sound/pci/atiixp_modem.c int err; err 878 sound/pci/atiixp_modem.c if ((err = snd_pcm_hw_constraint_list(runtime, 0, err 881 sound/pci/atiixp_modem.c return err; err 882 sound/pci/atiixp_modem.c if ((err = snd_pcm_hw_constraint_integer(runtime, err 884 sound/pci/atiixp_modem.c return err; err 916 sound/pci/atiixp_modem.c int err; err 919 sound/pci/atiixp_modem.c err = snd_atiixp_pcm_open(substream, &chip->dmas[ATI_DMA_PLAYBACK], 0); err 921 sound/pci/atiixp_modem.c if (err < 0) err 922 sound/pci/atiixp_modem.c return err; err 929 sound/pci/atiixp_modem.c int err; err 931 sound/pci/atiixp_modem.c err = snd_atiixp_pcm_close(substream, &chip->dmas[ATI_DMA_PLAYBACK]); err 933 sound/pci/atiixp_modem.c return err; err 994 sound/pci/atiixp_modem.c int err; err 1001 sound/pci/atiixp_modem.c err = snd_pcm_new(chip->card, "ATI IXP MC97", ATI_PCMDEV_ANALOG, 1, 1, &pcm); err 1002 sound/pci/atiixp_modem.c if (err < 0) err 1003 sound/pci/atiixp_modem.c return err; err 1068 sound/pci/atiixp_modem.c int i, err; err 1083 sound/pci/atiixp_modem.c if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0) err 1084 sound/pci/atiixp_modem.c return err; err 1097 sound/pci/atiixp_modem.c if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) { err 1233 sound/pci/atiixp_modem.c int err; err 1235 sound/pci/atiixp_modem.c if ((err = pci_enable_device(pci)) < 0) err 1236 sound/pci/atiixp_modem.c return err; err 1249 sound/pci/atiixp_modem.c if ((err = pci_request_regions(pci, "ATI IXP MC97")) < 0) { err 1252 sound/pci/atiixp_modem.c return err; err 1272 sound/pci/atiixp_modem.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 1274 sound/pci/atiixp_modem.c return err; err 1289 sound/pci/atiixp_modem.c int err; err 1297 sound/pci/atiixp_modem.c if ((err = snd_atiixp_create(card, pci, &chip)) < 0) err 1301 sound/pci/atiixp_modem.c if ((err = snd_atiixp_aclink_reset(chip)) < 0) err 1304 sound/pci/atiixp_modem.c if ((err = snd_atiixp_mixer_new(chip, ac97_clock)) < 0) err 1307 sound/pci/atiixp_modem.c if ((err = snd_atiixp_pcm_new(chip)) < 0) err 1317 sound/pci/atiixp_modem.c if ((err = snd_card_register(card)) < 0) err 1325 sound/pci/atiixp_modem.c return err; err 144 sound/pci/au88x0/au88x0.c int err; err 152 sound/pci/au88x0/au88x0.c if ((err = pci_enable_device(pci)) < 0) err 153 sound/pci/au88x0/au88x0.c return err; err 180 sound/pci/au88x0/au88x0.c if ((err = pci_request_regions(pci, CARD_NAME_SHORT)) != 0) err 187 sound/pci/au88x0/au88x0.c err = -ENOMEM; err 194 sound/pci/au88x0/au88x0.c if ((err = vortex_core_init(chip)) != 0) { err 199 sound/pci/au88x0/au88x0.c if ((err = request_irq(pci->irq, vortex_interrupt, err 211 sound/pci/au88x0/au88x0.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 234 sound/pci/au88x0/au88x0.c return err; err 244 sound/pci/au88x0/au88x0.c int err; err 259 sound/pci/au88x0/au88x0.c if ((err = snd_vortex_create(card, pci, &chip)) < 0) { err 261 sound/pci/au88x0/au88x0.c return err; err 273 sound/pci/au88x0/au88x0.c if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_ADB)) < 0) { err 275 sound/pci/au88x0/au88x0.c return err; err 279 sound/pci/au88x0/au88x0.c if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_SPDIF, 1)) < 0) { err 281 sound/pci/au88x0/au88x0.c return err; err 284 sound/pci/au88x0/au88x0.c if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_A3D, NR_A3D)) < 0) { err 286 sound/pci/au88x0/au88x0.c return err; err 298 sound/pci/au88x0/au88x0.c if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_WT, NR_WT)) < 0) { err 300 sound/pci/au88x0/au88x0.c return err; err 304 sound/pci/au88x0/au88x0.c if ((err = snd_vortex_mixer(chip)) < 0) { err 306 sound/pci/au88x0/au88x0.c return err; err 308 sound/pci/au88x0/au88x0.c if ((err = snd_vortex_midi(chip)) < 0) { err 310 sound/pci/au88x0/au88x0.c return err; err 333 sound/pci/au88x0/au88x0.c if ((err = pci_read_config_word(pci, PCI_DEVICE_ID, err 336 sound/pci/au88x0/au88x0.c return err; err 338 sound/pci/au88x0/au88x0.c if ((err = pci_read_config_word(pci, PCI_VENDOR_ID, err 341 sound/pci/au88x0/au88x0.c return err; err 352 sound/pci/au88x0/au88x0.c err = -ENODEV; err 353 sound/pci/au88x0/au88x0.c return err; err 358 sound/pci/au88x0/au88x0.c if ((err = snd_card_register(card)) < 0) { err 360 sound/pci/au88x0/au88x0.c return err; err 860 sound/pci/au88x0/au88x0_a3d.c int err, i; err 869 sound/pci/au88x0/au88x0_a3d.c if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) err 870 sound/pci/au88x0/au88x0_a3d.c return err; err 880 sound/pci/au88x0/au88x0_a3d.c if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) err 881 sound/pci/au88x0/au88x0_a3d.c return err; err 891 sound/pci/au88x0/au88x0_a3d.c if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) err 892 sound/pci/au88x0/au88x0_a3d.c return err; err 902 sound/pci/au88x0/au88x0_a3d.c if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) err 903 sound/pci/au88x0/au88x0_a3d.c return err; err 883 sound/pci/au88x0/au88x0_eq.c int err, i; err 891 sound/pci/au88x0/au88x0_eq.c if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) err 892 sound/pci/au88x0/au88x0_eq.c return err; err 901 sound/pci/au88x0/au88x0_eq.c if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) err 902 sound/pci/au88x0/au88x0_eq.c return err; err 908 sound/pci/au88x0/au88x0_eq.c if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) err 909 sound/pci/au88x0/au88x0_eq.c return err; err 17 sound/pci/au88x0/au88x0_mixer.c int err; err 23 sound/pci/au88x0/au88x0_mixer.c if ((err = snd_ac97_bus(vortex->card, 0, &ops, NULL, &pbus)) < 0) err 24 sound/pci/au88x0/au88x0_mixer.c return err; err 29 sound/pci/au88x0/au88x0_mixer.c err = snd_ac97_mixer(pbus, &ac97, &vortex->codec); err 31 sound/pci/au88x0/au88x0_mixer.c return err; err 123 sound/pci/au88x0/au88x0_pcm.c int err; err 126 sound/pci/au88x0/au88x0_pcm.c if ((err = err 129 sound/pci/au88x0/au88x0_pcm.c return err; err 131 sound/pci/au88x0/au88x0_pcm.c if ((err = err 134 sound/pci/au88x0/au88x0_pcm.c return err; err 192 sound/pci/au88x0/au88x0_pcm.c int err; err 195 sound/pci/au88x0/au88x0_pcm.c err = err 197 sound/pci/au88x0/au88x0_pcm.c if (err < 0) { err 199 sound/pci/au88x0/au88x0_pcm.c return err; err 496 sound/pci/au88x0/au88x0_pcm.c int err, nr_capt; err 507 sound/pci/au88x0/au88x0_pcm.c err = snd_pcm_new(chip->card, vortex_pcm_prettyname[idx], idx, nr, err 509 sound/pci/au88x0/au88x0_pcm.c if (err < 0) err 510 sound/pci/au88x0/au88x0_pcm.c return err; err 534 sound/pci/au88x0/au88x0_pcm.c if ((err = snd_ctl_add(chip->card, kctl)) < 0) err 535 sound/pci/au88x0/au88x0_pcm.c return err; err 268 sound/pci/aw2/aw2-alsa.c int err; err 276 sound/pci/aw2/aw2-alsa.c err = pci_enable_device(pci); err 277 sound/pci/aw2/aw2-alsa.c if (err < 0) err 278 sound/pci/aw2/aw2-alsa.c return err; err 300 sound/pci/aw2/aw2-alsa.c err = pci_request_regions(pci, "Audiowerk2"); err 301 sound/pci/aw2/aw2-alsa.c if (err < 0) { err 304 sound/pci/aw2/aw2-alsa.c return err; err 334 sound/pci/aw2/aw2-alsa.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops); err 335 sound/pci/aw2/aw2-alsa.c if (err < 0) { err 341 sound/pci/aw2/aw2-alsa.c return err; err 360 sound/pci/aw2/aw2-alsa.c int err; err 376 sound/pci/aw2/aw2-alsa.c err = snd_aw2_create(card, pci, &chip); err 377 sound/pci/aw2/aw2-alsa.c if (err < 0) { err 379 sound/pci/aw2/aw2-alsa.c return err; err 397 sound/pci/aw2/aw2-alsa.c err = snd_card_register(card); err 398 sound/pci/aw2/aw2-alsa.c if (err < 0) { err 400 sound/pci/aw2/aw2-alsa.c return err; err 619 sound/pci/aw2/aw2-alsa.c int err = 0; err 623 sound/pci/aw2/aw2-alsa.c err = snd_pcm_new(chip->card, "Audiowerk2 analog playback", 0, 1, 0, err 625 sound/pci/aw2/aw2-alsa.c if (err < 0) { err 626 sound/pci/aw2/aw2-alsa.c printk(KERN_ERR "aw2: snd_pcm_new error (0x%X)\n", err); err 627 sound/pci/aw2/aw2-alsa.c return err; err 650 sound/pci/aw2/aw2-alsa.c err = snd_pcm_lib_preallocate_pages_for_all(pcm_playback_ana, err 655 sound/pci/aw2/aw2-alsa.c if (err) err 657 sound/pci/aw2/aw2-alsa.c "error (0x%X)\n", err); err 659 sound/pci/aw2/aw2-alsa.c err = snd_pcm_new(chip->card, "Audiowerk2 digital playback", 1, 1, 0, err 662 sound/pci/aw2/aw2-alsa.c if (err < 0) { err 663 sound/pci/aw2/aw2-alsa.c printk(KERN_ERR "aw2: snd_pcm_new error (0x%X)\n", err); err 664 sound/pci/aw2/aw2-alsa.c return err; err 686 sound/pci/aw2/aw2-alsa.c err = snd_pcm_lib_preallocate_pages_for_all(pcm_playback_num, err 691 sound/pci/aw2/aw2-alsa.c if (err) err 694 sound/pci/aw2/aw2-alsa.c "(0x%X)\n", err); err 698 sound/pci/aw2/aw2-alsa.c err = snd_pcm_new(chip->card, "Audiowerk2 capture", 2, 0, 1, err 701 sound/pci/aw2/aw2-alsa.c if (err < 0) { err 702 sound/pci/aw2/aw2-alsa.c printk(KERN_ERR "aw2: snd_pcm_new error (0x%X)\n", err); err 703 sound/pci/aw2/aw2-alsa.c return err; err 726 sound/pci/aw2/aw2-alsa.c err = snd_pcm_lib_preallocate_pages_for_all(pcm_capture, err 731 sound/pci/aw2/aw2-alsa.c if (err) err 734 sound/pci/aw2/aw2-alsa.c "(0x%X)\n", err); err 738 sound/pci/aw2/aw2-alsa.c err = snd_ctl_add(chip->card, snd_ctl_new1(&aw2_control, chip)); err 739 sound/pci/aw2/aw2-alsa.c if (err < 0) { err 740 sound/pci/aw2/aw2-alsa.c printk(KERN_ERR "aw2: snd_ctl_add error (0x%X)\n", err); err 741 sound/pci/aw2/aw2-alsa.c return err; err 816 sound/pci/azt3328.c int err; err 838 sound/pci/azt3328.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(sw, chip))) < 0) err 839 sound/pci/azt3328.c return err; err 1852 sound/pci/azt3328.c int err; err 1855 sound/pci/azt3328.c if ((err = snd_pcm_new(chip->card, "AZF3328 DSP", device, 1, 1, &pcm)) < 0) err 1856 sound/pci/azt3328.c return err; err 1954 sound/pci/azt3328.c int err; err 1966 sound/pci/azt3328.c err = snd_timer_new(chip->card, "AZF3328", &tid, &timer); err 1967 sound/pci/azt3328.c if (err < 0) err 1978 sound/pci/azt3328.c err = 0; err 1982 sound/pci/azt3328.c return err; err 2105 sound/pci/azt3328.c int err; err 2113 sound/pci/azt3328.c err = pci_enable_device(pci); err 2114 sound/pci/azt3328.c if (err < 0) err 2115 sound/pci/azt3328.c return err; err 2119 sound/pci/azt3328.c err = -ENOMEM; err 2133 sound/pci/azt3328.c err = -ENXIO; err 2137 sound/pci/azt3328.c err = pci_request_regions(pci, "Aztech AZF3328"); err 2138 sound/pci/azt3328.c if (err < 0) err 2153 sound/pci/azt3328.c err = -EBUSY; err 2162 sound/pci/azt3328.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops); err 2163 sound/pci/azt3328.c if (err < 0) err 2167 sound/pci/azt3328.c err = snd_azf3328_mixer_new(chip); err 2168 sound/pci/azt3328.c if (err < 0) err 2190 sound/pci/azt3328.c err = 0; err 2199 sound/pci/azt3328.c return err; err 2209 sound/pci/azt3328.c int err; err 2226 sound/pci/azt3328.c err = snd_azf3328_create(card, pci, pci_id->driver_data, &chip); err 2227 sound/pci/azt3328.c if (err < 0) err 2232 sound/pci/azt3328.c err = snd_mpu401_uart_new( err 2236 sound/pci/azt3328.c if (err < 0) { err 2243 sound/pci/azt3328.c err = snd_azf3328_timer(chip, 0); err 2244 sound/pci/azt3328.c if (err < 0) err 2247 sound/pci/azt3328.c err = snd_azf3328_pcm(chip, 0); err 2248 sound/pci/azt3328.c if (err < 0) err 2258 sound/pci/azt3328.c err = snd_opl3_timer_new(opl3, 1, 2); err 2259 sound/pci/azt3328.c if (err < 0) err 2261 sound/pci/azt3328.c err = snd_opl3_hwdep_new(opl3, 0, 1, NULL); err 2262 sound/pci/azt3328.c if (err < 0) err 2271 sound/pci/azt3328.c err = snd_card_register(card); err 2272 sound/pci/azt3328.c if (err < 0) err 2289 sound/pci/azt3328.c err = 0; err 2298 sound/pci/azt3328.c return err; err 2396 sound/pci/azt3328.c int err; err 2398 sound/pci/azt3328.c err = pci_register_driver(&driver); err 2400 sound/pci/azt3328.c return err; err 415 sound/pci/bt87x.c int err; err 421 sound/pci/bt87x.c err = snd_bt87x_set_digital_hw(chip, runtime); err 423 sound/pci/bt87x.c err = snd_bt87x_set_analog_hw(chip, runtime); err 424 sound/pci/bt87x.c if (err < 0) err 427 sound/pci/bt87x.c err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS); err 428 sound/pci/bt87x.c if (err < 0) err 437 sound/pci/bt87x.c return err; err 459 sound/pci/bt87x.c int err; err 461 sound/pci/bt87x.c err = snd_pcm_lib_malloc_pages(substream, err 463 sound/pci/bt87x.c if (err < 0) err 464 sound/pci/bt87x.c return err; err 705 sound/pci/bt87x.c int err; err 708 sound/pci/bt87x.c err = snd_pcm_new(chip->card, name, device, 0, 1, &pcm); err 709 sound/pci/bt87x.c if (err < 0) err 710 sound/pci/bt87x.c return err; err 726 sound/pci/bt87x.c int err; err 733 sound/pci/bt87x.c err = pci_enable_device(pci); err 734 sound/pci/bt87x.c if (err < 0) err 735 sound/pci/bt87x.c return err; err 747 sound/pci/bt87x.c if ((err = pci_request_regions(pci, "Bt87x audio")) < 0) { err 750 sound/pci/bt87x.c return err; err 756 sound/pci/bt87x.c err = -ENOMEM; err 767 sound/pci/bt87x.c err = request_irq(pci->irq, snd_bt87x_interrupt, IRQF_SHARED, err 769 sound/pci/bt87x.c if (err < 0) { err 777 sound/pci/bt87x.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops); err 778 sound/pci/bt87x.c if (err < 0) err 787 sound/pci/bt87x.c return err; err 874 sound/pci/bt87x.c int err; err 878 sound/pci/bt87x.c err = snd_bt87x_detect_card(pci); err 879 sound/pci/bt87x.c if (err < 0) err 881 sound/pci/bt87x.c boardid = err; err 896 sound/pci/bt87x.c err = snd_bt87x_create(card, pci, &chip); err 897 sound/pci/bt87x.c if (err < 0) err 908 sound/pci/bt87x.c err = snd_bt87x_pcm(chip, DEVICE_DIGITAL, "Bt87x Digital"); err 909 sound/pci/bt87x.c if (err < 0) err 913 sound/pci/bt87x.c err = snd_bt87x_pcm(chip, DEVICE_ANALOG, "Bt87x Analog"); err 914 sound/pci/bt87x.c if (err < 0) err 916 sound/pci/bt87x.c err = snd_ctl_add(card, snd_ctl_new1( err 918 sound/pci/bt87x.c if (err < 0) err 920 sound/pci/bt87x.c err = snd_ctl_add(card, snd_ctl_new1( err 922 sound/pci/bt87x.c if (err < 0) err 924 sound/pci/bt87x.c err = snd_ctl_add(card, snd_ctl_new1( err 926 sound/pci/bt87x.c if (err < 0) err 941 sound/pci/bt87x.c err = snd_card_register(card); err 942 sound/pci/bt87x.c if (err < 0) err 951 sound/pci/bt87x.c return err; err 490 sound/pci/ca0106/ca0106_main.c int err; err 512 sound/pci/ca0106/ca0106_main.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) err 513 sound/pci/ca0106/ca0106_main.c return err; err 514 sound/pci/ca0106/ca0106_main.c if ((err = snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, 64)) < 0) err 515 sound/pci/ca0106/ca0106_main.c return err; err 523 sound/pci/ca0106/ca0106_main.c err = snd_ca0106_spi_write(chip, chip->spi_dac_reg[reg]); err 524 sound/pci/ca0106/ca0106_main.c if (err < 0) err 525 sound/pci/ca0106/ca0106_main.c return err; err 577 sound/pci/ca0106/ca0106_main.c int err; err 600 sound/pci/ca0106/ca0106_main.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) err 601 sound/pci/ca0106/ca0106_main.c return err; err 603 sound/pci/ca0106/ca0106_main.c if ((err = snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, 64)) < 0) err 604 sound/pci/ca0106/ca0106_main.c return err; err 1091 sound/pci/ca0106/ca0106_main.c int err; err 1097 sound/pci/ca0106/ca0106_main.c if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) err 1098 sound/pci/ca0106/ca0106_main.c return err; err 1211 sound/pci/ca0106/ca0106_main.c int err; err 1215 sound/pci/ca0106/ca0106_main.c if ((err = snd_pcm_new(emu->card, "ca0106", device, 1, 1, &pcm)) < 0) err 1216 sound/pci/ca0106/ca0106_main.c return err; err 1247 sound/pci/ca0106/ca0106_main.c if ((err = snd_pcm_lib_preallocate_pages(substream, err 1251 sound/pci/ca0106/ca0106_main.c return err; err 1257 sound/pci/ca0106/ca0106_main.c if ((err = snd_pcm_lib_preallocate_pages(substream, err 1261 sound/pci/ca0106/ca0106_main.c return err; err 1311 sound/pci/ca0106/ca0106_main.c int err; err 1319 sound/pci/ca0106/ca0106_main.c if ((err = pci_enable_device(pci)) < 0) err 1320 sound/pci/ca0106/ca0106_main.c return err; err 1535 sound/pci/ca0106/ca0106_main.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, err 1538 sound/pci/ca0106/ca0106_main.c return err; err 1580 sound/pci/ca0106/ca0106_main.c int err; err 1620 sound/pci/ca0106/ca0106_main.c if ((err = ca_midi_init(chip, midi, 0, name)) < 0) err 1621 sound/pci/ca0106/ca0106_main.c return err; err 1633 sound/pci/ca0106/ca0106_main.c int err; err 1646 sound/pci/ca0106/ca0106_main.c if ((err = snd_ca0106_create(dev, card, pci, &chip)) < 0) { err 1648 sound/pci/ca0106/ca0106_main.c return err; err 1651 sound/pci/ca0106/ca0106_main.c if ((err = snd_ca0106_pcm(chip, 0, NULL)) < 0) { err 1653 sound/pci/ca0106/ca0106_main.c return err; err 1655 sound/pci/ca0106/ca0106_main.c if ((err = snd_ca0106_pcm(chip, 1, NULL)) < 0) { err 1657 sound/pci/ca0106/ca0106_main.c return err; err 1659 sound/pci/ca0106/ca0106_main.c if ((err = snd_ca0106_pcm(chip, 2, NULL)) < 0) { err 1661 sound/pci/ca0106/ca0106_main.c return err; err 1663 sound/pci/ca0106/ca0106_main.c if ((err = snd_ca0106_pcm(chip, 3, NULL)) < 0) { err 1665 sound/pci/ca0106/ca0106_main.c return err; err 1668 sound/pci/ca0106/ca0106_main.c if ((err = snd_ca0106_ac97(chip)) < 0) { err 1670 sound/pci/ca0106/ca0106_main.c return err; err 1673 sound/pci/ca0106/ca0106_main.c if ((err = snd_ca0106_mixer(chip)) < 0) { err 1675 sound/pci/ca0106/ca0106_main.c return err; err 1679 sound/pci/ca0106/ca0106_main.c if ((err = snd_ca0106_midi(chip,CA0106_MIDI_CHAN_A)) < 0) { err 1681 sound/pci/ca0106/ca0106_main.c snd_printdd(" failed, err=0x%x\n",err); err 1682 sound/pci/ca0106/ca0106_main.c return err; err 1692 sound/pci/ca0106/ca0106_main.c if ((err = snd_card_register(card)) < 0) { err 1694 sound/pci/ca0106/ca0106_main.c return err; err 698 sound/pci/ca0106/ca0106_mixer.c int err; err 750 sound/pci/ca0106/ca0106_mixer.c err = snd_ctl_add(card, snd_ctl_new1(&snd_ca0106_capture_mic_line_in, emu)); err 752 sound/pci/ca0106/ca0106_mixer.c err = snd_ctl_add(card, snd_ctl_new1(&snd_ca0106_capture_line_in_side_out, emu)); err 753 sound/pci/ca0106/ca0106_mixer.c if (err < 0) err 754 sound/pci/ca0106/ca0106_mixer.c return err; err 292 sound/pci/ca0106/ca_midi.c int err; err 294 sound/pci/ca0106/ca_midi.c if ((err = snd_rawmidi_new(midi->get_dev_id_card(midi->dev_id), name, device, 1, 1, &rmidi)) < 0) err 295 sound/pci/ca0106/ca_midi.c return err; err 1244 sound/pci/cmipci.c int rate, err; err 1249 sound/pci/cmipci.c if ((err = save_mixer_state(cm)) < 0) err 1250 sound/pci/cmipci.c return err; err 1292 sound/pci/cmipci.c int err, do_spdif, do_ac3 = 0; err 1299 sound/pci/cmipci.c if ((err = setup_spdif_playback(cm, substream, do_spdif, do_ac3)) < 0) err 1300 sound/pci/cmipci.c return err; err 1308 sound/pci/cmipci.c int err, do_ac3; err 1314 sound/pci/cmipci.c if ((err = setup_spdif_playback(cm, substream, 1, do_ac3)) < 0) err 1315 sound/pci/cmipci.c return err; err 1660 sound/pci/cmipci.c int err; err 1662 sound/pci/cmipci.c if ((err = open_device_check(cm, CM_OPEN_PLAYBACK, substream)) < 0) err 1663 sound/pci/cmipci.c return err; err 1670 sound/pci/cmipci.c err = snd_pcm_hw_constraint_list(runtime, 0, err 1672 sound/pci/cmipci.c if (err < 0) err 1673 sound/pci/cmipci.c return err; err 1686 sound/pci/cmipci.c int err; err 1688 sound/pci/cmipci.c if ((err = open_device_check(cm, CM_OPEN_CAPTURE, substream)) < 0) err 1689 sound/pci/cmipci.c return err; err 1695 sound/pci/cmipci.c err = snd_pcm_hw_constraint_list(runtime, 0, err 1697 sound/pci/cmipci.c if (err < 0) err 1698 sound/pci/cmipci.c return err; err 1710 sound/pci/cmipci.c int err; err 1712 sound/pci/cmipci.c if ((err = open_device_check(cm, CM_OPEN_PLAYBACK2, substream)) < 0) /* use channel B */ err 1713 sound/pci/cmipci.c return err; err 1733 sound/pci/cmipci.c err = snd_pcm_hw_constraint_list(runtime, 0, err 1735 sound/pci/cmipci.c if (err < 0) err 1736 sound/pci/cmipci.c return err; err 1748 sound/pci/cmipci.c int err; err 1750 sound/pci/cmipci.c if ((err = open_device_check(cm, CM_OPEN_SPDIF_PLAYBACK, substream)) < 0) /* use channel A */ err 1751 sound/pci/cmipci.c return err; err 1775 sound/pci/cmipci.c int err; err 1777 sound/pci/cmipci.c if ((err = open_device_check(cm, CM_OPEN_SPDIF_CAPTURE, substream)) < 0) /* use channel B */ err 1778 sound/pci/cmipci.c return err; err 1895 sound/pci/cmipci.c int err; err 1897 sound/pci/cmipci.c err = snd_pcm_new(cm->card, cm->card->driver, device, 1, 1, &pcm); err 1898 sound/pci/cmipci.c if (err < 0) err 1899 sound/pci/cmipci.c return err; err 1918 sound/pci/cmipci.c int err; err 1920 sound/pci/cmipci.c err = snd_pcm_new(cm->card, cm->card->driver, device, 1, 0, &pcm); err 1921 sound/pci/cmipci.c if (err < 0) err 1922 sound/pci/cmipci.c return err; err 1940 sound/pci/cmipci.c int err; err 1942 sound/pci/cmipci.c err = snd_pcm_new(cm->card, cm->card->driver, device, 1, 1, &pcm); err 1943 sound/pci/cmipci.c if (err < 0) err 1944 sound/pci/cmipci.c return err; err 2665 sound/pci/cmipci.c int err; err 2684 sound/pci/cmipci.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_cmipci_mixers[idx], cm))) < 0) err 2685 sound/pci/cmipci.c return err; err 2691 sound/pci/cmipci.c err = snd_ctl_add(cm->card, snd_ctl_new1(sw, cm)); err 2692 sound/pci/cmipci.c if (err < 0) err 2693 sound/pci/cmipci.c return err; err 2696 sound/pci/cmipci.c err = snd_ctl_add(cm->card, snd_ctl_new1(&snd_cmipci_nomulti_switch, cm)); err 2697 sound/pci/cmipci.c if (err < 0) err 2698 sound/pci/cmipci.c return err; err 2704 sound/pci/cmipci.c err = snd_ctl_add(cm->card, snd_ctl_new1(sw, cm)); err 2705 sound/pci/cmipci.c if (err < 0) err 2706 sound/pci/cmipci.c return err; err 2709 sound/pci/cmipci.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_cmipci_spdif_default, cm))) < 0) err 2710 sound/pci/cmipci.c return err; err 2712 sound/pci/cmipci.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_cmipci_spdif_mask, cm))) < 0) err 2713 sound/pci/cmipci.c return err; err 2715 sound/pci/cmipci.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_cmipci_spdif_stream, cm))) < 0) err 2716 sound/pci/cmipci.c return err; err 2722 sound/pci/cmipci.c err = snd_ctl_add(cm->card, snd_ctl_new1(sw, cm)); err 2723 sound/pci/cmipci.c if (err < 0) err 2724 sound/pci/cmipci.c return err; err 2731 sound/pci/cmipci.c err = snd_ctl_add(cm->card, snd_ctl_new1(sw, cm)); err 2732 sound/pci/cmipci.c if (err < 0) err 2733 sound/pci/cmipci.c return err; err 2743 sound/pci/cmipci.c err = snd_ctl_add(cm->card, err 2745 sound/pci/cmipci.c if (err < 0) err 2746 sound/pci/cmipci.c return err; err 2960 sound/pci/cmipci.c int err; err 2968 sound/pci/cmipci.c err = snd_opl3_create(cm->card, iosynth, iosynth + 2, err 2971 sound/pci/cmipci.c err = -EIO; err 2973 sound/pci/cmipci.c if (err < 0) { err 2996 sound/pci/cmipci.c if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { err 2998 sound/pci/cmipci.c return err; err 3012 sound/pci/cmipci.c int err; err 3028 sound/pci/cmipci.c if ((err = pci_enable_device(pci)) < 0) err 3029 sound/pci/cmipci.c return err; err 3047 sound/pci/cmipci.c if ((err = pci_request_regions(pci, card->driver)) < 0) { err 3050 sound/pci/cmipci.c return err; err 3160 sound/pci/cmipci.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, cm, &ops)) < 0) { err 3162 sound/pci/cmipci.c return err; err 3198 sound/pci/cmipci.c err = snd_cmipci_create_fm(cm, fm_port[dev]); err 3199 sound/pci/cmipci.c if (err < 0) err 3200 sound/pci/cmipci.c return err; err 3210 sound/pci/cmipci.c if ((err = snd_cmipci_pcm_new(cm, pcm_index)) < 0) err 3211 sound/pci/cmipci.c return err; err 3213 sound/pci/cmipci.c if ((err = snd_cmipci_pcm2_new(cm, pcm_index)) < 0) err 3214 sound/pci/cmipci.c return err; err 3218 sound/pci/cmipci.c if ((err = snd_cmipci_pcm_spdif_new(cm, pcm_index)) < 0) err 3219 sound/pci/cmipci.c return err; err 3223 sound/pci/cmipci.c if ((err = snd_cmipci_mixer_new(cm, pcm_spdif_index)) < 0) err 3224 sound/pci/cmipci.c return err; err 3227 sound/pci/cmipci.c if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_CMIPCI, err 3266 sound/pci/cmipci.c int err; err 3293 sound/pci/cmipci.c if ((err = snd_cmipci_create(card, pci, dev, &cm)) < 0) { err 3295 sound/pci/cmipci.c return err; err 3299 sound/pci/cmipci.c if ((err = snd_card_register(card)) < 0) { err 3301 sound/pci/cmipci.c return err; err 972 sound/pci/cs4281.c int err; err 976 sound/pci/cs4281.c err = snd_pcm_new(chip->card, "CS4281", device, 1, 1, &pcm); err 977 sound/pci/cs4281.c if (err < 0) err 978 sound/pci/cs4281.c return err; err 1096 sound/pci/cs4281.c int err; err 1102 sound/pci/cs4281.c if ((err = snd_ac97_bus(card, 0, &ops, chip, &chip->ac97_bus)) < 0) err 1103 sound/pci/cs4281.c return err; err 1109 sound/pci/cs4281.c if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97)) < 0) err 1110 sound/pci/cs4281.c return err; err 1113 sound/pci/cs4281.c if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97_secondary)) < 0) err 1114 sound/pci/cs4281.c return err; err 1116 sound/pci/cs4281.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_cs4281_fm_vol, chip))) < 0) err 1117 sound/pci/cs4281.c return err; err 1118 sound/pci/cs4281.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_cs4281_pcm_vol, chip))) < 0) err 1119 sound/pci/cs4281.c return err; err 1353 sound/pci/cs4281.c int err; err 1359 sound/pci/cs4281.c if ((err = pci_enable_device(pci)) < 0) err 1360 sound/pci/cs4281.c return err; err 1377 sound/pci/cs4281.c if ((err = pci_request_regions(pci, "CS4281")) < 0) { err 1380 sound/pci/cs4281.c return err; err 1406 sound/pci/cs4281.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 1408 sound/pci/cs4281.c return err; err 1794 sound/pci/cs4281.c int err; err 1798 sound/pci/cs4281.c if ((err = snd_rawmidi_new(chip->card, "CS4281", device, 1, 1, &rmidi)) < 0) err 1799 sound/pci/cs4281.c return err; err 1919 sound/pci/cs4281.c int err; err 1932 sound/pci/cs4281.c if ((err = snd_cs4281_create(card, pci, &chip, dual_codec[dev])) < 0) { err 1934 sound/pci/cs4281.c return err; err 1938 sound/pci/cs4281.c if ((err = snd_cs4281_mixer(chip)) < 0) { err 1940 sound/pci/cs4281.c return err; err 1942 sound/pci/cs4281.c if ((err = snd_cs4281_pcm(chip, 0, NULL)) < 0) { err 1944 sound/pci/cs4281.c return err; err 1946 sound/pci/cs4281.c if ((err = snd_cs4281_midi(chip, 0, NULL)) < 0) { err 1948 sound/pci/cs4281.c return err; err 1950 sound/pci/cs4281.c if ((err = snd_opl3_new(card, OPL3_HW_OPL3_CS4281, &opl3)) < 0) { err 1952 sound/pci/cs4281.c return err; err 1957 sound/pci/cs4281.c if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { err 1959 sound/pci/cs4281.c return err; err 1969 sound/pci/cs4281.c if ((err = snd_card_register(card)) < 0) { err 1971 sound/pci/cs4281.c return err; err 82 sound/pci/cs46xx/cs46xx.c int err; err 94 sound/pci/cs46xx/cs46xx.c if ((err = snd_cs46xx_create(card, pci, err 98 sound/pci/cs46xx/cs46xx.c return err; err 102 sound/pci/cs46xx/cs46xx.c if ((err = snd_cs46xx_pcm(chip, 0, NULL)) < 0) { err 104 sound/pci/cs46xx/cs46xx.c return err; err 107 sound/pci/cs46xx/cs46xx.c if ((err = snd_cs46xx_pcm_rear(chip,1, NULL)) < 0) { err 109 sound/pci/cs46xx/cs46xx.c return err; err 111 sound/pci/cs46xx/cs46xx.c if ((err = snd_cs46xx_pcm_iec958(chip,2,NULL)) < 0) { err 113 sound/pci/cs46xx/cs46xx.c return err; err 116 sound/pci/cs46xx/cs46xx.c if ((err = snd_cs46xx_mixer(chip, 2)) < 0) { err 118 sound/pci/cs46xx/cs46xx.c return err; err 122 sound/pci/cs46xx/cs46xx.c if ((err = snd_cs46xx_pcm_center_lfe(chip,3,NULL)) < 0) { err 124 sound/pci/cs46xx/cs46xx.c return err; err 128 sound/pci/cs46xx/cs46xx.c if ((err = snd_cs46xx_midi(chip, 0, NULL)) < 0) { err 130 sound/pci/cs46xx/cs46xx.c return err; err 132 sound/pci/cs46xx/cs46xx.c if ((err = snd_cs46xx_start_dsp(chip)) < 0) { err 134 sound/pci/cs46xx/cs46xx.c return err; err 148 sound/pci/cs46xx/cs46xx.c if ((err = snd_card_register(card)) < 0) { err 150 sound/pci/cs46xx/cs46xx.c return err; err 367 sound/pci/cs46xx/cs46xx_lib.c int idx, err; err 371 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_cs46xx_download(chip, err 375 sound/pci/cs46xx/cs46xx_lib.c return err; err 908 sound/pci/cs46xx/cs46xx_lib.c int err; err 974 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params))) < 0) { err 978 sound/pci/cs46xx/cs46xx_lib.c return err; err 1104 sound/pci/cs46xx/cs46xx_lib.c int err; err 1122 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params))) < 0) err 1123 sound/pci/cs46xx/cs46xx_lib.c return err; err 1390 sound/pci/cs46xx/cs46xx_lib.c int err; err 1395 sound/pci/cs46xx/cs46xx_lib.c err = snd_cs46xx_playback_close(substream); err 1401 sound/pci/cs46xx/cs46xx_lib.c return err; err 1595 sound/pci/cs46xx/cs46xx_lib.c int err; err 1599 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_pcm_new(chip->card, "CS46xx", device, MAX_PLAYBACK_CHANNELS, 1, &pcm)) < 0) err 1600 sound/pci/cs46xx/cs46xx_lib.c return err; err 1626 sound/pci/cs46xx/cs46xx_lib.c int err; err 1631 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_pcm_new(chip->card, "CS46xx - Rear", device, MAX_PLAYBACK_CHANNELS, 0, &pcm)) < 0) err 1632 sound/pci/cs46xx/cs46xx_lib.c return err; err 1655 sound/pci/cs46xx/cs46xx_lib.c int err; err 1660 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_pcm_new(chip->card, "CS46xx - Center LFE", device, MAX_PLAYBACK_CHANNELS, 0, &pcm)) < 0) err 1661 sound/pci/cs46xx/cs46xx_lib.c return err; err 1684 sound/pci/cs46xx/cs46xx_lib.c int err; err 1689 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_pcm_new(chip->card, "CS46xx - IEC958", device, 1, 0, &pcm)) < 0) err 1690 sound/pci/cs46xx/cs46xx_lib.c return err; err 2234 sound/pci/cs46xx/cs46xx_lib.c int err; err 2270 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_ac97_read(ac97, AC97_REC_GAIN)) == 0x8a05) err 2282 sound/pci/cs46xx/cs46xx_lib.c int idx, err; err 2304 sound/pci/cs46xx/cs46xx_lib.c err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97[codec]); err 2305 sound/pci/cs46xx/cs46xx_lib.c return err; err 2317 sound/pci/cs46xx/cs46xx_lib.c int err; err 2330 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_ac97_bus(card, 0, &ops, chip, &chip->ac97_bus)) < 0) err 2331 sound/pci/cs46xx/cs46xx_lib.c return err; err 2351 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_ctl_add(card, kctl)) < 0) err 2352 sound/pci/cs46xx/cs46xx_lib.c return err; err 2365 sound/pci/cs46xx/cs46xx_lib.c err = snd_ctl_add(card, snd_ctl_new1(&snd_cs46xx_front_dup_ctl, chip)); err 2366 sound/pci/cs46xx/cs46xx_lib.c if (err < 0) err 2367 sound/pci/cs46xx/cs46xx_lib.c return err; err 2536 sound/pci/cs46xx/cs46xx_lib.c int err; err 2540 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_rawmidi_new(chip->card, "CS46XX", device, 1, 1, &rmidi)) < 0) err 2541 sound/pci/cs46xx/cs46xx_lib.c return err; err 3364 sound/pci/cs46xx/cs46xx_lib.c int err; err 3381 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_ctl_add(card, kctl)) < 0) { err 3382 sound/pci/cs46xx/cs46xx_lib.c printk (KERN_ERR "cs46xx: failed to initialize Hercules mixer (%d)\n",err); err 3713 sound/pci/cs46xx/cs46xx_lib.c int err, idx; err 3724 sound/pci/cs46xx/cs46xx_lib.c if ((err = pci_enable_device(pci)) < 0) err 3725 sound/pci/cs46xx/cs46xx_lib.c return err; err 3845 sound/pci/cs46xx/cs46xx_lib.c err = snd_cs46xx_chip_init(chip); err 3846 sound/pci/cs46xx/cs46xx_lib.c if (err < 0) { err 3848 sound/pci/cs46xx/cs46xx_lib.c return err; err 3851 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 3853 sound/pci/cs46xx/cs46xx_lib.c return err; err 362 sound/pci/cs46xx/dsp_spos.c int err; err 376 sound/pci/cs46xx/dsp_spos.c err = dsp_load_parameter(chip, get_segment_desc(module, err 378 sound/pci/cs46xx/dsp_spos.c if (err < 0) err 379 sound/pci/cs46xx/dsp_spos.c return err; err 386 sound/pci/cs46xx/dsp_spos.c err = dsp_load_sample(chip, get_segment_desc(module, err 388 sound/pci/cs46xx/dsp_spos.c if (err < 0) err 389 sound/pci/cs46xx/dsp_spos.c return err; err 1942 sound/pci/cs46xx/dsp_spos.c int i, err; err 1957 sound/pci/cs46xx/dsp_spos.c err = dsp_load_parameter(chip, seg); err 1958 sound/pci/cs46xx/dsp_spos.c if (err < 0) err 1959 sound/pci/cs46xx/dsp_spos.c return err; err 1962 sound/pci/cs46xx/dsp_spos.c err = dsp_load_sample(chip, seg); err 1963 sound/pci/cs46xx/dsp_spos.c if (err < 0) err 1964 sound/pci/cs46xx/dsp_spos.c return err; err 1973 sound/pci/cs46xx/dsp_spos.c err = snd_cs46xx_download(chip, err 1976 sound/pci/cs46xx/dsp_spos.c if (err < 0) err 1977 sound/pci/cs46xx/dsp_spos.c return err; err 107 sound/pci/cs5530.c int err; err 114 sound/pci/cs5530.c err = pci_enable_device(pci); err 115 sound/pci/cs5530.c if (err < 0) err 116 sound/pci/cs5530.c return err; err 127 sound/pci/cs5530.c err = pci_request_regions(pci, "CS5530"); err 128 sound/pci/cs5530.c if (err < 0) { err 131 sound/pci/cs5530.c return err; err 213 sound/pci/cs5530.c err = snd_sbdsp_create(card, sb_base, irq, snd_sb16dsp_interrupt, dma8, err 215 sound/pci/cs5530.c if (err < 0) { err 218 sound/pci/cs5530.c return err; err 221 sound/pci/cs5530.c err = snd_sb16dsp_pcm(chip->sb, 0, &chip->sb->pcm); err 222 sound/pci/cs5530.c if (err < 0) { err 225 sound/pci/cs5530.c return err; err 228 sound/pci/cs5530.c err = snd_sbmixer_new(chip->sb); err 229 sound/pci/cs5530.c if (err < 0) { err 232 sound/pci/cs5530.c return err; err 235 sound/pci/cs5530.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops); err 236 sound/pci/cs5530.c if (err < 0) { err 238 sound/pci/cs5530.c return err; err 252 sound/pci/cs5530.c int err; err 266 sound/pci/cs5530.c err = snd_cs5530_create(card, pci, &chip); err 267 sound/pci/cs5530.c if (err < 0) { err 269 sound/pci/cs5530.c return err; err 276 sound/pci/cs5530.c err = snd_card_register(card); err 277 sound/pci/cs5530.c if (err < 0) { err 279 sound/pci/cs5530.c return err; err 152 sound/pci/cs5535audio/cs5535audio.c int err; err 158 sound/pci/cs5535audio/cs5535audio.c if ((err = snd_ac97_bus(card, 0, &ops, NULL, &pbus)) < 0) err 159 sound/pci/cs5535audio/cs5535audio.c return err; err 166 sound/pci/cs5535audio/cs5535audio.c if ((err = snd_ac97_mixer(pbus, &ac97, &cs5535au->ac97)) < 0) { err 168 sound/pci/cs5535audio/cs5535audio.c return err; err 269 sound/pci/cs5535audio/cs5535audio.c int err; err 275 sound/pci/cs5535audio/cs5535audio.c if ((err = pci_enable_device(pci)) < 0) err 276 sound/pci/cs5535audio/cs5535audio.c return err; err 281 sound/pci/cs5535audio/cs5535audio.c err = -ENXIO; err 287 sound/pci/cs5535audio/cs5535audio.c err = -ENOMEM; err 296 sound/pci/cs5535audio/cs5535audio.c if ((err = pci_request_regions(pci, "CS5535 Audio")) < 0) { err 306 sound/pci/cs5535audio/cs5535audio.c err = -EBUSY; err 313 sound/pci/cs5535audio/cs5535audio.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, err 324 sound/pci/cs5535audio/cs5535audio.c return err; err 328 sound/pci/cs5535audio/cs5535audio.c return err; err 337 sound/pci/cs5535audio/cs5535audio.c int err; err 350 sound/pci/cs5535audio/cs5535audio.c if ((err = snd_cs5535audio_create(card, pci, &cs5535au)) < 0) err 355 sound/pci/cs5535audio/cs5535audio.c if ((err = snd_cs5535audio_mixer(cs5535au)) < 0) err 358 sound/pci/cs5535audio/cs5535audio.c if ((err = snd_cs5535audio_pcm(cs5535au)) < 0) err 368 sound/pci/cs5535audio/cs5535audio.c if ((err = snd_card_register(card)) < 0) err 377 sound/pci/cs5535audio/cs5535audio.c return err; err 95 sound/pci/cs5535audio/cs5535audio_pcm.c int err; err 104 sound/pci/cs5535audio/cs5535audio_pcm.c if ((err = snd_pcm_hw_constraint_integer(runtime, err 106 sound/pci/cs5535audio/cs5535audio_pcm.c return err; err 251 sound/pci/cs5535audio/cs5535audio_pcm.c int err; err 253 sound/pci/cs5535audio/cs5535audio_pcm.c err = snd_pcm_lib_malloc_pages(substream, err 255 sound/pci/cs5535audio/cs5535audio_pcm.c if (err < 0) err 256 sound/pci/cs5535audio/cs5535audio_pcm.c return err; err 260 sound/pci/cs5535audio/cs5535audio_pcm.c err = cs5535audio_build_dma_packets(cs5535au, dma, substream, err 263 sound/pci/cs5535audio/cs5535audio_pcm.c return err; err 286 sound/pci/cs5535audio/cs5535audio_pcm.c int err = 0; err 310 sound/pci/cs5535audio/cs5535audio_pcm.c err = -EINVAL; err 314 sound/pci/cs5535audio/cs5535audio_pcm.c return err; err 342 sound/pci/cs5535audio/cs5535audio_pcm.c int err; err 351 sound/pci/cs5535audio/cs5535audio_pcm.c if ((err = snd_pcm_hw_constraint_integer(runtime, err 353 sound/pci/cs5535audio/cs5535audio_pcm.c return err; err 414 sound/pci/cs5535audio/cs5535audio_pcm.c int err; err 416 sound/pci/cs5535audio/cs5535audio_pcm.c err = snd_pcm_new(cs5535au->card, "CS5535 Audio", 0, 1, 1, &pcm); err 417 sound/pci/cs5535audio/cs5535audio_pcm.c if (err < 0) err 418 sound/pci/cs5535audio/cs5535audio_pcm.c return err; err 34 sound/pci/echoaudio/darla20_dsp.c int err; err 40 sound/pci/echoaudio/darla20_dsp.c if ((err = init_dsp_comm_page(chip))) { err 42 sound/pci/echoaudio/darla20_dsp.c return err; err 56 sound/pci/echoaudio/darla20_dsp.c if ((err = load_firmware(chip)) < 0) err 57 sound/pci/echoaudio/darla20_dsp.c return err; err 60 sound/pci/echoaudio/darla20_dsp.c if ((err = init_line_levels(chip)) < 0) err 61 sound/pci/echoaudio/darla20_dsp.c return err; err 64 sound/pci/echoaudio/darla20_dsp.c return err; err 34 sound/pci/echoaudio/darla24_dsp.c int err; err 40 sound/pci/echoaudio/darla24_dsp.c if ((err = init_dsp_comm_page(chip))) { err 42 sound/pci/echoaudio/darla24_dsp.c return err; err 55 sound/pci/echoaudio/darla24_dsp.c if ((err = load_firmware(chip)) < 0) err 56 sound/pci/echoaudio/darla24_dsp.c return err; err 59 sound/pci/echoaudio/darla24_dsp.c if ((err = init_line_levels(chip)) < 0) err 60 sound/pci/echoaudio/darla24_dsp.c return err; err 63 sound/pci/echoaudio/darla24_dsp.c return err; err 46 sound/pci/echoaudio/echo3g_dsp.c int err; err 53 sound/pci/echoaudio/echo3g_dsp.c if ((err = init_dsp_comm_page(chip))) { err 55 sound/pci/echoaudio/echo3g_dsp.c return err; err 68 sound/pci/echoaudio/echo3g_dsp.c err = load_firmware(chip); err 70 sound/pci/echoaudio/echo3g_dsp.c if (err < 0) { err 71 sound/pci/echoaudio/echo3g_dsp.c return err; err 72 sound/pci/echoaudio/echo3g_dsp.c } else if (err == E3G_GINA3G_BOX_TYPE) { err 83 sound/pci/echoaudio/echo3g_dsp.c } else if (err == E3G_LAYLA3G_BOX_TYPE) { err 105 sound/pci/echoaudio/echo3g_dsp.c if ((err = init_line_levels(chip)) < 0) err 106 sound/pci/echoaudio/echo3g_dsp.c return err; err 107 sound/pci/echoaudio/echo3g_dsp.c err = set_digital_mode(chip, DIGITAL_MODE_SPDIF_RCA); err 108 sound/pci/echoaudio/echo3g_dsp.c if (err < 0) err 109 sound/pci/echoaudio/echo3g_dsp.c return err; err 110 sound/pci/echoaudio/echo3g_dsp.c err = set_phantom_power(chip, 0); err 111 sound/pci/echoaudio/echo3g_dsp.c if (err < 0) err 112 sound/pci/echoaudio/echo3g_dsp.c return err; err 113 sound/pci/echoaudio/echo3g_dsp.c err = set_professional_spdif(chip, TRUE); err 116 sound/pci/echoaudio/echo3g_dsp.c return err; err 42 sound/pci/echoaudio/echoaudio.c int err; err 46 sound/pci/echoaudio/echoaudio.c if ((err = request_firmware(fw_entry, name, pci_device(chip))) < 0) err 47 sound/pci/echoaudio/echoaudio.c snd_printk(KERN_ERR "get_firmware(): Firmware not available (%d)\n", err); err 48 sound/pci/echoaudio/echoaudio.c return err; err 232 sound/pci/echoaudio/echoaudio.c int err, i; err 265 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_hw_constraint_list(runtime, 0, err 268 sound/pci/echoaudio/echoaudio.c return err; err 271 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_hw_constraint_integer(runtime, err 273 sound/pci/echoaudio/echoaudio.c return err; err 278 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_hw_constraint_step(runtime, 0, err 281 sound/pci/echoaudio/echoaudio.c return err; err 282 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_hw_constraint_step(runtime, 0, err 285 sound/pci/echoaudio/echoaudio.c return err; err 287 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, err 291 sound/pci/echoaudio/echoaudio.c return err; err 294 sound/pci/echoaudio/echoaudio.c if ((err = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, err 298 sound/pci/echoaudio/echoaudio.c return err; err 309 sound/pci/echoaudio/echoaudio.c int err; err 312 sound/pci/echoaudio/echoaudio.c if ((err = pcm_open(substream, num_analog_busses_in(chip) - err 314 sound/pci/echoaudio/echoaudio.c return err; err 315 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, err 319 sound/pci/echoaudio/echoaudio.c return err; err 320 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, err 324 sound/pci/echoaudio/echoaudio.c return err; err 339 sound/pci/echoaudio/echoaudio.c int max_channels, err; err 347 sound/pci/echoaudio/echoaudio.c if ((err = pcm_open(substream, max_channels - substream->number)) < 0) err 348 sound/pci/echoaudio/echoaudio.c return err; err 349 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, err 354 sound/pci/echoaudio/echoaudio.c return err; err 355 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, err 360 sound/pci/echoaudio/echoaudio.c return err; err 377 sound/pci/echoaudio/echoaudio.c int err, max_channels; err 383 sound/pci/echoaudio/echoaudio.c err = pcm_open(substream, max_channels); err 387 sound/pci/echoaudio/echoaudio.c err = pcm_open(substream, max_channels - ECHOCARD_HAS_ADAT); err 389 sound/pci/echoaudio/echoaudio.c if (err < 0) err 392 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, err 397 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, err 409 sound/pci/echoaudio/echoaudio.c return err; err 419 sound/pci/echoaudio/echoaudio.c int err, max_channels; err 425 sound/pci/echoaudio/echoaudio.c err = pcm_open(substream, max_channels); err 429 sound/pci/echoaudio/echoaudio.c err = pcm_open(substream, max_channels - ECHOCARD_HAS_ADAT); err 431 sound/pci/echoaudio/echoaudio.c if (err < 0) err 434 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, err 440 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, err 451 sound/pci/echoaudio/echoaudio.c return err; err 492 sound/pci/echoaudio/echoaudio.c int err, per, rest, page, edge, offs; err 504 sound/pci/echoaudio/echoaudio.c err = free_pipes(chip, pipe); err 505 sound/pci/echoaudio/echoaudio.c snd_BUG_ON(err); err 509 sound/pci/echoaudio/echoaudio.c err = allocate_pipes(chip, pipe, pipe_index, interleave); err 510 sound/pci/echoaudio/echoaudio.c if (err < 0) { err 513 sound/pci/echoaudio/echoaudio.c pipe_index, err)); err 514 sound/pci/echoaudio/echoaudio.c return err; err 522 sound/pci/echoaudio/echoaudio.c err = snd_pcm_lib_malloc_pages(substream, err 524 sound/pci/echoaudio/echoaudio.c if (err < 0) { err 525 sound/pci/echoaudio/echoaudio.c snd_printk(KERN_ERR "malloc_pages err=%d\n", err); err 530 sound/pci/echoaudio/echoaudio.c return err; err 702 sound/pci/echoaudio/echoaudio.c int i, err; err 737 sound/pci/echoaudio/echoaudio.c err = start_transport(chip, channelmask, err 748 sound/pci/echoaudio/echoaudio.c err = stop_transport(chip, channelmask); err 758 sound/pci/echoaudio/echoaudio.c err = pause_transport(chip, channelmask); err 761 sound/pci/echoaudio/echoaudio.c err = -EINVAL; err 764 sound/pci/echoaudio/echoaudio.c return err; err 848 sound/pci/echoaudio/echoaudio.c int stream, err; err 852 sound/pci/echoaudio/echoaudio.c err = snd_pcm_lib_preallocate_pages(ss, SNDRV_DMA_TYPE_DEV_SG, err 856 sound/pci/echoaudio/echoaudio.c if (err < 0) err 857 sound/pci/echoaudio/echoaudio.c return err; err 868 sound/pci/echoaudio/echoaudio.c int err; err 878 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_new(chip->card, "PCM", 0, num_pipes_out(chip), err 880 sound/pci/echoaudio/echoaudio.c return err; err 886 sound/pci/echoaudio/echoaudio.c if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) err 887 sound/pci/echoaudio/echoaudio.c return err; err 892 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_new(chip->card, "Digital PCM", 1, 0, err 894 sound/pci/echoaudio/echoaudio.c return err; err 899 sound/pci/echoaudio/echoaudio.c if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) err 900 sound/pci/echoaudio/echoaudio.c return err; err 912 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_new(chip->card, "Analog PCM", 0, err 915 sound/pci/echoaudio/echoaudio.c return err; err 921 sound/pci/echoaudio/echoaudio.c if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) err 922 sound/pci/echoaudio/echoaudio.c return err; err 927 sound/pci/echoaudio/echoaudio.c if ((err = snd_pcm_new(chip->card, "Digital PCM", 1, err 930 sound/pci/echoaudio/echoaudio.c return err; err 936 sound/pci/echoaudio/echoaudio.c if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) err 937 sound/pci/echoaudio/echoaudio.c return err; err 1895 sound/pci/echoaudio/echoaudio.c int err; err 1905 sound/pci/echoaudio/echoaudio.c if ((err = pci_enable_device(pci)) < 0) err 1906 sound/pci/echoaudio/echoaudio.c return err; err 1959 sound/pci/echoaudio/echoaudio.c err = init_hw(chip, chip->pci->device, chip->pci->subsystem_device); err 1960 sound/pci/echoaudio/echoaudio.c if (err) { err 1961 sound/pci/echoaudio/echoaudio.c DE_INIT(("init_hw err=%d\n", err)); err 1963 sound/pci/echoaudio/echoaudio.c return err; err 1967 sound/pci/echoaudio/echoaudio.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 1969 sound/pci/echoaudio/echoaudio.c return err; err 1989 sound/pci/echoaudio/echoaudio.c int i, err; err 2006 sound/pci/echoaudio/echoaudio.c if ((err = snd_echo_create(card, pci, &chip)) < 0) { err 2008 sound/pci/echoaudio/echoaudio.c return err; err 2022 sound/pci/echoaudio/echoaudio.c if ((err = snd_echo_new_pcm(chip)) < 0) { err 2023 sound/pci/echoaudio/echoaudio.c snd_printk(KERN_ERR "new pcm error %d\n", err); err 2025 sound/pci/echoaudio/echoaudio.c return err; err 2030 sound/pci/echoaudio/echoaudio.c if ((err = snd_echo_midi_create(card, chip)) < 0) { err 2031 sound/pci/echoaudio/echoaudio.c snd_printk(KERN_ERR "new midi error %d\n", err); err 2033 sound/pci/echoaudio/echoaudio.c return err; err 2040 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_line_output_gain, chip))) < 0) err 2042 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vmixer, chip))) < 0) err 2045 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_pcm_output_gain, chip))) < 0) err 2050 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_line_input_gain, chip))) < 0) err 2056 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_intput_nominal_level, chip))) < 0) err 2061 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_output_nominal_level, chip))) < 0) err 2065 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vumeters_switch, chip))) < 0) err 2068 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_vumeters, chip))) < 0) err 2073 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_monitor_mixer, chip))) < 0) err 2078 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_automute_switch, chip))) < 0) err 2082 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_channels_info, chip))) < 0) err 2092 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_digital_mode_switch, chip))) < 0) err 2105 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, chip->clock_src_ctl)) < 0) err 2111 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_spdif_mode_switch, chip))) < 0) err 2117 sound/pci/echoaudio/echoaudio.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_echo_phantom_power_switch, chip))) < 0) err 2121 sound/pci/echoaudio/echoaudio.c if ((err = snd_card_register(card)) < 0) { err 2132 sound/pci/echoaudio/echoaudio.c snd_printk(KERN_ERR "new control error %d\n", err); err 2134 sound/pci/echoaudio/echoaudio.c return err; err 103 sound/pci/echoaudio/echoaudio_3g.c int err, i, o; err 113 sound/pci/echoaudio/echoaudio_3g.c err = dsp_set_digital_mode(chip, mode); err 118 sound/pci/echoaudio/echoaudio_3g.c if (err >= 0 && previous_mode != mode && err 138 sound/pci/echoaudio/echoaudio_3g.c return err; err 223 sound/pci/echoaudio/echoaudio_3g.c int box_type, err; err 231 sound/pci/echoaudio/echoaudio_3g.c err = load_asic_generic(chip, DSP_FNC_LOAD_3G_ASIC, err 233 sound/pci/echoaudio/echoaudio_3g.c if (err < 0) err 234 sound/pci/echoaudio/echoaudio_3g.c return err; err 246 sound/pci/echoaudio/echoaudio_3g.c err = write_control_reg(chip, E3G_48KHZ, err 248 sound/pci/echoaudio/echoaudio_3g.c if (err < 0) err 249 sound/pci/echoaudio/echoaudio_3g.c return err; err 382 sound/pci/echoaudio/echoaudio_3g.c int err, incompatible_clock; err 426 sound/pci/echoaudio/echoaudio_3g.c err = write_control_reg(chip, control_reg, get_frq_reg(chip), 1); err 428 sound/pci/echoaudio/echoaudio_3g.c if (err < 0) err 429 sound/pci/echoaudio/echoaudio_3g.c return err; err 182 sound/pci/echoaudio/echoaudio_dsp.c int err; err 186 sound/pci/echoaudio/echoaudio_dsp.c if ((err = get_firmware(&fw, asic, chip)) < 0) { err 188 sound/pci/echoaudio/echoaudio_dsp.c return err; err 475 sound/pci/echoaudio/echoaudio_dsp.c int box_type, err; err 488 sound/pci/echoaudio/echoaudio_dsp.c if ((err = get_firmware(&fw, chip->dsp_code_to_load, chip)) < 0) err 489 sound/pci/echoaudio/echoaudio_dsp.c return err; err 490 sound/pci/echoaudio/echoaudio_dsp.c err = load_dsp(chip, (u16 *)fw->data); err 492 sound/pci/echoaudio/echoaudio_dsp.c if (err < 0) err 493 sound/pci/echoaudio/echoaudio_dsp.c return err; err 498 sound/pci/echoaudio/echoaudio_dsp.c if ((err = restore_dsp_rettings(chip)) < 0) err 499 sound/pci/echoaudio/echoaudio_dsp.c return err; err 660 sound/pci/echoaudio/echoaudio_dsp.c int err; err 663 sound/pci/echoaudio/echoaudio_dsp.c if ((err = check_asic_status(chip)) < 0) err 664 sound/pci/echoaudio/echoaudio_dsp.c return err; err 671 sound/pci/echoaudio/echoaudio_dsp.c if ((err = set_sample_rate(chip, chip->sample_rate)) < 0) err 672 sound/pci/echoaudio/echoaudio_dsp.c return err; err 109 sound/pci/echoaudio/echoaudio_gml.c int err, i, o; err 122 sound/pci/echoaudio/echoaudio_gml.c err = dsp_set_digital_mode(chip, mode); err 127 sound/pci/echoaudio/echoaudio_gml.c if (err >= 0 && previous_mode != mode && err 147 sound/pci/echoaudio/echoaudio_gml.c return err; err 156 sound/pci/echoaudio/echoaudio_gml.c int err; err 194 sound/pci/echoaudio/echoaudio_gml.c if ((err = write_control_reg(chip, control_reg, FALSE))) err 195 sound/pci/echoaudio/echoaudio_gml.c return err; err 38 sound/pci/echoaudio/gina20_dsp.c int err; err 44 sound/pci/echoaudio/gina20_dsp.c if ((err = init_dsp_comm_page(chip))) { err 46 sound/pci/echoaudio/gina20_dsp.c return err; err 61 sound/pci/echoaudio/gina20_dsp.c if ((err = load_firmware(chip)) < 0) err 62 sound/pci/echoaudio/gina20_dsp.c return err; err 65 sound/pci/echoaudio/gina20_dsp.c if ((err = init_line_levels(chip)) < 0) err 66 sound/pci/echoaudio/gina20_dsp.c return err; err 68 sound/pci/echoaudio/gina20_dsp.c err = set_professional_spdif(chip, TRUE); err 71 sound/pci/echoaudio/gina20_dsp.c return err; err 43 sound/pci/echoaudio/gina24_dsp.c int err; err 49 sound/pci/echoaudio/gina24_dsp.c if ((err = init_dsp_comm_page(chip))) { err 51 sound/pci/echoaudio/gina24_dsp.c return err; err 81 sound/pci/echoaudio/gina24_dsp.c if ((err = load_firmware(chip)) < 0) err 82 sound/pci/echoaudio/gina24_dsp.c return err; err 85 sound/pci/echoaudio/gina24_dsp.c if ((err = init_line_levels(chip)) < 0) err 86 sound/pci/echoaudio/gina24_dsp.c return err; err 87 sound/pci/echoaudio/gina24_dsp.c err = set_digital_mode(chip, DIGITAL_MODE_SPDIF_RCA); err 88 sound/pci/echoaudio/gina24_dsp.c if (err < 0) err 89 sound/pci/echoaudio/gina24_dsp.c return err; err 90 sound/pci/echoaudio/gina24_dsp.c err = set_professional_spdif(chip, TRUE); err 93 sound/pci/echoaudio/gina24_dsp.c return err; err 127 sound/pci/echoaudio/gina24_dsp.c int err; err 142 sound/pci/echoaudio/gina24_dsp.c if ((err = load_asic_generic(chip, DSP_FNC_LOAD_GINA24_ASIC, fw)) < 0) err 143 sound/pci/echoaudio/gina24_dsp.c return err; err 150 sound/pci/echoaudio/gina24_dsp.c err = check_asic_status(chip); err 154 sound/pci/echoaudio/gina24_dsp.c if (!err) { err 156 sound/pci/echoaudio/gina24_dsp.c err = write_control_reg(chip, control_reg, TRUE); err 159 sound/pci/echoaudio/gina24_dsp.c return err; err 291 sound/pci/echoaudio/gina24_dsp.c int err, incompatible_clock; err 341 sound/pci/echoaudio/gina24_dsp.c err = write_control_reg(chip, control_reg, TRUE); err 343 sound/pci/echoaudio/gina24_dsp.c if (err < 0) err 344 sound/pci/echoaudio/gina24_dsp.c return err; err 39 sound/pci/echoaudio/indigo_dsp.c int err; err 45 sound/pci/echoaudio/indigo_dsp.c if ((err = init_dsp_comm_page(chip))) { err 47 sound/pci/echoaudio/indigo_dsp.c return err; err 59 sound/pci/echoaudio/indigo_dsp.c if ((err = load_firmware(chip)) < 0) err 60 sound/pci/echoaudio/indigo_dsp.c return err; err 63 sound/pci/echoaudio/indigo_dsp.c if ((err = init_line_levels(chip)) < 0) err 64 sound/pci/echoaudio/indigo_dsp.c return err; err 76 sound/pci/echoaudio/indigo_dsp.c err = update_vmixer_level(chip); err 79 sound/pci/echoaudio/indigo_dsp.c return err; err 39 sound/pci/echoaudio/indigodj_dsp.c int err; err 45 sound/pci/echoaudio/indigodj_dsp.c if ((err = init_dsp_comm_page(chip))) { err 47 sound/pci/echoaudio/indigodj_dsp.c return err; err 59 sound/pci/echoaudio/indigodj_dsp.c if ((err = load_firmware(chip)) < 0) err 60 sound/pci/echoaudio/indigodj_dsp.c return err; err 63 sound/pci/echoaudio/indigodj_dsp.c if ((err = init_line_levels(chip)) < 0) err 64 sound/pci/echoaudio/indigodj_dsp.c return err; err 76 sound/pci/echoaudio/indigodj_dsp.c err = update_vmixer_level(chip); err 79 sound/pci/echoaudio/indigodj_dsp.c return err; err 39 sound/pci/echoaudio/indigoio_dsp.c int err; err 45 sound/pci/echoaudio/indigoio_dsp.c if ((err = init_dsp_comm_page(chip))) { err 47 sound/pci/echoaudio/indigoio_dsp.c return err; err 59 sound/pci/echoaudio/indigoio_dsp.c if ((err = load_firmware(chip)) < 0) err 60 sound/pci/echoaudio/indigoio_dsp.c return err; err 63 sound/pci/echoaudio/indigoio_dsp.c if ((err = init_line_levels(chip)) < 0) err 64 sound/pci/echoaudio/indigoio_dsp.c return err; err 76 sound/pci/echoaudio/indigoio_dsp.c err = update_vmixer_level(chip); err 79 sound/pci/echoaudio/indigoio_dsp.c return err; err 42 sound/pci/echoaudio/layla20_dsp.c int err; err 48 sound/pci/echoaudio/layla20_dsp.c if ((err = init_dsp_comm_page(chip))) { err 50 sound/pci/echoaudio/layla20_dsp.c return err; err 64 sound/pci/echoaudio/layla20_dsp.c if ((err = load_firmware(chip)) < 0) err 65 sound/pci/echoaudio/layla20_dsp.c return err; err 68 sound/pci/echoaudio/layla20_dsp.c if ((err = init_line_levels(chip)) < 0) err 69 sound/pci/echoaudio/layla20_dsp.c return err; err 71 sound/pci/echoaudio/layla20_dsp.c err = set_professional_spdif(chip, TRUE); err 74 sound/pci/echoaudio/layla20_dsp.c return err; err 141 sound/pci/echoaudio/layla20_dsp.c int err; err 146 sound/pci/echoaudio/layla20_dsp.c err = load_asic_generic(chip, DSP_FNC_LOAD_LAYLA_ASIC, err 148 sound/pci/echoaudio/layla20_dsp.c if (err < 0) err 149 sound/pci/echoaudio/layla20_dsp.c return err; err 42 sound/pci/echoaudio/layla24_dsp.c int err; err 48 sound/pci/echoaudio/layla24_dsp.c if ((err = init_dsp_comm_page(chip))) { err 50 sound/pci/echoaudio/layla24_dsp.c return err; err 69 sound/pci/echoaudio/layla24_dsp.c if ((err = load_firmware(chip)) < 0) err 70 sound/pci/echoaudio/layla24_dsp.c return err; err 73 sound/pci/echoaudio/layla24_dsp.c if ((err = init_line_levels(chip)) < 0) err 74 sound/pci/echoaudio/layla24_dsp.c return err; err 76 sound/pci/echoaudio/layla24_dsp.c err = set_digital_mode(chip, DIGITAL_MODE_SPDIF_RCA); err 77 sound/pci/echoaudio/layla24_dsp.c if (err < 0) err 78 sound/pci/echoaudio/layla24_dsp.c return err; err 79 sound/pci/echoaudio/layla24_dsp.c err = set_professional_spdif(chip, TRUE); err 82 sound/pci/echoaudio/layla24_dsp.c return err; err 114 sound/pci/echoaudio/layla24_dsp.c int err; err 125 sound/pci/echoaudio/layla24_dsp.c err = load_asic_generic(chip, DSP_FNC_LOAD_LAYLA24_PCI_CARD_ASIC, err 127 sound/pci/echoaudio/layla24_dsp.c if (err < 0) err 128 sound/pci/echoaudio/layla24_dsp.c return err; err 136 sound/pci/echoaudio/layla24_dsp.c err = load_asic_generic(chip, DSP_FNC_LOAD_LAYLA24_EXTERNAL_ASIC, err 138 sound/pci/echoaudio/layla24_dsp.c if (err < 0) err 145 sound/pci/echoaudio/layla24_dsp.c err = check_asic_status(chip); err 149 sound/pci/echoaudio/layla24_dsp.c if (!err) err 150 sound/pci/echoaudio/layla24_dsp.c err = write_control_reg(chip, GML_CONVERTER_ENABLE | GML_48KHZ, err 154 sound/pci/echoaudio/layla24_dsp.c return err; err 337 sound/pci/echoaudio/layla24_dsp.c int err, incompatible_clock; err 389 sound/pci/echoaudio/layla24_dsp.c err = write_control_reg(chip, control_reg, TRUE); err 391 sound/pci/echoaudio/layla24_dsp.c if (err < 0) err 392 sound/pci/echoaudio/layla24_dsp.c return err; err 42 sound/pci/echoaudio/mia_dsp.c int err; err 48 sound/pci/echoaudio/mia_dsp.c if ((err = init_dsp_comm_page(chip))) { err 50 sound/pci/echoaudio/mia_dsp.c return err; err 65 sound/pci/echoaudio/mia_dsp.c if ((err = load_firmware(chip)) < 0) err 66 sound/pci/echoaudio/mia_dsp.c return err; err 69 sound/pci/echoaudio/mia_dsp.c if ((err = init_line_levels(chip))) err 70 sound/pci/echoaudio/mia_dsp.c return err; err 82 sound/pci/echoaudio/mia_dsp.c err = update_vmixer_level(chip); err 85 sound/pci/echoaudio/mia_dsp.c return err; err 313 sound/pci/echoaudio/midi.c int err; err 315 sound/pci/echoaudio/midi.c if ((err = snd_rawmidi_new(card, card->shortname, 0, 1, 1, err 317 sound/pci/echoaudio/midi.c return err; err 43 sound/pci/echoaudio/mona_dsp.c int err; err 49 sound/pci/echoaudio/mona_dsp.c if ((err = init_dsp_comm_page(chip))) { err 51 sound/pci/echoaudio/mona_dsp.c return err; err 75 sound/pci/echoaudio/mona_dsp.c if ((err = load_firmware(chip)) < 0) err 76 sound/pci/echoaudio/mona_dsp.c return err; err 79 sound/pci/echoaudio/mona_dsp.c if ((err = init_line_levels(chip)) < 0) err 80 sound/pci/echoaudio/mona_dsp.c return err; err 82 sound/pci/echoaudio/mona_dsp.c err = set_digital_mode(chip, DIGITAL_MODE_SPDIF_RCA); err 83 sound/pci/echoaudio/mona_dsp.c if (err < 0) err 84 sound/pci/echoaudio/mona_dsp.c return err; err 85 sound/pci/echoaudio/mona_dsp.c err = set_professional_spdif(chip, TRUE); err 88 sound/pci/echoaudio/mona_dsp.c return err; err 122 sound/pci/echoaudio/mona_dsp.c int err; err 135 sound/pci/echoaudio/mona_dsp.c err = load_asic_generic(chip, DSP_FNC_LOAD_MONA_PCI_CARD_ASIC, asic); err 136 sound/pci/echoaudio/mona_dsp.c if (err < 0) err 137 sound/pci/echoaudio/mona_dsp.c return err; err 143 sound/pci/echoaudio/mona_dsp.c err = load_asic_generic(chip, DSP_FNC_LOAD_MONA_EXTERNAL_ASIC, err 145 sound/pci/echoaudio/mona_dsp.c if (err < 0) err 146 sound/pci/echoaudio/mona_dsp.c return err; err 149 sound/pci/echoaudio/mona_dsp.c err = check_asic_status(chip); err 153 sound/pci/echoaudio/mona_dsp.c if (!err) { err 155 sound/pci/echoaudio/mona_dsp.c err = write_control_reg(chip, control_reg, TRUE); err 158 sound/pci/echoaudio/mona_dsp.c return err; err 169 sound/pci/echoaudio/mona_dsp.c int err; err 188 sound/pci/echoaudio/mona_dsp.c err = load_asic_generic(chip, DSP_FNC_LOAD_MONA_PCI_CARD_ASIC, err 190 sound/pci/echoaudio/mona_dsp.c if (err < 0) err 191 sound/pci/echoaudio/mona_dsp.c return err; err 233 sound/pci/echoaudio/mona_dsp.c int err; err 236 sound/pci/echoaudio/mona_dsp.c err = load_asic_generic(chip, DSP_FNC_LOAD_MONA_PCI_CARD_ASIC, err 240 sound/pci/echoaudio/mona_dsp.c if (err < 0) err 241 sound/pci/echoaudio/mona_dsp.c return err; err 303 sound/pci/echoaudio/mona_dsp.c int err; err 325 sound/pci/echoaudio/mona_dsp.c err = switch_asic(chip, clocks_from_dsp & err 328 sound/pci/echoaudio/mona_dsp.c if (err < 0) err 329 sound/pci/echoaudio/mona_dsp.c return err; err 340 sound/pci/echoaudio/mona_dsp.c err = switch_asic(chip, clocks_from_dsp & err 343 sound/pci/echoaudio/mona_dsp.c if (err < 0) err 344 sound/pci/echoaudio/mona_dsp.c return err; err 372 sound/pci/echoaudio/mona_dsp.c int err, incompatible_clock; err 422 sound/pci/echoaudio/mona_dsp.c err = write_control_reg(chip, control_reg, FALSE); err 424 sound/pci/echoaudio/mona_dsp.c if (err < 0) err 425 sound/pci/echoaudio/mona_dsp.c return err; err 108 sound/pci/emu10k1/emu10k1.c int err; err 124 sound/pci/emu10k1/emu10k1.c if ((err = snd_emu10k1_create(card, pci, extin[dev], extout[dev], err 130 sound/pci/emu10k1/emu10k1.c if ((err = snd_emu10k1_pcm(emu, 0, NULL)) < 0) err 132 sound/pci/emu10k1/emu10k1.c if ((err = snd_emu10k1_pcm_mic(emu, 1, NULL)) < 0) err 134 sound/pci/emu10k1/emu10k1.c if ((err = snd_emu10k1_pcm_efx(emu, 2, NULL)) < 0) err 138 sound/pci/emu10k1/emu10k1.c if ((err = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), err 143 sound/pci/emu10k1/emu10k1.c if ((err = snd_emu10k1_mixer(emu, 0, 3)) < 0) err 146 sound/pci/emu10k1/emu10k1.c if ((err = snd_emu10k1_timer(emu, 0)) < 0) err 149 sound/pci/emu10k1/emu10k1.c if ((err = snd_emu10k1_pcm_multi(emu, 3, NULL)) < 0) err 152 sound/pci/emu10k1/emu10k1.c if ((err = snd_p16v_pcm(emu, 4, NULL)) < 0) err 156 sound/pci/emu10k1/emu10k1.c if ((err = snd_emu10k1_audigy_midi(emu)) < 0) err 159 sound/pci/emu10k1/emu10k1.c if ((err = snd_emu10k1_midi(emu)) < 0) err 162 sound/pci/emu10k1/emu10k1.c if ((err = snd_emu10k1_fx8010_new(emu, 0, NULL)) < 0) err 186 sound/pci/emu10k1/emu10k1.c if ((err = snd_card_register(card)) < 0) err 195 sound/pci/emu10k1/emu10k1.c return err; err 661 sound/pci/emu10k1/emu10k1_main.c int err; err 669 sound/pci/emu10k1/emu10k1_main.c if ((err = request_firmware(&fw_entry, filename, &emu->pci->dev)) != 0) { err 670 sound/pci/emu10k1/emu10k1_main.c snd_printk(KERN_ERR "firmware: %s not found. Err=%d\n",filename, err); err 671 sound/pci/emu10k1/emu10k1_main.c return err; err 715 sound/pci/emu10k1/emu10k1_main.c int err; err 731 sound/pci/emu10k1/emu10k1_main.c if ((err = snd_emu1010_load_firmware(emu, DOCK_FILENAME)) != 0) { err 736 sound/pci/emu10k1/emu10k1_main.c if ((err = snd_emu1010_load_firmware(emu, MICRO_DOCK_FILENAME)) != 0) { err 741 sound/pci/emu10k1/emu10k1_main.c if ((err = snd_emu1010_load_firmware(emu, MICRO_DOCK_FILENAME)) != 0) { err 808 sound/pci/emu10k1/emu10k1_main.c int err; err 870 sound/pci/emu10k1/emu10k1_main.c err = snd_emu1010_load_firmware(emu, filename); err 871 sound/pci/emu10k1/emu10k1_main.c if (err != 0) { err 875 sound/pci/emu10k1/emu10k1_main.c return err; err 1711 sound/pci/emu10k1/emu10k1_main.c int idx, err; err 1722 sound/pci/emu10k1/emu10k1_main.c if ((err = pci_enable_device(pci)) < 0) err 1723 sound/pci/emu10k1/emu10k1_main.c return err; err 1815 sound/pci/emu10k1/emu10k1_main.c if ((err = pci_request_regions(pci, "EMU10K1")) < 0) { err 1818 sound/pci/emu10k1/emu10k1_main.c return err; err 1825 sound/pci/emu10k1/emu10k1_main.c err = -ENOMEM; err 1833 sound/pci/emu10k1/emu10k1_main.c err = -ENOMEM; err 1839 sound/pci/emu10k1/emu10k1_main.c err = -ENOMEM; err 1844 sound/pci/emu10k1/emu10k1_main.c err = -ENOMEM; err 1862 sound/pci/emu10k1/emu10k1_main.c if ((err = snd_emu10k1_cardbus_init(emu)) < 0) err 1866 sound/pci/emu10k1/emu10k1_main.c if ((err = snd_emu10k1_ecard_init(emu)) < 0) err 1869 sound/pci/emu10k1/emu10k1_main.c if ((err = snd_emu10k1_emu1010_init(emu)) < 0) { err 1871 sound/pci/emu10k1/emu10k1_main.c return err; err 1887 sound/pci/emu10k1/emu10k1_main.c err = -EBUSY; err 1929 sound/pci/emu10k1/emu10k1_main.c if ((err = snd_emu10k1_init(emu, enable_ir, 0)) < 0) err 1932 sound/pci/emu10k1/emu10k1_main.c if ((err = alloc_pm_buffer(emu)) < 0) err 1937 sound/pci/emu10k1/emu10k1_main.c if ((err = snd_emu10k1_init_efx(emu)) < 0) err 1941 sound/pci/emu10k1/emu10k1_main.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, emu, &ops)) < 0) err 1954 sound/pci/emu10k1/emu10k1_main.c return err; err 386 sound/pci/emu10k1/emu10k1x.c int err; err 388 sound/pci/emu10k1/emu10k1x.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) { err 389 sound/pci/emu10k1/emu10k1x.c return err; err 391 sound/pci/emu10k1/emu10k1x.c if ((err = snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, 64)) < 0) err 392 sound/pci/emu10k1/emu10k1x.c return err; err 563 sound/pci/emu10k1/emu10k1x.c int err; err 565 sound/pci/emu10k1/emu10k1x.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) err 566 sound/pci/emu10k1/emu10k1x.c return err; err 567 sound/pci/emu10k1/emu10k1x.c if ((err = snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, 64)) < 0) err 568 sound/pci/emu10k1/emu10k1x.c return err; err 733 sound/pci/emu10k1/emu10k1x.c int err; err 739 sound/pci/emu10k1/emu10k1x.c if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) err 740 sound/pci/emu10k1/emu10k1x.c return err; err 836 sound/pci/emu10k1/emu10k1x.c int err; err 844 sound/pci/emu10k1/emu10k1x.c if ((err = snd_pcm_new(emu->card, "emu10k1x", device, 1, capture, &pcm)) < 0) err 845 sound/pci/emu10k1/emu10k1x.c return err; err 890 sound/pci/emu10k1/emu10k1x.c int err; err 898 sound/pci/emu10k1/emu10k1x.c if ((err = pci_enable_device(pci)) < 0) err 899 sound/pci/emu10k1/emu10k1x.c return err; err 996 sound/pci/emu10k1/emu10k1x.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, err 999 sound/pci/emu10k1/emu10k1x.c return err; err 1180 sound/pci/emu10k1/emu10k1x.c int err; err 1186 sound/pci/emu10k1/emu10k1x.c if ((err = snd_ctl_add(card, kctl))) err 1187 sound/pci/emu10k1/emu10k1x.c return err; err 1190 sound/pci/emu10k1/emu10k1x.c if ((err = snd_ctl_add(card, kctl))) err 1191 sound/pci/emu10k1/emu10k1x.c return err; err 1194 sound/pci/emu10k1/emu10k1x.c if ((err = snd_ctl_add(card, kctl))) err 1195 sound/pci/emu10k1/emu10k1x.c return err; err 1374 sound/pci/emu10k1/emu10k1x.c int err = 0; err 1385 sound/pci/emu10k1/emu10k1x.c err = snd_emu10k1x_midi_cmd(emu, midi, MPU401_RESET, 0); err 1389 sound/pci/emu10k1/emu10k1x.c return err; err 1397 sound/pci/emu10k1/emu10k1x.c int err = 0; err 1408 sound/pci/emu10k1/emu10k1x.c err = snd_emu10k1x_midi_cmd(emu, midi, MPU401_RESET, 0); err 1412 sound/pci/emu10k1/emu10k1x.c return err; err 1495 sound/pci/emu10k1/emu10k1x.c int err; err 1497 sound/pci/emu10k1/emu10k1x.c if ((err = snd_rawmidi_new(emu->card, name, device, 1, 1, &rmidi)) < 0) err 1498 sound/pci/emu10k1/emu10k1x.c return err; err 1518 sound/pci/emu10k1/emu10k1x.c int err; err 1520 sound/pci/emu10k1/emu10k1x.c if ((err = emu10k1x_midi_init(emu, midi, 0, "EMU10K1X MPU-401 (UART)")) < 0) err 1521 sound/pci/emu10k1/emu10k1x.c return err; err 1538 sound/pci/emu10k1/emu10k1x.c int err; err 1551 sound/pci/emu10k1/emu10k1x.c if ((err = snd_emu10k1x_create(card, pci, &chip)) < 0) { err 1553 sound/pci/emu10k1/emu10k1x.c return err; err 1556 sound/pci/emu10k1/emu10k1x.c if ((err = snd_emu10k1x_pcm(chip, 0, NULL)) < 0) { err 1558 sound/pci/emu10k1/emu10k1x.c return err; err 1560 sound/pci/emu10k1/emu10k1x.c if ((err = snd_emu10k1x_pcm(chip, 1, NULL)) < 0) { err 1562 sound/pci/emu10k1/emu10k1x.c return err; err 1564 sound/pci/emu10k1/emu10k1x.c if ((err = snd_emu10k1x_pcm(chip, 2, NULL)) < 0) { err 1566 sound/pci/emu10k1/emu10k1x.c return err; err 1569 sound/pci/emu10k1/emu10k1x.c if ((err = snd_emu10k1x_ac97(chip)) < 0) { err 1571 sound/pci/emu10k1/emu10k1x.c return err; err 1574 sound/pci/emu10k1/emu10k1x.c if ((err = snd_emu10k1x_mixer(chip)) < 0) { err 1576 sound/pci/emu10k1/emu10k1x.c return err; err 1579 sound/pci/emu10k1/emu10k1x.c if ((err = snd_emu10k1x_midi(chip)) < 0) { err 1581 sound/pci/emu10k1/emu10k1x.c return err; err 1593 sound/pci/emu10k1/emu10k1x.c if ((err = snd_card_register(card)) < 0) { err 1595 sound/pci/emu10k1/emu10k1x.c return err; err 718 sound/pci/emu10k1/emufx.c int err; err 730 sound/pci/emu10k1/emufx.c err = 0; err 733 sound/pci/emu10k1/emufx.c err = -EFAULT; err 741 sound/pci/emu10k1/emufx.c err = -EEXIST; err 747 sound/pci/emu10k1/emufx.c err = -EINVAL; err 754 sound/pci/emu10k1/emufx.c err = -EFAULT; err 760 sound/pci/emu10k1/emufx.c return err; err 784 sound/pci/emu10k1/emufx.c int err = 0; err 790 sound/pci/emu10k1/emufx.c err = -ENOMEM; err 796 sound/pci/emu10k1/emufx.c err = -EFAULT; err 801 sound/pci/emu10k1/emufx.c err = -EINVAL; err 805 sound/pci/emu10k1/emufx.c err = -EINVAL; err 836 sound/pci/emu10k1/emufx.c err = -ENOMEM; err 842 sound/pci/emu10k1/emufx.c if ((err = snd_ctl_add(emu->card, kctl = snd_ctl_new1(&knew, emu))) < 0) { err 864 sound/pci/emu10k1/emufx.c return err; err 938 sound/pci/emu10k1/emufx.c int err = 0; err 941 sound/pci/emu10k1/emufx.c if ((err = snd_emu10k1_verify_controls(emu, icode)) < 0) err 951 sound/pci/emu10k1/emufx.c if ((err = snd_emu10k1_del_controls(emu, icode)) < 0 || err 952 sound/pci/emu10k1/emufx.c (err = snd_emu10k1_gpr_poke(emu, icode)) < 0 || err 953 sound/pci/emu10k1/emufx.c (err = snd_emu10k1_tram_poke(emu, icode)) < 0 || err 954 sound/pci/emu10k1/emufx.c (err = snd_emu10k1_code_poke(emu, icode)) < 0 || err 955 sound/pci/emu10k1/emufx.c (err = snd_emu10k1_add_controls(emu, icode)) < 0) err 964 sound/pci/emu10k1/emufx.c return err; err 970 sound/pci/emu10k1/emufx.c int err; err 975 sound/pci/emu10k1/emufx.c err = snd_emu10k1_gpr_peek(emu, icode); err 976 sound/pci/emu10k1/emufx.c if (err >= 0) err 977 sound/pci/emu10k1/emufx.c err = snd_emu10k1_tram_peek(emu, icode); err 978 sound/pci/emu10k1/emufx.c if (err >= 0) err 979 sound/pci/emu10k1/emufx.c err = snd_emu10k1_code_peek(emu, icode); err 980 sound/pci/emu10k1/emufx.c if (err >= 0) err 981 sound/pci/emu10k1/emufx.c err = snd_emu10k1_list_controls(emu, icode); err 983 sound/pci/emu10k1/emufx.c return err; err 990 sound/pci/emu10k1/emufx.c int err = 0; err 1001 sound/pci/emu10k1/emufx.c err = -EBUSY; err 1009 sound/pci/emu10k1/emufx.c err = -EINVAL; err 1029 sound/pci/emu10k1/emufx.c return err; err 1036 sound/pci/emu10k1/emufx.c int err = 0; err 1059 sound/pci/emu10k1/emufx.c return err; err 1150 sound/pci/emu10k1/emufx.c int err, i, z, gpr, nctl; err 1168 sound/pci/emu10k1/emufx.c err = -ENOMEM; err 1703 sound/pci/emu10k1/emufx.c err = -EIO; err 1714 sound/pci/emu10k1/emufx.c err = snd_emu10k1_icode_poke(emu, icode); err 1724 sound/pci/emu10k1/emufx.c return err; err 1782 sound/pci/emu10k1/emufx.c int err, i, z, gpr, tmp, playback, capture; err 1799 sound/pci/emu10k1/emufx.c err = -ENOMEM; err 2314 sound/pci/emu10k1/emufx.c err = -EIO; err 2319 sound/pci/emu10k1/emufx.c err = -EIO; err 2327 sound/pci/emu10k1/emufx.c if ((err = snd_emu10k1_fx8010_tram_setup(emu, ipcm->buffer_size)) < 0) err 2333 sound/pci/emu10k1/emufx.c err = snd_emu10k1_icode_poke(emu, icode); err 2336 sound/pci/emu10k1/emufx.c if (err >= 0) err 2337 sound/pci/emu10k1/emufx.c err = snd_emu10k1_ipcm_poke(emu, ipcm); err 2345 sound/pci/emu10k1/emufx.c return err; err 2619 sound/pci/emu10k1/emufx.c int err; err 2623 sound/pci/emu10k1/emufx.c if ((err = snd_hwdep_new(emu->card, "FX8010", device, &hw)) < 0) err 2624 sound/pci/emu10k1/emufx.c return err; err 1683 sound/pci/emu10k1/emumixer.c int err, pcm; err 1808 sound/pci/emu10k1/emumixer.c if ((err = snd_ac97_bus(emu->card, 0, &ops, NULL, &pbus)) < 0) err 1809 sound/pci/emu10k1/emumixer.c return err; err 1816 sound/pci/emu10k1/emumixer.c if ((err = snd_ac97_mixer(pbus, &ac97, &emu->ac97)) < 0) { err 1818 sound/pci/emu10k1/emumixer.c return err; err 1891 sound/pci/emu10k1/emumixer.c if ((err = snd_ctl_add(card, kctl))) err 1892 sound/pci/emu10k1/emumixer.c return err; err 1896 sound/pci/emu10k1/emumixer.c if ((err = snd_ctl_add(card, kctl))) err 1897 sound/pci/emu10k1/emumixer.c return err; err 1901 sound/pci/emu10k1/emumixer.c if ((err = snd_ctl_add(card, kctl))) err 1902 sound/pci/emu10k1/emumixer.c return err; err 1907 sound/pci/emu10k1/emumixer.c if ((err = snd_ctl_add(card, kctl))) err 1908 sound/pci/emu10k1/emumixer.c return err; err 1913 sound/pci/emu10k1/emumixer.c if ((err = snd_ctl_add(card, kctl))) err 1914 sound/pci/emu10k1/emumixer.c return err; err 1919 sound/pci/emu10k1/emumixer.c if ((err = snd_ctl_add(card, kctl))) err 1920 sound/pci/emu10k1/emumixer.c return err; err 1970 sound/pci/emu10k1/emumixer.c if ((err = snd_ctl_add(card, kctl))) err 1971 sound/pci/emu10k1/emumixer.c return err; err 1976 sound/pci/emu10k1/emumixer.c if ((err = snd_ctl_add(card, kctl))) err 1977 sound/pci/emu10k1/emumixer.c return err; err 1985 sound/pci/emu10k1/emumixer.c if ((err = snd_ctl_add(card, kctl))) err 1986 sound/pci/emu10k1/emumixer.c return err; err 1990 sound/pci/emu10k1/emumixer.c if ((err = snd_ctl_add(card, kctl))) err 1991 sound/pci/emu10k1/emumixer.c return err; err 1997 sound/pci/emu10k1/emumixer.c if ((err = snd_ctl_add(card, kctl))) err 1998 sound/pci/emu10k1/emumixer.c return err; err 2001 sound/pci/emu10k1/emumixer.c if ((err = snd_p16v_mixer(emu))) err 2002 sound/pci/emu10k1/emumixer.c return err; err 2010 sound/pci/emu10k1/emumixer.c err = snd_ctl_add(card, err 2013 sound/pci/emu10k1/emumixer.c if (err < 0) err 2014 sound/pci/emu10k1/emumixer.c return err; err 2017 sound/pci/emu10k1/emumixer.c err = snd_ctl_add(card, err 2020 sound/pci/emu10k1/emumixer.c if (err < 0) err 2021 sound/pci/emu10k1/emumixer.c return err; err 2024 sound/pci/emu10k1/emumixer.c err = snd_ctl_add(card, err 2026 sound/pci/emu10k1/emumixer.c if (err < 0) err 2027 sound/pci/emu10k1/emumixer.c return err; err 2030 sound/pci/emu10k1/emumixer.c err = snd_ctl_add(card, err 2032 sound/pci/emu10k1/emumixer.c if (err < 0) err 2033 sound/pci/emu10k1/emumixer.c return err; err 2035 sound/pci/emu10k1/emumixer.c err = snd_ctl_add(card, err 2037 sound/pci/emu10k1/emumixer.c if (err < 0) err 2038 sound/pci/emu10k1/emumixer.c return err; err 2045 sound/pci/emu10k1/emumixer.c err = snd_ctl_add(card, err 2048 sound/pci/emu10k1/emumixer.c if (err < 0) err 2049 sound/pci/emu10k1/emumixer.c return err; err 2052 sound/pci/emu10k1/emumixer.c err = snd_ctl_add(card, err 2055 sound/pci/emu10k1/emumixer.c if (err < 0) err 2056 sound/pci/emu10k1/emumixer.c return err; err 2059 sound/pci/emu10k1/emumixer.c err = snd_ctl_add(card, err 2061 sound/pci/emu10k1/emumixer.c if (err < 0) err 2062 sound/pci/emu10k1/emumixer.c return err; err 2065 sound/pci/emu10k1/emumixer.c err = snd_ctl_add(card, err 2067 sound/pci/emu10k1/emumixer.c if (err < 0) err 2068 sound/pci/emu10k1/emumixer.c return err; err 2070 sound/pci/emu10k1/emumixer.c err = snd_ctl_add(card, err 2072 sound/pci/emu10k1/emumixer.c if (err < 0) err 2073 sound/pci/emu10k1/emumixer.c return err; err 2079 sound/pci/emu10k1/emumixer.c err = snd_ctl_add(card, snd_ctl_new1(&snd_audigy_i2c_capture_source, emu)); err 2080 sound/pci/emu10k1/emumixer.c if (err < 0) err 2081 sound/pci/emu10k1/emumixer.c return err; err 2084 sound/pci/emu10k1/emumixer.c err = snd_ctl_add(card, snd_ctl_new1(&snd_audigy_i2c_volume_ctls[i], emu)); err 2085 sound/pci/emu10k1/emumixer.c if (err < 0) err 2086 sound/pci/emu10k1/emumixer.c return err; err 212 sound/pci/emu10k1/emumpu401.c int err = 0; err 223 sound/pci/emu10k1/emumpu401.c err = snd_emu10k1_midi_cmd(emu, midi, MPU401_RESET, 0); err 227 sound/pci/emu10k1/emumpu401.c return err; err 235 sound/pci/emu10k1/emumpu401.c int err = 0; err 246 sound/pci/emu10k1/emumpu401.c err = snd_emu10k1_midi_cmd(emu, midi, MPU401_RESET, 0); err 250 sound/pci/emu10k1/emumpu401.c return err; err 332 sound/pci/emu10k1/emumpu401.c int err; err 334 sound/pci/emu10k1/emumpu401.c if ((err = snd_rawmidi_new(emu->card, name, device, 1, 1, &rmidi)) < 0) err 335 sound/pci/emu10k1/emumpu401.c return err; err 355 sound/pci/emu10k1/emumpu401.c int err; err 357 sound/pci/emu10k1/emumpu401.c if ((err = emu10k1_midi_init(emu, midi, 0, "EMU10K1 MPU-401 (UART)")) < 0) err 358 sound/pci/emu10k1/emumpu401.c return err; err 372 sound/pci/emu10k1/emumpu401.c int err; err 375 sound/pci/emu10k1/emumpu401.c if ((err = emu10k1_midi_init(emu, midi, 0, "Audigy MPU-401 (UART)")) < 0) err 376 sound/pci/emu10k1/emumpu401.c return err; err 386 sound/pci/emu10k1/emumpu401.c if ((err = emu10k1_midi_init(emu, midi, 1, "Audigy MPU-401 #2")) < 0) err 387 sound/pci/emu10k1/emumpu401.c return err; err 110 sound/pci/emu10k1/emupcm.c int err, i; err 129 sound/pci/emu10k1/emupcm.c err = snd_emu10k1_voice_alloc(epcm->emu, err 134 sound/pci/emu10k1/emupcm.c if (err < 0) err 135 sound/pci/emu10k1/emupcm.c return err; err 144 sound/pci/emu10k1/emupcm.c err = snd_emu10k1_voice_alloc(epcm->emu, err 148 sound/pci/emu10k1/emupcm.c if (err < 0) { err 154 sound/pci/emu10k1/emupcm.c return err; err 407 sound/pci/emu10k1/emupcm.c int err; err 409 sound/pci/emu10k1/emupcm.c if ((err = snd_emu10k1_pcm_channel_alloc(epcm, params_channels(hw_params))) < 0) err 410 sound/pci/emu10k1/emupcm.c return err; err 411 sound/pci/emu10k1/emupcm.c if ((err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params))) < 0) err 412 sound/pci/emu10k1/emupcm.c return err; err 413 sound/pci/emu10k1/emupcm.c if (err > 0) { /* change */ err 1094 sound/pci/emu10k1/emupcm.c int i, err; err 1105 sound/pci/emu10k1/emupcm.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) { err 1107 sound/pci/emu10k1/emupcm.c return err; err 1109 sound/pci/emu10k1/emupcm.c if ((err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, 256, UINT_MAX)) < 0) { err 1111 sound/pci/emu10k1/emupcm.c return err; err 1357 sound/pci/emu10k1/emupcm.c int err; err 1362 sound/pci/emu10k1/emupcm.c if ((err = snd_pcm_new(emu->card, "emu10k1", device, 32, 1, &pcm)) < 0) err 1363 sound/pci/emu10k1/emupcm.c return err; err 1376 sound/pci/emu10k1/emupcm.c if ((err = snd_pcm_lib_preallocate_pages(substream, SNDRV_DMA_TYPE_DEV_SG, snd_dma_pci_data(emu->pci), 64*1024, 64*1024)) < 0) err 1377 sound/pci/emu10k1/emupcm.c return err; err 1392 sound/pci/emu10k1/emupcm.c int err; err 1397 sound/pci/emu10k1/emupcm.c if ((err = snd_pcm_new(emu->card, "emu10k1", device, 1, 0, &pcm)) < 0) err 1398 sound/pci/emu10k1/emupcm.c return err; err 1410 sound/pci/emu10k1/emupcm.c if ((err = snd_pcm_lib_preallocate_pages(substream, SNDRV_DMA_TYPE_DEV_SG, snd_dma_pci_data(emu->pci), 64*1024, 64*1024)) < 0) err 1411 sound/pci/emu10k1/emupcm.c return err; err 1434 sound/pci/emu10k1/emupcm.c int err; err 1439 sound/pci/emu10k1/emupcm.c if ((err = snd_pcm_new(emu->card, "emu10k1 mic", device, 0, 1, &pcm)) < 0) err 1440 sound/pci/emu10k1/emupcm.c return err; err 1767 sound/pci/emu10k1/emupcm.c int err; err 1772 sound/pci/emu10k1/emupcm.c if ((err = snd_pcm_new(emu->card, "emu10k1 efx", device, 8, 1, &pcm)) < 0) err 1773 sound/pci/emu10k1/emupcm.c return err; err 142 sound/pci/emu10k1/io.c int err = 0; err 151 sound/pci/emu10k1/io.c err = 1; err 156 sound/pci/emu10k1/io.c err = 1; err 178 sound/pci/emu10k1/io.c err = 1; err 183 sound/pci/emu10k1/io.c err = 0; err 186 sound/pci/emu10k1/io.c return err; err 198 sound/pci/emu10k1/io.c int err = 0; err 243 sound/pci/emu10k1/io.c err = -EINVAL; err 247 sound/pci/emu10k1/io.c return err; err 255 sound/pci/emu10k1/memory.c int err; err 269 sound/pci/emu10k1/memory.c if ((err = map_memblk(emu, blk)) < 0) { err 281 sound/pci/emu10k1/memory.c err = map_memblk(emu, blk); err 287 sound/pci/emu10k1/memory.c return err; err 301 sound/pci/emu10k1/memory.c int page, err, idx; err 337 sound/pci/emu10k1/memory.c err = snd_emu10k1_memblk_map(emu, blk); err 338 sound/pci/emu10k1/memory.c if (err < 0) { err 183 sound/pci/emu10k1/p16v.c int err; err 207 sound/pci/emu10k1/p16v.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) err 208 sound/pci/emu10k1/p16v.c return err; err 224 sound/pci/emu10k1/p16v.c int err; err 248 sound/pci/emu10k1/p16v.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) err 249 sound/pci/emu10k1/p16v.c return err; err 604 sound/pci/emu10k1/p16v.c int err; err 612 sound/pci/emu10k1/p16v.c if ((err = snd_pcm_new(emu->card, "p16v", device, 1, capture, &pcm)) < 0) err 613 sound/pci/emu10k1/p16v.c return err; err 629 sound/pci/emu10k1/p16v.c if ((err = snd_pcm_lib_preallocate_pages(substream, err 633 sound/pci/emu10k1/p16v.c return err; err 640 sound/pci/emu10k1/p16v.c if ((err = snd_pcm_lib_preallocate_pages(substream, err 644 sound/pci/emu10k1/p16v.c return err; err 839 sound/pci/emu10k1/p16v.c int i, err; err 843 sound/pci/emu10k1/p16v.c if ((err = snd_ctl_add(card, snd_ctl_new1(&p16v_mixer_controls[i], err 845 sound/pci/emu10k1/p16v.c return err; err 82 sound/pci/emu10k1/timer.c int err; err 89 sound/pci/emu10k1/timer.c if ((err = snd_timer_new(emu->card, "EMU10K1", &tid, &timer)) >= 0) { err 95 sound/pci/emu10k1/timer.c return err; err 1249 sound/pci/ens1370.c int err; err 1254 sound/pci/ens1370.c err = snd_pcm_new(ensoniq->card, "ES1370/1", device, 1, 1, &pcm); err 1256 sound/pci/ens1370.c err = snd_pcm_new(ensoniq->card, "ES1371/1", device, 1, 1, &pcm); err 1258 sound/pci/ens1370.c if (err < 0) err 1259 sound/pci/ens1370.c return err; err 1289 sound/pci/ens1370.c int err; err 1294 sound/pci/ens1370.c err = snd_pcm_new(ensoniq->card, "ES1370/2", device, 1, 0, &pcm); err 1296 sound/pci/ens1370.c err = snd_pcm_new(ensoniq->card, "ES1371/2", device, 1, 0, &pcm); err 1298 sound/pci/ens1370.c if (err < 0) err 1299 sound/pci/ens1370.c return err; err 1619 sound/pci/ens1370.c int err; err 1626 sound/pci/ens1370.c if ((err = snd_ac97_bus(card, 0, &ops, NULL, &pbus)) < 0) err 1627 sound/pci/ens1370.c return err; err 1634 sound/pci/ens1370.c if ((err = snd_ac97_mixer(pbus, &ac97, &ensoniq->u.es1371.ac97)) < 0) err 1635 sound/pci/ens1370.c return err; err 1653 sound/pci/ens1370.c err = snd_ctl_add(card, kctl); err 1654 sound/pci/ens1370.c if (err < 0) err 1655 sound/pci/ens1370.c return err; err 1662 sound/pci/ens1370.c err = snd_ctl_add(card, snd_ctl_new1(&snd_ens1373_rear, ensoniq)); err 1663 sound/pci/ens1370.c if (err < 0) err 1664 sound/pci/ens1370.c return err; err 1668 sound/pci/ens1370.c err = snd_ctl_add(card, snd_ctl_new1(&snd_ens1373_line, err 1670 sound/pci/ens1370.c if (err < 0) err 1671 sound/pci/ens1370.c return err; err 1740 sound/pci/ens1370.c int err; err 1754 sound/pci/ens1370.c if ((err = snd_ak4531_mixer(card, &ak4531, &ensoniq->u.es1370.ak4531)) < 0) err 1755 sound/pci/ens1370.c return err; err 1757 sound/pci/ens1370.c err = snd_ctl_add(card, snd_ctl_new1(&snd_es1370_controls[idx], ensoniq)); err 1758 sound/pci/ens1370.c if (err < 0) err 1759 sound/pci/ens1370.c return err; err 2082 sound/pci/ens1370.c int err; err 2088 sound/pci/ens1370.c if ((err = pci_enable_device(pci)) < 0) err 2089 sound/pci/ens1370.c return err; err 2100 sound/pci/ens1370.c if ((err = pci_request_regions(pci, "Ensoniq AudioPCI")) < 0) { err 2103 sound/pci/ens1370.c return err; err 2144 sound/pci/ens1370.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, ensoniq, &ops)) < 0) { err 2146 sound/pci/ens1370.c return err; err 2336 sound/pci/ens1370.c int err; err 2340 sound/pci/ens1370.c if ((err = snd_rawmidi_new(ensoniq->card, "ES1370/1", device, 1, 1, &rmidi)) < 0) err 2341 sound/pci/ens1370.c return err; err 2403 sound/pci/ens1370.c int err, pcm_devs[2]; err 2416 sound/pci/ens1370.c if ((err = snd_ensoniq_create(card, pci, &ensoniq)) < 0) { err 2418 sound/pci/ens1370.c return err; err 2424 sound/pci/ens1370.c if ((err = snd_ensoniq_1370_mixer(ensoniq)) < 0) { err 2426 sound/pci/ens1370.c return err; err 2430 sound/pci/ens1370.c if ((err = snd_ensoniq_1371_mixer(ensoniq, spdif[dev], lineio[dev])) < 0) { err 2432 sound/pci/ens1370.c return err; err 2435 sound/pci/ens1370.c if ((err = snd_ensoniq_pcm(ensoniq, 0, NULL)) < 0) { err 2437 sound/pci/ens1370.c return err; err 2439 sound/pci/ens1370.c if ((err = snd_ensoniq_pcm2(ensoniq, 1, NULL)) < 0) { err 2441 sound/pci/ens1370.c return err; err 2443 sound/pci/ens1370.c if ((err = snd_ensoniq_midi(ensoniq, 0, NULL)) < 0) { err 2445 sound/pci/ens1370.c return err; err 2459 sound/pci/ens1370.c if ((err = snd_card_register(card)) < 0) { err 2461 sound/pci/ens1370.c return err; err 884 sound/pci/es1938.c int err; err 886 sound/pci/es1938.c if ((err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params))) < 0) err 887 sound/pci/es1938.c return err; err 1033 sound/pci/es1938.c int err; err 1035 sound/pci/es1938.c if ((err = snd_pcm_new(chip->card, "es-1938-1946", device, 2, 1, &pcm)) < 0) err 1036 sound/pci/es1938.c return err; err 1600 sound/pci/es1938.c int err; err 1608 sound/pci/es1938.c if ((err = pci_enable_device(pci)) < 0) err 1609 sound/pci/es1938.c return err; err 1628 sound/pci/es1938.c if ((err = pci_request_regions(pci, "ESS Solo-1")) < 0) { err 1631 sound/pci/es1938.c return err; err 1654 sound/pci/es1938.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 1656 sound/pci/es1938.c return err; err 1752 sound/pci/es1938.c int err; err 1779 sound/pci/es1938.c if ((err = snd_ctl_add(card, kctl)) < 0) err 1780 sound/pci/es1938.c return err; err 1793 sound/pci/es1938.c int idx, err; err 1812 sound/pci/es1938.c if ((err = snd_es1938_create(card, pci, &chip)) < 0) { err 1814 sound/pci/es1938.c return err; err 1825 sound/pci/es1938.c if ((err = snd_es1938_new_pcm(chip, 0)) < 0) { err 1827 sound/pci/es1938.c return err; err 1829 sound/pci/es1938.c if ((err = snd_es1938_mixer(chip)) < 0) { err 1831 sound/pci/es1938.c return err; err 1840 sound/pci/es1938.c if ((err = snd_opl3_timer_new(opl3, 0, 1)) < 0) { err 1842 sound/pci/es1938.c return err; err 1844 sound/pci/es1938.c if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { err 1846 sound/pci/es1938.c return err; err 1861 sound/pci/es1938.c if ((err = snd_card_register(card)) < 0) { err 1863 sound/pci/es1938.c return err; err 1423 sound/pci/es1968.c int err; err 1429 sound/pci/es1968.c err = snd_dma_alloc_pages_fallback(SNDRV_DMA_TYPE_DEV, err 1432 sound/pci/es1968.c if (err < 0 || ! chip->dma.area) { err 1801 sound/pci/es1968.c int err; err 1804 sound/pci/es1968.c if ((err = snd_es1968_init_dmabuf(chip)) < 0) err 1805 sound/pci/es1968.c return err; err 1813 sound/pci/es1968.c if ((err = snd_pcm_new(chip->card, "ESS Maestro", device, err 1816 sound/pci/es1968.c return err; err 1997 sound/pci/es1968.c int err; err 2003 sound/pci/es1968.c if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) err 2004 sound/pci/es1968.c return err; err 2009 sound/pci/es1968.c if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97)) < 0) err 2010 sound/pci/es1968.c return err; err 2534 sound/pci/es1968.c int i, err; err 2539 sound/pci/es1968.c if ((err = pci_enable_device(pci)) < 0) err 2540 sound/pci/es1968.c return err; err 2571 sound/pci/es1968.c if ((err = pci_request_regions(pci, "ESS Maestro")) < 0) { err 2574 sound/pci/es1968.c return err; err 2617 sound/pci/es1968.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 2619 sound/pci/es1968.c return err; err 2639 sound/pci/es1968.c int err; err 2656 sound/pci/es1968.c if ((err = snd_es1968_create(card, pci, err 2664 sound/pci/es1968.c return err; err 2683 sound/pci/es1968.c if ((err = snd_es1968_pcm(chip, 0)) < 0) { err 2685 sound/pci/es1968.c return err; err 2688 sound/pci/es1968.c if ((err = snd_es1968_mixer(chip)) < 0) { err 2690 sound/pci/es1968.c return err; err 2706 sound/pci/es1968.c if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, err 2725 sound/pci/es1968.c if ((err = snd_card_register(card)) < 0) { err 2727 sound/pci/es1968.c return err; err 614 sound/pci/fm801.c int err; err 626 sound/pci/fm801.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) err 627 sound/pci/fm801.c return err; err 635 sound/pci/fm801.c int err; err 641 sound/pci/fm801.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) err 642 sound/pci/fm801.c return err; err 687 sound/pci/fm801.c int err; err 691 sound/pci/fm801.c if ((err = snd_pcm_new(chip->card, "FM801", device, 1, 1, &pcm)) < 0) err 692 sound/pci/fm801.c return err; err 1235 sound/pci/fm801.c int err; err 1241 sound/pci/fm801.c if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &chip->ac97_bus)) < 0) err 1242 sound/pci/fm801.c return err; err 1248 sound/pci/fm801.c if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97)) < 0) err 1249 sound/pci/fm801.c return err; err 1253 sound/pci/fm801.c if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97_sec)) < 0) err 1254 sound/pci/fm801.c return err; err 1393 sound/pci/fm801.c int err; err 1399 sound/pci/fm801.c if ((err = pci_enable_device(pci)) < 0) err 1400 sound/pci/fm801.c return err; err 1411 sound/pci/fm801.c if ((err = pci_request_regions(pci, "FM801")) < 0) { err 1414 sound/pci/fm801.c return err; err 1433 sound/pci/fm801.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 1435 sound/pci/fm801.c return err; err 1462 sound/pci/fm801.c int err; err 1474 sound/pci/fm801.c if ((err = snd_fm801_create(card, pci, tea575x_tuner[dev], &chip)) < 0) { err 1476 sound/pci/fm801.c return err; err 1489 sound/pci/fm801.c if ((err = snd_fm801_pcm(chip, 0, NULL)) < 0) { err 1491 sound/pci/fm801.c return err; err 1493 sound/pci/fm801.c if ((err = snd_fm801_mixer(chip)) < 0) { err 1495 sound/pci/fm801.c return err; err 1497 sound/pci/fm801.c if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_FM801, err 1502 sound/pci/fm801.c return err; err 1504 sound/pci/fm801.c if ((err = snd_opl3_create(card, FM801_REG(chip, OPL3_BANK0), err 1508 sound/pci/fm801.c return err; err 1510 sound/pci/fm801.c if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { err 1512 sound/pci/fm801.c return err; err 1516 sound/pci/fm801.c if ((err = snd_card_register(card)) < 0) { err 1518 sound/pci/fm801.c return err; err 80 sound/pci/hda/hda_beep.c int err; err 104 sound/pci/hda/hda_beep.c err = input_register_device(input_dev); err 105 sound/pci/hda/hda_beep.c if (err < 0) { err 108 sound/pci/hda/hda_beep.c return err; err 153 sound/pci/hda/hda_codec.c int err; err 156 sound/pci/hda/hda_codec.c err = codec->bus->ops.command(codec, nid, direct, verb, parm); err 159 sound/pci/hda/hda_codec.c return err; err 409 sound/pci/hda/hda_codec.c int err; err 437 sound/pci/hda/hda_codec.c err = snd_device_new(card, SNDRV_DEV_BUS, bus, &dev_ops); err 438 sound/pci/hda/hda_codec.c if (err < 0) { err 440 sound/pci/hda/hda_codec.c return err; err 595 sound/pci/hda/hda_codec.c int err; err 672 sound/pci/hda/hda_codec.c err = snd_hda_parse_generic_codec(codec); err 676 sound/pci/hda/hda_codec.c err = codec->preset->patch(codec); err 681 sound/pci/hda/hda_codec.c err = snd_hda_parse_generic_codec(codec); err 682 sound/pci/hda/hda_codec.c if (err < 0) err 686 sound/pci/hda/hda_codec.c if (err < 0) { err 688 sound/pci/hda/hda_codec.c return err; err 1106 sound/pci/hda/hda_codec.c int err; err 1117 sound/pci/hda/hda_codec.c err = snd_ctl_add(codec->bus->card, kctl); err 1118 sound/pci/hda/hda_codec.c if (err < 0) err 1119 sound/pci/hda/hda_codec.c return err; err 1129 sound/pci/hda/hda_codec.c err = snd_ctl_add_slave(kctl, sctl); err 1130 sound/pci/hda/hda_codec.c if (err < 0) err 1131 sound/pci/hda/hda_codec.c return err; err 1212 sound/pci/hda/hda_codec.c int err; err 1217 sound/pci/hda/hda_codec.c err = snd_hda_mixer_amp_switch_get(kcontrol, ucontrol); err 1220 sound/pci/hda/hda_codec.c return err; err 1228 sound/pci/hda/hda_codec.c int i, indices, err = 0, change = 0; err 1236 sound/pci/hda/hda_codec.c err = snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); err 1237 sound/pci/hda/hda_codec.c if (err < 0) err 1239 sound/pci/hda/hda_codec.c change |= err; err 1243 sound/pci/hda/hda_codec.c return err < 0 ? err : change; err 1254 sound/pci/hda/hda_codec.c int err; err 1259 sound/pci/hda/hda_codec.c err = c->ops->info(kcontrol, uinfo); err 1262 sound/pci/hda/hda_codec.c return err; err 1270 sound/pci/hda/hda_codec.c int err; err 1275 sound/pci/hda/hda_codec.c err = c->ops->get(kcontrol, ucontrol); err 1278 sound/pci/hda/hda_codec.c return err; err 1287 sound/pci/hda/hda_codec.c int err = 0, change = 0; err 1293 sound/pci/hda/hda_codec.c err = c->ops->put(kcontrol, ucontrol); err 1294 sound/pci/hda/hda_codec.c if (err < 0) err 1296 sound/pci/hda/hda_codec.c change |= err; err 1300 sound/pci/hda/hda_codec.c return err < 0 ? err : change; err 1308 sound/pci/hda/hda_codec.c int err; err 1313 sound/pci/hda/hda_codec.c err = c->ops->tlv(kcontrol, op_flag, size, tlv); err 1316 sound/pci/hda/hda_codec.c return err; err 1563 sound/pci/hda/hda_codec.c int err; err 1581 sound/pci/hda/hda_codec.c err = snd_ctl_add(codec->bus->card, kctl); err 1582 sound/pci/hda/hda_codec.c if (err < 0) err 1583 sound/pci/hda/hda_codec.c return err; err 1710 sound/pci/hda/hda_codec.c int err; err 1727 sound/pci/hda/hda_codec.c err = snd_ctl_add(codec->bus->card, kctl); err 1728 sound/pci/hda/hda_codec.c if (err < 0) err 1729 sound/pci/hda/hda_codec.c return err; err 1763 sound/pci/hda/hda_codec.c int err; err 1766 sound/pci/hda/hda_codec.c err = codec->bus->ops.command(codec, nid, direct, verb, parm); err 1767 sound/pci/hda/hda_codec.c if (!err) { err 1776 sound/pci/hda/hda_codec.c return err; err 1921 sound/pci/hda/hda_codec.c int err = 0; err 1930 sound/pci/hda/hda_codec.c err = codec->patch_ops.init(codec); err 1931 sound/pci/hda/hda_codec.c if (!err && codec->patch_ops.build_controls) err 1932 sound/pci/hda/hda_codec.c err = codec->patch_ops.build_controls(codec); err 1934 sound/pci/hda/hda_codec.c if (err < 0) err 1935 sound/pci/hda/hda_codec.c return err; err 2297 sound/pci/hda/hda_codec.c int err; err 2300 sound/pci/hda/hda_codec.c err = codec->patch_ops.build_pcms(codec); err 2301 sound/pci/hda/hda_codec.c if (err < 0) err 2302 sound/pci/hda/hda_codec.c return err; err 2309 sound/pci/hda/hda_codec.c err = set_pcm_default_values(codec, info); err 2310 sound/pci/hda/hda_codec.c if (err < 0) err 2311 sound/pci/hda/hda_codec.c return err; err 2385 sound/pci/hda/hda_codec.c int err; err 2392 sound/pci/hda/hda_codec.c err = snd_ctl_add(codec->bus->card, kctl); err 2393 sound/pci/hda/hda_codec.c if (err < 0) { err 2395 sound/pci/hda/hda_codec.c return err; err 2400 sound/pci/hda/hda_codec.c err = snd_ctl_add(codec->bus->card, kctl); err 2401 sound/pci/hda/hda_codec.c if (err < 0) err 2402 sound/pci/hda/hda_codec.c return err; err 174 sound/pci/hda/hda_generic.c int i, nodes, err; err 191 sound/pci/hda/hda_generic.c if ((err = add_new_node(codec, spec, nid)) < 0) err 192 sound/pci/hda/hda_generic.c return err; err 275 sound/pci/hda/hda_generic.c int i, err; err 306 sound/pci/hda/hda_generic.c err = parse_output_path(codec, spec, child, dac_idx); err 307 sound/pci/hda/hda_generic.c if (err < 0) err 308 sound/pci/hda/hda_generic.c return err; err 309 sound/pci/hda/hda_generic.c else if (err > 0) { err 346 sound/pci/hda/hda_generic.c int err; err 367 sound/pci/hda/hda_generic.c err = parse_output_path(codec, spec, node, 0); err 368 sound/pci/hda/hda_generic.c if (err < 0) err 370 sound/pci/hda/hda_generic.c if (! err && spec->out_pin_node[0]) { err 371 sound/pci/hda/hda_generic.c err = parse_output_path(codec, spec, node, 1); err 372 sound/pci/hda/hda_generic.c if (err < 0) err 375 sound/pci/hda/hda_generic.c if (err > 0) { err 507 sound/pci/hda/hda_generic.c int i, err; err 522 sound/pci/hda/hda_generic.c err = parse_adc_sub_nodes(codec, spec, child); err 523 sound/pci/hda/hda_generic.c if (err < 0) err 524 sound/pci/hda/hda_generic.c return err; err 525 sound/pci/hda/hda_generic.c if (err > 0) { err 533 sound/pci/hda/hda_generic.c return err; err 606 sound/pci/hda/hda_generic.c int i, err; err 623 sound/pci/hda/hda_generic.c err = parse_adc_sub_nodes(codec, spec, node); err 624 sound/pci/hda/hda_generic.c if (err < 0) err 625 sound/pci/hda/hda_generic.c return err; err 626 sound/pci/hda/hda_generic.c else if (err > 0) err 634 sound/pci/hda/hda_generic.c err = parse_adc_sub_nodes(codec, spec, node); err 635 sound/pci/hda/hda_generic.c if (err < 0) err 636 sound/pci/hda/hda_generic.c return err; err 637 sound/pci/hda/hda_generic.c else if (err > 0) err 661 sound/pci/hda/hda_generic.c int err; err 672 sound/pci/hda/hda_generic.c err = parse_input_path(codec, node); err 673 sound/pci/hda/hda_generic.c if (err < 0) err 674 sound/pci/hda/hda_generic.c return err; err 675 sound/pci/hda/hda_generic.c else if (err > 0) err 712 sound/pci/hda/hda_generic.c int err; err 726 sound/pci/hda/hda_generic.c if ((err = snd_ctl_add(codec->bus->card, snd_ctl_new1(&knew, codec))) < 0) err 727 sound/pci/hda/hda_generic.c return err; err 735 sound/pci/hda/hda_generic.c if ((err = snd_ctl_add(codec->bus->card, snd_ctl_new1(&knew, codec))) < 0) err 736 sound/pci/hda/hda_generic.c return err; err 748 sound/pci/hda/hda_generic.c if ((err = snd_ctl_add(codec->bus->card, snd_ctl_new1(&knew, codec))) < 0) err 749 sound/pci/hda/hda_generic.c return err; err 755 sound/pci/hda/hda_generic.c if ((err = snd_ctl_add(codec->bus->card, snd_ctl_new1(&knew, codec))) < 0) err 756 sound/pci/hda/hda_generic.c return err; err 787 sound/pci/hda/hda_generic.c int i, err; err 790 sound/pci/hda/hda_generic.c err = create_mixer(codec, spec->pcm_vol[i].node, err 793 sound/pci/hda/hda_generic.c if (err < 0) err 794 sound/pci/hda/hda_generic.c return err; err 824 sound/pci/hda/hda_generic.c int i, err; err 843 sound/pci/hda/hda_generic.c err = create_mixer(codec, adc_node, err 846 sound/pci/hda/hda_generic.c if (err < 0) err 847 sound/pci/hda/hda_generic.c return err; err 852 sound/pci/hda/hda_generic.c if ((err = snd_ctl_add(codec->bus->card, err 854 sound/pci/hda/hda_generic.c return err; err 870 sound/pci/hda/hda_generic.c if ((err = snd_ctl_add(codec->bus->card, err 872 sound/pci/hda/hda_generic.c return err; err 891 sound/pci/hda/hda_generic.c int i, err; err 906 sound/pci/hda/hda_generic.c err = parse_loopback_path(codec, spec, child, dest_node, type); err 907 sound/pci/hda/hda_generic.c if (err < 0) err 908 sound/pci/hda/hda_generic.c return err; err 909 sound/pci/hda/hda_generic.c else if (err >= 1) { err 910 sound/pci/hda/hda_generic.c if (err == 1) { err 911 sound/pci/hda/hda_generic.c err = create_mixer(codec, node, i, type, err 913 sound/pci/hda/hda_generic.c if (err < 0) err 914 sound/pci/hda/hda_generic.c return err; err 915 sound/pci/hda/hda_generic.c if (err > 0) err 918 sound/pci/hda/hda_generic.c err = 1; err 925 sound/pci/hda/hda_generic.c return err; err 938 sound/pci/hda/hda_generic.c int err; err 955 sound/pci/hda/hda_generic.c err = parse_loopback_path(codec, spec, err 958 sound/pci/hda/hda_generic.c if (err < 0) err 959 sound/pci/hda/hda_generic.c return err; err 960 sound/pci/hda/hda_generic.c if (! err) err 972 sound/pci/hda/hda_generic.c int err; err 974 sound/pci/hda/hda_generic.c if ((err = build_input_controls(codec)) < 0 || err 975 sound/pci/hda/hda_generic.c (err = build_output_controls(codec)) < 0 || err 976 sound/pci/hda/hda_generic.c (err = build_loopback_controls(codec)) < 0) err 977 sound/pci/hda/hda_generic.c return err; err 1072 sound/pci/hda/hda_generic.c int err; err 1085 sound/pci/hda/hda_generic.c if ((err = build_afg_tree(codec)) < 0) err 1088 sound/pci/hda/hda_generic.c if ((err = parse_input(codec)) < 0 || err 1089 sound/pci/hda/hda_generic.c (err = parse_output(codec)) < 0) err 1098 sound/pci/hda/hda_generic.c return err; err 102 sound/pci/hda/hda_hwdep.c int err; err 105 sound/pci/hda/hda_hwdep.c err = snd_hwdep_new(codec->bus->card, hwname, codec->addr, &hwdep); err 106 sound/pci/hda/hda_hwdep.c if (err < 0) err 107 sound/pci/hda/hda_hwdep.c return err; err 471 sound/pci/hda/hda_intel.c int err; err 474 sound/pci/hda/hda_intel.c err = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, err 477 sound/pci/hda/hda_intel.c if (err < 0) { err 479 sound/pci/hda/hda_intel.c return err; err 1206 sound/pci/hda/hda_intel.c int c, codecs, audio_codecs, err; err 1219 sound/pci/hda/hda_intel.c err = snd_hda_bus_new(chip->card, &bus_temp, &chip->bus); err 1220 sound/pci/hda/hda_intel.c if (err < 0) err 1221 sound/pci/hda/hda_intel.c return err; err 1236 sound/pci/hda/hda_intel.c err = snd_hda_codec_new(chip->bus, c, &codec); err 1237 sound/pci/hda/hda_intel.c if (err < 0) err 1248 sound/pci/hda/hda_intel.c err = snd_hda_codec_new(chip->bus, c, NULL); err 1249 sound/pci/hda/hda_intel.c if (err < 0) err 1330 sound/pci/hda/hda_intel.c int err; err 1350 sound/pci/hda/hda_intel.c err = hinfo->ops.open(hinfo, apcm->codec, substream); err 1351 sound/pci/hda/hda_intel.c if (err < 0) { err 1355 sound/pci/hda/hda_intel.c return err; err 1727 sound/pci/hda/hda_intel.c int err; err 1740 sound/pci/hda/hda_intel.c err = snd_pcm_new(chip->card, cpcm->name, cpcm->device, err 1744 sound/pci/hda/hda_intel.c if (err < 0) err 1745 sound/pci/hda/hda_intel.c return err; err 1782 sound/pci/hda/hda_intel.c int c, err; err 1785 sound/pci/hda/hda_intel.c err = snd_hda_build_pcms(chip->bus); err 1786 sound/pci/hda/hda_intel.c if (err < 0) err 1787 sound/pci/hda/hda_intel.c return err; err 1821 sound/pci/hda/hda_intel.c err = create_codec_pcm(chip, codec, cpcm); err 1822 sound/pci/hda/hda_intel.c if (err < 0) err 1823 sound/pci/hda/hda_intel.c return err; err 2098 sound/pci/hda/hda_intel.c int i, err; err 2106 sound/pci/hda/hda_intel.c err = pci_enable_device(pci); err 2107 sound/pci/hda/hda_intel.c if (err < 0) err 2108 sound/pci/hda/hda_intel.c return err; err 2153 sound/pci/hda/hda_intel.c err = pci_request_regions(pci, "ICH HD audio"); err 2154 sound/pci/hda/hda_intel.c if (err < 0) { err 2157 sound/pci/hda/hda_intel.c return err; err 2164 sound/pci/hda/hda_intel.c err = -ENXIO; err 2173 sound/pci/hda/hda_intel.c err = -EBUSY; err 2222 sound/pci/hda/hda_intel.c err = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, err 2225 sound/pci/hda/hda_intel.c if (err < 0) { err 2231 sound/pci/hda/hda_intel.c err = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, err 2234 sound/pci/hda/hda_intel.c if (err < 0) { err 2240 sound/pci/hda/hda_intel.c err = azx_alloc_cmd_io(chip); err 2241 sound/pci/hda/hda_intel.c if (err < 0) err 2255 sound/pci/hda/hda_intel.c err = -ENODEV; err 2259 sound/pci/hda/hda_intel.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops); err 2260 sound/pci/hda/hda_intel.c if (err <0) { err 2275 sound/pci/hda/hda_intel.c return err; err 2297 sound/pci/hda/hda_intel.c int err; err 2312 sound/pci/hda/hda_intel.c err = azx_create(card, pci, dev, pci_id->driver_data, &chip); err 2313 sound/pci/hda/hda_intel.c if (err < 0) { err 2315 sound/pci/hda/hda_intel.c return err; err 2320 sound/pci/hda/hda_intel.c err = azx_codec_create(chip, model[dev], probe_mask[dev]); err 2321 sound/pci/hda/hda_intel.c if (err < 0) { err 2323 sound/pci/hda/hda_intel.c return err; err 2327 sound/pci/hda/hda_intel.c err = azx_pcm_create(chip); err 2328 sound/pci/hda/hda_intel.c if (err < 0) { err 2330 sound/pci/hda/hda_intel.c return err; err 2334 sound/pci/hda/hda_intel.c err = azx_mixer_create(chip); err 2335 sound/pci/hda/hda_intel.c if (err < 0) { err 2337 sound/pci/hda/hda_intel.c return err; err 2342 sound/pci/hda/hda_intel.c err = snd_card_register(card); err 2343 sound/pci/hda/hda_intel.c if (err < 0) { err 2345 sound/pci/hda/hda_intel.c return err; err 2353 sound/pci/hda/hda_intel.c return err; err 664 sound/pci/hda/hda_proc.c int err; err 667 sound/pci/hda/hda_proc.c err = snd_card_proc_new(codec->bus->card, name, &entry); err 668 sound/pci/hda/hda_proc.c if (err < 0) err 669 sound/pci/hda/hda_proc.c return err; err 161 sound/pci/hda/patch_analog.c int err; err 164 sound/pci/hda/patch_analog.c err = snd_hda_add_new_ctls(codec, spec->mixers[i]); err 165 sound/pci/hda/patch_analog.c if (err < 0) err 166 sound/pci/hda/patch_analog.c return err; err 169 sound/pci/hda/patch_analog.c err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid); err 170 sound/pci/hda/patch_analog.c if (err < 0) err 171 sound/pci/hda/patch_analog.c return err; err 172 sound/pci/hda/patch_analog.c err = snd_hda_create_spdif_share_sw(codec, err 174 sound/pci/hda/patch_analog.c if (err < 0) err 175 sound/pci/hda/patch_analog.c return err; err 179 sound/pci/hda/patch_analog.c err = snd_hda_create_spdif_in_ctls(codec, spec->dig_in_nid); err 180 sound/pci/hda/patch_analog.c if (err < 0) err 181 sound/pci/hda/patch_analog.c return err; err 189 sound/pci/hda/patch_analog.c err = snd_hda_add_vmaster(codec, "Master Playback Volume", err 193 sound/pci/hda/patch_analog.c if (err < 0) err 194 sound/pci/hda/patch_analog.c return err; err 197 sound/pci/hda/patch_analog.c err = snd_hda_add_vmaster(codec, "Master Playback Switch", err 201 sound/pci/hda/patch_analog.c if (err < 0) err 202 sound/pci/hda/patch_analog.c return err; err 1882 sound/pci/hda/patch_analog.c int err = snd_hda_ch_mode_put(codec, ucontrol, spec->channel_mode, err 1885 sound/pci/hda/patch_analog.c if (err >= 0 && spec->need_dac_fix) err 1887 sound/pci/hda/patch_analog.c return err; err 2590 sound/pci/hda/patch_analog.c int i, err; err 2599 sound/pci/hda/patch_analog.c err = add_control(spec, AD_CTL_WIDGET_VOL, err 2602 sound/pci/hda/patch_analog.c if (err < 0) err 2603 sound/pci/hda/patch_analog.c return err; err 2604 sound/pci/hda/patch_analog.c err = add_control(spec, AD_CTL_WIDGET_VOL, err 2607 sound/pci/hda/patch_analog.c if (err < 0) err 2608 sound/pci/hda/patch_analog.c return err; err 2609 sound/pci/hda/patch_analog.c err = add_control(spec, AD_CTL_BIND_MUTE, err 2612 sound/pci/hda/patch_analog.c if (err < 0) err 2613 sound/pci/hda/patch_analog.c return err; err 2614 sound/pci/hda/patch_analog.c err = add_control(spec, AD_CTL_BIND_MUTE, err 2617 sound/pci/hda/patch_analog.c if (err < 0) err 2618 sound/pci/hda/patch_analog.c return err; err 2621 sound/pci/hda/patch_analog.c err = add_control(spec, AD_CTL_WIDGET_VOL, name, err 2623 sound/pci/hda/patch_analog.c if (err < 0) err 2624 sound/pci/hda/patch_analog.c return err; err 2626 sound/pci/hda/patch_analog.c err = add_control(spec, AD_CTL_BIND_MUTE, name, err 2628 sound/pci/hda/patch_analog.c if (err < 0) err 2629 sound/pci/hda/patch_analog.c return err; err 2641 sound/pci/hda/patch_analog.c int i, idx, err; err 2664 sound/pci/hda/patch_analog.c err = add_control(spec, AD_CTL_WIDGET_VOL, name, err 2666 sound/pci/hda/patch_analog.c if (err < 0) err 2667 sound/pci/hda/patch_analog.c return err; err 2671 sound/pci/hda/patch_analog.c if ((err = add_control(spec, AD_CTL_BIND_MUTE, name, err 2673 sound/pci/hda/patch_analog.c return err; err 2682 sound/pci/hda/patch_analog.c int err, idx; err 2686 sound/pci/hda/patch_analog.c if ((err = add_control(spec, AD_CTL_WIDGET_VOL, name, err 2688 sound/pci/hda/patch_analog.c return err; err 2690 sound/pci/hda/patch_analog.c if ((err = add_control(spec, AD_CTL_WIDGET_MUTE, name, err 2692 sound/pci/hda/patch_analog.c return err; err 2712 sound/pci/hda/patch_analog.c int i, err; err 2715 sound/pci/hda/patch_analog.c err = new_analog_input(spec, cfg->input_pins[i], err 2718 sound/pci/hda/patch_analog.c if (err < 0) err 2719 sound/pci/hda/patch_analog.c return err; err 2728 sound/pci/hda/patch_analog.c if ((err = add_control(spec, AD_CTL_WIDGET_VOL, err 2731 sound/pci/hda/patch_analog.c return err; err 2732 sound/pci/hda/patch_analog.c if ((err = add_control(spec, AD_CTL_WIDGET_MUTE, err 2735 sound/pci/hda/patch_analog.c return err; err 2825 sound/pci/hda/patch_analog.c int err; err 2827 sound/pci/hda/patch_analog.c if ((err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL)) < 0) err 2828 sound/pci/hda/patch_analog.c return err; err 2829 sound/pci/hda/patch_analog.c if ((err = ad1988_auto_fill_dac_nids(codec, &spec->autocfg)) < 0) err 2830 sound/pci/hda/patch_analog.c return err; err 2833 sound/pci/hda/patch_analog.c if ((err = ad1988_auto_create_multi_out_ctls(spec, &spec->autocfg)) < 0 || err 2834 sound/pci/hda/patch_analog.c (err = ad1988_auto_create_extra_out(codec, err 2837 sound/pci/hda/patch_analog.c (err = ad1988_auto_create_extra_out(codec, spec->autocfg.hp_pins[0], err 2839 sound/pci/hda/patch_analog.c (err = ad1988_auto_create_analog_input_ctls(spec, &spec->autocfg)) < 0) err 2840 sound/pci/hda/patch_analog.c return err; err 2914 sound/pci/hda/patch_analog.c int err = ad1988_parse_auto_config(codec); err 2915 sound/pci/hda/patch_analog.c if (err < 0) { err 2917 sound/pci/hda/patch_analog.c return err; err 2918 sound/pci/hda/patch_analog.c } else if (! err) { err 3393 sound/pci/hda/patch_analog.c int err; err 3395 sound/pci/hda/patch_analog.c err = ad198x_build_pcms(codec); err 3396 sound/pci/hda/patch_analog.c if (err < 0) err 3397 sound/pci/hda/patch_analog.c return err; err 3430 sound/pci/hda/patch_analog.c int board_config, err; err 3432 sound/pci/hda/patch_analog.c err = patch_ad1884(codec); err 3433 sound/pci/hda/patch_analog.c if (err < 0) err 3434 sound/pci/hda/patch_analog.c return err; err 53 sound/pci/hda/patch_atihdmi.c int err; err 55 sound/pci/hda/patch_atihdmi.c err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid); err 56 sound/pci/hda/patch_atihdmi.c if (err < 0) err 57 sound/pci/hda/patch_atihdmi.c return err; err 100 sound/pci/hda/patch_atihdmi.c int i, err; err 102 sound/pci/hda/patch_atihdmi.c err = snd_hda_multi_out_dig_prepare(codec, &spec->multiout, stream_tag, err 104 sound/pci/hda/patch_atihdmi.c if (err < 0) err 105 sound/pci/hda/patch_atihdmi.c return err; err 319 sound/pci/hda/patch_cmedia.c int err; err 321 sound/pci/hda/patch_cmedia.c err = snd_hda_add_new_ctls(codec, cmi9880_basic_mixer); err 322 sound/pci/hda/patch_cmedia.c if (err < 0) err 323 sound/pci/hda/patch_cmedia.c return err; err 325 sound/pci/hda/patch_cmedia.c err = snd_hda_add_new_ctls(codec, cmi9880_ch_mode_mixer); err 326 sound/pci/hda/patch_cmedia.c if (err < 0) err 327 sound/pci/hda/patch_cmedia.c return err; err 330 sound/pci/hda/patch_cmedia.c err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid); err 331 sound/pci/hda/patch_cmedia.c if (err < 0) err 332 sound/pci/hda/patch_cmedia.c return err; err 333 sound/pci/hda/patch_cmedia.c err = snd_hda_create_spdif_share_sw(codec, err 335 sound/pci/hda/patch_cmedia.c if (err < 0) err 336 sound/pci/hda/patch_cmedia.c return err; err 340 sound/pci/hda/patch_cmedia.c err = snd_hda_create_spdif_in_ctls(codec, spec->dig_in_nid); err 341 sound/pci/hda/patch_cmedia.c if (err < 0) err 342 sound/pci/hda/patch_cmedia.c return err; err 363 sound/pci/hda/patch_conexant.c int err; err 366 sound/pci/hda/patch_conexant.c err = snd_hda_add_new_ctls(codec, spec->mixers[i]); err 367 sound/pci/hda/patch_conexant.c if (err < 0) err 368 sound/pci/hda/patch_conexant.c return err; err 371 sound/pci/hda/patch_conexant.c err = snd_hda_create_spdif_out_ctls(codec, err 373 sound/pci/hda/patch_conexant.c if (err < 0) err 374 sound/pci/hda/patch_conexant.c return err; err 375 sound/pci/hda/patch_conexant.c err = snd_hda_create_spdif_share_sw(codec, err 377 sound/pci/hda/patch_conexant.c if (err < 0) err 378 sound/pci/hda/patch_conexant.c return err; err 382 sound/pci/hda/patch_conexant.c err = snd_hda_create_spdif_in_ctls(codec,spec->dig_in_nid); err 383 sound/pci/hda/patch_conexant.c if (err < 0) err 384 sound/pci/hda/patch_conexant.c return err; err 475 sound/pci/hda/patch_conexant.c int err = snd_hda_ch_mode_put(codec, ucontrol, spec->channel_mode, err 478 sound/pci/hda/patch_conexant.c if (err >= 0 && spec->need_dac_fix) err 480 sound/pci/hda/patch_conexant.c return err; err 50 sound/pci/hda/patch_nvhdmi.c int err; err 52 sound/pci/hda/patch_nvhdmi.c err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid); err 53 sound/pci/hda/patch_nvhdmi.c if (err < 0) err 54 sound/pci/hda/patch_nvhdmi.c return err; err 407 sound/pci/hda/patch_realtek.c int err = snd_hda_ch_mode_put(codec, ucontrol, spec->channel_mode, err 410 sound/pci/hda/patch_realtek.c if (err >= 0 && spec->need_dac_fix) err 412 sound/pci/hda/patch_realtek.c return err; err 1596 sound/pci/hda/patch_realtek.c int err; err 1600 sound/pci/hda/patch_realtek.c err = snd_hda_add_new_ctls(codec, spec->mixers[i]); err 1601 sound/pci/hda/patch_realtek.c if (err < 0) err 1602 sound/pci/hda/patch_realtek.c return err; err 1606 sound/pci/hda/patch_realtek.c err = snd_hda_create_spdif_out_ctls(codec, err 1608 sound/pci/hda/patch_realtek.c if (err < 0) err 1609 sound/pci/hda/patch_realtek.c return err; err 1610 sound/pci/hda/patch_realtek.c err = snd_hda_create_spdif_share_sw(codec, err 1612 sound/pci/hda/patch_realtek.c if (err < 0) err 1613 sound/pci/hda/patch_realtek.c return err; err 1617 sound/pci/hda/patch_realtek.c err = snd_hda_create_spdif_in_ctls(codec, spec->dig_in_nid); err 1618 sound/pci/hda/patch_realtek.c if (err < 0) err 1619 sound/pci/hda/patch_realtek.c return err; err 1627 sound/pci/hda/patch_realtek.c err = snd_hda_add_vmaster(codec, "Master Playback Volume", err 1629 sound/pci/hda/patch_realtek.c if (err < 0) err 1630 sound/pci/hda/patch_realtek.c return err; err 1633 sound/pci/hda/patch_realtek.c err = snd_hda_add_vmaster(codec, "Master Playback Switch", err 1635 sound/pci/hda/patch_realtek.c if (err < 0) err 1636 sound/pci/hda/patch_realtek.c return err; err 3532 sound/pci/hda/patch_realtek.c int i, err; err 3540 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 3544 sound/pci/hda/patch_realtek.c if (err < 0) err 3545 sound/pci/hda/patch_realtek.c return err; err 3546 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 3550 sound/pci/hda/patch_realtek.c if (err < 0) err 3551 sound/pci/hda/patch_realtek.c return err; err 3552 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_BIND_MUTE, err 3556 sound/pci/hda/patch_realtek.c if (err < 0) err 3557 sound/pci/hda/patch_realtek.c return err; err 3558 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_BIND_MUTE, err 3562 sound/pci/hda/patch_realtek.c if (err < 0) err 3563 sound/pci/hda/patch_realtek.c return err; err 3566 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, name, err 3569 sound/pci/hda/patch_realtek.c if (err < 0) err 3570 sound/pci/hda/patch_realtek.c return err; err 3572 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_BIND_MUTE, name, err 3575 sound/pci/hda/patch_realtek.c if (err < 0) err 3576 sound/pci/hda/patch_realtek.c return err; err 3587 sound/pci/hda/patch_realtek.c int err; err 3603 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, name, err 3605 sound/pci/hda/patch_realtek.c if (err < 0) err 3606 sound/pci/hda/patch_realtek.c return err; err 3608 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_BIND_MUTE, name, err 3610 sound/pci/hda/patch_realtek.c if (err < 0) err 3611 sound/pci/hda/patch_realtek.c return err; err 3616 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, name, err 3618 sound/pci/hda/patch_realtek.c if (err < 0) err 3619 sound/pci/hda/patch_realtek.c return err; err 3630 sound/pci/hda/patch_realtek.c int err; err 3633 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, name, err 3635 sound/pci/hda/patch_realtek.c if (err < 0) err 3636 sound/pci/hda/patch_realtek.c return err; err 3638 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, name, err 3640 sound/pci/hda/patch_realtek.c if (err < 0) err 3641 sound/pci/hda/patch_realtek.c return err; err 3650 sound/pci/hda/patch_realtek.c int i, err, idx; err 3655 sound/pci/hda/patch_realtek.c err = new_analog_input(spec, cfg->input_pins[i], err 3658 sound/pci/hda/patch_realtek.c if (err < 0) err 3659 sound/pci/hda/patch_realtek.c return err; err 3756 sound/pci/hda/patch_realtek.c int err; err 3759 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, err 3761 sound/pci/hda/patch_realtek.c if (err < 0) err 3762 sound/pci/hda/patch_realtek.c return err; err 3766 sound/pci/hda/patch_realtek.c err = alc880_auto_fill_dac_nids(spec, &spec->autocfg); err 3767 sound/pci/hda/patch_realtek.c if (err < 0) err 3768 sound/pci/hda/patch_realtek.c return err; err 3769 sound/pci/hda/patch_realtek.c err = alc880_auto_create_multi_out_ctls(spec, &spec->autocfg); err 3770 sound/pci/hda/patch_realtek.c if (err < 0) err 3771 sound/pci/hda/patch_realtek.c return err; err 3772 sound/pci/hda/patch_realtek.c err = alc880_auto_create_extra_out(spec, err 3775 sound/pci/hda/patch_realtek.c if (err < 0) err 3776 sound/pci/hda/patch_realtek.c return err; err 3777 sound/pci/hda/patch_realtek.c err = alc880_auto_create_extra_out(spec, spec->autocfg.hp_pins[0], err 3779 sound/pci/hda/patch_realtek.c if (err < 0) err 3780 sound/pci/hda/patch_realtek.c return err; err 3781 sound/pci/hda/patch_realtek.c err = alc880_auto_create_analog_input_ctls(spec, &spec->autocfg); err 3782 sound/pci/hda/patch_realtek.c if (err < 0) err 3783 sound/pci/hda/patch_realtek.c return err; err 3822 sound/pci/hda/patch_realtek.c int err; err 3841 sound/pci/hda/patch_realtek.c err = alc880_parse_auto_config(codec); err 3842 sound/pci/hda/patch_realtek.c if (err < 0) { err 3844 sound/pci/hda/patch_realtek.c return err; err 3845 sound/pci/hda/patch_realtek.c } else if (!err) { err 4969 sound/pci/hda/patch_realtek.c int err; err 4987 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, name, vol_val); err 4988 sound/pci/hda/patch_realtek.c if (err < 0) err 4989 sound/pci/hda/patch_realtek.c return err; err 4991 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, name, sw_val); err 4992 sound/pci/hda/patch_realtek.c if (err < 0) err 4993 sound/pci/hda/patch_realtek.c return err; err 5002 sound/pci/hda/patch_realtek.c int err; err 5010 sound/pci/hda/patch_realtek.c err = alc260_add_playback_controls(spec, nid, "Front"); err 5011 sound/pci/hda/patch_realtek.c if (err < 0) err 5012 sound/pci/hda/patch_realtek.c return err; err 5017 sound/pci/hda/patch_realtek.c err = alc260_add_playback_controls(spec, nid, "Speaker"); err 5018 sound/pci/hda/patch_realtek.c if (err < 0) err 5019 sound/pci/hda/patch_realtek.c return err; err 5024 sound/pci/hda/patch_realtek.c err = alc260_add_playback_controls(spec, nid, "Headphone"); err 5025 sound/pci/hda/patch_realtek.c if (err < 0) err 5026 sound/pci/hda/patch_realtek.c return err; err 5036 sound/pci/hda/patch_realtek.c int i, err, idx; err 5041 sound/pci/hda/patch_realtek.c err = new_analog_input(spec, cfg->input_pins[i], err 5044 sound/pci/hda/patch_realtek.c if (err < 0) err 5045 sound/pci/hda/patch_realtek.c return err; err 5053 sound/pci/hda/patch_realtek.c err = new_analog_input(spec, cfg->input_pins[i], err 5056 sound/pci/hda/patch_realtek.c if (err < 0) err 5057 sound/pci/hda/patch_realtek.c return err; err 5170 sound/pci/hda/patch_realtek.c int err; err 5173 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, err 5175 sound/pci/hda/patch_realtek.c if (err < 0) err 5176 sound/pci/hda/patch_realtek.c return err; err 5177 sound/pci/hda/patch_realtek.c err = alc260_auto_create_multi_out_ctls(spec, &spec->autocfg); err 5178 sound/pci/hda/patch_realtek.c if (err < 0) err 5179 sound/pci/hda/patch_realtek.c return err; err 5182 sound/pci/hda/patch_realtek.c err = alc260_auto_create_analog_input_ctls(spec, &spec->autocfg); err 5183 sound/pci/hda/patch_realtek.c if (err < 0) err 5184 sound/pci/hda/patch_realtek.c return err; err 5413 sound/pci/hda/patch_realtek.c int err, board_config; err 5432 sound/pci/hda/patch_realtek.c err = alc260_parse_auto_config(codec); err 5433 sound/pci/hda/patch_realtek.c if (err < 0) { err 5435 sound/pci/hda/patch_realtek.c return err; err 5436 sound/pci/hda/patch_realtek.c } else if (!err) { err 6580 sound/pci/hda/patch_realtek.c int err; err 6585 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 6588 sound/pci/hda/patch_realtek.c if (err < 0) err 6589 sound/pci/hda/patch_realtek.c return err; err 6593 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 6596 sound/pci/hda/patch_realtek.c if (err < 0) err 6597 sound/pci/hda/patch_realtek.c return err; err 6606 sound/pci/hda/patch_realtek.c int err = alc880_parse_auto_config(codec); err 6608 sound/pci/hda/patch_realtek.c if (err < 0) err 6609 sound/pci/hda/patch_realtek.c return err; err 6610 sound/pci/hda/patch_realtek.c else if (!err) err 6613 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec); err 6614 sound/pci/hda/patch_realtek.c if (err < 0) err 6615 sound/pci/hda/patch_realtek.c return err; err 6640 sound/pci/hda/patch_realtek.c int err, board_config; err 6685 sound/pci/hda/patch_realtek.c err = alc882_parse_auto_config(codec); err 6686 sound/pci/hda/patch_realtek.c if (err < 0) { err 6688 sound/pci/hda/patch_realtek.c return err; err 6689 sound/pci/hda/patch_realtek.c } else if (!err) { err 8733 sound/pci/hda/patch_realtek.c int err = alc880_parse_auto_config(codec); err 8735 sound/pci/hda/patch_realtek.c if (err < 0) err 8736 sound/pci/hda/patch_realtek.c return err; err 8737 sound/pci/hda/patch_realtek.c else if (!err) err 8740 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec); err 8741 sound/pci/hda/patch_realtek.c if (err < 0) err 8742 sound/pci/hda/patch_realtek.c return err; err 8767 sound/pci/hda/patch_realtek.c int err, board_config; err 8788 sound/pci/hda/patch_realtek.c err = alc883_parse_auto_config(codec); err 8789 sound/pci/hda/patch_realtek.c if (err < 0) { err 8791 sound/pci/hda/patch_realtek.c return err; err 8792 sound/pci/hda/patch_realtek.c } else if (!err) { err 9877 sound/pci/hda/patch_realtek.c int err; err 9885 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 9888 sound/pci/hda/patch_realtek.c if (err < 0) err 9889 sound/pci/hda/patch_realtek.c return err; err 9890 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 9893 sound/pci/hda/patch_realtek.c if (err < 0) err 9894 sound/pci/hda/patch_realtek.c return err; err 9900 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 9904 sound/pci/hda/patch_realtek.c if (err < 0) err 9905 sound/pci/hda/patch_realtek.c return err; err 9906 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 9910 sound/pci/hda/patch_realtek.c if (err < 0) err 9911 sound/pci/hda/patch_realtek.c return err; err 9913 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 9917 sound/pci/hda/patch_realtek.c if (err < 0) err 9918 sound/pci/hda/patch_realtek.c return err; err 9925 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 9929 sound/pci/hda/patch_realtek.c if (err < 0) err 9930 sound/pci/hda/patch_realtek.c return err; err 9931 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 9935 sound/pci/hda/patch_realtek.c if (err < 0) err 9936 sound/pci/hda/patch_realtek.c return err; err 9938 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 9942 sound/pci/hda/patch_realtek.c if (err < 0) err 9943 sound/pci/hda/patch_realtek.c return err; err 10236 sound/pci/hda/patch_realtek.c int err; err 10239 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, err 10241 sound/pci/hda/patch_realtek.c if (err < 0) err 10242 sound/pci/hda/patch_realtek.c return err; err 10245 sound/pci/hda/patch_realtek.c err = alc262_auto_create_multi_out_ctls(spec, &spec->autocfg); err 10246 sound/pci/hda/patch_realtek.c if (err < 0) err 10247 sound/pci/hda/patch_realtek.c return err; err 10248 sound/pci/hda/patch_realtek.c err = alc262_auto_create_analog_input_ctls(spec, &spec->autocfg); err 10249 sound/pci/hda/patch_realtek.c if (err < 0) err 10250 sound/pci/hda/patch_realtek.c return err; err 10266 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec); err 10267 sound/pci/hda/patch_realtek.c if (err < 0) err 10268 sound/pci/hda/patch_realtek.c return err; err 10571 sound/pci/hda/patch_realtek.c int err; err 10605 sound/pci/hda/patch_realtek.c err = alc262_parse_auto_config(codec); err 10606 sound/pci/hda/patch_realtek.c if (err < 0) { err 10608 sound/pci/hda/patch_realtek.c return err; err 10609 sound/pci/hda/patch_realtek.c } else if (!err) { err 11212 sound/pci/hda/patch_realtek.c int err; err 11216 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, name, err 11219 sound/pci/hda/patch_realtek.c if (err < 0) err 11220 sound/pci/hda/patch_realtek.c return err; err 11222 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, name, err 11225 sound/pci/hda/patch_realtek.c if (err < 0) err 11226 sound/pci/hda/patch_realtek.c return err; err 11230 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, name, err 11232 sound/pci/hda/patch_realtek.c if (err < 0) err 11233 sound/pci/hda/patch_realtek.c return err; err 11242 sound/pci/hda/patch_realtek.c int err; err 11255 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 11258 sound/pci/hda/patch_realtek.c if (err < 0) err 11259 sound/pci/hda/patch_realtek.c return err; err 11267 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 11270 sound/pci/hda/patch_realtek.c if (err < 0) err 11271 sound/pci/hda/patch_realtek.c return err; err 11367 sound/pci/hda/patch_realtek.c int err; err 11370 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, err 11372 sound/pci/hda/patch_realtek.c if (err < 0) err 11373 sound/pci/hda/patch_realtek.c return err; err 11377 sound/pci/hda/patch_realtek.c err = alc268_auto_create_multi_out_ctls(spec, &spec->autocfg); err 11378 sound/pci/hda/patch_realtek.c if (err < 0) err 11379 sound/pci/hda/patch_realtek.c return err; err 11380 sound/pci/hda/patch_realtek.c err = alc268_auto_create_analog_input_ctls(spec, &spec->autocfg); err 11381 sound/pci/hda/patch_realtek.c if (err < 0) err 11382 sound/pci/hda/patch_realtek.c return err; err 11400 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec); err 11401 sound/pci/hda/patch_realtek.c if (err < 0) err 11402 sound/pci/hda/patch_realtek.c return err; err 11597 sound/pci/hda/patch_realtek.c int err; err 11617 sound/pci/hda/patch_realtek.c err = alc268_parse_auto_config(codec); err 11618 sound/pci/hda/patch_realtek.c if (err < 0) { err 11620 sound/pci/hda/patch_realtek.c return err; err 11621 sound/pci/hda/patch_realtek.c } else if (!err) { err 12047 sound/pci/hda/patch_realtek.c int err; err 12055 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 12058 sound/pci/hda/patch_realtek.c if (err < 0) err 12059 sound/pci/hda/patch_realtek.c return err; err 12060 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 12063 sound/pci/hda/patch_realtek.c if (err < 0) err 12064 sound/pci/hda/patch_realtek.c return err; err 12070 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 12074 sound/pci/hda/patch_realtek.c if (err < 0) err 12075 sound/pci/hda/patch_realtek.c return err; err 12078 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 12082 sound/pci/hda/patch_realtek.c if (err < 0) err 12083 sound/pci/hda/patch_realtek.c return err; err 12085 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 12089 sound/pci/hda/patch_realtek.c if (err < 0) err 12090 sound/pci/hda/patch_realtek.c return err; err 12097 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 12101 sound/pci/hda/patch_realtek.c if (err < 0) err 12102 sound/pci/hda/patch_realtek.c return err; err 12105 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 12109 sound/pci/hda/patch_realtek.c if (err < 0) err 12110 sound/pci/hda/patch_realtek.c return err; err 12112 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 12116 sound/pci/hda/patch_realtek.c if (err < 0) err 12117 sound/pci/hda/patch_realtek.c return err; err 12142 sound/pci/hda/patch_realtek.c int i, err; err 12145 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, err 12147 sound/pci/hda/patch_realtek.c if (err < 0) err 12148 sound/pci/hda/patch_realtek.c return err; err 12150 sound/pci/hda/patch_realtek.c err = alc269_auto_create_multi_out_ctls(spec, &spec->autocfg); err 12151 sound/pci/hda/patch_realtek.c if (err < 0) err 12152 sound/pci/hda/patch_realtek.c return err; err 12153 sound/pci/hda/patch_realtek.c err = alc269_auto_create_analog_input_ctls(spec, &spec->autocfg); err 12154 sound/pci/hda/patch_realtek.c if (err < 0) err 12155 sound/pci/hda/patch_realtek.c return err; err 12180 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec); err 12181 sound/pci/hda/patch_realtek.c if (err < 0) err 12182 sound/pci/hda/patch_realtek.c return err; err 12282 sound/pci/hda/patch_realtek.c int err; err 12304 sound/pci/hda/patch_realtek.c err = alc269_parse_auto_config(codec); err 12305 sound/pci/hda/patch_realtek.c if (err < 0) { err 12307 sound/pci/hda/patch_realtek.c return err; err 12308 sound/pci/hda/patch_realtek.c } else if (!err) { err 13050 sound/pci/hda/patch_realtek.c int i, idx, err; err 13058 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_BIND_MUTE, err 13062 sound/pci/hda/patch_realtek.c if (err < 0) err 13063 sound/pci/hda/patch_realtek.c return err; err 13064 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_BIND_MUTE, err 13068 sound/pci/hda/patch_realtek.c if (err < 0) err 13069 sound/pci/hda/patch_realtek.c return err; err 13076 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_BIND_MUTE, name, err 13079 sound/pci/hda/patch_realtek.c if (err < 0) err 13080 sound/pci/hda/patch_realtek.c return err; err 13088 sound/pci/hda/patch_realtek.c int err; err 13096 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 13099 sound/pci/hda/patch_realtek.c if (err < 0) err 13100 sound/pci/hda/patch_realtek.c return err; err 13111 sound/pci/hda/patch_realtek.c int i, err, idx, idx1; err 13139 sound/pci/hda/patch_realtek.c err = new_analog_input(spec, cfg->input_pins[i], err 13141 sound/pci/hda/patch_realtek.c if (err < 0) err 13142 sound/pci/hda/patch_realtek.c return err; err 13232 sound/pci/hda/patch_realtek.c int err; err 13235 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, err 13237 sound/pci/hda/patch_realtek.c if (err < 0) err 13238 sound/pci/hda/patch_realtek.c return err; err 13242 sound/pci/hda/patch_realtek.c err = alc861_auto_fill_dac_nids(spec, &spec->autocfg); err 13243 sound/pci/hda/patch_realtek.c if (err < 0) err 13244 sound/pci/hda/patch_realtek.c return err; err 13245 sound/pci/hda/patch_realtek.c err = alc861_auto_create_multi_out_ctls(spec, &spec->autocfg); err 13246 sound/pci/hda/patch_realtek.c if (err < 0) err 13247 sound/pci/hda/patch_realtek.c return err; err 13248 sound/pci/hda/patch_realtek.c err = alc861_auto_create_hp_ctls(spec, spec->autocfg.hp_pins[0]); err 13249 sound/pci/hda/patch_realtek.c if (err < 0) err 13250 sound/pci/hda/patch_realtek.c return err; err 13251 sound/pci/hda/patch_realtek.c err = alc861_auto_create_analog_input_ctls(spec, &spec->autocfg); err 13252 sound/pci/hda/patch_realtek.c if (err < 0) err 13253 sound/pci/hda/patch_realtek.c return err; err 13449 sound/pci/hda/patch_realtek.c int err; err 13469 sound/pci/hda/patch_realtek.c err = alc861_parse_auto_config(codec); err 13470 sound/pci/hda/patch_realtek.c if (err < 0) { err 13472 sound/pci/hda/patch_realtek.c return err; err 13473 sound/pci/hda/patch_realtek.c } else if (!err) { err 14224 sound/pci/hda/patch_realtek.c int i, err; err 14238 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 14242 sound/pci/hda/patch_realtek.c if (err < 0) err 14243 sound/pci/hda/patch_realtek.c return err; err 14244 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 14248 sound/pci/hda/patch_realtek.c if (err < 0) err 14249 sound/pci/hda/patch_realtek.c return err; err 14250 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_BIND_MUTE, err 14254 sound/pci/hda/patch_realtek.c if (err < 0) err 14255 sound/pci/hda/patch_realtek.c return err; err 14256 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_BIND_MUTE, err 14260 sound/pci/hda/patch_realtek.c if (err < 0) err 14261 sound/pci/hda/patch_realtek.c return err; err 14264 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, name, err 14267 sound/pci/hda/patch_realtek.c if (err < 0) err 14268 sound/pci/hda/patch_realtek.c return err; err 14270 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_BIND_MUTE, name, err 14273 sound/pci/hda/patch_realtek.c if (err < 0) err 14274 sound/pci/hda/patch_realtek.c return err; err 14287 sound/pci/hda/patch_realtek.c int err; err 14307 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, name, err 14309 sound/pci/hda/patch_realtek.c if (err < 0) err 14310 sound/pci/hda/patch_realtek.c return err; err 14312 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_BIND_MUTE, name, err 14314 sound/pci/hda/patch_realtek.c if (err < 0) err 14315 sound/pci/hda/patch_realtek.c return err; err 14320 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, name, err 14322 sound/pci/hda/patch_realtek.c if (err < 0) err 14323 sound/pci/hda/patch_realtek.c return err; err 14336 sound/pci/hda/patch_realtek.c int err; err 14339 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, err 14341 sound/pci/hda/patch_realtek.c if (err < 0) err 14342 sound/pci/hda/patch_realtek.c return err; err 14346 sound/pci/hda/patch_realtek.c err = alc880_auto_fill_dac_nids(spec, &spec->autocfg); err 14347 sound/pci/hda/patch_realtek.c if (err < 0) err 14348 sound/pci/hda/patch_realtek.c return err; err 14349 sound/pci/hda/patch_realtek.c err = alc861vd_auto_create_multi_out_ctls(spec, &spec->autocfg); err 14350 sound/pci/hda/patch_realtek.c if (err < 0) err 14351 sound/pci/hda/patch_realtek.c return err; err 14352 sound/pci/hda/patch_realtek.c err = alc861vd_auto_create_extra_out(spec, err 14355 sound/pci/hda/patch_realtek.c if (err < 0) err 14356 sound/pci/hda/patch_realtek.c return err; err 14357 sound/pci/hda/patch_realtek.c err = alc861vd_auto_create_extra_out(spec, err 14360 sound/pci/hda/patch_realtek.c if (err < 0) err 14361 sound/pci/hda/patch_realtek.c return err; err 14362 sound/pci/hda/patch_realtek.c err = alc880_auto_create_analog_input_ctls(spec, &spec->autocfg); err 14363 sound/pci/hda/patch_realtek.c if (err < 0) err 14364 sound/pci/hda/patch_realtek.c return err; err 14380 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec); err 14381 sound/pci/hda/patch_realtek.c if (err < 0) err 14382 sound/pci/hda/patch_realtek.c return err; err 14402 sound/pci/hda/patch_realtek.c int err, board_config; err 14422 sound/pci/hda/patch_realtek.c err = alc861vd_parse_auto_config(codec); err 14423 sound/pci/hda/patch_realtek.c if (err < 0) { err 14425 sound/pci/hda/patch_realtek.c return err; err 14426 sound/pci/hda/patch_realtek.c } else if (!err) { err 15965 sound/pci/hda/patch_realtek.c int i, err; err 15973 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 15977 sound/pci/hda/patch_realtek.c if (err < 0) err 15978 sound/pci/hda/patch_realtek.c return err; err 15979 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, err 15983 sound/pci/hda/patch_realtek.c if (err < 0) err 15984 sound/pci/hda/patch_realtek.c return err; err 15985 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 15989 sound/pci/hda/patch_realtek.c if (err < 0) err 15990 sound/pci/hda/patch_realtek.c return err; err 15991 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, err 15995 sound/pci/hda/patch_realtek.c if (err < 0) err 15996 sound/pci/hda/patch_realtek.c return err; err 15999 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, name, err 16002 sound/pci/hda/patch_realtek.c if (err < 0) err 16003 sound/pci/hda/patch_realtek.c return err; err 16005 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, name, err 16008 sound/pci/hda/patch_realtek.c if (err < 0) err 16009 sound/pci/hda/patch_realtek.c return err; err 16020 sound/pci/hda/patch_realtek.c int err; err 16029 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, name, err 16031 sound/pci/hda/patch_realtek.c return err; err 16045 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_VOL, name, err 16047 sound/pci/hda/patch_realtek.c if (err < 0) err 16048 sound/pci/hda/patch_realtek.c return err; err 16050 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_BIND_MUTE, name, err 16052 sound/pci/hda/patch_realtek.c if (err < 0) err 16053 sound/pci/hda/patch_realtek.c return err; err 16058 sound/pci/hda/patch_realtek.c err = add_control(spec, ALC_CTL_WIDGET_MUTE, name, err 16060 sound/pci/hda/patch_realtek.c if (err < 0) err 16061 sound/pci/hda/patch_realtek.c return err; err 16071 sound/pci/hda/patch_realtek.c int i, err, idx; err 16076 sound/pci/hda/patch_realtek.c err = new_analog_input(spec, cfg->input_pins[i], err 16079 sound/pci/hda/patch_realtek.c if (err < 0) err 16080 sound/pci/hda/patch_realtek.c return err; err 16163 sound/pci/hda/patch_realtek.c int err; err 16166 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, err 16168 sound/pci/hda/patch_realtek.c if (err < 0) err 16169 sound/pci/hda/patch_realtek.c return err; err 16173 sound/pci/hda/patch_realtek.c err = alc880_auto_fill_dac_nids(spec, &spec->autocfg); err 16174 sound/pci/hda/patch_realtek.c if (err < 0) err 16175 sound/pci/hda/patch_realtek.c return err; err 16176 sound/pci/hda/patch_realtek.c err = alc662_auto_create_multi_out_ctls(spec, &spec->autocfg); err 16177 sound/pci/hda/patch_realtek.c if (err < 0) err 16178 sound/pci/hda/patch_realtek.c return err; err 16179 sound/pci/hda/patch_realtek.c err = alc662_auto_create_extra_out(spec, err 16182 sound/pci/hda/patch_realtek.c if (err < 0) err 16183 sound/pci/hda/patch_realtek.c return err; err 16184 sound/pci/hda/patch_realtek.c err = alc662_auto_create_extra_out(spec, spec->autocfg.hp_pins[0], err 16186 sound/pci/hda/patch_realtek.c if (err < 0) err 16187 sound/pci/hda/patch_realtek.c return err; err 16188 sound/pci/hda/patch_realtek.c err = alc662_auto_create_analog_input_ctls(spec, &spec->autocfg); err 16189 sound/pci/hda/patch_realtek.c if (err < 0) err 16190 sound/pci/hda/patch_realtek.c return err; err 16208 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec); err 16209 sound/pci/hda/patch_realtek.c if (err < 0) err 16210 sound/pci/hda/patch_realtek.c return err; err 16232 sound/pci/hda/patch_realtek.c int err, board_config; err 16253 sound/pci/hda/patch_realtek.c err = alc662_parse_auto_config(codec); err 16254 sound/pci/hda/patch_realtek.c if (err < 0) { err 16256 sound/pci/hda/patch_realtek.c return err; err 16257 sound/pci/hda/patch_realtek.c } else if (!err) { err 554 sound/pci/hda/patch_sigmatel.c int err, val; err 557 sound/pci/hda/patch_sigmatel.c err = snd_hda_input_mux_put(codec, spec->sinput_mux, ucontrol, err 559 sound/pci/hda/patch_sigmatel.c if (err < 0) err 560 sound/pci/hda/patch_sigmatel.c return err; err 1239 sound/pci/hda/patch_sigmatel.c int err; err 1242 sound/pci/hda/patch_sigmatel.c err = snd_hda_add_new_ctls(codec, spec->mixer); err 1243 sound/pci/hda/patch_sigmatel.c if (err < 0) err 1244 sound/pci/hda/patch_sigmatel.c return err; err 1247 sound/pci/hda/patch_sigmatel.c err = snd_hda_add_new_ctls(codec, spec->mixers[i]); err 1248 sound/pci/hda/patch_sigmatel.c if (err < 0) err 1249 sound/pci/hda/patch_sigmatel.c return err; err 1253 sound/pci/hda/patch_sigmatel.c err = snd_ctl_add(codec->bus->card, err 1255 sound/pci/hda/patch_sigmatel.c if (err < 0) err 1256 sound/pci/hda/patch_sigmatel.c return err; err 1269 sound/pci/hda/patch_sigmatel.c err = snd_ctl_add(codec->bus->card, err 1271 sound/pci/hda/patch_sigmatel.c if (err < 0) err 1272 sound/pci/hda/patch_sigmatel.c return err; err 1276 sound/pci/hda/patch_sigmatel.c err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid); err 1277 sound/pci/hda/patch_sigmatel.c if (err < 0) err 1278 sound/pci/hda/patch_sigmatel.c return err; err 1279 sound/pci/hda/patch_sigmatel.c err = snd_hda_create_spdif_share_sw(codec, err 1281 sound/pci/hda/patch_sigmatel.c if (err < 0) err 1282 sound/pci/hda/patch_sigmatel.c return err; err 1286 sound/pci/hda/patch_sigmatel.c err = snd_hda_create_spdif_in_ctls(codec, spec->dig_in_nid); err 1287 sound/pci/hda/patch_sigmatel.c if (err < 0) err 1288 sound/pci/hda/patch_sigmatel.c return err; err 1296 sound/pci/hda/patch_sigmatel.c err = snd_hda_add_vmaster(codec, "Master Playback Volume", err 1298 sound/pci/hda/patch_sigmatel.c if (err < 0) err 1299 sound/pci/hda/patch_sigmatel.c return err; err 1302 sound/pci/hda/patch_sigmatel.c err = snd_hda_add_vmaster(codec, "Master Playback Switch", err 1304 sound/pci/hda/patch_sigmatel.c if (err < 0) err 1305 sound/pci/hda/patch_sigmatel.c return err; err 2774 sound/pci/hda/patch_sigmatel.c int err; err 2777 sound/pci/hda/patch_sigmatel.c err = stac92xx_add_control(spec, STAC_CTL_WIDGET_VOL, name, err 2779 sound/pci/hda/patch_sigmatel.c if (err < 0) err 2780 sound/pci/hda/patch_sigmatel.c return err; err 2782 sound/pci/hda/patch_sigmatel.c err = stac92xx_add_control(spec, STAC_CTL_WIDGET_MUTE, name, err 2784 sound/pci/hda/patch_sigmatel.c if (err < 0) err 2785 sound/pci/hda/patch_sigmatel.c return err; err 2820 sound/pci/hda/patch_sigmatel.c int i, err; err 2834 sound/pci/hda/patch_sigmatel.c err = create_controls(spec, "Center", nid, 1); err 2835 sound/pci/hda/patch_sigmatel.c if (err < 0) err 2836 sound/pci/hda/patch_sigmatel.c return err; err 2837 sound/pci/hda/patch_sigmatel.c err = create_controls(spec, "LFE", nid, 2); err 2838 sound/pci/hda/patch_sigmatel.c if (err < 0) err 2839 sound/pci/hda/patch_sigmatel.c return err; err 2844 sound/pci/hda/patch_sigmatel.c err = stac92xx_add_control(spec, err 2848 sound/pci/hda/patch_sigmatel.c if (err < 0) err 2849 sound/pci/hda/patch_sigmatel.c return err; err 2853 sound/pci/hda/patch_sigmatel.c err = create_controls(spec, chname[i], nid, 3); err 2854 sound/pci/hda/patch_sigmatel.c if (err < 0) err 2855 sound/pci/hda/patch_sigmatel.c return err; err 2864 sound/pci/hda/patch_sigmatel.c err = stac92xx_add_control(spec, err 2867 sound/pci/hda/patch_sigmatel.c if (err < 0) err 2868 sound/pci/hda/patch_sigmatel.c return err; err 2876 sound/pci/hda/patch_sigmatel.c err = stac92xx_add_control(spec, err 2879 sound/pci/hda/patch_sigmatel.c if (err < 0) err 2880 sound/pci/hda/patch_sigmatel.c return err; err 2897 sound/pci/hda/patch_sigmatel.c err = stac92xx_add_control(spec, err 2904 sound/pci/hda/patch_sigmatel.c if (err < 0) err 2905 sound/pci/hda/patch_sigmatel.c return err; err 2922 sound/pci/hda/patch_sigmatel.c int i, old_num_dacs, err; err 2959 sound/pci/hda/patch_sigmatel.c err = create_controls(spec, pfxs[i - old_num_dacs], err 2961 sound/pci/hda/patch_sigmatel.c if (err < 0) err 2962 sound/pci/hda/patch_sigmatel.c return err; err 2965 sound/pci/hda/patch_sigmatel.c err = create_controls(spec, "Headphone", err 2967 sound/pci/hda/patch_sigmatel.c if (err < 0) err 2968 sound/pci/hda/patch_sigmatel.c return err; err 3015 sound/pci/hda/patch_sigmatel.c int i, err; err 3025 sound/pci/hda/patch_sigmatel.c err = stac92xx_add_control(spec, STAC_CTL_WIDGET_AMP_MUX, err 3027 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3028 sound/pci/hda/patch_sigmatel.c return err; err 3042 sound/pci/hda/patch_sigmatel.c int err; err 3046 sound/pci/hda/patch_sigmatel.c err = stac92xx_add_control(spec, STAC_CTL_WIDGET_MUTE, err 3049 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3050 sound/pci/hda/patch_sigmatel.c return err; err 3055 sound/pci/hda/patch_sigmatel.c err = stac92xx_add_control(spec, STAC_CTL_WIDGET_VOL, err 3058 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3059 sound/pci/hda/patch_sigmatel.c return err; err 3067 sound/pci/hda/patch_sigmatel.c int wcaps, nid, i, err = 0; err 3074 sound/pci/hda/patch_sigmatel.c err = stac92xx_add_control_idx(spec, err 3077 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3078 sound/pci/hda/patch_sigmatel.c return err; err 3128 sound/pci/hda/patch_sigmatel.c int err, i, j; err 3169 sound/pci/hda/patch_sigmatel.c err = stac92xx_add_control(spec, err 3175 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3176 sound/pci/hda/patch_sigmatel.c return err; err 3270 sound/pci/hda/patch_sigmatel.c int err; err 3273 sound/pci/hda/patch_sigmatel.c if ((err = snd_hda_parse_pin_def_config(codec, err 3276 sound/pci/hda/patch_sigmatel.c return err; err 3326 sound/pci/hda/patch_sigmatel.c err = stac92xx_add_control(spec, STAC_CTL_WIDGET_MUTE, err 3329 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3330 sound/pci/hda/patch_sigmatel.c return err; err 3334 sound/pci/hda/patch_sigmatel.c err = stac92xx_add_control(spec, err 3338 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3339 sound/pci/hda/patch_sigmatel.c return err; err 3347 sound/pci/hda/patch_sigmatel.c if ((err = stac92xx_add_dyn_out_pins(codec, &spec->autocfg)) < 0) err 3348 sound/pci/hda/patch_sigmatel.c return err; err 3350 sound/pci/hda/patch_sigmatel.c if ((err = stac92xx_auto_fill_dac_nids(codec, &spec->autocfg)) < 0) err 3351 sound/pci/hda/patch_sigmatel.c return err; err 3353 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_multi_out_ctls(codec, &spec->autocfg); err 3355 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3356 sound/pci/hda/patch_sigmatel.c return err; err 3360 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_beep_ctls(codec, err 3362 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3363 sound/pci/hda/patch_sigmatel.c return err; err 3371 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_beep_ctls(codec, nid); err 3372 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3373 sound/pci/hda/patch_sigmatel.c return err; err 3374 sound/pci/hda/patch_sigmatel.c err = snd_hda_attach_beep_device(codec, nid); err 3375 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3376 sound/pci/hda/patch_sigmatel.c return err; err 3393 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_hp_ctls(codec, &spec->autocfg); err 3395 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3396 sound/pci/hda/patch_sigmatel.c return err; err 3398 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_analog_input_ctls(codec, &spec->autocfg); err 3400 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3401 sound/pci/hda/patch_sigmatel.c return err; err 3404 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_mono_output_ctls(codec); err 3405 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3406 sound/pci/hda/patch_sigmatel.c return err; err 3409 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_amp_output_ctls(codec); err 3410 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3411 sound/pci/hda/patch_sigmatel.c return err; err 3414 sound/pci/hda/patch_sigmatel.c if ((err = stac92xx_auto_create_dmic_input_ctls(codec, err 3416 sound/pci/hda/patch_sigmatel.c return err; err 3418 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_mux_input_ctls(codec); err 3419 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3420 sound/pci/hda/patch_sigmatel.c return err; err 3423 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_spdif_mux_ctls(codec); err 3424 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3425 sound/pci/hda/patch_sigmatel.c return err; err 3471 sound/pci/hda/patch_sigmatel.c int err; err 3509 sound/pci/hda/patch_sigmatel.c err = create_controls(spec, "LFE", lfe_pin, 1); err 3510 sound/pci/hda/patch_sigmatel.c if (err < 0) err 3511 sound/pci/hda/patch_sigmatel.c return err; err 3520 sound/pci/hda/patch_sigmatel.c int err; err 3522 sound/pci/hda/patch_sigmatel.c if ((err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL)) < 0) err 3523 sound/pci/hda/patch_sigmatel.c return err; err 3525 sound/pci/hda/patch_sigmatel.c if ((err = stac92xx_auto_create_analog_input_ctls(codec, &spec->autocfg)) < 0) err 3526 sound/pci/hda/patch_sigmatel.c return err; err 3528 sound/pci/hda/patch_sigmatel.c if ((err = stac9200_auto_create_hp_ctls(codec, &spec->autocfg)) < 0) err 3529 sound/pci/hda/patch_sigmatel.c return err; err 3531 sound/pci/hda/patch_sigmatel.c if ((err = stac9200_auto_create_lfe_ctls(codec, &spec->autocfg)) < 0) err 3532 sound/pci/hda/patch_sigmatel.c return err; err 3916 sound/pci/hda/patch_sigmatel.c int err; err 3930 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec); err 3931 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 3933 sound/pci/hda/patch_sigmatel.c return err; err 3963 sound/pci/hda/patch_sigmatel.c err = stac9200_parse_auto_config(codec); err 3964 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 3966 sound/pci/hda/patch_sigmatel.c return err; err 3977 sound/pci/hda/patch_sigmatel.c int err; err 3993 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec); err 3994 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 3996 sound/pci/hda/patch_sigmatel.c return err; err 4030 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x8, 0x7); err 4031 sound/pci/hda/patch_sigmatel.c if (!err) { err 4038 sound/pci/hda/patch_sigmatel.c err = -EINVAL; err 4040 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 4042 sound/pci/hda/patch_sigmatel.c return err; err 4064 sound/pci/hda/patch_sigmatel.c int err = 0; err 4082 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec); err 4083 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 4085 sound/pci/hda/patch_sigmatel.c return err; err 4182 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x25, 0x27); err 4184 sound/pci/hda/patch_sigmatel.c if (!err) { err 4191 sound/pci/hda/patch_sigmatel.c err = -EINVAL; err 4194 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 4196 sound/pci/hda/patch_sigmatel.c return err; err 4216 sound/pci/hda/patch_sigmatel.c int err; err 4260 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec); err 4261 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 4263 sound/pci/hda/patch_sigmatel.c return err; err 4271 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x1d, 0); err 4272 sound/pci/hda/patch_sigmatel.c if (!err) { err 4279 sound/pci/hda/patch_sigmatel.c err = -EINVAL; err 4282 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 4284 sound/pci/hda/patch_sigmatel.c return err; err 4347 sound/pci/hda/patch_sigmatel.c int err = 0; err 4368 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec); err 4369 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 4371 sound/pci/hda/patch_sigmatel.c return err; err 4482 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x21, 0x23); err 4483 sound/pci/hda/patch_sigmatel.c if (!err) { err 4490 sound/pci/hda/patch_sigmatel.c err = -EINVAL; err 4493 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 4495 sound/pci/hda/patch_sigmatel.c return err; err 4504 sound/pci/hda/patch_sigmatel.c int err; err 4558 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec); err 4559 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 4561 sound/pci/hda/patch_sigmatel.c return err; err 4581 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x08, 0x09); err 4582 sound/pci/hda/patch_sigmatel.c if (!err) { err 4589 sound/pci/hda/patch_sigmatel.c err = -EINVAL; err 4591 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 4593 sound/pci/hda/patch_sigmatel.c return err; err 4611 sound/pci/hda/patch_sigmatel.c int err; err 4628 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec); err 4629 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 4631 sound/pci/hda/patch_sigmatel.c return err; err 4704 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x1e, 0x20); err 4705 sound/pci/hda/patch_sigmatel.c if (!err) { err 4712 sound/pci/hda/patch_sigmatel.c err = -EINVAL; err 4714 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 4716 sound/pci/hda/patch_sigmatel.c return err; err 4739 sound/pci/hda/patch_sigmatel.c int err; err 4754 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec); err 4755 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 4757 sound/pci/hda/patch_sigmatel.c return err; err 4817 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x1f, 0x20); err 4818 sound/pci/hda/patch_sigmatel.c if (!err) { err 4825 sound/pci/hda/patch_sigmatel.c err = -EINVAL; err 4827 sound/pci/hda/patch_sigmatel.c if (err < 0) { err 4829 sound/pci/hda/patch_sigmatel.c return err; err 4958 sound/pci/hda/patch_sigmatel.c int err; err 4960 sound/pci/hda/patch_sigmatel.c err = stac92xx_init(codec); err 4961 sound/pci/hda/patch_sigmatel.c if (err < 0) err 4962 sound/pci/hda/patch_sigmatel.c return err; err 307 sound/pci/hda/patch_via.c int err; err 310 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name, err 312 sound/pci/hda/patch_via.c if (err < 0) err 313 sound/pci/hda/patch_via.c return err; err 315 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, name, err 317 sound/pci/hda/patch_via.c if (err < 0) err 318 sound/pci/hda/patch_via.c return err; err 867 sound/pci/hda/patch_via.c int err; err 871 sound/pci/hda/patch_via.c err = snd_hda_add_new_ctls(codec, spec->mixers[i]); err 872 sound/pci/hda/patch_via.c if (err < 0) err 873 sound/pci/hda/patch_via.c return err; err 877 sound/pci/hda/patch_via.c err = snd_hda_create_spdif_out_ctls(codec, err 879 sound/pci/hda/patch_via.c if (err < 0) err 880 sound/pci/hda/patch_via.c return err; err 881 sound/pci/hda/patch_via.c err = snd_hda_create_spdif_share_sw(codec, err 883 sound/pci/hda/patch_via.c if (err < 0) err 884 sound/pci/hda/patch_via.c return err; err 888 sound/pci/hda/patch_via.c err = snd_hda_create_spdif_out_ctls(codec, err 890 sound/pci/hda/patch_via.c if (err < 0) err 891 sound/pci/hda/patch_via.c return err; err 895 sound/pci/hda/patch_via.c err = snd_hda_create_spdif_in_ctls(codec, spec->dig_in_nid); err 896 sound/pci/hda/patch_via.c if (err < 0) err 897 sound/pci/hda/patch_via.c return err; err 1136 sound/pci/hda/patch_via.c int i, err; err 1149 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 1153 sound/pci/hda/patch_via.c if (err < 0) err 1154 sound/pci/hda/patch_via.c return err; err 1155 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 1159 sound/pci/hda/patch_via.c if (err < 0) err 1160 sound/pci/hda/patch_via.c return err; err 1161 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 1165 sound/pci/hda/patch_via.c if (err < 0) err 1166 sound/pci/hda/patch_via.c return err; err 1167 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 1171 sound/pci/hda/patch_via.c if (err < 0) err 1172 sound/pci/hda/patch_via.c return err; err 1175 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 1179 sound/pci/hda/patch_via.c if (err < 0) err 1180 sound/pci/hda/patch_via.c return err; err 1181 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 1185 sound/pci/hda/patch_via.c if (err < 0) err 1186 sound/pci/hda/patch_via.c return err; err 1190 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name, err 1193 sound/pci/hda/patch_via.c if (err < 0) err 1194 sound/pci/hda/patch_via.c return err; err 1196 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, name, err 1199 sound/pci/hda/patch_via.c if (err < 0) err 1200 sound/pci/hda/patch_via.c return err; err 1203 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name, err 1206 sound/pci/hda/patch_via.c if (err < 0) err 1207 sound/pci/hda/patch_via.c return err; err 1209 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, name, err 1212 sound/pci/hda/patch_via.c if (err < 0) err 1213 sound/pci/hda/patch_via.c return err; err 1240 sound/pci/hda/patch_via.c int err; err 1247 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 1250 sound/pci/hda/patch_via.c if (err < 0) err 1251 sound/pci/hda/patch_via.c return err; err 1252 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 1255 sound/pci/hda/patch_via.c if (err < 0) err 1256 sound/pci/hda/patch_via.c return err; err 1271 sound/pci/hda/patch_via.c int i, err, idx = 0; err 1299 sound/pci/hda/patch_via.c err = via_new_analog_input(spec, cfg->input_pins[i], labels[i], err 1301 sound/pci/hda/patch_via.c if (err < 0) err 1302 sound/pci/hda/patch_via.c return err; err 1344 sound/pci/hda/patch_via.c int err; err 1350 sound/pci/hda/patch_via.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL); err 1351 sound/pci/hda/patch_via.c if (err < 0) err 1352 sound/pci/hda/patch_via.c return err; err 1353 sound/pci/hda/patch_via.c err = vt1708_auto_fill_dac_nids(spec, &spec->autocfg); err 1354 sound/pci/hda/patch_via.c if (err < 0) err 1355 sound/pci/hda/patch_via.c return err; err 1359 sound/pci/hda/patch_via.c err = vt1708_auto_create_multi_out_ctls(spec, &spec->autocfg); err 1360 sound/pci/hda/patch_via.c if (err < 0) err 1361 sound/pci/hda/patch_via.c return err; err 1362 sound/pci/hda/patch_via.c err = vt1708_auto_create_hp_ctls(spec, spec->autocfg.hp_pins[0]); err 1363 sound/pci/hda/patch_via.c if (err < 0) err 1364 sound/pci/hda/patch_via.c return err; err 1365 sound/pci/hda/patch_via.c err = vt1708_auto_create_analog_input_ctls(spec, &spec->autocfg); err 1366 sound/pci/hda/patch_via.c if (err < 0) err 1367 sound/pci/hda/patch_via.c return err; err 1402 sound/pci/hda/patch_via.c int err; err 1412 sound/pci/hda/patch_via.c err = vt1708_parse_auto_config(codec); err 1413 sound/pci/hda/patch_via.c if (err < 0) { err 1415 sound/pci/hda/patch_via.c return err; err 1416 sound/pci/hda/patch_via.c } else if (!err) { err 1651 sound/pci/hda/patch_via.c int i, err; err 1661 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 1665 sound/pci/hda/patch_via.c if (err < 0) err 1666 sound/pci/hda/patch_via.c return err; err 1667 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 1671 sound/pci/hda/patch_via.c if (err < 0) err 1672 sound/pci/hda/patch_via.c return err; err 1673 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 1677 sound/pci/hda/patch_via.c if (err < 0) err 1678 sound/pci/hda/patch_via.c return err; err 1679 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 1683 sound/pci/hda/patch_via.c if (err < 0) err 1684 sound/pci/hda/patch_via.c return err; err 1687 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 1691 sound/pci/hda/patch_via.c if (err < 0) err 1692 sound/pci/hda/patch_via.c return err; err 1693 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 1697 sound/pci/hda/patch_via.c if (err < 0) err 1698 sound/pci/hda/patch_via.c return err; err 1702 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name, err 1705 sound/pci/hda/patch_via.c if (err < 0) err 1706 sound/pci/hda/patch_via.c return err; err 1708 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, name, err 1711 sound/pci/hda/patch_via.c if (err < 0) err 1712 sound/pci/hda/patch_via.c return err; err 1715 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name, err 1718 sound/pci/hda/patch_via.c if (err < 0) err 1719 sound/pci/hda/patch_via.c return err; err 1721 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, name, err 1724 sound/pci/hda/patch_via.c if (err < 0) err 1725 sound/pci/hda/patch_via.c return err; err 1728 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name, err 1731 sound/pci/hda/patch_via.c if (err < 0) err 1732 sound/pci/hda/patch_via.c return err; err 1734 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, name, err 1737 sound/pci/hda/patch_via.c if (err < 0) err 1738 sound/pci/hda/patch_via.c return err; err 1747 sound/pci/hda/patch_via.c int err; err 1757 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 1760 sound/pci/hda/patch_via.c if (err < 0) err 1761 sound/pci/hda/patch_via.c return err; err 1762 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 1765 sound/pci/hda/patch_via.c if (err < 0) err 1766 sound/pci/hda/patch_via.c return err; err 1779 sound/pci/hda/patch_via.c int i, err, idx = 0; err 1807 sound/pci/hda/patch_via.c err = via_new_analog_input(spec, cfg->input_pins[i], labels[i], err 1809 sound/pci/hda/patch_via.c if (err < 0) err 1810 sound/pci/hda/patch_via.c return err; err 1821 sound/pci/hda/patch_via.c int err; err 1823 sound/pci/hda/patch_via.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL); err 1824 sound/pci/hda/patch_via.c if (err < 0) err 1825 sound/pci/hda/patch_via.c return err; err 1826 sound/pci/hda/patch_via.c err = vt1709_auto_fill_dac_nids(spec, &spec->autocfg); err 1827 sound/pci/hda/patch_via.c if (err < 0) err 1828 sound/pci/hda/patch_via.c return err; err 1832 sound/pci/hda/patch_via.c err = vt1709_auto_create_multi_out_ctls(spec, &spec->autocfg); err 1833 sound/pci/hda/patch_via.c if (err < 0) err 1834 sound/pci/hda/patch_via.c return err; err 1835 sound/pci/hda/patch_via.c err = vt1709_auto_create_hp_ctls(spec, spec->autocfg.hp_pins[0]); err 1836 sound/pci/hda/patch_via.c if (err < 0) err 1837 sound/pci/hda/patch_via.c return err; err 1838 sound/pci/hda/patch_via.c err = vt1709_auto_create_analog_input_ctls(spec, &spec->autocfg); err 1839 sound/pci/hda/patch_via.c if (err < 0) err 1840 sound/pci/hda/patch_via.c return err; err 1873 sound/pci/hda/patch_via.c int err; err 1882 sound/pci/hda/patch_via.c err = vt1709_parse_auto_config(codec); err 1883 sound/pci/hda/patch_via.c if (err < 0) { err 1885 sound/pci/hda/patch_via.c return err; err 1886 sound/pci/hda/patch_via.c } else if (!err) { err 1966 sound/pci/hda/patch_via.c int err; err 1975 sound/pci/hda/patch_via.c err = vt1709_parse_auto_config(codec); err 1976 sound/pci/hda/patch_via.c if (err < 0) { err 1978 sound/pci/hda/patch_via.c return err; err 1979 sound/pci/hda/patch_via.c } else if (!err) { err 2207 sound/pci/hda/patch_via.c int i, err; err 2219 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 2223 sound/pci/hda/patch_via.c if (err < 0) err 2224 sound/pci/hda/patch_via.c return err; err 2225 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 2229 sound/pci/hda/patch_via.c if (err < 0) err 2230 sound/pci/hda/patch_via.c return err; err 2231 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 2235 sound/pci/hda/patch_via.c if (err < 0) err 2236 sound/pci/hda/patch_via.c return err; err 2237 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 2241 sound/pci/hda/patch_via.c if (err < 0) err 2242 sound/pci/hda/patch_via.c return err; err 2245 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 2249 sound/pci/hda/patch_via.c if (err < 0) err 2250 sound/pci/hda/patch_via.c return err; err 2251 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 2255 sound/pci/hda/patch_via.c if (err < 0) err 2256 sound/pci/hda/patch_via.c return err; err 2260 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name, err 2263 sound/pci/hda/patch_via.c if (err < 0) err 2264 sound/pci/hda/patch_via.c return err; err 2266 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, name, err 2269 sound/pci/hda/patch_via.c if (err < 0) err 2270 sound/pci/hda/patch_via.c return err; err 2273 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name, err 2276 sound/pci/hda/patch_via.c if (err < 0) err 2277 sound/pci/hda/patch_via.c return err; err 2279 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, name, err 2282 sound/pci/hda/patch_via.c if (err < 0) err 2283 sound/pci/hda/patch_via.c return err; err 2292 sound/pci/hda/patch_via.c int err; err 2299 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 2302 sound/pci/hda/patch_via.c if (err < 0) err 2303 sound/pci/hda/patch_via.c return err; err 2304 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 2307 sound/pci/hda/patch_via.c if (err < 0) err 2308 sound/pci/hda/patch_via.c return err; err 2323 sound/pci/hda/patch_via.c int i, err, idx = 0; err 2351 sound/pci/hda/patch_via.c err = via_new_analog_input(spec, cfg->input_pins[i], labels[i], err 2353 sound/pci/hda/patch_via.c if (err < 0) err 2354 sound/pci/hda/patch_via.c return err; err 2365 sound/pci/hda/patch_via.c int err; err 2367 sound/pci/hda/patch_via.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL); err 2368 sound/pci/hda/patch_via.c if (err < 0) err 2369 sound/pci/hda/patch_via.c return err; err 2370 sound/pci/hda/patch_via.c err = vt1708B_auto_fill_dac_nids(spec, &spec->autocfg); err 2371 sound/pci/hda/patch_via.c if (err < 0) err 2372 sound/pci/hda/patch_via.c return err; err 2376 sound/pci/hda/patch_via.c err = vt1708B_auto_create_multi_out_ctls(spec, &spec->autocfg); err 2377 sound/pci/hda/patch_via.c if (err < 0) err 2378 sound/pci/hda/patch_via.c return err; err 2379 sound/pci/hda/patch_via.c err = vt1708B_auto_create_hp_ctls(spec, spec->autocfg.hp_pins[0]); err 2380 sound/pci/hda/patch_via.c if (err < 0) err 2381 sound/pci/hda/patch_via.c return err; err 2382 sound/pci/hda/patch_via.c err = vt1708B_auto_create_analog_input_ctls(spec, &spec->autocfg); err 2383 sound/pci/hda/patch_via.c if (err < 0) err 2384 sound/pci/hda/patch_via.c return err; err 2417 sound/pci/hda/patch_via.c int err; err 2427 sound/pci/hda/patch_via.c err = vt1708B_parse_auto_config(codec); err 2428 sound/pci/hda/patch_via.c if (err < 0) { err 2430 sound/pci/hda/patch_via.c return err; err 2431 sound/pci/hda/patch_via.c } else if (!err) { err 2468 sound/pci/hda/patch_via.c int err; err 2478 sound/pci/hda/patch_via.c err = vt1708B_parse_auto_config(codec); err 2479 sound/pci/hda/patch_via.c if (err < 0) { err 2481 sound/pci/hda/patch_via.c return err; err 2482 sound/pci/hda/patch_via.c } else if (!err) { err 2664 sound/pci/hda/patch_via.c int i, err; err 2677 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 2681 sound/pci/hda/patch_via.c if (err < 0) err 2682 sound/pci/hda/patch_via.c return err; err 2683 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 2687 sound/pci/hda/patch_via.c if (err < 0) err 2688 sound/pci/hda/patch_via.c return err; err 2689 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 2694 sound/pci/hda/patch_via.c if (err < 0) err 2695 sound/pci/hda/patch_via.c return err; err 2696 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 2701 sound/pci/hda/patch_via.c if (err < 0) err 2702 sound/pci/hda/patch_via.c return err; err 2705 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 2709 sound/pci/hda/patch_via.c if (err < 0) err 2710 sound/pci/hda/patch_via.c return err; err 2711 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 2715 sound/pci/hda/patch_via.c if (err < 0) err 2716 sound/pci/hda/patch_via.c return err; err 2720 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name, err 2723 sound/pci/hda/patch_via.c if (err < 0) err 2724 sound/pci/hda/patch_via.c return err; err 2726 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, name, err 2730 sound/pci/hda/patch_via.c if (err < 0) err 2731 sound/pci/hda/patch_via.c return err; err 2734 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name, err 2737 sound/pci/hda/patch_via.c if (err < 0) err 2738 sound/pci/hda/patch_via.c return err; err 2740 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, name, err 2744 sound/pci/hda/patch_via.c if (err < 0) err 2745 sound/pci/hda/patch_via.c return err; err 2754 sound/pci/hda/patch_via.c int err; err 2761 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 2764 sound/pci/hda/patch_via.c if (err < 0) err 2765 sound/pci/hda/patch_via.c return err; err 2767 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 2770 sound/pci/hda/patch_via.c if (err < 0) err 2771 sound/pci/hda/patch_via.c return err; err 2786 sound/pci/hda/patch_via.c int i, err, idx = 0; err 2814 sound/pci/hda/patch_via.c err = via_new_analog_input(spec, cfg->input_pins[i], labels[i], err 2816 sound/pci/hda/patch_via.c if (err < 0) err 2817 sound/pci/hda/patch_via.c return err; err 2828 sound/pci/hda/patch_via.c int err; err 2831 sound/pci/hda/patch_via.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, err 2833 sound/pci/hda/patch_via.c if (err < 0) err 2834 sound/pci/hda/patch_via.c return err; err 2835 sound/pci/hda/patch_via.c err = vt1708S_auto_fill_dac_nids(spec, &spec->autocfg); err 2836 sound/pci/hda/patch_via.c if (err < 0) err 2837 sound/pci/hda/patch_via.c return err; err 2841 sound/pci/hda/patch_via.c err = vt1708S_auto_create_multi_out_ctls(spec, &spec->autocfg); err 2842 sound/pci/hda/patch_via.c if (err < 0) err 2843 sound/pci/hda/patch_via.c return err; err 2844 sound/pci/hda/patch_via.c err = vt1708S_auto_create_hp_ctls(spec, spec->autocfg.hp_pins[0]); err 2845 sound/pci/hda/patch_via.c if (err < 0) err 2846 sound/pci/hda/patch_via.c return err; err 2847 sound/pci/hda/patch_via.c err = vt1708S_auto_create_analog_input_ctls(spec, &spec->autocfg); err 2848 sound/pci/hda/patch_via.c if (err < 0) err 2849 sound/pci/hda/patch_via.c return err; err 2882 sound/pci/hda/patch_via.c int err; err 2892 sound/pci/hda/patch_via.c err = vt1708S_parse_auto_config(codec); err 2893 sound/pci/hda/patch_via.c if (err < 0) { err 2895 sound/pci/hda/patch_via.c return err; err 2896 sound/pci/hda/patch_via.c } else if (!err) { err 3043 sound/pci/hda/patch_via.c int err; err 3049 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 3052 sound/pci/hda/patch_via.c if (err < 0) err 3053 sound/pci/hda/patch_via.c return err; err 3054 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 3057 sound/pci/hda/patch_via.c if (err < 0) err 3058 sound/pci/hda/patch_via.c return err; err 3061 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 3064 sound/pci/hda/patch_via.c if (err < 0) err 3065 sound/pci/hda/patch_via.c return err; err 3066 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 3069 sound/pci/hda/patch_via.c if (err < 0) err 3070 sound/pci/hda/patch_via.c return err; err 3077 sound/pci/hda/patch_via.c int err; err 3084 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_VOL, err 3087 sound/pci/hda/patch_via.c if (err < 0) err 3088 sound/pci/hda/patch_via.c return err; err 3090 sound/pci/hda/patch_via.c err = via_add_control(spec, VIA_CTL_WIDGET_MUTE, err 3093 sound/pci/hda/patch_via.c if (err < 0) err 3094 sound/pci/hda/patch_via.c return err; err 3109 sound/pci/hda/patch_via.c int i, err, idx = 0; err 3133 sound/pci/hda/patch_via.c err = via_new_analog_input(spec, cfg->input_pins[i], err 3135 sound/pci/hda/patch_via.c if (err < 0) err 3136 sound/pci/hda/patch_via.c return err; err 3147 sound/pci/hda/patch_via.c int err; err 3150 sound/pci/hda/patch_via.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, err 3152 sound/pci/hda/patch_via.c if (err < 0) err 3153 sound/pci/hda/patch_via.c return err; err 3154 sound/pci/hda/patch_via.c err = vt1702_auto_fill_dac_nids(spec, &spec->autocfg); err 3155 sound/pci/hda/patch_via.c if (err < 0) err 3156 sound/pci/hda/patch_via.c return err; err 3160 sound/pci/hda/patch_via.c err = vt1702_auto_create_line_out_ctls(spec, &spec->autocfg); err 3161 sound/pci/hda/patch_via.c if (err < 0) err 3162 sound/pci/hda/patch_via.c return err; err 3163 sound/pci/hda/patch_via.c err = vt1702_auto_create_hp_ctls(spec, spec->autocfg.hp_pins[0]); err 3164 sound/pci/hda/patch_via.c if (err < 0) err 3165 sound/pci/hda/patch_via.c return err; err 3166 sound/pci/hda/patch_via.c err = vt1702_auto_create_analog_input_ctls(spec, &spec->autocfg); err 3167 sound/pci/hda/patch_via.c if (err < 0) err 3168 sound/pci/hda/patch_via.c return err; err 3201 sound/pci/hda/patch_via.c int err; err 3213 sound/pci/hda/patch_via.c err = vt1702_parse_auto_config(codec); err 3214 sound/pci/hda/patch_via.c if (err < 0) { err 3216 sound/pci/hda/patch_via.c return err; err 3217 sound/pci/hda/patch_via.c } else if (!err) { err 169 sound/pci/ice1712/ak4xxx.c int err; err 173 sound/pci/ice1712/ak4xxx.c err = snd_akm4xxx_build_controls(ak); err 174 sound/pci/ice1712/ak4xxx.c if (err < 0) err 175 sound/pci/ice1712/ak4xxx.c return err; err 1917 sound/pci/ice1712/aureon.c int err; err 1923 sound/pci/ice1712/aureon.c err = snd_ctl_add(ice->card, snd_ctl_new1(&aureon_dac_controls[i], ice)); err 1924 sound/pci/ice1712/aureon.c if (err < 0) err 1925 sound/pci/ice1712/aureon.c return err; err 1929 sound/pci/ice1712/aureon.c err = snd_ctl_add(ice->card, snd_ctl_new1(&wm_controls[i], ice)); err 1930 sound/pci/ice1712/aureon.c if (err < 0) err 1931 sound/pci/ice1712/aureon.c return err; err 1936 sound/pci/ice1712/aureon.c err = snd_ctl_add(ice->card, snd_ctl_new1(&universe_ac97_controls[i], ice)); err 1937 sound/pci/ice1712/aureon.c if (err < 0) err 1938 sound/pci/ice1712/aureon.c return err; err 1943 sound/pci/ice1712/aureon.c err = snd_ctl_add(ice->card, snd_ctl_new1(&ac97_controls[i], ice)); err 1944 sound/pci/ice1712/aureon.c if (err < 0) err 1945 sound/pci/ice1712/aureon.c return err; err 1961 sound/pci/ice1712/aureon.c err = snd_ctl_add(ice->card, (kctl = snd_ctl_new1(&cs8415_controls[i], ice))); err 1962 sound/pci/ice1712/aureon.c if (err < 0) err 1963 sound/pci/ice1712/aureon.c return err; err 2068 sound/pci/ice1712/aureon.c int err, i; err 2090 sound/pci/ice1712/aureon.c err = aureon_ac97_init(ice); err 2091 sound/pci/ice1712/aureon.c if (err != 0) err 2092 sound/pci/ice1712/aureon.c return err; err 536 sound/pci/ice1712/delta.c int err; err 587 sound/pci/ice1712/delta.c if ((err = snd_i2c_bus_create(ice->card, "ICE1712 GPIO 1", NULL, &ice->i2c)) < 0) { err 589 sound/pci/ice1712/delta.c return err; err 593 sound/pci/ice1712/delta.c if ((err = snd_ice1712_init_cs8427(ice, CS8427_BASE_ADDR)) < 0) err 594 sound/pci/ice1712/delta.c return err; err 632 sound/pci/ice1712/delta.c err = snd_ice1712_akm4xxx_init(ak, &akm_audiophile, &akm_audiophile_priv, ice); err 635 sound/pci/ice1712/delta.c err = snd_ice1712_akm4xxx_init(ak, &akm_delta410, &akm_delta410_priv, ice); err 638 sound/pci/ice1712/delta.c err = snd_ice1712_akm4xxx_init(ak, &akm_delta1010lt, &akm_delta1010lt_priv, ice); err 642 sound/pci/ice1712/delta.c err = snd_ice1712_akm4xxx_init(ak, &akm_delta44, &akm_delta44_priv, ice); err 646 sound/pci/ice1712/delta.c err = snd_ice1712_akm4xxx_init(ak, &akm_vx442, &akm_vx442_priv, ice); err 653 sound/pci/ice1712/delta.c return err; err 675 sound/pci/ice1712/delta.c int err; err 681 sound/pci/ice1712/delta.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010_wordclock_select, ice)); err 682 sound/pci/ice1712/delta.c if (err < 0) err 683 sound/pci/ice1712/delta.c return err; err 684 sound/pci/ice1712/delta.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010_wordclock_status, ice)); err 685 sound/pci/ice1712/delta.c if (err < 0) err 686 sound/pci/ice1712/delta.c return err; err 689 sound/pci/ice1712/delta.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_deltadio2496_spdif_in_select, ice)); err 690 sound/pci/ice1712/delta.c if (err < 0) err 691 sound/pci/ice1712/delta.c return err; err 695 sound/pci/ice1712/delta.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010lt_wordclock_select, ice)); err 696 sound/pci/ice1712/delta.c if (err < 0) err 697 sound/pci/ice1712/delta.c return err; err 698 sound/pci/ice1712/delta.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010lt_wordclock_status, ice)); err 699 sound/pci/ice1712/delta.c if (err < 0) err 700 sound/pci/ice1712/delta.c return err; err 710 sound/pci/ice1712/delta.c err = snd_ice1712_spdif_build_controls(ice); err 711 sound/pci/ice1712/delta.c if (err < 0) err 712 sound/pci/ice1712/delta.c return err; err 722 sound/pci/ice1712/delta.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta_spdif_in_status, ice)); err 723 sound/pci/ice1712/delta.c if (err < 0) err 724 sound/pci/ice1712/delta.c return err; err 737 sound/pci/ice1712/delta.c err = snd_ice1712_akm4xxx_build_controls(ice); err 738 sound/pci/ice1712/delta.c if (err < 0) err 739 sound/pci/ice1712/delta.c return err; err 425 sound/pci/ice1712/ews.c int err; err 459 sound/pci/ice1712/ews.c if ((err = snd_i2c_bus_create(ice->card, "ICE1712 GPIO 1", NULL, &ice->i2c)) < 0) { err 461 sound/pci/ice1712/ews.c return err; err 469 sound/pci/ice1712/ews.c err = snd_i2c_device_create(ice->i2c, "PCF9554", err 472 sound/pci/ice1712/ews.c if (err < 0) { err 474 sound/pci/ice1712/ews.c return err; err 483 sound/pci/ice1712/ews.c err = snd_i2c_device_create(ice->i2c, "CS8404", err 486 sound/pci/ice1712/ews.c if (err < 0) err 487 sound/pci/ice1712/ews.c return err; err 488 sound/pci/ice1712/ews.c err = snd_i2c_device_create(ice->i2c, "PCF8574 (1st)", err 491 sound/pci/ice1712/ews.c if (err < 0) err 492 sound/pci/ice1712/ews.c return err; err 493 sound/pci/ice1712/ews.c err = snd_i2c_device_create(ice->i2c, "PCF8574 (2nd)", err 496 sound/pci/ice1712/ews.c if (err < 0) err 497 sound/pci/ice1712/ews.c return err; err 499 sound/pci/ice1712/ews.c if ((err = snd_ice1712_ews88mt_chip_select(ice, 0x0f)) < 0) err 500 sound/pci/ice1712/ews.c return err; err 503 sound/pci/ice1712/ews.c err = snd_i2c_device_create(ice->i2c, "PCF8575", err 506 sound/pci/ice1712/ews.c if (err < 0) err 507 sound/pci/ice1712/ews.c return err; err 514 sound/pci/ice1712/ews.c if ((err = snd_ice1712_init_cs8427(ice, CS8427_BASE_ADDR)) < 0) err 515 sound/pci/ice1712/ews.c return err; err 519 sound/pci/ice1712/ews.c if ((err = snd_ice1712_init_cs8427(ice, ICE1712_6FIRE_CS8427_ADDR)) < 0) err 520 sound/pci/ice1712/ews.c return err; err 557 sound/pci/ice1712/ews.c err = snd_ice1712_akm4xxx_init(ak, &akm_ews88mt, &akm_ews88mt_priv, ice); err 560 sound/pci/ice1712/ews.c err = snd_ice1712_akm4xxx_init(ak, &akm_ewx2496, &akm_ewx2496_priv, ice); err 563 sound/pci/ice1712/ews.c err = snd_ice1712_akm4xxx_init(ak, &akm_6fire, &akm_6fire_priv, ice); err 566 sound/pci/ice1712/ews.c err = 0; err 569 sound/pci/ice1712/ews.c return err; err 970 sound/pci/ice1712/ews.c int err; err 974 sound/pci/ice1712/ews.c err = snd_ice1712_spdif_build_controls(ice); err 975 sound/pci/ice1712/ews.c if (err < 0) err 976 sound/pci/ice1712/ews.c return err; err 987 sound/pci/ice1712/ews.c err = snd_ice1712_akm4xxx_build_controls(ice); err 988 sound/pci/ice1712/ews.c if (err < 0) err 989 sound/pci/ice1712/ews.c return err; err 997 sound/pci/ice1712/ews.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ewx2496_controls[idx], ice)); err 998 sound/pci/ice1712/ews.c if (err < 0) err 999 sound/pci/ice1712/ews.c return err; err 1006 sound/pci/ice1712/ews.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ews88mt_input_sense, ice)); err 1007 sound/pci/ice1712/ews.c if (err < 0) err 1008 sound/pci/ice1712/ews.c return err; err 1009 sound/pci/ice1712/ews.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ews88mt_output_sense, ice)); err 1010 sound/pci/ice1712/ews.c if (err < 0) err 1011 sound/pci/ice1712/ews.c return err; err 1015 sound/pci/ice1712/ews.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_ews88d_controls[idx], ice)); err 1016 sound/pci/ice1712/ews.c if (err < 0) err 1017 sound/pci/ice1712/ews.c return err; err 1022 sound/pci/ice1712/ews.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_6fire_controls[idx], ice)); err 1023 sound/pci/ice1712/ews.c if (err < 0) err 1024 sound/pci/ice1712/ews.c return err; err 293 sound/pci/ice1712/hoontech.c int err; err 308 sound/pci/ice1712/hoontech.c err = snd_ice1712_akm4xxx_init(ak, &akm_stdsp24_mv, &akm_stdsp24_mv_priv, ice); err 309 sound/pci/ice1712/hoontech.c if (err < 0) err 310 sound/pci/ice1712/hoontech.c return err; err 313 sound/pci/ice1712/hoontech.c err = snd_ice1712_akm4xxx_build_controls(ice); err 314 sound/pci/ice1712/hoontech.c if (err < 0) err 315 sound/pci/ice1712/hoontech.c return err; err 383 sound/pci/ice1712/ice1712.c int err; err 385 sound/pci/ice1712/ice1712.c err = snd_cs8427_create(ice->i2c, addr, err 387 sound/pci/ice1712/ice1712.c if (err < 0) { err 389 sound/pci/ice1712/ice1712.c return err; err 875 sound/pci/ice1712/ice1712.c int err; err 879 sound/pci/ice1712/ice1712.c err = snd_pcm_new(ice->card, "ICE1712 consumer", device, 1, 1, &pcm); err 880 sound/pci/ice1712/ice1712.c if (err < 0) err 881 sound/pci/ice1712/ice1712.c return err; err 905 sound/pci/ice1712/ice1712.c int err; err 909 sound/pci/ice1712/ice1712.c err = snd_pcm_new(ice->card, "ICE1712 consumer (DS)", device, 6, 0, &pcm); err 910 sound/pci/ice1712/ice1712.c if (err < 0) err 911 sound/pci/ice1712/ice1712.c return err; err 1241 sound/pci/ice1712/ice1712.c int err; err 1245 sound/pci/ice1712/ice1712.c err = snd_pcm_new(ice->card, "ICE1712 multi", device, 1, 1, &pcm); err 1246 sound/pci/ice1712/ice1712.c if (err < 0) err 1247 sound/pci/ice1712/ice1712.c return err; err 1265 sound/pci/ice1712/ice1712.c err = snd_cs8427_iec958_build(ice->cs8427, err 1268 sound/pci/ice1712/ice1712.c if (err < 0) err 1269 sound/pci/ice1712/ice1712.c return err; err 1272 sound/pci/ice1712/ice1712.c err = snd_ice1712_build_pro_mixer(ice); err 1273 sound/pci/ice1712/ice1712.c if (err < 0) err 1274 sound/pci/ice1712/ice1712.c return err; err 1441 sound/pci/ice1712/ice1712.c int err; err 1445 sound/pci/ice1712/ice1712.c err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_playback_ctrls[idx], ice)); err 1446 sound/pci/ice1712/ice1712.c if (err < 0) err 1447 sound/pci/ice1712/ice1712.c return err; err 1453 sound/pci/ice1712/ice1712.c err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); err 1454 sound/pci/ice1712/ice1712.c if (err < 0) err 1455 sound/pci/ice1712/ice1712.c return err; err 1458 sound/pci/ice1712/ice1712.c err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_capture_spdif_switch, ice)); err 1459 sound/pci/ice1712/ice1712.c if (err < 0) err 1460 sound/pci/ice1712/ice1712.c return err; err 1465 sound/pci/ice1712/ice1712.c err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); err 1466 sound/pci/ice1712/ice1712.c if (err < 0) err 1467 sound/pci/ice1712/ice1712.c return err; err 1470 sound/pci/ice1712/ice1712.c err = snd_ctl_add(card, snd_ctl_new1(&snd_ice1712_multi_capture_spdif_volume, ice)); err 1471 sound/pci/ice1712/ice1712.c if (err < 0) err 1472 sound/pci/ice1712/ice1712.c return err; err 1498 sound/pci/ice1712/ice1712.c int err, bus_num = 0; err 1511 sound/pci/ice1712/ice1712.c err = snd_ac97_bus(ice->card, bus_num++, &con_ops, NULL, &pbus); err 1512 sound/pci/ice1712/ice1712.c if (err < 0) err 1513 sound/pci/ice1712/ice1712.c return err; err 1517 sound/pci/ice1712/ice1712.c err = snd_ac97_mixer(pbus, &ac97, &ice->ac97); err 1518 sound/pci/ice1712/ice1712.c if (err < 0) err 1521 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_mixer_digmix_route_ac97, ice)); err 1522 sound/pci/ice1712/ice1712.c if (err < 0) err 1523 sound/pci/ice1712/ice1712.c return err; err 1529 sound/pci/ice1712/ice1712.c err = snd_ac97_bus(ice->card, bus_num, &pro_ops, NULL, &pbus); err 1530 sound/pci/ice1712/ice1712.c if (err < 0) err 1531 sound/pci/ice1712/ice1712.c return err; err 1535 sound/pci/ice1712/ice1712.c err = snd_ac97_mixer(pbus, &ac97, &ice->ac97); err 1536 sound/pci/ice1712/ice1712.c if (err < 0) err 2419 sound/pci/ice1712/ice1712.c int err; err 2424 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_default, ice)); err 2425 sound/pci/ice1712/ice1712.c if (err < 0) err 2426 sound/pci/ice1712/ice1712.c return err; err 2428 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_maskc, ice)); err 2429 sound/pci/ice1712/ice1712.c if (err < 0) err 2430 sound/pci/ice1712/ice1712.c return err; err 2432 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_maskp, ice)); err 2433 sound/pci/ice1712/ice1712.c if (err < 0) err 2434 sound/pci/ice1712/ice1712.c return err; err 2436 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_ice1712_spdif_stream, ice)); err 2437 sound/pci/ice1712/ice1712.c if (err < 0) err 2438 sound/pci/ice1712/ice1712.c return err; err 2447 sound/pci/ice1712/ice1712.c int err; err 2449 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_eeprom, ice)); err 2450 sound/pci/ice1712/ice1712.c if (err < 0) err 2451 sound/pci/ice1712/ice1712.c return err; err 2452 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_pro_internal_clock, ice)); err 2453 sound/pci/ice1712/ice1712.c if (err < 0) err 2454 sound/pci/ice1712/ice1712.c return err; err 2455 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_pro_internal_clock_default, ice)); err 2456 sound/pci/ice1712/ice1712.c if (err < 0) err 2457 sound/pci/ice1712/ice1712.c return err; err 2459 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_pro_rate_locking, ice)); err 2460 sound/pci/ice1712/ice1712.c if (err < 0) err 2461 sound/pci/ice1712/ice1712.c return err; err 2462 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_pro_rate_reset, ice)); err 2463 sound/pci/ice1712/ice1712.c if (err < 0) err 2464 sound/pci/ice1712/ice1712.c return err; err 2469 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, snd_ctl_new1(&tmp, ice)); err 2470 sound/pci/ice1712/ice1712.c if (err < 0) err 2471 sound/pci/ice1712/ice1712.c return err; err 2474 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_mixer_pro_spdif_route, ice)); err 2475 sound/pci/ice1712/ice1712.c if (err < 0) err 2476 sound/pci/ice1712/ice1712.c return err; err 2478 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_mixer_pro_volume_rate, ice)); err 2479 sound/pci/ice1712/ice1712.c if (err < 0) err 2480 sound/pci/ice1712/ice1712.c return err; err 2481 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_mixer_pro_peak, ice)); err 2482 sound/pci/ice1712/ice1712.c if (err < 0) err 2483 sound/pci/ice1712/ice1712.c return err; err 2524 sound/pci/ice1712/ice1712.c int err; err 2532 sound/pci/ice1712/ice1712.c err = pci_enable_device(pci); err 2533 sound/pci/ice1712/ice1712.c if (err < 0) err 2534 sound/pci/ice1712/ice1712.c return err; err 2577 sound/pci/ice1712/ice1712.c err = pci_request_regions(pci, "ICE1712"); err 2578 sound/pci/ice1712/ice1712.c if (err < 0) { err 2581 sound/pci/ice1712/ice1712.c return err; err 2614 sound/pci/ice1712/ice1712.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, ice, &ops); err 2615 sound/pci/ice1712/ice1712.c if (err < 0) { err 2617 sound/pci/ice1712/ice1712.c return err; err 2641 sound/pci/ice1712/ice1712.c int pcm_dev = 0, err; err 2658 sound/pci/ice1712/ice1712.c err = snd_ice1712_create(card, pci, model[dev], omni[dev], err 2660 sound/pci/ice1712/ice1712.c if (err < 0) { err 2662 sound/pci/ice1712/ice1712.c return err; err 2672 sound/pci/ice1712/ice1712.c err = c->chip_init(ice); err 2673 sound/pci/ice1712/ice1712.c if (err < 0) { err 2675 sound/pci/ice1712/ice1712.c return err; err 2685 sound/pci/ice1712/ice1712.c err = snd_ice1712_pcm_profi(ice, pcm_dev++, NULL); err 2686 sound/pci/ice1712/ice1712.c if (err < 0) { err 2688 sound/pci/ice1712/ice1712.c return err; err 2692 sound/pci/ice1712/ice1712.c err = snd_ice1712_pcm(ice, pcm_dev++, NULL); err 2693 sound/pci/ice1712/ice1712.c if (err < 0) { err 2695 sound/pci/ice1712/ice1712.c return err; err 2698 sound/pci/ice1712/ice1712.c err = snd_ice1712_ac97_mixer(ice); err 2699 sound/pci/ice1712/ice1712.c if (err < 0) { err 2701 sound/pci/ice1712/ice1712.c return err; err 2704 sound/pci/ice1712/ice1712.c err = snd_ice1712_build_controls(ice); err 2705 sound/pci/ice1712/ice1712.c if (err < 0) { err 2707 sound/pci/ice1712/ice1712.c return err; err 2711 sound/pci/ice1712/ice1712.c err = c->build_controls(ice); err 2712 sound/pci/ice1712/ice1712.c if (err < 0) { err 2714 sound/pci/ice1712/ice1712.c return err; err 2719 sound/pci/ice1712/ice1712.c err = snd_ice1712_pcm_ds(ice, pcm_dev++, NULL); err 2720 sound/pci/ice1712/ice1712.c if (err < 0) { err 2722 sound/pci/ice1712/ice1712.c return err; err 2726 sound/pci/ice1712/ice1712.c err = snd_mpu401_uart_new(card, 0, MPU401_HW_ICE1712, err 2730 sound/pci/ice1712/ice1712.c if (err < 0) { err 2732 sound/pci/ice1712/ice1712.c return err; err 2742 sound/pci/ice1712/ice1712.c err = snd_mpu401_uart_new(card, 1, MPU401_HW_ICE1712, err 2747 sound/pci/ice1712/ice1712.c if (err < 0) { err 2749 sound/pci/ice1712/ice1712.c return err; err 2765 sound/pci/ice1712/ice1712.c err = snd_card_register(card); err 2766 sound/pci/ice1712/ice1712.c if (err < 0) { err 2768 sound/pci/ice1712/ice1712.c return err; err 1033 sound/pci/ice1712/ice1724.c int err; err 1035 sound/pci/ice1712/ice1724.c err = snd_pcm_new(ice->card, "ICE1724", device, 1, 1, &pcm); err 1036 sound/pci/ice1712/ice1724.c if (err < 0) err 1037 sound/pci/ice1712/ice1724.c return err; err 1220 sound/pci/ice1712/ice1724.c int err; err 1241 sound/pci/ice1712/ice1724.c err = snd_pcm_new(ice->card, name, device, play, capt, &pcm); err 1242 sound/pci/ice1712/ice1724.c if (err < 0) err 1243 sound/pci/ice1712/ice1724.c return err; err 1353 sound/pci/ice1712/ice1724.c int err; err 1359 sound/pci/ice1712/ice1724.c err = snd_pcm_new(ice->card, "ICE1724 Surrounds", device, play, 0, &pcm); err 1360 sound/pci/ice1712/ice1724.c if (err < 0) err 1361 sound/pci/ice1712/ice1724.c return err; err 1386 sound/pci/ice1712/ice1724.c int err; err 1401 sound/pci/ice1712/ice1724.c err = snd_ac97_bus(ice->card, 0, &ops, NULL, &pbus); err 1402 sound/pci/ice1712/ice1724.c if (err < 0) err 1403 sound/pci/ice1712/ice1724.c return err; err 1406 sound/pci/ice1712/ice1724.c err = snd_ac97_mixer(pbus, &ac97, &ice->ac97); err 1407 sound/pci/ice1712/ice1724.c if (err < 0) err 2250 sound/pci/ice1712/ice1724.c int err; err 2256 sound/pci/ice1712/ice1724.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_vt1724_mixer_pro_spdif_route, ice)); err 2257 sound/pci/ice1712/ice1724.c if (err < 0) err 2258 sound/pci/ice1712/ice1724.c return err; err 2260 sound/pci/ice1712/ice1724.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_vt1724_spdif_switch, ice)); err 2261 sound/pci/ice1712/ice1724.c if (err < 0) err 2262 sound/pci/ice1712/ice1724.c return err; err 2264 sound/pci/ice1712/ice1724.c err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_vt1724_spdif_default, ice)); err 2265 sound/pci/ice1712/ice1724.c if (err < 0) err 2266 sound/pci/ice1712/ice1724.c return err; err 2268 sound/pci/ice1712/ice1724.c err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_vt1724_spdif_maskc, ice)); err 2269 sound/pci/ice1712/ice1724.c if (err < 0) err 2270 sound/pci/ice1712/ice1724.c return err; err 2272 sound/pci/ice1712/ice1724.c err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_vt1724_spdif_maskp, ice)); err 2273 sound/pci/ice1712/ice1724.c if (err < 0) err 2274 sound/pci/ice1712/ice1724.c return err; err 2277 sound/pci/ice1712/ice1724.c err = snd_ctl_add(ice->card, kctl = snd_ctl_new1(&snd_vt1724_spdif_stream, ice)); err 2278 sound/pci/ice1712/ice1724.c if (err < 0) err 2279 sound/pci/ice1712/ice1724.c return err; err 2289 sound/pci/ice1712/ice1724.c int err; err 2291 sound/pci/ice1712/ice1724.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_vt1724_eeprom, ice)); err 2292 sound/pci/ice1712/ice1724.c if (err < 0) err 2293 sound/pci/ice1712/ice1724.c return err; err 2294 sound/pci/ice1712/ice1724.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_vt1724_pro_internal_clock, ice)); err 2295 sound/pci/ice1712/ice1724.c if (err < 0) err 2296 sound/pci/ice1712/ice1724.c return err; err 2298 sound/pci/ice1712/ice1724.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_vt1724_pro_rate_locking, ice)); err 2299 sound/pci/ice1712/ice1724.c if (err < 0) err 2300 sound/pci/ice1712/ice1724.c return err; err 2301 sound/pci/ice1712/ice1724.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_vt1724_pro_rate_reset, ice)); err 2302 sound/pci/ice1712/ice1724.c if (err < 0) err 2303 sound/pci/ice1712/ice1724.c return err; err 2310 sound/pci/ice1712/ice1724.c err = snd_ctl_add(ice->card, snd_ctl_new1(&tmp, ice)); err 2311 sound/pci/ice1712/ice1724.c if (err < 0) err 2312 sound/pci/ice1712/ice1724.c return err; err 2315 sound/pci/ice1712/ice1724.c err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_vt1724_mixer_pro_peak, ice)); err 2316 sound/pci/ice1712/ice1724.c if (err < 0) err 2317 sound/pci/ice1712/ice1724.c return err; err 2353 sound/pci/ice1712/ice1724.c int err; err 2362 sound/pci/ice1712/ice1724.c err = pci_enable_device(pci); err 2363 sound/pci/ice1712/ice1724.c if (err < 0) err 2364 sound/pci/ice1712/ice1724.c return err; err 2387 sound/pci/ice1712/ice1724.c err = pci_request_regions(pci, "ICE1724"); err 2388 sound/pci/ice1712/ice1724.c if (err < 0) { err 2391 sound/pci/ice1712/ice1724.c return err; err 2423 sound/pci/ice1712/ice1724.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, ice, &ops); err 2424 sound/pci/ice1712/ice1724.c if (err < 0) { err 2426 sound/pci/ice1712/ice1724.c return err; err 2448 sound/pci/ice1712/ice1724.c int pcm_dev = 0, err; err 2465 sound/pci/ice1712/ice1724.c err = snd_vt1724_create(card, pci, model[dev], &ice); err 2466 sound/pci/ice1712/ice1724.c if (err < 0) { err 2468 sound/pci/ice1712/ice1724.c return err; err 2478 sound/pci/ice1712/ice1724.c err = c->chip_init(ice); err 2479 sound/pci/ice1712/ice1724.c if (err < 0) { err 2481 sound/pci/ice1712/ice1724.c return err; err 2512 sound/pci/ice1712/ice1724.c err = snd_vt1724_pcm_profi(ice, pcm_dev++); err 2513 sound/pci/ice1712/ice1724.c if (err < 0) { err 2515 sound/pci/ice1712/ice1724.c return err; err 2518 sound/pci/ice1712/ice1724.c err = snd_vt1724_pcm_spdif(ice, pcm_dev++); err 2519 sound/pci/ice1712/ice1724.c if (err < 0) { err 2521 sound/pci/ice1712/ice1724.c return err; err 2524 sound/pci/ice1712/ice1724.c err = snd_vt1724_pcm_indep(ice, pcm_dev++); err 2525 sound/pci/ice1712/ice1724.c if (err < 0) { err 2527 sound/pci/ice1712/ice1724.c return err; err 2530 sound/pci/ice1712/ice1724.c err = snd_vt1724_ac97_mixer(ice); err 2531 sound/pci/ice1712/ice1724.c if (err < 0) { err 2533 sound/pci/ice1712/ice1724.c return err; err 2536 sound/pci/ice1712/ice1724.c err = snd_vt1724_build_controls(ice); err 2537 sound/pci/ice1712/ice1724.c if (err < 0) { err 2539 sound/pci/ice1712/ice1724.c return err; err 2543 sound/pci/ice1712/ice1724.c err = snd_vt1724_spdif_build_controls(ice); err 2544 sound/pci/ice1712/ice1724.c if (err < 0) { err 2546 sound/pci/ice1712/ice1724.c return err; err 2551 sound/pci/ice1712/ice1724.c err = c->build_controls(ice); err 2552 sound/pci/ice1712/ice1724.c if (err < 0) { err 2554 sound/pci/ice1712/ice1724.c return err; err 2562 sound/pci/ice1712/ice1724.c err = snd_rawmidi_new(card, "MIDI", 0, 1, 1, &rmidi); err 2563 sound/pci/ice1712/ice1724.c if (err < 0) { err 2565 sound/pci/ice1712/ice1724.c return err; err 2590 sound/pci/ice1712/ice1724.c err = snd_card_register(card); err 2591 sound/pci/ice1712/ice1724.c if (err < 0) { err 2593 sound/pci/ice1712/ice1724.c return err; err 471 sound/pci/ice1712/juli.c int err; err 475 sound/pci/ice1712/juli.c err = snd_ice1712_akm4xxx_build_controls(ice); err 476 sound/pci/ice1712/juli.c if (err < 0) err 477 sound/pci/ice1712/juli.c return err; err 480 sound/pci/ice1712/juli.c err = snd_ctl_add(ice->card, err 482 sound/pci/ice1712/juli.c if (err < 0) err 483 sound/pci/ice1712/juli.c return err; err 491 sound/pci/ice1712/juli.c err = snd_ctl_add(ice->card, vmaster); err 492 sound/pci/ice1712/juli.c if (err < 0) err 493 sound/pci/ice1712/juli.c return err; err 496 sound/pci/ice1712/juli.c err = snd_ak4114_build(spec->ak4114, NULL, err 500 sound/pci/ice1712/juli.c if (err < 0) err 501 sound/pci/ice1712/juli.c return err; err 591 sound/pci/ice1712/juli.c int err; err 600 sound/pci/ice1712/juli.c err = snd_ak4114_create(ice->card, err 605 sound/pci/ice1712/juli.c if (err < 0) err 606 sound/pci/ice1712/juli.c return err; err 634 sound/pci/ice1712/juli.c err = snd_ice1712_akm4xxx_init(ak, &akm_juli_dac, NULL, ice); err 635 sound/pci/ice1712/juli.c if (err < 0) err 636 sound/pci/ice1712/juli.c return err; err 127 sound/pci/ice1712/phase.c int err; err 151 sound/pci/ice1712/phase.c err = snd_ice1712_akm4xxx_init(ak, &akm_phase22, err 153 sound/pci/ice1712/phase.c if (err < 0) err 154 sound/pci/ice1712/phase.c return err; err 163 sound/pci/ice1712/phase.c int err = 0; err 168 sound/pci/ice1712/phase.c err = snd_ice1712_akm4xxx_build_controls(ice); err 169 sound/pci/ice1712/phase.c if (err < 0) err 170 sound/pci/ice1712/phase.c return err; err 925 sound/pci/ice1712/phase.c int err; err 929 sound/pci/ice1712/phase.c err = snd_ctl_add(ice->card, err 932 sound/pci/ice1712/phase.c if (err < 0) err 933 sound/pci/ice1712/phase.c return err; err 937 sound/pci/ice1712/phase.c err = snd_ctl_add(ice->card, err 939 sound/pci/ice1712/phase.c if (err < 0) err 940 sound/pci/ice1712/phase.c return err; err 703 sound/pci/ice1712/pontis.c int err; err 706 sound/pci/ice1712/pontis.c err = snd_ctl_add(ice->card, snd_ctl_new1(&pontis_controls[i], ice)); err 707 sound/pci/ice1712/pontis.c if (err < 0) err 708 sound/pci/ice1712/pontis.c return err; err 634 sound/pci/ice1712/prodigy192.c int err; err 636 sound/pci/ice1712/prodigy192.c err = snd_ak4114_create(ice->card, err 641 sound/pci/ice1712/prodigy192.c if (err < 0) err 642 sound/pci/ice1712/prodigy192.c return err; err 674 sound/pci/ice1712/prodigy192.c int err; err 677 sound/pci/ice1712/prodigy192.c err = snd_ctl_add(ice->card, err 679 sound/pci/ice1712/prodigy192.c if (err < 0) err 680 sound/pci/ice1712/prodigy192.c return err; err 685 sound/pci/ice1712/prodigy192.c err = snd_ctl_add(ice->card, err 688 sound/pci/ice1712/prodigy192.c if (err < 0) err 689 sound/pci/ice1712/prodigy192.c return err; err 691 sound/pci/ice1712/prodigy192.c err = snd_ak4114_build(spec->ak4114, err 694 sound/pci/ice1712/prodigy192.c if (err < 0) err 695 sound/pci/ice1712/prodigy192.c return err; err 741 sound/pci/ice1712/prodigy192.c int err = 0; err 763 sound/pci/ice1712/prodigy192.c err = prodigy192_ak4114_init(ice); err 767 sound/pci/ice1712/prodigy192.c snd_printdd("AK4114 initialized with status %d\n", err); err 770 sound/pci/ice1712/prodigy192.c if (err < 0) err 771 sound/pci/ice1712/prodigy192.c return err; err 944 sound/pci/ice1712/prodigy_hifi.c int err; err 947 sound/pci/ice1712/prodigy_hifi.c err = snd_ctl_add(ice->card, err 949 sound/pci/ice1712/prodigy_hifi.c if (err < 0) err 950 sound/pci/ice1712/prodigy_hifi.c return err; err 961 sound/pci/ice1712/prodigy_hifi.c int err; err 964 sound/pci/ice1712/prodigy_hifi.c err = snd_ctl_add(ice->card, err 966 sound/pci/ice1712/prodigy_hifi.c if (err < 0) err 967 sound/pci/ice1712/prodigy_hifi.c return err; err 162 sound/pci/ice1712/revo.c int err; err 170 sound/pci/ice1712/revo.c err = snd_i2c_bus_create(ice->card, "ICE1724 GPIO6", NULL, &ice->i2c); err 171 sound/pci/ice1712/revo.c if (err < 0) err 172 sound/pci/ice1712/revo.c return err; err 178 sound/pci/ice1712/revo.c err = snd_i2c_device_create(ice->i2c, "PT2258", 0x40, &spec->dev); err 179 sound/pci/ice1712/revo.c if (err < 0) err 180 sound/pci/ice1712/revo.c return err; err 485 sound/pci/ice1712/revo.c int err; err 487 sound/pci/ice1712/revo.c err = snd_ak4114_create(ice->card, err 502 sound/pci/ice1712/revo.c int err; err 531 sound/pci/ice1712/revo.c err = snd_ice1712_akm4xxx_init(ak, &akm_revo_front, err 533 sound/pci/ice1712/revo.c if (err < 0) err 534 sound/pci/ice1712/revo.c return err; err 535 sound/pci/ice1712/revo.c err = snd_ice1712_akm4xxx_init(ak+1, &akm_revo_surround, err 537 sound/pci/ice1712/revo.c if (err < 0) err 538 sound/pci/ice1712/revo.c return err; err 545 sound/pci/ice1712/revo.c err = snd_ice1712_akm4xxx_init(ak, &akm_revo51, err 547 sound/pci/ice1712/revo.c if (err < 0) err 548 sound/pci/ice1712/revo.c return err; err 549 sound/pci/ice1712/revo.c err = snd_ice1712_akm4xxx_init(ak+1, &akm_revo51_adc, err 551 sound/pci/ice1712/revo.c if (err < 0) err 552 sound/pci/ice1712/revo.c return err; err 553 sound/pci/ice1712/revo.c err = revo51_i2c_init(ice, &ptc_revo51_volume); err 554 sound/pci/ice1712/revo.c if (err < 0) err 555 sound/pci/ice1712/revo.c return err; err 562 sound/pci/ice1712/revo.c err = snd_ice1712_akm4xxx_init(ak, &akm_ap192, &akm_ap192_priv, err 564 sound/pci/ice1712/revo.c if (err < 0) err 565 sound/pci/ice1712/revo.c return err; err 580 sound/pci/ice1712/revo.c int err; err 584 sound/pci/ice1712/revo.c err = snd_ice1712_akm4xxx_build_controls(ice); err 585 sound/pci/ice1712/revo.c if (err < 0) err 586 sound/pci/ice1712/revo.c return err; err 589 sound/pci/ice1712/revo.c err = snd_ice1712_akm4xxx_build_controls(ice); err 590 sound/pci/ice1712/revo.c if (err < 0) err 591 sound/pci/ice1712/revo.c return err; err 593 sound/pci/ice1712/revo.c err = snd_pt2258_build_controls(spec->pt2258); err 594 sound/pci/ice1712/revo.c if (err < 0) err 595 sound/pci/ice1712/revo.c return err; err 598 sound/pci/ice1712/revo.c err = snd_ice1712_akm4xxx_build_controls(ice); err 599 sound/pci/ice1712/revo.c if (err < 0) err 600 sound/pci/ice1712/revo.c return err; err 601 sound/pci/ice1712/revo.c err = ap192_ak4114_init(ice); err 602 sound/pci/ice1712/revo.c if (err < 0) err 603 sound/pci/ice1712/revo.c return err; err 607 sound/pci/ice1712/se.c int err; err 642 sound/pci/ice1712/se.c err = snd_ctl_add(ice->card, snd_ctl_new1(&cont, ice)); err 643 sound/pci/ice1712/se.c if (err < 0) err 644 sound/pci/ice1712/se.c return err; err 711 sound/pci/ice1712/se.c int err; err 713 sound/pci/ice1712/se.c err = 0; err 716 sound/pci/ice1712/se.c err = se200pci_add_controls(ice); err 718 sound/pci/ice1712/se.c return err; err 455 sound/pci/ice1712/wtm.c int err; err 458 sound/pci/ice1712/wtm.c err = snd_ctl_add(ice->card, err 460 sound/pci/ice1712/wtm.c if (err < 0) err 461 sound/pci/ice1712/wtm.c return err; err 927 sound/pci/intel8x0.c int err; err 933 sound/pci/intel8x0.c err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params)); err 934 sound/pci/intel8x0.c if (err < 0) err 935 sound/pci/intel8x0.c return err; err 946 sound/pci/intel8x0.c err = snd_ac97_pcm_open(ichdev->pcm, params_rate(hw_params), err 949 sound/pci/intel8x0.c if (err >= 0) { err 956 sound/pci/intel8x0.c return err; err 1133 sound/pci/intel8x0.c int err; err 1143 sound/pci/intel8x0.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) err 1144 sound/pci/intel8x0.c return err; err 1153 sound/pci/intel8x0.c int err; err 1155 sound/pci/intel8x0.c err = snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_PCMOUT]); err 1156 sound/pci/intel8x0.c if (err < 0) err 1157 sound/pci/intel8x0.c return err; err 1477 sound/pci/intel8x0.c int err; err 1484 sound/pci/intel8x0.c err = snd_pcm_new(chip->card, name, device, err 1487 sound/pci/intel8x0.c if (err < 0) err 1488 sound/pci/intel8x0.c return err; err 1604 sound/pci/intel8x0.c int i, tblsize, device, err; err 1638 sound/pci/intel8x0.c err = snd_intel8x0_pcm1(chip, device, rec); err 1639 sound/pci/intel8x0.c if (err < 0) err 1640 sound/pci/intel8x0.c return err; err 2099 sound/pci/intel8x0.c int err; err 2170 sound/pci/intel8x0.c if ((err = snd_ac97_bus(chip->card, 0, ops, chip, &pbus)) < 0) err 2186 sound/pci/intel8x0.c if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) { err 2187 sound/pci/intel8x0.c if (err != -EACCES) err 2204 sound/pci/intel8x0.c err = snd_ac97_pcm_assign(pbus, i, ac97_pcm_defs); err 2205 sound/pci/intel8x0.c if (err < 0) err 2270 sound/pci/intel8x0.c return err; err 2430 sound/pci/intel8x0.c int err; err 2433 sound/pci/intel8x0.c if ((err = snd_intel8x0_ich_chip_init(chip, probing)) < 0) err 2434 sound/pci/intel8x0.c return err; err 2437 sound/pci/intel8x0.c if ((err = snd_intel8x0_ali_chip_init(chip, probing)) < 0) err 2438 sound/pci/intel8x0.c return err; err 2793 sound/pci/intel8x0.c int err; err 2834 sound/pci/intel8x0.c if ((err = pci_enable_device(pci)) < 0) err 2835 sound/pci/intel8x0.c return err; err 2858 sound/pci/intel8x0.c if ((err = pci_request_regions(pci, card->shortname)) < 0) { err 2861 sound/pci/intel8x0.c return err; err 2975 sound/pci/intel8x0.c if ((err = snd_intel8x0_chip_init(chip, 1)) < 0) { err 2977 sound/pci/intel8x0.c return err; err 2989 sound/pci/intel8x0.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 2991 sound/pci/intel8x0.c return err; err 3057 sound/pci/intel8x0.c int err; err 3096 sound/pci/intel8x0.c if ((err = snd_intel8x0_create(card, pci, pci_id->driver_data, err 3099 sound/pci/intel8x0.c return err; err 3103 sound/pci/intel8x0.c if ((err = snd_intel8x0_mixer(chip, ac97_clock, ac97_quirk)) < 0) { err 3105 sound/pci/intel8x0.c return err; err 3107 sound/pci/intel8x0.c if ((err = snd_intel8x0_pcm(chip)) < 0) { err 3109 sound/pci/intel8x0.c return err; err 3127 sound/pci/intel8x0.c if ((err = snd_card_register(card)) < 0) { err 3129 sound/pci/intel8x0.c return err; err 632 sound/pci/intel8x0m.c int err; err 636 sound/pci/intel8x0m.c err = snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, err 638 sound/pci/intel8x0m.c if ( err < 0 ) err 639 sound/pci/intel8x0m.c return err; err 711 sound/pci/intel8x0m.c int err; err 718 sound/pci/intel8x0m.c err = snd_pcm_new(chip->card, name, device, err 721 sound/pci/intel8x0m.c if (err < 0) err 722 sound/pci/intel8x0m.c return err; err 758 sound/pci/intel8x0m.c int i, tblsize, device, err; err 788 sound/pci/intel8x0m.c err = snd_intel8x0_pcm1(chip, device, rec); err 789 sound/pci/intel8x0m.c if (err < 0) err 790 sound/pci/intel8x0m.c return err; err 821 sound/pci/intel8x0m.c int err; err 837 sound/pci/intel8x0m.c if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0) err 846 sound/pci/intel8x0m.c if ((err = snd_ac97_mixer(pbus, &ac97, &x97)) < 0) { err 850 sound/pci/intel8x0m.c return err; err 866 sound/pci/intel8x0m.c return err; err 959 sound/pci/intel8x0m.c int err; err 961 sound/pci/intel8x0m.c if ((err = snd_intel8x0m_ich_chip_init(chip, probing)) < 0) err 962 sound/pci/intel8x0m.c return err; err 1108 sound/pci/intel8x0m.c int err; err 1123 sound/pci/intel8x0m.c if ((err = pci_enable_device(pci)) < 0) err 1124 sound/pci/intel8x0m.c return err; err 1137 sound/pci/intel8x0m.c if ((err = pci_request_regions(pci, card->shortname)) < 0) { err 1140 sound/pci/intel8x0m.c return err; err 1222 sound/pci/intel8x0m.c if ((err = snd_intel8x0_chip_init(chip, 1)) < 0) { err 1224 sound/pci/intel8x0m.c return err; err 1227 sound/pci/intel8x0m.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 1229 sound/pci/intel8x0m.c return err; err 1269 sound/pci/intel8x0m.c int err; err 1286 sound/pci/intel8x0m.c if ((err = snd_intel8x0m_create(card, pci, pci_id->driver_data, &chip)) < 0) { err 1288 sound/pci/intel8x0m.c return err; err 1292 sound/pci/intel8x0m.c if ((err = snd_intel8x0_mixer(chip, ac97_clock)) < 0) { err 1294 sound/pci/intel8x0m.c return err; err 1296 sound/pci/intel8x0m.c if ((err = snd_intel8x0_pcm(chip)) < 0) { err 1298 sound/pci/intel8x0m.c return err; err 1306 sound/pci/intel8x0m.c if ((err = snd_card_register(card)) < 0) { err 1308 sound/pci/intel8x0m.c return err; err 1495 sound/pci/korg1212/korg1212.c int err; err 1529 sound/pci/korg1212/korg1212.c if ((err = snd_korg1212_SetRate(korg1212, params_rate(params))) < 0) { err 1531 sound/pci/korg1212/korg1212.c return err; err 2159 sound/pci/korg1212/korg1212.c int err, rc; err 2170 sound/pci/korg1212/korg1212.c if ((err = pci_enable_device(pci)) < 0) err 2171 sound/pci/korg1212/korg1212.c return err; err 2209 sound/pci/korg1212/korg1212.c if ((err = pci_request_regions(pci, "korg1212")) < 0) { err 2212 sound/pci/korg1212/korg1212.c return err; err 2240 sound/pci/korg1212/korg1212.c err = request_irq(pci->irq, snd_korg1212_interrupt, err 2244 sound/pci/korg1212/korg1212.c if (err) { err 2344 sound/pci/korg1212/korg1212.c err = request_firmware(&dsp_code, "korg/k1212.dsp", &pci->dev); err 2345 sound/pci/korg1212/korg1212.c if (err < 0) { err 2349 sound/pci/korg1212/korg1212.c return err; err 2373 sound/pci/korg1212/korg1212.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, korg1212, &ops)) < 0) { err 2375 sound/pci/korg1212/korg1212.c return err; err 2398 sound/pci/korg1212/korg1212.c if ((err = snd_pcm_new(korg1212->card, "korg1212", 0, 1, 1, &korg1212->pcm)) < 0) err 2399 sound/pci/korg1212/korg1212.c return err; err 2412 sound/pci/korg1212/korg1212.c err = snd_ctl_add(korg1212->card, snd_ctl_new1(&snd_korg1212_controls[i], korg1212)); err 2413 sound/pci/korg1212/korg1212.c if (err < 0) err 2414 sound/pci/korg1212/korg1212.c return err; err 2437 sound/pci/korg1212/korg1212.c int err; err 2450 sound/pci/korg1212/korg1212.c if ((err = snd_korg1212_create(card, pci, &korg1212)) < 0) { err 2452 sound/pci/korg1212/korg1212.c return err; err 2462 sound/pci/korg1212/korg1212.c if ((err = snd_card_register(card)) < 0) { err 2464 sound/pci/korg1212/korg1212.c return err; err 1176 sound/pci/maestro3.c int err = -EINVAL; err 1186 sound/pci/maestro3.c err = -EBUSY; err 1189 sound/pci/maestro3.c err = snd_m3_pcm_start(chip, s, subs); err 1195 sound/pci/maestro3.c err = 0; /* should return error? */ err 1198 sound/pci/maestro3.c err = snd_m3_pcm_stop(chip, s, subs); err 1203 sound/pci/maestro3.c return err; err 1459 sound/pci/maestro3.c int err; err 1461 sound/pci/maestro3.c if ((err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params))) < 0) err 1462 sound/pci/maestro3.c return err; err 1818 sound/pci/maestro3.c int err; err 1820 sound/pci/maestro3.c if ((err = snd_m3_substream_open(chip, subs)) < 0) err 1821 sound/pci/maestro3.c return err; err 1842 sound/pci/maestro3.c int err; err 1844 sound/pci/maestro3.c if ((err = snd_m3_substream_open(chip, subs)) < 0) err 1845 sound/pci/maestro3.c return err; err 1891 sound/pci/maestro3.c int err; err 1893 sound/pci/maestro3.c err = snd_pcm_new(chip->card, chip->card->driver, device, err 1895 sound/pci/maestro3.c if (err < 0) err 1896 sound/pci/maestro3.c return err; err 2074 sound/pci/maestro3.c int err; err 2080 sound/pci/maestro3.c if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) err 2081 sound/pci/maestro3.c return err; err 2085 sound/pci/maestro3.c if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97)) < 0) err 2086 sound/pci/maestro3.c return err; err 2521 sound/pci/maestro3.c int i, err; err 2598 sound/pci/maestro3.c err = request_firmware(&chip->assp_kernel_image, err 2600 sound/pci/maestro3.c if (err < 0) { err 2602 sound/pci/maestro3.c return err; err 2605 sound/pci/maestro3.c err = request_firmware(&chip->assp_minisrc_image, err 2607 sound/pci/maestro3.c if (err < 0) { err 2609 sound/pci/maestro3.c return err; err 2612 sound/pci/maestro3.c if ((err = pci_request_regions(pci, card->driver)) < 0) { err 2614 sound/pci/maestro3.c return err; err 2646 sound/pci/maestro3.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 2648 sound/pci/maestro3.c return err; err 2651 sound/pci/maestro3.c if ((err = snd_m3_mixer(chip)) < 0) err 2652 sound/pci/maestro3.c return err; err 2656 sound/pci/maestro3.c if ((err = snd_m3_assp_client_init(chip, s, i)) < 0) err 2657 sound/pci/maestro3.c return err; err 2660 sound/pci/maestro3.c if ((err = snd_m3_pcm(chip, 0)) < 0) err 2661 sound/pci/maestro3.c return err; err 2681 sound/pci/maestro3.c int err; err 2712 sound/pci/maestro3.c if ((err = snd_m3_create(card, pci, err 2717 sound/pci/maestro3.c return err; err 2725 sound/pci/maestro3.c if ((err = snd_card_register(card)) < 0) { err 2727 sound/pci/maestro3.c return err; err 2732 sound/pci/maestro3.c err = snd_mpu401_uart_new(chip->card, 0, MPU401_HW_MPU401, err 2736 sound/pci/maestro3.c if (err < 0) err 77 sound/pci/mixart/mixart.c int err; err 102 sound/pci/mixart/mixart.c err = snd_mixart_send_msg_wait_notif(mgr, &request, system_msg_uid); err 103 sound/pci/mixart/mixart.c if(err) { err 105 sound/pci/mixart/mixart.c return err; err 123 sound/pci/mixart/mixart.c err = snd_mixart_send_msg(mgr, &request, sizeof(group_state_resp), &group_state_resp); err 124 sound/pci/mixart/mixart.c if (err < 0 || group_state_resp.txx_status != 0) { err 125 sound/pci/mixart/mixart.c snd_printk(KERN_ERR "error MSG_STREAM_ST***_STREAM_GRP_PACKET err=%x stat=%x !\n", err, group_state_resp.txx_status); err 134 sound/pci/mixart/mixart.c err = snd_mixart_send_msg(mgr, &request, sizeof(group_state_resp), &group_state_resp); err 135 sound/pci/mixart/mixart.c if (err < 0 || group_state_resp.txx_status != 0) { err 136 sound/pci/mixart/mixart.c snd_printk(KERN_ERR "error MSG_STREAM_START_STREAM_GRP_PACKET err=%x stat=%x !\n", err, group_state_resp.txx_status); err 147 sound/pci/mixart/mixart.c err = snd_mixart_send_msg(mgr, &request, sizeof(stat), &stat); err 148 sound/pci/mixart/mixart.c if (err < 0 || stat != 0) { err 149 sound/pci/mixart/mixart.c snd_printk(KERN_ERR "error MSG_SYSTEM_SEND_SYNCHRO_CMD err=%x stat=%x !\n", err, stat); err 168 sound/pci/mixart/mixart.c int err; err 199 sound/pci/mixart/mixart.c err = snd_mixart_send_msg(mgr, &request, sizeof(clock_prop_resp), &clock_prop_resp); err 200 sound/pci/mixart/mixart.c if (err < 0 || clock_prop_resp.status != 0 || clock_prop_resp.clock_mode != CM_STANDALONE) { err 201 sound/pci/mixart/mixart.c snd_printk(KERN_ERR "error MSG_CLOCK_SET_PROPERTIES err=%x stat=%x mod=%x !\n", err, clock_prop_resp.status, clock_prop_resp.clock_mode); err 248 sound/pci/mixart/mixart.c int err, i; err 302 sound/pci/mixart/mixart.c err = snd_mixart_send_msg(chip->mgr, &request, sizeof(buf->sgroup_resp), &buf->sgroup_resp); err 303 sound/pci/mixart/mixart.c if((err < 0) || (buf->sgroup_resp.status != 0)) { err 304 sound/pci/mixart/mixart.c snd_printk(KERN_ERR "error MSG_STREAM_ADD_**PUT_GROUP err=%x stat=%x !\n", err, buf->sgroup_resp.status); err 327 sound/pci/mixart/mixart.c int err = 0; err 343 sound/pci/mixart/mixart.c err = mixart_set_clock( mgr, pipe, 0); err 344 sound/pci/mixart/mixart.c if( err < 0 ) { err 349 sound/pci/mixart/mixart.c err = mixart_set_pipe_state(mgr, pipe, 0); err 350 sound/pci/mixart/mixart.c if( err < 0 ) { err 360 sound/pci/mixart/mixart.c err = snd_mixart_send_msg(mgr, &request, sizeof(delete_resp), &delete_resp); err 361 sound/pci/mixart/mixart.c if ((err < 0) || (delete_resp.status != 0)) { err 362 sound/pci/mixart/mixart.c snd_printk(KERN_ERR "error MSG_STREAM_DELETE_GROUP err(%x), status(%x)\n", err, delete_resp.status); err 370 sound/pci/mixart/mixart.c return err; err 497 sound/pci/mixart/mixart.c int err; err 566 sound/pci/mixart/mixart.c err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); err 567 sound/pci/mixart/mixart.c if((err < 0) || resp.error_code) { err 568 sound/pci/mixart/mixart.c snd_printk(KERN_ERR "MSG_STREAM_SET_INPUT_STAGE_PARAM err=%x; resp=%x\n", err, resp.error_code); err 585 sound/pci/mixart/mixart.c int err; err 608 sound/pci/mixart/mixart.c err = mixart_set_format(stream, format); err 609 sound/pci/mixart/mixart.c if(err < 0) { err 610 sound/pci/mixart/mixart.c return err; err 614 sound/pci/mixart/mixart.c err = snd_pcm_lib_malloc_pages(subs, params_buffer_bytes(hw)); err 616 sound/pci/mixart/mixart.c if (err > 0) { err 635 sound/pci/mixart/mixart.c return err; err 702 sound/pci/mixart/mixart.c int err = 0; err 723 sound/pci/mixart/mixart.c err = -EBUSY; err 731 sound/pci/mixart/mixart.c err = -EINVAL; err 736 sound/pci/mixart/mixart.c err = mixart_set_pipe_state(chip->mgr, pipe, 1); err 737 sound/pci/mixart/mixart.c if( err < 0 ) { err 740 sound/pci/mixart/mixart.c err = -EINVAL; err 765 sound/pci/mixart/mixart.c return err; err 777 sound/pci/mixart/mixart.c int err = 0; err 801 sound/pci/mixart/mixart.c err = -EBUSY; err 809 sound/pci/mixart/mixart.c err = -EINVAL; err 814 sound/pci/mixart/mixart.c err = mixart_set_pipe_state(chip->mgr, pipe, 1); err 815 sound/pci/mixart/mixart.c if( err < 0 ) { err 818 sound/pci/mixart/mixart.c err = -EINVAL; err 843 sound/pci/mixart/mixart.c return err; err 933 sound/pci/mixart/mixart.c int err; err 938 sound/pci/mixart/mixart.c if ((err = snd_pcm_new(chip->card, name, MIXART_PCM_ANALOG, err 942 sound/pci/mixart/mixart.c return err; err 964 sound/pci/mixart/mixart.c int err; err 969 sound/pci/mixart/mixart.c if ((err = snd_pcm_new(chip->card, name, MIXART_PCM_DIGITAL, err 973 sound/pci/mixart/mixart.c return err; err 1007 sound/pci/mixart/mixart.c int err; err 1023 sound/pci/mixart/mixart.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 1025 sound/pci/mixart/mixart.c return err; err 1035 sound/pci/mixart/mixart.c int err; err 1037 sound/pci/mixart/mixart.c err = snd_mixart_pcm_analog(chip); err 1038 sound/pci/mixart/mixart.c if (err < 0) err 1039 sound/pci/mixart/mixart.c return err; err 1043 sound/pci/mixart/mixart.c err = snd_mixart_pcm_digital(chip); err 1044 sound/pci/mixart/mixart.c if (err < 0) err 1045 sound/pci/mixart/mixart.c return err; err 1047 sound/pci/mixart/mixart.c return err; err 1274 sound/pci/mixart/mixart.c int err; err 1287 sound/pci/mixart/mixart.c if ((err = pci_enable_device(pci)) < 0) err 1288 sound/pci/mixart/mixart.c return err; err 1310 sound/pci/mixart/mixart.c if ((err = pci_request_regions(pci, CARD_NAME)) < 0) { err 1313 sound/pci/mixart/mixart.c return err; err 1380 sound/pci/mixart/mixart.c if ((err = snd_mixart_create(mgr, card, i)) < 0) { err 1382 sound/pci/mixart/mixart.c return err; err 1390 sound/pci/mixart/mixart.c if ((err = snd_card_register(card)) < 0) { err 1392 sound/pci/mixart/mixart.c return err; err 1422 sound/pci/mixart/mixart.c err = snd_mixart_setup_firmware(mgr); err 1423 sound/pci/mixart/mixart.c if (err < 0) { err 1425 sound/pci/mixart/mixart.c return err; err 81 sound/pci/mixart/mixart_core.c int err; err 87 sound/pci/mixart/mixart_core.c err = 0; err 96 sound/pci/mixart/mixart_core.c err = -EINVAL; err 119 sound/pci/mixart/mixart_core.c err = -EINVAL; err 136 sound/pci/mixart/mixart_core.c return err; err 152 sound/pci/mixart/mixart_core.c int err, i; err 157 sound/pci/mixart/mixart_core.c err = 0; err 242 sound/pci/mixart/mixart_core.c int err; err 252 sound/pci/mixart/mixart_core.c err = send_msg(mgr, request, max_resp_size, 1, &msg_frame); /* send and mark the answer pending */ err 253 sound/pci/mixart/mixart_core.c if (err) { err 256 sound/pci/mixart/mixart_core.c return err; err 278 sound/pci/mixart/mixart_core.c err = get_msg(mgr, &resp, msg_frame); err 284 sound/pci/mixart/mixart_core.c return err; err 291 sound/pci/mixart/mixart_core.c int err; err 308 sound/pci/mixart/mixart_core.c err = send_msg(mgr, request, MSG_DEFAULT_SIZE, 1, ¬if_event); /* send and mark the notification event pending */ err 309 sound/pci/mixart/mixart_core.c if(err) { err 312 sound/pci/mixart/mixart_core.c return err; err 337 sound/pci/mixart/mixart_core.c int err; err 341 sound/pci/mixart/mixart_core.c err = send_msg(mgr, request, MSG_DEFAULT_SIZE, 0, &message_frame); err 347 sound/pci/mixart/mixart_core.c return err; err 360 sound/pci/mixart/mixart_core.c int err; err 379 sound/pci/mixart/mixart_core.c err = get_msg(mgr, &resp, addr); err 380 sound/pci/mixart/mixart_core.c if( err < 0 ) { err 381 sound/pci/mixart/mixart_core.c snd_printk(KERN_ERR "tasklet: error(%d) reading mf %x\n", err, msg); err 419 sound/pci/mixart/mixart_core.c int err; err 452 sound/pci/mixart/mixart_core.c err = get_msg(mgr, &resp, msg & ~MSG_TYPE_MASK); err 453 sound/pci/mixart/mixart_core.c if( err < 0 ) { err 454 sound/pci/mixart/mixart_core.c snd_printk(KERN_ERR "interrupt: error(%d) reading mf %x\n", err, msg); err 141 sound/pci/mixart/mixart_hwdep.c int err; err 151 sound/pci/mixart/mixart_hwdep.c err = -ENOMEM; err 164 sound/pci/mixart/mixart_hwdep.c err = snd_mixart_send_msg(mgr, &request, sizeof(*connector), connector); err 165 sound/pci/mixart/mixart_hwdep.c if((err < 0) || (connector->error_code) || (connector->uid_count > MIXART_MAX_PHYS_CONNECTORS)) { err 167 sound/pci/mixart/mixart_hwdep.c err = -EINVAL; err 193 sound/pci/mixart/mixart_hwdep.c err = snd_mixart_send_msg(mgr, &request, sizeof(*audio_info), audio_info); err 194 sound/pci/mixart/mixart_hwdep.c if( err < 0 ) { err 206 sound/pci/mixart/mixart_hwdep.c err = snd_mixart_send_msg(mgr, &request, sizeof(*connector), connector); err 207 sound/pci/mixart/mixart_hwdep.c if((err < 0) || (connector->error_code) || (connector->uid_count > MIXART_MAX_PHYS_CONNECTORS)) { err 209 sound/pci/mixart/mixart_hwdep.c err = -EINVAL; err 235 sound/pci/mixart/mixart_hwdep.c err = snd_mixart_send_msg(mgr, &request, sizeof(*audio_info), audio_info); err 236 sound/pci/mixart/mixart_hwdep.c if( err < 0 ) { err 242 sound/pci/mixart/mixart_hwdep.c err = 0; err 249 sound/pci/mixart/mixart_hwdep.c return err; err 255 sound/pci/mixart/mixart_hwdep.c int err; err 270 sound/pci/mixart/mixart_hwdep.c err = snd_mixart_send_msg(mgr, &request, sizeof(console_mgr), &console_mgr); err 272 sound/pci/mixart/mixart_hwdep.c if( (err < 0) || (console_mgr.error_code != 0) ) { err 285 sound/pci/mixart/mixart_hwdep.c err = snd_mixart_send_msg(mgr, &request, sizeof(phys_io), &phys_io); err 286 sound/pci/mixart/mixart_hwdep.c if( (err < 0) || ( phys_io.error_code != 0 ) ) { err 287 sound/pci/mixart/mixart_hwdep.c snd_printk(KERN_ERR "error MSG_SYSTEM_ENUM_PHYSICAL_IO err(%x) error_code(%x)\n", err, phys_io.error_code ); err 307 sound/pci/mixart/mixart_hwdep.c int err; err 310 sound/pci/mixart/mixart_hwdep.c if((err = mixart_enum_connectors(mgr)) < 0) return err; err 312 sound/pci/mixart/mixart_hwdep.c if((err = mixart_enum_physio(mgr)) < 0) return err; err 321 sound/pci/mixart/mixart_hwdep.c err = snd_mixart_send_msg(mgr, &request, sizeof(k), &k); err 322 sound/pci/mixart/mixart_hwdep.c if( (err < 0) || (k != 0) ) { err 324 sound/pci/mixart/mixart_hwdep.c return err == 0 ? -EINVAL : err; err 336 sound/pci/mixart/mixart_hwdep.c int err, card_index; err 404 sound/pci/mixart/mixart_hwdep.c err = mixart_wait_nice_for_register_value( mgr, MIXART_PSEUDOREG_MXLX_STATUS_OFFSET, 1, 4, 500); /* 5sec */ err 405 sound/pci/mixart/mixart_hwdep.c if (err < 0) { err 407 sound/pci/mixart/mixart_hwdep.c return err; err 418 sound/pci/mixart/mixart_hwdep.c err = mixart_load_elf( mgr, dsp ); err 419 sound/pci/mixart/mixart_hwdep.c if (err < 0) return err; err 425 sound/pci/mixart/mixart_hwdep.c err = mixart_wait_nice_for_register_value( mgr, MIXART_PSEUDOREG_ELF_STATUS_OFFSET, 1, 4, 300); /* 3sec */ err 426 sound/pci/mixart/mixart_hwdep.c if (err < 0) { err 428 sound/pci/mixart/mixart_hwdep.c return err; err 446 sound/pci/mixart/mixart_hwdep.c err = mixart_wait_nice_for_register_value( mgr, MIXART_PSEUDOREG_DBRD_PRESENCE_OFFSET, 0, 0, 30); /* 300msec */ err 447 sound/pci/mixart/mixart_hwdep.c if (err < 0) { err 449 sound/pci/mixart/mixart_hwdep.c return err; err 481 sound/pci/mixart/mixart_hwdep.c err = mixart_wait_nice_for_register_value( mgr, MIXART_PSEUDOREG_DXLX_STATUS_OFFSET, 1, 2, 30); /* 300msec */ err 482 sound/pci/mixart/mixart_hwdep.c if (err < 0) { err 484 sound/pci/mixart/mixart_hwdep.c return err; err 503 sound/pci/mixart/mixart_hwdep.c err = mixart_wait_nice_for_register_value( mgr, MIXART_PSEUDOREG_DXLX_STATUS_OFFSET, 1, 3, 300); /* 3sec */ err 504 sound/pci/mixart/mixart_hwdep.c if (err < 0) { err 506 sound/pci/mixart/mixart_hwdep.c return err; err 513 sound/pci/mixart/mixart_hwdep.c err = mixart_first_init(mgr); err 514 sound/pci/mixart/mixart_hwdep.c if (err < 0) { err 516 sound/pci/mixart/mixart_hwdep.c return err; err 523 sound/pci/mixart/mixart_hwdep.c if ((err = snd_mixart_create_pcm(chip)) < 0) err 524 sound/pci/mixart/mixart_hwdep.c return err; err 527 sound/pci/mixart/mixart_hwdep.c if ((err = snd_mixart_create_mixer(chip->mgr)) < 0) err 528 sound/pci/mixart/mixart_hwdep.c return err; err 531 sound/pci/mixart/mixart_hwdep.c if ((err = snd_card_register(chip->card)) < 0) err 532 sound/pci/mixart/mixart_hwdep.c return err; err 557 sound/pci/mixart/mixart_hwdep.c int i, err; err 566 sound/pci/mixart/mixart_hwdep.c err = mixart_dsp_load(mgr, i, fw_entry); err 568 sound/pci/mixart/mixart_hwdep.c if (err < 0) err 569 sound/pci/mixart/mixart_hwdep.c return err; err 614 sound/pci/mixart/mixart_hwdep.c int err; err 627 sound/pci/mixart/mixart_hwdep.c err = mixart_dsp_load(mgr, dsp->index, &fw); err 629 sound/pci/mixart/mixart_hwdep.c if (err < 0) err 630 sound/pci/mixart/mixart_hwdep.c return err; err 632 sound/pci/mixart/mixart_hwdep.c return err; err 637 sound/pci/mixart/mixart_hwdep.c int err; err 641 sound/pci/mixart/mixart_hwdep.c if ((err = snd_hwdep_new(mgr->chip[0]->card, SND_MIXART_HWDEP_ID, 0, &hw)) < 0) err 642 sound/pci/mixart/mixart_hwdep.c return err; err 305 sound/pci/mixart/mixart_mixer.c int i, err; err 330 sound/pci/mixart/mixart_mixer.c err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); err 331 sound/pci/mixart/mixart_mixer.c if((err<0) || (resp.error_code)) { err 723 sound/pci/mixart/mixart_mixer.c int err, i; err 763 sound/pci/mixart/mixart_mixer.c err = snd_mixart_send_msg(chip->mgr, &request, sizeof(status), &status); err 764 sound/pci/mixart/mixart_mixer.c if((err<0) || status) { err 773 sound/pci/mixart/mixart_mixer.c int err, i, idx; err 806 sound/pci/mixart/mixart_mixer.c err = snd_mixart_send_msg(chip->mgr, &request, sizeof(status), &status); err 807 sound/pci/mixart/mixart_mixer.c if((err<0) || status) { err 959 sound/pci/mixart/mixart_mixer.c int err; err 978 sound/pci/mixart/mixart_mixer.c err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); err 979 sound/pci/mixart/mixart_mixer.c if((err<0) || resp) { err 1110 sound/pci/mixart/mixart_mixer.c int err, i; err 1122 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) err 1123 sound/pci/mixart/mixart_mixer.c return err; err 1125 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&mixart_control_output_switch, chip))) < 0) err 1126 sound/pci/mixart/mixart_mixer.c return err; err 1133 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) err 1134 sound/pci/mixart/mixart_mixer.c return err; err 1141 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) err 1142 sound/pci/mixart/mixart_mixer.c return err; err 1147 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) err 1148 sound/pci/mixart/mixart_mixer.c return err; err 1154 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) err 1155 sound/pci/mixart/mixart_mixer.c return err; err 1160 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) err 1161 sound/pci/mixart/mixart_mixer.c return err; err 1166 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) err 1167 sound/pci/mixart/mixart_mixer.c return err; err 1172 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) err 1173 sound/pci/mixart/mixart_mixer.c return err; err 1177 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&mixart_control_monitor_vol, chip))) < 0) err 1178 sound/pci/mixart/mixart_mixer.c return err; err 1179 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&mixart_control_monitor_sw, chip))) < 0) err 1180 sound/pci/mixart/mixart_mixer.c return err; err 563 sound/pci/nm256/nm256.c int err = 0; err 589 sound/pci/nm256/nm256.c err = -EINVAL; err 593 sound/pci/nm256/nm256.c return err; err 601 sound/pci/nm256/nm256.c int err = 0; err 623 sound/pci/nm256/nm256.c err = -EINVAL; err 627 sound/pci/nm256/nm256.c return err; err 935 sound/pci/nm256/nm256.c int i, err; err 943 sound/pci/nm256/nm256.c err = snd_pcm_new(chip->card, chip->card->driver, device, err 945 sound/pci/nm256/nm256.c if (err < 0) err 946 sound/pci/nm256/nm256.c return err; err 1303 sound/pci/nm256/nm256.c int err; err 1315 sound/pci/nm256/nm256.c if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0) err 1316 sound/pci/nm256/nm256.c return err; err 1323 sound/pci/nm256/nm256.c err = snd_ac97_mixer(pbus, &ac97, &chip->ac97); err 1324 sound/pci/nm256/nm256.c if (err < 0) err 1325 sound/pci/nm256/nm256.c return err; err 1473 sound/pci/nm256/nm256.c int err, pval; err 1481 sound/pci/nm256/nm256.c if ((err = pci_enable_device(pci)) < 0) err 1482 sound/pci/nm256/nm256.c return err; err 1518 sound/pci/nm256/nm256.c err = -EBUSY; err 1524 sound/pci/nm256/nm256.c err = -ENOMEM; err 1539 sound/pci/nm256/nm256.c err = -ENXIO; err 1570 sound/pci/nm256/nm256.c if ((err = snd_nm256_peek_for_sig(chip)) < 0) err 1586 sound/pci/nm256/nm256.c err = -EBUSY; err 1591 sound/pci/nm256/nm256.c err = -ENOMEM; err 1619 sound/pci/nm256/nm256.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) err 1629 sound/pci/nm256/nm256.c return err; err 1651 sound/pci/nm256/nm256.c int err; err 1702 sound/pci/nm256/nm256.c if ((err = snd_nm256_create(card, pci, &chip)) < 0) { err 1704 sound/pci/nm256/nm256.c return err; err 1718 sound/pci/nm256/nm256.c if ((err = snd_nm256_pcm(chip, 0)) < 0 || err 1719 sound/pci/nm256/nm256.c (err = snd_nm256_mixer(chip)) < 0) { err 1721 sound/pci/nm256/nm256.c return err; err 1729 sound/pci/nm256/nm256.c if ((err = snd_card_register(card)) < 0) { err 1731 sound/pci/nm256/nm256.c return err; err 180 sound/pci/oxygen/hifier.c int err; err 188 sound/pci/oxygen/hifier.c err = oxygen_pci_probe(pci, index[dev], id[dev], &model_hifier, 0); err 189 sound/pci/oxygen/hifier.c if (err >= 0) err 191 sound/pci/oxygen/hifier.c return err; err 344 sound/pci/oxygen/oxygen.c int err; err 352 sound/pci/oxygen/oxygen.c err = oxygen_pci_probe(pci, index[dev], id[dev], err 354 sound/pci/oxygen/oxygen.c if (err >= 0) err 356 sound/pci/oxygen/oxygen.c return err; err 460 sound/pci/oxygen/oxygen_lib.c int err; err 480 sound/pci/oxygen/oxygen_lib.c err = pci_enable_device(pci); err 481 sound/pci/oxygen/oxygen_lib.c if (err < 0) err 484 sound/pci/oxygen/oxygen_lib.c err = pci_request_regions(pci, model->chip); err 485 sound/pci/oxygen/oxygen_lib.c if (err < 0) { err 493 sound/pci/oxygen/oxygen_lib.c err = -ENXIO; err 503 sound/pci/oxygen/oxygen_lib.c err = chip->model.probe(chip, driver_data); err 504 sound/pci/oxygen/oxygen_lib.c if (err < 0) err 510 sound/pci/oxygen/oxygen_lib.c err = request_irq(pci->irq, oxygen_interrupt, IRQF_SHARED, err 512 sound/pci/oxygen/oxygen_lib.c if (err < 0) { err 525 sound/pci/oxygen/oxygen_lib.c err = oxygen_pcm_init(chip); err 526 sound/pci/oxygen/oxygen_lib.c if (err < 0) err 529 sound/pci/oxygen/oxygen_lib.c err = oxygen_mixer_init(chip); err 530 sound/pci/oxygen/oxygen_lib.c if (err < 0) err 539 sound/pci/oxygen/oxygen_lib.c err = snd_mpu401_uart_new(card, 0, MPU401_HW_CMIPCI, err 543 sound/pci/oxygen/oxygen_lib.c if (err < 0) err 557 sound/pci/oxygen/oxygen_lib.c err = snd_card_register(card); err 558 sound/pci/oxygen/oxygen_lib.c if (err < 0) err 570 sound/pci/oxygen/oxygen_lib.c return err; err 938 sound/pci/oxygen/oxygen_mixer.c int err; err 943 sound/pci/oxygen/oxygen_mixer.c err = chip->model.control_filter(&template); err 944 sound/pci/oxygen/oxygen_mixer.c if (err < 0) err 945 sound/pci/oxygen/oxygen_mixer.c return err; err 946 sound/pci/oxygen/oxygen_mixer.c if (err == 1) err 957 sound/pci/oxygen/oxygen_mixer.c err = snd_ctl_add(chip->card, ctl); err 958 sound/pci/oxygen/oxygen_mixer.c if (err < 0) err 959 sound/pci/oxygen/oxygen_mixer.c return err; err 972 sound/pci/oxygen/oxygen_mixer.c int err; err 974 sound/pci/oxygen/oxygen_mixer.c err = add_controls(chip, controls, ARRAY_SIZE(controls)); err 975 sound/pci/oxygen/oxygen_mixer.c if (err < 0) err 976 sound/pci/oxygen/oxygen_mixer.c return err; err 978 sound/pci/oxygen/oxygen_mixer.c err = add_controls(chip, spdif_input_controls, err 980 sound/pci/oxygen/oxygen_mixer.c if (err < 0) err 981 sound/pci/oxygen/oxygen_mixer.c return err; err 986 sound/pci/oxygen/oxygen_mixer.c err = add_controls(chip, monitor_controls[i].controls, err 988 sound/pci/oxygen/oxygen_mixer.c if (err < 0) err 989 sound/pci/oxygen/oxygen_mixer.c return err; err 992 sound/pci/oxygen/oxygen_mixer.c err = add_controls(chip, ac97_controls, err 994 sound/pci/oxygen/oxygen_mixer.c if (err < 0) err 995 sound/pci/oxygen/oxygen_mixer.c return err; err 998 sound/pci/oxygen/oxygen_mixer.c err = add_controls(chip, ac97_fp_controls, err 1000 sound/pci/oxygen/oxygen_mixer.c if (err < 0) err 1001 sound/pci/oxygen/oxygen_mixer.c return err; err 128 sound/pci/oxygen/oxygen_pcm.c int err; err 148 sound/pci/oxygen/oxygen_pcm.c err = snd_pcm_hw_constraint_step(runtime, 0, err 150 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 151 sound/pci/oxygen/oxygen_pcm.c return err; err 152 sound/pci/oxygen/oxygen_pcm.c err = snd_pcm_hw_constraint_step(runtime, 0, err 154 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 155 sound/pci/oxygen/oxygen_pcm.c return err; err 157 sound/pci/oxygen/oxygen_pcm.c err = snd_pcm_hw_constraint_msbits(runtime, 0, 32, 24); err 158 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 159 sound/pci/oxygen/oxygen_pcm.c return err; err 162 sound/pci/oxygen/oxygen_pcm.c err = snd_pcm_hw_constraint_step(runtime, 0, err 165 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 166 sound/pci/oxygen/oxygen_pcm.c return err; err 169 sound/pci/oxygen/oxygen_pcm.c err = snd_pcm_hw_constraint_minmax err 171 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 172 sound/pci/oxygen/oxygen_pcm.c return err; err 318 sound/pci/oxygen/oxygen_pcm.c int err; err 320 sound/pci/oxygen/oxygen_pcm.c err = snd_pcm_lib_malloc_pages(substream, err 322 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 323 sound/pci/oxygen/oxygen_pcm.c return err; err 345 sound/pci/oxygen/oxygen_pcm.c int err; err 347 sound/pci/oxygen/oxygen_pcm.c err = oxygen_hw_params(substream, hw_params); err 348 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 349 sound/pci/oxygen/oxygen_pcm.c return err; err 377 sound/pci/oxygen/oxygen_pcm.c int err; err 379 sound/pci/oxygen/oxygen_pcm.c err = oxygen_hw_params(substream, hw_params); err 380 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 381 sound/pci/oxygen/oxygen_pcm.c return err; err 414 sound/pci/oxygen/oxygen_pcm.c int err; err 416 sound/pci/oxygen/oxygen_pcm.c err = oxygen_hw_params(substream, hw_params); err 417 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 418 sound/pci/oxygen/oxygen_pcm.c return err; err 432 sound/pci/oxygen/oxygen_pcm.c int err; err 434 sound/pci/oxygen/oxygen_pcm.c err = oxygen_hw_params(substream, hw_params); err 435 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 436 sound/pci/oxygen/oxygen_pcm.c return err; err 456 sound/pci/oxygen/oxygen_pcm.c int err; err 458 sound/pci/oxygen/oxygen_pcm.c err = oxygen_hw_params(substream, hw_params); err 459 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 460 sound/pci/oxygen/oxygen_pcm.c return err; err 658 sound/pci/oxygen/oxygen_pcm.c int err; err 664 sound/pci/oxygen/oxygen_pcm.c err = snd_pcm_new(chip->card, "Multichannel", err 666 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 667 sound/pci/oxygen/oxygen_pcm.c return err; err 697 sound/pci/oxygen/oxygen_pcm.c err = snd_pcm_new(chip->card, "Digital", 1, outs, ins, &pcm); err 698 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 699 sound/pci/oxygen/oxygen_pcm.c return err; err 723 sound/pci/oxygen/oxygen_pcm.c err = snd_pcm_new(chip->card, outs ? "AC97" : "Analog2", err 725 sound/pci/oxygen/oxygen_pcm.c if (err < 0) err 726 sound/pci/oxygen/oxygen_pcm.c return err; err 918 sound/pci/oxygen/virtuoso.c int err; err 927 sound/pci/oxygen/virtuoso.c err = oxygen_pci_probe(pci, index[dev], id[dev], err 930 sound/pci/oxygen/virtuoso.c if (err >= 0) err 932 sound/pci/oxygen/virtuoso.c return err; err 164 sound/pci/pcxhr/pcxhr.c int err; err 188 sound/pci/pcxhr/pcxhr.c err = pcxhr_pll_freq_register(rate, &pllreg, &realfreq); err 189 sound/pci/pcxhr/pcxhr.c if (err) err 190 sound/pci/pcxhr/pcxhr.c return err; err 196 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); err 197 sound/pci/pcxhr/pcxhr.c if (err < 0) { err 200 sound/pci/pcxhr/pcxhr.c err ); err 201 sound/pci/pcxhr/pcxhr.c return err; err 223 sound/pci/pcxhr/pcxhr.c int err, changed; err 228 sound/pci/pcxhr/pcxhr.c err = pcxhr_get_clock_reg(mgr, rate, &val, &realfreq); err 229 sound/pci/pcxhr/pcxhr.c if (err) err 230 sound/pci/pcxhr/pcxhr.c return err; err 242 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); err 243 sound/pci/pcxhr/pcxhr.c if (err) err 244 sound/pci/pcxhr/pcxhr.c return err; err 250 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); err 251 sound/pci/pcxhr/pcxhr.c if (err) err 252 sound/pci/pcxhr/pcxhr.c return err; err 256 sound/pci/pcxhr/pcxhr.c err = pcxhr_write_io_num_reg_cont(mgr, PCXHR_FREQ_REG_MASK, val, &changed); err 257 sound/pci/pcxhr/pcxhr.c if (err) err 258 sound/pci/pcxhr/pcxhr.c return err; err 266 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); err 267 sound/pci/pcxhr/pcxhr.c if (err) err 268 sound/pci/pcxhr/pcxhr.c return err; err 281 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); err 282 sound/pci/pcxhr/pcxhr.c if (err) err 283 sound/pci/pcxhr/pcxhr.c return err; err 295 sound/pci/pcxhr/pcxhr.c int err, rate; err 311 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); err 312 sound/pci/pcxhr/pcxhr.c if (err) err 313 sound/pci/pcxhr/pcxhr.c return err; err 318 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); err 319 sound/pci/pcxhr/pcxhr.c if (err) err 320 sound/pci/pcxhr/pcxhr.c return err; err 344 sound/pci/pcxhr/pcxhr.c int err; err 374 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(chip->mgr, &rmh); err 375 sound/pci/pcxhr/pcxhr.c if (err) err 376 sound/pci/pcxhr/pcxhr.c snd_printk(KERN_ERR "ERROR pcxhr_set_stream_state err=%x;\n", err); err 378 sound/pci/pcxhr/pcxhr.c return err; err 392 sound/pci/pcxhr/pcxhr.c int err, is_capture, sample_rate, stream_num; err 443 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(chip->mgr, &rmh); err 444 sound/pci/pcxhr/pcxhr.c if (err) err 445 sound/pci/pcxhr/pcxhr.c snd_printk(KERN_ERR "ERROR pcxhr_set_format err=%x;\n", err); err 446 sound/pci/pcxhr/pcxhr.c return err; err 451 sound/pci/pcxhr/pcxhr.c int err, is_capture, stream_num; err 474 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(chip->mgr, &rmh); err 475 sound/pci/pcxhr/pcxhr.c if (err) err 476 sound/pci/pcxhr/pcxhr.c snd_printk(KERN_ERR "ERROR CMD_UPDATE_R_BUFFERS err=%x;\n", err); err 477 sound/pci/pcxhr/pcxhr.c return err; err 485 sound/pci/pcxhr/pcxhr.c int err; err 490 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(chip->mgr, &rmh); err 491 sound/pci/pcxhr/pcxhr.c if (err == 0) { err 496 sound/pci/pcxhr/pcxhr.c return err; err 513 sound/pci/pcxhr/pcxhr.c int i, j, err; err 552 sound/pci/pcxhr/pcxhr.c err = pcxhr_set_pipe_state(mgr, playback_mask, capture_mask, 0); err 553 sound/pci/pcxhr/pcxhr.c if (err) { err 567 sound/pci/pcxhr/pcxhr.c err = pcxhr_set_format(stream); err 568 sound/pci/pcxhr/pcxhr.c err = pcxhr_update_r_buffer(stream); err 574 sound/pci/pcxhr/pcxhr.c err = pcxhr_set_format(stream); err 575 sound/pci/pcxhr/pcxhr.c err = pcxhr_update_r_buffer(stream); err 586 sound/pci/pcxhr/pcxhr.c err = pcxhr_set_stream_state(stream); err 591 sound/pci/pcxhr/pcxhr.c err = pcxhr_set_stream_state(stream); err 596 sound/pci/pcxhr/pcxhr.c err = pcxhr_set_pipe_state(mgr, playback_mask, capture_mask, 1); err 597 sound/pci/pcxhr/pcxhr.c if (err) { err 630 sound/pci/pcxhr/pcxhr.c (long)(my_tv2.tv_usec - my_tv1.tv_usec), err); err 696 sound/pci/pcxhr/pcxhr.c int err; err 703 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); err 704 sound/pci/pcxhr/pcxhr.c if (err < 0) err 705 sound/pci/pcxhr/pcxhr.c snd_printk(KERN_ERR "error pcxhr_hardware_timer err(%x)\n", err); err 706 sound/pci/pcxhr/pcxhr.c return err; err 719 sound/pci/pcxhr/pcxhr.c int err = 0; err 750 sound/pci/pcxhr/pcxhr.c err = pcxhr_set_clock(mgr, subs->runtime->rate); err 751 sound/pci/pcxhr/pcxhr.c if (err) err 755 sound/pci/pcxhr/pcxhr.c err = pcxhr_hardware_timer(mgr, 1); err 762 sound/pci/pcxhr/pcxhr.c return err; err 776 sound/pci/pcxhr/pcxhr.c int err; err 799 sound/pci/pcxhr/pcxhr.c err = snd_pcm_lib_malloc_pages(subs, params_buffer_bytes(hw)); err 808 sound/pci/pcxhr/pcxhr.c return err; err 976 sound/pci/pcxhr/pcxhr.c int err; err 981 sound/pci/pcxhr/pcxhr.c if ((err = snd_pcm_new(chip->card, name, 0, err 985 sound/pci/pcxhr/pcxhr.c return err; err 1021 sound/pci/pcxhr/pcxhr.c int err; err 1048 sound/pci/pcxhr/pcxhr.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 1050 sound/pci/pcxhr/pcxhr.c return err; err 1134 sound/pci/pcxhr/pcxhr.c int i, err, sample_rate; err 1136 sound/pci/pcxhr/pcxhr.c err = pcxhr_get_external_clock(mgr, i, &sample_rate); err 1137 sound/pci/pcxhr/pcxhr.c if (err) err 1202 sound/pci/pcxhr/pcxhr.c int err; err 1214 sound/pci/pcxhr/pcxhr.c if ((err = pci_enable_device(pci)) < 0) err 1215 sound/pci/pcxhr/pcxhr.c return err; err 1241 sound/pci/pcxhr/pcxhr.c if ((err = pci_request_regions(pci, card_name)) < 0) { err 1244 sound/pci/pcxhr/pcxhr.c return err; err 1309 sound/pci/pcxhr/pcxhr.c if ((err = pcxhr_create(mgr, card, i)) < 0) { err 1311 sound/pci/pcxhr/pcxhr.c return err; err 1318 sound/pci/pcxhr/pcxhr.c if ((err = snd_card_register(card)) < 0) { err 1320 sound/pci/pcxhr/pcxhr.c return err; err 1335 sound/pci/pcxhr/pcxhr.c err = pcxhr_setup_firmware(mgr); err 1336 sound/pci/pcxhr/pcxhr.c if (err < 0) { err 1338 sound/pci/pcxhr/pcxhr.c return err; err 175 sound/pci/pcxhr/pcxhr_core.c int err; err 206 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_check_reg_bit(mgr, PCXHR_DSP_CVR, PCXHR_CVR_HI08_HC, 0, err 208 sound/pci/pcxhr/pcxhr_core.c if (err) { err 210 sound/pci/pcxhr/pcxhr_core.c return err; err 214 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_check_reg_bit(mgr, PCXHR_PLX_MBOX0, PCXHR_MBOX0_HF5, err 216 sound/pci/pcxhr/pcxhr_core.c if (err) { err 218 sound/pci/pcxhr/pcxhr_core.c return err; err 316 sound/pci/pcxhr/pcxhr_core.c int err; err 338 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_check_reg_bit(mgr, PCXHR_DSP_ISR, PCXHR_ISR_HI08_TRDY, err 340 sound/pci/pcxhr/pcxhr_core.c if (err) { err 342 sound/pci/pcxhr/pcxhr_core.c return err; err 362 sound/pci/pcxhr/pcxhr_core.c int err; err 378 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_download_dsp(mgr, eeprom); err 379 sound/pci/pcxhr/pcxhr_core.c if (err) err 380 sound/pci/pcxhr/pcxhr_core.c return err; err 391 sound/pci/pcxhr/pcxhr_core.c int err; err 400 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_it_dsp(mgr, PCXHR_IT_DOWNLOAD_BOOT, 0); err 401 sound/pci/pcxhr/pcxhr_core.c if (err) err 402 sound/pci/pcxhr/pcxhr_core.c return err; err 407 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_download_dsp(mgr, boot); err 408 sound/pci/pcxhr/pcxhr_core.c if (err) err 409 sound/pci/pcxhr/pcxhr_core.c return err; err 420 sound/pci/pcxhr/pcxhr_core.c int err; err 422 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_it_dsp(mgr, PCXHR_IT_RESET_BOARD_FUNC, 0); err 423 sound/pci/pcxhr/pcxhr_core.c if (err) err 424 sound/pci/pcxhr/pcxhr_core.c return err; err 425 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_it_dsp(mgr, PCXHR_IT_DOWNLOAD_DSP, 0); err 426 sound/pci/pcxhr/pcxhr_core.c if (err) err 427 sound/pci/pcxhr/pcxhr_core.c return err; err 428 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_download_dsp(mgr, dsp); err 429 sound/pci/pcxhr/pcxhr_core.c if (err) err 430 sound/pci/pcxhr/pcxhr_core.c return err; err 514 sound/pci/pcxhr/pcxhr_core.c int err; err 527 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_check_reg_bit(mgr, PCXHR_DSP_ISR, PCXHR_ISR_HI08_RXDF, err 529 sound/pci/pcxhr/pcxhr_core.c if (err) { err 532 sound/pci/pcxhr/pcxhr_core.c return err; err 573 sound/pci/pcxhr/pcxhr_core.c int err; err 580 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_it_dsp(mgr, PCXHR_IT_MESSAGE, 1); err 581 sound/pci/pcxhr/pcxhr_core.c if (err) { err 583 sound/pci/pcxhr/pcxhr_core.c return err; err 586 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_check_reg_bit(mgr, PCXHR_DSP_ISR, PCXHR_ISR_HI08_CHK, err 588 sound/pci/pcxhr/pcxhr_core.c if (err) err 589 sound/pci/pcxhr/pcxhr_core.c return err; err 591 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_it_dsp(mgr, PCXHR_IT_RESET_CHK, 1); err 592 sound/pci/pcxhr/pcxhr_core.c if (err) err 593 sound/pci/pcxhr/pcxhr_core.c return err; err 595 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_check_reg_bit(mgr, PCXHR_DSP_ISR, PCXHR_ISR_HI08_CHK, 0, err 597 sound/pci/pcxhr/pcxhr_core.c if (err) err 598 sound/pci/pcxhr/pcxhr_core.c return err; err 611 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_check_reg_bit(mgr, PCXHR_DSP_ISR, PCXHR_ISR_HI08_TRDY, err 613 sound/pci/pcxhr/pcxhr_core.c if (err) err 614 sound/pci/pcxhr/pcxhr_core.c return err; err 622 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_check_reg_bit(mgr, PCXHR_DSP_ISR, PCXHR_ISR_HI08_TRDY, err 624 sound/pci/pcxhr/pcxhr_core.c if (err) err 625 sound/pci/pcxhr/pcxhr_core.c return err; err 637 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_check_reg_bit(mgr, PCXHR_DSP_ISR, err 641 sound/pci/pcxhr/pcxhr_core.c if (err) err 642 sound/pci/pcxhr/pcxhr_core.c return err; err 649 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_check_reg_bit(mgr, PCXHR_DSP_ISR, PCXHR_ISR_HI08_CHK, err 651 sound/pci/pcxhr/pcxhr_core.c if (err) err 652 sound/pci/pcxhr/pcxhr_core.c return err; err 656 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_check_reg_bit(mgr, PCXHR_DSP_ISR, PCXHR_ISR_HI08_RXDF, err 658 sound/pci/pcxhr/pcxhr_core.c if (err) { err 660 sound/pci/pcxhr/pcxhr_core.c return err; err 667 sound/pci/pcxhr/pcxhr_core.c err = -EINVAL; err 670 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_read_rmh_status(mgr, rmh); err 675 sound/pci/pcxhr/pcxhr_core.c return err; err 725 sound/pci/pcxhr/pcxhr_core.c int err; err 727 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg_nolock(mgr, rmh); err 729 sound/pci/pcxhr/pcxhr_core.c return err; err 750 sound/pci/pcxhr/pcxhr_core.c int err; err 766 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg(mgr, &rmh); err 767 sound/pci/pcxhr/pcxhr_core.c if (err) { err 770 sound/pci/pcxhr/pcxhr_core.c err); err 771 sound/pci/pcxhr/pcxhr_core.c return err; err 786 sound/pci/pcxhr/pcxhr_core.c int err; err 801 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg(mgr, &rmh); err 802 sound/pci/pcxhr/pcxhr_core.c if (err) { err 805 sound/pci/pcxhr/pcxhr_core.c err); err 806 sound/pci/pcxhr/pcxhr_core.c return err; err 818 sound/pci/pcxhr/pcxhr_core.c int err; err 829 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg(mgr, &rmh); err 830 sound/pci/pcxhr/pcxhr_core.c if (err) { err 833 sound/pci/pcxhr/pcxhr_core.c err); err 834 sound/pci/pcxhr/pcxhr_core.c return err; err 842 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg(mgr, &rmh); err 843 sound/pci/pcxhr/pcxhr_core.c if (err) { err 844 sound/pci/pcxhr/pcxhr_core.c snd_printk(KERN_ERR "error pipe start (CMD_SEND_IRQA) err=%x!\n", err ); err 845 sound/pci/pcxhr/pcxhr_core.c return err; err 854 sound/pci/pcxhr/pcxhr_core.c int state, i, err; err 870 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_prepair_pipe_start(mgr, state, &state); err 871 sound/pci/pcxhr/pcxhr_core.c if (err) err 872 sound/pci/pcxhr/pcxhr_core.c return err; err 883 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_toggle_pipes(mgr, audio_mask); err 884 sound/pci/pcxhr/pcxhr_core.c if (err) err 885 sound/pci/pcxhr/pcxhr_core.c return err; err 900 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_stop_pipes(mgr, audio_mask); err 901 sound/pci/pcxhr/pcxhr_core.c if (err) err 902 sound/pci/pcxhr/pcxhr_core.c return err; err 907 sound/pci/pcxhr/pcxhr_core.c (long)(my_tv2.tv_usec - my_tv1.tv_usec), err); err 917 sound/pci/pcxhr/pcxhr_core.c int err; err 932 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg_nolock(mgr, &rmh); err 933 sound/pci/pcxhr/pcxhr_core.c if (err == 0) { err 940 sound/pci/pcxhr/pcxhr_core.c return err; err 968 sound/pci/pcxhr/pcxhr_core.c if (err & 0xfff) err 969 sound/pci/pcxhr/pcxhr_core.c err &= 0xfff; err 971 sound/pci/pcxhr/pcxhr_core.c err = ((err >> 12) & 0xfff); err 972 sound/pci/pcxhr/pcxhr_core.c if (!err) err 975 sound/pci/pcxhr/pcxhr_core.c is_capture ? "Record" : "Play", pipe, err); err 976 sound/pci/pcxhr/pcxhr_core.c if (err == 0xe01) err 978 sound/pci/pcxhr/pcxhr_core.c else if (err == 0xe10) err 981 sound/pci/pcxhr/pcxhr_core.c mgr->async_err_other_last = (int)err; err 990 sound/pci/pcxhr/pcxhr_core.c int err; err 1006 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg(mgr, prmh); err 1007 sound/pci/pcxhr/pcxhr_core.c if (err) err 1008 sound/pci/pcxhr/pcxhr_core.c snd_printk(KERN_ERR "ERROR pcxhr_msg_tasklet=%x;\n", err); err 1057 sound/pci/pcxhr/pcxhr_core.c int err, stream_mask; err 1067 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg(mgr, &rmh); err 1068 sound/pci/pcxhr/pcxhr_core.c if (err) err 49 sound/pci/pcxhr/pcxhr_hwdep.c int err; err 64 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_send_msg(mgr, &rmh); err 65 sound/pci/pcxhr/pcxhr_hwdep.c if (err) err 66 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 87 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_send_msg(mgr, &rmh); err 88 sound/pci/pcxhr/pcxhr_hwdep.c if (err) err 89 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 99 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_send_msg(mgr, &rmh); err 100 sound/pci/pcxhr/pcxhr_hwdep.c if (err) err 101 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 110 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_write_io_num_reg_cont(mgr, REG_CONT_UNMUTE_INPUTS, err 112 sound/pci/pcxhr/pcxhr_hwdep.c if (err) err 113 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 117 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_send_msg(mgr, &rmh); err 118 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 151 sound/pci/pcxhr/pcxhr_hwdep.c int err; err 170 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_send_msg(mgr, &rmh); err 171 sound/pci/pcxhr/pcxhr_hwdep.c if (err < 0) { err 172 sound/pci/pcxhr/pcxhr_hwdep.c snd_printk(KERN_ERR "error pipe allocation (CMD_RES_PIPE) err=%x!\n", err ); err 173 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 189 sound/pci/pcxhr/pcxhr_hwdep.c int err = 0; err 197 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_set_pipe_state(mgr, playback_mask, capture_mask, 0); err 198 sound/pci/pcxhr/pcxhr_hwdep.c if (err < 0) err 203 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_send_msg(mgr, &rmh); err 204 sound/pci/pcxhr/pcxhr_hwdep.c if (err < 0) err 205 sound/pci/pcxhr/pcxhr_hwdep.c snd_printk(KERN_ERR "error pipe release (CMD_FREE_PIPE) err(%x)\n", err); err 207 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 214 sound/pci/pcxhr/pcxhr_hwdep.c int err, i, j; err 223 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_dsp_allocate_pipe( mgr, pipe, 0, i*2); err 224 sound/pci/pcxhr/pcxhr_hwdep.c if (err) err 225 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 231 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_dsp_allocate_pipe(mgr, pipe, 1, i*2 + j); err 232 sound/pci/pcxhr/pcxhr_hwdep.c if (err) err 233 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 261 sound/pci/pcxhr/pcxhr_hwdep.c int err, card_index; err 282 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_load_dsp_binary(mgr, dsp); err 283 sound/pci/pcxhr/pcxhr_hwdep.c if (err) err 284 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 292 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_init_board(mgr); err 293 sound/pci/pcxhr/pcxhr_hwdep.c if (err < 0) { err 295 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 297 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_config_pipes(mgr); err 298 sound/pci/pcxhr/pcxhr_hwdep.c if (err < 0) { err 300 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 306 sound/pci/pcxhr/pcxhr_hwdep.c if ((err = pcxhr_create_pcm(chip)) < 0) err 307 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 310 sound/pci/pcxhr/pcxhr_hwdep.c if ((err = pcxhr_create_mixer(chip->mgr)) < 0) err 311 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 313 sound/pci/pcxhr/pcxhr_hwdep.c if ((err = snd_card_register(chip->card)) < 0) err 314 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 316 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_start_pipes(mgr); err 317 sound/pci/pcxhr/pcxhr_hwdep.c if (err < 0) { err 319 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 343 sound/pci/pcxhr/pcxhr_hwdep.c int i, err; err 352 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_dsp_load(mgr, i, fw_entry); err 354 sound/pci/pcxhr/pcxhr_hwdep.c if (err < 0) err 355 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 390 sound/pci/pcxhr/pcxhr_hwdep.c int err; err 404 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_dsp_load(mgr, dsp->index, &fw); err 406 sound/pci/pcxhr/pcxhr_hwdep.c if (err < 0) err 407 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 424 sound/pci/pcxhr/pcxhr_hwdep.c int err; err 428 sound/pci/pcxhr/pcxhr_hwdep.c if ((err = snd_hwdep_new(mgr->chip[0]->card, PCXHR_HWDEP_ID, 0, &hw)) < 0) err 429 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 441 sound/pci/pcxhr/pcxhr_hwdep.c if ((err = snd_card_register(mgr->chip[0]->card)) < 0) err 442 sound/pci/pcxhr/pcxhr_hwdep.c return err; err 51 sound/pci/pcxhr/pcxhr_mixer.c int err, vol; err 68 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); err 69 sound/pci/pcxhr/pcxhr_mixer.c if (err < 0) { err 71 sound/pci/pcxhr/pcxhr_mixer.c "is_capture(%d) err(%x)\n", chip->chip_idx, is_capture, err); err 213 sound/pci/pcxhr/pcxhr_mixer.c int err; err 238 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); err 239 sound/pci/pcxhr/pcxhr_mixer.c if (err < 0) { err 241 sound/pci/pcxhr/pcxhr_mixer.c "card(%d) err(%x)\n", chip->chip_idx, err); err 256 sound/pci/pcxhr/pcxhr_mixer.c int err; err 286 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); err 287 sound/pci/pcxhr/pcxhr_mixer.c if(err<0) { err 289 sound/pci/pcxhr/pcxhr_mixer.c chip->chip_idx, err); err 536 sound/pci/pcxhr/pcxhr_mixer.c int err, use_src, changed; err 559 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); err 560 sound/pci/pcxhr/pcxhr_mixer.c if (err) err 561 sound/pci/pcxhr/pcxhr_mixer.c return err; err 568 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); err 569 sound/pci/pcxhr/pcxhr_mixer.c if(err) err 570 sound/pci/pcxhr/pcxhr_mixer.c return err; err 572 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); err 573 sound/pci/pcxhr/pcxhr_mixer.c return err; err 722 sound/pci/pcxhr/pcxhr_mixer.c int i, err, rate; err 729 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_get_external_clock(mgr, i, &rate); err 730 sound/pci/pcxhr/pcxhr_mixer.c if (err) err 759 sound/pci/pcxhr/pcxhr_mixer.c int i, err; err 783 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); err 784 sound/pci/pcxhr/pcxhr_mixer.c if (err) err 785 sound/pci/pcxhr/pcxhr_mixer.c return err; err 802 sound/pci/pcxhr/pcxhr_mixer.c int i, err; err 809 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_iec958_capture_byte(chip, i, &aes_bits); err 810 sound/pci/pcxhr/pcxhr_mixer.c if (err) err 830 sound/pci/pcxhr/pcxhr_mixer.c int i, err, cmd; err 849 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); err 850 sound/pci/pcxhr/pcxhr_mixer.c if (err) err 851 sound/pci/pcxhr/pcxhr_mixer.c return err; err 953 sound/pci/pcxhr/pcxhr_mixer.c int err, i; err 967 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) err 968 sound/pci/pcxhr/pcxhr_mixer.c return err; err 970 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, err 973 sound/pci/pcxhr/pcxhr_mixer.c return err; err 979 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) err 980 sound/pci/pcxhr/pcxhr_mixer.c return err; err 982 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, err 985 sound/pci/pcxhr/pcxhr_mixer.c return err; err 988 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, err 991 sound/pci/pcxhr/pcxhr_mixer.c return err; err 992 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, err 995 sound/pci/pcxhr/pcxhr_mixer.c return err; err 1003 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) err 1004 sound/pci/pcxhr/pcxhr_mixer.c return err; err 1010 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) err 1011 sound/pci/pcxhr/pcxhr_mixer.c return err; err 1013 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, err 1016 sound/pci/pcxhr/pcxhr_mixer.c return err; err 1018 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, err 1021 sound/pci/pcxhr/pcxhr_mixer.c return err; err 1022 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, err 1025 sound/pci/pcxhr/pcxhr_mixer.c return err; err 1030 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, err 1033 sound/pci/pcxhr/pcxhr_mixer.c return err; err 1034 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, err 1037 sound/pci/pcxhr/pcxhr_mixer.c return err; err 1042 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, err 1045 sound/pci/pcxhr/pcxhr_mixer.c return err; err 1047 sound/pci/pcxhr/pcxhr_mixer.c if ((err = snd_ctl_add(chip->card, err 1050 sound/pci/pcxhr/pcxhr_mixer.c return err; err 734 sound/pci/riptide/riptide.c int err = 0; err 737 sound/pci/riptide/riptide.c while (size > 0 && err == 0) { err 743 sound/pci/riptide/riptide.c err = senddata(cif, in, laddr + saddr); err 754 sound/pci/riptide/riptide.c err = -EACCES; err 769 sound/pci/riptide/riptide.c snd_printdd("load firmware return %d\n", err); err 770 sound/pci/riptide/riptide.c return err; err 862 sound/pci/riptide/riptide.c int err; err 893 sound/pci/riptide/riptide.c err = -EBUSY; err 897 sound/pci/riptide/riptide.c err = 0; err 918 sound/pci/riptide/riptide.c err = -ENOSYS; err 927 sound/pci/riptide/riptide.c err = -ENODATA; err 953 sound/pci/riptide/riptide.c err); err 954 sound/pci/riptide/riptide.c return err; err 1215 sound/pci/riptide/riptide.c int i, j, err, has_firmware; err 1279 sound/pci/riptide/riptide.c if ((err = err 1285 sound/pci/riptide/riptide.c err); err 1289 sound/pci/riptide/riptide.c err = loadfirmware(cif, chip->fw_entry->data, err 1291 sound/pci/riptide/riptide.c if (err) err 1294 sound/pci/riptide/riptide.c err); err 1490 sound/pci/riptide/riptide.c int err = 0; err 1576 sound/pci/riptide/riptide.c err = -EIO; err 1579 sound/pci/riptide/riptide.c return err; err 1589 sound/pci/riptide/riptide.c int err; err 1596 sound/pci/riptide/riptide.c if ((err = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, err 1602 sound/pci/riptide/riptide.c return err; err 1722 sound/pci/riptide/riptide.c int err; err 1726 sound/pci/riptide/riptide.c if ((err = err 1729 sound/pci/riptide/riptide.c return err; err 1810 sound/pci/riptide/riptide.c int err; err 1824 sound/pci/riptide/riptide.c if ((err = riptide_reset(cif, chip)) != 0) err 1825 sound/pci/riptide/riptide.c return err; err 1838 sound/pci/riptide/riptide.c return err; err 1876 sound/pci/riptide/riptide.c int err; err 1882 sound/pci/riptide/riptide.c if ((err = pci_enable_device(pci)) < 0) err 1883 sound/pci/riptide/riptide.c return err; err 1919 sound/pci/riptide/riptide.c if ((err = snd_riptide_initialize(chip)) < 0) { err 1921 sound/pci/riptide/riptide.c return err; err 1924 sound/pci/riptide/riptide.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 1926 sound/pci/riptide/riptide.c return err; err 2018 sound/pci/riptide/riptide.c int err = 0; err 2028 sound/pci/riptide/riptide.c if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0) err 2029 sound/pci/riptide/riptide.c return err; err 2033 sound/pci/riptide/riptide.c if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97)) < 0) err 2034 sound/pci/riptide/riptide.c return err; err 2035 sound/pci/riptide/riptide.c return err; err 2096 sound/pci/riptide/riptide.c int err = 0; err 2108 sound/pci/riptide/riptide.c if ((err = snd_riptide_create(card, pci, &chip)) < 0) { err 2110 sound/pci/riptide/riptide.c return err; err 2113 sound/pci/riptide/riptide.c if ((err = snd_riptide_pcm(chip, 0, NULL)) < 0) { err 2115 sound/pci/riptide/riptide.c return err; err 2117 sound/pci/riptide/riptide.c if ((err = snd_riptide_mixer(chip)) < 0) { err 2119 sound/pci/riptide/riptide.c return err; err 2133 sound/pci/riptide/riptide.c if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_RIPTIDE, err 2144 sound/pci/riptide/riptide.c if ((err = snd_opl3_create(card, addr, addr + 2, err 2152 sound/pci/riptide/riptide.c if ((err = err 2179 sound/pci/riptide/riptide.c if ((err = snd_card_register(card)) < 0) { err 2181 sound/pci/riptide/riptide.c return err; err 2216 sound/pci/riptide/riptide.c int err; err 2217 sound/pci/riptide/riptide.c if ((err = pci_register_driver(&driver)) < 0) err 2218 sound/pci/riptide/riptide.c return err; err 658 sound/pci/rme32.c int err, rate, dummy; err 663 sound/pci/rme32.c err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(params)); err 664 sound/pci/rme32.c if (err < 0) err 665 sound/pci/rme32.c return err; err 681 sound/pci/rme32.c } else if ((err = snd_rme32_playback_setrate(rme32, params_rate(params))) < 0) { err 683 sound/pci/rme32.c return err; err 685 sound/pci/rme32.c if ((err = snd_rme32_setformat(rme32, params_format(params))) < 0) { err 687 sound/pci/rme32.c return err; err 713 sound/pci/rme32.c int err, isadat, rate; err 718 sound/pci/rme32.c err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(params)); err 719 sound/pci/rme32.c if (err < 0) err 720 sound/pci/rme32.c return err; err 733 sound/pci/rme32.c if ((err = snd_rme32_setformat(rme32, params_format(params))) < 0) { err 735 sound/pci/rme32.c return err; err 737 sound/pci/rme32.c if ((err = snd_rme32_playback_setrate(rme32, params_rate(params))) < 0) { err 739 sound/pci/rme32.c return err; err 1341 sound/pci/rme32.c int err; err 1346 sound/pci/rme32.c if ((err = pci_enable_device(pci)) < 0) err 1347 sound/pci/rme32.c return err; err 1349 sound/pci/rme32.c if ((err = pci_request_regions(pci, "RME32")) < 0) err 1350 sound/pci/rme32.c return err; err 1371 sound/pci/rme32.c if ((err = snd_pcm_new(rme32->card, "Digi32 IEC958", 0, 1, 1, &rme32->spdif_pcm)) < 0) { err 1372 sound/pci/rme32.c return err; err 1401 sound/pci/rme32.c if ((err = snd_pcm_new(rme32->card, "Digi32 ADAT", 1, err 1404 sound/pci/rme32.c return err; err 1448 sound/pci/rme32.c if ((err = snd_rme32_create_switches(rme32->card, rme32)) < 0) { err 1449 sound/pci/rme32.c return err; err 1906 sound/pci/rme32.c int idx, err; err 1910 sound/pci/rme32.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_rme32_controls[idx], rme32))) < 0) err 1911 sound/pci/rme32.c return err; err 1934 sound/pci/rme32.c int err; err 1954 sound/pci/rme32.c if ((err = snd_rme32_create(rme32)) < 0) { err 1956 sound/pci/rme32.c return err; err 1974 sound/pci/rme32.c if ((err = snd_card_register(card)) < 0) { err 1976 sound/pci/rme32.c return err; err 952 sound/pci/rme96.c int err, rate, dummy; err 969 sound/pci/rme96.c } else if ((err = snd_rme96_playback_setrate(rme96, params_rate(params))) < 0) { err 971 sound/pci/rme96.c return err; err 973 sound/pci/rme96.c if ((err = snd_rme96_playback_setformat(rme96, params_format(params))) < 0) { err 975 sound/pci/rme96.c return err; err 1005 sound/pci/rme96.c int err, isadat, rate; err 1013 sound/pci/rme96.c if ((err = snd_rme96_capture_setformat(rme96, params_format(params))) < 0) { err 1015 sound/pci/rme96.c return err; err 1018 sound/pci/rme96.c if ((err = snd_rme96_capture_analog_setrate(rme96, err 1022 sound/pci/rme96.c return err; err 1550 sound/pci/rme96.c int err; err 1555 sound/pci/rme96.c if ((err = pci_enable_device(pci)) < 0) err 1556 sound/pci/rme96.c return err; err 1558 sound/pci/rme96.c if ((err = pci_request_regions(pci, "RME96")) < 0) err 1559 sound/pci/rme96.c return err; err 1579 sound/pci/rme96.c if ((err = snd_pcm_new(rme96->card, "Digi96 IEC958", 0, err 1582 sound/pci/rme96.c return err; err 1597 sound/pci/rme96.c if ((err = snd_pcm_new(rme96->card, "Digi96 ADAT", 1, err 1600 sound/pci/rme96.c return err; err 1651 sound/pci/rme96.c if ((err = snd_rme96_create_switches(rme96->card, rme96)) < 0) { err 1652 sound/pci/rme96.c return err; err 2306 sound/pci/rme96.c int idx, err; err 2310 sound/pci/rme96.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_rme96_controls[idx], rme96))) < 0) err 2311 sound/pci/rme96.c return err; err 2318 sound/pci/rme96.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_rme96_controls[idx], rme96))) < 0) err 2319 sound/pci/rme96.c return err; err 2341 sound/pci/rme96.c int err; err 2359 sound/pci/rme96.c if ((err = snd_rme96_create(rme96)) < 0) { err 2361 sound/pci/rme96.c return err; err 2387 sound/pci/rme96.c if ((err = snd_card_register(card)) < 0) { err 2389 sound/pci/rme96.c return err; err 3221 sound/pci/rme9652/hdsp.c int err; err 3225 sound/pci/rme9652/hdsp.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_hdsp_controls[idx], hdsp))) < 0) err 3226 sound/pci/rme9652/hdsp.c return err; err 3234 sound/pci/rme9652/hdsp.c if ((err = snd_ctl_add (card, kctl = snd_ctl_new1(&snd_hdsp_adat_sync_check, hdsp)))) err 3235 sound/pci/rme9652/hdsp.c return err; err 3239 sound/pci/rme9652/hdsp.c if ((err = snd_ctl_add (card, kctl = snd_ctl_new1(&snd_hdsp_adat_sync_check, hdsp)))) err 3240 sound/pci/rme9652/hdsp.c return err; err 3247 sound/pci/rme9652/hdsp.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_hdsp_9632_controls[idx], hdsp))) < 0) err 3248 sound/pci/rme9652/hdsp.c return err; err 3254 sound/pci/rme9652/hdsp.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_hdsp_96xx_aeb, hdsp))) < 0) err 3255 sound/pci/rme9652/hdsp.c return err; err 3289 sound/pci/rme9652/hdsp.c int err = -EINVAL; err 3291 sound/pci/rme9652/hdsp.c err = hdsp_request_fw_loader(hdsp); err 3293 sound/pci/rme9652/hdsp.c if (err < 0) { err 3859 sound/pci/rme9652/hdsp.c int err; err 3914 sound/pci/rme9652/hdsp.c if ((err = hdsp_set_rate(hdsp, params_rate(params), 0)) < 0) { err 3917 sound/pci/rme9652/hdsp.c return err; err 3922 sound/pci/rme9652/hdsp.c if ((err = hdsp_set_interrupt_interval(hdsp, params_period_size(params))) < 0) { err 3924 sound/pci/rme9652/hdsp.c return err; err 4625 sound/pci/rme9652/hdsp.c int err; err 4629 sound/pci/rme9652/hdsp.c if ((err = hdsp_get_iobox_version(hdsp)) < 0) err 4630 sound/pci/rme9652/hdsp.c return err; err 4634 sound/pci/rme9652/hdsp.c if ((err = copy_to_user(argp, &hdsp_version, sizeof(hdsp_version)))) err 4641 sound/pci/rme9652/hdsp.c int err; err 4664 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_load_firmware_from_cache(hdsp)) < 0) err 4665 sound/pci/rme9652/hdsp.c return err; err 4668 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_enable_io(hdsp)) < 0) err 4669 sound/pci/rme9652/hdsp.c return err; err 4674 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_create_alsa_devices(hdsp->card, hdsp)) < 0) { err 4676 sound/pci/rme9652/hdsp.c return err; err 4719 sound/pci/rme9652/hdsp.c int err; err 4721 sound/pci/rme9652/hdsp.c if ((err = snd_hwdep_new(card, "HDSP hwdep", 0, &hw)) < 0) err 4722 sound/pci/rme9652/hdsp.c return err; err 4738 sound/pci/rme9652/hdsp.c int err; err 4740 sound/pci/rme9652/hdsp.c if ((err = snd_pcm_new(card, hdsp->card_name, 0, 1, 1, &pcm)) < 0) err 4741 sound/pci/rme9652/hdsp.c return err; err 4829 sound/pci/rme9652/hdsp.c int err; err 4831 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_create_pcm(card, hdsp)) < 0) { err 4833 sound/pci/rme9652/hdsp.c return err; err 4837 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_create_midi(card, hdsp, 0)) < 0) { err 4839 sound/pci/rme9652/hdsp.c return err; err 4843 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_create_midi(card, hdsp, 1)) < 0) { err 4845 sound/pci/rme9652/hdsp.c return err; err 4849 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_create_controls(card, hdsp)) < 0) { err 4851 sound/pci/rme9652/hdsp.c return err; err 4862 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_set_defaults(hdsp)) < 0) { err 4864 sound/pci/rme9652/hdsp.c return err; err 4872 sound/pci/rme9652/hdsp.c if ((err = snd_card_register(card)) < 0) { err 4874 sound/pci/rme9652/hdsp.c return err; err 4888 sound/pci/rme9652/hdsp.c int err; err 4893 sound/pci/rme9652/hdsp.c if ((err = hdsp_get_iobox_version(hdsp)) < 0) err 4894 sound/pci/rme9652/hdsp.c return err; err 4935 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_load_firmware_from_cache(hdsp)) < 0) err 4936 sound/pci/rme9652/hdsp.c return err; err 4939 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_enable_io(hdsp)) < 0) err 4940 sound/pci/rme9652/hdsp.c return err; err 4942 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_create_hwdep(hdsp->card, hdsp)) < 0) { err 4944 sound/pci/rme9652/hdsp.c return err; err 4948 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_create_alsa_devices(hdsp->card, hdsp)) < 0) { err 4950 sound/pci/rme9652/hdsp.c return err; err 4961 sound/pci/rme9652/hdsp.c int err; err 5017 sound/pci/rme9652/hdsp.c if ((err = pci_enable_device(pci)) < 0) err 5018 sound/pci/rme9652/hdsp.c return err; err 5022 sound/pci/rme9652/hdsp.c if ((err = pci_request_regions(pci, "hdsp")) < 0) err 5023 sound/pci/rme9652/hdsp.c return err; err 5041 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_initialize_memory(hdsp)) < 0) err 5042 sound/pci/rme9652/hdsp.c return err; err 5050 sound/pci/rme9652/hdsp.c if ((err = hdsp_request_fw_loader(hdsp)) < 0) err 5062 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_create_hwdep(card, hdsp)) < 0) err 5063 sound/pci/rme9652/hdsp.c return err; err 5074 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_enable_io(hdsp)) != 0) err 5075 sound/pci/rme9652/hdsp.c return err; err 5083 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_create_hwdep(card, hdsp)) < 0) err 5084 sound/pci/rme9652/hdsp.c return err; err 5091 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_create_alsa_devices(card, hdsp)) < 0) err 5092 sound/pci/rme9652/hdsp.c return err; err 5135 sound/pci/rme9652/hdsp.c int err; err 5153 sound/pci/rme9652/hdsp.c if ((err = snd_hdsp_create(card, hdsp)) < 0) { err 5155 sound/pci/rme9652/hdsp.c return err; err 5162 sound/pci/rme9652/hdsp.c if ((err = snd_card_register(card)) < 0) { err 5164 sound/pci/rme9652/hdsp.c return err; err 1284 sound/pci/rme9652/hdspm.c int err; err 1292 sound/pci/rme9652/hdspm.c err = snd_rawmidi_new (card, buf, id, 1, 1, &hdspm->midi[id].rmidi); err 1293 sound/pci/rme9652/hdspm.c if (err < 0) err 1294 sound/pci/rme9652/hdspm.c return err; err 2875 sound/pci/rme9652/hdspm.c int err; err 2885 sound/pci/rme9652/hdspm.c err = snd_ctl_add(card, err 2888 sound/pci/rme9652/hdspm.c if (err < 0) err 2889 sound/pci/rme9652/hdspm.c return err; err 2893 sound/pci/rme9652/hdspm.c err = snd_ctl_add(card, err 2895 sound/pci/rme9652/hdspm.c if (err < 0) err 2896 sound/pci/rme9652/hdspm.c return err; err 2901 sound/pci/rme9652/hdspm.c err = snd_ctl_add(card, err 2904 sound/pci/rme9652/hdspm.c if (err < 0) err 2905 sound/pci/rme9652/hdspm.c return err; err 2927 sound/pci/rme9652/hdspm.c err = snd_ctl_add(card, kctl); err 2928 sound/pci/rme9652/hdspm.c if (err < 0) err 2929 sound/pci/rme9652/hdspm.c return err; err 3604 sound/pci/rme9652/hdspm.c int err; err 3647 sound/pci/rme9652/hdspm.c err = hdspm_set_rate(hdspm, params_rate(params), 0); err 3648 sound/pci/rme9652/hdspm.c if (err < 0) { err 3652 sound/pci/rme9652/hdspm.c return err; err 3656 sound/pci/rme9652/hdspm.c err = hdspm_set_interrupt_interval(hdspm, err 3658 sound/pci/rme9652/hdspm.c if (err < 0) { err 3661 sound/pci/rme9652/hdspm.c return err; err 3670 sound/pci/rme9652/hdspm.c err = err 3672 sound/pci/rme9652/hdspm.c if (err < 0) err 3673 sound/pci/rme9652/hdspm.c return err; err 4206 sound/pci/rme9652/hdspm.c int err; err 4208 sound/pci/rme9652/hdspm.c err = snd_hwdep_new(card, "HDSPM hwdep", 0, &hw); err 4209 sound/pci/rme9652/hdspm.c if (err < 0) err 4210 sound/pci/rme9652/hdspm.c return err; err 4229 sound/pci/rme9652/hdspm.c int err; err 4237 sound/pci/rme9652/hdspm.c err = err 4243 sound/pci/rme9652/hdspm.c if (err < 0) { err 4246 sound/pci/rme9652/hdspm.c return err; err 4268 sound/pci/rme9652/hdspm.c int err; err 4270 sound/pci/rme9652/hdspm.c err = snd_pcm_new(card, hdspm->card_name, 0, 1, 1, &pcm); err 4271 sound/pci/rme9652/hdspm.c if (err < 0) err 4272 sound/pci/rme9652/hdspm.c return err; err 4285 sound/pci/rme9652/hdspm.c err = snd_hdspm_preallocate_memory(hdspm); err 4286 sound/pci/rme9652/hdspm.c if (err < 0) err 4287 sound/pci/rme9652/hdspm.c return err; err 4301 sound/pci/rme9652/hdspm.c int err; err 4304 sound/pci/rme9652/hdspm.c err = snd_hdspm_create_pcm(card, hdspm); err 4305 sound/pci/rme9652/hdspm.c if (err < 0) err 4306 sound/pci/rme9652/hdspm.c return err; err 4308 sound/pci/rme9652/hdspm.c err = snd_hdspm_create_midi(card, hdspm, 0); err 4309 sound/pci/rme9652/hdspm.c if (err < 0) err 4310 sound/pci/rme9652/hdspm.c return err; err 4312 sound/pci/rme9652/hdspm.c err = snd_hdspm_create_midi(card, hdspm, 1); err 4313 sound/pci/rme9652/hdspm.c if (err < 0) err 4314 sound/pci/rme9652/hdspm.c return err; err 4316 sound/pci/rme9652/hdspm.c err = snd_hdspm_create_controls(card, hdspm); err 4317 sound/pci/rme9652/hdspm.c if (err < 0) err 4318 sound/pci/rme9652/hdspm.c return err; err 4320 sound/pci/rme9652/hdspm.c err = snd_hdspm_create_hwdep(card, hdspm); err 4321 sound/pci/rme9652/hdspm.c if (err < 0) err 4322 sound/pci/rme9652/hdspm.c return err; err 4336 sound/pci/rme9652/hdspm.c err = snd_hdspm_set_defaults(hdspm); err 4337 sound/pci/rme9652/hdspm.c if (err < 0) err 4338 sound/pci/rme9652/hdspm.c return err; err 4345 sound/pci/rme9652/hdspm.c err = snd_card_register(card); err 4346 sound/pci/rme9652/hdspm.c if (err < 0) { err 4348 sound/pci/rme9652/hdspm.c return err; err 4361 sound/pci/rme9652/hdspm.c int err; err 4390 sound/pci/rme9652/hdspm.c err = pci_enable_device(pci); err 4391 sound/pci/rme9652/hdspm.c if (err < 0) err 4392 sound/pci/rme9652/hdspm.c return err; err 4396 sound/pci/rme9652/hdspm.c err = pci_request_regions(pci, "hdspm"); err 4397 sound/pci/rme9652/hdspm.c if (err < 0) err 4398 sound/pci/rme9652/hdspm.c return err; err 4438 sound/pci/rme9652/hdspm.c return err; err 4446 sound/pci/rme9652/hdspm.c err = snd_hdspm_create_alsa_devices(card, hdspm); err 4447 sound/pci/rme9652/hdspm.c if (err < 0) err 4448 sound/pci/rme9652/hdspm.c return err; err 4497 sound/pci/rme9652/hdspm.c int err; err 4518 sound/pci/rme9652/hdspm.c err = snd_hdspm_create(card, hdspm, precise_ptr[dev], err 4520 sound/pci/rme9652/hdspm.c if (err < 0) { err 4522 sound/pci/rme9652/hdspm.c return err; err 4529 sound/pci/rme9652/hdspm.c err = snd_card_register(card); err 4530 sound/pci/rme9652/hdspm.c if (err < 0) { err 4532 sound/pci/rme9652/hdspm.c return err; err 1348 sound/pci/rme9652/rme9652.c int err = 0; err 1357 sound/pci/rme9652/rme9652.c err = rme9652_set_passthru(rme9652, val); err 1359 sound/pci/rme9652/rme9652.c return err ? err : change; err 1563 sound/pci/rme9652/rme9652.c int err; err 1567 sound/pci/rme9652/rme9652.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_rme9652_controls[idx], rme9652))) < 0) err 1568 sound/pci/rme9652/rme9652.c return err; err 1574 sound/pci/rme9652/rme9652.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_rme9652_adat3_check, rme9652))) < 0) err 1575 sound/pci/rme9652/rme9652.c return err; err 1578 sound/pci/rme9652/rme9652.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_rme9652_adat1_input, rme9652))) < 0) err 1579 sound/pci/rme9652/rme9652.c return err; err 1993 sound/pci/rme9652/rme9652.c int err; err 2041 sound/pci/rme9652/rme9652.c if ((err = rme9652_set_rate(rme9652, params_rate(params))) < 0) { err 2043 sound/pci/rme9652/rme9652.c return err; err 2046 sound/pci/rme9652/rme9652.c if ((err = rme9652_set_interrupt_interval(rme9652, params_period_size(params))) < 0) { err 2048 sound/pci/rme9652/rme9652.c return err; err 2422 sound/pci/rme9652/rme9652.c int err; err 2424 sound/pci/rme9652/rme9652.c if ((err = snd_pcm_new(card, err 2427 sound/pci/rme9652/rme9652.c return err; err 2447 sound/pci/rme9652/rme9652.c int err; err 2468 sound/pci/rme9652/rme9652.c if ((err = pci_enable_device(pci)) < 0) err 2469 sound/pci/rme9652/rme9652.c return err; err 2473 sound/pci/rme9652/rme9652.c if ((err = pci_request_regions(pci, "rme9652")) < 0) err 2474 sound/pci/rme9652/rme9652.c return err; err 2544 sound/pci/rme9652/rme9652.c if ((err = snd_rme9652_initialize_memory(rme9652)) < 0) { err 2545 sound/pci/rme9652/rme9652.c return err; err 2548 sound/pci/rme9652/rme9652.c if ((err = snd_rme9652_create_pcm(card, rme9652)) < 0) { err 2549 sound/pci/rme9652/rme9652.c return err; err 2552 sound/pci/rme9652/rme9652.c if ((err = snd_rme9652_create_controls(card, rme9652)) < 0) { err 2553 sound/pci/rme9652/rme9652.c return err; err 2588 sound/pci/rme9652/rme9652.c int err; err 2609 sound/pci/rme9652/rme9652.c if ((err = snd_rme9652_create(card, rme9652, precise_ptr[dev])) < 0) { err 2611 sound/pci/rme9652/rme9652.c return err; err 2620 sound/pci/rme9652/rme9652.c if ((err = snd_card_register(card)) < 0) { err 2622 sound/pci/rme9652/rme9652.c return err; err 848 sound/pci/sonicvibes.c int err; err 850 sound/pci/sonicvibes.c if ((err = snd_pcm_new(sonic->card, "s3_86c617", device, 1, 1, &pcm)) < 0) err 851 sound/pci/sonicvibes.c return err; err 1091 sound/pci/sonicvibes.c int err; err 1099 sound/pci/sonicvibes.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_sonicvibes_controls[idx], sonic))) < 0) err 1100 sound/pci/sonicvibes.c return err; err 1222 sound/pci/sonicvibes.c int err; err 1229 sound/pci/sonicvibes.c if ((err = pci_enable_device(pci)) < 0) err 1230 sound/pci/sonicvibes.c return err; err 1249 sound/pci/sonicvibes.c if ((err = pci_request_regions(pci, "S3 SonicVibes")) < 0) { err 1252 sound/pci/sonicvibes.c return err; err 1352 sound/pci/sonicvibes.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, sonic, &ops)) < 0) { err 1354 sound/pci/sonicvibes.c return err; err 1397 sound/pci/sonicvibes.c int err; err 1404 sound/pci/sonicvibes.c if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_sonicvibes_midi_controls[idx], sonic))) < 0) err 1405 sound/pci/sonicvibes.c return err; err 1417 sound/pci/sonicvibes.c int idx, err; err 1436 sound/pci/sonicvibes.c if ((err = snd_sonicvibes_create(card, pci, err 1441 sound/pci/sonicvibes.c return err; err 1452 sound/pci/sonicvibes.c if ((err = snd_sonicvibes_pcm(sonic, 0, NULL)) < 0) { err 1454 sound/pci/sonicvibes.c return err; err 1456 sound/pci/sonicvibes.c if ((err = snd_sonicvibes_mixer(sonic)) < 0) { err 1458 sound/pci/sonicvibes.c return err; err 1460 sound/pci/sonicvibes.c if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_SONICVIBES, err 1465 sound/pci/sonicvibes.c return err; err 1468 sound/pci/sonicvibes.c if ((err = snd_opl3_create(card, sonic->synth_port, err 1472 sound/pci/sonicvibes.c return err; err 1474 sound/pci/sonicvibes.c if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { err 1476 sound/pci/sonicvibes.c return err; err 1481 sound/pci/sonicvibes.c if ((err = snd_card_register(card)) < 0) { err 1483 sound/pci/sonicvibes.c return err; err 83 sound/pci/trident/trident.c int err, pcm_dev = 0; err 96 sound/pci/trident/trident.c if ((err = snd_trident_create(card, pci, err 102 sound/pci/trident/trident.c return err; err 129 sound/pci/trident/trident.c if ((err = snd_trident_pcm(trident, pcm_dev++, NULL)) < 0) { err 131 sound/pci/trident/trident.c return err; err 136 sound/pci/trident/trident.c if ((err = snd_trident_foldback_pcm(trident, pcm_dev++, NULL)) < 0) { err 138 sound/pci/trident/trident.c return err; err 143 sound/pci/trident/trident.c if ((err = snd_trident_spdif_pcm(trident, pcm_dev++, NULL)) < 0) { err 145 sound/pci/trident/trident.c return err; err 149 sound/pci/trident/trident.c (err = snd_mpu401_uart_new(card, 0, MPU401_HW_TRID4DWAVE, err 154 sound/pci/trident/trident.c return err; err 159 sound/pci/trident/trident.c if ((err = snd_card_register(card)) < 0) { err 161 sound/pci/trident/trident.c return err; err 819 sound/pci/trident/trident_main.c int err; err 821 sound/pci/trident/trident_main.c if ((err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params))) < 0) err 822 sound/pci/trident/trident_main.c return err; err 824 sound/pci/trident/trident_main.c if (err > 0) { /* change */ err 890 sound/pci/trident/trident_main.c int err; err 892 sound/pci/trident/trident_main.c err = snd_trident_allocate_pcm_mem(substream, hw_params); err 893 sound/pci/trident/trident_main.c if (err >= 0) err 894 sound/pci/trident/trident_main.c err = snd_trident_allocate_evoice(substream, hw_params); err 895 sound/pci/trident/trident_main.c return err; err 1139 sound/pci/trident/trident_main.c int err; err 1141 sound/pci/trident/trident_main.c if ((err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params))) < 0) err 1142 sound/pci/trident/trident_main.c return err; err 1338 sound/pci/trident/trident_main.c int err; err 1340 sound/pci/trident/trident_main.c err = snd_trident_allocate_pcm_mem(substream, hw_params); err 1341 sound/pci/trident/trident_main.c if (err < 0) err 1342 sound/pci/trident/trident_main.c return err; err 1345 sound/pci/trident/trident_main.c err = snd_trident_allocate_evoice(substream, hw_params); err 1346 sound/pci/trident/trident_main.c if (err < 0) err 1347 sound/pci/trident/trident_main.c return err; err 2172 sound/pci/trident/trident_main.c int err; err 2176 sound/pci/trident/trident_main.c if ((err = snd_pcm_new(trident->card, "trident_dx_nx", device, trident->ChanPCM, 1, &pcm)) < 0) err 2177 sound/pci/trident/trident_main.c return err; err 2230 sound/pci/trident/trident_main.c int err; err 2238 sound/pci/trident/trident_main.c if ((err = snd_pcm_new(trident->card, "trident_dx_nx", device, 0, num_chan, &foldback)) < 0) err 2239 sound/pci/trident/trident_main.c return err; err 2287 sound/pci/trident/trident_main.c int err; err 2291 sound/pci/trident/trident_main.c if ((err = snd_pcm_new(trident->card, "trident_dx_nx IEC958", device, 1, 0, &spdif)) < 0) err 2292 sound/pci/trident/trident_main.c return err; err 2975 sound/pci/trident/trident_main.c int idx, err, retries = 2; err 2985 sound/pci/trident/trident_main.c if ((err = snd_ac97_bus(trident->card, 0, &ops, NULL, &trident->ac97_bus)) < 0) err 2993 sound/pci/trident/trident_main.c if ((err = snd_ac97_mixer(trident->ac97_bus, &_ac97, &trident->ac97)) < 0) { err 2995 sound/pci/trident/trident_main.c if ((err = snd_trident_sis_reset(trident)) < 0) err 2999 sound/pci/trident/trident_main.c err = -EIO; err 3008 sound/pci/trident/trident_main.c err = snd_ac97_mixer(trident->ac97_bus, &_ac97, &trident->ac97_sec); err 3009 sound/pci/trident/trident_main.c if (err < 0) err 3014 sound/pci/trident/trident_main.c err = snd_ac97_modem(trident->card, &_ac97, &mc97); err 3015 sound/pci/trident/trident_main.c if (err < 0) err 3016 sound/pci/trident/trident_main.c snd_printk(KERN_ERR "snd_ac97_modem returned error %i\n", err); err 3024 sound/pci/trident/trident_main.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_trident_vol_wave_control, trident))) < 0) err 3027 sound/pci/trident/trident_main.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_trident_vol_music_control, trident))) < 0) err 3043 sound/pci/trident/trident_main.c if ((err = snd_ctl_add(card, trident->ctl_vol))) err 3048 sound/pci/trident/trident_main.c if ((err = snd_ctl_add(card, trident->ctl_pan))) err 3053 sound/pci/trident/trident_main.c if ((err = snd_ctl_add(card, trident->ctl_rvol))) err 3058 sound/pci/trident/trident_main.c if ((err = snd_ctl_add(card, trident->ctl_cvol))) err 3062 sound/pci/trident/trident_main.c if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_trident_ac97_rear_control, trident))) < 0) err 3070 sound/pci/trident/trident_main.c err = -ENOMEM; err 3078 sound/pci/trident/trident_main.c if ((err = snd_ctl_add(card, kctl)) < 0) err 3084 sound/pci/trident/trident_main.c err = -ENOMEM; err 3089 sound/pci/trident/trident_main.c if ((err = snd_ctl_add(card, kctl)) < 0) err 3094 sound/pci/trident/trident_main.c err = -ENOMEM; err 3099 sound/pci/trident/trident_main.c if ((err = snd_ctl_add(card, kctl)) < 0) err 3104 sound/pci/trident/trident_main.c err = -ENOMEM; err 3109 sound/pci/trident/trident_main.c if ((err = snd_ctl_add(card, kctl)) < 0) err 3114 sound/pci/trident/trident_main.c err = 0; err 3118 sound/pci/trident/trident_main.c err = -ENOMEM; err 3123 sound/pci/trident/trident_main.c return err; err 3507 sound/pci/trident/trident_main.c int err; err 3509 sound/pci/trident/trident_main.c if ((err = snd_trident_sis_reset(trident)) < 0) err 3510 sound/pci/trident/trident_main.c return err; err 3544 sound/pci/trident/trident_main.c int i, err; err 3554 sound/pci/trident/trident_main.c if ((err = pci_enable_device(pci)) < 0) err 3555 sound/pci/trident/trident_main.c return err; err 3588 sound/pci/trident/trident_main.c if ((err = pci_request_regions(pci, "Trident Audio")) < 0) { err 3591 sound/pci/trident/trident_main.c return err; err 3607 sound/pci/trident/trident_main.c if ((err = snd_trident_tlb_alloc(trident)) < 0) { err 3609 sound/pci/trident/trident_main.c return err; err 3618 sound/pci/trident/trident_main.c err = snd_trident_4d_dx_init(trident); err 3621 sound/pci/trident/trident_main.c err = snd_trident_4d_nx_init(trident); err 3624 sound/pci/trident/trident_main.c err = snd_trident_sis_init(trident); err 3630 sound/pci/trident/trident_main.c if (err < 0) { err 3632 sound/pci/trident/trident_main.c return err; err 3635 sound/pci/trident/trident_main.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, trident, &ops)) < 0) { err 3637 sound/pci/trident/trident_main.c return err; err 3640 sound/pci/trident/trident_main.c if ((err = snd_trident_mixer(trident, pcm_spdif_device)) < 0) err 3641 sound/pci/trident/trident_main.c return err; err 546 sound/pci/via82xx.c int err; err 547 sound/pci/via82xx.c err = snd_via82xx_codec_ready(chip, ac97->num); err 917 sound/pci/via82xx.c int err; err 919 sound/pci/via82xx.c err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params)); err 920 sound/pci/via82xx.c if (err < 0) err 921 sound/pci/via82xx.c return err; err 922 sound/pci/via82xx.c err = build_via_table(viadev, substream, chip->pci, err 925 sound/pci/via82xx.c if (err < 0) err 926 sound/pci/via82xx.c return err; err 1165 sound/pci/via82xx.c int err; err 1201 sound/pci/via82xx.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) err 1202 sound/pci/via82xx.c return err; err 1218 sound/pci/via82xx.c int err; err 1220 sound/pci/via82xx.c if ((err = snd_via82xx_pcm_open(chip, viadev, substream)) < 0) err 1221 sound/pci/via82xx.c return err; err 1232 sound/pci/via82xx.c int err; err 1245 sound/pci/via82xx.c if ((err = snd_via82xx_pcm_open(chip, viadev, substream)) < 0) err 1246 sound/pci/via82xx.c return err; err 1380 sound/pci/via82xx.c int i, err; err 1389 sound/pci/via82xx.c err = snd_pcm_new(chip->card, chip->card->shortname, 0, 4, 1, &pcm); err 1390 sound/pci/via82xx.c if (err < 0) err 1391 sound/pci/via82xx.c return err; err 1408 sound/pci/via82xx.c err = snd_pcm_new(chip->card, chip->card->shortname, 1, 1, 1, &pcm); err 1409 sound/pci/via82xx.c if (err < 0) err 1410 sound/pci/via82xx.c return err; err 1433 sound/pci/via82xx.c int err; err 1442 sound/pci/via82xx.c err = snd_pcm_new(chip->card, chip->card->shortname, 0, 1, 1, &pcm); err 1443 sound/pci/via82xx.c if (err < 0) err 1444 sound/pci/via82xx.c return err; err 1464 sound/pci/via82xx.c err = snd_pcm_new(chip->card, chip->card->shortname, 1, 1, 0, &pcm); err 1465 sound/pci/via82xx.c if (err < 0) err 1466 sound/pci/via82xx.c return err; err 1486 sound/pci/via82xx.c int err; err 1493 sound/pci/via82xx.c err = snd_pcm_new(chip->card, chip->card->shortname, 0, 1, 1, &pcm); err 1494 sound/pci/via82xx.c if (err < 0) err 1495 sound/pci/via82xx.c return err; err 1807 sound/pci/via82xx.c int err; err 1814 sound/pci/via82xx.c if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &chip->ac97_bus)) < 0) err 1815 sound/pci/via82xx.c return err; err 1824 sound/pci/via82xx.c if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97)) < 0) err 1825 sound/pci/via82xx.c return err; err 1901 sound/pci/via82xx.c int i, err, caps; err 1907 sound/pci/via82xx.c err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_via8233_capture_source, chip)); err 1908 sound/pci/via82xx.c if (err < 0) err 1909 sound/pci/via82xx.c return err; err 1912 sound/pci/via82xx.c err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_via8233_dxs3_spdif_control, chip)); err 1913 sound/pci/via82xx.c if (err < 0) err 1914 sound/pci/via82xx.c return err; err 1926 sound/pci/via82xx.c err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_via8233_pcmdxs_volume_control, chip)); err 1927 sound/pci/via82xx.c if (err < 0) err 1928 sound/pci/via82xx.c return err; err 1933 sound/pci/via82xx.c err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_via8233_dxs_volume_control, chip)); err 1934 sound/pci/via82xx.c if (err < 0) err 1935 sound/pci/via82xx.c return err; err 2270 sound/pci/via82xx.c int err; err 2275 sound/pci/via82xx.c if ((err = pci_enable_device(pci)) < 0) err 2276 sound/pci/via82xx.c return err; err 2298 sound/pci/via82xx.c if ((err = pci_request_regions(pci, card->driver)) < 0) { err 2301 sound/pci/via82xx.c return err; err 2318 sound/pci/via82xx.c if ((err = snd_via82xx_chip_init(chip)) < 0) { err 2320 sound/pci/via82xx.c return err; err 2323 sound/pci/via82xx.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 2325 sound/pci/via82xx.c return err; err 2434 sound/pci/via82xx.c int err; err 2477 sound/pci/via82xx.c err = -EINVAL; err 2481 sound/pci/via82xx.c if ((err = snd_via82xx_create(card, pci, chip_type, pci->revision, err 2485 sound/pci/via82xx.c if ((err = snd_via82xx_mixer_new(chip, ac97_quirk)) < 0) err 2489 sound/pci/via82xx.c if ((err = snd_via686_pcm_new(chip)) < 0 || err 2490 sound/pci/via82xx.c (err = snd_via686_init_misc(chip)) < 0) err 2494 sound/pci/via82xx.c if ((err = snd_via8233a_pcm_new(chip)) < 0) err 2498 sound/pci/via82xx.c if ((err = snd_via8233_pcm_new(chip)) < 0) err 2509 sound/pci/via82xx.c if ((err = snd_via8233_init_misc(chip)) < 0) err 2523 sound/pci/via82xx.c if ((err = snd_card_register(card)) < 0) { err 2525 sound/pci/via82xx.c return err; err 2532 sound/pci/via82xx.c return err; err 407 sound/pci/via82xx_modem.c int err; err 408 sound/pci/via82xx_modem.c err = snd_via82xx_codec_ready(chip, ac97->num); err 647 sound/pci/via82xx_modem.c int err; err 649 sound/pci/via82xx_modem.c err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params)); err 650 sound/pci/via82xx_modem.c if (err < 0) err 651 sound/pci/via82xx_modem.c return err; err 652 sound/pci/via82xx_modem.c err = build_via_table(viadev, substream, chip->pci, err 655 sound/pci/via82xx_modem.c if (err < 0) err 656 sound/pci/via82xx_modem.c return err; err 738 sound/pci/via82xx_modem.c int err; err 748 sound/pci/via82xx_modem.c if ((err = snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, err 750 sound/pci/via82xx_modem.c return err; err 754 sound/pci/via82xx_modem.c if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) err 755 sound/pci/via82xx_modem.c return err; err 839 sound/pci/via82xx_modem.c int err; err 846 sound/pci/via82xx_modem.c err = snd_pcm_new(chip->card, chip->card->shortname, 0, 1, 1, &pcm); err 847 sound/pci/via82xx_modem.c if (err < 0) err 848 sound/pci/via82xx_modem.c return err; err 858 sound/pci/via82xx_modem.c if ((err = snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV_SG, err 861 sound/pci/via82xx_modem.c return err; err 888 sound/pci/via82xx_modem.c int err; err 895 sound/pci/via82xx_modem.c if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &chip->ac97_bus)) < 0) err 896 sound/pci/via82xx_modem.c return err; err 907 sound/pci/via82xx_modem.c if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97)) < 0) err 908 sound/pci/via82xx_modem.c return err; err 1104 sound/pci/via82xx_modem.c int err; err 1109 sound/pci/via82xx_modem.c if ((err = pci_enable_device(pci)) < 0) err 1110 sound/pci/via82xx_modem.c return err; err 1122 sound/pci/via82xx_modem.c if ((err = pci_request_regions(pci, card->driver)) < 0) { err 1125 sound/pci/via82xx_modem.c return err; err 1139 sound/pci/via82xx_modem.c if ((err = snd_via82xx_chip_init(chip)) < 0) { err 1141 sound/pci/via82xx_modem.c return err; err 1144 sound/pci/via82xx_modem.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 1146 sound/pci/via82xx_modem.c return err; err 1168 sound/pci/via82xx_modem.c int err; err 1182 sound/pci/via82xx_modem.c err = -EINVAL; err 1186 sound/pci/via82xx_modem.c if ((err = snd_via82xx_create(card, pci, chip_type, pci->revision, err 1190 sound/pci/via82xx_modem.c if ((err = snd_via82xx_mixer_new(chip)) < 0) err 1193 sound/pci/via82xx_modem.c if ((err = snd_via686_pcm_new(chip)) < 0 ) err 1205 sound/pci/via82xx_modem.c if ((err = snd_card_register(card)) < 0) { err 1207 sound/pci/via82xx_modem.c return err; err 1214 sound/pci/via82xx_modem.c return err; err 143 sound/pci/vx222/vx222.c int i, err; err 150 sound/pci/vx222/vx222.c if ((err = pci_enable_device(pci)) < 0) err 151 sound/pci/vx222/vx222.c return err; err 164 sound/pci/vx222/vx222.c if ((err = pci_request_regions(pci, CARD_NAME)) < 0) { err 166 sound/pci/vx222/vx222.c return err; err 179 sound/pci/vx222/vx222.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 181 sound/pci/vx222/vx222.c return err; err 198 sound/pci/vx222/vx222.c int err; err 223 sound/pci/vx222/vx222.c if ((err = snd_vx222_create(card, pci, hw, &vx)) < 0) { err 225 sound/pci/vx222/vx222.c return err; err 239 sound/pci/vx222/vx222.c if ((err = snd_vx_setup_firmware(&vx->core)) < 0) { err 241 sound/pci/vx222/vx222.c return err; err 244 sound/pci/vx222/vx222.c if ((err = snd_card_register(card)) < 0) { err 246 sound/pci/vx222/vx222.c return err; err 265 sound/pci/vx222/vx222.c int err; err 267 sound/pci/vx222/vx222.c err = snd_vx_suspend(&vx->core, state); err 271 sound/pci/vx222/vx222.c return err; err 409 sound/pci/vx222/vx222_ops.c int err; err 414 sound/pci/vx222/vx222_ops.c if ((err = vx2_load_xilinx_binary(vx, dsp)) < 0) err 415 sound/pci/vx222/vx222_ops.c return err; err 416 sound/pci/vx222/vx222_ops.c if ((err = vx2_test_xilinx(vx)) < 0) err 417 sound/pci/vx222/vx222_ops.c return err; err 967 sound/pci/vx222/vx222_ops.c int err; err 978 sound/pci/vx222/vx222_ops.c if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_input_level, chip))) < 0) err 979 sound/pci/vx222/vx222_ops.c return err; err 980 sound/pci/vx222/vx222_ops.c if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_level, chip))) < 0) err 981 sound/pci/vx222/vx222_ops.c return err; err 180 sound/pci/ymfpci/ymfpci.c int err; err 263 sound/pci/ymfpci/ymfpci.c if ((err = snd_ymfpci_create(card, pci, err 269 sound/pci/ymfpci/ymfpci.c return err; err 281 sound/pci/ymfpci/ymfpci.c if ((err = snd_ymfpci_pcm(chip, 0, NULL)) < 0) { err 283 sound/pci/ymfpci/ymfpci.c return err; err 285 sound/pci/ymfpci/ymfpci.c if ((err = snd_ymfpci_pcm_spdif(chip, 1, NULL)) < 0) { err 287 sound/pci/ymfpci/ymfpci.c return err; err 289 sound/pci/ymfpci/ymfpci.c if ((err = snd_ymfpci_pcm_4ch(chip, 2, NULL)) < 0) { err 291 sound/pci/ymfpci/ymfpci.c return err; err 293 sound/pci/ymfpci/ymfpci.c if ((err = snd_ymfpci_pcm2(chip, 3, NULL)) < 0) { err 295 sound/pci/ymfpci/ymfpci.c return err; err 297 sound/pci/ymfpci/ymfpci.c if ((err = snd_ymfpci_mixer(chip, rear_switch[dev])) < 0) { err 299 sound/pci/ymfpci/ymfpci.c return err; err 301 sound/pci/ymfpci/ymfpci.c if ((err = snd_ymfpci_timer(chip, 0)) < 0) { err 303 sound/pci/ymfpci/ymfpci.c return err; err 306 sound/pci/ymfpci/ymfpci.c if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_YMFPCI, err 316 sound/pci/ymfpci/ymfpci.c if ((err = snd_opl3_create(card, err 323 sound/pci/ymfpci/ymfpci.c } else if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { err 326 sound/pci/ymfpci/ymfpci.c return err; err 332 sound/pci/ymfpci/ymfpci.c if ((err = snd_card_register(card)) < 0) { err 334 sound/pci/ymfpci/ymfpci.c return err; err 457 sound/pci/ymfpci/ymfpci_main.c int err; err 473 sound/pci/ymfpci/ymfpci_main.c err = snd_ymfpci_voice_alloc(ypcm->chip, YMFPCI_PCM, voices > 1, &ypcm->voices[0]); err 474 sound/pci/ymfpci/ymfpci_main.c if (err < 0) err 475 sound/pci/ymfpci/ymfpci_main.c return err; err 631 sound/pci/ymfpci/ymfpci_main.c int err; err 633 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params))) < 0) err 634 sound/pci/ymfpci/ymfpci_main.c return err; err 635 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_ymfpci_pcm_voice_alloc(ypcm, params_channels(hw_params))) < 0) err 636 sound/pci/ymfpci/ymfpci_main.c return err; err 935 sound/pci/ymfpci/ymfpci_main.c int err; err 937 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_ymfpci_playback_open_1(substream)) < 0) err 938 sound/pci/ymfpci/ymfpci_main.c return err; err 957 sound/pci/ymfpci/ymfpci_main.c int err; err 959 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_ymfpci_playback_open_1(substream)) < 0) err 960 sound/pci/ymfpci/ymfpci_main.c return err; err 985 sound/pci/ymfpci/ymfpci_main.c int err; err 987 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_ymfpci_playback_open_1(substream)) < 0) err 988 sound/pci/ymfpci/ymfpci_main.c return err; err 1121 sound/pci/ymfpci/ymfpci_main.c int err; err 1125 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_pcm_new(chip->card, "YMFPCI", device, 32, 1, &pcm)) < 0) err 1126 sound/pci/ymfpci/ymfpci_main.c return err; err 1159 sound/pci/ymfpci/ymfpci_main.c int err; err 1163 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_pcm_new(chip->card, "YMFPCI - PCM2", device, 0, 1, &pcm)) < 0) err 1164 sound/pci/ymfpci/ymfpci_main.c return err; err 1197 sound/pci/ymfpci/ymfpci_main.c int err; err 1201 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_pcm_new(chip->card, "YMFPCI - IEC958", device, 1, 0, &pcm)) < 0) err 1202 sound/pci/ymfpci/ymfpci_main.c return err; err 1234 sound/pci/ymfpci/ymfpci_main.c int err; err 1238 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_pcm_new(chip->card, "YMFPCI - Rear", device, 1, 0, &pcm)) < 0) err 1239 sound/pci/ymfpci/ymfpci_main.c return err; err 1793 sound/pci/ymfpci/ymfpci_main.c int err; err 1799 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &chip->ac97_bus)) < 0) err 1800 sound/pci/ymfpci/ymfpci_main.c return err; err 1807 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97)) < 0) err 1808 sound/pci/ymfpci/ymfpci_main.c return err; err 1815 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_ymfpci_controls[idx], chip))) < 0) err 1816 sound/pci/ymfpci/ymfpci_main.c return err; err 1822 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_ctl_add(chip->card, kctl = snd_ctl_new1(&snd_ymfpci_spdif_default, chip))) < 0) err 1823 sound/pci/ymfpci/ymfpci_main.c return err; err 1825 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_ctl_add(chip->card, kctl = snd_ctl_new1(&snd_ymfpci_spdif_mask, chip))) < 0) err 1826 sound/pci/ymfpci/ymfpci_main.c return err; err 1828 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_ctl_add(chip->card, kctl = snd_ctl_new1(&snd_ymfpci_spdif_stream, chip))) < 0) err 1829 sound/pci/ymfpci/ymfpci_main.c return err; err 1835 sound/pci/ymfpci/ymfpci_main.c (err = snd_ctl_add(chip->card, kctl = snd_ctl_new1(&snd_ymfpci_drec_source, chip))) < 0) err 1836 sound/pci/ymfpci/ymfpci_main.c return err; err 1842 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snd_ymfpci_rear_shared, chip))) < 0) err 1843 sound/pci/ymfpci/ymfpci_main.c return err; err 1855 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_ctl_add(chip->card, kctl)) < 0) err 1856 sound/pci/ymfpci/ymfpci_main.c return err; err 1919 sound/pci/ymfpci/ymfpci_main.c int err; err 1926 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_timer_new(chip->card, "YMFPCI", &tid, &timer)) >= 0) { err 1932 sound/pci/ymfpci/ymfpci_main.c return err; err 2004 sound/pci/ymfpci/ymfpci_main.c int err, is_1e; err 2007 sound/pci/ymfpci/ymfpci_main.c err = request_firmware(&chip->dsp_microcode, "yamaha/ds1_dsp.fw", err 2009 sound/pci/ymfpci/ymfpci_main.c if (err >= 0) { err 2012 sound/pci/ymfpci/ymfpci_main.c err = -EINVAL; err 2015 sound/pci/ymfpci/ymfpci_main.c if (err < 0) err 2016 sound/pci/ymfpci/ymfpci_main.c return err; err 2022 sound/pci/ymfpci/ymfpci_main.c err = request_firmware(&chip->controller_microcode, name, err 2024 sound/pci/ymfpci/ymfpci_main.c if (err >= 0) { err 2028 sound/pci/ymfpci/ymfpci_main.c err = -EINVAL; err 2031 sound/pci/ymfpci/ymfpci_main.c if (err < 0) err 2032 sound/pci/ymfpci/ymfpci_main.c return err; err 2332 sound/pci/ymfpci/ymfpci_main.c int err; err 2340 sound/pci/ymfpci/ymfpci_main.c if ((err = pci_enable_device(pci)) < 0) err 2341 sound/pci/ymfpci/ymfpci_main.c return err; err 2382 sound/pci/ymfpci/ymfpci_main.c err = snd_ymfpci_request_firmware(chip); err 2383 sound/pci/ymfpci/ymfpci_main.c if (err < 0) { err 2384 sound/pci/ymfpci/ymfpci_main.c snd_printk(KERN_ERR "firmware request failed: %d\n", err); err 2386 sound/pci/ymfpci/ymfpci_main.c return err; err 2397 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_ymfpci_ac3_init(chip)) < 0) { err 2399 sound/pci/ymfpci/ymfpci_main.c return err; err 2410 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 2412 sound/pci/ymfpci/ymfpci_main.c return err; err 169 sound/pcmcia/pdaudiocf/pdaudiocf.c int err; err 177 sound/pcmcia/pdaudiocf/pdaudiocf.c err = snd_pdacf_ak4117_create(pdacf); err 178 sound/pcmcia/pdaudiocf/pdaudiocf.c if (err < 0) err 179 sound/pcmcia/pdaudiocf/pdaudiocf.c return err; err 186 sound/pcmcia/pdaudiocf/pdaudiocf.c err = snd_pdacf_pcm_new(pdacf); err 187 sound/pcmcia/pdaudiocf/pdaudiocf.c if (err < 0) err 188 sound/pcmcia/pdaudiocf/pdaudiocf.c return err; err 190 sound/pcmcia/pdaudiocf/pdaudiocf.c if ((err = snd_card_register(card)) < 0) err 191 sound/pcmcia/pdaudiocf/pdaudiocf.c return err; err 186 sound/pcmcia/pdaudiocf/pdaudiocf_core.c int err; err 200 sound/pcmcia/pdaudiocf/pdaudiocf_core.c err = pdacf_reset(chip, 0); err 201 sound/pcmcia/pdaudiocf/pdaudiocf_core.c if (err < 0) err 202 sound/pcmcia/pdaudiocf/pdaudiocf_core.c return err; err 203 sound/pcmcia/pdaudiocf/pdaudiocf_core.c err = snd_ak4117_create(chip->card, pdacf_ak4117_read, pdacf_ak4117_write, pgm, chip, &chip->ak4117); err 204 sound/pcmcia/pdaudiocf/pdaudiocf_core.c if (err < 0) err 205 sound/pcmcia/pdaudiocf/pdaudiocf_core.c return err; err 331 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c int err; err 333 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c err = snd_pcm_new(chip->card, "PDAudioCF", 0, 0, 1, &pcm); err 334 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c if (err < 0) err 335 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c return err; err 344 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c err = snd_ak4117_build(chip->ak4117, pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream); err 345 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c if (err < 0) err 346 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c return err; err 124 sound/pcmcia/vx/vxp_mixer.c int err; err 140 sound/pcmcia/vx/vxp_mixer.c if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_level, chip))) < 0) err 141 sound/pcmcia/vx/vxp_mixer.c return err; err 144 sound/pcmcia/vx/vxp_mixer.c if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_boost, chip))) < 0) err 145 sound/pcmcia/vx/vxp_mixer.c return err; err 248 sound/pcmcia/vx/vxp_ops.c int err; err 253 sound/pcmcia/vx/vxp_ops.c if ((err = vx_check_magic(vx)) < 0) err 254 sound/pcmcia/vx/vxp_ops.c return err; err 255 sound/pcmcia/vx/vxp_ops.c if ((err = snd_vx_load_boot_image(vx, fw)) < 0) err 256 sound/pcmcia/vx/vxp_ops.c return err; err 188 sound/pcmcia/vx/vxpocket.c int err; err 201 sound/pcmcia/vx/vxpocket.c if ((err = snd_vx_setup_firmware(chip)) < 0) err 202 sound/pcmcia/vx/vxpocket.c return err; err 704 sound/ppc/awacs.c int i, err; err 707 sound/ppc/awacs.c err = snd_ctl_add(chip->card, snd_ctl_new1(&mixers[i], chip)); err 708 sound/ppc/awacs.c if (err < 0) err 709 sound/ppc/awacs.c return err; err 864 sound/ppc/awacs.c int err, vol; err 951 sound/ppc/awacs.c err = build_mixers(chip, ARRAY_SIZE(snd_pmac_awacs_mixers), err 953 sound/ppc/awacs.c if (err < 0) err 954 sound/ppc/awacs.c return err; err 958 sound/ppc/awacs.c err = build_mixers(chip, ARRAY_SIZE(snd_pmac_screamer_mixers2), err 961 sound/ppc/awacs.c err = build_mixers(chip, ARRAY_SIZE(snd_pmac_awacs_mixers2), err 963 sound/ppc/awacs.c if (err < 0) err 964 sound/ppc/awacs.c return err; err 966 sound/ppc/awacs.c err = build_mixers(chip, err 970 sound/ppc/awacs.c err = build_mixers(chip, err 974 sound/ppc/awacs.c err = build_mixers(chip, err 978 sound/ppc/awacs.c err = build_mixers(chip, err 982 sound/ppc/awacs.c err = build_mixers(chip, err 985 sound/ppc/awacs.c if (err < 0) err 986 sound/ppc/awacs.c return err; err 990 sound/ppc/awacs.c err = snd_ctl_add(chip->card, chip->master_sw_ctl); err 991 sound/ppc/awacs.c if (err < 0) err 992 sound/ppc/awacs.c return err; err 1001 sound/ppc/awacs.c err = build_mixers(chip, ARRAY_SIZE(snd_pmac_awacs_amp_vol), err 1003 sound/ppc/awacs.c if (err < 0) err 1004 sound/ppc/awacs.c return err; err 1008 sound/ppc/awacs.c err = snd_ctl_add(chip->card, chip->master_sw_ctl); err 1009 sound/ppc/awacs.c if (err < 0) err 1010 sound/ppc/awacs.c return err; err 1013 sound/ppc/awacs.c err = snd_ctl_add(chip->card, chip->speaker_sw_ctl); err 1014 sound/ppc/awacs.c if (err < 0) err 1015 sound/ppc/awacs.c return err; err 1020 sound/ppc/awacs.c err = build_mixers(chip, ARRAY_SIZE(snd_pmac_awacs_speaker_vol), err 1022 sound/ppc/awacs.c if (err < 0) err 1023 sound/ppc/awacs.c return err; err 1029 sound/ppc/awacs.c err = snd_ctl_add(chip->card, chip->speaker_sw_ctl); err 1030 sound/ppc/awacs.c if (err < 0) err 1031 sound/ppc/awacs.c return err; err 1035 sound/ppc/awacs.c err = build_mixers(chip, err 1039 sound/ppc/awacs.c err = build_mixers(chip, err 1043 sound/ppc/awacs.c err = build_mixers(chip, err 1047 sound/ppc/awacs.c err = build_mixers(chip, err 1051 sound/ppc/awacs.c err = build_mixers(chip, ARRAY_SIZE(snd_pmac_awacs_mic_boost), err 1053 sound/ppc/awacs.c if (err < 0) err 1054 sound/ppc/awacs.c return err; err 1065 sound/ppc/awacs.c err = snd_pmac_add_automute(chip); err 1066 sound/ppc/awacs.c if (err < 0) err 1067 sound/ppc/awacs.c return err; err 224 sound/ppc/beep.c int err = -ENOMEM; err 255 sound/ppc/beep.c err = snd_ctl_add(chip->card, beep_ctl); err 256 sound/ppc/beep.c if (err < 0) err 261 sound/ppc/beep.c err = input_register_device(beep->dev); err 262 sound/ppc/beep.c if (err) err 273 sound/ppc/beep.c return err; err 624 sound/ppc/burgundy.c int i, err; err 684 sound/ppc/burgundy.c err = snd_ctl_add(chip->card, err 686 sound/ppc/burgundy.c if (err < 0) err 687 sound/ppc/burgundy.c return err; err 691 sound/ppc/burgundy.c err = snd_ctl_add(chip->card, err 694 sound/ppc/burgundy.c if (err < 0) err 695 sound/ppc/burgundy.c return err; err 700 sound/ppc/burgundy.c err = snd_ctl_add(chip->card, chip->master_sw_ctl); err 701 sound/ppc/burgundy.c if (err < 0) err 702 sound/ppc/burgundy.c return err; err 706 sound/ppc/burgundy.c err = snd_ctl_add(chip->card, chip->master_sw_ctl); err 707 sound/ppc/burgundy.c if (err < 0) err 708 sound/ppc/burgundy.c return err; err 712 sound/ppc/burgundy.c err = snd_ctl_add(chip->card, chip->master_sw_ctl); err 713 sound/ppc/burgundy.c if (err < 0) err 714 sound/ppc/burgundy.c return err; err 719 sound/ppc/burgundy.c err = snd_ctl_add(chip->card, chip->speaker_sw_ctl); err 720 sound/ppc/burgundy.c if (err < 0) err 721 sound/ppc/burgundy.c return err; err 723 sound/ppc/burgundy.c err = snd_pmac_add_automute(chip); err 724 sound/ppc/burgundy.c if (err < 0) err 725 sound/ppc/burgundy.c return err; err 249 sound/ppc/daca.c int i, err; err 264 sound/ppc/daca.c if ((err = snd_pmac_keywest_init(&mix->i2c)) < 0) err 265 sound/ppc/daca.c return err; err 273 sound/ppc/daca.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&daca_mixers[i], chip))) < 0) err 274 sound/ppc/daca.c return err; err 54 sound/ppc/keywest.c int err; err 79 sound/ppc/keywest.c err = -ENODEV; err 88 sound/ppc/keywest.c return err; err 114 sound/ppc/keywest.c int err; err 119 sound/ppc/keywest.c if ((err = keywest_ctx->init_client(keywest_ctx)) < 0) { err 120 sound/ppc/keywest.c snd_printk(KERN_ERR "tumbler: %i :cannot initialize the MCS\n", err); err 121 sound/ppc/keywest.c return err; err 129 sound/ppc/keywest.c int err; err 136 sound/ppc/keywest.c if ((err = i2c_add_driver(&keywest_driver))) { err 138 sound/ppc/keywest.c return err; err 708 sound/ppc/pmac.c int err; err 713 sound/ppc/pmac.c err = snd_pcm_new(chip->card, chip->card->driver, 0, 1, num_captures, &pcm); err 714 sound/ppc/pmac.c if (err < 0) err 715 sound/ppc/pmac.c return err; err 816 sound/ppc/pmac.c int err = (in_le32(&chip->awacs->codec_stat) & MASK_ERRCODE) >> 16; err 817 sound/ppc/pmac.c if (err && chip->model <= PMAC_SCREAMER) err 818 sound/ppc/pmac.c snd_printk(KERN_DEBUG "error %x\n", err); err 1162 sound/ppc/pmac.c int err; err 1164 sound/ppc/pmac.c err = snd_ctl_add(chip->card, snd_ctl_new1(&auto_mute_controls[0], chip)); err 1165 sound/ppc/pmac.c if (err < 0) { err 1167 sound/ppc/pmac.c return err; err 1181 sound/ppc/pmac.c int i, err; err 1201 sound/ppc/pmac.c if ((err = snd_pmac_detect(chip)) < 0) err 1208 sound/ppc/pmac.c err = -ENOMEM; err 1222 sound/ppc/pmac.c err = -ENODEV; err 1234 sound/ppc/pmac.c err = -ENODEV; err 1250 sound/ppc/pmac.c err = -ENODEV; err 1262 sound/ppc/pmac.c err = -ENODEV; err 1281 sound/ppc/pmac.c err = -EBUSY; err 1289 sound/ppc/pmac.c err = -EBUSY; err 1296 sound/ppc/pmac.c err = -EBUSY; err 1346 sound/ppc/pmac.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) err 1354 sound/ppc/pmac.c return err; err 59 sound/ppc/powermac.c int err; err 65 sound/ppc/powermac.c if ((err = snd_pmac_new(card, &chip)) < 0) err 75 sound/ppc/powermac.c if ((err = snd_pmac_burgundy_init(chip)) < 0) err 83 sound/ppc/powermac.c if ((err = snd_pmac_daca_init(chip)) < 0) err 109 sound/ppc/powermac.c if ((err = snd_pmac_awacs_init(chip)) < 0) err 114 sound/ppc/powermac.c err = -EINVAL; err 118 sound/ppc/powermac.c if ((err = snd_pmac_pcm_new(chip)) < 0) err 127 sound/ppc/powermac.c if ((err = snd_card_register(card)) < 0) err 135 sound/ppc/powermac.c return err; err 178 sound/ppc/powermac.c int err; err 180 sound/ppc/powermac.c if ((err = platform_driver_register(&snd_pmac_driver)) < 0) err 181 sound/ppc/powermac.c return err; err 122 sound/ppc/tumbler.c int err, count = 10; err 124 sound/ppc/tumbler.c err = i2c_smbus_write_byte_data(i2c->client, err 126 sound/ppc/tumbler.c if (err >= 0) err 128 sound/ppc/tumbler.c DBG("(W) i2c error %d\n", err); err 131 sound/ppc/tumbler.c if (err < 0) err 1342 sound/ppc/tumbler.c int i, err; err 1369 sound/ppc/tumbler.c if ((err = tumbler_init(chip)) < 0) err 1370 sound/ppc/tumbler.c return err; err 1400 sound/ppc/tumbler.c if ((err = snd_pmac_keywest_init(&mix->i2c)) < 0) err 1401 sound/ppc/tumbler.c return err; err 1410 sound/ppc/tumbler.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&tumbler_mixers[i], chip))) < 0) err 1411 sound/ppc/tumbler.c return err; err 1415 sound/ppc/tumbler.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&snapper_mixers[i], chip))) < 0) err 1416 sound/ppc/tumbler.c return err; err 1420 sound/ppc/tumbler.c if ((err = snd_ctl_add(chip->card, chip->master_sw_ctl)) < 0) err 1421 sound/ppc/tumbler.c return err; err 1423 sound/ppc/tumbler.c if ((err = snd_ctl_add(chip->card, chip->speaker_sw_ctl)) < 0) err 1424 sound/ppc/tumbler.c return err; err 1427 sound/ppc/tumbler.c if ((err = snd_ctl_add(chip->card, chip->lineout_sw_ctl)) < 0) err 1428 sound/ppc/tumbler.c return err; err 1431 sound/ppc/tumbler.c if ((err = snd_ctl_add(chip->card, chip->drc_sw_ctl)) < 0) err 1432 sound/ppc/tumbler.c return err; err 1455 sound/ppc/tumbler.c && (err = snd_pmac_add_automute(chip)) < 0) err 1456 sound/ppc/tumbler.c return err; err 1464 sound/ppc/tumbler.c if ((err = request_irq(mix->headphone_irq, headphone_intr, 0, err 1473 sound/ppc/tumbler.c if ((err = request_irq(mix->lineout_irq, headphone_intr, 0, err 236 sound/sh/aica.c int q, err, period_offset; err 240 sound/sh/aica.c err = 0; err 247 sound/sh/aica.c err = dma_xfer(AICA_DMA_CHANNEL, err 256 sound/sh/aica.c if (unlikely(err < 0)) { err 263 sound/sh/aica.c return err; err 459 sound/sh/aica.c int err; err 461 sound/sh/aica.c err = err 464 sound/sh/aica.c if (unlikely(err < 0)) err 465 sound/sh/aica.c return err; err 471 sound/sh/aica.c err = err 478 sound/sh/aica.c return err; err 562 sound/sh/aica.c int err; err 565 sound/sh/aica.c err = request_firmware(&fw_entry, "aica_firmware.bin", &pd->dev); err 566 sound/sh/aica.c if (unlikely(err)) err 567 sound/sh/aica.c return err; err 573 sound/sh/aica.c return err; err 579 sound/sh/aica.c int err; err 580 sound/sh/aica.c err = snd_ctl_add err 583 sound/sh/aica.c if (unlikely(err < 0)) err 584 sound/sh/aica.c return err; err 585 sound/sh/aica.c err = snd_ctl_add err 588 sound/sh/aica.c if (unlikely(err < 0)) err 589 sound/sh/aica.c return err; err 607 sound/sh/aica.c int err; err 625 sound/sh/aica.c err = snd_aicapcmchip(dreamcastcard, 0); err 626 sound/sh/aica.c if (unlikely(err < 0)) err 632 sound/sh/aica.c err = add_aicamixer_controls(dreamcastcard); err 633 sound/sh/aica.c if (unlikely(err < 0)) err 636 sound/sh/aica.c err = snd_card_register(dreamcastcard->card); err 637 sound/sh/aica.c if (unlikely(err < 0)) err 649 sound/sh/aica.c return err; err 661 sound/sh/aica.c int err; err 662 sound/sh/aica.c err = platform_driver_register(&snd_aica_driver); err 663 sound/sh/aica.c if (unlikely(err < 0)) err 664 sound/sh/aica.c return err; err 135 sound/soc/blackfin/bf5xx-ad73311.c int err; err 143 sound/soc/blackfin/bf5xx-ad73311.c err = snd_ad73311_configure(); err 144 sound/soc/blackfin/bf5xx-ad73311.c if (err < 0) err 104 sound/soc/codecs/ac97.c goto err; err 124 sound/soc/codecs/ac97.c err: err 96 sound/soc/codecs/ad1980.c int err, i; err 99 sound/soc/codecs/ad1980.c err = snd_ctl_add(codec->card, snd_soc_cnew( err 101 sound/soc/codecs/ad1980.c if (err < 0) err 102 sound/soc/codecs/ad1980.c return err; err 178 sound/soc/codecs/ad1980.c goto err; err 181 sound/soc/codecs/ad1980.c err: err 161 sound/soc/codecs/ak4535.c int err, i; err 164 sound/soc/codecs/ak4535.c err = snd_ctl_add(codec->card, err 166 sound/soc/codecs/ak4535.c if (err < 0) err 167 sound/soc/codecs/ak4535.c return err; err 157 sound/soc/codecs/ssm2602.c int err, i; err 160 sound/soc/codecs/ssm2602.c err = snd_ctl_add(codec->card, err 162 sound/soc/codecs/ssm2602.c if (err < 0) err 163 sound/soc/codecs/ssm2602.c return err; err 196 sound/soc/codecs/tlv320aic23.c int err, i; err 199 sound/soc/codecs/tlv320aic23.c err = snd_ctl_add(codec->card, err 202 sound/soc/codecs/tlv320aic23.c if (err < 0) err 203 sound/soc/codecs/tlv320aic23.c return err; err 625 sound/soc/codecs/tlv320aic23.c goto err; err 629 sound/soc/codecs/tlv320aic23.c err: err 328 sound/soc/codecs/tlv320aic26.c int i, ret, err; err 357 sound/soc/codecs/tlv320aic26.c err = snd_ctl_add(codec->card, kcontrol); err 358 sound/soc/codecs/tlv320aic26.c WARN_ON(err < 0); err 305 sound/soc/codecs/tlv320aic3x.c int err, i; err 308 sound/soc/codecs/tlv320aic3x.c err = snd_ctl_add(codec->card, err 311 sound/soc/codecs/tlv320aic3x.c if (err < 0) err 312 sound/soc/codecs/tlv320aic3x.c return err; err 277 sound/soc/codecs/uda1380.c int err, i; err 280 sound/soc/codecs/uda1380.c err = snd_ctl_add(codec->card, err 282 sound/soc/codecs/uda1380.c if (err < 0) err 283 sound/soc/codecs/uda1380.c return err; err 177 sound/soc/codecs/wm8510.c int err, i; err 180 sound/soc/codecs/wm8510.c err = snd_ctl_add(codec->card, err 183 sound/soc/codecs/wm8510.c if (err < 0) err 184 sound/soc/codecs/wm8510.c return err; err 336 sound/soc/codecs/wm8580.c int err, i; err 339 sound/soc/codecs/wm8580.c err = snd_ctl_add(codec->card, err 342 sound/soc/codecs/wm8580.c if (err < 0) err 343 sound/soc/codecs/wm8580.c return err; err 936 sound/soc/codecs/wm8580.c goto err; err 942 sound/soc/codecs/wm8580.c goto err; err 947 sound/soc/codecs/wm8580.c err: err 135 sound/soc/codecs/wm8731.c int err, i; err 138 sound/soc/codecs/wm8731.c err = snd_ctl_add(codec->card, err 141 sound/soc/codecs/wm8731.c if (err < 0) err 142 sound/soc/codecs/wm8731.c return err; err 237 sound/soc/codecs/wm8750.c int err, i; err 240 sound/soc/codecs/wm8750.c err = snd_ctl_add(codec->card, err 243 sound/soc/codecs/wm8750.c if (err < 0) err 244 sound/soc/codecs/wm8750.c return err; err 345 sound/soc/codecs/wm8753.c int err, i; err 348 sound/soc/codecs/wm8753.c err = snd_ctl_add(codec->card, err 351 sound/soc/codecs/wm8753.c if (err < 0) err 352 sound/soc/codecs/wm8753.c return err; err 519 sound/soc/codecs/wm8900.c int err, i; err 522 sound/soc/codecs/wm8900.c err = snd_ctl_add(codec->card, err 525 sound/soc/codecs/wm8900.c if (err < 0) err 526 sound/soc/codecs/wm8900.c return err; err 1428 sound/soc/codecs/wm8900.c goto err; err 1434 sound/soc/codecs/wm8900.c goto err; err 1438 sound/soc/codecs/wm8900.c err: err 741 sound/soc/codecs/wm8903.c int err, i; err 744 sound/soc/codecs/wm8903.c err = snd_ctl_add(codec->card, err 747 sound/soc/codecs/wm8903.c if (err < 0) err 748 sound/soc/codecs/wm8903.c return err; err 201 sound/soc/codecs/wm8971.c int err, i; err 204 sound/soc/codecs/wm8971.c err = snd_ctl_add(codec->card, err 207 sound/soc/codecs/wm8971.c if (err < 0) err 208 sound/soc/codecs/wm8971.c return err; err 423 sound/soc/codecs/wm8990.c int err, i; err 426 sound/soc/codecs/wm8990.c err = snd_ctl_add(codec->card, err 429 sound/soc/codecs/wm8990.c if (err < 0) err 430 sound/soc/codecs/wm8990.c return err; err 160 sound/soc/codecs/wm9712.c int err, i; err 163 sound/soc/codecs/wm9712.c err = snd_ctl_add(codec->card, err 166 sound/soc/codecs/wm9712.c if (err < 0) err 167 sound/soc/codecs/wm9712.c return err; err 596 sound/soc/codecs/wm9712.c goto err; err 599 sound/soc/codecs/wm9712.c err: err 196 sound/soc/codecs/wm9713.c int err, i; err 199 sound/soc/codecs/wm9713.c err = snd_ctl_add(codec->card, err 202 sound/soc/codecs/wm9713.c if (err < 0) err 203 sound/soc/codecs/wm9713.c return err; err 91 sound/soc/omap/n810.c int err; err 94 sound/soc/omap/n810.c err = snd_soc_dai_set_fmt(codec_dai, err 98 sound/soc/omap/n810.c if (err < 0) err 99 sound/soc/omap/n810.c return err; err 102 sound/soc/omap/n810.c err = snd_soc_dai_set_fmt(cpu_dai, err 106 sound/soc/omap/n810.c if (err < 0) err 107 sound/soc/omap/n810.c return err; err 110 sound/soc/omap/n810.c err = snd_soc_dai_set_sysclk(codec_dai, 0, 12000000, err 113 sound/soc/omap/n810.c return err; err 247 sound/soc/omap/n810.c int i, err; err 256 sound/soc/omap/n810.c err = snd_ctl_add(codec->card, err 258 sound/soc/omap/n810.c if (err < 0) err 259 sound/soc/omap/n810.c return err; err 311 sound/soc/omap/n810.c int err; err 324 sound/soc/omap/n810.c err = platform_device_add(n810_snd_device); err 325 sound/soc/omap/n810.c if (err) err 333 sound/soc/omap/n810.c err = PTR_ERR(sys_clkout2_src); err 339 sound/soc/omap/n810.c err = PTR_ERR(sys_clkout2); err 349 sound/soc/omap/n810.c err = PTR_ERR(func96m_clk); err 372 sound/soc/omap/n810.c return err; err 147 sound/soc/omap/omap-mcbsp.c int err = 0; err 150 sound/soc/omap/omap-mcbsp.c err = omap_mcbsp_request(mcbsp_data->bus_id); err 152 sound/soc/omap/omap-mcbsp.c return err; err 172 sound/soc/omap/omap-mcbsp.c int err = 0; err 189 sound/soc/omap/omap-mcbsp.c err = -EINVAL; err 192 sound/soc/omap/omap-mcbsp.c return err; err 417 sound/soc/omap/omap-mcbsp.c int err = 0; err 425 sound/soc/omap/omap-mcbsp.c err = omap_mcbsp_dai_set_clks_src(mcbsp_data, clk_id); err 434 sound/soc/omap/omap-mcbsp.c err = -ENODEV; err 437 sound/soc/omap/omap-mcbsp.c return err; err 87 sound/soc/omap/omap-pcm.c int err = 0; err 98 sound/soc/omap/omap-pcm.c err = omap_request_dma(dma_data->dma_req, dma_data->name, err 100 sound/soc/omap/omap-pcm.c if (!err & !cpu_is_omap1510()) { err 108 sound/soc/omap/omap-pcm.c return err; err 60 sound/soc/omap/osk5912.c int err; err 63 sound/soc/omap/osk5912.c err = snd_soc_dai_set_fmt(codec_dai, err 67 sound/soc/omap/osk5912.c if (err < 0) { err 69 sound/soc/omap/osk5912.c return err; err 73 sound/soc/omap/osk5912.c err = snd_soc_dai_set_fmt(cpu_dai, err 77 sound/soc/omap/osk5912.c if (err < 0) { err 79 sound/soc/omap/osk5912.c return err; err 83 sound/soc/omap/osk5912.c err = err 86 sound/soc/omap/osk5912.c if (err < 0) { err 88 sound/soc/omap/osk5912.c return err; err 91 sound/soc/omap/osk5912.c return err; err 163 sound/soc/omap/osk5912.c int err; err 177 sound/soc/omap/osk5912.c err = platform_device_add(osk_snd_device); err 178 sound/soc/omap/osk5912.c if (err) err 203 sound/soc/omap/osk5912.c err = -ECANCELED; err 218 sound/soc/omap/osk5912.c return err; err 282 sound/soc/pxa/corgi.c int i, err; err 289 sound/soc/pxa/corgi.c err = snd_ctl_add(codec->card, err 291 sound/soc/pxa/corgi.c if (err < 0) err 292 sound/soc/pxa/corgi.c return err; err 243 sound/soc/pxa/poodle.c int i, err; err 251 sound/soc/pxa/poodle.c err = snd_ctl_add(codec->card, err 253 sound/soc/pxa/poodle.c if (err < 0) err 254 sound/soc/pxa/poodle.c return err; err 281 sound/soc/pxa/spitz.c int i, err; err 294 sound/soc/pxa/spitz.c err = snd_ctl_add(codec->card, err 296 sound/soc/pxa/spitz.c if (err < 0) err 297 sound/soc/pxa/spitz.c return err; err 191 sound/soc/pxa/tosa.c int i, err; err 198 sound/soc/pxa/tosa.c err = snd_ctl_add(codec->card, err 200 sound/soc/pxa/tosa.c if (err < 0) err 201 sound/soc/pxa/tosa.c return err; err 509 sound/soc/s3c24xx/neo1973_wm8753.c int i, err; err 530 sound/soc/s3c24xx/neo1973_wm8753.c err = snd_ctl_add(codec->card, err 533 sound/soc/s3c24xx/neo1973_wm8753.c if (err < 0) err 534 sound/soc/s3c24xx/neo1973_wm8753.c return err; err 538 sound/soc/s3c24xx/neo1973_wm8753.c err = snd_soc_dapm_add_routes(codec, dapm_routes, err 92 sound/soc/soc-core.c int err; err 100 sound/soc/soc-core.c err = device_register(&codec->ac97->dev); err 101 sound/soc/soc-core.c if (err < 0) { err 104 sound/soc/soc-core.c return err; err 1171 sound/soc/soc-core.c int ret = 0, i, ac97 = 0, err = 0; err 1175 sound/soc/soc-core.c err = socdev->machine->dai_link[i].init(codec); err 1176 sound/soc/soc-core.c if (err < 0) { err 1211 sound/soc/soc-core.c err = snd_soc_dapm_sys_add(socdev->dev); err 1212 sound/soc/soc-core.c if (err < 0) err 1215 sound/soc/soc-core.c err = device_create_file(socdev->dev, &dev_attr_codec_reg); err 1216 sound/soc/soc-core.c if (err < 0) err 1645 sound/soc/soc-core.c int err; err 1660 sound/soc/soc-core.c err = snd_soc_update_bits(codec, reg, val_mask, val); err 1661 sound/soc/soc-core.c if (err < 0) err 1662 sound/soc/soc-core.c return err; err 1664 sound/soc/soc-core.c err = snd_soc_update_bits(codec, reg2, val_mask, val2); err 1665 sound/soc/soc-core.c return err; err 346 sound/soc/soc-dapm.c goto err; err 353 sound/soc/soc-dapm.c err: err 982 sound/soc/soc-dapm.c goto err; err 988 sound/soc/soc-dapm.c goto err; err 1002 sound/soc/soc-dapm.c err: err 556 sound/sound_core.c int err = 0; err 561 sound/sound_core.c err = file->f_op->open(inode,file); err 562 sound/sound_core.c if (err) { err 568 sound/sound_core.c return err; err 761 sound/sparc/amd7930.c int err; err 763 sound/sparc/amd7930.c if ((err = snd_pcm_new(amd->card, err 768 sound/sparc/amd7930.c return err; err 890 sound/sparc/amd7930.c int idx, err; err 899 sound/sparc/amd7930.c if ((err = snd_ctl_add(card, err 901 sound/sparc/amd7930.c return err; err 943 sound/sparc/amd7930.c int err; err 994 sound/sparc/amd7930.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, err 997 sound/sparc/amd7930.c return err; err 1010 sound/sparc/amd7930.c int err, irq; err 1033 sound/sparc/amd7930.c if ((err = snd_amd7930_create(card, op, err 1037 sound/sparc/amd7930.c if ((err = snd_amd7930_pcm(amd)) < 0) err 1040 sound/sparc/amd7930.c if ((err = snd_amd7930_mixer(amd)) < 0) err 1043 sound/sparc/amd7930.c if ((err = snd_card_register(card)) < 0) err 1055 sound/sparc/amd7930.c return err; err 891 sound/sparc/cs4231.c int err; err 893 sound/sparc/cs4231.c err = snd_pcm_lib_malloc_pages(substream, err 895 sound/sparc/cs4231.c if (err < 0) err 896 sound/sparc/cs4231.c return err; err 929 sound/sparc/cs4231.c int err; err 931 sound/sparc/cs4231.c err = snd_pcm_lib_malloc_pages(substream, err 933 sound/sparc/cs4231.c if (err < 0) err 934 sound/sparc/cs4231.c return err; err 1138 sound/sparc/cs4231.c int err; err 1142 sound/sparc/cs4231.c err = snd_cs4231_open(chip, CS4231_MODE_PLAY); err 1143 sound/sparc/cs4231.c if (err < 0) { err 1145 sound/sparc/cs4231.c return err; err 1159 sound/sparc/cs4231.c int err; err 1163 sound/sparc/cs4231.c err = snd_cs4231_open(chip, CS4231_MODE_RECORD); err 1164 sound/sparc/cs4231.c if (err < 0) { err 1166 sound/sparc/cs4231.c return err; err 1226 sound/sparc/cs4231.c int err; err 1228 sound/sparc/cs4231.c err = snd_pcm_new(card, "CS4231", 0, 1, 1, &pcm); err 1229 sound/sparc/cs4231.c if (err < 0) err 1230 sound/sparc/cs4231.c return err; err 1256 sound/sparc/cs4231.c int err; err 1264 sound/sparc/cs4231.c err = snd_timer_new(card, "CS4231", &tid, &timer); err 1265 sound/sparc/cs4231.c if (err < 0) err 1266 sound/sparc/cs4231.c return err; err 1544 sound/sparc/cs4231.c int err, idx; err 1552 sound/sparc/cs4231.c err = snd_ctl_add(card, err 1554 sound/sparc/cs4231.c if (err < 0) err 1555 sound/sparc/cs4231.c return err; err 1595 sound/sparc/cs4231.c int err; err 1597 sound/sparc/cs4231.c err = snd_cs4231_pcm(card); err 1598 sound/sparc/cs4231.c if (err < 0) err 1601 sound/sparc/cs4231.c err = snd_cs4231_mixer(card); err 1602 sound/sparc/cs4231.c if (err < 0) err 1605 sound/sparc/cs4231.c err = snd_cs4231_timer(card); err 1606 sound/sparc/cs4231.c if (err < 0) err 1609 sound/sparc/cs4231.c err = snd_card_register(card); err 1610 sound/sparc/cs4231.c if (err < 0) err 1620 sound/sparc/cs4231.c return err; err 1680 sound/sparc/cs4231.c int err; err 1687 sound/sparc/cs4231.c err = -EINVAL; err 1693 sound/sparc/cs4231.c err = -EBUSY; err 1699 sound/sparc/cs4231.c err = 0; err 1704 sound/sparc/cs4231.c return err; err 1801 sound/sparc/cs4231.c int err; err 1850 sound/sparc/cs4231.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, err 1853 sound/sparc/cs4231.c return err; err 1863 sound/sparc/cs4231.c int err; err 1865 sound/sparc/cs4231.c err = cs4231_attach_begin(&card); err 1866 sound/sparc/cs4231.c if (err) err 1867 sound/sparc/cs4231.c return err; err 1875 sound/sparc/cs4231.c err = snd_cs4231_sbus_create(card, op, dev); err 1876 sound/sparc/cs4231.c if (err < 0) { err 1878 sound/sparc/cs4231.c return err; err 1967 sound/sparc/cs4231.c int err; err 2042 sound/sparc/cs4231.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, err 2045 sound/sparc/cs4231.c return err; err 2054 sound/sparc/cs4231.c int err; err 2056 sound/sparc/cs4231.c err = cs4231_attach_begin(&card); err 2057 sound/sparc/cs4231.c if (err) err 2058 sound/sparc/cs4231.c return err; err 2065 sound/sparc/cs4231.c err = snd_cs4231_ebus_create(card, op, dev); err 2066 sound/sparc/cs4231.c if (err < 0) { err 2068 sound/sparc/cs4231.c return err; err 2220 sound/sparc/dbri.c int err; err 2222 sound/sparc/dbri.c if ((err = snd_pcm_new(card, err 2227 sound/sparc/dbri.c return err; err 2236 sound/sparc/dbri.c if ((err = snd_pcm_lib_preallocate_pages_for_all(pcm, err 2240 sound/sparc/dbri.c return err; err 2438 sound/sparc/dbri.c int idx, err; err 2448 sound/sparc/dbri.c err = snd_ctl_add(card, err 2450 sound/sparc/dbri.c if (err < 0) err 2451 sound/sparc/dbri.c return err; err 2528 sound/sparc/dbri.c int err; err 2553 sound/sparc/dbri.c err = request_irq(dbri->irq, snd_dbri_interrupt, IRQF_SHARED, err 2555 sound/sparc/dbri.c if (err) { err 2560 sound/sparc/dbri.c return err; err 2565 sound/sparc/dbri.c err = cs4215_init(dbri); err 2566 sound/sparc/dbri.c if (err) { err 2568 sound/sparc/dbri.c return err; err 2598 sound/sparc/dbri.c int err; err 2625 sound/sparc/dbri.c err = snd_dbri_create(card, op, irq, dev); err 2626 sound/sparc/dbri.c if (err < 0) { err 2628 sound/sparc/dbri.c return err; err 2632 sound/sparc/dbri.c err = snd_dbri_pcm(card); err 2633 sound/sparc/dbri.c if (err < 0) err 2636 sound/sparc/dbri.c err = snd_dbri_mixer(card); err 2637 sound/sparc/dbri.c if (err < 0) err 2644 sound/sparc/dbri.c err = snd_card_register(card); err 2645 sound/sparc/dbri.c if (err < 0) err 2658 sound/sparc/dbri.c return err; err 213 sound/spi/at73c213.c int err; err 216 sound/spi/at73c213.c err = snd_pcm_hw_constraint_integer(runtime, err 218 sound/spi/at73c213.c if (err < 0) err 219 sound/spi/at73c213.c return err; err 93 sound/synth/emux/emux.c int err; err 121 sound/synth/emux/emux.c if ((err = snd_emux_init_hwdep(emu)) < 0) err 122 sound/synth/emux/emux.c return err; err 55 sound/synth/emux/emux_hwdep.c int err; err 63 sound/synth/emux/emux_hwdep.c err = snd_soundfont_load(emu->sflist, arg, patch.len + sizeof(patch), TMP_CLIENT_ID); err 64 sound/synth/emux/emux_hwdep.c if (err < 0) err 65 sound/synth/emux/emux_hwdep.c return err; err 142 sound/synth/emux/emux_hwdep.c int err; err 144 sound/synth/emux/emux_hwdep.c if ((err = snd_hwdep_new(emu->card, SNDRV_EMUX_HWDEP_NAME, emu->hwdep_idx, &hw)) < 0) err 145 sound/synth/emux/emux_hwdep.c return err; err 154 sound/synth/emux/emux_hwdep.c if ((err = snd_card_register(emu->card)) < 0) err 155 sound/synth/emux/emux_hwdep.c return err; err 373 sound/usb/caiaq/caiaq-device.c int err, len; err 399 sound/usb/caiaq/caiaq-device.c err = snd_usb_caiaq_send_command(dev, EP1_CMD_GET_DEVICE_INFO, NULL, 0); err 400 sound/usb/caiaq/caiaq-device.c if (err) err 401 sound/usb/caiaq/caiaq-device.c return err; err 691 sound/usb/usbaudio.c int err = 0; err 695 sound/usb/usbaudio.c (err = subs->ops.prepare(subs, substream->runtime, urb)) < 0 || err 696 sound/usb/usbaudio.c (err = usb_submit_urb(urb, GFP_ATOMIC)) < 0) { err 698 sound/usb/usbaudio.c if (err < 0) { err 699 sound/usb/usbaudio.c snd_printd(KERN_ERR "cannot submit urb (err = %d)\n", err); err 714 sound/usb/usbaudio.c int err = 0; err 718 sound/usb/usbaudio.c (err = subs->ops.prepare_sync(subs, substream->runtime, urb)) < 0 || err 719 sound/usb/usbaudio.c (err = usb_submit_urb(urb, GFP_ATOMIC)) < 0) { err 721 sound/usb/usbaudio.c if (err < 0) { err 722 sound/usb/usbaudio.c snd_printd(KERN_ERR "cannot submit sync urb (err = %d)\n", err); err 812 sound/usb/usbaudio.c switch (err) { err 841 sound/usb/usbaudio.c int err; err 869 sound/usb/usbaudio.c err = usb_submit_urb(subs->dataurb[i].urb, GFP_ATOMIC); err 870 sound/usb/usbaudio.c if (err < 0) { err 873 sound/usb/usbaudio.c i, err, usb_error_string(err)); err 880 sound/usb/usbaudio.c err = usb_submit_urb(subs->syncurb[i].urb, GFP_ATOMIC); err 881 sound/usb/usbaudio.c if (err < 0) { err 884 sound/usb/usbaudio.c i, err, usb_error_string(err)); err 1260 sound/usb/usbaudio.c int err; err 1266 sound/usb/usbaudio.c if ((err = snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), SET_CUR, err 1271 sound/usb/usbaudio.c return err; err 1283 sound/usb/usbaudio.c int err; err 1292 sound/usb/usbaudio.c if ((err = snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), SET_CUR, err 1297 sound/usb/usbaudio.c return err; err 1299 sound/usb/usbaudio.c if ((err = snd_usb_ctl_msg(dev, usb_rcvctrlpipe(dev, 0), GET_CUR, err 1326 sound/usb/usbaudio.c int err; err 1428 sound/usb/usbaudio.c if ((err = init_usb_pitch(dev, subs->interface, alts, fmt)) < 0) err 1429 sound/usb/usbaudio.c return err; err 1765 sound/usb/usbaudio.c int err = 1; err 1770 sound/usb/usbaudio.c err = -ENOMEM; err 1835 sound/usb/usbaudio.c err = 0; err 1840 sound/usb/usbaudio.c return err; err 1851 sound/usb/usbaudio.c int err; err 1872 sound/usb/usbaudio.c err = snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, err 1874 sound/usb/usbaudio.c if (err < 0) err 1875 sound/usb/usbaudio.c return err; err 1888 sound/usb/usbaudio.c int err; err 1925 sound/usb/usbaudio.c err = check_hw_params_convention(subs); err 1926 sound/usb/usbaudio.c if (err < 0) err 1927 sound/usb/usbaudio.c return err; err 1928 sound/usb/usbaudio.c else if (err) { err 1930 sound/usb/usbaudio.c if ((err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, err 1935 sound/usb/usbaudio.c return err; err 1936 sound/usb/usbaudio.c if ((err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, err 1941 sound/usb/usbaudio.c return err; err 1942 sound/usb/usbaudio.c if ((err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, err 1947 sound/usb/usbaudio.c return err; err 1948 sound/usb/usbaudio.c if ((err = snd_usb_pcm_check_knot(runtime, subs)) < 0) err 1949 sound/usb/usbaudio.c return err; err 2092 sound/usb/usbaudio.c int err; err 2100 sound/usb/usbaudio.c err = usb_control_msg(dev, pipe, request, requesttype, err 2106 sound/usb/usbaudio.c return err; err 2334 sound/usb/usbaudio.c int err; err 2358 sound/usb/usbaudio.c err = snd_pcm_new_stream(as->pcm, stream, 1); err 2359 sound/usb/usbaudio.c if (err < 0) err 2360 sound/usb/usbaudio.c return err; err 2372 sound/usb/usbaudio.c err = snd_pcm_new(chip->card, "USB Audio", chip->pcm_devs, err 2376 sound/usb/usbaudio.c if (err < 0) { err 2378 sound/usb/usbaudio.c return err; err 2638 sound/usb/usbaudio.c int err; err 2643 sound/usb/usbaudio.c err = parse_audio_format_i(chip, fp, format, fmt); err 2646 sound/usb/usbaudio.c err = parse_audio_format_ii(chip, fp, format, fmt); err 2654 sound/usb/usbaudio.c if (err < 0) err 2655 sound/usb/usbaudio.c return err; err 2681 sound/usb/usbaudio.c int i, altno, err, stream; err 2821 sound/usb/usbaudio.c err = add_audio_endpoint(chip, stream, fp); err 2822 sound/usb/usbaudio.c if (err < 0) { err 2825 sound/usb/usbaudio.c return err; err 2936 sound/usb/usbaudio.c int stream, err; err 2956 sound/usb/usbaudio.c err = add_audio_endpoint(chip, stream, fp); err 2957 sound/usb/usbaudio.c if (err < 0) { err 2960 sound/usb/usbaudio.c return err; err 2984 sound/usb/usbaudio.c int err; err 2988 sound/usb/usbaudio.c err = parse_audio_endpoints(chip, altsd->bInterfaceNumber); err 2989 sound/usb/usbaudio.c if (err < 0) { err 2991 sound/usb/usbaudio.c altsd->bInterfaceNumber, err); err 2992 sound/usb/usbaudio.c return err; err 3018 sound/usb/usbaudio.c int stream, err; err 3084 sound/usb/usbaudio.c err = add_audio_endpoint(chip, stream, fp); err 3085 sound/usb/usbaudio.c if (err < 0) { err 3087 sound/usb/usbaudio.c return err; err 3111 sound/usb/usbaudio.c int stream, err; err 3134 sound/usb/usbaudio.c err = add_audio_endpoint(chip, stream, fp); err 3135 sound/usb/usbaudio.c if (err < 0) { err 3137 sound/usb/usbaudio.c return err; err 3163 sound/usb/usbaudio.c int stream, err; err 3186 sound/usb/usbaudio.c err = add_audio_endpoint(chip, stream, fp); err 3187 sound/usb/usbaudio.c if (err < 0) { err 3189 sound/usb/usbaudio.c return err; err 3208 sound/usb/usbaudio.c int err; err 3217 sound/usb/usbaudio.c err = snd_usb_create_quirk(chip, iface, quirk); err 3218 sound/usb/usbaudio.c if (err < 0) err 3219 sound/usb/usbaudio.c return err; err 3244 sound/usb/usbaudio.c int err; err 3250 sound/usb/usbaudio.c err = snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev,0), err 3252 sound/usb/usbaudio.c if (err < 0) snd_printdd("error sending boot message: %d\n", err); err 3253 sound/usb/usbaudio.c err = usb_get_descriptor(dev, USB_DT_DEVICE, 0, err 3256 sound/usb/usbaudio.c if (err < 0) snd_printdd("error usb_get_descriptor: %d\n", err); err 3257 sound/usb/usbaudio.c err = usb_reset_configuration(dev); err 3258 sound/usb/usbaudio.c if (err < 0) snd_printdd("error usb_reset_configuration: %d\n", err); err 3451 sound/usb/usbaudio.c int err, len; err 3487 sound/usb/usbaudio.c if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { err 3490 sound/usb/usbaudio.c return err; err 3561 sound/usb/usbaudio.c int i, err; err 3630 sound/usb/usbaudio.c err = 1; /* continue */ err 3633 sound/usb/usbaudio.c if ((err = snd_usb_create_quirk(chip, intf, quirk)) < 0) err 3637 sound/usb/usbaudio.c if (err > 0) { err 167 sound/usb/usbmidi.c int err = usb_submit_urb(urb, flags); err 168 sound/usb/usbmidi.c if (err < 0 && err != -ENODEV) err 169 sound/usb/usbmidi.c snd_printk(KERN_ERR "usb_submit_urb: %d\n", err); err 170 sound/usb/usbmidi.c return err; err 237 sound/usb/usbmidi.c int err = snd_usbmidi_urb_error(urb->status); err 238 sound/usb/usbmidi.c if (err < 0) { err 239 sound/usb/usbmidi.c if (err != -ENODEV) { err 260 sound/usb/usbmidi.c int err = snd_usbmidi_urb_error(urb->status); err 261 sound/usb/usbmidi.c if (err < 0) { err 262 sound/usb/usbmidi.c if (err != -ENODEV) err 333 sound/usb/usbmidi.c int err; err 338 sound/usb/usbmidi.c err = usb_bulk_msg(ep->umidi->chip->dev, ep->urb->pipe, buf, len, err 341 sound/usb/usbmidi.c return err; err 1326 sound/usb/usbmidi.c int i, j, err; err 1331 sound/usb/usbmidi.c err = snd_usbmidi_out_endpoint_create(umidi, &endpoints[i], err 1333 sound/usb/usbmidi.c if (err < 0) err 1334 sound/usb/usbmidi.c return err; err 1337 sound/usb/usbmidi.c err = snd_usbmidi_in_endpoint_create(umidi, &endpoints[i], err 1339 sound/usb/usbmidi.c if (err < 0) err 1340 sound/usb/usbmidi.c return err; err 1525 sound/usb/usbmidi.c int err, i; err 1527 sound/usb/usbmidi.c err = snd_usbmidi_detect_endpoints(umidi, endpoints, MIDI_MAX_ENDPOINTS); err 1534 sound/usb/usbmidi.c return err; err 1587 sound/usb/usbmidi.c int cable, err; err 1632 sound/usb/usbmidi.c err = snd_usbmidi_out_endpoint_create(umidi, &ep_info, &umidi->endpoints[0]); err 1633 sound/usb/usbmidi.c if (err < 0) err 1634 sound/usb/usbmidi.c return err; err 1639 sound/usb/usbmidi.c err = snd_usbmidi_in_endpoint_create(umidi, &ep_info, &umidi->endpoints[0]); err 1640 sound/usb/usbmidi.c if (err < 0) err 1641 sound/usb/usbmidi.c return err; err 1646 sound/usb/usbmidi.c err = snd_usbmidi_out_endpoint_create(umidi, &ep_info, &umidi->endpoints[1]); err 1647 sound/usb/usbmidi.c if (err < 0) err 1648 sound/usb/usbmidi.c return err; err 1670 sound/usb/usbmidi.c int err; err 1672 sound/usb/usbmidi.c err = snd_rawmidi_new(umidi->chip->card, "USB MIDI", err 1675 sound/usb/usbmidi.c if (err < 0) err 1676 sound/usb/usbmidi.c return err; err 1739 sound/usb/usbmidi.c int i, err; err 1757 sound/usb/usbmidi.c err = snd_usbmidi_get_ms_info(umidi, endpoints); err 1768 sound/usb/usbmidi.c err = snd_usbmidi_detect_endpoints(umidi, &endpoints[0], 1); err 1771 sound/usb/usbmidi.c err = snd_usbmidi_detect_yamaha(umidi, &endpoints[0]); err 1777 sound/usb/usbmidi.c err = 0; err 1781 sound/usb/usbmidi.c err = snd_usbmidi_detect_per_port_endpoints(umidi, endpoints); err 1785 sound/usb/usbmidi.c err = snd_usbmidi_detect_per_port_endpoints(umidi, endpoints); err 1791 sound/usb/usbmidi.c err = snd_usbmidi_detect_endpoints(umidi, &endpoints[0], 1); err 1795 sound/usb/usbmidi.c err = snd_usbmidi_detect_per_port_endpoints(umidi, endpoints); err 1799 sound/usb/usbmidi.c err = -ENXIO; err 1802 sound/usb/usbmidi.c if (err < 0) { err 1804 sound/usb/usbmidi.c return err; err 1814 sound/usb/usbmidi.c err = snd_usbmidi_create_rawmidi(umidi, out_ports, in_ports); err 1815 sound/usb/usbmidi.c if (err < 0) { err 1817 sound/usb/usbmidi.c return err; err 1822 sound/usb/usbmidi.c err = snd_usbmidi_create_endpoints_midiman(umidi, &endpoints[0]); err 1824 sound/usb/usbmidi.c err = snd_usbmidi_create_endpoints(umidi, endpoints); err 1825 sound/usb/usbmidi.c if (err < 0) { err 1827 sound/usb/usbmidi.c return err; err 469 sound/usb/usbmixer.c int err; err 473 sound/usb/usbmixer.c if ((err = snd_ctl_add(state->chip->card, kctl)) < 0) { err 474 sound/usb/usbmixer.c snd_printd(KERN_ERR "cannot add control (err = %d)\n", err); err 475 sound/usb/usbmixer.c return err; err 776 sound/usb/usbmixer.c int c, cnt, val, err; err 782 sound/usb/usbmixer.c err = get_cur_mix_value(cval, c + 1, &val); err 783 sound/usb/usbmixer.c if (err < 0) { err 788 sound/usb/usbmixer.c snd_printd(KERN_ERR "cannot get current value for control %d ch %d: err = %d\n", cval->control, c + 1, err); err 789 sound/usb/usbmixer.c return err; err 798 sound/usb/usbmixer.c err = get_cur_mix_value(cval, 0, &val); err 799 sound/usb/usbmixer.c if (err < 0) { err 804 sound/usb/usbmixer.c snd_printd(KERN_ERR "cannot get current value for control %d master ch: err = %d\n", cval->control, err); err 805 sound/usb/usbmixer.c return err; err 817 sound/usb/usbmixer.c int c, cnt, val, oval, err; err 824 sound/usb/usbmixer.c err = get_cur_mix_value(cval, c + 1, &oval); err 825 sound/usb/usbmixer.c if (err < 0) { err 828 sound/usb/usbmixer.c return err; err 842 sound/usb/usbmixer.c err = get_cur_mix_value(cval, 0, &oval); err 843 sound/usb/usbmixer.c if (err < 0 && cval->mixer->ignore_ctl_error) err 845 sound/usb/usbmixer.c if (err < 0) err 846 sound/usb/usbmixer.c return err; err 1005 sound/usb/usbmixer.c int err, csize; err 1013 sound/usb/usbmixer.c if ((err = parse_audio_unit(state, ftr[4])) < 0) err 1014 sound/usb/usbmixer.c return err; err 1115 sound/usb/usbmixer.c int pin, ich, err; err 1130 sound/usb/usbmixer.c err = parse_audio_unit(state, desc[5 + pin]); err 1131 sound/usb/usbmixer.c if (err < 0) err 1132 sound/usb/usbmixer.c return err; err 1133 sound/usb/usbmixer.c err = check_input_term(state, desc[5 + pin], &iterm); err 1134 sound/usb/usbmixer.c if (err < 0) err 1135 sound/usb/usbmixer.c return err; err 1164 sound/usb/usbmixer.c int err, val; err 1166 sound/usb/usbmixer.c err = get_cur_ctl_value(cval, cval->control << 8, &val); err 1167 sound/usb/usbmixer.c if (err < 0 && cval->mixer->ignore_ctl_error) { err 1171 sound/usb/usbmixer.c if (err < 0) err 1172 sound/usb/usbmixer.c return err; err 1182 sound/usb/usbmixer.c int val, oval, err; err 1184 sound/usb/usbmixer.c err = get_cur_ctl_value(cval, cval->control << 8, &oval); err 1185 sound/usb/usbmixer.c if (err < 0) { err 1188 sound/usb/usbmixer.c return err; err 1282 sound/usb/usbmixer.c int i, err, nameid, type, len; err 1299 sound/usb/usbmixer.c if ((err = parse_audio_unit(state, dsc[7 + i])) < 0) err 1300 sound/usb/usbmixer.c return err; err 1362 sound/usb/usbmixer.c if ((err = add_control_to_empty(state, kctl)) < 0) err 1363 sound/usb/usbmixer.c return err; err 1407 sound/usb/usbmixer.c int val, err; err 1409 sound/usb/usbmixer.c err = get_cur_ctl_value(cval, 0, &val); err 1410 sound/usb/usbmixer.c if (err < 0) { err 1415 sound/usb/usbmixer.c return err; err 1426 sound/usb/usbmixer.c int val, oval, err; err 1428 sound/usb/usbmixer.c err = get_cur_ctl_value(cval, 0, &oval); err 1429 sound/usb/usbmixer.c if (err < 0) { err 1432 sound/usb/usbmixer.c return err; err 1482 sound/usb/usbmixer.c int err; err 1493 sound/usb/usbmixer.c if ((err = parse_audio_unit(state, desc[5 + i])) < 0) err 1494 sound/usb/usbmixer.c return err; err 1574 sound/usb/usbmixer.c if ((err = add_control_to_empty(state, kctl)) < 0) err 1575 sound/usb/usbmixer.c return err; err 1645 sound/usb/usbmixer.c int err; err 1674 sound/usb/usbmixer.c err = parse_audio_unit(&state, desc[7]); err 1675 sound/usb/usbmixer.c if (err < 0) err 1676 sound/usb/usbmixer.c return err; err 1823 sound/usb/usbmixer.c int err; err 1828 sound/usb/usbmixer.c err = wait_event_interruptible(mixer->rc_waitq, err 1830 sound/usb/usbmixer.c if (err == 0) { err 1832 sound/usb/usbmixer.c err = put_user(rc_code, buf); err 1834 sound/usb/usbmixer.c err = put_user(rc_code, (u32 __user *)buf); err 1836 sound/usb/usbmixer.c return err < 0 ? err : count; err 1851 sound/usb/usbmixer.c int err, len, i; err 1863 sound/usb/usbmixer.c err = snd_hwdep_new(mixer->chip->card, "SB remote control", 0, &hwdep); err 1864 sound/usb/usbmixer.c if (err < 0) err 1865 sound/usb/usbmixer.c return err; err 1913 sound/usb/usbmixer.c int err, changed; err 1918 sound/usb/usbmixer.c err = snd_usb_ctl_msg(mixer->chip->dev, err 1922 sound/usb/usbmixer.c if (err < 0) err 1923 sound/usb/usbmixer.c return err; err 1957 sound/usb/usbmixer.c int i, err; err 1963 sound/usb/usbmixer.c err = snd_ctl_add(mixer->chip->card, err 1965 sound/usb/usbmixer.c if (err < 0) err 1966 sound/usb/usbmixer.c return err; err 1992 sound/usb/usbmixer.c int i, err; err 2005 sound/usb/usbmixer.c err = snd_usb_ctl_msg(mixer->chip->dev, err 2010 sound/usb/usbmixer.c if (err == 3 && (buf[0] == 3 || buf[0] == 6)) err 2024 sound/usb/usbmixer.c int err; err 2040 sound/usb/usbmixer.c if ((err = snd_usb_mixer_controls(mixer)) < 0 || err 2041 sound/usb/usbmixer.c (err = snd_usb_mixer_status_create(mixer)) < 0) err 2044 sound/usb/usbmixer.c if ((err = snd_usb_soundblaster_remote_init(mixer)) < 0) err 2051 sound/usb/usbmixer.c if ((err = snd_audigy2nx_controls_create(mixer)) < 0) err 2058 sound/usb/usbmixer.c err = snd_device_new(chip->card, SNDRV_DEV_LOWLEVEL, mixer, &dev_ops); err 2059 sound/usb/usbmixer.c if (err < 0) err 2066 sound/usb/usbmixer.c return err; err 78 sound/usb/usx2y/us122l.c int err; err 86 sound/usb/usx2y/us122l.c err = usb_control_msg(dev, pipe, request, requesttype, err 92 sound/usb/usx2y/us122l.c return err; err 202 sound/usb/usx2y/us122l.c int err = 0; err 210 sound/usb/usx2y/us122l.c err = -EPERM; err 219 sound/usb/usx2y/us122l.c err = -EINVAL; err 229 sound/usb/usx2y/us122l.c return err; err 277 sound/usb/usx2y/us122l.c int err; err 282 sound/usb/usx2y/us122l.c err = us122l_ctl_msg(dev, usb_sndctrlpipe(dev, 0), SET_CUR, err 285 sound/usb/usx2y/us122l.c if (err < 0) err 288 sound/usb/usx2y/us122l.c return err; err 295 sound/usb/usx2y/us122l.c int err; err 320 sound/usb/usx2y/us122l.c err = us122l_set_sample_rate(us122l->chip.dev, rate); err 321 sound/usb/usx2y/us122l.c if (err < 0) { err 326 sound/usb/usx2y/us122l.c err = usb_stream_start(&us122l->sk); err 327 sound/usb/usx2y/us122l.c if (err < 0) { err 329 sound/usb/usx2y/us122l.c snd_printk(KERN_ERR "us122l_start error %i \n", err); err 345 sound/usb/usx2y/us122l.c int err = 0; err 356 sound/usb/usx2y/us122l.c err = -EFAULT; err 360 sound/usb/usx2y/us122l.c err = -ENXIO; err 369 sound/usb/usx2y/us122l.c err = -EINVAL; err 386 sound/usb/usx2y/us122l.c err = -EINVAL; err 397 sound/usb/usx2y/us122l.c err = -EIO; err 407 sound/usb/usx2y/us122l.c err = -EIO; err 409 sound/usb/usx2y/us122l.c err = 1; err 415 sound/usb/usx2y/us122l.c return err; err 421 sound/usb/usx2y/us122l.c int err; err 425 sound/usb/usx2y/us122l.c err = snd_hwdep_new(card, SND_USB_STREAM_ID, 0, &hw); err 426 sound/usb/usx2y/us122l.c if (err < 0) err 427 sound/usb/usx2y/us122l.c return err; err 446 sound/usb/usx2y/us122l.c int err; err 449 sound/usb/usx2y/us122l.c err = usb_set_interface(us122l->chip.dev, 1, 1); err 450 sound/usb/usx2y/us122l.c if (err) { err 461 sound/usb/usx2y/us122l.c err = us122l_create_usbmidi(card); err 462 sound/usb/usx2y/us122l.c if (err < 0) { err 463 sound/usb/usx2y/us122l.c snd_printk(KERN_ERR "us122l_create_usbmidi error %i \n", err); err 467 sound/usb/usx2y/us122l.c err = usb_stream_hwdep_new(card); err 468 sound/usb/usx2y/us122l.c if (err < 0) { err 615 sound/usb/usx2y/us122l.c int err; err 627 sound/usb/usx2y/us122l.c err = usb_set_interface(us122l->chip.dev, 1, 1); err 628 sound/usb/usx2y/us122l.c if (err) { err 636 sound/usb/usx2y/us122l.c err = us122l_set_sample_rate(us122l->chip.dev, err 638 sound/usb/usx2y/us122l.c if (err < 0) { err 642 sound/usb/usx2y/us122l.c err = usb_stream_start(&us122l->sk); err 643 sound/usb/usx2y/us122l.c if (err) err 651 sound/usb/usx2y/us122l.c return err; err 192 sound/usb/usx2y/usX2Yhwdep.c int err; err 195 sound/usb/usx2y/usX2Yhwdep.c if ((err = usX2Y_create_usbmidi(card)) < 0) { err 196 sound/usb/usx2y/usX2Yhwdep.c snd_printk(KERN_ERR "usX2Y_create_alsa_devices: usX2Y_create_usbmidi error %i \n", err); err 199 sound/usb/usx2y/usX2Yhwdep.c if ((err = usX2Y_audio_create(card)) < 0) err 201 sound/usb/usx2y/usX2Yhwdep.c if ((err = usX2Y_hwdep_pcm_new(card)) < 0) err 203 sound/usb/usx2y/usX2Yhwdep.c if ((err = snd_card_register(card)) < 0) err 207 sound/usb/usx2y/usX2Yhwdep.c return err; err 214 sound/usb/usx2y/usX2Yhwdep.c int lret, err = -EINVAL; err 226 sound/usb/usx2y/usX2Yhwdep.c err = usb_set_interface(dev, 0, 1); err 227 sound/usb/usx2y/usX2Yhwdep.c if (err) err 230 sound/usb/usx2y/usX2Yhwdep.c err = usb_bulk_msg(dev, usb_sndbulkpipe(dev, 2), buf, dsp->length, &lret, 6000); err 233 sound/usb/usx2y/usX2Yhwdep.c if (err) err 234 sound/usb/usx2y/usX2Yhwdep.c return err; err 237 sound/usb/usx2y/usX2Yhwdep.c err = usX2Y_AsyncSeq04_init(priv); err 238 sound/usb/usx2y/usX2Yhwdep.c if (err) { err 240 sound/usb/usx2y/usX2Yhwdep.c return err; err 242 sound/usb/usx2y/usX2Yhwdep.c err = usX2Y_In04_init(priv); err 243 sound/usb/usx2y/usX2Yhwdep.c if (err) { err 245 sound/usb/usx2y/usX2Yhwdep.c return err; err 247 sound/usb/usx2y/usX2Yhwdep.c err = usX2Y_create_alsa_devices(hw->card); err 248 sound/usb/usx2y/usX2Yhwdep.c if (err) { err 249 sound/usb/usx2y/usX2Yhwdep.c snd_printk(KERN_ERR "usX2Y_create_alsa_devices error %i \n", err); err 251 sound/usb/usx2y/usX2Yhwdep.c return err; err 256 sound/usb/usx2y/usX2Yhwdep.c return err; err 262 sound/usb/usx2y/usX2Yhwdep.c int err; err 265 sound/usb/usx2y/usX2Yhwdep.c if ((err = snd_hwdep_new(card, SND_USX2Y_LOADER_ID, 0, &hw)) < 0) err 266 sound/usb/usx2y/usX2Yhwdep.c return err; err 358 sound/usb/usx2y/usb_stream.c int err; err 360 sound/usb/usx2y/usb_stream.c err = usb_submit_urb(sk->idle_inurb, GFP_ATOMIC); err 361 sound/usb/usx2y/usb_stream.c if (err < 0) { err 362 sound/usb/usx2y/usb_stream.c snd_printk(KERN_ERR "%i\n", err); err 363 sound/usb/usx2y/usb_stream.c return err; err 367 sound/usb/usx2y/usb_stream.c err = usb_submit_urb(sk->idle_outurb, GFP_ATOMIC); err 368 sound/usb/usx2y/usb_stream.c if (err < 0) { err 369 sound/usb/usx2y/usb_stream.c snd_printk(KERN_ERR "%i\n", err); err 370 sound/usb/usx2y/usb_stream.c return err; err 657 sound/usb/usx2y/usb_stream.c int u, err; err 692 sound/usb/usx2y/usb_stream.c err = usb_submit_urb(inurb, GFP_ATOMIC); err 693 sound/usb/usx2y/usb_stream.c if (err < 0) { err 696 sound/usb/usx2y/usb_stream.c " returned %i\n", u, err); err 697 sound/usb/usx2y/usb_stream.c return err; err 699 sound/usb/usx2y/usb_stream.c err = usb_submit_urb(outurb, GFP_ATOMIC); err 700 sound/usb/usx2y/usb_stream.c if (err < 0) { err 703 sound/usb/usx2y/usb_stream.c " returned %i\n", u, err); err 704 sound/usb/usx2y/usb_stream.c return err; err 188 sound/usb/usx2y/usbusx2y.c int err = 0; err 231 sound/usb/usx2y/usbusx2y.c err = usb_submit_urb(usX2Y->US04->urb[usX2Y->US04->submitted++], GFP_ATOMIC); err 232 sound/usb/usx2y/usbusx2y.c while (!err && usX2Y->US04->submitted < usX2Y->US04->len); err 239 sound/usb/usx2y/usbusx2y.c for (j = 0; j < URBS_AsyncSeq && !err; ++j) err 246 sound/usb/usx2y/usbusx2y.c err = usb_submit_urb(usX2Y->AS04.urb[j], GFP_ATOMIC); err 253 sound/usb/usx2y/usbusx2y.c if (err) err 254 sound/usb/usx2y/usbusx2y.c snd_printk(KERN_ERR "In04Int() usb_submit_urb err=%i\n", err); err 265 sound/usb/usx2y/usbusx2y.c int err = 0, err 269 sound/usb/usx2y/usbusx2y.c err = -ENOMEM; err 273 sound/usb/usx2y/usbusx2y.c err = -ENOMEM; err 282 sound/usb/usx2y/usbusx2y.c return err; err 371 sound/usb/usx2y/usbusx2y.c int err; err 379 sound/usb/usx2y/usbusx2y.c if ((err = usX2Y_hwdep_new(card, device)) < 0 || err 380 sound/usb/usx2y/usbusx2y.c (err = snd_card_register(card)) < 0) { err 197 sound/usb/usx2y/usbusx2yaudio.c int err; err 203 sound/usb/usx2y/usbusx2yaudio.c if ((err = usb_submit_urb(urb, GFP_ATOMIC)) < 0) { err 204 sound/usb/usx2y/usbusx2yaudio.c snd_printk(KERN_ERR "usb_submit_urb() returned %i\n", err); err 205 sound/usb/usx2y/usbusx2yaudio.c return err; err 214 sound/usb/usx2y/usbusx2yaudio.c int err, state; err 236 sound/usb/usx2y/usbusx2yaudio.c if ((err = usX2Y_urb_play_prepare(playbacksubs, capsubs->completed_urb, urb)) || err 237 sound/usb/usx2y/usbusx2yaudio.c (err = usX2Y_urb_submit(playbacksubs, urb, frame))) { err 238 sound/usb/usx2y/usbusx2yaudio.c return err; err 247 sound/usb/usx2y/usbusx2yaudio.c if ((err = usX2Y_urb_capt_retire(capsubs))) err 248 sound/usb/usx2y/usbusx2yaudio.c return err; err 251 sound/usb/usx2y/usbusx2yaudio.c if ((err = usX2Y_urb_submit(capsubs, capsubs->completed_urb, frame))) err 252 sound/usb/usx2y/usbusx2yaudio.c return err; err 482 sound/usb/usx2y/usbusx2yaudio.c int i, err; err 485 sound/usb/usx2y/usbusx2yaudio.c if ((err = usX2Y_urbs_allocate(subs)) < 0) err 486 sound/usb/usx2y/usbusx2yaudio.c return err; err 509 sound/usb/usx2y/usbusx2yaudio.c if ((err = usb_submit_urb(urb, GFP_ATOMIC)) < 0) { err 510 sound/usb/usx2y/usbusx2yaudio.c snd_printk (KERN_ERR "cannot submit datapipe for urb %d, err = %d\n", i, err); err 511 sound/usb/usx2y/usbusx2yaudio.c err = -EPIPE; err 522 sound/usb/usx2y/usbusx2yaudio.c err = 0; err 525 sound/usb/usx2y/usbusx2yaudio.c err = -EPIPE; err 528 sound/usb/usx2y/usbusx2yaudio.c if (err) { err 532 sound/usb/usx2y/usbusx2yaudio.c return err; err 671 sound/usb/usx2y/usbusx2yaudio.c int err = 0, i; err 679 sound/usb/usx2y/usbusx2yaudio.c err = -ENOMEM; err 684 sound/usb/usx2y/usbusx2yaudio.c err = -ENOMEM; err 689 sound/usb/usx2y/usbusx2yaudio.c err = -ENOMEM; err 706 sound/usb/usx2y/usbusx2yaudio.c err = -ENODEV; err 713 sound/usb/usx2y/usbusx2yaudio.c if (!err) err 714 sound/usb/usx2y/usbusx2yaudio.c err = -ENODEV; err 722 sound/usb/usx2y/usbusx2yaudio.c if (!err) err 727 sound/usb/usx2y/usbusx2yaudio.c return err; err 733 sound/usb/usx2y/usbusx2yaudio.c int alternate, err; err 746 sound/usb/usx2y/usbusx2yaudio.c if ((err = usb_set_interface(usX2Y->chip.dev, 0, alternate))) { err 748 sound/usb/usx2y/usbusx2yaudio.c return err; err 751 sound/usb/usx2y/usbusx2yaudio.c err = usb_submit_urb(usX2Y->In04urb, GFP_KERNEL); err 757 sound/usb/usx2y/usbusx2yaudio.c return err; err 764 sound/usb/usx2y/usbusx2yaudio.c int err = 0; err 792 sound/usb/usx2y/usbusx2yaudio.c if (0 > (err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params)))) { err 794 sound/usb/usx2y/usbusx2yaudio.c substream, params_buffer_bytes(hw_params), err); err 795 sound/usb/usx2y/usbusx2yaudio.c return err; err 842 sound/usb/usx2y/usbusx2yaudio.c int err = 0; err 851 sound/usb/usx2y/usbusx2yaudio.c if ((err = usX2Y_format_set(usX2Y, runtime->format)) < 0) err 854 sound/usb/usx2y/usbusx2yaudio.c if ((err = usX2Y_rate_set(usX2Y, runtime->rate)) < 0) err 857 sound/usb/usx2y/usbusx2yaudio.c if (0 > (err = usX2Y_urbs_start(capsubs))) err 862 sound/usb/usx2y/usbusx2yaudio.c err = usX2Y_urbs_start(subs); err 866 sound/usb/usx2y/usbusx2yaudio.c return err; err 954 sound/usb/usx2y/usbusx2yaudio.c int err, i; err 972 sound/usb/usx2y/usbusx2yaudio.c err = snd_pcm_new(card, NAME_ALLCAPS" Audio", usX2Y(card)->chip.pcm_devs, err 975 sound/usb/usx2y/usbusx2yaudio.c if (err < 0) { err 977 sound/usb/usx2y/usbusx2yaudio.c return err; err 991 sound/usb/usx2y/usbusx2yaudio.c 0 > (err = snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream, err 995 sound/usb/usx2y/usbusx2yaudio.c 0 > (err = snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream, err 1000 sound/usb/usx2y/usbusx2yaudio.c return err; err 1012 sound/usb/usx2y/usbusx2yaudio.c int err = 0; err 1016 sound/usb/usx2y/usbusx2yaudio.c if (0 > (err = usX2Y_audio_stream_new(card, 0xA, 0x8))) err 1017 sound/usb/usx2y/usbusx2yaudio.c return err; err 1019 sound/usb/usx2y/usbusx2yaudio.c if (0 > (err = usX2Y_audio_stream_new(card, 0, 0xA))) err 1020 sound/usb/usx2y/usbusx2yaudio.c return err; err 1022 sound/usb/usx2y/usbusx2yaudio.c err = usX2Y_rate_set(usX2Y(card), 44100); // Lets us428 recognize output-volume settings, disturbs us122. err 1023 sound/usb/usx2y/usbusx2yaudio.c return err; err 176 sound/usb/usx2y/usx2yhwdeppcm.c int err, state; err 198 sound/usb/usx2y/usx2yhwdeppcm.c if ((err = usX2Y_hwdep_urb_play_prepare(playbacksubs, urb)) || err 199 sound/usb/usx2y/usx2yhwdeppcm.c (err = usX2Y_urb_submit(playbacksubs, urb, frame))) { err 200 sound/usb/usx2y/usx2yhwdeppcm.c return err; err 209 sound/usb/usx2y/usx2yhwdeppcm.c if ((err = usX2Y_usbpcm_urb_capt_retire(capsubs))) err 210 sound/usb/usx2y/usx2yhwdeppcm.c return err; err 216 sound/usb/usx2y/usx2yhwdeppcm.c if ((err = usX2Y_urb_submit(capsubs, capsubs->completed_urb, frame))) err 217 sound/usb/usx2y/usx2yhwdeppcm.c return err; err 219 sound/usb/usx2y/usx2yhwdeppcm.c if ((err = usX2Y_urb_submit(capsubs2, capsubs2->completed_urb, frame))) err 220 sound/usb/usx2y/usx2yhwdeppcm.c return err; err 409 sound/usb/usx2y/usx2yhwdeppcm.c int p, u, err, err 421 sound/usb/usx2y/usx2yhwdeppcm.c if ((err = usX2Y_usbpcm_urbs_allocate(subs)) < 0) err 422 sound/usb/usx2y/usx2yhwdeppcm.c return err; err 451 sound/usb/usx2y/usx2yhwdeppcm.c if ((err = usb_submit_urb(urb, GFP_KERNEL)) < 0) { err 452 sound/usb/usx2y/usx2yhwdeppcm.c snd_printk (KERN_ERR "cannot usb_submit_urb() for urb %d, err = %d\n", u, err); err 453 sound/usb/usx2y/usx2yhwdeppcm.c err = -EPIPE; err 468 sound/usb/usx2y/usx2yhwdeppcm.c err = 0; err 471 sound/usb/usx2y/usx2yhwdeppcm.c err = -EPIPE; err 474 sound/usb/usx2y/usx2yhwdeppcm.c if (err) { err 478 sound/usb/usx2y/usx2yhwdeppcm.c return err; err 492 sound/usb/usx2y/usx2yhwdeppcm.c int err = 0; err 507 sound/usb/usx2y/usx2yhwdeppcm.c if ((err = usX2Y_format_set(usX2Y, runtime->format)) < 0) err 510 sound/usb/usx2y/usx2yhwdeppcm.c if ((err = usX2Y_rate_set(usX2Y, runtime->rate)) < 0) err 514 sound/usb/usx2y/usx2yhwdeppcm.c if (0 > (err = usX2Y_usbpcm_urbs_start(capsubs))) err 528 sound/usb/usx2y/usx2yhwdeppcm.c err = -ERESTARTSYS; err 532 sound/usb/usx2y/usx2yhwdeppcm.c if (0 > (err = usX2Y_usbpcm_urbs_start(subs))) err 543 sound/usb/usx2y/usx2yhwdeppcm.c return err; err 613 sound/usb/usx2y/usx2yhwdeppcm.c int err = 0; err 631 sound/usb/usx2y/usx2yhwdeppcm.c err = -EBUSY; err 634 sound/usb/usx2y/usx2yhwdeppcm.c return err; err 657 sound/usb/usx2y/usx2yhwdeppcm.c int err = usX2Y_pcms_lock_check(card); err 658 sound/usb/usx2y/usx2yhwdeppcm.c if (0 == err) err 661 sound/usb/usx2y/usx2yhwdeppcm.c return err; err 668 sound/usb/usx2y/usx2yhwdeppcm.c int err = usX2Y_pcms_lock_check(card); err 669 sound/usb/usx2y/usx2yhwdeppcm.c if (0 == err) err 672 sound/usb/usx2y/usx2yhwdeppcm.c return err; err 741 sound/usb/usx2y/usx2yhwdeppcm.c int err; err 748 sound/usb/usx2y/usx2yhwdeppcm.c if ((err = snd_hwdep_new(card, SND_USX2Y_USBPCM_ID, 1, &hw)) < 0) err 749 sound/usb/usx2y/usx2yhwdeppcm.c return err; err 760 sound/usb/usx2y/usx2yhwdeppcm.c err = snd_pcm_new(card, NAME_ALLCAPS" hwdep Audio", 2, 1, 1, &pcm); err 761 sound/usb/usx2y/usx2yhwdeppcm.c if (err < 0) { err 762 sound/usb/usx2y/usx2yhwdeppcm.c return err; err 771 sound/usb/usx2y/usx2yhwdeppcm.c if (0 > (err = snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream, err 775 sound/usb/usx2y/usx2yhwdeppcm.c 0 > (err = snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream, err 779 sound/usb/usx2y/usx2yhwdeppcm.c return err; err 334 virt/kvm/kvm_main.c int err; err 336 virt/kvm/kvm_main.c err = mmu_notifier_register(&kvm->mmu_notifier, current->mm); err 337 virt/kvm/kvm_main.c if (err) { err 342 virt/kvm/kvm_main.c return ERR_PTR(err); err 164 virt/kvm/kvm_trace.c goto err; err 171 virt/kvm/kvm_trace.c goto err; err 176 virt/kvm/kvm_trace.c goto err; err 192 virt/kvm/kvm_trace.c err: