#include <linux/module.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/buffer_head.h>
#include <linux/compat.h>
#include <linux/uaccess.h>
#include <linux/kernel.h>
#include "fat.h"
Go to the source code of this file.
|
fat_parse_short - Parse MS-DOS (short) directory entry. : superblock : directory entry to parse
: Nonzero == prepend '.' to names with ATTR_HIDDEN
Returns the number of characters extracted into 'name'.
|
#define | FAT_IOCTL_FILLDIR_FUNC(func, dirent_type) |
|
struct file_operations | fat_dir_operations |
|
int | fat_search_long (struct inode *inode, const unsigned char *name, int name_len, struct fat_slot_info *sinfo) |
|
| EXPORT_SYMBOL_GPL (fat_search_long) |
|
int | fat_get_dotdot_entry (struct inode *dir, struct buffer_head **bh, struct msdos_dir_entry **de) |
|
| EXPORT_SYMBOL_GPL (fat_get_dotdot_entry) |
|
int | fat_dir_empty (struct inode *dir) |
|
| EXPORT_SYMBOL_GPL (fat_dir_empty) |
|
int | fat_subdirs (struct inode *dir) |
|
int | fat_scan (struct inode *dir, const unsigned char *name, struct fat_slot_info *sinfo) |
|
| EXPORT_SYMBOL_GPL (fat_scan) |
|
int | fat_remove_entries (struct inode *dir, struct fat_slot_info *sinfo) |
|
| EXPORT_SYMBOL_GPL (fat_remove_entries) |
|
int | fat_alloc_new_dir (struct inode *dir, struct timespec *ts) |
|
| EXPORT_SYMBOL_GPL (fat_alloc_new_dir) |
|
int | fat_add_entries (struct inode *dir, void *slots, int nr_slots, struct fat_slot_info *sinfo) |
|
| EXPORT_SYMBOL_GPL (fat_add_entries) |
|
#define FAT_IOCTL_FILLDIR_FUNC |
( |
|
func, |
|
|
|
dirent_type |
|
) |
| |
Definition at line 30 of file dir.c.
Definition at line 35 of file dir.c.
Definition at line 36 of file dir.c.
- Enumerator:
PARSE_INVALID |
|
PARSE_NOT_LONGNAME |
|
PARSE_EOF |
|
Definition at line 271 of file dir.c.
Initial value:= {
.readdir = fat_readdir,
.unlocked_ioctl = fat_dir_ioctl,
}
Definition at line 855 of file dir.c.