Home
last modified time | relevance | path

Searched refs:nodes (Results 1 – 25 of 977) sorted by relevance

12345678910>>...40

/src/contrib/ofed/librdmacm/examples/
H A Dcmtime.c102 static struct node *nodes; variable
171 if (!zero_time(&nodes[c].times[i][0]) && in show_perf()
172 !zero_time(&nodes[c].times[i][1])) { in show_perf()
173 us = diff_us(&nodes[c].times[i][1], &nodes[c].times[i][0]); in show_perf()
355 nodes = calloc(sizeof *nodes, connections); in alloc_nodes()
356 if (!nodes) in alloc_nodes()
362 start_perf(&nodes[i], STEP_CREATE_ID); in alloc_nodes()
364 ret = rdma_create_id(channel, &nodes[i].id, &nodes[i], in alloc_nodes()
369 end_perf(&nodes[i], STEP_CREATE_ID); in alloc_nodes()
376 rdma_destroy_id(nodes[i].id); in alloc_nodes()
[all …]
H A Dcmatose.c64 struct cmatest_node *nodes; member
274 node = &test.nodes[test.conn_index++]; in connect_handler()
375 test.nodes = malloc(sizeof *test.nodes * connections); in alloc_nodes()
376 if (!test.nodes) { in alloc_nodes()
380 memset(test.nodes, 0, sizeof *test.nodes * connections); in alloc_nodes()
383 test.nodes[i].id = i; in alloc_nodes()
386 &test.nodes[i].cma_id, in alloc_nodes()
387 &test.nodes[i], hints.ai_port_space); in alloc_nodes()
395 rdma_destroy_id(test.nodes[i].cma_id); in alloc_nodes()
396 free(test.nodes); in alloc_nodes()
[all …]
H A Dmckey.c65 struct cmatest_node *nodes; member
380 test.nodes = malloc(sizeof *test.nodes * connections); in alloc_nodes()
381 if (!test.nodes) { in alloc_nodes()
385 memset(test.nodes, 0, sizeof *test.nodes * connections); in alloc_nodes()
388 test.nodes[i].id = i; in alloc_nodes()
389 ret = rdma_create_id(test.channel, &test.nodes[i].cma_id, in alloc_nodes()
390 &test.nodes[i], port_space); in alloc_nodes()
397 rdma_destroy_id(test.nodes[i].cma_id); in alloc_nodes()
398 free(test.nodes); in alloc_nodes()
407 destroy_node(&test.nodes[i]); in destroy_nodes()
[all …]
H A Dudaddy.c62 struct cmatest_node *nodes; member
296 node = &test.nodes[test.conn_index++]; in connect_handler()
418 test.nodes = malloc(sizeof *test.nodes * connections); in alloc_nodes()
419 if (!test.nodes) { in alloc_nodes()
423 memset(test.nodes, 0, sizeof *test.nodes * connections); in alloc_nodes()
426 test.nodes[i].id = i; in alloc_nodes()
429 &test.nodes[i].cma_id, in alloc_nodes()
430 &test.nodes[i], hints.ai_port_space); in alloc_nodes()
438 rdma_destroy_id(test.nodes[i].cma_id); in alloc_nodes()
439 free(test.nodes); in alloc_nodes()
[all …]
/src/sys/netpfil/ipfilter/netinet/
H A Dradix_ipf.c33 ipf_rdx_node_t nodes[2], int *);
101 buildnodes(addrfamily_t *addr, addrfamily_t *mask, ipf_rdx_node_t nodes[2]) in buildnodes()
118 bzero(&nodes[0], sizeof(ipf_rdx_node_t) * 2); in buildnodes()
119 nodes[0].maskbitcount = maskbits; in buildnodes()
120 nodes[0].index = -1 - (ADF_OFF_BITS + maskbits); in buildnodes()
121 nodes[0].addrkey = (u_32_t *)addr; in buildnodes()
122 nodes[0].maskkey = (u_32_t *)mask; in buildnodes()
123 nodes[0].addroff = nodes[0].addrkey + masklen; in buildnodes()
124 nodes[0].maskoff = nodes[0].maskkey + masklen; in buildnodes()
125 nodes[0].parent = &nodes[1]; in buildnodes()
[all …]
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DSpillPlacement.cpp151 bool update(const Node nodes[], BlockFrequency Threshold) { in update()
156 if (nodes[L.second].Value == -1) in update()
158 else if (nodes[L.second].Value == 1) in update()
181 const Node nodes[]) const { in getDissentingNeighbors()
186 if (Value != nodes[n].Value) in getDissentingNeighbors()
196 assert(!nodes && "Leaking node array"); in runOnMachineFunction()
197 nodes = new Node[bundles->getNumBundles()]; in runOnMachineFunction()
215 delete[] nodes; in releaseMemory()
216 nodes = nullptr; in releaseMemory()
226 nodes[n].clear(Threshold); in activate()
[all …]
/src/bin/sh/
H A DMakefile18 GENSRCS= builtins.c nodes.c syntax.c
19 GENHDRS= builtins.h nodes.h syntax.h token.h
47 nodes.c nodes.h: mknodes
56 .ORDER: nodes.c nodes.h
57 nodes.h: .NOMETA
58 nodes.c nodes.h: nodetypes nodes.c.pat
59 ${BTOOLSPATH:U.}/mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat
/src/crypto/openssl/crypto/x509/
H A Dpcy_node.c28 X509_POLICY_NODE *ossl_policy_tree_find_sk(STACK_OF(X509_POLICY_NODE) *nodes, in ossl_policy_tree_find_sk() argument
38 idx = sk_X509_POLICY_NODE_find(nodes, &l); in ossl_policy_tree_find_sk()
39 return sk_X509_POLICY_NODE_value(nodes, idx); in ossl_policy_tree_find_sk()
48 for (i = 0; i < sk_X509_POLICY_NODE_num(level->nodes); i++) { in ossl_policy_level_find_node()
49 node = sk_X509_POLICY_NODE_value(level->nodes, i); in ossl_policy_level_find_node()
82 if (level->nodes == NULL) in ossl_policy_level_add_node()
83 level->nodes = ossl_policy_node_cmp_new(); in ossl_policy_level_add_node()
84 if (level->nodes == NULL) { in ossl_policy_level_add_node()
88 if (!sk_X509_POLICY_NODE_push(level->nodes, node)) { in ossl_policy_level_add_node()
119 (void)sk_X509_POLICY_NODE_pop(level->nodes); in ossl_policy_level_add_node()
H A Dpcy_tree.c72 for (i = 0; i < sk_X509_POLICY_NODE_num(plev->nodes); i++) { in tree_print()
73 X509_POLICY_NODE *node = sk_X509_POLICY_NODE_value(plev->nodes, i); in tree_print()
268 for (i = 0; i < sk_X509_POLICY_NODE_num(last->nodes); i++) { in tree_link_matching_nodes()
269 X509_POLICY_NODE *node = sk_X509_POLICY_NODE_value(last->nodes, i); in tree_link_matching_nodes()
384 for (i = 0; i < sk_X509_POLICY_NODE_num(last->nodes); i++) { in tree_link_any()
385 node = sk_X509_POLICY_NODE_value(last->nodes, i); in tree_link_any()
408 STACK_OF(X509_POLICY_NODE) *nodes; in tree_prune()
411 nodes = curr->nodes; in tree_prune()
413 for (i = sk_X509_POLICY_NODE_num(nodes) - 1; i >= 0; i--) { in tree_prune()
414 node = sk_X509_POLICY_NODE_value(nodes, i); in tree_prune()
[all …]
/src/sys/contrib/device-tree/Bindings/cpu/
H A Dcpu-topology.txt20 For instance in a system where CPUs support SMT, "cpu" nodes represent all
22 In systems where SMT is not supported "cpu" nodes represent all cores present
25 CPU topology bindings allow one to associate cpu nodes with hierarchical groups
27 tree nodes.
32 The cpu nodes, as per bindings defined in [4], represent the devices that
35 A topology description containing phandles to cpu nodes that are not compliant
44 nodes are listed.
60 The cpu-map node's child nodes can be:
62 - one or more cluster nodes or
63 - one or more socket nodes in a multi-socket system
[all …]
/src/tests/sys/netpfil/pf/
H A Dsrc_track.sh241 nodes=$(mktemp) || exit 1
242 jexec router pfctl -qvsS | normalize_pfctl_s > $nodes
248 grep -qE "${node_regexp}" $nodes || atf_fail "Source node not found for '${node_regexp}'"
298 nodes=$(mktemp) || exit 1
299 jexec router pfctl -qvsS | normalize_pfctl_s > $nodes
300 cat $nodes
302 grep -qE "$node_regexp" $nodes || atf_fail "Source nodes not matching expected output"
363 nodes=$(mktemp) || exit 1
364 jexec router pfctl -qvvsS | normalize_pfctl_s > $nodes
395 grep -qE "${node_regexp}" $nodes || atf_fail "Source node not found for '${node_regexp}'"
[all …]
/src/sys/contrib/device-tree/Bindings/usb/
H A Dusb-device.txt7 Four types of device-tree nodes are defined: "host-controller nodes"
8 representing USB host controllers, "device nodes" representing USB devices,
9 "interface nodes" representing USB interfaces and "combined nodes"
20 Required properties for device nodes:
30 Required properties for device nodes with interface nodes:
35 Required properties for interface nodes:
49 Required properties for combined nodes:
59 Required properties for hub nodes with device nodes:
64 Required properties for host-controller nodes with device nodes:
/src/crypto/openssl/crypto/
H A Dsparse_array.c55 void **nodes; member
69 void *nodes[SA_BLOCK_MAX_LEVELS]; in sa_doall() local
74 nodes[0] = sa->nodes; in sa_doall()
77 void **const p = nodes[l]; in sa_doall()
90 nodes[l] = p[n]; in sa_doall()
165 p = sa->nodes; in ossl_sa_get()
196 p[0] = sa->nodes; in ossl_sa_set()
197 sa->nodes = p; in ossl_sa_set()
202 p = sa->nodes; in ossl_sa_set()
/src/crypto/openssl/demos/certs/apps/
H A Dmkxcerts.sh13 -config apps.cnf -extensions usr_cert -x509 -nodes \
16 -config apps.cnf -extensions usr_cert -x509 -nodes \
19 -config apps.cnf -extensions usr_cert -x509 -nodes \
28 -config apps.cnf -extensions ec_cert -x509 -nodes \
29 -nodes -keyout tecp256.pem -out tecp256.pem -newkey ec:ecp256.pem \
33 -config apps.cnf -extensions ec_cert -x509 -nodes \
34 -nodes -keyout tecp384.pem -out tecp384.pem -newkey ec:ecp384.pem \
/src/contrib/libyaml/src/
H A Dloader.c95 if (!STACK_INIT(parser, document->nodes, yaml_node_t*)) in yaml_parser_load()
274 data.mark = parser->document->nodes.start[index-1].start_mark; in yaml_parser_register_anchor()
311 parent = &parser->document->nodes.start[parent_index-1]; in yaml_parser_load_node_add()
382 if (!STACK_LIMIT(parser, parser->document->nodes, INT_MAX-1)) goto error; in yaml_parser_load_scalar()
394 if (!PUSH(parser, parser->document->nodes, node)) goto error; in yaml_parser_load_scalar()
396 index = parser->document->nodes.top - parser->document->nodes.start; in yaml_parser_load_scalar()
427 if (!STACK_LIMIT(parser, parser->document->nodes, INT_MAX-1)) goto error; in yaml_parser_load_sequence()
441 if (!PUSH(parser, parser->document->nodes, node)) goto error; in yaml_parser_load_sequence()
443 index = parser->document->nodes.top - parser->document->nodes.start; in yaml_parser_load_sequence()
470 assert(parser->document->nodes.start[index-1].type == YAML_SEQUENCE_NODE); in yaml_parser_load_sequence_end()
[all …]
H A Dapi.c1049 } nodes = { NULL, NULL, NULL }; in yaml_document_initialize() local
1064 if (!STACK_INIT(&context, nodes, yaml_node_t*)) goto error; in yaml_document_initialize()
1097 DOCUMENT_INIT(*document, nodes.start, nodes.end, version_directive_copy, in yaml_document_initialize()
1104 STACK_DEL(&context, nodes); in yaml_document_initialize()
1129 while (!STACK_EMPTY(&context, document->nodes)) { in yaml_document_delete()
1130 yaml_node_t node = POP(&context, document->nodes); in yaml_document_delete()
1146 STACK_DEL(&context, document->nodes); in yaml_document_delete()
1169 if (index > 0 && document->nodes.start + index <= document->nodes.top) { in yaml_document_get_node()
1170 return document->nodes.start + index - 1; in yaml_document_get_node()
1184 if (document->nodes.top != document->nodes.start) { in yaml_document_get_root_node()
[all …]
H A Ddumper.c126 if (STACK_EMPTY(emitter, document->nodes)) { in yaml_emitter_dump()
135 * (document->nodes.top - document->nodes.start)); in yaml_emitter_dump()
138 * (document->nodes.top - document->nodes.start)); in yaml_emitter_dump()
177 for (index = 0; emitter->document->nodes.start + index in yaml_emitter_delete_document_and_anchors()
178 < emitter->document->nodes.top; index ++) { in yaml_emitter_delete_document_and_anchors()
179 yaml_node_t node = emitter->document->nodes.start[index]; in yaml_emitter_delete_document_and_anchors()
194 STACK_DEL(emitter, emitter->document->nodes); in yaml_emitter_delete_document_and_anchors()
209 yaml_node_t *node = emitter->document->nodes.start + index - 1; in yaml_emitter_anchor_node()
266 yaml_node_t *node = emitter->document->nodes.start + index - 1; in yaml_emitter_dump_node()
/src/sys/contrib/device-tree/Bindings/pinctrl/
H A Dmeson,pinctrl.txt22 === GPIO sub-nodes ===
27 Required properties for sub-nodes are:
36 === Other sub-nodes ===
38 Child nodes without the "gpio-controller" represent some desired
39 configuration for a pin or a group. Those nodes can be pinmux nodes or
40 configuration nodes.
42 Required properties for pinmux nodes are:
49 Required properties for configuration nodes:
52 Configuration nodes support the following generic properties, as
/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stackdepotbase.h51 nodes.MemoryUsage() + Node::allocated(), in GetStats()
60 nodes.TestOnlyUnmap(); in TestOnlyUnmap()
73 TwoLevelMap<Node, kNodesSize1, kNodesSize2> nodes; variable
83 const Node &node = nodes[s]; in find()
142 Node &new_node = nodes[s]; in Put()
156 if (!nodes.contains(id)) in Get()
158 const Node &node = nodes[id]; in Get()
173 nodes.Lock(); in LockBeforeFork()
179 nodes.Unlock(); in UnlockAfterFork()
199 const Node &node = nodes[s]; in PrintAll()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DMetadata.def27 // Handler for leaf nodes in the class hierarchy.
32 // Handler for non-leaf nodes in the class hierarchy.
37 // Handler for specialized and uniquable leaf nodes under MDNode. Defers to
50 // Handler for leaf nodes under MDNode.
55 // Handler for leaf nodes under MDNode.
60 // Handler for non-leaf nodes under MDNode.
65 // Handler for specialized leaf nodes under MDNode.
70 // Handler for specialized non-leaf nodes under MDNode.
/src/contrib/kyua/admin/
H A Dcheck-api-docs.awk48 /utils\/config\/nodes\.hpp.*Member set_lua\(lutok::state &, const int\)/ {next}
49 /utils\/config\/nodes\.hpp.*Member push_lua\(lutok::state &\)/ {next}
50 /utils\/config\/nodes\.hpp.*Member set_string\(const std::string &\)/ {next}
51 /utils\/config\/nodes\.hpp.*Member to_string\(void\)/ {next}
52 /utils\/config\/nodes\.hpp.*Member is_set\(void\)/ {next}
/src/contrib/libyaml/tests/
H A Drun-dumper.c27 for (node = document_from->nodes.start; in copy_document()
28 node < document_from->nodes.top; node ++) { in copy_document()
49 for (node = document_from->nodes.start; in copy_document()
50 node < document_from->nodes.top; node ++) { in copy_document()
56 node - document_from->nodes.start + 1, in copy_document()
64 node - document_from->nodes.start + 1, in copy_document()
153 if ((document1->nodes.top - document1->nodes.start) != in compare_documents()
154 (document2->nodes.top - document2->nodes.start)) in compare_documents()
157 if (document1->nodes.top != document1->nodes.start) { in compare_documents()
/src/sys/contrib/device-tree/Bindings/i2c/
H A Di2c-mux.txt4 numbered uniquely in a device dependent manner. The nodes for an i2c bus
15 For i2c multiplexers/switches that have child nodes that are a mixture
16 of both i2c child busses and other child nodes, the 'i2c-mux' subnode
25 Required properties for i2c child bus nodes:
30 Optional properties for i2c child bus nodes:
32 - Child nodes conforming to i2c bus binding
/src/sys/contrib/device-tree/Bindings/pwm/
H A Dpwm-tipwmss.txt10 - address-cells: Specify the number of u32 entries needed in child nodes.
12 - size-cells: specify number of u32 entries needed to specify child nodes size
20 Also child nodes should also populated under PWMSS DT node.
33 /* child nodes go here */
46 /* child nodes go here */
57 /* child nodes go here */
/src/contrib/mandoc/
H A Dtag.c42 struct roff_node **nodes; member
76 free(entry->nodes); in tag_free()
185 entry->nodes = NULL; in tag_put()
206 nold = entry->nodes[--entry->nnodes]; in tag_put()
221 entry->nodes = mandoc_reallocarray(entry->nodes, in tag_put()
222 entry->maxnodes, sizeof(*entry->nodes)); in tag_put()
224 entry->nodes[entry->nnodes++] = n; in tag_put()

12345678910>>...40