1. 概要 sys_open,sys_readなどのシステムコールのエントリルーチンと実際のファイルシステムの間に入るレイヤ。struct fileのf_opに登録されている処理を呼び出すことで実際のファイルシステムへ処理を渡す。 2. 処理概要 2.1 open処理 open()システムコールのエントリルーチンはsys_open()。sys_open()はdo_sys_open()を呼び出す。do_sys_open()はget_unused_fd()により未使用のファイルディスクリプタを取得し、ファイル管理用のfile構造体をdo_filp_open()で生成する。do_filp_open()はopen_namei()を呼び出す。open_namei()は実質open処理のほとんどを行なう。 long do_sys_open(int dfd, const char __user *fil