Lines Matching refs:argv
3135 static int crypt_ctr_optional(struct dm_target *ti, unsigned int argc, char **argv)
3149 as.argv = argv;
3232 static int crypt_ctr(struct dm_target *ti, unsigned int argc, char **argv)
3248 key_size = get_key_size(&argv[1]);
3276 ret = crypt_ctr_optional(ti, argc - 5, &argv[5]);
3281 ret = crypt_ctr_cipher(ti, argv[0], argv[1]);
3341 if ((sscanf(argv[2], "%llu%c", &tmpll, &dummy) != 1) ||
3348 ret = dm_get_device(ti, argv[3], dm_table_get_mode(ti->table), &cc->dev);
3355 if (sscanf(argv[4], "%llu%c", &tmpll, &dummy) != 1 || tmpll != (sector_t)tmpll) {
3641 static int crypt_message(struct dm_target *ti, unsigned int argc, char **argv,
3650 if (!strcasecmp(argv[0], "key")) {
3655 if (argc == 3 && !strcasecmp(argv[1], "set")) {
3657 key_size = get_key_size(&argv[2]);
3659 memset(argv[2], '0', strlen(argv[2]));
3663 ret = crypt_set_key(cc, argv[2]);
3673 if (argc == 2 && !strcasecmp(argv[1], "wipe"))