Searched refs:__sysfs_match_string (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/block/zram/ |
D | zcomp.c | 73 i = __sysfs_match_string(backends, -1, comp); in zcomp_available_algorithm()
|
/Linux-v4.19/drivers/md/bcache/ |
D | sysfs.c | 308 v = __sysfs_match_string(bch_cache_modes, -1, buf); in STORE() 319 v = __sysfs_match_string(bch_stop_on_failure_modes, -1, buf); in STORE() 756 v = __sysfs_match_string(error_actions, -1, buf); in STORE() 1003 v = __sysfs_match_string(cache_replacement_policies, -1, buf); in STORE()
|
/Linux-v4.19/include/linux/ |
D | string.h | 185 int __sysfs_match_string(const char * const *array, size_t n, const char *s); 194 #define sysfs_match_string(_a, _s) __sysfs_match_string(_a, ARRAY_SIZE(_a), _s)
|
/Linux-v4.19/lib/ |
D | string.c | 669 int __sysfs_match_string(const char * const *array, size_t n, const char *str) in __sysfs_match_string() function 684 EXPORT_SYMBOL(__sysfs_match_string);
|
/Linux-v4.19/drivers/iio/ |
D | industrialio-core.c | 483 ret = __sysfs_match_string(e->items, e->num_items, buf); in iio_enum_write()
|