Home
last modified time | relevance | path

Searched refs:rawlen (Results 1 – 2 of 2) sorted by relevance

/linux/fs/jffs2/
A Dgc.c599 uint32_t crc, rawlen; in jffs2_garbage_collect_pristine() local
619 if (alloclen < rawlen) { in jffs2_garbage_collect_pristine()
624 node = kmalloc(rawlen, GFP_KERNEL); in jffs2_garbage_collect_pristine()
629 if (!ret && retlen != rawlen) in jffs2_garbage_collect_pristine()
702 if (ret || (retlen != rawlen)) { in jffs2_garbage_collect_pristine()
704 rawlen, phys_ofs, ret, retlen); in jffs2_garbage_collect_pristine()
723 ret = jffs2_reserve_space_gc(c, rawlen, &dummy, rawlen); in jffs2_garbage_collect_pristine()
915 rd = kmalloc(rawlen, GFP_KERNEL); in jffs2_garbage_collect_deletion_dirent()
933 if (ref_totlen(c, NULL, raw) != rawlen) in jffs2_garbage_collect_deletion_dirent()
953 if (retlen != rawlen) { in jffs2_garbage_collect_deletion_dirent()
[all …]
A Dwbuf.c464 uint32_t rawlen = ref_totlen(c, jeb, raw); in jffs2_wbuf_recover() local
471 rawlen, ref_offset(raw), ref_flags(raw), ofs); in jffs2_wbuf_recover()
527 new_ref = jffs2_link_node_ref(c, new_jeb, ofs | ref_flags(raw), rawlen, ic); in jffs2_wbuf_recover()
537 jeb->dirty_size += rawlen; in jffs2_wbuf_recover()
538 jeb->used_size -= rawlen; in jffs2_wbuf_recover()
539 c->dirty_size += rawlen; in jffs2_wbuf_recover()
540 c->used_size -= rawlen; in jffs2_wbuf_recover()
544 ofs += rawlen; in jffs2_wbuf_recover()

Completed in 7 milliseconds