Home
last modified time | relevance | path

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

/linux-3.4.99/fs/reiserfs/
Ddir.c127 int d_reclen; in reiserfs_readdir_dentry() local
136 d_reclen = entry_length(bh, ih, entry_num); in reiserfs_readdir_dentry()
139 if (d_reclen <= 0 || in reiserfs_readdir_dentry()
140 d_name + d_reclen > bh->b_data + bh->b_size) { in reiserfs_readdir_dentry()
148 if (!d_name[d_reclen - 1]) in reiserfs_readdir_dentry()
149 d_reclen = strlen(d_name); in reiserfs_readdir_dentry()
151 if (d_reclen > in reiserfs_readdir_dentry()
165 if (d_reclen <= 32) { in reiserfs_readdir_dentry()
168 local_buf = kmalloc(d_reclen, in reiserfs_readdir_dentry()
184 memcpy(local_buf, d_name, d_reclen); in reiserfs_readdir_dentry()
[all …]
/linux-3.4.99/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.h291 __fs16 d_reclen; /* length of this entry */ member
/linux-3.4.99/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
/linux-3.4.99/include/linux/
Ddirent.h7 unsigned short d_reclen; member
Dmsdos_fs.h92 unsigned short d_reclen; member
Dcoda.h166 u_int16_t d_reclen; /* length of this record */ member
Dcompat.h152 u16 d_reclen; member
/linux-3.4.99/fs/
Dreaddir.c138 unsigned short d_reclen; member
174 if (__put_user(reclen, &dirent->d_reclen)) in filldir()
257 if (__put_user(reclen, &dirent->d_reclen)) in filldir64()
Dcompat.c900 unsigned short d_reclen; member
936 if (__put_user(reclen, &dirent->d_reclen)) in compat_filldir()
1024 if (__put_user(reclen, &dirent->d_reclen)) in compat_filldir64()
/linux-3.4.99/arch/parisc/hpux/
Dfs.c58 short d_reclen; member
94 put_user(reclen, &dirent->d_reclen) || in filldir()
/linux-3.4.99/fs/fat/
Ddir.c701 put_user(0, &d2->d_reclen) || \
704 put_user(name_len, &d1->d_reclen)) \
720 put_user(long_len, &d2->d_reclen) || \
725 put_user(short_len, &d1->d_reclen)) \
784 if (put_user(0, &d1->d_reclen)) in fat_dir_ioctl()
824 if (put_user(0, &d1->d_reclen)) in FAT_IOCTL_FILLDIR_FUNC()
/linux-3.4.99/init/
Dinitramfs.c559 num -= dirp->d_reclen; in clean_rootfs()
560 dirp = (void *)dirp + dirp->d_reclen; in clean_rootfs()
/linux-3.4.99/fs/coda/
Ddir.c498 if (vdir->d_reclen < vdir_size + vdir->d_namlen) { in coda_venus_readdir()
531 coda_file->f_pos += vdir->d_reclen; in coda_venus_readdir()
/linux-3.4.99/arch/alpha/kernel/
Dosf_sys.c93 unsigned short d_reclen; member
130 put_user(reclen, &dirent->d_reclen) || in osf_filldir()