Symbol: cls
games/hack/hack.end.c
288
cls();
games/hack/hack.h
554
void cls(void);
games/hack/hack.main.c
180
cls();
games/hack/hack.pager.c
197
cls();
games/hack/hack.pager.c
232
cls();
games/hack/hack.potion.c
143
cls();
games/hack/hack.potion.c
164
cls();
games/hack/hack.pri.c
271
cls();
games/hack/hack.pri.c
83
cls();
games/hack/hack.read.c
310
cls();
games/hack/hack.read.c
331
cls();
games/hack/hack.read.c
362
cls();
games/hack/hack.rip.c
91
cls();
lib/libsndio/sioctl_sun.c
111
struct mixer_devinfo dev, cls;
lib/libsndio/sioctl_sun.c
118
cls.index = dev.mixer_class;
lib/libsndio/sioctl_sun.c
119
if (ioctl(hdl->fd, AUDIO_MIXER_DEVINFO, &cls) < 0)
lib/libsndio/sioctl_sun.c
121
if (strcmp(cls.label.name, cn) == 0 &&
libexec/spamd-setup/spamd-setup.c
139
range2cidrlist(struct cidr *list, u_int *cli, u_int *cls, u_int32_t start,
libexec/spamd-setup/spamd-setup.c
150
if (*cls <= *cli + 1) { /* one extra for terminator */
libexec/spamd-setup/spamd-setup.c
151
tmp = reallocarray(list, *cls + 32,
libexec/spamd-setup/spamd-setup.c
156
*cls += 32;
libexec/spamd-setup/spamd-setup.c
559
u_int cli, cls, i;
libexec/spamd-setup/spamd-setup.c
573
cls = (blc / 2) + (blc / 20) + 1;
libexec/spamd-setup/spamd-setup.c
574
cl = reallocarray(NULL, cls, sizeof(struct cidr));
libexec/spamd-setup/spamd-setup.c
599
cl = range2cidrlist(cl, &cli, &cls, bstart, addr - 1);
regress/sbin/isakmpd/common/log.c
11
log_debug(int cls, int level, const char *fmt, ...)
regress/sbin/isakmpd/common/log.c
16
log_debug_buf(int cls, int level, const char *header, const u_int8_t *buf,
sbin/isakmpd/isakmpd.c
128
int cls, level;
sbin/isakmpd/isakmpd.c
154
if (sscanf(optarg, "%d=%d", &cls, &level) != 2) {
sbin/isakmpd/isakmpd.c
156
for (cls = 0; cls < LOG_ENDCLASS;
sbin/isakmpd/isakmpd.c
157
cls++)
sbin/isakmpd/isakmpd.c
158
log_debug_cmd(cls, level);
sbin/isakmpd/isakmpd.c
163
log_debug_cmd(cls, level);
sbin/isakmpd/log.c
233
log_debug(int cls, int level, const char *fmt, ...)
sbin/isakmpd/log.c
241
if (cls >= 0 && (log_level[cls] == 0 || level > log_level[cls]))
sbin/isakmpd/log.c
244
_log_print(0, LOG_INFO, fmt, ap, cls, level);
sbin/isakmpd/log.c
249
log_debug_buf(int cls, int level, const char *header, const u_int8_t *buf,
sbin/isakmpd/log.c
259
if (cls >= 0 && (log_level[cls] == 0 || level > log_level[cls]))
sbin/isakmpd/log.c
262
log_debug(cls, level, "%s:", header);
sbin/isakmpd/log.c
269
log_debug(cls, level, "%s", s);
sbin/isakmpd/log.c
277
log_debug(cls, level, "%s", s);
sbin/isakmpd/log.c
282
log_debug_cmd(int cls, int level)
sbin/isakmpd/log.c
284
if (cls < 0 || cls >= LOG_ENDCLASS) {
sbin/isakmpd/log.c
285
log_print("log_debug_cmd: invalid debugging class %d", cls);
sbin/isakmpd/log.c
290
"class %d", level, cls);
sbin/isakmpd/log.c
293
if (level == log_level[cls])
sbin/isakmpd/log.c
295
cls);
sbin/isakmpd/log.c
298
"for class %d", log_level[cls], level, cls);
sbin/isakmpd/log.c
299
log_level[cls] = level;
sbin/isakmpd/sa.c
463
sa_dump(int cls, int level, char *header, struct sa *sa)
sbin/isakmpd/sa.c
469
LOG_DBG((cls, level, "%s: %p %s phase %d doi %d flags 0x%x", header,
sbin/isakmpd/sa.c
472
LOG_DBG((cls, level, "%s: icookie %08x%08x rcookie %08x%08x", header,
sbin/isakmpd/sa.c
475
LOG_DBG((cls, level, "%s: msgid %08x refcnt %d", header,
sbin/isakmpd/sa.c
477
LOG_DBG((cls, level, "%s: life secs %llu kb %llu", header, sa->seconds,
sbin/isakmpd/sa.c
481
LOG_DBG((cls, level, "%s: suite %d proto %d", header,
sbin/isakmpd/sa.c
483
LOG_DBG((cls, level,
sbin/isakmpd/sa.c
487
LOG_DBG((cls, level, "%s: %s, %s", header,
sbin/isakmpd/sa.c
498
LOG_DBG_BUF((cls, level, spi_header,
sbin/isakmpd/ui.c
392
int cls, level;
sbin/isakmpd/ui.c
395
if (sscanf(cmd, "D %d %d", &cls, &level) == 2) {
sbin/isakmpd/ui.c
396
log_debug_cmd(cls, level);
sbin/isakmpd/ui.c
401
for (cls = 0; cls < LOG_ENDCLASS; cls++)
sbin/isakmpd/ui.c
402
log_debug_cmd(cls, level);
sbin/newfs_msdos/newfs_msdos.c
251
u_int fat, bss, rds, cls, dir, lsn, x, x1, x2;
sbin/newfs_msdos/newfs_msdos.c
517
cls = (bpb.bsec - x1) / bpb.spc;
sbin/newfs_msdos/newfs_msdos.c
519
if (cls > x)
sbin/newfs_msdos/newfs_msdos.c
520
cls = x;
sbin/newfs_msdos/newfs_msdos.c
523
cls);
sbin/newfs_msdos/newfs_msdos.c
524
if (cls < mincls(fat))
sbin/newfs_msdos/newfs_msdos.c
525
errx(1, "%u clusters too few clusters for FAT%u, need %u", cls, fat,
sbin/newfs_msdos/newfs_msdos.c
527
if (cls > maxcls(fat)) {
sbin/newfs_msdos/newfs_msdos.c
528
cls = maxcls(fat);
sbin/newfs_msdos/newfs_msdos.c
529
bpb.bsec = x1 + (cls + 1) * bpb.spc - 1;
sbin/newfs_msdos/newfs_msdos.c
534
"(%u bytes/cluster)\n", fname, cls * bpb.spc,
sbin/newfs_msdos/newfs_msdos.c
535
cls * bpb.spc == 1 ? "" : "s", cls, fat,
sbin/newfs_msdos/newfs_msdos.c
536
cls == 1 ? "" : "s", bpb.bps * bpb.spc);
sys/dev/audio.c
2302
struct mixer_devinfo *dev, *cls;
sys/dev/audio.c
2306
cls = malloc(sizeof(struct mixer_devinfo), M_TEMP, M_WAITOK);
sys/dev/audio.c
2313
cls->index = dev->mixer_class;
sys/dev/audio.c
2314
if (sc->ops->query_devinfo(sc->arg, cls) != 0)
sys/dev/audio.c
2316
if (strcmp(cls->label.name, cn) == 0 &&
sys/dev/audio.c
2329
free(cls, M_TEMP, sizeof(struct mixer_devinfo));
sys/dev/pci/pciide.c
4252
pcireg_t cls, reg40, reg44;
sys/dev/pci/pciide.c
4254
cls = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_BHLC_REG);
sys/dev/pci/pciide.c
4255
cls = (cls >> PCI_CACHELINE_SHIFT) & PCI_CACHELINE_MASK;
sys/dev/pci/pciide.c
4256
cls *= 4;
sys/dev/pci/pciide.c
4257
if (cls > 224) {
sys/dev/pci/pciide.c
4258
cls = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_BHLC_REG);
sys/dev/pci/pciide.c
4259
cls &= ~(PCI_CACHELINE_MASK << PCI_CACHELINE_SHIFT);
sys/dev/pci/pciide.c
4260
cls |= ((224/4) << PCI_CACHELINE_SHIFT);
sys/dev/pci/pciide.c
4261
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_BHLC_REG, cls);
sys/dev/pci/pciide.c
4262
cls = 224;
sys/dev/pci/pciide.c
4264
if (cls < 32)
sys/dev/pci/pciide.c
4265
cls = 32;
sys/dev/pci/pciide.c
4266
cls = (cls + 31) / 32;
sys/dev/pci/pciide.c
4269
if ((reg40 & 0x7) < cls)
sys/dev/pci/pciide.c
4270
ba5_write_4(sc, 0x40, (reg40 & ~0x07) | cls);
sys/dev/pci/pciide.c
4271
if ((reg44 & 0x7) < cls)
sys/dev/pci/pciide.c
4272
ba5_write_4(sc, 0x44, (reg44 & ~0x07) | cls);
usr.bin/mixerctl/mixerctl.c
354
int cls = fields[i].infp->mixer_class;
usr.bin/mixerctl/mixerctl.c
355
if (cls >= 0 && cls < ndev)
usr.bin/mixerctl/mixerctl.c
356
catstr(infos[cls].label.name, fields[i].name,
usr.sbin/makefs/msdos/mkfs_msdos.c
242
u_int bss, rds, cls, dir, lsn, x, x1, x2;
usr.sbin/makefs/msdos/mkfs_msdos.c
532
cls = (bpb.bsec - x1) / bpb.spc;
usr.sbin/makefs/msdos/mkfs_msdos.c
534
if (cls > x)
usr.sbin/makefs/msdos/mkfs_msdos.c
535
cls = x;
usr.sbin/makefs/msdos/mkfs_msdos.c
538
cls);
usr.sbin/makefs/msdos/mkfs_msdos.c
541
if (cls < mincls(o.fat_type)) {
usr.sbin/makefs/msdos/mkfs_msdos.c
542
warnx("%u clusters too few clusters for FAT%u, need %u", cls,
usr.sbin/makefs/msdos/mkfs_msdos.c
546
if (cls > maxcls(o.fat_type)) {
usr.sbin/makefs/msdos/mkfs_msdos.c
547
cls = maxcls(o.fat_type);
usr.sbin/makefs/msdos/mkfs_msdos.c
548
bpb.bsec = x1 + (cls + 1) * bpb.spc - 1;
usr.sbin/makefs/msdos/mkfs_msdos.c
554
"(%u bytes/cluster)\n", fname, cls * bpb.spc,
usr.sbin/makefs/msdos/mkfs_msdos.c
555
cls * bpb.spc == 1 ? "" : "s", cls, o.fat_type,
usr.sbin/makefs/msdos/mkfs_msdos.c
556
cls == 1 ? "" : "s", bpb.bps * bpb.spc);