/include/linux/ |
A D | rbtree.h | 33 #define RB_EMPTY_NODE(node) \ argument 35 #define RB_CLEAR_NODE(node) \ argument 108 static inline void rb_insert_color_cached(struct rb_node *node, in rb_insert_color_cached() 195 rb_add(struct rb_node *node, struct rb_root *tree, in rb_add() 260 rb_find_add(struct rb_node *node, struct rb_root *tree, in rb_find_add() 296 rb_find_add_rcu(struct rb_node *node, struct rb_root *tree, in rb_find_add_rcu() 332 struct rb_node *node = tree->rb_node; in rb_find() local 363 struct rb_node *node = tree->rb_node; in rb_find_rcu() local 391 struct rb_node *node = tree->rb_node; in rb_find_first() local 418 rb_next_match(const void *key, struct rb_node *node, in rb_next_match() [all …]
|
A D | rbtree_latch.h | 41 struct rb_node node[2]; member 70 __lt_from_rb(struct rb_node *node, int idx) in __lt_from_rb() 81 struct rb_node *node = <n->node[idx]; in __lt_insert() local 107 int (*comp)(void *key, struct latch_tree_node *node)) in __lt_find() 109 struct rb_node *node = rcu_dereference_raw(ltr->tree[idx].rb_node); in __lt_find() local 144 latch_tree_insert(struct latch_tree_node *node, in latch_tree_insert() 172 latch_tree_erase(struct latch_tree_node *node, in latch_tree_erase() 205 struct latch_tree_node *node; in latch_tree_find() local
|
A D | of_graph.h | 90 static inline bool of_graph_is_present(const struct device_node *node) in of_graph_is_present() 95 static inline int of_graph_parse_endpoint(const struct device_node *node, in of_graph_parse_endpoint() 112 struct device_node *node, u32 id) in of_graph_get_port_by_id() 145 const struct device_node *node) in of_graph_get_remote_endpoint() 151 struct device_node *node) in of_graph_get_port_parent() 157 const struct device_node *node) in of_graph_get_remote_port_parent() 163 const struct device_node *node) in of_graph_get_remote_port() 168 const struct device_node *node, in of_graph_get_remote_node()
|
A D | nodemask.h | 124 #define node_set(node, dst) __node_set((node), &(dst)) argument 130 #define node_clear(node, dst) __node_clear((node), &(dst)) argument 149 #define node_isset(node, nodemask) test_bit((node), (nodemask).bits) argument 151 #define node_test_and_set(node, nodemask) \ argument 282 #define nodemask_of_node(node) \ argument 373 #define for_each_node_mask(node, mask) \ argument 477 #define for_each_node_state(node, __state) \ argument 487 #define node_set_online(node) node_set_state((node), N_ONLINE) argument 495 int node = find_random_bit(maskp->bits, MAX_NUMNODES); in node_random() local 508 #define node_online(node) node_state((node), N_ONLINE) argument [all …]
|
A D | bootconfig.h | 81 static inline __init bool xbc_node_is_value(struct xbc_node *node) in xbc_node_is_value() 92 static inline __init bool xbc_node_is_key(struct xbc_node *node) in xbc_node_is_key() 103 static inline __init bool xbc_node_is_array(struct xbc_node *node) in xbc_node_is_array() 117 static inline __init bool xbc_node_is_leaf(struct xbc_node *node) in xbc_node_is_leaf() 172 static inline struct xbc_node * __init xbc_node_get_subkey(struct xbc_node *node) in xbc_node_get_subkey() 235 #define xbc_node_for_each_array_value(node, key, anode, value) \ argument 249 #define xbc_node_for_each_key_value(node, knode, value) \ argument 278 static inline int __init xbc_node_compose_key(struct xbc_node *node, in xbc_node_compose_key()
|
A D | topology.h | 40 #define nr_cpus_node(node) cpumask_weight(cpumask_of_node(node)) argument 98 static inline void set_numa_node(int node) in set_numa_node() 105 static inline void set_cpu_numa_node(int cpu, int node) in set_cpu_numa_node() 133 static inline void set_numa_mem(int node) in set_numa_mem() 155 static inline void set_cpu_numa_mem(int cpu, int node) in set_cpu_numa_mem() 272 static __always_inline int sched_numa_find_nth_cpu(const struct cpumask *cpus, int cpu, int node) in sched_numa_find_nth_cpu() 278 sched_numa_hop_mask(unsigned int node, unsigned int hops) in sched_numa_hop_mask() 307 #define for_each_node_numadist(node, unvisited) \ argument 324 #define for_each_numa_hop_mask(mask, node) \ argument
|
A D | memory-tiers.h | 60 static inline int next_demotion_node(int node) in next_demotion_node() 70 static inline bool node_is_toptier(int node) in node_is_toptier() 94 static inline void init_node_memory_type(int node, struct memory_dev_type *default_type) in init_node_memory_type() 99 static inline void clear_node_memory_type(int node, struct memory_dev_type *memtype) in clear_node_memory_type() 104 static inline int next_demotion_node(int node) in next_demotion_node() 114 static inline bool node_is_toptier(int node) in node_is_toptier() 129 static inline int mt_calc_adistance(int node, int *adist) in mt_calc_adistance()
|
A D | llist.h | 84 static inline void init_llist_node(struct llist_node *node) in init_llist_node() 98 static inline bool llist_on_list(const struct llist_node *node) in llist_on_list() 143 #define llist_for_each(pos, node) \ argument 162 #define llist_for_each_safe(pos, n, node) \ argument 180 #define llist_for_each_entry(pos, node, member) \ argument 202 #define llist_for_each_entry_safe(pos, n, node, member) \ argument 221 static inline struct llist_node *llist_next(struct llist_node *node) in llist_next()
|
A D | numa.h | 47 static inline int numa_nearest_node(int node, unsigned int state) in numa_nearest_node() 52 static inline int nearest_node_nodemask(int node, nodemask_t *mask) in nearest_node_nodemask() 69 #define numa_map_to_online_node(node) numa_nearest_node(node, N_ONLINE) argument
|
A D | rbtree_augmented.h | 47 rb_insert_augmented(struct rb_node *node, struct rb_root *root, in rb_insert_augmented() 54 rb_insert_augmented_cached(struct rb_node *node, in rb_insert_augmented_cached() 64 rb_add_augmented_cached(struct rb_node *node, struct rb_root_cached *tree, in rb_add_augmented_cached() 224 __rb_erase_augmented(struct rb_node *node, struct rb_root *root, in __rb_erase_augmented() 326 rb_erase_augmented(struct rb_node *node, struct rb_root *root, in rb_erase_augmented() 335 rb_erase_augmented_cached(struct rb_node *node, struct rb_root_cached *root, in rb_erase_augmented_cached()
|
A D | reset.h | 155 struct device_node *node, in __of_reset_control_get() 500 struct device_node *node, const char *id) in of_reset_control_get_exclusive() 520 struct device_node *node, const char *id) in of_reset_control_get_optional_exclusive() 545 struct device_node *node, const char *id) in of_reset_control_get_shared() 562 struct device_node *node, int index) in of_reset_control_get_exclusive_by_index() 590 struct device_node *node, int index) in of_reset_control_get_shared_by_index() 968 struct device_node *node, const char *id) in of_reset_control_get() 974 struct device_node *node, int index) in of_reset_control_get_by_index() 1032 of_reset_control_array_get_exclusive(struct device_node *node) in of_reset_control_array_get_exclusive() 1044 of_reset_control_array_get_shared(struct device_node *node) in of_reset_control_array_get_shared() [all …]
|
A D | hashtable.h | 60 #define hash_add(hashtable, node, key) \ argument 69 #define hash_add_rcu(hashtable, node, key) \ argument 76 static inline bool hash_hashed(struct hlist_node *node) in hash_hashed() 105 static inline void hash_del(struct hlist_node *node) in hash_del() 114 static inline void hash_del_rcu(struct hlist_node *node) in hash_del_rcu()
|
A D | interconnect-provider.h | 24 struct icc_node *node; member 136 static inline int icc_std_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, in icc_std_aggregate() 156 static inline int icc_node_set_name(struct icc_node *node, const struct icc_provider *provider, in icc_node_set_name() 167 static inline int icc_link_create(struct icc_node *node, const int dst_id) in icc_link_create() 172 static inline void icc_node_add(struct icc_node *node, struct icc_provider *provider) in icc_node_add() 176 static inline void icc_node_del(struct icc_node *node) in icc_node_del()
|
A D | timerqueue.h | 30 static inline void timerqueue_init(struct timerqueue_node *node) in timerqueue_init() 35 static inline bool timerqueue_node_queued(struct timerqueue_node *node) in timerqueue_node_queued()
|
A D | union_find.h | 20 #define UF_INIT_NODE(node) {.parent = &node, .rank = 0} argument 29 static inline void uf_node_init(struct uf_node *node) in uf_node_init()
|
A D | node.h | 101 struct node { struct 111 extern struct node *node_devices[]; argument
|
A D | xarray.h | 1196 #define XA_NODE_BUG_ON(node, x) do { \ argument 1204 #define XA_NODE_BUG_ON(node, x) do { } while (0) argument 1241 const struct xa_node *node) in xa_parent() 1249 const struct xa_node *node) in xa_parent_locked() 1494 static inline bool xas_frozen(struct xa_node *node) in xas_frozen() 1500 static inline bool xas_top(struct xa_node *node) in xas_top() 1616 struct xa_node *node = xas->xa_node; in xas_reload() local 1719 struct xa_node *node = xas->xa_node; in xas_next_entry() local 1777 struct xa_node *node = xas->xa_node; in xas_next_marked() local 1875 struct xa_node *node = xas->xa_node; in xas_prev() local [all …]
|
A D | plist.h | 103 #define PLIST_NODE_INIT(node, __prio) \ argument 125 static inline void plist_node_init(struct plist_node *node, int prio) in plist_node_init() 212 static inline int plist_node_empty(const struct plist_node *node) in plist_node_empty()
|
A D | dca.h | 20 struct list_head node; member 27 struct list_head node; member
|
A D | cpuhotplug.h | 357 struct hlist_node *node), in cpuhp_setup_state_multi() 383 struct hlist_node *node) in cpuhp_state_add_instance() 399 struct hlist_node *node) in cpuhp_state_add_instance_nocalls() 417 struct hlist_node *node) in cpuhp_state_add_instance_nocalls_cpuslocked() 486 struct hlist_node *node) in cpuhp_state_remove_instance() 500 struct hlist_node *node) in cpuhp_state_remove_instance_nocalls()
|
/include/asm-generic/ |
A D | topology.h | 38 #define set_numa_node(node) argument 41 #define set_cpu_numa_node(cpu, node) argument 49 #define cpumask_of_node(node) ((node) == 0 ? cpu_online_mask : cpu_none_mask) argument 51 #define cpumask_of_node(node) ((void)(node), cpu_online_mask) argument 69 #define set_numa_mem(node) argument 72 #define set_cpu_numa_mem(cpu, node) argument
|
/include/drm/ |
A D | drm_vma_manager.h | 100 struct drm_vma_offset_node *node; in drm_vma_offset_exact_lookup_locked() local 148 static inline void drm_vma_node_reset(struct drm_vma_offset_node *node) in drm_vma_node_reset() 169 static inline unsigned long drm_vma_node_start(const struct drm_vma_offset_node *node) in drm_vma_node_start() 186 static inline unsigned long drm_vma_node_size(struct drm_vma_offset_node *node) in drm_vma_node_size() 203 static inline __u64 drm_vma_node_offset_addr(struct drm_vma_offset_node *node) in drm_vma_node_offset_addr() 220 static inline void drm_vma_node_unmap(struct drm_vma_offset_node *node, in drm_vma_node_unmap() 241 static inline int drm_vma_node_verify_access(struct drm_vma_offset_node *node, in drm_vma_node_verify_access()
|
A D | drm_of.h | 81 struct device_node *node) in drm_of_component_match_add() 93 static inline int drm_of_encoder_active_endpoint(struct device_node *node, in drm_of_encoder_active_endpoint() 182 static inline int drm_of_encoder_active_endpoint_id(struct device_node *node, in drm_of_encoder_active_endpoint_id() 192 static inline int drm_of_encoder_active_port_id(struct device_node *node, in drm_of_encoder_active_port_id()
|
A D | spsc_queue.h | 65 static inline bool spsc_queue_push(struct spsc_queue *queue, struct spsc_node *node) in spsc_queue_push() 93 struct spsc_node *next, *node; in spsc_queue_pop() local
|
/include/linux/regulator/ |
A D | of_regulator.h | 31 struct device_node *node, in of_get_regulator_init_data() 38 struct device_node *node, in of_regulator_match()
|