Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/mtd/
Drfd_ftl.c81 u16 *header_cache; /* cached header */ member
99 if (le16_to_cpu(part->header_cache[0]) != RFD_MAGIC) { in build_block_map()
109 entry = le16_to_cpu(part->header_cache[HEADER_MAP_OFFSET + i]); in build_block_map()
183 part->header_cache = kmalloc(part->header_size, GFP_KERNEL); in scan_header()
184 if (!part->header_cache) in scan_header()
205 (u_char *)part->header_cache); in scan_header()
235 kfree(part->header_cache); in scan_header()
565 (u_char *)part->header_cache); in find_writable_block()
609 part->header_cache[offset + HEADER_MAP_OFFSET] = del; in mark_sector_deleted()
628 if (le16_to_cpu(part->header_cache[HEADER_MAP_OFFSET + i]) in find_free_sector()
[all …]
/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_user_sdma.c83 struct dma_pool *header_cache; member
126 pq->header_cache = dma_pool_create(pq->header_cache_name, in ipath_user_sdma_queue_create()
130 if (!pq->header_cache) in ipath_user_sdma_queue_create()
270 dma_pool_free(pq->header_cache, in ipath_user_sdma_free_pkt_frag()
437 pbc = dma_pool_alloc(pq->header_cache, GFP_KERNEL, in ipath_user_sdma_queue_pkts()
546 dma_pool_free(pq->header_cache, pbc, dma_addr); in ipath_user_sdma_queue_pkts()
604 dma_pool_destroy(pq->header_cache); in ipath_user_sdma_queue_destroy()
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_user_sdma.c82 struct dma_pool *header_cache; member
125 pq->header_cache = dma_pool_create(pq->header_cache_name, in qib_user_sdma_queue_create()
129 if (!pq->header_cache) in qib_user_sdma_queue_create()
274 dma_pool_free(pq->header_cache, in qib_user_sdma_free_pkt_frag()
440 pbc = dma_pool_alloc(pq->header_cache, GFP_KERNEL, in qib_user_sdma_queue_pkts()
548 dma_pool_free(pq->header_cache, pbc, dma_addr); in qib_user_sdma_queue_pkts()
607 dma_pool_destroy(pq->header_cache); in qib_user_sdma_queue_destroy()
/linux-3.4.99/drivers/scsi/
Dosst.c699 if (STp->header_cache != NULL && i < OS_FM_TAB_MAX && (i > STp->filemark_cnt || in osst_verify_frame()
700 STp->first_frame_position - 1 != ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[i]))) { in osst_verify_frame()
703 STp->header_cache->dat_fm_tab.fm_tab_ent[i] == 0?"Learned":"Corrected", in osst_verify_frame()
706 STp->header_cache->dat_fm_tab.fm_tab_ent[i] = htonl(STp->first_frame_position - 1); in osst_verify_frame()
1869 STp->header_cache != NULL && in osst_space_over_filemarks_backward()
1873 STp->header_cache->dat_fm_tab.fm_tab_ent[cnt-1] == STp->buffer->aux->last_mark_ppos) in osst_space_over_filemarks_backward()
1875 last_mark_ppos = ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[cnt - mt_count]); in osst_space_over_filemarks_backward()
1877 if (STp->header_cache == NULL || (cnt - mt_count) < 0 || (cnt - mt_count) >= OS_FM_TAB_MAX) in osst_space_over_filemarks_backward()
1879 STp->header_cache == NULL?"lack of header cache":"count out of range"); in osst_space_over_filemarks_backward()
1884 (STp->header_cache->dat_fm_tab.fm_tab_ent[cnt-1] == in osst_space_over_filemarks_backward()
[all …]
Dosst.h608 os_header_t * header_cache; /* cache is kept for filemark positions */ member