/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 *);
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | ast-inspect.h | 7 void inspect_symbol(AstNode *node); 8 void inspect_symbol_list(AstNode *node); 10 void inspect_statement(AstNode *node); 11 void inspect_statement_list(AstNode *node); 13 void inspect_expression(AstNode *node); 14 void inspect_expression_list(AstNode *node);
|
/illumos-gate/usr/src/cmd/fm/fmtopo/common/ |
H A D | fmtopo.c | 192 print_everstyle(tnode_t *node) in print_everstyle() argument 210 topo_node_instance(node)); in print_everstyle() 225 topo_node_name(node), topo_node_instance(node)); in print_everstyle() 326 if (node == NULL || topo_node_flags(node) != in print_prop_nameval() 367 if (topo_prop_get_uint32(node, in print_prop_nameval() 722 if (node != NULL) { in set_prop() 746 if (node != NULL) { in set_prop() 839 print_everstyle(node); in walk_node() 862 print_node(thp, node, rsrc, s); in walk_node() 880 topo_node_name(node), topo_node_instance(node), in walk_node() [all …]
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_subr.c | 57 nodetype(mcamd_node_t *node) in nodetype() argument 59 mc_hdr_t *mch = (mc_hdr_t *)node; in nodetype() 66 mc_hdr_t *mch = (mc_hdr_t *)node; in node2type() 100 uint_t nt = nodetype(node); in mcamd_cs_next() 112 mc = node2type(node, MC_NT_MC); in mcamd_cs_next() 157 uint_t nt = nodetype(node); in mcamd_dimm_next() 169 mc = node2type(node, MC_NT_MC); in mcamd_dimm_next() 173 mccs = node2type(node, MC_NT_CS); in mcamd_dimm_next() 276 mc_hdr_t *mch = (mc_hdr_t *)node; in findoffset() 323 mcamd_node_t *node; in mcamd_get_numprops() local [all …]
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | efipart.c | 231 EFI_DEVICE_PATH *node, *parent; in efipart_ignore_device() local 292 if (node == NULL) in efipart_ignore_device() 307 if (node == NULL) { in efipart_ignore_device() 317 if (node == NULL) in efipart_ignore_device() 435 EFI_DEVICE_PATH *node; in efipart_testfd() local 438 if (node == NULL) in efipart_testfd() 450 EFI_DEVICE_PATH *node; in efipart_initfd() local 530 EFI_DEVICE_PATH *node; in efipart_testcd() local 533 if (node == NULL) in efipart_testcd() 595 if (node == NULL) in efipart_hdinfo_add_node() [all …]
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_prop.c | 240 pnode_t node; in promif_setprop() local 247 node = p1275_cell2dnode(ci[3]); in promif_setprop() 248 ASSERT(node == prom_optionsnode()); in promif_setprop() 253 if (promif_stree_getproplen(node, name) != -1) in promif_setprop() 271 pnode_t node; in promif_getprop() local 278 node = p1275_cell2dnode(ci[3]); in promif_getprop() 293 pnode_t node; in promif_getproplen() local 299 node = p1275_cell2dnode(ci[3]); in promif_getproplen() 302 len = promif_stree_getproplen(node, name); in promif_getproplen() 313 pnode_t node; in promif_nextprop() local [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | avl.h | 170 extern void *avl_find(avl_tree_t *tree, const void *node, avl_index_t *where); 178 extern void avl_insert(avl_tree_t *tree, void *node, avl_index_t where); 211 #define AVL_NEXT(tree, node) avl_walk(tree, node, AVL_AFTER) argument 212 #define AVL_PREV(tree, node) avl_walk(tree, node, AVL_BEFORE) argument 247 extern void avl_add(avl_tree_t *tree, void *node); 255 extern void avl_remove(avl_tree_t *tree, void *node);
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | cpr_sparc.c | 93 pnode_t node; in cpr_get_bool_prop() local 96 if (err = cpr_get_options_node(&node)) in cpr_get_bool_prop() 98 len = prom_getproplen(node, name); in cpr_get_bool_prop() 102 if (prom_getprop(node, name, value) != len) in cpr_get_bool_prop() 116 pnode_t node; in cpr_update_nvram() local 119 if (rc = cpr_get_options_node(&node)) in cpr_update_nvram() 257 pnode_t node; in cpr_default_setup() local 267 if (err = cpr_get_options_node(&node)) in cpr_default_setup() 281 len = prom_getproplen(node, orig->name); in cpr_default_setup() 469 cpr_build_nodename(pnode_t node) in cpr_build_nodename() argument [all …]
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/ |
H A D | prom_serengeti.c | 59 prom_serengeti_attach_board(uint_t node, uint_t board) in prom_serengeti_attach_board() argument 68 ci[4] = p1275_uint2cell(node); in prom_serengeti_attach_board() 83 prom_serengeti_detach_board(uint_t node, uint_t board) in prom_serengeti_detach_board() argument 92 ci[4] = p1275_uint2cell(node); in prom_serengeti_detach_board() 107 prom_serengeti_tunnel_switch(uint_t node, uint_t board) in prom_serengeti_tunnel_switch() argument 116 ci[4] = p1275_uint2cell(node); in prom_serengeti_tunnel_switch() 131 prom_serengeti_cpu_off(pnode_t node) in prom_serengeti_cpu_off() argument 139 ci[3] = p1275_dnode2cell(node); in prom_serengeti_cpu_off() 200 prom_serengeti_wakeupcpu(pnode_t node) in prom_serengeti_wakeupcpu() argument 208 ci[3] = p1275_dnode2cell(node); /* Arg1: nodeid to wakeup */ in prom_serengeti_wakeupcpu()
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | wgetch.c | 113 t_decode *node; local 175 node = (t_decode *) __m_screen->_decode; 182 while (node->ch != ch) { 183 node = node->sibling; 184 if (node == (t_decode *) 0) 189 if (node->key != 0) { 191 return __m_return_int("wgetch", node->key); 211 node = node->child;
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | topo_gather.c | 132 find_disk_monitor_private_pgroup(tnode_t *node) in find_disk_monitor_private_pgroup() argument 201 if (topo_node_resource(node, &fmri, err) != 0) in fmri2ptr() 249 wdp->pfmri, node); in topo_add_disk() 270 if (topo_node_label(node, &label, &err) == 0) { in topo_add_disk() 296 if (topo_prop_get_string(node, TOPO_PGROUP_STORAGE, in topo_add_disk() 307 (void) topo_prop_get_string(node, TOPO_PGROUP_STORAGE, in topo_add_disk() 310 (void) topo_prop_get_string(node, TOPO_PGROUP_STORAGE, in topo_add_disk() 499 if ((p = fmri2ptr(thp, node, &cstr, &err)) != NULL) { in topo_add_bay() 524 if (topo_prop_get_string(node, TOPO_PGROUP_IO, in topo_add_bay() 692 if (topo_node_label(node, &label, &err) == 0) { in topo_add_bay() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_inherit_002_pos.ksh | 145 for node in $allnodes; do 146 if [[ " $inherit_nodes " == *" $node "* ]]; then 208 if [[ -d $node ]]; then 230 elif [[ -f $node ]]; then 238 aclcur=$(get_ACE $node $count) 242 ls -vd $node 259 if [[ -d $node ]]; then 260 compare_acls $node $odir 261 elif [[ -f $node ]]; then 262 compare_acls $node $ofile [all …]
|
H A D | zfs_acl_chmod_inherit_003_pos.ksh | 126 for node in $allnodes; do 172 if [[ -d $node ]]; then 186 elif [[ -f $node ]] ; then 190 aclcur=$(get_ACE $node $count compact) 194 ls -Vd $node 205 if [[ -d $node ]]; then 206 compare_acls $node $odir 207 elif [[ -f $node ]]; then 208 compare_acls $node $ofile 213 ls -Vd $node [all …]
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_acpi.c | 38 static HalDevice *devinfo_power_button_add(HalDevice *parent, di_node_t node, 62 devinfo_acpi_add(HalDevice *parent, di_node_t node, char *devfs_path, in devinfo_acpi_add() argument 74 driver_name = di_driver_name(node); in devinfo_acpi_add() 90 devinfo_set_default_properties(d, parent, node, devfs_path); in devinfo_acpi_add() 93 major = di_driver_major(node); in devinfo_acpi_add() 98 while ((minor = di_minor_next(node, minor)) != DI_MINOR_NIL) { in devinfo_acpi_add() 109 devinfo_acpi_add_minor(d, node, minor_path, dev); in devinfo_acpi_add() 120 devinfo_acpi_add_minor(HalDevice *parent, di_node_t node, char *minor_path, in devinfo_acpi_add_minor() argument 126 devinfo_set_default_properties(d, parent, node, minor_path); in devinfo_acpi_add_minor() 137 driver_name = di_driver_name(node); in devinfo_power_button_add() [all …]
|
H A D | devinfo_cpu.c | 43 devinfo_cpu_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) in devinfo_cpu_add() argument 71 if (di_nodeid (node) == DI_PROM_NODEID) { in devinfo_cpu_add() 79 if (di_prom_prop_lookup_strings (phdl, node, in devinfo_cpu_add() 91 if (di_prom_prop_lookup_ints (phdl, node, in devinfo_cpu_add() 114 if (di_prop_lookup_ints (DDI_DEV_T_ANY, node, in devinfo_cpu_add() 149 if (di_driver_name (node) == NULL) { in devinfo_cpu_add() 162 if (di_prop_lookup_strings (DDI_DEV_T_ANY, node, "model", &s) > 0) { in devinfo_cpu_add() 166 di_node_name (node)); in devinfo_cpu_add() 170 if ((driver_name = di_driver_name (node)) != NULL) { in devinfo_cpu_add()
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_manage.c | 343 di_node_t node; in getnameinst() local 349 di_fini(node); in getnameinst() 352 *instance = di_instance(node); in getnameinst() 354 di_fini(node); in getnameinst() 367 walk_callback(di_node_t node, void *arg) in walk_callback() argument 373 driver_name = di_driver_name(node); in walk_callback() 377 path = di_devfs_path(node); in walk_callback() 391 di_node_t node; in getpath() local 402 di_fini(node); in getpath() 406 di_fini(node); in getpath() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_delete.c | 404 smb_node_t *node; in smb_delete_check_dosattr() local 410 node = fqi->fq_fnode; in smb_delete_check_dosattr() 476 smb_node_t *node; in smb_delete_remove_file() local 480 node = fqi->fq_fnode; in smb_delete_remove_file() 497 smb_node_rdlock(node); in smb_delete_remove_file() 500 smb_node_unlock(node); in smb_delete_remove_file() 516 nbl_start_crit(node->vp, RW_READER); in smb_delete_remove_file() 523 smb_node_end_crit(node); in smb_delete_remove_file() 529 smb_node_end_crit(node); in smb_delete_remove_file() 539 node->od_name, flags); in smb_delete_remove_file() [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | port_link.c | 250 devfspath = di_devfs_path(node); in serial_port_create() 291 (void) devfsadm_mklink(l_path, node, minor, 0); in serial_port_create() 318 dialout_create(di_minor_t minor, di_node_t node) in dialout_create() argument 323 devfspath = di_devfs_path(node); in dialout_create() 361 (void) devfsadm_mklink(l_path, node, minor, 0); in dialout_create() 465 devfspath = di_devfs_path(node); in onbrd_port_create() 513 (void) devfsadm_mklink(l_path, node, minor, 0); in onbrd_port_create() 528 devfspath = di_devfs_path(node); in onbrd_dialout_create() 559 buf = check_compat_ports(node, p_path, mn); in onbrd_dialout_create() 595 devfspath = di_devfs_path(node); in rsc_port_create() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_list.c | 315 stat_dev(di_node_t node, void *arg) in stat_dev() argument 326 if (IS_STUB_NODE(node)) { in stat_dev() 331 if (!known_state(node)) { in stat_dev() 335 devfsp = di_devfs_path(node); in stat_dev() 683 bsp->b_state = di_state(node); in get_bus_state() 698 const di_node_t node, in do_stat_dev() argument 713 devinfo_state = di_state(node); in do_stat_dev() 759 get_hw_info(node, clp, DEV_APID); in do_stat_dev() 798 (di_instance(node) != -1)) { in get_hw_info() 802 di_instance(node)); in get_hw_info() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | persistent.c | 816 rval = nvf_data_set(LOGIN_PARAMS_ID, node, in persistent_param_set() 829 return (nvf_data_get(LOGIN_PARAMS_ID, node, in persistent_param_get() 858 persistent_param_clear(char *node) in persistent_param_clear() argument 863 rval1 = nvf_data_clear(LOGIN_PARAMS_ID, node); in persistent_param_clear() 959 return (nvf_data_get(TUNABLE_PARAMS_ID, node, in persistent_get_tunable_param() 972 rval = nvf_data_set(TUNABLE_PARAMS_ID, node, in persistent_set_tunable_param() 993 rval = nvf_data_set(CHAP_PARAMS_ID, node, in persistent_chap_set() 1006 return (nvf_data_get(CHAP_PARAMS_ID, node, in persistent_chap_get() 1035 persistent_chap_clear(char *node) in persistent_chap_clear() argument 1040 rval = nvf_data_clear(CHAP_PARAMS_ID, node); in persistent_chap_clear() [all …]
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | scfutil.c | 248 xmlNodePtr node; in sa_extract_pgroup() local 260 if (node == NULL) in sa_extract_pgroup() 443 node = xmlNewChild(node, NULL, (xmlChar *)"resource", NULL); in _sa_make_resource() 444 if (node != NULL) { in _sa_make_resource() 471 xmlNodePtr node; in sa_share_from_pgroup() local 513 if (node != NULL) { in sa_share_from_pgroup() 616 xmlFreeNode(node); in sa_share_from_pgroup() 707 xmlNodePtr node; in sa_share_props_from_pgroup() local 803 if (node != NULL) in sa_share_props_from_pgroup() 878 xmlNodePtr node; in sa_extract_group() local [all …]
|
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/ |
H A D | admin_cmds.c | 360 hash_node_t *node; in hash_insert() local 368 for (node = hash_table[index]; node != NULL; node = node->next) { in hash_insert() 373 if (node == NULL) { in hash_insert() 375 node->uuid = uuid; in hash_insert() 377 hash_table[index] = node; in hash_insert() 382 return (node); in hash_insert() 388 hash_node_t *node; in add_child() local 390 for (node = parent->child; node != NULL; node = node->next) { in add_child() 391 if (node == child) in add_child() 403 hash_node_t *node; in print_all() local [all …]
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_svc.c | 157 vs_svc_node_t *node; in vs_svc_queue_scan_req() local 170 node = &(vs_svc_nodes[req->vsr_idx]); in vs_svc_queue_scan_req() 173 if ((node->vsn_tid != 0) || (req->vsr_idx > vs_svc_max_node)) { in vs_svc_queue_scan_req() 178 node->vsn_req = *req; in vs_svc_queue_scan_req() 185 node->vsn_tid = tid; in vs_svc_queue_scan_req() 201 vs_svc_node_t *node = (vs_svc_node_t *)arg; in vs_svc_async_scan() local 202 vs_scan_req_t *scan_req = &(node->vsn_req); in vs_svc_async_scan() 211 (void) memset(node, 0, sizeof (vs_svc_node_t)); in vs_svc_async_scan() 239 vs_svc_scan_file(vs_svc_node_t *node, vs_scanstamp_t *scanstamp) in vs_svc_scan_file() argument 245 vs_scan_req_t *req = &(node->vsn_req); in vs_svc_scan_file() [all …]
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_iter.c | 104 node->zn_handle = zhp; in zfs_callback() 105 uu_avl_node_init(node, &node->zn_avlnode, avl_pool); in zfs_callback() 118 free(node); in zfs_callback() 122 uu_avl_insert(cb->cb_avl, node, idx); in zfs_callback() 125 free(node); in zfs_callback() 380 zfs_node_t *node; in zfs_for_each() local 476 for (node = uu_avl_first(cb.cb_avl); node != NULL; in zfs_for_each() 477 node = uu_avl_next(cb.cb_avl, node)) in zfs_for_each() 487 uu_avl_remove(cb.cb_avl, node); in zfs_for_each() 488 zfs_close(node->zn_handle); in zfs_for_each() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | treemove.sh | 76 typeset -C node 77 node.one="hello" 78 node.two="world" 81 typeset -m tr.subtree["a_node"]=node 90 nameref node=tr.subtree["a_node"] 91 node.one="hello" 92 node.two="world"
|