Lines Matching refs:cmbe
796 struct cmbe { struct
814 static inline struct cmbe *cmbe_align(struct cmbe *c) in cmbe_align()
817 addr = ((unsigned long)c + sizeof (struct cmbe) - sizeof(long)) & in cmbe_align()
818 ~(sizeof (struct cmbe) - sizeof(long)); in cmbe_align()
819 return (struct cmbe*)addr; in cmbe_align()
824 struct cmbe *cmbe; in alloc_cmbe() local
828 cmbe = kzalloc (sizeof (*cmbe) * 2, GFP_KERNEL); in alloc_cmbe()
829 if (!cmbe) in alloc_cmbe()
836 cmb_data->last_block = kzalloc(sizeof(struct cmbe), GFP_KERNEL); in alloc_cmbe()
841 cmb_data->size = sizeof(struct cmbe); in alloc_cmbe()
848 cmb_data->hw_block = cmbe; in alloc_cmbe()
864 kfree(cmbe); in alloc_cmbe()
909 struct cmbe *cmb; in read_cmbe()
967 struct cmbe *cmb; in readall_cmbe()