tag | line | file | source code |
res | 368 | arch/alpha/kernel/ptrace.c | int res; |
res | 373 | arch/alpha/kernel/ptrace.c | res = read_long(tsk, addr, &l); |
res | 374 | arch/alpha/kernel/ptrace.c | if (res < 0) |
res | 375 | arch/alpha/kernel/ptrace.c | return res; |
res | 395 | arch/alpha/kernel/ptrace.c | int res; |
res | 400 | arch/alpha/kernel/ptrace.c | res = read_long(tsk, addr, &l); |
res | 401 | arch/alpha/kernel/ptrace.c | if (res < 0) |
res | 402 | arch/alpha/kernel/ptrace.c | return res; |
res | 417 | arch/alpha/kernel/ptrace.c | int displ, i, res, reg_b, nsaved = 0; |
res | 422 | arch/alpha/kernel/ptrace.c | res = read_int(child, pc, &insn); |
res | 423 | arch/alpha/kernel/ptrace.c | if (res < 0) |
res | 424 | arch/alpha/kernel/ptrace.c | return res; |
res | 452 | arch/alpha/kernel/ptrace.c | res = read_int(child, child->debugreg[i], &insn); |
res | 453 | arch/alpha/kernel/ptrace.c | if (res < 0) |
res | 454 | arch/alpha/kernel/ptrace.c | return res; |
res | 457 | arch/alpha/kernel/ptrace.c | res = write_int(child, child->debugreg[i], BREAKINST); |
res | 458 | arch/alpha/kernel/ptrace.c | if (res < 0) |
res | 459 | arch/alpha/kernel/ptrace.c | return res; |
res | 550 | arch/alpha/kernel/ptrace.c | int res; |
res | 552 | arch/alpha/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
res | 554 | arch/alpha/kernel/ptrace.c | if (res < 0) |
res | 555 | arch/alpha/kernel/ptrace.c | return res; |
res | 173 | arch/alpha/math-emu/fp-emul.c | unsigned long va, vb, vc, res, fpcr; |
res | 206 | arch/alpha/math-emu/fp-emul.c | res = ieee_CMPTEQ(va, vb, &vc); |
res | 210 | arch/alpha/math-emu/fp-emul.c | res = ieee_CMPTLT(va, vb, &vc); |
res | 214 | arch/alpha/math-emu/fp-emul.c | res = ieee_CMPTLE(va, vb, &vc); |
res | 218 | arch/alpha/math-emu/fp-emul.c | res = ieee_CMPTUN(va, vb, &vc); |
res | 230 | arch/alpha/math-emu/fp-emul.c | res = FPCR_INV; |
res | 234 | arch/alpha/math-emu/fp-emul.c | res = ieee_CVTQS(mode, vb, &vc); |
res | 238 | arch/alpha/math-emu/fp-emul.c | res = ieee_CVTQT(mode, vb, &vc); |
res | 248 | arch/alpha/math-emu/fp-emul.c | res = ieee_CVTST(mode, vb, &vc); |
res | 250 | arch/alpha/math-emu/fp-emul.c | res = ieee_CVTTS(mode, vb, &vc); |
res | 255 | arch/alpha/math-emu/fp-emul.c | res = ieee_DIVS(mode, va, vb, &vc); |
res | 259 | arch/alpha/math-emu/fp-emul.c | res = ieee_DIVT(mode, va, vb, &vc); |
res | 263 | arch/alpha/math-emu/fp-emul.c | res = ieee_MULS(mode, va, vb, &vc); |
res | 267 | arch/alpha/math-emu/fp-emul.c | res = ieee_MULT(mode, va, vb, &vc); |
res | 271 | arch/alpha/math-emu/fp-emul.c | res = ieee_SUBS(mode, va, vb, &vc); |
res | 275 | arch/alpha/math-emu/fp-emul.c | res = ieee_SUBT(mode, va, vb, &vc); |
res | 279 | arch/alpha/math-emu/fp-emul.c | res = ieee_ADDS(mode, va, vb, &vc); |
res | 283 | arch/alpha/math-emu/fp-emul.c | res = ieee_ADDT(mode, va, vb, &vc); |
res | 287 | arch/alpha/math-emu/fp-emul.c | res = ieee_CVTTQ(mode, vb, &vc); |
res | 304 | arch/alpha/math-emu/fp-emul.c | if (res) { |
res | 305 | arch/alpha/math-emu/fp-emul.c | fpcr |= FPCR_SUM | res; |
res | 307 | arch/alpha/math-emu/fp-emul.c | if (((res & FPCR_INV) && (fpcw & IEEE_TRAP_ENABLE_INV)) || |
res | 308 | arch/alpha/math-emu/fp-emul.c | ((res & FPCR_DZE) && (fpcw & IEEE_TRAP_ENABLE_DZE)) || |
res | 309 | arch/alpha/math-emu/fp-emul.c | ((res & FPCR_OVF) && (fpcw & IEEE_TRAP_ENABLE_OVF)) || |
res | 310 | arch/alpha/math-emu/fp-emul.c | ((res & FPCR_UNF) && (fpcw & IEEE_TRAP_ENABLE_UNF)) || |
res | 311 | arch/alpha/math-emu/fp-emul.c | ((res & FPCR_INE) && (fpcw & IEEE_TRAP_ENABLE_INE))) |
res | 277 | arch/alpha/math-emu/ieee-math.c | unsigned long res, sticky; |
res | 285 | arch/alpha/math-emu/ieee-math.c | res = 0; |
res | 288 | arch/alpha/math-emu/ieee-math.c | res = FPCR_INE; |
res | 290 | arch/alpha/math-emu/ieee-math.c | res |= FPCR_UNF; |
res | 300 | arch/alpha/math-emu/ieee-math.c | res |= FPCR_UNF; |
res | 309 | arch/alpha/math-emu/ieee-math.c | res = FPCR_OVF | FPCR_INE; |
res | 343 | arch/alpha/math-emu/ieee-math.c | return res; |
res | 350 | arch/alpha/math-emu/ieee-math.c | return res; |
res | 357 | arch/alpha/math-emu/ieee-math.c | unsigned long res, sticky; |
res | 365 | arch/alpha/math-emu/ieee-math.c | res = 0; |
res | 367 | arch/alpha/math-emu/ieee-math.c | res = FPCR_INE; |
res | 369 | arch/alpha/math-emu/ieee-math.c | res |= FPCR_UNF; |
res | 379 | arch/alpha/math-emu/ieee-math.c | res |= FPCR_UNF; |
res | 388 | arch/alpha/math-emu/ieee-math.c | res = FPCR_OVF | FPCR_INE; |
res | 422 | arch/alpha/math-emu/ieee-math.c | return res; |
res | 428 | arch/alpha/math-emu/ieee-math.c | return res; |
res | 446 | arch/alpha/math-emu/ieee-math.c | unsigned long diff1, diff2, res = 0; |
res | 468 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z2, b); |
res | 470 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
res | 474 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z2, b); |
res | 476 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
res | 480 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
res | 485 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
res | 487 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z2, b); |
res | 493 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z2, b); |
res | 495 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
res | 499 | arch/alpha/math-emu/ieee-math.c | return FPCR_INE | res; |
res | 506 | arch/alpha/math-emu/ieee-math.c | unsigned long diff1, diff2, res; |
res | 520 | arch/alpha/math-emu/ieee-math.c | res = 0; |
res | 526 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z2, b); |
res | 528 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
res | 532 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z2, b); |
res | 534 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
res | 538 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
res | 543 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
res | 545 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z2, b); |
res | 551 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z2, b); |
res | 553 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
res | 557 | arch/alpha/math-emu/ieee-math.c | return FPCR_INE | res; |
res | 740 | arch/alpha/math-emu/ieee-math.c | unsigned long ov, uv, res = 0; |
res | 759 | arch/alpha/math-emu/ieee-math.c | res |= FPCR_IOV | FPCR_INE; |
res | 799 | arch/alpha/math-emu/ieee-math.c | res |= FPCR_INE; |
res | 804 | arch/alpha/math-emu/ieee-math.c | return res; |
res | 1228 | arch/alpha/math-emu/ieee-math.c | unsigned long res; |
res | 1245 | arch/alpha/math-emu/ieee-math.c | res = 0; |
res | 1257 | arch/alpha/math-emu/ieee-math.c | res = FPCR_DZE; |
res | 1262 | arch/alpha/math-emu/ieee-math.c | return res; |
res | 1295 | arch/alpha/math-emu/ieee-math.c | unsigned long res; |
res | 1312 | arch/alpha/math-emu/ieee-math.c | res = 0; |
res | 1324 | arch/alpha/math-emu/ieee-math.c | res = FPCR_DZE; |
res | 1329 | arch/alpha/math-emu/ieee-math.c | return res; |
res | 355 | arch/i386/kernel/ptrace.c | int res; |
res | 357 | arch/i386/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
res | 358 | arch/i386/kernel/ptrace.c | if (res < 0) |
res | 359 | arch/i386/kernel/ptrace.c | return res; |
res | 360 | arch/i386/kernel/ptrace.c | res = verify_area(VERIFY_WRITE, (void *) data, sizeof(long)); |
res | 361 | arch/i386/kernel/ptrace.c | if (!res) |
res | 363 | arch/i386/kernel/ptrace.c | return res; |
res | 369 | arch/i386/kernel/ptrace.c | int res; |
res | 375 | arch/i386/kernel/ptrace.c | res = verify_area(VERIFY_WRITE, (void *) data, sizeof(long)); |
res | 376 | arch/i386/kernel/ptrace.c | if (res) |
res | 377 | arch/i386/kernel/ptrace.c | return res; |
res | 375 | arch/m68k/kernel/ptrace.c | int res; |
res | 377 | arch/m68k/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
res | 378 | arch/m68k/kernel/ptrace.c | if (res < 0) |
res | 379 | arch/m68k/kernel/ptrace.c | return res; |
res | 380 | arch/m68k/kernel/ptrace.c | res = verify_area(VERIFY_WRITE, (void *) data, sizeof(long)); |
res | 381 | arch/m68k/kernel/ptrace.c | if (!res) |
res | 383 | arch/m68k/kernel/ptrace.c | return res; |
res | 389 | arch/m68k/kernel/ptrace.c | int res; |
res | 394 | arch/m68k/kernel/ptrace.c | res = verify_area(VERIFY_WRITE, (void *) data, |
res | 396 | arch/m68k/kernel/ptrace.c | if (res) |
res | 397 | arch/m68k/kernel/ptrace.c | return res; |
res | 335 | arch/mips/kernel/ptrace.c | int res; |
res | 337 | arch/mips/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
res | 338 | arch/mips/kernel/ptrace.c | if (res < 0) |
res | 339 | arch/mips/kernel/ptrace.c | return res; |
res | 340 | arch/mips/kernel/ptrace.c | res = verify_area(VERIFY_WRITE, (void *) data, sizeof(long)); |
res | 341 | arch/mips/kernel/ptrace.c | if (!res) |
res | 343 | arch/mips/kernel/ptrace.c | return res; |
res | 349 | arch/mips/kernel/ptrace.c | int res; |
res | 355 | arch/mips/kernel/ptrace.c | res = verify_area(VERIFY_WRITE, (void *) data, sizeof(long)); |
res | 356 | arch/mips/kernel/ptrace.c | if (res) |
res | 357 | arch/mips/kernel/ptrace.c | return res; |
res | 437 | arch/ppc/kernel/irq.c | int res = _irq[(irq-1)&0x03]; |
res | 439 | arch/ppc/kernel/irq.c | _printk("PCI IRQ #%d = %d\n", irq, res); |
res | 441 | arch/ppc/kernel/irq.c | return (res); |
res | 518 | arch/sparc/kernel/ptrace.c | int res; |
res | 525 | arch/sparc/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
res | 526 | arch/sparc/kernel/ptrace.c | if (res < 0) { |
res | 527 | arch/sparc/kernel/ptrace.c | pt_error_return(regs, -res); |
res | 545 | arch/sparc/kernel/ptrace.c | int res; |
res | 557 | arch/sparc/kernel/ptrace.c | res = write_long(child, addr, data); |
res | 558 | arch/sparc/kernel/ptrace.c | if(res < 0) |
res | 559 | arch/sparc/kernel/ptrace.c | pt_error_return(regs, -res); |
res | 561 | arch/sparc/kernel/ptrace.c | pt_succ_return(regs, res); |
res | 675 | arch/sparc/kernel/ptrace.c | int res, len = data; |
res | 677 | arch/sparc/kernel/ptrace.c | res = verify_area(VERIFY_WRITE, (void *) dest, len); |
res | 678 | arch/sparc/kernel/ptrace.c | if(res) { |
res | 679 | arch/sparc/kernel/ptrace.c | pt_error_return(regs, -res); |
res | 683 | arch/sparc/kernel/ptrace.c | res = read_byte(child, src, &tmp); |
res | 684 | arch/sparc/kernel/ptrace.c | if(res < 0) { |
res | 685 | arch/sparc/kernel/ptrace.c | pt_error_return(regs, -res); |
res | 699 | arch/sparc/kernel/ptrace.c | int res, len = data; |
res | 701 | arch/sparc/kernel/ptrace.c | res = verify_area(VERIFY_READ, (void *) src, len); |
res | 702 | arch/sparc/kernel/ptrace.c | if(res) { |
res | 703 | arch/sparc/kernel/ptrace.c | pt_error_return(regs, -res); |
res | 707 | arch/sparc/kernel/ptrace.c | res = write_byte(child, dest, *src); |
res | 708 | arch/sparc/kernel/ptrace.c | if(res < 0) { |
res | 709 | arch/sparc/kernel/ptrace.c | pt_error_return(regs, -res); |
res | 1595 | drivers/char/pcxx.c | unsigned res = 0; |
res | 1604 | drivers/char/pcxx.c | res |= FEP_HUPCL; |
res | 1610 | drivers/char/pcxx.c | if (cflag & B115200) res|=1; |
res | 1613 | drivers/char/pcxx.c | res |= cflag & (CBAUD | PARODD | PARENB | CSTOPB | CSIZE); |
res | 1614 | drivers/char/pcxx.c | return res; |
res | 1619 | drivers/char/pcxx.c | unsigned res = iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK|ISTRIP|IXON|IXANY|IXOFF); |
res | 1622 | drivers/char/pcxx.c | res |= IAIXON; |
res | 1623 | drivers/char/pcxx.c | return res; |
res | 1628 | drivers/char/pcxx.c | unsigned res = 0; |
res | 1632 | drivers/char/pcxx.c | res |= (CTS | RTS); |
res | 1635 | drivers/char/pcxx.c | res |= RTS; |
res | 1637 | drivers/char/pcxx.c | res |= DTR; |
res | 1639 | drivers/char/pcxx.c | res |= CTS; |
res | 1641 | drivers/char/pcxx.c | res |= ch->dsr; |
res | 1643 | drivers/char/pcxx.c | res |= ch->dcd; |
res | 1645 | drivers/char/pcxx.c | if (res & RTS) |
res | 1647 | drivers/char/pcxx.c | if (res & CTS) |
res | 1650 | drivers/char/pcxx.c | return res; |
res | 908 | drivers/scsi/advansys.c | uchar res:2; |
res | 1156 | drivers/scsi/advansys.c | uchar res; |
res | 1171 | drivers/scsi/advansys.c | uchar res; |
res | 1183 | drivers/scsi/advansys.c | uchar res; |
res | 1199 | drivers/scsi/advansys.c | uchar res; |
res | 1353 | drivers/scsi/advansys.c | uchar res; |
res | 1505 | drivers/scsi/advansys.c | uchar res; |
res | 4847 | drivers/scsi/advansys.c | h->can_tagged_qng, h->cmd_qng_enabled, h->disc_enable, h->res); |
res | 159 | drivers/scsi/eata_dma_proc.h | res:1, |
res | 148 | fs/affs/namei.c | int res; |
res | 158 | fs/affs/namei.c | res = -ENOENT; |
res | 165 | fs/affs/namei.c | res = 0; |
res | 167 | fs/affs/namei.c | res = -EACCES; |
res | 171 | fs/affs/namei.c | return res; |
res | 545 | fs/fat/misc.c | int res; |
res | 547 | fs/fat/misc.c | res = (name) |
res | 552 | fs/fat/misc.c | return res<0 ? res : 0; |
res | 59 | fs/msdos/namei.c | struct super_block *res; |
res | 64 | fs/msdos/namei.c | res = fat_read_super(sb, data, silent); |
res | 65 | fs/msdos/namei.c | if (res == NULL) |
res | 68 | fs/msdos/namei.c | return res; |
res | 77 | fs/msdos/namei.c | char *res,int dot_dirs,char dotsOK) |
res | 90 | fs/msdos/namei.c | memset(res+1,' ',10); |
res | 91 | fs/msdos/namei.c | while (len--) *res++ = '.'; |
res | 101 | fs/msdos/namei.c | for (walk = res; len && walk-res < 8; walk++) { |
res | 112 | fs/msdos/namei.c | if((res==walk) && (c==0xE5)) c=0x05; |
res | 125 | fs/msdos/namei.c | while (walk-res < 8) *walk++ = ' '; |
res | 126 | fs/msdos/namei.c | while (len > 0 && walk-res < MSDOS_NAME) { |
res | 141 | fs/msdos/namei.c | while (walk-res < MSDOS_NAME) *walk++ = ' '; |
res | 143 | fs/msdos/namei.c | if (!strncmp(res,*reserved,8)) return -EINVAL; |
res | 153 | fs/msdos/namei.c | int res; |
res | 158 | fs/msdos/namei.c | res = msdos_format_name(MSDOS_SB(dir->i_sb)->options.name_check, |
res | 160 | fs/msdos/namei.c | if (res < 0) |
res | 180 | fs/msdos/namei.c | int ino,res; |
res | 214 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) { |
res | 216 | fs/msdos/namei.c | return res; |
res | 262 | fs/msdos/namei.c | int res,ino; |
res | 264 | fs/msdos/namei.c | if ((res = fat_scan(dir,NULL,&bh,&de,&ino,SCAN_ANY)) < 0) { |
res | 265 | fs/msdos/namei.c | if (res != -ENOENT) return res; |
res | 267 | fs/msdos/namei.c | if ((res = fat_add_cluster(dir)) < 0) return res; |
res | 268 | fs/msdos/namei.c | if ((res = fat_scan(dir,NULL,&bh,&de,&ino,SCAN_ANY)) < 0) return res; |
res | 302 | fs/msdos/namei.c | int ino,res,is_hid; |
res | 305 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->options.name_check, |
res | 309 | fs/msdos/namei.c | return res; |
res | 329 | fs/msdos/namei.c | res = msdos_create_entry(dir,msdos_name,len,S_ISDIR(mode),is_hid, |
res | 333 | fs/msdos/namei.c | return res; |
res | 386 | fs/msdos/namei.c | int res,ino; |
res | 393 | fs/msdos/namei.c | res = -EPERM; |
res | 396 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done; |
res | 397 | fs/msdos/namei.c | res = -ENOENT; |
res | 399 | fs/msdos/namei.c | res = -ENOTDIR; |
res | 401 | fs/msdos/namei.c | res = -EBUSY; |
res | 404 | fs/msdos/namei.c | res = msdos_empty(inode); |
res | 405 | fs/msdos/namei.c | if (res) |
res | 413 | fs/msdos/namei.c | res = 0; |
res | 418 | fs/msdos/namei.c | return res; |
res | 429 | fs/msdos/namei.c | int ino,res,is_hid; |
res | 431 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->options.name_check, |
res | 435 | fs/msdos/namei.c | return res; |
res | 445 | fs/msdos/namei.c | if ((res = msdos_create_entry(dir,msdos_name,len,1,is_hid, |
res | 449 | fs/msdos/namei.c | return res; |
res | 454 | fs/msdos/namei.c | if ((res = fat_add_cluster(inode)) < 0) goto mkdir_error; |
res | 455 | fs/msdos/namei.c | if ((res = msdos_create_entry(inode,MSDOS_DOT,1,1,0,&dot)) < 0) |
res | 462 | fs/msdos/namei.c | if ((res = msdos_create_entry(inode,MSDOS_DOTDOT,2,1,0,&dot)) < 0) |
res | 479 | fs/msdos/namei.c | return res; |
res | 490 | fs/msdos/namei.c | int res,ino; |
res | 497 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) |
res | 500 | fs/msdos/namei.c | res = -ENOENT; |
res | 504 | fs/msdos/namei.c | res = -EPERM; |
res | 508 | fs/msdos/namei.c | res = -EPERM; |
res | 521 | fs/msdos/namei.c | return res; |
res | 865 | fs/ncpfs/dir.c | int res; |
res | 873 | fs/ncpfs/dir.c | res = ncp_lookup_volume(server, name, &(finfo.i)); |
res | 877 | fs/ncpfs/dir.c | res = ncp_obtain_info(server, |
res | 882 | fs/ncpfs/dir.c | if (res != 0) |
res | 1093 | fs/ncpfs/dir.c | int res; |
res | 1100 | fs/ncpfs/dir.c | res = -ENOENT; |
res | 1106 | fs/ncpfs/dir.c | res = -EIO; |
res | 1113 | fs/ncpfs/dir.c | res = -ENOENT; |
res | 1120 | fs/ncpfs/dir.c | res = -EBUSY; |
res | 1132 | fs/ncpfs/dir.c | res = ncp_ren_or_mov_file_or_subdir(NCP_SERVER(old_dir), |
res | 1136 | fs/ncpfs/dir.c | if (res == 0) |
res | 1143 | fs/ncpfs/dir.c | res = -EACCES; |
res | 1149 | fs/ncpfs/dir.c | return res; |
res | 212 | fs/nfs/inode.c | struct nfs_fsinfo res; |
res | 216 | fs/nfs/inode.c | &res); |
res | 219 | fs/nfs/inode.c | res.bsize = res.blocks = res.bfree = res.bavail = 0; |
res | 222 | fs/nfs/inode.c | tmp.f_bsize = res.bsize; |
res | 223 | fs/nfs/inode.c | tmp.f_blocks = res.blocks; |
res | 224 | fs/nfs/inode.c | tmp.f_bfree = res.bfree; |
res | 225 | fs/nfs/inode.c | tmp.f_bavail = res.bavail; |
res | 1475 | fs/nfs/nfsroot.c | int res = -1; |
res | 1481 | fs/nfs/nfsroot.c | for (i = 0; i < NPORTS && res < 0; i++) { |
res | 1486 | fs/nfs/nfsroot.c | res = nfs_sock_inode->u.socket_i.ops->bind(&nfs_sock_inode->u.socket_i, |
res | 1491 | fs/nfs/nfsroot.c | if (res < 0) { |
res | 209 | fs/nfs/proc.c | static int *xdr_decode_fsinfo(int *p, struct nfs_fsinfo *res) |
res | 211 | fs/nfs/proc.c | res->tsize = ntohl(*p++); |
res | 212 | fs/nfs/proc.c | res->bsize = ntohl(*p++); |
res | 213 | fs/nfs/proc.c | res->blocks = ntohl(*p++); |
res | 214 | fs/nfs/proc.c | res->bfree = ntohl(*p++); |
res | 215 | fs/nfs/proc.c | res->bavail = ntohl(*p++); |
res | 859 | fs/nfs/proc.c | struct nfs_fsinfo *res) |
res | 878 | fs/nfs/proc.c | p = xdr_decode_fsinfo(p, res); |
res | 53 | fs/nfs/symlink.c | char *res, *res2; |
res | 75 | fs/nfs/symlink.c | &res, &len, NFS_MAXPATHLEN); |
res | 85 | fs/nfs/symlink.c | memcpy(res2, res, len); |
res | 100 | fs/nfs/symlink.c | char *res; |
res | 109 | fs/nfs/symlink.c | &res, &len, buflen); |
res | 112 | fs/nfs/symlink.c | memcpy_tofs(buffer, res, len); |
res | 242 | fs/open.c | int res; |
res | 250 | fs/open.c | res = namei(filename,&inode); |
res | 251 | fs/open.c | if (!res) { |
res | 252 | fs/open.c | res = permission(inode, mode); |
res | 257 | fs/open.c | return res; |
res | 437 | fs/smbfs/dir.c | int res; |
res | 439 | fs/smbfs/dir.c | if ((res = get_pname_static(dir,name,len,result,&result_len) != 0)) { |
res | 440 | fs/smbfs/dir.c | return res; |
res | 887 | fs/smbfs/dir.c | int res; |
res | 892 | fs/smbfs/dir.c | res = -ENOENT; |
res | 898 | fs/smbfs/dir.c | res = -ENOENT; |
res | 902 | fs/smbfs/dir.c | res = get_pname_static(old_dir, old_name, old_len, old_path, &old_len); |
res | 903 | fs/smbfs/dir.c | if (res < 0) { |
res | 907 | fs/smbfs/dir.c | res = get_pname_static(new_dir, new_name, new_len, new_path, &new_len); |
res | 908 | fs/smbfs/dir.c | if (res < 0) { |
res | 914 | fs/smbfs/dir.c | res = -EBUSY; |
res | 918 | fs/smbfs/dir.c | res = smb_proc_mv(SMB_SERVER(old_dir), old_path, old_len, |
res | 921 | fs/smbfs/dir.c | if (res == -EEXIST) { |
res | 925 | fs/smbfs/dir.c | res = smb_proc_mv(SMB_SERVER(old_dir), old_path, |
res | 930 | fs/smbfs/dir.c | if (res == 0) { |
res | 938 | fs/smbfs/dir.c | return res; |
res | 679 | fs/smbfs/proc.c | int res = 0; |
res | 693 | fs/smbfs/proc.c | if ((res = smb_request_ok(server, SMBwrite, 1, 0)) >= 0) { |
res | 694 | fs/smbfs/proc.c | res = WVAL(buf, smb_vwv0); |
res | 699 | fs/smbfs/proc.c | return res; |
res | 133 | fs/vfat/namei.c | struct super_block *res; |
res | 138 | fs/vfat/namei.c | res = fat_read_super(sb, data, silent); |
res | 139 | fs/vfat/namei.c | if (res == NULL) { |
res | 152 | fs/vfat/namei.c | return res; |
res | 326 | fs/vfat/namei.c | static int vfat_format_name(char conv,const char *name,int len,char *res, |
res | 337 | fs/vfat/namei.c | memset(res+1,' ',10); |
res | 338 | fs/vfat/namei.c | while (len--) *res++ = '.'; |
res | 344 | fs/vfat/namei.c | for (walk = res; len && walk-res < 8; walk++) { |
res | 364 | fs/vfat/namei.c | while (walk-res < 8) *walk++ = ' '; |
res | 365 | fs/vfat/namei.c | while (len > 0 && walk-res < MSDOS_NAME) { |
res | 382 | fs/vfat/namei.c | while (walk-res < MSDOS_NAME) *walk++ = ' '; |
res | 384 | fs/vfat/namei.c | if (!strncmp(res,*reserved,8)) return -EINVAL; |
res | 403 | fs/vfat/namei.c | int res; |
res | 423 | fs/vfat/namei.c | res = vfat_format_name('x', msdos_name, len, name_res, 1); |
res | 424 | fs/vfat/namei.c | if (res > -1) { |
res | 426 | fs/vfat/namei.c | res = vfat_find(dir, msdos_name, len, 0, 0, 0, &sinfo); |
res | 428 | fs/vfat/namei.c | if (res > -1) return -EEXIST; |
res | 513 | fs/vfat/namei.c | res = 0; |
res | 515 | fs/vfat/namei.c | res = vfat_find(dir, msdos_name, totlen, 0, 0, 0, &sinfo); |
res | 518 | fs/vfat/namei.c | while (res > -1) { |
res | 536 | fs/vfat/namei.c | res = vfat_find(dir, msdos_name, totlen, 0, 0, 0, &sinfo); |
res | 538 | fs/vfat/namei.c | res = vfat_format_name('x', msdos_name, totlen, name_res, 1); |
res | 539 | fs/vfat/namei.c | return res; |
res | 552 | fs/vfat/namei.c | int res; |
res | 588 | fs/vfat/namei.c | if ((res = fat_add_cluster(dir)) < 0) return res; |
res | 648 | fs/vfat/namei.c | int res; |
res | 661 | fs/vfat/namei.c | res = xlate_to_uni(name, len, uniname, &unilen, uni_xlate); |
res | 662 | fs/vfat/namei.c | if (res < 0) { |
res | 664 | fs/vfat/namei.c | return res; |
res | 719 | fs/vfat/namei.c | int res, xlate; |
res | 733 | fs/vfat/namei.c | res = vfat_valid_shortname('x', name, len, 1); |
res | 734 | fs/vfat/namei.c | if (res > -1) { |
res | 736 | fs/vfat/namei.c | res = vfat_format_name('x', name, len, de->name, 1); |
res | 739 | fs/vfat/namei.c | res = vfat_create_shortname(dir, name, len, msdos_name); |
res | 740 | fs/vfat/namei.c | if (res < 0) { |
res | 741 | fs/vfat/namei.c | return res; |
res | 744 | fs/vfat/namei.c | res = vfat_valid_longname(name, len, 1, xlate); |
res | 745 | fs/vfat/namei.c | if (res < 0) { |
res | 746 | fs/vfat/namei.c | return res; |
res | 815 | fs/vfat/namei.c | int res; |
res | 824 | fs/vfat/namei.c | res = fat_readdirx(dir,&fil,(void *)&vf,vfat_readdir_cb,NULL,1,find_long,0); |
res | 826 | fs/vfat/namei.c | if (res < 0) return res; |
res | 846 | fs/vfat/namei.c | res = vfat_build_slots(dir, name, len, ds, &slots, &is_long); |
res | 847 | fs/vfat/namei.c | if (res < 0) return res; |
res | 912 | fs/vfat/namei.c | int res, ino; |
res | 943 | fs/vfat/namei.c | if ((res = vfat_find(dir,name,len,1,0,0,&sinfo)) < 0) { |
res | 945 | fs/vfat/namei.c | return res; |
res | 983 | fs/vfat/namei.c | int res,ino; |
res | 990 | fs/vfat/namei.c | res = vfat_find(dir, name, len, 1, 1, is_dir, &sinfo); |
res | 991 | fs/vfat/namei.c | if (res < 0) { |
res | 992 | fs/vfat/namei.c | return res; |
res | 1024 | fs/vfat/namei.c | int res; |
res | 1029 | fs/vfat/namei.c | res = vfat_create_entry(dir,name,len,0,result); |
res | 1030 | fs/vfat/namei.c | if (res < 0) PRINTK(("vfat_create: unable to get new entry\n")); |
res | 1034 | fs/vfat/namei.c | return res; |
res | 1086 | fs/vfat/namei.c | int res; |
res | 1092 | fs/vfat/namei.c | if ((res = fat_add_cluster(dir)) < 0) return res; |
res | 1097 | fs/vfat/namei.c | if ((res = fat_get_entry(dir,&offset,&bh,&de)) < 0) return res; |
res | 1100 | fs/vfat/namei.c | res = vfat_create_a_dotdir(dir, parent, bh, de, res, MSDOS_DOT, 1); |
res | 1102 | fs/vfat/namei.c | if (res < 0) { |
res | 1104 | fs/vfat/namei.c | return res; |
res | 1108 | fs/vfat/namei.c | if ((res = fat_get_entry(dir,&offset,&bh,&de)) < 0) { |
res | 1110 | fs/vfat/namei.c | return res; |
res | 1114 | fs/vfat/namei.c | res = vfat_create_a_dotdir(dir, parent, bh, de, res, MSDOS_DOTDOT, 0); |
res | 1118 | fs/vfat/namei.c | return res; |
res | 1156 | fs/vfat/namei.c | int res; |
res | 1168 | fs/vfat/namei.c | res = vfat_empty(inode); |
res | 1169 | fs/vfat/namei.c | if (res) { |
res | 1171 | fs/vfat/namei.c | return res; |
res | 1214 | fs/vfat/namei.c | int res, i; |
res | 1218 | fs/vfat/namei.c | res = fat_get_entry(dir, &offset, bh, de); |
res | 1219 | fs/vfat/namei.c | if (res < 0) return res; |
res | 1221 | fs/vfat/namei.c | res = vfat_rmdir_free_ino(dir,*bh,*de,res); |
res | 1223 | fs/vfat/namei.c | res = vfat_unlink_free_ino(dir,*bh,*de,res,nospc); |
res | 1225 | fs/vfat/namei.c | if (res < 0) return res; |
res | 1230 | fs/vfat/namei.c | res = fat_get_entry(dir, &offset, bh, de); |
res | 1231 | fs/vfat/namei.c | if (res < 0) { |
res | 1246 | fs/vfat/namei.c | int res; |
res | 1252 | fs/vfat/namei.c | res = -EPERM; |
res | 1255 | fs/vfat/namei.c | res = vfat_find(dir,name,len,1,0,0,&sinfo); |
res | 1257 | fs/vfat/namei.c | if (res >= 0 && sinfo.total_slots > 0) { |
res | 1258 | fs/vfat/namei.c | res = vfat_remove_entry(dir,&sinfo,&bh,&de,1,0); |
res | 1259 | fs/vfat/namei.c | if (res > 0) { |
res | 1260 | fs/vfat/namei.c | res = 0; |
res | 1269 | fs/vfat/namei.c | return res; |
res | 1275 | fs/vfat/namei.c | int res; |
res | 1277 | fs/vfat/namei.c | res = vfat_rmdirx(dir, name, len); |
res | 1279 | fs/vfat/namei.c | return res; |
res | 1289 | fs/vfat/namei.c | int res; |
res | 1295 | fs/vfat/namei.c | if ((res = vfat_find(dir,name,len,1,0,0,&sinfo)) < 0) |
res | 1298 | fs/vfat/namei.c | if (res >= 0 && sinfo.total_slots > 0) { |
res | 1299 | fs/vfat/namei.c | res = vfat_remove_entry(dir,&sinfo,&bh,&de,0,nospc); |
res | 1300 | fs/vfat/namei.c | if (res > 0) { |
res | 1301 | fs/vfat/namei.c | res = 0; |
res | 1304 | fs/vfat/namei.c | printk("Problem in vfat_unlinkx: res=%d, total_slots=%d\n",res, sinfo.total_slots); |
res | 1309 | fs/vfat/namei.c | return res; |
res | 1316 | fs/vfat/namei.c | int res; |
res | 1319 | fs/vfat/namei.c | if ((res = vfat_create_entry(dir,name,len,1,&inode)) < 0) { |
res | 1322 | fs/vfat/namei.c | return res; |
res | 1329 | fs/vfat/namei.c | res = vfat_create_dotdirs(inode, dir); |
res | 1334 | fs/vfat/namei.c | if (res < 0) { |
res | 1338 | fs/vfat/namei.c | return res; |
res | 1344 | fs/vfat/namei.c | int res; |
res | 1346 | fs/vfat/namei.c | res = vfat_unlinkx (dir,name,len,1); |
res | 1348 | fs/vfat/namei.c | return res; |
res | 1361 | fs/vfat/namei.c | int res, is_dir, i; |
res | 1372 | fs/vfat/namei.c | res = vfat_find(old_dir,old_name,old_len,1,0,0,&sinfo); |
res | 1374 | fs/vfat/namei.c | if (res < 0) goto rename_done; |
res | 1380 | fs/vfat/namei.c | res = fat_get_entry(old_dir, &old_offset, &old_bh, &old_de); |
res | 1382 | fs/vfat/namei.c | if (res < 0) goto rename_done; |
res | 1389 | fs/vfat/namei.c | res = -EINVAL; |
res | 1398 | fs/vfat/namei.c | res = ino; |
res | 1402 | fs/vfat/namei.c | res = -EINVAL; |
res | 1406 | fs/vfat/namei.c | res = -EIO; |
res | 1413 | fs/vfat/namei.c | res = vfat_find(new_dir,new_name,new_len,1,0,is_dir,&sinfo); |
res | 1416 | fs/vfat/namei.c | if (res > -1) { |
res | 1422 | fs/vfat/namei.c | res = fat_get_entry(new_dir, &new_offset, &new_bh, &new_de); |
res | 1424 | fs/vfat/namei.c | if (res < 0) goto rename_done; |
res | 1426 | fs/vfat/namei.c | if (!(new_inode = iget(new_dir->i_sb,res))) |
res | 1432 | fs/vfat/namei.c | res = vfat_rmdirx(new_dir,new_name,new_len); |
res | 1434 | fs/vfat/namei.c | if (res < 0) goto rename_done; |
res | 1437 | fs/vfat/namei.c | res = vfat_unlinkx(new_dir,new_name,new_len,1); |
res | 1439 | fs/vfat/namei.c | if (res < 0) goto rename_done; |
res | 1445 | fs/vfat/namei.c | res = vfat_find(new_dir,new_name,new_len,1,1,is_dir,&sinfo); |
res | 1448 | fs/vfat/namei.c | if (res < 0) goto rename_done; |
res | 1452 | fs/vfat/namei.c | res = fat_get_entry(new_dir, &new_offset, &new_bh, &new_de); |
res | 1454 | fs/vfat/namei.c | if (res < 0) goto rename_done; |
res | 1485 | fs/vfat/namei.c | res = fat_get_entry(old_dir, &old_longname_offset, &old_bh, &old_de); |
res | 1486 | fs/vfat/namei.c | if (res < 0) { |
res | 1505 | fs/vfat/namei.c | if ((res = fat_scan(old_inode,MSDOS_DOTDOT,&dotdot_bh, |
res | 1509 | fs/vfat/namei.c | res = -EIO; |
res | 1524 | fs/vfat/namei.c | if (res > 0) res = 0; |
res | 1533 | fs/vfat/namei.c | return res; |
res | 37 | include/asm-alpha/byteorder.h | unsigned long int res, t1, t2; |
res | 51 | include/asm-alpha/byteorder.h | : "r="(res), "r="(t1), "r="(t2) |
res | 53 | include/asm-alpha/byteorder.h | return res; |
res | 65 | include/asm-alpha/byteorder.h | unsigned long int res, t1; |
res | 73 | include/asm-alpha/byteorder.h | : "r="(res), "r="(t1) : "r"(x)); |
res | 74 | include/asm-alpha/byteorder.h | return res; |
res | 76 | include/asm-alpha/hwrpb.h | unsigned long res; |
res | 77 | include/asm-i386/bitops.h | int res; |
res | 92 | include/asm-i386/bitops.h | :"=d" (res) |
res | 95 | include/asm-i386/bitops.h | return res; |
res | 101 | include/asm-i386/bitops.h | int set = 0, bit = offset & 31, res; |
res | 121 | include/asm-i386/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
res | 122 | include/asm-i386/bitops.h | return (offset + set + res); |
res | 56 | include/asm-m68k/bitops.h | int res; |
res | 71 | include/asm-m68k/bitops.h | : "=d" (res) : "d" (num & -num)); |
res | 72 | include/asm-m68k/bitops.h | return ((p - addr) << 5) + (res ^ 31); |
res | 80 | include/asm-m68k/bitops.h | int set = 0, bit = offset & 31UL, res; |
res | 90 | include/asm-m68k/bitops.h | : "=d" (res) : "d" (num & -num)); |
res | 91 | include/asm-m68k/bitops.h | if (res < 32) |
res | 92 | include/asm-m68k/bitops.h | return (offset & ~31UL) + (res ^ 31); |
res | 97 | include/asm-m68k/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - addr)); |
res | 98 | include/asm-m68k/bitops.h | return (offset + set + res); |
res | 107 | include/asm-m68k/bitops.h | int res; |
res | 110 | include/asm-m68k/bitops.h | : "=d" (res) : "d" (~word & -~word)); |
res | 111 | include/asm-m68k/bitops.h | return res ^ 31; |
res | 117 | include/asm-m68k/bitops.h | int res; |
res | 132 | include/asm-m68k/bitops.h | : "=d" (res) : "d" (num & -num)); |
res | 133 | include/asm-m68k/bitops.h | return ((p - addr) << 5) + (res ^ 31); |
res | 141 | include/asm-m68k/bitops.h | int set = 0, bit = offset & 31UL, res; |
res | 151 | include/asm-m68k/bitops.h | : "=d" (res) : "d" (num & -num)); |
res | 152 | include/asm-m68k/bitops.h | if (res < 32) |
res | 153 | include/asm-m68k/bitops.h | return (offset & ~31UL) + (res ^ 31); |
res | 158 | include/asm-m68k/bitops.h | res = find_first_one_bit (p, size - 32 * (p - addr)); |
res | 159 | include/asm-m68k/bitops.h | return (offset + set + res); |
res | 168 | include/asm-m68k/bitops.h | int res; |
res | 183 | include/asm-m68k/bitops.h | : "=d" (res) : "d" (num & -num)); |
res | 184 | include/asm-m68k/bitops.h | return ((p - addr) << 4) + (res ^ 31); |
res | 249 | include/asm-m68k/bitops.h | int res; |
res | 262 | include/asm-m68k/bitops.h | for (res = 0; res < 32; res++) |
res | 263 | include/asm-m68k/bitops.h | if (!ext2_test_bit (res, p)) |
res | 265 | include/asm-m68k/bitops.h | return (p - addr) * 32 + res; |
res | 273 | include/asm-m68k/bitops.h | int bit = offset & 31UL, res; |
res | 280 | include/asm-m68k/bitops.h | for (res = bit; res < 32; res++) |
res | 281 | include/asm-m68k/bitops.h | if (!ext2_test_bit (res, p)) |
res | 282 | include/asm-m68k/bitops.h | return (p - addr) * 32 + res; |
res | 286 | include/asm-m68k/bitops.h | res = ext2_find_first_zero_bit (p, size - 32 * (p - addr)); |
res | 287 | include/asm-m68k/bitops.h | return (p - addr) * 32 + res; |
res | 154 | include/asm-mips/bitops.h | int res; |
res | 176 | include/asm-mips/bitops.h | : "=r" (res) |
res | 183 | include/asm-mips/bitops.h | return res; |
res | 189 | include/asm-mips/bitops.h | int set = 0, bit = offset & 31, res; |
res | 217 | include/asm-mips/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
res | 218 | include/asm-mips/bitops.h | return (offset + set + res); |
res | 160 | include/asm-mips/mipsregs.h | unsigned int res; \ |
res | 162 | include/asm-mips/mipsregs.h | res = read_32bit_cp0_register(register); \ |
res | 163 | include/asm-mips/mipsregs.h | res &= ~change; \ |
res | 164 | include/asm-mips/mipsregs.h | res |= (new & change); \ |
res | 166 | include/asm-mips/mipsregs.h | write_32bit_cp0_register(register, res); \ |
res | 168 | include/asm-mips/mipsregs.h | return res; \ |
res | 95 | include/linux/nfs_fs.h | struct nfs_fsinfo *res); |
res | 456 | kernel/sysctl.c | size_t res; |
res | 472 | kernel/sysctl.c | res = count; |
res | 473 | kernel/sysctl.c | error = (*table->proc_handler) (table, write, file, buf, &res); |
res | 476 | kernel/sysctl.c | return res; |
res | 1065 | lib/inflate.c | int res; |
res | 1122 | lib/inflate.c | if ((res = inflate())) { |
res | 1123 | lib/inflate.c | switch (res) { |
res | 269 | lib/string.c | signed char res = 0; |
res | 272 | lib/string.c | if ((res = *su1 - *su2) != 0) |
res | 274 | lib/string.c | return res; |