Home
last modified time | relevance | path

Searched refs:ucmd (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_provider.c472 struct mthca_create_srq ucmd; in mthca_create_srq() local
484 if (ib_copy_from_udata(&ucmd, udata, sizeof ucmd)) { in mthca_create_srq()
490 context->db_tab, ucmd.db_index, in mthca_create_srq()
491 ucmd.db_page); in mthca_create_srq()
496 srq->mr.ibmr.lkey = ucmd.lkey; in mthca_create_srq()
497 srq->db_index = ucmd.db_index; in mthca_create_srq()
505 context->db_tab, ucmd.db_index); in mthca_create_srq()
545 struct mthca_create_qp ucmd; in mthca_create_qp() local
566 if (ib_copy_from_udata(&ucmd, udata, sizeof ucmd)) { in mthca_create_qp()
573 ucmd.sq_db_index, ucmd.sq_db_page); in mthca_create_qp()
[all …]
/linux-2.6.39/drivers/infiniband/hw/mlx4/
Dsrq.c107 struct mlx4_ib_create_srq ucmd; in mlx4_ib_create_srq() local
109 if (ib_copy_from_udata(&ucmd, udata, sizeof ucmd)) { in mlx4_ib_create_srq()
114 srq->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr, in mlx4_ib_create_srq()
131 ucmd.db_addr, &srq->db); in mlx4_ib_create_srq()
Dcq.c190 struct mlx4_ib_create_cq ucmd; in mlx4_ib_create_cq() local
192 if (ib_copy_from_udata(&ucmd, udata, sizeof ucmd)) { in mlx4_ib_create_cq()
198 ucmd.buf_addr, entries); in mlx4_ib_create_cq()
202 err = mlx4_ib_db_map_user(to_mucontext(context), ucmd.db_addr, in mlx4_ib_create_cq()
290 struct mlx4_ib_resize_cq ucmd; in mlx4_alloc_resize_umem() local
296 if (ib_copy_from_udata(&ucmd, udata, sizeof ucmd)) in mlx4_alloc_resize_umem()
304 &cq->resize_umem, ucmd.buf_addr, entries); in mlx4_alloc_resize_umem()
Dqp.c448 struct mlx4_ib_create_qp *ucmd) in set_user_sq_size() argument
451 if ((1 << ucmd->log_sq_bb_count) > dev->dev->caps.max_wqes || in set_user_sq_size()
452 ucmd->log_sq_stride > in set_user_sq_size()
454 ucmd->log_sq_stride < MLX4_IB_MIN_SQ_STRIDE) in set_user_sq_size()
457 qp->sq.wqe_cnt = 1 << ucmd->log_sq_bb_count; in set_user_sq_size()
458 qp->sq.wqe_shift = ucmd->log_sq_stride; in set_user_sq_size()
487 struct mlx4_ib_create_qp ucmd; in create_qp_common() local
489 if (ib_copy_from_udata(&ucmd, udata, sizeof ucmd)) { in create_qp_common()
494 qp->sq_no_prefetch = ucmd.sq_no_prefetch; in create_qp_common()
496 err = set_user_sq_size(dev, qp, &ucmd); in create_qp_common()
[all …]
/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_file_ops.c1961 const struct qib_cmd __user *ucmd; in qib_write() local
1974 ucmd = (const struct qib_cmd __user *) data; in qib_write()
1976 if (copy_from_user(&cmd.type, &ucmd->type, sizeof(cmd.type))) { in qib_write()
1988 src = &ucmd->cmd.user_info; in qib_write()
1994 src = &ucmd->cmd.recv_ctrl; in qib_write()
2000 src = &ucmd->cmd.ctxt_info; in qib_write()
2007 src = &ucmd->cmd.tid_info; in qib_write()
2013 src = &ucmd->cmd.part_key; in qib_write()
2026 src = &ucmd->cmd.poll_type; in qib_write()
2032 src = &ucmd->cmd.armlaunch_ctrl; in qib_write()
[all …]
/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_file_ops.c2230 const struct ipath_cmd __user *ucmd; in ipath_write() local
2243 ucmd = (const struct ipath_cmd __user *) data; in ipath_write()
2245 if (copy_from_user(&cmd.type, &ucmd->type, sizeof(cmd.type))) { in ipath_write()
2258 src = &ucmd->cmd.user_info; in ipath_write()
2263 src = &ucmd->cmd.recv_ctrl; in ipath_write()
2268 src = &ucmd->cmd.port_info; in ipath_write()
2274 src = &ucmd->cmd.tid_info; in ipath_write()
2279 src = &ucmd->cmd.part_key; in ipath_write()
2284 src = &ucmd->cmd.slave_mask_addr; in ipath_write()
2294 src = &ucmd->cmd.poll_type; in ipath_write()
[all …]
/linux-2.6.39/drivers/net/wireless/iwmc3200wifi/
Dhal.h214 struct iwm_udma_nonwifi_cmd *ucmd,
/linux-2.6.39/drivers/scsi/sym53c8xx_2/
Dsym_glue.c142 struct sym_ucmd *ucmd = SYM_UCMD_PTR(cmd); in sym_xpt_done() local
145 if (ucmd->eh_done) in sym_xpt_done()
146 complete(ucmd->eh_done); in sym_xpt_done()
593 struct sym_ucmd *ucmd = SYM_UCMD_PTR(cmd); in sym_eh_handler() local
673 ucmd->eh_done = &eh_done; in sym_eh_handler()
676 ucmd->eh_done = NULL; in sym_eh_handler()