Home
last modified time | relevance | path

Searched refs:d_reclen (Results 1 – 9 of 9) sorted by relevance

/fs/reiserfs/
Ddir.c127 int d_reclen; in reiserfs_readdir_dentry() local
135 d_reclen = entry_length(bh, ih, entry_num); in reiserfs_readdir_dentry()
138 if (d_reclen <= 0 || in reiserfs_readdir_dentry()
139 d_name + d_reclen > bh->b_data + bh->b_size) { in reiserfs_readdir_dentry()
147 if (!d_name[d_reclen - 1]) in reiserfs_readdir_dentry()
148 d_reclen = strlen(d_name); in reiserfs_readdir_dentry()
150 if (d_reclen > in reiserfs_readdir_dentry()
164 if (d_reclen <= 32) { in reiserfs_readdir_dentry()
167 local_buf = kmalloc(d_reclen, in reiserfs_readdir_dentry()
183 memcpy(local_buf, d_name, d_reclen); in reiserfs_readdir_dentry()
[all …]
/fs/ufs/
Ddir.c94 unsigned len = fs16_to_cpu(dir->i_sb, de->d_reclen); in ufs_set_link()
131 rec_len = fs16_to_cpu(sb, p->d_reclen); in ufs_check_page()
227 fs16_to_cpu(sb, p->d_reclen)); in ufs_next_entry()
285 if (de->d_reclen == 0) { in ufs_find_entry()
353 de->d_reclen = cpu_to_fs16(sb, chunk_size); in ufs_add_link()
357 if (de->d_reclen == 0) { in ufs_add_link()
367 rec_len = fs16_to_cpu(sb, de->d_reclen); in ufs_add_link()
389 de1->d_reclen = cpu_to_fs16(sb, rec_len - name_len); in ufs_add_link()
390 de->d_reclen = cpu_to_fs16(sb, name_len); in ufs_add_link()
421 if (p->d_reclen == 0) in ufs_validate_entry()
[all …]
Dufs_fs.h292 __fs16 d_reclen; /* length of this entry */ member
/fs/freevxfs/
Dvxfs_lookup.c96 return ((struct vxfs_direct *)((char*)de + de->d_reclen)); in vxfs_next_entry()
146 if (!de->d_reclen) in vxfs_find_entry()
298 if (!de->d_reclen) in vxfs_readdir()
Dvxfs_dir.h67 u_int16_t d_reclen; /* record length */ member
/fs/
Dreaddir.c142 unsigned short d_reclen; member
179 if (__put_user(reclen, &dirent->d_reclen)) in filldir()
259 if (__put_user(reclen, &dirent->d_reclen)) in filldir64()
Dcompat.c896 unsigned short d_reclen; member
933 if (__put_user(reclen, &dirent->d_reclen)) in compat_filldir()
1018 if (__put_user(reclen, &dirent->d_reclen)) in compat_filldir64()
/fs/fat/
Ddir.c723 put_user(0, &d2->d_reclen) || \
726 put_user(name_len, &d1->d_reclen)) \
742 put_user(long_len, &d2->d_reclen) || \
747 put_user(short_len, &d1->d_reclen)) \
815 if (put_user(0, &d1->d_reclen)) in fat_dir_ioctl()
857 if (put_user(0, &d1->d_reclen)) in FAT_IOCTL_FILLDIR_FUNC()
/fs/coda/
Ddir.c509 if (vdir->d_reclen < vdir_size + vdir->d_namlen) { in coda_venus_readdir()
542 coda_file->f_pos += vdir->d_reclen; in coda_venus_readdir()