Lines Matching refs:CACHE_DEBUG

287 #define	CACHE_DEBUG(args)	\  macro
982 CACHE_DEBUG((DI_ERR, "Empty cache. Skipping copy")); in di_cache2mem()
1023 CACHE_DEBUG((DI_ERR, "Empty memlist. Skipping copy")); in di_mem2cache()
1036 CACHE_DEBUG((DI_ERR, "cannot cache: bad size: 0x%x", map_size)); in di_mem2cache()
3680 CACHE_DEBUG((DI_ERR, "bad version: 0x%x", all->version)); in header_plus_one_ok()
3685 CACHE_DEBUG((DI_ERR, "bad magic #: 0x%x", all->cache_magic)); in header_plus_one_ok()
3690 CACHE_DEBUG((DI_ERR, "bad timestamp: %ld", all->snapshot_time)); in header_plus_one_ok()
3695 CACHE_DEBUG((DI_ERR, "NULL top devinfo")); in header_plus_one_ok()
3700 CACHE_DEBUG((DI_ERR, "bad map size: %u", all->map_size)); in header_plus_one_ok()
3705 CACHE_DEBUG((DI_ERR, "bad rootpath: %c%c", in header_plus_one_ok()
3734 CACHE_DEBUG((DI_ERR, "write error: %d", error)); in chunk_write()
3770 CACHE_DEBUG((DI_ERR, "Empty cache. Skipping write")); in di_cache_write()
3778 CACHE_DEBUG((DI_ERR, "Can't write to rootFS. Skipping write")); in di_cache_write()
3785 CACHE_DEBUG((DI_ERR, "Invalid header. Skipping write")); in di_cache_write()
3798 CACHE_DEBUG((DI_ERR, "map_size (0x%x) > cache_size (0x%x)." in di_cache_write()
3808 CACHE_DEBUG((DI_ERR, "%s: unlink failed: %d", in di_cache_write()
3813 CACHE_DEBUG((DI_ERR, "RDONLY FS. Skipping write")); in di_cache_write()
3821 CACHE_DEBUG((DI_ERR, "%s: create failed: %d", in di_cache_write()
3832 CACHE_DEBUG((DI_ERR, "cannot write: readonly FS")); in di_cache_write()
3860 CACHE_DEBUG((DI_ERR, "write failed: off=0x%x: %d", in di_cache_write()
3878 CACHE_DEBUG((DI_ERR, "FSYNC failed: %d", error)); in di_cache_write()
3882 CACHE_DEBUG((DI_ERR, "close() failed: %d", error)); in di_cache_write()
3893 CACHE_DEBUG((DI_ERR, "rename failed: %d", error)); in di_cache_write()
3897 CACHE_DEBUG((DI_INFO, "Cache write successful.")); in di_cache_write()
3930 CACHE_DEBUG((DI_ERR, "%s: open failed: %d", in di_cache_read()
3944 CACHE_DEBUG((DI_ERR, "cache header: read error or invalid")); in di_cache_read()
3962 CACHE_DEBUG((DI_ERR, "%s: read error at offset: %lld", in di_cache_read()
3977 CACHE_DEBUG((DI_ERR, "%s: file size changed", DI_CACHE_FILE)); in di_cache_read()
3983 CACHE_DEBUG((DI_ERR, "%s: file header changed", DI_CACHE_FILE)); in di_cache_read()
3996 CACHE_DEBUG((DI_ERR, in di_cache_read()
4003 CACHE_DEBUG((DI_ERR, "%s: map size changed", DI_CACHE_FILE)); in di_cache_read()
4032 CACHE_DEBUG((DI_ERR, in cache_args_valid()
4042 CACHE_DEBUG((DI_ERR, in cache_args_valid()
4050 CACHE_DEBUG((DI_ERR, in cache_args_valid()
4057 CACHE_DEBUG((DI_INFO, "cache lookup args ok: 0x%x", st->command)); in cache_args_valid()
4072 CACHE_DEBUG((DI_INFO, in snapshot_is_cacheable()
4079 CACHE_DEBUG((DI_INFO, in snapshot_is_cacheable()
4085 CACHE_DEBUG((DI_INFO, "cacheable snapshot request: 0x%x", st->command)); in snapshot_is_cacheable()
4197 CACHE_DEBUG((DI_ERR, "can't update cache: bad snapshot")); in di_cache_update()
4203 CACHE_DEBUG((DI_ERR, "can't update cache: copy failed")); in di_cache_update()