Home
last modified time | relevance | path

Searched refs:nclusters (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/mvebu/
H A Dap-cpu-clk.c232 int ret, nclusters = 0, cluster_index = 0; in ap_cpu_clock_probe() local
254 nclusters = 1; in ap_cpu_clock_probe()
266 nclusters = 2; in ap_cpu_clock_probe()
275 ap_cpu_clk = devm_kcalloc(dev, nclusters, sizeof(*ap_cpu_clk), in ap_cpu_clock_probe()
281 nclusters), in ap_cpu_clock_probe()
/kernel/linux/linux-6.6/drivers/clk/mvebu/
H A Dap-cpu-clk.c231 int ret, nclusters = 0, cluster_index = 0; in ap_cpu_clock_probe() local
253 nclusters = 1; in ap_cpu_clock_probe()
265 nclusters = 2; in ap_cpu_clock_probe()
274 ap_cpu_clk = devm_kcalloc(dev, nclusters, sizeof(*ap_cpu_clk), in ap_cpu_clock_probe()
280 nclusters), in ap_cpu_clock_probe()
/kernel/linux/linux-6.6/sound/soc/apple/
H A Dmca.c163 int nclusters; member
183 * FE DAIs are 0 ... nclusters - 1 in mca_dai_to_cluster()
184 * BE DAIs are nclusters ... 2*nclusters - 1 in mca_dai_to_cluster()
186 int cluster_no = dai->id % mca->nclusters; in mca_dai_to_cluster()
311 for (i = 0; i < mca->nclusters; i++) { in mca_fe_clocks_in_use()
990 for (i = 0; i < mca->nclusters; i++) { in apple_mca_release()
1016 int nclusters; in apple_mca_probe() local
1025 nclusters = (resource_size(res) - CLUSTER_STRIDE) / CLUSTER_STRIDE + 1; in apple_mca_probe()
1027 mca = devm_kzalloc(&pdev->dev, struct_size(mca, clusters, nclusters), in apple_mca_probe()
[all...]
/kernel/linux/linux-5.10/fs/ext4/
H A Dballoc.c602 * @nclusters: number of needed blocks
605 * Check if filesystem has nclusters free & available for allocation.
609 s64 nclusters, unsigned int flags) in ext4_has_free_clusters()
626 if (free_clusters - (nclusters + rsv + dirty_clusters) < in ext4_has_free_clusters()
634 if (free_clusters >= (rsv + nclusters + dirty_clusters)) in ext4_has_free_clusters()
643 if (free_clusters >= (nclusters + dirty_clusters + in ext4_has_free_clusters()
649 if (free_clusters >= (nclusters + dirty_clusters)) in ext4_has_free_clusters()
657 s64 nclusters, unsigned int flags) in ext4_claim_free_clusters()
659 if (ext4_has_free_clusters(sbi, nclusters, flags)) { in ext4_claim_free_clusters()
660 percpu_counter_add(&sbi->s_dirtyclusters_counter, nclusters); in ext4_claim_free_clusters()
608 ext4_has_free_clusters(struct ext4_sb_info *sbi, s64 nclusters, unsigned int flags) ext4_has_free_clusters() argument
656 ext4_claim_free_clusters(struct ext4_sb_info *sbi, s64 nclusters, unsigned int flags) ext4_claim_free_clusters() argument
[all...]
H A Dext4.h2571 s64 nclusters, unsigned int flags);
/kernel/linux/linux-6.6/fs/ext4/
H A Dballoc.c606 * @nclusters: number of needed blocks
609 * Check if filesystem has nclusters free & available for allocation.
613 s64 nclusters, unsigned int flags) in ext4_has_free_clusters()
630 if (free_clusters - (nclusters + rsv + dirty_clusters) < in ext4_has_free_clusters()
638 if (free_clusters >= (rsv + nclusters + dirty_clusters)) in ext4_has_free_clusters()
647 if (free_clusters >= (nclusters + dirty_clusters + in ext4_has_free_clusters()
653 if (free_clusters >= (nclusters + dirty_clusters)) in ext4_has_free_clusters()
661 s64 nclusters, unsigned int flags) in ext4_claim_free_clusters()
663 if (ext4_has_free_clusters(sbi, nclusters, flags)) { in ext4_claim_free_clusters()
664 percpu_counter_add(&sbi->s_dirtyclusters_counter, nclusters); in ext4_claim_free_clusters()
612 ext4_has_free_clusters(struct ext4_sb_info *sbi, s64 nclusters, unsigned int flags) ext4_has_free_clusters() argument
660 ext4_claim_free_clusters(struct ext4_sb_info *sbi, s64 nclusters, unsigned int flags) ext4_claim_free_clusters() argument
[all...]
H A Dext4.h2708 s64 nclusters, unsigned int flags);
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dsmp-cps.c48 unsigned int nclusters, ncores, nvpes, core_vpes; in cps_smp_setup() local
54 nclusters = mips_cps_numclusters(); in cps_smp_setup()
56 for (cl = 0; cl < nclusters; cl++) { in cps_smp_setup()
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dsmp-cps.c39 unsigned int nclusters, ncores, nvpes, core_vpes; in cps_smp_setup() local
45 nclusters = mips_cps_numclusters(); in cps_smp_setup()
47 for (cl = 0; cl < nclusters; cl++) { in cps_smp_setup()

Completed in 21 milliseconds