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 | 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 | 632 | arch/sparc/kernel/sys_sunos.c | int ret; |
ret | 650 | arch/sparc/kernel/sys_sunos.c | ret = socket->ops->bind(socket, (struct sockaddr*)&local, |
ret | 652 | arch/sparc/kernel/sys_sunos.c | } while (ret && try_port > (1024 / 2)); |
ret | 654 | arch/sparc/kernel/sys_sunos.c | if (ret) |
ret | 662 | arch/sparc/kernel/sys_sunos.c | ret = socket->ops->connect (socket, (struct sockaddr *) &server, |
ret | 664 | arch/sparc/kernel/sys_sunos.c | if (ret < 0) |
ret | 679 | arch/sparc/kernel/sys_sunos.c | int ret = -ENODEV, error; |
ret | 730 | arch/sparc/kernel/sys_sunos.c | ret = do_mount (dev, "", dir_name, "nfs", linux_flags, &linux_nfs_mount); |
ret | 731 | arch/sparc/kernel/sys_sunos.c | if (ret) |
ret | 734 | arch/sparc/kernel/sys_sunos.c | return ret; |
ret | 930 | arch/sparc/mm/srmmu.c | register unsigned long ret; |
ret | 937 | arch/sparc/mm/srmmu.c | ret = (*kbrk + mask) & ~mask; |
ret | 938 | arch/sparc/mm/srmmu.c | *kbrk = ret + size; |
ret | 939 | arch/sparc/mm/srmmu.c | memset((void*) ret, 0, size); |
ret | 940 | arch/sparc/mm/srmmu.c | return (void*) ret; |
ret | 441 | drivers/block/floppy.c | #define ECALL(x) if ((ret = (x))) return ret; |
ret | 442 | drivers/block/floppy.c | #define _WAIT(x,i) CALL(ret=wait_til_done((x),i)) |
ret | 1884 | drivers/block/floppy.c | int ret; |
ret | 1908 | drivers/block/floppy.c | ret=0; |
ret | 1910 | drivers/block/floppy.c | ret=-EIO; |
ret | 1912 | drivers/block/floppy.c | return ret; |
ret | 2086 | drivers/block/floppy.c | int ret; |
ret | 2106 | drivers/block/floppy.c | return ret; |
ret | 2737 | drivers/block/floppy.c | int ret; |
ret | 2751 | drivers/block/floppy.c | return ret; |
ret | 2772 | drivers/block/floppy.c | int ret; |
ret | 2774 | drivers/block/floppy.c | ret=0; |
ret | 2783 | drivers/block/floppy.c | return ret; |
ret | 2792 | drivers/block/floppy.c | int ret; |
ret | 2804 | drivers/block/floppy.c | int ret; |
ret | 2884 | drivers/block/floppy.c | int ret; |
ret | 2938 | drivers/block/floppy.c | int ret; |
ret | 3001 | drivers/block/floppy.c | int drive, ret, ret2; |
ret | 3023 | drivers/block/floppy.c | ret = raw_cmd_copyin(cmd, param, &my_raw_cmd); |
ret | 3024 | drivers/block/floppy.c | if (ret) { |
ret | 3026 | drivers/block/floppy.c | return ret; |
ret | 3031 | drivers/block/floppy.c | ret=wait_til_done(floppy_start,1); |
ret | 3038 | drivers/block/floppy.c | if (ret != -EINTR && FDCS->reset) |
ret | 3039 | drivers/block/floppy.c | ret = -EIO; |
ret | 3044 | drivers/block/floppy.c | if (!ret) |
ret | 3045 | drivers/block/floppy.c | ret = ret2; |
ret | 3047 | drivers/block/floppy.c | return ret; |
ret | 3216 | drivers/block/floppy.c | int ret; |
ret | 3274 | drivers/block/floppy.c | ret=fd_eject(UNIT(drive)); |
ret | 3284 | drivers/block/floppy.c | return ret; |
ret | 3314 | drivers/block/floppy.c | ret = UDRS->flags; |
ret | 3316 | drivers/block/floppy.c | if(ret & FD_VERIFY) |
ret | 3318 | drivers/block/floppy.c | if(!(ret & FD_DISK_WRITABLE)) |
ret | 3446 | drivers/block/floppy.c | int ret; |
ret | 3458 | drivers/block/floppy.c | ret= block_write(inode, filp, buf, count); |
ret | 3459 | drivers/block/floppy.c | return ret; |
ret | 740 | drivers/cdrom/mcd.c | goto ret; |
ret | 1069 | drivers/cdrom/mcd.c | ret: |
ret | 1676 | drivers/char/cyclades.c | int ret; |
ret | 1684 | drivers/char/cyclades.c | ret = PAGE_SIZE - info->xmit_cnt - 1; |
ret | 1685 | drivers/char/cyclades.c | if (ret < 0) |
ret | 1686 | drivers/char/cyclades.c | ret = 0; |
ret | 1687 | 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 | 581 | drivers/char/random.c | int ret, i; |
ret | 593 | drivers/char/random.c | ret = nbytes; |
ret | 632 | drivers/char/random.c | return ret; |
ret | 1375 | drivers/char/serial.c | int ret; |
ret | 1379 | drivers/char/serial.c | ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1; |
ret | 1380 | drivers/char/serial.c | if (ret < 0) |
ret | 1381 | drivers/char/serial.c | ret = 0; |
ret | 1382 | drivers/char/serial.c | return ret; |
ret | 1764 | drivers/char/serial.c | struct serial_multiport_struct ret; |
ret | 1769 | drivers/char/serial.c | ret.port_monitor = multi->port_monitor; |
ret | 1771 | drivers/char/serial.c | ret.port1 = multi->port1; |
ret | 1772 | drivers/char/serial.c | ret.mask1 = multi->mask1; |
ret | 1773 | drivers/char/serial.c | ret.match1 = multi->match1; |
ret | 1775 | drivers/char/serial.c | ret.port2 = multi->port2; |
ret | 1776 | drivers/char/serial.c | ret.mask2 = multi->mask2; |
ret | 1777 | drivers/char/serial.c | ret.match2 = multi->match2; |
ret | 1779 | drivers/char/serial.c | ret.port3 = multi->port3; |
ret | 1780 | drivers/char/serial.c | ret.mask3 = multi->mask3; |
ret | 1781 | drivers/char/serial.c | ret.match3 = multi->match3; |
ret | 1783 | drivers/char/serial.c | ret.port4 = multi->port4; |
ret | 1784 | drivers/char/serial.c | ret.mask4 = multi->mask4; |
ret | 1785 | drivers/char/serial.c | ret.match4 = multi->match4; |
ret | 1787 | drivers/char/serial.c | ret.irq = info->irq; |
ret | 1789 | drivers/char/serial.c | memcpy_tofs(retinfo,&ret,sizeof(*retinfo)); |
ret | 767 | drivers/isdn/icn/icn.c | int ret; |
ret | 773 | drivers/isdn/icn/icn.c | if ((ret = verify_area(VERIFY_READ, (void *) buffer, ICN_CODE_STAGE1))) |
ret | 774 | drivers/isdn/icn/icn.c | return ret; |
ret | 838 | drivers/isdn/icn/icn.c | if ((ret = icn_check_loader(dev->doubleS0 ? 2 : 1))) |
ret | 839 | drivers/isdn/icn/icn.c | return ret; |
ret | 861 | drivers/isdn/icn/icn.c | int ret; |
ret | 867 | drivers/isdn/icn/icn.c | if ((ret = verify_area(VERIFY_READ, (void *) buffer, ICN_CODE_STAGE2))) |
ret | 868 | drivers/isdn/icn/icn.c | return ret; |
ret | 856 | drivers/isdn/isdn_common.c | int ret; |
ret | 863 | drivers/isdn/isdn_common.c | if ((ret = isdn_net_rmall())) |
ret | 864 | drivers/isdn/isdn_common.c | return ret; |
ret | 867 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) src, sizeof(int)))) { |
ret | 869 | drivers/isdn/isdn_common.c | return ret; |
ret | 876 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) src, sizeof(cfg)))) { |
ret | 878 | drivers/isdn/isdn_common.c | return ret; |
ret | 886 | drivers/isdn/isdn_common.c | if ((ret = isdn_net_setcfg(&cfg))) { |
ret | 888 | drivers/isdn/isdn_common.c | return ret; |
ret | 890 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) src, sizeof(buf)))) { |
ret | 892 | drivers/isdn/isdn_common.c | return ret; |
ret | 903 | drivers/isdn/isdn_common.c | if ((ret = isdn_net_addphone(&phone))) { |
ret | 905 | drivers/isdn/isdn_common.c | return ret; |
ret | 912 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) src, sizeof(buf)))) { |
ret | 914 | drivers/isdn/isdn_common.c | return ret; |
ret | 925 | drivers/isdn/isdn_common.c | if ((ret = isdn_net_addphone(&phone))) { |
ret | 927 | drivers/isdn/isdn_common.c | return ret; |
ret | 946 | drivers/isdn/isdn_common.c | int ret; |
ret | 953 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) dest, sizeof(cfg) + 10))) { |
ret | 955 | drivers/isdn/isdn_common.c | return ret; |
ret | 979 | drivers/isdn/isdn_common.c | if ((ret = isdn_net_getphones(&phone, dest)) < 0) { |
ret | 981 | drivers/isdn/isdn_common.c | return ret; |
ret | 983 | drivers/isdn/isdn_common.c | dest += ret; |
ret | 986 | drivers/isdn/isdn_common.c | if ((ret = isdn_net_getphones(&phone, dest)) < 0) { |
ret | 988 | drivers/isdn/isdn_common.c | return ret; |
ret | 990 | drivers/isdn/isdn_common.c | dest += ret; |
ret | 1003 | drivers/isdn/isdn_common.c | int ret; |
ret | 1030 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(name)))) |
ret | 1031 | drivers/isdn/isdn_common.c | return ret; |
ret | 1037 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, strlen(s) + 1))) |
ret | 1038 | drivers/isdn/isdn_common.c | return ret; |
ret | 1046 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(bname)))) |
ret | 1047 | drivers/isdn/isdn_common.c | return ret; |
ret | 1052 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, strlen(s) + 1))) |
ret | 1053 | drivers/isdn/isdn_common.c | return ret; |
ret | 1061 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(name)))) |
ret | 1062 | drivers/isdn/isdn_common.c | return ret; |
ret | 1070 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(cfg)))) |
ret | 1071 | drivers/isdn/isdn_common.c | return ret; |
ret | 1079 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(cfg)))) |
ret | 1080 | drivers/isdn/isdn_common.c | return ret; |
ret | 1082 | drivers/isdn/isdn_common.c | if (!(ret = isdn_net_getcfg(&cfg))) { |
ret | 1083 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, sizeof(cfg)))) |
ret | 1084 | drivers/isdn/isdn_common.c | return ret; |
ret | 1087 | drivers/isdn/isdn_common.c | return ret; |
ret | 1093 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(phone)))) |
ret | 1094 | drivers/isdn/isdn_common.c | return ret; |
ret | 1102 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(phone)))) |
ret | 1103 | drivers/isdn/isdn_common.c | return ret; |
ret | 1112 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(phone)))) |
ret | 1113 | drivers/isdn/isdn_common.c | return ret; |
ret | 1120 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(name)))) |
ret | 1121 | drivers/isdn/isdn_common.c | return ret; |
ret | 1129 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, |
ret | 1132 | drivers/isdn/isdn_common.c | return ret; |
ret | 1144 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(name)))) |
ret | 1145 | drivers/isdn/isdn_common.c | return ret; |
ret | 1169 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, |
ret | 1171 | drivers/isdn/isdn_common.c | return ret; |
ret | 1214 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, |
ret | 1217 | drivers/isdn/isdn_common.c | return ret; |
ret | 1235 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, |
ret | 1238 | drivers/isdn/isdn_common.c | return ret; |
ret | 1258 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, |
ret | 1260 | drivers/isdn/isdn_common.c | return ret; |
ret | 1274 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) iocts.arg, 255))) |
ret | 1275 | drivers/isdn/isdn_common.c | return ret; |
ret | 1292 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) iocts.arg, |
ret | 1294 | drivers/isdn/isdn_common.c | return ret; |
ret | 1302 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, sizeof(ulong)))) |
ret | 1303 | drivers/isdn/isdn_common.c | return ret; |
ret | 1317 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, |
ret | 1319 | drivers/isdn/isdn_common.c | return ret; |
ret | 1334 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, |
ret | 1336 | drivers/isdn/isdn_common.c | return ret; |
ret | 1341 | drivers/isdn/isdn_common.c | ret = dev->drv[drvidx]->interface->command(&c); |
ret | 1344 | drivers/isdn/isdn_common.c | return ret; |
ret | 1411 | drivers/isdn/isdn_common.c | int ret; |
ret | 1412 | drivers/isdn/isdn_common.c | if (!(ret = isdn_ppp_open(minor - ISDN_MINOR_PPP, filep))) |
ret | 1414 | drivers/isdn/isdn_common.c | return ret; |
ret | 634 | drivers/isdn/isdn_net.c | int ret; |
ret | 638 | drivers/isdn/isdn_net.c | ret = dev->drv[lp->isdn_device]->interface-> |
ret | 641 | drivers/isdn/isdn_net.c | if ((ret = isdn_net_send(skb->data, lp->isdn_device, |
ret | 646 | drivers/isdn/isdn_net.c | if (ret) |
ret | 648 | drivers/isdn/isdn_net.c | return (!ret); |
ret | 666 | drivers/isdn/isdn_net.c | int ret; |
ret | 684 | drivers/isdn/isdn_net.c | ret = isdn_net_send_skb(ndev, lp, skb); |
ret | 689 | drivers/isdn/isdn_net.c | ret = isdn_net_send_skb(ndev, lp, skb); |
ret | 691 | drivers/isdn/isdn_net.c | ret = ndev->tbusy = isdn_net_start_xmit(skb, lp->srobin); |
ret | 713 | drivers/isdn/isdn_net.c | ret = isdn_net_send_skb(ndev, lp, skb); |
ret | 717 | drivers/isdn/isdn_net.c | return ret; |
ret | 1144 | drivers/isdn/isdn_net.c | int ret = 0; |
ret | 1164 | drivers/isdn/isdn_net.c | ret = arp_find((unsigned char *)&(eth->h_dest), dst, dev, dev->pa_addr,skb)? 1 : 0; |
ret | 1167 | drivers/isdn/isdn_net.c | return ret; |
ret | 2052 | drivers/isdn/isdn_net.c | int ret; |
ret | 2067 | drivers/isdn/isdn_net.c | if ((ret = verify_area(VERIFY_WRITE, (void *) phones, strlen(n->num) + 1))) { |
ret | 2069 | drivers/isdn/isdn_net.c | return ret; |
ret | 2259 | drivers/isdn/isdn_net.c | int ret; |
ret | 2267 | drivers/isdn/isdn_net.c | if ((ret = isdn_net_realrm(dev->netdev, NULL))) { |
ret | 2269 | drivers/isdn/isdn_net.c | return ret; |
ret | 455 | drivers/isdn/isdn_tty.c | int ret; |
ret | 461 | drivers/isdn/isdn_tty.c | ret = info->xmit_size - info->xmit_count - 1; |
ret | 462 | drivers/isdn/isdn_tty.c | return (ret < 0) ? 0 : ret; |
ret | 1273 | drivers/isdn/teles/isdnl2.c | int ret = !0; |
ret | 1283 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_I, ibh); |
ret | 1285 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_RR, ibh); |
ret | 1287 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_UI, ibh); |
ret | 1289 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_SABMX, ibh); |
ret | 1291 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_UA, ibh); |
ret | 1293 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_DISC, ibh); |
ret | 1295 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_REJ, ibh); |
ret | 1297 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_FRMR, ibh); |
ret | 1299 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_RNR, ibh); |
ret | 1301 | drivers/isdn/teles/isdnl2.c | if (ret) |
ret | 1663 | drivers/net/de4x5.c | struct device *tmp = NULL, *ret; |
ret | 1715 | drivers/net/de4x5.c | ret = dev; /* return current struct, or NULL */ |
ret | 1721 | drivers/net/de4x5.c | if (ret != NULL) { |
ret | 1758 | drivers/net/de4x5.c | return ret; |
ret | 2930 | drivers/net/de4x5.c | int ret=0; |
ret | 2932 | drivers/net/de4x5.c | for (;n && !ret;n--) { |
ret | 2933 | drivers/net/de4x5.c | ret = *a++ - *b++; |
ret | 2936 | drivers/net/de4x5.c | return ret; |
ret | 1297 | drivers/net/depca.c | struct device *tmp = NULL, *ret; |
ret | 1351 | drivers/net/depca.c | ret = dev; /* return current struct, or NULL */ |
ret | 1357 | drivers/net/depca.c | if (ret != NULL) { |
ret | 1394 | drivers/net/depca.c | ret = dev; |
ret | 1397 | 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 | 1376 | drivers/net/ewrk3.c | struct device *tmp = NULL, *ret; |
ret | 1430 | drivers/net/ewrk3.c | ret = dev; /* return current struct, or NULL */ |
ret | 1436 | drivers/net/ewrk3.c | if (ret != NULL) { |
ret | 1473 | drivers/net/ewrk3.c | ret = dev; |
ret | 1476 | 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 | 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 | 776 | drivers/sound/dmabuf.c | int ret; |
ret | 778 | drivers/sound/dmabuf.c | ret = dma_set_fragment (dev, dmap_out, arg, fact); |
ret | 779 | drivers/sound/dmabuf.c | if (ret < 0) |
ret | 780 | drivers/sound/dmabuf.c | return ret; |
ret | 783 | drivers/sound/dmabuf.c | ret = dma_set_fragment (dev, dmap_in, arg, fact); |
ret | 785 | drivers/sound/dmabuf.c | return 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 | 778 | drivers/sound/pss.c | long ret; |
ret | 784 | drivers/sound/pss.c | ret = attach_mpu401 (mem_start, hw_config); |
ret | 790 | drivers/sound/pss.c | return ret; |
ret | 843 | drivers/sound/pss.c | long ret; |
ret | 846 | drivers/sound/pss.c | ret = attach_ms_sound (mem_start, hw_config); |
ret | 851 | 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 | 66 | fs/devices.c | struct file_operations *ret = NULL; |
ret | 85 | fs/devices.c | ret = tb[major].fops; |
ret | 87 | fs/devices.c | return ret; |
ret | 213 | fs/devices.c | int ret = -ENODEV; |
ret | 216 | fs/devices.c | ret = 0; |
ret | 218 | fs/devices.c | ret = filp->f_op->open(inode,filp); |
ret | 220 | fs/devices.c | return ret; |
ret | 273 | fs/devices.c | int ret = -ENODEV; |
ret | 276 | fs/devices.c | ret = 0; |
ret | 278 | fs/devices.c | ret = filp->f_op->open(inode,filp); |
ret | 280 | fs/devices.c | return ret; |
ret | 17 | fs/fat/buffer.c | struct buffer_head *ret = NULL; |
ret | 19 | fs/fat/buffer.c | ret = bread (sb->s_dev,block,512); |
ret | 23 | fs/fat/buffer.c | ret = (struct buffer_head *)kmalloc (sizeof(struct buffer_head) |
ret | 25 | fs/fat/buffer.c | if (ret != NULL){ |
ret | 55 | fs/fat/buffer.c | memset (ret,0,sizeof(*ret)); |
ret | 56 | fs/fat/buffer.c | ret->b_data = real->b_data; |
ret | 57 | fs/fat/buffer.c | if (block & 1) ret->b_data += 512; |
ret | 58 | fs/fat/buffer.c | ret->b_next = real; |
ret | 64 | fs/fat/buffer.c | return ret; |
ret | 70 | fs/fat/buffer.c | struct buffer_head *ret = NULL; |
ret | 72 | fs/fat/buffer.c | ret = getblk (sb->s_dev,block,512); |
ret | 80 | fs/fat/buffer.c | ret = fat_bread (sb,block); |
ret | 82 | 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 | 490 | fs/nfs/dir.c | int slen, ret; |
ret | 505 | fs/nfs/dir.c | ret = nfs_proc_rename(NFS_SERVER(dir), NFS_FH(dir), name, |
ret | 507 | fs/nfs/dir.c | if (ret >= 0) { |
ret | 514 | fs/nfs/dir.c | return ret; |
ret | 329 | fs/nfs/inode.c | int ret; |
ret | 340 | fs/nfs/inode.c | ret = nfsiod(); |
ret | 342 | 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 | 227 | include/linux/proc_fs.h | int ret; |
ret | 234 | include/linux/proc_fs.h | ret = proc_unregister(driver, x); |
ret | 236 | include/linux/proc_fs.h | return(ret); |
ret | 576 | kernel/sched.c | int ret = 0; |
ret | 582 | kernel/sched.c | ret = 1; |
ret | 585 | 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 - mem_map; \ |
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 | 947 | net/core/dev.c | int ret; |
ret | 1022 | net/core/dev.c | ret=dev_close(dev); |
ret | 1025 | net/core/dev.c | ret=dev_open(dev); |
ret | 1026 | net/core/dev.c | if(ret<0) |
ret | 1031 | net/core/dev.c | ret=0; |
ret | 1069 | net/core/dev.c | ret=dev->set_mac_address(dev,&ifr.ifr_addr); |
ret | 1093 | net/core/dev.c | ret = 0; |
ret | 1109 | net/core/dev.c | ret = 0; |
ret | 1124 | net/core/dev.c | ret = 0; |
ret | 1140 | net/core/dev.c | ret = -EINVAL; |
ret | 1147 | net/core/dev.c | ret = 0; |
ret | 1158 | net/core/dev.c | ret=0; |
ret | 1175 | net/core/dev.c | ret = (*dev->change_mtu)(dev, ifr.ifr_mtu); |
ret | 1179 | net/core/dev.c | ret = 0; |
ret | 1185 | net/core/dev.c | ret = -EINVAL; |
ret | 1189 | net/core/dev.c | ret = -EINVAL; |
ret | 1202 | net/core/dev.c | ret=dev->set_mac_address(dev,&ifr.ifr_hwaddr); |
ret | 1243 | net/core/dev.c | ret=dev->do_ioctl(dev, &ifr, getset); |
ret | 1248 | net/core/dev.c | ret = -EINVAL; |
ret | 1250 | 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 | 1879 | net/ipx/af_ipx.c | int ret; |
ret | 1887 | net/ipx/af_ipx.c | ret = ipx_bind (sock, (struct sockaddr *)&uaddr, |
ret | 1889 | net/ipx/af_ipx.c | if (ret != 0) return (ret); |
ret | 2077 | net/ipx/af_ipx.c | int ret; |
ret | 2085 | net/ipx/af_ipx.c | ret = ipx_bind (sock, (struct sockaddr *)&uaddr, |
ret | 2087 | 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; |