/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.h | 67 uint32_t nodetype; /* minor node type */ 68 uint32_t sib; /* next minor for same node */ 69 uint32_t link; /* next minor for same node */ 73 uint32_t path; /* node path */ 74 uint32_t sib; /* node's sibling */ 75 uint32_t child; /* first child for this node */ 76 uint32_t minor; /* first minor for node */ 91 uint32_t root_idx; /* index for root node */ 111 struct cache_node *node; /* node fo member in struct:cache_minor 162 void *node; member in struct:tnode [all...] |
H A D | devinfo_devperm.c | 78 * Revoke all access to a device node and make sure that there are 81 * When fdetach is called, the underlying device node is revealed; it 294 * if the link contents is not a minor node assume 331 * the driver of the minor node 345 di_node_t node; local 352 node = di_init(pwd_buf, DINFOMINOR); 355 if (node) { 356 drv = di_driver_name(node); 357 di_fini(node);
|
/illumos-gate/usr/src/lib/libfru/libfrupicl/ |
H A D | frupicl.c | 48 /* Cache of the root node for quick checks */ 81 * property of the node. 133 fpt_get_name_from_hdl(fru_treehdl_t node, char **name) argument 138 picl_nodehdl_t handle = TREEHDL_TO_PICLHDL(node); 181 /* compare the node name to the name passed */ 183 cmp_node_name(picl_nodehdl_t node, const char *name) argument 187 if (get_strprop_by_name(node, PICL_PROP_NAME, &node_name) 202 /* compare the node class name to the name passed */ 204 cmp_class_name(picl_nodehdl_t node, const char *name) argument 208 if (get_strprop_by_name(node, PICL_PROP_CLASSNAM 226 fpt_get_root(fru_treehdl_t *node) argument 312 fpt_get_node_type(fru_treehdl_t node, fru_node_t *type) argument [all...] |
/illumos-gate/usr/src/lib/libfru/libfrupicltree/ |
H A D | frupicltree.c | 53 /* Cache of the root node for quick checks */ 85 * property of the node. 145 fpt_get_name_from_hdl(fru_treehdl_t node, char **name) argument 150 picl_nodehdl_t handle = TREEHDL_TO_PICLHDL(node); 192 /* compare the node name to the name passed */ 194 cmp_node_name(picl_nodehdl_t node, const char *name) argument 198 if (get_strprop_by_name(node, PICL_PROP_NAME, &node_name) 213 /* compare the node class name to the name passed */ 215 cmp_class_name(picl_nodehdl_t node, const char *name) argument 219 if (get_strprop_by_name(node, PICL_PROP_CLASSNAM 237 fpt_get_root(fru_treehdl_t *node) argument 323 fpt_get_node_type(fru_treehdl_t node, fru_node_t *type) argument [all...] |
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | raw_access.c | 1090 open_raw_data(raw_list_t *node) argument 1112 retval = get_container_info(cont_conf_file, node->cont_type, 1117 node->cont_type, &cont_info); 1120 retval = get_container_info(cont_conf_file, node->cont_type,
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | history.c | 90 GlhHashBucket *bucket; /* The parent hash-table bucket of this node */ 179 GlhLineNode *id_node;/* The node at which the last ID search terminated */ 193 unsigned long seq; /* The next ID to assign to a line node */ 208 static void _glh_discard_line(GlHistory *glh, GlhLineNode *node); 408 GlhHashNode *hnode; /* The hash-table node of the line */ 409 GlhLineNode *lnode; /* A node in the time-ordered list of lines */ 469 * then return a reference-counted hash-node pointer to this copy. 478 * Allocate a new node in the time-ordered list of lines. 482 * If a new line-node couldn't be allocated, discard our copy of the 493 * list node 532 GlhLineNode *node; /* The line location node being checked */ local 620 GlhLineNode *node; /* The line location node being checked */ local 794 GlhLineNode *node; /* The line location node being checked */ local 919 GlhLineNode *node; /* The line location node being checked */ local 958 GlhLineNode *node; /* The line location node being checked */ local 1461 GlhLineNode *node; /* The line being displayed */ local 1770 GlhLineNode *node; local 1852 GlhLineNode *node; /* The line node being checked */ local 1896 _glh_discard_line(GlHistory *glh, GlhLineNode *node) argument 1958 GlhLineNode *node; /* The located line location node */ local 2024 GlhLineNode *node; /* The node being checked */ local 2358 GlhHashNode *node; /* A node in the list of lines in the bucket */ local [all...] |
/illumos-gate/usr/src/lib/auditd_plugins/binfile/ |
H A D | binfile.c | 192 dirlist_t *node; local 205 node = NULL; 212 node = malloc(sizeof (dirlist_t)); 213 if (node == NULL) 216 node->dl_flags = 0; 217 node->dl_filename = NULL; 218 node->dl_fd = -1; 219 node->dl_space = PLENTY_SPACE; 221 node->dl_dirname = malloc((unsigned)strlen(dirname) + 1); 222 if (node [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_utils.c | 152 {ERRARG_BUS_DEV_CREATE, 1, 1, "failed to create device node: "}, 154 "failed to create device node... Device may be unconfigurable: "}, 540 * do di_init with DINFOFORCE flag and get to the input fp node 543 * In order to get the link between path_info node and scsi_vhci node 547 * scsi_vhci node support. 919 known_state(di_node_t node) argument 923 state = di_state(node);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/snmp/ |
H A D | snmpplugin.c | 258 static void threshold(picl_nodehdl_t node, char *oidstr, int row, 260 static void add_thresholds(picl_nodehdl_t node, int row, int *snmp_syserr_p); 266 static int add_string_prop(picl_nodehdl_t node, char *propname, char *propval); 267 static int add_void_prop(picl_nodehdl_t node, char *propname); 495 LOGPRINTF("tree_builder: getting root node\n"); 502 LOGPRINTF("tree_builder: getting existing physplat node\n"); 576 * Create the physical-platform node 706 * If we've already created this picl node, just return it 714 * subtree's root node 729 * Figure out the physical-platform node nam 1388 threshold(picl_nodehdl_t node, char *oidstr, int row, char *propname, int *snmp_syserr_p) argument 1406 add_thresholds(picl_nodehdl_t node, int row, int *snmp_syserr_p) argument 1524 add_volatile_prop(picl_nodehdl_t node, char *name, int type, int access, int size, int (*rdfunc)(ptree_rarg_t *, void *), int (*wrfunc)(ptree_warg_t *, const void *), picl_prophdl_t *propp) argument 1555 add_string_prop(picl_nodehdl_t node, char *propname, char *propval) argument 1584 add_void_prop(picl_nodehdl_t node, char *propname) argument [all...] |
/illumos-gate/usr/src/cmd/power/ |
H A D | sysstat.c | 650 activity_data_t *node = NULLACTIVITY; local 657 safe_zalloc((void **)&node, sizeof (activity_data_t), 0); 658 node->activity_delta = delta; 660 node->snaptime = time; 661 node->next = *act_start; 663 *act_end = node; 665 (*act_start)->prev = node; 667 *act_start = node; 673 node = *act_end; 674 while ((int)((hr_now - node 688 activity_data_t *node; local [all...] |
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_subr.c | 974 /* Allocate node based on a logical or physical name */ 978 rsrc_node_t *node; local 982 node = s_calloc(1, sizeof (*node)); 983 node->name = s_strdup(name); 984 node->type = type; 986 return (node); 990 * Free node along with its siblings and children 993 rn_free(rsrc_node_t *node) argument 995 if (node 1016 rn_get_sibling(rsrc_node_t *node) argument 1025 rn_get_child(rsrc_node_t *node) argument 1131 rsrc_node_t *node; local 1189 rsrc_node_add_user(rsrc_node_t *node, char *alias, char *modname, pid_t pid, uint_t flag) argument 1245 rsrc_node_remove_user(rsrc_node_t *node, char *modname, pid_t pid, uint_t flag) argument 1296 rsrc_node_t *node[MAX_TREE_DEPTH]; member in struct:rn_stack 1310 rsrc_node_t *node = TOP_NODE(sp); local 1393 node_action(rsrc_node_t *node, void *arg) argument 1461 rsrc_node_t *node; local 1692 clean_node(rsrc_node_t *node, void *arg) argument 1763 print_node(rsrc_node_t *node, void *arg) argument [all...] |
H A D | ttymux_rcm.c | 153 * Get a cache node for a resource. Call with cache lock held. 170 * Get a cache node for a minor node. Call with cache lock held. 188 * Free a node. Make sure it isn't in the list! 191 free_node(rsrc_t *node) argument 193 if (node) { 194 if (node->id) { 195 free(node->id); 197 free(node); 207 cache_insert(rsrc_t *node) argument 268 cache_remove(rsrc_t *node) argument 700 locate_dev(di_node_t node, di_minor_t minor, void *arg) argument 1093 di_node_t root, node; local [all...] |
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/ |
H A D | mdmn_commd_server.c | 42 * It runs on every node and provides the following rpc services: 56 * On every node only one of those xxx_2 functions can be active at the 64 * One node (the initiator) 95 * slave node is done with this message. 115 * - sends them back to the initiating node thru a call to 131 * Number of outstanding messages that were initiated by this node. 141 /* RPC clients for every set and every node and their protecting locks */ 159 /* Stuff to describe the global status of the commd on one node */ 196 md_mnnode_desc *node = (md_mnnode_desc *)data; local 198 return (clnt_create_timed(node 473 mdmn_is_node_dead(md_mnnode_desc *node) argument 602 md_mnnode_desc *node; local 755 md_mnnode_desc *node; local 1253 do_send_message(md_mn_msg_t *msg, md_mnnode_desc *node) argument 1479 md_mnnode_desc *node; local 3127 md_mnnode_desc *node; local [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | tree.h | 27 * the parse tree is made up of struct node's. the struct is 29 * related to the node, and then type-specific node data. 41 struct node { struct 93 * regardless of the type of node, filename and line number 100 * the variant part of a struct node... 144 struct node *child; 145 struct node *next; 146 struct node *last; 201 struct node *arglis [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/ses-log-transport/ |
H A D | ses_log_transport.c | 92 /* Contains expander log data retrieved from a topology node */ 399 * expander: An expander_t struct containing path, pid etc info from the node. 946 slt_process_ses_log(topo_hdl_t *thp, tnode_t *node, void *arg) argument 959 if (strcmp(SASEXPANDER, topo_node_name(node)) != 0) { 960 /* Not the type of node we are looking for */ 964 if (topo_prop_get_string(node, "authority", "product-id", 971 /* If the current system type is unsupported stop processing the node */ 986 if (topo_prop_get_string(node, "protocol", "label", &label, &err) 995 if (topo_prop_get_string(node, TOPO_PGROUP_SES, 1006 if (topo_prop_get_string(node, TOPO_PGROUP_STORAG [all...] |
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | map_core.c | 807 cexp_id_node_t node; local 809 node.ceid_name = name; 810 return (avl_find(lms.lms_cexp_id, &node, 0) != NULL); 831 cexp_id_node_t *node; local 842 if ((node = libld_calloc(sizeof (*node), 1)) == NULL) 844 node->ceid_name = name; 845 avl_add(lms.lms_cexp_id, node); 864 cexp_id_node_t node; local 870 node [all...] |
/illumos-gate/usr/src/cmd/auditd/ |
H A D | doorway.c | 579 audit_q_t *node; local 592 node = malloc(sizeof (audit_q_t)); 593 if (node == NULL) 597 audit_enqueue(&p->plg_pool, node); 609 audit_rec_t *node; local 616 node = malloc(AUDIT_REC_HEADER + DEFAULT_BUF_SZ); 617 if (node == NULL) 621 node->abq_buf_len = DEFAULT_BUF_SZ; 623 node->abq_data_len = 0; 624 audit_enqueue(&b_pool, node); 665 audit_q_t *node; local 692 audit_rec_t *node; local 757 qpool_return(plugin_t *p, audit_q_t *node) argument 784 bpool_return(audit_rec_t *node) argument [all...] |
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | scmadm.c | 1596 * node/mirror/remote-mirror/cluster line is in the sd.cf file 1605 gettext("This node(%d) is not defined in config.\n"), myid); 1624 gettext("Only one node configured, " 1625 "mirror node must be %d\n"), _SD_NO_HOST); 1798 /* node hints */ 1982 check_and_set_mirrors(int node, int mirror) argument 1995 } else if ((!(node % 2) && !(node == mirror - 1)) || 1996 (((node % 2) && !(node [all...] |
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_storage.c | 58 HalDevice *devinfo_ide_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type); 59 static HalDevice *devinfo_ide_host_add(HalDevice *parent, di_node_t node, char *devfs_path); 60 static HalDevice *devinfo_ide_device_add(HalDevice *parent, di_node_t node, char *devfs_path); 61 static HalDevice *devinfo_ide_storage_add(HalDevice *parent, di_node_t node, char *devfs_path); 62 HalDevice *devinfo_scsi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type); 63 static HalDevice *devinfo_scsi_storage_add(HalDevice *parent, di_node_t node, char *devfs_path); 64 HalDevice *devinfo_blkdev_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type); 65 static HalDevice *devinfo_blkdev_storage_add(HalDevice *parent, di_node_t node, char *devfs_path); 66 HalDevice *devinfo_floppy_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type); 67 static void devinfo_floppy_add_volume(HalDevice *parent, di_node_t node); 149 devinfo_ide_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument 166 devinfo_ide_host_add(HalDevice *parent, di_node_t node, char *devfs_path) argument 183 devinfo_ide_device_add(HalDevice *parent, di_node_t node, char *devfs_path) argument 201 devinfo_ide_storage_add(HalDevice *parent, di_node_t node, char *devfs_path) argument 247 devinfo_scsi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument 282 devinfo_scsi_storage_add(HalDevice *parent, di_node_t node, char *devfs_path) argument 372 devinfo_blkdev_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument 401 devinfo_blkdev_storage_add(HalDevice *parent, di_node_t node, char *devfs_path) argument 440 devinfo_floppy_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument 523 devinfo_floppy_add_volume(HalDevice *parent, di_node_t node) argument 551 di_node_t node; local 589 devinfo_lofi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument 595 devinfo_lofi_add_major(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type, gboolean rescan, HalDevice *lofi_d) argument 669 devinfo_lofi_add_minor(HalDevice *parent, di_node_t node, char *minor_path, char *devlink, dev_t dev) argument 800 devinfo_storage_minors(HalDevice *parent, di_node_t node, gchar *devfs_path, gboolean rescan) argument 978 devinfo_volume_add(HalDevice *parent, di_node_t node, devinfo_storage_minor_t *m) argument 1264 di_node_t node; local [all...] |
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | scn.c | 614 * Extract the SCN portal(s) for a storage node. 616 * name - the storage node name. 687 * a storage node object. 689 * p1 - the storage node object. 733 * The callback function which returns the node type attribute of 734 * a storage node object. 736 * p1 - the storage node object. 761 * The callback function which returns the storage node object UID 766 * return - the storage node object UID. 827 * obj - the storage node objec 1866 scn_list_load( uint32_t uid, uchar_t *node, uint32_t nlen, uint32_t bitmap ) argument 1957 add_scn_entry( uchar_t *node, uint32_t nlen, uint32_t bitmap ) argument [all...] |
/illumos-gate/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 112 static void get_devid(di_node_t node, ddi_devid_t *thisdevid); 386 * node-name (dev_info :: devi_node_name). Multiple instances 858 * According to devfs path name, it will print device node name. 890 * report device node name, search "ssd" and "sd" nodes, 891 * print the device node name which device path is same as 996 gettext("Unable to determine devfs path for node: %s\n"), 1070 gettext("Unable to determine device path for node %s\n"), 1241 get_devid(di_node_t node, ddi_devid_t *thisdevid) argument 1245 char *openpath = di_devfs_path(node); 1265 "'%s' node ( [all...] |
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | merge.c | 43 * For each child iidesc_t node, we first try to map its tdesc_t subgraph 44 * against the tdesc_t graph in the parent. For each node in the child subgraph 47 * parent nodes, a mapping is established between the child node ID and a 48 * newly-allocated ID that the node will use when it is re-created in the 62 * forward declaration in the parent. If we find such a node, we record an 73 * node, conjuring requires two steps - the copying of the common tdesc_t data 74 * (name, type, etc) from the child node, and the creation of links from the 75 * newly-created node to the parent equivalents of other tdesc_t nodes pointed 76 * to by node being conjured. Note that in some cases, the targets of these 90 * pointers correctly. We create each node, an 606 iidesc_t *node = data; local [all...] |
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_sched.c | 144 * Allocate a new async request node. 204 * Queue the request node and do one of the following: 910 * Remove the specified node from the global software queue. 915 kcf_remove_node(kcf_areq_node_t *node) argument 917 kcf_areq_node_t *nextp = node->an_next; 918 kcf_areq_node_t *prevp = node->an_prev; 932 ASSERT(mutex_owned(&node->an_lock)); 933 node->an_state = REQ_CANCELED; 937 * Remove and return the first node in the global software queue. 963 * Add the request node t 970 kcf_enqueue(kcf_areq_node_t *node) argument [all...] |
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_dev_disc.c | 112 static int s1394_alloc_cfgrom(s1394_hal_t *hal, s1394_node_t *node, 158 static int s1394_calc_next_quad(s1394_hal_t *hal, s1394_node_t *node, 524 * Allocates config rom for the node. Sets CFGROM_NEW_ALLOC bit in the 525 * node cfgrom state. Drops topology_tree_mutex around the calls to 530 s1394_alloc_cfgrom(s1394_hal_t *hal, s1394_node_t *node, s1394_status_t *status) argument 545 ASSERT(node->cfgrom == NULL || (node->cfgrom != NULL && 546 CFGROM_GEN_CHANGED(node) == B_TRUE)); 549 * if node matched, either cfgrom has to be NULL or link should be 550 * off in the last matched node o 582 s1394_free_cfgrom(s1394_hal_t *hal, s1394_node_t *node, s1394_free_cfgrom_t options) argument 710 s1394_read_bus_info_blk(s1394_hal_t *hal, s1394_node_t *node, s1394_status_t *status) argument 831 s1394_read_rest_of_cfgrom(s1394_hal_t *hal, s1394_node_t *node, s1394_status_t *status) argument 923 int node; local 1080 s1394_node_t *node, *onode; local 1534 s1394_node_t *node; local 1754 s1394_node_t *node; local 2103 int node; local 2152 s1394_valid_cfgrom(s1394_hal_t *hal, s1394_node_t *node) argument 2231 s1394_valid_dir(s1394_hal_t *hal, s1394_node_t *node, uint32_t key, uint32_t *dir) argument 3201 s1394_calc_next_quad(s1394_hal_t *hal, s1394_node_t *node, uint32_t quadlet, uint32_t *nextquadp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/atu/ |
H A D | atu.c | 425 atu_join(struct atu_softc *sc, struct ieee80211_node *node) argument 435 bcopy(node->in_bssid, join.bssid, IEEE80211_ADDR_LEN); 436 bcopy(node->in_essid, join.essid, node->in_esslen); 437 join.essid_size = node->in_esslen; 439 if (node->in_capinfo & IEEE80211_CAPINFO_IBSS) 444 join.channel = ieee80211_chan2ieee(&sc->sc_ic, node->in_chan); 1297 cmn_err(CE_WARN, "%s: minor node creation failed\n",
|