Searched refs:node (Results 101 - 125 of 778) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_pci.c31 HalDevice *devinfo_pci_add (HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
42 HalDevice *devinfo_pci_add (HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
63 devinfo_set_default_properties (d, parent, node, devfs_path);
68 if (di_prop_lookup_ints (DDI_DEV_T_ANY, node, "vendor-id", &i) > 0) {
71 if (di_prop_lookup_ints (DDI_DEV_T_ANY, node, "device-id", &i) > 0) {
74 if (di_prop_lookup_ints (DDI_DEV_T_ANY, node, "subsystem-vendor-id", &i) > 0) {
77 if (di_prop_lookup_ints (DDI_DEV_T_ANY, node, "subsystem-id", &i) > 0) {
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dutility.c34 // Adds the specified node to the start of the list
41 DL_NODE *node = NULL; local
45 node = (DL_NODE *)malloc(sizeof (DL_NODE));
46 if (! node)
48 node->data = data;
49 node->prev = NULL;
50 node->next = list;
52 list->prev = node;
54 return (node);
60 // Adds the specified node t
66 DL_NODE *node = NULL; local
94 DL_NODE *node = list; local
156 dlist_next(DL_NODE *node) argument
167 dlist_prev(DL_NODE *node) argument
178 DL_NODE *node; local
196 dlist_remove_node(DL_NODE *list, DL_NODE *node) argument
[all...]
/illumos-gate/usr/src/cmd/biosdev/
H A Dbiosdev.c45 * structure used for searching device tree for a node matching
56 * structure used for searching device tree for a node matching
61 di_node_t node; member in struct:__anon44
112 static void new_disk_list_entry(di_node_t node);
113 static int i_disktype(di_node_t node, di_minor_t minor, void *arg);
122 static di_node_t search_tree_match_pcibdf(di_node_t node, int bus, int dev,
124 static int i_match_pcibdf(di_node_t node, void *arg);
126 static di_node_t search_tree_match_usbserialno(di_node_t node,
128 static int i_match_usbserialno(di_node_t node, void *arg);
130 static di_node_t search_children_match_busaddr(di_node_t node,
136 new_disk_list_entry(di_node_t node) argument
167 i_disktype(di_node_t node, di_minor_t minor, void *arg) argument
210 i_match_pcibdf(di_node_t node, void *arg) argument
261 search_tree_match_pcibdf(di_node_t node, int bus, int dev, int fn) argument
275 i_match_usbserialno(di_node_t node, void *arg) argument
295 search_tree_match_usbserialno(di_node_t node, uint64_t serialno) argument
325 search_children_match_busaddr(di_node_t node, char *matchbusaddr) argument
362 di_node_t node, cnode = DI_NODE_NIL; local
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c64 #define WWN_PROP "node-wwn"
80 static bus_t *add_bus(struct search_args *args, di_node_t node,
82 static int add_cluster_devs(di_node_t node, di_minor_t minor,
85 di_node_t node, di_minor_t minor);
87 static int add_devs(di_node_t node, di_minor_t minor, void *arg);
94 static char *bus_type(di_node_t node, di_minor_t minor,
101 static char *ctype(di_node_t node, di_minor_t minor);
110 static char *get_byte_prop(char *prop_name, di_node_t node);
111 static di_node_t get_parent_bus(di_node_t node,
113 static int get_prom_int(char *prop_name, di_node_t node,
192 add_bus(struct search_args *args, di_node_t node, di_minor_t minor, controller_t *cp) argument
303 add_cluster_devs(di_node_t node, di_minor_t minor, void *arg) argument
355 add_controller(struct search_args *args, di_node_t node, di_minor_t minor) argument
519 add_devs(di_node_t node, di_minor_t minor, void *arg) argument
663 di_node_t node; local
1106 ctype(di_node_t node, di_minor_t minor) argument
1414 get_byte_prop(char *prop_name, di_node_t node) argument
1437 get_parent_bus(di_node_t node, struct search_args *args) argument
1454 get_prom_int(char *prop_name, di_node_t node, di_prom_handle_t ph) argument
1466 get_prom_str(char *prop_name, di_node_t node, di_prom_handle_t ph) argument
1481 get_prop(char *prop_name, di_node_t node) argument
1500 get_str_prop(char *prop_name, di_node_t node) argument
1543 bus_type(di_node_t node, di_minor_t minor, di_prom_handle_t ph) argument
1568 is_cluster_disk(di_node_t node, di_minor_t minor) argument
1637 is_zvol(di_node_t node, di_minor_t minor) argument
1646 is_HBA(di_node_t node, di_minor_t minor) argument
1793 new_path(controller_t *cp, disk_t *dp, di_node_t node, di_path_state_t st, char *wwn) argument
[all...]
/illumos-gate/usr/src/lib/libdevinfo/
H A Dlibdevinfo.h84 /* node & device states */
108 typedef struct di_node *di_node_t; /* node */
116 typedef struct di_prop *di_prop_t; /* node property */
158 * node: traversal, data access, and parameters
161 int (*node_callback)(di_node_t node, void *arg));
164 extern di_node_t di_drv_next_node(di_node_t node);
166 extern di_node_t di_parent_node(di_node_t node);
167 extern di_node_t di_sibling_node(di_node_t node);
168 extern di_node_t di_child_node(di_node_t node);
170 extern char *di_node_name(di_node_t node);
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/pcibus/
H A Dpci_sun4v.c46 tnode_t *node; member in struct:_pci_fru
57 platform_pci_label(topo_mod_t *mod, tnode_t *node, nvlist_t *in, argument
69 result = di_bytes_get(mod, topo_node_getspecific(node),
75 /* Invoke the generic label generator for this node */
76 return (pci_label_cmn(mod, node, in, out));
81 * chassis-location-name property as the node label.
86 result = topo_node_label_set(node, nac, &err);
98 platform_pci_fru(topo_mod_t *mod, tnode_t *node, nvlist_t *in, argument
113 if (topo_prop_get_string(node, FM_FMRI_AUTHORITY,
143 nm = topo_node_name(node);
187 platform_pci_fru_location(topo_mod_t *mod, tnode_t *node, uchar_t *loc, int locsiz) argument
227 platform_pci_fru_cb(topo_mod_t *mod, tnode_t *node, void *private) argument
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_xattr_001_pos.ksh83 function operate_node #user node acl
86 typeset node=$2
90 if [[ $user == "" || $node == "" ]]; then
91 log_fail "user, node are not defined."
95 chgusr_exec $user runat $node ls > /dev/null 2>&1; ret=$?
97 chgusr_exec $user runat $node cp $MYTESTFILE attr.1 ; ret=$?
122 function check_chmod_results #node flag acl_target g_usr o_usr
124 typeset node=$1
133 $log operate_node $ZFS_ACL_CUR_USER $node $acl_target
137 $log operate_node $g_usr $node
[all...]
H A Dzfs_acl_chmod_xattr_002_pos.ksh79 function operate_node #user node acl
82 typeset node=$2
86 if [[ $user == "" || $node == "" ]]; then
87 log_fail "user, node are not defined."
90 chgusr_exec $user runat $node rm -f attr.0 ; ret=$?
115 function check_chmod_results #node flag acl_target owner g_usr o_usr
117 typeset node=$1
127 $log operate_node $ZFS_ACL_CUR_USER $node $acl_target
131 $log operate_node $g_usr $node $acl_target
135 $log operate_node $o_usr $node
[all...]
/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_getproparcs.c37 * Return an array containing the node indexes for the arcs in
38 * the given node. The array is allocated using the allocator
52 * int Count of arcs in node
55 md_get_prop_arcs(md_t *ptr, mde_cookie_t node, char *namep, mde_cookie_t *arcp, argument
64 if (node == MDE_INVAL_ELEM_COOKIE) {
73 result = md_find_node_arcs(mdp, node, prop_name, MDET_PROP_ARC, arcp,
81 * Find the number of arcs in the node of the requested prop_name. If storage
82 * is given in arcp, store the first arcsize number of node indexes.
85 md_find_node_arcs(md_impl_t *mdp, mde_cookie_t node, argument
93 /* Get the private node informatio
[all...]
H A Dmdesc_findnodeprop.c36 mde_cookie_t node,
43 if (node == MDE_INVAL_ELEM_COOKIE ||
48 idx = (int)node;
57 /* see if cookie is infact a node */
63 * Simply walk the elements in the node
35 md_find_node_prop(md_impl_t *mdp, mde_cookie_t node, mde_str_cookie_t prop_name, int tag_type) argument
H A Dmdesc_getpropdata.c34 md_get_prop_data(md_t *ptr, mde_cookie_t node, char *namep, argument
43 if (node == MDE_INVAL_ELEM_COOKIE) {
52 elem = md_find_node_prop(mdp, node, prop_name, MDET_PROP_DAT);
H A Dmdesc_getpropval.c41 md_get_prop_val(md_t *ptr, mde_cookie_t node, char *namep, uint64_t *valp) argument
49 if (node == MDE_INVAL_ELEM_COOKIE) {
58 elem = md_find_node_prop(mdp, node, prop_name, MDET_PROP_VAL);
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dcpu_prop_update.c50 prop_exists(picl_nodehdl_t node, char *name) argument
55 status = ptree_get_prop_by_name(node, name, &proph);
63 add_md_prop(picl_nodehdl_t node, int size, char *name, void* value, int type) argument
68 if (!prop_exists(node, name)) {
71 (void) ptree_create_and_add_prop(node, &propinfo,
76 add_tlb_props(picl_nodehdl_t node, mde_cookie_t *tlblistp, int ntlbs) argument
123 add_md_prop(node, sizeof (int_value), property,
130 add_cache_props(picl_nodehdl_t node, mde_cookie_t *cachelistp, int ncaches) argument
185 add_md_prop(node, sizeof (int_value), property,
193 add_md_prop(node, sizeo
276 add_cpu_prop(picl_nodehdl_t node, void *args) argument
[all...]
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprinthash_live.c26 iphtent_t entry, *top, *node; local
65 node = top;
66 (void) printhashnode(hp, node, bcopywrap, opts);
67 top = node->ipe_snext;
68 free(node);
H A Dprintpool_live.c26 ip_pool_node_t entry, *top, *node; local
65 node = top;
66 (void) printpoolnode(node, opts);
67 top = node->ipn_next;
68 free(node);
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_tlist.h36 * - addition of node to the end of the list
37 * - atomic deletion of node anywhere in list
38 * - get and remove node from head of list
40 * - timeout feature, if enabled, will remove each node on the list which
42 * called for each node removed. The worst case time is around
45 * callback anywhere from 100uS to 150uS from when you added the node to
65 * This structure is used to track the information for a given node in the
66 * linked list. The node is added to the end of the linked list be calling
74 * whatever information you are using this node to track.
93 * callback used in hci1394_tlist_timer_t. This will be called when a node o
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Dlofi_link.c37 static int lofi(di_minor_t minor, di_node_t node);
79 lofi(di_minor_t minor, di_node_t node) argument
88 (void) devfsadm_mklink(LOFI_CTL_NAME, node, minor, 0);
90 instance = di_instance(node);
102 (void) devfsadm_mklink(path, node, minor, 0);
H A Ddisk_link.c65 static int disk_callback_chan(di_minor_t minor, di_node_t node);
66 static int disk_callback_nchan(di_minor_t minor, di_node_t node);
67 static int disk_callback_blkdev(di_minor_t minor, di_node_t node);
68 static int disk_callback_wwn(di_minor_t minor, di_node_t node);
69 static int disk_callback_xvmd(di_minor_t minor, di_node_t node);
70 static int disk_callback_fabric(di_minor_t minor, di_node_t node);
71 static int disk_callback_sas(di_minor_t minor, di_node_t node);
72 static void disk_common(di_minor_t minor, di_node_t node, char *disk,
74 static char *diskctrl(di_node_t node, di_minor_t minor);
75 static int reserved_links_exist(di_node_t node, di_minor_
186 disk_callback_chan(di_minor_t minor, di_node_t node) argument
209 disk_callback_nchan(di_minor_t minor, di_node_t node) argument
224 disk_callback_blkdev(di_minor_t minor, di_node_t node) argument
239 disk_callback_wwn(di_minor_t minor, di_node_t node) argument
265 disk_callback_fabric(di_minor_t minor, di_node_t node) argument
313 disk_callback_sas(di_minor_t minor, di_node_t node) argument
470 disk_callback_xvmd(di_minor_t minor, di_node_t node) argument
505 disk_common(di_minor_t minor, di_node_t node, char *disk, int flags) argument
655 diskctrl(di_node_t node, di_minor_t minor) argument
778 reserved_links_exist(di_node_t node, di_minor_t minor, int nflags) argument
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dtree.c50 static struct node *Root;
87 Nodecount = stats_new_counter("parser.node", "nodes created", 1);
90 stats_new_counter("parser.nodesize", "sizeof(struct node)", 1);
91 stats_counter_add(Nodesize, sizeof (struct node));
156 nodesize(enum nodetype t, struct node *ret)
158 int size = sizeof (struct node);
212 struct node *
215 struct node *ret = NULL;
230 tree_free(struct node *root)
320 tree_treecmp(struct node *np
[all...]
H A Dptree.h28 * these routines are used to print the "struct node" data
47 * the rhs is a struct node.
59 void ptree(int flags, struct node *np, int no_iterators, int fileline);
60 void ptree_name(int flags, struct node *np);
61 void ptree_name_iter(int flags, struct node *np);
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhistory.c90 GlhHashBucket *bucket; /* The parent hash-table bucket of this node */
179 GlhLineNode *id_node;/* The node at which the last ID search terminated */
193 unsigned long seq; /* The next ID to assign to a line node */
208 static void _glh_discard_line(GlHistory *glh, GlhLineNode *node);
408 GlhHashNode *hnode; /* The hash-table node of the line */
409 GlhLineNode *lnode; /* A node in the time-ordered list of lines */
469 * then return a reference-counted hash-node pointer to this copy.
478 * Allocate a new node in the time-ordered list of lines.
482 * If a new line-node couldn't be allocated, discard our copy of the
493 * list node
532 GlhLineNode *node; /* The line location node being checked */ local
620 GlhLineNode *node; /* The line location node being checked */ local
794 GlhLineNode *node; /* The line location node being checked */ local
919 GlhLineNode *node; /* The line location node being checked */ local
958 GlhLineNode *node; /* The line location node being checked */ local
1461 GlhLineNode *node; /* The line being displayed */ local
1770 GlhLineNode *node; local
1852 GlhLineNode *node; /* The line node being checked */ local
1896 _glh_discard_line(GlHistory *glh, GlhLineNode *node) argument
1958 GlhLineNode *node; /* The located line location node */ local
2024 GlhLineNode *node; /* The node being checked */ local
2358 GlhHashNode *node; /* A node in the list of lines in the bucket */ local
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsvcctl_scm.c440 svcctl_svc_node_t *node = NULL; local
444 node = malloc(sizeof (*node));
445 if (node == NULL)
448 node->sn_fmri = NULL;
449 if (svcctl_scm_get_svcfmri(mgr_ctx, &node->sn_fmri, wip) != 0)
452 node->sn_name = NULL;
453 if (svcctl_scm_get_svcname(&node->sn_name, node->sn_fmri) != 0)
456 node
553 svcctl_svc_node_t *node; local
655 svcctl_svc_node_t *node = svc_node; local
739 svcctl_svc_node_t node; local
890 svcctl_svc_node_t *node; local
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_cache.c58 * memory for the node data stored in the cache when
59 * that node is removed.
61 * to provide a copy of the node data stored in the
154 smb_cache_node_t *node; local
169 node = avl_find(&chandle->ch_cache, newnode, &where);
170 if (node != NULL) {
172 avl_remove(&chandle->ch_cache, node);
174 chandle->ch_free(node->cn_data);
175 free(node);
192 * and remove it. The memory allocated for the found node
199 smb_cache_node_t *node; local
242 smb_cache_node_t *node; local
[all...]
/illumos-gate/usr/src/lib/efcode/fcdriver/
H A Dproperty.c43 getproplen(common_data_t *cdp, fc_phandle_t node, char *propname, int inherit) argument
51 error = fc_run_priv(cdp, service, 2, 1, fc_phandle2cell(node),
60 getprop(common_data_t *cdp, fc_phandle_t node, char *propname, char *buf, argument
69 error = fc_run_priv(cdp, service, 3, 1, fc_phandle2cell(node),
78 os_get_prop_common(common_data_t *cdp, fc_phandle_t node, char *name, argument
84 i = getproplen(cdp, node, name, inherit);
97 j = getprop(cdp, node, name, bp, inherit);
118 fc_phandle_t node; local
131 node = pd->node;
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_test.c53 prom_test_method(char *method, pnode_t node) argument
63 ci[3] = p1275_dnode2cell(node);
74 method, node, (void *)&rv);

Completed in 133 milliseconds

1234567891011>>