Re: vm_map_entry for kernel virtual addres

2008-12-04 Thread Alexej Sokolov
2008/12/3 Mark Tinguely <[EMAIL PROTECTED]> > > 2008/12/3 Mark Tinguely <[EMAIL PROTECTED]> > > > > > on 3 Dec 2008 15:35:27, Alexej Sokolov <[EMAIL PROTECTED]> > asked: > > > > > > > Hello, > > > > If I allocate memory from a kernel module: > > > > MALLOC(addr, vm_offset_t, PAGE_SIZE, M_

vm_map_entry for kernel virtual addres

2008-12-03 Thread Alexej Sokolov
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 ___ freebsd-hackers