Lines Matching refs:d_reclen
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()
475 if (de->d_reclen == 0) { in ufs_readdir()
503 filp->f_pos += fs16_to_cpu(sb, de->d_reclen); in ufs_readdir()
521 unsigned to = ((char*)dir - kaddr) + fs16_to_cpu(sb, dir->d_reclen); in ufs_delete_entry()
531 fs16_to_cpu(sb, de->d_reclen), in ufs_delete_entry()
535 if (de->d_reclen == 0) { in ufs_delete_entry()
552 pde->d_reclen = cpu_to_fs16(sb, to - from); in ufs_delete_entry()
591 de->d_reclen = cpu_to_fs16(sb, UFS_DIR_REC_LEN(1)); in ufs_make_empty()
594 ((char *)de + fs16_to_cpu(sb, de->d_reclen)); in ufs_make_empty()
597 de->d_reclen = cpu_to_fs16(sb, chunk_size - UFS_DIR_REC_LEN(1)); in ufs_make_empty()
630 if (de->d_reclen == 0) { in ufs_empty_dir()