Home
last modified time | relevance | path

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

12345

/linux/fs/ocfs2/
H A Docfs2.h473 * How many clusters in our truncate log.
776 u32 clusters) in ocfs2_clusters_to_blocks() argument
781 return (u64)clusters << c_to_b_bits; in ocfs2_clusters_to_blocks()
807 unsigned int clusters; in ocfs2_clusters_for_bytes() local
810 /* OCFS2 just cannot have enough clusters to overflow this */ in ocfs2_clusters_for_bytes()
811 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_clusters_for_bytes()
813 return clusters; in ocfs2_clusters_for_bytes()
820 unsigned int clusters; in ocfs2_bytes_to_clusters() local
822 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_bytes_to_clusters()
823 return clusters; in ocfs2_bytes_to_clusters()
[all …]
H A Dresize.c178 static int update_backups(struct inode * inode, u32 clusters, char *data) in update_backups() argument
191 if (cluster >= clusters) in update_backups()
221 u32 clusters = 0; in ocfs2_update_super_and_backups() local
239 clusters = le32_to_cpu(super_di->i_clusters); in ocfs2_update_super_and_backups()
248 ret = update_backups(inode, clusters, super_bh->b_data); in ocfs2_update_super_and_backups()
261 * Extend the filesystem to the new number of clusters specified. This entry
397 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group()
399 "input has %u clusters set\n", in ocfs2_check_new_group()
401 le16_to_cpu(gd->bg_bits), input->clusters); in ocfs2_check_new_group()
434 else if (total_clusters + input->clusters < total_clusters) in ocfs2_verify_group_and_input()
[all …]
H A 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 …]
H A Drefcounttree.c1845 * If we just need to split the header or tail clusters, in ocfs2_split_refcount_rec()
2323 * Mark the already-existing extent at cpos as refcounted for len clusters.
2360 * Given some contiguous physical clusters, calculate what we need
2367 u32 clusters, in ocfs2_calc_refcount_meta_credits() argument
2378 while (clusters) { in ocfs2_calc_refcount_meta_credits()
2380 cpos, clusters, &rec, in ocfs2_calc_refcount_meta_credits()
2410 recs_add, (unsigned long long)cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2415 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2444 if (cpos + clusters < le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2452 clusters -= len; in ocfs2_calc_refcount_meta_credits()
[all …]
H A Dfile.c1037 * Call this even if we don't add any clusters to the tree. We in ocfs2_extend_no_holes()
1448 u32 cpos, phys_cpos, clusters, alloc_size; in ocfs2_allocate_unwritten_extents() local
1477 clusters = ocfs2_clusters_for_bytes(inode->i_sb, start + len); in ocfs2_allocate_unwritten_extents()
1478 clusters -= cpos; in ocfs2_allocate_unwritten_extents()
1480 while (clusters) { in ocfs2_allocate_unwritten_extents()
1492 if (alloc_size > clusters) in ocfs2_allocate_unwritten_extents()
1493 alloc_size = clusters; in ocfs2_allocate_unwritten_extents()
1512 clusters -= alloc_size; in ocfs2_allocate_unwritten_extents()
1523 * Truncate a byte range, avoiding pages within partial clusters. This
1597 * partial clusters here. There's no need to worry about in ocfs2_zero_partial_clusters()
[all …]
H A Dalloc.c76 * clusters are stored in this extent tree. This function updates
92 * map to clusters,
95 u32 clusters);
144 u32 clusters);
148 u32 clusters);
189 u32 clusters) in ocfs2_dinode_update_clusters() argument
194 le32_add_cpu(&di->i_clusters, clusters); in ocfs2_dinode_update_clusters()
209 u32 clusters) in ocfs2_dinode_extent_map_truncate() argument
213 ocfs2_extent_map_trunc(inode, clusters); in ocfs2_dinode_extent_map_truncate()
226 "cpos %u, clusters %u\n", in ocfs2_dinode_insert_check()
[all …]
/linux/drivers/gpu/drm/imagination/
H A Dpvr_rogue_defs.h78 * clusters by 2 and round up
80 #define ROGUE_REQ_NUM_DUSTS(CLUSTERS) (((CLUSTERS) + 1U) / 2U) argument
84 * the number of clusters by 4 and round up
86 #define ROGUE_REQ_NUM_PHANTOMS(CLUSTERS) (((CLUSTERS) + 3U) / 4U) argument
87 #define ROGUE_REQ_NUM_BERNADOS(CLUSTERS) (((CLUSTERS) + 3U) / 4U) argument
88 #define ROGUE_REQ_NUM_BLACKPEARLS(CLUSTERS) (((CLUSTERS) + 3U) / 4U) argument
/linux/arch/arm/common/
H A 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/lib/
H A Dgroup_cpus.c299 const struct cpumask **clusters; in alloc_cluster_groups() local
304 /* Probe how many clusters in this node. */ in alloc_cluster_groups()
323 clusters = kzalloc_objs(*clusters, ncluster); in alloc_cluster_groups()
324 if (!clusters) in alloc_cluster_groups()
336 clusters[n] = cluster_mask; in alloc_cluster_groups()
344 *clusters_ptr = clusters; in alloc_cluster_groups()
349 kfree(clusters); in alloc_cluster_groups()
367 const struct cpumask **clusters; in __try_group_cluster_cpus() local
377 &clusters, &cluster_groups); in __try_group_cluster_cpus()
386 cpumask_and(nmsk, node_cpumask, clusters[nv->id]); in __try_group_cluster_cpus()
[all …]
/linux/fs/ntfs3/
H A DKconfig18 bool "64 bits per NTFS clusters"
21 Windows implementation of ntfs.sys uses 32 bits per clusters.
22 If activated 64 bits per clusters you will be able to use 4k cluster
H A Dsuper.c10 * vcn - virtual cluster number - Offset inside the file in clusters.
12 * lcn - logical cluster number - 0 based cluster in clusters heap.
20 * non-resident attribute - Attribute with content stored in clusters
23 * allocated_size - Total size of clusters allocated for non-resident content
24 …* total_size - Actual size of allocated clusters for sparse or compressed attri…
31 * ntfs allows up to 2^64 clusters per volume.
40 * | Volume size | Clusters | ntfs.sys | ntfs3 | ntfs3_64 | mkntfs | chkdsk |
486 * number of clusters
967 u64 sectors, clusters, mlcn, mlcn2, dev_size0; in ntfs_init_from_boot() local
1151 clusters = sbi->volume.size >> cluster_bits; in ntfs_init_from_boot()
[all …]
H A Dfile.c315 /* Allocate clusters for rw map. */ in ntfs_file_mmap_prepare()
446 * we just allocate clusters without zeroing them out. Otherwise we
447 * allocate and zero out clusters via an expanding truncate.
546 /* Aligned punch_hole. Deallocate clusters. */ in ntfs_fallocate()
636 * Allocate clusters, do not change 'valid' size. in ntfs_fallocate()
654 * Allocate and zero new clusters. in ntfs_fallocate()
655 * Zeroing these clusters may be too long. in ntfs_fallocate()
674 * Allocate but not zero new clusters. in ntfs_fallocate()
1407 /* Allocate delayed blocks (clusters). */ in ntfs_file_release()
1441 /* Unfortunately cp -r incorrectly treats compressed clusters. */ in ntfs_fiemap()
H A Dntfs_fs.h135 ALLOCATE_DEF = 0, // Allocate all clusters.
137 ALLOCATE_ZERO = 2, // Zeroout new allocated clusters.
238 CLST zone_max; // Maximum MFT zone length in clusters
239 CLST bad_clusters; // The count of marked bad clusters.
278 /* Total sum of delay allocated clusters in all files. */
405 * Pairs [vcn, len] for all delay allocated clusters.
406 * Normal file always contains delayed clusters in one fragment.
1066 /* Returns total sum of delay allocated clusters in all files. */
1076 /* Update total count of delay allocated clusters. */
1086 /* Update total count of delay allocated clusters. */
/linux/drivers/cpufreq/
H A Dtegra186-cpufreq.c71 struct tegra186_cpufreq_cluster clusters[]; member
192 bpmp_lut = data->clusters[cluster].bpmp_lut; in tegra186_cpufreq_init()
244 cluster = &data->clusters[cluster_id]; in tegra186_cpufreq_get()
360 struct_size(data, clusters, TEGRA186_NUM_CLUSTERS), in tegra186_cpufreq_probe()
378 struct tegra186_cpufreq_cluster *cluster = &data->clusters[i]; in tegra186_cpufreq_probe()
/linux/drivers/gpu/drm/msm/adreno/
H A Da6xx_gpu_state.c39 struct a6xx_gpu_state_obj *clusters; member
730 /* Some clusters need a selector register to be programmed too */ in a6xx_get_cluster()
784 /* Some clusters need a selector register to be programmed too */ in a7xx_get_cluster()
819 a6xx_state->clusters = state_kcalloc(a6xx_state, in a6xx_get_clusters()
820 ARRAY_SIZE(a6xx_clusters), sizeof(*a6xx_state->clusters)); in a6xx_get_clusters()
822 if (!a6xx_state->clusters) in a6xx_get_clusters()
829 &a6xx_state->clusters[i], dumper); in a6xx_get_clusters()
838 const struct gen7_cluster_registers *clusters; in a7xx_get_clusters() local
842 clusters = gen7_0_0_clusters; in a7xx_get_clusters()
845 clusters = gen7_2_0_clusters; in a7xx_get_clusters()
[all …]
/linux/Documentation/filesystems/ext4/
H A 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/Documentation/admin-guide/perf/
H A 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
H A Dhisi-pmu.rst101 contains several Compute Clusters (CCLs). The I/O dies are called Super I/O
102 clusters (SICL) containing multiple I/O clusters (ICLs). Each CCL/ICL in the
/linux/Documentation/devicetree/bindings/mailbox/
H A Dti,omap-mailbox.yaml38 combine multiple clusters into a single IP block present within the Main
39 NavSS. The interrupt lines from all these clusters are multiplexed and routed
42 block comprising of multiple clusters, but the number of clusters are
/linux/drivers/base/
H A Darch_topology.c561 * First check for child clusters; we currently ignore any in parse_cluster()
562 * information about the nesting of clusters and present the in parse_cluster()
577 pr_warn("Topology for clusters of clusters not yet supported\n"); in parse_cluster()
596 pr_err("%pOF: cpu-map children should be clusters\n", c); in parse_cluster()
721 * For systems with no shared cpu-side LLC but with clusters defined, in cpu_coregroup_mask()
919 * number of heterogeneous CPU clusters. On a homogeneous system in parse_acpi_topology()
/linux/Documentation/arch/arm/
H A 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/drivers/platform/mellanox/
H A DKconfig38 Centers (EDC) for building Ethernet based clusters, High-Performance
72 Centers (EDC) for building Ethernet based clusters, High-Performance
/linux/drivers/clk/qcom/
H A Dclk-cpu-8996.c7 * Each of the CPU clusters (Power and Perf) on msm8996 are
442 /* Select GPLL0 for 300MHz for both clusters */ in qcom_cpu_clk_msm8996_register_clks()
465 /* Enable auto clock selection for both clusters */ in qcom_cpu_clk_msm8996_register_clks()
480 /* Switch clusters to use the ACD leg */ in qcom_cpu_clk_msm8996_register_clks()
/linux/include/linux/
H A Dswap.h29 #define SWAP_FLAG_DISCARD_PAGES 0x40000 /* discard page-clusters after use */
271 struct list_head free_clusters; /* free clusters list */
272 struct list_head full_clusters; /* full clusters list */
301 struct list_head discard_clusters; /* discard clusters list */
/linux/fs/xfs/scrub/
H A Dialloc_repair.c50 * - Inode records are read into memory in units of 'inode clusters'. However
52 * can be allocated or freed. Clusters are never smaller than one fs block
61 * geometry where one inobt record maps to multiple inode clusters; it is
71 * Clusters cannot be smaller than 4 inodes. The smallest unit of allocation
368 * Sparse clusters must be aligned to sparse chunk alignment. in xrep_ibt_check_inode_ext()

12345