/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | config.h | 75 int config_is_connected(struct node *np, struct config *croot, 77 int config_is_type(struct node *np, struct config *croot, 79 int config_is_on(struct node *np, struct config *croot, struct evalue *valuep); 80 int config_is_present(struct node *np, struct config *croot, 85 struct node *config_bydev_lookup(struct cfgdata *, const char *); 86 struct node *config_bycpuid_lookup(struct cfgdata *, uint32_t); 87 struct node *config_bydevid_lookup(struct cfgdata *, const char *); 88 struct node *config_bytp_lookup(struct cfgdata *, const char *);
|
H A D | eft_mdb.c | 363 struct node node; local 378 if (mdb_vread(&node, sizeof (node), addr) != sizeof (node)) { 379 mdb_warn("failed to read struct node at %p", addr); 384 (uintptr_t)node.file) < 0) 386 node.file); 388 mdb_printf("%s len %d\n", buf, node.line); 390 switch (node [all...] |
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_ieee1394.c | 36 HalDevice *devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type); 37 static HalDevice *devinfo_scsa1394_add(HalDevice *d, di_node_t node, gchar *devfs_path); 49 devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument 59 if ((di_compatible_names (node, &compat) < 1) || 64 if ((driver_name = di_driver_name (node)) == NULL) { 69 d = devinfo_scsa1394_add (parent, node, devfs_path); 76 devinfo_scsa1394_add(HalDevice *parent, di_node_t node, gchar *devfs_path) argument 82 devinfo_set_default_properties (d, parent, node, devfs_path);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | avl.h | 55 * insert 1 node constant O(log(n)) 57 * delete 1 node constant between constant and O(log(n)) 62 * or prev node constant between constant and O(log(n)) 81 * avl_first() - returns the lowest valued node 82 * avl_last() - returns the highest valued node 83 * AVL_NEXT() - given a node go to next higher one 84 * AVL_PREV() - given a node go to previous lower one 86 * 2c. Find the node with the closest value either less than or greater 115 * An opaque type used to locate a position in the tree where a node 156 * Find a node wit [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | merge_help.awk | 92 node = first; 93 while (node != -1) 96 printf "# T%s ", help[node, "T"]; 97 if (help[node, "S"] != "") printf "S%s ", help[node, "S"]; 98 printf "D%s\n\n", help[node, "D"]; 99 for (i = 0; i < help[node, "text"]; i++) 100 printf "%s\n", help[node, "text", i]; 101 node = help[node, "lin [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 197 * read-only minor node if we don't have privileges to open the full 199 * node can't perform. (Setgid processes would fail an access() test, 208 * privileged node isn't available. Don't modify errno 317 di_parent_node(di_node_t node) argument 321 if (node == DI_NODE_NIL) { 326 DPRINTF((DI_TRACE, "Get parent of node %s\n", di_node_name(node))); 328 pa = (caddr_t)node - DI_NODE(node)->self; 330 if (DI_NODE(node) 348 di_sibling_node(di_node_t node) argument 380 di_child_node(di_node_t node) argument 450 di_drv_next_node(di_node_t node) argument 484 di_node_t node; member in struct:node_list 543 is_descendant(di_node_t node, di_node_t parent) argument 600 get_children(di_node_t node) argument 825 di_node_t node = (*headp)->node; local 892 di_node_name(di_node_t node) argument 899 di_bus_addr(di_node_t node) argument 910 di_binding_name(di_node_t node) argument 921 di_compatible_names(di_node_t node, char **names) argument 947 di_instance(di_node_t node) argument 957 di_nodeid(di_node_t node) argument 969 di_state(di_node_t node) argument 992 di_node_state(di_node_t node) argument 998 di_flags(di_node_t node) argument 1004 di_retired(di_node_t node) argument 1010 di_devid(di_node_t node) argument 1020 di_driver_major(di_node_t node) argument 1031 di_driver_name(di_node_t node) argument 1051 di_driver_ops(di_node_t node) argument 1071 di_devfs_path(di_node_t node) argument 1134 di_node_t node; local 1346 di_minor_next(di_node_t node, di_minor_t minor) argument 1447 di_prop_next(di_node_t node, di_prop_t prop) argument 1659 di_prop_search(dev_t match_dev, di_node_t node, const char *name, int type) argument 1686 di_prop_find(dev_t match_dev, di_node_t node, const char *name) argument 1711 di_prop_lookup_ints(dev_t dev, di_node_t node, const char *prop_name, int **prop_data) argument 1724 di_prop_lookup_int64(dev_t dev, di_node_t node, const char *prop_name, int64_t **prop_data) argument 1737 di_prop_lookup_strings(dev_t dev, di_node_t node, const char *prop_name, char **prop_data) argument 1750 di_prop_lookup_bytes(dev_t dev, di_node_t node, const char *prop_name, uchar_t **prop_data) argument 1773 di_prop_next_common(di_node_t node, di_prop_t prop, int prop_type) argument 1833 di_prop_drv_next(di_node_t node, di_prop_t prop) argument 1839 di_prop_sys_next(di_node_t node, di_prop_t prop) argument 1845 di_prop_global_next(di_node_t node, di_prop_t prop) argument 1851 di_prop_hw_next(di_node_t node, di_prop_t prop) argument 1891 di_path_phci_next_path(di_node_t node, di_path_t path) argument 1933 di_path_client_next_path(di_node_t node, di_path_t path) argument 1991 di_path_next(di_node_t node, di_path_t path) argument 2012 di_path_next_phci(di_node_t node, di_path_t path) argument 2017 di_path_next_client(di_node_t node, di_path_t path) argument 2388 di_vhci_next_node(di_node_t node) argument 2437 di_phci_next_node(di_node_t node) argument 2463 di_parent_private_data(di_node_t node) argument 2494 di_driver_private_data(di_node_t node) argument 2536 di_walk_hp_callback(di_node_t node, void *argp) argument 2570 di_walk_hp(di_node_t node, const char *type, uint_t flag, void *arg, int (*hp_callback)(di_node_t node, di_hp_t hp, void *arg)) argument 2605 di_hp_next(di_node_t node, di_hp_t hp) argument 2974 di_prom_prop_next(di_prom_handle_t ph, di_node_t node, di_prom_prop_t prom_prop) argument 3044 di_prom_prop_lookup_common(di_prom_handle_t ph, di_node_t node, const char *prom_prop_name) argument 3144 di_prom_prop_lookup_ints(di_prom_handle_t ph, di_node_t node, const char *prom_prop_name, int **prom_prop_data) argument 3170 di_prom_prop_lookup_strings(di_prom_handle_t ph, di_node_t node, const char *prom_prop_name, char **prom_prop_data) argument 3213 di_prom_prop_lookup_bytes(di_prom_handle_t ph, di_node_t node, const char *prom_prop_name, uchar_t **prom_prop_data) argument 3270 di_prop_lookup_slot_names(dev_t dev, di_node_t node, di_slot_name_t **prop_data) argument 3316 di_prom_prop_lookup_slot_names(di_prom_handle_t ph, di_node_t node, di_slot_name_t **prop_data) argument 3400 di_node_private_set(di_node_t node, void *data) argument 3406 di_node_private_get(di_node_t node) argument 3448 di_lnode_next(di_node_t node, di_lnode_t lnode) argument 3481 di_link_next_by_node(di_node_t node, di_link_t link, uint_t endpoint) argument 3584 di_node_t node = (*headp)->node; local 3649 di_node_t node = (*headp)->node; local 3704 di_node_t node; local 3748 di_node_t node; local 3836 di_node_t node; local [all...] |
/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...] |
/illumos-gate/usr/src/common/list/ |
H A D | list.c | 45 #define list_object(a, node) ((void *)(((char *)node) - (a)->list_offset)) 48 #define list_insert_after_node(list, node, object) { \ 50 lnew->list_prev = (node); \ 51 lnew->list_next = (node)->list_next; \ 52 (node)->list_next->list_prev = lnew; \ 53 (node)->list_next = lnew; \ 56 #define list_insert_before_node(list, node, object) { \ 58 lnew->list_next = (node); \ 59 lnew->list_prev = (node) 85 list_node_t *node = &list->list_head; local 178 list_node_t *node = list_d2l(list, object); local 189 list_node_t *node = list_d2l(list, object); local [all...] |
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_info.c | 110 /* Store a pointer to the base path in each root node */ 190 /* Allocate new node for current device */ 245 hp_node_t node, port_node; local 284 /* Create a new port node */ 285 if ((node = new_hotplug_node(parent, hp)) == NULL) { 290 /* Add port node to connection list */ 291 node_list_add(&connections, node); 293 /* Add branch of child devices to port node */ 295 if ((rv = copy_devices(node, child_dev, child_flags, 296 &node 395 search_cb(di_node_t node, void *arg) argument 440 node_list_add(hp_node_list_t *listp, hp_node_t node) argument 458 hp_node_t node; local 493 hp_node_t node; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_tree.c | 15 * Each node may represent either a relation or a section header. 48 #define CHECK_MAGIC(node) \ 49 if ((node)->magic != PROF_MAGIC_NODE) \ 53 * Free a node, and any children 55 void profile_free_node(struct profile_node *node) argument 59 if (node->magic != PROF_MAGIC_NODE) 62 if (node->name) 63 free(node->name); 64 if (node->value) 65 free(node 124 profile_verify_node(struct profile_node *node) argument 198 profile_make_node_final(struct profile_node *node) argument 209 profile_is_node_final(struct profile_node *node) argument 219 profile_get_node_name(struct profile_node *node) argument 229 profile_get_node_value(struct profile_node *node) argument 248 profile_find_node(struct profile_node *section, const char *name, const char *value, int section_flag, void **state, struct profile_node **node) argument 402 struct profile_node *node; member in struct:profile_iterator 623 profile_remove_node(struct profile_node *node) argument 640 profile_set_relation_value(struct profile_node *node, const char *new_value) argument 666 profile_rename_node(struct profile_node *node, const char *new_name) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kmdb_promif_isadep.c | 76 pnode_t node; local 80 if ((node = prom_finddevice("/options")) == NULL) 83 if ((len = prom_getproplen(node, propname)) < 0) 88 if (prom_bounded_getprop(node, propname, val, len) != len) { 104 kmdb_prom_getprop(pnode_t node, char *name, caddr_t value) argument 106 return (prom_getprop(node, name, value)); 115 walk_cpus_cb(pnode_t node, void *arg, void *result) argument 126 if (!prom_devicetype(node, OBP_CPU)) 130 if ((prom_getprop(node, "portid", (caddr_t)&port_id) == -1) && 131 (prom_getprop(node, "up 164 kmdb_prom_getcpu_propnode(pnode_t node) argument [all...] |
H A D | kmdb_kdi_isadep.c | 74 kdi_init_cpus_cb(pnode_t node, void *arg, void *result) argument 86 /* Get the real cpu property node if needed */ 87 node = kmdb_prom_getcpu_propnode(node); 93 if (kmdb_prom_getprop(node, "dcache-size", 95 kmdb_prom_getprop(node, "l1-dcache-size", 97 fail("can't get dcache size for node %x\n", node); 102 if (kmdb_prom_getprop(node, "dcache-line-size", 104 kmdb_prom_getprop(node, "l [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_delete_001_pos.ksh | 100 function operate_node #user node 103 typeset node=$2 106 if [[ $user == "" || $node == "" ]]; then 107 log_fail "user, node are not defined." 109 if [[ -d $node ]]; then 110 chgusr_exec $user rm -rf $node ; ret=$? 112 chgusr_exec $user rm -f $node ; ret=$? 115 if [[ -e $node ]]; then 117 log_note "$node not removed, but return code is 0." 123 log_note "$node remove [all...] |
H A D | zfs_acl_chmod_owner_001_pos.ksh | 68 typeset node=$1 70 if [[ -z $node ]]; then 71 log_fail "node are not defined." 74 echo $(ls -dl $node | awk '{print $3}') 82 typeset node=$1 84 if [[ -z $node ]]; then 85 log_fail "node are not defined." 88 echo $(ls -dl $node | awk '{print $4}') 118 typeset node=$2 123 if [[ $user == "" || $node [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare.c | 317 xmlNodePtr node = (xmlNodePtr)group; local 320 while (node != NULL) { 321 if (strcmp((char *)(node->name), "sharecfg") == 0) { 323 handle = (sa_handle_t)get_handle_for_root(node); 326 node = node->parent; 342 xmlNodePtr node; local 351 for (node = root->xmlChildrenNode; node != NULL; 352 node 693 xmlNodePtr node = (xmlNodePtr)object; local 1124 find_group_by_name(xmlNodePtr node, xmlChar *group) argument 1156 xmlNodePtr node = NULL; local 1219 xmlNodePtr node = NULL; local 1261 xmlNodePtr node = NULL; local 1282 _sa_get_child_node(xmlNodePtr node, xmlChar *type) argument 1474 xmlNodePtr node = NULL; local 1549 xmlNodePtr node = NULL; local 1831 xmlNodePtr node = NULL; local 1856 xmlNodePtr node = NULL; local 1881 xmlNodePtr node = NULL; local 1906 xmlNodePtr node = NULL; local 2066 xmlNodePtr node = (xmlNodePtr)nodehdl; local 2085 xmlNodePtr node = (xmlNodePtr)nodehdl; local 2186 xmlNodePtr node; local 2312 xmlNodePtr node; local 2347 xmlNodePtr node; local 2370 xmlNodePtr node; local 2421 xmlNodePtr node; local 2442 xmlNodePtr node = (xmlNodePtr)optionset; local 2486 xmlNodePtr node; local 2506 xmlNodePtr node; local 2572 xmlNodePtr node; local 2709 xmlNodePtr node = NULL; local 2726 xmlNodePtr node = NULL; local 3020 is_nodetype(void *node, char *type) argument 3194 xmlNodePtr node; local 3223 xmlNodePtr node; local 3436 xmlNodePtr node = (xmlNodePtr)propset; local 3486 xmlNodePtr node; local 3531 xmlNodePtr node = (xmlNodePtr)propset; local 3574 xmlNodePtr node; local 3637 xmlNodePtr node; local 3655 xmlNodePtr node; local 3673 xmlNodePtr node = NULL; local 3715 xmlNodePtr node = NULL; local 3766 xmlNodePtr node; local 4338 xmlNodePtr node; local 4390 xmlNodePtr node; local [all...] |
/illumos-gate/usr/src/common/mdesc/ |
H A D | mdesc_getpropstr.c | 34 md_get_prop_str(md_t *ptr, mde_cookie_t node, char *namep, char **strp) argument 42 if (node == MDE_INVAL_ELEM_COOKIE) { 51 elem = md_find_node_prop(mdp, node, prop_name, MDET_PROP_STR);
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | vscan_link.c | 33 static int vscan(di_minor_t minor, di_node_t node); 49 vscan(di_minor_t minor, di_node_t node) argument 55 (void) devfsadm_mklink(path, node, minor, 0);
|
H A D | zfs_link.c | 37 static int zfs(di_minor_t minor, di_node_t node); 50 * The zfs control node looks like this: 54 zfs(di_minor_t minor, di_node_t node) argument 61 (void) devfsadm_mklink(ZFS_DRIVER, node, minor, 0);
|
H A D | zut_link.c | 37 static int zut(di_minor_t minor, di_node_t node); 50 * For the zut control node: 54 zut(di_minor_t minor, di_node_t node) argument 57 (void) devfsadm_mklink(ZUT_DRIVER, node, minor, 0);
|
/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/uts/common/fs/smbsrv/ |
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...] |
/illumos-gate/usr/src/cmd/isns/isnsd/xml/ |
H A D | data.c | 339 * convert a TLV format isns attribute to xml node format. 341 * node - the xml node where the new node is being added to. 343 * name - the name of the attribute in xml node. 346 * 1: adding a xml child node. 347 * 2: adding a previous sibling node. 348 * 3: adding a xml content node. 350 * return - xml node. 356 xmlNodePtr node, 355 convert_attr2xml( xmlNodePtr node, const isns_attr_t *attr, const xmlChar *name, const char type, const int elm_flag ) argument 449 parse_xml_prop( xmlNodePtr node, isns_obj_t *obj, int i ) argument 505 parse_xml_attr( xmlNodePtr node, isns_obj_t *obj, int i ) argument 552 xmlNodePtr node = *nodep; local 624 locate_xml_node( xmlDocPtr doc, int otype, int match_uid, xmlNodePtr *node, xmlXPathContextPtr *context, xmlXPathObjectPtr *result ) argument 714 xmlNodePtr node; local 934 xmlNodePtr node = (xmlNodePtr)*p; local 1011 xmlNodePtr node, prev; local 1110 xmlNodePtr node, child; local 1259 xmlNodePtr node; local 1320 xmlNodePtr node; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/pcibus/ |
H A D | pci_sun4.h | 40 pci_fru_compute(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out);
|
/illumos-gate/usr/src/lib/libfru/include/ |
H A D | libfrup.h | 46 * Type for pointers to functions for terminating the processing of a node 49 typedef void (*end_node_fp_t)(fru_nodehdl_t node, const char *path, 59 extern fru_errno_t fru_walk_tree(fru_nodehdl_t node, const char *prior_path, 60 fru_errno_t (*process_node)(fru_nodehdl_t node, 69 extern fru_errno_t fru_for_each_segment(fru_nodehdl_t node,
|
/illumos-gate/usr/src/lib/libwanboot/common/ |
H A D | bootinfo_aux.c | 57 di_node_t cb_node; /* found leaf node of device path */ 198 * Get the value of the named property on the named node in root. 203 di_node_t node; local 211 for (node = di_child_node(root_node); 212 node != DI_NODE_NIL; 213 node = di_sibling_node(node)) { 214 if (strcmp(di_node_name(node), nodename) == 0) { 218 if (node == DI_NODE_NIL) { 225 for (pp = di_prom_prop_next(phdl, node, DI_PROM_PROP_NI 299 p2n_cb(di_node_t node, void *arg) argument 334 is_network_device(di_node_t node) argument 381 di_node_t node; local [all...] |