Home
last modified time | relevance | path

Searched refs:cur_node (Results 1 – 16 of 16) sorted by relevance

/titanic_41/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_provider.c220 DAPL_PROVIDER_LIST_NODE *cur_node; in dapl_provider_list_destroy() local
223 cur_node = g_dapl_provider_list.head; in dapl_provider_list_destroy()
224 g_dapl_provider_list.head = cur_node->next; in dapl_provider_list_destroy()
226 dapl_os_free(cur_node, sizeof (DAPL_PROVIDER_LIST_NODE)); in dapl_provider_list_destroy()
245 DAPL_PROVIDER_LIST_NODE *cur_node, *prev_node, *next_node; in dapl_provider_list_insert() local
252 cur_node = dapl_os_alloc(sizeof (DAPL_PROVIDER_LIST_NODE)); in dapl_provider_list_insert()
254 if (NULL == cur_node) { in dapl_provider_list_insert()
272 (void) dapl_os_memcpy(cur_node->name, name, len); in dapl_provider_list_insert()
273 cur_node->name[len] = '\0'; in dapl_provider_list_insert()
274 cur_node->data = g_dapl_provider_template; in dapl_provider_list_insert()
[all …]
H A Ddapl_osd.c363 DAPL_PROVIDER_LIST_NODE *cur_node; in dapls_osd_fork_cleanup() local
376 cur_node = g_dapl_provider_list.head; in dapls_osd_fork_cleanup()
377 g_dapl_provider_list.head = cur_node->next; in dapls_osd_fork_cleanup()
379 hca_ptr = (DAPL_HCA *) cur_node->data.extension; in dapls_osd_fork_cleanup()
513 dapl_os_free(cur_node, sizeof (DAPL_PROVIDER_LIST_NODE)); in dapls_osd_fork_cleanup()
/titanic_41/usr/src/lib/udapl/libdat/common/
H A Ddat_dictionary.c173 DAT_DICTIONARY_NODE *cur_node; in dat_dictionary_destroy() local
178 cur_node = p_dictionary->head; in dat_dictionary_destroy()
179 p_dictionary->head = cur_node->next; in dat_dictionary_destroy()
181 dat_os_free(cur_node, sizeof (DAT_DICTIONARY_NODE)); in dat_dictionary_destroy()
262 DAT_DICTIONARY_NODE *cur_node, *prev_node, *next_node; in dat_dictionary_insert() local
267 cur_node = entry; in dat_dictionary_insert()
274 dat_status = dat_dictionary_key_dup(key, &cur_node->key); in dat_dictionary_insert()
283 cur_node->data = data; in dat_dictionary_insert()
284 cur_node->next = next_node; in dat_dictionary_insert()
285 cur_node->prev = prev_node; in dat_dictionary_insert()
[all …]
/titanic_41/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DMP_GetMPLogicalUnitProperties.c68 di_node_t cur_node = DI_NODE_NIL; in getDeviceFileName() local
101 cur_node = di_drv_first_node("scsi_vhci", root_node); in getDeviceFileName()
102 if (DI_NODE_NIL == cur_node) { in getDeviceFileName()
112 cur_node = di_child_node(cur_node); in getDeviceFileName()
114 while (DI_NODE_NIL != cur_node) { in getDeviceFileName()
116 instNum = di_instance(cur_node); in getDeviceFileName()
117 majorNum = di_driver_major(cur_node); in getDeviceFileName()
131 cur_node = di_sibling_node(cur_node); in getDeviceFileName()
134 if (DI_NODE_NIL != cur_node) { in getDeviceFileName()
146 pathName = di_devfs_path(cur_node); in getDeviceFileName()
/titanic_41/usr/src/uts/sparc/os/
H A Dcpr_sparc.c358 static pnode_t cur_node; in cpr_abbreviate_devpath() local
362 cur_node = prom_nextnode(0); in cpr_abbreviate_devpath()
373 if ((cur_node = prom_childnode(cur_node)) == 0) { in cpr_abbreviate_devpath()
385 name = cpr_build_nodename(cur_node); in cpr_abbreviate_devpath()
387 long_match = cur_node; in cpr_abbreviate_devpath()
389 short_match = cur_node; in cpr_abbreviate_devpath()
392 } while ((cur_node = prom_nextnode(cur_node)) != 0); in cpr_abbreviate_devpath()
405 cur_node = short_match; in cpr_abbreviate_devpath()
410 cur_node = long_match; in cpr_abbreviate_devpath()
/titanic_41/usr/src/lib/auditd_plugins/remote/
H A Dtransport.c952 transq_node_t *cur_node; in recv_record() local
1117 cur_node = transq_hdr.head; in recv_record()
1118 while (cur_node != NULL && !break_flag) { in recv_record()
1119 if (cur_node->seq_num != r_seq_num) { in recv_record()
1120 cur_node = cur_node->next; in recv_record()
1126 &(cur_node->seq_token), &in_buf_mic, in recv_record()
1148 transq_dequeue(cur_node); in recv_record()
1190 cur_node->seq_num)); in recv_record()
1191 cur_node = cur_node->next; in recv_record()
1514 transq_node_t *cur_node = transq_hdr.head; in transq_retransmit() local
[all …]
/titanic_41/usr/src/cmd/vi/misc/
H A Dctags.c173 static void add_node(NODE *node, NODE *cur_node);
980 add_node(node, cur_node) in add_node() argument
981 NODE *node, *cur_node; in add_node()
985 dif = strcmp(node->entry, cur_node->entry);
987 if (node->file == cur_node->file) {
997 if (!cur_node->been_warned)
1002 node->file, cur_node->file,
1005 cur_node->been_warned = TRUE;
1010 if (cur_node->left != NULL)
1011 add_node(node, cur_node->left);
[all …]
/titanic_41/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_cpu.c587 pnode_t parent, cur_node; in sbdp_prom_get_cpu() local
595 for (cur_node = prom_childnode(parent); cur_node != OBP_NONODE; in sbdp_prom_get_cpu()
596 cur_node = prom_nextnode(cur_node)) { in sbdp_prom_get_cpu()
598 if (prom_getprop(cur_node, OBP_PORTID, (caddr_t)&portid) < 0) in sbdp_prom_get_cpu()
601 if ((portid == argp->portid) && (cur_node != argp->node)) in sbdp_prom_get_cpu()
605 argp->result_node = cur_node; in sbdp_prom_get_cpu()
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_pathname.c149 smb_node_t *cur_node, in smb_pathname_reduce() argument
201 if (cur_node == NULL) in smb_pathname_reduce()
202 cur_node = root_node; in smb_pathname_reduce()
204 local_cur_node = cur_node; in smb_pathname_reduce()
217 err = smb_vss_lookup_nodes(sr, root_node, cur_node, in smb_pathname_reduce()
342 smb_node_t *root_node, smb_node_t *cur_node, smb_node_t **dir_node, in smb_pathname() argument
361 ASSERT(cur_node); in smb_pathname()
386 dnode = cur_node; in smb_pathname()
H A Dsmb_vss.c142 smb_node_t *cur_node, char *buf, smb_node_t **vss_cur_node, in smb_vss_lookup_nodes() argument
187 snapname, cur_node, gmttoken, vss_root_node); in smb_vss_lookup_nodes()
190 err = smb_vss_lookup_node(sr, cur_node, fsrootvp, in smb_vss_lookup_nodes()
191 snapname, cur_node, gmttoken, vss_cur_node); in smb_vss_lookup_nodes()
H A Dsmb_common_open.c310 smb_node_t *cur_node = NULL; in smb_open_subr() local
412 cur_node = op->fqi.fq_dnode ? in smb_open_subr()
425 if (cur_node == sr->tid_tree->t_snode) { in smb_open_subr()
438 "%s%s", cur_node->od_name, pn->pn_sname); in smb_open_subr()
440 op->fqi.fq_dnode = cur_node->n_dnode; in smb_open_subr()
444 sr->tid_tree->t_snode, cur_node, &op->fqi.fq_dnode, in smb_open_subr()
/titanic_41/usr/src/uts/common/io/1394/
H A Ds1394_hotplug.c1000 if (NODE_MATCHED(onode) == B_FALSE || (onode->cur_node == in s1394_process_old_tree()
1002 CFGROM_VALID(onode->cur_node) == B_FALSE) || in s1394_process_old_tree()
1004 cur_node) == B_FALSE)))) { in s1394_process_old_tree()
1006 if (onode->cur_node != NULL && CFGROM_VALID(onode) == in s1394_process_old_tree()
1007 B_TRUE && CFGROM_VALID(onode->cur_node) == B_FALSE) in s1394_process_old_tree()
1012 if (onode->cur_node != NULL && LINK_ACTIVE(onode) == in s1394_process_old_tree()
1013 B_TRUE && LINK_ACTIVE(onode->cur_node) == B_FALSE) in s1394_process_old_tree()
H A Ds1394_bus_reset.c879 hal->old_tree[hal_node_num_old].cur_node = in s1394_match_tree_nodes()
892 tmp->old_node->cur_node = tmp; in s1394_match_tree_nodes()
H A Ds1394_dev_disc.c1980 ret = s1394_offline_node(hal, onode->cur_node); in s1394_match_GUID()
2009 onode->cur_node = nnode; in s1394_match_GUID()
/titanic_41/usr/src/uts/common/io/sfe/
H A Dsfe.c379 sfe_search_pci_dev_subr(dev_info_t *cur_node, int vendor_id, int device_id) in sfe_search_pci_dev_subr() argument
385 if (cur_node == NULL) { in sfe_search_pci_dev_subr()
391 vid = ddi_prop_get_int(DDI_DEV_T_ANY, cur_node, in sfe_search_pci_dev_subr()
393 did = ddi_prop_get_int(DDI_DEV_T_ANY, cur_node, in sfe_search_pci_dev_subr()
398 return (cur_node); in sfe_search_pci_dev_subr()
402 if ((child_id = ddi_get_child(cur_node)) != NULL) { in sfe_search_pci_dev_subr()
409 } while ((cur_node = ddi_get_next_sibling(cur_node)) != NULL); in sfe_search_pci_dev_subr()
/titanic_41/usr/src/uts/common/sys/1394/
H A Ds1394.h279 s1394_node_t *cur_node; member