tag | line | file | source code |
ret | 212 | arch/i386/kernel/bios32.c | unsigned long ret; |
ret | 219 | arch/i386/kernel/bios32.c | "=a" (ret) |
ret | 226 | arch/i386/kernel/bios32.c | return (int) (ret & 0xff00) >> 8; |
ret | 234 | arch/i386/kernel/bios32.c | unsigned short ret; |
ret | 241 | arch/i386/kernel/bios32.c | "=a" (ret) |
ret | 249 | arch/i386/kernel/bios32.c | return (int) (ret & 0xff00) >> 8; |
ret | 255 | arch/i386/kernel/bios32.c | unsigned long ret; |
ret | 263 | arch/i386/kernel/bios32.c | "=a" (ret) |
ret | 268 | arch/i386/kernel/bios32.c | return (int) (ret & 0xff00) >> 8; |
ret | 274 | arch/i386/kernel/bios32.c | unsigned long ret; |
ret | 282 | arch/i386/kernel/bios32.c | "=a" (ret) |
ret | 287 | arch/i386/kernel/bios32.c | return (int) (ret & 0xff00) >> 8; |
ret | 293 | arch/i386/kernel/bios32.c | unsigned long ret; |
ret | 301 | arch/i386/kernel/bios32.c | "=a" (ret) |
ret | 306 | arch/i386/kernel/bios32.c | return (int) (ret & 0xff00) >> 8; |
ret | 312 | arch/i386/kernel/bios32.c | unsigned long ret; |
ret | 319 | arch/i386/kernel/bios32.c | : "=a" (ret) |
ret | 325 | arch/i386/kernel/bios32.c | return (int) (ret & 0xff00) >> 8; |
ret | 331 | arch/i386/kernel/bios32.c | unsigned long ret; |
ret | 338 | arch/i386/kernel/bios32.c | : "=a" (ret) |
ret | 344 | arch/i386/kernel/bios32.c | return (int) (ret & 0xff00) >> 8; |
ret | 350 | arch/i386/kernel/bios32.c | unsigned long ret; |
ret | 357 | arch/i386/kernel/bios32.c | : "=a" (ret) |
ret | 363 | arch/i386/kernel/bios32.c | return (int) (ret & 0xff00) >> 8; |
ret | 19 | arch/mips/kernel/tynedma.c | unsigned long ret = allocated; |
ret | 22 | arch/mips/kernel/tynedma.c | ret = -1; |
ret | 23 | arch/mips/kernel/tynedma.c | return ret; |
ret | 17 | arch/ppc/kernel/raw_printf.c | int ret; |
ret | 22 | arch/ppc/kernel/raw_printf.c | ret = _vprintk(_sputc, fmt, ap); |
ret | 24 | arch/ppc/kernel/raw_printf.c | return (ret); |
ret | 29 | arch/ppc/kernel/raw_printf.c | int ret; |
ret | 32 | arch/ppc/kernel/raw_printf.c | ret = _vprintk(_sputc, fmt, ap); |
ret | 33 | arch/ppc/kernel/raw_printf.c | return (ret); |
ret | 38 | arch/ppc/kernel/raw_printf.c | int ret; |
ret | 42 | arch/ppc/kernel/raw_printf.c | ret = _vprintk(cnputc, fmt, ap); |
ret | 44 | arch/ppc/kernel/raw_printf.c | return (ret); |
ret | 604 | arch/sparc/kernel/sys_sunos.c | int ret; |
ret | 622 | arch/sparc/kernel/sys_sunos.c | ret = socket->ops->bind(socket, (struct sockaddr*)&local, |
ret | 624 | arch/sparc/kernel/sys_sunos.c | } while (ret && try_port > (1024 / 2)); |
ret | 626 | arch/sparc/kernel/sys_sunos.c | if (ret) |
ret | 634 | arch/sparc/kernel/sys_sunos.c | ret = socket->ops->connect (socket, (struct sockaddr *) &server, |
ret | 636 | arch/sparc/kernel/sys_sunos.c | if (ret < 0) |
ret | 651 | arch/sparc/kernel/sys_sunos.c | int ret = -ENODEV, error; |
ret | 703 | arch/sparc/kernel/sys_sunos.c | ret = do_mount (dev, dir_name, "nfs", linux_flags, &linux_nfs_mount); |
ret | 704 | arch/sparc/kernel/sys_sunos.c | if (ret) |
ret | 715 | arch/sparc/kernel/sys_sunos.c | return ret; |
ret | 550 | arch/sparc/mm/srmmu.c | register unsigned long ret; |
ret | 557 | arch/sparc/mm/srmmu.c | ret = (*kbrk + mask) & ~mask; |
ret | 558 | arch/sparc/mm/srmmu.c | *kbrk = ret + size; |
ret | 559 | arch/sparc/mm/srmmu.c | memset((void*) ret, 0, size); |
ret | 560 | arch/sparc/mm/srmmu.c | return (void*) ret; |
ret | 429 | drivers/block/floppy.c | #define ECALL(x) if ((ret = (x))) return ret; |
ret | 430 | drivers/block/floppy.c | #define _WAIT(x,i) CALL(ret=wait_til_done((x),i)) |
ret | 1844 | drivers/block/floppy.c | int ret; |
ret | 1868 | drivers/block/floppy.c | ret=0; |
ret | 1870 | drivers/block/floppy.c | ret=-EIO; |
ret | 1872 | drivers/block/floppy.c | return ret; |
ret | 2046 | drivers/block/floppy.c | int ret; |
ret | 2066 | drivers/block/floppy.c | return ret; |
ret | 2695 | drivers/block/floppy.c | int ret; |
ret | 2709 | drivers/block/floppy.c | return ret; |
ret | 2730 | drivers/block/floppy.c | int ret; |
ret | 2732 | drivers/block/floppy.c | ret=0; |
ret | 2741 | drivers/block/floppy.c | return ret; |
ret | 2750 | drivers/block/floppy.c | int ret; |
ret | 2762 | drivers/block/floppy.c | int ret; |
ret | 2842 | drivers/block/floppy.c | int ret; |
ret | 2896 | drivers/block/floppy.c | int ret; |
ret | 2959 | drivers/block/floppy.c | int drive, ret, ret2; |
ret | 2981 | drivers/block/floppy.c | ret = raw_cmd_copyin(cmd, param, &my_raw_cmd); |
ret | 2982 | drivers/block/floppy.c | if (ret) { |
ret | 2984 | drivers/block/floppy.c | return ret; |
ret | 2989 | drivers/block/floppy.c | ret=wait_til_done(floppy_start,1); |
ret | 2996 | drivers/block/floppy.c | if (ret != -EINTR && FDCS->reset) |
ret | 2997 | drivers/block/floppy.c | ret = -EIO; |
ret | 3002 | drivers/block/floppy.c | if (!ret) |
ret | 3003 | drivers/block/floppy.c | ret = ret2; |
ret | 3005 | drivers/block/floppy.c | return ret; |
ret | 3184 | drivers/block/floppy.c | int ret; |
ret | 3377 | drivers/block/floppy.c | int ret; |
ret | 3389 | drivers/block/floppy.c | ret= block_write(inode, filp, buf, count); |
ret | 3390 | drivers/block/floppy.c | return ret; |
ret | 738 | drivers/cdrom/mcd.c | goto ret; |
ret | 1067 | drivers/cdrom/mcd.c | ret: |
ret | 1670 | drivers/char/cyclades.c | int ret; |
ret | 1678 | drivers/char/cyclades.c | ret = PAGE_SIZE - info->xmit_cnt - 1; |
ret | 1679 | drivers/char/cyclades.c | if (ret < 0) |
ret | 1680 | drivers/char/cyclades.c | ret = 0; |
ret | 1681 | drivers/char/cyclades.c | return ret; |
ret | 320 | drivers/char/lp.c | int ret; |
ret | 361 | drivers/char/lp.c | ret = request_irq(irq, lp_interrupt, SA_INTERRUPT, "printer"); |
ret | 362 | drivers/char/lp.c | if (ret) { |
ret | 365 | drivers/char/lp.c | printk("lp%d unable to use interrupt %d, error %d\n", minor, irq, ret); |
ret | 367 | drivers/char/lp.c | return ret; |
ret | 604 | drivers/char/lp.c | int ret = lp_probe(offset); |
ret | 605 | drivers/char/lp.c | if (ret < 0) |
ret | 607 | drivers/char/lp.c | count += ret; |
ret | 575 | drivers/char/random.c | int ret, i; |
ret | 587 | drivers/char/random.c | ret = nbytes; |
ret | 626 | drivers/char/random.c | return ret; |
ret | 1343 | drivers/char/serial.c | int ret; |
ret | 1347 | drivers/char/serial.c | ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1; |
ret | 1348 | drivers/char/serial.c | if (ret < 0) |
ret | 1349 | drivers/char/serial.c | ret = 0; |
ret | 1350 | drivers/char/serial.c | return ret; |
ret | 1732 | drivers/char/serial.c | struct serial_multiport_struct ret; |
ret | 1737 | drivers/char/serial.c | ret.port_monitor = multi->port_monitor; |
ret | 1739 | drivers/char/serial.c | ret.port1 = multi->port1; |
ret | 1740 | drivers/char/serial.c | ret.mask1 = multi->mask1; |
ret | 1741 | drivers/char/serial.c | ret.match1 = multi->match1; |
ret | 1743 | drivers/char/serial.c | ret.port2 = multi->port2; |
ret | 1744 | drivers/char/serial.c | ret.mask2 = multi->mask2; |
ret | 1745 | drivers/char/serial.c | ret.match2 = multi->match2; |
ret | 1747 | drivers/char/serial.c | ret.port3 = multi->port3; |
ret | 1748 | drivers/char/serial.c | ret.mask3 = multi->mask3; |
ret | 1749 | drivers/char/serial.c | ret.match3 = multi->match3; |
ret | 1751 | drivers/char/serial.c | ret.port4 = multi->port4; |
ret | 1752 | drivers/char/serial.c | ret.mask4 = multi->mask4; |
ret | 1753 | drivers/char/serial.c | ret.match4 = multi->match4; |
ret | 1755 | drivers/char/serial.c | ret.irq = info->irq; |
ret | 1757 | drivers/char/serial.c | memcpy_tofs(retinfo,&ret,sizeof(*retinfo)); |
ret | 1638 | drivers/net/de4x5.c | struct device *tmp = NULL, *ret; |
ret | 1692 | drivers/net/de4x5.c | ret = dev; /* return current struct, or NULL */ |
ret | 1698 | drivers/net/de4x5.c | if (ret != NULL) { |
ret | 1735 | drivers/net/de4x5.c | ret = dev; |
ret | 1738 | drivers/net/de4x5.c | return ret; |
ret | 1329 | drivers/net/depca.c | struct device *tmp = NULL, *ret; |
ret | 1383 | drivers/net/depca.c | ret = dev; /* return current struct, or NULL */ |
ret | 1389 | drivers/net/depca.c | if (ret != NULL) { |
ret | 1426 | drivers/net/depca.c | ret = dev; |
ret | 1429 | drivers/net/depca.c | return ret; |
ret | 1288 | drivers/net/pi2.c | char *ret; |
ret | 1290 | drivers/net/pi2.c | ret = (char *)*mem_ptr; |
ret | 1294 | drivers/net/pi2.c | ret = (char *)*mem_ptr; |
ret | 1297 | drivers/net/pi2.c | return (ret); |
ret | 1601 | drivers/net/pi2.c | int ret = verify_area(VERIFY_WRITE, ifr->ifr_data, sizeof(struct pi_req)); |
ret | 1602 | drivers/net/pi2.c | if (ret) |
ret | 1603 | drivers/net/pi2.c | return ret; |
ret | 1625 | drivers/net/pi2.c | ret = 0; |
ret | 1632 | drivers/net/pi2.c | ret = 0; |
ret | 1642 | drivers/net/pi2.c | ret = -EAGAIN; |
ret | 1649 | drivers/net/pi2.c | ret = -EINVAL; /* add this later */ |
ret | 1665 | drivers/net/pi2.c | ret = 0; |
ret | 1669 | drivers/net/pi2.c | ret = -EINVAL; |
ret | 1671 | drivers/net/pi2.c | return ret; |
ret | 368 | drivers/sound/aedsp16.c | unsigned char ret = 0; |
ret | 372 | drivers/sound/aedsp16.c | ret = inb (port + DSP_DATAVAIL); |
ret | 377 | drivers/sound/aedsp16.c | while (!(ret & 0x80) && loop--); |
ret | 379 | drivers/sound/aedsp16.c | if (ret & 0x80) |
ret | 416 | drivers/sound/aedsp16.c | unsigned char ret; |
ret | 421 | drivers/sound/aedsp16.c | ret = inb (port + DSP_STATUS); |
ret | 425 | drivers/sound/aedsp16.c | if (!(ret & 0x80)) |
ret | 510 | drivers/sound/aedsp16.c | int ret; |
ret | 515 | drivers/sound/aedsp16.c | if ((ret = ReadData (port)) == -1) |
ret | 521 | drivers/sound/aedsp16.c | ver[len++] = ret; |
ret | 532 | drivers/sound/aedsp16.c | int ret; |
ret | 536 | drivers/sound/aedsp16.c | if ((ret = ReadData (port)) == -1) |
ret | 543 | drivers/sound/aedsp16.c | AudioExcelName[len++] = ret; |
ret | 89 | drivers/sound/audio.c | int ret; |
ret | 101 | drivers/sound/audio.c | if ((ret = DMAbuf_open (dev, mode)) < 0) |
ret | 102 | drivers/sound/audio.c | return ret; |
ret | 105 | drivers/sound/audio.c | if ((ret = audio_devs[dev]->coproc-> |
ret | 111 | drivers/sound/audio.c | return ret; |
ret | 134 | drivers/sound/audio.c | return ret; |
ret | 700 | drivers/sound/dmabuf.c | int ret; |
ret | 702 | drivers/sound/dmabuf.c | ret = dma_subdivide (dev, dmap_out, arg, fact); |
ret | 703 | drivers/sound/dmabuf.c | if (ret < 0) |
ret | 704 | drivers/sound/dmabuf.c | return ret; |
ret | 707 | drivers/sound/dmabuf.c | ret = dma_subdivide (dev, dmap_in, arg, fact); |
ret | 709 | drivers/sound/dmabuf.c | return ret; |
ret | 716 | drivers/sound/dmabuf.c | int ret; |
ret | 718 | drivers/sound/dmabuf.c | ret = dma_set_fragment (dev, dmap_out, arg, fact); |
ret | 719 | drivers/sound/dmabuf.c | if (ret < 0) |
ret | 720 | drivers/sound/dmabuf.c | return ret; |
ret | 723 | drivers/sound/dmabuf.c | ret = dma_set_fragment (dev, dmap_in, arg, fact); |
ret | 725 | drivers/sound/dmabuf.c | return ret; |
ret | 603 | drivers/sound/mpu401.c | int ret = 0; |
ret | 680 | drivers/sound/mpu401.c | ret = 0; |
ret | 704 | drivers/sound/mpu401.c | return ret; |
ret | 710 | drivers/sound/mpu401.c | int ret; |
ret | 719 | drivers/sound/mpu401.c | if ((ret = mpu401_command (dev, &rec)) < 0) |
ret | 721 | drivers/sound/mpu401.c | return ret; |
ret | 799 | drivers/sound/mpu401.c | int ret; |
ret | 804 | drivers/sound/mpu401.c | if ((ret = mpu401_command (dev, &rec)) < 0) |
ret | 805 | drivers/sound/mpu401.c | return ret; |
ret | 1636 | drivers/sound/mpu401.c | int ret; |
ret | 1644 | drivers/sound/mpu401.c | if ((ret = mpu_cmd (midi_dev, 0xE0, val)) < 0) |
ret | 1647 | drivers/sound/mpu401.c | return ret; |
ret | 701 | drivers/sound/pss.c | long ret; |
ret | 705 | drivers/sound/pss.c | ret = attach_mpu401 (mem_start, hw_config); |
ret | 710 | drivers/sound/pss.c | return ret; |
ret | 762 | drivers/sound/pss.c | long ret; |
ret | 765 | drivers/sound/pss.c | ret = attach_ms_sound (mem_start, hw_config); |
ret | 770 | drivers/sound/pss.c | return ret; |
ret | 74 | drivers/sound/sb_midi.c | int ret; |
ret | 118 | drivers/sound/sb_midi.c | if ((ret = sb_get_irq ()) < 0) |
ret | 718 | drivers/sound/sequencer.c | int ret; |
ret | 720 | drivers/sound/sequencer.c | if ((ret = tmr->event (tmr_no, event)) == TIMER_ARMED) |
ret | 738 | drivers/sound/sequencer.c | return ret; |
ret | 17 | fs/msdos/buffer.c | struct buffer_head *ret = NULL; |
ret | 19 | fs/msdos/buffer.c | ret = bread (sb->s_dev,block,512); |
ret | 23 | fs/msdos/buffer.c | ret = (struct buffer_head *)kmalloc (sizeof(struct buffer_head) |
ret | 25 | fs/msdos/buffer.c | if (ret != NULL){ |
ret | 55 | fs/msdos/buffer.c | memset (ret,0,sizeof(*ret)); |
ret | 56 | fs/msdos/buffer.c | ret->b_data = real->b_data; |
ret | 57 | fs/msdos/buffer.c | if (block & 1) ret->b_data += 512; |
ret | 58 | fs/msdos/buffer.c | ret->b_next = real; |
ret | 64 | fs/msdos/buffer.c | return ret; |
ret | 70 | fs/msdos/buffer.c | struct buffer_head *ret = NULL; |
ret | 72 | fs/msdos/buffer.c | ret = getblk (sb->s_dev,block,512); |
ret | 80 | fs/msdos/buffer.c | ret = msdos_bread (sb,block); |
ret | 82 | fs/msdos/buffer.c | return ret; |
ret | 164 | fs/proc/scsi.c | int ret = 0; |
ret | 175 | fs/proc/scsi.c | ret = dispatch_scsi_info_ptr(inode->i_ino, page, 0, 0, count, 1); |
ret | 180 | fs/proc/scsi.c | return(ret); |
ret | 54 | fs/umsdos/dir.c | int ret = -EINVAL; |
ret | 63 | fs/umsdos/dir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
ret | 64 | fs/umsdos/dir.c | d->stop = ret < 0; |
ret | 67 | fs/umsdos/dir.c | return ret; |
ret | 89 | fs/umsdos/dir.c | int ret = 0; |
ret | 155 | fs/umsdos/dir.c | ret = msdos_readdir(dir,filp,&bufk,umsdos_dir_once); |
ret | 164 | fs/umsdos/dir.c | ret = 0; |
ret | 169 | fs/umsdos/dir.c | ret = -EIO; |
ret | 235 | fs/umsdos/dir.c | ret = umsdos_writeentry (dir,emd_dir,&info,1); |
ret | 236 | fs/umsdos/dir.c | if (ret != 0){ |
ret | 253 | fs/umsdos/dir.c | PRINTK (("read dir %p pos %Ld ret %d\n",dir,filp->f_pos,ret)); |
ret | 254 | fs/umsdos/dir.c | return ret; |
ret | 267 | fs/umsdos/dir.c | int ret = 0; |
ret | 274 | fs/umsdos/dir.c | while (ret == 0 && bufk.stop == 0){ |
ret | 277 | fs/umsdos/dir.c | ret = umsdos_readdir_x (dir,filp,&bufk,0,&entry,1,umsdos_dir_once); |
ret | 281 | fs/umsdos/dir.c | PRINTK (("UMSDOS_readdir out %d count %d pos %Ld\n",ret,count |
ret | 283 | fs/umsdos/dir.c | return count?:ret; |
ret | 442 | fs/umsdos/dir.c | int ret = 0; |
ret | 449 | fs/umsdos/dir.c | ret = 1; /* So msdos_readdir will terminate */ |
ret | 451 | fs/umsdos/dir.c | return ret; |
ret | 467 | fs/umsdos/dir.c | int ret = -ENOENT; |
ret | 475 | fs/umsdos/dir.c | ret = 0; |
ret | 489 | fs/umsdos/dir.c | ret = 0; |
ret | 507 | fs/umsdos/dir.c | ret = 0; |
ret | 514 | fs/umsdos/dir.c | return ret; |
ret | 525 | fs/umsdos/dir.c | int ret; |
ret | 527 | fs/umsdos/dir.c | ret = umsdos_real_lookup (dir,"..",2,result); |
ret | 528 | fs/umsdos/dir.c | PRINTK (("result %d %p ",ret,*result)); |
ret | 529 | fs/umsdos/dir.c | if (ret == 0){ |
ret | 531 | fs/umsdos/dir.c | ret = umsdos_inode2entry (adir,dir,entry); |
ret | 534 | fs/umsdos/dir.c | return ret; |
ret | 546 | fs/umsdos/dir.c | int ret = 0; |
ret | 550 | fs/umsdos/dir.c | ret = -ENOMEM; |
ret | 557 | fs/umsdos/dir.c | ret = umsdos_get_dirowner (inode,&dir); |
ret | 558 | fs/umsdos/dir.c | PRINTK (("locate_path ret %d ",ret)); |
ret | 559 | fs/umsdos/dir.c | if (ret == 0){ |
ret | 560 | fs/umsdos/dir.c | ret = umsdos_inode2entry (dir,inode,&entry); |
ret | 561 | fs/umsdos/dir.c | if (ret == 0){ |
ret | 570 | fs/umsdos/dir.c | if (ret == 0){ |
ret | 573 | fs/umsdos/dir.c | ret = umsdos_locate_ancestor (dir,&adir,&entry); |
ret | 576 | fs/umsdos/dir.c | PRINTK (("ancestor %d ",ret)); |
ret | 577 | fs/umsdos/dir.c | if (ret == 0){ |
ret | 593 | fs/umsdos/dir.c | return ret; |
ret | 626 | fs/umsdos/dir.c | int ret = -ENOENT; |
ret | 632 | fs/umsdos/dir.c | ret = 0; |
ret | 640 | fs/umsdos/dir.c | ret = 0; |
ret | 654 | fs/umsdos/dir.c | ret = umsdos_real_lookup (dir,"..",2,result); |
ret | 655 | fs/umsdos/dir.c | PRINTK (("ancestor ret %d dir %p *result %p ",ret,dir,*result)); |
ret | 656 | fs/umsdos/dir.c | if (ret == 0 |
ret | 661 | fs/umsdos/dir.c | ret = umsdos_locate_ancestor (*result,&aadir,&entry); |
ret | 672 | fs/umsdos/dir.c | ret = 0; |
ret | 675 | fs/umsdos/dir.c | ret = umsdos_parse (name,len,&info); |
ret | 676 | fs/umsdos/dir.c | if (ret == 0) ret = umsdos_findentry (dir,&info,0); |
ret | 677 | fs/umsdos/dir.c | PRINTK (("lookup %s pos %lu ret %d len %d ",info.fake.fname,info.f_pos,ret |
ret | 679 | fs/umsdos/dir.c | if (ret == 0){ |
ret | 690 | fs/umsdos/dir.c | ret = umsdos_real_lookup (dir,info.fake.fname,info.fake.len,result); |
ret | 701 | fs/umsdos/dir.c | ret = umsdos_hlink2inode (inode,result); |
ret | 715 | fs/umsdos/dir.c | ret = -ENOENT; |
ret | 722 | fs/umsdos/dir.c | return ret; |
ret | 742 | fs/umsdos/dir.c | int ret = -EIO; |
ret | 746 | fs/umsdos/dir.c | ret = -ENOMEM; |
ret | 769 | fs/umsdos/dir.c | ret = umsdos_rlookup_x(dir,start,len,result,1); |
ret | 771 | fs/umsdos/dir.c | ret = umsdos_lookup_x(dir,start,len,result,1); |
ret | 773 | fs/umsdos/dir.c | PRINTK (("h2n lookup :%s: -> %d ",start,ret)); |
ret | 774 | fs/umsdos/dir.c | if (ret == 0 && *pt != '\0'){ |
ret | 783 | fs/umsdos/dir.c | PRINTK (("hlink2inode ret = %d %p -> %p\n",ret,hlink,*result)); |
ret | 786 | fs/umsdos/dir.c | return ret; |
ret | 32 | fs/umsdos/emd.c | int ret; |
ret | 35 | fs/umsdos/emd.c | ret = msdos_file_read(inode,filp,buf,count); |
ret | 37 | fs/umsdos/emd.c | return ret; |
ret | 48 | fs/umsdos/emd.c | int ret; |
ret | 51 | fs/umsdos/emd.c | ret = msdos_file_write(inode,filp,buf,count); |
ret | 53 | fs/umsdos/emd.c | return ret; |
ret | 85 | fs/umsdos/emd.c | int ret = 0; |
ret | 92 | fs/umsdos/emd.c | ret = -EIO; |
ret | 94 | fs/umsdos/emd.c | return ret; |
ret | 104 | fs/umsdos/emd.c | struct inode *ret = NULL; |
ret | 106 | fs/umsdos/emd.c | ret = iget (dir->i_sb,dir->u.umsdos_i.i_emd_dir); |
ret | 108 | fs/umsdos/emd.c | ,dir->u.umsdos_i.i_emd_dir,ret,ret->i_count)); |
ret | 110 | fs/umsdos/emd.c | umsdos_real_lookup (dir,UMSDOS_EMD_FILE,UMSDOS_EMD_NAMELEN,&ret); |
ret | 112 | fs/umsdos/emd.c | if (ret != NULL){ |
ret | 114 | fs/umsdos/emd.c | dir->u.umsdos_i.i_emd_dir = ret->i_ino; |
ret | 120 | fs/umsdos/emd.c | ,S_IFREG|0777,&ret); |
ret | 121 | fs/umsdos/emd.c | PRINTK (("Creat EMD code %d ret %x ",code,ret)); |
ret | 122 | fs/umsdos/emd.c | if (ret != NULL){ |
ret | 123 | fs/umsdos/emd.c | dir->u.umsdos_i.i_emd_dir = ret->i_ino; |
ret | 129 | fs/umsdos/emd.c | if (ret != NULL){ |
ret | 131 | fs/umsdos/emd.c | ret->u.umsdos_i.i_emd_owner = 0xffffffff; |
ret | 133 | fs/umsdos/emd.c | return ret; |
ret | 146 | fs/umsdos/emd.c | int ret = umsdos_emd_dir_read(emd_dir,filp,(char*)entry,UMSDOS_REC_SIZE); |
ret | 147 | fs/umsdos/emd.c | if (ret == 0){ |
ret | 151 | fs/umsdos/emd.c | ret = umsdos_emd_dir_read(emd_dir,filp |
ret | 156 | fs/umsdos/emd.c | return ret; |
ret | 168 | fs/umsdos/emd.c | int ret = 0; |
ret | 194 | fs/umsdos/emd.c | ret = umsdos_emd_dir_write(emd_dir,&filp,(char*)entry,info->recsize); |
ret | 195 | fs/umsdos/emd.c | if (ret != 0){ |
ret | 201 | fs/umsdos/emd.c | return ret; |
ret | 222 | fs/umsdos/emd.c | int ret = -ENOENT; |
ret | 234 | fs/umsdos/emd.c | ret = umsdos_emd_dir_read (inode,&buf->filp,buf->buffer+mustmove |
ret | 236 | fs/umsdos/emd.c | if (ret == 0) buf->size = mustmove + mustread; |
ret | 239 | fs/umsdos/emd.c | ret = 0; |
ret | 241 | fs/umsdos/emd.c | return ret; |
ret | 277 | fs/umsdos/emd.c | int ret = -ENOENT; |
ret | 302 | fs/umsdos/emd.c | ret = umsdos_fillbuf (emd_dir,&buf); |
ret | 303 | fs/umsdos/emd.c | if (ret < 0){ |
ret | 313 | fs/umsdos/emd.c | ret = 0; |
ret | 332 | fs/umsdos/emd.c | ret = umsdos_fillbuf (emd_dir,&buf); |
ret | 333 | fs/umsdos/emd.c | if (ret < 0){ |
ret | 345 | fs/umsdos/emd.c | ret = 0; |
ret | 356 | fs/umsdos/emd.c | return ret; |
ret | 370 | fs/umsdos/emd.c | int ret = umsdos_find (dir,info,&emd_dir); |
ret | 371 | fs/umsdos/emd.c | if (ret == 0){ |
ret | 372 | fs/umsdos/emd.c | ret = -EEXIST; |
ret | 373 | fs/umsdos/emd.c | }else if (ret == -ENOENT){ |
ret | 374 | fs/umsdos/emd.c | ret = umsdos_writeentry(dir,emd_dir,info,0); |
ret | 375 | fs/umsdos/emd.c | PRINTK (("umsdos_newentry EDM ret = %d\n",ret)); |
ret | 378 | fs/umsdos/emd.c | return ret; |
ret | 389 | fs/umsdos/emd.c | int ret; |
ret | 392 | fs/umsdos/emd.c | ret = umsdos_find (dir,info,&emd_dir); |
ret | 394 | fs/umsdos/emd.c | if (ret == -ENOENT || ret == 0){ |
ret | 402 | fs/umsdos/emd.c | ret = 0; |
ret | 404 | fs/umsdos/emd.c | return ret; |
ret | 418 | fs/umsdos/emd.c | int ret = umsdos_find (dir,info,&emd_dir); |
ret | 419 | fs/umsdos/emd.c | if (ret == 0){ |
ret | 423 | fs/umsdos/emd.c | ret = -EISDIR; |
ret | 425 | fs/umsdos/emd.c | ret = -ENOTDIR; |
ret | 428 | fs/umsdos/emd.c | ret = umsdos_writeentry(dir,emd_dir,info,1); |
ret | 433 | fs/umsdos/emd.c | return ret; |
ret | 445 | fs/umsdos/emd.c | int ret = 2; |
ret | 454 | fs/umsdos/emd.c | ret = 1; |
ret | 458 | fs/umsdos/emd.c | ret = 0; |
ret | 461 | fs/umsdos/emd.c | ret = 0; |
ret | 467 | fs/umsdos/emd.c | return ret; |
ret | 482 | fs/umsdos/emd.c | int ret = umsdos_find (dir,info,&emd_dir); |
ret | 483 | fs/umsdos/emd.c | if (ret == 0){ |
ret | 486 | fs/umsdos/emd.c | if (expect != 2) ret = -EISDIR; |
ret | 488 | fs/umsdos/emd.c | ret = -ENOTDIR; |
ret | 493 | fs/umsdos/emd.c | return ret; |
ret | 34 | fs/umsdos/file.c | int ret = msdos_file_read(inode,filp,buf,count); |
ret | 39 | fs/umsdos/file.c | return ret; |
ret | 74 | fs/umsdos/inode.c | int ret; |
ret | 76 | fs/umsdos/inode.c | ret = msdos_lookup (dir,name,len,result); |
ret | 77 | fs/umsdos/inode.c | return ret; |
ret | 205 | fs/umsdos/inode.c | int ret = -EIO; |
ret | 214 | fs/umsdos/inode.c | ret = 0; |
ret | 217 | fs/umsdos/inode.c | return ret; |
ret | 276 | fs/umsdos/inode.c | int ret = 0; |
ret | 278 | fs/umsdos/inode.c | if ((ret = inode_change_ok(inode, attr)) != 0) |
ret | 279 | fs/umsdos/inode.c | return ret; |
ret | 312 | fs/umsdos/inode.c | ret = -EPERM; |
ret | 321 | fs/umsdos/inode.c | ret = umsdos_emd_dir_read (emd_owner,&filp,(char*)&entry |
ret | 323 | fs/umsdos/inode.c | if (ret == 0){ |
ret | 339 | fs/umsdos/inode.c | ret = umsdos_emd_dir_write (emd_owner,&filp,(char*)&entry |
ret | 344 | fs/umsdos/inode.c | ,ret,entry.nlink)); |
ret | 355 | fs/umsdos/inode.c | if (ret == 0) |
ret | 357 | fs/umsdos/inode.c | return ret; |
ret | 37 | fs/umsdos/ioctl.c | int ret = -EINVAL; |
ret | 46 | fs/umsdos/ioctl.c | ret = 0; |
ret | 48 | fs/umsdos/ioctl.c | return ret; |
ret | 61 | fs/umsdos/ioctl.c | int ret = -EPERM; |
ret | 71 | fs/umsdos/ioctl.c | ret = -EFAULT; |
ret | 75 | fs/umsdos/ioctl.c | ret = -EINVAL; |
ret | 109 | fs/umsdos/ioctl.c | ret = 0; |
ret | 122 | fs/umsdos/ioctl.c | ret = bufk.count == 1 ? 1 : 0; |
ret | 139 | fs/umsdos/ioctl.c | ret = 0; |
ret | 144 | fs/umsdos/ioctl.c | ret = umsdos_emd_dir_readentry (emd_dir,filp,&entry); |
ret | 145 | fs/umsdos/ioctl.c | if (ret < 0){ |
ret | 149 | fs/umsdos/ioctl.c | ret = entry.name_len; |
ret | 164 | fs/umsdos/ioctl.c | ret = 0; |
ret | 180 | fs/umsdos/ioctl.c | ret = emd_dir != NULL; |
ret | 183 | fs/umsdos/ioctl.c | dir->i_op = ret |
ret | 205 | fs/umsdos/ioctl.c | ret = umsdos_newentry (dir,&info); |
ret | 217 | fs/umsdos/ioctl.c | ret = msdos_rename (dir |
ret | 237 | fs/umsdos/ioctl.c | ret = umsdos_delentry (dir,&info |
ret | 248 | fs/umsdos/ioctl.c | ret = msdos_unlink (dir,data.dos_dirent.d_name |
ret | 259 | fs/umsdos/ioctl.c | ret = msdos_rmdir (dir,data.dos_dirent.d_name |
ret | 273 | fs/umsdos/ioctl.c | ret = umsdos_real_lookup (dir,data.dos_dirent.d_name |
ret | 275 | fs/umsdos/ioctl.c | if (ret == 0){ |
ret | 308 | fs/umsdos/ioctl.c | ret = 0; |
ret | 312 | fs/umsdos/ioctl.c | PRINTK (("ioctl return %d\n",ret)); |
ret | 313 | fs/umsdos/ioctl.c | return ret; |
ret | 139 | fs/umsdos/mangle.c | int ret = -ENAMETOOLONG; |
ret | 377 | fs/umsdos/mangle.c | ret = 0; |
ret | 383 | fs/umsdos/mangle.c | return ret; |
ret | 34 | fs/umsdos/namei.c | int ret = 0; |
ret | 38 | fs/umsdos/namei.c | ret = 1; |
ret | 40 | fs/umsdos/namei.c | return ret; |
ret | 164 | fs/umsdos/namei.c | int ret = 0; |
ret | 173 | fs/umsdos/namei.c | ret = -EPERM; |
ret | 174 | fs/umsdos/namei.c | ret = errcod; |
ret | 187 | fs/umsdos/namei.c | ret = errcod; |
ret | 189 | fs/umsdos/namei.c | return ret; |
ret | 210 | fs/umsdos/namei.c | int ret = umsdos_nevercreat(dir,name,len,-EEXIST); |
ret | 211 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 213 | fs/umsdos/namei.c | ret = umsdos_parse (name,len,&info); |
ret | 215 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 226 | fs/umsdos/namei.c | ret = umsdos_newentry (dir,&info); |
ret | 227 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 229 | fs/umsdos/namei.c | ret = msdos_create (dir,info.fake.fname,info.fake.len |
ret | 231 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 260 | fs/umsdos/namei.c | if (ret == -EEXIST){ |
ret | 263 | fs/umsdos/namei.c | ,info.fake.fname,-ret,current->pid,info.f_pos); |
ret | 268 | fs/umsdos/namei.c | ,info.fake.fname,ret,info.f_pos)); |
ret | 274 | fs/umsdos/namei.c | return ret; |
ret | 318 | fs/umsdos/namei.c | int ret = -EPERM; |
ret | 329 | fs/umsdos/namei.c | ret = umsdos_findentry(old_dir,&old_info,0); |
ret | 331 | fs/umsdos/namei.c | PRINTK (("ret %d ",ret)); |
ret | 332 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 339 | fs/umsdos/namei.c | ret = umsdos_findentry(new_dir,&new_info,0); |
ret | 340 | fs/umsdos/namei.c | if (ret != 0 || /* if destination file exists, are we allowed to replace it ? */ |
ret | 346 | fs/umsdos/namei.c | ret = umsdos_newentry (new_dir,&new_info); |
ret | 348 | fs/umsdos/namei.c | PRINTK (("ret %d %d ",ret,new_info.fake.len)); |
ret | 349 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 353 | fs/umsdos/namei.c | ret = msdos_rename (old_dir |
ret | 358 | fs/umsdos/namei.c | PRINTK (("after m_rename ret %d ",ret)); |
ret | 359 | fs/umsdos/namei.c | if (ret != 0){ |
ret | 364 | fs/umsdos/namei.c | ret = umsdos_delentry (old_dir,&old_info |
ret | 367 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 379 | fs/umsdos/namei.c | ret = UMSDOS_lookup (new_dir,new_name,new_len |
ret | 382 | fs/umsdos/namei.c | if (ret != 0){ |
ret | 400 | fs/umsdos/namei.c | ret = -EPERM; |
ret | 405 | fs/umsdos/namei.c | ret = -EPERM; |
ret | 414 | fs/umsdos/namei.c | return ret; |
ret | 439 | fs/umsdos/namei.c | int ret; |
ret | 442 | fs/umsdos/namei.c | ret = umsdos_create_any (dir,name,len,mode,0,flags,&inode); |
ret | 443 | fs/umsdos/namei.c | PRINTK (("umsdos_symlink ret %d ",ret)); |
ret | 444 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 449 | fs/umsdos/namei.c | ret = umsdos_file_write_kmem (inode,&filp,symname,len); |
ret | 451 | fs/umsdos/namei.c | if (ret >= 0){ |
ret | 452 | fs/umsdos/namei.c | if (ret != len){ |
ret | 453 | fs/umsdos/namei.c | ret = -EIO; |
ret | 457 | fs/umsdos/namei.c | ret = 0; |
ret | 460 | fs/umsdos/namei.c | if (ret != 0){ |
ret | 467 | fs/umsdos/namei.c | return ret; |
ret | 560 | fs/umsdos/namei.c | int ret = 0; |
ret | 566 | fs/umsdos/namei.c | ret = -EPERM; |
ret | 567 | fs/umsdos/namei.c | }else if ((ret = umsdos_nevercreat(dir,name,len,-EPERM))==0){ |
ret | 569 | fs/umsdos/namei.c | ret = umsdos_get_dirowner(oldinode,&olddir); |
ret | 572 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 575 | fs/umsdos/namei.c | ret = umsdos_inode2entry (olddir,oldinode,&entry); |
ret | 576 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 593 | fs/umsdos/namei.c | ret = umsdos_newhidden (olddir,&info); |
ret | 594 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 597 | fs/umsdos/namei.c | ret = umsdos_rename_f (olddir,entry.name |
ret | 601 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 604 | fs/umsdos/namei.c | ret = -ENOMEM; |
ret | 607 | fs/umsdos/namei.c | ret = umsdos_locate_path (oldinode,path); |
ret | 609 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 611 | fs/umsdos/namei.c | ret = umsdos_symlink_x (olddir |
ret | 615 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 617 | fs/umsdos/namei.c | ret = umsdos_symlink_x (dir,name,len |
ret | 629 | fs/umsdos/namei.c | ret = -ENOMEM; |
ret | 631 | fs/umsdos/namei.c | ret = umsdos_locate_path (oldinode,path); |
ret | 632 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 634 | fs/umsdos/namei.c | ret = umsdos_symlink_x (dir,name,len,path |
ret | 646 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 650 | fs/umsdos/namei.c | ret = UMSDOS_notify_change(oldinode, &newattrs); |
ret | 654 | fs/umsdos/namei.c | PRINTK (("umsdos_link %d\n",ret)); |
ret | 655 | fs/umsdos/namei.c | return ret; |
ret | 683 | fs/umsdos/namei.c | int ret = umsdos_nevercreat(dir,name,len,-EEXIST); |
ret | 684 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 686 | fs/umsdos/namei.c | ret = umsdos_parse (name,len,&info); |
ret | 687 | fs/umsdos/namei.c | PRINTK (("umsdos_mkdir %d\n",ret)); |
ret | 688 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 699 | fs/umsdos/namei.c | ret = umsdos_newentry (dir,&info); |
ret | 700 | fs/umsdos/namei.c | PRINTK (("newentry %d ",ret)); |
ret | 701 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 703 | fs/umsdos/namei.c | ret = msdos_mkdir (dir,info.fake.fname,info.fake.len,mode); |
ret | 704 | fs/umsdos/namei.c | if (ret != 0){ |
ret | 718 | fs/umsdos/namei.c | ret = umsdos_real_lookup (dir,info.fake.fname |
ret | 720 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 722 | fs/umsdos/namei.c | ret = msdos_create (subdir,UMSDOS_EMD_FILE |
ret | 727 | fs/umsdos/namei.c | if (ret < 0){ |
ret | 736 | fs/umsdos/namei.c | PRINTK (("umsdos_mkdir %d\n",ret)); |
ret | 738 | fs/umsdos/namei.c | return ret; |
ret | 765 | fs/umsdos/namei.c | int ret = umsdos_create_any (dir,name,len,mode,rdev,0,&inode); |
ret | 767 | fs/umsdos/namei.c | return ret; |
ret | 865 | fs/umsdos/namei.c | int ret = umsdos_nevercreat(dir,name,len,-EPERM); |
ret | 866 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 869 | fs/umsdos/namei.c | ret = UMSDOS_lookup (dir,name,len,&sdir); |
ret | 870 | fs/umsdos/namei.c | PRINTK (("rmdir lookup %d ",ret)); |
ret | 871 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 875 | fs/umsdos/namei.c | ret = -EBUSY; |
ret | 884 | fs/umsdos/namei.c | ret = msdos_unlink(sdir,UMSDOS_EMD_FILE |
ret | 891 | fs/umsdos/namei.c | PRINTK (("isempty ret %d nlink %d ",ret,dir->i_nlink)); |
ret | 892 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 899 | fs/umsdos/namei.c | ret = msdos_rmdir (dir,info.fake.fname |
ret | 901 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 902 | fs/umsdos/namei.c | ret = umsdos_delentry (dir,&info,1); |
ret | 908 | fs/umsdos/namei.c | ret = -EPERM; |
ret | 914 | fs/umsdos/namei.c | ret = -ENOTEMPTY; |
ret | 921 | fs/umsdos/namei.c | PRINTK (("umsdos_rmdir %d\n",ret)); |
ret | 922 | fs/umsdos/namei.c | return ret; |
ret | 932 | fs/umsdos/namei.c | int ret = umsdos_nevercreat(dir,name,len,-EPERM); |
ret | 933 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 935 | fs/umsdos/namei.c | ret = umsdos_parse (name,len,&info); |
ret | 936 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 938 | fs/umsdos/namei.c | ret = umsdos_findentry(dir,&info,1); |
ret | 939 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 960 | fs/umsdos/namei.c | ret = UMSDOS_lookup (dir,name,len,&inode); |
ret | 961 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 968 | fs/umsdos/namei.c | ret = umsdos_inode2entry (hdir,inode,&entry); |
ret | 969 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 970 | fs/umsdos/namei.c | ret = UMSDOS_unlink (hdir,entry.name |
ret | 978 | fs/umsdos/namei.c | ret = UMSDOS_notify_change (inode, &newattrs); |
ret | 983 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 984 | fs/umsdos/namei.c | ret = umsdos_delentry (dir,&info,0); |
ret | 985 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 988 | fs/umsdos/namei.c | ret = msdos_unlink_umsdos (dir,info.fake.fname |
ret | 991 | fs/umsdos/namei.c | ,info.entry.mode,ret)); |
ret | 997 | fs/umsdos/namei.c | ret = -EPERM; |
ret | 1004 | fs/umsdos/namei.c | PRINTK (("umsdos_unlink %d\n",ret)); |
ret | 1005 | fs/umsdos/namei.c | return ret; |
ret | 1031 | fs/umsdos/namei.c | int ret = umsdos_nevercreat(new_dir,new_name,new_len,-EEXIST); |
ret | 1032 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 1036 | fs/umsdos/namei.c | ret = umsdos_rename_f (old_dir,old_name,old_len,new_dir,new_name |
ret | 1038 | fs/umsdos/namei.c | if (ret == -EEXIST){ |
ret | 1074 | fs/umsdos/namei.c | ret = UMSDOS_unlink (new_dir,new_name,new_len); |
ret | 1076 | fs/umsdos/namei.c | PRINTK (("rename unlink ret %d %d -- ",ret,new_len)); |
ret | 1077 | fs/umsdos/namei.c | if (ret == -EISDIR){ |
ret | 1079 | fs/umsdos/namei.c | ret = UMSDOS_rmdir (new_dir,new_name,new_len); |
ret | 1081 | fs/umsdos/namei.c | PRINTK (("rename rmdir ret %d -- ",ret)); |
ret | 1083 | fs/umsdos/namei.c | if (ret == 0){ |
ret | 1084 | fs/umsdos/namei.c | ret = umsdos_rename_f (old_dir,old_name,old_len |
ret | 1092 | fs/umsdos/namei.c | return ret; |
ret | 40 | fs/umsdos/rdir.c | int ret = 0; |
ret | 53 | fs/umsdos/rdir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
ret | 57 | fs/umsdos/rdir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
ret | 59 | fs/umsdos/rdir.c | return ret; |
ret | 91 | fs/umsdos/rdir.c | int ret; |
ret | 100 | fs/umsdos/rdir.c | ret = 0; |
ret | 106 | fs/umsdos/rdir.c | ret = umsdos_real_lookup (dir,name,len,result); |
ret | 107 | fs/umsdos/rdir.c | if (ret == 0){ |
ret | 114 | fs/umsdos/rdir.c | ret = -ENOENT; |
ret | 125 | fs/umsdos/rdir.c | return ret; |
ret | 155 | fs/umsdos/rdir.c | int ret; |
ret | 165 | fs/umsdos/rdir.c | ret = -EPERM; |
ret | 169 | fs/umsdos/rdir.c | ret = msdos_rmdir (dir,name,len); |
ret | 170 | fs/umsdos/rdir.c | if (ret == -ENOTEMPTY){ |
ret | 173 | fs/umsdos/rdir.c | ret = UMSDOS_rlookup (dir,name,len,&sdir); |
ret | 174 | fs/umsdos/rdir.c | PRINTK (("rrmdir lookup %d ",ret)); |
ret | 175 | fs/umsdos/rdir.c | if (ret == 0){ |
ret | 184 | fs/umsdos/rdir.c | ret = -ENOTEMPTY; |
ret | 187 | fs/umsdos/rdir.c | ret = msdos_unlink(sdir,UMSDOS_EMD_FILE |
ret | 190 | fs/umsdos/rdir.c | if (ret == 0){ |
ret | 192 | fs/umsdos/rdir.c | ret = msdos_rmdir (dir,name,len); |
ret | 196 | fs/umsdos/rdir.c | ret = -ENOTEMPTY; |
ret | 204 | fs/umsdos/rdir.c | return ret; |
ret | 35 | fs/umsdos/symlink.c | int ret = inode->i_size; |
ret | 39 | fs/umsdos/symlink.c | if (ret > bufsiz) ret = bufsiz; |
ret | 40 | fs/umsdos/symlink.c | if ((*msdos_read) (inode, &filp, buffer,ret) != ret){ |
ret | 41 | fs/umsdos/symlink.c | ret = -EIO; |
ret | 43 | fs/umsdos/symlink.c | return ret; |
ret | 58 | fs/umsdos/symlink.c | int ret = -ELOOP; |
ret | 63 | fs/umsdos/symlink.c | ret = -ENOMEM; |
ret | 71 | fs/umsdos/symlink.c | ret = -ENOENT; |
ret | 76 | fs/umsdos/symlink.c | ret = 0; |
ret | 78 | fs/umsdos/symlink.c | ret = umsdos_readlink_x (inode,path |
ret | 80 | fs/umsdos/symlink.c | if (ret > 0){ |
ret | 81 | fs/umsdos/symlink.c | path[ret] = '\0'; |
ret | 82 | fs/umsdos/symlink.c | PRINTK (("follow :%s: %d ",path,ret)); |
ret | 86 | fs/umsdos/symlink.c | ret = open_namei(path,flag,mode,res_inode,dir); |
ret | 90 | fs/umsdos/symlink.c | ret = -EIO; |
ret | 98 | fs/umsdos/symlink.c | PRINTK (("follow_link ret %d\n",ret)); |
ret | 99 | fs/umsdos/symlink.c | return ret; |
ret | 104 | fs/umsdos/symlink.c | int ret = -EINVAL; |
ret | 106 | fs/umsdos/symlink.c | ret = umsdos_readlink_x (inode,buffer,msdos_file_read,buflen); |
ret | 108 | fs/umsdos/symlink.c | PRINTK (("readlink %d %x bufsiz %d\n",ret,inode->i_mode,buflen)); |
ret | 110 | fs/umsdos/symlink.c | return ret; |
ret | 67 | include/linux/notifier.h | int ret=NOTIFY_DONE; |
ret | 71 | include/linux/notifier.h | ret=nb->notifier_call(nb,val,v); |
ret | 72 | include/linux/notifier.h | if(ret&NOTIFY_STOP_MASK) |
ret | 73 | include/linux/notifier.h | return ret; |
ret | 76 | include/linux/notifier.h | return ret; |
ret | 201 | include/linux/proc_fs.h | int ret; |
ret | 208 | include/linux/proc_fs.h | ret = proc_unregister(driver, x); |
ret | 210 | include/linux/proc_fs.h | return(ret); |
ret | 797 | mm/swap.c | do { struct mem_list *prev = queue, *ret; \ |
ret | 798 | mm/swap.c | while (queue != (ret = prev->next)) { \ |
ret | 799 | mm/swap.c | if ((unsigned long) ret < (limit)) { \ |
ret | 800 | mm/swap.c | (prev->next = ret->next)->prev = prev; \ |
ret | 801 | mm/swap.c | mark_used((unsigned long) ret, new_order); \ |
ret | 804 | mm/swap.c | EXPAND(ret, order, new_order); \ |
ret | 805 | mm/swap.c | return (unsigned long) ret; \ |
ret | 807 | mm/swap.c | prev = ret; \ |
ret | 216 | net/core/dev.c | int ret = 0; |
ret | 222 | net/core/dev.c | ret = dev->open(dev); |
ret | 228 | net/core/dev.c | if (ret == 0) |
ret | 237 | net/core/dev.c | return(ret); |
ret | 994 | net/core/dev.c | int ret; |
ret | 1065 | net/core/dev.c | ret=dev_close(dev); |
ret | 1068 | net/core/dev.c | ret=dev_open(dev); |
ret | 1069 | net/core/dev.c | if(ret<0) |
ret | 1074 | net/core/dev.c | ret=0; |
ret | 1112 | net/core/dev.c | ret=dev->set_mac_address(dev,&ifr.ifr_addr); |
ret | 1136 | net/core/dev.c | ret = 0; |
ret | 1152 | net/core/dev.c | ret = 0; |
ret | 1167 | net/core/dev.c | ret = 0; |
ret | 1183 | net/core/dev.c | ret = -EINVAL; |
ret | 1190 | net/core/dev.c | ret = 0; |
ret | 1201 | net/core/dev.c | ret=0; |
ret | 1217 | net/core/dev.c | ret = 0; |
ret | 1222 | net/core/dev.c | ret = -EINVAL; |
ret | 1226 | net/core/dev.c | ret = -EINVAL; |
ret | 1239 | net/core/dev.c | ret=dev->set_mac_address(dev,&ifr.ifr_hwaddr); |
ret | 1280 | net/core/dev.c | ret=dev->do_ioctl(dev, &ifr, getset); |
ret | 1285 | net/core/dev.c | ret = -EINVAL; |
ret | 1287 | net/core/dev.c | return(ret); |
ret | 1414 | net/ipv4/ip_fw.c | int ret; |
ret | 1480 | net/ipv4/ip_fw.c | if ((ret = ip_fw_chk(ip, &viadev, |
ret | 1487 | net/ipv4/ip_fw.c | else if (ret == -1) |
ret | 1611 | net/ipx/af_ipx.c | int ret; |
ret | 1615 | net/ipx/af_ipx.c | ret = ipx_bind (sock, (struct sockaddr *)&uaddr, sizeof(struct sockaddr_ipx)); |
ret | 1616 | net/ipx/af_ipx.c | if (ret != 0) return (ret); |
ret | 1791 | net/ipx/af_ipx.c | int ret; |
ret | 1795 | net/ipx/af_ipx.c | ret = ipx_bind (sock, (struct sockaddr *)&uaddr, sizeof(struct sockaddr_ipx)); |
ret | 1796 | net/ipx/af_ipx.c | if (ret != 0) return ret; |
ret | 196 | net/netlink.c | int ret=0; |
ret | 202 | net/netlink.c | ret=-EAGAIN; |
ret | 207 | net/netlink.c | ret=0; |
ret | 212 | net/netlink.c | return ret; |