tag | line | file | source code |
f | 72 | arch/alpha/math-emu/ieee-math.c | unsigned long f[2]; /* bit 55 in f[0] is the factor of 2^0*/ |
f | 174 | arch/alpha/math-emu/ieee-math.c | if (!a->f[0] && !a->f[1]) |
f | 182 | arch/alpha/math-emu/ieee-math.c | if ((a->f[0] & 0xff00000000000000) != 0 || a->f[1] != 0) { |
f | 186 | arch/alpha/math-emu/ieee-math.c | while ((a->f[0] & 0xff80000000000000) != 0x0080000000000000 || |
f | 187 | arch/alpha/math-emu/ieee-math.c | a->f[1] != 0) |
f | 192 | arch/alpha/math-emu/ieee-math.c | sticky = a->f[0] & 1; |
f | 193 | arch/alpha/math-emu/ieee-math.c | srl128(a->f); |
f | 194 | arch/alpha/math-emu/ieee-math.c | a->f[0] |= sticky; |
f | 199 | arch/alpha/math-emu/ieee-math.c | if (!(a->f[0] & 0x0080000000000000)) { |
f | 203 | arch/alpha/math-emu/ieee-math.c | while (!(a->f[0] & 0x0080000000000000)) { |
f | 205 | arch/alpha/math-emu/ieee-math.c | a->f[0] <<= 1; |
f | 245 | arch/alpha/math-emu/ieee-math.c | b->f[1] = 0; |
f | 250 | arch/alpha/math-emu/ieee-math.c | b->f[0] = (a & 0x000fffffffffffff) << 3; |
f | 254 | arch/alpha/math-emu/ieee-math.c | b->f[0] |= 1UL << 55; |
f | 275 | arch/alpha/math-emu/ieee-math.c | make_s_ieee (long f, EXTENDED *a, unsigned long *b) |
f | 279 | arch/alpha/math-emu/ieee-math.c | if (!a->f[0] && !a->f[1]) { |
f | 289 | arch/alpha/math-emu/ieee-math.c | if (f & IEEE_TRAP_ENABLE_UNF) { |
f | 296 | arch/alpha/math-emu/ieee-math.c | sticky = a->f[0] & 1; |
f | 297 | arch/alpha/math-emu/ieee-math.c | srl128(a->f); |
f | 298 | arch/alpha/math-emu/ieee-math.c | if (!a->f[0] && !a->f[0]) { |
f | 303 | arch/alpha/math-emu/ieee-math.c | a->f[0] |= sticky; |
f | 310 | arch/alpha/math-emu/ieee-math.c | if (f & IEEE_TRAP_ENABLE_OVF) { |
f | 317 | arch/alpha/math-emu/ieee-math.c | switch (RM(f)) { |
f | 349 | arch/alpha/math-emu/ieee-math.c | ((a->f[0] >> 3) & 0x000fffffe0000000)); |
f | 355 | arch/alpha/math-emu/ieee-math.c | make_t_ieee (long f, EXTENDED *a, unsigned long *b) |
f | 359 | arch/alpha/math-emu/ieee-math.c | if (!a->f[0] && !a->f[1]) { |
f | 368 | arch/alpha/math-emu/ieee-math.c | if (f & IEEE_TRAP_ENABLE_UNF) { |
f | 375 | arch/alpha/math-emu/ieee-math.c | sticky = a->f[0] & 1; |
f | 376 | arch/alpha/math-emu/ieee-math.c | srl128(a->f); |
f | 377 | arch/alpha/math-emu/ieee-math.c | if (!a->f[0] && !a->f[0]) { |
f | 382 | arch/alpha/math-emu/ieee-math.c | a->f[0] |= sticky; |
f | 389 | arch/alpha/math-emu/ieee-math.c | if (f & IEEE_TRAP_ENABLE_OVF) { |
f | 396 | arch/alpha/math-emu/ieee-math.c | switch (RM(f)) { |
f | 427 | arch/alpha/math-emu/ieee-math.c | ((a->f[0] >> 3) & 0x000fffffffffffff)); |
f | 444 | arch/alpha/math-emu/ieee-math.c | round_s_ieee (int f, EXTENDED *a, unsigned long *b) |
f | 449 | arch/alpha/math-emu/ieee-math.c | if (!(a->f[0] & 0xffffffff)) { |
f | 450 | arch/alpha/math-emu/ieee-math.c | return make_s_ieee(f, a, b); /* no rounding error */ |
f | 459 | arch/alpha/math-emu/ieee-math.c | z1.f[0] = z2.f[0] = a->f[0] & 0xffffffff00000000; |
f | 460 | arch/alpha/math-emu/ieee-math.c | z1.f[1] = z2.f[1] = 0; |
f | 461 | arch/alpha/math-emu/ieee-math.c | z2.f[0] += 0x100000000; /* next bigger S float number */ |
f | 463 | arch/alpha/math-emu/ieee-math.c | switch (RM(f)) { |
f | 465 | arch/alpha/math-emu/ieee-math.c | diff1 = a->f[0] - z1.f[0]; |
f | 466 | arch/alpha/math-emu/ieee-math.c | diff2 = z2.f[0] - a->f[0]; |
f | 468 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z2, b); |
f | 470 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
f | 473 | arch/alpha/math-emu/ieee-math.c | if (z1.f[0] & 0x100000000) |
f | 474 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z2, b); |
f | 476 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
f | 480 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
f | 485 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
f | 487 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z2, b); |
f | 493 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z2, b); |
f | 495 | arch/alpha/math-emu/ieee-math.c | res = make_s_ieee(f, &z1, b); |
f | 504 | arch/alpha/math-emu/ieee-math.c | round_t_ieee (EXTENDED *a, unsigned long *b, int f) |
f | 509 | arch/alpha/math-emu/ieee-math.c | if (!(a->f[0] & 0x7)) { |
f | 511 | arch/alpha/math-emu/ieee-math.c | return make_t_ieee(f, a, b); |
f | 516 | arch/alpha/math-emu/ieee-math.c | z1.f[0] = z2.f[0] = a->f[0] & ~0x7; |
f | 517 | arch/alpha/math-emu/ieee-math.c | z1.f[1] = z2.f[1] = 0; |
f | 518 | arch/alpha/math-emu/ieee-math.c | z2.f[0] += (1 << 3); |
f | 521 | arch/alpha/math-emu/ieee-math.c | switch (RM(f)) { |
f | 523 | arch/alpha/math-emu/ieee-math.c | diff1 = a->f[0] - z1.f[0]; |
f | 524 | arch/alpha/math-emu/ieee-math.c | diff2 = z2.f[0] - a->f[0]; |
f | 526 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z2, b); |
f | 528 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
f | 531 | arch/alpha/math-emu/ieee-math.c | if (z1.f[0] & (1 << 3)) |
f | 532 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z2, b); |
f | 534 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
f | 538 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
f | 543 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
f | 545 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z2, b); |
f | 551 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z2, b); |
f | 553 | arch/alpha/math-emu/ieee-math.c | res = make_t_ieee(f, &z1, b); |
f | 568 | arch/alpha/math-emu/ieee-math.c | fa = op_a->f[0]; |
f | 569 | arch/alpha/math-emu/ieee-math.c | fb = op_b->f[0]; |
f | 575 | arch/alpha/math-emu/ieee-math.c | if (op_a->f[0] & mask) { |
f | 582 | arch/alpha/math-emu/ieee-math.c | if (op_b->f[0] & mask) { |
f | 591 | arch/alpha/math-emu/ieee-math.c | op_c->f[1] = 0; |
f | 596 | arch/alpha/math-emu/ieee-math.c | op_c->f[0] = fc; |
f | 615 | arch/alpha/math-emu/ieee-math.c | ieee_CVTST (int f, unsigned long a, unsigned long *b) |
f | 629 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &temp, b); |
f | 646 | arch/alpha/math-emu/ieee-math.c | ieee_CVTTS (int f, unsigned long a, unsigned long *b) |
f | 660 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &temp, b); |
f | 677 | arch/alpha/math-emu/ieee-math.c | ieee_CVTQS (int f, unsigned long a, unsigned long *b) |
f | 682 | arch/alpha/math-emu/ieee-math.c | op_b.f[0] = a; |
f | 683 | arch/alpha/math-emu/ieee-math.c | op_b.f[1] = 0; |
f | 686 | arch/alpha/math-emu/ieee-math.c | op_b.f[0] = -a; |
f | 690 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &op_b, b); |
f | 707 | arch/alpha/math-emu/ieee-math.c | ieee_CVTQT (int f, unsigned long a, unsigned long *b) |
f | 712 | arch/alpha/math-emu/ieee-math.c | op_b.f[0] = a; |
f | 713 | arch/alpha/math-emu/ieee-math.c | op_b.f[1] = 0; |
f | 716 | arch/alpha/math-emu/ieee-math.c | op_b.f[0] = -a; |
f | 720 | arch/alpha/math-emu/ieee-math.c | return round_t_ieee(&op_b, b, f); |
f | 737 | arch/alpha/math-emu/ieee-math.c | ieee_CVTTQ (int f, unsigned long a, unsigned long *b) |
f | 755 | arch/alpha/math-emu/ieee-math.c | ov |= temp.f[1] >> 63; |
f | 756 | arch/alpha/math-emu/ieee-math.c | sll128(temp.f); |
f | 758 | arch/alpha/math-emu/ieee-math.c | if (ov || (temp.f[1] & 0xffc0000000000000)) |
f | 764 | arch/alpha/math-emu/ieee-math.c | uv = temp.f[0] & 1; /* save sticky bit */ |
f | 765 | arch/alpha/math-emu/ieee-math.c | srl128(temp.f); |
f | 766 | arch/alpha/math-emu/ieee-math.c | temp.f[0] |= uv; |
f | 769 | arch/alpha/math-emu/ieee-math.c | *b = ((temp.f[1] << 9) | (temp.f[0] >> 55)) & 0x7fffffffffffffff; |
f | 774 | arch/alpha/math-emu/ieee-math.c | switch (RM(f)) { |
f | 776 | arch/alpha/math-emu/ieee-math.c | if (temp.f[0] & 0x0040000000000000) { |
f | 777 | arch/alpha/math-emu/ieee-math.c | midway = (temp.f[0] & 0x003fffffffffffff) == 0; |
f | 778 | arch/alpha/math-emu/ieee-math.c | if ((midway && (temp.f[0] & 0x0080000000000000)) || |
f | 785 | arch/alpha/math-emu/ieee-math.c | if ((temp.f[0] & 0x003fffffffffffff) != 0) |
f | 790 | arch/alpha/math-emu/ieee-math.c | if ((temp.f[0] & 0x003fffffffffffff) != 0) |
f | 798 | arch/alpha/math-emu/ieee-math.c | if ((temp.f[0] & 0x003fffffffffffff) != 0) |
f | 823 | arch/alpha/math-emu/ieee-math.c | op_a.f[0] == op_b.f[0] && op_a.f[1] == op_b.f[1]) || |
f | 848 | arch/alpha/math-emu/ieee-math.c | cmp128(op_a.f, op_b.f) > 0))) || |
f | 851 | arch/alpha/math-emu/ieee-math.c | cmp128(op_a.f,op_b.f) < 0)))) |
f | 875 | arch/alpha/math-emu/ieee-math.c | cmp128(op_a.f,op_b.f) >= 0))) || |
f | 878 | arch/alpha/math-emu/ieee-math.c | cmp128(op_a.f,op_b.f) <= 0)))) |
f | 907 | arch/alpha/math-emu/ieee-math.c | ieee_ADDS (int f, unsigned long a, unsigned long b, unsigned long *c) |
f | 947 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &op_c, c); |
f | 956 | arch/alpha/math-emu/ieee-math.c | ieee_ADDT (int f, unsigned long a, unsigned long b, unsigned long *c) |
f | 996 | arch/alpha/math-emu/ieee-math.c | return round_t_ieee(&op_c, c, f); |
f | 1005 | arch/alpha/math-emu/ieee-math.c | ieee_SUBS (int f, unsigned long a, unsigned long b, unsigned long *c) |
f | 1046 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &op_c, c); |
f | 1055 | arch/alpha/math-emu/ieee-math.c | ieee_SUBT (int f, unsigned long a, unsigned long b, unsigned long *c) |
f | 1096 | arch/alpha/math-emu/ieee-math.c | return round_t_ieee(&op_c, c, f); |
f | 1105 | arch/alpha/math-emu/ieee-math.c | ieee_MULS (int f, unsigned long a, unsigned long b, unsigned long *c) |
f | 1147 | arch/alpha/math-emu/ieee-math.c | mul64(op_a.f[0], op_b.f[0], op_c.f); |
f | 1152 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &op_c, c); |
f | 1161 | arch/alpha/math-emu/ieee-math.c | ieee_MULT (int f, unsigned long a, unsigned long b, unsigned long *c) |
f | 1204 | arch/alpha/math-emu/ieee-math.c | mul64(op_a.f[0], op_b.f[0], op_c.f); |
f | 1209 | arch/alpha/math-emu/ieee-math.c | return round_t_ieee(&op_c, c, f); |
f | 1218 | arch/alpha/math-emu/ieee-math.c | ieee_DIVS (int f, unsigned long a, unsigned long b, unsigned long *c) |
f | 1267 | arch/alpha/math-emu/ieee-math.c | op_a.f[1] = op_a.f[0]; |
f | 1268 | arch/alpha/math-emu/ieee-math.c | op_a.f[0] = 0; |
f | 1269 | arch/alpha/math-emu/ieee-math.c | div128(op_a.f, op_b.f, op_c.f); |
f | 1272 | arch/alpha/math-emu/ieee-math.c | op_c.f[0] |= STICKY_S; |
f | 1275 | arch/alpha/math-emu/ieee-math.c | return round_s_ieee(f, &op_c, c); |
f | 1284 | arch/alpha/math-emu/ieee-math.c | ieee_DIVT (int f, unsigned long a, unsigned long b, unsigned long *c) |
f | 1334 | arch/alpha/math-emu/ieee-math.c | op_a.f[1] = op_a.f[0]; |
f | 1335 | arch/alpha/math-emu/ieee-math.c | op_a.f[0] = 0; |
f | 1336 | arch/alpha/math-emu/ieee-math.c | div128(op_a.f, op_b.f, op_c.f); |
f | 1339 | arch/alpha/math-emu/ieee-math.c | op_c.f[0] |= STICKY_T; |
f | 1342 | arch/alpha/math-emu/ieee-math.c | return round_t_ieee(&op_c, c, f); |
f | 13 | arch/alpha/math-emu/ieee-math.h | #define RM(f) (((f) >> ROUND_SHIFT) & 0x3) |
f | 178 | arch/i386/math-emu/reg_compare.c | int f, c; |
f | 185 | arch/i386/math-emu/reg_compare.c | f = SW_C3 | SW_C2 | SW_C0; |
f | 191 | arch/i386/math-emu/reg_compare.c | f = SW_C0; |
f | 194 | arch/i386/math-emu/reg_compare.c | f = SW_C3; |
f | 197 | arch/i386/math-emu/reg_compare.c | f = 0; |
f | 200 | arch/i386/math-emu/reg_compare.c | f = SW_C3 | SW_C2 | SW_C0; |
f | 205 | arch/i386/math-emu/reg_compare.c | f = SW_C3 | SW_C2 | SW_C0; |
f | 209 | arch/i386/math-emu/reg_compare.c | setcc(f); |
f | 220 | arch/i386/math-emu/reg_compare.c | int f, c; |
f | 241 | arch/i386/math-emu/reg_compare.c | f = SW_C0; |
f | 244 | arch/i386/math-emu/reg_compare.c | f = SW_C3; |
f | 247 | arch/i386/math-emu/reg_compare.c | f = 0; |
f | 250 | arch/i386/math-emu/reg_compare.c | f = SW_C3 | SW_C2 | SW_C0; |
f | 255 | arch/i386/math-emu/reg_compare.c | f = SW_C3 | SW_C2 | SW_C0; |
f | 259 | arch/i386/math-emu/reg_compare.c | setcc(f); |
f | 270 | arch/i386/math-emu/reg_compare.c | int f, c; |
f | 296 | arch/i386/math-emu/reg_compare.c | f = SW_C0; |
f | 299 | arch/i386/math-emu/reg_compare.c | f = SW_C3; |
f | 302 | arch/i386/math-emu/reg_compare.c | f = 0; |
f | 305 | arch/i386/math-emu/reg_compare.c | f = SW_C3 | SW_C2 | SW_C0; |
f | 310 | arch/i386/math-emu/reg_compare.c | f = SW_C3 | SW_C2 | SW_C0; |
f | 314 | arch/i386/math-emu/reg_compare.c | setcc(f); |
f | 3188 | drivers/block/floppy.c | struct format_descr f; |
f | 3255 | drivers/block/floppy.c | return do_format(device, &inparam.f); |
f | 1481 | drivers/block/ide-cd.c | void lba_to_msf (int lba, byte *m, byte *s, byte *f) |
f | 1488 | drivers/block/ide-cd.c | *f = lba % CD_FRAMES; |
f | 1493 | drivers/block/ide-cd.c | int msf_to_lba (byte m, byte s, byte f) |
f | 1495 | drivers/block/ide-cd.c | return (((m * CD_SECS) + s) * CD_FRAMES + f) - CD_BLOCK_OFFSET; |
f | 1744 | drivers/block/ide-cd.c | toc->ent[i].addr.msf.f = bcd2bin (toc->ent[i].addr.msf.f); |
f | 1748 | drivers/block/ide-cd.c | toc->ent[i].addr.msf.f); |
f | 1764 | drivers/block/ide-cd.c | ms_tmp.ent.addr.msf.f); |
f | 207 | drivers/block/ide.h | byte f; |
f | 403 | drivers/cdrom/cm206.c | inline int f_s_m2lba(uch f, uch s, uch m) |
f | 405 | drivers/cdrom/cm206.c | return f + 75*(s-2 + 60*m); |
f | 539 | drivers/char/n_tty.c | char *f, flags = 0; |
f | 560 | drivers/char/n_tty.c | for (i=count, p = cp, f = fp; i; i--, p++) { |
f | 561 | drivers/char/n_tty.c | if (f) |
f | 562 | drivers/char/n_tty.c | flags = *f++; |
f | 470 | drivers/char/random.c | #define MD5STEP(f, w, x, y, z, data, s) \ |
f | 471 | drivers/char/random.c | ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) |
f | 170 | drivers/char/tty_io.c | struct file *f; |
f | 173 | drivers/char/tty_io.c | for (f = first_file, i=0; i<nr_files; i++, f = f->f_next) { |
f | 174 | drivers/char/tty_io.c | if (!f->f_count) |
f | 176 | drivers/char/tty_io.c | if (f->private_data == tty) { |
f | 154 | drivers/net/bsd_comp.c | } f; |
f | 702 | drivers/net/bsd_comp.c | if (dictp->f.fcode == fcode) |
f | 724 | drivers/net/bsd_comp.c | while (dictp->f.fcode != fcode); |
f | 761 | drivers/net/bsd_comp.c | dictp->f.fcode = fcode; |
f | 1060 | drivers/net/bsd_comp.c | *--p = dictp->f.hs.suffix; |
f | 1061 | drivers/net/bsd_comp.c | finchar = dictp->f.hs.prefix; |
f | 1129 | drivers/net/bsd_comp.c | dictp->f.fcode = fcode; |
f | 33 | drivers/net/i82586.h | #define toff(t,p,f) (unsigned short)((void *)(&((t *)((void *)0 + (p)))->f) - (void *)0) |
f | 121 | drivers/net/i82586.h | #define scboff(p,f) toff(scb_t, p, f) |
f | 175 | drivers/net/i82586.h | #define acoff(p,f) toff(ach_t, p, f) |
f | 363 | drivers/net/i82586.h | #define rbdoff(p,f) toff(rbd_t, p, f) |
f | 401 | drivers/net/i82586.h | #define fdoff(p,f) toff(fd_t, p, f) |
f | 359 | drivers/net/plip.c | plip_func f; |
f | 363 | drivers/net/plip.c | f = connection_state_table[nl->connection]; |
f | 364 | drivers/net/plip.c | if ((r = (*f)(dev, nl, snd, rcv)) != OK |
f | 115 | drivers/net/wavelan.h | #define mmwoff(p,f) (unsigned short)((void *)(&((mmw_t *)((void *)0 + (p)))->f) - (void *)0) |
f | 156 | drivers/net/wavelan.h | #define mmroff(p,f) (unsigned short)((void *)(&((mmr_t *)((void *)0 + (p)))->f) - (void *)0) |
f | 201 | drivers/net/wavelan.h | #define hoff(p,f) (unsigned short)((void *)(&((ha_t *)((void *)0 + (p)))->f) - (void *)0) |
f | 726 | drivers/sound/opl3.c | int f, octave; |
f | 735 | drivers/sound/opl3.c | f = freq; |
f | 739 | drivers/sound/opl3.c | if (f == 0) |
f | 741 | drivers/sound/opl3.c | else if (f < 261) |
f | 743 | drivers/sound/opl3.c | while (f < 261) |
f | 746 | drivers/sound/opl3.c | f <<= 1; |
f | 749 | drivers/sound/opl3.c | else if (f > 493) |
f | 751 | drivers/sound/opl3.c | while (f > 493) |
f | 754 | drivers/sound/opl3.c | f >>= 1; |
f | 109 | fs/exec.c | struct file *f, **fpp; |
f | 113 | fs/exec.c | f = get_empty_filp(); |
f | 114 | fs/exec.c | if (!f) |
f | 122 | fs/exec.c | f->f_count--; |
f | 127 | fs/exec.c | *fpp = f; |
f | 128 | fs/exec.c | f->f_flags = mode; |
f | 129 | fs/exec.c | f->f_mode = (mode+1) & O_ACCMODE; |
f | 130 | fs/exec.c | f->f_inode = inode; |
f | 131 | fs/exec.c | f->f_pos = 0; |
f | 132 | fs/exec.c | f->f_reada = 0; |
f | 133 | fs/exec.c | f->f_op = inode->i_op->default_file_ops; |
f | 134 | fs/exec.c | if (f->f_op->open) { |
f | 135 | fs/exec.c | error = f->f_op->open(inode,f); |
f | 138 | fs/exec.c | f->f_count--; |
f | 103 | fs/file_table.c | struct file * f; |
f | 110 | fs/file_table.c | for (f = first_file, i=0; i < nr_files; i++, f = f->f_next) |
f | 111 | fs/file_table.c | if (!f->f_count) { |
f | 112 | fs/file_table.c | remove_file_free(f); |
f | 113 | fs/file_table.c | memset(f,0,sizeof(*f)); |
f | 114 | fs/file_table.c | put_last_free(f); |
f | 115 | fs/file_table.c | f->f_count = 1; |
f | 116 | fs/file_table.c | f->f_version = ++event; |
f | 117 | fs/file_table.c | return f; |
f | 471 | fs/open.c | struct file * f; |
f | 474 | fs/open.c | f = get_empty_filp(); |
f | 475 | fs/open.c | if (!f) |
f | 477 | fs/open.c | f->f_flags = flag = flags; |
f | 478 | fs/open.c | f->f_mode = (flag+1) & O_ACCMODE; |
f | 479 | fs/open.c | if (f->f_mode) |
f | 486 | fs/open.c | if (f->f_mode & FMODE_WRITE) { |
f | 492 | fs/open.c | f->f_inode = inode; |
f | 493 | fs/open.c | f->f_pos = 0; |
f | 494 | fs/open.c | f->f_reada = 0; |
f | 495 | fs/open.c | f->f_op = NULL; |
f | 497 | fs/open.c | f->f_op = inode->i_op->default_file_ops; |
f | 498 | fs/open.c | if (f->f_op && f->f_op->open) { |
f | 499 | fs/open.c | error = f->f_op->open(inode,f); |
f | 503 | fs/open.c | f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); |
f | 512 | fs/open.c | current->files->fd[fd] = f; |
f | 518 | fs/open.c | if (f->f_op && f->f_op->release) |
f | 519 | fs/open.c | f->f_op->release(inode,f); |
f | 521 | fs/open.c | if (f->f_mode & FMODE_WRITE) |
f | 526 | fs/open.c | f->f_count--; |
f | 399 | fs/pipe.c | struct file *f[2]; |
f | 407 | fs/pipe.c | if (!(f[j] = get_empty_filp())) |
f | 412 | fs/pipe.c | f[0]->f_count--; |
f | 418 | fs/pipe.c | current->files->fd[ fd[j]=i ] = f[j]; |
f | 423 | fs/pipe.c | f[0]->f_count--; |
f | 424 | fs/pipe.c | f[1]->f_count--; |
f | 429 | fs/pipe.c | f[0]->f_inode = f[1]->f_inode = inode; |
f | 430 | fs/pipe.c | f[0]->f_pos = f[1]->f_pos = 0; |
f | 431 | fs/pipe.c | f[0]->f_flags = O_RDONLY; |
f | 432 | fs/pipe.c | f[0]->f_op = &read_pipe_fops; |
f | 433 | fs/pipe.c | f[0]->f_mode = 1; /* read */ |
f | 434 | fs/pipe.c | f[1]->f_flags = O_WRONLY; |
f | 435 | fs/pipe.c | f[1]->f_op = &write_pipe_fops; |
f | 436 | fs/pipe.c | f[1]->f_mode = 2; /* write */ |
f | 163 | fs/stat.c | struct file * f; |
f | 170 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
f | 178 | fs/stat.c | struct file * f; |
f | 185 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
f | 411 | include/asm-i386/string.h | #define memcpy(t, f, n) \ |
f | 413 | include/asm-i386/string.h | __constant_memcpy((t),(f),(n)) : \ |
f | 414 | include/asm-i386/string.h | __memcpy((t),(f),(n))) |
f | 45 | include/linux/ext2_fs.h | # define ext2_debug(f, a...) { \ |
f | 48 | include/linux/ext2_fs.h | printk (f, ## a); \ |
f | 51 | include/linux/ext2_fs.h | # define ext2_debug(f, a...) /**/ |
f | 95 | include/linux/sonycd535.h | #define SONY_BLOCK_NUMBER(m,s,f) (((m)*60L+(s))*75L+(f)) |
f | 510 | include/linux/tpqic02.h | #define TPQDBG(f) ((QIC02_TAPE_DEBUG) & (TPQD_##f)) |
f | 143 | include/linux/tqueue.h | void (*f) (void *); |
f | 152 | include/linux/tqueue.h | f = p -> routine; |
f | 155 | include/linux/tqueue.h | (*f)(arg); |
f | 123 | include/linux/tty.h | #define _I_FLAG(tty,f) ((tty)->termios->c_iflag & (f)) |
f | 124 | include/linux/tty.h | #define _O_FLAG(tty,f) ((tty)->termios->c_oflag & (f)) |
f | 125 | include/linux/tty.h | #define _C_FLAG(tty,f) ((tty)->termios->c_cflag & (f)) |
f | 126 | include/linux/tty.h | #define _L_FLAG(tty,f) ((tty)->termios->c_lflag & (f)) |
f | 24 | include/net/netlink.h | #define ip_netlink_msg(a,b,c,d,e,f,g) |
f | 172 | kernel/fork.c | struct file * f = current->files->fd[i]; |
f | 173 | kernel/fork.c | if (f) |
f | 174 | kernel/fork.c | f->f_count++; |
f | 175 | kernel/fork.c | tsk->files->fd[i] = f; |
f | 284 | lib/inflate.c | unsigned f; /* i repeats in table every f entries */ |
f | 396 | lib/inflate.c | if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */ |
f | 399 | lib/inflate.c | f -= a + 1; /* deduct codes from patterns left */ |
f | 403 | lib/inflate.c | if ((f <<= 1) <= *++xp) |
f | 405 | lib/inflate.c | f -= *xp; /* else deduct codes from patterns */ |
f | 458 | lib/inflate.c | f = 1 << (k - w); |
f | 459 | lib/inflate.c | for (j = i >> w; j < z; j += f) |
f | 85 | net/core/firewall.c | struct firewall_ops *f=fw->next; |
f | 86 | net/core/firewall.c | xchg(nl,f); |
f | 191 | net/ipv4/ip_fw.c | struct ip_fw *f; |
f | 316 | net/ipv4/ip_fw.c | for (f=chain;f;f=f->fw_next) |
f | 337 | net/ipv4/ip_fw.c | if ((src&f->fw_smsk.s_addr)==f->fw_src.s_addr |
f | 338 | net/ipv4/ip_fw.c | && (dst&f->fw_dmsk.s_addr)==f->fw_dst.s_addr) |
f | 342 | net/ipv4/ip_fw.c | if ((f->fw_flg & IP_FW_F_BIDIR) && |
f | 343 | net/ipv4/ip_fw.c | (dst&f->fw_smsk.s_addr)==f->fw_src.s_addr |
f | 344 | net/ipv4/ip_fw.c | && (src&f->fw_dmsk.s_addr)==f->fw_dst.s_addr) |
f | 353 | net/ipv4/ip_fw.c | if(f->fw_via.s_addr && rif) |
f | 355 | net/ipv4/ip_fw.c | if(rif->pa_addr!=f->fw_via.s_addr) |
f | 369 | net/ipv4/ip_fw.c | f_prt=f->fw_flg&IP_FW_F_KIND; |
f | 379 | net/ipv4/ip_fw.c | if((f->fw_flg&IP_FW_F_TCPSYN) && notcpsyn) |
f | 389 | net/ipv4/ip_fw.c | if((f->fw_flg&IP_FW_F_TCPACK) && notcpack) |
f | 390 | net/ipv4/ip_fw.c | if(f->fw_flg&IP_FW_F_BIDIR) { |
f | 405 | net/ipv4/ip_fw.c | ! port_match(&f->fw_pts[0], f->fw_nsp, |
f | 406 | net/ipv4/ip_fw.c | icmp_type,f->fw_flg&IP_FW_F_SRNG)) || |
f | 408 | net/ipv4/ip_fw.c | port_match(&f->fw_pts[0], f->fw_nsp, src_port, |
f | 409 | net/ipv4/ip_fw.c | f->fw_flg&IP_FW_F_SRNG) && |
f | 410 | net/ipv4/ip_fw.c | port_match(&f->fw_pts[f->fw_nsp], f->fw_ndp, dst_port, |
f | 411 | net/ipv4/ip_fw.c | f->fw_flg&IP_FW_F_DRNG)) || ((match & 0x02) && |
f | 412 | net/ipv4/ip_fw.c | port_match(&f->fw_pts[0], f->fw_nsp, dst_port, |
f | 413 | net/ipv4/ip_fw.c | f->fw_flg&IP_FW_F_SRNG) && |
f | 414 | net/ipv4/ip_fw.c | port_match(&f->fw_pts[f->fw_nsp], f->fw_ndp, src_port, |
f | 415 | net/ipv4/ip_fw.c | f->fw_flg&IP_FW_F_DRNG)))) |
f | 426 | net/ipv4/ip_fw.c | if (f->fw_flg & IP_FW_F_PRN) |
f | 429 | net/ipv4/ip_fw.c | if(f->fw_flg&IP_FW_F_ACCEPT) |
f | 431 | net/ipv4/ip_fw.c | else if(f->fw_flg&IP_FW_F_ICMPRPL) |
f | 461 | net/ipv4/ip_fw.c | f->fw_bcnt+=ntohs(ip->tot_len); |
f | 462 | net/ipv4/ip_fw.c | f->fw_pcnt++; |
f | 476 | net/ipv4/ip_fw.c | if(f!=NULL) |
f | 478 | net/ipv4/ip_fw.c | policy=f->fw_flg; |
f | 479 | net/ipv4/ip_fw.c | priority=f->fw_priority; |
f | 1360 | net/ipv4/ip_fw.c | void ip_acct_cnt(struct iphdr *iph, struct device *dev, struct ip_fw *f) |
f | 1362 | net/ipv4/ip_fw.c | (void) ip_fw_chk(iph, dev, f, 0, 1); |
f | 185 | net/ipv4/route.c | static void fib_free_node(struct fib_node * f) |
f | 187 | net/ipv4/route.c | struct fib_info * fi = f->fib_info; |
f | 200 | net/ipv4/route.c | kfree_s(f, sizeof(struct fib_node)); |
f | 210 | net/ipv4/route.c | struct fib_node * f; |
f | 215 | net/ipv4/route.c | f = fz->fz_hash_table[fz_hash_code(dst, fz->fz_logmask)]; |
f | 217 | net/ipv4/route.c | f = fz->fz_list; |
f | 219 | net/ipv4/route.c | for ( ; f; f = f->fib_next) |
f | 221 | net/ipv4/route.c | if ((dst ^ f->fib_dst) & fz->fz_mask) |
f | 223 | net/ipv4/route.c | if (f->fib_info->fib_flags & RTF_GATEWAY) |
f | 225 | net/ipv4/route.c | return f; |
f | 248 | net/ipv4/route.c | struct fib_node * f; |
f | 255 | net/ipv4/route.c | f = fz->fz_hash_table[fz_hash_code(dst, fz->fz_logmask)]; |
f | 257 | net/ipv4/route.c | f = fz->fz_list; |
f | 259 | net/ipv4/route.c | for ( ; f; f = f->fib_next) |
f | 261 | net/ipv4/route.c | if ((dst ^ f->fib_dst) & fz->fz_mask) |
f | 263 | net/ipv4/route.c | if (!(f->fib_info->fib_flags & RTF_GATEWAY)) |
f | 264 | net/ipv4/route.c | return f; |
f | 288 | net/ipv4/route.c | struct fib_node * f; |
f | 293 | net/ipv4/route.c | f = fz->fz_hash_table[fz_hash_code(dst, fz->fz_logmask)]; |
f | 295 | net/ipv4/route.c | f = fz->fz_list; |
f | 297 | net/ipv4/route.c | for ( ; f; f = f->fib_next) |
f | 299 | net/ipv4/route.c | if ((dst ^ f->fib_dst) & fz->fz_mask) |
f | 301 | net/ipv4/route.c | return f; |
f | 309 | net/ipv4/route.c | struct fib_node * f; |
f | 310 | net/ipv4/route.c | f = fib_lookup_gateway(gw); |
f | 311 | net/ipv4/route.c | if (f) |
f | 312 | net/ipv4/route.c | return f->fib_info->fib_dev; |
f | 370 | net/ipv4/route.c | struct fib_node *f; |
f | 373 | net/ipv4/route.c | while((f = *fp) != NULL) |
f | 375 | net/ipv4/route.c | struct fib_info * fi = f->fib_info; |
f | 382 | net/ipv4/route.c | if (f->fib_dst != dst || |
f | 384 | net/ipv4/route.c | (metric >= 0 && f->fib_metric != metric) || |
f | 387 | net/ipv4/route.c | fp = &f->fib_next; |
f | 391 | net/ipv4/route.c | *fp = f->fib_next; |
f | 392 | net/ipv4/route.c | if (fib_loopback == f) |
f | 396 | net/ipv4/route.c | fib_free_node(f); |
f | 516 | net/ipv4/route.c | struct fib_node *f, *f1; |
f | 570 | net/ipv4/route.c | f = (struct fib_node *) kmalloc(sizeof(struct fib_node), GFP_KERNEL); |
f | 571 | net/ipv4/route.c | if (f == NULL) |
f | 574 | net/ipv4/route.c | memset(f, 0, sizeof(struct fib_node)); |
f | 575 | net/ipv4/route.c | f->fib_dst = dst; |
f | 576 | net/ipv4/route.c | f->fib_metric = metric; |
f | 577 | net/ipv4/route.c | f->fib_tos = 0; |
f | 581 | net/ipv4/route.c | kfree_s(f, sizeof(struct fib_node)); |
f | 584 | net/ipv4/route.c | f->fib_info = fi; |
f | 596 | net/ipv4/route.c | fib_free_node(f); |
f | 690 | net/ipv4/route.c | fib_free_node(f); |
f | 699 | net/ipv4/route.c | f->fib_next = f1; |
f | 700 | net/ipv4/route.c | *fp = f; |
f | 702 | net/ipv4/route.c | fib_loopback = f; |
f | 714 | net/ipv4/route.c | fp = &f->fib_next; |
f | 739 | net/ipv4/route.c | struct fib_node *f; |
f | 741 | net/ipv4/route.c | while ((f = *fp) != NULL) { |
f | 742 | net/ipv4/route.c | if (f->fib_info->fib_dev != dev) { |
f | 743 | net/ipv4/route.c | fp = &f->fib_next; |
f | 747 | net/ipv4/route.c | *fp = f->fib_next; |
f | 748 | net/ipv4/route.c | if (fib_loopback == f) |
f | 751 | net/ipv4/route.c | fib_free_node(f); |
f | 801 | net/ipv4/route.c | struct fib_node *f; |
f | 848 | net/ipv4/route.c | for (f = *fp; f; f = f->fib_next) |
f | 862 | net/ipv4/route.c | fi = f->fib_info; |
f | 864 | net/ipv4/route.c | fi->fib_dev->name, (unsigned long)f->fib_dst, (unsigned long)fi->fib_gateway, |
f | 865 | net/ipv4/route.c | fi->fib_flags, 0, f->fib_use, f->fib_metric, |
f | 1469 | net/ipv4/route.c | struct fib_node * f; |
f | 1485 | net/ipv4/route.c | f = fib_lookup_local(daddr); |
f | 1487 | net/ipv4/route.c | f = fib_lookup (daddr); |
f | 1489 | net/ipv4/route.c | if (f) |
f | 1491 | net/ipv4/route.c | fi = f->fib_info; |
f | 1492 | net/ipv4/route.c | f->fib_use++; |
f | 1495 | net/ipv4/route.c | if (!f || (fi->fib_flags & RTF_REJECT)) |
f | 1509 | net/ipv4/route.c | f->fib_use--; |
f | 1510 | net/ipv4/route.c | if ((f = fib_loopback) != NULL) |
f | 1512 | net/ipv4/route.c | f->fib_use++; |
f | 1513 | net/ipv4/route.c | fi = f->fib_info; |
f | 1517 | net/ipv4/route.c | if (!f) |
f | 1536 | net/ipv4/route.c | rth->rt_tos = f->fib_tos; |
f | 912 | net/ipx/af_ipx.c | ipx_interface_definition f; |
f | 920 | net/ipx/af_ipx.c | f.ipx_network=sipx->sipx_network; |
f | 921 | net/ipx/af_ipx.c | memcpy(f.ipx_device, ifr.ifr_name, sizeof(f.ipx_device)); |
f | 922 | net/ipx/af_ipx.c | memcpy(f.ipx_node, sipx->sipx_node, IPX_NODE_LEN); |
f | 923 | net/ipx/af_ipx.c | f.ipx_dlink_type=sipx->sipx_type; |
f | 924 | net/ipx/af_ipx.c | f.ipx_special=sipx->sipx_special; |
f | 926 | net/ipx/af_ipx.c | return ipxitf_delete(&f); |
f | 928 | net/ipx/af_ipx.c | return ipxitf_create(&f); |
f | 1184 | net/ipx/af_ipx.c | struct ipx_route_definition f; |
f | 1185 | net/ipx/af_ipx.c | f.ipx_network=st->sipx_network; |
f | 1186 | net/ipx/af_ipx.c | f.ipx_router_network=sg->sipx_network; |
f | 1187 | net/ipx/af_ipx.c | memcpy(f.ipx_router_node, sg->sipx_node, IPX_NODE_LEN); |
f | 1188 | net/ipx/af_ipx.c | return ipxrtr_create(&f); |