Lines Matching refs:validate_flash_data
117 static struct validate_flash_t validate_flash_data; variable
133 void *buf = validate_flash_data.buf; in opal_flash_validate()
134 __be32 size = cpu_to_be32(validate_flash_data.buf_size); in opal_flash_validate()
139 validate_flash_data.status = ret; in opal_flash_validate()
140 validate_flash_data.buf_size = be32_to_cpu(size); in opal_flash_validate()
141 validate_flash_data.result = be32_to_cpu(result); in opal_flash_validate()
153 struct validate_flash_t *args_buf = &validate_flash_data; in validate_show()
194 struct validate_flash_t *args_buf = &validate_flash_data; in validate_store()
528 validate_flash_data.buf = kzalloc(VALIDATE_BUF_SIZE, GFP_KERNEL); in opal_flash_update_init()
529 if (!validate_flash_data.buf) { in opal_flash_update_init()
554 validate_flash_data.status = FLASH_NO_OP; in opal_flash_update_init()
564 kfree(validate_flash_data.buf); in opal_flash_update_init()