Lines Matching defs:msg
843 * The **msg parameter returns a list of 'in use' details. This message
847 dm_inuse(char *dev_name, char **msg, dm_who_type_t who, int *errp)
858 *msg = NULL;
891 (void) build_usage_string(dname, DM_USE_MOUNT, "swap", msg,
956 by, data, msg, &found, errp) != 0) {
980 by, data, msg, &found, errp) != 0) {
998 by, data, msg, &found, errp)) {
1010 by, data, msg, &found, errp) != 0) {
1024 by, data, msg, &found, errp) != 0) {
1033 data, msg, &found, errp) != 0) {
1244 * the msg parameter. This function takes care of reallocing all the memory
1249 build_usage_string(char *dname, char *by, char *data, char **msg,
1264 if (*msg)
1265 len0 = strlen(*msg);
1277 if ((p = realloc(*msg, len0 + len1 + 1)) == NULL) {
1279 free(*msg);
1282 *msg = p;
1285 (void) snprintf(*msg + len0, len1 + 1, use, dname, data);