Searched refs:d_reclen (Results 1 – 14 of 14) sorted by relevance
/linux-6.6.21/fs/reiserfs/ |
D | dir.c | 141 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 …]
|
/linux-6.6.21/fs/freevxfs/ |
D | vxfs_lookup.c | 91 if (!de->d_reclen) { in vxfs_find_entry() 97 pg_ofs += fs16_to_cpu(sbi, de->d_reclen); in vxfs_find_entry() 98 pos += fs16_to_cpu(sbi, de->d_reclen); in vxfs_find_entry() 242 if (!de->d_reclen) { in vxfs_readdir() 248 pg_ofs += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir() 249 pos += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir() 259 pos -= fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
|
D | vxfs_dir.h | 42 __fs16 d_reclen; /* record length */ member
|
/linux-6.6.21/fs/ufs/ |
D | dir.c | 97 unsigned len = fs16_to_cpu(dir->i_sb, de->d_reclen); in ufs_set_link() 136 rec_len = fs16_to_cpu(sb, p->d_reclen); in ufs_check_page() 232 fs16_to_cpu(sb, p->d_reclen)); in ufs_next_entry() 352 de->d_reclen = cpu_to_fs16(sb, chunk_size); in ufs_add_link() 356 if (de->d_reclen == 0) { in ufs_add_link() 366 rec_len = fs16_to_cpu(sb, de->d_reclen); in ufs_add_link() 388 de1->d_reclen = cpu_to_fs16(sb, rec_len - name_len); in ufs_add_link() 389 de->d_reclen = cpu_to_fs16(sb, name_len); in ufs_add_link() 490 ctx->pos += fs16_to_cpu(sb, de->d_reclen); in ufs_readdir() 508 unsigned to = ((char*)dir - kaddr) + fs16_to_cpu(sb, dir->d_reclen); in ufs_delete_entry() [all …]
|
D | ufs_fs.h | 293 __fs16 d_reclen; /* length of this entry */ member
|
/linux-6.6.21/fs/ |
D | readdir.c | 246 unsigned short d_reclen; member 291 unsafe_put_user(reclen, &dirent->d_reclen, efault_end); in filldir() 373 unsafe_put_user(reclen, &dirent->d_reclen, efault_end); in filldir64() 498 unsigned short d_reclen; member 542 unsafe_put_user(reclen, &dirent->d_reclen, efault_end); in compat_filldir()
|
/linux-6.6.21/include/linux/ |
D | dirent.h | 8 unsigned short d_reclen; member
|
D | compat.h | 319 u16 d_reclen; member
|
/linux-6.6.21/fs/fat/ |
D | dir.c | 726 put_user(0, &d2->d_reclen) || \ 729 put_user(name_len, &d1->d_reclen)) \ 745 put_user(long_len, &d2->d_reclen) || \ 750 put_user(short_len, &d1->d_reclen)) \ 812 if (put_user(0, &d1->d_reclen)) in fat_dir_ioctl() 850 if (put_user(0, &d1->d_reclen)) in FAT_IOCTL_FILLDIR_FUNC()
|
/linux-6.6.21/include/uapi/linux/ |
D | msdos_fs.h | 93 unsigned short d_reclen; member
|
D | coda.h | 153 u_int16_t d_reclen; /* length of this record */ member
|
/linux-6.6.21/tools/include/nolibc/ |
D | types.h | 178 unsigned short d_reclen; member
|
/linux-6.6.21/fs/coda/ |
D | dir.c | 391 if (vdir->d_reclen < vdir_size + vdir->d_namlen) { in coda_venus_readdir() 415 ctx->pos += vdir->d_reclen; in coda_venus_readdir()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | osf_sys.c | 98 unsigned short d_reclen; member 137 put_user(reclen, &dirent->d_reclen) || in osf_filldir()
|