Searched refs:max_sg (Results 1 – 11 of 11) sorted by relevance
/linux-3.4.99/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.h | 154 int max_sg; member
|
D | mthca_srq.c | 643 return dev->limits.max_sg; in mthca_max_srq_sge() 659 return min_t(int, dev->limits.max_sg, in mthca_max_srq_sge()
|
D | mthca_qp.c | 952 qp->sq.max_gs = min_t(int, dev->limits.max_sg, in mthca_adjust_qp_caps() 954 qp->rq.max_gs = min_t(int, dev->limits.max_sg, in mthca_adjust_qp_caps() 1235 cap->max_send_sge > dev->limits.max_sg || in mthca_set_qp_size() 1236 cap->max_recv_sge > dev->limits.max_sg || in mthca_set_qp_size() 1244 if (qp->transport == MLX && cap->max_send_sge + 2 > dev->limits.max_sg) in mthca_set_qp_size()
|
D | mthca_main.c | 208 mdev->limits.max_sg = min_t(int, dev_lim->max_sg, in mthca_dev_lim()
|
D | mthca_dev.h | 143 int max_sg; member
|
D | mthca_cmd.c | 1132 dev_lim->max_sg = field; in mthca_QUERY_DEV_LIM() 1177 dev_lim->max_sg = min_t(int, field, dev_lim->max_sg); in mthca_QUERY_DEV_LIM()
|
D | mthca_provider.c | 96 props->max_sge = mdev->limits.max_sg; in mthca_query_device()
|
/linux-3.4.99/drivers/scsi/ |
D | mvumi.c | 1759 unsigned int max_sg = (mhba->ib_max_size + 4 - in mvumi_io_attach() local 1765 host->sg_tablesize = mhba->max_sge > max_sg ? max_sg : mhba->max_sge; in mvumi_io_attach()
|
D | gdth.c | 274 static u32 max_rq=0, max_index=0, max_sg=0; variable 2289 u16 cpcount,i, max_sg = scsi_sg_count(scp); in gdth_copy_internal_data() local 2298 scsi_for_each_sg(scp, sl, max_sg, i) { in gdth_copy_internal_data() 2560 if (max_sg < (u32)sgcnt) { in gdth_fill_cache_cmd() 2561 max_sg = (u32)sgcnt; in gdth_fill_cache_cmd() 2562 TRACE3(("GDT: max_sg = %d\n",max_sg)); in gdth_fill_cache_cmd() 2735 if (max_sg < sgcnt) { in gdth_fill_raw_cmd() 2736 max_sg = sgcnt; in gdth_fill_raw_cmd()
|
D | st.c | 3699 static struct st_buffer *new_tape_buffer(int need_dma, int max_sg) in new_tape_buffer() argument 3709 tb->use_sg = max_sg; in new_tape_buffer() 3713 tb->reserved_pages = kzalloc(max_sg * sizeof(struct page *), in new_tape_buffer()
|
D | osst.c | 5297 static struct osst_buffer * new_tape_buffer( int from_initialization, int need_dma, int max_sg ) in new_tape_buffer() argument 5316 tb->use_sg = max_sg; in new_tape_buffer() 5324 i, max_sg, need_dma); in new_tape_buffer()
|