From: freeman.zhang1992@gmail.com (Freeman Zhang)
To: kernelnewbies@lists.kernelnewbies.org
Subject: how to deal with page
Date: Fri, 07 Mar 2014 10:34:18 +0800 [thread overview]
Message-ID: <5319302A.9030409@gmail.com> (raw)
In-Reply-To: <CAHPoDxKFR3Grn0gwQOAJqjBY6jm6hs-tLyzj2sCevsHW5Upo0Q@mail.gmail.com>
Hi,
2014-03-06 17:20 ???:
> Hi. nowdays i am studing Transparent encryption in linux system. when
> reading file needs do_generic_file_read function decrpty file. but in
> do_generic_file_read Physical data using struct page ,how did i use
> page decrpty.
Maybe you need to do en/decryption in the address_space operations,
which is used with struct page. The do_generic_file_read will evoke the
page->mapping->a_ops->readpage, and the readpage is one of the
address_space operations. So I guess that's what you want.
Hope this can help!
Regards,
Freeman Zhang
prev parent reply other threads:[~2014-03-07 2:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-06 9:20 how to deal with page 于运超
2014-03-07 2:34 ` Freeman Zhang [this message]
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=5319302A.9030409@gmail.com \
--to=freeman.zhang1992@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).