Searched refs:r_buf (Results 1 – 1 of 1) sorted by relevance
78 char *w_buf, *r_buf; in do_test_storage() local154 r_buf = sysmem_alloc_by_name("storage_r", blocks * dev_desc->blksz); in do_test_storage()156 r_buf = memalign(CONFIG_SYS_CACHELINE_SIZE, blocks * dev_desc->blksz); in do_test_storage()158 if (!r_buf) { in do_test_storage()166 r_buf[i] = 0; in do_test_storage()200 devtype, (u32)(ulong)r_buf, sector, blocks); in do_test_storage()211 ret = blk_dread(dev_desc, sector, blocks, r_buf); in do_test_storage()226 if (w_buf[i] != r_buf[i]) { in do_test_storage()247 sysmem_free((phys_addr_t)r_buf); in do_test_storage()251 free(r_buf); in do_test_storage()