Home
last modified time | relevance | path

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

/fs/reiserfs/
Ddir.c114 int d_reclen; in reiserfs_readdir() local
122 d_reclen = entry_length(bh, ih, entry_num); in reiserfs_readdir()
125 if (d_reclen <= 0 || in reiserfs_readdir()
126 d_name + d_reclen > bh->b_data + bh->b_size) { in reiserfs_readdir()
134 if (!d_name[d_reclen - 1]) in reiserfs_readdir()
135 d_reclen = strlen(d_name); in reiserfs_readdir()
137 if (d_reclen > in reiserfs_readdir()
161 if (d_reclen <= 32) { in reiserfs_readdir()
164 local_buf = kmalloc(d_reclen, in reiserfs_readdir()
180 memcpy(local_buf, d_name, d_reclen); in reiserfs_readdir()
[all …]
Dxattr.c225 int d_reclen; in __xattr_readdir() local
283 d_reclen = entry_length(bh, ih, entry_num); in __xattr_readdir()
288 if (!d_name[d_reclen - 1]) in __xattr_readdir()
289 d_reclen = strlen(d_name); in __xattr_readdir()
291 if (d_reclen > REISERFS_MAX_NAME(inode->i_sb->s_blocksize)) { in __xattr_readdir()
305 if (d_reclen <= 32) { in __xattr_readdir()
308 local_buf = kmalloc(d_reclen, GFP_NOFS); in __xattr_readdir()
326 memcpy(local_buf, d_name, d_reclen); in __xattr_readdir()
334 if (filldir(dirent, local_buf, d_reclen, d_off, d_ino, in __xattr_readdir()
/fs/ufs/
Ddir.c94 unsigned len = fs16_to_cpu(dir->i_sb, de->d_reclen); in ufs_set_link()
132 rec_len = fs16_to_cpu(sb, p->d_reclen); in ufs_check_page()
228 fs16_to_cpu(sb, p->d_reclen)); in ufs_next_entry()
286 if (de->d_reclen == 0) { in ufs_find_entry()
354 de->d_reclen = cpu_to_fs16(sb, chunk_size); in ufs_add_link()
358 if (de->d_reclen == 0) { in ufs_add_link()
368 rec_len = fs16_to_cpu(sb, de->d_reclen); in ufs_add_link()
391 de1->d_reclen = cpu_to_fs16(sb, rec_len - name_len); in ufs_add_link()
392 de->d_reclen = cpu_to_fs16(sb, name_len); in ufs_add_link()
423 if (p->d_reclen == 0) in ufs_validate_entry()
[all …]
Dufs_fs.h279 __fs16 d_reclen; /* length of this entry */ member
/fs/freevxfs/
Dvxfs_lookup.c95 return ((struct vxfs_direct *)((char*)de + de->d_reclen)); in vxfs_next_entry()
145 if (!de->d_reclen) in vxfs_find_entry()
305 if (!de->d_reclen) in vxfs_readdir()
Dvxfs_dir.h67 u_int16_t d_reclen; /* record length */ member
/fs/
Dreaddir.c138 unsigned short d_reclen; member
173 if (__put_user(reclen, &dirent->d_reclen)) in filldir()
255 if (__put_user(reclen, &dirent->d_reclen)) in filldir64()
Dcompat.c883 unsigned short d_reclen; member
918 if (__put_user(reclen, &dirent->d_reclen)) in compat_filldir()
1006 if (__put_user(reclen, &dirent->d_reclen)) in compat_filldir64()
/fs/fat/
Ddir.c705 put_user(0, &d2->d_reclen) || \
708 put_user(name_len, &d1->d_reclen)) \
724 put_user(long_len, &d2->d_reclen) || \
729 put_user(short_len, &d1->d_reclen)) \
796 if (put_user(0, &d1->d_reclen)) in fat_dir_ioctl()
836 if (put_user(0, &d1->d_reclen)) in FAT_IOCTL_FILLDIR_FUNC()
/fs/coda/
Ddir.c550 if (vdir->d_reclen < vdir_size + vdir->d_namlen) { in coda_venus_readdir()
583 coda_file->f_pos += vdir->d_reclen; in coda_venus_readdir()