Searched refs:psn (Results 1 - 19 of 19) sorted by relevance

/freebsd-10.0-release/lib/libc/locale/
H A Dnl_langinfo.c161 char psn = '\0'; local
165 psn = '.';
167 psn = pos ? '-' : '+';
168 if (psn != '\0') {
172 *loc->csym = psn;
/freebsd-10.0-release/contrib/ofed/libibverbs/examples/
H A Drc_pingpong.c76 int psn; member in struct:pingpong_dest
88 .rq_psn = dest->psn,
183 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, my_dest->psn, gid);
201 sscanf(msg, "%x:%x:%x:%s", &rem_dest->lid, &rem_dest->qpn, &rem_dest->psn, gid);
280 sscanf(msg, "%x:%x:%x:%s", &rem_dest->lid, &rem_dest->qpn, &rem_dest->psn, gid);
283 if (pp_connect_ctx(ctx, ib_port, my_dest->psn, mtu, sl, rem_dest, sgid_idx)) {
292 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, my_dest->psn, gid);
682 my_dest.psn = lrand48() & 0xffffff;
685 my_dest.lid, my_dest.qpn, my_dest.psn, gid);
698 rem_dest->lid, rem_dest->qpn, rem_dest->psn, gi
[all...]
H A Duc_pingpong.c75 int psn; member in struct:pingpong_dest
87 .rq_psn = dest->psn,
171 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, my_dest->psn, gid);
189 sscanf(msg, "%x:%x:%x:%s", &rem_dest->lid, &rem_dest->qpn, &rem_dest->psn, gid);
268 sscanf(msg, "%x:%x:%x:%s", &rem_dest->lid, &rem_dest->qpn, &rem_dest->psn, gid);
271 if (pp_connect_ctx(ctx, ib_port, my_dest->psn, mtu, sl, rem_dest, sgid_idx)) {
279 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, my_dest->psn, gid);
666 my_dest.psn = lrand48() & 0xffffff;
669 my_dest.lid, my_dest.qpn, my_dest.psn, gid);
681 rem_dest->lid, rem_dest->qpn, rem_dest->psn, gi
[all...]
H A Dud_pingpong.c76 int psn; member in struct:pingpong_dest
170 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, my_dest->psn, gid);
188 sscanf(msg, "%x:%x:%x:%s", &rem_dest->lid, &rem_dest->qpn, &rem_dest->psn, gid);
266 sscanf(msg, "%x:%x:%x:%s", &rem_dest->lid, &rem_dest->qpn, &rem_dest->psn, gid);
269 if (pp_connect_ctx(ctx, ib_port, my_dest->psn, sl, rem_dest, sgid_idx)) {
277 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, my_dest->psn, gid);
651 my_dest.psn = lrand48() & 0xffffff;
663 my_dest.lid, my_dest.qpn, my_dest.psn, gid);
675 rem_dest->lid, rem_dest->qpn, rem_dest->psn, gid);
678 if (pp_connect_ctx(ctx, ib_port, my_dest.psn, s
[all...]
H A Dsrq_pingpong.c79 int psn; member in struct:pingpong_dest
94 .rq_psn = dest[i].psn,
128 attr.sq_psn = my_dest[i].psn;
193 sprintf(msg, "%04x:%06x:%06x:%s", my_dest[i].lid, my_dest[i].qpn, my_dest[i].psn, gid);
218 &rem_dest[i].lid, &rem_dest[i].qpn, &rem_dest[i].psn, gid);
309 &rem_dest[i].lid, &rem_dest[i].qpn, &rem_dest[i].psn, gid);
322 sprintf(msg, "%04x:%06x:%06x:%s", my_dest[i].lid, my_dest[i].qpn, my_dest[i].psn, gid);
754 my_dest[i].psn = lrand48() & 0xffffff;
771 my_dest[i].lid, my_dest[i].qpn, my_dest[i].psn, gid);
787 rem_dest[i].lid, rem_dest[i].qpn, rem_dest[i].psn, gi
[all...]
/freebsd-10.0-release/contrib/ofed/libibcm/include/infiniband/
H A Dcm_abi.h148 __u32 psn; member in struct:cm_abi_req
172 __u32 psn; member in struct:cm_abi_rep
/freebsd-10.0-release/sys/ofed/include/rdma/
H A Dib_user_cm.h134 __u32 psn; member in struct:ib_ucm_req
158 __u32 psn; member in struct:ib_ucm_rep
H A Dib_pack.h207 __be32 psn; member in struct:ib_unpacked_bth
/freebsd-10.0-release/sbin/pfctl/
H A Dpfctl.c1012 struct pfioc_src_nodes psn; local
1018 memset(&psn, 0, sizeof(psn));
1020 psn.psn_len = len;
1025 psn.psn_buf = inbuf = newinbuf;
1027 if (ioctl(dev, DIOCGETSRCNODES, &psn) < 0) {
1032 if (psn.psn_len + sizeof(struct pfioc_src_nodes) < len)
1034 if (len == 0 && psn.psn_len == 0)
1036 if (len == 0 && psn.psn_len != 0)
1037 len = psn
[all...]
/freebsd-10.0-release/sys/geom/part/
H A Dg_part_mbr.c371 char psn[8]; local
386 error = g_getattr("PART::scheme", cp, &psn);
387 if (error == 0 && strcmp(psn, g_part_mbr_scheme.name) == 0)
/freebsd-10.0-release/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_cm.c231 unsigned psn)
253 qp_attr.rq_psn = psn;
371 unsigned psn)
385 rep.starting_psn = psn;
393 unsigned psn; local
413 psn = random() & 0xffffff;
414 ret = ipoib_cm_modify_rx_qp(priv, cm_id, p->qp, psn);
434 ret = ipoib_cm_send_rep(priv, cm_id, p->qp, &event->param.req_rcvd, psn);
229 ipoib_cm_modify_rx_qp(struct ipoib_dev_priv *priv, struct ib_cm_id *cm_id, struct ib_qp *qp, unsigned psn) argument
369 ipoib_cm_send_rep(struct ipoib_dev_priv *priv, struct ib_cm_id *cm_id, struct ib_qp *qp, struct ib_cm_req_event_param *req, unsigned psn) argument
/freebsd-10.0-release/sys/dev/mmc/
H A Dmmcreg.h380 uint32_t psn; member in struct:mmc_cid
H A Dmmc.c854 cid->psn = mmc_get_bits(raw_cid, 128, 24, 32);
872 cid->psn = mmc_get_bits(raw_cid, 128, 16, 32);
907 ivar->cid.psn, ivar->cid.mdt_month, ivar->cid.mdt_year,
/freebsd-10.0-release/sys/ofed/drivers/infiniband/core/
H A Dud_header.c194 { STRUCT_FIELD(bth, psn),
H A Ducm.c777 param.starting_psn = cmd.psn;
822 param.starting_psn = cmd.psn;
/freebsd-10.0-release/contrib/ofed/libibcm/src/
H A Dcm.c411 cmd->psn = param->starting_psn;
468 cmd->psn = param->starting_psn;
/freebsd-10.0-release/sys/netpfil/pf/
H A Dpf_ioctl.c3075 struct pfioc_src_nodes *psn = (struct pfioc_src_nodes *)addr; local
3080 if (psn->psn_len == 0) {
3088 psn->psn_len = sizeof(struct pf_src_node) * nr;
3092 p = pstore = malloc(psn->psn_len, M_TEMP, M_WAITOK);
3099 if ((nr + 1) * sizeof(*p) > (unsigned)psn->psn_len)
3124 error = copyout(pstore, psn->psn_src_nodes,
3130 psn->psn_len = sizeof(struct pf_src_node) * nr;
/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dqp.c2405 sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1));
2603 sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1));
/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c1542 sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1));

Completed in 219 milliseconds