Searched refs:je32_to_cpu (Results 1 - 15 of 15) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jffs2/
H A Dread.c51 ref_offset(fd->raw), je32_to_cpu(ri->node_crc),
52 crc, je32_to_cpu(ri->dsize), je32_to_cpu(ri->csize),
53 je32_to_cpu(ri->offset), buf));
54 if (crc != je32_to_cpu(ri->node_crc)) {
56 je32_to_cpu(ri->node_crc), crc, ref_offset(fd->raw));
62 if (ri->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(ri->dsize) &&
63 je32_to_cpu(ri->csize)) {
68 D1(if(ofs + len > je32_to_cpu(ri->dsize)) {
70 len, ofs, je32_to_cpu(r
[all...]
H A Dscan.c328 if (crc != je32_to_cpu(rx->node_crc)) {
330 ofs, je32_to_cpu(rx->node_crc), crc);
331 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen))))
336 xid = je32_to_cpu(rx->xid);
337 version = je32_to_cpu(rx->version);
341 if (totlen != je32_to_cpu(rx->totlen)) {
343 ofs, je32_to_cpu(rx->totlen), totlen);
344 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen))))
363 xd->data_crc = je32_to_cpu(rx->data_crc);
384 if (crc != je32_to_cpu(r
[all...]
H A Dsummary.c74 je32_to_cpu(item->i.inode));
80 je32_to_cpu(item->d.ino));
87 je32_to_cpu(item->x.xid), je32_to_cpu(item->x.version));
342 c->summary->sum_padded += je32_to_cpu(node->u.totlen);
395 for (i=0; i<je32_to_cpu(summary->sum_num); i++) {
410 ino = je32_to_cpu(spi->inode);
413 jeb->offset + je32_to_cpu(spi->offset),
414 jeb->offset + je32_to_cpu(spi->offset) + je32_to_cpu(sp
[all...]
H A Dreadinode.c614 if (unlikely(crc != je32_to_cpu(rd->node_crc))) {
616 ref_offset(ref), je32_to_cpu(rd->node_crc), crc);
627 if (unlikely(PAD((rd->nsize + sizeof(*rd))) != PAD(je32_to_cpu(rd->totlen)))) {
629 ref_offset(ref), rd->nsize, je32_to_cpu(rd->totlen));
651 fd->version = je32_to_cpu(rd->version);
652 fd->ino = je32_to_cpu(rd->ino);
659 if(fd->version > rii->mctime_ver && je32_to_cpu(rd->mctime)) {
661 rii->latest_mctime = je32_to_cpu(rd->mctime);
722 if (unlikely(crc != je32_to_cpu(rd->node_crc))) {
724 ref_offset(ref), je32_to_cpu(r
[all...]
H A Dwrite.c70 D1(if(je32_to_cpu(ri->hdr_crc) != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) {
80 if (je32_to_cpu(ri->totlen) != sizeof(*ri) + datalen) {
81 printk(KERN_WARNING "jffs2_write_dnode: ri->totlen (0x%08x) != sizeof(*ri) (0x%08zx) + datalen (0x%08x)\n", je32_to_cpu(ri->totlen), sizeof(*ri), datalen);
96 if ((alloc_mode!=ALLOC_GC) && (je32_to_cpu(ri->version) < f->highest_version)) {
100 je32_to_cpu(ri->version), f->highest_version));
168 if ((je32_to_cpu(ri->dsize) >= PAGE_CACHE_SIZE) ||
169 ( ((je32_to_cpu(ri->offset)&(PAGE_CACHE_SIZE-1))==0) &&
170 (je32_to_cpu(ri->dsize)+je32_to_cpu(ri->offset) == je32_to_cpu(r
[all...]
H A Ddebug.c770 printk(JFFS2_DBG "totlen:\t%#08x\n", je32_to_cpu(node.u.totlen));
771 printk(JFFS2_DBG "hdr_crc:\t%#08x\n", je32_to_cpu(node.u.hdr_crc));
774 if (crc != je32_to_cpu(node.u.hdr_crc)) {
792 printk(JFFS2_DBG "ino:\t%#08x\n", je32_to_cpu(node.i.ino));
793 printk(JFFS2_DBG "version:\t%#08x\n", je32_to_cpu(node.i.version));
797 printk(JFFS2_DBG "isize:\t%#08x\n", je32_to_cpu(node.i.isize));
798 printk(JFFS2_DBG "atime:\t%#08x\n", je32_to_cpu(node.i.atime));
799 printk(JFFS2_DBG "mtime:\t%#08x\n", je32_to_cpu(node.i.mtime));
800 printk(JFFS2_DBG "ctime:\t%#08x\n", je32_to_cpu(node.i.ctime));
801 printk(JFFS2_DBG "offset:\t%#08x\n", je32_to_cpu(nod
[all...]
H A Dgc.c595 if (je32_to_cpu(node->u.hdr_crc) != crc) {
597 ref_offset(raw), je32_to_cpu(node->u.hdr_crc), crc);
604 if (je32_to_cpu(node->i.node_crc) != crc) {
606 ref_offset(raw), je32_to_cpu(node->i.node_crc), crc);
610 if (je32_to_cpu(node->i.dsize)) {
611 crc = crc32(0, node->i.data, je32_to_cpu(node->i.csize));
612 if (je32_to_cpu(node->i.data_crc) != crc) {
614 ref_offset(raw), je32_to_cpu(node->i.data_crc), crc);
622 if (je32_to_cpu(node->d.node_crc) != crc) {
624 ref_offset(raw), je32_to_cpu(nod
[all...]
H A Dnodelist.h44 #define je32_to_cpu(x) ((x).v32) macro
55 #define je32_to_cpu(x) (be32_to_cpu(x.v32)) macro
66 #define je32_to_cpu(x) (le32_to_cpu(x.v32)) macro
144 #define dirent_node_state(rd) ( (je32_to_cpu((rd)->ino)?REF_PRISTINE:REF_NORMAL) )
H A Dxattr.c150 if (crc != je32_to_cpu(rx.node_crc)) {
152 offset, je32_to_cpu(rx.hdr_crc), crc);
159 || je32_to_cpu(rx.totlen) != totlen
160 || je32_to_cpu(rx.xid) != xd->xid
161 || je32_to_cpu(rx.version) != xd->version) {
166 je32_to_cpu(rx.totlen), totlen,
167 je32_to_cpu(rx.xid), xd->xid,
168 je32_to_cpu(rx.version), xd->version);
175 xd->data_crc = je32_to_cpu(rx.data_crc);
460 if (crc != je32_to_cpu(r
[all...]
H A Dfs.c143 inode->i_atime = ITIME(je32_to_cpu(ri->atime));
144 inode->i_ctime = ITIME(je32_to_cpu(ri->ctime));
145 inode->i_mtime = ITIME(je32_to_cpu(ri->mtime));
277 inode->i_size = je32_to_cpu(latest_node.isize);
278 inode->i_atime = ITIME(je32_to_cpu(latest_node.atime));
279 inode->i_mtime = ITIME(je32_to_cpu(latest_node.mtime));
280 inode->i_ctime = ITIME(je32_to_cpu(latest_node.ctime));
334 rdev = new_decode_dev(je32_to_cpu(jdev.new_id));
461 inode->i_ino = je32_to_cpu(ri->ino);
H A Dacl.c66 ver = je32_to_cpu(header->a_version);
103 acl->a_entries[i].e_id = je32_to_cpu(entry->e_id);
H A Ddir.c223 dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(ri->ctime));
437 dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(rd->mctime));
581 dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(rd->mctime));
756 dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(rd->mctime));
H A Dfile.c300 inode->i_ctime = inode->i_mtime = ITIME(je32_to_cpu(ri->ctime));
H A Dnodemgmt.c675 if (PAD(je32_to_cpu(n.totlen)) != PAD(freed_len)) {
676 printk(KERN_WARNING "Node totlen on flash (0x%08x) != totlen from node ref (0x%08x)\n", je32_to_cpu(n.totlen), freed_len);
H A Dwbuf.c196 frag = jffs2_lookup_node_frag(&f->fragtree, je32_to_cpu(node->i.offset));

Completed in 147 milliseconds