Symbol: scratch
lib/libresolv/support.c
337
static u_char scratch[1000];
lib/libresolv/support.c
339
n = b64_ntop(data, scratch, size, sizeof(scratch));
lib/libresolv/support.c
340
printf("%s: %x %d %s\n", msg, mode, n, scratch);
libexec/lfs_cleanerd/cleansrv.c
167
char scratch[80];
libexec/lfs_cleanerd/cleansrv.c
175
read(fd, scratch, 80);
libexec/lfs_cleanerd/cleansrv.c
176
scratch[79] = '\0';
libexec/lfs_cleanerd/cleansrv.c
177
pid = atoi(scratch);
sbin/fsdb/fsdb.c
376
while ((elline = el_gets(elptr, &scratch)) != NULL && scratch != 0) {
sys/arch/acorn32/mainbus/fd.c
1281
unsigned int scratch;
sys/arch/acorn32/mainbus/fd.c
1349
scratch = form_parms->nbps >> 7;
sys/arch/acorn32/mainbus/fd.c
1350
if ((form_parms->nbps & 0x7f) || ffs(scratch) == 0 ||
sys/arch/acorn32/mainbus/fd.c
1351
scratch & ~(1 << (ffs(scratch)-1)))
sys/arch/acorn32/mainbus/fd.c
1378
fd->sc_type->secsize = ffs(scratch)-1;
sys/arch/amd64/amd64/machdep.c
292
uint64_t scratch;
sys/arch/amiga/dev/afsc.c
105
u_long temp, scratch;
sys/arch/amiga/dev/afsc.c
117
scratch = rp->siop_scratch;
sys/arch/amiga/dev/afsc.c
123
rp->siop_scratch = scratch;
sys/arch/amiga/dev/afsc.c
125
if (rp->siop_scratch != scratch || rp->siop_temp != temp)
sys/arch/atari/dev/hdfd.c
1301
unsigned int scratch;
sys/arch/atari/dev/hdfd.c
1375
scratch = form_parms->nbps >> 7;
sys/arch/atari/dev/hdfd.c
1376
if ((form_parms->nbps & 0x7f) || ffs(scratch) == 0 ||
sys/arch/atari/dev/hdfd.c
1377
scratch & ~(1 << (ffs(scratch)-1)))
sys/arch/atari/dev/hdfd.c
1407
fd->sc_type->secsize = ffs(scratch)-1;
sys/arch/bebox/stand/boot/clock.c
45
u_long scratch;
sys/arch/bebox/stand/boot/clock.c
49
: "=r"(tb), "=r"(scratch));
sys/arch/bebox/stand/boot/clock.c
60
u_long tbh, tbl, scratch;
sys/arch/bebox/stand/boot/clock.c
68
: "=&r"(scratch) : "r"(tbh), "r"(tbl));
sys/arch/evbppc/nintendo/machdep.c
384
register_t scratch, spr;
sys/arch/evbppc/nintendo/machdep.c
476
: "=r"(scratch)
sys/arch/evbppc/nintendo/machdep.c
693
int scratch, msr;
sys/arch/evbppc/nintendo/machdep.c
698
: "=r"(msr), "=r"(scratch) : "K"((u_short)~PSL_EE));
sys/arch/m68k/fpsp/l_fpsp.h
105
* routines expect fp0-fp3 as scratch registers. For all monadic
sys/arch/m68k/fpsp/l_fpsp.h
51
* your compiler does not treat as scratch registers on return
sys/arch/m68k/fpsp/l_fpsp.h
90
* Many 68K C compilers treat a0/a1/d0/d1/fp0/fp1 as scratch so
sys/arch/mac68k/nubus/grf_nubus.c
419
unsigned long scratch;
sys/arch/mac68k/nubus/grf_nubus.c
421
scratch = bus_space_read_4(sc->sc_tag, sc->sc_handle, sc->cli_offset);
sys/arch/mac68k/nubus/grf_nubus.c
422
scratch |= 0x80;
sys/arch/mac68k/nubus/grf_nubus.c
423
bus_space_write_4(sc->sc_tag, sc->sc_handle, sc->cli_offset, scratch);
sys/arch/mips/include/asm.h
795
#define DYNAMIC_STATUS_MASK(sr,scratch) \
sys/arch/mips/include/asm.h
796
lw scratch, mips_dynamic_status_mask; \
sys/arch/mips/include/asm.h
797
and sr, sr, scratch
sys/arch/mips/include/asm.h
803
#define DYNAMIC_STATUS_MASK(sr,scratch)
sys/arch/powerpc/booke/e500_timer.c
190
u_long tbh, tbl, scratch;
sys/arch/powerpc/booke/e500_timer.c
206
: "=&r"(scratch)
sys/arch/powerpc/ibm4xx/clock.c
266
u_long tbh, tbl, scratch;
sys/arch/powerpc/ibm4xx/clock.c
291
: "=&r" (scratch)
sys/arch/powerpc/include/cpu_counter.h
53
uint32_t rv, rtcu, scratch;
sys/arch/powerpc/include/cpu_counter.h
78
: "=r"(scratch), "=r"(rv), "=r"(rtcu)
sys/arch/powerpc/oea/oea_machdep.c
151
register_t scratch;
sys/arch/powerpc/oea/oea_machdep.c
189
for (scratch = 0; scratch < 32; scratch++) {
sys/arch/powerpc/oea/oea_machdep.c
190
curpcb->pcb_vr.vreg[scratch][0] = 0x7FFFDEAD;
sys/arch/powerpc/oea/oea_machdep.c
191
curpcb->pcb_vr.vreg[scratch][1] = 0x7FFFDEAD;
sys/arch/powerpc/oea/oea_machdep.c
192
curpcb->pcb_vr.vreg[scratch][2] = 0x7FFFDEAD;
sys/arch/powerpc/oea/oea_machdep.c
193
curpcb->pcb_vr.vreg[scratch][3] = 0x7FFFDEAD;
sys/arch/powerpc/oea/oea_machdep.c
338
: "=r"(msr), "=r"(scratch)
sys/arch/powerpc/oea/oea_machdep.c
345
if (scratch & PSL_VEC) {
sys/arch/powerpc/oea/oea_machdep.c
476
: "=r"(scratch)
sys/arch/powerpc/oea/ofwoea_machdep.c
147
register_t scratch;
sys/arch/powerpc/oea/ofwoea_machdep.c
271
: "=r"(scratch)
sys/arch/powerpc/oea/ofwoea_machdep.c
333
int scratch, msr;
sys/arch/powerpc/oea/ofwoea_machdep.c
338
: "=r"(msr), "=r"(scratch) : "K"((u_short)~PSL_EE));
sys/arch/powerpc/powerpc/clock.c
207
uint64_t tb, scratch;
sys/arch/powerpc/powerpc/clock.c
210
uint32_t tbh, tbl, scratch;
sys/arch/powerpc/powerpc/clock.c
228
: "=&r"(scratch)
sys/arch/powerpc/powerpc/clock.c
243
: "=&r"(scratch) : "r"(tb)
sys/arch/powerpc/powerpc/clock.c
250
: "=&r"(scratch) : "r"(tbh), "r"(tbl)
sys/arch/powerpc/powerpc/clock.c
260
int msr, scratch;
sys/arch/powerpc/powerpc/clock.c
263
: "=r"(msr), "=r"(scratch) : "K"((u_short)~PSL_EE));
sys/arch/powerpc/powerpc/clock.c
276
int msr, scratch;
sys/arch/powerpc/powerpc/clock.c
279
: "=r"(msr), "=r"(scratch) : "K"((u_short)~PSL_EE));
sys/arch/prep/stand/boot/clock.c
104
: "=&r"(scratch)
sys/arch/prep/stand/boot/clock.c
50
u_long scratch;
sys/arch/prep/stand/boot/clock.c
54
: "=r"(tb), "=r"(scratch));
sys/arch/prep/stand/boot/clock.c
61
u_long scratch;
sys/arch/prep/stand/boot/clock.c
65
: "=r"(*up), "=r"(*lp), "=r"(scratch)
sys/arch/prep/stand/boot/clock.c
76
u_long tbh, tbl, scratch;
sys/arch/prep/stand/boot/clock.c
95
: "=&r"(scratch)
sys/arch/rs6000/stand/boot/clock.c
105
: "=&r"(scratch)
sys/arch/rs6000/stand/boot/clock.c
50
u_long scratch;
sys/arch/rs6000/stand/boot/clock.c
54
: "=r"(tb), "=r"(scratch));
sys/arch/rs6000/stand/boot/clock.c
61
u_long scratch;
sys/arch/rs6000/stand/boot/clock.c
65
: "=r"(*up), "=r"(*lp), "=r"(scratch)
sys/arch/rs6000/stand/boot/clock.c
76
u_long tbh, tbl, scratch;
sys/arch/rs6000/stand/boot/clock.c
96
: "=&r"(scratch)
sys/arch/sandpoint/stand/altboot/brdsetup.c
1037
uint32_t scratch, tbh, tbl;
sys/arch/sandpoint/stand/altboot/brdsetup.c
1052
: "=&r"(scratch)
sys/arch/sandpoint/stand/altboot/brdsetup.c
1140
uint32_t scratch;
sys/arch/sandpoint/stand/altboot/brdsetup.c
1144
: "=r"(tb), "=r"(scratch) :: "cc");
sys/arch/sgimips/gio/newport.c
695
uint8_t scratch;
sys/arch/sgimips/gio/newport.c
706
scratch = cmap_reg_read(dc, NEWPORT_DCBADDR_CMAP_1,
sys/arch/sgimips/gio/newport.c
708
aprint_debug("%s: CMAP_1 REVISION 0x%02x\n", __func__, scratch);
sys/arch/sgimips/gio/newport.c
709
dc->dc_monitor_cmap_id = (scratch >> 4) & 0x0f;
sys/arch/sgimips/gio/newport.c
740
uint32_t scratch;
sys/arch/sgimips/gio/newport.c
749
scratch = cmap_reg_read(dc, NEWPORT_DCBADDR_CMAP_0,
sys/arch/sgimips/gio/newport.c
751
aprint_debug("%s: CMAP_0 REVISION 0x%02x\n", __func__, scratch);
sys/arch/sgimips/gio/newport.c
753
dc->dc_boardrev = (scratch >> 4) & 0x07;
sys/arch/sgimips/gio/newport.c
754
dc->dc_cmaprev = scratch & 0x07;
sys/arch/sgimips/gio/newport.c
759
dc->dc_depth = ( (dc->dc_boardrev > 1) && (scratch & 0x80)) ? 8 : 24;
sys/arch/sgimips/gio/newport.c
764
scratch = vc2_read_ireg(dc, VC2_IREG_CONFIG);
sys/arch/sgimips/gio/newport.c
765
dc->dc_vc2rev = (scratch & VC2_IREG_CONFIG_REVISION) >> 5;
sys/arch/sgimips/gio/newport.c
766
aprint_debug("%s: VC2_IREG_CONFIG config: 0x%04x\n", __func__, scratch);
sys/arch/sgimips/mace/mace.c
147
uint32_t scratch;
sys/arch/sgimips/mace/mace.c
183
scratch = bus_space_read_8(sc->iot, sc->ioh, MACE_ISA_FLASH_NIC_REG);
sys/arch/sgimips/mace/mace.c
184
scratch |= MACE_ISA_LED_RED;
sys/arch/sgimips/mace/mace.c
185
scratch &= ~(MACE_ISA_LED_GREEN);
sys/arch/sgimips/mace/mace.c
186
bus_space_write_8(sc->iot, sc->ioh, MACE_ISA_FLASH_NIC_REG, scratch);
sys/arch/sgimips/mace/mace.c
193
for (scratch = 0; scratch < MACE_NINTR; scratch++) {
sys/arch/sgimips/mace/mace.c
194
maceintrtab[scratch].func = NULL;
sys/arch/sgimips/mace/mace.c
195
maceintrtab[scratch].irq = 0;
sys/arch/vax/vax/locore.c
348
lwp0.l_md.md_utf = (void *)scratch;
sys/arch/vax/vax/locore.c
89
extern uintptr_t scratch;
sys/arch/vax/vax/pmap.c
327
scratch = istack + USPACE;
sys/arch/vax/vax/pmap.c
330
pv_table = (struct pv_entry *)(scratch + SCRATCHPAGES * VAX_NBPG);
sys/arch/vax/vax/pmap.c
367
printf("Sysmap %p, istack %lx, scratch %lx\n",Sysmap,ci->ci_istack,scratch);
sys/arch/vax/vax/pmap.c
408
ci = (struct cpu_info *) scratch;
sys/arch/vax/vax/pmap.c
84
uintptr_t scratch;
sys/arch/x68k/dev/fd.c
1621
unsigned int scratch;
sys/arch/x68k/dev/fd.c
1686
scratch = form_parms->nbps >> 7;
sys/arch/x68k/dev/fd.c
1687
if ((form_parms->nbps & 0x7f) || ffs(scratch) == 0 ||
sys/arch/x68k/dev/fd.c
1688
scratch & ~(1 << (ffs(scratch) - 1)))
sys/arch/x68k/dev/fd.c
1715
fd->sc_type->secsize = ffs(scratch)-1;
sys/arch/x86/x86/svs.c
321
uint64_t scratch;
sys/arch/x86/x86/svs.c
677
utls->scratch = 0;
sys/dev/ic/ciss.c
1026
flush = sc->scratch;
sys/dev/ic/ciss.c
1146
pdid = sc->scratch;
sys/dev/ic/ciss.c
1435
ldstat = sc->scratch;
sys/dev/ic/ciss.c
1455
pdid = sc->scratch;
sys/dev/ic/ciss.c
1493
blink = sc->scratch;
sys/dev/ic/ciss.c
1534
ldid = sc->scratch;
sys/dev/ic/ciss.c
1553
ldstat = sc->scratch;
sys/dev/ic/ciss.c
1582
pdid = sc->scratch;
sys/dev/ic/ciss.c
386
(void **)&sc->scratch, BUS_DMA_NOWAIT))) {
sys/dev/ic/ciss.c
390
memset(sc->scratch, 0, PAGE_SIZE);
sys/dev/ic/ciss.c
394
inq = sc->scratch;
sys/dev/ic/ciss.c
984
lmap = sc->scratch;
sys/dev/ic/cissvar.h
61
void *scratch;
sys/dev/ic/rtw.c
827
char scratch[sizeof("unknown 0xXX")];
sys/dev/ic/rtw.c
907
snprintf(scratch, sizeof(scratch), "unknown 0x%02x", *rfchipid);
sys/dev/ic/rtw.c
908
rfname = paname = scratch;
sys/dev/isa/fd.c
1411
unsigned int scratch;
sys/dev/isa/fd.c
1505
scratch = form_parms->nbps >> 7;
sys/dev/isa/fd.c
1506
if ((form_parms->nbps & 0x7f) || ffs(scratch) == 0 ||
sys/dev/isa/fd.c
1507
scratch & ~(1 << (ffs(scratch)-1)))
sys/dev/isa/fd.c
1534
fd->sc_type->secsize = ffs(scratch)-1;
sys/dev/pci/if_iwm.c
1469
+ offsetof(struct iwm_tx_cmd, scratch);
sys/dev/pci/if_iwmreg.h
4793
} scratch; /* DRAM_SCRATCH_API_U_VER_1 */
sys/dev/pci/if_iwn.c
3080
tx->scratch = 0; /* clear "scratch" area */
sys/dev/pci/if_iwnreg.h
661
uint32_t scratch;
sys/dev/pci/radeonfb_bios.c
557
uint16_t scratch;
sys/dev/pci/radeonfb_bios.c
564
scratch = GETBIOS16(sc, ROM_HEADER_OFFSET);
sys/dev/pci/radeonfb_bios.c
565
revision = GETBIOS8(sc, scratch);
sys/dev/sbus/mgx.c
751
uint32_t fg, bg, scratch = ((sc->sc_stride * sc->sc_height) + 7) & ~7;
sys/dev/sbus/mgx.c
798
scratch += len * c;
sys/dev/sbus/mgx.c
800
d = (uint8_t *)sc->sc_fbaddr + scratch;
sys/dev/sbus/mgx.c
807
scratch += sc->sc_buf * len;
sys/dev/sbus/mgx.c
808
d = (uint8_t *)sc->sc_fbaddr + scratch;
sys/dev/sbus/mgx.c
816
mgx_write_4(sc, ATR_SRC_XY, ((scratch & 0xfff000) << 4) | (scratch & 0xfff));
sys/fs/v7fs/v7fs_impl.h
104
uint8_t scratch[V7FS_SELF_NSCRATCH][V7FS_BSIZE];
sys/fs/v7fs/v7fs_io.c
132
if (fs->scratch[i] == p) {
sys/fs/v7fs/v7fs_io.c
82
if (!fs->io.read(fs->io.cookie, fs->scratch[i], blk)) {
sys/fs/v7fs/v7fs_io.c
94
return fs->scratch[i];
sys/kern/vfs_wapbl.c
2967
uint8_t *scratch;
sys/kern/vfs_wapbl.c
3003
scratch = wapbl_alloc(MAXBSIZE);
sys/kern/vfs_wapbl.c
3009
error = wapbl_read(scratch, 2<<log_dev_bshift, devvp, pbn);
sys/kern/vfs_wapbl.c
3013
wch = (struct wapbl_wc_header *)scratch;
sys/kern/vfs_wapbl.c
3015
(struct wapbl_wc_header *)(scratch + (1<<log_dev_bshift));
sys/kern/vfs_wapbl.c
3032
wr->wr_scratch = scratch;
sys/kern/vfs_wapbl.c
3061
wapbl_free(scratch, MAXBSIZE);
sys/kern/vfs_wapbl.c
3394
void *scratch;
sys/kern/vfs_wapbl.c
3400
scratch = wapbl_alloc(MAXBSIZE);
sys/kern/vfs_wapbl.c
3405
error = wapbl_circ_read(wr, scratch, fsblklen, &off);
sys/kern/vfs_wapbl.c
3408
error = wapbl_write(scratch, fsblklen, fsdevvp,
sys/kern/vfs_wapbl.c
3415
wapbl_free(scratch, MAXBSIZE);
sys/lib/libkern/entpool.c
417
uint8_t scratch[RATE];
sys/lib/libkern/entpool.c
563
entpool_extract(P, scratch, RATE-1 + 1);
sys/lib/libkern/entpool.c
570
entpool_extract(P, scratch, 1);
usr.bin/cdplay/cdplay.c
206
int scratch;
usr.bin/cdplay/cdplay.c
299
if (((elline = el_gets(elptr, &scratch)) != NULL)
usr.bin/cdplay/cdplay.c
300
&& (scratch != 0)){
usr.bin/units/units.c
345
char *scratch, *savescr;
usr.bin/units/units.c
352
savescr = scratch = dupstr(toadd);
usr.bin/units/units.c
371
for (minus = scratch + 1; *minus; minus++) {
usr.bin/units/units.c
383
slash = strchr(scratch, '/');
usr.bin/units/units.c
388
item = strtok(scratch, " *\t\n/");
usr.bin/units/units.c
485
scratch = slash + 1;
usr.sbin/apmd/apmd.c
314
char *scratch;
usr.sbin/apmd/apmd.c
360
uid = strtoul(user, &scratch, 0);
usr.sbin/apmd/apmd.c
361
if (*scratch != '\0') {
usr.sbin/apmd/apmd.c
370
gid = strtoul(group, &scratch, 0);
usr.sbin/apmd/apmd.c
371
if (*scratch != '\0') {
usr.sbin/lpr/lpc/lpc.c
160
int scratch;
usr.sbin/lpr/lpc/lpc.c
177
if (((elline = el_gets(elptr, &scratch)) != NULL)
usr.sbin/lpr/lpc/lpc.c
178
&& (scratch != 0)) {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
218
char scratch[512];