/fs/ |
D | readdir.c | 139 struct old_linux_dirent __user * dirent; member 148 struct old_linux_dirent __user * dirent; in fillonedir() local 162 dirent = buf->dirent; in fillonedir() 163 if (!user_write_access_begin(dirent, in fillonedir() 164 (unsigned long)(dirent->d_name + namlen + 1) - in fillonedir() 165 (unsigned long)dirent)) in fillonedir() 167 unsafe_put_user(d_ino, &dirent->d_ino, efault_end); in fillonedir() 168 unsafe_put_user(offset, &dirent->d_offset, efault_end); in fillonedir() 169 unsafe_put_user(namlen, &dirent->d_namlen, efault_end); in fillonedir() 170 unsafe_copy_dirent_name(dirent->d_name, name, namlen, efault_end); in fillonedir() [all …]
|
/fs/fuse/ |
D | readdir.c | 35 struct fuse_dirent *dirent, loff_t pos) in fuse_add_dirent_to_cache() argument 38 size_t reclen = FUSE_DIRENT_SIZE(dirent); in fuse_add_dirent_to_cache() 86 memcpy(addr + offset, dirent, reclen); in fuse_add_dirent_to_cache() 89 fi->rdc.pos = dirent->off; in fuse_add_dirent_to_cache() 117 struct fuse_dirent *dirent) in fuse_emit() argument 122 fuse_add_dirent_to_cache(file, dirent, ctx->pos); in fuse_emit() 124 return dir_emit(ctx, dirent->name, dirent->namelen, dirent->ino, in fuse_emit() 125 dirent->type); in fuse_emit() 132 struct fuse_dirent *dirent = (struct fuse_dirent *) buf; in parse_dirfile() local 133 size_t reclen = FUSE_DIRENT_SIZE(dirent); in parse_dirfile() [all …]
|
D | backing.c | 2375 struct fuse_dirent *dirent = (struct fuse_dirent *) buf; in parse_dirfile() local 2376 size_t reclen = FUSE_DIRENT_SIZE(dirent); in parse_dirfile() 2378 if (!dirent->namelen || dirent->namelen > FUSE_NAME_MAX) in parse_dirfile() 2382 if (memchr(dirent->name, '/', dirent->namelen) != NULL) in parse_dirfile() 2385 ctx->pos = dirent->off; in parse_dirfile() 2386 if (!dir_emit(ctx, dirent->name, dirent->namelen, dirent->ino, in parse_dirfile() 2387 dirent->type)) in parse_dirfile()
|
/fs/hpfs/ |
D | alloc.c | 446 d->dirent[0] = 32; in hpfs_alloc_dnode() 447 d->dirent[2] = 8; in hpfs_alloc_dnode() 448 d->dirent[30] = 1; in hpfs_alloc_dnode() 449 d->dirent[31] = 255; in hpfs_alloc_dnode()
|
D | hpfs.h | 300 u8 dirent[2028]; /* one or more dirents */ member
|
D | hpfs_fn.h | 116 return (void *) dnode->dirent; in dnode_first_de()
|
/fs/fat/ |
D | dir.c | 544 void __user *dirent; member 713 struct dirent_type __user *d1 = buf->dirent; \ 762 void __user *dirent, filldir_t filldir, in FAT_IOCTL_FILLDIR_FUNC() 767 .dirent = dirent in FAT_IOCTL_FILLDIR_FUNC() 771 buf.dirent = dirent; in FAT_IOCTL_FILLDIR_FUNC()
|
/fs/ext4/ |
D | namei.c | 99 struct ext4_dir_entry *dirent); 125 struct ext4_dir_entry *dirent; in __ext4_read_dirblock() local 156 dirent = (struct ext4_dir_entry *) bh->b_data; in __ext4_read_dirblock() 161 else if (ext4_rec_len_from_disk(dirent->rec_len, in __ext4_read_dirblock() 182 if (ext4_dx_csum_verify(inode, dirent) && in __ext4_read_dirblock() 374 static __le32 ext4_dirblock_csum(struct inode *inode, void *dirent, int size) in ext4_dirblock_csum() argument 380 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)dirent, size); in ext4_dirblock_csum() 441 struct ext4_dir_entry *dirent, in get_dx_countlimit() argument 448 unsigned int rlen = ext4_rec_len_from_disk(dirent->rec_len, blocksize); in get_dx_countlimit() 453 dp = (struct ext4_dir_entry *)(((void *)dirent) + 12); in get_dx_countlimit() [all …]
|
D | dir.c | 462 struct ext4_dir_entry_2 *dirent, in ext4_htree_store_dirent() argument 480 new_fn->inode = le32_to_cpu(dirent->inode); in ext4_htree_store_dirent() 482 new_fn->file_type = dirent->file_type; in ext4_htree_store_dirent()
|
D | ext4.h | 2735 struct ext4_dir_entry_2 *dirent,
|
/fs/nfsd/ |
D | vfs.c | 1935 char *dirent; member 1946 struct buffered_dirent *de = (void *)(buf->dirent + buf->used); in nfsd_buffered_filldir() 1974 .dirent = (void *)__get_free_page(GFP_KERNEL) in nfsd_buffered_readdir() 1977 if (!buf.dirent) in nfsd_buffered_readdir() 2001 de = (struct buffered_dirent *)buf.dirent; in nfsd_buffered_readdir() 2023 free_page((unsigned long)(buf.dirent)); in nfsd_buffered_readdir()
|
/fs/jffs2/ |
D | TODO | 29 the full dirent, we only need to go to the flash in lookup() when we think we've
|
D | README.Locking | 127 determine whether the 'deletion dirent' under consideration can be
|
/fs/hostfs/ |
D | hostfs_user.c | 112 struct dirent *ent; in read_dir()
|
/fs/jfs/ |
D | jfs_dtree.c | 2978 static inline struct jfs_dirent *next_jfs_dirent(struct jfs_dirent *dirent) in next_jfs_dirent() argument 2981 ((char *)dirent + in next_jfs_dirent() 2982 ((sizeof (struct jfs_dirent) + dirent->name_len + 1 + in next_jfs_dirent()
|