Searched refs:OK_OR_RETURN_MSG (Results 1 – 3 of 3) sorted by relevance
/dports/sysutils/fwup/fwup-1.9.0/src/ |
H A D | fatfs.c | 102 …OK_OR_RETURN_MSG(block_cache_trim(output, block_offset * FWUP_BLOCK_SIZE, block_count * FWUP_BLOCK… in fatfs_mkfs() 112 …OK_OR_RETURN_MSG(block_cache_pwrite(output, ones, FWUP_BLOCK_SIZE, FWUP_BLOCK_SIZE * (block_offset… in fatfs_mkfs()
|
H A D | util.h | 61 #define OK_OR_RETURN_MSG(WORK, MSG, ...) do { if ((WORK) < 0) ERR_RETURN(MSG, ## __VA_ARGS__); } wh… macro
|
H A D | functions.c | 488 … OK_OR_RETURN_MSG(block_cache_pwrite(fctx->output, buffer, block_size, dest_offset + offset, true), in raw_memset_run() 833 OK_OR_RETURN_MSG(block_cache_pwrite(fctx->output, buffer, FWUP_BLOCK_SIZE, 0, false), in mbr_write_run() 1099 …OK_OR_RETURN_MSG(fseek(fwc->fp, (long) offset, SEEK_SET), "seek to offset %ld failed on '%s'", (lo… in path_write_pwrite_callback()
|