Searched defs:fs (Results 26 - 50 of 89) sorted by relevance

1234

/osnet-11/usr/src/lib/libparted/common/libparted/fs/hfs/
H A Djournal.c58 hfsj_update_jib(PedFileSystem* fs, uint32_t block) argument
61 fs->type_specific;
65 if (!hfsplus_update_vh (fs))
73 hfsj_update_jl(PedFileSystem* fs, uint32_t block) argument
79 fs->type_specific;
126 hfsj_replay_transaction(PedFileSystem* fs, HfsJJournalHeader* jh, argument
131 fs->type_specific;
188 r = ped_geometry_write (fs->geom, block, sector,
201 && (priv_data->plus_geom != fs->geom)
203 + fs
227 hfsj_replay_journal(PedFileSystem* fs) argument
[all...]
H A Dadvfs.c171 and store it in f.s. specific data of fs */
173 hfs_read_bad_blocks (const PedFileSystem *fs) argument
176 fs->type_specific;
243 hfs_is_bad_block (const PedFileSystem *fs, unsigned int fblock) argument
246 fs->type_specific;
267 hfs_get_empty_end (const PedFileSystem *fs) argument
270 fs->type_specific;
275 if (!hfs_read_bad_blocks (fs))
308 hfs_find_start_pack (const PedFileSystem *fs, unsigned int fblock) argument
311 fs
[all...]
H A Dadvfs_plus.c177 and store it in f.s. specific data of fs */
179 hfsplus_read_bad_blocks (const PedFileSystem *fs) argument
182 fs->type_specific;
251 hfsplus_is_bad_block (const PedFileSystem *fs, unsigned int fblock) argument
254 fs->type_specific;
273 hfsplus_get_empty_end (const PedFileSystem *fs) argument
276 fs->type_specific;
281 if (!hfsplus_read_bad_blocks (fs)) {
317 hfsplus_get_min_size (const PedFileSystem *fs) argument
320 fs
362 hfsplus_find_start_pack(const PedFileSystem *fs, unsigned int fblock) argument
[all...]
H A Dreloc.c47 hfs_effect_move_extent (PedFileSystem *fs, unsigned int *ptr_fblock, argument
51 fs->type_specific;
121 if (!ped_geometry_read (fs->geom, hfs_block, abs_sector,
127 if (!ped_geometry_write (fs->geom,hfs_block,abs_sector,
141 if (!ped_geometry_sync_fast (fs->geom))
163 hfs_update_mdb (PedFileSystem *fs) argument
166 fs->type_specific;
169 if (!ped_geometry_read (fs->geom, node, 2, 1))
172 if ( !ped_geometry_write (fs->geom, node, 2, 1)
173 || !ped_geometry_write (fs
182 hfs_do_move(PedFileSystem* fs, unsigned int *ptr_src, unsigned int *ptr_dest, HfsCPrivateCache* cache, HfsCPrivateExtent* ref) argument
269 hfs_save_allocation(PedFileSystem* fs) argument
290 hfs_move_extent_starting_at(PedFileSystem *fs, unsigned int *ptr_fblock, unsigned int *ptr_to_fblock, HfsCPrivateCache* cache) argument
319 hfs_cache_from_mdb(HfsCPrivateCache* cache, PedFileSystem* fs, PedTimer* timer) argument
363 hfs_cache_from_catalog(HfsCPrivateCache* cache, PedFileSystem* fs, PedTimer* timer) argument
458 hfs_cache_from_extent(HfsCPrivateCache* cache, PedFileSystem* fs, PedTimer* timer) argument
556 hfs_cache_extents(PedFileSystem *fs, PedTimer* timer) argument
586 hfs_pack_free_space_from_block(PedFileSystem *fs, unsigned int fblock, PedTimer* timer, unsigned int to_free) argument
[all...]
H A Dreloc_plus.c51 hfsplus_effect_move_extent (PedFileSystem *fs, unsigned int *ptr_fblock, argument
55 fs->type_specific;
166 hfsplus_update_vh (PedFileSystem *fs) argument
169 fs->type_specific;
184 hfsplus_do_move (PedFileSystem* fs, unsigned int *ptr_src, argument
189 fs->type_specific;
195 new_start = hfsplus_effect_move_extent (fs, ptr_src, ptr_dest,
230 if (!hfsplus_update_vh(fs))
236 if (!hfsj_update_jib(fs, new_start))
241 if (!hfsj_update_jl(fs, new_star
324 hfsplus_save_allocation(PedFileSystem *fs) argument
357 hfsplus_move_extent_starting_at(PedFileSystem *fs, unsigned int *ptr_fblock, unsigned int *ptr_to_fblock, HfsCPrivateCache* cache) argument
382 hfsplus_cache_from_vh(HfsCPrivateCache* cache, PedFileSystem* fs, PedTimer* timer) argument
474 hfsplus_cache_from_catalog(HfsCPrivateCache* cache, PedFileSystem* fs, PedTimer* timer) argument
600 hfsplus_cache_from_extent(HfsCPrivateCache* cache, PedFileSystem* fs, PedTimer* timer) argument
714 hfsplus_cache_from_attributes(HfsCPrivateCache* cache, PedFileSystem* fs, PedTimer* timer) argument
825 hfsplus_cache_extents(PedFileSystem* fs, PedTimer* timer) argument
856 hfsplus_pack_free_space_from_block(PedFileSystem *fs, unsigned int fblock, PedTimer* timer, unsigned int to_free) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dls.c93 grub_fs_t fs; local
203 fs = grub_fs_probe (dev);
223 else if (fs)
226 (fs->dir) (dev, path, print_files_long);
228 (fs->dir) (dev, path, print_files);
H A Dtest.c24 #include <grub/fs.h>
65 grub_fs_t fs; local
93 fs = grub_fs_probe (dev);
94 if (! fs)
135 if (fs->mtime)
137 if (! fs->mtime (dev, &file_info.mtime))
143 (fs->dir) (dev, path, find_file);
H A Dwildcard.c22 #include <grub/fs.h>
275 grub_fs_t fs; local
327 fs = grub_fs_probe (dev);
328 if (! fs)
336 if ((err = fs->dir (dev, path, match)))
338 grub_dprintf ("expand", "fs->dir error is %d(%s)\n", err, grub_errmsg);
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dargp-fmtstream.c62 argp_fmtstream_t fs;
64 fs = (struct argp_fmtstream *) malloc (sizeof (struct argp_fmtstream));
65 if (fs != NULL)
67 fs->stream = stream;
69 fs->lmargin = lmargin;
70 fs->rmargin = rmargin;
71 fs->wmargin = wmargin;
72 fs->point_col = 0;
73 fs->point_offs = 0;
75 fs
61 argp_fmtstream_t fs; local
98 __argp_fmtstream_free(argp_fmtstream_t fs) argument
122 __argp_fmtstream_update(argp_fmtstream_t fs) argument
351 __argp_fmtstream_ensure(struct argp_fmtstream *fs, size_t amount) argument
402 __argp_fmtstream_printf(struct argp_fmtstream *fs, const char *fmt, ...) argument
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dfile.h26 #include <grub/fs.h>
35 grub_fs_t fs; member in struct:grub_file
/osnet-11/usr/src/grub/grub2/include/grub/i386/
H A Drelocator.h44 grub_uint16_t fs; member in struct:grub_relocator16_state
/osnet-11/usr/src/lib/libc/port/i18n/
H A Dwstod.c60 fp_exception_field_type fs; local
76 __hex_to_double(&dr, mr.rd, &x, &fs);
78 decimal_to_double(&x, &mr, &dr, &fs);
79 if (fs & ((1 << fp_overflow) | (1 << fp_underflow)))
90 fp_exception_field_type fs; local
106 __hex_to_single(&dr, mr.rd, &x, &fs);
108 decimal_to_single(&x, &mr, &dr, &fs);
109 if (fs & ((1 << fp_overflow) | (1 << fp_underflow)))
120 fp_exception_field_type fs; local
131 __hex_to_extended(&dr, mr.rd, (extended *)&x, &fs);
[all...]
/osnet-11/usr/src/lib/libuvfs/common/
H A Ddoor.c53 libuvfs_default_success(struct libuvfs_fs *fs, void *varg, size_t size, argument
79 libuvfs_callback_door_unref(libuvfs_fs_t *fs) argument
81 (void) mutex_lock(&fs->fs_lock);
82 fs->fs_flags &= ~LIBUVFS_FS_FLAG_DOOR_VALID;
83 (void) cond_broadcast(&fs->fs_daemon_cv);
84 (void) mutex_unlock(&fs->fs_lock);
94 libuvfs_fs_t *fs = vfs; local
106 libuvfs_callback_door_unref(fs);
117 * No need to take locks on fs, since callbacks may not change after
120 reg = &fs
144 libuvfs_register_callback(libuvfs_fs_t *fs, const libuvfs_callback_reg_t *reg) argument
162 libuvfs_register_callbacks(libuvfs_fs_t *fs, const libuvfs_callback_reg_t *callbacks) argument
209 libuvfs_fs_t *fs = vfs; local
225 libuvfs_daemon_ready(libuvfs_fs_t *fs) argument
[all...]
H A Dstash.c59 libuvfs_stash_get_impl(libuvfs_fs_t *fs, libuvfs_fid_t *fid, uint32_t key, argument
70 found = avl_find(&fs->fs_stash, &nkey, where);
76 libuvfs_stash_fid_get(libuvfs_fs_t *fs, libuvfs_fid_t *fid, uint32_t key, argument
81 (void) mutex_lock(&fs->fs_stash_lock);
82 exist = libuvfs_stash_get_impl(fs, fid, key, NULL);
83 (void) mutex_unlock(&fs->fs_stash_lock);
93 libuvfs_stash_fs_get(libuvfs_fs_t *fs, uint32_t key, int *found) argument
99 return (libuvfs_stash_fid_get(fs, &fid, key, found));
103 libuvfs_stash_fid_store(libuvfs_fs_t *fs, libuvfs_fid_t *fid, uint32_t key, argument
110 (void) mutex_lock(&fs
133 libuvfs_stash_fid_remove(libuvfs_fs_t *fs, libuvfs_fid_t *fid, uint32_t key) argument
139 libuvfs_stash_fs_store(libuvfs_fs_t *fs, uint32_t key, int overwrite, void *value) argument
150 libuvfs_stash_fs_remove(libuvfs_fs_t *fs, uint32_t key) argument
172 libuvfs_stash_fs_construct(libuvfs_fs_t *fs) argument
180 libuvfs_stash_fs_destroy(libuvfs_fs_t *fs) argument
186 libuvfs_stash_fs_free(libuvfs_fs_t *fs) argument
[all...]
H A Dfs.c51 libuvfs_init_callbacks(libuvfs_fs_t *fs) argument
57 fs->fs_callback[i].lcr_callback = NULL;
60 fs->fs_callback[reg->lcr_optag] = *reg;
64 libuvfs_fs_rand(libuvfs_fs_t *fs) argument
68 fs->fs_fid_random = rand();
76 fs->fs_fid_random ^= better;
83 libuvfs_fs_t *fs; local
88 fs = umem_cache_alloc(libuvfs_fs_cache, UMEM_NOFAIL);
90 fs->fs_dev = -1;
91 fs
118 libuvfs_destroy_fs(libuvfs_fs_t *fs) argument
139 libuvfs_fs_t *fs = vfs; local
156 libuvfs_fs_t *fs = vfs; local
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dext2.c35 int ext2_copy_block(struct ext2_fs *fs, blk_t from, blk_t to) argument
37 unsigned char* buf = ped_malloc (fs->blocksize);
39 if (!ext2_bcache_flush(fs, from)) return 0;
40 if (!ext2_bcache_flush(fs, to)) return 0;
42 if (!ext2_read_blocks(fs, buf, from, 1)) return 0;
43 if (!ext2_write_blocks(fs, buf, to, 1)) return 0;
48 int ext2_get_block_state(struct ext2_fs *fs, blk_t block) argument
55 block -= EXT2_SUPER_FIRST_DATA_BLOCK(fs->sb);
56 group = block / EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb);
57 offset = block % EXT2_SUPER_BLOCKS_PER_GROUP(fs
66 ext2_find_free_block(struct ext2_fs *fs) argument
95 ext2_find_free_inode(struct ext2_fs *fs) argument
120 ext2_move_blocks(struct ext2_fs *fs, blk_t src, blk_t num, blk_t dest) argument
157 ext2_read_blocks(struct ext2_fs *fs, void *ptr, blk_t block, blk_t num) argument
162 ext2_set_block_state(struct ext2_fs *fs, blk_t block, int state, int updatemetadata) argument
195 ext2_write_blocks(struct ext2_fs *fs, void *ptr, blk_t block, blk_t num) argument
200 ext2_zero_blocks(struct ext2_fs *fs, blk_t block, blk_t num) argument
261 ext2_get_inode_offset(struct ext2_fs *fs, ino_t inode, blk_t *block) argument
278 ext2_get_inode_state(struct ext2_fs *fs, ino_t inode) argument
296 ext2_read_inode(struct ext2_fs *fs, ino_t inode, struct ext2_inode *data) argument
313 ext2_set_inode_state(struct ext2_fs *fs, ino_t inode, int state, int updatemetadata) argument
349 _inode_update_size(struct ext2_fs *fs, struct ext2_inode *inode, int delta) argument
363 ext2_do_inode(struct ext2_fs *fs, struct ext2_inode *inode, blk_t block, int action) argument
521 ext2_write_inode(struct ext2_fs *fs, ino_t inode, const struct ext2_inode *data) argument
539 ext2_zero_inode(struct ext2_fs *fs, ino_t inode) argument
572 ext2_is_group_sparse(struct ext2_fs *fs, int group) argument
583 ext2_close(struct ext2_fs *fs) argument
596 ext2_commit_metadata(struct ext2_fs *fs, int copies) argument
664 ext2_sync(struct ext2_fs *fs) argument
674 struct ext2_fs *fs; local
[all...]
H A Dext2_inode_relocator.c99 static int addref(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, ino_t inode, blk_t block, off_t offset) argument
128 static int doblock(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, blk_t blockno) argument
133 bh = ext2_bread(fs, blockno);
145 if (!addref(fs, state, EXT2_DIRENT_INODE(*ptr), blockno,
151 } while (offset < fs->blocksize);
157 static int doindblock(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, blk_t blockno) argument
163 bh = ext2_bread(fs, blockno);
165 for (i=0;i<(fs->blocksize>>2);i++)
167 if (!doblock(fs, state, blk))
174 static int dodindblock(struct ext2_fs *fs, struc argument
193 dotindblock(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, blk_t blockno) argument
212 doinode(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, ino_t inode) argument
244 doscangroup(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, int group) argument
285 doscan(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument
323 ext2_inode_relocator_copy(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument
353 ext2_inode_relocator_finish(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument
373 ext2_inode_relocator_ref(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument
451 ext2_inode_relocator_grab_inodes(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument
491 ext2_inode_relocator_flush(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument
522 ext2_inode_relocator_mark(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, ino_t inode) argument
562 ext2_inode_relocate(struct ext2_fs *fs, int newgroups) argument
[all...]
H A Dinterface.c147 PedFileSystem* fs; local
151 fs = (PedFileSystem*) ped_malloc (sizeof (PedFileSystem));
152 if (!fs) goto error;
154 fs->type = &_ext2_type;
155 fs->geom = ped_geometry_duplicate (geom);
156 fs->checked = 1;
158 handle = ext2_make_dev_handle_from_parted_geometry(fs->geom);
164 fs->type_specific = (void*) fs_info;
167 return fs;
172 free(fs);
180 PedFileSystem* fs; local
210 _ext2_close(PedFileSystem *fs) argument
223 _ext2_check(PedFileSystem *fs, PedTimer* timer) argument
232 _ext2_resize(PedFileSystem* fs, PedGeometry* geom, PedTimer* timer) argument
288 _ext2_get_resize_constraint(const PedFileSystem* fs) argument
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dcalc.c104 fat_check_resize_geometry (const PedFileSystem* fs, argument
109 FatSpecific* fs_info = FAT_SPECIFIC (fs);
364 fat_is_sector_in_clusters (const PedFileSystem* fs, PedSector sector) argument
366 FatSpecific* fs_info = FAT_SPECIFIC (fs);
374 fat_cluster_to_frag (const PedFileSystem* fs, FatCluster cluster) argument
376 FatSpecific* fs_info = FAT_SPECIFIC (fs);
385 fat_frag_to_cluster (const PedFileSystem* fs, FatFragment frag) argument
387 FatSpecific* fs_info = FAT_SPECIFIC (fs);
395 fat_frag_to_sector (const PedFileSystem* fs, FatFragment frag) argument
397 FatSpecific* fs_info = FAT_SPECIFIC (fs);
405 fat_sector_to_frag(const PedFileSystem* fs, PedSector sector) argument
415 fat_cluster_to_sector(const PedFileSystem* fs, FatCluster cluster) argument
427 fat_sector_to_cluster(const PedFileSystem* fs, PedSector sector) argument
[all...]
H A Dtable.c118 fat_table_read (FatTable* ft, const PedFileSystem* fs, int table_num) argument
120 FatSpecific* fs_info = FAT_SPECIFIC (fs);
126 if (!ped_geometry_read (fs->geom, (void *) ft->table,
153 fat_table_write (const FatTable* ft, PedFileSystem* fs, int table_num) argument
155 FatSpecific* fs_info = FAT_SPECIFIC (fs);
159 if (!ped_geometry_write (fs->geom, (void *) ft->table,
164 if (!ped_geometry_sync (fs->geom))
171 fat_table_write_all (const FatTable* ft, PedFileSystem* fs) argument
173 FatSpecific* fs_info = FAT_SPECIFIC (fs);
177 if (!fat_table_write (ft, fs,
347 fat_table_alloc_check_cluster(FatTable* ft, PedFileSystem* fs) argument
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ntfs/
H A Dntfs.c82 PedFileSystem* fs; local
86 fs = (PedFileSystem*) ped_malloc (sizeof (PedFileSystem));
87 if (!fs)
90 fs->type = &ntfs_type;
91 fs->geom = ped_geometry_duplicate (geom);
92 fs->checked = 1; /* XXX */
93 fs->type_specific = NULL;
95 return fs;
194 * Returns new fs on success, NULL on failure.
200 PedFileSystem* fs local
251 ntfs_close(PedFileSystem *fs) argument
266 ntfs_check(PedFileSystem *fs, PedTimer *timer) argument
313 ntfs_copy(const PedFileSystem *fs, PedGeometry *geom, PedTimer *timer) argument
379 ntfs_resize(PedFileSystem* fs, PedGeometry* geom, PedTimer* timer) argument
502 _get_min_resize_size(const PedFileSystem* fs) argument
527 ntfs_get_copy_constraint(const PedFileSystem* fs, const PedDevice* dev) argument
544 ntfs_get_resize_constraint(const PedFileSystem* fs) argument
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Did.c105 register struct fsg* fs; local
118 while (fs = getfsgnam(name))
119 if (!isfsg(fs))
121 if (p = fs->fs_mem)
159 while (fs = getfsgnam(s))
160 if (isfsg(fs))
162 if (flags < 0) sfprintf(sp, "%u", fs->fs_id);
163 else sfprintf(sp, "%u(%s)", fs->fs_id, s);
202 register struct fsg* fs; local
266 if (!(fs
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_init.c27 const_profile_filespec_t *fs; local
43 for (fs = files; !PROFILE_LAST_FILESPEC(*fs); fs++) {
44 retval = profile_open_file(*fs, &new_file);
/osnet-11/usr/src/grub/grub2/grub-core/normal/
H A Dcompletion.c241 grub_fs_t fs;
256 fs = grub_fs_probe (dev);
257 if (! fs)
284 (fs->dir) (dev, dir, iterate_dir);
240 grub_fs_t fs; local
/osnet-11/usr/src/lib/libc/i386/threads/
H A Dmachdep.c91 static greg_t fs, es, ds, cs, ss; local
101 fs = uc.uc_mcontext.gregs[FS];
110 ucp->uc_mcontext.gregs[FS] = fs;
212 greg_t fs, greg_t es, greg_t ds,
237 ucp->uc_mcontext.gregs[FS] = fs;
211 __csigsetjmp(greg_t cs, greg_t ss, greg_t gs, greg_t fs, greg_t es, greg_t ds, greg_t edi, greg_t esi, greg_t ebp, greg_t esp, greg_t ebx, greg_t edx, greg_t ecx, greg_t eax, greg_t eip, sigjmp_buf env, int savemask) argument

Completed in 1600 milliseconds

1234