Searched refs:cid (Results 1 - 25 of 72) sorted by relevance

123

/freebsd-10.0-release/sys/dev/hatm/
H A Dif_hatm_tx.c134 t->cid = 0;
169 u_int cid)
214 sc->tpdrq.tpdrq[sc->tpdrq.tail].cid = cid;
298 tpd->cid = arg->first->cid;
337 if (hatm_queue_tpds(arg->sc, tpd_cnt, tpd_list, arg->first->cid)) {
357 u_int cid; local
398 cid = HE_CID(arg.vpi, arg.vci);
399 arg.vcc = sc->vccs[cid];
168 hatm_queue_tpds(struct hatm_softc *sc, u_int count, struct tpd **list, u_int cid) argument
562 hatm_tx_vcc_can_open(struct hatm_softc *sc, u_int cid, struct hevcc *vcc) argument
657 hatm_tx_vcc_open(struct hatm_softc *sc, u_int cid) argument
778 hatm_tx_vcc_close(struct hatm_softc *sc, u_int cid) argument
820 hatm_tx_vcc_closed(struct hatm_softc *sc, u_int cid) argument
[all...]
H A Dif_hatm_ioctl.c97 u_int cid; local
108 cid = HE_CID(arg->param.vpi, arg->param.vci);
123 if (sc->vccs[cid] != NULL) {
157 (error = hatm_tx_vcc_can_open(sc, cid, vcc)) != 0)
161 sc->vccs[cid] = vcc;
162 hatm_load_vc(sc, cid, 0);
176 hatm_load_vc(struct hatm_softc *sc, u_int cid, int reopen) argument
178 struct hevcc *vcc = sc->vccs[cid];
181 hatm_tx_vcc_open(sc, cid);
183 hatm_rx_vcc_open(sc, cid);
199 hatm_vcc_closed(struct hatm_softc *sc, u_int cid) argument
219 u_int cid; local
[all...]
H A Dif_hatm_rx.c81 hatm_rx(struct hatm_softc *sc, u_int cid, u_int flags, struct mbuf *m0, argument
90 DBG(sc, RX, ("cid=%#x flags=%#x len=%u mbuf=%p", cid, flags, len, m0));
92 vcc = sc->vccs[cid];
101 hatm_vcc_closed(sc, cid);
235 vpi = HE_VPI(cid);
236 vci = HE_VCI(cid);
273 hatm_rx_vcc_open(struct hatm_softc *sc, u_int cid) argument
275 struct hevcc *vcc = sc->vccs[cid];
299 WRITE_RSR(sc, cid,
310 hatm_rx_vcc_close(struct hatm_softc *sc, u_int cid) argument
[all...]
H A Dif_hatmvar.h172 SLIST_ENTRY(tpd) link; /* free cid list link */
175 uint32_t cid; /* CID */ member in struct:tpd
627 void hatm_rx(struct hatm_softc *sc, u_int cid, u_int flags, struct mbuf *m,
631 int hatm_tx_vcc_can_open(struct hatm_softc *sc, u_int cid, struct hevcc *);
632 void hatm_tx_vcc_open(struct hatm_softc *sc, u_int cid);
633 void hatm_rx_vcc_open(struct hatm_softc *sc, u_int cid);
634 void hatm_tx_vcc_close(struct hatm_softc *sc, u_int cid);
635 void hatm_rx_vcc_close(struct hatm_softc *sc, u_int cid);
636 void hatm_tx_vcc_closed(struct hatm_softc *sc, u_int cid);
637 void hatm_vcc_closed(struct hatm_softc *sc, u_int cid);
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/x509v3/
H A Dpcy_data.c86 const ASN1_OBJECT *cid, int crit)
90 if (!policy && !cid)
92 if (cid)
94 id = OBJ_dup(cid);
85 policy_data_new(POLICYINFO *policy, const ASN1_OBJECT *cid, int crit) argument
/freebsd-10.0-release/crypto/openssl/crypto/ocsp/
H A Docsp_lib.c107 OCSP_CERTID *cid = NULL; local
110 if (!(cid = OCSP_CERTID_new())) goto err;
112 alg = cid->hashAlgorithm;
124 if (!(ASN1_OCTET_STRING_set(cid->issuerNameHash, md, i))) goto err;
130 if (!(ASN1_OCTET_STRING_set(cid->issuerKeyHash, md, i))) goto err;
134 ASN1_INTEGER_free(cid->serialNumber);
135 if (!(cid->serialNumber = ASN1_INTEGER_dup(serialNumber))) goto err;
137 return cid;
141 if (cid) OCSP_CERTID_free(cid);
[all...]
H A Docsp_vfy.c68 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid, STACK_OF(OCSP_SINGLERESP) *sresp);
263 OCSP_CERTID *tmpid, *cid; local
273 cid = sk_OCSP_SINGLERESP_value(sresp, 0)->certId;
281 if (OCSP_id_issuer_cmp(cid, tmpid))
285 cid->hashAlgorithm->algorithm))
293 *ret = cid;
298 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid, argument
302 if(cid)
308 if (!(dgst = EVP_get_digestbyobj(cid->hashAlgorithm->algorithm)))
317 if ((cid
[all...]
H A Docsp_srv.c89 ASN1_INTEGER **pserial, OCSP_CERTID *cid)
91 if (!cid) return 0;
92 if (pmd) *pmd = cid->hashAlgorithm->algorithm;
93 if(piNameHash) *piNameHash = cid->issuerNameHash;
94 if (pikeyHash) *pikeyHash = cid->issuerKeyHash;
95 if (pserial) *pserial = cid->serialNumber;
125 OCSP_CERTID *cid,
151 if(!(single->certId = OCSP_CERTID_dup(cid)))
87 OCSP_id_get0_info(ASN1_OCTET_STRING **piNameHash, ASN1_OBJECT **pmd, ASN1_OCTET_STRING **pikeyHash, ASN1_INTEGER **pserial, OCSP_CERTID *cid) argument
124 OCSP_basic_add1_status(OCSP_BASICRESP *rsp, OCSP_CERTID *cid, int status, int reason, ASN1_TIME *revtime, ASN1_TIME *thisupd, ASN1_TIME *nextupd) argument
H A Docsp_ext.c427 OCSP_CRLID *cid = NULL; local
429 if (!(cid = OCSP_CRLID_new())) goto err;
432 if (!(cid->crlUrl = ASN1_IA5STRING_new())) goto err;
433 if (!(ASN1_STRING_set(cid->crlUrl, url, -1))) goto err;
437 if (!(cid->crlNum = ASN1_INTEGER_new())) goto err;
438 if (!(ASN1_INTEGER_set(cid->crlNum, *n))) goto err;
442 if (!(cid->crlTime = ASN1_GENERALIZEDTIME_new())) goto err;
443 if (!(ASN1_GENERALIZEDTIME_set_string(cid->crlTime, tim)))
446 x = X509V3_EXT_i2d(NID_id_pkix_OCSP_CrlID, 0, cid);
448 if (cid) OCSP_CRLID_fre
[all...]
H A Docsp_prn.c139 OCSP_CERTID* cid = NULL; local
157 cid = one->reqCert;
158 ocsp_certid_print(bp, cid, 8);
185 OCSP_CERTID *cid = NULL; local
235 cid = single->certId;
236 if(ocsp_certid_print(bp, cid, 4) <= 0) goto err;
/freebsd-10.0-release/sys/dev/patm/
H A Dif_patm_rx.c84 rct_write(struct patm_softc *sc, u_int cid, u_int w, u_int val) argument
86 patm_sram_write(sc, sc->mmap->rct + cid * IDT_RCT_ENTRY_SIZE + w, val);
89 rct_read(struct patm_softc *sc, u_int cid, u_int w) argument
92 cid * IDT_RCT_ENTRY_SIZE + w));
127 if (vcc->cid != 0)
128 patm_sram_write4(sc, sc->mmap->rct + vcc->cid *
147 if (vcc->cid == 0) {
156 w1 = rct_read(sc, vcc->cid, 0);
158 rct_write(sc, vcc->cid, 0, w1);
162 rct_write(sc, vcc->cid,
196 u_int stat, cid, w, cells, len, h; local
431 u_int vpi, vci, cid; local
[all...]
H A Dif_patm_ioctl.c81 u_int cid; local
94 cid = PATM_CID(sc, arg->param.vpi, arg->param.vci);
115 if (sc->vccs[cid] != NULL) {
122 vcc->cid = cid;
174 sc->vccs[cid] = vcc;
216 u_int cid; local
224 cid = PATM_CID(sc, arg->vpi, arg->vci);
233 vcc = sc->vccs[cid];
283 sc->vccs[vcc->cid]
[all...]
H A Dif_patm_tx.c103 static void patm_tct_print(struct patm_softc *sc, u_int cid) __unused;
258 patm_nor_write(sc, IDT_NOR_TCMDQ, IDT_TCMDQ_UIER(vcc->cid, 0xff));
259 patm_nor_write(sc, IDT_NOR_TCMDQ, IDT_TCMDQ_ULACR(vcc->cid, 0xff));
288 u_int vpi, vci, cid; local
328 cid = PATM_CID(sc, vpi, vci);
329 vcc = sc->vccs[cid];
642 if (patm_sram_read(a->sc, a->vcc->cid * 8 + 3) & IDT_TCT_IDLE) {
650 IDT_TCMDQ_START(a->vcc->cid));
660 u_int cid, tag, last; local
667 cid
763 patm_tx_idle(struct patm_softc *sc, u_int cid) argument
1011 patm_tct_print(struct patm_softc *sc, u_int cid) argument
[all...]
/freebsd-10.0-release/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_misc.c596 u_int16_t cid = l2cap->cid + 1; local
598 if (cid < NG_L2CAP_FIRST_CID)
599 cid = NG_L2CAP_FIRST_CID;
601 while (cid != l2cap->cid) {
602 if (ng_l2cap_chan_by_scid(l2cap, cid) == NULL) {
603 l2cap->cid = cid;
605 return (cid);
[all...]
/freebsd-10.0-release/sys/dev/sdhci/
H A Dsdhci_fdt.c155 pcell_t cid; local
171 if ((OF_getprop(node, "quirks", &cid, sizeof(cid))) > 0)
172 sc->quirks = fdt32_to_cpu(cid);
173 if ((OF_getprop(node, "num-slots", &cid, sizeof(cid))) > 0)
174 sc->num_slots = fdt32_to_cpu(cid);
/freebsd-10.0-release/sys/net/
H A Dif_atmsubr.c411 u_int cid, alloc; local
431 for (cid = 0; cid < size; cid++)
432 if (table[cid] != NULL) {
436 *v++ = *table[cid];
440 if (cid == size)
/freebsd-10.0-release/sys/dev/mmc/
H A Dmmc.c92 struct mmc_cid cid; /* cid decoded */ member in struct:mmc_ivars
151 static void mmc_decode_cid_mmc(uint32_t *raw_cid, struct mmc_cid *cid);
152 static void mmc_decode_cid_sd(uint32_t *raw_cid, struct mmc_cid *cid);
842 mmc_decode_cid_sd(uint32_t *raw_cid, struct mmc_cid *cid) argument
847 memset(cid, 0, sizeof(*cid));
848 cid->mid = mmc_get_bits(raw_cid, 128, 120, 8);
849 cid->oid = mmc_get_bits(raw_cid, 128, 104, 16);
851 cid
860 mmc_decode_cid_mmc(uint32_t *raw_cid, struct mmc_cid *cid) argument
[all...]
/freebsd-10.0-release/contrib/wpa/src/eap_server/
H A Deap_server_pax.c40 char *cid; member in struct:eap_pax_data
66 os_free(data->cid);
148 (u8 *) data->cid, data->cid_len, NULL, 0, pos);
324 os_free(data->cid);
325 data->cid = os_malloc(data->cid_len);
326 if (data->cid == NULL) {
331 os_memcpy(data->cid, pos + 2, data->cid_len);
335 (u8 *) data->cid, data->cid_len);
347 if (eap_user_get(sm, (u8 *) data->cid, data->cid_len, 0) < 0) {
349 (u8 *) data->cid, dat
[all...]
/freebsd-10.0-release/sys/dev/nvme/
H A Dnvme_qpair.c111 nvme_printf(qpair->ctrlr, "%s (%02x) sqid:%d cid:%d nsid:%x "
113 get_admin_opcode_string(cmd->opc), cmd->opc, qpair->id, cmd->cid,
127 nvme_printf(qpair->ctrlr, "%s sqid:%d cid:%d nsid:%d "
129 get_io_opcode_string(cmd->opc), qpair->id, cmd->cid,
136 nvme_printf(qpair->ctrlr, "%s sqid:%d cid:%d nsid:%d\n",
137 get_io_opcode_string(cmd->opc), qpair->id, cmd->cid,
141 nvme_printf(qpair->ctrlr, "%s (%02x) sqid:%d cid:%d nsid:%d\n",
143 cmd->cid, cmd->nsid);
245 nvme_printf(qpair->ctrlr, "%s (%02x/%02x) sqid:%d cid:%d cdw0:%x\n",
247 cpl->status.sct, cpl->status.sc, cpl->sqid, cpl->cid, cp
293 nvme_qpair_construct_tracker(struct nvme_qpair *qpair, struct nvme_tracker *tr, uint16_t cid) argument
[all...]
/freebsd-10.0-release/sys/crypto/aesni/
H A Daesni.c46 int32_t cid; member in struct:aesni_softc
95 sc->cid = crypto_get_driverid(dev, CRYPTOCAP_F_HARDWARE |
97 if (sc->cid < 0) {
103 crypto_register(sc->cid, CRYPTO_AES_CBC, 0, 0);
104 crypto_register(sc->cid, CRYPTO_AES_XTS, 0, 0);
131 crypto_unregister_all(sc->cid);
/freebsd-10.0-release/sys/netgraph/
H A Dng_pptpgre.c104 u_int16_t cid; /* call id */ member in struct:greheader
194 static hpriv_p ng_pptpgre_find_session(priv_p privp, u_int16_t cid);
324 uint16_t cid, hash; local
331 for (cid = i = 0; i < 4; i++) {
335 cid = (cid << 4) | j;
348 hpriv->conf.cid = cid;
353 hash = SESSHASH(cid);
385 /* Try to find session by cid
927 ng_pptpgre_find_session(priv_p privp, u_int16_t cid) argument
[all...]
H A Dng_pptpgre.h65 u_int16_t cid; /* my call id */ member in struct:ng_pptpgre_conf
78 { "cid", &ng_parse_hint16_type }, \
/freebsd-10.0-release/crypto/heimdal/lib/krb5/
H A Dscache.c45 sqlite_uint64 cid; member in struct:krb5_scache
98 "DELETE FROM credentials WHERE cid=old.oid;" \
111 "cid INTEGER NOT NULL," \
124 #define SQL_ICRED "INSERT INTO credentials (cid, kvno, etype, cred, created_at) VALUES (?,?,?,?,?)"
125 #define SQL_DCRED "DELETE FROM credentials WHERE cid=?"
306 s->cid = SCACHE_INVALID_CID;
376 s->cid = sqlite3_last_insert_rowid(s->db);
527 s->cid = sqlite3_column_int(s->scache_name, 0);
529 s->cid = SCACHE_INVALID_CID;
573 if (s->cid
[all...]
/freebsd-10.0-release/contrib/tcpdump/
H A Drx.h61 u_int32_t cid; member in struct:rx_header
/freebsd-10.0-release/crypto/openssl/crypto/ts/
H A Dts_rsp_sign.c823 ESS_CERT_ID *cid; local
833 if (!(cid = ESS_CERT_ID_new_init(signcert, 0))
834 || !sk_ESS_CERT_ID_push(sc->cert_ids, cid))
840 if (!(cid = ESS_CERT_ID_new_init(cert, 1))
841 || !sk_ESS_CERT_ID_push(sc->cert_ids, cid))
854 ESS_CERT_ID *cid = NULL; local
860 if (!(cid = ESS_CERT_ID_new())) goto err;
861 if (!ASN1_OCTET_STRING_set(cid->hash, cert->sha1_hash,
869 if (!cid->issuer_serial
870 && !(cid
[all...]

Completed in 187 milliseconds

123