| /freebsd-src/stand/common/ |
| H A D | console.c | 76 int cons; in cons_probe() local 92 for (cons = 0; consoles[cons] != NULL; cons++) { in cons_probe() 93 consoles[cons]->c_flags = 0; in cons_probe() 94 consoles[cons]->c_probe(consoles[cons]); in cons_probe() 98 for (cons = 0; consoles[cons] != NULL && active == -1; cons++) { in cons_probe() 99 consoles[cons]->c_flags = 0; in cons_probe() 100 consoles[cons]->c_probe(consoles[cons]); in cons_probe() 101 if (consoles[cons]->c_flags == (C_PRESENTIN | C_PRESENTOUT)) in cons_probe() 102 active = cons; in cons_probe() 122 for (cons = 0; consoles[cons] != NULL; cons++) in cons_probe() [all …]
|
| /freebsd-src/sys/dev/xen/console/ |
| H A D | xen_console.c | 41 #include <sys/cons.h> 67 typedef void xencons_early_init_t(struct xencons_priv *cons); 70 typedef int xencons_read_t(struct xencons_priv *cons, char *buffer, 72 typedef int xencons_write_t(struct xencons_priv *cons, const char *buffer, 202 static inline void xencons_lock(struct xencons_priv *cons) in xencons_lock() argument 206 mtx_lock_spin(&cons->mtx); in xencons_lock() 210 static inline void xencons_unlock(struct xencons_priv *cons) in xencons_unlock() argument 214 mtx_unlock_spin(&cons->mtx); in xencons_unlock() 217 #define xencons_lock_assert(cons) mtx_assert(&(cons)->mtx, MA_OWNED) argument 221 xencons_early_init_hypervisor(struct xencons_priv *cons) in xencons_early_init_hypervisor() argument [all …]
|
| /freebsd-src/sys/dev/bnxt/bnxt_en/ |
| H A D | bnxt_txrx.c | 191 uint32_t cons = cpr->cons; in bnxt_isc_txd_credits_update() local 199 last_cons = cons; in bnxt_isc_txd_credits_update() 201 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit); in bnxt_isc_txd_credits_update() 202 CMPL_PREFETCH_NEXT(cpr, cons); in bnxt_isc_txd_credits_update() 204 if (!CMP_VALID(&cmpl[cons], v_bit)) in bnxt_isc_txd_credits_update() 207 type = cmpl[cons].flags_type & TX_CMPL_TYPE_MASK; in bnxt_isc_txd_credits_update() 210 err = (le16toh(cmpl[cons].errors_v) & in bnxt_isc_txd_credits_update() 217 avail += cmpl[cons].opaque >> 24; in bnxt_isc_txd_credits_update() 228 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit); in bnxt_isc_txd_credits_update() 229 if (!CMP_VALID(&cmpl[cons], v_bit)) in bnxt_isc_txd_credits_update() [all …]
|
| /freebsd-src/sys/dev/nvme/ |
| H A D | nvme.c | 115 nvme_notify(struct nvme_consumer *cons, in nvme_notify() argument 136 if (cons->ctrlr_fn != NULL) in nvme_notify() 137 ctrlr_cookie = (*cons->ctrlr_fn)(ctrlr); in nvme_notify() 140 ctrlr->cons_cookie[cons->id] = ctrlr_cookie; in nvme_notify() 149 ctrlr->cons_cookie[cons->id] = NULL; in nvme_notify() 150 if (cons->fail_fn != NULL) in nvme_notify() 151 (*cons->fail_fn)(ctrlr_cookie); in nvme_notify() 162 if (cons->ns_fn != NULL) in nvme_notify() 163 ns->cons_cookie[cons->id] = in nvme_notify() 164 (*cons->ns_fn)(ns, ctrlr_cookie); in nvme_notify() [all …]
|
| /freebsd-src/crypto/heimdal/lib/asn1/ |
| H A D | test.gen | 5 UNIV CONS Sequence 23 6 CONTEXT CONS 0 3 8 CONTEXT CONS 1 8 9 UNIV CONS Sequence 6 10 CONTEXT CONS 127 3 13 CONTEXT CONS 2 3
|
| H A D | check-gen.c | 952 UNIV CONS Sequence 14 954 CONTEXT CONS 1 6 955 CONTEXT CONS 127 3 1020 UNIV CONS Sequence 12 1021 UNIV CONS Sequence 5 1022 CONTEXT CONS 0 3 1024 CONTEXT CONS 1 3 1027 UNIV CONS Sequence 5 1028 CONTEXT CONS 1 3 1031 UNIV CONS Sequence 8 [all …]
|
| H A D | asn1_print.c | 95 (class == ASN1_C_CONTEXT && type == CONS) || in loop() 96 (class == ASN1_C_UNIV && type == CONS && tag == UT_Sequence) || in loop() 97 (class == ASN1_C_UNIV && type == CONS && tag == UT_Set)) { in loop() 117 if (type == CONS) { in loop() 184 type != CONS || tag != UT_Sequence) in loop()
|
| /freebsd-src/usr.bin/fstat/ |
| H A D | fuser.c | 127 printflags(struct consumer *cons) in printflags() argument 131 assert(cons); in printflags() 133 if ((cons->uflags & uflags[i].flag) != 0) in printflags() 136 if ((cons->flags & fflags[i].flag) != 0) in printflags() 287 struct consumer *cons; in dofiles() local 325 STAILQ_FOREACH(cons, &reqfiles[i].consumers, next) in dofiles() 326 if (cons->pid == kp->ki_pid) { in dofiles() 331 cons->flags |= fst->fs_fflags; in dofiles() 332 cons->uflags |= fst->fs_uflags; in dofiles() 337 cons = calloc(1, sizeof(struct consumer)); in dofiles() [all …]
|
| /freebsd-src/crypto/openssl/doc/man1/ |
| H A D | openssl-rsautl.pod.in | 167 0:d=0 hl=4 l= 742 cons: SEQUENCE 168 4:d=1 hl=4 l= 591 cons: SEQUENCE 169 8:d=2 hl=2 l= 3 cons: cont [ 0 ] 172 16:d=2 hl=2 l= 13 cons: SEQUENCE 175 31:d=2 hl=2 l= 92 cons: SEQUENCE 176 33:d=3 hl=2 l= 11 cons: SET 177 35:d=4 hl=2 l= 9 cons: SEQUENCE 181 599:d=1 hl=2 l= 13 cons: SEQUENCE 199 0:d=0 hl=2 l= 32 cons: SEQUENCE 200 2:d=1 hl=2 l= 12 cons: SEQUENCE
|
| H A D | openssl-asn1parse.pod.in | 119 0:d=0 hl=4 l= 681 cons: SEQUENCE 124 373:d=2 hl=3 l= 162 cons: cont [ 3 ] 125 376:d=3 hl=3 l= 159 cons: SEQUENCE 126 379:d=4 hl=2 l= 29 cons: SEQUENCE 129 410:d=4 hl=2 l= 112 cons: SEQUENCE 132 524:d=4 hl=2 l= 12 cons: SEQUENCE 150 0:d=0 hl=3 l= 137 cons: SEQUENCE
|
| /freebsd-src/secure/usr.bin/openssl/man/ |
| H A D | openssl-rsautl.1 | 298 \& 0:d=0 hl=4 l= 742 cons: SEQUENCE 299 \& 4:d=1 hl=4 l= 591 cons: SEQUENCE 300 \& 8:d=2 hl=2 l= 3 cons: cont [ 0 ] 303 \& 16:d=2 hl=2 l= 13 cons: SEQUENCE 306 \& 31:d=2 hl=2 l= 92 cons: SEQUENCE 307 \& 33:d=3 hl=2 l= 11 cons: SET 308 \& 35:d=4 hl=2 l= 9 cons: SEQUENCE 312 \& 599:d=1 hl=2 l= 13 cons: SEQUENCE 335 \& 0:d=0 hl=2 l= 32 cons: SEQUENCE 336 \& 2:d=1 hl=2 l= 12 cons: SEQUENCE
|
| H A D | openssl-asn1parse.1 | 232 \& 0:d=0 hl=4 l= 681 cons: SEQUENCE 239 \& 373:d=2 hl=3 l= 162 cons: cont [ 3 ] 240 \& 376:d=3 hl=3 l= 159 cons: SEQUENCE 241 \& 379:d=4 hl=2 l= 29 cons: SEQUENCE 244 \& 410:d=4 hl=2 l= 112 cons: SEQUENCE 247 \& 524:d=4 hl=2 l= 12 cons: SEQUENCE 267 \& 0:d=0 hl=3 l= 137 cons: SEQUENCE
|
| /freebsd-src/usr.sbin/bluetooth/bthidd/ |
| H A D | server.c | 77 srv->cons = open("/dev/consolectl", O_RDWR); in server_init() 78 if (srv->cons < 0) { in server_init() 89 close(srv->cons); in server_init() 104 close(srv->cons); in server_init() 112 close(srv->cons); in server_init() 122 close(srv->cons); in server_init() 133 close(srv->cons); in server_init() 142 close(srv->cons); in server_init() 162 close(srv->cons); in server_shutdown()
|
| /freebsd-src/sys/dev/cxgbe/ |
| H A D | t4_mp_ring.c | 348 int i, nospc, cons; in mp_ring_enqueue() local 382 cons = -1; in mp_ring_enqueue() 388 cons = C_FAST; in mp_ring_enqueue() 391 cons = C_2; in mp_ring_enqueue() 394 cons = C_TAKEOVER; in mp_ring_enqueue() 407 if (cons == C_FAST) { in mp_ring_enqueue() 451 MPASS(cons == -1); in mp_ring_enqueue() 458 if (cons == -1) { in mp_ring_enqueue() 460 cons = C_3; in mp_ring_enqueue() 466 MPASS(cons > C_FAST && cons < nitems(r->consumer)); in mp_ring_enqueue() [all …]
|
| /freebsd-src/contrib/tcsh/ |
| H A D | csh-mode.el | 202 (cons (concat "^[^#\n]*\".*\\(\\$[][0-9A-Za-z_#:?]+\\).*" 213 (cons (concat 302 (nest-list (cons 0 0)) ;; sentinel cons since cdr is >= 1 314 (setq balance-list (cons (point) balance-list)) 325 (cons nest-column (csh-current-line))) 349 (setq level (cons (current-indentation) 355 (cons (current-indentation) (csh-current-line)) 765 (list (cons completion type))))) 863 (cons "break" csh-completion-type-misc) 864 (cons "breaksw" csh-completion-type-misc) [all …]
|
| /freebsd-src/lib/libc/gen/ |
| H A D | getttyent.c | 71 char *buf, *cons, *nextcons; in auto_tty_status() local 84 if ((cons = strchr(buf, '/')) == NULL) in auto_tty_status() 86 *cons = '\0'; in auto_tty_status() 88 while ((cons = strsep(&nextcons, ",")) != NULL && strlen(cons) != 0) { in auto_tty_status() 89 if (strcmp(cons, ty_name) == 0) { in auto_tty_status()
|
| /freebsd-src/sys/dev/xen/xenstore/ |
| H A D | xenstore.c | 380 * \param cons The consumer index for the ring to test. 387 xs_check_indexes(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod) in xs_check_indexes() argument 390 return ((prod - cons) <= XENSTORE_RING_SIZE); in xs_check_indexes() 397 * \param cons The consumer index for the ring. 405 xs_get_output_chunk(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod, in xs_get_output_chunk() argument 410 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) in xs_get_output_chunk() 411 *len = XENSTORE_RING_SIZE - (prod - cons); in xs_get_output_chunk() 419 * \param cons The consumer index for the ring. 427 xs_get_input_chunk(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod, in xs_get_input_chunk() argument 431 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(cons); in xs_get_input_chunk() 454 XENSTORE_RING_IDX cons, prod; xs_write_store() local 543 XENSTORE_RING_IDX cons, prod; xs_read_store() local [all...] |
| /freebsd-src/sys/dev/mlx4/mlx4_en/ |
| H A D | mlx4_en_tx.c | 224 ring->cons = 0xffffffff; in mlx4_en_activate_tx_ring() 317 ring->cons += ring->last_nr_txbb; in mlx4_en_free_tx_buf() 318 en_dbg(DRV, priv, "Freeing Tx buf - cons:0x%x prod:0x%x\n", in mlx4_en_free_tx_buf() 319 ring->cons, ring->prod); in mlx4_en_free_tx_buf() 321 if ((u32) (ring->prod - ring->cons) > ring->size) { in mlx4_en_free_tx_buf() 326 while (ring->cons != ring->prod) { in mlx4_en_free_tx_buf() 328 ring->cons & ring->size_mask); in mlx4_en_free_tx_buf() 329 ring->cons += ring->last_nr_txbb; in mlx4_en_free_tx_buf() 343 wqs = ring->size - (ring->prod - ring->cons); in mlx4_en_tx_ring_is_full() 369 ring_index = ring->cons & size_mask; in mlx4_en_process_tx_cq() [all …]
|
| /freebsd-src/sys/arm64/iommu/ |
| H A D | smmu.c | 230 if (Q_IDX(q, q->lc.cons) != Q_IDX(q, q->lc.prod) || in smmu_q_has_space() 231 Q_WRP(q, q->lc.cons) == Q_WRP(q, q->lc.prod)) in smmu_q_has_space() 241 if (Q_IDX(q, q->lc.cons) == Q_IDX(q, q->lc.prod) && in smmu_q_empty() 242 Q_WRP(q, q->lc.cons) == Q_WRP(q, q->lc.prod)) in smmu_q_empty() 252 if ((Q_WRP(q, q->lc.cons) == Q_WRP(q, prod)) && in smmu_q_consumed() 253 (Q_IDX(q, q->lc.cons) >= Q_IDX(q, prod))) in smmu_q_consumed() 256 if ((Q_WRP(q, q->lc.cons) != Q_WRP(q, prod)) && in smmu_q_consumed() 257 (Q_IDX(q, q->lc.cons) <= Q_IDX(q, prod))) in smmu_q_consumed() 266 uint32_t cons; in smmu_q_inc_cons() local 269 cons in smmu_q_inc_cons() [all...] |
| /freebsd-src/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_error.cpp | 82 char const *cons = NULL; // Construct name. in __kmp_pragma() local 90 cons = cons_text_c[ct]; in __kmp_pragma() 105 prgm = __kmp_msg_format(kmp_i18n_fmt_Pragma, cons, file, func, line); in __kmp_pragma() 124 struct cons_data const *cons // Second construct. in __kmp_error_construct2() argument 127 char *construct2 = __kmp_pragma(cons->type, cons->ident); in __kmp_error_construct2() 307 struct cons_data cons = {NULL, ct_critical, 0, NULL}; local 315 cons = p->stack_data[index]; 318 __kmp_error_construct2(kmp_i18n_msg_CnsNestingSameName, ct, ident, &cons);
|
| /freebsd-src/sys/dev/bnxt/bnxt_re/ |
| H A D | qplib_res.h | 182 - HWQ_CMP(hwq->cons, hwq))\ 267 u32 cons; /* raw */ member 525 static inline void bnxt_qplib_hwq_incr_cons(u32 max_elements, u32 *cons, in bnxt_qplib_hwq_incr_cons() argument 528 /* move cons and update toggle/epoch if wrap around */ in bnxt_qplib_hwq_incr_cons() 529 *cons += cnt; in bnxt_qplib_hwq_incr_cons() 530 if (*cons >= max_elements) { in bnxt_qplib_hwq_incr_cons() 531 *cons %= max_elements; in bnxt_qplib_hwq_incr_cons() 641 key = info->hwq->cons | (CMPL_DOORBELL_IDX_VALID | in bnxt_qplib_ring_db32() 700 indx = ((info->hwq->cons & DBC_DBC_INDEX_MASK) | in bnxt_qplib_ring_db()
|
| /freebsd-src/usr.sbin/bsdinstall/runconsoles/ |
| H A D | runconsoles.c | 252 char *buf, *p, *cons; in read_primary_console() local 257 * NB: Format is "cons,...cons,/cons,...cons,", with the list before in read_primary_console() 286 cons = strdup(buf); in read_primary_console() 288 cons = NULL; in read_primary_console() 292 return (cons); in read_primary_console()
|
| /freebsd-src/sys/contrib/xen/io/ |
| H A D | ring.h | 444 RING_IDX cons, \ 449 if (prod == cons) \ 453 cons = name##_mask(cons, ring_size); \ 455 if (prod == cons) \ 458 if (prod > cons) \ 459 size = prod - cons; \ 461 size = ring_size - (cons - prod); \
|
| /freebsd-src/usr.sbin/bhyveload/ |
| H A D | bhyveload.8 | 38 .Op Fl c Ar cons-dev 67 .It Fl c Ar cons-dev 68 .Ar cons-dev
|
| /freebsd-src/sbin/dhclient/ |
| H A D | tree.c | 49 cons(caddr_t car, pair cdr) in cons() function 53 error("no memory for cons."); in cons()
|