Home
last modified time | relevance | path

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

12

/Linux-v5.4/fs/ocfs2/
Docfs2.h718 u32 clusters) in ocfs2_clusters_to_blocks() argument
723 return (u64)clusters << c_to_b_bits; in ocfs2_clusters_to_blocks()
749 unsigned int clusters; in ocfs2_clusters_for_bytes() local
753 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_clusters_for_bytes()
755 return clusters; in ocfs2_clusters_for_bytes()
762 unsigned int clusters; in ocfs2_bytes_to_clusters() local
764 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_bytes_to_clusters()
765 return clusters; in ocfs2_bytes_to_clusters()
776 u32 clusters) in ocfs2_clusters_to_bytes() argument
778 return (u64)clusters << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_to_bytes()
[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()
391 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) 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()
430 else if (input->clusters > cl_cpg) in ocfs2_verify_group_and_input()
432 else if (input->frees > input->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 …]
Dfile.c1433 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()
2057 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_refcount() local
2066 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos; in ocfs2_check_range_for_refcount()
2068 while (clusters) { in ocfs2_check_range_for_refcount()
[all …]
Drefcounttree.c2372 u32 clusters, in ocfs2_calc_refcount_meta_credits() argument
2383 while (clusters) { in ocfs2_calc_refcount_meta_credits()
2385 cpos, clusters, &rec, in ocfs2_calc_refcount_meta_credits()
2415 recs_add, (unsigned long long)cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2420 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2449 if (cpos + clusters < le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2457 clusters -= len; in ocfs2_calc_refcount_meta_credits()
2500 (unsigned long long)start_cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2522 u32 clusters, in ocfs2_prepare_refcount_change_for_del() argument
2556 start_cpos, clusters, in ocfs2_prepare_refcount_change_for_del()
[all …]
Dalloc.c96 u32 clusters);
145 u32 clusters);
149 u32 clusters);
190 u32 clusters) in ocfs2_dinode_update_clusters() argument
195 le32_add_cpu(&di->i_clusters, clusters); in ocfs2_dinode_update_clusters()
210 u32 clusters) in ocfs2_dinode_extent_map_truncate() argument
214 ocfs2_extent_map_trunc(inode, clusters); in ocfs2_dinode_extent_map_truncate()
276 u32 clusters) in ocfs2_xattr_value_update_clusters() argument
280 le32_add_cpu(&vb->vb_xv->xr_clusters, clusters); in ocfs2_xattr_value_update_clusters()
322 u32 clusters) in ocfs2_xattr_tree_update_clusters() argument
[all …]
Docfs2_ioctl.h52 __u32 clusters; /* Total number of clusters in this group */ member
Drefcounttree.h44 u32 clusters,
Dsuballoc.c323 u64 p_blkno, unsigned int clusters) in ocfs2_bg_discontig_add_extent() argument
335 rec->e_leaf_clusters = cpu_to_le16(clusters); in ocfs2_bg_discontig_add_extent()
336 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
338 clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
496 u32 p_cpos, clusters; in ocfs2_block_group_grow_discontig() local
515 &clusters); in ocfs2_block_group_grow_discontig()
523 clusters); in ocfs2_block_group_grow_discontig()
525 min_bits = clusters; in ocfs2_block_group_grow_discontig()
/Linux-v5.4/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-v5.4/drivers/cpufreq/
Dtegra186-cpufreq.c50 struct tegra186_cpufreq_cluster *clusters; member
59 struct tegra186_cpufreq_cluster *cluster = &data->clusters[i]; in tegra186_cpufreq_init()
197 data->clusters = devm_kcalloc(&pdev->dev, ARRAY_SIZE(tegra186_clusters), in tegra186_cpufreq_probe()
198 sizeof(*data->clusters), GFP_KERNEL); in tegra186_cpufreq_probe()
199 if (!data->clusters) in tegra186_cpufreq_probe()
216 struct tegra186_cpufreq_cluster *cluster = &data->clusters[i]; in tegra186_cpufreq_probe()
/Linux-v5.4/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-v5.4/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-v5.4/Documentation/admin-guide/blockdev/drbd/
Dindex.rst10 clusters and in this context, is a "drop-in" replacement for shared
/Linux-v5.4/fs/ntfs/
Dlcnalloc.c139 s64 clusters; in ntfs_cluster_alloc() local
239 clusters = count; in ntfs_cluster_alloc()
400 if (!--clusters) { in ntfs_cluster_alloc()
755 (unsigned long long)(count - clusters)); in ntfs_cluster_alloc()
/Linux-v5.4/arch/arm/include/asm/
Dmcpm.h298 struct mcpm_sync_struct clusters[MAX_NR_CLUSTERS]; member
/Linux-v5.4/drivers/gpu/drm/msm/adreno/
Da6xx_gpu_state.c28 struct a6xx_gpu_state_obj *clusters; member
550 a6xx_state->clusters = state_kcalloc(a6xx_state, in a6xx_get_clusters()
551 ARRAY_SIZE(a6xx_clusters), sizeof(*a6xx_state->clusters)); in a6xx_get_clusters()
553 if (!a6xx_state->clusters) in a6xx_get_clusters()
560 &a6xx_state->clusters[i], dumper); in a6xx_get_clusters()
1158 a6xx_show_cluster(&a6xx_state->clusters[i], p); in a6xx_show()
/Linux-v5.4/Documentation/filesystems/
Derofs.txt64 compressed physical clusters;
66 physical clusters for further reading.
68 for the rest compressed physical clusters.
/Linux-v5.4/drivers/perf/
Dqcom_l2_pmu.c159 struct list_head clusters; member
797 list_for_each_entry(cluster, &l2cache_pmu->clusters, next) { in l2_cache_associate_cpu_with_cluster()
908 list_add(&cluster->next, &l2cache_pmu->clusters); in l2_cache_pmu_probe_cluster()
949 INIT_LIST_HEAD(&l2cache_pmu->clusters); in l2_cache_pmu_probe()
/Linux-v5.4/drivers/net/hippi/
DKconfig13 single-mode). HIPPI networks are commonly used for clusters and to
/Linux-v5.4/Documentation/devicetree/bindings/arm/
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-v5.4/Documentation/driver-api/xilinx/
Deemi.rst15 components running across different processing clusters on a chip or
/Linux-v5.4/fs/ext4/
Dsysfs.c101 ext4_fsblk_t clusters = (ext4_blocks_count(sbi->s_es) >> in reserved_clusters_store() local
106 if (ret || val >= clusters) in reserved_clusters_store()
/Linux-v5.4/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-v5.4/drivers/block/drbd/
DKconfig21 clusters and in this context, is a "drop-in" replacement for shared

12