Lines Matching full:elm
132 void *elm __free(free_page) = (void *)get_zeroed_page(GFP_KERNEL); in xa_load_or_alloc()
134 if (!elm) in xa_load_or_alloc()
137 if (WARN_ON(kho_scratch_overlap(virt_to_phys(elm), PAGE_SIZE))) in xa_load_or_alloc()
140 res = xa_cmpxchg(xa, index, NULL, elm, GFP_KERNEL); in xa_load_or_alloc()
146 return no_free_ptr(elm); in xa_load_or_alloc()
415 struct khoser_mem_bitmap_ptr *elm; in kho_mem_serialize() local
425 elm = &chunk->bitmaps[chunk->hdr.num_elms]; in kho_mem_serialize()
427 elm->phys_start = (phys * PRESERVE_BITS) in kho_mem_serialize()
429 KHOSER_STORE_PTR(elm->bitmap, bits); in kho_mem_serialize()
443 struct khoser_mem_bitmap_ptr *elm) in deserialize_bitmap() argument
445 struct kho_mem_phys_bits *bitmap = KHOSER_LOAD_PTR(elm->bitmap); in deserialize_bitmap()
451 elm->phys_start + (bit << (order + PAGE_SHIFT)); in deserialize_bitmap()