Home
last modified time | relevance | path

Searched full:node (Results 1 – 25 of 5489) sorted by relevance

12345678910>>...220

/openbmc/openbmc/poky/bitbake/lib/
H A Dcodegen.py58 def to_source(node, indent_with=' ' * 4, add_line_information=False): argument
59 """This function can convert a node tree back into python sourcecode.
77 generator.visit(node)
102 def newline(self, node=None, extra=0): argument
104 if node is not None and self.add_line_information:
105 self.write('# line: %s' % node.lineno)
115 def body_or_else(self, node): argument
116 self.body(node.body)
117 if node.orelse:
120 self.body(node.orelse)
[all …]
/openbmc/linux/drivers/scsi/elx/libefc/
H A Defc_node.c14 struct efc_node *node = rnode->node; in efc_remote_node_cb() local
18 efc_node_post_event(node, event, NULL); in efc_remote_node_cb()
27 /* Find an FC node structure given the FC port ID */ in efc_node_find()
34 struct efc_node *node = container_of(arg, struct efc_node, ref); in _efc_node_free() local
35 struct efc *efc = node->efc; in _efc_node_free()
38 dma = &node->sparm_dma_buf; in _efc_node_free()
41 mempool_free(node, efc->node_pool); in _efc_node_free()
48 struct efc_node *node = NULL; in efc_node_alloc() local
53 efc_log_debug(efc, "node allocation when shutting down %06x", in efc_node_alloc()
58 node = mempool_alloc(efc->node_pool, GFP_ATOMIC); in efc_node_alloc()
[all …]
H A Defc_device.c8 * device_sm Node State Machine: Remote Device States
16 efc_d_send_prli_rsp(struct efc_node *node, u16 ox_id) in efc_d_send_prli_rsp() argument
19 struct efc *efc = node->efc; in efc_d_send_prli_rsp()
21 node->ls_acc_oxid = ox_id; in efc_d_send_prli_rsp()
22 node->send_ls_acc = EFC_NODE_SEND_LS_ACC_PRLI; in efc_d_send_prli_rsp()
29 if (node->init) { in efc_d_send_prli_rsp()
31 node->display_name, node->wwpn, node->wwnn); in efc_d_send_prli_rsp()
32 if (node->nport->enable_tgt) in efc_d_send_prli_rsp()
33 rc = efc->tt.scsi_new_node(efc, node); in efc_d_send_prli_rsp()
37 efc_node_post_event(node, EFC_EVT_NODE_SESS_REG_FAIL, NULL); in efc_d_send_prli_rsp()
[all …]
H A Defc_fabric.c8 * This file implements remote node state machines for:
16 * fabric_sm Node State Machine: Fabric States
17 * ns_sm Node State Machine: Name/Directory Services States
18 * p2p_sm Node State Machine: Point-to-Point Node States
24 efc_fabric_initiate_shutdown(struct efc_node *node) in efc_fabric_initiate_shutdown() argument
26 struct efc *efc = node->efc; in efc_fabric_initiate_shutdown()
28 node->els_io_enabled = false; in efc_fabric_initiate_shutdown()
30 if (node->attached) { in efc_fabric_initiate_shutdown()
33 /* issue hw node free; don't care if succeeds right away in efc_fabric_initiate_shutdown()
34 * or sometime later, will check node->attached later in in efc_fabric_initiate_shutdown()
[all …]
/openbmc/linux/fs/hfs/
H A Dbnode.c9 * Handle basic btree node operations
18 void hfs_bnode_read(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_read() argument
25 off += node->page_offset; in hfs_bnode_read()
30 if (pagenum >= node->tree->pages_per_bnode) in hfs_bnode_read()
32 page = node->page[pagenum]; in hfs_bnode_read()
42 u16 hfs_bnode_read_u16(struct hfs_bnode *node, int off) in hfs_bnode_read_u16() argument
46 hfs_bnode_read(node, &data, off, 2); in hfs_bnode_read_u16()
50 u8 hfs_bnode_read_u8(struct hfs_bnode *node, int off) in hfs_bnode_read_u8() argument
54 hfs_bnode_read(node, &data, off, 1); in hfs_bnode_read_u8()
58 void hfs_bnode_read_key(struct hfs_bnode *node, void *key, int off) in hfs_bnode_read_key() argument
[all …]
/openbmc/linux/scripts/gdb/linux/
H A Drbtree.py15 node = root.address.cast(rb_root_type.get_type().pointer())
19 node = root['rb_node']
20 if node == 0:
23 while node['rb_left']:
24 node = node['rb_left']
26 return node
31 node = root.address.cast(rb_root_type.get_type().pointer())
35 node = root['rb_node']
36 if node == 0:
39 while node['rb_right']:
[all …]
/openbmc/u-boot/scripts/dtc/
H A Dlivetree.c100 struct node *build_node(struct property *proplist, struct node *children) in build_node()
102 struct node *new = xmalloc(sizeof(*new)); in build_node()
103 struct node *child; in build_node()
117 struct node *build_node_delete(void) in build_node_delete()
119 struct node *new = xmalloc(sizeof(*new)); in build_node_delete()
128 struct node *name_node(struct node *node, char *name) in name_node() argument
130 assert(node->name == NULL); in name_node()
132 node->name = name; in name_node()
134 return node; in name_node()
137 struct node *merge_nodes(struct node *old_node, struct node *new_node) in merge_nodes()
[all …]
H A Dchecks.c43 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node);
76 struct node *node, in check_msg() argument
88 if (node) { in check_msg()
89 fprintf(stderr, "%s", node->fullpath); in check_msg()
100 #define FAIL(c, dti, node, ...) \ argument
104 check_msg((c), dti, node, NULL, __VA_ARGS__); \
107 #define FAIL_PROP(c, dti, node, prop, ...) \ argument
111 check_msg((c), dti, node, prop, __VA_ARGS__); \
115 static void check_nodes_props(struct check *c, struct dt_info *dti, struct node *node) in check_nodes_props() argument
117 struct node *child; in check_nodes_props()
[all …]
/openbmc/linux/scripts/dtc/
H A Dchecks.c29 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node);
62 struct node *node, in check_msg() argument
76 else if (node && node->srcpos) in check_msg()
77 pos = node->srcpos; in check_msg()
92 if (node) { in check_msg()
94 xasprintf_append(&str, "%s:%s: ", node->fullpath, prop->name); in check_msg()
96 xasprintf_append(&str, "%s: ", node->fullpath); in check_msg()
106 pos = node->srcpos; in check_msg()
119 #define FAIL(c, dti, node, ...) \ argument
123 check_msg((c), dti, node, NULL, __VA_ARGS__); \
[all …]
H A Dlivetree.c88 struct node *build_node(struct property *proplist, struct node *children, in build_node()
91 struct node *new = xmalloc(sizeof(*new)); in build_node()
92 struct node *child; in build_node()
107 struct node *build_node_delete(struct srcpos *srcpos) in build_node_delete()
109 struct node *new = xmalloc(sizeof(*new)); in build_node_delete()
119 struct node *name_node(struct node *node, char *name) in name_node() argument
121 assert(node->name == NULL); in name_node()
123 node->name = name; in name_node()
125 return node; in name_node()
128 struct node *omit_node_if_unused(struct node *node) in omit_node_if_unused() argument
[all …]
/openbmc/linux/include/linux/
H A Dbootconfig.h49 /* XBC tree node */
66 /* Node tree access raw APIs */
68 int __init xbc_node_index(struct xbc_node *node);
69 struct xbc_node * __init xbc_node_get_parent(struct xbc_node *node);
70 struct xbc_node * __init xbc_node_get_child(struct xbc_node *node);
71 struct xbc_node * __init xbc_node_get_next(struct xbc_node *node);
72 const char * __init xbc_node_get_data(struct xbc_node *node);
75 * xbc_node_is_value() - Test the node is a value node
76 * @node: An XBC node.
78 * Test the @node is a value node and return true if a value node, false if not.
[all …]
H A Drbtree.h33 #define RB_EMPTY_NODE(node) \ argument
34 ((node)->__rb_parent_color == (unsigned long)(node))
35 #define RB_CLEAR_NODE(node) \ argument
36 ((node)->__rb_parent_color = (unsigned long)(node))
53 /* Fast replacement of a single node without remove/rebalance/add/rebalance */
59 static inline void rb_link_node(struct rb_node *node, struct rb_node *parent, in rb_link_node() argument
62 node->__rb_parent_color = (unsigned long)parent; in rb_link_node()
63 node->rb_left = node->rb_right = NULL; in rb_link_node()
65 *rb_link = node; in rb_link_node()
68 static inline void rb_link_node_rcu(struct rb_node *node, struct rb_node *parent, in rb_link_node_rcu() argument
[all …]
/openbmc/linux/fs/hfsplus/
H A Dbnode.c9 * Handle basic btree node operations
21 /* Copy a specified range of bytes from the raw data of a node */
22 void hfs_bnode_read(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_read() argument
27 off += node->page_offset; in hfs_bnode_read()
28 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bnode_read()
41 u16 hfs_bnode_read_u16(struct hfs_bnode *node, int off) in hfs_bnode_read_u16() argument
45 hfs_bnode_read(node, &data, off, 2); in hfs_bnode_read_u16()
49 u8 hfs_bnode_read_u8(struct hfs_bnode *node, int off) in hfs_bnode_read_u8() argument
53 hfs_bnode_read(node, &data, off, 1); in hfs_bnode_read_u8()
57 void hfs_bnode_read_key(struct hfs_bnode *node, void *key, int off) in hfs_bnode_read_key() argument
[all …]
/openbmc/u-boot/drivers/core/
H A Dofnode.c18 int ofnode_read_u32(ofnode node, const char *propname, u32 *outp) in ofnode_read_u32() argument
20 assert(ofnode_valid(node)); in ofnode_read_u32()
23 if (ofnode_is_np(node)) { in ofnode_read_u32()
24 return of_read_u32(ofnode_to_np(node), propname, outp); in ofnode_read_u32()
29 cell = fdt_getprop(gd->fdt_blob, ofnode_to_offset(node), in ofnode_read_u32()
42 int ofnode_read_u32_default(ofnode node, const char *propname, u32 def) in ofnode_read_u32_default() argument
44 assert(ofnode_valid(node)); in ofnode_read_u32_default()
45 ofnode_read_u32(node, propname, &def); in ofnode_read_u32_default()
50 int ofnode_read_s32_default(ofnode node, const char *propname, s32 def) in ofnode_read_s32_default() argument
52 assert(ofnode_valid(node)); in ofnode_read_s32_default()
[all …]
/openbmc/u-boot/include/dm/
H A Dofnode.h20 * ofnode - reference to a device tree node
34 * There is no ambiguity as to whether ofnode holds an offset or a node
35 * pointer: when the live tree is active it holds a node pointer, otherwise it
37 * the same value could point to a valid device node or a valid offset. We
46 * @np: Pointer to device node, used for live tree
48 * is not a really a pointer to a node: it is an offset value. See above.
56 ofnode node; member
62 * _ofnode_to_np() - convert an ofnode to a live DT node pointer
66 * @node: Reference containing struct device_node * (possibly invalid)
67 * @return pointer to device node (can be NULL)
[all …]
/openbmc/linux/lib/
H A Dbootconfig.c42 * xbc_parse() parses the text to build a simple tree. Each tree node is
43 * simply a key word or a value. A key node may have a next key node or/and
44 * a child node (both key and value). A value node may have a next value
45 * node (for array).
114 * xbc_root_node() - Get the root node of extended boot config
116 * Return the address of root node of extended boot config. If the
128 * xbc_node_index() - Get the index of XBC node
129 * @node: A target node of getting index.
131 * Return the index number of @node in XBC node list.
133 int __init xbc_node_index(struct xbc_node *node) in xbc_node_index() argument
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/logging/phosphor-logging/p10bmc/
H A Dcom.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json7 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0",
8 "Name":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0",
13 "MRU":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0/power10",
14 "Name":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0",
19 "Name":"/sys-0/node-0/nisqually-0",
23 "Dest":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0/power10-0",
24 "Source":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/bmc-0"
30 "MRU":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0/power10",
31 "Name":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0",
36 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0",
[all …]
H A Dcom.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json7 "MRU":"/sys-0/node-0/bellavista-0/eBMC-card-conn-0/Tola-0/bmc-0",
8 "Name":"/sys-0/node-0/bellavista-0/eBMC-card-conn-0/Tola-0",
13 "MRU":"/sys-0/node-0/bellavista-0/proc_socket-0/godel-0/power10",
14 "Name":"/sys-0/node-0/bellavista-0/proc_socket-0/godel-0",
19 "Name":"/sys-0/node-0/bellavista-0",
23 "Dest":"/sys-0/node-0/bellavista-0/proc_socket-0/godel-0/power10-0",
24 "Source":"/sys-0/node-0/bellavista-0/eBMC-card-conn-0/Tola-0/bmc-0"
30 "MRU":"/sys-0/node-0/bellavista-0/proc_socket-0/godel-0/power10",
31 "Name":"/sys-0/node-0/bellavista-0/proc_socket-0/godel-0",
36 "MRU":"/sys-0/node-0/bellavista-0/eBMC-card-conn-0/Tola-0/bmc-0",
[all …]
H A Dcom.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json7 "Name":"/sys-0/node-0/pennybacker-0/proc_socket-0/godel-0/power10-0",
12 "Name":"/sys-0/node-0/pennybacker-0/bmc-0",
16 "Dest":"/sys-0/node-0/pennybacker-0/proc_socket-0/godel-0/power10-0",
17 "Source":"/sys-0/node-0/pennybacker-0/bmc-0"
23 "Name":"/sys-0/node-0/pennybacker-0/proc_socket-0/godel-0/power10-0",
28 "Name":"/sys-0/node-0/pennybacker-0",
32 "Dest":"/sys-0/node-0/pennybacker-0/proc_socket-0/godel-0/power10-1",
33 "Source":"/sys-0/node-0/pennybacker-0/bmc-0"
43 "Name":"/sys-0/node-0/pennybacker-0/proc_socket-0/godel-0",
48 "Name":"/sys-0/node-0/pennybacker-0",
[all …]
H A Dcom.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json7 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0",
8 "Name":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0",
13 "MRU":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0/power10",
14 "Name":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0",
19 "Name":"/sys-0/node-0/nisqually-0",
23 "Dest":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0/power10-0",
24 "Source":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/bmc-0"
30 "MRU":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0/power10",
31 "Name":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0",
36 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0",
[all …]
/openbmc/linux/fs/dlm/
H A Dmidcomms.c29 * Due the fact that dlm has pre-configured node addresses on every side
35 * application layer. The version field of every node will be set on these RCOM
36 * messages as soon as they arrived and the node isn't yet part of the nodes
47 * compatibility. A node cannot send anything to another node when a DLM_FIN
51 * manager removed the node from internal lists, at this point DLM does not
52 * send any message to the other node. There exists two cases:
160 * We could send a fence signal for a specific node to the cluster
185 /* counts how many lockspaces are using this node
187 * node wants to disconnect.
200 struct midcomms_node *node; member
[all …]
/openbmc/qemu/util/
H A Dqtree.c61 * To traverse a #QTree, calling a function for each node visited in
87 gpointer key; /* key for this node */
88 gpointer value; /* value stored at this node */
106 static QTreeNode *q_tree_node_balance(QTreeNode *node);
109 static QTreeNode *q_tree_node_search(QTreeNode *node,
112 static QTreeNode *q_tree_node_rotate_left(QTreeNode *node);
113 static QTreeNode *q_tree_node_rotate_right(QTreeNode *node);
115 static void q_tree_node_check(QTreeNode *node);
122 QTreeNode *node = g_new(QTreeNode, 1); in q_tree_node_new() local
124 node->balance = 0; in q_tree_node_new()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dqos.c44 static void otx2_qos_get_regaddr(struct otx2_qos_node *node, in otx2_qos_get_regaddr() argument
48 if (node->level == NIX_TXSCH_LVL_SMQ) { in otx2_qos_get_regaddr()
49 cfg->reg[index++] = NIX_AF_MDQX_PARENT(node->schq); in otx2_qos_get_regaddr()
50 cfg->reg[index++] = NIX_AF_MDQX_SCHEDULE(node->schq); in otx2_qos_get_regaddr()
51 cfg->reg[index++] = NIX_AF_MDQX_PIR(node->schq); in otx2_qos_get_regaddr()
52 cfg->reg[index] = NIX_AF_MDQX_CIR(node->schq); in otx2_qos_get_regaddr()
53 } else if (node->level == NIX_TXSCH_LVL_TL4) { in otx2_qos_get_regaddr()
54 cfg->reg[index++] = NIX_AF_TL4X_PARENT(node->schq); in otx2_qos_get_regaddr()
55 cfg->reg[index++] = NIX_AF_TL4X_SCHEDULE(node->schq); in otx2_qos_get_regaddr()
56 cfg->reg[index++] = NIX_AF_TL4X_PIR(node->schq); in otx2_qos_get_regaddr()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dhtb.c36 struct mlx5e_qos_node *node = NULL; in mlx5e_htb_enumerate_leaves() local
39 hash_for_each(htb->qos_tc2node, bkt, node, hnode) { in mlx5e_htb_enumerate_leaves()
40 if (node->qid == MLX5E_QOS_QID_INNER) in mlx5e_htb_enumerate_leaves()
42 err = callback(data, node->qid, node->hw_id); in mlx5e_htb_enumerate_leaves()
73 struct mlx5e_qos_node *node; in mlx5e_htb_node_create_leaf() local
75 node = kzalloc(sizeof(*node), GFP_KERNEL); in mlx5e_htb_node_create_leaf()
76 if (!node) in mlx5e_htb_node_create_leaf()
79 node->parent = parent; in mlx5e_htb_node_create_leaf()
81 node->qid = qid; in mlx5e_htb_node_create_leaf()
84 node->classid = classid; in mlx5e_htb_node_create_leaf()
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Djquery.treetable.js9 var $, Node, Tree, methods; variable
13 Node = (function() {
14 function Node(row, tree, settings) { class in Node
38 Node.prototype.addChild = function(child) { class
42 Node.prototype.ancestors = function() {
43 var ancestors, node;
44 node = this;
46 while (node = node.parentNode()) {
47 ancestors.push(node);
52 Node.prototype.collapse = function() {
[all …]

12345678910>>...220