Lines Matching defs:by

16  * fields enclosed by brackets "[]" replaced with your own identifying
64 static int build_usage_string(char *dname, char *by, char *data, char **use,
515 * Errors must be handled by the caller. The dm_descriptor_t *
550 * Errors must be handled by the caller. The dm_descriptor_t *
668 * This is done by assuming the following:
802 * Check a slice to see if it's being used by swap.
850 char *by, *data;
937 if (nvpair_value_string(nvwhat, &by)) {
950 if (strcmp(by, DM_USE_LU) == 0 ||
951 strcmp(by, DM_USE_FS) == 0 ||
952 strcmp(by, DM_USE_EXPORTED_ZPOOL) == 0) {
956 by, data, msg, &found, errp) != 0) {
966 if (strcmp(by, DM_USE_DUMP) == 0 ||
967 strcmp(by, DM_USE_FS) == 0 ||
968 strcmp(by, DM_USE_EXPORTED_ZPOOL) == 0) {
971 if (strcmp(by, DM_USE_LU) == 0 &&
975 if (strcmp(by, DM_USE_VFSTAB) == 0 &&
980 by, data, msg, &found, errp) != 0) {
990 if ((strcmp(by, DM_USE_MOUNT) == 0 &&
992 strcmp(by, DM_USE_DUMP) == 0 ||
993 strcmp(by, DM_USE_FS) == 0 ||
994 strcmp(by, DM_USE_EXPORTED_ZPOOL) == 0) {
998 by, data, msg, &found, errp)) {
1006 if (strcmp(by, DM_USE_FS) == 0 ||
1007 strcmp(by, DM_USE_EXPORTED_ZPOOL) == 0)
1010 by, data, msg, &found, errp) != 0) {
1018 if (strcmp(by, DM_USE_FS) == 0 ||
1019 strcmp(by, DM_USE_EXPORTED_ZPOOL) == 0)
1024 by, data, msg, &found, errp) != 0) {
1031 if (strcmp(by, DM_USE_SPARE_ZPOOL) != 0) {
1032 if (build_usage_string(dname, by,
1069 "%s is currently used by swap. Please see swap(1M)."
1092 "%s is in use by %s. Please see dumpadm(1M)."
1249 build_usage_string(char *dname, char *by, char *data, char **msg,
1259 dm_get_usage_string(by, data, &use);