Home
last modified time | relevance | path

Searched refs:nodep (Results 1 – 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/cmd/ldmad/
H A Dmdesc_lib.c154 md_node_t *nodep; in md_new_node() local
161 free(nodep); in md_new_node()
166 return (nodep); in md_new_node()
257 md_node_t *nodep; in md_link_new_node() local
277 return (nodep); in md_link_new_node()
285 for (nodep = CHAIN_START(mdp->node_list); nodep != NULL; ) { in md_destroy()
316 free(nodep); in md_free_node()
473 for (nodep = CHAIN_START(mdp->node_list); nodep != NULL; in md_gen_bin()
474 nodep = nodep->nextp) { in md_gen_bin()
512 for (nodep = CHAIN_START(mdp->node_list); nodep != NULL; in md_gen_bin()
[all …]
H A Dmdesc_mutable.h119 md_node_t *nodep; member
145 md_node_t *nodep, char *sp, uint64_t value);
146 int md_add_string_property(mmd_t *mdp, md_node_t *nodep, char *sp, char *bufp);
147 int md_add_data_property(mmd_t *mdp, md_node_t *nodep, char *sp, int len,
153 void md_free_node(mmd_t *mdp, md_node_t *nodep);
/illumos-gate/usr/src/uts/common/fs/namefs/
H A Dnamevno.c121 mutex_enter(&nodep->nm_lock); in nm_open()
139 mutex_exit(&nodep->nm_lock); in nm_open()
184 nameremove(nodep); in nm_close()
187 VN_RELE(nodep->nm_filevp); in nm_close()
226 mutex_enter(&nodep->nm_lock); in nm_getattr()
228 mutex_exit(&nodep->nm_lock); in nm_getattr()
246 struct namenode *nodep = vnp; in nm_access_unlocked() local
256 nodep->nm_vattr.va_uid, nodep->nm_vattr.va_mode << shift, in nm_access_unlocked()
321 mutex_exit(&nodep->nm_lock); in nm_setattr()
340 mutex_exit(&nodep->nm_lock); in nm_access()
[all …]
H A Dnamevfs.c145 *bucket = nodep; in nameinsert()
160 if (np == nodep) { in nameremove()
233 struct namenode *nodep; in nm_umountall() local
247 while (nodep) { in nm_umountall()
258 nodep = nodep->nm_nextp; in nm_umountall()
286 nodep = nodep->nm_nextp; in nm_umountall()
476 nodep->nm_filep = fp; in nm_mount()
499 newvp = NMTOV(nodep); in nm_mount()
563 nameinsert(nodep); in nm_mount()
599 vp = nodep->nm_filevp; in nm_unmount()
[all …]
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dtrie.c124 node_t *nodep = *c_node; in t_split() local
128 if (pos == (nodep->pos - nodep->bits)) { in t_split()
137 nodep->bits = nodep->pos - pos; in t_split()
141 if ((nodep->one == NULL) && (nodep->zero == NULL)) { in t_split()
154 nodep->zero->bits = (old_bits - nodep->bits) - 1; in t_split()
165 nodep->zero->elements = nodep->elements; in t_split()
168 if ((nodep->one == NULL) && (nodep->zero == NULL)) { in t_split()
175 nodep->one = tnodep; in t_split()
181 nodep->one->bits = (old_bits - nodep->bits) - 1; in t_split()
184 SETBIT(nodep->one->val, (nodep->one->pos - i), in t_split()
[all …]
/illumos-gate/usr/src/lib/libpicltree/
H A Dpicltree.c744 *nodep = nobj; in lookup_and_lock_propnode()
776 *nodep = nobj; in lookup_and_lock_tablenode()
813 *nodep = nobj; in lookup_and_lock_tableprop_node()
833 *nodep = nobj; in lookup_and_lock_node()
1452 nodep = NULL; in ptree_add_prop()
1911 free(nodep); in destroy_subtree()
1928 nodep = NULL; in ptree_destroy_node()
1983 nodep = NULL; in ptree_delete_node()
2055 nodep = nodep->sibling_node) in ptree_add_node()
2203 if (nodep) in read_propval_and_unlock()
[all …]
H A Dptree_impl.h115 picl_obj_t *nodep; /* prop's node or table */ member
166 #define prop_node u.prop.nodep
167 #define prop_table u.prop.nodep
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c1132 for (nodep = ibnex.ibnex_pseudo_node_head; nodep; in ibnex_get_num_devices()
1133 nodep = nodep->node_next) { in ibnex_get_num_devices()
1284 nodep = nodep->node_next) { in ibnex_get_snapshot()
1327 nodep = nodep->node_next) { in ibnex_get_snapshot()
1344 for (nodep = ibnex.ibnex_pseudo_node_head; nodep; in ibnex_get_snapshot()
1345 nodep = nodep->node_next) { in ibnex_get_snapshot()
1846 nodep != NULL; nodep = nodep->node_next) { in ibnex_get_dip_from_apid()
1896 nodep = nodep->node_next) { in ibnex_get_dip_from_apid()
1915 nodep = nodep->node_next) { in ibnex_get_dip_from_apid()
1930 *ret_dip = (nodep) ? nodep->node_dip : NULL; in ibnex_get_dip_from_apid()
[all …]
H A Dibnex.c709 for (; nodep; nodep = nodep->node_next) in ibnex_pseudo_node_cleanup()
714 for (nodep = ibnex.ibnex_pseudo_node_head; nodep; in ibnex_pseudo_node_cleanup()
715 nodep = nodep->node_next) { in ibnex_pseudo_node_cleanup()
1921 nodep; nodep = nodep->node_next) { in ibnex_config_pseudo_all()
2086 nodep); in ibnex_pseudo_create_all_pi()
3389 for (nodep = ibnex.ibnex_ioc_node_head; nodep != NULL; in ibnex_is_node_data_present()
3390 nodep = nodep->node_next) { in ibnex_is_node_data_present()
3398 for (nodep = ibnex.ibnex_pseudo_node_head; nodep; in ibnex_is_node_data_present()
3399 nodep = nodep->node_next) in ibnex_is_node_data_present()
3407 for (nodep = ibnex.ibnex_port_node_head; nodep != NULL; in ibnex_is_node_data_present()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dutil.c195 struct q_node *nodep; in queue_add() local
201 if (qp->nodep == NULL) in queue_add()
202 qp->nodep = qnp; in queue_add()
204 nodep = qp->nodep; in queue_add()
206 while (nodep->next != NULL) in queue_add()
207 nodep = nodep->next; in queue_add()
209 nodep->next = qnp; in queue_add()
234 if (qp->nodep != NULL) { in queue_remove()
235 rv = qp->nodep->data; in queue_remove()
238 qp->nodep = nextnode; in queue_remove()
[all …]
H A Dutil.h80 struct q_node *nodep; member
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_persist.c1045 *new = *nodep; in i_ipmgmt_add_amnode()
1122 nodep->am_nextnum = ++nextnum; in i_ipmgmt_lookupadd_amnode()
1129 nodep->am_nextnum = nextnum; in i_ipmgmt_lookupadd_amnode()
1164 nodep->am_aobjname) == 0 && in ipmgmt_aobjmap_op()
1175 head->am_lnum = nodep->am_lnum; in ipmgmt_aobjmap_op()
1184 nodep->am_ifname) == 0) in ipmgmt_aobjmap_op()
1197 nodep->am_aobjname) == 0) { in ipmgmt_aobjmap_op()
1229 *nodep = *head; in ipmgmt_aobjmap_op()
1254 nodep->am_ifname) == 0 && in ipmgmt_aobjmap_op()
1478 ipmgmt_aobjmap_t *nodep = arg; in ipmgmt_delete_aobjmap() local
[all …]
H A Dipmgmt_door.c265 *nodep->ipmgmt_am_reqhost = '\0'; in i_ipmgmt_nvl2aobjnode()
272 sizeof (nodep->ipmgmt_am_reqhost)); in i_ipmgmt_nvl2aobjnode()
297 nodep->ipmgmt_am_linklocal = B_TRUE; in i_ipmgmt_nvl2aobjnode()
298 nodep->ipmgmt_am_ifid = sin6; in i_ipmgmt_nvl2aobjnode()
304 (void) strlcpy(nodep->am_ifname, ifname, sizeof (nodep->am_ifname)); in i_ipmgmt_nvl2aobjnode()
305 (void) strlcpy(nodep->am_aobjname, aobjname, in i_ipmgmt_nvl2aobjnode()
306 sizeof (nodep->am_aobjname)); in i_ipmgmt_nvl2aobjnode()
307 nodep->am_lnum = lnum; in i_ipmgmt_nvl2aobjnode()
308 nodep->am_family = af; in i_ipmgmt_nvl2aobjnode()
309 nodep->am_atype = addrtype; in i_ipmgmt_nvl2aobjnode()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deval.c123 struct node *nodep; in eval_getname() local
128 nodep = np; in eval_getname()
158 nodep = eval_dup(nodep, ex, events); in eval_getname()
161 return (nodep); in eval_getname()
220 struct node *nodep; in eval_func() local
262 if (!nodep) in eval_func()
413 if (!nodep) in eval_func()
451 if (!nodep) in eval_func()
488 if (!nodep) in eval_func()
515 if (!nodep) in eval_func()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/shared/
H A Dtopo_port.c135 tnode_t **nodep) in port_create_sff() argument
142 *nodep = tn; in port_create_sff()
148 tnode_t **nodep) in port_create_usb() argument
155 *nodep = tn; in port_create_usb()
161 tnode_t **nodep) in port_create_unknown() argument
168 *nodep = tn; in port_create_unknown()
H A Dtopo_transceiver.c126 const char *serial, tnode_t **nodep) in transceiver_create_sff() argument
178 if (nodep != NULL) in transceiver_create_sff()
179 *nodep = tn; in transceiver_create_sff()
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsgen.c306 sgen_type_node_t *nodep; in sgen_setup_binddb() local
318 nodep->node_type = devtype; in sgen_setup_binddb()
345 sgen_inq_node_t *nodep; in sgen_setup_binddb() local
377 sgen_binddb.sdb_inq_nodes = nodep; in sgen_setup_binddb()
382 nodep->node_vendor, nodep->node_product, in sgen_setup_binddb()
432 sgen_inq_node_t *nodep; in sgen_bind_byinq() local
448 for (nodep = sgen_binddb.sdb_inq_nodes; nodep != NULL; in sgen_bind_byinq()
449 nodep = nodep->node_next) { in sgen_bind_byinq()
480 sgen_type_node_t *nodep; in sgen_bind_bytype() local
485 for (nodep = sgen_binddb.sdb_type_nodes; nodep != NULL; in sgen_bind_bytype()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_groups.c107 _dwarf_grp_destroy_free_node(void*nodep) in _dwarf_grp_destroy_free_node() argument
109 struct Dwarf_Group_Map_Entry_s * enp = nodep; in _dwarf_grp_destroy_free_node()
220 grp_walk_map(const void *nodep, in grp_walk_map() argument
226 re = *(struct Dwarf_Group_Map_Entry_s **)nodep; in grp_walk_map()
352 grp_walk_for_name(const void *nodep, in grp_walk_for_name() argument
358 re = *(struct Dwarf_Group_Map_Entry_s **)nodep; in grp_walk_for_name()
H A Ddwarf_tsearchhash.c164 void (*free_node)(void *nodep),
626 void (*action)(const void *nodep, const DW_VISIT which, in dwarf_twalk_inner() argument
645 void (*action)(const void *nodep, const DW_VISIT which, in dwarf_twalk() argument
660 void (*free_node)(void *nodep), in dwarf_tdestroy_inner() argument
696 dwarf_tdestroy(void *rootp, void (*free_node)(void *nodep)) in dwarf_tdestroy() argument
H A Dpro_alloc.c180 _dwarf_str_hashtab_freenode(void * nodep) in _dwarf_str_hashtab_freenode() argument
182 free(nodep); in _dwarf_str_hashtab_freenode()
H A Ddwarf_tied.c113 _dwarf_tied_destroy_free_node(void*nodep) in _dwarf_tied_destroy_free_node() argument
115 struct Dwarf_Tied_Entry_s * enp = nodep; in _dwarf_tied_destroy_free_node()
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c394 unm_dmah_node_t *nodep; in unm_free_tx_dmahdl() local
400 if (nodep->dmahdl != NULL) { in unm_free_tx_dmahdl()
402 nodep->dmahdl = NULL; in unm_free_tx_dmahdl()
404 nodep->next = NULL; in unm_free_tx_dmahdl()
405 nodep++; in unm_free_tx_dmahdl()
428 nodep->next = nodep - 1; in unm_alloc_tx_dmahdl()
429 nodep++; in unm_alloc_tx_dmahdl()
526 unm_dmah_node_t *nodep; in unm_free_tx_buffers() local
533 nodep = cmd_buf->head; in unm_free_tx_buffers()
534 while (nodep != NULL) { in unm_free_tx_buffers()
[all …]
/illumos-gate/usr/src/uts/sparc/os/
H A Dcpr_sparc.c73 cpr_get_options_node(pnode_t *nodep) in cpr_get_options_node() argument
75 *nodep = prom_optionsnode(); in cpr_get_options_node()
76 if (*nodep == OBP_NONODE || *nodep == OBP_BADNODE) { in cpr_get_options_node()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlwlan.c371 attr_node_t *nodep; in connect_cb() local
418 if (nodep == NULL) in connect_cb()
422 nodep->an_next = statep->cs_list; in connect_cb()
423 statep->cs_list = nodep; in connect_cb()
563 attr_node_t *nodep = NULL; in dladm_wlan_connect() local
620 nodep = state.cs_list; in dladm_wlan_connect()
622 wl_list[i] = &nodep->an_attr; in dladm_wlan_connect()
623 nodep = nodep->an_next; in dladm_wlan_connect()
650 nodep = state.cs_list; in dladm_wlan_connect()
651 state.cs_list = nodep->an_next; in dladm_wlan_connect()
[all …]
/illumos-gate/usr/src/cmd/isns/isnsd/xml/
H A Ddata.c545 xmlNodePtr *nodep, in parse_xml_obj() argument
552 xmlNodePtr node = *nodep; in parse_xml_obj()
575 *nodep = children; in parse_xml_obj()
588 *nodep = children; in parse_xml_obj()
591 *nodep = node; in parse_xml_obj()

12