Lines Matching refs:key
1713 static char *get_modinfo_value(struct obj_file *f, const char *key)
1717 size_t klen = strlen(key);
1728 if (p + klen == v && strncmp(p, key, klen) == 0)
1731 if (p + klen == n && strcmp(p, key) == 0)
2113 char *p, *q, *key;
2124 key = alloca(q - p + 6);
2125 memcpy(key, "parm_", 5);
2126 memcpy(key + 5, p, q - p);
2127 key[q - p + 5] = 0;
2129 p = get_modinfo_value(f, key);
2130 key += 5;
2132 error_msg("invalid parameter %s", key);
2136 sym = obj_find_symbol(f, key);
2140 error_msg("symbol for parameter %s not found", key);
2169 key);
2263 " the maximum size", key);
2270 error_msg("string too long for %s (max %ld)", key,
2299 error_msg("unknown parameter type '%c' for %s", *p, key);
2318 error_msg("too many values for %s (max %d)", key, max);
2325 error_msg("invalid argument syntax for %s", key);
2332 error_msg("too few values for %s (min %d)", key, min);