Home
last modified time | relevance | path

Searched refs:dirent (Results 1 – 14 of 14) sorted by relevance

/fs/
Dreaddir.c139 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/
Dreaddir.c33 struct fuse_dirent *dirent, loff_t pos) in fuse_add_dirent_to_cache() argument
36 size_t reclen = FUSE_DIRENT_SIZE(dirent); in fuse_add_dirent_to_cache()
84 memcpy(addr + offset, dirent, reclen); in fuse_add_dirent_to_cache()
87 fi->rdc.pos = dirent->off; in fuse_add_dirent_to_cache()
115 struct fuse_dirent *dirent) in fuse_emit() argument
120 fuse_add_dirent_to_cache(file, dirent, ctx->pos); in fuse_emit()
122 return dir_emit(ctx, dirent->name, dirent->namelen, dirent->ino, in fuse_emit()
123 dirent->type); in fuse_emit()
130 struct fuse_dirent *dirent = (struct fuse_dirent *) buf; in parse_dirfile() local
131 size_t reclen = FUSE_DIRENT_SIZE(dirent); in parse_dirfile()
[all …]
/fs/hpfs/
Dalloc.c446 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()
Dhpfs.h300 u8 dirent[2028]; /* one or more dirents */ member
Dhpfs_fn.h116 return (void *) dnode->dirent; in dnode_first_de()
/fs/fat/
Ddir.c544 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/
Dnamei.c99 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 …]
Ddir.c467 struct ext4_dir_entry_2 *dirent, in ext4_htree_store_dirent() argument
485 new_fn->inode = le32_to_cpu(dirent->inode); in ext4_htree_store_dirent()
487 new_fn->file_type = dirent->file_type; in ext4_htree_store_dirent()
Dext4.h2735 struct ext4_dir_entry_2 *dirent,
/fs/nfsd/
Dvfs.c1935 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/
DTODO29 the full dirent, we only need to go to the flash in lookup() when we think we've
DREADME.Locking127 determine whether the 'deletion dirent' under consideration can be
/fs/hostfs/
Dhostfs_user.c112 struct dirent *ent; in read_dir()
/fs/jfs/
Djfs_dtree.c2978 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()