Home
last modified time | relevance | path

Searched refs:node (Results 1 – 25 of 2647) sorted by relevance

12345678910>>...106

/freebsd/sys/dev/ocs_fc/
H A Docs_device.c68 ocs_node_t *node = io->node; in ocs_d_send_prli_rsp() local
71 if (ocs->fc_type != node->fc_type) { in ocs_d_send_prli_rsp()
72 node_printf(node, "PRLI rejected by target-server, fc-type not supported\n"); in ocs_d_send_prli_rsp()
75 node->shutdown_reason = OCS_NODE_SHUTDOWN_DEFAULT; in ocs_d_send_prli_rsp()
76 ocs_node_transition(node, __ocs_d_initiate_shutdown, NULL); in ocs_d_send_prli_rsp()
80 if (node->sport->enable_tgt && (ocs_scsi_validate_initiator(node) == 0)) { in ocs_d_send_prli_rsp()
81 node_printf(node, "PRLI rejected by target-server\n"); in ocs_d_send_prli_rsp()
84 node->shutdown_reason = OCS_NODE_SHUTDOWN_DEFAULT; in ocs_d_send_prli_rsp()
85 ocs_node_transition(node, __ocs_d_initiate_shutdown, NULL); in ocs_d_send_prli_rsp()
93 ocs_node_transition(node, __ocs_d_device_ready, NULL); in ocs_d_send_prli_rsp()
[all …]
H A Docs_node.c53 io->node->display_name, SCSI_IOFMT_ARGS(io), ##__VA_ARGS__)
55 void ocs_mgmt_node_list(ocs_textbuf_t *textbuf, void *node);
56 void ocs_mgmt_node_get_all(ocs_textbuf_t *textbuf, void *node);
57 int ocs_mgmt_node_get(ocs_textbuf_t *textbuf, char *parent, char *name, void *node);
58 int ocs_mgmt_node_set(char *parent, char *name, char *value, void *node);
60 void *arg_out, uint32_t arg_out_length, void *node);
80 ocs_node_abort_all_els(ocs_node_t *node) in ocs_node_abort_all_els() argument
86 ocs_node_hold_frames(node); in ocs_node_abort_all_els()
87 ocs_lock(&node->active_ios_lock); in ocs_node_abort_all_els()
88 ocs_list_foreach_safe(&node->els_io_active_list, els, els_next) { in ocs_node_abort_all_els()
[all …]
H A Docs_fabric.c53 static void ocs_fabric_initiate_shutdown(ocs_node_t *node);
57 static int32_t ocs_process_gidpt_payload(ocs_node_t *node, fcct_gidpt_acc_t *gidpt, uint32_t gidpt_…
58 static void ocs_process_rscn(ocs_node_t *node, ocs_node_cb_t *cbdata);
84 ocs_log_debug(node->ocs, ">>> reenter !!\n"); in __ocs_fabric_init()
88 ocs_send_flogi(node, OCS_FC_FLOGI_TIMEOUT_SEC, OCS_FC_ELS_DEFAULT_RETRIES, NULL, NULL); in __ocs_fabric_init()
89 ocs_node_transition(node, __ocs_fabric_flogi_wait_rsp, NULL); in __ocs_fabric_init()
113 ocs_fabric_set_topology(ocs_node_t *node, ocs_sport_topology_e topology) in ocs_fabric_set_topology() argument
115 node->sport->topology = topology; in ocs_fabric_set_topology()
127 ocs_fabric_notify_topology(ocs_node_t *node) in ocs_fabric_notify_topology() argument
131 ocs_sport_topology_e topology = node->sport->topology; in ocs_fabric_notify_topology()
[all …]
H A Docs_node.h42 if (OCS_LOG_ENABLE_SM_TRACE(node->ocs)) \
43 ocs_log_info(node->ocs, "[%s] %-20s\n", node->display_name, ocs_sm_event_name(evt)); \
46 #define node_printf(node, fmt, ...) ocs_log_debug(node->ocs, "[%s] " fmt, node->display_name, ##__V… argument
49 ocs_node_t *node = NULL; \
51 node = ctx->app; \
52 ocs_assert(node, NULL); \
53 ocs = node->ocs; \
56 ocs_strncpy(node->current_state_name, __func__, sizeof(node->current_state_name)); \
58 ocs_strncpy(node->prev_state_name, node->current_state_name, sizeof(node->prev_state_name)); \
59 ocs_strncpy(node->current_state_name, "invalid", sizeof(node->current_state_name)); \
[all …]
/freebsd/contrib/ofed/libibverbs/
H A Dmemory.c177 static struct ibv_mem_node *__mm_prev(struct ibv_mem_node *node) in __mm_prev() argument
179 if (node->left) { in __mm_prev()
180 node = node->left; in __mm_prev()
181 while (node->right) in __mm_prev()
182 node = node->right; in __mm_prev()
184 while (node->parent && node == node->parent->left) in __mm_prev()
185 node = node->parent; in __mm_prev()
187 node = node->parent; in __mm_prev()
190 return node; in __mm_prev()
193 static struct ibv_mem_node *__mm_next(struct ibv_mem_node *node) in __mm_next() argument
[all …]
/freebsd/contrib/kyua/utils/config/
H A Dnodes_test.cpp85 config::bool_node node; in ATF_TEST_CASE_BODY() local
86 node.set(true); in ATF_TEST_CASE_BODY()
87 config::detail::base_node* raw_copy = node.deep_copy(); in ATF_TEST_CASE_BODY()
91 ATF_REQUIRE(node.value()); in ATF_TEST_CASE_BODY()
100 config::bool_node node; in ATF_TEST_CASE_BODY() local
101 ATF_REQUIRE(!node.is_set()); in ATF_TEST_CASE_BODY()
102 node.set(false); in ATF_TEST_CASE_BODY()
103 ATF_REQUIRE( node.is_set()); in ATF_TEST_CASE_BODY()
110 config::bool_node node; in ATF_TEST_CASE_BODY() local
111 node.set(false); in ATF_TEST_CASE_BODY()
[all …]
/freebsd/contrib/ofed/libibnetdisc/
H A Dchassis.c63 char *ibnd_get_chassis_type(ibnd_node_t * node) in ibnd_get_chassis_type() argument
67 if (!node) { in ibnd_get_chassis_type()
72 if (!node->chassis) in ibnd_get_chassis_type()
75 chassis_type = mad_get_field(node->info, 0, IB_NODE_VENDORID_F); in ibnd_get_chassis_type()
81 if (node->ch_type == UNRESOLVED_CT || node->ch_type > ISR4200_CT) in ibnd_get_chassis_type()
83 return ChassisTypeStr[node->ch_type]; in ibnd_get_chassis_type()
87 if (node->ch_type_str[0] == '\0') in ibnd_get_chassis_type()
89 return node->ch_type_str; in ibnd_get_chassis_type()
99 char *ibnd_get_chassis_slot_str(ibnd_node_t * node, char *str, size_t size) in ibnd_get_chassis_slot_str() argument
103 if (!node) { in ibnd_get_chassis_slot_str()
[all …]
/freebsd/contrib/ldns/
H A Dradix.c54 static int ldns_radix_array_space(ldns_radix_node_t* node, uint8_t byte);
55 static int ldns_radix_array_grow(ldns_radix_node_t* node, unsigned need);
67 static ldns_radix_node_t* ldns_radix_next_in_subtree(ldns_radix_node_t* node);
68 static ldns_radix_node_t* ldns_radix_prev_from_index(ldns_radix_node_t* node,
71 ldns_radix_node_t* node);
72 static ldns_radix_node_t* ldns_radix_last_in_subtree(ldns_radix_node_t* node);
73 static void ldns_radix_del_fix(ldns_radix_t* tree, ldns_radix_node_t* node);
74 static void ldns_radix_cleanup_onechild(ldns_radix_node_t* node);
75 static void ldns_radix_cleanup_leaf(ldns_radix_node_t* node);
76 static void ldns_radix_node_free(ldns_radix_node_t* node, void* arg);
[all …]
H A Drbtree.c65 static void ldns_rbtree_rotate_left(ldns_rbtree_t *rbtree, ldns_rbnode_t *node);
67 static void ldns_rbtree_rotate_right(ldns_rbtree_t *rbtree, ldns_rbnode_t *node);
69 static void ldns_rbtree_insert_fixup(ldns_rbtree_t *rbtree, ldns_rbnode_t *node);
116 ldns_rbtree_rotate_left(ldns_rbtree_t *rbtree, ldns_rbnode_t *node) in ldns_rbtree_rotate_left() argument
118 ldns_rbnode_t *right = node->right; in ldns_rbtree_rotate_left()
119 node->right = right->left; in ldns_rbtree_rotate_left()
121 right->left->parent = node; in ldns_rbtree_rotate_left()
123 right->parent = node->parent; in ldns_rbtree_rotate_left()
125 if (node->parent != LDNS_RBTREE_NULL) { in ldns_rbtree_rotate_left()
126 if (node == node->parent->left) { in ldns_rbtree_rotate_left()
[all …]
/freebsd/sys/kern/
H A Dsubr_pctrie.c91 pctrie_slot(struct pctrie_node *node, uint64_t index) in pctrie_slot() argument
93 return ((index >> node->pn_clev) & (PCTRIE_COUNT - 1)); in pctrie_slot()
101 pctrie_keybarr(struct pctrie_node *node, uint64_t index, int *slot) in pctrie_keybarr() argument
103 index = (index - node->pn_owner) >> node->pn_clev; in pctrie_keybarr()
114 pctrie_node_put(struct pctrie_node *node) in pctrie_node_put() argument
119 KASSERT(powerof2(node->pn_popmap), in pctrie_node_put()
120 ("pctrie_node_put: node %p has too many children %04x", node, in pctrie_node_put()
121 node->pn_popmap)); in pctrie_node_put()
123 if ((node->pn_popmap & (1 << slot)) != 0) in pctrie_node_put()
125 KASSERT(smr_unserialized_load(&node->pn_child[slot], true) == in pctrie_node_put()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_radix.c69 struct radix_tree_node *node; in radix_tree_lookup() local
74 node = root->rnode; in radix_tree_lookup()
78 while (height && node) in radix_tree_lookup()
79 node = node->slots[radix_pos(index, height--)]; in radix_tree_lookup()
80 if (node) in radix_tree_lookup()
81 item = node->slots[radix_pos(index, 0)]; in radix_tree_lookup()
91 struct radix_tree_node *node; in radix_tree_iter_find() local
96 node = root->rnode; in radix_tree_iter_find()
97 if (node == NULL) in radix_tree_iter_find()
109 *pppslot = node->slots + pos; in radix_tree_iter_find()
[all …]
/freebsd/sys/gnu/gcov/
H A Dgcov_fs.c227 static void remove_node(struct gcov_node *node);
291 get_node_info(struct gcov_node *node) in get_node_info() argument
293 if (node->num_loaded > 0) in get_node_info()
294 return (node->loaded_info[0]); in get_node_info()
296 return (node->unloaded_info); in get_node_info()
304 get_accumulated_info(struct gcov_node *node) in get_accumulated_info() argument
309 if (node->unloaded_info) in get_accumulated_info()
310 info = gcov_info_dup(node->unloaded_info); in get_accumulated_info()
312 info = gcov_info_dup(node->loaded_info[i++]); in get_accumulated_info()
315 for (; i < node->num_loaded; i++) in get_accumulated_info()
[all …]
/freebsd/sys/contrib/openzfs/module/avl/
H A Davl.c132 avl_node_t *node = AVL_DATA2NODE(oldnode, off); in avl_walk() local
140 if (node == NULL) in avl_walk()
149 if (node->avl_child[left] != NULL) { in avl_walk()
150 for (node = node->avl_child[left]; in avl_walk()
151 node->avl_child[right] != NULL; in avl_walk()
152 node = node->avl_child[right]) in avl_walk()
159 was_child = AVL_XCHILD(node); in avl_walk()
160 node = AVL_XPARENT(node); in avl_walk()
161 if (node == NULL) in avl_walk()
168 return (AVL_NODE2DATA(node, off)); in avl_walk()
[all …]
/freebsd/contrib/unbound/util/
H A Drbtree.c62 static void rbtree_rotate_left(rbtree_type *rbtree, rbnode_type *node);
64 static void rbtree_rotate_right(rbtree_type *rbtree, rbnode_type *node);
66 static void rbtree_insert_fixup(rbtree_type *rbtree, rbnode_type *node);
108 rbtree_rotate_left(rbtree_type *rbtree, rbnode_type *node) in rbtree_rotate_left() argument
110 rbnode_type *right = node->right; in rbtree_rotate_left()
111 node->right = right->left; in rbtree_rotate_left()
113 right->left->parent = node; in rbtree_rotate_left()
115 right->parent = node->parent; in rbtree_rotate_left()
117 if (node->parent != RBTREE_NULL) { in rbtree_rotate_left()
118 if (node == node->parent->left) { in rbtree_rotate_left()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstrInfo.td9 // This file contains DAG node definitions for the AMDGPU target.
112 // This argument to this node is a dword address.
392 // Intrinsic/Custom node compatibility PatFrags
395 def AMDGPUrcp : PatFrags<(ops node:$src), [(int_amdgcn_rcp node:$src),
396 (AMDGPUrcp_impl node:$src)]>;
397 def AMDGPUrcp_legacy : PatFrags<(ops node:$src), [(int_amdgcn_rcp_legacy node:$src),
398 (AMDGPUrcp_legacy_impl node:$src)]>;
400 def AMDGPUrsq : PatFrags<(ops node:$src), [(int_amdgcn_rsq node:$src),
401 (AMDGPUrsq_impl node:$src)]>;
403 def AMDGPUrsq_clamp : PatFrags<(ops node:$src), [(int_amdgcn_rsq_clamp node:$src),
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrFragmentsSIMD.td28 def load_mmx : PatFrag<(ops node:$ptr), (x86mmx (load node:$ptr))>;
141 def X86any_vfpext : PatFrags<(ops node:$src),
142 [(X86strict_vfpext node:$src),
143 (X86vfpext node:$src)]>;
156 def X86any_vfpround : PatFrags<(ops node:$src),
157 [(X86strict_vfpround node:$src),
158 (X86vfpround node:$src)]>;
201 def X86any_cmpp : PatFrags<(ops node:$src1, node:$src2, node:$src3),
202 [(X86strict_cmpp node:$src1, node:$src2, node:$src3),
203 (X86cmpp node:$src1, node:$src2, node:$src3)]>;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetSelectionDAG.td96 // DAG node.
354 def node;
894 /// can match something on the DAG, from a single node to multiple nested other
1078 def not : PatFrag<(ops node:$in), (xor node:$in, -1)>;
1079 def vnot : PatFrag<(ops node:$in), (xor node:$in, immAllOnesV)>;
1080 def ineg : PatFrag<(ops node:$in), (sub 0, node:$in)>;
1082 def zanyext : PatFrags<(ops node:$op),
1083 [(zext node:$op),
1084 (anyext node:$op)]>;
1094 def unindexedload : PatFrag<(ops node:$ptr), (ld node:$ptr)> {
[all …]
/freebsd/contrib/libucl/src/
H A Dtree.h76 #define TREE_DEFINE(node, field) \ argument
78 static struct node *_HU_FUNCTION(TREE_BALANCE_##node##_##field)(struct node *); \
80 static struct node *_HU_FUNCTION(TREE_ROTL_##node##_##field)(struct node *self) \
82 struct node *r= self->field.avl_right; \
84 r->field.avl_left= TREE_BALANCE_##node##_##field(self); \
85 return TREE_BALANCE_##node##_##field(r); \
88 static struct node *_HU_FUNCTION(TREE_ROTR_##node##_##field)(struct node *self) \
90 struct node *l= self->field.avl_left; \
92 l->field.avl_right= TREE_BALANCE_##node##_##field(self); \
93 return TREE_BALANCE_##node##_##field(l); \
[all …]
/freebsd/sys/arm64/arm64/
H A Dcmn600.c266 cmn600_dump_node(struct cmn600_node *node, int lvl) in cmn600_dump_node() argument
272 cmn600_node_type_str(node->nd_type), node->nd_x, node->nd_y, in cmn600_dump_node()
273 node->nd_port, node->nd_sub, node->nd_id, node->nd_offset, in cmn600_dump_node()
274 node->nd_logical_id); in cmn600_dump_node()
275 if (node->nd_child_count > 0) in cmn600_dump_node()
276 printf(", Children: %d", node->nd_child_count); in cmn600_dump_node()
278 if (node->nd_type == NODE_TYPE_XP) in cmn600_dump_node()
280 cmn600_xpport_dev_type_str(node->nd_read4(node, in cmn600_dump_node()
282 cmn600_xpport_dev_type_str(node->nd_read4(node, in cmn600_dump_node()
287 cmn600_dump_node_recursive(struct cmn600_node *node, int lvl) in cmn600_dump_node_recursive() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZOperators.td475 def z_loadbswap16 : PatFrag<(ops node:$addr), (z_loadbswap node:$addr), [{
478 def z_loadbswap32 : PatFrag<(ops node:$addr), (z_loadbswap node:$addr), [{
481 def z_loadbswap64 : PatFrag<(ops node:$addr), (z_loadbswap node:$addr), [{
485 def z_storebswap16 : PatFrag<(ops node:$src, node:$addr),
486 (z_storebswap node:$src, node:$addr), [{
489 def z_storebswap32 : PatFrag<(ops node:$src, node:$addr),
490 (z_storebswap node:$src, node:$addr), [{
493 def z_storebswap64 : PatFrag<(ops node:$src, node:$addr),
494 (z_storebswap node:$src, node:$addr), [{
500 : PatFrag<(ops node:$valid, node:$mask, node:$bb),
[all …]
/freebsd/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dzfs_acl_chmod_rwacl_001_pos.ksh69 typeset node=$1
75 chgusr_exec $user $LS -vd $node > /dev/null 2>&1
87 typeset node=$1
93 before_cnt=$(count_ACE $node)
97 chgusr_exec $user $CHMOD A0+owner@:read_data:allow $node
101 after_cnt=$(count_ACE $node)
105 chgusr_exec $user $CHMOD A0- $node
121 typeset node=$1
125 $CHMOD A0+owner@:read_acl/write_acl:$acc $node
126 log_must read_ACL $node $ZFS_ACL_CUR_USER
[all …]
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dipf_rb.h38 rotate_left(struct _n##_rb_head *head, _t *node) \
42 parent = node->_f.parent; \
43 tmp1 = node->_f.right; \
45 node->_f.right = tmp2; \
47 tmp2->_f.parent = node; \
50 else if (parent->_f.right == node) \
54 tmp1->_f.left = node; \
56 node->_f.parent = tmp1; \
60 rotate_right(struct _n##_rb_head *head, _t *node) \
64 parent = node->_f.parent; \
[all …]
/freebsd/sys/arm64/acpica/
H A Dacpi_iort.c117 iort_entry_get_id_mapping_index(struct iort_node *node) in iort_entry_get_id_mapping_index() argument
120 switch(node->type) { in iort_entry_get_id_mapping_index()
123 if (node->revision < 1) in iort_entry_get_id_mapping_index()
130 if (node->data.smmu_v3.EventGsiv != 0 && in iort_entry_get_id_mapping_index()
131 node->data.smmu_v3.PriGsiv != 0 && in iort_entry_get_id_mapping_index()
132 node->data.smmu_v3.GerrGsiv != 0 && in iort_entry_get_id_mapping_index()
133 node->data.smmu_v3.SyncGsiv != 0) in iort_entry_get_id_mapping_index()
136 if (node->data.smmu_v3.IdMappingIndex >= node->nentries) in iort_entry_get_id_mapping_index()
139 return (node->data.smmu_v3.IdMappingIndex); in iort_entry_get_id_mapping_index()
154 iort_entry_lookup(struct iort_node *node, u_int id, u_int *outid) in iort_entry_lookup() argument
[all …]
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dibtracert.c126 static int is_port_inactive(Node * node, Port * port, Switch * sw) in is_port_inactive() argument
130 (node->type != IB_NODE_SWITCH || in is_port_inactive()
131 (node->type == IB_NODE_SWITCH && sw->enhsp0))) in is_port_inactive()
136 static int get_node(Node * node, Port * port, ib_portid_t * portid) in get_node() argument
138 void *pi = port->portinfo, *ni = node->nodeinfo, *nd = node->nodedesc; in get_node()
141 memset(ni, 0, sizeof(node->nodeinfo)); in get_node()
145 memset(nd, 0, sizeof(node->nodedesc)); in get_node()
160 mad_decode_field(ni, IB_NODE_GUID_F, &node->nodeguid); in get_node()
161 mad_decode_field(ni, IB_NODE_TYPE_F, &node->type); in get_node()
162 mad_decode_field(ni, IB_NODE_NPORTS_F, &node->numports); in get_node()
[all …]
/freebsd/usr.sbin/makefs/cd9660/
H A Diso9660_rrip.c56 cd9660_susp_initialize(iso9660_disk *diskStructure, cd9660node *node, in cd9660_susp_initialize() argument
63 assert(node != NULL); in cd9660_susp_initialize()
65 if (!(node->type & CD9660_TYPE_DOT) && in cd9660_susp_initialize()
66 !(node->type & CD9660_TYPE_DOTDOT)) in cd9660_susp_initialize()
67 TAILQ_INIT(&(node->head)); in cd9660_susp_initialize()
68 if (node->dot_record != 0) in cd9660_susp_initialize()
69 TAILQ_INIT(&(node->dot_record->head)); in cd9660_susp_initialize()
70 if (node->dot_dot_record != 0) in cd9660_susp_initialize()
71 TAILQ_INIT(&(node->dot_dot_record->head)); in cd9660_susp_initialize()
74 if ((r = cd9660_susp_initialize_node(diskStructure, node)) < 0) in cd9660_susp_initialize()
[all …]

12345678910>>...106