Home
last modified time | relevance | path

Searched refs:page_idx (Results 1 – 4 of 4) sorted by relevance

/drivers/dma/
Diovlock.c157 int page_idx; in dma_memcpy_to_iovec() local
173 page_idx = (((unsigned long)iov[iovec_idx].iov_base & PAGE_MASK) in dma_memcpy_to_iovec()
182 page_list->pages[page_idx], in dma_memcpy_to_iovec()
196 page_idx++; in dma_memcpy_to_iovec()
214 int page_idx; in dma_memcpy_pg_to_iovec() local
237 page_idx = (((unsigned long)iov[iovec_idx].iov_base & PAGE_MASK) in dma_memcpy_pg_to_iovec()
246 page_list->pages[page_idx], in dma_memcpy_pg_to_iovec()
261 page_idx++; in dma_memcpy_pg_to_iovec()
/drivers/net/mlx4/
Dicm.h65 int page_idx; member
99 iter->page_idx = 0; in mlx4_icm_first()
109 if (++iter->page_idx >= iter->chunk->nsg) { in mlx4_icm_next()
117 iter->page_idx = 0; in mlx4_icm_next()
123 return sg_dma_address(&iter->chunk->mem[iter->page_idx]); in mlx4_icm_addr()
128 return sg_dma_len(&iter->chunk->mem[iter->page_idx]); in mlx4_icm_size()
/drivers/infiniband/hw/mthca/
Dmthca_memfree.h77 int page_idx; member
106 iter->page_idx = 0; in mthca_icm_first()
116 if (++iter->page_idx >= iter->chunk->nsg) { in mthca_icm_next()
124 iter->page_idx = 0; in mthca_icm_next()
130 return sg_dma_address(&iter->chunk->mem[iter->page_idx]); in mthca_icm_addr()
135 return sg_dma_len(&iter->chunk->mem[iter->page_idx]); in mthca_icm_size()
/drivers/scsi/cxgb3i/
Dcxgb3i_ddp.c67 static unsigned char page_idx = DDP_PGIDX_MAX; variable
378 if (page_idx >= DDP_PGIDX_MAX || !ddp || !gl || !gl->nelem || in cxgb3i_ddp_tag_reserve()
381 page_idx, gl->length, DDP_THRESHOLD); in cxgb3i_ddp_tag_reserve()
511 return setup_conn_pgidx(tdev, tid, page_idx, reply); in cxgb3i_setup_conn_host_pagesize()
750 page_idx = cxgb3i_ddp_find_page_index(PAGE_SIZE); in cxgb3i_ddp_init_module()
752 PAGE_SIZE, page_idx); in cxgb3i_ddp_init_module()