Lines Matching refs:cpu_to_je32
329 ri->isize = ri->dsize = ri->csize = cpu_to_je32(inode->i_size); in jffs2_symlink()
330 ri->totlen = cpu_to_je32(sizeof(*ri) + inode->i_size); in jffs2_symlink()
331 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink()
334 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink()
335 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_symlink()
397 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_symlink()
398 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink()
400 rd->pino = cpu_to_je32(dir_i->i_ino); in jffs2_symlink()
401 rd->version = cpu_to_je32(++dir_f->highest_version); in jffs2_symlink()
402 rd->ino = cpu_to_je32(inode->i_ino); in jffs2_symlink()
403 rd->mctime = cpu_to_je32(JFFS2_NOW()); in jffs2_symlink()
406 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_symlink()
407 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_symlink()
492 ri->data_crc = cpu_to_je32(0); in jffs2_mkdir()
493 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mkdir()
540 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mkdir()
541 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mkdir()
543 rd->pino = cpu_to_je32(dir_i->i_ino); in jffs2_mkdir()
544 rd->version = cpu_to_je32(++dir_f->highest_version); in jffs2_mkdir()
545 rd->ino = cpu_to_je32(inode->i_ino); in jffs2_mkdir()
546 rd->mctime = cpu_to_je32(JFFS2_NOW()); in jffs2_mkdir()
549 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_mkdir()
550 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_mkdir()
660 ri->dsize = ri->csize = cpu_to_je32(devlen); in jffs2_mknod()
661 ri->totlen = cpu_to_je32(sizeof(*ri) + devlen); in jffs2_mknod()
662 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mknod()
665 ri->data_crc = cpu_to_je32(crc32(0, &dev, devlen)); in jffs2_mknod()
666 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mknod()
713 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mknod()
714 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mknod()
716 rd->pino = cpu_to_je32(dir_i->i_ino); in jffs2_mknod()
717 rd->version = cpu_to_je32(++dir_f->highest_version); in jffs2_mknod()
718 rd->ino = cpu_to_je32(inode->i_ino); in jffs2_mknod()
719 rd->mctime = cpu_to_je32(JFFS2_NOW()); in jffs2_mknod()
725 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_mknod()
726 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_mknod()