Lines Matching defs:xbuf
511 u8 *xbuf;
540 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr);
541 if (xbuf == NULL)
554 rc = copy_from_user(xbuf, buf, tocopy);
559 crc = genwqe_crc32(xbuf, tocopy, 0xffffffff);
635 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr);
647 u8 *xbuf;
676 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr);
677 if (xbuf == NULL)
739 rc = copy_to_user(buf, xbuf, tocopy);
765 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr);