Searched refs:d_reclen (Results 1 – 16 of 16) sorted by relevance
/linux-3.4.99/fs/reiserfs/ |
D | dir.c | 127 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/ |
D | dir.c | 94 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 …]
|
D | ufs_fs.h | 291 __fs16 d_reclen; /* length of this entry */ member
|
/linux-3.4.99/fs/freevxfs/ |
D | vxfs_lookup.c | 96 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()
|
D | vxfs_dir.h | 67 u_int16_t d_reclen; /* record length */ member
|
/linux-3.4.99/include/linux/ |
D | dirent.h | 7 unsigned short d_reclen; member
|
D | msdos_fs.h | 92 unsigned short d_reclen; member
|
D | coda.h | 166 u_int16_t d_reclen; /* length of this record */ member
|
D | compat.h | 152 u16 d_reclen; member
|
/linux-3.4.99/fs/ |
D | readdir.c | 138 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()
|
D | compat.c | 900 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/ |
D | fs.c | 58 short d_reclen; member 94 put_user(reclen, &dirent->d_reclen) || in filldir()
|
/linux-3.4.99/fs/fat/ |
D | dir.c | 701 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/ |
D | initramfs.c | 559 num -= dirp->d_reclen; in clean_rootfs() 560 dirp = (void *)dirp + dirp->d_reclen; in clean_rootfs()
|
/linux-3.4.99/fs/coda/ |
D | dir.c | 498 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/ |
D | osf_sys.c | 93 unsigned short d_reclen; member 130 put_user(reclen, &dirent->d_reclen) || in osf_filldir()
|