Lines Matching refs:page
181 static ssize_t config_key_description_show(struct config_item *item, char *page) in config_key_description_show() argument
183 return sprintf(page, "%s\n", to_config_key(item)->description); in config_key_description_show()
187 const char *page, size_t count) in config_key_description_store() argument
194 len = strcspn(page, "\n"); in config_key_description_store()
206 config_key->description = kmemdup_nul(page, len, GFP_KERNEL); in config_key_description_store()
257 static ssize_t config_keys_count_show(struct config_item *item, char *page) in config_keys_count_show() argument
259 return sprintf(page, "%d\n", key_count); in config_keys_count_show()
266 static ssize_t config_keys_reuse_show(struct config_item *item, char *page) in config_keys_reuse_show() argument
268 return sprintf(page, "%d\n", is_dm_key_reused); in config_keys_reuse_show()
272 const char *page, size_t count) in config_keys_reuse_store() argument
280 if (kstrtobool(page, &is_dm_key_reused)) in config_keys_reuse_store()
313 static ssize_t config_keys_restore_show(struct config_item *item, char *page) in config_keys_restore_show() argument
315 return sprintf(page, "%d\n", restore); in config_keys_restore_show()
319 const char *page, size_t count) in config_keys_restore_store() argument
324 if (kstrtobool(page, &restore)) in config_keys_restore_store()