Searched refs:je16_to_cpu (Results 1 - 12 of 12) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/mtd/ |
H A D | jffs2-user.h | 18 #undef je16_to_cpu macro 31 #define je16_to_cpu(x) (t16((x).v16)) macro
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jffs2/ |
H A D | scan.c | 337 + rx->name_len + 1 + je16_to_cpu(rx->value_len)); 359 xd->value_len = je16_to_cpu(rx->value_len); 693 if (ofs == jeb->offset && je16_to_cpu(node->magic) == KSAMTIB_CIGAM_2SFFJ) { 700 if (je16_to_cpu(node->magic) == JFFS2_DIRTY_BITMASK) { 707 if (je16_to_cpu(node->magic) == JFFS2_OLD_MAGIC_BITMASK) { 715 if (je16_to_cpu(node->magic) != JFFS2_MAGIC_BITMASK) { 719 je16_to_cpu(node->magic)); 727 crcnode.nodetype = cpu_to_je16( je16_to_cpu(node->nodetype) | JFFS2_NODE_ACCURATE); 733 ofs, je16_to_cpu(node->magic), 734 je16_to_cpu(nod [all...] |
H A D | readinode.c | 864 je16_to_cpu(un->magic), je16_to_cpu(un->nodetype), 870 un->nodetype = cpu_to_je16(JFFS2_NODE_ACCURATE | je16_to_cpu(un->nodetype)); 872 switch(je16_to_cpu(un->nodetype) & JFFS2_COMPAT_MASK) { 876 je16_to_cpu(un->nodetype), ref_offset(ref)); 883 je16_to_cpu(un->nodetype), ref_offset(ref)); 889 je16_to_cpu(un->nodetype), ref_offset(ref)); 894 je16_to_cpu(un->nodetype), ref_offset(ref)); 1028 ref_offset(ref), je16_to_cpu(node->u.magic), 1029 je16_to_cpu(nod [all...] |
H A D | debug.c | 612 printk(JFFS2_DBG "magic:\t%#04x\n", je16_to_cpu(node.u.magic)); 613 printk(JFFS2_DBG "nodetype:\t%#04x\n", je16_to_cpu(node.u.nodetype)); 623 if (je16_to_cpu(node.u.magic) != JFFS2_MAGIC_BITMASK && 624 je16_to_cpu(node.u.magic) != JFFS2_OLD_MAGIC_BITMASK) 627 je16_to_cpu(node.u.magic), JFFS2_MAGIC_BITMASK); 631 switch(je16_to_cpu(node.u.nodetype)) { 639 printk(JFFS2_DBG "uid:\t%#04x\n", je16_to_cpu(node.i.uid)); 640 printk(JFFS2_DBG "gid:\t%#04x\n", je16_to_cpu(node.i.gid)); 650 printk(JFFS2_DBG "flags:\t%#04x\n", je16_to_cpu(node.i.flags));
|
H A D | fs.c | 103 !in_group_p(je16_to_cpu(ri->gid)) && !capable(CAP_FSETID)) 146 inode->i_uid = je16_to_cpu(ri->uid); 147 inode->i_gid = je16_to_cpu(ri->gid); 255 inode->i_uid = je16_to_cpu(latest_node.uid); 256 inode->i_gid = je16_to_cpu(latest_node.gid); 318 rdev = old_decode_dev(je16_to_cpu(jdev.old)); 444 inode->i_gid = je16_to_cpu(ri->gid); 445 inode->i_uid = je16_to_cpu(ri->uid);
|
H A D | summary.c | 67 switch (je16_to_cpu(item->u.nodetype)) { 95 je16_to_cpu(item->u.nodetype)); 259 switch (je16_to_cpu(node->u.nodetype)) { 403 switch (je16_to_cpu(((struct jffs2_sum_unknown_flash *)sp)->nodetype)) { 529 uint16_t nodetype = je16_to_cpu(((struct jffs2_sum_unknown_flash *)sp)->nodetype); 680 switch (je16_to_cpu(temp->u.nodetype)) { 740 if ((je16_to_cpu(temp->u.nodetype) & JFFS2_COMPAT_MASK) 743 je16_to_cpu(temp->u.nodetype));
|
H A D | nodelist.h | 44 #define je16_to_cpu(x) ((x).v16) macro 55 #define je16_to_cpu(x) (be16_to_cpu(x.v16)) macro 66 #define je16_to_cpu(x) (le16_to_cpu(x.v16)) macro
|
H A D | xattr.c | 156 totlen = PAD(sizeof(rx) + rx.name_len + 1 + je16_to_cpu(rx.value_len)); 157 if (je16_to_cpu(rx.magic) != JFFS2_MAGIC_BITMASK 158 || je16_to_cpu(rx.nodetype) != JFFS2_NODETYPE_XATTR 164 offset, je16_to_cpu(rx.magic), JFFS2_MAGIC_BITMASK, 165 je16_to_cpu(rx.nodetype), JFFS2_NODETYPE_XATTR, 174 xd->value_len = je16_to_cpu(rx.value_len); 465 if (je16_to_cpu(rr.magic) != JFFS2_MAGIC_BITMASK 466 || je16_to_cpu(rr.nodetype) != JFFS2_NODETYPE_XREF 470 offset, je16_to_cpu(rr.magic), JFFS2_MAGIC_BITMASK, 471 je16_to_cpu(r [all...] |
H A D | wbuf.c | 185 node, je16_to_cpu(node->u.magic), je16_to_cpu(node->u.nodetype)); 187 BUG_ON(je16_to_cpu(node->u.magic) != 0x1985 && 188 je16_to_cpu(node->u.magic) != 0); 190 switch (je16_to_cpu(node->u.nodetype)) { 217 je16_to_cpu(node->u.nodetype));
|
H A D | acl.c | 87 acl->a_entries[i].e_tag = je16_to_cpu(entry->e_tag); 88 acl->a_entries[i].e_perm = je16_to_cpu(entry->e_perm);
|
H A D | gc.c | 573 switch(je16_to_cpu(node->u.nodetype)) { 613 ref_offset(raw), je16_to_cpu(node->u.nodetype)); 870 if (je16_to_cpu(rd->nodetype) != JFFS2_NODETYPE_DIRENT) 944 if (je16_to_cpu(ri.nodetype) != JFFS2_NODETYPE_INODE) { 947 je16_to_cpu(ri.nodetype), JFFS2_NODETYPE_INODE);
|
H A D | nodemgmt.c | 653 if (!(je16_to_cpu(n.nodetype) & JFFS2_NODE_ACCURATE)) { 654 D1(printk(KERN_DEBUG "Node at 0x%08x was already marked obsolete (nodetype 0x%04x)\n", ref_offset(ref), je16_to_cpu(n.nodetype))); 657 n.nodetype = cpu_to_je16(je16_to_cpu(n.nodetype) & ~JFFS2_NODE_ACCURATE);
|
Completed in 172 milliseconds