Home
last modified time | relevance | path

Searched refs:arr (Results 1 – 2 of 2) sorted by relevance

/kernel/
Dparams.c445 const struct kparam_array *arr = kp->arr; in param_array_set() local
448 return param_array(kp->mod, kp->name, val, 1, arr->max, arr->elem, in param_array_set()
449 arr->elemsize, arr->ops->set, kp->level, in param_array_set()
450 arr->num ?: &temp_num); in param_array_set()
456 const struct kparam_array *arr = kp->arr; in param_array_get() local
459 for (i = off = 0; i < (arr->num ? *arr->num : arr->max); i++) { in param_array_get()
463 p.arg = arr->elem + arr->elemsize * i; in param_array_get()
465 ret = arr->ops->get(buffer + off, &p); in param_array_get()
477 const struct kparam_array *arr = arg; in param_array_free() local
479 if (arr->ops->free) in param_array_free()
[all …]
Dmodule.c402 static bool each_symbol_in_section(const struct symsearch *arr, in each_symbol_in_section() argument
413 if (fn(&arr[j], owner, data)) in each_symbol_in_section()
421 bool each_symbol_section(bool (*fn)(const struct symsearch *arr, in each_symbol_section() argument
427 static const struct symsearch arr[] = { in each_symbol_section() local
448 if (each_symbol_in_section(arr, ARRAY_SIZE(arr), NULL, fn, data)) in each_symbol_section()
452 struct symsearch arr[] = { in each_symbol_section() local
477 if (each_symbol_in_section(arr, ARRAY_SIZE(arr), mod, fn, data)) in each_symbol_section()
2270 } arr[] = { in verify_exported_symbols() local
2280 for (i = 0; i < ARRAY_SIZE(arr); i++) { in verify_exported_symbols()
2281 for (s = arr[i].sym; s < arr[i].sym + arr[i].num; s++) { in verify_exported_symbols()