/src/usr.sbin/sesd/srcs/ |
eltsub.c | 50 static char rbuf[132]; local in function:geteltnm 54 sprintf(rbuf, "Unspecified"); 57 sprintf(rbuf, "Device"); 60 sprintf(rbuf, "Power supply"); 63 sprintf(rbuf, "Cooling element"); 66 sprintf(rbuf, "Temperature sensors"); 69 sprintf(rbuf, "Door Lock"); 72 sprintf(rbuf, "Audible alarm"); 75 sprintf(rbuf, "Enclosure services controller electronics"); 78 sprintf(rbuf, "SCC controller electronics") 126 static char rbuf[32]; local in function:scode2ascii [all...] |
/src/lib/libbluetooth/ |
sdp-int.h | 36 uint8_t *rbuf; /* response buffer */ member in struct:sdp_session
|
sdp_service.c | 219 uint8_t *ptr, *end, *rbuf; local in function:sdp_service_attribute 299 rbuf = realloc(ss->rbuf, rlen + count); 300 if (rbuf == NULL) 303 ss->rbuf = rbuf; 304 memcpy(rbuf + rlen, ptr, count); 322 rsp->next = rbuf; 323 rsp->end = rbuf + rlen; 344 uint8_t *ptr, *end, *rbuf; local in function:sdp_service_search_attribute [all...] |
/src/lib/libutil/ |
getfsspecname.c | 90 char rbuf[MAXPATHLEN]; local in function:getfsspecname 92 if (getdiskrawname(rbuf, sizeof(rbuf), name) != NULL) { 93 if ((fd = open(rbuf, O_RDONLY)) == -1) {
|
/src/sys/modules/examples/pollpal/ |
cmd_pollpal.c | 79 char rbuf[BUFFLEN]; local in function:main 119 memset(rbuf, 0, BUFFLEN); 121 ret = read(fd, rbuf, BUFFLEN);
|
/src/tests/lib/libc/sys/ |
t_write.c | 67 char rbuf[3] = { 'a', 'b', 'c' }; local in function:ATF_TC_BODY 92 ATF_REQUIRE(read(fd, rbuf, 3) == 3); 93 ATF_REQUIRE(memcmp(rbuf, wbuf, 3) == 0);
|
/src/sys/dev/raidframe/ |
rf_reconutil.c | 65 RF_ReconBuffer_t *rbuf; local in function:rf_MakeReconControl 124 reconCtrlPtr->perDiskInfo[i].rbuf = (i == fcol) ? NULL : rf_MakeReconBuffer(raidPtr, i, RF_RBUF_TYPE_EXCLUSIVE); 142 rbuf = rf_MakeReconBuffer(raidPtr, fcol, 144 rbuf->next = reconCtrlPtr->floatingRbufs; 145 reconCtrlPtr->floatingRbufs = rbuf; 166 if (reconCtrlPtr->perDiskInfo[i].rbuf) 167 rf_FreeReconBuffer(reconCtrlPtr->perDiskInfo[i].rbuf); 248 rf_FreeReconBuffer(RF_ReconBuffer_t *rbuf) 250 RF_Raid_t *raidPtr = rbuf->raidPtr; 255 RF_Free(rbuf->buffer, recon_buffer_size) 269 RF_ReconBuffer_t *rbuf; variable in typeref:typename:RF_ReconBuffer_t * [all...] |
rf_psstatus.h | 79 void *rbuf; /* this is the accumulating xor sum */ member in struct:RF_ReconParityStripeStatus_s 80 void *writeRbuf; /* DEBUG ONLY: a pointer to the rbuf after it
|
rf_reconbuffer.c | 98 * rbuf - the recon buffer to submit 103 rf_SubmitReconBuffer(RF_ReconBuffer_t *rbuf, int keep_it, int use_committed) 108 lp = rbuf->raidPtr->Layout.map; 109 rc = lp->SubmitReconBuffer(rbuf, keep_it, use_committed); 114 * rbuf - the recon buffer to submit 119 rf_SubmitReconBufferBasic(RF_ReconBuffer_t *rbuf, int keep_it, 122 RF_Raid_t *raidPtr = rbuf->raidPtr; 126 RF_ReconBuffer_t *targetRbuf, *t = NULL; /* temporary rbuf 135 RF_ASSERT(rbuf); 136 RF_ASSERT(rbuf->col != reconCtrlPtr->fcol) 369 RF_ReconBuffer_t *p, *pt, *rbuf = (RF_ReconBuffer_t *) pssPtr->rbuf; local in function:rf_CheckForFullRbuf [all...] |
/src/sys/lib/libsa/ |
rarp.c | 103 } rbuf; local in function:rarp_getipaddress 130 rarprecv, &rbuf.data, sizeof(rbuf.data)) < 0) 136 ap = &rbuf.data.arp;
|
arp.c | 117 } rbuf; local in function:arpwhohas 152 arprecv, &rbuf.data, sizeof(rbuf.data)); 158 ah = &rbuf.data.arp; 162 ether_sprintf(rbuf.eh.ether_shost));
|
bootp.c | 132 } rbuf; local in function:bootp 180 bootprecv, &rbuf.rbootp, sizeof(rbuf.rbootp)) == -1) { 192 (void)memcpy(&bp->bp_vend[9], &rbuf.rbootp.bp_yiaddr, 4); 209 bootprecv, &rbuf.rbootp, sizeof(rbuf.rbootp)) 217 myip = d->myip = rbuf.rbootp.bp_yiaddr; 218 servip = rbuf.rbootp.bp_siaddr; 221 (void)memcpy(bootfile, rbuf.rbootp.bp_file, sizeof(bootfile));
|
/src/usr.bin/mail/ |
quit.c | 269 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; local in function:quit 321 rbuf = NULL; 327 (rbuf = Fdopen(fd, "wef")) == NULL) { 335 (void)putc(c, rbuf); 342 (void)putc(c, rbuf); 345 (void)fflush(rbuf); 346 if (ferror(rbuf)) { 348 (void)Fclose(rbuf); 353 (void)Fclose(rbuf); 354 if ((rbuf = Fopen(tempname, "ref")) == NULL [all...] |
/src/sys/arch/pmax/ibus/ |
dz_ibus.c | 122 uint16_t rbuf; /* 08 Rbuf/Lpr: receive buffer/line param */ member in struct:dzregs 211 dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B4800 << 8) | 218 dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B4800 << 8) | 313 uint16_t rbuf; local in function:dz_ibus_cngetc 323 rbuf = dzcn->rbuf; 324 if (((rbuf >> 8) & 3) != line) 326 c = rbuf & 0x7f; 400 uint16_t rbuf; local in function:dzgetc [all...] |
/src/sys/arch/sun68k/stand/libsa/ |
netif_sun.c | 70 char *rbuf; member in struct:devdata 130 if (dd->rbuf == NULL) { 132 dd->rbuf = dvma_alloc(dd->rbuf_len); 138 if ((dd->rbuf == NULL) || 144 printf("netif_init: rbuf=0x%x, tbuf=0x%x\n", 145 dd->rbuf, dd->tbuf); 170 if (dd->rbuf) { 171 dvma_free(dd->rbuf, dd->rbuf_len); 172 dd->rbuf = NULL; 367 rlen = (*sif->sif_poll)(si->si_devdata, dd->rbuf); [all...] |
/src/sys/dev/ic/ |
pckbcvar.h | 49 #define PCKBC_RBUF_SIZE 32 /* number of rbuf entries */ 72 struct pckbc_rbuf_item rbuf[PCKBC_RBUF_SIZE]; member in struct:pckbc_internal
|
/src/usr.bin/tftp/ |
tftpsubs.c | 268 char rbuf[PKTSIZE]; local in function:synchnet 277 (void)recvfrom(f, rbuf, sizeof (rbuf), 0,
|
/src/sys/arch/vax/vsa/ |
dz_vsbus.c | 79 REG(rbuf); /* 04 Rbuf/Lpr: receive buffer/line param reg. */ 199 dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B4800 << 8) 208 dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B4800 << 8) | DZ_LPR_8_BIT_CHAR \ 222 u_short rbuf; local in function:dzcngetc 228 rbuf = dz->rbuf; 229 if (((rbuf >> 8) & 3) != mino) 231 c = rbuf & 0x7f; 344 u_short rbuf; local in function:dzgetc [all...] |
/src/bin/ed/ |
sub.c | 117 char *rbuf; /* substitute_matching_text buffer */ variable in typeref:typename:char * 143 txt = rbuf; 144 eot = rbuf + len; 197 REALLOC(rbuf, rbufsz, off + i, ERR); 200 memcpy(rbuf + off, txt, i); 207 REALLOC(rbuf, rbufsz, off + i, ERR); 210 memcpy(rbuf + off, txt, i); 217 REALLOC(rbuf, rbufsz, off + i + 2, ERR); 224 memcpy(rbuf + off, txt, i); 225 memcpy(rbuf + off + i, "\n", 2) [all...] |
/src/sys/arch/newsmips/apbus/ |
xafb.c | 392 u_char rbuf[256], gbuf[256], bbuf[256]; local in function:xafb_putcmap 398 error = copyin(cm->red, &rbuf[index], count); 408 memcpy(&sc->sc_cmap_red[index], &rbuf[index], count);
|
/src/sys/arch/prep/pci/ |
gten.c | 396 u_char rbuf[256], gbuf[256], bbuf[256]; local in function:gten_putcmap 401 error = copyin(cm->red, &rbuf[index], count); 411 memcpy(>->gt_cmap_red[index], &rbuf[index], count);
|
/src/sys/arch/xen/xen/ |
xencons.c | 511 static char rbuf[16]; local in function:xencons_intr 523 HYPERVISOR_console_io(CONSOLEIO_read, sizeof(rbuf), rbuf)) > 0) { 524 xencons_tty_input(sc, rbuf, len);
|
/src/sys/arch/sparc64/dev/ |
gfb.c | 402 u_char rbuf[256], gbuf[256], bbuf[256]; local in function:gfb_putcmap 410 error = copyin(cm->red, &rbuf[index], count); 420 memcpy(&sc->sc_cmap_red[index], &rbuf[index], count);
|
/src/sys/arch/macppc/dev/ |
ofb.c | 397 u_char rbuf[256], gbuf[256], bbuf[256]; local in function:ofb_putcmap 403 error = copyin(cm->red, &rbuf[index], count); 413 memcpy(&sc->sc_cmap_red[index], &rbuf[index], count);
|
/src/usr.sbin/faithd/ |
ftp.c | 54 static char rbuf[MSS]; variable in typeref:typename:char[] 334 n = read(src, rbuf, 1); 337 (void)send(dst, rbuf, (size_t)n, MSG_OOB); 339 n = read(src, rbuf, sizeof(rbuf)); 342 (void)write(dst, rbuf, (size_t)n); 347 n = read(src, rbuf, sizeof(rbuf)); 353 (void)write(dst, rbuf, (size_t)n); 377 n = read(src, rbuf, 1) [all...] |