/illumos-gate/usr/src/uts/common/io/ |
H A D | consconfig_dacf.c | 322 pnode_t node; local 325 /* The /aliases node only exists in OBP >= 2.4. */ 326 if ((node = prom_alias_node()) == OBP_BADNODE) 329 if ((len = prom_getproplen(node, (caddr_t)alias)) <= 0) 332 (void) prom_getprop(node, (caddr_t)alias, (caddr_t)buf); 1521 * node in the OBP device tree and cvc is a pseudo driver. 1693 * The keyboard/mouse node failed to open. 1696 * this node if it is detached. 1774 * and mouse. This function is associated with a node type in /etc/dacf.conf.
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | instance.c | 105 * Each device node may contain multiple driver bindings, represented 107 * (except for root node). Each in_drv node can be in one of 3 states, 110 * IN_UNKNOWN: Each node created in this state. The instance number of 111 * this node is not known. ind_instance is set to -1. 112 * IN_PROVISIONAL: When a node is assigned an instance number in 115 * e_ddi_keep_instance() which makes the node IN_PERMANENT 116 * or e_ddi_free_instance(), which deletes the node. 118 * If e_ddi_keep_instance() is called on an IN_PROVISIONAL node, 168 * Create the root node, instanc 1399 struct in_node *node = mp->ind_node; local [all...] |
H A D | devid_cache.c | 531 * ddi_pathname (i.e. the node is part way to becomming 817 * node in the list. 1042 * any node name. The path should not end a '/'. On a cache hit 1077 char *uasep, *node; local 1122 node = cand + pathlen + 1; /* <node>@<ua> string */ 1128 if ((uasep = strchr(node, '@')) == NULL) 1134 nodelen = (uintptr_t)uasep - (uintptr_t)node; 1145 (void) strncpy(nodenamebuf, node, nodelen);
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xenbus_xs.c | 428 const char *dir, const char *node, unsigned int *num) 434 path = join(dir, node); 448 xenbus_exists(const char *dir, const char *node) argument 453 if (xenbus_read(XBT_NULL, dir, node, &p, &n) != 0) 461 xenbus_exists_dir(const char *dir, const char *node) argument 467 d = xenbus_directory(XBT_NULL, dir, node, &dir_n); 483 const char *dir, const char *node, void **retp, unsigned int *len) 488 path = join(dir, node); 495 xenbus_read_str(const char *dir, const char *node, char **retp) argument 505 if ((err = xenbus_read(XBT_NULL, dir, node, (voi 427 xenbus_directory(xenbus_transaction_t t, const char *dir, const char *node, unsigned int *num) argument 482 xenbus_read(xenbus_transaction_t t, const char *dir, const char *node, void **retp, unsigned int *len) argument 527 xenbus_write(xenbus_transaction_t t, const char *dir, const char *node, const char *string) argument 548 xenbus_mkdir(xenbus_transaction_t t, const char *dir, const char *node) argument 561 xenbus_rm(xenbus_transaction_t t, const char *dir, const char *node) argument 627 xenbus_scanf(xenbus_transaction_t t, const char *dir, const char *node, const char *fmt, ...) argument 650 xenbus_printf(xenbus_transaction_t t, const char *dir, const char *node, const char *fmt, ...) argument [all...] |
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | regcomp.c | 138 * allocate a new Rex_t node 142 node(Cenv_t* env, int type, int lo, int hi, size_t extra) function 163 * free a Trie_node_t node 178 * free a Rex_t node 1183 if (!(e = node(env, REX_CLASS, 1, 1, sizeof(Set_t)))) 1330 return node(env, i, 0, 0, 0); 1465 if (!(e = node(env, REX_COLL_CLASS, 1, 1, (elements + 2) * sizeof(Celt_t)))) 1580 return node(env, i, 0, 0, 0); 1744 if (!(e = node(env, REX_CLASS, 1, 1, sizeof(Set_t)))) 1754 if (!(e = node(en [all...] |
/illumos-gate/usr/src/uts/common/io/iwk/ |
H A D | iwk2_var.h | 98 iwk_add_sta_t node; member in struct:iwk_ibss_node
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vlds.c | 110 static int vlds_add_mdeg_port(md_t *mdp, mde_cookie_t node); 1038 * Look for "virtual-device-service" node among the 1071 mde_cookie_t node; local 1084 node = resp->added.mdep[idx]; 1086 DS_DBG_VLDS(CE_NOTE, "%s: processing added node 0x%lx", 1087 __func__, node); 1090 if ((rv = vlds_add_mdeg_port(mdp, node)) != MDEG_SUCCESS) { 1101 node = resp->removed.mdep[idx]; 1103 DS_DBG_VLDS(CE_NOTE, "%s: processing removed node 0x%lx", 1104 __func__, node); 1156 vlds_get_port_channel(md_t *mdp, mde_cookie_t node, uint64_t *ldc_id) argument 1204 vlds_add_mdeg_port(md_t *mdp, mde_cookie_t node) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | mc-us3i.c | 147 static void mc_node_add(mc_dlist_t *node, mc_dlist_t **head, mc_dlist_t **tail); 148 static void mc_node_del(mc_dlist_t *node, mc_dlist_t **head, mc_dlist_t **tail); 350 /* get the soft state pointer for this device node */ 786 * Gets the reg property from the memory node. This provides the various 804 ("mc-us3i: cannot find memory node under root\n")); 1434 * The new node is added at the tail and is not sorted. 1436 * Input: The pointer of node to be added, head and tail of the list 1440 mc_node_add(mc_dlist_t *node, mc_dlist_t **head, mc_dlist_t **tail) argument 1442 DPRINTF(MC_LIST_DEBUG, ("mc_node_add: node->id %d head %p tail %p\n", 1443 node 1467 mc_node_del(mc_dlist_t *node, mc_dlist_t **head, mc_dlist_t **tail) argument 1492 mc_dlist_t *node; local [all...] |
/illumos-gate/usr/src/uts/sun4u/lw8/io/ |
H A D | sgenv.c | 1237 * Init all node-ids to be -1. 1415 "cache_snapshot entry[%d], node=%d", 1435 " cache_snapshot entry[%d], node=%d," 1701 int node; /* loop index */ local 1716 for (node = 0; node < SSM_MAX_INSTANCES; node++) { 1718 if (node_present[node] == SGENV_NO_NODE_EXISTS) 1729 if ((node_present[node] & (1 << board)) == 0) 1733 inform.node [all...] |
H A D | sgfru.c | 510 node_t node; local 531 if ((ret = sgfru_node_pad(datap, 0, NULL, &node)) 541 if (sgfru_copyout_nodes(iargp, &nodeinfo, &node) != 0) { 545 f, node.handle, node.nodename, node.has_children, node.class);
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | mem_addr.c | 52 channel_in_interleave(int node, int channel, int rule, int *way_p, argument 63 if (lockstep[node] || mirror_mode[node]) { 70 mc_channel_mapper = MC_CHANNEL_MAPPER_RD(node); 92 if (node && tad[node][rule].mode == 2) 95 if (lc == TAD_INTERLEAVE(tad[node][rule].pkg_list, way)) { 100 tad[node][rule].pkg_list, i); 119 int node = -1; local 145 node 158 channel_address(int node, int channel, int rule, uint64_t addr) argument 185 address_to_channel(int node, uint64_t addr, int write, int *log_chan, uint64_t *channel_addrp, int *interleave_p) argument 264 int node; local 283 channel_addr_to_dimm(int node, int channel, uint64_t caddr, int *rank_p, uint64_t *rank_addr_p) argument 326 socket_interleave(uint64_t addr, int node, int channel, int rule, int *way_p) argument 402 dimm_to_addr(int node, int channel, int rank, uint64_t rank_addr, uint64_t *rank_base_p, uint64_t *rank_sz_p, uint32_t *socket_interleave_p, uint32_t *channel_interleave_p, uint32_t *rank_interleave_p, uint32_t *socket_way_p, uint32_t *channel_way_p, uint32_t *rank_way_p) argument 639 int node; local 696 int node; local [all...] |
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | qlgcupdate.c | 1055 di_node_t node, sib_node, count_node; local 1111 /* point to first node which matches emulex driver */ 1112 node = di_drv_first_node("emlxs", root); 1114 if (node == DI_NODE_NIL) { 1123 count_node = node; 1133 /* Found an attached node */ 1157 while (node != DI_NODE_NIL) { 1159 state = di_state(node); 1161 node = di_drv_next_node(node); 1307 emulex_fcodeversion(di_node_t node, uchar_t *ver) argument [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_vc.c | 156 #define LIST_ADD(l, node) (node->next = l->next, l = node) 157 #define LIST_EXTRACT(l, node) (node = l, l = l->next) 158 #define LIST_FOR_EACH(l, node) \ 159 for (node = l; node != (struct nb_reg_node *)&l; node = node 1785 struct nb_reg_node *node; local 1821 struct nb_reg_node *node; local 1849 struct nb_reg_node *node; local [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | findevs.c | 64 #define WWN_PROP "node-wwn" 80 static bus_t *add_bus(struct search_args *args, di_node_t node, 82 static int add_cluster_devs(di_node_t node, di_minor_t minor, 85 di_node_t node, di_minor_t minor); 87 static int add_devs(di_node_t node, di_minor_t minor, void *arg); 94 static char *bus_type(di_node_t node, di_minor_t minor, 101 static char *ctype(di_node_t node, di_minor_t minor); 110 static char *get_byte_prop(char *prop_name, di_node_t node); 111 static di_node_t get_parent_bus(di_node_t node, 113 static int get_prom_int(char *prop_name, di_node_t node, 192 add_bus(struct search_args *args, di_node_t node, di_minor_t minor, controller_t *cp) argument 303 add_cluster_devs(di_node_t node, di_minor_t minor, void *arg) argument 355 add_controller(struct search_args *args, di_node_t node, di_minor_t minor) argument 519 add_devs(di_node_t node, di_minor_t minor, void *arg) argument 663 di_node_t node; local 1106 ctype(di_node_t node, di_minor_t minor) argument 1414 get_byte_prop(char *prop_name, di_node_t node) argument 1437 get_parent_bus(di_node_t node, struct search_args *args) argument 1454 get_prom_int(char *prop_name, di_node_t node, di_prom_handle_t ph) argument 1466 get_prom_str(char *prop_name, di_node_t node, di_prom_handle_t ph) argument 1481 get_prop(char *prop_name, di_node_t node) argument 1500 get_str_prop(char *prop_name, di_node_t node) argument 1543 bus_type(di_node_t node, di_minor_t minor, di_prom_handle_t ph) argument 1568 is_cluster_disk(di_node_t node, di_minor_t minor) argument 1637 is_zvol(di_node_t node, di_minor_t minor) argument 1646 is_HBA(di_node_t node, di_minor_t minor) argument 1793 new_path(controller_t *cp, disk_t *dp, di_node_t node, di_path_state_t st, char *wwn) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_quota.c | 75 * Each node of the avl tree is an smb_quota_t structure. 79 * Each node in the list is an smb_quota_tree_t structure. 862 smb_quota_t *node; local 867 while ((node = avl_destroy_nodes(&qtree->qt_avl, &cookie)) != NULL) 868 free(node); 911 void *node; local 919 while ((node = avl_destroy_nodes(&qtree->qt_avl, &cookie)) != NULL) 920 free(node); 979 * Find or create a node in the avl tree (arg->qa_avl) that matches 982 * Populate the node [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_fsops.c | 104 smb_fsop_open(smb_node_t *node, int mode, cred_t *cred) argument 111 return (smb_vop_open(&node->vp, mode, cred)); 115 smb_fsop_close(smb_node_t *node, int mode, cred_t *cred) argument 117 smb_vop_close(node->vp, mode, cred); 678 * The state of the node could be SMB_NODE_STATE_DESTROYING if this 679 * function is called during the deletion of the node (because of 869 * The state of the node could be SMB_NODE_STATE_DESTROYING if this 870 * function is called during the deletion of the node (because of 1247 * READONLY flag was set in the node (or the FS) are 1327 smb_node_t *node, 1324 smb_fsop_set_data_length( smb_request_t *sr, cred_t *cr, smb_node_t *node, offset_t end_of_data) argument 2591 smb_fsop_shrlock(cred_t *cr, smb_node_t *node, uint32_t uniq_fid, uint32_t desired_access, uint32_t share_access) argument 2613 smb_fsop_unshrlock(cred_t *cr, smb_node_t *node, uint32_t uniq_fid) argument 2619 smb_fsop_frlock(smb_node_t *node, smb_lock_t *lock, boolean_t unlock, cred_t *cr) argument [all...] |
H A D | smb_node.c | 53 * This transition occurs in smb_node_lookup(). If the node looked for is 54 * not found in the has table a new node is created. The reference count is 61 * reference count will be given out for that node. 70 * The reason the smb node has 2 states is the following synchronization 73 * There's a mutex embedded in the node used to protect its fields and 74 * there's a lock embedded in the bucket of the hash table the node belongs 76 * entered. To insert the node into the bucket and to remove it from the 81 * reference count drops to zero and triggers the deletion of the node, the 83 * remove the node). This creates a window during which the node tha 140 smb_node_t *node; local 193 smb_node_t *node; local 253 smb_node_t *node; local 424 smb_node_ref(smb_node_t *node) argument 464 smb_node_release(smb_node_t *node) argument 511 smb_node_delete_on_close(smb_node_t *node) argument 652 smb_node_set_delete_on_close(smb_node_t *node, cred_t *cr, uint32_t flags) argument 703 smb_node_reset_delete_on_close(smb_node_t *node) argument 725 smb_node_open_check(smb_node_t *node, uint32_t desired_access, uint32_t share_access) argument 755 smb_node_rename_check(smb_node_t *node) argument 786 smb_node_delete_check(smb_node_t *node) argument 829 smb_node_share_check(smb_node_t *node) argument 850 smb_node_fcn_subscribe(smb_node_t *node, smb_request_t *sr) argument 863 smb_node_fcn_unsubscribe(smb_node_t *node, smb_request_t *sr) argument 876 smb_node_notify_change(smb_node_t *node, uint_t action, const char *name) argument 926 smb_node_start_crit(smb_node_t *node, krw_t mode) argument 938 smb_node_end_crit(smb_node_t *node) argument 945 smb_node_in_crit(smb_node_t *node) argument 951 smb_node_rdlock(smb_node_t *node) argument 957 smb_node_wrlock(smb_node_t *node) argument 963 smb_node_unlock(smb_node_t *node) argument 969 smb_node_add_ofile(smb_node_t *node, smb_ofile_t *of) argument 979 smb_node_rem_ofile(smb_node_t *node, smb_ofile_t *of) argument 992 smb_node_inc_open_ofiles(smb_node_t *node) argument 1003 smb_node_dec_open_ofiles(smb_node_t *node) argument 1013 smb_node_inc_opening_count(smb_node_t *node) argument 1023 smb_node_dec_opening_count(smb_node_t *node) argument 1033 smb_node_getmntpath(smb_node_t *node, char *buf, uint32_t buflen) argument 1067 smb_node_getshrpath(smb_node_t *node, smb_tree_t *tree, char *buf, uint32_t buflen) argument 1096 smb_node_getpath(smb_node_t *node, vnode_t *rootvp, char *buf, uint32_t buflen) argument 1145 smb_node_t *node; local 1191 smb_node_free(smb_node_t *node) argument 1263 smb_node_create_audit_buf(smb_node_t *node, int kmflags) argument 1278 smb_node_destroy_audit_buf(smb_node_t *node) argument 1293 smb_node_audit(smb_node_t *node) argument 1326 smb_node_is_file(smb_node_t *node) argument 1333 smb_node_is_dir(smb_node_t *node) argument 1341 smb_node_is_symlink(smb_node_t *node) argument 1349 smb_node_is_dfslink(smb_node_t *node) argument 1357 smb_node_is_reparse(smb_node_t *node) argument 1365 smb_node_is_vfsroot(smb_node_t *node) argument 1372 smb_node_is_system(smb_node_t *node) argument 1387 smb_node_file_is_readonly(smb_node_t *node) argument 1456 smb_node_setattr(smb_request_t *sr, smb_node_t *node, cred_t *cr, smb_ofile_t *of, smb_attr_t *attr) argument 1627 smb_node_getattr(smb_request_t *sr, smb_node_t *node, cred_t *cr, smb_ofile_t *of, smb_attr_t *attr) argument 1746 smb_node_init_reparse(smb_node_t *node, smb_attr_t *attr) argument 1790 smb_node_init_system(smb_node_t *node) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_parse.c | 422 * levels, and subdirs below each level. Provides a link from node to 465 * this node 512 /* provide a pointer from node to mapent */ 526 * push_options(hiernode *node, char *opts, char *mapopts, int err) 529 * If a node points to a mapentry, and it has an option, then thats the option 530 * for that mapentry. Else, the node's mapent inherits the option from the 536 push_options(hiernode *node, char *defaultopts, char *mapopts, int err) argument 542 while (node != NULL) { 543 me = node->mapent; 552 if (node 943 mark_level1_root(hiernode *node, char *traversed_path) argument 1005 mark_and_fake_level1_noroot(hiernode *node, char *traversed_path, char *key, char *mapname, struct mapent **faked_mapents, uint_t isdirect, char *mapopts) argument 1633 free_hiernode(hiernode *node) argument 1738 trace_hierarchy(hiernode *node, int nodelevel) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv.c | 1585 smb_node_t node; local 1622 mdb_printf("%<b>%<u>SMB node information:%</u>%</b>\n"); 1641 if (mdb_vread(&node, sizeof (node), addr) == sizeof (node)) { 1643 node.od_name); 1646 (uintptr_t)node.vp) == sizeof (vnode_t)) { 1655 mdb_printf("VP: %p\n", node.vp); 1658 mdb_printf("V-node Path: %s\n", path_name); 1659 mdb_printf("Ofiles: %u\n", node [all...] |
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | aggr_rcm.c | 71 CACHE_NODE_OFFLINED = 0x04, /* node offlined */ 215 link_cache_t *node; local 222 * rcm_register_interest() for each node before we free it, the 226 node = cache_head.vc_next; 227 while (node != &cache_tail) { 228 cache_remove(node); 229 node_free(node); 230 node = cache_head.vc_next; 325 link_cache_t *node; local 331 node 377 link_cache_t *node; local 436 link_cache_t *node; local 487 aggr_offline_port(link_cache_t *node, cache_node_state_t state) argument 530 aggr_online_port(link_cache_t *node, boolean_t *up) argument 581 link_cache_t *node; local 649 link_cache_t *node; local 764 aggr_usage(link_cache_t *node) argument 839 link_cache_t *node; local 866 node_free(link_cache_t *node) argument 876 cache_insert(link_cache_t *node) argument 893 cache_remove(link_cache_t *node) argument 905 link_cache_t *node; local 1069 link_cache_t *node, *next; local 1193 aggr_consumer_offline(rcm_handle_t *hd, link_cache_t *node, char **errorp, uint_t flags, rcm_info_t **depend_info) argument 1226 aggr_consumer_online(rcm_handle_t *hd, link_cache_t *node, char **errorp, uint_t flags, rcm_info_t **depend_info) argument 1263 link_cache_t *node; local 1334 link_cache_t *node; local 1438 link_cache_t *node; local [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdllink.c | 256 * Local callback invoked for each DDI_NT_NET node. 260 i_dladm_mac_walk(di_node_t node, di_minor_t minor, void *arg) argument 268 di_driver_name(node), di_instance(node)); 273 if (strcmp("aggr", di_driver_name(node)) == 0) 279 if (strcmp("softmac", di_driver_name(node)) == 0) 304 * Invoke the specified callback for each DDI_NT_NET node. 967 * is created, we cannot guess its /dev node name.
|
/illumos-gate/usr/src/uts/common/io/vscan/ |
H A D | vscan_svc.c | 200 * vscand. vscand uses the idx to determine which minor node 237 * node table - vscan_svc_nodes 632 vscan_svc_node_t *node; local 638 node = &vscan_svc_nodes[idx]; 644 node->vsn_access = VS_ACCESS_ALLOW; 651 node->vsn_access = VS_ACCESS_DENY; 658 /* free up mutex around create node and door call */ 690 vscan_svc_node_t *node; local 694 node = &vscan_svc_nodes[idx]; 695 req = node 764 vscan_svc_node_t *node; local 850 vscan_svc_node_t *node; local 922 vscan_svc_node_t *node; local 982 vscan_svc_node_t *node; local 1237 vscan_svc_node_t *node; local [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_auth.c | 124 * pop a node off of the queue, at which point it 723 * node. 1274 * a pseudo node except that this node is a shared one. 1357 struct auth_cache *node; local 1359 while ((node = avl_destroy_nodes(&p->authc_tree, &cookie)) != NULL) 1360 nfsauth_free_node(node); 1395 struct auth_cache_clnt *node; local 1397 while ((node = avl_destroy_nodes(tree, &cookie)) != NULL) 1398 nfsauth_free_clnt_node(node); [all...] |
/illumos-gate/usr/src/lib/libbrand/common/ |
H A D | libbrand.c | 230 xmlNodePtr node; local 271 if ((node = xmlDocGetRootElement(bhp->bh_config)) == NULL) { 276 if (xmlStrcmp(node->name, DTD_ELEM_BRAND) != 0) { 281 if ((property = xmlGetProp(node, DTD_ATTR_NAME)) == NULL) { 392 xmlNodePtr node; local 399 if ((node = xmlDocGetRootElement(bhp->bh_config)) == NULL) 402 if (xmlStrcmp(node->name, DTD_ELEM_BRAND) != 0) 405 for (node = node->xmlChildrenNode; node ! 733 xmlNodePtr node; local 768 xmlNodePtr node; local 817 xmlNodePtr node; local 923 xmlNodePtr node; local 971 xmlNodePtr node; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_persist.c | 779 * helper function for ipmgmt_aobjmap_op(). Adds the node pointed by `nodep' 793 /* Add the node at the beginning of the list */ 901 * update, else add the new node. 916 /* update the node */ 963 * only from active configuration then mark this node 981 /* otherwise delete the node */ 1034 * Given a node in `aobjmap', this function converts it into nvlist_t structure. 1114 ipmgmt_aobjmap_t node; local 1118 node.am_next = NULL; 1126 (void) strlcpy(node [all...] |