File: adfs_fs_sb.h

package info (click to toggle)
kernel-source-sparc-2.2.1 2.2.1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 62,800 kB
  • ctags: 188,320
  • sloc: ansic: 1,114,164; asm: 49,922; makefile: 8,272; sh: 1,831; perl: 1,584; tcl: 409; lisp: 218; cpp: 186; awk: 133; sed: 72
file content (29 lines) | stat: -rw-r--r-- 846 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 *  linux/include/linux/adfs_fs_sb.h
 *
 * Copyright (C) 1997 Russell King
 */

#ifndef _ADFS_FS_SB
#define _ADFS_FS_SB

#include <linux/adfs_fs.h>

/*
 * adfs file system superblock data in memory
 */
struct adfs_sb_info {
	struct buffer_head *s_sbh;	/* buffer head containing disc record	 */
	struct adfs_discrecord *s_dr;	/* pointer to disc record in s_sbh	 */
	__u16	s_zone_size;		/* size of a map zone in bits		 */
	__u16	s_ids_per_zone;		/* max. no ids in one zone		 */
	__u32	s_idlen;		/* length of ID in map			 */
	__u32	s_map_size;		/* size of a map			 */
	__u32	s_zonesize;		/* zone size (in map bits)		 */
	__u32	s_map_block;		/* block address of map			 */
	struct buffer_head **s_map;	/* bh list containing map		 */
	__u32	s_root;			/* root disc address			 */
	__s8	s_map2blk;		/* shift left by this for map->sector	 */
};

#endif