Lines Matching refs:nsize
671 if (strnlen(node->d.name, node->d.nsize) != node->d.nsize) { in jffs2_garbage_collect_pristine()
677 if (node->d.nsize) { in jffs2_garbage_collect_pristine()
678 crc = crc32(0, node->d.name, node->d.nsize); in jffs2_garbage_collect_pristine()
860 rd.nsize = strlen(fd->name); in jffs2_garbage_collect_dirent()
861 rd.totlen = cpu_to_je32(sizeof(rd) + rd.nsize); in jffs2_garbage_collect_dirent()
875 rd.name_crc = cpu_to_je32(crc32(0, fd->name, rd.nsize)); in jffs2_garbage_collect_dirent()
877 ret = jffs2_reserve_space_gc(c, sizeof(rd)+rd.nsize, &alloclen, in jffs2_garbage_collect_dirent()
878 JFFS2_SUMMARY_DIRENT_SIZE(rd.nsize)); in jffs2_garbage_collect_dirent()
881 sizeof(rd)+rd.nsize, ret); in jffs2_garbage_collect_dirent()
884 new_fd = jffs2_write_dirent(c, f, &rd, fd->name, rd.nsize, ALLOC_GC); in jffs2_garbage_collect_dirent()
968 if (rd->nsize != name_len || !je32_to_cpu(rd->ino)) in jffs2_garbage_collect_deletion_dirent()