Home
last modified time | relevance | path

Searched refs:__sysfs_match_string (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/md/bcache/
H A Dsysfs.c378 v = __sysfs_match_string(bch_cache_modes, -1, buf); in STORE()
389 v = __sysfs_match_string(bch_reada_cache_policies, -1, buf); in STORE()
398 v = __sysfs_match_string(bch_stop_on_failure_modes, -1, buf); in STORE()
875 v = __sysfs_match_string(error_actions, -1, buf); in STORE()
1158 v = __sysfs_match_string(cache_replacement_policies, -1, buf); in STORE()
/linux/include/linux/
H A Dstring.h327 int __sysfs_match_string(const char * const *array, size_t n, const char *s);
336 #define sysfs_match_string(_a, _s) __sysfs_match_string(_a, ARRAY_SIZE(_a), _s)
/linux/lib/
H A Dstring_helpers.c957 int __sysfs_match_string(const char * const *array, size_t n, const char *str) in __sysfs_match_string() function
972 EXPORT_SYMBOL(__sysfs_match_string);
/linux/drivers/counter/
H A Dcounter-sysfs.c261 err = __sysfs_match_string(avail->strs, avail->num_items, buf); in counter_comp_u32_store()