/freebsd-12-stable/lib/libc/net/ |
H A D | getprotoent.c | 547 struct protodata *pd; local 550 if ((pd = __protodata_init()) == NULL) 552 if (getprotoent_r(&pd->proto, pd->data, sizeof(pd->data), &rval) != 0)
|
/freebsd-12-stable/sys/dev/cxgbe/iw_cxgbe/ |
H A D | mem.c | 408 struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc) argument 416 CTR2(KTR_IW_CXGBE, "%s ib_pd %p", __func__, pd); 417 php = to_c4iw_pd(pd); 452 struct ib_mr *c4iw_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, argument 464 CTR2(KTR_IW_CXGBE, "%s ib_pd %p", __func__, pd); 472 php = to_c4iw_pd(pd); 484 mhp->umem = ib_umem_get(pd->uobject->context, start, length, acc, 0); 555 struct ib_mw *c4iw_alloc_mw(struct ib_pd *pd, enum ib_mw_type type, argument 568 php = to_c4iw_pd(pd); 611 struct ib_mr *c4iw_alloc_mr(struct ib_pd *pd, argument [all...] |
/freebsd-12-stable/sys/dev/mthca/ |
H A D | mthca_mr.c | 54 __be32 pd; member in struct:mthca_mpt_entry 429 int mthca_mr_alloc(struct mthca_dev *dev, u32 pd, int buffer_size_shift, argument 468 mpt_entry->pd = cpu_to_be32(pd); 512 int mthca_mr_alloc_notrans(struct mthca_dev *dev, u32 pd, argument 516 return mthca_mr_alloc(dev, pd, 12, 0, ~0ULL, access, mr); 519 int mthca_mr_alloc_phys(struct mthca_dev *dev, u32 pd, argument 536 err = mthca_mr_alloc(dev, pd, buffer_size_shift, iova, 567 int mthca_fmr_alloc(struct mthca_dev *dev, u32 pd, argument 638 mpt_entry->pd [all...] |
H A D | mthca_qp.c | 133 __be32 pd; member in struct:mthca_qp_context 693 qp_context->pd = cpu_to_be32(to_mpd(ibqp->pd)->pd_num); 939 static inline int mthca_max_inline_data(struct mthca_pd *pd, int max_data_size) argument 942 return pd->ibpd.uobject ? max_data_size - MTHCA_INLINE_HEADER_SIZE : 0; 946 struct mthca_pd *pd, 953 qp->max_inline_data = mthca_max_inline_data(pd, max_data_size); 971 struct mthca_pd *pd, 1039 if (pd->ibpd.uobject) 1051 &qp->queue, &qp->is_direct, pd, 945 mthca_adjust_qp_caps(struct mthca_dev *dev, struct mthca_pd *pd, struct mthca_qp *qp) argument 970 mthca_alloc_wqe_buf(struct mthca_dev *dev, struct mthca_pd *pd, struct mthca_qp *qp) argument 1141 mthca_alloc_qp_common(struct mthca_dev *dev, struct mthca_pd *pd, struct mthca_cq *send_cq, struct mthca_cq *recv_cq, enum ib_sig_type send_policy, struct mthca_qp *qp) argument 1230 mthca_set_qp_size(struct mthca_dev *dev, struct ib_qp_cap *cap, struct mthca_pd *pd, struct mthca_qp *qp) argument 1269 mthca_alloc_qp(struct mthca_dev *dev, struct mthca_pd *pd, struct mthca_cq *send_cq, struct mthca_cq *recv_cq, enum ib_qp_type type, enum ib_sig_type send_policy, struct ib_qp_cap *cap, struct mthca_qp *qp) argument 1343 mthca_alloc_sqp(struct mthca_dev *dev, struct mthca_pd *pd, struct mthca_cq *send_cq, struct mthca_cq *recv_cq, enum ib_sig_type send_policy, struct ib_qp_cap *cap, int qpn, int port, struct mthca_sqp *sqp) argument [all...] |
/freebsd-12-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib.h | 106 struct ib_pd *pd; member in struct:mlx4_ib_xrcd 444 struct ib_pd *pd; member in struct:mlx4_ib_demux_pv_ctx 723 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc); 726 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, 730 struct ib_mw *mlx4_ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type, 733 struct ib_mr *mlx4_ib_alloc_mr(struct ib_pd *pd, 750 struct ib_ah *mlx4_ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr, 755 struct ib_srq *mlx4_ib_create_srq(struct ib_pd *pd, 766 struct ib_qp *mlx4_ib_create_qp(struct ib_pd *pd, 790 struct ib_fmr *mlx4_ib_fmr_alloc(struct ib_pd *pd, in [all...] |
H A D | mlx4_ib_qp.c | 259 av->port_pd = cpu_to_be32((qp->port << 24) | to_mpd(qp->ibqp.pd)->pdn); 641 static int create_qp_common(struct mlx4_ib_dev *dev, struct ib_pd *pd, argument 728 err = set_rq_size(dev, &init_attr->cap, !!pd->uobject, qp_has_rq(init_attr), qp); 732 if (pd->uobject) { 746 qp->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr, 763 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context), 840 if (alloc_proxy_bufs(pd->device, qp)) { 914 free_proxy_bufs(pd->device, qp); 916 if (pd->uobject) { 918 mlx4_ib_db_unmap_user(to_mucontext(pd 1126 _mlx4_ib_create_qp(struct ib_pd *pd, struct ib_qp_init_attr *init_attr, struct ib_udata *udata) argument 1242 mlx4_ib_create_qp(struct ib_pd *pd, struct ib_qp_init_attr *init_attr, struct ib_udata *udata) argument 1280 struct mlx4_ib_pd *pd; local 1625 struct mlx4_ib_pd *pd; local [all...] |
/freebsd-12-stable/contrib/ofed/libibverbs/examples/ |
H A D | uc_pingpong.c | 60 struct ibv_pd *pd; member in struct:pingpong_context 337 ctx->pd = ibv_alloc_pd(ctx->context); 338 if (!ctx->pd) { 343 ctx->mr = ibv_reg_mr(ctx->pd, ctx->buf, size, IBV_ACCESS_LOCAL_WRITE); 370 ctx->qp = ibv_create_qp(ctx->pd, &init_attr); 411 ibv_dealloc_pd(ctx->pd); 446 if (ibv_dealloc_pd(ctx->pd)) {
|
H A D | xsrq_pingpong.c | 78 struct ibv_pd *pd; member in struct:pingpong_context 175 init.pd = ctx.pd; 244 ctx.pd = ibv_alloc_pd(ctx.context); 245 if (!ctx.pd) { 250 ctx.mr = ibv_reg_mr(ctx.pd, ctx.buf, ctx.size, IBV_ACCESS_LOCAL_WRITE); 302 attr.pd = ctx.pd; 706 if (ibv_dealloc_pd(ctx.pd)) {
|
H A D | srq_pingpong.c | 62 struct ibv_pd *pd; member in struct:pingpong_context 388 ctx->pd = ibv_alloc_pd(ctx->context); 389 if (!ctx->pd) { 394 ctx->mr = ibv_reg_mr(ctx->pd, ctx->buf, size, IBV_ACCESS_LOCAL_WRITE); 415 ctx->srq = ibv_create_srq(ctx->pd, &attr); 435 ctx->qp[i] = ibv_create_qp(ctx->pd, &init_attr); 482 ibv_dealloc_pd(ctx->pd); 526 if (ibv_dealloc_pd(ctx->pd)) {
|
/freebsd-12-stable/contrib/ofed/librdmacm/examples/ |
H A D | cmatose.c | 51 struct ibv_pd *pd; member in struct:cmatest_node 97 node->mr = ibv_reg_mr(node->pd, node->mem, message_size, 114 node->pd = ibv_alloc_pd(node->cma_id->verbs); 115 if (!node->pd) { 140 ret = rdma_create_qp(node->cma_id, node->pd, &init_qp_attr); 364 if (node->pd) 365 ibv_dealloc_pd(node->pd);
|
/freebsd-12-stable/sys/contrib/rdma/krping/ |
H A D | krping.c | 176 struct ib_pd *pd; member in struct:krping_cb 482 cb->recv_sgl.lkey = cb->pd->local_dma_lkey; 488 cb->send_sgl.lkey = cb->pd->local_dma_lkey; 520 cb->recv_dma_addr = ib_dma_map_single(cb->pd->device, 524 cb->send_dma_addr = ib_dma_map_single(cb->pd->device, 529 cb->rdma_buf = ib_dma_alloc_coherent(cb->pd->device, cb->size, 540 cb->reg_mr = ib_alloc_mr(cb->pd, IB_MR_TYPE_MEM_REG, 552 cb->start_buf = ib_dma_alloc_coherent(cb->pd->device, cb->size, 574 ib_dma_free_coherent(cb->pd->device, cb->size, cb->rdma_buf, 578 ib_dma_free_coherent(cb->pd [all...] |
/freebsd-12-stable/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 1429 struct ib_pd *pd; member in struct:ib_ah 1455 struct ib_pd *pd; member in struct:ib_srq 1486 struct ib_pd *pd; member in struct:ib_wq 1534 struct ib_pd *pd; member in struct:ib_qp 1558 struct ib_pd *pd; member in struct:ib_mr 1573 struct ib_pd *pd; member in struct:ib_mw 1581 struct ib_pd *pd; member in struct:ib_fmr 1945 int (*dealloc_pd)(struct ib_pd *pd); 1946 struct ib_ah * (*create_ah)(struct ib_pd *pd, 1954 struct ib_srq * (*create_srq)(struct ib_pd *pd, [all...] |
/freebsd-12-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_mr.c | 376 mmr->pd = be32_to_cpu((*mpt_entry)->pd_flags) & MLX4_MPT_PD_MASK; 422 static int mlx4_mr_alloc_reserved(struct mlx4_dev *dev, u32 mridx, u32 pd, argument 428 mr->pd = pd; 532 int mlx4_mr_alloc(struct mlx4_dev *dev, u32 pd, u64 iova, u64 size, u32 access, argument 542 err = mlx4_mr_alloc_reserved(dev, index, pd, iova, size, 653 mpt_entry->pd_flags = cpu_to_be32(mr->pd | MLX4_MPT_PD_FLAG_EN_INV); 820 int mlx4_mw_alloc(struct mlx4_dev *dev, u32 pd, enum mlx4_mw_type type, argument 836 mw->pd = pd; 1049 mlx4_fmr_alloc(struct mlx4_dev *dev, u32 pd, u32 access, int max_pages, int max_maps, u8 page_shift, struct mlx4_fmr *fmr) argument [all...] |
/freebsd-12-stable/sys/netpfil/pf/ |
H A D | pf_osfp.c | 72 pf_osfp_fingerprint(struct pf_pdesc *pd, struct mbuf *m, int off, argument 79 if ((pd->af != PF_INET && pd->af != PF_INET6) || 80 pd->proto != IPPROTO_TCP || (tcp->th_off << 2) < sizeof(*tcp)) 83 if (pd->af == PF_INET) { 91 pd->af)) return (NULL);
|
/freebsd-12-stable/lib/libpam/modules/pam_exec/ |
H A D | pam_exec.c | 171 int chin[2], chout[2], cherr[2], pd; local 178 pd = -1; 297 if ((pid = pdfork(&pd, 0)) == 0) { 330 pfd[0].fd = pd; 427 if (pd >= 0) 428 close(pd);
|
/freebsd-12-stable/contrib/libucl/uthash/ |
H A D | utstring.h | 47 void **pd; member in struct:__anon2395 58 if ((s)->pd) *((s)->pd) = (s)->d;} \
|
/freebsd-12-stable/contrib/ofed/libmlx4/ |
H A D | srq.c | 125 int mlx4_alloc_srq_buf(struct ibv_pd *pd, struct ibv_srq_attr *attr, argument 147 to_mdev(pd->context->device)->page_size)) { 259 if (mlx4_alloc_srq_buf(attr_ex->pd, &attr_ex->attr, srq))
|
/freebsd-12-stable/contrib/ntp/include/ |
H A D | libssl_compat.h | 60 const BIGNUM **pe, const BIGNUM **pd);
|
/freebsd-12-stable/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_resources.c | 50 context->pd = cpu_to_be32(mdev->priv_pdn);
|
/freebsd-12-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_roce_api.h | 361 u16 pd; member in struct:ecore_rdma_create_qp_in_params 505 u16 pd; member in struct:ecore_rdma_register_tid_in_params 604 u16 *pd); 645 u16 pd);
|
/freebsd-12-stable/usr.sbin/mlxcontrol/ |
H A D | command.c | 294 struct mlx_phys_drv pd; local 371 if ((mlx_get_device_state(unit, channel, target, &pd) == 0) && 372 (pd.pd_flags1 & MLX_PHYS_DRV_PRESENT)) { 373 mlx_print_phys_drv(&pd, channel, target, " ", verbosity - 1);
|
/freebsd-12-stable/sys/kern/ |
H A D | uipc_mqueue.c | 824 mqfs_search(struct mqfs_node *pd, const char *name, int len, struct ucred *cred) argument 829 sx_assert(&pd->mn_info->mi_lock, SX_LOCKED); 831 LIST_FOREACH(pn, &pd->mn_children, mn_sibling) { 849 struct mqfs_node *pd; local 864 pd = VTON(dvp); 866 mqfs = pd->mn_info; 884 pn = pd; 897 KASSERT(pd->mn_parent, ("non-root directory has no parent")); 898 pn = pd->mn_parent; 906 pn = mqfs_search(pd, pnam 988 struct mqfs_node *pd; local 1385 struct mqfs_node *pd; local 1489 struct mqfs_node *pd = VTON(ap->a_dvp); local [all...] |
/freebsd-12-stable/contrib/unbound/services/ |
H A D | localzone.h | 515 * @param pd: data portion of the destination resource record 522 int rrset_insert_rr(struct regional* region, struct packed_rrset_data* pd, 527 * @param pd: the RRset containing the RR to remove 532 local_rrset_remove_rr(struct packed_rrset_data* pd, size_t index);
|
/freebsd-12-stable/sys/arm/include/ |
H A D | pmap-v4.h | 285 #define L1_S_WRITABLE(pd) ((pd) & L1_S_PROT_W)
|
/freebsd-12-stable/usr.sbin/mfiutil/ |
H A D | mfi_foreign.c | 194 device_id = ar->pd[k].ref.v.device_id; 199 mfi_pdstate(ar->pd[k].fw_state));
|