Searched refs:clusters (Results 1 - 13 of 13) sorted by path

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dmformat.c163 #define MAX_DISK_SIZE(bits,clusters) \
164 TOTAL_DISK_SIZE((bits), Fs->sector_size, (clusters), \
237 #define MY_DISK_SIZE(bits,clusters) \
238 DISK_SIZE( (bits), Fs->sector_size, (clusters), \
437 fprintf(stderr,"Too few clusters for this fat size."
443 /* As the number of clusters is specified nowhere in the boot sector,
445 * of sectors. This means that if we reduced the number of clusters
478 /* Fat must be big enough for all clusters */
H A Dmsdos.h216 #define FAT12 4085 /* max. number of clusters described by a 12 bit FAT */
217 #define FAT16 65525 /* max number of clusters for a 16 bit FAT */
242 #define FAT_SIZE(bits, sec_siz, clusters) \
243 ((((clusters)+2) * ((bits)/4) - 1) / 2 / (sec_siz) + 1)
248 /* disk size taken by FAT and clusters */
249 #define DISK_SIZE(bits, sec_siz, clusters, n, cluster_size) \
250 ((n) * FAT_SIZE(bits, sec_siz, clusters) + \
251 (clusters) * (cluster_size))
253 #define TOTAL_DISK_SIZE(bits, sec_siz, clusters, n, cluster_size) \
254 (DISK_SIZE(bits, sec_siz, clusters,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Dlcnalloc.c143 * ntfs_cluster_alloc - allocate clusters on an ntfs volume
144 * @vol: mounted ntfs volume on which to allocate the clusters
146 * @count: number of clusters to allocate
147 * @start_lcn: starting lcn at which to allocate the clusters (or -1 if none)
148 * @zone: zone from which to allocate the clusters
150 * Allocate @count clusters preferably starting at cluster @start_lcn or at the
152 * @vol. @zone is either DATA_ZONE for allocation of normal clusters and
153 * MFT_ZONE for allocation of clusters for the master file table, i.e. the
189 s64 clusters, br; local
259 /* Loop until all clusters ar
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/kernel/
H A Dapic.c1077 int i, clusters, zeros; local
1090 * the APIC clusters they have been allocated. Only present CPUs have
1092 * clusters are allocated sequentially, count zeros only if they are
1095 clusters = 0;
1099 clusters += 1 + zeros;
1106 * If clusters > 2, then should be multi-chassis.
1110 return (clusters > 2);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/dlm/
H A Dconfig.c35 struct clusters;
255 struct clusters { struct
598 static struct clusters clusters_root = {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ntfs/
H A Dlcnalloc.c37 * ntfs_cluster_free_from_rl_nolock - free clusters from runlist
38 * @vol: mounted ntfs volume on which to free the clusters
39 * @rl: runlist describing the clusters to free
41 * Free all the clusters described by the runlist @rl on the volume @vol. In
42 * the case of an error being returned, at least some of the clusters were not
79 s64 clusters; local
178 /* Loop until all clusters are allocated, i.e. clusters == 0. */
179 clusters = count;
193 /* Loop until we run out of free clusters
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/
H A Dalloc.c435 * ocfs2_shift_tree_depth() uses this to determine the # clusters
1219 * moving cpos - we will need to adjust clusters after
1779 "rec.cpos %u, rec.clusters %u, "
1780 "insert.cpos %u, insert.clusters %u\n",
1810 u32 clusters)
1812 le32_add_cpu(&di->i_clusters, clusters);
2312 mlog(0, "add %u clusters at position %u to inode %llu\n",
2318 "cpos %u, clusters %u\n",
2390 /* Finally, we can add clusters. This might rotate the tree for us. */
2492 mlog(0, "Log truncate of %u clusters startin
1808 ocfs2_update_dinode_clusters(struct inode *inode, struct ocfs2_dinode *di, u32 clusters) argument
2830 unsigned int clusters, num_recs, start_cluster; local
[all...]
H A Dextent_map.c108 * Forget about all clusters equal to or greater than cpos.
366 * return the maximum number of clusters we could
392 u32 rec_end, rec_start, clusters; local
398 clusters = ocfs2_rec_clusters(el, rec);
400 rec_end = rec_start + clusters;
H A Dfile.c482 mlog(0, "Allocating %u clusters at block %u for inode %llu\n",
502 mlog(0, "need to alloc once more, clusters = %u, wanted = "
901 * Call this even if we don't add any clusters to the tree. We
1133 u32 cpos, clusters, extent_len, phys_cpos; local
1137 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos;
1139 while (clusters) {
1152 if (extent_len > clusters)
1153 extent_len = clusters;
1155 clusters -= extent_len;
1170 u32 clusters; local
[all...]
H A Docfs2.h399 u32 clusters)
404 return (u64)clusters << c_to_b_bits;
420 unsigned int clusters; local
423 /* OCFS2 just cannot have enough clusters to overflow this */
424 clusters = (unsigned int)(bytes >> cl_bits);
426 return clusters;
437 u32 clusters)
439 return (u64)clusters << OCFS2_SB(sb)->s_clustersize_bits;
446 unsigned int clusters; local
448 clusters
398 ocfs2_clusters_to_blocks(struct super_block *sb, u32 clusters) argument
436 ocfs2_clusters_to_bytes(struct super_block *sb, u32 clusters) argument
469 u32 clusters = pg_index; local
483 ocfs2_align_clusters_to_page_index(struct super_block *sb, u32 clusters) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/tipc/
H A Dcluster.h88 return z_ptr->clusters[1];
H A Dzone.c74 tipc_cltr_delete(z_ptr->clusters[c_num]);
85 assert(z_ptr->clusters[c_num] == 0);
86 z_ptr->clusters[c_num] = c_ptr;
94 if (z_ptr->clusters[c_num]) {
95 tipc_cltr_remove_as_router(z_ptr->clusters[c_num],
106 if (z_ptr->clusters[c_num]) {
109 tipc_cltr_send_ext_routes(z_ptr->clusters[c_num], dest);
122 c_ptr = z_ptr->clusters[tipc_cluster(addr)];
129 /* Links to any other clusters within this zone ? */
131 c_ptr = z_ptr->clusters[c_nu
[all...]
H A Dzone.h47 * @clusters: array of pointers to all clusters within zone
53 struct cluster *clusters[2]; /* currently limited to just 1 cluster */ member in struct:_zone

Completed in 134 milliseconds