Home
last modified time | relevance | path

Searched refs:ds_hexsl (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/uts/common/os/
H A Dtlabel.c236 char ds_hexsl[MAXNAMELEN]; in getflabel_zfs() local
243 1, sizeof (ds_hexsl), &ds_hexsl, NULL); in getflabel_zfs()
246 if ((error) || (strcasecmp(ds_hexsl, ZFS_MLSLABEL_DEFAULT) == 0)) in getflabel_zfs()
248 if (hexstr_to_label(ds_hexsl, &ds_sl) != 0) in getflabel_zfs()
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c1360 char ds_hexsl[MAXNAMELEN]; in zfs_mount_label_policy() local
1368 1, sizeof (ds_hexsl), &ds_hexsl, NULL); in zfs_mount_label_policy()
1378 if (strcasecmp(ds_hexsl, ZFS_MLSLABEL_DEFAULT) == 0) in zfs_mount_label_policy()
1399 return (zfs_check_global_label(osname, ds_hexsl)); in zfs_mount_label_policy()
1414 if (strcasecmp(ds_hexsl, ZFS_MLSLABEL_DEFAULT) == 0) { in zfs_mount_label_policy()
1427 } else if (hexstr_to_label(ds_hexsl, &ds_sl) == 0) { in zfs_mount_label_policy()
H A Dzfs_ioctl.c519 char ds_hexsl[MAXNAMELEN]; in zfs_set_slabel_policy() local
528 1, sizeof (ds_hexsl), &ds_hexsl, NULL); in zfs_set_slabel_policy()
569 if (strcasecmp(ds_hexsl, ZFS_MLSLABEL_DEFAULT) != 0) { in zfs_set_slabel_policy()
/titanic_50/usr/src/cmd/zoneadmd/
H A Dvplat.c3712 char ds_hexsl[MAXNAMELEN]; in validate_rootds_label() local
3739 if ((zfs_prop_get(zhp, ZFS_PROP_MLSLABEL, ds_hexsl, MAXNAMELEN, in validate_rootds_label()
3741 (strcmp(ds_hexsl, ZFS_MLSLABEL_DEFAULT) == 0)) { in validate_rootds_label()
3770 error = hexstr_to_label(ds_hexsl, &ds_sl); in validate_rootds_label()