Home
last modified time | relevance | path

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

12

/Linux-v4.19/fs/ocfs2/
Docfs2.h730 u32 clusters) in ocfs2_clusters_to_blocks() argument
735 return (u64)clusters << c_to_b_bits; in ocfs2_clusters_to_blocks()
761 unsigned int clusters; in ocfs2_clusters_for_bytes() local
765 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_clusters_for_bytes()
767 return clusters; in ocfs2_clusters_for_bytes()
774 unsigned int clusters; in ocfs2_bytes_to_clusters() local
776 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_bytes_to_clusters()
777 return clusters; in ocfs2_bytes_to_clusters()
788 u32 clusters) in ocfs2_clusters_to_bytes() argument
790 return (u64)clusters << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_to_bytes()
[all …]
Dresize.c186 static int update_backups(struct inode * inode, u32 clusters, char *data) in update_backups() argument
199 if (cluster >= clusters) in update_backups()
229 u32 clusters = 0; in ocfs2_update_super_and_backups() local
247 clusters = le32_to_cpu(super_di->i_clusters); in ocfs2_update_super_and_backups()
256 ret = update_backups(inode, clusters, super_bh->b_data); in ocfs2_update_super_and_backups()
405 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group()
409 le16_to_cpu(gd->bg_bits), input->clusters); in ocfs2_check_new_group()
442 else if (total_clusters + input->clusters < total_clusters) in ocfs2_verify_group_and_input()
444 else if (input->clusters > cl_cpg) in ocfs2_verify_group_and_input()
446 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.c1441 u32 cpos, phys_cpos, clusters, alloc_size; in ocfs2_allocate_unwritten_extents() local
1470 clusters = ocfs2_clusters_for_bytes(inode->i_sb, start + len); in ocfs2_allocate_unwritten_extents()
1471 clusters -= cpos; in ocfs2_allocate_unwritten_extents()
1473 while (clusters) { in ocfs2_allocate_unwritten_extents()
1485 if (alloc_size > clusters) in ocfs2_allocate_unwritten_extents()
1486 alloc_size = clusters; in ocfs2_allocate_unwritten_extents()
1505 clusters -= alloc_size; in ocfs2_allocate_unwritten_extents()
2065 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_refcount() local
2074 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos; in ocfs2_check_range_for_refcount()
2076 while (clusters) { in ocfs2_check_range_for_refcount()
[all …]
Drefcounttree.c2380 u32 clusters, in ocfs2_calc_refcount_meta_credits() argument
2391 while (clusters) { in ocfs2_calc_refcount_meta_credits()
2393 cpos, clusters, &rec, in ocfs2_calc_refcount_meta_credits()
2423 recs_add, (unsigned long long)cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2428 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2457 if (cpos + clusters < le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2465 clusters -= len; in ocfs2_calc_refcount_meta_credits()
2508 (unsigned long long)start_cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2530 u32 clusters, in ocfs2_prepare_refcount_change_for_del() argument
2564 start_cpos, clusters, in ocfs2_prepare_refcount_change_for_del()
[all …]
Dalloc.c110 u32 clusters);
159 u32 clusters);
163 u32 clusters);
204 u32 clusters) in ocfs2_dinode_update_clusters() argument
209 le32_add_cpu(&di->i_clusters, clusters); in ocfs2_dinode_update_clusters()
224 u32 clusters) in ocfs2_dinode_extent_map_truncate() argument
228 ocfs2_extent_map_trunc(inode, clusters); in ocfs2_dinode_extent_map_truncate()
290 u32 clusters) in ocfs2_xattr_value_update_clusters() argument
294 le32_add_cpu(&vb->vb_xv->xr_clusters, clusters); in ocfs2_xattr_value_update_clusters()
336 u32 clusters) in ocfs2_xattr_tree_update_clusters() argument
[all …]
Drefcounttree.h52 u32 clusters,
Docfs2_ioctl.h60 __u32 clusters; /* Total number of clusters in this group */ member
Dsuballoc.c337 u64 p_blkno, unsigned int clusters) in ocfs2_bg_discontig_add_extent() argument
349 rec->e_leaf_clusters = cpu_to_le16(clusters); in ocfs2_bg_discontig_add_extent()
350 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
352 clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
510 u32 p_cpos, clusters; in ocfs2_block_group_grow_discontig() local
529 &clusters); in ocfs2_block_group_grow_discontig()
537 clusters); in ocfs2_block_group_grow_discontig()
539 min_bits = clusters; in ocfs2_block_group_grow_discontig()
Dxattr.c1114 u32 cpos, p_cluster, num_clusters, bpc, clusters; in ocfs2_xattr_get_value_outside() local
1122 clusters = le32_to_cpu(xv->xr_clusters); in ocfs2_xattr_get_value_outside()
1127 while (cpos < clusters) { in ocfs2_xattr_get_value_outside()
1365 u32 clusters = ocfs2_clusters_for_bytes(inode->i_sb, value_len); in __ocfs2_xattr_set_value_outside() local
1371 BUG_ON(clusters > le32_to_cpu(xv->xr_clusters)); in __ocfs2_xattr_set_value_outside()
1373 while (cpos < clusters) { in __ocfs2_xattr_set_value_outside()
3980 u32 clusters, in ocfs2_iterate_xattr_buckets() argument
3986 u32 num_buckets = clusters * bpc; in ocfs2_iterate_xattr_buckets()
3997 (unsigned long long)blkno, clusters); in ocfs2_iterate_xattr_buckets()
5909 u32 clusters = le32_to_cpu(xv->xr_clusters); in ocfs2_xattr_value_attach_refcount() local
[all …]
/Linux-v4.19/arch/arm/common/
Dmcpm_entry.c39 mcpm_sync.clusters[cluster].cpus[cpu].cpu = CPU_GOING_DOWN; in __mcpm_cpu_going_down()
40 sync_cache_w(&mcpm_sync.clusters[cluster].cpus[cpu].cpu); in __mcpm_cpu_going_down()
53 mcpm_sync.clusters[cluster].cpus[cpu].cpu = CPU_DOWN; in __mcpm_cpu_down()
54 sync_cache_w(&mcpm_sync.clusters[cluster].cpus[cpu].cpu); in __mcpm_cpu_down()
69 mcpm_sync.clusters[cluster].cluster = state; in __mcpm_outbound_leave_critical()
70 sync_cache_w(&mcpm_sync.clusters[cluster].cluster); in __mcpm_outbound_leave_critical()
88 struct mcpm_sync_struct *c = &mcpm_sync.clusters[cluster]; in __mcpm_outbound_enter_critical()
140 sync_cache_r(&mcpm_sync.clusters[cluster].cluster); in __mcpm_cluster_state()
141 return mcpm_sync.clusters[cluster].cluster; in __mcpm_cluster_state()
439 mcpm_sync.clusters[i].cluster = CLUSTER_DOWN; in mcpm_sync_init()
[all …]
/Linux-v4.19/drivers/cpufreq/
Dtegra186-cpufreq.c58 struct tegra186_cpufreq_cluster *clusters; member
67 struct tegra186_cpufreq_cluster *cluster = &data->clusters[i]; in tegra186_cpufreq_init()
205 data->clusters = devm_kcalloc(&pdev->dev, ARRAY_SIZE(tegra186_clusters), in tegra186_cpufreq_probe()
206 sizeof(*data->clusters), GFP_KERNEL); in tegra186_cpufreq_probe()
207 if (!data->clusters) in tegra186_cpufreq_probe()
224 struct tegra186_cpufreq_cluster *cluster = &data->clusters[i]; in tegra186_cpufreq_probe()
/Linux-v4.19/Documentation/filesystems/ext4/ondisk/
Dbigalloc.rst15 block bitmaps track clusters, not individual blocks. This means that
19 clusters instead of blocks” to the extent tree, though it is not clear
/Linux-v4.19/Documentation/perf/
Dqcom_l2_pmu.txt4 This driver supports the L2 cache clusters found in Qualcomm Technologies
5 Centriq SoCs. There are multiple physical L2 cache clusters, each with their
/Linux-v4.19/Documentation/blockdev/drbd/
DREADME.txt5 clusters and in this context, is a "drop-in" replacement for shared
/Linux-v4.19/arch/arm/include/asm/
Dmcpm.h301 struct mcpm_sync_struct clusters[MAX_NR_CLUSTERS]; member
/Linux-v4.19/fs/ntfs/
Dlcnalloc.c153 s64 clusters; in ntfs_cluster_alloc() local
253 clusters = count; in ntfs_cluster_alloc()
414 if (!--clusters) { in ntfs_cluster_alloc()
769 (unsigned long long)(count - clusters)); in ntfs_cluster_alloc()
/Linux-v4.19/drivers/perf/
Dqcom_l2_pmu.c167 struct list_head clusters; member
813 list_for_each_entry(cluster, &l2cache_pmu->clusters, next) { in l2_cache_associate_cpu_with_cluster()
924 list_add(&cluster->next, &l2cache_pmu->clusters); in l2_cache_pmu_probe_cluster()
969 INIT_LIST_HEAD(&l2cache_pmu->clusters); in l2_cache_pmu_probe()
/Linux-v4.19/drivers/net/hippi/
DKconfig12 single-mode). HIPPI networks are commonly used for clusters and to
/Linux-v4.19/Documentation/devicetree/bindings/arm/
Dcpu-capacity.txt61 Example 1 (ARM 64-bit, 6-cpu system, two clusters):
193 Example 2 (ARM 32-bit, 4-cpu system, two clusters,
Dtopology.txt167 Example 1 (ARM 64-bit, 16-cpu system, two clusters of clusters):
/Linux-v4.19/fs/ext4/
Dsysfs.c100 ext4_fsblk_t clusters = (ext4_blocks_count(sbi->s_es) >> in reserved_clusters_store() local
105 if (ret || val >= clusters) in reserved_clusters_store()
/Linux-v4.19/Documentation/arm/
Dcluster-pm-race-avoidance.txt21 In a system containing multiple clusters of CPUs, it is also desirable
22 to have the ability to turn off entire clusters.
24 Turning entire clusters off and on is a risky business, because it
484 clusters of clusters are not supported). The algorithm could be
/Linux-v4.19/drivers/block/drbd/
DKconfig22 clusters and in this context, is a "drop-in" replacement for shared
/Linux-v4.19/Documentation/filesystems/
Dvfat.txt82 usefree -- Use the "free clusters" value stored on FSINFO. It'll
83 be used to determine number of free clusters without
86 case. If you are sure the "free clusters" on FSINFO is

12