From: Paulo da Silva <psdasilva@esoterica.pt>
To: linux-kernel@vger.kernel.org
Subject: Accessing file mapped data inside the kernel (newbie Q.)
Date: Tue, 08 Nov 2005 01:16:47 +0000 [thread overview]
Message-ID: <436FFC7F.6040207@esoterica.pt> (raw)
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
reply other threads:[~2005-11-08 1:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=436FFC7F.6040207@esoterica.pt \
--to=psdasilva@esoterica.pt \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®