/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/ |
H A D | fat.c | 29 PedFileSystem* fs; local 31 fs = (PedFileSystem*) ped_malloc (sizeof (PedFileSystem)); 32 if (!fs) 35 fs->type_specific = (FatSpecific*) ped_malloc (sizeof (FatSpecific)); 36 if (!fs->type_specific) 39 fs->geom = ped_geometry_duplicate (geom); 40 if (!fs->geom) 43 fs->checked = 0; 44 return fs; 47 free (fs 56 fat_alloc_buffers(PedFileSystem* fs) argument 78 fat_free_buffers(PedFileSystem* fs) argument 87 fat_free(PedFileSystem* fs) argument 95 fat_set_frag_sectors(PedFileSystem* fs, PedSector frag_sectors) argument 115 PedFileSystem* fs; local 190 _init_fats(PedFileSystem* fs) argument 215 PedFileSystem* fs; local 255 fat_root_dir_clear(PedFileSystem* fs) argument 282 PedFileSystem* fs; local 426 fat_close(PedFileSystem* fs) argument 438 fat_copy(const PedFileSystem* fs, PedGeometry* geom, PedTimer* timer) argument 456 _compare_fats(PedFileSystem* fs) argument 495 fat_check(PedFileSystem* fs, PedTimer* timer) argument 588 _test_resize_size(const PedFileSystem* fs, PedSector length, PedSector min_data_size) argument 634 _get_min_resize_size(const PedFileSystem* fs, PedSector min_data_size) argument 655 fat_get_copy_constraint(const PedFileSystem* fs, const PedDevice* dev) argument 678 fat_get_resize_constraint(const PedFileSystem* fs) argument [all...] |
H A D | calc.h | 30 extern int fat_check_resize_geometry (const PedFileSystem* fs, 57 fat_is_sector_in_clusters (const PedFileSystem* fs, PedSector sector); 60 fat_cluster_to_frag (const PedFileSystem* fs, FatCluster cluster); 63 fat_frag_to_cluster (const PedFileSystem* fs, FatFragment frag); 66 fat_frag_to_sector (const PedFileSystem* fs, FatFragment frag); 69 fat_sector_to_frag (const PedFileSystem* fs, PedSector sector); 72 fat_cluster_to_sector (const PedFileSystem* fs, FatCluster cluster); 75 fat_sector_to_cluster (const PedFileSystem* fs, PedSector sector);
|
H A D | count.c | 96 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 D | traverse.c | 45 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...] |
H A D | traverse.h | 27 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 D | fat.h | 135 #define FAT_SPECIFIC(fs) ((FatSpecific*) fs->type_specific) 158 extern void fat_print (const PedFileSystem* fs); 161 extern void fat_free (PedFileSystem* fs); 162 extern int fat_alloc_buffers (PedFileSystem* fs); 163 extern void fat_free_buffers (PedFileSystem* fs); 165 extern int fat_resize (PedFileSystem* fs, PedGeometry* geom, PedTimer* timer); 167 extern int fat_set_frag_sectors (PedFileSystem* fs, PedSector frag_sectors);
|
/osnet-11/usr/src/lib/libzfs/ |
H A D | inc.flg | 30 find_files "s.*" usr/src/uts/common/fs/zfs/sys 31 echo_file usr/src/uts/common/sys/fs/zfs.h
|
/osnet-11/usr/src/lib/libzpool/ |
H A D | inc.flg | 30 find_files "s.*" usr/src/uts/common/fs/zfs/sys 31 echo_file usr/src/uts/common/sys/fs/zfs.h
|
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | misc.c | 22 #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/libparted/common/libparted/fs/hfs/ |
H A D | reloc.h | 29 hfs_update_mdb (PedFileSystem *fs); 32 hfs_pack_free_space_from_block (PedFileSystem *fs, unsigned int fblock,
|
H A D | reloc_plus.h | 29 hfsplus_update_vh (PedFileSystem *fs); 32 hfsplus_pack_free_space_from_block (PedFileSystem *fs, unsigned int fblock,
|
H A D | hfs.c | 64 /* Anyway clobber is call before other fs creation */ 86 PedFileSystem* fs; local 98 fs = (PedFileSystem*) ped_malloc (sizeof (PedFileSystem)); 99 if (!fs) goto ho; 115 hfs_file_open (fs, PED_CPU_TO_BE32 (HFS_XTENT_ID), 121 hfs_file_open (fs, PED_CPU_TO_BE32 (HFS_CATALOG_ID), 134 fs->type = &hfs_type; 135 fs->geom = ped_geometry_duplicate (geom); 136 if (!fs->geom) goto ho_cf; 137 fs 153 hfs_close(PedFileSystem *fs) argument 170 hfs_get_resize_constraint(const PedFileSystem *fs) argument 194 hfs_resize(PedFileSystem* fs, PedGeometry* geom, PedTimer* timer) argument 379 hfsplus_close(PedFileSystem *fs) argument 406 PedFileSystem* fs; local 573 hfsplus_get_resize_constraint(const PedFileSystem *fs) argument 597 hfsplus_volume_resize(PedFileSystem* fs, PedGeometry* geom, PedTimer* timer) argument 767 hfsplus_wrapper_update(PedFileSystem* fs) argument 910 hfsplus_resize(PedFileSystem* fs, PedGeometry* geom, PedTimer* timer) argument 1048 hfs_extract_bitmap(const char* filename, PedFileSystem* fs) argument 1081 hfs_extract_mdb(const char* filename, PedFileSystem* fs) argument 1101 hfs_extract(PedFileSystem* fs, PedTimer* timer) argument 1153 hfsplus_extract_vh(const char* filename, PedFileSystem* fs) argument 1179 hfsplus_extract(PedFileSystem* fs, PedTimer* timer) argument [all...] |
H A D | reloc.c | 47 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...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | strtod.c | 48 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/ext2/ |
H A D | interface.c | 147 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...] |
H A D | ext2_buffer.c | 166 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 D | ext2_mkfs.c | 2 ext2_mkfs.c -- ext2 fs creator 288 static int ext2_mkfs_create_lost_and_found_inode(struct ext2_fs *fs) argument 292 uint32_t* data = ped_malloc ((fs->blocksize / 4) * sizeof(uint32_t)); 299 if (!(blocks[i] = ext2_find_free_block(fs))) 302 if (!ext2_set_block_state(fs, blocks[i], 1, 1)) 308 bh = ext2_bcreate(fs, blocks[0]); 311 memset(bh->data, 0, fs->blocksize); 312 offset = _set_dirent(bh->data, 0, fs->blocksize, 0, 314 offset = _set_dirent(bh->data, offset, fs->blocksize, 1, 321 memset(data, 0, fs 357 ext2_mkfs_create_root_inode(struct ext2_fs *fs) argument 406 ext2_reserve_inodes(struct ext2_fs *fs) argument 518 struct ext2_fs *fs; local [all...] |
/osnet-11/usr/src/lib/libfuse/common/ |
H A D | fuse.h | 609 int fuse_fs_getattr(struct fuse_fs *fs, const char *path, struct stat *buf); 610 int fuse_fs_fgetattr(struct fuse_fs *fs, const char *path, struct stat *buf, 612 int fuse_fs_rename(struct fuse_fs *fs, const char *oldpath, 614 int fuse_fs_unlink(struct fuse_fs *fs, const char *path); 615 int fuse_fs_rmdir(struct fuse_fs *fs, const char *path); 616 int fuse_fs_symlink(struct fuse_fs *fs, const char *linkname, 618 int fuse_fs_link(struct fuse_fs *fs, const char *oldpath, const char *newpath); 619 int fuse_fs_release(struct fuse_fs *fs, const char *path, 621 int fuse_fs_open(struct fuse_fs *fs, const char *path, 623 int fuse_fs_read(struct fuse_fs *fs, cons [all...] |
H A D | fuse_uvfs.c | 40 #define FUSE_UVFS_FS(fs) libuvfs_stash_fs_get(fs, FUSE_FS_INFO, NULL) 128 fuse_uvfs_file_info_get(libuvfs_fs_t *fs, libuvfs_fid_t *fid, argument 140 if (libuvfs_name_fid_wrlock(fs, fid) != 0) 146 if ((rc = libuvfs_stash_fid_get(fs, fid, FUSE_FID_FFI, NULL)) != NULL) 152 len = libuvfs_name_path(fs, fid, 0, NULL, path, sizeof (path)); 170 ffi = libuvfs_stash_fid_store(fs, fid, FUSE_FID_FFI, B_TRUE, rc); 186 (void) libuvfs_name_fid_unlock(fs, fid); 204 fuse_uvfs_stat_convert(libuvfs_fs_t *fs, libuvfs_stat_t *stat, argument 234 if ((rootfid = libuvfs_stash_fs_get(fs, FUSE_ROOT_FI 256 fuse_uvfs_fs_init(libuvfs_fs_t *fs, struct fuse_fs *fuse_fs) argument 274 fuse_uvfs_vfsroot(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 301 fuse_uvfs_vget(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 333 fuse_uvfs_statvfs(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 358 fuse_uvfs_remove_hidden(libuvfs_fs_t *fs, struct fuse_fs *fuse_fs, libuvfs_fid_t *fid, struct stat *statbuf) argument 388 fuse_uvfs_close_common(libuvfs_fs_t *fs, libuvfs_fid_t *fid, uint64_t count) argument 456 fuse_uvfs_close(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 474 fuse_uvfs_lookup(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 521 fuse_uvfs_open(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 537 fuse_uvfs_addmap(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 553 fuse_uvfs_delmap(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 575 libuvfs_fs_t *fs = dirhp->dh_fs; local 646 fuse_uvfs_readdir(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 799 fuse_uvfs_getattr(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 832 fuse_uvfs_symlink(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 863 fuse_uvfs_readlink(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 902 fuse_uvfs_link(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 941 fuse_uvfs_hide_node(libuvfs_fs_t *fs, libuvfs_fid_t *dirfid, libuvfs_fid_t *fid, char *dirpath, char *name) argument 1016 fuse_uvfs_rmdir(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 1074 fuse_uvfs_remove(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 1134 fuse_uvfs_rename(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 1216 fuse_uvfs_setattr(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 1300 fuse_uvfs_read(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 1366 fuse_uvfs_write(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 1419 fuse_uvfs_create(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 1479 fuse_uvfs_mkdir(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 1535 fuse_uvfs_space(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 1564 fuse_uvfs_fsync(libuvfs_fs_t *fs, void *varg, size_t argsize, ucred_t *cr) argument 1646 fuse_fs_init(struct fuse_fs *fs, struct fuse_conn_info *conn) argument 1653 fuse_fs_destroy(struct fuse_fs *fs) argument 1671 struct fuse_fs *fs; local [all...] |
/osnet-11/usr/src/lib/libparted/common/include/parted/ |
H A D | filesys.h | 45 int (*close) (PedFileSystem* fs); 46 int (*check) (PedFileSystem* fs, PedTimer* timer); 47 PedFileSystem* (*copy) (const PedFileSystem* fs, PedGeometry* geom, 49 int (*resize) (PedFileSystem* fs, PedGeometry* geom, PedTimer* timer); 52 PedConstraint* (*get_resize_constraint) (const PedFileSystem* fs); 53 PedConstraint* (*get_copy_constraint) (const PedFileSystem* fs, 118 extern int ped_file_system_close (PedFileSystem* fs); 119 extern int ped_file_system_check (PedFileSystem* fs, PedTimer* timer); 120 extern PedFileSystem* ped_file_system_copy (PedFileSystem* fs, 123 extern int ped_file_system_resize (PedFileSystem* fs, PedGeometr [all...] |
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ntfs/ |
H A D | ntfs.c | 82 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/libparted/common/libparted/ |
H A D | filesys.c | 201 /* Fail all fs-specific probe-related tests when sector size 216 PedFileSystem* fs; local 219 fs = fs_type->ops->open (geom); 220 if (fs) 221 fs_type->ops->close (fs); 225 return fs != NULL; 437 * fs = ped_file_system_open (&part.geom) 451 PedFileSystem* fs; local 487 fs = type->ops->open (probed_geom); 488 if (!fs) 515 PedFileSystem* fs; local 551 ped_file_system_close(PedFileSystem* fs) argument 576 ped_file_system_check(PedFileSystem* fs, PedTimer* timer) argument 642 _raw_copy_and_resize(const PedFileSystem* fs, PedGeometry* geom, PedTimer* timer) argument 687 ped_file_system_copy(PedFileSystem* fs, PedGeometry* geom, PedTimer* timer) argument 766 ped_file_system_resize(PedFileSystem* fs, PedGeometry* geom, PedTimer* timer) argument 822 ped_file_system_get_resize_constraint(const PedFileSystem* fs) argument 838 ped_file_system_get_copy_constraint(const PedFileSystem* fs, const PedDevice* dev) argument [all...] |
/osnet-11/usr/src/lib/libc/amd64/threads/ |
H A D | tls_get_addr.s | 55 movq %fs:UL_TLSENT, %rax 57 cmpq %fs:UL_NTLSENT, %rdx
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/reiserfs/ |
H A D | reiserfs.c | 255 PedFileSystem *fs; local 273 if (!(fs = (PedFileSystem *) ped_malloc(sizeof(PedFileSystem)))) 279 fs->type = reiserfs_type; 280 fs->geom = fs_geom; 281 fs->type_specific = (void *) fs_info; 283 return fs; 286 free(fs); 299 PedFileSystem *fs; local 336 if (!(fs = (PedFileSystem *) ped_malloc(sizeof(PedFileSystem)))) 339 fs 357 reiserfs_close(PedFileSystem *fs) argument 388 reiserfs_check(PedFileSystem *fs, PedTimer *timer) argument 456 reiserfs_resize(PedFileSystem *fs, PedGeometry *geom, PedTimer *timer) argument 541 reiserfs_get_resize_constraint(const PedFileSystem * fs) argument 576 reiserfs_copy(const PedFileSystem *fs, PedGeometry *geom, PedTimer *timer) argument 650 reiserfs_get_copy_constraint(const PedFileSystem *fs, const PedDevice *dev) argument [all...] |
/osnet-11/usr/src/lib/libshadowtest/common/ |
H A D | libshadowtest.h | 30 #include <sys/fs/shadow.h>
|