Lines Matching refs:version
482 if ((char *)info->vers + sizeof(tt->version) + strlen(tt->name) + 1 >
492 info->vers->version[0] = tt->version[0];
493 info->vers->version[1] = tt->version[1];
494 info->vers->version[2] = tt->version[2];
1392 {DM_VERSION_CMD, NULL}, /* version is dealt with elsewhere */
1418 * As well as checking the version compatibility this always
1419 * copies the kernel interface version out.
1423 uint32_t version[3];
1426 if (copy_from_user(version, user->version, sizeof(version)))
1429 if ((DM_VERSION_MAJOR != version[0]) ||
1430 (DM_VERSION_MINOR < version[1])) {
1435 version[0], version[1], version[2], cmd);
1440 * Fill in the kernel version.
1442 version[0] = DM_VERSION_MAJOR;
1443 version[1] = DM_VERSION_MINOR;
1444 version[2] = DM_VERSION_PATCHLEVEL;
1445 if (copy_to_user(user->version, version, sizeof(version)))
1526 * Check the interface version passed in. This also
1527 * writes out the kernel's interface version.
1534 * Nothing more to do for the version command.