Searched refs:fs (Results 1 - 25 of 845) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/grub/grub-0.97/stage2/
H A Dfs.h42 * @(#)fs.h 7.7 (Berkeley) 5/9/89
57 * For file system fs, the offsets of the various blocks of interest
59 * [fs->fs_sblkno] Super-block
60 * [fs->fs_cblkno] Cylinder group block
61 * [fs->fs_iblkno] Inode blocks
62 * [fs->fs_dblkno] Data blocks
63 * The beginning of cylinder group cg in fs, is given by
64 * the ``cgbase(fs, cg)'' macro.
89 * information in the inode, using the ``blksize(fs, ip, lbn)'' macro.
146 struct fs struct
[all...]
H A Dufs.h62 struct fs { struct
64 grub_uint32_t fs_rolled; /* logging only: fs fully rolled */
72 grub_int32_t fs_size; /* number of blocks in fs */
73 grub_int32_t fs_dsize; /* number of data blocks in fs */
75 grub_int32_t fs_bsize; /* size of basic blocks in fs */
76 grub_int32_t fs_fsize; /* size of frag blocks in fs */
77 grub_int32_t fs_frag; /* number of frags in a block in fs */
208 #define INOPB(fs) ((fs)->fs_inopb)
209 #define itoo(fs,
[all...]
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dext2_resize.c27 static int ext2_add_group(struct ext2_fs *fs, blk_t groupsize) argument
35 if (fs->opt_verbose)
38 if (!ped_realloc ((void*) &fs->gd,
39 (fs->numgroups+1) * sizeof(struct ext2_group_desc)
40 + fs->blocksize))
43 if (fs->opt_debug)
45 if (EXT2_SUPER_BLOCKS_COUNT(fs->sb) !=
46 EXT2_SUPER_FIRST_DATA_BLOCK(fs->sb)
47 + fs->numgroups * EXT2_SUPER_BLOCKS_PER_GROUP(fs
197 ext2_del_group(struct ext2_fs *fs) argument
325 ext2_grow_group(struct ext2_fs *fs, blk_t newsize) argument
370 ext2_shrink_group(struct ext2_fs *fs, blk_t newsize) argument
455 ext2_grow_fs(struct ext2_fs *fs, blk_t newsize, PedTimer* timer) argument
509 ext2_shrink_fs(struct ext2_fs *fs, blk_t newsize, PedTimer* timer) argument
584 ext2_determine_itoffset(struct ext2_fs *fs) argument
648 ext2_resize_fs(struct ext2_fs *fs, blk_t newsize, PedTimer* timer) argument
[all...]
H A Dext2_meta.c27 int ext2_metadata_push(struct ext2_fs *fs, blk_t newsize) argument
34 - EXT2_SUPER_FIRST_DATA_BLOCK(fs->sb),
35 EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb));
38 fs->blocksize);
41 if (newitoffset <= fs->itoffset)
44 for (i=0;i<fs->numgroups;i++)
51 start = (i * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb))
52 + EXT2_SUPER_FIRST_DATA_BLOCK(fs->sb);
54 if (EXT2_GROUP_INODE_TABLE(fs->gd[i]) >= start + newitoffset
55 && EXT2_GROUP_BLOCK_BITMAP(fs
[all...]
H A Dext2_inode_relocator.c98 static int addref(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, ino_t inode, blk_t block, off_t offset) argument
127 static int doblock(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, blk_t blockno) argument
132 bh = ext2_bread(fs, blockno);
144 if (!addref(fs, state, EXT2_DIRENT_INODE(*ptr), blockno,
150 } while (offset < fs->blocksize);
156 static int doindblock(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, blk_t blockno) argument
162 bh = ext2_bread(fs, blockno);
164 for (i=0;i<(fs->blocksize>>2);i++)
166 if (!doblock(fs, state, blk))
173 static int dodindblock(struct ext2_fs *fs, struc argument
192 dotindblock(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, blk_t blockno) argument
211 doinode(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, ino_t inode) argument
243 doscangroup(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, int group) argument
284 doscan(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument
322 ext2_inode_relocator_copy(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument
352 ext2_inode_relocator_finish(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument
372 ext2_inode_relocator_ref(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument
450 ext2_inode_relocator_grab_inodes(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument
490 ext2_inode_relocator_flush(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument
521 ext2_inode_relocator_mark(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, ino_t inode) argument
561 ext2_inode_relocate(struct ext2_fs *fs, int newgroups) argument
[all...]
H A Dext2.c34 int ext2_copy_block(struct ext2_fs *fs, blk_t from, blk_t to) argument
36 unsigned char* buf = ped_malloc (fs->blocksize);
38 if (!ext2_bcache_flush(fs, from)) return 0;
39 if (!ext2_bcache_flush(fs, to)) return 0;
41 if (!ext2_read_blocks(fs, buf, from, 1)) return 0;
42 if (!ext2_write_blocks(fs, buf, to, 1)) return 0;
47 int ext2_get_block_state(struct ext2_fs *fs, blk_t block) argument
54 block -= EXT2_SUPER_FIRST_DATA_BLOCK(fs->sb);
55 group = block / EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb);
56 offset = block % EXT2_SUPER_BLOCKS_PER_GROUP(fs
65 ext2_find_free_block(struct ext2_fs *fs) argument
94 ext2_find_free_inode(struct ext2_fs *fs) argument
119 ext2_move_blocks(struct ext2_fs *fs, blk_t src, blk_t num, blk_t dest) argument
156 ext2_read_blocks(struct ext2_fs *fs, void *ptr, blk_t block, blk_t num) argument
161 ext2_set_block_state(struct ext2_fs *fs, blk_t block, int state, int updatemetadata) argument
194 ext2_write_blocks(struct ext2_fs *fs, void *ptr, blk_t block, blk_t num) argument
199 ext2_zero_blocks(struct ext2_fs *fs, blk_t block, blk_t num) argument
260 ext2_get_inode_offset(struct ext2_fs *fs, ino_t inode, blk_t *block) argument
277 ext2_get_inode_state(struct ext2_fs *fs, ino_t inode) argument
295 ext2_read_inode(struct ext2_fs *fs, ino_t inode, struct ext2_inode *data) argument
312 ext2_set_inode_state(struct ext2_fs *fs, ino_t inode, int state, int updatemetadata) argument
348 _inode_update_size(struct ext2_fs *fs, struct ext2_inode *inode, int delta) argument
362 ext2_do_inode(struct ext2_fs *fs, struct ext2_inode *inode, blk_t block, int action) argument
520 ext2_write_inode(struct ext2_fs *fs, ino_t inode, const struct ext2_inode *data) argument
538 ext2_zero_inode(struct ext2_fs *fs, ino_t inode) argument
571 ext2_is_group_sparse(struct ext2_fs *fs, int group) argument
582 ext2_close(struct ext2_fs *fs) argument
595 ext2_commit_metadata(struct ext2_fs *fs, int copies) argument
663 ext2_sync(struct ext2_fs *fs) argument
673 struct ext2_fs *fs; local
[all...]
H A Dext2.h70 struct ext2_fs *fs; member in struct:ext2_buffer_cache
159 int ext2_copy_block (struct ext2_fs *fs, blk_t from, blk_t to);
160 void ext2_close (struct ext2_fs *fs);
161 int ext2_commit_metadata (struct ext2_fs *fs, int copies);
162 off_t ext2_get_inode_offset (struct ext2_fs *fs, ino_t inode, blk_t *block);
163 blk_t ext2_find_free_block (struct ext2_fs *fs);
164 ino_t ext2_find_free_inode (struct ext2_fs *fs);
165 int ext2_get_inode_state (struct ext2_fs *fs, ino_t inode);
166 int ext2_is_group_sparse (struct ext2_fs *fs, int group);
167 int ext2_move_blocks (struct ext2_fs *fs, blk_
222 ext2_is_data_block(struct ext2_fs *fs, blk_t block) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fm/dicts/
H A DZFS.dict31 ereport.fs.zfs.pool.corrupt_cache=1
32 ereport.fs.zfs.device.missing_r=2
33 ereport.fs.zfs.device.missing_nr=3
34 ereport.fs.zfs.device.corrupt_label_r=4
35 ereport.fs.zfs.device.corrupt_label_nr=5
36 ereport.fs.zfs.pool.bad_guid_sum=6
37 ereport.fs.zfs.pool.corrupt_pool=7
38 ereport.fs.zfs.object.corrupt_data=8
39 ereport.fs.zfs.device.failing=9
40 ereport.fs
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dinc.flg28 usr/src/uts/common/fs/ufs
/opensolaris-onvv-gate/usr/src/uts/common/sys/fs/
H A Dufs_fs.h75 * For file system fs, the offsets of the various blocks of interest
77 * [fs->fs_sblkno] Super-block
78 * [fs->fs_cblkno] Cylinder group block
79 * [fs->fs_iblkno] Inode blocks
80 * [fs->fs_dblkno] Data blocks
81 * The beginning of cylinder group cg in fs, is given by
82 * the ``cgbase(fs, cg)'' macro.
107 * information in the inode, using the ``blksize(fs, ip, lbn)'' macro.
216 * These fields require the use of fs->fs_lock.
230 #define FSLOG ((char)0xfd) /* logging fs */
238 struct fs { struct
[all...]
/opensolaris-onvv-gate/usr/src/lib/libparted/i386/
H A DMakefile32 pics/libparted/fs/amiga \
33 pics/libparted/fs/ext2 \
34 pics/libparted/fs/fat \
35 pics/libparted/fs/hfs \
36 pics/libparted/fs/jfs \
37 pics/libparted/fs/linux_swap \
38 pics/libparted/fs/ntfs \
39 pics/libparted/fs/reiserfs \
40 pics/libparted/fs/solaris_x86 \
41 pics/libparted/fs/uf
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/cachefs/cachefslog/
H A Dcachefslog.c38 #include <sys/fs/cachefs_log.h>
56 stats_cookie_t *fs = NULL; local
102 fs = stats_create_mountpath(argv[optind], prog);
103 if (fs == NULL) {
109 if (! stats_good(fs)) {
110 pr_err(stats_errorstr(fs));
111 rc = stats_errno(fs);
115 if ((logfile = stats_log_kernel_getname(fs)) == NULL) {
116 pr_err(stats_errorstr(fs));
117 rc = stats_errno(fs);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/
H A Dreq.flg25 echo_file usr/src/cmd/fs.d/Makefile.fstype
26 echo_file usr/src/cmd/fs.d/preenlib.c
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dfatio.c34 fat_read_fragments (PedFileSystem* fs, char* buf, FatFragment frag, argument
37 FatSpecific* fs_info = FAT_SPECIFIC (fs);
38 PedSector sector = fat_frag_to_sector (fs, frag);
43 return ped_geometry_read (fs->geom, buf, sector, sector_count);
47 fat_read_fragment (PedFileSystem* fs, char* buf, FatFragment frag) argument
49 return fat_read_fragments (fs, buf, frag, 1);
53 fat_write_fragments (PedFileSystem* fs, char* buf, FatFragment frag, argument
56 FatSpecific* fs_info = FAT_SPECIFIC (fs);
57 PedSector sector = fat_frag_to_sector (fs, frag);
62 return ped_geometry_write (fs
66 fat_write_fragment(PedFileSystem* fs, char* buf, FatFragment frag) argument
72 fat_write_sync_fragments(PedFileSystem* fs, char* buf, FatFragment frag, FatFragment count) argument
83 fat_write_sync_fragment(PedFileSystem* fs, char* buf, FatFragment frag) argument
89 fat_read_clusters(PedFileSystem* fs, char *buf, FatCluster cluster, FatCluster count) argument
104 fat_read_cluster(PedFileSystem* fs, char *buf, FatCluster cluster) argument
110 fat_write_clusters(PedFileSystem* fs, char *buf, FatCluster cluster, FatCluster count) argument
125 fat_write_cluster(PedFileSystem* fs, char *buf, FatCluster cluster) argument
131 fat_write_sync_clusters(PedFileSystem* fs, char *buf, FatCluster cluster, FatCluster count) argument
142 fat_write_sync_cluster(PedFileSystem* fs, char *buf, FatCluster cluster) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs-retire.conf28 subscribe fault.fs.zfs.*
30 subscribe resource.fs.zfs.removed
31 subscribe resource.fs.zfs.statechange
/opensolaris-onvv-gate/usr/src/uts/common/fs/ufs/
H A Dufs_alloc.c54 #include <sys/fs/ufs_fs.h>
55 #include <sys/fs/ufs_inode.h>
56 #include <sys/fs/ufs_acl.h>
57 #include <sys/fs/ufs_bio.h>
58 #include <sys/fs/ufs_quota.h>
60 #include <sys/fs/ufs_trans.h>
61 #include <sys/fs/ufs_panic.h>
68 #include <fs/fs_subr.h>
71 #include <sys/fs/ufs_log.h>
107 struct fs *f local
186 struct fs *fs; local
298 struct fs *fs; local
478 struct fs *fs = dp->i_fs; local
537 struct fs *fs; local
625 struct fs *fs = ip->i_fs; local
773 struct fs *fs = ip->i_fs; local
847 struct fs *fs; local
897 struct fs *fs = ip->i_fs; local
978 struct fs *fs = ip->i_fs; local
1113 struct fs *fs; local
1294 struct fs *fs = ip->i_fs; local
1386 struct fs *fs = ufsvfsp->vfs_fs; local
1558 struct fs *fs; local
1955 struct fs *fs = ufsvfsp->vfs_fs; local
2048 findlogstartcg(struct fs *fs, daddr_t requested, daddr_t minblk) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/fs/linux_swap/
H A Dlinux_swap.c35 #define SWAP_SPECIFIC(fs) ((SwapSpecific*) (fs->type_specific))
74 static int swap_close (PedFileSystem* fs);
79 PedFileSystem* fs; local
84 fs = swap_open (geom);
85 if (!fs)
87 fs_info = SWAP_SPECIFIC (fs);
96 swap_close (fs);
100 swap_close (fs);
109 PedFileSystem* fs; local
131 swap_init(PedFileSystem* fs, int fresh) argument
151 PedFileSystem* fs; local
192 swap_free(PedFileSystem* fs) argument
207 PedFileSystem* fs; local
252 swap_close(PedFileSystem* fs) argument
260 swap_new_find_bad_page(PedFileSystem* fs, unsigned int page) argument
274 swap_new_remove_bad_page(PedFileSystem* fs, unsigned int page) argument
292 swap_mark_page(PedFileSystem* fs, unsigned int page, int ok) argument
328 swap_clear_pages(PedFileSystem* fs) argument
345 swap_check_pages(PedFileSystem* fs, PedTimer* timer) argument
383 swap_write(PedFileSystem* fs) argument
404 PedFileSystem* fs; local
421 swap_resize(PedFileSystem* fs, PedGeometry* geom, PedTimer* timer) argument
439 swap_copy(const PedFileSystem* fs, PedGeometry* geom, PedTimer* timer) argument
445 swap_check(PedFileSystem* fs, PedTimer* timer) argument
465 swap_get_resize_constraint(const PedFileSystem* fs) argument
471 swap_get_copy_constraint(const PedFileSystem* fs, const PedDevice* dev) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/zfs/bootinstall/etc/
H A DSUNW,EC_zfs,ESC_ZFS_bootfs_vdev_attach,sysevent.conf24 EC_zfs ESC_ZFS_bootfs_vdev_attach SUNW - - - - /usr/lib/fs/zfs/bootinstall $pool_name $vdev_path
/opensolaris-onvv-gate/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/shadow/java/awt/
H A DJAShadowAccess.java89 public static int incrCursor(FrameShadow fs) { argument
90 return fs.incrCursor();
93 public static int decrCursor(FrameShadow fs) { argument
94 return fs.decrCursor();
97 public static void setPrevCursor(FrameShadow fs, int cursor) { argument
98 fs.setPrevCursor(cursor);
101 public static int getPrevCursor(FrameShadow fs) { argument
102 return fs.getPrevCursor();
/opensolaris-onvv-gate/usr/src/stand/lib/fs/
H A Dreq.flg29 echo_file usr/src/stand/lib/fs/Makefile.com
/opensolaris-onvv-gate/usr/src/cmd/fm/modules/common/zfs-diagnosis/
H A Dzfs-diagnosis.conf29 subscribe ereport.fs.zfs.*
30 subscribe resource.fs.zfs.*
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dinc.flg29 find_files "s.*" usr/src/uts/common/fs/zfs/sys
30 echo_file usr/src/uts/common/sys/fs/zfs.h
/opensolaris-onvv-gate/usr/src/cmd/zdb/
H A Dinc.flg29 find_files "s.*" usr/src/uts/common/fs/zfs/sys
30 echo_file usr/src/uts/common/sys/fs/zfs.h
/opensolaris-onvv-gate/usr/src/cmd/ztest/
H A Dinc.flg29 find_files "s.*" usr/src/uts/common/fs/zfs/sys
30 echo_file usr/src/uts/common/sys/fs/zfs.h
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/fs/hfs/
H A Dadvfs.h37 hfs_read_bad_blocks (const PedFileSystem *fs);
40 hfs_is_bad_block (const PedFileSystem *fs, unsigned int fblock);
43 hfs_get_empty_end (const PedFileSystem *fs);
46 hfs_find_start_pack (const PedFileSystem *fs, unsigned int fblock);

Completed in 153 milliseconds

1234567891011>>