/freebsd-current/stand/common/ |
H A D | console.c | 76 int cons; local 92 for (cons = 0; consoles[cons] != NULL; cons++) { 93 consoles[cons]->c_flags = 0; 94 consoles[cons]->c_probe(consoles[cons]); 98 for (cons = 0; consoles[cons] != NULL && active == -1; cons 139 int cons; local 157 int cons; local 170 int cons; local 189 int cons; local 228 int cons, found, failed; local 266 int cons, active; local [all...] |
/freebsd-current/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) argument 206 mtx_lock_spin(&cons->mtx); 210 static inline void xencons_unlock(struct xencons_priv *cons) argument 214 mtx_unlock_spin(&cons->mtx); 217 #define xencons_lock_assert(cons) mtx_assert(&(cons) 221 xencons_early_init_hypervisor(struct xencons_priv *cons) argument 233 struct xencons_priv *cons; local 247 xencons_write_hypervisor(struct xencons_priv *cons, const char *buffer, unsigned int size) argument 257 xencons_read_hypervisor(struct xencons_priv *cons, char *buffer, unsigned int size) argument 275 xencons_early_init_ring(struct xencons_priv *cons) argument 285 struct xencons_priv *cons; local 302 xencons_notify_ring(struct xencons_priv *cons) argument 321 xencons_write_ring(struct xencons_priv *cons, const char *buffer, unsigned int size) argument 354 xencons_read_ring(struct xencons_priv *cons, char *buffer, unsigned int size) argument 417 xencons_rx(struct xencons_priv *cons) argument 434 xencons_tx_full(struct xencons_priv *cons) argument 446 xencons_tx_flush(struct xencons_priv *cons, int force) argument 479 xencons_putc(struct xencons_priv *cons, int c, bool force_flush) argument 493 xencons_getc(struct xencons_priv *cons) argument 516 struct xencons_priv *cons; local 540 struct xencons_priv *cons; local 648 struct xencons_priv *cons; local 660 struct xencons_priv *cons; local 671 struct xencons_priv *cons; local 684 struct xencons_priv *cons; local 730 struct xencons_priv *cons; local 759 struct xencons_priv *cons; local [all...] |
/freebsd-current/sys/dev/nvme/ |
H A D | nvme.c | 115 nvme_notify(struct nvme_consumer *cons, argument 136 if (cons->ctrlr_fn != NULL) 137 ctrlr_cookie = (*cons->ctrlr_fn)(ctrlr); 140 ctrlr->cons_cookie[cons->id] = ctrlr_cookie; 149 ctrlr->cons_cookie[cons->id] = NULL; 150 if (cons->fail_fn != NULL) 151 (*cons->fail_fn)(ctrlr_cookie); 162 if (cons->ns_fn != NULL) 163 ns->cons_cookie[cons->id] = 164 (*cons 181 nvme_notify_new_consumer(struct nvme_consumer *cons) argument 204 struct nvme_consumer *cons; local 221 struct nvme_consumer *cons; local 248 struct nvme_consumer *cons; local [all...] |
/freebsd-current/sys/contrib/xen/io/ |
H A D | libxenvchan.h | 54 uint32_t cons, prod; member in struct:ring_shared
|
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-current/sbin/dhclient/ |
H A D | tree.c | 49 cons(caddr_t car, pair cdr) function 53 error("no memory for cons.");
|
/freebsd-current/usr.bin/fstat/ |
H A D | fuser.c | 127 printflags(struct consumer *cons) argument 131 assert(cons); 133 if ((cons->uflags & uflags[i].flag) != 0) 136 if ((cons->flags & fflags[i].flag) != 0) 287 struct consumer *cons; local 325 STAILQ_FOREACH(cons, &reqfiles[i].consumers, next) 326 if (cons->pid == kp->ki_pid) { 331 cons->flags |= fst->fs_fflags; 332 cons->uflags |= fst->fs_uflags; 337 cons [all...] |
/freebsd-current/sys/dev/bnxt/ |
H A D | bnxt_txrx.c | 191 uint32_t cons = cpr->cons; local 199 last_cons = cons; 201 NEXT_CP_CONS_V(&cpr->ring, cons, v_bit); 202 CMPL_PREFETCH_NEXT(cpr, cons); 204 if (!CMP_VALID(&cmpl[cons], v_bit)) 207 type = cmpl[cons].flags_type & TX_CMPL_TYPE_MASK; 210 err = (le16toh(cmpl[cons].errors_v) & 217 avail += cmpl[cons].opaque >> 24; 228 NEXT_CP_CONS_V(&cpr->ring, cons, v_bi 324 uint32_t cons = cpr->cons; local [all...] |
/freebsd-current/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 "brea [all...] |
/freebsd-current/sys/arm64/arm64/ |
H A D | autoconf.c | 43 #include <sys/cons.h>
|
/freebsd-current/sys/riscv/riscv/ |
H A D | autoconf.c | 49 #include <sys/cons.h>
|
/freebsd-current/usr.sbin/bluetooth/bthidd/ |
H A D | server.c | 77 srv->cons = open("/dev/consolectl", O_RDWR); 78 if (srv->cons < 0) { 89 close(srv->cons); 104 close(srv->cons); 112 close(srv->cons); 122 close(srv->cons); 133 close(srv->cons); 142 close(srv->cons); 162 close(srv->cons);
|
/freebsd-current/sys/i386/i386/ |
H A D | minidump_machdep.c | 35 #include <sys/cons.h>
|
/freebsd-current/sys/powerpc/powerpc/ |
H A D | sc_machdep.c | 35 #include <sys/cons.h>
|
H A D | autoconf.c | 34 #include <sys/cons.h>
|
/freebsd-current/sys/arm/arm/ |
H A D | autoconf.c | 58 #include <sys/cons.h>
|
H A D | sc_machdep.c | 35 #include <sys/cons.h>
|
/freebsd-current/lib/libc/gen/ |
H A D | getttyent.c | 71 char *buf, *cons, *nextcons; local 84 if ((cons = strchr(buf, '/')) == NULL) 86 *cons = '\0'; 88 while ((cons = strsep(&nextcons, ",")) != NULL && strlen(cons) != 0) { 89 if (strcmp(cons, ty_name) == 0) {
|
/freebsd-current/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) argument 390 return ((prod - cons) <= XENSTORE_RING_SIZE); 397 * \param cons The consumer index for the ring. 405 xs_get_output_chunk(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod, argument 410 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) 411 *len = XENSTORE_RING_SIZE - (prod - cons); 419 * \param cons The consumer index for the ring. 427 xs_get_input_chunk(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod, argument 431 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(cons); 454 XENSTORE_RING_IDX cons, prod; local 543 XENSTORE_RING_IDX cons, prod; local [all...] |
/freebsd-current/sys/dev/cxgbe/ |
H A D | t4_mp_ring.c | 348 int i, nospc, cons; local 382 cons = -1; 388 cons = C_FAST; 391 cons = C_2; 394 cons = C_TAKEOVER; 407 if (cons == C_FAST) { 451 MPASS(cons == -1); 458 if (cons == -1) { 460 cons = C_3; 466 MPASS(cons > C_FAS [all...] |
/freebsd-current/sys/gdb/ |
H A D | gdb_cons.c | 38 #include <sys/cons.h> 60 SYSCTL_INT(_debug_gdb, OID_AUTO, cons, CTLFLAG_RWTUN, &gdbcons_enable, 0,
|
/freebsd-current/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_error.h | 26 ident_t const *ident, struct cons_data const *cons);
|
H A D | kmp_error.cpp | 82 char const *cons = NULL; // Construct name. local 90 cons = cons_text_c[ct]; 105 prgm = __kmp_msg_format(kmp_i18n_fmt_Pragma, cons, file, func, line); 124 struct cons_data const *cons // Second construct. 127 char *construct2 = __kmp_pragma(cons->type, cons->ident); 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-current/sys/x86/x86/ |
H A D | autoconf.c | 54 #include <sys/cons.h>
|
/freebsd-current/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_tx.c | 224 ring->cons = 0xffffffff; 317 ring->cons += ring->last_nr_txbb; 318 en_dbg(DRV, priv, "Freeing Tx buf - cons:0x%x prod:0x%x\n", 319 ring->cons, ring->prod); 321 if ((u32) (ring->prod - ring->cons) > ring->size) { 326 while (ring->cons != ring->prod) { 328 ring->cons & ring->size_mask); 329 ring->cons += ring->last_nr_txbb; 343 wqs = ring->size - (ring->prod - ring->cons); 369 ring_index = ring->cons [all...] |