Lines Matching defs:data
109 * xbc_node_get_data() - Get the data of XBC node
112 * Return the data (which is always a null terminated string) of @node.
113 * If the node has invalid data, warn and return NULL.
117 int offset = node->data & ~XBC_VALUE;
334 static int __init xbc_init_node(struct xbc_node *node, char *data, u32 flag)
336 unsigned long offset = data - xbc_data;
341 node->data = (u16)offset | flag;
348 static struct xbc_node * __init xbc_add_node(char *data, u32 flag)
356 if (xbc_init_node(node, data, flag) < 0)
370 static struct xbc_node * __init xbc_add_sibling(char *data, u32 flag)
372 struct xbc_node *sib, *node = xbc_add_node(data, flag);
390 xbc_parse_error("Too many nodes", data);
395 static inline __init struct xbc_node *xbc_add_child(char *data, u32 flag)
397 struct xbc_node *node = xbc_add_sibling(data, flag);
746 * This clears all data structures of parsed bootconfig on memory.
791 *emsg = ret ? "Config data is too big" :
792 "Config data is empty";