/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_label.c | 142 (topo_node_instance(node) + offset)); in simple_dimm_label() 214 chip = topo_node_parent(topo_node_parent(node)); in simple_dimm_label_mp() 219 (topo_node_instance(node) + offset)); in simple_dimm_label_mp() 367 (topo_node_instance(node) + offset)); in simple_chip_label() 498 htid = topo_node_instance(node); in g4_chip_label() 618 topo_node_instance(node) + 2); in a4fplus_chip_label() 623 topo_node_instance(node)); in a4fplus_chip_label() 697 chan = topo_node_parent(node); in simple_cs_label_mp() 699 dimm_num = topo_node_instance(node) - (topo_node_instance(node) % 2) in simple_cs_label_mp() 759 (topo_node_instance(node) + offset)); in g4_dimm_label() [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_cache.c | 154 smb_cache_node_t *node; in smb_cache_add() local 170 if (node != NULL) { in smb_cache_add() 175 free(node); in smb_cache_add() 199 smb_cache_node_t *node; in smb_cache_remove() local 208 if (node) { in smb_cache_remove() 212 chandle->ch_free(node->cn_data); in smb_cache_remove() 213 free(node); in smb_cache_remove() 242 smb_cache_node_t *node; in smb_cache_iterate() local 259 if (node != NULL) in smb_cache_iterate() 262 cursor->cc_next = node; in smb_cache_iterate() [all …]
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | check.c | 57 static void check_cycle_lhs(struct node *stmtnp, struct node *arrow); 58 static void check_cycle_lhs_try(struct node *stmtnp, struct node *lhs, 415 struct node *np; in check_stmt_allowed_properties() 475 struct node *dnp; in check_propnames() 713 check_upset_engine(struct node *lhs, struct node *rhs, void *arg) in check_upset_engine() 743 check_refcount(struct node *lhs, struct node *rhs, void *arg) in check_refcount() 783 check_cycle(struct node *lhs, struct node *rhs, void *arg) in check_cycle() 785 struct node *np; in check_cycle() 826 check_cycle_lhs(struct node *stmtnp, struct node *arrow) in check_cycle_lhs() 869 check_cycle_lhs_try(struct node *stmtnp, struct node *lhs, struct node *rhs) in check_cycle_lhs_try() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_xattr_001_pos.ksh | 87 typeset node=$2 91 if [[ $user == "" || $node == "" ]]; then 125 typeset node=$1 134 $log operate_node $ZFS_ACL_CUR_USER $node $acl_target 138 $log operate_node $g_usr $node $acl_target 142 $log operate_node $o_usr $node $acl_target 148 typeset node=${1%/} 153 parent=${node%/*} 157 log_must usr_exec chmod A+$flag:$acl_t $node 161 check_chmod_results "$node" "$flag" \ [all …]
|
H A D | zfs_acl_chmod_xattr_002_pos.ksh | 83 typeset node=$2 87 if [[ $user == "" || $node == "" ]]; then 91 chgusr_exec $user runat $node rm -f attr.0 ; ret=$? 118 typeset node=$1 132 $log operate_node $g_usr $node $acl_target 136 $log operate_node $o_usr $node $acl_target 142 typeset node=${1%/} 148 parent=${node%/*} 152 log_must usr_exec chmod A+$flag:$acl_t $node 156 check_chmod_results "$node" "$flag" \ [all …]
|
H A D | zfs_acl_chmod_rwx_002_pos.ksh | 139 typeset node=$2 158 typeset cur_mode=$(get_mode $node) 172 typeset node=$1 196 log_must usr_exec chmod $init_mask $node 197 init_mode=$(get_mode $node) 199 log_must usr_exec eval "ls -vd $node > $orig_ace" 204 $node 206 log_must usr_exec chmod $operator$acl_spec $node 208 $init_mode $node $acl_flag $acl_access $acl_type 211 log_must usr_exec chmod A0- $node [all …]
|
H A D | zfs_acl_chmod_compact_001_pos.ksh | 151 typeset node=$1 161 typeset cur_ace=$(get_ACE $node 0 "compact") 171 typeset node=$1 188 if [[ -d $node ]]; then 203 log_must usr_exec eval "ls -Vd $node > $orig_ace" 208 $node 210 log_must usr_exec chmod ${operator}${acl_spec} $node 212 check_test_result "$node" "$acl_flag" "$acl_access" \ 217 log_must chgusr_exec root chmod A0- $node 219 log_must usr_exec chmod A0- $node [all …]
|
/illumos-gate/usr/src/uts/common/xen/sys/ |
H A D | xenbus_impl.h | 77 const char *node; /* path being watched */ member 118 const char *node, unsigned int *num); 120 const char *node, void **rstr, unsigned int *len); 121 extern int xenbus_read_str(const char *dir, const char *node, char **rstr); 123 const char *node, const char *string); 125 const char *node); 126 extern boolean_t xenbus_exists(const char *dir, const char *node); 127 extern boolean_t xenbus_exists_dir(const char *dir, const char *node); 129 const char *node); 135 const char *node, const char *fmt, ...); [all …]
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_2xml.c | 227 if (topo_prop_get_int32_array(node, pgname, in txml_print_prop() 247 if (topo_prop_get_uint32_array(node, pgname, in txml_print_prop() 268 if (topo_prop_get_int64_array(node, pgname, in txml_print_prop() 289 if (topo_prop_get_uint64_array(node, pgname, in txml_print_prop() 310 if (topo_prop_get_string_array(node, pgname, in txml_print_prop() 331 if (topo_prop_get_fmri_array(node, pgname, in txml_print_prop() 381 if (topo_list_next(&node->tn_children) == NULL) in txml_print_dependents() 384 if (txml_print_range(thp, fp, node, 1) == 1) in txml_print_dependents() 410 txml_print_pgroup(thp, fp, node, pg); in txml_print_node() 412 txml_print_dependents(thp, fp, node); in txml_print_node() [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | expand.c | 696 if(!node) { in ef_open_dir() 706 node->dr = NULL; in ef_open_dir() 711 if(!node->dr) { in ef_open_dir() 714 node = (DirNode *) _del_FreeListNode(cache->mem, node); in ef_open_dir() 743 if(node->prev) in ef_open_dir() 744 node->prev->next = node->next; in ef_open_dir() 747 if(node->next) in ef_open_dir() 748 node->next->prev = node->prev; in ef_open_dir() 751 node->next = node->prev = NULL; in ef_open_dir() 755 return node; in ef_open_dir() [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | sgen_link.c | 65 sgen_callback(di_minor_t minor, di_node_t node) in sgen_callback() argument 73 if ((cnum = find_ctrlr(node, minor)) == NULL) in sgen_callback() 79 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, in sgen_callback() 90 if ((di_prop_lookup_int64(DDI_DEV_T_ANY, node, in sgen_callback() 94 } else if (di_prop_lookup_ints(DDI_DEV_T_ANY, node, in sgen_callback() 124 } else if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, in sgen_callback() 140 } else if (di_prop_lookup_bytes(DDI_DEV_T_ANY, node, in sgen_callback() 164 if ((baddr = di_bus_addr(node)) == NULL) in sgen_callback() 175 (void) devfsadm_mklink(lpath, node, minor, 0); in sgen_callback() 185 find_ctrlr(di_node_t node, di_minor_t minor) in find_ctrlr() argument [all …]
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_ieee1394.c | 34 HalDevice *devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_t… 35 static HalDevice *devinfo_scsa1394_add(HalDevice *d, di_node_t node, gchar *devfs_path); 47 devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) in devinfo_ieee1394_add() argument 57 if ((di_compatible_names (node, &compat) < 1) || in devinfo_ieee1394_add() 62 if ((driver_name = di_driver_name (node)) == NULL) { in devinfo_ieee1394_add() 67 d = devinfo_scsa1394_add (parent, node, devfs_path); in devinfo_ieee1394_add() 74 devinfo_scsa1394_add(HalDevice *parent, di_node_t node, gchar *devfs_path) in devinfo_scsa1394_add() argument 80 devinfo_set_default_properties (d, parent, node, devfs_path); in devinfo_scsa1394_add()
|
H A D | devinfo.c | 69 HAL_INFO (("add_subtree: %s", di_node_name (node))); in devinfo_add_subtree() 71 root_node = node; in devinfo_add_subtree() 73 d = devinfo_add_node (parent, node); in devinfo_add_subtree() 76 (child_node = di_child_node (node)) != DI_NODE_NIL) { in devinfo_add_subtree() 80 node = di_sibling_node (node); in devinfo_add_subtree() 81 } while ((node != DI_NODE_NIL) && in devinfo_add_subtree() 82 (!is_root || di_parent_node (node) == root_node)); in devinfo_add_subtree() 101 di_instance (node)); in devinfo_set_default_properties() 113 if ((driver_name = di_driver_name (node)) != NULL) { in devinfo_set_default_properties() 150 devinfo_add_node(HalDevice *parent, di_node_t node) in devinfo_add_node() argument [all …]
|
/illumos-gate/usr/src/common/amdzen/ |
H A D | zen_fabric_utils.c | 42 uint32_t node; in zen_fabric_id_valid_parts() local 54 node = die << decomp->dfd_die_shift; in zen_fabric_id_valid_parts() 55 node |= sock << decomp->dfd_sock_shift; in zen_fabric_id_valid_parts() 72 uint32_t node; in zen_fabric_id_decompose() local 77 node = (fabid & decomp->dfd_node_mask) >> decomp->dfd_node_shift; in zen_fabric_id_decompose() 78 *diep = (node & decomp->dfd_die_mask) >> decomp->dfd_die_shift; in zen_fabric_id_decompose() 79 *sockp = (node & decomp->dfd_sock_mask) >> decomp->dfd_sock_shift; in zen_fabric_id_decompose() 89 uint32_t node; in zen_fabric_id_compose() local 93 node = die << decomp->dfd_die_shift; in zen_fabric_id_compose() 94 node |= sock << decomp->dfd_sock_shift; in zen_fabric_id_compose() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | itree.c | 98 struct node *fromevent, struct node *toevent, struct lut *ex); 268 static struct lut *props2instance(struct node *, struct node *); 276 tname_dup_to_epname(struct node *oldepname, struct node *epname) in tname_dup_to_epname() 365 tevent_dup_to_epname(struct node *oldnode, struct node *epname) in tevent_dup_to_epname() 367 struct node *ret; in tevent_dup_to_epname() 380 struct node *orhs = (struct node *)val; in nv_instantiate() 432 props2instance(struct node *eventnp, struct node *epname) in props2instance() 448 struct node *dn = (struct node *)right; in instances_destructor() 792 hmatch(struct info *infop, struct node *np, struct node *nextnp) in hmatch() 1187 vmatch(struct info *infop, struct node *np, struct node *lnp, struct node *anp) in vmatch() [all …]
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | msgfmt.c | 716 node->next = p1; in insert_message() 737 node->next = NULL; in insert_message() 742 prev_node->next = node; in insert_message() 744 dom->first_elem = node; in insert_message() 797 node->next = p1; in find_domain_node() 806 first_domain = node; in find_domain_node() 809 return (node); in find_domain_node() 819 node->next = NULL; in find_domain_node() 821 node->first_elem = NULL; in find_domain_node() 828 first_domain = node; in find_domain_node() [all …]
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | popen.c | 59 typedef struct node { struct 62 struct node *next; argument 96 node_t *node; in popen() local 104 lfree(node, sizeof (node_t)); in popen() 109 lfree(node, sizeof (node_t)); in popen() 128 lfree(node, sizeof (node_t)); in popen() 137 lfree(node, sizeof (node_t)); in popen() 173 lfree(node, sizeof (node_t)); in popen() 185 lfree(node, sizeof (node_t)); in popen() 295 node_t *node; in _insert() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | streval.c | 166 struct lval node; in arith_exec() local 168 node.shp = shp; in arith_exec() 172 node.value = 0; in arith_exec() 173 node.nosub = 0; in arith_exec() 174 node.ptr = 0; in arith_exec() 175 node.eflag = 0; in arith_exec() 247 node.isfloat=0; in arith_exec() 292 node.flag = c; in arith_exec() 295 node.ptr = 0; in arith_exec() 305 node.flag=c; in arith_exec() [all …]
|
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | util.c | 319 glen = prom_getprop(node, prop, dst); in get_intprop() 337 pnode_t node; in get_cpu_node() local 346 for (node = prom_rootnode(); ; node = prom_nextnode(node)) { in get_cpu_node() 347 node = prom_findnode_bydevtype(node, name); in get_cpu_node() 348 if (node == OBP_NONODE) { in get_cpu_node() 359 node, *propp, (int)cpu_id)); in get_cpu_node() 365 return (node); in get_cpu_node() 384 pnode_t node; in cb_get_props() local 394 node = get_cpu_node(); in cb_get_props() 395 if (node == OBP_NONODE) in cb_get_props() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/ |
H A D | shp.c | 290 hp_node_t node; in physpath2node() local 338 *nodep = node; in physpath2node() 399 format, hp_name(node), hp_usage(node)); in error_sumup_cb() 622 hp_node_t node; in cfga_change_state() local 769 hp_fini(node); in cfga_change_state() 791 hp_node_t node; in prt_led_mode() local 817 hp_fini(node); in prt_led_mode() 826 hp_fini(node); in prt_led_mode() 873 hp_fini(node); in prt_led_mode() 1003 hp_fini(node); in cfga_private_func() [all …]
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_stree.c | 198 find_node_work(prom_node_t *np, pnode_t node) in find_node_work() argument 204 if (snp->pn_nodeid == node) in find_node_work() 319 pnode_t node; in promif_stree_init() local 322 node = prom_rootnode(); in promif_stree_init() 325 create_peers(pnp, node); in promif_stree_init() 326 create_children(pnp, node); in promif_stree_init() 353 create_peers(prom_node_t *np, pnode_t node) in create_peers() argument 360 peer = prom_nextnode(node); in create_peers() 364 node = peer; in create_peers() 371 node = peer; in create_peers() [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_subr.c | 976 rsrc_node_t *node; in rn_alloc() local 980 node = s_calloc(1, sizeof (*node)); in rn_alloc() 982 node->type = type; in rn_alloc() 984 return (node); in rn_alloc() 993 if (node == NULL) { in rn_free() 997 if (node->child) { in rn_free() 1006 free(node->name); in rn_free() 1007 free(node); in rn_free() 1129 rsrc_node_t *node; in rsrc_node_find() local 1178 *nodep = node; in rsrc_node_find() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_labels.c | 233 __func__, node, topo_node_name(node), topo_node_instance(node), in pci_slot_label_lookup() 256 __func__, node, did_physlot(pdp)); in pci_slot_label_lookup() 262 anode = topo_node_parent(node); in pci_slot_label_lookup() 296 "anode_bdf=%d/%d/%d\n", __func__, node, in pci_slot_label_lookup() 327 "FAILED!", __func__, node); in pci_slot_label_lookup() 334 __func__, node, ancestor_l); in pci_slot_label_lookup() 339 "slot found\n", __func__, node); in pci_slot_label_lookup() 351 __func__, node, ancestor_l, l); in pci_slot_label_lookup() 414 __func__, node, (l ? l : "NULL")); in pci_slot_label_lookup() 435 nm = topo_node_name(node); in pci_label_cmn() [all …]
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | policy.c | 78 n = node->children; in parseOCSPValidation() 134 n = node->children; in parseValidation() 255 n = node->children; in parseKeyUsageSet() 331 n = node->children; in parseExtKeyUsage() 393 n = node; in parseMapper() 461 n = node->children; in parsePolicyElement() 499 xmlFreeNode(node); in newprop() 863 xmlNodePtr cur, node; in kmf_get_policy() local 911 node = node->next; in kmf_get_policy() 1004 dnode = node; in deletePolicyNode() [all …]
|
/illumos-gate/usr/src/cmd/auditd/ |
H A D | doorway.c | 587 audit_q_t *node; in qpool_init() local 601 if (node == NULL) in qpool_init() 617 audit_rec_t *node; in bpool_init() local 625 if (node == NULL) in bpool_init() 674 audit_q_t *node; in qpool_withdraw() local 680 return (node); in qpool_withdraw() 687 if (node == NULL) in qpool_withdraw() 691 return (node); in qpool_withdraw() 720 node = realloc(node, AUDIT_REC_HEADER + new_length); in bpool_withdraw() 757 return (node); in bpool_withdraw() [all …]
|