Lines Matching defs:key
29 switch (pair->key) {
190 switch (pair->key) {
222 * call, but get their element key set to -1 and value set to 0
226 pair->key = -1;
273 if (get_user(pair.key, &pairs->key))
278 ret = put_user(pair.key, &pairs->key);
327 if (!riscv_hwprobe_key_is_valid(pair.key)) {
329 pair = (struct riscv_hwprobe){ .key = -1, };
338 tmp = (struct riscv_hwprobe){ .key = pair.key, };
383 int key;
389 for (key = 0; key <= RISCV_HWPROBE_MAX_KEY; key++) {
390 pair.key = key;
393 WARN_ON_ONCE(pair.key < 0);
395 avd->all_cpu_hwprobe_values[key] = pair.value;
400 if (key <= RISCV_HWPROBE_KEY_MIMPID)