Lines Matching defs:hp

149 static void mdesc_handle_init(struct mdesc_handle *hp,  in mdesc_handle_init()
165 struct mdesc_handle *hp; in mdesc_memblock_alloc() local
183 static void __init mdesc_memblock_free(struct mdesc_handle *hp) in mdesc_memblock_free()
204 struct mdesc_handle *hp; in mdesc_kmalloc() local
224 static void mdesc_kfree(struct mdesc_handle *hp) in mdesc_kfree()
240 struct mdesc_handle *hp = mops->alloc(mdesc_size); in mdesc_alloc() local
248 static void mdesc_free(struct mdesc_handle *hp) in mdesc_free()
259 struct mdesc_handle *hp; in mdesc_grab() local
272 void mdesc_release(struct mdesc_handle *hp) in mdesc_release()
319 static const u64 *parent_cfg_handle(struct mdesc_handle *hp, u64 node) in parent_cfg_handle()
502 struct mdesc_handle *hp, *orig_hp; in mdesc_update() local
542 u64 mdesc_get_node(struct mdesc_handle *hp, const char *node_name, in mdesc_get_node()
582 int mdesc_get_node_info(struct mdesc_handle *hp, u64 node, in mdesc_get_node_info()
627 u64 mdesc_node_by_name(struct mdesc_handle *hp, in mdesc_node_by_name()
656 const void *mdesc_get_property(struct mdesc_handle *hp, u64 node, in mdesc_get_property()
702 u64 mdesc_next_arc(struct mdesc_handle *hp, u64 from, const char *arc_type) in mdesc_next_arc()
728 u64 mdesc_arc_target(struct mdesc_handle *hp, u64 arc) in mdesc_arc_target()
738 const char *mdesc_node_name(struct mdesc_handle *hp, u64 node) in mdesc_node_name()
759 struct mdesc_handle *hp = mdesc_grab(); in report_platform_properties() local
816 static void fill_in_one_cache(cpuinfo_sparc *c, struct mdesc_handle *hp, u64 mp) in fill_in_one_cache()
859 static void find_back_node_value(struct mdesc_handle *hp, u64 node, in find_back_node_value()
881 static void __mark_core_id(struct mdesc_handle *hp, u64 node, in __mark_core_id()
890 static void __mark_max_cache_id(struct mdesc_handle *hp, u64 node, in __mark_max_cache_id()
906 static void mark_core_ids(struct mdesc_handle *hp, u64 mp, in mark_core_ids()
912 static void mark_max_cache_ids(struct mdesc_handle *hp, u64 mp, in mark_max_cache_ids()
919 static void set_core_ids(struct mdesc_handle *hp) in set_core_ids()
947 static int set_max_cache_ids_by_cache(struct mdesc_handle *hp, int level) in set_max_cache_ids_by_cache()
970 static void set_sock_ids_by_socket(struct mdesc_handle *hp, u64 mp) in set_sock_ids_by_socket()
994 static void set_sock_ids(struct mdesc_handle *hp) in set_sock_ids()
1011 static void mark_proc_ids(struct mdesc_handle *hp, u64 mp, int proc_id) in mark_proc_ids()
1030 static void __set_proc_ids(struct mdesc_handle *hp, const char *exec_unit_name) in __set_proc_ids()
1050 static void set_proc_ids(struct mdesc_handle *hp) in set_proc_ids()
1078 static void get_mondo_data(struct mdesc_handle *hp, u64 mp, in get_mondo_data()
1107 struct mdesc_handle *hp = mdesc_grab(); in mdesc_iterate_over_cpus() local
1135 static void *record_one_cpu(struct mdesc_handle *hp, u64 mp, int cpuid, in record_one_cpu()
1154 static void * __init check_one_pgsz(struct mdesc_handle *hp, u64 mp, int cpuid, void *arg) in check_one_pgsz()
1178 static void *fill_in_one_cpu(struct mdesc_handle *hp, u64 mp, int cpuid, in fill_in_one_cpu()
1230 struct mdesc_handle *hp; in mdesc_fill_in_cpu_data() local
1252 struct mdesc_handle *hp = mdesc_grab(); in mdesc_open() local
1265 struct mdesc_handle *hp = file->private_data; in mdesc_read() local
1288 struct mdesc_handle *hp = file->private_data; in mdesc_llseek() local
1325 struct mdesc_handle *hp; in sun4v_mdesc_init() local