Lines Matching refs:i
73 size_t i; in parameqn() local
75 for (i = 0; i < n; i++) { in parameqn()
76 if (dash2underscore(a[i]) != dash2underscore(b[i])) in parameqn()
106 unsigned int i; in parse_one() local
110 for (i = 0; i < num_params; i++) { in parse_one()
111 if (parameq(param, params[i].name)) { in parse_one()
112 if (params[i].level < min_level in parse_one()
113 || params[i].level > max_level) in parse_one()
117 !(params[i].ops->flags & KERNEL_PARAM_OPS_FL_NOARG)) in parse_one()
120 params[i].ops->set); in parse_one()
122 param_check_unsafe(¶ms[i]); in parse_one()
123 err = params[i].ops->set(val, ¶ms[i]); in parse_one()
142 unsigned int i, equals = 0; in next_arg() local
152 for (i = 0; args[i]; i++) { in next_arg()
153 if (isspace(args[i]) && !in_quote) in next_arg()
156 if (args[i] == '=') in next_arg()
157 equals = i; in next_arg()
159 if (args[i] == '"') in next_arg()
173 if (args[i-1] == '"') in next_arg()
174 args[i-1] = '\0'; in next_arg()
176 if (quoted && args[i-1] == '"') in next_arg()
177 args[i-1] = '\0'; in next_arg()
180 if (args[i]) { in next_arg()
181 args[i] = '\0'; in next_arg()
182 next = args + i + 1; in next_arg()
184 next = args + i; in next_arg()
450 int i, off, ret; in param_array_get() local
455 for (i = off = 0; i < (arr->num ? *arr->num : arr->max); i++) { in param_array_get()
456 if (i) in param_array_get()
458 p.arg = arr->elem + arr->elemsize * i; in param_array_get()
471 unsigned int i; in param_array_free() local
475 for (i = 0; i < (arr->num ? *arr->num : arr->max); i++) in param_array_free()
476 arr->ops->free(arr->elem + arr->elemsize * i); in param_array_free()
691 int i, err; in module_param_sysfs_setup() local
694 for (i = 0; i < num_params; i++) { in module_param_sysfs_setup()
695 if (kparam[i].perm == 0) in module_param_sysfs_setup()
697 err = add_sysfs_param(&mod->mkobj, &kparam[i], kparam[i].name); in module_param_sysfs_setup()
733 unsigned int i; in destroy_params() local
735 for (i = 0; i < num; i++) in destroy_params()
736 if (params[i].ops->free) in destroy_params()
737 params[i].ops->free(params[i].arg); in destroy_params()