Searched refs:buf_cp (Results 1 – 2 of 2) sorted by relevance
/linux-6.3-rc2/drivers/platform/x86/dell/dell-wmi-sysman/ |
A D | dell-wmi-sysman.h | 137 char *p, *buf_cp; \ 139 buf_cp = kstrdup(buf, GFP_KERNEL); \ 140 if (!buf_cp) \ 142 p = memchr(buf_cp, '\n', count); \ 148 ret = validate_##type##_input(i, buf_cp); \ 150 ret = set_attribute(kobj->name, buf_cp); \ 151 kfree(buf_cp); \
|
A D | passobj-attributes.c | 75 char *p, *buf_cp; in new_password_store() local 78 buf_cp = kstrdup(buf, GFP_KERNEL); in new_password_store() 79 if (!buf_cp) in new_password_store() 81 p = memchr(buf_cp, '\n', count); in new_password_store() 85 if (strlen(buf_cp) > MAX_BUFF) { in new_password_store() 90 ret = set_new_password(kobj->name, buf_cp); in new_password_store() 93 kfree(buf_cp); in new_password_store()
|
Completed in 3 milliseconds