Searched refs:name_buf (Results 1 – 3 of 3) sorted by relevance
/drivers/firmware/google/ |
D | gsmi.c | 93 struct gsmi_buf *name_buf; /* variable name buffer */ member 314 .name_ptr = gsmi_dev.name_buf->address, in gsmi_get_variable() 332 memset(gsmi_dev.name_buf->start, 0, gsmi_dev.name_buf->length); in gsmi_get_variable() 333 memcpy(gsmi_dev.name_buf->start, name, name_len * 2); in gsmi_get_variable() 377 .name_ptr = gsmi_dev.name_buf->address, in gsmi_get_next_variable() 378 .name_len = gsmi_dev.name_buf->length, in gsmi_get_next_variable() 398 memcpy(gsmi_dev.name_buf->start, name, *name_size); in gsmi_get_next_variable() 416 memcpy(name, gsmi_dev.name_buf->start, GSMI_BUF_SIZE); in gsmi_get_next_variable() 436 .name_ptr = gsmi_dev.name_buf->address, in gsmi_set_variable() 457 memset(gsmi_dev.name_buf->start, 0, gsmi_dev.name_buf->length); in gsmi_set_variable() [all …]
|
/drivers/extcon/ |
D | extcon.c | 410 char name_buf[120]; in extcon_sync() local 460 snprintf(name_buf, sizeof(name_buf), "NAME=%s", prop_buf); in extcon_sync() 461 envp[env_offset++] = name_buf; in extcon_sync()
|
/drivers/staging/exfat/ |
D | exfat_core.c | 21 static u8 name_buf[MAX_PATH_LENGTH * MAX_CHARSET_SIZE]; variable 2964 if (strscpy(name_buf, path, sizeof(name_buf)) < 0) in resolve_path() 2967 nls_cstring_to_uniname(sb, p_uniname, name_buf, &lossy); in resolve_path()
|