107#if CONFIG_NFILE_DESCRIPTORS > 0
108 struct file *filep = NULL;
113#if CONFIG_NFILE_DESCRIPTORS > 0
114 if ((
unsigned int)fd >= CONFIG_NFILE_DESCRIPTORS)
121#if CONFIG_NFILE_DESCRIPTORS > 0
125 int ret = fs_getfilep(fd, &filep);
131 if (filep->
f_oflags & O_DIRECTORY) {
static ssize_t file_fallocate(struct file *filep, int mode, off_t offset, off_t len)