| /linux/fs/ocfs2/ |
| H A D | ocfs2.h | 473 * How many clusters in our truncate log. 758 u32 clusters) in ocfs2_clusters_to_blocks() argument 763 return (u64)clusters << c_to_b_bits; in ocfs2_clusters_to_blocks() 789 unsigned int clusters; in ocfs2_clusters_for_bytes() local 792 /* OCFS2 just cannot have enough clusters to overflow this */ in ocfs2_clusters_for_bytes() 793 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_clusters_for_bytes() 795 return clusters; in ocfs2_clusters_for_bytes() 802 unsigned int clusters; in ocfs2_bytes_to_clusters() local 804 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_bytes_to_clusters() 805 return clusters; in ocfs2_bytes_to_clusters() [all …]
|
| H A D | resize.c | 178 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() 261 * Extend the filesystem to the new number of clusters specified. This entry 397 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group() 399 "input has %u clusters set\n", 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() [all …]
|
| H A D | ocfs2_trace.h | 505 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 D | ocfs2_fs.h | 40 * Blocks cannot be bigger than clusters, so the maximum blocksize is the 249 #define OCFS2_COMPRBLK_FL FS_COMPRBLK_FL /* One or more compressed clusters */ 421 * It describes a range of clusters on disk. 427 /*00*/ __le32 e_cpos; /* Offset into the file, in clusters */ 429 __le32 e_int_clusters; /* Clusters covered by all children */ 431 __le16 e_leaf_clusters; /* Clusters covered by this 449 __le32 t_clusters; /* Number of total clusters covered */ 481 /*00*/ __le16 cl_cpg; /* Clusters per Block Group */ 713 __le32 i_used; /* Bits (ie, clusters) used */ 714 __le32 i_total; /* Total bits (clusters) [all …]
|
| H A D | refcounttree.c | 1845 * If we just need to split the header or tail clusters, in ocfs2_split_refcount_rec() 2323 * Mark the already-existing extent at cpos as refcounted for len clusters. 2360 * Given some contiguous physical clusters, calculate what we need 2367 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() [all …]
|
| H A D | file.c | 1036 * Call this even if we don't add any clusters to the tree. We in ocfs2_extend_no_holes() 1441 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() 1516 * Truncate a byte range, avoiding pages within partial clusters. This 1590 * partial clusters here. There's no need to worry about in ocfs2_zero_partial_clusters() [all …]
|
| H A D | alloc.c | 75 * clusters are stored in this extent tree. This function updates 91 * map to clusters, 94 u32 clusters); 143 u32 clusters); 147 u32 clusters); 188 u32 clusters) in ocfs2_dinode_update_clusters() argument 193 le32_add_cpu(&di->i_clusters, clusters); in ocfs2_dinode_update_clusters() 208 u32 clusters) in ocfs2_dinode_extent_map_truncate() argument 212 ocfs2_extent_map_trunc(inode, clusters); in ocfs2_dinode_extent_map_truncate() 225 "cpos %u, clusters %u\n", in ocfs2_dinode_insert_check() [all …]
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_rogue_defs.h | 78 * clusters by 2 and round up 80 #define ROGUE_REQ_NUM_DUSTS(CLUSTERS) (((CLUSTERS) + 1U) / 2U) argument 84 * the number of clusters by 4 and round up 86 #define ROGUE_REQ_NUM_PHANTOMS(CLUSTERS) (((CLUSTERS) + 3U) / 4U) argument 87 #define ROGUE_REQ_NUM_BERNADOS(CLUSTERS) (((CLUSTERS) + 3U) / 4U) argument 88 #define ROGUE_REQ_NUM_BLACKPEARLS(CLUSTERS) (((CLUSTERS) + 3U) / 4U) argument
|
| /linux/arch/arm/common/ |
| H A D | mcpm_entry.c | 36 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/fs/ntfs3/ |
| H A D | Kconfig | 18 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 D | file.c | 385 /* Allocate clusters for rw map. */ in ntfs_file_mmap_prepare() 463 * Allocate and zero new clusters. in ntfs_extend() 464 * Zeroing these clusters may be too long. in ntfs_extend() 473 * Allocate but not zero new clusters. in ntfs_extend() 562 * we just allocate clusters without zeroing them out. Otherwise we 563 * allocate and zero out clusters via an expanding truncate. 743 * Allocate clusters, do not change 'valid' size. in ntfs_fallocate() 761 * Allocate and zero new clusters. in ntfs_fallocate() 762 * Zeroing these clusters may be too long. in ntfs_fallocate() 772 * Allocate but not zero new clusters. in ntfs_fallocate()
|
| H A D | super.c | 10 * vcn - virtual cluster number - Offset inside the file in clusters. 12 * lcn - logical cluster number - 0 based cluster in clusters heap. 20 * non-resident attribute - Attribute with content stored in clusters 23 * allocated_size - Total size of clusters allocated for non-resident content 24 * total_size - Actual size of allocated clusters for sparse or compressed attributes 31 * ntfs allows up to 2^64 clusters per volume. 40 * | Volume size | Clusters | ntfs.sys | ntfs3 | ntfs3_64 | mkntfs | chkdsk | 467 * number of clusters 935 u64 sectors, clusters, mlcn, mlcn2, dev_size0; in ntfs_init_from_boot() 1119 clusters in ntfs_init_from_boot() 922 u64 sectors, clusters, mlcn, mlcn2, dev_size0; ntfs_init_from_boot() local [all...] |
| /linux/drivers/gpu/drm/msm/adreno/ |
| H A D | a6xx_gpu_state.c | 39 struct a6xx_gpu_state_obj *clusters; member 730 /* Some clusters need a selector register to be programmed too */ in a6xx_get_cluster() 784 /* Some clusters need a selector register to be programmed too */ in a7xx_get_cluster() 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() [all …]
|
| /linux/Documentation/filesystems/ext4/ |
| H A D | bigalloc.rst | 27 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/fs/fat/ |
| H A D | file.c | 257 * we just allocate clusters without zeroing them out. Otherwise we 258 * allocate and zero out clusters via an expanding truncate. 263 int nr_cluster; /* Number of clusters to be allocated */ in fat_fallocate() 285 /* First compute the number of clusters to be allocated */ in fat_fallocate() 290 /* Start the allocation.We are not zeroing out the clusters */ in fat_fallocate() 309 /* Free all clusters after the skip'th cluster. */
|
| H A D | misc.c | 66 /* Flushes the number of free clusters on FAT32 */ 104 * fat_chain_add() adds a new cluster to the chain of clusters represented 162 sb, "clusters badly computed (%d != %llu)", new_fclus, in fat_chain_add()
|
| /linux/Documentation/admin-guide/perf/ |
| H A D | qcom_l2_pmu.rst | 5 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 D | hisi-pmu.rst | 101 contains several Compute Clusters (CCLs). The I/O dies are called Super I/O 102 clusters (SICL) containing multiple I/O clusters (ICLs). Each CCL/ICL in the
|
| /linux/Documentation/devicetree/bindings/mailbox/ |
| H A D | ti,omap-mailbox.yaml | 38 combine multiple clusters into a single IP block present within the Main 39 NavSS. The interrupt lines from all these clusters are multiplexed and routed 42 block comprising of multiple clusters, but the number of clusters are
|
| /linux/drivers/base/ |
| H A D | arch_topology.c | 554 * First check for child clusters; we currently ignore any in parse_cluster() 555 * information about the nesting of clusters and present the in parse_cluster() 570 pr_warn("Topology for clusters of clusters not yet supported\n"); in parse_cluster() 589 pr_err("%pOF: cpu-map children should be clusters\n", c); in parse_cluster() 714 * For systems with no shared cpu-side LLC but with clusters defined, in cpu_coregroup_mask() 912 * number of heterogeneous CPU clusters. On a homogeneous system in parse_acpi_topology()
|
| /linux/Documentation/arch/arm/ |
| H A D | cluster-pm-race-avoidance.rst | 22 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/platform/mellanox/ |
| H A D | Kconfig | 38 Centers (EDC) for building Ethernet based clusters, High-Performance 72 Centers (EDC) for building Ethernet based clusters, High-Performance
|
| /linux/drivers/clk/qcom/ |
| H A D | clk-cpu-8996.c | 7 * Each of the CPU clusters (Power and Perf) on msm8996 are 442 /* Select GPLL0 for 300MHz for both clusters */ in qcom_cpu_clk_msm8996_register_clks() 465 /* Enable auto clock selection for both clusters */ in qcom_cpu_clk_msm8996_register_clks() 480 /* Switch clusters to use the ACD leg */ in qcom_cpu_clk_msm8996_register_clks()
|
| /linux/fs/exfat/ |
| H A D | fatent.c | 54 /* remap reserved clusters to simplify code */ in __exfat_ent_get() 257 * bitmap to get the number of used clusters. in __exfat_free_cluster() 362 "%s: invalid used clusters(t:%u,u:%u)\n", in exfat_alloc_cluster()
|
| /linux/include/linux/ |
| H A D | swap.h | 29 #define SWAP_FLAG_DISCARD_PAGES 0x40000 /* discard page-clusters after use */ 273 struct list_head free_clusters; /* free clusters list */ 274 struct list_head full_clusters; /* full clusters list */ 303 struct list_head discard_clusters; /* discard clusters list */
|