Lines Matching defs:buffer
31 static void *diag204_buf; /* 4K aligned buffer for diag204 data */
241 /* The buffer has to be page aligned! */
393 u64 len; /* Length of d204 buffer without header */
401 char buf[]; /* d204 buffer */
475 char buffer[TMP_SIZE];
478 snprintf(buffer, TMP_SIZE, "%d", cpu_info__cpu_addr(diag204_info_type,
480 cpu_dir = hypfs_mkdir(cpus_dir, buffer);
497 diag224_idx2name(cpu_info__ctidx(diag204_info_type, cpu_info), buffer);
498 rc = hypfs_create_str(cpu_dir, "type", buffer);
532 char buffer[TMP_SIZE];
535 snprintf(buffer, TMP_SIZE, "%i", phys_cpu__cpu_addr(diag204_info_type,
537 cpu_dir = hypfs_mkdir(cpus_dir, buffer);
544 diag224_idx2name(phys_cpu__ctidx(diag204_info_type, cpu_info), buffer);
545 rc = hypfs_create_str(cpu_dir, "type", buffer);
574 void *buffer, *ptr;
576 buffer = diag204_store();
577 if (IS_ERR(buffer))
578 return PTR_ERR(buffer);
585 time_hdr = (struct x_info_blk_hdr *)buffer;