Searched refs:__sysfs_match_string (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/md/bcache/ |
| H A D | sysfs.c | 377 v = __sysfs_match_string(bch_cache_modes, -1, buf); in STORE() 388 v = __sysfs_match_string(bch_reada_cache_policies, -1, buf); in STORE() 397 v = __sysfs_match_string(bch_stop_on_failure_modes, -1, buf); in STORE() 874 v = __sysfs_match_string(error_actions, -1, buf); in STORE() 1144 v = __sysfs_match_string(cache_replacement_policies, -1, buf); in STORE()
|
| /linux/include/linux/ |
| H A D | string.h | 327 int __sysfs_match_string(const char * const *array, size_t n, const char *s); 334 * Helper for __sysfs_match_string(). Calculates the size of @a automatically. 336 #define sysfs_match_string(_a, _s) __sysfs_match_string(_a, ARRAY_SIZE(_a), _s)
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | intel_epb.c | 157 ret = __sysfs_match_string(energy_perf_strings, in energy_perf_bias_store()
|
| /linux/lib/ |
| H A D | string_helpers.c | 958 int __sysfs_match_string(const char * const *array, size_t n, const char *str) in __sysfs_match_string() function 973 EXPORT_SYMBOL(__sysfs_match_string);
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_sriov_pf_sysfs.c | 170 match = __sysfs_match_string(sched_priority_names, num_priorities, buf); in xe_sriov_dev_attr_sched_priority_store() 263 match = __sysfs_match_string(sched_priority_names, num_priorities, buf); in xe_sriov_vf_attr_sched_priority_store()
|
| /linux/drivers/counter/ |
| H A D | counter-sysfs.c | 261 err = __sysfs_match_string(avail->strs, avail->num_items, buf); in counter_comp_u32_store()
|
| /linux/drivers/iio/ |
| H A D | industrialio-core.c | 576 ret = __sysfs_match_string(e->items, e->num_items, buf); in iio_enum_write()
|