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 | 88 | arch/m68k/atari/config.c | int ret = 0; |
ret | 104 | arch/m68k/atari/config.c | : "=&d" (ret), "=&r" (save_sp), "=&r" (save_vbr) |
ret | 108 | arch/m68k/atari/config.c | return( ret ); |
ret | 116 | arch/m68k/atari/config.c | int ret; |
ret | 129 | arch/m68k/atari/config.c | : "=d&" (ret), "=r&" (save_sp), "=r&" (save_vbr) |
ret | 139 | arch/m68k/atari/config.c | return( ret ); |
ret | 148 | arch/m68k/atari/config.c | int ret; |
ret | 166 | arch/m68k/atari/config.c | : "=&d" (ret), "=&r" (save_sp), "=&r" (save_vbr) |
ret | 170 | arch/m68k/atari/config.c | return( ret ); |
ret | 108 | arch/mips/kernel/tyne-c.c | unsigned long ret = allocated; |
ret | 111 | arch/mips/kernel/tyne-c.c | ret = -1; |
ret | 112 | arch/mips/kernel/tyne-c.c | return ret; |
ret | 73 | arch/ppc/kernel/raw_printf.c | int ret; |
ret | 78 | arch/ppc/kernel/raw_printf.c | ret = _vprintk(_sputc, fmt, ap); |
ret | 80 | arch/ppc/kernel/raw_printf.c | return (ret); |
ret | 85 | arch/ppc/kernel/raw_printf.c | int ret; |
ret | 88 | arch/ppc/kernel/raw_printf.c | ret = _vprintk(_sputc, fmt, ap); |
ret | 89 | arch/ppc/kernel/raw_printf.c | return (ret); |
ret | 94 | arch/ppc/kernel/raw_printf.c | int ret; |
ret | 98 | arch/ppc/kernel/raw_printf.c | ret = _vprintk(cnputc, fmt, ap); |
ret | 100 | arch/ppc/kernel/raw_printf.c | return (ret); |
ret | 647 | arch/sparc/kernel/sys_sunos.c | int ret; |
ret | 665 | arch/sparc/kernel/sys_sunos.c | ret = socket->ops->bind(socket, (struct sockaddr*)&local, |
ret | 667 | arch/sparc/kernel/sys_sunos.c | } while (ret && try_port > (1024 / 2)); |
ret | 669 | arch/sparc/kernel/sys_sunos.c | if (ret) |
ret | 677 | arch/sparc/kernel/sys_sunos.c | ret = socket->ops->connect (socket, (struct sockaddr *) &server, |
ret | 679 | arch/sparc/kernel/sys_sunos.c | if (ret < 0) |
ret | 694 | arch/sparc/kernel/sys_sunos.c | int ret = -ENODEV, error; |
ret | 745 | arch/sparc/kernel/sys_sunos.c | ret = do_mount (dev, "", dir_name, "nfs", linux_flags, &linux_nfs_mount); |
ret | 746 | arch/sparc/kernel/sys_sunos.c | if (ret) |
ret | 749 | arch/sparc/kernel/sys_sunos.c | return ret; |
ret | 1521 | arch/sparc/mm/srmmu.c | unsigned long ret; |
ret | 1529 | arch/sparc/mm/srmmu.c | ret = (*kbrk + mask) & ~mask; |
ret | 1530 | arch/sparc/mm/srmmu.c | *kbrk = ret + size; |
ret | 1531 | arch/sparc/mm/srmmu.c | memset((void*) ret, 0, size); |
ret | 1532 | arch/sparc/mm/srmmu.c | return (void*) ret; |
ret | 449 | drivers/block/floppy.c | #define ECALL(x) if ((ret = (x))) return ret; |
ret | 450 | drivers/block/floppy.c | #define _WAIT(x,i) CALL(ret=wait_til_done((x),i)) |
ret | 1945 | drivers/block/floppy.c | int ret; |
ret | 1969 | drivers/block/floppy.c | ret=0; |
ret | 1971 | drivers/block/floppy.c | ret=-EIO; |
ret | 1973 | drivers/block/floppy.c | return ret; |
ret | 2147 | drivers/block/floppy.c | int ret; |
ret | 2167 | drivers/block/floppy.c | return ret; |
ret | 2803 | drivers/block/floppy.c | int ret; |
ret | 2817 | drivers/block/floppy.c | return ret; |
ret | 2838 | drivers/block/floppy.c | int ret; |
ret | 2840 | drivers/block/floppy.c | ret=0; |
ret | 2849 | drivers/block/floppy.c | return ret; |
ret | 2858 | drivers/block/floppy.c | int ret; |
ret | 2870 | drivers/block/floppy.c | int ret; |
ret | 2950 | drivers/block/floppy.c | int ret; |
ret | 3004 | drivers/block/floppy.c | int ret; |
ret | 3075 | drivers/block/floppy.c | int drive, ret, ret2; |
ret | 3097 | drivers/block/floppy.c | ret = raw_cmd_copyin(cmd, param, &my_raw_cmd); |
ret | 3098 | drivers/block/floppy.c | if (ret) { |
ret | 3100 | drivers/block/floppy.c | return ret; |
ret | 3105 | drivers/block/floppy.c | ret=wait_til_done(floppy_start,1); |
ret | 3112 | drivers/block/floppy.c | if (ret != -EINTR && FDCS->reset) |
ret | 3113 | drivers/block/floppy.c | ret = -EIO; |
ret | 3118 | drivers/block/floppy.c | if (!ret) |
ret | 3119 | drivers/block/floppy.c | ret = ret2; |
ret | 3121 | drivers/block/floppy.c | return ret; |
ret | 3290 | drivers/block/floppy.c | int ret; |
ret | 3348 | drivers/block/floppy.c | ret=fd_eject(UNIT(drive)); |
ret | 3353 | drivers/block/floppy.c | return ret; |
ret | 3383 | drivers/block/floppy.c | ret = UDRS->flags; |
ret | 3385 | drivers/block/floppy.c | if(ret & FD_VERIFY) |
ret | 3387 | drivers/block/floppy.c | if(!(ret & FD_DISK_WRITABLE)) |
ret | 3517 | drivers/block/floppy.c | int ret; |
ret | 3529 | drivers/block/floppy.c | ret= block_write(inode, filp, buf, count); |
ret | 3530 | drivers/block/floppy.c | return ret; |
ret | 740 | drivers/cdrom/mcd.c | goto ret; |
ret | 1069 | drivers/cdrom/mcd.c | ret: |
ret | 1690 | drivers/char/cyclades.c | int ret; |
ret | 1698 | drivers/char/cyclades.c | ret = PAGE_SIZE - info->xmit_cnt - 1; |
ret | 1699 | drivers/char/cyclades.c | if (ret < 0) |
ret | 1700 | drivers/char/cyclades.c | ret = 0; |
ret | 1701 | drivers/char/cyclades.c | return ret; |
ret | 321 | drivers/char/lp.c | int ret; |
ret | 362 | drivers/char/lp.c | ret = request_irq(irq, lp_interrupt, SA_INTERRUPT, "printer", NULL); |
ret | 363 | drivers/char/lp.c | if (ret) { |
ret | 366 | drivers/char/lp.c | printk("lp%d unable to use interrupt %d, error %d\n", minor, irq, ret); |
ret | 368 | drivers/char/lp.c | return ret; |
ret | 651 | drivers/char/lp.c | int ret = lp_probe(offset); |
ret | 652 | drivers/char/lp.c | if (ret < 0) |
ret | 654 | drivers/char/lp.c | count += ret; |
ret | 845 | drivers/char/random.c | int ret, i; |
ret | 857 | drivers/char/random.c | ret = nbytes; |
ret | 902 | drivers/char/random.c | return ret; |
ret | 1300 | drivers/char/riscom8.c | int ret; |
ret | 1305 | drivers/char/riscom8.c | ret = SERIAL_XMIT_SIZE - port->xmit_cnt - 1; |
ret | 1306 | drivers/char/riscom8.c | if (ret < 0) |
ret | 1307 | drivers/char/riscom8.c | ret = 0; |
ret | 1308 | drivers/char/riscom8.c | return ret; |
ret | 1394 | drivers/char/serial.c | int ret; |
ret | 1398 | drivers/char/serial.c | ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1; |
ret | 1399 | drivers/char/serial.c | if (ret < 0) |
ret | 1400 | drivers/char/serial.c | ret = 0; |
ret | 1401 | drivers/char/serial.c | return ret; |
ret | 1783 | drivers/char/serial.c | struct serial_multiport_struct ret; |
ret | 1788 | drivers/char/serial.c | ret.port_monitor = multi->port_monitor; |
ret | 1790 | drivers/char/serial.c | ret.port1 = multi->port1; |
ret | 1791 | drivers/char/serial.c | ret.mask1 = multi->mask1; |
ret | 1792 | drivers/char/serial.c | ret.match1 = multi->match1; |
ret | 1794 | drivers/char/serial.c | ret.port2 = multi->port2; |
ret | 1795 | drivers/char/serial.c | ret.mask2 = multi->mask2; |
ret | 1796 | drivers/char/serial.c | ret.match2 = multi->match2; |
ret | 1798 | drivers/char/serial.c | ret.port3 = multi->port3; |
ret | 1799 | drivers/char/serial.c | ret.mask3 = multi->mask3; |
ret | 1800 | drivers/char/serial.c | ret.match3 = multi->match3; |
ret | 1802 | drivers/char/serial.c | ret.port4 = multi->port4; |
ret | 1803 | drivers/char/serial.c | ret.mask4 = multi->mask4; |
ret | 1804 | drivers/char/serial.c | ret.match4 = multi->match4; |
ret | 1806 | drivers/char/serial.c | ret.irq = info->irq; |
ret | 1808 | drivers/char/serial.c | memcpy_tofs(retinfo,&ret,sizeof(*retinfo)); |
ret | 774 | drivers/isdn/icn/icn.c | int ret; |
ret | 780 | drivers/isdn/icn/icn.c | if ((ret = verify_area(VERIFY_READ, (void *) buffer, ICN_CODE_STAGE1))) |
ret | 781 | drivers/isdn/icn/icn.c | return ret; |
ret | 845 | drivers/isdn/icn/icn.c | if ((ret = icn_check_loader(dev->doubleS0 ? 2 : 1))) |
ret | 846 | drivers/isdn/icn/icn.c | return ret; |
ret | 868 | drivers/isdn/icn/icn.c | int ret; |
ret | 874 | drivers/isdn/icn/icn.c | if ((ret = verify_area(VERIFY_READ, (void *) buffer, ICN_CODE_STAGE2))) |
ret | 875 | drivers/isdn/icn/icn.c | return ret; |
ret | 880 | drivers/isdn/isdn_common.c | int ret; |
ret | 887 | drivers/isdn/isdn_common.c | if ((ret = isdn_net_rmall())) |
ret | 888 | drivers/isdn/isdn_common.c | return ret; |
ret | 891 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) src, sizeof(int)))) { |
ret | 893 | drivers/isdn/isdn_common.c | return ret; |
ret | 900 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) src, sizeof(cfg)))) { |
ret | 902 | drivers/isdn/isdn_common.c | return ret; |
ret | 910 | drivers/isdn/isdn_common.c | if ((ret = isdn_net_setcfg(&cfg))) { |
ret | 912 | drivers/isdn/isdn_common.c | return ret; |
ret | 914 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) src, sizeof(buf)))) { |
ret | 916 | drivers/isdn/isdn_common.c | return ret; |
ret | 927 | drivers/isdn/isdn_common.c | if ((ret = isdn_net_addphone(&phone))) { |
ret | 929 | drivers/isdn/isdn_common.c | return ret; |
ret | 936 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) src, sizeof(buf)))) { |
ret | 938 | drivers/isdn/isdn_common.c | return ret; |
ret | 949 | drivers/isdn/isdn_common.c | if ((ret = isdn_net_addphone(&phone))) { |
ret | 951 | drivers/isdn/isdn_common.c | return ret; |
ret | 970 | drivers/isdn/isdn_common.c | int ret; |
ret | 977 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) dest, sizeof(cfg) + 10))) { |
ret | 979 | drivers/isdn/isdn_common.c | return ret; |
ret | 1003 | drivers/isdn/isdn_common.c | if ((ret = isdn_net_getphones(&phone, dest)) < 0) { |
ret | 1005 | drivers/isdn/isdn_common.c | return ret; |
ret | 1007 | drivers/isdn/isdn_common.c | dest += ret; |
ret | 1010 | drivers/isdn/isdn_common.c | if ((ret = isdn_net_getphones(&phone, dest)) < 0) { |
ret | 1012 | drivers/isdn/isdn_common.c | return ret; |
ret | 1014 | drivers/isdn/isdn_common.c | dest += ret; |
ret | 1027 | drivers/isdn/isdn_common.c | int ret; |
ret | 1041 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, |
ret | 1043 | drivers/isdn/isdn_common.c | return ret; |
ret | 1073 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(name)))) |
ret | 1074 | drivers/isdn/isdn_common.c | return ret; |
ret | 1080 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, strlen(s) + 1))) |
ret | 1081 | drivers/isdn/isdn_common.c | return ret; |
ret | 1089 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(bname)))) |
ret | 1090 | drivers/isdn/isdn_common.c | return ret; |
ret | 1095 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, strlen(s) + 1))) |
ret | 1096 | drivers/isdn/isdn_common.c | return ret; |
ret | 1104 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(name)))) |
ret | 1105 | drivers/isdn/isdn_common.c | return ret; |
ret | 1113 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(cfg)))) |
ret | 1114 | drivers/isdn/isdn_common.c | return ret; |
ret | 1122 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(cfg)))) |
ret | 1123 | drivers/isdn/isdn_common.c | return ret; |
ret | 1125 | drivers/isdn/isdn_common.c | if (!(ret = isdn_net_getcfg(&cfg))) { |
ret | 1126 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, sizeof(cfg)))) |
ret | 1127 | drivers/isdn/isdn_common.c | return ret; |
ret | 1130 | drivers/isdn/isdn_common.c | return ret; |
ret | 1136 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(phone)))) |
ret | 1137 | drivers/isdn/isdn_common.c | return ret; |
ret | 1145 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(phone)))) |
ret | 1146 | drivers/isdn/isdn_common.c | return ret; |
ret | 1155 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(phone)))) |
ret | 1156 | drivers/isdn/isdn_common.c | return ret; |
ret | 1163 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(name)))) |
ret | 1164 | drivers/isdn/isdn_common.c | return ret; |
ret | 1172 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, |
ret | 1175 | drivers/isdn/isdn_common.c | return ret; |
ret | 1187 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(name)))) |
ret | 1188 | drivers/isdn/isdn_common.c | return ret; |
ret | 1212 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, |
ret | 1214 | drivers/isdn/isdn_common.c | return ret; |
ret | 1257 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, |
ret | 1260 | drivers/isdn/isdn_common.c | return ret; |
ret | 1278 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, |
ret | 1281 | drivers/isdn/isdn_common.c | return ret; |
ret | 1301 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, |
ret | 1303 | drivers/isdn/isdn_common.c | return ret; |
ret | 1317 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) iocts.arg, 255))) |
ret | 1318 | drivers/isdn/isdn_common.c | return ret; |
ret | 1335 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) iocts.arg, |
ret | 1337 | drivers/isdn/isdn_common.c | return ret; |
ret | 1345 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, sizeof(ulong)))) |
ret | 1346 | drivers/isdn/isdn_common.c | return ret; |
ret | 1360 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, |
ret | 1362 | drivers/isdn/isdn_common.c | return ret; |
ret | 1377 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, |
ret | 1379 | drivers/isdn/isdn_common.c | return ret; |
ret | 1384 | drivers/isdn/isdn_common.c | ret = dev->drv[drvidx]->interface->command(&c); |
ret | 1387 | drivers/isdn/isdn_common.c | return ret; |
ret | 1453 | drivers/isdn/isdn_common.c | int ret; |
ret | 1454 | drivers/isdn/isdn_common.c | if (!(ret = isdn_ppp_open(minor - ISDN_MINOR_PPP, filep))) |
ret | 1456 | drivers/isdn/isdn_common.c | return ret; |
ret | 1696 | drivers/isdn/isdn_common.c | int ret; |
ret | 1699 | drivers/isdn/isdn_common.c | ret = dev->drv[drvidx]->interface-> |
ret | 1702 | drivers/isdn/isdn_common.c | if ((ret = dev->drv[drvidx]->interface-> |
ret | 1706 | drivers/isdn/isdn_common.c | return ret; |
ret | 670 | drivers/isdn/isdn_net.c | int ret; |
ret | 673 | drivers/isdn/isdn_net.c | ret = isdn_writebuf_skb_stub(lp->isdn_device, lp->isdn_channel, skb); |
ret | 674 | drivers/isdn/isdn_net.c | if (ret == skb->len) |
ret | 676 | drivers/isdn/isdn_net.c | return (!ret); |
ret | 694 | drivers/isdn/isdn_net.c | int ret; |
ret | 712 | drivers/isdn/isdn_net.c | ret = isdn_net_send_skb(ndev, lp, skb); |
ret | 717 | drivers/isdn/isdn_net.c | ret = isdn_net_send_skb(ndev, lp, skb); |
ret | 719 | drivers/isdn/isdn_net.c | ret = ndev->tbusy = isdn_net_start_xmit(skb, lp->srobin); |
ret | 741 | drivers/isdn/isdn_net.c | ret = isdn_net_send_skb(ndev, lp, skb); |
ret | 745 | drivers/isdn/isdn_net.c | return ret; |
ret | 1186 | drivers/isdn/isdn_net.c | int ret = 0; |
ret | 1206 | drivers/isdn/isdn_net.c | ret = arp_find((unsigned char *)&(eth->h_dest), dst, dev, dev->pa_addr,skb)? 1 : 0; |
ret | 1209 | drivers/isdn/isdn_net.c | return ret; |
ret | 2118 | drivers/isdn/isdn_net.c | int ret; |
ret | 2133 | drivers/isdn/isdn_net.c | if ((ret = verify_area(VERIFY_WRITE, (void *) phones, strlen(n->num) + 1))) { |
ret | 2135 | drivers/isdn/isdn_net.c | return ret; |
ret | 2326 | drivers/isdn/isdn_net.c | int ret; |
ret | 2334 | drivers/isdn/isdn_net.c | if ((ret = isdn_net_realrm(dev->netdev, NULL))) { |
ret | 2336 | drivers/isdn/isdn_net.c | return ret; |
ret | 461 | drivers/isdn/isdn_tty.c | int ret; |
ret | 467 | drivers/isdn/isdn_tty.c | ret = info->xmit_size - info->xmit_count - 1; |
ret | 468 | drivers/isdn/isdn_tty.c | return (ret < 0) ? 0 : ret; |
ret | 1281 | drivers/isdn/teles/isdnl2.c | int ret = !0; |
ret | 1291 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_I, ibh); |
ret | 1293 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_RR, ibh); |
ret | 1295 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_UI, ibh); |
ret | 1297 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_SABMX, ibh); |
ret | 1299 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_UA, ibh); |
ret | 1301 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_DISC, ibh); |
ret | 1303 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_REJ, ibh); |
ret | 1305 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_FRMR, ibh); |
ret | 1307 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_RNR, ibh); |
ret | 1309 | drivers/isdn/teles/isdnl2.c | if (ret) |
ret | 395 | drivers/net/atarilance.c | { int ret; |
ret | 431 | drivers/net/atarilance.c | : "=&d" (ret) |
ret | 439 | drivers/net/atarilance.c | return( ret ); |
ret | 1712 | drivers/net/de4x5.c | struct device *tmp = NULL, *ret; |
ret | 1764 | drivers/net/de4x5.c | ret = dev; /* return current struct, or NULL */ |
ret | 1770 | drivers/net/de4x5.c | if (ret != NULL) { |
ret | 1807 | drivers/net/de4x5.c | return ret; |
ret | 2631 | drivers/net/de4x5.c | struct sk_buff *ret; |
ret | 2643 | drivers/net/de4x5.c | ret = lp->rx_skb[index]; |
ret | 2645 | drivers/net/de4x5.c | skb_put(ret, len); |
ret | 2647 | drivers/net/de4x5.c | return ret; |
ret | 3130 | drivers/net/de4x5.c | int ret=0; |
ret | 3132 | drivers/net/de4x5.c | for (;n && !ret;n--) { |
ret | 3133 | drivers/net/de4x5.c | ret = *a++ - *b++; |
ret | 3136 | drivers/net/de4x5.c | return ret; |
ret | 1299 | drivers/net/depca.c | struct device *tmp = NULL, *ret; |
ret | 1353 | drivers/net/depca.c | ret = dev; /* return current struct, or NULL */ |
ret | 1359 | drivers/net/depca.c | if (ret != NULL) { |
ret | 1396 | drivers/net/depca.c | ret = dev; |
ret | 1399 | drivers/net/depca.c | return ret; |
ret | 233 | drivers/net/dlci.c | int ret; |
ret | 235 | drivers/net/dlci.c | ret = 0; |
ret | 249 | drivers/net/dlci.c | ret = dlp->slave->hard_start_xmit(skb, dlp->slave); |
ret | 250 | drivers/net/dlci.c | switch (ret) |
ret | 254 | drivers/net/dlci.c | ret = 0; |
ret | 259 | drivers/net/dlci.c | ret = 0; |
ret | 264 | drivers/net/dlci.c | ret = 1; |
ret | 271 | drivers/net/dlci.c | if (!ret) |
ret | 277 | drivers/net/dlci.c | return(ret); |
ret | 1377 | drivers/net/ewrk3.c | struct device *tmp = NULL, *ret; |
ret | 1431 | drivers/net/ewrk3.c | ret = dev; /* return current struct, or NULL */ |
ret | 1437 | drivers/net/ewrk3.c | if (ret != NULL) { |
ret | 1474 | drivers/net/ewrk3.c | ret = dev; |
ret | 1477 | drivers/net/ewrk3.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 | 751 | drivers/net/pt.c | char *ret; |
ret | 753 | drivers/net/pt.c | ret = (char *) *mem_ptr; |
ret | 757 | drivers/net/pt.c | ret = (char *) *mem_ptr; |
ret | 760 | drivers/net/pt.c | return (ret); |
ret | 1035 | drivers/net/pt.c | int ret = verify_area(VERIFY_WRITE, ifr->ifr_data, sizeof(struct pt_req)); |
ret | 1036 | drivers/net/pt.c | if (ret) |
ret | 1037 | drivers/net/pt.c | return ret; |
ret | 1059 | drivers/net/pt.c | ret = 0; |
ret | 1066 | drivers/net/pt.c | ret = 0; |
ret | 1076 | drivers/net/pt.c | ret = -EAGAIN; |
ret | 1083 | drivers/net/pt.c | ret = -EINVAL; /* add this later */ |
ret | 1099 | drivers/net/pt.c | ret = 0; |
ret | 1103 | drivers/net/pt.c | ret = -EINVAL; |
ret | 1105 | drivers/net/pt.c | return ret; |
ret | 325 | drivers/net/sdla.c | static void sdla_errors(struct device *dev, int cmd, int dlci, int ret, int len, void *data) |
ret | 332 | drivers/net/sdla.c | switch (ret) |
ret | 402 | drivers/net/sdla.c | printk(KERN_DEBUG "%s: Cmd 0x%2.2X generated return code 0x%2.2X\n", dev->name, cmd, ret); |
ret | 415 | drivers/net/sdla.c | int jiffs, ret, waiting, len; |
ret | 422 | drivers/net/sdla.c | ret = 0; |
ret | 458 | drivers/net/sdla.c | ret = cmd_buf->retval; |
ret | 469 | drivers/net/sdla.c | if (ret) |
ret | 475 | drivers/net/sdla.c | ret = SDLA_RET_TIMEOUT; |
ret | 477 | drivers/net/sdla.c | if (ret != SDLA_RET_OK) |
ret | 478 | drivers/net/sdla.c | sdla_errors(dev, cmd, dlci, ret, len, &status); |
ret | 480 | drivers/net/sdla.c | return(ret); |
ret | 604 | drivers/net/sdla.c | short len, ret; |
ret | 617 | drivers/net/sdla.c | ret = SDLA_RET_OK; |
ret | 621 | drivers/net/sdla.c | ret = sdla_cmd(slave, SDLA_READ_DLCI_CONFIGURATION, abs(flp->dlci[i]), 0, |
ret | 624 | drivers/net/sdla.c | ret = sdla_cmd(slave, SDLA_SET_DLCI_CONFIGURATION, abs(flp->dlci[i]), 0, |
ret | 627 | drivers/net/sdla.c | return(ret == SDLA_RET_OK ? 0 : -EIO); |
ret | 640 | drivers/net/sdla.c | int ret, addr; |
ret | 646 | drivers/net/sdla.c | ret = 0; |
ret | 687 | drivers/net/sdla.c | ret = sdla_cmd(dev, SDLA_INFORMATION_WRITE, *(short *)(skb->dev->dev_addr), 0, skb->data, skb->len, NULL, NULL); |
ret | 692 | drivers/net/sdla.c | ret = sdla_cmd(dev, SDLA_INFORMATION_WRITE, *(short *)(skb->dev->dev_addr), 0, NULL, skb->len, &addr, &size); |
ret | 693 | drivers/net/sdla.c | if (ret == SDLA_RET_OK) |
ret | 709 | drivers/net/sdla.c | switch (ret) |
ret | 713 | drivers/net/sdla.c | ret = DLCI_RET_OK; |
ret | 720 | drivers/net/sdla.c | ret = DLCI_RET_DROP; |
ret | 725 | drivers/net/sdla.c | ret = DLCI_RET_ERR; |
ret | 730 | drivers/net/sdla.c | return(ret); |
ret | 1131 | drivers/sbus/char/sunserial.c | int ret; |
ret | 1135 | drivers/sbus/char/sunserial.c | ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1; |
ret | 1136 | drivers/sbus/char/sunserial.c | if (ret < 0) |
ret | 1137 | drivers/sbus/char/sunserial.c | ret = 0; |
ret | 1138 | drivers/sbus/char/sunserial.c | return ret; |
ret | 1393 | drivers/scsi/AM53C974.c | int ret, i, len, residual=-1; |
ret | 1450 | drivers/scsi/AM53C974.c | ret = AM53C974_message(instance, cmd, cmd->SCp.Message); } |
ret | 1457 | drivers/scsi/AM53C974.c | ret = AM53C974_message(instance, cmd, cmd->SCp.Message); |
ret | 1550 | drivers/scsi/AM53C974.c | int len, ret = 0; |
ret | 1746 | drivers/scsi/AM53C974.c | ret = AM53C974_sync_neg(instance, cmd->target, extended_msg); |
ret | 1747 | drivers/scsi/AM53C974.c | if (ret || hostdata->aborted) AM53C974_write_8(CMDREG, CMDREG_SATN); |
ret | 2754 | drivers/scsi/advansys.c | int ret; |
ret | 2960 | drivers/scsi/advansys.c | switch(ret = AscInitGetConfig(boardp)) { |
ret | 2977 | drivers/scsi/advansys.c | ASC_DBG1(0, "AscInitGetConfig: Unknown warning: %x\n", ret); |
ret | 2996 | drivers/scsi/advansys.c | switch (ret = AscInitSetConfig(boardp)) { |
ret | 3012 | drivers/scsi/advansys.c | ASC_DBG1(0, "AscInitSetConfig: Unknown warning: %x\n", ret); |
ret | 3096 | drivers/scsi/advansys.c | if ((ret = request_dma(shp->dma_channel, "advansys")) != 0) { |
ret | 3098 | drivers/scsi/advansys.c | shp->dma_channel, ret); |
ret | 3109 | drivers/scsi/advansys.c | if ((ret = request_irq(shp->irq, advansys_interrupt, |
ret | 3111 | drivers/scsi/advansys.c | ASC_DBG1(0, "advansys_detect: request_irq() failed %d\n", ret); |
ret | 3320 | drivers/scsi/advansys.c | int ret; |
ret | 3328 | drivers/scsi/advansys.c | ret = SCSI_ABORT_ERROR; |
ret | 3331 | drivers/scsi/advansys.c | ret = SCSI_ABORT_SUCCESS; |
ret | 3342 | drivers/scsi/advansys.c | ret = SCSI_ABORT_PENDING; |
ret | 3347 | drivers/scsi/advansys.c | ret = SCSI_ABORT_NOT_RUNNING; |
ret | 3352 | drivers/scsi/advansys.c | ret = SCSI_ABORT_ERROR; |
ret | 3358 | drivers/scsi/advansys.c | ASC_DBG1(1, "advansys_abort: ret %d\n", ret); |
ret | 3359 | drivers/scsi/advansys.c | return ret; |
ret | 3375 | drivers/scsi/advansys.c | int ret; |
ret | 3383 | drivers/scsi/advansys.c | ret = SCSI_RESET_ERROR; |
ret | 3405 | drivers/scsi/advansys.c | ret = SCSI_RESET_SUCCESS; |
ret | 3410 | drivers/scsi/advansys.c | ret = SCSI_RESET_ERROR; |
ret | 3415 | drivers/scsi/advansys.c | ASC_DBG1(1, "advansys_reset: ret %d", ret); |
ret | 3416 | drivers/scsi/advansys.c | return ret; |
ret | 3682 | drivers/scsi/advansys.c | int ret; |
ret | 3781 | drivers/scsi/advansys.c | switch (ret = AscExeScsiQueue(boardp, &scsiq)) { |
ret | 3799 | drivers/scsi/advansys.c | return ret; |
ret | 3974 | drivers/scsi/advansys.c | int ret; |
ret | 4025 | drivers/scsi/advansys.c | switch (ret = AscInitPollTarget(boardp, scsireqq, inquiry, cap_info)) { |
ret | 4060 | drivers/scsi/advansys.c | ASC_DBG1(0, "asc_init_dev: AscInitPollTarget() unknown ret %d\n", ret); |
ret | 4092 | drivers/scsi/advansys.c | int ret; |
ret | 4102 | drivers/scsi/advansys.c | ret = asc_pci_find_dev(pciDevice); |
ret | 4103 | drivers/scsi/advansys.c | ASC_DBG1(2, "asc_srch_pci_dev: asc_pci_find_dev() return %d\n", ret); |
ret | 4104 | drivers/scsi/advansys.c | if (ret == PCI_DEVICE_FOUND) { |
ret | 4115 | drivers/scsi/advansys.c | ret = asc_srch_pci_dev(pciDevice); |
ret | 4116 | drivers/scsi/advansys.c | ASC_DBG1(2, "asc_srch_pci_dev recursive call return %d\n", ret); |
ret | 4119 | drivers/scsi/advansys.c | ASC_DBG1(2, "asc_srch_pci_dev: return %d\n", ret); |
ret | 4120 | drivers/scsi/advansys.c | return ret; |
ret | 4447 | drivers/scsi/advansys.c | int ret; |
ret | 4450 | drivers/scsi/advansys.c | ret = ASC_FALSE; |
ret | 4457 | drivers/scsi/advansys.c | ret = ASC_TRUE; |
ret | 4463 | drivers/scsi/advansys.c | return ret; |
ret | 4740 | drivers/scsi/advansys.c | int ret; |
ret | 4744 | drivers/scsi/advansys.c | ret = vsprintf(s, fmt, args); |
ret | 4747 | drivers/scsi/advansys.c | ret = 0; |
ret | 4749 | drivers/scsi/advansys.c | ret = min(buflen, ret); |
ret | 4750 | drivers/scsi/advansys.c | memcpy(buf, s, ret); |
ret | 4753 | drivers/scsi/advansys.c | return ret; |
ret | 1716 | drivers/sound/ad1848.c | int ret; |
ret | 1719 | drivers/sound/ad1848.c | if (!(ret = ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp))) |
ret | 1727 | drivers/sound/ad1848.c | int ret; |
ret | 1732 | drivers/sound/ad1848.c | if (!(ret = ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp))) |
ret | 369 | drivers/sound/aedsp16.c | unsigned char ret = 0; |
ret | 373 | drivers/sound/aedsp16.c | ret = inb (port + DSP_DATAVAIL); |
ret | 378 | drivers/sound/aedsp16.c | while (!(ret & 0x80) && loop--); |
ret | 380 | drivers/sound/aedsp16.c | if (ret & 0x80) |
ret | 417 | drivers/sound/aedsp16.c | unsigned char ret; |
ret | 422 | drivers/sound/aedsp16.c | ret = inb (port + DSP_STATUS); |
ret | 426 | drivers/sound/aedsp16.c | if (!(ret & 0x80)) |
ret | 511 | drivers/sound/aedsp16.c | int ret; |
ret | 516 | drivers/sound/aedsp16.c | if ((ret = ReadData (port)) == -1) |
ret | 522 | drivers/sound/aedsp16.c | ver[len++] = ret; |
ret | 533 | drivers/sound/aedsp16.c | int ret; |
ret | 537 | drivers/sound/aedsp16.c | if ((ret = ReadData (port)) == -1) |
ret | 544 | drivers/sound/aedsp16.c | AudioExcelName[len++] = ret; |
ret | 82 | drivers/sound/audio.c | int ret; |
ret | 94 | drivers/sound/audio.c | if ((ret = DMAbuf_open (dev, mode)) < 0) |
ret | 95 | drivers/sound/audio.c | return ret; |
ret | 98 | drivers/sound/audio.c | if ((ret = audio_devs[dev]->coproc-> |
ret | 104 | drivers/sound/audio.c | return ret; |
ret | 125 | drivers/sound/audio.c | return ret; |
ret | 760 | drivers/sound/dmabuf.c | int ret; |
ret | 762 | drivers/sound/dmabuf.c | ret = dma_subdivide (dev, dmap_out, arg, fact); |
ret | 763 | drivers/sound/dmabuf.c | if (ret < 0) |
ret | 764 | drivers/sound/dmabuf.c | return ret; |
ret | 767 | drivers/sound/dmabuf.c | ret = dma_subdivide (dev, dmap_in, arg, fact); |
ret | 769 | drivers/sound/dmabuf.c | return ret; |
ret | 783 | drivers/sound/dmabuf.c | int ret; |
ret | 785 | drivers/sound/dmabuf.c | ret = dma_set_fragment (dev, dmap_out, arg, fact); |
ret | 786 | drivers/sound/dmabuf.c | if (ret < 0) |
ret | 787 | drivers/sound/dmabuf.c | return ret; |
ret | 790 | drivers/sound/dmabuf.c | ret = dma_set_fragment (dev, dmap_in, arg, fact); |
ret | 792 | drivers/sound/dmabuf.c | return ret; |
ret | 149 | drivers/sound/dmasound.c | #define IOCTL_OUT(arg, ret) ioctl_return((int *)arg, ret) |
ret | 369 | drivers/sound/maui.c | int tmp1, tmp2, ret; |
ret | 443 | drivers/sound/maui.c | ret = probe_mpu401 (hw_config); |
ret | 445 | drivers/sound/maui.c | if (ret) |
ret | 448 | drivers/sound/maui.c | return ret; |
ret | 616 | drivers/sound/mpu401.c | int ret = 0; |
ret | 696 | drivers/sound/mpu401.c | ret = 0; |
ret | 720 | drivers/sound/mpu401.c | return ret; |
ret | 726 | drivers/sound/mpu401.c | int ret; |
ret | 735 | drivers/sound/mpu401.c | if ((ret = mpu401_command (dev, &rec)) < 0) |
ret | 737 | drivers/sound/mpu401.c | return ret; |
ret | 815 | drivers/sound/mpu401.c | int ret; |
ret | 820 | drivers/sound/mpu401.c | if ((ret = mpu401_command (dev, &rec)) < 0) |
ret | 821 | drivers/sound/mpu401.c | return ret; |
ret | 1657 | drivers/sound/mpu401.c | int ret; |
ret | 1665 | drivers/sound/mpu401.c | if ((ret = mpu_cmd (midi_dev, 0xE0, val)) < 0) |
ret | 1668 | drivers/sound/mpu401.c | return ret; |
ret | 782 | drivers/sound/pss.c | long ret; |
ret | 788 | drivers/sound/pss.c | ret = attach_mpu401 (mem_start, hw_config); |
ret | 794 | drivers/sound/pss.c | return ret; |
ret | 847 | drivers/sound/pss.c | long ret; |
ret | 850 | drivers/sound/pss.c | ret = attach_ms_sound (mem_start, hw_config); |
ret | 855 | drivers/sound/pss.c | return ret; |
ret | 76 | drivers/sound/sb_midi.c | int ret; |
ret | 120 | drivers/sound/sb_midi.c | if ((ret = sb_get_irq ()) < 0) |
ret | 703 | drivers/sound/sequencer.c | int ret; |
ret | 705 | drivers/sound/sequencer.c | if ((ret = tmr->event (tmr_no, event_rec)) == TIMER_ARMED) |
ret | 723 | drivers/sound/sequencer.c | return ret; |
ret | 157 | drivers/sound/trix.c | int ret; |
ret | 216 | drivers/sound/trix.c | ret = ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp); |
ret | 218 | drivers/sound/trix.c | if (ret) |
ret | 221 | drivers/sound/trix.c | return ret; |
ret | 75 | fs/devices.c | struct file_operations *ret = NULL; |
ret | 101 | fs/devices.c | ret = tb[major].fops; |
ret | 103 | fs/devices.c | return ret; |
ret | 229 | fs/devices.c | int ret = -ENODEV; |
ret | 232 | fs/devices.c | ret = 0; |
ret | 234 | fs/devices.c | ret = filp->f_op->open(inode,filp); |
ret | 236 | fs/devices.c | return ret; |
ret | 289 | fs/devices.c | int ret = -ENODEV; |
ret | 293 | fs/devices.c | ret = 0; |
ret | 295 | fs/devices.c | ret = filp->f_op->open(inode,filp); |
ret | 297 | fs/devices.c | return ret; |
ret | 17 | fs/fat/buffer.c | struct buffer_head *ret = NULL; |
ret | 20 | fs/fat/buffer.c | ret = breada (sb->s_dev,block,512,0,18*1024); |
ret | 25 | fs/fat/buffer.c | ret = (struct buffer_head *)kmalloc (sizeof(struct buffer_head) |
ret | 27 | fs/fat/buffer.c | if (ret != NULL){ |
ret | 57 | fs/fat/buffer.c | memset (ret,0,sizeof(*ret)); |
ret | 58 | fs/fat/buffer.c | ret->b_data = real->b_data; |
ret | 59 | fs/fat/buffer.c | if (block & 1) ret->b_data += 512; |
ret | 60 | fs/fat/buffer.c | ret->b_next = real; |
ret | 66 | fs/fat/buffer.c | return ret; |
ret | 72 | fs/fat/buffer.c | struct buffer_head *ret = NULL; |
ret | 74 | fs/fat/buffer.c | ret = getblk (sb->s_dev,block,512); |
ret | 82 | fs/fat/buffer.c | ret = fat_bread (sb,block); |
ret | 84 | fs/fat/buffer.c | return ret; |
ret | 389 | fs/ncpfs/ncplib_kernel.c | ConvertToNWfromDWORD ( __u32 sfd , __u8 ret[6] ) |
ret | 391 | fs/ncpfs/ncplib_kernel.c | __u16 *dest = (__u16 *) ret; |
ret | 509 | fs/nfs/dir.c | int slen, ret; |
ret | 524 | fs/nfs/dir.c | ret = nfs_proc_rename(NFS_SERVER(dir), NFS_FH(dir), name, |
ret | 526 | fs/nfs/dir.c | if (ret >= 0) { |
ret | 533 | fs/nfs/dir.c | return ret; |
ret | 335 | fs/nfs/inode.c | int ret; |
ret | 347 | fs/nfs/inode.c | ret = nfsiod(); |
ret | 349 | fs/nfs/inode.c | return ret; |
ret | 166 | fs/proc/scsi.c | int ret = 0; |
ret | 177 | fs/proc/scsi.c | ret = dispatch_scsi_info_ptr(inode->i_ino, page, 0, 0, count, 1); |
ret | 182 | 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 = fat_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 fat_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 = fat_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 = fat_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 = fat_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 | 73 | fs/umsdos/ioctl.c | ret = err; |
ret | 77 | fs/umsdos/ioctl.c | ret = -EINVAL; |
ret | 111 | fs/umsdos/ioctl.c | ret = 0; |
ret | 124 | fs/umsdos/ioctl.c | ret = bufk.count == 1 ? 1 : 0; |
ret | 141 | fs/umsdos/ioctl.c | ret = 0; |
ret | 146 | fs/umsdos/ioctl.c | ret = umsdos_emd_dir_readentry (emd_dir,filp,&entry); |
ret | 147 | fs/umsdos/ioctl.c | if (ret < 0){ |
ret | 151 | fs/umsdos/ioctl.c | ret = entry.name_len; |
ret | 166 | fs/umsdos/ioctl.c | ret = 0; |
ret | 182 | fs/umsdos/ioctl.c | ret = emd_dir != NULL; |
ret | 185 | fs/umsdos/ioctl.c | dir->i_op = ret |
ret | 207 | fs/umsdos/ioctl.c | ret = umsdos_newentry (dir,&info); |
ret | 219 | fs/umsdos/ioctl.c | ret = msdos_rename (dir |
ret | 239 | fs/umsdos/ioctl.c | ret = umsdos_delentry (dir,&info |
ret | 250 | fs/umsdos/ioctl.c | ret = msdos_unlink (dir,data.dos_dirent.d_name |
ret | 261 | fs/umsdos/ioctl.c | ret = msdos_rmdir (dir,data.dos_dirent.d_name |
ret | 275 | fs/umsdos/ioctl.c | ret = umsdos_real_lookup (dir,data.dos_dirent.d_name |
ret | 277 | fs/umsdos/ioctl.c | if (ret == 0){ |
ret | 310 | fs/umsdos/ioctl.c | ret = 0; |
ret | 314 | fs/umsdos/ioctl.c | PRINTK (("ioctl return %d\n",ret)); |
ret | 315 | fs/umsdos/ioctl.c | return ret; |
ret | 138 | fs/umsdos/mangle.c | int ret = -ENAMETOOLONG; |
ret | 376 | fs/umsdos/mangle.c | ret = 0; |
ret | 382 | 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,fat_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 | 82 | fs/vfat/namei.c | int ret; |
ret | 90 | fs/vfat/namei.c | ret = 1; |
ret | 99 | fs/vfat/namei.c | ret = 0; |
ret | 106 | fs/vfat/namei.c | ret = 0; |
ret | 113 | fs/vfat/namei.c | ret = 0; |
ret | 123 | fs/vfat/namei.c | if (ret == 0) { |
ret | 259 | include/asm-mips/jazz.h | unsigned short ret = *((volatile unsigned short *)addr); |
ret | 267 | include/asm-mips/jazz.h | return ret; |
ret | 271 | include/asm-mips/jazz.h | unsigned int ret = *((volatile unsigned int *)addr); |
ret | 279 | include/asm-mips/jazz.h | 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 | 233 | include/linux/proc_fs.h | int ret; |
ret | 240 | include/linux/proc_fs.h | ret = proc_unregister(driver, x); |
ret | 242 | include/linux/proc_fs.h | return(ret); |
ret | 556 | kernel/sched.c | int ret = 0; |
ret | 565 | kernel/sched.c | ret = 1; |
ret | 569 | kernel/sched.c | return ret; |
ret | 143 | mm/page_alloc.c | do { struct page *prev = &area->list, *ret; \ |
ret | 144 | mm/page_alloc.c | while (&area->list != (ret = prev->next)) { \ |
ret | 145 | mm/page_alloc.c | if (!dma || CAN_DMA(ret)) { \ |
ret | 146 | mm/page_alloc.c | unsigned long map_nr = ret->map_nr; \ |
ret | 147 | mm/page_alloc.c | (prev->next = ret->next)->prev = prev; \ |
ret | 150 | mm/page_alloc.c | EXPAND(ret, map_nr, order, new_order, area); \ |
ret | 154 | mm/page_alloc.c | prev = ret; \ |
ret | 239 | net/core/dev.c | int ret = 0; |
ret | 245 | net/core/dev.c | ret = dev->open(dev); |
ret | 251 | net/core/dev.c | if (ret == 0) |
ret | 260 | net/core/dev.c | return(ret); |
ret | 953 | net/core/dev.c | int ret; |
ret | 1028 | net/core/dev.c | ret=dev_close(dev); |
ret | 1031 | net/core/dev.c | ret=dev_open(dev); |
ret | 1032 | net/core/dev.c | if(ret<0) |
ret | 1037 | net/core/dev.c | ret=0; |
ret | 1075 | net/core/dev.c | ret=dev->set_mac_address(dev,&ifr.ifr_addr); |
ret | 1085 | net/core/dev.c | ret =0; |
ret | 1113 | net/core/dev.c | ret = 0; |
ret | 1129 | net/core/dev.c | ret = 0; |
ret | 1144 | net/core/dev.c | ret = 0; |
ret | 1160 | net/core/dev.c | ret = -EINVAL; |
ret | 1167 | net/core/dev.c | ret = 0; |
ret | 1178 | net/core/dev.c | ret=0; |
ret | 1195 | net/core/dev.c | ret = (*dev->change_mtu)(dev, ifr.ifr_mtu); |
ret | 1199 | net/core/dev.c | ret = 0; |
ret | 1205 | net/core/dev.c | ret = -EINVAL; |
ret | 1209 | net/core/dev.c | ret = -EINVAL; |
ret | 1222 | net/core/dev.c | ret=dev->set_mac_address(dev,&ifr.ifr_hwaddr); |
ret | 1263 | net/core/dev.c | ret=dev->do_ioctl(dev, &ifr, getset); |
ret | 1268 | net/core/dev.c | ret = -EINVAL; |
ret | 1270 | net/core/dev.c | return(ret); |
ret | 829 | net/ipv4/ip_fw.c | int ret, cmd, fwtype; |
ret | 891 | net/ipv4/ip_fw.c | if ((ret = ip_fw_chk(ip, viadev, *chains[fwtype], |
ret | 894 | net/ipv4/ip_fw.c | else if (ret == FW_MASQUERADE) |
ret | 896 | net/ipv4/ip_fw.c | else if (ret == FW_REJECT) |
ret | 1103 | net/ipx/af_ipx.c | int ret; |
ret | 1105 | net/ipx/af_ipx.c | ret = ipxitf_ioctl_real (cmd,arg); |
ret | 1107 | net/ipx/af_ipx.c | return ret; |
ret | 1905 | net/ipx/af_ipx.c | int ret; |
ret | 1913 | net/ipx/af_ipx.c | ret = ipx_bind (sock, (struct sockaddr *)&uaddr, |
ret | 1915 | net/ipx/af_ipx.c | if (ret != 0) return (ret); |
ret | 2103 | net/ipx/af_ipx.c | int ret; |
ret | 2111 | net/ipx/af_ipx.c | ret = ipx_bind (sock, (struct sockaddr *)&uaddr, |
ret | 2113 | net/ipx/af_ipx.c | if (ret != 0) return ret; |
ret | 197 | net/netlink.c | int ret=-EUNATCH; |
ret | 203 | net/netlink.c | ret=-EAGAIN; |
ret | 208 | net/netlink.c | ret=0; |
ret | 213 | net/netlink.c | return ret; |
ret | 205 | scripts/lxdialog/lxdialog.c | int ret = dialog_inputbox (t, av[2], atoi (av[3]), atoi (av[4]), |
ret | 207 | scripts/lxdialog/lxdialog.c | if (ret == 0) |
ret | 209 | scripts/lxdialog/lxdialog.c | return ret; |