/linux/fs/jffs2/ |
A D | readinode.c | 43 ofs = ref_offset(ref) + sizeof(struct jffs2_raw_inode); in check_node_data() 53 ref_offset(ref), tn->csize, ofs); in check_node_data() 109 ref_offset(ref), tn->data_crc, crc); in check_node_data() 749 jffs2_dbg_dump_node(c, ref_offset(ref)); in read_dnode() 857 ref_offset(ref), je32_to_cpu(rd->version), in read_dnode() 893 ref_offset(ref)); in read_unknown() 955 offs = ref_offset(ref) + *rdlen; in read_more() 1035 end = ref_offset(ref) + len; in jffs2_get_inode_nodes() 1039 len = end - ref_offset(ref); in jffs2_get_inode_nodes() 1066 jffs2_dbg_dump_node(c, ref_offset(ref)); in jffs2_get_inode_nodes() [all …]
|
A D | nodelist.c | 614 BUG_ON(ref_offset(ref) != jeb->offset); in jffs2_link_node_ref() 619 ref, ref_offset(ref), ref_offset(ref)+len, in jffs2_link_node_ref() 620 ref_offset(jeb->last_node), in jffs2_link_node_ref() 621 ref_offset(jeb->last_node)+last_len); in jffs2_link_node_ref() 700 ref_end = ref_offset(next_ref); in __ref_totlen() 708 ref, ref_offset(ref), jeb->last_node, in __ref_totlen() 710 ref_offset(jeb->last_node) : 0); in __ref_totlen() 715 return ref_end - ref_offset(ref); in __ref_totlen() 731 ref, ref_offset(ref), ref_offset(ref) + ref->__totlen, in __jffs2_ref_totlen() 735 ref_next(ref), ref_offset(ref_next(ref)), in __jffs2_ref_totlen() [all …]
|
A D | gc.c | 295 ref_offset(raw)); in jffs2_garbage_collect_pass() 311 ref_offset(raw)); in jffs2_garbage_collect_pass() 603 ref_offset(raw)); in jffs2_garbage_collect_pristine() 655 ref_offset(raw), in jffs2_garbage_collect_pristine() 666 ref_offset(raw), in jffs2_garbage_collect_pristine() 673 ref_offset(raw)); in jffs2_garbage_collect_pristine() 681 ref_offset(raw), in jffs2_garbage_collect_pristine() 748 ref_offset(raw)); in jffs2_garbage_collect_pristine() 942 ref_offset(raw)); in jffs2_garbage_collect_deletion_dirent() 956 ref_offset(raw)); in jffs2_garbage_collect_deletion_dirent() [all …]
|
A D | read.c | 38 ret = jffs2_flash_read(c, ref_offset(fd->raw), sizeof(*ri), &readlen, (char *)ri); in jffs2_read_dnode() 42 ref_offset(fd->raw), ret); in jffs2_read_dnode() 48 ref_offset(fd->raw), sizeof(*ri), readlen); in jffs2_read_dnode() 54 ref_offset(fd->raw), je32_to_cpu(ri->node_crc), in jffs2_read_dnode() 59 je32_to_cpu(ri->node_crc), crc, ref_offset(fd->raw)); in jffs2_read_dnode() 115 ret = jffs2_flash_read(c, (ref_offset(fd->raw)) + sizeof(*ri), in jffs2_read_dnode() 126 je32_to_cpu(ri->data_crc), crc, ref_offset(fd->raw)); in jffs2_read_dnode() 210 ref_offset(frag->node->raw), in jffs2_read_inode_range()
|
A D | nodemgmt.c | 594 __func__, ref_offset(ref)); in jffs2_mark_node_obsolete() 628 ref_offset(ref), freed_len); in jffs2_mark_node_obsolete() 639 ref_offset(ref), freed_len); in jffs2_mark_node_obsolete() 673 ref->flash_offset = ref_offset(ref) | REF_OBSOLETE; in jffs2_mark_node_obsolete() 757 ref_offset(ref)); in jffs2_mark_node_obsolete() 758 ret = jffs2_flash_read(c, ref_offset(ref), sizeof(n), &retlen, (char *)&n); in jffs2_mark_node_obsolete() 761 ref_offset(ref), ret); in jffs2_mark_node_obsolete() 766 ref_offset(ref), retlen); in jffs2_mark_node_obsolete() 776 ref_offset(ref), je16_to_cpu(n.nodetype)); in jffs2_mark_node_obsolete() 784 ref_offset(ref), ret); in jffs2_mark_node_obsolete() [all …]
|
A D | debug.c | 89 ref_offset(fn->raw), fn->frags); in __jffs2_dbg_fragtree_paranoia_check_nolock() 101 ref_offset(fn->raw)); in __jffs2_dbg_fragtree_paranoia_check_nolock() 108 ref_offset(fn->raw), frag->ofs, frag->ofs+frag->size); in __jffs2_dbg_fragtree_paranoia_check_nolock() 321 if (ref_offset(ref2) < jeb->offset || in __jffs2_dbg_acct_paranoia_check_nolock() 322 ref_offset(ref2) > jeb->offset + c->sector_size) { in __jffs2_dbg_acct_paranoia_check_nolock() 324 ref_offset(ref2), jeb->offset); in __jffs2_dbg_acct_paranoia_check_nolock() 337 ref_offset(ref2), ref2, ref_offset(ref_next(ref2)), ref_next(ref2), in __jffs2_dbg_acct_paranoia_check_nolock() 338 ref_offset(jeb->last_node), jeb->last_node); in __jffs2_dbg_acct_paranoia_check_nolock() 415 printk("%#08x", ref_offset(ref)); in __jffs2_dbg_dump_node_refs_nolock() 713 this->ofs, this->ofs+this->size, ref_offset(this->node->raw), in __jffs2_dbg_dump_fragtree_nolock() [all …]
|
A D | xattr.c | 143 offset = ref_offset(xd->node); in do_verify_xattr_datum() 185 jeb = &c->blocks[ref_offset(raw) / c->sector_size]; in do_verify_xattr_datum() 225 ret, length, readlen, ref_offset(xd->node)); in do_load_xattr_datum() 235 ref_offset(xd->node), xd->data_crc, crc); in do_load_xattr_datum() 456 offset = ref_offset(ref->node); in verify_xattr_ref() 491 jeb = &c->blocks[ref_offset(raw) / c->sector_size]; in verify_xattr_ref() 502 ref->ino, ref->xid, ref_offset(ref->node)); in verify_xattr_ref() 1236 old_ofs = ref_offset(xd->node); in jffs2_garbage_collect_xattr_datum() 1269 old_ofs = ref_offset(ref->node); in jffs2_garbage_collect_xattr_ref() 1307 jeb = &c->blocks[ref_offset(raw) / c->sector_size]; in jffs2_verify_xattr() [all …]
|
A D | wbuf.c | 302 (next && ref_offset(next) <= c->wbuf_ofs)) { in jffs2_wbuf_recover() 304 ref_offset(raw), ref_flags(raw), in jffs2_wbuf_recover() 305 (ref_offset(raw) + ref_totlen(c, jeb, raw)), in jffs2_wbuf_recover() 310 ref_offset(raw), ref_flags(raw), in jffs2_wbuf_recover() 311 (ref_offset(raw) + ref_totlen(c, jeb, raw))); in jffs2_wbuf_recover() 324 start = ref_offset(first_raw); in jffs2_wbuf_recover() 325 end = ref_offset(jeb->last_node); in jffs2_wbuf_recover() 376 start = ref_offset(first_raw); in jffs2_wbuf_recover() 471 rawlen, ref_offset(raw), ref_flags(raw), ofs); in jffs2_wbuf_recover() 518 (void *)(buf?:c->wbuf) + (ref_offset(raw) - start)); in jffs2_wbuf_recover() [all …]
|
A D | nodelist.h | 137 #define ref_offset(ref) ((ref)->flash_offset & ~3) macro 139 #define mark_ref_normal(ref) do { (ref)->flash_offset = ref_offset(ref) | REF_NORMAL; } while(0)
|
A D | build.c | 251 dbg_fsbuild("obsoleting node at 0x%08x\n", ref_offset(raw)); in jffs2_build_remove_unlinked_inode()
|
A D | erase.c | 264 ref_offset(this), ref_flags(this)); in jffs2_remove_node_refs_from_ino_list()
|
A D | write.c | 615 fd->ino, ref_offset(fd->raw)); in jffs2_do_unlink()
|
/linux/tools/perf/arch/x86/util/ |
A D | intel-pt.c | 44 size_t ref_offset; member 983 ptr->snapshot_refs[idx].ref_offset = snapshot_buf_size - ref_buf_size; in intel_pt_alloc_snapshot_ref() 1057 static bool intel_pt_compare_ref(void *ref_buf, size_t ref_offset, in intel_pt_compare_ref() argument 1061 size_t ref_end = ref_offset + ref_size; in intel_pt_compare_ref() 1064 if (head > ref_offset || head < ref_end - buf_size) in intel_pt_compare_ref() 1066 } else if (head > ref_offset && head < ref_end) { in intel_pt_compare_ref() 1070 return intel_pt_compare_buffers(ref_buf, ref_size, data, ref_offset, in intel_pt_compare_ref() 1093 wrapped = intel_pt_compare_ref(ref->ref_buf, ref->ref_offset, in intel_pt_wrapped()
|
A D | intel-bts.c | 35 size_t ref_offset; member
|
/linux/fs/btrfs/ |
A D | extent-tree.c | 924 u64 ref_offset; in lookup_inline_extent_backref() local 925 ref_offset = btrfs_extent_inline_ref_offset(leaf, iref); in lookup_inline_extent_backref() 927 if (parent == ref_offset) { in lookup_inline_extent_backref() 931 if (ref_offset < parent) in lookup_inline_extent_backref() 934 if (root_objectid == ref_offset) { in lookup_inline_extent_backref() 938 if (ref_offset < root_objectid) in lookup_inline_extent_backref()
|
A D | file.c | 2683 u64 ref_offset; in btrfs_insert_replace_extent() local 2688 ref_offset = extent_info->file_offset - extent_info->data_offset; in btrfs_insert_replace_extent() 2690 btrfs_ino(inode), ref_offset, 0, false); in btrfs_insert_replace_extent()
|