je16_to_cpu
acl->a_entries[i].e_tag = je16_to_cpu(entry->e_tag);
acl->a_entries[i].e_perm = je16_to_cpu(entry->e_perm);
printk(JFFS2_DBG "magic:\t%#04x\n", je16_to_cpu(node.u.magic));
printk(JFFS2_DBG "nodetype:\t%#04x\n", je16_to_cpu(node.u.nodetype));
if (je16_to_cpu(node.u.magic) != JFFS2_MAGIC_BITMASK &&
je16_to_cpu(node.u.magic) != JFFS2_OLD_MAGIC_BITMASK)
je16_to_cpu(node.u.magic), JFFS2_MAGIC_BITMASK);
switch(je16_to_cpu(node.u.nodetype)) {
printk(JFFS2_DBG "uid:\t%#04x\n", je16_to_cpu(node.i.uid));
printk(JFFS2_DBG "gid:\t%#04x\n", je16_to_cpu(node.i.gid));
printk(JFFS2_DBG "flags:\t%#04x\n", je16_to_cpu(node.i.flags));
i_uid_write(inode, je16_to_cpu(ri->uid));
i_gid_write(inode, je16_to_cpu(ri->gid));
i_uid_write(inode, je16_to_cpu(latest_node.uid));
i_gid_write(inode, je16_to_cpu(latest_node.gid));
rdev = old_decode_dev(je16_to_cpu(jdev.old_id));
i_gid_write(inode, je16_to_cpu(ri->gid));
i_uid_write(inode, je16_to_cpu(ri->uid));
if (je16_to_cpu(ri.nodetype) != JFFS2_NODETYPE_INODE) {
je16_to_cpu(ri.nodetype), JFFS2_NODETYPE_INODE);
switch(je16_to_cpu(node->u.nodetype)) {
ref_offset(raw), je16_to_cpu(node->u.nodetype));
if (je16_to_cpu(rd->nodetype) != JFFS2_NODETYPE_DIRENT)
if (!(je16_to_cpu(n.nodetype) & JFFS2_NODE_ACCURATE)) {
ref_offset(ref), je16_to_cpu(n.nodetype));
n.nodetype = cpu_to_je16(je16_to_cpu(n.nodetype) & ~JFFS2_NODE_ACCURATE);
ref_offset(ref), je16_to_cpu(node->u.magic),
je16_to_cpu(node->u.nodetype),
if (je16_to_cpu(node->u.magic) != JFFS2_MAGIC_BITMASK) {
je16_to_cpu(node->u.magic), ref_offset(ref));
switch (je16_to_cpu(node->u.nodetype)) {
je16_to_cpu(un->magic), je16_to_cpu(un->nodetype),
un->nodetype = cpu_to_je16(JFFS2_NODE_ACCURATE | je16_to_cpu(un->nodetype));
switch(je16_to_cpu(un->nodetype) & JFFS2_COMPAT_MASK) {
je16_to_cpu(un->nodetype), ref_offset(ref));
je16_to_cpu(un->nodetype), ref_offset(ref));
je16_to_cpu(un->nodetype), ref_offset(ref));
je16_to_cpu(un->nodetype), ref_offset(ref));
+ rx->name_len + 1 + je16_to_cpu(rx->value_len));
xd->value_len = je16_to_cpu(rx->value_len);
if (ofs == jeb->offset && je16_to_cpu(node->magic) == KSAMTIB_CIGAM_2SFFJ) {
if (je16_to_cpu(node->magic) == JFFS2_DIRTY_BITMASK) {
if (je16_to_cpu(node->magic) == JFFS2_OLD_MAGIC_BITMASK) {
if (je16_to_cpu(node->magic) != JFFS2_MAGIC_BITMASK) {
je16_to_cpu(node->magic));
crcnode.nodetype = cpu_to_je16( je16_to_cpu(node->nodetype) | JFFS2_NODE_ACCURATE);
ofs, je16_to_cpu(node->magic),
je16_to_cpu(node->nodetype),
if (!(je16_to_cpu(node->nodetype) & JFFS2_NODE_ACCURATE)) {
switch(je16_to_cpu(node->nodetype)) {
switch (je16_to_cpu(node->nodetype) & JFFS2_COMPAT_MASK) {
je16_to_cpu(node->nodetype), ofs);
je16_to_cpu(node->nodetype), ofs);
je16_to_cpu(node->nodetype), ofs);
je16_to_cpu(node->nodetype), ofs);
switch (je16_to_cpu(node->u.nodetype)) {
switch (je16_to_cpu(((struct jffs2_sum_unknown_flash *)sp)->nodetype)) {
uint16_t nodetype = je16_to_cpu(((struct jffs2_sum_unknown_flash *)sp)->nodetype);
switch (je16_to_cpu(item->u.nodetype)) {
switch (je16_to_cpu(temp->u.nodetype)) {
if ((je16_to_cpu(temp->u.nodetype) & JFFS2_COMPAT_MASK)
je16_to_cpu(temp->u.nodetype));
je16_to_cpu(item->u.nodetype));
node, je16_to_cpu(node->u.magic), je16_to_cpu(node->u.nodetype));
BUG_ON(je16_to_cpu(node->u.magic) != 0x1985 &&
je16_to_cpu(node->u.magic) != 0);
switch (je16_to_cpu(node->u.nodetype)) {
je16_to_cpu(node->u.nodetype));
totlen = PAD(sizeof(rx) + rx.name_len + 1 + je16_to_cpu(rx.value_len));
if (je16_to_cpu(rx.magic) != JFFS2_MAGIC_BITMASK
|| je16_to_cpu(rx.nodetype) != JFFS2_NODETYPE_XATTR
offset, je16_to_cpu(rx.magic), JFFS2_MAGIC_BITMASK,
je16_to_cpu(rx.nodetype), JFFS2_NODETYPE_XATTR,
xd->value_len = je16_to_cpu(rx.value_len);
if (je16_to_cpu(rr.magic) != JFFS2_MAGIC_BITMASK
|| je16_to_cpu(rr.nodetype) != JFFS2_NODETYPE_XREF
offset, je16_to_cpu(rr.magic), JFFS2_MAGIC_BITMASK,
je16_to_cpu(rr.nodetype), JFFS2_NODETYPE_XREF,