/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_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 */ 480 /*00*/ __le16 cl_cpg; /* Clusters per Block Group */ 710 __le32 i_used; /* Bits (ie, clusters) used */ 711 __le32 i_total; /* Total bits (clusters) [all …]
|
H A D | refcounttree.c | 1844 * If we just need to split the header or tail clusters, in ocfs2_split_refcount_rec() 2322 * Mark the already-existing extent at cpos as refcounted for len clusters. 2359 * Given some contiguous physical clusters, calculate what we need 2366 u32 clusters, in ocfs2_calc_refcount_meta_credits() argument 2377 while (clusters) { in ocfs2_calc_refcount_meta_credits() 2379 cpos, clusters, &rec, in ocfs2_calc_refcount_meta_credits() 2409 recs_add, (unsigned long long)cpos, clusters, in ocfs2_calc_refcount_meta_credits() 2414 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits() 2443 if (cpos + clusters < le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits() 2451 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 | 338 /* Allocate clusters for rw map. */ in ntfs_file_mmap_prepare() 416 * Allocate and zero new clusters. in ntfs_extend() 417 * Zeroing these clusters may be too long. in ntfs_extend() 426 * Allocate but not zero new clusters. in ntfs_extend() 517 * we just allocate clusters without zeroing them out. Otherwise we 518 * allocate and zero out clusters via an expanding truncate. 698 * Allocate clusters, do not change 'valid' size. in ntfs_fallocate() 716 * Allocate and zero new clusters. in ntfs_fallocate() 717 * Zeroing these clusters may be too long. in ntfs_fallocate() 727 * 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. 24 * ntfs allows up to 2^64 clusters per volume. 33 * | Volume size | Clusters | ntfs.sys | ntfs3 | ntfs3_64 | mkntfs | chkdsk | 461 * number of clusters 921 u64 sectors, clusters, mlcn, mlcn2, dev_size0; in ntfs_init_from_boot() local 1099 clusters = sbi->volume.size >> cluster_bits; in ntfs_init_from_boot() 1102 if (clusters >> 32) { in ntfs_init_from_boot() 1113 sbi->used.bitmap.nbits = clusters; in ntfs_init_from_boot() 1139 sbi->maxbytes = (clusters << cluster_bits) - 1; in ntfs_init_from_boot() [all …]
|
/linux/sound/soc/apple/ |
H A D | mca.c | 7 // The MCA peripheral is made up of a number of identical units called clusters. 11 // The clusters can operate independently, or can be combined together in a 14 // ports. The I2S ports can be routed to any of the clusters (irrespective 160 /* Mutex for accessing port_driver of foreign clusters */ 164 struct mca_cluster clusters[] __counted_by(nclusters); 188 return &mca->clusters[cluster_no]; in mca_dai_to_cluster() 312 be_cl = &mca->clusters[i]; in mca_fe_clocks_in_use() 339 fe_cl = &mca->clusters[cl->port_driver]; in mca_be_prepare() 373 fe_cl = &mca->clusters[cl->port_driver]; in mca_be_hw_free() 1014 struct mca_cluster *cl = &mca->clusters[ in apple_mca_release() 1035 struct mca_cluster *clusters; apple_mca_probe() local [all...] |
/linux/drivers/cpufreq/ |
H A D | tegra186-cpufreq.c | 69 struct tegra186_cpufreq_cluster clusters[]; member 78 policy->freq_table = data->clusters[cluster].table; in tegra186_cpufreq_init() 122 cluster = &data->clusters[cluster_id]; in tegra186_cpufreq_get() 237 struct_size(data, clusters, TEGRA186_NUM_CLUSTERS), in tegra186_cpufreq_probe() 255 struct tegra186_cpufreq_cluster *cluster = &data->clusters[i]; in tegra186_cpufreq_probe()
|
/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/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/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/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/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()
|
/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()
|