Searched refs:memory_entry (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/md/ |
D | dm-writecache.c | 393 static struct wc_memory_entry *memory_entry(struct dm_writecache *wc, struct wc_entry *e) in memory_entry() function 414 return le64_to_cpu(memory_entry(wc, e)->original_sector); in read_original_sector() 423 return le64_to_cpu(memory_entry(wc, e)->seq_count); in read_seq_count() 432 pmem_assign(memory_entry(wc, e)->seq_count, cpu_to_le64(-1)); in clear_seq_count() 445 pmem_assign(*memory_entry(wc, e), me); in write_original_sector_seq_count() 754 writecache_flush_region(wc, memory_entry(wc, e), sizeof(struct wc_memory_entry)); in writecache_free_entry() 784 writecache_flush_region(wc, memory_entry(wc, e), sizeof(struct wc_memory_entry)); in writecache_flush_entry() 1050 r = copy_mc_to_kernel(&wme, memory_entry(wc, e), in writecache_resume()
|