Home
last modified time | relevance | path

Searched refs:sdev_flags (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_netops.c152 if (!(dv->sdev_flags & SDEV_ATTR_INVALID)) in devnet_lookup()
175 if (dv->sdev_flags & SDEV_ATTR_INVALID) { in devnet_lookup()
184 dv->sdev_flags &= ~SDEV_ATTR_INVALID; in devnet_lookup()
239 dv->sdev_flags |= SDEV_ATTR_INVALID; in devnet_filldir_datalink()
286 if (((ddv->sdev_flags & SDEV_BUILD) == 0) && !dls_devnet_rebuild()) in devnet_filldir()
302 ddv->sdev_flags &= ~SDEV_BUILD; in devnet_filldir()
345 sdvp->sdev_flags |= SDEV_ATTR_INVALID; in devnet_inactive_callback()
H A Dsdev_subr.c336 dv->sdev_flags = ddv->sdev_flags; /* inherit from the parent first */ in sdev_nodeinit()
337 dv->sdev_flags |= SDEV_BUILD; in sdev_nodeinit()
341 dv->sdev_flags |= SDEV_GLOBAL; in sdev_nodeinit()
348 dv->sdev_flags &= ~SDEV_GLOBAL; in sdev_nodeinit()
383 dv->sdev_flags &= ~SDEV_PERSIST; in sdev_nodeready()
384 dv->sdev_flags &= ~SDEV_DYNAMIC; in sdev_nodeready()
404 dv->sdev_flags &= ~SDEV_PERSIST; in sdev_nodeready()
478 dv->sdev_flags = SDEV_BUILD; in sdev_mkroot()
479 dv->sdev_flags &= ~SDEV_PERSIST; in sdev_mkroot()
2136 ddv->sdev_flags |= SDEV_BUILD; in sdev_stale()
[all …]
H A Dsdev_profile.c546 ASSERT((dir->sdev_flags & SDEV_ZONED) != 0); in prof_zone_matched()
630 if ((dir->sdev_flags & SDEV_ZONED) != 0) in prof_make_names()
679 (((ddv->sdev_flags & SDEV_BUILD) != 0) || in prof_dev_needupdate()
731 if ((ddv->sdev_flags & SDEV_BUILD) == SDEV_BUILD) { in prof_filldir()
732 ddv->sdev_flags &= ~SDEV_BUILD; in prof_filldir()
821 dir->sdev_flags |= SDEV_BUILD; in prof_add_rule()
H A Dsdev_plugin.c173 return (sdp->sdev_flags & SDEV_GLOBAL); in sdev_ctx_flags()
845 dv->sdev_flags |= SDEV_NO_NCACHE; in sdev_set_no_negcache()
865 dv->sdev_flags |= spp->sp_nflags; in sdev_get_vop()
868 dv->sdev_flags |= SDEV_PERSIST; in sdev_get_vop()
874 dv->sdev_flags |= SDEV_PERSIST; in sdev_get_vop()
H A Dsdev_zvolops.c306 if (!(dv->sdev_flags & SDEV_GLOBAL) && dv->sdev_origin != NULL) { in devzvol_validate()
324 if (!(parent->sdev_flags & SDEV_GLOBAL) && in devzvol_validate()
326 !(dv->sdev_flags & SDEV_GLOBAL) && in devzvol_validate()
640 if (!(parent->sdev_flags & SDEV_GLOBAL) && in devzvol_mk_ngz_node()
H A Dsdev_ptsops.c223 ASSERT(ddv->sdev_flags & SDEV_VTOR); in devpts_prunedir()
H A Dsdev_vfsops.c357 dv->sdev_flags &= ~SDEV_GLOBAL; in sdev_mount()
H A Dsdev_vtops.c323 ASSERT(ddv->sdev_flags & SDEV_VTOR); in devvt_prunedir()
H A Dsdev_vnops.c1058 if ((fromdv->sdev_flags & SDEV_DYNAMIC) != 0 || in sdev_rename()
1059 (todv != NULL && (todv->sdev_flags & SDEV_DYNAMIC) != 0)) { in sdev_rename()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dsdev_impl.h134 typedef enum sdev_flags { enum
170 sdev_flags_t sdev_flags; /* flags bit */ member
219 (dv->sdev_flags & SDEV_GLOBAL)
221 (dv->sdev_flags & SDEV_PERSIST)
223 (dv->sdev_flags & SDEV_DYNAMIC)
225 (dv->sdev_flags & SDEV_NO_NCACHE)