Lines Matching +full:disk +full:- +full:activity
1 /* SPDX-License-Identifier: GPL-2.0 */
7 * a little bit modified by Mikulas Patocka, 1998-1999
20 For definitive information on HPFS, ask somebody else -- this is guesswork.
35 typedef u32 time32_t; /* 32-bit time_t type */
82 u8 funcversion; /* functional version - oldest version
84 this disk */
100 __le32 user_id_table; /* 8 preallocated sectors - user id */
120 u8 bad_sector: 1; /* bad sector, corrupted disk (???) */
130 u8 bad_sector: 1; /* bad sector, corrupted disk (???) */
197 these are for (CHKDSK, maybe?) -- OS/2 does not seem to use them
200 /* block pointed to by spareblock->code_page_dir */
247 16384 sectors is 8 meg, and each 8 meg band has a 4-sector bitmap.
248 Bit order in the maps is little-endian. 0 means taken, 1 means free.
253 Band 0 is sectors 0-3fff, its map is in sectors 18-1b.
254 Band 1 is 4000-7fff, its map is in 7ffc-7fff.
255 Band 2 is 8000-ffff, its map is in 8000-8003.
257 -- if the last, partial, band is odd its map is in its last 4 sectors.
264 It has a 4-sector free space bitmap of its own. Each bit in the map
265 corresponds to one 4-sector dnode, bit 0 of the map corresponding to
276 never moves, the dnodes do the B-tree thing, splitting and merging
287 u8 increment_me: 7; /* some kind of activity counter? */
291 u8 increment_me: 7; /* some kind of activity counter? */
370 pairs. (Actually triples, of (length, file-address, disk-address)
373 they occupy essentially a full block in anodes. A leaf-level tree node
374 has 3-word entries giving sector runs, a non-leaf node has 2-word
381 __le32 disk_secno; /* first corresponding disk sector */
398 u8 flags; /* bit 0 - high bit of first free entry offset
399 bit 5 - we're pointed to by an fnode,
402 bit 6 - suggest binary search (unused)
403 bit 7 - 1 -> (internal) tree of anodes
404 0 -> (leaf) list of extents */
411 struct bplus_internal_node internal[0]; /* (internal) 2-word entries giving
413 struct bplus_leaf_node external[0]; /* (external) 3-word entries giving
420 return bp->flags & BP_internal; in bp_internal()
425 return bp->flags & BP_fnode_parent; in bp_fnode_parent()
448 __le32 ea_size_l; /* length of disk-resident ea's */
449 __le32 ea_secno; /* first sector of disk-resident ea's*/
450 __le16 ea_size_s; /* length of fnode-resident ea's */
452 __le16 flags; /* bit 1 set -> ea_secno is an anode */
453 /* bit 8 set -> directory. first & only extent
465 to first fnode-resident ea */
478 return (p->flags & FNODE_anode) != 0; in fnode_in_anode()
483 return (p->flags & FNODE_dir) != 0; in fnode_is_dir()
525 u8 flags; /* bit 0 set -> value gives sector number
527 /* bit 1 set -> sector is an anode
529 /* bit 7 set -> required ea */
548 return ea->flags & EA_indirect; in ea_indirect()
553 return ea->flags & EA_anode; in ea_in_anode()
558 comment-column: 40