Home
last modified time | relevance | path

Searched full:clusters (Results 1 – 25 of 155) sorted by relevance

1234567

/linux-5.10/fs/ntfs/
Dlcnalloc.h38 * ntfs_cluster_free - free clusters on an ntfs volume
39 * @ni: ntfs inode whose runlist describes the clusters to free
40 * @start_vcn: vcn in the runlist of @ni at which to start freeing clusters
41 * @count: number of clusters to free or -1 for all clusters
44 * Free @count clusters starting at the cluster @start_vcn in the runlist
47 * If @count is -1, all clusters from @start_vcn to the end of the runlist are
48 * deallocated. Thus, to completely free all clusters in a runlist, use
71 * Return the number of deallocated clusters (not counting sparse ones) on
103 * ntfs_cluster_free_from_rl - free clusters from runlist
104 * @vol: mounted ntfs volume on which to free the clusters
[all …]
Dlcnalloc.c23 * ntfs_cluster_free_from_rl_nolock - free clusters from runlist
24 * @vol: mounted ntfs volume on which to free the clusters
25 * @rl: runlist describing the clusters to free
27 * Free all the clusters described by the runlist @rl on the volume @vol. In
28 * the case of an error being returned, at least some of the clusters were not
59 * ntfs_cluster_alloc - allocate clusters on an ntfs volume
60 * @vol: mounted ntfs volume on which to allocate the clusters
62 * @count: number of clusters to allocate
63 * @start_lcn: starting lcn at which to allocate the clusters (or -1 if none)
64 * @zone: zone from which to allocate the clusters
[all …]
Drunlist.h21 * @length: length in clusters of the current array element
31 s64 length; /* Run length in clusters. */
/linux-5.10/fs/ocfs2/
Docfs2.h434 * How many clusters in our truncate log.
721 u32 clusters) in ocfs2_clusters_to_blocks() argument
726 return (u64)clusters << c_to_b_bits; in ocfs2_clusters_to_blocks()
752 unsigned int clusters; in ocfs2_clusters_for_bytes() local
755 /* OCFS2 just cannot have enough clusters to overflow this */ in ocfs2_clusters_for_bytes()
756 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_clusters_for_bytes()
758 return clusters; in ocfs2_clusters_for_bytes()
765 unsigned int clusters; in ocfs2_bytes_to_clusters() local
767 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_bytes_to_clusters()
768 return clusters; in ocfs2_bytes_to_clusters()
[all …]
Dresize.c172 static int update_backups(struct inode * inode, u32 clusters, char *data) in update_backups() argument
185 if (cluster >= clusters) in update_backups()
215 u32 clusters = 0; in ocfs2_update_super_and_backups() local
233 clusters = le32_to_cpu(super_di->i_clusters); in ocfs2_update_super_and_backups()
242 ret = update_backups(inode, clusters, super_bh->b_data); in ocfs2_update_super_and_backups()
255 * Extend the filesystem to the new number of clusters specified. This entry
391 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group()
393 "input has %u clusters set\n", in ocfs2_check_new_group()
395 le16_to_cpu(gd->bg_bits), input->clusters); in ocfs2_check_new_group()
428 else if (total_clusters + input->clusters < total_clusters) in ocfs2_verify_group_and_input()
[all …]
Docfs2_trace.h505 unsigned int e_cpos, unsigned int clusters),
506 TP_ARGS(owner, cpos, len, index, e_cpos, clusters),
513 __field(unsigned int, clusters)
521 __entry->clusters = clusters;
525 __entry->e_cpos, __entry->clusters)
530 unsigned int clusters, unsigned int depth),
531 TP_ARGS(ino, new_cpos, clusters, depth),
535 __field(unsigned int, clusters)
541 __entry->clusters = clusters;
546 __entry->clusters, __entry->depth)
[all …]
Docfs2_ioctl.h52 __u32 clusters; /* Total number of clusters in this group */ member
53 __u32 frees; /* Total free clusters in this group */
160 __u32 ffs_min; /* Minimum free chunksize in clusters */
165 __u32 iff_chunksize; /* chunksize in clusters(in) */
220 claim new clusters
Dreservations.h116 * @clen: length (in clusters) of proposed allocation
136 * @cstart: start of allocation in clusters
137 * @clen: end of allocation in clusters.
Docfs2_fs.h42 * Blocks cannot be bigger than clusters, so the maximum blocksize is the
251 #define OCFS2_COMPRBLK_FL FS_COMPRBLK_FL /* One or more compressed clusters */
423 * It describes a range of clusters on disk.
429 /*00*/ __le32 e_cpos; /* Offset into the file, in clusters */
431 __le32 e_int_clusters; /* Clusters covered by all children */
433 __le16 e_leaf_clusters; /* Clusters covered by this
451 __le32 t_clusters; /* Number of total clusters covered */
482 /*00*/ __le16 cl_cpg; /* Clusters per Block Group */
712 __le32 i_used; /* Bits (ie, clusters) used */
713 __le32 i_total; /* Total bits (clusters)
[all …]
Ddlmglue.h76 u64 tf_start; /* trim start offset in clusters */
77 u64 tf_len; /* trim end offset in clusters */
78 u64 tf_minlen; /* trim minimum contiguous free clusters */
Drefcounttree.c1852 * If we just need to split the header or tail clusters, in ocfs2_split_refcount_rec()
2330 * Mark the already-existing extent at cpos as refcounted for len clusters.
2367 * Given some contiguous physical clusters, calculate what we need
2374 u32 clusters, in ocfs2_calc_refcount_meta_credits() argument
2385 while (clusters) { in ocfs2_calc_refcount_meta_credits()
2387 cpos, clusters, &rec, in ocfs2_calc_refcount_meta_credits()
2417 recs_add, (unsigned long long)cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2422 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2451 if (cpos + clusters < le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2459 clusters -= len; in ocfs2_calc_refcount_meta_credits()
[all …]
Dfile.c1037 * Call this even if we don't add any clusters to the tree. We in ocfs2_extend_no_holes()
1433 u32 cpos, phys_cpos, clusters, alloc_size; in ocfs2_allocate_unwritten_extents() local
1462 clusters = ocfs2_clusters_for_bytes(inode->i_sb, start + len); in ocfs2_allocate_unwritten_extents()
1463 clusters -= cpos; in ocfs2_allocate_unwritten_extents()
1465 while (clusters) { in ocfs2_allocate_unwritten_extents()
1477 if (alloc_size > clusters) in ocfs2_allocate_unwritten_extents()
1478 alloc_size = clusters; in ocfs2_allocate_unwritten_extents()
1497 clusters -= alloc_size; in ocfs2_allocate_unwritten_extents()
1508 * Truncate a byte range, avoiding pages within partial clusters. This
1542 * partial clusters here. There's no need to worry about in ocfs2_zero_partial_clusters()
[all …]
Dalloc.h24 * limited to ocfs2_dinode only. Any data which need to allocate clusters
232 * Helper function to look at the # of clusters in an extent record.
241 * records, thus shrinking the available space for a clusters in ocfs2_rec_clusters()
/linux-5.10/arch/arm/common/
Dmcpm_entry.c36 mcpm_sync.clusters[cluster].cpus[cpu].cpu = CPU_GOING_DOWN; in __mcpm_cpu_going_down()
37 sync_cache_w(&mcpm_sync.clusters[cluster].cpus[cpu].cpu); in __mcpm_cpu_going_down()
50 mcpm_sync.clusters[cluster].cpus[cpu].cpu = CPU_DOWN; in __mcpm_cpu_down()
51 sync_cache_w(&mcpm_sync.clusters[cluster].cpus[cpu].cpu); in __mcpm_cpu_down()
66 mcpm_sync.clusters[cluster].cluster = state; in __mcpm_outbound_leave_critical()
67 sync_cache_w(&mcpm_sync.clusters[cluster].cluster); in __mcpm_outbound_leave_critical()
85 struct mcpm_sync_struct *c = &mcpm_sync.clusters[cluster]; in __mcpm_outbound_enter_critical()
137 sync_cache_r(&mcpm_sync.clusters[cluster].cluster); in __mcpm_cluster_state()
138 return mcpm_sync.clusters[cluster].cluster; in __mcpm_cluster_state()
436 mcpm_sync.clusters[i].cluster = CLUSTER_DOWN; in mcpm_sync_init()
[all …]
/linux-5.10/drivers/cpufreq/
Dtegra186-cpufreq.c53 struct tegra186_cpufreq_cluster *clusters; member
62 struct tegra186_cpufreq_cluster *cluster = &data->clusters[i]; in tegra186_cpufreq_init()
113 struct tegra186_cpufreq_cluster *cluster = &data->clusters[i]; in tegra186_cpufreq_get()
237 data->clusters = devm_kcalloc(&pdev->dev, ARRAY_SIZE(tegra186_clusters), in tegra186_cpufreq_probe()
238 sizeof(*data->clusters), GFP_KERNEL); in tegra186_cpufreq_probe()
239 if (!data->clusters) in tegra186_cpufreq_probe()
255 struct tegra186_cpufreq_cluster *cluster = &data->clusters[i]; in tegra186_cpufreq_probe()
/linux-5.10/Documentation/filesystems/ext4/
Dbigalloc.rst27 on, the block bitmaps track clusters, not individual blocks. This means
31 units of clusters instead of blocks” to the extent tree, though it is
/linux-5.10/fs/ext4/
Dballoc.c83 /* Return the number of clusters used for file system metadata; this
96 /* This is the number of clusters used by the superblock, in ext4_num_overhead_clusters()
105 * for in the clusters used for the base metadata cluster, or in ext4_num_overhead_clusters()
593 * dirty clusters & root reserved clusters. in ext4_has_free_clusters()
598 /* Hm, nope. Are (enough) root reserved clusters available? */ in ext4_has_free_clusters()
659 * @count: pointer to total number of clusters needed
694 * ext4_count_free_clusters() -- count filesystem free clusters
697 * Adds up the number of free clusters from each block group.
853 * This function returns the number of file system metadata clusters at
/linux-5.10/Documentation/admin-guide/perf/
Dqcom_l2_pmu.rst5 This driver supports the L2 cache clusters found in Qualcomm Technologies
6 Centriq SoCs. There are multiple physical L2 cache clusters, each with their
/linux-5.10/fs/fat/
Dfile.c256 * we just allocate clusters without zeroing them out. Otherwise we
257 * allocate and zero out clusters via an expanding truncate.
262 int nr_cluster; /* Number of clusters to be allocated */ in fat_fallocate()
284 /* First compute the number of clusters to be allocated */ in fat_fallocate()
289 /* Start the allocation.We are not zeroing out the clusters */ in fat_fallocate()
308 /* Free all clusters after the skip'th cluster. */
/linux-5.10/drivers/cpuidle/
Dcpuidle-big_little.c48 * Current values for big and LITTLE clusters are provided for clusters
55 * The current values for both clusters are provided for a CPU whose half
/linux-5.10/arch/mips/include/asm/
Dmips-cps.h109 * mips_cps_numclusters - return the number of clusters present in the system
111 * Returns the number of clusters in the system.
140 * clusters so we can trivially read the GCR_CONFIG register in mips_cps_cluster_config()
/linux-5.10/Documentation/arm/
Dcluster-pm-race-avoidance.rst22 In a system containing multiple clusters of CPUs, it is also desirable
23 to have the ability to turn off entire clusters.
25 Turning entire clusters off and on is a risky business, because it
519 clusters of clusters are not supported). The algorithm could be
/linux-5.10/fs/erofs/
Derofs_fs.h230 * 2 - compressed cluster (for the other logical clusters)
243 * 2 - compressed cluster (for the other logical clusters)
271 * for the rest clusters
/linux-5.10/drivers/gpu/drm/msm/adreno/
Da6xx_gpu_state.c28 struct a6xx_gpu_state_obj *clusters; member
525 /* Some clusters need a selector register to be programmed too */ in a6xx_get_cluster()
569 a6xx_state->clusters = state_kcalloc(a6xx_state, in a6xx_get_clusters()
570 ARRAY_SIZE(a6xx_clusters), sizeof(*a6xx_state->clusters)); in a6xx_get_clusters()
572 if (!a6xx_state->clusters) in a6xx_get_clusters()
579 &a6xx_state->clusters[i], dumper); in a6xx_get_clusters()
1198 drm_puts(p, "clusters:\n"); in a6xx_show()
1200 a6xx_show_cluster(&a6xx_state->clusters[i], p); in a6xx_show()
/linux-5.10/fs/ufs/
Dufs_fs.h315 __fs64 cs_numclusters; /* number of free clusters */
324 __u64 cs_numclusters; /* number of free clusters */
557 __fs32 cg_clustersumoff; /* (u_int32) counts of avail clusters */
559 __fs32 cg_nclusterblks; /* number of clusters this cg */
563 __fs32 cg_clustersumoff;/* (u_int32) counts of avail clusters */
565 __fs32 cg_nclusterblks;/* number of clusters this cg */
722 __u32 c_clustersumoff;/* (u_int32) counts of avail clusters */
724 __u32 c_nclusterblks; /* number of clusters this cg */
916 __fs64 cs_numclusters; /* number of free clusters */

1234567