请问linux内核里file object里readdir(dir, dirent, filldir)具体是什么意思?
我在understanding the linux kernel 3rd edition里找到的解释是:

readdir(dir, dirent, filldir)

Returns the next directory entry of a directory in dirent; the filldir parameter contains the address of an auxiliary function that extracts the fields in a directory entry.

但是我觉得还是不是很清楚,然后我自己正在做一个毕业设计,里面牵涉到这样一段原代码,其实有一个函数就是file object里的readdir:
int vfs_readdir(struct file *file, filldir_t filler, void *buf)
  {
          struct inode *inode = file->f_path.dentry->d_inode;
          int res = -ENOTDIR;
          if (!file->f_op || !file->f_op->readdir)
                  goto out;
  
          res = security_file_permission(file, MAY_READ);
          if (res)
                  goto out;
  
          res = mutex_lock_killable(&inode->i_mutex);
          if (res)
                  goto out;
  
          res = -ENOENT;
          if (!IS_DEADDIR(inode)) {
                  res = file->f_op->readdir(file, buf, filler);
                  file_accessed(file);
          }
          mutex_unlock(&inode->i_mutex);
  out:
          return res;
  }


我的问题就是res = file->f_op->readdir(file, buf, filler);到底是什么意思?我在一些元代码网站上找了下,这个函数,但是最后没找到file object里的readdir的源代码。希望有达人能帮我具体解答一下这个函数的含义,如果有源代码,请你给我个链接,在线等,谢谢了!