/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_storage.c | 265 "%s/%s%d", hal_device_get_udi (parent), di_node_name(node), di_instance (node)); in devinfo_scsi_add() 390 "%s/%s%d", hal_device_get_udi (parent), di_node_name(node), di_instance (node)); in devinfo_blkdev_add() 461 major = di_driver_major(node); in devinfo_floppy_add() 551 di_node_t node; in devinfo_floppy_rescan_probing_done() local 580 di_fini (node); in devinfo_floppy_rescan_probing_done() 620 "%s/%s%d", hal_device_get_udi (parent), di_node_name(node), di_instance (node)); in devinfo_lofi_add_major() 636 major = di_driver_major(node); in devinfo_lofi_add_major() 702 devinfo_volume_add (d, node, m); in devinfo_lofi_add_minor() 828 major = di_driver_major(node); in devinfo_storage_minors() 1264 di_node_t node; in devinfo_storage_rescan_probing_done() local [all …]
|
/illumos-gate/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 59 di_node_t node; member 134 new_disk_list_entry(di_node_t node) in new_disk_list_entry() argument 156 devfspath = di_devfs_path(node); in new_disk_list_entry() 176 new_disk_list_entry(node); in i_disktype() 220 parentnode = di_parent_node(node); in i_match_pcibdf() 250 pbp->di_node = node; in i_match_pcibdf() 286 usbsp->node = node; in i_match_usbserialno() 299 usbs.node = DI_NODE_NIL; in search_tree_match_usbserialno() 302 return (usbs.node); in search_tree_match_usbserialno() 360 di_node_t node, cnode = DI_NODE_NIL; in match_edd() local [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_delete_001_pos.ksh | 104 typeset node=$2 110 if [[ -d $node ]]; then 113 chgusr_exec $user rm -f $node ; ret=$? 116 if [[ -e $node ]]; then 164 typeset node=$1 183 $log operate_node $g_usr $node 187 $log operate_node $o_usr $node 192 $log operate_node $user $node 198 typeset node=${1%/} 203 parent=${node%/*} [all …]
|
H A D | zfs_acl_chmod_rwx_003_pos.ksh | 64 typeset node=$1 70 [[ $user == root && -d $node ]] || \ 81 typeset node=$1 92 log=$(logname $node $acl_spec $g_usr) 93 $log rwx_node $g_usr $node $acl_spec 96 log=$(logname $node $acl_spec $o_usr) 97 $log rwx_node $o_usr $node $acl_spec 103 typeset node=$1 112 log_must usr_exec chmod A+$acl_spec $node 114 $node $acl_spec $g_usr $o_usr [all …]
|
H A D | zfs_acl_chmod_inherit_002_neg.ksh | 138 for node in $allnodes; do 172 if [[ -d $node ]]; then 196 ls -vd $node 203 compare_acls $node $odir 206 ls -vd $node 212 elif [[ -f $node ]]; then 216 ls -vd $node 227 if [[ -d $node ]]; then 228 compare_acls $node $odir 229 elif [[ -f $node ]]; then [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | typegraph.c | 1161 for (; node < *tgp; node++) { in typegraph_kmem() 1291 src = node; in typegraph_build_anchored() 1400 tg_node_t *node; in typegraph_thread() local 1502 tg_node_t *node; in typegraph_stats_buffer() local 1949 tg_node_t *node; in typegraph_pass3() local 2147 node = dest; in typegraph_postpass_node() 2153 node->tgn_typelist == NULL && node->tgn_fraglist == NULL) { in typegraph_postpass_node() 2226 maxnode = node; in typegraph_postpass() 2279 tg_node_t *node; in typegraph_modctl() local 2628 node->tgn_base, node->tgn_limit, in whattype() [all …]
|
/illumos-gate/usr/src/cmd/sysdef/ |
H A D | sdevinfo.c | 43 static int dump_node(di_node_t node, void *arg); 67 dump_node(di_node_t node, void *arg) in dump_node() argument 75 tmp = node; in dump_node() 92 di_node_name(node), in dump_node() 93 di_instance(node)); in dump_node() 95 if (driver_name = di_driver_name(node)) { in dump_node() 99 } else if (di_state(node) & DI_DRIVER_DETACHED) { in dump_node() 106 (void) printf("%s", di_node_name(node)); in dump_node() 107 if (di_instance(node) >= 0) in dump_node() 109 di_instance(node)); in dump_node() [all …]
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | hash.c | 47 struct node struct 50 struct node *next; argument 53 static struct node **last; 54 static struct node *next; 55 static struct node **table; 68 table = (struct node **)alloc(TABLENGTH * sizeof(struct node *)); in hcreate() 90 struct node *p, *nxt; 111 struct node *p; 112 struct node **q; 149 struct node *p = (struct node *)alloc(sizeof(struct node));
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_cmn_setfile.c | 57 smb_node_t *node = si->si_node; in smb_set_basic_info() local 72 if (smb_node_is_dir(node)) { in smb_set_basic_info() 132 smb_node_t *node = si->si_node; in smb_set_eof_info() local 140 if (smb_node_is_dir(node)) in smb_set_eof_info() 148 (void) smb_oplock_wait_break(sr, node, 0); in smb_set_eof_info() 174 smb_node_t *node = si->si_node; in smb_set_alloc_info() local 182 if (smb_node_is_dir(node)) in smb_set_alloc_info() 190 (void) smb_oplock_wait_break(sr, node, 0); in smb_set_alloc_info() 247 smb_node_t *node = si->si_node; in smb_set_disposition_info() local 260 smb_node_reset_delete_on_close(node); in smb_set_disposition_info() [all …]
|
H A D | smb_srv_oplock.c | 165 smb_node_t *node = ofile->f_node; in smb_oplock_ind_break_in_ack() local 281 smb_node_t *node = ofile->f_node; in smb_oplock_ind_break() local 547 smb_node_t *node = ofile->f_node; in smb_oplock_hdl_update() local 710 node->od_name); in smb_oplock_wait_ack() 789 SMB_NODE_VALID(node); in smb_oplock_wait_break_cancel() 790 ol = &node->n_oplock; in smb_oplock_wait_break_cancel() 820 SMB_NODE_VALID(node); in smb_oplock_wait_break() 821 ol = &node->n_oplock; in smb_oplock_wait_break() 837 sr->cancel_arg2 = node; in smb_oplock_wait_break() 910 SMB_NODE_VALID(node); in smb_oplock_wait_break_fem() [all …]
|
H A D | smb2_lease.c | 276 smb_node_t *node = lease->ls_node; in lease_find_oplock() local 284 FOREACH_NODE_OFILE(node, o) { in lease_find_oplock() 314 smb_node_t *node; in smb2_lease_break_ack() local 356 node = lease->ls_node; in smb2_lease_break_ack() 520 smb_node_t *node = ofile->f_node; in lease_send_any_cn() local 534 FOREACH_NODE_OFILE(node, o) { in lease_send_any_cn() 580 smb_node_t *node = ofile->f_node; in lease_close_notconn() local 583 FOREACH_NODE_OFILE(node, o) { in lease_close_notconn() 1034 FOREACH_NODE_OFILE(node, o) { in smb2_lease_ofile_close() 1050 FOREACH_NODE_OFILE(node, o) { in smb2_lease_ofile_close() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/ |
H A D | acl_common.kshlib | 359 typeset node=$2 367 if [[ -d $node ]]; then 374 log_must rm -f ${node}/tmpfile 423 typeset node=$1 426 if [[ -z $node ]]; then 430 if [[ -d $node ]]; then 432 elif [[ -e $node ]]; then 444 typeset node=$1 447 if [[ -z $node ]]; then 451 if [[ -d $node ]]; then [all …]
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | lgrpplat.c | 633 for (node = 0; node < lgrp_plat_max_mem_node; node++) { in plat_mnode_xcheck() 712 for (node = 0; node < lgrp_plat_max_mem_node; node++) { in plat_pfn_to_mem_node() 857 lgrp_plat_cpu_node[cp->cpu_id].node = node; in lgrp_plat_config() 1388 cpu_node[i].node == node) in lgrp_plat_cpu_node_update() 1402 cpu_node[i].node = node; in lgrp_plat_cpu_node_update() 1476 node = (node + 1) % node_cnt; in lgrp_plat_domain_to_node() 2194 node = NODE_DOMAIN_HASH(node + 1, node_cnt); in lgrp_plat_node_domain_update() 2272 memnode_info[node].lgrphand = node; in lgrp_plat_memnode_info_update() 2430 if (cpu_node[i].node != node) in lgrp_plat_node_sort() 2431 cpu_node[i].node = node; in lgrp_plat_node_sort() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | btree.c | 300 node = (zfs_btree_core_t *)node->btc_children[child], depth++) { in zfs_btree_find() 560 zfs_btree_hdr_t *node; in zfs_btree_first_helper() local 562 for (node = hdr; zfs_btree_is_core(node); in zfs_btree_first_helper() 563 node = ((zfs_btree_core_t *)node)->btc_children[0]) in zfs_btree_first_helper() 1163 for (node = hdr; zfs_btree_is_core(node); node = in zfs_btree_last_helper() 1164 ((zfs_btree_core_t *)node)->btc_children[node->bth_count]) in zfs_btree_last_helper() 1173 return (leaf->btl_elems + (node->bth_first + node->bth_count - 1) * in zfs_btree_last_helper() 1230 node != NULL; node = node->btc_hdr.bth_parent) { in zfs_btree_next_helper() 1315 node != NULL; node = node->btc_hdr.bth_parent) { in zfs_btree_prev() 1482 node->btc_children[0]->bth_parent = node; in zfs_btree_remove_from_node() [all …]
|
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_cr_6805792_varmovetest1.sh | 106 compound node 108 node.one="dummy1" 109 node.two="dummy2" 116 nameref nodeone=node.one 117 nameref nodetwo=node.two 122 typeset -m tr.subtree["a_node"]=node 134 nameref node=tr.subtree["a_node"] 136 node.one="hello" 137 node.two="world"
|
/illumos-gate/usr/src/cmd/smbsrv/testoplock/ |
H A D | tol_main.c | 122 smb_node_t *node = &test_node; in do_show() local 137 FOREACH_NODE_OFILE(node, f) { in do_show() 165 smb_node_t *node = &test_node; in do_open() local 182 node->n_open_count++; in do_open() 190 smb_node_t *node = &test_node; in do_close() local 207 node->n_open_count--; in do_close() 248 smb_node_t *node = &test_node; in do_ack() local 365 smb_node_t *node = &test_node; in do_move() local 396 smb_node_t *node = &test_node; in do_waiters() local 566 smb_node_t *node, in smb_lock_range_access() argument [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | ip_rcm.c | 396 ip_cache_t *node; in ip_offline() local 619 if (!node) { in ip_get_info() 713 if (!node) { in ip_remove() 723 free_node(node); in ip_remove() 995 if (node) { in free_node() 1012 free(node); in free_node() 1030 node->ip_next->ip_prev = node; in cache_insert() 1031 node->ip_prev->ip_next = node; in cache_insert() 1044 node->ip_next->ip_prev = node->ip_prev; in cache_remove() 1045 node->ip_prev->ip_next = node->ip_next; in cache_remove() [all …]
|
H A D | network_rcm.c | 273 net_cache_t *node; in net_passthru() local 285 if (!node) { in net_passthru() 311 free_node(node); in net_passthru() 425 net_cache_t *node; in net_getinfo() local 439 if (!node) { in net_getinfo() 599 if (node) { in free_node() 601 free(node); in free_node() 617 node->next->prev = node; in cache_insert() 618 node->prev->next = node; in cache_insert() 629 node->next->prev = node->prev; in cache_remove() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | opl_cfg.c | 453 dev_info_t *node; in opl_init_nodes() local 473 node = ddi_get_next_sibling(node); in opl_init_nodes() 485 node = ddi_get_next_sibling(node); in opl_init_nodes() 725 (void *)node); in opl_destroy_node() 954 dev_info_t *node; in opl_probe_cpu_chips() local 1117 dev_info_t *node; in opl_probe_memory() local 1128 if (node == NULL) { in opl_probe_memory() 2528 for (node = ddi_get_child(parent); (node != NULL); node = in opl_init_leaves() 2698 dev_info_t **node; in opl_unprobe_io() local 2733 *node = NULL; in opl_unprobe_io() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | sess_mgr.c | 309 while (node) { in session_mgr_find() 317 node = node->next; in session_mgr_find() 385 while (node) { in session_mgr_new() 398 node = node->next; in session_mgr_new() 458 node = node->next; in session_mgr_so_session_exists() 487 node = node->next; in session_mgr_user_session_exists() 516 node = node->next; in session_mgr_public_session_exists() 544 node = node->next; in session_mgr_readonly_exists() 567 if (! node) { in session_mgr_close_session() 726 node = node->next; in session_mgr_login_all() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_door.c | 385 ipmgmt_aobjmap_t node; in ipmgmt_aobjop_handler() local 399 bzero(&node, sizeof (node)); in ipmgmt_aobjop_handler() 404 node.am_family = af; in ipmgmt_aobjop_handler() 410 node.am_lnum = -1; in ipmgmt_aobjop_handler() 423 bzero(&node, sizeof (node)); in ipmgmt_aobjop_handler() 428 node.am_family = af; in ipmgmt_aobjop_handler() 429 node.am_lnum = lnum; in ipmgmt_aobjop_handler() 440 bzero(&node, sizeof (node)); in ipmgmt_aobjop_handler() 446 node.am_lnum = lnum; in ipmgmt_aobjop_handler() 447 node.am_family = af; in ipmgmt_aobjop_handler() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_subr.c | 85 topo_prop_set_string(node, pgname, pname, in nvprop_add() 95 topo_prop_set_uint32(node, pgname, pname, in nvprop_add() 105 topo_prop_set_uint64(node, pgname, pname, in nvprop_add() 126 topo_prop_set_string(node, pgname, pname, in nvprop_add() 158 if (topo_prop_set_string(node, pgname, pname, in add_nvlist_strprop() 185 if (topo_prop_set_int32(node, pgname, pname, in add_nvlist_longprop() 403 dimmnode = topo_node_parent(node); in fmri_replaced() 452 switch (fmri_replaced(mod, node, in, &err)) { in rank_fmri_present() 539 if (node != swdp->parent && in strand_walker() 543 if (strcmp(topo_node_name(node), STRAND) != 0) in strand_walker() [all …]
|
/illumos-gate/usr/src/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, "link"];
|
/illumos-gate/usr/src/cmd/vi/misc/ |
H A D | ctags.c | 946 while (node) { 949 free(node); 950 node = next; 965 node->file, lineno, node->entry); 1016 node->entry, node->file, searchar); 1027 node->entry, node->file, (node->lno+63)/64); 1030 node->entry, node->lno, node->file, node->pat); 1039 node->entry, node->file, searchar); 1050 node->entry, node->file, node->lno); 1053 node->entry, node->file, (node->lno+63)/64); [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | cpu_prop_update.c | 48 prop_exists(picl_nodehdl_t node, char *name) in prop_exists() argument 66 if (!prop_exists(node, name)) { in add_md_prop() 69 (void) ptree_create_and_add_prop(node, &propinfo, in add_md_prop() 121 add_md_prop(node, sizeof (int_value), property, in add_tlb_props() 183 add_md_prop(node, sizeof (int_value), property, in add_cache_props() 274 add_cpu_prop(picl_nodehdl_t node, void *args) in add_cpu_prop() argument 347 add_clock_frequency(node, cpulistp[x]); in add_cpu_prop() 349 add_compatible(node, cpulistp[x]); in add_cpu_prop() 351 add_device_type(node); in add_cpu_prop() 359 add_cache_props(node, cachelistp, ncaches); in add_cpu_prop() [all …]
|