Searched refs:flash_offset (Results 1 – 11 of 11) sorted by relevance
/linux-3.4.99/fs/jffs2/ |
D | malloc.c | 201 ret[i].flash_offset = REF_EMPTY_NODE; in jffs2_alloc_refblock() 204 ret[i].flash_offset = REF_LINK_NODE; in jffs2_alloc_refblock() 224 if (ref && ref->flash_offset != REF_EMPTY_NODE) in jffs2_prealloc_raw_node_refs() 234 if (ref->flash_offset == REF_LINK_NODE) { in jffs2_prealloc_raw_node_refs() 245 nr, jeb->offset, jeb->last_node, jeb->last_node->flash_offset, in jffs2_prealloc_raw_node_refs()
|
D | nodelist.h | 88 uint32_t flash_offset; member 106 if (ref->flash_offset == REF_LINK_NODE) { in ref_next() 113 if (ref->flash_offset == REF_EMPTY_NODE) in ref_next() 136 #define ref_flags(ref) ((ref)->flash_offset & 3) 137 #define ref_offset(ref) ((ref)->flash_offset & ~3) 138 #define ref_obsolete(ref) (((ref)->flash_offset & 3) == REF_OBSOLETE) 139 #define mark_ref_normal(ref) do { (ref)->flash_offset = ref_offset(ref) | REF_NORMAL; } while(0)
|
D | nodelist.c | 96 frag->node->raw->flash_offset = ref_offset(frag->node->raw) | REF_PRISTINE; in jffs2_truncate_fragtree() 512 if (this[REFS_PER_BLOCK].flash_offset == REF_LINK_NODE) in jffs2_free_raw_node_refs() 621 dbg_noderef("Last node at %p is (%08x,%p)\n", ref, ref->flash_offset, in jffs2_link_node_ref() 624 while (ref->flash_offset != REF_EMPTY_NODE) { in jffs2_link_node_ref() 625 if (ref->flash_offset == REF_LINK_NODE) in jffs2_link_node_ref() 632 ref->flash_offset, ofs, ref->next_in_ino, len); in jffs2_link_node_ref() 634 ref->flash_offset = ofs; in jffs2_link_node_ref() 727 jeb = &c->blocks[ref->flash_offset / c->sector_size]; in __ref_totlen() 752 jeb = &c->blocks[ref->flash_offset / c->sector_size]; in __jffs2_ref_totlen()
|
D | nodemgmt.c | 555 blocknr = ref->flash_offset / c->sector_size; in jffs2_mark_node_obsolete() 558 ref->flash_offset); in jffs2_mark_node_obsolete() 582 ref->flash_offset, jeb->used_size); in jffs2_mark_node_obsolete() 593 ref->flash_offset, jeb->used_size); in jffs2_mark_node_obsolete() 631 ref->flash_offset = ref_offset(ref) | REF_OBSOLETE; in jffs2_mark_node_obsolete()
|
D | erase.c | 254 if (SECTOR_ADDR((*prev)->flash_offset) == jeb->offset) { in jffs2_remove_node_refs_from_ino_list() 325 if (ref->flash_offset == REF_LINK_NODE) { in jffs2_free_jeb_node_refs() 331 if (ref->flash_offset != REF_EMPTY_NODE && ref->next_in_ino) in jffs2_free_jeb_node_refs()
|
D | readinode.c | 114 jeb = &c->blocks[ref->flash_offset / c->sector_size]; in check_node_data() 120 ref->flash_offset |= REF_PRISTINE; in check_node_data() 634 jeb = &c->blocks[ref->flash_offset / c->sector_size]; in read_direntry() 642 ref->flash_offset = ref_offset(ref) | dirent_node_state(rd); in read_direntry() 816 jeb = &c->blocks[ref->flash_offset / c->sector_size]; in read_dnode() 824 ref->flash_offset = ref_offset(ref) | REF_NORMAL; in read_dnode()
|
D | gc.c | 918 if (SECTOR_ADDR(raw->flash_offset) == SECTOR_ADDR(fd->raw->flash_offset)) in jffs2_garbage_collect_deletion_dirent() 1209 jeb = &c->blocks[raw->flash_offset / c->sector_size]; in jffs2_garbage_collect_dnode() 1265 jeb = &c->blocks[raw->flash_offset / c->sector_size]; in jffs2_garbage_collect_dnode()
|
D | xattr.c | 188 raw->flash_offset = ref_offset(raw) | ((xd->node==raw) ? REF_PRISTINE : REF_NORMAL); in do_verify_xattr_datum() 492 raw->flash_offset = ref_offset(raw) | ((ref->node==raw) ? REF_PRISTINE : REF_NORMAL); in verify_xattr_ref() 1296 raw->flash_offset = ref_offset(raw) in jffs2_verify_xattr()
|
D | README.Locking | 88 case. Any changes to _valid_ nodes (i.e. ->flash_offset & 1 == 0) in
|
D | summary.c | 543 *pseudo_random += ref->node->flash_offset; in jffs2_sum_process_sum_data()
|
D | wbuf.c | 540 raw->flash_offset = ref_offset(raw) | REF_OBSOLETE; in jffs2_wbuf_recover()
|