Home
last modified time | relevance | path

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

/fs/reiserfs/
Ddir.c141 int d_reclen; in reiserfs_readdir_inode() local
149 d_reclen = entry_length(bh, ih, entry_num); in reiserfs_readdir_inode()
152 if (d_reclen <= 0 || in reiserfs_readdir_inode()
153 d_name + d_reclen > bh->b_data + bh->b_size) { in reiserfs_readdir_inode()
163 if (!d_name[d_reclen - 1]) in reiserfs_readdir_inode()
164 d_reclen = strlen(d_name); in reiserfs_readdir_inode()
167 if (d_reclen > in reiserfs_readdir_inode()
179 if (d_reclen <= 32) { in reiserfs_readdir_inode()
182 local_buf = kmalloc(d_reclen, in reiserfs_readdir_inode()
202 memcpy(local_buf, d_name, d_reclen); in reiserfs_readdir_inode()
[all …]
/fs/ufs/
Ddir.c91 unsigned len = fs16_to_cpu(dir->i_sb, de->d_reclen); in ufs_set_link()
129 rec_len = fs16_to_cpu(sb, p->d_reclen); in ufs_check_page()
225 fs16_to_cpu(sb, p->d_reclen)); in ufs_next_entry()
345 de->d_reclen = cpu_to_fs16(sb, chunk_size); in ufs_add_link()
349 if (de->d_reclen == 0) { in ufs_add_link()
359 rec_len = fs16_to_cpu(sb, de->d_reclen); in ufs_add_link()
381 de1->d_reclen = cpu_to_fs16(sb, rec_len - name_len); in ufs_add_link()
382 de->d_reclen = cpu_to_fs16(sb, name_len); in ufs_add_link()
482 ctx->pos += fs16_to_cpu(sb, de->d_reclen); in ufs_readdir()
500 unsigned to = ((char*)dir - kaddr) + fs16_to_cpu(sb, dir->d_reclen); in ufs_delete_entry()
[all …]
Dufs_fs.h293 __fs16 d_reclen; /* length of this entry */ member
/fs/freevxfs/
Dvxfs_lookup.c115 if (!de->d_reclen) { in vxfs_find_entry()
121 pg_ofs += fs16_to_cpu(sbi, de->d_reclen); in vxfs_find_entry()
122 pos += fs16_to_cpu(sbi, de->d_reclen); in vxfs_find_entry()
270 if (!de->d_reclen) { in vxfs_readdir()
276 pg_ofs += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
277 pos += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
287 pos -= fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
Dvxfs_dir.h67 __fs16 d_reclen; /* record length */ member
/fs/
Dreaddir.c189 unsigned short d_reclen; member
232 if (__put_user(reclen, &dirent->d_reclen)) in filldir()
318 if (__put_user(reclen, &dirent->d_reclen)) in filldir64()
442 unsigned short d_reclen; member
482 if (__put_user(reclen, &dirent->d_reclen)) in compat_filldir()
/fs/fat/
Ddir.c725 put_user(0, &d2->d_reclen) || \
728 put_user(name_len, &d1->d_reclen)) \
744 put_user(long_len, &d2->d_reclen) || \
749 put_user(short_len, &d1->d_reclen)) \
813 if (put_user(0, &d1->d_reclen)) in fat_dir_ioctl()
853 if (put_user(0, &d1->d_reclen)) in FAT_IOCTL_FILLDIR_FUNC()
/fs/coda/
Ddir.c391 if (vdir->d_reclen < vdir_size + vdir->d_namlen) { in coda_venus_readdir()
415 ctx->pos += vdir->d_reclen; in coda_venus_readdir()