/dragonfly/contrib/gdb-7/gdb/ |
H A D | serial.h | 36 struct serial; 53 extern struct serial *serial_for_fd (int fd); 65 extern void serial_ref (struct serial *scb); 137 extern void serial_raw (struct serial *scb); 219 struct serial struct 256 void (*close) (struct serial *); 261 int (*flush_output) (struct serial *); 263 int (*flush_input) (struct serial *); 264 int (*send_break) (struct serial *); 265 void (*go_raw) (struct serial *); [all …]
|
H A D | ser-base.h | 23 struct serial; 26 extern int generic_readchar (struct serial *scb, int timeout, 27 int (*do_readchar) (struct serial *scb, 29 extern int ser_base_flush_output (struct serial *scb); 30 extern int ser_base_flush_input (struct serial *scb); 31 extern int ser_base_send_break (struct serial *scb); 32 extern void ser_base_raw (struct serial *scb); 36 extern int ser_base_set_tty_state (struct serial *scb, 38 extern void ser_base_print_tty_state (struct serial *scb, 46 extern int ser_base_drain_output (struct serial *scb); [all …]
|
H A D | serial.c | 39 static struct serial *scb_base; 168 struct serial * 171 struct serial *scb; in serial_for_fd() 182 struct serial * 185 struct serial *scb; in serial_open() 211 scb = XMALLOC (struct serial); in serial_open() 248 static struct serial * 251 struct serial *scb; in serial_fdopen_ops() 288 struct serial * 297 struct serial *tmp_scb; in do_serial_close() [all …]
|
H A D | ser-base.c | 67 reschedule (struct serial *scb) in reschedule() 158 struct serial *scb = context; in fd_event() 195 struct serial *scb = context; in push_event() 460 ser_base_flush_output (struct serial *scb) in ser_base_flush_output() 466 ser_base_flush_input (struct serial *scb) in ser_base_flush_input() 479 ser_base_send_break (struct serial *scb) in ser_base_send_break() 485 ser_base_drain_output (struct serial *scb) in ser_base_drain_output() 491 ser_base_raw (struct serial *scb) in ser_base_raw() 497 ser_base_get_tty_state (struct serial *scb) in ser_base_get_tty_state() 525 ser_base_print_tty_state (struct serial *scb, in ser_base_print_tty_state() [all …]
|
H A D | ser-unix.c | 80 static void hardwire_raw (struct serial *scb); 87 static int get_tty_state (struct serial *scb, 89 static int set_tty_state (struct serial *scb, 178 hardwire_get_tty_state (struct serial *scb) in hardwire_get_tty_state() 307 hardwire_drain_output (struct serial *scb) in hardwire_drain_output() 337 hardwire_flush_output (struct serial *scb) in hardwire_flush_output() 354 hardwire_flush_input (struct serial *scb) in hardwire_flush_input() 373 hardwire_send_break (struct serial *scb) in hardwire_send_break() 400 hardwire_raw (struct serial *scb) in hardwire_raw() 469 wait_for (struct serial *scb, int timeout) in wait_for() [all …]
|
H A D | ser-tcp.h | 23 struct serial; 25 extern int net_open (struct serial *scb, const char *name); 26 extern void net_close (struct serial *scb); 27 extern int net_read_prim (struct serial *scb, size_t count); 28 extern int net_write_prim (struct serial *scb, const void *buf, size_t count); 29 extern int ser_tcp_send_break (struct serial *scb);
|
H A D | ser-tcp.c | 86 wait_for_connect (struct serial *scb, int *polls) in wait_for_connect() 156 net_open (struct serial *scb, const char *name) in net_open() 329 net_close (struct serial *scb) in net_close() 339 net_read_prim (struct serial *scb, size_t count) in net_read_prim() 345 net_write_prim (struct serial *scb, const void *buf, size_t count) in net_write_prim() 351 ser_tcp_send_break (struct serial *scb) in ser_tcp_send_break()
|
H A D | ser-pipe.c | 36 static int pipe_open (struct serial *scb, const char *name); 37 static void pipe_close (struct serial *scb); 49 pipe_open (struct serial *scb, const char *name) in pipe_open() 155 pipe_close (struct serial *scb) in pipe_close()
|
H A D | ser-unix.h | 23 extern int ser_unix_read_prim (struct serial *scb, size_t count); 24 extern int ser_unix_write_prim (struct serial *scb, const void *buf,
|
/dragonfly/sys/dev/disk/nata/chipsets/ |
H A D | ata-acard.c | 211 struct ata_serialize *serial; in ata_serialize() local 219 serial->locked_ch = -1; in ata_serialize() 220 serial->restart_ch = -1; in ata_serialize() 230 if (serial->locked_ch == -1) in ata_serialize() 231 serial->locked_ch = ch->unit; in ata_serialize() 232 if (serial->locked_ch != ch->unit) in ata_serialize() 233 serial->restart_ch = ch->unit; in ata_serialize() 238 serial->locked_ch = -1; in ata_serialize() 239 if (serial->restart_ch != -1) { in ata_serialize() 241 serial->restart_ch = -1; in ata_serialize() [all …]
|
/dragonfly/crypto/libressl/crypto/x509/ |
H A D | x509_akey.c | 118 if (akeyid->serial != NULL) { in STACK_OF() 119 if ((tmpstr = hex_to_string(akeyid->serial->data, in STACK_OF() 120 akeyid->serial->length)) == NULL) in STACK_OF() 159 ASN1_INTEGER *serial = NULL; in v2i_AUTHORITY_KEYID() local 202 serial = ASN1_INTEGER_dup(X509_get_serialNumber(cert)); in v2i_AUTHORITY_KEYID() 203 if (!isname || !serial) { in v2i_AUTHORITY_KEYID() 224 akeyid->serial = serial; in v2i_AUTHORITY_KEYID() 234 ASN1_INTEGER_free(serial); in v2i_AUTHORITY_KEYID()
|
H A D | x509cset.c | 197 X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial) in X509_REVOKED_set_serialNumber() argument 204 if (in != serial) { in X509_REVOKED_set_serialNumber() 205 in = ASN1_INTEGER_dup(serial); in X509_REVOKED_set_serialNumber()
|
H A D | x509_set.c | 99 X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial) in X509_set_serialNumber() argument 106 if (in != serial) { in X509_set_serialNumber() 107 in = ASN1_INTEGER_dup(serial); in X509_set_serialNumber()
|
/dragonfly/crypto/openssh/ |
H A D | PROTOCOL.krl | 44 serial number or key ID. The consist of the CA key that issued the 68 2.1 Certificate serial list section 71 certificates by listing their serial numbers. The cert_section_data in this 79 2.2. Certificate serial range section 82 a range of serial numbers of certificates: 87 All certificates in the range serial_min <= serial <= serial_max are 92 2.3. Certificate serial bitmap section 95 by listing their serial number in a bitmap. 101 serial number (serial_offset + N). 120 (not certificates). They are less space efficient than serial numbers,
|
H A D | krl.c | 321 u_int64_t serial) in ssh_krl_revoke_cert_by_serial() argument 323 return ssh_krl_revoke_cert_by_serial_range(krl, ca_key, serial, serial); in ssh_krl_revoke_cert_by_serial() 458 if (key->cert->serial == 0) { in ssh_krl_revoke_key() 465 key->cert->serial); in ssh_krl_revoke_key() 850 u_int64_t serial, serial_lo, serial_hi; in parse_revoked_certs() local 880 ca_key, serial)) != 0) in parse_revoked_certs() 906 for (serial = 0; serial < (u_int64_t)nbits; serial++) { in parse_revoked_certs() 907 if (serial > 0 && serial_lo + serial == 0) { in parse_revoked_certs() 912 if (!bitmap_test_bit(bitmap, serial)) in parse_revoked_certs() 1235 if (key->cert->serial == 0) in is_cert_revoked() [all …]
|
/dragonfly/crypto/libressl/apps/openssl/ |
H A D | ts.c | 985 if (serial == NULL) { in serial_cb() 992 save_ts_serial(serial_file, serial); in serial_cb() 994 return serial; in serial_cb() 1002 ASN1_INTEGER *serial = NULL; in next_serial() local 1012 if (!ASN1_INTEGER_set(serial, 1)) in next_serial() 1023 ASN1_INTEGER_free(serial); in next_serial() 1024 serial = NULL; in next_serial() 1033 ASN1_INTEGER_free(serial); in next_serial() 1034 serial = NULL; in next_serial() 1038 return serial; in next_serial() [all …]
|
H A D | ca.c | 664 BIGNUM *serial = NULL; in ca_main() local 1158 if (BN_is_zero(serial)) in ca_main() 1194 if (!BN_add_word(serial, 1)) in ca_main() 1222 if (!BN_add_word(serial, 1)) in ca_main() 1459 BN_free(serial); in ca_main() 1460 serial = NULL; in ca_main() 1576 BN_free(serial); in ca_main() 2108 if (BN_is_zero(serial)) in do_body() 2591 if (strlen(serial) % 2) { in get_certificate_status() 2596 memcpy(row[DB_serial] + 1, serial, strlen(serial)); in get_certificate_status() [all …]
|
/dragonfly/crypto/libressl/crypto/ts/ |
H A D | ts_rsp_utils.c | 200 TS_TST_INFO_set_serial(TS_TST_INFO *a, const ASN1_INTEGER *serial) in TS_TST_INFO_set_serial() argument 204 if (a->serial == serial) in TS_TST_INFO_set_serial() 206 new_serial = ASN1_INTEGER_dup(serial); in TS_TST_INFO_set_serial() 211 ASN1_INTEGER_free(a->serial); in TS_TST_INFO_set_serial() 212 a->serial = new_serial; in TS_TST_INFO_set_serial() 219 return a->serial; in TS_TST_INFO_get_serial()
|
H A D | ts_rsp_print.c | 202 const ASN1_INTEGER *serial; in TS_TST_INFO_print_bio() local 225 serial = TS_TST_INFO_get_serial(a); in TS_TST_INFO_print_bio() 226 if (serial == NULL) in TS_TST_INFO_print_bio() 229 TS_ASN1_INTEGER_print_bio(bio, serial); in TS_TST_INFO_print_bio()
|
H A D | ts_rsp_sign.c | 101 ASN1_INTEGER *serial = ASN1_INTEGER_new(); in def_serial_cb() local 103 if (!serial) in def_serial_cb() 105 if (!ASN1_INTEGER_set(serial, 1)) in def_serial_cb() 107 return serial; in def_serial_cb() 610 ASN1_INTEGER *serial = NULL; in TS_RESP_create_tst_info() local 626 if (!(serial = (*ctx->serial_cb)(ctx, ctx->serial_cb_data)) || in TS_RESP_create_tst_info() 627 !TS_TST_INFO_set_serial(tst_info, serial)) in TS_RESP_create_tst_info() 686 ASN1_INTEGER_free(serial); in TS_RESP_create_tst_info() 891 ASN1_INTEGER_free(cid->issuer_serial->serial); in ESS_CERT_ID_new_init() 892 if (!(cid->issuer_serial->serial = in ESS_CERT_ID_new_init()
|
/dragonfly/crypto/libressl/crypto/ocsp/ |
H A D | ocsp_lib.c | 85 const ASN1_INTEGER *serial; in OCSP_cert_to_id() local 94 serial = X509_get0_serialNumber(subject); in OCSP_cert_to_id() 97 serial = NULL; in OCSP_cert_to_id() 102 return OCSP_cert_id_new(dgst, iname, ikey, serial); in OCSP_cert_to_id()
|
/dragonfly/sys/dev/disk/nvme/ |
H A D | nvme_disk.c | 73 char serial[20+16]; in nvme_disk_attach() local 96 bzero(serial, sizeof(serial)); in nvme_disk_attach() 97 bcopy(sc->idctlr.serialno, serial, sizeof(sc->idctlr.serialno)); in nvme_disk_attach() 98 len = string_cleanup(serial, 1); in nvme_disk_attach() 100 ksnprintf(serial + len, sizeof(serial) - len, "-%u", nsc->nsid); in nvme_disk_attach() 102 info.d_serialno = serial; in nvme_disk_attach() 109 nsc->blksize, nsc->idns.size, cap_gb, serial); in nvme_disk_attach()
|
H A D | nvme_admin.c | 221 char serial[20+16]; in nvme_admin_state_identify_ctlr() local 244 bzero(serial, sizeof(serial)); in nvme_admin_state_identify_ctlr() 246 bcopy(rp->serialno, serial, sizeof(rp->serialno)); in nvme_admin_state_identify_ctlr() 248 string_cleanup(serial, 0); in nvme_admin_state_identify_ctlr() 252 model, serial, rp->ns_count); in nvme_admin_state_identify_ctlr()
|
/dragonfly/stand/boot/common/ |
H A D | isapnp.h | 240 u_int serial; /* Board's Serial Number */ member 269 u_long serial; member
|
/dragonfly/crypto/libressl/crypto/asn1/ |
H A D | x_crl.c | 105 ASN1_INTEGER *serial, X509_NAME *issuer); 558 ASN1_INTEGER *serial) in X509_CRL_get0_by_serial() argument 561 return crl->meth->crl_lookup(crl, ret, serial, NULL); in X509_CRL_get0_by_serial() 609 def_crl_lookup(X509_CRL *crl, X509_REVOKED **ret, ASN1_INTEGER *serial, in def_crl_lookup() argument 615 rtmp.serialNumber = serial; in def_crl_lookup() 630 if (ASN1_INTEGER_cmp(rev->serialNumber, serial)) in def_crl_lookup()
|