|
|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T U p
Length: 1467 (0x5bb)
Types: TextFile
Notes: UNIX file
Names: »pfdat.h«
└─⟦a6ab2eb36⟧ Bits:30004042/kconfig3.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦a6ab2eb36⟧ UNIX Filesystem
└─⟦this⟧ »kc/new/usr/include/sys/pfdat.h«
/* Copyright (c) 1984 AT&T */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
#ident "@(#)pfdat.h 1.5"
typedef struct pfdat {
unsigned pf_blkno : 24, /* Disk block nummber. */
pf_flags : 8; /* page flags */
cnt_t pf_use; /* share use count */
dev_t pf_dev; /* Disk device code. */
long pf_inumber; /* inode number of */
/* matching file */
char pf_swpi; /* Index into swaptab. */
char pf_rawcnt; /* Cnt of processes */
/* doing raw I/O to */
/* page. */
short pf_waitcnt; /* Number of processes */
/* waiting for PG_DONE */
struct pfdat *pf_next; /* Next free pfdat. */
struct pfdat *pf_prev; /* Previous free pfdat. */
struct pfdat *pf_hchain; /* Hash chain link. */
} pfd_t;
#define P_QUEUE 0x01 /* Page on free queue */
#define P_BAD 0x02 /* Bad page (parity error, etc.)*/
#define P_HASH 0x04 /* Page on hash queue */
#define P_DONE 0x08 /* I/O to read page is done */
#define P_SWAP 0x10 /* Page on swap (not file). */
extern struct pfdat phead;
extern struct pfdat pbad;
extern struct pfdat *pfdat;
extern struct pfdat **phash;
extern struct pfdat ptfree;
extern int phashmask;
extern struct pfdat *pfind();
#define BLKNULL 0 /* pf_blkno null value */
extern int mem_lock;
extern int memlock();
extern int memunlock();
extern int memlocked();