Home
last modified time | relevance | path

Searched refs:node (Results 201 – 225 of 973) sorted by relevance

12345678910>>...39

/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dmem_prop_update.c38 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 …]
/illumos-gate/usr/src/boot/libsa/
H A Duuid_from_string.c112 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 Ddcam1394_link.c38 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 Dlofi_link.c37 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/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_rwx_001_pos.ksh70 typeset node=$4
83 log_must usr_exec chmod "$opt$ace" "$node"
85 log_must usr_exec chmod "$opt" "$node"
90 cur_ace=$(get_ACE $node $num)
91 cur_count=$(count_ACE $node)
96 log_fail "FAIL: chmod $opt$ace $node"
/illumos-gate/usr/src/uts/sun4u/os/
H A Decc.c205 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/uts/common/inet/ipf/
H A Dip_lookup.c220 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 Dmac.c83 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 Dwgetch.c339 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 DSun_sasGetPhyStatistics.c50 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/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_fem.c41 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 Diexpr.h37 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/sun4u/sys/
H A Dprom_plat.h215 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 Dprom_cpuctl.c51 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 Dmdesc_getproparcs.c53 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/cmd/rcm_daemon/common/
H A Drcm_impl.c61 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()
85 error = rsrc_client_action_list(node->users, cmd, &arg); 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
421 error = rsrc_node_find(rsrcname, RSRC_NODE_CREATE, &node); in add_resource_client()
422 if ((error != RCM_SUCCESS) || (node == NULL)) { in add_resource_client()
427 user = rsrc_client_find(modname, pid, &node->users); in add_resource_client()
462 error = rsrc_node_add_user(node, rsrcname, modname, pid, flag); in add_resource_client()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.h92 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/uts/common/sys/1394/adapters/
H A Dhci1394_tlist.h95 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/lib/cfgadm_plugins/fp/common/
H A Dcfga_rcm.c165 di_node_t node; in fp_rcm_suspend() local
217 node = di_init(rsrc_devpath, DINFOSUBTREE | DINFOMINOR); in fp_rcm_suspend()
218 if (node == DI_NODE_NIL) { in fp_rcm_suspend()
233 if (di_walk_node(node, 0, &walkargs, fp_rcm_process_node) < 0) 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
310 node = di_init(rsrc_devpath, DINFOSUBTREE | DINFOMINOR); in fp_rcm_resume()
311 if (node == DI_NODE_NIL) { in fp_rcm_resume()
326 if (di_walk_node(node, 0, &walkargs, fp_rcm_process_node) < 0) in fp_rcm_resume()
[all …]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_parse.c536 push_options(hiernode *node, char *defaultopts, char *mapopts, int err) in push_options() argument
542 while (node != NULL) { in push_options()
543 me = node->mapent; in push_options()
552 if (node->subdir != NULL) { in push_options()
553 if (node->mapent && strcmp(node->mapent->map_fstype, in push_options()
556 if ((rc = push_options(node->subdir, defaultopts, in push_options()
560 node = node->leveldir; in push_options()
951 mark_level1_root(hiernode *node, char *traversed_path) in mark_level1_root() argument
954 while (node) { in mark_level1_root()
959 if (node->mapent == NULL) { in mark_level1_root()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_reservoir.c255 vmmr_span_t *node; in vmmr_tp_insert_concat() local
259 node = avl_find(by_addr, to_add, &where); in vmmr_tp_insert_concat()
260 ASSERT3P(node, ==, NULL); in vmmr_tp_insert_concat()
262 node = avl_nearest(by_addr, where, AVL_BEFORE); 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()
268 node->vs_size += to_add->vs_size; in vmmr_tp_insert_concat()
275 to_add = node; in vmmr_tp_insert_concat()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_oplock.c40 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/common/smbsrv/
H A Dsmb_xdr.c541 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()
567 node = MEM_MALLOC("xdr", elsize); in smb_list_xdr()
568 if (node == NULL) in smb_list_xdr()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/i386/
H A Dxen_link.c40 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/sun4v/promif/
H A Dpromif_io.c313 pnode_t node; in promif_instance_to_path() local
328 node = instance_to_package(ih); in promif_instance_to_path()
332 while (node != prom_rootnode()) { in promif_instance_to_path()
333 if (prom_getprop(node, OBP_NAME, name) == -1) { in promif_instance_to_path()
335 "node=0x%x\n", node); in promif_instance_to_path()
340 if ((rlen = prom_getproplen(node, OBP_REG)) == -1) in promif_instance_to_path()
350 (void) prom_getprop(node, OBP_REG, regval); in promif_instance_to_path()
362 node = prom_parentnode(node); in promif_instance_to_path()

12345678910>>...39