Home
last modified time | relevance | path

Searched refs:clusters (Results 1 – 25 of 38) sorted by relevance

12

/linux/fs/ocfs2/
H A Docfs2.h776 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
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()
834 u32 clusters) in ocfs2_clusters_to_bytes() argument
836 return (u64)clusters << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_to_bytes()
[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()
397 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) 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()
436 else if (input->clusters > cl_cpg) in ocfs2_verify_group_and_input()
438 else if (input->frees > input->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 Dfile.c1448 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()
2154 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_refcount() local
2163 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos; in ocfs2_check_range_for_refcount()
2165 while (clusters) { in ocfs2_check_range_for_refcount()
[all …]
H A Drefcounttree.c2367 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()
2495 (unsigned long long)start_cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2517 u32 clusters, in ocfs2_prepare_refcount_change_for_del() argument
2551 start_cpos, clusters, in ocfs2_prepare_refcount_change_for_del()
[all …]
H A Dalloc.c95 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()
275 u32 clusters) in ocfs2_xattr_value_update_clusters() argument
279 le32_add_cpu(&vb->vb_xv->xr_clusters, clusters); in ocfs2_xattr_value_update_clusters()
321 u32 clusters) in ocfs2_xattr_tree_update_clusters() argument
[all …]
H A Drefcounttree.h42 u32 clusters,
/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
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()
397 kfree(clusters); in __try_group_cluster_cpus()
/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.c967 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()
1154 if (clusters >> 32) { in ntfs_init_from_boot()
1165 sbi->used.bitmap.nbits = clusters; in ntfs_init_from_boot()
1191 sbi->maxbytes = (clusters << cluster_bits) - 1; in ntfs_init_from_boot()
1194 if (clusters >= (1ull << (64 - cluster_bits))) in ntfs_init_from_boot()
1209 sbi->zone_max = min_t(CLST, 0x20000000 >> cluster_bits, clusters >> 3); in ntfs_init_from_boot()
/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
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()
849 clusters = gen7_9_0_clusters; in a7xx_get_clusters()
853 a6xx_state->clusters = state_kcalloc(a6xx_state, in a7xx_get_clusters()
[all …]
/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 Dstarfive_starlink_pmu.rst7 clusters with an L3 memory system.
H A Dhisi-pmu.rst102 clusters (SICL) containing multiple I/O clusters (ICLs). Each CCL/ICL in the
/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/blockdev/drbd/
H A Dindex.rst10 clusters and in this context, is a "drop-in" replacement for shared
/linux/arch/arm/include/asm/
H A Dmcpm.h298 struct mcpm_sync_struct clusters[MAX_NR_CLUSTERS]; member
/linux/sound/soc/sdca/
H A Dsdca_functions.c2005 struct sdca_cluster *clusters; in find_sdca_clusters() local
2021 clusters = devm_kcalloc(dev, num_clusters, sizeof(*clusters), GFP_KERNEL); in find_sdca_clusters()
2022 if (!clusters) in find_sdca_clusters()
2034 clusters[i].id = cluster_list[i]; in find_sdca_clusters()
2043 "mipi-sdca-cluster-id-0x%X-subproperties", clusters[i].id); in find_sdca_clusters()
2052 ret = find_sdca_cluster_channels(dev, cluster_node, &clusters[i]); in find_sdca_clusters()
2059 function->clusters = clusters; in find_sdca_clusters()
2312 struct sdca_cluster *cluster = &function->clusters[i]; in sdca_id_find_cluster()
/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/Documentation/driver-api/xilinx/
H A Deemi.rst15 components running across different processing clusters on a chip or
/linux/Documentation/devicetree/bindings/cpu/
H A Dcpu-capacity.txt61 Example 1 (ARM 64-bit, 6-cpu system, two clusters):
195 Example 2 (ARM 32-bit, 4-cpu system, two clusters,
/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/block/drbd/
H A DKconfig21 clusters and in this context, is a "drop-in" replacement for shared

12