tag | line | file | source code |
err | 502 | arch/alpha/kernel/osf_sys.c | int err; |
err | 504 | arch/alpha/kernel/osf_sys.c | err = sys_shmat(shmid, shmaddr, shmflg, &raddr); |
err | 505 | arch/alpha/kernel/osf_sys.c | if (err) |
err | 506 | arch/alpha/kernel/osf_sys.c | return err; |
err | 20 | arch/alpha/kernel/traps.c | void die_if_kernel(char * str, struct pt_regs * regs, long err) |
err | 28 | arch/alpha/kernel/traps.c | printk("%s(%d): %s %ld\n", current->comm, current->pid, str, err); |
err | 107 | arch/i386/kernel/sys_i386.c | int err; |
err | 110 | arch/i386/kernel/sys_i386.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(long)))) |
err | 111 | arch/i386/kernel/sys_i386.c | return err; |
err | 127 | arch/i386/kernel/sys_i386.c | int err; |
err | 130 | arch/i386/kernel/sys_i386.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(tmp)))) |
err | 131 | arch/i386/kernel/sys_i386.c | return err; |
err | 152 | arch/i386/kernel/sys_i386.c | int err; |
err | 153 | arch/i386/kernel/sys_i386.c | if ((err = verify_area(VERIFY_WRITE, (ulong*) third, sizeof(ulong)))) |
err | 154 | arch/i386/kernel/sys_i386.c | return err; |
err | 155 | arch/i386/kernel/sys_i386.c | err = sys_shmat (first, (char *) ptr, second, &raddr); |
err | 156 | arch/i386/kernel/sys_i386.c | if (err) |
err | 157 | arch/i386/kernel/sys_i386.c | return err; |
err | 95 | arch/i386/kernel/traps.c | /*static*/ void die_if_kernel(const char * str, struct pt_regs * regs, long err) |
err | 112 | arch/i386/kernel/traps.c | printk("%s: %04lx\n", str, err & 0xffff); |
err | 2732 | arch/m68k/amiga/amifb.c | int err; |
err | 2734 | arch/m68k/amiga/amifb.c | err=register_framebuffer("Amiga Builtin", &node, &mono_amiga_fb_ops, mono_num_mono_amiga_fb_predefined, |
err | 4161 | arch/m68k/amiga/amifb.c | int err, activate; |
err | 4164 | arch/m68k/amiga/amifb.c | if ((err = fbhw->decode_var(var, &par))) |
err | 4165 | arch/m68k/amiga/amifb.c | return(err); |
err | 4478 | arch/m68k/amiga/amifb.c | int err, oldxres, oldyres, oldvxres, oldvyres, oldbpp; |
err | 4480 | arch/m68k/amiga/amifb.c | if ((err = do_fb_set_var(var, con == currcon))) |
err | 4481 | arch/m68k/amiga/amifb.c | return(err); |
err | 4526 | arch/m68k/amiga/amifb.c | int err; |
err | 4529 | arch/m68k/amiga/amifb.c | if ((err = alloc_cmap(&disp[con].cmap, 1<<disp[con].var.bits_per_pixel, |
err | 4531 | arch/m68k/amiga/amifb.c | return(err); |
err | 4549 | arch/m68k/amiga/amifb.c | int err; |
err | 4565 | arch/m68k/amiga/amifb.c | if ((err = fbhw->pan_display(var, ¤t_par))) { |
err | 4568 | arch/m68k/amiga/amifb.c | return(err); |
err | 4819 | arch/m68k/amiga/amifb.c | int err, tag, i; |
err | 4907 | arch/m68k/amiga/amifb.c | err = register_framebuffer(amiga_fb_name, &node, &amiga_fb_ops, |
err | 4909 | arch/m68k/amiga/amifb.c | if (err < 0) |
err | 2328 | arch/m68k/atari/atafb.c | int err,activate; |
err | 2330 | arch/m68k/atari/atafb.c | if ((err=fbhw->decode_var(var, &par))) |
err | 2331 | arch/m68k/atari/atafb.c | return err; |
err | 2607 | arch/m68k/atari/atafb.c | int err,oldxres,oldyres,oldbpp,oldxres_virtual,oldyoffset; |
err | 2608 | arch/m68k/atari/atafb.c | if ((err=do_fb_set_var(var, con==currcon))) |
err | 2609 | arch/m68k/atari/atafb.c | return err; |
err | 2650 | arch/m68k/atari/atafb.c | int err; |
err | 2652 | arch/m68k/atari/atafb.c | if ((err = alloc_cmap(&disp[con].cmap, |
err | 2654 | arch/m68k/atari/atafb.c | return err; |
err | 2668 | arch/m68k/atari/atafb.c | int err; |
err | 2676 | arch/m68k/atari/atafb.c | if ((err = fbhw->pan_display(var, ¤t_par))) |
err | 2677 | arch/m68k/atari/atafb.c | return err; |
err | 2800 | arch/m68k/atari/atafb.c | int err; |
err | 2806 | arch/m68k/atari/atafb.c | err=register_framebuffer("Atari Builtin", &node, &atari_fb_ops, |
err | 2808 | arch/m68k/atari/atafb.c | if (err < 0) |
err | 111 | arch/m68k/kernel/sys_m68k.c | int err; |
err | 114 | arch/m68k/kernel/sys_m68k.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(long)))) |
err | 115 | arch/m68k/kernel/sys_m68k.c | return err; |
err | 131 | arch/m68k/kernel/sys_m68k.c | int err; |
err | 134 | arch/m68k/kernel/sys_m68k.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(tmp)))) |
err | 135 | arch/m68k/kernel/sys_m68k.c | return err; |
err | 156 | arch/m68k/kernel/sys_m68k.c | int err; |
err | 157 | arch/m68k/kernel/sys_m68k.c | if ((err = verify_area(VERIFY_WRITE, (ulong*) third, sizeof(ulong)))) |
err | 158 | arch/m68k/kernel/sys_m68k.c | return err; |
err | 159 | arch/m68k/kernel/sys_m68k.c | err = sys_shmat (first, (char *) ptr, second, &raddr); |
err | 160 | arch/m68k/kernel/sys_m68k.c | if (err) |
err | 161 | arch/m68k/kernel/sys_m68k.c | return err; |
err | 41 | arch/mips/kernel/ipc.c | int err; |
err | 44 | arch/mips/kernel/ipc.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(long)))) |
err | 45 | arch/mips/kernel/ipc.c | return err; |
err | 61 | arch/mips/kernel/ipc.c | int err; |
err | 64 | arch/mips/kernel/ipc.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(tmp)))) |
err | 65 | arch/mips/kernel/ipc.c | return err; |
err | 86 | arch/mips/kernel/ipc.c | int err; |
err | 87 | arch/mips/kernel/ipc.c | if ((err = verify_area(VERIFY_WRITE, (ulong*) third, sizeof(ulong)))) |
err | 88 | arch/mips/kernel/ipc.c | return err; |
err | 89 | arch/mips/kernel/ipc.c | err = sys_shmat (first, (char *) ptr, second, &raddr); |
err | 90 | arch/mips/kernel/ipc.c | if (err) |
err | 91 | arch/mips/kernel/ipc.c | return err; |
err | 83 | arch/mips/kernel/traps.c | void die_if_kernel(char * str, struct pt_regs * regs, long err) |
err | 97 | arch/mips/kernel/traps.c | printk("%s: %08lx\n", str, err ); |
err | 98 | arch/sparc/kernel/sys_sparc.c | int err; |
err | 101 | arch/sparc/kernel/sys_sparc.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(long)))) |
err | 102 | arch/sparc/kernel/sys_sparc.c | return err; |
err | 118 | arch/sparc/kernel/sys_sparc.c | int err; |
err | 121 | arch/sparc/kernel/sys_sparc.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(tmp)))) |
err | 122 | arch/sparc/kernel/sys_sparc.c | return err; |
err | 143 | arch/sparc/kernel/sys_sparc.c | int err; |
err | 144 | arch/sparc/kernel/sys_sparc.c | if ((err = verify_area(VERIFY_WRITE, (ulong*) third, sizeof(ulong)))) |
err | 145 | arch/sparc/kernel/sys_sparc.c | return err; |
err | 146 | arch/sparc/kernel/sys_sparc.c | err = sys_shmat (first, (char *) ptr, second, &raddr); |
err | 147 | arch/sparc/kernel/sys_sparc.c | if (err) |
err | 148 | arch/sparc/kernel/sys_sparc.c | return err; |
err | 782 | drivers/block/hd.c | int dev, err; |
err | 793 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
err | 794 | drivers/block/hd.c | if (err) |
err | 795 | drivers/block/hd.c | return err; |
err | 812 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
err | 813 | drivers/block/hd.c | if (err) |
err | 814 | drivers/block/hd.c | return err; |
err | 819 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
err | 820 | drivers/block/hd.c | if (err) |
err | 821 | drivers/block/hd.c | return err; |
err | 842 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
err | 843 | drivers/block/hd.c | if (err) |
err | 844 | drivers/block/hd.c | return err; |
err | 850 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
err | 851 | drivers/block/hd.c | if (err) |
err | 852 | drivers/block/hd.c | return err; |
err | 862 | drivers/block/hd.c | err = -EINVAL; /* out of range for device */ |
err | 865 | drivers/block/hd.c | err = -EBUSY; /* busy, try again */ |
err | 869 | drivers/block/hd.c | err = 0; |
err | 872 | drivers/block/hd.c | return err; |
err | 878 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (char *) arg, sizeof(struct hd_driveid)); |
err | 879 | drivers/block/hd.c | if (err) |
err | 880 | drivers/block/hd.c | return err; |
err | 632 | drivers/block/ide-cd.c | int stat, err, sense_key, cmd; |
err | 642 | drivers/block/ide-cd.c | err = IN_BYTE (IDE_ERROR_REG); |
err | 643 | drivers/block/ide-cd.c | sense_key = err >> 4; |
err | 738 | drivers/block/ide-cd.c | } else if ((err & ~ABRT_ERR) != 0) { |
err | 779 | drivers/block/ide.c | void ide_end_drive_cmd (ide_drive_t *drive, byte stat, byte err) |
err | 789 | drivers/block/ide.c | args[1] = err; |
err | 809 | drivers/block/ide.c | byte err = 0; |
err | 833 | drivers/block/ide.c | err = GET_ERR(); |
err | 834 | drivers/block/ide.c | printk("%s: %s: error=0x%02x", drive->name, msg, err); |
err | 838 | drivers/block/ide.c | if (err & BBD_ERR) printk("BadSector "); |
err | 839 | drivers/block/ide.c | if (err & ECC_ERR) printk("UncorrectableError "); |
err | 840 | drivers/block/ide.c | if (err & ID_ERR) printk("SectorIdNotFound "); |
err | 841 | drivers/block/ide.c | if (err & ABRT_ERR) printk("DriveStatusError "); |
err | 842 | drivers/block/ide.c | if (err & TRK0_ERR) printk("TrackZeroNotFound "); |
err | 843 | drivers/block/ide.c | if (err & MARK_ERR) printk("AddrMarkNotFound "); |
err | 845 | drivers/block/ide.c | if (err & (BBD_ERR|ECC_ERR|ID_ERR|MARK_ERR)) { |
err | 868 | drivers/block/ide.c | return err; |
err | 896 | drivers/block/ide.c | byte err; |
err | 898 | drivers/block/ide.c | err = ide_dump_status(drive, msg, stat); |
err | 904 | drivers/block/ide.c | ide_end_drive_cmd(drive, stat, err); |
err | 912 | drivers/block/ide.c | if (err & (BBD_ERR | ECC_ERR)) /* retries won't help these */ |
err | 914 | drivers/block/ide.c | else if (err & TRK0_ERR) /* help it find track zero */ |
err | 1902 | drivers/block/ide.c | int err; |
err | 1906 | drivers/block/ide.c | if ((err = verify_area(VERIFY_WRITE, (long *)useraddr, sizeof(long)))) |
err | 1907 | drivers/block/ide.c | return err; |
err | 1915 | drivers/block/ide.c | int err; |
err | 1930 | drivers/block/ide.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
err | 1931 | drivers/block/ide.c | if (err) return err; |
err | 1980 | drivers/block/ide.c | err = verify_area(VERIFY_WRITE, (char *)arg, sizeof(*drive->id)); |
err | 1981 | drivers/block/ide.c | if (!err) |
err | 1983 | drivers/block/ide.c | return err; |
err | 2065 | drivers/block/ide.c | err = ide_do_drive_cmd(drive, &rq, ide_wait); |
err | 2066 | drivers/block/ide.c | } else if (!(err = verify_area(VERIFY_READ,(void *)arg, 4))) { |
err | 2078 | drivers/block/ide.c | if (!(err = verify_area(VERIFY_WRITE,(void *)arg, argsize))) { |
err | 2080 | drivers/block/ide.c | err = ide_do_drive_cmd(drive, &rq, ide_wait); |
err | 2086 | drivers/block/ide.c | return err; |
err | 596 | drivers/block/ide.h | void ide_end_drive_cmd (ide_drive_t *drive, byte stat, byte err); |
err | 379 | drivers/block/loop.c | int dev, err; |
err | 404 | drivers/block/loop.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
err | 405 | drivers/block/loop.c | if (err) |
err | 406 | drivers/block/loop.c | return err; |
err | 126 | drivers/block/md.c | int minor, index, err, current_ra; |
err | 211 | drivers/block/md.c | if ((err=md_dev[minor].pers->run (minor, md_dev+minor))) |
err | 214 | drivers/block/md.c | return (err); |
err | 272 | drivers/block/md.c | if (!(err=md_valid_device (minor, dev, INVALID_ALWAYS))) |
err | 275 | drivers/block/md.c | return (err); |
err | 279 | drivers/block/md.c | if (!(err=md_valid_device (minor, dev, VALID))) |
err | 282 | drivers/block/md.c | return (err); |
err | 287 | drivers/block/md.c | err=verify_area (VERIFY_WRITE, (long *) arg, sizeof(long)); |
err | 288 | drivers/block/md.c | if (err) |
err | 289 | drivers/block/md.c | return err; |
err | 306 | drivers/block/md.c | err=verify_area (VERIFY_WRITE, (long *) arg, sizeof(long)); |
err | 307 | drivers/block/md.c | if (err) |
err | 308 | drivers/block/md.c | return err; |
err | 314 | drivers/block/md.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
err | 315 | drivers/block/md.c | if (err) |
err | 316 | drivers/block/md.c | return err; |
err | 153 | drivers/block/rd.c | int err; |
err | 165 | drivers/block/rd.c | err = verify_area(VERIFY_WRITE, (long *) arg, |
err | 167 | drivers/block/rd.c | if (err) |
err | 168 | drivers/block/rd.c | return err; |
err | 243 | drivers/block/xd.c | int dev = DEVICE_NR(inode->i_rdev),err; |
err | 249 | drivers/block/xd.c | if ((err = verify_area(VERIFY_WRITE,geometry,sizeof(*geometry)))) |
err | 250 | drivers/block/xd.c | return (err); |
err | 270 | drivers/block/xd.c | if ((err = verify_area(VERIFY_WRITE,(long *) arg,sizeof(long)))) |
err | 271 | drivers/block/xd.c | return (err); |
err | 1962 | drivers/cdrom/cdu31a.c | int err; |
err | 1976 | drivers/cdrom/cdu31a.c | err = verify_area(VERIFY_READ, (char *) arg, sizeof(schi)) || |
err | 1978 | drivers/cdrom/cdu31a.c | if (err) return err; |
err | 958 | drivers/cdrom/gscd.c | long err; |
err | 962 | drivers/cdrom/gscd.c | err = my_gscd_init ( ); |
err | 964 | drivers/cdrom/gscd.c | if ( err < 0 ) |
err | 966 | drivers/cdrom/gscd.c | return err; |
err | 1737 | drivers/cdrom/optcd.c | int status, err, retval = 0; |
err | 1764 | drivers/cdrom/optcd.c | err = exec_cmd(COMCLOSE); |
err | 1765 | drivers/cdrom/optcd.c | if (err < 0) { |
err | 1767 | drivers/cdrom/optcd.c | "exec_cmd COMCLOSE: %02x", -err)); |
err | 1776 | drivers/cdrom/optcd.c | err = update_toc(); |
err | 1777 | drivers/cdrom/optcd.c | if (err < 0) { |
err | 1778 | drivers/cdrom/optcd.c | DEBUG((DEBUG_VFS, "update_toc: %02x", -err)); |
err | 1793 | drivers/cdrom/optcd.c | case CDROMSTOP: err = exec_cmd(COMSTOP); |
err | 1794 | drivers/cdrom/optcd.c | if (err < 0) { |
err | 1797 | drivers/cdrom/optcd.c | -err)); |
err | 1803 | drivers/cdrom/optcd.c | case CDROMEJECT: err = exec_cmd(COMUNLOCK); |
err | 1804 | drivers/cdrom/optcd.c | if (err < 0) { |
err | 1807 | drivers/cdrom/optcd.c | -err)); |
err | 1811 | drivers/cdrom/optcd.c | err = exec_cmd(COMOPEN); |
err | 1812 | drivers/cdrom/optcd.c | if (err < 0) { |
err | 1815 | drivers/cdrom/optcd.c | -err)); |
err | 1006 | drivers/cdrom/sonycd535.c | int err; |
err | 1016 | drivers/cdrom/sonycd535.c | err = verify_area(VERIFY_WRITE /* and read */ , (char *)arg, sizeof schi); |
err | 1017 | drivers/cdrom/sonycd535.c | if (err) |
err | 1018 | drivers/cdrom/sonycd535.c | return err; |
err | 1081 | drivers/cdrom/sonycd535.c | int err; |
err | 1171 | drivers/cdrom/sonycd535.c | err = verify_area(VERIFY_READ, (char *)arg, 6); |
err | 1172 | drivers/cdrom/sonycd535.c | if (err) |
err | 1173 | drivers/cdrom/sonycd535.c | return err; |
err | 1212 | drivers/cdrom/sonycd535.c | err = verify_area(VERIFY_WRITE, hdr, sizeof *hdr); |
err | 1213 | drivers/cdrom/sonycd535.c | if (err) |
err | 1214 | drivers/cdrom/sonycd535.c | return err; |
err | 1234 | drivers/cdrom/sonycd535.c | err = verify_area(VERIFY_WRITE /* and read */ , entry, sizeof *entry); |
err | 1235 | drivers/cdrom/sonycd535.c | if (err) |
err | 1236 | drivers/cdrom/sonycd535.c | return err; |
err | 1275 | drivers/cdrom/sonycd535.c | err = verify_area(VERIFY_READ, (char *)arg, sizeof ti); |
err | 1276 | drivers/cdrom/sonycd535.c | if (err) |
err | 1277 | drivers/cdrom/sonycd535.c | return err; |
err | 1346 | drivers/cdrom/sonycd535.c | err = verify_area(VERIFY_READ, (char *)arg, sizeof volctrl); |
err | 1347 | drivers/cdrom/sonycd535.c | if (err) |
err | 1348 | drivers/cdrom/sonycd535.c | return err; |
err | 492 | drivers/char/apm_bios.c | static void apm_error(char *str, int err) |
err | 497 | drivers/char/apm_bios.c | if (error_table[i].key == err) break; |
err | 501 | drivers/char/apm_bios.c | printk("apm_bios: %s: unknown error code %#2.2x\n", str, err); |
err | 623 | drivers/char/apm_bios.c | int err; |
err | 633 | drivers/char/apm_bios.c | err = apm_set_power_state(APM_STATE_SUSPEND); |
err | 634 | drivers/char/apm_bios.c | if (err) |
err | 635 | drivers/char/apm_bios.c | apm_error("suspend", err); |
err | 641 | drivers/char/apm_bios.c | int err; |
err | 643 | drivers/char/apm_bios.c | err = apm_set_power_state(APM_STATE_STANDBY); |
err | 644 | drivers/char/apm_bios.c | if (err) |
err | 645 | drivers/char/apm_bios.c | apm_error("standby", err); |
err | 742 | drivers/char/apm_bios.c | int err; |
err | 751 | drivers/char/apm_bios.c | err = apm_set_power_state(APM_STATE_BUSY); |
err | 752 | drivers/char/apm_bios.c | if (err) |
err | 753 | drivers/char/apm_bios.c | apm_error("busy", err); |
err | 373 | drivers/char/consolemap.c | int err = 0, err1, i; |
err | 379 | drivers/char/consolemap.c | err = err1; |
err | 386 | drivers/char/consolemap.c | return err; |
err | 218 | drivers/char/fbmem.c | int err; |
err | 227 | drivers/char/fbmem.c | if ((err=fb->fb_set_var(registered_fb_var[fbidx] + vidx-1, PROC_CONSOLE()))) |
err | 228 | drivers/char/fbmem.c | return err; |
err | 232 | drivers/char/ftape/ftape-io.c | int err; |
err | 237 | drivers/char/ftape/ftape-io.c | ftape_report_error(&err, &cmd, 1); |
err | 973 | drivers/char/tpqic02.c | unsigned err = 0, exnr = 0, gs = 0; |
err | 991 | drivers/char/tpqic02.c | err = tperror.exs; /* get exception status bits */ |
err | 992 | drivers/char/tpqic02.c | if (err & (TP_ST0|TP_ST1)) |
err | 1003 | drivers/char/tpqic02.c | if (err & TP_ST0) { |
err | 1004 | drivers/char/tpqic02.c | if (err & TP_CNI) /* no cartridge */ |
err | 1008 | drivers/char/tpqic02.c | if (err & TP_USL) /* not online */ |
err | 1010 | drivers/char/tpqic02.c | if (err & TP_WRP) |
err | 1012 | drivers/char/tpqic02.c | if (err & TP_EOM) { /* end of media */ |
err | 1020 | drivers/char/tpqic02.c | if (err & TP_FIL) { |
err | 1025 | drivers/char/tpqic02.c | if (err & TP_ST1) { |
err | 1029 | drivers/char/tpqic02.c | if (err & TP_BOM) |
err | 1036 | drivers/char/tpqic02.c | if (err & (TP_ST0|TP_ST1)) { |
err | 1038 | drivers/char/tpqic02.c | exnr = decode_exception_nr(err); |
err | 1039 | drivers/char/tpqic02.c | handle_exception(exnr, err); /* update driver state wrt drive status */ |
err | 1042 | drivers/char/tpqic02.c | err &= ~ignore; /* mask unwanted errors -- not the correct way, use exception nrs?? */ |
err | 1043 | drivers/char/tpqic02.c | if (((err & TP_ST0) && (err & REPORT_ERR0)) || |
err | 1044 | drivers/char/tpqic02.c | ((err & TP_ST1) && (err & REPORT_ERR1))) |
err | 132 | drivers/char/wdt.c | int err; |
err | 137 | drivers/char/wdt.c | err=verify_area(VERIFY_WRITE, buf, 1); |
err | 138 | drivers/char/wdt.c | if(err) |
err | 139 | drivers/char/wdt.c | return err; |
err | 503 | drivers/isdn/pcbit/drv.c | int complete, err; |
err | 680 | drivers/isdn/pcbit/drv.c | if (!(err = capi_decode_sel_proto_conf(chan, skb))) |
err | 684 | drivers/isdn/pcbit/drv.c | printk("error %d - capi_decode_sel_proto_conf\n", err); |
err | 1384 | drivers/isdn/teles/callc.c | int err, i; |
err | 1387 | drivers/isdn/teles/callc.c | err = BufPoolGet(&ibh, st->l1.sbufpool, GFP_ATOMIC, st, 21); |
err | 1388 | drivers/isdn/teles/callc.c | if (err) |
err | 1169 | drivers/net/atarilance.c | { int err; |
err | 1171 | drivers/net/atarilance.c | if ((err = register_netdev( &atarilance_dev ))) { |
err | 1172 | drivers/net/atarilance.c | if (err == -EIO) { |
err | 1175 | drivers/net/atarilance.c | return( err ); |
err | 286 | drivers/net/dlci.c | int err, i; |
err | 289 | drivers/net/dlci.c | err = verify_area(VERIFY_READ, new, sizeof(*new)); |
err | 290 | drivers/net/dlci.c | if (err) |
err | 291 | drivers/net/dlci.c | return(err); |
err | 293 | drivers/net/dlci.c | err = verify_area(VERIFY_WRITE, new, sizeof(*new)); |
err | 294 | drivers/net/dlci.c | if (err) |
err | 295 | drivers/net/dlci.c | return(err); |
err | 345 | drivers/net/dlci.c | err = register_netdev(master); |
err | 346 | drivers/net/dlci.c | if (err < 0) |
err | 350 | drivers/net/dlci.c | return(err); |
err | 359 | drivers/net/dlci.c | err = flp ? (*flp->assoc)(slave, master) : -EINVAL; |
err | 360 | drivers/net/dlci.c | if (err < 0) |
err | 366 | drivers/net/dlci.c | return(err); |
err | 382 | drivers/net/dlci.c | int i, err; |
err | 391 | drivers/net/dlci.c | err = (*flp->deassoc)(slave, master); |
err | 392 | drivers/net/dlci.c | if (err) |
err | 393 | drivers/net/dlci.c | return(err); |
err | 418 | drivers/net/dlci.c | int err; |
err | 426 | drivers/net/dlci.c | err = verify_area(VERIFY_READ, conf, sizeof(struct dlci_conf)); |
err | 427 | drivers/net/dlci.c | if (err) |
err | 428 | drivers/net/dlci.c | return(err); |
err | 437 | drivers/net/dlci.c | err = (*flp->dlci_conf)(dlp->slave, dev, get); |
err | 438 | drivers/net/dlci.c | if (err) |
err | 439 | drivers/net/dlci.c | return(err); |
err | 443 | drivers/net/dlci.c | err = verify_area(VERIFY_WRITE, conf, sizeof(struct dlci_conf)); |
err | 444 | drivers/net/dlci.c | if (err) |
err | 445 | drivers/net/dlci.c | return(err); |
err | 517 | drivers/net/dlci.c | int err; |
err | 533 | drivers/net/dlci.c | err = (*flp->activate)(dlp->slave, dev); |
err | 534 | drivers/net/dlci.c | if (err) |
err | 535 | drivers/net/dlci.c | return(err); |
err | 544 | drivers/net/dlci.c | int err; |
err | 549 | drivers/net/dlci.c | err = (*flp->deactivate)(dlp->slave, dev); |
err | 439 | drivers/net/eql.c | int err; |
err | 441 | drivers/net/eql.c | err = verify_area(VERIFY_READ, (void *)srqp, sizeof (slaving_request_t)); |
err | 442 | drivers/net/eql.c | if (err) |
err | 448 | drivers/net/eql.c | return err; |
err | 494 | drivers/net/eql.c | int err; |
err | 496 | drivers/net/eql.c | err = verify_area(VERIFY_READ, (void *)srqp, sizeof (slaving_request_t)); |
err | 497 | drivers/net/eql.c | if (err) |
err | 498 | drivers/net/eql.c | return err; |
err | 525 | drivers/net/eql.c | int err; |
err | 527 | drivers/net/eql.c | err = verify_area(VERIFY_READ, (void *)scp, sizeof (slave_config_t)); |
err | 528 | drivers/net/eql.c | if (err) |
err | 529 | drivers/net/eql.c | return err; |
err | 545 | drivers/net/eql.c | err = verify_area(VERIFY_WRITE, (void *)scp, sizeof (slave_config_t)); |
err | 546 | drivers/net/eql.c | if (err) |
err | 547 | drivers/net/eql.c | return err; |
err | 562 | drivers/net/eql.c | int err; |
err | 564 | drivers/net/eql.c | err = verify_area(VERIFY_READ, (void *)scp, sizeof (slave_config_t)); |
err | 565 | drivers/net/eql.c | if (err) |
err | 566 | drivers/net/eql.c | return err; |
err | 605 | drivers/net/eql.c | int err; |
err | 606 | drivers/net/eql.c | err = verify_area(VERIFY_WRITE, (void *)mcp, sizeof (master_config_t)); |
err | 607 | drivers/net/eql.c | if (err) |
err | 608 | drivers/net/eql.c | return err; |
err | 623 | drivers/net/eql.c | int err; |
err | 625 | drivers/net/eql.c | err = verify_area(VERIFY_READ, (void *)mcp, sizeof (master_config_t)); |
err | 626 | drivers/net/eql.c | if (err) |
err | 627 | drivers/net/eql.c | return err; |
err | 1100 | drivers/net/sdla.c | int i, err; |
err | 1113 | drivers/net/sdla.c | err = verify_area(VERIFY_READ, conf, sizeof(struct frad_conf)); |
err | 1114 | drivers/net/sdla.c | if (err) |
err | 1115 | drivers/net/sdla.c | return(err); |
err | 1175 | drivers/net/sdla.c | err = verify_area(VERIFY_WRITE, conf, sizeof(struct frad_conf)); |
err | 1176 | drivers/net/sdla.c | if (err) |
err | 1177 | drivers/net/sdla.c | return(err); |
err | 1204 | drivers/net/sdla.c | int err; |
err | 1207 | drivers/net/sdla.c | err = verify_area(VERIFY_READ, info, sizeof(struct sdla_mem)); |
err | 1208 | drivers/net/sdla.c | if (err) |
err | 1209 | drivers/net/sdla.c | return(err); |
err | 1214 | drivers/net/sdla.c | err = verify_area(VERIFY_WRITE, mem.data, mem.len); |
err | 1215 | drivers/net/sdla.c | if (err) |
err | 1216 | drivers/net/sdla.c | return(err); |
err | 1227 | drivers/net/sdla.c | err = verify_area(VERIFY_READ, mem.data, mem.len); |
err | 1228 | drivers/net/sdla.c | if (err) |
err | 1229 | drivers/net/sdla.c | return(err); |
err | 744 | drivers/net/slip.c | int err; |
err | 774 | drivers/net/slip.c | if ((err = sl_open(sl->dev))) { |
err | 775 | drivers/net/slip.c | return err; |
err | 1018 | drivers/net/slip.c | int err; |
err | 1020 | drivers/net/slip.c | err = verify_area(VERIFY_READ, addr, AX25_ADDR_LEN); |
err | 1021 | drivers/net/slip.c | if (err) { |
err | 1022 | drivers/net/slip.c | return err; |
err | 1045 | drivers/net/slip.c | int err; |
err | 1055 | drivers/net/slip.c | err = verify_area(VERIFY_WRITE, arg, strlen(sl->dev->name) + 1); |
err | 1056 | drivers/net/slip.c | if (err) { |
err | 1057 | drivers/net/slip.c | return err; |
err | 1063 | drivers/net/slip.c | err = verify_area(VERIFY_WRITE, arg, sizeof(int)); |
err | 1064 | drivers/net/slip.c | if (err) { |
err | 1065 | drivers/net/slip.c | return err; |
err | 1071 | drivers/net/slip.c | err = verify_area(VERIFY_READ, arg, sizeof(int)); |
err | 1072 | drivers/net/slip.c | if (err) { |
err | 1073 | drivers/net/slip.c | return err; |
err | 1126 | drivers/net/slip.c | err = verify_area(VERIFY_READ, arg, sizeof(int)); |
err | 1127 | drivers/net/slip.c | if (err) { |
err | 1128 | drivers/net/slip.c | return -err; |
err | 1141 | drivers/net/slip.c | err = verify_area(VERIFY_WRITE, arg, sizeof(int)); |
err | 1142 | drivers/net/slip.c | if (err) { |
err | 1143 | drivers/net/slip.c | return -err; |
err | 1151 | drivers/net/slip.c | err = verify_area(VERIFY_READ, arg, sizeof(int)); |
err | 1152 | drivers/net/slip.c | if (err) { |
err | 1153 | drivers/net/slip.c | return -err; |
err | 1166 | drivers/net/slip.c | err = verify_area(VERIFY_WRITE, arg, sizeof(int)); |
err | 1167 | drivers/net/slip.c | if (err) { |
err | 1168 | drivers/net/slip.c | return -err; |
err | 1389 | drivers/net/strip.c | int err; |
err | 1401 | drivers/net/strip.c | err = verify_area(VERIFY_WRITE, (void*)arg, 16); |
err | 1402 | drivers/net/strip.c | if (err) |
err | 1403 | drivers/net/strip.c | return -err; |
err | 1095 | drivers/net/wic.c | int err; |
err | 1099 | drivers/net/wic.c | err=verify_area(VERIFY_WRITE, rq->ifr_data, sizeof(struct wicconf)); |
err | 1100 | drivers/net/wic.c | if (err) |
err | 1101 | drivers/net/wic.c | return err; |
err | 1152 | drivers/net/wic.c | err = check_bfr(dev); |
err | 1154 | drivers/net/wic.c | err = send_cmd(dev, (unsigned char *)&wc, len); |
err | 1266 | drivers/net/wic.c | int err; |
err | 1288 | drivers/net/wic.c | err = get_byte(dev, &c0); |
err | 1289 | drivers/net/wic.c | if (err < 0) { |
err | 1291 | drivers/net/wic.c | return(err); |
err | 1298 | drivers/net/wic.c | err = get_byte(dev, &c0); |
err | 1299 | drivers/net/wic.c | if (err < 0) { |
err | 1301 | drivers/net/wic.c | return(err); |
err | 1309 | drivers/net/wic.c | err = get_byte(dev, &c0); |
err | 1310 | drivers/net/wic.c | if (err < 0) { |
err | 1312 | drivers/net/wic.c | return(err); |
err | 1345 | drivers/net/wic.c | int err = 0; |
err | 1361 | drivers/net/wic.c | err = send_byte(dev, (unsigned char)len); |
err | 1365 | drivers/net/wic.c | err = send_byte(dev, *cmd); |
err | 1366 | drivers/net/wic.c | if (err < 0) { |
err | 1367 | drivers/net/wic.c | return err; |
err | 1374 | drivers/net/wic.c | err = send_byte(dev, cksum); |
err | 1375 | drivers/net/wic.c | if (err < 0) |
err | 1376 | drivers/net/wic.c | return err; |
err | 96 | drivers/scsi/sr_ioctl.c | int result, target, err; |
err | 135 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_READ, (void *) arg, sizeof (msf)); |
err | 136 | drivers/scsi/sr_ioctl.c | if (err) return err; |
err | 159 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_READ, (void *) arg, sizeof (blk)); |
err | 160 | drivers/scsi/sr_ioctl.c | if (err) return err; |
err | 183 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_READ, (void *) arg, sizeof (ti)); |
err | 184 | drivers/scsi/sr_ioctl.c | if (err) return err; |
err | 227 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_tochdr)); |
err | 228 | drivers/scsi/sr_ioctl.c | if (err) |
err | 229 | drivers/scsi/sr_ioctl.c | return err; |
err | 240 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_READ, (void *) arg, sizeof (struct cdrom_tocentry)); |
err | 241 | drivers/scsi/sr_ioctl.c | if (err) return err; |
err | 273 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_tocentry)); |
err | 274 | drivers/scsi/sr_ioctl.c | if (err) |
err | 275 | drivers/scsi/sr_ioctl.c | return err; |
err | 345 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_READ, (void *) arg, sizeof (struct cdrom_volctrl)); |
err | 346 | drivers/scsi/sr_ioctl.c | if (err) return err; |
err | 413 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_volctrl)); |
err | 414 | drivers/scsi/sr_ioctl.c | if (err) return err; |
err | 481 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_subchnl)); |
err | 482 | drivers/scsi/sr_ioctl.c | if (err) |
err | 483 | drivers/scsi/sr_ioctl.c | return err; |
err | 513 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct cdrom_mcn)); |
err | 514 | drivers/scsi/sr_ioctl.c | if (err) |
err | 515 | drivers/scsi/sr_ioctl.c | return err; |
err | 531 | drivers/scsi/sr_ioctl.c | err = verify_area(VERIFY_READ, (void *) arg, |
err | 533 | drivers/scsi/sr_ioctl.c | if (err) return (err); |
err | 549 | drivers/scsi/sr_ioctl.c | err=verify_area(VERIFY_WRITE,(void *) arg, |
err | 551 | drivers/scsi/sr_ioctl.c | if (err) return (err); |
err | 211 | drivers/sound/audio.c | int err; |
err | 279 | drivers/sound/audio.c | if ((err = DMAbuf_start_output (dev, buf_no, buf_ptr)) < 0) |
err | 281 | drivers/sound/audio.c | return err; |
err | 403 | drivers/sound/audio.c | int err = DMAbuf_ioctl (dev, cmd, (caddr_t) & info, 1); |
err | 405 | drivers/sound/audio.c | if (err < 0) |
err | 406 | drivers/sound/audio.c | return err; |
err | 421 | drivers/sound/audio.c | int err = DMAbuf_ioctl (dev, cmd, (caddr_t) & info, 1); |
err | 423 | drivers/sound/audio.c | if (err < 0) |
err | 424 | drivers/sound/audio.c | return err; |
err | 202 | drivers/sound/dmabuf.c | int err; |
err | 204 | drivers/sound/dmabuf.c | if ((err = sound_alloc_dmap (dev, dmap, chan)) < 0) |
err | 205 | drivers/sound/dmabuf.c | return err; |
err | 491 | drivers/sound/dmabuf.c | int err; |
err | 493 | drivers/sound/dmabuf.c | if ((err = audio_devs[dev]->prepare_for_input (dev, |
err | 496 | drivers/sound/dmabuf.c | return err; |
err | 520 | drivers/sound/dmabuf.c | int err = EIO; |
err | 534 | drivers/sound/dmabuf.c | if ((err = activate_recording (dev, dmap)) < 0) |
err | 537 | drivers/sound/dmabuf.c | return err; |
err | 580 | drivers/sound/dmabuf.c | err = EIO; |
err | 585 | drivers/sound/dmabuf.c | err = EINTR; |
err | 590 | drivers/sound/dmabuf.c | return -err; |
err | 875 | drivers/sound/dmabuf.c | int err; |
err | 882 | drivers/sound/dmabuf.c | if ((err = audio_devs[dev]->prepare_for_input (dev, |
err | 884 | drivers/sound/dmabuf.c | return -err; |
err | 893 | drivers/sound/dmabuf.c | int err; |
err | 900 | drivers/sound/dmabuf.c | if ((err = audio_devs[dev]->prepare_for_output (dev, |
err | 902 | drivers/sound/dmabuf.c | return -err; |
err | 1034 | drivers/sound/dmabuf.c | int abort, err = EIO; |
err | 1063 | drivers/sound/dmabuf.c | int err; |
err | 1066 | drivers/sound/dmabuf.c | if ((err = audio_devs[dev]->prepare_for_output (dev, |
err | 1068 | drivers/sound/dmabuf.c | return err; |
err | 1121 | drivers/sound/dmabuf.c | err = EIO; |
err | 1128 | drivers/sound/dmabuf.c | err = EINTR; |
err | 1136 | drivers/sound/dmabuf.c | return -err; /* Caught a signal ? */ |
err | 1566 | drivers/sound/dmabuf.c | int err; |
err | 1569 | drivers/sound/dmabuf.c | if ((err = open_dmap (dev, OPEN_READWRITE, audio_devs[dev]->dmap_out, audio_devs[dev]->dmachan1)) < 0) |
err | 1580 | drivers/sound/dmabuf.c | if ((err = open_dmap (dev, OPEN_READWRITE, audio_devs[dev]->dmap_in, audio_devs[dev]->dmachan2)) < 0) |
err | 1474 | drivers/sound/gus_wave.c | int err; |
err | 1482 | drivers/sound/gus_wave.c | if ((err = DMAbuf_open_dma (gus_devnum)) < 0) |
err | 451 | drivers/sound/midi_synth.c | int err; |
err | 462 | drivers/sound/midi_synth.c | if ((err = midi_devs[orig_dev]->open (orig_dev, mode, |
err | 464 | drivers/sound/midi_synth.c | return err; |
err | 207 | drivers/sound/midibuf.c | int mode, err; |
err | 228 | drivers/sound/midibuf.c | if ((err = midi_devs[dev]->open (dev, mode, |
err | 231 | drivers/sound/midibuf.c | return err; |
err | 272 | drivers/sound/midibuf.c | return err; |
err | 507 | drivers/sound/mpu401.c | int err; |
err | 541 | drivers/sound/mpu401.c | if ((err = midi_devs[dev]->coproc-> |
err | 546 | drivers/sound/mpu401.c | return err; |
err | 881 | drivers/sound/mpu401.c | int midi_dev, err; |
err | 923 | drivers/sound/mpu401.c | if ((err = midi_devs[midi_dev]->coproc-> |
err | 928 | drivers/sound/mpu401.c | return err; |
err | 54 | drivers/sound/pas2_midi.c | int err; |
err | 74 | drivers/sound/pas2_midi.c | if ((err = pas_set_intr (I_M_MIDI_IRQ_ENABLE)) < 0) |
err | 75 | drivers/sound/pas2_midi.c | return err; |
err | 241 | drivers/sound/pas2_pcm.c | int err; |
err | 257 | drivers/sound/pas2_pcm.c | if ((err = pas_set_intr (PAS_PCM_INTRBITS)) < 0) |
err | 258 | drivers/sound/pas2_pcm.c | return err; |
err | 199 | drivers/sound/patmgr.c | int err = 0; |
err | 232 | drivers/sound/patmgr.c | err = rec->parm1; |
err | 233 | drivers/sound/patmgr.c | if (err > 0) |
err | 234 | drivers/sound/patmgr.c | err = -err; |
err | 243 | drivers/sound/patmgr.c | return err; |
err | 251 | drivers/sound/patmgr.c | int err = 0; |
err | 301 | drivers/sound/patmgr.c | return err; |
err | 508 | drivers/sound/pss.c | int err; |
err | 515 | drivers/sound/pss.c | err = download_boot_block (dev_info, buf); |
err | 517 | drivers/sound/pss.c | return err; |
err | 569 | drivers/sound/pss.c | int err = 0; |
err | 588 | drivers/sound/pss.c | err = (i==0)? -EIO : 0; /* EIO only if no word read */ |
err | 601 | drivers/sound/pss.c | return err; |
err | 269 | drivers/sound/sequencer.c | int err; |
err | 291 | drivers/sound/sequencer.c | int err; |
err | 300 | drivers/sound/sequencer.c | err = synth_devs[dev]->load_patch (dev, *(short *) &event_rec[0], buf, p + 4, c, 0); |
err | 301 | drivers/sound/sequencer.c | if (err < 0) |
err | 302 | drivers/sound/sequencer.c | return err; |
err | 304 | drivers/sound/sequencer.c | return err; |
err | 353 | drivers/sound/sequencer.c | if ((err = midi_devs[dev]->open (dev, mode, |
err | 358 | drivers/sound/sequencer.c | return err; |
err | 1612 | drivers/sound/sequencer.c | int err, mode; |
err | 1615 | drivers/sound/sequencer.c | if ((err = midi_devs[midi_dev]->open (midi_dev, mode, |
err | 1618 | drivers/sound/sequencer.c | return err; |
err | 1662 | drivers/sound/sequencer.c | int err; |
err | 1678 | drivers/sound/sequencer.c | err = synth_devs[dev]->ioctl (dev, cmd, arg); |
err | 1679 | drivers/sound/sequencer.c | return err; |
err | 1773 | drivers/sound/sequencer.c | int dev, err; |
err | 1796 | drivers/sound/sequencer.c | if ((err = synth_devs[dev]->pmgr_interface (dev, inf)) == -1) |
err | 1799 | drivers/sound/sequencer.c | return err; |
err | 1811 | drivers/sound/sequencer.c | int dev, err; |
err | 1834 | drivers/sound/sequencer.c | if ((err = pmgr_access (dev, inf)) < 0) |
err | 1837 | drivers/sound/sequencer.c | return err; |
err | 158 | drivers/sound/soundcard.c | int dev, err; |
err | 175 | drivers/sound/soundcard.c | if ((err = verify_area (VERIFY_READ, (void *) arg, len)) < 0) |
err | 176 | drivers/sound/soundcard.c | return err; |
err | 181 | drivers/sound/soundcard.c | if ((err = verify_area (VERIFY_WRITE, (void *) arg, len)) < 0) |
err | 182 | drivers/sound/soundcard.c | return err; |
err | 187 | drivers/sound/soundcard.c | err = sound_ioctl_sw (dev, &files[dev], cmd, (caddr_t) arg); |
err | 189 | drivers/sound/soundcard.c | return err; |
err | 398 | drivers/sound/soundcard.c | int err; |
err | 419 | drivers/sound/soundcard.c | err = module_register_chrdev (sound_major, "sound", &sound_fops); |
err | 420 | drivers/sound/soundcard.c | if (err) |
err | 423 | drivers/sound/soundcard.c | return err; |
err | 509 | drivers/sound/soundcard.c | int err; |
err | 511 | drivers/sound/soundcard.c | if ((err = request_dma (chn, deviceID)) != 0) |
err | 512 | drivers/sound/soundcard.c | return err; |
err | 664 | drivers/sound/sscape.c | int err; |
err | 670 | drivers/sound/sscape.c | err = download_boot_block (dev_info, buf); |
err | 672 | drivers/sound/sscape.c | return err; |
err | 156 | fs/buffer.c | int i, retry, pass = 0, err = 0; |
err | 196 | fs/buffer.c | err = 1; |
err | 228 | fs/buffer.c | return err; |
err | 86 | fs/ext/fsync.c | int rc, err = 0; |
err | 93 | fs/ext/fsync.c | err = rc; |
err | 95 | fs/ext/fsync.c | return err; |
err | 102 | fs/ext/fsync.c | int rc, err = 0; |
err | 115 | fs/ext/fsync.c | err = rc; |
err | 118 | fs/ext/fsync.c | return err; |
err | 126 | fs/ext/fsync.c | int rc, err = 0; |
err | 139 | fs/ext/fsync.c | err = rc; |
err | 142 | fs/ext/fsync.c | return err; |
err | 150 | fs/ext/fsync.c | int rc, err = 0; |
err | 163 | fs/ext/fsync.c | err = rc; |
err | 166 | fs/ext/fsync.c | return err; |
err | 171 | fs/ext/fsync.c | int wait, err = 0; |
err | 178 | fs/ext/fsync.c | err |= sync_direct(inode, wait); |
err | 179 | fs/ext/fsync.c | err |= sync_indirect(inode, inode->u.ext_i.i_data+9, wait); |
err | 180 | fs/ext/fsync.c | err |= sync_dindirect(inode, inode->u.ext_i.i_data+10, wait); |
err | 181 | fs/ext/fsync.c | err |= sync_tindirect(inode, inode->u.ext_i.i_data+11, wait); |
err | 183 | fs/ext/fsync.c | err |= ext_sync_inode (inode); |
err | 184 | fs/ext/fsync.c | return (err < 0) ? -EIO : 0; |
err | 432 | fs/ext/inode.c | int err = 0; |
err | 445 | fs/ext/inode.c | err = -1; |
err | 449 | fs/ext/inode.c | err = -1; |
err | 451 | fs/ext/inode.c | return err; |
err | 257 | fs/ext2/balloc.c | u32 * prealloc_count, u32 * prealloc_block, int * err) |
err | 268 | fs/ext2/balloc.c | *err = -ENOSPC; |
err | 409 | fs/ext2/balloc.c | *err = -EDQUOT; |
err | 493 | fs/ext2/balloc.c | *err = 0; |
err | 109 | fs/ext2/dir.c | int err; |
err | 121 | fs/ext2/dir.c | bh = ext2_bread (inode, blk, 0, &err); |
err | 136 | fs/ext2/dir.c | tmp = ext2_getblk (inode, ++blk, 0, &err); |
err | 94 | fs/ext2/file.c | int err; |
err | 137 | fs/ext2/file.c | bh = ext2_getblk (inode, block, 1, &err); |
err | 140 | fs/ext2/file.c | written = err; |
err | 85 | fs/ext2/fsync.c | int rc, err = 0; |
err | 92 | fs/ext2/fsync.c | err = rc; |
err | 94 | fs/ext2/fsync.c | return err; |
err | 101 | fs/ext2/fsync.c | int rc, err = 0; |
err | 114 | fs/ext2/fsync.c | err = rc; |
err | 117 | fs/ext2/fsync.c | return err; |
err | 124 | fs/ext2/fsync.c | int rc, err = 0; |
err | 137 | fs/ext2/fsync.c | err = rc; |
err | 140 | fs/ext2/fsync.c | return err; |
err | 147 | fs/ext2/fsync.c | int rc, err = 0; |
err | 160 | fs/ext2/fsync.c | err = rc; |
err | 163 | fs/ext2/fsync.c | return err; |
err | 168 | fs/ext2/fsync.c | int wait, err = 0; |
err | 181 | fs/ext2/fsync.c | err |= sync_direct (inode, wait); |
err | 182 | fs/ext2/fsync.c | err |= sync_indirect (inode, |
err | 185 | fs/ext2/fsync.c | err |= sync_dindirect (inode, |
err | 188 | fs/ext2/fsync.c | err |= sync_tindirect (inode, |
err | 193 | fs/ext2/fsync.c | err |= ext2_sync_inode (inode); |
err | 194 | fs/ext2/fsync.c | return (err < 0) ? -EIO : 0; |
err | 252 | fs/ext2/ialloc.c | struct inode * ext2_new_inode (const struct inode * dir, int mode, int * err) |
err | 274 | fs/ext2/ialloc.c | *err = -ENOSPC; |
err | 439 | fs/ext2/ialloc.c | *err = -EDQUOT; |
err | 446 | fs/ext2/ialloc.c | *err = 0; |
err | 80 | fs/ext2/inode.c | static int ext2_alloc_block (struct inode * inode, unsigned long goal, int * err) |
err | 120 | fs/ext2/inode.c | &inode->u.ext2_i.i_prealloc_block, err); |
err | 122 | fs/ext2/inode.c | result = ext2_new_block (inode, goal, 0, 0, err); |
err | 125 | fs/ext2/inode.c | result = ext2_new_block (inode, goal, 0, 0, err); |
err | 189 | fs/ext2/inode.c | int create, int new_block, int * err) |
err | 209 | fs/ext2/inode.c | *err = -EFBIG; |
err | 232 | fs/ext2/inode.c | tmp = ext2_alloc_block (inode, goal, err); |
err | 256 | fs/ext2/inode.c | int new_block, int * err) |
err | 289 | fs/ext2/inode.c | *err = -EFBIG; |
err | 304 | fs/ext2/inode.c | tmp = ext2_alloc_block (inode, goal, err); |
err | 367 | fs/ext2/inode.c | int create, int * err) |
err | 374 | fs/ext2/inode.c | *err = -EIO; |
err | 400 | fs/ext2/inode.c | *err = -ENOSPC; |
err | 403 | fs/ext2/inode.c | return inode_getblk (inode, block, create, b, err); |
err | 406 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_IND_BLOCK, create, b, err); |
err | 408 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
err | 412 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_DIND_BLOCK, create, b, err); |
err | 414 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 416 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 419 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_TIND_BLOCK, create, b, err); |
err | 421 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 423 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 425 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
err | 431 | fs/ext2/inode.c | int err, create; |
err | 437 | fs/ext2/inode.c | err = -EIO; |
err | 449 | fs/ext2/inode.c | err = -ENOSPC; |
err | 456 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_IND_BLOCK, create, b, &err); |
err | 462 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_DIND_BLOCK, create, b, &err); |
err | 464 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
err | 469 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_TIND_BLOCK, create, b, &err); |
err | 471 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
err | 473 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
err | 479 | fs/ext2/inode.c | int create, int *err) |
err | 483 | fs/ext2/inode.c | bh = ext2_getblk (inode, block, create, err); |
err | 491 | fs/ext2/inode.c | *err = -EIO; |
err | 604 | fs/ext2/inode.c | int err = 0; |
err | 669 | fs/ext2/inode.c | err = -1; |
err | 673 | fs/ext2/inode.c | return err; |
err | 22 | fs/ext2/ioctl.c | int err; |
err | 29 | fs/ext2/ioctl.c | err = verify_area(VERIFY_WRITE, (int *) arg, sizeof(int)); |
err | 30 | fs/ext2/ioctl.c | if (err) |
err | 31 | fs/ext2/ioctl.c | return err; |
err | 35 | fs/ext2/ioctl.c | err = verify_area(VERIFY_READ, (int *) arg, sizeof(int)); |
err | 36 | fs/ext2/ioctl.c | if (err) |
err | 37 | fs/ext2/ioctl.c | return err; |
err | 66 | fs/ext2/ioctl.c | err = verify_area(VERIFY_WRITE, (int *) arg, sizeof(int)); |
err | 67 | fs/ext2/ioctl.c | if (err) |
err | 68 | fs/ext2/ioctl.c | return err; |
err | 76 | fs/ext2/ioctl.c | err = verify_area(VERIFY_READ, (int *) arg, sizeof(int)); |
err | 77 | fs/ext2/ioctl.c | if (err) |
err | 78 | fs/ext2/ioctl.c | return err; |
err | 76 | fs/ext2/namei.c | int block, toread, i, err; |
err | 98 | fs/ext2/namei.c | bh = ext2_getblk (dir, block, 0, &err); |
err | 153 | fs/ext2/namei.c | bh = ext2_getblk (dir, block + NAMEI_RA_SIZE, 0, &err); |
err | 222 | fs/ext2/namei.c | int *err) |
err | 230 | fs/ext2/namei.c | *err = -EINVAL; |
err | 249 | fs/ext2/namei.c | *err = -ENOENT; |
err | 252 | fs/ext2/namei.c | bh = ext2_bread (dir, 0, 0, err); |
err | 258 | fs/ext2/namei.c | *err = -ENOSPC; |
err | 263 | fs/ext2/namei.c | bh = ext2_bread (dir, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, err); |
err | 268 | fs/ext2/namei.c | *err = -ENOENT; |
err | 288 | fs/ext2/namei.c | *err = -ENOENT; |
err | 293 | fs/ext2/namei.c | *err = -EEXIST; |
err | 327 | fs/ext2/namei.c | *err = 0; |
err | 373 | fs/ext2/namei.c | int err; |
err | 378 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode, &err); |
err | 381 | fs/ext2/namei.c | return err; |
err | 386 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
err | 392 | fs/ext2/namei.c | return err; |
err | 414 | fs/ext2/namei.c | int err; |
err | 424 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode, &err); |
err | 427 | fs/ext2/namei.c | return err; |
err | 450 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
err | 456 | fs/ext2/namei.c | return err; |
err | 477 | fs/ext2/namei.c | int err; |
err | 491 | fs/ext2/namei.c | inode = ext2_new_inode (dir, S_IFDIR, &err); |
err | 494 | fs/ext2/namei.c | return err; |
err | 498 | fs/ext2/namei.c | dir_block = ext2_bread (inode, 0, 1, &err); |
err | 504 | fs/ext2/namei.c | return err; |
err | 524 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
err | 530 | fs/ext2/namei.c | return err; |
err | 557 | fs/ext2/namei.c | int err; |
err | 561 | fs/ext2/namei.c | !(bh = ext2_bread (inode, 0, 0, &err))) { |
err | 581 | fs/ext2/namei.c | bh = ext2_bread (inode, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, &err); |
err | 760 | fs/ext2/namei.c | int i, err; |
err | 764 | fs/ext2/namei.c | if (!(inode = ext2_new_inode (dir, S_IFLNK, &err))) { |
err | 766 | fs/ext2/namei.c | return err; |
err | 777 | fs/ext2/namei.c | name_block = ext2_bread (inode, 0, 1, &err); |
err | 783 | fs/ext2/namei.c | return err; |
err | 812 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
err | 818 | fs/ext2/namei.c | return err; |
err | 839 | fs/ext2/namei.c | int err; |
err | 863 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
err | 867 | fs/ext2/namei.c | return err; |
err | 106 | fs/ext2/symlink.c | int i, err; |
err | 116 | fs/ext2/symlink.c | bh = ext2_bread (inode, 0, 0, &err); |
err | 321 | fs/ext2/truncate.c | int err; |
err | 355 | fs/ext2/truncate.c | 0, &err); |
err | 87 | fs/minix/fsync.c | int rc, err = 0; |
err | 95 | fs/minix/fsync.c | err = rc; |
err | 97 | fs/minix/fsync.c | return err; |
err | 104 | fs/minix/fsync.c | int rc, err = 0; |
err | 117 | fs/minix/fsync.c | err = rc; |
err | 120 | fs/minix/fsync.c | return err; |
err | 128 | fs/minix/fsync.c | int rc, err = 0; |
err | 141 | fs/minix/fsync.c | err = rc; |
err | 144 | fs/minix/fsync.c | return err; |
err | 149 | fs/minix/fsync.c | int wait, err = 0; |
err | 157 | fs/minix/fsync.c | err |= V1_sync_direct(inode, wait); |
err | 158 | fs/minix/fsync.c | err |= V1_sync_indirect(inode, inode->u.minix_i.u.i1_data + 7, wait); |
err | 159 | fs/minix/fsync.c | err |= V1_sync_dindirect(inode, inode->u.minix_i.u.i1_data + 8, wait); |
err | 161 | fs/minix/fsync.c | err |= minix_sync_inode (inode); |
err | 162 | fs/minix/fsync.c | return (err < 0) ? -EIO : 0; |
err | 224 | fs/minix/fsync.c | int rc, err = 0; |
err | 232 | fs/minix/fsync.c | err = rc; |
err | 234 | fs/minix/fsync.c | return err; |
err | 241 | fs/minix/fsync.c | int rc, err = 0; |
err | 254 | fs/minix/fsync.c | err = rc; |
err | 257 | fs/minix/fsync.c | return err; |
err | 265 | fs/minix/fsync.c | int rc, err = 0; |
err | 278 | fs/minix/fsync.c | err = rc; |
err | 281 | fs/minix/fsync.c | return err; |
err | 289 | fs/minix/fsync.c | int rc, err = 0; |
err | 302 | fs/minix/fsync.c | err = rc; |
err | 305 | fs/minix/fsync.c | return err; |
err | 310 | fs/minix/fsync.c | int wait, err = 0; |
err | 318 | fs/minix/fsync.c | err |= V2_sync_direct(inode, wait); |
err | 319 | fs/minix/fsync.c | err |= V2_sync_indirect(inode, |
err | 321 | fs/minix/fsync.c | err |= V2_sync_dindirect(inode, |
err | 323 | fs/minix/fsync.c | err |= V2_sync_tindirect(inode, |
err | 326 | fs/minix/fsync.c | err |= minix_sync_inode (inode); |
err | 327 | fs/minix/fsync.c | return (err < 0) ? -EIO : 0; |
err | 921 | fs/minix/inode.c | int err = 0; |
err | 934 | fs/minix/inode.c | err = -1; |
err | 938 | fs/minix/inode.c | err = -1; |
err | 940 | fs/minix/inode.c | return err; |
err | 61 | fs/read_write.c | int err; |
err | 67 | fs/read_write.c | if ((err = verify_area(VERIFY_WRITE, result, sizeof(loff_t)))) |
err | 68 | fs/read_write.c | return err; |
err | 416 | fs/smbfs/proc.c | s->err = 0; |
err | 427 | fs/smbfs/proc.c | result = -smb_errno(s->rcls, s->err); |
err | 745 | fs/smbfs/proc.c | result = -smb_errno(server->rcls, server->err); |
err | 992 | fs/smbfs/proc.c | && (server->err == ERRnofiles)) { |
err | 2003 | fs/smbfs/proc.c | err_code_struct *err; |
err | 2013 | fs/smbfs/proc.c | err = err_classes[i].err_msgs; |
err | 2014 | fs/smbfs/proc.c | for (j=0; err[j].name; j++) { |
err | 2015 | fs/smbfs/proc.c | if (num != err[j].code) |
err | 2018 | fs/smbfs/proc.c | err_classes[i].class, err[j].name, |
err | 2019 | fs/smbfs/proc.c | err[j].message); |
err | 309 | fs/smbfs/sock.c | server->err = *((unsigned short *)(server->packet+11)); |
err | 313 | fs/smbfs/sock.c | server->rcls, server->err); |
err | 194 | fs/super.c | int err, index; |
err | 196 | fs/super.c | err = getname(__name, &name); |
err | 197 | fs/super.c | if (err) |
err | 198 | fs/super.c | return err; |
err | 214 | fs/super.c | int err, len; |
err | 224 | fs/super.c | err = verify_area(VERIFY_WRITE, buf, len); |
err | 225 | fs/super.c | if (err) |
err | 226 | fs/super.c | return err; |
err | 92 | fs/sysv/fsync.c | int rc, err = 0; |
err | 99 | fs/sysv/fsync.c | err = rc; |
err | 101 | fs/sysv/fsync.c | return err; |
err | 108 | fs/sysv/fsync.c | int rc, err = 0; |
err | 123 | fs/sysv/fsync.c | err = rc; |
err | 126 | fs/sysv/fsync.c | return err; |
err | 134 | fs/sysv/fsync.c | int rc, err = 0; |
err | 149 | fs/sysv/fsync.c | err = rc; |
err | 152 | fs/sysv/fsync.c | return err; |
err | 160 | fs/sysv/fsync.c | int rc, err = 0; |
err | 175 | fs/sysv/fsync.c | err = rc; |
err | 178 | fs/sysv/fsync.c | return err; |
err | 183 | fs/sysv/fsync.c | int wait, err = 0; |
err | 190 | fs/sysv/fsync.c | err |= sync_direct(inode, wait); |
err | 191 | fs/sysv/fsync.c | err |= sync_indirect(inode, inode->u.sysv_i.i_data+10, 0, wait); |
err | 192 | fs/sysv/fsync.c | err |= sync_dindirect(inode, inode->u.sysv_i.i_data+11, 0, wait); |
err | 193 | fs/sysv/fsync.c | err |= sync_tindirect(inode, inode->u.sysv_i.i_data+12, 0, wait); |
err | 195 | fs/sysv/fsync.c | err |= sysv_sync_inode (inode); |
err | 196 | fs/sysv/fsync.c | return (err < 0) ? -EIO : 0; |
err | 952 | fs/sysv/inode.c | int err = 0; |
err | 964 | fs/sysv/inode.c | err = -1; |
err | 968 | fs/sysv/inode.c | err = -1; |
err | 970 | fs/sysv/inode.c | return err; |
err | 35 | fs/umsdos/check.c | static int err = 0; |
err | 40 | fs/umsdos/check.c | if (err == 0) { |
err | 45 | fs/umsdos/check.c | err++; |
err | 49 | fs/umsdos/check.c | if (err) printk ("\nErreur MM %d\n",err); |
err | 62 | fs/umsdos/ioctl.c | int err; |
err | 72 | fs/umsdos/ioctl.c | if ((err = verify_area(VERIFY_WRITE,(void*)data,sizeof(struct umsdos_ioctl))) < 0) { |
err | 73 | fs/umsdos/ioctl.c | ret = err; |
err | 85 | fs/xiafs/fsync.c | int rc, err = 0; |
err | 92 | fs/xiafs/fsync.c | err = rc; |
err | 94 | fs/xiafs/fsync.c | return err; |
err | 101 | fs/xiafs/fsync.c | int rc, err = 0; |
err | 114 | fs/xiafs/fsync.c | err = rc; |
err | 117 | fs/xiafs/fsync.c | return err; |
err | 125 | fs/xiafs/fsync.c | int rc, err = 0; |
err | 138 | fs/xiafs/fsync.c | err = rc; |
err | 141 | fs/xiafs/fsync.c | return err; |
err | 146 | fs/xiafs/fsync.c | int wait, err = 0; |
err | 153 | fs/xiafs/fsync.c | err |= sync_direct(inode, wait); |
err | 154 | fs/xiafs/fsync.c | err |= sync_indirect(inode, &inode->u.xiafs_i.i_ind_zone, wait); |
err | 155 | fs/xiafs/fsync.c | err |= sync_dindirect(inode, &inode->u.xiafs_i.i_dind_zone, wait); |
err | 157 | fs/xiafs/fsync.c | err |= xiafs_sync_inode (inode); |
err | 158 | fs/xiafs/fsync.c | return (err < 0) ? -EIO : 0; |
err | 493 | fs/xiafs/inode.c | int err = 0; |
err | 505 | fs/xiafs/inode.c | err = -1; |
err | 509 | fs/xiafs/inode.c | err = -1; |
err | 511 | fs/xiafs/inode.c | return err; |
err | 43 | include/asm-i386/sigcontext.h | unsigned long err; |
err | 116 | include/linux/net_alias.h | extern struct device * net_alias_dev_get(char *dev_name, int aliasing_ok, int *err, struct sockaddr *sa, void *data); |
err | 444 | include/linux/skbuff.h | extern struct sk_buff * skb_recv_datagram(struct sock *sk,unsigned flags,int noblock, int *err); |
err | 40 | include/linux/smb_fs_sb.h | unsigned short err; |
err | 241 | include/net/sock.h | int err, err_soft; /* Soft holds errors that don't |
err | 513 | include/net/sock.h | int err=xchg(&sk->err,0); |
err | 514 | include/net/sock.h | return -err; |
err | 51 | ipc/msg.c | int id, err; |
err | 68 | ipc/msg.c | err = verify_area (VERIFY_READ, msgp->mtext, msgsz); |
err | 69 | ipc/msg.c | if (err) |
err | 70 | ipc/msg.c | return err; |
err | 193 | ipc/msg.c | int id, err; |
err | 204 | ipc/msg.c | err = verify_area (VERIFY_WRITE, msgp->mtext, msgsz); |
err | 205 | ipc/msg.c | if (err) |
err | 206 | ipc/msg.c | return err; |
err | 485 | ipc/msg.c | int id, err; |
err | 512 | ipc/msg.c | err = verify_area (VERIFY_WRITE, buf, sizeof (struct msginfo)); |
err | 513 | ipc/msg.c | if (err) |
err | 514 | ipc/msg.c | return err; |
err | 521 | ipc/msg.c | err = verify_area (VERIFY_WRITE, buf, sizeof (*buf)); |
err | 522 | ipc/msg.c | if (err) |
err | 523 | ipc/msg.c | return err; |
err | 546 | ipc/msg.c | err = verify_area (VERIFY_READ, buf, sizeof (*buf)); |
err | 547 | ipc/msg.c | if (err) |
err | 548 | ipc/msg.c | return err; |
err | 554 | ipc/msg.c | err = verify_area (VERIFY_WRITE, buf, sizeof(*buf)); |
err | 555 | ipc/msg.c | if (err) |
err | 556 | ipc/msg.c | return err; |
err | 208 | ipc/shm.c | int id, err; |
err | 215 | ipc/shm.c | err = verify_area (VERIFY_READ, buf, sizeof (*buf)); |
err | 216 | ipc/shm.c | if (err) |
err | 217 | ipc/shm.c | return err; |
err | 232 | ipc/shm.c | err = verify_area (VERIFY_WRITE, buf, sizeof (struct shminfo)); |
err | 233 | ipc/shm.c | if (err) |
err | 234 | ipc/shm.c | return err; |
err | 243 | ipc/shm.c | err = verify_area (VERIFY_WRITE, buf, sizeof (shm_info)); |
err | 244 | ipc/shm.c | if (err) |
err | 245 | ipc/shm.c | return err; |
err | 258 | ipc/shm.c | err = verify_area (VERIFY_WRITE, buf, sizeof (*buf)); |
err | 259 | ipc/shm.c | if (err) |
err | 260 | ipc/shm.c | return err; |
err | 311 | ipc/shm.c | err = verify_area (VERIFY_WRITE, buf, sizeof (*buf)); |
err | 312 | ipc/shm.c | if (err) |
err | 313 | ipc/shm.c | return err; |
err | 467 | ipc/shm.c | int err; |
err | 537 | ipc/shm.c | if ((err = shm_map (shmd))) { |
err | 541 | ipc/shm.c | return err; |
err | 260 | kernel/exit.c | int err,retval = -ESRCH; |
err | 267 | kernel/exit.c | if ((err = send_sig(sig,p,priv)) != 0) |
err | 268 | kernel/exit.c | retval = err; |
err | 284 | kernel/exit.c | int err,retval = -ESRCH; |
err | 291 | kernel/exit.c | if ((err = send_sig(sig,p,priv)) != 0) |
err | 292 | kernel/exit.c | retval = err; |
err | 319 | kernel/exit.c | int err, retval = 0, count = 0; |
err | 328 | kernel/exit.c | if ((err = send_sig(sig,p,0)) != -EPERM) |
err | 329 | kernel/exit.c | retval = err; |
err | 130 | kernel/signal.c | int err; |
err | 138 | kernel/signal.c | err = verify_area(VERIFY_READ, handler, 1); |
err | 139 | kernel/signal.c | if (err) |
err | 140 | kernel/signal.c | return err; |
err | 163 | kernel/signal.c | int err = verify_area(VERIFY_READ, action, sizeof(*action)); |
err | 164 | kernel/signal.c | if (err) |
err | 165 | kernel/signal.c | return err; |
err | 172 | kernel/signal.c | err = verify_area(VERIFY_READ, new_sa.sa_handler, 1); |
err | 173 | kernel/signal.c | if (err) |
err | 174 | kernel/signal.c | return err; |
err | 178 | kernel/signal.c | int err = verify_area(VERIFY_WRITE, oldaction, sizeof(*oldaction)); |
err | 179 | kernel/signal.c | if (err) |
err | 180 | kernel/signal.c | return err; |
err | 902 | kernel/sys.c | int err; |
err | 906 | kernel/sys.c | err = verify_area(VERIFY_READ, rlim, sizeof(*rlim)); |
err | 907 | kernel/sys.c | if (err) |
err | 908 | kernel/sys.c | return err; |
err | 361 | net/appletalk/ddp.c | int err; |
err | 376 | net/appletalk/ddp.c | if (!(err=atif->dev->do_ioctl(atif->dev,&atreq,SIOCSIFADDR))) |
err | 389 | net/appletalk/ddp.c | return err; |
err | 739 | net/appletalk/ddp.c | int err=verify_area(ro?VERIFY_READ:VERIFY_WRITE, arg,sizeof(atreq)); |
err | 744 | net/appletalk/ddp.c | if(err) |
err | 745 | net/appletalk/ddp.c | return err; |
err | 868 | net/appletalk/ddp.c | int err; |
err | 871 | net/appletalk/ddp.c | err=verify_area(VERIFY_READ, arg, sizeof(rt)); |
err | 872 | net/appletalk/ddp.c | if(err) |
err | 873 | net/appletalk/ddp.c | return err; |
err | 1020 | net/appletalk/ddp.c | int err,opt; |
err | 1027 | net/appletalk/ddp.c | err=verify_area(VERIFY_READ,optval,sizeof(int)); |
err | 1028 | net/appletalk/ddp.c | if(err) |
err | 1029 | net/appletalk/ddp.c | return err; |
err | 1060 | net/appletalk/ddp.c | int err; |
err | 1081 | net/appletalk/ddp.c | err=verify_area(VERIFY_WRITE,optlen,sizeof(int)); |
err | 1082 | net/appletalk/ddp.c | if(err) |
err | 1083 | net/appletalk/ddp.c | return err; |
err | 1085 | net/appletalk/ddp.c | err=verify_area(VERIFY_WRITE,optval,sizeof(int)); |
err | 1086 | net/appletalk/ddp.c | if (err) |
err | 1087 | net/appletalk/ddp.c | return err; |
err | 1637 | net/appletalk/ddp.c | int err; |
err | 1704 | net/appletalk/ddp.c | skb = sock_alloc_send_skb(sk, size, 0, 0 , &err); |
err | 1706 | net/appletalk/ddp.c | return err; |
err | 1822 | net/appletalk/ddp.c | if(sk->err) |
err | 1877 | net/appletalk/ddp.c | int err; |
err | 1904 | net/appletalk/ddp.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval)); |
err | 1905 | net/appletalk/ddp.c | if(err) |
err | 1906 | net/appletalk/ddp.c | return err; |
err | 1954 | net/appletalk/ddp.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(unsigned long)); |
err | 1955 | net/appletalk/ddp.c | if(err) |
err | 1956 | net/appletalk/ddp.c | return err; |
err | 227 | net/ax25/af_ax25.c | s->sk->err = ENETUNREACH; |
err | 543 | net/ax25/af_ax25.c | int err; |
err | 545 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_READ, arg, sizeof(ax25_ctl))) != 0) |
err | 546 | net/ax25/af_ax25.c | return err; |
err | 567 | net/ax25/af_ax25.c | ax25->sk->err = ENETRESET; |
err | 880 | net/ax25/af_ax25.c | int err, opt; |
err | 893 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0) |
err | 894 | net/ax25/af_ax25.c | return err; |
err | 968 | net/ax25/af_ax25.c | int err; |
err | 1023 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE, optlen, sizeof(int))) != 0) |
err | 1024 | net/ax25/af_ax25.c | return err; |
err | 1028 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0) |
err | 1029 | net/ax25/af_ax25.c | return err; |
err | 1369 | net/ax25/af_ax25.c | int err; |
err | 1427 | net/ax25/af_ax25.c | if ((err = ax25_rt_autobind(sk->ax25, &addr->sax25_call)) < 0) |
err | 1428 | net/ax25/af_ax25.c | return err; |
err | 1937 | net/ax25/af_ax25.c | int err; |
err | 1947 | net/ax25/af_ax25.c | if (sk->err) { |
err | 2009 | net/ax25/af_ax25.c | if ((skb = sock_alloc_send_skb(sk, size, 0, 0, &err)) == NULL) |
err | 2010 | net/ax25/af_ax25.c | return err; |
err | 2080 | net/ax25/af_ax25.c | if (sk->err) { |
err | 2164 | net/ax25/af_ax25.c | int err; |
err | 2169 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned long))) != 0) |
err | 2170 | net/ax25/af_ax25.c | return err; |
err | 2183 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned long))) != 0) |
err | 2184 | net/ax25/af_ax25.c | return err; |
err | 2193 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval))) != 0) |
err | 2194 | net/ax25/af_ax25.c | return err; |
err | 2205 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_READ, (void *)arg, sizeof(struct sockaddr_ax25))) != 0) |
err | 2206 | net/ax25/af_ax25.c | return err; |
err | 2212 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_READ, (void *)arg, sizeof(unsigned long))) != 0) |
err | 2213 | net/ax25/af_ax25.c | return err; |
err | 263 | net/ax25/ax25_in.c | ax25->sk->err = ECONNREFUSED; |
err | 307 | net/ax25/ax25_in.c | ax25->sk->err = 0; |
err | 322 | net/ax25/ax25_in.c | ax25->sk->err = 0; |
err | 337 | net/ax25/ax25_in.c | ax25->sk->err = 0; |
err | 415 | net/ax25/ax25_in.c | ax25->sk->err = 0; |
err | 429 | net/ax25/ax25_in.c | ax25->sk->err = ECONNRESET; |
err | 611 | net/ax25/ax25_in.c | ax25->sk->err = 0; |
err | 626 | net/ax25/ax25_in.c | ax25->sk->err = ECONNRESET; |
err | 262 | net/ax25/ax25_out.c | ax25->sk->err = ENETUNREACH; |
err | 237 | net/ax25/ax25_route.c | int i, err; |
err | 241 | net/ax25/ax25_route.c | if ((err = verify_area(VERIFY_READ, arg, sizeof(route))) != 0) |
err | 242 | net/ax25/ax25_route.c | return err; |
err | 297 | net/ax25/ax25_route.c | if ((err = verify_area(VERIFY_READ, arg, sizeof(route))) != 0) |
err | 298 | net/ax25/ax25_route.c | return err; |
err | 327 | net/ax25/ax25_route.c | if ((err = verify_area(VERIFY_READ, arg, sizeof(rt_option))) != 0) |
err | 328 | net/ax25/ax25_route.c | return err; |
err | 739 | net/ax25/ax25_route.c | int err; |
err | 745 | net/ax25/ax25_route.c | if ((err = verify_area(VERIFY_READ, arg, sizeof(ax25_parms))) != 0) |
err | 746 | net/ax25/ax25_route.c | return err; |
err | 803 | net/ax25/ax25_route.c | if ((err = verify_area(VERIFY_WRITE, arg, sizeof(struct ax25_parms_struct))) != 0) |
err | 804 | net/ax25/ax25_route.c | return err; |
err | 884 | net/ax25/ax25_route.c | int err; |
err | 888 | net/ax25/ax25_route.c | if ((err = verify_area(VERIFY_READ, arg, sizeof(bpqaddr))) != 0) |
err | 889 | net/ax25/ax25_route.c | return err; |
err | 158 | net/ax25/ax25_timer.c | ax25->sk->err = ETIMEDOUT; |
err | 202 | net/ax25/ax25_timer.c | ax25->sk->err = 0; |
err | 247 | net/ax25/ax25_timer.c | ax25->sk->err = ETIMEDOUT; |
err | 279 | net/ax25/ax25_timer.c | ax25->sk->err = ETIMEDOUT; |
err | 310 | net/ax25/ax25_timer.c | ax25->sk->err = ETIMEDOUT; |
err | 1423 | net/bridge/br.c | int err; |
err | 1430 | net/bridge/br.c | err = verify_area(VERIFY_WRITE, arg, |
err | 1432 | net/bridge/br.c | if(err) |
err | 1433 | net/bridge/br.c | return err; |
err | 1441 | net/bridge/br.c | err = verify_area(VERIFY_READ, arg, |
err | 1443 | net/bridge/br.c | if(err) |
err | 1444 | net/bridge/br.c | return err; |
err | 75 | net/core/datagram.c | struct sk_buff *skb_recv_datagram(struct sock *sk, unsigned flags, int noblock, int *err) |
err | 134 | net/core/datagram.c | *err = error; |
err | 185 | net/core/datagram.c | if (sk->err) |
err | 202 | net/core/datagram.c | if (sk->err) |
err | 222 | net/core/datagram.c | if (sk->err) |
err | 791 | net/core/dev.c | int err; |
err | 797 | net/core/dev.c | err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifconf)); |
err | 798 | net/core/dev.c | if(err) |
err | 799 | net/core/dev.c | return err; |
err | 809 | net/core/dev.c | err=verify_area(VERIFY_WRITE,pos,len); |
err | 810 | net/core/dev.c | if(err) |
err | 811 | net/core/dev.c | return err; |
err | 965 | net/core/dev.c | int err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifreq)); |
err | 966 | net/core/dev.c | if(err) |
err | 967 | net/core/dev.c | return err; |
err | 987 | net/core/dev.c | if ((dev = net_alias_dev_get(ifr.ifr_name, getset == SIOCSIFADDR, &err, NULL, NULL)) == NULL) |
err | 988 | net/core/dev.c | return(err); |
err | 30 | net/core/iovec.c | int err=0; |
err | 37 | net/core/iovec.c | err=move_addr_to_kernel(m->msg_name, m->msg_namelen, address); |
err | 39 | net/core/iovec.c | err=verify_area(mode, m->msg_name, m->msg_namelen); |
err | 40 | net/core/iovec.c | if(err<0) |
err | 41 | net/core/iovec.c | return err; |
err | 46 | net/core/iovec.c | err=verify_area(mode, m->msg_accrights, m->msg_accrightslen); |
err | 47 | net/core/iovec.c | if(err) |
err | 48 | net/core/iovec.c | return err; |
err | 53 | net/core/iovec.c | err=verify_area(VERIFY_READ, &m->msg_iov[ct], sizeof(struct iovec)); |
err | 54 | net/core/iovec.c | if(err) |
err | 55 | net/core/iovec.c | return err; |
err | 57 | net/core/iovec.c | err=verify_area(mode, iov[ct].iov_base, iov[ct].iov_len); |
err | 58 | net/core/iovec.c | if(err) |
err | 59 | net/core/iovec.c | return err; |
err | 74 | net/core/net_alias.c | static struct device *net_alias_dev_create(struct device *main_dev, int slot, int *err, struct sockaddr *sa, void *data); |
err | 75 | net/core/net_alias.c | static struct device *net_alias_dev_delete(struct device *main_dev, int slot, int *err); |
err | 333 | net/core/net_alias.c | net_alias_dev_create(struct device *main_dev, int slot, int *err, struct sockaddr *sa, void *data) |
err | 369 | net/core/net_alias.c | *err = -EINVAL; |
err | 380 | net/core/net_alias.c | *err = -EIO; |
err | 389 | net/core/net_alias.c | *err = -ENOMEM; |
err | 479 | net/core/net_alias.c | net_alias_dev_delete(struct device *main_dev, int slot, int *err) |
err | 490 | net/core/net_alias.c | *err = -ENODEV; |
err | 590 | net/core/net_alias.c | *err = 0; |
err | 675 | net/core/net_alias.c | net_alias_dev_get(char *dev_name, int aliasing_ok, int *err, |
err | 683 | net/core/net_alias.c | *err = -ENODEV; |
err | 734 | net/core/net_alias.c | return net_alias_dev_delete(dev, slot, err); |
err | 736 | net/core/net_alias.c | return net_alias_dev_create(dev, slot, err, sa, data); |
err | 128 | net/core/sock.c | int err; |
err | 147 | net/core/sock.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
err | 148 | net/core/sock.c | if(err) |
err | 149 | net/core/sock.c | return err; |
err | 214 | net/core/sock.c | err=verify_area(VERIFY_READ,optval,sizeof(ling)); |
err | 215 | net/core/sock.c | if(err) |
err | 216 | net/core/sock.c | return err; |
err | 241 | net/core/sock.c | int err; |
err | 297 | net/core/sock.c | err=verify_area(VERIFY_WRITE,optval,sizeof(ling)); |
err | 298 | net/core/sock.c | if(err) |
err | 299 | net/core/sock.c | return err; |
err | 300 | net/core/sock.c | err=verify_area(VERIFY_WRITE,optlen,sizeof(int)); |
err | 301 | net/core/sock.c | if(err) |
err | 302 | net/core/sock.c | return err; |
err | 316 | net/core/sock.c | err=verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 317 | net/core/sock.c | if(err) |
err | 318 | net/core/sock.c | return err; |
err | 321 | net/core/sock.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
err | 322 | net/core/sock.c | if(err) |
err | 323 | net/core/sock.c | return err; |
err | 440 | net/core/sock.c | int err; |
err | 444 | net/core/sock.c | if(sk->err!=0) |
err | 447 | net/core/sock.c | err= -sk->err; |
err | 448 | net/core/sock.c | sk->err=0; |
err | 450 | net/core/sock.c | *errcode=err; |
err | 586 | net/ipv4/af_inet.c | int err; |
err | 725 | net/ipv4/af_inet.c | err = sk->prot->init(sk); |
err | 726 | net/ipv4/af_inet.c | if (err != 0) |
err | 729 | net/ipv4/af_inet.c | return(err); |
err | 936 | net/ipv4/af_inet.c | int err; |
err | 948 | net/ipv4/af_inet.c | if(sk->err!=0) |
err | 959 | net/ipv4/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
err | 960 | net/ipv4/af_inet.c | if (err < 0) |
err | 961 | net/ipv4/af_inet.c | return(err); |
err | 985 | net/ipv4/af_inet.c | if(sk->err && sk->protocol == IPPROTO_TCP) |
err | 995 | net/ipv4/af_inet.c | if (sk->state != TCP_ESTABLISHED && sk->err) |
err | 1017 | net/ipv4/af_inet.c | int err; |
err | 1077 | net/ipv4/af_inet.c | if (sk2->state != TCP_ESTABLISHED && sk2->err > 0) |
err | 1079 | net/ipv4/af_inet.c | err = sock_error(sk2); |
err | 1082 | net/ipv4/af_inet.c | return err; |
err | 1132 | net/ipv4/af_inet.c | if(sk->err) |
err | 1152 | net/ipv4/af_inet.c | if(sk->err) |
err | 1209 | net/ipv4/af_inet.c | int err; |
err | 1216 | net/ipv4/af_inet.c | err=verify_area(VERIFY_READ,(int *)arg,sizeof(long)); |
err | 1217 | net/ipv4/af_inet.c | if(err) |
err | 1218 | net/ipv4/af_inet.c | return err; |
err | 1227 | net/ipv4/af_inet.c | err=verify_area(VERIFY_WRITE,(void *) arg, sizeof(long)); |
err | 1228 | net/ipv4/af_inet.c | if(err) |
err | 1229 | net/ipv4/af_inet.c | return err; |
err | 1235 | net/ipv4/af_inet.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval)); |
err | 1236 | net/ipv4/af_inet.c | if(err) |
err | 1237 | net/ipv4/af_inet.c | return err; |
err | 1445 | net/ipv4/arp.c | skb->sk->err = EHOSTDOWN; |
err | 2088 | net/ipv4/arp.c | int err; |
err | 2100 | net/ipv4/arp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq)); |
err | 2101 | net/ipv4/arp.c | if (err) |
err | 2102 | net/ipv4/arp.c | return err; |
err | 2110 | net/ipv4/arp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq_old)); |
err | 2111 | net/ipv4/arp.c | if (err) |
err | 2112 | net/ipv4/arp.c | return err; |
err | 2155 | net/ipv4/arp.c | err = arp_req_delete(&r, dev); |
err | 2157 | net/ipv4/arp.c | if (!err) |
err | 2160 | net/ipv4/arp.c | err = arp_req_delete(&r, dev); |
err | 2161 | net/ipv4/arp.c | return err; |
err | 2163 | net/ipv4/arp.c | err = arp_req_set(&r, dev); |
err | 2174 | net/ipv4/arp.c | return err; |
err | 2176 | net/ipv4/arp.c | err = verify_area(VERIFY_WRITE, arg, sizeof(struct arpreq)); |
err | 2177 | net/ipv4/arp.c | if (err) |
err | 2178 | net/ipv4/arp.c | return err; |
err | 2179 | net/ipv4/arp.c | err = arp_req_get(&r, dev); |
err | 2180 | net/ipv4/arp.c | if (!err) |
err | 2182 | net/ipv4/arp.c | return err; |
err | 2184 | net/ipv4/arp.c | err = verify_area(VERIFY_WRITE, arg, sizeof(struct arpreq_old)); |
err | 2185 | net/ipv4/arp.c | if (err) |
err | 2186 | net/ipv4/arp.c | return err; |
err | 2188 | net/ipv4/arp.c | err = arp_req_get(&r, dev); |
err | 2189 | net/ipv4/arp.c | if (err < 0) |
err | 2192 | net/ipv4/arp.c | err = arp_req_get(&r, dev); |
err | 2194 | net/ipv4/arp.c | if (!err) |
err | 2196 | net/ipv4/arp.c | return err; |
err | 1032 | net/ipv4/icmp.c | int err; |
err | 1035 | net/ipv4/icmp.c | if((err=ops->create(&icmp_socket, IPPROTO_ICMP))<0) |
err | 214 | net/ipv4/ip_input.c | int err; |
err | 307 | net/ipv4/ip_input.c | if ((err=call_in_firewall(PF_INET, skb->dev, iph))<FW_ACCEPT) |
err | 309 | net/ipv4/ip_input.c | if(err==FW_REJECT) |
err | 536 | net/ipv4/ip_output.c | sk->err = ENETDOWN; |
err | 1009 | net/ipv4/ip_output.c | sk->err=ENETDOWN; |
err | 114 | net/ipv4/ip_sockglue.c | int val,err; |
err | 126 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
err | 127 | net/ipv4/ip_sockglue.c | if(err) |
err | 128 | net/ipv4/ip_sockglue.c | return err; |
err | 150 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_READ, optval, optlen); |
err | 151 | net/ipv4/ip_sockglue.c | if (err) |
err | 152 | net/ipv4/ip_sockglue.c | return err; |
err | 231 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(addr)); |
err | 232 | net/ipv4/ip_sockglue.c | if(err) |
err | 233 | net/ipv4/ip_sockglue.c | return err; |
err | 281 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(mreq)); |
err | 282 | net/ipv4/ip_sockglue.c | if(err) |
err | 283 | net/ipv4/ip_sockglue.c | return err; |
err | 338 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(mreq)); |
err | 339 | net/ipv4/ip_sockglue.c | if(err) |
err | 340 | net/ipv4/ip_sockglue.c | return err; |
err | 405 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ,optval,optlen); |
err | 406 | net/ipv4/ip_sockglue.c | if(err) |
err | 407 | net/ipv4/ip_sockglue.c | return err; |
err | 409 | net/ipv4/ip_sockglue.c | err=ip_fw_ctl(optname, &tmp_fw,optlen); |
err | 410 | net/ipv4/ip_sockglue.c | return -err; /* -0 is 0 after all */ |
err | 423 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ,optval,optlen); |
err | 424 | net/ipv4/ip_sockglue.c | if(err) |
err | 425 | net/ipv4/ip_sockglue.c | return err; |
err | 427 | net/ipv4/ip_sockglue.c | err=ip_acct_ctl(optname, &tmp_fw,optlen); |
err | 428 | net/ipv4/ip_sockglue.c | return -err; /* -0 is 0 after all */ |
err | 443 | net/ipv4/ip_sockglue.c | int val,err; |
err | 464 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 465 | net/ipv4/ip_sockglue.c | if (err) |
err | 466 | net/ipv4/ip_sockglue.c | return err; |
err | 477 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_WRITE, optval, opt->optlen); |
err | 478 | net/ipv4/ip_sockglue.c | if (err) |
err | 479 | net/ipv4/ip_sockglue.c | return err; |
err | 530 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 531 | net/ipv4/ip_sockglue.c | if(err) |
err | 532 | net/ipv4/ip_sockglue.c | return err; |
err | 534 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optval, len); |
err | 535 | net/ipv4/ip_sockglue.c | if(err) |
err | 536 | net/ipv4/ip_sockglue.c | return err; |
err | 544 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 545 | net/ipv4/ip_sockglue.c | if(err) |
err | 546 | net/ipv4/ip_sockglue.c | return err; |
err | 549 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
err | 550 | net/ipv4/ip_sockglue.c | if(err) |
err | 551 | net/ipv4/ip_sockglue.c | return err; |
err | 57 | net/ipv4/ipip.c | int err; |
err | 88 | net/ipv4/ipip.c | if((err=call_in_firewall(PF_INET, skb->dev, skb->ip_hdr))<FW_ACCEPT) |
err | 90 | net/ipv4/ipip.c | if(err==FW_REJECT) |
err | 429 | net/ipv4/ipmr.c | int err; |
err | 446 | net/ipv4/ipmr.c | if((err=verify_area(VERIFY_READ,optval,sizeof(int)))<0) |
err | 447 | net/ipv4/ipmr.c | return err; |
err | 463 | net/ipv4/ipmr.c | if((err=verify_area(VERIFY_READ, optval, sizeof(vif)))<0) |
err | 464 | net/ipv4/ipmr.c | return err; |
err | 540 | net/ipv4/ipmr.c | err=verify_area(VERIFY_READ, optval, sizeof(mfc)); |
err | 541 | net/ipv4/ipmr.c | if(err) |
err | 542 | net/ipv4/ipmr.c | return err; |
err | 551 | net/ipv4/ipmr.c | if((err=verify_area(VERIFY_READ, optval,sizeof(int)))<0) |
err | 552 | net/ipv4/ipmr.c | return err; |
err | 571 | net/ipv4/ipmr.c | int err; |
err | 581 | net/ipv4/ipmr.c | err=verify_area(VERIFY_WRITE, optval,sizeof(int)); |
err | 582 | net/ipv4/ipmr.c | if(err) |
err | 583 | net/ipv4/ipmr.c | return err; |
err | 598 | net/ipv4/ipmr.c | int err; |
err | 606 | net/ipv4/ipmr.c | err=verify_area(VERIFY_WRITE, (void *)arg, sizeof(vr)); |
err | 607 | net/ipv4/ipmr.c | if(err) |
err | 608 | net/ipv4/ipmr.c | return err; |
err | 624 | net/ipv4/ipmr.c | err=verify_area(VERIFY_WRITE, (void *)arg, sizeof(sr)); |
err | 625 | net/ipv4/ipmr.c | if(err) |
err | 626 | net/ipv4/ipmr.c | return err; |
err | 332 | net/ipv4/packet.c | int err=packet_attach(sk, dev); |
err | 333 | net/ipv4/packet.c | if(err) |
err | 336 | net/ipv4/packet.c | return err; |
err | 378 | net/ipv4/packet.c | int err=packet_attach(sk, NULL); |
err | 379 | net/ipv4/packet.c | if(err) |
err | 380 | net/ipv4/packet.c | return err; |
err | 406 | net/ipv4/packet.c | int err; |
err | 432 | net/ipv4/packet.c | skb=skb_recv_datagram(sk,flags,noblock,&err); |
err | 441 | net/ipv4/packet.c | return err; |
err | 447 | net/ipv4/rarp.c | int err; |
err | 454 | net/ipv4/rarp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq)); |
err | 455 | net/ipv4/rarp.c | if(err) |
err | 456 | net/ipv4/rarp.c | return err; |
err | 465 | net/ipv4/rarp.c | err = verify_area(VERIFY_WRITE, arg, sizeof(struct arpreq)); |
err | 466 | net/ipv4/rarp.c | if(err) |
err | 467 | net/ipv4/rarp.c | return err; |
err | 472 | net/ipv4/rarp.c | err = verify_area(VERIFY_READ, arg, sizeof(struct arpreq)); |
err | 473 | net/ipv4/rarp.c | if(err) |
err | 474 | net/ipv4/rarp.c | return err; |
err | 99 | net/ipv4/raw.c | sk->err = EPROTO; |
err | 105 | net/ipv4/raw.c | sk->err = icmp_err_convert[code & 0xff].errno; |
err | 215 | net/ipv4/raw.c | int err; |
err | 264 | net/ipv4/raw.c | err=ip_build_xmit(sk, raw_getrawfrag, from, len, sin.sin_addr.s_addr, 0, sk->opt, flags, sin.sin_port, noblock); |
err | 270 | net/ipv4/raw.c | err=ip_build_xmit(sk, raw_getfrag, from, len, sin.sin_addr.s_addr, 0, sk->opt, flags, sin.sin_port, noblock); |
err | 272 | net/ipv4/raw.c | return err<0?err:len; |
err | 294 | net/ipv4/raw.c | int err; |
err | 303 | net/ipv4/raw.c | err=raw_sendto(sk,buf,len, noblock, flags, msg->msg_name, msg->msg_namelen); |
err | 306 | net/ipv4/raw.c | return err; |
err | 340 | net/ipv4/raw.c | int err; |
err | 352 | net/ipv4/raw.c | skb=skb_recv_datagram(sk,flags,noblock,&err); |
err | 354 | net/ipv4/raw.c | return err; |
err | 1614 | net/ipv4/route.c | int err; |
err | 1627 | net/ipv4/route.c | err = getname(devname, &devname); |
err | 1628 | net/ipv4/route.c | if (err) |
err | 1629 | net/ipv4/route.c | return err; |
err | 1730 | net/ipv4/route.c | int err; |
err | 1738 | net/ipv4/route.c | err = getname(devname, &devname); |
err | 1739 | net/ipv4/route.c | if (err) |
err | 1740 | net/ipv4/route.c | return err; |
err | 1750 | net/ipv4/route.c | err=rt_del((__u32)trg->sin_addr.s_addr, (__u32)msk->sin_addr.s_addr, dev, |
err | 1752 | net/ipv4/route.c | return err; |
err | 1761 | net/ipv4/route.c | int err; |
err | 1770 | net/ipv4/route.c | err=verify_area(VERIFY_READ, arg, sizeof(struct rtentry)); |
err | 1771 | net/ipv4/route.c | if (err) |
err | 1772 | net/ipv4/route.c | return err; |
err | 532 | net/ipv4/tcp.c | sk->err=EPROTO; |
err | 567 | net/ipv4/tcp.c | sk->err = icmp_err_convert[code].errno; |
err | 692 | net/ipv4/tcp.c | if (sk->err) |
err | 710 | net/ipv4/tcp.c | if (sk->err) |
err | 736 | net/ipv4/tcp.c | int err; |
err | 753 | net/ipv4/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, sizeof(int)); |
err | 754 | net/ipv4/tcp.c | if(err) |
err | 755 | net/ipv4/tcp.c | return err; |
err | 763 | net/ipv4/tcp.c | err = verify_area(VERIFY_WRITE,(void *) arg, sizeof(int)); |
err | 764 | net/ipv4/tcp.c | if (err) |
err | 765 | net/ipv4/tcp.c | return err; |
err | 775 | net/ipv4/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, sizeof(int)); |
err | 776 | net/ipv4/tcp.c | if(err) |
err | 777 | net/ipv4/tcp.c | return err; |
err | 843 | net/ipv4/tcp.c | if (sk->state != TCP_ESTABLISHED && sk->state != TCP_CLOSE_WAIT && sk->err == 0) |
err | 860 | net/ipv4/tcp.c | && sk->err == 0) |
err | 887 | net/ipv4/tcp.c | if (sk->err) |
err | 925 | net/ipv4/tcp.c | if (sk->err) |
err | 1124 | net/ipv4/tcp.c | sk->err = 0; |
err | 1220 | net/ipv4/tcp.c | if (sk->err) |
err | 1402 | net/ipv4/tcp.c | if (sk->err) |
err | 1830 | net/ipv4/tcp.c | sk->err = error; |
err | 1895 | net/ipv4/tcp.c | sk->err = 0; |
err | 2021 | net/ipv4/tcp.c | int val,err; |
err | 2029 | net/ipv4/tcp.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
err | 2030 | net/ipv4/tcp.c | if(err) |
err | 2031 | net/ipv4/tcp.c | return err; |
err | 2057 | net/ipv4/tcp.c | int val,err; |
err | 2073 | net/ipv4/tcp.c | err=verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 2074 | net/ipv4/tcp.c | if(err) |
err | 2075 | net/ipv4/tcp.c | return err; |
err | 2078 | net/ipv4/tcp.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
err | 2079 | net/ipv4/tcp.c | if(err) |
err | 2080 | net/ipv4/tcp.c | return err; |
err | 216 | net/ipv4/tcp_input.c | sk->err = ECONNRESET; |
err | 218 | net/ipv4/tcp_input.c | sk->err = ECONNREFUSED; |
err | 220 | net/ipv4/tcp_input.c | sk->err = EPIPE; |
err | 421 | net/ipv4/tcp_input.c | newsk->err = 0; |
err | 1445 | net/ipv4/tcp_input.c | sk->err = EPIPE; |
err | 1859 | net/ipv4/tcp_input.c | sk->err=ECONNRESET; |
err | 679 | net/ipv4/tcp_output.c | sk->err = ENOMEM; |
err | 702 | net/ipv4/tcp_output.c | sk->err = tmp; |
err | 137 | net/ipv4/tcp_timer.c | sk->err=sk->err_soft; |
err | 139 | net/ipv4/tcp_timer.c | sk->err=ETIMEDOUT; |
err | 153 | net/ipv4/tcp_timer.c | sk->err = sk->err_soft; |
err | 155 | net/ipv4/tcp_timer.c | sk->err = ETIMEDOUT; |
err | 178 | net/ipv4/udp.c | sk->err = EPROTO; |
err | 203 | net/ipv4/udp.c | sk->err = icmp_err_convert[code].errno; |
err | 422 | net/ipv4/udp.c | int err; |
err | 431 | net/ipv4/udp.c | err=udp_sendto(sk,buf,len, noblock, flags, msg->msg_name, msg->msg_namelen); |
err | 434 | net/ipv4/udp.c | return err; |
err | 444 | net/ipv4/udp.c | int err; |
err | 453 | net/ipv4/udp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
err | 455 | net/ipv4/udp.c | if(err) |
err | 456 | net/ipv4/udp.c | return(err); |
err | 477 | net/ipv4/udp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
err | 479 | net/ipv4/udp.c | if(err) |
err | 480 | net/ipv4/udp.c | return(err); |
err | 306 | net/ipx/af_ipx.c | s->err = ENOLINK; |
err | 1020 | net/ipx/af_ipx.c | int err; |
err | 1028 | net/ipx/af_ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(ifr)); |
err | 1029 | net/ipx/af_ipx.c | if(err) |
err | 1030 | net/ipx/af_ipx.c | return err; |
err | 1051 | net/ipx/af_ipx.c | err=verify_area(VERIFY_WRITE,arg,sizeof(ifr)); |
err | 1052 | net/ipx/af_ipx.c | if(err) |
err | 1053 | net/ipx/af_ipx.c | return err; |
err | 1069 | net/ipx/af_ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(char)); |
err | 1070 | net/ipx/af_ipx.c | if(err) |
err | 1071 | net/ipx/af_ipx.c | return err; |
err | 1074 | net/ipx/af_ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(char)); |
err | 1075 | net/ipx/af_ipx.c | if(err) |
err | 1076 | net/ipx/af_ipx.c | return err; |
err | 1251 | net/ipx/af_ipx.c | int err; |
err | 1272 | net/ipx/af_ipx.c | skb=sock_alloc_send_skb(sk, size, 0, 0, &err); |
err | 1274 | net/ipx/af_ipx.c | return err; |
err | 1292 | net/ipx/af_ipx.c | if ((err = ntohs(sk->protinfo.af_ipx.port)) == 0x453 || err == 0x452) |
err | 1357 | net/ipx/af_ipx.c | int err; |
err | 1361 | net/ipx/af_ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(rt)); |
err | 1362 | net/ipx/af_ipx.c | if(err) |
err | 1363 | net/ipx/af_ipx.c | return err; |
err | 1592 | net/ipx/af_ipx.c | int err,opt; |
err | 1599 | net/ipx/af_ipx.c | err=verify_area(VERIFY_READ,optval,sizeof(int)); |
err | 1600 | net/ipx/af_ipx.c | if(err) |
err | 1601 | net/ipx/af_ipx.c | return err; |
err | 1630 | net/ipx/af_ipx.c | int err; |
err | 1654 | net/ipx/af_ipx.c | err=verify_area(VERIFY_WRITE,optlen,sizeof(int)); |
err | 1655 | net/ipx/af_ipx.c | if(err) |
err | 1656 | net/ipx/af_ipx.c | return err; |
err | 1658 | net/ipx/af_ipx.c | err=verify_area(VERIFY_WRITE,optval,sizeof(int)); |
err | 1659 | net/ipx/af_ipx.c | if (err) return err; |
err | 2126 | net/ipx/af_ipx.c | if(sk->err) |
err | 2171 | net/ipx/af_ipx.c | int err; |
err | 2178 | net/ipx/af_ipx.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(unsigned long)); |
err | 2179 | net/ipx/af_ipx.c | if(err) |
err | 2180 | net/ipx/af_ipx.c | return err; |
err | 2192 | net/ipx/af_ipx.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(unsigned long)); |
err | 2193 | net/ipx/af_ipx.c | if(err) |
err | 2194 | net/ipx/af_ipx.c | return err; |
err | 2212 | net/ipx/af_ipx.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
err | 2214 | net/ipx/af_ipx.c | if(err) return err; |
err | 2222 | net/ipx/af_ipx.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval)); |
err | 2223 | net/ipx/af_ipx.c | if(err) |
err | 2224 | net/ipx/af_ipx.c | return err; |
err | 111 | net/netrom/af_netrom.c | s->err = ENETUNREACH; |
err | 295 | net/netrom/af_netrom.c | int err; |
err | 297 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_READ, arg, sizeof(nr_ctl))) != 0) |
err | 298 | net/netrom/af_netrom.c | return err; |
err | 311 | net/netrom/af_netrom.c | sk->err = ENETRESET; |
err | 365 | net/netrom/af_netrom.c | int err, opt; |
err | 378 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0) |
err | 379 | net/netrom/af_netrom.c | return err; |
err | 422 | net/netrom/af_netrom.c | int err; |
err | 457 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, optlen, sizeof(int))) != 0) |
err | 458 | net/netrom/af_netrom.c | return err; |
err | 462 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0) |
err | 463 | net/netrom/af_netrom.c | return err; |
err | 1069 | net/netrom/af_netrom.c | int err; |
err | 1075 | net/netrom/af_netrom.c | if (sk->err) |
err | 1111 | net/netrom/af_netrom.c | if ((skb = sock_alloc_send_skb(sk, size, 0, 0, &err)) == NULL) |
err | 1112 | net/netrom/af_netrom.c | return err; |
err | 1177 | net/netrom/af_netrom.c | if (sk->err) |
err | 1233 | net/netrom/af_netrom.c | int err; |
err | 1238 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned long))) != 0) |
err | 1239 | net/netrom/af_netrom.c | return err; |
err | 1251 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned long))) != 0) |
err | 1252 | net/netrom/af_netrom.c | return err; |
err | 1261 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval))) != 0) |
err | 1262 | net/netrom/af_netrom.c | return err; |
err | 1289 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct nr_parms_struct))) != 0) |
err | 1290 | net/netrom/af_netrom.c | return err; |
err | 1300 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_READ, (void *)arg, sizeof(struct nr_parms_struct))) != 0) |
err | 1301 | net/netrom/af_netrom.c | return err; |
err | 125 | net/netrom/nr_in.c | sk->err = ECONNREFUSED; |
err | 153 | net/netrom/nr_in.c | sk->err = 0; |
err | 193 | net/netrom/nr_in.c | sk->err = 0; |
err | 203 | net/netrom/nr_in.c | sk->err = ECONNRESET; |
err | 53 | net/netrom/nr_out.c | int err, frontlen, len, mtu; |
err | 65 | net/netrom/nr_out.c | if ((skbn = sock_alloc_send_skb(sk, frontlen + mtu, 0, 0, &err)) == NULL) |
err | 231 | net/netrom/nr_out.c | sk->err = ENETUNREACH; |
err | 568 | net/netrom/nr_route.c | int err; |
err | 574 | net/netrom/nr_route.c | if ((err = verify_area(VERIFY_READ, arg, sizeof(struct nr_route_struct))) != 0) |
err | 575 | net/netrom/nr_route.c | return err; |
err | 594 | net/netrom/nr_route.c | if ((err = verify_area(VERIFY_READ, arg, sizeof(struct nr_route_struct))) != 0) |
err | 595 | net/netrom/nr_route.c | return err; |
err | 614 | net/netrom/nr_route.c | if ((err = verify_area(VERIFY_READ, arg, sizeof(int))) != 0) |
err | 615 | net/netrom/nr_route.c | return err; |
err | 146 | net/netrom/nr_timer.c | sk->err = ETIMEDOUT; |
err | 161 | net/netrom/nr_timer.c | sk->err = ETIMEDOUT; |
err | 176 | net/netrom/nr_timer.c | sk->err = ETIMEDOUT; |
err | 134 | net/socket.c | int err; |
err | 139 | net/socket.c | if((err=verify_area(VERIFY_READ,uaddr,ulen))<0) |
err | 140 | net/socket.c | return err; |
err | 147 | net/socket.c | int err; |
err | 151 | net/socket.c | if((err=verify_area(VERIFY_WRITE,ulen,sizeof(*ulen)))<0) |
err | 152 | net/socket.c | return err; |
err | 160 | net/socket.c | if((err=verify_area(VERIFY_WRITE,uaddr,len))<0) |
err | 161 | net/socket.c | return err; |
err | 337 | net/socket.c | int err; |
err | 349 | net/socket.c | if ((err=verify_area(VERIFY_WRITE,ubuf,size))<0) |
err | 350 | net/socket.c | return err; |
err | 369 | net/socket.c | int err; |
err | 383 | net/socket.c | if ((err=verify_area(VERIFY_READ,ubuf,size))<0) |
err | 384 | net/socket.c | return err; |
err | 678 | net/socket.c | int err; |
err | 686 | net/socket.c | if((err=move_addr_to_kernel(umyaddr,addrlen,address))<0) |
err | 687 | net/socket.c | return err; |
err | 706 | net/socket.c | int err=-EOPNOTSUPP; |
err | 718 | net/socket.c | err=sock->ops->listen(sock, backlog); |
err | 719 | net/socket.c | if(!err) |
err | 722 | net/socket.c | return(err); |
err | 803 | net/socket.c | int err; |
err | 810 | net/socket.c | if((err=move_addr_to_kernel(uservaddr,addrlen,address))<0) |
err | 811 | net/socket.c | return err; |
err | 853 | net/socket.c | int err; |
err | 860 | net/socket.c | err=sock->ops->getname(sock, (struct sockaddr *)address, &len, 0); |
err | 861 | net/socket.c | if(err) |
err | 862 | net/socket.c | return err; |
err | 863 | net/socket.c | if((err=move_addr_to_user(address,len, usockaddr, usockaddr_len))<0) |
err | 864 | net/socket.c | return err; |
err | 878 | net/socket.c | int err; |
err | 885 | net/socket.c | err=sock->ops->getname(sock, (struct sockaddr *)address, &len, 1); |
err | 886 | net/socket.c | if(err) |
err | 887 | net/socket.c | return err; |
err | 888 | net/socket.c | if((err=move_addr_to_user(address,len, usockaddr, usockaddr_len))<0) |
err | 889 | net/socket.c | return err; |
err | 902 | net/socket.c | int err; |
err | 913 | net/socket.c | err=verify_area(VERIFY_READ, buff, len); |
err | 914 | net/socket.c | if(err) |
err | 915 | net/socket.c | return err; |
err | 938 | net/socket.c | int err; |
err | 949 | net/socket.c | err=verify_area(VERIFY_READ,buff,len); |
err | 950 | net/socket.c | if(err) |
err | 951 | net/socket.c | return err; |
err | 953 | net/socket.c | if((err=move_addr_to_kernel(addr,addr_len,address))<0) |
err | 954 | net/socket.c | return err; |
err | 978 | net/socket.c | int err; |
err | 990 | net/socket.c | err=verify_area(VERIFY_WRITE, ubuf, size); |
err | 991 | net/socket.c | if(err) |
err | 992 | net/socket.c | return err; |
err | 1018 | net/socket.c | int err; |
err | 1029 | net/socket.c | err=verify_area(VERIFY_WRITE,ubuf,size); |
err | 1030 | net/socket.c | if(err) |
err | 1031 | net/socket.c | return err; |
err | 1045 | net/socket.c | if(addr!=NULL && (err=move_addr_to_user(address,alen, addr, addr_len))<0) |
err | 1046 | net/socket.c | return err; |
err | 1118 | net/socket.c | int err; |
err | 1130 | net/socket.c | err=verify_area(VERIFY_READ, msg,sizeof(struct msghdr)); |
err | 1131 | net/socket.c | if(err) |
err | 1132 | net/socket.c | return err; |
err | 1141 | net/socket.c | err = verify_iovec(&msg_sys, iov, address, VERIFY_READ); |
err | 1142 | net/socket.c | if (err < 0) |
err | 1143 | net/socket.c | return err; |
err | 1144 | net/socket.c | total_len=err; |
err | 1159 | net/socket.c | int err; |
err | 1176 | net/socket.c | err=verify_area(VERIFY_READ, msg,sizeof(struct msghdr)); |
err | 1177 | net/socket.c | if(err) |
err | 1178 | net/socket.c | return err; |
err | 1189 | net/socket.c | err=verify_iovec(&msg_sys,iov,addr, VERIFY_WRITE); |
err | 1190 | net/socket.c | if(err<0) |
err | 1191 | net/socket.c | return err; |
err | 1193 | net/socket.c | total_len=err; |
err | 1202 | net/socket.c | err = move_addr_to_user(addr, addr_len, uaddr, uaddr_len); |
err | 1203 | net/socket.c | if (err) |
err | 1204 | net/socket.c | return err; |
err | 369 | net/unix/af_unix.c | int err; |
err | 375 | net/unix/af_unix.c | err = open_namei(path, 2, S_IFSOCK, &inode, NULL); |
err | 377 | net/unix/af_unix.c | if(err<0) |
err | 379 | net/unix/af_unix.c | *error=err; |
err | 398 | net/unix/af_unix.c | int err; |
err | 420 | net/unix/af_unix.c | err=do_mknod(sk->protinfo.af_unix.name,S_IFSOCK|S_IRWXUGO,0); |
err | 421 | net/unix/af_unix.c | if(err==0) |
err | 422 | net/unix/af_unix.c | err=open_namei(sk->protinfo.af_unix.name, 2, S_IFSOCK, &sk->protinfo.af_unix.inode, NULL); |
err | 426 | net/unix/af_unix.c | if(err<0) |
err | 430 | net/unix/af_unix.c | if(err==-EEXIST) |
err | 433 | net/unix/af_unix.c | return err; |
err | 446 | net/unix/af_unix.c | int err; |
err | 482 | net/unix/af_unix.c | other=unix_find_other(sunaddr->sun_path, &err); |
err | 484 | net/unix/af_unix.c | return err; |
err | 501 | net/unix/af_unix.c | skb=sock_alloc_send_skb(sk, 0, 0, 0, &err); /* Marker object */ |
err | 503 | net/unix/af_unix.c | return err; |
err | 508 | net/unix/af_unix.c | other=unix_find_other(sunaddr->sun_path, &err); |
err | 512 | net/unix/af_unix.c | return err; |
err | 876 | net/unix/af_unix.c | int err,size; |
err | 886 | net/unix/af_unix.c | if(sk->err) |
err | 968 | net/unix/af_unix.c | skb=sock_alloc_send_skb(sk,size,limit,nonblock, &err); |
err | 975 | net/unix/af_unix.c | sk->err=-err; |
err | 978 | net/unix/af_unix.c | return err; |
err | 1015 | net/unix/af_unix.c | other=unix_find_other(sunaddr->sun_path, &err); |
err | 1023 | net/unix/af_unix.c | return err; |
err | 1069 | net/unix/af_unix.c | if(sk->err) |
err | 1201 | net/unix/af_unix.c | int err; |
err | 1208 | net/unix/af_unix.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(unsigned long)); |
err | 1209 | net/unix/af_unix.c | if(err) |
err | 1210 | net/unix/af_unix.c | return err; |
err | 1224 | net/unix/af_unix.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(unsigned long)); |