Searched defs:fs (Results 1 - 25 of 89) sorted by relevance

1234

/osnet-11/usr/src/lib/libast/common/features/
H A Dsfinit.c34 char* fs = ""; local
38 char* fs = "F"; local
45 printf("\t1E%d%s,\n", i, fs);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dext2_meta.c28 int ext2_metadata_push(struct ext2_fs *fs, blk_t newsize) argument
35 - EXT2_SUPER_FIRST_DATA_BLOCK(fs->sb),
36 EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb));
39 fs->blocksize);
42 if (newitoffset <= fs->itoffset)
45 for (i=0;i<fs->numgroups;i++)
52 start = (i * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb))
53 + EXT2_SUPER_FIRST_DATA_BLOCK(fs->sb);
55 if (EXT2_GROUP_INODE_TABLE(fs->gd[i]) >= start + newitoffset
56 && EXT2_GROUP_BLOCK_BITMAP(fs
[all...]
H A Dext2_buffer.c166 return ext2_read_blocks(bh->bc->fs, bh->data, bh->block, 1);
177 ext2_write_blocks(bh->bc->fs, bh->data, bh->block, 1);
231 void ext2_bcache_deinit(struct ext2_fs *fs) argument
233 ext2_bcache_sync(fs);
234 free(fs->bc->buffermem);
235 free(fs->bc->hash);
236 free(fs->bc->heads);
237 free(fs->bc);
239 if (fs->opt_verbose)
247 void ext2_bcache_dump(struct ext2_fs *fs) argument
272 ext2_bcache_flush(struct ext2_fs *fs, blk_t block) argument
295 ext2_bcache_flush_range(struct ext2_fs *fs, blk_t block, blk_t num) argument
306 ext2_bcache_init(struct ext2_fs *fs) argument
355 ext2_bcache_sync(struct ext2_fs *fs) argument
380 ext2_bcreate(struct ext2_fs *fs, blk_t block) argument
400 ext2_bread(struct ext2_fs *fs, blk_t block) argument
[all...]
H A Dext2_resize.c28 static int ext2_add_group(struct ext2_fs *fs, blk_t groupsize) argument
36 if (fs->opt_verbose)
39 if (!ped_realloc ((void*) &fs->gd,
40 (fs->numgroups+1) * sizeof(struct ext2_group_desc)
41 + fs->blocksize))
44 if (fs->opt_debug)
46 if (EXT2_SUPER_BLOCKS_COUNT(fs->sb) !=
47 EXT2_SUPER_FIRST_DATA_BLOCK(fs->sb)
48 + fs->numgroups * EXT2_SUPER_BLOCKS_PER_GROUP(fs
198 ext2_del_group(struct ext2_fs *fs) argument
326 ext2_grow_group(struct ext2_fs *fs, blk_t newsize) argument
371 ext2_shrink_group(struct ext2_fs *fs, blk_t newsize) argument
456 ext2_grow_fs(struct ext2_fs *fs, blk_t newsize, PedTimer* timer) argument
510 ext2_shrink_fs(struct ext2_fs *fs, blk_t newsize, PedTimer* timer) argument
585 ext2_determine_itoffset(struct ext2_fs *fs) argument
649 ext2_resize_fs(struct ext2_fs *fs, blk_t newsize, PedTimer* timer) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/normal/
H A Dmisc.c22 #include <grub/fs.h>
56 grub_fs_t fs; local
58 fs = grub_fs_probe (dev);
62 if (fs)
64 grub_printf_ (N_("Filesystem type %s"), fs->name);
65 if (fs->label)
68 (fs->label) (dev, &label);
80 if (fs->mtime)
84 (fs->mtime) (dev, &tm);
98 if (fs
[all...]
/osnet-11/usr/src/lib/libast/common/misc/
H A Dfmtrec.c32 fmtrec(Recfmt_t f, int fs) argument
49 if (fs)
58 if (!fs)
/osnet-11/usr/src/lib/libuvfs/common/
H A Dioctl.c36 #include <sys/fs/uvfs.h>
40 open_device(libuvfs_fs_t *fs) argument
48 fs->fs_dev = f;
54 libuvfs_daemon_start_wait(libuvfs_fs_t *fs, uint32_t wait_usec) argument
59 if (fs->fs_dev < 0) {
60 rc = open_device(fs);
65 args.uidw_fsid = fs->fs_fsid;
67 rc = ioctl(fs->fs_dev, UVFS_IOC_DAEMON_WAIT, &args);
73 libuvfs_set_fsparam(libuvfs_fs_t *fs) argument
78 if (fs
101 libuvfs_daemon_register(libuvfs_fs_t *fs) argument
[all...]
H A Dfsid.c71 libuvfs_fid_unique(libuvfs_fs_t *fs, libuvfs_fid_t *fid) argument
76 (void) memcpy(&fh.fs_fid_random, &fs->fs_fid_random,
78 seq = atomic_add_64_nv(&fs->fs_fid_seq, 1);
91 libuvfs_fid_to_id(libuvfs_fs_t *fs, const libuvfs_fid_t *fid) argument
97 assert(memcmp(&fh->fs_fid_random, &fs->fs_fid_random,
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dtraverse.h27 PedFileSystem* fs; member in struct:_FatTraverseInfo
44 extern FatTraverseInfo* fat_traverse_begin (PedFileSystem* fs,
58 PedFileSystem* fs);
61 PedFileSystem* fs, FatCluster cluster);
72 PedFileSystem* fs);
H A Dfatio.c35 fat_read_fragments (PedFileSystem* fs, char* buf, FatFragment frag, argument
38 FatSpecific* fs_info = FAT_SPECIFIC (fs);
39 PedSector sector = fat_frag_to_sector (fs, frag);
44 return ped_geometry_read (fs->geom, buf, sector, sector_count);
48 fat_read_fragment (PedFileSystem* fs, char* buf, FatFragment frag) argument
50 return fat_read_fragments (fs, buf, frag, 1);
54 fat_write_fragments (PedFileSystem* fs, char* buf, FatFragment frag, argument
57 FatSpecific* fs_info = FAT_SPECIFIC (fs);
58 PedSector sector = fat_frag_to_sector (fs, frag);
63 return ped_geometry_write (fs
67 fat_write_fragment(PedFileSystem* fs, char* buf, FatFragment frag) argument
73 fat_write_sync_fragments(PedFileSystem* fs, char* buf, FatFragment frag, FatFragment count) argument
84 fat_write_sync_fragment(PedFileSystem* fs, char* buf, FatFragment frag) argument
90 fat_read_clusters(PedFileSystem* fs, char *buf, FatCluster cluster, FatCluster count) argument
105 fat_read_cluster(PedFileSystem* fs, char *buf, FatCluster cluster) argument
111 fat_write_clusters(PedFileSystem* fs, char *buf, FatCluster cluster, FatCluster count) argument
126 fat_write_cluster(PedFileSystem* fs, char *buf, FatCluster cluster) argument
132 fat_write_sync_clusters(PedFileSystem* fs, char *buf, FatCluster cluster, FatCluster count) argument
143 fat_write_sync_cluster(PedFileSystem* fs, char *buf, FatCluster cluster) argument
[all...]
H A Dbootsector.c121 fs->type_specific.
128 fat_boot_sector_analyse (FatBootSector* bs, PedFileSystem* fs) argument
130 FatSpecific* fs_info = FAT_SPECIFIC (fs);
153 PedCHSGeometry* bios_geom = &fs->geom->dev->bios_geom;
157 cyl_count = fs->geom->dev->length / fs_info->heads
181 if (!fat_boot_sector_write (bs, fs))
230 fs_info->fat_type = fat_boot_sector_probe_type (bs, fs->geom);
302 fat_boot_sector_generate (FatBootSector* bs, const PedFileSystem* fs) argument
304 FatSpecific* fs_info = FAT_SPECIFIC (fs);
335 bs->hidden = PED_CPU_TO_LE32 (fs
381 fat_boot_sector_write(const FatBootSector* bs, PedFileSystem* fs) argument
398 fat_info_sector_read(FatInfoSector* is, const PedFileSystem* fs) argument
422 fat_info_sector_generate(FatInfoSector* is, const PedFileSystem* fs) argument
442 fat_info_sector_write(const FatInfoSector* is, PedFileSystem *fs) argument
[all...]
H A Dcount.c96 print_chain (PedFileSystem* fs, FatCluster start) argument
98 FatSpecific* fs_info = FAT_SPECIFIC (fs);
131 flag_traverse_fat (PedFileSystem* fs, const char* chain_name, FatCluster start, argument
134 FatSpecific* fs_info = FAT_SPECIFIC (fs);
220 PedFileSystem* fs = trav_info->fs; local
236 if (!fat_dir_entry_has_first_cluster (this_entry, fs))
242 first_cluster = fat_dir_entry_get_first_cluster(this_entry, fs);
248 print_chain (fs, first_cluster);
275 if (!flag_traverse_fat (fs, file_nam
297 _mark_bad_clusters(PedFileSystem* fs) argument
315 fat_collect_cluster_info(PedFileSystem* fs) argument
342 fat_get_cluster_flag(PedFileSystem* fs, FatCluster cluster) argument
350 fat_get_cluster_usage(PedFileSystem* fs, FatCluster cluster) argument
366 fat_get_fragment_flag(PedFileSystem* fs, FatFragment frag) argument
389 fat_is_fragment_active(PedFileSystem* fs, FatFragment frag) argument
[all...]
H A Dtraverse.c45 FatSpecific* fs_info = FAT_SPECIFIC (trav_info->fs);
56 FatSpecific* fs_info = FAT_SPECIFIC (trav_info->fs);
58 if (!ped_geometry_write (trav_info->fs->geom, trav_info->dir_entries,
62 if (!ped_geometry_sync (trav_info->fs->geom))
71 if (!fat_write_sync_cluster (trav_info->fs,
91 FatSpecific* fs_info = FAT_SPECIFIC (trav_info->fs);
111 return fat_read_cluster (trav_info->fs, (void *) trav_info->dir_entries,
123 fat_traverse_begin (PedFileSystem* fs, FatCluster start_cluster, argument
126 FatSpecific* fs_info = FAT_SPECIFIC (fs);
137 trav_info->fs
230 fat_dir_entry_get_first_cluster(FatDirEntry* dir_entry, PedFileSystem *fs) argument
249 fat_dir_entry_set_first_cluster(FatDirEntry* dir_entry, PedFileSystem* fs, FatCluster cluster) argument
323 fat_dir_entry_has_first_cluster(FatDirEntry* dir_entry, PedFileSystem* fs) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dprobe.c28 #include <grub/fs.h>
43 {"fs", 'f', 0, N_("Determine filesystem type."), 0, 0},
44 {"fs-uuid", 'u', 0, N_("Determine filesystem UUID."), 0, 0},
54 grub_fs_t fs; local
97 fs = grub_fs_probe (dev);
98 if (! fs)
99 return grub_error (GRUB_ERR_UNKNOWN_FS, "unrecognised fs");
103 grub_env_set (state[0].arg, fs->name);
105 grub_printf ("%s", fs->name);
111 if (! fs
[all...]
H A Dgptsync.c29 #include <grub/fs.h>
155 grub_fs_t fs = 0; local
157 fs = grub_fs_probe (dev);
162 fs = 0;
166 if (fs && grub_strcmp (fs->name, "ntfs") == 0)
168 else if (fs && grub_strcmp (fs->name, "fat") == 0)
171 else if (fs && (grub_strcmp (fs
[all...]
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dmnt.h47 char* fs; /* filesystem name */ member in struct:__anon1113
/osnet-11/usr/src/lib/libast/common/include/
H A Dmnt.h38 char* fs; /* filesystem name */ member in struct:__anon1147
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dmnt.h47 char* fs; /* filesystem name */ member in struct:__anon1207
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dmnt.h47 char* fs; /* filesystem name */ member in struct:__anon1229
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dmnt.h47 char* fs; /* filesystem name */ member in struct:__anon1251
/osnet-11/usr/src/lib/libc/port/gen/
H A Dstrtod.c48 fp_exception_field_type fs; local
67 __hex_to_double(&dr, mr.rd, &x, &fs);
69 decimal_to_double(&x, &mr, &dr, &fs);
70 if (fs & ((1 << fp_overflow) | (1 << fp_underflow)))
81 fp_exception_field_type fs; local
98 __hex_to_single(&dr, mr.rd, &x, &fs);
100 decimal_to_single(&x, &mr, &dr, &fs);
101 if (fs & ((1 << fp_overflow) | (1 << fp_underflow)))
112 fp_exception_field_type fs; local
124 __hex_to_quadruple(&dr, mr.rd, &x, &fs);
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/hfs/
H A Dfile.c43 hfs_file_open (PedFileSystem *fs, uint32_t CNID, argument
51 file->fs = fs;
79 file->fs->type_specific;
106 file->fs->type_specific;
196 return ped_geometry_read (file->fs->geom, buf, abs_sector, 1);
226 return ped_geometry_write (file->fs->geom, buf, abs_sector, 1);
H A Dfile_plus.c45 hfsplus_file_open (PedFileSystem *fs, HfsPNodeID CNID, argument
53 file->fs = fs;
81 file->fs->type_specific;
113 file->fs->type_specific;
194 file->fs->type_specific;
237 file->fs->type_specific;
/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Dcorecmd.c132 grub_fs_t fs; local
140 fs = grub_fs_probe (dev);
159 device_name, fs ? fs->name : "unknown");
161 else if (fs)
163 (fs->dir) (dev, path, grub_mini_print_files);
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dfs.h0 /* fs.h - filesystem manager */
105 grub_fs_register (grub_fs_t fs) argument
107 grub_list_push (GRUB_AS_LIST_P (&grub_fs_list), GRUB_AS_LIST (fs));
112 grub_fs_unregister (grub_fs_t fs) argument
114 grub_list_remove (GRUB_AS_LIST_P (&grub_fs_list), GRUB_AS_LIST (fs));

Completed in 1391 milliseconds

1234