Home
last modified time | relevance | path

Searched refs:nodetype (Results 1 – 15 of 15) sorted by relevance

/linux-3.4.99/fs/jffs2/
Dsummary.h42 jint16_t nodetype; /* node type */ member
47 jint16_t nodetype; /* node type */ member
56 jint16_t nodetype; /* == JFFS_NODETYPE_DIRENT */ member
69 jint16_t nodetype; /* == JFFS2_NODETYPE_XATR */ member
78 jint16_t nodetype; /* == JFFS2_NODETYPE_XREF */ member
96 jint16_t nodetype; /* node type */ member
102 jint16_t nodetype; /* node type */ member
112 jint16_t nodetype; /* == JFFS_NODETYPE_DIRENT */ member
126 jint16_t nodetype; member
136 jint16_t nodetype; member
Dsummary.c71 switch (je16_to_cpu(item->u.nodetype)) { in jffs2_sum_add_mem()
99 je16_to_cpu(item->u.nodetype)); in jffs2_sum_add_mem()
123 temp->nodetype = ri->nodetype; in jffs2_sum_add_inode_mem()
142 temp->nodetype = rd->nodetype; in jffs2_sum_add_dirent_mem()
166 temp->nodetype = rx->nodetype; in jffs2_sum_add_xattr_mem()
184 temp->nodetype = rr->nodetype; in jffs2_sum_add_xref_mem()
263 switch (je16_to_cpu(node->u.nodetype)) { in jffs2_sum_add_kvec()
271 temp->nodetype = node->i.nodetype; in jffs2_sum_add_kvec()
288 temp->nodetype = node->d.nodetype; in jffs2_sum_add_kvec()
321 temp->nodetype = node->x.nodetype; in jffs2_sum_add_kvec()
[all …]
Dscan.c749 crcnode.nodetype = cpu_to_je16( je16_to_cpu(node->nodetype) | JFFS2_NODE_ACCURATE); in jffs2_scan_eraseblock()
757 je16_to_cpu(node->nodetype), in jffs2_scan_eraseblock()
778 if (!(je16_to_cpu(node->nodetype) & JFFS2_NODE_ACCURATE)) { in jffs2_scan_eraseblock()
788 switch(je16_to_cpu(node->nodetype)) { in jffs2_scan_eraseblock()
891 switch (je16_to_cpu(node->nodetype) & JFFS2_COMPAT_MASK) { in jffs2_scan_eraseblock()
894 je16_to_cpu(node->nodetype), ofs); in jffs2_scan_eraseblock()
905 je16_to_cpu(node->nodetype), ofs); in jffs2_scan_eraseblock()
910 je16_to_cpu(node->nodetype), ofs); in jffs2_scan_eraseblock()
918 je16_to_cpu(node->nodetype), ofs); in jffs2_scan_eraseblock()
Dreadinode.c892 je16_to_cpu(un->magic), je16_to_cpu(un->nodetype), in read_unknown()
898 un->nodetype = cpu_to_je16(JFFS2_NODE_ACCURATE | je16_to_cpu(un->nodetype)); in read_unknown()
900 switch(je16_to_cpu(un->nodetype) & JFFS2_COMPAT_MASK) { in read_unknown()
904 je16_to_cpu(un->nodetype), ref_offset(ref)); in read_unknown()
911 je16_to_cpu(un->nodetype), ref_offset(ref)); in read_unknown()
917 je16_to_cpu(un->nodetype), ref_offset(ref)); in read_unknown()
922 je16_to_cpu(un->nodetype), ref_offset(ref)); in read_unknown()
1060 je16_to_cpu(node->u.nodetype), in jffs2_get_inode_nodes()
1075 switch (je16_to_cpu(node->u.nodetype)) { in jffs2_get_inode_nodes()
Dgc.c621 switch(je16_to_cpu(node->u.nodetype)) { in jffs2_garbage_collect_pristine()
671 ref_offset(raw), je16_to_cpu(node->u.nodetype)); in jffs2_garbage_collect_pristine()
794 ri.nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_garbage_collect_metadata()
839 rd.nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_garbage_collect_dirent()
940 if (je16_to_cpu(rd->nodetype) != JFFS2_NODETYPE_DIRENT) in jffs2_garbage_collect_deletion_dirent()
1019 if (je16_to_cpu(ri.nodetype) != JFFS2_NODETYPE_INODE) { in jffs2_garbage_collect_hole()
1022 je16_to_cpu(ri.nodetype), JFFS2_NODETYPE_INODE); in jffs2_garbage_collect_hole()
1051 ri.nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_garbage_collect_hole()
1336 ri.nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_garbage_collect_dnode()
Dwrite.c45 ri->nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_do_new_inode()
375 ri->nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_write_inode_range()
510 rd->nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_do_create()
573 rd->nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_do_unlink()
690 rd->nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_do_link()
Dnodemgmt.c732 if (!(je16_to_cpu(n.nodetype) & JFFS2_NODE_ACCURATE)) { in jffs2_mark_node_obsolete()
734 ref_offset(ref), je16_to_cpu(n.nodetype)); in jffs2_mark_node_obsolete()
738 n.nodetype = cpu_to_je16(je16_to_cpu(n.nodetype) & ~JFFS2_NODE_ACCURATE); in jffs2_mark_node_obsolete()
Dwbuf.c190 node, je16_to_cpu(node->u.magic), je16_to_cpu(node->u.nodetype)); in jffs2_incore_replace_raw()
195 switch (je16_to_cpu(node->u.nodetype)) { in jffs2_incore_replace_raw()
222 je16_to_cpu(node->u.nodetype)); in jffs2_incore_replace_raw()
618 padnode->nodetype = cpu_to_je16(JFFS2_NODETYPE_PADDING); in __jffs2_flush_wbuf()
1024 .nodetype = constant_cpu_to_je16(JFFS2_NODETYPE_CLEANMARKER),
Dxattr.c160 || je16_to_cpu(rx.nodetype) != JFFS2_NODETYPE_XATTR in do_verify_xattr_datum()
167 je16_to_cpu(rx.nodetype), JFFS2_NODETYPE_XATTR, in do_verify_xattr_datum()
302 rx.nodetype = cpu_to_je16(JFFS2_NODETYPE_XATTR); in save_xattr_datum()
468 || je16_to_cpu(rr.nodetype) != JFFS2_NODETYPE_XREF in verify_xattr_ref()
473 je16_to_cpu(rr.nodetype), JFFS2_NODETYPE_XREF, in verify_xattr_ref()
510 rr.nodetype = cpu_to_je16(JFFS2_NODETYPE_XREF); in save_xattr_ref()
Ddir.c413 rd->nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_symlink()
557 rd->nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_mkdir()
730 rd->nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_mknod()
Dfile.c177 ri.nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_write_begin()
Ddebug.c791 printk(JFFS2_DBG "nodetype:\t%#04x\n", je16_to_cpu(node.u.nodetype)); in __jffs2_dbg_dump_node()
809 switch(je16_to_cpu(node.u.nodetype)) { in __jffs2_dbg_dump_node()
Derase.c454 .nodetype = cpu_to_je16(JFFS2_NODETYPE_CLEANMARKER), in jffs2_mark_erased_block()
Dfs.c95 ri->nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_do_setattr()
/linux-3.4.99/include/linux/
Djffs2.h111 jint16_t nodetype; member
119 jint16_t nodetype; /* == JFFS2_NODETYPE_DIRENT */ member
143 jint16_t nodetype; /* == JFFS2_NODETYPE_INODE */ member
168 jint16_t nodetype; /* = JFFS2_NODETYPE_XATTR */ member
184 jint16_t nodetype; /* = JFFS2_NODETYPE_XREF */ member
196 jint16_t nodetype; /* = JFFS2_NODETYPE_SUMMARY */ member