Searched refs:dnode (Results 1 - 25 of 29) sorted by relevance

12

/osnet-11/usr/src/lib/fm/topo/modules/common/disk/common/
H A Ddisk_common.c108 * NOTE: the io and storage groups won't be present if the dnode passed in is
114 tnode_t *dtn, dev_di_node_t *dnode)
160 /* no dnode was found for this disk - skip the io and storage groups */
161 if (dnode == NULL) {
168 dnode->ddn_dpaths[0], dnode->ddn_devid)) == NULL) {
188 TOPO_PROP_IMMUTABLE, dnode->ddn_dpaths[0], &err) != 0) {
194 if (dnode->ddn_devid && topo_prop_set_string(dtn, TOPO_PGROUP_IO,
195 TOPO_IO_DEVID, TOPO_PROP_IMMUTABLE, dnode->ddn_devid, &err) != 0) {
201 if (dnode
113 disk_set_props(topo_mod_t *mod, tnode_t *parent, tnode_t *dtn, dev_di_node_t *dnode) argument
285 disk_cro_mk(topo_mod_t *mod, tnode_t *receptacle, dev_di_node_t *dnode) argument
413 disk_tnode_create(topo_mod_t *mod, tnode_t *parent, dev_di_node_t *dnode, const char *name, topo_instance_t i, tnode_t **dtnp) argument
502 disk_declare(topo_mod_t *mod, tnode_t *parent, dev_di_node_t *dnode) argument
532 dev_di_node_t *dnode; local
567 dev_di_node_t *dnode; local
601 dev_di_node_t *dnode; local
751 dev_di_node_t *dnode = cbp->dcb_dnode; local
783 dev_di_node_add_devinfo(dev_di_node_t *dnode, di_node_t node, disk_cbdata_t *cbp) argument
919 dev_di_node_add_pathinfo(dev_di_node_t *dnode, di_path_t pnode, disk_cbdata_t *cbp) argument
966 dev_di_node_free(topo_mod_t *mod, dev_di_node_t *dnode) argument
997 dev_di_node_t *dnode = NULL; local
1180 dev_di_node_t *dnode; local
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/
H A Dses_dev.c87 * ses_aps_add(mod, &dnode->sdn_lpaths, &dnode->sdn_lpaths_n, new);
156 /* Add devinfo information to a dnode */
158 ses_di_node_add_devinfo(ses_di_node_t *dnode, di_node_t node, argument
172 if ((dnode->sdn_mfg == NULL) && di_prop_lookup_strings(DDI_DEV_T_ANY,
174 if ((dnode->sdn_mfg = trim_whitespace(mod, s)) == NULL)
177 if ((dnode->sdn_model == NULL) && di_prop_lookup_strings(DDI_DEV_T_ANY,
179 if ((dnode->sdn_model = trim_whitespace(mod, s)) == NULL)
182 if ((dnode->sdn_firm == NULL) && di_prop_lookup_strings(DDI_DEV_T_ANY,
184 if ((dnode
284 ses_di_node_add_pathinfo(ses_di_node_t *dnode, di_path_t pnode, ses_cbdata_t *cbp) argument
350 ses_di_node_free(topo_mod_t *mod, ses_di_node_t *dnode) argument
378 ses_di_node_t *dnode = NULL; local
532 ses_di_node_t *dnode; local
[all...]
H A Dses.c1492 ses_di_node_t *dnode; local
1584 for (dnode = topo_list_next(&sdp->sed_devs);
1585 dnode != NULL; dnode = topo_list_next(dnode)) {
1586 for (i = 0; i < dnode->sdn_target_ports_n;
1588 if ((dnode->sdn_target_ports[i] !=
1590 (strstr(dnode->sdn_target_ports[i],
1592 dnode->sdn_firm) {
1593 revision = dnode
1790 ses_di_node_t *dnode, *sesdnode; local
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay_util.c95 gather_sas_hba(di_node_t dnode, void *arg) argument
103 rv = get_str_prop(dnode, DI_PATH_NIL, "model", model);
108 if (sas_direct(dnode)) {
110 hba_nodes[hba_node_cnt] = dnode;
116 parent_node = di_parent_node(dnode);
131 rv = get_str_prop(dnode, DI_PATH_NIL, "ddi-vhci-class", strp);
134 if (sas_direct(dnode)) {
136 hba_nodes[hba_node_cnt] = dnode;
206 get_int_prop(di_node_t dnode, di_path_t pnode, char *prop_name) argument
216 (dnode
278 get_phy(di_node_t dnode, di_path_t pnode) argument
335 get_str_prop(di_node_t dnode, di_path_t pnode, char *prop_name, char *prop_out) argument
402 i_direct(di_node_t dnode, char *node1_prop_str, char *node2_prop_str) argument
454 o_direct(di_node_t dnode) argument
533 sas_direct(di_node_t dnode) argument
[all...]
H A Dbay_subr.c137 find_child(topo_mod_t *mod, di_node_t dnode, di_node_t *cn, di_path_t *pn, argument
140 di_node_t cnode = di_child_node(dnode);
151 while ((pnode = di_path_phci_next_path(dnode, pnode)) != DI_PATH_NIL) {
246 gen_oc(topo_mod_t *mod, di_node_t dnode, di_path_t pnode) argument
266 if (dnode != DI_NODE_NIL) {
267 devfs_path = di_devfs_path(dnode);
281 rv = get_str_prop(dnode, pnode, SCSI_ADDR_PROP_TARGET_PORT,
289 lun = get_int_prop(dnode, pnode, "lun");
323 di_node_t dnode = DI_NODE_NIL; local
330 dnode
385 get_generic(topo_mod_t *mod, di_node_t dnode) argument
415 get_num_phys(di_node_t dnode) argument
504 get_pcilabel(topo_mod_t *mod, tnode_t *tnp, di_node_t dnode) argument
559 get_slotid_from_pcilabel(topo_mod_t *mod, tnode_t *tnp, di_node_t dnode) argument
600 parse_line(topo_mod_t *mod, di_node_t dnode, bay_t *bp, char *buf) argument
689 read_config(topo_mod_t *mod, di_node_t dnode, char *f, bay_t *bp, int *n) argument
[all...]
H A Dbay_fac.c125 di_node_t dnode = DI_NODE_NIL; local
149 dnode = bp->hba_dnode;
150 if (dnode == DI_NODE_NIL) {
154 devfs_path = di_devfs_path(dnode);
157 di_driver_name(dnode), bp->phy, devfs_path);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/cpuboard/common/
H A Dcpuboard_topo.h55 int cpuboard_hb_enum(topo_mod_t *mp, di_node_t dnode, char *rcpath,
H A Dcpuboard_hostbridge.c85 * dnode: Solaris device node of the root complex
90 cpuboard_rc_node_create(topo_mod_t *mp, tnode_t *parent, di_node_t dnode, argument
100 rcn = cpuboard_node_create(mp, parent, PCIEX_ROOT, inst, (void *)dnode);
112 if ((dnpath = di_devfs_path(dnode)) != NULL) {
241 cpuboard_hb_enum(topo_mod_t *mp, di_node_t dnode, char *rcpath, argument
277 rcnode = cpuboard_rc_node_create(mp, hbnode, dnode, rcpath, rc);
286 * If dnode not NULL, enumerate pcibus nodes under the root complex.
287 * If dnode NULL, skip enumeration. Condition could occur if the RC
290 if ((dnode != NULL) && topo_mod_enumerate(pcimod, rcnode,
H A Dcpuboard.c410 di_node_t dnode; local
416 dnode = di_drv_first_node(CPUBOARD_PX_DRV, devtree);
417 while (dnode != DI_NODE_NIL) {
420 if ((path = di_devfs_path(dnode)) == NULL) {
428 di_instance(dnode), di_node_name(dnode), path);
432 return (dnode);
437 dnode = di_drv_next_node(dnode);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_pciexrc.c202 di_node_t dnode; local
311 dnode = di_lookup_node(devtree, path);
312 if (dnode == DI_NODE_NIL) {
318 drv_name = di_driver_name(dnode);
330 bdf = pi_enum_pciexrc_findbdf(mod, dnode);
422 di_node_t dnode; local
448 dnode = di_drv_first_node(drv_name, devtree);
449 while (dnode != DI_NODE_NIL) {
452 devfs_path = di_devfs_path(dnode);
455 /* We have found the matching dnode */
487 pi_enum_pciexrc_findbdf(topo_mod_t *mod, di_node_t dnode) argument
[all...]
H A Dpi_bay.c71 pi_bay_ocpath(topo_mod_t *mod, di_node_t dnode) argument
81 tgt_port = pi_get_target_port(mod, dnode);
89 lun = pi_get_lun(mod, dnode);
104 di_path = di_devfs_path(dnode);
342 di_node_t dnode = DI_NODE_NIL; local
356 for (dnode = di_drv_first_node(HBA_DRV_NAME, devtree);
357 dnode != DI_NODE_NIL;
358 dnode = di_drv_next_node(dnode)) {
359 /* find the dnode pat
383 pi_bay_update_node(topo_mod_t *mod, tnode_t *t_node, di_node_t dnode, uint8_t phy) argument
[all...]
H A Dpi_subr.c161 di_node_t dnode = p_dnode; local
167 di_path = di_devfs_path(dnode);
176 di_bus_addr(dnode));
179 } while ((dnode = di_parent_node(dnode)) != DI_NODE_NIL);
192 dnode = p_dnode;
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cs.c1239 unconf_non_vhci_nodes(di_node_t dnode, char *xport_phys, char *dyncomp, argument
1249 while (dnode != DI_NODE_NIL) {
1254 if ((node_path = di_devfs_path(dnode)) == NULL) {
1262 dnode = di_sibling_node(dnode);
1267 ret1 = di_prop_lookup_ints(DDI_DEV_T_ANY, dnode,
1271 ret2 = di_prop_lookup_bytes(DDI_DEV_T_ANY, dnode,
1286 dnode = di_sibling_node(dnode);
1318 if ((dnode
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/
H A Dx86pi_bay.c204 di_node_t devtree, dnode, sib; local
217 for (dnode = di_drv_first_node(HBA_DRV_NAME, devtree);
218 dnode != DI_NODE_NIL;
219 dnode = di_drv_next_node(dnode)) {
220 if (bdf == x86pi_bdf(mod, dnode)) {
224 sib = di_child_node(dnode);
233 if (dnode == DI_NODE_NIL) {
241 while ((minor = di_minor_next(dnode, minor)) != DI_MINOR_NIL) {
255 rv = bay_pgroups(mod, tnodep, &dnode,
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/
H A Dchip_intel.c97 mc_add_ranks(topo_mod_t *mod, tnode_t *dnode, nvlist_t *auth, int dimm, argument
112 if (topo_node_range_create(mod, dnode, RANK, rank,
119 fmri = topo_mod_hcfmri(mod, dnode, FM_HC_SCHEME_VERSION,
126 if ((rnode = topo_node_bind(mod, dnode, RANK, rank,
166 tnode_t *dnode; local
235 if ((dnode = topo_node_bind(mod, pnode, DIMM, dimm_number,
244 if (topo_method_register(mod, dnode, dimm_methods) < 0)
248 (void) topo_pgroup_create(dnode, &dimm_pgroup, &err);
257 dnode);
263 (void) topo_node_resource(dnode,
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/niu/common/
H A Dniu.c353 di_node_t dnode; local
373 dnode = di_drv_first_node("niumx", devtree);
374 if (dnode != DI_NODE_NIL) {
375 niun = niu_declare(rnode, name, 0, dnode, mod);
389 if (niufn_instantiate(niun, NIUFN, dnode, mod) < 0) {
395 if (di_drv_next_node(dnode) != DI_NODE_NIL)
/osnet-11/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/common/
H A Dopl_hostbridge.c105 opl_rc_node_create(topo_mod_t *mp, tnode_t *parent, di_node_t dnode, int inst) argument
113 rcn = opl_node_create(mp, parent, PCIEX_ROOT, inst, (void *)dnode);
122 slot_name = opl_get_slot_name(mp, dnode);
144 if ((dnpath = di_devfs_path(dnode)) != NULL) {
/osnet-11/usr/src/lib/libzpool/common/
H A Dllib-lzpool34 #include <sys/dnode.h>
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/
H A Dzfs_lzjb.c29 #include <grub/zfs/dnode.h>
H A Dzfs_fletcher.c29 #include <grub/zfs/dnode.h>
H A Dzfs.c30 #include <grub/zfs/dnode.h>
227 /* cache for a dnode block */
235 dnode_end_t dnode; member in struct:grub_zfs_data
2831 * Get the dnode of an object number from the metadnode of an object set.
2834 * mdn - metadnode to get the object dnode
2835 * objnum - object number for the object dnode
2836 * buf - data buffer that holds the returning dnode
2842 grub_uint64_t blkid, blksz; /* the block id this object dnode is in */
2862 return grub_error(GRUB_ERR_BAD_FS, "[1] incorrect dnode type: %d != %d\n", buf->dn.dn_type, type);
2894 return grub_error(GRUB_ERR_BAD_FS, "[2] incorrect dnode typ
[all...]
H A Dzfs_sha256.c29 #include <grub/zfs/dnode.h>
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Ddev.c377 di_node_t dnode; local
396 if ((dnode = di_init(devpath, DINFOCPYONE)) == DI_NODE_NIL) {
401 uint_t retired = di_retired(dnode);
402 state = di_state(dnode);
427 di_fini(dnode);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/xaui/common/
H A Dxaui.c207 di_node_t dnode; local
232 dnode = topo_node_getspecific((tnode_t *)priv);
236 dnode = (struct di_node *)priv;
238 if (dnode == DI_NODE_NIL) {
244 devfs_path = di_devfs_path(dnode);
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.h53 #include <zfs-include/dnode.h>
71 * Verify dnode type.

Completed in 108 milliseconds

12