Home
last modified time | relevance | path

Searched refs:old_nodes (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages02.c96 unsigned long *old_nodes, *new_nodes; in migrate_to_node() local
103 old_nodes = SAFE_MALLOC(nodemask_size); in migrate_to_node()
106 memset(old_nodes, 0, nodemask_size); in migrate_to_node()
109 set_bit(old_nodes, nodes[i], 1); in migrate_to_node()
112 TEST(tst_syscall(__NR_migrate_pages, pid, max_node, old_nodes, in migrate_to_node()
124 free(old_nodes); in migrate_to_node()
Dmigrate_pages01.c127 unsigned long *old_nodes, *new_nodes; in test_invalid_nodes() local
140 old_nodes = SAFE_MALLOC(NULL, sane_nodemask_size); in test_invalid_nodes()
142 memcpy(old_nodes, sane_old_nodes, sane_nodemask_size); in test_invalid_nodes()
147 old_nodes, new_nodes)); in test_invalid_nodes()
150 free(old_nodes); in test_invalid_nodes()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_utils.cc450 std::vector<NodeDef> old_nodes; in ReplaceMatchingOpTypes() local
451 MatchedNodesAsArray(*match, &old_nodes); in ReplaceMatchingOpTypes()
452 for (const NodeDef& old_node : old_nodes) { in ReplaceMatchingOpTypes()
543 std::vector<NodeDef> old_nodes; in CopyOriginalMatch() local
544 MatchedNodesAsArray(match, &old_nodes); in CopyOriginalMatch()
545 for (const NodeDef& old_node : old_nodes) { in CopyOriginalMatch()