Lines Matching refs:nsize
610 if (unlikely(PAD((rd->nsize + sizeof(*rd))) != PAD(je32_to_cpu(rd->totlen)))) { in read_direntry()
612 ref_offset(ref), rd->nsize, je32_to_cpu(rd->totlen)); in read_direntry()
629 fd = jffs2_alloc_full_dirent(rd->nsize + 1); in read_direntry()
653 min_t(uint32_t, rd->nsize, (read - sizeof(*rd)) )); in read_direntry()
656 if (rd->nsize + sizeof(*rd) > read) { in read_direntry()
662 rd->nsize - already, &read, &fd->name[already]); in read_direntry()
663 if (unlikely(read != rd->nsize - already) && likely(!err)) { in read_direntry()
666 rd->nsize - already, read); in read_direntry()
681 crc = crc32(0, fd->name, rd->nsize); in read_direntry()
693 fd->nhash = full_name_hash(NULL, fd->name, rd->nsize); in read_direntry()
695 fd->name[rd->nsize] = '\0'; in read_direntry()