/linux-4.19.296/fs/nilfs2/ |
D | dir.c | 122 unsigned int offs, rec_len; in nilfs_check_page() local 134 for (offs = 0; offs <= limit - NILFS_DIR_REC_LEN(1); offs += rec_len) { in nilfs_check_page() 136 rec_len = nilfs_rec_len_from_disk(p->rec_len); in nilfs_check_page() 138 if (rec_len < NILFS_DIR_REC_LEN(1)) in nilfs_check_page() 140 if (rec_len & 3) in nilfs_check_page() 142 if (rec_len < NILFS_DIR_REC_LEN(p->name_len)) in nilfs_check_page() 144 if (((offs + rec_len - 1) ^ offs) & ~(chunk_size-1)) in nilfs_check_page() 176 rec_len, p->name_len); in nilfs_check_page() 229 nilfs_rec_len_from_disk(p->rec_len)); in nilfs_next_entry() 290 if (de->rec_len == 0) { in nilfs_readdir() [all …]
|
/linux-4.19.296/fs/ext2/ |
D | dir.c | 122 unsigned offs, rec_len; in ext2_check_page() local 134 for (offs = 0; offs <= limit - EXT2_DIR_REC_LEN(1); offs += rec_len) { in ext2_check_page() 136 rec_len = ext2_rec_len_from_disk(p->rec_len); in ext2_check_page() 138 if (unlikely(rec_len < EXT2_DIR_REC_LEN(1))) in ext2_check_page() 140 if (unlikely(rec_len & 3)) in ext2_check_page() 142 if (unlikely(rec_len < EXT2_DIR_REC_LEN(p->name_len))) in ext2_check_page() 144 if (unlikely(((offs + rec_len - 1) ^ offs) & ~(chunk_size-1))) in ext2_check_page() 183 rec_len, p->name_len); in ext2_check_page() 239 ext2_rec_len_from_disk(p->rec_len)); in ext2_next_entry() 248 if (p->rec_len == 0) in ext2_validate_entry() [all …]
|
D | ext2.h | 580 __le16 rec_len; /* Directory entry length */ member 593 __le16 rec_len; /* Directory entry length */ member
|
/linux-4.19.296/fs/exofs/ |
D | dir.c | 88 unsigned offs, rec_len; in exofs_check_page() local 101 for (offs = 0; offs <= limit - EXOFS_DIR_REC_LEN(1); offs += rec_len) { in exofs_check_page() 103 rec_len = le16_to_cpu(p->rec_len); in exofs_check_page() 105 if (rec_len < EXOFS_DIR_REC_LEN(1)) in exofs_check_page() 107 if (rec_len & 3) in exofs_check_page() 109 if (rec_len < EXOFS_DIR_REC_LEN(p->name_len)) in exofs_check_page() 111 if (((offs + rec_len - 1) ^ offs) & ~(chunk_size-1)) in exofs_check_page() 144 rec_len, p->name_len); in exofs_check_page() 190 return (struct exofs_dir_entry *)((char *)p + le16_to_cpu(p->rec_len)); in exofs_next_entry() 200 if (p->rec_len == 0) in exofs_validate_entry() [all …]
|
D | common.h | 201 __le16 rec_len; /* directory entry length */ member
|
/linux-4.19.296/fs/ufs/ |
D | dir.c | 115 unsigned offs, rec_len; in ufs_check_page() local 128 for (offs = 0; offs <= limit - UFS_DIR_REC_LEN(1); offs += rec_len) { in ufs_check_page() 130 rec_len = fs16_to_cpu(sb, p->d_reclen); in ufs_check_page() 132 if (rec_len < UFS_DIR_REC_LEN(1)) in ufs_check_page() 134 if (rec_len & 3) in ufs_check_page() 136 if (rec_len < UFS_DIR_REC_LEN(ufs_get_de_namlen(sb, p))) in ufs_check_page() 138 if (((offs + rec_len - 1) ^ offs) & ~chunk_mask) in ufs_check_page() 176 rec_len, ufs_get_de_namlen(sb, p)); in ufs_check_page() 313 unsigned short rec_len, name_len; in ufs_add_link() local 345 rec_len = chunk_size; in ufs_add_link() [all …]
|
/linux-4.19.296/fs/ocfs2/ |
D | dir.c | 154 struct buffer_head *bh, u16 rec_len) in ocfs2_init_dir_trailer() argument 164 trailer->db_free_rec_len = cpu_to_le16(rec_len); in ocfs2_init_dir_trailer() 323 const int rlen = le16_to_cpu(de->rec_len); in ocfs2_check_dir_entry() 394 de_len = le16_to_cpu(de->rec_len); in ocfs2_search_dirblock() 1175 le16_add_cpu(&pde->rec_len, in __ocfs2_delete_entry() 1176 le16_to_cpu(de->rec_len)); in __ocfs2_delete_entry() 1182 i += le16_to_cpu(de->rec_len); in __ocfs2_delete_entry() 1184 de = (struct ocfs2_dir_entry *)((char *)de + le16_to_cpu(de->rec_len)); in __ocfs2_delete_entry() 1195 hole = le16_to_cpu(de->rec_len); in ocfs2_figure_dirent_hole() 1197 hole = le16_to_cpu(de->rec_len) - in ocfs2_figure_dirent_hole() [all …]
|
/linux-4.19.296/fs/ext4/ |
D | namei.c | 150 else if (ext4_rec_len_from_disk(dirent->rec_len, in __ext4_read_dirblock() 206 __le16 rec_len; member 333 while (d < top && ext4_rec_len_from_disk(d->rec_len, blocksize)) in get_dirent_tail() 335 ext4_rec_len_from_disk(d->rec_len, blocksize)); in get_dirent_tail() 430 unsigned int rlen = ext4_rec_len_from_disk(dirent->rec_len, blocksize); in get_dx_countlimit() 436 if (ext4_rec_len_from_disk(dp->rec_len, blocksize) != blocksize - 12) in get_dx_countlimit() 540 ext4_rec_len_from_disk(p->rec_len, blocksize)); in ext4_next_entry() 1263 map_tail->size = ext4_rec_len_from_disk(de->rec_len, in dx_make_map() 1362 de_len = ext4_rec_len_from_disk(de->rec_len, in ext4_search_dir() 1382 ext4_rec_len_from_disk(de->rec_len, sb->s_blocksize) == in is_dx_internal_node() [all …]
|
D | dir.c | 69 const int rlen = ext4_rec_len_from_disk(de->rec_len, in __ext4_check_dir_entry() 226 if (ext4_rec_len_from_disk(de->rec_len, in ext4_readdir() 229 i += ext4_rec_len_from_disk(de->rec_len, in ext4_readdir() 251 offset += ext4_rec_len_from_disk(de->rec_len, in ext4_readdir() 280 ctx->pos += ext4_rec_len_from_disk(de->rec_len, in ext4_readdir() 649 rlen = ext4_rec_len_from_disk(de->rec_len, buf_size); in ext4_check_all_de()
|
D | inline.c | 1012 de_len = ext4_rec_len_from_disk(de->rec_len, inline_size); in ext4_show_inline_dir() 1100 de_len = ext4_rec_len_from_disk(de->rec_len, old_size); in ext4_update_final_de() 1105 prev_de->rec_len = ext4_rec_len_to_disk(de_len + new_size - in ext4_update_final_de() 1110 de->rec_len = ext4_rec_len_to_disk(new_size, new_size); in ext4_update_final_de() 1409 fake.rec_len = ext4_rec_len_to_disk( in htree_inlinedir_to_tree() 1419 fake.rec_len = ext4_rec_len_to_disk( in htree_inlinedir_to_tree() 1427 pos += ext4_rec_len_from_disk(de->rec_len, inline_size); in htree_inlinedir_to_tree() 1553 if (ext4_rec_len_from_disk(de->rec_len, extra_size) in ext4_read_inline_dir() 1556 i += ext4_rec_len_from_disk(de->rec_len, in ext4_read_inline_dir() 1590 ctx->pos += ext4_rec_len_from_disk(de->rec_len, extra_size); in ext4_read_inline_dir() [all …]
|
/linux-4.19.296/drivers/s390/char/ |
D | vmur.h | 35 __s16 rec_len; member
|
/linux-4.19.296/fs/hfs/ |
D | bfind.c | 161 int hfs_brec_read(struct hfs_find_data *fd, void *rec, int rec_len) in hfs_brec_read() argument 168 if (fd->entrylength > rec_len) in hfs_brec_read()
|
/linux-4.19.296/fs/hfsplus/ |
D | bfind.c | 218 int hfs_brec_read(struct hfs_find_data *fd, void *rec, int rec_len) in hfs_brec_read() argument 225 if (fd->entrylength > rec_len) in hfs_brec_read()
|
D | hfsplus_fs.h | 443 int hfs_brec_read(struct hfs_find_data *fd, void *rec, int rec_len);
|
/linux-4.19.296/drivers/s390/scsi/ |
D | zfcp_dbf.c | 426 u16 rec_len; in zfcp_dbf_san() local 441 rec_len = min_t(unsigned int, sg->length, ZFCP_DBF_SAN_MAX_PAYLOAD); in zfcp_dbf_san() 442 memcpy(rec->payload, sg_virt(sg), rec_len); /* part of 1st sg entry */ in zfcp_dbf_san() 443 if (len <= rec_len) in zfcp_dbf_san()
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_alloc_btree.c | 436 .rec_len = sizeof(xfs_alloc_rec_t), 458 .rec_len = sizeof(xfs_alloc_rec_t),
|
D | xfs_ialloc_btree.c | 360 .rec_len = sizeof(xfs_inobt_rec_t), 381 .rec_len = sizeof(xfs_inobt_rec_t),
|
D | xfs_btree.h | 98 size_t rec_len; member
|
D | xfs_iext_tree.c | 298 uint32_t rec_len = rec->hi & XFS_IEXT_LENGTH_MASK; in xfs_iext_rec_cmp() local 302 if (rec_offset + rec_len <= offset) in xfs_iext_rec_cmp()
|
D | xfs_refcount_btree.c | 296 .rec_len = sizeof(struct xfs_refcount_rec),
|
D | xfs_rmap_btree.c | 434 .rec_len = sizeof(struct xfs_rmap_rec),
|
D | xfs_bmap_btree.c | 512 .rec_len = sizeof(xfs_bmbt_rec_t),
|
/linux-4.19.296/include/uapi/linux/ |
D | nilfs2_ondisk.h | 302 __le16 rec_len; /* Directory entry length */ member
|
/linux-4.19.296/fs/gfs2/ |
D | dir.c | 614 u16 rec_len = be16_to_cpu(d->de_rec_len); in dirent_check_reclen() local 616 if (unlikely(rec_len < sizeof(struct gfs2_dirent))) in dirent_check_reclen() 618 ptr += rec_len; in dirent_check_reclen() 620 return rec_len; in dirent_check_reclen()
|
/linux-4.19.296/fs/xfs/scrub/ |
D | btree.c | 153 memcpy(&bs->lastrec, rec, cur->bc_ops->rec_len); in xchk_btree_rec()
|