tag | line | file | source code |
err | 523 | drivers/block/hd.c | int dev, err; |
err | 533 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
err | 534 | drivers/block/hd.c | if (err) |
err | 535 | drivers/block/hd.c | return err; |
err | 547 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long)); |
err | 548 | drivers/block/hd.c | if (err) |
err | 549 | drivers/block/hd.c | return err; |
err | 205 | drivers/block/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)),err; |
err | 210 | drivers/block/xd.c | if ((err = verify_area(VERIFY_WRITE,geometry,sizeof(*geometry)))) |
err | 211 | drivers/block/xd.c | return (err); |
err | 221 | drivers/block/xd.c | if ((err = verify_area(VERIFY_WRITE,(long *) arg,sizeof(long)))) |
err | 222 | drivers/block/xd.c | return (err); |
err | 892 | drivers/char/tpqic02.c | unsigned err = 0, exnr = 0, gs = 0; |
err | 909 | drivers/char/tpqic02.c | err = tperror.exs; /* get exception status bits */ |
err | 910 | drivers/char/tpqic02.c | if (err & (TP_ST0|TP_ST1)) |
err | 921 | drivers/char/tpqic02.c | if (err & TP_ST0) { |
err | 922 | drivers/char/tpqic02.c | if (err & TP_CNI) /* no cartridge */ |
err | 926 | drivers/char/tpqic02.c | if (err & TP_USL) /* not online */ |
err | 928 | drivers/char/tpqic02.c | if (err & TP_WRP) |
err | 930 | drivers/char/tpqic02.c | if (err & TP_EOM) { /* end of media */ |
err | 938 | drivers/char/tpqic02.c | if (err & TP_FIL) { |
err | 943 | drivers/char/tpqic02.c | if (err & TP_ST1) { |
err | 947 | drivers/char/tpqic02.c | if (err & TP_BOM) |
err | 954 | drivers/char/tpqic02.c | if (err!=0) { |
err | 955 | drivers/char/tpqic02.c | exnr = decode_exception_nr(err); |
err | 956 | drivers/char/tpqic02.c | handle_exception(exnr, err); /* update driver state wrt drive status */ |
err | 959 | drivers/char/tpqic02.c | err &= ~ignore; /* mask unwanted errors -- not the correct way, use exception nrs?? */ |
err | 960 | drivers/char/tpqic02.c | if (((err & TP_ST0) && (err & REPORT_ERR0)) || |
err | 961 | drivers/char/tpqic02.c | ((err & TP_ST1) && (err & REPORT_ERR1))) |
err | 1080 | drivers/net/slip.c | int err=verify_area(VERIFY_READ,addr,7); |
err | 1081 | drivers/net/slip.c | if(err) |
err | 1082 | drivers/net/slip.c | return err; |
err | 1094 | drivers/net/slip.c | int err; |
err | 1105 | drivers/net/slip.c | err=verify_area(VERIFY_WRITE, arg, 16); |
err | 1106 | drivers/net/slip.c | if(err) |
err | 1107 | drivers/net/slip.c | return -err; |
err | 1111 | drivers/net/slip.c | err=verify_area(VERIFY_WRITE,arg,sizeof(long)); |
err | 1115 | drivers/net/slip.c | err=verify_area(VERIFY_READ,arg,sizeof(long)); |
err | 128 | drivers/sound/audio.c | int err; |
err | 193 | drivers/sound/audio.c | if ((err = DMAbuf_start_output (dev, wr_buff_no[dev], wr_buff_ptr[dev])) < 0) |
err | 194 | drivers/sound/audio.c | return err; |
err | 324 | drivers/sound/dmabuf.c | int err = EIO; |
err | 347 | drivers/sound/dmabuf.c | int err; |
err | 349 | drivers/sound/dmabuf.c | if ((err = dsp_devs[dev]->prepare_for_input (dev, |
err | 353 | drivers/sound/dmabuf.c | return err; |
err | 373 | drivers/sound/dmabuf.c | err = EIO; |
err | 377 | drivers/sound/dmabuf.c | err = EINTR; |
err | 382 | drivers/sound/dmabuf.c | return RET_ERROR (err); |
err | 411 | drivers/sound/dmabuf.c | int buff_no, c, err; |
err | 426 | drivers/sound/dmabuf.c | if ((err = DMAbuf_rmchars (dev, buff_no, c)) < 0) |
err | 427 | drivers/sound/dmabuf.c | return err; |
err | 490 | drivers/sound/dmabuf.c | int err = EIO; |
err | 511 | drivers/sound/dmabuf.c | int err; |
err | 514 | drivers/sound/dmabuf.c | if ((err = dsp_devs[dev]->prepare_for_output (dev, |
err | 516 | drivers/sound/dmabuf.c | return err; |
err | 538 | drivers/sound/dmabuf.c | err = EIO; |
err | 542 | drivers/sound/dmabuf.c | err = EINTR; |
err | 547 | drivers/sound/dmabuf.c | return RET_ERROR (err); /* We have got signal (?) */ |
err | 1649 | drivers/sound/gus_wave.c | int err; |
err | 1656 | drivers/sound/gus_wave.c | if ((err = DMAbuf_open_dma (gus_devnum))) |
err | 1657 | drivers/sound/gus_wave.c | return err; |
err | 46 | drivers/sound/midibuf.c | int mode, err; |
err | 60 | drivers/sound/midibuf.c | if ((err = midi_devs[mpu401_dev]->open (mpu401_dev, mode, NULL, NULL)) < 0) |
err | 61 | drivers/sound/midibuf.c | return err; |
err | 100 | drivers/sound/os.h | #define RET_ERROR(err) -err |
err | 106 | drivers/sound/pas2_card.c | int err; |
err | 113 | drivers/sound/pas2_card.c | if ((err = snd_set_irq_handler (pas_irq, pasintr)) < 0) |
err | 114 | drivers/sound/pas2_card.c | return err; |
err | 54 | drivers/sound/pas2_midi.c | int err; |
err | 71 | drivers/sound/pas2_midi.c | if ((err = pas_set_intr (I_M_MIDI_IRQ_ENABLE)) < 0) |
err | 72 | drivers/sound/pas2_midi.c | return err; |
err | 201 | drivers/sound/pas2_pcm.c | int err; |
err | 205 | drivers/sound/pas2_pcm.c | if ((err = pas_set_intr (PAS_PCM_INTRBITS)) < 0) |
err | 206 | drivers/sound/pas2_pcm.c | return err; |
err | 179 | drivers/sound/patmgr.c | int err = 0; |
err | 205 | drivers/sound/patmgr.c | err = rec->parm1; |
err | 206 | drivers/sound/patmgr.c | if (err > 0) |
err | 207 | drivers/sound/patmgr.c | err = -err; |
err | 216 | drivers/sound/patmgr.c | return err; |
err | 224 | drivers/sound/patmgr.c | int err = 0; |
err | 259 | drivers/sound/patmgr.c | return err; |
err | 160 | drivers/sound/sequencer.c | int err; |
err | 182 | drivers/sound/sequencer.c | int err; |
err | 191 | drivers/sound/sequencer.c | err = synth_devs[dev]->load_patch (dev, *(short *) &event[0], buf, p + 4, c, 0); |
err | 192 | drivers/sound/sequencer.c | if (err < 0) |
err | 193 | drivers/sound/sequencer.c | return err; |
err | 195 | drivers/sound/sequencer.c | return err; |
err | 232 | drivers/sound/sequencer.c | if ((err = midi_devs[dev]->open (dev, mode, |
err | 237 | drivers/sound/sequencer.c | return err; |
err | 482 | drivers/sound/sequencer.c | int err; |
err | 487 | drivers/sound/sequencer.c | if ((err = pmgr_open (dev)) < 0) |
err | 488 | drivers/sound/sequencer.c | return err; /* Failed */ |
err | 491 | drivers/sound/sequencer.c | return err; |
err | 749 | drivers/sound/sequencer.c | int err, mode; |
err | 752 | drivers/sound/sequencer.c | if ((err = midi_devs[midi_dev]->open (midi_dev, mode, |
err | 755 | drivers/sound/sequencer.c | return err; |
err | 875 | drivers/sound/sequencer.c | int dev, err; |
err | 894 | drivers/sound/sequencer.c | if ((err = synth_devs[dev]->pmgr_interface (dev, inf)) == -1) |
err | 897 | drivers/sound/sequencer.c | return err; |
err | 909 | drivers/sound/sequencer.c | int dev, err; |
err | 928 | drivers/sound/sequencer.c | if ((err = pmgr_access (dev, inf)) < 0) |
err | 931 | drivers/sound/sequencer.c | return err; |
err | 94 | fs/buffer.c | int i, retry, pass = 0, err = 0; |
err | 129 | fs/buffer.c | err = 1; |
err | 147 | 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 | 424 | fs/ext/inode.c | int err = 0; |
err | 436 | fs/ext/inode.c | err = -1; |
err | 440 | fs/ext/inode.c | err = -1; |
err | 442 | fs/ext/inode.c | return err; |
err | 99 | fs/ext2/dir.c | int err; |
err | 107 | fs/ext2/dir.c | bh = ext2_bread (inode, blk, 0, &err); |
err | 119 | fs/ext2/dir.c | tmp = ext2_getblk (inode, ++blk, 0, &err); |
err | 86 | fs/ext2/file.c | int err; |
err | 138 | fs/ext2/file.c | *bhb = ext2_getblk (inode, block++, 0, &err); |
err | 226 | fs/ext2/file.c | int err; |
err | 254 | fs/ext2/file.c | bh = ext2_getblk (inode, pos / sb->s_blocksize, 1, &err); |
err | 257 | 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 | 102 | fs/ext2/fsync.c | int rc, err = 0; |
err | 115 | fs/ext2/fsync.c | err = rc; |
err | 118 | fs/ext2/fsync.c | return err; |
err | 126 | fs/ext2/fsync.c | int rc, err = 0; |
err | 139 | fs/ext2/fsync.c | err = rc; |
err | 142 | fs/ext2/fsync.c | return err; |
err | 150 | fs/ext2/fsync.c | int rc, err = 0; |
err | 163 | fs/ext2/fsync.c | err = rc; |
err | 166 | fs/ext2/fsync.c | return err; |
err | 171 | fs/ext2/fsync.c | int wait, err = 0; |
err | 184 | fs/ext2/fsync.c | err |= sync_direct (inode, wait); |
err | 185 | fs/ext2/fsync.c | err |= sync_indirect (inode, |
err | 188 | fs/ext2/fsync.c | err |= sync_dindirect (inode, |
err | 191 | fs/ext2/fsync.c | err |= sync_tindirect (inode, |
err | 196 | fs/ext2/fsync.c | err |= ext2_sync_inode (inode); |
err | 197 | fs/ext2/fsync.c | return (err < 0) ? -EIO : 0; |
err | 190 | fs/ext2/inode.c | int create, int new_block, int * err) |
err | 210 | fs/ext2/inode.c | *err = -EFBIG; |
err | 257 | fs/ext2/inode.c | int new_block, int * err) |
err | 290 | fs/ext2/inode.c | *err = -EFBIG; |
err | 332 | fs/ext2/inode.c | int create, int * err) |
err | 338 | fs/ext2/inode.c | *err = -EIO; |
err | 364 | fs/ext2/inode.c | *err = -ENOSPC; |
err | 367 | fs/ext2/inode.c | return inode_getblk (inode, block, create, b, err); |
err | 370 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_IND_BLOCK, create, b, err); |
err | 372 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
err | 376 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_DIND_BLOCK, create, b, err); |
err | 378 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
err | 380 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 383 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_TIND_BLOCK, create, b, err); |
err | 385 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 387 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 389 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
err | 393 | fs/ext2/inode.c | int create, int *err) |
err | 397 | fs/ext2/inode.c | bh = ext2_getblk (inode, block, create, err); |
err | 405 | fs/ext2/inode.c | *err = -EIO; |
err | 566 | fs/ext2/inode.c | int err = 0; |
err | 578 | fs/ext2/inode.c | err = -1; |
err | 582 | fs/ext2/inode.c | err = -1; |
err | 584 | fs/ext2/inode.c | return err; |
err | 83 | fs/ext2/namei.c | int block, toread, i, err; |
err | 105 | fs/ext2/namei.c | bh = ext2_getblk (dir, block, 0, &err); |
err | 158 | fs/ext2/namei.c | bh = ext2_getblk (dir, block + NAMEI_RA_SIZE, 0, &err); |
err | 221 | fs/ext2/namei.c | int *err) |
err | 229 | fs/ext2/namei.c | *err = -EINVAL; |
err | 248 | fs/ext2/namei.c | *err = -ENOENT; |
err | 251 | fs/ext2/namei.c | bh = ext2_bread (dir, 0, 0, err); |
err | 257 | fs/ext2/namei.c | *err = -ENOSPC; |
err | 262 | fs/ext2/namei.c | bh = ext2_bread (dir, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, err); |
err | 267 | fs/ext2/namei.c | *err = -ENOENT; |
err | 290 | fs/ext2/namei.c | *err = -ENOENT; |
err | 295 | fs/ext2/namei.c | *err = -EEXIST; |
err | 328 | fs/ext2/namei.c | *err = 0; |
err | 374 | fs/ext2/namei.c | int err; |
err | 387 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
err | 393 | fs/ext2/namei.c | return err; |
err | 417 | fs/ext2/namei.c | int err; |
err | 461 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
err | 467 | fs/ext2/namei.c | return err; |
err | 490 | fs/ext2/namei.c | int err; |
err | 514 | fs/ext2/namei.c | dir_block = ext2_bread (inode, 0, 1, &err); |
err | 520 | fs/ext2/namei.c | return err; |
err | 540 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
err | 546 | fs/ext2/namei.c | return err; |
err | 575 | fs/ext2/namei.c | int err; |
err | 579 | fs/ext2/namei.c | !(bh = ext2_bread (inode, 0, 0, &err))) { |
err | 597 | fs/ext2/namei.c | bh = ext2_bread (inode, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, &err); |
err | 773 | fs/ext2/namei.c | int i, err; |
err | 790 | fs/ext2/namei.c | name_block = ext2_bread (inode, 0, 1, &err); |
err | 796 | fs/ext2/namei.c | return err; |
err | 824 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
err | 830 | fs/ext2/namei.c | return err; |
err | 853 | fs/ext2/namei.c | int err; |
err | 872 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
err | 876 | fs/ext2/namei.c | return err; |
err | 98 | fs/ext2/symlink.c | int i, err; |
err | 108 | fs/ext2/symlink.c | bh = ext2_bread (inode, 0, 0, &err); |
err | 84 | fs/minix/fsync.c | int rc, err = 0; |
err | 91 | fs/minix/fsync.c | err = rc; |
err | 93 | fs/minix/fsync.c | return err; |
err | 100 | fs/minix/fsync.c | int rc, err = 0; |
err | 113 | fs/minix/fsync.c | err = rc; |
err | 116 | fs/minix/fsync.c | return err; |
err | 124 | fs/minix/fsync.c | int rc, err = 0; |
err | 137 | fs/minix/fsync.c | err = rc; |
err | 140 | fs/minix/fsync.c | return err; |
err | 145 | fs/minix/fsync.c | int wait, err = 0; |
err | 153 | fs/minix/fsync.c | err |= sync_direct(inode, wait); |
err | 154 | fs/minix/fsync.c | err |= sync_indirect(inode, inode->u.minix_i.i_data+7, wait); |
err | 155 | fs/minix/fsync.c | err |= sync_dindirect(inode, inode->u.minix_i.i_data+8, wait); |
err | 157 | fs/minix/fsync.c | err |= minix_sync_inode (inode); |
err | 158 | fs/minix/fsync.c | return (err < 0) ? -EIO : 0; |
err | 493 | fs/minix/inode.c | int err = 0; |
err | 505 | fs/minix/inode.c | err = -1; |
err | 509 | fs/minix/inode.c | err = -1; |
err | 511 | fs/minix/inode.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 | 109 | fs/sysv/fsync.c | int rc, err = 0; |
err | 124 | fs/sysv/fsync.c | err = rc; |
err | 127 | fs/sysv/fsync.c | return err; |
err | 136 | fs/sysv/fsync.c | int rc, err = 0; |
err | 151 | fs/sysv/fsync.c | err = rc; |
err | 154 | fs/sysv/fsync.c | return err; |
err | 163 | fs/sysv/fsync.c | int rc, err = 0; |
err | 178 | fs/sysv/fsync.c | err = rc; |
err | 181 | fs/sysv/fsync.c | return err; |
err | 186 | fs/sysv/fsync.c | int wait, err = 0; |
err | 193 | fs/sysv/fsync.c | err |= sync_direct(inode, wait); |
err | 194 | fs/sysv/fsync.c | err |= sync_indirect(inode, inode->u.sysv_i.i_data+10, 0, wait); |
err | 195 | fs/sysv/fsync.c | err |= sync_dindirect(inode, inode->u.sysv_i.i_data+11, 0, wait); |
err | 196 | fs/sysv/fsync.c | err |= sync_tindirect(inode, inode->u.sysv_i.i_data+12, 0, wait); |
err | 198 | fs/sysv/fsync.c | err |= sysv_sync_inode (inode); |
err | 199 | fs/sysv/fsync.c | return (err < 0) ? -EIO : 0; |
err | 789 | fs/sysv/inode.c | int err = 0; |
err | 800 | fs/sysv/inode.c | err = -1; |
err | 804 | fs/sysv/inode.c | err = -1; |
err | 806 | fs/sysv/inode.c | return 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 | 483 | fs/xiafs/inode.c | int err = 0; |
err | 495 | fs/xiafs/inode.c | err = -1; |
err | 499 | fs/xiafs/inode.c | err = -1; |
err | 501 | fs/xiafs/inode.c | return err; |
err | 41 | ipc/msg.c | int id, err; |
err | 51 | ipc/msg.c | err = verify_area (VERIFY_READ, msgp->mtext, msgsz); |
err | 52 | ipc/msg.c | if (err) |
err | 53 | ipc/msg.c | return err; |
err | 118 | ipc/msg.c | int id, err; |
err | 124 | ipc/msg.c | err = verify_area (VERIFY_WRITE, msgp->mtext, msgsz); |
err | 125 | ipc/msg.c | if (err) |
err | 126 | ipc/msg.c | return err; |
err | 321 | ipc/msg.c | int id, err; |
err | 347 | ipc/msg.c | err = verify_area (VERIFY_WRITE, buf, sizeof (struct msginfo)); |
err | 348 | ipc/msg.c | if (err) |
err | 349 | ipc/msg.c | return err; |
err | 356 | ipc/msg.c | err = verify_area (VERIFY_WRITE, buf, sizeof (*msq)); |
err | 357 | ipc/msg.c | if (err) |
err | 358 | ipc/msg.c | return err; |
err | 377 | ipc/msg.c | err = verify_area (VERIFY_WRITE, buf, sizeof(*msq)); |
err | 378 | ipc/msg.c | if (err) |
err | 379 | ipc/msg.c | return err; |
err | 199 | ipc/shm.c | int id, err; |
err | 206 | ipc/shm.c | err = verify_area (VERIFY_READ, buf, sizeof (*buf)); |
err | 207 | ipc/shm.c | if (err) |
err | 208 | ipc/shm.c | return err; |
err | 223 | ipc/shm.c | err = verify_area (VERIFY_WRITE, buf, sizeof (struct shminfo)); |
err | 224 | ipc/shm.c | if (err) |
err | 225 | ipc/shm.c | return err; |
err | 234 | ipc/shm.c | err = verify_area (VERIFY_WRITE, buf, sizeof (shm_info)); |
err | 235 | ipc/shm.c | if (err) |
err | 236 | ipc/shm.c | return err; |
err | 249 | ipc/shm.c | err = verify_area (VERIFY_WRITE, buf, sizeof (*shp)); |
err | 250 | ipc/shm.c | if (err) |
err | 251 | ipc/shm.c | return err; |
err | 294 | ipc/shm.c | err = verify_area (VERIFY_WRITE, buf, sizeof (*shp)); |
err | 295 | ipc/shm.c | if (err) |
err | 296 | ipc/shm.c | return err; |
err | 387 | ipc/shm.c | int err; |
err | 395 | ipc/shm.c | err = verify_area(VERIFY_WRITE, raddr, sizeof(long)); |
err | 396 | ipc/shm.c | if (err) |
err | 397 | ipc/shm.c | return err; |
err | 458 | ipc/shm.c | if ((err = shm_map (shmd, shmflg & SHM_REMAP))) { |
err | 462 | ipc/shm.c | return err; |
err | 221 | kernel/exit.c | int err,retval = -ESRCH; |
err | 228 | kernel/exit.c | if ((err = send_sig(sig,p,priv)) != 0) |
err | 229 | kernel/exit.c | retval = err; |
err | 245 | kernel/exit.c | int err,retval = -ESRCH; |
err | 252 | kernel/exit.c | if ((err = send_sig(sig,p,priv)) != 0) |
err | 253 | kernel/exit.c | retval = err; |
err | 280 | kernel/exit.c | int err, retval = 0, count = 0; |
err | 289 | kernel/exit.c | if ((err = send_sig(sig,p,0)) != -EPERM) |
err | 290 | kernel/exit.c | retval = err; |
err | 39 | kernel/signal.c | unsigned long err; |
err | 186 | kernel/signal.c | int err = verify_area(VERIFY_READ, action, sizeof(*action)); |
err | 187 | kernel/signal.c | if (err) |
err | 188 | kernel/signal.c | return err; |
err | 200 | kernel/signal.c | int err = verify_area(VERIFY_WRITE, oldaction, sizeof(*oldaction)); |
err | 201 | kernel/signal.c | if (err) |
err | 202 | kernel/signal.c | return err; |
err | 80 | kernel/traps.c | /*static*/ void die_if_kernel(char * str, struct pt_regs * regs, long err) |
err | 95 | kernel/traps.c | printk("%s: %04lx\n", str, err & 0xffff); |
err | 951 | net/inet/arp.c | int err; |
err | 957 | net/inet/arp.c | err=verify_area(VERIFY_READ,arg,sizeof(struct arpreq)); |
err | 958 | net/inet/arp.c | if(err) |
err | 959 | net/inet/arp.c | return err; |
err | 962 | net/inet/arp.c | err=verify_area(VERIFY_WRITE,arg,sizeof(struct arpreq)); |
err | 963 | net/inet/arp.c | if(err) |
err | 964 | net/inet/arp.c | return err; |
err | 968 | net/inet/arp.c | err=verify_area(VERIFY_READ,arg,sizeof(struct arpreq)); |
err | 969 | net/inet/arp.c | if(err) |
err | 970 | net/inet/arp.c | return err; |
err | 49 | net/inet/datagram.c | struct sk_buff *skb_recv_datagram(struct sock *sk, unsigned flags, int noblock, int *err) |
err | 62 | net/inet/datagram.c | *err=0; |
err | 66 | net/inet/datagram.c | if(sk->err) |
err | 69 | net/inet/datagram.c | *err=-sk->err; |
err | 70 | net/inet/datagram.c | sk->err=0; |
err | 78 | net/inet/datagram.c | *err=-ENOTCONN; |
err | 86 | net/inet/datagram.c | *err=-EAGAIN; |
err | 101 | net/inet/datagram.c | *err=-ERESTARTSYS; |
err | 104 | net/inet/datagram.c | if(sk->err != 0) /* Error while waiting for packet |
err | 108 | net/inet/datagram.c | *err = -sk->err; |
err | 110 | net/inet/datagram.c | sk->err=0; |
err | 135 | net/inet/datagram.c | *err=-EAGAIN; |
err | 181 | net/inet/datagram.c | if (sk->rqueue != NULL || sk->err != 0) |
err | 200 | net/inet/datagram.c | if (sk->err) |
err | 739 | net/inet/dev.c | int err; |
err | 742 | net/inet/dev.c | err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifconf)); |
err | 743 | net/inet/dev.c | if(err) |
err | 744 | net/inet/dev.c | return err; |
err | 833 | net/inet/dev.c | int err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifreq)); |
err | 834 | net/inet/dev.c | if(err) |
err | 835 | net/inet/dev.c | return err; |
err | 145 | net/inet/icmp.c | int err; |
err | 147 | net/inet/icmp.c | err = (icmph->type << 8) | icmph->code; |
err | 191 | net/inet/icmp.c | ipprot->err_handler(err, (unsigned char *)(icmph + 1), |
err | 1546 | net/inet/ip.c | int val,err; |
err | 1551 | net/inet/ip.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
err | 1552 | net/inet/ip.c | if(err) |
err | 1553 | net/inet/ip.c | return err; |
err | 1580 | net/inet/ip.c | int val,err; |
err | 1596 | net/inet/ip.c | err=verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 1597 | net/inet/ip.c | if(err) |
err | 1598 | net/inet/ip.c | return err; |
err | 1601 | net/inet/ip.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
err | 1602 | net/inet/ip.c | if(err) |
err | 1603 | net/inet/ip.c | return err; |
err | 92 | net/inet/packet.c | int err; |
err | 101 | net/inet/packet.c | err=verify_area(VERIFY_READ, usin, sizeof(saddr)); |
err | 102 | net/inet/packet.c | if(err) |
err | 103 | net/inet/packet.c | return err; |
err | 108 | net/inet/packet.c | err=verify_area(VERIFY_READ,from,len); |
err | 109 | net/inet/packet.c | if(err) |
err | 110 | net/inet/packet.c | return(err); |
err | 196 | net/inet/packet.c | int err; |
err | 204 | net/inet/packet.c | err=verify_area(VERIFY_WRITE, addr_len, sizeof(*addr_len)); |
err | 205 | net/inet/packet.c | if(err) |
err | 206 | net/inet/packet.c | return err; |
err | 210 | net/inet/packet.c | err=verify_area(VERIFY_WRITE,to,len); |
err | 211 | net/inet/packet.c | if(err) |
err | 212 | net/inet/packet.c | return err; |
err | 213 | net/inet/packet.c | skb=skb_recv_datagram(sk,flags,noblock,&err); |
err | 215 | net/inet/packet.c | return err; |
err | 39 | net/inet/protocol.h | void (*err_handler)(int err, unsigned char *buff, |
err | 64 | net/inet/raw.c | raw_err (int err, unsigned char *header, unsigned long daddr, |
err | 70 | net/inet/raw.c | err, header, daddr, saddr, protocol)); |
err | 77 | net/inet/raw.c | if (err & 0xff00 == (ICMP_SOURCE_QUENCH << 8)) { |
err | 82 | net/inet/raw.c | sk->err = icmp_err_convert[err & 0xff].errno; |
err | 147 | net/inet/raw.c | int err; |
err | 157 | net/inet/raw.c | err=verify_area(VERIFY_READ,from,len); |
err | 158 | net/inet/raw.c | if(err) |
err | 159 | net/inet/raw.c | return err; |
err | 163 | net/inet/raw.c | err=verify_area (VERIFY_READ, usin, sizeof (sin)); |
err | 164 | net/inet/raw.c | if(err) |
err | 165 | net/inet/raw.c | return err; |
err | 182 | net/inet/raw.c | if(sk->err!=0) |
err | 184 | net/inet/raw.c | err= -sk->err; |
err | 185 | net/inet/raw.c | sk->err=0; |
err | 187 | net/inet/raw.c | return(err); |
err | 322 | net/inet/raw.c | int err; |
err | 333 | net/inet/raw.c | err=verify_area(VERIFY_WRITE, addr_len, sizeof(*addr_len)); |
err | 334 | net/inet/raw.c | if(err) |
err | 335 | net/inet/raw.c | return err; |
err | 340 | net/inet/raw.c | err=verify_area(VERIFY_WRITE, sin, sizeof(*sin)); |
err | 341 | net/inet/raw.c | if(err) |
err | 342 | net/inet/raw.c | return err; |
err | 345 | net/inet/raw.c | err=verify_area(VERIFY_WRITE,to,len); |
err | 346 | net/inet/raw.c | if(err) |
err | 347 | net/inet/raw.c | return err; |
err | 349 | net/inet/raw.c | skb=skb_recv_datagram(sk,flags,noblock,&err); |
err | 351 | net/inet/raw.c | return err; |
err | 24 | net/inet/raw.h | extern void raw_err(int err, unsigned char *header, unsigned long daddr, |
err | 256 | net/inet/route.c | int err; |
err | 262 | net/inet/route.c | err = getname(devname, &devname); |
err | 263 | net/inet/route.c | if (err) |
err | 264 | net/inet/route.c | return err; |
err | 378 | net/inet/route.c | int err; |
err | 381 | net/inet/route.c | err=verify_area(VERIFY_READ, src, sizeof(*src)); |
err | 382 | net/inet/route.c | if (err) |
err | 383 | net/inet/route.c | return err; |
err | 397 | net/inet/route.c | int err; |
err | 407 | net/inet/route.c | err = get_old_rtent((struct old_rtentry *) arg, &rt); |
err | 408 | net/inet/route.c | if (err) |
err | 409 | net/inet/route.c | return err; |
err | 415 | net/inet/route.c | err=verify_area(VERIFY_READ, arg, sizeof(struct rtentry)); |
err | 416 | net/inet/route.c | if (err) |
err | 417 | net/inet/route.c | return err; |
err | 107 | net/inet/skbuff.h | extern struct sk_buff * skb_recv_datagram(struct sock *sk,unsigned flags,int noblock, int *err); |
err | 518 | net/inet/sock.c | int err; |
err | 524 | net/inet/sock.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
err | 525 | net/inet/sock.c | if(err) |
err | 526 | net/inet/sock.c | return err; |
err | 550 | net/inet/sock.c | err=verify_area(VERIFY_READ,optval,sizeof(ling)); |
err | 551 | net/inet/sock.c | if(err) |
err | 552 | net/inet/sock.c | return err; |
err | 619 | net/inet/sock.c | int err; |
err | 637 | net/inet/sock.c | err=verify_area(VERIFY_WRITE,optval,sizeof(ling)); |
err | 638 | net/inet/sock.c | if(err) |
err | 639 | net/inet/sock.c | return err; |
err | 640 | net/inet/sock.c | err=verify_area(VERIFY_WRITE,optlen,sizeof(int)); |
err | 641 | net/inet/sock.c | if(err) |
err | 642 | net/inet/sock.c | return err; |
err | 673 | net/inet/sock.c | val = sk->err; |
err | 674 | net/inet/sock.c | sk->err = 0; |
err | 692 | net/inet/sock.c | err=verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 693 | net/inet/sock.c | if(err) |
err | 694 | net/inet/sock.c | return err; |
err | 697 | net/inet/sock.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
err | 698 | net/inet/sock.c | if(err) |
err | 699 | net/inet/sock.c | return err; |
err | 759 | net/inet/sock.c | int err; |
err | 893 | net/inet/sock.c | sk->err = 0; |
err | 937 | net/inet/sock.c | err = sk->prot->init(sk); |
err | 938 | net/inet/sock.c | if (err != 0) { |
err | 940 | net/inet/sock.c | return(err); |
err | 1019 | net/inet/sock.c | int err; |
err | 1031 | net/inet/sock.c | err=verify_area(VERIFY_READ, uaddr, addr_len); |
err | 1032 | net/inet/sock.c | if(err) |
err | 1033 | net/inet/sock.c | return err; |
err | 1099 | net/inet/sock.c | int err; |
err | 1132 | net/inet/sock.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
err | 1133 | net/inet/sock.c | if (err < 0) return(err); |
err | 1151 | net/inet/sock.c | if(sk->err && sk->protocol == IPPROTO_TCP) |
err | 1155 | net/inet/sock.c | err = -sk->err; |
err | 1156 | net/inet/sock.c | sk->err=0; |
err | 1157 | net/inet/sock.c | return err; /* set by tcp_err() */ |
err | 1163 | net/inet/sock.c | if (sk->state != TCP_ESTABLISHED && sk->err) { |
err | 1165 | net/inet/sock.c | err=sk->err; |
err | 1166 | net/inet/sock.c | sk->err=0; |
err | 1167 | net/inet/sock.c | return(-err); |
err | 1184 | net/inet/sock.c | int err; |
err | 1209 | net/inet/sock.c | if (sk1->err <= 0) |
err | 1211 | net/inet/sock.c | err=sk1->err; |
err | 1212 | net/inet/sock.c | sk1->err=0; |
err | 1213 | net/inet/sock.c | return(-err); |
err | 1234 | net/inet/sock.c | if (sk2->state != TCP_ESTABLISHED && sk2->err > 0) { |
err | 1236 | net/inet/sock.c | err = -sk2->err; |
err | 1237 | net/inet/sock.c | sk2->err=0; |
err | 1240 | net/inet/sock.c | return(err); |
err | 1254 | net/inet/sock.c | int err; |
err | 1257 | net/inet/sock.c | err = verify_area(VERIFY_WRITE,uaddr_len,sizeof(long)); |
err | 1258 | net/inet/sock.c | if(err) |
err | 1259 | net/inet/sock.c | return err; |
err | 1263 | net/inet/sock.c | err = verify_area(VERIFY_WRITE, uaddr, len); |
err | 1264 | net/inet/sock.c | if(err) |
err | 1265 | net/inet/sock.c | return err; |
err | 1503 | net/inet/sock.c | int err; |
err | 1515 | net/inet/sock.c | err=verify_area(VERIFY_READ,(int *)arg,sizeof(long)); |
err | 1516 | net/inet/sock.c | if(err) |
err | 1517 | net/inet/sock.c | return err; |
err | 1524 | net/inet/sock.c | err=verify_area(VERIFY_WRITE,(void *) arg, sizeof(long)); |
err | 1525 | net/inet/sock.c | if(err) |
err | 1526 | net/inet/sock.c | return err; |
err | 126 | net/inet/sock.h | volatile short err; |
err | 251 | net/inet/tcp.c | tcp_err(int err, unsigned char *header, unsigned long daddr, |
err | 261 | net/inet/tcp.c | err, header, daddr, saddr, protocol)); |
err | 269 | net/inet/tcp.c | if(err<0) |
err | 271 | net/inet/tcp.c | sk->err = -err; |
err | 276 | net/inet/tcp.c | if ((err & 0xff00) == (ICMP_SOURCE_QUENCH << 8)) { |
err | 287 | net/inet/tcp.c | sk->err = icmp_err_convert[err & 0xff].errno; |
err | 293 | net/inet/tcp.c | if (icmp_err_convert[err & 0xff].fatal) { |
err | 399 | net/inet/tcp.c | if (sk->err != 0) /* Receiver error */ |
err | 453 | net/inet/tcp.c | if (sk->err || sk->urg_data) { |
err | 469 | net/inet/tcp.c | int err; |
err | 488 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
err | 490 | net/inet/tcp.c | if(err) |
err | 491 | net/inet/tcp.c | return err; |
err | 499 | net/inet/tcp.c | err = verify_area(VERIFY_WRITE,(void *) arg, |
err | 501 | net/inet/tcp.c | if (err) |
err | 502 | net/inet/tcp.c | return err; |
err | 512 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
err | 514 | net/inet/tcp.c | if(err) |
err | 515 | net/inet/tcp.c | return err; |
err | 827 | net/inet/tcp.c | if (sk->err) { /* Stop on an error */ |
err | 830 | net/inet/tcp.c | tmp = -sk->err; |
err | 831 | net/inet/tcp.c | sk->err = 0; |
err | 838 | net/inet/tcp.c | sk->err = EPIPE; |
err | 840 | net/inet/tcp.c | sk->err = 0; |
err | 848 | net/inet/tcp.c | if (sk->err) { |
err | 851 | net/inet/tcp.c | tmp = -sk->err; |
err | 852 | net/inet/tcp.c | sk->err = 0; |
err | 861 | net/inet/tcp.c | if (sk->err) { |
err | 862 | net/inet/tcp.c | tmp = -sk->err; |
err | 863 | net/inet/tcp.c | sk->err = 0; |
err | 883 | net/inet/tcp.c | sk->state != TCP_CLOSE_WAIT && sk->err == 0) { |
err | 992 | net/inet/tcp.c | && sk->err == 0) { |
err | 1058 | net/inet/tcp.c | sk->err = 0; |
err | 1264 | net/inet/tcp.c | if (sk->err) { |
err | 1265 | net/inet/tcp.c | int tmp = -sk->err; |
err | 1266 | net/inet/tcp.c | sk->err = 0; |
err | 1291 | net/inet/tcp.c | if ((sk->urg_data & URG_NOTYET) && sk->err == 0 && |
err | 1310 | net/inet/tcp.c | int err; |
err | 1318 | net/inet/tcp.c | err = verify_area(VERIFY_WRITE, to, len); |
err | 1319 | net/inet/tcp.c | if (err) |
err | 1320 | net/inet/tcp.c | return err; |
err | 1368 | net/inet/tcp.c | if (sk->err) { |
err | 1369 | net/inet/tcp.c | copied = -sk->err; |
err | 1370 | net/inet/tcp.c | sk->err = 0; |
err | 1550 | net/inet/tcp.c | int err; |
err | 1556 | net/inet/tcp.c | err = verify_area(VERIFY_WRITE,addr_len,sizeof(long)); |
err | 1557 | net/inet/tcp.c | if(err) |
err | 1558 | net/inet/tcp.c | return err; |
err | 1562 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE, addr, len); |
err | 1563 | net/inet/tcp.c | if(err) |
err | 1564 | net/inet/tcp.c | return err; |
err | 1799 | net/inet/tcp.c | newsk->err = 0; |
err | 1861 | net/inet/tcp.c | sk->err = -ENOMEM; |
err | 1881 | net/inet/tcp.c | sk->err = tmp; |
err | 2576 | net/inet/tcp.c | sk->err = EPIPE; |
err | 2918 | net/inet/tcp.c | sk->err = EINVAL; |
err | 2929 | net/inet/tcp.c | sk->err = EAGAIN; |
err | 2937 | net/inet/tcp.c | sk->err = ERESTARTSYS; |
err | 2964 | net/inet/tcp.c | int err; |
err | 2969 | net/inet/tcp.c | err=verify_area(VERIFY_READ, usin, addr_len); |
err | 2970 | net/inet/tcp.c | if(err) |
err | 2971 | net/inet/tcp.c | return err; |
err | 2994 | net/inet/tcp.c | sk->err = 0; |
err | 3256 | net/inet/tcp.c | sk->err = ECONNRESET; |
err | 3288 | net/inet/tcp.c | sk->err = ECONNRESET; |
err | 3291 | net/inet/tcp.c | sk->err = EPIPE; |
err | 3313 | net/inet/tcp.c | sk->err = ECONNRESET; |
err | 3416 | net/inet/tcp.c | sk->err = ECONNREFUSED; |
err | 3429 | net/inet/tcp.c | sk->err = ECONNRESET; |
err | 3645 | net/inet/tcp.c | int val,err; |
err | 3653 | net/inet/tcp.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
err | 3654 | net/inet/tcp.c | if(err) |
err | 3655 | net/inet/tcp.c | return err; |
err | 3682 | net/inet/tcp.c | int val,err; |
err | 3698 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 3699 | net/inet/tcp.c | if(err) |
err | 3700 | net/inet/tcp.c | return err; |
err | 3703 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
err | 3704 | net/inet/tcp.c | if(err) |
err | 3705 | net/inet/tcp.c | return err; |
err | 117 | net/inet/tcp.h | extern void tcp_err(int err, unsigned char *header, unsigned long daddr, |
err | 184 | net/inet/timer.c | sk->err = ETIMEDOUT; |
err | 218 | net/inet/timer.c | sk->err = ETIMEDOUT; |
err | 96 | net/inet/udp.c | udp_err(int err, unsigned char *header, unsigned long daddr, |
err | 108 | net/inet/udp.c | sport=%d,dport=%d", err, header, daddr, saddr, protocol, (int)th->source,(int)th->dest)); |
err | 115 | net/inet/udp.c | if (err < 0) /* As per the calling spec */ |
err | 117 | net/inet/udp.c | sk->err = -err; |
err | 122 | net/inet/udp.c | if (err & 0xff00 ==(ICMP_SOURCE_QUENCH << 8)) { /* Slow down! */ |
err | 128 | net/inet/udp.c | sk->err = icmp_err_convert[err & 0xff].errno; |
err | 131 | net/inet/udp.c | if (icmp_err_convert[err & 0xff].fatal && sk->state == TCP_ESTABLISHED) { |
err | 132 | net/inet/udp.c | sk->err=ECONNREFUSED; |
err | 225 | net/inet/udp.c | int err; |
err | 231 | net/inet/udp.c | err=verify_area(VERIFY_READ, from, len); |
err | 232 | net/inet/udp.c | if(err) |
err | 233 | net/inet/udp.c | return(err); |
err | 308 | net/inet/udp.c | int err; |
err | 323 | net/inet/udp.c | err=verify_area(VERIFY_READ, usin, sizeof(sin)); |
err | 324 | net/inet/udp.c | if(err) |
err | 325 | net/inet/udp.c | return err; |
err | 362 | net/inet/udp.c | int err; |
err | 369 | net/inet/udp.c | err=verify_area(VERIFY_READ, (void *)arg, sizeof(int)); |
err | 370 | net/inet/udp.c | if(err) |
err | 371 | net/inet/udp.c | return err; |
err | 391 | net/inet/udp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
err | 393 | net/inet/udp.c | if(err) |
err | 394 | net/inet/udp.c | return(err); |
err | 415 | net/inet/udp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
err | 417 | net/inet/udp.c | if(err) |
err | 418 | net/inet/udp.c | return(err); |
err | 448 | net/inet/udp.c | if (sk->err) { |
err | 449 | net/inet/udp.c | int err; |
err | 451 | net/inet/udp.c | err = -sk->err; |
err | 452 | net/inet/udp.c | sk->err = 0; |
err | 453 | net/inet/udp.c | return(err); |
err | 34 | net/inet/udp.h | extern void udp_err(int err, unsigned char *header, unsigned long daddr, |
err | 107 | net/inet/utils.c | int err; |
err | 110 | net/inet/utils.c | err=verify_area(VERIFY_READ, (void *)arg, sizeof(int)); |
err | 111 | net/inet/utils.c | if(err) |
err | 112 | net/inet/utils.c | return err; |