Home
last modified time | relevance | path

Searched refs:dnode (Results 1 – 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_common.c159 if (dnode == NULL) { in disk_set_props()
166 dnode->ddn_dpath, dnode->ddn_devid)) == NULL) { in disk_set_props()
479 if (dnode != NULL) { in disk_tnode_create()
542 if (dnode != NULL && dnode->ddn_devid != NULL && in disk_tnode_create()
593 for (dnode = topo_list_next(listp); dnode != NULL; in disk_declare_path()
594 dnode = topo_list_next(dnode)) { in disk_declare_path()
617 for (dnode = topo_list_next(listp); dnode != NULL; in disk_declare_addr()
618 dnode = topo_list_next(dnode)) { in disk_declare_addr()
654 for (dnode = topo_list_next(listp); dnode != NULL; in disk_declare_bridge()
655 dnode = topo_list_next(dnode)) { in disk_declare_bridge()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fem.c235 smb_node_t *dnode; in smb_fem_fcn_create() local
240 ASSERT(dnode); in smb_fem_fcn_create()
270 smb_node_t *dnode; in smb_fem_fcn_remove() local
275 ASSERT(dnode); in smb_fem_fcn_remove()
295 smb_node_t *dnode; in smb_fem_fcn_rename() local
300 ASSERT(dnode); in smb_fem_fcn_rename()
330 smb_node_t *dnode; in smb_fem_fcn_mkdir() local
335 ASSERT(dnode); in smb_fem_fcn_mkdir()
359 ASSERT(dnode); in smb_fem_fcn_rmdir()
383 ASSERT(dnode); in smb_fem_fcn_link()
[all …]
H A Dsmb_fsops.c291 ASSERT(dnode); in smb_fsop_create()
585 smb_node_t *dnode, in smb_fsop_mkdir() argument
603 ASSERT(dnode); in smb_fsop_mkdir()
698 dnode, NULL); in smb_fsop_mkdir()
732 smb_node_t *dnode, in smb_fsop_remove() argument
748 ASSERT(dnode); in smb_fsop_remove()
947 ASSERT(dnode); in smb_fsop_rmdir()
1870 ASSERT(dnode); in smb_fsop_lookup_file()
2025 ASSERT(dnode); in smb_fsop_lookup()
2049 *ret_snode = dnode; in smb_fsop_lookup()
[all …]
H A Dsmb_common_open.c254 smb_node_t *dnode = NULL; in smb_common_open() local
402 dnode = op->fqi.fq_dnode; in smb_common_open()
411 smb_node_wrlock(dnode); in smb_common_open()
460 dnode = op->fqi.fq_dnode; in smb_common_open()
502 smb_node_unlock(dnode); in smb_common_open()
643 smb_node_unlock(dnode); in smb_common_open()
858 smb_node_wrlock(dnode); in smb_common_open()
1025 smb_node_unlock(dnode); in smb_common_open()
1174 smb_node_unlock(dnode); in smb_common_open()
1176 smb_node_release(dnode); in smb_common_open()
[all …]
H A Dsmb_pathname.c423 smb_node_t *dnode, *fnode, *mnt_node; in smb_pathname() local
473 dnode = cur_node; in smb_pathname()
474 smb_node_ref(dnode); in smb_pathname()
479 smb_node_release(dnode); in smb_pathname()
480 dnode = fnode; in smb_pathname()
502 &vp, rootvp, dnode->vp, &attr, cred); in smb_pathname()
590 dnode, NULL); in smb_pathname()
641 if (dnode) in smb_pathname()
642 smb_node_release(dnode); in smb_pathname()
653 *dir_node = dnode; in smb_pathname()
[all …]
H A Dsmb_odir.c284 smb_node_t *dnode; in smb_odir_openpath() local
305 if (!smb_node_is_dir(dnode)) { in smb_odir_openpath()
306 smb_node_release(dnode); in smb_odir_openpath()
311 smb_node_release(dnode); in smb_odir_openpath()
316 smb_node_release(dnode); in smb_odir_openpath()
326 smb_node_release(dnode); in smb_odir_openpath()
908 ASSERT(dnode); in smb_odir_create()
909 ASSERT(dnode->n_magic == SMB_NODE_MAGIC); in smb_odir_create()
935 od->d_dnode = dnode; in smb_odir_create()
936 smb_node_ref(dnode); in smb_odir_create()
[all …]
H A Dsmb_node.c254 smb_node_t *dnode, in smb_node_lookup() argument
317 (dnode != NULL) && in smb_node_lookup()
318 (node != dnode) && in smb_node_lookup()
322 node->n_dnode = dnode; in smb_node_lookup()
323 smb_node_ref(dnode); in smb_node_lookup()
364 if (dnode) { in smb_node_lookup()
365 smb_node_ref(dnode); in smb_node_lookup()
366 node->n_dnode = dnode; in smb_node_lookup()
1146 smb_node_t *unode, *dnode; in smb_node_getpath() local
1153 vp = dnode->vp; in smb_node_getpath()
[all …]
H A Dsmb_mangle_name.c365 smb_unmangle(smb_node_t *dnode, char *name, char *namebuf, in smb_unmangle() argument
380 if (dnode == NULL || name == NULL || namebuf == NULL || buflen == 0) in smb_unmangle()
385 if (!smb_node_is_dir(dnode)) in smb_unmangle()
388 vp = dnode->vp; in smb_unmangle()
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_pciexrc.c202 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()
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
448 while (dnode != DI_NODE_NIL) { in pi_enum_pciexrc_finddev()
460 dnode = di_drv_next_node(dnode); in pi_enum_pciexrc_finddev()
[all …]
H A Dpi_bay.c71 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 …]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Ddev.c383 di_node_t dnode; in dev_fmri_present() local
419 di_fini(dnode); in dev_fmri_present()
437 di_fini(dnode); in dev_fmri_present()
463 di_node_t dnode; in dev_fmri_replaced() local
499 di_fini(dnode); in dev_fmri_replaced()
517 di_fini(dnode); in dev_fmri_replaced()
537 di_node_t dnode; in dev_fmri_unusable() local
560 state = di_state(dnode); in dev_fmri_unusable()
566 di_fini(dnode); in dev_fmri_unusable()
584 di_node_t dnode; in dev_fmri_service_state() local
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddbuf.h94 struct dnode;
313 uint64_t dbuf_whichblock(struct dnode *di, int64_t level, uint64_t offset);
315 dmu_buf_impl_t *dbuf_create_tlib(struct dnode *dn, char *data);
316 void dbuf_create_bonus(struct dnode *dn);
318 void dbuf_spill_hold(struct dnode *dn, dmu_buf_impl_t **dbp, void *tag);
320 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx);
322 dmu_buf_impl_t *dbuf_hold(struct dnode *dn, uint64_t blkid, void *tag);
325 int dbuf_hold_impl(struct dnode *dn, uint8_t level, uint64_t blkid,
329 int dbuf_prefetch_impl(struct dnode *dn, int64_t level, uint64_t blkid,
332 int dbuf_prefetch(struct dnode *dn, int64_t level, uint64_t blkid,
[all …]
H A Ddmu_zfetch.h41 struct dnode; /* so we can reference dnode */
46 struct dnode *zf_dnode; /* dnode that owns this zfetch */
71 void dmu_zfetch_init(zfetch_t *, struct dnode *);
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_bay.c202 di_node_t devtree, dnode, sib; in bay_update_tnode() local
215 for (dnode = di_drv_first_node(HBA_DRV_NAME, devtree); in bay_update_tnode()
216 dnode != DI_NODE_NIL; in bay_update_tnode()
217 dnode = di_drv_next_node(dnode)) { in bay_update_tnode()
218 if (bdf == x86pi_bdf(mod, dnode)) { in bay_update_tnode()
222 sib = di_child_node(dnode); in bay_update_tnode()
231 if (dnode == DI_NODE_NIL) { in bay_update_tnode()
239 while ((minor = di_minor_next(dnode, minor)) != DI_MINOR_NIL) { in bay_update_tnode()
253 rv = bay_pgroups(mod, tnodep, &dnode, &sib, minor_name); in bay_update_tnode()
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cs.c1262 dnode = di_sibling_node(dnode); in unconf_non_vhci_nodes()
1286 dnode = di_sibling_node(dnode); in unconf_non_vhci_nodes()
1323 dnode = di_sibling_node(dnode); in unconf_non_vhci_nodes()
1331 dnode = di_sibling_node(dnode); in unconf_non_vhci_nodes()
1346 dnode = di_sibling_node(dnode); in unconf_non_vhci_nodes()
1352 dnode = di_sibling_node(dnode); in unconf_non_vhci_nodes()
1358 dnode = di_sibling_node(dnode); in unconf_non_vhci_nodes()
1368 dnode = di_sibling_node(dnode); in unconf_non_vhci_nodes()
1379 dnode = di_sibling_node(dnode); in unconf_non_vhci_nodes()
1391 dnode = di_sibling_node(dnode); in unconf_non_vhci_nodes()
[all …]
/illumos-gate/usr/src/psm/stand/bootblks/zfs/common/
H A Dzfs.fth1126 dnode /dnode move ( )
1147 dnode obj-dir /dnode move
1154 dnode root-dsl /dnode move
1159 get-mos-dnode dnode >dsl-ds ( snap$ ds )
1376 get-fs-dnode
1377 dnode set-attr
1411 dnode set-attr
1484 /dnode field >dnode
1497 : file-dnode ( -- dn ) current-fd fd>record >dnode ;
1518 dup >dnode dnode swap /dnode move
[all …]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dexpand.c242 DirNode *dnode; in del_ExpandFile() local
250 for(dnode=ef->cache.head; dnode; dnode=dnode->next) in del_ExpandFile()
251 dnode->dr = _del_DirReader(dnode->dr); in del_ExpandFile()
348 DirNode *dnode; /* A directory-reader cache node */ in ef_expand_file() local
444 dnode = ef_open_dir(ef, dirname); in ef_expand_file()
445 if(!dnode) in ef_expand_file()
450 if(ef_match_relative_pathname(ef, dnode->dr, path, 0)) { in ef_expand_file()
451 dnode = ef_close_dir(ef, dnode); in ef_expand_file()
457 dnode = ef_close_dir(ef, dnode); in ef_expand_file()
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard_hostbridge.c91 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 Dcpuboard.c407 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()
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_intel.c137 if (topo_node_range_create(mod, dnode, RANK, rank, in mc_add_ranks()
144 fmri = topo_mod_hcfmri(mod, dnode, FM_HC_SCHEME_VERSION, in mc_add_ranks()
151 if ((rnode = topo_node_bind(mod, dnode, RANK, rank, in mc_add_ranks()
191 tnode_t *dnode; in mc_add_dimms() local
272 (void) topo_pgroup_create(dnode, &dimm_pgroup, &err); in mc_add_dimms()
281 dnode); in mc_add_dimms()
287 (void) topo_node_resource(dnode, &fmri, &err); in mc_add_dimms()
295 (void) topo_node_label_set(dnode, label, &err); in mc_add_dimms()
300 (void) topo_node_fru_set(dnode, fmri, 0, &err); in mc_add_dimms()
301 (void) topo_node_asru_set(dnode, fmri, 0, &err); in mc_add_dimms()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/niu/
H A Dniu.c354 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()
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfsimpl.c2341 int nlevels = dnode->dn_nlevels; in dnode_read()
2361 if (bn > dnode->dn_maxblkid) { in dnode_read()
2374 indbp = dnode->dn_blkptr; in dnode_read()
2393 dnode_cache_obj = dnode; in dnode_read()
2718 z.zap_dnode = dnode; in fzap_lookup()
2746 rc = dnode_read(spa, dnode, 0, zap, size); in zap_lookup()
2901 rc = dnode_read(spa, dnode, 0, zap, size); in zap_list()
2915 dnode_phys_t *dnode) in objset_get_dnode() argument
2921 dnode, sizeof (dnode_phys_t))); in objset_get_dnode()
3041 rc = dnode_read(spa, dnode, 0, zap, size); in zap_rlookup()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/
H A Dopl_hostbridge.c106 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()
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dfhc_bd.c624 dev_info_t *dnode; in fhc_bdlist_dk_init() local
630 for (dnode = ddi_get_child(ddi_root_node()); in fhc_bdlist_dk_init()
631 dnode != NULL; dnode = ddi_get_next_sibling(dnode)) { in fhc_bdlist_dk_init()
632 if (strcmp(ddi_node_name(dnode), "disk-board") == 0) { in fhc_bdlist_dk_init()
641 if ((board = (int)ddi_getprop(DDI_DEV_T_ANY, dnode, in fhc_bdlist_dk_init()
650 if ((id = (int)ddi_getprop(DDI_DEV_T_ANY, dnode, in fhc_bdlist_dk_init()
658 if ((id = (int)ddi_getprop(DDI_DEV_T_ANY, dnode, in fhc_bdlist_dk_init()
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c179 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()

123