Searched refs:je16_to_cpu (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jffs2/
H A Dscan.c340 + rx->name_len + 1 + je16_to_cpu(rx->value_len));
362 xd->value_len = je16_to_cpu(rx->value_len);
696 if (ofs == jeb->offset && je16_to_cpu(node->magic) == KSAMTIB_CIGAM_2SFFJ) {
703 if (je16_to_cpu(node->magic) == JFFS2_DIRTY_BITMASK) {
710 if (je16_to_cpu(node->magic) == JFFS2_OLD_MAGIC_BITMASK) {
718 if (je16_to_cpu(node->magic) != JFFS2_MAGIC_BITMASK) {
722 je16_to_cpu(node->magic));
730 crcnode.nodetype = cpu_to_je16( je16_to_cpu(node->nodetype) | JFFS2_NODE_ACCURATE);
736 ofs, je16_to_cpu(node->magic),
737 je16_to_cpu(nod
[all...]
H A Dreadinode.c891 je16_to_cpu(un->magic), je16_to_cpu(un->nodetype),
897 un->nodetype = cpu_to_je16(JFFS2_NODE_ACCURATE | je16_to_cpu(un->nodetype));
899 switch(je16_to_cpu(un->nodetype) & JFFS2_COMPAT_MASK) {
903 je16_to_cpu(un->nodetype), ref_offset(ref));
910 je16_to_cpu(un->nodetype), ref_offset(ref));
916 je16_to_cpu(un->nodetype), ref_offset(ref));
921 je16_to_cpu(un->nodetype), ref_offset(ref));
1055 ref_offset(ref), je16_to_cpu(node->u.magic),
1056 je16_to_cpu(nod
[all...]
H A Ddebug.c768 printk(JFFS2_DBG "magic:\t%#04x\n", je16_to_cpu(node.u.magic));
769 printk(JFFS2_DBG "nodetype:\t%#04x\n", je16_to_cpu(node.u.nodetype));
779 if (je16_to_cpu(node.u.magic) != JFFS2_MAGIC_BITMASK &&
780 je16_to_cpu(node.u.magic) != JFFS2_OLD_MAGIC_BITMASK)
783 je16_to_cpu(node.u.magic), JFFS2_MAGIC_BITMASK);
787 switch(je16_to_cpu(node.u.nodetype)) {
795 printk(JFFS2_DBG "uid:\t%#04x\n", je16_to_cpu(node.i.uid));
796 printk(JFFS2_DBG "gid:\t%#04x\n", je16_to_cpu(node.i.gid));
806 printk(JFFS2_DBG "flags:\t%#04x\n", je16_to_cpu(node.i.flags));
H A Dsummary.c69 switch (je16_to_cpu(item->u.nodetype)) {
97 je16_to_cpu(item->u.nodetype));
261 switch (je16_to_cpu(node->u.nodetype)) {
405 switch (je16_to_cpu(((struct jffs2_sum_unknown_flash *)sp)->nodetype)) {
545 uint16_t nodetype = je16_to_cpu(((struct jffs2_sum_unknown_flash *)sp)->nodetype);
716 switch (je16_to_cpu(temp->u.nodetype)) {
776 if ((je16_to_cpu(temp->u.nodetype) & JFFS2_COMPAT_MASK)
779 je16_to_cpu(temp->u.nodetype));
H A Dfs.c147 inode->i_uid = je16_to_cpu(ri->uid);
148 inode->i_gid = je16_to_cpu(ri->gid);
275 inode->i_uid = je16_to_cpu(latest_node.uid);
276 inode->i_gid = je16_to_cpu(latest_node.gid);
332 rdev = old_decode_dev(je16_to_cpu(jdev.old_id));
463 inode->i_gid = je16_to_cpu(ri->gid);
464 inode->i_uid = je16_to_cpu(ri->uid);
H A Dnodelist.h43 #define je16_to_cpu(x) ((x).v16) macro
54 #define je16_to_cpu(x) (be16_to_cpu(x.v16)) macro
65 #define je16_to_cpu(x) (le16_to_cpu(x.v16)) macro
H A Dxattr.c156 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 Dwbuf.c185 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 Dacl.c87 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 Dgc.c601 switch(je16_to_cpu(node->u.nodetype)) {
646 ref_offset(raw), je16_to_cpu(node->u.nodetype));
904 if (je16_to_cpu(rd->nodetype) != JFFS2_NODETYPE_DIRENT)
978 if (je16_to_cpu(ri.nodetype) != JFFS2_NODETYPE_INODE) {
981 je16_to_cpu(ri.nodetype), JFFS2_NODETYPE_INODE);
H A Dnodemgmt.c679 if (!(je16_to_cpu(n.nodetype) & JFFS2_NODE_ACCURATE)) {
680 D1(printk(KERN_DEBUG "Node at 0x%08x was already marked obsolete (nodetype 0x%04x)\n", ref_offset(ref), je16_to_cpu(n.nodetype)));
683 n.nodetype = cpu_to_je16(je16_to_cpu(n.nodetype) & ~JFFS2_NODE_ACCURATE);

Completed in 200 milliseconds