Searched refs:rawlen (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/fs/jffs2/ |
D | gc.c | 599 uint32_t crc, rawlen; in jffs2_garbage_collect_pristine() local 605 alloclen = rawlen = ref_totlen(c, c->gcblock, raw); in jffs2_garbage_collect_pristine() 613 ret = jffs2_reserve_space_gc(c, alloclen, &alloclen, rawlen); in jffs2_garbage_collect_pristine() 619 if (alloclen < rawlen) { in jffs2_garbage_collect_pristine() 624 node = kmalloc(rawlen, GFP_KERNEL); in jffs2_garbage_collect_pristine() 628 ret = jffs2_flash_read(c, ref_offset(raw), rawlen, &retlen, (char *)node); in jffs2_garbage_collect_pristine() 629 if (!ret && retlen != rawlen) in jffs2_garbage_collect_pristine() 700 ret = jffs2_flash_write(c, phys_ofs, rawlen, &retlen, (char *)node); 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() [all …]
|
D | wbuf.c | 464 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()
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 3833 - ret = jffs2_flash_write(c, phys_ofs, rawlen, &retlen, (char *)node); 3834 + ret = jffs2_flash_write(c, phys_ofs, rawlen, &retlen, (const u_char *)node); 3836 if (ret || (retlen != rawlen)) { 3892 uint32_t rawlen = ref_totlen(c, jeb, fd->raw); 7183 - uint32_t rawlen = ref_totlen(c, jeb, raw); 7190 - rawlen, ref_offset(raw), ref_flags(raw), ofs); 7246 - new_ref = jffs2_link_node_ref(c, new_jeb, ofs | ref_flags(raw), rawlen, ic); 7256 - jeb->dirty_size += rawlen; 7257 - jeb->used_size -= rawlen; 7258 - c->dirty_size += rawlen; [all …]
|