Searched refs:VALIDATE_BUF_SIZE (Results 1 – 2 of 2) sorted by relevance
/arch/powerpc/platforms/powernv/ |
D | opal-flash.c | 78 #define VALIDATE_BUF_SIZE 4096 macro 174 if (args_buf->buf_size > (VALIDATE_BUF_SIZE - len)) { in validate_show() 175 memcpy(buf + len, args_buf->buf, VALIDATE_BUF_SIZE - len); in validate_show() 176 len = VALIDATE_BUF_SIZE; in validate_show() 206 image_data.size < VALIDATE_BUF_SIZE) { in validate_store() 213 memcpy(args_buf->buf, image_data.data, VALIDATE_BUF_SIZE); in validate_store() 216 args_buf->buf_size = VALIDATE_BUF_SIZE; in validate_store() 434 if (image_data.size < VALIDATE_BUF_SIZE) { in alloc_image_buf() 554 validate_flash_data.buf = kzalloc(VALIDATE_BUF_SIZE, GFP_KERNEL); in opal_flash_update_init()
|
/arch/powerpc/kernel/ |
D | rtas_flash.c | 91 #define VALIDATE_BUF_SIZE 4096 macro 458 memcpy(rtas_data_buf, args_buf->buf, VALIDATE_BUF_SIZE); in validate_flash() 461 memcpy(args_buf->buf, rtas_data_buf, VALIDATE_BUF_SIZE); in validate_flash() 512 if ((*off >= VALIDATE_BUF_SIZE) || in validate_flash_write() 519 if (*off + count >= VALIDATE_BUF_SIZE) { in validate_flash_write() 520 count = VALIDATE_BUF_SIZE - *off; in validate_flash_write() 550 args_buf->buf_size = VALIDATE_BUF_SIZE; in validate_flash_release() 713 rtas_validate_flash_data.buf = kzalloc(VALIDATE_BUF_SIZE, GFP_KERNEL); in rtas_flash_init()
|