Home
last modified time | relevance | path

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

/linux-4.4.14/fs/ocfs2/
Docfs2.h714 u32 clusters) in ocfs2_clusters_to_blocks() argument
719 return (u64)clusters << c_to_b_bits; in ocfs2_clusters_to_blocks()
745 unsigned int clusters; in ocfs2_clusters_for_bytes() local
749 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_clusters_for_bytes()
751 return clusters; in ocfs2_clusters_for_bytes()
758 unsigned int clusters; in ocfs2_bytes_to_clusters() local
760 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_bytes_to_clusters()
761 return clusters; in ocfs2_bytes_to_clusters()
772 u32 clusters) in ocfs2_clusters_to_bytes() argument
774 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.h504 unsigned int e_cpos, unsigned int clusters),
505 TP_ARGS(owner, cpos, len, index, e_cpos, clusters),
512 __field(unsigned int, clusters)
520 __entry->clusters = clusters;
524 __entry->e_cpos, __entry->clusters)
529 unsigned int clusters, unsigned int depth),
530 TP_ARGS(ino, new_cpos, clusters, depth),
534 __field(unsigned int, clusters)
540 __entry->clusters = clusters;
545 __entry->clusters, __entry->depth)
[all …]
Dfile.c1385 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_holes() local
1389 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos; in ocfs2_check_range_for_holes()
1391 while (clusters) { in ocfs2_check_range_for_holes()
1404 if (extent_len > clusters) in ocfs2_check_range_for_holes()
1405 extent_len = clusters; in ocfs2_check_range_for_holes()
1407 clusters -= extent_len; in ocfs2_check_range_for_holes()
1440 u32 cpos, phys_cpos, clusters, alloc_size; in ocfs2_allocate_unwritten_extents() local
1469 clusters = ocfs2_clusters_for_bytes(inode->i_sb, start + len); in ocfs2_allocate_unwritten_extents()
1470 clusters -= cpos; in ocfs2_allocate_unwritten_extents()
1472 while (clusters) { in ocfs2_allocate_unwritten_extents()
[all …]
Drefcounttree.c2381 u32 clusters, in ocfs2_calc_refcount_meta_credits() argument
2392 while (clusters) { in ocfs2_calc_refcount_meta_credits()
2394 cpos, clusters, &rec, in ocfs2_calc_refcount_meta_credits()
2424 recs_add, (unsigned long long)cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2429 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2458 if (cpos + clusters < le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2466 clusters -= len; in ocfs2_calc_refcount_meta_credits()
2509 (unsigned long long)start_cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2531 u32 clusters, in ocfs2_prepare_refcount_change_for_del() argument
2566 start_cpos, clusters, in ocfs2_prepare_refcount_change_for_del()
[all …]
Drefcounttree.h52 u32 clusters,
Dalloc.c109 u32 clusters);
158 u32 clusters);
162 u32 clusters);
196 u32 clusters) in ocfs2_dinode_update_clusters() argument
201 le32_add_cpu(&di->i_clusters, clusters); in ocfs2_dinode_update_clusters()
216 u32 clusters) in ocfs2_dinode_extent_map_truncate() argument
220 ocfs2_extent_map_trunc(inode, clusters); in ocfs2_dinode_extent_map_truncate()
282 u32 clusters) in ocfs2_xattr_value_update_clusters() argument
286 le32_add_cpu(&vb->vb_xv->xr_clusters, clusters); in ocfs2_xattr_value_update_clusters()
328 u32 clusters) in ocfs2_xattr_tree_update_clusters() argument
[all …]
Docfs2_ioctl.h60 __u32 clusters; /* Total number of clusters in this group */ member
Dsuballoc.c339 u64 p_blkno, unsigned int clusters) in ocfs2_bg_discontig_add_extent() argument
351 rec->e_leaf_clusters = cpu_to_le16(clusters); in ocfs2_bg_discontig_add_extent()
352 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
354 clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
512 u32 p_cpos, clusters; in ocfs2_block_group_grow_discontig() local
531 &clusters); in ocfs2_block_group_grow_discontig()
539 clusters); in ocfs2_block_group_grow_discontig()
541 min_bits = clusters; in ocfs2_block_group_grow_discontig()
Dxattr.c1090 u32 cpos, p_cluster, num_clusters, bpc, clusters; in ocfs2_xattr_get_value_outside() local
1098 clusters = le32_to_cpu(xv->xr_clusters); in ocfs2_xattr_get_value_outside()
1103 while (cpos < clusters) { in ocfs2_xattr_get_value_outside()
1340 u32 clusters = ocfs2_clusters_for_bytes(inode->i_sb, value_len); in __ocfs2_xattr_set_value_outside() local
1346 BUG_ON(clusters > le32_to_cpu(xv->xr_clusters)); in __ocfs2_xattr_set_value_outside()
1348 while (cpos < clusters) { in __ocfs2_xattr_set_value_outside()
3953 u32 clusters, in ocfs2_iterate_xattr_buckets() argument
3959 u32 num_buckets = clusters * bpc; in ocfs2_iterate_xattr_buckets()
3970 (unsigned long long)blkno, clusters); in ocfs2_iterate_xattr_buckets()
5884 u32 clusters = le32_to_cpu(xv->xr_clusters); in ocfs2_xattr_value_attach_refcount() local
[all …]
/linux-4.4.14/arch/arm/common/
Dmcpm_entry.c38 mcpm_sync.clusters[cluster].cpus[cpu].cpu = CPU_GOING_DOWN; in __mcpm_cpu_going_down()
39 sync_cache_w(&mcpm_sync.clusters[cluster].cpus[cpu].cpu); in __mcpm_cpu_going_down()
52 mcpm_sync.clusters[cluster].cpus[cpu].cpu = CPU_DOWN; in __mcpm_cpu_down()
53 sync_cache_w(&mcpm_sync.clusters[cluster].cpus[cpu].cpu); in __mcpm_cpu_down()
68 mcpm_sync.clusters[cluster].cluster = state; in __mcpm_outbound_leave_critical()
69 sync_cache_w(&mcpm_sync.clusters[cluster].cluster); in __mcpm_outbound_leave_critical()
87 struct mcpm_sync_struct *c = &mcpm_sync.clusters[cluster]; in __mcpm_outbound_enter_critical()
139 sync_cache_r(&mcpm_sync.clusters[cluster].cluster); in __mcpm_cluster_state()
140 return mcpm_sync.clusters[cluster].cluster; in __mcpm_cluster_state()
437 mcpm_sync.clusters[i].cluster = CLUSTER_DOWN; in mcpm_sync_init()
[all …]
/linux-4.4.14/Documentation/blockdev/drbd/
DREADME.txt5 clusters and in this context, is a "drop-in" replacement for shared
/linux-4.4.14/arch/arm/include/asm/
Dmcpm.h301 struct mcpm_sync_struct clusters[MAX_NR_CLUSTERS]; member
/linux-4.4.14/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-4.4.14/drivers/net/hippi/
DKconfig12 single-mode). HIPPI networks are commonly used for clusters and to
/linux-4.4.14/fs/ext4/
Dsysfs.c98 ext4_fsblk_t clusters = (ext4_blocks_count(sbi->s_es) >> in reserved_clusters_store() local
103 if (!ret || val >= clusters) in reserved_clusters_store()
/linux-4.4.14/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-4.4.14/drivers/block/drbd/
DKconfig21 clusters and in this context, is a "drop-in" replacement for shared
/linux-4.4.14/drivers/s390/block/
DKconfig90 Force writes to Storage Class Memory (SCM) to be in done in clusters.
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dtopology.txt167 Example 1 (ARM 64-bit, 16-cpu system, two clusters of clusters):
Dcci.txt10 clusters, through memory mapped interface, with a global control register
Didle-states.txt580 Example 2 (ARM 32-bit, 8-cpu system, two clusters):
/linux-4.4.14/Documentation/filesystems/
Dvfat.txt81 usefree -- Use the "free clusters" value stored on FSINFO. It'll
82 be used to determine number of free clusters without
85 case. If you are sure the "free clusters" on FSINFO is
Dxfs.txt91 clusters and keeps them around on disk. When noikeep is
92 specified, empty inode clusters are returned to the free
Dceph.txt24 clusters, similar to Lustre. Unlike Lustre, however, metadata and
Dext4.txt504 clusters in the file system which will be used
507 loss. The default is 2% or 4096 clusters,
509 however it can never exceed number of clusters
Dntfs.txt94 clusters. But at present only limited support for highly fragmented files,
/linux-4.4.14/Documentation/cgroups/
Dfreezer-subsystem.txt4 is often used on HPC clusters to schedule access to the cluster as a
/linux-4.4.14/arch/arm64/boot/dts/freescale/
Dfsl-ls2080a.dtsi64 /* We have 4 clusters having 2 Cortex-A57 cores each */
/linux-4.4.14/net/ipv4/netfilter/
DKconfig334 The CLUSTERIP target allows you to build load-balancing clusters of
/linux-4.4.14/arch/arm/
DKconfig1411 to 2 clusters by default.
1412 Platforms with 3 or 4 clusters that use MCPM must select this
1413 option to allow the additional clusters to be managed.
/linux-4.4.14/net/netfilter/
DKconfig992 This option allows you to build work-load-sharing clusters of