Home
last modified time | relevance | path

Searched refs:ib (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd/contrib/ntp/kernel/sys/
H A Dbsd_audioirig.h43 #define AUIB_INIT(ib) ((ib)->ib_head = (ib)->ib_tail = (ib)->ib_lock = \ argument
44 (ib)->phase = (ib)->shi = (ib)->slo = (ib)->high = \
45 (ib)->level0 = (ib)->level1 = \
46 (ib)->shift[0] = (ib)->shift[1] = (ib)->shift[2] = \
47 (ib)->shift[3] = (ib)->sdata[0] = (ib)->sdata[1] = \
48 (ib)->sdata[2] = (ib)->sdata[3] = (ib)->err = 0)
49 #define AUIB_EMPTY(ib) ((ib)->ib_head == (ib)->ib_tail) argument
50 #define AUIB_LEN(ib) (AUIB_MOD((ib)->ib_tail - (ib)->ib_head)) argument
51 #define AUIB_LEFT(ib) (AUIB_MOD((ib)->ib_head - (ib)->ib_tail - 1)) argument
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_ah.c51 ah->av.ib.port_pd = cpu_to_be32(to_mpd(pd)->pdn | (ah_attr->port_num << 24)); in create_ib_ah()
52 ah->av.ib.g_slid = ah_attr->src_path_bits; in create_ib_ah()
53 ah->av.ib.sl_tclass_flowlabel = cpu_to_be32(ah_attr->sl << 28); in create_ib_ah()
55 ah->av.ib.g_slid |= 0x80; in create_ib_ah()
56 ah->av.ib.gid_index = ah_attr->grh.sgid_index; in create_ib_ah()
57 ah->av.ib.hop_limit = ah_attr->grh.hop_limit; in create_ib_ah()
58 ah->av.ib.sl_tclass_flowlabel |= in create_ib_ah()
61 memcpy(ah->av.ib.dgid, ah_attr->grh.dgid.raw, 16); in create_ib_ah()
64 ah->av.ib.dlid = cpu_to_be16(ah_attr->dlid); in create_ib_ah()
66 ah->av.ib.stat_rate = ah_attr->static_rate + MLX4_STAT_RATE_OFFSET; in create_ib_ah()
[all …]
H A Dmlx4_ib_qp.c2330 be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) >> 28; in build_sriov_qp0_header()
2332 cpu_to_be16(ah->av.ib.g_slid & 0x7f); in build_sriov_qp0_header()
2334 cpu_to_be16(ah->av.ib.g_slid & 0x7f); in build_sriov_qp0_header()
2463 be32_to_cpu(ah->av.ib.port_pd) >> 24, in build_mlx_header()
2464 ah->av.ib.gid_index, &sgid.raw[0]); in build_mlx_header()
2469 be32_to_cpu(ah->av.ib.port_pd) >> 24, in build_mlx_header()
2470 ah->av.ib.gid_index, &sgid, in build_mlx_header()
2503 be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) >> 28; in build_mlx_header()
2504 sqp->ud_header.lrh.destination_lid = ah->av.ib.dlid; in build_mlx_header()
2505 sqp->ud_header.lrh.source_lid = cpu_to_be16(ah->av.ib.g_slid & 0x7f); in build_mlx_header()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/locale/
H A Dt_io.c117 struct ibuf *ib = vp; in readfn() local
118 size_t todo = MIN((size_t)len, ib->buflen - ib->off); in readfn()
120 memcpy(buf, ib->buf + ib->off, todo); in readfn()
121 ib->off += todo; in readfn()
134 struct ibuf ib = { in ATF_TC_BODY() local
138 FILE *fp = funopen(&ib, readfn, NULL, NULL, NULL); in ATF_TC_BODY()
156 struct ibuf ib = { in ATF_TC_BODY() local
160 FILE *fp = funopen(&ib, readfn, NULL, NULL, NULL); in ATF_TC_BODY()
/freebsd/sys/contrib/openzfs/module/unicode/
H A Du8_textprep.c338 uchar_t *ib; in u8_validate() local
355 ib = (uchar_t *)u8str; in u8_validate()
356 ibtail = ib + n; in u8_validate()
364 while (ib < ibtail) { in u8_validate()
371 sz = u8_number_of_bytes[*ib]; in u8_validate()
388 if ((ibtail - ib) < sz) { in u8_validate()
394 ib++; in u8_validate()
402 f = *ib++; in u8_validate()
407 if (*ib < u8_valid_min_2nd_byte[f] || in u8_validate()
408 *ib > u8_valid_max_2nd_byte[f]) { in u8_validate()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-forces.c675 char *ib = indent_pr(indent, 0); in prestlv_print() local
676 ND_PRINT("%s Result: %s (code 0x%x)\n", ib, in prestlv_print()
709 char *ib = indent_pr(indent + 2, 1); in fdatatlv_print() local
710 ND_PRINT("%s[", ib + 1); in fdatatlv_print()
711 hex_print(ndo, ib, tdp, rlen); in fdatatlv_print()
712 ND_PRINT("\n%s]", ib + 1); in fdatatlv_print()
740 char *ib = indent_pr(indent, 1); in sdatailv_print() local
750 ND_PRINT("\n%s ILV: type %x length %u\n", ib + 1, in sdatailv_print()
800 char *ib = indent_pr(indent, 0); in pkeyitlv_print() local
805 ND_PRINT("%sKeyinfo: Key 0x%x\n", ib, id); in pkeyitlv_print()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSpillPlacement.cpp266 unsigned ib = bundles->getBundle(LB.Number, false); in addConstraints() local
267 activate(ib); in addConstraints()
268 nodes[ib].addBias(Freq, LB.Entry); in addConstraints()
286 unsigned ib = bundles->getBundle(B, false); in addPrefSpill() local
288 activate(ib); in addPrefSpill()
290 nodes[ib].addBias(Freq, PrefSpill); in addPrefSpill()
297 unsigned ib = bundles->getBundle(Number, false); in addLinks() local
301 if (ib == ob) in addLinks()
303 activate(ib); in addLinks()
306 nodes[ib].addLink(ob, Freq); in addLinks()
[all …]
/freebsd/contrib/llvm-project/lld/MachO/
H A DICF.cpp45 const ConcatInputSection *ib);
47 const ConcatInputSection *ib);
96 const ConcatInputSection *ib) { in equalsConstant() argument
100 if (ia->parent != ib->parent) in equalsConstant()
102 if (ia->data.size() != ib->data.size()) in equalsConstant()
104 if (ia->data != ib->data) in equalsConstant()
106 if (ia->relocs.size() != ib->relocs.size()) in equalsConstant()
170 return std::equal(ia->relocs.begin(), ia->relocs.end(), ib->relocs.begin(), in equalsConstant()
177 const ConcatInputSection *ib) { in equalsVariable() argument
180 assert(ia->relocs.size() == ib->relocs.size()); in equalsVariable()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/db/
H A Dh_db.c631 static BTREEINFO ib; in setinfo() local
645 ib.flags = atoi(eq); in setinfo()
646 return &ib; in setinfo()
649 ib.cachesize = atoi(eq); in setinfo()
650 return &ib; in setinfo()
653 ib.maxkeypage = atoi(eq); in setinfo()
654 return &ib; in setinfo()
657 ib.minkeypage = atoi(eq); in setinfo()
658 return &ib; in setinfo()
661 ib.lorder = atoi(eq); in setinfo()
[all …]
/freebsd/lib/libc/db/test/
H A Ddbtest.c574 static BTREEINFO ib; local
588 ib.flags = atoi(eq);
589 return (&ib);
592 ib.cachesize = atoi(eq);
593 return (&ib);
596 ib.maxkeypage = atoi(eq);
597 return (&ib);
600 ib.minkeypage = atoi(eq);
601 return (&ib);
604 ib.lorder = atoi(eq);
[all …]
/freebsd/sys/contrib/device-tree/src/arm/marvell/
H A Dkirkwood-ib62x0.dts9 …compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsoni…
/freebsd/contrib/mandoc/
H A Dpreconv.c32 preconv_encode(const struct buf *ib, size_t *ii, struct buf *ob, size_t *oi, in preconv_encode() argument
39 cu = (const unsigned char *)ib->buf + *ii; in preconv_encode()
96 *ii = (const char *)cu - ib->buf; in preconv_encode()
105 "\\[u%.4X]", (unsigned char)ib->buf[(*ii)++]); in preconv_encode()
H A Dmansearch.c255 uint64_t ib; in manmerge_term() local
264 for (im = 0, ib = 1; im < KEY_MAX; im++, ib <<= 1) { in manmerge_term()
265 if ((e->bits & ib) == 0) in manmerge_term()
268 switch (ib) { in manmerge_term()
/freebsd/sys/contrib/device-tree/Bindings/arm/marvell/
H A Dmarvell,kirkwood.txt72 "raidsonic,ib-nas6210"
73 "raidsonic,ib-nas6210-b"
74 "raidsonic,ib-nas6220"
75 "raidsonic,ib-nas6220-b"
76 "raidsonic,ib-nas62x0"
/freebsd/tools/bus_space/examples/
H A Dam79c900_diag.py237 ib = initblock.from_address(addr_initblock) variable
238 ib.mode = ((ffs(ntxbufs) - 1) << 28) | ((ffs(nrxbufs) - 1) << 20)
240 ib.hwaddr[i] = mac[i]
242 ib.filter[i] = 0xffff
243 ib.rxdesc = busaddr + (addr_rxdesc - cpuaddr)
244 ib.txdesc = busaddr + (addr_txdesc - cpuaddr)
245 ib._pad1_ = 0
246 ib._pad2_ = 0
/freebsd/lib/libc/include/
H A Dnscache.h163 #define NS_APPLY_OFFSET(cp, cb, ib, p_type) \ argument
165 (cp) = (p_type)((char *)(cb) + (size_t)(cp) - (size_t)(ib))
170 #define NS_GET_NEWP(cp, cb, ib) \ argument
171 ((char *)(cb) + (size_t)(cp) - (size_t)(ib))
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_cma.c329 struct ib_cm_id *ib; member
350 struct ib_sa_multicast *ib; member
514 kfree(mc->multicast.ib); in release_mc()
1009 if (!id_priv->cm_id.ib || (id_priv->id.qp_type == IB_QPT_UD)) in rdma_init_qp_attr()
1012 ret = ib_cm_init_qp_attr(id_priv->cm_id.ib, qp_attr, in rdma_init_qp_attr()
1129 struct sockaddr_ib *listen_ib, *ib; in cma_save_ib_info() local
1133 ib = (struct sockaddr_ib *)src_addr; in cma_save_ib_info()
1134 ib->sib_family = AF_IB; in cma_save_ib_info()
1136 ib->sib_pkey = path->pkey; in cma_save_ib_info()
1137 ib->sib_flowinfo = path->flow_label; in cma_save_ib_info()
[all …]
/freebsd/lib/msun/src/
H A De_jnf.c172 int32_t i,hx,ix,ib; in ynf() local
193 GET_FLOAT_WORD(ib,b); in ynf()
194 for(i=1;i<n&&ib!=0xff800000;i++){ in ynf()
197 GET_FLOAT_WORD(ib,b); in ynf()
/freebsd/lib/libmd/
H A Dsha_locl.h205 #define Xupdate(a,i,ia,ib,ic,id) X[(i)&0x0f]=(a)=\ argument
206 (ia[(i)&0x0f]^ib[((i)+2)&0x0f]^ic[((i)+8)&0x0f]^id[((i)+13)&0x0f]);
210 #define Xupdate(a,i,ia,ib,ic,id) (a)=\ argument
211 (ia[(i)&0x0f]^ib[((i)+2)&0x0f]^ic[((i)+8)&0x0f]^id[((i)+13)&0x0f]);\
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_mcg.c864 rule_hw->ib.l3_qpn = spec->ib.l3_qpn; in parse_trans_rule()
865 rule_hw->ib.qpn_mask = spec->ib.qpn_msk; in parse_trans_rule()
866 memcpy(&rule_hw->ib.dst_gid, &spec->ib.dst_gid, 16); in parse_trans_rule()
867 memcpy(&rule_hw->ib.dst_gid_msk, &spec->ib.dst_gid_msk, 16); in parse_trans_rule()
959 GID_PRINT_ARGS(cur->ib.dst_gid)); in mlx4_err_rule()
962 GID_PRINT_ARGS(cur->ib.dst_gid_msk)); in mlx4_err_rule()
1397 memcpy(spec.ib.dst_gid, gid, 16); in mlx4_trans_to_dmfs_attach()
1398 memset(&spec.ib.dst_gid_msk, 0xff, 16); in mlx4_trans_to_dmfs_attach()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_sigqueue.c128 const int *ia = a, *ib = b; in asc() local
129 return *ib - *ia; in asc()
/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dsamacro.h237 #define MPI_DEBUG_TRACE( queue, pici, ib,iomb,count) \ argument
239 mpiTraceAdd( (queue), (pici),(ib), (iomb), (count)); \
242 #define MPI_DEBUG_TRACE( queue, pici, ib,iomb,count) argument
/freebsd/contrib/lua/src/
H A Dlvm.c1018 lua_Integer ib = ivalue(rb); \
1019 cond = opi(ia, ib); \
1450 lua_Integer ib; in luaV_execute() local
1451 if (tointegerns(rb, &ib)) { in luaV_execute()
1452 pc++; setivalue(s2v(ra), luaV_shiftl(ib, -ic)); in luaV_execute()
1460 lua_Integer ib; in luaV_execute() local
1461 if (tointegerns(rb, &ib)) { in luaV_execute()
1462 pc++; setivalue(s2v(ra), luaV_shiftl(ic, ib)); in luaV_execute()
1551 lua_Integer ib = ivalue(rb); in luaV_execute() local
1552 setivalue(s2v(ra), intop(-, 0, ib)); in luaV_execute()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pci/
H A Ddesignware-pcie.txt24 - num-ib-windows: number of inbound address translation windows
74 num-ib-windows = <6>;
/freebsd/sys/kern/
H A Dtty_pts.c190 char ib[256], *ibstart; in ptsdev_write() local
198 ibstart = ib; in ptsdev_write()
199 iblen = MIN(uio->uio_resid, sizeof ib); in ptsdev_write()
200 error = uiomove(ib, iblen, uio); in ptsdev_write()

1234