Home
last modified time | relevance | path

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

/linux-2.6.39/fs/ocfs2/
Docfs2.h703 u32 clusters) in ocfs2_clusters_to_blocks() argument
708 return (u64)clusters << c_to_b_bits; in ocfs2_clusters_to_blocks()
724 unsigned int clusters; in ocfs2_clusters_for_bytes() local
728 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_clusters_for_bytes()
730 return clusters; in ocfs2_clusters_for_bytes()
741 u32 clusters) in ocfs2_clusters_to_bytes() argument
743 return (u64)clusters << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_to_bytes()
750 unsigned int clusters; in ocfs2_block_to_cluster_start() local
752 clusters = ocfs2_blocks_to_clusters(sb, blocks); in ocfs2_block_to_cluster_start()
753 return (u64)clusters << bits; in ocfs2_block_to_cluster_start()
[all …]
Dresize.c183 static int update_backups(struct inode * inode, u32 clusters, char *data) in update_backups() argument
196 if (cluster > clusters) in update_backups()
226 u32 clusters = 0; in ocfs2_update_super_and_backups() local
244 clusters = le32_to_cpu(super_di->i_clusters); in ocfs2_update_super_and_backups()
253 ret = update_backups(inode, clusters, super_bh->b_data); in ocfs2_update_super_and_backups()
402 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group()
406 le16_to_cpu(gd->bg_bits), input->clusters); in ocfs2_check_new_group()
439 else if (total_clusters + input->clusters < total_clusters) in ocfs2_verify_group_and_input()
441 else if (input->clusters > cl_cpg) in ocfs2_verify_group_and_input()
443 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.c1353 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_holes() local
1357 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos; in ocfs2_check_range_for_holes()
1359 while (clusters) { in ocfs2_check_range_for_holes()
1372 if (extent_len > clusters) in ocfs2_check_range_for_holes()
1373 extent_len = clusters; in ocfs2_check_range_for_holes()
1375 clusters -= extent_len; in ocfs2_check_range_for_holes()
1408 u32 cpos, phys_cpos, clusters, alloc_size; in ocfs2_allocate_unwritten_extents() local
1437 clusters = ocfs2_clusters_for_bytes(inode->i_sb, start + len); in ocfs2_allocate_unwritten_extents()
1438 clusters -= cpos; in ocfs2_allocate_unwritten_extents()
1440 while (clusters) { in ocfs2_allocate_unwritten_extents()
[all …]
Drefcounttree.h52 u32 clusters,
Docfs2_ioctl.h60 __u32 clusters; /* Total number of clusters in this group */ member
Dalloc.c108 u32 clusters);
157 u32 clusters);
161 u32 clusters);
195 u32 clusters) in ocfs2_dinode_update_clusters() argument
200 le32_add_cpu(&di->i_clusters, clusters); in ocfs2_dinode_update_clusters()
215 u32 clusters) in ocfs2_dinode_extent_map_truncate() argument
219 ocfs2_extent_map_trunc(inode, clusters); in ocfs2_dinode_extent_map_truncate()
281 u32 clusters) in ocfs2_xattr_value_update_clusters() argument
285 le32_add_cpu(&vb->vb_xv->xr_clusters, clusters); in ocfs2_xattr_value_update_clusters()
327 u32 clusters) in ocfs2_xattr_tree_update_clusters() argument
[all …]
Drefcounttree.c2385 u32 clusters, in ocfs2_calc_refcount_meta_credits() argument
2396 while (clusters) { in ocfs2_calc_refcount_meta_credits()
2398 cpos, clusters, &rec, in ocfs2_calc_refcount_meta_credits()
2430 recs_add, (unsigned long long)cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2435 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2464 if (cpos + clusters < le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2472 clusters -= len; in ocfs2_calc_refcount_meta_credits()
2516 (unsigned long long)start_cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2538 u32 clusters, in ocfs2_prepare_refcount_change_for_del() argument
2575 start_cpos, clusters, in ocfs2_prepare_refcount_change_for_del()
[all …]
Dsuballoc.c360 u64 p_blkno, unsigned int clusters) in ocfs2_bg_discontig_add_extent() argument
372 rec->e_leaf_clusters = cpu_to_le16(clusters); in ocfs2_bg_discontig_add_extent()
373 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
375 clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
534 u32 p_cpos, clusters; in ocfs2_block_group_grow_discontig() local
553 &clusters); in ocfs2_block_group_grow_discontig()
561 clusters); in ocfs2_block_group_grow_discontig()
563 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()
1336 u32 clusters = ocfs2_clusters_for_bytes(inode->i_sb, value_len); in __ocfs2_xattr_set_value_outside() local
1342 BUG_ON(clusters > le32_to_cpu(xv->xr_clusters)); in __ocfs2_xattr_set_value_outside()
1344 while (cpos < clusters) { in __ocfs2_xattr_set_value_outside()
3945 u32 clusters, in ocfs2_iterate_xattr_buckets() argument
3951 u32 num_buckets = clusters * bpc; in ocfs2_iterate_xattr_buckets()
3962 (unsigned long long)blkno, clusters); in ocfs2_iterate_xattr_buckets()
5881 u32 clusters = le32_to_cpu(xv->xr_clusters); in ocfs2_xattr_value_attach_refcount() local
[all …]
/linux-2.6.39/Documentation/blockdev/drbd/
DREADME.txt5 clusters and in this context, is a "drop-in" replacement for shared
/linux-2.6.39/drivers/gpio/
Dab8500-gpio.c177 } clusters[] = { in ab8500_gpio_to_irq() local
186 for (i = 0; i < ARRAY_SIZE(clusters); i++) { in ab8500_gpio_to_irq()
187 struct ab8500_gpio_irq_cluster *cluster = &clusters[i]; in ab8500_gpio_to_irq()
/linux-2.6.39/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-2.6.39/arch/x86/kernel/apic/
Dapic.c2202 int i, clusters, zeros; in apic_cluster_num() local
2232 clusters = 0; in apic_cluster_num()
2236 clusters += 1 + zeros; in apic_cluster_num()
2242 return clusters; in apic_cluster_num()
/linux-2.6.39/drivers/block/drbd/
DKconfig20 clusters and in this context, is a "drop-in" replacement for shared
/linux-2.6.39/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.txt59 When ikeep is specified, XFS does not delete empty inode clusters
61 behaviour. When noikeep is specified, empty inode clusters
Dceph.txt24 clusters, similar to Lustre. Unlike Lustre, however, metadata and
Dntfs.txt95 clusters. But at present only limited support for highly fragmented files,
/linux-2.6.39/Documentation/cgroups/
Dfreezer-subsystem.txt4 is often used on HPC clusters to schedule access to the cluster as a
/linux-2.6.39/net/ipv4/netfilter/
DKconfig295 The CLUSTERIP target allows you to build load-balancing clusters of
/linux-2.6.39/net/netfilter/
DKconfig667 This option allows you to build work-load-sharing clusters of
/linux-2.6.39/drivers/net/
DKconfig3091 single-mode). HIPPI networks are commonly used for clusters and to