Searched refs:cdatalen (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/fs/jffs2/ |
D | compr.c | 72 __u32 *datalen, __u32 *cdatalen) in jffs2_compress() argument 76 ret = zlib_compress(data_in, cpage_out, datalen, cdatalen); in jffs2_compress() 81 ret = dynrubin_compress(data_in, cpage_out, datalen, cdatalen); in jffs2_compress() 87 ret = rubinmips_compress(data_in, cpage_out, datalen, cdatalen); in jffs2_compress() 93 ret = rtime_compress(data_in, cpage_out, datalen, cdatalen); in jffs2_compress() 101 memcpy(cpage_out,data_in,min(*datalen,*cdatalen)); in jffs2_compress() 102 if (*datalen > *cdatalen) in jffs2_compress() 103 *datalen = *cdatalen; in jffs2_compress() 111 unsigned char *data_out, __u32 cdatalen, __u32 datalen) in jffs2_decompress() argument 124 zlib_decompress(cdata_in, data_out, cdatalen, datalen); in jffs2_decompress() [all …]
|
D | file.c | 446 __u32 datalen, cdatalen; in jffs2_commit_write() local 458 cdatalen = min(alloclen - sizeof(*ri), writelen); in jffs2_commit_write() 460 comprbuf = kmalloc(cdatalen, GFP_KERNEL); in jffs2_commit_write() 462 … jffs2_compress(page_address(pg)+ (file_ofs & (PAGE_CACHE_SIZE-1)), comprbuf, &datalen, &cdatalen); in jffs2_commit_write() 469 datalen = cdatalen; in jffs2_commit_write() 478 ri->totlen = sizeof(*ri) + cdatalen; in jffs2_commit_write() 489 ri->csize = cdatalen; in jffs2_commit_write() 493 ri->data_crc = crc32(0, comprbuf, cdatalen); in jffs2_commit_write() 495 fn = jffs2_write_dnode(inode, ri, comprbuf, cdatalen, phys_ofs, NULL); in jffs2_commit_write()
|
D | comprtest.c | 269 unsigned char *data_out, __u32 cdatalen, __u32 datalen); 271 __u32 *datalen, __u32 *cdatalen);
|
D | gc.c | 638 __u32 cdatalen; in jffs2_garbage_collect_dnode() local 648 cdatalen = min(alloclen - sizeof(ri), end - offset); in jffs2_garbage_collect_dnode() 654 comprtype = jffs2_compress(writebuf, comprbuf, &datalen, &cdatalen); in jffs2_garbage_collect_dnode() 659 datalen = cdatalen; in jffs2_garbage_collect_dnode() 663 ri.totlen = sizeof(ri) + cdatalen; in jffs2_garbage_collect_dnode() 676 ri.csize = cdatalen; in jffs2_garbage_collect_dnode() 680 ri.data_crc = crc32(0, writebuf, cdatalen); in jffs2_garbage_collect_dnode() 682 new_fn = jffs2_write_dnode(inode, &ri, writebuf, cdatalen, phys_ofs, NULL); in jffs2_garbage_collect_dnode()
|
D | nodelist.h | 333 __u32 *datalen, __u32 *cdatalen); 335 unsigned char *data_out, __u32 cdatalen, __u32 datalen);
|