Lines Matching refs:part_hdr
119 struct part_hdr { struct
147 return sizeof(struct part_hdr); in part_hdr__size()
155 return ((struct part_hdr *)hdr)->cpus; in part_hdr__rcpus()
164 memcpy(name, ((struct part_hdr *)hdr)->part_name, in part_hdr__part_name()
661 struct dentry *systems_dir, void *part_hdr) in hypfs_create_lpar_files() argument
669 part_hdr__part_name(diag204_info_type, part_hdr, lpar_name); in hypfs_create_lpar_files()
677 cpu_info = part_hdr + part_hdr__size(diag204_info_type); in hypfs_create_lpar_files()
678 for (i = 0; i < part_hdr__rcpus(diag204_info_type, part_hdr); i++) { in hypfs_create_lpar_files()
735 void *time_hdr, *part_hdr; in hypfs_diag_create_files() local
749 part_hdr = time_hdr + info_blk_hdr__size(diag204_info_type); in hypfs_diag_create_files()
751 part_hdr = hypfs_create_lpar_files(sb, systems_dir, part_hdr); in hypfs_diag_create_files()
752 if (IS_ERR(part_hdr)) { in hypfs_diag_create_files()
753 rc = PTR_ERR(part_hdr); in hypfs_diag_create_files()
758 ptr = hypfs_create_phys_files(sb, root, part_hdr); in hypfs_diag_create_files()