mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Accessing file mapped data inside the kernel (newbie Q.)
@ 2005-11-08  1:16 Paulo da Silva
  0 siblings, 0 replies; only message in thread
From: Paulo da Silva @ 2005-11-08  1:16 UTC (permalink / raw)
  To: linux-kernel

Hello!

How do I access the data and its length mapped to a file
after returning from generic_file_mmap(file,vma) inside
the kernel?
How about more than one page?

int <A_FILESYSTEM_NAME (ext3 for ex.)>_file_mmap(struct file * file, 
struct vm_area_struct * vma)
{
    int addr;
    addr=generic_file_mmap(file,vma);
    ?????
    return addr;
}

Thanks


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-08  1:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-08  1:16 Accessing file mapped data inside the kernel (newbie Q.) Paulo da Silva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®