/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | aggr_rcm.c | 229 node_free(node); in rcm_mod_fini() 396 if (node->vc_aggr->da_lastport == node->vc_linkid) { in aggr_offline() 811 node->vc_resource, node->vc_aggr->da_aggrid, in aggr_usage() 852 for (; node != &cache_tail; node = node->vc_next) { in cache_lookup() 869 free(node); in node_free() 884 node->vc_next->vc_prev = node; in cache_insert() 885 node->vc_prev->vc_next = node; in cache_insert() 896 node->vc_next->vc_prev = node->vc_prev; in cache_remove() 897 node->vc_prev->vc_next = node->vc_next; in cache_remove() 1083 for (; node != &cache_tail; node = node->vc_next) in cache_update() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_tree.c | 62 if (node->name) in profile_free_node() 64 if (node->value) in profile_free_node() 73 free(node); in profile_free_node() 131 if (node->value && node->first_child) in profile_verify_node() 276 if (node) in profile_find_node() 277 *node = p; in profile_find_node() 697 if ((p != node) && (last != node)) { in profile_rename_node() 702 node->prev->next = node->next; in profile_rename_node() 704 node->parent->first_child = node->next; in profile_rename_node() 706 node->next->prev = node->prev; in profile_rename_node() [all …]
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 328 pa = (caddr_t)node - DI_NODE(node)->self; in di_parent_node() 359 pa = (caddr_t)node - DI_NODE(node)->self; in di_sibling_node() 391 pa = (caddr_t)node - DI_NODE(node)->self; in di_child_node() 468 pa = (caddr_t)node - DI_NODE(node)->self; in di_drv_next_node() 554 node = di_parent_node(node); in is_descendant() 825 di_node_t node = (*headp)->node; in walk_one_minor_list() local 894 return ((caddr_t)node + DI_NODE(node)->node_name - DI_NODE(node)->self); in di_node_name() 3584 di_node_t node = (*headp)->node; in walk_one_link() local 3649 di_node_t node = (*headp)->node; in walk_one_lnode() local 3787 node = di_child_node(node); in di_lookup_node_impl() [all …]
|
H A D | libdevinfo.h | 170 extern char *di_node_name(di_node_t node); 171 extern char *di_bus_addr(di_node_t node); 174 extern int di_instance(di_node_t node); 175 extern int di_nodeid(di_node_t node); 176 extern int di_driver_major(di_node_t node); 177 extern uint_t di_state(di_node_t node); 179 extern ddi_devid_t di_devid(di_node_t node); 186 extern char *di_devfs_path(di_node_t node); 216 int (*minor_callback)(di_node_t node, 419 uint_t di_flags(di_node_t node); [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/sparc/ |
H A D | misc_link_sparc.c | 83 ddi_other(di_minor_t minor, di_node_t node) in ddi_other() argument 86 char *nn = di_node_name(node); in ddi_other() 104 diskette(di_minor_t minor, di_node_t node) in diskette() argument 129 ecpp_create(di_minor_t minor, di_node_t node) in ecpp_create() argument 139 if ((buf = di_devfs_path(node)) == NULL) { in ecpp_create() 165 mc_node(di_minor_t minor, di_node_t node) in mc_node() argument 176 devfspath = di_devfs_path(node); in mc_node() 208 if (di_instance(node) == 0) { in starcat_sbbc_node() 210 (void) devfsadm_mklink(mn, node, minor, 0); in starcat_sbbc_node() 220 lom(di_minor_t minor, di_node_t node) in lom() argument [all …]
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_gpt.c | 131 node = kmem_zalloc(sizeof (*node), KM_SLEEP); in vmm_gpt_node_alloc() 140 return (node); in vmm_gpt_node_alloc() 174 kmem_free(node, sizeof (*node)); in vmm_gpt_node_free() 504 while (node != NULL && node->vgn_gpa < gpa) { in vmm_gpt_populate_region_lvl() 505 prev = node; in vmm_gpt_populate_region_lvl() 506 node = node->vgn_sib_next; in vmm_gpt_populate_region_lvl() 513 if (node == NULL || node->vgn_gpa > gpa) { in vmm_gpt_populate_region_lvl() 520 prev = node; in vmm_gpt_populate_region_lvl() 579 node = vmm_gpt_populate_region_lvl(gpt, addr, len, node); in vmm_gpt_populate_region() 605 node = next; in vmm_gpt_populate_region() [all …]
|
/illumos-gate/usr/src/cmd/isns/isnsd/xml/ |
H A D | data.c | 601 node = node->next; in parse_xml_obj() 944 node = node->children; in xml_load_obj() 948 node = node->children; in xml_load_obj() 951 node = node->next; in xml_load_obj() 958 node = node->parent; in xml_load_obj() 961 node = node->next; in xml_load_obj() 1047 node = node->children; in xml_add_obj() 1059 node = node->next; in xml_add_obj() 1067 node = xmlAddChild(node, candidate); in xml_add_obj() 1351 node = node->children; in xml_delete_assoc() [all …]
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | check.h | 43 void check_arrow(struct node *np); 48 void check_propscope(struct node *np); 50 void check_upset_engine(struct node *lhs, struct node *rhs, void *arg); 51 void check_refcount(struct node *lhs, struct node *rhs, void *arg); 53 void check_cycle(struct node *lhs, struct node *rhs, void *arg); 54 void check_type_iterator(struct node *np); 55 void check_name_iterator(struct node *np); 56 void check_func(struct node *np); 57 void check_expr(struct node *np); 58 void check_event(struct node *np); [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_rwx_004_pos.ksh | 51 typeset node=$3 56 rwx_node $user $node $access 68 $log rwx_node $user $node $access 74 typeset node=$1 93 log_must usr_exec chmod A0- $node 99 log_must usr_exec chmod A0- $node 100 log_must usr_exec chmod A0- $node 107 log_must usr_exec chmod A0- $node 108 log_must usr_exec chmod A0- $node 117 typeset node [all …]
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_dr.c | 58 pnode_t node, in sbdp_walk_prom_tree_worker() argument 66 (void) (*f)(node, arg, 0); in sbdp_walk_prom_tree_worker() 68 if (node != OBP_NONODE) { in sbdp_walk_prom_tree_worker() 75 pnode_t node; member 95 arg_block.node = node; in sbdp_walk_prom_tree() 119 if (node == OBP_NONODE) in sbdp_attach_branch() 148 child = prom_childnode(node); in sbdp_attach_branch() 162 int node; in sbdp_find_ssm_dip() local 178 if (node == apktp->node) { in sbdp_find_ssm_dip() 293 apktp->node = node; in sbdp_attach_bd() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | obj_mgr.c | 460 if (node) in object_mgr_add() 643 if (node) in object_mgr_copy() 834 if (node) in object_mgr_create_final() 1042 node = node->next; in object_mgr_find_in_map_nocache() 1083 node = node->next; in object_mgr_find_in_map1() 1126 node = node->next; in object_mgr_find_in_map2() 1317 node = node->next; in object_mgr_find_build_list() 1431 node = node->next; in object_mgr_invalidate_handle1() 1462 node = node->next; in object_mgr_invalidate_handle2() 1527 node = node->next; in object_mgr_purge_session_objects() [all …]
|
/illumos-gate/usr/src/cmd/make/lib/mksh/ |
H A D | misc.cc | 948 node = node->left; in lookup() 950 node = node->right; in lookup() 968 node = node->left; in insert() 978 node = node->right; in insert() 1007 node = node->left; in insert() 1015 node = node->right; in insert() 1033 for (; node != 0; node = node->parent) { in rebalance() 1083 for (entry *node = root; node != 0; node = node->left) { in begin() local 1095 node = node->right; in operator ++() 1097 node = node->left; in operator ++() [all …]
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare.c | 329 node = node->parent; in sa_find_group_handle() 355 node = node->next) { in set_legacy_timestamp() 1220 for (node = node->xmlChildrenNode; node != NULL; in find_group_by_name() 1221 node = node->next) { in find_group_by_name() 1321 node = node->next) { in sa_get_share() 1357 node = node->next) { in sa_get_next_share() 2408 node = node->next) { in sa_get_optionset() 2442 node = node->next) { in sa_get_next_optionset() 2540 for (node = node->children; node != NULL; in sa_get_property() 3539 for (node = node->children; node != NULL; in sa_get_protocol_section() [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 49 #define DRVINST(node) di_driver_name(node), di_instance(node) argument 460 di_node_t curnode = node; in pci_cfg_chassis_node() 578 di_driver_name(node), di_instance(node), devtype, pci_dev); in pci_cfg_ap_node() 738 if (curnode == node) in pci_cfg_ap_path() 754 if (curnode != node) { in pci_cfg_ap_path() 773 if (curnode == node) in pci_cfg_ap_path() 1028 di_node_t node; in pci_cfg_snapshot() local 1050 *ret_node = node; in pci_cfg_snapshot() 1053 } while ((node = di_drv_next_node(node)) != DI_NODE_NIL); in pci_cfg_snapshot() 1055 if (node == DI_NODE_NIL) in pci_cfg_snapshot() [all …]
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_node.c | 83 if (node == OBP_NONODE || node == OBP_BADNODE) { in prom_walk_devs() 87 stack[0] = node; in prom_walk_devs() 253 pnode_t node; in prom_chosennode() local 260 if (node != OBP_BADNODE) in prom_chosennode() 261 return (chosen = node); in prom_chosennode() 281 static pnode_t node; in prom_alias_node() local 283 if (node == 0) in prom_alias_node() 285 return (node); in prom_alias_node() 295 static pnode_t node; in prom_optionsnode() local 297 if (node == 0) in prom_optionsnode() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_protocol.c | 46 if (topo_prop_getprop(node, TOPO_PGROUP_PROTOCOL, in topo_node_asru() 51 topo_hdl_nvdup(node->tn_hdl, ap, asru) < 0) { in topo_node_asru() 72 topo_hdl_nvdup(node->tn_hdl, fp, fru) < 0) { in topo_node_fru() 87 return (topo_prop_get_fmri(node, TOPO_PGROUP_PROTOCOL, in topo_node_resource() 92 topo_node_label(tnode_t *node, char **label, int *err) in topo_node_label() argument 95 return (topo_prop_get_string(node, TOPO_PGROUP_PROTOCOL, in topo_node_label() 106 if (topo_prop_inherit(node, TOPO_PGROUP_PROTOCOL, in topo_node_asru_set() 120 if (topo_prop_set_fmri(node, TOPO_PGROUP_PROTOCOL, in topo_node_asru_set() 146 if (topo_prop_set_fmri(node, TOPO_PGROUP_PROTOCOL, in topo_node_fru_set() 163 if (topo_prop_inherit(node, TOPO_PGROUP_PROTOCOL, in topo_node_label_set() [all …]
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_dev_disc.c | 455 ASSERT(node->cfgrom == NULL || (node->cfgrom != NULL && in s1394_alloc_cfgrom() 707 SETUP_QUAD_READ(node, 1, node->cfgrom_quad_to_read, 1); in s1394_read_rest_of_cfgrom() 737 int node; in s1394_cfgrom_scan_phase1() local 761 for (node = 0; node < number_of_nodes; node++) { in s1394_cfgrom_scan_phase1() 1673 int node; in s1394_match_all_GUIDs() local 1679 for (node = 0; node < hal->number_of_nodes; node++) { in s1394_match_all_GUIDs() 1746 node->node_guid_hi, node->node_guid_lo); in s1394_valid_cfgrom() 2613 if (quadlet == node->cur_dir_start + node->cur_dir_size) { in s1394_calc_next_quad() 2624 ptr = &node->cfgrom[node->cur_dir_start]; in s1394_calc_next_quad() 2651 node->cur_dir_start + node->cur_dir_size; i++) { in s1394_calc_next_quad() [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | history.c | 576 node = node->prev; in _glh_find_backwards() 658 node = node->next; in _glh_find_forwards() 825 node = node->next) in _glh_oldest_line() 927 for(node=glh->recall; node && offset != 0; node=node->next) { in _glh_line_id() 932 for(node=glh->recall; node && offset != 0; node=node->prev) { in _glh_line_id() 1051 for(node=head; node; node=node->next) { in _glh_save_history() 1493 for(node=glh->list.head; node; node=node->next) { in _glh_show_history() 1524 for(node=oldest; node; node=node->next) { in _glh_show_history() 1769 for(node=glh->list.tail; node && ++nline <= max_lines; node=node->prev) in _glh_limit_history() 1855 for(node=glh->list.head; node; node=next) { in _glh_clear_history() [all …]
|
H A D | pcache.c | 558 for(node=pc->head; node; node=node->next) { in pca_scan_path() 853 int nfile = node->nfile = pca_scan_dir(pc, node->dir, node->mem); in add_PathNode() 1047 for(node=pc->head; node; node=node->next) { in pca_lookup_file() 1054 if(pca_scan_dir(pc, node->dir, node->mem) < 1) in pca_lookup_file() 1056 node->files = node->mem->files; in pca_lookup_file() 1057 node->nfile = node->mem->nfiles; in pca_lookup_file() 1288 for(node=pc->head; node; node=node->next) { in CPL_MATCH_FN() 1295 if(pca_scan_dir(pc, node->dir, node->mem) < 1) in CPL_MATCH_FN() 1297 node->files = node->mem->files; in CPL_MATCH_FN() 1298 node->nfile = node->mem->nfiles; in CPL_MATCH_FN() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | c2xml.c | 55 return newProp(node, name, buf); in newNumProp() 62 return newProp(node, name, buf); in newIdProp() 67 xmlNodePtr node; in new_sym_node() local 76 newProp(node, "type", name); in new_sym_node() 78 newIdProp(node, "id", idcount); in new_sym_node() 81 newProp(node, "ident", ident); in new_sym_node() 93 sym->aux = node; in new_sym_node() 97 return node; in new_sym_node() 105 examine_symbol(sym, node); in examine_members() 153 newProp(node, modifiers[i], "1"); in examine_modifiers() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_lock.c | 72 SMB_NODE_VALID(node); in smb_lock_get_lock_count() 140 smb_lock_dumpnode(node); in smb_unlock_range() 355 smb_node_t *node, in smb_lock_range_access() argument 425 SMB_NODE_VALID(node); in smb_node_destroy_lock_by_ofile() 426 ASSERT(node->n_refcnt); in smb_node_destroy_lock_by_ofile() 490 smb_node_t *node; in smb_lock_range_cancel() local 577 SMB_NODE_VALID(node); in smb_nbl_conflict() 806 smb_node_t *node; in smb_lock_wait() local 1036 smb_node_t *node; in smb_lock_destroy() local 1202 (void *)node, node->n_lock_list.ll_count); in smb_lock_dumpnode() [all …]
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | mem_addr.c | 63 if (lockstep[node] || mirror_mode[node]) { in channel_in_interleave() 92 if (node && tad[node][rule].mode == 2) in channel_in_interleave() 145 node = 0; in address_to_node() 162 if (lockstep[node] || mirror_mode[node]) in channel_address() 264 int node; in channels_interleave() local 340 if (mirror_mode[node] || lockstep[node]) in socket_interleave() 424 if (lockstep[node] || mirror_mode[node]) in dimm_to_addr() 517 mirror_mode[node] || lockstep[node]) { in dimm_to_addr() 618 mirror_mode[node] || lockstep[node]) { in dimm_to_addr() 639 int node; in nhm_patounum() local [all …]
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_usb.c | 75 is_usb_node(di_node_t node) in is_usb_node() argument 134 if (is_usb_node(node) == FALSE) { in devinfo_usb_add() 138 driver_name = di_driver_name (node); in devinfo_usb_add() 222 nd = devinfo_usb_scsa2usb_add (d, node); in devinfo_usb_add() 224 nd = devinfo_usb_printer_add (d, node); in devinfo_usb_add() 229 nd = devinfo_usb_input_add(d, node); in devinfo_usb_add() 234 nd = devinfo_usb_video4linux_add(d, node); in devinfo_usb_add() 307 parse_usb_if_descr(di_node_t node, int ifnum) in parse_usb_if_descr() argument 439 major = di_driver_major(node); in get_dev_link_path() 496 get_dev_link_path(node, "usb_video", in devinfo_usb_video4linux_add() [all …]
|
/illumos-gate/usr/src/cmd/device_remap/ |
H A D | device_remap.pl | 105 $node{'dataoff'} = $dataoff; 112 return %node; 121 my (%node, $tag, %prop); 124 $tag = $node{'tag'}; 129 substr($self->{DATA}, $node{'dataoff'}, $node{'datalen'} - 1); 131 $prop{'arc'} = $node{'idx'}; 133 $prop{'val'} = $node{'val'}; 167 my (%node, $nameid); 178 if ($node{'tag'} == $type && $node{'nameid'} == $nameid) { 203 my (%node); [all …]
|
/illumos-gate/usr/src/common/list/ |
H A D | list.c | 45 #define list_object(a, node) ((void *)(((char *)node) - (a)->list_offset)) argument 50 lnew->list_prev = (node); \ 53 (node)->list_next = lnew; \ 58 lnew->list_next = (node); \ 61 (node)->list_prev = lnew; \ 64 #define list_remove_node(node) \ argument 65 (node)->list_prev->list_next = (node)->list_next; \ 66 (node)->list_next->list_prev = (node)->list_prev; \ 67 (node)->list_next = (node)->list_prev = NULL 85 list_node_t *node = &list->list_head; in list_destroy() local [all …]
|