Home
last modified time | relevance | path

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

/linux/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-tpmi.c86 static void read_control_freq(struct tpmi_uncore_cluster_info *cluster_info, in read_control_freq() argument
91 control = readq(cluster_info->cluster_base + UNCORE_CONTROL_INDEX); in read_control_freq()
101 struct tpmi_uncore_cluster_info *cluster_info; in read_eff_lat_ctrl() local
104 cluster_info = container_of(data, struct tpmi_uncore_cluster_info, uncore_data); in read_eff_lat_ctrl()
105 if (cluster_info->root_domain) in read_eff_lat_ctrl()
108 if (!cluster_info->elc_supported) in read_eff_lat_ctrl()
111 ctrl = readq(cluster_info->cluster_base + UNCORE_CONTROL_INDEX); in read_eff_lat_ctrl()
146 struct tpmi_uncore_cluster_info *cluster_info; in uncore_read_control_freq() local
148 cluster_info = container_of(data, struct tpmi_uncore_cluster_info, uncore_data); in uncore_read_control_freq()
150 if (cluster_info->root_domain) { in uncore_read_control_freq()
[all …]
/linux/drivers/md/
H A Dmd-cluster.c197 struct md_cluster_info *cinfo = mddev->cluster_info; in lockres_init()
281 struct md_cluster_info *cinfo = mddev->cluster_info; in read_resync_info()
298 struct md_cluster_info *cinfo = mddev->cluster_info; in recover_bitmaps()
364 struct md_cluster_info *cinfo = mddev->cluster_info; in recover_prep()
370 struct md_cluster_info *cinfo = mddev->cluster_info; in __recover_slot()
387 struct md_cluster_info *cinfo = mddev->cluster_info; in recover_slot()
403 struct md_cluster_info *cinfo = mddev->cluster_info; in recover_done()
431 struct md_cluster_info *cinfo = res->mddev->cluster_info; in ack_bast()
443 struct md_cluster_info *cinfo = mddev->cluster_info; in remove_suspend_info()
455 struct md_cluster_info *cinfo = mddev->cluster_info; in process_suspend_info()
[all …]
H A Dmd.h578 struct md_cluster_info *cluster_info; member
929 return mddev->cluster_info && mddev->bitmap_info.nodes > 1; in mddev_is_clustered()
H A Dmd-bitmap.c2041 if (mddev_is_clustered(bitmap->mddev) && bitmap->mddev->cluster_info && in md_bitmap_free()
H A Dmd.c6398 mddev->cluster_info = NULL; in md_clean()
/linux/mm/
H A Dswapfile.c393 return ci - si->cluster_info; in cluster_index()
407 ci = si->cluster_info; in lock_cluster()
556 struct swap_cluster_info *cluster_info, unsigned long page_nr) in inc_cluster_info_page() argument
561 if (!cluster_info) in inc_cluster_info_page()
564 ci = cluster_info + idx; in inc_cluster_info_page()
579 if (!si->cluster_info) in dec_cluster_info_page()
944 if (si->cluster_info && vm_swap_full()) in swap_range_alloc()
1054 VM_BUG_ON(!si->cluster_info); in cluster_alloc_swap()
1109 if (!(si->flags & SWP_BLKDEV) || !si->cluster_info) in scan_swap_map_slots()
1113 if (si->cluster_info) in scan_swap_map_slots()
[all …]
/linux/include/linux/
H A Dswap.h300 struct swap_cluster_info *cluster_info; /* cluster info. Only for SSD */ member