Home
last modified time | relevance | path

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

/drivers/nfc/nfcmrvl/
Dfw_dnld.c253 uint16_t comp_len; in process_state_fw_dnld() local
276 comp_len = get_unaligned_le16(skb->data); in process_state_fw_dnld()
277 memcpy(&comp_len, skb->data, 2); in process_state_fw_dnld()
279 if (((~len) & 0xFFFF) != comp_len) { in process_state_fw_dnld()
281 len, comp_len, (~len & 0xFFFF)); in process_state_fw_dnld()
/drivers/block/zram/
Dzram_drv.c1329 unsigned int comp_len = 0; in __zram_bvec_write() local
1349 ret = zcomp_compress(zstrm, src, &comp_len); in __zram_bvec_write()
1359 if (comp_len >= huge_class_size) in __zram_bvec_write()
1360 comp_len = PAGE_SIZE; in __zram_bvec_write()
1375 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1384 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1404 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
1406 memcpy(dst, src, comp_len); in __zram_bvec_write()
1407 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
1412 atomic64_add(comp_len, &zram->stats.compr_data_size); in __zram_bvec_write()
[all …]