Lines Matching refs:buffer
222 int param_get_##name(char *buffer, const struct kernel_param *kp) \
224 return scnprintf(buffer, PAGE_SIZE, format "\n", \
287 int param_get_charp(char *buffer, const struct kernel_param *kp) in param_get_charp() argument
289 return scnprintf(buffer, PAGE_SIZE, "%s\n", *((char **)kp->arg)); in param_get_charp()
317 int param_get_bool(char *buffer, const struct kernel_param *kp) in param_get_bool() argument
320 return sprintf(buffer, "%c\n", *(bool *)kp->arg ? 'Y' : 'N'); in param_get_bool()
377 int param_get_invbool(char *buffer, const struct kernel_param *kp) in param_get_invbool() argument
379 return sprintf(buffer, "%c\n", (*(bool *)kp->arg) ? 'N' : 'Y'); in param_get_invbool()
472 static int param_array_get(char *buffer, const struct kernel_param *kp) in param_array_get() argument
481 buffer[off - 1] = ','; in param_array_get()
484 ret = arr->ops->get(buffer + off, &p); in param_array_get()
489 buffer[off] = '\0'; in param_array_get()
524 int param_get_string(char *buffer, const struct kernel_param *kp) in param_get_string() argument
527 return scnprintf(buffer, PAGE_SIZE, "%s\n", kps->string); in param_get_string()