/illumos-gate/usr/src/boot/libsa/ |
H A D | uuid_from_string.c | 112 u->node[0] = fromhex(s + 24, 2, &ok); in uuid_from_string() 113 u->node[1] = fromhex(s + 26, 2, &ok); in uuid_from_string() 114 u->node[2] = fromhex(s + 28, 2, &ok); in uuid_from_string() 115 u->node[3] = fromhex(s + 30, 2, &ok); in uuid_from_string() 116 u->node[4] = fromhex(s + 32, 2, &ok); in uuid_from_string() 117 u->node[5] = fromhex(s + 34, 2, &ok); in uuid_from_string()
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | dcam1394_link.c | 38 static int dcam1394_process(di_minor_t minor, di_node_t node); 96 dcam1394_process(di_minor_t minor, di_node_t node) in dcam1394_process() argument 104 if (strcmp(di_driver_name(node), "dcam1394") != 0) { in dcam1394_process() 123 "dcam1394_process: path %s\n", di_devfs_path(node)); in dcam1394_process() 125 (void) strcpy(p_path, devfspath = di_devfs_path(node)); in dcam1394_process() 149 (void) devfsadm_mklink(l_path, node, minor, 0); in dcam1394_process()
|
H A D | audio_link.c | 46 static int audio_process(di_minor_t minor, di_node_t node); 47 static int sndstat_process(di_minor_t minor, di_node_t node); 151 sndstat_process(di_minor_t minor, di_node_t node) in sndstat_process() argument 156 anynode = node; in sndstat_process() 162 (void) devfsadm_mklink("sndstat", node, minor, 0); in sndstat_process() 175 audio_process(di_minor_t minor, di_node_t node) in audio_process() argument 197 anynode = node; in audio_process() 200 if ((tmp = di_devfs_path(node)) == NULL) { in audio_process() 216 driver = di_driver_name(node); in audio_process() 245 (void) devfsadm_mklink(newpath, node, minor, flags); in audio_process()
|
H A D | lofi_link.c | 37 static int lofi(di_minor_t minor, di_node_t node); 79 lofi(di_minor_t minor, di_node_t node) in lofi() argument 88 (void) devfsadm_mklink(LOFI_CTL_NAME, node, minor, 0); in lofi() 90 instance = di_instance(node); in lofi() 102 (void) devfsadm_mklink(path, node, minor, 0); in lofi()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/ |
H A D | mem_prop_update.c | 38 add_memory_props(picl_nodehdl_t node, mde_cookie_t memorylistp, md_t *mdp, 42 add_bank_props(picl_nodehdl_t node, mde_cookie_t banklistp, 47 add_segment_props(picl_nodehdl_t node, mde_cookie_t segmentlistp, 56 add_mem_prop(picl_nodehdl_t node, void *args) in add_mem_prop() argument 289 add_segment_props(picl_nodehdl_t node, mde_cookie_t segmentlistp, in add_segment_props() argument 296 add_md_prop(node, sizeof (int_value), in add_segment_props() 301 add_md_prop(node, sizeof (base), PICL_PROP_BASEADDRESS, in add_segment_props() 304 add_md_prop(node, sizeof (interleave), PICL_PROP_INTERLEAVE_FACTOR, in add_segment_props() 309 add_memory_props(picl_nodehdl_t node, mde_cookie_t memorylistp, md_t *mdp, in add_memory_props() argument 321 add_md_prop(node, sizeof (int_value), PICL_PROP_SIZE, &int_value, in add_memory_props() [all …]
|
H A D | priplugin.c | 47 static int remove_old_segments(picl_nodehdl_t node, void *args); 72 prop_exists(picl_nodehdl_t node, char *name) in prop_exists() argument 77 status = ptree_get_prop_by_name(node, name, &proph); in prop_exists() 85 add_md_prop(picl_nodehdl_t node, int size, char *name, void* value, int type) in add_md_prop() argument 90 if (!prop_exists(node, name)) { in add_md_prop() 93 (void) ptree_create_and_add_prop(node, &propinfo, in add_md_prop() 100 remove_old_segments(picl_nodehdl_t node, void *args) in remove_old_segments() argument 104 if ((status = ptree_delete_node(node)) == PICL_SUCCESS) in remove_old_segments() 105 ptree_destroy_node(node); in remove_old_segments()
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | ecc.c | 205 pnode_t node; in error_init() local 226 node = prom_rootnode(); in error_init() 227 if ((node == OBP_NONODE) || (node == OBP_BADNODE)) { in error_init() 228 cmn_err(CE_CONT, "error_init: node 0x%x\n", (uint_t)node); in error_init() 232 if (((size = prom_getproplen(node, "reset-reason")) != -1) && in error_init() 234 (prom_getprop(node, "reset-reason", tmp_name) != -1)) { in error_init()
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_fem.c | 41 smb_fem_fcn_install(smb_node_t *node) in smb_fem_fcn_install() argument 48 smb_fem_fcn_uninstall(smb_node_t *node) in smb_fem_fcn_uninstall() argument 55 smb_fem_oplock_install(smb_node_t *node) in smb_fem_oplock_install() argument 62 smb_fem_oplock_uninstall(smb_node_t *node) in smb_fem_oplock_uninstall() argument
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | iexpr.h | 37 struct node *iexpr(struct node *np); 38 int iexpr_cached(struct node *np); 39 void iexpr_free(struct node *np);
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_lookup.c | 220 ip_pool_node_t node, *m; local 236 if (op.iplo_size != sizeof(node)) 239 err = COPYIN(op.iplo_struct, &node, sizeof(node)); 252 m = ip_pool_findeq(p, &node.ipn_addr, &node.ipn_mask); 255 err = ip_pool_insert(p, &node.ipn_addr, 256 &node.ipn_mask, node.ipn_info, ifs); 293 ip_pool_node_t node, *m; local 309 if (op.iplo_size != sizeof(node)) 312 err = COPYIN(op.iplo_struct, &node, sizeof(node)); 320 m = ip_pool_findeq(p, &node.ipn_addr, &node.ipn_mask);
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | mac.c | 83 pnode_t node; in mac_init() local 115 node = prom_finddevice(devname); in mac_init() 116 if (node != OBP_NONODE && node != OBP_BADNODE) { in mac_init() 117 if (prom_getproplen(node, mtu_name) == sizeof (ihandle_t)) { in mac_init() 118 (void) prom_getprop(node, mtu_name, in mac_init() 126 if ((len = prom_getproplen(node, netiftype)) > 0 && in mac_init() 128 (void) prom_getprop(node, netiftype, tmpbuf); in mac_init() 129 } else if ((len = prom_getproplen(node, chosen_net)) > 0 && in mac_init() 131 (void) prom_getprop(node, chosen_net, tmpbuf); in mac_init() 132 } else if ((len = prom_getproplen(node, supported_net)) > 0 && in mac_init() [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wgetch.c | 339 t_decode *node; in wgetch() local 398 node = (t_decode *) __m_screen->_decode; in wgetch() 403 while (node->ch != ch) { in wgetch() 404 node = node->sibling; in wgetch() 405 if (node == NULL) in wgetch() 410 if (node->key != 0) { in wgetch() 413 return (__m_echo(w, node->key)); in wgetch() 440 node = node->child; in wgetch()
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasGetPhyStatistics.c | 50 di_node_t node; in Sun_sasGetPhyStatistics() local 142 node = di_init(path, DINFOCPYONE); in Sun_sasGetPhyStatistics() 143 if (node == DI_NODE_NIL) { in Sun_sasGetPhyStatistics() 144 di_fini(node); in Sun_sasGetPhyStatistics() 157 instance = di_instance(node); in Sun_sasGetPhyStatistics() 159 di_fini(node); in Sun_sasGetPhyStatistics() 167 driver_name = di_driver_name(node); in Sun_sasGetPhyStatistics() 169 di_fini(node); in Sun_sasGetPhyStatistics() 178 di_fini(node); in Sun_sasGetPhyStatistics()
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | prom_plat.h | 215 extern int prom_startcpu(pnode_t node, caddr_t pc, int arg); 219 extern int prom_wakeupcpu(pnode_t node); 220 extern int prom_serengeti_wakeupcpu(pnode_t node); 225 extern int prom_serengeti_cpu_off(pnode_t node); 251 extern int prom_serengeti_attach_board(uint_t node, uint_t board); 252 extern int prom_serengeti_detach_board(uint_t node, uint_t board); 253 extern int prom_serengeti_tunnel_switch(uint_t node, uint_t board);
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_cpuctl.c | 51 prom_startcpu(pnode_t node, caddr_t pc, int arg) in prom_startcpu() argument 58 ci[3] = p1275_dnode2cell(node); /* Arg1: nodeid to start */ in prom_startcpu() 89 prom_wakeupcpu(pnode_t node) in prom_wakeupcpu() argument 97 ci[3] = p1275_dnode2cell(node); /* Arg1: nodeid to wakeup */ in prom_wakeupcpu() 110 prom_cpuoff(pnode_t node) in prom_cpuoff() argument 118 ci[3] = p1275_dnode2cell(node); in prom_cpuoff()
|
/illumos-gate/usr/src/common/mdesc/ |
H A D | mdesc_getproparcs.c | 53 md_get_prop_arcs(md_t *ptr, mde_cookie_t node, char *namep, mde_cookie_t *arcp, in md_get_prop_arcs() argument 62 if (node == MDE_INVAL_ELEM_COOKIE) { in md_get_prop_arcs() 71 result = md_find_node_arcs(mdp, node, prop_name, MDET_PROP_ARC, arcp, in md_get_prop_arcs() 83 md_find_node_arcs(md_impl_t *mdp, mde_cookie_t node, in md_find_node_arcs() argument 92 idx = (int)node; in md_find_node_arcs()
|
/illumos-gate/usr/src/uts/common/sys/1394/adapters/ |
H A D | hci1394_tlist.h | 95 void (*hci1394_tlist_callback_t)(hci1394_tlist_node_t *node, void *arg); 168 hci1394_tlist_node_t *node); 170 hci1394_tlist_node_t *node); 172 hci1394_tlist_node_t **node); 174 hci1394_tlist_node_t **node);
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.h | 92 struct drmach_node *node; member 100 DRMACH_HANDLE (*get_dnode)(struct drmach_node *node); 101 dev_info_t *(*getdip)(struct drmach_node *node); 102 int (*getproplen)(struct drmach_node *node, char *name, 104 int (*getprop)(struct drmach_node *node, char *name, 106 int (*walk)(struct drmach_node *node, void *data, 147 drmach_node_t *node; member
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_impl.c | 61 rsrc_node_t *node; in common_resource_op() local 73 error = rsrc_node_find(rsrcname, 0, &node); in common_resource_op() 74 if ((error == RCM_SUCCESS) && (node != NULL)) { in common_resource_op() 87 error = rsrc_tree_action(node, cmd, &arg); in common_resource_op() 394 rsrc_node_t *node = NULL; in add_resource_client() local 422 if ((error != RCM_SUCCESS) || (node == NULL)) { in add_resource_client() 476 rsrc_node_t *node; in remove_resource_client() local 486 error = rsrc_node_find(rsrcname, 0, &node); in remove_resource_client() 487 if ((error != RCM_SUCCESS) || (node == NULL)) { in remove_resource_client() 603 rsrc_node_t *node; in get_resource_state() local [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rcm.c | 165 di_node_t node; in fp_rcm_suspend() local 218 if (node == DI_NODE_NIL) { in fp_rcm_suspend() 239 if (node != DI_NODE_NIL) in fp_rcm_suspend() 240 di_fini(node); in fp_rcm_suspend() 265 di_node_t node; in fp_rcm_resume() local 311 if (node == DI_NODE_NIL) { in fp_rcm_resume() 332 if (node != DI_NODE_NIL) in fp_rcm_resume() 333 di_fini(node); in fp_rcm_resume() 430 fp_rcm_process_node(di_node_t node, void *argp) in fp_rcm_process_node() argument 446 if (di_minor_next(node, DI_MINOR_NIL) == DI_MINOR_NIL) in fp_rcm_process_node() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_parse.c | 542 while (node != NULL) { in push_options() 543 me = node->mapent; in push_options() 553 if (node->mapent && strcmp(node->mapent->map_fstype, in push_options() 560 node = node->leveldir; in push_options() 954 while (node) { in mark_level1_root() 964 node->dirname); in mark_level1_root() 996 node = node->leveldir; in mark_level1_root() 1023 while (node != NULL) { in mark_and_fake_level1_noroot() 1070 node->dirname); in mark_and_fake_level1_noroot() 1101 node->mapent = me; in mark_and_fake_level1_noroot() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_oplock.c | 40 smb_node_t *node; in smb2_oplock_break_ack() local 131 node = ofile->f_node; in smb2_oplock_break_ack() 133 smb_llist_enter(&node->n_ofile_list, RW_READER); in smb2_oplock_break_ack() 134 mutex_enter(&node->n_oplock.ol_mutex); in smb2_oplock_break_ack() 167 mutex_exit(&node->n_oplock.ol_mutex); in smb2_oplock_break_ack() 168 smb_llist_exit(&node->n_ofile_list); in smb2_oplock_break_ack() 302 smb_node_t *node = ofile->f_node; in smb2_oplock_send_break() local 378 smb_llist_enter(&node->n_ofile_list, RW_READER); in smb2_oplock_send_break() 379 mutex_enter(&node->n_oplock.ol_mutex); in smb2_oplock_send_break() 390 mutex_exit(&node->n_oplock.ol_mutex); in smb2_oplock_send_break() [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/i386/ |
H A D | xen_link.c | 40 static int xdt(di_minor_t minor, di_node_t node); 89 devxen(di_minor_t minor, di_node_t node) in devxen() argument 94 (void) devfsadm_mklink(buf, node, minor, 0); in devxen() 100 xdt(di_minor_t minor, di_node_t node) in xdt() argument 106 (void) devfsadm_mklink(path, node, minor, 0); in xdt()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_reservoir.c | 255 vmmr_span_t *node; in vmmr_tp_insert_concat() local 260 ASSERT3P(node, ==, NULL); in vmmr_tp_insert_concat() 263 if (node != NULL && in vmmr_tp_insert_concat() 264 (node->vs_addr + node->vs_size) == to_add->vs_addr) { in vmmr_tp_insert_concat() 266 avl_remove(by_addr, node); in vmmr_tp_insert_concat() 267 avl_remove(by_size, node); in vmmr_tp_insert_concat() 275 to_add = node; in vmmr_tp_insert_concat() 279 if (node != NULL && in vmmr_tp_insert_concat() 282 avl_remove(by_addr, node); in vmmr_tp_insert_concat() 286 avl_add(by_addr, node); in vmmr_tp_insert_concat() [all …]
|
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_xdr.c | 541 void *node; in smb_list_xdr() local 546 node = list_head(list); in smb_list_xdr() 547 while (node) { in smb_list_xdr() 549 node = list_next(list, node); in smb_list_xdr() 554 node = list_head(list); in smb_list_xdr() 555 while (node) { in smb_list_xdr() 556 if (!elproc(xdrs, node)) in smb_list_xdr() 558 node = list_next(list, node); in smb_list_xdr() 568 if (node == NULL) in smb_list_xdr() 570 if (!elproc(xdrs, node)) in smb_list_xdr() [all …]
|