Home
last modified time | relevance | path

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

/drivers/nfc/nfcmrvl/
Dfw_dnld.c251 uint16_t comp_len; in process_state_fw_dnld() local
274 comp_len = get_unaligned_le16(skb->data); in process_state_fw_dnld()
275 memcpy(&comp_len, skb->data, 2); in process_state_fw_dnld()
277 if (((~len) & 0xFFFF) != comp_len) { in process_state_fw_dnld()
279 len, comp_len, (~len & 0xFFFF)); in process_state_fw_dnld()
/drivers/block/zram/
Dzram_drv.c1348 unsigned int comp_len = 0; in __zram_bvec_write() local
1368 ret = zcomp_compress(zstrm, src, &comp_len); in __zram_bvec_write()
1378 if (comp_len >= huge_class_size) in __zram_bvec_write()
1379 comp_len = PAGE_SIZE; in __zram_bvec_write()
1394 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1403 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1409 if (comp_len != PAGE_SIZE) in __zram_bvec_write()
1433 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
1435 memcpy(dst, src, comp_len); in __zram_bvec_write()
1436 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
[all …]