Lines Matching refs:cpu_to_je32
347 ri->isize = ri->dsize = ri->csize = cpu_to_je32(inode->i_size); in jffs2_symlink()
348 ri->totlen = cpu_to_je32(sizeof(*ri) + inode->i_size); in jffs2_symlink()
349 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink()
352 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink()
353 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_symlink()
420 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_symlink()
421 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink()
423 rd->pino = cpu_to_je32(dir_i->i_ino); in jffs2_symlink()
424 rd->version = cpu_to_je32(++dir_f->highest_version); in jffs2_symlink()
425 rd->ino = cpu_to_je32(inode->i_ino); in jffs2_symlink()
426 rd->mctime = cpu_to_je32(get_seconds()); in jffs2_symlink()
429 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_symlink()
430 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_symlink()
511 ri->data_crc = cpu_to_je32(0); in jffs2_mkdir()
512 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mkdir()
565 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mkdir()
566 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mkdir()
568 rd->pino = cpu_to_je32(dir_i->i_ino); in jffs2_mkdir()
569 rd->version = cpu_to_je32(++dir_f->highest_version); in jffs2_mkdir()
570 rd->ino = cpu_to_je32(inode->i_ino); in jffs2_mkdir()
571 rd->mctime = cpu_to_je32(get_seconds()); in jffs2_mkdir()
574 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_mkdir()
575 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_mkdir()
680 ri->dsize = ri->csize = cpu_to_je32(devlen); in jffs2_mknod()
681 ri->totlen = cpu_to_je32(sizeof(*ri) + devlen); in jffs2_mknod()
682 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mknod()
685 ri->data_crc = cpu_to_je32(crc32(0, &dev, devlen)); in jffs2_mknod()
686 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mknod()
739 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mknod()
740 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mknod()
742 rd->pino = cpu_to_je32(dir_i->i_ino); in jffs2_mknod()
743 rd->version = cpu_to_je32(++dir_f->highest_version); in jffs2_mknod()
744 rd->ino = cpu_to_je32(inode->i_ino); in jffs2_mknod()
745 rd->mctime = cpu_to_je32(get_seconds()); in jffs2_mknod()
751 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_mknod()
752 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_mknod()