Lines Matching refs:buff
192 char *buff, int length, in nvram_write_os_partition() argument
218 rc = ppc_md.nvram_write(buff, length, &tmp_index); in nvram_write_os_partition()
231 int nvram_read_partition(struct nvram_os_partition *part, char *buff, in nvram_read_partition() argument
257 rc = ppc_md.nvram_read(buff, length, &tmp_index); in nvram_read_partition()
453 char *buff = NULL; in nvram_pstore_read() local
513 buff = kmalloc(part->size, GFP_KERNEL); in nvram_pstore_read()
515 if (!buff) in nvram_pstore_read()
518 if (nvram_read_partition(part, buff, part->size, &err_type, &id_no)) { in nvram_pstore_read()
519 kfree(buff); in nvram_pstore_read()
531 oops_hdr = (struct oops_log_info *)buff; in nvram_pstore_read()
544 *buf = kmemdup(buff + hdr_size, length, GFP_KERNEL); in nvram_pstore_read()
547 kfree(buff); in nvram_pstore_read()
556 *buf = buff; in nvram_pstore_read()