Lines Matching refs:message
28 static char message[1024]; /* keep it off the stack */ variable
53 len = vsnprintf(message, sizeof(message), fp, ap); in cmn_err()
54 if (len >= sizeof(message)) in cmn_err()
55 len = sizeof(message) - 1; in cmn_err()
56 if (message[len-1] == '\n') in cmn_err()
57 message[len-1] = 0; in cmn_err()
58 printk("%s%s\n", err_level[level], message); in cmn_err()
81 len = sprintf(message, "Filesystem \"%s\": ", mp->m_fsname); in xfs_fs_vcmn_err()
87 if (len >= sizeof(message)) in xfs_fs_vcmn_err()
91 len = vsnprintf(message + len, sizeof(message) - len, fmt, ap); in xfs_fs_vcmn_err()
92 if (len >= sizeof(message)) in xfs_fs_vcmn_err()
93 len = sizeof(message) - 1; in xfs_fs_vcmn_err()
94 if (message[len-1] == '\n') in xfs_fs_vcmn_err()
95 message[len-1] = 0; in xfs_fs_vcmn_err()
97 printk("%s%s\n", err_level[level], message); in xfs_fs_vcmn_err()