Re: mmap system call ?

Bill Hawes (whawes@star.net)
Tue, 22 Sep 1998 09:06:33 -0400


Ravi Wijayaratne wrote:
> Does anyone know where the mmap system call is implemented in the linux
> source tree ?
>
> I found generic_file_mmap in linux/mm/file_map.c. Who calls this function
> ?
>
> Some help is greatly appreciated.

The generic_file_mmap function is called through the file_operations
vector of many of the filesystems. You'll see references like
filp->f_op->mmap() that usually resolve to generic_file_mmap.

Regards,
Bill

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/