Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-writecache.c67 struct wc_memory_superblock { struct
388 static struct wc_memory_superblock *sb(struct dm_writecache *wc) in sb()
1016 sb_entries_offset = offsetof(struct wc_memory_superblock, entries); in writecache_resume()
2127 if (n_blocks >= ((size_t)-sizeof(struct wc_memory_superblock) / in calculate_memory_size()
2130 offset = offsetof(struct wc_memory_superblock, entries[n_blocks]); in calculate_memory_size()
2241 struct wc_memory_superblock s; in writecache_ctr()
2582 r = copy_mc_to_kernel(&s, sb(wc), sizeof(struct wc_memory_superblock)); in writecache_ctr()
2594 sizeof(struct wc_memory_superblock)); in writecache_ctr()
2628 offset += sizeof(struct wc_memory_superblock); in writecache_ctr()
2629 if (offset < sizeof(struct wc_memory_superblock)) in writecache_ctr()