Home
last modified time | relevance | path

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

/openbmc/linux/fs/jffs2/
H 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 …]
H 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()
/openbmc/qemu/crypto/
H A Dsecret_common.c190 secret->rawlen = inputlen; in qcrypto_secret_complete()
328 *data = g_new0(uint8_t, secret->rawlen + 1); in qcrypto_secret_lookup()
329 memcpy(*data, secret->rawdata, secret->rawlen); in qcrypto_secret_lookup()
330 (*data)[secret->rawlen] = '\0'; in qcrypto_secret_lookup()
331 *datalen = secret->rawlen; in qcrypto_secret_lookup()
/openbmc/qemu/include/crypto/
H A Dsecret_common.h35 size_t rawlen; member