Lines Matching refs:lmb
31 static inline struct drmem_lmb *drmem_lmb_next(struct drmem_lmb *lmb, in drmem_lmb_next() argument
39 if (((++lmb - start) % 16) == 0) in drmem_lmb_next()
42 return lmb; in drmem_lmb_next()
45 #define for_each_drmem_lmb_in_range(lmb, start, end) \ argument
46 for ((lmb) = (start); (lmb) < (end); lmb = drmem_lmb_next(lmb, start))
48 #define for_each_drmem_lmb(lmb) \ argument
49 for_each_drmem_lmb_in_range((lmb), \
93 static inline void drmem_mark_lmb_reserved(struct drmem_lmb *lmb) in drmem_mark_lmb_reserved() argument
95 lmb->flags |= DRMEM_LMB_RESERVED; in drmem_mark_lmb_reserved()
98 static inline void drmem_remove_lmb_reservation(struct drmem_lmb *lmb) in drmem_remove_lmb_reservation() argument
100 lmb->flags &= ~DRMEM_LMB_RESERVED; in drmem_remove_lmb_reservation()
103 static inline bool drmem_lmb_reserved(struct drmem_lmb *lmb) in drmem_lmb_reserved() argument
105 return lmb->flags & DRMEM_LMB_RESERVED; in drmem_lmb_reserved()
120 static inline void invalidate_lmb_associativity_index(struct drmem_lmb *lmb) in invalidate_lmb_associativity_index() argument
122 lmb->aa_index = 0xffffffff; in invalidate_lmb_associativity_index()