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 | 204 | drivers/block/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)),err; |
err | 209 | drivers/block/xd.c | if ((err = verify_area(VERIFY_WRITE,geometry,sizeof(*geometry)))) |
err | 210 | drivers/block/xd.c | return (err); |
err | 220 | drivers/block/xd.c | if ((err = verify_area(VERIFY_WRITE,(long *) arg,sizeof(long)))) |
err | 221 | 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 | 1049 | drivers/net/slip.c | int err=verify_area(VERIFY_READ,addr,7); |
err | 1050 | drivers/net/slip.c | if(err) |
err | 1051 | drivers/net/slip.c | return err; |
err | 1063 | drivers/net/slip.c | int err; |
err | 1074 | drivers/net/slip.c | err=verify_area(VERIFY_WRITE, arg, 16); |
err | 1075 | drivers/net/slip.c | if(err) |
err | 1076 | drivers/net/slip.c | return -err; |
err | 1080 | drivers/net/slip.c | err=verify_area(VERIFY_WRITE,arg,sizeof(long)); |
err | 1084 | 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 | 189 | fs/ext2/inode.c | int create, int new_block, int * err) |
err | 209 | fs/ext2/inode.c | *err = -EFBIG; |
err | 256 | fs/ext2/inode.c | int new_block, int * err) |
err | 289 | fs/ext2/inode.c | *err = -EFBIG; |
err | 331 | fs/ext2/inode.c | int create, int * err) |
err | 337 | fs/ext2/inode.c | *err = -EIO; |
err | 363 | fs/ext2/inode.c | *err = -ENOSPC; |
err | 366 | fs/ext2/inode.c | return inode_getblk (inode, block, create, b, err); |
err | 369 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_IND_BLOCK, create, b, err); |
err | 371 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
err | 375 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_DIND_BLOCK, create, b, err); |
err | 377 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
err | 379 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 382 | fs/ext2/inode.c | bh = inode_getblk (inode, EXT2_TIND_BLOCK, create, b, err); |
err | 384 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 386 | fs/ext2/inode.c | create, inode->i_sb->s_blocksize, b, err); |
err | 388 | fs/ext2/inode.c | inode->i_sb->s_blocksize, b, err); |
err | 392 | fs/ext2/inode.c | int create, int *err) |
err | 396 | fs/ext2/inode.c | bh = ext2_getblk (inode, block, create, err); |
err | 404 | fs/ext2/inode.c | *err = -EIO; |
err | 565 | fs/ext2/inode.c | int err = 0; |
err | 577 | fs/ext2/inode.c | err = -1; |
err | 581 | fs/ext2/inode.c | err = -1; |
err | 583 | 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 | 452 | ipc/shm.c | if ((err = shm_map (shmd, shmflg & SHM_REMAP))) { |
err | 456 | 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 | 80 | kernel/traps.c | /*static*/ void die_if_kernel(char * str, struct pt_regs * regs, long err) |
err | 88 | kernel/traps.c | printk("%s: %04lx\n", str, err & 0xffff); |
err | 925 | net/inet/arp.c | int err; |
err | 931 | net/inet/arp.c | err=verify_area(VERIFY_READ,arg,sizeof(struct arpreq)); |
err | 932 | net/inet/arp.c | if(err) |
err | 933 | net/inet/arp.c | return err; |
err | 936 | net/inet/arp.c | err=verify_area(VERIFY_WRITE,arg,sizeof(struct arpreq)); |
err | 937 | net/inet/arp.c | if(err) |
err | 938 | net/inet/arp.c | return err; |
err | 942 | net/inet/arp.c | err=verify_area(VERIFY_READ,arg,sizeof(struct arpreq)); |
err | 943 | net/inet/arp.c | if(err) |
err | 944 | 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 | 758 | net/inet/dev.c | int err; |
err | 761 | net/inet/dev.c | err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifconf)); |
err | 762 | net/inet/dev.c | if(err) |
err | 763 | net/inet/dev.c | return err; |
err | 852 | net/inet/dev.c | int err=verify_area(VERIFY_WRITE, arg, sizeof(struct ifreq)); |
err | 853 | net/inet/dev.c | if(err) |
err | 854 | 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 | 1526 | net/inet/ip.c | int val,err; |
err | 1531 | net/inet/ip.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
err | 1532 | net/inet/ip.c | if(err) |
err | 1533 | net/inet/ip.c | return err; |
err | 1560 | net/inet/ip.c | int val,err; |
err | 1576 | net/inet/ip.c | err=verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 1577 | net/inet/ip.c | if(err) |
err | 1578 | net/inet/ip.c | return err; |
err | 1581 | net/inet/ip.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
err | 1582 | net/inet/ip.c | if(err) |
err | 1583 | 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 | 353 | net/inet/route.c | int err; |
err | 363 | net/inet/route.c | err=verify_area(VERIFY_READ, arg, sizeof(struct rtentry)); |
err | 364 | net/inet/route.c | if (err) |
err | 365 | net/inet/route.c | return err; |
err | 368 | net/inet/route.c | err = getname(devname, &devname); |
err | 369 | net/inet/route.c | if (err) |
err | 370 | net/inet/route.c | return err; |
err | 108 | 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 | 890 | net/inet/sock.c | sk->err = 0; |
err | 934 | net/inet/sock.c | err = sk->prot->init(sk); |
err | 935 | net/inet/sock.c | if (err != 0) { |
err | 937 | net/inet/sock.c | return(err); |
err | 1012 | net/inet/sock.c | int err; |
err | 1024 | net/inet/sock.c | err=verify_area(VERIFY_READ, uaddr, addr_len); |
err | 1025 | net/inet/sock.c | if(err) |
err | 1026 | net/inet/sock.c | return err; |
err | 1092 | net/inet/sock.c | int err; |
err | 1125 | net/inet/sock.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
err | 1126 | net/inet/sock.c | if (err < 0) return(err); |
err | 1144 | net/inet/sock.c | if(sk->err && sk->protocol == IPPROTO_TCP) |
err | 1148 | net/inet/sock.c | err = -sk->err; |
err | 1149 | net/inet/sock.c | sk->err=0; |
err | 1150 | net/inet/sock.c | return err; /* set by tcp_err() */ |
err | 1156 | net/inet/sock.c | if (sk->state != TCP_ESTABLISHED && sk->err) { |
err | 1158 | net/inet/sock.c | err=sk->err; |
err | 1159 | net/inet/sock.c | sk->err=0; |
err | 1160 | net/inet/sock.c | return(-err); |
err | 1177 | net/inet/sock.c | int err; |
err | 1202 | net/inet/sock.c | if (sk1->err <= 0) |
err | 1204 | net/inet/sock.c | err=sk1->err; |
err | 1205 | net/inet/sock.c | sk1->err=0; |
err | 1206 | net/inet/sock.c | return(-err); |
err | 1227 | net/inet/sock.c | if (sk2->state != TCP_ESTABLISHED && sk2->err > 0) { |
err | 1229 | net/inet/sock.c | err = -sk2->err; |
err | 1230 | net/inet/sock.c | sk2->err=0; |
err | 1233 | net/inet/sock.c | return(err); |
err | 1247 | net/inet/sock.c | int err; |
err | 1250 | net/inet/sock.c | err = verify_area(VERIFY_WRITE,uaddr_len,sizeof(long)); |
err | 1251 | net/inet/sock.c | if(err) |
err | 1252 | net/inet/sock.c | return err; |
err | 1256 | net/inet/sock.c | err = verify_area(VERIFY_WRITE, uaddr, len); |
err | 1257 | net/inet/sock.c | if(err) |
err | 1258 | net/inet/sock.c | return err; |
err | 1496 | net/inet/sock.c | int err; |
err | 1508 | net/inet/sock.c | err=verify_area(VERIFY_READ,(int *)arg,sizeof(long)); |
err | 1509 | net/inet/sock.c | if(err) |
err | 1510 | net/inet/sock.c | return err; |
err | 1517 | net/inet/sock.c | err=verify_area(VERIFY_WRITE,(void *) arg, sizeof(long)); |
err | 1518 | net/inet/sock.c | if(err) |
err | 1519 | net/inet/sock.c | return err; |
err | 115 | net/inet/sock.h | volatile short err; |
err | 238 | net/inet/tcp.c | tcp_err(int err, unsigned char *header, unsigned long daddr, |
err | 248 | net/inet/tcp.c | err, header, daddr, saddr, protocol)); |
err | 256 | net/inet/tcp.c | if(err<0) |
err | 258 | net/inet/tcp.c | sk->err = -err; |
err | 263 | net/inet/tcp.c | if ((err & 0xff00) == (ICMP_SOURCE_QUENCH << 8)) { |
err | 274 | net/inet/tcp.c | sk->err = icmp_err_convert[err & 0xff].errno; |
err | 280 | net/inet/tcp.c | if (icmp_err_convert[err & 0xff].fatal) { |
err | 385 | net/inet/tcp.c | if (sk->err != 0) /* Receiver error */ |
err | 439 | net/inet/tcp.c | if (sk->err) { |
err | 455 | net/inet/tcp.c | int err; |
err | 474 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
err | 476 | net/inet/tcp.c | if(err) |
err | 477 | net/inet/tcp.c | return err; |
err | 497 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *) arg, |
err | 499 | net/inet/tcp.c | if(err) |
err | 500 | net/inet/tcp.c | return err; |
err | 510 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,(void *)arg, |
err | 512 | net/inet/tcp.c | if(err) |
err | 513 | net/inet/tcp.c | return err; |
err | 819 | net/inet/tcp.c | if (sk->err) { /* Stop on an error */ |
err | 822 | net/inet/tcp.c | tmp = -sk->err; |
err | 823 | net/inet/tcp.c | sk->err = 0; |
err | 830 | net/inet/tcp.c | sk->err = EPIPE; |
err | 832 | net/inet/tcp.c | sk->err = 0; |
err | 840 | net/inet/tcp.c | if (sk->err) { |
err | 843 | net/inet/tcp.c | tmp = -sk->err; |
err | 844 | net/inet/tcp.c | sk->err = 0; |
err | 853 | net/inet/tcp.c | if (sk->err) { |
err | 854 | net/inet/tcp.c | tmp = -sk->err; |
err | 855 | net/inet/tcp.c | sk->err = 0; |
err | 875 | net/inet/tcp.c | sk->state != TCP_CLOSE_WAIT && sk->err == 0) { |
err | 972 | net/inet/tcp.c | && sk->err == 0) { |
err | 1038 | net/inet/tcp.c | sk->err = 0; |
err | 1233 | net/inet/tcp.c | if (sk->err) { |
err | 1238 | net/inet/tcp.c | tmp = -sk->err; |
err | 1239 | net/inet/tcp.c | sk->err = 0; |
err | 1270 | net/inet/tcp.c | sk->err == 0 && !(sk->shutdown & RCV_SHUTDOWN)) { |
err | 1323 | net/inet/tcp.c | int err; |
err | 1330 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,to,len); |
err | 1331 | net/inet/tcp.c | if(err) |
err | 1332 | net/inet/tcp.c | return err; |
err | 1357 | net/inet/tcp.c | if (sk->err) |
err | 1368 | net/inet/tcp.c | tmp = -sk->err; |
err | 1369 | net/inet/tcp.c | sk->err = 0; |
err | 1426 | net/inet/tcp.c | if (sk->shutdown & RCV_SHUTDOWN || sk->err != 0) { |
err | 1639 | net/inet/tcp.c | int err; |
err | 1645 | net/inet/tcp.c | err = verify_area(VERIFY_WRITE,addr_len,sizeof(long)); |
err | 1646 | net/inet/tcp.c | if(err) |
err | 1647 | net/inet/tcp.c | return err; |
err | 1651 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE, addr, len); |
err | 1652 | net/inet/tcp.c | if(err) |
err | 1653 | net/inet/tcp.c | return err; |
err | 1863 | net/inet/tcp.c | newsk->err = 0; |
err | 1916 | net/inet/tcp.c | sk->err = -ENOMEM; |
err | 1936 | net/inet/tcp.c | sk->err = tmp; |
err | 2550 | net/inet/tcp.c | sk->err = EPIPE; |
err | 2862 | net/inet/tcp.c | sk->err = EINVAL; |
err | 2873 | net/inet/tcp.c | sk->err = EAGAIN; |
err | 2881 | net/inet/tcp.c | sk->err = ERESTARTSYS; |
err | 2908 | net/inet/tcp.c | int err; |
err | 2913 | net/inet/tcp.c | err=verify_area(VERIFY_READ, usin, addr_len); |
err | 2914 | net/inet/tcp.c | if(err) |
err | 2915 | net/inet/tcp.c | return err; |
err | 2937 | net/inet/tcp.c | sk->err = 0; |
err | 3210 | net/inet/tcp.c | sk->err = ECONNRESET; |
err | 3242 | net/inet/tcp.c | sk->err = ECONNRESET; |
err | 3245 | net/inet/tcp.c | sk->err = EPIPE; |
err | 3267 | net/inet/tcp.c | sk->err = ECONNRESET; |
err | 3372 | net/inet/tcp.c | sk->err = ECONNREFUSED; |
err | 3385 | net/inet/tcp.c | sk->err = ECONNRESET; |
err | 3654 | net/inet/tcp.c | int val,err; |
err | 3662 | net/inet/tcp.c | err=verify_area(VERIFY_READ, optval, sizeof(int)); |
err | 3663 | net/inet/tcp.c | if(err) |
err | 3664 | net/inet/tcp.c | return err; |
err | 3685 | net/inet/tcp.c | int val,err; |
err | 3701 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE, optlen, sizeof(int)); |
err | 3702 | net/inet/tcp.c | if(err) |
err | 3703 | net/inet/tcp.c | return err; |
err | 3706 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE, optval, sizeof(int)); |
err | 3707 | net/inet/tcp.c | if(err) |
err | 3708 | 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 | 179 | net/inet/timer.c | sk->err = ETIMEDOUT; |
err | 213 | 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; |