sdev_data
struct sdev_data *mntinfo;
sdev_process_profile(struct sdev_data *sdev_data, nvlist_t *profile)
dir = sdev_data->sdev_root; /* root of current instance */
struct sdev_data *sdev_data;
sdev_data = (struct sdev_data *)vfsp->vfs_data;
ASSERT(sdev_data);
dv = sdev_data->sdev_root;
if (sdev_data->sdev_mountargs) {
kmem_free(sdev_data->sdev_mountargs,
sdev_data->sdev_mountargs = args;
sdev_data = kmem_zalloc(sizeof (struct sdev_data), KM_SLEEP);
vfsp->vfs_data = (caddr_t)sdev_data;
sdev_data->sdev_vfsp = vfsp;
sdev_data->sdev_root = dv;
sdev_data->sdev_mountargs = args;
if (VOP_PATHCONF(avp, _PC_ACL_ENABLED, &sdev_data->sdev_acl_flavor,
kcred, NULL) != 0 || sdev_data->sdev_acl_flavor == 0)
sdev_data->sdev_acl_flavor = _ACL_ACLENT_ENABLED;
sdev_insert_mntinfo(sdev_data);
struct sdev_data *sdev_data, *prev, *next;
sdev_data = (struct sdev_data *)vfsp->vfs_data;
prev = sdev_data->sdev_prev;
next = sdev_data->sdev_next;
if (sdev_data->sdev_mountargs) {
kmem_free(sdev_data->sdev_mountargs,
kmem_free(sdev_data, sizeof (struct sdev_data));
sdev_insert_mntinfo(struct sdev_data *data)
struct sdev_data *
struct sdev_data *mntinfo;
sdev_mntinfo_rele(struct sdev_data *mntinfo)
struct sdev_data *mntinfo;
struct sdev_data *sdev_origins; /* mount info for origins under /dev */
static struct sdev_data *sdev_mntinfo = NULL; /* linked list of instances */
static void sdev_insert_mntinfo(struct sdev_data *);
struct sdev_data *sdev_prev;
struct sdev_data *sdev_next;
#define VFSTOSDEVFS(vfsp) ((struct sdev_data *)((vfsp)->vfs_data))
extern struct sdev_data *sdev_find_mntinfo(char *);
void sdev_mntinfo_rele(struct sdev_data *);
extern struct sdev_data *sdev_origins; /* mount info for global /dev instance */