Searched refs:cluster (Results 1 - 21 of 21) sorted by relevance

/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dtable.c245 _update_stats (FatTable* ft, FatCluster cluster, FatCluster value) argument
248 && !fat_table_is_available (ft, cluster)) {
250 if (fat_table_is_bad (ft, cluster))
255 && fat_table_is_available (ft, cluster)) {
257 if (_test_code_bad (ft, cluster))
263 fat_table_set (FatTable* ft, FatCluster cluster, FatCluster value) argument
265 if (cluster >= ft->cluster_count + 2) {
268 _("fat_table_set: cluster %ld outside "
270 (long) cluster);
274 _update_stats (ft, cluster, valu
295 fat_table_get(const FatTable* ft, FatCluster cluster) argument
327 FatCluster cluster; local
366 fat_table_is_bad(const FatTable* ft, FatCluster cluster) argument
375 fat_table_is_eof(const FatTable* ft, FatCluster cluster) argument
384 fat_table_is_available(const FatTable* ft, FatCluster cluster) argument
393 fat_table_is_empty(const FatTable* ft, FatCluster cluster) argument
403 fat_table_is_active(const FatTable* ft, FatCluster cluster) argument
413 fat_table_set_eof(FatTable* ft, FatCluster cluster) argument
435 fat_table_set_bad(FatTable* ft, FatCluster cluster) argument
458 fat_table_set_avail(FatTable* ft, FatCluster cluster) argument
[all...]
H A Dtable.h55 extern FatCluster fat_table_get (const FatTable* ft, FatCluster cluster);
56 extern int fat_table_set (FatTable* ft, FatCluster cluster, FatCluster value);
62 extern int fat_table_is_bad (const FatTable* ft, FatCluster cluster);
63 extern int fat_table_is_eof (const FatTable* ft, FatCluster cluster);
64 extern int fat_table_is_empty (const FatTable* ft, FatCluster cluster);
65 extern int fat_table_is_available (const FatTable* ft, FatCluster cluster);
66 extern int fat_table_is_active (const FatTable* ft, FatCluster cluster);
68 extern int fat_table_set_eof (FatTable* ft, FatCluster cluster);
69 extern int fat_table_set_avail (FatTable* ft, FatCluster cluster);
70 extern int fat_table_set_bad (FatTable* ft, FatCluster cluster);
[all...]
H A Dfatio.c90 fat_read_clusters (PedFileSystem* fs, char *buf, FatCluster cluster, argument
94 PedSector sector = fat_cluster_to_sector (fs, cluster);
97 PED_ASSERT (cluster >= 2
98 && cluster + count - 1 < fs_info->cluster_count + 2,
105 fat_read_cluster (PedFileSystem* fs, char *buf, FatCluster cluster) argument
107 return fat_read_clusters (fs, buf, cluster, 1);
111 fat_write_clusters (PedFileSystem* fs, char *buf, FatCluster cluster, argument
115 PedSector sector = fat_cluster_to_sector (fs, cluster);
118 PED_ASSERT (cluster >= 2
119 && cluster
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 Dfatio.h37 extern int fat_read_clusters (PedFileSystem* fs, char* buf, FatCluster cluster,
39 extern int fat_write_clusters (PedFileSystem* fs, char* buf, FatCluster cluster,
42 FatCluster cluster, FatCluster count);
44 extern int fat_read_cluster (PedFileSystem* fs, char *buf, FatCluster cluster);
45 extern int fat_write_cluster (PedFileSystem* fs, char *buf, FatCluster cluster);
47 FatCluster cluster);
H A Dcount.h49 FatCluster cluster);
50 extern PedSector fat_get_cluster_usage (PedFileSystem* fs, FatCluster cluster);
H A Dcount.c144 _("Bad directory entry for %s: first cluster is the "
166 _("Bad FAT: cluster %d outside file system "
176 _("Bad FAT: cluster %d is cross-linked for "
300 FatCluster cluster; local
302 for (cluster = 2; cluster < fs_info->cluster_count + 2; cluster++) {
303 if (fat_table_is_bad (fs_info->fat, cluster))
304 fs_info->cluster_info [cluster].flag = FAT_FLAG_BAD;
309 fills in cluster_info. Each FAT entry (= cluster) i
342 fat_get_cluster_flag(PedFileSystem* fs, FatCluster cluster) argument
350 fat_get_cluster_usage(PedFileSystem* fs, FatCluster cluster) argument
369 FatCluster cluster = fat_frag_to_cluster (fs, frag); local
[all...]
H A Dcalc.h60 fat_cluster_to_frag (const PedFileSystem* fs, FatCluster cluster);
72 fat_cluster_to_sector (const PedFileSystem* fs, FatCluster cluster);
H A Dcalc.c263 /* only make the cluster size really small (<4k) if a bigger one is
280 * cluster size. This is useful, because the FAT resizer can only shrink the
281 * cluster size.
299 /* libparted can only reduce the cluster size at this point */
312 to make the cluster on the new file system match up with the ones
374 fat_cluster_to_frag (const PedFileSystem* fs, FatCluster cluster) argument
378 PED_ASSERT (cluster >= 2 && cluster < fs_info->cluster_count + 2,
381 return (cluster - 2) * fs_info->cluster_frags;
415 fat_cluster_to_sector (const PedFileSystem* fs, FatCluster cluster) argument
[all...]
H A Dtraverse.c250 FatCluster cluster)
260 dir_entry->first_cluster = PED_CPU_TO_LE16 (cluster);
265 = PED_CPU_TO_LE16 (cluster & 0xffff);
267 = PED_CPU_TO_LE16 (cluster / 0x10000);
249 fat_dir_entry_set_first_cluster(FatDirEntry* dir_entry, PedFileSystem* fs, FatCluster cluster) argument
H A Dtraverse.h42 /* starts traversal at an arbitary cluster. if start_cluster==0, then uses
61 PedFileSystem* fs, FatCluster cluster);
H A Dresize.c205 clear_cluster (PedFileSystem* fs, FatCluster cluster) argument
210 fat_write_cluster (fs, fs_info->buffer, cluster);
213 /* This MUST be called BEFORE the fat_construct_new_fat(), because cluster
224 FatCluster cluster; local
234 cluster = fat_table_alloc_check_cluster (new_fs_info->fat,
236 if (!cluster)
238 ctx->new_root_dir [i] = cluster;
239 clear_cluster (ctx->new_fs, cluster);
366 FatCluster cluster; local
375 cluster
[all...]
H A Dclstdup.c31 FatCluster cluster = fat_frag_to_cluster (ctx->old_fs, frag); local
34 PED_ASSERT (cluster >= 2 && cluster < old_fs_info->cluster_count + 2,
310 /* assumes fragment size and new_fs's cluster size are equal */
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dargp-help.c377 /* The cluster of options this entry belongs to, or 0 if none. */
378 struct hol_cluster *cluster;
387 /* A cluster of entries to reflect the argp tree structure. */
390 /* A descriptive header printed before options in this cluster. */
398 /* How to sort this cluster with respect to options and other clusters at the
402 /* The cluster to which this cluster belongs, or 0 if it's at the base
406 /* The argp from which this cluster is (eventually) derived. */
409 /* The distance this cluster is from the root. */
438 make_hol (const struct argp *argp, struct hol_cluster *cluster)
373 struct hol_cluster *cluster; member in struct:hol_entry
432 make_hol(const struct argp *argp, struct hol_cluster *cluster) argument
1381 argp_hol(const struct argp *argp, struct hol_cluster *cluster) argument
[all...]
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dalias.c188 if (ap->cluster && (ap->alias_did != NULL)) {
H A Dslice.c208 /* if no cluster use, check for a use of the local name */
213 if (diskp->aliases != NULL && diskp->aliases->cluster) {
527 * Some extra attrs for cluster slices.
533 if (diskp->aliases != NULL && diskp->aliases->cluster) {
585 * cluster disk, since the minor name is unavailable for the did pseudo
H A Ddisks_private.h63 int cluster; member in struct:alias_info
H A Ddrive.c788 if (aliasp->cluster && (aliasp->alias_did != NULL)) {
812 if (aliasp->cluster && (aliasp->alias_did != NULL)) {
988 if (diskp->aliases != NULL && diskp->aliases->cluster) {
H A Dfindevs.c158 * devices. Finally, we get cluster devices.
171 /* do another pass to clean up cluster devpaths */
324 (void) fprintf(stderr, "INFO: cluster dev: %s\n", dev_name);
332 * Fix the devpaths for the cluster drive.
341 /* Walk the /dev tree to get the cluster devlinks. */
1132 /* Find the disk by the deviceid we read from the cluster disk. */
1141 (void) fprintf(stderr, "INFO: cluster devpath %s\n",
1163 "INFO: cluster create"
1190 (void) fprintf(stderr, "INFO: cluster found"
1197 * NOTE: if ap->next != NULL have cluster
[all...]
/osnet-11/usr/src/cmd/ntfsprogs/
H A DMakefile53 NTFSCLUSTEROBJS=ntfscluster.o cluster.o utils.o
H A Dntfsclone.c674 u64 cl, last_cl; /* current and last used cluster */
1109 s64 cl; /* current cluster */
1133 "(0x%llx): %s cluster in $Bitmap\n",
1141 Printf("Totally %d cluster accounting mismatches.\n", mismatch);
1305 static void bitmap_file_data_fixup(s64 cluster, struct bitmap *bm) argument
1307 for (; cluster < bm->size << 3; cluster++)
1308 ntfs_bit_set(bm->bm, (u64)cluster, 1);
1313 * Allocate a block of memory with one bit for each cluster of the disk.
1837 // FIXME: This needs to be the cluster siz
[all...]
H A Dntfsresize.c206 s64 last_unsupp; /* last unsupported cluster */
209 /* FIXME: This, lcn_bitmap and pos from find_free_cluster() will make a cluster
570 /* Take the next supported cluster (free or relocatable)
571 plus reserve a cluster for the backup boot sector */
768 * lcn_bitmap has one bit for each cluster on the disk. Initially, lcn_bitmap
770 * checked to ensure that no other file already references that cluster.
902 s64 cl; /* current cluster */
930 "(0x%llx): %s cluster in "
939 printf("Filesystem check failed! Totally %d cluster "
1491 ntfs_log_verbose("Splitting run at cluster
1851 bitmap_file_data_fixup(s64 cluster, struct bitmap *bm) argument
[all...]

Completed in 90 milliseconds