/titanic_44/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk_common.c | 126 tnode_t *dtn, dev_di_node_t *dnode) in disk_set_props() argument 173 if (dnode == NULL) { in disk_set_props() 180 dnode->ddn_dpath, dnode->ddn_devid)) == NULL) { in disk_set_props() 200 TOPO_PROP_IMMUTABLE, dnode->ddn_dpath, &err) != 0) { in disk_set_props() 206 if (dnode->ddn_devid && topo_prop_set_string(dtn, TOPO_PGROUP_IO, in disk_set_props() 207 TOPO_IO_DEVID, TOPO_PROP_IMMUTABLE, dnode->ddn_devid, &err) != 0) { in disk_set_props() 213 if (dnode->ddn_ppath_count != 0 && in disk_set_props() 215 TOPO_PROP_IMMUTABLE, (const char **)dnode->ddn_ppath, in disk_set_props() 216 dnode->ddn_ppath_count, &err) != 0) { in disk_set_props() 223 if (dnode->ddn_lpath != NULL && in disk_set_props() [all …]
|
/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_fem.c | 228 smb_node_t *dnode; in smb_fem_fcn_create() local 231 dnode = (smb_node_t *)arg->fa_fnode->fn_available; in smb_fem_fcn_create() 233 ASSERT(dnode); in smb_fem_fcn_create() 239 smb_node_notify_change(dnode, FILE_ACTION_ADDED, name); in smb_fem_fcn_create() 263 smb_node_t *dnode; in smb_fem_fcn_remove() local 266 dnode = (smb_node_t *)arg->fa_fnode->fn_available; in smb_fem_fcn_remove() 268 ASSERT(dnode); in smb_fem_fcn_remove() 273 smb_node_notify_change(dnode, FILE_ACTION_REMOVED, name); in smb_fem_fcn_remove() 288 smb_node_t *dnode; in smb_fem_fcn_rename() local 291 dnode = (smb_node_t *)arg->fa_fnode->fn_available; in smb_fem_fcn_rename() [all …]
|
H A D | smb_fsops.c | 123 smb_node_t *dnode, char *name, in smb_fsop_create_with_sd() argument 178 rc = smb_vop_mkdir(dnode->vp, name, attr, in smb_fsop_create_with_sd() 182 rc = smb_vop_create(dnode->vp, name, attr, in smb_fsop_create_with_sd() 215 name, dnode, NULL); in smb_fsop_create_with_sd() 233 rc = smb_vop_mkdir(dnode->vp, name, attr, &vp, in smb_fsop_create_with_sd() 236 rc = smb_vop_create(dnode->vp, name, attr, &vp, in smb_fsop_create_with_sd() 244 name, dnode, NULL); in smb_fsop_create_with_sd() 260 (void) smb_vop_rmdir(dnode->vp, name, flags, cr); in smb_fsop_create_with_sd() 262 (void) smb_vop_remove(dnode->vp, name, flags, cr); in smb_fsop_create_with_sd() 281 smb_fsop_create(smb_request_t *sr, cred_t *cr, smb_node_t *dnode, in smb_fsop_create() argument [all …]
|
H A D | smb_common_open.c | 309 smb_node_t *dnode = NULL; in smb_open_subr() local 504 dnode = op->fqi.fq_dnode; in smb_open_subr() 509 smb_node_release(dnode); in smb_open_subr() 525 smb_node_release(dnode); in smb_open_subr() 534 smb_node_release(dnode); in smb_open_subr() 547 smb_node_release(dnode); in smb_open_subr() 558 smb_node_release(dnode); in smb_open_subr() 577 smb_node_release(dnode); in smb_open_subr() 592 smb_node_release(dnode); in smb_open_subr() 600 smb_node_release(dnode); in smb_open_subr() [all …]
|
H A D | smb_node.c | 249 smb_node_t *dnode, in smb_node_lookup() argument 312 (dnode != NULL) && in smb_node_lookup() 313 (node != dnode) && in smb_node_lookup() 316 VALIDATE_DIR_NODE(dnode, node); in smb_node_lookup() 317 node->n_dnode = dnode; in smb_node_lookup() 318 smb_node_ref(dnode); in smb_node_lookup() 359 if (dnode) { in smb_node_lookup() 360 smb_node_ref(dnode); in smb_node_lookup() 361 node->n_dnode = dnode; in smb_node_lookup() 362 ASSERT(dnode->n_dnode != node); in smb_node_lookup() [all …]
|
H A D | smb_pathname.c | 347 smb_node_t *dnode, *fnode; in smb_pathname() local 386 dnode = cur_node; in smb_pathname() 387 smb_node_ref(dnode); in smb_pathname() 392 smb_node_release(dnode); in smb_pathname() 393 dnode = fnode; in smb_pathname() 411 &vp, rootvp, dnode->vp, &attr, cred); in smb_pathname() 418 if ((err = smb_unmangle(dnode, component, in smb_pathname() 433 &vp, rootvp, dnode->vp, &attr, cred); in smb_pathname() 499 dnode, NULL); in smb_pathname() 521 if (dnode) in smb_pathname() [all …]
|
H A D | smb_odir.c | 278 smb_node_t *dnode; in smb_odir_open() local 294 tree->t_snode, tree->t_snode, &dnode, pattern); in smb_odir_open() 300 if (!smb_node_is_dir(dnode)) { in smb_odir_open() 303 smb_node_release(dnode); in smb_odir_open() 307 if (smb_fsop_access(sr, sr->user_cr, dnode, FILE_LIST_DIRECTORY) != 0) { in smb_odir_open() 310 smb_node_release(dnode); in smb_odir_open() 319 odid = smb_odir_create(sr, dnode, pattern, sattr, cr); in smb_odir_open() 320 smb_node_release(dnode); in smb_odir_open() 859 smb_odir_create(smb_request_t *sr, smb_node_t *dnode, in smb_odir_create() argument 870 ASSERT(dnode); in smb_odir_create() [all …]
|
H A D | smb_mangle_name.c | 368 smb_unmangle(smb_node_t *dnode, char *name, char *namebuf, in smb_unmangle() argument 387 if (dnode == NULL || name == NULL || namebuf == NULL || buflen == 0) in smb_unmangle() 392 if (!smb_node_is_dir(dnode)) in smb_unmangle() 395 vp = dnode->vp; in smb_unmangle()
|
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_pciexrc.c | 202 di_node_t dnode; in pi_enum_update() local 308 dnode = di_init(path, DIIOC); in pi_enum_update() 309 if (dnode == DI_NODE_NIL) { in pi_enum_update() 315 drv_name = di_driver_name(dnode); in pi_enum_update() 319 di_fini(dnode); in pi_enum_update() 328 bdf = pi_enum_pciexrc_findbdf(mod, dnode); in pi_enum_update() 332 di_fini(dnode); in pi_enum_update() 337 di_fini(dnode); in pi_enum_update() 421 di_node_t dnode; in pi_enum_pciexrc_finddev() local 447 dnode = di_drv_first_node(drv_name, devtree); in pi_enum_pciexrc_finddev() [all …]
|
H A D | pi_bay.c | 71 pi_bay_ocpath(topo_mod_t *mod, di_node_t dnode) in pi_bay_ocpath() argument 80 tgt_port = pi_get_target_port(mod, dnode); in pi_bay_ocpath() 88 lun = pi_get_lun(mod, dnode); in pi_bay_ocpath() 103 (void) snprintf(buf, MAXPATHLEN, "%s%s%s,%x", di_devfs_path(dnode), in pi_bay_ocpath() 282 di_node_t dnode, sib; in pi_bay_update_node() local 294 for (dnode = di_drv_first_node(HBA_DRV_NAME, devtree); in pi_bay_update_node() 295 dnode != DI_NODE_NIL; in pi_bay_update_node() 296 dnode = di_drv_next_node(dnode)) { in pi_bay_update_node() 298 hba_path = pi_get_dipath(mod, dnode); in pi_bay_update_node() 306 if (dnode == DI_NODE_NIL) { in pi_bay_update_node() [all …]
|
/titanic_44/usr/src/lib/fm/topo/libtopo/common/ |
H A D | dev.c | 383 di_node_t dnode; in dev_fmri_present() local 412 else if ((dnode = di_init("/", DINFOCACHE)) == DI_NODE_NIL) in dev_fmri_present() 415 if (di_lookup_node(dnode, devpath) == DI_NODE_NIL) in dev_fmri_present() 419 di_fini(dnode); in dev_fmri_present() 424 else if ((dnode = di_init(devpath, DINFOCPYONE)) == DI_NODE_NIL) in dev_fmri_present() 427 if ((id = di_devid(dnode)) == NULL || in dev_fmri_present() 437 di_fini(dnode); in dev_fmri_present() 463 di_node_t dnode; in dev_fmri_replaced() local 492 else if ((dnode = di_init("/", DINFOCACHE)) == DI_NODE_NIL) in dev_fmri_replaced() 495 if (di_lookup_node(dnode, devpath) == DI_NODE_NIL) in dev_fmri_replaced() [all …]
|
/titanic_44/usr/src/uts/common/fs/zfs/sys/ |
H A D | dbuf.h | 85 struct dnode; 264 uint64_t dbuf_whichblock(struct dnode *di, int64_t level, uint64_t offset); 266 dmu_buf_impl_t *dbuf_create_tlib(struct dnode *dn, char *data); 267 void dbuf_create_bonus(struct dnode *dn); 269 void dbuf_spill_hold(struct dnode *dn, dmu_buf_impl_t **dbp, void *tag); 271 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx); 273 dmu_buf_impl_t *dbuf_hold(struct dnode *dn, uint64_t blkid, void *tag); 274 dmu_buf_impl_t *dbuf_hold_level(struct dnode *dn, int level, uint64_t blkid, 276 int dbuf_hold_impl(struct dnode *dn, uint8_t level, uint64_t blkid, 280 void dbuf_prefetch(struct dnode *dn, int64_t level, uint64_t blkid, [all …]
|
H A D | dmu_zfetch.h | 37 struct dnode; /* so we can reference dnode */ 59 struct dnode *zf_dnode; /* dnode that owns this zfetch */ 67 void dmu_zfetch_init(zfetch_t *, struct dnode *);
|
/titanic_44/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_bay.c | 193 di_node_t devtree, dnode, sib; in bay_update_tnode() local 206 for (dnode = di_drv_first_node(HBA_DRV_NAME, devtree); in bay_update_tnode() 207 dnode != DI_NODE_NIL; in bay_update_tnode() 208 dnode = di_drv_next_node(dnode)) { in bay_update_tnode() 209 if (bdf == x86pi_bdf(mod, dnode)) { in bay_update_tnode() 213 sib = di_child_node(dnode); in bay_update_tnode() 222 if (dnode == DI_NODE_NIL) { in bay_update_tnode() 230 while ((minor = di_minor_next(dnode, minor)) != DI_MINOR_NIL) { in bay_update_tnode() 244 rv = bay_pgroups(mod, tnodep, &dnode, &sib, minor_name); in bay_update_tnode()
|
/titanic_44/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_cs.c | 1239 unconf_non_vhci_nodes(di_node_t dnode, char *xport_phys, char *dyncomp, in unconf_non_vhci_nodes() argument 1249 while (dnode != DI_NODE_NIL) { in unconf_non_vhci_nodes() 1254 if ((node_path = di_devfs_path(dnode)) == NULL) { in unconf_non_vhci_nodes() 1262 dnode = di_sibling_node(dnode); in unconf_non_vhci_nodes() 1267 ret1 = di_prop_lookup_ints(DDI_DEV_T_ANY, dnode, in unconf_non_vhci_nodes() 1271 ret2 = di_prop_lookup_bytes(DDI_DEV_T_ANY, dnode, in unconf_non_vhci_nodes() 1286 dnode = di_sibling_node(dnode); in unconf_non_vhci_nodes() 1318 if ((dnode->node_state == DI_DEVICE_OFFLINE) || in unconf_non_vhci_nodes() 1319 (dnode->node_state == DI_DEVICE_DOWN)) { in unconf_non_vhci_nodes() 1323 dnode = di_sibling_node(dnode); in unconf_non_vhci_nodes() [all …]
|
/titanic_44/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_intel.c | 97 mc_add_ranks(topo_mod_t *mod, tnode_t *dnode, nvlist_t *auth, int dimm, in mc_add_ranks() argument 113 if (topo_node_range_create(mod, dnode, RANK, rank, in mc_add_ranks() 120 fmri = topo_mod_hcfmri(mod, dnode, FM_HC_SCHEME_VERSION, in mc_add_ranks() 127 if ((rnode = topo_node_bind(mod, dnode, RANK, rank, in mc_add_ranks() 167 tnode_t *dnode; in mc_add_dimms() local 235 if ((dnode = topo_node_bind(mod, pnode, DIMM, dimm_number, in mc_add_dimms() 244 if (topo_method_register(mod, dnode, dimm_methods) < 0) in mc_add_dimms() 248 (void) topo_pgroup_create(dnode, &dimm_pgroup, &err); in mc_add_dimms() 257 dnode); in mc_add_dimms() 263 (void) topo_node_resource(dnode, &fmri, &err); in mc_add_dimms() [all …]
|
/titanic_44/usr/src/psm/stand/bootblks/zfs/common/ |
H A D | zfs.fth | 664 \ ZFS dnode (DMU) routines 669 d# 512 constant /dnode 680 0 instance value dnode 684 \ ind-cache is a 1 block indirect block cache from dnode ic-dn 735 \ return the lblk#'th block ptr from dnode 949 \ find prop in zap dnode 1043 : #dn/blk ( dn -- n ) dn-bsize /dnode / ; 1051 \ read obj# from objset dir dn into dnode 1052 : get-dnode ( dn obj# -- ) 1066 2drop r> /dnode * ( off ) [all …]
|
/titanic_44/usr/src/lib/libtecla/common/ |
H A D | expand.c | 244 DirNode *dnode; in del_ExpandFile() local 252 for(dnode=ef->cache.head; dnode; dnode=dnode->next) in del_ExpandFile() 253 dnode->dr = _del_DirReader(dnode->dr); in del_ExpandFile() 350 DirNode *dnode; /* A directory-reader cache node */ in ef_expand_file() local 446 dnode = ef_open_dir(ef, dirname); in ef_expand_file() 447 if(!dnode) in ef_expand_file() 452 if(ef_match_relative_pathname(ef, dnode->dr, path, 0)) { in ef_expand_file() 453 dnode = ef_close_dir(ef, dnode); in ef_expand_file() 459 dnode = ef_close_dir(ef, dnode); in ef_expand_file()
|
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/cpuboard/ |
H A D | cpuboard_hostbridge.c | 91 cpuboard_rc_node_create(topo_mod_t *mp, tnode_t *parent, di_node_t dnode, in cpuboard_rc_node_create() argument 101 rcn = cpuboard_node_create(mp, parent, PCIEX_ROOT, inst, (void *)dnode); in cpuboard_rc_node_create() 113 if ((dnpath = di_devfs_path(dnode)) != NULL) { in cpuboard_rc_node_create() 241 cpuboard_hb_enum(topo_mod_t *mp, di_node_t dnode, char *rcpath, in cpuboard_hb_enum() argument 277 rcnode = cpuboard_rc_node_create(mp, hbnode, dnode, rcpath, rc); in cpuboard_hb_enum() 290 if ((dnode != NULL) && topo_mod_enumerate(pcimod, rcnode, in cpuboard_hb_enum()
|
H A D | cpuboard.c | 407 di_node_t dnode; in cpuboard_findrc() local 413 dnode = di_drv_first_node(CPUBOARD_PX_DRV, devtree); in cpuboard_findrc() 414 while (dnode != DI_NODE_NIL) { in cpuboard_findrc() 417 if ((path = di_devfs_path(dnode)) == NULL) { in cpuboard_findrc() 425 di_instance(dnode), di_node_name(dnode), path); in cpuboard_findrc() 429 return (dnode); in cpuboard_findrc() 434 dnode = di_drv_next_node(dnode); in cpuboard_findrc()
|
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/niu/ |
H A D | niu.c | 354 di_node_t dnode; in niu_enum() local 374 dnode = di_drv_first_node("niumx", devtree); in niu_enum() 375 if (dnode != DI_NODE_NIL) { in niu_enum() 376 niun = niu_declare(rnode, name, 0, dnode, mod); in niu_enum() 390 if (niufn_instantiate(niun, NIUFN, dnode, mod) < 0) { in niu_enum() 396 if (di_drv_next_node(dnode) != DI_NODE_NIL) in niu_enum()
|
/titanic_44/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/ |
H A D | opl_hostbridge.c | 106 opl_rc_node_create(topo_mod_t *mp, tnode_t *parent, di_node_t dnode, int inst) in opl_rc_node_create() argument 114 rcn = opl_node_create(mp, parent, PCIEX_ROOT, inst, (void *)dnode); in opl_rc_node_create() 123 slot_name = opl_get_slot_name(mp, dnode); in opl_rc_node_create() 145 if ((dnpath = di_devfs_path(dnode)) != NULL) { in opl_rc_node_create()
|
/titanic_44/usr/src/uts/sun4u/sunfire/io/ |
H A D | fhc_bd.c | 626 dev_info_t *dnode; in fhc_bdlist_dk_init() local 632 for (dnode = ddi_get_child(ddi_root_node()); in fhc_bdlist_dk_init() 633 dnode != NULL; dnode = ddi_get_next_sibling(dnode)) { in fhc_bdlist_dk_init() 634 if (strcmp(ddi_node_name(dnode), "disk-board") == 0) { in fhc_bdlist_dk_init() 643 if ((board = (int)ddi_getprop(DDI_DEV_T_ANY, dnode, in fhc_bdlist_dk_init() 652 if ((id = (int)ddi_getprop(DDI_DEV_T_ANY, dnode, in fhc_bdlist_dk_init() 660 if ((id = (int)ddi_getprop(DDI_DEV_T_ANY, dnode, in fhc_bdlist_dk_init()
|
/titanic_44/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 179 objfs_datanode_t *dnode = vp->v_data; in objfs_data_lock() local 186 dnode->objfs_data_gencount < mp->mod_gencount) { in objfs_data_lock() 447 objfs_datanode_t *dnode = vp->v_data; in objfs_create_data() local 449 dnode->objfs_data_gencount = onode->objfs_odir_modctl->mod_gencount; in objfs_create_data() 450 dnode->objfs_data_info.objfs_info_primary = in objfs_create_data() 565 objfs_datanode_t *dnode = vp->v_data; in objfs_data_read() local 704 addr = &dnode->objfs_data_info; in objfs_data_read()
|
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/xaui/ |
H A D | xaui.c | 205 di_node_t dnode; in xaui_get_path() local 230 dnode = topo_node_getspecific((tnode_t *)priv); in xaui_get_path() 234 dnode = (struct di_node *)priv; in xaui_get_path() 236 if (dnode == DI_NODE_NIL) { in xaui_get_path() 242 devfs_path = di_devfs_path(dnode); in xaui_get_path()
|