• Home
  • Raw
  • Download

Lines Matching refs:je32_to_cpu

72 -	ver = je32_to_cpu(header->a_version);
109 - je32_to_cpu(entry->e_id));
117 - je32_to_cpu(entry->e_id));
1382 - dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(ri->ctime));
1574 - dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(rd->mctime));
1575 + dir_i->i_mtime = dir_i->i_ctime = je32_to_cpu(rd->mctime);
1690 - dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(rd->mctime));
1692 + dir_i->i_mtime = dir_i->i_ctime = je32_to_cpu(rd->mctime);
1934 - dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(rd->mctime));
2643 - inode->i_ctime = inode->i_mtime = ITIME(je32_to_cpu(ri->ctime));
2891 - inode->i_atime = ITIME(je32_to_cpu(ri->atime));
2892 - inode->i_ctime = ITIME(je32_to_cpu(ri->ctime));
2893 - inode->i_mtime = ITIME(je32_to_cpu(ri->mtime));
2894 + inode->i_atime = je32_to_cpu(ri->atime);
2895 + inode->i_ctime = je32_to_cpu(ri->ctime);
2896 + inode->i_mtime = je32_to_cpu(ri->mtime);
3081 inode->i_size = je32_to_cpu(latest_node.isize);
3082 - inode->i_atime = ITIME(je32_to_cpu(latest_node.atime));
3083 - inode->i_mtime = ITIME(je32_to_cpu(latest_node.mtime));
3084 - inode->i_ctime = ITIME(je32_to_cpu(latest_node.ctime));
3087 + inode->i_atime = je32_to_cpu(latest_node.atime);
3088 + inode->i_mtime = je32_to_cpu(latest_node.mtime);
3089 + inode->i_ctime = je32_to_cpu(latest_node.ctime);
3146 - rdev = new_decode_dev(je32_to_cpu(jdev.new_id));
3323 inode->i_ino = je32_to_cpu(ri->ino);
3774 if (je32_to_cpu(node->u.hdr_crc) != crc) {
3776 ref_offset(raw), je32_to_cpu(node->u.hdr_crc), crc);
3783 ref_offset(raw), je32_to_cpu(node->i.node_crc),
3792 je32_to_cpu(node->i.data_crc), crc);
3800 je32_to_cpu(node->d.node_crc), crc);
3816 je32_to_cpu(node->d.name_crc), crc);
3897 je32_to_cpu(ri.node_crc), crc);
5148 if (crc != je32_to_cpu(ri->node_crc)) {
5150 je32_to_cpu(ri->node_crc), crc, ref_offset(fd->raw));
5169 if (ri->compr == JFFS2_COMPR_NONE && len == je32_to_cpu(ri->dsize)) {
5171 + readbuf = kmalloc(je32_to_cpu(ri->dsize), GFP_KERNEL);
5177 readbuf = kmalloc(je32_to_cpu(ri->csize), GFP_KERNEL);
5183 - if (len < je32_to_cpu(ri->dsize)) {
5184 - decomprbuf = kmalloc(je32_to_cpu(ri->dsize), GFP_KERNEL);
5191 + decomprbuf = kmalloc(je32_to_cpu(ri->dsize), GFP_KERNEL);
5199 jffs2_dbg(2, "Read %d bytes to %p\n", je32_to_cpu(ri->csize),
5202 - je32_to_cpu(ri->csize), &readlen, readbuf);
5203 + je32_to_cpu(ri->csize), &readlen, (char *)readbuf);
5205 if (!ret && readlen != je32_to_cpu(ri->csize))
5208 if (crc != je32_to_cpu(ri->data_crc)) {
5210 je32_to_cpu(ri->data_crc), crc, ref_offset(fd->raw));
5219 - if (len < je32_to_cpu(ri->dsize)) {
5678 if (je32_to_cpu(sm->magic) == JFFS2_SUM_MAGIC) {
5679 sumptr = buf + je32_to_cpu(sm->offset);
5680 sumlen = c->sector_size - je32_to_cpu(sm->offset);
5695 if (je32_to_cpu(sm->magic) == JFFS2_SUM_MAGIC) {
5696 sumlen = c->sector_size - je32_to_cpu(sm->offset);
5766 pseudo_random += je32_to_cpu(rd->version);
5780 if (crc != je32_to_cpu(rd->name_crc)) {
5782 __func__, ofs, je32_to_cpu(rd->name_crc), crc);
5785 fd->version = je32_to_cpu(rd->version);
5786 fd->ino = je32_to_cpu(rd->ino);
5911 + je32_to_cpu(summary->totlen),
5912 + je32_to_cpu(summary->hdr_crc),
5913 + je32_to_cpu(summary->sum_num),
5914 + je32_to_cpu(summary->cln_mkr),
5915 + je32_to_cpu(summary->padded),
5916 + je32_to_cpu(summary->sum_crc),
5917 + je32_to_cpu(summary->node_crc),
5921 for (i=0; i<je32_to_cpu(summary->sum_num); i++) {
5935 ino = je32_to_cpu(spi->inode);
5956 + je32_to_cpu(spd->totlen),
5957 + je32_to_cpu(spd->offset),
5958 + je32_to_cpu(spd->pino),
5959 + je32_to_cpu(spd->version),
5960 + je32_to_cpu(spd->ino),
5967 jeb->offset + je32_to_cpu(spd->offset),
5983 ic = jffs2_scan_make_ino_cache(c, je32_to_cpu(spd->pino));
5987 fd->version = je32_to_cpu(spd->version);
5988 fd->ino = je32_to_cpu(spd->ino);
5995 *pseudo_random += je32_to_cpu(spd->version);
6012 jeb->offset + je32_to_cpu(spx->offset),
6013 jeb->offset + je32_to_cpu(spx->offset) + je32_to_cpu(spx->totlen),
6014 je32_to_cpu(spx->xid), je32_to_cpu(spx->version));
6018 jeb->offset + je32_to_cpu(spr->offset),
6019 - jeb->offset + je32_to_cpu(spr->offset) +
6020 + jeb->offset + je32_to_cpu(spr->offset) +
6921 - frag = jffs2_lookup_node_frag(&f->fragtree, je32_to_cpu(node->i.offset));
8107 - D1(if(je32_to_cpu(ri->hdr_crc) != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) {
8109 + D1(if (je32_to_cpu(ri->hdr_crc) != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) {
8110 + printk(KERN_CRIT "Eep. CRC not correct in jffs2_write_dnode(), je32_to_cpu(ri->hdr_crc):%d, "
8111 + "crc32(0, ri, sizeof(struct jffs2_unknown_node) - 4):%d\n", je32_to_cpu(ri->hdr_crc),
8120 - if ((je32_to_cpu(ri->dsize) >= PAGE_SIZE) ||
8121 - ( ((je32_to_cpu(ri->offset)&(PAGE_SIZE-1))==0) &&
8122 + if ((je32_to_cpu(ri->dsize) >= PAGE_CACHE_SIZE) ||
8123 + ( ((je32_to_cpu(ri->offset)&(PAGE_CACHE_SIZE-1))==0) &&
8124 (je32_to_cpu(ri->dsize)+je32_to_cpu(ri->offset) == je32_to_cpu(ri->isize)))) {
8128 je32_to_cpu(rd->name_crc));
8130 D1(if(je32_to_cpu(rd->hdr_crc) != crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)) {
8132 + printk(KERN_CRIT "Eep. CRC not correct in jffs2_write_dirent(), je32_to_cpu(rd->hdr_crc):%d, "
8133 + "crc32(0, rd, sizeof(struct jffs2_unknown_node) - 4):%d\n", je32_to_cpu(rd->hdr_crc),
8145 fd->version = je32_to_cpu(rd->version);
8146 fd->ino = je32_to_cpu(rd->ino);
8594 - if (crc != je32_to_cpu(rx.node_crc)) {
8596 - offset, je32_to_cpu(rx.hdr_crc), crc);
8603 - || je32_to_cpu(rx.totlen) != totlen
8604 - || je32_to_cpu(rx.xid) != xd->xid
8605 - || je32_to_cpu(rx.version) != xd->version) {
8610 - je32_to_cpu(rx.totlen), totlen,
8611 - je32_to_cpu(rx.xid), xd->xid,
8612 - je32_to_cpu(rx.version), xd->version);
8619 - xd->data_crc = je32_to_cpu(rx.data_crc);
8906 - if (crc != je32_to_cpu(rr.node_crc)) {
8908 - offset, je32_to_cpu(rr.node_crc), crc);
8913 - || je32_to_cpu(rr.totlen) != PAD(sizeof(rr))) {
8918 - je32_to_cpu(rr.totlen), PAD(sizeof(rr)));
8921 - ref->ino = je32_to_cpu(rr.ino);
8922 - ref->xid = je32_to_cpu(rr.xid);
8923 - ref->xseqno = je32_to_cpu(rr.xseqno);