Lines Matching defs:buffer
205 char buffer[TMP_SIZE];
208 snprintf(buffer, TMP_SIZE, "%d", cpu_info__cpu_addr(diag204_get_info_type(),
210 cpu_dir = hypfs_mkdir(cpus_dir, buffer);
227 diag224_idx2name(cpu_info__ctidx(diag204_get_info_type(), cpu_info), buffer);
228 rc = hypfs_create_str(cpu_dir, "type", buffer);
263 char buffer[TMP_SIZE];
266 snprintf(buffer, TMP_SIZE, "%i", phys_cpu__cpu_addr(diag204_get_info_type(),
268 cpu_dir = hypfs_mkdir(cpus_dir, buffer);
275 diag224_idx2name(phys_cpu__ctidx(diag204_get_info_type(), cpu_info), buffer);
276 rc = hypfs_create_str(cpu_dir, "type", buffer);
305 void *buffer, *ptr;
308 buffer = diag204_get_buffer(diag204_get_info_type(), &pages);
309 if (IS_ERR(buffer))
310 return PTR_ERR(buffer);
311 rc = diag204_store(buffer, pages);
320 time_hdr = (struct x_info_blk_hdr *)buffer;