/fs/ |
H A D | readdir.c | 17 #include <linux/dirent.h> 57 * dirent-structure in size and that the code can't handle more 73 struct old_linux_dirent __user * dirent; member in struct:readdir_callback 81 struct old_linux_dirent __user * dirent; local 92 dirent = buf->dirent; 93 if (!access_ok(VERIFY_WRITE, dirent, 94 (unsigned long)(dirent->d_name + namlen + 1) - 95 (unsigned long)dirent)) 97 if ( __put_user(d_ino, &dirent 154 struct linux_dirent __user * dirent; local 238 struct linux_dirent64 __user *dirent; local [all...] |
H A D | compat.c | 36 #include <linux/dirent.h> 846 struct compat_old_linux_dirent __user *dirent; member in struct:compat_readdir_callback 854 struct compat_old_linux_dirent __user *dirent; local 865 dirent = buf->dirent; 866 if (!access_ok(VERIFY_WRITE, dirent, 867 (unsigned long)(dirent->d_name + namlen + 1) - 868 (unsigned long)dirent)) 870 if ( __put_user(d_ino, &dirent->d_ino) || 871 __put_user(offset, &dirent 921 struct compat_linux_dirent __user * dirent; local 1007 struct linux_dirent64 __user *dirent; local [all...] |
/fs/ecryptfs/ |
H A D | file.c | 78 ecryptfs_filldir(void *dirent, const char *lower_name, int lower_namelen, argument 82 (struct ecryptfs_getdents_callback *)dirent;
|
/fs/ext3/ |
H A D | dir.c | 154 * dirent right now. Scan from the start of the block 161 * dirent test each time round this 165 * dirent test below. */ 348 struct ext3_dir_entry_2 *dirent) 359 len = sizeof(struct fname) + dirent->name_len + 1; 365 new_fn->inode = le32_to_cpu(dirent->inode); 366 new_fn->name_len = dirent->name_len; 367 new_fn->file_type = dirent->file_type; 368 memcpy(new_fn->name, dirent->name, dirent 346 ext3_htree_store_dirent(struct file *dir_file, __u32 hash, __u32 minor_hash, struct ext3_dir_entry_2 *dirent) argument [all...] |
/fs/ext4/ |
H A D | dir.c | 189 * dirent right now. Scan from the start of the block 196 * dirent test each time round this 200 * dirent test below. */ 390 struct ext4_dir_entry_2 *dirent) 401 len = sizeof(struct fname) + dirent->name_len + 1; 407 new_fn->inode = le32_to_cpu(dirent->inode); 408 new_fn->name_len = dirent->name_len; 409 new_fn->file_type = dirent->file_type; 410 memcpy(new_fn->name, dirent->name, dirent 388 ext4_htree_store_dirent(struct file *dir_file, __u32 hash, __u32 minor_hash, struct ext4_dir_entry_2 *dirent) argument [all...] |
H A D | namei.c | 81 struct ext4_dir_entry *dirent); 96 struct ext4_dir_entry *dirent; local 112 dirent = (struct ext4_dir_entry *) bh->b_data; 117 else if (ext4_rec_len_from_disk(dirent->rec_len, 137 if (ext4_dx_csum_verify(inode, dirent)) 147 if (ext4_dirent_csum_verify(inode, dirent)) 191 * dirent the two low bits of the hash version will be zero. Therefore, the 285 /* Walk through a dirent block to find a checksum "dirent" at the tail */ 320 struct ext4_dir_entry *dirent, in 319 ext4_dirent_csum(struct inode *inode, struct ext4_dir_entry *dirent, int size) argument 336 ext4_dirent_csum_verify(struct inode *inode, struct ext4_dir_entry *dirent) argument 356 ext4_dirent_csum_set(struct inode *inode, struct ext4_dir_entry *dirent) argument 382 get_dx_countlimit(struct inode *inode, struct ext4_dir_entry *dirent, int *offset) argument 410 ext4_dx_csum(struct inode *inode, struct ext4_dir_entry *dirent, int count_offset, int count, struct dx_tail *t) argument 429 ext4_dx_csum_verify(struct inode *inode, struct ext4_dir_entry *dirent) argument 459 ext4_dx_csum_set(struct inode *inode, struct ext4_dir_entry *dirent) argument [all...] |
/fs/hppfs/ |
H A D | hppfs.c | 554 struct hppfs_dirent *dirent = d; local 556 if (file_removed(dirent->dentry, name)) 559 dirent->caller->pos = dirent->ctx.pos; 560 return !dir_emit(dirent->caller, name, size, inode, type);
|
/fs/fat/ |
H A D | dir.c | 547 void __user *dirent; member in struct:fat_ioctl_filldir_callback 709 struct dirent_type __user *d1 = buf->dirent; \ 717 /* dirent has only short name */ \ 728 /* dirent has short and long name */ \ 758 void __user *dirent, filldir_t filldir, 763 .dirent = dirent 767 buf.dirent = dirent; 757 fat_ioctl_readdir(struct inode *inode, struct file *file, void __user *dirent, filldir_t filldir, int short_only, int both) argument
|
/fs/fuse/ |
H A D | dir.c | 1216 struct fuse_dirent *dirent = (struct fuse_dirent *) buf; local 1217 size_t reclen = FUSE_DIRENT_SIZE(dirent); 1218 if (!dirent->namelen || dirent->namelen > FUSE_NAME_MAX) 1222 if (memchr(dirent->name, '/', dirent->namelen) != NULL) 1225 if (!dir_emit(ctx, dirent->name, dirent->namelen, 1226 dirent->ino, dirent 1243 struct fuse_dirent *dirent = &direntplus->dirent; local 1348 struct fuse_dirent *dirent; local [all...] |
/fs/ncpfs/ |
H A D | ncplib_kernel.c | 298 ncp_vdbg("volnum=%d, dirent=%u, error=%d\n", 325 int ncp_dirhandle_alloc(struct ncp_server* server, __u8 volnum, __le32 dirent, argument 334 ncp_add_handle_path(server, volnum, dirent, 1, NULL); 423 __le32 dirent = NCP_FINFO(dir)->dirEntNum; local 436 ncp_add_handle_path(server, volnum, dirent, 1, path); 454 __u8 ns, __u8 volnum, __le32 dirent, 466 ncp_add_handle_path(server, volnum, dirent, 1, path); 593 const char *volname, __u32* volume, __le32* dirent, __le32* dosdirent) 616 *dirent = *dosdirent = ncp_reply_dword(server, 4); 652 __le32 dirent local 453 ncp_obtain_DOS_dir_base(struct ncp_server *server, __u8 ns, __u8 volnum, __le32 dirent, const char *path, __le32 *DOS_dir_base) argument 592 ncp_get_volume_root(struct ncp_server *server, const char *volname, __u32* volume, __le32* dirent, __le32* dosdirent) argument 680 ncp_modify_nfs_info(struct ncp_server *server, __u8 volnum, __le32 dirent, __u32 mode, __u32 rdev) argument 708 ncp_DeleteNSEntry(struct ncp_server *server, __u8 have_dir_base, __u8 volnum, __le32 dirent, const char* name, __u8 ns, __le16 attr) argument 732 __le32 dirent; local 747 __le32 dirent = NCP_FINFO(dir)->dirEntNum; local 785 __le32 dirent; local 833 __le32 dirent = NCP_FINFO(dir)->dirEntNum; local [all...] |
/fs/hpfs/ |
H A D | hpfs.h | 299 u8 dirent[2028]; /* one or more dirents */ member in struct:dnode 303 __le16 length; /* offset to next dirent */ 361 precedes next dirent, which is on a word boundary. */
|
/fs/jfs/ |
H A D | jfs_dtree.c | 2985 static inline struct jfs_dirent *next_jfs_dirent(struct jfs_dirent *dirent) argument 2988 ((char *)dirent + 2989 ((sizeof (struct jfs_dirent) + dirent->name_len + 1 +
|
/fs/nfsd/ |
H A D | vfs.c | 1817 char *dirent; member in struct:readdir_data 1826 struct buffered_dirent *de = (void *)(buf->dirent + buf->used); 1854 .dirent = (void *)__get_free_page(GFP_KERNEL) 1857 if (!buf.dirent) 1891 de = (struct buffered_dirent *)buf.dirent; 1914 free_page((unsigned long)(buf.dirent));
|