Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2008 15:35:27 +0100
From:      "Alexej Sokolov" <bsd.quest@googlemail.com>
To:        freebsd-hackers@freebsd.org
Subject:   vm_map_entry for kernel virtual addres
Message-ID:  <671bb5fc0812030635s1fd7fe4frc1840a85e87b4047@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?671bb5fc0812030635s1fd7fe4frc1840a85e87b4047>