mdesc_handle
struct mdesc_handle *mdesc_grab(void);
void mdesc_release(struct mdesc_handle *);
u64 mdesc_node_by_name(struct mdesc_handle *handle,
const void *mdesc_get_property(struct mdesc_handle *handle,
const char *mdesc_node_name(struct mdesc_handle *hp, u64 node);
u64 mdesc_next_arc(struct mdesc_handle *handle, u64 from,
u64 mdesc_arc_target(struct mdesc_handle *hp, u64 arc);
void (*add)(struct mdesc_handle *handle, u64 node,
void (*remove)(struct mdesc_handle *handle, u64 node,
u64 mdesc_get_node(struct mdesc_handle *hp, const char *node_name,
struct mdesc_handle;
int mdesc_get_node_info(struct mdesc_handle *hp, u64 node,
u64 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev);
struct mdesc_handle *hp = mdesc_grab();
struct mdesc_handle *hp;
struct mdesc_handle *hp;
static void mark_proc_ids(struct mdesc_handle *hp, u64 mp, int proc_id)
static void __set_proc_ids(struct mdesc_handle *hp, const char *exec_unit_name)
static void set_proc_ids(struct mdesc_handle *hp)
static void get_mondo_data(struct mdesc_handle *hp, u64 mp,
static void *mdesc_iterate_over_cpus(void *(*func)(struct mdesc_handle *, u64, int, void *), void *arg, cpumask_t *mask)
struct mdesc_handle *hp = mdesc_grab();
static void *record_one_cpu(struct mdesc_handle *hp, u64 mp, int cpuid,
static void * __init check_one_pgsz(struct mdesc_handle *hp, u64 mp, int cpuid, void *arg)
static void *fill_in_one_cpu(struct mdesc_handle *hp, u64 mp, int cpuid,
struct mdesc_handle *hp;
struct mdesc_handle *hp = mdesc_grab();
struct mdesc_handle *hp = file->private_data;
struct mdesc_handle *hp = file->private_data;
struct mdesc_handle *hp;
static void mdesc_handle_init(struct mdesc_handle *hp,
static struct mdesc_handle * __init mdesc_memblock_alloc(unsigned int mdesc_size)
struct mdesc_handle *hp;
handle_size = (sizeof(struct mdesc_handle) -
static void __init mdesc_memblock_free(struct mdesc_handle *hp)
static struct mdesc_handle *mdesc_kmalloc(unsigned int mdesc_size)
struct mdesc_handle *hp;
handle_size = (sizeof(struct mdesc_handle) -
hp = (struct mdesc_handle *) addr;
static void mdesc_kfree(struct mdesc_handle *hp)
static struct mdesc_handle *mdesc_alloc(unsigned int mdesc_size,
struct mdesc_handle *hp = mops->alloc(mdesc_size);
static void mdesc_free(struct mdesc_handle *hp)
static struct mdesc_handle *cur_mdesc;
struct mdesc_handle *mdesc_grab(void)
struct mdesc_handle *hp;
void mdesc_release(struct mdesc_handle *hp)
static const u64 *parent_cfg_handle(struct mdesc_handle *hp, u64 node)
static int get_vdev_port_node_info(struct mdesc_handle *md, u64 node,
static int get_ds_port_node_info(struct mdesc_handle *md, u64 node,
struct mdesc_handle *a,
struct mdesc_handle *b,
void (*func)(struct mdesc_handle *, u64,
struct mdesc_handle *old_hp,
struct mdesc_handle *new_hp)
static void mdesc_notify_clients(struct mdesc_handle *old_hp,
struct mdesc_handle *new_hp)
struct mdesc_handle *hp, *orig_hp;
u64 mdesc_get_node(struct mdesc_handle *hp, const char *node_name,
int mdesc_get_node_info(struct mdesc_handle *hp, u64 node,
u64 mdesc_node_by_name(struct mdesc_handle *hp,
const void *mdesc_get_property(struct mdesc_handle *hp, u64 node,
struct mdesc_handle *(*alloc)(unsigned int mdesc_size);
void (*free)(struct mdesc_handle *handle);
u64 mdesc_next_arc(struct mdesc_handle *hp, u64 from, const char *arc_type)
u64 mdesc_arc_target(struct mdesc_handle *hp, u64 arc)
const char *mdesc_node_name(struct mdesc_handle *hp, u64 node)
struct mdesc_handle *hp = mdesc_grab();
typedef int (*mdesc_node_info_get_f)(struct mdesc_handle *, u64,
static void fill_in_one_cache(cpuinfo_sparc *c, struct mdesc_handle *hp, u64 mp)
static void find_back_node_value(struct mdesc_handle *hp, u64 node,
void (*func)(struct mdesc_handle *, u64, int),
static void __mark_core_id(struct mdesc_handle *hp, u64 node,
static void __mark_max_cache_id(struct mdesc_handle *hp, u64 node,
static void mark_core_ids(struct mdesc_handle *hp, u64 mp,
static void mark_max_cache_ids(struct mdesc_handle *hp, u64 mp,
static void set_core_ids(struct mdesc_handle *hp)
static int get_vdev_port_node_info(struct mdesc_handle *md, u64 node,
static int set_max_cache_ids_by_cache(struct mdesc_handle *hp, int level)
static void set_sock_ids_by_socket(struct mdesc_handle *hp, u64 mp)
static int get_ds_port_node_info(struct mdesc_handle *md, u64 node,
static void set_sock_ids(struct mdesc_handle *hp)
struct mdesc_handle *hp;
static const u64 *vio_cfg_handle(struct mdesc_handle *hp, u64 node)
u64 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev)
static void vio_fill_channel_info(struct mdesc_handle *hp, u64 mp,
static struct vio_dev *vio_create_one(struct mdesc_handle *hp, u64 mp,
static void vio_add(struct mdesc_handle *hp, u64 node,
struct mdesc_handle *hp;
static void vio_remove(struct mdesc_handle *hp, u64 node, const char *node_name)
static void vio_add_ds(struct mdesc_handle *hp, u64 node,
struct mdesc_handle *hp;
static int scan_pio_for_cfg_handle(struct mdesc_handle *md, u64 pio,
static int scan_arcs_for_cfg_handle(struct mdesc_handle *md, u64 grp,
struct mdesc_handle *md;
static int __init grab_mlgroups(struct mdesc_handle *md)
static int __init grab_mblocks(struct mdesc_handle *md)
static void __init numa_parse_mdesc_group_cpus(struct mdesc_handle *md,
static void __init find_numa_latencies_for_group(struct mdesc_handle *md,
static int __init numa_attach_mlgroup(struct mdesc_handle *md, u64 grp,
static int __init numa_parse_mdesc_group(struct mdesc_handle *md, u64 grp,
struct mdesc_handle *md = mdesc_grab();
struct mdesc_handle *hp;
static struct vnet *vsw_get_vnet(struct mdesc_handle *hp,
struct mdesc_handle *hp;
static struct vnet *vnet_find_parent(struct mdesc_handle *hp,
struct mdesc_handle *hp;
struct mdesc_handle *hp = mdesc_grab();
struct mdesc_handle *hp;
struct mdesc_handle *handle;