Lines Matching refs:d_reclen
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()
518 fs16_to_cpu(sb, de->d_reclen), in ufs_delete_entry()
522 if (de->d_reclen == 0) { in ufs_delete_entry()
539 pde->d_reclen = cpu_to_fs16(sb, to - from); in ufs_delete_entry()
579 de->d_reclen = cpu_to_fs16(sb, UFS_DIR_REC_LEN(1)); in ufs_make_empty()
582 ((char *)de + fs16_to_cpu(sb, de->d_reclen)); in ufs_make_empty()
585 de->d_reclen = cpu_to_fs16(sb, chunk_size - UFS_DIR_REC_LEN(1)); in ufs_make_empty()
619 if (de->d_reclen == 0) { in ufs_empty_dir()