In Linux kernel module, while calculating absolute path by file descriptor, fcheck() or fcheck_files() are used. I didn't get much information about these functions. I need to know which function is appropriate for which situation. When these functions fails? Where to find documentation about such functions? As stated here,
... To look up the file structure given an fd, a reader must use either fcheck() or fcheck_files() APIs....
But no information is given about which function should be used when and for what.
Thanks in advance!