/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-kmem.c | 70 struct rb_node node; member 88 struct rb_node **node = &root_alloc_stat.rb_node; in insert_alloc_stat() local 92 while (*node) { in insert_alloc_stat() 93 parent = *node; in insert_alloc_stat() 94 data = rb_entry(*node, struct alloc_stat, node); in insert_alloc_stat() 97 node = &(*node)->rb_right; in insert_alloc_stat() 99 node = &(*node) in insert_alloc_stat() 133 struct rb_node **node = &root_caller_stat.rb_node; insert_caller_stat() local 213 struct rb_node *node = root->rb_node; search_alloc_stat() local 278 struct rb_node node; global() member 335 struct rb_node *node; build_alloc_func_list() local 388 struct callchain_cursor_node *node; find_callsite() local 441 struct rb_node **node = &page_live_tree.rb_node; __page_stat__findnew_page() local 490 struct rb_node **node = &page_alloc_tree.rb_node; __page_stat__findnew_alloc() local 545 struct rb_node **node = &page_caller_tree.rb_node; __page_stat__findnew_caller() local 1281 struct rb_node *node; __sort_slab_result() local 1328 struct rb_node *node; __sort_page_result() local [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-kmem.c | 72 struct rb_node node; member 90 struct rb_node **node = &root_alloc_stat.rb_node; in insert_alloc_stat() local 94 while (*node) { in insert_alloc_stat() 95 parent = *node; in insert_alloc_stat() 96 data = rb_entry(*node, struct alloc_stat, node); in insert_alloc_stat() 99 node = &(*node)->rb_right; in insert_alloc_stat() 101 node = &(*node) in insert_alloc_stat() 135 struct rb_node **node = &root_caller_stat.rb_node; insert_caller_stat() local 226 struct rb_node *node = root->rb_node; search_alloc_stat() local 291 struct rb_node node; global() member 348 struct rb_node *node; build_alloc_func_list() local 401 struct callchain_cursor_node *node; find_callsite() local 464 struct rb_node **node = &page_live_tree.rb_node; __page_stat__findnew_page() local 513 struct rb_node **node = &page_alloc_tree.rb_node; __page_stat__findnew_alloc() local 568 struct rb_node **node = &page_caller_tree.rb_node; __page_stat__findnew_caller() local 1303 struct rb_node *node; __sort_slab_result() local 1350 struct rb_node *node; __sort_page_result() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/ |
H A D | clk-fixed-mmio.c | 18 static struct clk_hw *fixed_mmio_clk_setup(struct device_node *node) in fixed_mmio_clk_setup() argument 21 const char *clk_name = node->name; in fixed_mmio_clk_setup() 26 base = of_iomap(node, 0); in fixed_mmio_clk_setup() 28 pr_err("%pOFn: failed to map address\n", node); in fixed_mmio_clk_setup() 34 of_property_read_string(node, "clock-output-names", &clk_name); in fixed_mmio_clk_setup() 38 pr_err("%pOFn: failed to register fixed rate clock\n", node); in fixed_mmio_clk_setup() 42 ret = of_clk_add_hw_provider(node, of_clk_hw_simple_get, clk); in fixed_mmio_clk_setup() 44 pr_err("%pOFn: failed to add clock provider\n", node); in fixed_mmio_clk_setup() 52 static void __init of_fixed_mmio_clk_setup(struct device_node *node) in of_fixed_mmio_clk_setup() argument 54 fixed_mmio_clk_setup(node); in of_fixed_mmio_clk_setup() [all...] |
/kernel/linux/linux-5.10/drivers/clk/sunxi/ |
H A D | clk-sun8i-apb0.c | 22 static struct clk *sun8i_a23_apb0_register(struct device_node *node, in sun8i_a23_apb0_register() argument 25 const char *clk_name = node->name; in sun8i_a23_apb0_register() 30 clk_parent = of_clk_get_parent_name(node, 0); in sun8i_a23_apb0_register() 34 of_property_read_string(node, "clock-output-names", &clk_name); in sun8i_a23_apb0_register() 42 ret = of_clk_add_provider(node, of_clk_src_simple_get, clk); in sun8i_a23_apb0_register() 54 static void sun8i_a23_apb0_setup(struct device_node *node) in sun8i_a23_apb0_setup() argument 60 reg = of_io_request_and_map(node, 0, of_node_full_name(node)); in sun8i_a23_apb0_setup() 73 clk = sun8i_a23_apb0_register(node, reg); in sun8i_a23_apb0_setup() 81 of_address_to_resource(node, in sun8i_a23_apb0_setup() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | topology.h | 21 #define cpumask_of_node(node) ((node) == -1 ? \ 23 node_to_cpumask_map[node]) 48 static inline void update_numa_cpu_lookup_table(unsigned int cpu, int node) in update_numa_cpu_lookup_table() argument 50 numa_cpu_lookup_table[cpu] = node; in update_numa_cpu_lookup_table() 60 * Fall back to node 0 if nid is unset (it should be, except bugs). in early_cpu_to_node() 67 void update_numa_distance(struct device_node *node); 69 extern void map_cpu_to_node(int cpu, int node); 90 static inline void update_numa_cpu_lookup_table(unsigned int cpu, int node) {} in update_numa_cpu_lookup_table() argument 102 static inline void update_numa_distance(struct device_node *node) {} in update_numa_distance() argument 105 map_cpu_to_node(int cpu, int node) map_cpu_to_node() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | llist.h | 103 * @node: the first entry of deleted list entries 114 #define llist_for_each(pos, node) \ 115 for ((pos) = (node); pos; (pos) = (pos)->next) 122 * @node: the first entry of deleted list entries 133 #define llist_for_each_safe(pos, n, node) \ 134 for ((pos) = (node); (pos) && ((n) = (pos)->next, true); (pos) = (n)) 139 * @node: the fist entry of deleted list entries. 151 #define llist_for_each_entry(pos, node, member) \ 152 for ((pos) = llist_entry((node), typeof(*(pos)), member); \ 161 * @node 192 llist_next(struct llist_node *node) llist_next() argument [all...] |
H A D | plist.h | 18 * This is a priority-sorted list of nodes; each node has a 21 * Addition is O(K), removal is O(1), change of priority of a node is 53 * Addition means: look for the prio_list node in the prio_list 54 * for the priority of the node and insert it before the node_list 55 * entry of the next prio_list node. If it is the first node of 107 * @node: struct plist_node variable name 108 * @__prio: initial node priority 110 #define PLIST_NODE_INIT(node, __prio) \ 113 .prio_list = LIST_HEAD_INIT((node) 132 plist_node_init(struct plist_node *node, int prio) plist_node_init() argument 219 plist_node_empty(const struct plist_node *node) plist_node_empty() argument [all...] |
H A D | interconnect-provider.h | 18 * struct icc_node_data - icc node data 20 * @node: icc node 24 struct icc_node *node; member 54 * @xlate_extended: vendor-specific callback for mapping node data from phandle arguments 64 int (*aggregate)(struct icc_node *node, u32 tag, u32 avg_bw, 66 void (*pre_aggregate)(struct icc_node *node); 67 int (*get_bw)(struct icc_node *node, u32 *avg, u32 *peak); 79 * @id: platform specific node id 80 * @name: node nam 132 icc_std_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, u32 peak_bw, u32 *agg_avg, u32 *agg_peak) icc_std_aggregate() argument 147 icc_link_create(struct icc_node *node, const int dst_id) icc_link_create() argument 157 icc_node_add(struct icc_node *node, struct icc_provider *provider) icc_node_add() argument 161 icc_node_del(struct icc_node *node) icc_node_del() argument [all...] |
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk-fixed-mmio.c | 18 static struct clk_hw *fixed_mmio_clk_setup(struct device_node *node) in fixed_mmio_clk_setup() argument 21 const char *clk_name = node->name; in fixed_mmio_clk_setup() 26 base = of_iomap(node, 0); in fixed_mmio_clk_setup() 28 pr_err("%pOFn: failed to map address\n", node); in fixed_mmio_clk_setup() 34 of_property_read_string(node, "clock-output-names", &clk_name); in fixed_mmio_clk_setup() 38 pr_err("%pOFn: failed to register fixed rate clock\n", node); in fixed_mmio_clk_setup() 42 ret = of_clk_add_hw_provider(node, of_clk_hw_simple_get, clk); in fixed_mmio_clk_setup() 44 pr_err("%pOFn: failed to add clock provider\n", node); in fixed_mmio_clk_setup() 52 static void __init of_fixed_mmio_clk_setup(struct device_node *node) in of_fixed_mmio_clk_setup() argument 54 fixed_mmio_clk_setup(node); in of_fixed_mmio_clk_setup() [all...] |
/kernel/linux/linux-6.6/drivers/clk/sunxi/ |
H A D | clk-sun8i-apb0.c | 22 static struct clk *sun8i_a23_apb0_register(struct device_node *node, in sun8i_a23_apb0_register() argument 25 const char *clk_name = node->name; in sun8i_a23_apb0_register() 30 clk_parent = of_clk_get_parent_name(node, 0); in sun8i_a23_apb0_register() 34 of_property_read_string(node, "clock-output-names", &clk_name); in sun8i_a23_apb0_register() 42 ret = of_clk_add_provider(node, of_clk_src_simple_get, clk); in sun8i_a23_apb0_register() 54 static void sun8i_a23_apb0_setup(struct device_node *node) in sun8i_a23_apb0_setup() argument 60 reg = of_io_request_and_map(node, 0, of_node_full_name(node)); in sun8i_a23_apb0_setup() 73 clk = sun8i_a23_apb0_register(node, reg); in sun8i_a23_apb0_setup() 81 of_address_to_resource(node, in sun8i_a23_apb0_setup() [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/config/ |
H A D | config_manager.py | 34 for node in self.config_content.findall(target_name): 35 if node.attrib["type"] != "com": 38 device = [node.attrib] 42 for sub in node: 53 for serial in node.findall("serial"): 70 for node in self.config_content.findall(target_name): 72 if node.attrib["type"] != "usb-hdc": 74 data_dic["usb_type"] = node.attrib["type"] 75 for sub in node: 82 label = node [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | node-observer.cc | 5 #include "src/compiler/node-observer.h" 7 #include "src/compiler/node-properties.h" 13 ObservableNodeState::ObservableNodeState(const Node* node, Zone* zone) in ObservableNodeState() argument 14 : id_(node->id()), in ObservableNodeState() 15 op_(node->op()), in ObservableNodeState() 16 type_(NodeProperties::GetTypeOrAny(node)) {} in ObservableNodeState() 18 void ObserveNodeManager::StartObserving(Node* node, NodeObserver* observer) { in StartObserving() argument 19 DCHECK_NOT_NULL(node); in StartObserving() 21 DCHECK(observations_.find(node->id()) == observations_.end()); in StartObserving() 24 NodeObserver::Observation observation = observer->OnNodeCreated(node); in StartObserving() [all...] |
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_dict.py | 54 def transform(self, node, results): 56 method = results["method"][0] # Extract node for method name 67 special = not tail and self.in_special_context(node, isiter) 79 new.prefix = node.prefix 82 P1 = "power< func=NAME trailer< '(' node=any ')' > any* >" 85 P2 = """for_stmt< 'for' any 'in' node=any ':' any* > 86 | comp_for< 'for' any 'in' node=any any* > 90 def in_special_context(self, node, isiter): 91 if node.parent is None: 94 if (node [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
H A D | PruneEmptyCases.cpp | 22 bool IsEmptyBlock(TIntermNode *node) in IsEmptyBlock() argument 24 TIntermBlock *asBlock = node->getAsBlock(); in IsEmptyBlock() 30 // here. Note that declarations for struct types do contain a nameless child node. in IsEmptyBlock() 31 ASSERT(node->getAsDeclarationNode() == nullptr || in IsEmptyBlock() 32 !node->getAsDeclarationNode()->getSequence()->empty()); in IsEmptyBlock() 34 ASSERT(node->getAsConstantUnion() == nullptr); in IsEmptyBlock() 59 bool visitSwitch(Visit visit, TIntermSwitch *node) override; 71 bool PruneEmptyCasesTraverser::visitSwitch(Visit visit, TIntermSwitch *node) in visitSwitch() argument 75 TIntermBlock *statementList = node->getStatementList(); in visitSwitch() 98 TIntermTyped *init = node in visitSwitch() [all...] |
H A D | MonomorphizeUnsupportedFunctions.cpp | 48 for (TIntermNode *node : sequence) in InitializeFunctionMap() 50 TIntermFunctionDefinition *asFuncDef = node->getAsFunctionDefinition(); in InitializeFunctionMap() 60 const TVariable *GetBaseUniform(TIntermTyped *node, bool *isSamplerInStructOut) in GetBaseUniform() argument 64 while (node->getAsBinaryNode()) in GetBaseUniform() 66 TIntermBinary *asBinary = node->getAsBinaryNode(); in GetBaseUniform() 81 node = asBinary->getLeft(); in GetBaseUniform() 87 if (node->getType().getQualifier() != EvqUniform) in GetBaseUniform() 92 ASSERT(IsOpaqueType(node->getType().getBasicType()) || in GetBaseUniform() 93 node->getType().isStructureContainingSamplers()); in GetBaseUniform() 95 TIntermSymbol *asSymbol = node in GetBaseUniform() 101 ExtractSideEffects(TSymbolTable *symbolTable, TIntermTyped *node, TIntermSequence *replacementIndices) ExtractSideEffects() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
H A D | rxe_pool.c | 208 elem = rb_entry(parent, struct rxe_pool_entry, node); in insert_index() 221 rb_link_node(&new->node, parent, link); in insert_index() 222 rb_insert_color(&new->node, &pool->tree); in insert_index() 236 elem = rb_entry(parent, struct rxe_pool_entry, node); in insert_key() 252 rb_link_node(&new->node, parent, link); in insert_key() 253 rb_insert_color(&new->node, &pool->tree); in insert_key() 277 rb_erase(&elem->node, &pool->tree); in rxe_drop_key() 301 rb_erase(&elem->node, &pool->tree); in rxe_drop_index() 396 struct rb_node *node = NULL; in rxe_pool_get_index() local 405 node in rxe_pool_get_index() 427 struct rb_node *node = NULL; rxe_pool_get_key() local [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-exynos/ |
H A D | exynos.c | 50 struct device_node *node; in exynos_sysram_init() local 52 for_each_compatible_node(node, NULL, "samsung,exynos4210-sysram") { in exynos_sysram_init() 54 if (!of_device_is_available(node)) in exynos_sysram_init() 57 of_address_to_resource(node, 0, &res); in exynos_sysram_init() 60 of_node_put(node); in exynos_sysram_init() 64 for_each_compatible_node(node, NULL, "samsung,exynos4210-sysram-ns") { in exynos_sysram_init() 65 if (!of_device_is_available(node)) in exynos_sysram_init() 67 sysram_ns_base_addr = of_iomap(node, 0); in exynos_sysram_init() 68 of_node_put(node); in exynos_sysram_init() 73 static int __init exynos_fdt_map_chipid(unsigned long node, cons argument [all...] |
/kernel/linux/linux-5.10/io_uring/ |
H A D | io-wq.h | 32 static inline void wq_list_add_after(struct io_wq_work_node *node, in wq_list_add_after() argument 38 pos->next = node; in wq_list_add_after() 39 node->next = next; in wq_list_add_after() 41 list->last = node; in wq_list_add_after() 44 static inline void wq_list_add_tail(struct io_wq_work_node *node, in wq_list_add_tail() argument 47 node->next = NULL; in wq_list_add_tail() 49 list->last = node; in wq_list_add_tail() 50 WRITE_ONCE(list->first, node); in wq_list_add_tail() 52 list->last->next = node; in wq_list_add_tail() 53 list->last = node; in wq_list_add_tail() 72 wq_list_del(struct io_wq_work_list *list, struct io_wq_work_node *node, struct io_wq_work_node *prev) wq_list_del() argument [all...] |
/kernel/linux/linux-5.10/net/hsr/ |
H A D | hsr_debugfs.c | 30 struct hsr_node *node; in hsr_node_table_show() local 42 list_for_each_entry_rcu(node, &priv->node_db, mac_list) { in hsr_node_table_show() 43 /* skip self node */ in hsr_node_table_show() 44 if (hsr_addr_is_self(priv, node->macaddress_A)) in hsr_node_table_show() 46 seq_printf(sfp, "%pM ", &node->macaddress_A[0]); in hsr_node_table_show() 47 seq_printf(sfp, "%pM ", &node->macaddress_B[0]); in hsr_node_table_show() 48 seq_printf(sfp, "%10lx, ", node->time_in[HSR_PT_SLAVE_A]); in hsr_node_table_show() 49 seq_printf(sfp, "%10lx, ", node->time_in[HSR_PT_SLAVE_B]); in hsr_node_table_show() 50 seq_printf(sfp, "%14x, ", node->addr_B_port); in hsr_node_table_show() 54 node in hsr_node_table_show() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | plist.h | 18 * This is a priority-sorted list of nodes; each node has a 21 * Addition is O(K), removal is O(1), change of priority of a node is 53 * Addition means: look for the prio_list node in the prio_list 54 * for the priority of the node and insert it before the node_list 55 * entry of the next prio_list node. If it is the first node of 110 * @node: struct plist_node variable name 111 * @__prio: initial node priority 113 #define PLIST_NODE_INIT(node, __prio) \ 116 .prio_list = LIST_HEAD_INIT((node) 135 plist_node_init(struct plist_node *node, int prio) plist_node_init() argument 222 plist_node_empty(const struct plist_node *node) plist_node_empty() argument [all...] |
H A D | interconnect-provider.h | 18 * struct icc_node_data - icc node data 20 * @node: icc node 24 struct icc_node *node; member 54 * @xlate_extended: vendor-specific callback for mapping node data from phandle arguments 64 int (*aggregate)(struct icc_node *node, u32 tag, u32 avg_bw, 66 void (*pre_aggregate)(struct icc_node *node); 67 int (*get_bw)(struct icc_node *node, u32 *avg, u32 *peak); 79 * @id: platform specific node id 80 * @name: node nam 132 icc_std_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, u32 peak_bw, u32 *agg_avg, u32 *agg_peak) icc_std_aggregate() argument 147 icc_link_create(struct icc_node *node, const int dst_id) icc_link_create() argument 152 icc_node_add(struct icc_node *node, struct icc_provider *provider) icc_node_add() argument 156 icc_node_del(struct icc_node *node) icc_node_del() argument [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | maple_tree.h | 25 __field(void *, node) 34 __entry->node = mas->node; 39 (void *) __entry->node, 58 __field(void *, node) 67 __entry->node = mas->node; 72 (void *) __entry->node, 95 __field(void *, node) 106 __entry->node [all...] |
/kernel/liteos_a/kernel/base/sched/ |
H A D | los_sortlink.c | 75 VOID OsAdd2SortLink(SortLinkAttribute *head, SortLinkList *node, UINT64 responseTime, UINT16 idleCpu) in OsAdd2SortLink() argument 78 SET_SORTLIST_VALUE(node, responseTime); in OsAdd2SortLink() 79 AddNode2SortLink(head, node); in OsAdd2SortLink() 81 node->cpuid = idleCpu; in OsAdd2SortLink() 86 VOID OsDeleteFromSortLink(SortLinkAttribute *head, SortLinkList *node) in OsDeleteFromSortLink() argument 89 if (node->responseTime != OS_SORT_LINK_INVALID_TIME) { in OsDeleteFromSortLink() 90 OsDeleteNodeSortLink(head, node); in OsDeleteFromSortLink() 95 UINT32 OsSortLinkAdjustNodeResponseTime(SortLinkAttribute *head, SortLinkList *node, UINT64 responseTime) in OsSortLinkAdjustNodeResponseTime() argument 100 if (node->responseTime != OS_SORT_LINK_INVALID_TIME) { in OsSortLinkAdjustNodeResponseTime() 101 OsDeleteNodeSortLink(head, node); in OsSortLinkAdjustNodeResponseTime() [all...] |
/kernel/linux/linux-6.6/net/hsr/ |
H A D | hsr_debugfs.c | 22 struct hsr_node *node; in hsr_node_table_show() local 34 list_for_each_entry_rcu(node, &priv->node_db, mac_list) { in hsr_node_table_show() 35 /* skip self node */ in hsr_node_table_show() 36 if (hsr_addr_is_self(priv, node->macaddress_A)) in hsr_node_table_show() 38 seq_printf(sfp, "%pM ", &node->macaddress_A[0]); in hsr_node_table_show() 39 seq_printf(sfp, "%pM ", &node->macaddress_B[0]); in hsr_node_table_show() 40 seq_printf(sfp, "%10lx, ", node->time_in[HSR_PT_SLAVE_A]); in hsr_node_table_show() 41 seq_printf(sfp, "%10lx, ", node->time_in[HSR_PT_SLAVE_B]); in hsr_node_table_show() 42 seq_printf(sfp, "%14x, ", node->addr_B_port); in hsr_node_table_show() 46 node in hsr_node_table_show() [all...] |
/third_party/skia/src/xml/ |
H A D | SkDOMParser.cpp | 28 SkDOM::Node* node = fAlloc->make<SkDOM::Node>(); in flushAttributes() local 30 node->fName = fElemName; in flushAttributes() 31 node->fFirstChild = nullptr; in flushAttributes() 32 node->fAttrCount = SkToU16(attrCount); in flushAttributes() 33 node->fAttrs = attrs; in flushAttributes() 34 node->fType = fElemType; in flushAttributes() 37 node->fNextSibling = nullptr; in flushAttributes() 38 fRoot = node; in flushAttributes() 42 node->fNextSibling = parent->fFirstChild; in flushAttributes() 43 parent->fFirstChild = node; in flushAttributes() [all...] |