Go to the documentation of this file. 1 #ifndef _SPARC64_MDESC_H
2 #define _SPARC64_MDESC_H
4 #include <linux/types.h>
18 #define MDESC_NODE_NULL (~(u64)0)
21 u64 from_node,
const char *
name);
22 #define mdesc_for_each_node_by_name(__hdl, __node, __name) \
23 for (__node = mdesc_node_by_name(__hdl, MDESC_NODE_NULL, __name); \
24 (__node) != MDESC_NODE_NULL; \
25 __node = mdesc_node_by_name(__hdl, __node, __name))
50 #define MDESC_ARC_TYPE_FWD "fwd"
51 #define MDESC_ARC_TYPE_BACK "back"
54 const char *arc_type);
55 #define mdesc_for_each_arc(__arc, __hdl, __node, __type) \
56 for (__arc = mdesc_next_arc(__hdl, __node, __type); \
57 (__arc) != MDESC_NODE_NULL; \
58 __arc = mdesc_next_arc(__hdl, __arc, __type))