Lines Matching refs:argv
3048 static int crypt_ctr_optional(struct dm_target *ti, unsigned int argc, char **argv)
3062 as.argv = argv;
3146 static int crypt_ctr(struct dm_target *ti, unsigned int argc, char **argv)
3162 key_size = get_key_size(&argv[1]);
3190 ret = crypt_ctr_optional(ti, argc - 5, &argv[5]);
3195 ret = crypt_ctr_cipher(ti, argv[0], argv[1]);
3255 if ((sscanf(argv[2], "%llu%c", &tmpll, &dummy) != 1) ||
3262 ret = dm_get_device(ti, argv[3], dm_table_get_mode(ti->table), &cc->dev);
3269 if (sscanf(argv[4], "%llu%c", &tmpll, &dummy) != 1 || tmpll != (sector_t)tmpll) {
3509 static int crypt_message(struct dm_target *ti, unsigned argc, char **argv,
3518 if (!strcasecmp(argv[0], "key")) {
3523 if (argc == 3 && !strcasecmp(argv[1], "set")) {
3525 key_size = get_key_size(&argv[2]);
3527 memset(argv[2], '0', strlen(argv[2]));
3531 ret = crypt_set_key(cc, argv[2]);
3541 if (argc == 2 && !strcasecmp(argv[1], "wipe"))