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 (int f, EXTENDED *a, unsigned long *b) |
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_t_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(f, &op_b, b); |
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(f, &op_c, c); |
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(f, &op_c, c); |
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(f, &op_c, c); |
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(f, &op_c, c); |
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 | 3220 | drivers/block/floppy.c | struct format_descr f; |
f | 3324 | drivers/block/floppy.c | return do_format(device, &inparam.f); |
f | 1468 | drivers/block/ide-cd.c | void lba_to_msf (int lba, byte *m, byte *s, byte *f) |
f | 1475 | drivers/block/ide-cd.c | *f = lba % CD_FRAMES; |
f | 1480 | drivers/block/ide-cd.c | int msf_to_lba (byte m, byte s, byte f) |
f | 1482 | drivers/block/ide-cd.c | return (((m * CD_SECS) + s) * CD_FRAMES + f) - CD_BLOCK_OFFSET; |
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 | 51 | drivers/char/ftape/tracing.h | #define TRACEx6(l,m,a,b,c,d,e,f) trace_dummy() |
f | 83 | drivers/char/ftape/tracing.h | #define TRACEx6(l,m,a,b,c,d,e,f) TRACE_(l,printk(m".\n",a,b,c,d,e,f)) |
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 | 176 | drivers/char/tty_io.c | struct file *f; |
f | 179 | drivers/char/tty_io.c | for (f = first_file, i=0; i<nr_files; i++, f = f->f_next) { |
f | 180 | drivers/char/tty_io.c | if (!f->f_count) |
f | 182 | drivers/char/tty_io.c | if (f->private_data == tty) { |
f | 481 | drivers/isdn/teles/isdnl2.c | int f; |
f | 487 | drivers/isdn/teles/isdnl2.c | f = *data & 0x10; |
f | 490 | drivers/isdn/teles/isdnl2.c | if (f) { |
f | 512 | drivers/isdn/teles/isdnl2.c | int f; |
f | 518 | drivers/isdn/teles/isdnl2.c | f = *data & 0x10; |
f | 521 | drivers/isdn/teles/isdnl2.c | if (f) { |
f | 662 | drivers/isdn/teles/q931.c | int (*f) (char *, byte *); |
f | 859 | drivers/isdn/teles/q931.c | dp += ielist[i].f(dp, buf); |
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 | 497 | drivers/net/ni65.c | int i,f=0; |
f | 501 | drivers/net/ni65.c | f = 1; |
f | 502 | drivers/net/ni65.c | else if(f) |
f | 360 | drivers/net/plip.c | plip_func f; |
f | 364 | drivers/net/plip.c | f = connection_state_table[nl->connection]; |
f | 365 | 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 | 360 | drivers/net/wic.c | wic_func f; |
f | 364 | drivers/net/wic.c | f = connection_state_table[nl->connection]; |
f | 365 | drivers/net/wic.c | if ((r = (*f)(dev, nl, snd, rcv)) != OK |
f | 2584 | drivers/scsi/advansys.c | STATIC void asc_prt_hex(char *f, uchar *, int); |
f | 4924 | drivers/scsi/advansys.c | asc_prt_hex(char *f, uchar *s, int l) |
f | 4931 | drivers/scsi/advansys.c | printk("%s: (%d bytes)\n", f, l); |
f | 729 | drivers/sound/opl3.c | int f, octave; |
f | 738 | drivers/sound/opl3.c | f = freq; |
f | 742 | drivers/sound/opl3.c | if (f == 0) |
f | 744 | drivers/sound/opl3.c | else if (f < 261) |
f | 746 | drivers/sound/opl3.c | while (f < 261) |
f | 749 | drivers/sound/opl3.c | f <<= 1; |
f | 752 | drivers/sound/opl3.c | else if (f > 493) |
f | 754 | drivers/sound/opl3.c | while (f > 493) |
f | 757 | drivers/sound/opl3.c | f >>= 1; |
f | 114 | fs/exec.c | struct file *f, **fpp; |
f | 118 | fs/exec.c | f = get_empty_filp(); |
f | 119 | fs/exec.c | if (!f) |
f | 127 | fs/exec.c | f->f_count--; |
f | 132 | fs/exec.c | *fpp = f; |
f | 133 | fs/exec.c | f->f_flags = mode; |
f | 134 | fs/exec.c | f->f_mode = (mode+1) & O_ACCMODE; |
f | 135 | fs/exec.c | f->f_inode = inode; |
f | 136 | fs/exec.c | f->f_pos = 0; |
f | 137 | fs/exec.c | f->f_reada = 0; |
f | 138 | fs/exec.c | f->f_op = inode->i_op->default_file_ops; |
f | 139 | fs/exec.c | if (f->f_op->open) { |
f | 140 | fs/exec.c | error = f->f_op->open(inode,f); |
f | 143 | fs/exec.c | f->f_count--; |
f | 104 | fs/file_table.c | struct file * f; |
f | 111 | fs/file_table.c | for (f = first_file, i=0; i < nr_files; i++, f = f->f_next) |
f | 112 | fs/file_table.c | if (!f->f_count) { |
f | 113 | fs/file_table.c | remove_file_free(f); |
f | 114 | fs/file_table.c | memset(f,0,sizeof(*f)); |
f | 115 | fs/file_table.c | put_last_free(f); |
f | 116 | fs/file_table.c | f->f_count = 1; |
f | 117 | fs/file_table.c | f->f_version = ++event; |
f | 118 | fs/file_table.c | return f; |
f | 499 | fs/open.c | struct file * f; |
f | 502 | fs/open.c | f = get_empty_filp(); |
f | 503 | fs/open.c | if (!f) |
f | 505 | fs/open.c | f->f_flags = flag = flags; |
f | 506 | fs/open.c | f->f_mode = (flag+1) & O_ACCMODE; |
f | 507 | fs/open.c | if (f->f_mode) |
f | 514 | fs/open.c | if (f->f_mode & FMODE_WRITE) { |
f | 520 | fs/open.c | f->f_inode = inode; |
f | 521 | fs/open.c | f->f_pos = 0; |
f | 522 | fs/open.c | f->f_reada = 0; |
f | 523 | fs/open.c | f->f_op = NULL; |
f | 525 | fs/open.c | f->f_op = inode->i_op->default_file_ops; |
f | 526 | fs/open.c | if (f->f_op && f->f_op->open) { |
f | 527 | fs/open.c | error = f->f_op->open(inode,f); |
f | 531 | fs/open.c | f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); |
f | 540 | fs/open.c | current->files->fd[fd] = f; |
f | 546 | fs/open.c | if (f->f_op && f->f_op->release) |
f | 547 | fs/open.c | f->f_op->release(inode,f); |
f | 549 | fs/open.c | if (f->f_mode & FMODE_WRITE) |
f | 554 | fs/open.c | f->f_count--; |
f | 414 | fs/pipe.c | struct file *f[2]; |
f | 422 | fs/pipe.c | if (!(f[j] = get_empty_filp())) |
f | 427 | fs/pipe.c | f[0]->f_count--; |
f | 433 | fs/pipe.c | current->files->fd[ fd[j]=i ] = f[j]; |
f | 438 | fs/pipe.c | f[0]->f_count--; |
f | 439 | fs/pipe.c | f[1]->f_count--; |
f | 444 | fs/pipe.c | f[0]->f_inode = f[1]->f_inode = inode; |
f | 445 | fs/pipe.c | f[0]->f_pos = f[1]->f_pos = 0; |
f | 446 | fs/pipe.c | f[0]->f_flags = O_RDONLY; |
f | 447 | fs/pipe.c | f[0]->f_op = &read_pipe_fops; |
f | 448 | fs/pipe.c | f[0]->f_mode = 1; /* read */ |
f | 449 | fs/pipe.c | f[1]->f_flags = O_WRONLY; |
f | 450 | fs/pipe.c | f[1]->f_op = &write_pipe_fops; |
f | 451 | fs/pipe.c | f[1]->f_mode = 2; /* write */ |
f | 191 | fs/stat.c | struct file * f; |
f | 198 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
f | 208 | fs/stat.c | struct file * f; |
f | 215 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
f | 446 | include/asm-i386/string.h | #define memcpy(t, f, n) \ |
f | 448 | include/asm-i386/string.h | __constant_memcpy((t),(f),(n)) : \ |
f | 449 | 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 | 132 | include/linux/tqueue.h | void (*f) (void *); |
f | 135 | include/linux/tqueue.h | f = p -> routine; |
f | 139 | include/linux/tqueue.h | (*f)(arg); |
f | 127 | include/linux/tty.h | #define _I_FLAG(tty,f) ((tty)->termios->c_iflag & (f)) |
f | 128 | include/linux/tty.h | #define _O_FLAG(tty,f) ((tty)->termios->c_oflag & (f)) |
f | 129 | include/linux/tty.h | #define _C_FLAG(tty,f) ((tty)->termios->c_cflag & (f)) |
f | 130 | include/linux/tty.h | #define _L_FLAG(tty,f) ((tty)->termios->c_lflag & (f)) |
f | 27 | include/linux/wrapper.h | #define file_get_flags(f) f->f_flags |
f | 26 | include/net/netlink.h | #define ip_netlink_msg(a,b,c,d,e,f,g) |
f | 173 | kernel/fork.c | struct file * f = current->files->fd[i]; |
f | 174 | kernel/fork.c | if (f) |
f | 175 | kernel/fork.c | f->f_count++; |
f | 176 | 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 | 1241 | net/bridge/br.c | struct fdb *f; |
f | 1256 | net/bridge/br.c | f = (struct fdb *)kmalloc(sizeof(struct fdb), |
f | 1259 | net/bridge/br.c | if (!f) { |
f | 1263 | net/bridge/br.c | f->port = port; /* source port */ |
f | 1264 | net/bridge/br.c | memcpy(f->ula, skb->h.eth->h_source, 6); |
f | 1265 | net/bridge/br.c | f->timer = CURRENT_TIME; |
f | 1266 | net/bridge/br.c | f->flags = FDB_ENT_VALID; |
f | 1272 | net/bridge/br.c | if (br_avl_insert(f) == 0) { /* update */ |
f | 1273 | net/bridge/br.c | kfree(f); |
f | 1277 | net/bridge/br.c | f->fdb_next = port_info[port].fdb; |
f | 1278 | net/bridge/br.c | port_info[port].fdb = f; |
f | 1303 | net/bridge/br.c | struct fdb *f; |
f | 1320 | net/bridge/br.c | f = br_avl_find_addr(skb->h.eth->h_dest); |
f | 1321 | net/bridge/br.c | if (!f | !(f->flags & FDB_ENT_VALID)) { |
f | 1326 | net/bridge/br.c | if (port_info[f->port].state == Forwarding) { |
f | 1328 | net/bridge/br.c | if (f->timer + fdb_aging_time < CURRENT_TIME) { |
f | 1330 | net/bridge/br.c | f->flags &= ~FDB_ENT_VALID; |
f | 1355 | net/bridge/br.c | skb_queue_head(port_info[f->port].dev->buffs, skb); |
f | 91 | net/core/firewall.c | struct firewall_ops *f=fw->next; |
f | 92 | net/core/firewall.c | *nl = f; |
f | 201 | net/ipv4/ip_fw.c | struct ip_fw *f; |
f | 329 | net/ipv4/ip_fw.c | for (f=chain;f;f=f->fw_next) |
f | 350 | net/ipv4/ip_fw.c | if ((src&f->fw_smsk.s_addr)==f->fw_src.s_addr |
f | 351 | net/ipv4/ip_fw.c | && (dst&f->fw_dmsk.s_addr)==f->fw_dst.s_addr) |
f | 355 | net/ipv4/ip_fw.c | if ((f->fw_flg & IP_FW_F_BIDIR) && |
f | 356 | net/ipv4/ip_fw.c | (dst&f->fw_smsk.s_addr)==f->fw_src.s_addr |
f | 357 | net/ipv4/ip_fw.c | && (src&f->fw_dmsk.s_addr)==f->fw_dst.s_addr) |
f | 366 | net/ipv4/ip_fw.c | if(f->fw_via.s_addr && rif) |
f | 368 | net/ipv4/ip_fw.c | if(rif->pa_addr!=f->fw_via.s_addr) |
f | 375 | net/ipv4/ip_fw.c | if(f->fw_viadev) |
f | 377 | net/ipv4/ip_fw.c | if(rif!=f->fw_viadev) |
f | 392 | net/ipv4/ip_fw.c | f_prt=f->fw_flg&IP_FW_F_KIND; |
f | 402 | net/ipv4/ip_fw.c | if((f->fw_flg&IP_FW_F_TCPSYN) && notcpsyn) |
f | 405 | net/ipv4/ip_fw.c | if((f->fw_flg&IP_FW_F_TCPACK) && notcpack) |
f | 417 | net/ipv4/ip_fw.c | ! port_match(&f->fw_pts[0], f->fw_nsp, |
f | 418 | net/ipv4/ip_fw.c | icmp_type,f->fw_flg&IP_FW_F_SRNG)) || |
f | 420 | net/ipv4/ip_fw.c | port_match(&f->fw_pts[0], f->fw_nsp, src_port, |
f | 421 | net/ipv4/ip_fw.c | f->fw_flg&IP_FW_F_SRNG) && |
f | 422 | net/ipv4/ip_fw.c | port_match(&f->fw_pts[f->fw_nsp], f->fw_ndp, dst_port, |
f | 423 | net/ipv4/ip_fw.c | f->fw_flg&IP_FW_F_DRNG)) || ((match & 0x02) && |
f | 424 | net/ipv4/ip_fw.c | port_match(&f->fw_pts[0], f->fw_nsp, dst_port, |
f | 425 | net/ipv4/ip_fw.c | f->fw_flg&IP_FW_F_SRNG) && |
f | 426 | net/ipv4/ip_fw.c | port_match(&f->fw_pts[f->fw_nsp], f->fw_ndp, src_port, |
f | 427 | net/ipv4/ip_fw.c | f->fw_flg&IP_FW_F_DRNG)))) |
f | 438 | net/ipv4/ip_fw.c | if (f->fw_flg & IP_FW_F_PRN) |
f | 441 | net/ipv4/ip_fw.c | if(f->fw_flg&IP_FW_F_ACCEPT) { |
f | 442 | net/ipv4/ip_fw.c | if(f->fw_flg&IP_FW_F_MASQ) |
f | 446 | net/ipv4/ip_fw.c | } else if(f->fw_flg&IP_FW_F_ICMPRPL) |
f | 479 | net/ipv4/ip_fw.c | f->fw_bcnt+=ntohs(ip->tot_len); |
f | 480 | net/ipv4/ip_fw.c | f->fw_pcnt++; |
f | 494 | net/ipv4/ip_fw.c | if (f!=NULL) { |
f | 495 | net/ipv4/ip_fw.c | policy=f->fw_flg; |
f | 496 | net/ipv4/ip_fw.c | tosand=f->fw_tosand; |
f | 497 | net/ipv4/ip_fw.c | tosxor=f->fw_tosxor; |
f | 774 | net/ipv4/ip_fw.c | void ip_acct_cnt(struct iphdr *iph, struct device *dev, struct ip_fw *f) |
f | 776 | net/ipv4/ip_fw.c | (void) ip_fw_chk(iph, dev, f, 0, 1); |
f | 192 | net/ipv4/route.c | static void fib_free_node(struct fib_node * f) |
f | 194 | net/ipv4/route.c | struct fib_info * fi = f->fib_info; |
f | 207 | net/ipv4/route.c | kfree_s(f, sizeof(struct fib_node)); |
f | 217 | net/ipv4/route.c | struct fib_node * f; |
f | 222 | net/ipv4/route.c | f = fz->fz_hash_table[fz_hash_code(dst, fz->fz_logmask)]; |
f | 224 | net/ipv4/route.c | f = fz->fz_list; |
f | 226 | net/ipv4/route.c | for ( ; f; f = f->fib_next) |
f | 228 | net/ipv4/route.c | if ((dst ^ f->fib_dst) & fz->fz_mask) |
f | 230 | net/ipv4/route.c | if (f->fib_info->fib_flags & RTF_GATEWAY) |
f | 232 | net/ipv4/route.c | return f; |
f | 255 | net/ipv4/route.c | struct fib_node * f; |
f | 262 | net/ipv4/route.c | f = fz->fz_hash_table[fz_hash_code(dst, fz->fz_logmask)]; |
f | 264 | net/ipv4/route.c | f = fz->fz_list; |
f | 266 | net/ipv4/route.c | for ( ; f; f = f->fib_next) |
f | 268 | net/ipv4/route.c | if ((dst ^ f->fib_dst) & fz->fz_mask) |
f | 270 | net/ipv4/route.c | if (!(f->fib_info->fib_flags & RTF_GATEWAY)) |
f | 271 | net/ipv4/route.c | return f; |
f | 295 | net/ipv4/route.c | struct fib_node * f; |
f | 300 | net/ipv4/route.c | f = fz->fz_hash_table[fz_hash_code(dst, fz->fz_logmask)]; |
f | 302 | net/ipv4/route.c | f = fz->fz_list; |
f | 304 | net/ipv4/route.c | for ( ; f; f = f->fib_next) |
f | 306 | net/ipv4/route.c | if ((dst ^ f->fib_dst) & fz->fz_mask) |
f | 308 | net/ipv4/route.c | return f; |
f | 316 | net/ipv4/route.c | struct fib_node * f; |
f | 317 | net/ipv4/route.c | f = fib_lookup_gateway(gw); |
f | 318 | net/ipv4/route.c | if (f) |
f | 319 | net/ipv4/route.c | return f->fib_info->fib_dev; |
f | 377 | net/ipv4/route.c | struct fib_node *f; |
f | 380 | net/ipv4/route.c | while((f = *fp) != NULL) |
f | 382 | net/ipv4/route.c | struct fib_info * fi = f->fib_info; |
f | 389 | net/ipv4/route.c | if (f->fib_dst != dst || |
f | 391 | net/ipv4/route.c | (metric >= 0 && f->fib_metric != metric) || |
f | 394 | net/ipv4/route.c | fp = &f->fib_next; |
f | 398 | net/ipv4/route.c | *fp = f->fib_next; |
f | 399 | net/ipv4/route.c | if (fib_loopback == f) |
f | 403 | net/ipv4/route.c | fib_free_node(f); |
f | 523 | net/ipv4/route.c | struct fib_node *f, *f1; |
f | 578 | net/ipv4/route.c | f = (struct fib_node *) kmalloc(sizeof(struct fib_node), GFP_KERNEL); |
f | 579 | net/ipv4/route.c | if (f == NULL) |
f | 582 | net/ipv4/route.c | memset(f, 0, sizeof(struct fib_node)); |
f | 583 | net/ipv4/route.c | f->fib_dst = dst; |
f | 584 | net/ipv4/route.c | f->fib_metric = metric; |
f | 585 | net/ipv4/route.c | f->fib_tos = 0; |
f | 589 | net/ipv4/route.c | kfree_s(f, sizeof(struct fib_node)); |
f | 592 | net/ipv4/route.c | f->fib_info = fi; |
f | 604 | net/ipv4/route.c | fib_free_node(f); |
f | 698 | net/ipv4/route.c | fib_free_node(f); |
f | 707 | net/ipv4/route.c | f->fib_next = f1; |
f | 708 | net/ipv4/route.c | *fp = f; |
f | 710 | net/ipv4/route.c | fib_loopback = f; |
f | 722 | net/ipv4/route.c | fp = &f->fib_next; |
f | 747 | net/ipv4/route.c | struct fib_node *f; |
f | 749 | net/ipv4/route.c | while ((f = *fp) != NULL) { |
f | 750 | net/ipv4/route.c | if (f->fib_info->fib_dev != dev) { |
f | 751 | net/ipv4/route.c | fp = &f->fib_next; |
f | 755 | net/ipv4/route.c | *fp = f->fib_next; |
f | 756 | net/ipv4/route.c | if (fib_loopback == f) |
f | 759 | net/ipv4/route.c | fib_free_node(f); |
f | 809 | net/ipv4/route.c | struct fib_node *f; |
f | 856 | net/ipv4/route.c | for (f = *fp; f; f = f->fib_next) |
f | 870 | net/ipv4/route.c | fi = f->fib_info; |
f | 872 | net/ipv4/route.c | fi->fib_dev->name, (unsigned long)f->fib_dst, (unsigned long)fi->fib_gateway, |
f | 873 | net/ipv4/route.c | fi->fib_flags, 0, f->fib_use, f->fib_metric, |
f | 1477 | net/ipv4/route.c | struct fib_node * f; |
f | 1493 | net/ipv4/route.c | f = fib_lookup_local(daddr); |
f | 1495 | net/ipv4/route.c | f = fib_lookup (daddr); |
f | 1497 | net/ipv4/route.c | if (f) |
f | 1499 | net/ipv4/route.c | fi = f->fib_info; |
f | 1500 | net/ipv4/route.c | f->fib_use++; |
f | 1503 | net/ipv4/route.c | if (!f || (fi->fib_flags & RTF_REJECT)) |
f | 1527 | net/ipv4/route.c | f->fib_use--; |
f | 1528 | net/ipv4/route.c | if ((f = fib_loopback) != NULL) |
f | 1530 | net/ipv4/route.c | f->fib_use++; |
f | 1531 | net/ipv4/route.c | fi = f->fib_info; |
f | 1535 | net/ipv4/route.c | if (!f) |
f | 1554 | net/ipv4/route.c | rth->rt_tos = f->fib_tos; |
f | 1027 | net/ipx/af_ipx.c | ipx_interface_definition f; |
f | 1035 | net/ipx/af_ipx.c | f.ipx_network=sipx->sipx_network; |
f | 1036 | net/ipx/af_ipx.c | memcpy(f.ipx_device, ifr.ifr_name, sizeof(f.ipx_device)); |
f | 1037 | net/ipx/af_ipx.c | memcpy(f.ipx_node, sipx->sipx_node, IPX_NODE_LEN); |
f | 1038 | net/ipx/af_ipx.c | f.ipx_dlink_type=sipx->sipx_type; |
f | 1039 | net/ipx/af_ipx.c | f.ipx_special=sipx->sipx_special; |
f | 1041 | net/ipx/af_ipx.c | return ipxitf_delete(&f); |
f | 1043 | net/ipx/af_ipx.c | return ipxitf_create(&f); |
f | 1383 | net/ipx/af_ipx.c | struct ipx_route_definition f; |
f | 1384 | net/ipx/af_ipx.c | f.ipx_network=st->sipx_network; |
f | 1385 | net/ipx/af_ipx.c | f.ipx_router_network=sg->sipx_network; |
f | 1386 | net/ipx/af_ipx.c | memcpy(f.ipx_router_node, sg->sipx_node, IPX_NODE_LEN); |
f | 1387 | net/ipx/af_ipx.c | return ipxrtr_create(&f); |
f | 195 | net/unix/garbage.c | unix_socket *f=NULL,*sk; |
f | 228 | net/unix/garbage.c | if(f==NULL) |
f | 229 | net/unix/garbage.c | f=sk; |
f | 241 | net/unix/garbage.c | if (f) |
f | 243 | net/unix/garbage.c | if (!(f->protinfo.af_unix.marksweep&MARKED)) |
f | 245 | net/unix/garbage.c | f->protinfo.af_unix.marksweep|=MARKED; |
f | 246 | net/unix/garbage.c | x=f; |
f | 247 | net/unix/garbage.c | f=NULL; |