Lines Matching refs:buff
181 char *buff, int length, in nvram_write_os_partition() argument
206 rc = ppc_md.nvram_write(buff, length, &tmp_index); in nvram_write_os_partition()
219 int nvram_read_partition(struct nvram_os_partition *part, char *buff, in nvram_read_partition() argument
243 rc = ppc_md.nvram_read(buff, length, &tmp_index); in nvram_read_partition()
426 char *buff = NULL; in nvram_pstore_read() local
486 buff = kmalloc(part->size, GFP_KERNEL); in nvram_pstore_read()
488 if (!buff) in nvram_pstore_read()
491 if (nvram_read_partition(part, buff, part->size, &err_type, &id_no)) { in nvram_pstore_read()
492 kfree(buff); in nvram_pstore_read()
504 oops_hdr = (struct oops_log_info *)buff; in nvram_pstore_read()
517 record->buf = kmemdup(buff + hdr_size, length, GFP_KERNEL); in nvram_pstore_read()
518 kfree(buff); in nvram_pstore_read()
530 record->buf = buff; in nvram_pstore_read()