Lines Matching refs:buffer
222 int param_get_##name(char *buffer, const struct kernel_param *kp) \
224 return scnprintf(buffer, PAGE_SIZE, format "\n", \
268 int param_get_charp(char *buffer, const struct kernel_param *kp) in param_get_charp() argument
270 return scnprintf(buffer, PAGE_SIZE, "%s\n", *((char **)kp->arg)); in param_get_charp()
298 int param_get_bool(char *buffer, const struct kernel_param *kp) in param_get_bool() argument
301 return sprintf(buffer, "%c\n", *(bool *)kp->arg ? 'Y' : 'N'); in param_get_bool()
358 int param_get_invbool(char *buffer, const struct kernel_param *kp) in param_get_invbool() argument
360 return sprintf(buffer, "%c\n", (*(bool *)kp->arg) ? 'N' : 'Y'); in param_get_invbool()
453 static int param_array_get(char *buffer, const struct kernel_param *kp) in param_array_get() argument
462 buffer[off - 1] = ','; in param_array_get()
465 ret = arr->ops->get(buffer + off, &p); in param_array_get()
470 buffer[off] = '\0'; in param_array_get()
505 int param_get_string(char *buffer, const struct kernel_param *kp) in param_get_string() argument
508 return scnprintf(buffer, PAGE_SIZE, "%s\n", kps->string); in param_get_string()