/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_vercheck.c | 39 * The model value is expected to match the model in the flashprom node. 202 visit(pnode_t node) argument 214 if (prom_getproplen(node, OBP_NAME) != sizeof (flashprom)) 216 (void) prom_getprop(node, OBP_NAME, model); 220 plen = prom_getproplen(node, version); 223 (void) prom_getprop(node, version, vers); 230 plen = prom_getproplen(node, model_name); 233 (void) prom_getprop(node, model_name, model); 238 prom_printf("prom_version_check: node contains " 250 * We know that "node"' 301 walk(pnode_t node) argument 330 pnode_t node = flashprom_node; local [all...] |
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | mac.c | 83 pnode_t node; local 115 node = prom_finddevice(devname); 116 if (node != OBP_NONODE && node != OBP_BADNODE) { 117 if (prom_getproplen(node, mtu_name) == sizeof (ihandle_t)) { 118 (void) prom_getprop(node, mtu_name, 126 if ((len = prom_getproplen(node, netiftype)) > 0 && 128 (void) prom_getprop(node, netiftype, tmpbuf); 129 } else if ((len = prom_getproplen(node, chosen_net)) > 0 && 131 (void) prom_getprop(node, chosen_ne [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_misc.c | 49 eibnx_nodeq_t *node; local 62 * be pending node creation requests for this port (thr_info) 67 for (node = ss->nx_nodeq; node; node = node->nc_next) { 68 if (node->nc_info != info) { 69 prev = node; 72 ss->nx_nodeq = node->nc_next; 74 prev->nc_next = node [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdma.c | 145 struct avl_node *node; local 149 while ((node = avl_first(&rs->rs_rdma_keys))) { 150 mr = container_of(node, struct rdsv3_mr, r_rb_node);
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhcitgt.c | 70 uint_t node = 0; local 167 error = uhci_allocate_bandwidth(uhcip, ph, &node); 210 pp->pp_node = node; /* Store the node in the interrupt lattice */
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_dr.c | 58 pnode_t node, 66 (void) (*f)(node, arg, 0); 68 if (node != OBP_NONODE) { 69 sbdp_walk_prom_tree_worker(prom_childnode(node), f, arg); 70 sbdp_walk_prom_tree_worker(prom_nextnode(node), f, arg); 75 pnode_t node; member in struct:sbdp_walk_prom_tree_args 86 sbdp_walk_prom_tree_worker(argbp->node, argbp->f, argbp->arg); 91 sbdp_walk_prom_tree(pnode_t node, int(*f)(pnode_t, void *, uint_t), void *arg) argument 95 arg_block.node = node; 57 sbdp_walk_prom_tree_worker( pnode_t node, int(*f)(pnode_t, void *, uint_t), void *arg) argument 102 sbdp_attach_branch(dev_info_t *pdip, pnode_t node, void *arg) argument 162 int node; local 188 sbdp_select_top_nodes(pnode_t node, void *arg, uint_t flags) argument 285 sbdp_attach_bd(int node, int board) argument 326 sbdp_detach_bd(int node, int board, sbd_error_t *sep) argument [all...] |
H A D | sbdp_mbox.c | 120 int node = hp->h_wnode; local 141 bdp = sbdp_get_bd_info(node, board); 144 informp->node = node; 250 int node = hp->h_wnode; local 272 informp->node = node; 301 int node = hp->h_wnode; local 323 informp->node = node; 399 int board, node; local 498 int board, node; local 733 int node = hp->h_wnode; local [all...] |
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | cpr_impl.h | 91 pnode_t node; member in struct:sun4u_cpu_info
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_io.c | 315 pnode_t node; local 330 node = instance_to_package(ih); 334 while (node != prom_rootnode()) { 335 if (prom_getprop(node, OBP_NAME, name) == -1) { 337 "node=0x%x\n", node); 342 if ((rlen = prom_getproplen(node, OBP_REG)) == -1) 352 (void) prom_getprop(node, OBP_REG, regval); 364 node = prom_parentnode(node); [all...] |
H A D | promif_prop.c | 240 pnode_t node; local 247 node = p1275_cell2dnode(ci[3]); 248 ASSERT(node == prom_optionsnode()); 253 if (promif_stree_getproplen(node, name) != -1) 257 len = promif_stree_setprop(node, name, (void *)value, len); 271 pnode_t node; local 278 node = p1275_cell2dnode(ci[3]); 282 len = promif_stree_getprop(node, name, value); 293 pnode_t node; local 299 node 313 pnode_t node; local [all...] |
H A D | promif_stree.c | 34 * A property attached to a node in the kernel's 45 * A node in the kernel's shadow copy of the PROM 59 static prom_node_t *find_node_work(prom_node_t *np, pnode_t node); 66 static prom_node_t *create_node(prom_node_t *parent, pnode_t node); 67 static void create_peers(prom_node_t *pnp, pnode_t node); 129 * Note: next(0) returns the root node 161 prom_printf("find_node: no node?\n"); 198 find_node_work(prom_node_t *np, pnode_t node) argument 204 if (snp->pn_nodeid == node) 208 if ((nnp = find_node_work(snp->pn_child, node)) ! 319 pnode_t node; local 353 create_peers(prom_node_t *np, pnode_t node) argument 376 create_node(prom_node_t *parent, pnode_t node) argument [all...] |
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | mpo.h | 74 mde_cookie_t node; member in struct:lgrp_md
|
/illumos-gate/usr/src/uts/sun4u/chicago/os/ |
H A D | chicago.c | 72 * well known South bridge RTC node on chicago and tod_module_name 83 * Definitions for accessing the pci config space of the isa node 225 * All CPU nodes reside in the root node and have a 370 * If there is no EBUS RTC node or the RTC node does not have the valid 376 pnode_t node; local 380 /* Find ebus RTC node */ 381 if ((node = prom_findnode_byname(prom_rootnode(), 383 cmn_err(CE_PANIC, "ebus node not present\n"); 384 if ((node [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | pic16f747.c | 88 * Fans' and sensors' node names and register offsets 273 /* Create main environmental node */ 287 /* Free soft state, if allocated. remove minor node if added earlier */ 309 /* Free the soft state and remove minor node added earlier */ 346 int node; local 363 node = PIC_MINOR_TO_UNIT(getminor(dev)); 364 if ((node >= N_PIC_NODES) || (node < 1)) { 375 RF_IND_ADDR, pic_nodes[node].reg_offset); 399 RF_IND_ADDR, pic_nodes[node] [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_mem.c | 1112 NODELIST *node; local 1141 node = (NODELIST *)bp; 1142 node->flag |= NODE_POOL_ALLOCATED; 1158 NODELIST *node; local 1197 node = (NODELIST *)bp; 1199 if (!(node->flag & NODE_POOL_ALLOCATED)) {
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_vss.c | 133 * By using the cur_node passed in, a new node is found or 137 * Once the new smb node is found, the path is modified by 204 /* find snapshot node corresponding to root_node */ 208 /* find snapshot node corresponding to cur_node */ 224 * Find snapshot node corresponding to 'node', and return it in 226 * - find the path from fsrootvp to node, appending it to the 231 smb_vss_lookup_node(smb_request_t *sr, smb_node_t *node, vnode_t *fsrootvp, argument 245 err = smb_node_getpath(node, fsrootvp, p, MAXPATHLEN - len);
|
H A D | smb_common_open.c | 223 * parameters to the node. We test the omode write-through flag in all 246 * is closed (smb_ofile_close). It is accounted for via ofile and node flags. 295 smb_node_t *node = NULL; local 480 node = op->fqi.fq_fnode; 483 if (!smb_node_is_file(node) && !smb_node_is_dir(node) && 484 !smb_node_is_symlink(node)) { 485 smb_node_release(node); 497 if (smb_node_is_dir(node)) { 499 smb_node_release(node); 935 smb_open_oplock_break(smb_request_t *sr, smb_node_t *node) argument 1003 smb_node_t *node = of->f_node; local [all...] |
H A D | smb_fsinfo.c | 386 smb_node_t *node; local 394 node = sr->tid_tree->t_snode; 395 if ((rc = smb_fsop_statfs(sr->user_cr, node, &df)) != 0)
|
H A D | smb_lock.c | 59 smb_lock_get_lock_count(smb_node_t *node, smb_ofile_t *of) argument 65 SMB_NODE_VALID(node); 68 llist = &node->n_lock_list; 93 smb_node_t *node, 101 smb_llist_enter(&node->n_lock_list, RW_WRITER); 102 status = smb_lock_range_ulckrules(sr, node, start, length, &lock); 109 smb_llist_exit(&node->n_lock_list); 113 smb_llist_remove(&node->n_lock_list, lock); 114 smb_lock_posix_unlock(node, lock, sr->user_cr); 115 smb_llist_exit(&node 91 smb_unlock_range( smb_request_t *sr, smb_node_t *node, uint64_t start, uint64_t length) argument 147 smb_node_t *node = file->f_node; local 270 smb_lock_range_access( smb_request_t *sr, smb_node_t *node, uint64_t start, uint64_t length, boolean_t will_write) argument 308 smb_node_destroy_lock_by_ofile(smb_node_t *node, smb_ofile_t *file) argument 384 smb_nbl_conflict(smb_node_t *node, uint64_t off, uint64_t len, nbl_op_t op) argument 424 smb_lock_posix_unlock(smb_node_t *node, smb_lock_t *lock, cred_t *cr) argument 526 smb_lock_range_lckrules( smb_request_t *sr, smb_ofile_t *file, smb_node_t *node, smb_lock_t *dlock, smb_lock_t **clockp) argument 695 smb_lock_range_ulckrules( smb_request_t *sr, smb_node_t *node, uint64_t start, uint64_t length, smb_lock_t **nodelock) argument [all...] |
H A D | smb_query_fileinfo.c | 216 * Use the id to identify the node / pipe object and request the 224 smb_node_t *node; local 251 node = sr->fid_ofile->f_node; 252 rc = smb_query_fileinfo(sr, node, infolev, qinfo); 276 * Use the file name to identify the node object and request the 277 * smb_queryinfo_t data for that node. 290 smb_node_t *node, *dnode; local 328 sr->tid_tree->t_snode, dnode, qinfo->qi_name, &node); 343 if ((sr->smb_flg2 & SMB_FLAGS2_DFS) && smb_node_is_dfslink(node)) { 346 smb_node_release(node); 785 smb_query_fileinfo(smb_request_t *sr, smb_node_t *node, uint16_t infolev, smb_queryinfo_t *qinfo) argument 873 smb_query_pathname(smb_request_t *sr, smb_node_t *node, boolean_t include_share, smb_queryinfo_t *qinfo) argument 917 smb_query_shortname(smb_node_t *node, smb_queryinfo_t *qinfo) argument [all...] |
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | misc_link.c | 37 static int display(di_minor_t minor, di_node_t node); 38 static int parallel(di_minor_t minor, di_node_t node); 39 static int node_slash_minor(di_minor_t minor, di_node_t node); 40 static int driver_minor(di_minor_t minor, di_node_t node); 41 static int node_name(di_minor_t minor, di_node_t node); 42 static int minor_name(di_minor_t minor, di_node_t node); 43 static int wifi_minor_name(di_minor_t minor, di_node_t node); 44 static int conskbd(di_minor_t minor, di_node_t node); 45 static int consms(di_minor_t minor, di_node_t node); 46 static int power_button(di_minor_t minor, di_node_t node); 260 display(di_minor_t minor, di_node_t node) argument 288 parallel(di_minor_t minor, di_node_t node) argument 318 ses_callback(di_minor_t minor, di_node_t node) argument 353 node_slash_minor(di_minor_t minor, di_node_t node) argument 366 driver_minor(di_minor_t minor, di_node_t node) argument 381 node_name(di_minor_t minor, di_node_t node) argument 383 (void) devfsadm_mklink(di_node_name(node), node, minor, 0); local 392 minor_name(di_minor_t minor, di_node_t node) argument 413 wifi_minor_name(di_minor_t minor, di_node_t node) argument 425 conskbd(di_minor_t minor, di_node_t node) argument 432 consms(di_minor_t minor, di_node_t node) argument 439 power_button(di_minor_t minor, di_node_t node) argument 446 fc_port(di_minor_t minor, di_node_t node) argument 480 printer_create(di_minor_t minor, di_node_t node) argument 517 se_hdlc_create(di_minor_t minor, di_node_t node) argument 555 gpio(di_minor_t minor, di_node_t node) argument 592 ppm(di_minor_t minor, di_node_t node) argument 603 av_create(di_minor_t minor, di_node_t node) argument 634 tsalarm_create(di_minor_t minor, di_node_t node) argument 651 ntwdt_create(di_minor_t minor, di_node_t node) argument 658 zcons_create(di_minor_t minor, di_node_t node) argument 682 cpuid(di_minor_t minor, di_node_t node) argument 693 glvc(di_minor_t minor, di_node_t node) argument 712 kmdrv_create(di_minor_t minor, di_node_t node) argument [all...] |
/illumos-gate/usr/src/cmd/prtdiag/i386/ |
H A D | smbios.c | 173 do_slot_mapping_cb(topo_hdl_t *thp, tnode_t *node, void *arg) argument 183 if (topo_node_resource(node, &rsrc, &err) < 0) 195 if (topo_prop_get_string(node, TOPO_PGROUP_IO, TOPO_IO_DRIVER, &driver, 199 if (topo_prop_get_string(node, TOPO_PGROUP_PCI, TOPO_PCI_VENDID, 203 if (topo_prop_get_string(node, TOPO_PGROUP_PCI, TOPO_PCI_DEVID,
|
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_xdr.c | 540 void *node; local 545 node = list_head(list); 546 while (node) { 548 node = list_next(list, node); 553 node = list_head(list); 554 while (node) { 555 if (!elproc(xdrs, node)) 557 node = list_next(list, node); [all...] |
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_iter.c | 79 zpool_node_t *node = safe_malloc(sizeof (zpool_node_t)); local 82 node->zn_handle = zhp; 83 uu_avl_node_init(node, &node->zn_avlnode, zlp->zl_pool); 84 if (uu_avl_find(zlp->zl_avl, node, NULL, &idx) == NULL) { 88 free(node); 91 uu_avl_insert(zlp->zl_avl, node, idx); 94 free(node); 167 zpool_node_t *node, *next_node; local 170 for (node 187 zpool_node_t search, *node; local 204 zpool_node_t *node; local [all...] |
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_door.c | 562 i_buffer_t *node; local 564 if ((node = (i_buffer_t *)malloc(sizeof (i_buffer_t))) == NULL) { 571 node->seqnum = seqnum; 572 node->buffer = buf; 576 node->next = buffer_list; 577 buffer_list = node; 590 i_buffer_t *node, *prev; local 595 node = buffer_list; 597 while (node) { 598 if (node [all...] |