Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/mtd/
Drfd_ftl.c82 u16 *header_cache; /* cached header */ member
100 if (le16_to_cpu(part->header_cache[0]) != RFD_MAGIC) { in build_block_map()
110 entry = le16_to_cpu(part->header_cache[HEADER_MAP_OFFSET + i]); in build_block_map()
184 part->header_cache = kmalloc(part->header_size, GFP_KERNEL); in scan_header()
185 if (!part->header_cache) in scan_header()
204 (u_char *)part->header_cache); in scan_header()
234 kfree(part->header_cache); in scan_header()
527 (u_char *)part->header_cache); in find_writable_block()
570 part->header_cache[offset + HEADER_MAP_OFFSET] = del; in mark_sector_deleted()
589 if (le16_to_cpu(part->header_cache[HEADER_MAP_OFFSET + i]) in find_free_sector()
[all …]
/linux-5.19.10/drivers/infiniband/hw/qib/
Dqib_user_sdma.c115 struct dma_pool *header_cache; member
214 pq->header_cache = dma_pool_create(pq->header_cache_name, in qib_user_sdma_queue_create()
218 if (!pq->header_cache) in qib_user_sdma_queue_create()
243 dma_pool_destroy(pq->header_cache); in qib_user_sdma_queue_create()
279 hdr = dma_pool_alloc(pq->header_cache, GFP_KERNEL, in qib_user_sdma_alloc_header()
648 dma_pool_free(pq->header_cache, in qib_user_sdma_free_pkt_frag()
1044 dma_pool_free(pq->header_cache, pbc, dma_addr); in qib_user_sdma_queue_pkts()
1119 dma_pool_destroy(pq->header_cache); in qib_user_sdma_queue_destroy()