c 105 altq/altq_rmclass_debug.h #define CBQTRACE(a, b, c)
c 84 altq/altq_var.h #define CALLOUT_INIT(c) do { bzero((c), sizeof(*(c))); } while (0)
c 85 altq/altq_var.h #define CALLOUT_RESET(c,t,f,a) do { if (!timeout_initialized(&(c)->c_to)) \
c 86 altq/altq_var.h timeout_set(&(c)->c_to, (f), (a)); \
c 87 altq/altq_var.h timeout_add(&(c)->c_to, (t)); } while (0)
c 88 altq/altq_var.h #define CALLOUT_STOP(c) timeout_del(&(c)->c_to)
c 88 arch/i386/i386/conf.c #define cdev_pc_init(c,n) { \
c 89 arch/i386/i386/conf.c dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 90 arch/i386/i386/conf.c dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
c 91 arch/i386/i386/conf.c dev_init(c,n,tty), ttpoll, dev_init(c,n,mmap), D_TTY }
c 94 arch/i386/i386/conf.c #define cdev_joy_init(c,n) { \
c 95 arch/i386/i386/conf.c dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 96 arch/i386/i386/conf.c (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 101 arch/i386/i386/conf.c #define cdev_ocis_init(c,n) { \
c 102 arch/i386/i386/conf.c dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 103 arch/i386/i386/conf.c (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 104 arch/i386/i386/conf.c (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \
c 108 arch/i386/i386/conf.c #define cdev_nvram_init(c,n) { \
c 109 arch/i386/i386/conf.c dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 197 arch/i386/i386/db_trace.c char c;
c 199 arch/i386/i386/db_trace.c while ((c = *cp++) != 0) {
c 200 arch/i386/i386/db_trace.c if (c == 't')
c 202 arch/i386/i386/db_trace.c if (c == 'p')
c 204 arch/i386/i386/db_trace.c if (c == 'u')
c 121 arch/i386/i386/mem.c int c;
c 156 arch/i386/i386/mem.c c = min(uio->uio_resid, (int)(NBPG - o));
c 157 arch/i386/i386/mem.c error = uiomove((caddr_t)vmmap + o, c, uio);
c 166 arch/i386/i386/mem.c c = min(iov->iov_len, MAXPHYS);
c 167 arch/i386/i386/mem.c if (!uvm_kernacc((caddr_t)v, c,
c 170 arch/i386/i386/mem.c error = uiomove((caddr_t)v, c, uio);
c 182 arch/i386/i386/mem.c c = iov->iov_len;
c 190 arch/i386/i386/mem.c c = min(iov->iov_len, PAGE_SIZE);
c 191 arch/i386/i386/mem.c error = uiomove(zeropage, c, uio);
c 197 arch/i386/i386/mem.c (char *)iov->iov_base += c;
c 198 arch/i386/i386/mem.c iov->iov_len -= c;
c 199 arch/i386/i386/mem.c uio->uio_offset += c;
c 200 arch/i386/i386/mem.c uio->uio_resid -= c;
c 134 arch/i386/i386/via.c struct cryptoini *c;
c 177 arch/i386/i386/via.c for (c = cri; c != NULL; c = c->cri_next) {
c 178 arch/i386/i386/via.c switch (c->cri_alg) {
c 180 arch/i386/i386/via.c switch (c->cri_klen) {
c 198 arch/i386/i386/via.c ses->ses_klen = c->cri_klen;
c 202 arch/i386/i386/via.c rijndaelKeySetupEnc(ses->ses_ekey, c->cri_key,
c 203 arch/i386/i386/via.c c->cri_klen);
c 204 arch/i386/i386/via.c rijndaelKeySetupDec(ses->ses_dkey, c->cri_key,
c 205 arch/i386/i386/via.c c->cri_klen);
c 255 arch/i386/i386/via.c for (i = 0; i < c->cri_klen / 8; i++)
c 256 arch/i386/i386/via.c c->cri_key[i] ^= HMAC_IPAD_VAL;
c 259 arch/i386/i386/via.c axf->Update(swd->sw_ictx, c->cri_key, c->cri_klen / 8);
c 261 arch/i386/i386/via.c HMAC_BLOCK_LEN - (c->cri_klen / 8));
c 263 arch/i386/i386/via.c for (i = 0; i < c->cri_klen / 8; i++)
c 264 arch/i386/i386/via.c c->cri_key[i] ^= (HMAC_IPAD_VAL ^
c 268 arch/i386/i386/via.c axf->Update(swd->sw_octx, c->cri_key, c->cri_klen / 8);
c 270 arch/i386/i386/via.c HMAC_BLOCK_LEN - (c->cri_klen / 8));
c 272 arch/i386/i386/via.c for (i = 0; i < c->cri_klen / 8; i++)
c 273 arch/i386/i386/via.c c->cri_key[i] ^= HMAC_OPAD_VAL;
c 276 arch/i386/i386/via.c swd->sw_alg = c->cri_alg;
c 107 arch/i386/include/biosvar.h #define BIOS32_MAKESIG(a, b, c, d) \
c 108 arch/i386/include/biosvar.h ((a) | ((b) << 8) | ((c) << 16) | ((d) << 24))
c 206 arch/i386/include/bus.h #define bus_space_read_raw_multi_2(t, h, o, a, c) \
c 207 arch/i386/include/bus.h bus_space_read_multi_2((t), (h), (o), (u_int16_t *)(a), (c) >> 1)
c 208 arch/i386/include/bus.h #define bus_space_read_raw_multi_4(t, h, o, a, c) \
c 209 arch/i386/include/bus.h bus_space_read_multi_4((t), (h), (o), (u_int32_t *)(a), (c) >> 2)
c 287 arch/i386/include/bus.h #define bus_space_read_raw_region_2(t, h, o, a, c) \
c 288 arch/i386/include/bus.h bus_space_read_region_2((t), (h), (o), (u_int16_t *)(a), (c) >> 1)
c 289 arch/i386/include/bus.h #define bus_space_read_raw_region_4(t, h, o, a, c) \
c 290 arch/i386/include/bus.h bus_space_read_region_4((t), (h), (o), (u_int32_t *)(a), (c) >> 2)
c 383 arch/i386/include/bus.h #define bus_space_write_multi_8(t, h, o, a, c) \
c 398 arch/i386/include/bus.h #define bus_space_write_raw_multi_2(t, h, o, a, c) \
c 399 arch/i386/include/bus.h bus_space_write_multi_2((t), (h), (o), (const u_int16_t *)(a), (c) >> 1)
c 400 arch/i386/include/bus.h #define bus_space_write_raw_multi_4(t, h, o, a, c) \
c 401 arch/i386/include/bus.h bus_space_write_multi_4((t), (h), (o), (const u_int32_t *)(a), (c) >> 2)
c 479 arch/i386/include/bus.h #define bus_space_write_raw_region_2(t, h, o, a, c) \
c 480 arch/i386/include/bus.h bus_space_write_region_2((t), (h), (o), (const u_int16_t *)(a), (c) >> 1)
c 481 arch/i386/include/bus.h #define bus_space_write_raw_region_4(t, h, o, a, c) \
c 482 arch/i386/include/bus.h bus_space_write_region_4((t), (h), (o), (const u_int32_t *)(a), (c) >> 2)
c 44 arch/i386/include/conf.h #define cdev_pc_init(c,n) { \
c 45 arch/i386/include/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 46 arch/i386/include/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
c 47 arch/i386/include/conf.h dev_init(c,n,tty), ttpoll, dev_init(c,n,mmap), D_TTY }
c 52 arch/i386/include/conf.h #define cdev_apm_init(c,n) {\
c 53 arch/i386/include/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 54 arch/i386/include/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 56 arch/i386/include/conf.h (dev_type_mmap((*))) enodev, 0, D_KQFILTER, dev_init(c,n,kqfilter) }
c 58 arch/i386/include/conf.h #define cdev_acpi_init(c,n) {\
c 59 arch/i386/include/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 60 arch/i386/include/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 62 arch/i386/include/conf.h (dev_type_mmap((*))) enodev, 0, D_KQFILTER, dev_init(c,n,kqfilter) }
c 52 arch/i386/include/loadfile_machdep.h #define READ(f, b, c) read((f), (void *)LOADADDR(b), (size_t)(c))
c 53 arch/i386/include/loadfile_machdep.h #define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
c 54 arch/i386/include/loadfile_machdep.h #define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
c 63 arch/i386/include/segments.h #define USERMODE(c, f) (ISPL(c) == SEL_UPL || ((f) & PSL_VM) != 0)
c 64 arch/i386/include/segments.h #define KERNELMODE(c, f) (ISPL(c) == SEL_KPL && ((f) & PSL_VM) == 0)
c 66 arch/i386/include/segments.h #define USERMODE(c, f) (ISPL(c) == SEL_UPL)
c 67 arch/i386/include/segments.h #define KERNELMODE(c, f) (ISPL(c) == SEL_KPL)
c 282 arch/i386/isa/clock.c int c = a; \
c 284 arch/i386/isa/clock.c b = c; \
c 96 arch/i386/isa/joy.c struct joystick c;
c 121 arch/i386/isa/joy.c c.x = x ? sc->x_off[JOYPART(dev)] + TICKS2USEC(t0 - x) : 0x80000000;
c 122 arch/i386/isa/joy.c c.y = y ? sc->y_off[JOYPART(dev)] + TICKS2USEC(t0 - y) : 0x80000000;
c 124 arch/i386/isa/joy.c c.b1 = ~state & 1;
c 125 arch/i386/isa/joy.c c.b2 = ~(state >> 1) & 1;
c 126 arch/i386/isa/joy.c return uiomove((caddr_t) & c, sizeof(struct joystick), uio);
c 1237 arch/i386/isa/pccom.c int unit, s, c;
c 1268 arch/i386/isa/pccom.c c = sc->sc_rxbuf[rxget];
c 1275 arch/i386/isa/pccom.c c |= lsrmap[(lsr & (LSR_BI|LSR_FE|LSR_PE)) >> 2];
c 1276 arch/i386/isa/pccom.c line->l_rint(c, tp);
c 1382 arch/i386/isa/pccom.c u_int8_t lsr, c;
c 1399 arch/i386/isa/pccom.c c = bus_space_read_1(iot, ioh, com_data);
c 1408 arch/i386/isa/pccom.c c = 0;
c 1413 arch/i386/isa/pccom.c sc->sc_rxbuf[rxput] = c;
c 1534 arch/i386/isa/pccom.c u_char stat, c;
c 1540 arch/i386/isa/pccom.c c = bus_space_read_1(iot, ioh, com_data);
c 1544 arch/i386/isa/pccom.c return (c);
c 1548 arch/i386/isa/pccom.c com_common_putc(bus_space_tag_t iot, bus_space_handle_t ioh, int c)
c 1558 arch/i386/isa/pccom.c bus_space_write_1(iot, ioh, com_data, c);
c 1629 arch/i386/isa/pccom.c comcnputc(dev_t dev, int c)
c 1641 arch/i386/isa/pccom.c com_common_putc(comconsiot, comconsioh, c);
c 1685 arch/i386/isa/pccom.c com_kgdb_putc(void *arg, int c)
c 1688 arch/i386/isa/pccom.c return (com_common_putc(com_kgdb_iot, com_kgdb_ioh, c));
c 343 arch/i386/pci/glxsb.c struct cryptoini *c;
c 375 arch/i386/pci/glxsb.c for (c = cri; c != NULL; c = c->cri_next) {
c 376 arch/i386/pci/glxsb.c switch (c->cri_alg) {
c 378 arch/i386/pci/glxsb.c if (c->cri_klen != 128) {
c 384 arch/i386/pci/glxsb.c ses->ses_klen = c->cri_klen;
c 387 arch/i386/pci/glxsb.c bcopy(c->cri_key, ses->ses_key, sizeof(ses->ses_key));
c 432 arch/i386/pci/glxsb.c for (i = 0; i < c->cri_klen / 8; i++)
c 433 arch/i386/pci/glxsb.c c->cri_key[i] ^= HMAC_IPAD_VAL;
c 436 arch/i386/pci/glxsb.c axf->Update(swd->sw_ictx, c->cri_key, c->cri_klen / 8);
c 438 arch/i386/pci/glxsb.c HMAC_BLOCK_LEN - (c->cri_klen / 8));
c 440 arch/i386/pci/glxsb.c for (i = 0; i < c->cri_klen / 8; i++)
c 441 arch/i386/pci/glxsb.c c->cri_key[i] ^= (HMAC_IPAD_VAL ^
c 445 arch/i386/pci/glxsb.c axf->Update(swd->sw_octx, c->cri_key, c->cri_klen / 8);
c 447 arch/i386/pci/glxsb.c HMAC_BLOCK_LEN - (c->cri_klen / 8));
c 449 arch/i386/pci/glxsb.c for (i = 0; i < c->cri_klen / 8; i++)
c 450 arch/i386/pci/glxsb.c c->cri_key[i] ^= HMAC_OPAD_VAL;
c 453 arch/i386/pci/glxsb.c swd->sw_alg = c->cri_alg;
c 113 arch/i386/stand/installboot/installboot.c int c;
c 123 arch/i386/stand/installboot/installboot.c while ((c = getopt(argc, argv, "vn")) != -1) {
c 124 arch/i386/stand/installboot/installboot.c switch (c) {
c 110 arch/i386/stand/libsa/bioscons.c pc_putc(dev_t dev, int c)
c 112 arch/i386/stand/libsa/bioscons.c __asm __volatile(DOINT(0x10) : : "a" (c | 0xe00), "b" (1) :
c 219 arch/i386/stand/libsa/bioscons.c com_putc(dev_t dev, int c)
c 233 arch/i386/stand/libsa/bioscons.c "0" (c | 0x100), "d" (dev) : "%ecx", "cc" );
c 45 arch/i386/stand/libsa/debug.c #define CKPT(c) (*(u_short volatile *)(VBASE+160) = (0x1700 | (c)))
c 47 arch/i386/stand/libsa/debug.c #define CKPT(c) /* c */
c 103 arch/i386/stand/libsa/debug.c d_putc(dev_t d, int c)
c 105 arch/i386/stand/libsa/debug.c switch (c) {
c 112 arch/i386/stand/libsa/debug.c ((u_int16_t volatile *)VBASE)[d_pos++] = 0x0700 | (u_char)c;
c 119 arch/i386/stand/libsa/dev_i386.c putchar(int c)
c 121 arch/i386/stand/libsa/dev_i386.c switch (c) {
c 137 arch/i386/stand/libsa/dev_i386.c cnputc(c);
c 141 arch/i386/stand/libsa/dev_i386.c cnputc(c);
c 150 arch/i386/stand/libsa/dev_i386.c register int c = cngetc();
c 152 arch/i386/stand/libsa/dev_i386.c if (c == '\r')
c 153 arch/i386/stand/libsa/dev_i386.c c = '\n';
c 155 arch/i386/stand/libsa/dev_i386.c if ((c < ' ' && c != '\n') || c == '\177')
c 156 arch/i386/stand/libsa/dev_i386.c return c;
c 158 arch/i386/stand/libsa/dev_i386.c putchar(c);
c 160 arch/i386/stand/libsa/dev_i386.c return c;
c 310 arch/i386/stand/libsa/diskprobe.c char c;
c 313 arch/i386/stand/libsa/diskprobe.c c = 'c';
c 316 arch/i386/stand/libsa/diskprobe.c c = (d & 0x80) ? 'h' : 'f';
c 320 arch/i386/stand/libsa/diskprobe.c c, u, d,
c 38 arch/i386/stand/libsa/machdep.c #define CKPT(c) (*(u_int16_t*)0xb8148 = 0x4700 + (c))
c 40 arch/i386/stand/libsa/machdep.c #define CKPT(c) /* c */
c 43 arch/i386/stand/libsa/time.c bcdtoint(u_int8_t c)
c 46 arch/i386/stand/libsa/time.c return ((c & 0xf0) / 8) * 5 + (c & 0x0f);
c 150 arch/i386/stand/pxeboot/devopen.c putchar(int c)
c 152 arch/i386/stand/pxeboot/devopen.c switch (c) {
c 168 arch/i386/stand/pxeboot/devopen.c cnputc(c);
c 172 arch/i386/stand/pxeboot/devopen.c cnputc(c);
c 181 arch/i386/stand/pxeboot/devopen.c register int c = cngetc();
c 183 arch/i386/stand/pxeboot/devopen.c if (c == '\r')
c 184 arch/i386/stand/pxeboot/devopen.c c = '\n';
c 186 arch/i386/stand/pxeboot/devopen.c if ((c < ' ' && c != '\n') || c == '\177')
c 187 arch/i386/stand/pxeboot/devopen.c return c;
c 189 arch/i386/stand/pxeboot/devopen.c putchar(c);
c 191 arch/i386/stand/pxeboot/devopen.c return c;
c 147 arch/i386/stand/pxeboot/net.c char c;
c 158 arch/i386/stand/pxeboot/net.c while ((c = *cp) != '\0') {
c 159 arch/i386/stand/pxeboot/net.c if (c >= '0' && c <= '9') {
c 160 arch/i386/stand/pxeboot/net.c val = (val * 10) + (c - '0');
c 682 compat/linux/linux_termios.c u_char c, *cp;
c 690 compat/linux/linux_termios.c c = tmpbts.c_cc[VSTOP];
c 692 compat/linux/linux_termios.c c = tmpbts.c_cc[VSTART];
c 693 compat/linux/linux_termios.c if (c == _POSIX_VDISABLE)
c 698 compat/linux/linux_termios.c if ((error = copyout(&c, cp, 1)))
c 64 compat/svr4/svr4_ioctl.c svr4_decode_cmd(cmd, dir, c, num, argsiz)
c 66 compat/svr4/svr4_ioctl.c char *dir, *c;
c 81 compat/svr4/svr4_ioctl.c *c = (cmd >> 8) & 0xff;
c 101 compat/svr4/svr4_ioctl.c char c;
c 105 compat/svr4/svr4_ioctl.c svr4_decode_cmd(SCARG(uap, com), dir, &c, &num, &argsiz);
c 108 compat/svr4/svr4_ioctl.c dir, c, num, argsiz, SCARG(uap, data));
c 58 compat/svr4/svr4_termios.c # define __CONCAT3(a,b,c) a ## b ## c
c 60 compat/svr4/svr4_termios.c # define __CONCAT3(a,b,c) a/**/b/**/c
c 65 crypto/blf.c Blowfish_encipher(blf_ctx *c, u_int32_t *x)
c 69 crypto/blf.c u_int32_t *s = c->S[0];
c 70 crypto/blf.c u_int32_t *p = c->P;
c 90 crypto/blf.c Blowfish_decipher(blf_ctx *c, u_int32_t *x)
c 94 crypto/blf.c u_int32_t *s = c->S[0];
c 95 crypto/blf.c u_int32_t *p = c->P;
c 115 crypto/blf.c Blowfish_initstate(blf_ctx *c)
c 391 crypto/blf.c *c = initstate;
c 416 crypto/blf.c Blowfish_expand0state(blf_ctx *c, const u_int8_t *key, u_int16_t keybytes)
c 428 crypto/blf.c c->P[i] = c->P[i] ^ temp;
c 435 crypto/blf.c Blowfish_encipher(c, data);
c 437 crypto/blf.c c->P[i] = data[0];
c 438 crypto/blf.c c->P[i + 1] = data[1];
c 443 crypto/blf.c Blowfish_encipher(c, data);
c 445 crypto/blf.c c->S[i][k] = data[0];
c 446 crypto/blf.c c->S[i][k + 1] = data[1];
c 453 crypto/blf.c Blowfish_expandstate(blf_ctx *c, const u_int8_t *data, u_int16_t databytes,
c 466 crypto/blf.c c->P[i] = c->P[i] ^ temp;
c 475 crypto/blf.c Blowfish_encipher(c, d);
c 477 crypto/blf.c c->P[i] = d[0];
c 478 crypto/blf.c c->P[i + 1] = d[1];
c 485 crypto/blf.c Blowfish_encipher(c, d);
c 487 crypto/blf.c c->S[i][k] = d[0];
c 488 crypto/blf.c c->S[i][k + 1] = d[1];
c 495 crypto/blf.c blf_key(blf_ctx *c, const u_int8_t *k, u_int16_t len)
c 498 crypto/blf.c Blowfish_initstate(c);
c 501 crypto/blf.c Blowfish_expand0state(c, k, len);
c 505 crypto/blf.c blf_enc(blf_ctx *c, u_int32_t *data, u_int16_t blocks)
c 512 crypto/blf.c Blowfish_encipher(c, d);
c 518 crypto/blf.c blf_dec(blf_ctx *c, u_int32_t *data, u_int16_t blocks)
c 525 crypto/blf.c Blowfish_decipher(c, d);
c 531 crypto/blf.c blf_ecb_encrypt(blf_ctx *c, u_int8_t *data, u_int32_t len)
c 541 crypto/blf.c Blowfish_encipher(c, d);
c 557 crypto/blf.c blf_ecb_decrypt(blf_ctx *c, u_int8_t *data, u_int32_t len)
c 567 crypto/blf.c Blowfish_decipher(c, d);
c 583 crypto/blf.c blf_cbc_encrypt(blf_ctx *c, u_int8_t *iv, u_int8_t *data, u_int32_t len)
c 595 crypto/blf.c Blowfish_encipher(c, d);
c 612 crypto/blf.c blf_cbc_decrypt(blf_ctx *c, u_int8_t *iva, u_int8_t *data, u_int32_t len)
c 625 crypto/blf.c Blowfish_decipher(c, d);
c 645 crypto/blf.c Blowfish_decipher(c, d);
c 68 crypto/cryptosoft.c #define COPYBACK(x, a, b, c, d) \
c 69 crypto/cryptosoft.c (x) == CRYPTO_BUF_MBUF ? m_copyback((struct mbuf *)a,b,c,d) \
c 70 crypto/cryptosoft.c : cuio_copyback((struct uio *)a,b,c,d)
c 71 crypto/cryptosoft.c #define COPYDATA(x, a, b, c, d) \
c 72 crypto/cryptosoft.c (x) == CRYPTO_BUF_MBUF ? m_copydata((struct mbuf *)a,b,c,d) \
c 73 crypto/cryptosoft.c : cuio_copydata((struct uio *)a,b,c,d)
c 90 crypto/des_locl.h #define c2l(c,l) (l =((u_int32_t)(*((c)++))) , \
c 91 crypto/des_locl.h l|=((u_int32_t)(*((c)++)))<< 8L, \
c 92 crypto/des_locl.h l|=((u_int32_t)(*((c)++)))<<16L, \
c 93 crypto/des_locl.h l|=((u_int32_t)(*((c)++)))<<24L)
c 96 crypto/des_locl.h #define c2ln(c,l1,l2,n) { \
c 97 crypto/des_locl.h c+=n; \
c 100 crypto/des_locl.h case 8: l2 =((u_int32_t)(*(--(c))))<<24L; \
c 101 crypto/des_locl.h case 7: l2|=((u_int32_t)(*(--(c))))<<16L; \
c 102 crypto/des_locl.h case 6: l2|=((u_int32_t)(*(--(c))))<< 8L; \
c 103 crypto/des_locl.h case 5: l2|=((u_int32_t)(*(--(c)))); \
c 104 crypto/des_locl.h case 4: l1 =((u_int32_t)(*(--(c))))<<24L; \
c 105 crypto/des_locl.h case 3: l1|=((u_int32_t)(*(--(c))))<<16L; \
c 106 crypto/des_locl.h case 2: l1|=((u_int32_t)(*(--(c))))<< 8L; \
c 107 crypto/des_locl.h case 1: l1|=((u_int32_t)(*(--(c)))); \
c 111 crypto/des_locl.h #define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \
c 112 crypto/des_locl.h *((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
c 113 crypto/des_locl.h *((c)++)=(unsigned char)(((l)>>16L)&0xff), \
c 114 crypto/des_locl.h *((c)++)=(unsigned char)(((l)>>24L)&0xff))
c 120 crypto/des_locl.h #define n2l(c,l) (l =((u_int32_t)(*((c)++)))<<24L, \
c 121 crypto/des_locl.h l|=((u_int32_t)(*((c)++)))<<16L, \
c 122 crypto/des_locl.h l|=((u_int32_t)(*((c)++)))<< 8L, \
c 123 crypto/des_locl.h l|=((u_int32_t)(*((c)++))))
c 125 crypto/des_locl.h #define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24L)&0xff), \
c 126 crypto/des_locl.h *((c)++)=(unsigned char)(((l)>>16L)&0xff), \
c 127 crypto/des_locl.h *((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
c 128 crypto/des_locl.h *((c)++)=(unsigned char)(((l) )&0xff))
c 131 crypto/des_locl.h #define l2cn(l1,l2,c,n) { \
c 132 crypto/des_locl.h c+=n; \
c 134 crypto/des_locl.h case 8: *(--(c))=(unsigned char)(((l2)>>24L)&0xff); \
c 135 crypto/des_locl.h case 7: *(--(c))=(unsigned char)(((l2)>>16L)&0xff); \
c 136 crypto/des_locl.h case 6: *(--(c))=(unsigned char)(((l2)>> 8L)&0xff); \
c 137 crypto/des_locl.h case 5: *(--(c))=(unsigned char)(((l2) )&0xff); \
c 138 crypto/des_locl.h case 4: *(--(c))=(unsigned char)(((l1)>>24L)&0xff); \
c 139 crypto/des_locl.h case 3: *(--(c))=(unsigned char)(((l1)>>16L)&0xff); \
c 140 crypto/des_locl.h case 2: *(--(c))=(unsigned char)(((l1)>> 8L)&0xff); \
c 141 crypto/des_locl.h case 1: *(--(c))=(unsigned char)(((l1) )&0xff); \
c 148 crypto/md5.c u_int32_t a, b, c, d, in[MD5_BLOCK_LENGTH / 4];
c 164 crypto/md5.c c = state[2];
c 167 crypto/md5.c MD5STEP(F1, a, b, c, d, in[ 0] + 0xd76aa478, 7);
c 168 crypto/md5.c MD5STEP(F1, d, a, b, c, in[ 1] + 0xe8c7b756, 12);
c 169 crypto/md5.c MD5STEP(F1, c, d, a, b, in[ 2] + 0x242070db, 17);
c 170 crypto/md5.c MD5STEP(F1, b, c, d, a, in[ 3] + 0xc1bdceee, 22);
c 171 crypto/md5.c MD5STEP(F1, a, b, c, d, in[ 4] + 0xf57c0faf, 7);
c 172 crypto/md5.c MD5STEP(F1, d, a, b, c, in[ 5] + 0x4787c62a, 12);
c 173 crypto/md5.c MD5STEP(F1, c, d, a, b, in[ 6] + 0xa8304613, 17);
c 174 crypto/md5.c MD5STEP(F1, b, c, d, a, in[ 7] + 0xfd469501, 22);
c 175 crypto/md5.c MD5STEP(F1, a, b, c, d, in[ 8] + 0x698098d8, 7);
c 176 crypto/md5.c MD5STEP(F1, d, a, b, c, in[ 9] + 0x8b44f7af, 12);
c 177 crypto/md5.c MD5STEP(F1, c, d, a, b, in[10] + 0xffff5bb1, 17);
c 178 crypto/md5.c MD5STEP(F1, b, c, d, a, in[11] + 0x895cd7be, 22);
c 179 crypto/md5.c MD5STEP(F1, a, b, c, d, in[12] + 0x6b901122, 7);
c 180 crypto/md5.c MD5STEP(F1, d, a, b, c, in[13] + 0xfd987193, 12);
c 181 crypto/md5.c MD5STEP(F1, c, d, a, b, in[14] + 0xa679438e, 17);
c 182 crypto/md5.c MD5STEP(F1, b, c, d, a, in[15] + 0x49b40821, 22);
c 184 crypto/md5.c MD5STEP(F2, a, b, c, d, in[ 1] + 0xf61e2562, 5);
c 185 crypto/md5.c MD5STEP(F2, d, a, b, c, in[ 6] + 0xc040b340, 9);
c 186 crypto/md5.c MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51, 14);
c 187 crypto/md5.c MD5STEP(F2, b, c, d, a, in[ 0] + 0xe9b6c7aa, 20);
c 188 crypto/md5.c MD5STEP(F2, a, b, c, d, in[ 5] + 0xd62f105d, 5);
c 189 crypto/md5.c MD5STEP(F2, d, a, b, c, in[10] + 0x02441453, 9);
c 190 crypto/md5.c MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681, 14);
c 191 crypto/md5.c MD5STEP(F2, b, c, d, a, in[ 4] + 0xe7d3fbc8, 20);
c 192 crypto/md5.c MD5STEP(F2, a, b, c, d, in[ 9] + 0x21e1cde6, 5);
c 193 crypto/md5.c MD5STEP(F2, d, a, b, c, in[14] + 0xc33707d6, 9);
c 194 crypto/md5.c MD5STEP(F2, c, d, a, b, in[ 3] + 0xf4d50d87, 14);
c 195 crypto/md5.c MD5STEP(F2, b, c, d, a, in[ 8] + 0x455a14ed, 20);
c 196 crypto/md5.c MD5STEP(F2, a, b, c, d, in[13] + 0xa9e3e905, 5);
c 197 crypto/md5.c MD5STEP(F2, d, a, b, c, in[ 2] + 0xfcefa3f8, 9);
c 198 crypto/md5.c MD5STEP(F2, c, d, a, b, in[ 7] + 0x676f02d9, 14);
c 199 crypto/md5.c MD5STEP(F2, b, c, d, a, in[12] + 0x8d2a4c8a, 20);
c 201 crypto/md5.c MD5STEP(F3, a, b, c, d, in[ 5] + 0xfffa3942, 4);
c 202 crypto/md5.c MD5STEP(F3, d, a, b, c, in[ 8] + 0x8771f681, 11);
c 203 crypto/md5.c MD5STEP(F3, c, d, a, b, in[11] + 0x6d9d6122, 16);
c 204 crypto/md5.c MD5STEP(F3, b, c, d, a, in[14] + 0xfde5380c, 23);
c 205 crypto/md5.c MD5STEP(F3, a, b, c, d, in[ 1] + 0xa4beea44, 4);
c 206 crypto/md5.c MD5STEP(F3, d, a, b, c, in[ 4] + 0x4bdecfa9, 11);
c 207 crypto/md5.c MD5STEP(F3, c, d, a, b, in[ 7] + 0xf6bb4b60, 16);
c 208 crypto/md5.c MD5STEP(F3, b, c, d, a, in[10] + 0xbebfbc70, 23);
c 209 crypto/md5.c MD5STEP(F3, a, b, c, d, in[13] + 0x289b7ec6, 4);
c 210 crypto/md5.c MD5STEP(F3, d, a, b, c, in[ 0] + 0xeaa127fa, 11);
c 211 crypto/md5.c MD5STEP(F3, c, d, a, b, in[ 3] + 0xd4ef3085, 16);
c 212 crypto/md5.c MD5STEP(F3, b, c, d, a, in[ 6] + 0x04881d05, 23);
c 213 crypto/md5.c MD5STEP(F3, a, b, c, d, in[ 9] + 0xd9d4d039, 4);
c 214 crypto/md5.c MD5STEP(F3, d, a, b, c, in[12] + 0xe6db99e5, 11);
c 215 crypto/md5.c MD5STEP(F3, c, d, a, b, in[15] + 0x1fa27cf8, 16);
c 216 crypto/md5.c MD5STEP(F3, b, c, d, a, in[2 ] + 0xc4ac5665, 23);
c 218 crypto/md5.c MD5STEP(F4, a, b, c, d, in[ 0] + 0xf4292244, 6);
c 219 crypto/md5.c MD5STEP(F4, d, a, b, c, in[7 ] + 0x432aff97, 10);
c 220 crypto/md5.c MD5STEP(F4, c, d, a, b, in[14] + 0xab9423a7, 15);
c 221 crypto/md5.c MD5STEP(F4, b, c, d, a, in[5 ] + 0xfc93a039, 21);
c 222 crypto/md5.c MD5STEP(F4, a, b, c, d, in[12] + 0x655b59c3, 6);
c 223 crypto/md5.c MD5STEP(F4, d, a, b, c, in[3 ] + 0x8f0ccc92, 10);
c 224 crypto/md5.c MD5STEP(F4, c, d, a, b, in[10] + 0xffeff47d, 15);
c 225 crypto/md5.c MD5STEP(F4, b, c, d, a, in[1 ] + 0x85845dd1, 21);
c 226 crypto/md5.c MD5STEP(F4, a, b, c, d, in[8 ] + 0x6fa87e4f, 6);
c 227 crypto/md5.c MD5STEP(F4, d, a, b, c, in[15] + 0xfe2ce6e0, 10);
c 228 crypto/md5.c MD5STEP(F4, c, d, a, b, in[6 ] + 0xa3014314, 15);
c 229 crypto/md5.c MD5STEP(F4, b, c, d, a, in[13] + 0x4e0811a1, 21);
c 230 crypto/md5.c MD5STEP(F4, a, b, c, d, in[4 ] + 0xf7537e82, 6);
c 231 crypto/md5.c MD5STEP(F4, d, a, b, c, in[11] + 0xbd3af235, 10);
c 232 crypto/md5.c MD5STEP(F4, c, d, a, b, in[2 ] + 0x2ad7d2bb, 15);
c 233 crypto/md5.c MD5STEP(F4, b, c, d, a, in[9 ] + 0xeb86d391, 21);
c 237 crypto/md5.c state[2] += c;
c 78 crypto/rmd160.c #define R(a, b, c, d, e, Fj, Kj, sj, rj) \
c 80 crypto/rmd160.c a = ROL(sj, a + Fj(b,c,d) + X(rj) + Kj) + e; \
c 81 crypto/rmd160.c c = ROL(10, c); \
c 159 crypto/rmd160.c u_int32_t a, b, c, d, e, aa, bb, cc, dd, ee, t, x[16];
c 176 crypto/rmd160.c c = state[2];
c 181 crypto/rmd160.c R(a, b, c, d, e, F0, K0, 11, 0);
c 182 crypto/rmd160.c R(e, a, b, c, d, F0, K0, 14, 1);
c 183 crypto/rmd160.c R(d, e, a, b, c, F0, K0, 15, 2);
c 184 crypto/rmd160.c R(c, d, e, a, b, F0, K0, 12, 3);
c 185 crypto/rmd160.c R(b, c, d, e, a, F0, K0, 5, 4);
c 186 crypto/rmd160.c R(a, b, c, d, e, F0, K0, 8, 5);
c 187 crypto/rmd160.c R(e, a, b, c, d, F0, K0, 7, 6);
c 188 crypto/rmd160.c R(d, e, a, b, c, F0, K0, 9, 7);
c 189 crypto/rmd160.c R(c, d, e, a, b, F0, K0, 11, 8);
c 190 crypto/rmd160.c R(b, c, d, e, a, F0, K0, 13, 9);
c 191 crypto/rmd160.c R(a, b, c, d, e, F0, K0, 14, 10);
c 192 crypto/rmd160.c R(e, a, b, c, d, F0, K0, 15, 11);
c 193 crypto/rmd160.c R(d, e, a, b, c, F0, K0, 6, 12);
c 194 crypto/rmd160.c R(c, d, e, a, b, F0, K0, 7, 13);
c 195 crypto/rmd160.c R(b, c, d, e, a, F0, K0, 9, 14);
c 196 crypto/rmd160.c R(a, b, c, d, e, F0, K0, 8, 15); /* #15 */
c 198 crypto/rmd160.c R(e, a, b, c, d, F1, K1, 7, 7);
c 199 crypto/rmd160.c R(d, e, a, b, c, F1, K1, 6, 4);
c 200 crypto/rmd160.c R(c, d, e, a, b, F1, K1, 8, 13);
c 201 crypto/rmd160.c R(b, c, d, e, a, F1, K1, 13, 1);
c 202 crypto/rmd160.c R(a, b, c, d, e, F1, K1, 11, 10);
c 203 crypto/rmd160.c R(e, a, b, c, d, F1, K1, 9, 6);
c 204 crypto/rmd160.c R(d, e, a, b, c, F1, K1, 7, 15);
c 205 crypto/rmd160.c R(c, d, e, a, b, F1, K1, 15, 3);
c 206 crypto/rmd160.c R(b, c, d, e, a, F1, K1, 7, 12);
c 207 crypto/rmd160.c R(a, b, c, d, e, F1, K1, 12, 0);
c 208 crypto/rmd160.c R(e, a, b, c, d, F1, K1, 15, 9);
c 209 crypto/rmd160.c R(d, e, a, b, c, F1, K1, 9, 5);
c 210 crypto/rmd160.c R(c, d, e, a, b, F1, K1, 11, 2);
c 211 crypto/rmd160.c R(b, c, d, e, a, F1, K1, 7, 14);
c 212 crypto/rmd160.c R(a, b, c, d, e, F1, K1, 13, 11);
c 213 crypto/rmd160.c R(e, a, b, c, d, F1, K1, 12, 8); /* #31 */
c 215 crypto/rmd160.c R(d, e, a, b, c, F2, K2, 11, 3);
c 216 crypto/rmd160.c R(c, d, e, a, b, F2, K2, 13, 10);
c 217 crypto/rmd160.c R(b, c, d, e, a, F2, K2, 6, 14);
c 218 crypto/rmd160.c R(a, b, c, d, e, F2, K2, 7, 4);
c 219 crypto/rmd160.c R(e, a, b, c, d, F2, K2, 14, 9);
c 220 crypto/rmd160.c R(d, e, a, b, c, F2, K2, 9, 15);
c 221 crypto/rmd160.c R(c, d, e, a, b, F2, K2, 13, 8);
c 222 crypto/rmd160.c R(b, c, d, e, a, F2, K2, 15, 1);
c 223 crypto/rmd160.c R(a, b, c, d, e, F2, K2, 14, 2);
c 224 crypto/rmd160.c R(e, a, b, c, d, F2, K2, 8, 7);
c 225 crypto/rmd160.c R(d, e, a, b, c, F2, K2, 13, 0);
c 226 crypto/rmd160.c R(c, d, e, a, b, F2, K2, 6, 6);
c 227 crypto/rmd160.c R(b, c, d, e, a, F2, K2, 5, 13);
c 228 crypto/rmd160.c R(a, b, c, d, e, F2, K2, 12, 11);
c 229 crypto/rmd160.c R(e, a, b, c, d, F2, K2, 7, 5);
c 230 crypto/rmd160.c R(d, e, a, b, c, F2, K2, 5, 12); /* #47 */
c 232 crypto/rmd160.c R(c, d, e, a, b, F3, K3, 11, 1);
c 233 crypto/rmd160.c R(b, c, d, e, a, F3, K3, 12, 9);
c 234 crypto/rmd160.c R(a, b, c, d, e, F3, K3, 14, 11);
c 235 crypto/rmd160.c R(e, a, b, c, d, F3, K3, 15, 10);
c 236 crypto/rmd160.c R(d, e, a, b, c, F3, K3, 14, 0);
c 237 crypto/rmd160.c R(c, d, e, a, b, F3, K3, 15, 8);
c 238 crypto/rmd160.c R(b, c, d, e, a, F3, K3, 9, 12);
c 239 crypto/rmd160.c R(a, b, c, d, e, F3, K3, 8, 4);
c 240 crypto/rmd160.c R(e, a, b, c, d, F3, K3, 9, 13);
c 241 crypto/rmd160.c R(d, e, a, b, c, F3, K3, 14, 3);
c 242 crypto/rmd160.c R(c, d, e, a, b, F3, K3, 5, 7);
c 243 crypto/rmd160.c R(b, c, d, e, a, F3, K3, 6, 15);
c 244 crypto/rmd160.c R(a, b, c, d, e, F3, K3, 8, 14);
c 245 crypto/rmd160.c R(e, a, b, c, d, F3, K3, 6, 5);
c 246 crypto/rmd160.c R(d, e, a, b, c, F3, K3, 5, 6);
c 247 crypto/rmd160.c R(c, d, e, a, b, F3, K3, 12, 2); /* #63 */
c 249 crypto/rmd160.c R(b, c, d, e, a, F4, K4, 9, 4);
c 250 crypto/rmd160.c R(a, b, c, d, e, F4, K4, 15, 0);
c 251 crypto/rmd160.c R(e, a, b, c, d, F4, K4, 5, 5);
c 252 crypto/rmd160.c R(d, e, a, b, c, F4, K4, 11, 9);
c 253 crypto/rmd160.c R(c, d, e, a, b, F4, K4, 6, 7);
c 254 crypto/rmd160.c R(b, c, d, e, a, F4, K4, 8, 12);
c 255 crypto/rmd160.c R(a, b, c, d, e, F4, K4, 13, 2);
c 256 crypto/rmd160.c R(e, a, b, c, d, F4, K4, 12, 10);
c 257 crypto/rmd160.c R(d, e, a, b, c, F4, K4, 5, 14);
c 258 crypto/rmd160.c R(c, d, e, a, b, F4, K4, 12, 1);
c 259 crypto/rmd160.c R(b, c, d, e, a, F4, K4, 13, 3);
c 260 crypto/rmd160.c R(a, b, c, d, e, F4, K4, 14, 8);
c 261 crypto/rmd160.c R(e, a, b, c, d, F4, K4, 11, 11);
c 262 crypto/rmd160.c R(d, e, a, b, c, F4, K4, 8, 6);
c 263 crypto/rmd160.c R(c, d, e, a, b, F4, K4, 5, 15);
c 264 crypto/rmd160.c R(b, c, d, e, a, F4, K4, 6, 13); /* #79 */
c 266 crypto/rmd160.c aa = a ; bb = b; cc = c; dd = d; ee = e;
c 270 crypto/rmd160.c c = state[2];
c 275 crypto/rmd160.c R(a, b, c, d, e, F4, KK0, 8, 5);
c 276 crypto/rmd160.c R(e, a, b, c, d, F4, KK0, 9, 14);
c 277 crypto/rmd160.c R(d, e, a, b, c, F4, KK0, 9, 7);
c 278 crypto/rmd160.c R(c, d, e, a, b, F4, KK0, 11, 0);
c 279 crypto/rmd160.c R(b, c, d, e, a, F4, KK0, 13, 9);
c 280 crypto/rmd160.c R(a, b, c, d, e, F4, KK0, 15, 2);
c 281 crypto/rmd160.c R(e, a, b, c, d, F4, KK0, 15, 11);
c 282 crypto/rmd160.c R(d, e, a, b, c, F4, KK0, 5, 4);
c 283 crypto/rmd160.c R(c, d, e, a, b, F4, KK0, 7, 13);
c 284 crypto/rmd160.c R(b, c, d, e, a, F4, KK0, 7, 6);
c 285 crypto/rmd160.c R(a, b, c, d, e, F4, KK0, 8, 15);
c 286 crypto/rmd160.c R(e, a, b, c, d, F4, KK0, 11, 8);
c 287 crypto/rmd160.c R(d, e, a, b, c, F4, KK0, 14, 1);
c 288 crypto/rmd160.c R(c, d, e, a, b, F4, KK0, 14, 10);
c 289 crypto/rmd160.c R(b, c, d, e, a, F4, KK0, 12, 3);
c 290 crypto/rmd160.c R(a, b, c, d, e, F4, KK0, 6, 12); /* #15 */
c 292 crypto/rmd160.c R(e, a, b, c, d, F3, KK1, 9, 6);
c 293 crypto/rmd160.c R(d, e, a, b, c, F3, KK1, 13, 11);
c 294 crypto/rmd160.c R(c, d, e, a, b, F3, KK1, 15, 3);
c 295 crypto/rmd160.c R(b, c, d, e, a, F3, KK1, 7, 7);
c 296 crypto/rmd160.c R(a, b, c, d, e, F3, KK1, 12, 0);
c 297 crypto/rmd160.c R(e, a, b, c, d, F3, KK1, 8, 13);
c 298 crypto/rmd160.c R(d, e, a, b, c, F3, KK1, 9, 5);
c 299 crypto/rmd160.c R(c, d, e, a, b, F3, KK1, 11, 10);
c 300 crypto/rmd160.c R(b, c, d, e, a, F3, KK1, 7, 14);
c 301 crypto/rmd160.c R(a, b, c, d, e, F3, KK1, 7, 15);
c 302 crypto/rmd160.c R(e, a, b, c, d, F3, KK1, 12, 8);
c 303 crypto/rmd160.c R(d, e, a, b, c, F3, KK1, 7, 12);
c 304 crypto/rmd160.c R(c, d, e, a, b, F3, KK1, 6, 4);
c 305 crypto/rmd160.c R(b, c, d, e, a, F3, KK1, 15, 9);
c 306 crypto/rmd160.c R(a, b, c, d, e, F3, KK1, 13, 1);
c 307 crypto/rmd160.c R(e, a, b, c, d, F3, KK1, 11, 2); /* #31 */
c 309 crypto/rmd160.c R(d, e, a, b, c, F2, KK2, 9, 15);
c 310 crypto/rmd160.c R(c, d, e, a, b, F2, KK2, 7, 5);
c 311 crypto/rmd160.c R(b, c, d, e, a, F2, KK2, 15, 1);
c 312 crypto/rmd160.c R(a, b, c, d, e, F2, KK2, 11, 3);
c 313 crypto/rmd160.c R(e, a, b, c, d, F2, KK2, 8, 7);
c 314 crypto/rmd160.c R(d, e, a, b, c, F2, KK2, 6, 14);
c 315 crypto/rmd160.c R(c, d, e, a, b, F2, KK2, 6, 6);
c 316 crypto/rmd160.c R(b, c, d, e, a, F2, KK2, 14, 9);
c 317 crypto/rmd160.c R(a, b, c, d, e, F2, KK2, 12, 11);
c 318 crypto/rmd160.c R(e, a, b, c, d, F2, KK2, 13, 8);
c 319 crypto/rmd160.c R(d, e, a, b, c, F2, KK2, 5, 12);
c 320 crypto/rmd160.c R(c, d, e, a, b, F2, KK2, 14, 2);
c 321 crypto/rmd160.c R(b, c, d, e, a, F2, KK2, 13, 10);
c 322 crypto/rmd160.c R(a, b, c, d, e, F2, KK2, 13, 0);
c 323 crypto/rmd160.c R(e, a, b, c, d, F2, KK2, 7, 4);
c 324 crypto/rmd160.c R(d, e, a, b, c, F2, KK2, 5, 13); /* #47 */
c 326 crypto/rmd160.c R(c, d, e, a, b, F1, KK3, 15, 8);
c 327 crypto/rmd160.c R(b, c, d, e, a, F1, KK3, 5, 6);
c 328 crypto/rmd160.c R(a, b, c, d, e, F1, KK3, 8, 4);
c 329 crypto/rmd160.c R(e, a, b, c, d, F1, KK3, 11, 1);
c 330 crypto/rmd160.c R(d, e, a, b, c, F1, KK3, 14, 3);
c 331 crypto/rmd160.c R(c, d, e, a, b, F1, KK3, 14, 11);
c 332 crypto/rmd160.c R(b, c, d, e, a, F1, KK3, 6, 15);
c 333 crypto/rmd160.c R(a, b, c, d, e, F1, KK3, 14, 0);
c 334 crypto/rmd160.c R(e, a, b, c, d, F1, KK3, 6, 5);
c 335 crypto/rmd160.c R(d, e, a, b, c, F1, KK3, 9, 12);
c 336 crypto/rmd160.c R(c, d, e, a, b, F1, KK3, 12, 2);
c 337 crypto/rmd160.c R(b, c, d, e, a, F1, KK3, 9, 13);
c 338 crypto/rmd160.c R(a, b, c, d, e, F1, KK3, 12, 9);
c 339 crypto/rmd160.c R(e, a, b, c, d, F1, KK3, 5, 7);
c 340 crypto/rmd160.c R(d, e, a, b, c, F1, KK3, 15, 10);
c 341 crypto/rmd160.c R(c, d, e, a, b, F1, KK3, 8, 14); /* #63 */
c 343 crypto/rmd160.c R(b, c, d, e, a, F0, KK4, 8, 12);
c 344 crypto/rmd160.c R(a, b, c, d, e, F0, KK4, 5, 15);
c 345 crypto/rmd160.c R(e, a, b, c, d, F0, KK4, 12, 10);
c 346 crypto/rmd160.c R(d, e, a, b, c, F0, KK4, 9, 4);
c 347 crypto/rmd160.c R(c, d, e, a, b, F0, KK4, 12, 1);
c 348 crypto/rmd160.c R(b, c, d, e, a, F0, KK4, 5, 5);
c 349 crypto/rmd160.c R(a, b, c, d, e, F0, KK4, 14, 8);
c 350 crypto/rmd160.c R(e, a, b, c, d, F0, KK4, 6, 7);
c 351 crypto/rmd160.c R(d, e, a, b, c, F0, KK4, 8, 6);
c 352 crypto/rmd160.c R(c, d, e, a, b, F0, KK4, 13, 2);
c 353 crypto/rmd160.c R(b, c, d, e, a, F0, KK4, 6, 13);
c 354 crypto/rmd160.c R(a, b, c, d, e, F0, KK4, 5, 14);
c 355 crypto/rmd160.c R(e, a, b, c, d, F0, KK4, 15, 0);
c 356 crypto/rmd160.c R(d, e, a, b, c, F0, KK4, 13, 3);
c 357 crypto/rmd160.c R(c, d, e, a, b, F0, KK4, 11, 9);
c 358 crypto/rmd160.c R(b, c, d, e, a, F0, KK4, 11, 11); /* #79 */
c 364 crypto/rmd160.c state[4] = state[0] + bb + c;
c 155 crypto/set_key.c register u_int32_t c,d,t,s;
c 172 crypto/set_key.c c2l(in,c);
c 191 crypto/set_key.c PERM_OP (d,c,t,4,0x0f0f0f0fL);
c 192 crypto/set_key.c HPERM_OP(c,t,-2,0xcccc0000L);
c 194 crypto/set_key.c PERM_OP (d,c,t,1,0x55555555L);
c 195 crypto/set_key.c PERM_OP (c,d,t,8,0x00ff00ffL);
c 196 crypto/set_key.c PERM_OP (d,c,t,1,0x55555555L);
c 198 crypto/set_key.c ((d&0x00ff0000L)>>16L)|((c&0xf0000000L)>>4L));
c 199 crypto/set_key.c c&=0x0fffffffL;
c 204 crypto/set_key.c { c=((c>>2L)|(c<<26L)); d=((d>>2L)|(d<<26L)); }
c 206 crypto/set_key.c { c=((c>>1L)|(c<<27L)); d=((d>>1L)|(d<<27L)); }
c 207 crypto/set_key.c c&=0x0fffffffL;
c 211 crypto/set_key.c s= des_skb[0][ (c )&0x3f ]|
c 212 crypto/set_key.c des_skb[1][((c>> 6)&0x03)|((c>> 7L)&0x3c)]|
c 213 crypto/set_key.c des_skb[2][((c>>13)&0x0f)|((c>>14L)&0x30)]|
c 214 crypto/set_key.c des_skb[3][((c>>20)&0x01)|((c>>21L)&0x06) |
c 215 crypto/set_key.c ((c>>22L)&0x38)];
c 52 crypto/sha1.c u_int32_t a, b, c, d, e;
c 54 crypto/sha1.c unsigned char c[64];
c 69 crypto/sha1.c c = state[2];
c 74 crypto/sha1.c R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3);
c 75 crypto/sha1.c R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7);
c 76 crypto/sha1.c R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11);
c 77 crypto/sha1.c R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15);
c 78 crypto/sha1.c R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19);
c 79 crypto/sha1.c R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23);
c 80 crypto/sha1.c R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27);
c 81 crypto/sha1.c R2(c,d,e,a,b,28); R2(b,c,d,e,a,29); R2(a,b,c,d,e,30); R2(e,a,b,c,d,31);
c 82 crypto/sha1.c R2(d,e,a,b,c,32); R2(c,d,e,a,b,33); R2(b,c,d,e,a,34); R2(a,b,c,d,e,35);
c 83 crypto/sha1.c R2(e,a,b,c,d,36); R2(d,e,a,b,c,37); R2(c,d,e,a,b,38); R2(b,c,d,e,a,39);
c 84 crypto/sha1.c R3(a,b,c,d,e,40); R3(e,a,b,c,d,41); R3(d,e,a,b,c,42); R3(c,d,e,a,b,43);
c 85 crypto/sha1.c R3(b,c,d,e,a,44); R3(a,b,c,d,e,45); R3(e,a,b,c,d,46); R3(d,e,a,b,c,47);
c 86 crypto/sha1.c R3(c,d,e,a,b,48); R3(b,c,d,e,a,49); R3(a,b,c,d,e,50); R3(e,a,b,c,d,51);
c 87 crypto/sha1.c R3(d,e,a,b,c,52); R3(c,d,e,a,b,53); R3(b,c,d,e,a,54); R3(a,b,c,d,e,55);
c 88 crypto/sha1.c R3(e,a,b,c,d,56); R3(d,e,a,b,c,57); R3(c,d,e,a,b,58); R3(b,c,d,e,a,59);
c 89 crypto/sha1.c R4(a,b,c,d,e,60); R4(e,a,b,c,d,61); R4(d,e,a,b,c,62); R4(c,d,e,a,b,63);
c 90 crypto/sha1.c R4(b,c,d,e,a,64); R4(a,b,c,d,e,65); R4(e,a,b,c,d,66); R4(d,e,a,b,c,67);
c 91 crypto/sha1.c R4(c,d,e,a,b,68); R4(b,c,d,e,a,69); R4(a,b,c,d,e,70); R4(e,a,b,c,d,71);
c 92 crypto/sha1.c R4(d,e,a,b,c,72); R4(c,d,e,a,b,73); R4(b,c,d,e,a,74); R4(a,b,c,d,e,75);
c 93 crypto/sha1.c R4(e,a,b,c,d,76); R4(d,e,a,b,c,77); R4(c,d,e,a,b,78); R4(b,c,d,e,a,79);
c 98 crypto/sha1.c state[2] += c;
c 102 crypto/sha1.c a = b = c = d = e = 0;
c 285 crypto/sha2.c #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) do { \
c 291 crypto/sha2.c (h) = T1 + Sigma0_256((a)) + Maj((a), (b), (c)); \
c 295 crypto/sha2.c #define ROUND256(a,b,c,d,e,f,g,h) do { \
c 303 crypto/sha2.c (h) = T1 + Sigma0_256((a)) + Maj((a), (b), (c)); \
c 310 crypto/sha2.c u_int32_t a, b, c, d, e, f, g, h, s0, s1;
c 319 crypto/sha2.c c = context->state[2];
c 329 crypto/sha2.c ROUND256_0_TO_15(a,b,c,d,e,f,g,h);
c 330 crypto/sha2.c ROUND256_0_TO_15(h,a,b,c,d,e,f,g);
c 331 crypto/sha2.c ROUND256_0_TO_15(g,h,a,b,c,d,e,f);
c 332 crypto/sha2.c ROUND256_0_TO_15(f,g,h,a,b,c,d,e);
c 333 crypto/sha2.c ROUND256_0_TO_15(e,f,g,h,a,b,c,d);
c 334 crypto/sha2.c ROUND256_0_TO_15(d,e,f,g,h,a,b,c);
c 335 crypto/sha2.c ROUND256_0_TO_15(c,d,e,f,g,h,a,b);
c 336 crypto/sha2.c ROUND256_0_TO_15(b,c,d,e,f,g,h,a);
c 341 crypto/sha2.c ROUND256(a,b,c,d,e,f,g,h);
c 342 crypto/sha2.c ROUND256(h,a,b,c,d,e,f,g);
c 343 crypto/sha2.c ROUND256(g,h,a,b,c,d,e,f);
c 344 crypto/sha2.c ROUND256(f,g,h,a,b,c,d,e);
c 345 crypto/sha2.c ROUND256(e,f,g,h,a,b,c,d);
c 346 crypto/sha2.c ROUND256(d,e,f,g,h,a,b,c);
c 347 crypto/sha2.c ROUND256(c,d,e,f,g,h,a,b);
c 348 crypto/sha2.c ROUND256(b,c,d,e,f,g,h,a);
c 354 crypto/sha2.c context->state[2] += c;
c 362 crypto/sha2.c a = b = c = d = e = f = g = h = T1 = 0;
c 370 crypto/sha2.c u_int32_t a, b, c, d, e, f, g, h, s0, s1;
c 379 crypto/sha2.c c = context->state[2];
c 393 crypto/sha2.c T2 = Sigma0_256(a) + Maj(a, b, c);
c 398 crypto/sha2.c d = c;
c 399 crypto/sha2.c c = b;
c 416 crypto/sha2.c T2 = Sigma0_256(a) + Maj(a, b, c);
c 421 crypto/sha2.c d = c;
c 422 crypto/sha2.c c = b;
c 432 crypto/sha2.c context->state[2] += c;
c 440 crypto/sha2.c a = b = c = d = e = f = g = h = T1 = T2 = 0;
c 569 crypto/sha2.c #define ROUND512_0_TO_15(a,b,c,d,e,f,g,h) do { \
c 577 crypto/sha2.c (h) = T1 + Sigma0_512((a)) + Maj((a), (b), (c)); \
c 582 crypto/sha2.c #define ROUND512(a,b,c,d,e,f,g,h) do { \
c 590 crypto/sha2.c (h) = T1 + Sigma0_512((a)) + Maj((a), (b), (c)); \
c 597 crypto/sha2.c u_int64_t a, b, c, d, e, f, g, h, s0, s1;
c 604 crypto/sha2.c c = context->state[2];
c 613 crypto/sha2.c ROUND512_0_TO_15(a,b,c,d,e,f,g,h);
c 614 crypto/sha2.c ROUND512_0_TO_15(h,a,b,c,d,e,f,g);
c 615 crypto/sha2.c ROUND512_0_TO_15(g,h,a,b,c,d,e,f);
c 616 crypto/sha2.c ROUND512_0_TO_15(f,g,h,a,b,c,d,e);
c 617 crypto/sha2.c ROUND512_0_TO_15(e,f,g,h,a,b,c,d);
c 618 crypto/sha2.c ROUND512_0_TO_15(d,e,f,g,h,a,b,c);
c 619 crypto/sha2.c ROUND512_0_TO_15(c,d,e,f,g,h,a,b);
c 620 crypto/sha2.c ROUND512_0_TO_15(b,c,d,e,f,g,h,a);
c 625 crypto/sha2.c ROUND512(a,b,c,d,e,f,g,h);
c 626 crypto/sha2.c ROUND512(h,a,b,c,d,e,f,g);
c 627 crypto/sha2.c ROUND512(g,h,a,b,c,d,e,f);
c 628 crypto/sha2.c ROUND512(f,g,h,a,b,c,d,e);
c 629 crypto/sha2.c ROUND512(e,f,g,h,a,b,c,d);
c 630 crypto/sha2.c ROUND512(d,e,f,g,h,a,b,c);
c 631 crypto/sha2.c ROUND512(c,d,e,f,g,h,a,b);
c 632 crypto/sha2.c ROUND512(b,c,d,e,f,g,h,a);
c 638 crypto/sha2.c context->state[2] += c;
c 646 crypto/sha2.c a = b = c = d = e = f = g = h = T1 = 0;
c 654 crypto/sha2.c u_int64_t a, b, c, d, e, f, g, h, s0, s1;
c 661 crypto/sha2.c c = context->state[2];
c 677 crypto/sha2.c T2 = Sigma0_512(a) + Maj(a, b, c);
c 682 crypto/sha2.c d = c;
c 683 crypto/sha2.c c = b;
c 700 crypto/sha2.c T2 = Sigma0_512(a) + Maj(a, b, c);
c 705 crypto/sha2.c d = c;
c 706 crypto/sha2.c c = b;
c 716 crypto/sha2.c context->state[2] += c;
c 724 crypto/sha2.c a = b = c = d = e = f = g = h = T1 = T2 = 0;
c 110 ddb/db_command.c int c;
c 114 ddb/db_command.c while ((c = *lp) == *rp) {
c 115 ddb/db_command.c if (c == 0) {
c 123 ddb/db_command.c if (c == 0) {
c 74 ddb/db_examine.c int c;
c 84 ddb/db_examine.c while ((c = *fp++) != 0) {
c 91 ddb/db_examine.c switch (c) {
c 42 ddb/db_hangman.c #define ABC_ISCLR(c) sabc->abc[(c)-'a']==0
c 43 ddb/db_hangman.c #define ABC_ISWRONG(c) sabc->abc[(c)-'a']=='_'
c 44 ddb/db_hangman.c #define ABC_SETWRONG(c) (sabc->abc[(c)-'a']='_')
c 45 ddb/db_hangman.c #define ABC_SETRIGHT(c) (sabc->abc[(c)-'a']='+')
c 51 ddb/db_hangman.c #define TOLOWER(c) ((c)|0x20)
c 52 ddb/db_hangman.c #define ISLOWALPHA(c) ('a'<=(c) && (c)<='z')
c 53 ddb/db_hangman.c #define ISALPHA(c) ISLOWALPHA(TOLOWER(c))
c 145 ddb/db_hangman.c int c;
c 155 ddb/db_hangman.c c = TOLOWER(*p);
c 156 ddb/db_hangman.c cnputc(ISLOWALPHA(c) && ABC_ISCLR(c) ? '-' : *p);
c 206 ddb/db_hangman.c int c;
c 209 ddb/db_hangman.c c = cngetc();
c 210 ddb/db_hangman.c c = TOLOWER(c);
c 212 ddb/db_hangman.c if (ISLOWALPHA(c) && ABC_ISCLR(c)) {
c 218 ddb/db_hangman.c if (TOLOWER(*p) == c)
c 222 ddb/db_hangman.c ABC_SETRIGHT(c);
c 225 ddb/db_hangman.c ABC_SETWRONG(c);
c 70 ddb/db_input.c #define CTRL(c) ((c) & 0x1f)
c 71 ddb/db_input.c #define isspace(c) ((c) == ' ' || (c) == '\t')
c 83 ddb/db_input.c db_putnchars(int c, int count)
c 86 ddb/db_input.c cnputc(c);
c 139 ddb/db_input.c db_inputchar(int c)
c 141 ddb/db_input.c switch (c) {
c 198 ddb/db_input.c c = db_lc[-2];
c 200 ddb/db_input.c db_lc[-1] = c;
c 288 ddb/db_input.c *db_le++ = c;
c 305 ddb/db_input.c *db_le++ = c;
c 311 ddb/db_input.c else if (c >= ' ' && c <= '~') {
c 316 ddb/db_input.c *db_lc++ = c;
c 318 ddb/db_input.c cnputc(c);
c 81 ddb/db_lex.c int c;
c 84 ddb/db_lex.c c = db_look_char;
c 88 ddb/db_lex.c c = -1;
c 90 ddb/db_lex.c c = *db_lp++;
c 91 ddb/db_lex.c return (c);
c 95 ddb/db_lex.c db_unread_char(int c)
c 97 ddb/db_lex.c db_look_char = c;
c 133 ddb/db_lex.c int c;
c 135 ddb/db_lex.c c = db_read_char();
c 136 ddb/db_lex.c while (c <= ' ' || c > '~') {
c 137 ddb/db_lex.c if (c == '\n' || c == -1)
c 139 ddb/db_lex.c c = db_read_char();
c 142 ddb/db_lex.c if (c >= '0' && c <= '9') {
c 146 ddb/db_lex.c if (c > '0')
c 149 ddb/db_lex.c c = db_read_char();
c 150 ddb/db_lex.c if (c == 'O' || c == 'o')
c 152 ddb/db_lex.c else if (c == 'T' || c == 't')
c 154 ddb/db_lex.c else if (c == 'X' || c == 'x')
c 158 ddb/db_lex.c db_unread_char(c);
c 160 ddb/db_lex.c c = db_read_char();
c 164 ddb/db_lex.c if (c >= '0' && c <= ((r == 8) ? '7' : '9'))
c 165 ddb/db_lex.c digit = c - '0';
c 166 ddb/db_lex.c else if (r == 16 && ((c >= 'A' && c <= 'F') ||
c 167 ddb/db_lex.c (c >= 'a' && c <= 'f'))) {
c 168 ddb/db_lex.c if (c >= 'a')
c 169 ddb/db_lex.c digit = c - 'a' + 10;
c 170 ddb/db_lex.c else if (c >= 'A')
c 171 ddb/db_lex.c digit = c - 'A' + 10;
c 176 ddb/db_lex.c c = db_read_char();
c 178 ddb/db_lex.c if ((c >= '0' && c <= '9') ||
c 179 ddb/db_lex.c (c >= 'A' && c <= 'Z') ||
c 180 ddb/db_lex.c (c >= 'a' && c <= 'z') ||
c 181 ddb/db_lex.c (c == '_'))
c 186 ddb/db_lex.c db_unread_char(c);
c 189 ddb/db_lex.c if ((c >= 'A' && c <= 'Z') ||
c 190 ddb/db_lex.c (c >= 'a' && c <= 'z') ||
c 191 ddb/db_lex.c c == '_' || c == '\\')
c 197 ddb/db_lex.c if (c == '\\') {
c 198 ddb/db_lex.c c = db_read_char();
c 199 ddb/db_lex.c if (c == '\n' || c == -1) {
c 204 ddb/db_lex.c *cp++ = c;
c 206 ddb/db_lex.c c = db_read_char();
c 207 ddb/db_lex.c if ((c >= 'A' && c <= 'Z') ||
c 208 ddb/db_lex.c (c >= 'a' && c <= 'z') ||
c 209 ddb/db_lex.c (c >= '0' && c <= '9') ||
c 210 ddb/db_lex.c c == '_' || c == '\\' || c == ':')
c 212 ddb/db_lex.c if (c == '\\') {
c 213 ddb/db_lex.c c = db_read_char();
c 214 ddb/db_lex.c if (c == '\n' || c == -1) {
c 219 ddb/db_lex.c *cp++ = c;
c 231 ddb/db_lex.c db_unread_char(c);
c 235 ddb/db_lex.c switch (c) {
c 241 ddb/db_lex.c c = db_read_char();
c 242 ddb/db_lex.c if (c == '.')
c 244 ddb/db_lex.c db_unread_char(c);
c 269 ddb/db_lex.c c = db_read_char();
c 270 ddb/db_lex.c if (c == '<')
c 272 ddb/db_lex.c db_unread_char(c);
c 275 ddb/db_lex.c c = db_read_char();
c 276 ddb/db_lex.c if (c == '>')
c 278 ddb/db_lex.c db_unread_char(c);
c 71 ddb/db_output.c #define CTRL(c) ((c) & 0xff)
c 144 ddb/db_output.c db_putchar(int c)
c 149 ddb/db_output.c if (c > ' ' && c <= '~') {
c 156 ddb/db_output.c cnputc(c);
c 168 ddb/db_output.c else if (c == '\n') {
c 170 ddb/db_output.c cnputc(c);
c 175 ddb/db_output.c else if (c == '\t') {
c 179 ddb/db_output.c else if (c == ' ') {
c 183 ddb/db_output.c else if (c == '\007') {
c 185 ddb/db_output.c cnputc(c);
c 238 ddb/db_sym.c db_eqname(char *src, char *dst, int c)
c 242 ddb/db_sym.c if (src[0] == c)
c 327 ddb/db_sym.c char c, sc;
c 339 ddb/db_sym.c if ((c = *find++) != 0) {
c 345 ddb/db_sym.c } while (sc != c);
c 552 dev/adb/akbd.c int c, j, s;
c 557 dev/adb/akbd.c c = keyboard[val];
c 558 dev/adb/akbd.c if (c == 0) {
c 561 dev/adb/akbd.c if (c & 0x80)
c 563 dev/adb/akbd.c cbuf[j] = c & 0x7f;
c 568 dev/adb/akbd.c if (c & 0x80)
c 570 dev/adb/akbd.c sc->sc_rep[npress++] = c & 0x7f;
c 228 dev/ata/wd.c char buf[41], c, *p, *q;
c 251 dev/ata/wd.c c = *p++;
c 252 dev/ata/wd.c if (c == '\0')
c 254 dev/ata/wd.c if (c != ' ') {
c 259 dev/ata/wd.c *q++ = c;
c 410 dev/bluetooth/btkbd.c #define ADDKEY(c) ibuf[nkeys++] = (c)
c 492 dev/bluetooth/btkbd.c int c;
c 497 dev/bluetooth/btkbd.c c = btkbd_trtab[key & CODEMASK];
c 498 dev/bluetooth/btkbd.c if (c == NN)
c 501 dev/bluetooth/btkbd.c if (c & 0x80)
c 504 dev/bluetooth/btkbd.c cbuf[j] = c & 0x7f;
c 510 dev/bluetooth/btkbd.c if (c & 0x80)
c 513 dev/bluetooth/btkbd.c sc->sc_rep[npress++] = c & 0x7f;
c 147 dev/ccd.c #define CCD_DCALL(m,c) if (ccddebug & (m)) c
c 156 dev/ccd.c #define CCD_DCALL(m,c) /* m, c */
c 236 dev/cons.c cnputc(int c)
c 242 dev/cons.c if (c) {
c 243 dev/cons.c (*cn_tab->cn_putc)(cn_tab->cn_dev, c);
c 244 dev/cons.c if (c == '\n')
c 281 dev/hil/hil.c u_int8_t c, stat;
c 295 dev/hil/hil.c c = bus_space_read_1(sc->sc_bst, sc->sc_bsh,
c 299 dev/hil/hil.c hil_process_int(sc, stat, c);
c 308 dev/hil/hil.c hil_process_int(struct hil_softc *sc, u_int8_t stat, u_int8_t c)
c 314 dev/hil/hil.c if (c & HIL_ERROR) {
c 316 dev/hil/hil.c switch (c) {
c 326 dev/hil/hil.c if (c & HIL_COMMAND) {
c 327 dev/hil/hil.c if (c & HIL_POLLDATA) { /* End of data */
c 338 dev/hil/hil.c if (c & HIL_POLLDATA) { /* Start of polled data */
c 339 dev/hil/hil.c sc->sc_actdev = (c & HIL_DEVMASK);
c 342 dev/hil/hil.c if (sc->sc_cmddev == (c & HIL_DEVMASK)) {
c 351 dev/hil/hil.c *sc->sc_pollbp++ = c;
c 358 dev/hil/hil.c *sc->sc_cmdbp++ = c;
c 370 dev/hil/hil.c hil_process_poll(struct hil_softc *sc, u_int8_t stat, u_int8_t c)
c 376 dev/hil/hil.c if (c & HIL_ERROR) {
c 378 dev/hil/hil.c switch (c) {
c 407 dev/hil/hil.c if (c & HIL_COMMAND) {
c 408 dev/hil/hil.c if (!(c & HIL_POLLDATA)) {
c 414 dev/hil/hil.c if (c & HIL_POLLDATA) {
c 416 dev/hil/hil.c sc->sc_actdev = (c & HIL_DEVMASK);
c 420 dev/hil/hil.c if (sc->sc_cmddev == (c & HIL_DEVMASK)) {
c 700 dev/hil/hil.c u_int8_t status, c;
c 744 dev/hil/hil.c c = bus_space_read_1(sc->sc_bst, sc->sc_bsh, HILP_DATA);
c 746 dev/hil/hil.c hil_process_int(sc, status, c);
c 868 dev/hil/hil.c u_int8_t s, c;
c 874 dev/hil/hil.c c = bus_space_read_1(sc->sc_bst, sc->sc_bsh, HILP_DATA);
c 877 dev/hil/hil.c if (hil_process_poll(sc, s, c)) {
c 881 dev/hil/hil.c *data = c;
c 336 dev/hil/hilkbd.c u_int8_t c, stat;
c 339 dev/hil/hilkbd.c while (hil_poll_data((struct hildev_softc *)sc, &stat, &c) != 0)
c 346 dev/hil/hilkbd.c if (c != HIL_KBDBUTTON)
c 350 dev/hil/hilkbd.c hilkbd_decode(sc, c, type, data, HIL_KBDBUTTON);
c 410 dev/hil/hilkbd.c int c, j, npress;
c 415 dev/hil/hilkbd.c c = hilkbd_raw[key];
c 416 dev/hil/hilkbd.c if (c == RAWKEY_Null)
c 419 dev/hil/hilkbd.c if (c & 0x80)
c 421 dev/hil/hilkbd.c cbuf[j] = c & 0x7f;
c 426 dev/hil/hilkbd.c if (c & 0x80)
c 428 dev/hil/hilkbd.c sc->sc_rep[npress++] = c & 0x7f;
c 85 dev/ic/adv.h #define ADV_CCB_OFF(c) (offsetof(struct adv_control, ccbs[0]) + \
c 86 dev/ic/adv.h (((u_long)(c)) - ((u_long)&sc->sc_control->ccbs[0])))
c 107 dev/ic/adw.h #define ADW_CCB_OFF(c) (offsetof(struct adw_control, ccbs[0]) + \
c 108 dev/ic/adw.h (((u_long)(c)) - ((u_long)&sc->sc_control->ccbs[0])))
c 394 dev/ic/ar5xxx.c u_int i, c;
c 403 dev/ic/ar5xxx.c i = c = 0;
c 422 dev/ic/ar5xxx.c for (i = min; i <= max && c < max_channels; i++) {
c 426 dev/ic/ar5xxx.c all_channels[c].c_channel = freq;
c 427 dev/ic/ar5xxx.c all_channels[c++].c_channel_flags = flags;
c 453 dev/ic/ar5xxx.c (c < max_channels); i++) {
c 467 dev/ic/ar5xxx.c all_channels[c].c_channel_flags = CHANNEL_T;
c 470 dev/ic/ar5xxx.c all_channels[c].c_channel_flags = CHANNEL_A;
c 475 dev/ic/ar5xxx.c all_channels[c++].channel = ar5k_5ghz_channels[i].rc_channel;
c 483 dev/ic/ar5xxx.c (c < max_channels); i++) {
c 498 dev/ic/ar5xxx.c all_channels[c].c_channel_flags = CHANNEL_B;
c 502 dev/ic/ar5xxx.c all_channels[c].c_channel_flags |=
c 507 dev/ic/ar5xxx.c all_channels[c].c_channel_flags |= CHANNEL_TG;
c 511 dev/ic/ar5xxx.c all_channels[c++].channel = ar5k_2ghz_channels[i].rc_channel;
c 516 dev/ic/ar5xxx.c *channels_size = c;
c 1257 dev/ic/ar5xxx.c u_int16_t c;
c 1260 dev/ic/ar5xxx.c c = channel->c_channel;
c 1265 dev/ic/ar5xxx.c if (c < 4800) {
c 1266 dev/ic/ar5xxx.c if (!((c - 2224) % 5)) {
c 1267 dev/ic/ar5xxx.c data0 = ((2 * (c - 704)) - 3040) / 10;
c 1269 dev/ic/ar5xxx.c } else if (!((c - 2192) % 5)) {
c 1270 dev/ic/ar5xxx.c data0 = ((2 * (c - 672)) - 3040) / 10;
c 1277 dev/ic/ar5xxx.c if (!(c % 20) && c >= 5120) {
c 1278 dev/ic/ar5xxx.c data0 = ar5k_bitswap(((c - 4800) / 20 << 2), 8);
c 1280 dev/ic/ar5xxx.c } else if (!(c % 10)) {
c 1281 dev/ic/ar5xxx.c data0 = ar5k_bitswap(((c - 4800) / 10 << 1), 8);
c 1283 dev/ic/ar5xxx.c } else if (!(c % 5)) {
c 1284 dev/ic/ar5xxx.c data0 = ar5k_bitswap((c - 4800) / 5, 8);
c 857 dev/ic/ath.c struct ieee80211_channel *c;
c 865 dev/ic/ath.c c = ic->ic_ibss_chan;
c 866 dev/ic/ath.c hchan.channel = c->ic_freq;
c 867 dev/ic/ath.c hchan.channelFlags = ath_chan2flags(ic, c);
c 2814 dev/ic/ath.c struct ieee80211_channel *c;
c 2824 dev/ic/ath.c c = ic->ic_ibss_chan;
c 2825 dev/ic/ath.c hchan.channel = c->ic_freq;
c 2826 dev/ic/ath.c hchan.channelFlags = ath_chan2flags(ic, c);
c 2830 dev/ic/ath.c ("%s: channel %u/%x\n", __func__, c->ic_freq, c->ic_flags));
c 2843 dev/ic/ath.c __func__, c->ic_freq));
c 3052 dev/ic/ath.c HAL_CHANNEL *c = &chans[i];
c 3053 dev/ic/ath.c ix = ieee80211_mhz2ieee(c->channel, c->channelFlags);
c 3056 dev/ic/ath.c ifp->if_xname, ix, c->channel, c->channelFlags);
c 3061 dev/ic/ath.c sc->sc_dev.dv_xname, i, nchan, c->channel, c->channelFlags,
c 3065 dev/ic/ath.c ic->ic_channels[ix].ic_freq = c->channel;
c 3066 dev/ic/ath.c ic->ic_channels[ix].ic_flags = c->channelFlags;
c 3069 dev/ic/ath.c ic->ic_channels[ix].ic_flags |= c->channelFlags;
c 486 dev/ic/awi_wep.c u_int32_t c;
c 492 dev/ic/awi_wep.c c = (u_int32_t)n;
c 494 dev/ic/awi_wep.c if (c & 1)
c 495 dev/ic/awi_wep.c c = 0xedb88320UL ^ (c >> 1);
c 497 dev/ic/awi_wep.c c = c >> 1;
c 499 dev/ic/awi_wep.c awi_crc_table[n] = c;
c 237 dev/ic/awivar.h memset(void *b, int c, size_t len)
c 116 dev/ic/bhavar.h #define BHA_CCB_OFF(c) (offsetof(struct bha_control, bc_ccbs[0]) + \
c 117 dev/ic/bhavar.h (((u_long)(c)) - ((u_long)&sc->sc_control->bc_ccbs[0])))
c 996 dev/ic/com.c int c;
c 1041 dev/ic/com.c c = *ibufp++;
c 1048 dev/ic/com.c c |= lsrmap[(*ibufp++ & (LSR_BI|LSR_FE|LSR_PE)) >> 2];
c 1049 dev/ic/com.c (*linesw[tp->t_line].l_rint)(c, tp);
c 1238 dev/ic/com.c u_char stat, c;
c 1249 dev/ic/com.c c = bus_space_read_1(iot, ioh, com_data);
c 1253 dev/ic/com.c return (c);
c 1257 dev/ic/com.c com_common_putc(bus_space_tag_t iot, bus_space_handle_t ioh, int c)
c 1271 dev/ic/com.c bus_space_write_1(iot, ioh, com_data, (u_int8_t)(c & 0xff));
c 1410 dev/ic/com.c comcnputc(dev_t dev, int c)
c 1412 dev/ic/com.c com_common_putc(comconsiot, comconsioh, c);
c 1463 dev/ic/com.c com_kgdb_putc(void *arg, int c)
c 1466 dev/ic/com.c return (com_common_putc(com_kgdb_iot, com_kgdb_ioh, c));
c 1414 dev/ic/cy.c int c, co, br;
c 1419 dev/ic/cy.c for (c = 0, co = 8; co <= 2048; co <<= 2, c++) {
c 1423 dev/ic/cy.c *cor = c;
c 1941 dev/ic/dc.c struct dc_desc *c;
c 1944 dev/ic/dc.c c = &sc->dc_ldata->dc_rx_list[i];
c 1991 dev/ic/dc.c c->dc_data = htole32(
c 1994 dev/ic/dc.c c->dc_ctl = htole32(DC_RXCTL_RLINK | ETHER_MAX_DIX_LEN);
c 1995 dev/ic/dc.c c->dc_status = htole32(DC_RXSTAT_OWN);
c 2064 dev/ic/dc.c struct dc_desc *c = NULL;
c 2077 dev/ic/dc.c c = &sc->dc_ldata->dc_rx_list[i];
c 2078 dev/ic/dc.c rxstat = letoh32(c->dc_status);
c 39 dev/ic/dc21040reg.h #define TULIP_BITFIELD3(a, b, c) c, b, a
c 40 dev/ic/dc21040reg.h #define TULIP_BITFIELD4(a, b, c, d) d, c, b, a
c 43 dev/ic/dc21040reg.h #define TULIP_BITFIELD3(a, b, c) a, b, c
c 44 dev/ic/dc21040reg.h #define TULIP_BITFIELD4(a, b, c, d) a, b, c, d
c 361 dev/ic/if_wi.c #define ADD(m, c) ifmedia_add(&sc->sc_media, (m), (c), NULL)
c 247 dev/ic/isp_openbsd.h #define XS_SET_STATE_STAT(a, b, c)
c 681 dev/ic/ispreg.h #define ISPBSMX(c, byte, shift, mask) \
c 682 dev/ic/ispreg.h (((c)[(byte)] >> (shift)) & (mask))
c 694 dev/ic/ispreg.h #define ISP_NVRAM_VERSION(c) (c)[4]
c 695 dev/ic/ispreg.h #define ISP_NVRAM_FIFO_THRESHOLD(c) ISPBSMX(c, 5, 0, 0x03)
c 696 dev/ic/ispreg.h #define ISP_NVRAM_BIOS_DISABLE(c) ISPBSMX(c, 5, 2, 0x01)
c 697 dev/ic/ispreg.h #define ISP_NVRAM_HBA_ENABLE(c) ISPBSMX(c, 5, 3, 0x01)
c 698 dev/ic/ispreg.h #define ISP_NVRAM_INITIATOR_ID(c) ISPBSMX(c, 5, 4, 0x0f)
c 699 dev/ic/ispreg.h #define ISP_NVRAM_BUS_RESET_DELAY(c) (c)[6]
c 700 dev/ic/ispreg.h #define ISP_NVRAM_BUS_RETRY_COUNT(c) (c)[7]
c 701 dev/ic/ispreg.h #define ISP_NVRAM_BUS_RETRY_DELAY(c) (c)[8]
c 702 dev/ic/ispreg.h #define ISP_NVRAM_ASYNC_DATA_SETUP_TIME(c) ISPBSMX(c, 9, 0, 0x0f)
c 703 dev/ic/ispreg.h #define ISP_NVRAM_REQ_ACK_ACTIVE_NEGATION(c) ISPBSMX(c, 9, 4, 0x01)
c 704 dev/ic/ispreg.h #define ISP_NVRAM_DATA_LINE_ACTIVE_NEGATION(c) ISPBSMX(c, 9, 5, 0x01)
c 705 dev/ic/ispreg.h #define ISP_NVRAM_DATA_DMA_BURST_ENABLE(c) ISPBSMX(c, 9, 6, 0x01)
c 706 dev/ic/ispreg.h #define ISP_NVRAM_CMD_DMA_BURST_ENABLE(c) ISPBSMX(c, 9, 7, 0x01)
c 707 dev/ic/ispreg.h #define ISP_NVRAM_TAG_AGE_LIMIT(c) (c)[10]
c 708 dev/ic/ispreg.h #define ISP_NVRAM_LOWTRM_ENABLE(c) ISPBSMX(c, 11, 0, 0x01)
c 709 dev/ic/ispreg.h #define ISP_NVRAM_HITRM_ENABLE(c) ISPBSMX(c, 11, 1, 0x01)
c 710 dev/ic/ispreg.h #define ISP_NVRAM_PCMC_BURST_ENABLE(c) ISPBSMX(c, 11, 2, 0x01)
c 711 dev/ic/ispreg.h #define ISP_NVRAM_ENABLE_60_MHZ(c) ISPBSMX(c, 11, 3, 0x01)
c 712 dev/ic/ispreg.h #define ISP_NVRAM_SCSI_RESET_DISABLE(c) ISPBSMX(c, 11, 4, 0x01)
c 713 dev/ic/ispreg.h #define ISP_NVRAM_ENABLE_AUTO_TERM(c) ISPBSMX(c, 11, 5, 0x01)
c 714 dev/ic/ispreg.h #define ISP_NVRAM_FIFO_THRESHOLD_128(c) ISPBSMX(c, 11, 6, 0x01)
c 715 dev/ic/ispreg.h #define ISP_NVRAM_AUTO_TERM_SUPPORT(c) ISPBSMX(c, 11, 7, 0x01)
c 716 dev/ic/ispreg.h #define ISP_NVRAM_SELECTION_TIMEOUT(c) (((c)[12]) | ((c)[13] << 8))
c 717 dev/ic/ispreg.h #define ISP_NVRAM_MAX_QUEUE_DEPTH(c) (((c)[14]) | ((c)[15] << 8))
c 718 dev/ic/ispreg.h #define ISP_NVRAM_SCSI_BUS_SIZE(c) ISPBSMX(c, 16, 0, 0x01)
c 719 dev/ic/ispreg.h #define ISP_NVRAM_SCSI_BUS_TYPE(c) ISPBSMX(c, 16, 1, 0x01)
c 720 dev/ic/ispreg.h #define ISP_NVRAM_ADAPTER_CLK_SPEED(c) ISPBSMX(c, 16, 2, 0x01)
c 721 dev/ic/ispreg.h #define ISP_NVRAM_SOFT_TERM_SUPPORT(c) ISPBSMX(c, 16, 3, 0x01)
c 722 dev/ic/ispreg.h #define ISP_NVRAM_FLASH_ONBOARD(c) ISPBSMX(c, 16, 4, 0x01)
c 723 dev/ic/ispreg.h #define ISP_NVRAM_FAST_MTTR_ENABLE(c) ISPBSMX(c, 22, 0, 0x01)
c 729 dev/ic/ispreg.h #define ISP_NVRAM_TGT_RENEG(c, t) ISPBSMX(c, _IxT(t, 0), 0, 0x01)
c 730 dev/ic/ispreg.h #define ISP_NVRAM_TGT_QFRZ(c, t) ISPBSMX(c, _IxT(t, 0), 1, 0x01)
c 731 dev/ic/ispreg.h #define ISP_NVRAM_TGT_ARQ(c, t) ISPBSMX(c, _IxT(t, 0), 2, 0x01)
c 732 dev/ic/ispreg.h #define ISP_NVRAM_TGT_TQING(c, t) ISPBSMX(c, _IxT(t, 0), 3, 0x01)
c 733 dev/ic/ispreg.h #define ISP_NVRAM_TGT_SYNC(c, t) ISPBSMX(c, _IxT(t, 0), 4, 0x01)
c 734 dev/ic/ispreg.h #define ISP_NVRAM_TGT_WIDE(c, t) ISPBSMX(c, _IxT(t, 0), 5, 0x01)
c 735 dev/ic/ispreg.h #define ISP_NVRAM_TGT_PARITY(c, t) ISPBSMX(c, _IxT(t, 0), 6, 0x01)
c 736 dev/ic/ispreg.h #define ISP_NVRAM_TGT_DISC(c, t) ISPBSMX(c, _IxT(t, 0), 7, 0x01)
c 737 dev/ic/ispreg.h #define ISP_NVRAM_TGT_EXEC_THROTTLE(c, t) ISPBSMX(c, _IxT(t, 1), 0, 0xff)
c 738 dev/ic/ispreg.h #define ISP_NVRAM_TGT_SYNC_PERIOD(c, t) ISPBSMX(c, _IxT(t, 2), 0, 0xff)
c 739 dev/ic/ispreg.h #define ISP_NVRAM_TGT_SYNC_OFFSET(c, t) ISPBSMX(c, _IxT(t, 3), 0, 0x0f)
c 740 dev/ic/ispreg.h #define ISP_NVRAM_TGT_DEVICE_ENABLE(c, t) ISPBSMX(c, _IxT(t, 3), 4, 0x01)
c 741 dev/ic/ispreg.h #define ISP_NVRAM_TGT_LUN_DISABLE(c, t) ISPBSMX(c, _IxT(t, 3), 5, 0x01)
c 754 dev/ic/ispreg.h #define ISP1080_NVRAM_VERSION(c) ISP_NVRAM_VERSION(c)
c 780 dev/ic/ispreg.h #define ISP1080_NVRAM_HBA_ENABLE(c) ISPBSMX(c, 16, 3, 0x01)
c 782 dev/ic/ispreg.h #define ISP1080_NVRAM_BURST_ENABLE(c) ISPBSMX(c, 16, 1, 0x01)
c 783 dev/ic/ispreg.h #define ISP1080_NVRAM_FIFO_THRESHOLD(c) ISPBSMX(c, 16, 4, 0x0f)
c 785 dev/ic/ispreg.h #define ISP1080_NVRAM_AUTO_TERM_SUPPORT(c) ISPBSMX(c, 17, 7, 0x01)
c 786 dev/ic/ispreg.h #define ISP1080_NVRAM_BUS0_TERM_MODE(c) ISPBSMX(c, 17, 0, 0x03)
c 787 dev/ic/ispreg.h #define ISP1080_NVRAM_BUS1_TERM_MODE(c) ISPBSMX(c, 17, 2, 0x03)
c 789 dev/ic/ispreg.h #define ISP1080_ISP_PARAMETER(c) \
c 790 dev/ic/ispreg.h (((c)[18]) | ((c)[19] << 8))
c 792 dev/ic/ispreg.h #define ISP1080_FAST_POST(c) ISPBSMX(c, 20, 0, 0x01)
c 793 dev/ic/ispreg.h #define ISP1080_REPORT_LVD_TRANSITION(c) ISPBSMX(c, 20, 1, 0x01)
c 797 dev/ic/ispreg.h #define ISP1080_NVRAM_INITIATOR_ID(c, b) \
c 798 dev/ic/ispreg.h ISPBSMX(c, ((b == 0)? 0 : ISP1080_BUS1_OFF) + 24, 0, 0x0f)
c 799 dev/ic/ispreg.h #define ISP1080_NVRAM_BUS_RESET_DELAY(c, b) \
c 800 dev/ic/ispreg.h (c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 25]
c 801 dev/ic/ispreg.h #define ISP1080_NVRAM_BUS_RETRY_COUNT(c, b) \
c 802 dev/ic/ispreg.h (c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 26]
c 803 dev/ic/ispreg.h #define ISP1080_NVRAM_BUS_RETRY_DELAY(c, b) \
c 804 dev/ic/ispreg.h (c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 27]
c 806 dev/ic/ispreg.h #define ISP1080_NVRAM_ASYNC_DATA_SETUP_TIME(c, b) \
c 807 dev/ic/ispreg.h ISPBSMX(c, ((b == 0)? 0 : ISP1080_BUS1_OFF) + 28, 0, 0x0f)
c 808 dev/ic/ispreg.h #define ISP1080_NVRAM_REQ_ACK_ACTIVE_NEGATION(c, b) \
c 809 dev/ic/ispreg.h ISPBSMX(c, ((b == 0)? 0 : ISP1080_BUS1_OFF) + 28, 4, 0x01)
c 810 dev/ic/ispreg.h #define ISP1080_NVRAM_DATA_LINE_ACTIVE_NEGATION(c, b) \
c 811 dev/ic/ispreg.h ISPBSMX(c, ((b == 0)? 0 : ISP1080_BUS1_OFF) + 28, 5, 0x01)
c 812 dev/ic/ispreg.h #define ISP1080_NVRAM_SELECTION_TIMEOUT(c, b) \
c 813 dev/ic/ispreg.h (((c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 30]) | \
c 814 dev/ic/ispreg.h ((c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 31] << 8))
c 815 dev/ic/ispreg.h #define ISP1080_NVRAM_MAX_QUEUE_DEPTH(c, b) \
c 816 dev/ic/ispreg.h (((c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 32]) | \
c 817 dev/ic/ispreg.h ((c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 33] << 8))
c 825 dev/ic/ispreg.h #define ISP1080_NVRAM_TGT_RENEG(c, t, b) \
c 826 dev/ic/ispreg.h ISPBSMX(c, _IxT8(t, 0, (b)), 0, 0x01)
c 827 dev/ic/ispreg.h #define ISP1080_NVRAM_TGT_QFRZ(c, t, b) \
c 828 dev/ic/ispreg.h ISPBSMX(c, _IxT8(t, 0, (b)), 1, 0x01)
c 829 dev/ic/ispreg.h #define ISP1080_NVRAM_TGT_ARQ(c, t, b) \
c 830 dev/ic/ispreg.h ISPBSMX(c, _IxT8(t, 0, (b)), 2, 0x01)
c 831 dev/ic/ispreg.h #define ISP1080_NVRAM_TGT_TQING(c, t, b) \
c 832 dev/ic/ispreg.h ISPBSMX(c, _IxT8(t, 0, (b)), 3, 0x01)
c 833 dev/ic/ispreg.h #define ISP1080_NVRAM_TGT_SYNC(c, t, b) \
c 834 dev/ic/ispreg.h ISPBSMX(c, _IxT8(t, 0, (b)), 4, 0x01)
c 835 dev/ic/ispreg.h #define ISP1080_NVRAM_TGT_WIDE(c, t, b) \
c 836 dev/ic/ispreg.h ISPBSMX(c, _IxT8(t, 0, (b)), 5, 0x01)
c 837 dev/ic/ispreg.h #define ISP1080_NVRAM_TGT_PARITY(c, t, b) \
c 838 dev/ic/ispreg.h ISPBSMX(c, _IxT8(t, 0, (b)), 6, 0x01)
c 839 dev/ic/ispreg.h #define ISP1080_NVRAM_TGT_DISC(c, t, b) \
c 840 dev/ic/ispreg.h ISPBSMX(c, _IxT8(t, 0, (b)), 7, 0x01)
c 841 dev/ic/ispreg.h #define ISP1080_NVRAM_TGT_EXEC_THROTTLE(c, t, b) \
c 842 dev/ic/ispreg.h ISPBSMX(c, _IxT8(t, 1, (b)), 0, 0xff)
c 843 dev/ic/ispreg.h #define ISP1080_NVRAM_TGT_SYNC_PERIOD(c, t, b) \
c 844 dev/ic/ispreg.h ISPBSMX(c, _IxT8(t, 2, (b)), 0, 0xff)
c 845 dev/ic/ispreg.h #define ISP1080_NVRAM_TGT_SYNC_OFFSET(c, t, b) \
c 846 dev/ic/ispreg.h ISPBSMX(c, _IxT8(t, 3, (b)), 0, 0x0f)
c 847 dev/ic/ispreg.h #define ISP1080_NVRAM_TGT_DEVICE_ENABLE(c, t, b) \
c 848 dev/ic/ispreg.h ISPBSMX(c, _IxT8(t, 3, (b)), 4, 0x01)
c 849 dev/ic/ispreg.h #define ISP1080_NVRAM_TGT_LUN_DISABLE(c, t, b) \
c 850 dev/ic/ispreg.h ISPBSMX(c, _IxT8(t, 3, (b)), 5, 0x01)
c 892 dev/ic/ispreg.h #define ISP12160_NVRAM_TGT_RENEG(c, t, b) \
c 893 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 0, (b)), 0, 0x01)
c 894 dev/ic/ispreg.h #define ISP12160_NVRAM_TGT_QFRZ(c, t, b) \
c 895 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 0, (b)), 1, 0x01)
c 896 dev/ic/ispreg.h #define ISP12160_NVRAM_TGT_ARQ(c, t, b) \
c 897 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 0, (b)), 2, 0x01)
c 898 dev/ic/ispreg.h #define ISP12160_NVRAM_TGT_TQING(c, t, b) \
c 899 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 0, (b)), 3, 0x01)
c 900 dev/ic/ispreg.h #define ISP12160_NVRAM_TGT_SYNC(c, t, b) \
c 901 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 0, (b)), 4, 0x01)
c 902 dev/ic/ispreg.h #define ISP12160_NVRAM_TGT_WIDE(c, t, b) \
c 903 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 0, (b)), 5, 0x01)
c 904 dev/ic/ispreg.h #define ISP12160_NVRAM_TGT_PARITY(c, t, b) \
c 905 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 0, (b)), 6, 0x01)
c 906 dev/ic/ispreg.h #define ISP12160_NVRAM_TGT_DISC(c, t, b) \
c 907 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 0, (b)), 7, 0x01)
c 909 dev/ic/ispreg.h #define ISP12160_NVRAM_TGT_EXEC_THROTTLE(c, t, b) \
c 910 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 1, (b)), 0, 0xff)
c 911 dev/ic/ispreg.h #define ISP12160_NVRAM_TGT_SYNC_PERIOD(c, t, b) \
c 912 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 2, (b)), 0, 0xff)
c 914 dev/ic/ispreg.h #define ISP12160_NVRAM_TGT_SYNC_OFFSET(c, t, b) \
c 915 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 3, (b)), 0, 0x1f)
c 916 dev/ic/ispreg.h #define ISP12160_NVRAM_TGT_DEVICE_ENABLE(c, t, b) \
c 917 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 3, (b)), 5, 0x01)
c 919 dev/ic/ispreg.h #define ISP12160_NVRAM_PPR_OPTIONS(c, t, b) \
c 920 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 4, (b)), 0, 0x0f)
c 921 dev/ic/ispreg.h #define ISP12160_NVRAM_PPR_WIDTH(c, t, b) \
c 922 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 4, (b)), 4, 0x03)
c 923 dev/ic/ispreg.h #define ISP12160_NVRAM_PPR_ENABLE(c, t, b) \
c 924 dev/ic/ispreg.h ISPBSMX(c, _IxT16(t, 4, (b)), 7, 0x01)
c 938 dev/ic/ispreg.h #define ISP2100_NVRAM_RISCVER(c) (c)[6]
c 939 dev/ic/ispreg.h #define ISP2100_NVRAM_OPTIONS(c) (c)[8]
c 940 dev/ic/ispreg.h #define ISP2100_NVRAM_MAXFRAMELENGTH(c) (((c)[10]) | ((c)[11] << 8))
c 941 dev/ic/ispreg.h #define ISP2100_NVRAM_MAXIOCBALLOCATION(c) (((c)[12]) | ((c)[13] << 8))
c 942 dev/ic/ispreg.h #define ISP2100_NVRAM_EXECUTION_THROTTLE(c) (((c)[14]) | ((c)[15] << 8))
c 943 dev/ic/ispreg.h #define ISP2100_NVRAM_RETRY_COUNT(c) (c)[16]
c 944 dev/ic/ispreg.h #define ISP2100_NVRAM_RETRY_DELAY(c) (c)[17]
c 946 dev/ic/ispreg.h #define ISP2100_NVRAM_PORT_NAME(c) (\
c 947 dev/ic/ispreg.h (((u_int64_t)(c)[18]) << 56) | \
c 948 dev/ic/ispreg.h (((u_int64_t)(c)[19]) << 48) | \
c 949 dev/ic/ispreg.h (((u_int64_t)(c)[20]) << 40) | \
c 950 dev/ic/ispreg.h (((u_int64_t)(c)[21]) << 32) | \
c 951 dev/ic/ispreg.h (((u_int64_t)(c)[22]) << 24) | \
c 952 dev/ic/ispreg.h (((u_int64_t)(c)[23]) << 16) | \
c 953 dev/ic/ispreg.h (((u_int64_t)(c)[24]) << 8) | \
c 954 dev/ic/ispreg.h (((u_int64_t)(c)[25]) << 0))
c 956 dev/ic/ispreg.h #define ISP2100_NVRAM_HARDLOOPID(c) (c)[26]
c 958 dev/ic/ispreg.h #define ISP2200_NVRAM_NODE_NAME(c) (\
c 959 dev/ic/ispreg.h (((u_int64_t)(c)[30]) << 56) | \
c 960 dev/ic/ispreg.h (((u_int64_t)(c)[31]) << 48) | \
c 961 dev/ic/ispreg.h (((u_int64_t)(c)[32]) << 40) | \
c 962 dev/ic/ispreg.h (((u_int64_t)(c)[33]) << 32) | \
c 963 dev/ic/ispreg.h (((u_int64_t)(c)[34]) << 24) | \
c 964 dev/ic/ispreg.h (((u_int64_t)(c)[35]) << 16) | \
c 965 dev/ic/ispreg.h (((u_int64_t)(c)[36]) << 8) | \
c 966 dev/ic/ispreg.h (((u_int64_t)(c)[37]) << 0))
c 968 dev/ic/ispreg.h #define ISP2100_NVRAM_HBA_OPTIONS(c) (c)[70]
c 969 dev/ic/ispreg.h #define ISP2100_NVRAM_HBA_DISABLE(c) ISPBSMX(c, 70, 0, 0x01)
c 970 dev/ic/ispreg.h #define ISP2100_NVRAM_BIOS_DISABLE(c) ISPBSMX(c, 70, 1, 0x01)
c 971 dev/ic/ispreg.h #define ISP2100_NVRAM_LUN_DISABLE(c) ISPBSMX(c, 70, 2, 0x01)
c 972 dev/ic/ispreg.h #define ISP2100_NVRAM_ENABLE_SELECT_BOOT(c) ISPBSMX(c, 70, 3, 0x01)
c 973 dev/ic/ispreg.h #define ISP2100_NVRAM_DISABLE_CODELOAD(c) ISPBSMX(c, 70, 4, 0x01)
c 974 dev/ic/ispreg.h #define ISP2100_NVRAM_SET_CACHELINESZ(c) ISPBSMX(c, 70, 5, 0x01)
c 976 dev/ic/ispreg.h #define ISP2100_NVRAM_BOOT_NODE_NAME(c) (\
c 977 dev/ic/ispreg.h (((u_int64_t)(c)[72]) << 56) | \
c 978 dev/ic/ispreg.h (((u_int64_t)(c)[73]) << 48) | \
c 979 dev/ic/ispreg.h (((u_int64_t)(c)[74]) << 40) | \
c 980 dev/ic/ispreg.h (((u_int64_t)(c)[75]) << 32) | \
c 981 dev/ic/ispreg.h (((u_int64_t)(c)[76]) << 24) | \
c 982 dev/ic/ispreg.h (((u_int64_t)(c)[77]) << 16) | \
c 983 dev/ic/ispreg.h (((u_int64_t)(c)[78]) << 8) | \
c 984 dev/ic/ispreg.h (((u_int64_t)(c)[79]) << 0))
c 986 dev/ic/ispreg.h #define ISP2100_NVRAM_BOOT_LUN(c) (c)[80]
c 988 dev/ic/ispreg.h #define ISP2200_HBA_FEATURES(c) (c)[232] | ((c)[233] << 8)
c 1328 dev/ic/mpi.c mpi_scsi_ioctl(struct scsi_link *a, u_long b, caddr_t c, int d, struct proc *e)
c 496 dev/ic/mtd8xx.c struct mtd_rx_desc *c;
c 499 dev/ic/mtd8xx.c c = &sc->mtd_ldata->mtd_rx_list[i];
c 534 dev/ic/mtd8xx.c c->rd_buf = htole32(
c 537 dev/ic/mtd8xx.c c->rd_rcw = htole32(ETHER_MAX_DIX_LEN);
c 538 dev/ic/mtd8xx.c c->rd_rsr = htole32(RSR_OWN);
c 130 dev/ic/osiop.c #define OSIOP_TRACE(a,b,c,d) do { \
c 133 dev/ic/osiop.c osiop_trbuf[osiop_trix + 2] = (c); \
c 142 dev/ic/osiop.c #define OSIOP_TRACE(a,b,c,d)
c 223 dev/ic/p9000.h #define P9100_COLOR8(c) ((c) | ((c) << 8) | ((c) << 16) | ((c) << 24))
c 224 dev/ic/p9000.h #define P9100_COLOR16(c) ((c) | ((c) << 16))
c 157 dev/ic/pcdisplay_subr.c pcdisplay_putchar(id, row, col, c, attr)
c 160 dev/ic/pcdisplay_subr.c u_int c;
c 172 dev/ic/pcdisplay_subr.c c | (attr << 8));
c 174 dev/ic/pcdisplay_subr.c scr->mem[off] = c | (attr << 8);
c 149 dev/ic/pckbc.c register u_char c;
c 152 dev/ic/pckbc.c c = bus_space_read_1(iot, ioh_d, 0);
c 156 dev/ic/pckbc.c printf("lost aux 0x%x\n", c);
c 163 dev/ic/pckbc.c printf("lost kbd 0x%x\n", c);
c 168 dev/ic/pckbc.c return (c);
c 445 dev/ic/pckbc.c int c;
c 447 dev/ic/pckbc.c c = pckbc_poll_data1(t->t_iot, t->t_ioh_d, t->t_ioh_c,
c 449 dev/ic/pckbc.c if (c != -1 && q && CMD_IN_QUEUE(q)) {
c 452 dev/ic/pckbc.c if (pckbc_cmdresponse(t, slot, c))
c 455 dev/ic/pckbc.c return (c);
c 570 dev/ic/pckbc.c int i, c = 0;
c 579 dev/ic/pckbc.c c = pckbc_poll_data1(iot, ioh_d, ioh_c, slot,
c 581 dev/ic/pckbc.c if (c != -1)
c 585 dev/ic/pckbc.c if (c == KBC_DEVCMD_ACK) {
c 589 dev/ic/pckbc.c if (c == KBC_DEVCMD_RESEND) {
c 603 dev/ic/pckbc.c if (c == -1) {
c 611 dev/ic/pckbc.c printf("pckbc_cmd: lost 0x%x\n", c);
c 621 dev/ic/pckbc.c c = pckbc_poll_data1(iot, ioh_d, ioh_c, slot,
c 623 dev/ic/pckbc.c if (c != -1)
c 626 dev/ic/pckbc.c if (c == -1) {
c 633 dev/ic/pckbc.c cmd->response[cmd->responseidx++] = c;
c 304 dev/ic/pdqreg.h #define PDQ_BITFIELD3(a, b, c) c, b, a
c 305 dev/ic/pdqreg.h #define PDQ_BITFIELD4(a, b, c, d) d, c, b, a
c 306 dev/ic/pdqreg.h #define PDQ_BITFIELD5(a, b, c, d, e) e, d, c, b, a
c 307 dev/ic/pdqreg.h #define PDQ_BITFIELD12(a, b, c, d, e, f, g, h, i, j, k, l) \
c 308 dev/ic/pdqreg.h l, k, j, i, h, g, f, e, d, c, b, a
c 311 dev/ic/pdqreg.h #define PDQ_BITFIELD3(a, b, c) a, b, c
c 312 dev/ic/pdqreg.h #define PDQ_BITFIELD4(a, b, c, d) a, b, c, d
c 313 dev/ic/pdqreg.h #define PDQ_BITFIELD5(a, b, c, d, e) a, b, c, d, e
c 314 dev/ic/pdqreg.h #define PDQ_BITFIELD12(a, b, c, d, e, f, g, h, i, j, k, l) \
c 315 dev/ic/pdqreg.h a, b, c, d, e, f, g, h, i, j, k, l
c 2151 dev/ic/rt2560.c rt2560_set_chan(struct rt2560_softc *sc, struct ieee80211_channel *c)
c 2157 dev/ic/rt2560.c chan = ieee80211_chan2ieee(ic, c);
c 2097 dev/ic/rt2661.c rt2661_select_band(struct rt2661_softc *sc, struct ieee80211_channel *c)
c 2105 dev/ic/rt2661.c if (IEEE80211_IS_CHAN_5GHZ(c)) {
c 2109 dev/ic/rt2661.c if ((IEEE80211_IS_CHAN_2GHZ(c) && sc->ext_2ghz_lna) ||
c 2110 dev/ic/rt2661.c (IEEE80211_IS_CHAN_5GHZ(c) && sc->ext_5ghz_lna)) {
c 2119 dev/ic/rt2661.c if ((IEEE80211_IS_CHAN_2GHZ(c) && sc->ext_2ghz_lna) ||
c 2120 dev/ic/rt2661.c (IEEE80211_IS_CHAN_5GHZ(c) && sc->ext_5ghz_lna)) {
c 2132 dev/ic/rt2661.c if (IEEE80211_IS_CHAN_2GHZ(c))
c 2139 dev/ic/rt2661.c sc->sifs = IEEE80211_IS_CHAN_5GHZ(c) ? 16 : 10;
c 2143 dev/ic/rt2661.c rt2661_set_chan(struct rt2661_softc *sc, struct ieee80211_channel *c)
c 2151 dev/ic/rt2661.c chan = ieee80211_chan2ieee(ic, c);
c 2174 dev/ic/rt2661.c if (c->ic_flags != sc->sc_curchan->ic_flags) {
c 2175 dev/ic/rt2661.c rt2661_select_band(sc, c);
c 2178 dev/ic/rt2661.c sc->sc_curchan = c;
c 2212 dev/ic/rt2661.c if (IEEE80211_IS_CHAN_5GHZ(c))
c 987 dev/ic/sti.c int c;
c 992 dev/ic/sti.c c = -1;
c 994 dev/ic/sti.c c = (int)sti_unitoroman[uni - 0xa0];
c 995 dev/ic/sti.c if (c == 0)
c 996 dev/ic/sti.c c = -1;
c 998 dev/ic/sti.c c = uni;
c 1001 dev/ic/sti.c c = uni;
c 1005 dev/ic/sti.c if (c == -1 || c < fp->first || c > fp->last) {
c 1010 dev/ic/sti.c *index = c;
c 55 dev/ic/tc921x.c #define PL_CL_DL(c) ((0 << c->period) | (0 << c->clock) | (0 << c->data))
c 56 dev/ic/tc921x.c #define PL_CL_DH(c) ((0 << c->period) | (0 << c->clock) | (1 << c->data))
c 57 dev/ic/tc921x.c #define PL_CH_DL(c) ((0 << c->period) | (1 << c->clock) | (0 << c->data))
c 58 dev/ic/tc921x.c #define PL_CH_DH(c) ((0 << c->period) | (1 << c->clock) | (1 << c->data))
c 60 dev/ic/tc921x.c #define PH_CL_DL(c) ((1 << c->period) | (0 << c->clock) | (0 << c->data))
c 61 dev/ic/tc921x.c #define PH_CL_DH(c) ((1 << c->period) | (0 << c->clock) | (1 << c->data))
c 62 dev/ic/tc921x.c #define PH_CH_DL(c) ((1 << c->period) | (1 << c->clock) | (0 << c->data))
c 63 dev/ic/tc921x.c #define PH_CH_DH(c) ((1 << c->period) | (1 << c->clock) | (1 << c->data))
c 88 dev/ic/tc921x.c tc921x_read_addr(struct tc921x_t *c, u_int8_t addr) {
c 92 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, PH_CH_DH(c));
c 94 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, PL_CH_DH(c));
c 101 dev/ic/tc921x.c __tc921x_write_burst(4, addr, c, PERIOD_LOW);
c 102 dev/ic/tc921x.c __tc921x_write_burst(4, addr >> 4, c, PERIOD_HIGH);
c 105 dev/ic/tc921x.c ret = __tc921x_read_burst(TC921X_REGISTER_LENGTH, c);
c 108 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, PL_CH_DH(c));
c 109 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, PH_CH_DH(c));
c 115 dev/ic/tc921x.c tc921x_write_addr(struct tc921x_t *c, u_int8_t addr, u_int32_t reg) {
c 117 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, PH_CH_DH(c));
c 119 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, PL_CH_DH(c));
c 126 dev/ic/tc921x.c __tc921x_write_burst(4, addr, c, PERIOD_LOW);
c 127 dev/ic/tc921x.c __tc921x_write_burst(4, addr >> 4, c, PERIOD_HIGH);
c 130 dev/ic/tc921x.c __tc921x_write_burst(TC921X_REGISTER_LENGTH, reg, c, 1);
c 133 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, PL_CH_DH(c));
c 134 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, PH_CH_DH(c));
c 138 dev/ic/tc921x.c __tc921x_write_burst(unsigned int length, u_int32_t data, struct tc921x_t *c, int p) {
c 142 dev/ic/tc921x.c cldh = p == PERIOD_LOW ? PL_CL_DH(c) : PH_CL_DH(c);
c 143 dev/ic/tc921x.c chdh = p == PERIOD_LOW ? PL_CH_DH(c) : PH_CH_DH(c);
c 144 dev/ic/tc921x.c cldl = p == PERIOD_LOW ? PL_CL_DL(c) : PH_CL_DL(c);
c 145 dev/ic/tc921x.c chdl = p == PERIOD_LOW ? PL_CH_DL(c) : PH_CH_DL(c);
c 149 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, cldh);
c 150 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, chdh);
c 152 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, cldl);
c 153 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, chdl);
c 158 dev/ic/tc921x.c __tc921x_read_burst(unsigned int length, struct tc921x_t *c) {
c 162 dev/ic/tc921x.c #define DATA_ON (1 << c->data)
c 165 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, PH_CL_DH(c));
c 166 dev/ic/tc921x.c bus_space_write_1(c->iot, c->ioh, c->offset, PH_CH_DH(c));
c 167 dev/ic/tc921x.c ret |= bus_space_read_1(c->iot, c->ioh, c->offset) & DATA_ON ?
c 1274 dev/ic/vga.c vga_putchar(c, row, col, uc, attr)
c 1275 dev/ic/vga.c void *c;
c 1281 dev/ic/vga.c struct vgascreen *scr = c;
c 1286 dev/ic/vga.c pcdisplay_putchar(c, row, col, uc, attr);
c 1319 dev/ic/vga.c vga_getchar(c, row, col, cell)
c 1320 dev/ic/vga.c void *c;
c 1324 dev/ic/vga.c struct vga_config *vc = c;
c 1097 dev/ic/xl.c xl_newbuf(struct xl_softc *sc, struct xl_chain_onefrag *c)
c 1120 dev/ic/xl.c if (c->map->dm_nsegs != 0) {
c 1121 dev/ic/xl.c bus_dmamap_sync(sc->sc_dmat, c->map,
c 1122 dev/ic/xl.c 0, c->map->dm_mapsize, BUS_DMASYNC_POSTREAD);
c 1123 dev/ic/xl.c bus_dmamap_unload(sc->sc_dmat, c->map);
c 1126 dev/ic/xl.c map = c->map;
c 1127 dev/ic/xl.c c->map = sc->sc_rx_sparemap;
c 1133 dev/ic/xl.c bus_dmamap_sync(sc->sc_dmat, c->map, 0, c->map->dm_mapsize,
c 1136 dev/ic/xl.c c->xl_mbuf = m_new;
c 1137 dev/ic/xl.c c->xl_ptr->xl_frag.xl_addr =
c 1138 dev/ic/xl.c htole32(c->map->dm_segs[0].ds_addr + ETHER_ALIGN);
c 1139 dev/ic/xl.c c->xl_ptr->xl_frag.xl_len =
c 1140 dev/ic/xl.c htole32(c->map->dm_segs[0].ds_len | XL_LAST_FRAG);
c 1141 dev/ic/xl.c c->xl_ptr->xl_status = htole32(0);
c 1144 dev/ic/xl.c ((caddr_t)c->xl_ptr - sc->sc_listkva), sizeof(struct xl_list),
c 1443 dev/ic/xl.c struct xl_chain *c;
c 1446 dev/ic/xl.c c = &sc->xl_cdata.xl_tx_chain[i];
c 1448 dev/ic/xl.c c->xl_phys);
c 1608 dev/ic/xl.c xl_encap(struct xl_softc *sc, struct xl_chain *c, struct mbuf *m_head)
c 1634 dev/ic/xl.c c->xl_ptr->xl_frag[frag].xl_addr =
c 1636 dev/ic/xl.c c->xl_ptr->xl_frag[frag].xl_len =
c 1675 dev/ic/xl.c if (c->map->dm_nsegs != 0) {
c 1676 dev/ic/xl.c bus_dmamap_sync(sc->sc_dmat, c->map,
c 1677 dev/ic/xl.c 0, c->map->dm_mapsize, BUS_DMASYNC_POSTWRITE);
c 1678 dev/ic/xl.c bus_dmamap_unload(sc->sc_dmat, c->map);
c 1681 dev/ic/xl.c c->xl_mbuf = m_head;
c 1682 dev/ic/xl.c sc->sc_tx_sparemap = c->map;
c 1683 dev/ic/xl.c c->map = map;
c 1684 dev/ic/xl.c c->xl_ptr->xl_frag[frag - 1].xl_len |= htole32(XL_LAST_FRAG);
c 1685 dev/ic/xl.c c->xl_ptr->xl_status = htole32(total_len);
c 1686 dev/ic/xl.c c->xl_ptr->xl_next = 0;
c 1701 dev/ic/xl.c c->xl_ptr->xl_status = htole32(status);
c 111 dev/ic/z8530sc.c u_char c, rr0, rr1;
c 124 dev/ic/z8530sc.c c = zs_read_data(cs);
c 918 dev/ic/z8530tty.c register u_char c, rr0, rr1;
c 932 dev/ic/z8530tty.c c = zs_read_data(cs);
c 933 dev/ic/z8530tty.c ch_rr1 = (c << 8) | rr1;
c 1124 dev/ic/z8530tty.c register int get, c, s;
c 1156 dev/ic/z8530tty.c c = (ring_data >> 8) & 0xff;
c 1158 dev/ic/z8530tty.c c |= TTY_FE;
c 1160 dev/ic/z8530tty.c c |= TTY_PE;
c 1162 dev/ic/z8530tty.c line->l_rint(c, tp);
c 1200 dev/ic/z8530tty.c c = ((rr0 & ZSRR0_DCD) != 0);
c 1201 dev/ic/z8530tty.c if (line->l_modem(tp, c) == 0)
c 1202 dev/ic/z8530tty.c zs_modem(zst, c);
c 111 dev/isa/elink.c u_char c;
c 113 dev/isa/elink.c c = 0xff;
c 115 dev/isa/elink.c bus_space_write_1(iot, ioh, 0, c);
c 116 dev/isa/elink.c if (c & 0x80) {
c 117 dev/isa/elink.c c <<= 1;
c 118 dev/isa/elink.c c ^= p;
c 120 dev/isa/elink.c c <<= 1;
c 1270 dev/isa/gus.c unsigned char c = (unsigned char) flags;
c 1284 dev/isa/gus.c c |= GUSMASK_DMA_WIDTH;
c 1292 dev/isa/gus.c c |= GUSMASK_DMA_ENABLE | GUSMASK_DMA_R0 | GUSMASK_DMA_IRQ;
c 1324 dev/isa/gus.c bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, c);
c 3417 dev/isa/gus.c unsigned char c,d,m;
c 3426 dev/isa/gus.c c = bus_space_read_1(iot, sc->sc_ioh3, GUS_BOARD_REV);
c 3427 dev/isa/gus.c if (c != 0xff)
c 3428 dev/isa/gus.c sc->sc_revision = c;
c 3445 dev/isa/gus.c c = ((unsigned char) gus_irq_map[ia->ia_irq]) | GUSMASK_BOTH_RQ;
c 3478 dev/isa/gus.c bus_space_write_1(iot, sc->sc_ioh1, GUS_IRQ_CONTROL, c);
c 3485 dev/isa/gus.c bus_space_write_1(iot, sc->sc_ioh1, GUS_IRQ_CONTROL, c);
c 392 dev/isa/if_ie.c u_char c;
c 400 dev/isa/if_ie.c c = inb(PORT + IEATT_REVISION);
c 401 dev/isa/if_ie.c switch (SL_BOARD(c)) {
c 416 dev/isa/if_ie.c sc->sc_dev.dv_xname, SL_BOARD(c));
c 421 dev/isa/if_ie.c sc->hard_vers = SL_REV(c);
c 461 dev/isa/if_ie.c u_char c;
c 494 dev/isa/if_ie.c c = inb(PORT + IE507_MADDR);
c 495 dev/isa/if_ie.c if (c & 0x20) {
c 9 dev/isa/isadmareg.h #define DMA1_CHN(c) (1*(2*(c))) /* addr reg for channel c */
c 20 dev/isa/isadmareg.h #define DMA2_CHN(c) (2*(2*(c))) /* addr reg for channel c */
c 54 dev/isa/isadmavar.h #define isadma_acquire(c) isa_dma_acquire(isa_dev, (c))
c 55 dev/isa/isadmavar.h #define isadma_release(c) isa_dma_release(isa_dev, (c))
c 56 dev/isa/isadmavar.h #define isadma_cascade(c) isa_dmacascade(isa_dev, (c))
c 57 dev/isa/isadmavar.h #define isadma_start(a, s, c, f) \
c 58 dev/isa/isadmavar.h isa_dmastart(isa_dev, (c), (a), (s), 0, (f), BUS_DMA_WAITOK|BUS_DMA_BUS1)
c 59 dev/isa/isadmavar.h #define isadma_abort(c) isa_dmaabort(isa_dev, (c))
c 60 dev/isa/isadmavar.h #define isadma_finished(c) isa_dmafinished(isa_dev, (c))
c 61 dev/isa/isadmavar.h #define isadma_done(c) isa_dmadone(isa_dev, (c))
c 404 dev/isa/isapnp.c struct isa_attach_args *c, *best, *f = *ipa;
c 414 dev/isa/isapnp.c for (best = c = f; c != NULL; c = c->ipa_sibling) {
c 415 dev/isa/isapnp.c if (!SAMEDEV(c, f))
c 417 dev/isa/isapnp.c if (c->ipa_pref < best->ipa_pref)
c 418 dev/isa/isapnp.c best = c;
c 429 dev/isa/isapnp.c for (c = f; c->ipa_sibling != best; c = c->ipa_sibling)
c 431 dev/isa/isapnp.c c->ipa_sibling = best->ipa_sibling;
c 437 dev/isa/isapnp.c for (c = f; c != NULL; c = c->ipa_sibling)
c 438 dev/isa/isapnp.c if (c != best && SAMEDEV(c, best))
c 441 dev/isa/isapnp.c if (c == NULL) {
c 453 dev/isa/isapnp.c for (c = f; c; ) {
c 454 dev/isa/isapnp.c if (c == best)
c 456 dev/isa/isapnp.c d = c->ipa_sibling;
c 457 dev/isa/isapnp.c if (SAMEDEV(c, best))
c 458 dev/isa/isapnp.c ISAPNP_FREE(c);
c 461 dev/isa/isapnp.c n->ipa_sibling = c;
c 464 dev/isa/isapnp.c l = c;
c 465 dev/isa/isapnp.c n = c;
c 466 dev/isa/isapnp.c c->ipa_sibling = NULL;
c 468 dev/isa/isapnp.c c = d;
c 894 dev/isa/isapnp.c int c, d;
c 913 dev/isa/isapnp.c for (c = 0; c < sc->sc_ncards; c++) {
c 917 dev/isa/isapnp.c isapnp_write_reg(sc, ISAPNP_WAKE, c + 1);
c 919 dev/isa/isapnp.c if ((ipa = isapnp_get_resource(sc, c, ia)) == NULL)
c 153 dev/isa/isapnpres.c isapnp_merge(c, d)
c 154 dev/isa/isapnpres.c struct isa_attach_args *c;
c 160 dev/isa/isapnpres.c c->ipa_io[c->ipa_nio++] = d->ipa_io[i];
c 163 dev/isa/isapnpres.c c->ipa_mem[c->ipa_nmem++] = d->ipa_mem[i];
c 166 dev/isa/isapnpres.c c->ipa_mem32[c->ipa_nmem32++] = d->ipa_mem32[i];
c 169 dev/isa/isapnpres.c c->ipa_irq[c->ipa_nirq++] = d->ipa_irq[i];
c 172 dev/isa/isapnpres.c c->ipa_drq[c->ipa_ndrq++] = d->ipa_drq[i];
c 183 dev/isa/isapnpres.c struct isa_attach_args *dev, *conf, *d, *c, *pa;
c 188 dev/isa/isapnpres.c for (conf = c = NULL, d = dev; d; d = dev) {
c 210 dev/isa/isapnpres.c if (c == NULL)
c 211 dev/isa/isapnpres.c c = conf = pa;
c 213 dev/isa/isapnpres.c c->ipa_sibling = pa;
c 215 dev/isa/isapnpres.c while (c->ipa_sibling)
c 216 dev/isa/isapnpres.c c = c->ipa_sibling;
c 440 dev/isa/isapnpres.c isapnp_get_resource(sc, c, template)
c 442 dev/isa/isapnpres.c int c;
c 465 dev/isa/isapnpres.c if (d != sc->sc_id[c][i] && i != ISAPNP_SERIAL_SIZE - 1) {
c 468 dev/isa/isapnpres.c sc->sc_dev.dv_xname, c + 1, i);
c 506 dev/isa/isapnpres.c sc->sc_dev.dv_xname, c + 1);
c 514 dev/isa/isapnpres.c sc->sc_dev.dv_xname, c + 1);
c 529 dev/isa/isapnpres.c warned >= 10 ? "Too many tag errors" : "Resource timeout", c + 1);
c 86 dev/isa/mcd.c #define MCD_TRACE(fmt,a,b,c,d)
c 88 dev/isa/mcd.c #define MCD_TRACE(fmt,a,b,c,d) {if (sc->debug) {printf("%s: st=%02x: ", sc->sc_dev.dv_xname, sc->status); printf(fmt,a,b,c,d);}}
c 924 dev/isa/seagate.c int c = *count;
c 981 dev/isa/seagate.c } while (--c);
c 983 dev/isa/seagate.c *count = c;
c 991 dev/isa/seagate.c if (c && (*phase != p))
c 85 dev/isa/sf16fmr.c struct tc921x_t c;
c 134 dev/isa/sf16fmr.c sc->c.iot = ia->ia_iot;
c 138 dev/isa/sf16fmr.c sc->c.period = SF16FMR_FREQ_PERIOD;
c 139 dev/isa/sf16fmr.c sc->c.clock = SF16FMR_FREQ_CLOCK;
c 140 dev/isa/sf16fmr.c sc->c.data = SF16FMR_FREQ_DATA;
c 143 dev/isa/sf16fmr.c if (bus_space_map(sc->c.iot, ia->ia_iobase, ia->ia_iosize,
c 144 dev/isa/sf16fmr.c 0, &sc->c.ioh)) {
c 150 dev/isa/sf16fmr.c sfr_set_freq(&sc->c, sc->freq);
c 151 dev/isa/sf16fmr.c sfr_set_vol(sc->c.iot, sc->c.ioh, sc->vol, sc->mute);
c 162 dev/isa/sf16fmr.c sc.c.iot = iot;
c 163 dev/isa/sf16fmr.c sc.c.ioh = ioh;
c 164 dev/isa/sf16fmr.c sc.c.offset = 0;
c 165 dev/isa/sf16fmr.c sc.c.period = SF16FMR_FREQ_PERIOD;
c 166 dev/isa/sf16fmr.c sc.c.clock = SF16FMR_FREQ_CLOCK;
c 167 dev/isa/sf16fmr.c sc.c.data = SF16FMR_FREQ_DATA;
c 176 dev/isa/sf16fmr.c sfr_set_freq(&sc.c, sc.freq);
c 178 dev/isa/sf16fmr.c freq = sfr_set_freq(&sc.c, sc.freq);
c 193 dev/isa/sf16fmr.c ri->freq = sc->freq = sfr_get_freq(&sc->c);
c 210 dev/isa/sf16fmr.c sc->freq = sfr_set_freq(&sc->c, ri->freq);
c 211 dev/isa/sf16fmr.c sc->vol = sfr_set_vol(sc->c.iot, sc->c.ioh, sc->vol, sc->mute);
c 217 dev/isa/sf16fmr.c sfr_set_freq(struct tc921x_t *c, u_int32_t freq) {
c 225 dev/isa/sf16fmr.c tc921x_write_addr(c, 0xD0, data);
c 228 dev/isa/sf16fmr.c tc921x_write_addr(c, 0xD2, data);
c 230 dev/isa/sf16fmr.c return sfr_get_freq(c);
c 234 dev/isa/sf16fmr.c sfr_get_freq(struct tc921x_t *c) {
c 235 dev/isa/sf16fmr.c return tc921x_decode_freq(tc921x_read_addr(c, 0xD1));
c 121 dev/isa/spkr.c #define toupper(c) ((c) - ' ' * (((c) >= 'a') && ((c) <= 'z')))
c 122 dev/isa/spkr.c #define isdigit(c) (((c) >= '0') && ((c) <= '9'))
c 123 dev/isa/spkr.c #define dtoi(c) ((c) - '0')
c 234 dev/isa/spkr.c char c = toupper(*cp);
c 237 dev/isa/spkr.c printf("playstring: %c (%x)\n", c, c);
c 240 dev/isa/spkr.c switch (c) {
c 249 dev/isa/spkr.c pitch = notetab[c - 'A'] + octave * OCTAVE_NOTES;
c 225 dev/isa/wds.c u_int8_t c;
c 232 dev/isa/wds.c c = bus_space_read_1(iot, ioh, WDS_STAT);
c 233 dev/isa/wds.c if (c & WDSS_REJ)
c 408 dev/isa/wds.c u_char c;
c 415 dev/isa/wds.c c = bus_space_read_1(iot, ioh, WDS_IRQSTAT) & WDSI_MASK;
c 420 dev/isa/wds.c switch (c) {
c 431 dev/isa/wds.c sc->sc_dev.dv_xname, c);
c 705 dev/isa/wds.c u_char c;
c 713 dev/isa/wds.c c = WDSC_IRQMFREE;
c 714 dev/isa/wds.c wds_cmd(sc, &c, sizeof c);
c 739 dev/isa/wds.c c = WDSC_MSTART(wmbo - wmbx->mbo);
c 740 dev/isa/wds.c wds_cmd(sc, &c, sizeof c);
c 863 dev/isa/wds.c u_char c;
c 869 dev/isa/wds.c c = bus_space_read_1(iot, ioh, WDS_STAT);
c 935 dev/isa/wds.c u_char c;
c 979 dev/isa/wds.c c = WDSC_DISUNSOL;
c 980 dev/isa/wds.c wds_cmd(sc, &c, sizeof c);
c 393 dev/microcode/ncr53cxxx/ncr53cxxx.c char c;
c 400 dev/microcode/ncr53cxxx/ncr53cxxx.c while ((c = *p++) && c != '\n' && c <= ' ' || c == '\t')
c 402 dev/microcode/ncr53cxxx/ncr53cxxx.c if (c == '\n' || c == 0 || c == ';')
c 408 dev/microcode/ncr53cxxx/ncr53cxxx.c if ((c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') ||
c 409 dev/microcode/ncr53cxxx/ncr53cxxx.c (c >= 'A' && c <= 'Z') || c == '$' || c == '_') {
c 411 dev/microcode/ncr53cxxx/ncr53cxxx.c *s++ = c;
c 412 dev/microcode/ncr53cxxx/ncr53cxxx.c while (((c = *p) >= '0' && c <= '9') ||
c 413 dev/microcode/ncr53cxxx/ncr53cxxx.c (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') ||
c 414 dev/microcode/ncr53cxxx/ncr53cxxx.c c == '_' || c == '$') {
c 424 dev/microcode/ncr53cxxx/ncr53cxxx.c tokens[ntokens].type = c;
c 560 dev/microcode/siop/ncr53cxxx.c char c;
c 567 dev/microcode/siop/ncr53cxxx.c while ((c = *p++) && c != '\n' && (c <= ' ' || c == '\t'))
c 569 dev/microcode/siop/ncr53cxxx.c if (c == '\n' || c == 0 || c == ';')
c 575 dev/microcode/siop/ncr53cxxx.c if ((c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') ||
c 576 dev/microcode/siop/ncr53cxxx.c (c >= 'A' && c <= 'Z') || c == '$' || c == '_') {
c 578 dev/microcode/siop/ncr53cxxx.c *s++ = c;
c 579 dev/microcode/siop/ncr53cxxx.c while (((c = *p) >= '0' && c <= '9') ||
c 580 dev/microcode/siop/ncr53cxxx.c (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') ||
c 581 dev/microcode/siop/ncr53cxxx.c c == '_' || c == '$') {
c 591 dev/microcode/siop/ncr53cxxx.c tokens[ntokens].type = c;
c 128 dev/mii/acphy.c #define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
c 147 dev/mii/dcphy.c #define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
c 120 dev/mii/ipgphy.c #define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
c 410 dev/mii/mii_physubr.c #define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
c 121 dev/mii/xmphy.c #define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
c 585 dev/pci/azalia.c int err, i, c;
c 605 dev/pci/azalia.c c = -1;
c 608 dev/pci/azalia.c if (!err && c < 0)
c 609 dev/pci/azalia.c c = i;
c 611 dev/pci/azalia.c if (c < 0)
c 614 dev/pci/azalia.c az->codecno = c;
c 1224 dev/pci/azalia.c int nbits, c, chan, i, err;
c 1289 dev/pci/azalia.c for (c = 0; c < group->nconv; c++) {
c 1290 dev/pci/azalia.c for (chan = 0, i = 0; i <= c; i++)
c 1291 dev/pci/azalia.c chan += WIDGET_CHANNELS(&this->w[group->conv[c]]);
c 1300 dev/pci/azalia.c for (c = 0; c < group->nconv; c++) {
c 1301 dev/pci/azalia.c for (chan = 0, i = 0; i <= c; i++)
c 1302 dev/pci/azalia.c chan += WIDGET_CHANNELS(&this->w[group->conv[c]]);
c 190 dev/pci/eapreg.h #define EAP_SET_SIZE(c,s) (((c)<<16) | (s))
c 1065 dev/pci/emuxki.c chan->fxsend.c.level = chan->fxsend.d.level =
c 1074 dev/pci/emuxki.c chan->fxsend.c.dest = 0x2;
c 1155 dev/pci/emuxki.c chan->fxsend.c.level = fxsend->c.level;
c 1159 dev/pci/emuxki.c chan->fxsend.c.dest = fxsend->c.dest;
c 1203 dev/pci/emuxki.c (chan->fxsend.c.dest << 16) |
c 1219 dev/pci/emuxki.c (chan->fxsend.c.dest << 24) |
c 1229 dev/pci/emuxki.c (chan->fxsend.c.level << 24) | chan->loop.start);
c 1553 dev/pci/emuxki.c fxsend.c.dest = 0x2;
c 1561 dev/pci/emuxki.c fxsend.a.level = fxsend.c.level = 0xc0;
c 1567 dev/pci/emuxki.c fxsend.a.level = fxsend.c.level = 0x00;
c 98 dev/pci/emuxkivar.h } a, b, c, d, e, f, g, h;
c 1809 dev/pci/hifn7751.c struct cryptoini *c;
c 1858 dev/pci/hifn7751.c for (c = cri; c != NULL; c = c->cri_next) {
c 1859 dev/pci/hifn7751.c switch (c->cri_alg) {
c 1872 dev/pci/hifn7751.c (c->cri_alg == CRYPTO_AES_CBC ?
c 868 dev/pci/if_devar.h #define TULIP_SETCTX(m, c) ((void) ((m)->m_pkthdr.rcvif = (void *) (c)))
c 683 dev/pci/if_lge.c lge_newbuf(struct lge_softc *sc, struct lge_rx_desc *c, struct mbuf *m)
c 722 dev/pci/if_lge.c c->lge_mbuf = m_new;
c 723 dev/pci/if_lge.c c->lge_fragptr_hi = 0;
c 724 dev/pci/if_lge.c c->lge_fragptr_lo = VTOPHYS(mtod(m_new, caddr_t));
c 725 dev/pci/if_lge.c c->lge_fraglen = m_new->m_len;
c 726 dev/pci/if_lge.c c->lge_ctl = m_new->m_len | LGE_RXCTL_WANTINTR | LGE_FRAGCNT(1);
c 727 dev/pci/if_lge.c c->lge_sts = 0;
c 740 dev/pci/if_lge.c CSR_WRITE_4(sc, LGE_RXDESC_ADDR_LO, VTOPHYS(c));
c 896 dev/pci/if_lge.c int c, i, total_len = 0;
c 902 dev/pci/if_lge.c c = cnt;
c 906 dev/pci/if_lge.c while(c) {
c 916 dev/pci/if_lge.c c--;
c 702 dev/pci/if_lmc_media.c write_av9110_bit(lmc_softc_t *sc, int c)
c 708 dev/pci/if_lmc_media.c if (c & 0x01)
c 575 dev/pci/if_lmcvar.h #define LMC_SETCTX(m, c) ((void) ((m)->m_pkthdr.rcvif = (void *) (c)))
c 510 dev/pci/if_msk.c struct sk_chain *c;
c 544 dev/pci/if_msk.c c = &sc_if->sk_cdata.sk_rx_chain[i];
c 545 dev/pci/if_msk.c r = c->sk_le;
c 546 dev/pci/if_msk.c c->sk_mbuf = m_new;
c 2180 dev/pci/if_msk.c int c, i, j;
c 2184 dev/pci/if_msk.c c = len - i;
c 2185 dev/pci/if_msk.c if (c > 16) c = 16;
c 2187 dev/pci/if_msk.c for (j = 0; j < c; j++) {
c 2197 dev/pci/if_msk.c for (j = 0; j < c; j++) {
c 2204 dev/pci/if_msk.c if (c < 16)
c 1057 dev/pci/if_nge.c nge_newbuf(sc, c, m)
c 1059 dev/pci/if_nge.c struct nge_desc *c;
c 1094 dev/pci/if_nge.c c->nge_mbuf = m_new;
c 1095 dev/pci/if_nge.c c->nge_ptr = VTOPHYS(mtod(m_new, caddr_t));
c 1097 dev/pci/if_nge.c c->nge_ptr));
c 1098 dev/pci/if_nge.c c->nge_ctl = m_new->m_len;
c 1099 dev/pci/if_nge.c c->nge_extsts = 0;
c 1236 dev/pci/if_sis.c sis_newbuf(struct sis_softc *sc, struct sis_desc *c, struct mbuf *m)
c 1241 dev/pci/if_sis.c if (c == NULL)
c 1267 dev/pci/if_sis.c map = c->map;
c 1268 dev/pci/if_sis.c c->map = sc->sc_rx_sparemap;
c 1271 dev/pci/if_sis.c bus_dmamap_sync(sc->sc_dmat, c->map, 0, c->map->dm_mapsize,
c 1276 dev/pci/if_sis.c c->sis_mbuf = m_new;
c 1277 dev/pci/if_sis.c c->sis_ptr = c->map->dm_segs[0].ds_addr + sizeof(u_int64_t);
c 1278 dev/pci/if_sis.c c->sis_ctl = ETHER_MAX_DIX_LEN;
c 1281 dev/pci/if_sis.c ((caddr_t)c - sc->sc_listkva), sizeof(struct sis_desc),
c 640 dev/pci/if_sk.c struct sk_chain *c;
c 674 dev/pci/if_sk.c c = &sc_if->sk_cdata.sk_rx_chain[i];
c 675 dev/pci/if_sk.c r = c->sk_desc;
c 676 dev/pci/if_sk.c c->sk_mbuf = m_new;
c 2836 dev/pci/if_sk.c int c, i, j;
c 2840 dev/pci/if_sk.c c = len - i;
c 2841 dev/pci/if_sk.c if (c > 16) c = 16;
c 2843 dev/pci/if_sk.c for (j = 0; j < c; j++) {
c 2853 dev/pci/if_sk.c for (j = 0; j < c; j++) {
c 2860 dev/pci/if_sk.c if (c < 16)
c 1000 dev/pci/if_ste.c ste_newbuf(struct ste_softc *sc, struct ste_chain_onefrag *c, struct mbuf *m)
c 1022 dev/pci/if_ste.c c->ste_mbuf = m_new;
c 1023 dev/pci/if_ste.c c->ste_ptr->ste_status = 0;
c 1024 dev/pci/if_ste.c c->ste_ptr->ste_frag.ste_addr = vtophys(mtod(m_new, vaddr_t));
c 1025 dev/pci/if_ste.c c->ste_ptr->ste_frag.ste_len = (ETHER_MAX_DIX_LEN + ETHER_VLAN_ENCAP_LEN) | STE_FRAG_LAST;
c 1362 dev/pci/if_ste.c ste_encap(struct ste_softc *sc, struct ste_chain *c, struct mbuf *m_head)
c 1369 dev/pci/if_ste.c d = c->ste_ptr;
c 1413 dev/pci/if_ste.c c->ste_mbuf = m_head;
c 1056 dev/pci/if_tl.c int tl_newbuf(sc, c)
c 1058 dev/pci/if_tl.c struct tl_chain_onefrag *c;
c 1077 dev/pci/if_tl.c c->tl_mbuf = m_new;
c 1078 dev/pci/if_tl.c c->tl_next = NULL;
c 1079 dev/pci/if_tl.c c->tl_ptr->tlist_frsize = MCLBYTES;
c 1080 dev/pci/if_tl.c c->tl_ptr->tlist_fptr = 0;
c 1081 dev/pci/if_tl.c c->tl_ptr->tl_frag.tlist_dadr = VTOPHYS(mtod(m_new, caddr_t));
c 1082 dev/pci/if_tl.c c->tl_ptr->tl_frag.tlist_dcnt = MCLBYTES;
c 1083 dev/pci/if_tl.c c->tl_ptr->tlist_cstat = TL_CSTAT_READY;
c 1463 dev/pci/if_tl.c int tl_encap(sc, c, m_head)
c 1465 dev/pci/if_tl.c struct tl_chain *c;
c 1486 dev/pci/if_tl.c c->tl_ptr->tl_frag[frag].tlist_dadr =
c 1488 dev/pci/if_tl.c c->tl_ptr->tl_frag[frag].tlist_dcnt = m->m_len;
c 1521 dev/pci/if_tl.c f = &c->tl_ptr->tl_frag[0];
c 1532 dev/pci/if_tl.c f = &c->tl_ptr->tl_frag[frag];
c 1539 dev/pci/if_tl.c c->tl_mbuf = m_head;
c 1540 dev/pci/if_tl.c c->tl_ptr->tl_frag[frag - 1].tlist_dcnt |= TL_LAST_FRAG;
c 1541 dev/pci/if_tl.c c->tl_ptr->tlist_frsize = total_len;
c 1542 dev/pci/if_tl.c c->tl_ptr->tlist_cstat = TL_CSTAT_READY;
c 1543 dev/pci/if_tl.c c->tl_ptr->tlist_fptr = 0;
c 1268 dev/pci/if_vr.c vr_encap(struct vr_softc *sc, struct vr_chain *c, struct mbuf *m_head)
c 1299 dev/pci/if_vr.c if (bus_dmamap_load_mbuf(sc->sc_dmat, c->vr_map, m_new,
c 1304 dev/pci/if_vr.c bus_dmamap_sync(sc->sc_dmat, c->vr_map, 0, c->vr_map->dm_mapsize,
c 1309 dev/pci/if_vr.c c->vr_mbuf = m_new;
c 1311 dev/pci/if_vr.c f = c->vr_ptr;
c 1312 dev/pci/if_vr.c f->vr_data = htole32(c->vr_map->dm_segs[0].ds_addr);
c 1313 dev/pci/if_vr.c f->vr_ctl = htole32(c->vr_map->dm_mapsize);
c 1318 dev/pci/if_vr.c f->vr_next = htole32(c->vr_nextdesc->vr_paddr);
c 962 dev/pci/if_wb.c wb_newbuf(sc, c, m)
c 964 dev/pci/if_wb.c struct wb_chain_onefrag *c;
c 973 dev/pci/if_wb.c m_new->m_data = m_new->m_ext.ext_buf = c->wb_buf;
c 988 dev/pci/if_wb.c c->wb_mbuf = m_new;
c 989 dev/pci/if_wb.c c->wb_ptr->wb_data = VTOPHYS(mtod(m_new, caddr_t));
c 990 dev/pci/if_wb.c c->wb_ptr->wb_ctl = WB_RXCTL_RLINK | ETHER_MAX_DIX_LEN;
c 991 dev/pci/if_wb.c c->wb_ptr->wb_status = WB_RXSTAT;
c 1278 dev/pci/if_wb.c int wb_encap(sc, c, m_head)
c 1280 dev/pci/if_wb.c struct wb_chain *c;
c 1301 dev/pci/if_wb.c f = &c->wb_ptr->wb_frag[frag];
c 1308 dev/pci/if_wb.c f->wb_next = VTOPHYS(&c->wb_ptr->wb_frag[frag + 1]);
c 1340 dev/pci/if_wb.c f = &c->wb_ptr->wb_frag[0];
c 1349 dev/pci/if_wb.c f = &c->wb_ptr->wb_frag[frag];
c 1357 dev/pci/if_wb.c c->wb_mbuf = m_head;
c 1358 dev/pci/if_wb.c c->wb_lastdesc = frag - 1;
c 1359 dev/pci/if_wb.c WB_TXCTL(c) |= WB_TXCTL_LASTFRAG;
c 1360 dev/pci/if_wb.c WB_TXNEXT(c) = VTOPHYS(&c->wb_nextdesc->wb_ptr->wb_frag[0]);
c 2149 dev/pci/if_wpi.c wpi_set_txpower(struct wpi_softc *sc, struct ieee80211_channel *c, int async)
c 2158 dev/pci/if_wpi.c chan = ieee80211_chan2ieee(ic, c);
c 2161 dev/pci/if_wpi.c if (IEEE80211_IS_CHAN_5GHZ(c)) {
c 2169 dev/pci/if_wpi.c txpower.band = IEEE80211_IS_CHAN_5GHZ(c) ? 0 : 1;
c 2175 dev/pci/if_wpi.c int idx = wpi_get_power_index(sc, group, c,
c 2180 dev/pci/if_wpi.c if (IEEE80211_IS_CHAN_5GHZ(c)) {
c 2201 dev/pci/if_wpi.c struct ieee80211_channel *c, int rate)
c 2217 dev/pci/if_wpi.c chan = ieee80211_chan2ieee(ic, c);
c 2225 dev/pci/if_wpi.c pwr -= IEEE80211_IS_CHAN_2GHZ(c) ? 0 : 5;
c 2228 dev/pci/if_wpi.c pwr -= IEEE80211_IS_CHAN_2GHZ(c) ? 7 : 10;
c 2231 dev/pci/if_wpi.c pwr -= IEEE80211_IS_CHAN_2GHZ(c) ? 9 : 12;
c 2423 dev/pci/if_wpi.c struct ieee80211_channel *c;
c 2514 dev/pci/if_wpi.c for (c = &ic->ic_channels[1];
c 2515 dev/pci/if_wpi.c c <= &ic->ic_channels[IEEE80211_CHAN_MAX]; c++) {
c 2516 dev/pci/if_wpi.c if ((c->ic_flags & flags) != flags)
c 2519 dev/pci/if_wpi.c chan->chan = ieee80211_chan2ieee(ic, c);
c 2521 dev/pci/if_wpi.c if (!(c->ic_flags & IEEE80211_CHAN_PASSIVE)) {
c 2527 dev/pci/if_wpi.c if (IEEE80211_IS_CHAN_5GHZ(c)) {
c 332 dev/pci/ips.c #define ips_exec(s, c) (s)->sc_chip->ic_exec((s), (c))
c 707 dev/pci/ips.c ips_poll(struct ips_softc *sc, struct ips_ccb *c)
c 713 dev/pci/ips.c while (ccb != c) {
c 584 dev/pci/ises.c int cmd, len, c, s;
c 687 dev/pci/ises.c for(c = 0; len > 0; len--, c++)
c 689 dev/pci/ises.c *((u_int32_t *)&ses + c) =
c 916 dev/pci/ises.c struct cryptoini *c, *mac = NULL, *enc = NULL;
c 943 dev/pci/ises.c for (c = cri; c != NULL; c = c->cri_next) {
c 944 dev/pci/ises.c if (c->cri_alg == CRYPTO_MD5_HMAC ||
c 945 dev/pci/ises.c c->cri_alg == CRYPTO_SHA1_HMAC ||
c 946 dev/pci/ises.c c->cri_alg == CRYPTO_RIPEMD160_HMAC) {
c 949 dev/pci/ises.c mac = c;
c 950 dev/pci/ises.c } else if (c->cri_alg == CRYPTO_DES_CBC ||
c 951 dev/pci/ises.c c->cri_alg == CRYPTO_3DES_CBC) {
c 954 dev/pci/ises.c enc = c;
c 500 dev/pci/lofn.c u_int8_t c;
c 503 dev/pci/lofn.c c = p[i];
c 504 dev/pci/lofn.c if (c != 0) {
c 505 dev/pci/lofn.c while ((c & 0x80) == 0) {
c 507 dev/pci/lofn.c c <<= 1;
c 939 dev/pci/maestro.c struct ac97_codec_if *c = ((struct maestro_softc *)self)->codec_if;
c 941 dev/pci/maestro.c if (c)
c 942 dev/pci/maestro.c return (c->vtbl->mixer_set_port(c, cp));
c 952 dev/pci/maestro.c struct ac97_codec_if *c = ((struct maestro_softc *)self)->codec_if;
c 954 dev/pci/maestro.c if (c)
c 955 dev/pci/maestro.c return (c->vtbl->mixer_get_port(c, cp));
c 965 dev/pci/maestro.c struct ac97_codec_if *c = ((struct maestro_softc *)self)->codec_if;
c 967 dev/pci/maestro.c if (c)
c 968 dev/pci/maestro.c return (c->vtbl->query_devinfo(c, cp));
c 741 dev/pci/musycc.c musycc_list_tx_init(struct musycc_group *mg, int c, int size)
c 750 dev/pci/musycc.c md = &mg->mg_dma_d[c];
c 762 dev/pci/musycc.c musycc_list_tx_free(mg, c);
c 780 dev/pci/musycc.c mg->mg_group->tx_headp[c] = htole32(base + (caddr_t)dd -
c 796 dev/pci/musycc.c musycc_list_rx_init(struct musycc_group *mg, int c, int size)
c 805 dev/pci/musycc.c md = &mg->mg_dma_d[c];
c 814 dev/pci/musycc.c musycc_list_rx_free(mg, c);
c 820 dev/pci/musycc.c musycc_list_rx_free(mg, c);
c 835 dev/pci/musycc.c mg->mg_group->rx_headp[c] = htole32(base + (caddr_t)dd -
c 845 dev/pci/musycc.c musycc_list_tx_free(struct musycc_group *mg, int c)
c 850 dev/pci/musycc.c md = &mg->mg_dma_d[c];
c 876 dev/pci/musycc.c musycc_list_rx_free(struct musycc_group *mg, int c)
c 881 dev/pci/musycc.c md = &mg->mg_dma_d[c];
c 908 dev/pci/musycc.c musycc_reinit_dma(struct musycc_group *mg, int c)
c 914 dev/pci/musycc.c musycc_list_tx_free(mg, c);
c 915 dev/pci/musycc.c musycc_list_rx_free(mg, c);
c 918 dev/pci/musycc.c if (musycc_list_tx_init(mg, c, MUSYCC_DMA_SIZE) ||
c 919 dev/pci/musycc.c musycc_list_rx_init(mg, c, MUSYCC_DMA_SIZE)) {
c 921 dev/pci/musycc.c mg->mg_channels[c]->cc_ifp->if_xname);
c 922 dev/pci/musycc.c musycc_free_channel(mg, c);
c 926 dev/pci/musycc.c musycc_activate_channel(mg, c);
c 933 dev/pci/musycc.c musycc_newbuf(struct musycc_group *mg, struct dma_desc *c, struct mbuf *m)
c 963 dev/pci/musycc.c map = c->map;
c 964 dev/pci/musycc.c c->map = mg->mg_rx_sparemap;
c 967 dev/pci/musycc.c bus_dmamap_sync(mg->mg_dmat, c->map, 0, c->map->dm_mapsize,
c 970 dev/pci/musycc.c c->mbuf = m_new;
c 971 dev/pci/musycc.c c->data = htole32(c->map->dm_segs[0].ds_addr);
c 972 dev/pci/musycc.c c->status = htole32(MUSYCC_STATUS_NOPOLL |
c 976 dev/pci/musycc.c ((caddr_t)c - mg->mg_listkva), sizeof(struct dma_desc),
c 987 dev/pci/musycc.c musycc_encap(struct musycc_group *mg, struct mbuf *m_head, int c)
c 1001 dev/pci/musycc.c mg->mg_channels[c]->cc_ifp->if_xname));
c 1005 dev/pci/musycc.c cur = mg->mg_dma_d[c].tx_cur;
c 1008 dev/pci/musycc.c if (map->dm_nsegs + mg->mg_dma_d[c].tx_use >= mg->mg_dma_d[c].tx_cnt) {
c 1010 dev/pci/musycc.c mg->mg_channels[c]->cc_ifp->if_xname));
c 1018 dev/pci/musycc.c if (cur != mg->mg_dma_d[c].tx_cur)
c 1040 dev/pci/musycc.c tmp = mg->mg_dma_d[c].tx_cur;
c 1041 dev/pci/musycc.c mg->mg_dma_d[c].tx_cur = cur->nextdesc;
c 1042 dev/pci/musycc.c mg->mg_dma_d[c].tx_use += i;
c 1043 dev/pci/musycc.c mg->mg_dma_d[c].tx_pkts++;
c 1057 dev/pci/musycc.c musycc_txeom(mg, c);
c 1058 dev/pci/musycc.c if (mg->mg_dma_d[c].tx_pend == tmp) {
c 1061 dev/pci/musycc.c mg->mg_channels[c]->cc_ifp->if_xname);
c 1062 dev/pci/musycc.c mg->mg_group->tx_headp[c] = htole32(base +
c 1063 dev/pci/musycc.c (caddr_t)mg->mg_dma_d[c].tx_pend - mg->mg_listkva);
c 1065 dev/pci/musycc.c musycc_sreq(mg, c, MUSYCC_SREQ_SET(8), MUSYCC_SREQ_TX);
c 1510 dev/pci/noct.c cmd->arith.a = cmd->arith.b = cmd->arith.c = cmd->arith.unused[0] =
c 1568 dev/pci/noct.c cmd->arith.c = cmd->arith.unused[0] = cmd->arith.unused[1] = 0;
c 1653 dev/pci/noct.c u_int8_t c, *p = cr->crp_p;
c 1656 dev/pci/noct.c c = p[i];
c 1657 dev/pci/noct.c if (c != 0) {
c 1658 dev/pci/noct.c while ((c & 0x80) == 0) {
c 1660 dev/pci/noct.c c <<= 1;
c 220 dev/pci/noctreg.h volatile u_int32_t c; /* c offset */
c 692 dev/pci/nofn.c u_int8_t c;
c 695 dev/pci/nofn.c c = p[i];
c 696 dev/pci/nofn.c if (c != 0) {
c 697 dev/pci/nofn.c while ((c & 0x80) == 0) {
c 699 dev/pci/nofn.c c <<= 1;
c 58 dev/pci/pciide_ixp_reg.h #define IXP_UDMA_ENABLE(u, c, d) do { \
c 59 dev/pci/pciide_ixp_reg.h (u) |= (1 << (2 * (c) + (d))); \
c 61 dev/pci/pciide_ixp_reg.h #define IXP_UDMA_DISABLE(u, c, d) do { \
c 62 dev/pci/pciide_ixp_reg.h (u) &= ~(1 << (2 * (c) + (d))); \
c 71 dev/pci/pciide_ixp_reg.h #define IXP_SET_MODE(u, c, d, m) do { \
c 72 dev/pci/pciide_ixp_reg.h int __ixpshift = 16 + 8*(c) + 4*(d); \
c 81 dev/pci/pciide_ixp_reg.h #define IXP_SET_TIMING(m, c, d, t) do { \
c 82 dev/pci/pciide_ixp_reg.h int __ixpshift = 16*(c) + 8*(d); \
c 95 dev/pci/pciide_natsemi_reg.h #define NATSEMI_RTREG(c,d) (0x44 + (c * 8) + (d * 4) + 0)
c 96 dev/pci/pciide_natsemi_reg.h #define NATSEMI_WTREG(c,d) (0x44 + (c * 8) + (d * 4) + 1)
c 74 dev/pci/pciide_opti_reg.h #define OPTI_ENH_MODE_MASK(c,d) (3u << (((c) * 4) + ((d) * 2)))
c 75 dev/pci/pciide_opti_reg.h #define OPTI_ENH_MODE_USE_TIMING(c,d) 0
c 76 dev/pci/pciide_opti_reg.h #define OPTI_ENH_MODE(c,d,m) ((m) << (((c) * 4) + ((d) * 2)))
c 1271 dev/pci/safe.c struct cryptoini *c, *encini = NULL, *macini = NULL;
c 1288 dev/pci/safe.c for (c = cri; c != NULL; c = c->cri_next) {
c 1289 dev/pci/safe.c if (c->cri_alg == CRYPTO_MD5_HMAC ||
c 1290 dev/pci/safe.c c->cri_alg == CRYPTO_SHA1_HMAC) {
c 1293 dev/pci/safe.c macini = c;
c 1294 dev/pci/safe.c } else if (c->cri_alg == CRYPTO_DES_CBC ||
c 1295 dev/pci/safe.c c->cri_alg == CRYPTO_3DES_CBC ||
c 1296 dev/pci/safe.c c->cri_alg == CRYPTO_AES_CBC) {
c 1299 dev/pci/safe.c encini = c;
c 1944 dev/pci/safe.c u_int8_t c, *p = cr->crp_p;
c 1947 dev/pci/safe.c c = p[i];
c 1948 dev/pci/safe.c if (c != 0) {
c 1949 dev/pci/safe.c while ((c & 0x80) == 0) {
c 1951 dev/pci/safe.c c <<= 1;
c 103 dev/pci/tga.c void tga_putchar(void *c, int row, int col, u_int uc, long attr);
c 1254 dev/pci/tga.c tga_putchar(c, row, col, uc, attr)
c 1255 dev/pci/tga.c void *c;
c 1260 dev/pci/tga.c struct rasops_info *ri = c;
c 1280 dev/pci/tga.c ri->ri_ops.unpack_attr(c, attr, &fg, &bg, &ul);
c 1320 dev/pci/tga.c tga_eraserows(c, row, num, attr)
c 1321 dev/pci/tga.c void *c;
c 1325 dev/pci/tga.c struct rasops_info *ri = c;
c 1331 dev/pci/tga.c ri->ri_ops.unpack_attr(c, attr, &fg, &bg, NULL);
c 1376 dev/pci/tga.c tga_erasecols (c, row, col, num, attr)
c 1377 dev/pci/tga.c void *c;
c 1381 dev/pci/tga.c struct rasops_info *ri = c;
c 1387 dev/pci/tga.c ri->ri_ops.unpack_attr(c, attr, &fg, &bg, NULL);
c 552 dev/pci/ubsec.c struct cryptoini *c, *encini = NULL, *macini = NULL;
c 570 dev/pci/ubsec.c for (c = cri; c != NULL; c = c->cri_next) {
c 571 dev/pci/ubsec.c if (c->cri_alg == CRYPTO_MD5_HMAC ||
c 572 dev/pci/ubsec.c c->cri_alg == CRYPTO_SHA1_HMAC) {
c 575 dev/pci/ubsec.c macini = c;
c 576 dev/pci/ubsec.c } else if (c->cri_alg == CRYPTO_DES_CBC ||
c 577 dev/pci/ubsec.c c->cri_alg == CRYPTO_3DES_CBC) {
c 580 dev/pci/ubsec.c encini = c;
c 2386 dev/pci/ubsec.c ubsec_dump_ctx2(struct ubsec_ctx_keyop *c)
c 2388 dev/pci/ubsec.c printf("CTX (0x%x):\n", c->ctx_len);
c 2389 dev/pci/ubsec.c switch (letoh16(c->ctx_op)) {
c 2395 dev/pci/ubsec.c struct ubsec_ctx_modexp *cx = (void *)c;
c 2407 dev/pci/ubsec.c printf("unknown context: %x\n", c->ctx_op);
c 2443 dev/pci/ubsec.c u_int8_t c, *p = cr->crp_p;
c 2446 dev/pci/ubsec.c c = p[i];
c 2447 dev/pci/ubsec.c if (c != 0) {
c 2448 dev/pci/ubsec.c while ((c & 0x80) == 0) {
c 2450 dev/pci/ubsec.c c <<= 1;
c 145 dev/pci/yds.c #define YWRITEREGION4(sc, r, x, c) \
c 146 dev/pci/yds.c bus_space_write_region_4((sc)->memt, (sc)->memh, (r), (x), (c) / 4)
c 355 dev/pcmcia/if_ray.c #define ray_read_region(sc,off,p,c) \
c 356 dev/pcmcia/if_ray.c bus_space_read_region_1((sc)->sc_memt, (sc)->sc_memh, (off), (p), (c))
c 357 dev/pcmcia/if_ray.c #define ray_write_region(sc,off,p,c) \
c 358 dev/pcmcia/if_ray.c bus_space_write_region_1((sc)->sc_memt, (sc)->sc_memh, (off), (p), (c))
c 3026 dev/pcmcia/if_ray.c ray_read_region(struct ray_softc *sc, bus_size_t off, void *vp, size_t c)
c 3037 dev/pcmcia/if_ray.c if ((n4 = c / 4)) {
c 3040 dev/pcmcia/if_ray.c tmp = c & ~0x3;
c 3041 dev/pcmcia/if_ray.c c &= 0x3;
c 3045 dev/pcmcia/if_ray.c switch (c) {
c 3057 dev/pcmcia/if_ray.c if ((n2 = (c >> 1)))
c 3060 dev/pcmcia/if_ray.c if (c & 1) {
c 3061 dev/pcmcia/if_ray.c c &= ~0x1;
c 3062 dev/pcmcia/if_ray.c *(p + c) = bus_space_read_1(sc->sc_memt, sc->sc_memh,
c 3063 dev/pcmcia/if_ray.c off + c);
c 3068 dev/pcmcia/if_ray.c bus_space_read_region_1(sc->sc_memt, sc->sc_memh, off, p, c);
c 3072 dev/pcmcia/if_ray.c bus_space_read_region_1(sc->sc_memt, sc->sc_memh, off, vp, c);
c 3084 dev/pcmcia/if_ray.c ray_write_region(struct ray_softc *sc, bus_size_t off, void *vp, size_t c)
c 3094 dev/pcmcia/if_ray.c if ((n4 = (c >> 2))) {
c 3097 dev/pcmcia/if_ray.c tmp = c & ~0x3;
c 3098 dev/pcmcia/if_ray.c c &= 0x3;
c 3102 dev/pcmcia/if_ray.c switch (c) {
c 3114 dev/pcmcia/if_ray.c if ((n2 = (c >> 1)))
c 3117 dev/pcmcia/if_ray.c if (c & 0x1) {
c 3118 dev/pcmcia/if_ray.c c &= ~0x1;
c 3120 dev/pcmcia/if_ray.c off + c, *(p + c));
c 3125 dev/pcmcia/if_ray.c bus_space_write_region_1(sc->sc_memt, sc->sc_memh, off, p, c);
c 3129 dev/pcmcia/if_ray.c bus_space_write_region_1(sc->sc_memt, sc->sc_memh, off, vp, c);
c 3136 dev/pcmcia/if_ray.c #define PRINTABLE(c) ((c) >= 0x20 && (c) <= 0x7f)
c 721 dev/raidframe/rf_dagfuncs.c unsigned long *c, int len, void *bp)
c 733 dev/raidframe/rf_dagfuncs.c REMAP_VA(bp, c, pg_c);
c 747 dev/raidframe/rf_dagfuncs.c c++;
c 758 dev/raidframe/rf_dagfuncs.c if (RF_PAGE_ALIGNED(c)) {
c 768 dev/raidframe/rf_dagfuncs.c RF_MIN(RF_BLIP(b), RF_MIN(RF_BLIP(c), RF_BLIP(dst)))) >>
c 772 dev/raidframe/rf_dagfuncs.c c += longs_this_time;
c 836 dev/raidframe/rf_dagfuncs.c if (RF_PAGE_ALIGNED(c)) {
c 837 dev/raidframe/rf_dagfuncs.c REMAP_VA(bp, c, pg_c);
c 854 dev/raidframe/rf_dagfuncs.c c++;
c 867 dev/raidframe/rf_dagfuncs.c if (RF_PAGE_ALIGNED(c)) {
c 868 dev/raidframe/rf_dagfuncs.c REMAP_VA(bp, c, pg_c);
c 885 dev/raidframe/rf_dagfuncs.c unsigned char *c, unsigned long len, void *bp)
c 887 dev/raidframe/rf_dagfuncs.c RF_ASSERT(((RF_UL(dst) | RF_UL(a) | RF_UL(b) | RF_UL(c) | len) & 0x7)
c 891 dev/raidframe/rf_dagfuncs.c (unsigned long *) b, (unsigned long *) c, len >> RF_LONGSHIFT,
c 100 dev/raidframe/rf_diskqueue.c #define Dprintf3(s,a,b,c) \
c 104 dev/raidframe/rf_diskqueue.c (void *)((unsigned long)c), \
c 190 dev/raidframe/rf_diskqueue.c RF_RowCol_t c,
c 202 dev/raidframe/rf_diskqueue.c diskqueue->col = c;
c 215 dev/raidframe/rf_diskqueue.c diskqueue->rf_cinfo = &raidPtr->raid_cinfo[r][c];
c 265 dev/raidframe/rf_diskqueue.c RF_RowCol_t r, c;
c 295 dev/raidframe/rf_diskqueue.c for (c = 0; c < raidPtr->numCol; c++) {
c 296 dev/raidframe/rf_diskqueue.c rc = rf_ConfigureDiskQueue(raidPtr, &diskQueues[r][c],
c 297 dev/raidframe/rf_diskqueue.c r, c, p, raidPtr->sectorsPerDisk,
c 298 dev/raidframe/rf_diskqueue.c raidPtr->Disks[r][c].dev,
c 101 dev/raidframe/rf_disks.c #define DPRINTF6(a,b,c,d,e,f) if (rf_diskDebug) printf(a,b,c,d,e,f)
c 102 dev/raidframe/rf_disks.c #define DPRINTF7(a,b,c,d,e,f,g) if (rf_diskDebug) printf(a,b,c,d,e,f,g)
c 123 dev/raidframe/rf_disks.c RF_RowCol_t r, c;
c 138 dev/raidframe/rf_disks.c for (c = 0; c < raidPtr->numCol; c++) {
c 140 dev/raidframe/rf_disks.c &cfgPtr->devnames[r][c][0], &disks[r][c], r, c);
c 145 dev/raidframe/rf_disks.c if (disks[r][c].status == rf_ds_optimal) {
c 147 dev/raidframe/rf_disks.c raidPtr->raid_cinfo[r][c].ci_dev,
c 148 dev/raidframe/rf_disks.c raidPtr->raid_cinfo[r][c].ci_vp,
c 149 dev/raidframe/rf_disks.c &raidPtr->raid_cinfo[r][c].ci_label);
c 152 dev/raidframe/rf_disks.c if (disks[r][c].status != rf_ds_optimal) {
c 155 dev/raidframe/rf_disks.c if (disks[r][c].numBlocks < min_numblks)
c 156 dev/raidframe/rf_disks.c min_numblks = disks[r][c].numBlocks;
c 159 dev/raidframe/rf_disks.c r, c, disks[r][c].devname,
c 160 dev/raidframe/rf_disks.c (long int) disks[r][c].numBlocks,
c 161 dev/raidframe/rf_disks.c disks[r][c].blockSize,
c 162 dev/raidframe/rf_disks.c (long int) disks[r][c].numBlocks *
c 163 dev/raidframe/rf_disks.c disks[r][c].blockSize / 1024 / 1024);
c 180 dev/raidframe/rf_disks.c for (c = 0; !foundone && c < raidPtr->numCol; c++) {
c 181 dev/raidframe/rf_disks.c if (disks[r][c].status == rf_ds_optimal) {
c 182 dev/raidframe/rf_disks.c bs = disks[r][c].blockSize;
c 215 dev/raidframe/rf_disks.c for (c = 0; c < raidPtr->numCol; c++) {
c 216 dev/raidframe/rf_disks.c if (disks[r][c].status == rf_ds_optimal) {
c 217 dev/raidframe/rf_disks.c if (disks[r][c].blockSize != bs) {
c 220 dev/raidframe/rf_disks.c " disk at r 0 c 0.\n", r, c);
c 224 dev/raidframe/rf_disks.c if (disks[r][c].numBlocks != min_numblks) {
c 227 dev/raidframe/rf_disks.c r, c, (int) min_numblks);
c 228 dev/raidframe/rf_disks.c disks[r][c].numBlocks = min_numblks;
c 396 dev/raidframe/rf_disks.c RF_RowCol_t r, c;
c 438 dev/raidframe/rf_disks.c for (c = 0; c < raidPtr->numCol; c++) {
c 439 dev/raidframe/rf_disks.c diskPtr = &disks[r][c];
c 443 dev/raidframe/rf_disks.c printf("Looking for %d,%d in autoconfig.\n", r, c);
c 452 dev/raidframe/rf_disks.c (ac->clabel->column == c) &&
c 462 dev/raidframe/rf_disks.c ac->devname, r, c);
c 487 dev/raidframe/rf_disks.c (ac->clabel->column == c)) {
c 497 dev/raidframe/rf_disks.c ac->devname, r, c);
c 516 dev/raidframe/rf_disks.c raidPtr->raid_cinfo[r][c].ci_vp = ac->vp;
c 517 dev/raidframe/rf_disks.c raidPtr->raid_cinfo[r][c].ci_dev = ac->dev;
c 519 dev/raidframe/rf_disks.c memcpy(&raidPtr->raid_cinfo[r][c].ci_label,
c 573 dev/raidframe/rf_disks.c disks[r][c].status = rf_ds_failed;
c 586 dev/raidframe/rf_disks.c disks[r][c].status = rf_ds_failed;
c 587 dev/raidframe/rf_disks.c snprintf(disks[r][c].devname,
c 588 dev/raidframe/rf_disks.c sizeof disks[r][c].devname, "component%d",
c 589 dev/raidframe/rf_disks.c r * raidPtr->numCol + c);
c 775 dev/raidframe/rf_disks.c int r, c;
c 819 dev/raidframe/rf_disks.c for (c = 0; c < raidPtr->numCol; c++) {
c 820 dev/raidframe/rf_disks.c ci_label = &raidPtr->raid_cinfo[r][c].ci_label;
c 875 dev/raidframe/rf_disks.c for (c = 0; c < raidPtr->numCol; c++) {
c 877 dev/raidframe/rf_disks.c &raidPtr->raid_cinfo[r][c].ci_label;
c 881 dev/raidframe/rf_disks.c hosed_column = c;
c 942 dev/raidframe/rf_disks.c for (c = 0; c < raidPtr->numCol; c++) {
c 944 dev/raidframe/rf_disks.c &raidPtr->raid_cinfo[r][c].ci_label;
c 948 dev/raidframe/rf_disks.c (hosed_column == c)) {
c 955 dev/raidframe/rf_disks.c hosed_column = c;
c 1025 dev/raidframe/rf_disks.c for (c = 0; c < raidPtr->numCol; c++) {
c 1026 dev/raidframe/rf_disks.c dev_name = &cfgPtr->devnames[r][c][0];
c 1027 dev/raidframe/rf_disks.c ci_label = &raidPtr->raid_cinfo[r][c].ci_label;
c 1029 dev/raidframe/rf_disks.c if ((r == hosed_row) && (c == hosed_column)) {
c 1033 dev/raidframe/rf_disks.c rf_print_label_status(raidPtr, r, c, dev_name,
c 1035 dev/raidframe/rf_disks.c if (rf_check_label_vitals(raidPtr, r, c,
c 49 dev/raidframe/rf_general.h #define RF_ERRORMSG3(s,a,b,c) printf((s), (a), (b), (c))
c 113 dev/raidframe/rf_layout.c #define RF_NU(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)
c 115 dev/raidframe/rf_layout.c #define RF_NU(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p
c 115 dev/raidframe/rf_nwayxor.c unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
c 121 dev/raidframe/rf_nwayxor.c *dst++ = *a++ ^ *b++ ^ *c++;
c 141 dev/raidframe/rf_nwayxor.c b0 = c[0];
c 149 dev/raidframe/rf_nwayxor.c b1 = c[1];
c 152 dev/raidframe/rf_nwayxor.c b2 = c[2];
c 155 dev/raidframe/rf_nwayxor.c b3 = c[3];
c 161 dev/raidframe/rf_nwayxor.c c += 4;
c 167 dev/raidframe/rf_nwayxor.c *dst++ = *a++ ^ *b++ ^ *c++;
c 209 dev/raidframe/rf_nwayxor.c unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
c 216 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++;
c 221 dev/raidframe/rf_nwayxor.c XOR_AND_LOAD_NEXT(c);
c 226 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++;
c 240 dev/raidframe/rf_nwayxor.c unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
c 248 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++;
c 253 dev/raidframe/rf_nwayxor.c XOR_AND_LOAD_NEXT(c);
c 259 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++;
c 273 dev/raidframe/rf_nwayxor.c unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
c 282 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++;
c 287 dev/raidframe/rf_nwayxor.c XOR_AND_LOAD_NEXT(c);
c 294 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++;
c 308 dev/raidframe/rf_nwayxor.c unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
c 318 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++;
c 323 dev/raidframe/rf_nwayxor.c XOR_AND_LOAD_NEXT(c);
c 331 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++;
c 345 dev/raidframe/rf_nwayxor.c unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
c 356 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++ ^ *h++;
c 361 dev/raidframe/rf_nwayxor.c XOR_AND_LOAD_NEXT(c);
c 370 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++ ^ *h++;
c 384 dev/raidframe/rf_nwayxor.c unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
c 396 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++ ^ *h++ ^ *i++;
c 401 dev/raidframe/rf_nwayxor.c XOR_AND_LOAD_NEXT(c);
c 411 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++ ^ *h++ ^ *i++;
c 426 dev/raidframe/rf_nwayxor.c unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
c 439 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^
c 445 dev/raidframe/rf_nwayxor.c XOR_AND_LOAD_NEXT(c);
c 456 dev/raidframe/rf_nwayxor.c *dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^
c 2364 dev/raidframe/rf_openbsdkintf.c int r,c;
c 2368 dev/raidframe/rf_openbsdkintf.c for (c = 0; c < raidPtr->numCol; c++) {
c 2373 dev/raidframe/rf_openbsdkintf.c if (!RF_DEAD_DISK(raidPtr->Disks[r][c].status)) {
c 2375 dev/raidframe/rf_openbsdkintf.c raidPtr->Disks[r][c].dev,
c 2376 dev/raidframe/rf_openbsdkintf.c raidPtr->raid_cinfo[r][c].ci_vp, &clabel);
c 2386 dev/raidframe/rf_openbsdkintf.c raidPtr->Disks[r][c].status;
c 2388 dev/raidframe/rf_openbsdkintf.c raidPtr->Disks[r][c].dev,
c 2389 dev/raidframe/rf_openbsdkintf.c raidPtr->raid_cinfo[r][c].ci_vp,
c 2393 dev/raidframe/rf_openbsdkintf.c raidPtr->Disks[r][c].dev,
c 2394 dev/raidframe/rf_openbsdkintf.c raidPtr->raid_cinfo[r][c].ci_vp,
c 2402 dev/raidframe/rf_openbsdkintf.c for( c = 0; c < raidPtr->numSpare ; c++) {
c 2403 dev/raidframe/rf_openbsdkintf.c sparecol = raidPtr->numCol + c;
c 2459 dev/raidframe/rf_openbsdkintf.c int r,c;
c 2474 dev/raidframe/rf_openbsdkintf.c for (c = 0; c < raidPtr->numCol; c++) {
c 2475 dev/raidframe/rf_openbsdkintf.c if (raidPtr->Disks[r][c].status == rf_ds_optimal) {
c 2477 dev/raidframe/rf_openbsdkintf.c raidPtr->Disks[r][c].dev,
c 2478 dev/raidframe/rf_openbsdkintf.c raidPtr->raid_cinfo[r][c].ci_vp,
c 2486 dev/raidframe/rf_openbsdkintf.c raidPtr->Disks[r][c].dev,
c 2487 dev/raidframe/rf_openbsdkintf.c raidPtr->raid_cinfo[r][c].ci_vp,
c 2493 dev/raidframe/rf_openbsdkintf.c raidPtr->Disks[r][c].dev,
c 2495 dev/raidframe/rf_openbsdkintf.c raid_cinfo[r][c].ci_vp,
c 2504 dev/raidframe/rf_openbsdkintf.c for( c = 0; c < raidPtr->numSpare ; c++) {
c 2505 dev/raidframe/rf_openbsdkintf.c sparecol = raidPtr->numCol + c;
c 2579 dev/raidframe/rf_openbsdkintf.c int r,c;
c 2587 dev/raidframe/rf_openbsdkintf.c for (c = 0; c < raidPtr->numCol; c++) {
c 2589 dev/raidframe/rf_openbsdkintf.c r, c));
c 2590 dev/raidframe/rf_openbsdkintf.c vp = raidPtr->raid_cinfo[r][c].ci_vp;
c 2591 dev/raidframe/rf_openbsdkintf.c acd = raidPtr->Disks[r][c].auto_configured;
c 2593 dev/raidframe/rf_openbsdkintf.c raidPtr->raid_cinfo[r][c].ci_vp = NULL;
c 2594 dev/raidframe/rf_openbsdkintf.c raidPtr->Disks[r][c].auto_configured = 0;
c 3040 dev/raidframe/rf_openbsdkintf.c int r,c;
c 3083 dev/raidframe/rf_openbsdkintf.c for(c=0; c<num_cols; c++) {
c 3087 dev/raidframe/rf_openbsdkintf.c (ac->clabel->column == c) &&
c 3092 dev/raidframe/rf_openbsdkintf.c ac->devname,r,c);
c 3107 dev/raidframe/rf_openbsdkintf.c if (c%2 == 0) { /* Even component. */
c 3125 dev/raidframe/rf_openbsdkintf.c if ((parity_type == '1') && (c%2 == 1)) {
c 751 dev/raidframe/rf_paritylogging.c RF_CommonLogData_t *c;
c 771 dev/raidframe/rf_paritylogging.c c = raidPtr->parityLogDiskQueue.freeCommonList;
c 772 dev/raidframe/rf_paritylogging.c rf_mutex_destroy(&c->mutex);
c 775 dev/raidframe/rf_paritylogging.c RF_Free(c, sizeof(RF_CommonLogData_t));
c 64 dev/raidframe/rf_psstatus.c #define Dprintf3(s,a,b,c) \
c 70 dev/raidframe/rf_psstatus.c (void *)((unsigned long)c), \
c 49 dev/raidframe/rf_reconbuffer.c #define Dprintf3(s,a,b,c) if (rf_reconbufferDebug) printf(s, a, b, c)
c 50 dev/raidframe/rf_reconbuffer.c #define Dprintf4(s,a,b,c,d) if (rf_reconbufferDebug) printf(s, a, b, c, d)
c 51 dev/raidframe/rf_reconbuffer.c #define Dprintf5(s,a,b,c,d,e) if (rf_reconbufferDebug) printf(s, a, b, c, d, e)
c 95 dev/raidframe/rf_reconstruct.c #define Dprintf3(s,a,b,c) \
c 101 dev/raidframe/rf_reconstruct.c (void *)((unsigned long)c), \
c 104 dev/raidframe/rf_reconstruct.c #define Dprintf4(s,a,b,c,d) \
c 110 dev/raidframe/rf_reconstruct.c (void *)((unsigned long)c), \
c 114 dev/raidframe/rf_reconstruct.c #define Dprintf5(s,a,b,c,d,e) \
c 120 dev/raidframe/rf_reconstruct.c (void *)((unsigned long)c), \
c 125 dev/raidframe/rf_reconstruct.c #define Dprintf6(s,a,b,c,d,e,f) \
c 131 dev/raidframe/rf_reconstruct.c (void *)((unsigned long)c), \
c 137 dev/raidframe/rf_reconstruct.c #define Dprintf7(s,a,b,c,d,e,f,g) \
c 143 dev/raidframe/rf_reconstruct.c (void *)((unsigned long)c), \
c 77 dev/raidframe/rf_stripelocks.c #define Dprintf3(s,a,b,c) \
c 79 dev/raidframe/rf_stripelocks.c (void *)((unsigned long)b), (void *)((unsigned long)c), \
c 81 dev/raidframe/rf_stripelocks.c #define Dprintf4(s,a,b,c,d) \
c 83 dev/raidframe/rf_stripelocks.c (void *)((unsigned long)b), (void *)((unsigned long)c), \
c 85 dev/raidframe/rf_stripelocks.c #define Dprintf5(s,a,b,c,d,e) \
c 87 dev/raidframe/rf_stripelocks.c (void *)((unsigned long)b), (void *)((unsigned long)c), \
c 90 dev/raidframe/rf_stripelocks.c #define Dprintf6(s,a,b,c,d,e,f) \
c 92 dev/raidframe/rf_stripelocks.c (void *)((unsigned long)b), (void *)((unsigned long)c), \
c 95 dev/raidframe/rf_stripelocks.c #define Dprintf7(s,a,b,c,d,e,f,g) \
c 97 dev/raidframe/rf_stripelocks.c (void *)((unsigned long)b), (void *)((unsigned long)c), \
c 100 dev/raidframe/rf_stripelocks.c #define Dprintf8(s,a,b,c,d,e,f,g,h) \
c 102 dev/raidframe/rf_stripelocks.c (void *)((unsigned long)b), (void *)((unsigned long)c), \
c 94 dev/raidframe/rf_threadstuff.c _rf_create_managed_cond(RF_ShutdownList_t **listp, RF_DECLARE_COND(*c),
c 99 dev/raidframe/rf_threadstuff.c rc = rf_cond_init(c);
c 103 dev/raidframe/rf_threadstuff.c rc = _rf_ShutdownCreate(listp, cond_destroyer, (void *) c, file, line);
c 106 dev/raidframe/rf_threadstuff.c rc1 = rf_cond_destroy(c);
c 185 dev/raidframe/rf_threadstuff.c rf_cond_init(RF_DECLARE_COND(*c))
c 187 dev/raidframe/rf_threadstuff.c *c = 0; /* No reason. */
c 192 dev/raidframe/rf_threadstuff.c rf_cond_destroy(RF_DECLARE_COND(*c))
c 75 dev/raidframe/rf_utils.c rf_make_1d_array(int c, RF_AllocListElem_t *allocList)
c 79 dev/raidframe/rf_utils.c RF_MallocAndAdd(retval, c * sizeof(RF_RowCol_t), (RF_RowCol_t *),
c 81 dev/raidframe/rf_utils.c bzero((char *) retval, c * sizeof(RF_RowCol_t));
c 429 dev/rasops/rasops.c rasops_mapchar(cookie, c, cp)
c 431 dev/rasops/rasops.c int c;
c 444 dev/rasops/rasops.c if ( (c = wsfont_map_unichar(ri->ri_font, c)) < 0) {
c 453 dev/rasops/rasops.c if (c < ri->ri_font->firstchar) {
c 458 dev/rasops/rasops.c if (c - ri->ri_font->firstchar >= ri->ri_font->numchars) {
c 463 dev/rasops/rasops.c *cp = c;
c 742 dev/rasops/rasops.c int c;
c 766 dev/rasops/rasops.c c = i | (i << 4);
c 767 dev/rasops/rasops.c ri->ri_devcmap[i] = c | (c<<8) | (c<<16) | (c<<24);
c 786 dev/rasops/rasops.c c = (*p >> (8 - ri->ri_rnum)) << ri->ri_rpos;
c 788 dev/rasops/rasops.c c = (*p << (ri->ri_rnum - 8)) << ri->ri_rpos;
c 792 dev/rasops/rasops.c c |= (*p >> (8 - ri->ri_gnum)) << ri->ri_gpos;
c 794 dev/rasops/rasops.c c |= (*p << (ri->ri_gnum - 8)) << ri->ri_gpos;
c 798 dev/rasops/rasops.c c |= (*p >> (8 - ri->ri_bnum)) << ri->ri_bpos;
c 800 dev/rasops/rasops.c c |= (*p << (ri->ri_bnum - 8)) << ri->ri_bpos;
c 805 dev/rasops/rasops.c c = c | ((c & 0xff) << 24);
c 807 dev/rasops/rasops.c c = c | (c << 16);
c 812 dev/rasops/rasops.c ri->ri_devcmap[i] = c;
c 814 dev/rasops/rasops.c ri->ri_devcmap[i] = swap32(c);
c 816 dev/rasops/rasops.c ri->ri_devcmap[i] = swap16(c);
c 818 dev/rasops/rasops.c ri->ri_devcmap[i] = c;
c 820 dev/rasops/rasops.c ri->ri_devcmap[i] = c;
c 1220 dev/rasops/rasops.c int16_t c = (int16_t)ri->ri_devcmap[((u_int)attr >> 24) & 0xf];
c 1223 dev/rasops/rasops.c *(int16_t *)rp = c;
c 145 dev/rasops/rasops15.c int16_t c = (int16_t)clr[0];
c 151 dev/rasops/rasops15.c *(int16_t *)dp = c;
c 175 dev/rasops/rasops15.c int16_t c = (int16_t)clr[1];
c 179 dev/rasops/rasops15.c *(int16_t *)rp = c;
c 260 dev/rasops/rasops15.c int32_t c = stamp[0];
c 262 dev/rasops/rasops15.c rp[0] = rp[1] = rp[2] = rp[3] = c;
c 286 dev/rasops/rasops15.c int32_t c = STAMP_READ(28);
c 289 dev/rasops/rasops15.c rp[0] = rp[1] = rp[2] = rp[3] = c;
c 339 dev/rasops/rasops15.c int32_t c = stamp[0];
c 341 dev/rasops/rasops15.c rp[0] = rp[1] = rp[2] = rp[3] = rp[4] = rp[5] = c;
c 369 dev/rasops/rasops15.c int32_t c = STAMP_READ(28);
c 372 dev/rasops/rasops15.c rp[0] = rp[1] = rp[2] = rp[3] = rp[4] = rp[5] = c;
c 422 dev/rasops/rasops15.c int32_t c = stamp[0];
c 425 dev/rasops/rasops15.c rp[4] = rp[5] = rp[6] = rp[7] = c;
c 457 dev/rasops/rasops15.c int32_t c = STAMP_READ(28);
c 461 dev/rasops/rasops15.c rp[4] = rp[5] = rp[6] = rp[7] = c;
c 305 dev/rasops/rasops2.c int8_t c = stamp[0];
c 307 dev/rasops/rasops2.c *(int16_t *)rp = c;
c 375 dev/rasops/rasops2.c int8_t c = stamp[0];
c 377 dev/rasops/rasops2.c rp[0] = rp[1] = rp[2] = c;
c 448 dev/rasops/rasops2.c int8_t c = stamp[0];
c 450 dev/rasops/rasops2.c *(int32_t *)rp = c;
c 152 dev/rasops/rasops24.c u_char c = clr[0];
c 158 dev/rasops/rasops24.c *dp++ = c >> 16;
c 159 dev/rasops/rasops24.c *dp++ = c >> 8;
c 160 dev/rasops/rasops24.c *dp++ = c;
c 190 dev/rasops/rasops24.c u_char c = clr[1];
c 195 dev/rasops/rasops24.c *rp++ = c >> 16;
c 196 dev/rasops/rasops24.c *rp++ = c >> 8;
c 197 dev/rasops/rasops24.c *rp++ = c;
c 290 dev/rasops/rasops24.c int32_t c = stamp[0];
c 292 dev/rasops/rasops24.c rp[0] = rp[1] = rp[2] = rp[3] = rp[4] = rp[5] = c;
c 318 dev/rasops/rasops24.c int32_t c = STAMP_READ(52);
c 321 dev/rasops/rasops24.c rp[0] = rp[1] = rp[2] = rp[3] = rp[4] = rp[5] = c;
c 371 dev/rasops/rasops24.c int32_t c = stamp[0];
c 374 dev/rasops/rasops24.c rp[4] = rp[5] = rp[6] = rp[7] = rp[8] = c;
c 405 dev/rasops/rasops24.c int32_t c = STAMP_READ(52);
c 409 dev/rasops/rasops24.c rp[4] = rp[5] = rp[6] = rp[7] = rp[8] = c;
c 459 dev/rasops/rasops24.c int32_t c = stamp[0];
c 463 dev/rasops/rasops24.c rp[8] = rp[9] = rp[10] = rp[11] = c;
c 499 dev/rasops/rasops24.c int32_t c = STAMP_READ(52);
c 504 dev/rasops/rasops24.c rp[8] = rp[9] = rp[10] = rp[11] = c;
c 308 dev/rasops/rasops4.c u_int16_t c = stamp[0];
c 310 dev/rasops/rasops4.c rp[0] = c;
c 311 dev/rasops/rasops4.c rp[1] = c;
c 383 dev/rasops/rasops4.c u_int16_t c = stamp[0];
c 385 dev/rasops/rasops4.c rp[0] = c;
c 386 dev/rasops/rasops4.c rp[1] = c;
c 387 dev/rasops/rasops4.c rp[2] = c;
c 461 dev/rasops/rasops4.c u_int16_t c = stamp[0];
c 463 dev/rasops/rasops4.c rp[0] = c;
c 464 dev/rasops/rasops4.c rp[1] = c;
c 465 dev/rasops/rasops4.c rp[2] = c;
c 466 dev/rasops/rasops4.c rp[3] = c;
c 132 dev/rasops/rasops8.c u_char c = clr[0];
c 139 dev/rasops/rasops8.c *dp++ = c;
c 161 dev/rasops/rasops8.c u_char c = clr[1];
c 166 dev/rasops/rasops8.c *rp++ = c;
c 321 dev/rasops/rasops8.c int32_t c = stamp[0];
c 323 dev/rasops/rasops8.c rp[0] = rp[1] = rp[2] = c;
c 483 dev/sbus/cgsix.c u_int32_t c;
c 488 dev/sbus/cgsix.c c = BT_READ(sc, BT_CTRL);
c 489 dev/sbus/cgsix.c c |= (BTCR_DISPENA_OV0 | BTCR_DISPENA_OV1) << 24;
c 490 dev/sbus/cgsix.c BT_WRITE(sc, BT_CTRL, c);
c 493 dev/sbus/cgsix.c c = BT_READ(sc, BT_CTRL);
c 494 dev/sbus/cgsix.c c &= ~((BTCR_DISPENA_OV0 | BTCR_DISPENA_OV1) << 24);
c 495 dev/sbus/cgsix.c BT_WRITE(sc, BT_CTRL, c);
c 317 dev/sbus/cgtwelve.c u_int32_t c;
c 351 dev/sbus/cgtwelve.c for (c = 1; c < 256; c++)
c 405 dev/sbus/cgtwelve.c for (c = 0; c < 256; c++)
c 406 dev/sbus/cgtwelve.c sc->sc_ramdac->color = c | (c << 8) | (c << 16);
c 208 dev/sbus/magma.c int c, co, br;
c 213 dev/sbus/magma.c for (c = 0, co = 8 ; co <= 2048 ; co <<= 2, c++) {
c 217 dev/sbus/magma.c *cor = c;
c 464 dev/sbus/tvtwo.c u_int32_t c;
c 467 dev/sbus/tvtwo.c for (c = 0; c < 256; c++) {
c 468 dev/sbus/tvtwo.c dac[3] = c; /* R */
c 469 dev/sbus/tvtwo.c dac[3] = c; /* G */
c 470 dev/sbus/tvtwo.c dac[3] = c; /* B */
c 791 dev/sequencer.c u_int8_t c, *buf = &b->arr[2];
c 800 dev/sequencer.c c = MIDI_SYSEX_START;
c 801 dev/sequencer.c midiseq_out(md, &c, 1, 0);
c 1194 dev/sequencer.c u_char c, buf[128];
c 1209 dev/sequencer.c error = uiomove(&c, 1, uio);
c 1212 dev/sequencer.c if (c != MIDI_SYSEX_START) /* must start like this */
c 1214 dev/sequencer.c error = midiseq_out(md, &c, 1, 0);
c 1238 dev/sequencer.c c = MIDI_SYSEX_END;
c 1239 dev/sequencer.c return (midiseq_out(md, &c, 1, 0));
c 1245 dev/sequencer.c u_char c = data;
c 1247 dev/sequencer.c return (midiseq_out(md, &c, 1, 0));
c 1550 dev/softraid.c sr_raid_set_chunk_state(struct sr_discipline *sd, int c, int new_state)
c 1556 dev/softraid.c sd->sd_vol.sv_chunks[c]->src_meta.scm_devname, c, new_state);
c 1560 dev/softraid.c old_state = sd->sd_vol.sv_chunks[c]->src_meta.scm_status;
c 1612 dev/softraid.c sd->sd_vol.sv_chunks[c]->src_meta.scm_devname,
c 1617 dev/softraid.c sd->sd_vol.sv_chunks[c]->src_meta.scm_status = new_state;
c 72 dev/sun/sunkbd.c u_int8_t c = SKBD_CMD_BELLON;
c 96 dev/sun/sunkbd.c (*sc->sc_sendcmd)(sc, &c, 1);
c 107 dev/sun/sunkbd.c u_int8_t c;
c 111 dev/sun/sunkbd.c c = SKBD_CMD_BELLOFF;
c 112 dev/sun/sunkbd.c (*sc->sc_sendcmd)(v, &c, 1);
c 118 dev/sun/sunkbd.c sunkbd_decode(u_int8_t c, u_int *type, int *value)
c 120 dev/sun/sunkbd.c switch (c) {
c 126 dev/sun/sunkbd.c *type = (c & 0x80) ?
c 128 dev/sun/sunkbd.c *value = c & 0x7f;
c 175 dev/sun/sunkbd.c sunkbd_raw(struct sunkbd_softc *sc, u_int8_t c)
c 181 dev/sun/sunkbd.c sc->sc_layout = c;
c 185 dev/sun/sunkbd.c switch (c) {
c 205 dev/sun/sunkbd.c if (c < KB_SUN2 || c > KB_SUN4)
c 207 dev/sun/sunkbd.c sc->sc_dev.dv_xname, c);
c 209 dev/sun/sunkbd.c sc->sc_id = c;
c 219 dev/sun/sunkbd.c u_int8_t c;
c 225 dev/sun/sunkbd.c c = click ? SKBD_CMD_CLICKON : SKBD_CMD_CLICKOFF;
c 226 dev/sun/sunkbd.c (*sc->sc_sendcmd)(sc, &c, 1);
c 85 dev/tc/tcdsreg.h #define TCDS_CIR_CLR(c, b) c = ((c | TCDS_CIR_ALLINTR) & ~b)
c 86 dev/tc/tcdsreg.h #define TCDS_CIR_SET(c, b) c = ((c | TCDS_CIR_ALLINTR) | b)
c 323 dev/usb/ehci.c ehci_reverse_bits(u_int8_t c, int nbits)
c 325 dev/usb/ehci.c c = ((c >> 1) & 0x55) | ((c << 1) & 0xaa);
c 326 dev/usb/ehci.c c = ((c >> 2) & 0x33) | ((c << 2) & 0xcc);
c 327 dev/usb/ehci.c c = ((c >> 4) & 0x0f) | ((c << 4) & 0xf0);
c 329 dev/usb/ehci.c return c >> (8 - nbits);
c 77 dev/usb/hid.c hid_clear_local(struct hid_item *c)
c 81 dev/usb/hid.c c->usage = 0;
c 82 dev/usb/hid.c c->usage_minimum = 0;
c 83 dev/usb/hid.c c->usage_maximum = 0;
c 84 dev/usb/hid.c c->designator_index = 0;
c 85 dev/usb/hid.c c->designator_minimum = 0;
c 86 dev/usb/hid.c c->designator_maximum = 0;
c 87 dev/usb/hid.c c->string_index = 0;
c 88 dev/usb/hid.c c->string_minimum = 0;
c 89 dev/usb/hid.c c->string_maximum = 0;
c 90 dev/usb/hid.c c->set_delimiter = 0;
c 124 dev/usb/hid.c struct hid_item *c = &s->cur;
c 139 dev/usb/hid.c c->usage = s->usages[min(s->multi, s->nu-1)];
c 141 dev/usb/hid.c *h = *c;
c 142 dev/usb/hid.c c->loc.pos += c->loc.size;
c 147 dev/usb/hid.c c->loc.count = s->multimax;
c 150 dev/usb/hid.c hid_clear_local(c);
c 211 dev/usb/hid.c hid_clear_local(c);
c 214 dev/usb/hid.c c->kind = retkind;
c 215 dev/usb/hid.c c->flags = dval;
c 216 dev/usb/hid.c if (c->flags & HIO_VARIABLE) {
c 217 dev/usb/hid.c s->multimax = c->loc.count;
c 219 dev/usb/hid.c c->loc.count = 1;
c 221 dev/usb/hid.c for (i = c->usage_minimum;
c 222 dev/usb/hid.c i <= c->usage_maximum;
c 232 dev/usb/hid.c c->usage = c->_usage_page; /* XXX */
c 233 dev/usb/hid.c *h = *c;
c 235 dev/usb/hid.c c->loc.pos +=
c 236 dev/usb/hid.c c->loc.size * c->loc.count;
c 239 dev/usb/hid.c hid_clear_local(c);
c 246 dev/usb/hid.c c->kind = hid_collection;
c 247 dev/usb/hid.c c->collection = dval;
c 248 dev/usb/hid.c c->collevel++;
c 249 dev/usb/hid.c *h = *c;
c 250 dev/usb/hid.c hid_clear_local(c);
c 257 dev/usb/hid.c c->kind = hid_endcollection;
c 258 dev/usb/hid.c c->collevel--;
c 259 dev/usb/hid.c *h = *c;
c 270 dev/usb/hid.c c->_usage_page = dval << 16;
c 273 dev/usb/hid.c c->logical_minimum = dval;
c 276 dev/usb/hid.c c->logical_maximum = dval;
c 279 dev/usb/hid.c c->physical_maximum = dval;
c 282 dev/usb/hid.c c->physical_maximum = dval;
c 285 dev/usb/hid.c c->unit_exponent = dval;
c 288 dev/usb/hid.c c->unit = dval;
c 291 dev/usb/hid.c c->loc.size = dval;
c 294 dev/usb/hid.c c->report_ID = dval;
c 295 dev/usb/hid.c c->loc.pos = 0;
c 298 dev/usb/hid.c c->loc.count = dval;
c 303 dev/usb/hid.c c->next = hi;
c 306 dev/usb/hid.c hi = c->next;
c 307 dev/usb/hid.c oldpos = c->loc.pos;
c 309 dev/usb/hid.c c->loc.pos = oldpos;
c 321 dev/usb/hid.c dval = c->_usage_page | (dval&0xff);
c 323 dev/usb/hid.c dval = c->_usage_page | (dval&0xffff);
c 324 dev/usb/hid.c c->usage = dval;
c 332 dev/usb/hid.c dval = c->_usage_page | (dval&0xff);
c 334 dev/usb/hid.c dval = c->_usage_page | (dval&0xffff);
c 335 dev/usb/hid.c c->usage_minimum = dval;
c 339 dev/usb/hid.c dval = c->_usage_page | (dval&0xff);
c 341 dev/usb/hid.c dval = c->_usage_page | (dval&0xffff);
c 342 dev/usb/hid.c c->usage_maximum = dval;
c 345 dev/usb/hid.c c->designator_index = dval;
c 348 dev/usb/hid.c c->designator_minimum = dval;
c 351 dev/usb/hid.c c->designator_maximum = dval;
c 354 dev/usb/hid.c c->string_index = dval;
c 357 dev/usb/hid.c c->string_minimum = dval;
c 360 dev/usb/hid.c c->string_maximum = dval;
c 363 dev/usb/hid.c c->set_delimiter = dval;
c 1540 dev/usb/if_atu.c atu_newbuf(struct atu_softc *sc, struct atu_chain *c, struct mbuf *m)
c 1565 dev/usb/if_atu.c c->atu_mbuf = m_new;
c 1573 dev/usb/if_atu.c struct atu_chain *c;
c 1580 dev/usb/if_atu.c c = &cd->atu_rx_chain[i];
c 1581 dev/usb/if_atu.c c->atu_sc = sc;
c 1582 dev/usb/if_atu.c c->atu_idx = i;
c 1583 dev/usb/if_atu.c if (c->atu_xfer == NULL) {
c 1584 dev/usb/if_atu.c c->atu_xfer = usbd_alloc_xfer(sc->atu_udev);
c 1585 dev/usb/if_atu.c if (c->atu_xfer == NULL)
c 1587 dev/usb/if_atu.c c->atu_buf = usbd_alloc_buffer(c->atu_xfer,
c 1589 dev/usb/if_atu.c if (c->atu_buf == NULL) /* XXX free xfer */
c 1591 dev/usb/if_atu.c if (atu_newbuf(sc, c, NULL) == ENOBUFS) /* XXX free? */
c 1602 dev/usb/if_atu.c struct atu_chain *c;
c 1612 dev/usb/if_atu.c c = &cd->atu_tx_chain[i];
c 1613 dev/usb/if_atu.c c->atu_sc = sc;
c 1614 dev/usb/if_atu.c c->atu_idx = i;
c 1615 dev/usb/if_atu.c if (c->atu_xfer == NULL) {
c 1616 dev/usb/if_atu.c c->atu_xfer = usbd_alloc_xfer(sc->atu_udev);
c 1617 dev/usb/if_atu.c if (c->atu_xfer == NULL)
c 1619 dev/usb/if_atu.c c->atu_mbuf = NULL;
c 1620 dev/usb/if_atu.c c->atu_buf = usbd_alloc_buffer(c->atu_xfer,
c 1622 dev/usb/if_atu.c if (c->atu_buf == NULL)
c 1624 dev/usb/if_atu.c SLIST_INSERT_HEAD(&cd->atu_tx_free, c, atu_list);
c 1658 dev/usb/if_atu.c struct atu_chain *c = (struct atu_chain *)priv;
c 1659 dev/usb/if_atu.c struct atu_softc *sc = c->atu_sc;
c 1720 dev/usb/if_atu.c h = (struct atu_rx_hdr *)c->atu_buf;
c 1723 dev/usb/if_atu.c m = c->atu_mbuf;
c 1724 dev/usb/if_atu.c memcpy(mtod(m, char *), c->atu_buf + ATU_RX_HDRLEN, len);
c 1735 dev/usb/if_atu.c if (atu_newbuf(sc, c, NULL) == ENOBUFS) {
c 1778 dev/usb/if_atu.c usbd_setup_xfer(c->atu_xfer, sc->atu_ep[ATU_ENDPT_RX], c, c->atu_buf,
c 1781 dev/usb/if_atu.c usbd_transfer(c->atu_xfer);
c 1791 dev/usb/if_atu.c struct atu_chain *c = (struct atu_chain *)priv;
c 1792 dev/usb/if_atu.c struct atu_softc *sc = c->atu_sc;
c 1800 dev/usb/if_atu.c if (c->atu_mbuf != NULL) {
c 1801 dev/usb/if_atu.c m_freem(c->atu_mbuf);
c 1802 dev/usb/if_atu.c c->atu_mbuf = NULL;
c 1816 dev/usb/if_atu.c usbd_get_xfer_status(c->atu_xfer, NULL, NULL, NULL, &err);
c 1824 dev/usb/if_atu.c SLIST_INSERT_HEAD(&sc->atu_cdata.atu_tx_free, c, atu_list);
c 1848 dev/usb/if_atu.c struct atu_chain *c, struct mbuf *m)
c 1893 dev/usb/if_atu.c m_copydata(m, 0, m->m_pkthdr.len, c->atu_buf + ATU_TX_HDRLEN);
c 1895 dev/usb/if_atu.c h = (struct atu_tx_hdr *)c->atu_buf;
c 1905 dev/usb/if_atu.c c->atu_length = len;
c 1906 dev/usb/if_atu.c c->atu_mbuf = m;
c 1908 dev/usb/if_atu.c usbd_setup_xfer(c->atu_xfer, sc->atu_ep[ATU_ENDPT_TX],
c 1909 dev/usb/if_atu.c c, c->atu_buf, c->atu_length, USBD_NO_COPY, ATU_TX_TIMEOUT,
c 1913 dev/usb/if_atu.c c->atu_in_xfer = 1;
c 1914 dev/usb/if_atu.c err = usbd_transfer(c->atu_xfer);
c 1918 dev/usb/if_atu.c c->atu_mbuf = NULL;
c 1934 dev/usb/if_atu.c struct atu_chain *c;
c 1955 dev/usb/if_atu.c c = SLIST_FIRST(&cd->atu_tx_free);
c 1956 dev/usb/if_atu.c if (c != NULL) {
c 1963 dev/usb/if_atu.c if (c == NULL) {
c 1983 dev/usb/if_atu.c SLIST_INSERT_HEAD(&cd->atu_tx_free, c,
c 1995 dev/usb/if_atu.c SLIST_INSERT_HEAD(&cd->atu_tx_free, c,
c 2036 dev/usb/if_atu.c if (atu_tx_start(sc, ni, c, m)) {
c 2039 dev/usb/if_atu.c SLIST_INSERT_HEAD(&cd->atu_tx_free, c,
c 2057 dev/usb/if_atu.c struct atu_chain *c;
c 2102 dev/usb/if_atu.c c = &sc->atu_cdata.atu_rx_chain[i];
c 2104 dev/usb/if_atu.c usbd_setup_xfer(c->atu_xfer, sc->atu_ep[ATU_ENDPT_RX], c,
c 2105 dev/usb/if_atu.c c->atu_buf, ATU_RX_BUFSZ, USBD_SHORT_XFER_OK | USBD_NO_COPY,
c 2107 dev/usb/if_atu.c usbd_transfer(c->atu_xfer);
c 2247 dev/usb/if_atu.c struct atu_chain *c;
c 2271 dev/usb/if_atu.c c = &sc->atu_cdata.atu_tx_chain[cnt];
c 2272 dev/usb/if_atu.c if (c->atu_in_xfer) {
c 2273 dev/usb/if_atu.c usbd_get_xfer_status(c->atu_xfer, NULL, NULL, NULL,
c 2275 dev/usb/if_atu.c atu_txeof(c->atu_xfer, c, stat);
c 926 dev/usb/if_aue.c aue_newbuf(struct aue_softc *sc, struct aue_chain *c, struct mbuf *m)
c 955 dev/usb/if_aue.c c->aue_mbuf = m_new;
c 964 dev/usb/if_aue.c struct aue_chain *c;
c 971 dev/usb/if_aue.c c = &cd->aue_rx_chain[i];
c 972 dev/usb/if_aue.c c->aue_sc = sc;
c 973 dev/usb/if_aue.c c->aue_idx = i;
c 974 dev/usb/if_aue.c if (aue_newbuf(sc, c, NULL) == ENOBUFS)
c 976 dev/usb/if_aue.c if (c->aue_xfer == NULL) {
c 977 dev/usb/if_aue.c c->aue_xfer = usbd_alloc_xfer(sc->aue_udev);
c 978 dev/usb/if_aue.c if (c->aue_xfer == NULL)
c 980 dev/usb/if_aue.c c->aue_buf = usbd_alloc_buffer(c->aue_xfer, AUE_BUFSZ);
c 981 dev/usb/if_aue.c if (c->aue_buf == NULL)
c 993 dev/usb/if_aue.c struct aue_chain *c;
c 1000 dev/usb/if_aue.c c = &cd->aue_tx_chain[i];
c 1001 dev/usb/if_aue.c c->aue_sc = sc;
c 1002 dev/usb/if_aue.c c->aue_idx = i;
c 1003 dev/usb/if_aue.c c->aue_mbuf = NULL;
c 1004 dev/usb/if_aue.c if (c->aue_xfer == NULL) {
c 1005 dev/usb/if_aue.c c->aue_xfer = usbd_alloc_xfer(sc->aue_udev);
c 1006 dev/usb/if_aue.c if (c->aue_xfer == NULL)
c 1008 dev/usb/if_aue.c c->aue_buf = usbd_alloc_buffer(c->aue_xfer, AUE_BUFSZ);
c 1009 dev/usb/if_aue.c if (c->aue_buf == NULL)
c 1062 dev/usb/if_aue.c struct aue_chain *c = priv;
c 1063 dev/usb/if_aue.c struct aue_softc *sc = c->aue_sc;
c 1095 dev/usb/if_aue.c memcpy(mtod(c->aue_mbuf, char *), c->aue_buf, total_len);
c 1102 dev/usb/if_aue.c memcpy(&r, c->aue_buf + total_len - 4, sizeof(r));
c 1112 dev/usb/if_aue.c m = c->aue_mbuf;
c 1122 dev/usb/if_aue.c if (aue_newbuf(sc, c, NULL) == ENOBUFS) {
c 1148 dev/usb/if_aue.c c, c->aue_buf, AUE_BUFSZ,
c 1165 dev/usb/if_aue.c struct aue_chain *c = priv;
c 1166 dev/usb/if_aue.c struct aue_softc *sc = c->aue_sc;
c 1197 dev/usb/if_aue.c m_freem(c->aue_mbuf);
c 1198 dev/usb/if_aue.c c->aue_mbuf = NULL;
c 1264 dev/usb/if_aue.c struct aue_chain *c;
c 1269 dev/usb/if_aue.c c = &sc->aue_cdata.aue_tx_chain[idx];
c 1275 dev/usb/if_aue.c m_copydata(m, 0, m->m_pkthdr.len, c->aue_buf + 2);
c 1276 dev/usb/if_aue.c c->aue_mbuf = m;
c 1284 dev/usb/if_aue.c c->aue_buf[0] = (u_int8_t)m->m_pkthdr.len;
c 1285 dev/usb/if_aue.c c->aue_buf[1] = (u_int8_t)(m->m_pkthdr.len >> 8);
c 1288 dev/usb/if_aue.c usbd_setup_xfer(c->aue_xfer, sc->aue_ep[AUE_ENDPT_TX],
c 1289 dev/usb/if_aue.c c, c->aue_buf, total_len, USBD_FORCE_SHORT_XFER | USBD_NO_COPY,
c 1293 dev/usb/if_aue.c err = usbd_transfer(c->aue_xfer);
c 1433 dev/usb/if_aue.c struct aue_chain *c;
c 1464 dev/usb/if_aue.c c = &sc->aue_cdata.aue_rx_chain[i];
c 1465 dev/usb/if_aue.c usbd_setup_xfer(c->aue_xfer, sc->aue_ep[AUE_ENDPT_RX],
c 1466 dev/usb/if_aue.c c, c->aue_buf, AUE_BUFSZ,
c 1469 dev/usb/if_aue.c (void)usbd_transfer(c->aue_xfer); /* XXX */
c 1604 dev/usb/if_aue.c struct aue_chain *c;
c 1614 dev/usb/if_aue.c c = &sc->aue_cdata.aue_tx_chain[0];
c 1615 dev/usb/if_aue.c usbd_get_xfer_status(c->aue_xfer, NULL, NULL, NULL, &stat);
c 1616 dev/usb/if_aue.c aue_txeof(c->aue_xfer, c, stat);
c 854 dev/usb/if_axe.c struct axe_chain *c;
c 861 dev/usb/if_axe.c c = &cd->axe_rx_chain[i];
c 862 dev/usb/if_axe.c c->axe_sc = sc;
c 863 dev/usb/if_axe.c c->axe_idx = i;
c 864 dev/usb/if_axe.c c->axe_mbuf = NULL;
c 865 dev/usb/if_axe.c if (c->axe_xfer == NULL) {
c 866 dev/usb/if_axe.c c->axe_xfer = usbd_alloc_xfer(sc->axe_udev);
c 867 dev/usb/if_axe.c if (c->axe_xfer == NULL)
c 869 dev/usb/if_axe.c c->axe_buf = usbd_alloc_buffer(c->axe_xfer,
c 871 dev/usb/if_axe.c if (c->axe_buf == NULL) {
c 872 dev/usb/if_axe.c usbd_free_xfer(c->axe_xfer);
c 885 dev/usb/if_axe.c struct axe_chain *c;
c 892 dev/usb/if_axe.c c = &cd->axe_tx_chain[i];
c 893 dev/usb/if_axe.c c->axe_sc = sc;
c 894 dev/usb/if_axe.c c->axe_idx = i;
c 895 dev/usb/if_axe.c c->axe_mbuf = NULL;
c 896 dev/usb/if_axe.c if (c->axe_xfer == NULL) {
c 897 dev/usb/if_axe.c c->axe_xfer = usbd_alloc_xfer(sc->axe_udev);
c 898 dev/usb/if_axe.c if (c->axe_xfer == NULL)
c 900 dev/usb/if_axe.c c->axe_buf = usbd_alloc_buffer(c->axe_xfer,
c 902 dev/usb/if_axe.c if (c->axe_buf == NULL) {
c 903 dev/usb/if_axe.c usbd_free_xfer(c->axe_xfer);
c 919 dev/usb/if_axe.c struct axe_chain *c = (struct axe_chain *)priv;
c 920 dev/usb/if_axe.c struct axe_softc *sc = c->axe_sc;
c 922 dev/usb/if_axe.c u_char *buf = c->axe_buf;
c 1013 dev/usb/if_axe.c memset(c->axe_buf, 0, sc->axe_bufsz);
c 1017 dev/usb/if_axe.c c, c->axe_buf, sc->axe_bufsz,
c 1036 dev/usb/if_axe.c struct axe_chain *c;
c 1040 dev/usb/if_axe.c c = priv;
c 1041 dev/usb/if_axe.c sc = c->axe_sc;
c 1066 dev/usb/if_axe.c m_freem(c->axe_mbuf);
c 1067 dev/usb/if_axe.c c->axe_mbuf = NULL;
c 1139 dev/usb/if_axe.c struct axe_chain *c;
c 1144 dev/usb/if_axe.c c = &sc->axe_cdata.axe_tx_chain[idx];
c 1152 dev/usb/if_axe.c memcpy(c->axe_buf, &hdr, sizeof(hdr));
c 1155 dev/usb/if_axe.c m_copydata(m, 0, m->m_pkthdr.len, c->axe_buf + length);
c 1161 dev/usb/if_axe.c memcpy(c->axe_buf + length, &hdr, sizeof(hdr));
c 1166 dev/usb/if_axe.c m_copydata(m, 0, m->m_pkthdr.len, c->axe_buf);
c 1170 dev/usb/if_axe.c c->axe_mbuf = m;
c 1172 dev/usb/if_axe.c usbd_setup_xfer(c->axe_xfer, sc->axe_ep[AXE_ENDPT_TX],
c 1173 dev/usb/if_axe.c c, c->axe_buf, length, USBD_FORCE_SHORT_XFER | USBD_NO_COPY,
c 1177 dev/usb/if_axe.c err = usbd_transfer(c->axe_xfer);
c 1236 dev/usb/if_axe.c struct axe_chain *c;
c 1317 dev/usb/if_axe.c c = &sc->axe_cdata.axe_rx_chain[i];
c 1318 dev/usb/if_axe.c usbd_setup_xfer(c->axe_xfer, sc->axe_ep[AXE_ENDPT_RX],
c 1319 dev/usb/if_axe.c c, c->axe_buf, sc->axe_bufsz,
c 1322 dev/usb/if_axe.c usbd_transfer(c->axe_xfer);
c 1424 dev/usb/if_axe.c struct axe_chain *c;
c 1434 dev/usb/if_axe.c c = &sc->axe_cdata.axe_tx_chain[0];
c 1435 dev/usb/if_axe.c usbd_get_xfer_status(c->axe_xfer, NULL, NULL, NULL, &stat);
c 1436 dev/usb/if_axe.c axe_txeof(c->axe_xfer, c, stat);
c 329 dev/usb/if_cdce.c int c = UGETW(eaddr_str.bString[i]);
c 331 dev/usb/if_cdce.c if ('0' <= c && c <= '9')
c 332 dev/usb/if_cdce.c c -= '0';
c 333 dev/usb/if_cdce.c else if ('A' <= c && c <= 'F')
c 334 dev/usb/if_cdce.c c -= 'A' - 10;
c 335 dev/usb/if_cdce.c else if ('a' <= c && c <= 'f')
c 336 dev/usb/if_cdce.c c -= 'a' - 10;
c 337 dev/usb/if_cdce.c c &= 0xf;
c 339 dev/usb/if_cdce.c c <<= 4;
c 340 dev/usb/if_cdce.c sc->cdce_arpcom.ac_enaddr[i / 2] |= c;
c 427 dev/usb/if_cdce.c struct cdce_chain *c;
c 431 dev/usb/if_cdce.c c = &sc->cdce_cdata.cdce_tx_chain[idx];
c 433 dev/usb/if_cdce.c m_copydata(m, 0, m->m_pkthdr.len, c->cdce_buf);
c 438 dev/usb/if_cdce.c crc = cdce_crc32(c->cdce_buf, m->m_pkthdr.len);
c 439 dev/usb/if_cdce.c bcopy(&crc, c->cdce_buf + m->m_pkthdr.len, 4);
c 442 dev/usb/if_cdce.c c->cdce_mbuf = m;
c 444 dev/usb/if_cdce.c usbd_setup_xfer(c->cdce_xfer, sc->cdce_bulkout_pipe, c, c->cdce_buf,
c 447 dev/usb/if_cdce.c err = usbd_transfer(c->cdce_xfer);
c 606 dev/usb/if_cdce.c struct cdce_chain *c;
c 662 dev/usb/if_cdce.c c = &sc->cdce_cdata.cdce_rx_chain[i];
c 663 dev/usb/if_cdce.c usbd_setup_xfer(c->cdce_xfer, sc->cdce_bulkin_pipe, c,
c 664 dev/usb/if_cdce.c c->cdce_buf, CDCE_BUFSZ, USBD_SHORT_XFER_OK | USBD_NO_COPY,
c 666 dev/usb/if_cdce.c usbd_transfer(c->cdce_xfer);
c 676 dev/usb/if_cdce.c cdce_newbuf(struct cdce_softc *sc, struct cdce_chain *c, struct mbuf *m)
c 702 dev/usb/if_cdce.c c->cdce_mbuf = m_new;
c 710 dev/usb/if_cdce.c struct cdce_chain *c;
c 715 dev/usb/if_cdce.c c = &cd->cdce_rx_chain[i];
c 716 dev/usb/if_cdce.c c->cdce_sc = sc;
c 717 dev/usb/if_cdce.c c->cdce_idx = i;
c 718 dev/usb/if_cdce.c if (cdce_newbuf(sc, c, NULL) == ENOBUFS)
c 720 dev/usb/if_cdce.c if (c->cdce_xfer == NULL) {
c 721 dev/usb/if_cdce.c c->cdce_xfer = usbd_alloc_xfer(sc->cdce_udev);
c 722 dev/usb/if_cdce.c if (c->cdce_xfer == NULL)
c 724 dev/usb/if_cdce.c c->cdce_buf = usbd_alloc_buffer(c->cdce_xfer, CDCE_BUFSZ);
c 725 dev/usb/if_cdce.c if (c->cdce_buf == NULL)
c 737 dev/usb/if_cdce.c struct cdce_chain *c;
c 742 dev/usb/if_cdce.c c = &cd->cdce_tx_chain[i];
c 743 dev/usb/if_cdce.c c->cdce_sc = sc;
c 744 dev/usb/if_cdce.c c->cdce_idx = i;
c 745 dev/usb/if_cdce.c c->cdce_mbuf = NULL;
c 746 dev/usb/if_cdce.c if (c->cdce_xfer == NULL) {
c 747 dev/usb/if_cdce.c c->cdce_xfer = usbd_alloc_xfer(sc->cdce_udev);
c 748 dev/usb/if_cdce.c if (c->cdce_xfer == NULL)
c 750 dev/usb/if_cdce.c c->cdce_buf = usbd_alloc_buffer(c->cdce_xfer, CDCE_BUFSZ);
c 751 dev/usb/if_cdce.c if (c->cdce_buf == NULL)
c 762 dev/usb/if_cdce.c struct cdce_chain *c = priv;
c 763 dev/usb/if_cdce.c struct cdce_softc *sc = c->cdce_sc;
c 798 dev/usb/if_cdce.c m = c->cdce_mbuf;
c 799 dev/usb/if_cdce.c memcpy(mtod(m, char *), c->cdce_buf, total_len);
c 813 dev/usb/if_cdce.c if (cdce_newbuf(sc, c, NULL) == ENOBUFS) {
c 830 dev/usb/if_cdce.c usbd_setup_xfer(c->cdce_xfer, sc->cdce_bulkin_pipe, c, c->cdce_buf,
c 833 dev/usb/if_cdce.c usbd_transfer(c->cdce_xfer);
c 839 dev/usb/if_cdce.c struct cdce_chain *c = priv;
c 840 dev/usb/if_cdce.c struct cdce_softc *sc = c->cdce_sc;
c 867 dev/usb/if_cdce.c usbd_get_xfer_status(c->cdce_xfer, NULL, NULL, NULL, &err);
c 869 dev/usb/if_cdce.c if (c->cdce_mbuf != NULL) {
c 870 dev/usb/if_cdce.c m_freem(c->cdce_mbuf);
c 871 dev/usb/if_cdce.c c->cdce_mbuf = NULL;
c 625 dev/usb/if_cue.c cue_newbuf(struct cue_softc *sc, struct cue_chain *c, struct mbuf *m)
c 652 dev/usb/if_cue.c c->cue_mbuf = m_new;
c 661 dev/usb/if_cue.c struct cue_chain *c;
c 666 dev/usb/if_cue.c c = &cd->cue_rx_chain[i];
c 667 dev/usb/if_cue.c c->cue_sc = sc;
c 668 dev/usb/if_cue.c c->cue_idx = i;
c 669 dev/usb/if_cue.c if (cue_newbuf(sc, c, NULL) == ENOBUFS)
c 671 dev/usb/if_cue.c if (c->cue_xfer == NULL) {
c 672 dev/usb/if_cue.c c->cue_xfer = usbd_alloc_xfer(sc->cue_udev);
c 673 dev/usb/if_cue.c if (c->cue_xfer == NULL)
c 675 dev/usb/if_cue.c c->cue_buf = usbd_alloc_buffer(c->cue_xfer, CUE_BUFSZ);
c 676 dev/usb/if_cue.c if (c->cue_buf == NULL) {
c 677 dev/usb/if_cue.c usbd_free_xfer(c->cue_xfer);
c 690 dev/usb/if_cue.c struct cue_chain *c;
c 695 dev/usb/if_cue.c c = &cd->cue_tx_chain[i];
c 696 dev/usb/if_cue.c c->cue_sc = sc;
c 697 dev/usb/if_cue.c c->cue_idx = i;
c 698 dev/usb/if_cue.c c->cue_mbuf = NULL;
c 699 dev/usb/if_cue.c if (c->cue_xfer == NULL) {
c 700 dev/usb/if_cue.c c->cue_xfer = usbd_alloc_xfer(sc->cue_udev);
c 701 dev/usb/if_cue.c if (c->cue_xfer == NULL)
c 703 dev/usb/if_cue.c c->cue_buf = usbd_alloc_buffer(c->cue_xfer, CUE_BUFSZ);
c 704 dev/usb/if_cue.c if (c->cue_buf == NULL) {
c 705 dev/usb/if_cue.c usbd_free_xfer(c->cue_xfer);
c 721 dev/usb/if_cue.c struct cue_chain *c = priv;
c 722 dev/usb/if_cue.c struct cue_softc *sc = c->cue_sc;
c 755 dev/usb/if_cue.c memcpy(mtod(c->cue_mbuf, char *), c->cue_buf, total_len);
c 757 dev/usb/if_cue.c m = c->cue_mbuf;
c 777 dev/usb/if_cue.c if (cue_newbuf(sc, c, NULL) == ENOBUFS) {
c 801 dev/usb/if_cue.c usbd_setup_xfer(c->cue_xfer, sc->cue_ep[CUE_ENDPT_RX],
c 802 dev/usb/if_cue.c c, c->cue_buf, CUE_BUFSZ, USBD_SHORT_XFER_OK | USBD_NO_COPY,
c 804 dev/usb/if_cue.c usbd_transfer(c->cue_xfer);
c 817 dev/usb/if_cue.c struct cue_chain *c = priv;
c 818 dev/usb/if_cue.c struct cue_softc *sc = c->cue_sc;
c 849 dev/usb/if_cue.c m_freem(c->cue_mbuf);
c 850 dev/usb/if_cue.c c->cue_mbuf = NULL;
c 900 dev/usb/if_cue.c struct cue_chain *c;
c 903 dev/usb/if_cue.c c = &sc->cue_cdata.cue_tx_chain[idx];
c 909 dev/usb/if_cue.c m_copydata(m, 0, m->m_pkthdr.len, c->cue_buf + 2);
c 910 dev/usb/if_cue.c c->cue_mbuf = m;
c 918 dev/usb/if_cue.c c->cue_buf[0] = (u_int8_t)m->m_pkthdr.len;
c 919 dev/usb/if_cue.c c->cue_buf[1] = (u_int8_t)(m->m_pkthdr.len >> 8);
c 922 dev/usb/if_cue.c usbd_setup_xfer(c->cue_xfer, sc->cue_ep[CUE_ENDPT_TX],
c 923 dev/usb/if_cue.c c, c->cue_buf, total_len, USBD_NO_COPY, 10000, cue_txeof);
c 926 dev/usb/if_cue.c err = usbd_transfer(c->cue_xfer);
c 1073 dev/usb/if_cue.c struct cue_chain *c;
c 1095 dev/usb/if_cue.c c = &sc->cue_cdata.cue_rx_chain[i];
c 1096 dev/usb/if_cue.c usbd_setup_xfer(c->cue_xfer, sc->cue_ep[CUE_ENDPT_RX],
c 1097 dev/usb/if_cue.c c, c->cue_buf, CUE_BUFSZ,
c 1100 dev/usb/if_cue.c usbd_transfer(c->cue_xfer);
c 1191 dev/usb/if_cue.c struct cue_chain *c;
c 1204 dev/usb/if_cue.c c = &sc->cue_cdata.cue_tx_chain[0];
c 1205 dev/usb/if_cue.c usbd_get_xfer_status(c->cue_xfer, NULL, NULL, NULL, &stat);
c 1206 dev/usb/if_cue.c cue_txeof(c->cue_xfer, c, stat);
c 620 dev/usb/if_kue.c kue_newbuf(struct kue_softc *sc, struct kue_chain *c, struct mbuf *m)
c 648 dev/usb/if_kue.c c->kue_mbuf = m_new;
c 657 dev/usb/if_kue.c struct kue_chain *c;
c 664 dev/usb/if_kue.c c = &cd->kue_rx_chain[i];
c 665 dev/usb/if_kue.c c->kue_sc = sc;
c 666 dev/usb/if_kue.c c->kue_idx = i;
c 667 dev/usb/if_kue.c if (kue_newbuf(sc, c, NULL) == ENOBUFS)
c 669 dev/usb/if_kue.c if (c->kue_xfer == NULL) {
c 670 dev/usb/if_kue.c c->kue_xfer = usbd_alloc_xfer(sc->kue_udev);
c 671 dev/usb/if_kue.c if (c->kue_xfer == NULL)
c 673 dev/usb/if_kue.c c->kue_buf = usbd_alloc_buffer(c->kue_xfer, KUE_BUFSZ);
c 674 dev/usb/if_kue.c if (c->kue_buf == NULL)
c 686 dev/usb/if_kue.c struct kue_chain *c;
c 693 dev/usb/if_kue.c c = &cd->kue_tx_chain[i];
c 694 dev/usb/if_kue.c c->kue_sc = sc;
c 695 dev/usb/if_kue.c c->kue_idx = i;
c 696 dev/usb/if_kue.c c->kue_mbuf = NULL;
c 697 dev/usb/if_kue.c if (c->kue_xfer == NULL) {
c 698 dev/usb/if_kue.c c->kue_xfer = usbd_alloc_xfer(sc->kue_udev);
c 699 dev/usb/if_kue.c if (c->kue_xfer == NULL)
c 701 dev/usb/if_kue.c c->kue_buf = usbd_alloc_buffer(c->kue_xfer, KUE_BUFSZ);
c 702 dev/usb/if_kue.c if (c->kue_buf == NULL)
c 717 dev/usb/if_kue.c struct kue_chain *c = priv;
c 718 dev/usb/if_kue.c struct kue_softc *sc = c->kue_sc;
c 752 dev/usb/if_kue.c UGETW(mtod(c->kue_mbuf, u_int8_t *))));
c 757 dev/usb/if_kue.c m = c->kue_mbuf;
c 759 dev/usb/if_kue.c memcpy(mtod(m, char *), c->kue_buf, total_len);
c 778 dev/usb/if_kue.c if (kue_newbuf(sc, c, NULL) == ENOBUFS) {
c 803 dev/usb/if_kue.c usbd_setup_xfer(c->kue_xfer, sc->kue_ep[KUE_ENDPT_RX],
c 804 dev/usb/if_kue.c c, c->kue_buf, KUE_BUFSZ, USBD_SHORT_XFER_OK | USBD_NO_COPY,
c 806 dev/usb/if_kue.c usbd_transfer(c->kue_xfer);
c 820 dev/usb/if_kue.c struct kue_chain *c = priv;
c 821 dev/usb/if_kue.c struct kue_softc *sc = c->kue_sc;
c 852 dev/usb/if_kue.c m_freem(c->kue_mbuf);
c 853 dev/usb/if_kue.c c->kue_mbuf = NULL;
c 865 dev/usb/if_kue.c struct kue_chain *c;
c 870 dev/usb/if_kue.c c = &sc->kue_cdata.kue_tx_chain[idx];
c 876 dev/usb/if_kue.c m_copydata(m, 0, m->m_pkthdr.len, c->kue_buf + 2);
c 877 dev/usb/if_kue.c c->kue_mbuf = m;
c 884 dev/usb/if_kue.c c->kue_buf[0] = (u_int8_t)m->m_pkthdr.len;
c 885 dev/usb/if_kue.c c->kue_buf[1] = (u_int8_t)(m->m_pkthdr.len >> 8);
c 887 dev/usb/if_kue.c usbd_setup_xfer(c->kue_xfer, sc->kue_ep[KUE_ENDPT_TX],
c 888 dev/usb/if_kue.c c, c->kue_buf, total_len, USBD_NO_COPY, USBD_DEFAULT_TIMEOUT,
c 892 dev/usb/if_kue.c err = usbd_transfer(c->kue_xfer);
c 1018 dev/usb/if_kue.c struct kue_chain *c;
c 1042 dev/usb/if_kue.c c = &sc->kue_cdata.kue_rx_chain[i];
c 1043 dev/usb/if_kue.c usbd_setup_xfer(c->kue_xfer, sc->kue_ep[KUE_ENDPT_RX],
c 1044 dev/usb/if_kue.c c, c->kue_buf, KUE_BUFSZ,
c 1049 dev/usb/if_kue.c usbd_transfer(c->kue_xfer);
c 1151 dev/usb/if_kue.c struct kue_chain *c;
c 1164 dev/usb/if_kue.c c = &sc->kue_cdata.kue_tx_chain[0];
c 1165 dev/usb/if_kue.c usbd_get_xfer_status(c->kue_xfer, NULL, NULL, NULL, &stat);
c 1166 dev/usb/if_kue.c kue_txeof(c->kue_xfer, c, stat);
c 1552 dev/usb/if_ral.c ural_set_chan(struct ural_softc *sc, struct ieee80211_channel *c)
c 1558 dev/usb/if_ral.c chan = ieee80211_chan2ieee(ic, c);
c 1623 dev/usb/if_rum.c rum_select_band(struct rum_softc *sc, struct ieee80211_channel *c)
c 1631 dev/usb/if_rum.c if (IEEE80211_IS_CHAN_5GHZ(c)) {
c 1635 dev/usb/if_rum.c if ((IEEE80211_IS_CHAN_2GHZ(c) && sc->ext_2ghz_lna) ||
c 1636 dev/usb/if_rum.c (IEEE80211_IS_CHAN_5GHZ(c) && sc->ext_5ghz_lna)) {
c 1645 dev/usb/if_rum.c if ((IEEE80211_IS_CHAN_2GHZ(c) && sc->ext_2ghz_lna) ||
c 1646 dev/usb/if_rum.c (IEEE80211_IS_CHAN_5GHZ(c) && sc->ext_5ghz_lna)) {
c 1658 dev/usb/if_rum.c if (IEEE80211_IS_CHAN_2GHZ(c))
c 1665 dev/usb/if_rum.c sc->sifs = IEEE80211_IS_CHAN_5GHZ(c) ? 16 : 10;
c 1669 dev/usb/if_rum.c rum_set_chan(struct rum_softc *sc, struct ieee80211_channel *c)
c 1677 dev/usb/if_rum.c chan = ieee80211_chan2ieee(ic, c);
c 1701 dev/usb/if_rum.c if (c->ic_flags != sc->sc_curchan->ic_flags) {
c 1702 dev/usb/if_rum.c rum_select_band(sc, c);
c 1705 dev/usb/if_rum.c sc->sc_curchan = c;
c 1736 dev/usb/if_uath.c uath_set_chan(struct uath_softc *sc, struct ieee80211_channel *c)
c 1742 dev/usb/if_uath.c chan.freq = htobe32(c->ic_freq);
c 1748 dev/usb/if_uath.c ieee80211_chan2ieee(&sc->sc_ic, c)));
c 1838 dev/usb/if_uath.c uath_switch_channel(struct uath_softc *sc, struct ieee80211_channel *c)
c 1844 dev/usb/if_uath.c if ((error = uath_set_chan(sc, c)) != 0) {
c 807 dev/usb/if_udav.c struct udav_chain *c;
c 855 dev/usb/if_udav.c c = &sc->sc_cdata.udav_rx_chain[i];
c 856 dev/usb/if_udav.c usbd_setup_xfer(c->udav_xfer, sc->sc_pipe_rx,
c 857 dev/usb/if_udav.c c, c->udav_buf, UDAV_BUFSZ,
c 860 dev/usb/if_udav.c (void)usbd_transfer(c->udav_xfer);
c 873 dev/usb/if_udav.c udav_newbuf(struct udav_softc *sc, struct udav_chain *c, struct mbuf *m)
c 901 dev/usb/if_udav.c c->udav_mbuf = m_new;
c 911 dev/usb/if_udav.c struct udav_chain *c;
c 918 dev/usb/if_udav.c c = &cd->udav_rx_chain[i];
c 919 dev/usb/if_udav.c c->udav_sc = sc;
c 920 dev/usb/if_udav.c c->udav_idx = i;
c 921 dev/usb/if_udav.c if (udav_newbuf(sc, c, NULL) == ENOBUFS)
c 923 dev/usb/if_udav.c if (c->udav_xfer == NULL) {
c 924 dev/usb/if_udav.c c->udav_xfer = usbd_alloc_xfer(sc->sc_udev);
c 925 dev/usb/if_udav.c if (c->udav_xfer == NULL)
c 927 dev/usb/if_udav.c c->udav_buf = usbd_alloc_buffer(c->udav_xfer, UDAV_BUFSZ);
c 928 dev/usb/if_udav.c if (c->udav_buf == NULL) {
c 929 dev/usb/if_udav.c usbd_free_xfer(c->udav_xfer);
c 942 dev/usb/if_udav.c struct udav_chain *c;
c 949 dev/usb/if_udav.c c = &cd->udav_tx_chain[i];
c 950 dev/usb/if_udav.c c->udav_sc = sc;
c 951 dev/usb/if_udav.c c->udav_idx = i;
c 952 dev/usb/if_udav.c c->udav_mbuf = NULL;
c 953 dev/usb/if_udav.c if (c->udav_xfer == NULL) {
c 954 dev/usb/if_udav.c c->udav_xfer = usbd_alloc_xfer(sc->sc_udev);
c 955 dev/usb/if_udav.c if (c->udav_xfer == NULL)
c 957 dev/usb/if_udav.c c->udav_buf = usbd_alloc_buffer(c->udav_xfer, UDAV_BUFSZ);
c 958 dev/usb/if_udav.c if (c->udav_buf == NULL) {
c 959 dev/usb/if_udav.c usbd_free_xfer(c->udav_xfer);
c 1012 dev/usb/if_udav.c struct udav_chain *c;
c 1017 dev/usb/if_udav.c c = &sc->sc_cdata.udav_tx_chain[idx];
c 1021 dev/usb/if_udav.c m_copydata(m, 0, m->m_pkthdr.len, c->udav_buf + 2);
c 1022 dev/usb/if_udav.c c->udav_mbuf = m;
c 1025 dev/usb/if_udav.c memset(c->udav_buf + 2 + total_len, 0,
c 1031 dev/usb/if_udav.c c->udav_buf[0] = (u_int8_t)total_len;
c 1032 dev/usb/if_udav.c c->udav_buf[1] = (u_int8_t)(total_len >> 8);
c 1035 dev/usb/if_udav.c usbd_setup_xfer(c->udav_xfer, sc->sc_pipe_tx, c, c->udav_buf, total_len,
c 1041 dev/usb/if_udav.c err = usbd_transfer(c->udav_xfer);
c 1063 dev/usb/if_udav.c struct udav_chain *c = priv;
c 1064 dev/usb/if_udav.c struct udav_softc *sc = c->udav_sc;
c 1098 dev/usb/if_udav.c m_freem(c->udav_mbuf);
c 1099 dev/usb/if_udav.c c->udav_mbuf = NULL;
c 1110 dev/usb/if_udav.c struct udav_chain *c = priv;
c 1111 dev/usb/if_udav.c struct udav_softc *sc = c->udav_sc;
c 1144 dev/usb/if_udav.c h = (struct udav_rx_hdr *)c->udav_buf;
c 1161 dev/usb/if_udav.c m = c->udav_mbuf;
c 1162 dev/usb/if_udav.c memcpy(mtod(m, char *), c->udav_buf + UDAV_RX_HDRLEN, total_len);
c 1171 dev/usb/if_udav.c if (udav_newbuf(sc, c, NULL) == ENOBUFS) {
c 1190 dev/usb/if_udav.c usbd_setup_xfer(xfer, sc->sc_pipe_rx, c, c->udav_buf, UDAV_BUFSZ,
c 1292 dev/usb/if_udav.c struct udav_chain *c;
c 1302 dev/usb/if_udav.c c = &sc->sc_cdata.udav_tx_chain[0];
c 1303 dev/usb/if_udav.c usbd_get_xfer_status(c->udav_xfer, NULL, NULL, NULL, &stat);
c 1304 dev/usb/if_udav.c udav_txeof(c->udav_xfer, c, stat);
c 393 dev/usb/if_upl.c upl_newbuf(struct upl_softc *sc, struct upl_chain *c, struct mbuf *m)
c 421 dev/usb/if_upl.c c->upl_mbuf = m_new;
c 430 dev/usb/if_upl.c struct upl_chain *c;
c 437 dev/usb/if_upl.c c = &cd->upl_rx_chain[i];
c 438 dev/usb/if_upl.c c->upl_sc = sc;
c 439 dev/usb/if_upl.c c->upl_idx = i;
c 440 dev/usb/if_upl.c if (upl_newbuf(sc, c, NULL) == ENOBUFS)
c 442 dev/usb/if_upl.c if (c->upl_xfer == NULL) {
c 443 dev/usb/if_upl.c c->upl_xfer = usbd_alloc_xfer(sc->sc_udev);
c 444 dev/usb/if_upl.c if (c->upl_xfer == NULL)
c 446 dev/usb/if_upl.c c->upl_buf = usbd_alloc_buffer(c->upl_xfer, UPL_BUFSZ);
c 447 dev/usb/if_upl.c if (c->upl_buf == NULL) {
c 448 dev/usb/if_upl.c usbd_free_xfer(c->upl_xfer);
c 461 dev/usb/if_upl.c struct upl_chain *c;
c 468 dev/usb/if_upl.c c = &cd->upl_tx_chain[i];
c 469 dev/usb/if_upl.c c->upl_sc = sc;
c 470 dev/usb/if_upl.c c->upl_idx = i;
c 471 dev/usb/if_upl.c c->upl_mbuf = NULL;
c 472 dev/usb/if_upl.c if (c->upl_xfer == NULL) {
c 473 dev/usb/if_upl.c c->upl_xfer = usbd_alloc_xfer(sc->sc_udev);
c 474 dev/usb/if_upl.c if (c->upl_xfer == NULL)
c 476 dev/usb/if_upl.c c->upl_buf = usbd_alloc_buffer(c->upl_xfer, UPL_BUFSZ);
c 477 dev/usb/if_upl.c if (c->upl_buf == NULL) {
c 478 dev/usb/if_upl.c usbd_free_xfer(c->upl_xfer);
c 494 dev/usb/if_upl.c struct upl_chain *c = priv;
c 495 dev/usb/if_upl.c struct upl_softc *sc = c->upl_sc;
c 527 dev/usb/if_upl.c m = c->upl_mbuf;
c 528 dev/usb/if_upl.c memcpy(mtod(c->upl_mbuf, char *), c->upl_buf, total_len);
c 538 dev/usb/if_upl.c if (upl_newbuf(sc, c, NULL) == ENOBUFS) {
c 566 dev/usb/if_upl.c usbd_setup_xfer(c->upl_xfer, sc->sc_ep[UPL_ENDPT_RX],
c 567 dev/usb/if_upl.c c, c->upl_buf, UPL_BUFSZ, USBD_SHORT_XFER_OK | USBD_NO_COPY,
c 569 dev/usb/if_upl.c usbd_transfer(c->upl_xfer);
c 583 dev/usb/if_upl.c struct upl_chain *c = priv;
c 584 dev/usb/if_upl.c struct upl_softc *sc = c->upl_sc;
c 615 dev/usb/if_upl.c m_freem(c->upl_mbuf);
c 616 dev/usb/if_upl.c c->upl_mbuf = NULL;
c 628 dev/usb/if_upl.c struct upl_chain *c;
c 631 dev/usb/if_upl.c c = &sc->sc_cdata.upl_tx_chain[idx];
c 637 dev/usb/if_upl.c m_copydata(m, 0, m->m_pkthdr.len, c->upl_buf);
c 638 dev/usb/if_upl.c c->upl_mbuf = m;
c 645 dev/usb/if_upl.c usbd_setup_xfer(c->upl_xfer, sc->sc_ep[UPL_ENDPT_TX],
c 646 dev/usb/if_upl.c c, c->upl_buf, total_len, USBD_NO_COPY, USBD_DEFAULT_TIMEOUT,
c 650 dev/usb/if_upl.c err = usbd_transfer(c->upl_xfer);
c 752 dev/usb/if_upl.c struct upl_chain *c;
c 785 dev/usb/if_upl.c c = &sc->sc_cdata.upl_rx_chain[i];
c 786 dev/usb/if_upl.c usbd_setup_xfer(c->upl_xfer, sc->sc_ep[UPL_ENDPT_RX],
c 787 dev/usb/if_upl.c c, c->upl_buf, UPL_BUFSZ,
c 790 dev/usb/if_upl.c usbd_transfer(c->upl_xfer);
c 697 dev/usb/if_url.c struct url_chain *c;
c 745 dev/usb/if_url.c c = &sc->sc_cdata.url_rx_chain[i];
c 746 dev/usb/if_url.c usbd_setup_xfer(c->url_xfer, sc->sc_pipe_rx,
c 747 dev/usb/if_url.c c, c->url_buf, URL_BUFSZ,
c 750 dev/usb/if_url.c (void)usbd_transfer(c->url_xfer);
c 763 dev/usb/if_url.c url_newbuf(struct url_softc *sc, struct url_chain *c, struct mbuf *m)
c 791 dev/usb/if_url.c c->url_mbuf = m_new;
c 801 dev/usb/if_url.c struct url_chain *c;
c 808 dev/usb/if_url.c c = &cd->url_rx_chain[i];
c 809 dev/usb/if_url.c c->url_sc = sc;
c 810 dev/usb/if_url.c c->url_idx = i;
c 811 dev/usb/if_url.c if (url_newbuf(sc, c, NULL) == ENOBUFS)
c 813 dev/usb/if_url.c if (c->url_xfer == NULL) {
c 814 dev/usb/if_url.c c->url_xfer = usbd_alloc_xfer(sc->sc_udev);
c 815 dev/usb/if_url.c if (c->url_xfer == NULL)
c 817 dev/usb/if_url.c c->url_buf = usbd_alloc_buffer(c->url_xfer, URL_BUFSZ);
c 818 dev/usb/if_url.c if (c->url_buf == NULL) {
c 819 dev/usb/if_url.c usbd_free_xfer(c->url_xfer);
c 832 dev/usb/if_url.c struct url_chain *c;
c 839 dev/usb/if_url.c c = &cd->url_tx_chain[i];
c 840 dev/usb/if_url.c c->url_sc = sc;
c 841 dev/usb/if_url.c c->url_idx = i;
c 842 dev/usb/if_url.c c->url_mbuf = NULL;
c 843 dev/usb/if_url.c if (c->url_xfer == NULL) {
c 844 dev/usb/if_url.c c->url_xfer = usbd_alloc_xfer(sc->sc_udev);
c 845 dev/usb/if_url.c if (c->url_xfer == NULL)
c 847 dev/usb/if_url.c c->url_buf = usbd_alloc_buffer(c->url_xfer, URL_BUFSZ);
c 848 dev/usb/if_url.c if (c->url_buf == NULL) {
c 849 dev/usb/if_url.c usbd_free_xfer(c->url_xfer);
c 902 dev/usb/if_url.c struct url_chain *c;
c 907 dev/usb/if_url.c c = &sc->sc_cdata.url_tx_chain[idx];
c 910 dev/usb/if_url.c m_copydata(m, 0, m->m_pkthdr.len, c->url_buf);
c 911 dev/usb/if_url.c c->url_mbuf = m;
c 915 dev/usb/if_url.c bzero(c->url_buf + total_len, URL_MIN_FRAME_LEN - total_len);
c 918 dev/usb/if_url.c usbd_setup_xfer(c->url_xfer, sc->sc_pipe_tx, c, c->url_buf, total_len,
c 924 dev/usb/if_url.c err = usbd_transfer(c->url_xfer);
c 946 dev/usb/if_url.c struct url_chain *c = priv;
c 947 dev/usb/if_url.c struct url_softc *sc = c->url_sc;
c 981 dev/usb/if_url.c m_freem(c->url_mbuf);
c 982 dev/usb/if_url.c c->url_mbuf = NULL;
c 993 dev/usb/if_url.c struct url_chain *c = priv;
c 994 dev/usb/if_url.c struct url_softc *sc = c->url_sc;
c 1027 dev/usb/if_url.c memcpy(mtod(c->url_mbuf, char *), c->url_buf, total_len);
c 1034 dev/usb/if_url.c memcpy(&rxhdr, c->url_buf + total_len - ETHER_CRC_LEN, sizeof(rxhdr));
c 1052 dev/usb/if_url.c m = c->url_mbuf;
c 1058 dev/usb/if_url.c if (url_newbuf(sc, c, NULL) == ENOBUFS) {
c 1077 dev/usb/if_url.c usbd_setup_xfer(xfer, sc->sc_pipe_rx, c, c->url_buf, URL_BUFSZ,
c 1180 dev/usb/if_url.c struct url_chain *c;
c 1190 dev/usb/if_url.c c = &sc->sc_cdata.url_tx_chain[0];
c 1191 dev/usb/if_url.c usbd_get_xfer_status(c->url_xfer, NULL, NULL, NULL, &stat);
c 1192 dev/usb/if_url.c url_txeof(c->url_xfer, c, stat);
c 81 dev/usb/if_wi_usb.c int wi_usb_do_transmit_sync(struct wi_usb_softc *wsc, struct wi_usb_chain *c,
c 95 dev/usb/if_wi_usb.c void wi_usb_cmdresp(struct wi_usb_chain *c);
c 96 dev/usb/if_wi_usb.c void wi_usb_rridresp(struct wi_usb_chain *c);
c 97 dev/usb/if_wi_usb.c void wi_usb_wridresp(struct wi_usb_chain *c);
c 98 dev/usb/if_wi_usb.c void wi_usb_infofrm(struct wi_usb_chain *c, int len);
c 504 dev/usb/if_wi_usb.c struct wi_usb_chain *c;
c 509 dev/usb/if_wi_usb.c c = &sc->wi_usb_tx_chain[0];
c 535 dev/usb/if_wi_usb.c bcopy(wibuf, c->wi_usb_buf, total_len);
c 537 dev/usb/if_wi_usb.c bzero(((char *)c->wi_usb_buf)+total_len,
c 548 dev/usb/if_wi_usb.c usbd_setup_xfer(c->wi_usb_xfer, sc->wi_usb_ep[WI_USB_ENDPT_TX],
c 549 dev/usb/if_wi_usb.c c, c->wi_usb_buf, rnd_len,
c 553 dev/usb/if_wi_usb.c err = usbd_transfer(c->wi_usb_xfer);
c 578 dev/usb/if_wi_usb.c struct wi_usb_chain *c;
c 613 dev/usb/if_wi_usb.c c = &sc->wi_usb_tx_chain[0];
c 614 dev/usb/if_wi_usb.c pcmd = c->wi_usb_buf;
c 639 dev/usb/if_wi_usb.c usbd_setup_xfer(c->wi_usb_xfer, sc->wi_usb_ep[WI_USB_ENDPT_TX],
c 640 dev/usb/if_wi_usb.c c, c->wi_usb_buf, rnd_len, USBD_FORCE_SHORT_XFER | USBD_NO_COPY,
c 643 dev/usb/if_wi_usb.c err = wi_usb_do_transmit_sync(sc, c, &sc->cmdresperr);
c 664 dev/usb/if_wi_usb.c struct wi_usb_chain *c;
c 698 dev/usb/if_wi_usb.c c = &sc->wi_usb_tx_chain[0];
c 699 dev/usb/if_wi_usb.c prid = c->wi_usb_buf;
c 720 dev/usb/if_wi_usb.c usbd_setup_xfer(c->wi_usb_xfer, sc->wi_usb_ep[WI_USB_ENDPT_TX],
c 721 dev/usb/if_wi_usb.c c, c->wi_usb_buf, rnd_len, USBD_FORCE_SHORT_XFER | USBD_NO_COPY,
c 727 dev/usb/if_wi_usb.c err = wi_usb_do_transmit_sync(sc, c, &sc->ridresperr);
c 793 dev/usb/if_wi_usb.c struct wi_usb_chain *c;
c 911 dev/usb/if_wi_usb.c c = &sc->wi_usb_tx_chain[0];
c 913 dev/usb/if_wi_usb.c prid = c->wi_usb_buf;
c 934 dev/usb/if_wi_usb.c usbd_setup_xfer(c->wi_usb_xfer, sc->wi_usb_ep[WI_USB_ENDPT_TX],
c 935 dev/usb/if_wi_usb.c c, c->wi_usb_buf, rnd_len, USBD_FORCE_SHORT_XFER | USBD_NO_COPY,
c 938 dev/usb/if_wi_usb.c err = wi_usb_do_transmit_sync(sc, c, &sc->ridresperr);
c 1068 dev/usb/if_wi_usb.c wi_usb_do_transmit_sync(struct wi_usb_softc *sc, struct wi_usb_chain *c,
c 1077 dev/usb/if_wi_usb.c err = usbd_transfer(c->wi_usb_xfer);
c 1109 dev/usb/if_wi_usb.c struct wi_usb_chain *c = priv;
c 1110 dev/usb/if_wi_usb.c struct wi_usb_softc *sc = c->wi_usb_sc;
c 1152 dev/usb/if_wi_usb.c struct wi_usb_chain *c = priv;
c 1153 dev/usb/if_wi_usb.c struct wi_usb_softc *sc = c->wi_usb_sc;
c 1202 dev/usb/if_wi_usb.c struct wi_usb_chain *c;
c 1208 dev/usb/if_wi_usb.c c = &sc->wi_usb_rx_chain[i];
c 1209 dev/usb/if_wi_usb.c c->wi_usb_sc = sc;
c 1210 dev/usb/if_wi_usb.c c->wi_usb_idx = i;
c 1211 dev/usb/if_wi_usb.c if (c->wi_usb_xfer != NULL) {
c 1214 dev/usb/if_wi_usb.c if (c->wi_usb_xfer == NULL) {
c 1215 dev/usb/if_wi_usb.c c->wi_usb_xfer = usbd_alloc_xfer(sc->wi_usb_udev);
c 1216 dev/usb/if_wi_usb.c if (c->wi_usb_xfer == NULL)
c 1218 dev/usb/if_wi_usb.c c->wi_usb_buf = usbd_alloc_buffer(c->wi_usb_xfer,
c 1220 dev/usb/if_wi_usb.c if (c->wi_usb_buf == NULL)
c 1231 dev/usb/if_wi_usb.c struct wi_usb_chain *c;
c 1237 dev/usb/if_wi_usb.c c = &sc->wi_usb_tx_chain[i];
c 1238 dev/usb/if_wi_usb.c c->wi_usb_sc = sc;
c 1239 dev/usb/if_wi_usb.c c->wi_usb_idx = i;
c 1240 dev/usb/if_wi_usb.c c->wi_usb_mbuf = NULL;
c 1241 dev/usb/if_wi_usb.c if (c->wi_usb_xfer != NULL) {
c 1244 dev/usb/if_wi_usb.c if (c->wi_usb_xfer == NULL) {
c 1245 dev/usb/if_wi_usb.c c->wi_usb_xfer = usbd_alloc_xfer(sc->wi_usb_udev);
c 1246 dev/usb/if_wi_usb.c if (c->wi_usb_xfer == NULL)
c 1248 dev/usb/if_wi_usb.c c->wi_usb_buf = usbd_alloc_buffer(c->wi_usb_xfer,
c 1250 dev/usb/if_wi_usb.c if (c->wi_usb_buf == NULL)
c 1263 dev/usb/if_wi_usb.c struct wi_usb_chain *c;
c 1303 dev/usb/if_wi_usb.c c = &sc->wi_usb_rx_chain[i];
c 1304 dev/usb/if_wi_usb.c usbd_setup_xfer(c->wi_usb_xfer, sc->wi_usb_ep[WI_USB_ENDPT_RX],
c 1305 dev/usb/if_wi_usb.c c, c->wi_usb_buf, WI_USB_BUFSZ,
c 1310 dev/usb/if_wi_usb.c usbd_transfer(c->wi_usb_xfer);
c 1389 dev/usb/if_wi_usb.c struct wi_usb_chain *c = priv;
c 1390 dev/usb/if_wi_usb.c struct wi_usb_softc *sc = c->wi_usb_sc;
c 1435 dev/usb/if_wi_usb.c uin = (wi_usb_usbin *)(c->wi_usb_buf);
c 1441 dev/usb/if_wi_usb.c wi_dump_data(c->wi_usb_buf, total_len);
c 1460 dev/usb/if_wi_usb.c wi_usb_infofrm(c, total_len);
c 1463 dev/usb/if_wi_usb.c wi_usb_cmdresp(c);
c 1466 dev/usb/if_wi_usb.c wi_usb_wridresp(c);
c 1469 dev/usb/if_wi_usb.c wi_usb_rridresp(c);
c 1491 dev/usb/if_wi_usb.c wi_dump_data(c->wi_usb_buf, total_len);
c 1497 dev/usb/if_wi_usb.c usbd_setup_xfer(c->wi_usb_xfer, sc->wi_usb_ep[WI_USB_ENDPT_RX],
c 1498 dev/usb/if_wi_usb.c c, c->wi_usb_buf, WI_USB_BUFSZ, USBD_SHORT_XFER_OK | USBD_NO_COPY,
c 1501 dev/usb/if_wi_usb.c usbd_transfer(c->wi_usb_xfer);
c 1535 dev/usb/if_wi_usb.c wi_usb_cmdresp(struct wi_usb_chain *c)
c 1537 dev/usb/if_wi_usb.c struct wi_cmdresp *presp = (struct wi_cmdresp *)(c->wi_usb_buf);
c 1539 dev/usb/if_wi_usb.c struct wi_usb_softc *sc = c->wi_usb_sc;
c 1566 dev/usb/if_wi_usb.c wi_usb_rridresp(struct wi_usb_chain *c)
c 1568 dev/usb/if_wi_usb.c struct wi_rridresp *presp = (struct wi_rridresp *)(c->wi_usb_buf);
c 1570 dev/usb/if_wi_usb.c struct wi_usb_softc *sc = c->wi_usb_sc;
c 1619 dev/usb/if_wi_usb.c wi_usb_wridresp(struct wi_usb_chain *c)
c 1621 dev/usb/if_wi_usb.c struct wi_wridresp *presp = (struct wi_wridresp *)(c->wi_usb_buf);
c 1622 dev/usb/if_wi_usb.c struct wi_usb_softc *sc = c->wi_usb_sc;
c 1636 dev/usb/if_wi_usb.c wi_usb_infofrm(struct wi_usb_chain *c, int len)
c 1638 dev/usb/if_wi_usb.c struct wi_usb_softc *sc = c->wi_usb_sc;
c 1643 dev/usb/if_wi_usb.c sc->wi_info = ((char *)c->wi_usb_buf) + 2;
c 1716 dev/usb/if_zyd.c zyd_set_chan(struct zyd_softc *sc, struct ieee80211_channel *c)
c 1722 dev/usb/if_zyd.c chan = ieee80211_chan2ieee(ic, c);
c 763 dev/usb/uaudio.c int c, chs, ichs, ochs, i, o, bno, p, mo, mc, k;
c 789 dev/usb/uaudio.c for (c = 0; c < chs; c++) {
c 792 dev/usb/uaudio.c bno = (p + c) * ochs + o;
c 801 dev/usb/uaudio.c for (c = 0; c < chs; c++)
c 803 dev/usb/uaudio.c bno = (p + c) * ochs + o;
c 806 dev/usb/uaudio.c MAKE(p+c+1, o+1);
c 1110 dev/usb/ucom.c int (*rint)(int c, struct tty *tp) = LINESW(tp, l_rint);
c 284 dev/usb/ueagle.c uint16_t c;
c 295 dev/usb/ueagle.c if ((c = UGETW(us.bString[i])) & 0xff00)
c 303 dev/usb/ueagle.c if (c >= '0' && c <= '9')
c 304 dev/usb/ueagle.c addr[i / 2] |= c - '0';
c 305 dev/usb/ueagle.c else if (c >= 'a' && c <= 'f')
c 306 dev/usb/ueagle.c addr[i / 2] |= c - 'a' + 10;
c 307 dev/usb/ueagle.c else if (c >= 'A' && c <= 'F')
c 308 dev/usb/ueagle.c addr[i / 2] |= c - 'A' + 10;
c 90 dev/usb/ueaglereg.h #define UEAGLE_MAKESA(a, b, c, d) ((c) << 24 | (d) << 16 | (a) << 8 | (b))
c 623 dev/usb/ukbd.c #define ADDKEY(c) ibuf[nkeys++] = (c)
c 706 dev/usb/ukbd.c int c;
c 711 dev/usb/ukbd.c c = ukbd_trtab[key & CODEMASK];
c 712 dev/usb/ukbd.c if (c == NN)
c 714 dev/usb/ukbd.c if (c & 0x80)
c 716 dev/usb/ukbd.c cbuf[j] = c & 0x7f;
c 721 dev/usb/ukbd.c if (c & 0x80)
c 723 dev/usb/ukbd.c sc->sc_rep[npress++] = c & 0x7f;
c 726 dev/usb/ukbd.c c & 0x80 ? "0xe0 " : "",
c 834 dev/usb/ukbd.c int c;
c 854 dev/usb/ukbd.c c = sc->sc_pollchars[0];
c 858 dev/usb/ukbd.c *type = c & RELEASE ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
c 859 dev/usb/ukbd.c *data = c & CODEMASK;
c 860 dev/usb/ukbd.c DPRINTFN(0,("ukbd_cngetc: return 0x%02x\n", c));
c 1912 dev/usb/umass.c u_int8_t *c = cbw->CBWCDB;
c 1920 dev/usb/umass.c c[0], c[1], c[2], c[3], c[4], c[5],
c 1921 dev/usb/umass.c c[6], c[7], c[8], c[9],
c 95 dev/usb/uow.c #define uow_ctlcmd(s, c, p) uow_cmd((s), DS2490_CONTROL_CMD, (c), (p))
c 96 dev/usb/uow.c #define uow_commcmd(s, c, p) uow_cmd((s), DS2490_COMM_CMD, (c), (p))
c 97 dev/usb/uow.c #define uow_modecmd(s, c, p) uow_cmd((s), DS2490_MODE_CMD, (c), (p))
c 167 dev/usb/usb_subr.c u_int16_t c;
c 192 dev/usb/usb_subr.c c = UGETW(us.bString[i]);
c 194 dev/usb/usb_subr.c if ((c & 0xff00) == 0)
c 195 dev/usb/usb_subr.c *s++ = c;
c 196 dev/usb/usb_subr.c else if ((c & 0x00ff) == 0 && swap)
c 197 dev/usb/usb_subr.c *s++ = c >> 8;
c 2055 dev/wscons/wsdisplay.c char c = i;
c 2069 dev/wscons/wsdisplay.c (*dc->wsemul->output)(dc->wsemulcookie, &c, 1, 1);
c 56 dev/wscons/wsdisplayvar.h void (*cursor)(void *c, int on, int row, int col);
c 58 dev/wscons/wsdisplayvar.h void (*putchar)(void *c, int row, int col, u_int uc, long attr);
c 59 dev/wscons/wsdisplayvar.h void (*copycols)(void *c, int row, int srccol, int dstcol,
c 61 dev/wscons/wsdisplayvar.h void (*erasecols)(void *c, int row, int startcol, int ncols, long);
c 62 dev/wscons/wsdisplayvar.h void (*copyrows)(void *c, int srcrow, int dstrow, int nrows);
c 63 dev/wscons/wsdisplayvar.h void (*eraserows)(void *c, int row, int nrows, long attr);
c 64 dev/wscons/wsdisplayvar.h int (*alloc_attr)(void *c, int fg, int bg, int flags, long *attrp);
c 65 dev/wscons/wsdisplayvar.h void (*unpack_attr)(void *c, long attr, int *fg, int *bg, int *ul);
c 143 dev/wscons/wsemul_dumb.c u_char c;
c 148 dev/wscons/wsemul_dumb.c c = *data++;
c 150 dev/wscons/wsemul_dumb.c if (c == ASCII_BEL)
c 154 dev/wscons/wsemul_dumb.c 0, c, 0);
c 162 dev/wscons/wsemul_dumb.c c = *data++;
c 164 dev/wscons/wsemul_dumb.c switch (c) {
c 200 dev/wscons/wsemul_dumb.c edp->ccol, c, edp->defattr);
c 119 dev/wscons/wsemul_sun.c #define ARG(n,c) \
c 120 dev/wscons/wsemul_sun.c ((n) >= edp->nargs ? 0 : edp->args[(n) + MAX(0, edp->nargs - (c))])
c 236 dev/wscons/wsemul_sun.c wsemul_sun_output_lowchars(edp, c, kernel)
c 238 dev/wscons/wsemul_sun.c u_char c;
c 243 dev/wscons/wsemul_sun.c switch (c) {
c 304 dev/wscons/wsemul_sun.c wsemul_sun_output_normal(edp, c, kernel)
c 306 dev/wscons/wsemul_sun.c u_char c;
c 311 dev/wscons/wsemul_sun.c c, kernel ? edp->kernattr : edp->curattr);
c 324 dev/wscons/wsemul_sun.c wsemul_sun_output_haveesc(edp, c)
c 326 dev/wscons/wsemul_sun.c u_char c;
c 330 dev/wscons/wsemul_sun.c switch (c) {
c 339 dev/wscons/wsemul_sun.c printf("ESC%c unknown\n", c);
c 349 dev/wscons/wsemul_sun.c wsemul_sun_control(edp, c)
c 351 dev/wscons/wsemul_sun.c u_char c;
c 357 dev/wscons/wsemul_sun.c switch (c) {
c 526 dev/wscons/wsemul_sun.c wsemul_sun_output_control(edp, c)
c 528 dev/wscons/wsemul_sun.c u_char c;
c 532 dev/wscons/wsemul_sun.c switch (c) {
c 545 dev/wscons/wsemul_sun.c (c - '0');
c 556 dev/wscons/wsemul_sun.c wsemul_sun_control(edp, c);
c 777 dev/wscons/wsemul_sun.c static char c;
c 780 dev/wscons/wsemul_sun.c c = in & 0xff; /* turn into ASCII */
c 781 dev/wscons/wsemul_sun.c *out = &c;
c 332 dev/wscons/wsemul_vt100.c wsemul_vt100_output_normal(edp, c, kernel)
c 334 dev/wscons/wsemul_vt100.c u_char c;
c 346 dev/wscons/wsemul_vt100.c if (c & 0x80) {
c 347 dev/wscons/wsemul_vt100.c c &= 0x7f;
c 356 dev/wscons/wsemul_vt100.c dc = (ct ? ct[c] : c);
c 372 dev/wscons/wsemul_vt100.c wsemul_vt100_output_c0c1(edp, c, kernel)
c 374 dev/wscons/wsemul_vt100.c u_char c;
c 379 dev/wscons/wsemul_vt100.c switch (c) {
c 458 dev/wscons/wsemul_vt100.c wsemul_vt100_output_esc(edp, c)
c 460 dev/wscons/wsemul_vt100.c u_char c;
c 465 dev/wscons/wsemul_vt100.c switch (c) {
c 557 dev/wscons/wsemul_vt100.c edp->designating = c - '(';
c 561 dev/wscons/wsemul_vt100.c edp->designating = c - '-' + 1;
c 580 dev/wscons/wsemul_vt100.c printf("ESC%c unknown\n", c);
c 589 dev/wscons/wsemul_vt100.c wsemul_vt100_output_scs94(edp, c)
c 591 dev/wscons/wsemul_vt100.c u_char c;
c 595 dev/wscons/wsemul_vt100.c switch (c) {
c 617 dev/wscons/wsemul_vt100.c printf("ESC%c%c unknown\n", edp->designating + '(', c);
c 625 dev/wscons/wsemul_vt100.c wsemul_vt100_output_scs94_percent(edp, c)
c 627 dev/wscons/wsemul_vt100.c u_char c;
c 629 dev/wscons/wsemul_vt100.c switch (c) {
c 636 dev/wscons/wsemul_vt100.c printf("ESC%c%%%c unknown\n", edp->designating + '(', c);
c 644 dev/wscons/wsemul_vt100.c wsemul_vt100_output_scs96(edp, c)
c 646 dev/wscons/wsemul_vt100.c u_char c;
c 651 dev/wscons/wsemul_vt100.c switch (c) {
c 693 dev/wscons/wsemul_vt100.c printf("ESC%c%c unknown\n", edp->designating + '-' - 1, c);
c 701 dev/wscons/wsemul_vt100.c wsemul_vt100_output_scs96_percent(edp, c)
c 703 dev/wscons/wsemul_vt100.c u_char c;
c 705 dev/wscons/wsemul_vt100.c switch (c) {
c 712 dev/wscons/wsemul_vt100.c printf("ESC%c%%%c unknown\n", edp->designating + '-' - 1, c);
c 720 dev/wscons/wsemul_vt100.c wsemul_vt100_output_esc_spc(edp, c)
c 722 dev/wscons/wsemul_vt100.c u_char c;
c 724 dev/wscons/wsemul_vt100.c switch (c) {
c 728 dev/wscons/wsemul_vt100.c printf("ESC<SPC>%c ignored\n", c);
c 733 dev/wscons/wsemul_vt100.c printf("ESC<SPC>%c unknown\n", c);
c 741 dev/wscons/wsemul_vt100.c wsemul_vt100_output_string(edp, c)
c 743 dev/wscons/wsemul_vt100.c u_char c;
c 746 dev/wscons/wsemul_vt100.c edp->dcsarg[edp->dcspos++] = c;
c 751 dev/wscons/wsemul_vt100.c wsemul_vt100_output_string_esc(edp, c)
c 753 dev/wscons/wsemul_vt100.c u_char c;
c 755 dev/wscons/wsemul_vt100.c if (c == '\\') { /* ST complete */
c 763 dev/wscons/wsemul_vt100.c wsemul_vt100_output_dcs(edp, c)
c 765 dev/wscons/wsemul_vt100.c u_char c;
c 769 dev/wscons/wsemul_vt100.c switch (c) {
c 776 dev/wscons/wsemul_vt100.c (c - '0');
c 790 dev/wscons/wsemul_vt100.c switch (c) {
c 799 dev/wscons/wsemul_vt100.c printf("DCS%c ignored\n", c);
c 804 dev/wscons/wsemul_vt100.c printf("DCS%c (%d, %d) unknown\n", c, ARG(0), ARG(1));
c 814 dev/wscons/wsemul_vt100.c wsemul_vt100_output_dcs_dollar(edp, c)
c 816 dev/wscons/wsemul_vt100.c u_char c;
c 818 dev/wscons/wsemul_vt100.c switch (c) {
c 822 dev/wscons/wsemul_vt100.c printf("DCS$%c ignored\n", c);
c 847 dev/wscons/wsemul_vt100.c printf("DCS$%c (%d, %d) unknown\n", c, ARG(0), ARG(1));
c 855 dev/wscons/wsemul_vt100.c wsemul_vt100_output_esc_hash(edp, c)
c 857 dev/wscons/wsemul_vt100.c u_char c;
c 861 dev/wscons/wsemul_vt100.c switch (c) {
c 906 dev/wscons/wsemul_vt100.c printf("ESC#%c unknown\n", c);
c 914 dev/wscons/wsemul_vt100.c wsemul_vt100_output_csi(edp, c)
c 916 dev/wscons/wsemul_vt100.c u_char c;
c 920 dev/wscons/wsemul_vt100.c switch (c) {
c 927 dev/wscons/wsemul_vt100.c (c - '0');
c 934 dev/wscons/wsemul_vt100.c edp->modif1 = c;
c 940 dev/wscons/wsemul_vt100.c edp->modif2 = c;
c 950 dev/wscons/wsemul_vt100.c wsemul_vt100_handle_csi(edp, c);
c 106 dev/wscons/wsemul_vt100_chars.c u_int16_t c[12];
c 162 dev/wscons/wsemul_vt100_chars.c (*edp->emulops->mapchar)(edp->emulcookie, nrctable[nrc].c[i],
c 88 dev/wscons/wsemul_vt100_keys.c static char c;
c 135 dev/wscons/wsemul_vt100_keys.c c = in & 0xff; /* turn into ASCII */
c 136 dev/wscons/wsemul_vt100_keys.c *out = &c;
c 191 dev/wscons/wsemul_vt100_subr.c wsemul_vt100_handle_csi(edp, c)
c 193 dev/wscons/wsemul_vt100_subr.c u_char c;
c 198 dev/wscons/wsemul_vt100_subr.c #define A3(a, b, c) (((a) << 16) | ((b) << 8) | (c))
c 199 dev/wscons/wsemul_vt100_subr.c switch (A3(edp->modif1, edp->modif2, c)) {
c 440 dev/wscons/wsemul_vt100_subr.c if (c == 'L')
c 625 dev/wscons/wsemul_vt100_subr.c printf("CSI%c (%d, %d) unknown\n", c, ARG(0), ARG(1));
c 729 dev/wscons/wsemul_vt100_subr.c char c = edp->dcsarg[i];
c 730 dev/wscons/wsemul_vt100_subr.c switch (c) {
c 743 dev/wscons/wsemul_vt100_subr.c printf("unknown char %c in DCS\n", c);
c 51 dev/wscons/wsmoused.h void inverse_char(unsigned short c);
c 121 dev/wscons/wsmoused.h #define IS_ALPHANUM(c) ((c) != ' ')
c 122 dev/wscons/wsmoused.h #define IS_SPACE(c) ((c) == ' ')
c 835 dev/wsfont/wsfont.c wsfont_map_unichar(font, c)
c 837 dev/wsfont/wsfont.c int c;
c 840 dev/wsfont/wsfont.c return c;
c 846 dev/wsfont/wsfont.c int hi = (c >> 8), lo = c & 255;
c 861 dev/wsfont/wsfont.c c = (((u_int8_t *)map2->chars)[lo]);
c 864 dev/wsfont/wsfont.c c = (((u_int16_t *)map2->chars)[lo]);
c 867 dev/wsfont/wsfont.c c = (((u_int32_t *)map2->chars)[lo]);
c 871 dev/wsfont/wsfont.c if (c == 0 && lo != 0)
c 874 dev/wsfont/wsfont.c return (c);
c 530 isofs/cd9660/cd9660_rrip.c u_char c;
c 540 isofs/cd9660/cd9660_rrip.c isochar(isodir->name, pwhead, ana->imp->joliet_level, &c);
c 543 isofs/cd9660/cd9660_rrip.c if (c != 0 || isonum_733(isodir->extent) != ana->imp->root_extent)
c 683 isofs/cd9660/cd9660_rrip.c u_char c;
c 695 isofs/cd9660/cd9660_rrip.c imp->joliet_level, &c);
c 697 isofs/cd9660/cd9660_rrip.c if (c == 0 || c == 1) {
c 73 isofs/cd9660/cd9660_util.c isochar(isofn, isoend, joliet_level, c)
c 77 isofs/cd9660/cd9660_util.c u_char *c;
c 79 isofs/cd9660/cd9660_util.c *c = *isofn++;
c 85 isofs/cd9660/cd9660_util.c switch (*c) {
c 87 isofs/cd9660/cd9660_util.c *c = '?';
c 90 isofs/cd9660/cd9660_util.c *c = *isofn;
c 96 isofs/cd9660/cd9660_util.c *c = cd9660_wchar2char((*(isofn - 1) << 8) | *isofn);
c 112 isofs/cd9660/cd9660_util.c u_char c;
c 118 isofs/cd9660/cd9660_util.c isofn += isochar(isofn, isoend, joliet_level, &c);
c 119 isofs/cd9660/cd9660_util.c if (c == ';') {
c 127 isofs/cd9660/cd9660_util.c for (j = 0; isofn != isoend; j = j * 10 + c - '0')
c 129 isofs/cd9660/cd9660_util.c joliet_level, &c);
c 132 isofs/cd9660/cd9660_util.c if (((u_char) c) != *fn) {
c 133 isofs/cd9660/cd9660_util.c if (c >= 'A' && c <= 'Z') {
c 134 isofs/cd9660/cd9660_util.c if (c + ('a' - 'A') != *fn) {
c 136 isofs/cd9660/cd9660_util.c return *fn - ('a' - 'A') - c;
c 138 isofs/cd9660/cd9660_util.c return *fn - c;
c 141 isofs/cd9660/cd9660_util.c return *fn - c;
c 145 isofs/cd9660/cd9660_util.c isofn += isochar(isofn, isoend, joliet_level, &c);
c 146 isofs/cd9660/cd9660_util.c switch (c) {
c 148 isofs/cd9660/cd9660_util.c return -c;
c 151 isofs/cd9660/cd9660_util.c isochar(isofn, isoend, joliet_level, &c);
c 152 isofs/cd9660/cd9660_util.c if (c == ';')
c 176 isofs/cd9660/cd9660_util.c u_char c, d = '\0', *infnend = infn + infnlen;
c 183 isofs/cd9660/cd9660_util.c infn += isochar(infn, infnend, joliet_level, &c);
c 185 isofs/cd9660/cd9660_util.c if (!original && c == ';') {
c 189 isofs/cd9660/cd9660_util.c *outfn++ = c;
c 190 isofs/cd9660/cd9660_util.c d = c;
c 111 kern/kern_subr.c ureadc(int c, struct uio *uio)
c 138 kern/kern_subr.c char tmp = c;
c 146 kern/kern_subr.c *(char *)iov->iov_base = c;
c 826 kern/kern_sysctl.c char c;
c 838 kern/kern_sysctl.c c = str[*oldlenp-1];
c 841 kern/kern_sysctl.c str[*oldlenp-1] = c;
c 87 kern/kgdb_stub.c #define PUTC(c) ((*kgdb_putc)(kgdb_ioarg, c))
c 120 kern/kgdb_stub.c digit2i(u_char c)
c 122 kern/kgdb_stub.c if (c >= '0' && c <= '9')
c 123 kern/kgdb_stub.c return (c - '0');
c 124 kern/kgdb_stub.c else if (c >= 'a' && c <= 'f')
c 125 kern/kgdb_stub.c return (c - 'a' + 10);
c 126 kern/kgdb_stub.c else if (c >= 'A' && c <= 'F')
c 128 kern/kgdb_stub.c return (c - 'A' + 10);
c 211 kern/kgdb_stub.c u_char csum, c;
c 219 kern/kgdb_stub.c for (csum = 0; (c = *p); p++) {
c 220 kern/kgdb_stub.c PUTC(c);
c 221 kern/kgdb_stub.c csum += c;
c 226 kern/kgdb_stub.c } while ((c = GETC() & 0x7f) == KGDB_BADP);
c 236 kern/kgdb_stub.c int c, csum;
c 242 kern/kgdb_stub.c while ((c = GETC()) != KGDB_START)
c 245 kern/kgdb_stub.c while ((c = GETC()) != KGDB_END && len < maxlen) {
c 246 kern/kgdb_stub.c c &= 0x7f;
c 247 kern/kgdb_stub.c csum += c;
c 248 kern/kgdb_stub.c *p++ = c;
c 998 kern/subr_disk.c char c;
c 1003 kern/subr_disk.c c = str[len-1];
c 1004 kern/subr_disk.c if (c >= 'a' && (c - 'a') < MAXPARTITIONS) {
c 1005 kern/subr_disk.c part = c - 'a';
c 71 kern/subr_extent.c #define pool_init(a, b, c, d, e, f, g) (a)->pr_size = (b)
c 111 kern/subr_log.c msgbuf_putchar(const char c)
c 119 kern/subr_log.c mbp->msg_bufc[mbp->msg_bufx++] = c;
c 1356 kern/subr_pool.c char c;
c 1358 kern/subr_pool.c while ((c = *modif++) != '\0') {
c 1359 kern/subr_pool.c if (c == 'l')
c 1361 kern/subr_pool.c if (c == 'p')
c 1363 kern/subr_pool.c if (c == 'c')
c 332 kern/subr_prf.c kputchar(int c, int flags, struct tty *tp)
c 342 kern/subr_prf.c if ((flags & TOTTY) && tp && tputchar(c, tp) < 0 &&
c 346 kern/subr_prf.c c != '\0' && c != '\r' && c != 0177 && msgbufmapped)
c 347 kern/subr_prf.c msgbuf_putchar(c);
c 348 kern/subr_prf.c if ((flags & TOCONS) && constty == NULL && c != '\0')
c 349 kern/subr_prf.c (*v_putc)(c);
c 352 kern/subr_prf.c db_putchar(c);
c 622 kern/subr_prf.c #define to_digit(c) ((c) - '0')
c 623 kern/subr_prf.c #define is_digit(c) ((unsigned)to_digit(c) <= 9)
c 1132 kern/subr_prf.c int putchar(int c);
c 1143 kern/subr_prf.c putchar(int c)
c 1145 kern/subr_prf.c printf("%c", c);
c 1147 kern/subr_prf.c return (c);
c 149 kern/subr_userconf.c char c = '\0';
c 154 kern/subr_userconf.c c = cngetc();
c 159 kern/subr_userconf.c if (c == 'q' || c == 'Q')
c 251 kern/subr_userconf.c char c;
c 276 kern/subr_userconf.c c = ' ';
c 281 kern/subr_userconf.c printf("%c", c);
c 283 kern/subr_userconf.c c = '|';
c 309 kern/subr_userconf.c userconf_number(char *c, int *val)
c 315 kern/subr_userconf.c if (*c == '-') {
c 317 kern/subr_userconf.c c++;
c 319 kern/subr_userconf.c if (*c == '0') {
c 321 kern/subr_userconf.c c++;
c 322 kern/subr_userconf.c if (*c == 'x' || *c == 'X') {
c 324 kern/subr_userconf.c c++;
c 327 kern/subr_userconf.c while (*c != '\n' && *c != '\t' && *c != ' ' && *c != '\0') {
c 328 kern/subr_userconf.c u_char cc = *c;
c 342 kern/subr_userconf.c c++;
c 356 kern/subr_userconf.c char *c;
c 358 kern/subr_userconf.c c = cmd;
c 359 kern/subr_userconf.c while (*c >= 'a' && *c <= 'z') {
c 361 kern/subr_userconf.c c++;
c 363 kern/subr_userconf.c if (*c == '*') {
c 365 kern/subr_userconf.c c++;
c 367 kern/subr_userconf.c while (*c >= '0' && *c <= '9') {
c 369 kern/subr_userconf.c u = u*10 + *c - '0';
c 370 kern/subr_userconf.c c++;
c 373 kern/subr_userconf.c while (*c == ' ' || *c == '\t' || *c == '\n')
c 374 kern/subr_userconf.c c++;
c 376 kern/subr_userconf.c if (*c == '\0') {
c 389 kern/subr_userconf.c char *c;
c 392 kern/subr_userconf.c c = cmd;
c 393 kern/subr_userconf.c while (*c != ' ' && *c != '\t' && *c != '\n' && *c != '\0') {
c 394 kern/subr_userconf.c c++;
c 420 kern/subr_userconf.c char *c;
c 430 kern/subr_userconf.c c = userconf_argbuf;
c 431 kern/subr_userconf.c while (*c == ' ' || *c == '\t' || *c == '\n') c++;
c 433 kern/subr_userconf.c if (*c != '\0') {
c 434 kern/subr_userconf.c if (userconf_number(c, &a) == 0) {
c 450 kern/subr_userconf.c char c = '\0';
c 457 kern/subr_userconf.c while (c != 'y' && c != 'Y' && c != 'n' && c != 'N') {
c 459 kern/subr_userconf.c c = cngetc();
c 463 kern/subr_userconf.c if (c == 'y' || c == 'Y') {
c 529 kern/subr_userconf.c while (c != 'y' && c != 'Y' && c != 'n' && c != 'N') {
c 531 kern/subr_userconf.c c = cngetc();
c 535 kern/subr_userconf.c if (c == 'y' || c == 'Y') {
c 816 kern/subr_userconf.c char *c;
c 820 kern/subr_userconf.c c = cmd;
c 821 kern/subr_userconf.c while (*c != ' ' && *c != '\t' && *c != '\n' && *c != '\0') {
c 822 kern/subr_userconf.c c++;
c 825 kern/subr_userconf.c while (*c == ' ' || *c == '\t' || *c == '\n') {
c 826 kern/subr_userconf.c c++;
c 842 kern/subr_userconf.c if (*c == '\0') {
c 845 kern/subr_userconf.c if (userconf_number(c, &a) == 0) {
c 945 kern/subr_userconf.c char *c;
c 949 kern/subr_userconf.c c = cmd;
c 950 kern/subr_userconf.c while (*c != ' ' && *c != '\t' && *c != '\n' && *c != '\0') {
c 951 kern/subr_userconf.c c++;
c 954 kern/subr_userconf.c while (*c == ' ' || *c == '\t' || *c == '\n')
c 955 kern/subr_userconf.c c++;
c 957 kern/subr_userconf.c if (*c == '\0') {
c 962 kern/subr_userconf.c if (userconf_number(c, &a) == 0) {
c 974 kern/subr_userconf.c char *c;
c 984 kern/subr_userconf.c c = userconf_argbuf;
c 985 kern/subr_userconf.c while (*c == ' ' || *c == '\t' || *c == '\n')
c 986 kern/subr_userconf.c c++;
c 988 kern/subr_userconf.c if (*c != '\0') {
c 989 kern/subr_userconf.c if (userconf_number(c, &a) == 0) {
c 1001 kern/subr_userconf.c } else if (*c == '?') {
c 1004 kern/subr_userconf.c } else if (*c == 'q' || *c == 'Q') {
c 1161 kern/subr_userconf.c char *c, *v;
c 1165 kern/subr_userconf.c c = cmd;
c 1166 kern/subr_userconf.c while (*c == ' ' || *c == '\t')
c 1167 kern/subr_userconf.c c++;
c 1168 kern/subr_userconf.c v = c;
c 1169 kern/subr_userconf.c while (*c != ' ' && *c != '\t' && *c != '\n' && *c != '\0') {
c 1170 kern/subr_userconf.c c++;
c 1183 kern/subr_userconf.c while (*c == ' ' || *c == '\t' || *c == '\n')
c 1184 kern/subr_userconf.c c++;
c 1192 kern/subr_userconf.c if (*c == '\0')
c 1194 kern/subr_userconf.c else if (userconf_number(c, &a) == 0)
c 1200 kern/subr_userconf.c if (*c == '\0')
c 1202 kern/subr_userconf.c else if (userconf_device(c, &a, &unit, &state) == 0)
c 1203 kern/subr_userconf.c userconf_add(c, a, unit, state);
c 1208 kern/subr_userconf.c if (*c == '\0')
c 1210 kern/subr_userconf.c else if (userconf_number(c, &a) == 0) {
c 1220 kern/subr_userconf.c if (*c == '\0')
c 1222 kern/subr_userconf.c else if (userconf_number(c, &a) == 0)
c 1224 kern/subr_userconf.c else if (userconf_device(c, &a, &unit, &state) == 0)
c 1225 kern/subr_userconf.c userconf_common_dev(c, a, unit, state, UC_CHANGE);
c 1235 kern/subr_userconf.c if (*c == '\0')
c 1237 kern/subr_userconf.c else if (userconf_attr(c, &a) == 0)
c 1238 kern/subr_userconf.c userconf_common_attr(c, a, UC_DISABLE);
c 1239 kern/subr_userconf.c else if (userconf_number(c, &a) == 0)
c 1241 kern/subr_userconf.c else if (userconf_device(c, &a, &unit, &state) == 0)
c 1242 kern/subr_userconf.c userconf_common_dev(c, a, unit, state, UC_DISABLE);
c 1247 kern/subr_userconf.c if (*c == '\0')
c 1249 kern/subr_userconf.c else if (userconf_attr(c, &a) == 0)
c 1250 kern/subr_userconf.c userconf_common_attr(c, a, UC_ENABLE);
c 1251 kern/subr_userconf.c else if (userconf_number(c, &a) == 0)
c 1253 kern/subr_userconf.c else if (userconf_device(c, &a, &unit, &state) == 0)
c 1254 kern/subr_userconf.c userconf_common_dev(c, a, unit, state, UC_ENABLE);
c 1259 kern/subr_userconf.c if (*c == '\0')
c 1261 kern/subr_userconf.c else if (userconf_number(c, &a) == 0)
c 1263 kern/subr_userconf.c else if (userconf_device(c, &a, &unit, &state) == 0)
c 1264 kern/subr_userconf.c userconf_common_dev(c, a, unit, state, UC_FIND);
c 1272 kern/subr_userconf.c if (*c == '\0')
c 1284 kern/subr_userconf.c if (*c == '\0')
c 1287 kern/subr_userconf.c userconf_show_attr(c);
c 1290 kern/subr_userconf.c if (*c == '\0' || userconf_number(c, &a) == 0) {
c 1291 kern/subr_userconf.c if (*c != '\0') {
c 1293 kern/subr_userconf.c while (*c != '\n' && *c != '\t' &&
c 1294 kern/subr_userconf.c *c != ' ' && *c != '\0')
c 1295 kern/subr_userconf.c c++;
c 1296 kern/subr_userconf.c while (*c == '\t' || *c == ' ')
c 1297 kern/subr_userconf.c c++;
c 1298 kern/subr_userconf.c if (*c != '\0' &&
c 1299 kern/subr_userconf.c userconf_number(c, &a) == 0)
c 96 kern/tty.c #define PARITY(c) (char_type[c] & O)
c 99 kern/tty.c #define ISALPHA(c) (char_type[(c) & TTY_CHARMASK] & ALPHA)
c 102 kern/tty.c #define CCLASS(c) (char_type[c] & CCLASSMASK)
c 160 kern/tty.c #define islower(c) ((c) >= 'a' && (c) <= 'z')
c 161 kern/tty.c #define isupper(c) ((c) >= 'A' && (c) <= 'Z')
c 163 kern/tty.c #define tolower(c) ((c) - 'A' + 'a')
c 164 kern/tty.c #define toupper(c) ((c) - 'a' + 'A')
c 223 kern/tty.c #define TTBREAKC(c, lflag) \
c 224 kern/tty.c ((c) == '\n' || (((c) == cc[VEOF] || (c) == cc[VEOL] || \
c 225 kern/tty.c ((c) == cc[VEOL2] && (lflag & IEXTEN))) && (c) != _POSIX_VDISABLE))
c 232 kern/tty.c ttyinput(int c, struct tty *tp)
c 239 kern/tty.c add_tty_randomness(tp->t_dev << 8 | c);
c 269 kern/tty.c if ((error = (ISSET(c, TTY_ERRORMASK))) != 0) {
c 270 kern/tty.c CLR(c, TTY_ERRORMASK);
c 271 kern/tty.c if (ISSET(error, TTY_FE) && !c) { /* Break. */
c 287 kern/tty.c if (ISSET(iflag, ISTRIP) || c != 0377)
c 289 kern/tty.c (void)putc(c | TTY_QUOTE, &tp->t_rawq);
c 292 kern/tty.c c = 0;
c 295 kern/tty.c if (c == 0377 && !ISSET(iflag, ISTRIP) && ISSET(iflag, PARMRK))
c 304 kern/tty.c CLR(c, 0x80);
c 310 kern/tty.c SET(c, TTY_QUOTE);
c 326 kern/tty.c if (CCEQ(cc[VLNEXT], c)) {
c 332 kern/tty.c ttyecho(c, tp);
c 337 kern/tty.c if (CCEQ(cc[VDISCARD], c)) {
c 342 kern/tty.c ttyecho(c, tp);
c 354 kern/tty.c if (CCEQ(cc[VINTR], c) || CCEQ(cc[VQUIT], c)) {
c 357 kern/tty.c ttyecho(c, tp);
c 359 kern/tty.c CCEQ(cc[VINTR], c) ? SIGINT : SIGQUIT, 1);
c 362 kern/tty.c if (CCEQ(cc[VSUSP], c)) {
c 365 kern/tty.c ttyecho(c, tp);
c 374 kern/tty.c if (CCEQ(cc[VSTOP], c)) {
c 381 kern/tty.c if (!CCEQ(cc[VSTART], c))
c 388 kern/tty.c if (CCEQ(cc[VSTART], c))
c 394 kern/tty.c if (c == '\r') {
c 398 kern/tty.c c = '\n';
c 399 kern/tty.c } else if (c == '\n' && ISSET(iflag, INLCR))
c 400 kern/tty.c c = '\r';
c 413 kern/tty.c switch (c) {
c 415 kern/tty.c c = '`';
c 418 kern/tty.c c = '|';
c 421 kern/tty.c c = '~';
c 424 kern/tty.c c = '{';
c 427 kern/tty.c c = '}';
c 431 kern/tty.c else if (c == '\\') {
c 435 kern/tty.c else if (isupper(c))
c 436 kern/tty.c c = tolower(c);
c 438 kern/tty.c else if (ISSET(iflag, IUCLC) && isupper(c))
c 439 kern/tty.c c = tolower(c);
c 443 kern/tty.c if (CCEQ(cc[VERASE], c)) {
c 451 kern/tty.c if (CCEQ(cc[VKILL], c)) {
c 458 kern/tty.c ttyecho(c, tp);
c 471 kern/tty.c if (CCEQ(cc[VWERASE], c) && ISSET(lflag, IEXTEN)) {
c 478 kern/tty.c while ((c = unputc(&tp->t_rawq)) == ' ' || c == '\t')
c 479 kern/tty.c ttyrub(c, tp);
c 480 kern/tty.c if (c == -1)
c 486 kern/tty.c ttyrub(c, tp);
c 487 kern/tty.c c = unputc(&tp->t_rawq);
c 488 kern/tty.c if (c == -1)
c 490 kern/tty.c if (c == ' ' || c == '\t') {
c 491 kern/tty.c (void)putc(c, &tp->t_rawq);
c 494 kern/tty.c ctype = ISALPHA(c);
c 499 kern/tty.c ttyrub(c, tp);
c 500 kern/tty.c c = unputc(&tp->t_rawq);
c 501 kern/tty.c if (c == -1)
c 503 kern/tty.c } while (c != ' ' && c != '\t' &&
c 504 kern/tty.c (alt == 0 || ISALPHA(c) == ctype));
c 505 kern/tty.c (void)putc(c, &tp->t_rawq);
c 511 kern/tty.c if (CCEQ(cc[VREPRINT], c) && ISSET(lflag, IEXTEN)) {
c 518 kern/tty.c if (CCEQ(cc[VSTATUS], c) && ISSET(lflag, IEXTEN)) {
c 541 kern/tty.c if (putc(c, &tp->t_rawq) >= 0) {
c 544 kern/tty.c ttyecho(c, tp);
c 547 kern/tty.c if (TTBREAKC(c, lflag)) {
c 561 kern/tty.c ttyecho(c, tp);
c 562 kern/tty.c if (CCEQ(cc[VEOF], c) && ISSET(lflag, ECHO)) {
c 594 kern/tty.c ttyoutput(int c, struct tty *tp)
c 603 kern/tty.c if (!ISSET(tp->t_lflag, FLUSHO) && putc(c, &tp->t_outq))
c 604 kern/tty.c return (c);
c 613 kern/tty.c CLR(c, ~TTY_CHARMASK);
c 614 kern/tty.c if (c == '\t' &&
c 616 kern/tty.c c = 8 - (tp->t_column & 7);
c 621 kern/tty.c notout = b_to_q(" ", c, &tp->t_outq);
c 622 kern/tty.c c -= notout;
c 623 kern/tty.c tk_nout += c;
c 624 kern/tty.c tp->t_outcc += c;
c 627 kern/tty.c tp->t_column += c;
c 630 kern/tty.c if (c == CEOT && ISSET(oflag, ONOEOT))
c 638 kern/tty.c if (c == '\n' && ISSET(tp->t_oflag, ONLCR)) {
c 642 kern/tty.c return (c);
c 645 kern/tty.c else if (c == '\r' && ISSET(tp->t_oflag, OCRNL))
c 646 kern/tty.c c = '\n';
c 648 kern/tty.c if (ISSET(tp->t_oflag, OLCUC) && islower(c))
c 649 kern/tty.c c = toupper(c);
c 651 kern/tty.c c2 = c;
c 652 kern/tty.c switch (c) {
c 669 kern/tty.c if (c == '\\' || isupper(c) || c != c2) {
c 673 kern/tty.c return (c);
c 674 kern/tty.c c = c2;
c 677 kern/tty.c if (ISSET(tp->t_oflag, ONOCR) && c == '\r' && tp->t_column == 0)
c 682 kern/tty.c if (!ISSET(tp->t_lflag, FLUSHO) && putc(c, &tp->t_outq))
c 683 kern/tty.c return (c);
c 686 kern/tty.c switch (CCLASS(c)) {
c 1400 kern/tty.c int c;
c 1409 kern/tty.c while ((c = getc(&tq)) >= 0)
c 1410 kern/tty.c ttyinput(c, tp);
c 1437 kern/tty.c int c;
c 1556 kern/tty.c while ((c = getc(qp)) >= 0) {
c 1560 kern/tty.c if (CCEQ(cc[VDSUSP], c) &&
c 1575 kern/tty.c if (CCEQ(cc[VEOF], c) && ISSET(lflag, ICANON))
c 1580 kern/tty.c error = ureadc(c, uio);
c 1589 kern/tty.c if (ISSET(lflag, ICANON) && TTBREAKC(c, lflag))
c 1846 kern/tty.c ttyrub(int c, struct tty *tp)
c 1863 kern/tty.c if (c == ('\t' | TTY_QUOTE) || c == ('\n' | TTY_QUOTE))
c 1866 kern/tty.c CLR(c, ~TTY_CHARMASK);
c 1867 kern/tty.c switch (CCLASS(c)) {
c 1906 kern/tty.c (void)printf(PANICSTR, c, CCLASS(c));
c 1908 kern/tty.c panic(PANICSTR, c, CCLASS(c));
c 1917 kern/tty.c ttyecho(c, tp);
c 1946 kern/tty.c int s, c;
c 1955 kern/tty.c for (cp = firstc(&tp->t_canq, &c); cp; cp = nextc(&tp->t_canq, cp, &c))
c 1956 kern/tty.c ttyecho(c, tp);
c 1957 kern/tty.c for (cp = firstc(&tp->t_rawq, &c); cp; cp = nextc(&tp->t_rawq, cp, &c))
c 1958 kern/tty.c ttyecho(c, tp);
c 1970 kern/tty.c ttyecho(int c, struct tty *tp)
c 1976 kern/tty.c (!ISSET(tp->t_lflag, ECHONL) || c != '\n')) ||
c 1980 kern/tty.c (ISSET(c, TTY_CHARMASK) <= 037 && c != '\t' && c != '\n')) ||
c 1981 kern/tty.c ISSET(c, TTY_CHARMASK) == 0177)) {
c 1983 kern/tty.c CLR(c, ~TTY_CHARMASK);
c 1984 kern/tty.c if (c == 0177)
c 1985 kern/tty.c c = '?';
c 1987 kern/tty.c c += 'A' - 1;
c 1989 kern/tty.c (void)ttyoutput(c, tp);
c 2182 kern/tty.c tputchar(int c, struct tty *tp)
c 2192 kern/tty.c if (c == '\n')
c 2194 kern/tty.c (void)ttyoutput(c, tp);
c 50 kern/tty_conf.c #define ttyerrinput ((int (*)(int c, struct tty *))enodev)
c 61 kern/tty_conf.c int slinput(int c, struct tty *tp);
c 71 kern/tty_conf.c int pppinput(int c, struct tty *tp);
c 83 kern/tty_conf.c int stripinput(int c, struct tty *tp);
c 125 kern/tty_nmea.c nmeainput(int c, struct tty *tp)
c 132 kern/tty_nmea.c switch (c) {
c 189 kern/tty_nmea.c np->cbuf[np->pos++] = c;
c 193 kern/tty_nmea.c return linesw[TTYDISC].l_rint(c, tp);
c 104 kern/tty_subr.c int c = -1;
c 111 kern/tty_subr.c c = *clp->c_cf & 0xff;
c 114 kern/tty_subr.c c |= TTY_QUOTE;
c 122 kern/tty_subr.c return c;
c 239 kern/tty_subr.c putc(int c, struct clist *clp)
c 262 kern/tty_subr.c *clp->c_cl = c & 0xff;
c 265 kern/tty_subr.c if (c & TTY_QUOTE)
c 378 kern/tty_subr.c nextc(struct clist *clp, u_char *cp, int *c)
c 393 kern/tty_subr.c *c = *cp & 0xff;
c 396 kern/tty_subr.c *c |= TTY_QUOTE;
c 412 kern/tty_subr.c firstc(struct clist *clp, int *c)
c 420 kern/tty_subr.c *c = *cp & 0xff;
c 423 kern/tty_subr.c *c |= TTY_QUOTE;
c 434 kern/tty_subr.c unsigned int c = -1;
c 447 kern/tty_subr.c c = *clp->c_cl & 0xff;
c 450 kern/tty_subr.c c |= TTY_QUOTE;
c 456 kern/tty_subr.c return c;
c 465 kern/tty_subr.c int c;
c 489 kern/tty_subr.c while ((c = getc(from)) != -1)
c 490 kern/tty_subr.c putc(c, to);
c 373 kern/vfs_lookup.c { char c = *cp;
c 376 kern/vfs_lookup.c *cp = c; }
c 36 lib/libkern/getsn.c int len = 0, c;
c 40 lib/libkern/getsn.c c = cngetc();
c 41 lib/libkern/getsn.c switch (c) {
c 63 lib/libkern/getsn.c c = ' ';
c 65 lib/libkern/getsn.c if (len + 1 >= size || c < ' ') {
c 69 lib/libkern/getsn.c printf("%c", c);
c 71 lib/libkern/getsn.c *lp++ = c;
c 48 lib/libkern/memchr.c memchr(const void *s, int c, size_t n)
c 54 lib/libkern/memchr.c if (*p++ == (unsigned char)c)
c 69 lib/libkern/memset.c #define WIDEVAL c
c 77 lib/libkern/memset.c u_int c;
c 104 lib/libkern/memset.c if ((c = (u_char)c0) != 0) { /* Fill the word. */
c 105 lib/libkern/memset.c c = (c << 8) | c; /* u_int is 16 bits. */
c 107 lib/libkern/memset.c c = (c << 16) | c; /* u_int is 32 bits. */
c 110 lib/libkern/memset.c c = (c << 32) | c; /* u_int is 64 bits. */
c 46 lib/libkern/strchr.c strchr(const char *s, int c)
c 49 lib/libkern/strchr.c if (*s == c)
c 57 lib/libkern/strchr.c strrchr(const char *s, int c)
c 62 lib/libkern/strchr.c if (*s == c)
c 372 lib/libsa/bootparam.c u_char c[4];
c 380 lib/libsa/bootparam.c cp = uia.c;
c 403 lib/libsa/bootparam.c u_char c[4];
c 415 lib/libsa/bootparam.c cp = uia.c;
c 108 lib/libsa/cons.c cnputc(int c)
c 110 lib/libsa/cons.c if (cn_tab != NULL && c) {
c 111 lib/libsa/cons.c (*cn_tab->cn_putc)(cn_tab->cn_dev, c);
c 112 lib/libsa/cons.c if (c == '\n')
c 123 lib/libsa/cread.c int c;
c 127 lib/libsa/cread.c c = get_byte(s);
c 128 lib/libsa/cread.c if (c == EOF)
c 130 lib/libsa/cread.c x += ((unsigned long)c)<<24;
c 140 lib/libsa/cread.c int c;
c 144 lib/libsa/cread.c c = get_byte(s);
c 145 lib/libsa/cread.c if (c != gz_magic[len]) {
c 150 lib/libsa/cread.c if (c != EOF) {
c 180 lib/libsa/cread.c while ((c = get_byte(s)) != 0 && c != EOF)
c 184 lib/libsa/cread.c while ((c = get_byte(s)) != 0 && c != EOF)
c 40 lib/libsa/gets.c int c;
c 44 lib/libsa/gets.c switch (c = getchar() & 0177) {
c 82 lib/libsa/gets.c *lp++ = c;
c 83 lib/libsa/gets.c putchar(c);
c 38 lib/libsa/memset.c memset(void *s1, int c, size_t n)
c 43 lib/libsa/memset.c *p++ = c;
c 329 lib/libsa/net.c char c;
c 340 lib/libsa/net.c while ((c = *cp) != '\0') {
c 341 lib/libsa/net.c if (c >= '0' && c <= '9') {
c 342 lib/libsa/net.c val = (val * 10) + (c - '0');
c 370 lib/libsa/nfs.c int nlinks = 0, error = 0, c;
c 414 lib/libsa/nfs.c while ((c = *cp) != '\0' && c != '/') {
c 426 lib/libsa/nfs.c *cp = c;
c 51 lib/libsa/snprintf.c sputchar(int c)
c 54 lib/libsa/snprintf.c *sbuf = c;
c 117 lib/libsa/stand.h #define isupper(c) ((c) >= 'A' && (c) <= 'Z')
c 118 lib/libsa/stand.h #define islower(c) ((c) >= 'a' && (c) <= 'z')
c 119 lib/libsa/stand.h #define isalpha(c) (isupper(c)||islower(c))
c 120 lib/libsa/stand.h #define tolower(c) (isupper(c)?((c) - 'A' + 'a'):(c))
c 121 lib/libsa/stand.h #define toupper(c) (islower(c)?((c) - 'a' + 'A'):(c))
c 122 lib/libsa/stand.h #define isspace(c) ((c) == ' ' || (c) == '\t')
c 123 lib/libsa/stand.h #define isdigit(c) ((c) >= '0' && (c) <= '9')
c 125 lib/libsa/stand.h #define btochs(b,c,h,s,nh,ns) \
c 126 lib/libsa/stand.h c = (b) / ((nh) * (ns)); \
c 46 lib/libsa/strtol.c int c;
c 56 lib/libsa/strtol.c c = (unsigned char) *s++;
c 57 lib/libsa/strtol.c } while (c <= ' ' || c >= 0x7f);
c 58 lib/libsa/strtol.c if (c == '-') {
c 60 lib/libsa/strtol.c c = *s++;
c 63 lib/libsa/strtol.c if (c == '+')
c 64 lib/libsa/strtol.c c = *s++;
c 67 lib/libsa/strtol.c c == '0' && (*s == 'x' || *s == 'X')) {
c 68 lib/libsa/strtol.c c = s[1];
c 73 lib/libsa/strtol.c base = c == '0' ? 8 : 10;
c 102 lib/libsa/strtol.c for (acc = 0, any = 0;; c = (unsigned char) *s++) {
c 103 lib/libsa/strtol.c if (c >= '0' && c <= '9')
c 104 lib/libsa/strtol.c c -= '0';
c 105 lib/libsa/strtol.c else if (c >= 'A' && c <= 'Z')
c 106 lib/libsa/strtol.c c -= 'A' - 10;
c 107 lib/libsa/strtol.c else if (c >= 'a' && c <= 'z')
c 108 lib/libsa/strtol.c c -= 'a' - 10;
c 111 lib/libsa/strtol.c if (c >= base)
c 116 lib/libsa/strtol.c if (acc < cutoff || (acc == cutoff && c > cutlim)) {
c 122 lib/libsa/strtol.c acc -= c;
c 125 lib/libsa/strtol.c if (acc > cutoff || (acc == cutoff && c > cutlim)) {
c 131 lib/libsa/strtol.c acc += c;
c 46 lib/libsa/strtoll.c int c;
c 56 lib/libsa/strtoll.c c = (unsigned char) *s++;
c 57 lib/libsa/strtoll.c } while (isspace(c));
c 58 lib/libsa/strtoll.c if (c == '-') {
c 60 lib/libsa/strtoll.c c = *s++;
c 63 lib/libsa/strtoll.c if (c == '+')
c 64 lib/libsa/strtoll.c c = *s++;
c 67 lib/libsa/strtoll.c c == '0' && (*s == 'x' || *s == 'X')) {
c 68 lib/libsa/strtoll.c c = s[1];
c 73 lib/libsa/strtoll.c base = c == '0' ? 8 : 10;
c 103 lib/libsa/strtoll.c for (acc = 0, any = 0;; c = (unsigned char) *s++) {
c 104 lib/libsa/strtoll.c if (isdigit(c))
c 105 lib/libsa/strtoll.c c -= '0';
c 106 lib/libsa/strtoll.c else if (isalpha(c))
c 107 lib/libsa/strtoll.c c -= isupper(c) ? 'A' - 10 : 'a' - 10;
c 110 lib/libsa/strtoll.c if (c >= base)
c 115 lib/libsa/strtoll.c if (acc < cutoff || (acc == cutoff && c > cutlim)) {
c 121 lib/libsa/strtoll.c acc -= c;
c 124 lib/libsa/strtoll.c if (acc > cutoff || (acc == cutoff && c > cutlim)) {
c 130 lib/libsa/strtoll.c acc += c;
c 364 lib/libsa/ufs.c int rc, c, nlinks = 0;
c 436 lib/libsa/ufs.c while ((c = *cp) != '\0' && c != '/') {
c 453 lib/libsa/ufs.c *cp = c;
c 129 lib/libsa/unixdev.c unix_putc(dev_t dev, int c)
c 131 lib/libsa/unixdev.c uwrite(1, &c, 1);
c 152 lib/libsa/unixdev.c char c;
c 154 lib/libsa/unixdev.c return uread(0, &c, 1)<1? -1: c;
c 107 lib/libz/crc32.c unsigned long c;
c 127 lib/libz/crc32.c c = (unsigned long)n;
c 129 lib/libz/crc32.c c = c & 1 ? poly ^ (c >> 1) : c >> 1;
c 130 lib/libz/crc32.c crc_table[0][n] = c;
c 137 lib/libz/crc32.c c = crc_table[0][n];
c 138 lib/libz/crc32.c crc_table[4][n] = REV(c);
c 140 lib/libz/crc32.c c = crc_table[0][c & 0xff] ^ (c >> 8);
c 141 lib/libz/crc32.c crc_table[k][n] = c;
c 142 lib/libz/crc32.c crc_table[k + 4][n] = REV(c);
c 255 lib/libz/crc32.c #define DOLIT4 c ^= *buf4++; \
c 256 lib/libz/crc32.c c = crc_table[3][c & 0xff] ^ crc_table[2][(c >> 8) & 0xff] ^ \
c 257 lib/libz/crc32.c crc_table[1][(c >> 16) & 0xff] ^ crc_table[0][c >> 24]
c 266 lib/libz/crc32.c register u4 c;
c 269 lib/libz/crc32.c c = (u4)crc;
c 270 lib/libz/crc32.c c = ~c;
c 272 lib/libz/crc32.c c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
c 288 lib/libz/crc32.c c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
c 290 lib/libz/crc32.c c = ~c;
c 291 lib/libz/crc32.c return (unsigned long)c;
c 295 lib/libz/crc32.c #define DOBIG4 c ^= *++buf4; \
c 296 lib/libz/crc32.c c = crc_table[4][c & 0xff] ^ crc_table[5][(c >> 8) & 0xff] ^ \
c 297 lib/libz/crc32.c crc_table[6][(c >> 16) & 0xff] ^ crc_table[7][c >> 24]
c 306 lib/libz/crc32.c register u4 c;
c 309 lib/libz/crc32.c c = REV((u4)crc);
c 310 lib/libz/crc32.c c = ~c;
c 312 lib/libz/crc32.c c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);
c 330 lib/libz/crc32.c c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);
c 332 lib/libz/crc32.c c = ~c;
c 333 lib/libz/crc32.c return (unsigned long)(REV(c));
c 1152 lib/libz/zlib.h ZEXTERN int ZEXPORT gzputc OF((gzFile file, int c));
c 1164 lib/libz/zlib.h ZEXTERN int ZEXPORT gzungetc OF((int c, gzFile file));
c 253 lib/libz/zutil.h # define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;}
c 254 lib/libz/zutil.h # define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;}
c 260 lib/libz/zutil.h # define Tracec(c,x)
c 261 lib/libz/zutil.h # define Tracecv(c,x)
c 1039 miscfs/procfs/procfs_vnops.c char c = *b++;
c 1040 miscfs/procfs/procfs_vnops.c if (c < '0' || c > '9')
c 1042 miscfs/procfs/procfs_vnops.c p = 10 * p + (c - '0');
c 362 msdosfs/msdosfs_conv.c u_char c;
c 371 msdosfs/msdosfs_conv.c c = dos2unix[0xe5];
c 373 msdosfs/msdosfs_conv.c c = dos2unix[*dn];
c 374 msdosfs/msdosfs_conv.c *un++ = lower ? u2l[c] : c;
c 381 msdosfs/msdosfs_conv.c c = dos2unix[*dn++];
c 382 msdosfs/msdosfs_conv.c *un++ = lower ? u2l[c] : c;
c 395 msdosfs/msdosfs_conv.c c = dos2unix[*dn++];
c 396 msdosfs/msdosfs_conv.c *un++ = lower ? u2l[c] : c;
c 484 net/bsd-comp.c u_char c;
c 582 net/bsd-comp.c c = *rptr++;
c 583 net/bsd-comp.c fcode = BSD_KEY(ent, c);
c 584 net/bsd-comp.c hval = BSD_HASH(ent, c, hshift);
c 630 net/bsd-comp.c ent = c;
c 697 net/bsd-comp.c u_char c;
c 731 net/bsd-comp.c c = *rptr++;
c 732 net/bsd-comp.c fcode = BSD_KEY(ent, c);
c 733 net/bsd-comp.c hval = BSD_HASH(ent, c, hshift);
c 780 net/bsd-comp.c ent = c;
c 1803 net/if_bridge.c #define mix(a,b,c) \
c 1805 net/if_bridge.c a -= b; a -= c; a ^= (c >> 13); \
c 1806 net/if_bridge.c b -= c; b -= a; b ^= (a << 8); \
c 1807 net/if_bridge.c c -= a; c -= b; c ^= (b >> 13); \
c 1808 net/if_bridge.c a -= b; a -= c; a ^= (c >> 12); \
c 1809 net/if_bridge.c b -= c; b -= a; b ^= (a << 16); \
c 1810 net/if_bridge.c c -= a; c -= b; c ^= (b >> 5); \
c 1811 net/if_bridge.c a -= b; a -= c; a ^= (c >> 3); \
c 1812 net/if_bridge.c b -= c; b -= a; b ^= (a << 10); \
c 1813 net/if_bridge.c c -= a; c -= b; c ^= (b >> 15); \
c 1819 net/if_bridge.c u_int32_t a = 0x9e3779b9, b = 0x9e3779b9, c = sc->sc_hashkey;
c 1828 net/if_bridge.c mix(a, b, c);
c 1829 net/if_bridge.c return (c & BRIDGE_RTABLE_MASK);
c 835 net/if_ethersubr.c u_int32_t c, crc, carry;
c 841 net/if_ethersubr.c c = buf[i];
c 843 net/if_ethersubr.c carry = ((crc & 0x01) ? 1 : 0) ^ (c & 0x01);
c 845 net/if_ethersubr.c c >>= 1;
c 857 net/if_ethersubr.c u_int32_t c, crc, carry;
c 863 net/if_ethersubr.c c = buf[i];
c 865 net/if_ethersubr.c carry = ((crc & 0x80000000U) ? 1 : 0) ^ (c & 0x01);
c 867 net/if_ethersubr.c c >>= 1;
c 605 net/if_gre.c u_int32_t a, b, c;
c 623 net/if_gre.c c = a & 0xfffffffe;
c 625 net/if_gre.c a = b | c;
c 668 net/if_gre.c u_char c[2];
c 670 net/if_gre.c u.c[0] = *(u_char *) p;
c 671 net/if_gre.c u.c[1] = 0;
c 75 net/if_pflog.h #define PFLOG_PACKET(i,x,a,b,c,d,e,f,g,h) pflog_packet(i,a,b,c,d,e,f,g,h)
c 77 net/if_pflog.h #define PFLOG_PACKET(i,x,a,b,c,d,e,f,g,h) ((void)0)
c 1357 net/if_pfsync.c (void *)&sc->sc_statep.c)) == NULL) {
c 1362 net/if_pfsync.c cp = sc->sc_statep.c;
c 95 net/if_pfsync.h struct pfsync_state_clr *c;
c 693 net/if_ppp.c (*sc->sc_xcomp->comp_stat)(sc->sc_xc_state, &pcp->c);
c 728 net/if_sl.c slinput(c, tp)
c 729 net/if_sl.c int c;
c 744 net/if_sl.c if (c & TTY_ERRORMASK || ((tp->t_state & TS_CARR_ON) == 0 &&
c 749 net/if_sl.c c &= TTY_CHARMASK;
c 754 net/if_sl.c if (c == ABT_ESC) {
c 779 net/if_sl.c switch (c) {
c 783 net/if_sl.c c = FRAME_ESCAPE;
c 788 net/if_sl.c c = FRAME_END;
c 819 net/if_sl.c if ((c = (*sc->sc_pktstart & 0xf0)) != (IPVERSION << 4)) {
c 820 net/if_sl.c if (c & 0x80)
c 821 net/if_sl.c c = TYPE_COMPRESSED_TCP;
c 822 net/if_sl.c else if (c == TYPE_UNCOMPRESSED_TCP)
c 833 net/if_sl.c (u_int)c, &sc->sc_comp);
c 837 net/if_sl.c c == TYPE_UNCOMPRESSED_TCP && len >= 40) {
c 839 net/if_sl.c (u_int)c, &sc->sc_comp);
c 895 net/if_sl.c *sc->sc_mp++ = c;
c 4366 net/if_spppsubr.c u_char c;
c 4369 net/if_spppsubr.c c = *p++;
c 4373 net/if_spppsubr.c if (c < ' ' || c > '~')
c 4374 net/if_spppsubr.c addlog("\\x%x", c);
c 4376 net/if_spppsubr.c addlog("%c", c);
c 1115 net/if_strip.c stripinput(c, tp)
c 1116 net/if_strip.c int c;
c 1131 net/if_strip.c if (c & TTY_ERRORMASK || ((tp->t_state & TS_CARR_ON) == 0 &&
c 1134 net/if_strip.c DPRINTF(("strip: input, error %x\n", c)); /* XXX */
c 1137 net/if_strip.c c &= TTY_CHARMASK;
c 1144 net/if_strip.c switch (c) {
c 1160 net/if_strip.c *sc->sc_mp++ = c;
c 1216 net/if_strip.c if ((c = (*sc->sc_buf & 0xf0)) != (IPVERSION << 4)) {
c 1217 net/if_strip.c if (c & 0x80)
c 1218 net/if_strip.c c = TYPE_COMPRESSED_TCP;
c 1219 net/if_strip.c else if (c == TYPE_UNCOMPRESSED_TCP)
c 1230 net/if_strip.c (u_int)c, &sc->sc_comp);
c 1234 net/if_strip.c c == TYPE_UNCOMPRESSED_TCP && len >= 40) {
c 1236 net/if_strip.c (u_int)c, &sc->sc_comp);
c 1380 net/pf.c pf_change_a(void *a, u_int16_t *c, u_int32_t an, u_int8_t u)
c 1386 net/pf.c *c = pf_cksum_fixup(pf_cksum_fixup(*c, ao / 65536, an / 65536, u),
c 1392 net/pf.c pf_change_a6(struct pf_addr *a, u_int16_t *c, struct pf_addr *an, u_int8_t u)
c 1399 net/pf.c *c = pf_cksum_fixup(pf_cksum_fixup(pf_cksum_fixup(
c 1401 net/pf.c pf_cksum_fixup(pf_cksum_fixup(*c,
c 1999 net/pf.c #define mix(a,b,c) \
c 2001 net/pf.c a -= b; a -= c; a ^= (c >> 13); \
c 2002 net/pf.c b -= c; b -= a; b ^= (a << 8); \
c 2003 net/pf.c c -= a; c -= b; c ^= (b >> 13); \
c 2004 net/pf.c a -= b; a -= c; a ^= (c >> 12); \
c 2005 net/pf.c b -= c; b -= a; b ^= (a << 16); \
c 2006 net/pf.c c -= a; c -= b; c ^= (b >> 5); \
c 2007 net/pf.c a -= b; a -= c; a ^= (c >> 3); \
c 2008 net/pf.c b -= c; b -= a; b ^= (a << 10); \
c 2009 net/pf.c c -= a; c -= b; c ^= (b >> 15); \
c 2019 net/pf.c u_int32_t a = 0x9e3779b9, b = 0x9e3779b9, c = key->key32[0];
c 2026 net/pf.c mix(a, b, c);
c 2027 net/pf.c hash->addr32[0] = c + key->key32[2];
c 2034 net/pf.c mix(a, b, c);
c 2035 net/pf.c hash->addr32[0] = c;
c 2038 net/pf.c c += key->key32[1];
c 2039 net/pf.c mix(a, b, c);
c 2040 net/pf.c hash->addr32[1] = c;
c 2043 net/pf.c c += key->key32[2];
c 2044 net/pf.c mix(a, b, c);
c 2045 net/pf.c hash->addr32[2] = c;
c 2048 net/pf.c c += key->key32[3];
c 2049 net/pf.c mix(a, b, c);
c 2050 net/pf.c hash->addr32[3] = c;
c 104 net/pf_ruleset.c int c = strcmp(a->path, b->path);
c 106 net/pf_ruleset.c return (c ? (c < 0 ? -1 : 1) : 0);
c 746 net/pfkeyv2_parsemessage.c char *c =
c 758 net/pfkeyv2_parsemessage.c j = PADUP(strlen(c) + 1) +
c 218 net/pfvar.h #define PF_AEQ(a, b, c) \
c 219 net/pfvar.h ((c == AF_INET && (a)->addr32[0] == (b)->addr32[0]) || \
c 225 net/pfvar.h #define PF_ANEQ(a, b, c) \
c 226 net/pfvar.h ((c == AF_INET && (a)->addr32[0] != (b)->addr32[0]) || \
c 232 net/pfvar.h #define PF_AZERO(a, c) \
c 233 net/pfvar.h ((c == AF_INET && !(a)->addr32[0]) || \
c 246 net/pfvar.h #define PF_POOLMASK(a, b, c, d, f) \
c 247 net/pfvar.h pf_poolmask(a, b, c, d, f)
c 255 net/pfvar.h #define PF_AEQ(a, b, c) \
c 261 net/pfvar.h #define PF_ANEQ(a, b, c) \
c 267 net/pfvar.h #define PF_AZERO(a, c) \
c 282 net/pfvar.h #define PF_POOLMASK(a, b, c, d, f) \
c 283 net/pfvar.h pf_poolmask(a, b, c, d, f)
c 290 net/pfvar.h #define PF_AEQ(a, b, c) \
c 293 net/pfvar.h #define PF_ANEQ(a, b, c) \
c 296 net/pfvar.h #define PF_AZERO(a, c) \
c 310 net/pfvar.h #define PF_POOLMASK(a, b, c, d, f) \
c 312 net/pfvar.h (a)->addr32[0] = ((b)->addr32[0] & (c)->addr32[0]) | \
c 313 net/pfvar.h (((c)->addr32[0] ^ 0xffffffff ) & (d)->addr32[0]); \
c 89 net/ppp_defs.h #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
c 157 net/ppp_defs.h struct compstat c; /* packet compression statistics */
c 135 net/ppp_tty.c int pppinput(int c, struct tty *tp);
c 163 net/ppp_tty.c #define ESCAPE_P(c) (sc->sc_asyncmap[(c) >> 5] & (1 << ((c) & 0x1F)))
c 616 net/ppp_tty.c int c;
c 623 net/ppp_tty.c c = ~sc->sc_outfcs & 0xFF;
c 624 net/ppp_tty.c if (ESCAPE_P(c)) {
c 626 net/ppp_tty.c *p++ = c ^ PPP_TRANS;
c 628 net/ppp_tty.c *p++ = c;
c 629 net/ppp_tty.c c = (~sc->sc_outfcs >> 8) & 0xFF;
c 630 net/ppp_tty.c if (ESCAPE_P(c)) {
c 632 net/ppp_tty.c *p++ = c ^ PPP_TRANS;
c 634 net/ppp_tty.c *p++ = c;
c 812 net/ppp_tty.c pppinput(c, tp)
c 813 net/ppp_tty.c int c;
c 827 net/ppp_tty.c if (c & TTY_FE) {
c 830 net/ppp_tty.c printf("%s: bad char %x\n", sc->sc_if.if_xname, c);
c 834 net/ppp_tty.c c &= 0xff;
c 840 net/ppp_tty.c if (c == tp->t_cc[VSTOP] && tp->t_cc[VSTOP] != _POSIX_VDISABLE) {
c 847 net/ppp_tty.c if (c == tp->t_cc[VSTART] && tp->t_cc[VSTART] != _POSIX_VDISABLE) {
c 856 net/ppp_tty.c if (c & 0x80)
c 860 net/ppp_tty.c if (paritytab[c >> 5] & (1 << (c & 0x1F)))
c 867 net/ppp_tty.c ppplogchar(sc, c);
c 869 net/ppp_tty.c if (c == PPP_FLAG) {
c 938 net/ppp_tty.c ppplogchar(sc, c);
c 942 net/ppp_tty.c if (c < 0x20 && (sc->sc_rasyncmap & (1 << c)))
c 948 net/ppp_tty.c c ^= PPP_TRANS;
c 949 net/ppp_tty.c } else if (c == PPP_ESCAPE) {
c 981 net/ppp_tty.c if (c != PPP_ALLSTATIONS) {
c 985 net/ppp_tty.c sc->sc_if.if_xname, c);
c 994 net/ppp_tty.c if (sc->sc_ilen == 1 && c != PPP_UI) {
c 997 net/ppp_tty.c sc->sc_if.if_xname, c);
c 1000 net/ppp_tty.c if (sc->sc_ilen == 2 && (c & 1) == 1) {
c 1006 net/ppp_tty.c if (sc->sc_ilen == 3 && (c & 1) == 0) {
c 1009 net/ppp_tty.c (sc->sc_mp[-1] << 8) + c);
c 1038 net/ppp_tty.c *sc->sc_mp++ = c;
c 1039 net/ppp_tty.c sc->sc_fcs = PPP_FCS(sc->sc_fcs, c);
c 1050 net/ppp_tty.c ppplogchar(sc, c);
c 1058 net/ppp_tty.c ppplogchar(sc, c)
c 1060 net/ppp_tty.c int c;
c 1062 net/ppp_tty.c if (c >= 0)
c 1063 net/ppp_tty.c sc->sc_rawin[sc->sc_rawin_count++] = c;
c 1065 net/ppp_tty.c || (c < 0 && sc->sc_rawin_count > 0)) {
c 295 net/radix_mpath.c #define mix(a,b,c) \
c 297 net/radix_mpath.c a -= b; a -= c; a ^= (c >> 13); \
c 298 net/radix_mpath.c b -= c; b -= a; b ^= (a << 8); \
c 299 net/radix_mpath.c c -= a; c -= b; c ^= (b >> 13); \
c 300 net/radix_mpath.c a -= b; a -= c; a ^= (c >> 12); \
c 301 net/radix_mpath.c b -= c; b -= a; b ^= (a << 16); \
c 302 net/radix_mpath.c c -= a; c -= b; c ^= (b >> 5); \
c 303 net/radix_mpath.c a -= b; a -= c; a ^= (c >> 3); \
c 304 net/radix_mpath.c b -= c; b -= a; b ^= (a << 10); \
c 305 net/radix_mpath.c c -= a; c -= b; c ^= (b >> 15); \
c 311 net/radix_mpath.c u_int32_t a, b, c;
c 314 net/radix_mpath.c c = hashjitter;
c 325 net/radix_mpath.c mix(a, b, c);
c 337 net/radix_mpath.c c += srcaddrp ? srcaddrp[0] : 0;
c 338 net/radix_mpath.c mix(a, b, c);
c 341 net/radix_mpath.c c += srcaddrp ? srcaddrp[1] : 0;
c 342 net/radix_mpath.c mix(a, b, c);
c 345 net/radix_mpath.c c += srcaddrp ? srcaddrp[2] : 0;
c 346 net/radix_mpath.c mix(a, b, c);
c 349 net/radix_mpath.c c += srcaddrp ? srcaddrp[3] : 0;
c 350 net/radix_mpath.c mix(a, b, c);
c 356 net/radix_mpath.c return c;
c 119 net/zlib.c # define Tracec(c,x) {if (verbose && (c)) fprintf x ;}
c 120 net/zlib.c # define Tracecv(c,x) {if (verbose>1 && (c)) fprintf x ;}
c 126 net/zlib.c # define Tracec(c,x)
c 127 net/zlib.c # define Tracecv(c,x)
c 406 net/zlib.c #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);}
c 567 net/zlib.c #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask)
c 1603 net/zlib.c # define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len)
c 1607 net/zlib.c # define send_code(s, c, tree) \
c 1608 net/zlib.c { if (verbose>1) fprintf(stderr,"\ncd %3d ",(c)); \
c 1609 net/zlib.c send_bits(s, tree[c].Code, tree[c].Len); }
c 2625 net/zlib.c check_func c, /* check function */
c 2785 net/zlib.c uLong c;
c 2792 net/zlib.c inflate_blocks_reset(z->state->blocks, z, &c);
c 2801 net/zlib.c uLong c;
c 2806 net/zlib.c inflate_blocks_free(z->state->blocks, z, &c);
c 3220 net/zlib.c local void inflate_blocks_reset(s, z, c)
c 3223 net/zlib.c uLongf *c;
c 3226 net/zlib.c *c = s->check;
c 3245 net/zlib.c local inflate_blocks_statef *inflate_blocks_new(z, c, w)
c 3247 net/zlib.c check_func c;
c 3261 net/zlib.c s->checkfn = c;
c 3422 net/zlib.c uInt i, j, c;
c 3428 net/zlib.c c = h->more.Base;
c 3429 net/zlib.c if (c < 16)
c 3432 net/zlib.c s->sub.trees.blens[s->sub.trees.index++] = c;
c 3436 net/zlib.c i = c == 18 ? 7 : c - 14;
c 3437 net/zlib.c j = c == 18 ? 11 : 3;
c 3445 net/zlib.c (c == 16 && i < 1))
c 3452 net/zlib.c c = c == 16 ? s->sub.trees.blens[i - 1] : 0;
c 3454 net/zlib.c s->sub.trees.blens[i++] = c;
c 3464 net/zlib.c inflate_codes_statef *c;
c 3482 net/zlib.c if ((c = inflate_codes_new(bl, bd, tl, td, z)) == Z_NULL)
c 3490 net/zlib.c s->sub.decode.codes = c;
c 3538 net/zlib.c local int inflate_blocks_free(s, z, c)
c 3541 net/zlib.c uLongf *c;
c 3543 net/zlib.c inflate_blocks_reset(s, z, c);
c 3726 net/zlib.c uInt c[BMAX+1]; /* bit length count table */
c 3747 net/zlib.c p = c;
c 3754 net/zlib.c c[*p++]++; /* assume all entries <= BMAX */
c 3756 net/zlib.c if (c[0] == n) /* null input--all zero length codes */
c 3767 net/zlib.c if (c[j])
c 3773 net/zlib.c if (c[i])
c 3783 net/zlib.c if ((y -= c[j]) < 0)
c 3785 net/zlib.c if ((y -= c[i]) < 0)
c 3787 net/zlib.c c[i] += y;
c 3792 net/zlib.c p = c + 1; xp = x + 2;
c 3818 net/zlib.c a = c[k];
c 3833 net/zlib.c xp = c + k;
c 3912 net/zlib.c local int inflate_trees_bits(c, bb, tb, z)
c 3913 net/zlib.c uIntf *c; /* 19 code lengths */
c 3920 net/zlib.c r = huft_build(c, 19, 19, (uIntf*)Z_NULL, (uIntf*)Z_NULL, tb, bb, z);
c 3933 net/zlib.c local int inflate_trees_dynamic(nl, nd, c, bl, bd, tl, td, z)
c 3936 net/zlib.c uIntf *c; /* that many (total) code lengths */
c 3946 net/zlib.c if ((r = huft_build(c, nl, 257, cplens, cplext, tl, bl, z)) != Z_OK)
c 3960 net/zlib.c if ((r = huft_build(c + nl, nd, 0, cpdist, cpdext, td, bd, z)) != Z_OK)
c 4030 net/zlib.c unsigned c[288]; /* length list for huft_build */
c 4040 net/zlib.c c[k] = 8;
c 4042 net/zlib.c c[k] = 9;
c 4044 net/zlib.c c[k] = 7;
c 4046 net/zlib.c c[k] = 8;
c 4048 net/zlib.c huft_build(c, 288, 257, cplens, cplext, &fixed_tl, &fixed_bl, &z);
c 4052 net/zlib.c c[k] = 5;
c 4054 net/zlib.c huft_build(c, 30, 0, cpdist, cpdext, &fixed_td, &fixed_bd, &z);
c 4145 net/zlib.c inflate_codes_statef *c;
c 4147 net/zlib.c if ((c = (inflate_codes_statef *)
c 4150 net/zlib.c c->mode = START;
c 4151 net/zlib.c c->lbits = (Byte)bl;
c 4152 net/zlib.c c->dbits = (Byte)bd;
c 4153 net/zlib.c c->ltree = tl;
c 4154 net/zlib.c c->dtree = td;
c 4157 net/zlib.c return c;
c 4176 net/zlib.c inflate_codes_statef *c = s->sub.decode.codes; /* codes state */
c 4182 net/zlib.c while (1) switch (c->mode)
c 4189 net/zlib.c r = inflate_fast(c->lbits, c->dbits, c->ltree, c->dtree, s, z);
c 4193 net/zlib.c c->mode = r == Z_STREAM_END ? WASH : BADCODE;
c 4198 net/zlib.c c->sub.code.need = c->lbits;
c 4199 net/zlib.c c->sub.code.tree = c->ltree;
c 4200 net/zlib.c c->mode = LEN;
c 4202 net/zlib.c j = c->sub.code.need;
c 4204 net/zlib.c t = c->sub.code.tree + ((uInt)b & inflate_mask[j]);
c 4209 net/zlib.c c->sub.lit = t->base;
c 4213 net/zlib.c c->mode = LIT;
c 4218 net/zlib.c c->sub.copy.get = e & 15;
c 4219 net/zlib.c c->len = t->base;
c 4220 net/zlib.c c->mode = LENEXT;
c 4225 net/zlib.c c->sub.code.need = e;
c 4226 net/zlib.c c->sub.code.tree = t->next;
c 4232 net/zlib.c c->mode = WASH;
c 4235 net/zlib.c c->mode = BADCODE; /* invalid code */
c 4240 net/zlib.c j = c->sub.copy.get;
c 4242 net/zlib.c c->len += (uInt)b & inflate_mask[j];
c 4244 net/zlib.c c->sub.code.need = c->dbits;
c 4245 net/zlib.c c->sub.code.tree = c->dtree;
c 4246 net/zlib.c Tracevv((stderr, "inflate: length %u\n", c->len));
c 4247 net/zlib.c c->mode = DIST;
c 4249 net/zlib.c j = c->sub.code.need;
c 4251 net/zlib.c t = c->sub.code.tree + ((uInt)b & inflate_mask[j]);
c 4256 net/zlib.c c->sub.copy.get = e & 15;
c 4257 net/zlib.c c->sub.copy.dist = t->base;
c 4258 net/zlib.c c->mode = DISTEXT;
c 4263 net/zlib.c c->sub.code.need = e;
c 4264 net/zlib.c c->sub.code.tree = t->next;
c 4267 net/zlib.c c->mode = BADCODE; /* invalid code */
c 4272 net/zlib.c j = c->sub.copy.get;
c 4274 net/zlib.c c->sub.copy.dist += (uInt)b & inflate_mask[j];
c 4276 net/zlib.c Tracevv((stderr, "inflate: distance %u\n", c->sub.copy.dist));
c 4277 net/zlib.c c->mode = COPY;
c 4280 net/zlib.c f = (uInt)(q - s->window) < c->sub.copy.dist ?
c 4281 net/zlib.c s->end - (c->sub.copy.dist - (q - s->window)) :
c 4282 net/zlib.c q - c->sub.copy.dist;
c 4284 net/zlib.c f = q - c->sub.copy.dist;
c 4285 net/zlib.c if ((uInt)(q - s->window) < c->sub.copy.dist)
c 4286 net/zlib.c f = s->end - (c->sub.copy.dist - (q - s->window));
c 4288 net/zlib.c while (c->len)
c 4294 net/zlib.c c->len--;
c 4296 net/zlib.c c->mode = START;
c 4300 net/zlib.c OUTBYTE(c->sub.lit)
c 4301 net/zlib.c c->mode = START;
c 4307 net/zlib.c c->mode = END;
c 4321 net/zlib.c local void inflate_codes_free(c, z)
c 4322 net/zlib.c inflate_codes_statef *c;
c 4325 net/zlib.c ZFREE(z, c, sizeof(struct inflate_codes_state));
c 4420 net/zlib.c #define UNGRAB {n+=(c=k>>3);p-=c;k&=7;}
c 4443 net/zlib.c uInt c; /* bytes to copy */
c 4474 net/zlib.c c = t->base + ((uInt)b & inflate_mask[e]);
c 4476 net/zlib.c Tracevv((stderr, "inflate: * length %u\n", c));
c 4493 net/zlib.c m -= c;
c 4497 net/zlib.c *q++ = *r++; c--; /* minimum count is three, */
c 4498 net/zlib.c *q++ = *r++; c--; /* so unroll loop a little */
c 4504 net/zlib.c if (c > e) /* if source crosses, */
c 4506 net/zlib.c c -= e; /* copy to end of window */
c 4515 net/zlib.c } while (--c);
c 82 net80211/ieee80211.c struct ieee80211_channel *c;
c 105 net80211/ieee80211.c c = &ic->ic_channels[i];
c 106 net80211/ieee80211.c if (c->ic_flags) {
c 110 net80211/ieee80211.c if (i != ieee80211_chan2ieee(ic, c)) {
c 113 net80211/ieee80211.c ifp->if_xname, c->ic_freq, c->ic_flags,
c 115 net80211/ieee80211.c c->ic_flags = 0; /* NB: remove */
c 122 net80211/ieee80211.c if (IEEE80211_IS_CHAN_A(c))
c 124 net80211/ieee80211.c if (IEEE80211_IS_CHAN_B(c))
c 126 net80211/ieee80211.c if (IEEE80211_IS_CHAN_PUREG(c))
c 128 net80211/ieee80211.c if (IEEE80211_IS_CHAN_FHSS(c))
c 130 net80211/ieee80211.c if (IEEE80211_IS_CHAN_T(c))
c 201 net80211/ieee80211.c ieee80211_chan2ieee(struct ieee80211com *ic, const struct ieee80211_channel *c)
c 204 net80211/ieee80211.c if (ic->ic_channels <= c && c <= &ic->ic_channels[IEEE80211_CHAN_MAX])
c 205 net80211/ieee80211.c return c - ic->ic_channels;
c 206 net80211/ieee80211.c else if (c == IEEE80211_CHAN_ANYC)
c 208 net80211/ieee80211.c else if (c != NULL) {
c 210 net80211/ieee80211.c ifp->if_xname, c->ic_freq, c->ic_flags);
c 662 net80211/ieee80211.c const struct ieee80211_channel *c;
c 681 net80211/ieee80211.c c = &ic->ic_channels[i];
c 684 net80211/ieee80211.c if ((c->ic_flags &~ IEEE80211_CHAN_TURBO) != 0)
c 687 net80211/ieee80211.c if ((c->ic_flags & modeflags) == modeflags)
c 702 net80211/ieee80211.c c = &ic->ic_channels[i];
c 705 net80211/ieee80211.c if ((c->ic_flags &~ IEEE80211_CHAN_TURBO) != 0)
c 708 net80211/ieee80211.c if ((c->ic_flags & modeflags) == modeflags)
c 570 net80211/ieee80211_crypto.c u_int32_t c;
c 574 net80211/ieee80211_crypto.c c = (u_int32_t)n;
c 576 net80211/ieee80211_crypto.c if (c & 1)
c 577 net80211/ieee80211_crypto.c c = 0xedb88320UL ^ (c >> 1);
c 579 net80211/ieee80211_crypto.c c = c >> 1;
c 581 net80211/ieee80211_crypto.c ieee80211_crc_table[n] = c;
c 2228 netbt/hci.h #define M_SETCTX(m, c) ((m)->m_pkthdr.rcvif = (void *)(c))
c 104 netinet/in4_cksum.c u_int8_t c[2];
c 150 netinet/in4_cksum.c s_util.c[1] = *(u_int8_t *)w;
c 167 netinet/in4_cksum.c s_util.c[0] = *(u_int8_t *)w;
c 200 netinet/in4_cksum.c s_util.c[1] = *(u_int8_t *)w;
c 206 netinet/in4_cksum.c s_util.c[0] = *(u_int8_t *)w;
c 214 netinet/in4_cksum.c s_util.c[1] = 0;
c 61 netinet/in_cksum.c u_int8_t c[2];
c 82 netinet/in_cksum.c s_util.c[1] = *(u_int8_t *)w;
c 98 netinet/in_cksum.c s_util.c[0] = *(u_int8_t *)w;
c 131 netinet/in_cksum.c s_util.c[1] = *(u_int8_t *)w;
c 137 netinet/in_cksum.c s_util.c[0] = *(u_int8_t *)w;
c 145 netinet/in_cksum.c s_util.c[1] = 0;
c 1251 netinet/ip_carp.c #define mix(a,b,c) \
c 1253 netinet/ip_carp.c a -= b; a -= c; a ^= (c >> 13); \
c 1254 netinet/ip_carp.c b -= c; b -= a; b ^= (a << 8); \
c 1255 netinet/ip_carp.c c -= a; c -= b; c ^= (b >> 13); \
c 1256 netinet/ip_carp.c a -= b; a -= c; a ^= (c >> 12); \
c 1257 netinet/ip_carp.c b -= c; b -= a; b ^= (a << 16); \
c 1258 netinet/ip_carp.c c -= a; c -= b; c ^= (b >> 5); \
c 1259 netinet/ip_carp.c a -= b; a -= c; a ^= (c >> 3); \
c 1260 netinet/ip_carp.c b -= c; b -= a; b ^= (a << 10); \
c 1261 netinet/ip_carp.c c -= a; c -= b; c ^= (b >> 15); \
c 1267 netinet/ip_carp.c u_int32_t a = 0x9e3779b9, b = sc->sc_hashkey[0], c = sc->sc_hashkey[1];
c 1269 netinet/ip_carp.c c += sc->sc_key[3] << 24;
c 1270 netinet/ip_carp.c c += sc->sc_key[2] << 16;
c 1271 netinet/ip_carp.c c += sc->sc_key[1] << 8;
c 1272 netinet/ip_carp.c c += sc->sc_key[0];
c 1280 netinet/ip_carp.c mix(a, b, c);
c 1281 netinet/ip_carp.c return (c);
c 107 netinet6/in6_cksum.c u_int8_t c[2];
c 168 netinet6/in6_cksum.c s_util.c[0] = *(u_char *)w;
c 201 netinet6/in6_cksum.c s_util.c[1] = *(char *)w;
c 207 netinet6/in6_cksum.c s_util.c[0] = *(char *)w;
c 228 netinet6/in6_cksum.c s_util.c[1] = *(char *)w;
c 244 netinet6/in6_cksum.c s_util.c[0] = *(u_char *)w;
c 277 netinet6/in6_cksum.c s_util.c[1] = *(char *)w;
c 283 netinet6/in6_cksum.c s_util.c[0] = *(char *)w;
c 291 netinet6/in6_cksum.c s_util.c[1] = 0;
c 78 nfs/nfsm_subs.h #define nfsm_build(a,c,s) \
c 88 nfs/nfsm_subs.h (a) = (c)(bpos); \
c 92 nfs/nfsm_subs.h #define nfsm_dissect(a, c, s) \
c 95 nfs/nfsm_subs.h (a) = (c)(dpos); \
c 102 nfs/nfsm_subs.h (a) = (c)cp2; \
c 338 nfs/nfsm_subs.h #define nfsm_request(v, t, p, c) \
c 340 nfs/nfsm_subs.h (c), &mrep, &md, &dpos)) != 0) { \
c 302 ntfs/ntfs.h #define HASHINIT(a, b, c, d) hashinit((a), HASH_LIST, (b), (c), (d))
c 304 ntfs/ntfs.h #define VOP__UNLOCK(a, b, c) VOP_UNLOCK((a), (b))
c 305 ntfs/ntfs.h #define VGET(a, b, c) vget((a), (b))
c 306 ntfs/ntfs.h #define VN_LOCK(a, b, c) vn_lock((a), (b))
c 310 ntfs/ntfs.h #define HASHINIT(a, b, c, d) hashinit((a), (b), (c), (d))
c 312 ntfs/ntfs.h #define VOP__UNLOCK(a, b, c) VOP_UNLOCK((a), (b), (c))
c 313 ntfs/ntfs.h #define VGET(a, b, c) vget((a), (b), (c))
c 314 ntfs/ntfs.h #define VN_LOCK(a, b, c) vn_lock((a), (b), (c))
c 317 ntfs/ntfs.h #define HASHINIT(a, b, c, d) hashinit((a), (b), (d))
c 318 ntfs/ntfs.h #define VOP__UNLOCK(a, b, c) VOP_UNLOCK((a), (b), (c))
c 319 ntfs/ntfs.h #define VGET(a, b, c) vget((a), (b), (c))
c 320 ntfs/ntfs.h #define VN_LOCK(a, b, c) vn_lock((a), (b), (c))
c 98 ntfs/ntfs_conv.c int c;
c 102 ntfs/ntfs_conv.c c = _utf_count[(s[0] >> 4) & 0xf];
c 103 ntfs/ntfs_conv.c if (c == 0) {
c 104 ntfs/ntfs_conv.c c = 1;
c 108 ntfs/ntfs_conv.c switch (c) {
c 126 ntfs/ntfs_conv.c *str = *str + c;
c 236 scsi/ch.c #define PLURAL(c) (c) == 1 ? "" : "s"
c 510 scsi/ch.c char c = voltag->vif[i];
c 511 scsi/ch.c if (c && c != ' ')
c 512 scsi/ch.c uvoltag->cv_volid[i] = c;
c 42 stand/boot/cmd.c #define CTRL(c) ((c)&0x1f)
c 77 sys/conf.h #define dev_init(c,n,t) \
c 78 sys/conf.h ((c) > 0 ? __CONCAT(n,t) : (__CONCAT(dev_type_,t)((*))) enxio)
c 109 sys/conf.h #define dev_size_init(c,n) (c > 0 ? __CONCAT(n,size) : 0)
c 115 sys/conf.h #define bdev_disk_init(c,n) { \
c 116 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), \
c 117 sys/conf.h dev_init(c,n,strategy), dev_init(c,n,ioctl), \
c 118 sys/conf.h dev_init(c,n,dump), dev_size_init(c,n), D_DISK }
c 120 sys/conf.h #define bdev_tape_init(c,n) { \
c 121 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), \
c 122 sys/conf.h dev_init(c,n,strategy), dev_init(c,n,ioctl), \
c 123 sys/conf.h dev_init(c,n,dump), 0, D_TAPE }
c 125 sys/conf.h #define bdev_swap_init(c,n) { \
c 127 sys/conf.h dev_init(c,n,strategy), (dev_type_ioctl((*))) enodev, \
c 184 sys/conf.h #define cdev_disk_init(c,n) { \
c 185 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 186 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
c 190 sys/conf.h #define cdev_tape_init(c,n) { \
c 191 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 192 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
c 196 sys/conf.h #define cdev_scanner_init(c,n) { \
c 197 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 198 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 203 sys/conf.h #define cdev_tty_init(c,n) { \
c 204 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 205 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
c 206 sys/conf.h dev_init(c,n,tty), ttpoll, (dev_type_mmap((*))) enodev, \
c 210 sys/conf.h #define cdev_mouse_init(c,n) { \
c 211 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 212 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 213 sys/conf.h (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \
c 217 sys/conf.h #define cdev_mousewr_init(c,n) { \
c 218 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 219 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), \
c 220 sys/conf.h (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \
c 236 sys/conf.h #define cdev_cn_init(c,n) { \
c 237 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 238 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
c 239 sys/conf.h 0, dev_init(c,n,poll), (dev_type_mmap((*))) enodev, \
c 240 sys/conf.h D_TTY, D_KQFILTER, dev_init(c,n,kqfilter) }
c 243 sys/conf.h #define cdev_ctty_init(c,n) { \
c 244 sys/conf.h dev_init(c,n,open), (dev_type_close((*))) nullop, dev_init(c,n,read), \
c 245 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) nullop, \
c 246 sys/conf.h 0, dev_init(c,n,poll), (dev_type_mmap((*))) enodev, \
c 250 sys/conf.h #define cdev_mm_init(c,n) { \
c 251 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 252 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), \
c 253 sys/conf.h (dev_type_stop((*))) enodev, 0, seltrue, dev_init(c,n,mmap) }
c 256 sys/conf.h #define cdev_crypto_init(c,n) { \
c 257 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 258 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
c 262 sys/conf.h #define cdev_systrace_init(c,n) { \
c 263 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 264 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
c 268 sys/conf.h #define cdev_swap_init(c,n) { \
c 270 sys/conf.h dev_init(c,n,read), dev_init(c,n,write), (dev_type_ioctl((*))) enodev, \
c 275 sys/conf.h #define cdev_ptc_init(c,n) { \
c 276 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 277 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) nullop, \
c 278 sys/conf.h dev_init(c,n,tty), dev_init(c,n,poll), (dev_type_mmap((*))) enodev, \
c 279 sys/conf.h D_TTY, D_KQFILTER, dev_init(c,n,kqfilter) }
c 282 sys/conf.h #define cdev_ptm_init(c,n) { \
c 283 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 284 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
c 288 sys/conf.h #define cdev_log_init(c,n) { \
c 289 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 290 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 291 sys/conf.h (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \
c 292 sys/conf.h (dev_type_mmap((*))) enodev, 0, D_KQFILTER, dev_init(c,n,kqfilter) }
c 295 sys/conf.h #define cdev_fd_init(c,n) { \
c 296 sys/conf.h dev_init(c,n,open), (dev_type_close((*))) enodev, \
c 302 sys/conf.h #define cdev_bpftun_init(c,n) { \
c 303 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 304 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
c 305 sys/conf.h 0, dev_init(c,n,poll), (dev_type_mmap((*))) enodev, \
c 306 sys/conf.h 0, D_KQFILTER, dev_init(c,n,kqfilter) }
c 309 sys/conf.h #define cdev_lkm_init(c,n) { \
c 310 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 311 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 316 sys/conf.h #define cdev_ch_init(c,n) { \
c 317 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 318 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 323 sys/conf.h #define cdev_uk_init(c,n) { \
c 324 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 325 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 330 sys/conf.h #define cdev_ss_init(c,n) { \
c 331 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 332 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 337 sys/conf.h #define cdev_fb_init(c,n) { \
c 338 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 339 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 341 sys/conf.h dev_init(c,n,mmap) }
c 344 sys/conf.h #define cdev_audio_init(c,n) { \
c 345 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 346 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), \
c 347 sys/conf.h (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \
c 348 sys/conf.h dev_init(c,n,mmap), 0, D_KQFILTER, dev_init(c,n,kqfilter) }
c 351 sys/conf.h #define cdev_midi_init(c,n) { \
c 352 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 353 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), \
c 354 sys/conf.h (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \
c 357 sys/conf.h #define cdev_svr4_net_init(c,n) { \
c 358 sys/conf.h dev_init(c,n,open), (dev_type_close((*))) enodev, \
c 364 sys/conf.h #define cdev_xfs_init(c, n) { \
c 365 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 366 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), \
c 367 sys/conf.h (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \
c 371 sys/conf.h #define cdev_ksyms_init(c,n) { \
c 372 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 378 sys/conf.h #define cdev_wsdisplay_init(c,n) { \
c 379 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 380 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
c 381 sys/conf.h dev_init(c,n,tty), ttpoll, dev_init(c,n,mmap), \
c 382 sys/conf.h 0, D_KQFILTER, dev_init(c,n,kqfilter) }
c 385 sys/conf.h #define cdev_random_init(c,n) { \
c 386 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 387 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
c 388 sys/conf.h 0, dev_init(c,n,poll), (dev_type_mmap((*))) enodev, \
c 389 sys/conf.h 0, D_KQFILTER, dev_init(c,n,kqfilter) }
c 393 sys/conf.h #define cdev_usb_init(c,n) { \
c 394 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 395 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 396 sys/conf.h (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \
c 400 sys/conf.h #define cdev_ulpt_init(c,n) { \
c 401 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 402 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
c 406 sys/conf.h #define cdev_pf_init(c,n) { \
c 407 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 408 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 413 sys/conf.h #define cdev_urio_init(c,n) { \
c 414 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 415 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
c 416 sys/conf.h 0, dev_init(c,n,poll), (dev_type_mmap((*))) enodev }
c 419 sys/conf.h #define cdev_usbdev_init(c,n) { \
c 420 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 421 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
c 422 sys/conf.h 0, dev_init(c,n,poll), (dev_type_mmap((*))) enodev, 0, D_KQFILTER, \
c 423 sys/conf.h dev_init(c,n,kqfilter) }
c 426 sys/conf.h #define cdev_pci_init(c,n) { \
c 427 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 428 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 433 sys/conf.h #define cdev_iop_init(c,n) { \
c 434 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 435 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 440 sys/conf.h #define cdev_radio_init(c,n) { \
c 441 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 442 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 447 sys/conf.h #define cdev_spkr_init(c,n) { \
c 448 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 449 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
c 453 sys/conf.h #define cdev_lpt_init(c,n) { \
c 454 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 455 sys/conf.h dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
c 459 sys/conf.h #define cdev_bktr_init(c, n) { \
c 460 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 461 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 463 sys/conf.h dev_init(c,n,mmap) }
c 466 sys/conf.h #define cdev_hotplug_init(c,n) { \
c 467 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
c 468 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 469 sys/conf.h (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \
c 470 sys/conf.h (dev_type_mmap((*))) enodev, 0, D_KQFILTER, dev_init(c,n,kqfilter) }
c 473 sys/conf.h #define cdev_gpio_init(c,n) { \
c 474 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 475 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 480 sys/conf.h #define cdev_bio_init(c,n) { \
c 481 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 482 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 487 sys/conf.h #define cdev_bthub_init(c,n) { \
c 488 sys/conf.h dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
c 489 sys/conf.h (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
c 507 sys/conf.h int (*l_rint)(int c, struct tty *tp);
c 46 sys/core.h #define CORE_GETMAGIC(c) ( ntohl(((c).c_midmag)) & 0xffff )
c 47 sys/core.h #define CORE_GETMID(c) ( (ntohl(((c).c_midmag)) >> 16) & 0x03ff )
c 48 sys/core.h #define CORE_GETFLAG(c) ( (ntohl(((c).c_midmag)) >> 26) & 0x03f )
c 49 sys/core.h #define CORE_SETMAGIC(c,mag,mid,flag) ( (c).c_midmag = htonl ( \
c 426 sys/disklabel.h #define DPCYL(c, s) ((c) + (((s) & 0xc0) << 2))
c 44 sys/event.h #define EV_SET(kevp, a, b, c, d, e, f) do { \
c 47 sys/event.h (kevp)->flags = (c); \
c 43 sys/hash.h #define HASHSTEP(x,c) (((x << 5) + x) + (c))
c 169 sys/lock.h #define spinlock_acquire_count(l, c) _spinlock_acquire_count((l), (c), \
c 48 sys/msgbuf.h void msgbuf_putchar(const char c);
c 440 sys/proc.h #define wakeup_one(c) wakeup_n((c), 1)
c 476 sys/proc.h #define ltsleep(c, p, w, t, l) tsleep(c, p, w, t)
c 84 sys/termios.h #define CCEQ(val, c) (c == val ? val != _POSIX_VDISABLE : 0)
c 260 sys/tty.h u_char *nextc(struct clist *q, u_char *cp, int *c);
c 261 sys/tty.h int putc(int c, struct clist *q);
c 266 sys/tty.h int tputchar(int c, struct tty *tp);
c 283 sys/tty.h int ttyinput(int c, struct tty *tp);
c 287 sys/tty.h int ttyoutput(int c, struct tty *tp);
c 290 sys/tty.h void ttyrub(int c, struct tty *tp);
c 300 sys/tty.h u_char *firstc(struct clist *clp, int *c);
c 82 sys/uio.h int ureadc(int c, struct uio *);
c 466 ufs/ffs/fs.h #define cgbase(fs, c) ((daddr_t)((fs)->fs_fpg * (c)))
c 467 ufs/ffs/fs.h #define cgdmin(fs, c) (cgstart(fs, c) + (fs)->fs_dblkno) /* 1st data */
c 468 ufs/ffs/fs.h #define cgimin(fs, c) (cgstart(fs, c) + (fs)->fs_iblkno) /* inode blk */
c 469 ufs/ffs/fs.h #define cgsblock(fs, c) (cgstart(fs, c) + (fs)->fs_sblkno) /* super blk */
c 470 ufs/ffs/fs.h #define cgtod(fs, c) (cgstart(fs, c) + (fs)->fs_cblkno) /* cg block */
c 471 ufs/ffs/fs.h #define cgstart(fs, c) \
c 472 ufs/ffs/fs.h (cgbase(fs, c) + (fs)->fs_cgoffset * ((c) & ~((fs)->fs_cgmask)))
c 129 ufs/ufs/quota.h #define ufs_quota_alloc_blocks(i, c, cr) ufs_quota_alloc_blocks2(i, c, cr, 0)
c 130 ufs/ufs/quota.h #define ufs_quota_free_blocks(i, c, cr) ufs_quota_free_blocks2(i, c, cr, 0)
c 194 uvm/uvm_map_i.h int c;
c 197 uvm/uvm_map_i.h c = --map->ref_count;
c 199 uvm/uvm_map_i.h if (c > 0) {
c 197 uvm/uvm_stat.c printf("%s = %d\n", uvc->name, uvc->c);
c 56 uvm/uvm_stat.h int c; /* the value */
c 73 uvm/uvm_stat.h CNT.c = VAL; \
c 83 uvm/uvm_stat.h (C).c = (V); \
c 88 uvm/uvm_stat.h (C).c += (V); \
c 69 xfs/xfs_message.c message->node.handle.c,
c 96 xfs/xfs_message.c message->node.handle.c,
c 142 xfs/xfs_message.c message->node.handle.c,
c 177 xfs/xfs_message.c message->node.handle.c,
c 277 xfs/xfs_message.c message->handle.c,
c 364 xfs/xfs_message.c message->old_handle.c,
c 368 xfs/xfs_message.c message->new_handle.c,
c 68 xfs/xfs_message.h uint32_t a, b, c, d;
c 72 xfs/xfs_message.h ((p)->a == (q)->a && (p)->b == (q)->b && (p)->c == (q)->c && (p)->d == (q)->d)
c 118 xfs/xfs_node-bsd.c node->handle.c,
c 168 xfs/xfs_node-bsd.c node->handle.c,
c 45 xfs/xfs_node.c (((node)->a+(node)->b+(node)->c+(node)->d) % XN_HASHSIZE)
c 156 xfs/xfs_vfsops-bsd.c handle.a, handle.d, handle.c, handle.d));
c 1140 xfs/xfs_vnodeops-common.c xn->handle.a, xn->handle.b, xn->handle.c, xn->handle.d);