Searched refs:msc_block_desc (Results 1 – 2 of 2) sorted by relevance
54 struct msc_block_desc { struct67 #define MSC_BDESC sizeof(struct msc_block_desc) argument80 static inline unsigned long msc_data_sz(struct msc_block_desc *bdesc) in msc_data_sz()88 static inline unsigned long msc_total_sz(struct msc_block_desc *bdesc) in msc_total_sz()93 static inline unsigned long msc_block_sz(struct msc_block_desc *bdesc) in msc_block_sz()98 static inline bool msc_block_wrapped(struct msc_block_desc *bdesc) in msc_block_wrapped()106 static inline bool msc_block_last_written(struct msc_block_desc *bdesc) in msc_block_last_written()
261 static inline bool msc_block_is_empty(struct msc_block_desc *bdesc) in msc_block_is_empty()279 static inline struct msc_block_desc *msc_win_base(struct msc_window *win) in msc_win_base()327 struct msc_block_desc *bdesc = sg_virt(sg); in msc_win_total_sz()411 struct msc_block_desc *bdesc = msc_win_base(win); in msc_win_oldest_sg()422 struct msc_block_desc *bdesc = sg_virt(sg); in msc_win_oldest_sg()431 static struct msc_block_desc *msc_iter_bdesc(struct msc_iter *iter) in msc_iter_bdesc()657 size_t hw_sz = sizeof(struct msc_block_desc) - in msc_buffer_clear_hw_header()658 offsetof(struct msc_block_desc, hw_tag); in msc_buffer_clear_hw_header()661 struct msc_block_desc *bdesc = sg_virt(sg); in msc_buffer_clear_hw_header()1190 struct msc_block_desc *bdesc = sg_virt(sg); in msc_buffer_relink()