Home
last modified time | relevance | path

Searched refs:buf_cp (Results 1 – 3 of 3) sorted by relevance

/drivers/platform/x86/dell/dell-wmi-sysman/
A Ddell-wmi-sysman.h142 char *p, *buf_cp; \
144 buf_cp = kstrdup(buf, GFP_KERNEL); \
145 if (!buf_cp) \
147 p = memchr(buf_cp, '\n', count); \
153 ret = validate_##type##_input(i, buf_cp); \
155 ret = set_attribute(kobj->name, buf_cp); \
156 kfree(buf_cp); \
A Dpassobj-attributes.c76 char *p, *buf_cp; in new_password_store() local
79 buf_cp = kstrdup(buf, GFP_KERNEL); in new_password_store()
80 if (!buf_cp) in new_password_store()
82 p = memchr(buf_cp, '\n', count); in new_password_store()
86 if (strlen(buf_cp) > MAX_BUFF) { in new_password_store()
91 ret = set_new_password(kobj->name, buf_cp); in new_password_store()
94 kfree(buf_cp); in new_password_store()
/drivers/platform/x86/hp/hp-bioscfg/
A Dpasswdobj-attributes.c87 char *buf_cp; in store_password_instance() local
90 buf_cp = kstrdup(buf, GFP_KERNEL); in store_password_instance()
91 if (!buf_cp) in store_password_instance()
94 ret = hp_enforce_single_line_input(buf_cp, count); in store_password_instance()
99 ret = validate_password_input(id, buf_cp); in store_password_instance()
104 strscpy(bioscfg_drv.password_data[id].current_password, buf_cp); in store_password_instance()
106 strscpy(bioscfg_drv.password_data[id].new_password, buf_cp); in store_password_instance()
109 kfree(buf_cp); in store_password_instance()

Completed in 6 milliseconds