Home
last modified time | relevance | path

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

12345678910>>...182

/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 …]
H A Defc_els.c22 node->display_name, __func__); \
26 efc_log_err((struct efc *)els->node->efc,\
28 els->node->display_name,\
35 efc_els_io_alloc(struct efc_node *node, u32 reqlen) in efc_els_io_alloc() argument
37 return efc_els_io_alloc_size(node, reqlen, EFC_ELS_RSP_LEN); in efc_els_io_alloc()
41 efc_els_io_alloc_size(struct efc_node *node, u32 reqlen, u32 rsplen) in efc_els_io_alloc_size() argument
47 efc = node->efc; in efc_els_io_alloc_size()
49 if (!node->els_io_enabled) { in efc_els_io_alloc_size()
65 els->node = node; in efc_els_io_alloc_size()
92 spin_lock_irqsave(&node->els_ios_lock, flags); in efc_els_io_alloc_size()
[all …]
/linux/fs/hfs/
H A Dbnode.c9 * Handle basic btree node operations
18 void hfs_bnode_read(struct hfs_bnode *node, void *buf, u32 off, u32 len) in hfs_bnode_read() argument
27 if (!is_bnode_offset_valid(node, off)) in hfs_bnode_read()
32 "NODE: id %u, type %#x, height %u, " in hfs_bnode_read()
34 node->this, node->type, node->height, in hfs_bnode_read()
35 node->tree->node_size, off, len); in hfs_bnode_read()
39 len = check_and_correct_requested_length(node, off, len); in hfs_bnode_read()
41 off += node->page_offset; in hfs_bnode_read()
46 if (pagenum >= node->tree->pages_per_bnode) in hfs_bnode_read()
48 page = node->page[pagenum]; in hfs_bnode_read()
[all …]
/linux/scripts/gdb/linux/
H A Drbtree.py13 def inorder(node): argument
14 if node:
15 yield from inorder(node['rb_left'])
16 yield node
17 yield from inorder(node['rb_right'])
22 for node in rb_inorder_for_each(root):
23 yield utils.container_of(node, gdbtype, member)
27 node = root.address.cast(rb_root_type.get_type().pointer())
31 node = root['rb_node']
32 if node == 0:
[all …]
/linux/tools/net/sunrpc/xdrgen/generators/
H A Dunion.py16 def emit_union_declaration(environment: Environment, node: _XdrUnion) -> None:
18 if node.name in public_apis:
20 print(template.render(name=node.name))
24 environment: Environment, node: _XdrDeclaration
27 assert isinstance(node, _XdrBasic)
31 name=node.name,
32 type=node.spec.type_name,
33 classifier=node.spec.c_classifier,
39 environment: Environment, node: _XdrDeclaration
42 if isinstance(node
[all...]
/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_obj(*node); 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 …]
/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 in otx2_qos_get_regaddr()
83 otx2_config_sched_shaping(struct otx2_nic * pfvf,struct otx2_qos_node * node,struct nix_txschq_config * cfg,int * num_regs) otx2_config_sched_shaping() argument
137 __otx2_qos_txschq_cfg(struct otx2_nic * pfvf,struct otx2_qos_node * node,struct nix_txschq_config * cfg) __otx2_qos_txschq_cfg() argument
291 struct otx2_qos_node *node; otx2_qos_free_hw_node_schq() local
300 struct otx2_qos_node *node, *tmp; otx2_qos_free_hw_node() local
310 otx2_qos_free_hw_cfg(struct otx2_nic * pfvf,struct otx2_qos_node * node) otx2_qos_free_hw_cfg() argument
325 otx2_qos_sw_node_delete(struct otx2_nic * pfvf,struct otx2_qos_node * node) otx2_qos_sw_node_delete() argument
341 struct otx2_qos_node *node, *tmp; otx2_qos_free_sw_node_schq() local
352 struct otx2_qos_node *node, *tmp; __otx2_qos_free_sw_node() local
362 otx2_qos_free_sw_node(struct otx2_nic * pfvf,struct otx2_qos_node * node) otx2_qos_free_sw_node() argument
374 otx2_qos_destroy_node(struct otx2_nic * pfvf,struct otx2_qos_node * node) otx2_qos_destroy_node() argument
383 struct otx2_qos_node *node; otx2_qos_fill_cfg_schq() local
392 struct otx2_qos_node *node; otx2_qos_fill_cfg_tl() local
418 struct otx2_qos_node *node; otx2_qos_read_txschq_cfg_schq() local
432 struct otx2_qos_node *node; otx2_qos_read_txschq_cfg_tl() local
447 otx2_qos_read_txschq_cfg(struct otx2_nic * pfvf,struct otx2_qos_node * node,struct otx2_qos_cfg * cfg) otx2_qos_read_txschq_cfg() argument
458 struct otx2_qos_node *node; otx2_qos_alloc_root() local
484 otx2_qos_add_child_node(struct otx2_qos_node * parent,struct otx2_qos_node * node) otx2_qos_add_child_node() argument
509 otx2_qos_alloc_txschq_node(struct otx2_nic * pfvf,struct otx2_qos_node * node) otx2_qos_alloc_txschq_node() argument
558 struct otx2_qos_node *node; otx2_qos_sw_create_leaf_node() local
605 struct otx2_qos_node *node = NULL; otx2_sw_node_find_by_qid() local
619 struct otx2_qos_node *node = NULL; otx2_sw_node_find() local
632 struct otx2_qos_node *node = NULL; otx2_sw_node_find_rcu() local
644 struct otx2_qos_node *node; otx2_get_txq_by_classid() local
664 otx2_qos_txschq_config(struct otx2_nic * pfvf,struct otx2_qos_node * node) otx2_qos_txschq_config() argument
760 otx2_qos_txschq_fill_cfg_schq(struct otx2_nic * pfvf,struct otx2_qos_node * node,struct otx2_qos_cfg * cfg) otx2_qos_txschq_fill_cfg_schq() argument
774 otx2_qos_txschq_fill_cfg_tl(struct otx2_nic * pfvf,struct otx2_qos_node * node,struct otx2_qos_cfg * cfg) otx2_qos_txschq_fill_cfg_tl() argument
794 otx2_qos_txschq_fill_cfg(struct otx2_nic * pfvf,struct otx2_qos_node * node,struct otx2_qos_cfg * cfg) otx2_qos_txschq_fill_cfg() argument
831 otx2_qos_assign_base_idx_tl(struct otx2_nic * pfvf,struct otx2_qos_node * node) otx2_qos_assign_base_idx_tl() argument
870 otx2_qos_assign_base_idx(struct otx2_nic * pfvf,struct otx2_qos_node * node) otx2_qos_assign_base_idx() argument
882 otx2_qos_txschq_push_cfg_schq(struct otx2_nic * pfvf,struct otx2_qos_node * node,struct otx2_qos_cfg * cfg) otx2_qos_txschq_push_cfg_schq() argument
901 otx2_qos_txschq_push_cfg_tl(struct otx2_nic * pfvf,struct otx2_qos_node * node,struct otx2_qos_cfg * cfg) otx2_qos_txschq_push_cfg_tl() argument
927 otx2_qos_txschq_push_cfg(struct otx2_nic * pfvf,struct otx2_qos_node * node,struct otx2_qos_cfg * cfg) otx2_qos_txschq_push_cfg() argument
943 otx2_qos_txschq_update_config(struct otx2_nic * pfvf,struct otx2_qos_node * node,struct otx2_qos_cfg * cfg) otx2_qos_txschq_update_config() argument
981 otx2_qos_enadis_sq(struct otx2_nic * pfvf,struct otx2_qos_node * node,u16 qid) otx2_qos_enadis_sq() argument
993 otx2_qos_update_smq_schq(struct otx2_nic * pfvf,struct otx2_qos_node * node,bool action) otx2_qos_update_smq_schq() argument
1012 __otx2_qos_update_smq(struct otx2_nic * pfvf,struct otx2_qos_node * node,bool action) __otx2_qos_update_smq() argument
1033 otx2_qos_update_smq(struct otx2_nic * pfvf,struct otx2_qos_node * node,bool action) otx2_qos_update_smq() argument
1043 otx2_qos_push_txschq_cfg(struct otx2_nic * pfvf,struct otx2_qos_node * node,struct otx2_qos_cfg * cfg) otx2_qos_push_txschq_cfg() argument
1073 otx2_qos_update_tree(struct otx2_nic * pfvf,struct otx2_qos_node * node,struct otx2_qos_cfg * cfg) otx2_qos_update_tree() argument
1239 struct otx2_qos_node *node; is_qos_node_dwrr() local
1278 struct otx2_qos_node *node, *parent; otx2_qos_leaf_alloc_queue() local
1416 struct otx2_qos_node *node, *child; otx2_qos_leaf_to_inner() local
1570 otx2_cfg_smq(struct otx2_nic * pfvf,struct otx2_qos_node * node,int qid) otx2_cfg_smq() argument
1585 struct otx2_qos_node *node, *parent; otx2_qos_leaf_del() local
1661 struct otx2_qos_node *node, *parent; otx2_qos_leaf_del_last() local
[all...]
/linux/kernel/gcov/
H A Dfs.c34 * @list: list head for child node list
37 * @parent: parent node
251 * Return a profiling data set associated with the given node. This is
255 static struct gcov_info *get_node_info(struct gcov_node *node) in get_node_info() argument
257 if (node->num_loaded > 0) in get_node_info()
258 return node->loaded_info[0]; in get_node_info()
260 return node->unloaded_info; in get_node_info()
265 * all profiling data associated with the given node.
267 static struct gcov_info *get_accumulated_info(struct gcov_node *node) in get_accumulated_info() argument
272 if (node in get_accumulated_info()
290 struct gcov_node *node = inode->i_private; gcov_seq_open() local
350 struct gcov_node *node; get_node_by_name() local
365 reset_node(struct gcov_node * node) reset_node() argument
387 struct gcov_node *node; gcov_seq_write() local
476 add_links(struct gcov_node * node,struct dentry * parent) add_links() argument
520 init_node(struct gcov_node * node,struct gcov_info * info,const char * name,struct gcov_node * parent) init_node() argument
542 struct gcov_node *node; new_node() local
573 remove_links(struct gcov_node * node) remove_links() argument
589 release_node(struct gcov_node * node) release_node() argument
602 remove_node(struct gcov_node * node) remove_node() argument
620 struct gcov_node *node; get_child_by_name() local
637 struct gcov_node *node; reset_write() local
679 struct gcov_node *node; add_node() local
723 add_info(struct gcov_node * node,struct gcov_info * info) add_info() argument
776 get_info_index(struct gcov_node * node,struct gcov_info * info) get_info_index() argument
790 save_info(struct gcov_node * node,struct gcov_info * info) save_info() argument
808 remove_info(struct gcov_node * node,struct gcov_info * info) remove_info() argument
839 struct gcov_node *node; gcov_event() local
[all...]
/linux/lib/
H A Dbootconfig.c168 * xbc_parse() parses the text to build a simple tree. Each tree node is
169 * simply a key word or a value. A key node may have a next key node or/and
170 * a child node (both key and value). A value node may have a next value
171 * node (for array).
238 * xbc_root_node() - Get the root node of extended boot config in xbc_parse_error()
240 * Return the address of root node of extended boot config. If the
252 * xbc_node_index() - Get the index of XBC node in xbc_root_node()
253 * @node in xbc_root_node()
260 xbc_node_index(struct xbc_node * node) xbc_node_index() argument
272 xbc_node_get_parent(struct xbc_node * node) xbc_node_get_parent() argument
284 xbc_node_get_child(struct xbc_node * node) xbc_node_get_child() argument
298 xbc_node_get_next(struct xbc_node * node) xbc_node_get_next() argument
310 xbc_node_get_data(struct xbc_node * node) xbc_node_get_data() argument
321 xbc_node_match_prefix(struct xbc_node * node,const char ** prefix) xbc_node_match_prefix() argument
351 struct xbc_node *node; xbc_node_find_subkey() local
389 struct xbc_node *node = xbc_node_find_subkey(parent, key); xbc_node_find_value() local
421 xbc_node_compose_key_after(struct xbc_node * root,struct xbc_node * node,char * buf,size_t size) xbc_node_compose_key_after() argument
470 xbc_node_find_next_leaf(struct xbc_node * root,struct xbc_node * node) xbc_node_find_next_leaf() argument
615 xbc_init_node(struct xbc_node * node,char * data,uint16_t flag) xbc_init_node() argument
631 struct xbc_node *node; xbc_add_node() local
644 xbc_last_sibling(struct xbc_node * node) xbc_last_sibling() argument
652 xbc_last_child(struct xbc_node * node) xbc_last_child() argument
662 struct xbc_node *sib, *node = xbc_add_node(data, flag); __xbc_add_sibling() local
700 struct xbc_node *node = xbc_add_sibling(data, flag); xbc_add_child() local
815 struct xbc_node *node; xbc_parse_array() local
845 find_match_node(struct xbc_node * node,char * k) find_match_node() argument
857 struct xbc_node *node, *child; __xbc_add_key() local
[all...]
H A Dradix-tree.c33 * Radix tree node cache.
45 * of RADIX_TREE_MAX_PATH size to be created, with only the root node shared.
100 static inline void tag_set(struct radix_tree_node *node, unsigned int tag, in tag_set() argument
103 __set_bit(offset, node->tags[tag]); in tag_set()
106 static inline void tag_clear(struct radix_tree_node *node, unsigned int tag, in tag_clear() argument
109 __clear_bit(offset, node->tags[tag]); in tag_clear()
112 static inline int tag_get(const struct radix_tree_node *node, unsigned int tag, in tag_get() argument
115 return test_bit(offset, node->tags[tag]); in tag_get()
149 * Returns 1 if any slot in the node has this tag set.
152 static inline int any_tag_set(const struct radix_tree_node *node, in any_tag_set() argument
[all …]
H A Dbtree.c16 * well is that access to a random tree node is much faster than a large number
17 * of operations within each node.
35 * values are to the right, not to the left. All used slots within a node
94 unsigned long *node; in btree_node_alloc() local
96 node = mempool_alloc(head->mempool, gfp); in btree_node_alloc()
97 if (likely(node)) in btree_node_alloc()
98 memset(node, 0, NODESIZE); in btree_node_alloc()
99 return node; in btree_node_alloc()
147 static unsigned long *bkey(struct btree_geo *geo, unsigned long *node, int n) in bkey() argument
149 return &node[n * geo->keylen]; in bkey()
[all …]
/linux/tools/include/linux/
H A Drbtree.h42 #define RB_EMPTY_NODE(node) \ argument
43 ((node)->__rb_parent_color == (unsigned long)(node))
44 #define RB_CLEAR_NODE(node) \ argument
45 ((node)->__rb_parent_color = (unsigned long)(node))
62 /* Fast replacement of a single node without remove/rebalance/add/rebalance */
66 static inline void rb_link_node(struct rb_node *node, struct rb_node *parent, in rb_link_node() argument
69 node->__rb_parent_color = (unsigned long)parent; in rb_link_node()
70 node->rb_left = node->rb_right = NULL; in rb_link_node()
72 *rb_link = node; in rb_link_node()
112 * We do not cache the rightmost node based on footprint
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_buffer_pool.c31 static void node_free(struct intel_gt_buffer_pool_node *node) in node_free() argument
33 i915_gem_object_put(node->obj); in node_free()
34 i915_active_fini(&node->active); in node_free()
35 kfree_rcu(node, rcu); in node_free()
40 struct intel_gt_buffer_pool_node *node, *stale = NULL; in pool_free_older_than() local
58 node = list_entry(pos, typeof(*node), link); in pool_free_older_than()
60 age = READ_ONCE(node->age); in pool_free_older_than()
64 /* Check we are the first to claim this node */ in pool_free_older_than()
65 if (!xchg(&node->age, 0)) in pool_free_older_than()
68 node->free = stale; in pool_free_older_than()
[all …]
/linux/rust/syn/gen/
H A Dvisit_mut.rs958 pub fn visit_abi_mut<V>(v: &mut V, node: &mut crate::Abi) in visit_abi_mut()
962 skip!(node.extern_token); in visit_abi_mut()
963 if let Some(it) = &mut node.name { in visit_abi_mut()
971 node: &mut crate::AngleBracketedGenericArguments, in visit_angle_bracketed_generic_arguments_mut()
976 skip!(node.colon2_token); in visit_angle_bracketed_generic_arguments_mut()
977 skip!(node.lt_token); in visit_angle_bracketed_generic_arguments_mut()
978 for mut el in Punctuated::pairs_mut(&mut node.args) { in visit_angle_bracketed_generic_arguments_mut()
982 skip!(node.gt_token); in visit_angle_bracketed_generic_arguments_mut()
986 pub fn visit_arm_mut<V>(v: &mut V, node: &mut crate::Arm) in visit_arm_mut()
990 v.visit_attributes_mut(&mut node.attrs); in visit_arm_mut()
[all …]
H A Dvisit.rs950 pub fn visit_abi<'ast, V>(v: &mut V, node: &'ast crate::Abi) in visit_abi()
954 skip!(node.extern_token); in visit_abi()
955 if let Some(it) = &node.name { in visit_abi()
963 node: &'ast crate::AngleBracketedGenericArguments, in visit_angle_bracketed_generic_arguments()
968 skip!(node.colon2_token); in visit_angle_bracketed_generic_arguments()
969 skip!(node.lt_token); in visit_angle_bracketed_generic_arguments()
970 for el in Punctuated::pairs(&node.args) { in visit_angle_bracketed_generic_arguments()
974 skip!(node.gt_token); in visit_angle_bracketed_generic_arguments()
978 pub fn visit_arm<'ast, V>(v: &mut V, node: &'ast crate::Arm) in visit_arm()
982 for it in &node.attrs { in visit_arm()
[all …]
H A Dfold.rs1030 pub fn fold_abi<F>(f: &mut F, node: crate::Abi) -> crate::Abi in fold_abi()
1035 extern_token: node.extern_token, in fold_abi()
1036 name: (node.name).map(|it| f.fold_lit_str(it)), in fold_abi()
1043 node: crate::AngleBracketedGenericArguments, in fold_angle_bracketed_generic_arguments()
1049 colon2_token: node.colon2_token, in fold_angle_bracketed_generic_arguments()
1050 lt_token: node.lt_token, in fold_angle_bracketed_generic_arguments()
1051 args: crate::punctuated::fold(node.args, f, F::fold_generic_argument), in fold_angle_bracketed_generic_arguments()
1052 gt_token: node.gt_token, in fold_angle_bracketed_generic_arguments()
1057 pub fn fold_arm<F>(f: &mut F, node: crate::Arm) -> crate::Arm in fold_arm()
1062 attrs: f.fold_attributes(node.attrs), in fold_arm()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c38 /* A computed value indicating relative min_rate between node's children. */
40 /* The parent node in the rate hierarchy. */
42 /* Entry in the parent node's children list. */
44 /* The type of this node in the rate hierarchy. */
46 /* The eswitch this node belongs to. */
48 /* The children nodes of this node, empty list for leaf nodes.
52 /* Valid only if this node is associated with a vport. */
54 /* Level in the hierarchy. The root node level is 1. */
56 /* Valid only when this node represents a traffic class. */
58 /* Valid only for a TC arbiter node or vport TC arbiter. */
[all …]
/linux/include/drm/
H A Ddrm_vma_manager.h72 struct drm_vma_offset_node *node, unsigned long pages);
74 struct drm_vma_offset_node *node);
76 int drm_vma_node_allow(struct drm_vma_offset_node *node, struct drm_file *tag);
77 int drm_vma_node_allow_once(struct drm_vma_offset_node *node, struct drm_file *tag);
78 void drm_vma_node_revoke(struct drm_vma_offset_node *node,
80 bool drm_vma_node_is_allowed(struct drm_vma_offset_node *node,
84 * drm_vma_offset_exact_lookup_locked() - Look up node by exact address
89 * Same as drm_vma_offset_lookup_locked() but does not allow any offset into the node.
93 * Node at exact start address @start.
100 struct drm_vma_offset_node *node; in drm_vma_offset_exact_lookup_locked() local
[all …]
/linux/arch/sparc/prom/
H A Dtree_32.c24 static phandle __prom_getchild(phandle node) in __prom_getchild() argument
30 cnode = prom_nodeops->no_child(node); in __prom_getchild()
37 /* Return the child of node 'node' or zero if no this node has no
40 phandle prom_getchild(phandle node) in prom_getchild() argument
44 if ((s32)node == -1) in prom_getchild()
47 cnode = __prom_getchild(node); in prom_getchild()
56 static phandle __prom_getsibling(phandle node) in __prom_getsibling() argument
62 cnode = prom_nodeops->no_nextnode(node); in __prom_getsibling()
69 /* Return the next sibling of node 'node' or zero if no more siblings
72 phandle prom_getsibling(phandle node) in prom_getsibling() argument
[all …]
/linux/include/linux/
H A Dnodemask.h7 * set of Node's in a system, one bit position per Node number.
22 * void node_set(node, mask) turn on bit 'node' in mask
23 * void node_clear(node, mask) turn off bit 'node' in mask
26 * int node_isset(node, mask) true iff bit 'node' set in mask
27 * bool node_test_and_set(node, mask) test and set bit 'node' in mask
43 * unsigned int next_node(node, mask) Next node past 'node', or MAX_NUMNODES
44 * unsigned int next_node_in(node, mask) Next node past 'node', or wrap to first,
46 * unsigned int first_unset_node(mask) First node not set in mask, or
49 * nodemask_t nodemask_of_node(node) Return nodemask with bit 'node' set
61 * for_each_node_mask(node, mask) for-loop node over mask
[all …]
/linux/drivers/base/test/
H A Dproperty-entry-test.c22 struct fwnode_handle *node; in pe_test_uints() local
29 node = fwnode_create_software_node(entries, NULL); in pe_test_uints()
30 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, node); in pe_test_uints()
32 error = fwnode_property_count_u8(node, "prop-u8"); in pe_test_uints()
35 error = fwnode_property_read_u8(node, "prop-u8", &val_u8); in pe_test_uints()
39 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 1); in pe_test_uints()
43 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 2); in pe_test_uints()
46 error = fwnode_property_read_u8(node, "no-prop-u8", &val_u8); in pe_test_uints()
49 error = fwnode_property_read_u8_array(node, "no-prop-u8", array_u8, 1); in pe_test_uints()
52 error = fwnode_property_read_u16(node, "prop-u16", &val_u16); in pe_test_uints()
[all …]
/linux/Documentation/core-api/
H A Drbtree.rst65 struct rb_node node;
71 individual members may be accessed directly via rb_entry(node, type, member).
88 struct rb_node *node = root->rb_node;
90 while (node) {
91 struct mytype *data = container_of(node, struct mytype, node);
97 node = node->rb_left;
99 node = node->rb_right;
110 new node, then inserting the node and rebalancing ("recoloring") the tree.
113 location of the pointer on which to graft the new node. The new node also
114 needs a link to its parent node for rebalancing purposes.
[all …]
/linux/net/hsr/
H A Dhsr_framereg.c54 struct hsr_node *node; in find_node_by_addr_A() local
56 list_for_each_entry_rcu(node, node_db, mac_list) { in find_node_by_addr_A()
57 if (ether_addr_equal(node->macaddress_A, addr)) in find_node_by_addr_A()
58 return node; in find_node_by_addr_A()
64 /* Check if node for a given MAC address is already present in data base
110 static void hsr_free_node(struct hsr_node *node) in hsr_free_node() argument
112 xa_destroy(&node->seq_blocks); in hsr_free_node()
113 kfree(node->block_buf); in hsr_free_node()
114 kfree(node); in hsr_free_node()
119 struct hsr_node *node = container_of(rn, struct hsr_node, rcu_head); in hsr_free_node_rcu() local
[all …]

12345678910>>...182