Searched refs:local_buffer (Results 1 – 2 of 2) sorted by relevance
295 unsigned char *local_buffer = kmalloc(SPLPAR_MAXLENGTH, GFP_KERNEL); in parse_system_parameter_string() local296 if (!local_buffer) { in parse_system_parameter_string()309 memcpy(local_buffer, rtas_data_buf, SPLPAR_MAXLENGTH); in parse_system_parameter_string()310 local_buffer[SPLPAR_MAXLENGTH - 1] = '\0'; in parse_system_parameter_string()324 kfree(local_buffer); in parse_system_parameter_string()330 splpar_strlen = local_buffer[0] * 256 + local_buffer[1]; in parse_system_parameter_string()331 local_buffer += 2; /* step over strlen value */ in parse_system_parameter_string()335 while ((*local_buffer) && (idx < splpar_strlen)) { in parse_system_parameter_string()336 workbuffer[w_idx++] = local_buffer[idx++]; in parse_system_parameter_string()337 if ((local_buffer[idx] == ',') in parse_system_parameter_string()[all …]
2305 char local_buffer[CGROUP_LOCAL_BUFFER_SIZE]; in cgroup_write_string() local2308 char *buffer = local_buffer; in cgroup_write_string()2311 max_bytes = sizeof(local_buffer) - 1; in cgroup_write_string()2315 if (nbytes >= sizeof(local_buffer)) { in cgroup_write_string()2330 if (buffer != local_buffer) in cgroup_write_string()