vm_map_entry for kernel virtual addres

Alexej Sokolov bsd.quest at googlemail.com
Wed Dec 3 06:35:32 PST 2008


Hello,
If I allocate memory from a kernel module:
MALLOC(addr, vm_offset_t, PAGE_SIZE, M_DEVBUF, M_WAITOK | M_ZERO);

how can I get a pointer to vm_map_entry structure which describes the memory
region where "addr" is ?

Thanks,
Alexey


More information about the freebsd-hackers mailing list