Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
266 if (!de->d_reclen) { in vxfs_readdir()
272 pg_ofs += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
273 pos += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
283 pos -= fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
Dvxfs_dir.h67 __fs16 d_reclen; /* record length */ member
/kernel/linux/linux-5.10/fs/ufs/
Ddir.c92 unsigned len = fs16_to_cpu(dir->i_sb, de->d_reclen); in ufs_set_link()
130 rec_len = fs16_to_cpu(sb, p->d_reclen); in ufs_check_page()
226 fs16_to_cpu(sb, p->d_reclen)); in ufs_next_entry()
346 de->d_reclen = cpu_to_fs16(sb, chunk_size); in ufs_add_link()
350 if (de->d_reclen == 0) { in ufs_add_link()
360 rec_len = fs16_to_cpu(sb, de->d_reclen); in ufs_add_link()
382 de1->d_reclen = cpu_to_fs16(sb, rec_len - name_len); in ufs_add_link()
383 de->d_reclen = cpu_to_fs16(sb, name_len); in ufs_add_link()
483 ctx->pos += fs16_to_cpu(sb, de->d_reclen); in ufs_readdir()
501 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
/kernel/linux/linux-5.10/include/linux/
Ddirent.h8 unsigned short d_reclen; member
Dcompat.h289 u16 d_reclen; member
/kernel/linux/linux-5.10/fs/
Dreaddir.c210 unsigned short d_reclen; member
255 unsafe_put_user(reclen, &dirent->d_reclen, efault_end); in filldir()
337 unsafe_put_user(reclen, &dirent->d_reclen, efault_end); in filldir64()
462 unsigned short d_reclen; member
506 unsafe_put_user(reclen, &dirent->d_reclen, efault_end); in compat_filldir()
/kernel/liteos_m/kal/libc/newlib/porting/include/
Ddirent.h63 unsigned short d_reclen; member
/kernel/linux/linux-5.10/fs/fat/
Ddir.c726 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()
/kernel/linux/linux-5.10/include/uapi/linux/
Dmsdos_fs.h93 unsigned short d_reclen; member
Dcoda.h153 u_int16_t d_reclen; /* length of this record */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dmsdos_fs.h80 unsigned short d_reclen; member
Dcoda.h84 u_int16_t d_reclen; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dmsdos_fs.h72 unsigned short d_reclen; member
Dcoda.h85 u_int16_t d_reclen; member
/kernel/linux/linux-5.10/fs/coda/
Ddir.c390 if (vdir->d_reclen < vdir_size + vdir->d_namlen) { in coda_venus_readdir()
414 ctx->pos += vdir->d_reclen; in coda_venus_readdir()
/kernel/liteos_a/fs/proc/os_adapt/
Dproc_vfs.c334 dir->fd_dir[i].d_reclen = (uint16_t)sizeof(struct dirent); in VfsProcfsReaddir()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dosf_sys.c97 unsigned short d_reclen; member
136 put_user(reclen, &dirent->d_reclen) || in osf_filldir()
/kernel/liteos_a/fs/vfs/
Dvnode.c566 dir->fd_dir[idx].d_reclen = (uint16_t)sizeof(struct dirent); in VnodeReaddir()
/kernel/uniproton/src/fs/littlefs/
Dlfs_adapter.c358 dent->d_reclen = lfsInfo.size; in OsLfsReaddir()
/kernel/liteos_m/components/fs/littlefs/
Dlfs_adapter.c385 dent->d_reclen = lfsInfo.size; in LfsReaddir()
/kernel/linux/linux-5.10/tools/include/nolibc/
Dnolibc.h177 unsigned short d_reclen; member
/kernel/liteos_a/fs/fat/os_adapt/
Dfatfs.c1614 idir->fd_dir[i].d_reclen = (uint16_t)sizeof(struct dirent); in fatfs_readdir()
/kernel/liteos_a/fs/jffs2/
Djffs2.patch2093 + ent->d_reclen = (uint16_t)sizeof(struct dirent);

12