Searched refs:mdesc_handle (Results 1 - 10 of 10) sorted by relevance

/linux-4.4.14/arch/sparc/include/asm/
H A Dmdesc.h8 struct mdesc_handle;
11 * release calls. The mdesc_handle returned from the grab is
15 struct mdesc_handle *mdesc_grab(void);
16 void mdesc_release(struct mdesc_handle *);
20 u64 mdesc_node_by_name(struct mdesc_handle *handle,
37 const void *mdesc_get_property(struct mdesc_handle *handle,
39 const char *mdesc_node_name(struct mdesc_handle *hp, u64 node);
53 u64 mdesc_next_arc(struct mdesc_handle *handle, u64 from,
60 u64 mdesc_arc_target(struct mdesc_handle *hp, u64 arc);
65 void (*add)(struct mdesc_handle *handle, u64 node);
66 void (*remove)(struct mdesc_handle *handle, u64 node);
/linux-4.4.14/arch/sparc/kernel/
H A Dmdesc.c65 struct mdesc_handle *(*alloc)(unsigned int mdesc_size);
66 void (*free)(struct mdesc_handle *handle);
69 struct mdesc_handle { struct
78 static void mdesc_handle_init(struct mdesc_handle *hp, mdesc_handle_init()
91 static struct mdesc_handle * __init mdesc_memblock_alloc(unsigned int mdesc_size) mdesc_memblock_alloc()
94 struct mdesc_handle *hp; mdesc_memblock_alloc()
97 handle_size = (sizeof(struct mdesc_handle) - mdesc_memblock_alloc()
112 static void __init mdesc_memblock_free(struct mdesc_handle *hp) mdesc_memblock_free()
130 static struct mdesc_handle *mdesc_kmalloc(unsigned int mdesc_size) mdesc_kmalloc()
133 struct mdesc_handle *hp; mdesc_kmalloc()
137 handle_size = (sizeof(struct mdesc_handle) - mdesc_kmalloc()
148 hp = (struct mdesc_handle *) addr; mdesc_kmalloc()
155 static void mdesc_kfree(struct mdesc_handle *hp) mdesc_kfree()
168 static struct mdesc_handle *mdesc_alloc(unsigned int mdesc_size, mdesc_alloc()
171 struct mdesc_handle *hp = mops->alloc(mdesc_size); mdesc_alloc()
179 static void mdesc_free(struct mdesc_handle *hp) mdesc_free()
184 static struct mdesc_handle *cur_mdesc;
188 struct mdesc_handle *mdesc_grab(void) mdesc_grab()
190 struct mdesc_handle *hp; mdesc_grab()
203 void mdesc_release(struct mdesc_handle *hp) mdesc_release()
233 static const u64 *parent_cfg_handle(struct mdesc_handle *hp, u64 node) parent_cfg_handle()
254 struct mdesc_handle *a, invoke_on_missing()
255 struct mdesc_handle *b, invoke_on_missing()
256 void (*func)(struct mdesc_handle *, u64)) invoke_on_missing()
309 struct mdesc_handle *old_hp, notify_one()
310 struct mdesc_handle *new_hp) notify_one()
316 static void mdesc_notify_clients(struct mdesc_handle *old_hp, mdesc_notify_clients()
317 struct mdesc_handle *new_hp) mdesc_notify_clients()
330 struct mdesc_handle *hp, *orig_hp; mdesc_update()
385 u64 mdesc_node_by_name(struct mdesc_handle *hp, mdesc_node_by_name()
414 const void *mdesc_get_property(struct mdesc_handle *hp, u64 node, mdesc_get_property()
460 u64 mdesc_next_arc(struct mdesc_handle *hp, u64 from, const char *arc_type) mdesc_next_arc()
486 u64 mdesc_arc_target(struct mdesc_handle *hp, u64 arc) mdesc_arc_target()
496 const char *mdesc_node_name(struct mdesc_handle *hp, u64 node) mdesc_node_name()
517 struct mdesc_handle *hp = mdesc_grab(); report_platform_properties()
574 static void fill_in_one_cache(cpuinfo_sparc *c, struct mdesc_handle *hp, u64 mp) fill_in_one_cache()
617 static void find_back_node_value(struct mdesc_handle *hp, u64 node, find_back_node_value()
619 void (*func)(struct mdesc_handle *, u64, int), find_back_node_value()
639 static void __mark_core_id(struct mdesc_handle *hp, u64 node, __mark_core_id()
648 static void __mark_sock_id(struct mdesc_handle *hp, u64 node, __mark_sock_id()
657 static void mark_core_ids(struct mdesc_handle *hp, u64 mp, mark_core_ids()
663 static void mark_sock_ids(struct mdesc_handle *hp, u64 mp, mark_sock_ids()
669 static void set_core_ids(struct mdesc_handle *hp) set_core_ids()
697 static int set_sock_ids_by_cache(struct mdesc_handle *hp, int level) set_sock_ids_by_cache()
720 static void set_sock_ids_by_socket(struct mdesc_handle *hp, u64 mp) set_sock_ids_by_socket()
744 static void set_sock_ids(struct mdesc_handle *hp) set_sock_ids()
759 static void mark_proc_ids(struct mdesc_handle *hp, u64 mp, int proc_id) mark_proc_ids()
778 static void __set_proc_ids(struct mdesc_handle *hp, const char *exec_unit_name) __set_proc_ids()
798 static void set_proc_ids(struct mdesc_handle *hp) set_proc_ids()
826 static void get_mondo_data(struct mdesc_handle *hp, u64 mp, get_mondo_data()
853 static void *mdesc_iterate_over_cpus(void *(*func)(struct mdesc_handle *, u64, int, void *), void *arg, cpumask_t *mask) mdesc_iterate_over_cpus()
855 struct mdesc_handle *hp = mdesc_grab(); mdesc_iterate_over_cpus()
883 static void *record_one_cpu(struct mdesc_handle *hp, u64 mp, int cpuid, record_one_cpu()
902 static void * __init check_one_pgsz(struct mdesc_handle *hp, u64 mp, int cpuid, void *arg) check_one_pgsz()
926 static void *fill_in_one_cpu(struct mdesc_handle *hp, u64 mp, int cpuid, fill_in_one_cpu()
978 struct mdesc_handle *hp; mdesc_fill_in_cpu_data()
993 /* mdesc_open() - Grab a reference to mdesc_handle when /dev/mdesc is
1000 struct mdesc_handle *hp = mdesc_grab(); mdesc_open()
1013 struct mdesc_handle *hp = file->private_data; mdesc_read()
1036 struct mdesc_handle *hp; mdesc_llseek()
1089 struct mdesc_handle *hp; sun4v_mdesc_init()
H A Dvio.c166 static void vio_fill_channel_info(struct mdesc_handle *hp, u64 mp, vio_fill_channel_info()
203 static struct vio_dev *vio_create_one(struct mdesc_handle *hp, u64 mp, vio_create_one()
331 static void vio_add(struct mdesc_handle *hp, u64 node) vio_add()
346 static void vio_remove(struct mdesc_handle *hp, u64 node) vio_remove()
371 static void vio_add_ds(struct mdesc_handle *hp, u64 node) vio_add_ds()
403 struct mdesc_handle *hp; vio_init()
H A Dsetup_64.c465 struct mdesc_handle *hp; mdesc_cpu_hwcap_list()
H A Dds.c1164 struct mdesc_handle *hp; ds_probe()
H A Dldc.c2321 struct mdesc_handle *hp; ldc_init()
/linux-4.4.14/arch/sparc/mm/
H A Dinit_64.c919 static int scan_pio_for_cfg_handle(struct mdesc_handle *md, u64 pio, scan_pio_for_cfg_handle()
936 static int scan_arcs_for_cfg_handle(struct mdesc_handle *md, u64 grp, scan_arcs_for_cfg_handle()
969 struct mdesc_handle *md; of_node_to_nid()
1031 static int __init grab_mlgroups(struct mdesc_handle *md) grab_mlgroups()
1072 static int __init grab_mblocks(struct mdesc_handle *md) grab_mblocks()
1118 static void __init numa_parse_mdesc_group_cpus(struct mdesc_handle *md, numa_parse_mdesc_group_cpus()
1173 static void find_numa_latencies_for_group(struct mdesc_handle *md, u64 grp, find_numa_latencies_for_group()
1192 static int __init numa_attach_mlgroup(struct mdesc_handle *md, u64 grp, numa_attach_mlgroup()
1230 static int __init numa_parse_mdesc_group(struct mdesc_handle *md, u64 grp, numa_parse_mdesc_group()
1254 struct mdesc_handle *md = mdesc_grab(); numa_parse_mdesc()
/linux-4.4.14/drivers/crypto/
H A Dn2_core.c1737 static int spu_mdesc_walk_arcs(struct mdesc_handle *mdesc, spu_mdesc_walk_arcs()
1765 struct platform_device *dev, struct mdesc_handle *mdesc, handle_exec_unit()
1796 static int spu_mdesc_scan(struct mdesc_handle *mdesc, struct platform_device *dev, spu_mdesc_scan()
1822 static int get_irq_props(struct mdesc_handle *mdesc, u64 node, get_irq_props()
1851 static int grab_mdesc_irq_props(struct mdesc_handle *mdesc, grab_mdesc_irq_props()
2003 struct mdesc_handle *mdesc; n2_crypto_probe()
2114 struct mdesc_handle *mdesc; n2_mau_probe()
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dsunvnet.c1854 static struct vnet *vnet_find_parent(struct mdesc_handle *hp, vnet_find_parent()
1920 struct mdesc_handle *hp; vnet_port_probe()
/linux-4.4.14/drivers/block/
H A Dsunvdc.c865 struct mdesc_handle *hp; vdc_port_probe()

Completed in 204 milliseconds