Home
last modified time | relevance | path

Searched refs:cmp_buf (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/cmd/
Dsf.c170 size_t len, const char *buf, char *cmp_buf, size_t *skipped) in spi_flash_update_block() argument
177 if (spi_flash_read(flash, offset, flash->sector_size, cmp_buf)) in spi_flash_update_block()
180 if (memcmp(cmp_buf, buf, len) == 0) { in spi_flash_update_block()
191 memcpy(cmp_buf, buf, len); in spi_flash_update_block()
192 ptr = cmp_buf; in spi_flash_update_block()
215 char *cmp_buf; in spi_flash_update() local
226 cmp_buf = memalign(ARCH_DMA_MINALIGN, flash->sector_size); in spi_flash_update()
227 if (cmp_buf) { in spi_flash_update()
240 buf, cmp_buf, &skipped); in spi_flash_update()
245 free(cmp_buf); in spi_flash_update()
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv01.c75 MSGBUF snd_buf, rcv_buf, cmp_buf; variable
157 init_buf(&cmp_buf, MSGTYPE, MSGSIZE); in do_child()
159 if (strcmp(rcv_buf.mtext, cmp_buf.mtext) == 0) { in do_child()