Searched defs:node (Results 326 - 350 of 604) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_iter.c237 zfs_node_t *node; local
241 node = avl_find(avl, &search, NULL);
242 if (node) {
249 zfs_close(node->zn_handle);
250 avl_remove(avl, node);
251 free(node);
254 node = zfs_alloc(zhp->zfs_hdl, sizeof (zfs_node_t));
255 node->zn_handle = zhp;
256 avl_add(avl, node);
287 zfs_node_t *node; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dopenfirm.c155 /* Return the next sibling of this node or 0. */
157 OF_peer(phandle_t node) argument
163 cell_t node; member in struct:__anon337
171 args.node = node;
177 /* Return the first child of this node or 0. */
179 OF_child(phandle_t node) argument
185 cell_t node; member in struct:__anon338
193 args.node = node;
201 OF_parent(phandle_t node) argument
207 cell_t node; member in struct:__anon339
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c38 * If vp is an nfs node, nfs4_fid() returns EREMOTE, nfs3_fid() and nfs_fid()
46 * exportinfo for an nfs node.
86 * nfs filesystem or get the exi_vp if it is the root node.
105 /* check if the given fid is the same as the exported node */
189 /* Transfer the secinfo data from exdata to this new pseudo node */
232 * to the parent node. We always add it to the beginning
243 /* Look up among direct children a node with the exact tree_vis pointer */
254 * Add new node to the head of subtree pointed by 'n'. n can be NULL.
278 * Removes node from the tree and frees the treenode struct.
283 tree_remove_node(treenode_t *node) argument
1172 treenode_t *node; local
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_ofile.c180 smb_node_t *node,
226 of->f_node = node;
238 ASSERT(node);
250 rc = smb_node_getattr(NULL, node, of->f_cr, NULL, &attr);
265 if (smb_node_is_file(node)) {
268 if (smb_fsop_open(node, of->f_mode, of->f_cr) != 0) {
288 smb_node_inc_open_ofiles(node);
289 smb_node_add_ofile(node, of);
290 smb_node_ref(node);
403 * n_pending_dosattr from the node
178 smb_ofile_open( smb_request_t *sr, smb_node_t *node, struct open_param *op, uint16_t ftype, uint32_t uniqid, smb_error_t *err) argument
1243 smb_node_t *node; local
[all...]
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Dfruraw.c85 raw_list_t *node; local
87 node = (raw_list_t *)malloc(sizeof (raw_list_t));
88 if (node == NULL) {
92 node->hdl = 0;
93 node->raw = buffer;
94 node->size = size;
95 node->cont_type = strdup(cont_type);
96 if (node->cont_type == NULL) {
97 free(node);
100 node
155 frt_get_root(fru_treehdl_t *node) argument
192 frt_get_node_type(fru_treehdl_t node, fru_node_t *type) argument
423 frt_for_each_segment(fru_nodehdl_t node, int (*function)(fru_seghdl_t hdl, void *args), void *args) argument
499 frt_get_segment_name(fru_seghdl_t node, char **name) argument
617 frt_for_each_packet(fru_seghdl_t node, int (*function)(fru_tag_t *tag, uint8_t *payload, size_t length, void *args), void *args) argument
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_subr.c154 * string has to be parsed to extract the command and node name
156 * command: node: context: error message
165 char *node; local
173 node = Malloc(length);
175 if (sscanf(errstr, "%[^:]: %[^:]: %[^\n]", command, node,
178 node, context, message);
184 Free(node);
198 * PURPOSE: sends the command to the master node for execution
351 * Parse the multi-node list file
385 /* return this node wit
[all...]
H A Dmeta_set_hst.c141 * If reconfig cycle has been started, this node is stuck in
248 check_setdrvs_againstnode(mdsetname_t *sp, char *node, md_error_t *ep) argument
260 if (checkdrive_onnode(sp, dp, node, ep))
315 * this node list is in the membership list
370 /* Set master to be first node added */
391 * Create the set on each new node. If the set already
392 * exists, then the node list being created on each new node
393 * is the current node list from before the new nodes
394 * were added. If the set doesn't exist, then the node
[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/cfgadm_plugins/scsi/common/
H A Dcfga_cvt.c58 static int drv_to_hba_logid(di_node_t node, di_minor_t minor, void *arg);
61 static int do_drv_dyn_to_devpath(di_node_t node, void *arg);
74 static scfga_ret_t drv_to_dyncomp(di_node_t node, const char *phys,
203 drv_to_hba_logid(di_node_t node, di_minor_t minor, void *arg) argument
215 drv = di_driver_name(node);
216 inst = di_instance(node);
284 * Get the devfs path of pathinfo node that is associated with
289 * dyn : bus address of pathinfo node
291 * pathpp: devfs path of the pathinfo node.
372 * now parse the path info node
454 do_drv_dyn_to_devpath(di_node_t node, void *arg) argument
608 make_dyncomp( di_node_t node, const char *physpath, char **dyncompp, int *l_errnop) argument
694 drv_to_dyncomp(di_node_t node, const char *phys, char **dyncompp, int *l_errnop) argument
[all...]
H A Dcfga_list.c53 static int stat_dev(di_node_t node, void *arg);
55 static int get_bus_state(di_node_t node, void *arg);
57 static scfga_ret_t do_stat_dev(const di_node_t node, const char *nodepath,
62 static void get_hw_info(di_node_t node, cfga_list_data_t *clp, dyncomp_t type);
211 * SCFGA_STAT_BUS cmd after walking any child node.
212 * - walking node succeeded for SCFGA_STAT_ALL cmd(Continue on
213 * stating path info node).
315 stat_dev(di_node_t node, void *arg) argument
326 if (IS_STUB_NODE(node)) {
331 if (!known_state(node)) {
678 get_bus_state(di_node_t node, void *arg) argument
697 do_stat_dev( const di_node_t node, const char *nodepath, scfga_list_t *lap, int limited_dev_stat) argument
770 get_hw_info(di_node_t node, cfga_list_data_t *clp, dyncomp_t type) argument
822 get_device_type(di_node_t node, dyncomp_t type) argument
[all...]
/illumos-gate/usr/src/lib/efcode/engine/
H A Dproperties.c267 * the next time a property lookup passes this node
656 device_t *node; local
660 CONVERT_PHANDLE(env, node, data);
663 icells = get_default_intprop(env, "#interrupt-cells", node, 1);
/illumos-gate/usr/src/lib/fm/libldom/sparc/
H A Dldom.c204 get_local_md_prop_value(ldom_hdl_t *lhp, char *node, char *prop, uint64_t *val) argument
221 md_find_name(mdp, node),
240 * if the pid property does not exist in a cpu node, assume pid = id.
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_mod.c29 * used to enumerate resources in the system and export per-node method
35 * topology node specific methods that can be invoked directly via
48 * within its realm of responsibility and create any node ranges,
50 * module is handed a node to which it may begin attaching additional
52 * current scope of operation: the node passed into its enumeration op and
66 * If the module registers a release callback, it will be called on a node
67 * by node basis during topo_snap_rele(). Any private node data may be
236 topo_mod_enumerate(topo_mod_t *mod, tnode_t *node, const char *enum_name, argument
247 topo_node_hold(node);
276 topo_mod_enummap(topo_mod_t *mod, tnode_t *node, const char *name, const char *scheme) argument
887 topo_mod_walk_init(topo_mod_t *mod, tnode_t *node, topo_mod_walk_cb_t cb_f, void *pdata, int *errp) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c108 pci_label(topo_mod_t *mp, tnode_t *node, topo_version_t version, argument
113 return (platform_pci_label(mp, node, in, out));
116 pci_fru(topo_mod_t *mp, tnode_t *node, topo_version_t version, argument
121 return (platform_pci_fru(mp, node, in, out));
171 /* We need the parent's dev info node for some of the info */
376 * If our devinfo node is lacking certain information of its
377 * own, and our parent topology node is a hostbridge, we may
379 * hostbridge node's private data.
627 * PCI-Express; parent node's private data is a simple di_node_t
638 "Parent %s node missin
744 pci_release(topo_mod_t *mp, tnode_t *node) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_subr.c67 * 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/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem.c40 * Each node exports five methods: present(), expand(), unusable(), replaced(),
136 mem_present(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
175 mem_replaced(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
355 mem_expand(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
454 mem_unusable(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
523 mem_contains(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
670 "failed to create dimm=%d node: %s\n",
703 mem_release(topo_mod_t *mod, tnode_t *node) argument
705 topo_method_unregister_all(mod, node);
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_subr.c70 * The routine returns the number of nodes found, or -1. If the node array
102 /* No nodes found. Free the node array before returning */
113 * Determine if this node should be skipped by finding the topo-skip property.
134 * the mde node.
140 * If skip is present and non-zero we want to skip this node. We
152 * node. Return the PRI like path.
222 * concerned) either from the current node, if it is of type 'product', or
223 * search for a product node in the PRI.
243 * This is a product node. We need only search for the serial
244 * number property on this node t
493 pi_get_lun(topo_mod_t *mod, di_node_t node) argument
763 pi_get_phynum(topo_mod_t *mod, di_node_t node) argument
900 pi_get_target_port(topo_mod_t *mod, di_node_t node) argument
[all...]
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.c237 * node on the provided group. type will be optionset or security.
245 xmlNodePtr node; local
256 node = xmlNewChild(root, NULL, (xmlChar *)nodetype, NULL);
257 if (node == NULL)
261 (void) xmlSetProp(node, (xmlChar *)"type", (xmlChar *)proto);
263 (void) xmlSetProp(node, (xmlChar *)"sectype",
266 * Have node to work with so iterate over the properties
305 (void) xmlAddChild(node,
409 * _sa_make_resource(node, valuestr)
411 * Make a resource node o
420 _sa_make_resource(xmlNodePtr node, char *valuestr) argument
468 xmlNodePtr node; local
704 xmlNodePtr node; local
875 xmlNodePtr node; local
1059 xmlNodePtr node; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dstreval.c162 struct lval node; local
163 node.emode = ep->emode;
164 node.expr = ep->expr;
165 node.elen = ep->elen;
166 node.value = 0;
167 node.nosub = 0;
201 node.nosub = 1;
202 (*ep->fun)(&ptr,&node,ASSIGN,num+1);
205 node.nosub = 1;
206 (*ep->fun)(&ptr,&node,ASSIG
[all...]
H A Dsubshell.c52 Namval_t *node; member in struct:Link
234 if(lp->node==np)
242 * This routine will make a copy of the given node in the
244 * node hasn't already been copied
279 if(lp->node==np)
285 lp->node = np;
333 mp = lp->node;
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPUtils.c410 * Each time we visit a node for the last time, copy that scope into
411 * the scope collection and free the scope string and the node.
414 static void collect_scopes(void *node, VISIT order, int level, void *cookie) { argument
418 char *s = *(char **)node;
421 free(node);
H A Dslp_net.c1276 static void free_pr_node(void *node, VISIT order, int level, void *cookie) { argument
1278 char *pr = *(char **)node;
1280 free(node);
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_vols.c63 char *node; member in struct:hash_data_s
210 data->path, data->node, data->u.users, user);
371 data->node);
642 /* we also need to keep track of node information */
932 data->node = strdup(cnode);
945 free(p->node);
961 data->node = strdup(cnode);
975 free(p->node);
993 hash_data_t *node; local
1086 node
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dexpand.c69 DirNode *prev; /* The node that precedes this node in the list */
76 DirNode *next; /* The next unused node between head and tail */
122 static DirNode *ef_close_dir(ExpandFile *ef, DirNode *node);
350 DirNode *dnode; /* A directory-reader cache node */
688 DirNode *node; /* The cache node used */ local
697 node = (DirNode *) _new_FreeListNode(cache->mem);
698 if(!node) {
704 * Initialize the cache node
771 ef_close_dir(ExpandFile *ef, DirNode *node) argument
[all...]
H A Dpcache.c136 * 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...]

Completed in 113 milliseconds

<<11121314151617181920>>