/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | dcam1394_link.c | 40 static int dcam1394_process(di_minor_t minor, di_node_t node); 93 * This function is called for every dcam1394 minor node. 98 dcam1394_process(di_minor_t minor, di_node_t node) argument 106 if (strcmp(di_driver_name(node), "dcam1394") != 0) { 125 "dcam1394_process: path %s\n", di_devfs_path(node)); 127 (void) strcpy(p_path, devfspath = di_devfs_path(node)); 151 (void) devfsadm_mklink(l_path, node, minor, 0);
|
H A D | fssnap_link.c | 38 static int fssnap(di_minor_t minor, di_node_t node); 56 fssnap(di_minor_t minor, di_node_t node) argument 67 (void) devfsadm_mklink(SNAP_CTL_NAME, node, minor, 0); 85 (void) devfsadm_mklink(path, node, minor, 0);
|
H A D | ieee1394_link.c | 35 static int ieee1394_process(di_minor_t minor, di_node_t node); 72 * This function is called for every ieee1394 minor node. 77 ieee1394_process(di_minor_t minor, di_node_t node) argument 83 devfspath = di_devfs_path(node); 109 (void) devfsadm_mklink(l_path, node, minor, 0);
|
H A D | smp_link.c | 39 static int smp_callback(di_minor_t minor, di_node_t node); 65 smp_callback(di_minor_t minor, di_node_t node) argument 75 devfspath = di_devfs_path(node); 91 (void) devfsadm_mklink(l_path, node, minor, 0);
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_cpuctl.c | 51 prom_startcpu(pnode_t node, caddr_t pc, int arg) argument 58 ci[3] = p1275_dnode2cell(node); /* Arg1: nodeid to start */ 89 prom_wakeupcpu(pnode_t node) argument 97 ci[3] = p1275_dnode2cell(node); /* Arg1: nodeid to wakeup */ 110 prom_cpuoff(pnode_t node) argument 118 ci[3] = p1275_dnode2cell(node);
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_rwx_001_pos.ksh | 65 function test_chmod_ACE_list #$opt $num $ace-spec $node 70 typeset node=$4 83 log_must usr_exec chmod "$opt$ace" "$node" 85 log_must usr_exec chmod "$opt" "$node" 90 cur_ace=$(get_ACE $node $num) 91 cur_count=$(count_ACE $node) 96 log_fail "FAIL: chmod $opt$ace $node"
|
H A D | zfs_acl_chmod_inherit_002_neg.ksh | 90 # Verify all the node have expected correct access control 138 for node in $allnodes; do 139 if [[ " $non_inherit_nodes " == *" $node "* ]]; then 172 if [[ -d $node ]]; then 191 aclcur=$(get_ACE $node $count) 196 ls -vd $node 203 compare_acls $node $odir 206 ls -vd $node 208 "$node, $inherit ($str)" 212 elif [[ -f $node ]]; the [all...] |
H A D | zfs_acl_chmod_rwx_002_pos.ksh | 133 # Based on the initial node map before chmod and the ace-spec, check if chmod 136 function check_test_result #init_mode node acl_flag acl_access a_type 139 typeset node=$2 158 typeset cur_mode=$(get_mode $node) 170 function test_chmod_map #<node> 172 typeset node=$1 176 if (( ${#node} == 0 )); then 196 log_must usr_exec chmod $init_mask $node 197 init_mode=$(get_mode $node) 199 log_must usr_exec eval "ls -vd $node > [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | uuid_from_string.c | 112 u->node[0] = fromhex(s + 24, 2, &ok); 113 u->node[1] = fromhex(s + 26, 2, &ok); 114 u->node[2] = fromhex(s + 28, 2, &ok); 115 u->node[3] = fromhex(s + 30, 2, &ok); 116 u->node[4] = fromhex(s + 32, 2, &ok); 117 u->node[5] = fromhex(s + 34, 2, &ok);
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_funcs.c | 116 dump_node(Prom_node *node) argument 124 node->props = NULL; 225 if (node->props == NULL) 226 node->props = new; 312 * Check if the Prom node passed in contains a property called 316 has_board_num(Prom_node *node) argument 318 Prop *prop = node->props; 321 * walk thru all properties in this PROM node and look for 336 * node. It has the type of int. 339 get_board_num(Prom_node *node) argument 457 Prom_node *node; local 467 Prom_node *node; local 481 Prom_node *node; local 495 Prom_node *node; local 571 node_failed(Prom_node *node) argument 577 node_status(Prom_node *node, char *status) argument 699 Prom_node *node; local 729 Prom_node *node; local 759 Prom_node *node; local 814 Prom_node *node; local [all...] |
/illumos-gate/usr/src/lib/efcode/include/fcdriver/ |
H A D | fcdriver.h | 40 device_t *node; member in struct:NODEIDs 57 fc_phandle_t node; member in struct:MY_PRIVATE_DATA
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | pcache.c | 136 * Append a new node to the list of directories in the path. 513 PathNode *node; /* A node in the list of directory paths */ local 544 * Add a new node to the list of paths, containing both the 552 * The file arrays in each absolute directory node are sections of 554 * of these sections in each directory node. Note that this couldn't 560 for(node=pc->head; node; node=node 810 PathNode *node; /* The new directory list node */ local 1015 PathNode *node; /* A node in the list of directories in the path */ local 1219 PathNode *node; /* A node in the list of directories in the path */ local 1702 PathNode *node; /* A node in the list of directories in the path */ local [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | tfind.c | 48 typedef struct node { void *key; struct node *llink, *rlink; } NODE; struct 51 /* tfind - find a node, or return 0 */
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctprc2.c | 129 void print_node(const void *node, VISIT order, int level) { argument 131 tb.ta_uid = (*(struct utab **)node)->ut_uid; 132 CPYN(tb.ta_name, (*(struct utab **)node)->ut_name); 133 tb.ta_cpu[0] = ((*(struct utab **)node)->ut_cpu[0]); 134 tb.ta_cpu[1] = ((*(struct utab **)node)->ut_cpu[1]); 135 tb.ta_kcore[0] = (*(struct utab **)node)->ut_kcore[0]; 136 tb.ta_kcore[1] = (*(struct utab **)node)->ut_kcore[1]; 137 tb.ta_pc = (*(struct utab **)node)->ut_pc;
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo.h | 25 HalDevice *(*add) (HalDevice *parent, di_node_t node, char *devfs_path, char *device_type); 39 #define PROP_INT(d, node, v, diprop, halprop) \ 40 if (di_prop_lookup_ints(DDI_DEV_T_ANY, node, diprop, &(v)) > 0) { \ 44 #define PROP_STR(d, node, v, diprop, halprop) \ 45 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, diprop, &(v)) > 0) { \ 49 #define PROP_BOOL(d, node, v, diprop, halprop) \ 51 (di_prop_lookup_ints(DDI_DEV_T_ANY, node, diprop, &(v)) >= 0)); 56 void devinfo_set_default_properties (HalDevice *d, HalDevice *parent, di_node_t node, char *devfs_path);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ddi_hp_impl.h | 105 /* Append a node to list */ 106 #define DDIHP_LIST_APPEND(type, head, node) \ 107 if (node) { \ 109 (node)->next = NULL; \ 112 (head) = (node); \ 114 prev->next = (node); \ 117 /* Remove a node from a list */ 118 #define DDIHP_LIST_REMOVE(type, head, node) \ 119 if (node) { \ 122 if (curr == (node)) \ [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_lock.c | 59 smb_lock_get_lock_count(smb_node_t *node, smb_ofile_t *of) argument 65 SMB_NODE_VALID(node); 68 llist = &node->n_lock_list; 93 smb_node_t *node, 101 smb_llist_enter(&node->n_lock_list, RW_WRITER); 102 status = smb_lock_range_ulckrules(sr, node, start, length, &lock); 109 smb_llist_exit(&node->n_lock_list); 113 smb_llist_remove(&node->n_lock_list, lock); 114 smb_lock_posix_unlock(node, lock, sr->user_cr); 115 smb_llist_exit(&node 91 smb_unlock_range( smb_request_t *sr, smb_node_t *node, uint64_t start, uint64_t length) argument 147 smb_node_t *node = file->f_node; local 270 smb_lock_range_access( smb_request_t *sr, smb_node_t *node, uint64_t start, uint64_t length, boolean_t will_write) argument 308 smb_node_destroy_lock_by_ofile(smb_node_t *node, smb_ofile_t *file) argument 384 smb_nbl_conflict(smb_node_t *node, uint64_t off, uint64_t len, nbl_op_t op) argument 424 smb_lock_posix_unlock(smb_node_t *node, smb_lock_t *lock, cred_t *cr) argument 526 smb_lock_range_lckrules( smb_request_t *sr, smb_ofile_t *file, smb_node_t *node, smb_lock_t *dlock, smb_lock_t **clockp) argument 695 smb_lock_range_ulckrules( smb_request_t *sr, smb_node_t *node, uint64_t start, uint64_t length, smb_lock_t **nodelock) argument [all...] |
/illumos-gate/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 255 di_node_t target_node, node; local 265 /* mark the target node so we display it */ 270 * mark the ancestors of this node so we display 273 node = target_node; 274 while (node = di_parent_node(node)) 275 node_display_set(node); 282 * depth of the target node in the tree. we do 285 * target node starts with an indentation of zero. 287 node 320 i_find_target_node(di_node_t node, void *arg) argument 374 node_display(di_node_t node) argument 381 node_display_set(di_node_t node) argument 544 dump_prop_list(const dumpops_t *dumpops, const char *name, int ilev, void *node, dev_t dev, int *compat_printed) argument 714 di_node_t node; local 729 dump_devs(di_node_t node, void *arg) argument 1041 dump_pathing_data(int ilev, di_node_t node) argument 1155 create_minor_list(di_node_t node) argument 1243 di_node_t node = DI_NODE_NIL; local 1308 dump_minor_link_data(int ilev, di_node_t node, dev_t devt, di_devlink_handle_t devlink_hdl) argument 1364 dump_minor_data(int ilev, di_node_t node, di_devlink_handle_t devlink_hdl) argument 1483 dump_link_data(int ilev, di_node_t node, di_devlink_handle_t devlink_hdl) argument 1840 get_propval_by_name(di_prom_handle_t promh, di_node_t node, const char *name, uchar_t **valp) argument 1857 dump_prodinfo(di_prom_handle_t promh, di_node_t node, const char **propstr, char *node_name, int num) argument 1905 dump_compatible(char *name, int ilev, di_node_t node) argument 1950 dump_pciid(char *name, int ilev, di_node_t node, pcidb_hdl_t *pci) argument [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/ |
H A D | acl_common.kshlib | 353 # $2 node 356 function rwx_node #user node acl_spec|access 359 typeset node=$2 362 if [[ $user == "" || $node == "" || $acl_spec == "" ]]; then 363 log_note "node or acl_spec are not defined." 367 if [[ -d $node ]]; then 370 chgusr_exec $user ls -l $node > /dev/null 2>&1 373 if [[ -f ${node}/tmpfile ]]; then 374 log_must rm -f ${node}/tmpfile 376 chgusr_exec $user touch ${node}/tmpfil [all...] |
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | util.c | 108 prom_printf("Missing chosen node\n"); 272 * install remap definition in /virtual-memory node; 316 get_intprop(pnode_t node, caddr_t prop, void *dst) argument 321 glen = prom_getprop(node, prop, dst); 330 * find cpu node for the boot processor 339 pnode_t node; local 348 for (node = prom_rootnode(); ; node = prom_nextnode(node)) { 349 node 386 pnode_t node; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_2xml.c | 105 txml_print_prop(topo_hdl_t *thp, FILE *fp, tnode_t *node, const char *pgname, argument 115 if (topo_prop_get_int32(node, pgname, pv->tp_name, &val, 126 if (topo_prop_get_uint32(node, pgname, pv->tp_name, 137 if (topo_prop_get_int64(node, pgname, pv->tp_name, &val, 149 if (topo_prop_get_uint64(node, pgname, pv->tp_name, 160 if (topo_prop_get_string(node, pgname, pv->tp_name, 169 if (topo_prop_get_fmri(node, pgname, pv->tp_name, &val, 187 if (topo_prop_get_uint32_array(node, pgname, 230 txml_print_pgroup(topo_hdl_t *thp, FILE *fp, tnode_t *node, topo_pgroup_t *pg) argument 244 txml_print_prop(thp, fp, node, pi 250 txml_print_dependents(topo_hdl_t *thp, FILE *fp, tnode_t *node) argument 260 txml_print_node(topo_hdl_t *thp, FILE *fp, tnode_t *node) argument 277 txml_print_range(topo_hdl_t *thp, FILE *fp, tnode_t *node, int dependent) argument 317 txml_print_topology(topo_hdl_t *thp, FILE *fp, char *scheme, tnode_t *node) argument [all...] |
/illumos-gate/usr/src/uts/common/io/vscan/ |
H A D | vscan_svc.c | 200 * vscand. vscand uses the idx to determine which minor node 237 * node table - vscan_svc_nodes 632 vscan_svc_node_t *node; local 638 node = &vscan_svc_nodes[idx]; 644 node->vsn_access = VS_ACCESS_ALLOW; 651 node->vsn_access = VS_ACCESS_DENY; 658 /* free up mutex around create node and door call */ 690 vscan_svc_node_t *node; local 694 node = &vscan_svc_nodes[idx]; 695 req = node 764 vscan_svc_node_t *node; local 850 vscan_svc_node_t *node; local 922 vscan_svc_node_t *node; local 982 vscan_svc_node_t *node; local 1237 vscan_svc_node_t *node; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_subr.c | 67 * name and value and add that combination to the given node in the 72 nvprop_add(topo_mod_t *mod, nvpair_t *nvp, const char *pgname, tnode_t *node) argument 83 topo_prop_set_string(node, pgname, pname, 93 topo_prop_set_uint32(node, pgname, pname, 103 topo_prop_set_uint64(node, pgname, pname, 114 nelem > 0 && topo_prop_set_uint32_array(node, pgname, pname, 124 topo_prop_set_string(node, pgname, pname, 132 "'%s' in property group %s of %s node\n", 133 nvpair_type(nvp), pname, pgname, topo_node_name(node)); 143 * topo node 147 add_nvlist_strprop(topo_mod_t *mod, tnode_t *node, nvlist_t *nvl, const char *pgname, const char *pname, const char **pvalp) argument 174 add_nvlist_longprop(topo_mod_t *mod, tnode_t *node, nvlist_t *nvl, const char *pgname, const char *pname, int32_t *pvalp) argument 201 add_nvlist_longprops(topo_mod_t *mod, tnode_t *node, nvlist_t *nvl, const char *pgname, int32_t *pvalap, ...) argument 265 mem_asru_compute(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 365 fmri_replaced(topo_mod_t *mod, tnode_t *node, nvlist_t *unum, int *errp) argument 442 rank_fmri_present(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 471 rank_fmri_replaced(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 528 strand_walker(topo_mod_t *mod, tnode_t *node, void *pdata) argument 616 retire_strands(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 640 unretire_strands(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 664 service_state_strands(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 691 unusable_strands(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 730 ntv_page_retire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 750 ntv_page_unretire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 770 ntv_page_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 797 ntv_page_unusable(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument [all...] |
/illumos-gate/usr/src/tools/stabs/ |
H A D | main.c | 40 extern void forth_do_sou(struct tdesc *, struct node *); 41 extern void forth_do_enum(struct tdesc *, struct node *); 42 extern void forth_do_intrinsic(struct tdesc *, struct node *); 43 extern void genassym_do_sou(struct tdesc *, struct node *); 44 extern void genassym_do_enum(struct tdesc *, struct node *); 45 extern void genassym_do_intrinsic(struct tdesc *, struct node *); 46 extern void squander_do_sou(struct tdesc *, struct node *); 47 extern void squander_do_enum(struct tdesc *, struct node *); 48 extern void squander_do_intrinsic(struct tdesc *, struct node *); 58 void (*do_sou)(struct tdesc *, struct node *); [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4u/pcibus/ |
H A D | pci_sun4u.c | 42 platform_pci_label(topo_mod_t *mod, tnode_t *node, nvlist_t *in, argument 45 return (pci_label_cmn(mod, node, in, out)); 48 platform_pci_fru(topo_mod_t *mod, tnode_t *node, nvlist_t *in, argument 51 return (pci_fru_compute(mod, node, in, out));
|