Home
last modified time | relevance | path

Searched refs:cluster_info (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-tpmi.c75 static void read_control_freq(struct tpmi_uncore_cluster_info *cluster_info, in read_control_freq() argument
80 control = readq(cluster_info->cluster_base + UNCORE_CONTROL_INDEX); in read_control_freq()
91 struct tpmi_uncore_cluster_info *cluster_info; in uncore_read_control_freq() local
93 cluster_info = container_of(data, struct tpmi_uncore_cluster_info, uncore_data); in uncore_read_control_freq()
95 if (cluster_info->root_domain) { in uncore_read_control_freq()
96 struct tpmi_uncore_struct *uncore_root = cluster_info->uncore_root; in uncore_read_control_freq()
121 read_control_freq(cluster_info, min, max); in uncore_read_control_freq()
127 static void write_control_freq(struct tpmi_uncore_cluster_info *cluster_info, unsigned int input, in write_control_freq() argument
132 control = readq(cluster_info->cluster_base + UNCORE_CONTROL_INDEX); in write_control_freq()
142 writeq(control, (cluster_info->cluster_base + UNCORE_CONTROL_INDEX)); in write_control_freq()
[all …]
/linux-6.6.21/drivers/md/
Dmd-cluster.c188 struct md_cluster_info *cinfo = mddev->cluster_info; in lockres_init()
272 struct md_cluster_info *cinfo = mddev->cluster_info; in read_resync_info()
289 struct md_cluster_info *cinfo = mddev->cluster_info; in recover_bitmaps()
355 struct md_cluster_info *cinfo = mddev->cluster_info; in recover_prep()
361 struct md_cluster_info *cinfo = mddev->cluster_info; in __recover_slot()
378 struct md_cluster_info *cinfo = mddev->cluster_info; in recover_slot()
394 struct md_cluster_info *cinfo = mddev->cluster_info; in recover_done()
422 struct md_cluster_info *cinfo = res->mddev->cluster_info; in ack_bast()
434 struct md_cluster_info *cinfo = mddev->cluster_info; in remove_suspend_info()
446 struct md_cluster_info *cinfo = mddev->cluster_info; in process_suspend_info()
[all …]
Dmd.h531 struct md_cluster_info *cluster_info; member
838 return mddev->cluster_info && mddev->bitmap_info.nodes > 1; in mddev_is_clustered()
Dmd-bitmap.c1816 if (mddev_is_clustered(bitmap->mddev) && bitmap->mddev->cluster_info && in md_bitmap_free()
Dmd.c6263 mddev->cluster_info = NULL; in md_clean()
/linux-6.6.21/mm/
Dswapfile.c362 ci = si->cluster_info; in lock_cluster()
471 cluster_list_add_tail(&si->discard_clusters, si->cluster_info, idx); in swap_cluster_schedule_discard()
478 struct swap_cluster_info *ci = si->cluster_info; in __free_cluster()
493 info = si->cluster_info; in swap_do_scheduled_discard()
532 struct swap_cluster_info *ci = si->cluster_info; in alloc_cluster()
541 struct swap_cluster_info *ci = si->cluster_info + idx; in free_cluster()
563 struct swap_cluster_info *cluster_info, unsigned long page_nr) in inc_cluster_info_page() argument
567 if (!cluster_info) in inc_cluster_info_page()
569 if (cluster_is_free(&cluster_info[idx])) in inc_cluster_info_page()
572 VM_BUG_ON(cluster_count(&cluster_info[idx]) >= SWAPFILE_CLUSTER); in inc_cluster_info_page()
[all …]
/linux-6.6.21/include/linux/
Dswap.h290 struct swap_cluster_info *cluster_info; /* cluster info. Only for SSD */ member