/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 | 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/arch/mips/include/asm/ |
H A D | mips-cps.h | 111 * mips_cps_numclusters - return the number of clusters present in the system 113 * Returns the number of clusters in the system. 138 * clusters so we can trivially read the GCR_CONFIG register in mips_cps_cluster_config() 233 * mips_cps_multicluster_cpus() - Detect whether CPUs are in multiple clusters 235 * Determine whether the system includes CPUs in multiple clusters - ie. 238 * whether multiple clusters are present - it is possible for there to be 239 * clusters which contain no CPUs, which this function will effectively ignore. 241 * Returns true if CPUs are spread across multiple clusters, else false. 251 * Thus we can detect multiple clusters trivially by checking whether in mips_cps_multicluster_cpus()
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | apple,mca.yaml | 11 composed of a number of identical clusters which can operate independently 12 or in an interlinked fashion. Up to 6 clusters have been seen on an MCA. 31 - description: Register region of the MCA clusters proper 89 Clusters' input reference clock. 99 domains of individual clusters for their operation.
|
/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
|
/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[i]; in apple_mca_release() [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/ext4/ |
H A D | balloc.c | 85 * Return the number of clusters used for file system metadata; this 100 /* This is the number of clusters used by the superblock, in ext4_num_overhead_clusters() 107 * Account and record inode table clusters if any cluster in ext4_num_overhead_clusters() 130 * to see if the cluster is already accounted for in the clusters in ext4_num_overhead_clusters() 644 * dirty clusters & root reserved clusters. in ext4_has_free_clusters() 649 /* Hm, nope. Are (enough) root reserved clusters available? */ in ext4_has_free_clusters() 730 * @count: pointer to total number of clusters needed 765 * ext4_count_free_clusters() -- count filesystem free clusters 768 * Adds up the number of free clusters from each block group.
|
/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 161 fat_fs_error(sb, "clusters badly computed (%d != %llu)", 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
|
/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/include/linux/ |
H A D | swap.h | 29 #define SWAP_FLAG_DISCARD_PAGES 0x40000 /* discard page-clusters after use */ 241 * free clusters are organized into a list. We fetch an entry from the list to 265 /* Clusters with flags above are allocatable */ 307 struct list_head free_clusters; /* free clusters list */ 308 struct list_head full_clusters; /* full clusters list */ 341 struct list_head discard_clusters; /* discard clusters list */
|
/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 443 /* Select GPLL0 for 300MHz for both clusters */ in qcom_cpu_clk_msm8996_register_clks() 466 /* Enable auto clock selection for both clusters */ in qcom_cpu_clk_msm8996_register_clks() 481 /* 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() 256 * bitmap to get the number of used clusters. in __exfat_free_cluster() 361 "%s: invalid used clusters(t:%u,u:%u)\n", in exfat_alloc_cluster()
|
H A D | file.c | 58 /* Append new clusters to chain */ in exfat_cont_expand() 205 * updating the bitmap/FAT, which may result in clusters being in __exfat_truncate() 221 /* invalidate cache and free the clusters */ in __exfat_truncate() 234 /* free the clusters */ in __exfat_truncate()
|
/linux/sound/soc/sdca/ |
H A D | sdca_functions.c | 1748 struct sdca_cluster *clusters; in find_sdca_clusters() local 1760 dev_err(dev, "%pfwP: maximum number of clusters exceeded\n", function_node); in find_sdca_clusters() 1764 clusters = devm_kcalloc(dev, num_clusters, sizeof(*clusters), GFP_KERNEL); in find_sdca_clusters() 1765 if (!clusters) in find_sdca_clusters() 1776 clusters[i].id = cluster_list[i]; in find_sdca_clusters() 1785 "mipi-sdca-cluster-id-0x%X-subproperties", clusters[i].id); in find_sdca_clusters() 1794 ret = find_sdca_cluster_channels(dev, cluster_node, &clusters[i]); in find_sdca_clusters() 1801 function->clusters = clusters; in find_sdca_clusters()
|
/linux/fs/xfs/scrub/ |
H A D | ialloc_repair.c | 50 * - Inode records are read into memory in units of 'inode clusters'. However 52 * can be allocated or freed. Clusters are never smaller than one fs block 61 * geometry where one inobt record maps to multiple inode clusters; it is 71 * Clusters cannot be smaller than 4 inodes. The smallest unit of allocation 368 * Sparse clusters must be aligned to sparse chunk alignment. in xrep_ibt_check_inode_ext()
|
/linux/Documentation/admin-guide/blockdev/drbd/ |
H A D | index.rst | 10 clusters and in this context, is a "drop-in" replacement for shared
|