Home
last modified time | relevance | path

Searched refs:ref_offset (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/fs/jffs2/
H A Dreadinode.c43 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 …]
H A Dnodelist.c614 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 …]
H A Dread.c38 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()
H A Dgc.c295 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 …]
H A Dnodemgmt.c594 __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 …]
H A Ddebug.c89 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 …]
H A Dxattr.c143 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()
1243 old_ofs = ref_offset(xd->node); in jffs2_garbage_collect_xattr_datum()
1276 old_ofs = ref_offset(ref->node); in jffs2_garbage_collect_xattr_ref()
1314 jeb = &c->blocks[ref_offset(raw) / c->sector_size]; in jffs2_verify_xattr()
[all …]
H A Dwbuf.c302 (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 …]
H A Dnodelist.h137 #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)
H A Dbuild.c254 dbg_fsbuild("obsoleting node at 0x%08x\n", ref_offset(raw)); in jffs2_build_remove_unlinked_inode()
H A Derase.c262 ref_offset(this), ref_flags(this)); in jffs2_remove_node_refs_from_ino_list()
H A Dwrite.c615 fd->ino, ref_offset(fd->raw)); in jffs2_do_unlink()
/openbmc/linux/tools/perf/arch/x86/util/
H A Dintel-pt.c46 size_t ref_offset; member
981 ptr->snapshot_refs[idx].ref_offset = snapshot_buf_size - ref_buf_size; in intel_pt_alloc_snapshot_ref()
1055 static bool intel_pt_compare_ref(void *ref_buf, size_t ref_offset, in intel_pt_compare_ref() argument
1059 size_t ref_end = ref_offset + ref_size; in intel_pt_compare_ref()
1062 if (head > ref_offset || head < ref_end - buf_size) in intel_pt_compare_ref()
1064 } else if (head > ref_offset && head < ref_end) { in intel_pt_compare_ref()
1068 return intel_pt_compare_buffers(ref_buf, ref_size, data, ref_offset, in intel_pt_compare_ref()
1091 wrapped = intel_pt_compare_ref(ref->ref_buf, ref->ref_offset, in intel_pt_wrapped()
H A Dintel-bts.c35 size_t ref_offset; member
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0007-linux-syslinux-implement-ext_construct_sectmap_fs.patch31 + int ref_offset EXT2FS_ATTR((unused)),
/openbmc/linux/fs/btrfs/
H A Dextent-tree.c926 u64 ref_offset; in lookup_inline_extent_backref() local
927 ref_offset = btrfs_extent_inline_ref_offset(leaf, iref); in lookup_inline_extent_backref()
929 if (parent == ref_offset) { in lookup_inline_extent_backref()
933 if (ref_offset < parent) in lookup_inline_extent_backref()
936 if (root_objectid == ref_offset) { in lookup_inline_extent_backref()
940 if (ref_offset < root_objectid) in lookup_inline_extent_backref()
H A Dfile.c2329 u64 ref_offset; in btrfs_insert_replace_extent() local
2334 ref_offset = extent_info->file_offset - extent_info->data_offset; in btrfs_insert_replace_extent()
2336 btrfs_ino(inode), ref_offset, 0, false); in btrfs_insert_replace_extent()