Home | History | Annotate | Download | only in linux

Lines Matching defs:lm

96 	struct linux_malloc *lm;
99 KASSERTMSG(size < SIZE_MAX - sizeof(*lm), "size=%zu", size);
102 lm = kmem_intr_zalloc(sizeof(*lm) + size, kmflags);
104 lm = kmem_intr_alloc(sizeof(*lm) + size, kmflags);
105 if (lm == NULL)
108 lm->lm_size = size;
109 return lm + 1;
157 struct linux_malloc *lm;
162 lm = (struct linux_malloc *)ptr - 1;
163 kmem_intr_free(lm, sizeof(*lm) + lm->lm_size);