Searched refs:wc_memory_superblock (Results 1 – 1 of 1) sorted by relevance
67 struct wc_memory_superblock { struct388 static struct wc_memory_superblock *sb(struct dm_writecache *wc) in sb()1012 sb_entries_offset = offsetof(struct wc_memory_superblock, entries); in writecache_resume()2109 if (n_blocks >= ((size_t)-sizeof(struct wc_memory_superblock) / in calculate_memory_size()2112 offset = offsetof(struct wc_memory_superblock, entries[n_blocks]); in calculate_memory_size()2223 struct wc_memory_superblock s; in writecache_ctr()2560 r = copy_mc_to_kernel(&s, sb(wc), sizeof(struct wc_memory_superblock)); in writecache_ctr()2572 sizeof(struct wc_memory_superblock)); in writecache_ctr()2606 offset += sizeof(struct wc_memory_superblock); in writecache_ctr()2607 if (offset < sizeof(struct wc_memory_superblock)) in writecache_ctr()