Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/planix-v0/sys/src/cmd/cwfs/64bit.h – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
/*
2
 * fundamental constants and types of the implementation
3
 * changing any of these changes the layout on disk
4
 */
5
 
6
/* the glorious new, incompatible (on disk) 64-bit world */
7
 
8
/* keeping NAMELEN ≤ 50 bytes permits 3 Dentrys per mag disk sector */
9
enum {
10
	NAMELEN		= 56,		/* max size of file name components */
11
	NDBLOCK		= 6,		/* number of direct blocks in Dentry */
12
	NIBLOCK		= 4,		/* max depth of indirect blocks */
13
};
14
 
15
/*
16
 * file offsets & sizes, in bytes & blocks.  typically long or vlong.
17
 * vlong is used in the code where would be needed if Off were just long.
18
 */
19
typedef vlong Off;
20
 
21
#undef COMPAT32
22
#define swaboff swab8