SookYoung Kim wrote:
> Could you someone tell me what memcpy_tofs is and how I use that
> function ?
It's defined in asm-<arch>/segment.h. On i386, it's a macro which
is defined as:
#define memcpy_tofs(to, from, n) \
(__builtin_constant_p(n) ? \
__constant_memcpy_tofs((to),(from),(n)) : \
__generic_memcpy_tofs((to),(from),(n)))
Both of these functions are also defined in asm-i386.h, as inline
functions.
Basically it copies some data from kernel memory to process memory
(which is referenced via the `fs' segment register).
> when I tried to see that function by using the following command, I
> didn't find any information of it.
>
> > man memcpy_tofs
> no manual entry for memcpy_tofs
Internal kernel functions don't have manpages.
--
Glynn Clements <[EMAIL PROTECTED]>