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 | 97 | arch/i386/kernel/traps.c | /*static*/ void die_if_kernel(const char * str, struct pt_regs * regs, long err) |
err | 114 | arch/i386/kernel/traps.c | printk("%s: %04lx\n", str, err & 0xffff); |
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 | 625 | drivers/block/ide-cd.c | int stat, err, sense_key, cmd; |
err | 635 | drivers/block/ide-cd.c | err = IN_BYTE (IDE_ERROR_REG); |
err | 636 | drivers/block/ide-cd.c | sense_key = err >> 4; |
err | 747 | drivers/block/ide-cd.c | else if ((err & ~ABRT_ERR) != 0) |
err | 773 | drivers/block/ide.c | void ide_end_drive_cmd (ide_drive_t *drive, byte stat, byte err) |
err | 783 | drivers/block/ide.c | args[1] = err; |
err | 803 | drivers/block/ide.c | byte err = 0; |
err | 827 | drivers/block/ide.c | err = GET_ERR(); |
err | 828 | drivers/block/ide.c | printk("%s: %s: error=0x%02x", drive->name, msg, err); |
err | 832 | drivers/block/ide.c | if (err & BBD_ERR) printk("BadSector "); |
err | 833 | drivers/block/ide.c | if (err & ECC_ERR) printk("UncorrectableError "); |
err | 834 | drivers/block/ide.c | if (err & ID_ERR) printk("SectorIdNotFound "); |
err | 835 | drivers/block/ide.c | if (err & ABRT_ERR) printk("DriveStatusError "); |
err | 836 | drivers/block/ide.c | if (err & TRK0_ERR) printk("TrackZeroNotFound "); |
err | 837 | drivers/block/ide.c | if (err & MARK_ERR) printk("AddrMarkNotFound "); |
err | 839 | drivers/block/ide.c | if (err & (BBD_ERR|ECC_ERR|ID_ERR|MARK_ERR)) { |
err | 862 | drivers/block/ide.c | return err; |
err | 890 | drivers/block/ide.c | byte err; |
err | 892 | drivers/block/ide.c | err = ide_dump_status(drive, msg, stat); |
err | 898 | drivers/block/ide.c | ide_end_drive_cmd(drive, stat, err); |
err | 906 | drivers/block/ide.c | if (err & (BBD_ERR | ECC_ERR)) /* retries won't help these */ |
err | 908 | drivers/block/ide.c | else if (err & TRK0_ERR) /* help it find track zero */ |
err | 1883 | drivers/block/ide.c | int err; |
err | 1887 | drivers/block/ide.c | if ((err = verify_area(VERIFY_WRITE, (long *)useraddr, sizeof(long)))) |
err | 1888 | drivers/block/ide.c | return err; |
err | 1896 | drivers/block/ide.c | int err; |
err | 1911 | drivers/block/ide.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
err | 1912 | drivers/block/ide.c | if (err) return err; |
err | 1961 | drivers/block/ide.c | err = verify_area(VERIFY_WRITE, (char *)arg, sizeof(*drive->id)); |
err | 1962 | drivers/block/ide.c | if (!err) |
err | 1964 | drivers/block/ide.c | return err; |
err | 2046 | drivers/block/ide.c | err = ide_do_drive_cmd(drive, &rq, ide_wait); |
err | 2047 | drivers/block/ide.c | } else if (!(err = verify_area(VERIFY_READ,(void *)arg, 4))) { |
err | 2059 | drivers/block/ide.c | if (!(err = verify_area(VERIFY_WRITE,(void *)arg, argsize))) { |
err | 2061 | drivers/block/ide.c | err = ide_do_drive_cmd(drive, &rq, ide_wait); |
err | 2067 | drivers/block/ide.c | return err; |
err | 601 | drivers/block/ide.h | void ide_end_drive_cmd (ide_drive_t *drive, byte stat, byte err); |
err | 377 | drivers/block/loop.c | int dev, err; |
err | 402 | drivers/block/loop.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
err | 403 | drivers/block/loop.c | if (err) |
err | 404 | drivers/block/loop.c | return err; |
err | 136 | drivers/block/md.c | int minor, index, err, current_ra; |
err | 221 | drivers/block/md.c | if ((err=md_dev[minor].pers->run (minor, md_dev+minor))) |
err | 224 | drivers/block/md.c | return (err); |
err | 282 | drivers/block/md.c | if (!(err=md_valid_device (minor, dev, INVALID_ALWAYS))) |
err | 285 | drivers/block/md.c | return (err); |
err | 289 | drivers/block/md.c | if (!(err=md_valid_device (minor, dev, VALID))) |
err | 292 | drivers/block/md.c | return (err); |
err | 297 | drivers/block/md.c | err=verify_area (VERIFY_WRITE, (long *) arg, sizeof(long)); |
err | 298 | drivers/block/md.c | if (err) |
err | 299 | drivers/block/md.c | return err; |
err | 316 | drivers/block/md.c | err=verify_area (VERIFY_WRITE, (long *) arg, sizeof(long)); |
err | 317 | drivers/block/md.c | if (err) |
err | 318 | drivers/block/md.c | return err; |
err | 324 | drivers/block/md.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
err | 325 | drivers/block/md.c | if (err) |
err | 326 | drivers/block/md.c | return err; |
err | 148 | drivers/block/rd.c | int err; |
err | 160 | drivers/block/rd.c | err = verify_area(VERIFY_WRITE, (long *) arg, |
err | 162 | drivers/block/rd.c | if (err) |
err | 163 | 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 | 457 | drivers/char/apm_bios.c | static void apm_error(char *str, int err) |
err | 462 | drivers/char/apm_bios.c | if (error_table[i].key == err) break; |
err | 466 | drivers/char/apm_bios.c | printk("apm_bios: %s: unknown error code %#2.2x\n", str, err); |
err | 586 | drivers/char/apm_bios.c | int err; |
err | 596 | drivers/char/apm_bios.c | err = apm_set_power_state(APM_STATE_SUSPEND); |
err | 597 | drivers/char/apm_bios.c | if (err) |
err | 598 | drivers/char/apm_bios.c | apm_error("suspend", err); |
err | 604 | drivers/char/apm_bios.c | int err; |
err | 606 | drivers/char/apm_bios.c | err = apm_set_power_state(APM_STATE_STANDBY); |
err | 607 | drivers/char/apm_bios.c | if (err) |
err | 608 | drivers/char/apm_bios.c | apm_error("standby", err); |
err | 703 | drivers/char/apm_bios.c | int err; |
err | 712 | drivers/char/apm_bios.c | err = apm_set_power_state(APM_STATE_BUSY); |
err | 713 | drivers/char/apm_bios.c | if (err) |
err | 714 | 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 | 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 | 1271 | drivers/isdn/teles/callc.c | int err, i; |
err | 1274 | drivers/isdn/teles/callc.c | err = BufPoolGet(&ibh, st->l1.sbufpool, GFP_ATOMIC, st, 21); |
err | 1275 | drivers/isdn/teles/callc.c | if (err) |
err | 253 | drivers/net/dlci.c | int err, i; |
err | 256 | drivers/net/dlci.c | err = verify_area(VERIFY_READ, new, sizeof(*new)); |
err | 257 | drivers/net/dlci.c | if (err) |
err | 258 | drivers/net/dlci.c | return(err); |
err | 308 | drivers/net/dlci.c | err = register_netdev(master); |
err | 309 | drivers/net/dlci.c | if (err < 0) |
err | 313 | drivers/net/dlci.c | return(err); |
err | 322 | drivers/net/dlci.c | err = flp ? (*flp->assoc)(slave, master) : -EINVAL; |
err | 323 | drivers/net/dlci.c | if (err < 0) |
err | 329 | drivers/net/dlci.c | return(err); |
err | 345 | drivers/net/dlci.c | int i, err; |
err | 354 | drivers/net/dlci.c | err = (*flp->deassoc)(slave, master); |
err | 355 | drivers/net/dlci.c | if (err) |
err | 356 | drivers/net/dlci.c | return(err); |
err | 381 | drivers/net/dlci.c | int err; |
err | 396 | drivers/net/dlci.c | err = (*flp->dlci_conf)(dlp->slave, dev, get); |
err | 397 | drivers/net/dlci.c | if (err) |
err | 398 | drivers/net/dlci.c | return(err); |
err | 470 | drivers/net/dlci.c | int err; |
err | 486 | drivers/net/dlci.c | err = (*flp->activate)(dlp->slave, dev); |
err | 487 | drivers/net/dlci.c | if (err) |
err | 488 | drivers/net/dlci.c | return(err); |
err | 497 | drivers/net/dlci.c | int err; |
err | 502 | drivers/net/dlci.c | err = (*flp->deactivate)(dlp->slave, dev); |
err | 431 | drivers/net/eql.c | int err; |
err | 433 | drivers/net/eql.c | err = verify_area(VERIFY_READ, (void *)srqp, sizeof (slaving_request_t)); |
err | 434 | drivers/net/eql.c | if (err) |
err | 435 | drivers/net/eql.c | return err; |
err | 471 | drivers/net/eql.c | int err; |
err | 473 | drivers/net/eql.c | err = verify_area(VERIFY_READ, (void *)srqp, sizeof (slaving_request_t)); |
err | 474 | drivers/net/eql.c | if (err) |
err | 475 | drivers/net/eql.c | return err; |
err | 502 | drivers/net/eql.c | int err; |
err | 504 | drivers/net/eql.c | err = verify_area(VERIFY_READ, (void *)scp, sizeof (slave_config_t)); |
err | 505 | drivers/net/eql.c | if (err) |
err | 506 | drivers/net/eql.c | return err; |
err | 522 | drivers/net/eql.c | err = verify_area(VERIFY_WRITE, (void *)scp, sizeof (slave_config_t)); |
err | 523 | drivers/net/eql.c | if (err) |
err | 524 | drivers/net/eql.c | return err; |
err | 539 | drivers/net/eql.c | int err; |
err | 541 | drivers/net/eql.c | err = verify_area(VERIFY_READ, (void *)scp, sizeof (slave_config_t)); |
err | 542 | drivers/net/eql.c | if (err) |
err | 543 | drivers/net/eql.c | return err; |
err | 582 | drivers/net/eql.c | int err; |
err | 583 | drivers/net/eql.c | err = verify_area(VERIFY_WRITE, (void *)mcp, sizeof (master_config_t)); |
err | 584 | drivers/net/eql.c | if (err) |
err | 585 | drivers/net/eql.c | return err; |
err | 600 | drivers/net/eql.c | int err; |
err | 602 | drivers/net/eql.c | err = verify_area(VERIFY_READ, (void *)mcp, sizeof (master_config_t)); |
err | 603 | drivers/net/eql.c | if (err) |
err | 604 | drivers/net/eql.c | return err; |
err | 1066 | drivers/net/sdla.c | int i, err; |
err | 1079 | drivers/net/sdla.c | err = verify_area(VERIFY_READ, conf, sizeof(struct frad_conf)); |
err | 1080 | drivers/net/sdla.c | if (err) |
err | 1081 | drivers/net/sdla.c | return(err); |
err | 1133 | drivers/net/sdla.c | err = verify_area(VERIFY_WRITE, conf, sizeof(struct frad_conf)); |
err | 1134 | drivers/net/sdla.c | if (err) |
err | 1135 | drivers/net/sdla.c | return(err); |
err | 1162 | drivers/net/sdla.c | int err; |
err | 1165 | drivers/net/sdla.c | err = verify_area(VERIFY_READ, info, sizeof(struct sdla_mem)); |
err | 1166 | drivers/net/sdla.c | if (err) |
err | 1167 | drivers/net/sdla.c | return(err); |
err | 1172 | drivers/net/sdla.c | err = verify_area(VERIFY_WRITE, mem.data, mem.len); |
err | 1173 | drivers/net/sdla.c | if (err) |
err | 1174 | drivers/net/sdla.c | return(err); |
err | 1185 | drivers/net/sdla.c | err = verify_area(VERIFY_READ, mem.data, mem.len); |
err | 1186 | drivers/net/sdla.c | if (err) |
err | 1187 | 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 | 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 | 868 | drivers/sound/dmabuf.c | int err; |
err | 875 | drivers/sound/dmabuf.c | if ((err = audio_devs[dev]->prepare_for_input (dev, |
err | 877 | drivers/sound/dmabuf.c | return -err; |
err | 886 | drivers/sound/dmabuf.c | int err; |
err | 893 | drivers/sound/dmabuf.c | if ((err = audio_devs[dev]->prepare_for_output (dev, |
err | 895 | drivers/sound/dmabuf.c | return -err; |
err | 1027 | drivers/sound/dmabuf.c | int abort, err = EIO; |
err | 1056 | drivers/sound/dmabuf.c | int err; |
err | 1059 | drivers/sound/dmabuf.c | if ((err = audio_devs[dev]->prepare_for_output (dev, |
err | 1061 | drivers/sound/dmabuf.c | return err; |
err | 1114 | drivers/sound/dmabuf.c | err = EIO; |
err | 1121 | drivers/sound/dmabuf.c | err = EINTR; |
err | 1129 | drivers/sound/dmabuf.c | return -err; /* Caught a signal ? */ |
err | 1559 | drivers/sound/dmabuf.c | int err; |
err | 1562 | drivers/sound/dmabuf.c | if ((err = open_dmap (dev, OPEN_READWRITE, audio_devs[dev]->dmap_out, audio_devs[dev]->dmachan1)) < 0) |
err | 1573 | 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 | 587 | drivers/sound/pss.c | err = -EIO; |
err | 597 | 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 | 155 | fs/buffer.c | int i, retry, pass = 0, err = 0; |
err | 195 | fs/buffer.c | err = 1; |
err | 227 | 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 | 308 | fs/ext2/ialloc.c | struct inode * ext2_new_inode (const struct inode * dir, int mode, int * err) |
err | 330 | fs/ext2/ialloc.c | *err = -ENOSPC; |
err | 494 | fs/ext2/ialloc.c | *err = -EDQUOT; |
err | 501 | fs/ext2/ialloc.c | *err = 0; |
err | 75 | fs/ext2/inode.c | static int ext2_alloc_block (struct inode * inode, unsigned long goal, int * err) |
err | 115 | fs/ext2/inode.c | &inode->u.ext2_i.i_prealloc_block, err); |
err | 117 | fs/ext2/inode.c | result = ext2_new_block (inode, goal, 0, 0, err); |
err | 120 | fs/ext2/inode.c | result = ext2_new_block (inode, goal, 0, 0, err); |
err | 184 | fs/ext2/inode.c | int create, int new_block, int * err) |
err | 204 | fs/ext2/inode.c | *err = -EFBIG; |
err | 227 | fs/ext2/inode.c | tmp = ext2_alloc_block (inode, goal, err); |
err | 251 | fs/ext2/inode.c | int new_block, int * err) |
err | 284 | fs/ext2/inode.c | *err = -EFBIG; |
err | 299 | fs/ext2/inode.c | tmp = ext2_alloc_block (inode, goal, err); |
err | 362 | fs/ext2/inode.c | int create, int * err) |
err | 369 | fs/ext2/inode.c | *err = -EIO; |
err | 395 | fs/ext2/inode.c | *err = -ENOSPC; |
err | 398 | fs/ext2/inode.c | return inode_getblk (inode, block, create, b, err); |
err | 401 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_IND_BLOCK, create, b, err); |
err | 403 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
err | 407 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_DIND_BLOCK, create, b, err); |
err | 409 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 411 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 414 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_TIND_BLOCK, create, b, err); |
err | 416 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 418 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 420 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
err | 426 | fs/ext2/inode.c | int err, create; |
err | 432 | fs/ext2/inode.c | err = -EIO; |
err | 444 | fs/ext2/inode.c | err = -ENOSPC; |
err | 451 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_IND_BLOCK, create, b, &err); |
err | 457 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_DIND_BLOCK, create, b, &err); |
err | 459 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
err | 464 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_TIND_BLOCK, create, b, &err); |
err | 466 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
err | 468 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, &err); |
err | 474 | fs/ext2/inode.c | int create, int *err) |
err | 478 | fs/ext2/inode.c | bh = ext2_getblk (inode, block, create, err); |
err | 486 | fs/ext2/inode.c | *err = -EIO; |
err | 653 | fs/ext2/inode.c | int err = 0; |
err | 666 | fs/ext2/inode.c | err = -1; |
err | 670 | fs/ext2/inode.c | err = -1; |
err | 672 | fs/ext2/inode.c | return err; |
err | 22 | fs/ext2/ioctl.c | int err; |
err | 29 | fs/ext2/ioctl.c | if ((err = verify_area (VERIFY_WRITE, (long *) arg, sizeof(long)))) |
err | 30 | fs/ext2/ioctl.c | return err; |
err | 62 | fs/ext2/ioctl.c | if ((err = verify_area (VERIFY_WRITE, (long *) arg, sizeof(long)))) |
err | 63 | 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 | 102 | fs/ext2/symlink.c | int i, err; |
err | 112 | 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 | 854 | fs/minix/inode.c | int err = 0; |
err | 867 | fs/minix/inode.c | err = -1; |
err | 871 | fs/minix/inode.c | err = -1; |
err | 873 | 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 | 190 | fs/super.c | int err, index; |
err | 192 | fs/super.c | err = getname(__name, &name); |
err | 193 | fs/super.c | if (err) |
err | 194 | fs/super.c | return err; |
err | 210 | fs/super.c | int err, len; |
err | 220 | fs/super.c | err = verify_area(VERIFY_WRITE, buf, len); |
err | 221 | fs/super.c | if (err) |
err | 222 | 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 | 18 | 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 | 451 | 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 | 240 | include/net/sock.h | int err, err_soft; /* Soft holds errors that don't |
err | 512 | include/net/sock.h | int err=xchg(&sk->err,0); |
err | 513 | 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 | 461 | ipc/shm.c | int err; |
err | 531 | ipc/shm.c | if ((err = shm_map (shmd))) { |
err | 535 | ipc/shm.c | return err; |
err | 238 | kernel/exit.c | int err,retval = -ESRCH; |
err | 245 | kernel/exit.c | if ((err = send_sig(sig,p,priv)) != 0) |
err | 246 | kernel/exit.c | retval = err; |
err | 262 | kernel/exit.c | int err,retval = -ESRCH; |
err | 269 | kernel/exit.c | if ((err = send_sig(sig,p,priv)) != 0) |
err | 270 | kernel/exit.c | retval = err; |
err | 297 | kernel/exit.c | int err, retval = 0, count = 0; |
err | 306 | kernel/exit.c | if ((err = send_sig(sig,p,0)) != -EPERM) |
err | 307 | 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 | 895 | kernel/sys.c | int err; |
err | 899 | kernel/sys.c | err = verify_area(VERIFY_READ, rlim, sizeof(*rlim)); |
err | 900 | kernel/sys.c | if (err) |
err | 901 | 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 | 1162 | net/appletalk/ddp.c | sk->err=0; |
err | 1658 | net/appletalk/ddp.c | int err; |
err | 1725 | net/appletalk/ddp.c | skb = sock_alloc_send_skb(sk, size, 0, 0 , &err); |
err | 1727 | net/appletalk/ddp.c | return err; |
err | 1843 | net/appletalk/ddp.c | if(sk->err) |
err | 1898 | net/appletalk/ddp.c | int err; |
err | 1925 | net/appletalk/ddp.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval)); |
err | 1926 | net/appletalk/ddp.c | if(err) |
err | 1927 | net/appletalk/ddp.c | return err; |
err | 1975 | net/appletalk/ddp.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(unsigned long)); |
err | 1976 | net/appletalk/ddp.c | if(err) |
err | 1977 | net/appletalk/ddp.c | return err; |
err | 227 | net/ax25/af_ax25.c | s->sk->err = ENETUNREACH; |
err | 544 | net/ax25/af_ax25.c | int err; |
err | 546 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_READ, (void *)arg, sizeof(ax25_ctl))) != 0) |
err | 547 | net/ax25/af_ax25.c | return err; |
err | 568 | net/ax25/af_ax25.c | ax25->sk->err = ENETRESET; |
err | 877 | net/ax25/af_ax25.c | int err, opt; |
err | 890 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0) |
err | 891 | net/ax25/af_ax25.c | return err; |
err | 965 | net/ax25/af_ax25.c | int err; |
err | 1020 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE, optlen, sizeof(int))) != 0) |
err | 1021 | net/ax25/af_ax25.c | return err; |
err | 1025 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0) |
err | 1026 | net/ax25/af_ax25.c | return err; |
err | 1120 | net/ax25/af_ax25.c | sk->err = 0; |
err | 1192 | net/ax25/af_ax25.c | sk->err = 0; |
err | 1389 | net/ax25/af_ax25.c | int err; |
err | 1447 | net/ax25/af_ax25.c | if ((err = ax25_rt_autobind(sk->ax25, &addr->sax25_call)) < 0) |
err | 1448 | net/ax25/af_ax25.c | return err; |
err | 1957 | net/ax25/af_ax25.c | int err; |
err | 1967 | net/ax25/af_ax25.c | if (sk->err) { |
err | 2029 | net/ax25/af_ax25.c | if ((skb = sock_alloc_send_skb(sk, size, 0, 0, &err)) == NULL) |
err | 2030 | net/ax25/af_ax25.c | return err; |
err | 2100 | net/ax25/af_ax25.c | if (sk->err) { |
err | 2184 | net/ax25/af_ax25.c | int err; |
err | 2189 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned long))) != 0) |
err | 2190 | net/ax25/af_ax25.c | return err; |
err | 2203 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned long))) != 0) |
err | 2204 | net/ax25/af_ax25.c | return err; |
err | 2213 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval))) != 0) |
err | 2214 | net/ax25/af_ax25.c | return err; |
err | 2225 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_READ, (void *)arg, sizeof(struct sockaddr_ax25))) != 0) |
err | 2226 | net/ax25/af_ax25.c | return err; |
err | 2232 | net/ax25/af_ax25.c | if ((err = verify_area(VERIFY_READ, (void *)arg, sizeof(unsigned long))) != 0) |
err | 2233 | net/ax25/af_ax25.c | return err; |
err | 266 | net/ax25/ax25_in.c | ax25->sk->err = ECONNREFUSED; |
err | 310 | net/ax25/ax25_in.c | ax25->sk->err = 0; |
err | 325 | net/ax25/ax25_in.c | ax25->sk->err = 0; |
err | 340 | net/ax25/ax25_in.c | ax25->sk->err = 0; |
err | 418 | net/ax25/ax25_in.c | ax25->sk->err = 0; |
err | 432 | net/ax25/ax25_in.c | ax25->sk->err = ECONNRESET; |
err | 614 | net/ax25/ax25_in.c | ax25->sk->err = 0; |
err | 629 | net/ax25/ax25_in.c | ax25->sk->err = ECONNRESET; |
err | 272 | 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 | 203 | net/ax25/ax25_timer.c | ax25->sk->err = 0; |
err | 249 | net/ax25/ax25_timer.c | ax25->sk->err = ETIMEDOUT; |
err | 281 | net/ax25/ax25_timer.c | ax25->sk->err = ETIMEDOUT; |
err | 312 | net/ax25/ax25_timer.c | ax25->sk->err = ETIMEDOUT; |
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 | 750 | net/core/dev.c | int err; |
err | 756 | net/core/dev.c | err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifconf)); |
err | 757 | net/core/dev.c | if(err) |
err | 758 | net/core/dev.c | return err; |
err | 768 | net/core/dev.c | err=verify_area(VERIFY_WRITE,pos,len); |
err | 769 | net/core/dev.c | if(err) |
err | 770 | net/core/dev.c | return err; |
err | 924 | net/core/dev.c | int err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifreq)); |
err | 925 | net/core/dev.c | if(err) |
err | 926 | net/core/dev.c | return err; |
err | 946 | net/core/dev.c | if ((dev = net_alias_dev_get(ifr.ifr_name, getset == SIOCSIFADDR, &err, NULL, NULL)) == NULL) |
err | 947 | 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 | 40 | net/core/iovec.c | err=verify_area(mode, m->msg_name, m->msg_namelen); |
err | 41 | net/core/iovec.c | if(err<0) |
err | 42 | 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 | 579 | net/ipv4/af_inet.c | int err; |
err | 717 | net/ipv4/af_inet.c | err = sk->prot->init(sk); |
err | 718 | net/ipv4/af_inet.c | if (err != 0) |
err | 721 | net/ipv4/af_inet.c | return(err); |
err | 928 | net/ipv4/af_inet.c | int err; |
err | 940 | net/ipv4/af_inet.c | if(sk->err!=0) |
err | 951 | net/ipv4/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
err | 952 | net/ipv4/af_inet.c | if (err < 0) |
err | 953 | net/ipv4/af_inet.c | return(err); |
err | 977 | net/ipv4/af_inet.c | if(sk->err && sk->protocol == IPPROTO_TCP) |
err | 987 | net/ipv4/af_inet.c | if (sk->state != TCP_ESTABLISHED && sk->err) |
err | 1009 | net/ipv4/af_inet.c | int err; |
err | 1069 | net/ipv4/af_inet.c | if (sk2->state != TCP_ESTABLISHED && sk2->err > 0) |
err | 1071 | net/ipv4/af_inet.c | err = sock_error(sk2); |
err | 1074 | net/ipv4/af_inet.c | return err; |
err | 1124 | net/ipv4/af_inet.c | if(sk->err) |
err | 1144 | net/ipv4/af_inet.c | if(sk->err) |
err | 1201 | net/ipv4/af_inet.c | int err; |
err | 1208 | net/ipv4/af_inet.c | err=verify_area(VERIFY_READ,(int *)arg,sizeof(long)); |
err | 1209 | net/ipv4/af_inet.c | if(err) |
err | 1210 | net/ipv4/af_inet.c | return err; |
err | 1219 | net/ipv4/af_inet.c | err=verify_area(VERIFY_WRITE,(void *) arg, sizeof(long)); |
err | 1220 | net/ipv4/af_inet.c | if(err) |
err | 1221 | net/ipv4/af_inet.c | return err; |
err | 1227 | net/ipv4/af_inet.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval)); |
err | 1228 | net/ipv4/af_inet.c | if(err) |
err | 1229 | 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 | 755 | net/ipv4/icmp.c | int err; |
err | 758 | 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, iph))<FW_ACCEPT) |
err | 309 | net/ipv4/ip_input.c | if(err==FW_REJECT) |
err | 526 | net/ipv4/ip_output.c | sk->err = ENETDOWN; |
err | 998 | net/ipv4/ip_output.c | sk->err=ENETDOWN; |
err | 113 | net/ipv4/ip_sockglue.c | int val,err; |
err | 125 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
err | 126 | net/ipv4/ip_sockglue.c | if(err) |
err | 127 | net/ipv4/ip_sockglue.c | return err; |
err | 149 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_READ, optval, optlen); |
err | 150 | net/ipv4/ip_sockglue.c | if (err) |
err | 151 | net/ipv4/ip_sockglue.c | return err; |
err | 221 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(addr)); |
err | 222 | net/ipv4/ip_sockglue.c | if(err) |
err | 223 | net/ipv4/ip_sockglue.c | return err; |
err | 271 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(mreq)); |
err | 272 | net/ipv4/ip_sockglue.c | if(err) |
err | 273 | net/ipv4/ip_sockglue.c | return err; |
err | 328 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(mreq)); |
err | 329 | net/ipv4/ip_sockglue.c | if(err) |
err | 330 | net/ipv4/ip_sockglue.c | return err; |
err | 394 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ,optval,optlen); |
err | 395 | net/ipv4/ip_sockglue.c | if(err) |
err | 396 | net/ipv4/ip_sockglue.c | return err; |
err | 398 | net/ipv4/ip_sockglue.c | err=ip_fw_ctl(optname, &tmp_fw,optlen); |
err | 399 | net/ipv4/ip_sockglue.c | return -err; /* -0 is 0 after all */ |
err | 412 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ,optval,optlen); |
err | 413 | net/ipv4/ip_sockglue.c | if(err) |
err | 414 | net/ipv4/ip_sockglue.c | return err; |
err | 416 | net/ipv4/ip_sockglue.c | err=ip_acct_ctl(optname, &tmp_fw,optlen); |
err | 417 | net/ipv4/ip_sockglue.c | return -err; /* -0 is 0 after all */ |
err | 432 | net/ipv4/ip_sockglue.c | int val,err; |
err | 453 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 454 | net/ipv4/ip_sockglue.c | if (err) |
err | 455 | net/ipv4/ip_sockglue.c | return err; |
err | 466 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_WRITE, optval, opt->optlen); |
err | 467 | net/ipv4/ip_sockglue.c | if (err) |
err | 468 | net/ipv4/ip_sockglue.c | return err; |
err | 519 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 520 | net/ipv4/ip_sockglue.c | if(err) |
err | 521 | net/ipv4/ip_sockglue.c | return err; |
err | 523 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optval, len); |
err | 524 | net/ipv4/ip_sockglue.c | if(err) |
err | 525 | net/ipv4/ip_sockglue.c | return err; |
err | 533 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 534 | net/ipv4/ip_sockglue.c | if(err) |
err | 535 | net/ipv4/ip_sockglue.c | return err; |
err | 538 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
err | 539 | net/ipv4/ip_sockglue.c | if(err) |
err | 540 | 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, 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 | 194 | net/ipv4/raw.c | int err; |
err | 243 | 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 | 249 | 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 | 251 | net/ipv4/raw.c | return err<0?err:len; |
err | 273 | net/ipv4/raw.c | int err; |
err | 282 | net/ipv4/raw.c | err=raw_sendto(sk,buf,len, noblock, flags, msg->msg_name, msg->msg_namelen); |
err | 285 | net/ipv4/raw.c | return err; |
err | 319 | net/ipv4/raw.c | int err; |
err | 331 | net/ipv4/raw.c | skb=skb_recv_datagram(sk,flags,noblock,&err); |
err | 333 | 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 | 544 | net/ipv4/tcp.c | sk->err=EPROTO; |
err | 579 | net/ipv4/tcp.c | sk->err = icmp_err_convert[code].errno; |
err | 703 | net/ipv4/tcp.c | if (sk->err) |
err | 721 | net/ipv4/tcp.c | if (sk->err) |
err | 747 | net/ipv4/tcp.c | int err; |
err | 764 | net/ipv4/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, sizeof(int)); |
err | 765 | net/ipv4/tcp.c | if(err) |
err | 766 | net/ipv4/tcp.c | return err; |
err | 774 | net/ipv4/tcp.c | err = verify_area(VERIFY_WRITE,(void *) arg, sizeof(int)); |
err | 775 | net/ipv4/tcp.c | if (err) |
err | 776 | net/ipv4/tcp.c | return err; |
err | 786 | net/ipv4/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, sizeof(int)); |
err | 787 | net/ipv4/tcp.c | if(err) |
err | 788 | net/ipv4/tcp.c | return err; |
err | 859 | net/ipv4/tcp.c | if (sk->state != TCP_ESTABLISHED && sk->state != TCP_CLOSE_WAIT && sk->err == 0) |
err | 876 | net/ipv4/tcp.c | && sk->err == 0) |
err | 919 | net/ipv4/tcp.c | if (sk->err) |
err | 944 | net/ipv4/tcp.c | if (sk->err) |
err | 1147 | net/ipv4/tcp.c | sk->err = 0; |
err | 1298 | net/ipv4/tcp.c | if (sk->err) |
err | 1481 | net/ipv4/tcp.c | if (sk->err) |
err | 1865 | net/ipv4/tcp.c | sk->err = EINVAL; |
err | 1879 | net/ipv4/tcp.c | sk->err = EAGAIN; |
err | 1888 | net/ipv4/tcp.c | sk->err = ERESTARTSYS; |
err | 1956 | net/ipv4/tcp.c | sk->err = 0; |
err | 2080 | net/ipv4/tcp.c | int val,err; |
err | 2088 | net/ipv4/tcp.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
err | 2089 | net/ipv4/tcp.c | if(err) |
err | 2090 | net/ipv4/tcp.c | return err; |
err | 2116 | net/ipv4/tcp.c | int val,err; |
err | 2132 | net/ipv4/tcp.c | err=verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 2133 | net/ipv4/tcp.c | if(err) |
err | 2134 | net/ipv4/tcp.c | return err; |
err | 2137 | net/ipv4/tcp.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
err | 2138 | net/ipv4/tcp.c | if(err) |
err | 2139 | net/ipv4/tcp.c | return err; |
err | 215 | net/ipv4/tcp_input.c | sk->err = ECONNRESET; |
err | 217 | net/ipv4/tcp_input.c | sk->err = ECONNREFUSED; |
err | 219 | net/ipv4/tcp_input.c | sk->err = EPIPE; |
err | 420 | net/ipv4/tcp_input.c | newsk->err = 0; |
err | 1365 | net/ipv4/tcp_input.c | sk->err = EPIPE; |
err | 1808 | net/ipv4/tcp_input.c | sk->err=ECONNRESET; |
err | 673 | net/ipv4/tcp_output.c | sk->err = ENOMEM; |
err | 696 | net/ipv4/tcp_output.c | sk->err = tmp; |
err | 132 | net/ipv4/tcp_timer.c | sk->err=sk->err_soft; |
err | 134 | net/ipv4/tcp_timer.c | sk->err=ETIMEDOUT; |
err | 148 | net/ipv4/tcp_timer.c | sk->err = sk->err_soft; |
err | 150 | net/ipv4/tcp_timer.c | sk->err = ETIMEDOUT; |
err | 180 | net/ipv4/udp.c | sk->err = EPROTO; |
err | 205 | net/ipv4/udp.c | sk->err = icmp_err_convert[code].errno; |
err | 424 | net/ipv4/udp.c | int err; |
err | 433 | net/ipv4/udp.c | err=udp_sendto(sk,buf,len, noblock, flags, msg->msg_name, msg->msg_namelen); |
err | 436 | net/ipv4/udp.c | return err; |
err | 446 | net/ipv4/udp.c | int err; |
err | 455 | net/ipv4/udp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
err | 457 | net/ipv4/udp.c | if(err) |
err | 458 | net/ipv4/udp.c | return(err); |
err | 479 | net/ipv4/udp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
err | 481 | net/ipv4/udp.c | if(err) |
err | 482 | 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 | 289 | net/netrom/af_netrom.c | int err, opt; |
err | 302 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_READ, optval, sizeof(int))) != 0) |
err | 303 | net/netrom/af_netrom.c | return err; |
err | 340 | net/netrom/af_netrom.c | int err; |
err | 371 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, optlen, sizeof(int))) != 0) |
err | 372 | net/netrom/af_netrom.c | return err; |
err | 376 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0) |
err | 377 | net/netrom/af_netrom.c | return err; |
err | 447 | net/netrom/af_netrom.c | sk->err = 0; |
err | 548 | net/netrom/af_netrom.c | sk->err = 0; |
err | 1008 | net/netrom/af_netrom.c | int err; |
err | 1014 | net/netrom/af_netrom.c | if (sk->err) |
err | 1050 | net/netrom/af_netrom.c | if ((skb = sock_alloc_send_skb(sk, size, 0, 0, &err)) == NULL) |
err | 1051 | net/netrom/af_netrom.c | return err; |
err | 1116 | net/netrom/af_netrom.c | if (sk->err) |
err | 1172 | net/netrom/af_netrom.c | int err; |
err | 1177 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned long))) != 0) |
err | 1178 | net/netrom/af_netrom.c | return err; |
err | 1190 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned long))) != 0) |
err | 1191 | net/netrom/af_netrom.c | return err; |
err | 1200 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE,(void *)arg,sizeof(struct timeval))) != 0) |
err | 1201 | net/netrom/af_netrom.c | return err; |
err | 1228 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct nr_parms_struct))) != 0) |
err | 1229 | net/netrom/af_netrom.c | return err; |
err | 1239 | net/netrom/af_netrom.c | if ((err = verify_area(VERIFY_READ, (void *)arg, sizeof(struct nr_parms_struct))) != 0) |
err | 1240 | 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 | 133 | net/socket.c | int err; |
err | 138 | net/socket.c | if((err=verify_area(VERIFY_READ,uaddr,ulen))<0) |
err | 139 | net/socket.c | return err; |
err | 146 | net/socket.c | int err; |
err | 150 | net/socket.c | if((err=verify_area(VERIFY_WRITE,ulen,sizeof(*ulen)))<0) |
err | 151 | net/socket.c | return err; |
err | 159 | net/socket.c | if((err=verify_area(VERIFY_WRITE,uaddr,len))<0) |
err | 160 | net/socket.c | return err; |
err | 336 | net/socket.c | int err; |
err | 348 | net/socket.c | if ((err=verify_area(VERIFY_WRITE,ubuf,size))<0) |
err | 349 | net/socket.c | return err; |
err | 368 | net/socket.c | int err; |
err | 382 | net/socket.c | if ((err=verify_area(VERIFY_READ,ubuf,size))<0) |
err | 383 | net/socket.c | return err; |
err | 677 | net/socket.c | int err; |
err | 685 | net/socket.c | if((err=move_addr_to_kernel(umyaddr,addrlen,address))<0) |
err | 686 | net/socket.c | return err; |
err | 705 | net/socket.c | int err=-EOPNOTSUPP; |
err | 717 | net/socket.c | err=sock->ops->listen(sock, backlog); |
err | 718 | net/socket.c | if(!err) |
err | 721 | net/socket.c | return(err); |
err | 802 | net/socket.c | int err; |
err | 809 | net/socket.c | if((err=move_addr_to_kernel(uservaddr,addrlen,address))<0) |
err | 810 | net/socket.c | return err; |
err | 852 | net/socket.c | int err; |
err | 859 | net/socket.c | err=sock->ops->getname(sock, (struct sockaddr *)address, &len, 0); |
err | 860 | net/socket.c | if(err) |
err | 861 | net/socket.c | return err; |
err | 862 | net/socket.c | if((err=move_addr_to_user(address,len, usockaddr, usockaddr_len))<0) |
err | 863 | net/socket.c | return err; |
err | 877 | net/socket.c | int err; |
err | 884 | net/socket.c | err=sock->ops->getname(sock, (struct sockaddr *)address, &len, 1); |
err | 885 | net/socket.c | if(err) |
err | 886 | net/socket.c | return err; |
err | 887 | net/socket.c | if((err=move_addr_to_user(address,len, usockaddr, usockaddr_len))<0) |
err | 888 | net/socket.c | return err; |
err | 901 | net/socket.c | int err; |
err | 912 | net/socket.c | err=verify_area(VERIFY_READ, buff, len); |
err | 913 | net/socket.c | if(err) |
err | 914 | net/socket.c | return err; |
err | 937 | net/socket.c | int err; |
err | 948 | net/socket.c | err=verify_area(VERIFY_READ,buff,len); |
err | 949 | net/socket.c | if(err) |
err | 950 | net/socket.c | return err; |
err | 952 | net/socket.c | if((err=move_addr_to_kernel(addr,addr_len,address))<0) |
err | 953 | net/socket.c | return err; |
err | 977 | net/socket.c | int err; |
err | 989 | net/socket.c | err=verify_area(VERIFY_WRITE, ubuf, size); |
err | 990 | net/socket.c | if(err) |
err | 991 | net/socket.c | return err; |
err | 1017 | net/socket.c | int err; |
err | 1028 | net/socket.c | err=verify_area(VERIFY_WRITE,ubuf,size); |
err | 1029 | net/socket.c | if(err) |
err | 1030 | net/socket.c | return err; |
err | 1044 | net/socket.c | if(addr!=NULL && (err=move_addr_to_user(address,alen, addr, addr_len))<0) |
err | 1045 | net/socket.c | return err; |
err | 1117 | net/socket.c | int err; |
err | 1129 | net/socket.c | err=verify_area(VERIFY_READ, msg,sizeof(struct msghdr)); |
err | 1130 | net/socket.c | if(err) |
err | 1131 | net/socket.c | return err; |
err | 1139 | net/socket.c | err=verify_iovec(&msg_sys,iov,address, VERIFY_READ); |
err | 1140 | net/socket.c | if(err<0) |
err | 1141 | net/socket.c | return err; |
err | 1142 | net/socket.c | total_len=err; |
err | 1158 | net/socket.c | int err; |
err | 1168 | net/socket.c | err=verify_area(VERIFY_READ, msg,sizeof(struct msghdr)); |
err | 1169 | net/socket.c | if(err) |
err | 1170 | net/socket.c | return err; |
err | 1174 | net/socket.c | err=verify_iovec(&msg_sys,iov,address, VERIFY_WRITE); |
err | 1175 | net/socket.c | if(err<0) |
err | 1176 | net/socket.c | return err; |
err | 1177 | net/socket.c | total_len=err; |
err | 1187 | net/socket.c | if(msg_sys.msg_name!=NULL && (err=move_addr_to_user(address,addr_len, msg_sys.msg_name, &msg_sys.msg_namelen))<0) |
err | 1188 | net/socket.c | return err; |
err | 327 | net/unix/af_unix.c | sk->err=0; |
err | 387 | net/unix/af_unix.c | int err; |
err | 393 | net/unix/af_unix.c | err = open_namei(path, 2, S_IFSOCK, &inode, NULL); |
err | 395 | net/unix/af_unix.c | if(err<0) |
err | 397 | net/unix/af_unix.c | *error=err; |
err | 416 | net/unix/af_unix.c | int err; |
err | 438 | net/unix/af_unix.c | err=do_mknod(sk->protinfo.af_unix.name,S_IFSOCK|S_IRWXUGO,0); |
err | 439 | net/unix/af_unix.c | if(err==0) |
err | 440 | net/unix/af_unix.c | err=open_namei(sk->protinfo.af_unix.name, 2, S_IFSOCK, &sk->protinfo.af_unix.inode, NULL); |
err | 444 | net/unix/af_unix.c | if(err<0) |
err | 448 | net/unix/af_unix.c | if(err==-EEXIST) |
err | 451 | net/unix/af_unix.c | return err; |
err | 464 | net/unix/af_unix.c | int err; |
err | 500 | net/unix/af_unix.c | other=unix_find_other(sunaddr->sun_path, &err); |
err | 502 | net/unix/af_unix.c | return err; |
err | 519 | net/unix/af_unix.c | skb=sock_alloc_send_skb(sk, 0, 0, 0, &err); /* Marker object */ |
err | 521 | net/unix/af_unix.c | return err; |
err | 526 | net/unix/af_unix.c | other=unix_find_other(sunaddr->sun_path, &err); |
err | 530 | net/unix/af_unix.c | return err; |
err | 894 | net/unix/af_unix.c | int err,size; |
err | 904 | net/unix/af_unix.c | if(sk->err) |
err | 986 | net/unix/af_unix.c | skb=sock_alloc_send_skb(sk,size,limit,nonblock, &err); |
err | 993 | net/unix/af_unix.c | sk->err=-err; |
err | 996 | net/unix/af_unix.c | return err; |
err | 1033 | net/unix/af_unix.c | other=unix_find_other(sunaddr->sun_path, &err); |
err | 1041 | net/unix/af_unix.c | return err; |
err | 1087 | net/unix/af_unix.c | if(sk->err) |
err | 1219 | net/unix/af_unix.c | int err; |
err | 1226 | net/unix/af_unix.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(unsigned long)); |
err | 1227 | net/unix/af_unix.c | if(err) |
err | 1228 | net/unix/af_unix.c | return err; |
err | 1242 | net/unix/af_unix.c | err=verify_area(VERIFY_WRITE,(void *)arg,sizeof(unsigned long)); |