Symbol: type
bin/cp/cp.c
109
enum op type;
bin/cp/cp.c
269
type = DIR_TO_DNE;
bin/cp/cp.c
271
type = FILE_TO_FILE;
bin/cp/cp.c
273
type = FILE_TO_FILE;
bin/cp/cp.c
275
if (have_trailing_slash && type == FILE_TO_FILE) {
bin/cp/cp.c
286
type = FILE_TO_DIR;
bin/cp/cp.c
299
exit(copy(argv, type, fts_options));
bin/cp/cp.c
324
copy(char *argv[], enum op type, int fts_options)
bin/cp/cp.c
359
if (type != FILE_TO_FILE) {
bin/cp/cp.c
388
if (type != DIR_TO_DNE) {
bin/csh/csh.h
235
int type;
bin/csh/csh.h
249
#define SEEKEQ(a, b) ((a)->type == (b)->type && \
bin/csh/func.c
331
if (wp->w_end.type == F_SEEK && wp->w_end.f_seek == 0) {
bin/csh/func.c
423
nwp->w_end.type = F_SEEK;
bin/csh/func.c
458
nwp->w_end.type = F_SEEK;
bin/csh/func.c
481
whyles->w_end.type = I_SEEK;
bin/csh/func.c
593
search(int type, int level, Char *goal)
bin/csh/func.c
601
Stype = (Char)type;
bin/csh/func.c
603
if (type == T_GOTO) {
bin/csh/func.c
605
a.type = F_SEEK;
bin/csh/func.c
616
if (type != T_SWITCH || level != 0)
bin/csh/func.c
627
if (type == T_SWITCH && level == 0)
bin/csh/func.c
631
if (level == 0 && type == T_IF)
bin/csh/func.c
635
if (type == T_BRKSW) {
bin/csh/func.c
644
if (type == T_BREAK)
bin/csh/func.c
649
if (type == T_IF || type == T_ELSE)
bin/csh/func.c
653
if (type == T_SWITCH || type == T_BRKSW)
bin/csh/func.c
659
if ((type == T_IF || type == T_ELSE) &&
bin/csh/func.c
664
if (type == T_GOTO && getword(aword) && eq(aword, goal))
bin/csh/func.c
668
if (type == T_SWITCH || type == T_BRKSW)
bin/csh/func.c
674
if (type == T_BREAK)
bin/csh/func.c
678
if (type != T_GOTO && (type != T_SWITCH || level != 0))
bin/csh/func.c
683
if ((type == T_GOTO && eq(aword, goal)) ||
bin/csh/func.c
684
(type == T_SWITCH && eq(aword, STRdefault)))
bin/csh/func.c
813
if (whyles->w_end.type == F_SEEK && whyles->w_end.f_seek == 0) {
bin/csh/func.c
838
if (wp->w_end.type != I_SEEK && wp->w_start.type == wp->w_end.type &&
bin/csh/func.c
839
wp->w_start.type == o.type) {
bin/csh/func.c
840
if (wp->w_end.type == F_SEEK) {
bin/csh/lex.c
1004
return Strsave(type == 't' ? cp : STRNULL);
bin/csh/lex.c
1005
if (type == 't')
bin/csh/lex.c
1016
if (type == 'e')
bin/csh/lex.c
1022
return (Strsave(type == 'e' ? STRNULL : cp));
bin/csh/lex.c
1566
switch (aret = l->type) {
bin/csh/lex.c
1587
switch (l->type = aret) {
bin/csh/lex.c
920
subword(Char *cp, int type, int *adid)
bin/csh/lex.c
927
switch (type) {
bin/csh/lex.c
934
wp = domod(cp, type);
bin/csh/lex.c
986
domod(Char *cp, int type)
bin/csh/lex.c
991
switch (type) {
bin/csh/lex.c
996
if ((c != ' ' && c != '\t') || type == 'q')
bin/df/df.c
306
selected(const char *type, size_t len)
bin/df/df.c
314
if (!strncmp(type, *av, len))
bin/ed/ed.h
88
int type; /* command type */
bin/ed/undo.c
116
ustack[n].type ^= 1;
bin/ed/undo.c
137
if (ustack[u_p].type == UDEL) {
bin/ed/undo.c
49
push_undo_stack(int type, long from, long to)
bin/ed/undo.c
55
ustack[u_p].type = type;
bin/ed/undo.c
97
switch(ustack[n].type) {
bin/getfacl/getfacl.c
185
print_acl(char *path, acl_type_t type, int hflag, int iflag, int nflag,
bin/getfacl/getfacl.c
207
if (type == ACL_TYPE_DEFAULT) {
bin/getfacl/getfacl.c
212
type = ACL_TYPE_NFS4;
bin/getfacl/getfacl.c
228
acl = acl_get_link_np(path, type);
bin/getfacl/getfacl.c
230
acl = acl_get_file(path, type);
bin/getfacl/getfacl.c
237
if (type == ACL_TYPE_DEFAULT)
bin/getfacl/getfacl.c
270
print_acl_from_stdin(acl_type_t type, int hflag, int iflag, int nflag,
bin/getfacl/getfacl.c
279
if (print_acl(pathname, type, hflag, iflag, nflag,
bin/getfacl/getfacl.c
291
acl_type_t type = ACL_TYPE_ACCESS;
bin/getfacl/getfacl.c
304
type = ACL_TYPE_DEFAULT;
bin/getfacl/getfacl.c
328
error = print_acl_from_stdin(type, hflag, iflag, nflag,
bin/getfacl/getfacl.c
335
error = print_acl_from_stdin(type, hflag, iflag, nflag,
bin/getfacl/getfacl.c
340
error = print_acl(argv[i], type, hflag, iflag, nflag,
bin/ksh/c_ksh.c
481
if (vflag || (tp->type != CALIAS && tp->type != CEXEC
bin/ksh/c_ksh.c
482
&& tp->type != CTALIAS))
bin/ksh/c_ksh.c
484
switch (tp->type) {
bin/ksh/c_ksh.c
524
if (tp->type == CTALIAS)
bin/ksh/c_ksh.c
966
ap->type = tflag ? CTALIAS : CALIAS;
bin/ksh/c_sh.c
560
if (STOP_RETURN(ep->type)) {
bin/ksh/c_sh.c
601
for (ep = e; ep && !STOP_BRKCONT(ep->type); ep = ep->oenv)
bin/ksh/c_sh.c
602
if (ep->type == E_LOOP) {
bin/ksh/c_sh.c
748
if (t->left->type == TCOM)
bin/ksh/emacs.c
148
static void do_complete ARGS((int flags, Comp_type type));
bin/ksh/emacs.c
1767
do_complete(flags, type)
bin/ksh/emacs.c
1769
Comp_type type;
bin/ksh/emacs.c
1785
if (type == CT_LIST) {
bin/ksh/emacs.c
1808
if (type == CT_COMPLIST && !completed) {
bin/ksh/eval.c
167
int type; /* expansion type */
bin/ksh/eval.c
201
type = XBASE;
bin/ksh/eval.c
215
switch (type) {
bin/ksh/eval.c
248
type = comsub(&x, sp);
bin/ksh/eval.c
249
if (type == XCOM && (f&DOBLANK))
bin/ksh/eval.c
270
v.type = 10; /* not default */
bin/ksh/eval.c
294
type = varsub(&x, varname, sp, &stype, &slen);
bin/ksh/eval.c
295
if (type < 0) {
bin/ksh/eval.c
311
if (type == XBASE) { /* expand? */
bin/ksh/eval.c
401
type = XSUB;
bin/ksh/eval.c
430
type = XSUB;
bin/ksh/eval.c
446
type = XBASE;
bin/ksh/eval.c
472
type = XBASE;
bin/ksh/eval.c
486
type = XBASE;
bin/ksh/eval.c
494
type = XARG;
bin/ksh/eval.c
506
type = XBASE;
bin/ksh/eval.c
519
type = XARGSEP;
bin/ksh/eval.c
544
type = XBASE;
bin/ksh/eval.c
656
if (type == XBASE
bin/ksh/eval.c
866
if (t != NULL && t->type == TCOM && /* $(<file) */
bin/ksh/exec.c
100
if ((flags&XFORK) && !(flags&XEXEC) && t->type != TPIPE)
bin/ksh/exec.c
107
if (t->type == TCOM) {
bin/ksh/exec.c
1238
else if (tp && tp->type == CSHELL && tp->val.f == c_exec) {
bin/ksh/exec.c
135
if (t->ioact != NULL || t->type == TPIPE || t->type == TCOPROC) {
bin/ksh/exec.c
149
if (tp && tp->type == CSHELL
bin/ksh/exec.c
157
switch(t->type) {
bin/ksh/exec.c
172
while (t->type == TPIPE) {
bin/ksh/exec.c
195
while (t->type == TLIST) {
bin/ksh/exec.c
211
e->type = E_ERRH;
bin/ksh/exec.c
252
e->type = E_EXEC; /* no more need for error handler */
bin/ksh/exec.c
276
if (t->right != NULL && (rv == 0) == (t->type == TAND))
bin/ksh/exec.c
312
e->type = E_LOOP;
bin/ksh/exec.c
328
if (t->type == TFOR) {
bin/ksh/exec.c
352
e->type = E_LOOP;
bin/ksh/exec.c
368
while ((execute(t->left, XERROK) == 0) == (t->type == TWHILE))
bin/ksh/exec.c
383
for (t = t->left; t != NULL && t->type == TPAT; t = t->right)
bin/ksh/exec.c
490
while (tp && tp->type == CSHELL) {
bin/ksh/exec.c
549
if (keepasn_ok && tp && tp->type == CFUNC
bin/ksh/exec.c
586
switch (tp->type) {
bin/ksh/exec.c
659
e->type = E_FUNC;
bin/ksh/exec.c
734
texec.type = TEXEC;
bin/ksh/exec.c
804
tp->type = CFUNC;
bin/ksh/exec.c
883
tp->type = CSHELL;
bin/ksh/exec.c
950
if ((!tp || (tp->type == CTALIAS && !(tp->flag&ISSET)))
bin/ksh/exec.c
956
tp->type = CTALIAS;
bin/ksh/exec.c
959
tp->type = CEXEC;
bin/ksh/exec.c
984
tp->type = CFUNC;
bin/ksh/expr.c
137
static void evalerr ARGS((Expr_state *es, enum error_type type,
bin/ksh/expr.c
160
v.type = 0;
bin/ksh/expr.c
225
evalerr(es, type, str)
bin/ksh/expr.c
227
enum error_type type;
bin/ksh/expr.c
233
switch (type) {
bin/ksh/expr.c
516
es->val->type = 0;
bin/ksh/expr.c
579
vp->type = 0;
bin/ksh/io.c
444
maketemp(ap, type, tlist)
bin/ksh/io.c
446
Temp_type type;
bin/ksh/io.c
464
tp->type = type;
bin/ksh/lex.c
1054
if (s->type == SSTDIN)
bin/ksh/lex.c
1072
if (s->type == SFILE)
bin/ksh/lex.c
748
for (s = source; s->type == SALIAS; s = s->next)
bin/ksh/lex.c
844
while (source->type == SALIAS || source->type == SREREAD)
bin/ksh/lex.c
860
pushs(type, areap)
bin/ksh/lex.c
861
int type;
bin/ksh/lex.c
867
s->type = type;
bin/ksh/lex.c
876
if (type == SFILE || type == SSTDIN) {
bin/ksh/lex.c
892
switch (s->type) {
bin/ksh/lex.c
910
s->type = SWORDSEP;
bin/ksh/lex.c
916
s->type = SEOF;
bin/ksh/lex.c
919
s->type = SWORDS;
bin/ksh/lex.c
973
s->type = SEOF;
bin/ksh/lex.c
990
int interactive = Flag(FTALKING) && s->type == SSTDIN;
bin/ksh/lex.h
14
int type; /* input type */
bin/ksh/main.c
120
env.type = E_NONE;
bin/ksh/main.c
533
if (Flag(FIGNOREEOF) && s->type == SEOF
bin/ksh/main.c
535
s->type = SSTDIN;
bin/ksh/main.c
582
if (t != NULL && t->type == TEOF) {
bin/ksh/main.c
585
s->type = SSTDIN;
bin/ksh/main.c
590
s->type = SSTDIN;
bin/ksh/main.c
606
if (t != NULL && t->type != TEOF && interactive && really_exit)
bin/ksh/main.c
632
switch (e->type) {
bin/ksh/main.c
653
newenv(type)
bin/ksh/main.c
654
int type;
bin/ksh/main.c
659
ep->type = type;
bin/ksh/main.c
691
if (ep->type == E_NONE) { /* Main shell exiting? */
bin/ksh/sh.h
158
#define sizeofN(type, n) (sizeof(type) * (n))
bin/ksh/sh.h
215
short type; /* environment type - see below */
bin/ksh/sh.h
342
Temp_type type;
bin/ksh/syn.c
195
nested(type, smark, emark)
bin/ksh/syn.c
196
int type, smark, emark;
bin/ksh/syn.c
205
return (block(type, t, NOBLOCK, NOWORDS));
bin/ksh/syn.c
28
static struct op *nested ARGS((int type, int smark, int emark));
bin/ksh/syn.c
37
static struct op *block ARGS((int type, struct op *t1, struct op *t2,
bin/ksh/syn.c
39
static struct op *newtp ARGS((int type));
bin/ksh/syn.c
412
if (t->type == TCOM || t->type == TDBRACKET) {
bin/ksh/syn.c
632
block(type, t1, t2, wp)
bin/ksh/syn.c
633
int type;
bin/ksh/syn.c
639
t = newtp(type);
bin/ksh/syn.c
700
p->type = CKEYWD;
bin/ksh/syn.c
76
outtree = c_list(source->type == SSTRING);
bin/ksh/syn.c
777
newtp(type)
bin/ksh/syn.c
778
int type;
bin/ksh/syn.c
783
t->type = type;
bin/ksh/syn.c
833
for (; s && s->type == SALIAS; s = s->next)
bin/ksh/table.c
134
p->type = 0;
bin/ksh/table.h
15
int type; /* command type (see below), base (if INTEGER),
bin/ksh/tree.c
112
if (t->type == TFOR)
bin/ksh/tree.c
145
if (t->right == NULL || t->right->type != TELIF)
bin/ksh/tree.c
162
(t->type==TWHILE) ? "while" : "until",
bin/ksh/tree.c
224
int type = flag & IOTYPE;
bin/ksh/tree.c
227
expected = (type == IOREAD || type == IORDWR || type == IOHERE) ? 0
bin/ksh/tree.c
228
: (type == IOCAT || type == IOWRITE) ? 1
bin/ksh/tree.c
229
: (type == IODUP && (iop->unit == !(flag & IORDUP))) ?
bin/ksh/tree.c
235
switch (type) {
bin/ksh/tree.c
265
if (type == IOHERE) {
bin/ksh/tree.c
43
switch (t->type) {
bin/ksh/tree.c
490
r->type = t->type;
bin/ksh/tree.c
493
r->str = t->type == TCASE ? wdcopy(t->str, ap) : str_save(t->str, ap);
bin/ksh/tree.c
90
t->left, (t->type==TOR) ? "||" : "&&", t->right);
bin/ksh/tree.h
17
short type; /* operation type, see below */
bin/ksh/var.c
1183
new->type = vp->type;
bin/ksh/var.c
130
tp->type = names[i].v;
bin/ksh/var.c
193
vp->type = 0;
bin/ksh/var.c
271
vp->type = 0;
bin/ksh/var.c
287
vp->type = vq->type;
bin/ksh/var.c
311
s = vp->val.s + vp->type;
bin/ksh/var.c
327
base = (vp->type == 0) ? 10 : vp->type;
bin/ksh/var.c
394
vq->type = 0;
bin/ksh/var.c
423
vp->type = 0;
bin/ksh/var.c
453
return vp->type;
bin/ksh/var.c
455
s = vp->val.s + vp->type;
bin/ksh/var.c
515
if (vq->type == 0) /* default base */
bin/ksh/var.c
516
vq->type = base;
bin/ksh/var.c
602
vp->type = xp - vp->val.s; /* offset to value */
bin/ksh/var.c
701
s = t->val.s + t->type;
bin/ksh/var.c
708
t->type = 0;
bin/ksh/var.c
716
t->type = base;
bin/ksh/var.c
733
t->type = 0;
bin/ksh/var.c
750
vp->type = base;
bin/ksh/var.c
758
&& vpbase->type == 0)
bin/ksh/var.c
930
return tp && (tp->flag & ISSET) ? tp->type : V_NONE;
bin/ls/print.c
521
static int type = ACL_TYPE_ACCESS;
bin/ls/print.c
547
type = ACL_TYPE_NFS4;
bin/ls/print.c
556
type = ACL_TYPE_ACCESS;
bin/ls/print.c
566
facl = acl_get_link_np(name, type);
bin/pax/ar_subs.c
1095
if ((arcn->type != PAX_REG) && (arcn->type != PAX_CTG)) {
bin/pax/ar_subs.c
1099
if ((arcn->type == PAX_HLK) ||
bin/pax/ar_subs.c
1100
(arcn->type == PAX_HRG)) {
bin/pax/ar_subs.c
220
if (arcn->type == PAX_GLL || arcn->type == PAX_GLF) {
bin/pax/ar_subs.c
225
if (!(*frmt->rd_data)(arcn, -arcn->type, &cnt))
bin/pax/ar_subs.c
333
if (arcn->type == PAX_GLL || arcn->type == PAX_GLF) {
bin/pax/ar_subs.c
337
if (!(*frmt->rd_data)(arcn, -arcn->type, &cnt))
bin/pax/ar_subs.c
455
if ((arcn->type != PAX_REG) && (arcn->type != PAX_CTG)) {
bin/pax/ar_subs.c
461
if ((arcn->type == PAX_HLK) ||
bin/pax/ar_subs.c
462
(arcn->type == PAX_HRG))
bin/pax/ar_subs.c
613
if ((arcn->type == PAX_REG) || (arcn->type == PAX_HRG) ||
bin/pax/ar_subs.c
614
(arcn->type == PAX_CTG)) {
bin/pax/cpio.c
1106
if ((arcn->type == PAX_CTG) || (arcn->type == PAX_REG) ||
bin/pax/cpio.c
1107
(arcn->type == PAX_HRG))
bin/pax/cpio.c
1113
if (arcn->type != PAX_SLK)
bin/pax/cpio.c
125
arcn->type = PAX_FIF;
bin/pax/cpio.c
128
arcn->type = PAX_DIR;
bin/pax/cpio.c
131
arcn->type = PAX_BLK;
bin/pax/cpio.c
134
arcn->type = PAX_CHR;
bin/pax/cpio.c
137
arcn->type = PAX_SLK;
bin/pax/cpio.c
140
arcn->type = PAX_SCK;
bin/pax/cpio.c
150
arcn->type = PAX_REG;
bin/pax/cpio.c
176
last.type = PAX_REG;
bin/pax/cpio.c
397
if ((arcn->type != PAX_BLK) && (arcn->type != PAX_CHR))
bin/pax/cpio.c
400
switch(arcn->type) {
bin/pax/cpio.c
469
if ((arcn->type == PAX_CTG) || (arcn->type == PAX_REG))
bin/pax/cpio.c
471
if (arcn->type != PAX_SLK)
bin/pax/cpio.c
694
if ((arcn->type != PAX_BLK) && (arcn->type != PAX_CHR))
bin/pax/cpio.c
714
switch(arcn->type) {
bin/pax/cpio.c
791
if ((arcn->type == PAX_CTG) || (arcn->type == PAX_REG) ||
bin/pax/cpio.c
792
(arcn->type == PAX_HRG))
bin/pax/cpio.c
798
if (arcn->type != PAX_SLK)
bin/pax/cpio.c
993
if ((arcn->type != PAX_BLK) && (arcn->type != PAX_CHR))
bin/pax/cpio.c
997
switch(arcn->type) {
bin/pax/file_subs.c
277
if (pfflags && arcn->type != PAX_SLK)
bin/pax/file_subs.c
339
if (arcn->type == PAX_DIR)
bin/pax/file_subs.c
483
file_mode = arcn->sb.st_mode & FILEBITS(arcn->type == PAX_DIR);
bin/pax/file_subs.c
486
switch (arcn->type) {
bin/pax/file_subs.c
564
if ((ign = unlnk_exist(nm, arcn->type)) < 0)
bin/pax/file_subs.c
599
arcn->sb.st_mode &= ~SETBITS(arcn->type == PAX_DIR);
bin/pax/file_subs.c
603
if (arcn->type == PAX_DIR && strcmp(NM_CPIO, argv0) != 0) {
bin/pax/file_subs.c
626
FILEBITS(arcn->type == PAX_DIR)) |
bin/pax/file_subs.c
643
arcn->sb.st_atime, 0, (arcn->type == PAX_SLK) ? 1 : 0);
bin/pax/file_subs.c
646
if (pfflags && arcn->type != PAX_SLK)
bin/pax/file_subs.c
665
unlnk_exist(char *name, int type)
bin/pax/file_subs.c
688
if (type == PAX_DIR)
bin/pax/ftree.c
155
(ftnode->type != F_DIR || strcmp(ftnode->name, ".") != 0)) {
bin/pax/ftree.c
276
if (Mflag || !dflag || (arcn->type != PAX_DIR))
bin/pax/ftree.c
467
statbuf.st_mode = nodetoino(ftnode->type);
bin/pax/ftree.c
474
if (ftnode->type == F_BLOCK || ftnode->type == F_CHAR)
bin/pax/ftree.c
477
if (ftnode->type == F_LINK)
bin/pax/ftree.c
482
if (ftnode->flags & F_TYPE && nodetoino(ftnode->type)
bin/pax/ftree.c
487
inotype(nodetoino(ftnode->type)),
bin/pax/ftree.c
491
if (ftnode->type == F_DIR && (ftnode->flags & F_OPT))
bin/pax/ftree.c
524
if (ftnode->type == F_DIR && ftnode->child != NULL) {
bin/pax/ftree.c
661
arcn->type = PAX_DIR;
bin/pax/ftree.c
669
arcn->type = PAX_CHR;
bin/pax/ftree.c
672
arcn->type = PAX_BLK;
bin/pax/ftree.c
681
arcn->type = PAX_REG;
bin/pax/ftree.c
685
arcn->type = PAX_SLK;
bin/pax/ftree.c
713
arcn->type = PAX_SCK;
bin/pax/ftree.c
717
arcn->type = PAX_FIF;
bin/pax/gen_subs.c
148
if ((arcn->type == PAX_CHR) || (arcn->type == PAX_BLK))
bin/pax/gen_subs.c
159
if ((arcn->type == PAX_HLK) || (arcn->type == PAX_HRG))
bin/pax/gen_subs.c
161
else if (arcn->type == PAX_SLK)
bin/pax/pat_rep.c
352
if (!dflag && ((pt->pend != NULL) || (arcn->type == PAX_DIR))) {
bin/pax/pat_rep.c
685
if (((arcn->type == PAX_SLK) || (arcn->type == PAX_HLK) ||
bin/pax/pat_rep.c
686
(arcn->type == PAX_HRG)) &&
bin/pax/pat_rep.c
689
flags | (arcn->type == PAX_SLK ? SYML : 0))) != 0))
bin/pax/pat_rep.c
699
if ((arcn->type == PAX_SLK) || (arcn->type == PAX_HLK) ||
bin/pax/pat_rep.c
700
(arcn->type == PAX_HRG))
bin/pax/pat_rep.c
722
(arcn->type == PAX_HLK || arcn->type == PAX_HRG)) {
bin/pax/pat_rep.c
825
if ((arcn->type != PAX_HLK) && (arcn->type != PAX_HRG))
bin/pax/pax.h
124
int type; /* type of file node */
bin/pax/tables.c
152
if ((arcn->type == PAX_DIR) || (arcn->sb.st_nlink <= 1))
bin/pax/tables.c
181
if (arcn->type == PAX_REG)
bin/pax/tables.c
182
arcn->type = PAX_HRG;
bin/pax/tables.c
184
arcn->type = PAX_HLK;
bin/pax/tables.c
238
if ((arcn->sb.st_nlink <= 1) || (arcn->type == PAX_DIR) ||
bin/pax/tables.c
239
(arcn->type == PAX_HLK) || (arcn->type == PAX_HRG))
bin/pax/tar.c
1001
longlink(ARCHD *arcn, int type)
bin/pax/tar.c
1007
larc.type = type;
bin/pax/tar.c
1010
switch (type) {
bin/pax/tar.c
1020
errx(1, "Invalid type in GNU longlink %d", type);
bin/pax/tar.c
1061
switch (arcn->type) {
bin/pax/tar.c
1135
switch(arcn->type) {
bin/pax/tar.c
1143
if (arcn->type == PAX_CHR)
bin/pax/tar.c
1163
if (arcn->type == PAX_SLK)
bin/pax/tar.c
1165
else if (arcn->type == PAX_GLL)
bin/pax/tar.c
1181
if (arcn->type == PAX_GLF) {
bin/pax/tar.c
1191
if (arcn->type == PAX_CTG)
bin/pax/tar.c
1252
if ((arcn->type == PAX_CTG) || (arcn->type == PAX_REG))
bin/pax/tar.c
507
arcn->type = PAX_SLK;
bin/pax/tar.c
515
arcn->type = PAX_HLK;
bin/pax/tar.c
531
arcn->type = PAX_GLF;
bin/pax/tar.c
533
arcn->type = PAX_GLL;
bin/pax/tar.c
550
arcn->type = PAX_DIR;
bin/pax/tar.c
559
arcn->type = PAX_REG;
bin/pax/tar.c
600
switch(arcn->type) {
bin/pax/tar.c
641
if (arcn->type == PAX_DIR)
bin/pax/tar.c
661
if (arcn->type == PAX_DIR) {
bin/pax/tar.c
671
} else if (arcn->type == PAX_SLK) {
bin/pax/tar.c
679
} else if ((arcn->type == PAX_HLK) || (arcn->type == PAX_HRG)) {
bin/pax/tar.c
727
if ((arcn->type == PAX_CTG) || (arcn->type == PAX_REG))
bin/pax/tar.c
895
arcn->type = PAX_FIF;
bin/pax/tar.c
899
arcn->type = PAX_DIR;
bin/pax/tar.c
917
arcn->type = PAX_BLK;
bin/pax/tar.c
920
arcn->type = PAX_CHR;
bin/pax/tar.c
930
arcn->type = PAX_SLK;
bin/pax/tar.c
933
arcn->type = PAX_HLK;
bin/pax/tar.c
949
arcn->type = PAX_GLF;
bin/pax/tar.c
951
arcn->type = PAX_GLL;
bin/pax/tar.c
974
arcn->type = PAX_REG;
bin/ps/keyword.c
72
.off = POFF(of), .type = UINT32, .fmt = UIDFMT }
bin/ps/keyword.c
78
.off = POFF(of), .type = INT32, .fmt = PIDFMT }
bin/ps/keyword.c
82
.off = LOFF(of), .type = ty, .fmt = fm }
bin/ps/keyword.c
85
.off = POFF(of), .type = ty, .fmt = fm }
bin/ps/keyword.c
88
.off = POFF(of), .type = ty, .fmt = fm }
bin/ps/keyword.c
95
.off = of, .type = ty }
bin/ps/print.c
1206
switch (v->type) {
bin/ps/print.c
1217
err(EXIT_FAILURE, "Bad type %d", v->type);
bin/ps/print.c
1245
#define GET(type) (*(type *)bp)
bin/ps/print.c
1254
switch (v->type) {
bin/ps/print.c
1364
switch (v->type) {
bin/ps/print.c
1424
errx(EXIT_FAILURE, "unknown type %d", v->type);
bin/ps/ps.c
421
if (vent->var->flag & LWP || vent->var->type == UNSPECIFIED)
bin/ps/ps.c
424
if (vent->var->type == PCPU)
bin/ps/ps.c
429
if (vent->var->type == PCPU) {
bin/ps/ps.c
678
#define RDIFF(type) RDIFF_N(type, 0); continue
bin/ps/ps.c
686
switch (v->type) {
bin/ps/ps.h
87
enum type type; /* type of element */
bin/sh/eval.c
1307
getfuncnode(cmdentry.u.func)->type,
bin/sh/eval.c
1308
NODETYPENAME(getfuncnode(cmdentry.u.func)->type),
bin/sh/eval.c
1570
if (n && n->type == NCMD && n->ncmd.args)
bin/sh/eval.c
282
getpid(), n, NODETYPENAME(n->type), n->type, flags));
bin/sh/eval.c
287
switch (n->type) {
bin/sh/eval.c
381
n->type, NODETYPENAME(n->type));
bin/sh/eval.c
383
out1fmt("Node type = %d\n", n->type);
bin/sh/eval.c
411
CTRACE(DBG_EVAL, ("evalloop %s:", NODETYPENAME(n->type)));
bin/sh/eval.c
432
if (n->type == NWHILE) {
bin/sh/eval.c
525
if (cp->type == NCLISTCONT)
bin/sh/eval.c
553
int backgnd = (n->type == NBACKGND);
bin/sh/eval.c
606
switch (redir->type) {
bin/sh/eval.c
788
if (n->type == NCMD) {
bin/sh/jobs.c
1934
switch (n->type) {
bin/sh/jobs.c
2021
switch (n->type) { /* switch (not if) for later */
bin/sh/jobs.c
2065
if (n->type == NTOFD || n->type == NFROMFD) {
bin/sh/parser.c
1610
np->type = NAPPEND;
bin/sh/parser.c
1612
np->type = NCLOBBER;
bin/sh/parser.c
1614
np->type = NTOFD;
bin/sh/parser.c
1616
np->type = NTO;
bin/sh/parser.c
1630
np->type = NHERE;
bin/sh/parser.c
1646
np->type = NFROMFD;
bin/sh/parser.c
1650
np->type = NFROMTO;
bin/sh/parser.c
1654
np->type = NFROM;
bin/sh/parser.c
1663
VTRACE(DBG_LEXER, (" ->%"PRIdsNT" fd=%d\n", NODETYPENAME(np->type),fd));
bin/sh/parser.c
199
if (n2->type == NCMD || n2->type == NPIPE)
bin/sh/parser.c
201
else if (n2->type == NREDIR)
bin/sh/parser.c
202
n2->type = NBACKGND;
bin/sh/parser.c
205
n3->type = NBACKGND;
bin/sh/parser.c
216
n1->type = NSEMI;
bin/sh/parser.c
222
n3->type = NSEMI;
bin/sh/parser.c
2712
n.narg.type = NARG;
bin/sh/parser.c
280
n3->type = t;
bin/sh/parser.c
310
pipenode->type = NPIPE;
bin/sh/parser.c
329
n2->type = (negate & 1) ? NNOT : NDNOT;
bin/sh/parser.c
376
n1->type = NIF;
bin/sh/parser.c
384
n2->type = NIF;
bin/sh/parser.c
401
n1->type = (lasttoken == TWHILE)? NWHILE : NUNTIL;
bin/sh/parser.c
412
n1->type = NFOR;
bin/sh/parser.c
435
n2->type = NARG;
bin/sh/parser.c
461
n1->type = NCASE;
bin/sh/parser.c
489
cp->type = NCLIST;
bin/sh/parser.c
514
cp->type = NCLISTCONT;
bin/sh/parser.c
526
n1->type = NSUBSHELL;
bin/sh/parser.c
595
if (n1 == NULL || n1->type != NSUBSHELL) {
bin/sh/parser.c
597
n2->type = NREDIR;
bin/sh/parser.c
610
n2->type = (negate & 1) ? NNOT : NDNOT;
bin/sh/parser.c
690
n->type = NDEFUN;
bin/sh/parser.c
706
n->type = NCMD;
bin/sh/parser.c
719
n2->type = (negate & 1) ? NNOT : NDNOT;
bin/sh/parser.c
734
n->type = NARG;
bin/sh/parser.c
774
if (n->type == NHERE) {
bin/sh/parser.c
779
n->type = NXHERE;
bin/sh/parser.c
780
VTRACE(DBG_PARSE, ("Here document %d @%d\n", n->type, plinno));
bin/sh/parser.c
811
} else if (n->type == NTOFD || n->type == NFROMFD) {
bin/sh/parser.c
984
here->here->nhere.type == NHERE);
bin/sh/parser.c
988
if (here->here->nhere.type == NHERE)
bin/sh/redir.c
1202
if (n->type < MIN_REDIR || n->type > MAX_REDIR ||
bin/sh/redir.c
1203
redir_sym[n->type - MIN_REDIR] == NULL)
bin/sh/redir.c
1213
if ((redir_sym[n->type - MIN_REDIR][0] == '<' && n->nfile.fd != 0) ||
bin/sh/redir.c
1214
(redir_sym[n->type - MIN_REDIR][0] == '>' && n->nfile.fd != 1))
bin/sh/redir.c
1217
outstr(redir_sym[n->type - MIN_REDIR], out);
bin/sh/redir.c
1219
switch (n->type) {
bin/sh/redir.c
287
if ((n->nfile.type == NTOFD || n->nfile.type == NFROMFD) &&
bin/sh/redir.c
387
switch (redir->nfile.type) {
bin/sh/redir.c
457
"<>"[redir->nfile.type==NTOFD], redir->ndup.dupfd));
bin/sh/redir.c
461
"<>"[redir->nfile.type==NTOFD]));
bin/sh/show.c
321
switch (n->type) {
bin/sh/show.c
372
if (n->type == NBACKGND)
bin/sh/show.c
417
if (n->nif.elsepart && n->nif.elsepart->type == NIF) {
bin/sh/show.c
513
if (cp->type == NCLISTCONT)
bin/sh/show.c
534
asprintf(&str, "<node type %d [%s]>", n->type,
bin/sh/show.c
535
NODETYPENAME(n->type));
bin/sh/show.c
581
switch (np->nfile.type) {
bin/sh/show.c
598
if (np->nfile.type == NTOFD || np->nfile.type == NFROMFD) {
bin/sh/show.c
610
if (np->nfile.type == NHERE || np->nfile.type == NXHERE) {
bin/sh/show.c
611
if (np->nfile.type == NHERE)
bin/sh/show.c
638
if (arg->type != NARG) {
bin/sh/show.c
639
asprintf(&s, "<node type %d> ! NARG\n", arg->type);
common/dist/zlib/inftrees.c
148
if (left > 0 && (type == CODES || mmax != 1))
common/dist/zlib/inftrees.c
192
switch (type) {
common/dist/zlib/inftrees.c
218
if ((type == LENS && used > ENOUGH_LENS) ||
common/dist/zlib/inftrees.c
219
(type == DISTS && used > ENOUGH_DISTS))
common/dist/zlib/inftrees.c
287
if ((type == LENS && used > ENOUGH_LENS) ||
common/dist/zlib/inftrees.c
288
(type == DISTS && used > ENOUGH_DISTS))
common/dist/zlib/inftrees.c
48
int ZLIB_INTERNAL inflate_table(codetype type, unsigned short FAR *lens,
common/dist/zlib/inftrees.h
60
int ZLIB_INTERNAL inflate_table(codetype type, unsigned short FAR *lens,
common/lib/libc/stdlib/random.c
411
uint32_t type;
common/lib/libc/stdlib/random.c
418
type = (uint32_t)(new_state[0] % MAX_TYPES);
common/lib/libc/stdlib/random.c
426
switch(type) {
common/lib/libc/stdlib/random.c
432
rand_type = type;
common/lib/libc/stdlib/random.c
433
rand_deg = degrees[type];
common/lib/libc/stdlib/random.c
434
rand_sep = seps[type];
common/lib/libprop/prop_intern.c
127
if (type == _PROP_TAG_TYPE_END) {
common/lib/libprop/prop_intern.c
138
if (type != _PROP_TAG_TYPE_END &&
common/lib/libprop/prop_intern.c
139
type != _PROP_TAG_TYPE_EITHER) {
common/lib/libprop/prop_intern.c
148
if (type != _PROP_TAG_TYPE_START &&
common/lib/libprop/prop_intern.c
149
type != _PROP_TAG_TYPE_EITHER) {
common/lib/libprop/prop_intern.c
96
const char *tag, _prop_tag_type_t type)
common/lib/libprop/prop_kern.c
153
prop_type_t type)
common/lib/libprop/prop_kern.c
171
if (obj != NULL && type != PROP_TYPE_UNKNOWN &&
common/lib/libprop/prop_kern.c
172
prop_object_type(obj) != type) {
common/lib/libprop/prop_kern.c
189
prop_type_t type)
common/lib/libprop/prop_kern.c
193
rv = _prop_object_internalize_from_pref_with_type(prefp, objp, type);
common/lib/libprop/prop_kern.c
217
prop_object_t *objp, prop_type_t type)
common/lib/libprop/prop_kern.c
219
if (_prop_object_internalize_from_pref_with_type(prefp, objp, type)) {
common/lib/libprop/prop_kern.c
255
prop_type_t type)
common/lib/libprop/prop_kern.c
264
rv = _prop_object_internalize_from_pref_with_type(&pref, objp, type);
common/lib/libprop/prop_kern.c
300
prop_type_t type)
common/lib/libprop/prop_kern.c
322
error = _prop_object_internalize_from_pref_with_type(&pref, objp, type);
common/lib/libprop/prop_kern.c
378
size_t lim, prop_type_t type)
common/lib/libprop/prop_kern.c
402
type != PROP_TYPE_UNKNOWN && prop_object_type(obj) != type) {
common/lib/libprop/prop_kern.c
462
const u_long cmd, prop_object_t *objp, size_t lim, prop_type_t type)
common/lib/libprop/prop_kern.c
467
return _prop_object_copyin_size(pref, objp, lim, type);
common/lib/libx86emu/x86emu.c
42
static void x86emu_intr_raise (struct X86EMU *, uint8_t type);
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
109
#define SLIST_HEAD(name, type) \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
111
struct type *slh_first; /* first element */ \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
117
#define SLIST_ENTRY(type) \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
119
struct type *sle_next; /* next element */ \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
150
#define SLIST_REMOVE(head, elm, type, field) do { \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
155
struct type *curelm = SLIST_FIRST((head)); \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
170
#define STAILQ_HEAD(name, type) \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
172
struct type *stqh_first;/* first element */ \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
173
struct type **stqh_last;/* addr of last next element */ \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
179
#define STAILQ_ENTRY(type) \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
181
struct type *stqe_next; /* next element */ \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
219
#define STAILQ_LAST(head, type, field) \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
222
((struct type *) \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
223
((char *)((head)->stqh_last) - __offsetof(struct type, field))))
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
227
#define STAILQ_REMOVE(head, elm, type, field) do { \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
232
struct type *curelm = STAILQ_FIRST((head)); \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
255
#define LIST_HEAD(name, type) \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
257
struct type *lh_first; /* first element */ \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
263
#define LIST_ENTRY(type) \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
265
struct type *le_next; /* next element */ \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
266
struct type **le_prev; /* address of previous next element */ \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
320
#define TAILQ_HEAD(name, type) \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
322
struct type *tqh_first; /* first element */ \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
323
struct type **tqh_last; /* addr of last next element */ \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
329
#define TAILQ_ENTRY(type) \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
331
struct type *tqe_next; /* next element */ \
crypto/dist/ipsec-tools/src/include-glibc/sys/queue.h
332
struct type **tqe_prev; /* address of previous next element */ \
crypto/dist/ipsec-tools/src/libipsec/libpfkey.h
72
u_int type;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1340
p = pfkey_setsadbmsg((void *)newmsg, ep, sa_parms->type, (u_int)len,
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1484
pfkey_send_x2(int so, u_int type, u_int satype, u_int mode,
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1528
p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len, satype, 0,
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1568
pfkey_send_x3(int so, u_int type, u_int satype)
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1576
switch (type) {
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1608
p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len, satype, 0,
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1628
pfkey_send_x4(int so, u_int type, struct sockaddr *src, u_int prefs,
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1679
p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len,
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1716
pfkey_send_x5(int so, u_int type, u_int32_t spid)
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1734
p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len,
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2200
pfkey_setsadbmsg(caddr_t buf, caddr_t lim, u_int type, u_int tlen,
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2214
p->sadb_msg_type = type;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2327
pfkey_setsadbkey(caddr_t buf, caddr_t lim, u_int type, caddr_t key,
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2341
p->sadb_key_exttype = type;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2355
pfkey_setsadblifetime(caddr_t buf, caddr_t lim, u_int type, u_int32_t l_alloc,
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2369
p->sadb_lifetime_exttype = type;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2371
switch (type) {
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2421
pfkey_set_natt_type(caddr_t buf, caddr_t lim, u_int type, u_int8_t l_natt_type)
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2434
p->sadb_x_nat_t_type_exttype = type;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2441
pfkey_set_natt_port(caddr_t buf, caddr_t lim, u_int type, u_int16_t l_natt_port)
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2454
p->sadb_x_nat_t_port_exttype = type;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2463
pfkey_set_natt_frag(caddr_t buf, caddr_t lim, u_int type,
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2477
p->sadb_x_nat_t_frag_exttype = type;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2486
pfkey_setsecctx(caddr_t buf, caddr_t lim, u_int type, u_int8_t ctx_doi,
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2500
p->sadb_x_sec_exttype = type;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2526
psaa.type = SADB_UPDATE;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2562
psaa.type = SADB_UPDATE;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2601
psaa.type = SADB_ADD;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2637
psaa.type = SADB_ADD;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
315
pfkey_set_softrate(u_int type, u_int rate)
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
322
switch (type) {
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
346
pfkey_get_softrate(u_int type)
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
348
switch (type) {
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
544
sa_parms->type = SADB_UPDATE;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
563
sa_parms->type = SADB_ADD;
crypto/dist/ipsec-tools/src/racoon/algorithm.c
327
alg_oakley_hashdef_doi(int type)
crypto/dist/ipsec-tools/src/racoon/algorithm.c
332
if (type == oakley_hashdef[i].type) {
crypto/dist/ipsec-tools/src/racoon/algorithm.c
390
alg_oakley_hmacdef_doi(int type)
crypto/dist/ipsec-tools/src/racoon/algorithm.c
395
if (type == oakley_hmacdef[i].type) {
crypto/dist/ipsec-tools/src/racoon/algorithm.c
457
alg_oakley_encdef_doi(int type)
crypto/dist/ipsec-tools/src/racoon/algorithm.c
462
if (type == oakley_encdef[i].type) {
crypto/dist/ipsec-tools/src/racoon/algorithm.c
574
alg_ipsec_encdef_doi(int type)
crypto/dist/ipsec-tools/src/racoon/algorithm.c
579
if (type == ipsec_encdef[i].type) {
crypto/dist/ipsec-tools/src/racoon/algorithm.c
613
alg_ipsec_hmacdef_doi(int type)
crypto/dist/ipsec-tools/src/racoon/algorithm.c
618
if (type == ipsec_hmacdef[i].type) {
crypto/dist/ipsec-tools/src/racoon/algorithm.c
639
alg_ipsec_compdef_doi(int type)
crypto/dist/ipsec-tools/src/racoon/algorithm.c
644
if (type == ipsec_compdef[i].type) {
crypto/dist/ipsec-tools/src/racoon/algorithm.c
678
alg_oakley_dhdef_doi(int type)
crypto/dist/ipsec-tools/src/racoon/algorithm.c
683
if (type == oakley_dhdef[i].type) {
crypto/dist/ipsec-tools/src/racoon/algorithm.c
715
alg_oakley_authdef_doi(int type)
crypto/dist/ipsec-tools/src/racoon/algorithm.c
720
if (type == oakley_authdef[i].type) {
crypto/dist/ipsec-tools/src/racoon/algorithm.c
745
default_keylen(int class, int type)
crypto/dist/ipsec-tools/src/racoon/algorithm.c
756
switch (type) {
crypto/dist/ipsec-tools/src/racoon/algorithm.c
776
check_keylen(int class, int type, int len)
crypto/dist/ipsec-tools/src/racoon/algorithm.c
792
switch (type) {
crypto/dist/ipsec-tools/src/racoon/algorithm.c
810
switch (type) {
crypto/dist/ipsec-tools/src/racoon/algorithm.c
862
algtype2doi(int class, int type)
crypto/dist/ipsec-tools/src/racoon/algorithm.c
868
res = alg_ipsec_encdef_doi(type);
crypto/dist/ipsec-tools/src/racoon/algorithm.c
871
res = alg_ipsec_hmacdef_doi(type);
crypto/dist/ipsec-tools/src/racoon/algorithm.c
874
res = alg_ipsec_compdef_doi(type);
crypto/dist/ipsec-tools/src/racoon/algorithm.c
877
res = alg_oakley_encdef_doi(type);
crypto/dist/ipsec-tools/src/racoon/algorithm.c
880
res = alg_oakley_hashdef_doi(type);
crypto/dist/ipsec-tools/src/racoon/algorithm.c
883
res = alg_oakley_dhdef_doi(type);
crypto/dist/ipsec-tools/src/racoon/algorithm.c
886
res = alg_oakley_authdef_doi(type);
crypto/dist/ipsec-tools/src/racoon/algorithm.h
132
int type;
crypto/dist/ipsec-tools/src/racoon/algorithm.h
143
int type;
crypto/dist/ipsec-tools/src/racoon/algorithm.h
154
int type;
crypto/dist/ipsec-tools/src/racoon/algorithm.h
166
int type;
crypto/dist/ipsec-tools/src/racoon/algorithm.h
174
int type;
crypto/dist/ipsec-tools/src/racoon/cfparse.y
1666
id_b->type = idtype2doi($1);
crypto/dist/ipsec-tools/src/racoon/cfparse.y
1695
id_b->type = idtype2doi($2);
crypto/dist/ipsec-tools/src/racoon/cfparse.y
2366
new->next = NULL; new->type = $2;
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1672
static vchar_t *eay_hmac_one(vchar_t *key, vchar_t *data, const EVP_MD *type)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1676
if ((res = vmalloc(EVP_MD_size(type))) == 0)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1679
if (!HMAC(type, (void *) key->v, key->l,
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1688
static vchar_t *eay_digest_one(vchar_t *data, const EVP_MD *type)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1692
if ((res = vmalloc(EVP_MD_size(type))) == 0)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1696
(void *) res->v, NULL, type, NULL)) {
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
540
eay_get_x509subjectaltname(vchar_t *cert, char **altname, int *type, int pos)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
549
*type = GENT_OTHERNAME;
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
566
if (gen->type == GEN_DNS ||
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
567
gen->type == GEN_EMAIL ||
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
568
gen->type == GEN_URI )
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
585
*type = gen->type;
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
589
else if (gen->type == GEN_IPADD)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
632
*type = gen->type;
crypto/dist/ipsec-tools/src/racoon/dnssec.c
109
type = ISAKMP_CERT_X509SIGN;
crypto/dist/ipsec-tools/src/racoon/dnssec.c
124
cert->v[0] = type;
crypto/dist/ipsec-tools/src/racoon/dnssec.c
64
int type;
crypto/dist/ipsec-tools/src/racoon/dnssec.c
81
switch (id_b->type) {
crypto/dist/ipsec-tools/src/racoon/dnssec.c
97
s_ipsecdoi_ident(id_b->type));
crypto/dist/ipsec-tools/src/racoon/eaytest.c
226
int type;
crypto/dist/ipsec-tools/src/racoon/eaytest.c
388
error = eay_get_x509subjectaltname(&c, &str, &type, pos);
crypto/dist/ipsec-tools/src/racoon/eaytest.c
395
printf("SubjectAltName: %d: %s\n", type, str);
crypto/dist/ipsec-tools/src/racoon/evt.c
112
if (evttype_map[i].newtype == type)
crypto/dist/ipsec-tools/src/racoon/evt.c
117
type = evttype_map[i].oldtype;
crypto/dist/ipsec-tools/src/racoon/evt.c
118
if (type < 0)
crypto/dist/ipsec-tools/src/racoon/evt.c
134
type = EVTT_OVERFLOW;
crypto/dist/ipsec-tools/src/racoon/evt.c
160
evtdump->type = type;
crypto/dist/ipsec-tools/src/racoon/evt.c
215
evtmsg_create(int type, vchar_t *optdata)
crypto/dist/ipsec-tools/src/racoon/evt.c
235
e->evt.ec_type = type;
crypto/dist/ipsec-tools/src/racoon/evt.c
280
evt_generic(int type, vchar_t *optdata)
crypto/dist/ipsec-tools/src/racoon/evt.c
284
if ((e = evtmsg_create(type, optdata)) == NULL)
crypto/dist/ipsec-tools/src/racoon/evt.c
288
evt_push(&e->evt.ec_ph1src, &e->evt.ec_ph1dst, type, optdata);
crypto/dist/ipsec-tools/src/racoon/evt.c
294
evt_phase1(const struct ph1handle *ph1, int type, vchar_t *optdata)
crypto/dist/ipsec-tools/src/racoon/evt.c
298
if ((e = evtmsg_create(type, optdata)) == NULL)
crypto/dist/ipsec-tools/src/racoon/evt.c
308
evt_push(&e->evt.ec_ph1src, &e->evt.ec_ph1dst, type, optdata);
crypto/dist/ipsec-tools/src/racoon/evt.c
314
evt_phase2(const struct ph2handle *ph2, int type, vchar_t *optdata)
crypto/dist/ipsec-tools/src/racoon/evt.c
319
if ((e = evtmsg_create(type, optdata)) == NULL)
crypto/dist/ipsec-tools/src/racoon/evt.c
334
evt_push(&e->evt.ec_ph1src, &e->evt.ec_ph1dst, type, optdata);
crypto/dist/ipsec-tools/src/racoon/evt.c
99
evt_push(struct sockaddr_storage *src, struct sockaddr_storage *dst, int type, vchar_t *optdata)
crypto/dist/ipsec-tools/src/racoon/evt.h
121
void evt_generic(int type, vchar_t *optdata);
crypto/dist/ipsec-tools/src/racoon/evt.h
122
void evt_phase1(const struct ph1handle *ph1, int type, vchar_t *optdata);
crypto/dist/ipsec-tools/src/racoon/evt.h
123
void evt_phase2(const struct ph2handle *ph2, int type, vchar_t *optdata);
crypto/dist/ipsec-tools/src/racoon/evt.h
134
#define evt_generic(type, optdata) ;
crypto/dist/ipsec-tools/src/racoon/evt.h
135
#define evt_phase1(ph1, type, optdata) ;
crypto/dist/ipsec-tools/src/racoon/evt.h
136
#define evt_phase2(ph2, type, optdata) ;
crypto/dist/ipsec-tools/src/racoon/evt.h
47
int type;
crypto/dist/ipsec-tools/src/racoon/getcertsbyname.c
122
int type, keytag, algorithm;
crypto/dist/ipsec-tools/src/racoon/getcertsbyname.c
161
GETSHORT(type, cp); /* type */
crypto/dist/ipsec-tools/src/racoon/getcertsbyname.c
170
type, keytag, algorithm, rdlength);
crypto/dist/ipsec-tools/src/racoon/getcertsbyname.c
174
cur->ci_next = getnewci(type, keytag, algorithm,
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
339
netlink_add_rtattr_l(struct nlmsghdr *n, int maxlen, int type,
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
349
rta->rta_type = type;
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
357
netlink_enumerate(fd, family, type)
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
360
int type;
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
374
req.nlh.nlmsg_type = type;
crypto/dist/ipsec-tools/src/racoon/handler.h
390
u_char type; /* payload type of mine */
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1177
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1180
if (pa->type != ISAKMP_NPTYPE_P) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1182
"Invalid payload type=%u\n", pa->type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1324
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1330
if (pa->type != ISAKMP_NPTYPE_T) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1332
"Invalid payload type=%u\n", pa->type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1673
int flag, type, tlen, ld_type = -1;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1682
type = ntohs(d->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1683
flag = ntohs(d->type) & ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1688
s_ipsecdoi_attr(type), flag,
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1689
s_ipsecdoi_attr_v(type, lorv));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1691
switch (type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1977
int flag, type;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1984
type = ntohs(d->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1985
flag = ntohs(d->type) & ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1990
s_oakley_attr(type), flag,
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1991
s_oakley_attr_v(type, lorv));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
1997
switch (type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2010
type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2020
lorv, type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2024
switch (type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2115
"attr type=%u isn't supported.\n", type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2140
"attr type=%u isn't supported.\n", type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2151
"invalid attribute type %d.\n", type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2189
int flag, type = 0;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2198
type = ntohs(d->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2199
flag = ntohs(d->type) & ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2204
s_ipsecdoi_attr(type), flag,
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2205
s_ipsecdoi_attr_v(type, lorv));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2207
if (type < sizeof(attrseen)/sizeof(attrseen[0]))
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2208
attrseen[type]++;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2210
switch (type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2366
"attr type=%u isn't supported.\n", type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2371
"invalid attribute type %d.\n", type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2409
int flag, type = 0;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2418
type = ntohs(d->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2419
flag = ntohs(d->type) & ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2424
type, flag, lorv);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2426
if (type < sizeof(attrseen)/sizeof(attrseen[0]))
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2427
attrseen[type]++;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2429
switch (type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2508
"invalid attr type=%u.\n", type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2516
"attr type=%u isn't supported.\n", type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2521
"invalid attribute type %d.\n", type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2540
"attr AUTH must be present for AH.\n", type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3329
if (id_bs->type != id_bt->type)
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3337
if ((id_bs->type == IPSECDOI_ID_IPV4_ADDR)&&
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3338
(id_bt->type == IPSECDOI_ID_IPV4_ADDR_SUBNET)) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3343
if ((id_bs->type == IPSECDOI_ID_IPV4_ADDR_SUBNET)&&
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3344
(id_bt->type == IPSECDOI_ID_IPV4_ADDR)) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3350
if ((id_bs->type == IPSECDOI_ID_IPV6_ADDR)&&
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3351
(id_bt->type == IPSECDOI_ID_IPV6_ADDR_SUBNET)) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3356
if ((id_bs->type == IPSECDOI_ID_IPV6_ADDR_SUBNET)&&
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3357
(id_bt->type == IPSECDOI_ID_IPV6_ADDR)) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3364
s_ipsecdoi_ident(id_bs->type),
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3365
s_ipsecdoi_ident(id_bt->type));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3380
switch (id_bt->type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3426
id_bt->type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3446
s_ipsecdoi_ident(id_bs->type) );
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3450
s_ipsecdoi_ident(id_bs->type));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3469
s_ipsecdoi_ident(id_bs->type));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3508
if (id_b->type != IPSECDOI_ID_IPV4_ADDR
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3509
&& id_b->type != IPSECDOI_ID_IPV6_ADDR) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3512
"but %s.\n", s_ipsecdoi_ident(id_b->type));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3518
switch (id_b->type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3525
s_ipsecdoi_ident(id_b->type));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3530
if (id_b->type == IPSECDOI_ID_IPV4_ADDR ||
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3531
id_b->type == IPSECDOI_ID_IPV6_ADDR) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3589
id_b.type = IPSECDOI_ID_FQDN;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3593
id_b.type = IPSECDOI_ID_USER_FQDN;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3597
id_b.type = IPSECDOI_ID_KEY_ID;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3601
id_b.type = IPSECDOI_ID_DER_ASN1_DN;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3634
id_b.type = IPSECDOI_ID_IPV4_ADDR;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3640
id_b.type = IPSECDOI_ID_IPV6_ADDR;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3680
"use ID type of %s\n", s_ipsecdoi_ident(id_b.type));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3694
set_identifier(vchar_t **vpp, int type, const vchar_t * const value)
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3696
return set_identifier_qual(vpp, type, value, IDQUAL_UNSPEC);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3700
set_identifier_qual(vchar_t **vpp, int type, const vchar_t * const value,
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3707
if( type == IDTYPE_FQDN || type == IDTYPE_USERFQDN){
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3709
"No %s\n", type == IDTYPE_FQDN ? "fqdn":"user fqdn");
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3715
switch (type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3720
"Empty %s\n", type == IDTYPE_FQDN ? "fqdn":"user fqdn");
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3886
s_ipsecdoi_ident(((struct ipsecdoi_id_b *)iph2->id->v)->type));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3910
s_ipsecdoi_ident(((struct ipsecdoi_id_b *)iph2->id_p->v)->type));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
392
int flag, type;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3923
int type, len1, len2;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3935
type = IPSECDOI_ID_IPV4_ADDR;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3938
type = IPSECDOI_ID_IPV4_ADDR_SUBNET;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3948
type = IPSECDOI_ID_IPV6_ADDR;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3951
type = IPSECDOI_ID_IPV6_ADDR_SUBNET;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3975
((struct ipsecdoi_id_b *)new->v)->type = type;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4013
int type, len1, len2;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4023
type = IPSECDOI_ID_IPV4_ADDR_RANGE;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4029
type = IPSECDOI_ID_IPV6_ADDR_RANGE;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4050
((struct ipsecdoi_id_b *)new->v)->type = type;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4096
switch (id_b->type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4132
"unsupported ID type %d\n", id_b->type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4137
switch (id_b->type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
414
type = ntohs(d->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
415
flag = ntohs(d->type) & ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4155
switch (id_b->type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
419
s_oakley_attr(type), flag,
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
420
s_oakley_attr_v(type, ntohs(d->lorv)));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4223
switch (id_b->type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
423
switch (type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4256
switch (id_b->type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4273
switch (id_b->type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4400
"unknown ID type %d\n", id_b->type);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4424
int flag, type;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4444
type = ntohs(d->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4445
flag = ntohs(d->type) & ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4449
s_ipsecdoi_attr(type), flag,
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4450
s_ipsecdoi_attr_v(type, ntohs(d->lorv)));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4452
switch (type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
4472
|| (ntohs(prev->type) & ~ISAKMP_GEN_MASK) !=
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
448
switch (type) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
474
sa->dhgrp->type = xtype;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
535
|| (ntohs(prev->type) & ~ISAKMP_GEN_MASK) !=
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.h
166
uint8_t type; /* ID Type */
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1084
iph1->etype = rmconf->etypes->type;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1451
p->type = np;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1483
p->type = ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2374
isakmp_set_attr_v(caddr_t buf, int type, caddr_t val, int len)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2379
data->type = htons((uint16_t)type | ISAKMP_GEN_TLV);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2388
isakmp_set_attr_l(caddr_t buf, int type, uint32_t val)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2393
data->type = htons((uint16_t)type | ISAKMP_GEN_TV);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2401
isakmp_add_attr_v(vchar_t *buf0, int type, caddr_t val, int len)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2422
data->type = htons((uint16_t)type | ISAKMP_GEN_TLV);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2431
isakmp_add_attr_l(vchar_t *buf0, int type, uint32_t val)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2452
data->type = htons((uint16_t)type | ISAKMP_GEN_TV);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
3344
#define _XIDT(d) ((struct ipsecdoi_id_b *)(d)->v)->type
crypto/dist/ipsec-tools/src/racoon/isakmp.h
174
uint16_t type; /* defined by DOI-spec, and Attribute Format */
crypto/dist/ipsec-tools/src/racoon/isakmp.h
311
uint16_t type; /* Notify Message Type */
crypto/dist/ipsec-tools/src/racoon/isakmp.h
390
uint8_t type; /* Exchange type */
crypto/dist/ipsec-tools/src/racoon/isakmp.h
419
uint16_t type; /* Notify type */
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
1303
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
1306
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
1331
pa->type == iph1->natt_options->payload_nat_d)
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
1360
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
359
if (pa->type != ISAKMP_NPTYPE_SA) {
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
363
pa->type, ISAKMP_NPTYPE_SA);
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
372
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
375
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
423
pa->type == iph1->natt_options->payload_nat_d) {
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
447
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
773
if (pa->type != ISAKMP_NPTYPE_SA) {
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
777
pa->type, ISAKMP_NPTYPE_SA);
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
785
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
790
s_isakmp_nptype(pa->type));
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
792
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
831
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
1070
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
1073
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
1096
if (pa->type == iph1->natt_options->payload_nat_d)
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
1125
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
311
if (pa->type != ISAKMP_NPTYPE_SA) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
315
pa->type, ISAKMP_NPTYPE_SA);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
323
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
326
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
343
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
595
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
598
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
622
pa->type == iph1->natt_options->payload_nat_d) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
652
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
790
if (pa->type != ISAKMP_NPTYPE_SA) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
794
pa->type, ISAKMP_NPTYPE_SA);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
802
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
805
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
827
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1015
new->type = attr->type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1040
new->type = attr->type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1074
new->type = attr->type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1685
attrpl->type = ISAKMP_CFG_REQUEST;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1691
attr->type = htons(attrlist[i]);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
275
int type = attrpl->type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
278
"Configuration exchange type %s\n", s_isakmp_cfg_ptype(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
279
switch (type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
299
"Unepected configuration exchange type %d\n", type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
311
int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
319
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
322
if ((type & ISAKMP_GEN_MASK) == ISAKMP_GEN_TV) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
323
type &= ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
327
s_isakmp_cfg_type(type), ntohs(attr->lorv));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
329
switch (type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
339
s_isakmp_cfg_type(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
348
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
355
s_isakmp_cfg_type(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
361
s_isakmp_cfg_type(type), alen);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
363
switch(type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
420
s_isakmp_cfg_type(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
484
int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
499
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
502
if ((type & ISAKMP_GEN_MASK) == ISAKMP_GEN_TV) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
503
type &= ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
507
s_isakmp_cfg_type(type), ntohs(attr->lorv));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
509
switch (type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
516
s_isakmp_cfg_type(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
531
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
538
s_isakmp_cfg_type(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
544
s_isakmp_cfg_type(type), alen);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
546
switch(type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
591
s_isakmp_cfg_type(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
608
reply->type = ISAKMP_CFG_REPLY;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
651
int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
669
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
673
s_isakmp_cfg_type(type & ~ISAKMP_GEN_MASK));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
675
switch (type & ~ISAKMP_GEN_MASK) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
682
s_isakmp_cfg_type(type & ~ISAKMP_GEN_MASK));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
695
if ((type & ISAKMP_GEN_MASK) == ISAKMP_GEN_TV) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
709
reply->type = ISAKMP_CFG_ACK;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
761
int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
764
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
783
switch(type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
888
s_isakmp_cfg_type(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
893
plog(LLV_ERROR, LOCATION, NULL, "Unexpected type %d\n", type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
913
new->type = attr->type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
927
if ((ntohs(attr->type) & ISAKMP_GEN_MASK) == ISAKMP_GEN_TLV)
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
946
int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
954
type = ntohs(attr->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
956
new->type = htons(type | ISAKMP_GEN_TV);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
981
new->type = attr->type;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1119
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1121
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1150
pa->type == iph1->natt_options->payload_nat_d)
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1179
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1314
int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1345
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1348
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1388
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1456
type = oakley_validate_auth(iph1);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1457
if (type != 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1458
if (type == -1) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1463
isakmp_info_send_n1(iph1, type, NULL);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1858
u_int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1860
type = ntohs(notify->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1861
switch (type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
282
if (pa->type != ISAKMP_NPTYPE_SA) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
286
pa->type, ISAKMP_NPTYPE_SA);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
294
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
297
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
306
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
443
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
446
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
474
pa->type == iph1->natt_options->payload_nat_d) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
504
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
661
int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
692
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
695
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
729
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
747
type = oakley_validate_auth(iph1);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
748
if (type != 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
749
if (type == -1) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
754
isakmp_info_send_n1(iph1, type, NULL);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
863
if (pa->type != ISAKMP_NPTYPE_SA) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
867
pa->type, ISAKMP_NPTYPE_SA);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
875
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
878
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
898
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
1003
isakmp_add_pl_n(vchar_t *buf0, uint8_t **np_p, int type, struct saproto *pr,
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
1035
n->type = htons(type);
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
1373
ru_ack->type = htons(ISAKMP_NTYPE_R_U_THERE_ACK);
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
1486
ru->type = htons(ISAKMP_NTYPE_R_U_THERE);
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
284
for (pa = (struct isakmp_parse_t *)pbuf->v; pa->type; pa++) {
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
285
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
332
u_int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
336
type = ntohs(notify->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
340
s_isakmp_notify_msg(type), exchange);
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
346
s_isakmp_notify_msg(type), exchange);
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
351
if (type >= ISAKMP_NTYPE_MINERROR &&
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
352
type <= ISAKMP_NTYPE_MAXERROR) {
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
388
u_int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
390
type = ntohs(notify->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
391
switch (type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
677
struct sockaddr *local, int type, vchar_t *data)
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
728
n->type = htons(type);
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
748
isakmp_info_send_n1(struct ph1handle *iph1, int type, vchar_t *data)
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
766
if (type == ISAKMP_NTYPE_INITIAL_CONTACT)
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
787
n->type = htons(type);
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
803
isakmp_info_send_n2(struct ph2handle *iph2, int type, vchar_t *data)
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
834
n->type = htons(type);
crypto/dist/ipsec-tools/src/racoon/isakmp_newg.c
104
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_newg.c
115
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_newg.c
129
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_newg.c
95
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_newg.c
98
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1101
if (pa->type != ISAKMP_NPTYPE_HASH) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1105
pa->type, ISAKMP_NPTYPE_HASH);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1118
if (pa->type != ISAKMP_NPTYPE_SA) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1122
pa->type, ISAKMP_NPTYPE_SA);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1154
for (; pa->type; pa++) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1160
if (pa->type != ISAKMP_NPTYPE_ID)
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1163
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1271
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1737
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1740
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1752
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1859
n->type = htons(ISAKMP_NTYPE_CONNECTED);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
2237
#define _XIDT(d) ((struct ipsecdoi_id_b *)(d)->v)->type
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
2522
u_int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
2525
type = ntohs(notify->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
2526
switch (type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
437
if (pa->type != ISAKMP_NPTYPE_HASH) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
441
pa->type, ISAKMP_NPTYPE_HASH);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
453
if (pa->type != ISAKMP_NPTYPE_SA) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
457
pa->type, ISAKMP_NPTYPE_HASH);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
477
for (; pa->type; pa++) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
483
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
577
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
944
pa->type != ISAKMP_NPTYPE_NONE;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
947
switch (pa->type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
971
pa->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
101
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
104
if ((type & ISAKMP_GEN_MASK) == ISAKMP_GEN_TV) {
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
105
type &= ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
109
s_isakmp_cfg_type(type), ntohs(attr->lorv));
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
111
switch (type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
115
s_isakmp_cfg_type(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
122
switch(type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
195
"Ignored attribute %s\n", s_isakmp_cfg_type(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
205
int type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
212
switch(type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
252
s_isakmp_cfg_type(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
278
new->type = attr->type;
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
91
int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1468
int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1487
type = ntohs(attr->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1490
switch(type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1492
if ((ntohs(attr->type) & ISAKMP_GEN_TV) == 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1556
if ((ntohs(attr->type) & ISAKMP_GEN_TV) == 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1575
"Ignored attribute %s\n", s_isakmp_cfg_type(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1587
attr->type = htons(type | ISAKMP_GEN_TV);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1592
attr->type = htons(type | ISAKMP_GEN_TLV);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1596
switch(type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
160
attr->type = ISAKMP_CFG_REQUEST;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1621
int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1633
type = ntohs(attr->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1635
switch(type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
164
typeattr->type = htons(XAUTH_TYPE | ISAKMP_GEN_TV);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1673
if ((ntohs(attr->type) & ISAKMP_GEN_TV) == 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
168
usrattr->type = htons(XAUTH_USER_NAME | ISAKMP_GEN_TLV);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1693
"Ignored attribute %s\n", s_isakmp_cfg_type(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1704
attr->type = htons(type | ISAKMP_GEN_TV);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
172
pwdattr->type = htons(XAUTH_USER_PASSWORD | ISAKMP_GEN_TLV);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
190
int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
206
type = ntohs(attr->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
207
switch (type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
216
ntohs(type));
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
231
"ignored Xauth attribute %d\n", type);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
423
attr->type = ISAKMP_CFG_SET;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
427
stattr->type = htons(XAUTH_STATUS | ISAKMP_GEN_TV);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
561
int type;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
593
while ((type = rad_get_attr(radius_auth_state, &data, &len)) != 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
594
switch (type) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
609
"Unexpected attribute: %d\n", type);
crypto/dist/ipsec-tools/src/racoon/localconf.c
290
getpathname(char *path, int len, int type, const char *name)
crypto/dist/ipsec-tools/src/racoon/localconf.c
293
name[0] == '/' ? "" : lcconf->pathinfo[type],
crypto/dist/ipsec-tools/src/racoon/nattraversal.h
71
uint8_t type;
crypto/dist/ipsec-tools/src/racoon/oakley.c
107
a.type = (t); \
crypto/dist/ipsec-tools/src/racoon/oakley.c
1736
int idlen, type;
crypto/dist/ipsec-tools/src/racoon/oakley.c
1750
switch (id_b->type) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
1791
&altname, &type, pos) !=0) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
1804
if (check_typeofcertname(id_b->type, type) == 0)
crypto/dist/ipsec-tools/src/racoon/oakley.c
1858
&altname, &type, pos) != 0){
crypto/dist/ipsec-tools/src/racoon/oakley.c
1871
if (check_typeofcertname(id_b->type, type) == 0)
crypto/dist/ipsec-tools/src/racoon/oakley.c
1884
if (check_typeofcertname(id_b->type, type) != 0) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
1887
s_ipsecdoi_ident(id_b->type),
crypto/dist/ipsec-tools/src/racoon/oakley.c
1888
s_ipsecdoi_ident(type));
crypto/dist/ipsec-tools/src/racoon/oakley.c
1906
s_ipsecdoi_ident(id_b->type));
crypto/dist/ipsec-tools/src/racoon/oakley.c
1949
uint8_t type;
crypto/dist/ipsec-tools/src/racoon/oakley.c
1953
type = *(uint8_t *)(gen + 1) & 0xff;
crypto/dist/ipsec-tools/src/racoon/oakley.c
1955
switch (type) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
1975
"No supported such CERT type %d\n", type);
crypto/dist/ipsec-tools/src/racoon/oakley.c
1979
"Invalid CERT type %d\n", type);
crypto/dist/ipsec-tools/src/racoon/oakley.c
1991
if (type == ISAKMP_CERT_PKCS7) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
2015
i = OBJ_obj2nid(p7->type);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2080
switch (type) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
2131
uint8_t type;
crypto/dist/ipsec-tools/src/racoon/oakley.c
2133
type = *(uint8_t *)(gen + 1) & 0xff;
crypto/dist/ipsec-tools/src/racoon/oakley.c
2134
switch (type) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
2150
"No supported such CR type %d\n", type);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2155
"Invalid CR type %d\n", type);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2198
int type;
crypto/dist/ipsec-tools/src/racoon/oakley.c
2205
type = oakley_get_certtype(rmconf->peerscert);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2208
type = oakley_get_certtype(rmconf->cacert);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2223
buf->v[0] = type;
crypto/dist/ipsec-tools/src/racoon/oakley.c
2266
int type;
crypto/dist/ipsec-tools/src/racoon/oakley.c
2275
type = oakley_get_certtype(iph1->cr_p);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2276
if (type != oakley_get_certtype(iph1->rmconf->mycert)) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
2279
type);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2290
oakley_needcr(int type)
crypto/dist/ipsec-tools/src/racoon/oakley.c
2292
switch (type) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
283
switch (dh->type) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
294
"dh type %d isn't supported.\n", dh->type);
crypto/dist/ipsec-tools/src/racoon/oakley.c
298
"invalid dh type %d.\n", dh->type);
crypto/dist/ipsec-tools/src/racoon/oakley.c
305
s_attr_isakmp_group(dh->type), dh->prime->l << 3,
crypto/dist/ipsec-tools/src/racoon/oakley.c
327
switch (dh->type) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
339
"dh type %d isn't supported.\n", dh->type);
crypto/dist/ipsec-tools/src/racoon/oakley.c
343
"invalid dh type %d.\n", dh->type);
crypto/dist/ipsec-tools/src/racoon/oakley.c
350
s_attr_isakmp_group(dh->type), dh->prime->l << 3,
crypto/dist/ipsec-tools/src/racoon/oakley.c
382
if (!g->type || !g->prime || !g->gen1) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
415
int type;
crypto/dist/ipsec-tools/src/racoon/oakley.c
422
type = OAKLEY_ATTR_HASH_ALG_MD5;
crypto/dist/ipsec-tools/src/racoon/oakley.c
424
type = iph1->approval->hashtype;
crypto/dist/ipsec-tools/src/racoon/oakley.c
426
res = alg_oakley_hmacdef_one(type, key, buf);
crypto/dist/ipsec-tools/src/racoon/oakley.c
429
"invalid hmac algorithm %d.\n", type);
crypto/dist/ipsec-tools/src/racoon/oakley.c
443
int type;
crypto/dist/ipsec-tools/src/racoon/oakley.c
450
type = OAKLEY_ATTR_HASH_ALG_MD5;
crypto/dist/ipsec-tools/src/racoon/oakley.c
452
type = iph1->approval->hashtype;
crypto/dist/ipsec-tools/src/racoon/oakley.c
454
res = alg_oakley_hashdef_one(type, buf);
crypto/dist/ipsec-tools/src/racoon/oakley.c
457
"invalid hash algorithm %d.\n", type);
crypto/dist/ipsec-tools/src/racoon/oakley.h
154
int type;
crypto/dist/ipsec-tools/src/racoon/pfkey.c
2039
getsadbpolicy(caddr_t *policy0, int *policylen0, int type,
crypto/dist/ipsec-tools/src/racoon/pfkey.c
2061
if (type != SADB_X_SPDDELETE) {
crypto/dist/ipsec-tools/src/racoon/pfkey.c
2127
if (type == SADB_X_SPDDELETE)
crypto/dist/ipsec-tools/src/racoon/pfkey.c
657
ipsecdoi2pfkey_alg(u_int algclass, u_int type)
crypto/dist/ipsec-tools/src/racoon/pfkey.c
661
return ipsecdoi2pfkey_aalg(type);
crypto/dist/ipsec-tools/src/racoon/pfkey.c
663
return ipsecdoi2pfkey_ealg(type);
crypto/dist/ipsec-tools/src/racoon/pfkey.c
665
return ipsecdoi2pfkey_calg(type);
crypto/dist/ipsec-tools/src/racoon/privsep.c
1099
privsep_socket(int domain, int type, int protocol)
crypto/dist/ipsec-tools/src/racoon/privsep.c
1108
return socket(domain, type, protocol);
crypto/dist/ipsec-tools/src/racoon/privsep.c
1122
socket_args.type = type;
crypto/dist/ipsec-tools/src/racoon/privsep.c
569
if ((s = socket(socket_args.domain, socket_args.type,
crypto/dist/ipsec-tools/src/racoon/privsep.c
86
int type;
crypto/dist/ipsec-tools/src/racoon/prsa_par.y
394
prsa_parse_file(struct genlist *list, const char *fname, enum rsa_key_type type)
crypto/dist/ipsec-tools/src/racoon/prsa_par.y
401
if (type == RSA_TYPE_PRIVATE) {
crypto/dist/ipsec-tools/src/racoon/prsa_par.y
422
prsa_cur_type = type;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1229
if (evtmsg[i].type == evtdump->ec_type)
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1274
if ((ntohs(attr->type) & ISAKMP_GEN_MASK) == ISAKMP_GEN_TV) {
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1286
switch (ntohs(attr->type) & ~ISAKMP_GEN_MASK) {
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
139
int type;
crypto/dist/ipsec-tools/src/racoon/remoteconf.c
114
if (id->idtype != doi2idtype(id_b->type))
crypto/dist/ipsec-tools/src/racoon/remoteconf.c
783
new->type = orig->type;
crypto/dist/ipsec-tools/src/racoon/remoteconf.c
870
if (e->type == etype)
crypto/dist/ipsec-tools/src/racoon/remoteconf.c
873
"Etype mismatch: got %d, expected %d.\n", e->type, etype);
crypto/dist/ipsec-tools/src/racoon/remoteconf.c
954
pbuf += sprintf (pbuf, "%s%s", s_etype(etype->type),
crypto/dist/ipsec-tools/src/racoon/remoteconf.h
50
int type;
crypto/dist/ipsec-tools/src/racoon/rsalist.c
250
rsa_parse_file(struct genlist *list, const char *fname, enum rsa_key_type type)
crypto/dist/ipsec-tools/src/racoon/rsalist.c
255
ret = prsa_parse_file(list, fname, type);
crypto/dist/ipsec-tools/src/racoon/rsalist.h
65
int rsa_parse_file(struct genlist *list, const char *fname, enum rsa_key_type type);
crypto/dist/ipsec-tools/src/racoon/rsalist.h
68
int prsa_parse_file(struct genlist *list, const char *fname, enum rsa_key_type type);
crypto/dist/ipsec-tools/src/racoon/schedule.h
62
#define container_of(ptr, type, member) ({ \
crypto/dist/ipsec-tools/src/racoon/schedule.h
63
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
crypto/dist/ipsec-tools/src/racoon/schedule.h
64
(type *)( (char *)(intptr_t)__mptr - offsetof(type,member) );})
crypto/dist/ipsec-tools/src/racoon/security.c
122
if (ta->type != ISAKMP_NPTYPE_T) {
crypto/dist/ipsec-tools/src/racoon/security.c
124
"Invalid payload type=%u\n", ta->type);
crypto/dist/ipsec-tools/src/racoon/security.c
134
type = ntohs(d->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/security.c
135
flag = ntohs(d->type) & ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/security.c
138
if (type != IPSECDOI_ATTR_SECCTX) {
crypto/dist/ipsec-tools/src/racoon/security.c
149
flag = ntohs(d->type & ISAKMP_GEN_MASK);
crypto/dist/ipsec-tools/src/racoon/security.c
68
int flag, type = 0;
crypto/dist/ipsec-tools/src/racoon/security.c
96
if (pa->type != ISAKMP_NPTYPE_P) {
crypto/dist/ipsec-tools/src/racoon/security.c
98
"Invalid payload type=%u\n", pa->type);
crypto/dist/ipsec-tools/src/racoon/strnames.c
591
s_ipsecdoi_attr_v(int type, int val)
crypto/dist/ipsec-tools/src/racoon/strnames.c
595
if (name_attr_ipsec[i].key == type
crypto/dist/ipsec-tools/src/racoon/strnames.c
784
s_oakley_attr_v(int type, int val)
crypto/dist/ipsec-tools/src/racoon/strnames.c
788
if (name_oakley_attr[i].key == type
crypto/dist/ipsec-tools/src/setkey/parse.y
1113
setkeymsg_spdaddr_tag(unsigned int type, char *tag, vchar_t *policy)
crypto/dist/ipsec-tools/src/setkey/parse.y
1125
setkeymsg0(msg, type, SADB_SATYPE_UNSPEC, 0);
crypto/dist/ipsec-tools/src/setkey/parse.y
1151
setkeymsg_addr(unsigned int type, unsigned int satype, struct addrinfo *srcs,
crypto/dist/ipsec-tools/src/setkey/parse.y
1172
setkeymsg0(msg, type, satype, 0);
crypto/dist/ipsec-tools/src/setkey/parse.y
1293
setkeymsg_add(unsigned int type, unsigned int satype, struct addrinfo *srcs,
crypto/dist/ipsec-tools/src/setkey/parse.y
1314
setkeymsg0(msg, type, satype, 0);
crypto/dist/ipsec-tools/src/setkey/parse.y
1405
if (type == SADB_GETSPI && p_spi != 0) {
crypto/dist/ipsec-tools/src/setkey/parse.y
953
setkeymsg0(struct sadb_msg *msg, unsigned int type, unsigned int satype,
crypto/dist/ipsec-tools/src/setkey/parse.y
958
msg->sadb_msg_type = type;
crypto/dist/ipsec-tools/src/setkey/parse.y
970
setkeymsg_spdaddr(unsigned int type, unsigned int upper, vchar_t *policy,
crypto/dist/ipsec-tools/src/setkey/parse.y
993
setkeymsg0(msg, type, SADB_SATYPE_UNSPEC, 0);
crypto/dist/ipsec-tools/src/setkey/setkey.c
380
sendkeyshort(u_int type)
crypto/dist/ipsec-tools/src/setkey/setkey.c
385
msg.sadb_msg_type = type;
dist/pf/libexec/tftp-proxy/filter.c
270
pfr.rule.src.addr.type = PF_ADDR_ADDRMASK;
dist/pf/libexec/tftp-proxy/filter.c
271
pfr.rule.dst.addr.type = PF_ADDR_ADDRMASK;
dist/pf/sbin/pfctl/parse.y
1076
h->addr.type = PF_ADDR_DYNIFTL;
dist/pf/sbin/pfctl/parse.y
119
u_int8_t type;
dist/pf/sbin/pfctl/parse.y
1250
switch (n->addr.type) {
dist/pf/sbin/pfctl/parse.y
1270
n->addr.type);
dist/pf/sbin/pfctl/parse.y
134
int type;
dist/pf/sbin/pfctl/parse.y
1762
switch (o->type) {
dist/pf/sbin/pfctl/parse.y
1986
$5.host->addr.type == PF_ADDR_TABLE ||
dist/pf/sbin/pfctl/parse.y
2039
$$->type = PF_STATE_OPT_STATELOCK;
dist/pf/sbin/pfctl/parse.y
2495
$$->addr.type = PF_ADDR_NOROUTE;
dist/pf/sbin/pfctl/parse.y
2504
$$->addr.type = PF_ADDR_URPFFAILED;
dist/pf/sbin/pfctl/parse.y
254
int type;
dist/pf/sbin/pfctl/parse.y
2552
$$->addr.type = PF_ADDR_TABLE;
dist/pf/sbin/pfctl/parse.y
2567
$$->addr.type = PF_ADDR_RTLABEL;
dist/pf/sbin/pfctl/parse.y
2634
$$->addr.type = PF_ADDR_DYNIFTL;
dist/pf/sbin/pfctl/parse.y
2941
$$->type = $1;
dist/pf/sbin/pfctl/parse.y
2970
$$->type = $1;
dist/pf/sbin/pfctl/parse.y
2982
$$->type = $1;
dist/pf/sbin/pfctl/parse.y
3012
$$->type = $1;
dist/pf/sbin/pfctl/parse.y
3038
$$ = p->type + 1;
dist/pf/sbin/pfctl/parse.y
3063
$$ = p->type + 1;
dist/pf/sbin/pfctl/parse.y
3143
$$->type = PF_STATE_OPT_MAX;
dist/pf/sbin/pfctl/parse.y
3152
$$->type = PF_STATE_OPT_NOSYNC;
dist/pf/sbin/pfctl/parse.y
3160
$$->type = PF_STATE_OPT_MAX_SRC_STATES;
dist/pf/sbin/pfctl/parse.y
3169
$$->type = PF_STATE_OPT_MAX_SRC_CONN;
dist/pf/sbin/pfctl/parse.y
3178
$$->type = PF_STATE_OPT_MAX_SRC_CONN_RATE;
dist/pf/sbin/pfctl/parse.y
3197
$$->type = PF_STATE_OPT_OVERLOAD;
dist/pf/sbin/pfctl/parse.y
3206
$$->type = PF_STATE_OPT_MAX_SRC_NODES;
dist/pf/sbin/pfctl/parse.y
3215
$$->type = PF_STATE_OPT_SRCTRACK;
dist/pf/sbin/pfctl/parse.y
3224
$$->type = PF_STATE_OPT_STATELOCK;
dist/pf/sbin/pfctl/parse.y
3249
$$->type = PF_STATE_OPT_TIMEOUT;
dist/pf/sbin/pfctl/parse.y
3403
if (pool_opts.type) {
dist/pf/sbin/pfctl/parse.y
3407
pool_opts.type = PF_POOL_BITMASK;
dist/pf/sbin/pfctl/parse.y
3410
if (pool_opts.type) {
dist/pf/sbin/pfctl/parse.y
3414
pool_opts.type = PF_POOL_RANDOM;
dist/pf/sbin/pfctl/parse.y
3417
if (pool_opts.type) {
dist/pf/sbin/pfctl/parse.y
3421
pool_opts.type = PF_POOL_SRCHASH;
dist/pf/sbin/pfctl/parse.y
3425
if (pool_opts.type) {
dist/pf/sbin/pfctl/parse.y
3429
pool_opts.type = PF_POOL_ROUNDROBIN;
dist/pf/sbin/pfctl/parse.y
3599
$9->host->addr.type == PF_ADDR_TABLE ||
dist/pf/sbin/pfctl/parse.y
3754
if ($8->addr.type == PF_ADDR_DYNIFTL)
dist/pf/sbin/pfctl/parse.y
4002
if (h->addr.type == PF_ADDR_TABLE) {
dist/pf/sbin/pfctl/parse.y
4013
if (h->addr.type == PF_ADDR_URPFFAILED) {
dist/pf/sbin/pfctl/parse.y
404
#define DYNIF_MULTIADDR(addr) ((addr).type == PF_ADDR_DYNIFTL && \
dist/pf/sbin/pfctl/parse.y
4070
(r->type || r->code)) {
dist/pf/sbin/pfctl/parse.y
4074
if (!r->af && (r->type || r->code)) {
dist/pf/sbin/pfctl/parse.y
4096
r->dst.port_op || r->flagset || r->type || r->code)) {
dist/pf/sbin/pfctl/parse.y
4268
switch (h->addr.type) {
dist/pf/sbin/pfctl/parse.y
4753
r->type = icmp_type->type;
dist/pf/sbin/pfctl/parse.y
5412
if (n->addr.type != PF_ADDR_TABLE &&
dist/pf/sbin/pfctl/parse.y
5413
n->addr.type != PF_ADDR_DYNIFTL) {
dist/pf/sbin/pfctl/pf_print_state.c
54
switch (addr->type) {
dist/pf/sbin/pfctl/pfctl_optimize.c
1066
a->dst.addr.type != b->dst.addr.type)
dist/pf/sbin/pfctl/pfctl_optimize.c
1073
switch (a->dst.addr.type) {
dist/pf/sbin/pfctl/pfctl_optimize.c
1138
a->src.addr.type != b->src.addr.type)
dist/pf/sbin/pfctl/pfctl_optimize.c
1145
switch (a->src.addr.type) {
dist/pf/sbin/pfctl/pfctl_optimize.c
1374
if (a->addr.type != PF_ADDR_ADDRMASK ||
dist/pf/sbin/pfctl/pfctl_optimize.c
1375
b->addr.type != PF_ADDR_ADDRMASK)
dist/pf/sbin/pfctl/pfctl_optimize.c
1509
comparable_rule(struct pf_rule *dst, const struct pf_rule *src, int type)
dist/pf/sbin/pfctl/pfctl_optimize.c
1518
if (pf_rule_desc[i].prf_type >= type) {
dist/pf/sbin/pfctl/pfctl_optimize.c
1560
if (super->src.addr.type == PF_ADDR_ADDRMASK && !super->src.neg &&
dist/pf/sbin/pfctl/pfctl_optimize.c
1566
else if (super->src.addr.type == PF_ADDR_ADDRMASK &&
dist/pf/sbin/pfctl/pfctl_optimize.c
1567
sub->src.addr.type == PF_ADDR_ADDRMASK &&
dist/pf/sbin/pfctl/pfctl_optimize.c
1588
if (super->dst.addr.type == PF_ADDR_ADDRMASK && !super->dst.neg &&
dist/pf/sbin/pfctl/pfctl_optimize.c
1594
else if (super->dst.addr.type == PF_ADDR_ADDRMASK &&
dist/pf/sbin/pfctl/pfctl_optimize.c
1595
sub->dst.addr.type == PF_ADDR_ADDRMASK &&
dist/pf/sbin/pfctl/pfctl_optimize.c
164
PF_RULE_FIELD(type, NOMERGE),
dist/pf/sbin/pfctl/pfctl_optimize.c
586
p1->por_rule.src.addr.type = PF_ADDR_TABLE;
dist/pf/sbin/pfctl/pfctl_optimize.c
617
p1->por_rule.dst.addr.type = PF_ADDR_TABLE;
dist/pf/sbin/pfctl/pfctl_parser.c
1103
if (h->addr.type == PF_ADDR_ADDRMASK)
dist/pf/sbin/pfctl/pfctl_parser.c
1115
if (h->addr.type == PF_ADDR_TABLE)
dist/pf/sbin/pfctl/pfctl_parser.c
1119
if (af == AF_INET && h->addr.type == PF_ADDR_DYNIFTL &&
dist/pf/sbin/pfctl/pfctl_parser.c
248
geticmptypebynumber(u_int8_t type, sa_family_t af)
dist/pf/sbin/pfctl/pfctl_parser.c
255
if (type == icmp_type[i].type)
dist/pf/sbin/pfctl/pfctl_parser.c
261
if (type == icmp6_type[i].type)
dist/pf/sbin/pfctl/pfctl_parser.c
290
geticmpcodebynumber(u_int8_t type, u_int8_t code, sa_family_t af)
dist/pf/sbin/pfctl/pfctl_parser.c
297
if (type == icmp_code[i].type &&
dist/pf/sbin/pfctl/pfctl_parser.c
304
if (type == icmp6_code[i].type &&
dist/pf/sbin/pfctl/pfctl_parser.c
313
geticmpcodebyname(u_long type, char *w, sa_family_t af)
dist/pf/sbin/pfctl/pfctl_parser.c
320
if (type == icmp_code[i].type &&
dist/pf/sbin/pfctl/pfctl_parser.c
327
if (type == icmp6_code[i].type &&
dist/pf/sbin/pfctl/pfctl_parser.c
405
if (src->addr.type == PF_ADDR_ADDRMASK &&
dist/pf/sbin/pfctl/pfctl_parser.c
406
dst->addr.type == PF_ADDR_ADDRMASK &&
dist/pf/sbin/pfctl/pfctl_parser.c
847
if (r->type) {
dist/pf/sbin/pfctl/pfctl_parser.c
850
it = geticmptypebynumber(r->type-1, r->af);
dist/pf/sbin/pfctl/pfctl_parser.c
858
printf(" %u", r->type-1);
dist/pf/sbin/pfctl/pfctl_parser.c
862
ic = geticmpcodebynumber(r->type-1, r->code-1, r->af);
dist/pf/sbin/pfctl/pfctl_parser.h
241
u_int8_t type;
dist/pf/sbin/pfctl/pfctl_parser.h
246
u_int8_t type;
dist/pf/usr.sbin/ftp-proxy/filter.c
292
pfr.rule.src.addr.type = PF_ADDR_ADDRMASK;
dist/pf/usr.sbin/ftp-proxy/filter.c
293
pfr.rule.dst.addr.type = PF_ADDR_ADDRMASK;
distrib/utils/libhack/gethost.c
118
gethostbyaddr_r(const void *addr, socklen_t len, int type, struct hostent *hp,
distrib/utils/libhack/gethost.c
126
return getby(_hf_gethtbyaddr, &info, addr, len, type);
distrib/utils/libhack/gethost.c
130
gethostbyaddr(const void *addr, socklen_t len, int type)
distrib/utils/libhack/gethost.c
132
return gethostbyaddr_r(addr, len, type, &h_ent, h_buf, sizeof(h_buf),
distrib/utils/libhack/utmp.c
33
logoutx(line, status, type)
distrib/utils/libhack/utmp.c
35
int status, type;
distrib/utils/libhack/utmp.c
47
logwtmpx(line, name, host, status, type)
distrib/utils/libhack/utmp.c
49
int status, type;
games/adventure/vocab.c
132
vocab(const char *word, int type, int value)
games/adventure/vocab.c
149
switch (type) {
games/adventure/vocab.c
181
if (h->val / 1000 != type)
games/backgammon/common_source/save.c
139
writel(type);
games/backgammon/common_source/save.c
52
static const char type[] = "'.\nType \"backgammon ";
games/hack/hack.engrave.c
211
xchar type;
games/hack/hack.engrave.c
228
type = BURN;
games/hack/hack.engrave.c
251
type = DUST;
games/hack/hack.engrave.c
255
type = ENGRAVE;
games/hack/hack.engrave.c
257
type = DUST;
games/hack/hack.engrave.c
264
type = DUST;
games/hack/hack.engrave.c
266
if (Levitation && type != BURN) { /* riv05!a3 */
games/hack/hack.engrave.c
275
if (type == DUST && oep) {
games/hack/hack.engrave.c
281
(type == ENGRAVE) ? "engrave" : (type == BURN) ? "burn" : "write");
games/hack/hack.engrave.c
290
if (type == BURN)
games/hack/hack.engrave.c
294
switch (type) {
games/hack/hack.engrave.c
336
ep->engr_type = type;
games/hack/hack.h
72
#define Null(type) ((struct type *) 0)
games/hack/hack.invent.c
317
carrying(int type)
games/hack/hack.invent.c
322
if (otmp->otyp == type)
games/hack/hack.mklev.c
434
dosdoor(int x, int y, struct mkroom *aroom, int type)
games/hack/hack.mklev.c
440
type = DOOR;
games/hack/hack.mklev.c
441
levl[x][y].typ = type;
games/hack/hack.mklev.c
442
if (type == DOOR)
games/hack/hack.mkshop.c
223
mkzoo(int type)
games/hack/hack.mkshop.c
239
if (type == MORGUE && sroom->rlit)
games/hack/hack.mkshop.c
246
sroom->rtype = type;
games/hack/hack.mkshop.c
256
(type == MORGUE) ? morguemon() :
games/hack/hack.mkshop.c
257
(type == BEEHIVE) ? PM_KILLER_BEE : (struct permonst *) 0,
games/hack/hack.mkshop.c
261
switch (type) {
games/hack/hack.u_init.c
392
int type;
games/hack/hack.u_init.c
394
type = atoi(ep);
games/hack/hack.u_init.c
399
if (type <= 0 || type > NROFOBJECTS)
games/hack/hack.u_init.c
401
trop->trotyp = type;
games/hack/hack.u_init.c
402
trop->trolet = objects[type].oc_olet;
games/hack/hack.zap.c
497
buzz(int type, xchar sx, xchar sy, int dx, int dy)
games/hack/hack.zap.c
499
int abstype = abs(type);
games/hack/hack.zap.c
500
const char *fltxt = (type == -1) ? "blaze of fire" : fl[abstype];
games/hack/hack.zap.c
508
if (type < 0)
games/hack/hack.zap.c
510
tmp = zhit(u.ustuck, type);
games/hack/hack.zap.c
515
if (type < 0)
games/hack/hack.zap.c
561
(type != -1 || mon->data->mlet != 'D')) {
games/hack/hack.zap.c
566
if (type < 0) {
games/hack/hack.zap.c
650
zhit(struct monst *mon, int type) /* returns damage to mon */
games/hack/hack.zap.c
654
switch (type) {
games/hunt/huntd/execute.c
434
add_shot(int type, int y, int x, char face, int charge,
games/hunt/huntd/execute.c
440
switch (type) {
games/hunt/huntd/execute.c
463
bp = create_shot(type, y, x, face, charge, size, owner,
games/hunt/huntd/execute.c
470
create_shot(int type, int y, int x, char face, int charge,
games/hunt/huntd/execute.c
488
bp->b_type = type;
games/hunt/huntd/expl.c
53
showexpl(int y, int x, char type)
games/hunt/huntd/expl.c
65
ep->e_char = type;
games/hunt/huntd/expl.c
73
if (pp->p_maze[y][x] == type)
games/hunt/huntd/expl.c
75
pp->p_maze[y][x] = type;
games/hunt/huntd/expl.c
77
outch(pp, type);
games/hunt/huntd/expl.c
81
if (pp->p_maze[y][x] == type)
games/hunt/huntd/expl.c
83
pp->p_maze[y][x] = type;
games/hunt/huntd/expl.c
85
outch(pp, type);
games/larn/monster.c
113
char type; /* 0=item, 1=monster */
games/larn/monster.c
587
save[sc].type = 0;
games/larn/monster.c
592
save[sc].type = 1;
games/larn/monster.c
610
if (save[sc].type == 0) {
games/monop/cards.c
314
if (op->sqr->type == PRPTY) {
games/monop/execute.c
153
switch (sqp->type) {
games/monop/execute.c
201
if (board[i].type == PRPTY) {
games/monop/execute.c
204
} else if (board[i].type == RR || board[i].type == UTIL) {
games/monop/execute.c
311
} else if (board[i].type == PRPTY) {
games/monop/execute.c
314
} else if (board[i].type == RR || board[i].type == UTIL) {
games/monop/execute.c
697
if (sp->type != PRPTY && sp->type != RR && sp->type != UTIL) {
games/monop/execute.c
706
if (sp->type != PRPTY) {
games/monop/houses.c
231
if (op->sqr->type == PRPTY && op->sqr->desc->monop) {
games/monop/houses.c
348
if (sqp->type == PRPTY && sqp->owner >= 0 && sqp->desc->monop) {
games/monop/houses.c
365
if (sqp->type == PRPTY && sqp->owner >= 0 && sqp->desc->monop) {
games/monop/houses.c
71
for (op = cur_p->own_list; op && op->sqr->type != PRPTY; op = op->next)
games/monop/misc.c
140
printf("op->sqr->type = %d\n", op->sqr->type);
games/monop/misc.c
142
switch (op->sqr->type) {
games/monop/misc.c
147
for (num = 0; op && op->sqr->type == UTIL;
games/monop/misc.c
159
for (num = 0; op && op->sqr->type == RR;
games/monop/misc.c
165
op->sqr->type);
games/monop/misc.c
205
orig_op->sqr->type);
games/monop/misc.c
214
op->sqr->type);
games/monop/monop.h
75
short type; /* place type */
games/monop/morg.c
124
if (op->sqr->type == PRPTY && op->sqr->desc->houses)
games/monop/print.c
93
switch (sqp->type) {
games/monop/prop.c
136
switch (sqp->type) {
games/monop/prop.c
218
if (op->sqr->type == PRPTY && op->sqr->desc->monop)
games/monop/prop.c
99
switch (board[op_sqr].type) {
games/monop/rent.c
59
switch (sqp->type) {
games/monop/trade.c
247
switch (board[cur_p->loc].type) {
games/monop/trade.c
302
if (sqp->type == PRPTY) {
games/phantasia/main.c
929
genchar(int type)
games/phantasia/main.c
934
subscript = type - '1';
games/phantasia/misc.c
466
int type; /* for calculating result subscript */
games/phantasia/misc.c
483
type = playerp->p_type;
games/phantasia/misc.c
487
type = playerp->p_type;
games/phantasia/misc.c
491
type = 7;
games/phantasia/misc.c
495
type = 8;
games/phantasia/misc.c
499
type = 9;
games/phantasia/misc.c
503
type = 10;
games/phantasia/misc.c
507
type *= 2; /* calculate offset */
games/phantasia/misc.c
509
if (type > 20)
games/phantasia/misc.c
511
type = 22;
games/phantasia/misc.c
515
++type;
games/phantasia/misc.c
518
strcpy(Databuf, results[type]);
games/phantasia/misc.c
522
return (results[type]);
games/sail/sync.c
286
Write(int type, struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
292
type, shipindex, a, b, c, d);
games/sail/sync.c
298
sync_update(type, ship, NULL, a, b, c, d);
games/sail/sync.c
302
Writestr(int type, struct ship *ship, const char *a)
games/sail/sync.c
307
snprintf(sync_bp, max, "%d %d 1 %s\n", type, shipindex, a);
games/sail/sync.c
313
sync_update(type, ship, a, 0, 0, 0, 0);
games/sail/sync.c
321
int type, shipnum, isstr;
games/sail/sync.c
357
switch (fscanf(sync_fp, "%d%d%d", &type, &shipnum, &isstr)) {
games/sail/sync.c
399
if (sync_update(type, SHIP(shipnum), astr, a, b, c, d) < 0)
games/sail/sync.c
426
sync_update(int type, struct ship *ship, const char *astr,
games/sail/sync.c
429
switch (type) {
games/sail/sync.c
469
fprintf(stderr, "sync_update: unknown type %d\r\n", type);
games/trek/schedule.c
58
schedule(int type, double offset, int x, int y, int z)
games/trek/schedule.c
74
type, date, i, x, y, z);
games/trek/schedule.c
76
e->evcode = type;
games/trek/schedule.c
81
Now.eventptr[type & ~E_GHOST] = e;
games/trek/schedule.c
84
errx(1, "Cannot schedule event %d parm %d %d %d", type, x, y, z);
games/warp/bang.c
142
!(obj=occupant[yy[y]][xx[x]]) || obj->type != Web)
games/warp/move.c
118
if (curobj->type == Torp ||
games/warp/move.c
119
curobj->type == Star ||
games/warp/move.c
120
curobj->type == Web) {
games/warp/move.c
132
if (temp->type == Torp) {
games/warp/move.c
146
switch (curobj->type) {
games/warp/move.c
150
else if (temp->type == Enemy)
games/warp/move.c
174
if (temp->type == Star) {
games/warp/move.c
194
curobj->type == Torp || curobj->type == Web) ) {
games/warp/move.c
197
if (curobj->type == Crusher && curobj->velx) {
games/warp/move.c
228
else if (temp->type == Web)
games/warp/move.c
260
switch (curobj->type) {
games/warp/move.c
547
if (numcrushes && movers->type == Crusher)
games/warp/move.c
615
if ((obj=occupant[y][xp=(x+XSIZE01)%XSIZE])&&obj->type == what) /* 0, 1 */
games/warp/move.c
617
if ((obj=occupant[y][xm=(x+XSIZE99)%XSIZE])&&obj->type == what) /* 0, -1 */
games/warp/move.c
619
if ((obj=occupant[y=(y+YSIZE99)%YSIZE][xp])&&obj->type == what) /* -1, 1 */
games/warp/move.c
621
if ((obj=occupant[y][x])&&obj->type == what) /* -1, 0 */
games/warp/move.c
623
if ((obj=occupant[y][xm])&&obj->type == what) /* -1, -1 */
games/warp/move.c
625
if ((obj=occupant[y=(y+2)%YSIZE][xp])&&obj->type == what) /* 1, 1 */
games/warp/move.c
627
if ((obj=occupant[y][x])&&obj->type == what) /* 1, 0 */
games/warp/move.c
629
if ((obj=occupant[y][xm])&&obj->type == what) /* 1, -1 */
games/warp/move.c
641
if (((obj=occupant[y][xp=(x+XSIZE01)%XSIZE])&&obj->type == what)||/* 0, 1 */
games/warp/move.c
642
((obj=occupant[y][xm=(x+XSIZE99)%XSIZE])&&obj->type == what)||/* 0, -1 */
games/warp/move.c
643
((obj=occupant[y=(y+YSIZE99)%YSIZE][xp])&&obj->type == what)||/* -1, 1 */
games/warp/move.c
644
((obj=occupant[y][x])&&obj->type == what) ||/* -1, 0 */
games/warp/move.c
645
((obj=occupant[y][xm])&&obj->type == what) ||/* -1,-1 */
games/warp/move.c
646
((obj=occupant[y=(y+2)%YSIZE][xp])&&obj->type == what) ||/* 1, 1 */
games/warp/move.c
647
((obj=occupant[y][x])&&obj->type == what) ||/* 1, 0 */
games/warp/move.c
648
((obj=occupant[y][xm])&&obj->type == what)) /* 1, -1 */
games/warp/move.c
82
else if (curobj->type != Torp && curobj->type != Web) {
games/warp/move.c
98
if (!(temp=occupant[y][x]) || temp->type != Star ||
games/warp/move.c
99
curobj->type != Torp || curobj->image == '+' ||
games/warp/object.c
37
obj->type = typ;
games/warp/object.h
30
char type;
games/warp/score.c
511
if (obj->type == Star) {
games/warp/them.c
211
switch (obj->type) {
games/warp/them.c
320
if (obj && obj->type == Web) {
games/warp/them.c
53
if (numcrushes && (obj=movers)->type == Crusher) {
games/warp/them.c
82
for (curkl = enemies; curkl->type == Enemy; curkl = curkl->next) {
games/warp/us.c
101
obj->type == Web)
games/warp/us.c
376
obj->type == Torp || obj->type == Web ||
games/warp/us.c
377
obj->type == Star;
games/warp/us.c
80
obj->type == Web)
games/warp/weapon.c
40
if (from->type == Enemy ||
games/warp/weapon.c
45
if (from->type != Enemy || !to || to->vely || to->velx) {
games/warp/weapon.c
46
if (from->type != Enemy &&
games/warp/weapon.c
469
size && (!occupant[y][x]||(skipping && occupant[y][x]->type==Star));
games/warp/weapon.c
513
if (occupant[y][x]->type == Crusher) {
games/warp/weapon.c
578
if (occupant[y][x] && occupant[y][x]->type == Star) {
games/warp/weapon.c
641
if (tractee->type != Web &&
games/warp/weapon.c
643
(tractee->type == Crusher && !dx) ) ) {
games/warp/weapon.c
656
if (tractee->type == Torp ||
games/warp/weapon.c
657
tractee->type == Star) {
games/warp/weapon.c
669
else if (tractee->type == Crusher && !dy &&
include/arpa/nameser.h
169
uint16_t type;
include/arpa/nameser.h
182
int type;
include/arpa/nameser.h
193
#define ns_rr_type(rr) ((ns_type)((rr).type + 0))
include/arpa/nameser.h
666
ns_nname_ct name, ns_type type,
include/db.h
116
DBTYPE type; /* Underlying db type. */
include/math.h
208
int type;
include/protocols/talkd.h
70
unsigned char type; /* request type, see below */
include/protocols/talkd.h
89
unsigned char type; /* type of request message, see below */
lib/libarch/alpha/alpha_bus_window.c
50
alpha_bus_getwindows(int type, struct alpha_bus_window **abwp)
lib/libarch/alpha/alpha_bus_window.c
57
count_args.type = type;
lib/libarch/alpha/alpha_bus_window.c
67
window_args.type = type;
lib/libbluetooth/bluetooth.c
84
bt_gethostbyaddr(char const *addr, socklen_t len, int type)
lib/libbluetooth/bluetooth.c
88
if (type != AF_BLUETOOTH || len != sizeof(bdaddr_t)) {
lib/libbluetooth/bluetooth.c
95
if (p->h_addrtype == type && memcmp(p->h_addr, addr, len) == 0)
lib/libbluetooth/bt_dev.c
210
hdr.type = HCI_CMD_PKT;
lib/libbluetooth/bt_dev.c
473
bt_devfilter_pkt_set(struct bt_devfilter *filter, uint8_t type)
lib/libbluetooth/bt_dev.c
476
hci_filter_set(type, &filter->packet_mask);
lib/libbluetooth/bt_dev.c
480
bt_devfilter_pkt_clr(struct bt_devfilter *filter, uint8_t type)
lib/libbluetooth/bt_dev.c
483
hci_filter_clr(type, &filter->packet_mask);
lib/libbluetooth/bt_dev.c
487
bt_devfilter_pkt_tst(const struct bt_devfilter *filter, uint8_t type)
lib/libbluetooth/bt_dev.c
490
return hci_filter_test(type, &filter->packet_mask);
lib/libbluetooth/sdp_data.c
329
_sdp_put(int indent, const char *type, const char *fmt, ...)
lib/libbluetooth/sdp_data.c
333
indent = printf("%*s%s", indent, "", type);
lib/libbluetooth/sdp_data.c
348
_sdp_putstr(int indent, const char *type, const uint8_t *str, size_t len)
lib/libbluetooth/sdp_data.c
353
indent = printf("%*s%s(%zu)", indent, "", type, len);
lib/libbluetooth/sdp_get.c
286
_sdp_get_ext(uint8_t type, sdp_data_t *data, sdp_data_t *ext)
lib/libbluetooth/sdp_get.c
292
|| SDP_DATA_TYPE(*p) != type)
lib/libbluetooth/sdp_put.c
287
_sdp_put_ext(uint8_t type, sdp_data_t *data, ssize_t len)
lib/libbluetooth/sdp_put.c
311
p[0] = type | SDP_DATA_EXT32;
lib/libbluetooth/sdp_put.c
318
p[0] = type | SDP_DATA_EXT16;
lib/libbluetooth/sdp_put.c
325
p[0] = type | SDP_DATA_EXT8;
lib/libbluetooth/sdp_set.c
175
_sdp_set_ext(uint8_t type, const sdp_data_t *data, ssize_t len)
lib/libbluetooth/sdp_set.c
180
|| SDP_DATA_TYPE(*p) != type)
lib/libc/citrus/citrus_hash.h
32
#define _CITRUS_HASH_ENTRY(type) LIST_ENTRY(type)
lib/libc/citrus/citrus_hash.h
33
#define _CITRUS_HASH_HEAD(headname, type, hashsize) \
lib/libc/citrus/citrus_hash.h
35
LIST_HEAD(, type) chh_table[hashsize]; \
lib/libc/citrus/citrus_prop.c
379
_citrus_prop_object_init(&ostart, hint->type);
lib/libc/citrus/citrus_prop.c
380
_citrus_prop_object_init(&oend, hint->type);
lib/libc/citrus/citrus_prop.c
381
errnum = (*readers[hint->type])(ms, &ostart);
lib/libc/citrus/citrus_prop.c
386
switch (hint->type) {
lib/libc/citrus/citrus_prop.c
393
errnum = (*readers[hint->type])(ms, &oend);
lib/libc/citrus/citrus_prop.c
412
switch (hint->type) {
lib/libc/citrus/citrus_prop.c
52
_citrus_prop_type_t type;
lib/libc/citrus/citrus_prop.c
62
_citrus_prop_object_init(_citrus_prop_object_t *obj, _citrus_prop_type_t type)
lib/libc/citrus/citrus_prop.c
66
obj->type = type;
lib/libc/citrus/citrus_prop.c
75
if (obj->type == _CITRUS_PROP_STR)
lib/libc/citrus/citrus_prop.h
64
_citrus_prop_type_t type;
lib/libc/citrus/modules/citrus_iso2022.c
1012
switch (cs->type) {
lib/libc/citrus/modules/citrus_iso2022.c
1067
cs.type = (wc & 0x00007f00) ? CS96MULTI : CS96;
lib/libc/citrus/modules/citrus_iso2022.c
1069
cs.type = (wc & 0x00007f00) ? CS94MULTI : CS94;
lib/libc/citrus/modules/citrus_iso2022.c
1076
if (psenc->g[target].type == cs.type
lib/libc/citrus/modules/citrus_iso2022.c
1082
if (cs.type == CS94MULTI || cs.type == CS96MULTI)
lib/libc/citrus/modules/citrus_iso2022.c
1084
if (target == 0 && cs.type == CS94MULTI && strchr("@AB", cs.final)
lib/libc/citrus/modules/citrus_iso2022.c
1087
else if (cs.type == CS94 || cs.type == CS94MULTI)
lib/libc/citrus/modules/citrus_iso2022.c
1095
psenc->g[target].type = cs.type;
lib/libc/citrus/modules/citrus_iso2022.c
1164
switch (cs.type) {
lib/libc/citrus/modules/citrus_iso2022.c
179
cs->type = CS94MULTI;
lib/libc/citrus/modules/citrus_iso2022.c
184
cs->type = CS96MULTI;
lib/libc/citrus/modules/citrus_iso2022.c
189
cs->type = CS94;
lib/libc/citrus/modules/citrus_iso2022.c
194
cs->type = CS96;
lib/libc/citrus/modules/citrus_iso2022.c
223
cs.type = CS94;
lib/libc/citrus/modules/citrus_iso2022.c
228
cs.type = CS96;
lib/libc/citrus/modules/citrus_iso2022.c
233
cs.type = CS94MULTI;
lib/libc/citrus/modules/citrus_iso2022.c
238
cs.type = CS96MULTI;
lib/libc/citrus/modules/citrus_iso2022.c
260
(ei->recommend[i] + (ei->recommendsize[i] - 1))->type = cs.type;
lib/libc/citrus/modules/citrus_iso2022.c
279
ei->initg[token[4] - '0'].type = cs.type;
lib/libc/citrus/modules/citrus_iso2022.c
427
s->g[i].type = ei->initg[i].type;
lib/libc/citrus/modules/citrus_iso2022.c
477
int type;
lib/libc/citrus/modules/citrus_iso2022.c
621
if (sp->type != -1) {
lib/libc/citrus/modules/citrus_iso2022.c
625
switch (sp->type) {
lib/libc/citrus/modules/citrus_iso2022.c
638
psenc->g[i].type = sp->type;
lib/libc/citrus/modules/citrus_iso2022.c
744
switch (psenc->g[cur].type) {
lib/libc/citrus/modules/citrus_iso2022.c
775
switch (psenc->g[cur].type) {
lib/libc/citrus/modules/citrus_iso2022.c
78
u_char type;
lib/libc/citrus/modules/citrus_iso2022.c
794
switch (psenc->g[cur].type) {
lib/libc/citrus/modules/citrus_iso2022.c
831
if (psenc->g[cur].type == CS96MULTI)
lib/libc/citrus/modules/citrus_iso2022.c
982
if (cs->type != recommend[j].type)
lib/libc/citrus/modules/citrus_iso2022.c
997
if (cs->type != recommend[j].type)
lib/libc/citrus/modules/citrus_mapper_std.c
361
const char *type;
lib/libc/citrus/modules/citrus_mapper_std.c
394
&type, NULL);
lib/libc/citrus/modules/citrus_mapper_std.c
401
if (_bcs_strcasecmp(type, types[id].t_name) == 0)
lib/libc/compat/sys/compat_mount.c
24
mount(const char *type, const char *dir, int flags, void *data)
lib/libc/compat/sys/compat_mount.c
26
return __mount50(type, dir, flags, data, 0) == -1 ? -1 : 0;
lib/libc/compat/sys/compat_socket.c
19
socket(int domain, int type, int protocol)
lib/libc/compat/sys/compat_socket.c
23
res = __socket30(domain, type, protocol);
lib/libc/db/btree/bt_open.c
180
dbp->type = DB_BTREE;
lib/libc/db/db/db.c
59
dbopen(const char *fname, int flags, mode_t mode, DBTYPE type,
lib/libc/db/db/db.c
69
switch (type) {
lib/libc/db/hash/hash.c
210
dbp->type = DB_HASH;
lib/libc/gdtoa/strtold_subr.c
35
#error no extended-precision long double type
lib/libc/gen/devname.c
107
devname_fts(dev_t dev, mode_t type, char *path, size_t len)
lib/libc/gen/devname.c
125
if ((type & S_IFMT) != (fe->fts_statp->st_mode & S_IFMT))
lib/libc/gen/devname.c
140
devname_r(dev_t dev, mode_t type, char *path, size_t len)
lib/libc/gen/devname.c
147
rv = devname_dblookup(dev, type, path, len);
lib/libc/gen/devname.c
152
rv = devname_ptslookup(dev, type, path, len);
lib/libc/gen/devname.c
158
rv = devname_fts(dev, type, path, len);
lib/libc/gen/devname.c
163
devname(dev_t dev, mode_t type)
lib/libc/gen/devname.c
167
return devname_r(dev, type, path, sizeof(path)) == 0 ? path : NULL;
lib/libc/gen/devname.c
67
devname_dblookup(dev_t dev, mode_t type, char *path, size_t len)
lib/libc/gen/devname.c
74
le16enc(key + 8, type);
lib/libc/gen/devname.c
92
devname_ptslookup(dev_t dev, mode_t type, char *path, size_t len)
lib/libc/gen/devname.c
96
if (type != S_IFCHR || pts == NODEVMAJOR || major(dev) != pts)
lib/libc/gen/fts.c
640
fts_build(FTS *sp, int type)
lib/libc/gen/fts.c
674
if (type == BREAD) {
lib/libc/gen/fts.c
686
if (type == BNAMES) {
lib/libc/gen/fts.c
718
if (nlinks || type == BREAD) {
lib/libc/gen/fts.c
720
if (nlinks && type == BREAD)
lib/libc/gen/fts.c
897
if (descend && (type == BCHILD || !nitems) &&
lib/libc/gen/fts.c
908
if (type == BREAD)
lib/libc/gen/getcap.c
163
cgetcap(char *buf, const char *cap, int type)
lib/libc/gen/getcap.c
193
if (type == ':') {
lib/libc/gen/getcap.c
198
if (*bp != type)
lib/libc/gen/getdevmajor.c
60
__getdevmajor50(const char *name, mode_t type)
lib/libc/gen/getdevmajor.c
63
return (dev_t)getdevmajor(name, type);
lib/libc/gen/getdevmajor.c
67
getdevmajor(const char *name, mode_t type)
lib/libc/gen/getdevmajor.c
74
if (type != S_IFCHR && type != S_IFBLK) {
lib/libc/gen/getdevmajor.c
95
if (type == S_IFCHR)
lib/libc/gen/popen.c
101
*type = "r+";
lib/libc/gen/popen.c
105
*type = strrchr(*type, 'r') ? "r" : "w";
lib/libc/gen/popen.c
120
pdes_child(int *pdes, const char *type)
lib/libc/gen/popen.c
134
if (type[0] == 'r') {
lib/libc/gen/popen.c
140
if (type[1] == '+')
lib/libc/gen/popen.c
152
pdes_parent(int *pdes, struct pid *cur, pid_t pid, const char *type)
lib/libc/gen/popen.c
157
if (*type == 'r') {
lib/libc/gen/popen.c
158
iop = fdopen(pdes[0], type);
lib/libc/gen/popen.c
164
iop = fdopen(pdes[1], type);
lib/libc/gen/popen.c
187
popen(const char *cmd, const char *type)
lib/libc/gen/popen.c
194
_DIAGASSERT(type != NULL);
lib/libc/gen/popen.c
196
if ((cur = pdes_get(pdes, &type)) == NULL)
lib/libc/gen/popen.c
211
pdes_child(pdes, type);
lib/libc/gen/popen.c
218
pdes_parent(pdes, cur, pid, type);
lib/libc/gen/popen.c
226
popenve(const char *cmd, char *const *argv, char *const *envp, const char *type)
lib/libc/gen/popen.c
233
_DIAGASSERT(type != NULL);
lib/libc/gen/popen.c
235
if ((cur = pdes_get(pdes, &type)) == NULL)
lib/libc/gen/popen.c
248
pdes_child(pdes, type);
lib/libc/gen/popen.c
254
pdes_parent(pdes, cur, pid, type);
lib/libc/gen/popen.c
93
pdes_get(int *pdes, const char **type)
lib/libc/gen/popen.c
96
int flags = strchr(*type, 'e') ? O_CLOEXEC : 0;
lib/libc/gen/popen.c
99
if (strchr(*type, '+')) {
lib/libc/include/isc/assertions.h
37
const char *assertion_type_to_text(assertion_type type);
lib/libc/include/isc/list.h
24
#define LIST(type) struct { type *head, *tail; }
lib/libc/include/isc/list.h
28
#define LINK(type) struct { type *prev, *next; }
lib/libc/include/isc/list.h
29
#define INIT_LINK_TYPE(elt, link, type) \
lib/libc/include/isc/list.h
31
(elt)->link.prev = (type *)(-1); \
lib/libc/include/isc/list.h
32
(elt)->link.next = (type *)(-1); \
lib/libc/include/isc/list.h
67
#define UNLINK_TYPE(list, elt, link, type) \
lib/libc/include/isc/list.h
82
INIT_LINK_TYPE(elt, link, type); \
lib/libc/isc/assertions.c
62
assertion_type_to_text(assertion_type type) {
lib/libc/isc/assertions.c
65
switch (type) {
lib/libc/isc/assertions.c
90
default_assertion_failed(const char *file, int line, assertion_type type,
lib/libc/isc/assertions.c
94
file, line, assertion_type_to_text(type), cond,
lib/libc/isc/ev_timers.c
251
ctx->cur->type == Timer &&
lib/libc/isc/eventlib_p.h
169
enum { Accept, File, Stream, Timer, Wait, Free, Null } type;
lib/libc/isc/eventlib_p.h
184
uint32_t type; /* READ, WRITE, EXCEPT, nonblk */
lib/libc/isc/eventlib_p.h
190
ctx->field.type = ev; \
lib/libc/nameser/ns_parse.c
185
NS_GET16(rr->type, handle->_msg_ptr);
lib/libc/nameser/ns_parse.c
248
NS_GET16(rr->type, handle->_msg_ptr);
lib/libc/nameser/ns_print.c
111
const char *name, ns_class class, ns_type type,
lib/libc/nameser/ns_print.c
155
p_type(type));
lib/libc/nameser/ns_print.c
162
switch (type) {
lib/libc/nameser/ns_print.c
191
if (type == ns_t_isdn && rdata == edata)
lib/libc/nameser/ns_print.c
725
if (type == ns_t_ds || type == ns_t_dlv) {
lib/libc/nameser/ns_print.c
778
if (type == ns_t_nsec3param)
lib/libc/net/getaddrinfo.c
1717
int type, class, ancount, qdcount;
lib/libc/net/getaddrinfo.c
1791
type = _getshort(cp);
lib/libc/net/getaddrinfo.c
1803
type == T_CNAME) {
lib/libc/net/getaddrinfo.c
1822
if (!(type == T_A || type == T_AAAA)) {
lib/libc/net/getaddrinfo.c
1826
} else if (type != qtype) {
lib/libc/net/getaddrinfo.c
1827
if (type != T_KEY && type != T_SIG && type != T_DNAME) {
lib/libc/net/getaddrinfo.c
1832
p_type(type));
lib/libc/net/getaddrinfo.c
1837
switch (type) {
lib/libc/net/getaddrinfo.c
1847
if (type == T_A && n != INADDRSZ) {
lib/libc/net/getaddrinfo.c
1851
if (type == T_AAAA && n != IN6ADDRSZ) {
lib/libc/net/getaddrinfo.c
1855
if (type == T_AAAA) {
lib/libc/net/getaddrinfo.c
1873
ai.ai_family = (type == T_A) ? AF_INET : AF_INET6;
lib/libc/net/getaddrinfo.c
2569
int class, type;
lib/libc/net/getaddrinfo.c
2582
type = t->qtype;
lib/libc/net/getaddrinfo.c
2587
printf(";; res_nquery(%s, %d, %d)\n", name, class, type);
lib/libc/net/getaddrinfo.c
2590
n = res_nmkquery(statp, QUERY, name, class, type, NULL, 0, NULL,
lib/libc/net/gethnamaddr.c
223
int type, class, ancount, qdcount;
lib/libc/net/gethnamaddr.c
298
type = _getshort(cp);
lib/libc/net/gethnamaddr.c
311
if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) {
lib/libc/net/gethnamaddr.c
340
if (qtype == T_PTR && type == T_CNAME) {
lib/libc/net/gethnamaddr.c
361
if (type != qtype) {
lib/libc/net/gethnamaddr.c
362
if (type != T_KEY && type != T_SIG && type != T_DNAME)
lib/libc/net/gethnamaddr.c
366
p_type(type));
lib/libc/net/gethnamaddr.c
370
switch (type) {
lib/libc/net/gethnamaddr.c
425
if (type == T_AAAA) {
lib/libc/net/gethnamaddr.c
937
int n, type;
lib/libc/net/gethnamaddr.c
952
type = T_A;
lib/libc/net/gethnamaddr.c
956
type = T_AAAA;
lib/libc/net/gethnamaddr.c
972
n = res_nsearch(res, name, C_IN, type, buf->buf, (int)sizeof(buf->buf));
lib/libc/net/gethnamaddr.c
979
hp = getanswer(buf, n, name, type, res, info->hp, info->buf,
lib/libc/net/getnetnamadr.c
177
int type, class, ancount, qdcount, haveanswer;
lib/libc/net/getnetnamadr.c
230
GETSHORT(type, cp);
lib/libc/net/getnetnamadr.c
234
if (class == C_IN && type == T_PTR) {
lib/libc/net/getnetnamadr.c
285
int type = va_arg(ap, int);
lib/libc/net/getnetnamadr.c
291
if (np->n_addrtype == type && np->n_net == net)
lib/libc/net/getnetnamadr.c
311
int type = va_arg(ap, int);
lib/libc/net/getnetnamadr.c
321
if (type != AF_INET)
lib/libc/net/getnetnamadr.c
524
int type = va_arg(ap, int);
lib/libc/net/getnetnamadr.c
532
if (type != AF_INET)
lib/libc/net/hesiod.c
186
hesiod_to_bind(void *context, const char *name, const char *type)
lib/libc/net/hesiod.c
195
_DIAGASSERT(type != NULL);
lib/libc/net/hesiod.c
224
len = strlen(bindname) + 1 + strlen(type);
lib/libc/net/hesiod.c
236
strlcat(bindname, type, sizeof(bindname));
lib/libc/net/hesiod.c
264
hesiod_resolve(void *context, const char *name, const char *type)
lib/libc/net/hesiod.c
271
_DIAGASSERT(type != NULL);
lib/libc/net/hesiod.c
273
bindname = hesiod_to_bind(context, name, type);
lib/libc/net/hesiod.c
415
int ancount, qdcount, i, j, n, skip, type, class, len;
lib/libc/net/hesiod.c
472
type = p[skip + 0] << 8 | p[skip + 1];
lib/libc/net/hesiod.c
481
if (class != qclass || type != T_TXT) {
lib/libc/net/hesiod.c
547
hes_to_bind(const char *name, const char *type)
lib/libc/net/hesiod.c
552
_DIAGASSERT(type != NULL);
lib/libc/net/hesiod.c
557
bindname = hesiod_to_bind(context, name, type);
lib/libc/net/hesiod.c
564
hes_resolve(const char *name, const char *type)
lib/libc/net/hesiod.c
569
_DIAGASSERT(type != NULL);
lib/libc/net/hesiod.c
581
list = hesiod_resolve(context, name, type);
lib/libc/net/ip6opt.c
104
if (type != IPV6_HOPOPTS && type != IPV6_DSTOPTS)
lib/libc/net/ip6opt.c
108
ch->cmsg_type = type;
lib/libc/net/ip6opt.c
337
inet6_option_find(const struct cmsghdr *cmsg, uint8_t **tptrp, int type)
lib/libc/net/ip6opt.c
374
if (*optp == type) {
lib/libc/net/ip6opt.c
455
inet6_opt_append(void *extbuf, socklen_t extlen, int offset, uint8_t type,
lib/libc/net/ip6opt.c
465
if (type < 2)
lib/libc/net/ip6opt.c
512
*optp++ = type;
lib/libc/net/ip6opt.c
606
inet6_opt_find(void *extbuf, socklen_t extlen, int offset, uint8_t type,
lib/libc/net/ip6opt.c
632
if (*optp == type) { /* found */
lib/libc/net/ip6opt.c
94
inet6_option_init(void *bp, struct cmsghdr **cmsgp, int type)
lib/libc/net/rthdr.c
286
inet6_rth_space(int type, int segments)
lib/libc/net/rthdr.c
288
switch (type) {
lib/libc/net/rthdr.c
297
inet6_rth_init(void *bp, socklen_t bp_len, int type, int segments)
lib/libc/net/rthdr.c
306
switch (type) {
lib/libc/net/rthdr.c
70
inet6_rthdr_space(int type, int seg)
lib/libc/net/rthdr.c
72
switch (type) {
lib/libc/net/rthdr.c
84
inet6_rthdr_init(void *bp, int type)
lib/libc/net/rthdr.c
97
switch (type) {
lib/libc/posix1e/acl_branding.c
125
_acl_type_not_valid_for_acl(const acl_t acl, acl_type_t type)
lib/libc/posix1e/acl_branding.c
130
if (type == ACL_TYPE_NFS4)
lib/libc/posix1e/acl_branding.c
135
if (type == ACL_TYPE_ACCESS || type == ACL_TYPE_DEFAULT)
lib/libc/posix1e/acl_branding.c
147
_acl_brand_from_type(acl_t acl, acl_type_t type)
lib/libc/posix1e/acl_branding.c
150
switch (type) {
lib/libc/posix1e/acl_delete.c
63
acl_delete_file_np(const char *path_p, acl_type_t type)
lib/libc/posix1e/acl_delete.c
66
type = _acl_type_unold(type);
lib/libc/posix1e/acl_delete.c
67
return (__acl_delete_file(path_p, type));
lib/libc/posix1e/acl_delete.c
71
acl_delete_link_np(const char *path_p, acl_type_t type)
lib/libc/posix1e/acl_delete.c
74
type = _acl_type_unold(type);
lib/libc/posix1e/acl_delete.c
75
return (__acl_delete_link(path_p, type));
lib/libc/posix1e/acl_delete.c
79
acl_delete_fd_np(int filedes, acl_type_t type)
lib/libc/posix1e/acl_delete.c
82
type = _acl_type_unold(type);
lib/libc/posix1e/acl_delete.c
83
return (__acl_delete_fd(filedes, type));
lib/libc/posix1e/acl_get.c
103
_acl_brand_from_type(aclp, type);
lib/libc/posix1e/acl_get.c
118
acl_get_fd_np(int fd, acl_type_t type)
lib/libc/posix1e/acl_get.c
127
type = _acl_type_unold(type);
lib/libc/posix1e/acl_get.c
128
error = __acl_get_fd(fd, type, &aclp->ats_acl);
lib/libc/posix1e/acl_get.c
135
_acl_brand_from_type(aclp, type);
lib/libc/posix1e/acl_get.c
63
acl_get_file(const char *path_p, acl_type_t type)
lib/libc/posix1e/acl_get.c
72
type = _acl_type_unold(type);
lib/libc/posix1e/acl_get.c
73
error = __acl_get_file(path_p, type, &aclp->ats_acl);
lib/libc/posix1e/acl_get.c
80
_acl_brand_from_type(aclp, type);
lib/libc/posix1e/acl_get.c
86
acl_get_link_np(const char *path_p, acl_type_t type)
lib/libc/posix1e/acl_get.c
95
type = _acl_type_unold(type);
lib/libc/posix1e/acl_get.c
96
error = __acl_get_link(path_p, type, &aclp->ats_acl);
lib/libc/posix1e/acl_set.c
111
acl_set_fd_np(int fd, acl_t acl, acl_type_t type)
lib/libc/posix1e/acl_set.c
118
type = _acl_type_unold(type);
lib/libc/posix1e/acl_set.c
119
if (_acl_type_not_valid_for_acl(acl, type)) {
lib/libc/posix1e/acl_set.c
123
if (_posix1e_acl(acl, type))
lib/libc/posix1e/acl_set.c
128
return (__acl_set_fd(fd, type, &acl->ats_acl));
lib/libc/posix1e/acl_set.c
59
acl_set_file(const char *path_p, acl_type_t type, acl_t acl)
lib/libc/posix1e/acl_set.c
66
type = _acl_type_unold(type);
lib/libc/posix1e/acl_set.c
67
if (_acl_type_not_valid_for_acl(acl, type)) {
lib/libc/posix1e/acl_set.c
71
if (_posix1e_acl(acl, type))
lib/libc/posix1e/acl_set.c
76
return (__acl_set_file(path_p, type, &acl->ats_acl));
lib/libc/posix1e/acl_set.c
80
acl_set_link_np(const char *path_p, acl_type_t type, acl_t acl)
lib/libc/posix1e/acl_set.c
87
type = _acl_type_unold(type);
lib/libc/posix1e/acl_set.c
88
if (_acl_type_not_valid_for_acl(acl, type)) {
lib/libc/posix1e/acl_set.c
92
if (_posix1e_acl(acl, type))
lib/libc/posix1e/acl_set.c
97
return (__acl_set_link(path_p, type, &acl->ats_acl));
lib/libc/posix1e/acl_support.c
154
_posix1e_acl(acl_t acl, acl_type_t type)
lib/libc/posix1e/acl_support.c
160
return ((type == ACL_TYPE_ACCESS) || (type == ACL_TYPE_DEFAULT));
lib/libc/posix1e/acl_support.c
380
_acl_type_unold(acl_type_t type)
lib/libc/posix1e/acl_support.c
383
switch (type) {
lib/libc/posix1e/acl_support.c
389
return (type);
lib/libc/posix1e/acl_support.h
40
int _acl_type_unold(acl_type_t type);
lib/libc/posix1e/acl_support.h
42
int _acl_type_not_valid_for_acl(const acl_t acl, acl_type_t type);
lib/libc/posix1e/acl_support.h
43
void _acl_brand_from_type(acl_t acl, acl_type_t type);
lib/libc/posix1e/acl_support.h
58
int _posix1e_acl(acl_t acl, acl_type_t type);
lib/libc/posix1e/acl_valid.c
100
acl_valid_link_np(const char *pathp, acl_type_t type, acl_t acl)
lib/libc/posix1e/acl_valid.c
107
type = _acl_type_unold(type);
lib/libc/posix1e/acl_valid.c
108
if (_posix1e_acl(acl, type))
lib/libc/posix1e/acl_valid.c
111
return (__acl_aclcheck_link(pathp, type, &acl->ats_acl));
lib/libc/posix1e/acl_valid.c
115
acl_valid_fd_np(int fd, acl_type_t type, acl_t acl)
lib/libc/posix1e/acl_valid.c
122
type = _acl_type_unold(type);
lib/libc/posix1e/acl_valid.c
123
if (_posix1e_acl(acl, type))
lib/libc/posix1e/acl_valid.c
128
return (__acl_aclcheck_fd(fd, type, &acl->ats_acl));
lib/libc/posix1e/acl_valid.c
85
acl_valid_file_np(const char *pathp, acl_type_t type, acl_t acl)
lib/libc/posix1e/acl_valid.c
92
type = _acl_type_unold(type);
lib/libc/posix1e/acl_valid.c
93
if (_posix1e_acl(acl, type))
lib/libc/posix1e/acl_valid.c
96
return (__acl_aclcheck_file(pathp, type, &acl->ats_acl));
lib/libc/resolv/res_data.c
191
int class, int type, /*!< class and type of query */
lib/libc/resolv/res_data.c
202
return (res_nmkquery(&_nres, op, dname, class, type,
lib/libc/resolv/res_data.c
221
int class, int type, /*!< class and type of query */
lib/libc/resolv/res_data.c
229
return (res_nquery(&_nres, name, class, type, answer, anslen));
lib/libc/resolv/res_data.c
290
int class, int type, /*!< class and type of query */
lib/libc/resolv/res_data.c
299
return (res_nsearch(&_nres, name, class, type, answer, anslen));
lib/libc/resolv/res_data.c
305
int class, int type, /*!< class and type of query */
lib/libc/resolv/res_data.c
315
class, type,
lib/libc/resolv/res_debug.c
619
p_type(int type) {
lib/libc/resolv/res_debug.c
624
result = sym_ntos(__p_type_syms, type, &success);
lib/libc/resolv/res_debug.c
627
if (type < 0 || type > 0xffff)
lib/libc/resolv/res_debug.c
629
snprintf(typebuf, sizeof(typebuf), "TYPE%d", type);
lib/libc/resolv/res_mkquery.c
115
int class, int type, /*!< class and type of query */
lib/libc/resolv/res_mkquery.c
132
_res_opcodes[op], dname, p_class(class), p_type(type));
lib/libc/resolv/res_mkquery.c
165
ns_put16(type, cp);
lib/libc/resolv/res_mkquery.c
200
ns_put16(type, cp);
lib/libc/resolv/res_query.c
147
int class, int type, /*%< class and type of query */
lib/libc/resolv/res_query.c
162
printf(";; res_query(%s, %d, %d)\n", name, class, type);
lib/libc/resolv/res_query.c
165
n = res_nmkquery(statp, QUERY, name, class, type, NULL, 0, NULL,
lib/libc/resolv/res_query.c
246
int class, int type, /*%< class and type of query */
lib/libc/resolv/res_query.c
270
return (res_nquery(statp, cp, class, type, answer, anslen));
lib/libc/resolv/res_query.c
279
ret = res_nquerydomain(statp, name, NULL, class, type,
lib/libc/resolv/res_query.c
307
class, type,
lib/libc/resolv/res_query.c
363
ret = res_nquerydomain(statp, name, NULL, class, type,
lib/libc/resolv/res_query.c
393
int class, int type, /*%< class and type of query */
lib/libc/resolv/res_query.c
404
name, domain?domain:"<Nil>", class, type);
lib/libc/resolv/res_query.c
427
return (res_nquery(statp, longname, class, type, answer, anslen));
lib/libc/resolv/res_send.c
265
res_nameinquery(const char *name, int type, int class,
lib/libc/resolv/res_send.c
283
if (ttype == type && tclass == class &&
lib/libc/rpc/rpc_generic.c
229
return (_rpctypelist[i].type);
lib/libc/rpc/rpc_generic.c
231
return (_rpctypelist[i].type);
lib/libc/rpc/rpc_generic.c
514
int type, proto;
lib/libc/rpc/rpc_generic.c
524
len = sizeof type;
lib/libc/rpc/rpc_generic.c
525
if (getsockopt(fd, SOL_SOCKET, SO_TYPE, &type, &len) < 0)
lib/libc/rpc/rpc_generic.c
530
if (type == SOCK_STREAM)
lib/libc/rpc/rpc_generic.c
532
else if (type == SOCK_DGRAM)
lib/libc/rpc/rpc_generic.c
541
sip->si_socktype = type;
lib/libc/rpc/rpc_generic.c
86
const int type;
lib/libc/rpc/svc_dg.c
354
#define ALLOC(type, size) \
lib/libc/rpc/svc_dg.c
355
mem_alloc((sizeof (type) * (size)))
lib/libc/rpc/svc_dg.c
357
#define MEMZERO(addr, type, size) \
lib/libc/rpc/svc_dg.c
358
(void) memset((void *) (addr), 0, sizeof (type) * (int) (size))
lib/libc/rpc/svc_dg.c
360
#define FREE(addr, type, size) \
lib/libc/rpc/svc_dg.c
361
mem_free((addr), (sizeof (type) * (size)))
lib/libc/stdio/vfwprintf.c
1555
#define ADDTYPE(type) \
lib/libc/stdio/vfwprintf.c
1568
typetable[nextarg++] = type; \
lib/libc/stdio/vfwprintf.c
763
#define GETARG(type) \
lib/libc/stdio/vfwprintf.c
764
((/*CONSTCOND*/argtable != NULL) ? *((type*)(void*)(&argtable[nextarg++])) : \
lib/libc/stdio/vfwprintf.c
765
(nextarg++, va_arg(ap, type)))
lib/libc/thread-stub/thread-stub.c
172
__libc_mutexattr_settype_stub(mutexattr_t *ma, int type)
lib/libc/thread-stub/thread-stub.c
177
(void)type;
lib/libc/time/localtime.c
835
may_update_tzname_etc(int stddst_mask, struct state *sp, int type)
lib/libc/time/localtime.c
837
struct ttinfo *ttisp = &sp->ttis[type];
lib/libc/time/localtime.c
841
if (!ttunspecified(sp, type))
lib/libc/time/private.h
1045
#define INT_STRLEN_MAXIMUM(type) \
lib/libc/time/private.h
1046
((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + \
lib/libc/time/private.h
1047
1 + TYPE_SIGNED(type))
lib/libc/time/private.h
974
#define TYPE_BIT(type) (CHAR_BIT * (ptrdiff_t) sizeof(type))
lib/libc/time/private.h
975
#define TYPE_SIGNED(type) \
lib/libc/time/private.h
976
(/*LINTED*/((type)~(type)0 >> (sizeof(type) * CHAR_BIT - 1)) == (type)-1)
lib/libc/time/private.h
977
#define TWOS_COMPLEMENT(type) (TYPE_SIGNED (type) && (! ~ (type) -1))
lib/libc/time/zic.c
187
# define alignof(type) offsetof(struct { char a; type b; }, b)
lib/libc/time/zic.c
2735
toi == 1 ? 0 : attypes[toi - 2].type;
lib/libc/time/zic.c
2737
+ utoffs[attypes[toi - 1].type])
lib/libc/time/zic.c
2739
if (attypes[fromi].type == type_2)
lib/libc/time/zic.c
2742
attypes[toi - 1].type =
lib/libc/time/zic.c
2743
attypes[fromi].type;
lib/libc/time/zic.c
2753
|| (utoffs[attypes[toi - 1].type]
lib/libc/time/zic.c
2754
!= utoffs[attypes[fromi].type])
lib/libc/time/zic.c
2755
|| (isdsts[attypes[toi - 1].type]
lib/libc/time/zic.c
2756
!= isdsts[attypes[fromi].type])
lib/libc/time/zic.c
2757
|| (desigidx[attypes[toi - 1].type]
lib/libc/time/zic.c
2758
!= desigidx[attypes[fromi].type]))
lib/libc/time/zic.c
2783
types[i] = attypes[i].type;
lib/libc/time/zic.c
282
static void addtt(zic_t starttime, int type);
lib/libc/time/zic.c
2928
register int mrudst, mrustd, hidst, histd, type;
lib/libc/time/zic.c
2954
type = addtype(utoffs[mrudst],
lib/libc/time/zic.c
2960
omittype[type] = false;
lib/libc/time/zic.c
2965
type = addtype(utoffs[mrustd],
lib/libc/time/zic.c
2971
omittype[type] = false;
lib/libc/time/zic.c
3569
int type;
lib/libc/time/zic.c
3573
type = addtype(zp->z_stdoff + save,
lib/libc/time/zic.c
3577
addtt(starttime, type);
lib/libc/time/zic.c
3580
nonTZlimtype = type;
lib/libc/time/zic.c
3584
defaulttype = type;
lib/libc/time/zic.c
3615
int type;
lib/libc/time/zic.c
3709
type = addtype(offset, ab, rp->r_isdst,
lib/libc/time/zic.c
3712
defaulttype = type;
lib/libc/time/zic.c
3713
addtt(ktime, type);
lib/libc/time/zic.c
3717
nonTZlimtype = type;
lib/libc/time/zic.c
3733
int type = addtype(startoff, startbuf, isdst,
lib/libc/time/zic.c
3736
defaulttype = type;
lib/libc/time/zic.c
3737
addtt(starttime, type);
lib/libc/time/zic.c
3776
&& (nonTZlimtype != attypes[i].type
lib/libc/time/zic.c
3778
attypes[j].type = attypes[i].type;
lib/libc/time/zic.c
3806
lastat ? lastat->type : defaulttype);
lib/libc/time/zic.c
3817
addtt(zic_t starttime, int type)
lib/libc/time/zic.c
3822
attypes[timecnt].type = type;
lib/libc/time/zic.c
563
unsigned char type;
lib/libcrypt/pw_gensalt.c
290
pw_gensalt(char *salt, size_t saltlen, const char *type, const char *option)
lib/libcrypt/pw_gensalt.c
295
if (strcmp(sp->name, type) == 0)
lib/libcurses/EXAMPLES/view.c
55
#define typeMalloc(type,n) (type *) malloc((n) * sizeof(type))
lib/libcurses/get_wch.c
286
|| ((current->key[mapping]->type
lib/libcurses/get_wch.c
360
if (current->key[current->mapping[k]]->type
lib/libcurses/getch.c
235
if (map->key[map->mapping[i]]->type == KEYMAP_MULTI)
lib/libcurses/getch.c
302
the_key->type = key_type;
lib/libcurses/getch.c
352
if (key->type == KEYMAP_MULTI) {
lib/libcurses/getch.c
358
} else if ((key->type == KEYMAP_LEAF)
lib/libcurses/getch.c
521
new_one[i].type = 0;
lib/libcurses/getch.c
629
|| ((current->key[mapping]->type == KEYMAP_LEAF)
lib/libcurses/getch.c
646
if (current->key[current->mapping[k]]->type == KEYMAP_LEAF) {
lib/libcurses/getch.c
748
if (key->type == KEYMAP_MULTI)
lib/libcurses/getch.c
750
else if ((key->type == KEYMAP_LEAF)
lib/libcurses/keymap.h
65
short type; /* type of key this is */
lib/libcurses/screen.c
127
newterm(const char *type, FILE *outfd, FILE *infd)
lib/libcurses/screen.c
132
sp = type;
lib/libcurses/screen.c
133
if (type == NULL && (sp = getenv("TERM")) == NULL)
lib/libcurses/setterm.c
55
setterm(const char *type)
lib/libcurses/setterm.c
58
return _cursesi_setterm(type, _cursesi_screen);
lib/libcurses/setterm.c
62
_cursesi_setterm(const char *type, SCREEN *screen)
lib/libcurses/setterm.c
67
if (type[0] == '\0')
lib/libcurses/setterm.c
68
type = "xx";
lib/libcurses/setterm.c
72
(void)ti_setupterm(&screen->term, type, fileno(screen->outfd), &r);
lib/libcurses/setterm.c
81
__CTRACE(__CTRACE_INIT, "setterm: tty = %s\n", type);
lib/libedit/common.c
158
if (el->el_map.type == MAP_VI) {
lib/libedit/common.c
179
if (el->el_map.type == MAP_VI &&
lib/libedit/common.c
219
if (el->el_map.type == MAP_VI) {
lib/libedit/common.c
244
if (el->el_map.type == MAP_VI) {
lib/libedit/common.c
294
el->el_map.type == MAP_VI &&
lib/libedit/common.c
302
if (el->el_map.type == MAP_VI)
lib/libedit/common.c
328
if (el->el_map.type == MAP_VI)
lib/libedit/common.c
351
if (el->el_map.type == MAP_VI)
lib/libedit/common.c
579
if (el->el_map.type == MAP_VI) {
lib/libedit/emacs.c
274
if (el->el_map.type == MAP_VI)
lib/libedit/hist.c
114
if (el->el_map.type == MAP_VI)
lib/libedit/hist.c
149
if (el->el_map.type == MAP_VI)
lib/libedit/history.c
63
#define FUNW(type) type
lib/libedit/history.c
64
#define TYPE(type) type
lib/libedit/history.c
81
#define FUNW(type) type ## _w
lib/libedit/history.c
82
#define TYPE(type) type ## W
lib/libedit/keymacro.c
295
if (ptr->type != XK_CMD)
lib/libedit/keymacro.c
297
return ptr->type;
lib/libedit/keymacro.c
338
switch (ptr->type) {
lib/libedit/keymacro.c
348
ptr->type));
lib/libedit/keymacro.c
351
switch (ptr->type = ntype) {
lib/libedit/keymacro.c
435
switch (ptr->type) {
lib/libedit/keymacro.c
444
EL_ABORT((el->el_errfile, "Bad XK_ type %d\n", ptr->type));
lib/libedit/keymacro.c
462
ptr->type = XK_NOD;
lib/libedit/keymacro.c
515
&ptr->val, ptr->type);
lib/libedit/keymacro.c
564
keymacro_kprint(el, el->el_keymacro.buf, &ptr->val, ptr->type);
lib/libedit/keymacro.c
78
int type; /* node type */
lib/libedit/map.c
1011
if (el->el_map.type == MAP_VI)
lib/libedit/map.c
1045
el->el_map.type = MAP_VI;
lib/libedit/map.c
1077
el->el_map.type = MAP_EMACS;
lib/libedit/map.c
1129
switch (el->el_map.type) {
lib/libedit/map.h
58
int type; /* Emacs or vi */
lib/libedit/read.c
529
if (el->el_map.type == MAP_VI &&
lib/libedit/readline.c
2529
rl_generic_bind(int type __attribute__((__unused__)),
lib/libedit/readline/readline.h
64
char type;
lib/libedit/search.c
63
((el)->el_line.cursor + (((el)->el_map.type == MAP_VI) && \
lib/libedit/terminal.c
1001
arrow[A_K_LT].type = XK_CMD;
lib/libedit/terminal.c
1006
arrow[A_K_RT].type = XK_CMD;
lib/libedit/terminal.c
1011
arrow[A_K_HO].type = XK_CMD;
lib/libedit/terminal.c
1016
arrow[A_K_EN].type = XK_CMD;
lib/libedit/terminal.c
1021
arrow[A_K_DE].type = XK_CMD;
lib/libedit/terminal.c
1045
keymacro_add(el, strA, &arrow[A_K_UP].fun, arrow[A_K_UP].type);
lib/libedit/terminal.c
1046
keymacro_add(el, strB, &arrow[A_K_DN].fun, arrow[A_K_DN].type);
lib/libedit/terminal.c
1047
keymacro_add(el, strC, &arrow[A_K_RT].fun, arrow[A_K_RT].type);
lib/libedit/terminal.c
1048
keymacro_add(el, strD, &arrow[A_K_LT].fun, arrow[A_K_LT].type);
lib/libedit/terminal.c
1049
keymacro_add(el, strH, &arrow[A_K_HO].fun, arrow[A_K_HO].type);
lib/libedit/terminal.c
1050
keymacro_add(el, strF, &arrow[A_K_EN].fun, arrow[A_K_EN].type);
lib/libedit/terminal.c
1051
keymacro_add(el, stOA, &arrow[A_K_UP].fun, arrow[A_K_UP].type);
lib/libedit/terminal.c
1052
keymacro_add(el, stOB, &arrow[A_K_DN].fun, arrow[A_K_DN].type);
lib/libedit/terminal.c
1053
keymacro_add(el, stOC, &arrow[A_K_RT].fun, arrow[A_K_RT].type);
lib/libedit/terminal.c
1054
keymacro_add(el, stOD, &arrow[A_K_LT].fun, arrow[A_K_LT].type);
lib/libedit/terminal.c
1055
keymacro_add(el, stOH, &arrow[A_K_HO].fun, arrow[A_K_HO].type);
lib/libedit/terminal.c
1056
keymacro_add(el, stOF, &arrow[A_K_EN].fun, arrow[A_K_EN].type);
lib/libedit/terminal.c
1058
if (el->el_map.type != MAP_VI)
lib/libedit/terminal.c
1060
keymacro_add(el, &strA[1], &arrow[A_K_UP].fun, arrow[A_K_UP].type);
lib/libedit/terminal.c
1061
keymacro_add(el, &strB[1], &arrow[A_K_DN].fun, arrow[A_K_DN].type);
lib/libedit/terminal.c
1062
keymacro_add(el, &strC[1], &arrow[A_K_RT].fun, arrow[A_K_RT].type);
lib/libedit/terminal.c
1063
keymacro_add(el, &strD[1], &arrow[A_K_LT].fun, arrow[A_K_LT].type);
lib/libedit/terminal.c
1064
keymacro_add(el, &strH[1], &arrow[A_K_HO].fun, arrow[A_K_HO].type);
lib/libedit/terminal.c
1065
keymacro_add(el, &strF[1], &arrow[A_K_EN].fun, arrow[A_K_EN].type);
lib/libedit/terminal.c
1066
keymacro_add(el, &stOA[1], &arrow[A_K_UP].fun, arrow[A_K_UP].type);
lib/libedit/terminal.c
1067
keymacro_add(el, &stOB[1], &arrow[A_K_DN].fun, arrow[A_K_DN].type);
lib/libedit/terminal.c
1068
keymacro_add(el, &stOC[1], &arrow[A_K_RT].fun, arrow[A_K_RT].type);
lib/libedit/terminal.c
1069
keymacro_add(el, &stOD[1], &arrow[A_K_LT].fun, arrow[A_K_LT].type);
lib/libedit/terminal.c
1070
keymacro_add(el, &stOH[1], &arrow[A_K_HO].fun, arrow[A_K_HO].type);
lib/libedit/terminal.c
1071
keymacro_add(el, &stOF[1], &arrow[A_K_EN].fun, arrow[A_K_EN].type);
lib/libedit/terminal.c
1080
int type)
lib/libedit/terminal.c
1088
arrow[i].type = type;
lib/libedit/terminal.c
1106
arrow[i].type = XK_NOD;
lib/libedit/terminal.c
1124
if (arrow[i].type != XK_NOD)
lib/libedit/terminal.c
1126
&arrow[i].fun, arrow[i].type);
lib/libedit/terminal.c
1146
map = el->el_map.type == MAP_VI ? el->el_map.alt : el->el_map.key;
lib/libedit/terminal.c
1147
dmap = el->el_map.type == MAP_VI ? el->el_map.vic : el->el_map.emacs;
lib/libedit/terminal.c
1175
if (arrow[i].type == XK_NOD)
lib/libedit/terminal.c
1181
arrow[i].type);
lib/libedit/terminal.c
1185
if (arrow[i].type == XK_CMD)
lib/libedit/terminal.c
1189
arrow[i].type);
lib/libedit/terminal.c
991
arrow[A_K_DN].type = XK_CMD;
lib/libedit/terminal.c
996
arrow[A_K_UP].type = XK_CMD;
lib/libedit/terminal.h
47
int type; /* Type of function */
lib/libedit/tokenizer.c
72
#define TYPE(type) type
lib/libedit/tokenizer.c
79
#define TYPE(type) type ## W
lib/libedit/tty.c
909
if (el->el_map.type == MAP_VI) {
lib/libedit/tty.c
927
map[(unsigned char)new[0]] = tp->bind[el->el_map.type];
lib/libedit/tty.c
934
tp->bind[el->el_map.type + 1];
lib/libedit/vi.c
217
if (el->el_map.type == MAP_VI)
lib/libedit/vi.c
241
if (el->el_map.type == MAP_VI)
lib/libexecinfo/symtab.c
155
if (type != -1 &&
lib/libexecinfo/symtab.c
156
(unsigned)type != ELF_ST_TYPE(sym.st_info))
lib/libexecinfo/symtab.c
92
symtab_create(int fd, int bind, int type)
lib/libform/field_types.c
116
set_field_type(FIELD *fptr, FIELDTYPE *type, ...)
lib/libform/field_types.c
122
va_start(args, type);
lib/libform/field_types.c
126
field->type = type;
lib/libform/field_types.c
127
_formi_create_field_args(type, &field->args, &type->link, &args,
lib/libform/field_types.c
147
return field->type;
lib/libform/field_types.c
44
_formi_create_field_args(FIELDTYPE *type, char **type_args,
lib/libform/field_types.c
53
_formi_create_field_args(FIELDTYPE *type, char **type_args,
lib/libform/field_types.c
59
if ((type != NULL)
lib/libform/field_types.c
60
&& ((type->flags & _TYPE_HAS_ARGS) == _TYPE_HAS_ARGS)) {
lib/libform/field_types.c
61
if ((type->flags & _TYPE_IS_LINKED) == _TYPE_IS_LINKED) {
lib/libform/field_types.c
64
_formi_create_field_args(type->link->next,
lib/libform/field_types.c
66
&type->link->next->link,
lib/libform/field_types.c
69
_formi_create_field_args(type->link->prev,
lib/libform/field_types.c
71
&type->link->prev->link,
lib/libform/field_types.c
79
if ((*type_args = (char *) type->make_args(args))
lib/libform/form.h
233
FIELDTYPE *type; /* type struct for the field */
lib/libform/internals.c
2945
if (field->type == NULL)
lib/libform/internals.c
2949
_formi_do_char_validation(field, field->type, c, &ret_val);
lib/libform/internals.c
2961
_formi_do_char_validation(FIELD *field, FIELDTYPE *type, char c, int *ret_val)
lib/libform/internals.c
2963
if ((type->flags & _TYPE_IS_LINKED) == _TYPE_IS_LINKED) {
lib/libform/internals.c
2964
_formi_do_char_validation(field, type->link->next, c, ret_val);
lib/libform/internals.c
2965
_formi_do_char_validation(field, type->link->prev, c, ret_val);
lib/libform/internals.c
2967
if (type->char_check == NULL)
lib/libform/internals.c
2970
if (type->char_check((int)(unsigned char) c,
lib/libform/internals.c
3036
if (cur->type == NULL)
lib/libform/internals.c
3040
_formi_do_validation(cur, cur->type, &ret_val);
lib/libform/internals.c
3051
_formi_do_validation(FIELD *field, FIELDTYPE *type, int *ret_val)
lib/libform/internals.c
3053
if ((type->flags & _TYPE_IS_LINKED) == _TYPE_IS_LINKED) {
lib/libform/internals.c
3054
_formi_do_validation(field, type->link->next, ret_val);
lib/libform/internals.c
3055
_formi_do_validation(field, type->link->prev, ret_val);
lib/libform/internals.c
3057
if (type->field_check == NULL)
lib/libform/internals.c
3060
if (type->field_check(field, field_buffer(field, 0))
lib/libform/internals.c
3075
FIELDTYPE *type;
lib/libform/internals.c
3080
(form->fields[form->cur_field]->type == NULL))
lib/libform/internals.c
3084
type = field->type;
lib/libform/internals.c
3088
if (type->next_choice == NULL)
lib/libform/internals.c
3091
return type->next_choice(field,
lib/libform/internals.c
3095
if (type->prev_choice == NULL)
lib/libform/internals.c
3098
return type->prev_choice(field,
lib/libform/internals.c
91
_formi_do_char_validation(FIELD *field, FIELDTYPE *type, char c, int *ret_val);
lib/libform/internals.c
93
_formi_do_validation(FIELD *field, FIELDTYPE *type, int *ret_val);
lib/libisns/isns_socketio.c
50
isns_socket_create(isns_socket_t *s, int domain, int type)
lib/libisns/isns_socketio.c
53
return (wepe_sys_socket(domain, type, 0, s));
lib/libisns/isns_socketio.c
55
return *s = socket(domain, type, 0);
lib/libkvm/kvm_m68k_gen.c
138
uint32_t entry, type, table_pa;
lib/libkvm/kvm_m68k_gen.c
156
type = __SHIFTOUT(entry, DT51_TYPE);
lib/libkvm/kvm_m68k_gen.c
157
switch (type) {
lib/libkvm/kvm_proc.c
1086
kvm_doargv2(kvm_t *kd, pid_t pid, int type, int nchr)
lib/libkvm/kvm_proc.c
1106
mib[3] = type == KERN_PROC_ARGV ? KERN_PROC_NARGV : KERN_PROC_NENV;
lib/libkvm/kvm_proc.c
1134
mib[3] = type;
lib/libm/src/k_standard.c
103
exc.type = DOMAIN;
lib/libm/src/k_standard.c
104
exc.name = type < 100 ? "acos" : "acosf";
lib/libm/src/k_standard.c
119
exc.type = DOMAIN;
lib/libm/src/k_standard.c
120
exc.name = type < 100 ? "asin" : "asinf";
lib/libm/src/k_standard.c
137
exc.type = DOMAIN;
lib/libm/src/k_standard.c
138
exc.name = type < 100 ? "atan2" : "atan2f";
lib/libm/src/k_standard.c
152
exc.type = OVERFLOW;
lib/libm/src/k_standard.c
153
exc.name = type < 100 ? "hypot" : "hypotf";
lib/libm/src/k_standard.c
167
exc.type = OVERFLOW;
lib/libm/src/k_standard.c
168
exc.name = type < 100 ? "cosh" : "coshf";
lib/libm/src/k_standard.c
182
exc.type = OVERFLOW;
lib/libm/src/k_standard.c
183
exc.name = type < 100 ? "exp" : "expf";
lib/libm/src/k_standard.c
197
exc.type = UNDERFLOW;
lib/libm/src/k_standard.c
198
exc.name = type < 100 ? "exp" : "expf";
lib/libm/src/k_standard.c
209
exc.type = DOMAIN; /* should be SING for IEEE */
lib/libm/src/k_standard.c
210
exc.name = type < 100 ? "y0" : "y0f";
lib/libm/src/k_standard.c
227
exc.type = DOMAIN;
lib/libm/src/k_standard.c
228
exc.name = type < 100 ? "y0" : "y0f";
lib/libm/src/k_standard.c
245
exc.type = DOMAIN; /* should be SING for IEEE */
lib/libm/src/k_standard.c
246
exc.name = type < 100 ? "y1" : "y1f";
lib/libm/src/k_standard.c
263
exc.type = DOMAIN;
lib/libm/src/k_standard.c
264
exc.name = type < 100 ? "y1" : "y1f";
lib/libm/src/k_standard.c
281
exc.type = DOMAIN; /* should be SING for IEEE */
lib/libm/src/k_standard.c
282
exc.name = type < 100 ? "yn" : "ynf";
lib/libm/src/k_standard.c
299
exc.type = DOMAIN;
lib/libm/src/k_standard.c
300
exc.name = type < 100 ? "yn" : "ynf";
lib/libm/src/k_standard.c
317
exc.type = OVERFLOW;
lib/libm/src/k_standard.c
318
exc.name = type < 100 ? "lgamma" : "lgammaf";
lib/libm/src/k_standard.c
332
exc.type = SING;
lib/libm/src/k_standard.c
333
exc.name = type < 100 ? "lgamma" : "lgammaf";
lib/libm/src/k_standard.c
350
exc.type = SING;
lib/libm/src/k_standard.c
351
exc.name = type < 100 ? "log" : "logf";
lib/libm/src/k_standard.c
368
exc.type = DOMAIN;
lib/libm/src/k_standard.c
369
exc.name = type < 100 ? "log" : "logf";
lib/libm/src/k_standard.c
386
exc.type = SING;
lib/libm/src/k_standard.c
387
exc.name = type < 100 ? "log10" : "log10f";
lib/libm/src/k_standard.c
404
exc.type = DOMAIN;
lib/libm/src/k_standard.c
405
exc.name = type < 100 ? "log10" : "log10f";
lib/libm/src/k_standard.c
423
exc.type = DOMAIN;
lib/libm/src/k_standard.c
424
exc.name = type < 100 ? "pow" : "powf";
lib/libm/src/k_standard.c
435
exc.type = OVERFLOW;
lib/libm/src/k_standard.c
436
exc.name = type < 100 ? "pow" : "powf";
lib/libm/src/k_standard.c
455
exc.type = UNDERFLOW;
lib/libm/src/k_standard.c
456
exc.name = type < 100 ? "pow" : "powf";
lib/libm/src/k_standard.c
467
exc.type = DOMAIN;
lib/libm/src/k_standard.c
468
exc.name = type < 100 ? "pow" : "powf";
lib/libm/src/k_standard.c
488
exc.type = DOMAIN;
lib/libm/src/k_standard.c
489
exc.name = type < 100 ? "pow" : "powf";
lib/libm/src/k_standard.c
506
exc.type = OVERFLOW;
lib/libm/src/k_standard.c
507
exc.name = type < 100 ? "sinh" : "sinhf";
lib/libm/src/k_standard.c
522
exc.type = DOMAIN;
lib/libm/src/k_standard.c
523
if (type == 26)
lib/libm/src/k_standard.c
525
else if (type == 126)
lib/libm/src/k_standard.c
546
exc.type = DOMAIN;
lib/libm/src/k_standard.c
547
if (type == 27)
lib/libm/src/k_standard.c
549
else if (type == 127)
lib/libm/src/k_standard.c
569
exc.type = DOMAIN;
lib/libm/src/k_standard.c
570
exc.name = type < 100 ? "remainder" : "remainderf";
lib/libm/src/k_standard.c
584
exc.type = DOMAIN;
lib/libm/src/k_standard.c
585
exc.name = type < 100 ? "acosh" : "acoshf";
lib/libm/src/k_standard.c
599
exc.type = DOMAIN;
lib/libm/src/k_standard.c
600
exc.name = type < 100 ? "atanh" : "atanhf";
lib/libm/src/k_standard.c
614
exc.type = SING;
lib/libm/src/k_standard.c
615
exc.name = type < 100 ? "atanh" : "atanhf";
lib/libm/src/k_standard.c
629
exc.type = OVERFLOW;
lib/libm/src/k_standard.c
630
exc.name = type < 100 ? "scalb" : "scalbf";
lib/libm/src/k_standard.c
641
exc.type = UNDERFLOW;
lib/libm/src/k_standard.c
642
exc.name = type < 100 ? "scalb" : "scalbf";
lib/libm/src/k_standard.c
653
exc.type = TLOSS;
lib/libm/src/k_standard.c
654
exc.name = type < 100 ? "j0" : "j0f";
lib/libm/src/k_standard.c
669
exc.type = TLOSS;
lib/libm/src/k_standard.c
670
exc.name = type < 100 ? "y0" : "y0f";
lib/libm/src/k_standard.c
685
exc.type = TLOSS;
lib/libm/src/k_standard.c
686
exc.name = type < 100 ? "j1" : "j1f";
lib/libm/src/k_standard.c
701
exc.type = TLOSS;
lib/libm/src/k_standard.c
702
exc.name = type < 100 ? "y1" : "y1f";
lib/libm/src/k_standard.c
717
exc.type = TLOSS;
lib/libm/src/k_standard.c
718
exc.name = type < 100 ? "jn" : "jnf";
lib/libm/src/k_standard.c
733
exc.type = TLOSS;
lib/libm/src/k_standard.c
734
exc.name = type < 100 ? "yn" : "ynf";
lib/libm/src/k_standard.c
749
exc.type = OVERFLOW;
lib/libm/src/k_standard.c
750
exc.name = type < 100 ? "gamma" : "gammaf";
lib/libm/src/k_standard.c
764
exc.type = SING;
lib/libm/src/k_standard.c
765
exc.name = type < 100 ? "gamma" : "gammaf";
lib/libm/src/k_standard.c
783
exc.type = DOMAIN;
lib/libm/src/k_standard.c
784
exc.name = type < 100 ? "pow" : "powf";
lib/libm/src/k_standard.c
795
exc.type = SING;
lib/libm/src/k_standard.c
796
exc.name = type < 100 ? "log2" : "log2f";
lib/libm/src/k_standard.c
813
exc.type = DOMAIN;
lib/libm/src/k_standard.c
814
exc.name = type < 100 ? "log2" : "log2f";
lib/libm/src/k_standard.c
84
__kernel_standard(double x, double y, int type)
lib/libm/src/k_standard.c
99
switch(type) {
lib/libm/src/math_private.h
341
#define STRICT_ASSIGN(type, lval, rval) ((lval) = (rval))
lib/libm/src/math_private.h
343
#define STRICT_ASSIGN(type, lval, rval) do { \
lib/libm/src/math_private.h
344
volatile type __lval; \
lib/libm/src/math_private.h
346
if (sizeof(type) >= sizeof(long double)) \
lib/libm/src/s_fdim.c
35
#define DECL(type, fn) \
lib/libm/src/s_fdim.c
36
type \
lib/libm/src/s_fdim.c
37
fn(type x, type y) \
lib/libm/src/s_nearbyint.c
49
#define DECL(type, fn, rintfn) \
lib/libm/src/s_nearbyint.c
50
type \
lib/libm/src/s_nearbyint.c
51
fn(type x) \
lib/libm/src/s_nearbyint.c
53
type ret; \
lib/libnpf/npf.c
1004
npf_nat_create(int type, unsigned flags, const char *ifname)
lib/libnpf/npf.c
1011
(type == NPF_NATOUT ? NPF_RULE_OUT : NPF_RULE_IN);
lib/libnpf/npf.c
1021
nvlist_add_number(rule_dict, "type", type);
lib/libnpf/npf.c
1142
npf_table_create(const char *name, unsigned id, int type)
lib/libnpf/npf.c
1153
nvlist_add_number(tl->table_dict, "type", type);
lib/libnpf/npf.c
520
int type;
lib/libnpf/npf.c
529
if ((name = nvlist_next(params, &type, &cookie)) == NULL) {
lib/libnpf/npf.c
533
if (type != NV_TYPE_NUMBER) {
lib/libnpf/npf.c
700
npf_rule_setcode(nl_rule_t *rl, int type, const void *code, size_t len)
lib/libnpf/npf.c
702
if (type != NPF_CODE_BPF) {
lib/libnpf/npf.c
705
nvlist_add_number(rl->rule_dict, "code-type", (unsigned)type);
lib/libnpf/npf.c
878
npf_rule_getcode(nl_rule_t *rl, int *type, size_t *len)
lib/libnpf/npf.c
880
*type = (int)dnvlist_get_number(rl->rule_dict, "code-type", 0);
lib/libnvmm/libnvmm_x86.c
1000
enum x86_store_type type;
lib/libnvmm/libnvmm_x86.c
1875
instr->src.type = STORE_REG;
lib/libnvmm/libnvmm_x86.c
1877
instr->src.disp.type = DISP_0;
lib/libnvmm/libnvmm_x86.c
1880
instr->dst.type = STORE_REG;
lib/libnvmm/libnvmm_x86.c
1882
instr->dst.disp.type = DISP_0;
lib/libnvmm/libnvmm_x86.c
1904
instr->src.type = STORE_REG;
lib/libnvmm/libnvmm_x86.c
1906
instr->src.disp.type = DISP_0;
lib/libnvmm/libnvmm_x86.c
1909
instr->dst.type = STORE_REG;
lib/libnvmm/libnvmm_x86.c
1911
instr->dst.disp.type = DISP_0;
lib/libnvmm/libnvmm_x86.c
1941
streg->type = STORE_REG;
lib/libnvmm/libnvmm_x86.c
1944
stlo->type = STORE_REG;
lib/libnvmm/libnvmm_x86.c
1953
stlo->disp.type = DISP_0;
lib/libnvmm/libnvmm_x86.c
1978
streg->type = STORE_REG;
lib/libnvmm/libnvmm_x86.c
1981
stdmo->type = STORE_DMO;
lib/libnvmm/libnvmm_x86.c
2026
store->type = STORE_IMM;
lib/libnvmm/libnvmm_x86.c
2046
if (instr->strm->disp.type == DISP_1) {
lib/libnvmm/libnvmm_x86.c
2048
} else if (instr->strm->disp.type == DISP_2) {
lib/libnvmm/libnvmm_x86.c
2050
} else if (instr->strm->disp.type == DISP_4) {
lib/libnvmm/libnvmm_x86.c
2096
instr->strm->type = STORE_DUALREG;
lib/libnvmm/libnvmm_x86.c
2100
if (instr->strm->disp.type == DISP_NONE) {
lib/libnvmm/libnvmm_x86.c
2102
} else if (instr->strm->disp.type == DISP_0) {
lib/libnvmm/libnvmm_x86.c
2177
instr->strm->disp.type = DISP_4;
lib/libnvmm/libnvmm_x86.c
2181
instr->strm->type = STORE_SIB;
lib/libnvmm/libnvmm_x86.c
2189
if (instr->strm->disp.type == DISP_1 ||
lib/libnvmm/libnvmm_x86.c
2190
instr->strm->disp.type == DISP_2 ||
lib/libnvmm/libnvmm_x86.c
2191
instr->strm->disp.type == DISP_4) {
lib/libnvmm/libnvmm_x86.c
2226
if (instr->strm->disp.type == DISP_NONE) {
lib/libnvmm/libnvmm_x86.c
2357
strg->type = STORE_REG;
lib/libnvmm/libnvmm_x86.c
2362
strm->disp.type = get_disp_type(instr);
lib/libnvmm/libnvmm_x86.c
2372
strm->type = STORE_REG;
lib/libnvmm/libnvmm_x86.c
2374
strm->disp.type = DISP_4;
lib/libnvmm/libnvmm_x86.c
2381
strm->type = STORE_REG;
lib/libnvmm/libnvmm_x86.c
2383
strm->disp.type = DISP_4;
lib/libnvmm/libnvmm_x86.c
2390
strm->type = STORE_REG;
lib/libnvmm/libnvmm_x86.c
2392
strm->disp.type = DISP_2;
lib/libnvmm/libnvmm_x86.c
2407
strm->type = STORE_REG;
lib/libnvmm/libnvmm_x86.c
2410
if (strm->disp.type == DISP_NONE) {
lib/libnvmm/libnvmm_x86.c
2417
} else if (strm->disp.type == DISP_0) {
lib/libnvmm/libnvmm_x86.c
3048
if (store->type == STORE_SIB) {
lib/libnvmm/libnvmm_x86.c
3056
} else if (store->type == STORE_REG) {
lib/libnvmm/libnvmm_x86.c
3063
} else if (store->type == STORE_DUALREG) {
lib/libnvmm/libnvmm_x86.c
3070
if (store->disp.type != DISP_NONE) {
lib/libnvmm/libnvmm_x86.c
3306
switch (instr->src.type) {
lib/libnvmm/libnvmm_x86.c
3308
if (instr->src.disp.type != DISP_NONE) {
lib/libnvmm/libnvmm_x86.c
3317
if (instr->src.disp.type == DISP_NONE) {
lib/libnvmm/libnvmm_x86.c
3336
switch (instr->src.type) {
lib/libnvmm/libnvmm_x86.c
3340
if (__predict_false(instr->src.disp.type != DISP_NONE)) {
lib/libnvmm/libnvmm_x86.c
3358
if (__predict_false(instr->dst.type != STORE_REG)) {
lib/libnvmm/libnvmm_x86.c
3361
if (__predict_false(instr->dst.disp.type != DISP_NONE)) {
lib/libnvmm/libnvmm_x86.c
3380
if (__predict_false(instr->dst.type != STORE_REG)) {
lib/libnvmm/libnvmm_x86.c
3383
if (__predict_false(instr->dst.disp.type != DISP_NONE)) {
lib/libnvmm/libnvmm_x86.c
3395
if (__predict_false(instr->src.type != STORE_REG)) {
lib/libnvmm/libnvmm_x86.c
3398
if (__predict_false(instr->src.disp.type != DISP_NONE)) {
lib/libnvmm/libnvmm_x86.c
91
state->segs[i].attrib.type,
lib/libnvmm/libnvmm_x86.c
970
enum x86_disp_type type;
lib/libossaudio/oss3_mixer.c
102
mc.type = AUDIO_MIXER_SET;
lib/libossaudio/oss3_mixer.c
132
mc.type = AUDIO_MIXER_ENUM;
lib/libossaudio/oss3_mixer.c
143
mc.type = AUDIO_MIXER_SET;
lib/libossaudio/oss3_mixer.c
166
mc.type = AUDIO_MIXER_VALUE;
lib/libossaudio/oss3_mixer.c
173
if (mc.type != AUDIO_MIXER_VALUE) {
lib/libossaudio/oss3_mixer.c
199
mc.type = AUDIO_MIXER_VALUE;
lib/libossaudio/oss3_mixer.c
293
switch(mi.type) {
lib/libossaudio/oss3_mixer.c
325
switch(mi.type) {
lib/libossaudio/oss3_mixer.c
94
mc.type = AUDIO_MIXER_ENUM;
lib/libossaudio/oss4_mixer.c
297
ext->type = MIXT_DEVROOT;
lib/libossaudio/oss4_mixer.c
327
switch (mdi.type) {
lib/libossaudio/oss4_mixer.c
329
ext->type = MIXT_GROUP;
lib/libossaudio/oss4_mixer.c
343
ext->type = MIXT_MUTE;
lib/libossaudio/oss4_mixer.c
345
ext->type = MIXT_ENUM;
lib/libossaudio/oss4_mixer.c
348
ext->type = MIXT_ENUM;
lib/libossaudio/oss4_mixer.c
362
ext->type = MIXT_ENUM_MULTI;
lib/libossaudio/oss4_mixer.c
364
ext->type = MIXT_ENUM;
lib/libossaudio/oss4_mixer.c
374
ext->type = MIXT_STEREOSLIDER;
lib/libossaudio/oss4_mixer.c
376
ext->type = MIXT_MONOSLIDER;
lib/libossaudio/oss4_mixer.c
404
switch (mdi.type) {
lib/libossaudio/oss4_mixer.c
461
mc.type = mdi.type;
lib/libossaudio/oss4_mixer.c
462
switch (mdi.type) {
lib/libossaudio/oss4_mixer.c
533
mc.type = mdi.type;
lib/libossaudio/oss4_mixer.c
534
if (mdi.type == AUDIO_MIXER_VALUE)
lib/libossaudio/oss4_mixer.c
545
switch (mdi.type) {
lib/libossaudio/soundcard.h
621
int type;
lib/libp2k/p2k.c
242
p2k_errcatcher(struct puffs_usermount *pu, uint8_t type, int error,
lib/libp2k/p2k.c
247
type, error, cook, str);
lib/libp2k/p2k.c
254
if (type != PUFFS_VN_LOOKUP && error == EINVAL)
lib/libperfuse/fuse.h
493
uint32_t type;
lib/libperfuse/fuse.h
82
uint32_t type;
lib/libperfuse/ops.c
3010
fli->lk.type = fl->l_type;
lib/libperfuse/ops.c
3043
fl->l_type = flo->lk.type;
lib/libperfuse/ops.c
683
dents->d_type = fd->type;
lib/libperfuse/ops.c
816
enum perfuse_qtype type)
lib/libperfuse/ops.c
822
pcq.pcq_type = type;
lib/libperfuse/ops.c
830
perfuse_qtypestr[type]);
lib/libperfuse/ops.c
840
perfuse_qtypestr[type]);
lib/libperfuse/ops.c
847
dequeue_requests(puffs_cookie_t opc, enum perfuse_qtype type, int max)
lib/libperfuse/ops.c
856
if (pcq->pcq_type != type)
lib/libperfuse/ops.c
863
perfuse_qtypestr[type]);
lib/libperfuse/perfuse.h
42
#define mount(source, mnt, type, flags, optbuf) \
lib/libperfuse/perfuse.h
43
perfuse_mount(source, mnt, type, flags, optbuf)
lib/libperfuse/perfuse_priv.h
169
#define GET_INPAYLOAD(ps, pm, type) \
lib/libperfuse/perfuse_priv.h
170
(struct type *)(void *)ps->ps_get_inpayload(pm)
lib/libperfuse/perfuse_priv.h
171
#define _GET_INPAYLOAD(ps, pm, type) (type)ps->ps_get_inpayload(pm)
lib/libperfuse/perfuse_priv.h
173
#define GET_OUTPAYLOAD(ps, pm, type) \
lib/libperfuse/perfuse_priv.h
174
(struct type *)(void *)ps->ps_get_outpayload(pm)
lib/libperfuse/perfuse_priv.h
175
#define _GET_OUTPAYLOAD(ps, pm, type) (type)ps->ps_get_outpayload(pm)
lib/libpthread/mtx.c
89
mtx_init(mtx_t *mtx, int type)
lib/libpthread/mtx.c
94
switch (type) {
lib/libpthread/pthread.c
987
pthread_setcanceltype(int type, int *oldtype)
lib/libpthread/pthread.c
995
switch (type) {
lib/libpthread/pthread_mutex.c
122
uintptr_t type, proto, val, ceil;
lib/libpthread/pthread_mutex.c
137
type = PTHREAD_MUTEX_NORMAL;
lib/libpthread/pthread_mutex.c
143
type = MUTEX_GET_TYPE(val);
lib/libpthread/pthread_mutex.c
147
switch (type) {
lib/libpthread/pthread_mutex.c
583
pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type)
lib/libpthread/pthread_mutex.c
587
return __libc_mutexattr_settype_stub(attr, type);
lib/libpthread/pthread_mutex.c
592
switch (type) {
lib/libpthread/pthread_mutex.c
596
MUTEX_SET_TYPE(attr->ptma_private, type);
lib/libpthread/pthread_queue.h
46
#define PTQ_HEAD(name, type) \
lib/libpthread/pthread_queue.h
48
struct type *ptqh_first;/* first element */ \
lib/libpthread/pthread_queue.h
49
struct type **ptqh_last;/* addr of last next element */ \
lib/libpthread/pthread_queue.h
54
#define PTQ_ENTRY(type) \
lib/libpthread/pthread_queue.h
56
struct type *ptqe_next; /* next element */ \
lib/libpthread/pthread_queue.h
57
struct type **ptqe_prev;/* address of previous next element */ \
lib/libpthread/pthread_types.h
55
#define _PTQ_HEAD(name, type) \
lib/libpthread/pthread_types.h
57
struct type *ptqh_first;/* first element */ \
lib/libpthread/pthread_types.h
58
struct type **ptqh_last;/* addr of last next element */ \
lib/libpuffs/creds.c
162
puffs_access(enum vtype type, mode_t file_mode, uid_t uid, gid_t gid,
lib/libpuffs/creds.c
173
if ((acc_mode & PUFFS_VEXEC) && type != VDIR &&
lib/libpuffs/creds.c
231
puffs_access_chmod(uid_t owner, gid_t group, enum vtype type, mode_t mode,
lib/libpuffs/creds.c
239
if (type != VDIR && (mode & S_ISTXT))
lib/libpuffs/puffs.c
133
puffs_kernerr_abort(struct puffs_usermount *pu, uint8_t type,
lib/libpuffs/puffs.c
138
type, error, cookie, str);
lib/libpuffs/puffs.c
144
puffs_kernerr_log(struct puffs_usermount *pu, uint8_t type,
lib/libpuffs/puffs.c
149
type, error, cookie, str);
lib/libpuffs/subr.c
291
puffs_addvtype2mode(mode_t mode, enum vtype type)
lib/libpuffs/subr.c
294
switch (type) {
lib/libradius/radlib.c
1070
rad_put_vendor_addr(struct rad_handle *h, int vendor, int type,
lib/libradius/radlib.c
1073
return (rad_put_vendor_attr(h, vendor, type, &addr.s_addr,
lib/libradius/radlib.c
1078
rad_put_vendor_attr(struct rad_handle *h, int vendor, int type,
lib/libradius/radlib.c
1096
attr->attrib_type = type;
lib/libradius/radlib.c
1103
&& (type == RAD_MICROSOFT_MS_CHAP_RESPONSE
lib/libradius/radlib.c
1104
|| type == RAD_MICROSOFT_MS_CHAP2_RESPONSE)) {
lib/libradius/radlib.c
1111
rad_put_vendor_int(struct rad_handle *h, int vendor, int type, u_int32_t i)
lib/libradius/radlib.c
1116
return (rad_put_vendor_attr(h, vendor, type, &value, sizeof value));
lib/libradius/radlib.c
1120
rad_put_vendor_string(struct rad_handle *h, int vendor, int type,
lib/libradius/radlib.c
1123
return (rad_put_vendor_attr(h, vendor, type, str, strlen(str)));
lib/libradius/radlib.c
289
put_password_attr(struct rad_handle *h, int type, const void *value, size_t len)
lib/libradius/radlib.c
308
put_raw_attr(h, type, h->pass, padded_len);
lib/libradius/radlib.c
319
put_raw_attr(struct rad_handle *h, int type, const void *value, size_t len)
lib/libradius/radlib.c
329
h->request[h->req_len++] = type;
lib/libradius/radlib.c
366
if (h->type == RADIUS_AUTH)
lib/libradius/radlib.c
423
const char *type;
lib/libradius/radlib.c
488
type = fields[0];
lib/libradius/radlib.c
495
wanttype = h->type == RADIUS_AUTH ? "auth" : "acct";
lib/libradius/radlib.c
496
if (strcmp(type, wanttype) != 0)
lib/libradius/radlib.c
686
int type;
lib/libradius/radlib.c
694
type = h->response[h->resp_pos++];
lib/libradius/radlib.c
702
return type;
lib/libradius/radlib.c
803
h->type = RADIUS_AUTH;
lib/libradius/radlib.c
817
h->type = RADIUS_ACCT;
lib/libradius/radlib.c
828
rad_put_addr(struct rad_handle *h, int type, struct in_addr addr)
lib/libradius/radlib.c
830
return rad_put_attr(h, type, &addr.s_addr, sizeof addr.s_addr);
lib/libradius/radlib.c
834
rad_put_attr(struct rad_handle *h, int type, const void *value, size_t len)
lib/libradius/radlib.c
845
if (type == RAD_EAP_MESSAGE) {
lib/libradius/radlib.c
856
if (type == RAD_EAP_MESSAGE) {
lib/libradius/radlib.c
861
if (type == RAD_USER_PASSWORD) {
lib/libradius/radlib.c
862
result = put_password_attr(h, type, value, len);
lib/libradius/radlib.c
863
} else if (type == RAD_MESSAGE_AUTHENTIC) {
lib/libradius/radlib.c
866
result = put_raw_attr(h, type, value, len);
lib/libradius/radlib.c
868
if (type == RAD_CHAP_PASSWORD)
lib/libradius/radlib.c
870
else if (type == RAD_EAP_MESSAGE)
lib/libradius/radlib.c
879
rad_put_int(struct rad_handle *h, int type, u_int32_t value)
lib/libradius/radlib.c
884
return rad_put_attr(h, type, &nvalue, sizeof nvalue);
lib/libradius/radlib.c
888
rad_put_string(struct rad_handle *h, int type, const char *str)
lib/libradius/radlib.c
890
return rad_put_attr(h, type, str, strlen(str));
lib/libradius/radlib_private.h
95
int type; /* Handle type */
lib/librefuse/refuse/fs.c
796
fuse_dirfil_v11_to_fill_dir_v23(fuse_dirh_t handle, const char* name, int type) {
lib/librefuse/refuse/fs.c
802
stbuf.st_mode = dt_to_mode(type);
lib/librefuse/refuse/fs.c
811
fuse_dirfil_v22_to_fill_dir_v23(fuse_dirh_t handle, const char* name, int type, ino_t ino) {
lib/librefuse/refuse/fs.c
817
stbuf.st_mode = dt_to_mode(type);
lib/librefuse/refuse/v11.h
47
typedef int (*fuse_dirfil_t_v11)(fuse_dirh_t handle, const char *name, int type);
lib/librefuse/refuse/v22.h
47
typedef int (*fuse_dirfil_t_v22)(fuse_dirh_t handle, const char *name, int type, ino_t ino);
lib/libresolv/dst_api.c
331
const int in_alg, const int type)
lib/libresolv/dst_api.c
340
if ((type & (DST_PUBLIC | DST_PRIVATE)) == 0)
lib/libresolv/dst_api.c
355
if (type == DST_PUBLIC)
lib/libresolv/dst_api.c
372
dst_write_key(const DST_KEY *key, const int type)
lib/libresolv/dst_api.c
383
if ((type & (DST_PRIVATE|DST_PUBLIC)) == 0)
lib/libresolv/dst_api.c
386
if (type & DST_PUBLIC)
lib/libresolv/dst_api.c
389
if (type & DST_PRIVATE)
lib/libresolv/ns_verify.c
104
GETSHORT(type, cp);
lib/libresolv/ns_verify.c
105
if (type != ns_t_tsig)
lib/libresolv/ns_verify.c
148
u_int16_t type, length;
lib/libresolv/ns_verify.c
171
GETSHORT(type, cp);
lib/libresolv/ns_verify.c
172
if (type != ns_t_tsig)
lib/libresolv/ns_verify.c
351
int n, type, length, fudge, error;
lib/libresolv/ns_verify.c
399
GETSHORT(type, cp);
lib/libresolv/ns_verify.c
400
if (type != ns_t_tsig)
lib/libresolv/ns_verify.c
62
int n, type;
lib/libresolv/res_mkupdate.c
927
u_int class, u_int type, u_long ttl) {
lib/libresolv/res_mkupdate.c
936
rrecp->r_type = (ns_type)type;
lib/librumpclient/rumpclient.c
387
handshake_req(struct spclient *spc, int type, void *data,
lib/librumpclient/rumpclient.c
399
if (type == HANDSHAKE_FORK) {
lib/librumpclient/rumpclient.c
433
rhdr.rsp_handshake = type;
lib/librumpclient/rumpclient.c
442
if (type == HANDSHAKE_FORK) {
lib/librumphijack/hijack.c
1413
REALSOCKET(int domain, int type, int protocol)
lib/librumphijack/hijack.c
1425
fd = op_socket(domain, type, protocol);
lib/librumphijack/hijack.c
2801
(const char *type, const char *path, int flags, \
lib/librumphijack/hijack.c
2804
(type, path, flags, data, dlen))
lib/librumphijack/hijack.c
573
#define ATCALL(type, name, rcname, args, proto, vars) \
lib/librumphijack/hijack.c
574
type name args \
lib/librumphijack/hijack.c
576
type (*fun) proto; \
lib/librumphijack/hijack.c
600
#define FDCALL(type, name, rcname, args, proto, vars) \
lib/librumphijack/hijack.c
601
type name args \
lib/librumphijack/hijack.c
603
type (*fun) proto; \
lib/librumphijack/hijack.c
616
#define PATHCALL(type, name, rcname, args, proto, vars) \
lib/librumphijack/hijack.c
617
type name args \
lib/librumphijack/hijack.c
619
type (*fun) proto; \
lib/librumphijack/hijack.c
635
#define VFSCALL(bit, type, name, rcname, args, proto, vars) \
lib/librumphijack/hijack.c
636
type name args \
lib/librumphijack/hijack.c
638
type (*fun) proto; \
lib/libtelnet/auth.c
131
static Authenticator NoAuth = { .type = 0 };
lib/libtelnet/auth.c
137
findauthenticator(int type, int way)
lib/libtelnet/auth.c
141
while (ap->type && (ap->type != type || ap->way != way))
lib/libtelnet/auth.c
143
return(ap->type ? ap : 0);
lib/libtelnet/auth.c
157
while (ap->type) {
lib/libtelnet/auth.c
159
i_support |= typemask(ap->type);
lib/libtelnet/auth.c
163
ap->type, ap->way);
lib/libtelnet/auth.c
167
Name, ap->type, ap->way);
lib/libtelnet/auth.c
185
getauthmask(const char *type, int *maskp)
lib/libtelnet/auth.c
189
if (AUTHTYPE_NAME(0) && !strcasecmp(type, AUTHTYPE_NAME(0))) {
lib/libtelnet/auth.c
195
if (AUTHTYPE_NAME(x) && !strcasecmp(type, AUTHTYPE_NAME(x))) {
lib/libtelnet/auth.c
204
auth_enable(const char *type)
lib/libtelnet/auth.c
206
return(auth_onoff(type, 1));
lib/libtelnet/auth.c
210
auth_disable(const char *type)
lib/libtelnet/auth.c
212
return(auth_onoff(type, 0));
lib/libtelnet/auth.c
216
auth_onoff(const char *type, int on)
lib/libtelnet/auth.c
221
if (!strcasecmp(type, "?") || !strcasecmp(type, "help")) {
lib/libtelnet/auth.c
226
for (ap = authenticators; ap->type; ap++) {
lib/libtelnet/auth.c
227
if ((mask & (i = typemask(ap->type))) != 0)
lib/libtelnet/auth.c
230
printf("\t%s\n", AUTHTYPE_NAME(ap->type));
lib/libtelnet/auth.c
235
if (!getauthmask(type, &mask)) {
lib/libtelnet/auth.c
236
printf("%s: invalid authentication type\n", type);
lib/libtelnet/auth.c
269
for (ap = authenticators; ap->type; ap++) {
lib/libtelnet/auth.c
270
if ((mask & (i = typemask(ap->type))) != 0)
lib/libtelnet/auth.c
273
printf("%s: %s\n", AUTHTYPE_NAME(ap->type),
lib/libtelnet/auth.c
274
(i_wont_support & typemask(ap->type)) ?
lib/libtelnet/auth.c
295
while (ap->type) {
lib/libtelnet/auth.c
296
if (i_support & ~i_wont_support & typemask(ap->type)) {
lib/libtelnet/auth.c
299
Name, ap->type, ap->way);
lib/libtelnet/auth.c
301
*e++ = ap->type;
lib/libtelnet/auth.h
64
int type;
lib/libtelnet/enc_des.c
383
if (!key || key->type != SK_DES) {
lib/libtelnet/enc_des.c
386
key ? key->type : -1, SK_DES);
lib/libtelnet/enc_des.c
445
int buflen, const unsigned char *type)
lib/libtelnet/enc_des.c
456
snprintf(lbuf, sizeof(lbuf), "%s_IV", type);
lib/libtelnet/enc_des.c
461
snprintf(lbuf, sizeof(lbuf), "%s_IV_OK", type);
lib/libtelnet/enc_des.c
466
snprintf(lbuf, sizeof(lbuf), "%s_IV_BAD", type);
lib/libtelnet/encrypt.c
139
findencryption(int type)
lib/libtelnet/encrypt.c
143
if (!(I_SUPPORT_ENCRYPT & remote_supports_decrypt & typemask(type)))
lib/libtelnet/encrypt.c
145
while (ep->type && ep->type != type)
lib/libtelnet/encrypt.c
147
return(ep->type ? ep : 0);
lib/libtelnet/encrypt.c
151
finddecryption(int type)
lib/libtelnet/encrypt.c
155
if (!(I_SUPPORT_DECRYPT & remote_supports_encrypt & typemask(type)))
lib/libtelnet/encrypt.c
157
while (ep->type && ep->type != type)
lib/libtelnet/encrypt.c
159
return(ep->type ? ep : 0);
lib/libtelnet/encrypt.c
194
while (ep->type) {
lib/libtelnet/encrypt.c
197
Name, ENCTYPE_NAME(ep->type));
lib/libtelnet/encrypt.c
198
i_support_encrypt |= typemask(ep->type);
lib/libtelnet/encrypt.c
199
i_support_decrypt |= typemask(ep->type);
lib/libtelnet/encrypt.c
200
if ((i_wont_support_decrypt & typemask(ep->type)) == 0)
lib/libtelnet/encrypt.c
201
if ((str_send[str_suplen++] = ep->type) == IAC)
lib/libtelnet/encrypt.c
217
while (ep->type) {
lib/libtelnet/encrypt.c
218
printf("\t%s (%d)\r\n", ENCTYPE_NAME(ep->type), ep->type);
lib/libtelnet/encrypt.c
224
EncryptEnable(char *type, char *mode)
lib/libtelnet/encrypt.c
226
if (isprefix(type, "help") || isprefix(type, "?")) {
lib/libtelnet/encrypt.c
231
if (EncryptType(type, mode))
lib/libtelnet/encrypt.c
237
EncryptDisable(char *type, char *mode)
lib/libtelnet/encrypt.c
242
if (isprefix(type, "help") || isprefix(type, "?")) {
lib/libtelnet/encrypt.c
245
} else if ((ep = (Encryptions *)genget(type, (char **)encryptions,
lib/libtelnet/encrypt.c
247
printf("%s: invalid encryption type\n", type);
lib/libtelnet/encrypt.c
249
printf("Ambiguous type '%s'\n", type);
lib/libtelnet/encrypt.c
252
if (decrypt_mode == ep->type)
lib/libtelnet/encrypt.c
254
i_wont_support_decrypt |= typemask(ep->type);
lib/libtelnet/encrypt.c
258
if (encrypt_mode == ep->type)
lib/libtelnet/encrypt.c
260
i_wont_support_encrypt |= typemask(ep->type);
lib/libtelnet/encrypt.c
270
EncryptType(char *type, char *mode)
lib/libtelnet/encrypt.c
275
if (isprefix(type, "help") || isprefix(type, "?")) {
lib/libtelnet/encrypt.c
278
} else if ((ep = (Encryptions *)genget(type, (char **)encryptions,
lib/libtelnet/encrypt.c
280
printf("%s: invalid encryption type\n", type);
lib/libtelnet/encrypt.c
282
printf("Ambiguous type '%s'\n", type);
lib/libtelnet/encrypt.c
285
decrypt_mode = ep->type;
lib/libtelnet/encrypt.c
286
i_wont_support_decrypt &= ~typemask(ep->type);
lib/libtelnet/encrypt.c
290
encrypt_mode = ep->type;
lib/libtelnet/encrypt.c
291
i_wont_support_encrypt &= ~typemask(ep->type);
lib/libtelnet/encrypt.c
476
register int type, use_type = 0;
lib/libtelnet/encrypt.c
485
type = *typelist++;
lib/libtelnet/encrypt.c
489
ENCTYPE_NAME(type), type);
lib/libtelnet/encrypt.c
490
if ((type < ENCTYPE_CNT) &&
lib/libtelnet/encrypt.c
491
(I_SUPPORT_ENCRYPT & typemask(type))) {
lib/libtelnet/encrypt.c
492
remote_supports_decrypt |= typemask(type);
lib/libtelnet/encrypt.c
494
use_type = type;
lib/libtelnet/encrypt.c
501
type = ep->start ? (*ep->start)(DIR_ENCRYPT, Server) : 0;
lib/libtelnet/encrypt.c
504
Name, type);
lib/libtelnet/encrypt.c
505
if (type < 0)
lib/libtelnet/encrypt.c
508
if (type == 0)
lib/libtelnet/encrypt.c
517
register int type, ret;
lib/libtelnet/encrypt.c
521
type = *data++;
lib/libtelnet/encrypt.c
522
if (type < ENCTYPE_CNT)
lib/libtelnet/encrypt.c
523
remote_supports_encrypt |= typemask(type);
lib/libtelnet/encrypt.c
524
if (!(ep = finddecryption(type))) {
lib/libtelnet/encrypt.c
528
ENCTYPE_NAME_OK(type)
lib/libtelnet/encrypt.c
529
? ENCTYPE_NAME(type) : "(unknown)",
lib/libtelnet/encrypt.c
530
type);
lib/libtelnet/encrypt.c
537
ENCTYPE_NAME_OK(type)
lib/libtelnet/encrypt.c
538
? ENCTYPE_NAME(type) : "(unknown)",
lib/libtelnet/encrypt.c
539
type);
lib/libtelnet/encrypt.c
551
decrypt_mode = type;
lib/libtelnet/encrypt.c
561
register int ret, type;
lib/libtelnet/encrypt.c
565
type = *data++;
lib/libtelnet/encrypt.c
566
if (!(ep = findencryption(type))) {
lib/libtelnet/encrypt.c
570
ENCTYPE_NAME_OK(type)
lib/libtelnet/encrypt.c
571
? ENCTYPE_NAME(type) : "(unknown)",
lib/libtelnet/encrypt.c
572
type);
lib/libtelnet/encrypt.c
579
ENCTYPE_NAME_OK(type)
lib/libtelnet/encrypt.c
580
? ENCTYPE_NAME(type) : "(unknown)",
lib/libtelnet/encrypt.c
581
type);
lib/libtelnet/encrypt.c
596
encrypt_mode = type;
lib/libtelnet/encrypt.c
598
encrypt_start_output(type);
lib/libtelnet/encrypt.c
648
while (ep->type) {
lib/libtelnet/encrypt.c
653
encrypt_start_output(ep->type);
lib/libtelnet/encrypt.c
799
encrypt_start_output(int type)
lib/libtelnet/encrypt.c
805
if (!(ep = findencryption(type))) {
lib/libtelnet/encrypt.c
809
ENCTYPE_NAME_OK(type)
lib/libtelnet/encrypt.c
810
? ENCTYPE_NAME(type) : "(unknown)",
lib/libtelnet/encrypt.c
811
type);
lib/libtelnet/encrypt.c
822
i, ENCTYPE_NAME(type));
lib/libtelnet/encrypt.c
845
encrypt_mode = type;
lib/libtelnet/encrypt.c
848
Name, ENCTYPE_NAME(type));
lib/libtelnet/encrypt.c
851
ENCTYPE_NAME(type));
lib/libtelnet/encrypt.c
950
register int type = data[1];
lib/libtelnet/encrypt.c
952
for (ep = encryptions; ep->type && ep->type != type; ep++)
lib/libtelnet/encrypt.h
73
short type;
lib/libtelnet/encrypt.h
81
int type;
lib/libtelnet/kerberos5.c
111
type, c);
lib/libtelnet/kerberos5.c
115
*p++ = ap->type;
lib/libtelnet/kerberos5.c
117
*p++ = type;
lib/libtelnet/kerberos5.c
233
foo[0] = ap->type;
lib/libtelnet/kerberos5.c
333
foo[0] = ap->type;
lib/libtelnet/kerberos5.c
416
skey.type = SK_DES;
lib/libtelnet/kerberos5.c
548
skey.type = SK_DES;
lib/libtelnet/kerberos5.c
99
Data(Authenticator *ap, int type, const void *d, int c)
lib/libtelnet/sra.c
100
str_data[3], type, c);
lib/libtelnet/sra.c
104
*p++ = ap->type;
lib/libtelnet/sra.c
106
*p++ = type;
lib/libtelnet/sra.c
225
skey.type = SK_DES;
lib/libtelnet/sra.c
355
skey.type = SK_DES;
lib/libtelnet/sra.c
89
Data(Authenticator *ap, int type, void *d, int c)
lib/libterminfo/compile.c
141
type = *cap++;
lib/libterminfo/compile.c
142
switch (type) {
lib/libterminfo/compile.c
158
if (!_ti_store_extra(tic, 0, code, type, flag, num,
lib/libterminfo/compile.c
194
_ti_find_cap(TIC *tic, TBUF *tbuf, char type, short ind)
lib/libterminfo/compile.c
207
switch (type) {
lib/libterminfo/compile.c
298
_ti_store_extra(TIC *tic, int wrn, const char *id, char type, char flag,
lib/libterminfo/compile.c
323
switch (type) {
lib/libterminfo/compile.c
338
tic->extras.buf[tic->extras.bufpos++] = type;
lib/libterminfo/compile.c
339
switch (type) {
lib/libterminfo/compile.c
71
char *obuf, type, flag, *buf, *delim, *name, *nbuf;
lib/libterminfo/term.c
184
ud->type = *cap++;
lib/libterminfo/term.c
185
switch (ud->type) {
lib/libterminfo/term_private.h
110
char type;
lib/libterminfo/termcap.c
127
if (ud->type == 'n' && strcmp(ud->id, id) == 0) {
lib/libterminfo/termcap.c
160
if (ud->type == 's' && strcmp(ud->id, id) == 0)
lib/libterminfo/termcap.c
98
if (ud->type == 'f' && strcmp(ud->id, id) == 0)
lib/libterminfo/ti.c
121
if (ud->type == 's' && strcmp(ud->id, id) == 0)
lib/libterminfo/ti.c
53
if (ud->type == 'f' && strcmp(ud->id, id) == 0)
lib/libterminfo/ti.c
87
if (ud->type == 'n' && strcmp(ud->id, id) == 0) {
lib/libutil/compat/compat_logoutx.c
56
logoutx(const char *line, int status, int type)
lib/libutil/compat/compat_logoutx.c
64
utp->ut_type = type;
lib/libutil/if_media.c
117
lookup_media_word(struct ifmedia_description *desc, int type, const char *val)
lib/libutil/if_media.c
121
if (IFM_TYPE_MATCH(desc->ifmt_word, type) &&
lib/libutil/if_media.c
129
get_media_mode(int type, const char *val)
lib/libutil/if_media.c
132
return lookup_media_word(ifm_mode_descriptions, type, val);
lib/libutil/if_media.c
136
get_media_subtype(int type, const char *val)
lib/libutil/if_media.c
139
return lookup_media_word(ifm_subtype_descriptions, type, val);
lib/libutil/if_media.c
143
get_media_options(int type, const char *val, char **invalid)
lib/libutil/if_media.c
160
type = IFM_TYPE(type);
lib/libutil/if_media.c
162
option = lookup_media_word(ifm_option_descriptions, type, str);
lib/libutil/login_cap.c
413
int type;
lib/libutil/login_cap.c
432
gsetrl(login_cap_t *lc, int what, const char *name, int type)
lib/libutil/login_cap.c
452
switch (type) {
lib/libutil/login_cap.c
473
lc->lc_class, type, name);
lib/libutil/login_cap.c
591
r_list[i].type);
lib/libutil/login_cap.c
67
static int gsetrl(login_cap_t *, int, const char *, int type);
lib/libutil/logoutx.c
56
logoutx(const char *line, int status, int type)
lib/libutil/logoutx.c
64
utp->ut_type = type;
lib/libutil/logwtmpx.c
57
int type)
lib/libutil/logwtmpx.c
69
ut.ut_type = type;
lib/libutil/parsedate.y
1004
return tp->type;
lib/libutil/parsedate.y
1011
return tp->type;
lib/libutil/parsedate.y
1020
return tp->type;
lib/libutil/parsedate.y
1026
return tp->type;
lib/libutil/parsedate.y
1036
return tp->type;
lib/libutil/parsedate.y
1044
return tp->type;
lib/libutil/parsedate.y
1052
return tp->type;
lib/libutil/parsedate.y
1067
return tp->type;
lib/libutil/parsedate.y
53
int type;
lib/libutil/parsedate.y
715
RelVal(struct dateinfo *param, time_t num, time_t unit, int scale, int type)
lib/libutil/parsedate.y
750
param->yyRel[i].yyRelMonth = type;
lib/libutil/parsedate.y
999
return tp->type;
lib/libwrap/mystdarg.h
10
#define VARARGS(func,type,arg) func(type arg, ...)
lib/libwrap/mystdarg.h
11
#define VASTART(ap,type,name) va_start(ap,name)
lib/libwrap/mystdarg.h
15
#define VARARGS(func,type,arg) func(va_alist) va_dcl
lib/libwrap/mystdarg.h
16
#define VASTART(ap,type,name) {type name; va_start(ap); name = va_arg(ap, type)
lib/libwrap/rfc931.c
53
fsocket(int domain, int type, int protocol)
lib/libwrap/rfc931.c
58
if ((s = socket(domain, type, protocol)) < 0) {
lib/npf/ext_normalize/npfext_normalize.c
67
enum ptype type;
lib/npf/ext_normalize/npfext_normalize.c
86
switch (params[i].type) {
lib/npf/ext_rndblock/npfext_rndblock.c
64
enum ptype type;
lib/npf/ext_rndblock/npfext_rndblock.c
91
assert(params[i].type == PARAM_U32);
libexec/ftpd/cmds.c
455
switch (type) {
libexec/ftpd/cmds.c
500
reply(504, "SIZE not implemented for Type %c.", "?AEIL"[type]);
libexec/ftpd/conf.c
281
curclass.type = CLASS_GUEST;
libexec/ftpd/conf.c
283
curclass.type = CLASS_CHROOT;
libexec/ftpd/conf.c
285
curclass.type = CLASS_REAL;
libexec/ftpd/extern.h
288
class_ft type; /* Class type */
libexec/ftpd/extern.h
336
GLOBAL int type;
libexec/ftpd/extern.h
363
#define CURCLASSTYPE curclass.type == CLASS_GUEST ? "GUEST" : \
libexec/ftpd/extern.h
364
curclass.type == CLASS_CHROOT ? "CHROOT" : \
libexec/ftpd/extern.h
365
curclass.type == CLASS_REAL ? "REAL" : \
libexec/ftpd/ftpcmd.y
1448
if ((curclass.type != CLASS_GUEST &&
libexec/ftpd/ftpcmd.y
347
type = cmd_type;
libexec/ftpd/ftpcmd.y
359
type = cmd_type;
libexec/ftpd/ftpcmd.y
367
type = cmd_type;
libexec/ftpd/ftpd.c
1302
curclass.type = CLASS_REAL;
libexec/ftpd/ftpd.c
1363
if (curclass.type != CLASS_GUEST) {
libexec/ftpd/ftpd.c
1529
switch (curclass.type) {
libexec/ftpd/ftpd.c
1620
(curclass.type != CLASS_REAL &&
libexec/ftpd/ftpd.c
1639
if (curclass.type == CLASS_GUEST && passwd[0] == '-')
libexec/ftpd/ftpd.c
1649
if (curclass.type == CLASS_GUEST) {
libexec/ftpd/ftpd.c
1761
if (type == TYPE_A) {
libexec/ftpd/ftpd.c
1868
if (type == TYPE_A) {
libexec/ftpd/ftpd.c
2046
type == TYPE_A ? "ASCII" : "BINARY", name, sizebuf);
libexec/ftpd/ftpd.c
2094
type == TYPE_A ? "ASCII" : "BINARY", name, sizebuf);
libexec/ftpd/ftpd.c
2287
switch (type) {
libexec/ftpd/ftpd.c
2349
reply(550, "Unimplemented TYPE %d in send_data", type);
libexec/ftpd/ftpd.c
2415
switch (type) {
libexec/ftpd/ftpd.c
2541
reply(550, "Unimplemented TYPE %d in receive_data", type);
libexec/ftpd/ftpd.c
2592
if (curclass.type == CLASS_GUEST)
libexec/ftpd/ftpd.c
2596
curclass.type == CLASS_CHROOT ? " (chroot)" : "");
libexec/ftpd/ftpd.c
2601
cprintf(stdout, " TYPE: %s", typenames[type]);
libexec/ftpd/ftpd.c
2602
if (type == TYPE_A || type == TYPE_E)
libexec/ftpd/ftpd.c
2604
if (type == TYPE_L) {
libexec/ftpd/ftpd.c
3494
type == TYPE_A ? "\r" : "");
libexec/ftpd/ftpd.c
3544
type == TYPE_A ? "\r" : "");
libexec/ftpd/ftpd.c
3664
type == TYPE_A ? 'a' : 'b',
libexec/ftpd/ftpd.c
3668
curclass.type == CLASS_GUEST ? 'a' :
libexec/ftpd/ftpd.c
3669
curclass.type == CLASS_CHROOT ? 'g' :
libexec/ftpd/ftpd.c
3670
curclass.type == CLASS_REAL ? 'r' : '?',
libexec/ftpd/ftpd.c
3672
curclass.type == CLASS_GUEST ? pw->pw_passwd : pw->pw_name,
libexec/ftpd/ftpd.c
735
type = TYPE_A;
libexec/ftpd/ftpd.c
753
curclass.type = CLASS_REAL;
libexec/ftpd/ftpd.c
879
switch (curclass.type) {
libexec/ftpd/ftpd.c
905
curclass.type = CLASS_REAL;
libexec/ftpd/ftpd.c
916
curclass.type = CLASS_GUEST;
libexec/ftpd/ftpd.c
947
if (curclass.type == CLASS_GUEST) {
libexec/ftpd/ftpd.c
953
curclass.type = CLASS_CHROOT;
libexec/ftpd/ftpd.c
958
switch (curclass.type) {
libexec/ftpd/ftpd.c
970
curclass.type);
libexec/ftpd/ftpd.c
988
if (cp == NULL && curclass.type != CLASS_GUEST)
libexec/getty/subr.c
651
const char *type = "default";
libexec/getty/subr.c
669
type = ps->ps_type;
libexec/getty/subr.c
673
return (type);
libexec/getty/subr.c
689
const char *type = "9600-baud";
libexec/getty/subr.c
695
return (type);
libexec/getty/subr.c
697
return (type);
libexec/getty/subr.c
705
type = "300-baud";
libexec/getty/subr.c
709
type = "1200-baud";
libexec/getty/subr.c
714
type = "2400-baud";
libexec/getty/subr.c
718
type = "4800-baud";
libexec/getty/subr.c
722
type = "9600-baud";
libexec/getty/subr.c
725
return (type);
libexec/httpd/bozohttpd.c
1821
const char *type, *encoding;
libexec/httpd/bozohttpd.c
1907
type = bozo_content_type(request, file);
libexec/httpd/bozohttpd.c
1911
bozo_print_header(request, &sb, type, encoding);
libexec/httpd/bozohttpd.c
1978
struct stat *sbp, const char *type, const char *encoding)
libexec/httpd/bozohttpd.c
2002
if (type && *type)
libexec/httpd/bozohttpd.c
2003
bozo_printf(httpd, "Content-Type: %s\r\n", type);
libexec/httpd/bozohttpd.c
556
int type;
libexec/httpd/bozohttpd.c
582
request->hr_method = mmp->type;
libexec/httpd/bozohttpd.h
85
const char *type; /* matching content-type */
libexec/httpd/cgi-bozo.c
378
const char *type, *clen, *info, *cgihandler;
libexec/httpd/cgi-bozo.c
485
type = request->hr_content_type;
libexec/httpd/cgi-bozo.c
491
(type && *type ? 1 : 0) +
libexec/httpd/cgi-bozo.c
557
if (type && *type)
libexec/httpd/cgi-bozo.c
558
bozo_setenv(httpd, "CONTENT_TYPE", type, curenvp++);
libexec/httpd/cgi-bozo.c
701
map->type = map->encoding = map->encoding11 = NULL;
libexec/httpd/content-bozo.c
246
return map->type;
libexec/httpd/content-bozo.c
283
map->name = map->type = map->encoding = map->encoding11 =
libexec/httpd/content-bozo.c
315
map->type = CHECKMAP(cmap1);
libexec/httpd/lua-bozo.c
312
const char *type, *clen;
libexec/httpd/lua-bozo.c
357
type = request->hr_content_type;
libexec/httpd/lua-bozo.c
391
if (type && *type)
libexec/httpd/lua-bozo.c
392
lua_env(map->L, "CONTENT_TYPE", type);
libexec/httpd/lua-bozo.c
413
(type && *type && !strcmp(type, FORM))) {
libexec/httpd/lua-bozo.c
417
if (type && *type && !strcmp(type, FORM)) {
libexec/httpd/netbsd_queue.h
41
#define SIMPLEQ_HEAD(name, type) \
libexec/httpd/netbsd_queue.h
43
struct type *sqh_first; /* first element */ \
libexec/httpd/netbsd_queue.h
44
struct type **sqh_last; /* addr of last next element */ \
libexec/httpd/netbsd_queue.h
47
#define SIMPLEQ_ENTRY(type) \
libexec/httpd/netbsd_queue.h
49
struct type *sqe_next; /* next element */ \
libexec/ld.elf_so/arch/sparc/mdreloc.c
221
Elf_Word type, value, mask;
libexec/ld.elf_so/arch/sparc/mdreloc.c
226
type = ELF_R_TYPE(rela->r_info);
libexec/ld.elf_so/arch/sparc/mdreloc.c
227
if (type == R_TYPE(NONE))
libexec/ld.elf_so/arch/sparc/mdreloc.c
231
if (type == R_TYPE(JMP_SLOT))
libexec/ld.elf_so/arch/sparc/mdreloc.c
235
if (type == R_TYPE(IRELATIVE)) {
libexec/ld.elf_so/arch/sparc/mdreloc.c
244
if (type == R_TYPE(COPY))
libexec/ld.elf_so/arch/sparc/mdreloc.c
251
if (type > R_TYPE(TLS_TPOFF64))
libexec/ld.elf_so/arch/sparc/mdreloc.c
256
if (RELOC_RESOLVE_SYMBOL(type) || RELOC_TLS(type)) {
libexec/ld.elf_so/arch/sparc/mdreloc.c
270
if (RELOC_TLS(type)) {
libexec/ld.elf_so/arch/sparc/mdreloc.c
271
switch (type) {
libexec/ld.elf_so/arch/sparc/mdreloc.c
315
if (type > R_TYPE(6))
libexec/ld.elf_so/arch/sparc/mdreloc.c
321
if (type == R_TYPE(RELATIVE)) {
libexec/ld.elf_so/arch/sparc/mdreloc.c
328
if (RELOC_RESOLVE_SYMBOL(type)) {
libexec/ld.elf_so/arch/sparc/mdreloc.c
333
if (RELOC_PC_RELATIVE(type)) {
libexec/ld.elf_so/arch/sparc/mdreloc.c
337
if (RELOC_BASE_RELATIVE(type)) {
libexec/ld.elf_so/arch/sparc/mdreloc.c
362
mask = RELOC_VALUE_BITMASK(type);
libexec/ld.elf_so/arch/sparc/mdreloc.c
363
value >>= RELOC_VALUE_RIGHTSHIFT(type);
libexec/ld.elf_so/arch/sparc/mdreloc.c
366
if (RELOC_UNALIGNED(type)) {
libexec/ld.elf_so/arch/sparc/mdreloc.c
370
int i, size = RELOC_TARGET_SIZE(type)/8;
libexec/ld.elf_so/arch/sparc/mdreloc.c
394
if (RELOC_RESOLVE_SYMBOL(type)) {
libexec/ld.elf_so/arch/sparc/mdreloc.c
395
rdbg(("%s %s in %s --> %p in %s", reloc_names[type],
libexec/ld.elf_so/arch/sparc/mdreloc.c
399
rdbg(("%s in %s --> %p", reloc_names[type],
libexec/ld.elf_so/arch/sparc64/mdreloc.c
315
Elf_Word type;
libexec/ld.elf_so/arch/sparc64/mdreloc.c
321
type = ELF_R_TYPE(rela->r_info);
libexec/ld.elf_so/arch/sparc64/mdreloc.c
322
if (type == R_TYPE(NONE))
libexec/ld.elf_so/arch/sparc64/mdreloc.c
326
if ((type & 0x00ff) == R_SPARC_OLO10)
libexec/ld.elf_so/arch/sparc64/mdreloc.c
327
type = R_SPARC_OLO10;
libexec/ld.elf_so/arch/sparc64/mdreloc.c
330
if (type == R_TYPE(JMP_SLOT))
libexec/ld.elf_so/arch/sparc64/mdreloc.c
334
if (type == R_TYPE(IRELATIVE)) {
libexec/ld.elf_so/arch/sparc64/mdreloc.c
343
if (type == R_TYPE(COPY))
libexec/ld.elf_so/arch/sparc64/mdreloc.c
350
if (type > R_TYPE(TLS_TPOFF64)) {
libexec/ld.elf_so/arch/sparc64/mdreloc.c
351
dbg(("unknown relocation type %x at %p", type, rela));
libexec/ld.elf_so/arch/sparc64/mdreloc.c
357
if (RELOC_RESOLVE_SYMBOL(type) || RELOC_TLS(type)) {
libexec/ld.elf_so/arch/sparc64/mdreloc.c
371
if (RELOC_TLS(type)) {
libexec/ld.elf_so/arch/sparc64/mdreloc.c
372
switch (type) {
libexec/ld.elf_so/arch/sparc64/mdreloc.c
414
if (type == R_TYPE(RELATIVE)) {
libexec/ld.elf_so/arch/sparc64/mdreloc.c
421
if (RELOC_RESOLVE_SYMBOL(type)) {
libexec/ld.elf_so/arch/sparc64/mdreloc.c
426
if (type == R_SPARC_OLO10) {
libexec/ld.elf_so/arch/sparc64/mdreloc.c
431
if (RELOC_PC_RELATIVE(type)) {
libexec/ld.elf_so/arch/sparc64/mdreloc.c
435
if (RELOC_BASE_RELATIVE(type)) {
libexec/ld.elf_so/arch/sparc64/mdreloc.c
460
mask = RELOC_VALUE_BITMASK(type);
libexec/ld.elf_so/arch/sparc64/mdreloc.c
461
value >>= RELOC_VALUE_RIGHTSHIFT(type);
libexec/ld.elf_so/arch/sparc64/mdreloc.c
464
if (RELOC_UNALIGNED(type)) {
libexec/ld.elf_so/arch/sparc64/mdreloc.c
468
int i, size = RELOC_TARGET_SIZE(type)/8;
libexec/ld.elf_so/arch/sparc64/mdreloc.c
484
} else if (RELOC_TARGET_SIZE(type) > 32) {
libexec/ld.elf_so/arch/sparc64/mdreloc.c
501
if (RELOC_RESOLVE_SYMBOL(type)) {
libexec/ld.elf_so/arch/sparc64/mdreloc.c
502
rdbg(("%s %s in %s --> %p in %s", reloc_names[type],
libexec/ld.elf_so/arch/sparc64/mdreloc.c
506
rdbg(("%s in %s --> %p", reloc_names[type],
libexec/ld.elf_so/rtld.h
66
#define NEW(type) ((type *) xmalloc(sizeof(type)))
libexec/ld.elf_so/rtld.h
67
#define CNEW(type) ((type *) xcalloc(sizeof(type)))
libexec/talkd/print.c
79
if (mp->type >= NTYPES) {
libexec/talkd/print.c
80
(void)snprintf(tbuf, sizeof tbuf, "type %d", mp->type);
libexec/talkd/print.c
83
tp = types[mp->type];
libexec/talkd/print.c
95
if (rp->type >= NTYPES) {
libexec/talkd/print.c
96
(void)snprintf(tbuf, sizeof tbuf, "type %d", rp->type);
libexec/talkd/print.c
99
tp = types[rp->type];
libexec/talkd/process.c
74
rp->type = mp->type;
libexec/talkd/process.c
99
switch (mp->type) {
libexec/talkd/table.c
108
ptr->request.type == LEAVE_INVITE)
libexec/talkd/table.c
145
request->type == ptr->request.type &&
sbin/atactl/atactl.c
786
satl_return_desc(const uint8_t *sense, size_t len, uint8_t type)
sbin/atactl/atactl.c
806
if (p[0] == type)
sbin/chown/chown.c
291
id(const char *name, const char *type)
sbin/chown/chown.c
303
errx(EXIT_FAILURE, "%s: invalid %s name", name, type);
sbin/disklabel/main.c
782
makelabel(const char *type, const char *name)
sbin/disklabel/main.c
786
dp = getdiskbyname(type);
sbin/disklabel/main.c
788
errx(1, "unknown disk type: %s", type);
sbin/dump/traverse.c
860
dumpmap(char *map, int type, ino_t ino)
sbin/dump/traverse.c
865
spcl.c_type = iswap32(type);
sbin/efi/bootvar.c
68
new_blk(uint8_t type, uint8_t subtype, uint16_t length)
sbin/efi/bootvar.c
80
if (type == 0) /* non-devpath */
sbin/efi/bootvar.c
83
bb->u.path->Type = type;
sbin/efi/devpath.h
101
return type_tbl[type];
sbin/efi/devpath.h
85
devpath_type_name(size_t type)
sbin/efi/devpath.h
95
if (type == DEVPATH_TYPE_END)
sbin/efi/devpath.h
98
if (type > __arraycount(type_tbl) || type == 0)
sbin/efi/devpath1.c
267
devpath_hw_bmc_iftype(uint type)
sbin/efi/devpath1.c
276
if (type >= __arraycount(tbl))
sbin/efi/devpath1.c
277
type = 0;
sbin/efi/devpath1.c
279
return tbl[type];
sbin/efi/devpath3.c
122
ipv4_type(uint8_t type)
sbin/efi/devpath3.c
125
switch (type) {
sbin/efi/devpath3.c
144
ipv6_type(uint8_t type)
sbin/efi/devpath3.c
147
switch (type) {
sbin/efi/devpath4.c
308
const char *type;
sbin/efi/devpath4.c
311
.type = "VirtualDisk",
sbin/efi/devpath4.c
314
.type = "VirtualCD",
sbin/efi/devpath4.c
317
.type = "PersistentVirtualDisk",
sbin/efi/devpath4.c
320
.type = "PersistentVirtualCD",
sbin/efi/devpath4.c
326
return tbl[i].type;
sbin/efi/devpath4.c
344
const char *type;
sbin/efi/devpath4.c
348
type = devpath_media_ramdisk_type(&p->GUID);
sbin/efi/devpath4.c
349
if (type != NULL)
sbin/efi/devpath4.c
351
PRIx64 ",%u)", type,
sbin/fdisk/fdisk.c
2992
get_type(int type)
sbin/fdisk/fdisk.c
2996
ptr = bsearch(&type, mbr_ptypes, KNOWN_SYSIDS,
sbin/fsck/fsck.c
193
#define BADTYPE(type) \
sbin/fsck/fsck.c
194
(strcmp(type, FSTAB_RO) && \
sbin/fsck/fsck.c
195
strcmp(type, FSTAB_RW) && strcmp(type, FSTAB_RQ))
sbin/fsck/fsck.c
199
const char *spec, *spec2, *mntpt, *type, *cp;
sbin/fsck/fsck.c
226
type = fs->fs_vfstype;
sbin/fsck/fsck.c
234
type = vfstype;
sbin/fsck/fsck.c
237
rval = checkfs(type, blockcheck(spec), *argv, NULL, NULL);
sbin/fsck/fsck.c
404
selected(const char *type)
sbin/fsck/fsck.c
410
if (!strcmp(e->type, type))
sbin/fsck/fsck.c
424
if (!strcmp(e->type, mountedon))
sbin/fsck/fsck.c
432
getoptions(const char *type)
sbin/fsck/fsck.c
437
if (!strcmp(e->type, type))
sbin/fsck/fsck.c
455
if (!strcmp(e->type, optstr)) {
sbin/fsck/fsck.c
464
addentry(struct fstypelist *list, const char *type, const char *opts)
sbin/fsck/fsck.c
469
e->type = estrdup(type);
sbin/fsck/fsck.c
73
char *type;
sbin/fsck/preen.c
336
addpart(const char *type, const char *dev, const char *mntpt, void *auxarg)
sbin/fsck/preen.c
350
p->p_type = estrdup(type);
sbin/fsck_ext2fs/inode.c
574
clri(struct inodesc *idesc, const char *type, int flag)
sbin/fsck_ext2fs/inode.c
580
pwarn("%s %s", type,
sbin/fsck_ext2fs/inode.c
660
blkerror(ino_t ino, const char *type, daddr_t blk)
sbin/fsck_ext2fs/inode.c
663
pfatal("%lld %s I=%llu", (long long)blk, type, (unsigned long long)ino);
sbin/fsck_ext2fs/inode.c
689
allocino(ino_t request, int type)
sbin/fsck_ext2fs/inode.c
707
switch (type & IFMT) {
sbin/fsck_ext2fs/inode.c
724
dp->e2di_mode = h2fs16(type);
sbin/fsck_ext2fs/inode.c
733
typemap[ino] = E2IFTODT(type);
sbin/fsck_ffs/dir.c
313
uint8_t namlen, type;
sbin/fsck_ffs/dir.c
326
type = dp->d_namlen;
sbin/fsck_ffs/dir.c
330
type = dp->d_type;
sbin/fsck_ffs/dir.c
367
type > 15)
sbin/fsck_ffs/dir.c
408
ino, reclen, namlen, type, dp->d_name);
sbin/fsck_ffs/inode.c
575
clri(struct inodesc *idesc, const char *type, int flag)
sbin/fsck_ffs/inode.c
581
pwarn("%s %s", type,
sbin/fsck_ffs/inode.c
678
blkerror(ino_t ino, const char *type, daddr_t blk)
sbin/fsck_ffs/inode.c
682
pfatal("%lld %s I=%llu", (long long)blk, type, (unsigned long long)ino);
sbin/fsck_ffs/inode.c
709
allocino(ino_t request, int type)
sbin/fsck_ffs/inode.c
768
switch (type & IFMT) {
sbin/fsck_ffs/inode.c
794
dp2->di_mode = iswap16(type);
sbin/fsck_ffs/inode.c
808
dp1->di_mode = iswap16(type);
sbin/fsck_ffs/inode.c
819
info->ino_type = IFTODT(type);
sbin/fsck_ffs/inode.c
878
int type = IFMT & iswap16(DIP(dp, mode));
sbin/fsck_ffs/inode.c
889
if (type != IFREG)
sbin/fsck_ffs/quota2.c
233
quota2_check_inode(int type)
sbin/fsck_ffs/quota2.c
235
const char *strtype = (type == USRQUOTA) ? "user" : "group";
sbin/fsck_ffs/quota2.c
236
const char *capstrtype = (type == USRQUOTA) ? "USER" : "GROUP";
sbin/fsck_ffs/quota2.c
252
if ((sblock->fs_quota_flags & FS_Q2_DO_TYPE(type)) == 0)
sbin/fsck_ffs/quota2.c
254
if (sblock->fs_quotafile[type] != 0) {
sbin/fsck_ffs/quota2.c
257
info = inoinfo(sblock->fs_quotafile[type]);
sbin/fsck_ffs/quota2.c
266
capstrtype, sblock->fs_quotafile[type]);
sbin/fsck_ffs/quota2.c
272
capstrtype, sblock->fs_quotafile[type]);
sbin/fsck_ffs/quota2.c
276
" type %d\n", sblock->fs_quotafile[type],
sbin/fsck_ffs/quota2.c
280
dp = ginode(sblock->fs_quotafile[type]);
sbin/fsck_ffs/quota2.c
287
mode, capstrtype, sblock->fs_quotafile[type]);
sbin/fsck_ffs/quota2.c
298
capstrtype, sblock->fs_quotafile[type]);
sbin/fsck_ffs/quota2.c
305
freeino(sblock->fs_quotafile[type]);
sbin/fsck_ffs/quota2.c
306
sblock->fs_quotafile[type] = 0;
sbin/fsck_ffs/quota2.c
311
q2h->q2h_type != type ||
sbin/fsck_ffs/quota2.c
315
sblock->fs_quotafile[type]);
sbin/fsck_ffs/quota2.c
328
freeino(sblock->fs_quotafile[type]);
sbin/fsck_ffs/quota2.c
329
sblock->fs_quotafile[type] = 0;
sbin/fsck_ffs/quota2.c
333
if (sblock->fs_quotafile[type] == 0) {
sbin/fsck_ffs/quota2.c
343
quota2_create_inode(sblock, type);
sbin/fsck_ffs/quota2.c
346
dp = ginode(sblock->fs_quotafile[type]);
sbin/fsck_ffs/quota2.c
461
quota2_check_usage(int type)
sbin/fsck_ffs/quota2.c
463
const char *strtype = (type == USRQUOTA) ? "user" : "group";
sbin/fsck_ffs/quota2.c
464
const char *capstrtype = (type == USRQUOTA) ? "USER" : "GROUP";
sbin/fsck_ffs/quota2.c
473
if ((sblock->fs_quota_flags & FS_Q2_DO_TYPE(type)) == 0)
sbin/fsck_ffs/quota2.c
478
(type == USRQUOTA) ? uquot_user_hash : uquot_group_hash;
sbin/fsck_ffs/quota2.c
479
dp = ginode(sblock->fs_quotafile[type]);
sbin/fsck_ffs/quota2.c
50
quota2_create_inode(struct fs *fs, int type)
sbin/fsck_ffs/quota2.c
67
q2h_hash_shift, type, needswap);
sbin/fsck_ffs/quota2.c
70
sblock->fs_quotafile[type] = ino;
sbin/fsck_lfs/dir.c
254
u_char namlen, type;
sbin/fsck_lfs/dir.c
274
type = lfs_dir_gettype(fs, dp);
sbin/fsck_lfs/dir.c
278
type > 15) {
sbin/fsck_lfs/inode.c
442
clri(struct inodesc * idesc, const char *type, int flag)
sbin/fsck_lfs/inode.c
448
pwarn("%s %s", type,
sbin/fsck_lfs/inode.c
565
blkerror(ino_t ino, const char *type, daddr_t blk)
sbin/fsck_lfs/inode.c
568
pfatal("%lld %s I=%llu", (long long) blk, type,
sbin/fsck_lfs/inode.c
597
allocino(ino_t request, int type)
sbin/fsck_lfs/inode.c
615
switch (type & LFS_IFMT) {
sbin/fsck_lfs/inode.c
632
lfs_dino_setmode(fs, dp, type);
sbin/fsck_lfs/inode.c
641
typemap[ino] = LFS_IFTODT(type);
sbin/fsck_msdos/dir.c
356
int type)
sbin/fsck_msdos/dir.c
358
switch (type) {
sbin/fsdb/fsdb.c
1261
int type;
sbin/fsdb/fsdb.c
1268
type = mode & IFMT;
sbin/fsdb/fsdb.c
1274
type = tp->typebits;
sbin/fsdb/fsdb.c
1283
DIP_SET(curinode, mode, iswap16((mode & ~IFMT) | type));
sbin/gpt/add.c
149
ent_set(ent, map, type, name);
sbin/gpt/add.c
154
ent_set(ent, map, type, name);
sbin/gpt/add.c
158
gpt_uuid_snprintf(buf, sizeof(buf), "%d", type);
sbin/gpt/add.c
171
gpt_uuid_t type;
sbin/gpt/add.c
173
gpt_uuid_copy(type, gpt_uuid_nil);
sbin/gpt/add.c
186
if (gpt_uuid_get(gpt, &type) == -1)
sbin/gpt/add.c
205
if (gpt_uuid_is_nil(type))
sbin/gpt/add.c
206
gpt_uuid_create(GPT_TYPE_NETBSD_FFS, type, NULL, 0);
sbin/gpt/add.c
214
return add(gpt, alignment, block, sectors, size, entry, name, type);
sbin/gpt/add.c
87
u_int entry, uint8_t *name, gpt_uuid_t type)
sbin/gpt/gpt.c
1089
if (!gpt_uuid_is_nil(find->type))
sbin/gpt/gpt.c
1091
if (gpt_uuid_parse(optarg, find->type) != 0)
sbin/gpt/gpt.c
1112
|| find->size > 0 || !gpt_uuid_is_nil(find->type)))
sbin/gpt/gpt.c
1140
if (!gpt_uuid_is_nil(find->type) &&
sbin/gpt/gpt.c
1141
!gpt_uuid_equal(find->type, ent->ent_type))
sbin/gpt/gpt.c
1498
gpt_add_hdr(gpt_t gpt, int type, off_t loc)
sbin/gpt/gpt.c
1504
switch (type) {
sbin/gpt/gpt.c
1514
gpt_warnx(gpt, "Unknown GPT header type %d", type);
sbin/gpt/gpt.c
1523
*t = map_add(gpt, loc, 1LL, type, p, 1);
sbin/gpt/gpt.h
115
gpt_uuid_t type;
sbin/gpt/map.c
102
printf("add: %s %#jx %#jx\n", map_type(type), (uintmax_t)start,
sbin/gpt/map.c
130
type != MAP_TYPE_GPT_PART) {
sbin/gpt/map.c
137
n->map_type = type;
sbin/gpt/map.c
145
type != MAP_TYPE_GPT_PART) {
sbin/gpt/map.c
147
map_type(n->map_type), map_type(type));
sbin/gpt/map.c
153
m = map_create(start, size, type);
sbin/gpt/map.c
360
map_find(gpt_t gpt, int type)
sbin/gpt/map.c
365
while (m != NULL && m->map_type != type)
sbin/gpt/map.c
49
map_create(off_t start, off_t size, int type)
sbin/gpt/map.c
59
m->map_type = type;
sbin/gpt/map.c
97
map_add(gpt_t gpt, off_t start, off_t size, int type, void *data, int alloc)
sbin/gpt/migrate.c
181
gpt_type_t type;
sbin/gpt/migrate.c
217
type = (*convert)(gpt, i, dl->d_partitions[i].p_fstype);
sbin/gpt/migrate.c
218
if (type == GPT_TYPE_INVALID)
sbin/gpt/migrate.c
221
gpt_uuid_create(type, ent->ent_type,
sbin/gpt/migrate.c
247
gpt_type_t type = GPT_TYPE_INVALID;
sbin/gpt/migrate.c
278
type = GPT_TYPE_FREEBSD;
sbin/gpt/migrate.c
292
type = GPT_TYPE_EFI;
sbin/gpt/migrate.c
309
type = GPT_TYPE_MS_BASIC_DATA;
sbin/gpt/migrate.c
320
gpt_uuid_create(type, ent->ent_type, ent->ent_name,
sbin/gpt/recover.c
118
recover_gpt_tbl(gpt_t gpt, int type, off_t start)
sbin/gpt/recover.c
123
switch (type) {
sbin/gpt/recover.c
137
gpt_warn(gpt, "Bad table type %d", type);
sbin/gpt/recover.c
141
*dtbl = map_add(gpt, start, stbl->map_size, type, stbl->map_data, 0);
sbin/gpt/recover.c
71
recover_gpt_hdr(gpt_t gpt, int type, off_t last)
sbin/gpt/recover.c
77
if (gpt_add_hdr(gpt, type, last) == -1)
sbin/gpt/recover.c
80
switch (type) {
sbin/gpt/recover.c
98
gpt_warn(gpt, "Bad table type %d", type);
sbin/ifconfig/ieee80211.c
195
set80211(prop_dictionary_t env, uint16_t type, int16_t val, int16_t len,
sbin/ifconfig/ieee80211.c
201
ireq.i_type = type;
sbin/ifconfig/media.c
100
media_error(int type, const char *val, const char *opt)
sbin/ifconfig/media.c
103
get_media_type_string(type), opt, val);
sbin/ifconfig/media.c
174
int type, subtype, inst;
sbin/ifconfig/media.c
192
type = IFM_TYPE(media_current);
sbin/ifconfig/media.c
200
subtype = get_media_subtype(type, val);
sbin/ifconfig/media.c
202
media_error(type, val, "subtype");
sbin/ifconfig/media.c
205
media_current = IFM_MAKEWORD(type, subtype, 0, inst);
sbin/ifconfig/media.c
274
int type, subtype, options;
sbin/ifconfig/media.c
286
type = IFM_TYPE(media_current);
sbin/ifconfig/media.c
290
media_current = IFM_MAKEWORD(type, subtype, options, inst);
sbin/ifconfig/media.c
299
int type, subtype, options, inst, mode;
sbin/ifconfig/media.c
308
type = IFM_TYPE(media_current);
sbin/ifconfig/media.c
317
mode = get_media_mode(type, val);
sbin/ifconfig/media.c
319
media_error(type, val, "mode");
sbin/ifconfig/media.c
323
media_current = IFM_MAKEWORD(type, subtype, options, inst) | mode;
sbin/ifconfig/media.c
458
int type, printed_type;
sbin/ifconfig/media.c
460
for (type = IFM_NMIN; type <= IFM_NMAX; type += IFM_NMIN) {
sbin/ifconfig/media.c
462
if (IFM_TYPE(media_list[i]) != type)
sbin/ifconfig/media.c
466
get_media_type_string(type));
sbin/init/init.c
1342
make_utmpx(const char *name, const char *line, int type, pid_t pid,
sbin/init/init.c
1350
ut.ut_type = type;
sbin/iscsid/iscsid_targets.c
925
cleanup_orphans(iscsi_portal_types_t type)
sbin/iscsid/iscsid_targets.c
940
if (p->portaltype == type && p->discoveryid == 0) {
sbin/mount/mount.c
169
#define BADTYPE(type) \
sbin/mount/mount.c
170
(strcmp(type, FSTAB_RO) && \
sbin/mount/mount.c
171
strcmp(type, FSTAB_RW) && strcmp(type, FSTAB_RQ))
sbin/mount_portal/puffs_portal.c
219
int type;
sbin/mount_portal/puffs_portal.c
221
if (puffs_framebuf_getdata_atoff(pufbuf, 0, &type, sizeof(int)) == -1)
sbin/mount_portal/puffs_portal.c
224
if (type == PUFBUF_FD)
sbin/mount_portal/puffs_portal.c
226
else if (type == PUFBUF_DATA)
sbin/mount_qemufwcfg/fwcfg.c
97
switch (ep->type) {
sbin/mount_qemufwcfg/virtdir.c
124
virtdir_add(virtdir_t *tp, const char *name, size_t size, uint8_t type,
sbin/mount_qemufwcfg/virtdir.c
142
tp->v[tp->c].type = type;
sbin/mount_qemufwcfg/virtdir.h
44
uint8_t type; /* entry type - file, dir, lnk */
sbin/newfs_msdos/mkfs_msdos.c
149
u_int8_t type[8]; /* file system type */
sbin/newfs_msdos/mkfs_msdos.c
718
setstr(bsx->type, buf, sizeof(bsx->type));
sbin/newfs_sysvbfs/newfs_sysvbfs.c
217
inode->attr.type = 2; /* DIR */
sbin/newfs_udf/udf_core.c
1236
pmap->pm1.type = 1;
sbin/newfs_udf/udf_core.c
1269
pmap->pmv.type = 2;
sbin/newfs_udf/udf_core.c
1309
pmap->pms.type = 2;
sbin/newfs_udf/udf_core.c
1400
pmap->pmm.type = 2;
sbin/newfs_udf/udf_core.c
1500
udf_update_lvintd(int type)
sbin/newfs_udf/udf_core.c
1514
lvid->integrity_type = udf_rw32(type);
sbin/newfs_udf/udf_core.c
1528
if (type == UDF_INTEGRITY_CLOSED) {
sbin/newfs_udf/udf_core.c
1566
udf_create_lvintd(int type)
sbin/newfs_udf/udf_core.c
1582
udf_update_lvintd(type);
sbin/newfs_udf/udf_core.c
1860
pathcomp.type = UDF_PATH_COMP_ROOT;
sbin/newfs_udf/udf_core.c
1869
pathcomp.type = UDF_PATH_COMP_MOUNTROOT;
sbin/newfs_udf/udf_core.c
1910
pathcomp.type = UDF_PATH_COMP_NAME;
sbin/newfs_udf/udf_core.c
1914
pathcomp.type = UDF_PATH_COMP_PARENTDIR;
sbin/newfs_udf/udf_core.c
1916
pathcomp.type = UDF_PATH_COMP_CURDIR;
sbin/newfs_udf/udf_core.c
1918
if (pathcomp.type == UDF_PATH_COMP_NAME) {
sbin/newfs_udf/udf_core.c
2272
if (udf_rw32(attrhdr->type) != sattr)
sbin/newfs_udf/udf_core.c
2276
if (udf_rw32(attrhdr->type) < 2048) { /* Ecma-167 attribute */
sbin/newfs_udf/udf_core.c
2362
if (udf_rw32(extattr->type) < 2048) {
sbin/newfs_udf/udf_core.c
2368
if (udf_rw32(extattr->type) == 2048) {
sbin/newfs_udf/udf_core.c
2379
assert(udf_rw32(extattr->type) != 65536);
sbin/newfs_udf/udf_core.c
2387
if (udf_rw32(extattr->type) < 2048) {
sbin/newfs_udf/udf_core.c
2391
if (udf_rw32(extattr->type) == 2048) {
sbin/newfs_udf/udf_core.c
2493
ft_extattr->hdr.type = udf_rw32(UDF_FILETIMES_ATTR_NO);
sbin/newfs_udf/udf_core.c
2913
implext->hdr.type = udf_rw32(2048); /* [4/48.10.8] */
sbin/newfs_udf/udf_core.c
675
charspec->type = 0;
sbin/newfs_udf/udf_core.c
698
is_osta_typ0 = (chsp->type == 0);
sbin/newfs_udf/udf_core.c
754
is_osta_typ0 = (chsp->type == 0);
sbin/newfs_udf/udf_core.h
326
extern int udf_create_lvintd(int type);
sbin/newfs_udf/udf_core.h
327
extern void udf_update_lvintd(int type);
sbin/ping6/ping6.c
1607
u_int8_t type;
sbin/ping6/ping6.c
1623
&type, &len, &databuf);
sbin/ping6/ping6.c
1626
switch (type) {
sbin/ping6/ping6.c
1647
type, (unsigned long)len);
sbin/restore/restore.c
102
type |= LINK;
sbin/restore/restore.c
104
ep = addentry(name, ino, type);
sbin/restore/restore.c
105
if (type == NODE)
sbin/restore/restore.c
117
deletefile(const char *name, ino_t ino, int type __unused)
sbin/restore/restore.c
208
nodeupdates(const char *name, ino_t ino, int type)
sbin/restore/restore.c
282
(((key & INOFND) && ip->e_type != type) ||
sbin/restore/restore.c
283
((key & NAMEFND) && np->e_type != type)))
sbin/restore/restore.c
334
ep = addentry(name, ino, type);
sbin/restore/restore.c
335
if (type == NODE)
sbin/restore/restore.c
354
if (type == LEAF && (ip->e_flags & KEEP) == 0)
sbin/restore/restore.c
373
ep = addentry(name, ino, type|LINK);
sbin/restore/restore.c
388
ep = addentry(name, ino, type|LINK);
sbin/restore/restore.c
389
if (type == NODE)
sbin/restore/restore.c
396
if (type == LEAF && lookuptype != LINK)
sbin/restore/restore.c
430
ip = addentry(name, ino, type);
sbin/restore/restore.c
439
ip = addentry(name, ino, type);
sbin/restore/restore.c
59
listfile(const char *name, ino_t ino, int type)
sbin/restore/restore.c
65
vprintf(stdout, "%s", type == LEAF ? "leaf" : "dir ");
sbin/restore/restore.c
75
addfile(const char *name, ino_t ino, int type)
sbin/restore/restore.c
840
verifyfile(const char *name, ino_t ino, int type)
sbin/restore/restore.c
858
if (ep->e_type == LEAF && type != LEAF)
sbin/restore/restore.c
91
if (type == NODE) {
sbin/restore/symtab.c
220
addentry(const char *name, ino_t inum, int type)
sbin/restore/symtab.c
238
np->e_type = type & ~LINK;
sbin/restore/symtab.c
254
if (type & LINK) {
sbin/restore/utilities.c
202
linkit(char *existing, char *new, int type)
sbin/restore/utilities.c
205
if (type == SYMLINK) {
sbin/restore/utilities.c
212
} else if (type == HARDLINK) {
sbin/restore/utilities.c
220
panic("linkit: unknown type %d\n", type);
sbin/restore/utilities.c
224
type == SYMLINK ? "symbolic" : "hard", new, existing);
sbin/restore/utilities.c
411
writemtree(const char *name, const char *type,
sbin/restore/utilities.c
418
name, type, uid, gid,
sbin/rndctl/rndctl.c
118
find_name(u_int32_t type)
sbin/rndctl/rndctl.c
125
if (type == a->a_type)
sbin/rndctl/rndctl.c
130
warnx("device type %u unknown", type);
sbin/rndctl/rndctl.c
479
printf("%-6s ", find_name(source->rt.type));
sbin/rndctl/rndctl.c
493
do_list(int all, u_int32_t type, char *name)
sbin/rndctl/rndctl.c
506
if (!all && type == 0xff) {
sbin/rndctl/rndctl.c
536
if (all || type == rstat.source[i].rt.type) {
sbin/rndctl/rndctl.c
572
u_int32_t type;
sbin/rndctl/rndctl.c
586
type = 0xff;
sbin/rndctl/rndctl.c
633
type = find_type(optarg);
sbin/rndctl/rndctl.c
640
type = 0xff;
sbin/rndctl/rndctl.c
701
rctl.type = type;
sbin/rndctl/rndctl.c
712
do_list(cmd == 0, type, name);
sbin/routed/defs.h
305
u_int16_t type;
sbin/routed/defs.h
446
enum output_type type;
sbin/routed/if.c
595
const char *type)
sbin/routed/if.c
603
type,
sbin/routed/if.c
611
type, ifp->int_name, naddr_ntoa(ifp->int_dstaddr));
sbin/routed/if.c
619
if_ok(ifp1, type);
sbin/routed/input.c
271
if (ap != 0 && ap->type == RIP_AUTH_PW
sbin/routed/input.c
437
if (ap != 0 && ap->type == RIP_AUTH_MD5)
sbin/routed/input.c
598
if (aifp->int_auth[0].type != RIP_AUTH_NONE
sbin/routed/input.c
960
if (ap->type != NA->a_type
sbin/routed/output.c
101
output(enum output_type type,
sbin/routed/output.c
126
switch (type) {
sbin/routed/output.c
242
if (ap->type == RIP_AUTH_NONE)
sbin/routed/output.c
280
if (ap->type == RIP_AUTH_PW) {
sbin/routed/output.c
286
} else if (ap->type == RIP_AUTH_MD5) {
sbin/routed/output.c
330
switch (wb->type) {
sbin/routed/output.c
338
if (ws.a != 0 && ws.a->type == RIP_AUTH_MD5)
sbin/routed/output.c
340
if (output(wb->type, &ws.to, ws.ifp, wb->buf,
sbin/routed/output.c
686
enum output_type type,
sbin/routed/output.c
731
switch (type) {
sbin/routed/output.c
734
v2buf.type = OUT_MULTICAST;
sbin/routed/output.c
736
v2buf.type = NO_OUT_MULTICAST;
sbin/routed/output.c
737
v12buf.type = OUT_BROADCAST;
sbin/routed/output.c
745
v2buf.type = (vers == RIPv2) ? type : NO_OUT_RIPV2;
sbin/routed/output.c
746
v12buf.type = type;
sbin/routed/output.c
756
if (type != OUT_BROADCAST)
sbin/routed/output.c
763
if (type != OUT_BROADCAST
sbin/routed/output.c
771
if (!passwd_ok && ws.a != 0 && ws.a->type == RIP_AUTH_PW)
sbin/routed/output.c
838
enum output_type type;
sbin/routed/output.c
874
type = OUT_MULTICAST;
sbin/routed/output.c
876
type = OUT_BROADCAST;
sbin/routed/output.c
886
type = OUT_MULTICAST;
sbin/routed/output.c
888
type = OUT_UNICAST;
sbin/routed/output.c
894
type = OUT_UNICAST;
sbin/routed/output.c
901
supply(&dst, ifp, type, flash, vers, 1);
sbin/routed/output.c
922
enum output_type type;
sbin/routed/output.c
970
type = OUT_MULTICAST;
sbin/routed/output.c
972
type = OUT_BROADCAST;
sbin/routed/output.c
982
type = OUT_MULTICAST;
sbin/routed/output.c
984
type = OUT_UNICAST;
sbin/routed/output.c
990
type = OUT_UNICAST;
sbin/routed/output.c
998
if (output(type, &dst, ifp, &buf, sizeof(buf)) < 0)
sbin/routed/parms.c
131
&& ifp->int_auth[0].type != RIP_AUTH_NONE
sbin/routed/parms.c
140
&& ifp->int_auth[0].type != RIP_AUTH_NONE
sbin/routed/parms.c
181
const char *type;
sbin/routed/parms.c
269
if (!strcasecmp(qual, type = "passive")) {
sbin/routed/parms.c
280
} else if (!strcasecmp(qual, type = "external")) {
sbin/routed/parms.c
300
type = "remote";
sbin/routed/parms.c
306
type = "alias";
sbin/routed/parms.c
348
"%s(%s)", type, gname);
sbin/routed/parms.c
493
u_int16_t type,
sbin/routed/parms.c
507
ap->type != RIP_AUTH_NONE; i++, ap++) {
sbin/routed/parms.c
513
k.type = type;
sbin/routed/parms.c
522
if (type == RIP_AUTH_MD5)
sbin/routed/parms.c
79
if (parmp->parm_auth[0].type == RIP_AUTH_NONE
sbin/routed/parms.c
876
if (new->parm_auth[i].type != RIP_AUTH_NONE)
sbin/routed/parms.c
894
if (parmp->parm_auth[i].type != RIP_AUTH_NONE)
sbin/routed/rdisc.c
702
int type) /* 0=unicast, 1=bcast, 2=mcast */
sbin/routed/rdisc.c
718
switch (type) {
sbin/routed/rdisc.c
801
int type) /* 0=unicast, 1=bcast, 2=mcast */
sbin/routed/rdisc.c
826
send_rdisc(&u, sizeof(u.ad), ifp, dst, type);
sbin/routed/rdisc.c
921
const char *type;
sbin/routed/rdisc.c
925
type = "advertisement";
sbin/routed/rdisc.c
927
type = "solicitation";
sbin/routed/rdisc.c
934
type, p->icmp.icmp_code,
sbin/routed/rdisc.c
944
type, naddr_ntoa(from), naddr_ntoa(to));
sbin/routed/table.c
615
rtm_type_name(u_char type)
sbin/routed/table.c
642
if (type > sizeof(rtm_types)/sizeof(rtm_types[0])
sbin/routed/table.c
643
|| type == 0) {
sbin/routed/table.c
644
snprintf(name0, sizeof(name0), NEW_RTM_PAT, type);
sbin/routed/table.c
647
return rtm_types[type-1];
sbin/savecore/savecore.c
792
find_dev(dev_t dev, mode_t type)
sbin/savecore/savecore.c
813
if ((sb.st_mode & S_IFMT) != type)
sbin/scsictl/scsictl.c
645
unsigned assoc, proto, code, type;
sbin/scsictl/scsictl.c
687
type = __SHIFTOUT(did->flags, SINQ_DEVICE_ID_TYPE);
sbin/scsictl/scsictl.c
696
printf(" %s: ", typestr[type]);
sbin/svhlabel/svhlabel.c
140
switch (vh->partitions[i].type) {
sbin/svhlabel/svhlabel.c
273
BE32TOH(vh->partitions[i].type);
sbin/sysctl/sysctl.c
1007
type = 0;
sbin/sysctl/sysctl.c
1110
type = CTLTYPE_NODE;
sbin/sysctl/sysctl.c
1113
type = CTLTYPE_INT;
sbin/sysctl/sysctl.c
1117
type = CTLTYPE_BOOL;
sbin/sysctl/sysctl.c
1120
type = CTLTYPE_STRING;
sbin/sysctl/sysctl.c
1123
type = CTLTYPE_QUAD;
sbin/sysctl/sysctl.c
1126
type = CTLTYPE_STRUCT;
sbin/sysctl/sysctl.c
118
u_int type, void *v
sbin/sysctl/sysctl.c
1225
if (type == 0)
sbin/sysctl/sysctl.c
1226
type = CTLTYPE_NODE;
sbin/sysctl/sysctl.c
1240
switch (type) {
sbin/sysctl/sysctl.c
1334
else if (type != CTLTYPE_NODE) {
sbin/sysctl/sysctl.c
1350
(type == CTLTYPE_STRING || type == CTLTYPE_STRUCT)) {
sbin/sysctl/sysctl.c
1353
(type == CTLTYPE_STRING) ? "string" : "struct");
sbin/sysctl/sysctl.c
1356
if (type == CTLTYPE_NODE && node.sysctl_data != NULL) {
sbin/sysctl/sysctl.c
1365
if ((type == CTLTYPE_INT && sz != sizeof(int)) ||
sbin/sysctl/sysctl.c
1366
(type == CTLTYPE_BOOL && sz != sizeof(bool)) ||
sbin/sysctl/sysctl.c
1367
(type == CTLTYPE_QUAD && sz != sizeof(u_quad_t)) ||
sbin/sysctl/sysctl.c
1368
(type == CTLTYPE_NODE && sz != 0)) {
sbin/sysctl/sysctl.c
1373
else if (type == CTLTYPE_STRUCT) {
sbin/sysctl/sysctl.c
1384
if (type == CTLTYPE_NODE ||
sbin/sysctl/sysctl.c
1413
node.sysctl_flags = SYSCTL_VERSION|flags|rw|type;
sbin/sysctl/sysctl.c
1466
printf("%s(%s): (created)\n", nname, st(type));
sbin/sysctl/sysctl.c
2103
while (type != CTLTYPE_NODE && (xflag || rflag)) {
sbin/sysctl/sysctl.c
593
print_tree(int *name, u_int namelen, struct sysctlnode *pnode, u_int type,
sbin/sysctl/sysctl.c
630
printf("CTLTYPE_%s", st(type));
sbin/sysctl/sysctl.c
631
if (type == CTLTYPE_NODE) {
sbin/sysctl/sysctl.c
648
if (type != CTLTYPE_NODE) {
sbin/sysctl/sysctl.c
655
if (Aflag || type != CTLTYPE_NODE) {
sbin/sysctl/sysctl.c
671
if (type != CTLTYPE_NODE) {
sbin/sysctl/sysctl.c
690
if (type != CTLTYPE_NODE && p != NULL) {
sbin/sysctl/sysctl.c
696
(*p->ps_p)(gsname, gdname, NULL, name, namelen, pnode, type,
sbin/sysctl/sysctl.c
702
if (type != CTLTYPE_NODE && pnode->sysctl_size == 0) {
sbin/sysctl/sysctl.c
719
switch (type) {
sbin/sysctl/sysctl.c
728
pnode, type, __UNCONST(p->ps_d));
sbin/sysctl/sysctl.c
845
u_int namelen, type;
sbin/sysctl/sysctl.c
908
type = SYSCTL_TYPE(node->sysctl_flags);
sbin/sysctl/sysctl.c
913
print_tree(&name[0], namelen, node, type, 0, re, lastcompiled);
sbin/sysctl/sysctl.c
929
if (type != CTLTYPE_NODE && (w = findhandler(canonname, re,
sbin/sysctl/sysctl.c
936
(*w->ps_w)(gsname, gdname, value, name, namelen, node, type,
sbin/sysctl/sysctl.c
942
switch (type) {
sbin/sysctl/sysctl.c
957
print_tree(&name[0], namelen, node, type, 0, re, lastcompiled);
sbin/sysctl/sysctl.c
989
u_int namelen, type;
sbin/tunefs/tunefs.c
248
#define CHANGEVAL(old, new, type, suffix) do \
sbin/tunefs/tunefs.c
252
(type), (old), (suffix)); \
sbin/tunefs/tunefs.c
255
(type), (old), (suffix), (new), (suffix)); \
sbin/umount/umount.c
204
char *type, rname[MAXPATHLEN], umountprog[MAXPATHLEN];
sbin/umount/umount.c
233
if ((mntpt = getmntname(name, MNTON, &type)) == NULL) {
sbin/umount/umount.c
239
if ((name = getmntname(mntpt, MNTFROM, &type)) == NULL) {
sbin/umount/umount.c
245
if ((name = getmntname(mntpt, MNTFROM, &type)) == NULL) {
sbin/umount/umount.c
247
if ((mntpt = getmntname(name, MNTON, &type)) == NULL) {
sbin/umount/umount.c
255
if (checkvfsname(type, typelist))
sbin/umount/umount.c
259
if (!strncmp(type, MOUNT_NFS,
sbin/umount/umount.c
280
snprintf(umountprog, sizeof(umountprog), "umount_%s", type);
sbin/umount/umount.c
374
getmntname(const char *name, mntwhat what, char **type)
sbin/umount/umount.c
388
if (type)
sbin/umount/umount.c
389
*type = mntbuf[i].f_fstypename;
sbin/umount/umount.c
393
if (type)
sbin/umount/umount.c
394
*type = mntbuf[i].f_fstypename;
sbin/veriexecctl/veriexecctl_parse.y
123
type : STRING {
sbin/veriexecctl/veriexecctl_parse.y
66
| statement path type fingerprint flags eol {
share/examples/puffs/pgfs/pgfs_db.c
243
Oid type = va_arg(ap, Oid);
share/examples/puffs/pgfs/pgfs_db.c
244
assert(type == BYTEA ||
share/examples/puffs/pgfs/pgfs_db.c
245
type == INT4OID || type == INT8OID || type == OIDOID ||
share/examples/puffs/pgfs/pgfs_db.c
246
type == TEXTOID || type == TIMESTAMPTZOID);
share/examples/puffs/pgfs/pgfs_db.c
247
c->paramtypes[i] = type;
share/examples/puffs/pgfs/pgfs_db.c
364
Oid type = c->paramtypes[i];
share/examples/puffs/pgfs/pgfs_db.c
371
switch (type) {
share/examples/puffs/pgfs/pgfs_db.c
380
switch (type) {
share/examples/puffs/pgfs/pgfs_db.c
392
type);
share/examples/puffs/pgfs/pgfs_db.c
408
__func__, type);
share/examples/puffs/pgfs/pgfs_db.c
641
simplefetch(struct Xconn *xc, Oid type, ...)
share/examples/puffs/pgfs/pgfs_db.c
648
va_start(ap, type);
share/examples/puffs/pgfs/pgfs_db.c
649
error = vfetchnext(&s, 1, &type, ap);
share/examples/puffs/pgfs/pgfs_subs.c
440
char *type;
share/examples/puffs/pgfs/pgfs_subs.c
499
error = FETCHNEXT(&s, types, &type, &mode, &uid, &gid, &nlink,
share/examples/puffs/pgfs/pgfs_subs.c
524
error = FETCHNEXT(&s, types, &type, &mode, &uid, &gid, &nlink,
share/examples/puffs/pgfs/pgfs_subs.c
532
va->va_type = tovtype(type);
share/examples/puffs/pgfs/pgfs_subs.c
533
free(type);
share/examples/puffs/pgfs/pgfs_subs.c
664
const char *type;
share/examples/puffs/pgfs/pgfs_subs.c
667
type = fromvtype(vtype);
share/examples/puffs/pgfs/pgfs_subs.c
668
if (type == NULL) {
share/examples/puffs/pgfs/pgfs_subs.c
681
error = sendcmd(xc, c, type, (uint64_t)mode, (uint64_t)uid,
share/examples/puffs/pgfs/pgfs_subs.c
80
tovtype(const char *type)
share/examples/puffs/pgfs/pgfs_subs.c
800
char *type;
share/examples/puffs/pgfs/pgfs_subs.c
810
error = simplefetch(xc, TEXTOID, &type);
share/examples/puffs/pgfs/pgfs_subs.c
817
vtype = tovtype(type);
share/examples/puffs/pgfs/pgfs_subs.c
818
free(type);
share/examples/puffs/pgfs/pgfs_subs.c
88
if (!strcmp(type, vtype_table[i])) {
share/examples/refuse/dmesgfs/dmesgfs.c
252
build_tree(virtdir_t *tp, const char *nexus, char type)
share/examples/refuse/dmesgfs/dmesgfs.c
276
if (type == 'l') {
share/examples/refuse/dmesgfs/dmesgfs.c
299
(devices.v[i].dir) ? 'd' : type,
share/examples/refuse/dmesgfs/dmesgfs.c
304
virtdir_add(tp, buf, strlen(buf), type,
share/examples/refuse/dmesgfs/dmesgfs.c
309
(type == 'l') ? "symbolic link" : "file",
share/examples/refuse/dmesgfs/dmesgfs.c
321
char type;
share/examples/refuse/dmesgfs/dmesgfs.c
325
type = 'l';
share/examples/refuse/dmesgfs/dmesgfs.c
329
type = 'f';
share/examples/refuse/dmesgfs/dmesgfs.c
332
type = 'l';
share/examples/refuse/dmesgfs/dmesgfs.c
342
if (!build_tree(&pci, (nexus) ? nexus : "mainbus0", type)) {
share/examples/refuse/dmesgfs/dmesgfs.c
80
switch(ep->type) {
share/examples/refuse/fanoutfs/defs.h
44
#define NEWARRAY(type,ptr,size,where,action) do { \
share/examples/refuse/fanoutfs/defs.h
45
if ((ptr = (type *) calloc(sizeof(type), (unsigned)(size))) == NULL) { \
share/examples/refuse/fanoutfs/defs.h
47
where, (unsigned long)(size * sizeof(type))); \
share/examples/refuse/fanoutfs/defs.h
52
#define RENEW(type,ptr,size,where,action) do { \
share/examples/refuse/fanoutfs/defs.h
53
type *_newptr; \
share/examples/refuse/fanoutfs/defs.h
54
if ((_newptr = (type *) realloc(ptr, sizeof(type) * (size))) == NULL) { \
share/examples/refuse/fanoutfs/defs.h
56
where, (unsigned long)(size * sizeof(type))); \
share/examples/refuse/fanoutfs/defs.h
63
#define NEW(type, ptr, where, action) NEWARRAY(type, ptr, 1, where, action)
share/examples/refuse/fanoutfs/defs.h
67
#define ALLOC(type, v, size, c, init, incr, where, action) do { \
share/examples/refuse/fanoutfs/defs.h
71
NEWARRAY(type, v, _newsize, where ": new", action); \
share/examples/refuse/fanoutfs/defs.h
74
RENEW(type, v, _newsize, where ": renew", action); \
share/examples/refuse/fanoutfs/defs.h
81
#define DEFINE_ARRAY(name, type) \
share/examples/refuse/fanoutfs/defs.h
85
type *v; \
share/examples/refuse/ian/ian/ian.c
145
switch(ep->type) {
share/examples/refuse/ian/libfetch/ftp.c
209
_ftp_filename(const char *file, int *len, int *type)
share/examples/refuse/ian/libfetch/ftp.c
219
*type = s[*len - 1];
share/examples/refuse/ian/libfetch/ftp.c
222
*type = '\0';
share/examples/refuse/ian/libfetch/ftp.c
338
_ftp_mode_type(conn_t *conn, int mode, int type)
share/examples/refuse/ian/libfetch/ftp.c
371
switch (type) {
share/examples/refuse/ian/libfetch/ftp.c
374
type = 'I';
share/examples/refuse/ian/libfetch/ftp.c
379
type = 'A';
share/examples/refuse/ian/libfetch/ftp.c
384
type = 'D';
share/examples/refuse/ian/libfetch/ftp.c
391
if ((e = _ftp_cmd(conn, "TYPE %c", type)) != FTP_OK)
share/examples/refuse/ian/libfetch/ftp.c
405
int filenamelen, type;
share/examples/refuse/ian/libfetch/ftp.c
413
filename = _ftp_filename(file, &filenamelen, &type);
share/examples/refuse/ian/libfetch/ftp.c
415
if ((e = _ftp_mode_type(conn, 0, type)) != FTP_OK) {
share/examples/refuse/ian/libfetch/ftp.c
630
int filenamelen, type;
share/examples/refuse/ian/libfetch/ftp.c
648
filename = _ftp_filename(file, &filenamelen, &type);
share/examples/refuse/ian/libfetch/ftp.c
651
if ((e = _ftp_mode_type(conn, 0, type)) != FTP_OK)
share/examples/refuse/icfs/icfs.c
537
char type;
share/examples/refuse/icfs/icfs.c
567
type = 'd';
share/examples/refuse/icfs/icfs.c
570
type = 'f';
share/examples/refuse/icfs/icfs.c
573
type = 'l';
share/examples/refuse/icfs/icfs.c
576
type = 'b';
share/examples/refuse/icfs/icfs.c
579
type = 'c';
share/examples/refuse/icfs/icfs.c
582
type = '?';
share/examples/refuse/icfs/icfs.c
587
virtdir_add(tp, &name[len], strlen(name) - len, type, icname,
share/examples/refuse/icfs/icfs.c
590
if (type == 'd') {
share/examples/refuse/icfs/icfs.c
82
add_entry(virtdir_t *tp, const char *name, uint8_t type)
share/examples/refuse/icfs/icfs.c
91
virtdir_add(tp, &name[len], strlen(name) - len, type, icname,
share/examples/refuse/id3fs/defs.h
44
#define NEWARRAY(type,ptr,size,where,action) do { \
share/examples/refuse/id3fs/defs.h
45
if ((ptr = (type *) calloc(sizeof(type), (unsigned)(size))) == NULL) { \
share/examples/refuse/id3fs/defs.h
47
where, (unsigned long)(size * sizeof(type))); \
share/examples/refuse/id3fs/defs.h
52
#define RENEW(type,ptr,size,where,action) do { \
share/examples/refuse/id3fs/defs.h
53
type *_newptr; \
share/examples/refuse/id3fs/defs.h
54
if ((_newptr = (type *) realloc(ptr, sizeof(type) * (size))) == NULL) { \
share/examples/refuse/id3fs/defs.h
56
where, (unsigned long)(size * sizeof(type))); \
share/examples/refuse/id3fs/defs.h
63
#define NEW(type, ptr, where, action) NEWARRAY(type, ptr, 1, where, action)
share/examples/refuse/id3fs/defs.h
67
#define ALLOC(type, v, size, c, init, incr, where, action) do { \
share/examples/refuse/id3fs/defs.h
71
NEWARRAY(type, v, _newsize, where ": new", action); \
share/examples/refuse/id3fs/defs.h
74
RENEW(type, v, _newsize, where ": renew", action); \
share/examples/refuse/id3fs/defs.h
81
#define DEFINE_ARRAY(name, type) \
share/examples/refuse/id3fs/defs.h
85
type *v; \
share/examples/refuse/id3fs/id3fs.c
68
switch(ep->type) {
share/examples/refuse/pcifs/pcifs.c
64
switch(ep->type) {
share/examples/refuse/virtdir/defs.h
44
#define NEWARRAY(type,ptr,size,where,action) do { \
share/examples/refuse/virtdir/defs.h
45
if ((ptr = (type *) calloc(sizeof(type), (unsigned)(size))) == NULL) { \
share/examples/refuse/virtdir/defs.h
47
where, (unsigned long)(size * sizeof(type))); \
share/examples/refuse/virtdir/defs.h
52
#define RENEW(type,ptr,size,where,action) do { \
share/examples/refuse/virtdir/defs.h
53
type *_newptr; \
share/examples/refuse/virtdir/defs.h
54
if ((_newptr = (type *) realloc(ptr, sizeof(type) * (size))) == NULL) { \
share/examples/refuse/virtdir/defs.h
56
where, (unsigned long)(size * sizeof(type))); \
share/examples/refuse/virtdir/defs.h
63
#define NEW(type, ptr, where, action) NEWARRAY(type, ptr, 1, where, action)
share/examples/refuse/virtdir/defs.h
67
#define ALLOC(type, v, size, c, init, incr, where, action) do { \
share/examples/refuse/virtdir/defs.h
71
NEWARRAY(type, v, _newsize, where ": new", action); \
share/examples/refuse/virtdir/defs.h
74
RENEW(type, v, _newsize, where ": renew", action); \
share/examples/refuse/virtdir/defs.h
81
#define DEFINE_ARRAY(name, type) \
share/examples/refuse/virtdir/defs.h
85
type *v; \
share/examples/refuse/virtdir/virtdir.c
134
virtdir_add(virtdir_t *tp, const char *name, size_t size, uint8_t type, const char *tgt, size_t tgtlen)
share/examples/refuse/virtdir/virtdir.c
156
tp->v[tp->c].type = type;
share/examples/refuse/virtdir/virtdir.h
45
uint8_t type; /* entry type - file, dir, lnk */
share/examples/rump/btplay/btplay.c
128
cmd->type = HCI_CMD_PKT;
share/examples/rump/btplay/btplay.c
172
cmd->type = HCI_CMD_PKT;
share/examples/rump/ukbd_read/kbd.c
71
switch (wev->type) {
share/examples/rump/ukbd_read/kbd.c
86
printf("event type: %d (%s)\n", wev->type, typestr);
share/examples/rump/ums_draw/ms.c
69
switch (wev->type) {
sys/altq/altq_cdnr.c
241
cdnr_cballoc(struct top_cdnr *top, int type, struct tc_action *(*input_func)(
sys/altq/altq_cdnr.c
247
switch (type) {
sys/altq/altq_cdnr.c
272
cb->cb_type = type;
sys/altq/altq_conf.c
305
void altq_module_incref(int type)
sys/altq/altq_conf.c
307
if (type < 0 || type >= ALTQT_MAX || altq_modules[type] == NULL)
sys/altq/altq_conf.c
310
altq_modules[type]->ref++;
sys/altq/altq_conf.c
313
void altq_module_declref(int type)
sys/altq/altq_conf.c
315
if (type < 0 || type >= ALTQT_MAX || altq_modules[type] == NULL)
sys/altq/altq_conf.c
318
altq_modules[type]->ref--;
sys/altq/altq_conf.c
324
int type = mdata->type;
sys/altq/altq_conf.c
326
if (type < 0 || type >= ALTQT_MAX)
sys/altq/altq_conf.c
329
if (altqsw[type].d_open != noopen)
sys/altq/altq_conf.c
331
if (altqsw[type].d_open != NULL)
sys/altq/altq_conf.c
334
altqsw[type] = *mdata->altqsw; /* set discipline functions */
sys/altq/altq_conf.c
335
altq_modules[type] = mdata; /* save module data pointer */
sys/altq/altq_conf.c
337
make_dev(&altq_cdevsw, type, UID_ROOT, GID_WHEEL, 0644,
sys/altq/altq_conf.c
338
"altq/%s", altqsw[type].d_name);
sys/altq/altq_conf.c
340
altqsw[type].dev = make_dev(&altq_cdevsw, type, UID_ROOT, GID_WHEEL,
sys/altq/altq_conf.c
341
0644, "altq/%s", altqsw[type].d_name);
sys/altq/altq_conf.c
349
int type = mdata->type;
sys/altq/altq_conf.c
351
if (type < 0 || type >= ALTQT_MAX)
sys/altq/altq_conf.c
353
if (mdata != altq_modules[type])
sys/altq/altq_conf.c
355
if (altq_modules[type]->ref > 0)
sys/altq/altq_conf.c
358
destroy_dev(makedev(CDEV_MAJOR, type));
sys/altq/altq_conf.c
360
destroy_dev(altqsw[type].dev);
sys/altq/altq_conf.c
362
altqsw[type] = noqdisc;
sys/altq/altq_conf.c
363
altq_modules[type] = NULL;
sys/altq/altq_conf.h
100
static struct altq_module_data name##_moddata = { type, 0, devsw }; \
sys/altq/altq_conf.h
94
int type; /* discipline type */
sys/altq/altq_conf.h
99
#define ALTQ_MODULE(name, type, devsw) \
sys/altq/altq_subr.c
114
altq_lookup(char *name, int type)
sys/altq/altq_subr.c
119
if (type != ALTQT_NONE && ifp->if_snd.altq_type == type)
sys/altq/altq_subr.c
127
altq_attach(struct ifaltq *ifq, int type, void *discipline,
sys/altq/altq_subr.c
148
ifq->altq_type = type;
sys/altq/altq_subr.c
158
altq_module_incref(type);
sys/arch/aarch64/aarch64/db_machdep.c
1131
kdb_trap(int type, struct trapframe *tf)
sys/arch/aarch64/aarch64/db_machdep.c
1140
switch (type) {
sys/arch/aarch64/aarch64/db_machdep.c
1191
type = -1;
sys/arch/aarch64/aarch64/db_machdep.c
1220
db_trap(type, 0/*code*/);
sys/arch/aarch64/aarch64/db_machdep.c
1259
type = -1;
sys/arch/aarch64/aarch64/efi_machdep.c
55
enum cpu_efirt_mem_type type)
sys/arch/aarch64/aarch64/efi_machdep.c
60
switch (type) {
sys/arch/aarch64/aarch64/efi_machdep.c
73
panic("%s: unsupported type %d", __func__, type);
sys/arch/aarch64/include/db_machdep.h
104
#define IS_BREAKPOINT_TRAP(type, code) \
sys/arch/aarch64/include/db_machdep.h
105
((type) == DB_TRAP_BKPT_INSN)
sys/arch/aarch64/include/db_machdep.h
106
#define IS_WATCHPOINT_TRAP(type, code) \
sys/arch/aarch64/include/db_machdep.h
107
((type) == DB_TRAP_BREAKPOINT || (type) == DB_TRAP_WATCHPOINT)
sys/arch/acorn32/include/podulebus_machdep.h
144
#define set_easi_cycle_type(podule, type) \
sys/arch/acorn32/include/podulebus_machdep.h
145
IOMD_WRITE_BYTE(IOMD_ECTCR, (IOMD_READ_BYTE(IOMD_ECTCR) & ~(1 << podule)) | (1 << type))
sys/arch/acorn32/mainbus/fd.c
1005
type = fd->sc_type;
sys/arch/acorn32/mainbus/fd.c
1009
sec = fd->sc_blkno % type->seccyl;
sys/arch/acorn32/mainbus/fd.c
1010
nblks = type->seccyl - sec;
sys/arch/acorn32/mainbus/fd.c
1015
head = sec / type->sectrac;
sys/arch/acorn32/mainbus/fd.c
1016
sec -= head * type->sectrac;
sys/arch/acorn32/mainbus/fd.c
1019
block = (fd->sc_cylin * type->heads + head) * type->sectrac + sec;
sys/arch/acorn32/mainbus/fd.c
1055
bus_space_write_2(iot, ioh, fdctl, type->rate);
sys/arch/acorn32/mainbus/fd.c
1082
out_fdc(iot, ioh, type->secsize);/* sector size */
sys/arch/acorn32/mainbus/fd.c
1083
out_fdc(iot, ioh, type->sectrac);/* sectors/track */
sys/arch/acorn32/mainbus/fd.c
1084
out_fdc(iot, ioh, type->gap1); /* gap1 size */
sys/arch/acorn32/mainbus/fd.c
1085
out_fdc(iot, ioh, type->datalen);/* data length */
sys/arch/acorn32/mainbus/fd.c
1449
struct fd_type *type = fd->sc_type;
sys/arch/acorn32/mainbus/fd.c
1465
bp->b_blkno = (finfo->cyl * (type->sectrac * type->heads)
sys/arch/acorn32/mainbus/fd.c
1466
+ finfo->head * type->sectrac) * FDC_BSIZE / DEV_BSIZE;
sys/arch/acorn32/mainbus/fd.c
1509
int type;
sys/arch/acorn32/mainbus/fd.c
1518
type = FDTYPE(dev) - 1;
sys/arch/acorn32/mainbus/fd.c
1519
if (type < 0) type = 0;
sys/arch/acorn32/mainbus/fd.c
1520
floppysize = fd_types[type].size << (fd_types[type].secsize + 7);
sys/arch/acorn32/mainbus/fd.c
1533
bp = geteblk(fd_types[type].sectrac * DEV_BSIZE);
sys/arch/acorn32/mainbus/fd.c
1548
loop < (floppysize / DEV_BSIZE / fd_types[type].sectrac);
sys/arch/acorn32/mainbus/fd.c
1551
loop * fd_types[type].sectrac * DEV_BSIZE / 1024);
sys/arch/acorn32/mainbus/fd.c
1552
bp->b_blkno = loop * fd_types[type].sectrac;
sys/arch/acorn32/mainbus/fd.c
1553
bp->b_bcount = fd_types[type].sectrac * DEV_BSIZE;
sys/arch/acorn32/mainbus/fd.c
1562
memcpy((char *)md->md_addr + loop * fd_types[type].sectrac
sys/arch/acorn32/mainbus/fd.c
1564
fd_types[type].sectrac * DEV_BSIZE);
sys/arch/acorn32/mainbus/fd.c
1567
loop * fd_types[type].sectrac * DEV_BSIZE / 1024);
sys/arch/acorn32/mainbus/fd.c
389
int type;
sys/arch/acorn32/mainbus/fd.c
421
type = mc146818_read(NULL, NVRAM_DISKETTE); /* XXX softc */
sys/arch/acorn32/mainbus/fd.c
423
type = -1;
sys/arch/acorn32/mainbus/fd.c
425
type = 0x10; /* XXX - hardcoded for 1 floppy */
sys/arch/acorn32/mainbus/fd.c
429
if (type >= 0 && fa.fa_drive < 2)
sys/arch/acorn32/mainbus/fd.c
431
type, fa.fa_drive);
sys/arch/acorn32/mainbus/fd.c
499
struct fd_type *type = fa->fa_deftype;
sys/arch/acorn32/mainbus/fd.c
509
if (type)
sys/arch/acorn32/mainbus/fd.c
510
printf(": %s %d cyl, %d head, %d sec\n", type->name,
sys/arch/acorn32/mainbus/fd.c
511
type->cyls, type->heads, type->sectrac);
sys/arch/acorn32/mainbus/fd.c
518
fd->sc_deftype = type;
sys/arch/acorn32/mainbus/fd.c
538
int type;
sys/arch/acorn32/mainbus/fd.c
540
type = (drive == 0 ? nvraminfo : nvraminfo << 4) & 0xf0;
sys/arch/acorn32/mainbus/fd.c
541
switch (type) {
sys/arch/acorn32/mainbus/fd.c
552
fdc, drive, type);
sys/arch/acorn32/mainbus/fd.c
560
int type = FDTYPE(dev);
sys/arch/acorn32/mainbus/fd.c
562
if (type > (sizeof(fd_types) / sizeof(fd_types[0])))
sys/arch/acorn32/mainbus/fd.c
564
return type ? &fd_types[type - 1] : fd->sc_deftype;
sys/arch/acorn32/mainbus/fd.c
786
struct fd_type *type;
sys/arch/acorn32/mainbus/fd.c
791
type = fd_dev_to_type(fd, dev);
sys/arch/acorn32/mainbus/fd.c
792
if (type == NULL)
sys/arch/acorn32/mainbus/fd.c
796
memcmp(fd->sc_type, type, sizeof(*type)))
sys/arch/acorn32/mainbus/fd.c
799
fd->sc_type_copy = *type;
sys/arch/acorn32/mainbus/fd.c
922
struct fd_type *type;
sys/arch/acorn32/podulebus/if_ie.c
1022
#define READ_MEMBER(sc,type,member,ptr,dest) \
sys/arch/acorn32/podulebus/if_ie.c
1025
(xoffsetof(type, member)) );
sys/arch/acorn32/podulebus/if_ie.c
1027
#define WRITE_MEMBER(sc,type,member,ptr,dest) \
sys/arch/acorn32/podulebus/if_ie.c
1030
(xoffsetof(type, member)), dest );
sys/arch/acorn32/podulebus/if_ie.c
115
#define xoffsetof(type, member) (offsetof(type, member) << 1)
sys/arch/acorn32/stand/lib/riscoscalls.h
217
#define os_readsysinfo_monitor_info(mode, type, sync) \
sys/arch/acorn32/stand/lib/riscoscalls.h
218
os_readsysinfo(OSReadSysInfo_ReadMonitorInfo, (mode), (type), (sync), 0, 0)
sys/arch/algor/algor/algor_p5064_intr.c
704
algor_p5064_isa_intr_establish(void *v, int iirq, int type, int level,
sys/arch/algor/algor/algor_p5064_intr.c
710
if (iirq > 15 || type == IST_NONE)
sys/arch/algor/algor/algor_p5064_intr.c
736
algor_p5064_isa_intr_alloc(void *v, int mask, int type, int *iirq)
sys/arch/algor/pci/pcib.c
419
pcib_isa_intr_establish(void *v, int irq, int type, int level,
sys/arch/algor/pci/pcib.c
426
if (irq > 15 || irq == 2 || type == IST_NONE)
sys/arch/algor/pci/pcib.c
431
return (isa_intr_establish(sc->sc_parent_ic, irq, type,
sys/arch/algor/pci/pcib.c
437
sc->sc_intrtab[irq].intr_type = type;
sys/arch/algor/pci/pcib.c
442
if (type == sc->sc_intrtab[irq].intr_type)
sys/arch/algor/pci/pcib.c
462
sc->sc_intrtab[irq].intr_type = type;
sys/arch/algor/pci/pcib.c
508
pcib_isa_intr_alloc(void *v, int mask, int type, int *irq)
sys/arch/algor/pci/pcib.c
514
if (type == IST_NONE)
sys/arch/algor/pci/pcib.c
540
if (type != sc->sc_intrtab[i].intr_type)
sys/arch/alpha/alpha/db_disasm.c
443
float_name(const struct tbl *tbl, int op, const char *type)
sys/arch/alpha/alpha/db_disasm.c
453
snprintf(unk, sizeof(unk), "?%s 0x%x?", type, op);
sys/arch/alpha/alpha/dec_2100_a50.c
119
dec_2100_a50_mcheck(unsigned long mces, unsigned long type, unsigned long logout, struct trapframe *framep)
sys/arch/alpha/alpha/dec_2100_a50.c
132
machine_check(mces, framep, type, logout);
sys/arch/alpha/alpha/dec_2100_a50.c
140
type, hdr->mcheck_code);
sys/arch/alpha/alpha/dec_2100_a50.c
214
if (type == ALPHA_SYS_MCHECK) {
sys/arch/alpha/alpha/dec_2100_a50.c
397
machine_check(mces, framep, type, logout);
sys/arch/alpha/alpha/dec_axppci_33.c
88
#define A33_NSIOBARRIER(type) bus_space_barrier(iot, nsio,\
sys/arch/alpha/alpha/dec_axppci_33.c
89
NSIO_BASE, NSIO_SIZE, (type))
sys/arch/alpha/alpha/dec_kn20aa.c
108
dec_kn20aa_mcheck(unsigned long mces, unsigned long type, unsigned long logout, struct trapframe *framep)
sys/arch/alpha/alpha/dec_kn20aa.c
119
machine_check(mces, framep, type, logout);
sys/arch/alpha/alpha/dec_kn20aa.c
131
machine_check(mces, framep, type, logout);
sys/arch/alpha/alpha/dec_kn300.c
209
kn300_softerr(unsigned long mces, unsigned long type, unsigned long logout, struct trapframe *framep)
sys/arch/alpha/alpha/dec_kn300.c
223
(type == ALPHA_SYS_ERROR)? sys : proc,
sys/arch/alpha/alpha/dec_kn300.c
270
kn300_mcheck(unsigned long mces, unsigned long type, unsigned long logout, struct trapframe *framep)
sys/arch/alpha/alpha/dec_kn300.c
284
machine_check(mces, framep, type, logout);
sys/arch/alpha/alpha/dec_kn300.c
329
machine_check(mces, framep, type, logout);
sys/arch/alpha/alpha/dec_kn8ae.c
230
kn8ae_harderr(unsigned long mces, unsigned long type, unsigned long logout, struct trapframe *framep)
sys/arch/alpha/alpha/dec_kn8ae.c
309
kn8ae_softerr(unsigned long mces, unsigned long type, unsigned long logout, struct trapframe *framep)
sys/arch/alpha/alpha/dec_kn8ae.c
357
kn8ae_mcheck(unsigned long mces, unsigned long type, unsigned long logout, struct trapframe *framep)
sys/arch/alpha/alpha/dec_kn8ae.c
369
machine_check(mces, framep, type, logout);
sys/arch/alpha/alpha/dec_kn8ae.c
382
if (type == ALPHA_SYS_MCHECK) {
sys/arch/alpha/alpha/dec_kn8ae.c
413
if (type == ALPHA_SYS_MCHECK) {
sys/arch/alpha/alpha/dec_kn8ae.c
452
machine_check(mces, framep, type, logout);
sys/arch/alpha/alpha/interrupt.c
316
const char *type;
sys/arch/alpha/alpha/interrupt.c
323
type = "fatal machine check or error (unknown type)";
sys/arch/alpha/alpha/interrupt.c
331
type = "unexpected machine check";
sys/arch/alpha/alpha/interrupt.c
358
printf("%s:\n", type);
sys/arch/alpha/alpha/kgdb_machdep.c
143
kgdb_signal(int type)
sys/arch/alpha/alpha/kgdb_machdep.c
146
switch (type) {
sys/arch/alpha/alpha/pmap.c
3093
pmap_emulate_reference(struct lwp *l, vaddr_t v, int user, int type)
sys/arch/alpha/alpha/pmap.c
3106
l, v, user, type);
sys/arch/alpha/alpha/pmap.c
3134
if (!exec && type == ALPHA_MMCSR_FOE) {
sys/arch/alpha/alpha/pmap.c
3162
"pa 0x%lx not managed", l, v, user, type, pa);
sys/arch/alpha/alpha/pmap.c
3183
if (type == ALPHA_MMCSR_FOW) {
sys/arch/alpha/alpha/sys_machdep.c
153
if (args.type > ALPHA_BUS_TYPE_MAX)
sys/arch/alpha/alpha/sys_machdep.c
156
if (alpha_bus_window_count[args.type] == 0)
sys/arch/alpha/alpha/sys_machdep.c
159
args.count = alpha_bus_window_count[args.type];
sys/arch/alpha/alpha/sys_machdep.c
173
if (args.type > ALPHA_BUS_TYPE_MAX)
sys/arch/alpha/alpha/sys_machdep.c
176
if (alpha_bus_window_count[args.type] == 0)
sys/arch/alpha/alpha/sys_machdep.c
179
if (args.window >= alpha_bus_window_count[args.type])
sys/arch/alpha/alpha/sys_machdep.c
182
error = (*alpha_bus_get_window)(args.type, args.window,
sys/arch/alpha/alpha/trap.c
780
const char *type; /* opcode name */
sys/arch/alpha/alpha/trap.c
863
uprintf(selected_tab->type,opcode);
sys/arch/alpha/common/shared_intr.c
158
unsigned int num, int type, int level, int flags,
sys/arch/alpha/common/shared_intr.c
169
KASSERT(type != IST_NONE);
sys/arch/alpha/common/shared_intr.c
177
ih->ih_type = type;
sys/arch/alpha/common/shared_intr.c
229
int type = ih->ih_type;
sys/arch/alpha/common/shared_intr.c
238
if (type == intr[num].intr_sharetype)
sys/arch/alpha/common/shared_intr.c
241
if (type != IST_NONE) {
sys/arch/alpha/common/shared_intr.c
244
basename, num, intr_typename(type),
sys/arch/alpha/common/shared_intr.c
246
type = intr[num].intr_sharetype;
sys/arch/alpha/common/shared_intr.c
249
basename, num, intr_typename(type),
sys/arch/alpha/common/shared_intr.c
261
intr[num].intr_sharetype = type;
sys/arch/alpha/common/shared_intr.c
80
intr_typename(int type)
sys/arch/alpha/common/shared_intr.c
83
switch (type) {
sys/arch/alpha/common/shared_intr.c
95
panic("intr_typename: unknown type %d", type);
sys/arch/alpha/eisa/eisa_machdep.c
82
int type, int level, int (*func)(void *), void *arg)
sys/arch/alpha/eisa/eisa_machdep.c
84
return ec->ec_intr_establish(ec->ec_v, ih, type, level, func, arg);
sys/arch/alpha/include/bus_funcs.h
363
#define _DMA_COUNT_DECL(type, cnt) \
sys/arch/alpha/include/bus_funcs.h
364
static struct evcnt dma_stat_##type##_##cnt = \
sys/arch/alpha/include/bus_funcs.h
365
EVCNT_INITIALIZER(EVCNT_TYPE_MISC, NULL, #type, #cnt); \
sys/arch/alpha/include/bus_funcs.h
366
EVCNT_ATTACH_STATIC(dma_stat_##type##_##cnt)
sys/arch/alpha/include/bus_funcs.h
367
#define _DMA_COUNT(type, cnt) \
sys/arch/alpha/include/bus_funcs.h
368
atomic_inc_64(&dma_stat_##type##_##cnt .ev_count)
sys/arch/alpha/include/bus_funcs.h
80
#define __abs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
84
(*(t)->__abs_opname(type,sz))((t)->abs_cookie, h, o, a, c); \
sys/arch/alpha/include/bus_funcs.h
87
#define __abs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/alpha/include/bus_funcs.h
90
(*(t)->__abs_opname(type,sz))((t)->abs_cookie, h, o, v, c); \
sys/arch/alpha/include/db_machdep.h
62
#define IS_BREAKPOINT_TRAP(type, code) ((type) == ALPHA_KENTRY_IF && \
sys/arch/alpha/include/db_machdep.h
64
#define IS_WATCHPOINT_TRAP(type, code) 0
sys/arch/alpha/include/sysarch.h
61
u_int type;
sys/arch/alpha/include/sysarch.h
66
u_int type;
sys/arch/alpha/jensenio/jensenio_intr.c
254
jensenio_eisa_intr_establish(void *v, int irq, int type, int level,
sys/arch/alpha/jensenio/jensenio_intr.c
259
if (irq >= JENSEN_MAX_IRQ || type == IST_NONE)
sys/arch/alpha/jensenio/jensenio_intr.c
269
type, level, 0, fn, arg, "eisa");
sys/arch/alpha/jensenio/jensenio_intr.c
318
jensenio_eisa_intr_alloc(void *v, int mask, int type, int *rqp)
sys/arch/alpha/mcbus/mcbus.c
215
mcbus_node_type_str(uint8_t type)
sys/arch/alpha/mcbus/mcbus.c
217
switch (type) {
sys/arch/alpha/mcbus/mcbus.c
231
panic("REALLY UNKNOWN (%x) TYPE IN MCBUS_NODE_TYPE_STR", type);
sys/arch/alpha/pci/apecs.c
189
apecs_bus_get_window(int type, int window,
sys/arch/alpha/pci/apecs.c
195
switch (type) {
sys/arch/alpha/pci/cia.c
352
cia_bus_get_window(int type, int window,
sys/arch/alpha/pci/cia.c
358
switch (type) {
sys/arch/alpha/pci/irongate.c
191
irongate_bus_get_window(int type, int window,
sys/arch/alpha/pci/irongate.c
198
switch (type) {
sys/arch/alpha/pci/lca.c
252
lca_bus_get_window(int type, int window,
sys/arch/alpha/pci/lca.c
258
switch (type) {
sys/arch/alpha/pci/mcpcia.c
332
mcpcia_bus_get_window(int type, int window,
sys/arch/alpha/pci/mcpcia.c
338
switch (type) {
sys/arch/alpha/pci/pci_2100_a500.c
549
dec_2100_a500_eisa_intr_establish(void *v, int eirq, int type, int level,
sys/arch/alpha/pci/pci_2100_a500.c
557
if (eirq > 15 || type == IST_NONE)
sys/arch/alpha/pci/pci_2100_a500.c
572
if (dec_2100_a500_intr_deftype[irq] == IST_EDGE && type == IST_LEVEL) {
sys/arch/alpha/pci/pci_2100_a500.c
578
type, level, 0, fn, arg, "T2");
sys/arch/alpha/pci/pci_2100_a500.c
631
dec_2100_a500_eisa_intr_alloc(void *v, int mask, int type, int *eirqp)
sys/arch/alpha/pci/sio_pic.c
290
sio_setirqstat(int irq, int enabled, int type)
sys/arch/alpha/pci/sio_pic.c
297
enabled ? "enabled" : "disabled", isa_intr_typename(type));
sys/arch/alpha/pci/sio_pic.c
319
if (type == IST_LEVEL)
sys/arch/alpha/pci/sio_pic.c
455
sio_intr_establish(void *v, int irq, int type, int level, int flags,
sys/arch/alpha/pci/sio_pic.c
460
if (irq > ICU_LEN || type == IST_NONE)
sys/arch/alpha/pci/sio_pic.c
463
cookie = alpha_shared_intr_alloc_intrhand(sio_intr, irq, type, level,
sys/arch/alpha/pci/sio_pic.c
488
if (alpha_is_qemu && type == IST_EDGE) {
sys/arch/alpha/pci/sio_pic.c
647
sio_isa_intr_establish(void *v, int irq, int type, int level,
sys/arch/alpha/pci/sio_pic.c
650
return sio_intr_establish(v, irq, type, level, 0, fn, arg);
sys/arch/alpha/pci/sio_pic.c
682
sio_intr_alloc(void *v, int mask, int type, int *irq)
sys/arch/alpha/pci/sio_pic.c
687
if (type == IST_NONE)
sys/arch/alpha/pci/sio_pic.c
716
if (type != sio_intr[i].intr_sharetype)
sys/arch/alpha/pci/tsc.c
274
tsp_bus_get_window(int type, int window,
sys/arch/alpha/pci/tsc.c
281
switch (type) {
sys/arch/amd64/amd64/db_interface.c
191
kdbprinttrap(int type, int code)
sys/arch/amd64/amd64/db_interface.c
194
if (type >= trap_types || type < 0)
sys/arch/amd64/amd64/db_interface.c
195
db_printf("type %d", type);
sys/arch/amd64/amd64/db_interface.c
197
db_printf("%s", trap_type[type]);
sys/arch/amd64/amd64/db_interface.c
205
kdb_trap(int type, int code, db_regs_t *regs)
sys/arch/amd64/amd64/db_interface.c
212
switch (type) {
sys/arch/amd64/amd64/db_interface.c
224
kdbprinttrap(type, code);
sys/arch/amd64/amd64/db_interface.c
251
db_trap(type, code);
sys/arch/amd64/amd64/gdt.c
108
set_sys_gdt(int slot, void *base, size_t limit, int type, int dpl, int gran)
sys/arch/amd64/amd64/gdt.c
118
set_sys_segment(&d.sd, base, limit, type, dpl, gran);
sys/arch/amd64/amd64/machdep.c
1489
int ist, int type, int dpl, int sel)
sys/arch/amd64/amd64/machdep.c
1501
gd->gd_type = type;
sys/arch/amd64/amd64/machdep.c
1542
int type, int dpl, int gran, int def32, int is64)
sys/arch/amd64/amd64/machdep.c
1546
sd->sd_type = type;
sys/arch/amd64/amd64/machdep.c
1559
int type, int dpl, int gran)
sys/arch/amd64/amd64/machdep.c
1564
sd->sd_type = type;
sys/arch/amd64/amd64/machdep.c
1645
bootspace.segs[i].type = BTSEG_TEXT;
sys/arch/amd64/amd64/machdep.c
1651
bootspace.segs[i].type = BTSEG_RODATA;
sys/arch/amd64/amd64/machdep.c
1657
bootspace.segs[i].type = BTSEG_DATA;
sys/arch/amd64/amd64/machdep.c
2410
if (bootspace.segs[i].type == BTSEG_TEXT ||
sys/arch/amd64/amd64/machdep.c
2411
bootspace.segs[i].type == BTSEG_RODATA) {
sys/arch/amd64/amd64/netbsd32_machdep.c
780
m32.type = mp->type;
sys/arch/amd64/amd64/netbsd32_machdep.c
841
mp->type = m32.type;
sys/arch/amd64/amd64/trap.c
194
const int type = frame->tf_trapno;
sys/arch/amd64/amd64/trap.c
197
printf("fatal %s", trap_type[type]);
sys/arch/amd64/amd64/trap.c
199
printf("unknown trap %d", type);
sys/arch/amd64/amd64/trap.c
201
printf(" in %s mode\n", (type & T_USER) ? "user" : "supervisor");
sys/arch/amd64/amd64/trap.c
205
type, frame->tf_err, (u_long)frame->tf_rip, frame->tf_cs,
sys/arch/amd64/amd64/trap.c
215
const int type = T_NMI;
sys/arch/amd64/amd64/trap.c
220
if (kgdb_trap(type, frame))
sys/arch/amd64/amd64/trap.c
222
if (kdb_trap(type, 0, frame))
sys/arch/amd64/amd64/trap.c
232
const int type = T_DOUBLEFLT;
sys/arch/amd64/amd64/trap.c
237
if (kdb_trap(type, 0, frame))
sys/arch/amd64/amd64/trap.c
239
if (kgdb_trap(type, frame))
sys/arch/amd64/amd64/trap.c
266
int type, error;
sys/arch/amd64/amd64/trap.c
280
type = frame->tf_trapno;
sys/arch/amd64/amd64/trap.c
283
type |= T_USER;
sys/arch/amd64/amd64/trap.c
300
if ((type == T_PROTFLT || type == T_PAGEFLT) &&
sys/arch/amd64/amd64/trap.c
302
if ((*dtrace_trap_func)(frame, type)) {
sys/arch/amd64/amd64/trap.c
308
switch (type) {
sys/arch/amd64/amd64/trap.c
314
if (kdb_trap(type, 0, frame))
sys/arch/amd64/amd64/trap.c
316
if (kgdb_trap(type, frame))
sys/arch/amd64/amd64/trap.c
321
if (type == T_BPTFLT && kgdb_disconnected()) {
sys/arch/amd64/amd64/trap.c
322
printf("kgdb: ignored %s\n", trap_type[type]);
sys/arch/amd64/amd64/trap.c
362
ksi.ksi_trap = type & ~T_USER;
sys/arch/amd64/amd64/trap.c
364
switch (type) {
sys/arch/amd64/amd64/trap.c
392
ksi.ksi_trap = type & ~T_USER;
sys/arch/amd64/amd64/trap.c
394
switch (type) {
sys/arch/amd64/amd64/trap.c
421
ksi.ksi_trap = type & ~T_USER;
sys/arch/amd64/amd64/trap.c
423
switch (type) {
sys/arch/amd64/amd64/trap.c
499
if (type == T_PAGEFLT && va >= VM_MIN_KERNEL_ADDRESS)
sys/arch/amd64/amd64/trap.c
530
while (type == T_PAGEFLT) {
sys/arch/amd64/amd64/trap.c
575
if (type == T_PAGEFLT) {
sys/arch/amd64/amd64/trap.c
588
ksi.ksi_trap = type & ~T_USER;
sys/arch/amd64/amd64/trap.c
642
ksi.ksi_trap = type & ~T_USER;
sys/arch/amd64/amd64/trap.c
646
} else if (type == (T_BPTFLT|T_USER))
sys/arch/amd64/amd64/trap.c
655
if ((type & T_USER) == 0)
sys/arch/amd64/include/asan.h
222
if (bootspace.segs[i].type == BTSEG_NONE) {
sys/arch/amd64/include/asm.h
73
.text; _ALIGN_TEXT; .globl x; .type x,@function; x:
sys/arch/amd64/include/asm.h
81
ALIGN_TEXT; .globl X ## name; .type X ## name,@function; X ## name:
sys/arch/amd64/include/asm.h
86
ALIGN_TEXT; .globl X/**/name; .type X/**/name,@function; X/**/name:
sys/arch/amd64/include/db_machdep.h
77
#define IS_BREAKPOINT_TRAP(type, code) ((type) == T_BPTFLT)
sys/arch/amd64/include/db_machdep.h
78
#define IS_WATCHPOINT_TRAP(type, code) ((type) == T_TRCTRAP && (code) & 15)
sys/arch/amd64/include/msan.h
177
if (bootspace.segs[i].type == BTSEG_NONE) {
sys/arch/amd64/include/msan.h
196
kmsan_md_orig_encode(int type, uintptr_t ptr)
sys/arch/amd64/include/msan.h
201
ret |= __SHIFTIN(type, __MD_ORIG_TYPE);
sys/arch/amd64/include/msan.h
207
kmsan_md_orig_decode(msan_orig_t orig, int *type, uintptr_t *ptr)
sys/arch/amd64/include/msan.h
209
*type = __SHIFTOUT(orig, __MD_ORIG_TYPE);
sys/arch/amd64/include/netbsd32_machdep.h
161
uint8_t type;
sys/arch/amd64/include/xen/hypercalls.h
104
(type)__res; \
sys/arch/amd64/include/xen/hypercalls.h
107
#define _hypercall5(type, name, a1, a2, a3, a4, a5) \
sys/arch/amd64/include/xen/hypercalls.h
119
(type)__res; \
sys/arch/amd64/include/xen/hypercalls.h
300
unsigned int cmd, unsigned int type)
sys/arch/amd64/include/xen/hypercalls.h
302
return _hypercall2(int, vm_assist, cmd, type);
sys/arch/amd64/include/xen/hypercalls.h
47
#define _hypercall0(type, name) \
sys/arch/amd64/include/xen/hypercalls.h
55
(type)__res; \
sys/arch/amd64/include/xen/hypercalls.h
58
#define _hypercall1(type, name, a1) \
sys/arch/amd64/include/xen/hypercalls.h
66
(type)__res; \
sys/arch/amd64/include/xen/hypercalls.h
69
#define _hypercall2(type, name, a1, a2) \
sys/arch/amd64/include/xen/hypercalls.h
77
(type)__res; \
sys/arch/amd64/include/xen/hypercalls.h
80
#define _hypercall3(type, name, a1, a2, a3) \
sys/arch/amd64/include/xen/hypercalls.h
90
(type)__res; \
sys/arch/amd64/include/xen/hypercalls.h
93
#define _hypercall4(type, name, a1, a2, a3, a4) \
sys/arch/amd64/stand/prekern/mm.c
141
if (bootspace.segs[i].type == BTSEG_TEXT) {
sys/arch/amd64/stand/prekern/mm.c
143
} else if (bootspace.segs[i].type == BTSEG_RODATA) {
sys/arch/amd64/stand/prekern/mm.c
221
if (bootspace.segs[i].type == BTSEG_NONE) {
sys/arch/amd64/stand/prekern/mm.c
257
if (bootspace.segs[i].type == BTSEG_NONE) {
sys/arch/amd64/stand/prekern/mm.c
269
bootspace_addseg(int type, vaddr_t va, paddr_t pa, size_t sz)
sys/arch/amd64/stand/prekern/mm.c
274
if (bootspace.segs[i].type == BTSEG_NONE) {
sys/arch/amd64/stand/prekern/mm.c
275
bootspace.segs[i].type = type;
sys/arch/amd64/stand/prekern/prekern.c
139
setgate(struct gate_descriptor *gd, void *func, int ist, int type, int dpl,
sys/arch/amd64/stand/prekern/prekern.c
145
gd->gd_type = type;
sys/arch/amd64/stand/prekern/prng.c
60
prng_lookup_bootinfo(int type)
sys/arch/amd64/stand/prekern/prng.c
70
if (bic->type == type)
sys/arch/amd64/stand/prekern/prng.c
98
if (bi->type != BI_MODULE_RND) {
sys/arch/amiga/amiga/amiga_init.c
328
int bd_type = cd->rom.type & (ERT_TYPEMASK | ERTF_MEMLIST);
sys/arch/amiga/amiga/amiga_init.c
358
((cd->rom.type - 1) & ERT_MEMMASK);
sys/arch/amiga/amiga/cc.c
517
mn->type = MNODE_USED;
sys/arch/amiga/amiga/cc.c
537
mn->type = MNODE_USED;
sys/arch/amiga/amiga/cc.c
561
if (next->type == MNODE_FREE) {
sys/arch/amiga/amiga/cc.c
566
mn->type = MNODE_FREE;
sys/arch/amiga/amiga/cc.c
572
if (prev->type == MNODE_FREE) {
sys/arch/amiga/amiga/cc.c
576
if (mn->type != MNODE_FREE)
sys/arch/amiga/amiga/cc.c
581
mn->type = MNODE_USED;
sys/arch/amiga/amiga/cc.c
586
} else if (mn->type != MNODE_FREE) {
sys/arch/amiga/amiga/cc.c
592
if (next->type == MNODE_FREE) {
sys/arch/amiga/amiga/cc.c
594
mn->type = MNODE_FREE;
sys/arch/amiga/amiga/cc.c
597
if (prev->type == MNODE_FREE) {
sys/arch/amiga/amiga/cc.c
600
mn->type = MNODE_FREE;
sys/arch/amiga/amiga/cc.c
606
if (mn->type != MNODE_FREE) {
sys/arch/amiga/amiga/cc.c
616
mn->type = MNODE_FREE;
sys/arch/amiga/amiga/cc.h
163
u_char type; /* free, used */
sys/arch/amiga/amiga/cfdev.h
36
u_char type;
sys/arch/amiga/dev/amidisplaycc.c
1741
if (cm.type == CM_COLOR) {
sys/arch/amiga/dev/amidisplaycc.c
1754
} else if (cm.type == CM_GREYSCALE) {
sys/arch/amiga/dev/amidisplaycc.c
1825
if (cm.type == CM_COLOR) {
sys/arch/amiga/dev/amidisplaycc.c
1840
} else if (cm.type == CM_GREYSCALE) {
sys/arch/amiga/dev/aucc.c
610
switch (cp->type) {
sys/arch/amiga/dev/aucc.c
671
switch (cp->type) {
sys/arch/amiga/dev/aucc.c
720
dip->type = AUDIO_MIXER_SET;
sys/arch/amiga/dev/aucc.c
735
dip->type = AUDIO_MIXER_VALUE;
sys/arch/amiga/dev/aucc.c
744
dip->type = AUDIO_MIXER_CLASS;
sys/arch/amiga/dev/fd.c
1357
ndmaw = sc->type->nwritew;
sys/arch/amiga/dev/fd.c
1361
ndmaw = sc->type->nreadw;
sys/arch/amiga/dev/fd.c
1384
if (dmatrk >= sc->type->precomp[0])
sys/arch/amiga/dev/fd.c
1386
if (dmatrk >= sc->type->precomp[1])
sys/arch/amiga/dev/fd.c
152
struct fdtype *type;
sys/arch/amiga/dev/fd.c
1725
for (i = 0; i < sc->type->gap; i++)
sys/arch/amiga/dev/fd.c
1795
erp = (u_long *)((u_short *)rp + sc->type->nreadw);
sys/arch/amiga/dev/fd.c
1866
erp = rp + sc->type->nwritew;
sys/arch/amiga/dev/fd.c
187
struct fdtype *type;
sys/arch/amiga/dev/fd.c
1872
for (i = 0; i < sc->type->gap; i++) {
sys/arch/amiga/dev/fd.c
1953
erp = rp + sc->type->nreadw;
sys/arch/amiga/dev/fd.c
370
args.type = fdcgetfdtype(args.unit);
sys/arch/amiga/dev/fd.c
375
if ((args.type = fdcgetfdtype(args.unit)) == NULL)
sys/arch/amiga/dev/fd.c
389
fcp->type->driveid);
sys/arch/amiga/dev/fd.c
424
sc->type = ap->type;
sys/arch/amiga/dev/fd.c
431
sc->hwunit, sc->type->desc, sc->type->ncylinders, FDNHEADS,
sys/arch/amiga/dev/fd.c
432
sc->type->amiga_nsectors, sc->type->msdos_nsectors);
sys/arch/amiga/dev/fd.c
444
fdsetpos(sc, sc->type->ncylinders, 0);
sys/arch/amiga/dev/fd.c
724
sc->type = fdcgetfdtype(sc->hwunit);
sys/arch/amiga/dev/fd.c
725
if (sc->type == NULL)
sys/arch/amiga/dev/fd.c
728
sc->nsectors = sc->type->msdos_nsectors;
sys/arch/amiga/dev/fd.c
730
sc->nsectors = sc->type->amiga_nsectors;
sys/arch/amiga/dev/fd.c
742
lp->d_ncylinders = sc->type->ncylinders;
sys/arch/amiga/dev/fd.c
788
lp->d_ncylinders = sc->type->ncylinders;
sys/arch/amiga/dev/gayle_pcmcia.c
433
pcf_socket_settype(pcmcia_chipset_handle_t pch, int type) {
sys/arch/amiga/dev/grf_rh.c
1702
rh_setvmode(struct grf_softc *gp, unsigned mode, enum mode_type type)
sys/arch/amiga/dev/grf_rh.c
1709
if ((type == MT_TXTONLY && monitor_defs[mode-1].DEP != 4)
sys/arch/amiga/dev/grf_rh.c
1710
|| (type == MT_GFXONLY && monitor_defs[mode-1].DEP == 4))
sys/arch/amiga/dev/grf_rh.c
69
int rh_setvmode(struct grf_softc *gp, unsigned int mode, enum mode_type type);
sys/arch/amiga/dev/grfabs.c
63
#define ABS(type, val) \
sys/arch/amiga/dev/grfabs.c
64
(type) (((int)(val) < 0) ? -(val) : (val))
sys/arch/amiga/dev/grfabs_cc.c
464
cm->type = CM_COLOR;
sys/arch/amiga/dev/grfabs_cc.c
487
cm->type = CM_COLOR;
sys/arch/amiga/dev/grfabs_cc.c
513
cm->type != vcm->type) {
sys/arch/amiga/dev/grfabs_cc.c
516
switch (vcm->type) {
sys/arch/amiga/dev/grfabs_cc.c
550
cm->type = vcm->type;
sys/arch/amiga/dev/grfabs_cc.c
552
switch (vcm->type) {
sys/arch/amiga/dev/grfabs_cc.c
678
cm->type = CM_GREYSCALE;
sys/arch/amiga/dev/grfabs_reg.h
149
u_char type; /* what type of entries these are. */
sys/arch/amiga/dev/kbd.c
808
kbd_getc(void *c, u_int *type, int *data)
sys/arch/amiga/dev/kbd.c
815
*type = KEY_UP(key) ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/arch/amiga/dev/toccata.c
628
dip->type = AUDIO_MIXER_VALUE;
sys/arch/amiga/dev/toccata.c
638
dip->type = AUDIO_MIXER_VALUE;
sys/arch/amiga/dev/toccata.c
649
dip->type = AUDIO_MIXER_VALUE;
sys/arch/amiga/dev/toccata.c
660
dip->type = AUDIO_MIXER_ENUM;
sys/arch/amiga/dev/toccata.c
668
dip->type = AUDIO_MIXER_VALUE;
sys/arch/amiga/dev/toccata.c
679
dip->type = AUDIO_MIXER_ENUM;
sys/arch/amiga/dev/toccata.c
686
dip->type = AUDIO_MIXER_VALUE;
sys/arch/amiga/dev/toccata.c
696
dip->type = AUDIO_MIXER_VALUE;
sys/arch/amiga/dev/toccata.c
705
dip->type = AUDIO_MIXER_VALUE;
sys/arch/amiga/dev/toccata.c
716
dip->type = AUDIO_MIXER_ENUM;
sys/arch/amiga/dev/toccata.c
723
dip->type = AUDIO_MIXER_ENUM;
sys/arch/amiga/dev/toccata.c
736
dip->type = AUDIO_MIXER_VALUE;
sys/arch/amiga/dev/toccata.c
747
dip->type = AUDIO_MIXER_ENUM;
sys/arch/amiga/dev/toccata.c
763
dip->type = AUDIO_MIXER_CLASS;
sys/arch/amiga/dev/toccata.c
770
dip->type = AUDIO_MIXER_CLASS;
sys/arch/amiga/dev/toccata.c
777
dip->type = AUDIO_MIXER_CLASS;
sys/arch/amiga/dev/toccata.c
784
dip->type = AUDIO_MIXER_CLASS;
sys/arch/amiga/dev/zbus.c
349
switch (cdp->rom.type & (ERT_TYPEMASK | ERTF_MEMLIST)) {
sys/arch/amiga/dev/zz9k_ax.c
435
di->type = AUDIO_MIXER_SET;
sys/arch/amiga/dev/zz9k_ax.c
444
di->type = AUDIO_MIXER_VALUE;
sys/arch/amiga/dev/zz9k_ax.c
453
di->type = AUDIO_MIXER_CLASS;
sys/arch/amiga/stand/binpatch/binpatch.c
111
int type, off;
sys/arch/amiga/stand/binpatch/binpatch.c
233
type = nl[0].n_type & N_TYPE;
sys/arch/amiga/stand/binpatch/binpatch.c
235
type = N_UNDF;
sys/arch/amiga/stand/binpatch/binpatch.c
238
type = N_TEXT;
sys/arch/amiga/stand/binpatch/binpatch.c
241
type = N_DATA;
sys/arch/amiga/stand/binpatch/binpatch.c
259
if (type != N_TEXT && type != N_DATA) {
sys/arch/amiga/stand/binpatch/binpatch.c
264
if (type == N_TEXT) {
sys/arch/amigappc/amigappc/pic_amiga.c
91
amiga_enable_irq(struct pic_ops *pic, int ipl, int type)
sys/arch/arc/arc/arcbios.c
240
if (cf->type == arc_System)
sys/arch/arc/arc/arcbios.c
244
if (cf->type == arc_SecondaryDcache)
sys/arch/arc/arc/arcbios.c
248
if (cf->type == arc_DisplayController &&
sys/arch/arc/arc/arcbios.h
105
arc_config_type_t type; /* need to be uchar to make */
sys/arch/arc/arc/machdep.c
497
lookup_bootinfo(int type)
sys/arch/arc/arc/machdep.c
509
if (bt->type == type)
sys/arch/arc/dev/pccons.c
1641
switch (scan_codes[dt & 0x7f].type) {
sys/arch/arc/dev/pccons.c
1706
switch (scan_codes[dt].type) {
sys/arch/arc/dev/pccons.c
1733
switch (scan_codes[dt].type) {
sys/arch/arc/dti/btl.c
405
sc->sc_link.type = BUS_SCSI;
sys/arch/arc/include/bootinfo.h
37
int type; /* type of bootinfo item */
sys/arch/arc/include/pccons.h
31
u_short type;
sys/arch/arc/isa/isabus.c
343
isabr_intr_establish(isa_chipset_tag_t ic, int irq, int type, int level,
sys/arch/arc/isa/isabus.c
351
if (!LEGAL_IRQ(irq) || type == IST_NONE)
sys/arch/arc/isa/isabus.c
356
intrtype[irq] = type;
sys/arch/arc/isa/isabus.c
360
if (type == intrtype[irq])
sys/arch/arc/isa/isabus.c
363
if (type != IST_NONE)
sys/arch/arc/isa/isabus.c
366
isa_intr_typename(type));
sys/arch/arc/isa/isabus.c
568
isa_intr_alloc(isa_chipset_tag_t c, int mask, int type, int *irq_p)
sys/arch/arc/isa/isabus.c
582
if (type == IST_LEVEL && intrtype[irq] == IST_LEVEL) {
sys/arch/arc/jazz/fd.c
267
int type;
sys/arch/arc/jazz/fd.c
279
type = 0;
sys/arch/arc/jazz/fd.c
283
fa.fa_deftype = &fd_types[type];
sys/arch/arc/jazz/fd.c
339
const struct fd_type *type = fa->fa_deftype;
sys/arch/arc/jazz/fd.c
349
if (type)
sys/arch/arc/jazz/fd.c
350
printf(": %s, %d cyl, %d head, %d sec\n", type->name,
sys/arch/arc/jazz/fd.c
351
type->cyls, type->heads, type->sectrac);
sys/arch/arc/jazz/fd.c
358
fd->sc_deftype = type;
sys/arch/arc/jazz/fd.c
394
int type;
sys/arch/arc/jazz/fd.c
396
type = (drive == 0 ? nvraminfo : nvraminfo << 4) & 0xf0;
sys/arch/arc/jazz/fd.c
398
switch (type) {
sys/arch/arc/jazz/fd.c
414
fdc, drive, type);
sys/arch/arc/jazz/fd.c
426
int type = FDTYPE(dev);
sys/arch/arc/jazz/fd.c
428
if (type > __arraycount(fd_types))
sys/arch/arc/jazz/fd.c
430
return type ? &fd_types[type - 1] : fd->sc_deftype;
sys/arch/arc/jazz/fd.c
653
const struct fd_type *type;
sys/arch/arc/jazz/fd.c
659
type = fd_dev_to_type(fd, dev);
sys/arch/arc/jazz/fd.c
660
if (type == NULL)
sys/arch/arc/jazz/fd.c
664
memcmp(fd->sc_type, type, sizeof(*type)))
sys/arch/arc/jazz/fd.c
667
fd->sc_type_copy = *type;
sys/arch/arc/jazz/fd.c
789
struct fd_type *type;
sys/arch/arc/jazz/fd.c
862
type = fd->sc_type;
sys/arch/arc/jazz/fd.c
863
sec = fd->sc_blkno % type->seccyl;
sys/arch/arc/jazz/fd.c
864
nblks = type->seccyl - sec;
sys/arch/arc/jazz/fd.c
869
head = sec / type->sectrac;
sys/arch/arc/jazz/fd.c
870
sec -= head * type->sectrac;
sys/arch/arc/jazz/fd.c
874
block = (fd->sc_cylin * type->heads + head) *
sys/arch/arc/jazz/fd.c
875
type->sectrac + sec;
sys/arch/arc/jazz/fd.c
888
bus_space_write_1(iot, ioh, FDCTL, type->rate);
sys/arch/arc/jazz/fd.c
902
out_fdc(iot, ioh, type->secsize); /* sector size */
sys/arch/arc/jazz/fd.c
903
out_fdc(iot, ioh, type->sectrac); /* sectors/track */
sys/arch/arc/jazz/fd.c
904
out_fdc(iot, ioh, type->gap1); /* gap1 size */
sys/arch/arc/jazz/fd.c
905
out_fdc(iot, ioh, type->datalen); /* data length */
sys/arch/arc/stand/boot/bootinfo.c
50
bootinfo->type = BTINFO_NONE;
sys/arch/arc/stand/boot/bootinfo.c
60
bi_add(void *new, int type, size_t size)
sys/arch/arc/stand/boot/bootinfo.c
73
bi->type = type;
sys/arch/arc/stand/boot/bootinfo.c
79
bi->type = BTINFO_NONE;
sys/arch/arm/acpi/acpi_machdep.c
105
const uint32_t type = be32dec(&map[0]);
sys/arch/arm/acpi/acpi_machdep.c
111
switch (type) {
sys/arch/arm/acpi/acpi_machdep.c
310
acpi_md_intr_establish(uint32_t irq, int ipl, int type, int (*handler)(void *), void *arg, bool mpsafe, const char *xname)
sys/arch/arm/acpi/acpi_machdep.c
321
ai->ai_type = type;
sys/arch/arm/acpi/acpi_machdep.c
327
type | (mpsafe ? IST_MPSAFE : 0), handler, NULL,
sys/arch/arm/acpi/acpi_machdep.c
331
type | (mpsafe ? IST_MPSAFE : 0), acpi_md_intr, ai,
sys/arch/arm/acpi/acpi_machdep.c
348
if (ai->ai_type != type) {
sys/arch/arm/acpi/cpu_acpi.c
374
const int type = (gicc->Flags & ACPI_MADT_PERFORMANCE_IRQ_MODE) ?
sys/arch/arm/acpi/cpu_acpi.c
394
type | IST_MPSAFE, armv8_pmu_intr, NULL, xname);
sys/arch/arm/acpi/gtmr_acpi.c
76
const int type = (gtdt->VirtualTimerFlags & ACPI_GTDT_INTERRUPT_MODE) ?
sys/arch/arm/acpi/gtmr_acpi.c
82
ih = intr_establish_xname(irq, ipl, type | IST_MPSAFE, gtmr_intr, NULL, device_xname(self));
sys/arch/arm/altera/cycv_clkmgr.c
245
clk->type = dce->value;
sys/arch/arm/altera/cycv_clkmgr.c
247
if (clk->type == CYCV_CLK_TYPE_FIXED) {
sys/arch/arm/altera/cycv_clkmgr.c
252
} else if (clk->type == CYCV_CLK_TYPE_PLL) {
sys/arch/arm/altera/cycv_clkmgr.c
256
} else if (clk->type == CYCV_CLK_TYPE_PERIP) {
sys/arch/arm/altera/cycv_clkmgr.c
259
clk->type = CYCV_CLK_TYPE_FIXED_DIV;
sys/arch/arm/altera/cycv_clkmgr.c
262
clk->type = CYCV_CLK_TYPE_DIV;
sys/arch/arm/altera/cycv_clkmgr.c
270
clk->type = CYCV_CLK_TYPE_DIV;
sys/arch/arm/altera/cycv_clkmgr.c
277
clk->type = CYCV_CLK_TYPE_FIXED_DIV;
sys/arch/arm/altera/cycv_clkmgr.c
382
switch (clk->type) {
sys/arch/arm/altera/cycv_clkmgr.c
462
if (clk->type == CYCV_CLK_TYPE_FIXED)
sys/arch/arm/altera/cycv_clkmgr.c
481
switch (clk->type) {
sys/arch/arm/altera/cycv_clkmgr.c
504
aprint_debug_dev(sc->sc_dev, "unknown clock type %d\n", clk->type);
sys/arch/arm/altera/cycv_clkmgr.c
66
int type;
sys/arch/arm/amlogic/meson8b_clkc.c
105
KASSERT(clk->type == MESON_CLK_PLL);
sys/arch/arm/amlogic/meson8b_pinctrl.c
167
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/meson8b_pinctrl.c
172
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/meson8b_pinctrl.c
177
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/meson8b_pinctrl.c
182
.type = MESON_PINCTRL_REGTYPE_PULL_ENABLE, \
sys/arch/arm/amlogic/meson8b_pinctrl.c
187
.type = MESON_PINCTRL_REGTYPE_PULL, \
sys/arch/arm/amlogic/meson8b_pinctrl.c
283
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/meson8b_pinctrl.c
288
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/meson8b_pinctrl.c
293
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/meson8b_pinctrl.c
298
.type = MESON_PINCTRL_REGTYPE_PULL, \
sys/arch/arm/amlogic/meson8b_pinctrl.c
303
.type = MESON_PINCTRL_REGTYPE_PULL, \
sys/arch/arm/amlogic/meson_clk.c
120
if (clk->type == MESON_CLK_UNKNOWN)
sys/arch/arm/amlogic/meson_clk.c
333
const char *type;
sys/arch/arm/amlogic/meson_clk.c
338
if (clk->type == MESON_CLK_UNKNOWN)
sys/arch/arm/amlogic/meson_clk.c
343
switch (clk->type) {
sys/arch/arm/amlogic/meson_clk.c
344
case MESON_CLK_FIXED: type = "fixed"; break;
sys/arch/arm/amlogic/meson_clk.c
345
case MESON_CLK_GATE: type = "gate"; break;
sys/arch/arm/amlogic/meson_clk.c
346
case MESON_CLK_MPLL: type = "mpll"; break;
sys/arch/arm/amlogic/meson_clk.c
347
case MESON_CLK_PLL: type = "pll"; break;
sys/arch/arm/amlogic/meson_clk.c
348
case MESON_CLK_DIV: type = "div"; break;
sys/arch/arm/amlogic/meson_clk.c
349
case MESON_CLK_FIXED_FACTOR: type = "fixed-factor"; break;
sys/arch/arm/amlogic/meson_clk.c
350
case MESON_CLK_MUX: type = "mux"; break;
sys/arch/arm/amlogic/meson_clk.c
351
default: type = "???"; break;
sys/arch/arm/amlogic/meson_clk.c
360
type);
sys/arch/arm/amlogic/meson_clk.h
107
.type = MESON_CLK_GATE, \
sys/arch/arm/amlogic/meson_clk.h
144
.type = MESON_CLK_DIV, \
sys/arch/arm/amlogic/meson_clk.h
174
.type = MESON_CLK_FIXED_FACTOR, \
sys/arch/arm/amlogic/meson_clk.h
202
.type = MESON_CLK_MUX, \
sys/arch/arm/amlogic/meson_clk.h
217
.type = MESON_CLK_MUX, \
sys/arch/arm/amlogic/meson_clk.h
265
.type = MESON_CLK_PLL, \
sys/arch/arm/amlogic/meson_clk.h
283
.type = MESON_CLK_PLL, \
sys/arch/arm/amlogic/meson_clk.h
318
.type = MESON_CLK_MPLL, \
sys/arch/arm/amlogic/meson_clk.h
334
enum meson_clk_clktype type;
sys/arch/arm/amlogic/meson_clk.h
81
.type = MESON_CLK_FIXED, \
sys/arch/arm/amlogic/meson_clk_div.c
145
KASSERT(clk->type == MESON_CLK_DIV);
sys/arch/arm/amlogic/meson_clk_div.c
48
KASSERT(clk->type == MESON_CLK_DIV);
sys/arch/arm/amlogic/meson_clk_div.c
89
KASSERT(clk->type == MESON_CLK_DIV);
sys/arch/arm/amlogic/meson_clk_fixed.c
44
KASSERT(clk->type == MESON_CLK_FIXED);
sys/arch/arm/amlogic/meson_clk_fixed_factor.c
100
KASSERT(clk->type == MESON_CLK_FIXED_FACTOR);
sys/arch/arm/amlogic/meson_clk_fixed_factor.c
58
KASSERT(clk->type == MESON_CLK_FIXED_FACTOR);
sys/arch/arm/amlogic/meson_clk_fixed_factor.c
86
KASSERT(clk->type == MESON_CLK_FIXED_FACTOR);
sys/arch/arm/amlogic/meson_clk_gate.c
47
KASSERT(clk->type == MESON_CLK_GATE);
sys/arch/arm/amlogic/meson_clk_gate.c
70
KASSERT(clk->type == MESON_CLK_GATE);
sys/arch/arm/amlogic/meson_clk_mpll.c
50
KASSERT(clk->type == MESON_CLK_MPLL);
sys/arch/arm/amlogic/meson_clk_mpll.c
84
KASSERT(clk->type == MESON_CLK_MPLL);
sys/arch/arm/amlogic/meson_clk_mux.c
46
KASSERT(clk->type == MESON_CLK_MUX);
sys/arch/arm/amlogic/meson_clk_pll.c
108
KASSERT(clk->type == MESON_CLK_PLL);
sys/arch/arm/amlogic/meson_clk_pll.c
179
KASSERT(clk->type == MESON_CLK_PLL);
sys/arch/arm/amlogic/meson_clk_pll.c
49
KASSERT(clk->type == MESON_CLK_PLL);
sys/arch/arm/amlogic/meson_i2c.c
486
enum mesoni2c_type type = of_compatible_lookup(phandle, compat_data)->value;
sys/arch/arm/amlogic/meson_i2c.c
488
switch (type) {
sys/arch/arm/amlogic/meson_pinctrl.c
219
switch (gpioreg->type) {
sys/arch/arm/amlogic/meson_pinctrl.c
227
panic("unsupported GPIO regtype %d", gpioreg->type);
sys/arch/arm/amlogic/meson_pinctrl.h
45
enum meson_pinctrl_regtype type;
sys/arch/arm/amlogic/mesong12_clkc.c
1261
KASSERT(clk->type == MESON_CLK_MUX);
sys/arch/arm/amlogic/mesong12_clkc.c
1321
KASSERT(clk->type == MESON_CLK_MUX);
sys/arch/arm/amlogic/mesong12_clkc.c
1415
KASSERT(clk->type == MESON_CLK_PLL);
sys/arch/arm/amlogic/mesong12a_pinctrl.c
160
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesong12a_pinctrl.c
165
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesong12a_pinctrl.c
170
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesong12a_pinctrl.c
175
.type = MESON_PINCTRL_REGTYPE_PULL_ENABLE, \
sys/arch/arm/amlogic/mesong12a_pinctrl.c
180
.type = MESON_PINCTRL_REGTYPE_PULL, \
sys/arch/arm/amlogic/mesong12a_pinctrl.c
290
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesong12a_pinctrl.c
295
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesong12a_pinctrl.c
300
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesong12a_pinctrl.c
305
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesong12a_pinctrl.c
310
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesongxbb_pinctrl.c
206
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesongxbb_pinctrl.c
211
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesongxbb_pinctrl.c
216
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesongxbb_pinctrl.c
221
.type = MESON_PINCTRL_REGTYPE_PULL_ENABLE, \
sys/arch/arm/amlogic/mesongxbb_pinctrl.c
226
.type = MESON_PINCTRL_REGTYPE_PULL, \
sys/arch/arm/amlogic/mesongxbb_pinctrl.c
367
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesongxbb_pinctrl.c
372
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesongxbb_pinctrl.c
377
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesongxbb_pinctrl.c
382
.type = MESON_PINCTRL_REGTYPE_PULL, \
sys/arch/arm/amlogic/mesongxbb_pinctrl.c
387
.type = MESON_PINCTRL_REGTYPE_PULL, \
sys/arch/arm/amlogic/mesongxl_pinctrl.c
182
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesongxl_pinctrl.c
187
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesongxl_pinctrl.c
192
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesongxl_pinctrl.c
197
.type = MESON_PINCTRL_REGTYPE_PULL_ENABLE, \
sys/arch/arm/amlogic/mesongxl_pinctrl.c
202
.type = MESON_PINCTRL_REGTYPE_PULL, \
sys/arch/arm/amlogic/mesongxl_pinctrl.c
287
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesongxl_pinctrl.c
292
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesongxl_pinctrl.c
297
.type = MESON_PINCTRL_REGTYPE_GPIO, \
sys/arch/arm/amlogic/mesongxl_pinctrl.c
302
.type = MESON_PINCTRL_REGTYPE_PULL, \
sys/arch/arm/amlogic/mesongxl_pinctrl.c
307
.type = MESON_PINCTRL_REGTYPE_PULL, \
sys/arch/arm/apple/apple_intc.c
233
const u_int type = be32toh(specifier[0]);
sys/arch/arm/apple/apple_intc.c
240
if (type == 0)
sys/arch/arm/apple/apple_intc.c
275
const u_int type = be32toh(specifier[0]);
sys/arch/arm/apple/apple_intc.c
279
snprintf(buf, buflen, "%s %u", type == 0 ? "irq" : "fiq", intno);
sys/arch/arm/apple/apple_rtkit.c
102
uint64_t type, uint64_t data)
sys/arch/arm/apple/apple_rtkit.c
106
msg.data0 = __SHIFTIN(type, RTKIT_MGMT_TYPE_MASK) | data;
sys/arch/arm/apple/apple_smc.c
90
uint8_t type[4];
sys/arch/arm/arm/bootconfig.c
101
switch (type & BOOTOPT_TYPE_MASK) {
sys/arch/arm/arm/bootconfig.c
62
get_bootconf_option(char *opts, const char *opt, int type, void *result)
sys/arch/arm/arm/bootconfig.c
81
if ((type & BOOTOPT_TYPE_MASK) == BOOTOPT_TYPE_BOOLEAN &&
sys/arch/arm/arm/bootconfig.c
93
(type & BOOTOPT_TYPE_MASK) == BOOTOPT_TYPE_BOOLEAN) {
sys/arch/arm/arm/efi_machdep.c
107
enum cpu_efirt_mem_type type)
sys/arch/arm/arm/efi_machdep.c
112
switch (type) {
sys/arch/arm/arm/efi_machdep.c
127
panic("%s: unsupported type %d", __func__, type);
sys/arch/arm/arm/efi_runtime.c
217
arm_efirt_reset(enum efi_reset type)
sys/arch/arm/arm/efi_runtime.c
229
if (RT->rt_reset(type, 0, 0, NULL) != 0) {
sys/arch/arm/arm32/db_interface.c
164
db_trap(type, 0/*code*/);
sys/arch/arm/arm32/db_interface.c
91
kdb_trap(int type, db_regs_t *regs)
sys/arch/arm/arm32/db_interface.c
97
switch (type) {
sys/arch/arm/arm32/kgdb_machdep.c
71
kgdb_signal(int type)
sys/arch/arm/arm32/kgdb_machdep.c
74
switch (type) {
sys/arch/arm/arm32/kobj_machdep.c
225
enum be8_magic_sym_type type;
sys/arch/arm/arm32/kobj_machdep.c
287
list->markers[ndx].type = t;
sys/arch/arm/arm32/kobj_machdep.c
321
switch (list->markers[i].type) {
sys/arch/arm/arm32/pmap.c
7498
uint32_t id, type;
sys/arch/arm/arm32/pmap.c
7501
type = id & ~(CPU_ID_XSCALE_COREREV_MASK|CPU_ID_REVISION_MASK);
sys/arch/arm/arm32/pmap.c
7503
if (type == CPU_ID_PXA250 || type == CPU_ID_PXA210) {
sys/arch/arm/at91/at91aic.c
279
at91aic_intr_establish(int irq, int ipl, int type, int (*ih_func)(void *), void *arg)
sys/arch/arm/at91/at91aic.c
293
switch (type) {
sys/arch/arm/at91/at91aic.c
307
panic("intr_establish: interrupt type %d is invalid", type);
sys/arch/arm/at91/at91aic.c
322
if (TAILQ_FIRST(&iq->iq_list) == NULL || (iq->iq_type & ~type) == 0) {
sys/arch/arm/at91/at91aic.c
324
iq->iq_type = type;
sys/arch/arm/at91/at91aicvar.h
57
void *at91aic_intr_establish(int irq, int ipl, int type, int (*ih_func)(void *), void *arg);
sys/arch/arm/at91/at91busvar.h
160
at91_intr_establish(int pid, int ipl, int type,
sys/arch/arm/at91/at91busvar.h
163
return (*at91bus_tag->intr_establish)(pid, ipl, type, ih_func, ih_arg);
sys/arch/arm/at91/at91busvar.h
95
void *(*intr_establish)(int pid, int ipl, int type, int (*ih_func)(void *), void *arg);
sys/arch/arm/at91/at91cf.c
529
at91cf_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/arch/arm/at91/at91cf.c
533
DPRINTFN(1, ("at91cf_socket_settype: type=%d",type));
sys/arch/arm/at91/at91cf.c
535
ph->ph_type = type;
sys/arch/arm/at91/at91cf.c
537
switch (type) {
sys/arch/arm/broadcom/bcm2835_dmac.c
196
bcm_dmac_alloc(enum bcm_dmac_type type, int ipl,
sys/arch/arm/broadcom/bcm2835_dmac.c
213
if (DMAC_CHANNEL_TYPE(&sc->sc_channels[index]) != type)
sys/arch/arm/broadcom/bcm2835_emmc.c
187
enum bcmemmc_type type =
sys/arch/arm/broadcom/bcm2835_emmc.c
190
if (type != BCM2835_SDHCI)
sys/arch/arm/broadcom/bcm2835_gpio.c
589
const u_int type = be32toh(specifier[1]) & 0xf;
sys/arch/arm/broadcom/bcm2835_gpio.c
591
switch (type) {
sys/arch/arm/broadcom/bcm2835_gpio.c
609
__func__, type);
sys/arch/arm/broadcom/bcm2835_gpio.c
632
int type = irqmode & GPIO_INTR_MODE_MASK;
sys/arch/arm/broadcom/bcm2835_gpio.c
642
switch (type) {
sys/arch/arm/broadcom/bcm2835_gpio.c
660
__func__, type);
sys/arch/arm/broadcom/bcm2835_gpio.c
699
const u_int type = be32toh(specifier[1]) & 0xf;
sys/arch/arm/broadcom/bcm2835_gpio.c
704
switch (type) {
sys/arch/arm/broadcom/bcm2835_gpio.c
722
__func__, type);
sys/arch/arm/broadcom/bcm2835_vcaudio.c
327
msg.type = htole32(VC_AUDIO_MSG_TYPE_OPEN);
sys/arch/arm/broadcom/bcm2835_vcaudio.c
336
msg.type = htole32(VC_AUDIO_MSG_TYPE_CONFIG);
sys/arch/arm/broadcom/bcm2835_vcaudio.c
347
msg.type = htole32(VC_AUDIO_MSG_TYPE_CONTROL);
sys/arch/arm/broadcom/bcm2835_vcaudio.c
382
switch (le32toh(msg.type)) {
sys/arch/arm/broadcom/bcm2835_vcaudio.c
457
msg.type = htole32(VC_AUDIO_MSG_TYPE_WRITE);
sys/arch/arm/broadcom/bcm2835_vcaudio.c
504
msg.type = htole32(VC_AUDIO_MSG_TYPE_START);
sys/arch/arm/broadcom/bcm2835_vcaudio.c
588
msg.type = htole32(VC_AUDIO_MSG_TYPE_STOP);
sys/arch/arm/broadcom/bcm2835_vcaudio.c
623
msg.type = htole32(VC_AUDIO_MSG_TYPE_CONTROL);
sys/arch/arm/broadcom/bcm2835_vcaudio.c
708
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/broadcom/bcm2835_vcaudio.c
714
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/broadcom/bcm2835_vcaudio.c
720
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/broadcom/bcm2835_vcaudio.c
728
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/broadcom/bcm2835_vcaudio.c
737
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/broadcom/bcm2835_vcaudio.c
746
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/broadcom/bcm2835_vcaudio.c
755
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/broadcom/bcm2835_vcaudio.c
763
di->type = AUDIO_MIXER_ENUM;
sys/arch/arm/broadcom/bcm2835_vcaudioreg.h
144
int32_t type; // Message type (VC_AUDIO_MSG_TYPE)
sys/arch/arm/broadcom/bcm2838_pcie.c
316
int len, type, error;
sys/arch/arm/broadcom/bcm2838_pcie.c
347
type = PCICONF_RESOURCE_IO;
sys/arch/arm/broadcom/bcm2838_pcie.c
353
error = pciconf_resource_add(pcires, type, bus_phys, size);
sys/arch/arm/broadcom/bcm2838_pcie.c
366
type = PCICONF_RESOURCE_PREFETCHABLE_MEM;
sys/arch/arm/broadcom/bcm2838_pcie.c
368
type = PCICONF_RESOURCE_MEM;
sys/arch/arm/broadcom/bcm2838_pcie.c
374
type == PCICONF_RESOURCE_PREFETCHABLE_MEM ? " prefetchable" : "",
sys/arch/arm/broadcom/bcm2838_pcie.c
377
error = pciconf_resource_add(pcires, type, bus_phys, size);
sys/arch/arm/ep93xx/eppcic.c
550
eppcic_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/arch/arm/ep93xx/eppcic.c
552
DPRINTFN(1, ("eppcic_socket_settype: type=%d",type));
sys/arch/arm/ep93xx/eppcic.c
554
switch (type) {
sys/arch/arm/fdt/gic_fdt.c
255
const u_int type = be32toh(specifier[0]);
sys/arch/arm/fdt/gic_fdt.c
257
const u_int irq = type == 0 ? IRQ_SPI(intr) : IRQ_PPI(intr);
sys/arch/arm/fdt/gic_fdt.c
372
const u_int type = be32toh(specifier[0]);
sys/arch/arm/fdt/gic_fdt.c
374
const u_int irq = type == 0 ? IRQ_SPI(intr) : IRQ_PPI(intr);
sys/arch/arm/fdt/gicv3_fdt.c
355
const u_int type = be32toh(specifier[0]);
sys/arch/arm/fdt/gicv3_fdt.c
357
const u_int irq = type == 0 ? IRQ_SPI(intr) : IRQ_PPI(intr);
sys/arch/arm/fdt/gicv3_fdt.c
473
const u_int type = be32toh(specifier[0]);
sys/arch/arm/fdt/gicv3_fdt.c
475
const u_int irq = type == 0 ? IRQ_SPI(intr) : IRQ_PPI(intr);
sys/arch/arm/fdt/pcihost_fdt.c
238
int error, len, type;
sys/arch/arm/fdt/pcihost_fdt.c
339
type = PCICONF_RESOURCE_PREFETCHABLE_MEM;
sys/arch/arm/fdt/pcihost_fdt.c
344
type = PCICONF_RESOURCE_MEM;
sys/arch/arm/fdt/pcihost_fdt.c
349
error = pciconf_resource_add(pcires, type, bus_phys,
sys/arch/arm/footbridge/isa/isa_machdep.c
251
isa_intr_alloc(isa_chipset_tag_t ic, int mask, int type, int *irq)
sys/arch/arm/footbridge/isa/isa_machdep.c
257
if (type == IST_NONE)
sys/arch/arm/footbridge/isa/isa_machdep.c
287
if (type != iq->iq_ist)
sys/arch/arm/footbridge/isa/isa_machdep.c
332
isa_intr_establish(isa_chipset_tag_t ic, int irq, int type, int level, int (*ih_fun)(void *), void *ih_arg)
sys/arch/arm/footbridge/isa/isa_machdep.c
339
printf("isa_intr_establish(%d, %d, %d)\n", irq, type, level);
sys/arch/arm/footbridge/isa/isa_machdep.c
343
if (!LEGAL_IRQ(irq) || type == IST_NONE)
sys/arch/arm/footbridge/isa/isa_machdep.c
350
iq->iq_ist = type;
sys/arch/arm/footbridge/isa/isa_machdep.c
352
printf("Setting irq %d to type %d - ", irq, type);
sys/arch/arm/footbridge/isa/isa_machdep.c
356
| ((type == IST_LEVEL) ? (1 << irq) : 0));
sys/arch/arm/footbridge/isa/isa_machdep.c
360
| ((type == IST_LEVEL) ? (1 << irq) : 0));
sys/arch/arm/footbridge/isa/isa_machdep.c
366
if (iq->iq_ist == type)
sys/arch/arm/footbridge/isa/isa_machdep.c
369
if (type != IST_NONE)
sys/arch/arm/footbridge/isa/isa_machdep.c
372
isa_intr_typename(type));
sys/arch/arm/gemini/gemini_lpchc.c
158
int ipl, int type, int (*func)(void *), void *arg)
sys/arch/arm/gemini/gemini_lpchc.c
168
isedge = ((type == IST_EDGE_RISING) || (type == IST_EDGE_FALLING));
sys/arch/arm/gemini/gemini_lpchc.c
169
ishigh = ((type == IST_EDGE_RISING) || (type == IST_LEVEL_HIGH));
sys/arch/arm/imx/imx23_digfilt.c
545
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/imx/imx23_digfilt.c
552
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/imx/imx23_digfilt.c
561
di->type = AUDIO_MIXER_ENUM;
sys/arch/arm/imx/imx23_digfilt.c
578
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/imx/imx23_digfilt.c
587
di->type = AUDIO_MIXER_ENUM;
sys/arch/arm/imx/imx23_digfilt.c
595
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/imx/imx23_digfilt.c
604
di->type = AUDIO_MIXER_ENUM;
sys/arch/arm/imx/imx_pcic.c
329
imx_pcic_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/arch/arm/imx/imx_pcic.c
333
printf("imx_pcic_socket_settype: type=%d",type);
sys/arch/arm/imx/imx_pcic.c
335
switch (type) {
sys/arch/arm/imx/imxspi.c
65
#define IMXCSPI_TYPE(type, x) \
sys/arch/arm/include/asm.h
121
_TEXT_SECTION; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; \
sys/arch/arm/include/asm.h
124
_TEXT_SECTION; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; \
sys/arch/arm/include/asm.h
145
_TEXT_SECTION; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x:
sys/arch/arm/include/bus_funcs.h
81
#define __bs_nonsingle(type, sz, t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
82
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c)
sys/arch/arm/include/bus_funcs.h
83
#define __bs_set(type, sz, t, h, o, v, c) \
sys/arch/arm/include/bus_funcs.h
84
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c)
sys/arch/arm/include/bus_funcs.h
94
#define __bs_nonsingle_s(type, sz, t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
95
(*(t)->__bs_opname_s(type,sz))((t)->bs_cookie, h, o, a, c)
sys/arch/arm/include/bus_funcs.h
96
#define __bs_set_s(type, sz, t, h, o, v, c) \
sys/arch/arm/include/bus_funcs.h
97
(*(t)->__bs_opname_s(type,sz))((t)->bs_cookie, h, o, v, c)
sys/arch/arm/include/db_machdep.h
85
#define IS_BREAKPOINT_TRAP(type, code) ((type) == T_BREAKPOINT)
sys/arch/arm/include/db_machdep.h
86
#define IS_WATCHPOINT_TRAP(type, code) (0)
sys/arch/arm/include/isa_machdep.h
139
int isa_intr_alloc(isa_chipset_tag_t ic, int mask, int type, int *irq);
sys/arch/arm/include/isa_machdep.h
57
void *isa_intr_establish(isa_chipset_tag_t ic, int irq, int type,
sys/arch/arm/include/isa_machdep.h
59
void *isa_intr_establish_xname(isa_chipset_tag_t ic, int irq, int type,
sys/arch/arm/marvell/mvsocgpp.c
305
int type, pin;
sys/arch/arm/marvell/mvsocgpp.c
307
type = is->is_type;
sys/arch/arm/marvell/mvsocgpp.c
311
switch (type) {
sys/arch/arm/marvell/mvsocgpp.c
323
panic("unknown interrupt type %d for pin %d.\n", type, pin);
sys/arch/arm/marvell/mvsocgpp.c
328
switch (type) {
sys/arch/arm/marvell/mvsocgppvar.h
33
mvsocgpp_intr_establish(int pin, int ipl, int type,
sys/arch/arm/marvell/mvsocgppvar.h
37
return intr_establish(gpp_irqbase + pin, ipl, type, func, arg);
sys/arch/arm/nvidia/tegra124_car.c
1028
KASSERT(tclk->type == TEGRA_CLK_PLL);
sys/arch/arm/nvidia/tegra124_car.c
1138
KASSERT(tclk->type == TEGRA_CLK_MUX);
sys/arch/arm/nvidia/tegra124_car.c
1192
KASSERT(tclk->type == TEGRA_CLK_MUX);
sys/arch/arm/nvidia/tegra124_car.c
1241
KASSERT(tclk->type == TEGRA_CLK_DIV);
sys/arch/arm/nvidia/tegra124_car.c
1289
KASSERT(tclk->type == TEGRA_CLK_DIV);
sys/arch/arm/nvidia/tegra124_car.c
1370
KASSERT(tclk->type == TEGRA_CLK_GATE);
sys/arch/arm/nvidia/tegra124_car.c
1406
switch (tclk->type) {
sys/arch/arm/nvidia/tegra124_car.c
1422
panic("tegra124: unknown tclk type %d", tclk->type);
sys/arch/arm/nvidia/tegra124_car.c
1434
switch (tclk->type) {
sys/arch/arm/nvidia/tegra124_car.c
1451
panic("tegra124: unknown tclk type %d", tclk->type);
sys/arch/arm/nvidia/tegra124_car.c
1461
if (tclk->type != TEGRA_CLK_GATE) {
sys/arch/arm/nvidia/tegra124_car.c
1476
if (tclk->type != TEGRA_CLK_GATE)
sys/arch/arm/nvidia/tegra124_car.c
1490
if (tclk->type != TEGRA_CLK_MUX) {
sys/arch/arm/nvidia/tegra124_car.c
1507
switch (tclk->type) {
sys/arch/arm/nvidia/tegra124_car.c
293
.base = { .name = (_name) }, .type = TEGRA_CLK_FIXED, \
sys/arch/arm/nvidia/tegra124_car.c
298
.base = { .name = (_name) }, .type = TEGRA_CLK_PLL, \
sys/arch/arm/nvidia/tegra124_car.c
311
.base = { .name = (_name) }, .type = TEGRA_CLK_MUX, \
sys/arch/arm/nvidia/tegra124_car.c
323
.base = { .name = (_name) }, .type = TEGRA_CLK_FIXED_DIV, \
sys/arch/arm/nvidia/tegra124_car.c
333
.base = { .name = (_name) }, .type = TEGRA_CLK_DIV, \
sys/arch/arm/nvidia/tegra124_car.c
345
.type = TEGRA_CLK_GATE, \
sys/arch/arm/nvidia/tegra210_car.c
1150
KASSERT(tclk->type == TEGRA_CLK_PLL);
sys/arch/arm/nvidia/tegra210_car.c
1268
KASSERT(tclk->type == TEGRA_CLK_MUX);
sys/arch/arm/nvidia/tegra210_car.c
1298
KASSERT(tclk->type == TEGRA_CLK_MUX);
sys/arch/arm/nvidia/tegra210_car.c
1337
KASSERT(tclk->type == TEGRA_CLK_DIV);
sys/arch/arm/nvidia/tegra210_car.c
1393
KASSERT(tclk->type == TEGRA_CLK_DIV);
sys/arch/arm/nvidia/tegra210_car.c
1468
KASSERT(tclk->type == TEGRA_CLK_GATE);
sys/arch/arm/nvidia/tegra210_car.c
1496
switch (tclk->type) {
sys/arch/arm/nvidia/tegra210_car.c
1512
panic("tegra210: unknown tclk type %d", tclk->type);
sys/arch/arm/nvidia/tegra210_car.c
1524
switch (tclk->type) {
sys/arch/arm/nvidia/tegra210_car.c
1541
panic("tegra210: unknown tclk type %d", tclk->type);
sys/arch/arm/nvidia/tegra210_car.c
1551
if (tclk->type != TEGRA_CLK_GATE) {
sys/arch/arm/nvidia/tegra210_car.c
1566
if (tclk->type != TEGRA_CLK_GATE)
sys/arch/arm/nvidia/tegra210_car.c
1580
if (tclk->type != TEGRA_CLK_MUX) {
sys/arch/arm/nvidia/tegra210_car.c
1597
switch (tclk->type) {
sys/arch/arm/nvidia/tegra210_car.c
305
.base = { .name = (_name) }, .type = TEGRA_CLK_FIXED, \
sys/arch/arm/nvidia/tegra210_car.c
310
.base = { .name = (_name) }, .type = TEGRA_CLK_PLL, \
sys/arch/arm/nvidia/tegra210_car.c
323
.base = { .name = (_name) }, .type = TEGRA_CLK_MUX, \
sys/arch/arm/nvidia/tegra210_car.c
335
.base = { .name = (_name) }, .type = TEGRA_CLK_FIXED_DIV, \
sys/arch/arm/nvidia/tegra210_car.c
345
.base = { .name = (_name) }, .type = TEGRA_CLK_DIV, \
sys/arch/arm/nvidia/tegra210_car.c
357
.type = TEGRA_CLK_GATE, \
sys/arch/arm/nvidia/tegra_clock.h
78
enum tegra_clk_type type;
sys/arch/arm/nvidia/tegra_lic.c
142
const u_int type = be32toh(specifier[0]);
sys/arch/arm/nvidia/tegra_lic.c
144
const u_int irq = type == 0 ? IRQ_SPI(intr) : IRQ_PPI(intr);
sys/arch/arm/nvidia/tegra_lic.c
167
const u_int type = be32toh(specifier[0]);
sys/arch/arm/nvidia/tegra_lic.c
169
const u_int irq = type == 0 ? IRQ_SPI(intr) : IRQ_PPI(intr);
sys/arch/arm/nvidia/tegra_xusb.c
544
const uint8_t type = __SHIFTOUT(msg, MAILBOX_DATA_TYPE);
sys/arch/arm/nvidia/tegra_xusb.c
546
switch (type) {
sys/arch/arm/nvidia/tegra_xusb.c
954
const uint8_t type = __SHIFTOUT(msg, MAILBOX_DATA_TYPE);
sys/arch/arm/nvidia/tegra_xusb.c
956
if (!(type == 128 || type == 129)) {
sys/arch/arm/nxp/imx6_ccm.c
164
KASSERT((pll->type == IMX6_CLK_PLL_GENERIC) ||
sys/arch/arm/nxp/imx6_ccm.c
165
(pll->type == IMX6_CLK_PLL_USB));
sys/arch/arm/nxp/imx6_ccm.c
180
KASSERT(pll->type == IMX6_CLK_PLL_SYS);
sys/arch/arm/nxp/imx6_ccm.c
198
KASSERT(pll->type == IMX6_CLK_PLL_AUDIO_VIDEO);
sys/arch/arm/nxp/imx6_ccm.c
218
KASSERT(pll->type == IMX6_CLK_PLL_ENET);
sys/arch/arm/nxp/imx6_ccm.c
229
KASSERT(iclk->type == IMX6_CLK_FIXED_FACTOR);
sys/arch/arm/nxp/imx6_ccm.c
245
KASSERT(iclk->type == IMX6_CLK_PLL);
sys/arch/arm/nxp/imx6_ccm.c
252
switch(pll->type) {
sys/arch/arm/nxp/imx6_ccm.c
264
panic("imx6: unknown pll type %d", iclk->type);
sys/arch/arm/nxp/imx6_ccm.c
274
KASSERT(iclk->type == IMX6_CLK_DIV);
sys/arch/arm/nxp/imx6_ccm.c
290
if (div->type == IMX6_CLK_DIV_TABLE) {
sys/arch/arm/nxp/imx6_ccm.c
309
KASSERT(iclk->type == IMX6_CLK_PFD);
sys/arch/arm/nxp/imx6_ccm.c
350
KASSERT(iclk->type == IMX6_CLK_MUX);
sys/arch/arm/nxp/imx6_ccm.c
373
if (mux->type == IMX6_CLK_MUX_BUSY)
sys/arch/arm/nxp/imx6_ccm.c
384
KASSERT(iclk->type == IMX6_CLK_MUX);
sys/arch/arm/nxp/imx6_ccm.c
419
KASSERT(iclk->type == IMX6_CLK_DIV);
sys/arch/arm/nxp/imx6_ccm.c
435
if (div->type == IMX6_CLK_DIV_TABLE) {
sys/arch/arm/nxp/imx6_ccm.c
490
switch (iclk->type) {
sys/arch/arm/nxp/imx6_ccm.c
506
panic("imx6: unknown clk type %d", iclk->type);
sys/arch/arm/nxp/imx6_ccm.c
516
switch (iclk->type) {
sys/arch/arm/nxp/imx6_ccm.c
531
panic("imx6: unknown clk type %d", iclk->type);
sys/arch/arm/nxp/imx6_ccm.c
540
KASSERT(iclk->type == IMX6_CLK_PLL);
sys/arch/arm/nxp/imx6_ccm.c
543
if (pll->type == IMX6_CLK_PLL_USB)
sys/arch/arm/nxp/imx6_ccm.c
568
KASSERT(iclk->type == IMX6_CLK_GATE);
sys/arch/arm/nxp/imx6_ccm.c
601
switch (iclk->type) {
sys/arch/arm/nxp/imx6_ccm.c
614
panic("imx6: unknown clk type %d", iclk->type);
sys/arch/arm/nxp/imx6_ccm.c
624
switch (iclk->type) {
sys/arch/arm/nxp/imx6_ccm.c
637
panic("imx6: unknown clk type %d", iclk->type);
sys/arch/arm/nxp/imx6_ccm.c
647
switch (iclk->type) {
sys/arch/arm/nxp/imx6_ccm.c
658
panic("imx6: unknown clk type %d", iclk->type);
sys/arch/arm/nxp/imx6_ccm.c
669
switch (iclk->type) {
sys/arch/arm/nxp/imx6_ccm.c
683
panic("imx6: unknown clk type %d", iclk->type);
sys/arch/arm/nxp/imx6_ccmvar.h
108
enum imx6_clk_pll_type type;
sys/arch/arm/nxp/imx6_ccmvar.h
116
enum imx6_clk_div_type type;
sys/arch/arm/nxp/imx6_ccmvar.h
126
enum imx6_clk_mux_type type;
sys/arch/arm/nxp/imx6_ccmvar.h
149
enum imx6_clk_type type;
sys/arch/arm/nxp/imx6_ccmvar.h
163
.type = IMX6_CLK_FIXED, \
sys/arch/arm/nxp/imx6_ccmvar.h
173
.type = IMX6_CLK_FIXED_FACTOR, \
sys/arch/arm/nxp/imx6_ccmvar.h
185
.type = IMX6_CLK_PFD, \
sys/arch/arm/nxp/imx6_ccmvar.h
197
.type = IMX6_CLK_PLL, \
sys/arch/arm/nxp/imx6_ccmvar.h
201
.type = (IMX6_CLK_PLL_##_type), \
sys/arch/arm/nxp/imx6_ccmvar.h
212
.type = IMX6_CLK_DIV, \
sys/arch/arm/nxp/imx6_ccmvar.h
216
.type = (IMX6_CLK_DIV_NORMAL), \
sys/arch/arm/nxp/imx6_ccmvar.h
226
.type = IMX6_CLK_DIV, \
sys/arch/arm/nxp/imx6_ccmvar.h
230
.type = (IMX6_CLK_DIV_BUSY), \
sys/arch/arm/nxp/imx6_ccmvar.h
242
.type = IMX6_CLK_DIV, \
sys/arch/arm/nxp/imx6_ccmvar.h
246
.type = (IMX6_CLK_DIV_TABLE), \
sys/arch/arm/nxp/imx6_ccmvar.h
257
.type = IMX6_CLK_MUX, \
sys/arch/arm/nxp/imx6_ccmvar.h
260
.type = (IMX6_CLK_MUX_NORMAL), \
sys/arch/arm/nxp/imx6_ccmvar.h
272
.type = IMX6_CLK_MUX, \
sys/arch/arm/nxp/imx6_ccmvar.h
275
.type = (IMX6_CLK_MUX_BUSY), \
sys/arch/arm/nxp/imx6_ccmvar.h
289
.type = IMX6_CLK_GATE, \
sys/arch/arm/nxp/imx6_ccmvar.h
303
.type = IMX6_CLK_GATE, \
sys/arch/arm/nxp/imx6_gpc.c
127
const u_int type = be32toh(specifier[0]);
sys/arch/arm/nxp/imx6_gpc.c
129
const u_int irq = type == 0 ? IRQ_SPI(intr) : IRQ_PPI(intr);
sys/arch/arm/nxp/imx6_gpc.c
156
const u_int type = be32toh(specifier[0]);
sys/arch/arm/nxp/imx6_gpc.c
158
const u_int irq = type == 0 ? IRQ_SPI(intr) : IRQ_PPI(intr);
sys/arch/arm/nxp/imx6_spi.c
144
sc->sc_type = config->type;
sys/arch/arm/nxp/imx6_spi.c
55
enum imxspi_type type;
sys/arch/arm/nxp/imx6_spi.c
60
.type = IMX51_ECSPI,
sys/arch/arm/nxp/imx7_gpc.c
214
const u_int type = be32toh(specifier[0]);
sys/arch/arm/nxp/imx7_gpc.c
216
const u_int irq = type == 0 ? IRQ_SPI(intr) : IRQ_PPI(intr);
sys/arch/arm/nxp/imx7_gpc.c
222
if (type != 0)
sys/arch/arm/nxp/imx7_gpc.c
258
const u_int type = be32toh(specifier[0]);
sys/arch/arm/nxp/imx7_gpc.c
260
const u_int irq = type == 0 ? IRQ_SPI(intr) : IRQ_PPI(intr);
sys/arch/arm/nxp/imx_ccm.c
278
const char *type;
sys/arch/arm/nxp/imx_ccm.c
283
if (clk->type == IMX_CCM_UNKNOWN)
sys/arch/arm/nxp/imx_ccm.c
288
switch (clk->type) {
sys/arch/arm/nxp/imx_ccm.c
289
case IMX_CCM_EXTCLK: type = "extclk"; break;
sys/arch/arm/nxp/imx_ccm.c
290
case IMX_CCM_GATE: type = "gate"; break;
sys/arch/arm/nxp/imx_ccm.c
291
case IMX_CCM_COMPOSITE: type = "comp"; break;
sys/arch/arm/nxp/imx_ccm.c
292
case IMX_CCM_PLL: type = "pll"; break;
sys/arch/arm/nxp/imx_ccm.c
293
case IMX_CCM_FIXED: type = "fixed"; break;
sys/arch/arm/nxp/imx_ccm.c
294
case IMX_CCM_FIXED_FACTOR: type = "fixed-factor"; break;
sys/arch/arm/nxp/imx_ccm.c
295
case IMX_CCM_MUX: type = "mux"; break;
sys/arch/arm/nxp/imx_ccm.c
296
case IMX_CCM_DIV: type = "div"; break;
sys/arch/arm/nxp/imx_ccm.c
297
default: type = "???"; break;
sys/arch/arm/nxp/imx_ccm.c
306
type);
sys/arch/arm/nxp/imx_ccm.h
131
.type = IMX_CCM_COMPOSITE, \
sys/arch/arm/nxp/imx_ccm.h
167
.type = IMX_CCM_PLL, \
sys/arch/arm/nxp/imx_ccm.h
190
.type = IMX_CCM_FIXED, \
sys/arch/arm/nxp/imx_ccm.h
212
.type = IMX_CCM_FIXED_FACTOR, \
sys/arch/arm/nxp/imx_ccm.h
242
.type = IMX_CCM_MUX, \
sys/arch/arm/nxp/imx_ccm.h
274
.type = IMX_CCM_DIV, \
sys/arch/arm/nxp/imx_ccm.h
294
enum imx_ccm_clktype type;
sys/arch/arm/nxp/imx_ccm.h
64
.type = IMX_CCM_EXTCLK, \
sys/arch/arm/nxp/imx_ccm.h
93
.type = IMX_CCM_GATE, \
sys/arch/arm/nxp/imx_ccm_composite.c
101
KASSERT(clk->type == IMX_CCM_COMPOSITE);
sys/arch/arm/nxp/imx_ccm_composite.c
170
KASSERT(clk->type == IMX_CCM_COMPOSITE);
sys/arch/arm/nxp/imx_ccm_composite.c
188
KASSERT(clk->type == IMX_CCM_COMPOSITE);
sys/arch/arm/nxp/imx_ccm_composite.c
54
KASSERT(clk->type == IMX_CCM_COMPOSITE);
sys/arch/arm/nxp/imx_ccm_composite.c
73
KASSERT(clk->type == IMX_CCM_COMPOSITE);
sys/arch/arm/nxp/imx_ccm_div.c
121
KASSERT(clk->type == IMX_CCM_DIV);
sys/arch/arm/nxp/imx_ccm_div.c
48
KASSERT(clk->type == IMX_CCM_DIV);
sys/arch/arm/nxp/imx_ccm_div.c
75
KASSERT(clk->type == IMX_CCM_DIV);
sys/arch/arm/nxp/imx_ccm_extclk.c
47
KASSERT(clk->type == IMX_CCM_EXTCLK);
sys/arch/arm/nxp/imx_ccm_extclk.c
61
KASSERT(clk->type == IMX_CCM_EXTCLK);
sys/arch/arm/nxp/imx_ccm_extclk.c
75
KASSERT(clk->type == IMX_CCM_EXTCLK);
sys/arch/arm/nxp/imx_ccm_extclk.c
89
KASSERT(clk->type == IMX_CCM_EXTCLK);
sys/arch/arm/nxp/imx_ccm_fixed.c
45
KASSERT(clk->type == IMX_CCM_FIXED);
sys/arch/arm/nxp/imx_ccm_fixed_factor.c
100
KASSERT(clk->type == IMX_CCM_FIXED_FACTOR);
sys/arch/arm/nxp/imx_ccm_fixed_factor.c
58
KASSERT(clk->type == IMX_CCM_FIXED_FACTOR);
sys/arch/arm/nxp/imx_ccm_fixed_factor.c
86
KASSERT(clk->type == IMX_CCM_FIXED_FACTOR);
sys/arch/arm/nxp/imx_ccm_gate.c
46
KASSERT(clk->type == IMX_CCM_GATE);
sys/arch/arm/nxp/imx_ccm_gate.c
64
KASSERT(clk->type == IMX_CCM_GATE);
sys/arch/arm/nxp/imx_ccm_mux.c
47
KASSERT(clk->type == IMX_CCM_MUX);
sys/arch/arm/nxp/imx_ccm_mux.c
65
KASSERT(clk->type == IMX_CCM_MUX);
sys/arch/arm/nxp/imx_ccm_pll.c
111
KASSERT(clk->type == IMX_CCM_PLL);
sys/arch/arm/nxp/imx_ccm_pll.c
51
KASSERT(clk->type == IMX_CCM_PLL);
sys/arch/arm/nxp/imx_ccm_pll.c
75
KASSERT(clk->type == IMX_CCM_PLL);
sys/arch/arm/pic/pic.c
744
pic_establish_intr(struct pic_softc *pic, int irq, int ipl, int type,
sys/arch/arm/pic/pic.c
760
is->is_type = type & 0xff;
sys/arch/arm/pic/pic.c
764
is->is_mpsafe = (type & IST_MPSAFE) || ipl != IPL_VM;
sys/arch/arm/pic/pic.c
875
intr_establish(int irq, int ipl, int type, int (*func)(void *), void *arg)
sys/arch/arm/pic/pic.c
877
return intr_establish_xname(irq, ipl, type, func, arg, NULL);
sys/arch/arm/pic/pic.c
881
intr_establish_xname(int irq, int ipl, int type, int (*func)(void *), void *arg,
sys/arch/arm/pic/pic.c
894
ipl, type, func, arg, xname);
sys/arch/arm/pic/picvar.h
78
void *pic_establish_intr(struct pic_softc *pic, int irq, int ipl, int type,
sys/arch/arm/pic/picvar.h
89
void *intr_establish(int irq, int ipl, int type, int (*func)(void *),
sys/arch/arm/pic/picvar.h
91
void *intr_establish_xname(int irq, int ipl, int type, int (*func)(void *),
sys/arch/arm/rockchip/rk3328_iomux.c
100
[1] = { .base = 0x0040, .type = RK3328_IOMUX_TYPE_3BIT },
sys/arch/arm/rockchip/rk3328_iomux.c
152
if (banks[bank].iomux[pin / 8].type & RK3328_IOMUX_TYPE_3BIT) {
sys/arch/arm/rockchip/rk3328_iomux.c
64
u_int type;
sys/arch/arm/rockchip/rk3328_iomux.c
92
[1] = { .base = 0x0024, .type = RK3328_IOMUX_TYPE_3BIT },
sys/arch/arm/rockchip/rk3328_iomux.c
93
[2] = { .base = 0x002c, .type = RK3328_IOMUX_TYPE_3BIT },
sys/arch/arm/rockchip/rk3328_iomux.c
99
[0] = { .base = 0x0038, .type = RK3328_IOMUX_TYPE_3BIT },
sys/arch/arm/rockchip/rk3399_cru.c
240
KASSERT(clk->type == RK_CRU_PLL);
sys/arch/arm/rockchip/rk3399_cru.c
284
KASSERT(clk->type == RK_CRU_PLL);
sys/arch/arm/rockchip/rk3399_cru.c
343
.type = RK_CRU_PLL, \
sys/arch/arm/rockchip/rk3399_pcie.c
459
uint32_t type;
sys/arch/arm/rockchip/rk3399_pcie.c
477
type = PCIE_ATR_HDR_IO;
sys/arch/arm/rockchip/rk3399_pcie.c
481
type = PCIE_ATR_HDR_MEM;
sys/arch/arm/rockchip/rk3399_pcie.c
511
HWRITE4(sc, PCIE_ATR_OB_DESC0(region), type | PCIE_ATR_HDR_RID);
sys/arch/arm/rockchip/rk3399_pmucru.c
168
KASSERT(clk->type == RK_CRU_PLL);
sys/arch/arm/rockchip/rk3399_pmucru.c
212
KASSERT(clk->type == RK_CRU_PLL);
sys/arch/arm/rockchip/rk3399_pmucru.c
270
.type = RK_CRU_PLL, \
sys/arch/arm/rockchip/rk_cru.c
342
const char *type;
sys/arch/arm/rockchip/rk_cru.c
347
if (clk->type == RK_CRU_UNKNOWN)
sys/arch/arm/rockchip/rk_cru.c
352
switch (clk->type) {
sys/arch/arm/rockchip/rk_cru.c
353
case RK_CRU_PLL: type = "pll"; break;
sys/arch/arm/rockchip/rk_cru.c
354
case RK_CRU_ARM: type = "arm"; break;
sys/arch/arm/rockchip/rk_cru.c
355
case RK_CRU_COMPOSITE: type = "comp"; break;
sys/arch/arm/rockchip/rk_cru.c
356
case RK_CRU_GATE: type = "gate"; break;
sys/arch/arm/rockchip/rk_cru.c
357
case RK_CRU_MUX: type = "mux"; break;
sys/arch/arm/rockchip/rk_cru.c
358
default: type = "???"; break;
sys/arch/arm/rockchip/rk_cru.c
367
type);
sys/arch/arm/rockchip/rk_cru.h
114
.type = RK_CRU_PLL, \
sys/arch/arm/rockchip/rk_cru.h
193
.type = RK_CRU_ARM, \
sys/arch/arm/rockchip/rk_cru.h
215
.type = RK_CRU_ARM, \
sys/arch/arm/rockchip/rk_cru.h
302
.type = RK_CRU_COMPOSITE, \
sys/arch/arm/rockchip/rk_cru.h
358
.type = RK_CRU_GATE, \
sys/arch/arm/rockchip/rk_cru.h
371
.type = RK_CRU_GATE, \
sys/arch/arm/rockchip/rk_cru.h
394
.type = RK_CRU_MUX, \
sys/arch/arm/rockchip/rk_cru.h
417
enum rk_cru_clktype type;
sys/arch/arm/rockchip/rk_cru_arm.c
127
KASSERT(clk->type == RK_CRU_ARM);
sys/arch/arm/rockchip/rk_cru_arm.c
204
KASSERT(clk->type == RK_CRU_ARM);
sys/arch/arm/rockchip/rk_cru_arm.c
218
KASSERT(clk->type == RK_CRU_ARM);
sys/arch/arm/rockchip/rk_cru_arm.c
46
KASSERT(clk->type == RK_CRU_ARM);
sys/arch/arm/rockchip/rk_cru_arm.c
72
KASSERT(clk->type == RK_CRU_ARM);
sys/arch/arm/rockchip/rk_cru_composite.c
147
KASSERT(clk->type == RK_CRU_COMPOSITE);
sys/arch/arm/rockchip/rk_cru_composite.c
224
KASSERT(clk->type == RK_CRU_COMPOSITE);
sys/arch/arm/rockchip/rk_cru_composite.c
242
KASSERT(clk->type == RK_CRU_COMPOSITE);
sys/arch/arm/rockchip/rk_cru_composite.c
47
KASSERT(clk->type == RK_CRU_COMPOSITE);
sys/arch/arm/rockchip/rk_cru_composite.c
67
KASSERT(clk->type == RK_CRU_COMPOSITE);
sys/arch/arm/rockchip/rk_cru_gate.c
45
KASSERT(clk->type == RK_CRU_GATE);
sys/arch/arm/rockchip/rk_cru_gate.c
61
KASSERT(clk->type == RK_CRU_GATE);
sys/arch/arm/rockchip/rk_cru_mux.c
47
KASSERT(clk->type == RK_CRU_MUX);
sys/arch/arm/rockchip/rk_cru_mux.c
70
KASSERT(clk->type == RK_CRU_MUX);
sys/arch/arm/rockchip/rk_cru_pll.c
165
KASSERT(clk->type == RK_CRU_PLL);
sys/arch/arm/rockchip/rk_cru_pll.c
279
KASSERT(clk->type == RK_CRU_PLL);
sys/arch/arm/rockchip/rk_cru_pll.c
94
KASSERT(clk->type == RK_CRU_PLL);
sys/arch/arm/rockchip/rk_gpio.c
417
const uint32_t type = be32toh(specifier[1]) & 0xf;
sys/arch/arm/rockchip/rk_gpio.c
419
switch (type) {
sys/arch/arm/rockchip/rk_gpio.c
438
__func__, type);
sys/arch/arm/rockchip/rk_gpio.c
503
int type = irqmode & GPIO_INTR_MODE_MASK;
sys/arch/arm/rockchip/rk_gpio.c
506
switch (type) {
sys/arch/arm/rockchip/rk_gpio.c
525
__func__, type);
sys/arch/arm/s3c2xx0/s3c2410_extint.c
188
s3c2410_extint_establish(int extint, int ipl, int type,
sys/arch/arm/s3c2xx0/s3c2410_extint.c
203
return s3c24x0_intr_establish(extint, ipl, type, func, arg);
sys/arch/arm/s3c2xx0/s3c2410_extint.c
219
s3c2410_setup_extint(extint, type);
sys/arch/arm/s3c2xx0/s3c2410_intr.c
200
s3c24x0_intr_establish(int irqno, int level, int type,
sys/arch/arm/s3c2xx0/s3c2410_intr.c
206
type < IST_NONE || IST_EDGE_BOTH < type)
sys/arch/arm/s3c2xx0/s3c2410_intr.c
225
s3c24x0_intr_establish(main_irqno, level, type,
sys/arch/arm/s3c2xx0/s3c2410_intr.c
244
s3c2410_setup_extint(irqno, type);
sys/arch/arm/s3c2xx0/s3c2410_intr.c
346
s3c2410_setup_extint(int extint, int type)
sys/arch/arm/s3c2xx0/s3c2410_intr.c
354
trig = s3c24x0_ist[type];
sys/arch/arm/s3c2xx0/s3c2440_extint.c
220
s3c2440_extint_establish(int extint, int ipl, int type,
sys/arch/arm/s3c2xx0/s3c2440_extint.c
235
return s3c24x0_intr_establish(extint, ipl, type, func, arg);
sys/arch/arm/s3c2xx0/s3c2440_extint.c
251
s3c2440_setup_extint(extint, type);
sys/arch/arm/s3c2xx0/s3c2440_intr.c
230
s3c24x0_intr_establish(int irqno, int level, int type,
sys/arch/arm/s3c2xx0/s3c2440_intr.c
236
type < IST_NONE || IST_EDGE_BOTH < type)
sys/arch/arm/s3c2xx0/s3c2440_intr.c
255
s3c24x0_intr_establish(main_irqno, level, type,
sys/arch/arm/s3c2xx0/s3c2440_intr.c
274
s3c2440_setup_extint(irqno, type);
sys/arch/arm/s3c2xx0/s3c2440_intr.c
378
s3c2440_setup_extint(int extint, int type)
sys/arch/arm/s3c2xx0/s3c2440_intr.c
388
trig = s3c24x0_ist[type];
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
520
const struct s3c24x0_wsscreen_descr *type =
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
525
width = type->c.ncols * type->c.fontwidth;
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
526
height = type->c.nrows * type->c.fontwidth;
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
534
scr = s3c24x0_lcd_new_screen(sc, width, height, type->depth);
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
542
scr->rinfo.ri_depth = type->depth;
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
548
if (type->c.fontwidth || type->c.fontheight) {
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
556
cookie = wsfont_find(NULL, type->c.fontwidth,
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
557
type->c.fontheight, 0, WSDISPLAY_FONTORDER_L2R,
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
566
rasops_init(&scr->rinfo, type->c.nrows, type->c.ncols);
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
570
if (type->c.nrows != scr->rinfo.ri_rows ||
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
571
type->c.ncols != scr->rinfo.ri_cols) {
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
576
type->c.ncols, type->c.nrows,
sys/arch/arm/s3c2xx0/s3c2800_intr.c
136
s3c2800_intr_establish(int irqno, int level, int type,
sys/arch/arm/s3c2xx0/s3c2800_intr.c
142
type < IST_NONE || IST_EDGE_BOTH < type)
sys/arch/arm/s3c2xx0/s3c2800_intr.c
160
trig = s3c2800_ist[type];
sys/arch/arm/sa11x0/sa1111.c
120
sacc_intr_establish(sacc_chipset_tag_t *ic, int irq, int type, int level,
sys/arch/arm/sa11x0/sa1111.c
130
!(type == IST_EDGE_RAISE || type == IST_EDGE_FALL))
sys/arch/arm/sa11x0/sa1111.c
134
sacc_intr_setpolarity(ic, irq, type);
sys/arch/arm/sa11x0/sa1111.c
135
sc->sc_intrtype[irq] = type;
sys/arch/arm/sa11x0/sa1111.c
136
} else if (sc->sc_intrtype[irq] != type)
sys/arch/arm/sa11x0/sa1111.c
193
sacc_intr_setpolarity(sacc_chipset_tag_t *ic, int irq, int type)
sys/arch/arm/sa11x0/sa1111.c
210
if (type == IST_EDGE_RAISE)
sys/arch/arm/sa11x0/sa11x0_irqhandler.c
163
sa11x0_intr_establish(sa11x0_chipset_tag_t ic, int irq, int type, int level,
sys/arch/arm/sa11x0/sa11x0_irqhandler.c
172
if (irq < 0 || irq >= ICU_LEN || type == IST_NONE)
sys/arch/arm/sa11x0/sa11xx_pcic.c
437
sapcic_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/arch/arm/samsung/exynos5410_clock.c
1005
panic("exynos5410: unknown eclk type %d", eclk->type);
sys/arch/arm/samsung/exynos5410_clock.c
160
.base = { .name = (_name) }, .type = EXYNOS_CLK_FIXED, \
sys/arch/arm/samsung/exynos5410_clock.c
166
.type = EXYNOS_CLK_PLL35XX, \
sys/arch/arm/samsung/exynos5410_clock.c
178
.type = EXYNOS_CLK_PLL2650X, \
sys/arch/arm/samsung/exynos5410_clock.c
191
.type = EXYNOS_CLK_MUX, \
sys/arch/arm/samsung/exynos5410_clock.c
211
.type = EXYNOS_CLK_DIV, \
sys/arch/arm/samsung/exynos5410_clock.c
226
.type = EXYNOS_CLK_GATE, \
sys/arch/arm/samsung/exynos5410_clock.c
578
const char *type = "?";
sys/arch/arm/samsung/exynos5410_clock.c
580
switch (eclk->type) {
sys/arch/arm/samsung/exynos5410_clock.c
582
type = "fixed";
sys/arch/arm/samsung/exynos5410_clock.c
586
type = "pll";
sys/arch/arm/samsung/exynos5410_clock.c
589
type = "mux";
sys/arch/arm/samsung/exynos5410_clock.c
592
type = "div";
sys/arch/arm/samsung/exynos5410_clock.c
595
type = "gate";
sys/arch/arm/samsung/exynos5410_clock.c
606
type, clk_get_rate(&eclk->base));
sys/arch/arm/samsung/exynos5410_clock.c
636
KASSERT(eclk->type == EXYNOS_CLK_PLL35XX);
sys/arch/arm/samsung/exynos5410_clock.c
664
KASSERT(eclk->type == EXYNOS_CLK_PLL2650X);
sys/arch/arm/samsung/exynos5410_clock.c
683
KASSERT(eclk->type == EXYNOS_CLK_PLL2650X);
sys/arch/arm/samsung/exynos5410_clock.c
742
KASSERT(eclk->type == EXYNOS_CLK_MUX);
sys/arch/arm/samsung/exynos5410_clock.c
767
KASSERT(eclk->type == EXYNOS_CLK_MUX);
sys/arch/arm/samsung/exynos5410_clock.c
784
KASSERT(eclk->type == EXYNOS_CLK_DIV);
sys/arch/arm/samsung/exynos5410_clock.c
804
KASSERT(eclk->type == EXYNOS_CLK_DIV);
sys/arch/arm/samsung/exynos5410_clock.c
833
KASSERT(eclk->type == EXYNOS_CLK_GATE);
sys/arch/arm/samsung/exynos5410_clock.c
880
switch (eclk->type) {
sys/arch/arm/samsung/exynos5410_clock.c
894
panic("exynos5410: unknown eclk type %d", eclk->type);
sys/arch/arm/samsung/exynos5410_clock.c
905
switch (eclk->type) {
sys/arch/arm/samsung/exynos5410_clock.c
919
panic("exynos5410: unknown eclk type %d", eclk->type);
sys/arch/arm/samsung/exynos5410_clock.c
928
switch (eclk->type) {
sys/arch/arm/samsung/exynos5410_clock.c
940
panic("exynos5410: unknown eclk type %d", eclk->type);
sys/arch/arm/samsung/exynos5410_clock.c
949
switch (eclk->type) {
sys/arch/arm/samsung/exynos5410_clock.c
961
panic("exynos5410: unknown eclk type %d", eclk->type);
sys/arch/arm/samsung/exynos5410_clock.c
971
switch (eclk->type) {
sys/arch/arm/samsung/exynos5410_clock.c
981
panic("exynos5410: unknown eclk type %d", eclk->type);
sys/arch/arm/samsung/exynos5410_clock.c
991
switch (eclk->type) {
sys/arch/arm/samsung/exynos5422_clock.c
1002
panic("exynos5422: unknown eclk type %d", eclk->type);
sys/arch/arm/samsung/exynos5422_clock.c
1012
switch (eclk->type) {
sys/arch/arm/samsung/exynos5422_clock.c
1021
panic("exynos5422: unknown eclk type %d", eclk->type);
sys/arch/arm/samsung/exynos5422_clock.c
1031
switch (eclk->type) {
sys/arch/arm/samsung/exynos5422_clock.c
1044
panic("exynos5422: unknown eclk type %d", eclk->type);
sys/arch/arm/samsung/exynos5422_clock.c
276
.base = { .name = (_name) }, .type = EXYNOS_CLK_FIXED, \
sys/arch/arm/samsung/exynos5422_clock.c
282
.type = EXYNOS_CLK_PLL35XX, \
sys/arch/arm/samsung/exynos5422_clock.c
294
.type = EXYNOS_CLK_MUX, \
sys/arch/arm/samsung/exynos5422_clock.c
313
.base = { .name = (_name) }, .type = EXYNOS_CLK_DIV, \
sys/arch/arm/samsung/exynos5422_clock.c
325
.type = EXYNOS_CLK_GATE, \
sys/arch/arm/samsung/exynos5422_clock.c
703
const char *type = "?";
sys/arch/arm/samsung/exynos5422_clock.c
705
switch (eclk->type) {
sys/arch/arm/samsung/exynos5422_clock.c
707
type = "fixed";
sys/arch/arm/samsung/exynos5422_clock.c
711
type = "pll";
sys/arch/arm/samsung/exynos5422_clock.c
714
type = "mux";
sys/arch/arm/samsung/exynos5422_clock.c
717
type = "div";
sys/arch/arm/samsung/exynos5422_clock.c
720
type = "gate";
sys/arch/arm/samsung/exynos5422_clock.c
731
type, clk_get_rate(&eclk->base));
sys/arch/arm/samsung/exynos5422_clock.c
761
KASSERT(eclk->type == EXYNOS_CLK_PLL35XX);
sys/arch/arm/samsung/exynos5422_clock.c
789
KASSERT(eclk->type == EXYNOS_CLK_MUX);
sys/arch/arm/samsung/exynos5422_clock.c
814
KASSERT(eclk->type == EXYNOS_CLK_MUX);
sys/arch/arm/samsung/exynos5422_clock.c
831
KASSERT(eclk->type == EXYNOS_CLK_DIV);
sys/arch/arm/samsung/exynos5422_clock.c
851
KASSERT(eclk->type == EXYNOS_CLK_DIV);
sys/arch/arm/samsung/exynos5422_clock.c
880
KASSERT(eclk->type == EXYNOS_CLK_GATE);
sys/arch/arm/samsung/exynos5422_clock.c
927
switch (eclk->type) {
sys/arch/arm/samsung/exynos5422_clock.c
939
panic("exynos5422: unknown eclk type %d", eclk->type);
sys/arch/arm/samsung/exynos5422_clock.c
950
switch (eclk->type) {
sys/arch/arm/samsung/exynos5422_clock.c
962
panic("exynos5422: unknown eclk type %d", eclk->type);
sys/arch/arm/samsung/exynos5422_clock.c
971
switch (eclk->type) {
sys/arch/arm/samsung/exynos5422_clock.c
982
panic("exynos5422: unknown eclk type %d", eclk->type);
sys/arch/arm/samsung/exynos5422_clock.c
991
switch (eclk->type) {
sys/arch/arm/samsung/exynos_clock.h
72
enum exynos_clk_type type;
sys/arch/arm/samsung/exynos_uart.c
156
.type = EXYNOS_UART_SAMSUNG,
sys/arch/arm/samsung/exynos_uart.c
163
.type = EXYNOS_UART_APPLE,
sys/arch/arm/samsung/exynos_uart.c
288
switch (sc->sc_conf->type) {
sys/arch/arm/samsung/exynos_uart.c
398
switch (sc->sc_conf->type) {
sys/arch/arm/samsung/exynos_uart.c
428
switch (sc->sc_conf->type) {
sys/arch/arm/samsung/exynos_uart.c
597
if (sc->sc_conf->type == EXYNOS_UART_APPLE) {
sys/arch/arm/samsung/exynos_uart.c
626
if (sc->sc_conf->type == EXYNOS_UART_APPLE) {
sys/arch/arm/samsung/exynos_uart.c
85
enum exynos_uart_type type;
sys/arch/arm/sunxi/sun4i_a10_ccu.c
417
.type = SUNXI_CCU_DIV,
sys/arch/arm/sunxi/sun4i_a10_ccu.c
434
.type = SUNXI_CCU_DIV,
sys/arch/arm/sunxi/sun4i_a10_ccu.c
451
.type = SUNXI_CCU_DIV,
sys/arch/arm/sunxi/sun4i_a10_ccu.c
467
.type = SUNXI_CCU_DIV,
sys/arch/arm/sunxi/sun4i_a10_ccu.c
859
enum sun4i_a10_ccu_type type;
sys/arch/arm/sunxi/sun4i_a10_ccu.c
878
type = of_compatible_lookup(faa->faa_phandle, compat_data)->value;
sys/arch/arm/sunxi/sun4i_a10_ccu.c
880
switch (type) {
sys/arch/arm/sunxi/sun4i_a10_codec.c
203
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/sunxi/sun4i_a10_codec.c
210
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/sunxi/sun4i_a10_codec.c
221
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/sunxi/sun4i_dma.c
144
const u_int type = be32toh(specifier[0]);
sys/arch/arm/sunxi/sun4i_dma.c
147
if (type >= DMA_MAX_TYPES || drq >= DMA_MAX_DRQS)
sys/arch/arm/sunxi/sun4i_dma.c
153
if (sc->sc_chan[type][index].ch_callback == NULL) {
sys/arch/arm/sunxi/sun4i_dma.c
154
ch = &sc->sc_chan[type][index];
sys/arch/arm/sunxi/sun4i_dma.c
318
uint8_t type, index;
sys/arch/arm/sunxi/sun4i_dma.c
331
type = ((bit - 1) / 2) / 8;
sys/arch/arm/sunxi/sun4i_dma.c
334
if (sc->sc_chan[type][index].ch_callback == NULL)
sys/arch/arm/sunxi/sun4i_dma.c
336
sc->sc_chan[type][index].ch_callback(
sys/arch/arm/sunxi/sun4i_dma.c
337
sc->sc_chan[type][index].ch_callbackarg);
sys/arch/arm/sunxi/sun4i_dma.c
361
u_int index, type;
sys/arch/arm/sunxi/sun4i_dma.c
395
for (type = 0; type < DMA_MAX_TYPES; type++) {
sys/arch/arm/sunxi/sun4i_dma.c
397
struct sun4idma_channel *ch = &sc->sc_chan[type][index];
sys/arch/arm/sunxi/sun4i_dma.c
398
ch->ch_type = type;
sys/arch/arm/sunxi/sun4i_dma.c
400
ch->ch_irqmask = __BIT((type * 16) + (index * 2) + 1);
sys/arch/arm/sunxi/sun4i_dma.c
404
if (type == DMA_TYPE_NORMAL)
sys/arch/arm/sunxi/sun50i_a64_acodec.c
436
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/sunxi/sun50i_a64_acodec.c
443
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/sunxi/sun50i_a64_acodec.c
450
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/sunxi/sun50i_a64_acodec.c
460
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/sunxi/sun50i_a64_acodec.c
477
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/sunxi/sun50i_a64_acodec.c
493
di->type = AUDIO_MIXER_ENUM;
sys/arch/arm/sunxi/sun50i_a64_acodec.c
509
di->type = AUDIO_MIXER_ENUM;
sys/arch/arm/sunxi/sun50i_a64_acodec.c
521
di->type = AUDIO_MIXER_SET;
sys/arch/arm/sunxi/sun50i_a64_acodec.c
533
di->type = AUDIO_MIXER_SET;
sys/arch/arm/sunxi/sun6i_a31_codec.c
264
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/sunxi/sun6i_a31_codec.c
271
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/sunxi/sun6i_a31_codec.c
282
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/sunxi/sun8i_a83t_ccu.c
176
.type = SUNXI_CCU_NKMP,
sys/arch/arm/sunxi/sun8i_a83t_ccu.c
197
.type = SUNXI_CCU_NKMP,
sys/arch/arm/sunxi/sun8i_h3_codec.c
355
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/sunxi/sun8i_h3_codec.c
362
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/sunxi/sun8i_h3_codec.c
369
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/sunxi/sun8i_h3_codec.c
384
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/sunxi/sun8i_h3_codec.c
393
di->type = AUDIO_MIXER_SET;
sys/arch/arm/sunxi/sun8i_v3s_codec.c
334
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/sunxi/sun8i_v3s_codec.c
341
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/sunxi/sun8i_v3s_codec.c
348
di->type = AUDIO_MIXER_CLASS;
sys/arch/arm/sunxi/sun8i_v3s_codec.c
360
di->type = AUDIO_MIXER_VALUE;
sys/arch/arm/sunxi/sun8i_v3s_codec.c
369
di->type = AUDIO_MIXER_SET;
sys/arch/arm/sunxi/sun9i_a80_ccu.c
178
.type = SUNXI_CCU_NKMP,
sys/arch/arm/sunxi/sun9i_a80_ccu.c
199
.type = SUNXI_CCU_NKMP,
sys/arch/arm/sunxi/sunxi_ccu.c
119
if (clk->type == SUNXI_CCU_UNKNOWN)
sys/arch/arm/sunxi/sunxi_ccu.c
343
const char *type;
sys/arch/arm/sunxi/sunxi_ccu.c
348
if (clk->type == SUNXI_CCU_UNKNOWN)
sys/arch/arm/sunxi/sunxi_ccu.c
353
switch (clk->type) {
sys/arch/arm/sunxi/sunxi_ccu.c
354
case SUNXI_CCU_GATE: type = "gate"; break;
sys/arch/arm/sunxi/sunxi_ccu.c
355
case SUNXI_CCU_NM: type = "nm"; break;
sys/arch/arm/sunxi/sunxi_ccu.c
356
case SUNXI_CCU_NKMP: type = "nkmp"; break;
sys/arch/arm/sunxi/sunxi_ccu.c
357
case SUNXI_CCU_PREDIV: type = "prediv"; break;
sys/arch/arm/sunxi/sunxi_ccu.c
358
case SUNXI_CCU_DIV: type = "div"; break;
sys/arch/arm/sunxi/sunxi_ccu.c
359
case SUNXI_CCU_PHASE: type = "phase"; break;
sys/arch/arm/sunxi/sunxi_ccu.c
360
case SUNXI_CCU_FIXED_FACTOR: type = "fixed-factor"; break;
sys/arch/arm/sunxi/sunxi_ccu.c
361
case SUNXI_CCU_FRACTIONAL: type = "fractional"; break;
sys/arch/arm/sunxi/sunxi_ccu.c
362
case SUNXI_CCU_MUX: type = "mux"; break;
sys/arch/arm/sunxi/sunxi_ccu.c
363
default: type = "???"; break;
sys/arch/arm/sunxi/sunxi_ccu.c
372
type);
sys/arch/arm/sunxi/sunxi_ccu.h
132
.type = SUNXI_CCU_NKMP, \
sys/arch/arm/sunxi/sunxi_ccu.h
185
.type = SUNXI_CCU_NM, \
sys/arch/arm/sunxi/sunxi_ccu.h
236
.type = SUNXI_CCU_DIV, \
sys/arch/arm/sunxi/sunxi_ccu.h
296
.type = SUNXI_CCU_PREDIV, \
sys/arch/arm/sunxi/sunxi_ccu.h
328
.type = SUNXI_CCU_PHASE, \
sys/arch/arm/sunxi/sunxi_ccu.h
353
.type = SUNXI_CCU_FIXED_FACTOR, \
sys/arch/arm/sunxi/sunxi_ccu.h
395
.type = SUNXI_CCU_FRACTIONAL, \
sys/arch/arm/sunxi/sunxi_ccu.h
433
.type = SUNXI_CCU_MUX, \
sys/arch/arm/sunxi/sunxi_ccu.h
448
enum sunxi_ccu_clktype type;
sys/arch/arm/sunxi/sunxi_ccu.h
83
.type = SUNXI_CCU_GATE, \
sys/arch/arm/sunxi/sunxi_ccu_div.c
143
KASSERT(clk->type == SUNXI_CCU_DIV);
sys/arch/arm/sunxi/sunxi_ccu_div.c
191
KASSERT(clk->type == SUNXI_CCU_DIV);
sys/arch/arm/sunxi/sunxi_ccu_div.c
220
KASSERT(clk->type == SUNXI_CCU_DIV);
sys/arch/arm/sunxi/sunxi_ccu_div.c
46
KASSERT(clk->type == SUNXI_CCU_DIV);
sys/arch/arm/sunxi/sunxi_ccu_div.c
70
KASSERT(clk->type == SUNXI_CCU_DIV);
sys/arch/arm/sunxi/sunxi_ccu_fixed_factor.c
100
KASSERT(clk->type == SUNXI_CCU_FIXED_FACTOR);
sys/arch/arm/sunxi/sunxi_ccu_fixed_factor.c
58
KASSERT(clk->type == SUNXI_CCU_FIXED_FACTOR);
sys/arch/arm/sunxi/sunxi_ccu_fixed_factor.c
86
KASSERT(clk->type == SUNXI_CCU_FIXED_FACTOR);
sys/arch/arm/sunxi/sunxi_ccu_fractional.c
242
KASSERT(clk->type == SUNXI_CCU_FRACTIONAL);
sys/arch/arm/sunxi/sunxi_ccu_fractional.c
46
KASSERT(clk->type == SUNXI_CCU_FRACTIONAL);
sys/arch/arm/sunxi/sunxi_ccu_fractional.c
70
KASSERT(clk->type == SUNXI_CCU_FRACTIONAL);
sys/arch/arm/sunxi/sunxi_ccu_gate.c
46
KASSERT(clk->type == SUNXI_CCU_GATE);
sys/arch/arm/sunxi/sunxi_ccu_gate.c
63
KASSERT(clk->type == SUNXI_CCU_GATE);
sys/arch/arm/sunxi/sunxi_ccu_mux.c
47
KASSERT(clk->type == SUNXI_CCU_MUX);
sys/arch/arm/sunxi/sunxi_ccu_mux.c
76
KASSERT(clk->type == SUNXI_CCU_MUX);
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
144
KASSERT(clk->type == SUNXI_CCU_NKMP);
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
221
KASSERT(clk->type == SUNXI_CCU_NKMP);
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
47
KASSERT(clk->type == SUNXI_CCU_NKMP);
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
82
KASSERT(clk->type == SUNXI_CCU_NKMP);
sys/arch/arm/sunxi/sunxi_ccu_nm.c
197
KASSERT(clk->type == SUNXI_CCU_NM);
sys/arch/arm/sunxi/sunxi_ccu_nm.c
226
KASSERT(clk->type == SUNXI_CCU_NM);
sys/arch/arm/sunxi/sunxi_ccu_nm.c
46
KASSERT(clk->type == SUNXI_CCU_NM);
sys/arch/arm/sunxi/sunxi_ccu_nm.c
70
KASSERT(clk->type == SUNXI_CCU_NM);
sys/arch/arm/sunxi/sunxi_ccu_phase.c
123
KASSERT(clk->type == SUNXI_CCU_PHASE);
sys/arch/arm/sunxi/sunxi_ccu_phase.c
66
KASSERT(clk->type == SUNXI_CCU_PHASE);
sys/arch/arm/sunxi/sunxi_ccu_phase.c
92
KASSERT(clk->type == SUNXI_CCU_PHASE);
sys/arch/arm/sunxi/sunxi_ccu_prediv.c
104
KASSERT(clk->type == SUNXI_CCU_PREDIV);
sys/arch/arm/sunxi/sunxi_ccu_prediv.c
133
KASSERT(clk->type == SUNXI_CCU_PREDIV);
sys/arch/arm/sunxi/sunxi_ccu_prediv.c
48
KASSERT(clk->type == SUNXI_CCU_PREDIV);
sys/arch/arm/sunxi/sunxi_emac.c
1020
if (sc->type == EMAC_H3 || sc->type == EMAC_H6) {
sys/arch/arm/sunxi/sunxi_emac.c
1382
sc->type = of_compatible_lookup(phandle, compat_data)->value;
sys/arch/arm/sunxi/sunxi_emac.c
173
enum sunxi_emac_type type;
sys/arch/arm/sunxi/sunxi_gpio.c
567
const u_int type = be32toh(specifier[2]) & 0xf;
sys/arch/arm/sunxi/sunxi_gpio.c
569
switch (type) {
sys/arch/arm/sunxi/sunxi_gpio.c
587
__func__, type);
sys/arch/arm/sunxi/sunxi_gpio.c
642
int type = irqmode & GPIO_INTR_MODE_MASK;
sys/arch/arm/sunxi/sunxi_gpio.c
646
switch (type) {
sys/arch/arm/sunxi/sunxi_gpio.c
664
__func__, type);
sys/arch/arm/sunxi/sunxi_hdmi.c
334
size_t len, int type, int flags)
sys/arch/arm/sunxi/sunxi_hdmi.c
356
HDMI_WRITE(sc, SUNXI_HDMI_DDC_COMMAND_REG, type);
sys/arch/arm/sunxi/sunxi_hdmi.c
383
size_t len, int type, int flags)
sys/arch/arm/sunxi/sunxi_hdmi.c
401
__SHIFTIN(type, SUNXI_A31_HDMI_DDC_COMMAND_CMD));
sys/arch/arm/sunxi/sunxi_hdmi.c
425
size_t len, int type, int flags)
sys/arch/arm/sunxi/sunxi_hdmi.c
432
type, flags);
sys/arch/arm/sunxi/sunxi_hdmi.c
435
type, flags);
sys/arch/arm/sunxi/sunxi_i2s.c
117
enum sunxi_i2s_type type;
sys/arch/arm/sunxi/sunxi_i2s.c
126
.type = SUNXI_I2S_SUN4I,
sys/arch/arm/sunxi/sunxi_i2s.c
135
.type = SUNXI_I2S_SUN8I,
sys/arch/arm/sunxi/sunxi_i2s.c
204
#define I2S_TYPE(sc) ((sc)->sc_cfg->type)
sys/arch/arm/sunxi/sunxi_ts.c
228
if (id->type != WSMOUSE_ID_TYPE_UIDSTR)
sys/arch/arm/sunxi/sunxi_wdt.c
249
enum sunxi_wdt_type type;
sys/arch/arm/sunxi/sunxi_wdt.c
274
type = of_compatible_lookup(phandle, compat_data)->value;
sys/arch/arm/sunxi/sunxi_wdt.c
275
switch (type) {
sys/arch/arm/ti/am3_prcm.c
238
if (tclk->type != TI_PRCM_HWMOD)
sys/arch/arm/ti/omap4_prcm.c
266
if (tclk->type != TI_PRCM_HWMOD)
sys/arch/arm/ti/ti_edma.c
286
edma_channel_alloc(enum edma_type type, unsigned int drq,
sys/arch/arm/ti/ti_edma.c
294
KASSERT(type == EDMA_TYPE_DMA); /* QDMA not implemented */
sys/arch/arm/ti/ti_gpio.c
294
const u_int type = be32toh(specifier[2]) & 0xf;
sys/arch/arm/ti/ti_gpio.c
303
if ((type & (FDT_INTR_TYPE_LOW_LEVEL|FDT_INTR_TYPE_HIGH_LEVEL)) ==
sys/arch/arm/ti/ti_gpio.c
323
if ((type & FDT_INTR_TYPE_LOW_LEVEL) != 0)
sys/arch/arm/ti/ti_gpio.c
330
if ((type & FDT_INTR_TYPE_HIGH_LEVEL) != 0)
sys/arch/arm/ti/ti_gpio.c
337
if ((type & FDT_INTR_TYPE_POS_EDGE) != 0)
sys/arch/arm/ti/ti_gpio.c
344
if ((type & FDT_INTR_TYPE_NEG_EDGE) != 0)
sys/arch/arm/ti/ti_prcm.c
251
KASSERT(tc->type == TI_PRCM_HWMOD);
sys/arch/arm/ti/ti_prcm.h
107
KASSERT(tc->type == TI_PRCM_FIXED_FACTOR);
sys/arch/arm/ti/ti_prcm.h
122
KASSERT(tc->type == TI_PRCM_FIXED_FACTOR);
sys/arch/arm/ti/ti_prcm.h
128
.type = TI_PRCM_FIXED_FACTOR, .base.name = (_name), \
sys/arch/arm/ti/ti_prcm.h
139
KASSERT(tc->type == TI_PRCM_HWMOD);
sys/arch/arm/ti/ti_prcm.h
148
.type = TI_PRCM_HWMOD, .base.name = (_name), \
sys/arch/arm/ti/ti_prcm.h
67
enum ti_prcm_clktype type;
sys/arch/arm/ti/ti_prcm.h
93
KASSERT(tc->type == TI_PRCM_FIXED);
sys/arch/arm/ti/ti_prcm.h
99
.type = TI_PRCM_FIXED, .base.name = (_name), \
sys/arch/arm/xilinx/zynq_usb.c
67
enum zynq_usb_if type, enum zynq_usb_role role)
sys/arch/arm/xilinx/zynq_usb.c
77
sc->sc_iftype = type;
sys/arch/arm/xscale/ixp425_npe.c
132
uint32_t type;
sys/arch/arm/xscale/ixp425_npe.c
636
switch (downloadMap->entry[i].block.type) {
sys/arch/arm/xscale/ixp425_npe.c
654
device_xname(sc->sc_dev), downloadMap->entry[i].block.type);
sys/arch/arm/xscale/pxa2x0_apm.c
359
apm_handle_event(struct pxa2x0_apm_softc *sc, u_int type)
sys/arch/arm/xscale/pxa2x0_apm.c
364
switch (type) {
sys/arch/arm/xscale/pxa2x0_apm.c
372
(void)apm_record_event(sc, type);
sys/arch/arm/xscale/pxa2x0_apm.c
384
if (apm_record_event(sc, type)) {
sys/arch/arm/xscale/pxa2x0_apm.c
400
apm_record_event(sc, type);
sys/arch/arm/xscale/pxa2x0_apm.c
405
apm_record_event(sc, type);
sys/arch/arm/xscale/pxa2x0_apm.c
409
type));
sys/arch/arm/xscale/pxa2x0_apm.c
432
u_int type;
sys/arch/arm/xscale/pxa2x0_apm.c
438
if (apm_get_event(sc, &type) != 0)
sys/arch/arm/xscale/pxa2x0_apm.c
440
if (apm_handle_event(sc, type) != 0)
sys/arch/arm/xscale/pxa2x0_apm.c
584
apm_record_event(struct pxa2x0_apm_softc *sc, u_int type)
sys/arch/arm/xscale/pxa2x0_apm.c
593
KNOTE(&sc->sc_note, APM_EVENT_COMPOSE(type, apm_evindex));
sys/arch/arm/xscale/pxa2x0_intr.c
333
sa11x0_intr_establish(sa11x0_chipset_tag_t ic, int irq, int type, int level,
sys/arch/arm/xscale/pxa2x0_lcd.c
798
const struct pxa2x0_wsscreen_descr *type =
sys/arch/arm/xscale/pxa2x0_lcd.c
802
error = pxa2x0_lcd_new_screen(sc, type->depth, &scr);
sys/arch/arm/xscale/pxa2x0_lcd.c
810
scr->rinfo.ri_depth = type->depth;
sys/arch/arm/xscale/pxa2x0_lcd.c
821
rasops_init(&scr->rinfo, type->c.nrows, type->c.ncols);
sys/arch/arm/xscale/pxa2x0_pcic.c
302
pxapcic_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/arch/arm/xscale/pxa2x0_pcic.c
306
printf("pxapcic_socket_settype: type=%d",type);
sys/arch/arm/xscale/pxa2x0_pcic.c
308
switch (type) {
sys/arch/atari/atari/intr.c
107
intr_establish(int vector, int type, int pri, hw_ifun_t ih_fun, void *ih_arg)
sys/arch/atari/atari/intr.c
117
ih->ih_type = type;
sys/arch/atari/atari/intr.c
125
switch (type & (AUTO_VEC|USER_VEC)) {
sys/arch/atari/atari/intr.c
158
if ((type & FAST_VEC) != 0)
sys/arch/atari/atari/stalloc.c
121
mn->type = MNODE_USED;
sys/arch/atari/atari/stalloc.c
142
mn->type = MNODE_USED;
sys/arch/atari/atari/stalloc.c
167
if (next != NULL && next->type == MNODE_FREE) {
sys/arch/atari/atari/stalloc.c
172
mn->type = MNODE_FREE;
sys/arch/atari/atari/stalloc.c
178
if (prev != NULL && prev->type == MNODE_FREE) {
sys/arch/atari/atari/stalloc.c
182
if (mn->type != MNODE_FREE)
sys/arch/atari/atari/stalloc.c
187
mn->type = MNODE_USED;
sys/arch/atari/atari/stalloc.c
192
} else if (mn->type != MNODE_FREE) {
sys/arch/atari/atari/stalloc.c
198
if (next->type == MNODE_FREE) {
sys/arch/atari/atari/stalloc.c
200
mn->type = MNODE_FREE;
sys/arch/atari/atari/stalloc.c
203
if (prev->type == MNODE_FREE) {
sys/arch/atari/atari/stalloc.c
206
mn->type = MNODE_FREE;
sys/arch/atari/atari/stalloc.c
212
if (mn->type != MNODE_FREE) {
sys/arch/atari/atari/stalloc.c
222
mn->type = MNODE_FREE;
sys/arch/atari/atari/stalloc.h
45
u_char type; /* free, used */
sys/arch/atari/dev/fd.c
398
struct fd_types *type;
sys/arch/atari/dev/fd.c
412
type = &fdtypes[def_type];
sys/arch/atari/dev/fd.c
414
aprint_normal(": %s %d cyl, %d head, %d sec\n", type->descr,
sys/arch/atari/dev/fd.c
415
type->nblocks / (type->nsectors * type->nheads), type->nheads,
sys/arch/atari/dev/fd.c
416
type->nsectors);
sys/arch/atari/dev/fd.c
506
int type;
sys/arch/atari/dev/fd.c
509
type = FLP_TYPE(dev);
sys/arch/atari/dev/fd.c
514
sc->nheads = fdtypes[type].nheads;
sys/arch/atari/dev/fd.c
515
sc->nsectors = fdtypes[type].nsectors;
sys/arch/atari/dev/fd.c
516
sc->nblocks = fdtypes[type].nblocks;
sys/arch/atari/dev/fd.c
517
sc->density = fdtypes[type].density;
sys/arch/atari/dev/grfabs_fal.c
455
if (cm->type != vcm->type)
sys/arch/atari/dev/grfabs_fal.c
605
u_char type = CM_COLOR;
sys/arch/atari/dev/grfabs_fal.c
627
if ((cm->type = type) == CM_COLOR)
sys/arch/atari/dev/grfabs_reg.h
108
u_char type; /* what type of entries these are. */
sys/arch/atari/dev/grfabs_tt.c
214
if (cm->type != vcm->type)
sys/arch/atari/dev/grfabs_tt.c
377
u_char type = CM_COLOR;
sys/arch/atari/dev/grfabs_tt.c
394
type = CM_MONO;
sys/arch/atari/dev/grfabs_tt.c
413
if ((cm->type = type) == CM_COLOR)
sys/arch/atari/dev/hdfd.c
1041
type = fd->sc_type;
sys/arch/atari/dev/hdfd.c
1042
sec = fd->sc_blkno % type->seccyl;
sys/arch/atari/dev/hdfd.c
1043
head = sec / type->sectrac;
sys/arch/atari/dev/hdfd.c
1044
sec -= head * type->sectrac;
sys/arch/atari/dev/hdfd.c
1045
nblks = type->sectrac - sec;
sys/arch/atari/dev/hdfd.c
1054
block = (fd->sc_cylin * type->heads + head)
sys/arch/atari/dev/hdfd.c
1055
* type->sectrac + sec;
sys/arch/atari/dev/hdfd.c
1073
wrt_fdc_reg(fdctl, type->rate);
sys/arch/atari/dev/hdfd.c
1102
out_fdc(type->secsize); /* sector size */
sys/arch/atari/dev/hdfd.c
1104
out_fdc(type->gap1); /* gap1 size */
sys/arch/atari/dev/hdfd.c
1105
out_fdc(type->datalen); /* data length */
sys/arch/atari/dev/hdfd.c
1479
struct fd_type *type = fd->sc_type;
sys/arch/atari/dev/hdfd.c
1496
bp->b_blkno = (finfo->cyl * (type->sectrac * type->heads)
sys/arch/atari/dev/hdfd.c
1497
+ finfo->head * type->sectrac) * FDC_BSIZE / DEV_BSIZE;
sys/arch/atari/dev/hdfd.c
530
struct fd_type *type = fa->fa_deftype;
sys/arch/atari/dev/hdfd.c
539
if (type)
sys/arch/atari/dev/hdfd.c
540
aprint_normal(": %s %d cyl, %d head, %d sec\n", type->name,
sys/arch/atari/dev/hdfd.c
541
type->tracks, type->heads, type->sectrac);
sys/arch/atari/dev/hdfd.c
548
fd->sc_deftype = type;
sys/arch/atari/dev/hdfd.c
598
int type = FDTYPE(dev);
sys/arch/atari/dev/hdfd.c
600
if (type > (sizeof(fd_types) / sizeof(fd_types[0])))
sys/arch/atari/dev/hdfd.c
602
return type ? &fd_types[type - 1] : fd->sc_deftype;
sys/arch/atari/dev/hdfd.c
822
struct fd_type *type;
sys/arch/atari/dev/hdfd.c
827
type = fd_dev_to_type(fd, dev);
sys/arch/atari/dev/hdfd.c
828
if (type == NULL)
sys/arch/atari/dev/hdfd.c
832
fd->sc_type != type)
sys/arch/atari/dev/hdfd.c
835
fd->sc_type = type;
sys/arch/atari/dev/hdfd.c
957
struct fd_type *type;
sys/arch/atari/dev/kbd.c
899
kbd_getc(void *c, u_int *type, int *data)
sys/arch/atari/dev/kbd.c
906
*type = KBD_RELEASED(key) ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/arch/atari/dev/ms.c
134
mouse_soft(REL_MOUSE *rel_ms, int size, int type)
sys/arch/atari/dev/ms.c
147
switch (type) {
sys/arch/atari/dev/ms.c
196
if ((type != KBD_TIMEO_PKG) && ms->ms_emul3b && ms->ms_bq_idx != 0)
sys/arch/atari/dev/ms.c
249
if (mbut != 0 && (type != KBD_TIMEO_PKG)) {
sys/arch/atari/dev/ms.c
269
if (ms->ms_emul3b && ms->ms_bq_idx != 0 && (type != KBD_TIMEO_PKG)) {
sys/arch/atari/include/bus_funcs.h
105
#define __abs_nonsingle(type, sz, t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
106
(*(t)->__abs_opname(type,sz))(t, h, o, a, c)
sys/arch/atari/include/bus_funcs.h
107
#define __abs_set(type, sz, t, h, o, v, c) \
sys/arch/atari/include/bus_funcs.h
108
(*(t)->__abs_opname(type,sz))(t, h, o, v, c)
sys/arch/atari/include/isa_machdep.h
86
void *isa_intr_establish(isa_chipset_tag_t ic, int irq, int type,
sys/arch/atari/include/isa_machdep.h
88
void *isa_intr_establish_xname(isa_chipset_tag_t ic, int irq, int type,
sys/arch/atari/isa/isa_hades.c
122
isa_intr_alloc(isa_chipset_tag_t ic, int mask, int type, int *irq)
sys/arch/atari/isa/isa_hades.c
131
if (type != IST_EDGE)
sys/arch/atari/isa/isa_hades.c
152
isa_intr_establish(isa_chipset_tag_t ic, int irq, int type, int level, int (*ih_fun)(void *), void *ih_arg)
sys/arch/atari/isa/isa_hades.c
161
if (type != IST_EDGE)
sys/arch/atari/isa/isa_milan.c
176
isa_intr_alloc(isa_chipset_tag_t ic, int mask, int type, int *irq)
sys/arch/atari/isa/isa_milan.c
198
isa_intr_establish(isa_chipset_tag_t ic, int irq, int type, int level, int (*ih_fun)(void *), void *ih_arg)
sys/arch/atari/stand/tostools/libtos/exec_elf.h
398
#define ELF32_ST_INFO(bind,type) ((Elf_Byte)(((bind) << 4) | ((type) & 0xf)))
sys/arch/atari/stand/tostools/libtos/exec_elf.h
437
#define ELF32_R_INFO(sym, type) (((sym) << 8) + (unsigned char)(type))
sys/arch/atari/vme/if_we_vme.c
138
uint8_t sum, reg, type, hwr;
sys/arch/atari/vme/if_we_vme.c
225
type = bus_space_read_1(asict, asich, WE_CARD_ID);
sys/arch/atari/vme/if_we_vme.c
227
if (type != WE_TYPE_SMC8216C && type != WE_TYPE_SMC8216T)
sys/arch/bebox/bebox/ipi_bebox.c
83
bebox_establish_ipi(int type, int level, void *ih_args)
sys/arch/bebox/bebox/machdep.c
185
lookup_bootinfo(int type)
sys/arch/bebox/bebox/machdep.c
192
if (bt->type == type)
sys/arch/bebox/bebox/pic_bebox.c
80
bebox_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/bebox/include/bootinfo.h
34
int type;
sys/arch/bebox/include/isa_machdep.h
55
#define isa_intr_establish(ic, irq, type, level, fun, arg) \
sys/arch/bebox/include/isa_machdep.h
56
genppc_isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/bebox/include/isa_machdep.h
57
#define isa_intr_establish_xname(ic, irq, type, level, fun, arg, xname) \
sys/arch/bebox/include/isa_machdep.h
58
genppc_isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/bebox/include/isa_machdep.h
61
#define isa_intr_alloc(ic, mask, type, irqp) \
sys/arch/bebox/include/isa_machdep.h
62
genppc_isa_intr_alloc(ic, isa_pic, mask, type, irqp)
sys/arch/bebox/stand/boot/boot.c
106
btinfo_console.common.type = BTINFO_CONSOLE;
sys/arch/bebox/stand/boot/boot.c
115
btinfo_clock.common.type = BTINFO_CLOCK;
sys/arch/bebox/stand/boot/boot.c
212
btinfo_rootdevice.common.type = BTINFO_ROOTDEVICE;
sys/arch/bebox/stand/boot/boot.c
99
btinfo_memory.common.type = BTINFO_MEMORY;
sys/arch/bebox/stand/boot/fd.c
356
int type;
sys/arch/bebox/stand/boot/fd.c
360
for (type = 0; type < FDTYPE_MAX; type++) {
sys/arch/bebox/stand/boot/fd.c
361
un->un_type = &fdd_types[type];
sys/arch/bebox/stand/boot/pci.c
168
PCIAddress(int slotnum, u_int bar, int type)
sys/arch/bebox/stand/boot/pci.c
178
PCI_MAPREG_TYPE(pslot->regs[BAR_BASE + bar]) != type)
sys/arch/cesfic/cesfic/sic6351.c
70
sic_enable_int(int nr, int type, int icod, int level, int vector)
sys/arch/cesfic/cesfic/sic6351.c
77
= 0x80 | (type << 4) | level;
sys/arch/cobalt/cobalt/interrupt.c
243
icu_intr_establish(int irq, int type, int ipl, int (*func)(void *), void *arg)
sys/arch/cobalt/cobalt/interrupt.c
248
if (irq >= NICU_INT || irq == IRQ_SLAVE || type == IST_NONE)
sys/arch/cobalt/cobalt/interrupt.c
253
icu_intrtab[irq].intr_type = type;
sys/arch/cobalt/cobalt/interrupt.c
258
if (type == icu_intrtab[irq].intr_type)
sys/arch/cobalt/cobalt/machdep.c
472
lookup_bootinfo(unsigned int type)
sys/arch/cobalt/cobalt/machdep.c
485
printf("Type %d @%p\n", bt->type, (void *)(intptr_t)bt);
sys/arch/cobalt/cobalt/machdep.c
486
if (bt->type == type)
sys/arch/cobalt/include/bootinfo.h
37
uint32_t type;
sys/arch/cobalt/stand/boot/bootinfo.c
51
bi->next = bi->type = 0;
sys/arch/cobalt/stand/boot/bootinfo.c
62
void bi_add(void *new, int type, int size)
sys/arch/cobalt/stand/boot/bootinfo.c
71
type, size, (u_long)bi_next));
sys/arch/cobalt/stand/boot/bootinfo.c
75
bi->type = type;
sys/arch/cobalt/stand/boot/bootinfo.c
80
bi->next = bi->type = 0;
sys/arch/dreamcast/dev/g2/aica.c
655
md->type = AUDIO_MIXER_VALUE;
sys/arch/dreamcast/dev/g2/aica.c
663
md->type = AUDIO_MIXER_VALUE;
sys/arch/dreamcast/dev/g2/aica.c
671
md->type = AUDIO_MIXER_CLASS;
sys/arch/dreamcast/dev/maple/mkbd.c
299
mkbd_cngetc(void *v, u_int *type, int *data)
sys/arch/dreamcast/dev/maple/mkbd.c
316
*type = (key & UP_KEYCODE_FLAG) ?
sys/arch/dreamcast/dev/pvr.c
394
pvr_alloc_screen(void *v, const struct wsscreen_descr *type,
sys/arch/dreamcast/include/bus_funcs.h
80
#define __dbs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
84
(*(t)->__dbs_opname(type,sz))((t)->dbs_cookie, h, o, a, c); \
sys/arch/dreamcast/include/bus_funcs.h
87
#define __dbs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/dreamcast/include/bus_funcs.h
90
(*(t)->__dbs_opname(type,sz))((t)->dbs_cookie, h, o, v, c); \
sys/arch/emips/emips/machdep.c
479
lookup_bootinfo(int type)
sys/arch/emips/emips/machdep.c
490
if (bt->type == type)
sys/arch/emips/include/bootinfo.h
43
int type;
sys/arch/emips/stand/common/bootinfo.c
49
bi->next = bi->type = 0;
sys/arch/emips/stand/common/bootinfo.c
57
void bi_add(void *new, int type, int size)
sys/arch/emips/stand/common/bootinfo.c
66
bi->type = type;
sys/arch/emips/stand/common/bootinfo.c
71
bi->next = bi->type = 0;
sys/arch/epoc32/dev/epockbd.c
166
u_int type;
sys/arch/epoc32/dev/epockbd.c
169
epockbd_cngetc(v, &type, &data);
sys/arch/epoc32/dev/epockbd.c
171
wskbd_input(sc->sc_wskbddev, type, data);
sys/arch/epoc32/dev/epockbd.c
184
epockbd_cngetc(void *conscookie, u_int *type, int *data)
sys/arch/epoc32/dev/epockbd.c
197
*type = 0;
sys/arch/epoc32/dev/epockbd.c
220
*type = WSCONS_EVENT_KEY_DOWN;
sys/arch/epoc32/dev/epockbd.c
222
*type = WSCONS_EVENT_KEY_UP;
sys/arch/epoc32/dev/etna.c
459
etna_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/arch/epoc32/epoc32/machdep.c
182
while (btinfo->type != BTINFO_NONE) {
sys/arch/epoc32/epoc32/machdep.c
183
switch (btinfo->type) {
sys/arch/epoc32/include/bootinfo.h
35
int type;
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
344
common->type = BTINFO_MODEL;
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
352
common->type = BTINFO_VIDEO;
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
368
common->type = BTINFO_MEMORY;
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
381
common->type = BTINFO_MEMORY;
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
389
common->type = BTINFO_BOOTARGS;
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
395
common->type = BTINFO_NONE;
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
404
FindBootInfoL(struct btinfo_common *bootinfo, int type)
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
409
while (entry->type != BTINFO_NONE) {
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
410
if (entry->type == type)
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
429
while (entry->type != BTINFO_NONE) {
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
430
if (entry->type == BTINFO_MEMORY) {
sys/arch/epoc32/stand/e32boot/include/elf.h
1126
#define ELF32_ST_INFO(bind,type) ELF_ST_INFO(bind,type)
sys/arch/epoc32/stand/e32boot/include/elf.h
1131
#define ELF64_ST_INFO(bind,type) ELF_ST_INFO(bind,type)
sys/arch/epoc32/stand/e32boot/include/elf.h
546
#define ELF_ST_INFO(bind,type) ((Elf_Byte)(((bind) << 4) | \
sys/arch/epoc32/stand/e32boot/include/elf.h
547
((type) & 0xf)))
sys/arch/epoc32/stand/e32boot/include/elf.h
588
#define ELF32_R_INFO(sym, type) (((sym) << 8) + (unsigned char)(type))
sys/arch/epoc32/stand/e32boot/include/elf.h
604
#define ELF64_R_INFO(sym,type) (((sym) << 32) + (type))
sys/arch/evbarm/g42xxeb/g42xxeb_kmkbd.c
337
kmkbd_cngetc(void *v, u_int type, int *data)
sys/arch/evbarm/g42xxeb/g42xxeb_kmkbd.c
344
if ((val != -1) && kmkbd_decode(t, val, type, data))
sys/arch/evbarm/g42xxeb/gb225_slhci.c
109
type = sl811hs_find(&sc);
sys/arch/evbarm/g42xxeb/gb225_slhci.c
113
return type >= 0;
sys/arch/evbarm/g42xxeb/gb225_slhci.c
82
int type;
sys/arch/evbarm/g42xxeb/obio.c
292
int type, int (*func)(void *), void *arg)
sys/arch/evbarm/g42xxeb/obio.c
310
if (type < 0 || IST_EDGE_BOTH < type)
sys/arch/evbarm/g42xxeb/obio.c
311
panic("Bad interrupt type for obio (%d)", type);
sys/arch/evbarm/g42xxeb/obio.c
329
(reg & ~(7<<sft)) | (ist_code[type] << sft));
sys/arch/evbarm/mini2440/mini2440_bootinfo.h
40
int type;
sys/arch/evbarm/mini2440/mini2440_machdep.c
1050
lookup_bootinfo(int type)
sys/arch/evbarm/mini2440/mini2440_machdep.c
1059
if (bt->type == type)
sys/arch/evbarm/mini2440/mini2440_machdep.c
254
static void *lookup_bootinfo(int type);
sys/arch/evbarm/netwalker/netwalker_btn.c
256
if (id->type != WSMOUSE_ID_TYPE_UIDSTR)
sys/arch/evbarm/stand/boot2440/main.c
520
bi_add(void *new, int type, int size)
sys/arch/evbarm/stand/boot2440/main.c
529
bi->type = type;
sys/arch/evbarm/stand/boot2440/main.c
85
static void bi_add(void *new, int type, int size);
sys/arch/evbarm/tsarm/isa/isa_machdep.c
105
isa_intr_alloc(isa_chipset_tag_t ic, int mask, int type, int *irq)
sys/arch/evbarm/tsarm/isa/isa_machdep.c
109
if (type == IST_NONE)
sys/arch/evbarm/tsarm/isa/isa_machdep.c
145
isa_intr_establish(isa_chipset_tag_t ic, int irq, int type, int level, int (*ih_fun)(void *), void *ih_arg)
sys/arch/evbcf/include/disklabel.h
81
u_short type; /* 2 */
sys/arch/evbmips/loongson/dev/kb3310.c
181
sc->sc_sensor[i].type = ykbec_table[i].type;
sys/arch/evbmips/loongson/dev/kb3310.c
61
int type;
sys/arch/evbmips/loongson/generic2e_machdep.c
245
generic2e_isa_intr_establish(void *v, int irq, int type, int level,
sys/arch/evbmips/loongson/yeeloong_machdep.c
369
lemote_isa_intr_establish(void *v, int irq, int type, int level,
sys/arch/evbmips/malta/pci/pcib.c
486
pcib_isa_intr_establish(void *v, int irq, int type, int level,
sys/arch/evbmips/malta/pci/pcib.c
492
if (irq >= ICU_LEN || irq == 2 || type == IST_NONE)
sys/arch/evbmips/malta/pci/pcib.c
497
my_sc->sc_intrtab[irq].intr_type = type;
sys/arch/evbmips/malta/pci/pcib.c
502
if (type == my_sc->sc_intrtab[irq].intr_type)
sys/arch/evbmips/malta/pci/pcib.c
521
my_sc->sc_intrtab[irq].intr_type = type;
sys/arch/evbmips/malta/pci/pcib.c
559
pcib_isa_intr_alloc(void *v, int mask, int type, int *irq)
sys/arch/evbmips/malta/pci/pcib.c
564
if (type == IST_NONE)
sys/arch/evbmips/malta/pci/pcib.c
586
if (type != my_sc->sc_intrtab[i].intr_type)
sys/arch/evbmips/rmixl/machdep.c
732
rmixl_puthex32(map->entry[i].type);
sys/arch/evbmips/rmixl/machdep.c
823
if (map->entry[i].type != RMIXLFW_MMAP_TYPE_RAM)
sys/arch/evbmips/sbmips/machdep.c
229
uint64_t start, len, type;
sys/arch/evbmips/sbmips/machdep.c
238
while (cfe_enummem(idx, 0, &start, &len, &type) == 0) {
sys/arch/evbmips/sbmips/machdep.c
241
idx, start, len, (type == CFE_MI_AVAILABLE) ?
sys/arch/evbmips/sbmips/machdep.c
243
if ((type == CFE_MI_AVAILABLE) &&
sys/arch/evbmips/sbmips/rtc.c
457
time_readrtc(int chan, int slaveaddr, int devaddr, int type)
sys/arch/evbmips/sbmips/rtc.c
470
if (type == SMB_2BYTE_ADDR) {
sys/arch/evbmips/sbmips/rtc.c
500
if (type == SMB_2BYTE_ADDR)
sys/arch/evbmips/sbmips/rtc.c
530
time_writertc(int chan, int slaveaddr, int devaddr, int type, int b)
sys/arch/evbmips/sbmips/rtc.c
550
if (type == SMB_2BYTE_ADDR)
sys/arch/evbmips/sbmips/rtc.c
560
if (type == SMB_2BYTE_ADDR)
sys/arch/evbmips/sbmips/rtc.c
572
if (type == SMB_2BYTE_ADDR)
sys/arch/evbmips/sbmips/zbbus.c
125
zbbus_entity_type_name(enum zbbus_entity_type type)
sys/arch/evbmips/sbmips/zbbus.c
128
switch (type) {
sys/arch/evbmips/sbmips/zbbus.c
56
static const char *zbbus_entity_type_name(enum zbbus_entity_type type);
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
180
cfe_xuint_t *type)
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
198
*type = xiocb.plist.xiocb_meminfo.mi_type;
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
190
uint64_t *type);
sys/arch/evbppc/nintendo/dev/ahb.c
176
hollywood_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/evbppc/nintendo/dev/ahb.c
212
hollywood_establish_irq(struct pic_ops *pic, int irq, int type, int pri)
sys/arch/evbppc/nintendo/dev/ahb.c
224
latte_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/evbppc/nintendo/dev/ahb.c
272
latte_establish_irq(struct pic_ops *pic, int irq, int type, int pri)
sys/arch/evbppc/nintendo/dev/bwai.c
166
di->type = AUDIO_MIXER_CLASS;
sys/arch/evbppc/nintendo/dev/bwai.c
173
di->type = AUDIO_MIXER_CLASS;
sys/arch/evbppc/nintendo/dev/bwai.c
181
di->type = AUDIO_MIXER_VALUE;
sys/arch/evbppc/nintendo/dev/bwai.c
191
di->type = AUDIO_MIXER_VALUE;
sys/arch/evbppc/nintendo/dev/si.c
421
si_set_report(void *cookie, int type, void *data, int len)
sys/arch/evbppc/nintendo/dev/si.c
427
si_get_report(void *cookie, int type, void *data, int len)
sys/arch/evbppc/nintendo/ipi_latte.c
79
ipi_latte_establish_ipi(int type, int level, void *ih_args)
sys/arch/evbppc/nintendo/ipi_latte.c
86
intr_establish_xname(WIIU_PI_IRQ_MB_CPU(n), type, level,
sys/arch/evbppc/nintendo/pic_pi.c
87
pi_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/evbppc/pmppc/pic_cpc700.c
81
cpc700_pic_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/evbsh3/ap_ms104_sh4/ap_ms104_sh4_space.c
115
m = MODE(type, IO);
sys/arch/evbsh3/ap_ms104_sh4/ap_ms104_sh4_space.c
118
m = MODE(type, MEM);
sys/arch/evbsh3/ap_ms104_sh4/ap_ms104_sh4_space.c
121
m = MODE(type, ATTR);
sys/arch/evbsh3/ap_ms104_sh4/ap_ms104_sh4_space.c
81
ap_ms104_sh4_iomem_add_mapping(bus_addr_t bpa, bus_size_t size, int type,
sys/arch/evbsh3/ap_ms104_sh4/ap_ms104_sh4_space.c
88
int io_type = type & ~AP_MS104_SH4_IOMEM_PCMCIA_8BIT;
sys/arch/evbsh3/ap_ms104_sh4/shpcmcia.c
859
shpcmcia_chip_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/arch/evbsh3/include/bus_funcs.h
100
#define __bs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/evbsh3/include/bus_funcs.h
103
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c); \
sys/arch/evbsh3/include/bus_funcs.h
93
#define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
97
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c); \
sys/arch/evbsh3/t_sh7706lan/t_sh7706lan_space.c
115
m = MODE(type, IO);
sys/arch/evbsh3/t_sh7706lan/t_sh7706lan_space.c
118
m = MODE(type, MEM);
sys/arch/evbsh3/t_sh7706lan/t_sh7706lan_space.c
121
m = MODE(type, ATTR);
sys/arch/evbsh3/t_sh7706lan/t_sh7706lan_space.c
81
t_sh7706lan_iomem_add_mapping(bus_addr_t bpa, bus_size_t size, int type,
sys/arch/evbsh3/t_sh7706lan/t_sh7706lan_space.c
88
int io_type = type & ~T_SH7706LAN_IOMEM_PCMCIA_8BIT;
sys/arch/ews4800mips/dev/ewskbd.c
405
u_int type;
sys/arch/ews4800mips/dev/ewskbd.c
410
type = WSCONS_EVENT_KEY_UP;
sys/arch/ews4800mips/dev/ewskbd.c
412
type = WSCONS_EVENT_KEY_DOWN;
sys/arch/ews4800mips/dev/ewskbd.c
414
wskbd_input(sc->sc_dc->wskbddev, type, (key & EWSKBD_KEY_MASK));
sys/arch/ews4800mips/dev/ewskbd.c
554
ewskbd_zsc_wskbd_getc(void *cookie, u_int *type, int *data)
sys/arch/ews4800mips/dev/ewskbd.c
561
*type = WSCONS_EVENT_KEY_UP;
sys/arch/ews4800mips/dev/ewskbd.c
563
*type = WSCONS_EVENT_KEY_DOWN;
sys/arch/ews4800mips/ews4800mips/cons_machdep.c
81
cons.type = CONS_ROM;
sys/arch/ews4800mips/ews4800mips/cons_machdep.h
51
enum console_type type;
sys/arch/ews4800mips/ews4800mips/tr2.c
153
cons.type = CONS_FB_KSEG2;
sys/arch/ews4800mips/ews4800mips/tr2.c
168
cons.type = CONS_SIO1;
sys/arch/ews4800mips/ews4800mips/tr2.c
177
cons.type = CONS_SIO2;
sys/arch/ews4800mips/ews4800mips/tr2a.c
219
cons.type = CONS_FB_KSEG2;
sys/arch/ews4800mips/ews4800mips/tr2a.c
235
cons.type = CONS_SIO1;
sys/arch/ews4800mips/ews4800mips/tr2a.c
245
cons.type = CONS_SIO2;
sys/arch/ews4800mips/include/bus.h
469
#define __ebs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
473
(*(t)->__ebs_opname(type,sz))((t)->ebs_cookie, h, o, a, c); \
sys/arch/ews4800mips/include/bus.h
476
#define __ebs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/ews4800mips/include/bus.h
479
(*(t)->__ebs_opname(type,sz))((t)->ebs_cookie, h, o, v, c); \
sys/arch/ews4800mips/sbd/fb_sbdio.c
333
_fb_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookie,
sys/arch/ews4800mips/sbd/kbms_sbdio.c
442
kbd_cngetc(void *arg, u_int *type, int *data)
sys/arch/ews4800mips/sbd/kbms_sbdio.c
450
*type = v & 0x80 ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/arch/ews4800mips/stand/common/boot_device.c
100
__nvsram_type_d(int *type, int *unit)
sys/arch/ews4800mips/stand/common/boot_device.c
103
*type = *(uint8_t *)0xbb023030;
sys/arch/ews4800mips/stand/common/boot_device.c
108
__nvsram_type_e(int *type, int *unit)
sys/arch/ews4800mips/stand/common/boot_device.c
111
*type = *(uint8_t *)0xbe493030;
sys/arch/ews4800mips/stand/common/boot_device.c
63
boot_device(int *type, int *unit, int *fd_format)
sys/arch/ews4800mips/stand/common/boot_device.c
70
return tab[i](type, unit);
sys/arch/ews4800mips/stand/common/boot_device.c
72
return __nvsram_type_e(type, unit);
sys/arch/ews4800mips/stand/common/boot_device.c
76
__nvsram_type_a(int *type, int *unit)
sys/arch/ews4800mips/stand/common/boot_device.c
79
*type = NVSRAM_BOOTDEV_HARDDISK;
sys/arch/ews4800mips/stand/common/boot_device.c
84
__nvsram_type_b(int *type, int *unit)
sys/arch/ews4800mips/stand/common/boot_device.c
87
*type = NVSRAM_BOOTDEV_HARDDISK;
sys/arch/ews4800mips/stand/common/boot_device.c
92
__nvsram_type_c(int *type, int *unit)
sys/arch/ews4800mips/stand/common/boot_device.c
95
*type = NVSRAM_BOOTDEV_HARDDISK;
sys/arch/ews4800mips/stand/common/console.c
103
cons.type = CONS_SIO1;
sys/arch/ews4800mips/stand/common/console.c
109
cons.type = CONS_SIO2;
sys/arch/ews4800mips/stand/common/console.c
124
cons.type = CONS_ROM;
sys/arch/ews4800mips/stand/common/console.c
142
return cons.type;
sys/arch/ews4800mips/stand/common/console.c
150
if (cons.type == CONS_SIO1 || cons.type == CONS_SIO2) {
sys/arch/ews4800mips/stand/common/console.c
69
cons.type = CONS_FB_KSEG2;
sys/arch/ews4800mips/stand/common/console.c
76
cons.type = CONS_SIO1;
sys/arch/ews4800mips/stand/common/console.c
82
cons.type = CONS_SIO2;
sys/arch/ews4800mips/stand/common/console.c
96
cons.type = CONS_FB_KSEG2;
sys/arch/ews4800mips/stand/common/console.h
76
enum console_type type;
sys/arch/ews4800mips/stand/common/disk.c
102
if (__disk.type == NVSRAM_BOOTDEV_HARDDISK) {
sys/arch/ews4800mips/stand/common/disk.c
104
} else if (__disk.type == NVSRAM_BOOTDEV_FLOPPYDISK) {
sys/arch/ews4800mips/stand/common/disk.c
115
printf("unknown disk type %d.\n", __disk.type);
sys/arch/ews4800mips/stand/common/disk.c
214
__func__, __disk.type, __disk.unit, __disk.offset,
sys/arch/ews4800mips/stand/common/disk.c
56
int type; /* FD/HD */
sys/arch/ews4800mips/stand/common/disk.c
76
device_attach(int type, int unit, int partition)
sys/arch/ews4800mips/stand/common/disk.c
80
boot_device(&__disk.type, &__disk.unit, &__disk.format);
sys/arch/ews4800mips/stand/common/disk.c
82
if (type >= 0)
sys/arch/ews4800mips/stand/common/disk.c
83
__disk.type = type;
sys/arch/ews4800mips/stand/common/disk.c
95
__disk.type, __disk.unit, __disk.partition);
sys/arch/ews4800mips/stand/common/disk.c
99
DEVICE_CAPABILITY.active_device = type;
sys/arch/hp300/dev/ct.c
263
int i, id, n, type, canstream;
sys/arch/hp300/dev/ct.c
265
type = canstream = 0;
sys/arch/hp300/dev/ct.c
309
type = CT9144;
sys/arch/hp300/dev/ct.c
315
type = CT88140;
sys/arch/hp300/dev/ct.c
320
sc->sc_type = type;
sys/arch/hp300/dev/ct.c
372
ctopen(dev_t dev, int flag, int type, struct lwp *l)
sys/arch/hp300/dev/diofb.c
458
diofb_alloc_screen(void *v, const struct wsscreen_descr *type,
sys/arch/hp300/dev/dnkbd.c
1070
dnkbd_cngetc(void *v, u_int *type, int *data)
sys/arch/hp300/dev/dnkbd.c
1096
dnkbd_decode(dat, type, data);
sys/arch/hp300/dev/dnkbd.c
660
dnkbd_decode(int keycode, u_int *type, int *key)
sys/arch/hp300/dev/dnkbd.c
662
*type = (keycode & DNKEY_RELEASE) ?
sys/arch/hp300/dev/dnkbd.c
698
u_int type;
sys/arch/hp300/dev/dnkbd.c
702
dnkbd_decode(dat, &type, &key);
sys/arch/hp300/dev/dnkbd.c
716
if (type == WSCONS_EVENT_KEY_UP)
sys/arch/hp300/dev/dnkbd.c
730
wskbd_input(sc->sc_wskbddev, type, key);
sys/arch/hp300/dev/rd.c
1377
int type = sc->sc_type;
sys/arch/hp300/dev/rd.c
1383
lp->d_nsectors = rdidentinfo[type].ri_nbpt;
sys/arch/hp300/dev/rd.c
1384
lp->d_ntracks = rdidentinfo[type].ri_ntpc;
sys/arch/hp300/dev/rd.c
1385
lp->d_ncylinders = rdidentinfo[type].ri_ncyl;
sys/arch/hp300/dev/rd.c
1386
lp->d_secperunit = rdidentinfo[type].ri_nblocks;
sys/arch/hp300/dev/rd.c
1389
strlcpy(lp->d_typename, rdidentinfo[type].ri_desc,
sys/arch/hp300/hp300/autoconf.c
499
int type, ctlr, slave, punit, part;
sys/arch/hp300/hp300/autoconf.c
509
type = B_TYPE(bootdev);
sys/arch/hp300/hp300/autoconf.c
515
scsiboot = (type == 4); /* sd or cd */
sys/arch/hp300/hp300/autoconf.c
516
hpibboot = (type == 0 || type == 2); /* ct/rd */
sys/arch/hp300/hp300/autoconf.c
517
netboot = (type == 6); /* le - special */
sys/arch/hp300/hp300/autoconf.c
554
if ((type == 0 && !device_is_a(booted_device, "ct")) ||
sys/arch/hp300/hp300/autoconf.c
555
(type == 2 && !device_is_a(booted_device, "rd"))) {
sys/arch/hp300/hp300/autoconf.c
558
device_xname(booted_device), type);
sys/arch/hp300/hp300/autoconf.c
576
if (type == 4 &&
sys/arch/hp300/hp300/autoconf.c
581
device_xname(booted_device), type);
sys/arch/hp300/hp300/autoconf.c
588
printf("WARNING: UNKNOWN BOOT DEVICE TYPE = %d\n", type);
sys/arch/hp300/hp300/autoconf.c
641
int type, ctlr;
sys/arch/hp300/hp300/autoconf.c
675
type = 2;
sys/arch/hp300/hp300/autoconf.c
677
type = 4;
sys/arch/hp300/hp300/autoconf.c
679
type = 4; /* not a major, but for MAKEBOOTDEV() */
sys/arch/hp300/hp300/autoconf.c
692
switch (type) {
sys/arch/hp300/hp300/autoconf.c
705
bootdev = MAKEBOOTDEV(type,
sys/arch/hp300/hp300/autoconf.c
723
bootdev = MAKEBOOTDEV(type,
sys/arch/hp300/hp300/machdep.c
495
lookup_bootinfo(int type)
sys/arch/hp300/hp300/machdep.c
506
if (bt->type == type)
sys/arch/hp300/include/bootinfo.h
34
int type;
sys/arch/hp300/include/bootinfo.h
54
int type;
sys/arch/hp300/stand/common/autoconf.c
149
int sc, type, ctlr, slave, punit;
sys/arch/hp300/stand/common/autoconf.c
156
type = rom2mdev[(rp->msus >> 24) & 0x1F];
sys/arch/hp300/stand/common/autoconf.c
161
bdev = MAKEBOOTDEV(type, ctlr, slave, punit, 0);
sys/arch/hp300/stand/common/exec.c
63
bt->common.type = BTINFO_MAGIC;
sys/arch/hp300/stand/common/scsireg.h
276
u_char type;
sys/arch/hp300/stand/common/sd.c
114
ss->sc_type = inqbuf.type & SID_TYPE;
sys/arch/hp300/stand/inst/inst.c
286
uint8_t type;
sys/arch/hp300/stand/inst/inst.c
338
pp->p_fstype = np->type;
sys/arch/hpc/hpc/config_hook.c
103
type, id);
sys/arch/hpc/hpc/config_hook.c
105
TAILQ_REMOVE(&hook_lists[type], prev_hr, hr_link);
sys/arch/hpc/hpc/config_hook.c
113
"hooked(%p)", type, id, prev_hr);
sys/arch/hpc/hpc/config_hook.c
123
hr->hr_type = type;
sys/arch/hpc/hpc/config_hook.c
129
TAILQ_INSERT_HEAD(&hook_lists[type], hr, hr_link);
sys/arch/hpc/hpc/config_hook.c
133
if (cr->hr_type == type && cr->hr_id == id) {
sys/arch/hpc/hpc/config_hook.c
138
type, id, cr->hr_mode);
sys/arch/hpc/hpc/config_hook.c
172
__config_hook_call(int type, long id, void *msg, int reverse)
sys/arch/hpc/hpc/config_hook.c
178
if (type < 0 || CONFIG_HOOK_NTYPES <= type) {
sys/arch/hpc/hpc/config_hook.c
184
TAILQ_FOREACH_REVERSE(hr, &hook_lists[type], hook_list,
sys/arch/hpc/hpc/config_hook.c
187
res = (*hr->hr_func)(hr->hr_ctx, type, id,msg);
sys/arch/hpc/hpc/config_hook.c
190
TAILQ_FOREACH(hr, &hook_lists[type], hr_link) {
sys/arch/hpc/hpc/config_hook.c
192
res = (*hr->hr_func)(hr->hr_ctx, type, id,msg);
sys/arch/hpc/hpc/config_hook.c
200
config_connect(int type, long id)
sys/arch/hpc/hpc/config_hook.c
206
if (type < 0 || CONFIG_HOOK_NTYPES <= type) {
sys/arch/hpc/hpc/config_hook.c
213
cr->hr_type = type;
sys/arch/hpc/hpc/config_hook.c
221
TAILQ_FOREACH(hr, &hook_lists[type], hr_link) {
sys/arch/hpc/hpc/config_hook.c
225
"shared hook, type=%d id=%ld", type, id);
sys/arch/hpc/hpc/config_hook.c
73
config_hook(int type, long id, enum config_hook_mode mode,
sys/arch/hpc/hpc/config_hook.c
80
if (type < 0 || CONFIG_HOOK_NTYPES <= type) {
sys/arch/hpc/hpc/config_hook.c
86
TAILQ_FOREACH(hr, &hook_lists[type], hr_link) {
sys/arch/hpc/hpc/config_hook.c
91
type, id, hr->hr_mode);
sys/arch/hpc/hpc/platid_gen/gram.y
162
new_node(type, val, ptr1, ptr2, link)
sys/arch/hpc/hpc/platid_gen/gram.y
163
int type;
sys/arch/hpc/hpc/platid_gen/gram.y
171
res->type = type;
sys/arch/hpc/hpc/platid_gen/gram.y
189
switch (n->type) {
sys/arch/hpc/hpc/platid_gen/platid_gen.c
284
switch (np->type) {
sys/arch/hpc/hpc/platid_gen/platid_gen.c
337
fprintf(stderr, "internal error (type=%d)\n", np->type);
sys/arch/hpc/hpc/platid_gen/platid_gen.h
38
int type;
sys/arch/hpc/include/config_hook.h
59
config_hook_call(int type, long id, void *msg)
sys/arch/hpc/include/config_hook.h
61
return __config_hook_call(type, id, msg, 0);
sys/arch/hpc/include/config_hook.h
65
config_hook_call_reverse(int type, long id, void *msg)
sys/arch/hpc/include/config_hook.h
67
return __config_hook_call(type, id, msg, 1);
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
104
type = reverse ? BIFB_D2_M2L_3 : BIFB_D2_M2L_0;
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
107
type = reverse ? BIFB_D4_M2L_F : BIFB_D4_M2L_0;
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
110
type = reverse ? BIFB_D8_FF : BIFB_D8_00;
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
113
type = reverse ? BIFB_D16_FFFF : BIFB_D16_0000;
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
117
return type;
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
98
int type;
sys/arch/hpc/stand/hpcboot/framebuffer.h
53
int type(void);
sys/arch/hpc/stand/hpcboot/hpcmenu.cpp
342
bi.fb_type = fb.type();
sys/arch/hpcarm/dev/j720kbd.c
181
int type, key;
sys/arch/hpcarm/dev/j720kbd.c
192
type = *p & 0x80 ? 0 : 1;
sys/arch/hpcarm/dev/j720kbd.c
195
hpckbd_input(scc->scc_hpckbd, type, key);
sys/arch/hpcarm/dev/j720lcd.c
128
j720lcd_param(void *ctx, int type, long id, void *msg)
sys/arch/hpcarm/dev/j720lcd.c
136
switch (type) {
sys/arch/hpcarm/dev/j720lcd.c
195
if (type == CONFIG_HOOK_SET)
sys/arch/hpcarm/dev/j720lcd.c
218
j720lcd_power(void *ctx, int type, long id, void *msg)
sys/arch/hpcarm/dev/j720lcd.c
225
if (type != CONFIG_HOOK_POWERCONTROL ||
sys/arch/hpcarm/dev/j720pwr.c
187
j720pwr_suspend_hook(void *ctx, int type, long id, void *msg)
sys/arch/hpcarm/dev/j720pwr.c
191
if (type != CONFIG_HOOK_BUTTONEVENT ||
sys/arch/hpcarm/dev/j720pwr.c
213
j720pwr_event_hook(void *ctx, int type, long id, void *msg)
sys/arch/hpcarm/dev/j720pwr.c
218
if (type != CONFIG_HOOK_PMEVENT ||
sys/arch/hpcarm/dev/j720pwr.c
237
j720pwr_apm_getpower_hook(void *ctx, int type, long id, void *msg)
sys/arch/hpcarm/dev/j720pwr.c
242
if (type != CONFIG_HOOK_GET)
sys/arch/hpcarm/dev/wzero3_keypad.c
431
int type = state ? WSCONS_EVENT_KEY_DOWN :
sys/arch/hpcarm/dev/wzero3_keypad.c
439
n = pckbd_encode(type, key, data);
sys/arch/hpcarm/dev/wzero3_keypad.c
443
wskbd_input(sc->sc_wskbddev, type, key);
sys/arch/hpcarm/dev/wzero3_tp.c
479
if (id->type != WSMOUSE_ID_TYPE_UIDSTR)
sys/arch/hpcmips/dev/ite8181.c
470
ite8181_hardpower(void *ctx, int type, long id, void *msg)
sys/arch/hpcmips/dev/m38813c.c
182
int datain, type, key;
sys/arch/hpcmips/dev/m38813c.c
221
type = 0;
sys/arch/hpcmips/dev/m38813c.c
227
type = 1;
sys/arch/hpcmips/dev/m38813c.c
230
hpckbd_input(scc->scc_hpckbd, type, key);
sys/arch/hpcmips/dev/mq200.c
289
mq200_hardpower(void *ctx, int type, long id, void *msg)
sys/arch/hpcmips/dev/mq200debug.c
513
#define I(type) ((type)>>MQ200_FPC_TYPE_SHIFT)
sys/arch/hpcmips/dev/optpoint.c
311
optpoint_power(void *arg, int type, long id, void *msg)
sys/arch/hpcmips/dev/plumpcmcia.c
791
plumpcmcia_chip_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/arch/hpcmips/dev/plumpcmcia.c
802
if (type == PCMCIA_IFTYPE_IO)
sys/arch/hpcmips/dev/plumpcmcia.c
809
((type == PCMCIA_IFTYPE_IO) ? "io" : "mem"), reg);
sys/arch/hpcmips/dev/plumpcmcia.c
968
plumpcmcia_power(void *ctx, int type, long id, void *msg)
sys/arch/hpcmips/dev/plumvideo.c
754
plumvideo_power(void *ctx, int type, long id, void *msg)
sys/arch/hpcmips/dev/tc5165buf.c
224
int i, j, type, val;
sys/arch/hpcmips/dev/tc5165buf.c
243
type = mask & rpat ? 1 : 0;
sys/arch/hpcmips/dev/tc5165buf.c
247
type, val);
sys/arch/hpcmips/dev/teliosio.c
132
teliosio_event(void *ctx, int type, long id, void *msg)
sys/arch/hpcmips/dev/teliosio.c
136
switch (type) {
sys/arch/hpcmips/include/bus.h
283
#define __bs_nonsingle(type, sz, t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
284
(*__bs_ops(t).__bs_opname(type,sz))(t, h, o, a, c)
sys/arch/hpcmips/include/bus.h
285
#define __bs_set(type, sz, t, h, o, v, c) \
sys/arch/hpcmips/include/bus.h
286
(*__bs_ops(t).__bs_opname(type,sz))(t, h, o, v, c)
sys/arch/hpcmips/isa/isa_machdep.c
215
isa_intr_establish(isa_chipset_tag_t ic, int intr, int type, int level,
sys/arch/hpcmips/isa/isa_machdep.c
274
isa_intr_alloc(isa_chipset_tag_t ic, int mask, int type, int *irq)
sys/arch/hpcmips/isa/plumisa_machdep.c
147
isa_intr_establish(isa_chipset_tag_t ic, int irq, int type, int level,
sys/arch/hpcmips/isa/plumisa_machdep.c
152
sc->sc_ih = plum_intr_establish(sc->sc_pc, sc->sc_irq, type, level,
sys/arch/hpcmips/isa/plumisa_machdep.c
166
isa_intr_alloc(isa_chipset_tag_t ic, int mask, int type, int *irq)
sys/arch/hpcmips/stand/pbsdboot/main.c
1175
pref.fb_type = fb_settings[0].type;
sys/arch/hpcmips/stand/pbsdboot/main.c
387
int reverse_fb_type(int type);
sys/arch/hpcmips/stand/pbsdboot/main.c
402
int reverse_fb_type(int type)
sys/arch/hpcmips/stand/pbsdboot/main.c
417
if (types[i].type0 == type) {
sys/arch/hpcmips/stand/pbsdboot/main.c
420
if (types[i].type1 == type) {
sys/arch/hpcmips/stand/pbsdboot/main.c
424
debug_printf(TEXT("reverse_fb_type(): unknown type %d\n"), type);
sys/arch/hpcmips/stand/pbsdboot/main.c
425
return (type);
sys/arch/hpcmips/stand/pbsdboot/main.c
527
fb_settings[0].type = pref.fb_type;
sys/arch/hpcmips/stand/pbsdboot/main.c
540
pref.fb_type = fb_settings[0].type;
sys/arch/hpcmips/stand/pbsdboot/main.c
818
bi->fb_type = fbs->type;
sys/arch/hpcmips/stand/pbsdboot/main.c
839
int type, width, height, linebytes;
sys/arch/hpcmips/stand/pbsdboot/main.c
847
if (fb_types[i].type == fbs->type) break;
sys/arch/hpcmips/stand/pbsdboot/main.c
85
int type;
sys/arch/hpcmips/stand/pbsdboot/main.c
874
type = SendDlgItemMessage(hWnd, IDC_FB_TYPE,
sys/arch/hpcmips/stand/pbsdboot/main.c
876
type = SendDlgItemMessage(hWnd, IDC_FB_TYPE,
sys/arch/hpcmips/stand/pbsdboot/main.c
877
CB_GETITEMDATA, type, 0);
sys/arch/hpcmips/stand/pbsdboot/main.c
890
fbs->type = type;
sys/arch/hpcmips/stand/pbsdboot/main.c
897
type, width, height, linebytes,
sys/arch/hpcmips/stand/pbsdboot/main.c
93
int type;
sys/arch/hpcmips/stand/pbsdboot/main.c
941
idx, (LPARAM)fb_types[i].type);
sys/arch/hpcmips/stand/pbsdboot/pbsdboot.h
158
int msg_printf(UINT type, LPWSTR caption, LPWSTR lpszFmt, ...);
sys/arch/hpcmips/stand/pbsdboot/print.c
76
msg_printf(UINT type, LPWSTR caption, LPWSTR lpszFmt, ...)
sys/arch/hpcmips/stand/pbsdboot/print.c
85
return MessageBox(hDlgMain, buffer, caption, type);
sys/arch/hpcmips/tx/tx3912video.c
206
tx3912video_power(void *ctx, int type, long id, void *msg)
sys/arch/hpcmips/tx/txcom.c
1148
txcom_dcd_hook(void *arg, int type, long id, void *msg)
sys/arch/hpcmips/tx/txcom.c
1164
txcom_cts_hook(void *arg, int type, long id, void *msg)
sys/arch/hpcmips/vr/cmu.c
130
vrcmu_hardpower(void *ctx, int type, long id, void *msg)
sys/arch/hpcmips/vr/vraiu.c
436
if (mc->type != AUDIO_MIXER_VALUE)
sys/arch/hpcmips/vr/vraiu.c
476
di->type = AUDIO_MIXER_VALUE;
sys/arch/hpcmips/vr/vraiu.c
484
di->type = AUDIO_MIXER_CLASS;
sys/arch/hpcmips/vr/vrc4172pwm.c
385
vrc4172pwm_event(void *ctx, int type, long id, void *msg)
sys/arch/hpcmips/vr/vrc4172pwm.c
390
if (type == CONFIG_HOOK_POWERCONTROL
sys/arch/hpcmips/vr/vrc4172pwm.c
394
} else if (type == CONFIG_HOOK_GET
sys/arch/hpcmips/vr/vrc4172pwm.c
398
} else if (type == CONFIG_HOOK_GET
sys/arch/hpcmips/vr/vrc4172pwm.c
402
} else if (type == CONFIG_HOOK_GET
sys/arch/hpcmips/vr/vrc4172pwm.c
409
} else if (type == CONFIG_HOOK_SET
sys/arch/hpcmips/vr/vrc4172pwm.c
415
type, id));
sys/arch/hpcmips/vr/vrc4172pwm.c
427
vrc4172pwm_pmevent(void *ctx, int type, long id, void *msg)
sys/arch/hpcmips/vr/vrc4172pwm.c
432
if (type != CONFIG_HOOK_PMEVENT)
sys/arch/hpcmips/vr/vrled.c
358
vrled_event(void *ctx, int type, long id, void *msg)
sys/arch/hpcmips/vr/vrled.c
363
if (type != CONFIG_HOOK_SET
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
503
enum hd64461pcmcia_event_type type)
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
510
if (type == EVENT_NONE)
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
528
if ((ch->ch_attached && (type == EVENT_INSERT)) ||
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
529
(!ch->ch_attached && (type == EVENT_REMOVE))) {
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
534
ch->ch_attached = (type == EVENT_INSERT);
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
536
pe->pe_type = type;
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
834
hd64461pcmcia_chip_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
847
if (type == PCMCIA_IFTYPE_IO)
sys/arch/hpcsh/dev/hd64461/hd64461video.c
1174
hd64461video_power(void *ctx, int type, long id, void *msg)
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
405
enum hd64465pcmcia_event_type type)
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
412
if (type == EVENT_NONE)
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
430
if ((ch->ch_attached && (type == EVENT_INSERT)) ||
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
431
(!ch->ch_attached && (type == EVENT_REMOVE))) {
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
436
ch->ch_attached = (type == EVENT_INSERT);
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
438
pe->pe_type = type;
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
685
hd64465pcmcia_chip_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
697
if (type == PCMCIA_IFTYPE_IO)
sys/arch/hpcsh/dev/j6x0lcd.c
331
j6x0lcd_param(void *ctx, int type, long id, void *msg)
sys/arch/hpcsh/dev/j6x0lcd.c
337
switch (type) {
sys/arch/hpcsh/dev/j6x0lcd.c
387
j6x0lcd_power(void *ctx, int type, long id, void *msg)
sys/arch/hpcsh/dev/j6x0lcd.c
392
if (type != CONFIG_HOOK_POWERCONTROL
sys/arch/hpcsh/dev/j6x0pwr.c
288
j6x0pwr_apm_getpower_hook(void *ctx, int type, long id, void *msg)
sys/arch/hpcsh/dev/j6x0pwr.c
294
if (type != CONFIG_HOOK_GET)
sys/arch/hpcsh/dev/pfckbd.c
220
int row, type, val;
sys/arch/hpcsh/dev/pfckbd.c
231
type = mask & data ? /* up */ 0 : /* down */ 1;
sys/arch/hpcsh/dev/pfckbd.c
232
DPRINTF("(%2d, %2d) %d \n", row, column, type);
sys/arch/hpcsh/dev/pfckbd.c
235
hpckbd_input(pc->pc_hpckbd, type, val);
sys/arch/hpcsh/dev/psh3lcd.c
298
psh3lcd_param(void *ctx, int type, long id, void *msg)
sys/arch/hpcsh/dev/psh3lcd.c
303
switch (type) {
sys/arch/hpcsh/dev/psh3lcd.c
352
psh3lcd_power(void *ctx, int type, long id, void *msg)
sys/arch/hpcsh/dev/psh3lcd.c
357
if (type != CONFIG_HOOK_POWERCONTROL ||
sys/arch/hpcsh/dev/psh3pwr.c
223
psh3pwr_apm_getpower_hook(void *ctx, int type, long id, void *msg)
sys/arch/hpcsh/dev/psh3pwr.c
229
if (type != CONFIG_HOOK_GET)
sys/arch/hpcsh/include/bus_funcs.h
85
#define __hbs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
89
(*(t)->__hbs_opname(type,sz))((t)->hbs_cookie, h, o, a, c); \
sys/arch/hpcsh/include/bus_funcs.h
92
#define __hbs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/hpcsh/include/bus_funcs.h
95
(*(t)->__hbs_opname(type,sz))((t)->hbs_cookie, h, o, v, c); \
sys/arch/hppa/dev/apic.c
333
printf("type=%x ", sc->sc_int_tbl[i].type);
sys/arch/hppa/dev/mongoose.c
278
mg_intr_establish(void *v, int irq, int type, int pri,
sys/arch/hppa/dev/mongoose.c
289
if (type != IST_LEVEL && type != IST_EDGE) {
sys/arch/hppa/dev/mongoose.c
291
type);
sys/arch/hppa/dev/mongoose.c
316
*pic |= (type == IST_LEVEL) << irq;
sys/arch/hppa/dev/mongoose.c
347
mg_intr_check(void *v, int irq, int type)
sys/arch/hppa/dev/pdc.c
593
pdcproc_pim(int type, struct pdc_pim *pp, void **buf, size_t *sz)
sys/arch/hppa/dev/pdc.c
598
err = pdc_call((iodcio_t)pdc, 0, PDC_PIM, type, &pdcret1, data,
sys/arch/hppa/dev/pdc.c
816
unsigned long hptsize, unsigned long type)
sys/arch/hppa/dev/pdc.c
821
hptsize, type);
sys/arch/hppa/gsc/harmony.c
632
if (cp->type != AUDIO_MIXER_VALUE)
sys/arch/hppa/gsc/harmony.c
648
if (cp->type != AUDIO_MIXER_VALUE)
sys/arch/hppa/gsc/harmony.c
664
if (cp->type != AUDIO_MIXER_ENUM)
sys/arch/hppa/gsc/harmony.c
670
if (cp->type != AUDIO_MIXER_VALUE)
sys/arch/hppa/gsc/harmony.c
680
if (cp->type != AUDIO_MIXER_ENUM)
sys/arch/hppa/gsc/harmony.c
690
if (cp->type != AUDIO_MIXER_ENUM)
sys/arch/hppa/gsc/harmony.c
715
if (cp->type != AUDIO_MIXER_VALUE)
sys/arch/hppa/gsc/harmony.c
730
if (cp->type != AUDIO_MIXER_ENUM)
sys/arch/hppa/gsc/harmony.c
736
if (cp->type != AUDIO_MIXER_VALUE)
sys/arch/hppa/gsc/harmony.c
751
if (cp->type != AUDIO_MIXER_ENUM)
sys/arch/hppa/gsc/harmony.c
757
if (cp->type != AUDIO_MIXER_VALUE)
sys/arch/hppa/gsc/harmony.c
766
if (cp->type != AUDIO_MIXER_ENUM)
sys/arch/hppa/gsc/harmony.c
772
if (cp->type != AUDIO_MIXER_ENUM)
sys/arch/hppa/gsc/harmony.c
789
dip->type = AUDIO_MIXER_VALUE;
sys/arch/hppa/gsc/harmony.c
798
dip->type = AUDIO_MIXER_ENUM;
sys/arch/hppa/gsc/harmony.c
811
dip->type = AUDIO_MIXER_VALUE;
sys/arch/hppa/gsc/harmony.c
820
dip->type = AUDIO_MIXER_ENUM;
sys/arch/hppa/gsc/harmony.c
833
dip->type = AUDIO_MIXER_VALUE;
sys/arch/hppa/gsc/harmony.c
842
dip->type = AUDIO_MIXER_ENUM;
sys/arch/hppa/gsc/harmony.c
855
dip->type = AUDIO_MIXER_ENUM;
sys/arch/hppa/gsc/harmony.c
871
dip->type = AUDIO_MIXER_CLASS;
sys/arch/hppa/gsc/harmony.c
877
dip->type = AUDIO_MIXER_CLASS;
sys/arch/hppa/gsc/harmony.c
883
dip->type = AUDIO_MIXER_CLASS;
sys/arch/hppa/gsc/harmony.c
889
dip->type = AUDIO_MIXER_CLASS;
sys/arch/hppa/hppa/autoconf.c
642
hppa_mod_info(int type, int sv)
sys/arch/hppa/hppa/autoconf.c
650
if (mi->mi_type == type && mi->mi_sv == sv) {
sys/arch/hppa/hppa/autoconf.c
656
snprintf(fakeid, sizeof(fakeid), "type %x, sv %x", type, sv);
sys/arch/hppa/hppa/db_interface.c
101
kdbprinttrap(type, code);
sys/arch/hppa/hppa/db_interface.c
115
db_trap(type, code);
sys/arch/hppa/hppa/db_interface.c
73
kdbprinttrap(int type, int code)
sys/arch/hppa/hppa/db_interface.c
76
if (type >= trap_types || type < 0)
sys/arch/hppa/hppa/db_interface.c
77
db_printf("type %d", type);
sys/arch/hppa/hppa/db_interface.c
79
db_printf("%s", trap_type[type]);
sys/arch/hppa/hppa/db_interface.c
87
kdb_trap(int type, int code, db_regs_t *regs)
sys/arch/hppa/hppa/db_interface.c
91
switch (type) {
sys/arch/hppa/hppa/kgdb_hppa.c
72
kgdb_signal(int type)
sys/arch/hppa/hppa/kgdb_hppa.c
76
switch (type) {
sys/arch/hppa/hppa/machdep.c
2036
lookup_bootinfo(int type)
sys/arch/hppa/hppa/machdep.c
2043
if (bic->type == type)
sys/arch/hppa/hppa/trap.c
1033
if (type & T_USER) {
sys/arch/hppa/hppa/trap.c
1035
user_backtrace(frame, l, type);
sys/arch/hppa/hppa/trap.c
1061
ksi.ksi_trap = type;
sys/arch/hppa/hppa/trap.c
1076
user_backtrace(frame, l, type);
sys/arch/hppa/hppa/trap.c
1081
ksi.ksi_trap = type;
sys/arch/hppa/hppa/trap.c
1109
panic ("trap: unimplemented \'%s\' (%d)", tts, type);
sys/arch/hppa/hppa/trap.c
1118
if (type & T_USER)
sys/arch/hppa/hppa/trap.c
1122
frame_sanity_check(__func__, __LINE__, type, frame, l);
sys/arch/hppa/hppa/trap.c
1124
frame_sanity_check(__func__, __LINE__, type,
sys/arch/hppa/hppa/trap.c
230
trap_kdebug(int type, int code, struct trapframe *frame)
sys/arch/hppa/hppa/trap.c
248
handled = kgdb_trap(type, frame);
sys/arch/hppa/hppa/trap.c
253
handled = kdb_trap(type, code, frame);
sys/arch/hppa/hppa/trap.c
295
type = T_RECOVERY;
sys/arch/hppa/hppa/trap.c
352
user_backtrace(struct trapframe *tf, struct lwp *l, int type)
sys/arch/hppa/hppa/trap.c
360
if (type >= 0)
sys/arch/hppa/hppa/trap.c
362
p->p_pid, p->p_comm, type & ~T_USER);
sys/arch/hppa/hppa/trap.c
404
frame_sanity_check(const char *func, int line, int type, struct trapframe *tf,
sys/arch/hppa/hppa/trap.c
445
if ((type & ~T_USER) == T_INTERRUPT)
sys/arch/hppa/hppa/trap.c
470
sanity_string, func, line, type, sanity_frame, sanity_lwp,
sys/arch/hppa/hppa/trap.c
570
trap(int type, struct trapframe *frame)
sys/arch/hppa/hppa/trap.c
591
trapnum = type & ~T_USER;
sys/arch/hppa/hppa/trap.c
631
if (&type >= &emergency_stack_start &&
sys/arch/hppa/hppa/trap.c
632
&type < &emergency_stack_end &&
sys/arch/hppa/hppa/trap.c
633
type != T_IBREAK && STWM_R1_D_SR0_SP(opcode)) {
sys/arch/hppa/hppa/trap.c
644
frame_sanity_check(__func__, __LINE__, type, frame, l);
sys/arch/hppa/hppa/trap.c
656
type, tts, space, va, frame->tf_iisq_head,
sys/arch/hppa/hppa/trap.c
680
const bool user = (type & T_USER) != 0;
sys/arch/hppa/hppa/trap.c
681
switch (type) {
sys/arch/hppa/hppa/trap.c
751
if (type & T_USER) {
sys/arch/hppa/hppa/trap.c
753
user_backtrace(frame, l, type);
sys/arch/hppa/hppa/trap.c
758
ksi.ksi_trap = type;
sys/arch/hppa/hppa/trap.c
763
if (trap_kdebug(type, va, frame))
sys/arch/hppa/hppa/trap.c
765
else if (type == T_DATALIGN)
sys/arch/hppa/hppa/trap.c
768
panic ("trap: no debugger for \"%s\" (%d)", tts, type);
sys/arch/hppa/hppa/trap.c
834
ksi.ksi_trap = type;
sys/arch/hppa/hppa/trap.c
843
ksi.ksi_trap = type;
sys/arch/hppa/hppa/trap.c
850
user_backtrace(frame, l, type);
sys/arch/hppa/hppa/trap.c
855
ksi.ksi_trap = type;
sys/arch/hppa/hppa/trap.c
862
user_backtrace(frame, l, type);
sys/arch/hppa/hppa/trap.c
867
ksi.ksi_trap = type;
sys/arch/hppa/hppa/trap.c
874
user_backtrace(frame, l, type);
sys/arch/hppa/hppa/trap.c
879
ksi.ksi_trap = type;
sys/arch/hppa/hppa/trap.c
890
ksi.ksi_trap = type;
sys/arch/hppa/hppa/trap.c
900
ksi.ksi_trap = type;
sys/arch/hppa/hppa/trap.c
988
if (!(type & T_USER) && space == HPPA_SID_KERNEL)
sys/arch/hppa/include/bootinfo.h
35
int type;
sys/arch/hppa/include/db_machdep.h
72
#define IS_BREAKPOINT_TRAP(type, code) (type != T_RECOVERY)
sys/arch/hppa/include/db_machdep.h
73
#define IS_WATCHPOINT_TRAP(type, code) 0
sys/arch/hppa/include/pdc.h
570
uint8_t type; /* 0x8b */
sys/arch/hppa/include/som.h
94
u_int type : 16;
sys/arch/hppa/stand/boot/bootinfo.c
53
bi_add(struct btinfo_common *what, int type, size_t size)
sys/arch/hppa/stand/boot/bootinfo.c
57
what->type = type;
sys/arch/hppa/stand/boot/bootinfo.h
53
#define BI_ADD(x, type, size) bi_add((struct btinfo_common *)(x), type, size)
sys/arch/hppa/stand/common/dev_hppa.c
141
int type, unit;
sys/arch/hppa/stand/common/dev_hppa.c
145
type = 0;
sys/arch/hppa/stand/common/dev_hppa.c
149
type = 1;
sys/arch/hppa/stand/common/dev_hppa.c
153
type = 2;
sys/arch/hppa/stand/common/dev_hppa.c
157
type = 0;
sys/arch/hppa/stand/common/dev_hppa.c
161
dev = bootdev = MAKEBOOTDEV(type, 0, 0, unit, 0);
sys/arch/i386/eisa/eisa_machdep.c
198
int type, int level, int (*func)(void *), void *arg)
sys/arch/i386/eisa/eisa_machdep.c
222
return intr_establish(irq, pic, pin, type, level, func, arg, false);
sys/arch/i386/i386/db_interface.c
191
kdbprinttrap(int type, int code)
sys/arch/i386/i386/db_interface.c
193
db_printf("kernel: %s trap ", (type & T_USER) ? "user" : "supervisor");
sys/arch/i386/i386/db_interface.c
194
type &= ~T_USER;
sys/arch/i386/i386/db_interface.c
195
if (type >= trap_types || type < 0)
sys/arch/i386/i386/db_interface.c
196
db_printf("type %d", type);
sys/arch/i386/i386/db_interface.c
198
db_printf("%s", trap_type[type]);
sys/arch/i386/i386/db_interface.c
206
kdb_trap(int type, int code, db_regs_t *regs)
sys/arch/i386/i386/db_interface.c
216
switch (type) {
sys/arch/i386/i386/db_interface.c
228
kdbprinttrap(type, code);
sys/arch/i386/i386/db_interface.c
262
db_trap(type, code);
sys/arch/i386/i386/gdt.c
108
setsegment(sd, base, limit, type, dpl, def32, gran);
sys/arch/i386/i386/gdt.c
98
setgdt(int slot, const void *base, size_t limit, int type, int dpl, int def32,
sys/arch/i386/i386/machdep.c
1009
int type, int dpl, int def32, int gran)
sys/arch/i386/i386/machdep.c
1014
sd->sd_type = type;
sys/arch/i386/i386/machdep.c
1222
bootspace.segs[i].type = BTSEG_TEXT;
sys/arch/i386/i386/machdep.c
1228
bootspace.segs[i].type = BTSEG_RODATA;
sys/arch/i386/i386/machdep.c
1234
bootspace.segs[i].type = BTSEG_DATA;
sys/arch/i386/i386/machdep.c
313
#define RELOC(type, x) ((type)((vaddr_t)(x) - KERNBASE))
sys/arch/i386/i386/machdep.c
356
if (bi->common.type == BTINFO_MODULELIST) {
sys/arch/i386/i386/machdep.c
971
setgate(struct gate_descriptor *gd, void *func, int args, int type, int dpl,
sys/arch/i386/i386/machdep.c
979
gd->gd_type = type;
sys/arch/i386/i386/mtrr_k6.c
177
mtrrp->type = MTRR_TYPE_UC;
sys/arch/i386/i386/mtrr_k6.c
179
mtrrp->type = MTRR_TYPE_WC;
sys/arch/i386/i386/mtrr_k6.c
181
mtrrp->type = MTRR_TYPE_WT;
sys/arch/i386/i386/mtrr_k6.c
204
if (mtrrp->type == MTRR_TYPE_UC)
sys/arch/i386/i386/mtrr_k6.c
206
else if (mtrrp->type == MTRR_TYPE_WC)
sys/arch/i386/i386/mtrr_k6.c
240
switch (mtrrp->type) {
sys/arch/i386/i386/mtrr_k6.c
287
((mtrr_var[i].type != mtrrp->type) ||
sys/arch/i386/i386/multiboot.c
134
#define RELOC(type, x) ((type)((vaddr_t)(x) - KERNBASE))
sys/arch/i386/i386/multiboot.c
242
bootinfo_add(struct btinfo_common *item, int type, int len)
sys/arch/i386/i386/multiboot.c
248
item->type = type;
sys/arch/i386/i386/multiboot.c
277
#define RELOC(type, x) ((type)((vaddr_t)(x) - KERNBASE))
sys/arch/i386/i386/multiboot.c
645
bie->type = BIM_Memory;
sys/arch/i386/i386/multiboot.c
647
bie->type = BIM_Reserved;
sys/arch/i386/i386/trap.c
229
const int type = frame->tf_trapno;
sys/arch/i386/i386/trap.c
232
printf("fatal %s", trap_type[type]);
sys/arch/i386/i386/trap.c
234
printf("unknown trap %d", type);
sys/arch/i386/i386/trap.c
236
printf(" in %s mode\n", (type & T_USER) ? "user" : "supervisor");
sys/arch/i386/i386/trap.c
240
type, frame->tf_err, frame->tf_eip, frame->tf_cs, frame->tf_eflags,
sys/arch/i386/i386/trap.c
292
int type, error = 0;
sys/arch/i386/i386/trap.c
306
type = frame->tf_trapno;
sys/arch/i386/i386/trap.c
313
if (type != T_NMI && !KERNELMODE(frame->tf_cs)) {
sys/arch/i386/i386/trap.c
314
type |= T_USER;
sys/arch/i386/i386/trap.c
332
if ((type == T_PROTFLT || type == T_PAGEFLT) &&
sys/arch/i386/i386/trap.c
334
if ((*dtrace_trap_func)(frame, type)) {
sys/arch/i386/i386/trap.c
340
switch (type) {
sys/arch/i386/i386/trap.c
346
if (kdb_trap(type, 0, frame))
sys/arch/i386/i386/trap.c
348
if (kgdb_trap(type, frame))
sys/arch/i386/i386/trap.c
353
if (type == T_BPTFLT && kgdb_disconnected()) {
sys/arch/i386/i386/trap.c
354
printf("kgdb: ignored %s\n", trap_type[type]);
sys/arch/i386/i386/trap.c
392
ksi.ksi_trap = type;
sys/arch/i386/i386/trap.c
478
switch (type) {
sys/arch/i386/i386/trap.c
514
switch (type) {
sys/arch/i386/i386/trap.c
542
switch (type) {
sys/arch/i386/i386/trap.c
617
if (type == T_PAGEFLT && va >= VM_MIN_KERNEL_ADDRESS)
sys/arch/i386/i386/trap.c
648
while (type == T_PAGEFLT) {
sys/arch/i386/i386/trap.c
693
if (type == T_PAGEFLT) {
sys/arch/i386/i386/trap.c
703
ksi.ksi_trap = type & ~T_USER;
sys/arch/i386/i386/trap.c
757
ksi.ksi_trap = type & ~T_USER;
sys/arch/i386/i386/trap.c
761
} else if (type == (T_BPTFLT|T_USER))
sys/arch/i386/i386/trap.c
775
if (kgdb_trap(type, frame))
sys/arch/i386/i386/trap.c
777
if (kdb_trap(type, 0, frame))
sys/arch/i386/i386/trap.c
786
if ((type & T_USER) == 0)
sys/arch/i386/i386/trap.c
792
ksi.ksi_trap = type & ~T_USER;
sys/arch/i386/include/asm.h
109
ALIGN_TEXT; .globl X ## name; .type X ## name,@function; X ## name:
sys/arch/i386/include/asm.h
114
ALIGN_TEXT; .globl X/**/name; .type X/**/name,@function; X/**/name:
sys/arch/i386/include/asm.h
121
ALIGN_TEXT; .globl _X ## name; .type _X ## name,@function; _X ## name:
sys/arch/i386/include/asm.h
126
ALIGN_TEXT; .globl _X/**/name; .type _X/**/name,@function; _X/**/name:
sys/arch/i386/include/asm.h
97
.text; _ALIGN_TEXT; .globl x; .type x,@function; x:
sys/arch/i386/include/db_machdep.h
76
#define IS_BREAKPOINT_TRAP(type, code) ((type) == T_BPTFLT)
sys/arch/i386/include/db_machdep.h
77
#define IS_WATCHPOINT_TRAP(type, code) ((type) == T_TRCTRAP && (code) & 15)
sys/arch/i386/include/multiboot2.h
114
multiboot_uint16_t type;
sys/arch/i386/include/multiboot2.h
121
multiboot_uint16_t type;
sys/arch/i386/include/multiboot2.h
129
multiboot_uint16_t type;
sys/arch/i386/include/multiboot2.h
140
multiboot_uint16_t type;
sys/arch/i386/include/multiboot2.h
148
multiboot_uint16_t type;
sys/arch/i386/include/multiboot2.h
156
multiboot_uint16_t type;
sys/arch/i386/include/multiboot2.h
166
multiboot_uint16_t type;
sys/arch/i386/include/multiboot2.h
173
multiboot_uint16_t type;
sys/arch/i386/include/multiboot2.h
198
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
205
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
211
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
218
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
227
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
235
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
244
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
263
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
277
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
317
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
327
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
342
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
349
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
356
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
366
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
373
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
380
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
387
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
396
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
403
multiboot_uint32_t type;
sys/arch/i386/include/multiboot2.h
410
multiboot_uint32_t type;
sys/arch/i386/include/xen/hypercalls.h
551
HYPERVISOR_vm_assist(unsigned int cmd, unsigned int type)
sys/arch/i386/include/xen/hypercalls.h
556
_hypercall(__HYPERVISOR_vm_assist, _harg("1" (cmd), "2" (type)),
sys/arch/i386/pnpbios/pnpbios.c
1037
type = (tag >> 3) & 0x0f;
sys/arch/i386/pnpbios/pnpbios.c
1041
if (type == 0 ||
sys/arch/i386/pnpbios/pnpbios.c
1042
len < smallrescs[type - 1].minlen ||
sys/arch/i386/pnpbios/pnpbios.c
1043
len > smallrescs[type - 1].maxlen) {
sys/arch/i386/pnpbios/pnpbios.c
1047
if (type == ISAPNP_TAG_END) {
sys/arch/i386/pnpbios/pnpbios.c
1064
if (type == ISAPNP_TAG_DEP_START) {
sys/arch/i386/pnpbios/pnpbios.c
1101
if (type == ISAPNP_TAG_DEP_END) {
sys/arch/i386/pnpbios/pnpbios.c
1109
if (!smallrescs[type - 1].handler) {
sys/arch/i386/pnpbios/pnpbios.c
1114
(*smallrescs[type - 1].handler)(r, start, len))
sys/arch/i386/pnpbios/pnpbios.c
1244
int type, i;
sys/arch/i386/pnpbios/pnpbios.c
1247
type = res[0] & 0x7f;
sys/arch/i386/pnpbios/pnpbios.c
1249
type, len, len ? "data" : "");
sys/arch/i386/pnpbios/pnpbios.c
1252
type = (res[0] >> 3) & 0x0f;
sys/arch/i386/pnpbios/pnpbios.c
1254
type, len, len ? "data" : "");
sys/arch/i386/pnpbios/pnpbios.c
1341
int irqnum, type;
sys/arch/i386/pnpbios/pnpbios.c
1351
type = (irq->flags & 0x0c) ? IST_LEVEL : IST_EDGE;
sys/arch/i386/pnpbios/pnpbios.c
1353
return (isa_intr_establish(0, irqnum, type, level, fcn, arg));
sys/arch/i386/pnpbios/pnpbios.c
918
int tag, type, len;
sys/arch/i386/pnpbios/wss_pnpbios.c
168
arg.type = AUDIODEV_TYPE_OPL;
sys/arch/i386/stand/efiboot/efidisk.c
125
edi->type = BIOSDISK_TYPE_HD;
sys/arch/i386/stand/efiboot/efidisk.c
150
edi->type = BIOSDISK_TYPE_CD;
sys/arch/i386/stand/efiboot/efidisk.c
159
if (edi->type == BIOSDISK_TYPE_HD)
sys/arch/i386/stand/efiboot/efidisk.c
174
if (edi->type == BIOSDISK_TYPE_HD) {
sys/arch/i386/stand/efiboot/efidisk.c
233
switch (edi->type) {
sys/arch/i386/stand/efiboot/efidisk.c
256
if (edi->type != BIOSDISK_TYPE_HD)
sys/arch/i386/stand/efiboot/efidisk.c
385
if (edi->type != BIOSDISK_TYPE_HD)
sys/arch/i386/stand/efiboot/efidisk.h
35
int type;
sys/arch/i386/stand/efiboot/efidisk_ll.c
98
d->type = edi->type;
sys/arch/i386/stand/efiboot/efimemory.c
132
UINT32 type;
sys/arch/i386/stand/efiboot/efimemory.c
136
type = md->Type;
sys/arch/i386/stand/efiboot/efimemory.c
137
switch (type) {
sys/arch/i386/stand/efiboot/efimemory.c
144
type = EfiConventionalMemory;
sys/arch/i386/stand/efiboot/efimemory.c
168
type == target->Type &&
sys/arch/i386/stand/efiboot/efimemory.c
189
target->Type = type;
sys/arch/i386/stand/efiboot/efimemory.c
220
memmap[i].type = getmemtype(md);
sys/arch/i386/stand/efiboot/efinet.c
262
bi_netif.bus = eni->bus.type;
sys/arch/i386/stand/efiboot/efinet.c
310
eni->bus.type = BI_BUS_PCI;
sys/arch/i386/stand/efiboot/efinet.c
452
if (eni->bus.type == BI_BUS_PCI) {
sys/arch/i386/stand/efiboot/efinet.c
61
int type;
sys/arch/i386/stand/lib/biosdisk.c
1171
if (d->ll.type != BIOSDISK_TYPE_HD)
sys/arch/i386/stand/lib/biosdisk.c
1366
if (d->ll.type != BIOSDISK_TYPE_HD)
sys/arch/i386/stand/lib/biosdisk.c
1521
if (d->ll.type != BIOSDISK_TYPE_HD)
sys/arch/i386/stand/lib/biosdisk.c
1698
if (d->ll.type == BIOSDISK_TYPE_FD)
sys/arch/i386/stand/lib/biosdisk.c
254
if (d->ll.type == BIOSDISK_TYPE_CD)
sys/arch/i386/stand/lib/biosdisk.c
475
if (d->ll.type != BIOSDISK_TYPE_HD)
sys/arch/i386/stand/lib/biosdisk.c
570
bi_disk.label.type = lp->d_type;
sys/arch/i386/stand/lib/biosdisk.c
630
if (isonum_711(vd->type) == ISO_VD_END)
sys/arch/i386/stand/lib/biosdisk.c
632
if (isonum_711(vd->type) == ISO_VD_PRIMARY)
sys/arch/i386/stand/lib/biosdisk.c
670
if (d->ll.type != BIOSDISK_TYPE_HD)
sys/arch/i386/stand/lib/biosdisk.c
866
switch (d->ll.type) {
sys/arch/i386/stand/lib/biosdisk.c
890
if (d->ll.type != BIOSDISK_TYPE_HD)
sys/arch/i386/stand/lib/biosdisk_ll.c
108
d->type = BIOSDISK_TYPE_CD;
sys/arch/i386/stand/lib/biosdisk_ll.c
112
d->type = BIOSDISK_TYPE_HD;
sys/arch/i386/stand/lib/biosdisk_ll.c
114
d->type = BIOSDISK_TYPE_FD;
sys/arch/i386/stand/lib/biosdisk_ll.c
126
if (d->type == BIOSDISK_TYPE_CD ||
sys/arch/i386/stand/lib/biosdisk_ll.c
127
(d->type == BIOSDISK_TYPE_HD && biosdisk_int13ext(d->dev))) {
sys/arch/i386/stand/lib/biosdisk_ll.c
140
if (d->type == BIOSDISK_TYPE_FD && SPT(diskinfo) == 36) {
sys/arch/i386/stand/lib/biosdisk_ll.c
177
(((d)->type == BIOSDISK_TYPE_CD) || \
sys/arch/i386/stand/lib/biosdisk_ll.c
178
((d)->type == BIOSDISK_TYPE_HD && \
sys/arch/i386/stand/lib/biosdisk_ll.h
49
int type; /* device type; see below */
sys/arch/i386/stand/lib/bootinfo.c
38
bi_add(struct btinfo_common *what, int type, int size)
sys/arch/i386/stand/lib/bootinfo.c
41
what->type = type;
sys/arch/i386/stand/lib/bootinfo.h
46
#define BI_ADD(x, type, size) bi_add((struct btinfo_common *)(x), type, size)
sys/arch/i386/stand/lib/exec.c
199
module_add_split(const char *name, uint8_t type)
sys/arch/i386/stand/lib/exec.c
216
module_add_common(mod_name, type);
sys/arch/i386/stand/lib/exec.c
232
module_add_common(const char *name, uint8_t type)
sys/arch/i386/stand/lib/exec.c
242
if (bm->bm_type == type && strcmp(bm->bm_path, name) == 0)
sys/arch/i386/stand/lib/exec.c
255
bm->bm_type = type;
sys/arch/i386/stand/lib/exec.c
746
bi->type = BI_MODULE_ELF;
sys/arch/i386/stand/lib/exec.c
749
bi->type = BI_MODULE_IMAGE;
sys/arch/i386/stand/lib/exec.c
752
bi->type = BI_MODULE_FS;
sys/arch/i386/stand/lib/exec.c
757
bi->type = BI_MODULE_RND;
sys/arch/i386/stand/lib/exec_multiboot2.c
1029
mbt->type = MULTIBOOT_TAG_TYPE_ELF_SECTIONS;
sys/arch/i386/stand/lib/exec_multiboot2.c
1056
mbt->type = MULTIBOOT_TAG_TYPE_END;
sys/arch/i386/stand/lib/exec_multiboot2.c
106
mbi_tag_name(uint32_t type)
sys/arch/i386/stand/lib/exec_multiboot2.c
1072
mbt->type = MULTIBOOT_TAG_TYPE_LOAD_BASE_ADDR;
sys/arch/i386/stand/lib/exec_multiboot2.c
1093
mbt->type = MULTIBOOT_TAG_TYPE_EFI_BS;
sys/arch/i386/stand/lib/exec_multiboot2.c
110
switch (type) {
sys/arch/i386/stand/lib/exec_multiboot2.c
1116
mbt->type = MULTIBOOT_TAG_TYPE_EFI_MMAP;
sys/arch/i386/stand/lib/exec_multiboot2.c
1139
mbt->type = MULTIBOOT_TAG_TYPE_EFI32_IH;
sys/arch/i386/stand/lib/exec_multiboot2.c
1155
mbt->type = MULTIBOOT_TAG_TYPE_EFI32;
sys/arch/i386/stand/lib/exec_multiboot2.c
1173
mbt->type = MULTIBOOT_TAG_TYPE_EFI64_IH;
sys/arch/i386/stand/lib/exec_multiboot2.c
1189
mbt->type = MULTIBOOT_TAG_TYPE_EFI64;
sys/arch/i386/stand/lib/exec_multiboot2.c
1229
mbi_dispatch(struct multiboot_package *mbp, uint16_t type,
sys/arch/i386/stand/lib/exec_multiboot2.c
1235
switch (type) {
sys/arch/i386/stand/lib/exec_multiboot2.c
1312
if (len == 0 && is_tag_required(mbp, type))
sys/arch/i386/stand/lib/exec_multiboot2.c
1545
switch(mbt->type) {
sys/arch/i386/stand/lib/exec_multiboot2.c
198
i++, mbt->type, mbi_tag_name(mbt->type), mbt->size);
sys/arch/i386/stand/lib/exec_multiboot2.c
200
switch (mbt->type) {
sys/arch/i386/stand/lib/exec_multiboot2.c
250
mmap->type);
sys/arch/i386/stand/lib/exec_multiboot2.c
469
mbt->type = MULTIBOOT_TAG_TYPE_CMDLINE;
sys/arch/i386/stand/lib/exec_multiboot2.c
494
mbt->type = MULTIBOOT_TAG_TYPE_BOOT_LOADER_NAME;
sys/arch/i386/stand/lib/exec_multiboot2.c
524
mbt->type = MULTIBOOT_TAG_TYPE_MODULE;
sys/arch/i386/stand/lib/exec_multiboot2.c
547
mbt->type = MULTIBOOT_TAG_TYPE_BASIC_MEMINFO;
sys/arch/i386/stand/lib/exec_multiboot2.c
571
mbt->type = MULTIBOOT_TAG_TYPE_BOOTDEV;
sys/arch/i386/stand/lib/exec_multiboot2.c
609
mbt->type = MULTIBOOT_TAG_TYPE_MMAP;
sys/arch/i386/stand/lib/exec_multiboot2.c
618
switch(memmap[i].type) {
sys/arch/i386/stand/lib/exec_multiboot2.c
620
mbte[i].type = MULTIBOOT_MEMORY_AVAILABLE;
sys/arch/i386/stand/lib/exec_multiboot2.c
623
mbte[i].type = MULTIBOOT_MEMORY_RESERVED;
sys/arch/i386/stand/lib/exec_multiboot2.c
626
mbte[i].type =
sys/arch/i386/stand/lib/exec_multiboot2.c
630
mbte[i].type = MULTIBOOT_MEMORY_NVS;
sys/arch/i386/stand/lib/exec_multiboot2.c
633
mbte[i].type = MULTIBOOT_MEMORY_BADRAM;
sys/arch/i386/stand/lib/exec_multiboot2.c
636
mbte[i].type = MULTIBOOT_MEMORY_RESERVED;
sys/arch/i386/stand/lib/exec_multiboot2.c
660
mbt->type = MULTIBOOT_TAG_TYPE_VBE;
sys/arch/i386/stand/lib/exec_multiboot2.c
696
mbt->common.type = MULTIBOOT_TAG_TYPE_FRAMEBUFFER;
sys/arch/i386/stand/lib/exec_multiboot2.c
798
mbt->type = MULTIBOOT_TAG_TYPE_ACPI_OLD;
sys/arch/i386/stand/lib/exec_multiboot2.c
843
mbt->type = MULTIBOOT_TAG_TYPE_ACPI_NEW;
sys/arch/i386/stand/lib/exec_multiboot2.c
861
mbt->type = MULTIBOOT_TAG_TYPE_A;
sys/arch/i386/stand/lib/exec_multiboot2.c
942
mbt->type = MULTIBOOT_TAG_TYPE_SMBIOS;
sys/arch/i386/stand/lib/exec_multiboot2.c
965
mbt->type = MULTIBOOT_TAG_TYPE_NETWORK;
sys/arch/ia64/acpi/acpi_machdep.c
120
acpi_md_intr_establish(uint32_t irq, int ipl, int type, int (*handler)(void *),
sys/arch/ia64/acpi/acpi_machdep.c
125
return intr_establish(vec, type, ipl, handler, arg);
sys/arch/ia64/ia64/consinit.c
105
if (desc->type == DIG64_HCDP_CONSOLE) {
sys/arch/ia64/ia64/consinit.c
111
if (desc->type == DIG64_ENTRYTYPE_TYPE0 ||
sys/arch/ia64/ia64/consinit.c
112
desc->type == DIG64_ENTRYTYPE_TYPE1)
sys/arch/ia64/ia64/consinit.c
148
desc->type ==
sys/arch/ia64/ia64/consinit.c
152
if (ent->specs.type == DIG64_PCDP_SPEC_PCI) {
sys/arch/ia64/ia64/consinit.c
166
desc->type == DIG64_HCDP_CONSOLE) {
sys/arch/ia64/ia64/consinit.c
92
if (devdesc->type ==
sys/arch/ia64/ia64/interrupt.c
210
int type;
sys/arch/ia64/ia64/interrupt.c
259
intr_establish_xname(int irq, int type, int level, int (*func)(void *),
sys/arch/ia64/ia64/interrupt.c
263
return intr_establish(irq, type, level, func, arg);
sys/arch/ia64/ia64/interrupt.c
267
intr_establish(int irq, int type, int level, int (*func)(void *), void *arg)
sys/arch/ia64/ia64/interrupt.c
279
switch (type) {
sys/arch/ia64/ia64/interrupt.c
299
i->type = type;
sys/arch/ia64/ia64/interrupt.c
306
sapic_config_intr(irq, type);
sys/arch/ia64/ia64/interrupt.c
309
if (i->type != type)
sys/arch/ia64/ia64/trap.c
334
ia64_trap(int type, int code, db_regs_t *regs)
sys/arch/ia64/ia64/trap.c
342
db_trap(type, code);
sys/arch/ia64/include/atomic.h
105
atomic_load_acq_##type(volatile uint##width##_t* p) \
sys/arch/ia64/include/atomic.h
129
atomic_store_rel_##type(volatile uint##width##_t* p, \
sys/arch/ia64/include/atomic.h
149
#define IA64_ATOMIC(sz, type, name, width, op) \
sys/arch/ia64/include/atomic.h
150
static __inline type \
sys/arch/ia64/include/atomic.h
151
atomic_##name##_acq_##width(volatile type *p, type v) \
sys/arch/ia64/include/atomic.h
153
type old, ret; \
sys/arch/ia64/include/atomic.h
161
static __inline type \
sys/arch/ia64/include/atomic.h
162
atomic_##name##_rel_##width(volatile type *p, type v) \
sys/arch/ia64/include/atomic.h
164
type old, ret; \
sys/arch/ia64/include/atomic.h
85
#define ATOMIC_STORE_LOAD(type, width, size) \
sys/arch/ia64/include/db_machdep.h
97
#define IS_BREAKPOINT_TRAP(type, code) (type == IA64_VEC_BREAK)
sys/arch/ia64/include/db_machdep.h
98
#define IS_WATCHPOINT_TRAP(type, code) 0
sys/arch/ia64/include/dig64.h
117
uint8_t type; /* = 0 indicating ACPI */
sys/arch/ia64/include/dig64.h
129
uint8_t type; /* = 1 indicating PCI */
sys/arch/ia64/include/dig64.h
146
uint8_t type;
sys/arch/ia64/include/dig64.h
160
uint8_t type;
sys/arch/ia64/include/dig64.h
181
uint8_t type;
sys/arch/ia64/include/dig64.h
54
uint8_t type;
sys/arch/ia64/include/isa_machdep.h
34
isa_intr_establish(isa_chipset_tag_t ic, int irq, int type, int level,
sys/arch/ia64/include/isa_machdep.h
37
return intr_establish(irq, type, level, ih_func, ih_arg);
sys/arch/ia64/include/isa_machdep.h
41
#define isa_intr_establish_xname(ic, irq, type, level, fun, arg, xname) \
sys/arch/ia64/include/isa_machdep.h
42
isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/ia64/stand/common/bootstrap.h
216
struct preloaded_file *file_findfile(char *name, char *type);
sys/arch/ia64/stand/common/fileload.c
217
file_findfile(char *name, char *type)
sys/arch/ia64/stand/common/fileload.c
223
((type == NULL) || !strcmp(type, fp->f_type)))
sys/arch/ia64/stand/ia64/efi/main.c
390
print_trs(int type)
sys/arch/ia64/stand/ia64/efi/main.c
421
if (type == 0)
sys/arch/ia64/stand/ia64/efi/main.c
434
res = ia64_call_pal_stacked(PAL_VM_TR_READ, i, type,
sys/arch/ia64/stand/ia64/efi/main.c
536
printf(" Type = %u\n", desc->type);
sys/arch/ia64/stand/ia64/efi/main.c
537
if (desc->type == DIG64_ENTRYTYPE_TYPE0 ||
sys/arch/ia64/stand/ia64/efi/main.c
538
desc->type == DIG64_ENTRYTYPE_TYPE1) {
sys/arch/ia64/stand/ia64/efi/main.c
577
printf(" Interconn = %u", pcdp->specs.type);
sys/arch/ia64/stand/ia64/efi/main.c
579
switch (pcdp->specs.type) {
sys/arch/ia64/stand/ia64/ski/efi_stub.c
230
ResetSystem(enum efi_reset type, efi_status status, u_long datasz,
sys/arch/ia64/unwind/decode.h
202
enum record_type type;
sys/arch/ia64/unwind/stackframe.c
1008
switch (rchain[i].type) {
sys/arch/ia64/unwind/stackframe.c
103
strc[rec_cnt].type = P1;
sys/arch/ia64/unwind/stackframe.c
111
strc[rec_cnt].type = P2;
sys/arch/ia64/unwind/stackframe.c
119
strc[rec_cnt].type = P3;
sys/arch/ia64/unwind/stackframe.c
128
strc[rec_cnt].type = P4;
sys/arch/ia64/unwind/stackframe.c
136
strc[rec_cnt].type = P5;
sys/arch/ia64/unwind/stackframe.c
144
strc[rec_cnt].type = P6;
sys/arch/ia64/unwind/stackframe.c
152
strc[rec_cnt].type = P7;
sys/arch/ia64/unwind/stackframe.c
160
strc[rec_cnt].type = P8;
sys/arch/ia64/unwind/stackframe.c
168
strc[rec_cnt].type = P9;
sys/arch/ia64/unwind/stackframe.c
176
strc[rec_cnt].type = P10;
sys/arch/ia64/unwind/stackframe.c
187
strc[rec_cnt].type = B1;
sys/arch/ia64/unwind/stackframe.c
195
strc[rec_cnt].type = B2;
sys/arch/ia64/unwind/stackframe.c
203
strc[rec_cnt].type = B3;
sys/arch/ia64/unwind/stackframe.c
211
strc[rec_cnt].type = B4;
sys/arch/ia64/unwind/stackframe.c
219
strc[rec_cnt].type = X1;
sys/arch/ia64/unwind/stackframe.c
227
strc[rec_cnt].type = X2;
sys/arch/ia64/unwind/stackframe.c
236
strc[rec_cnt].type = X3;
sys/arch/ia64/unwind/stackframe.c
244
strc[rec_cnt].type = X4;
sys/arch/ia64/unwind/stackframe.c
272
switch(rchain->type) {
sys/arch/ia64/unwind/stackframe.c
676
switch (rchain->type) {
sys/arch/ia64/unwind/stackframe.c
74
strc[rec_cnt].type = R1;
sys/arch/ia64/unwind/stackframe.c
84
strc[rec_cnt].type = R2;
sys/arch/ia64/unwind/stackframe.c
93
strc[rec_cnt].type = R3;
sys/arch/ibmnws/include/isa_machdep.h
56
#define isa_intr_establish(ic, irq, type, level, fun, arg) \
sys/arch/ibmnws/include/isa_machdep.h
57
genppc_isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/ibmnws/include/isa_machdep.h
58
#define isa_intr_establish_xname(ic, irq, type, level, fun, arg, xname) \
sys/arch/ibmnws/include/isa_machdep.h
59
genppc_isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/ibmnws/include/isa_machdep.h
62
#define isa_intr_alloc(ic, mask, type, irqp) \
sys/arch/ibmnws/include/isa_machdep.h
63
genppc_isa_intr_alloc(ic, isa_pic, mask & isa_pcmciamask, type, irqp)
sys/arch/landisk/dev/button.c
353
btn_settype(const char *type)
sys/arch/landisk/dev/button.c
361
strlcpy(btn_type, type, sizeof(btn_type));
sys/arch/landisk/dev/buttonvar.h
50
void btn_settype(const char *type);
sys/arch/landisk/dev/obio.c
254
obio_iomem_add_mapping(bus_addr_t bpa, bus_size_t size, int type,
sys/arch/landisk/dev/obio.c
261
int io_type = type & ~OBIO_IOMEM_PCMCIA_8BIT;
sys/arch/landisk/dev/obio.c
288
m = MODE(type, IO);
sys/arch/landisk/dev/obio.c
291
m = MODE(type, MEM);
sys/arch/landisk/dev/obio.c
294
m = MODE(type, ATTR);
sys/arch/landisk/include/bootinfo.h
34
int type;
sys/arch/landisk/include/bootinfo.h
50
uint16_t type, checksum;
sys/arch/landisk/include/bootinfo.h
71
void *lookup_bootinfo(int type);
sys/arch/landisk/include/bus_funcs.h
84
#define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
88
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c); \
sys/arch/landisk/include/bus_funcs.h
91
#define __bs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/landisk/include/bus_funcs.h
94
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c); \
sys/arch/landisk/landisk/autoconf.c
137
if (label.d_type == bid->label.type &&
sys/arch/landisk/landisk/machdep.c
260
lookup_bootinfo(int type)
sys/arch/landisk/landisk/machdep.c
267
if (help->type == type)
sys/arch/landisk/stand/boot/biosdisk.c
311
bi_disk.label.type = lp->d_type;
sys/arch/landisk/stand/boot/bootinfo.c
37
bi_add(struct btinfo_common *what, int type, int size)
sys/arch/landisk/stand/boot/bootinfo.c
41
what->type = type;
sys/arch/landisk/stand/boot/bootinfo.h
47
#define BI_ADD(x, type, size) bi_add((struct btinfo_common *)(x), type, size)
sys/arch/luna68k/dev/lunafb.c
528
omfb_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/arch/luna68k/dev/lunaws.c
414
u_int type;
sys/arch/luna68k/dev/lunaws.c
417
omkbd_decode(sc, data, &type, &key);
sys/arch/luna68k/dev/lunaws.c
438
if (type == WSCONS_EVENT_KEY_UP)
sys/arch/luna68k/dev/lunaws.c
465
wskbd_input(sc->sc_wskbddev, type, key);
sys/arch/luna68k/dev/lunaws.c
472
omkbd_decode(struct ws_softc *sc, int datain, u_int *type, int *dataout)
sys/arch/luna68k/dev/lunaws.c
475
*type = (datain & 0x80) ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/arch/luna68k/dev/lunaws.c
535
ws_cngetc(void *cookie, u_int *type, int *data)
sys/arch/luna68k/dev/lunaws.c
543
omkbd_decode(sc, code, type, data);
sys/arch/luna68k/stand/boot/sc.c
228
switch (inqbuf.type) {
sys/arch/luna68k/stand/boot/scsi.c
135
printf("Type:\t0x%x\n", inquirybuf.type);
sys/arch/luna68k/stand/boot/scsireg.h
251
uint8_t type;
sys/arch/luna68k/stand/boot/sd.c
123
return inqbuf.type;
sys/arch/luna68k/stand/boot/sd.c
132
int type;
sys/arch/luna68k/stand/boot/sd.c
144
type = sdident(sc);
sys/arch/luna68k/stand/boot/sd.c
145
if (type < 0)
sys/arch/luna68k/stand/boot/trap.c
102
trap(int type, unsigned int code, unsigned int v, struct frame frame)
sys/arch/luna68k/stand/boot/trap.c
104
switch (type) {
sys/arch/luna68k/stand/boot/trap.c
107
printf("trap type %d, code = %x, v = %x\n", type, code, v);
sys/arch/luna68k/stand/boot/trap.c
109
type &= ~USER;
sys/arch/luna68k/stand/boot/trap.c
110
if ((unsigned)type < TRAP_TYPES)
sys/arch/luna68k/stand/boot/trap.c
111
panic(trap_type[type]);
sys/arch/m68k/060sp/dist/fpsp.s
1229
# if the exception is an opclass zero or two unimplemented data type
sys/arch/m68k/060sp/dist/pfpsp.s
1229
# if the exception is an opclass zero or two unimplemented data type
sys/arch/m68k/fpe/fpu_explode.c
225
fpu_explode(struct fpemu *fe, struct fpn *fp, int type, const uint32_t *space)
sys/arch/m68k/fpe/fpu_explode.c
232
switch (type) {
sys/arch/m68k/fpe/fpu_implode.c
459
fpu_implode(struct fpemu *fe, struct fpn *fp, int type, uint32_t *space)
sys/arch/m68k/fpe/fpu_implode.c
463
switch (type) {
sys/arch/m68k/fpsp/fpsp.h
188
stag_mask equ $E0 ;upper 3 bits are source tag type
sys/arch/m68k/fpsp/fpsp.h
209
dtag_mask equ $E0 ;upper 3 bits are dest type tag
sys/arch/m68k/fpsp/fpsp.h
85
* type that was generated. Some handlers may omit the 'frestore'
sys/arch/m68k/include/asm.h
102
.text; .even; .globl name; .type name,@function; name:
sys/arch/m68k/include/db_machdep.h
70
#define IS_BREAKPOINT_TRAP(type, code) ((type) == T_BREAKPOINT)
sys/arch/m68k/include/db_machdep.h
72
#define IS_WATCHPOINT_TRAP(type, code) ((type) == T_WATCHPOINT)
sys/arch/m68k/include/db_machdep.h
74
#define IS_WATCHPOINT_TRAP(type, code) 0
sys/arch/m68k/m68k/db_disasm.c
1044
type = BITFIELD(opc, 10, 9);
sys/arch/m68k/m68k/db_disasm.c
1046
type = BITFIELD(opc, 4, 3);
sys/arch/m68k/m68k/db_disasm.c
1048
switch (type) {
sys/arch/m68k/m68k/db_disasm.c
1366
int type, opmode;
sys/arch/m68k/m68k/db_disasm.c
1368
type = BITFIELD(opc,8,6);
sys/arch/m68k/m68k/db_disasm.c
1369
switch (type) {
sys/arch/m68k/m68k/db_disasm.c
1509
if (type == 2) {
sys/arch/m68k/m68k/db_disasm.c
1681
int type;
sys/arch/m68k/m68k/db_disasm.c
1683
type = BITFIELD(opc,8,6);
sys/arch/m68k/m68k/db_disasm.c
1684
switch (type) {
sys/arch/m68k/m68k/db_disasm.c
1723
if (type == 2) {
sys/arch/m68k/m68k/db_disasm.c
972
int type, sz;
sys/arch/m68k/m68k/db_interface.c
114
db_trap(type, 0); /* where the work happens */
sys/arch/m68k/m68k/db_interface.c
139
kdbprinttrap(int type, int code)
sys/arch/m68k/m68k/db_interface.c
141
printf("kernel: %s\n", trap_desc(type));
sys/arch/m68k/m68k/db_interface.c
79
kdb_trap(int type, db_regs_t *regs)
sys/arch/m68k/m68k/db_interface.c
82
switch (type) {
sys/arch/m68k/m68k/db_interface.c
90
kdbprinttrap(type, 0);
sys/arch/m68k/m68k/kgdb_m68k.c
61
kgdb_signal(int type)
sys/arch/m68k/m68k/kgdb_m68k.c
65
switch (type) {
sys/arch/m68k/m68k/m68k_trap.c
1047
if (type == T_MMUFLT) {
sys/arch/m68k/m68k/m68k_trap.c
1065
if (type == T_MMUFLT) {
sys/arch/m68k/m68k/m68k_trap.c
1078
type, code);
sys/arch/m68k/m68k/m68k_trap.c
1109
if (type & T_USER) {
sys/arch/m68k/m68k/m68k_trap.c
114
trap_desc(int type)
sys/arch/m68k/m68k/m68k_trap.c
118
if (type < 0) {
sys/arch/m68k/m68k/m68k_trap.c
120
} else if (type >= trap_description_count ||
sys/arch/m68k/m68k/m68k_trap.c
121
trap_descriptions[type] == NULL) {
sys/arch/m68k/m68k/m68k_trap.c
122
snprintf(typestr, sizeof(typestr), "trap type %d", type);
sys/arch/m68k/m68k/m68k_trap.c
125
return trap_descriptions[type];
sys/arch/m68k/m68k/m68k_trap.c
545
trap_kdebug(int type, struct trapframe *tf)
sys/arch/m68k/m68k/m68k_trap.c
549
if (kgdb_trap(type, tf)) {
sys/arch/m68k/m68k/m68k_trap.c
555
if (kdb_trap(type, tf)) {
sys/arch/m68k/m68k/m68k_trap.c
560
MACHINE_KDEBUG_TRAP_FALLBACK(type, tf);
sys/arch/m68k/m68k/m68k_trap.c
562
panic("%s trap", type == -1 ? "stray" : "unexpected BPT");
sys/arch/m68k/m68k/m68k_trap.c
668
trap(struct frame *fp, int type, unsigned int code, unsigned int v)
sys/arch/m68k/m68k/m68k_trap.c
687
ksi.ksi_trap = type & ~T_USER;
sys/arch/m68k/m68k/m68k_trap.c
690
type |= T_USER;
sys/arch/m68k/m68k/m68k_trap.c
698
switch (type) {
sys/arch/m68k/m68k/m68k_trap.c
708
printf("trap type=0x%x, code=0x%x, v=0x%x\n", type, code, v);
sys/arch/m68k/m68k/m68k_trap.c
710
(type & T_USER) ? "user" : "kernel", fp->f_pc);
sys/arch/m68k/m68k/m68k_trap.c
714
rv = kgdb_trap(type, (db_regs_t *)fp));
sys/arch/m68k/m68k/m68k_trap.c
718
(void)kdb_trap(type, (db_regs_t *)fp);
sys/arch/m68k/m68k/m68k_trap.c
733
type &= ~T_USER;
sys/arch/m68k/m68k/m68k_trap.c
734
panic("%s", trap_desc(type));
sys/arch/m68k/m68k/m68k_trap.c
762
ksi.ksi_code = (type == (T_BUSERR|T_USER)) ?
sys/arch/m68k/m68k/m68k_trap.c
774
type==T_COPERR ? "coprocessor" : "format");
sys/arch/m68k/m68k/m68k_trap.c
775
type |= T_USER;
sys/arch/m68k/m68k/m68k_trap.c
787
ksi.ksi_code = (type == T_COPERR) ?
sys/arch/m68k/m68k/m68k_trap.c
816
if (type == T_ILLINST) {
sys/arch/m68k/m68k/m68k_trap.c
863
ksi.ksi_code = (type == (T_PRIVINST|T_USER)) ?
sys/arch/m68k/m68k/m68k_trap.c
903
printf("unexpected kernel trace trap, type = %d\n", type);
sys/arch/m68k/m68k/m68k_trap.c
937
if (type == (T_TRAP15|T_USER)) {
sys/arch/m68k/m68k/m68k_trap.c
993
if ((type & T_USER) == 0 &&
sys/arch/mac68k/dev/akbd.c
518
int type;
sys/arch/mac68k/dev/akbd.c
524
type = press ? WSCONS_EVENT_KEY_DOWN : WSCONS_EVENT_KEY_UP;
sys/arch/mac68k/dev/akbd.c
527
type = WSCONS_EVENT_KEY_DOWN;
sys/arch/mac68k/dev/akbd.c
528
wskbd_input(sc->sc_wskbddev, type, val);
sys/arch/mac68k/dev/akbd.c
529
type = WSCONS_EVENT_KEY_UP;
sys/arch/mac68k/dev/akbd.c
555
wskbd_input(sc->sc_wskbddev, type, val);
sys/arch/mac68k/dev/akbd.c
569
akbd_cngetc(void *v, u_int *type, int *data)
sys/arch/mac68k/dev/akbd.c
600
*type = press ? WSCONS_EVENT_KEY_DOWN : WSCONS_EVENT_KEY_UP;
sys/arch/mac68k/dev/macfb.c
295
macfb_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/arch/mac68k/mac68k/disksubr.c
130
int type;
sys/arch/mac68k/mac68k/disksubr.c
146
type = 0;
sys/arch/mac68k/mac68k/disksubr.c
151
type = 0;
sys/arch/mac68k/mac68k/disksubr.c
153
type = ROOT_PART;
sys/arch/mac68k/mac68k/disksubr.c
155
type = UFS_PART;
sys/arch/mac68k/mac68k/disksubr.c
157
type = SWAP_PART;
sys/arch/mac68k/mac68k/disksubr.c
159
type = SCRATCH_PART;
sys/arch/mac68k/mac68k/disksubr.c
161
type = HFS_PART;
sys/arch/mac68k/mac68k/disksubr.c
163
type = SCRATCH_PART; /* no known type */
sys/arch/mac68k/mac68k/disksubr.c
165
return type;
sys/arch/mac68k/mac68k/disksubr.c
180
int type, int alt, int *maxslot)
sys/arch/mac68k/mac68k/disksubr.c
186
if (whichType(part + i) != type)
sys/arch/mac68k/mac68k/disksubr.c
189
if (type == ROOT_PART) {
sys/arch/mac68k/mac68k/disksubr.c
195
} else if (type == UFS_PART) {
sys/arch/mac68k/mac68k/disksubr.c
203
} else if (type == SWAP_PART) {
sys/arch/mac68k/mac68k/disksubr.c
208
printf("disksubr.c: can't do type %d\n", type);
sys/arch/mac68k/nubus/cpi_nubus.c
238
(na->type == NUBUS_TYPE_CENTRONICS) &&
sys/arch/mac68k/nubus/grf_nubus.c
115
if (na->type != NUBUS_TYPE_VIDEO)
sys/arch/mac68k/nubus/if_ae_nubus.c
95
na->type == NUBUS_TYPE_ETHERNET) {
sys/arch/mac68k/nubus/if_netdock_nubus.c
206
na->type == NETDOCK_NUBUS_TYPE &&
sys/arch/mac68k/nubus/if_netdock_nubus.c
213
na->type == ETHERMICRODOCK_NUBUS_TYPE &&
sys/arch/mac68k/nubus/if_sm_nubus.c
78
na->type == NUBUS_TYPE_ETHERNET) {
sys/arch/mac68k/nubus/if_sn_nubus.c
78
na->type == NUBUS_TYPE_ETHERNET) {
sys/arch/mac68k/nubus/nubus.c
245
na_args.type = slottype.type;
sys/arch/mac68k/nubus/nubus.c
282
na->category, na->type, na->drsw, na->drhw);
sys/arch/mac68k/nubus/nubus.h
207
u_int16_t type;
sys/arch/mac68k/nubus/nubus.h
365
u_int16_t type;
sys/arch/mac68k/obio/ascaudio.c
716
di->type = AUDIO_MIXER_CLASS;
sys/arch/mac68k/obio/ascaudio.c
722
di->type = AUDIO_MIXER_CLASS;
sys/arch/mac68k/obio/ascaudio.c
728
di->type = AUDIO_MIXER_VALUE;
sys/arch/mac68k/obio/ascaudio.c
736
di->type = AUDIO_MIXER_VALUE;
sys/arch/mac68k/obio/iwm_fd.c
1716
int type;
sys/arch/mac68k/obio/iwm_fd.c
1721
type = minor(dev) % MAXPARTITIONS; /* 1,2,... */
sys/arch/mac68k/obio/iwm_fd.c
1722
if (type > sizeof(fdTypes) / sizeof(fdTypes[0]))
sys/arch/mac68k/obio/iwm_fd.c
1725
thisInfo = (type == 0) ? fd->defaultType : &fdTypes[type - 1];
sys/arch/macppc/dev/akbd.c
499
int type;
sys/arch/macppc/dev/akbd.c
504
type = press ? WSCONS_EVENT_KEY_DOWN : WSCONS_EVENT_KEY_UP;
sys/arch/macppc/dev/akbd.c
506
wskbd_input(sc->sc_wskbddev, type, val);
sys/arch/macppc/dev/akbd.c
578
akbd_cngetc(void *v, u_int *type, int *data)
sys/arch/macppc/dev/akbd.c
605
*type = press ? WSCONS_EVENT_KEY_DOWN : WSCONS_EVENT_KEY_UP;
sys/arch/macppc/dev/apm.c
364
evp->type = event_type;
sys/arch/macppc/dev/awacs.c
718
DPRINTF("awacs_set_port dev = %d, type = %d\n", mc->dev, mc->type);
sys/arch/macppc/dev/awacs.c
851
dip->type = AUDIO_MIXER_SET;
sys/arch/macppc/dev/awacs.c
863
dip->type = AUDIO_MIXER_VALUE;
sys/arch/macppc/dev/awacs.c
873
dip->type = AUDIO_MIXER_VALUE;
sys/arch/macppc/dev/awacs.c
885
dip->type = AUDIO_MIXER_VALUE;
sys/arch/macppc/dev/awacs.c
896
dip->type = AUDIO_MIXER_VALUE;
sys/arch/macppc/dev/awacs.c
906
dip->type = AUDIO_MIXER_SET;
sys/arch/macppc/dev/awacs.c
920
dip->type = AUDIO_MIXER_VALUE;
sys/arch/macppc/dev/awacs.c
929
dip->type = AUDIO_MIXER_CLASS;
sys/arch/macppc/dev/awacs.c
936
dip->type = AUDIO_MIXER_CLASS;
sys/arch/macppc/dev/awacs.c
943
dip->type = AUDIO_MIXER_CLASS;
sys/arch/macppc/dev/cuda.c
387
cuda_set_handler(void *cookie, int type,
sys/arch/macppc/dev/cuda.c
393
if ((type >= 0) && (type < 16)) {
sys/arch/macppc/dev/cuda.c
394
me = &sc->sc_handlers[type];
sys/arch/macppc/dev/cuda.c
562
int ending, type;
sys/arch/macppc/dev/cuda.c
645
type = sc->sc_in[1];
sys/arch/macppc/dev/cuda.c
646
if ((type >= 0) && (type < 16)) {
sys/arch/macppc/dev/cuda.c
647
CudaHandler *me = &sc->sc_handlers[type];
sys/arch/macppc/dev/cuda.c
654
"no handler for type %02x\n", type);
sys/arch/macppc/dev/fcu.c
206
char loc[256], tp[256], descr[32], type[32];
sys/arch/macppc/dev/fcu.c
219
strcpy(type, &tp[tidx]);
sys/arch/macppc/dev/fcu.c
220
if (strstr(type, "rpm") != NULL) {
sys/arch/macppc/dev/fcu.c
224
} else if (strstr(type, "pwm") != NULL) {
sys/arch/macppc/dev/fcu.c
239
tidx += strlen(type) + 1;
sys/arch/macppc/dev/fcu.c
245
char type[32], descr[32];
sys/arch/macppc/dev/fcu.c
252
if (OF_getprop(ch, "device_type", type, 32) <= 0)
sys/arch/macppc/dev/fcu.c
255
if (strcmp(type, "fan-rpm-control") == 0) {
sys/arch/macppc/dev/fcu.c
257
} else if (strcmp(type, "fan-pwm-control") == 0) {
sys/arch/macppc/dev/fcu.c
262
} else if (strcmp(type, "power-sensor") == 0) {
sys/arch/macppc/dev/fcu.c
265
} else if (strcmp(type, "gpi-sensor") == 0) {
sys/arch/macppc/dev/ki2c.c
157
int rate, child, irq, type;
sys/arch/macppc/dev/ki2c.c
182
irq = OF_get_intr(node, intr_xname, 32, &type);
sys/arch/macppc/dev/ki2c.c
245
intr_establish_xname(irq, type, IPL_BIO, ki2c_intr, sc,
sys/arch/macppc/dev/pmu.c
268
int type = IST_EDGE;
sys/arch/macppc/dev/pmu.c
277
type = IST_LEVEL;
sys/arch/macppc/dev/pmu.c
324
sc->sc_ih = intr_establish_xname(irq, type, IPL_TTY, pmu_intr, sc,
sys/arch/macppc/dev/smu.c
296
char type[32];
sys/arch/macppc/dev/smu.c
321
memset(type, 0, sizeof(type));
sys/arch/macppc/dev/smu.c
322
OF_getprop(node, "device_type", type, sizeof(type));
sys/arch/macppc/dev/smu.c
323
if (strcmp(type, "fan-rpm-control") == 0)
sys/arch/macppc/dev/smu.c
409
char loc[32], type[32];
sys/arch/macppc/dev/smu.c
432
if (OF_getprop(child, "device_type", type, 32) == 0) goto next;
sys/arch/macppc/dev/smu.c
434
if (strcmp(type, "temp-sensor") == 0) {
sys/arch/macppc/dev/smu.c
441
printf("%s: %s@%x\n", loc, type, reg);
sys/arch/macppc/dev/smusat.c
135
char type[32], sysctl_sensor_name[32];
sys/arch/macppc/dev/smusat.c
171
memset(type, 0, sizeof(type));
sys/arch/macppc/dev/smusat.c
172
OF_getprop(node, "device_type", type, sizeof(type));
sys/arch/macppc/dev/smusat.c
174
if (strcmp(type, "temp-sensor") == 0) {
sys/arch/macppc/dev/smusat.c
175
sensor->type = SMUSAT_SENSOR_TEMP;
sys/arch/macppc/dev/smusat.c
177
} else if (strcmp(type, "current-sensor") == 0) {
sys/arch/macppc/dev/smusat.c
178
sensor->type = SMUSAT_SENSOR_CURRENT;
sys/arch/macppc/dev/smusat.c
180
} else if (strcmp(type, "voltage-sensor") == 0) {
sys/arch/macppc/dev/smusat.c
181
sensor->type = SMUSAT_SENSOR_VOLTAGE;
sys/arch/macppc/dev/smusat.c
183
} else if (strcmp(type, "power-sensor") == 0) {
sys/arch/macppc/dev/smusat.c
184
sensor->type = SMUSAT_SENSOR_POWER;
sys/arch/macppc/dev/smusat.c
189
sensor->location, sensor->reg, sensor->zone, type);
sys/arch/macppc/dev/smusat.c
262
switch (sensor->type) {
sys/arch/macppc/dev/smusat.c
315
switch (sensor->type) {
sys/arch/macppc/dev/smusat.c
62
int type;
sys/arch/macppc/dev/snapper.c
1049
DPRINTF("snapper_set_port dev = %d, type = %d\n", mc->dev, mc->type);
sys/arch/macppc/dev/snapper.c
1152
DPRINTF("snapper_get_port dev = %d, type = %d\n", mc->dev, mc->type);
sys/arch/macppc/dev/snapper.c
1226
dip->type = AUDIO_MIXER_SET;
sys/arch/macppc/dev/snapper.c
1240
dip->type = AUDIO_MIXER_VALUE;
sys/arch/macppc/dev/snapper.c
1253
dip->type = AUDIO_MIXER_SET;
sys/arch/macppc/dev/snapper.c
1265
dip->type = AUDIO_MIXER_VALUE;
sys/arch/macppc/dev/snapper.c
1274
dip->type = AUDIO_MIXER_CLASS;
sys/arch/macppc/dev/snapper.c
1281
dip->type = AUDIO_MIXER_CLASS;
sys/arch/macppc/dev/snapper.c
1288
dip->type = AUDIO_MIXER_CLASS;
sys/arch/macppc/dev/snapper.c
1298
dip->type = AUDIO_MIXER_VALUE;
sys/arch/macppc/dev/snapper.c
1309
dip->type = AUDIO_MIXER_VALUE;
sys/arch/macppc/dev/snapper.c
1320
dip->type = AUDIO_MIXER_VALUE;
sys/arch/macppc/dev/snapper.c
1331
dip->type = AUDIO_MIXER_VALUE;
sys/arch/macppc/dev/snapper.c
1342
dip->type = AUDIO_MIXER_VALUE;
sys/arch/macppc/dev/wdc_obio.c
123
int intr, i, type = IST_EDGE;
sys/arch/macppc/dev/wdc_obio.c
138
type = ca->ca_intr[1] ? IST_LEVEL : IST_EDGE;
sys/arch/macppc/dev/wdc_obio.c
140
aprint_normal(", %s triggered", (type == IST_EDGE) ? "edge" : "level");
sys/arch/macppc/dev/wdc_obio.c
181
sc->sc_ih = intr_establish_xname(intr, type, IPL_BIO, wdcintr, chp,
sys/arch/macppc/macppc/disksubr.c
171
int type;
sys/arch/macppc/macppc/disksubr.c
195
type = 0;
sys/arch/macppc/macppc/disksubr.c
197
type = ROOT_PART;
sys/arch/macppc/macppc/disksubr.c
206
type = UFS_PART;
sys/arch/macppc/macppc/disksubr.c
218
type = 0;
sys/arch/macppc/macppc/disksubr.c
220
type = ROOT_PART;
sys/arch/macppc/macppc/disksubr.c
223
type = UFS_PART;
sys/arch/macppc/macppc/disksubr.c
226
type = SWAP_PART;
sys/arch/macppc/macppc/disksubr.c
229
type = SCRATCH_PART;
sys/arch/macppc/macppc/disksubr.c
233
type = HFS_PART;
sys/arch/macppc/macppc/disksubr.c
236
type = SCRATCH_PART;
sys/arch/macppc/macppc/disksubr.c
239
type = SCRATCH_PART;
sys/arch/macppc/macppc/disksubr.c
242
type = SCRATCH_PART;
sys/arch/macppc/macppc/disksubr.c
245
type = SCRATCH_PART; /* no known type */
sys/arch/macppc/macppc/disksubr.c
249
return type;
sys/arch/macppc/macppc/disksubr.c
263
getNamedType(struct part_map_entry *part, int num_parts, struct disklabel *lp, int type, int alt, int *maxslot)
sys/arch/macppc/macppc/disksubr.c
269
if (whichType(part + i, &realtype, &clust) != type)
sys/arch/macppc/macppc/disksubr.c
272
if (type == ROOT_PART) {
sys/arch/macppc/macppc/disksubr.c
276
} else if (type == UFS_PART) {
sys/arch/macppc/macppc/disksubr.c
282
} else if (type == SWAP_PART) {
sys/arch/macppc/macppc/disksubr.c
286
} else if (type == HFS_PART) {
sys/arch/macppc/macppc/disksubr.c
291
printf("disksubr.c: can't do type %d\n", type);
sys/arch/macppc/macppc/interrupts.c
184
OF_get_intr(int node, char *buf, int buflen, int *type)
sys/arch/macppc/macppc/interrupts.c
195
if (type != NULL) {
sys/arch/macppc/macppc/interrupts.c
196
*type = (intr[1] & 1) ? IST_LEVEL : IST_EDGE;
sys/arch/macppc/macppc/ipi_hammerhead.c
93
hh_establish_ipi(int type, int level, void *ih_args)
sys/arch/macppc/macppc/ipi_hammerhead.c
95
intr_establish_xname(ipiops.ppc_ipi_vector, type, level, ipi_intr,
sys/arch/macppc/macppc/machdep.c
152
char type[16], buffer[128];
sys/arch/macppc/macppc/machdep.c
154
if (OF_getprop(ch, "hwctrl-location", type, 16) > 0) {
sys/arch/macppc/macppc/machdep.c
155
if (strcmp(type, "CPU CLOCK") == 0) {
sys/arch/macppc/macppc/pic_heathrow.c
139
heathrow_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/macppc/macppc/pic_heathrow.c
154
heathrow_reenable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/macppc/macppc/pic_heathrow.c
255
heathrow_establish_irq(struct pic_ops *pic, int irq, int type, int pri)
sys/arch/macppc/macppc/pic_heathrow.c
264
if (type == IST_LEVEL) {
sys/arch/macppc/macppc/pic_heathrow.c
272
if (type == IST_LEVEL) {
sys/arch/macppc/macppc/pic_ohare.c
165
ohare_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/macppc/macppc/pic_ohare.c
175
ohare_reenable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/macppc/macppc/pic_ohare.c
290
ohare_establish_irq(struct pic_ops *pic, int irq, int type, int pri)
sys/arch/macppc/macppc/pic_ohare.c
299
if (type == IST_LEVEL) {
sys/arch/macppc/macppc/pic_u3_ht.c
384
u3_ht_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/macppc/macppc/pic_u3_ht.c
437
u3_ht_establish_irq(struct pic_ops *pic, int irq, int type, int pri)
sys/arch/macppc/macppc/pic_u3_ht.c
449
if (type == IST_EDGE_FALLING || type == IST_EDGE_RISING)
sys/arch/macppc/macppc/pic_u3_ht.c
459
u3_ht_establish_ht_irq(u3_ht, irq, type);
sys/arch/macppc/macppc/pic_u3_ht.c
462
type, realpri, x);
sys/arch/macppc/macppc/pic_u3_ht.c
490
u3_ht_establish_ht_irq(struct u3_ht_ops *u3_ht, int irq, int type)
sys/arch/macppc/macppc/pic_u3_ht.c
504
if (type == IST_LEVEL_HIGH || type == IST_LEVEL_LOW) {
sys/arch/macppc/macppc/pic_u3_ht.c
652
u3_ht_establish_ipi(int type, int level, void *ih_args)
sys/arch/macppc/macppc/pic_u3_ht.c
654
intr_establish_xname(ipiops.ppc_ipi_vector, type, level, ipi_intr,
sys/arch/macppc/stand/ofwboot/ofdev.c
109
if (op->type == OFDEV_NET)
sys/arch/macppc/stand/ofwboot/ofdev.c
444
ofdev.type = OFDEV_DISK;
sys/arch/macppc/stand/ofwboot/ofdev.c
492
ofdev.type = OFDEV_NET;
sys/arch/macppc/stand/ofwboot/ofdev.c
76
if (dev->type != OFDEV_DISK)
sys/arch/macppc/stand/ofwboot/ofdev.h
40
int type;
sys/arch/mips/adm5120/dev/ahci.c
1472
int req, type, value, index, len;
sys/arch/mips/adm5120/dev/ahci.c
1475
type = r->bmRequestType;
sys/arch/mips/adm5120/dev/ahci.c
1481
type, xmes[req], value, index, len);
sys/arch/mips/adm5120/dev/ahci.c
1489
int type;
sys/arch/mips/adm5120/dev/ahci.c
1512
if (r->bmRequestType == conf[i].type && r->bRequest == conf[i].req) {
sys/arch/mips/alchemy/au_icu.c
186
au_intr_establish(int irq, int req, int level, int type,
sys/arch/mips/alchemy/au_icu.c
228
switch (type) {
sys/arch/mips/alchemy/au_icu.c
232
panic("unsupported irq type %d", type);
sys/arch/mips/alchemy/dev/aupcmcia.c
518
aupcm_slot_settype(pcmcia_chipset_handle_t pch, int type)
sys/arch/mips/cavium/dev/octeon_cib.c
185
const int type = (be32toh(specifier[1]) & 0x3) ? IST_EDGE : IST_LEVEL;
sys/arch/mips/cavium/dev/octeon_cib.c
194
ih->ih_type = type;
sys/arch/mips/cavium/dev/octeon_powvar.h
157
int type, /* 0-7 */
sys/arch/mips/cavium/dev/octeon_powvar.h
171
__SHIFTIN(type, POW_STORE_DATA_TYPE) |
sys/arch/mips/cavium/dev/octeon_powvar.h
180
octpow_ops_swtag(int type, uint32_t tag)
sys/arch/mips/cavium/dev/octeon_powvar.h
191
type,
sys/arch/mips/cavium/dev/octeon_powvar.h
199
octpow_ops_swtag_full(paddr_t addr, int grp, int type, uint32_t tag)
sys/arch/mips/cavium/dev/octeon_powvar.h
210
type,
sys/arch/mips/cavium/dev/octeon_powvar.h
217
octpow_ops_swtag_desched(int no_sched, int grp, int type, uint32_t tag)
sys/arch/mips/cavium/dev/octeon_powvar.h
228
type,
sys/arch/mips/cavium/dev/octeon_powvar.h
253
octpow_ops_addwq(paddr_t addr, int qos, int grp, int type, uint32_t tag)
sys/arch/mips/cavium/dev/octeon_powvar.h
264
type,
sys/arch/mips/cfe/cfe_api.c
183
cfe_xuint_t *type)
sys/arch/mips/cfe/cfe_api.c
201
*type = xiocb.plist.xiocb_meminfo.mi_type;
sys/arch/mips/cfe/cfe_api.h
178
uint64_t *type);
sys/arch/mips/include/asm.h
244
.type _C_LABEL(x), @function; \
sys/arch/mips/include/asm.h
309
.type _C_LABEL(x), @object;
sys/arch/mips/include/bus_space_funcs.h
70
#define __bs_r(type, sz, tn, t, h, o) \
sys/arch/mips/include/bus_space_funcs.h
72
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o))
sys/arch/mips/include/bus_space_funcs.h
74
#define __bs_w(type, sz, tn, t, h, o, v) \
sys/arch/mips/include/bus_space_funcs.h
77
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v); \
sys/arch/mips/include/bus_space_funcs.h
80
#define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
84
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c); \
sys/arch/mips/include/bus_space_funcs.h
87
#define __bs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/mips/include/bus_space_funcs.h
90
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c); \
sys/arch/mips/include/db_machdep.h
82
#define IS_BREAKPOINT_TRAP(type, code) ((type) == T_BREAK)
sys/arch/mips/include/db_machdep.h
83
#define IS_WATCHPOINT_TRAP(type, code) (0) /* XXX mips3 watchpoint */
sys/arch/mips/include/db_machdep.h
97
db_set_ddb_regs(int type, struct reg *regs)
sys/arch/mips/include/kdbparam.h
57
#define kdbisbreak(type) (((type) & MIPS_CR_EXC_CODE) == 0x24)
sys/arch/mips/mips/db_interface.c
111
kdb_trap(int type, struct reg *regs)
sys/arch/mips/mips/db_interface.c
115
switch (type) {
sys/arch/mips/mips/db_interface.c
118
printf("kernel: %s trap\n", trap_names[type & 0x1f]);
sys/arch/mips/mips/db_interface.c
124
printf("kernel: %s trap\n", trap_names[type & 0x1f]);
sys/arch/mips/mips/db_interface.c
155
db_trap(type & ~T_USER, 0 /*code*/);
sys/arch/mips/mips/kgdb_machdep.c
136
kgdb_signal(int type)
sys/arch/mips/mips/kgdb_machdep.c
138
switch (type) {
sys/arch/mips/mips/trap.c
183
int type;
sys/arch/mips/mips/trap.c
190
type = T_NMI;
sys/arch/mips/mips/trap.c
192
type = TRAPTYPE(cause);
sys/arch/mips/mips/trap.c
196
type |= T_USER;
sys/arch/mips/mips/trap.c
217
((*dtrace_trap_func)(tf, type) != 0)) {
sys/arch/mips/mips/trap.c
223
switch (type) {
sys/arch/mips/mips/trap.c
257
type == T_NMI
sys/arch/mips/mips/trap.c
266
if (type == T_BUS_ERR_IFETCH || type == T_BUS_ERR_LD_ST)
sys/arch/mips/mips/trap.c
270
kdb_trap(type, &tf->tf_registers);
sys/arch/mips/mips/trap.c
285
db_set_ddb_regs(type, &tf->tf_registers);
sys/arch/mips/mips/trap.c
287
if (kgdb_trap(type, regs)) {
sys/arch/mips/mips/trap.c
298
const bool user_p = (type & T_USER) || !KERNLAND_P(vaddr);
sys/arch/mips/mips/trap.c
361
if (type & T_USER)
sys/arch/mips/mips/trap.c
368
ftype = (type == T_TLB_LD_MISS) ? VM_PROT_READ : VM_PROT_WRITE;
sys/arch/mips/mips/trap.c
408
if (type & T_USER) {
sys/arch/mips/mips/trap.c
479
if (type & T_USER) {
sys/arch/mips/mips/trap.c
484
if ((type & T_USER) == 0)
sys/arch/mips/mips/trap.c
508
ksi.ksi_trap = type & ~T_USER;
sys/arch/mips/mips/trap.c
539
ksi.ksi_trap = type & ~T_USER;
sys/arch/mips/mips/trap.c
546
if (type == T_BUS_ERR_IFETCH+T_USER
sys/arch/mips/mips/trap.c
547
|| type == T_BUS_ERR_LD_ST+T_USER)
sys/arch/mips/mips/trap.c
564
kdb_trap(type, &tf->tf_registers);
sys/arch/mips/mips/trap.c
579
db_set_ddb_regs(type, &tf->tf_registers);
sys/arch/mips/mips/trap.c
581
if (!kgdb_trap(type, regs))
sys/arch/mips/mips/trap.c
603
ksi.ksi_trap = type & ~T_USER;
sys/arch/mips/mips/trap.c
661
ksi.ksi_trap = type & ~T_USER;
sys/arch/mips/mips/trap.c
707
ksi.ksi_trap = type & ~T_USER;
sys/arch/mips/mips/trap.c
737
if ((type & T_USER) == 0) {
sys/arch/mips/rmi/rmixl_com.c
296
int type, tcflag_t mode)
sys/arch/mips/rmi/rmixl_com.c
305
comcnattach1(&regs, speed, freq, type, mode);
sys/arch/mips/rmi/rmixl_comvar.h
37
extern void rmixl_com_cnattach(bus_addr_t addr, int speed, int freq, int type, tcflag_t mode);
sys/arch/mips/rmi/rmixl_firmware.h
127
uint32_t type;
sys/arch/mips/rmi/rmixlvar.h
101
switch(type) {
sys/arch/mips/rmi/rmixlvar.h
62
u_int type = ct->cpu_cidflags & MIPS_CIDFL_RMI_TYPE;
sys/arch/mips/rmi/rmixlvar.h
63
if (cpu_rmixl(ct) && type == CIDFL_RMI_TYPE_XLR)
sys/arch/mips/rmi/rmixlvar.h
71
u_int type = ct->cpu_cidflags & MIPS_CIDFL_RMI_TYPE;
sys/arch/mips/rmi/rmixlvar.h
72
if (cpu_rmixl(ct) && type == CIDFL_RMI_TYPE_XLS)
sys/arch/mips/rmi/rmixlvar.h
80
u_int type = ct->cpu_cidflags & MIPS_CIDFL_RMI_TYPE;
sys/arch/mips/rmi/rmixlvar.h
81
if (cpu_rmixl(ct) && type == CIDFL_RMI_TYPE_XLP)
sys/arch/mips/rmi/rmixlvar.h
99
rmixlfw_psb_type_name(rmixlfw_psb_type_t type)
sys/arch/mips/sibyte/dev/sbobio.c
270
sbobio_device_type_name(enum sbobio_device_type type)
sys/arch/mips/sibyte/dev/sbobio.c
273
switch (type) {
sys/arch/mips/sibyte/dev/sbobio.c
59
static const char *sbobio_device_type_name(enum sbobio_device_type type);
sys/arch/mips/sibyte/dev/sbscd.c
146
sbscd_device_type_name(enum sbscd_device_type type)
sys/arch/mips/sibyte/dev/sbscd.c
149
switch (type) {
sys/arch/mips/sibyte/dev/sbscd.c
57
static const char *sbscd_device_type_name(enum sbscd_device_type type);
sys/arch/mipsco/include/bootinfo.h
43
int type;
sys/arch/mipsco/include/isa_machdep.h
108
void *isa_intr_establish(isa_chipset_tag_t ic, int irq, int type,
sys/arch/mipsco/include/isa_machdep.h
110
void *isa_intr_establish_xname(isa_chipset_tag_t ic, int irq, int type,
sys/arch/mipsco/isa/isa_machdep.c
102
printf(" %s %p", type, (void *)vaddr);
sys/arch/mipsco/isa/isa_machdep.c
178
isa_intr_establish(isa_chipset_tag_t ic, int intr, int type, int level, int (*ih_fun)(void*), void *ih_arg)
sys/arch/mipsco/isa/isa_machdep.c
201
isa_intr_alloc(isa_chipset_tag_t ic, int mask, int type, int *irq)
sys/arch/mipsco/isa/isa_machdep.c
83
isa_bus_space_init(struct mipsco_bus_space *bst, const char *type, paddr_t paddr, size_t len)
sys/arch/mipsco/isa/isa_machdep.c
88
mipsco_bus_space_init(bst, type, paddr, vaddr, 0x0, len);
sys/arch/mipsco/mipsco/machdep.c
317
lookup_bootinfo(int type)
sys/arch/mipsco/mipsco/machdep.c
328
if (bt->type == type)
sys/arch/mipsco/stand/common/bootinfo.c
50
bi->next = bi->type = 0;
sys/arch/mipsco/stand/common/bootinfo.c
58
void bi_add(new, type, size)
sys/arch/mipsco/stand/common/bootinfo.c
60
int type, size;
sys/arch/mipsco/stand/common/bootinfo.c
69
bi->type = type;
sys/arch/mipsco/stand/common/bootinfo.c
74
bi->next = bi->type = 0;
sys/arch/mmeye/dev/mmeyepcmcia.c
910
mmeyepcmcia_chip_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/arch/mmeye/include/bootinfo.h
37
int32_t type;
sys/arch/mmeye/mmeye/machdep.c
809
lookup_bootinfo(unsigned int type)
sys/arch/mmeye/mmeye/machdep.c
818
printf("Type %d @%p\n", bt->type, (void *)(intptr_t)bt);
sys/arch/mmeye/mmeye/machdep.c
819
if (bt->type == type)
sys/arch/mmeye/stand/boot/bootinfo.c
51
bi->next = bi->type = 0;
sys/arch/mmeye/stand/boot/bootinfo.c
62
void bi_add(void *new, int type, int size)
sys/arch/mmeye/stand/boot/bootinfo.c
71
type, size, (u_long)bi_next));
sys/arch/mmeye/stand/boot/bootinfo.c
75
bi->type = type;
sys/arch/mmeye/stand/boot/bootinfo.c
80
bi->next = bi->type = 0;
sys/arch/mvme68k/include/disklabel.h
81
u_short type; /* 2 */
sys/arch/mvme68k/include/prom.h
73
u_char type;
sys/arch/mvme68k/mvme68k/disksubr.c
187
clp->type = lp->d_type;
sys/arch/mvme68k/mvme68k/disksubr.c
262
lp->d_type = clp->type;
sys/arch/mvme68k/stand/libsa/bugdev.c
192
lp->d_type = (uint16_t)clp->type;
sys/arch/mvmeppc/include/isa_machdep.h
51
#define isa_intr_establish(ic, irq, type, level, fun, arg) \
sys/arch/mvmeppc/include/isa_machdep.h
52
genppc_isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/mvmeppc/include/isa_machdep.h
53
#define isa_intr_establish_xname(ic, irq, type, level, fun, arg, xname) \
sys/arch/mvmeppc/include/isa_machdep.h
54
genppc_isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/mvmeppc/include/isa_machdep.h
57
#define isa_intr_alloc(ic, mask, type, irqp) \
sys/arch/mvmeppc/include/isa_machdep.h
58
genppc_isa_intr_alloc(ic, isa_pic, mask & isa_pcmciamask, type, irqp)
sys/arch/news68k/dev/kb.c
104
u_int type;
sys/arch/news68k/dev/kb.c
109
type = (key & 0x80) ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/arch/news68k/dev/kb.c
113
printf("kb_intr: key=%02x, type=%d, val=%02x\n", key, type, val);
sys/arch/news68k/dev/kb.c
116
kb_conssc->cs_type = type;
sys/arch/news68k/dev/kb.c
120
wskbd_input(sc->sc_wskbddev, type, val);
sys/arch/news68k/dev/kb.c
132
kb_cngetc(void *v, u_int *type, int *data)
sys/arch/news68k/dev/kb.c
147
*type = conssc->cs_type;
sys/arch/news68k/news68k/autoconf.c
124
int ctlr, part, type;
sys/arch/news68k/news68k/autoconf.c
132
type = BOOTDEV_TYPE(bootdev);
sys/arch/news68k/news68k/autoconf.c
134
if (type != BOOTDEV_SD)
sys/arch/news68k/stand/boot/boot.c
108
type = BOOTDEV_TYPE(bootdev);
sys/arch/news68k/stand/boot/boot.c
112
if (devs[type] == NULL) {
sys/arch/news68k/stand/boot/boot.c
118
"%s(%d,%d,%d)", devs[type], ctlr, unit, part);
sys/arch/news68k/stand/boot/boot.c
80
int ctlr, unit, part, type;
sys/arch/news68k/stand/bootxx/bootxx.c
109
type = BOOTDEV_TYPE(bootdev);
sys/arch/news68k/stand/bootxx/bootxx.c
111
if (devs[type] == NULL) {
sys/arch/news68k/stand/bootxx/bootxx.c
117
devs[type], ctlr, unit, part);
sys/arch/news68k/stand/bootxx/bootxx.c
86
int ctlr, unit, part, type;
sys/arch/newsmips/apbus/kb_ap.c
163
int key, val, type, release;
sys/arch/newsmips/apbus/kb_ap.c
170
type = release ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/arch/newsmips/apbus/kb_ap.c
173
wskbd_input(sc->sc_wskbddev, type, val);
sys/arch/newsmips/apbus/kb_ap.c
189
kb_ap_cngetc(void *v, u_int *type, int *data)
sys/arch/newsmips/apbus/kb_ap.c
205
*type = release ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/arch/newsmips/dev/kb_hb.c
147
int code, type, release, val;
sys/arch/newsmips/dev/kb_hb.c
156
type = release ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/arch/newsmips/dev/kb_hb.c
158
wskbd_input(sc->sc_wskbddev, type, val);
sys/arch/newsmips/dev/kb_hb.c
177
kb_hb_cngetc(void *v, u_int *type, int *data)
sys/arch/newsmips/dev/kb_hb.c
192
*type = release ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/arch/newsmips/include/bootinfo.h
35
int type;
sys/arch/newsmips/include/bootinfo.h
72
int type;
sys/arch/newsmips/newsmips/autoconf.c
129
int ctlr, part, type;
sys/arch/newsmips/newsmips/autoconf.c
137
type = BOOTDEV_TYPE(bootdev);
sys/arch/newsmips/newsmips/autoconf.c
139
if (type != BOOTDEV_SD)
sys/arch/newsmips/newsmips/machdep.c
185
systype = bi_systype->type;
sys/arch/newsmips/newsmips/machdep.c
408
lookup_bootinfo(int type)
sys/arch/newsmips/newsmips/machdep.c
419
if (bt->type == type)
sys/arch/newsmips/stand/boot/boot.c
126
int ctlr, unit, part, type;
sys/arch/newsmips/stand/boot/boot.c
143
type = BOOTDEV_TYPE(bootdev);
sys/arch/newsmips/stand/boot/boot.c
145
if (devs[type] == NULL) {
sys/arch/newsmips/stand/boot/boot.c
151
devs[type], ctlr, unit, part);
sys/arch/newsmips/stand/boot/boot.c
201
bi_sys.type = NEWS5000;
sys/arch/newsmips/stand/boot/boot.c
203
bi_sys.type = NEWS4000;
sys/arch/newsmips/stand/boot/boot.c
205
bi_sys.type = NEWS3400;
sys/arch/newsmips/stand/boot/bootinfo.c
49
bi->next = bi->type = 0;
sys/arch/newsmips/stand/boot/bootinfo.c
58
bi_add(void *new, int type, int size)
sys/arch/newsmips/stand/boot/bootinfo.c
67
bi->type = type;
sys/arch/newsmips/stand/boot/bootinfo.c
72
bi->next = bi->type = 0;
sys/arch/newsmips/stand/bootxx/bootxx.c
105
type = BOOTDEV_TYPE(bootdev);
sys/arch/newsmips/stand/bootxx/bootxx.c
107
if (devs[type] == NULL) {
sys/arch/newsmips/stand/bootxx/bootxx.c
112
devs[type], ctlr, unit, part);
sys/arch/newsmips/stand/bootxx/bootxx.c
66
int ctlr, unit, part, type;
sys/arch/next68k/dev/esp.c
886
#define DMA_SCSI_ALIGN(type, addr) \
sys/arch/next68k/dev/esp.c
887
((type)(((unsigned int)(addr) + DMA_SCSI_ALIGNMENT - 1) \
sys/arch/next68k/dev/nextdisplay.c
366
nextdisplay_alloc_screen(void *v, const struct wsscreen_descr *type,
sys/arch/next68k/dev/nextdisplay.c
380
(strcmp(type->name, "color") == 0) ? 0 : WSATTR_REVERSE, &defattr);
sys/arch/next68k/dev/nextdmareg.h
43
#define DMA_ALIGN(type, addr) \
sys/arch/next68k/dev/nextdmareg.h
44
((type)(((unsigned int)(addr) + DMA_BEGINALIGNMENT - 1) \
sys/arch/next68k/dev/nextdmareg.h
47
#define DMA_ENDALIGN(type, addr) \
sys/arch/next68k/dev/nextdmareg.h
48
((type)(((unsigned int)(addr) + DMA_ENDALIGNMENT - 1) \
sys/arch/next68k/dev/nextkbd.c
254
int type, key, val;
sys/arch/next68k/dev/nextkbd.c
275
if ((val != -1) && nextkbd_decode(sc->id, val, &type, &key)) {
sys/arch/next68k/dev/nextkbd.c
276
wskbd_input(sc->sc_wskbddev, type, key);
sys/arch/next68k/dev/nextkbd.c
302
nextkbd_cngetc(void *v, u_int *type, int *data)
sys/arch/next68k/dev/nextkbd.c
310
if (val != -1 && nextkbd_decode(t, val, type, data))
sys/arch/next68k/dev/nextkbd.c
351
nextkbd_decode(struct nextkbd_internal *id, int datain, u_int *type,
sys/arch/next68k/dev/nextkbd.c
363
*type = WSCONS_EVENT_KEY_DOWN;
sys/arch/next68k/dev/nextkbd.c
365
*type = WSCONS_EVENT_KEY_UP;
sys/arch/next68k/dev/nextkbd.c
370
*type = WSCONS_EVENT_KEY_DOWN;
sys/arch/next68k/dev/nextkbd.c
372
*type = WSCONS_EVENT_KEY_UP;
sys/arch/next68k/dev/nextkbd.c
377
*type = WSCONS_EVENT_KEY_DOWN;
sys/arch/next68k/dev/nextkbd.c
379
*type = WSCONS_EVENT_KEY_UP;
sys/arch/next68k/dev/nextkbd.c
384
*type = WSCONS_EVENT_KEY_DOWN;
sys/arch/next68k/dev/nextkbd.c
386
*type = WSCONS_EVENT_KEY_UP;
sys/arch/next68k/dev/nextkbd.c
391
*type = WSCONS_EVENT_KEY_DOWN;
sys/arch/next68k/dev/nextkbd.c
393
*type = WSCONS_EVENT_KEY_UP;
sys/arch/next68k/dev/nextkbd.c
398
*type = WSCONS_EVENT_KEY_DOWN;
sys/arch/next68k/dev/nextkbd.c
400
*type = WSCONS_EVENT_KEY_UP;
sys/arch/next68k/dev/nextkbd.c
405
*type = WSCONS_EVENT_KEY_DOWN;
sys/arch/next68k/dev/nextkbd.c
407
*type = WSCONS_EVENT_KEY_UP;
sys/arch/next68k/dev/nextkbd.c
410
*type = WSCONS_EVENT_KEY_UP;
sys/arch/next68k/dev/nextkbd.c
412
*type = WSCONS_EVENT_KEY_DOWN;
sys/arch/next68k/next68k/nextrom.c
62
#define MON(type, off) (*(type *)((u_int) (mg) + off))
sys/arch/next68k/next68k/nextrom.c
66
#define MONRELOC(type, off) \
sys/arch/next68k/next68k/nextrom.c
67
(*(volatile type *)((u_int)RELOC(mg, volatile struct mon_global *) + off))
sys/arch/next68k/next68k/nextrom.h
120
#define MG(type, off) \
sys/arch/next68k/next68k/nextrom.h
121
((type) ((u_int) (mg) + off))
sys/arch/next68k/stand/boot/boot.c
48
#define MON(type, off) (*(type *)((u_int) (mg) + off))
sys/arch/next68k/stand/boot/dmareg.h
45
#define DMA_ALIGN(type, addr) \
sys/arch/next68k/stand/boot/dmareg.h
46
((type)(((unsigned)(addr)+DMA_BEGINALIGNMENT-1) \
sys/arch/next68k/stand/boot/dmareg.h
49
#define DMA_ENDALIGN(type, addr) \
sys/arch/next68k/stand/boot/dmareg.h
50
((type)(((unsigned)(addr)+DMA_ENDALIGNMENT-1) \
sys/arch/next68k/stand/boot/dmareg.h
53
#define ENDMA_ENDALIGN(type, addr) \
sys/arch/next68k/stand/boot/dmareg.h
54
((type)((((unsigned)(addr)+ENDMA_ENDALIGNMENT-1) \
sys/arch/next68k/stand/boot/en.c
49
#define MON(type, off) (*(type *)((u_int) (mg) + off))
sys/arch/next68k/stand/boot/machdep.c
42
#define MON(type, off) (*(type *)((u_int) (mg) + off))
sys/arch/next68k/stand/boot/scsi.c
135
#define MON(type, off) (*(type *)((u_int) (mg) + off))
sys/arch/ofppc/include/isa_machdep.h
53
#define isa_intr_establish(ic, irq, type, level, fun, arg) \
sys/arch/ofppc/include/isa_machdep.h
54
genppc_isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/ofppc/include/isa_machdep.h
55
#define isa_intr_establish_xname(ic, irq, type, level, fun, arg, xname) \
sys/arch/ofppc/include/isa_machdep.h
56
genppc_isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/ofppc/include/isa_machdep.h
59
#define isa_intr_alloc(ic, mask, type, irqp) \
sys/arch/ofppc/include/isa_machdep.h
60
genppc_isa_intr_alloc(ic, isa_pic, mask & isa_pcmciamask, type, irqp)
sys/arch/ofppc/ofppc/mainbus.c
321
if (picnodes[i].type == PICNODE_TYPE_8259) {
sys/arch/ofppc/ofppc/mainbus.c
327
if (picnodes[i].type == PICNODE_TYPE_IVR) {
sys/arch/ofppc/ofppc/mainbus.c
337
if (picnodes[i].type == PICNODE_TYPE_8259)
sys/arch/ofppc/ofppc/mainbus.c
339
if (picnodes[i].type == PICNODE_TYPE_IVR)
sys/arch/ofppc/ofppc/mainbus.c
341
if (picnodes[i].type == PICNODE_TYPE_OPENPIC) {
sys/arch/ofppc/ofppc/mainbus.c
346
} else if (picnodes[i].type == PICNODE_TYPE_MPC5200) {
sys/arch/ofppc/stand/ofwboot/ofdev.c
132
if (dev->type != OFDEV_DISK)
sys/arch/ofppc/stand/ofwboot/ofdev.c
163
if (op->type == OFDEV_NET)
sys/arch/ofppc/stand/ofwboot/ofdev.c
261
ofdev.type = OFDEV_DISK;
sys/arch/ofppc/stand/ofwboot/ofdev.c
315
ofdev.type = OFDEV_NET;
sys/arch/ofppc/stand/ofwboot/ofdev.h
40
int type;
sys/arch/or1k/include/asm.h
54
_TEXT_SECTION; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x:
sys/arch/or1k/include/db_machdep.h
57
#define IS_BREAKPOINT_TRAP(type, code) \
sys/arch/or1k/include/db_machdep.h
58
((type) == DB_TRAP_BREAKPOINT || (type) == DB_TRAP_BKPT_INSN)
sys/arch/or1k/include/db_machdep.h
59
#define IS_WATCHPOINT_TRAP(type, code) \
sys/arch/or1k/include/db_machdep.h
60
((type) == DB_TRAP_WATCHPOINT)
sys/arch/playstation2/dev/sbus.c
108
int type = BOOTINFO_REF(BOOTINFO_PCMCIA_TYPE);
sys/arch/playstation2/dev/sbus.c
110
printf(": controller type %d\n", type);
sys/arch/playstation2/dev/sbus.c
113
sbus_init(type);
sys/arch/playstation2/dev/sbus.c
139
sbus_init(int type)
sys/arch/playstation2/dev/sbus.c
148
switch (type) {
sys/arch/playstation2/dev/sbus.c
150
panic("unknown pcmcia controller type = %d", type);
sys/arch/playstation2/ee/gs.c
121
gs_init(enum gs_crt_type type)
sys/arch/playstation2/ee/gs.c
123
const struct gs_crt_param *p = &gs_crt_param[type];
sys/arch/playstation2/ee/gsfb.c
554
_gsfb_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/arch/playstation2/include/bus.h
511
#define __pbs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
515
(*(t)->__pbs_opname(type,sz))((t)->pbs_cookie, h, o, a, c); \
sys/arch/playstation2/include/bus.h
518
#define __pbs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/playstation2/include/bus.h
521
(*(t)->__pbs_opname(type,sz))((t)->pbs_cookie, h, o, v, c); \
sys/arch/playstation2/playstation2/interrupt.c
172
md_ipl_register(enum ipl_type type, struct _ipl_holder *holder)
sys/arch/playstation2/playstation2/interrupt.c
177
mask = (type == IPL_DMAC) ? 0x0000ffff : 0xffff0000;
sys/arch/pmax/ibus/pm.c
525
pm_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/arch/pmax/include/bootinfo.h
43
int type;
sys/arch/pmax/pmax/machdep.c
393
lookup_bootinfo(int type)
sys/arch/pmax/pmax/machdep.c
404
if (bt->type == type)
sys/arch/pmax/stand/common/bootinfo.c
49
bi->next = bi->type = 0;
sys/arch/pmax/stand/common/bootinfo.c
57
void bi_add(void *new, int type, int size)
sys/arch/pmax/stand/common/bootinfo.c
66
bi->type = type;
sys/arch/pmax/stand/common/bootinfo.c
71
bi->next = bi->type = 0;
sys/arch/pmax/tc/dtkbd.c
157
dtkbd_cngetc(void *v, u_int *type, int *data)
sys/arch/pmax/tc/dtkbd.c
176
*type = types[i++];
sys/arch/powerpc/fpu/fpu_emu.c
349
int ra, rb, rc, rt, type, mask, fsr, cx, bf, setcr, cond;
sys/arch/powerpc/fpu/fpu_emu.c
363
type = FTYPE_DBL;
sys/arch/powerpc/fpu/fpu_emu.c
427
type = FTYPE_SNG;
sys/arch/powerpc/fpu/fpu_emu.c
444
type = FTYPE_SNG;
sys/arch/powerpc/fpu/fpu_emu.c
468
if (type != FTYPE_DBL) {
sys/arch/powerpc/fpu/fpu_emu.c
500
if (type != FTYPE_DBL) {
sys/arch/powerpc/fpu/fpu_emu.c
501
fpu_explode(fe, fp = &fe->fe_f1, type, FR(rt));
sys/arch/powerpc/fpu/fpu_emu.c
527
fpu_explode(fe, &fe->fe_f1, type, FR(ra));
sys/arch/powerpc/fpu/fpu_emu.c
528
fpu_explode(fe, &fe->fe_f2, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
553
type = FTYPE_DBL | FTYPE_FPSCR;
sys/arch/powerpc/fpu/fpu_emu.c
559
fpu_explode(fe, fp = &fe->fe_f1, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
560
type = FTYPE_INT | FTYPE_FPSCR;
sys/arch/powerpc/fpu/fpu_emu.c
562
type |= FTYPE_RD_RZ;
sys/arch/powerpc/fpu/fpu_emu.c
568
fpu_explode(fe, &fe->fe_f1, type, FR(ra));
sys/arch/powerpc/fpu/fpu_emu.c
569
fpu_explode(fe, &fe->fe_f2, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
670
fpu_explode(fe, fp = &fe->fe_f1, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
671
type = FTYPE_LNG | FTYPE_FPSCR;
sys/arch/powerpc/fpu/fpu_emu.c
673
type |= FTYPE_RD_RZ;
sys/arch/powerpc/fpu/fpu_emu.c
680
type = FTYPE_DBL | FTYPE_FPSCR;
sys/arch/powerpc/fpu/fpu_emu.c
697
type = FTYPE_DBL;
sys/arch/powerpc/fpu/fpu_emu.c
702
fpu_explode(fe, &fe->fe_f1, type, FR(ra));
sys/arch/powerpc/fpu/fpu_emu.c
703
fpu_explode(fe, &fe->fe_f2, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
709
fpu_explode(fe, &fe->fe_f1, type, FR(ra));
sys/arch/powerpc/fpu/fpu_emu.c
710
fpu_explode(fe, &fe->fe_f2, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
716
fpu_explode(fe, &fe->fe_f1, type, FR(ra));
sys/arch/powerpc/fpu/fpu_emu.c
717
fpu_explode(fe, &fe->fe_f2, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
723
fpu_explode(fe, &fe->fe_f1, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
745
fpu_explode(fe, &fe->fe_f2, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
751
fpu_explode(fe, &fe->fe_f1, type, FR(ra));
sys/arch/powerpc/fpu/fpu_emu.c
752
fpu_explode(fe, &fe->fe_f2, type, FR(rc));
sys/arch/powerpc/fpu/fpu_emu.c
759
fpu_explode(fe, &fe->fe_f1, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
768
fpu_explode(fe, &fe->fe_f1, type, FR(ra));
sys/arch/powerpc/fpu/fpu_emu.c
769
fpu_explode(fe, &fe->fe_f2, type, FR(rc));
sys/arch/powerpc/fpu/fpu_emu.c
772
fpu_explode(fe, &fe->fe_f2, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
778
fpu_explode(fe, &fe->fe_f1, type, FR(ra));
sys/arch/powerpc/fpu/fpu_emu.c
779
fpu_explode(fe, &fe->fe_f2, type, FR(rc));
sys/arch/powerpc/fpu/fpu_emu.c
782
fpu_explode(fe, &fe->fe_f2, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
788
fpu_explode(fe, &fe->fe_f1, type, FR(ra));
sys/arch/powerpc/fpu/fpu_emu.c
789
fpu_explode(fe, &fe->fe_f2, type, FR(rc));
sys/arch/powerpc/fpu/fpu_emu.c
792
fpu_explode(fe, &fe->fe_f2, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
801
fpu_explode(fe, &fe->fe_f1, type, FR(ra));
sys/arch/powerpc/fpu/fpu_emu.c
802
fpu_explode(fe, &fe->fe_f2, type, FR(rc));
sys/arch/powerpc/fpu/fpu_emu.c
805
fpu_explode(fe, &fe->fe_f2, type, FR(rb));
sys/arch/powerpc/fpu/fpu_emu.c
823
type |= FTYPE_FPSCR;
sys/arch/powerpc/fpu/fpu_emu.c
836
fpu_implode(fe, fp, type, &FR(rt));
sys/arch/powerpc/fpu/fpu_explode.c
214
fpu_explode(struct fpemu *fe, struct fpn *fp, int type, uint64_t i)
sys/arch/powerpc/fpu/fpu_explode.c
223
switch (type) {
sys/arch/powerpc/fpu/fpu_explode.c
243
panic("fpu_explode: invalid type %d", type);
sys/arch/powerpc/fpu/fpu_implode.c
509
fpu_implode(struct fpemu *fe, struct fpn *fp, int type, uint64_t *p)
sys/arch/powerpc/fpu/fpu_implode.c
518
if (type & FTYPE_RD_RZ)
sys/arch/powerpc/fpu/fpu_implode.c
522
fpscr = type & FTYPE_FPSCR;
sys/arch/powerpc/fpu/fpu_implode.c
523
type &= ~FTYPE_FLAG_MASK;
sys/arch/powerpc/fpu/fpu_implode.c
526
switch (type) {
sys/arch/powerpc/fpu/fpu_implode.c
553
panic("fpu_implode: invalid type %d", type);
sys/arch/powerpc/ibm4xx/pic_uic.c
417
uic_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/powerpc/ibm4xx/pic_uic.c
466
uic_establish_irq(struct pic_ops *pic, int irq, int type, int ipl)
sys/arch/powerpc/ibm4xx/trap.c
148
int type = tf->tf_exc;
sys/arch/powerpc/ibm4xx/trap.c
155
type |= EXC_USER;
sys/arch/powerpc/ibm4xx/trap.c
161
type, tf->tf_srr0, tf, &tf));
sys/arch/powerpc/ibm4xx/trap.c
163
switch (type) {
sys/arch/powerpc/ibm4xx/trap.c
447
printf("trap type 0x%x at 0x%lx\n", type, tf->tf_srr0);
sys/arch/powerpc/ibm4xx/trap.c
449
if (kdb_trap(type, tf))
sys/arch/powerpc/include/asm.h
124
.type .##y,@function; \
sys/arch/powerpc/include/asm.h
143
# define _XENTRY(x) .align 2; .globl x; .type x,@function; x:
sys/arch/powerpc/include/db_machdep.h
83
#define IS_BREAKPOINT_TRAP(type, code) ((type) == T_BREAKPOINT)
sys/arch/powerpc/include/db_machdep.h
87
#define IS_WATCHPOINT_TRAP(type, code) ((type) == T_WATCHPOINT)
sys/arch/powerpc/include/db_machdep.h
89
#define IS_WATCHPOINT_TRAP(type, code) 0
sys/arch/powerpc/include/pci_machdep.h
454
int16_t type;
sys/arch/powerpc/isa/isa_machdep_common.c
61
genppc_isa_intr_establish(isa_chipset_tag_t ic, int irq, int type, int level,
sys/arch/powerpc/isa/isa_machdep_common.c
65
return (void *)intr_establish(irq, type, level, ih_fun, ih_arg);
sys/arch/powerpc/marvell/pic_discovery.c
114
discovery_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/powerpc/marvell/pic_discovery.c
188
discovery_gpp_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/powerpc/mpc5200/bestcomm.c
439
bestcomm_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/powerpc/mpc5200/bestcomm.c
480
bestcomm_establish_irq(struct pic_ops *pic, int irq, int type, int maxlevel)
sys/arch/powerpc/mpc5200/pic_mpc5200.c
195
mpc5200_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/powerpc/mpc5200/pic_mpc5200.c
215
bit = (1u << (11 - irq)) | ((uint32_t)type << (22 - irq * 2));
sys/arch/powerpc/mpc5200/pic_mpc5200.c
293
mpc5200_establish_irq(struct pic_ops *pic, int irq, int type, int maxlevel)
sys/arch/powerpc/oea/ofw_autoconf.c
105
char last[32], type[32];
sys/arch/powerpc/oea/ofw_autoconf.c
153
OF_getprop(node, "qemu_boot_hack", type, sizeof(type) - 1) == -1 ||
sys/arch/powerpc/oea/ofw_autoconf.c
154
type[0] != 'y') {
sys/arch/powerpc/oea/ofw_autoconf.c
173
len = OF_getprop(node, "device_type", type, sizeof(type) - 1);
sys/arch/powerpc/oea/ofw_autoconf.c
175
type[len] = 0;
sys/arch/powerpc/oea/ofw_autoconf.c
176
if (strcmp(type, "network") == 0) {
sys/arch/powerpc/oea/ofwoea_machdep.c
297
char type[32];
sys/arch/powerpc/oea/ofwoea_machdep.c
313
if (OF_getprop(qhandle, "device_type", type, sizeof type) > 0
sys/arch/powerpc/oea/ofwoea_machdep.c
314
&& strcmp(type, "cpu") == 0
sys/arch/powerpc/oea/ofwoea_machdep.c
427
find_ranges(int base, rangemap_t *regions, int *cur, int type)
sys/arch/powerpc/oea/ofwoea_machdep.c
436
if ((type == RANGE_TYPE_PCI || type == RANGE_TYPE_FIRSTPCI) &&
sys/arch/powerpc/oea/ofwoea_machdep.c
439
if (type == RANGE_TYPE_ISA && strcmp("isa", tmp) != 0)
sys/arch/powerpc/oea/ofwoea_machdep.c
441
if (type == RANGE_TYPE_MACIO && strcmp("memory-controller", tmp) == 0) {
sys/arch/powerpc/oea/ofwoea_machdep.c
463
if (type == RANGE_TYPE_ISA)
sys/arch/powerpc/oea/ofwoea_machdep.c
474
if (type == RANGE_TYPE_ISA && strcmp("isa", tmp) == 0 && len == 0) {
sys/arch/powerpc/oea/ofwoea_machdep.c
481
switch (type) {
sys/arch/powerpc/oea/ofwoea_machdep.c
491
regions[*cur].type = (map[i*reclen] >> 24) & 0x3;
sys/arch/powerpc/oea/ofwoea_machdep.c
499
regions[*cur].type = RANGE_IO;
sys/arch/powerpc/oea/ofwoea_machdep.c
501
regions[*cur].type = RANGE_MEM;
sys/arch/powerpc/oea/ofwoea_machdep.c
503
regions[*cur].type);
sys/arch/powerpc/oea/ofwoea_machdep.c
510
regions[*cur].type = RANGE_MEM;
sys/arch/powerpc/oea/ofwoea_machdep.c
526
find_ranges(node, regions, cur, type);
sys/arch/powerpc/oea/ofwoea_machdep.c
533
find_lowest_range(rangemap_t *ranges, int nrof, int type)
sys/arch/powerpc/oea/ofwoea_machdep.c
539
if (ranges[i].type == type && ranges[i].addr != 0 &&
sys/arch/powerpc/oea/ofwoea_machdep.c
597
if (regions[i].type == iomem)
sys/arch/powerpc/oea/ofwoea_machdep.c
602
if (list[i].type == RANGE_IO && size) {
sys/arch/powerpc/oea/ofwoea_machdep.c
614
if (list[i].type == RANGE_MEM &&
sys/arch/powerpc/oea/ofwoea_machdep.c
634
list[i].size, list[i].type);
sys/arch/powerpc/oea/ofwoea_machdep.c
651
holes[nrofholes].type = iomem;
sys/arch/powerpc/oea/ofwoea_machdep.c
664
region.size, region.type);
sys/arch/powerpc/oea/ofwoea_machdep.c
668
holes[i].size, holes[i].type);
sys/arch/powerpc/oea/ofwoea_machdep.c
695
if (holes[i].type == RANGE_IO) {
sys/arch/powerpc/oea/ofwoea_machdep.c
98
int type;
sys/arch/powerpc/pci/pci_machdep_ofw.c
148
picnodes[nrofpics].type = PICNODE_TYPE_OPENPIC;
sys/arch/powerpc/pci/pci_machdep_ofw.c
152
picnodes[nrofpics].type = PICNODE_TYPE_HEATHROW;
sys/arch/powerpc/pci/pci_machdep_ofw.c
154
picnodes[nrofpics].type = PICNODE_TYPE_8259;
sys/arch/powerpc/pci/pci_machdep_ofw.c
156
picnodes[nrofpics].type = PICNODE_TYPE_8259;
sys/arch/powerpc/pci/pci_machdep_ofw.c
159
picnodes[nrofpics].type =
sys/arch/powerpc/pci/pci_machdep_ofw.c
165
picnodes[nrofpics].type = PICNODE_TYPE_8259;
sys/arch/powerpc/pci/pci_machdep_ofw.c
174
picnodes[nrofpics].type = PICNODE_TYPE_MPC5200;
sys/arch/powerpc/pci/pci_machdep_ofw.c
188
if (picnodes[i].type == PICNODE_TYPE_8259 ||
sys/arch/powerpc/pci/pci_machdep_ofw.c
189
picnodes[i].type == PICNODE_TYPE_IVR) {
sys/arch/powerpc/pci/pci_machdep_ofw.c
196
if (picnodes[i].type == PICNODE_TYPE_8259)
sys/arch/powerpc/pci/pci_machdep_ofw.c
198
if (picnodes[i].type == PICNODE_TYPE_IVR)
sys/arch/powerpc/pic/i8259_common.c
65
i8259_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/powerpc/pic/intr.c
155
intr_establish(int hwirq, int type, int ipl, int (*ih_fun)(void *),
sys/arch/powerpc/pic/intr.c
158
return intr_establish_xname(hwirq, type, ipl, ih_fun, ih_arg, NULL);
sys/arch/powerpc/pic/intr.c
162
intr_establish_xname(int hwirq, int type, int ipl, int (*ih_fun)(void *),
sys/arch/powerpc/pic/intr.c
190
if (!PIC_VIRQ_LEGAL_P(virq) || type == IST_NONE)
sys/arch/powerpc/pic/intr.c
192
hwirq, type);
sys/arch/powerpc/pic/intr.c
199
is->is_type = type;
sys/arch/powerpc/pic/intr.c
206
if (type == is->is_type)
sys/arch/powerpc/pic/intr.c
210
if (type != IST_NONE) {
sys/arch/powerpc/pic/intr.c
213
intr_typename(type));
sys/arch/powerpc/pic/intr.c
279
dummy_pic_establish_intr(struct pic_ops *pic, int irq, int type, int pri)
sys/arch/powerpc/pic/intr.c
378
intr_typename(int type)
sys/arch/powerpc/pic/intr.c
380
KASSERT((unsigned int) type < __arraycount(intr_typenames));
sys/arch/powerpc/pic/intr.c
381
KASSERT(intr_typenames[type] != NULL);
sys/arch/powerpc/pic/intr.c
382
return intr_typenames[type];
sys/arch/powerpc/pic/intr.c
462
const int type = intrsources[virq_map[hwirq]].is_type;
sys/arch/powerpc/pic/intr.c
463
(*pic->pic_enable_irq)(pic, hwirq - pic->pic_intrbase, type);
sys/arch/powerpc/pic/intr.c
726
int mask, int type, int *irq_p)
sys/arch/powerpc/pic/intr.c
751
if (type == IST_LEVEL && is->is_type == IST_LEVEL) {
sys/arch/powerpc/pic/ipi_openpic.c
107
openpic_establish_ipi(int type, int level, void *ih_args)
sys/arch/powerpc/pic/ipi_openpic.c
109
intr_establish_xname(ipiops.ppc_ipi_vector, type, level, ipi_intr,
sys/arch/powerpc/pic/pic_distopenpic.c
171
distopic_establish_irq(struct pic_ops *pic, int irq, int type, int pri)
sys/arch/powerpc/pic/pic_distopenpic.c
184
type == IST_EDGE_RISING || type == IST_LEVEL_HIGH)
sys/arch/powerpc/pic/pic_distopenpic.c
189
if (type == IST_EDGE_FALLING || type == IST_EDGE_RISING)
sys/arch/powerpc/pic/pic_distopenpic.c
202
distopic_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/powerpc/pic/pic_mpcsoc.c
158
mpcpic_establish_irq(struct pic_ops *pic, int irq, int type, int pri)
sys/arch/powerpc/pic/pic_mpcsoc.c
167
type == IST_EDGE_RISING || type == IST_LEVEL_HIGH)
sys/arch/powerpc/pic/pic_mpcsoc.c
172
if (type == IST_EDGE_FALLING || type == IST_EDGE_RISING)
sys/arch/powerpc/pic/pic_mpcsoc.c
185
mpcpic_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/powerpc/pic/pic_openpic.c
141
opic_establish_irq(struct pic_ops *pic, int irq, int type, int pri)
sys/arch/powerpc/pic/pic_openpic.c
149
if (type == IST_EDGE_RISING || type == IST_LEVEL_HIGH)
sys/arch/powerpc/pic/pic_openpic.c
154
if (type == IST_EDGE_FALLING || type == IST_EDGE_RISING)
sys/arch/powerpc/pic/pic_openpic.c
170
opic_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/powerpc/pic/pic_prepivr.c
103
prepivr_establish_irq(struct pic_ops *pic, int irq, int type, int maxlevel)
sys/arch/powerpc/pic/pic_prepivr.c
113
if (type == IST_LEVEL)
sys/arch/powerpc/powerpc/db_interface.c
192
int type = tf->tf_exc;
sys/arch/powerpc/powerpc/db_interface.c
193
if (type == EXC_PGM && (tf->tf_srr1 & 0x20000)) {
sys/arch/powerpc/powerpc/db_interface.c
194
type = T_BREAKPOINT;
sys/arch/powerpc/powerpc/db_interface.c
196
return kdb_trap(type, tf);
sys/arch/powerpc/powerpc/db_interface.c
203
kdb_trap(int type, void *v)
sys/arch/powerpc/powerpc/db_interface.c
210
if (db_recover != 0 && (type != -1 && type != T_BREAKPOINT)) {
sys/arch/powerpc/powerpc/db_interface.c
254
db_trap(type, 0);
sys/arch/powerpc/powerpc/db_interface.c
259
if (!kgdb_trap(type, DDB_REGS)) {
sys/arch/powerpc/powerpc/db_interface.c
269
if (IS_BREAKPOINT_TRAP(type, 0)) {
sys/arch/powerpc/powerpc/kgdb_machdep.c
184
kgdb_signal(int type)
sys/arch/powerpc/powerpc/kgdb_machdep.c
186
switch (type) {
sys/arch/powerpc/powerpc/openpic.c
13
openpic_enable_irq(int irq, int type)
sys/arch/powerpc/powerpc/openpic.c
19
if (type == IST_LEVEL)
sys/arch/powerpc/powerpc/trap.c
102
int type = tf->tf_exc;
sys/arch/powerpc/powerpc/trap.c
111
type |= EXC_USER;
sys/arch/powerpc/powerpc/trap.c
115
type, l, p);
sys/arch/powerpc/powerpc/trap.c
121
switch (type) {
sys/arch/powerpc/powerpc/trap.c
494
printf("trap type %x at %lx\n", type, tf->tf_srr0);
sys/arch/powerpc/powerpc/trap.c
497
if (kdb_trap(type, tf))
sys/arch/prep/eisa/eisa_machdep.c
164
int type, int level, int (*func)(void *), void *arg)
sys/arch/prep/eisa/eisa_machdep.c
169
return (void *)intr_establish(irq, type, level, func, arg);
sys/arch/prep/include/bootinfo.h
34
int type;
sys/arch/prep/include/isa_machdep.h
56
#define isa_intr_establish(ic, irq, type, level, fun, arg) \
sys/arch/prep/include/isa_machdep.h
57
genppc_isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/prep/include/isa_machdep.h
58
#define isa_intr_establish(ic, irq, type, level, fun, arg) \
sys/arch/prep/include/isa_machdep.h
59
genppc_isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/prep/include/isa_machdep.h
60
#define isa_intr_establish_xname(ic, irq, type, level, fun, arg, xname) \
sys/arch/prep/include/isa_machdep.h
61
genppc_isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/prep/include/isa_machdep.h
64
#define isa_intr_alloc(ic, mask, type, irqp) \
sys/arch/prep/include/isa_machdep.h
65
genppc_isa_intr_alloc(ic, isa_pic, mask & isa_pcmciamask, type, irqp)
sys/arch/prep/include/pcipnp.h
67
uint8_t type; /* == 3 PCI Bridge */
sys/arch/prep/isa/paud_isa.c
230
dip->type = AUDIO_MIXER_VALUE;
sys/arch/prep/isa/paud_isa.c
240
dip->type = AUDIO_MIXER_VALUE;
sys/arch/prep/isa/paud_isa.c
250
dip->type = AUDIO_MIXER_VALUE;
sys/arch/prep/isa/paud_isa.c
260
dip->type = AUDIO_MIXER_VALUE;
sys/arch/prep/isa/paud_isa.c
270
dip->type = AUDIO_MIXER_VALUE;
sys/arch/prep/isa/paud_isa.c
280
dip->type = AUDIO_MIXER_CLASS;
sys/arch/prep/isa/paud_isa.c
287
dip->type = AUDIO_MIXER_CLASS;
sys/arch/prep/isa/paud_isa.c
294
dip->type = AUDIO_MIXER_CLASS;
sys/arch/prep/isa/paud_isa.c
302
dip->type = AUDIO_MIXER_ENUM;
sys/arch/prep/isa/paud_isa.c
309
dip->type = AUDIO_MIXER_ENUM;
sys/arch/prep/isa/paud_isa.c
316
dip->type = AUDIO_MIXER_ENUM;
sys/arch/prep/isa/paud_isa.c
323
dip->type = AUDIO_MIXER_ENUM;
sys/arch/prep/isa/paud_isa.c
337
dip->type = AUDIO_MIXER_ENUM;
sys/arch/prep/pci/gten.c
284
gten_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/arch/prep/pnpbus/if_we_pnpbus.c
262
u_int8_t type;
sys/arch/prep/pnpbus/if_we_pnpbus.c
267
type = bus_space_read_1(asict, asich, WE_CARD_ID);
sys/arch/prep/pnpbus/if_we_pnpbus.c
268
switch (type) {
sys/arch/prep/pnpbus/if_we_pnpbus.c
319
typestr = (type == WE_TYPE_SMC8216C) ?
sys/arch/prep/pnpbus/if_we_pnpbus.c
338
typestr = (type == WE_TYPE_SMC8216C) ?
sys/arch/prep/pnpbus/if_we_pnpbus.c
370
if (is16bit && (type != WE_TYPE_WD8013EBT) &&
sys/arch/prep/pnpbus/if_we_pnpbus.c
372
(type != WE_TYPE_TOSHIBA1 && type != WE_TYPE_TOSHIBA4) &&
sys/arch/prep/pnpbus/if_we_pnpbus.c
384
" is16bit = %d, memsize = %d\n", type, typestr, is16bit,
sys/arch/prep/pnpbus/if_we_pnpbus.c
393
*typep = type;
sys/arch/prep/pnpbus/pnpbus.c
496
int irqnum, type;
sys/arch/prep/pnpbus/pnpbus.c
506
type = (irq->flags & 0x0c) ? IST_LEVEL : IST_EDGE;
sys/arch/prep/pnpbus/pnpbus.c
508
type = tover;
sys/arch/prep/pnpbus/pnpbus.c
510
return (void *)intr_establish(irqnum, type, level, ih_fun, ih_arg);
sys/arch/prep/prep/machdep.c
219
lookup_bootinfo(int type)
sys/arch/prep/prep/machdep.c
226
if (bt->type == type)
sys/arch/prep/prep/residual.c
1203
int type;
sys/arch/prep/prep/residual.c
1205
type = (id->BaseType >= NELEMS(BaseType)) ? 0 : id->BaseType;
sys/arch/prep/prep/residual.c
1207
printf(" BaseType = %s (%d)\n", BaseType[type].str, id->BaseType);
sys/arch/prep/prep/residual.c
1208
if (BaseType[type].func != NULL)
sys/arch/prep/prep/residual.c
1209
(*BaseType[type].func)(id);
sys/arch/prep/prep/residual.c
574
int type;
sys/arch/prep/prep/residual.c
639
printf(" %s: %s\n", chiptype[svid[j].type], svid[j].name);
sys/arch/prep/stand/boot/boot.c
111
btinfo_console.common.type = BTINFO_CONSOLE;
sys/arch/prep/stand/boot/boot.c
122
btinfo_clock.common.type = BTINFO_CLOCK;
sys/arch/prep/stand/boot/boot.c
98
btinfo_residual.common.type = BTINFO_RESIDUAL;
sys/arch/prep/stand/boot/pci.c
120
PCIAddress(int slotnum, u_int bar, int type)
sys/arch/prep/stand/boot/pci.c
130
PCI_MAPREG_TYPE(pslot->regs[BAR_BASE + bar]) != type)
sys/arch/riscv/fdt/pcihost_fdt.c
220
int error, len, type;
sys/arch/riscv/fdt/pcihost_fdt.c
321
type = PCICONF_RESOURCE_PREFETCHABLE_MEM;
sys/arch/riscv/fdt/pcihost_fdt.c
326
type = PCICONF_RESOURCE_MEM;
sys/arch/riscv/fdt/pcihost_fdt.c
331
error = pciconf_resource_add(pcires, type, bus_phys,
sys/arch/riscv/include/asm.h
90
.type _C_LABEL(x), @function; \
sys/arch/riscv/include/bus_funcs.h
77
#define __bs_nonsingle(type, sz, t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
78
(*(t)->__bs_opname(type,sz))(t, h, o, a, c)
sys/arch/riscv/include/bus_funcs.h
79
#define __bs_set(type, sz, t, h, o, v, c) \
sys/arch/riscv/include/bus_funcs.h
80
(*(t)->__bs_opname(type,sz))(t, h, o, v, c)
sys/arch/riscv/include/bus_funcs.h
90
#define __bs_nonsingle_s(type, sz, t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
91
(*(t)->__bs_opname_s(type,sz))(t, h, o, a, c)
sys/arch/riscv/include/bus_funcs.h
92
#define __bs_set_s(type, sz, t, h, o, v, c) \
sys/arch/riscv/include/bus_funcs.h
93
(*(t)->__bs_opname_s(type,sz))(t, h, o, v, c)
sys/arch/riscv/include/db_machdep.h
83
#define IS_BREAKPOINT_TRAP(type, code) ((type) == CAUSE_BREAKPOINT)
sys/arch/riscv/include/db_machdep.h
84
#define IS_WATCHPOINT_TRAP(type, code) (0)
sys/arch/riscv/riscv/db_interface.c
116
kdb_trap(int type, db_regs_t *regs)
sys/arch/riscv/riscv/db_interface.c
118
switch (type) {
sys/arch/riscv/riscv/db_interface.c
126
printf("kernel: cause %d\n", type);
sys/arch/riscv/riscv/db_interface.c
159
db_trap(type, 0 /*code*/);
sys/arch/riscv/riscv/interrupt.c
116
intr_establish_xname(int irq, int ipl, int type, int (*func)(void *), void *arg,
sys/arch/riscv/riscv/interrupt.c
122
return plic_intr_establish_xname(irq, ipl, type, func, arg, xname);
sys/arch/riscv/riscv/interrupt.c
126
intr_establish(int irq, int ipl, int type, int (*func)(void *), void *arg)
sys/arch/riscv/riscv/interrupt.c
128
return intr_establish_xname(irq, ipl, type, func, arg, NULL);
sys/arch/rs6000/include/bootinfo.h
34
int type;
sys/arch/rs6000/rs6000/machdep.c
444
lookup_bootinfo(int type)
sys/arch/rs6000/rs6000/machdep.c
451
if (bt->type == type)
sys/arch/rs6000/rs6000/pic_iocc.c
102
iocc_enable_irq(struct pic_ops *pic, int irq, int type)
sys/arch/rs6000/stand/boot/boot.c
184
btinfo_iplcb.common.type = BTINFO_IPLCB;
sys/arch/rs6000/stand/boot/boot.c
196
btinfo_console.common.type = BTINFO_CONSOLE;
sys/arch/sandpoint/include/bootinfo.h
118
int type;
sys/arch/sandpoint/include/bootinfo.h
36
int type;
sys/arch/sandpoint/include/isa_machdep.h
50
#define isa_intr_establish(ic, irq, type, level, fun, arg) \
sys/arch/sandpoint/include/isa_machdep.h
51
genppc_isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/sandpoint/include/isa_machdep.h
52
#define isa_intr_establish_xname(ic, irq, type, level, fun, arg, xname) \
sys/arch/sandpoint/include/isa_machdep.h
53
genppc_isa_intr_establish(ic, irq, type, level, fun, arg)
sys/arch/sandpoint/include/isa_machdep.h
56
#define isa_intr_alloc(ic, mask, type, irqp) \
sys/arch/sandpoint/include/isa_machdep.h
57
genppc_isa_intr_alloc(ic, isa_pic, mask, type, irqp)
sys/arch/sandpoint/pci/pci_machdep.c
439
int type;
sys/arch/sandpoint/pci/pci_machdep.c
450
type = IST_EDGE;
sys/arch/sandpoint/pci/pci_machdep.c
452
type = IST_LEVEL;
sys/arch/sandpoint/pci/pci_machdep.c
458
return intr_establish_xname(ih + I8259_ICU, type, level, func, arg,
sys/arch/sandpoint/sandpoint/autoconf.c
173
.type = DEVHANDLE_TYPE_PRIVATE,
sys/arch/sandpoint/sandpoint/machdep.c
294
lookup_bootinfo(int type)
sys/arch/sandpoint/sandpoint/machdep.c
303
if (bt->type == type)
sys/arch/sandpoint/stand/altboot/dsk.c
341
const char *type;
sys/arch/sandpoint/stand/altboot/dsk.c
344
type = NULL;
sys/arch/sandpoint/stand/altboot/dsk.c
347
type = "swap";
sys/arch/sandpoint/stand/altboot/dsk.c
350
type = "ffs";
sys/arch/sandpoint/stand/altboot/dsk.c
353
type = "ext2fs";
sys/arch/sandpoint/stand/altboot/dsk.c
356
if (type != NULL)
sys/arch/sandpoint/stand/altboot/dsk.c
357
printf("%s%c: %s\t(%u)\n", d->xname, i + 'a', type,
sys/arch/sandpoint/stand/altboot/main.c
418
bi_add(void *new, int type, int size)
sys/arch/sandpoint/stand/altboot/main.c
427
bi->type = type;
sys/arch/sandpoint/stand/altboot/main.c
573
bi->type = BI_MODULE_ELF;
sys/arch/sandpoint/stand/altboot/pci.c
86
pcilookup(type, list, max)
sys/arch/sandpoint/stand/altboot/pci.c
87
unsigned type;
sys/arch/sandpoint/stand/altboot/pci.c
92
return _pcilookup(0, clsmatch, type, list, 0, max);
sys/arch/sbmips/sbmips/machdep.c
215
uint64_t start, len, type;
sys/arch/sbmips/sbmips/machdep.c
223
while (cfe_enummem(idx, 0, &start, &len, &type) == 0) {
sys/arch/sbmips/sbmips/machdep.c
226
idx, start, len, (type == CFE_MI_AVAILABLE) ?
sys/arch/sbmips/sbmips/machdep.c
228
if ((type == CFE_MI_AVAILABLE) &&
sys/arch/sbmips/sbmips/rtc.c
457
time_readrtc(int chan, int slaveaddr, int devaddr, int type)
sys/arch/sbmips/sbmips/rtc.c
470
if (type == SMB_2BYTE_ADDR) {
sys/arch/sbmips/sbmips/rtc.c
500
if (type == SMB_2BYTE_ADDR)
sys/arch/sbmips/sbmips/rtc.c
530
time_writertc(int chan, int slaveaddr, int devaddr, int type, int b)
sys/arch/sbmips/sbmips/rtc.c
550
if (type == SMB_2BYTE_ADDR)
sys/arch/sbmips/sbmips/rtc.c
560
if (type == SMB_2BYTE_ADDR)
sys/arch/sbmips/sbmips/rtc.c
572
if (type == SMB_2BYTE_ADDR)
sys/arch/sbmips/sbmips/zbbus.c
123
zbbus_entity_type_name(enum zbbus_entity_type type)
sys/arch/sbmips/sbmips/zbbus.c
126
switch (type) {
sys/arch/sbmips/sbmips/zbbus.c
54
static const char *zbbus_entity_type_name(enum zbbus_entity_type type);
sys/arch/sbmips/stand/common/cfe_api.c
180
cfe_xuint_t *type)
sys/arch/sbmips/stand/common/cfe_api.c
198
*type = xiocb.plist.xiocb_meminfo.mi_type;
sys/arch/sbmips/stand/common/cfe_api.h
190
uint64_t *type);
sys/arch/sgimips/dev/scn.c
420
if (dp->type == SC26C92) {
sys/arch/sgimips/dev/scn.c
629
c92 = (dp->type == SC26C92);
sys/arch/sgimips/dev/scn.c
919
duart->type = scntype;
sys/arch/sgimips/dev/scnvar.h
99
enum scntype { SCNUNK, SCN2681, SCN2692, SC26C92 } type;
sys/arch/sgimips/dev/zs_kbd.c
397
u_int type;
sys/arch/sgimips/dev/zs_kbd.c
402
type = WSCONS_EVENT_KEY_UP;
sys/arch/sgimips/dev/zs_kbd.c
404
type = WSCONS_EVENT_KEY_DOWN;
sys/arch/sgimips/dev/zs_kbd.c
406
wskbd_input(sc->sc_dc->wskbddev, type, (key & ~ZSKBD_KEY_UP));
sys/arch/sgimips/dev/zs_kbd.c
591
zskbd_wskbd_getc(void *cookie, u_int *type, int *data)
sys/arch/sgimips/dev/zs_kbd.c
598
*type = WSCONS_EVENT_KEY_UP;
sys/arch/sgimips/dev/zs_kbd.c
600
*type = WSCONS_EVENT_KEY_DOWN;
sys/arch/sgimips/gio/grtwo.c
761
grtwo_alloc_screen(void *c, const struct wsscreen_descr * type, void **cookiep,
sys/arch/sgimips/gio/light.c
581
light_alloc_screen(void *c, const struct wsscreen_descr *type, void **cookiep,
sys/arch/sgimips/hpc/haltwo.c
121
#define haltwo_write(sc,type,off,val) \
sys/arch/sgimips/hpc/haltwo.c
122
bus_space_write_4(sc->sc_st, sc->sc_##type##_sh, off, val)
sys/arch/sgimips/hpc/haltwo.c
124
#define haltwo_read(sc,type,off) \
sys/arch/sgimips/hpc/haltwo.c
125
bus_space_read_4(sc->sc_st, sc->sc_##type##_sh, off)
sys/arch/sgimips/hpc/haltwo.c
481
if (mc->type != AUDIO_MIXER_VALUE)
sys/arch/sgimips/hpc/haltwo.c
546
dev->type = AUDIO_MIXER_VALUE;
sys/arch/sgimips/hpc/haltwo.c
557
dev->type = AUDIO_MIXER_CLASS;
sys/arch/sgimips/hpc/haud.c
1024
if (mc->type != AUDIO_MIXER_VALUE ||
sys/arch/sgimips/hpc/haud.c
1043
dev->type = AUDIO_MIXER_VALUE;
sys/arch/sgimips/hpc/haud.c
1053
dev->type = AUDIO_MIXER_CLASS;
sys/arch/sgimips/hpc/haud.c
1084
.type = IO_TYPE_AUDIO,
sys/arch/sgimips/hpc/haud.c
363
} type;
sys/arch/sgimips/hpc/haud.c
417
if (input->type == IO_TYPE_AUDIO) {
sys/arch/sgimips/hpc/haud.c
494
if (output->type == IO_TYPE_AUDIO) {
sys/arch/sgimips/hpc/haud.c
540
.type = IO_TYPE_COMMAND,
sys/arch/sgimips/hpc/haud.c
555
.type = IO_TYPE_COMMAND,
sys/arch/sgimips/hpc/haud.c
992
if (mc->type != AUDIO_MIXER_VALUE ||
sys/arch/sgimips/include/bootinfo.h
37
int type; /* type of bootinfo item */
sys/arch/sgimips/mace/mavb.c
559
di->type = AUDIO_MIXER_CLASS;
sys/arch/sgimips/mace/mavb.c
565
di->type = AUDIO_MIXER_ENUM;
sys/arch/sgimips/mace/mavb.c
579
di->type = AUDIO_MIXER_VALUE;
sys/arch/sgimips/mace/mavb.c
589
di->type = AUDIO_MIXER_CLASS;
sys/arch/sgimips/mace/mavb.c
595
di->type = AUDIO_MIXER_VALUE;
sys/arch/sgimips/mace/mavb.c
604
di->type = AUDIO_MIXER_ENUM;
sys/arch/sgimips/mace/mavb.c
623
di->type = AUDIO_MIXER_VALUE;
sys/arch/sgimips/mace/mavb.c
642
di->type = AUDIO_MIXER_ENUM;
sys/arch/sgimips/mace/mavb.c
656
di->type = AUDIO_MIXER_ENUM;
sys/arch/sgimips/mace/mavb.c
670
di->type = AUDIO_MIXER_CLASS;
sys/arch/sgimips/mace/mavb.c
676
di->type = AUDIO_MIXER_ENUM;
sys/arch/sgimips/mace/mavb.c
690
di->type = AUDIO_MIXER_ENUM;
sys/arch/sgimips/sgimips/arcemu.c
587
arcemu_mem(int type, int base, int count)
sys/arch/sgimips/sgimips/arcemu.c
590
.Type = type,
sys/arch/sgimips/sgimips/disksubr.c
313
vh->partitions[mp].type = partition_map[i].mips_type;
sys/arch/sgimips/sgimips/disksubr.c
322
vh->partitions[8].type = SGI_PTYPE_VOLHDR;
sys/arch/sgimips/sgimips/machdep.c
904
lookup_bootinfo(int type)
sys/arch/sgimips/sgimips/machdep.c
916
if (bt->type == type)
sys/arch/sgimips/stand/common/bootinfo.c
50
bootinfo->type = BTINFO_NONE;
sys/arch/sgimips/stand/common/bootinfo.c
60
bi_add(void *new, int type, size_t size)
sys/arch/sgimips/stand/common/bootinfo.c
73
bi->type = type;
sys/arch/sgimips/stand/common/bootinfo.c
79
bi->type = BTINFO_NONE;
sys/arch/sgimips/stand/sgivol/sgivol.c
326
be32toh(volhdr->partitions[i].type),
sys/arch/sgimips/stand/sgivol/sgivol.c
327
be32toh(volhdr->partitions[i].type) > 13 ? "???" :
sys/arch/sgimips/stand/sgivol/sgivol.c
328
sgi_types[be32toh(volhdr->partitions[i].type)]);
sys/arch/sgimips/stand/sgivol/sgivol.c
374
volhdr->partitions[10].type = htobe32(SGI_PTYPE_VOLUME);
sys/arch/sgimips/stand/sgivol/sgivol.c
377
volhdr->partitions[8].type = htobe32(SGI_PTYPE_VOLHDR);
sys/arch/sgimips/stand/sgivol/sgivol.c
385
volhdr->partitions[0].type = htobe32(SGI_PTYPE_BSD);
sys/arch/sgimips/stand/sgivol/sgivol.c
582
volhdr->partitions[partno].type = htobe32(parttype);
sys/arch/sgimips/stand/undist/undist.c
333
new_offset_table_entry(char *type, mode_t mode, char *owner, char *group,
sys/arch/sgimips/stand/undist/undist.c
340
ote->type = xstrdup(type);
sys/arch/sgimips/stand/undist/undist.c
655
char *type, *smode, *owner, *token, *group;
sys/arch/sgimips/stand/undist/undist.c
682
type = smode = owner = group = dstfile = NULL;
sys/arch/sgimips/stand/undist/undist.c
704
case 0: type = token; break;
sys/arch/sgimips/stand/undist/undist.c
732
if (streql(type, "b") || streql(type, "c") ||
sys/arch/sgimips/stand/undist/undist.c
733
streql(type, "d") || streql(type, "l"))
sys/arch/sgimips/stand/undist/undist.c
736
if (!streql(type, "f") || smode == NULL ||
sys/arch/sgimips/stand/undist/undist.c
763
offset_table[tblidx++] = new_offset_table_entry(type, mode,
sys/arch/sgimips/stand/undist/undist.c
84
char *type;
sys/arch/sh3/include/asm.h
103
.type _C_LABEL(name),@function ;\
sys/arch/sh3/include/asm.h
67
.type x,@function ;\
sys/arch/sh3/include/db_machdep.h
59
#define IS_BREAKPOINT_TRAP(type, code) \
sys/arch/sh3/include/db_machdep.h
60
((type) == EXPEVT_TRAPA && (code) == _SH_TRA_BREAK)
sys/arch/sh3/include/db_machdep.h
61
#define IS_WATCHPOINT_TRAP(type, code) (false)
sys/arch/sh3/sh3/db_disasm.c
1040
int rm, type, md;
sys/arch/sh3/sh3/db_disasm.c
1043
type = (insn & 0x00c0) >> 6;
sys/arch/sh3/sh3/db_disasm.c
1046
switch (type) {
sys/arch/sh3/sh3/db_disasm.c
1127
int rm, type, md;
sys/arch/sh3/sh3/db_disasm.c
1130
type = (insn & 0x00c0) >> 6;
sys/arch/sh3/sh3/db_disasm.c
1133
switch (type) {
sys/arch/sh3/sh3/db_disasm.c
1329
int type, md, rn, disp;
sys/arch/sh3/sh3/db_disasm.c
1331
type = (insn & 0x0c00) >> 10;
sys/arch/sh3/sh3/db_disasm.c
1334
switch (type) {
sys/arch/sh3/sh3/db_disasm.c
1451
int type, md, imm;
sys/arch/sh3/sh3/db_disasm.c
1453
type = (insn & 0x0c00) >> 10;
sys/arch/sh3/sh3/db_disasm.c
1457
switch (type) {
sys/arch/sh3/sh3/db_disasm.c
1674
int rn, type, md;
sys/arch/sh3/sh3/db_disasm.c
1677
type = (insn & 0x00c0) >> 6;
sys/arch/sh3/sh3/db_disasm.c
1680
switch (type) {
sys/arch/sh3/sh3/db_disasm.c
195
int rn, type, md;
sys/arch/sh3/sh3/db_disasm.c
198
type = (insn & 0x00c0) >> 6;
sys/arch/sh3/sh3/db_disasm.c
201
switch (type) {
sys/arch/sh3/sh3/db_disasm.c
245
int rn, type, md;
sys/arch/sh3/sh3/db_disasm.c
248
type = (insn & 0x00c0) >> 6;
sys/arch/sh3/sh3/db_disasm.c
251
switch (type) {
sys/arch/sh3/sh3/db_disasm.c
308
int n1, type, md;
sys/arch/sh3/sh3/db_disasm.c
311
type = (insn & 0x00c0) >> 6;
sys/arch/sh3/sh3/db_disasm.c
317
switch (type) {
sys/arch/sh3/sh3/db_disasm.c
384
int rn, type, md;
sys/arch/sh3/sh3/db_disasm.c
387
type = (insn & 0x00c0) >> 6;
sys/arch/sh3/sh3/db_disasm.c
390
switch (type) {
sys/arch/sh3/sh3/db_disasm.c
768
int rn, type, md;
sys/arch/sh3/sh3/db_disasm.c
771
type = (insn & 0x00c0) >> 6;
sys/arch/sh3/sh3/db_disasm.c
774
switch (type) {
sys/arch/sh3/sh3/db_disasm.c
809
int rn, type, md;
sys/arch/sh3/sh3/db_disasm.c
812
type = (insn & 0x00c0) >> 6;
sys/arch/sh3/sh3/db_disasm.c
815
switch (type) {
sys/arch/sh3/sh3/db_disasm.c
902
int rm, type, md;
sys/arch/sh3/sh3/db_disasm.c
905
type = (insn & 0x00c0) >> 6;
sys/arch/sh3/sh3/db_disasm.c
908
switch (type) {
sys/arch/sh3/sh3/db_disasm.c
943
int rm, type, md;
sys/arch/sh3/sh3/db_disasm.c
946
type = (insn & 0x00c0) >> 6;
sys/arch/sh3/sh3/db_disasm.c
949
switch (type) {
sys/arch/sh3/sh3/db_interface.c
130
kdb_printtrap(u_int type, int code)
sys/arch/sh3/sh3/db_interface.c
133
i = type >> 5;
sys/arch/sh3/sh3/db_interface.c
135
db_printf("%s mode trap: ", type & 1 ? "user" : "kernel");
sys/arch/sh3/sh3/db_interface.c
137
db_printf("type 0x%03x", type & ~1);
sys/arch/sh3/sh3/db_interface.c
145
kdb_trap(int type, int code, db_regs_t *regs)
sys/arch/sh3/sh3/db_interface.c
149
switch (type) {
sys/arch/sh3/sh3/db_interface.c
158
kdb_printtrap(type, code);
sys/arch/sh3/sh3/db_interface.c
175
db_trap(type, code);
sys/arch/sh3/sh3/kgdb_machdep.c
143
kgdb_signal(int type)
sys/arch/sh3/sh3/kgdb_machdep.c
146
switch (type) {
sys/arch/shark/isa/isa_shark_machdep.c
166
isa_intr_establish(isa_chipset_tag_t ic, int irq, int type, int level, int (*ih_fun)(void *), void *ih_arg)
sys/arch/shark/isa/isa_shark_machdep.c
172
if (!LEGAL_IRQ(irq) || type == IST_NONE)
sys/arch/shark/isa/isa_shark_machdep.c
177
if (type != IST_LEVEL)
sys/arch/shark/ofw/com_ofisa_machdep.c
57
char type[8];
sys/arch/shark/ofw/com_ofisa_machdep.c
66
type, sizeof(type)) > 0 &&
sys/arch/shark/ofw/com_ofisa_machdep.c
67
strcmp(type, "serial") == 0 &&
sys/arch/shark/ofw/if_cs_ofisa_machdep.c
115
descp[0].type = OFISA_REG_TYPE_IO;
sys/arch/shark/ofw/if_cs_ofisa_machdep.c
119
descp[1].type = OFISA_REG_TYPE_MEM;
sys/arch/shark/ofw/if_cs_ofisa_machdep.c
72
char type[64];
sys/arch/shark/ofw/if_cs_ofisa_machdep.c
81
if (OF_getprop(aa->oba.oba_phandle, "device_type", type,
sys/arch/shark/ofw/if_cs_ofisa_machdep.c
82
sizeof(type)) < 0 || strcmp(type, "network") != 0 ||
sys/arch/shark/ofw/lpt_ofisa_machdep.c
59
char type[9];
sys/arch/shark/ofw/lpt_ofisa_machdep.c
67
type, sizeof(type)) > 0 &&
sys/arch/shark/ofw/lpt_ofisa_machdep.c
68
strcmp(type, "parallel") == 0 &&
sys/arch/shark/ofw/ofisa_machdep.c
80
char type[8];
sys/arch/shark/ofw/ofisa_machdep.c
87
if (OF_getprop(oba->oba_phandle, "device_type", type,
sys/arch/shark/ofw/ofisa_machdep.c
88
sizeof(type)) > 0 &&
sys/arch/shark/ofw/ofisa_machdep.c
89
strcmp(type, "isa") == 0 &&
sys/arch/shark/ofw/ofisascr.c
67
char type[64];
sys/arch/shark/ofw/ofisascr.c
71
if ( OF_getprop(oba->oba_phandle, "device_type", type,
sys/arch/shark/ofw/ofisascr.c
72
sizeof(type)) < 0 || strcmp(type, "ISO7816") != 0 ||
sys/arch/shark/ofw/wdc_ofisa_machdep.c
57
char type[8];
sys/arch/shark/ofw/wdc_ofisa_machdep.c
65
type, sizeof(type)) > 0 &&
sys/arch/shark/ofw/wdc_ofisa_machdep.c
66
strcmp(type, "ide") == 0 &&
sys/arch/shark/shark/i8042.c
202
u_char type)
sys/arch/shark/shark/i8042.c
212
if (((status & type) == type) ||
sys/arch/shark/shark/i8042.c
213
((type == I8042_ANY_DATA) && (status & KBS_DIB)))
sys/arch/shark/stand/ofwboot/ofdev.c
114
if (dev->type != OFDEV_DISK)
sys/arch/shark/stand/ofwboot/ofdev.c
138
if (op->type == OFDEV_NET)
sys/arch/shark/stand/ofwboot/ofdev.c
299
ofdev.type = OFDEV_DISK;
sys/arch/shark/stand/ofwboot/ofdev.c
332
ofdev.type = OFDEV_NET;
sys/arch/shark/stand/ofwboot/ofdev.h
38
int type;
sys/arch/sparc/dev/fd.c
1128
struct fd_type *type;
sys/arch/sparc/dev/fd.c
1134
type = fd_dev_to_type(fd, dev);
sys/arch/sparc/dev/fd.c
1135
if (type == NULL)
sys/arch/sparc/dev/fd.c
1139
fd->sc_type != type)
sys/arch/sparc/dev/fd.c
1142
fd->sc_type = type;
sys/arch/sparc/dev/fd.c
1442
struct fd_type *type;
sys/arch/sparc/dev/fd.c
1590
type = fd->sc_type;
sys/arch/sparc/dev/fd.c
1591
sec = fd->sc_blkno % type->seccyl;
sys/arch/sparc/dev/fd.c
1592
nblks = type->seccyl - sec;
sys/arch/sparc/dev/fd.c
1597
head = sec / type->sectrac;
sys/arch/sparc/dev/fd.c
1598
sec -= head * type->sectrac;
sys/arch/sparc/dev/fd.c
1601
block = (fd->sc_cylin * type->heads + head) * type->sectrac + sec;
sys/arch/sparc/dev/fd.c
1616
fdc->sc_reg_drs, type->rate);
sys/arch/sparc/dev/fd.c
1651
FDC_WRFIFO(fdc, type->secsize);/*sector size*/
sys/arch/sparc/dev/fd.c
1652
FDC_WRFIFO(fdc, type->sectrac);/*secs/track*/
sys/arch/sparc/dev/fd.c
1653
FDC_WRFIFO(fdc, type->gap1); /*gap1 size*/
sys/arch/sparc/dev/fd.c
1654
FDC_WRFIFO(fdc, type->datalen);/*data length*/
sys/arch/sparc/dev/fd.c
2182
struct fd_type *type = fd->sc_type;
sys/arch/sparc/dev/fd.c
2200
bp->b_blkno = ((finfo->cyl * (type->sectrac * type->heads)
sys/arch/sparc/dev/fd.c
2201
+ finfo->head * type->sectrac) * FD_BSIZE(fd))
sys/arch/sparc/dev/fd.c
784
struct fd_type *type = fa->fa_deftype;
sys/arch/sparc/dev/fd.c
794
if (type)
sys/arch/sparc/dev/fd.c
795
printf(": %s %d cyl, %d head, %d sec\n", type->name,
sys/arch/sparc/dev/fd.c
796
type->cylinders, type->heads, type->sectrac);
sys/arch/sparc/dev/fd.c
803
fd->sc_deftype = type;
sys/arch/sparc/dev/fd.c
807
fdc_wrfifo(fdc, type->steprate);
sys/arch/sparc/dev/fd.c
846
int type = FDTYPE(dev);
sys/arch/sparc/dev/fd.c
848
if (type > (sizeof(fd_types) / sizeof(fd_types[0])))
sys/arch/sparc/dev/fd.c
850
return (type ? &fd_types[type - 1] : fd->sc_deftype);
sys/arch/sparc/dev/tctrl.c
749
evp->type = event_type;
sys/arch/sparc/dev/ts102.c
1007
TSPRINTF("tslot_slot_settype(%d)\n",type);
sys/arch/sparc/dev/ts102.c
1008
if (type == PCMCIA_IFTYPE_IO) {
sys/arch/sparc/dev/ts102.c
997
tslot_slot_settype(pcmcia_chipset_handle_t pch, int type)
sys/arch/sparc/fpu/fpu.c
305
int opf, rs1, rs2, rd, type, mask, fsr, cx;
sys/arch/sparc/fpu/fpu.c
308
int opf, rs1, rs2, rd, type, mask, fsr, cx, i, cond;
sys/arch/sparc/fpu/fpu.c
334
type = opf & 3;
sys/arch/sparc/fpu/fpu.c
335
mask = 0x3 >> (3 - type);
sys/arch/sparc/fpu/fpu.c
477
i = 1<<(type-1);
sys/arch/sparc/fpu/fpu.c
487
fpu_explode(fe, &fe->fe_f1, type, rs2);
sys/arch/sparc/fpu/fpu.c
493
fpu_explode(fe, &fe->fe_f1, type, rs1);
sys/arch/sparc/fpu/fpu.c
494
fpu_explode(fe, &fe->fe_f2, type, rs2);
sys/arch/sparc/fpu/fpu.c
500
fpu_explode(fe, &fe->fe_f1, type, rs1);
sys/arch/sparc/fpu/fpu.c
501
fpu_explode(fe, &fe->fe_f2, type, rs2);
sys/arch/sparc/fpu/fpu.c
507
fpu_explode(fe, &fe->fe_f1, type, rs1);
sys/arch/sparc/fpu/fpu.c
508
fpu_explode(fe, &fe->fe_f2, type, rs2);
sys/arch/sparc/fpu/fpu.c
514
fpu_explode(fe, &fe->fe_f1, type, rs1);
sys/arch/sparc/fpu/fpu.c
515
fpu_explode(fe, &fe->fe_f2, type, rs2);
sys/arch/sparc/fpu/fpu.c
521
fpu_explode(fe, &fe->fe_f1, type, rs1);
sys/arch/sparc/fpu/fpu.c
522
fpu_explode(fe, &fe->fe_f2, type, rs2);
sys/arch/sparc/fpu/fpu.c
528
fpu_explode(fe, &fe->fe_f1, type, rs1);
sys/arch/sparc/fpu/fpu.c
529
fpu_explode(fe, &fe->fe_f2, type, rs2);
sys/arch/sparc/fpu/fpu.c
552
if (type == FTYPE_EXT)
sys/arch/sparc/fpu/fpu.c
554
fpu_explode(fe, &fe->fe_f1, type, rs1);
sys/arch/sparc/fpu/fpu.c
555
fpu_explode(fe, &fe->fe_f2, type, rs2);
sys/arch/sparc/fpu/fpu.c
556
type++; /* single to double, or double to quad */
sys/arch/sparc/fpu/fpu.c
565
type = FTYPE_LNG;
sys/arch/sparc/fpu/fpu.c
566
fpu_explode(fe, fp = &fe->fe_f1, type, rs2);
sys/arch/sparc/fpu/fpu.c
567
type = opf & 3; /* sneaky; depends on instruction encoding */
sys/arch/sparc/fpu/fpu.c
572
fpu_explode(fe, fp = &fe->fe_f1, type, rs2);
sys/arch/sparc/fpu/fpu.c
573
type = FTYPE_LNG;
sys/arch/sparc/fpu/fpu.c
581
fpu_explode(fe, fp = &fe->fe_f1, type, rs2);
sys/arch/sparc/fpu/fpu.c
582
type = FTYPE_INT;
sys/arch/sparc/fpu/fpu.c
591
fpu_explode(fe, fp = &fe->fe_f1, type, rs2);
sys/arch/sparc/fpu/fpu.c
593
type = opf & 3; /* sneaky; depends on instruction encoding */
sys/arch/sparc/fpu/fpu.c
594
mask = 0x3 >> (3 - type);
sys/arch/sparc/fpu/fpu.c
606
fpu_implode(fe, fp, type, space);
sys/arch/sparc/fpu/fpu.c
621
DPRINTF(FPE_REG, ("-> %c%d\n", (type == FTYPE_LNG) ? 'x' :
sys/arch/sparc/fpu/fpu.c
622
((type == FTYPE_INT) ? 'i' :
sys/arch/sparc/fpu/fpu.c
623
((type == FTYPE_SNG) ? 's' :
sys/arch/sparc/fpu/fpu.c
624
((type == FTYPE_DBL) ? 'd' :
sys/arch/sparc/fpu/fpu.c
625
((type == FTYPE_EXT) ? 'q' : '?')))),
sys/arch/sparc/fpu/fpu.c
628
if (type >= FTYPE_DBL || type == FTYPE_LNG) {
sys/arch/sparc/fpu/fpu.c
630
if (type > FTYPE_DBL) {
sys/arch/sparc/fpu/fpu_explode.c
237
fpu_explode(struct fpemu *fe, struct fpn *fp, int type, int reg)
sys/arch/sparc/fpu/fpu_explode.c
250
switch (type) {
sys/arch/sparc/fpu/fpu_explode.c
290
DPRINTF(FPE_REG, ("fpu_explode: %%%c%d => ", (type == FTYPE_LNG) ? 'x' :
sys/arch/sparc/fpu/fpu_explode.c
291
((type == FTYPE_INT) ? 'i' :
sys/arch/sparc/fpu/fpu_explode.c
292
((type == FTYPE_SNG) ? 's' :
sys/arch/sparc/fpu/fpu_explode.c
293
((type == FTYPE_DBL) ? 'd' :
sys/arch/sparc/fpu/fpu_explode.c
294
((type == FTYPE_EXT) ? 'q' : '?')))),
sys/arch/sparc/fpu/fpu_explode.c
298
if (type == FTYPE_INT) printf("%d ", s);
sys/arch/sparc/fpu/fpu_explode.c
301
if (type == FTYPE_LNG) printf("%ld ", l);
sys/arch/sparc/fpu/fpu_explode.c
303
if (type == FTYPE_LNG) printf("%lld ", l);
sys/arch/sparc/fpu/fpu_implode.c
491
fpu_implode(struct fpemu *fe, struct fpn *fp, int type, u_int *space)
sys/arch/sparc/fpu/fpu_implode.c
498
switch (type) {
sys/arch/sparc/include/asm.h
112
#define FTYPE(x) .type x,@function
sys/arch/sparc/include/asm.h
113
#define OTYPE(x) .type x,@object
sys/arch/sparc/include/bootinfo.h
39
int type;
sys/arch/sparc/include/db_machdep.h
73
#define IS_BREAKPOINT_TRAP(type, code) \
sys/arch/sparc/include/db_machdep.h
74
((type) == T_BREAKPOINT || (type) == T_KGDB_EXEC)
sys/arch/sparc/include/db_machdep.h
75
#define IS_WATCHPOINT_TRAP(type, code) (0)
sys/arch/sparc/sparc/autoconf.c
1927
lookup_bootinfo(int type)
sys/arch/sparc/sparc/autoconf.c
1938
if (bt->type == type)
sys/arch/sparc/sparc/autoconf.c
2002
bt->next = bt->type = 0;
sys/arch/sparc/sparc/db_interface.c
232
kdb_trap(int type, struct trapframe *tf)
sys/arch/sparc/sparc/db_interface.c
241
switch (type) {
sys/arch/sparc/sparc/db_interface.c
249
printf("kernel: %s trap\n", trap_type[type & 0xff]);
sys/arch/sparc/sparc/db_interface.c
275
db_trap(type, 0/*code*/);
sys/arch/sparc/sparc/kgdb_machdep.c
271
kgdb_signal(int type)
sys/arch/sparc/sparc/kgdb_machdep.c
275
switch (type) {
sys/arch/sparc/sparc/kobj_machdep.c
132
u_int symidx, type;
sys/arch/sparc/sparc/kobj_machdep.c
138
type = ELF_R_TYPE(rela->r_info);
sys/arch/sparc/sparc/kobj_machdep.c
147
if (type == R_TYPE(NONE))
sys/arch/sparc/sparc/kobj_machdep.c
155
if (type == R_TYPE(JMP_SLOT) || type == R_TYPE(COPY) ||
sys/arch/sparc/sparc/kobj_machdep.c
156
type > R_TYPE(6)) {
sys/arch/sparc/sparc/kobj_machdep.c
157
printf("kobj_reloc: unexpected reloc type %d\n", type);
sys/arch/sparc/sparc/kobj_machdep.c
161
if (type == R_TYPE(RELATIVE)) {
sys/arch/sparc/sparc/kobj_machdep.c
166
if (RELOC_RESOLVE_SYMBOL(type)) {
sys/arch/sparc/sparc/kobj_machdep.c
173
if (RELOC_PC_RELATIVE(type)) {
sys/arch/sparc/sparc/kobj_machdep.c
177
if (RELOC_BASE_RELATIVE(type)) {
sys/arch/sparc/sparc/kobj_machdep.c
181
mask = RELOC_VALUE_BITMASK(type);
sys/arch/sparc/sparc/kobj_machdep.c
182
value >>= RELOC_VALUE_RIGHTSHIFT(type);
sys/arch/sparc/sparc/kobj_machdep.c
185
if (RELOC_UNALIGNED(type)) {
sys/arch/sparc/sparc/kobj_machdep.c
188
int i, size = RELOC_TARGET_SIZE(type)/8;
sys/arch/sparc/sparc/memreg.c
218
hardmemerr4m(unsigned type, u_int sfsr, u_int sfva, u_int afsr, u_int afva)
sys/arch/sparc/sparc/memreg.c
222
printf("memory fault: type %d", type);
sys/arch/sparc/sparc/memreg.c
252
hypersparc_memerr(unsigned type, u_int sfsr, u_int sfva, struct trapframe *tf)
sys/arch/sparc/sparc/memreg.c
277
hardmemerr4m(type, sfsr, sfva, afsr, afva);
sys/arch/sparc/sparc/memreg.c
282
viking_memerr(unsigned type, u_int sfsr, u_int sfva, struct trapframe *tf)
sys/arch/sparc/sparc/memreg.c
289
if (type == T_STOREBUFFAULT) {
sys/arch/sparc/sparc/memreg.c
308
} else if (type == T_DATAFAULT && (sfsr & SFSR_FAV) == 0) {
sys/arch/sparc/sparc/memreg.c
326
hardmemerr4m(type, sfsr, sfva, afsr, afva);
sys/arch/sparc/sparc/memreg.c
331
memerr4m(unsigned type, u_int sfsr, u_int sfva, struct trapframe *tf)
sys/arch/sparc/sparc/memreg.c
345
hardmemerr4m(type, sfsr, sfva, afsr, afva);
sys/arch/sparc/sparc/promlib.c
238
.type = DEVHANDLE_TYPE_OPENBOOT,
sys/arch/sparc/sparc/promlib.c
412
args->type = proptype;
sys/arch/sparc/sparc/trap.c
1016
if (type == T_DATAERROR || type == T_TEXTERROR)
sys/arch/sparc/sparc/trap.c
1018
p->p_comm, p->p_pid, type, pc, sfsr, sfva);
sys/arch/sparc/sparc/trap.c
1036
if (type == T_STOREBUFFAULT ||
sys/arch/sparc/sparc/trap.c
1037
(type == T_DATAFAULT && (sfsr & SFSR_FAV) == 0)) {
sys/arch/sparc/sparc/trap.c
1038
(*cpuinfo.memerr)(type, sfsr, sfva, tf);
sys/arch/sparc/sparc/trap.c
1078
if ((type & ~0x20) == T_TEXTFAULT)
sys/arch/sparc/sparc/trap.c
1110
if (((sfsr & SFSR_AT_TEXT) || type == T_TEXTFAULT) &&
sys/arch/sparc/sparc/trap.c
1146
if ((sfsr & SFSR_AT_TEXT) || (type & ~0x20) == T_TEXTFAULT) {
sys/arch/sparc/sparc/trap.c
1154
if (sfsr & SFSR_AT_TEXT || type == T_TEXTFAULT) {
sys/arch/sparc/sparc/trap.c
1254
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
222
trap(unsigned type, int psr, int pc, struct trapframe *tf)
sys/arch/sparc/sparc/trap.c
243
if (type == T_BREAKPOINT) {
sys/arch/sparc/sparc/trap.c
245
if (kdb_trap(type, tf)) {
sys/arch/sparc/sparc/trap.c
250
if (type == T_DBPAUSE) {
sys/arch/sparc/sparc/trap.c
264
if (type == T_FLUSHWIN) {
sys/arch/sparc/sparc/trap.c
270
if (type == T_UNIMPLFLUSH) {
sys/arch/sparc/sparc/trap.c
292
if (type == T_FPDISABLED && cold) {
sys/arch/sparc/sparc/trap.c
299
type, pc, tf->tf_npc, bits);
sys/arch/sparc/sparc/trap.c
302
(void) kdb_trap(type, tf);
sys/arch/sparc/sparc/trap.c
304
panic("%s", type < N_TRAP_TYPES ? trap_type[type] : T);
sys/arch/sparc/sparc/trap.c
315
if (type != T_FPDISABLED && (tf->tf_psr & PSR_EF) != 0) {
sys/arch/sparc/sparc/trap.c
329
switch (type) {
sys/arch/sparc/sparc/trap.c
332
if (type < 0x80) {
sys/arch/sparc/sparc/trap.c
337
type, pc, tf->tf_npc, bits);
sys/arch/sparc/sparc/trap.c
340
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
347
if (type < 0x90 || type > 0x9f) {
sys/arch/sparc/sparc/trap.c
351
p->p_comm, p->p_pid, type);
sys/arch/sparc/sparc/trap.c
356
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
382
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
390
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
421
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
436
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
565
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
590
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
602
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
610
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
618
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
628
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
654
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
673
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
759
mem_access_fault(unsigned type, int ser, u_int v, int pc, int psr,
sys/arch/sparc/sparc/trap.c
805
if (type == T_TEXTFAULT)
sys/arch/sparc/sparc/trap.c
812
if ((ser & SER_PROT) && atype == VM_PROT_READ && type != T_TEXTFAULT) {
sys/arch/sparc/sparc/trap.c
827
if (type == T_TEXTFAULT) {
sys/arch/sparc/sparc/trap.c
960
ksi.ksi_trap = type;
sys/arch/sparc/sparc/trap.c
976
mem_access_fault4m(unsigned type, u_int sfsr, u_int sfva, struct trapframe *tf)
sys/arch/sparc/stand/boot/bootinfo.c
59
bi->next = bi->type = 0;
sys/arch/sparc/stand/boot/bootinfo.c
69
bi_add(void *new, int type, size_t size)
sys/arch/sparc/stand/boot/bootinfo.c
78
bi->type = type;
sys/arch/sparc/stand/boot/bootinfo.c
83
bi->next = bi->type = 0;
sys/arch/sparc/stand/common/promdev.c
561
int type;
sys/arch/sparc/stand/common/promdev.c
586
return (dp->type);
sys/arch/sparc/stand/ofwboot/bootinfo.c
66
bi->next = bi->type = 0;
sys/arch/sparc/stand/ofwboot/bootinfo.c
76
bi_add(void *new, int type, size_t size)
sys/arch/sparc/stand/ofwboot/bootinfo.c
85
bi->type = type;
sys/arch/sparc/stand/ofwboot/bootinfo.c
90
bi->next = bi->type = 0;
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
781
loadfile_set_allocator(int type)
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
783
if (type >= (sizeof(memswa) / sizeof(struct memsw))) {
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
792
memsw = &memswa[type];
sys/arch/sparc/stand/ofwboot/ofdev.c
145
if (dev->type != OFDEV_DISK)
sys/arch/sparc/stand/ofwboot/ofdev.c
182
if (op->type == OFDEV_NET)
sys/arch/sparc/stand/ofwboot/ofdev.c
538
ofdev.type = OFDEV_DISK;
sys/arch/sparc/stand/ofwboot/ofdev.c
607
ofdev.type = OFDEV_NET;
sys/arch/sparc/stand/ofwboot/ofdev.h
38
int type;
sys/arch/sparc64/dev/ebus.c
368
ebus_alloc_bus_tag(struct ebus_softc *sc, int type)
sys/arch/sparc64/dev/ebus.c
375
bt->type = type;
sys/arch/sparc64/dev/ebus_mainbus.c
188
int type)
sys/arch/sparc64/dev/ebus_mainbus.c
195
bt->type = type;
sys/arch/sparc64/dev/fdc.c
1019
int type = FDTYPE(dev);
sys/arch/sparc64/dev/fdc.c
1021
if (type > (sizeof(fd_types) / sizeof(fd_types[0])))
sys/arch/sparc64/dev/fdc.c
1023
return type ? &fd_types[type - 1] : fd->sc_deftype;
sys/arch/sparc64/dev/fdc.c
1312
struct fd_type *type;
sys/arch/sparc64/dev/fdc.c
1317
type = fd_dev_to_type(fd, dev);
sys/arch/sparc64/dev/fdc.c
1318
if (type == NULL)
sys/arch/sparc64/dev/fdc.c
1322
fd->sc_type != type)
sys/arch/sparc64/dev/fdc.c
1325
fd->sc_type = type;
sys/arch/sparc64/dev/fdc.c
1625
struct fd_type *type;
sys/arch/sparc64/dev/fdc.c
1773
type = fd->sc_type;
sys/arch/sparc64/dev/fdc.c
1774
sec = fd->sc_blkno % type->seccyl;
sys/arch/sparc64/dev/fdc.c
1775
nblks = type->seccyl - sec;
sys/arch/sparc64/dev/fdc.c
1780
head = sec / type->sectrac;
sys/arch/sparc64/dev/fdc.c
1781
sec -= head * type->sectrac;
sys/arch/sparc64/dev/fdc.c
1784
block = (fd->sc_cylin * type->heads + head) * type->sectrac +
sys/arch/sparc64/dev/fdc.c
1801
fdc->sc_reg_drs, type->rate);
sys/arch/sparc64/dev/fdc.c
1836
FDC_WRFIFO(fdc, type->secsize); /*sector size*/
sys/arch/sparc64/dev/fdc.c
1837
FDC_WRFIFO(fdc, type->sectrac); /*secs/track*/
sys/arch/sparc64/dev/fdc.c
1838
FDC_WRFIFO(fdc, type->gap1); /*gap1 size*/
sys/arch/sparc64/dev/fdc.c
1839
FDC_WRFIFO(fdc, type->datalen); /*data length*/
sys/arch/sparc64/dev/fdc.c
2365
struct fd_type *type = fd->sc_type;
sys/arch/sparc64/dev/fdc.c
2383
bp->b_blkno = ((finfo->cyl * (type->sectrac * type->heads)
sys/arch/sparc64/dev/fdc.c
2384
+ finfo->head * type->sectrac) * FD_BSIZE(fd))
sys/arch/sparc64/dev/fdc.c
956
struct fd_type *type = fa->fa_deftype;
sys/arch/sparc64/dev/fdc.c
965
if (type)
sys/arch/sparc64/dev/fdc.c
966
printf(": %s %d cyl, %d head, %d sec\n", type->name,
sys/arch/sparc64/dev/fdc.c
967
type->cylinders, type->heads, type->sectrac);
sys/arch/sparc64/dev/fdc.c
974
fd->sc_deftype = type;
sys/arch/sparc64/dev/fdc.c
978
fdc_wrfifo(fdc, type->steprate);
sys/arch/sparc64/dev/fhc.c
172
bt->type = 0; /* XXX asi? */
sys/arch/sparc64/dev/ldc.c
261
lp->type = LDC_CTRL;
sys/arch/sparc64/dev/ldc.c
300
lp->type = LDC_CTRL;
sys/arch/sparc64/dev/ldc.c
338
lp->type = LDC_CTRL;
sys/arch/sparc64/dev/ldc.c
376
lp->type = LDC_CTRL;
sys/arch/sparc64/dev/ldc.c
414
lp->type = LDC_CTRL;
sys/arch/sparc64/dev/ldc.c
463
lp->type = LDC_DATA;
sys/arch/sparc64/dev/ldcvar.h
53
uint8_t type;
sys/arch/sparc64/dev/pci_machdep.c
492
sparc_pci_childspace(int type)
sys/arch/sparc64/dev/pci_machdep.c
496
switch (type) {
sys/arch/sparc64/dev/pci_machdep.c
513
panic("get_childspace: unknown bus type: %d", type);
sys/arch/sparc64/dev/psycho.c
1080
psycho_alloc_bus_tag(struct psycho_pbm *pp, int type)
sys/arch/sparc64/dev/psycho.c
1088
bt->type = type;
sys/arch/sparc64/dev/psycho.c
1155
__func__, t->type, (unsigned long long)offset,
sys/arch/sparc64/dev/psycho.c
1160
ss = sparc_pci_childspace(t->type);
sys/arch/sparc64/dev/psycho.c
1189
ss = sparc_pci_childspace(t->type);
sys/arch/sparc64/dev/psycho.c
1221
ss = sparc_pci_childspace(t->type);
sys/arch/sparc64/dev/psycho.c
1223
__func__, t->type, addr, ss));
sys/arch/sparc64/dev/psycho.c
628
i = sc->sc_bustag->type;
sys/arch/sparc64/dev/psycho.c
629
sc->sc_bustag->type = PCI_CONFIG_BUS_SPACE;
sys/arch/sparc64/dev/psycho.c
633
sc->sc_bustag->type = i;
sys/arch/sparc64/dev/pyro.c
391
pyro_alloc_bus_tag(struct pyro_pbm *pbm, const char *name, int type)
sys/arch/sparc64/dev/pyro.c
405
bt->type = type;
sys/arch/sparc64/dev/pyro.c
480
t->type,
sys/arch/sparc64/dev/pyro.c
491
ss = sparc_pci_childspace(t->type);
sys/arch/sparc64/dev/pyro.c
529
ss = sparc_pci_childspace(t->type);
sys/arch/sparc64/dev/sbus.c
213
sbt->type = SBUS_BUS_SPACE;
sys/arch/sparc64/dev/schizo.c
1011
!(r->type & REG_TYPE_SCHIZO)) ||
sys/arch/sparc64/dev/schizo.c
1013
!(r->type & REG_TYPE_TOMATILLO)))
sys/arch/sparc64/dev/schizo.c
1044
!(r->type & REG_TYPE_SCHIZO)) ||
sys/arch/sparc64/dev/schizo.c
1046
!(r->type & REG_TYPE_TOMATILLO)))
sys/arch/sparc64/dev/schizo.c
1063
!(r->type & REG_TYPE_TOMATILLO)))
sys/arch/sparc64/dev/schizo.c
628
schizo_alloc_bus_tag(struct schizo_pbm *pbm, const char *name, int type)
sys/arch/sparc64/dev/schizo.c
636
bt->type = type;
sys/arch/sparc64/dev/schizo.c
726
t->type,
sys/arch/sparc64/dev/schizo.c
737
ss = sparc_pci_childspace(t->type);
sys/arch/sparc64/dev/schizo.c
770
ss = sparc_pci_childspace(t->type);
sys/arch/sparc64/dev/schizo.c
945
!(r->type & REG_TYPE_SCHIZO)) ||
sys/arch/sparc64/dev/schizo.c
947
!(r->type & REG_TYPE_TOMATILLO)))
sys/arch/sparc64/dev/schizo.c
973
!(r->type & REG_TYPE_SCHIZO)) ||
sys/arch/sparc64/dev/schizo.c
975
!(r->type & REG_TYPE_TOMATILLO)))
sys/arch/sparc64/dev/schizo.c
978
!(r->type & REG_TYPE_LEAF_A)) ||
sys/arch/sparc64/dev/schizo.c
980
!(r->type & REG_TYPE_LEAF_B)))
sys/arch/sparc64/dev/schizoreg.h
345
const int type;
sys/arch/sparc64/dev/vdsk.c
1284
dm.tag.type = VIO_TYPE_DATA;
sys/arch/sparc64/dev/vdsk.c
516
switch (lp->type) {
sys/arch/sparc64/dev/vdsk.c
526
DPRINTF(("%0x02/%0x02/%0x02\n", lp->type, lp->stype,
sys/arch/sparc64/dev/vdsk.c
549
switch (vm->type) {
sys/arch/sparc64/dev/vdsk.c
564
DPRINTF(("Unhandled packet type 0x%02x\n", vm->type));
sys/arch/sparc64/dev/vdsk.c
573
struct vio_msg_tag *tag = (struct vio_msg_tag *)&vm->type;
sys/arch/sparc64/dev/vdsk.c
742
struct vio_msg_tag *tag = (struct vio_msg_tag *)&vm->type;
sys/arch/sparc64/dev/vdsk.c
834
vi.tag.type = VIO_TYPE_CTRL;
sys/arch/sparc64/dev/vdsk.c
852
ai.tag.type = VIO_TYPE_CTRL;
sys/arch/sparc64/dev/vdsk.c
872
dr.tag.type = VIO_TYPE_CTRL;
sys/arch/sparc64/dev/vdsk.c
894
rdx.tag.type = VIO_TYPE_CTRL;
sys/arch/sparc64/dev/viovar.h
24
uint8_t type;
sys/arch/sparc64/dev/viovar.h
32
uint8_t type;
sys/arch/sparc64/dev/vnet.c
1024
vi.tag.type = VIO_TYPE_CTRL;
sys/arch/sparc64/dev/vnet.c
1043
ai.tag.type = VIO_TYPE_CTRL;
sys/arch/sparc64/dev/vnet.c
1067
dr.tag.type = VIO_TYPE_CTRL;
sys/arch/sparc64/dev/vnet.c
1088
tag.type = VIO_TYPE_CTRL;
sys/arch/sparc64/dev/vnet.c
1110
dm.tag.type = VIO_TYPE_DATA;
sys/arch/sparc64/dev/vnet.c
1304
dm.tag.type = VIO_TYPE_DATA;
sys/arch/sparc64/dev/vnet.c
1430
mi.tag.type = VIO_TYPE_CTRL;
sys/arch/sparc64/dev/vnet.c
430
switch (lp->type) {
sys/arch/sparc64/dev/vnet.c
443
__func__, lp->type, lp->stype, lp->ctrl));
sys/arch/sparc64/dev/vnet.c
473
switch (vm->type) {
sys/arch/sparc64/dev/vnet.c
492
DPRINTF(("Unhandled packet type 0x%02x\n", vm->type));
sys/arch/sparc64/dev/vnet.c
501
struct vio_msg_tag *tag = (struct vio_msg_tag *)&vm->type;
sys/arch/sparc64/dev/vnet.c
730
struct vio_msg_tag *tag = (struct vio_msg_tag *)&vm->type;
sys/arch/sparc64/dev/vpci.c
416
vpci_alloc_bus_tag(struct vpci_pbm *pbm, const char *name, int type)
sys/arch/sparc64/dev/vpci.c
430
bt->type = type;
sys/arch/sparc64/dev/vpci.c
505
t->type,
sys/arch/sparc64/dev/vpci.c
510
ss = sparc_pci_childspace(t->type);
sys/arch/sparc64/dev/vpci.c
542
ss = sparc_pci_childspace(t->type);
sys/arch/sparc64/include/bus_defs.h
145
int type;
sys/arch/sparc64/include/bus_funcs.h
172
(0 ? (t)->type : lduba((h)._ptr + (o), (h)._asi))
sys/arch/sparc64/include/bus_funcs.h
175
(0 ? (t)->type : lduha((h)._ptr + (o), (h)._asi))
sys/arch/sparc64/include/bus_funcs.h
178
(0 ? (t)->type : lda((h)._ptr + (o), (h)._asi))
sys/arch/sparc64/include/bus_funcs.h
181
(0 ? (t)->type : ldxa((h)._ptr + (o), (h)._asi))
sys/arch/sparc64/include/bus_funcs.h
229
(0 ? (t)->type : ((void)(stba((h)._ptr + (o), (h)._asi, (v)))))
sys/arch/sparc64/include/bus_funcs.h
232
(0 ? (t)->type : ((void)(stha((h)._ptr + (o), (h)._asi, (v)))))
sys/arch/sparc64/include/bus_funcs.h
235
(0 ? (t)->type : ((void)(sta((h)._ptr + (o), (h)._asi, (v)))))
sys/arch/sparc64/include/bus_funcs.h
238
(0 ? (t)->type : ((void)(stxa((h)._ptr + (o), (h)._asi, (v)))))
sys/arch/sparc64/include/bus_funcs.h
277
(0 ? (t)->type : lduba((h)._ptr + (o), (h)._sasi))
sys/arch/sparc64/include/bus_funcs.h
280
(0 ? (t)->type : lduha((h)._ptr + (o), (h)._sasi))
sys/arch/sparc64/include/bus_funcs.h
283
(0 ? (t)->type : lda((h)._ptr + (o), (h)._sasi))
sys/arch/sparc64/include/bus_funcs.h
286
(0 ? (t)->type : ldxa((h)._ptr + (o), (h)._sasi))
sys/arch/sparc64/include/bus_funcs.h
334
(0 ? (t)->type : ((void)(stba((h)._ptr + (o), (h)._sasi, (v)))))
sys/arch/sparc64/include/bus_funcs.h
337
(0 ? (t)->type : ((void)(stha((h)._ptr + (o), (h)._sasi, (v)))))
sys/arch/sparc64/include/bus_funcs.h
340
(0 ? (t)->type : ((void)(sta((h)._ptr + (o), (h)._sasi, (v)))))
sys/arch/sparc64/include/bus_funcs.h
343
(0 ? (t)->type : ((void)(stxa((h)._ptr + (o), (h)._sasi, (v)))))
sys/arch/sparc64/include/ctlreg.h
497
#define SPARC64_LD_DEF(ld, type, vtype) \
sys/arch/sparc64/include/ctlreg.h
498
static __inline type ld(paddr_t loc, int asi) \
sys/arch/sparc64/include/ctlreg.h
511
#define SPARC64_LD_DEF(ld, type, vtype) \
sys/arch/sparc64/include/ctlreg.h
512
static __inline type ld(paddr_t loc, int asi) \
sys/arch/sparc64/include/ctlreg.h
519
#define SPARC64_LD_DEF64(ld, type) SPARC64_LD_DEF(ld, type, uint64_t)
sys/arch/sparc64/include/ctlreg.h
569
#define SPARC64_LD_DEF(ld, type, vtype) \
sys/arch/sparc64/include/ctlreg.h
570
static __inline type ld(paddr_t loc, int asi) \
sys/arch/sparc64/include/ctlreg.h
601
#define SPARC64_LD_DEF64(ld, type) \
sys/arch/sparc64/include/ctlreg.h
602
static __inline type ld(paddr_t loc, int asi) \
sys/arch/sparc64/include/ctlreg.h
637
#define SPARC64_LD_DEF(ld, type, vtype) \
sys/arch/sparc64/include/ctlreg.h
638
static __inline type ld(paddr_t loc, int asi) \
sys/arch/sparc64/include/ctlreg.h
649
#define SPARC64_LD_DEF64(ld, type) \
sys/arch/sparc64/include/ctlreg.h
650
static __inline type ld(paddr_t loc, int asi) \
sys/arch/sparc64/include/ctlreg.h
689
#define SPARC64_ST_DEF(st, type) \
sys/arch/sparc64/include/ctlreg.h
690
static __inline void st(paddr_t loc, int asi, type value) \
sys/arch/sparc64/include/ctlreg.h
701
#define SPARC64_ST_DEF(st, type) \
sys/arch/sparc64/include/ctlreg.h
702
static __inline void st(paddr_t loc, int asi, type value) \
sys/arch/sparc64/include/ctlreg.h
707
#define SPARC64_ST_DEF64(st, type) SPARC64_ST_DEF(st, type)
sys/arch/sparc64/include/ctlreg.h
761
#define SPARC64_ST_DEF(st, type) \
sys/arch/sparc64/include/ctlreg.h
762
static __inline void st(paddr_t loc, int asi, type value) \
sys/arch/sparc64/include/ctlreg.h
791
#define SPARC64_ST_DEF64(st, type) \
sys/arch/sparc64/include/ctlreg.h
792
static __inline void st(paddr_t loc, int asi, type value) \
sys/arch/sparc64/include/ctlreg.h
832
#define SPARC64_ST_DEF(st, type) \
sys/arch/sparc64/include/ctlreg.h
833
static __inline void st(paddr_t loc, int asi, type value) \
sys/arch/sparc64/include/ctlreg.h
842
#define SPARC64_ST_DEF64(st, type) \
sys/arch/sparc64/include/ctlreg.h
843
static __inline void st(paddr_t loc, int asi, type value) \
sys/arch/sparc64/include/db_machdep.h
100
((type) ==T_PA_WATCHPT || (type) == T_VA_WATCHPT)
sys/arch/sparc64/include/db_machdep.h
97
#define IS_BREAKPOINT_TRAP(type, code) \
sys/arch/sparc64/include/db_machdep.h
98
((type) == T_BREAKPOINT || (type) == T_KGDB_EXEC)
sys/arch/sparc64/include/db_machdep.h
99
#define IS_WATCHPOINT_TRAP(type, code) \
sys/arch/sparc64/include/locore.h
152
.globl _C_LABEL(x); .type _C_LABEL(x),@function; \
sys/arch/sparc64/include/locore.h
164
#define ENTRY(x) .globl _C_LABEL(x); .type _C_LABEL(x),@function; \
sys/arch/sparc64/include/psl.h
314
#define SPARC64_RDCONST_DEF(rd, name, reg, type) \
sys/arch/sparc64/include/psl.h
315
static __inline __constfunc type get##name(void) \
sys/arch/sparc64/include/psl.h
317
type _val; \
sys/arch/sparc64/include/psl.h
321
#define SPARC64_RD_DEF(rd, name, reg, type) \
sys/arch/sparc64/include/psl.h
322
static __inline type get##name(void) \
sys/arch/sparc64/include/psl.h
324
type _val; \
sys/arch/sparc64/include/psl.h
328
#define SPARC64_WR_DEF(wr, name, reg, type) \
sys/arch/sparc64/include/psl.h
329
static __inline void set##name(type _val) \
sys/arch/sparc64/include/psl.h
366
#define SPARC64_RDPR_DEF(name, reg, type) SPARC64_RD_DEF(rdpr, name, reg, type)
sys/arch/sparc64/include/psl.h
367
#define SPARC64_WRPR_DEF(name, reg, type) SPARC64_WR_DEF(wrpr, name, reg, type)
sys/arch/sparc64/sparc64/autoconf.c
241
lookup_bootinfo(int type)
sys/arch/sparc64/sparc64/autoconf.c
252
if (bt->type == type)
sys/arch/sparc64/sparc64/cpu.c
161
cpu_cache_info_sun4v(const char *type, int level, const char *prop)
sys/arch/sparc64/sparc64/cpu.c
176
if (type == NULL || strcmp(p, type) == 0) {
sys/arch/sparc64/sparc64/db_interface.c
281
kdb_trap(int type, struct trapframe64 *tf)
sys/arch/sparc64/sparc64/db_interface.c
292
switch (type) {
sys/arch/sparc64/sparc64/db_interface.c
302
printf("kernel trap %x: %s\n", type, trap_type[type & 0x1ff]);
sys/arch/sparc64/sparc64/db_interface.c
330
db_trap(type, 0/*code*/);
sys/arch/sparc64/sparc64/kgdb_machdep.c
272
kgdb_signal(int type)
sys/arch/sparc64/sparc64/kgdb_machdep.c
276
switch (type) {
sys/arch/sparc64/sparc64/machdep.c
2250
switch (t->type) {
sys/arch/sparc64/sparc64/machdep.c
2266
(int)t->type, (int) flags, (unsigned long long)addr,
sys/arch/sparc64/sparc64/machdep.c
2320
(int)t->type, (int)flags, (unsigned long long)addr, pm_prot,
sys/arch/sparc64/sparc64/pmap.c
2508
PointerType type, /* 8K_POINTER or 16K_POINTER */
sys/arch/sparc64/sparc64/pmap.c
2523
vaPortion = (va >> ((type == 8K_POINTER)? 9: 12)) &
sys/arch/sparc64/sparc64/pmap.c
2529
if (type == 8K_POINTER)
sys/arch/sparc64/sparc64/trap.c
1027
data_access_fault(struct trapframe64 *tf, unsigned int type, vaddr_t pc,
sys/arch/sparc64/sparc64/trap.c
1054
(long)(curproc?curproc->p_pid:-1), tf, type,
sys/arch/sparc64/sparc64/trap.c
1068
(long)(curproc?curproc->p_pid:-1), tf, type,
sys/arch/sparc64/sparc64/trap.c
1097
panic("fault type %u for invalid va %lx", type, addr);
sys/arch/sparc64/sparc64/trap.c
1103
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
1122
if (type == T_FDMMU_MISS || (sfsr & SFSR_FV) == 0) {
sys/arch/sparc64/sparc64/trap.c
1213
DEBUGGER(type, tf);
sys/arch/sparc64/sparc64/trap.c
1222
DEBUGGER(type, tf);
sys/arch/sparc64/sparc64/trap.c
1238
(long)(curproc ? curproc->p_pid : -1), tf, type,
sys/arch/sparc64/sparc64/trap.c
1265
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
1297
data_access_error(struct trapframe64 *tf, unsigned int type, vaddr_t afva,
sys/arch/sparc64/sparc64/trap.c
1322
(long)type, (long)sfva, (long)afva, tf,
sys/arch/sparc64/sparc64/trap.c
1336
(long)type, (long)sfva, (long)afva, tf,
sys/arch/sparc64/sparc64/trap.c
1372
type, sfsr, sfva, afsr, afva, tf);
sys/arch/sparc64/sparc64/trap.c
1390
DEBUGGER(type, tf);
sys/arch/sparc64/sparc64/trap.c
1412
DEBUGGER(type, tf);
sys/arch/sparc64/sparc64/trap.c
1434
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
1456
text_access_fault(struct trapframe64 *tf, unsigned int type, vaddr_t pc,
sys/arch/sparc64/sparc64/trap.c
1479
curproc?curproc->p_pid:-1, type, pc, tf);
sys/arch/sparc64/sparc64/trap.c
1485
curproc?curproc->p_pid:-1, gettl(), type, pc, tf);
sys/arch/sparc64/sparc64/trap.c
1508
DEBUGGER(type, tf);
sys/arch/sparc64/sparc64/trap.c
1541
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
1567
text_access_error(struct trapframe64 *tf, unsigned int type, vaddr_t pc,
sys/arch/sparc64/sparc64/trap.c
1593
(long)type, pc, (long)afva, tf, (long)tf->tf_tstate,
sys/arch/sparc64/sparc64/trap.c
1603
(long)type, (long)pc, (long)afva, tf,
sys/arch/sparc64/sparc64/trap.c
1624
type, sfsr, pc, afsr, afva, tf);
sys/arch/sparc64/sparc64/trap.c
1634
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
1653
DEBUGGER(type, tf);
sys/arch/sparc64/sparc64/trap.c
1680
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
1702
ecc_corrected_error(unsigned int type, vaddr_t pc)
sys/arch/sparc64/sparc64/trap.c
367
void text_access_fault(struct trapframe64 *tf, unsigned int type, vaddr_t pc,
sys/arch/sparc64/sparc64/trap.c
371
void ecc_corrected_error(unsigned int type, vaddr_t pc);
sys/arch/sparc64/sparc64/trap.c
437
trap(struct trapframe64 *tf, unsigned int type, vaddr_t pc, long tstate)
sys/arch/sparc64/sparc64/trap.c
471
type, pc, tf);
sys/arch/sparc64/sparc64/trap.c
475
type < N_TRAP_TYPES ? trap_type[type] :
sys/arch/sparc64/sparc64/trap.c
476
((type == T_AST) ? "ast" :
sys/arch/sparc64/sparc64/trap.c
477
((type == T_RWRET) ? "rwret" : T)));
sys/arch/sparc64/sparc64/trap.c
486
type, gettl(), pc, tf);
sys/arch/sparc64/sparc64/trap.c
490
type < N_TRAP_TYPES ? trap_type[type] :
sys/arch/sparc64/sparc64/trap.c
491
((type == T_AST) ? "ast" :
sys/arch/sparc64/sparc64/trap.c
492
((type == T_RWRET) ? "rwret" : T)));
sys/arch/sparc64/sparc64/trap.c
494
kdb_trap(type, tf);
sys/arch/sparc64/sparc64/trap.c
507
if (type == T_BREAKPOINT) {
sys/arch/sparc64/sparc64/trap.c
509
if (kdb_trap(type, tf)) {
sys/arch/sparc64/sparc64/trap.c
514
if (type == T_PA_WATCHPT || type == T_VA_WATCHPT) {
sys/arch/sparc64/sparc64/trap.c
515
if (kdb_trap(type, tf)) {
sys/arch/sparc64/sparc64/trap.c
530
if (type == T_FPDISABLED) {
sys/arch/sparc64/sparc64/trap.c
561
} else if (type == T_ECCERR) {
sys/arch/sparc64/sparc64/trap.c
562
ecc_corrected_error(type, pc);
sys/arch/sparc64/sparc64/trap.c
564
} else if (type == T_FAST_ECC_ERROR) {
sys/arch/sparc64/sparc64/trap.c
580
switch (type) {
sys/arch/sparc64/sparc64/trap.c
583
if (type < 0x100) {
sys/arch/sparc64/sparc64/trap.c
592
type, cpu_number(), pc);
sys/arch/sparc64/sparc64/trap.c
596
DEBUGGER(type, tf);
sys/arch/sparc64/sparc64/trap.c
597
panic("%s", type < N_TRAP_TYPES ? trap_type[type] : T);
sys/arch/sparc64/sparc64/trap.c
605
p->p_comm, p->p_pid, type);
sys/arch/sparc64/sparc64/trap.c
609
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
628
pc, type, type < N_TRAP_TYPES ? trap_type[type] : T);
sys/arch/sparc64/sparc64/trap.c
638
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
646
type, type < N_TRAP_TYPES ? trap_type[type] : T);
sys/arch/sparc64/sparc64/trap.c
653
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
661
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
762
kdb_trap(type, tf);
sys/arch/sparc64/sparc64/trap.c
772
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
803
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
817
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
826
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
836
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
847
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
868
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
887
ksi.ksi_trap = type;
sys/arch/sparc64/sparc64/trap.c
892
ecc_corrected_error(type, pc);
sys/arch/sun2/sun2/promlib.c
148
#define PROMLIB_FUNC(type, new, proto, old, args, ret) \
sys/arch/sun2/sun2/promlib.c
149
type new proto \
sys/arch/sun3/dev/fd.c
1166
struct fd_type *type;
sys/arch/sun3/dev/fd.c
1287
type = fd->sc_type;
sys/arch/sun3/dev/fd.c
1288
sec = fd->sc_blkno % type->seccyl;
sys/arch/sun3/dev/fd.c
1289
nblks = type->seccyl - sec;
sys/arch/sun3/dev/fd.c
1294
head = sec / type->sectrac;
sys/arch/sun3/dev/fd.c
1295
sec -= head * type->sectrac;
sys/arch/sun3/dev/fd.c
1300
block = (fd->sc_cylin * type->heads + head) *
sys/arch/sun3/dev/fd.c
1301
type->sectrac + sec;
sys/arch/sun3/dev/fd.c
1318
*fdc->sc_reg_drs = type->rate;
sys/arch/sun3/dev/fd.c
1346
OUT_FDC(fdc, type->secsize, IOTIMEDOUT);/*sector size*/
sys/arch/sun3/dev/fd.c
1347
OUT_FDC(fdc, type->sectrac, IOTIMEDOUT);/*secs/track*/
sys/arch/sun3/dev/fd.c
1348
OUT_FDC(fdc, type->gap1, IOTIMEDOUT); /*gap1 size*/
sys/arch/sun3/dev/fd.c
1349
OUT_FDC(fdc, type->datalen, IOTIMEDOUT);/*data length*/
sys/arch/sun3/dev/fd.c
1828
struct fd_type *type = fd->sc_type;
sys/arch/sun3/dev/fd.c
1846
bp->b_blkno = (finfo->cyl * (type->sectrac * type->heads)
sys/arch/sun3/dev/fd.c
1847
+ finfo->head * type->sectrac) * FDC_BSIZE / DEV_BSIZE;
sys/arch/sun3/dev/fd.c
568
struct fd_type *type = fa->fa_deftype;
sys/arch/sun3/dev/fd.c
578
if (type)
sys/arch/sun3/dev/fd.c
579
aprint_normal(": %s %d cyl, %d head, %d sec\n", type->name,
sys/arch/sun3/dev/fd.c
580
type->tracks, type->heads, type->sectrac);
sys/arch/sun3/dev/fd.c
587
fd->sc_deftype = type;
sys/arch/sun3/dev/fd.c
610
OUT_FDC(fdc, type->steprate);
sys/arch/sun3/dev/fd.c
650
int type = FDTYPE(dev);
sys/arch/sun3/dev/fd.c
652
if (type > (sizeof(fd_types) / sizeof(fd_types[0])))
sys/arch/sun3/dev/fd.c
654
return type ? &fd_types[type - 1] : fd->sc_deftype;
sys/arch/sun3/dev/fd.c
884
struct fd_type *type;
sys/arch/sun3/dev/fd.c
890
type = fd_dev_to_type(fd, dev);
sys/arch/sun3/dev/fd.c
891
if (type == NULL)
sys/arch/sun3/dev/fd.c
895
fd->sc_type != type)
sys/arch/sun3/dev/fd.c
898
fd->sc_type = type;
sys/arch/sun3/dev/xd.c
1468
xdc_submit_iorq(struct xdc_softc *xdcsc, int iorqno, int type)
sys/arch/sun3/dev/xd.c
1475
device_xname(xdcsc->sc_dev), iorqno, type);
sys/arch/sun3/dev/xd.c
1483
if (type == XD_SUB_NOQ)
sys/arch/sun3/dev/xd.c
1486
switch (type) {
sys/arch/sun3/dev/xd.c
1517
switch (type) {
sys/arch/sun3/dev/xy.c
1341
xyc_submit_iorq(struct xyc_softc *xycsc, struct xy_iorq *iorq, int type)
sys/arch/sun3/dev/xy.c
1348
device_xname(xycsc->sc_dev), iorq, type);
sys/arch/sun3/dev/xy.c
1356
if (type == XY_SUB_NOQ)
sys/arch/sun3/dev/xy.c
1358
switch (type) {
sys/arch/sun3/dev/xy.c
1381
if (type == XY_SUB_NORM || type == XY_SUB_NOQ)
sys/arch/sun3/dev/xy.c
1390
switch (type) {
sys/arch/sun3/sun3/bus_subr.c
101
pte |= (bus_info[bustype].type << PG_MOD_SHIFT);
sys/arch/sun3/sun3/bus_subr.c
152
pa |= bus_info[bustype].type;
sys/arch/sun3/sun3/bus_subr.c
63
int type;
sys/arch/sun3/sun3x/pmap.c
3593
pmap_count(pmap_t pmap, int type)
sys/arch/sun3/sun3x/pmap.c
3618
if (type == 0)
sys/arch/sun68k/sun68k/sun68k_trap.c
110
_nodb_trap(int type, struct trapframe *tf)
sys/arch/sun68k/sun68k/sun68k_trap.c
113
printf("\r\nKernel %s", trap_desc(type));
sys/arch/usermode/dev/vatapi.c
239
sa.sa_inqbuf.type = inqbuf.device;
sys/arch/usermode/dev/vncfb.c
649
vncfb_kbd_cngetc(void *priv, u_int *type, int *data)
sys/arch/usermode/dev/vncfb.c
657
*type = event.data.key_event.down_flag ?
sys/arch/usermode/include/db_machdep.h
41
#define IS_BREAKPOINT_TRAP(type, code) ((type) == T_BPTFLT)
sys/arch/usermode/include/db_machdep.h
42
#define IS_WATCHPOINT_TRAP(type, code) ((type) == T_TRCTRAP && (code) & 15)
sys/arch/usermode/include/db_machdep.h
72
#define IS_BREAKPOINT_TRAP(type, code) ((type) == T_BPTFLT)
sys/arch/usermode/include/db_machdep.h
73
#define IS_WATCHPOINT_TRAP(type, code) (0)
sys/arch/usermode/usermode/kgdb_machdep.c
77
kgdb_signal(int type)
sys/arch/usermode/usermode/kgdb_machdep.c
79
return type;
sys/arch/usermode/usermode/kgdb_machdep.c
83
switch (type) {
sys/arch/usermode/usermode/machdep.c
126
vdev_type(const char *type)
sys/arch/usermode/usermode/machdep.c
128
if (strcasecmp(type, "atapi")==0)
sys/arch/usermode/usermode/machdep.c
131
if (strcasecmp(type, "scsi")==0)
sys/arch/usermode/usermode/machdep.c
144
int type, i, j, r, tmpopt = 0;
sys/arch/usermode/usermode/machdep.c
240
type = vdev_type(t);
sys/arch/usermode/usermode/machdep.c
241
if (type < 0) {
sys/arch/usermode/usermode/machdep.c
245
usermode_vdev_type[usermode_vdev_count] = type;
sys/arch/vax/include/asm.h
67
.text; _ALIGN_TEXT; .globl x; .type x@function; x: .word regs
sys/arch/vax/include/db_machdep.h
63
#define IS_BREAKPOINT_TRAP(type, code) ((type) == T_BPTFLT)
sys/arch/vax/include/db_machdep.h
64
#define IS_WATCHPOINT_TRAP(type, code) ((type) == T_TRCTRAP)
sys/arch/vax/uba/qv.c
900
qv_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/arch/vax/uba/qv.c
908
ss->ss_type = type;
sys/arch/vax/uba/qv.c
911
printf("qv_alloc_screen: \"%s\" %p\n", type->name, ss);
sys/arch/vax/uba/qvkbd.c
239
qvkbd_cngetc(void *v, u_int *type, int *data)
sys/arch/vax/uba/qvkbd.c
246
} while (!lk201_decode(&qvi->qvi_ks, 0, c, type, data));
sys/arch/vax/uba/qvkbd.c
300
u_int type;
sys/arch/vax/uba/qvkbd.c
306
data, &type, &val);
sys/arch/vax/uba/qvkbd.c
308
wskbd_input(sc->sc_wskbddev, type, val);
sys/arch/vax/vax/db_machdep.c
232
kdbprinttrap(int type, int code)
sys/arch/vax/vax/db_machdep.c
235
if (type >= no_traps || type < 0)
sys/arch/vax/vax/db_machdep.c
236
db_printf("type %d", type);
sys/arch/vax/vax/db_machdep.c
238
db_printf("%s", traptypes[type]);
sys/arch/vax/vax/disksubr.c
238
disk_printtype(int unit, int type)
sys/arch/vax/vax/disksubr.c
240
printf(" drive %d: %c%c", unit, (int)MSCP_MID_CHAR(2, type),
sys/arch/vax/vax/disksubr.c
241
(int)MSCP_MID_CHAR(1, type));
sys/arch/vax/vax/disksubr.c
242
if (MSCP_MID_ECH(0, type))
sys/arch/vax/vax/disksubr.c
243
printf("%c", (int)MSCP_MID_CHAR(0, type));
sys/arch/vax/vax/disksubr.c
244
printf("%d\n", MSCP_MID_NUM(type));
sys/arch/vax/vax/ka630.c
122
u_int type = mcf->mc63_summary;
sys/arch/vax/vax/ka630.c
124
printf("machine check %x", type);
sys/arch/vax/vax/ka630.c
125
if (type < NMC78032 && mc78032[type])
sys/arch/vax/vax/ka630.c
126
printf(": %s", mc78032[type]);
sys/arch/vax/vax/ka650.c
192
u_int type = mcf->mc65_summary;
sys/arch/vax/vax/ka650.c
196
printf("machine check %x", type);
sys/arch/vax/vax/ka650.c
197
if (type >= 0x80 && type <= 0x83)
sys/arch/vax/vax/ka650.c
198
type -= (0x80 + 11);
sys/arch/vax/vax/ka650.c
199
if (type < NMC650 && mc650[type])
sys/arch/vax/vax/ka650.c
200
printf(": %s", mc650[type]);
sys/arch/vax/vax/ka650.c
241
if ((type > 0 && type < 5) || type == 11 || type == 12) {
sys/arch/vax/vax/ka730.c
170
register int type = mcf->mc3_summary;
sys/arch/vax/vax/ka730.c
173
type, type < NMC730 ? mc730[type] : "???");
sys/arch/vax/vax/ka750.c
260
register int type = mcf->mc5_summary;
sys/arch/vax/vax/ka750.c
263
printf("machine check %x: %s%s\n", type, mc750[type&0xf],
sys/arch/vax/vax/ka750.c
264
(type&0xf0) ? " abort" : " fault");
sys/arch/vax/vax/ka750.c
274
if (type == MC750_TBERR && (mcf->mc5_mcesr&0xe) == MC750_TBPAR) {
sys/arch/vax/vax/ka780.c
326
int type = mcf->mc8_summary;
sys/arch/vax/vax/ka780.c
329
printf("machine check %x: %s%s\n", type, mc780[type&0xf],
sys/arch/vax/vax/ka780.c
330
(type&0xf0) ? " abort" : " fault");
sys/arch/vax/vax/ka780.c
350
type:8;
sys/arch/vax/vax/ka780.c
57
static int getsort(int type);
sys/arch/vax/vax/ka780.c
78
getsort(int type)
sys/arch/vax/vax/ka780.c
80
switch (type) {
sys/arch/vax/vax/ka820.c
335
const char *type;
sys/arch/vax/vax/ka820.c
356
type = "broke";
sys/arch/vax/vax/ka820.c
358
type = "cntl err";
sys/arch/vax/vax/ka820.c
360
type = "address parity err";
sys/arch/vax/vax/ka820.c
362
type = "rds err";
sys/arch/vax/vax/ka820.c
365
type = "";
sys/arch/vax/vax/ka820.c
367
type = "mysterious error";
sys/arch/vax/vax/ka820.c
370
type, csr2 & MS2_HIERR ? " (+ other rds or crd err)" : "",
sys/arch/vax/vax/ka820.c
411
int i, type = mcf->mc82_summary;
sys/arch/vax/vax/ka820.c
414
if (cold && type == MC8200_BIERR) {
sys/arch/vax/vax/ka820.c
423
printf("machine check %x: ", type);
sys/arch/vax/vax/ka820.c
425
if (type & (1 << i))
sys/arch/vax/vax/ka860.c
229
int type;
sys/arch/vax/vax/ka860.c
247
type = mcf->mc86_ehmsts & 0x7;
sys/arch/vax/vax/ka860.c
248
printf("machine check %x: %s\n", type,
sys/arch/vax/vax/ka860.c
249
type < NMC8600 ? mc8600[type] : "???");
sys/arch/vax/vax/ka860.c
272
type:8;
sys/arch/vax/vax/ka860.c
397
int type, i;
sys/arch/vax/vax/ka860.c
412
type = tmp & IOA_TYPMSK;
sys/arch/vax/vax/ka860.c
414
switch (type) {
sys/arch/vax/vax/ka860.c
433
aprint_naive("IOAdapter %#x unsupported\n", type);
sys/arch/vax/vax/ka860.c
434
aprint_normal("IOAdapter %#x unsupported\n", type);
sys/arch/vax/vax/multicpu.c
119
cpu_send_ipi(int cpu, int type)
sys/arch/vax/vax/multicpu.c
126
bbssi(type, &ci->ci_ipimsgs);
sys/arch/vax/vax/multicpu.c
138
bbssi(type, &ci->ci_ipimsgs);
sys/arch/vax/vax/multicpu.c
145
bbssi(type, &ci->ci_ipimsgs);
sys/arch/vax/vax/trap.c
107
type |= T_USER;
sys/arch/vax/vax/trap.c
112
type &= ~(T_WRITE|T_PTEFETCH);
sys/arch/vax/vax/trap.c
121
switch (type) {
sys/arch/vax/vax/trap.c
357
if (type == (T_ARITHFLT | T_USER) && (tf->tf_code & 8))
sys/arch/vax/vax/trap.c
91
u_int sig = 0, type = tf->tf_trap, code = 0;
sys/arch/vax/vsa/gpx.c
483
gpx_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/arch/vax/vsa/lcg.c
799
lcg_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/arch/vax/vsa/smg.c
483
smg_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/arch/vax/vsa/spx.c
1057
spx_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/arch/vax/vsa/spx.c
219
#define SPX_MAP_FB(self, va, type) if (! type ## _map_fb(self, va)) return
sys/arch/vax/vsa/spx.c
220
#define SPX_MAP_REGS(self, type) if (!spx_map_regs(self, \
sys/arch/vax/vsa/spx.c
221
type ## _REG_ADDR, \
sys/arch/vax/vsa/spx.c
222
type ## _REG_SIZE, \
sys/arch/vax/vsa/spx.c
223
type ## _REG1_ADDR, \
sys/arch/vax/vsa/spx.c
224
type ## _REG1_SIZE)) \
sys/arch/x68k/dev/fd.c
1106
struct fd_type *type;
sys/arch/x68k/dev/fd.c
1205
type = fd->sc_type;
sys/arch/x68k/dev/fd.c
1209
sectrac = type->sectrac;
sys/arch/x68k/dev/fd.c
1210
pos = fd->sc_blkno % (sectrac * (1 << (type->secsize - 2)));
sys/arch/x68k/dev/fd.c
1211
sec = pos / (1 << (type->secsize - 2));
sys/arch/x68k/dev/fd.c
1212
if (finfo != NULL || type->secsize == 2) {
sys/arch/x68k/dev/fd.c
1214
nblks = (sectrac - sec) << (type->secsize - 2);
sys/arch/x68k/dev/fd.c
1232
nblks = (sectrac - sec) << (type->secsize - 2);
sys/arch/x68k/dev/fd.c
1247
% (type->seccyl * (1 << (type->secsize - 2))))
sys/arch/x68k/dev/fd.c
1248
/ (type->sectrac * (1 << (type->secsize - 2)));
sys/arch/x68k/dev/fd.c
1253
block = ((fd->sc_cylin * type->heads + head) *
sys/arch/x68k/dev/fd.c
1254
type->sectrac + sec) * (1 << (type->secsize - 2));
sys/arch/x68k/dev/fd.c
1258
fd->sc_cylin, head, sec, type->secsize);
sys/arch/x68k/dev/fd.c
1274
type->secsize));
sys/arch/x68k/dev/fd.c
1302
out_fdc(iot, ioh, type->secsize); /* sector size */
sys/arch/x68k/dev/fd.c
1303
out_fdc(iot, ioh, type->sectrac); /* sectors/track */
sys/arch/x68k/dev/fd.c
1304
out_fdc(iot, ioh, type->gap1); /* gap1 size */
sys/arch/x68k/dev/fd.c
1305
out_fdc(iot, ioh, type->datalen); /* data length */
sys/arch/x68k/dev/fd.c
1318
type = fd->sc_type;
sys/arch/x68k/dev/fd.c
1320
% (type->seccyl * (1 << (type->secsize - 2))))
sys/arch/x68k/dev/fd.c
1321
/ (type->sectrac * (1 << (type->secsize - 2)));
sys/arch/x68k/dev/fd.c
1323
(type->sectrac * (1 << (type->secsize - 2)));
sys/arch/x68k/dev/fd.c
1324
sec = pos / (1 << (type->secsize - 2));
sys/arch/x68k/dev/fd.c
1331
out_fdc(iot, ioh, type->secsize); /* sector size */
sys/arch/x68k/dev/fd.c
1332
out_fdc(iot, ioh, type->sectrac); /* sectors/track */
sys/arch/x68k/dev/fd.c
1333
out_fdc(iot, ioh, type->gap1); /* gap1 size */
sys/arch/x68k/dev/fd.c
1334
out_fdc(iot, ioh, type->datalen); /* data length */
sys/arch/x68k/dev/fd.c
1344
type = fd->sc_type;
sys/arch/x68k/dev/fd.c
1345
sectrac = type->sectrac;
sys/arch/x68k/dev/fd.c
1346
pos = fd->sc_blkno % (sectrac * (1 << (type->secsize - 2)));
sys/arch/x68k/dev/fd.c
1347
sec = pos / (1 << (type->secsize - 2));
sys/arch/x68k/dev/fd.c
1349
% (type->seccyl * (1 << (type->secsize - 2))))
sys/arch/x68k/dev/fd.c
1350
/ (type->sectrac * (1 << (type->secsize - 2)));
sys/arch/x68k/dev/fd.c
1354
block = ((fd->sc_cylin * type->heads + head) *
sys/arch/x68k/dev/fd.c
1355
type->sectrac + sec) * (1 << (type->secsize - 2));
sys/arch/x68k/dev/fd.c
1815
struct fd_type *type = fd->sc_type;
sys/arch/x68k/dev/fd.c
1832
bp->b_blkno = (finfo->cyl * (type->sectrac * type->heads)
sys/arch/x68k/dev/fd.c
1833
+ finfo->head * type->sectrac) * (128 << type->secsize) / DEV_BSIZE;
sys/arch/x68k/dev/fd.c
552
struct fd_type *type;
sys/arch/x68k/dev/fd.c
565
type = &fd_types[0]; /* XXX 1.2MB */
sys/arch/x68k/dev/fd.c
575
bus_space_write_1(iot, ioh, fdctl, 0x80 | (type->rate << 4)| drive);
sys/arch/x68k/dev/fd.c
612
fdctl, (type->rate << 4) | drive);
sys/arch/x68k/dev/fd.c
631
struct fd_type *type = &fd_types[0]; /* XXX 1.2MB */
sys/arch/x68k/dev/fd.c
642
if (type)
sys/arch/x68k/dev/fd.c
643
aprint_normal(": %s, %d cyl, %d head, %d sec\n", type->name,
sys/arch/x68k/dev/fd.c
644
type->cyls, type->heads, type->sectrac);
sys/arch/x68k/dev/fd.c
651
fd->sc_deftype = type;
sys/arch/x68k/dev/fd.c
678
size_t type = FDTYPE(dev);
sys/arch/x68k/dev/fd.c
680
if (type >= __arraycount(fd_types))
sys/arch/x68k/dev/fd.c
682
return &fd_types[type];
sys/arch/x68k/dev/fd.c
928
struct fd_type *type;
sys/arch/x68k/dev/fd.c
935
type = fd_dev_to_type(fd, dev);
sys/arch/x68k/dev/fd.c
936
if (type == NULL)
sys/arch/x68k/dev/fd.c
940
fd->sc_type != type)
sys/arch/x68k/dev/fd.c
951
fd->sc_type = type;
sys/arch/x68k/dev/itevar.h
69
int type;
sys/arch/x86/acpi/acpi_machdep.c
119
.type = XEN_FW_EFI_INFO,
sys/arch/x86/acpi/acpi_machdep.c
243
acpi_md_intr_establish(uint32_t InterruptNumber, int ipl, int type,
sys/arch/x86/acpi/acpi_machdep.c
290
type = IST_EDGE;
sys/arch/x86/acpi/acpi_machdep.c
356
ih = intr_establish_xname(irq, pic, pin, type, ipl,
sys/arch/x86/acpi/acpi_machdep.c
490
uint32_t type;
sys/arch/x86/acpi/acpi_machdep.c
507
type = bim->entry[i].type;
sys/arch/x86/acpi/acpi_machdep.c
512
mapaddr, mapaddr + mapsize - 1, mapsize, type,
sys/arch/x86/acpi/acpi_machdep.c
513
(type == BIM_Memory) ? "Memory" :
sys/arch/x86/acpi/acpi_machdep.c
514
(type == BIM_Reserved) ? "Reserved" :
sys/arch/x86/acpi/acpi_machdep.c
515
(type == BIM_ACPI) ? "ACPI" :
sys/arch/x86/acpi/acpi_machdep.c
516
(type == BIM_NVS) ? "NVS" :
sys/arch/x86/acpi/acpi_machdep.c
517
(type == BIM_PMEM) ? "Persistent" :
sys/arch/x86/acpi/acpi_machdep.c
518
(type == BIM_PRAM) ? "Persistent (Legacy)" :
sys/arch/x86/acpi/acpi_machdep.c
521
switch (type) {
sys/arch/x86/acpi/acpi_wakeup.c
138
#define WAKECODE_FIXUP(offset, type, val) do { \
sys/arch/x86/acpi/acpi_wakeup.c
139
type *addr; \
sys/arch/x86/acpi/acpi_wakeup.c
140
addr = (type *)(acpi_wakeup_vaddr + offset); \
sys/arch/x86/include/bootinfo.h
119
uint32_t type; /* type of block */ /* 4 */
sys/arch/x86/include/bootinfo.h
185
int type;
sys/arch/x86/include/bootinfo.h
56
int type;
sys/arch/x86/include/bootinfo.h
73
uint16_t type, checksum;
sys/arch/x86/include/bootspace.h
83
int type;
sys/arch/x86/include/efi.h
69
uint8_t type;
sys/arch/x86/include/isa_machdep.h
106
void *isa_intr_establish(isa_chipset_tag_t ic, int irq, int type,
sys/arch/x86/include/isa_machdep.h
108
void *isa_intr_establish_xname(isa_chipset_tag_t ic, int irq, int type,
sys/arch/x86/include/mpbiosreg.h
102
uint8_t type;
sys/arch/x86/include/mpbiosreg.h
108
uint8_t type;
sys/arch/x86/include/mpbiosreg.h
117
uint8_t type;
sys/arch/x86/include/mpbiosreg.h
91
uint8_t type;
sys/arch/x86/include/mpconfig.h
64
int type; /* from mp spec intr record */
sys/arch/x86/include/mtrr.h
100
(((uint64_t)(mtrrp)->base) | ((uint64_t)(mtrrp)->type))
sys/arch/x86/include/mtrr.h
147
uint8_t type;
sys/arch/x86/include/pat.h
32
#define PATENTRY(n, type) ((type) << ((n) * 8))
sys/arch/x86/isa/isa_machdep.c
120
isa_intr_alloc(isa_chipset_tag_t ic, int mask, int type, int *irq)
sys/arch/x86/isa/isa_machdep.c
127
if (type == IST_NONE)
sys/arch/x86/isa/isa_machdep.c
160
if (type != isp->is_type)
sys/arch/x86/isa/isa_machdep.c
203
isa_intr_establish(isa_chipset_tag_t ic, int irq, int type, int level,
sys/arch/x86/isa/isa_machdep.c
206
return isa_intr_establish_xname(ic, irq, type, level,
sys/arch/x86/isa/isa_machdep.c
211
isa_intr_establish_xname(isa_chipset_tag_t ic, int irq, int type, int level,
sys/arch/x86/isa/isa_machdep.c
243
return intr_establish_xname(irq, pic, pin, type, level, ih_fun, ih_arg,
sys/arch/x86/pci/msipic.c
386
int unused, int idt_vec, int type)
sys/arch/x86/pci/msipic.c
451
int msi_vec, int idt_vec, int type)
sys/arch/x86/pci/msipic.c
562
int msix_vec, int idt_vec, int type)
sys/arch/x86/pci/msipic.c
639
int msix_vec, int vec, int type)
sys/arch/x86/pci/pci_addr_fixup.c
172
int error, useport, usemem, mapreg, type, reg_start, reg_end, width;
sys/arch/x86/pci/pci_addr_fixup.c
203
type = PCI_MAPREG_TYPE(val);
sys/arch/x86/pci/pci_addr_fixup.c
205
if (type == PCI_MAPREG_TYPE_MEM) {
sys/arch/x86/pci/pci_addr_fixup.c
228
if (type == PCI_MAPREG_TYPE_MEM)
sys/arch/x86/pci/pci_addr_fixup.c
234
error += (*func) (pc, tag, mapreg, ctx, type, &addr, size);
sys/arch/x86/pci/pci_addr_fixup.c
237
mapreg, type ? "port" : "mem ",
sys/arch/x86/pci/pci_addr_fixup.c
259
int mapreg, void *ctx, int type, bus_addr_t *addr, bus_size_t size)
sys/arch/x86/pci/pci_addr_fixup.c
269
ex = (type == PCI_MAPREG_TYPE_MEM ?
sys/arch/x86/pci/pci_addr_fixup.c
276
start = (type == PCI_MAPREG_TYPE_MEM ?
sys/arch/x86/pci/pci_addr_fixup.c
309
int mapreg, void *ctx, int type, bus_addr_t *addr, bus_size_t size)
sys/arch/x86/pci/pci_addr_fixup.c
318
ex = (type == PCI_MAPREG_TYPE_MEM ?
sys/arch/x86/pci/pci_machdep.c
242
int type;
sys/arch/x86/pci/pci_machdep.c
465
pci_has_msi_quirk(pcireg_t id, int type)
sys/arch/x86/pci/pci_machdep.c
471
type == pci_msi_quirk_tbl[i].type)
sys/arch/x86/pci/pci_ranges.c
385
int type;
sys/arch/x86/pci/pci_ranges.c
405
type = PCI_MAPREG_MEM_TYPE(curbar);
sys/arch/x86/pci/pci_ranges.c
411
switch (type) {
sys/arch/x86/pci/pci_ranges.c
421
__func__, type, bus, dev, fun);
sys/arch/x86/x86/apic.c
66
apic_format_redir(const char *where1, const char *where2, int idx, int type,
sys/arch/x86/x86/apic.c
72
type == APIC_VECTYPE_IOAPIC ? ioapicfmt : lapicfmt, redirlo);
sys/arch/x86/x86/apic.c
75
if ((type == APIC_VECTYPE_IOAPIC)
sys/arch/x86/x86/db_memrw.c
219
if (bootspace.segs[i].type != BTSEG_TEXT &&
sys/arch/x86/x86/db_memrw.c
220
bootspace.segs[i].type != BTSEG_RODATA) {
sys/arch/x86/x86/efi_machdep.c
451
efi_getbiosmemtype(uint32_t type, uint64_t attr)
sys/arch/x86/x86/efi_machdep.c
454
switch (type) {
sys/arch/x86/x86/efi_machdep.c
484
efi_getmemtype_str(uint32_t type)
sys/arch/x86/x86/efi_machdep.c
504
if (type < __arraycount(efimemtypes))
sys/arch/x86/x86/efi_machdep.c
505
return efimemtypes[type];
sys/arch/x86/x86/efi_machdep.c
519
int n, type, seg_type = -1;
sys/arch/x86/x86/efi_machdep.c
521
if (efi_e820memmap.bim.common.type == BTINFO_MEMMAP)
sys/arch/x86/x86/efi_machdep.c
532
type = efi_getbiosmemtype(md->md_type, md->md_attr);
sys/arch/x86/x86/efi_machdep.c
547
} else if (seg_type == type && end_addr == addr) {
sys/arch/x86/x86/efi_machdep.c
555
entry->type = seg_type;
sys/arch/x86/x86/efi_machdep.c
562
seg_type = type;
sys/arch/x86/x86/efi_machdep.c
568
entry->type = seg_type;
sys/arch/x86/x86/efi_machdep.c
578
efi_e820memmap.bim.common.type = BTINFO_MEMMAP;
sys/arch/x86/x86/i8259.c
257
int pin, int idtvec, int type)
sys/arch/x86/x86/identcpu_subr.c
219
int type, level, ways, partitions, linesize, sets, totalsize;
sys/arch/x86/x86/identcpu_subr.c
225
type = __SHIFTOUT(descs[0], CPUID_DCP_CACHETYPE);
sys/arch/x86/x86/identcpu_subr.c
226
if (type == CPUID_DCP_CACHETYPE_N)
sys/arch/x86/x86/identcpu_subr.c
231
if (type == CPUID_DCP_CACHETYPE_I)
sys/arch/x86/x86/identcpu_subr.c
233
else if (type == CPUID_DCP_CACHETYPE_D)
sys/arch/x86/x86/identcpu_subr.c
239
if (type == CPUID_DCP_CACHETYPE_U)
sys/arch/x86/x86/identcpu_subr.c
245
if (type == CPUID_DCP_CACHETYPE_U)
sys/arch/x86/x86/idt.c
151
set_idtgate(struct gate_descriptor *idd, void *function, int ist, int type, int dpl, int sel)
sys/arch/x86/x86/idt.c
153
setgate(idd, function, ist, type, dpl, sel);
sys/arch/x86/x86/idt.c
93
int type, int dpl, int sel)
sys/arch/x86/x86/intr.c
1021
(*pic->pic_addroute)(pic, ci, pin, idt_vec, type);
sys/arch/x86/x86/intr.c
1033
pic->pic_name, type == IST_EDGE ? "edge" : "level", pin,
sys/arch/x86/x86/intr.c
1040
intr_establish(int legacy_irq, struct pic *pic, int pin, int type, int level,
sys/arch/x86/x86/intr.c
1044
return intr_establish_xname(legacy_irq, pic, pin, type,
sys/arch/x86/x86/intr.c
832
intr_establish_xname(int legacy_irq, struct pic *pic, int pin, int type,
sys/arch/x86/x86/intr.c
906
source->is_type = type;
sys/arch/x86/x86/intr.c
910
if (source->is_type == type)
sys/arch/x86/x86/intr.c
914
if (type != IST_NONE) {
sys/arch/x86/x86/intr.c
924
otype, type);
sys/arch/x86/x86/ioapic.c
562
int idtvec, int type)
sys/arch/x86/x86/ioapic.c
568
pp->ip_type = type;
sys/arch/x86/x86/ioapic.c
576
int idtvec, int type)
sys/arch/x86/x86/kgdb_machdep.c
107
kgdb_entry_notice(int type, db_regs_t *regs)
sys/arch/x86/x86/kgdb_machdep.c
109
if (type == T_NMI)
sys/arch/x86/x86/kgdb_machdep.c
118
kgdb_signal(int type)
sys/arch/x86/x86/kgdb_machdep.c
120
switch (type) {
sys/arch/x86/x86/lapic.c
994
int pin, int idtvec, int type)
sys/arch/x86/x86/mpacpi.c
202
mpi->type = MPS_INTTYPE_NMI;
sys/arch/x86/x86/mpacpi.c
227
mpi->type = MPS_INTTYPE_NMI;
sys/arch/x86/x86/mpacpi.c
318
mpi->type = MPS_INTTYPE_NMI;
sys/arch/x86/x86/mpacpi.c
606
mpi->type = MPS_INTTYPE_INT;
sys/arch/x86/x86/mpacpi.c
779
mpi->type = MPS_INTTYPE_INT;
sys/arch/x86/x86/mpacpi.c
857
switch (mpi->type) {
sys/arch/x86/x86/mpacpi.c
886
snprintb(buf, sizeof(buf), inttype_fmt, mpi->type);
sys/arch/x86/x86/mpbios.c
1334
uint32_t type = entry->int_type;
sys/arch/x86/x86/mpbios.c
1337
switch (type) {
sys/arch/x86/x86/mpbios.c
1360
mpi->type = type;
sys/arch/x86/x86/mpbios.c
1421
if ((altmpi->type != type) ||
sys/arch/x86/x86/mpbios.c
1453
snprintb(buf, sizeof(buf), inttype_fmt, type);
sys/arch/x86/x86/mpbios.c
152
uint8_t type;
sys/arch/x86/x86/mpbios.c
597
int type;
sys/arch/x86/x86/mpbios.c
734
type = *position;
sys/arch/x86/x86/mpbios.c
735
if (type >= MPS_MCT_NTYPES) {
sys/arch/x86/x86/mpbios.c
737
" in MP config table\n", type);
sys/arch/x86/x86/mpbios.c
740
mp_conf[type].count++;
sys/arch/x86/x86/mpbios.c
741
if (type == MPS_MCT_BUS) {
sys/arch/x86/x86/mpbios.c
752
if (type == MPS_MCT_IOINT) {
sys/arch/x86/x86/mpbios.c
759
} else if (type == MPS_MCT_LINT)
sys/arch/x86/x86/mpbios.c
761
position += mp_conf[type].length;
sys/arch/x86/x86/mpbios.c
782
switch (type = *position) {
sys/arch/x86/x86/mpbios.c
811
mpbios_int((char *)&ie, type,
sys/arch/x86/x86/mpbios.c
816
mpbios_int(position, type,
sys/arch/x86/x86/mpbios.c
821
mpbios_int(position, type,
sys/arch/x86/x86/mpbios.c
827
" in MP config table\n", type);
sys/arch/x86/x86/mpbios.c
832
position += mp_conf[type].length;
sys/arch/x86/x86/mtrr_i686.c
364
mtrrp->type = mtrr_type(base);
sys/arch/x86/x86/mtrr_i686.c
379
mtrrp->type = mask & 0xff;
sys/arch/x86/x86/mtrr_i686.c
393
mtrrp->type = mask & 0xff;
sys/arch/x86/x86/mtrr_i686.c
407
mtrrp->type = mask & 0xff;
sys/arch/x86/x86/mtrr_i686.c
434
val |= ((uint64_t)mtrrp->type << (j << 3));
sys/arch/x86/x86/mtrr_i686.c
443
val |= ((uint64_t)mtrrp->type << (j << 3));
sys/arch/x86/x86/mtrr_i686.c
452
val |= ((uint64_t)mtrrp->type << (j << 3));
sys/arch/x86/x86/mtrr_i686.c
489
if ((mtrrp->type == MTRR_TYPE_UNDEF1 || mtrrp->type == MTRR_TYPE_UNDEF2
sys/arch/x86/x86/mtrr_i686.c
490
|| mtrrp->type > MTRR_TYPE_WB) && (mtrrp->flags & MTRR_VALID))
sys/arch/x86/x86/mtrr_i686.c
497
if (mtrrp->type == MTRR_TYPE_WC &&
sys/arch/x86/x86/mtrr_i686.c
604
mp->type = mtrrp->type;
sys/arch/x86/x86/mtrr_i686.c
642
(i686_mtrr_conflict(mtrr_var[i].type, mtrrp->type) ||
sys/arch/x86/x86/multiboot2.c
119
#define RELOC(type, x) ((type)((vaddr_t)(x) - KERNBASE))
sys/arch/x86/x86/multiboot2.c
300
switch (mbt->type) {
sys/arch/x86/x86/multiboot2.c
349
bootinfo_init(int type, int len)
sys/arch/x86/x86/multiboot2.c
365
item->type = type;
sys/arch/x86/x86/multiboot2.c
375
bootinfo_add(struct btinfo_common *item, int type, int len)
sys/arch/x86/x86/multiboot2.c
377
struct btinfo_common *bip = bootinfo_init(type, len);
sys/arch/x86/x86/multiboot2.c
480
if (mbt->type != MULTIBOOT_TAG_TYPE_MODULE)
sys/arch/x86/x86/multiboot2.c
484
bie->type = BI_MODULE_ELF;
sys/arch/x86/x86/multiboot2.c
560
switch (mbe->type) {
sys/arch/x86/x86/multiboot2.c
562
bie->type = BIM_Memory;
sys/arch/x86/x86/multiboot2.c
565
bie->type = BIM_Reserved;
sys/arch/x86/x86/multiboot2.c
568
bie->type = BIM_ACPI;
sys/arch/x86/x86/multiboot2.c
571
bie->type = BIM_NVS;
sys/arch/x86/x86/multiboot2.c
575
bie->type = BIM_Unusable;
sys/arch/x86/x86/multiboot2.c
673
switch (mbt->type) {
sys/arch/x86/x86/multiboot2.c
760
mbi_tag_name(uint32_t type)
sys/arch/x86/x86/multiboot2.c
764
switch (type) {
sys/arch/x86/x86/multiboot2.c
841
tag_name = mbi_tag_name(mbt->type);
sys/arch/x86/x86/multiboot2.c
845
i++, mbt->type, tag_name, mbt->size);
sys/arch/x86/x86/multiboot2.c
850
printf("multiboot2: %s ", mbi_tag_name(mbt->type));
sys/arch/x86/x86/multiboot2.c
853
switch (mbt->type) {
sys/arch/x86/x86/multiboot2.c
902
mmap->type);
sys/arch/x86/x86/patch.c
254
if (bootspace.segs[i].type != BTSEG_TEXT)
sys/arch/x86/x86/pmap.c
1456
slotspace_copy(int type, pd_entry_t *dst, pd_entry_t *src)
sys/arch/x86/x86/pmap.c
1458
size_t sslot = slotspace.area[type].sslot;
sys/arch/x86/x86/pmap.c
1459
size_t nslot = slotspace.area[type].nslot;
sys/arch/x86/x86/pmap.c
1472
slotspace_rand(int type, size_t sz, size_t align, size_t randhole,
sys/arch/x86/x86/pmap.c
1558
slotspace.area[type].sslot = pl4_i(va);
sys/arch/x86/x86/pmap.c
1559
slotspace.area[type].nslot =
sys/arch/x86/x86/pmap.c
1561
slotspace.area[type].active = true;
sys/arch/x86/x86/pmap.c
1816
if (bootspace.segs[i].type == BTSEG_NONE) {
sys/arch/x86/x86/pmap.c
1854
if (bootspace.segs[i].type != BTSEG_TEXT) {
sys/arch/x86/x86/pmap.c
1873
if (bootspace.segs[i].type != BTSEG_RODATA) {
sys/arch/x86/x86/pmap.c
1892
if (bootspace.segs[i].type != BTSEG_DATA) {
sys/arch/x86/x86/via_padlock.c
366
int type;
sys/arch/x86/x86/via_padlock.c
369
type = CRYPTO_BUF_MBUF;
sys/arch/x86/x86/via_padlock.c
371
type= CRYPTO_BUF_IOV;
sys/arch/x86/x86/via_padlock.c
373
return (swcr_authcompute(crp, crd, sw, buf, type));
sys/arch/x86/x86/x86_autoconf.c
315
if (label.d_type == bid->label.type &&
sys/arch/x86/x86/x86_machdep.c
1439
const_sysctl(struct sysctllog **clog, const char *name, int type,
sys/arch/x86/x86/x86_machdep.c
1444
type, name, NULL, NULL, value, NULL, 0,
sys/arch/x86/x86/x86_machdep.c
148
lookup_bootinfo(int type)
sys/arch/x86/x86/x86_machdep.c
157
if (bic->type == type)
sys/arch/x86/x86/x86_machdep.c
184
if (bic->type >= 0 && bic->type < __arraycount(btinfo_str))
sys/arch/x86/x86/x86_machdep.c
185
aprint_normal(" %s", btinfo_str[bic->type]);
sys/arch/x86/x86/x86_machdep.c
187
aprint_normal(" %d", bic->type);
sys/arch/x86/x86/x86_machdep.c
292
switch (bi->type) {
sys/arch/x86/x86/x86_machdep.c
359
switch (bi->type) {
sys/arch/x86/x86/x86_machdep.c
627
x86_add_cluster(uint64_t seg_start, uint64_t seg_end, uint32_t type)
sys/arch/x86/x86/x86_machdep.c
638
seg_start, (seg_end - seg_start), type);
sys/arch/x86/x86/x86_machdep.c
685
seg_start, seg_end - seg_start, type);
sys/arch/x86/x86/x86_machdep.c
691
if (type != BIM_Memory)
sys/arch/x86/x86/x86_machdep.c
746
uint32_t type;
sys/arch/x86/x86/x86_machdep.c
761
type = bim->entry[x].type;
sys/arch/x86/x86/x86_machdep.c
765
addr, addr + size - 1, size, type,
sys/arch/x86/x86/x86_machdep.c
766
(type == BIM_Memory) ? "Memory" :
sys/arch/x86/x86/x86_machdep.c
767
(type == BIM_Reserved) ? "Reserved" :
sys/arch/x86/x86/x86_machdep.c
768
(type == BIM_ACPI) ? "ACPI" :
sys/arch/x86/x86/x86_machdep.c
769
(type == BIM_NVS) ? "NVS" :
sys/arch/x86/x86/x86_machdep.c
770
(type == BIM_PMEM) ? "Persistent" :
sys/arch/x86/x86/x86_machdep.c
771
(type == BIM_PRAM) ? "Persistent (Legacy)" :
sys/arch/x86/x86/x86_machdep.c
776
switch (type) {
sys/arch/x86/x86/x86_machdep.c
802
seg_end - seg_start, type);
sys/arch/x86/x86/x86_machdep.c
804
if (x86_add_cluster(seg_start, IOM_BEGIN, type) == -1)
sys/arch/x86/x86/x86_machdep.c
806
if (x86_add_cluster(IOM_END, seg_end, type) == -1)
sys/arch/x86/x86/x86_machdep.c
809
if (x86_add_cluster(seg_start, seg_end, type) == -1)
sys/arch/x86/x86/x86_machdep.c
933
switch (map_entry[i].type) {
sys/arch/xen/include/xenio.h
130
uint32_t type;
sys/arch/xen/x86/pintr.c
187
map_irq.type = MAP_PIRQ_TYPE_MSI_SEG;
sys/arch/xen/x86/pintr.c
197
map_irq.type = MAP_PIRQ_TYPE_MULTI_MSI;
sys/arch/xen/x86/pintr.c
232
map_irq.type = MAP_PIRQ_TYPE_MSI_SEG;
sys/arch/xen/x86/xen_intr.c
140
int type, int level, int (*handler)(void *), void *arg,
sys/arch/xen/x86/xen_intr.c
144
return xen_intr_establish_xname(legacy_irq, pic, pin, type, level,
sys/arch/xen/x86/xen_intr.c
150
int type, int level, int (*handler)(void *), void *arg,
sys/arch/xen/x86/xen_intr.c
198
pic->pic_addroute(pic, ci, pin, gsi, type);
sys/arch/xen/xen/evtchn.c
443
xen_evtchn_addroute(struct pic *pic, struct cpu_info *ci, int pin, int idt_vec, int type)
sys/arch/xen/xen/evtchn.c
449
KASSERT(type == IST_LEVEL);
sys/arch/xen/xen/evtchn.c
463
xen_evtchn_delroute(struct pic *pic, struct cpu_info *ci, int pin, int idt_vec, int type)
sys/arch/xen/xen/evtchn.c
474
KASSERT(type == IST_LEVEL);
sys/arch/xen/xen/genfb_xen.c
50
if (_xen_genfb_btinfo.common.type == BTINFO_FRAMEBUFFER)
sys/arch/xen/xen/genfb_xen.c
73
_xen_genfb_btinfo.common.type = BTINFO_FRAMEBUFFER;
sys/arch/xen/xen/if_xennet_xenbus.c
1477
xennet_hex_dump(const unsigned char *pkt, size_t len, const char *type, int id)
sys/arch/xen/xen/if_xennet_xenbus.c
1481
printf("pkt %p len %zd/%zx type %s id %d\n", pkt, len, len, type, id);
sys/arch/xen/xen/privcmd.c
1059
switch(pobj->type) {
sys/arch/xen/xen/privcmd.c
362
obj->type = PTYPE_PRIVCMD;
sys/arch/xen/xen/privcmd.c
418
obj->type = PTYPE_PRIVCMD;
sys/arch/xen/xen/privcmd.c
490
obj->type = PTYPE_PRIVCMD_PHYSMAP;
sys/arch/xen/xen/privcmd.c
618
op.type = pmr->type;
sys/arch/xen/xen/privcmd.c
637
obj->type = PTYPE_PRIVCMD_PHYSMAP;
sys/arch/xen/xen/privcmd.c
674
obj->type = PTYPE_GNTDEV_REF;
sys/arch/xen/xen/privcmd.c
744
obj->type = PTYPE_GNTDEV_ALLOC;
sys/arch/xen/xen/privcmd.c
96
privcmd_type type;
sys/arch/xen/xen/privcmd.c
992
switch (pobj->type) {
sys/arch/xen/xenbus/xenbus_dev.c
277
switch (xlwp->u.msg.type) {
sys/arch/xen/xenbus/xenbus_dev.c
291
if (xlwp->u.msg.type == XS_TRANSACTION_START) {
sys/arch/xen/xenbus/xenbus_dev.c
297
} else if (xlwp->u.msg.type == XS_TRANSACTION_END) {
sys/arch/xen/xenbus/xenbus_probe.c
311
xenbus_probe_device_type(const char *path, const char *type,
sys/arch/xen/xenbus/xenbus_probe.c
324
DPRINTK("probe %s type %s", path, type);
sys/arch/xen/xenbus/xenbus_probe.c
435
xa.xa_type = type;
sys/arch/xen/xenbus/xenbus_probe.c
440
type, dir[i]);
sys/arch/xen/xenbus/xenbus_probe.c
550
unsigned int type, id, dirt_n, dirid_n;
sys/arch/xen/xenbus/xenbus_probe.c
560
for (type = 0; type < dirt_n; type++) {
sys/arch/xen/xenbus/xenbus_probe.c
563
if (strcmp(dirt[type], xbakd->xbakd_type) == 0)
sys/arch/xen/xenbus/xenbus_probe.c
568
err = xenbus_directory(NULL, "backend", dirt[type],
sys/arch/xen/xenbus/xenbus_probe.c
571
dirt[type], err, dirid_n);
sys/arch/xen/xenbus/xenbus_probe.c
577
dirt[type], dirid[id]);
sys/arch/xen/xenbus/xenbus_probe.c
578
err = xenbus_probe_device_type(path, dirt[type],
sys/arch/xen/xenbus/xenbus_xs.c
116
read_reply(enum xsd_sockmsg_type *type, unsigned int *len)
sys/arch/xen/xenbus/xenbus_xs.c
129
*type = msg->hdr.type;
sys/arch/xen/xenbus/xenbus_xs.c
134
msg->hdr.type, body);
sys/arch/xen/xenbus/xenbus_xs.c
148
msg.type = XS_DEBUG;
sys/arch/xen/xenbus/xenbus_xs.c
166
msg->type = XS_ERROR;
sys/arch/xen/xenbus/xenbus_xs.c
169
*reply = read_reply(&msg->type, &msg->len);
sys/arch/xen/xenbus/xenbus_xs.c
185
enum xsd_sockmsg_type type,
sys/arch/xen/xenbus/xenbus_xs.c
198
msg.type = type;
sys/arch/xen/xenbus/xenbus_xs.c
224
ret = read_reply(&msg.type, len);
sys/arch/xen/xenbus/xenbus_xs.c
229
if (msg.type == XS_ERROR) {
sys/arch/xen/xenbus/xenbus_xs.c
235
KASSERT(msg.type == type);
sys/arch/xen/xenbus/xenbus_xs.c
246
enum xsd_sockmsg_type type,
sys/arch/xen/xenbus/xenbus_xs.c
256
return xs_talkv(t, type, &iovec, 1, len, ret);
sys/arch/xen/xenbus/xenbus_xs.c
748
if (msg->hdr.type == XS_WATCH_EVENT) {
sys/arch/xen/xenbus/xenbus_xs.c
785
DPRINTK("process_msg: type %d body %s", msg->hdr.type, body);
sys/arch/zaurus/dev/w100.c
394
const struct w100_wsscreen_descr *type =
sys/arch/zaurus/dev/w100.c
401
error = w100_new_screen(sc, type->depth, &scr);
sys/arch/zaurus/dev/w100.c
409
scr->rinfo.ri_depth = type->depth;
sys/arch/zaurus/dev/w100.c
416
rasops_init(&scr->rinfo, type->c.nrows, type->c.ncols);
sys/arch/zaurus/dev/wm8731_zaudio.c
650
if (mc->type != AUDIO_MIXER_VALUE)
sys/arch/zaurus/dev/wm8731_zaudio.c
670
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8731_zaudio.c
678
if (mc->type != AUDIO_MIXER_VALUE)
sys/arch/zaurus/dev/wm8731_zaudio.c
690
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8731_zaudio.c
698
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8731_zaudio.c
721
if (mc->type != AUDIO_MIXER_VALUE)
sys/arch/zaurus/dev/wm8731_zaudio.c
738
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8731_zaudio.c
745
if (mc->type != AUDIO_MIXER_VALUE)
sys/arch/zaurus/dev/wm8731_zaudio.c
756
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8731_zaudio.c
763
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8731_zaudio.c
780
di->type = AUDIO_MIXER_VALUE;
sys/arch/zaurus/dev/wm8731_zaudio.c
792
di->type = AUDIO_MIXER_ENUM;
sys/arch/zaurus/dev/wm8731_zaudio.c
808
di->type = AUDIO_MIXER_VALUE;
sys/arch/zaurus/dev/wm8731_zaudio.c
820
di->type = AUDIO_MIXER_ENUM;
sys/arch/zaurus/dev/wm8731_zaudio.c
827
di->type = AUDIO_MIXER_ENUM;
sys/arch/zaurus/dev/wm8731_zaudio.c
839
di->type = AUDIO_MIXER_CLASS;
sys/arch/zaurus/dev/wm8731_zaudio.c
847
di->type = AUDIO_MIXER_CLASS;
sys/arch/zaurus/dev/wm8731_zaudio.c
855
di->type = AUDIO_MIXER_CLASS;
sys/arch/zaurus/dev/wm8750_zaudio.c
709
if (mc->type != AUDIO_MIXER_VALUE)
sys/arch/zaurus/dev/wm8750_zaudio.c
721
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8750_zaudio.c
729
if (mc->type != AUDIO_MIXER_VALUE)
sys/arch/zaurus/dev/wm8750_zaudio.c
749
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8750_zaudio.c
757
if (mc->type != AUDIO_MIXER_VALUE)
sys/arch/zaurus/dev/wm8750_zaudio.c
769
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8750_zaudio.c
777
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8750_zaudio.c
800
if (mc->type != AUDIO_MIXER_VALUE)
sys/arch/zaurus/dev/wm8750_zaudio.c
811
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8750_zaudio.c
818
if (mc->type != AUDIO_MIXER_VALUE)
sys/arch/zaurus/dev/wm8750_zaudio.c
835
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8750_zaudio.c
842
if (mc->type != AUDIO_MIXER_VALUE)
sys/arch/zaurus/dev/wm8750_zaudio.c
853
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8750_zaudio.c
860
if (mc->type != AUDIO_MIXER_ENUM)
sys/arch/zaurus/dev/wm8750_zaudio.c
877
di->type = AUDIO_MIXER_VALUE;
sys/arch/zaurus/dev/wm8750_zaudio.c
888
di->type = AUDIO_MIXER_ENUM;
sys/arch/zaurus/dev/wm8750_zaudio.c
895
di->type = AUDIO_MIXER_VALUE;
sys/arch/zaurus/dev/wm8750_zaudio.c
907
di->type = AUDIO_MIXER_ENUM;
sys/arch/zaurus/dev/wm8750_zaudio.c
923
di->type = AUDIO_MIXER_VALUE;
sys/arch/zaurus/dev/wm8750_zaudio.c
935
di->type = AUDIO_MIXER_ENUM;
sys/arch/zaurus/dev/wm8750_zaudio.c
942
di->type = AUDIO_MIXER_ENUM;
sys/arch/zaurus/dev/wm8750_zaudio.c
954
di->type = AUDIO_MIXER_CLASS;
sys/arch/zaurus/dev/wm8750_zaudio.c
962
di->type = AUDIO_MIXER_CLASS;
sys/arch/zaurus/dev/wm8750_zaudio.c
970
di->type = AUDIO_MIXER_CLASS;
sys/arch/zaurus/dev/zapm.c
206
zapm_hook(void *v, int type, long id, void *msg)
sys/arch/zaurus/dev/zapm.c
213
if (type != CONFIG_HOOK_PMEVENT)
sys/arch/zaurus/dev/zkbd.c
385
int i, j, col, pin, type, keysdown = 0;
sys/arch/zaurus/dev/zkbd.c
500
type = keystate ? WSCONS_EVENT_KEY_DOWN :
sys/arch/zaurus/dev/zkbd.c
505
sc->sc_pollUD = type;
sys/arch/zaurus/dev/zkbd.c
507
wskbd_input(sc->sc_wskbddev, type, i);
sys/arch/zaurus/dev/zkbd.c
666
zkbd_cngetc(void *v, u_int *type, int *data)
sys/arch/zaurus/dev/zkbd.c
679
*type = sc->sc_pollUD;
sys/arch/zaurus/dev/zrc.c
355
u_int type = down ? WSCONS_EVENT_KEY_DOWN : WSCONS_EVENT_KEY_UP;
sys/arch/zaurus/dev/zrc.c
378
wskbd_input(sc->sc_wskbddev, type, key);
sys/arch/zaurus/dev/ztp.c
585
if (id->type != WSMOUSE_ID_TYPE_UIDSTR)
sys/arch/zaurus/include/bootinfo.h
46
int type;
sys/arch/zaurus/include/bootinfo.h
53
uint16_t type, checksum;
sys/arch/zaurus/include/bootinfo.h
85
void *lookup_bootinfo(int type);
sys/arch/zaurus/stand/zboot/bootinfo.c
35
bi_find(int type)
sys/arch/zaurus/stand/zboot/bootinfo.c
42
if (btinfo->type == type) {
sys/arch/zaurus/stand/zboot/bootinfo.c
50
bi_add(struct btinfo_common *what, int type, int size)
sys/arch/zaurus/stand/zboot/bootinfo.c
55
what->type = type;
sys/arch/zaurus/stand/zboot/bootinfo.c
58
idx = bi_find(type);
sys/arch/zaurus/stand/zboot/bootinfo.c
67
bi_del(int type)
sys/arch/zaurus/stand/zboot/bootinfo.c
73
idx = bi_find(type);
sys/arch/zaurus/stand/zboot/bootinfo.h
47
#define BI_ADD(x, type, size) bi_add((struct btinfo_common *)(x), type, size)
sys/arch/zaurus/stand/zboot/bootinfo.h
48
#define BI_DEL(type) bi_del(type)
sys/arch/zaurus/stand/zboot/unixdev.c
125
bi_disk.label.type = dip->disklabel.d_type;
sys/arch/zaurus/zaurus/autoconf.c
125
if (label.d_type == bid->label.type &&
sys/arch/zaurus/zaurus/kloader_machdep.c
104
bi_howto->common.type = BTINFO_HOWTO;
sys/arch/zaurus/zaurus/kloader_machdep.c
115
bi_rootdv->common.type = BTINFO_ROOTDEVICE;
sys/arch/zaurus/zaurus/machdep.c
1154
lookup_bootinfo(int type)
sys/arch/zaurus/zaurus/machdep.c
1165
if (help->type == type)
sys/coda/coda_vnops.c
1931
make_coda_node(CodaFid *fid, struct mount *fvsp, short type)
sys/coda/coda_vnops.c
1946
if (vp->v_type != type) {
sys/coda/coda_vnops.c
1949
vp->v_type = type;
sys/coda/coda_vnops.c
1950
if (type == VCHR || type == VBLK)
sys/compat/aoutm68k/aoutm68k_sysent.c
30
#define s(type) sizeof(type)
sys/compat/aoutm68k/aoutm68k_sysent.c
31
#define n(type) (sizeof(type)/sizeof (register_t))
sys/compat/aoutm68k/aoutm68k_sysent.c
32
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/common/rndpseudo_50.c
57
r50->type = r->type;
sys/compat/common/vfs_syscalls_40.c
97
return do_sys_mount(l, SCARG(uap, type), UIO_USERSPACE, SCARG(uap, path),
sys/compat/freebsd/freebsd_file.c
102
return do_sys_mount(l, type, UIO_SYSSPACE, SCARG(uap, path),
sys/compat/freebsd/freebsd_file.c
57
convert_from_freebsd_mount_type(int type)
sys/compat/freebsd/freebsd_file.c
82
if (type < 0 || type >= ARRAY_LENGTH(netbsd_mount_type))
sys/compat/freebsd/freebsd_file.c
84
return (netbsd_mount_type[type]);
sys/compat/freebsd/freebsd_file.c
96
const char *type;
sys/compat/freebsd/freebsd_file.c
99
if ((type = convert_from_freebsd_mount_type(SCARG(uap, type))) == NULL)
sys/compat/freebsd/freebsd_rtprio.h
60
u_short type;
sys/compat/freebsd/freebsd_syscallargs.h
72
syscallarg(int) type;
sys/compat/freebsd/freebsd_sysent.c
30
#define s(type) sizeof(type)
sys/compat/freebsd/freebsd_sysent.c
31
#define n(type) (sizeof(type)/sizeof (register_t))
sys/compat/freebsd/freebsd_sysent.c
32
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/linux/arch/aarch64/linux_syscallargs.h
887
syscallarg(int) type;
sys/compat/linux/arch/aarch64/linux_syscallargs.h
894
syscallarg(int) type;
sys/compat/linux/arch/aarch64/linux_sysent.c
40
#define s(type) sizeof(type)
sys/compat/linux/arch/aarch64/linux_sysent.c
41
#define n(type) (sizeof(type)/sizeof (register_t))
sys/compat/linux/arch/aarch64/linux_sysent.c
42
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/linux/arch/aarch64/linux_systrace_args.c
1444
iarg[1] = SCARG(p, type); /* int */
sys/compat/linux/arch/aarch64/linux_systrace_args.c
1453
iarg[1] = SCARG(p, type); /* int */
sys/compat/linux/arch/alpha/linux_osf1.c
295
switch (SCARG(uap, type)) {
sys/compat/linux/arch/alpha/linux_syscallargs.h
234
syscallarg(int) type;
sys/compat/linux/arch/alpha/linux_syscallargs.h
394
syscallarg(int) type;
sys/compat/linux/arch/alpha/linux_syscallargs.h
92
syscallarg(int) type;
sys/compat/linux/arch/alpha/linux_sysent.c
36
#define s(type) sizeof(type)
sys/compat/linux/arch/alpha/linux_sysent.c
37
#define n(type) (sizeof(type)/sizeof (register_t))
sys/compat/linux/arch/alpha/linux_sysent.c
38
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/linux/arch/amd64/linux_syscallargs.h
191
syscallarg(int) type;
sys/compat/linux/arch/amd64/linux_syscallargs.h
271
syscallarg(int) type;
sys/compat/linux/arch/amd64/linux_sysent.c
41
#define s(type) sizeof(type)
sys/compat/linux/arch/amd64/linux_sysent.c
42
#define n(type) (sizeof(type)/sizeof (register_t))
sys/compat/linux/arch/amd64/linux_sysent.c
43
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/linux/arch/amd64/linux_systrace_args.c
358
iarg[1] = SCARG(p, type); /* int */
sys/compat/linux/arch/amd64/linux_systrace_args.c
470
iarg[1] = SCARG(p, type); /* int */
sys/compat/linux/arch/arm/linux_sysent.c
30
#define s(type) sizeof(type)
sys/compat/linux/arch/arm/linux_sysent.c
31
#define n(type) (sizeof(type)/sizeof (register_t))
sys/compat/linux/arch/arm/linux_sysent.c
32
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/linux/arch/i386/linux_sysent.c
29
#define s(type) sizeof(type)
sys/compat/linux/arch/i386/linux_sysent.c
30
#define n(type) (sizeof(type)/sizeof (register_t))
sys/compat/linux/arch/i386/linux_sysent.c
31
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/linux/arch/m68k/linux_sysent.c
33
#define s(type) sizeof(type)
sys/compat/linux/arch/m68k/linux_sysent.c
34
#define n(type) (sizeof(type)/sizeof (register_t))
sys/compat/linux/arch/m68k/linux_sysent.c
35
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/linux/arch/mips/linux_syscallargs.h
662
syscallarg(int) type;
sys/compat/linux/arch/mips/linux_syscallargs.h
669
syscallarg(int) type;
sys/compat/linux/arch/mips/linux_sysent.c
30
#define s(type) sizeof(type)
sys/compat/linux/arch/mips/linux_sysent.c
31
#define n(type) (sizeof(type)/sizeof (register_t))
sys/compat/linux/arch/mips/linux_sysent.c
32
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/linux/arch/powerpc/linux_sysent.c
28
#define s(type) sizeof(type)
sys/compat/linux/arch/powerpc/linux_sysent.c
29
#define n(type) (sizeof(type)/sizeof (register_t))
sys/compat/linux/arch/powerpc/linux_sysent.c
30
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/linux/common/linux_inotify.c
363
inotify_mask_to_kevent_fflags(uint32_t mask, enum vtype type)
sys/compat/linux/common/linux_inotify.c
369
switch (type) {
sys/compat/linux/common/linux_inotify.c
386
switch (type) {
sys/compat/linux/common/linux_ioctl.h
100
#define _LINUX_IOW(type,nr,size) \
sys/compat/linux/common/linux_ioctl.h
101
_LINUX_IOC(_LINUX_IOC_WRITE,(type),(nr),sizeof(size))
sys/compat/linux/common/linux_ioctl.h
102
#define _LINUX_IOWR(type,nr,size) \
sys/compat/linux/common/linux_ioctl.h
103
_LINUX_IOC(_LINUX_IOC_READ|_LINUX_IOC_WRITE,(type),(nr),sizeof(size))
sys/compat/linux/common/linux_ioctl.h
90
#define _LINUX_IOC(dir,type,nr,size) \
sys/compat/linux/common/linux_ioctl.h
92
((type) << _LINUX_IOC_TYPESHIFT) | \
sys/compat/linux/common/linux_ioctl.h
96
#define _LINUX_IO(type,nr) \
sys/compat/linux/common/linux_ioctl.h
97
_LINUX_IOC(_LINUX_IOC_NONE,(type),(nr),0)
sys/compat/linux/common/linux_ioctl.h
98
#define _LINUX_IOR(type,nr,size) \
sys/compat/linux/common/linux_ioctl.h
99
_LINUX_IOC(_LINUX_IOC_READ,(type),(nr),sizeof(size))
sys/compat/linux/common/linux_ipccall.c
243
SCARG(&bma, msgtyp) = kluge.type;
sys/compat/linux/common/linux_msg.h
97
long type;
sys/compat/linux/common/linux_socket.c
243
int type, flags;
sys/compat/linux/common/linux_socket.c
246
type = ltype & LINUX_SOCK_TYPE_MASK;
sys/compat/linux/common/linux_socket.c
254
type |= SOCK_CLOEXEC;
sys/compat/linux/common/linux_socket.c
256
type |= SOCK_NONBLOCK;
sys/compat/linux/common/linux_socket.c
258
return type;
sys/compat/linux/common/linux_socket.c
331
SCARG(&bsa, type) = linux_to_bsd_type(SCARG(uap, type));
sys/compat/linux/common/linux_socket.c
332
if (SCARG(&bsa, type) == -1)
sys/compat/linux/common/linux_socket.c
339
if (SCARG(&bsa, domain) == AF_ROUTE && SCARG(&bsa, type) == SOCK_RAW)
sys/compat/linux/common/linux_socket.c
381
SCARG(&bsa, type) = linux_to_bsd_type(SCARG(uap, type));
sys/compat/linux/common/linux_socket.c
382
if (SCARG(&bsa, type) == -1)
sys/compat/linux/common/linux_socketcall.h
113
syscallarg(int) type;
sys/compat/linux/common/linux_socketcall.h
121
syscallarg(int) type;
sys/compat/linux32/arch/aarch64/linux32_sysent.c
32
#define s(type) sizeof(type)
sys/compat/linux32/arch/aarch64/linux32_sysent.c
33
#define n(type) (sizeof(type)/sizeof (register32_t))
sys/compat/linux32/arch/aarch64/linux32_sysent.c
34
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/linux32/arch/aarch64/linux32_systrace_args.c
1684
iarg[1] = SCARG(p, type); /* int */
sys/compat/linux32/arch/aarch64/linux32_systrace_args.c
1738
iarg[1] = SCARG(p, type); /* int */
sys/compat/linux32/arch/amd64/linux32_sysent.c
35
#define s(type) sizeof(type)
sys/compat/linux32/arch/amd64/linux32_sysent.c
36
#define n(type) (sizeof(type)/sizeof (register32_t))
sys/compat/linux32/arch/amd64/linux32_sysent.c
37
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/linux32/common/linux32_ioctl.h
62
#define _LINUX32_IOC(dir,type,nr,size) \
sys/compat/linux32/common/linux32_ioctl.h
64
((type) << _LINUX32_IOC_TYPESHIFT) | \
sys/compat/linux32/common/linux32_ioctl.h
68
#define _LINUX32_IO(type,nr) \
sys/compat/linux32/common/linux32_ioctl.h
69
_LINUX32_IOC(_LINUX32_IOC_NONE,(type),(nr),0)
sys/compat/linux32/common/linux32_ioctl.h
70
#define _LINUX32_IOR(type,nr,size) \
sys/compat/linux32/common/linux32_ioctl.h
71
_LINUX32_IOC(_LINUX32_IOC_READ,(type),(nr),sizeof(size))
sys/compat/linux32/common/linux32_ioctl.h
72
#define _LINUX32_IOW(type,nr,size) \
sys/compat/linux32/common/linux32_ioctl.h
73
_LINUX32_IOC(_LINUX32_IOC_WRITE,(type),(nr),sizeof(size))
sys/compat/linux32/common/linux32_ioctl.h
74
#define _LINUX32_IOWR(type,nr,size) \
sys/compat/linux32/common/linux32_ioctl.h
75
_LINUX32_IOC(_LINUX32_IOC_READ|_LINUX32_IOC_WRITE,(type),(nr),sizeof(size))
sys/compat/linux32/common/linux32_ipccall.c
398
netbsd32_long type;
sys/compat/linux32/common/linux32_ipccall.c
414
SCARG(&bma, msgtyp) = kluge.type;
sys/compat/linux32/common/linux32_socket.c
110
NETBSD32TO64_UAP(type);
sys/compat/linux32/common/linux32_socket.c
218
NETBSD32TO64_UAP(type);
sys/compat/linux32/common/linux32_socketcall.h
58
syscallarg(int) type;
sys/compat/linux32/common/linux32_socketcall.h
64
syscallarg(int) type;
sys/compat/netbsd32/netbsd32.h
1247
#define NETBSD32TOP(s32uap, uap, name, type) \
sys/compat/netbsd32/netbsd32.h
1249
#define NETBSD32TOX(s32uap, uap, name, type) \
sys/compat/netbsd32/netbsd32.h
1250
SCARG(uap, name) = (type)SCARG(s32uap, name)
sys/compat/netbsd32/netbsd32.h
1251
#define NETBSD32TOX64(s32uap, uap, name, type) \
sys/compat/netbsd32/netbsd32.h
1252
SCARG(uap, name) = (type)(long)SCARG(s32uap, name)
sys/compat/netbsd32/netbsd32.h
1256
#define NETBSD32TOP_UAP(name, type) NETBSD32TOP(uap, &ua, name, type)
sys/compat/netbsd32/netbsd32.h
1257
#define NETBSD32TOX_UAP(name, type) NETBSD32TOX(uap, &ua, name, type)
sys/compat/netbsd32/netbsd32.h
1258
#define NETBSD32TOX64_UAP(name, type) NETBSD32TOX64(uap, &ua, name, type)
sys/compat/netbsd32/netbsd32_acl.c
108
error = vacl_get_acl(l, fp->f_vnode, SCARG(uap, type),
sys/compat/netbsd32/netbsd32_acl.c
127
error = vacl_set_acl(l, fp->f_vnode, SCARG(uap, type),
sys/compat/netbsd32/netbsd32_acl.c
142
return kern___acl_delete_path(l, SCARG_P32(uap, path), SCARG(uap, type),
sys/compat/netbsd32/netbsd32_acl.c
153
return kern___acl_delete_path(l, SCARG_P32(uap, path), SCARG(uap, type),
sys/compat/netbsd32/netbsd32_acl.c
169
error = vacl_delete(l, fp->f_vnode, SCARG(uap, type));
sys/compat/netbsd32/netbsd32_acl.c
184
SCARG(uap, type), SCARG_P32(uap, aclp), NSM_FOLLOW_NOEMULROOT);
sys/compat/netbsd32/netbsd32_acl.c
196
SCARG(uap, type), SCARG_P32(uap, aclp), NSM_NOFOLLOW_NOEMULROOT);
sys/compat/netbsd32/netbsd32_acl.c
211
error = vacl_aclcheck(l, fp->f_vnode, SCARG(uap, type),
sys/compat/netbsd32/netbsd32_acl.c
57
return kern___acl_get_path(l, SCARG_P32(uap, path), SCARG(uap, type),
sys/compat/netbsd32/netbsd32_acl.c
69
return kern___acl_get_path(l, SCARG_P32(uap, path), SCARG(uap, type),
sys/compat/netbsd32/netbsd32_acl.c
81
return kern___acl_set_path(l, SCARG_P32(uap, path), SCARG(uap, type),
sys/compat/netbsd32/netbsd32_acl.c
93
return kern___acl_set_path(l, SCARG_P32(uap, path), SCARG(uap, type),
sys/compat/netbsd32/netbsd32_compat_30.c
244
NETBSD32TO64_UAP(type);
sys/compat/netbsd32/netbsd32_compat_40.c
59
NETBSD32TOP_UAP(type, const char);
sys/compat/netbsd32/netbsd32_drm.c
182
enum drm_map_type type; /**< Type of memory to map */
sys/compat/netbsd32/netbsd32_drm.c
193
m64->type = m32->type;
sys/compat/netbsd32/netbsd32_drm.c
204
m32->type = m64->type;
sys/compat/netbsd32/netbsd32_drm.c
326
enum drm_stat_type type;
sys/compat/netbsd32/netbsd32_drm.c
350
st32.data[i].type = st64.data[i].type;
sys/compat/netbsd32/netbsd32_drm.c
650
uint32_t type; /**< Type of memory to allocate */
sys/compat/netbsd32/netbsd32_drm.c
665
req64.type = req32.type;
sys/compat/netbsd32/netbsd32_drm.c
782
unsigned int type;
sys/compat/netbsd32/netbsd32_drm.c
792
req64->type = update32->type;
sys/compat/netbsd32/netbsd32_drm.c
814
enum drm_vblank_seq_type type;
sys/compat/netbsd32/netbsd32_drm.c
820
enum drm_vblank_seq_type type;
sys/compat/netbsd32/netbsd32_drm.c
834
req64->request.type = req32->request.type;
sys/compat/netbsd32/netbsd32_fs.c
808
const char *type = SCARG_P32(uap, type);
sys/compat/netbsd32/netbsd32_fs.c
821
error = copyinstr(type, mtype, sizeof(mtype), &len);
sys/compat/netbsd32/netbsd32_ioctl.h
48
#define IOCTL_STRUCT_CONV_TO(cmd, type) \
sys/compat/netbsd32/netbsd32_ioctl.h
54
__CONCAT(netbsd32_to_, type)((struct __CONCAT(netbsd32_, type) *) \
sys/compat/netbsd32/netbsd32_ioctl.h
55
data32, (struct type *)data, cmd); \
sys/compat/netbsd32/netbsd32_ioctl.h
57
__CONCAT(netbsd32_from_, type)((struct type *)data, \
sys/compat/netbsd32/netbsd32_ioctl.h
58
(struct __CONCAT(netbsd32_, type) *)data32, cmd); \
sys/compat/netbsd32/netbsd32_ioctl.h
61
#define IOCTL_CONV_TO(cmd, type) \
sys/compat/netbsd32/netbsd32_ioctl.h
67
__CONCAT(netbsd32_to_, type)((__CONCAT(netbsd32_, type) *) \
sys/compat/netbsd32/netbsd32_ioctl.h
68
data32, (type *)data, cmd); \
sys/compat/netbsd32/netbsd32_ioctl.h
70
__CONCAT(netbsd32_from_, type)((type *)data, \
sys/compat/netbsd32/netbsd32_ioctl.h
71
(__CONCAT(netbsd32_, type) *)data32, cmd); \
sys/compat/netbsd32/netbsd32_netbsd.c
1141
NETBSD32TO64_UAP(type);
sys/compat/netbsd32/netbsd32_netbsd.c
874
NETBSD32TO64_UAP(type);
sys/compat/netbsd32/netbsd32_rndpseudo_50.c
61
r50_32->type = r->type;
sys/compat/netbsd32/netbsd32_syscallargs.h
148
syscallarg(netbsd32_charp) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2121
syscallarg(int) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2156
syscallarg(netbsd32_charp) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2707
syscallarg(acl_type_t) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2714
syscallarg(acl_type_t) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2721
syscallarg(acl_type_t) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2727
syscallarg(acl_type_t) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2734
syscallarg(acl_type_t) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2741
syscallarg(acl_type_t) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2748
syscallarg(acl_type_t) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2755
syscallarg(acl_type_t) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2762
syscallarg(acl_type_t) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2768
syscallarg(acl_type_t) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2774
syscallarg(acl_type_t) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
2781
syscallarg(acl_type_t) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
511
syscallarg(int) type;
sys/compat/netbsd32/netbsd32_syscallargs.h
745
syscallarg(int) type;
sys/compat/netbsd32/netbsd32_sysent.c
142
#define s(type) sizeof(type)
sys/compat/netbsd32/netbsd32_sysent.c
143
#define n(type) (sizeof(type)/sizeof (register32_t))
sys/compat/netbsd32/netbsd32_sysent.c
144
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/netbsd32/netbsd32_systrace_args.c
1019
iarg[1] = SCARG(p, type); /* int */
sys/compat/netbsd32/netbsd32_systrace_args.c
175
uarg[0] = (intptr_t) SCARG(p, type).i32; /* netbsd32_charp */
sys/compat/netbsd32/netbsd32_systrace_args.c
2854
iarg[1] = SCARG(p, type); /* int */
sys/compat/netbsd32/netbsd32_systrace_args.c
2899
uarg[0] = (intptr_t) SCARG(p, type).i32; /* netbsd32_charp */
sys/compat/netbsd32/netbsd32_systrace_args.c
3598
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
3607
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
3616
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
3624
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
3633
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
3642
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
3651
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
3660
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
3669
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
3677
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
3685
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
3694
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
715
iarg[1] = SCARG(p, type); /* int */
sys/compat/ossaudio/ossaudio.c
1002
switch(mi.type) {
sys/compat/ossaudio/ossaudio.c
1033
switch(mi.type) {
sys/compat/ossaudio/ossaudio.c
1130
mc.type = AUDIO_MIXER_ENUM;
sys/compat/ossaudio/ossaudio.c
1141
mc.type = AUDIO_MIXER_SET;
sys/compat/ossaudio/ossaudio.c
1181
mc.type = AUDIO_MIXER_ENUM;
sys/compat/ossaudio/ossaudio.c
1194
mc.type = AUDIO_MIXER_SET;
sys/compat/ossaudio/ossaudio.c
1229
mc.type = AUDIO_MIXER_VALUE;
sys/compat/ossaudio/ossaudio.c
1269
mc.type = AUDIO_MIXER_VALUE;
sys/compat/sunos/sunos_misc.c
247
error = copyinstr(SCARG(uap, type), fsname, sizeof fsname, NULL);
sys/compat/sunos/sunos_misc.c
593
int type);
sys/compat/sunos/sunos_misc.c
595
sunos_sys_socket_common(struct lwp *l, register_t *retval, int type)
sys/compat/sunos/sunos_misc.c
603
if (type == SOCK_DGRAM)
sys/compat/sunos/sunos_misc.c
623
return sunos_sys_socket_common(l, retval, SCARG(uap, type));
sys/compat/sunos/sunos_misc.c
640
return sunos_sys_socket_common(l, retval, SCARG(uap, type));
sys/compat/sunos/sunos_syscallargs.h
227
syscallarg(int) type;
sys/compat/sunos/sunos_syscallargs.h
313
syscallarg(int) type;
sys/compat/sunos/sunos_syscallargs.h
395
syscallarg(char *) type;
sys/compat/sunos/sunos_sysent.c
26
#define s(type) sizeof(type)
sys/compat/sunos/sunos_sysent.c
27
#define n(type) (sizeof(type)/sizeof (register_t))
sys/compat/sunos/sunos_sysent.c
28
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/sunos32/sunos32.h
68
#define SUNOS32TOP(s32uap, uap, name, type) \
sys/compat/sunos32/sunos32.h
70
#define SUNOS32TOX(s32uap, uap, name, type) \
sys/compat/sunos32/sunos32.h
71
SCARG(uap, name) = (type)SCARG(s32uap, name)
sys/compat/sunos32/sunos32.h
72
#define SUNOS32TOX64(s32uap, uap, name, type) \
sys/compat/sunos32/sunos32.h
73
SCARG(uap, name) = (type)(u_long)SCARG(s32uap, name)
sys/compat/sunos32/sunos32.h
77
#define SUNOS32TOP_UAP(name, type) SUNOS32TOP(uap, &ua, name, type);
sys/compat/sunos32/sunos32.h
78
#define SUNOS32TOX_UAP(name, type) SUNOS32TOX(uap, &ua, name, type);
sys/compat/sunos32/sunos32.h
79
#define SUNOS32TOX64_UAP(name, type) SUNOS32TOX64(uap, &ua, name, type);
sys/compat/sunos32/sunos32_misc.c
438
error = copyinstr(SCARG_P32(uap, type), fsname, sizeof fsname, NULL);
sys/compat/sunos32/sunos32_misc.c
811
int type);
sys/compat/sunos32/sunos32_misc.c
813
sunos32_sys_socket_common(struct lwp *l, register_t *retval, int type)
sys/compat/sunos32/sunos32_misc.c
821
if (type == SOCK_DGRAM)
sys/compat/sunos32/sunos32_misc.c
841
return sunos32_sys_socket_common(l, retval, SCARG(uap, type));
sys/compat/sunos32/sunos32_misc.c
858
return sunos32_sys_socket_common(l, retval, SCARG(uap, type));
sys/compat/sunos32/sunos32_syscallargs.h
239
syscallarg(int) type;
sys/compat/sunos32/sunos32_syscallargs.h
325
syscallarg(int) type;
sys/compat/sunos32/sunos32_syscallargs.h
404
syscallarg(netbsd32_charp) type;
sys/compat/sunos32/sunos32_sysent.c
30
#define s(type) sizeof(type)
sys/compat/sunos32/sunos32_sysent.c
31
#define n(type) (sizeof(type)/sizeof (register32_t))
sys/compat/sunos32/sunos32_sysent.c
32
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/compat/sys/rnd.h
64
uint32_t type; /* type */
sys/compat/sys/rnd.h
76
uint32_t type; /* type */
sys/compat/ultrix/ultrix_fs.c
343
int otype = SCARG(uap, type);
sys/compat/ultrix/ultrix_syscallargs.h
89
syscallarg(int) type;
sys/compat/ultrix/ultrix_sysent.c
21
#define s(type) sizeof(type)
sys/compat/ultrix/ultrix_sysent.c
22
#define n(type) (sizeof(type)/sizeof (register_t))
sys/compat/ultrix/ultrix_sysent.c
23
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/ddb/db_command.c
188
static int db_register_tbl_entry(uint8_t type,
sys/ddb/db_command.c
501
db_register_tbl(uint8_t type, const struct db_command *cmd_tbl)
sys/ddb/db_command.c
519
return db_register_tbl_entry(type, list_ent);
sys/ddb/db_command.c
523
db_register_tbl_entry(uint8_t type, struct db_cmd_tbl_en *list_ent)
sys/ddb/db_command.c
527
switch(type) {
sys/ddb/db_command.c
550
db_unregister_tbl(uint8_t type,const struct db_command *cmd_tbl)
sys/ddb/db_command.c
556
switch (type) {
sys/ddb/db_command.h
85
#define DDB_ADD_CMD(name,funct,type,cmd_descr,cmd_arg,arg_desc)\
sys/ddb/db_command.h
86
name,funct,type,cmd_descr,cmd_arg,arg_desc
sys/ddb/db_command.h
88
#define DDB_ADD_CMD(name,funct,type,cmd_descr,cmd_arg,arg_desc)\
sys/ddb/db_command.h
89
name,funct,type
sys/ddb/db_trap.c
60
db_trap(int type, int code)
sys/ddb/db_trap.c
65
db_trap_type = type;
sys/ddb/db_trap.c
67
bkpt = IS_BREAKPOINT_TRAP(type, code);
sys/ddb/db_trap.c
68
watchpt = IS_WATCHPOINT_TRAP(type, code);
sys/dev/acpi/acpi.c
1412
int type;
sys/dev/acpi/acpi.c
1421
type = PSWITCH_TYPE_POWER;
sys/dev/acpi/acpi.c
1430
type = PSWITCH_TYPE_SLEEP;
sys/dev/acpi/acpi.c
1439
smpsw->smpsw_type = type;
sys/dev/acpi/acpi.c
1458
(type != PSWITCH_TYPE_SLEEP) ? "power" : "sleep");
sys/dev/acpi/acpi.c
878
ACPI_OBJECT_TYPE type;
sys/dev/acpi/acpi.c
886
type = devinfo->Type;
sys/dev/acpi/acpi.c
888
switch (type) {
sys/dev/acpi/acpi.c
905
ad->ad_type = type;
sys/dev/acpi/acpi_button.c
118
const struct button_type *type;
sys/dev/acpi/acpi_button.c
125
type = dce->data;
sys/dev/acpi/acpi_button.c
127
sc->sc_smpsw.smpsw_type = type->type;
sys/dev/acpi/acpi_button.c
129
aprint_naive(": ACPI %s Button\n", type->desc);
sys/dev/acpi/acpi_button.c
130
aprint_normal(": ACPI %s Button\n", type->desc);
sys/dev/acpi/acpi_button.c
66
int type;
sys/dev/acpi/acpi_button.c
71
.type = PSWITCH_TYPE_POWER
sys/dev/acpi/acpi_button.c
76
.type = PSWITCH_TYPE_SLEEP
sys/dev/acpi/acpi_cpu_cstate.c
241
uint32_t type;
sys/dev/acpi/acpi_cpu_cstate.c
265
type = obj->Integer.Value;
sys/dev/acpi/acpi_cpu_cstate.c
267
if (type < ACPI_STATE_C1 || type > ACPI_STATE_C3) {
sys/dev/acpi/acpi_cpu_cstate.c
336
switch (type) {
sys/dev/acpi/acpi_cpu_cstate.c
381
cs[type].cs_addr = state.cs_addr;
sys/dev/acpi/acpi_cpu_cstate.c
382
cs[type].cs_power = state.cs_power;
sys/dev/acpi/acpi_cpu_cstate.c
383
cs[type].cs_flags = state.cs_flags;
sys/dev/acpi/acpi_cpu_cstate.c
384
cs[type].cs_method = state.cs_method;
sys/dev/acpi/acpi_cpu_cstate.c
385
cs[type].cs_latency = state.cs_latency;
sys/dev/acpi/acpi_display.c
138
uint8_t type:4;
sys/dev/acpi/acpi_display.c
2038
const char *type;
sys/dev/acpi/acpi_display.c
2042
switch (oda.fmt.type) {
sys/dev/acpi/acpi_display.c
2044
type = "Other";
sys/dev/acpi/acpi_display.c
2047
type = "VGA Analog Monitor";
sys/dev/acpi/acpi_display.c
2050
type = "TV/HDTV Monitor";
sys/dev/acpi/acpi_display.c
2053
type = "Ext. Digital Monitor";
sys/dev/acpi/acpi_display.c
2056
type = "Int. Digital Flat Panel";
sys/dev/acpi/acpi_display.c
2059
type = "Invalid";
sys/dev/acpi/acpi_display.c
2064
type, oda.fmt.index, oda.fmt.port);
sys/dev/acpi/acpi_display.c
2069
type = "Ext. Monitor";
sys/dev/acpi/acpi_display.c
2072
type = "LCD Panel";
sys/dev/acpi/acpi_display.c
2075
type = "TV";
sys/dev/acpi/acpi_display.c
2078
type = "Unknown Output Device";
sys/dev/acpi/acpi_display.c
2082
aprint_verbose("%s", type);
sys/dev/acpi/acpi_display.c
2103
acpidisp_has_method(ACPI_HANDLE handle, const char *path, ACPI_OBJECT_TYPE type)
sys/dev/acpi/acpi_display.c
2116
if (typ != ACPI_TYPE_METHOD && typ != type)
sys/dev/acpi/acpi_mcfg.c
134
const char *type;
sys/dev/acpi/acpi_mcfg.c
140
type = "FIXED_MEMORY32";
sys/dev/acpi/acpi_mcfg.c
158
type = "ADDRESS32";
sys/dev/acpi/acpi_mcfg.c
177
type = "ADDRESS64";
sys/dev/acpi/acpi_mcfg.c
192
mr->hid, res->Type, type, mapaddr, mapsize);
sys/dev/acpi/acpi_mcfg.c
704
int type;
sys/dev/acpi/acpi_mcfg.c
721
type = PCI_RANGE_PMEM;
sys/dev/acpi/acpi_mcfg.c
725
type = PCI_RANGE_PMEM;
sys/dev/acpi/acpi_mcfg.c
727
type = PCI_RANGE_MEM;
sys/dev/acpi/acpi_mcfg.c
730
type = PCI_RANGE_BUS;
sys/dev/acpi/acpi_mcfg.c
733
type = PCI_RANGE_IO;
sys/dev/acpi/acpi_mcfg.c
742
pci_resource_typename(type));
sys/dev/acpi/acpi_mcfg.c
751
pci_resource_typename(type));
sys/dev/acpi/acpi_mcfg.c
760
pci_resource_typename(type));
sys/dev/acpi/acpi_mcfg.c
770
pci_resource_add_range(pciinfo, type, addr, addr + size - 1);
sys/dev/acpi/acpi_mcfg.c
771
if (type == PCI_RANGE_BUS)
sys/dev/acpi/acpi_resource.c
902
acpi_res_parse_irq(device_t dev, void *context, uint32_t irq, uint32_t type)
sys/dev/acpi/acpi_resource.c
917
ar->ar_type = type;
sys/dev/acpi/acpi_util.c
1127
const int type = (irq->ar_type == ACPI_EDGE_SENSITIVE) ? IST_EDGE : IST_LEVEL;
sys/dev/acpi/acpi_util.c
1128
ih = acpi_md_intr_establish(irq->ar_irq, ipl, type, intr, iarg, mpsafe, xname);
sys/dev/acpi/acpi_util.c
1183
acpi_dsd_property(ACPI_HANDLE handle, const char *prop, ACPI_BUFFER *pbuf, ACPI_OBJECT_TYPE type, ACPI_OBJECT **ret)
sys/dev/acpi/acpi_util.c
119
.type = DEVHANDLE_TYPE_ACPI,
sys/dev/acpi/acpi_util.c
1217
if (type != ACPI_TYPE_ANY && propval->Type != type) {
sys/dev/acpi/acpi_util.c
198
prop_type_to_acpi(prop_type_t type, ACPI_OBJECT_TYPE *out)
sys/dev/acpi/acpi_util.c
200
switch (type) {
sys/dev/acpi/acpi_util.c
286
if (! acpi_type_to_prop(propval->Type, &args->type)) {
sys/dev/acpi/aibs_acpi.c
324
aibs_init_old(device_t self, int type)
sys/dev/acpi/aibs_acpi.c
333
switch (type) {
sys/dev/acpi/aibs_acpi.c
521
uint32_t type, *ret, cmb[3];
sys/dev/acpi/aibs_acpi.c
542
tmp.Type = type = ACPI_TYPE_BUFFER;
sys/dev/acpi/aibs_acpi.c
550
cmi.Type = type = ACPI_TYPE_INTEGER;
sys/dev/acpi/aibs_acpi.c
581
if (obj->Type != type) {
sys/dev/acpi/apei.c
772
const struct uuid *type;
sys/dev/acpi/apei.c
825
if (memcmp(&sectype, report->type, sizeof(sectype)) != 0)
sys/dev/acpi/fdc_acpi.c
308
int type;
sys/dev/acpi/fdc_acpi.c
310
type = (drive == 0 ? nvraminfo : nvraminfo << 4) & 0xf0;
sys/dev/acpi/fdc_acpi.c
311
switch (type) {
sys/dev/acpi/fdc_acpi.c
326
fdc, drive, type);
sys/dev/acpi/fujbp_acpi.c
632
fujitsu_bp_cap(ACPI_HANDLE handle, const char *path, ACPI_OBJECT_TYPE type)
sys/dev/acpi/fujbp_acpi.c
645
if (typ != ACPI_TYPE_METHOD && typ != type)
sys/dev/acpi/fujhk_acpi.c
433
fujitsu_hk_cap(ACPI_HANDLE handle, const char *path, ACPI_OBJECT_TYPE type)
sys/dev/acpi/fujhk_acpi.c
446
if (typ != ACPI_TYPE_METHOD && typ != type)
sys/dev/acpi/hpqlb_acpi.c
169
u_int type, int value)
sys/dev/acpi/hpqlb_acpi.c
176
if (type != WSCONS_EVENT_KEY_DOWN)
sys/dev/acpi/hpqlb_acpi.c
181
if (type != WSCONS_EVENT_KEY_DOWN)
sys/dev/acpi/hpqlb_acpi.c
186
if (type != WSCONS_EVENT_KEY_DOWN)
sys/dev/acpi/hpqlb_acpi.c
193
if (type != WSCONS_EVENT_KEY_DOWN)
sys/dev/acpi/hpqlb_acpi.c
202
if (type != WSCONS_EVENT_KEY_DOWN)
sys/dev/acpi/hpqlb_acpi.c
211
if (type != WSCONS_EVENT_KEY_DOWN)
sys/dev/acpi/hpqlb_acpi.c
216
if (type != WSCONS_EVENT_KEY_DOWN)
sys/dev/acpi/hpqlb_acpi.c
222
if (type != WSCONS_EVENT_KEY_DOWN)
sys/dev/acpi/qcompas.c
1282
uint32_t type;
sys/dev/acpi/qcompas.c
1367
msg.hdr.type = PMIC_GLINK_TYPE_REQ_RESP;
sys/dev/acpi/qcompas.c
1382
msg.hdr.type = PMIC_GLINK_TYPE_REQ_RESP;
sys/dev/acpi/sdhc_acpi.c
104
{ .hid = "BRCM5D12", .uid = "0", .type = SLOT_TYPE_SD,
sys/dev/acpi/sdhc_acpi.c
107
{ .hid = "BRCM5D12", .uid = "1", .type = SLOT_TYPE_EMMC,
sys/dev/acpi/sdhc_acpi.c
111
{ .hid = "80860F14", .uid = "1", .type = SLOT_TYPE_EMMC },
sys/dev/acpi/sdhc_acpi.c
112
{ .hid = "80860F14", .uid = "3", .type = SLOT_TYPE_SD },
sys/dev/acpi/sdhc_acpi.c
113
{ .hid = "80860F16", .type = SLOT_TYPE_SD },
sys/dev/acpi/sdhc_acpi.c
114
{ .hid = "INT33BB", .uid = "2", .type = SLOT_TYPE_SD },
sys/dev/acpi/sdhc_acpi.c
115
{ .hid = "INT33BB", .uid = "3", .type = SLOT_TYPE_SD },
sys/dev/acpi/sdhc_acpi.c
116
{ .hid = "INT33C6", .type = SLOT_TYPE_SD },
sys/dev/acpi/sdhc_acpi.c
117
{ .hid = "INT3436", .type = SLOT_TYPE_SD },
sys/dev/acpi/sdhc_acpi.c
118
{ .hid = "INT344D", .type = SLOT_TYPE_SD },
sys/dev/acpi/sdhc_acpi.c
119
{ .hid = "NXP0003", .uid = "0", .type = SLOT_TYPE_SD,
sys/dev/acpi/sdhc_acpi.c
121
{ .hid = "NXP0003", .uid = "1", .type = SLOT_TYPE_EMMC,
sys/dev/acpi/sdhc_acpi.c
123
{ .hid = "RKCP0D40", .type = SLOT_TYPE_SD,
sys/dev/acpi/sdhc_acpi.c
130
{ .hid = "PNP0D40", .type = SLOT_TYPE_SD },
sys/dev/acpi/sdhc_acpi.c
131
{ .hid = "PNP0FFF", .uid = "3", .type = SLOT_TYPE_SD },
sys/dev/acpi/sdhc_acpi.c
194
if (slot->type == SLOT_TYPE_EMMC)
sys/dev/acpi/sdhc_acpi.c
88
int type;
sys/dev/acpi/sdhc_acpi.c
93
{ .hid = "80865ACA", .type = SLOT_TYPE_SD },
sys/dev/acpi/sdhc_acpi.c
94
{ .hid = "80865ACC", .type = SLOT_TYPE_EMMC },
sys/dev/acpi/sdhc_acpi.c
95
{ .hid = "80865AD0", .type = SLOT_TYPE_SD },
sys/dev/acpi/thinkpad_acpi.c
492
int type, event;
sys/dev/acpi/thinkpad_acpi.c
506
type = (val & 0xf000) >> 12;
sys/dev/acpi/thinkpad_acpi.c
509
if (type != 1)
sys/dev/acpi/wss_acpi.c
188
arg.type = AUDIODEV_TYPE_OPL;
sys/dev/adb/adb_kbd.c
602
int type;
sys/dev/adb/adb_kbd.c
604
type = ADBK_PRESS(k) ?
sys/dev/adb/adb_kbd.c
606
wskbd_input(sc->sc_wskbddev, type, ADBK_KEYVAL(k));
sys/dev/adb/adb_kbd.c
713
adbkbd_cngetc(void *v, u_int *type, int *data)
sys/dev/adb/adb_kbd.c
739
*type = press ? WSCONS_EVENT_KEY_DOWN : WSCONS_EVENT_KEY_UP;
sys/dev/apm/apm.c
377
evp->type = event_type;
sys/dev/apm/apmio.h
37
u_int type;
sys/dev/ata/ata.c
1592
ata_thread_run(struct ata_channel *chp, int flags, int type, int arg)
sys/dev/ata/ata.c
1607
switch (type) {
sys/dev/ata/ata.c
1637
panic("%s: unknown type: %x", __func__, type);
sys/dev/ata/ata.c
1641
if (!(chp->ch_flags & type)) {
sys/dev/ata/ata.c
1647
chp->ch_flags |= type;
sys/dev/ata/ata.c
1662
if (chp->ch_flags & type) {
sys/dev/ata/ata.c
1663
chp->ch_flags &= ~type;
sys/dev/ata/ata.c
1667
switch (type) {
sys/dev/ata/ata.c
1701
panic("%s: unknown type: %x", __func__, type);
sys/dev/ata/ata_raid.c
132
ata_raid_type_name(u_int type)
sys/dev/ata/ata_raid.c
143
if (type < __arraycount(ata_raid_type_names))
sys/dev/ata/ata_raid.c
144
return ata_raid_type_names[type];
sys/dev/ata/ata_raid.c
266
ata_raid_get_array_info(u_int type, u_int arrayno)
sys/dev/ata/ata_raid.c
271
if (aai->aai_type == type &&
sys/dev/ata/ata_raid.c
278
aai->aai_type = type;
sys/dev/ata/ata_raid_adaptec.c
133
switch (info->configs[0].type) {
sys/dev/ata/ata_raid_adaptec.c
151
info->configs[0].type);
sys/dev/ata/ata_raid_intel.c
119
printf("type %s\n", ata_raid_intel_type(map->type));
sys/dev/ata/ata_raid_intel.c
229
switch (map->type) {
sys/dev/ata/ata_raid_intel.c
240
dksc->sc_xname, map->type));
sys/dev/ata/ata_raid_intel.c
69
ata_raid_intel_type(int type)
sys/dev/ata/ata_raid_intel.c
73
switch (type) {
sys/dev/ata/ata_raid_intel.c
81
snprintf(buffer, sizeof(buffer), "UNKNOWN 0x%02x", type);
sys/dev/ata/ata_raid_jmicron.c
104
ata_raid_jmicron_type(info->type));
sys/dev/ata/ata_raid_jmicron.c
208
switch (info->type) {
sys/dev/ata/ata_raid_jmicron.c
227
dksc->sc_xname, info->type));
sys/dev/ata/ata_raid_jmicron.c
68
ata_raid_jmicron_type(int type)
sys/dev/ata/ata_raid_jmicron.c
72
switch (type) {
sys/dev/ata/ata_raid_jmicron.c
84
snprintf(buffer, sizeof(buffer), "UNKNOWN 0x%02x", type);
sys/dev/ata/ata_raid_nvidia.c
105
printf("type %s\n", ata_raid_nvidia_type(info->type));
sys/dev/ata/ata_raid_nvidia.c
211
switch (info->type) {
sys/dev/ata/ata_raid_nvidia.c
234
"unknown nVidia type 0x%02x\n", info->type);
sys/dev/ata/ata_raid_nvidia.c
66
ata_raid_nvidia_type(int type)
sys/dev/ata/ata_raid_nvidia.c
70
switch (type) {
sys/dev/ata/ata_raid_nvidia.c
78
snprintf(buffer, sizeof(buffer), "UNKNOWN 0x%02x", type);
sys/dev/ata/ata_raid_promise.c
152
switch (info->raid.type) {
sys/dev/ata/ata_raid_promise.c
170
info->raid.type);
sys/dev/ata/ata_raid_via.c
192
switch (info->type & VIA_T_MASK) {
sys/dev/ata/ata_raid_via.c
219
"unknown VIA V-RAID type 0x%02x\n", info->type);
sys/dev/ata/ata_raid_via.c
68
ata_raid_via_type(int type)
sys/dev/ata/ata_raid_via.c
72
switch (type) {
sys/dev/ata/ata_raid_via.c
79
snprintf(buffer, sizeof(buffer), "UNKNOWN 0x%02x", type);
sys/dev/ata/ata_raid_via.c
93
ata_raid_via_type(info->type & VIA_T_MASK));
sys/dev/ata/ata_raid_via.c
94
printf("bootable %d\n", info->type & VIA_T_BOOTABLE);
sys/dev/ata/ata_raid_via.c
95
printf("unknown %d\n", info->type & VIA_T_UNKNOWN);
sys/dev/ata/ata_raidreg.h
140
uint8_t type;
sys/dev/ata/ata_raidreg.h
181
uint8_t type;
sys/dev/ata/ata_raidreg.h
233
uint16_t type;
sys/dev/ata/ata_raidreg.h
275
uint8_t type;
sys/dev/ata/ata_raidreg.h
348
uint8_t type;
sys/dev/ata/ata_raidreg.h
85
uint8_t type;
sys/dev/audio/audio.c
1252
if (mi.type == AUDIO_MIXER_CLASS) {
sys/dev/audio/audio.c
1282
if (mi.type == AUDIO_MIXER_CLASS)
sys/dev/audio/audio.c
1295
if (mi.type == AUDIO_MIXER_ENUM) {
sys/dev/audio/audio.c
1338
if (mi.type == AUDIO_MIXER_ENUM) {
sys/dev/audio/audio.c
1551
arg.type = AUDIODEV_TYPE_AUDIO;
sys/dev/audio/audio.c
8195
audio_activity(device_t dv, devactive_t type)
sys/dev/audio/audio.c
8199
if (type != DVA_SYSTEM)
sys/dev/audio/audio.c
8664
if (mi->type == AUDIO_MIXER_ENUM) {
sys/dev/audio/audio.c
8682
} else if (mi->type == AUDIO_MIXER_SET) {
sys/dev/audio/audio.c
8709
ct->type = AUDIO_MIXER_VALUE;
sys/dev/audio/audio.c
8782
ct.type = AUDIO_MIXER_ENUM;
sys/dev/audio/audio.c
8804
ct.type = AUDIO_MIXER_SET;
sys/dev/audio/audio.c
8848
ct.type = AUDIO_MIXER_VALUE;
sys/dev/audio/audio.c
8854
ct.type = AUDIO_MIXER_ENUM;
sys/dev/audio/audio.c
8857
ct.type = AUDIO_MIXER_VALUE;
sys/dev/audio/audio.c
8877
ct.type = AUDIO_MIXER_SET;
sys/dev/audio/audio.c
8880
ct.type = AUDIO_MIXER_VALUE;
sys/dev/audio/audio.c
8949
ct.type = AUDIO_MIXER_ENUM;
sys/dev/audio/audio.c
8963
ct.type = AUDIO_MIXER_SET;
sys/dev/audio/audio.c
8993
ct.type = ports->isenum ? AUDIO_MIXER_ENUM : AUDIO_MIXER_SET;
sys/dev/audio/audio.c
9030
ct.type = AUDIO_MIXER_VALUE;
sys/dev/audio/audio.c
9050
ct.type = AUDIO_MIXER_VALUE;
sys/dev/audio/audio.c
9099
if (mi.type == AUDIO_MIXER_CLASS)
sys/dev/audio/audio.c
9103
mc->type = mi.type;
sys/dev/audio/audio.c
912
__func__, sa->type, sa, sa->hwif);
sys/dev/audio/audio.c
9126
if (mi.type == AUDIO_MIXER_CLASS)
sys/dev/audio/audio.c
913
return (sa->type == AUDIODEV_TYPE_AUDIO) ? 1 : 0;
sys/dev/audio/audio.c
9405
const char *type;
sys/dev/audio/audio.c
9409
switch (arg->type) {
sys/dev/audio/audio.c
9411
type = "audio";
sys/dev/audio/audio.c
9414
type = "midi";
sys/dev/audio/audio.c
9417
type = "opl";
sys/dev/audio/audio.c
9420
type = "mpu";
sys/dev/audio/audio.c
9423
type = "aux";
sys/dev/audio/audio.c
9426
panic("audioprint: unknown type %d", arg->type);
sys/dev/audio/audio.c
9428
aprint_normal("%s at %s", type, pnp);
sys/dev/audio/audio_if.h
139
int type;
sys/dev/bi/if_ni.c
167
u_short type;
sys/dev/bi/if_ni.c
169
type = bus_space_read_2(ba->ba_iot, ba->ba_ioh, BIREG_DTYPE);
sys/dev/bi/if_ni.c
170
if (type != BIDT_DEBNA && type != BIDT_DEBNT && type != BIDT_DEBNK)
sys/dev/bi/if_ni.c
235
u_short type;
sys/dev/bi/if_ni.c
239
type = bus_space_read_2(ba->ba_iot, ba->ba_ioh, BIREG_DTYPE);
sys/dev/bi/if_ni.c
240
aprint_normal(": DEBN%c\n", type == BIDT_DEBNA ? 'A'
sys/dev/bi/if_ni.c
241
: type == BIDT_DEBNT ? 'T' : 'K');
sys/dev/bluetooth/bcsp.c
1493
const char *type;
sys/dev/bluetooth/bcsp.c
1516
for (i = 0; pkt[i].type != NULL; i++)
sys/dev/bluetooth/bcsp.c
1519
if (m->m_len != sizeof(uint32_t) || pkt[i].type == NULL) {
sys/dev/bluetooth/bth5.c
1538
const char *type;
sys/dev/bluetooth/bth5.c
1561
for (i = 0; pkt[i].type != NULL; i++)
sys/dev/bluetooth/bth5.c
1564
if (m->m_len < sizeof(uint16_t) || pkt[i].type == NULL) {
sys/dev/bluetooth/btsco.c
846
DPRINTF("%s dev %d type %d\n", sc->sc_name, mc->dev, mc->type);
sys/dev/bluetooth/btsco.c
850
if (mc->type != AUDIO_MIXER_VALUE ||
sys/dev/bluetooth/btsco.c
860
if (mc->type != AUDIO_MIXER_VALUE ||
sys/dev/bluetooth/btsco.c
887
mc->type = AUDIO_MIXER_VALUE;
sys/dev/bluetooth/btsco.c
893
mc->type = AUDIO_MIXER_VALUE;
sys/dev/bluetooth/btsco.c
917
di->type = AUDIO_MIXER_VALUE;
sys/dev/bluetooth/btsco.c
927
di->type = AUDIO_MIXER_VALUE;
sys/dev/bluetooth/btsco.c
937
di->type = AUDIO_MIXER_CLASS;
sys/dev/cardbus/cardbus.c
1102
tuple_name(int type)
sys/dev/cardbus/cardbus.c
1105
if (0 <= type && type < NAME_LEN(tuple_names)) {
sys/dev/cardbus/cardbus.c
1106
return (tuple_names[type]);
sys/dev/cardbus/cardbus.c
1107
} else if (type == 0xff) {
sys/dev/cardbus/cardbus.c
940
u_int8_t type;
sys/dev/cardbus/cardbus.c
943
type = tuple[0];
sys/dev/cardbus/cardbus.c
944
switch (type) {
sys/dev/cardbus/cardbus.c
961
if (type == PCMCIA_CISTPL_END || tuple + len == end)
sys/dev/cardbus/cardbus_map.c
142
cardbus_mem_find(cardbus_chipset_tag_t cc, cardbus_function_tag_t cf, pcitag_t tag, int reg, pcireg_t type, bus_addr_t *basep, bus_size_t *sizep, int *flagsp)
sys/dev/cardbus/cardbus_map.c
176
if (PCI_MAPREG_MEM_TYPE(address) != PCI_MAPREG_MEM_TYPE(type)) {
sys/dev/cardbus/cardbus_map.c
178
PCI_MAPREG_MEM_TYPE(type),
sys/dev/cardbus/cardbus_map.c
229
cardbus_mapreg_map(struct cardbus_softc *sc, int func, int reg, pcireg_t type, int busflags, bus_space_tag_t *tagp, bus_space_handle_t *handlep, bus_addr_t *basep, bus_size_t *sizep)
sys/dev/cardbus/cardbus_map.c
248
type));
sys/dev/cardbus/cardbus_map.c
250
if (PCI_MAPREG_TYPE(type) == PCI_MAPREG_TYPE_IO) {
sys/dev/cardbus/cardbus_map.c
251
if (cardbus_io_find(cc, cf, tag, reg, type, &base, &size, &flags)) {
sys/dev/cardbus/cardbus_map.c
257
if (cardbus_mem_find(cc, cf, tag, reg, type, &base, &size, &flags)){
sys/dev/cardbus/cardbus_map.c
75
pcireg_t type,
sys/dev/cardbus/cardbusvar.h
286
#define Cardbus_mapreg_map(ct, reg, type, busflags, tagp, handlep, basep, sizep) \
sys/dev/cardbus/cardbusvar.h
287
cardbus_mapreg_map((ct)->ct_sc, (ct->ct_func), (reg), (type),\
sys/dev/cardbus/cardslotvar.h
81
#define CARDSLOT_SET_CARDTYPE(x, type) \
sys/dev/cardbus/cardslotvar.h
83
(x) |= (CARDSLOT_STATUS_CARD_MASK & (type));} while(0)
sys/dev/cardbus/cardslotvar.h
90
#define CARDSLOT_SET_WORK(x, type) \
sys/dev/cardbus/cardslotvar.h
92
(x) |= (CARDSLOT_STATUS_WORK_MASK & (type));} while(0)
sys/dev/cardbus/com_cardbus.c
147
csc->cc_type = cp->type;
sys/dev/cardbus/com_cardbus.c
88
int type;
sys/dev/cardbus/rbus_ppb.c
465
rbus_do_phys_countspace(pci_chipset_tag_t pc, pcitag_t tag, int mapreg, void *ctx, int type, bus_addr_t *addr, bus_size_t size)
sys/dev/cardbus/rbus_ppb.c
479
if(PCI_MAPREG_TYPE(type) == PCI_MAPREG_TYPE_IO) {
sys/dev/cardbus/rbus_ppb.c
511
rbus_do_phys_allocate(pci_chipset_tag_t pc, pcitag_t tag, int mapreg, void *ctx, int type, bus_addr_t *addr, bus_size_t size)
sys/dev/cardbus/rbus_ppb.c
550
if(PCI_MAPREG_TYPE(type) == PCI_MAPREG_TYPE_IO) {
sys/dev/dec/dzkbd.c
243
dzkbd_cngetc(void *v, u_int *type, int *data)
sys/dev/dec/dzkbd.c
250
} while (lk201_decode(&dzi->dzi_ks, 0, c, type, data) == LKD_NODATA);
sys/dev/dec/dzkbd.c
305
u_int type;
sys/dev/dec/dzkbd.c
311
data, &type, &val);
sys/dev/dec/dzkbd.c
313
wskbd_input(sc->sc_wskbddev, type, val);
sys/dev/dec/lk201_ws.c
125
lk201_decode(struct lk201_state *lks, int wantmulti, int datain, u_int *type, int *dataout)
sys/dev/dec/lk201_ws.c
156
*type = WSCONS_EVENT_KEY_UP;
sys/dev/dec/lk201_ws.c
166
*type = WSCONS_EVENT_ALL_KEYS_UP;
sys/dev/dec/lk201_ws.c
179
*type = WSCONS_EVENT_KEY_UP;
sys/dev/dec/lk201_ws.c
192
*type = WSCONS_EVENT_KEY_DOWN;
sys/dev/dkwedge/dk.c
269
dkwedge_compute_pdev(const char *pname, dev_t *pdevp, enum vtype type)
sys/dev/dkwedge/dk.c
277
switch (type) {
sys/dev/dkwedge/dkwedge_apple.c
128
const char *type;
sys/dev/dkwedge/dkwedge_apple.c
211
ptype = map[i].type;
sys/dev/dkwedge/dkwedge_tos.c
126
if (!strncmp(part.type, TOS_XGM_PARTITION, TOS_PART_TYPE_LEN)) {
sys/dev/dkwedge/dkwedge_tos.c
136
if (strncmp(part.type, TOS_GEM_PARTITION, TOS_PART_TYPE_LEN) &&
sys/dev/dkwedge/dkwedge_tos.c
137
strncmp(part.type, TOS_BGM_PARTITION, TOS_PART_TYPE_LEN)) {
sys/dev/dkwedge/dkwedge_tos.c
149
memcpy(safe_type, part.type, TOS_PART_TYPE_LEN);
sys/dev/dkwedge/dkwedge_tos.c
61
char type[TOS_PART_TYPE_LEN];
sys/dev/dm/dm_ioctl.c
720
const char *name, *uuid, *type;
sys/dev/dm/dm_ioctl.c
771
DM_TABLE_TYPE, &type);
sys/dev/dm/dm_ioctl.c
776
if (((target = dm_target_lookup(type)) == NULL) &&
sys/dev/dm/dm_ioctl.c
777
((target = dm_target_autoload(type)) == NULL)) {
sys/dev/dmover/dmover_backend.c
126
dmover_backend_alloc(struct dmover_session *dses, const char *type)
sys/dev/dmover/dmover_backend.c
145
dmb->dmb_nalgdescs, type);
sys/dev/dmover/dmover_session.c
73
dmover_session_create(const char *type, struct dmover_session **dsesp)
sys/dev/dmover/dmover_session.c
90
error = dmover_backend_alloc(dses, type);
sys/dev/dtv/dtv_device.c
126
switch (info.type) {
sys/dev/dtv/dtvio_frontend.h
87
fe_type_t type;
sys/dev/efi.c
104
efi_close(dev_t dev, int flags, int type, struct lwp *l)
sys/dev/efi.c
90
efi_open(dev_t dev, int flags, int type, struct lwp *l)
sys/dev/fdt/fdt_boot.c
347
fdt_map_efi_runtime(const char *prop, enum cpu_efirt_mem_type type)
sys/dev/fdt/fdt_boot.c
368
cpu_efirt_map_range(va, pa, sz, type);
sys/dev/fdt/fdt_boot.h
38
void fdt_map_efi_runtime(const char *prop, enum cpu_efirt_mem_type type);
sys/dev/fdt/fdt_port.c
255
int phandle, enum endpoint_type type)
sys/dev/fdt/fdt_port.c
309
fdt_endpoints_register(child, &ports->dp_port[i], type);
sys/dev/fdt/fdt_port.c
319
enum endpoint_type type)
sys/dev/fdt/fdt_port.c
359
ep->ep_type = type;
sys/dev/fdt/hdmi_connector.c
170
hdmi_connector->type);
sys/dev/fdt/hdmi_connector.c
206
hdmi_connector->type = DRM_MODE_CONNECTOR_HDMIA;
sys/dev/fdt/hdmi_connector.c
59
int type; /* DRM_MODE_CONNECTOR_* */
sys/dev/fdt/ns8250_uart.c
142
sc->sc_type = config->type;
sys/dev/fdt/ns8250_uart.c
216
if (comcnattach1(&regs, speed, uart_freq, config->type, flags))
sys/dev/fdt/ns8250_uart.c
50
int type;
sys/dev/fdt/ns8250_uart.c
56
.type = COM_TYPE_NORMAL,
sys/dev/fdt/ns8250_uart.c
60
.type = COM_TYPE_16750,
sys/dev/fdt/ns8250_uart.c
77
.type = COM_TYPE_16550_NOERS,
sys/dev/flash/flash.c
172
switch (sc->flash_if->type) {
sys/dev/flash/flash.c
210
const char *type;
sys/dev/flash/flash.c
214
switch (arg->flash_if->type) {
sys/dev/flash/flash.c
216
type = "NOR";
sys/dev/flash/flash.c
219
type = "NAND";
sys/dev/flash/flash.c
223
arg->flash_if->type);
sys/dev/flash/flash.c
225
aprint_normal("%s flash at %s", type, pnp);
sys/dev/flash/flash.c
459
ip->ip_flash_type = sc->flash_if->type;
sys/dev/flash/flash.h
111
uint8_t type;
sys/dev/gpib/ct.c
261
int type, i, n, canstream = 0;
sys/dev/gpib/ct.c
268
if ((type = ctlookup(ca->ca_id, ca->ca_slave, ca->ca_punit)) < 0)
sys/dev/gpib/ct.c
325
sc->sc_type = type;
sys/dev/gpib/ct.c
329
sc->sc_type = type;
sys/dev/gpib/ct.c
331
printf(": %s %stape\n", ctinfo[type].desc,
sys/dev/gpib/ct.c
347
ctopen(dev_t dev, int flag, int type, struct lwp *l)
sys/dev/gpib/mt.c
231
int type;
sys/dev/gpib/mt.c
237
if ((type = mtlookup(ca->ca_id, ca->ca_slave, ca->ca_punit)) < 0)
sys/dev/gpib/mt.c
241
aprint_normal(": %s tape\n", mtinfo[type].desc);
sys/dev/gpib/mt.c
243
sc->sc_type = type;
sys/dev/gpib/rd.c
1022
int type = sc->sc_type;
sys/dev/gpib/rd.c
1028
lp->d_nsectors = rdidentinfo[type].ri_nbpt;
sys/dev/gpib/rd.c
1029
lp->d_ntracks = rdidentinfo[type].ri_ntpc;
sys/dev/gpib/rd.c
1030
lp->d_ncylinders = rdidentinfo[type].ri_ncyl;
sys/dev/gpib/rd.c
1034
strncpy(lp->d_typename, rdidentinfo[type].ri_desc, 16);
sys/dev/gpib/rd.c
316
int type, i, n;
sys/dev/gpib/rd.c
323
if ((type = rdlookup(ca->ca_id, ca->ca_slave, ca->ca_punit)) < 0)
sys/dev/gpib/rd.c
372
type = RD7945A;
sys/dev/gpib/rd.c
374
type = RD7946A;
sys/dev/gpib/rd.c
379
type = RD9134L;
sys/dev/gpib/rd.c
381
type = RD9122D;
sys/dev/gpib/rd.c
386
type = RD9122S;
sys/dev/gpib/rd.c
388
type = RD9134D;
sys/dev/gpib/rd.c
392
sc->sc_type = type;
sys/dev/gpib/rd.c
399
printf(": %s\n", rdidentinfo[type].ri_desc);
sys/dev/gpib/rd.c
401
device_xname(sc->sc_dev), rdidentinfo[type].ri_ncyl,
sys/dev/gpib/rd.c
402
rdidentinfo[type].ri_ntpc, rdidentinfo[type].ri_nblocks,
sys/dev/gpio/gpiobutton.c
109
const u_int type = __SHIFTOUT(ga->ga_flags, GPIOBUTTON_TYPE_MASK);
sys/dev/gpio/gpiobutton.c
131
switch (type) {
sys/dev/gpio/gpiobutton.c
90
const u_int type = __SHIFTOUT(ga->ga_flags, GPIOBUTTON_TYPE_MASK);
sys/dev/gpio/gpiobutton.c
92
switch (type) {
sys/dev/hdaudio/hdafg.c
1119
int i, j, cnt, maxassocs, type, assoc, seq, first, hpredir;
sys/dev/hdaudio/hdafg.c
1171
type = COP_CFG_DEFAULT_DEVICE(w->w_pin.config);
sys/dev/hdaudio/hdafg.c
1173
switch (type) {
sys/dev/hdaudio/hdafg.c
1214
if (type == COP_DEVICE_HP_OUT && seq == 15)
sys/dev/hdaudio/hdafg.c
2060
int type = ctl->ctl_widget ? ctl->ctl_widget->w_type : -1;
sys/dev/hdaudio/hdafg.c
2064
i, (ctl->ctl_widget ? ctl->ctl_widget->w_nid : -1), type,
sys/dev/hdaudio/hdafg.c
2446
int type = -1, use, used =0;
sys/dev/hdaudio/hdafg.c
2475
type = -1;
sys/dev/hdaudio/hdafg.c
2478
type = 0;
sys/dev/hdaudio/hdafg.c
2484
type = 1;
sys/dev/hdaudio/hdafg.c
2487
type = 3;
sys/dev/hdaudio/hdafg.c
2490
type = 4;
sys/dev/hdaudio/hdafg.c
2494
type = 5;
sys/dev/hdaudio/hdafg.c
2497
if (type == -1)
sys/dev/hdaudio/hdafg.c
2500
while (types[type][j] >= 0 &&
sys/dev/hdaudio/hdafg.c
2501
(used & (1 << types[type][j])) != 0) {
sys/dev/hdaudio/hdafg.c
2504
if (types[type][j] >= 0)
sys/dev/hdaudio/hdafg.c
2505
use = types[type][j];
sys/dev/hdaudio/hdafg.c
2534
type = -1;
sys/dev/hdaudio/hdafg.c
2540
type = 0;
sys/dev/hdaudio/hdafg.c
2543
type = 2;
sys/dev/hdaudio/hdafg.c
2547
type = 5;
sys/dev/hdaudio/hdafg.c
2550
if (type == -1)
sys/dev/hdaudio/hdafg.c
2553
while (types[type][j] >= 0 &&
sys/dev/hdaudio/hdafg.c
2554
(used & (1 << types[type][j])) != 0) {
sys/dev/hdaudio/hdafg.c
2557
if (types[type][j] >= 0) {
sys/dev/hdaudio/hdafg.c
2558
w->w_audiodev = types[type][j];
sys/dev/hdaudio/hdafg.c
2559
used |= (1 << types[type][j]);
sys/dev/hdaudio/hdafg.c
2877
mx[index].mx_di.type = AUDIO_MIXER_CLASS;
sys/dev/hdaudio/hdafg.c
2900
mx[index].mx_di.type = AUDIO_MIXER_VALUE;
sys/dev/hdaudio/hdafg.c
2920
mx[index].mx_di.type = AUDIO_MIXER_ENUM;
sys/dev/hdaudio/hdafg.c
2977
mx[index].mx_di.type = AUDIO_MIXER_VALUE;
sys/dev/hdaudio/hdafg.c
3011
mx[index].mx_di.type = AUDIO_MIXER_ENUM;
sys/dev/hdaudio/hdafg.c
3028
mx[index].mx_di.type = AUDIO_MIXER_SET;
sys/dev/hdaudio/hdafg.c
3052
mx[index].mx_di.type = AUDIO_MIXER_SET;
sys/dev/hdaudio/hdafg.c
4164
if (mx->mx_di.type != AUDIO_MIXER_SET)
sys/dev/hdaudio/hdafg.c
4187
switch (mx->mx_di.type) {
sys/dev/hdaudio/hdafg.c
4221
if (mx->mx_di.type != AUDIO_MIXER_SET)
sys/dev/hdaudio/hdafg.c
4244
switch (mx->mx_di.type) {
sys/dev/hdaudio/hdaudio.c
1023
enum hdaudio_stream_type type, int (*intr)(struct hdaudio_stream *),
sys/dev/hdaudio/hdaudio.c
1041
if (st->st_type != type)
sys/dev/hdaudio/hdaudio.c
1310
hdaudioioctl_fgrp_to_cstr(enum function_group_type type)
sys/dev/hdaudio/hdaudio.c
1312
switch (type) {
sys/dev/hdaudio/hdaudio.c
654
const char *type = "unknown";
sys/dev/hdaudio/hdaudio.c
662
type = "hdafg";
sys/dev/hdaudio/hdaudio.c
664
type = "hdvsmfg";
sys/dev/hdaudio/hdaudio.c
666
aprint_normal("%s at %s", type, pnp);
sys/dev/hid/hidev.c
56
hidev_set_report(struct hidev_tag *t, int type, void *data, int len)
sys/dev/hid/hidev.c
58
return t->_set_report(t->_cookie, type, data, len);
sys/dev/hid/hidev.c
62
hidev_get_report(struct hidev_tag *t, int type, void *data, int len)
sys/dev/hid/hidev.c
64
return t->_get_report(t->_cookie, type, data, len);
sys/dev/hid/hidkbd.c
685
hidkbd_cngetc(struct hidkbd *kbd, u_int *type, int *data)
sys/dev/hid/hidkbd.c
693
*type = c & RELEASE ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/dev/hil/hil.c
539
ha.ha_type = hd->type;
sys/dev/hil/hildevs.h
34
int type;
sys/dev/hil/hilkbd.c
322
hilkbd_cngetc(void *v, u_int *type, int *data)
sys/dev/hil/hilkbd.c
340
hilkbd_decode(sc, c, type, data, HIL_KBDBUTTON);
sys/dev/hil/hilkbd.c
377
u_int type;
sys/dev/hil/hilkbd.c
404
hilkbd_decode(sc, *buf++, &type, &key, kbdtype);
sys/dev/hil/hilkbd.c
412
if (type == WSCONS_EVENT_KEY_UP)
sys/dev/hil/hilkbd.c
425
hilkbd_decode(sc, *buf++, &type, &key, kbdtype);
sys/dev/hil/hilkbd.c
427
wskbd_input(sc->sc_wskbddev, type, key);
sys/dev/hil/hilkbd.c
434
hilkbd_decode(struct hilkbd_softc *sc, uint8_t data, u_int *type, int *key,
sys/dev/hil/hilkbd.c
445
*type = (data & 1) ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/dev/hil/hilms.c
221
int type, flags;
sys/dev/hil/hilms.c
233
type = *buf++;
sys/dev/hil/hilms.c
241
if (type & HIL_MOUSEMOTION) {
sys/dev/hil/hilms.c
245
if (type & HIL_MOUSEBUTTON)
sys/dev/hil/hilms.c
257
if (type & HIL_MOUSEMOTION) {
sys/dev/hil/hilms.c
307
if (type & HIL_MOUSEBUTTON) {
sys/dev/hpc/apm/apmdev.c
388
evp->type = event_type;
sys/dev/hpc/bicons.c
158
if (fb_table[fb_index].type == bootinfo->fb_type)
sys/dev/hpc/bicons.c
72
int type;
sys/dev/hpc/btnmgr.c
229
btnmgr_hook(void *ctx, int type, long id, void *msg)
sys/dev/hpc/button.c
146
button_state(void *ctx, int type, long id, void *msg)
sys/dev/hpc/button.c
150
if (type != CONFIG_HOOK_GET || id != sc->sc_id)
sys/dev/hpc/hpcapm.c
159
hpcapm_hook(void *ctx, int type, long id, void *msg)
sys/dev/hpc/hpcapm.c
168
if (type != CONFIG_HOOK_PMEVENT)
sys/dev/hpc/hpcfb.c
724
hpcfb_alloc_screen(void *v, const struct wsscreen_descr *type,
sys/dev/hpc/hpcioman.c
166
int type = hma->hma_type;
sys/dev/hpc/hpcioman.c
171
hma->hma_port, type, hma->hma_id);
sys/dev/hpc/hpcioman.c
172
if (type == CONFIG_HOOK_BUTTONEVENT ||
sys/dev/hpc/hpcioman.c
173
type == CONFIG_HOOK_PMEVENT ||
sys/dev/hpc/hpcioman.c
174
type == CONFIG_HOOK_EVENT ||
sys/dev/hpc/hpcioman.c
175
type == CONFIG_HOOK_PCIINTR) {
sys/dev/hpc/hpckbd.c
225
hpckbd_putevent(struct hpckbd_core* hc, u_int type, int data)
sys/dev/hpc/hpckbd.c
235
hc->hc_tail->hq_type = type;
sys/dev/hpc/hpckbd.c
245
hpckbd_getevent(struct hpckbd_core* hc, u_int *type, int *data)
sys/dev/hpc/hpckbd.c
254
*type = hc->hc_head->hq_type;
sys/dev/hpc/hpckbd.c
389
int type, key;
sys/dev/hpc/hpckbd.c
392
type = WSCONS_EVENT_KEY_DOWN;
sys/dev/hpc/hpckbd.c
394
type = WSCONS_EVENT_KEY_UP;
sys/dev/hpc/hpckbd.c
433
if (hpckbd_putevent(hc, type, key) == 0)
sys/dev/hpc/hpckbd.c
440
n = pckbd_encode(type, key, data);
sys/dev/hpc/hpckbd.c
444
wskbd_input(hc->hc_wskbddev, type, key);
sys/dev/hpc/hpckbd.c
470
hpckbd_cngetc(void *arg, u_int *type, int *data)
sys/dev/hpc/hpckbd.c
477
while (hpckbd_getevent(hc, type, data) == 0) /* busy loop */
sys/dev/hpc/hpcout.c
98
hpcout_hook(void *arg, int type, long id, void *msg)
sys/dev/hpc/hpctpanel.c
62
if (id->type != WSMOUSE_ID_TYPE_UIDSTR)
sys/dev/hpc/hpf1275a_tty.c
371
u_int type;
sys/dev/hpc/hpf1275a_tty.c
382
type = WSCONS_EVENT_KEY_UP;
sys/dev/hpc/hpf1275a_tty.c
385
type = WSCONS_EVENT_KEY_DOWN;
sys/dev/hpc/hpf1275a_tty.c
400
n = pckbd_encode(type, xtscan, data);
sys/dev/hpc/hpf1275a_tty.c
404
wskbd_input(sc->sc_wskbd, type, xtscan);
sys/dev/hpc/pckbd_encode.c
51
pckbd_encode(u_int type, int datain, u_char *dataout)
sys/dev/hpc/pckbd_encode.c
57
updown = (type == WSCONS_EVENT_KEY_UP) ? 0x80 : 0;
sys/dev/hpc/pwctl.c
149
pwctl_hook(void *ctx, int type, long id, void *msg)
sys/dev/hpc/pwctl.c
162
pwctl_ghook(void *ctx, int type, long id, void *msg)
sys/dev/hpc/pwctl.c
177
pwctl_hardpower(void *ctx, int type, long id, void *msg)
sys/dev/hyperv/hvkbd.c
336
req.hdr.type = HVKBD_PROTO_REQUEST;
sys/dev/hyperv/hvkbd.c
388
hvkbd_decode(struct hvkbd_softc *sc, u_int *type, int *scancode)
sys/dev/hyperv/hvkbd.c
413
*type = (ks.info & KS_INFO_BREAK) ?
sys/dev/hyperv/hvkbd.c
476
u_int type;
sys/dev/hyperv/hvkbd.c
498
switch (hdr->type) {
sys/dev/hyperv/hvkbd.c
535
if (hvkbd_decode(sc, &type, &key))
sys/dev/hyperv/hvkbd.c
536
wskbd_input(sc->sc_wskbddev, type, key);
sys/dev/hyperv/hvkbd.c
542
"unhandled message: %d\n", hdr->type);
sys/dev/hyperv/hvkbd.c
547
"unknown message: %d\n", hdr->type);
sys/dev/hyperv/hvkbd.c
576
hvkbd_cngetc(void *v, u_int *type, int *data)
sys/dev/hyperv/hvkbd.c
580
while (!hvkbd_decode(sc, type, data))
sys/dev/hyperv/hvkbd.c
77
uint32_t type;
sys/dev/hyperv/if_hvn.c
1234
size_t datalen, uint32_t type)
sys/dev/hyperv/if_hvn.c
1246
pi->rm_type = type;
sys/dev/hyperv/if_hvn.c
4621
uint32_t off, len, type;
sys/dev/hyperv/if_hvn.c
4637
memcpy(&type, sc->sc_rx_ring + off, sizeof(type));
sys/dev/hyperv/if_hvn.c
4638
switch (type) {
sys/dev/hyperv/if_hvn.c
4661
"unhandled RNDIS message type %u\n", type);
sys/dev/hyperv/vmbus.c
1758
uint64_t rid, int type, uint32_t flags)
sys/dev/hyperv/vmbus.c
1770
cp.cp_hdr.cph_type = type;
sys/dev/hyperv/vmbus.c
2197
vmbus_chevq_enqueue(struct vmbus_softc *sc, int type, void *arg)
sys/dev/hyperv/vmbus.c
2207
vce->vce_type = type;
sys/dev/hyperv/vmbus.c
2275
vmbus_devq_enqueue(struct vmbus_softc *sc, int type, struct vmbus_channel *ch)
sys/dev/hyperv/vmbus.c
2285
vd->vd_type = type;
sys/dev/hyperv/vmbus.c
810
uint32_t type;
sys/dev/hyperv/vmbus.c
825
type = hdr->chm_type;
sys/dev/hyperv/vmbus.c
826
if (type >= VMBUS_CHANMSG_COUNT) {
sys/dev/hyperv/vmbus.c
828
"unhandled message type %u flags %#x\n", type,
sys/dev/hyperv/vmbus.c
831
if (vmbus_msg_dispatch[type].hmd_handler) {
sys/dev/hyperv/vmbus.c
832
vmbus_msg_dispatch[type].hmd_handler(sc, hdr);
sys/dev/hyperv/vmbus.c
835
"unhandled message type %u\n", type);
sys/dev/i2c/act8846.c
90
#define ACT_CTRL(name, base, type) \
sys/dev/i2c/act8846.c
93
.c_base = ACT_ ## base ## _BASE_REG, .c_type = (type) }
sys/dev/i2c/aht20.c
336
sc->sc_sensors[i].units = aht20_sensors[i].type;
sys/dev/i2c/aht20.c
65
.type = ENVSYS_SRELHUMIDITY,
sys/dev/i2c/aht20.c
69
.type = ENVSYS_STEMP,
sys/dev/i2c/aht20var.h
42
enum envsys_units type;
sys/dev/i2c/am2315.c
314
sc->sc_sensors[i].units = am2315_sensors[i].type;
sys/dev/i2c/am2315.c
67
.type = ENVSYS_SRELHUMIDITY,
sys/dev/i2c/am2315.c
71
.type = ENVSYS_STEMP,
sys/dev/i2c/am2315var.h
46
enum envsys_units type;
sys/dev/i2c/dbcool.c
1612
for (i=0; chip->table[i].type != DBC_EOF; i++) {
sys/dev/i2c/dbcool.c
1615
else if (chip->table[i].type != DBC_CTL) {
sys/dev/i2c/dbcool.c
1619
switch (chip->table[i].type) {
sys/dev/i2c/dbcool.c
1679
i, chip->table[i].type);
sys/dev/i2c/dbcool.c
1720
if (j >= DBCOOL_MAXSENSORS || chip->table[j].type != DBC_TEMP)
sys/dev/i2c/dbcool_var.h
91
enum dbc_sensor_type type;
sys/dev/i2c/es8316ac.c
178
enum escodec_mixer_type type;
sys/dev/i2c/es8316ac.c
188
.type = ESCODEC_MIXER_CLASS,
sys/dev/i2c/es8316ac.c
192
.type = ESCODEC_MIXER_CLASS,
sys/dev/i2c/es8316ac.c
203
.type = ESCODEC_MIXER_SWVOL,
sys/dev/i2c/es8316ac.c
214
.type = ESCODEC_MIXER_ATTENUATOR,
sys/dev/i2c/es8316ac.c
230
.type = ESCODEC_MIXER_MUTE,
sys/dev/i2c/es8316ac.c
247
.type = ESCODEC_MIXER_ATTENUATOR,
sys/dev/i2c/es8316ac.c
266
.type = ESCODEC_MIXER_AMPLIFIER,
sys/dev/i2c/es8316ac.c
286
.type = ESCODEC_MIXER_MUTE,
sys/dev/i2c/es8316ac.c
348
switch (mix->type) {
sys/dev/i2c/es8316ac.c
360
if (mix->type == ESCODEC_MIXER_ATTENUATOR)
sys/dev/i2c/es8316ac.c
401
switch (mix->type) {
sys/dev/i2c/es8316ac.c
414
if (mix->type == ESCODEC_MIXER_ATTENUATOR)
sys/dev/i2c/es8316ac.c
447
switch (mix->type) {
sys/dev/i2c/es8316ac.c
449
di->type = AUDIO_MIXER_CLASS;
sys/dev/i2c/es8316ac.c
453
di->type = AUDIO_MIXER_VALUE;
sys/dev/i2c/es8316ac.c
461
di->type = AUDIO_MIXER_VALUE;
sys/dev/i2c/es8316ac.c
469
di->type = AUDIO_MIXER_ENUM;
sys/dev/i2c/hytp14.c
112
.type = ENVSYS_SRELHUMIDITY,
sys/dev/i2c/hytp14.c
117
.type = ENVSYS_STEMP,
sys/dev/i2c/hytp14.c
182
sc->sc_sensors[i].units = hytp14_sensors[i].type;
sys/dev/i2c/hytp14var.h
78
enum envsys_units type;
sys/dev/i2c/ihidev.c
1037
ihidev_get_report(struct device *dev, int type, int id, void *data, int len)
sys/dev/i2c/ihidev.c
1043
if ((ctype = ihidev_report_type_conv(type)) < 0)
sys/dev/i2c/ihidev.c
1046
rreq.type = ctype;
sys/dev/i2c/ihidev.c
1060
ihidev_set_report(struct device *dev, int type, int id, void *data,
sys/dev/i2c/ihidev.c
1067
if ((ctype = ihidev_report_type_conv(type)) < 0)
sys/dev/i2c/ihidev.c
1070
rreq.type = ctype;
sys/dev/i2c/ihidev.c
397
rreq->type, rreq->len));
sys/dev/i2c/ihidev.c
413
cmd[2] = report_id | rreq->type << 4;
sys/dev/i2c/ihidev.c
487
rreq->type, rreq->len));
sys/dev/i2c/ihidev.c
506
cmd[2] = report_id | rreq->type << 4;
sys/dev/i2c/ihidev.c
508
if (rreq->type == I2C_HID_REPORT_TYPE_FEATURE) {
sys/dev/i2c/ihidev.h
170
u_int type;
sys/dev/i2c/ikbd.c
187
ikbd_cngetc(void *v, u_int *type, int *data)
sys/dev/i2c/ikbd.c
200
hidkbd_cngetc(kbd, type, data);
sys/dev/i2c/mcp23xxxgpio_i2c.c
68
.type = MCPGPIO_TYPE_23x08,
sys/dev/i2c/mcp23xxxgpio_i2c.c
73
.type = MCPGPIO_TYPE_23x17,
sys/dev/i2c/mcp23xxxgpio_i2c.c
78
.type = MCPGPIO_TYPE_23x18,
sys/dev/i2c/pcai2cmux.c
323
const struct pcaiicmux_type *type = NULL;
sys/dev/i2c/pcai2cmux.c
327
type = dce->data;
sys/dev/i2c/pcai2cmux.c
329
return type;
sys/dev/i2c/sgp40.c
705
sc->sc_sensors[i].units = sgp40_sensors[i].type;
sys/dev/i2c/sgp40.c
76
.type = ENVSYS_INTEGER,
sys/dev/i2c/sgp40var.h
53
enum envsys_units type;
sys/dev/i2c/sht3x.c
105
.type = ENVSYS_SRELHUMIDITY,
sys/dev/i2c/sht3x.c
109
.type = ENVSYS_STEMP,
sys/dev/i2c/sht3x.c
1192
sc->sc_sensors[i].units = sht3x_sensors[i].type;
sys/dev/i2c/sht3xvar.h
73
enum envsys_units type;
sys/dev/i2c/sht4x.c
609
sc->sc_sensors[i].units = sht4x_sensors[i].type;
sys/dev/i2c/sht4x.c
69
.type = ENVSYS_SRELHUMIDITY,
sys/dev/i2c/sht4x.c
73
.type = ENVSYS_STEMP,
sys/dev/i2c/sht4xvar.h
49
enum envsys_units type;
sys/dev/i2c/si70xx.c
72
.type = ENVSYS_SRELHUMIDITY,
sys/dev/i2c/si70xx.c
758
sc->sc_sensors[i].units = si70xx_sensors[i].type;
sys/dev/i2c/si70xx.c
76
.type = ENVSYS_STEMP,
sys/dev/i2c/si70xxvar.h
52
enum envsys_units type;
sys/dev/i2c/smscmon.c
105
.type = ENVSYS_SVOLTS_DC,
sys/dev/i2c/smscmon.c
113
.type = ENVSYS_SVOLTS_DC,
sys/dev/i2c/smscmon.c
121
.type = ENVSYS_SVOLTS_DC,
sys/dev/i2c/smscmon.c
129
.type = ENVSYS_STEMP,
sys/dev/i2c/smscmon.c
137
.type = ENVSYS_STEMP,
sys/dev/i2c/smscmon.c
145
.type = ENVSYS_STEMP,
sys/dev/i2c/smscmon.c
287
sc->sensors[i].units = sens[i].type;
sys/dev/i2c/smscmon.c
65
.type = ENVSYS_SVOLTS_DC,
sys/dev/i2c/smscmon.c
73
.type = ENVSYS_SVOLTS_DC,
sys/dev/i2c/smscmon.c
81
.type = ENVSYS_SVOLTS_DC,
sys/dev/i2c/smscmon.c
89
.type = ENVSYS_SVOLTS_DC,
sys/dev/i2c/smscmon.c
97
.type = ENVSYS_SVOLTS_DC,
sys/dev/i2c/smscmonvar.h
61
enum envsys_units type;
sys/dev/i2c/tcakp.c
179
u_int type = pressed ? WSCONS_EVENT_KEY_DOWN :
sys/dev/i2c/tcakp.c
184
wskbd_input(sc->sc_wskbddev, type, key);
sys/dev/i2c/tcakp.c
313
tcakp_cngetc(void *v, u_int *type, int *data)
sys/dev/i2c/tcakp.c
328
*type = pressed ? WSCONS_EVENT_KEY_DOWN :
sys/dev/i2c/w83795g.c
231
sc->sc_sensors[i].units = sensors[i].type;
sys/dev/i2c/w83795g.c
47
enum envsys_units type;
sys/dev/i2c/xc3028.c
117
if (fw->type == XC3028_FW_BASE)
sys/dev/i2c/xc3028.c
132
if (fw->type == (XC3028_FW_D2633|XC3028_FW_DTV6|XC3028_FW_ATSC))
sys/dev/i2c/xc3028.c
147
if (fw->type ==
sys/dev/i2c/xc3028.c
269
xc3028_dump_fw(struct xc3028 *xc, struct xc3028_fw *xcfw, const char *type)
sys/dev/i2c/xc3028.c
273
device_printf(xc->parent, "%s: %s:", xc3028_name(xc), type);
sys/dev/i2c/xc3028.c
279
if (xcfw->type & (1 << i))
sys/dev/i2c/xc3028.c
282
if (xcfw->type & (1 << 30))
sys/dev/i2c/xc3028.c
323
xcfw->type = le32dec(p);
sys/dev/i2c/xc3028.c
324
p += sizeof(xcfw->type);
sys/dev/i2c/xc3028.c
329
if (xcfw->type & XC3028_FW_HAS_IF) {
sys/dev/i2c/xc3028.c
487
xc3028_reset_cb reset, void *reset_priv, enum xc3028_type type)
sys/dev/i2c/xc3028.c
497
xc->type = type;
sys/dev/i2c/xc3028.c
83
if (xc->type == XC3028L)
sys/dev/i2c/xc3028.c
92
if (xc->type == XC3028L)
sys/dev/i2c/xc3028var.h
43
uint32_t type;
sys/dev/i2c/xc3028var.h
58
enum xc3028_type type;
sys/dev/i2c/zl10353.c
213
fi->type = FE_OFDM;
sys/dev/i2o/i2o.h
816
u_int8_t type;
sys/dev/i2o/ld_iop.c
200
switch (param.p.bdi.type) {
sys/dev/ic/aacreg.h
1289
AAC_AifJobType type; /* Operation that is being
sys/dev/ic/aacreg.h
1393
AAC_AifEventNotifyType type;
sys/dev/ic/aacreg.h
294
u_int8_t type;
sys/dev/ic/ac97.c
1008
if (as->type == AC97_CODEC_TYPE_AUDIO) {
sys/dev/ic/ac97.c
1033
if (as->type == AC97_CODEC_TYPE_MODEM)
sys/dev/ic/ac97.c
1111
if (as->type == AC97_CODEC_TYPE_MODEM) {
sys/dev/ic/ac97.c
1137
switch (si->type) {
sys/dev/ic/ac97.c
1149
if (as->type == AC97_CODEC_TYPE_MODEM)
sys/dev/ic/ac97.c
1156
si->type = AUDIO_MIXER_ENUM;
sys/dev/ic/ac97.c
1187
if (si2->type == AUDIO_MIXER_CLASS &&
sys/dev/ic/ac97.c
1233
ac97_attach_type(struct ac97_host_if *host_if, device_t sc_dev, int type, kmutex_t *lk)
sys/dev/ic/ac97.c
1254
as->type = type;
sys/dev/ic/ac97.c
1281
if (as->type == AC97_CODEC_TYPE_AUDIO) {
sys/dev/ic/ac97.c
1306
} else if (as->type == AC97_CODEC_TYPE_MODEM) {
sys/dev/ic/ac97.c
1311
if (as->type == AC97_CODEC_TYPE_AUDIO)
sys/dev/ic/ac97.c
1358
if (as->type == AC97_CODEC_TYPE_AUDIO) {
sys/dev/ic/ac97.c
1434
} else if (as->type == AC97_CODEC_TYPE_MODEM) {
sys/dev/ic/ac97.c
1450
as->type = AC97_CODEC_TYPE_MODEM;
sys/dev/ic/ac97.c
1564
as->source_info = (as->type == AC97_CODEC_TYPE_MODEM ?
sys/dev/ic/ac97.c
1587
ctl.type = AUDIO_MIXER_ENUM;
sys/dev/ic/ac97.c
1594
ctl.type = AUDIO_MIXER_ENUM;
sys/dev/ic/ac97.c
1601
ctl.type = AUDIO_MIXER_VALUE;
sys/dev/ic/ac97.c
1623
if (as->type == AC97_CODEC_TYPE_AUDIO)
sys/dev/ic/ac97.c
1682
dip->type = si->type;
sys/dev/ic/ac97.c
1703
if (dip->type == AUDIO_MIXER_VALUE)
sys/dev/ic/ac97.c
1730
if (cp->type == AUDIO_MIXER_CLASS || cp->type != si->type)
sys/dev/ic/ac97.c
1745
switch (cp->type) {
sys/dev/ic/ac97.c
1864
if (cp->type != si->type)
sys/dev/ic/ac97.c
1873
switch (cp->type) {
sys/dev/ic/ac97.c
2061
if ((as->type == AC97_CODEC_TYPE_AUDIO &&
sys/dev/ic/ac97.c
2063
(as->type == AC97_CODEC_TYPE_MODEM &&
sys/dev/ic/ac97.c
2075
switch (si->type) {
sys/dev/ic/ac97.c
2084
printf("%s: unknown type: %d\n", __func__, si->type);
sys/dev/ic/ac97.c
2145
if (as->source_info[i].type != AUDIO_MIXER_VALUE)
sys/dev/ic/ac97.c
271
int type;
sys/dev/ic/ac97.c
490
#define SOURCE_INFO_SIZE(as) ((as)->type == AC97_CODEC_TYPE_MODEM ? \
sys/dev/ic/ac97.c
524
int type;
sys/dev/ic/ad1848.c
668
if (cp->type != AUDIO_MIXER_VALUE)
sys/dev/ic/ad1848.c
686
if (cp->type != AUDIO_MIXER_ENUM) break;
sys/dev/ic/ad1848.c
693
if (cp->type != AUDIO_MIXER_VALUE) break;
sys/dev/ic/ad1848.c
702
if (cp->type != AUDIO_MIXER_VALUE) break;
sys/dev/ic/ad1848.c
711
if (cp->type != AUDIO_MIXER_ENUM) break;
sys/dev/ic/ad1848.c
741
if (cp->type != AUDIO_MIXER_VALUE)
sys/dev/ic/ad1848.c
757
if (cp->type != AUDIO_MIXER_ENUM) break;
sys/dev/ic/ad1848.c
765
if (cp->type != AUDIO_MIXER_VALUE) break;
sys/dev/ic/ad1848.c
772
if (cp->type != AUDIO_MIXER_VALUE) break;
sys/dev/ic/ad1848.c
779
if (cp->type != AUDIO_MIXER_ENUM) break;
sys/dev/ic/ahcisata_core.c
2164
sa.sa_inqbuf.type = ATAPI_CFG_TYPE(id->atap_config);
sys/dev/ic/aic79xx.c
169
static int ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type,
sys/dev/ic/aic79xx.c
2958
u_int type, int paused)
sys/dev/ic/aic79xx.c
2968
active = (type & AHD_TRANS_ACTIVE) == AHD_TRANS_ACTIVE;
sys/dev/ic/aic79xx.c
2979
if ((type & AHD_TRANS_USER) != 0) {
sys/dev/ic/aic79xx.c
2985
if ((type & AHD_TRANS_GOAL) != 0) {
sys/dev/ic/aic79xx.c
2995
if ((type & AHD_TRANS_CUR) != 0
sys/dev/ic/aic79xx.c
3059
if ((type & AHD_TRANS_CUR) != 0) {
sys/dev/ic/aic79xx.c
3104
u_int width, u_int type, int paused)
sys/dev/ic/aic79xx.c
3112
active = (type & AHD_TRANS_ACTIVE) == AHD_TRANS_ACTIVE;
sys/dev/ic/aic79xx.c
3117
if ((type & AHD_TRANS_USER) != 0)
sys/dev/ic/aic79xx.c
3120
if ((type & AHD_TRANS_GOAL) != 0)
sys/dev/ic/aic79xx.c
3124
if ((type & AHD_TRANS_CUR) != 0 && oldwidth != width) {
sys/dev/ic/aic79xx.c
3139
if ((type & AHD_TRANS_CUR) != 0) {
sys/dev/ic/aic79xx.c
4111
ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type, u_int msgval, int full)
sys/dev/ic/aic79xx.c
4125
&& type == AHDMSG_EXT) {
sys/dev/ic/aic79xx.c
4141
if (type == AHDMSG_1B
sys/dev/ic/aic79xx.c
5965
const char *type;
sys/dev/ic/aic79xx.c
5974
type = "Wide ";
sys/dev/ic/aic79xx.c
5976
type = "Single ";
sys/dev/ic/aic79xx.c
5979
speed, type, ahd->channel, ahd->our_id);
sys/dev/ic/aic79xx_osm.h
364
void ahd_set_transaction_tag(struct scb *scb, int enabled, u_int type)
sys/dev/ic/aic79xx_osm.h
366
scb->xs->xs_tag_type = type;
sys/dev/ic/aic79xx_osm.h
94
#define offsetof(type, member) ((size_t)(&((type *)0)->member))
sys/dev/ic/aic7xxx.c
1894
u_int offset, u_int ppr_options, u_int type, int paused)
sys/dev/ic/aic7xxx.c
1904
active = (type & AHC_TRANS_ACTIVE) == AHC_TRANS_ACTIVE;
sys/dev/ic/aic7xxx.c
1915
if ((type & AHC_TRANS_USER) != 0) {
sys/dev/ic/aic7xxx.c
1921
if ((type & AHC_TRANS_GOAL) != 0) {
sys/dev/ic/aic7xxx.c
1931
if ((type & AHC_TRANS_CUR) != 0
sys/dev/ic/aic7xxx.c
194
static int ahc_sent_msg(struct ahc_softc *ahc, ahc_msgtype type,
sys/dev/ic/aic7xxx.c
2020
u_int width, u_int type, int paused)
sys/dev/ic/aic7xxx.c
2028
active = (type & AHC_TRANS_ACTIVE) == AHC_TRANS_ACTIVE;
sys/dev/ic/aic7xxx.c
2033
if ((type & AHC_TRANS_USER) != 0)
sys/dev/ic/aic7xxx.c
2036
if ((type & AHC_TRANS_GOAL) != 0)
sys/dev/ic/aic7xxx.c
2040
if ((type & AHC_TRANS_CUR) != 0 && oldwidth != width) {
sys/dev/ic/aic7xxx.c
2941
ahc_sent_msg(struct ahc_softc *ahc, ahc_msgtype type, u_int msgval, int full)
sys/dev/ic/aic7xxx.c
2955
&& type == AHCMSG_EXT) {
sys/dev/ic/aic7xxx.c
2971
if (type == AHCMSG_1B
sys/dev/ic/aic7xxx.c
4397
const char *type;
sys/dev/ic/aic7xxx.c
4408
type = "Wide";
sys/dev/ic/aic7xxx.c
4410
type = "Single";
sys/dev/ic/aic7xxx.c
4413
speed, type, ahc->channel, ahc->our_id);
sys/dev/ic/aic7xxx_osm.h
358
void ahc_set_transaction_tag(struct scb *scb, int enabled, u_int type)
sys/dev/ic/aic7xxx_osm.h
360
scb->xs->xs_tag_type = type;
sys/dev/ic/aic7xxx_osm.h
94
#define offsetof(type, member) ((size_t)(&((type *)0)->member))
sys/dev/ic/am7930.c
513
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/ic/am7930.c
515
} else if (cp->type != AUDIO_MIXER_VALUE ||
sys/dev/ic/am7930.c
561
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/ic/am7930.c
563
} else if (cp->type != AUDIO_MIXER_VALUE ||
sys/dev/ic/am7930.c
607
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/am7930.c
616
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/am7930.c
624
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/am7930.c
632
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/am7930.c
640
dip->type = AUDIO_MIXER_ENUM;
sys/dev/ic/am7930.c
649
dip->type = AUDIO_MIXER_ENUM;
sys/dev/ic/am7930.c
660
dip->type = AUDIO_MIXER_ENUM;
sys/dev/ic/am7930.c
672
dip->type = AUDIO_MIXER_CLASS;
sys/dev/ic/am7930.c
678
dip->type = AUDIO_MIXER_CLASS;
sys/dev/ic/am7930.c
684
dip->type = AUDIO_MIXER_CLASS;
sys/dev/ic/am7930.c
690
dip->type = AUDIO_MIXER_CLASS;
sys/dev/ic/an.c
1310
an_write_wepkey(struct an_softc *sc, int type, struct an_wepkey *keys, int kid)
sys/dev/ic/an.c
1326
if ((error = an_write_rid(sc, type, akey, sizeof(*akey))) != 0)
sys/dev/ic/an.c
1334
error = an_write_rid(sc, type, akey, sizeof(*akey));
sys/dev/ic/anx_dp.c
859
di->type = AUDIO_MIXER_CLASS;
sys/dev/ic/anx_dp.c
866
di->type = AUDIO_MIXER_CLASS;
sys/dev/ic/anx_dp.c
876
di->type = AUDIO_MIXER_VALUE;
sys/dev/ic/anx_dp.c
886
di->type = AUDIO_MIXER_VALUE;
sys/dev/ic/apple_smc.c
368
const char type[4 + 1], struct apple_smc_key **keyp)
sys/dev/ic/apple_smc.c
375
if ((type != NULL) && (strlen(type) != 4))
sys/dev/ic/apple_smc.c
402
if ((type != NULL) && (0 != memcmp(key->ask_desc.asd_type, type, 4))) {
sys/dev/ic/apple_smc.c
417
const char type[4 + 1], struct apple_smc_key **keyp)
sys/dev/ic/apple_smc.c
428
if ((type != NULL) && (strlen(type) != 4))
sys/dev/ic/apple_smc.c
449
if ((type != NULL) && (0 != memcmp(key->ask_desc.asd_type, type, 4))) {
sys/dev/ic/arcofi.c
769
if (mc->type != AUDIO_MIXER_ENUM)
sys/dev/ic/arcofi.c
852
if (mc->type != AUDIO_MIXER_ENUM)
sys/dev/ic/arcofi.c
903
md->type = AUDIO_MIXER_VALUE;
sys/dev/ic/arcofi.c
911
md->type = AUDIO_MIXER_VALUE;
sys/dev/ic/arcofi.c
919
md->type = AUDIO_MIXER_VALUE;
sys/dev/ic/arcofi.c
933
md->type = AUDIO_MIXER_ENUM;
sys/dev/ic/arcofi.c
939
md->type = AUDIO_MIXER_ENUM;
sys/dev/ic/arcofi.c
945
md->type = AUDIO_MIXER_ENUM;
sys/dev/ic/arcofi.c
963
md->type = AUDIO_MIXER_CLASS;
sys/dev/ic/arcofi.c
971
md->type = AUDIO_MIXER_CLASS;
sys/dev/ic/arn5008.c
1318
uint8_t txpower, type, encrtype, ridx[4];
sys/dev/ic/arn5008.c
1332
type = AR_FRAME_TYPE_PROBE_RESP;
sys/dev/ic/arn5008.c
1335
type = AR_FRAME_TYPE_ATIM;
sys/dev/ic/arn5008.c
1337
type = AR_FRAME_TYPE_NORMAL;
sys/dev/ic/arn5008.c
1342
type = AR_FRAME_TYPE_PSPOLL;
sys/dev/ic/arn5008.c
1345
type = AR_FRAME_TYPE_NORMAL;
sys/dev/ic/arn5008.c
1371
else if (type == AR_FRAME_TYPE_PSPOLL) {
sys/dev/ic/arn5008.c
1483
ds->ds_ctl1 = SM(AR_TXC1_FRAME_TYPE, type);
sys/dev/ic/arn5008.c
1568
if (type != AR_FRAME_TYPE_PSPOLL)
sys/dev/ic/arn5008.c
422
ar5008_gpio_config_output(struct athn_softc *sc, int pin, int type)
sys/dev/ic/arn5008.c
440
reg |= (type & 0x1f) << (off * 5);
sys/dev/ic/arn9003.c
1471
uint8_t txpower, type, encrtype, ridx[4];
sys/dev/ic/arn9003.c
1485
type = AR_FRAME_TYPE_PROBE_RESP;
sys/dev/ic/arn9003.c
1488
type = AR_FRAME_TYPE_ATIM;
sys/dev/ic/arn9003.c
1490
type = AR_FRAME_TYPE_NORMAL;
sys/dev/ic/arn9003.c
1495
type = AR_FRAME_TYPE_PSPOLL;
sys/dev/ic/arn9003.c
1498
type = AR_FRAME_TYPE_NORMAL;
sys/dev/ic/arn9003.c
1524
else if (type == AR_FRAME_TYPE_PSPOLL) {
sys/dev/ic/arn9003.c
1640
ds->ds_ctl12 = SM(AR_TXC12_FRAME_TYPE, type);
sys/dev/ic/arn9003.c
1733
if (type != AR_FRAME_TYPE_PSPOLL)
sys/dev/ic/arn9003.c
560
ar9003_gpio_config_output(struct athn_softc *sc, int pin, int type)
sys/dev/ic/arn9003.c
570
reg |= (type & 0x1f) << (off * 5);
sys/dev/ic/arn9280.c
108
uint8_t type;
sys/dev/ic/arn9280.c
136
type = eep->baseEepHeader.rxGainType;
sys/dev/ic/arn9280.c
137
DPRINTFN(DBG_INIT, sc, "Rx gain type=0x%x\n", type);
sys/dev/ic/arn9280.c
138
if (type == AR5416_EEP_RXGAIN_23DB_BACKOFF)
sys/dev/ic/arn9280.c
140
else if (type == AR5416_EEP_RXGAIN_13DB_BACKOFF)
sys/dev/ic/arn9280.c
151
type = eep->baseEepHeader.txGainType;
sys/dev/ic/arn9280.c
152
DPRINTFN(DBG_INIT, sc, "Tx gain type=0x%x\n", type);
sys/dev/ic/arn9280.c
153
if (type == AR_EEP_TXGAIN_HIGH_POWER)
sys/dev/ic/arn9285.c
127
uint8_t type;
sys/dev/ic/arn9285.c
130
type = eep->baseEepHeader.txGainType;
sys/dev/ic/arn9285.c
131
DPRINTFN(DBG_TX, sc, "Tx gain type=0x%x\n", type);
sys/dev/ic/arn9285.c
134
if (type == AR_EEP_TXGAIN_HIGH_POWER)
sys/dev/ic/arn9285.c
142
if (type == AR_EEP_TXGAIN_HIGH_POWER)
sys/dev/ic/arn9285.c
148
if (type == AR_EEP_TXGAIN_HIGH_POWER)
sys/dev/ic/arn9380.c
135
uint8_t type;
sys/dev/ic/arn9380.c
179
type = MS(eep->baseEepHeader.txrxgain, AR_EEP_RX_GAIN);
sys/dev/ic/arn9380.c
181
if (type == AR_EEP_RX_GAIN_WO_XLNA)
sys/dev/ic/arn9380.c
190
type = MS(eep->baseEepHeader.txrxgain, AR_EEP_TX_GAIN);
sys/dev/ic/arn9380.c
192
if (type == AR_EEP_TX_GAIN_HIGH_OB_DB)
sys/dev/ic/arn9380.c
194
else if (type == AR_EEP_TX_GAIN_LOW_OB_DB)
sys/dev/ic/arn9380.c
196
else if (type == AR_EEP_TX_GAIN_HIGH_POWER)
sys/dev/ic/ath.c
3048
int len, ngood, type;
sys/dev/ic/ath.c
3269
type = ieee80211_input(ic, m, ni,
sys/dev/ic/ath.c
3292
if (type == IEEE80211_FC0_TYPE_DATA) {
sys/dev/ic/athn.c
1059
uint32_t type, lo, hi;
sys/dev/ic/athn.c
1063
type = AR_KEYTABLE_TYPE_40;
sys/dev/ic/athn.c
1066
type = AR_KEYTABLE_TYPE_104;
sys/dev/ic/athn.c
1069
type = AR_KEYTABLE_TYPE_TKIP;
sys/dev/ic/athn.c
1072
type = AR_KEYTABLE_TYPE_CCM;
sys/dev/ic/athn.c
1087
if (type == AR_KEYTABLE_TYPE_TKIP) {
sys/dev/ic/athn.c
1116
AR_WRITE(sc, AR_KEYTABLE_TYPE(entry), type);
sys/dev/ic/awi.c
1960
int type, int arg)
sys/dev/ic/awi.c
1965
if (type == IEEE80211_FC0_SUBTYPE_PROBE_REQ)
sys/dev/ic/awi.c
1967
return (*sc->sc_send_mgmt)(ic, ni, type, arg);
sys/dev/ic/bmx280.c
525
bmx280_sensors[i].type == ENVSYS_SRELHUMIDITY) {
sys/dev/ic/bmx280.c
532
sc->sc_sensors[i].units = bmx280_sensors[i].type;
sys/dev/ic/bmx280.c
79
.type = ENVSYS_STEMP,
sys/dev/ic/bmx280.c
83
.type = ENVSYS_PRESSURE,
sys/dev/ic/bmx280.c
87
.type = ENVSYS_SRELHUMIDITY,
sys/dev/ic/bmx280var.h
85
enum envsys_units type;
sys/dev/ic/bt8xx.h
389
METEOR_PIXTYPE type; /* What's the board gonna feed us */
sys/dev/ic/bwfm.c
1268
uint8_t type = 0;
sys/dev/ic/bwfm.c
1275
while (type != BWFM_DMP_DESC_EOT) {
sys/dev/ic/bwfm.c
1277
type = val & BWFM_DMP_DESC_MASK;
sys/dev/ic/bwfm.c
1280
if (type != BWFM_DMP_DESC_COMPONENT)
sys/dev/ic/bwfm.c
1287
type = val & BWFM_DMP_DESC_MASK;
sys/dev/ic/bwfm.c
1290
if (type != BWFM_DMP_DESC_COMPONENT) {
sys/dev/ic/bwfm.c
1321
uint8_t type = 0, mpnum __unused = 0;
sys/dev/ic/bwfm.c
1329
type = val & BWFM_DMP_DESC_MASK;
sys/dev/ic/bwfm.c
1330
if (type == BWFM_DMP_DESC_MASTER_PORT) {
sys/dev/ic/bwfm.c
1335
} else if ((type & ~BWFM_DMP_DESC_ADDRSIZE_GT32) ==
sys/dev/ic/bwfm.c
1344
type = val & BWFM_DMP_DESC_MASK;
sys/dev/ic/bwfm.c
1345
if (type == BWFM_DMP_DESC_COMPONENT)
sys/dev/ic/bwfm.c
1347
if (type == BWFM_DMP_DESC_EOT)
sys/dev/ic/bwfm.c
1350
} while ((type & ~BWFM_DMP_DESC_ADDRSIZE_GT32) !=
sys/dev/ic/bwfm.c
1353
if (type & BWFM_DMP_DESC_ADDRSIZE_GT32)
sys/dev/ic/bwfm.c
1360
type = val & BWFM_DMP_DESC_MASK;
sys/dev/ic/bwfm.c
1361
if (type & BWFM_DMP_DESC_ADDRSIZE_GT32)
sys/dev/ic/bwfm.c
1842
data->type = htole16(BWFM_DLOAD_TYPE_CLM);
sys/dev/ic/bwfm.c
565
join_pref[0].type = BWFM_JOIN_PREF_RSSI_DELTA;
sys/dev/ic/bwfm.c
569
join_pref[1].type = BWFM_JOIN_PREF_RSSI;
sys/dev/ic/bwfm.c
798
int type, int arg)
sys/dev/ic/bwfmreg.h
599
uint8_t type;
sys/dev/ic/bwfmreg.h
808
uint16_t type;
sys/dev/ic/bwi.c
2866
bwi_mac_calibrate_txpower(struct bwi_mac *mac, enum bwi_txpwrcb_type type)
sys/dev/ic/bwi.c
2898
if (type == BWI_TXPWR_FORCE) {
sys/dev/ic/bwi.c
2912
if (type == BWI_TXPWR_FORCE) {
sys/dev/ic/bwi.c
2955
if (type == BWI_TXPWR_INIT) {
sys/dev/ic/bwi.c
3994
uint16_t type, manu;
sys/dev/ic/bwi.c
4005
type = BWI_RF_T_BCM2050;
sys/dev/ic/bwi.c
4023
type = __SHIFTOUT(val, BWI_RFINFO_TYPE_MASK);
sys/dev/ic/bwi.c
4027
manu, type, rev);
sys/dev/ic/bwi.c
4037
type != BWI_RF_T_BCM2060 ||
sys/dev/ic/bwi.c
4050
if (type == BWI_RF_T_BCM2050) {
sys/dev/ic/bwi.c
4053
} else if (type == BWI_RF_T_BCM2053) {
sys/dev/ic/bwi.c
4072
if (type != BWI_RF_T_BCM2050) {
sys/dev/ic/bwi.c
4094
rf->rf_type = type;
sys/dev/ic/bwi.c
6613
bwi_regwin_info(struct bwi_softc *sc, uint16_t *type, uint8_t *rev)
sys/dev/ic/bwi.c
6618
*type = BWI_ID_HI_REGWIN_TYPE(val);
sys/dev/ic/bwi.c
6622
" vendor 0x%04x\n", *type, *rev,
sys/dev/ic/bwi.c
8866
int buflen, wh_ofs, hdr_extra, rssi, type, rate;
sys/dev/ic/bwi.c
8937
type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
sys/dev/ic/bwi.c
8944
if (type == IEEE80211_FC0_TYPE_DATA) {
sys/dev/ic/bwi.c
8973
int buflen, hdr_extra, rssi, type, rate;
sys/dev/ic/bwi.c
9052
type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
sys/dev/ic/bwi.c
9059
if (type == IEEE80211_FC0_TYPE_DATA) {
sys/dev/ic/bwivar.h
331
#define BWI_CREATE_REGWIN(rw, id, type, rev) \
sys/dev/ic/bwivar.h
334
(rw)->rw_type = (type); \
sys/dev/ic/ciss.c
1542
bv->bv_level = ciss_level[ldid->type];
sys/dev/ic/cissreg.h
203
u_int8_t type;
sys/dev/ic/cissreg.h
301
u_int8_t type;
sys/dev/ic/com.c
2779
cominit(struct com_regs *regsp, int rate, int frequency, int type,
sys/dev/ic/com.c
2787
if (type == COM_TYPE_OMAP) {
sys/dev/ic/com.c
2792
rate = comspeed(rate, frequency, type);
sys/dev/ic/com.c
2794
if (type == COM_TYPE_AU1x00) {
sys/dev/ic/com.c
2798
if ((type != COM_TYPE_16550_NOERS) &&
sys/dev/ic/com.c
2799
(type != COM_TYPE_INGENIC)) {
sys/dev/ic/com.c
2811
if (type == COM_TYPE_INGENIC) {
sys/dev/ic/com.c
2821
if (type == COM_TYPE_OMAP) {
sys/dev/ic/com.c
2850
if (type == COM_TYPE_PXA2x0)
sys/dev/ic/com.c
2859
comcnattach1(struct com_regs *regsp, int rate, int frequency, int type,
sys/dev/ic/com.c
2866
res = cominit(&comcons_info.regs, rate, frequency, type, cflag);
sys/dev/ic/com.c
2875
comcons_info.type = type;
sys/dev/ic/com.c
2884
int type, tcflag_t cflag)
sys/dev/ic/com.c
2899
return comcnattach1(&regs, rate, frequency, type, cflag);
sys/dev/ic/com.c
2906
comcons_info.frequency, comcons_info.type, comcons_info.cflag);
sys/dev/ic/com.c
2935
com_kgdb_attach1(struct com_regs *regsp, int rate, int frequency, int type,
sys/dev/ic/com.c
2950
res = cominit(&comkgdbregs, rate, frequency, type, cflag);
sys/dev/ic/com.c
2970
int frequency, int type, tcflag_t cflag)
sys/dev/ic/com.c
2976
return com_kgdb_attach1(&regs, rate, frequency, type, cflag);
sys/dev/ic/com.c
454
comspeed(long speed, long frequency, int type)
sys/dev/ic/com.c
461
if ((type == COM_TYPE_OMAP) && (speed > 230400)) {
sys/dev/ic/comvar.h
141
int type;
sys/dev/ic/cs4231.c
436
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/cs4231.c
446
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/cs4231.c
456
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/cs4231.c
466
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/cs4231.c
477
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/cs4231.c
487
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/cs4231.c
498
dip->type = AUDIO_MIXER_ENUM;
sys/dev/ic/cs4231.c
512
dip->type = AUDIO_MIXER_ENUM;
sys/dev/ic/cs4231.c
519
dip->type = AUDIO_MIXER_ENUM;
sys/dev/ic/cs4231.c
526
dip->type = AUDIO_MIXER_ENUM;
sys/dev/ic/cs4231.c
533
dip->type = AUDIO_MIXER_ENUM;
sys/dev/ic/cs4231.c
540
dip->type = AUDIO_MIXER_ENUM;
sys/dev/ic/cs4231.c
553
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/cs4231.c
564
dip->type = AUDIO_MIXER_ENUM;
sys/dev/ic/cs4231.c
580
dip->type = AUDIO_MIXER_CLASS;
sys/dev/ic/cs4231.c
587
dip->type = AUDIO_MIXER_CLASS;
sys/dev/ic/cs4231.c
594
dip->type = AUDIO_MIXER_CLASS;
sys/dev/ic/dw_hdmi.c
797
di->type = AUDIO_MIXER_CLASS;
sys/dev/ic/dw_hdmi.c
804
di->type = AUDIO_MIXER_CLASS;
sys/dev/ic/dw_hdmi.c
814
di->type = AUDIO_MIXER_VALUE;
sys/dev/ic/dw_hdmi.c
824
di->type = AUDIO_MIXER_VALUE;
sys/dev/ic/fmv.c
102
return type;
sys/dev/ic/fmv.c
111
int type;
sys/dev/ic/fmv.c
118
type = fmv_detect(iot, ioh, myea);
sys/dev/ic/fmv.c
119
switch (type) {
sys/dev/ic/fmv.c
64
int model, id, type;
sys/dev/ic/fmv.c
82
type = FE_TYPE_FMV181;
sys/dev/ic/fmv.c
84
type = FE_TYPE_FMV181A;
sys/dev/ic/fmv.c
87
type = FE_TYPE_FMV182;
sys/dev/ic/fmv.c
89
type = FE_TYPE_FMV182A;
sys/dev/ic/fmv.c
91
type = FE_TYPE_FMV184;
sys/dev/ic/fmv.c
94
type = FE_TYPE_FMV183;
sys/dev/ic/fmv.c
97
type = 0;
sys/dev/ic/hd44780_subr.c
239
hlcd_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/dev/ic/hd64570.c
1626
switch (ntohl(cisco->type)) {
sys/dev/ic/hd64570.c
1676
ntohl(cisco->type)));
sys/dev/ic/hd64570reg.h
53
u_int32_t type;
sys/dev/ic/i82365.c
1431
pcic_chip_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/dev/ic/i82365.c
1438
if (type == PCMCIA_IFTYPE_IO) {
sys/dev/ic/i82365.c
1447
((type == PCMCIA_IFTYPE_IO) ? "io" : "mem"), intr));
sys/dev/ic/icp_ioctl.c
171
ctrt->type = 0xfd;
sys/dev/ic/icp_ioctl.h
79
u_int16_t type;
sys/dev/ic/interwave.c
1039
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1053
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1067
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1081
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1095
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1109
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1124
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1139
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1153
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1189
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1197
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1205
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1213
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1221
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1229
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1238
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1247
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1255
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/ic/interwave.c
1278
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/interwave.c
1287
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/interwave.c
1296
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/interwave.c
1305
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/interwave.c
1314
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/interwave.c
1323
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/interwave.c
1332
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/interwave.c
1342
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/interwave.c
1352
dip->type = AUDIO_MIXER_VALUE;
sys/dev/ic/interwave.c
1363
dip->type = AUDIO_MIXER_ENUM;
sys/dev/ic/interwave.c
1378
dip->type = AUDIO_MIXER_CLASS;
sys/dev/ic/interwave.c
1384
dip->type = AUDIO_MIXER_CLASS;
sys/dev/ic/interwave.c
1390
dip->type = AUDIO_MIXER_CLASS;
sys/dev/ic/isp.c
5960
isp_handle_other_response(ispsoftc_t *isp, int type, isphdr_t *hp, uint32_t *optrp)
sys/dev/ic/isp.c
5962
switch (type) {
sys/dev/ic/isp.c
6001
if (type != isp_get_response_type(isp, hp)) {
sys/dev/ic/isp_library.c
188
switch (type) {
sys/dev/ic/isp_library.c
1924
ISP_IOZGET_8(isp, &src->type, dst->type);
sys/dev/ic/isp_library.c
2018
uint8_t type, nqe;
sys/dev/ic/isp_library.c
2030
type = ((isphdr_t *)fqe)->rqs_entry_type;
sys/dev/ic/isp_library.c
2041
switch (type) {
sys/dev/ic/isp_library.c
2084
if (type == RQSTYPE_CTIO2) {
sys/dev/ic/isp_library.c
2215
if (type == RQSTYPE_CTIO7) {
sys/dev/ic/isp_library.c
2226
switch (type) {
sys/dev/ic/isp_library.c
64
uint8_t type, nqe;
sys/dev/ic/isp_library.c
76
type = ((isphdr_t *)fqe)->rqs_entry_type;
sys/dev/ic/isp_library.c
773
uint8_t type;
sys/dev/ic/isp_library.c
775
ISP_IOXGET_8(isp, &hp->rqs_entry_count, type);
sys/dev/ic/isp_library.c
777
ISP_IOXGET_8(isp, &hp->rqs_entry_type, type);
sys/dev/ic/isp_library.c
779
return ((int)type);
sys/dev/ic/isp_library.c
83
if (type == RQSTYPE_T2RQS || type == RQSTYPE_T3RQS) {
sys/dev/ic/isp_library.c
94
switch (type) {
sys/dev/ic/isp_netbsd.h
141
#define MEMORYBARRIER(isp, type, offset, size, c) \
sys/dev/ic/isp_netbsd.h
142
switch (type) { \
sys/dev/ic/isp_stds.h
54
uint8_t type;
sys/dev/ic/isp_target.c
196
int bus, type, level, rval = 1;
sys/dev/ic/isp_target.c
199
type = isp_get_response_type(isp, (isphdr_t *)vptr);
sys/dev/ic/isp_target.c
204
switch (type) {
sys/dev/ic/isp_target.c
450
isp_prt(isp, ISP_LOGERR, "%s: unknown entry type 0x%x", __func__, type);
sys/dev/ic/ld_cac.c
115
type = "standalone disk or RAID0";
sys/dev/ic/ld_cac.c
118
type = "RAID4";
sys/dev/ic/ld_cac.c
121
type = "RAID1";
sys/dev/ic/ld_cac.c
124
type = "RAID5";
sys/dev/ic/ld_cac.c
127
type = "unknown type of";
sys/dev/ic/ld_cac.c
131
aprint_normal(": %s array\n", type);
sys/dev/ic/ld_cac.c
92
const char *type;
sys/dev/ic/mcp23xxxgpio.c
102
if (sc->sc_variant->type == MCPGPIO_TYPE_23x08) {
sys/dev/ic/mcp23xxxgpio.c
295
sc->sc_npins = sc->sc_variant->type == MCPGPIO_TYPE_23x08
sys/dev/ic/mcp23xxxgpio.c
310
if (error == 0 && sc->sc_variant->type != MCPGPIO_TYPE_23x08) {
sys/dev/ic/mcp23xxxgpio.c
325
pin_output_caps = sc->sc_variant->type == MCPGPIO_TYPE_23x18
sys/dev/ic/mcp23xxxgpio.c
68
if (sc->sc_variant->type == MCPGPIO_TYPE_23x08) {
sys/dev/ic/mcp23xxxgpiovar.h
63
mcpgpio_type type;
sys/dev/ic/mfi.c
2426
mfi_bio_hs(struct mfi_softc *sc, int volid, int type, void *bio_hs)
sys/dev/ic/mfi.c
2490
switch (type) {
sys/dev/ic/mvsata.c
3816
#define MVSATA_DEBUG_PRINT(type, size, n, p) \
sys/dev/ic/mvsata.c
3821
printf(#type "(%d)", (n)); \
sys/dev/ic/mvsata.c
818
sa.sa_inqbuf.type = ATAPI_CFG_TYPE(id->atap_config);
sys/dev/ic/nslm7x.c
1005
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1013
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1021
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1029
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1037
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1047
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1055
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1063
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1073
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1081
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1089
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1104
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1112
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1120
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1128
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1136
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1144
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1154
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1162
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1172
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1180
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1188
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1203
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1211
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1219
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
122
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1227
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1235
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1243
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1251
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1259
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1267
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1275
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1285
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1293
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
130
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1301
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1311
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1319
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1327
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1335
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1343
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1358
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1366
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1374
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
138
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1382
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1390
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1398
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1406
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1414
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1422
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1432
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1440
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1448
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1458
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
146
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1466
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1474
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1482
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1490
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1498
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1506
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1521
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1529
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1537
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
154
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1545
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1553
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1561
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1569
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1579
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1587
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1595
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1605
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1613
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
162
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1621
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1636
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1644
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1652
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1660
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1668
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1676
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1684
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1692
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
170
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1700
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1710
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1718
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1726
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1736
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1744
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1752
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1760
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1769
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1784
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1792
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
180
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1800
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1808
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1816
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1824
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1832
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1840
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1848
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1858
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1866
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1874
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
1884
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1892
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
190
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1900
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1915
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1923
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1931
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1939
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1947
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1955
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1963
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1971
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1979
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
198
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
1987
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
1995
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
2003
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
2011
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
2019
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
2027
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
2037
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
2045
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
2053
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
206
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
2061
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
2069
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
2077
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
2087
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
2095
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
2103
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
2111
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
2119
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
2127
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
2135
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
221
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
229
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
237
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
245
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
253
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
261
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
2666
sc->sensors[i].units = sensors[i].type;
sys/dev/ic/nslm7x.c
269
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
277
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
285
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
295
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
303
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
311
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
321
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
329
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
337
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
360
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
368
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
376
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
384
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
392
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
400
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
408
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
416
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
424
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
432
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
442
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
450
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
458
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
468
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
476
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
484
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
499
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
507
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
515
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
523
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
531
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
539
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
547
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
555
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
563
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
573
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
581
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
589
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
599
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
607
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
615
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
630
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
638
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
646
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
654
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
662
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
670
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
678
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
688
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
696
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
704
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
714
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
722
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
730
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
745
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
753
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
761
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
769
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
777
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
785
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
793
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
801
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
811
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
819
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
829
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
837
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
858
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
866
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
874
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
882
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
890
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
898
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
906
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
916
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
924
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
932
.type = ENVSYS_STEMP,
sys/dev/ic/nslm7x.c
942
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
950
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
958
.type = ENVSYS_SFANRPM,
sys/dev/ic/nslm7x.c
973
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
981
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
989
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7x.c
997
.type = ENVSYS_SVOLTS_DC,
sys/dev/ic/nslm7xvar.h
180
enum envsys_units type;
sys/dev/ic/opl.c
444
sd->type = SYNTH_TYPE_FM;
sys/dev/ic/pcdisplay_subr.c
100
off = scr->cursorrow * scr->type->ncols + scr->cursorcol;
sys/dev/ic/pcdisplay_subr.c
114
off = (scr->cursorrow * scr->type->ncols + scr->cursorcol);
sys/dev/ic/pcdisplay_subr.c
136
+ row * scr->type->ncols + col;
sys/dev/ic/pcdisplay_subr.c
163
off = row * scr->type->ncols + col;
sys/dev/ic/pcdisplay_subr.c
166
if (__predict_false(off >= (scr->type->ncols * scr->type->nrows)))
sys/dev/ic/pcdisplay_subr.c
186
srcoff = dstoff = row * scr->type->ncols;
sys/dev/ic/pcdisplay_subr.c
209
off = row * scr->type->ncols + startcol;
sys/dev/ic/pcdisplay_subr.c
227
int ncols = scr->type->ncols;
sys/dev/ic/pcdisplay_subr.c
253
off = startrow * scr->type->ncols;
sys/dev/ic/pcdisplay_subr.c
254
count = nrows * scr->type->ncols;
sys/dev/ic/pcdisplay_subr.c
277
for (off = 0; off < scr->type->nrows * scr->type->ncols;
sys/dev/ic/pcdisplay_subr.c
288
for (off = 0; off < scr->type->nrows * scr->type->ncols;
sys/dev/ic/pcdisplay_subr.c
307
off = wschar->row * scr->type->ncols + wschar->col;
sys/dev/ic/pcdisplay_subr.c
308
if (off >= scr->type->ncols * scr->type->nrows)
sys/dev/ic/pcdisplay_subr.c
337
off = wschar->row * scr->type->ncols + wschar->col;
sys/dev/ic/pcdisplay_subr.c
338
if (off >= (scr->type->ncols * scr->type->nrows))
sys/dev/ic/pcdisplay_subr.c
66
off = (scr->cursorrow * scr->type->ncols + scr->cursorcol) * 2
sys/dev/ic/pcdisplay_subr.c
81
scr->type->fontheight - 2);
sys/dev/ic/pcdisplay_subr.c
83
scr->type->fontheight - 1);
sys/dev/ic/pcdisplayvar.h
36
const struct wsscreen_descr *type;
sys/dev/ic/rt2860.c
1637
uint8_t type, qsel, mcs, pid, tid, qid;
sys/dev/ic/rt2860.c
1659
type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
sys/dev/ic/rt2860.c
1668
qid = (type == IEEE80211_FC0_TYPE_MGT) ?
sys/dev/ic/rt2860.c
1676
type != IEEE80211_FC0_TYPE_DATA) {
sys/dev/ic/rt2860.c
1696
txwi->wcid = (type == IEEE80211_FC0_TYPE_DATA) ? rn->wcid : 0xff;
sys/dev/ic/siisata.c
1669
sa.sa_inqbuf.type = ATAPI_CFG_TYPE(id->atap_config);
sys/dev/ic/siopreg.h
417
uint16_t type; /* 0x0000 */
sys/dev/ic/siopreg.h
449
uint16_t type; /* 4 - 8xx */
sys/dev/ic/sl811hs.c
3195
uint8_t type;
sys/dev/ic/sl811hs.c
3202
type = req->bmRequestType;
sys/dev/ic/sl811hs.c
3243
if (type == UT_WRITE_CLASS_OTHER) {
sys/dev/ic/sl811hs.c
3254
if (type == UT_WRITE_CLASS_OTHER) {
sys/dev/ic/sl811hs.c
3262
} else if (type != UT_WRITE_CLASS_DEVICE)
sys/dev/ic/sl811hs.c
3270
if (type == UT_READ_CLASS_OTHER) {
sys/dev/ic/sl811hs.c
3282
} else if (type == UT_READ_CLASS_DEVICE) { /* XXX index? */
sys/dev/ic/sl811hs.c
3295
if (type == UT_READ_DEVICE) {
sys/dev/ic/sl811hs.c
3322
} else if (type == UT_READ_CLASS_DEVICE) {
sys/dev/ic/sl811hs.c
3372
int req, type, value, index, len;
sys/dev/ic/sl811hs.c
3375
type = r->bmRequestType;
sys/dev/ic/sl811hs.c
3380
DDOLOG("request: type %#x", type, 0, 0, 0);
sys/dev/ic/smc90cx6.c
498
int buffer, len, len1, amount, offset, s, type;
sys/dev/ic/smc90cx6.c
555
type = GETMEM(bah_ram_ptr + offset);
sys/dev/ic/smc90cx6.c
556
m->m_data += 1 + arc_isphds(type);
sys/dev/ic/spdmem.c
290
const char *type;
sys/dev/ic/spdmem.c
365
type = "Rambus";
sys/dev/ic/spdmem.c
367
type = "Direct Rambus";
sys/dev/ic/spdmem.c
369
type = "Rambus (unknown)";
sys/dev/ic/spdmem.c
387
type = spdmem_basic_types[s->sm_type];
sys/dev/ic/spdmem.c
389
type = "unknown memory type";
sys/dev/ic/spdmem.c
393
type = spdmem_superset_types[SPDMEM_SUPERSET_EDO_PEM];
sys/dev/ic/spdmem.c
396
type = spdmem_superset_types[SPDMEM_SUPERSET_SDRAM_PEM];
sys/dev/ic/spdmem.c
399
type =
sys/dev/ic/spdmem.c
403
type = spdmem_superset_types[SPDMEM_SUPERSET_ESDRAM];
sys/dev/ic/spdmem.c
408
type = spdmem_ddr4_module_types[s->sm_ddr4.ddr4_mod_type];
sys/dev/ic/spdmem.c
412
strlcpy(sc->sc_type, type, SPDMEM_TYPE_MAXLEN);
sys/dev/ic/spdmem.c
436
aprint_normal_dev(self, "%s, SPD Revision %s", type, rambus_rev);
sys/dev/ic/sti.c
1246
sti_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/dev/ic/sti.c
1337
switch (fp->type) {
sys/dev/ic/sti.c
757
fp->type, fp->bpc, fp->first, fp->last);
sys/dev/ic/sti.c
864
fp->type = bus_space_read_1(memt, romh, addr + 0x1b);
sys/dev/ic/sti.c
879
fp->height, fp->type, fp->bpc, fp->first, fp->last));
sys/dev/ic/stireg.h
198
uint8_t type;
sys/dev/ic/stireg.h
213
uint8_t type;
sys/dev/ic/tcic2.c
1218
tcic_chip_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/dev/ic/tcic2.c
1228
if (type == PCMCIA_IFTYPE_IO) {
sys/dev/ic/tcic2.c
1236
((type == PCMCIA_IFTYPE_IO) ? "io" : "mem"), reg));
sys/dev/ic/tulip.c
4013
tlp_add_srom_media(struct tulip_softc *sc, int type,
sys/dev/ic/tulip.c
4026
tm->tm_type = type;
sys/dev/ic/tulip.c
4633
int i, devcnt, leaf_offset, m_cnt, type, length;
sys/dev/ic/tulip.c
4714
type = TULIP_ROM_MB_21140_GPR;
sys/dev/ic/tulip.c
4717
type = *cp++ & 0x3f;
sys/dev/ic/tulip.c
4724
switch (type) {
sys/dev/ic/tulip.c
5093
"unknown ISV media block type 0x%02x\n", type);
sys/dev/ic/uda1341.c
304
mi->type = AUDIO_MIXER_VALUE;
sys/dev/ic/uda1341.c
316
mi->type = AUDIO_MIXER_VALUE;
sys/dev/ic/uda1341.c
328
mi->type = AUDIO_MIXER_VALUE;
sys/dev/ic/uda1341.c
340
mi->type = AUDIO_MIXER_ENUM;
sys/dev/ic/uda1341.c
362
mi->type = AUDIO_MIXER_ENUM;
sys/dev/ic/uda1341.c
379
mi->type = AUDIO_MIXER_ENUM;
sys/dev/ic/uda1341.c
396
mi->type = AUDIO_MIXER_ENUM;
sys/dev/ic/uda1341.c
424
mi->type = AUDIO_MIXER_CLASS;
sys/dev/ic/uda1341.c
434
mi->type = AUDIO_MIXER_VALUE;
sys/dev/ic/uda1341.c
446
mi->type = AUDIO_MIXER_VALUE;
sys/dev/ic/uda1341.c
458
mi->type = AUDIO_MIXER_VALUE;
sys/dev/ic/uda1341.c
470
mi->type = AUDIO_MIXER_ENUM;
sys/dev/ic/uda1341.c
495
mi->type = AUDIO_MIXER_ENUM;
sys/dev/ic/uda1341.c
512
mi->type = AUDIO_MIXER_VALUE;
sys/dev/ic/uda1341.c
524
mi->type = AUDIO_MIXER_VALUE;
sys/dev/ic/uda1341.c
534
mi->type = AUDIO_MIXER_CLASS;
sys/dev/ic/uda1341.c
555
if (mixer->type != AUDIO_MIXER_VALUE)
sys/dev/ic/uda1341.c
563
if (mixer->type != AUDIO_MIXER_VALUE ||
sys/dev/ic/uda1341.c
570
if (mixer->type != AUDIO_MIXER_VALUE ||
sys/dev/ic/uda1341.c
577
if (mixer->type != AUDIO_MIXER_ENUM)
sys/dev/ic/uda1341.c
583
if (mixer->type != AUDIO_MIXER_ENUM)
sys/dev/ic/uda1341.c
589
if (mixer->type != AUDIO_MIXER_ENUM)
sys/dev/ic/uda1341.c
595
if (mixer->type != AUDIO_MIXER_ENUM)
sys/dev/ic/uda1341.c
601
if (mixer->type != AUDIO_MIXER_VALUE)
sys/dev/ic/uda1341.c
607
if (mixer->type != AUDIO_MIXER_VALUE)
sys/dev/ic/uda1341.c
613
if (mixer->type != AUDIO_MIXER_VALUE)
sys/dev/ic/uda1341.c
619
if (mixer->type != AUDIO_MIXER_ENUM)
sys/dev/ic/uda1341.c
625
if (mixer->type != AUDIO_MIXER_ENUM)
sys/dev/ic/uda1341.c
631
if (mixer->type != AUDIO_MIXER_VALUE)
sys/dev/ic/uda1341.c
637
if (mixer->type != AUDIO_MIXER_VALUE)
sys/dev/ic/ug.c
518
switch (si->type) {
sys/dev/ic/ug.c
565
switch (si->type) {
sys/dev/ic/ugvar.h
44
int type;
sys/dev/ic/vga.c
1007
const struct wsscreen_descr *type;
sys/dev/ic/vga.c
1015
type = scr->pcs.type;
sys/dev/ic/vga.c
1021
if (oldscr->pcs.type != vc->currenttype)
sys/dev/ic/vga.c
1034
const struct wsscreen_descr *oldtype = oldscr->pcs.type;
sys/dev/ic/vga.c
1042
if (vc->currenttype != type) {
sys/dev/ic/vga.c
1043
vga_setscreentype(vh, type);
sys/dev/ic/vga.c
1044
vc->currenttype = type;
sys/dev/ic/vga.c
1057
scr->pcs.dispoffset, scr->pcs.mem, type->ncols * type->nrows);
sys/dev/ic/vga.c
1136
int ncols = scr->pcs.type->ncols;
sys/dev/ic/vga.c
1143
if (dstrow == 0 && (srcrow + nrows == scr->pcs.type->nrows)) {
sys/dev/ic/vga.c
1444
KASSERT(VGA_SCREEN_CANTWOFONTS(scr->pcs.type));
sys/dev/ic/vga.c
1471
int margin = scr->pcs.type->ncols * 2;
sys/dev/ic/vga.c
1474
vga_scr_end = (scr->pcs.dispoffset + scr->pcs.type->ncols *
sys/dev/ic/vga.c
1475
scr->pcs.type->nrows * 2);
sys/dev/ic/vga.c
1478
we = scr->vga_rollover + scr->pcs.type->ncols * 2;
sys/dev/ic/vga.c
1484
(scr->pcs.type->ncols * 2);
sys/dev/ic/vga.c
250
#define VGA_SCREEN_CANTWOFONTS(type) (!((type)->capabilities & WSSCREEN_HILIT))
sys/dev/ic/vga.c
332
8, scr->pcs.type->fontheight, 0, WSFONT_FIND_BITMAP) &&
sys/dev/ic/vga.c
343
cookie = wsfont_find(name, 8, scr->pcs.type->fontheight, 0,
sys/dev/ic/vga.c
405
const struct wsscreen_descr *type = scr->pcs.type;
sys/dev/ic/vga.c
412
if (VGA_SCREEN_CANTWOFONTS(type) && name2) {
sys/dev/ic/vga.c
423
printf("vga (%s): font1=%s (slot %d)", type->name,
sys/dev/ic/vga.c
442
const struct wsscreen_descr *type, int existing, long *attrp)
sys/dev/ic/vga.c
449
scr->pcs.type = type;
sys/dev/ic/vga.c
455
scr->maxdispoffset = 0x8000 - type->nrows * type->ncols * 2;
sys/dev/ic/vga.c
464
if (cpos < 0 || cpos >= type->nrows * type->ncols)
sys/dev/ic/vga.c
475
if (type != vc->currenttype) {
sys/dev/ic/vga.c
476
vga_setscreentype(&vc->hdl, type);
sys/dev/ic/vga.c
477
vc->currenttype = type;
sys/dev/ic/vga.c
487
scr->pcs.cursorrow = cpos / type->ncols;
sys/dev/ic/vga.c
488
scr->pcs.cursorcol = cpos % type->ncols;
sys/dev/ic/vga.c
592
bus_space_tag_t memt, int type, int quirks,
sys/dev/ic/vga.c
599
console = vga_is_console(iot, type);
sys/dev/ic/vga.c
648
vc->vc_type = type;
sys/dev/ic/vga.c
665
vga_cnattach(bus_space_tag_t iot, bus_space_tag_t memt, int type, int check)
sys/dev/ic/vga.c
708
vga_console_type = type;
sys/dev/ic/vga.c
738
vga_is_console(bus_space_tag_t iot, int type)
sys/dev/ic/vga.c
743
(vga_console_type == -1 || (type == vga_console_type)))
sys/dev/ic/vga.c
863
vga_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/dev/ic/vga.c
877
malloc(scr1->pcs.type->ncols * scr1->pcs.type->nrows * 2,
sys/dev/ic/vga.c
882
vga_init_screen(vc, scr, type, vc->nscreens == 0, defattrp);
sys/dev/ic/vga.c
885
scr->pcs.mem = malloc(type->ncols * type->nrows * 2,
sys/dev/ic/vga.c
887
pcdisplay_eraserows(&scr->pcs, 0, type->nrows, *defattrp);
sys/dev/ic/vga_raster.c
1048
off = (scr->cursorrow * scr->type->ncols + scr->cursorcol) +
sys/dev/ic/vga_raster.c
1072
off = scr->cursorrow * scr->type->ncols + scr->cursorcol;
sys/dev/ic/vga_raster.c
1094
off = scr->cursorrow * scr->type->ncols + scr->cursorcol;
sys/dev/ic/vga_raster.c
1132
off = row * scr->type->ncols + col;
sys/dev/ic/vga_raster.c
1134
if (__predict_false(off >= (scr->type->ncols * scr->type->nrows)))
sys/dev/ic/vga_raster.c
1141
(scr->type->fontheight == fs->font->fontheight)) {
sys/dev/ic/vga_raster.c
1190
int fheight = scr->type->fontheight;
sys/dev/ic/vga_raster.c
1194
rasoff = scr->dispoffset + row * scr->type->ncols * fheight + col;
sys/dev/ic/vga_raster.c
1210
rasoff += scr->type->ncols;
sys/dev/ic/vga_raster.c
1223
rasoff2 += scr->type->ncols;
sys/dev/ic/vga_raster.c
1231
rasoff += scr->type->ncols;
sys/dev/ic/vga_raster.c
1252
rasoff2 += scr->type->ncols;
sys/dev/ic/vga_raster.c
126
const struct wsscreen_descr *type;
sys/dev/ic/vga_raster.c
1267
int fheight = scr->type->fontheight;
sys/dev/ic/vga_raster.c
1269
srcoff = row * scr->type->ncols + srccol;
sys/dev/ic/vga_raster.c
1270
dstoff = row * scr->type->ncols + dstcol;
sys/dev/ic/vga_raster.c
1271
rassrcoff = scr->dispoffset + row * scr->type->ncols * fheight + srccol;
sys/dev/ic/vga_raster.c
1272
rasdstoff = scr->dispoffset + row * scr->type->ncols * fheight + dstcol;
sys/dev/ic/vga_raster.c
1281
rassrcoff + i * scr->type->ncols, memh,
sys/dev/ic/vga_raster.c
1282
rasdstoff + i * scr->type->ncols, ncols);
sys/dev/ic/vga_raster.c
1312
ncols = scr->type->ncols;
sys/dev/ic/vga_raster.c
1313
fheight = scr->type->fontheight;
sys/dev/ic/vga_raster.c
1322
if (dstrow == 0 && (srcrow + nrows == scr->type->nrows)) {
sys/dev/ic/vga_raster.c
1369
off = startrow * scr->type->ncols;
sys/dev/ic/vga_raster.c
1370
count = nrows * scr->type->ncols;
sys/dev/ic/vga_raster.c
1371
rasoff = off * scr->type->fontheight;
sys/dev/ic/vga_raster.c
1372
rascount = count * scr->type->fontheight;
sys/dev/ic/vga_raster.c
1379
if (scr->type->ncols % 4 == 0) {
sys/dev/ic/vga_raster.c
1439
const struct wsscreen_descr *type, struct vga_scrmem *mem)
sys/dev/ic/vga_raster.c
1444
for (i = 0; i < type->nrows; i++) {
sys/dev/ic/vga_raster.c
1445
for (j = 0; j < type->ncols; j++) {
sys/dev/ic/vga_raster.c
1446
off = i * type->ncols + j;
sys/dev/ic/vga_raster.c
1459
const struct wsscreen_descr *type)
sys/dev/ic/vga_raster.c
1464
vga_setup_regs((struct videomode *)type->modecookie, &moderegs);
sys/dev/ic/vga_raster.c
1473
const struct wsscreen_descr *type = scr->type;
sys/dev/ic/vga_raster.c
1476
for (off = 0; off < type->nrows * type->ncols; off++) {
sys/dev/ic/vga_raster.c
1483
vga_restore_screen(scr, type, scr->mem);
sys/dev/ic/vga_raster.c
331
vga_cnattach(bus_space_tag_t iot, bus_space_tag_t memt, int type, int check)
sys/dev/ic/vga_raster.c
372
vga_console_type = type;
sys/dev/ic/vga_raster.c
439
const struct wsscreen_descr *type, int existing, long *attrp)
sys/dev/ic/vga_raster.c
447
scr->type = type;
sys/dev/ic/vga_raster.c
450
type->nrows * type->ncols * type->fontheight;
sys/dev/ic/vga_raster.c
463
if (cpos < 0 || cpos >= type->nrows * type->ncols)
sys/dev/ic/vga_raster.c
486
vga_raster_setscreentype(vc, type);
sys/dev/ic/vga_raster.c
493
vga_restore_screen(scr, type, scr->mem);
sys/dev/ic/vga_raster.c
501
scr->cursorrow = cpos / type->ncols;
sys/dev/ic/vga_raster.c
502
scr->cursorcol = cpos % type->ncols;
sys/dev/ic/vga_raster.c
523
bus_space_tag_t memt, int type, int quirks,
sys/dev/ic/vga_raster.c
530
console = vga_is_console(iot, type);
sys/dev/ic/vga_raster.c
540
vc->vc_type = type;
sys/dev/ic/vga_raster.c
581
vga_is_console(bus_space_tag_t iot, int type)
sys/dev/ic/vga_raster.c
586
(vga_console_type == -1 || (type == vga_console_type)))
sys/dev/ic/vga_raster.c
701
vga_raster_alloc_screen(void *v, const struct wsscreen_descr *type,
sys/dev/ic/vga_raster.c
712
vga_raster_init_screen(vc, scr, type, vc->nscreens == 0, defattrp);
sys/dev/ic/vga_raster.c
717
vc->currenttype = type;
sys/dev/ic/vga_raster.c
720
type->ncols * type->nrows, M_DEVBUF, M_WAITOK);
sys/dev/ic/vga_raster.c
721
vga_raster_eraserows(scr, 0, type->nrows, *defattrp);
sys/dev/ic/vga_raster.c
778
const struct wsscreen_descr *type;
sys/dev/ic/vga_raster.c
786
type = scr->type;
sys/dev/ic/vga_raster.c
792
if (oldscr->type != vc->currenttype)
sys/dev/ic/vga_raster.c
807
if (vc->currenttype != type) {
sys/dev/ic/vga_raster.c
808
vga_raster_setscreentype(vc, type);
sys/dev/ic/vga_raster.c
809
vc->currenttype = type;
sys/dev/ic/vga_raster.c
824
vga_restore_screen(scr, type, scr->mem);
sys/dev/ic/vga_raster.c
853
if (wsfont_matches(vf->font, 0, 0, scr->type->fontheight, 0,
sys/dev/ic/vga_raster.c
861
cookie = wsfont_find(NULL, 0, scr->type->fontheight, 0,
sys/dev/ic/vga_subr.c
169
vga_setscreentype(struct vga_handle *vh, const struct wsscreen_descr *type)
sys/dev/ic/vga_subr.c
172
vga_6845_write(vh, maxrow, type->fontheight - 1);
sys/dev/ic/vga_subr.c
175
vga_6845_write(vh, vde, type->fontheight * type->nrows - 1);
sys/dev/ic/vga_subr.c
179
vga_6845_write(vh, curstart, type->fontheight - 2);
sys/dev/ic/vga_subr.c
180
vga_6845_write(vh, curend, type->fontheight - 1);
sys/dev/ic/vga_subr.c
185
if (type->capabilities & WSSCREEN_HILIT) {
sys/dev/ieee1394/firewire.c
780
fw_xferlist_add(struct fw_xferlist *q, struct malloc_type *type, int slen,
sys/dev/ieee1394/firewire.c
788
xfer = fw_xfer_alloc_buf(type, slen, rlen);
sys/dev/ieee1394/firewire.c
815
fw_xfer_alloc(struct malloc_type *type)
sys/dev/ieee1394/firewire.c
819
xfer = malloc(sizeof(struct fw_xfer), type, M_NOWAIT | M_ZERO);
sys/dev/ieee1394/firewire.c
823
xfer->malloc = type;
sys/dev/ieee1394/firewire.c
830
fw_xfer_alloc_buf(struct malloc_type *type, int send_len, int recv_len)
sys/dev/ieee1394/firewire.c
834
xfer = fw_xfer_alloc(type);
sys/dev/ieee1394/firewire.c
840
xfer->send.payload = malloc(send_len, type, M_NOWAIT | M_ZERO);
sys/dev/ieee1394/firewire.c
847
xfer->recv.payload = malloc(recv_len, type, M_NOWAIT);
sys/dev/ieee1394/firewire.c
850
free(xfer->send.payload, type);
sys/dev/ieee1394/firewire.h
263
unsigned int type;
sys/dev/ieee1394/fwdev.c
510
switch (asyreq->req.type) {
sys/dev/ieee1394/sbp.c
286
uint8_t type;
sys/dev/ieee1394/sbp.c
653
(sdev->type & 0x40) >> 6,
sys/dev/ieee1394/sbp.c
654
(sdev->type & 0x1f),
sys/dev/ieee1394/sbp.c
773
sdev->type = (reg->val & 0xff0000) >> 16;
sys/dev/ipmi.c
1745
ipmi_sensor_type(int type, int ext_type, int entity)
sys/dev/ipmi.c
1747
switch (ext_type << 8L | type) {
sys/dev/ir/ir.c
47
const char *type = "";
sys/dev/ir/ir.c
52
type = "irframe";
sys/dev/ir/ir.c
55
type = "cir";
sys/dev/ir/ir.c
58
aprint_normal("%s at %s", type, pnp);
sys/dev/isa/aria.c
1002
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/aria.c
1115
if (cp->type == AUDIO_MIXER_ENUM)
sys/dev/isa/aria.c
1191
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/aria.c
1203
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/aria.c
1215
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/aria.c
1227
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/aria.c
1236
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/aria.c
1248
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/aria.c
1260
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/aria.c
1267
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/aria.c
1274
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/aria.c
1281
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/aria.c
1288
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/aria.c
1295
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/aria.c
1302
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/aria.c
1312
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/aria.c
1321
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/aria.c
1330
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/aria.c
1338
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/aria.c
1368
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/aria.c
1377
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/aria.c
1386
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/aria.c
1395
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/aria.c
1404
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/aria.c
1413
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/aria.c
1447
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/aria.c
1457
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/aria.c
1466
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/aria.c
1474
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/aria.c
1482
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/aria.c
1491
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/aria.c
1509
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/aria.c
1515
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/aria.c
1521
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/aria.c
1527
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/ega.c
188
#define VGA_SCREEN_CANTWOFONTS(type) (!((type)->capabilities & WSSCREEN_HILIT))
sys/dev/isa/ega.c
289
const struct wsscreen_descr *type = scr->pcs.type;
sys/dev/isa/ega.c
297
if (!f || f->height != type->fontheight)
sys/dev/isa/ega.c
306
VGA_SCREEN_CANTWOFONTS(type) &&
sys/dev/isa/ega.c
320
printf("ega (%s): font1=%s (slot %d)", type->name,
sys/dev/isa/ega.c
336
ega_init_screen(struct ega_config *vc, struct egascreen *scr, const struct wsscreen_descr *type, int existing, long *attrp)
sys/dev/isa/ega.c
343
scr->pcs.type = type;
sys/dev/isa/ega.c
346
scr->maxdispoffset = 0x8000 - type->nrows * type->ncols * 2;
sys/dev/isa/ega.c
353
if (cpos < 0 || cpos >= type->nrows * type->ncols)
sys/dev/isa/ega.c
368
scr->pcs.cursorrow = cpos / type->ncols;
sys/dev/isa/ega.c
369
scr->pcs.cursorcol = cpos % type->ncols;
sys/dev/isa/ega.c
583
ega_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep, int *curxp, int *curyp, long *defattrp)
sys/dev/isa/ega.c
595
malloc(type->ncols * type->nrows * 2, M_DEVBUF, M_WAITOK);
sys/dev/isa/ega.c
599
ega_init_screen(vc, scr, type, vc->nscreens == 0, defattrp);
sys/dev/isa/ega.c
604
vc->currenttype = type;
sys/dev/isa/ega.c
606
scr->pcs.mem = malloc(type->ncols * type->nrows * 2,
sys/dev/isa/ega.c
608
pcdisplay_eraserows(&scr->pcs, 0, type->nrows, *defattrp);
sys/dev/isa/ega.c
677
const struct wsscreen_descr *type;
sys/dev/isa/ega.c
685
type = scr->pcs.type;
sys/dev/isa/ega.c
691
if (oldscr->pcs.type != vc->currenttype)
sys/dev/isa/ega.c
704
const struct wsscreen_descr *oldtype = oldscr->pcs.type;
sys/dev/isa/ega.c
712
if (vc->currenttype != type) {
sys/dev/isa/ega.c
713
vga_setscreentype(vh, type);
sys/dev/isa/ega.c
714
vc->currenttype = type;
sys/dev/isa/ega.c
728
type->ncols * type->nrows);
sys/dev/isa/ega.c
838
int ncols = scr->pcs.type->ncols;
sys/dev/isa/ega.c
845
if (dstrow == 0 && (srcrow + nrows == scr->pcs.type->nrows)) {
sys/dev/isa/ess.c
1045
arg.type = AUDIODEV_TYPE_OPL;
sys/dev/isa/ess.c
1059
arg.type = AUDIODEV_TYPE_AUX;
sys/dev/isa/ess.c
1599
if (cp->type != AUDIO_MIXER_VALUE)
sys/dev/isa/ess.c
1637
if (cp->type == AUDIO_MIXER_ENUM)
sys/dev/isa/ess.c
1642
if (cp->type == AUDIO_MIXER_SET)
sys/dev/isa/ess.c
1650
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/isa/ess.c
1668
if (cp->type != AUDIO_MIXER_VALUE ||
sys/dev/isa/ess.c
1679
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/isa/ess.c
1703
if (cp->type != AUDIO_MIXER_VALUE)
sys/dev/isa/ess.c
1727
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/isa/ess.c
1873
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
1886
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
1895
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
1904
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
1913
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
1922
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
1931
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/ess.c
1938
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
1947
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
1956
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/ess.c
1963
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
1982
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/ess.c
1993
dip->type = AUDIO_MIXER_SET;
sys/dev/isa/ess.c
2014
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/ess.c
2020
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/ess.c
2033
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/ess.c
2045
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
2055
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/ess.c
2073
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
2082
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
2091
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
2100
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
2109
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
2118
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ess.c
2128
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/fd.c
1058
struct fd_type *type;
sys/dev/isa/fd.c
1144
type = fd->sc_type;
sys/dev/isa/fd.c
1148
sec = fd->sc_blkno % type->seccyl;
sys/dev/isa/fd.c
1149
nblks = type->seccyl - sec;
sys/dev/isa/fd.c
1154
head = sec / type->sectrac;
sys/dev/isa/fd.c
1155
sec -= head * type->sectrac;
sys/dev/isa/fd.c
1159
block = (fd->sc_cylin * type->heads + head)
sys/dev/isa/fd.c
1160
* type->sectrac + sec;
sys/dev/isa/fd.c
1174
bus_space_write_1(iot, fdc->sc_fdctlioh, 0, type->rate);
sys/dev/isa/fd.c
1201
out_fdc(iot, ioh, type->secsize);/* sector size */
sys/dev/isa/fd.c
1202
out_fdc(iot, ioh, type->sectrac);/* sectors/track */
sys/dev/isa/fd.c
1203
out_fdc(iot, ioh, type->gap1); /* gap1 size */
sys/dev/isa/fd.c
1204
out_fdc(iot, ioh, type->datalen);/* data length */
sys/dev/isa/fd.c
1606
struct fd_type *type = fd->sc_type;
sys/dev/isa/fd.c
1623
bp->b_blkno = (finfo->cyl * (type->sectrac * type->heads)
sys/dev/isa/fd.c
1624
+ finfo->head * type->sectrac) * FDC_BSIZE / DEV_BSIZE;
sys/dev/isa/fd.c
435
int type = mc146818_read(NULL, NVRAM_DISKETTE); /* XXX softc */
sys/dev/isa/fd.c
438
type, 0);
sys/dev/isa/fd.c
442
type, 1);
sys/dev/isa/fd.c
562
const struct fd_type *type = fa->fa_deftype;
sys/dev/isa/fd.c
572
if (type)
sys/dev/isa/fd.c
573
aprint_normal(": %s, %d cyl, %d head, %d sec\n", type->name,
sys/dev/isa/fd.c
574
type->cyls, type->heads, type->sectrac);
sys/dev/isa/fd.c
581
fd->sc_deftype = type;
sys/dev/isa/fd.c
654
int type;
sys/dev/isa/fd.c
656
type = (drive == 0 ? nvraminfo : nvraminfo << 4) & 0xf0;
sys/dev/isa/fd.c
657
switch (type) {
sys/dev/isa/fd.c
683
fdc, drive, type);
sys/dev/isa/fd.c
692
u_int type = FDTYPE(dev);
sys/dev/isa/fd.c
694
if (type > __arraycount(fd_types))
sys/dev/isa/fd.c
696
return type ? &fd_types[type - 1] : fd->sc_deftype;
sys/dev/isa/fd.c
925
const struct fd_type *type;
sys/dev/isa/fd.c
931
type = fd_dev_to_type(fd, dev);
sys/dev/isa/fd.c
932
if (type == NULL)
sys/dev/isa/fd.c
936
memcmp(fd->sc_type, type, sizeof(*type)))
sys/dev/isa/fd.c
939
fd->sc_type_copy = *type;
sys/dev/isa/gus.c
3219
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/gus.c
3230
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/gus.c
3251
DPRINTF(("gus_mixer_get_port: dev=%d type=%d\n", cp->dev, cp->type));
sys/dev/isa/gus.c
3262
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/gus.c
3273
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/gus.c
3284
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/gus.c
3295
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/gus.c
3302
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/gus.c
3309
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/gus.c
3318
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/gus.c
3327
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/gus.c
3337
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/gus.c
3346
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/gus.c
3356
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/gus.c
3423
DPRINTF(("gusmax_mixer_set_port: dev=%d type=%d\n", cp->dev, cp->type));
sys/dev/isa/gus.c
3427
if (cp->type == AUDIO_MIXER_VALUE &&
sys/dev/isa/gus.c
3438
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/gus.c
3459
DPRINTF(("gus_mixer_set_port: dev=%d type=%d\n", cp->dev, cp->type));
sys/dev/isa/gus.c
3470
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/gus.c
3481
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/gus.c
3492
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/gus.c
3503
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/gus.c
3510
if (cp->type == AUDIO_MIXER_ENUM) {
sys/dev/isa/gus.c
3517
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/gus.c
3533
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/gus.c
3549
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/gus.c
3566
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/gus.c
3582
if (cp->type == AUDIO_MIXER_VALUE) {
sys/dev/isa/gus.c
3599
if (cp->type == AUDIO_MIXER_ENUM && cp->un.ord == 0) {
sys/dev/isa/gus.c
3640
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3651
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3661
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3671
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3681
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3692
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3702
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3711
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3722
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/gus.c
3729
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/gus.c
3736
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/gus.c
3743
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/gus.c
3750
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/gus.c
3757
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/gus.c
3770
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3781
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/gus.c
3797
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/gus.c
3804
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/gus.c
3811
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/gus.c
3818
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/gus.c
3845
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3855
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3865
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3875
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3885
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/gus.c
3897
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/gus.c
3904
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/gus.c
3911
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/gus.c
3918
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/gus.c
3925
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/gus.c
3939
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/gus.c
3948
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/gus.c
3955
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/gus.c
3962
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/if_ai.c
205
uint8_t val, type;
sys/dev/isa/if_ai.c
247
type = SL_BOARD(val);
sys/dev/isa/if_ai.c
248
if (type != SL10_BOARD && type != EN100_BOARD &&
sys/dev/isa/if_ai.c
249
type != SLFIBER_BOARD) {
sys/dev/isa/if_ai.c
251
type, ia->ia_io[0].ir_addr));
sys/dev/isa/if_ate.c
310
int type;
sys/dev/isa/if_ate.c
328
type = FE_TYPE_AT1700T;
sys/dev/isa/if_ate.c
331
type = FE_TYPE_AT1700BT;
sys/dev/isa/if_ate.c
334
type = FE_TYPE_AT1700FT;
sys/dev/isa/if_ate.c
337
type = FE_TYPE_AT1700AT;
sys/dev/isa/if_ate.c
340
type = FE_TYPE_AT_UNKNOWN;
sys/dev/isa/if_ate.c
344
return type;
sys/dev/isa/if_ate.c
357
int type;
sys/dev/isa/if_ate.c
371
type = ate_detect(iot, ioh, myea);
sys/dev/isa/if_ate.c
372
switch (type) {
sys/dev/isa/if_efreg.h
122
#define EF_IS_TP(type) ((type)[EF_TYPE_MID] > 0x70)
sys/dev/isa/if_we_isa.c
114
uint8_t x, type;
sys/dev/isa/if_we_isa.c
188
if (we_params(asict, asich, &type, &memsize, NULL, &is790) == NULL)
sys/dev/isa/if_we_isa.c
224
} else if (type & WE_SOFTCONFIG) {
sys/dev/isa/if_we_isa.c
352
uint8_t type;
sys/dev/isa/if_we_isa.c
357
type = bus_space_read_1(asict, asich, WE_CARD_ID);
sys/dev/isa/if_we_isa.c
358
switch (type) {
sys/dev/isa/if_we_isa.c
409
typestr = (type == WE_TYPE_SMC8216C) ?
sys/dev/isa/if_we_isa.c
428
typestr = (type == WE_TYPE_SMC8216C) ?
sys/dev/isa/if_we_isa.c
460
if (is16bit && (type != WE_TYPE_WD8013EBT) &&
sys/dev/isa/if_we_isa.c
462
(type != WE_TYPE_TOSHIBA1 && type != WE_TYPE_TOSHIBA4) &&
sys/dev/isa/if_we_isa.c
474
"memsize = %ld\n", type, typestr, is16bit, (u_long)memsize);
sys/dev/isa/if_we_isa.c
482
*typep = type;
sys/dev/isa/isa.c
378
isa_intr_typename(int type)
sys/dev/isa/isa.c
381
switch (type) {
sys/dev/isa/isa.c
391
panic("isa_intr_typename: invalid type %d", type);
sys/dev/isa/isa_stub.c
48
int type,
sys/dev/isa/isa_stub.c
53
default_isa_intr_establish_xname(isa_chipset_tag_t ic, int irq, int type,
sys/dev/isa/isa_stub.c
56
return isa_intr_establish(ic, irq, type, level, ih_fun, ih_arg);
sys/dev/isa/joy_ess.c
29
if (aa->type != AUDIODEV_TYPE_AUX)
sys/dev/isa/mcd.c
135
const char *type;
sys/dev/isa/mcd.c
296
aprint_normal(": model %s\n", sc->type != 0 ? sc->type : "unknown");
sys/dev/isa/mcd.c
885
sc->type = "LU002S";
sys/dev/isa/mcd.c
887
sc->type = "LU005S";
sys/dev/isa/mcd.c
889
sc->type = "LU006S";
sys/dev/isa/mcd.c
892
sc->type = "FX001";
sys/dev/isa/mcd.c
895
sc->type = "FX001D";
sys/dev/isa/mcd.c
911
sc->type = 0;
sys/dev/isa/mpu_sb.c
66
if (aa->type != AUDIODEV_TYPE_MPU)
sys/dev/isa/mpu_ym.c
73
if (aa->type != AUDIODEV_TYPE_MPU || ssc->sc_mpu_ioh == 0)
sys/dev/isa/opl_ess.c
70
if (aa->type != AUDIODEV_TYPE_OPL)
sys/dev/isa/opl_sb.c
68
if (aa->type != AUDIODEV_TYPE_OPL)
sys/dev/isa/opl_wss.c
68
if (aa->type != AUDIODEV_TYPE_OPL || ssc->sc_opl_ioh == 0)
sys/dev/isa/opl_ym.c
74
if (aa->type != AUDIODEV_TYPE_OPL || ssc->sc_opl_ioh == 0)
sys/dev/isa/pcdisplay.c
203
dc->pcs.type = &pcdisplay_scr;
sys/dev/isa/pcdisplay.c
386
pcdisplay_alloc_screen(void *v, const struct wsscreen_descr *type,
sys/dev/isa/sb.c
263
arg.type = AUDIODEV_TYPE_MPU;
sys/dev/isa/sb.c
272
arg.type = AUDIODEV_TYPE_OPL;
sys/dev/isa/sbdsp.c
1820
if (cp->type != AUDIO_MIXER_ENUM) {
sys/dev/isa/sbdsp.c
1857
if (cp->type != AUDIO_MIXER_VALUE) {
sys/dev/isa/sbdsp.c
1920
if (cp->type != AUDIO_MIXER_SET)
sys/dev/isa/sbdsp.c
1925
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/isa/sbdsp.c
1935
if (!ISSBM1745(sc) || cp->type != AUDIO_MIXER_ENUM)
sys/dev/isa/sbdsp.c
1950
if (cp->type != AUDIO_MIXER_ENUM) {
sys/dev/isa/sbdsp.c
1982
if (cp->type != AUDIO_MIXER_ENUM) {
sys/dev/isa/sbdsp.c
2162
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/sbdsp.c
2170
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/sbdsp.c
2179
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/sbdsp.c
2188
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/sbdsp.c
2197
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/sbdsp.c
2209
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/sbdsp.c
2219
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/sbdsp.c
2233
dip->type = AUDIO_MIXER_SET;
sys/dev/isa/sbdsp.c
2244
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/sbdsp.c
2259
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/sbdsp.c
2264
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/sbdsp.c
2278
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/sbdsp.c
2283
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/sbdsp.c
2294
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/sbdsp.c
2301
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/sbdsp.c
2314
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/sbdsp.c
2323
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/sbdsp.c
2332
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/sbdsp.c
2341
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/sbdsp.c
2353
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/sbdsp.c
2425
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/seagate.c
1288
if (sea->type == FDOMAIN840)
sys/dev/isa/seagate.c
1319
if (sea->type == FDOMAIN840)
sys/dev/isa/seagate.c
195
int type; /* board type */
sys/dev/isa/seagate.c
234
int type;
sys/dev/isa/seagate.c
331
int i, type = 0;
sys/dev/isa/seagate.c
354
type = signatures[i].type;
sys/dev/isa/seagate.c
359
switch (type) {
sys/dev/isa/seagate.c
404
sea->type = signatures[i].type;
sys/dev/isa/seagate.c
409
switch (sea->type) {
sys/dev/isa/seagate.c
527
switch (sea->type) {
sys/dev/isa/seagate.c
992
if (sea->type == FDOMAIN840)
sys/dev/isa/smsc.c
194
#define INITSENSOR(index, string, reg, type) \
sys/dev/isa/smsc.c
198
sc->sc_sensor[index].units = type; \
sys/dev/isa/wss.c
161
arg.type = AUDIODEV_TYPE_OPL;
sys/dev/isa/wss.c
234
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/wss.c
244
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/wss.c
254
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/wss.c
264
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/wss.c
274
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/wss.c
284
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/wss.c
291
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/wss.c
298
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/wss.c
306
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/wss.c
313
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/wss.c
320
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/wss.c
327
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/wss.c
341
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/wt.c
132
enum wttype type; /* type of controller */
sys/dev/isa/wt.c
301
sc->type = WANGTEK;
sys/dev/isa/wt.c
309
sc->type = ARCHIVE;
sys/dev/isa/wt.c
547
sc->type == ARCHIVE ? MT_ISVIPER1 : 0x11;
sys/dev/isa/wt.c
802
if (sc->type == WANGTEK && rwmode) {
sys/dev/isa/wt.c
942
if (sc->type == ARCHIVE) {
sys/dev/isa/ym.c
1005
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ym.c
258
arg.type = AUDIODEV_TYPE_OPL;
sys/dev/isa/ym.c
268
arg.type = AUDIODEV_TYPE_MPU;
sys/dev/isa/ym.c
571
DVNAME(sc), cp->dev, cp->type, cp->un.ord,
sys/dev/isa/ym.c
835
dip->type = AUDIO_MIXER_CLASS;
sys/dev/isa/ym.c
848
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ym.c
887
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/ym.c
900
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ym.c
911
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/ym.c
917
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ym.c
928
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/ym.c
944
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isa/ym.c
960
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ym.c
970
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ym.c
980
dip->type = AUDIO_MIXER_VALUE;
sys/dev/isa/ym.c
991
dip->type = AUDIO_MIXER_ENUM;
sys/dev/isapnp/aha_isapnp.c
125
ipa->ipa_irq[0].type, IPL_BIO, aha_intr, sc);
sys/dev/isapnp/aic_isapnp.c
105
ipa->ipa_irq[0].type, IPL_BIO, aicintr, sc);
sys/dev/isapnp/atppc_isapnp.c
120
ipa->ipa_irq[0].type, IPL_TTY, atppcintr, sc);
sys/dev/isapnp/com_isapnp.c
108
ipa->ipa_irq[0].type, IPL_SERIAL, comintr, sc);
sys/dev/isapnp/ess_isapnp.c
117
sc->sc_audio1.ist = ipa->ipa_irq[0].type;
sys/dev/isapnp/if_an_isapnp.c
121
ipa->ipa_irq[0].type, IPL_NET, an_intr, sc);
sys/dev/isapnp/if_cs_isapnp.c
153
ipa->ipa_irq[0].type, IPL_NET, cs_intr, sc);
sys/dev/isapnp/if_ep_isapnp.c
106
ipa->ipa_irq[0].type, IPL_NET, epintr, sc);
sys/dev/isapnp/if_fmv_isapnp.c
103
ipa->ipa_irq[0].type, IPL_NET, mb86960_intr, sc);
sys/dev/isapnp/if_le_isapnp.c
250
ipa->ipa_irq[0].type, IPL_NET, le_isapnp_intredge, sc);
sys/dev/isapnp/if_ne_isapnp.c
166
ipa->ipa_irq[0].type, IPL_NET, dp8390_intr, dsc);
sys/dev/isapnp/isapnp.c
244
i->type = (i->flags & LEVEL_IRQ) ? IST_LEVEL : IST_EDGE;
sys/dev/isapnp/isapnp.c
252
i->type, &irq) == 0) {
sys/dev/isapnp/isapnpvar.h
114
u_int8_t type:4;
sys/dev/isapnp/mpu_isapnp.c
92
ipa->ipa_irq[0].type, IPL_AUDIO, mpu_intr, &sc->sc_mpu);
sys/dev/isapnp/sb_isapnp.c
165
ipa->ipa_irq[0].type, IPL_AUDIO, sbdsp_intr, sc);
sys/dev/isapnp/wdc_isapnp.c
140
ipa->ipa_irq[0].type, IPL_BIO, wdcintr, &sc->ata_channel);
sys/dev/isapnp/wss_isapnp.c
174
arg.type = AUDIODEV_TYPE_OPL;
sys/dev/iscsi/iscsi_send.c
1092
snack_missing(connection_t *conn, ccb_t *ccb, uint8_t type,
sys/dev/iscsi/iscsi_send.c
1103
hpdu->pduh_Flags = FLAG_FINAL | type;
sys/dev/iscsi/iscsi_send.c
1105
hpdu->pduh_InitiatorTaskTag = (type == SNACK_DATA_NAK) ? ccb->ccb_ITT : 0xffffffff;
sys/dev/iscsi/iscsi_send.c
1131
send_snack(connection_t *conn, pdu_t *rx_pdu, ccb_t *tx_ccb, uint8_t type)
sys/dev/iscsi/iscsi_send.c
1141
hpdu->pduh_Flags = FLAG_FINAL | type;
sys/dev/iscsi/iscsi_send.c
1143
switch (type) {
sys/dev/iscsi/iscsi_send.c
1167
DEBOUT(("Invalid type %d in send_snack\n", type));
sys/dev/kttcp.c
357
int flags, len, error, offset, moff, type;
sys/dev/kttcp.c
364
type = 0;
sys/dev/kttcp.c
506
type = m->m_type;
sys/dev/kttcp.c
507
if (type == MT_OOBDATA)
sys/dev/kttcp.c
523
if (type != MT_OOBDATA)
sys/dev/kttcp.c
525
} else if (type == MT_OOBDATA)
sys/dev/lockstat.h
146
#define LOCKSTAT_EVENT(flag, lock, type, count, time) \
sys/dev/lockstat.h
151
(type), (count), (time)); \
sys/dev/lockstat.h
154
#define LOCKSTAT_EVENT_RA(flag, lock, type, count, time, ra) \
sys/dev/lockstat.h
158
(type), (count), (time)); \
sys/dev/lockstat.h
191
#define LOCKSTAT_EVENT(flag, lock, type, count, time) /* nothing */
sys/dev/lockstat.h
192
#define LOCKSTAT_EVENT_RA(flag, lock, type, count, time, ra) /* nothing */
sys/dev/marvell/gtidmac.c
691
uint32_t type;
sys/dev/marvell/gtidmac.c
694
type = bus_space_read_4(sc->sc_iot, sc->sc_ioh,
sys/dev/marvell/gtidmac.c
696
type &= MVXORE_XEECR_ERRORTYPE_MASK;
sys/dev/marvell/gtidmac.c
697
event = type - chan * MVXORE_I_BITS;
sys/dev/mca/if_le_mca.c
295
le_mca_wrreg(struct le_mca_softc *sc, int val, int type)
sys/dev/mca/if_le_mca.c
305
if ((type & REGREAD) == 0)
sys/dev/mca/if_le_mca.c
308
RESET | type);
sys/dev/microcode/aic7xxx/aicasm.c
138
sentinal->type = SCOPE_ROOT;
sys/dev/microcode/aic7xxx/aicasm.c
280
|| SLIST_FIRST(&scope_stack)->type != SCOPE_ROOT) {
sys/dev/microcode/aic7xxx/aicasm.c
335
if (cur_instr->patch_label->type != LABEL) {
sys/dev/microcode/aic7xxx/aicasm.c
803
switch (cur_scope->type) {
sys/dev/microcode/aic7xxx/aicasm.c
828
if (cur_scope->type == SCOPE_IF) {
sys/dev/microcode/aic7xxx/aicasm.h
90
void include_file(char *file_name, include_type type);
sys/dev/microcode/aic7xxx/aicasm_gram.y
1011
if ($2->type != UNINITIALIZED) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1015
$2->type = LABEL;
sys/dev/microcode/aic7xxx/aicasm_gram.y
1062
new_scope->type = SCOPE_IF;
sys/dev/microcode/aic7xxx/aicasm_gram.y
1080
|| last_scope->type == T_ELSE) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1087
new_scope->type = SCOPE_ELSE_IF;
sys/dev/microcode/aic7xxx/aicasm_gram.y
1105
|| last_scope->type == SCOPE_ELSE) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1111
new_scope->type = SCOPE_ELSE;
sys/dev/microcode/aic7xxx/aicasm_gram.y
1122
if (scope_context->type == SCOPE_ROOT) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1390
if (sym->type == UNINITIALIZED) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1391
sym->type = field_type;
sys/dev/microcode/aic7xxx/aicasm_gram.y
1406
} else if (sym->type != field_type) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1430
switch (symbol->type) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1540
if (cur_symbol == NULL || cur_symbol->type != MACRO) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1571
if (cur_symbol == NULL || cur_symbol->type != MACRO) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1588
if (symbol->type == UNINITIALIZED) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1593
} else if (symbol->type == ALIAS) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1595
} else if ((symbol->type != REGISTER)
sys/dev/microcode/aic7xxx/aicasm_gram.y
1596
&& (symbol->type != SCBLOC)
sys/dev/microcode/aic7xxx/aicasm_gram.y
1597
&& (symbol->type != SRAMLOC)) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1761
} else if (address->symbol->type == UNINITIALIZED) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1849
if ((node->symbol->type == MASK
sys/dev/microcode/aic7xxx/aicasm_gram.y
1850
|| node->symbol->type == FIELD
sys/dev/microcode/aic7xxx/aicasm_gram.y
1851
|| node->symbol->type == ENUM
sys/dev/microcode/aic7xxx/aicasm_gram.y
1852
|| node->symbol->type == ENUM_ENTRY)
sys/dev/microcode/aic7xxx/aicasm_gram.y
1883
if (false_func->type != UNINITIALIZED) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1888
false_func->type = CONDITIONAL;
sys/dev/microcode/aic7xxx/aicasm_gram.y
1895
if (symbol->type == CONDITIONAL)
sys/dev/microcode/aic7xxx/aicasm_gram.y
1898
if (symbol->type != UNINITIALIZED) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
1904
symbol->type = CONDITIONAL;
sys/dev/microcode/aic7xxx/aicasm_gram.y
1943
&& (immed->referenced_syms.slh_first->symbol->type == DOWNLOAD_CONST))
sys/dev/microcode/aic7xxx/aicasm_gram.y
304
if ($1->type != UNINITIALIZED) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
309
cur_symbol->type = cur_symtype;
sys/dev/microcode/aic7xxx/aicasm_gram.y
328
if (cur_symbol->type != REGISTER) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
428
if (symbol->type != CONST) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
510
if ($2->type != UNINITIALIZED) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
515
$2->type = ALIAS;
sys/dev/microcode/aic7xxx/aicasm_gram.y
674
switch (symbol->type) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
711
if ($2->type != UNINITIALIZED) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
716
$2->type = CONST;
sys/dev/microcode/aic7xxx/aicasm_gram.y
727
if ($2->type != UNINITIALIZED) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
732
$2->type = DOWNLOAD_CONST;
sys/dev/microcode/aic7xxx/aicasm_gram.y
741
if ($2->type != UNINITIALIZED) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
747
cur_symbol->type = MACRO;
sys/dev/microcode/aic7xxx/aicasm_gram.y
793
cur_symbol->type = SRAMLOC;
sys/dev/microcode/aic7xxx/aicasm_gram.y
817
if (cur_symbol->type != UNINITIALIZED) {
sys/dev/microcode/aic7xxx/aicasm_gram.y
822
cur_symbol->type = SCBLOC;
sys/dev/microcode/aic7xxx/aicasm_gram.y
865
if ($3->type != CONST) {
sys/dev/microcode/aic7xxx/aicasm_macro_gram.y
136
if (macro_symbol == NULL || macro_symbol->type != MACRO) {
sys/dev/microcode/aic7xxx/aicasm_symbol.c
238
switch(symbol->type) {
sys/dev/microcode/aic7xxx/aicasm_symbol.c
258
&& (curnode->symbol->type > newnode->symbol->type
sys/dev/microcode/aic7xxx/aicasm_symbol.c
259
|| (curnode->symbol->type == newnode->symbol->type
sys/dev/microcode/aic7xxx/aicasm_symbol.c
278
&& (cursymbol->type > symbol->type
sys/dev/microcode/aic7xxx/aicasm_symbol.c
279
|| (cursymbol->type == symbol->type
sys/dev/microcode/aic7xxx/aicasm_symbol.c
495
switch(cursym->type) {
sys/dev/microcode/aic7xxx/aicasm_symbol.c
538
switch(curnode->symbol->type) {
sys/dev/microcode/aic7xxx/aicasm_symbol.c
600
switch(curnode->symbol->type) {
sys/dev/microcode/aic7xxx/aicasm_symbol.c
83
new_symbol->type = UNINITIALIZED;
sys/dev/microcode/aic7xxx/aicasm_symbol.c
97
switch(symbol->type) {
sys/dev/microcode/aic7xxx/aicasm_symbol.h
130
symtype type;
sys/dev/microcode/aic7xxx/aicasm_symbol.h
174
scope_type type;
sys/dev/microcode/siop/ncr53cxxx.c
1117
if (tokens[i].type == ',')
sys/dev/microcode/siop/ncr53cxxx.c
1128
if (tokens[i].type == ',')
sys/dev/microcode/siop/ncr53cxxx.c
1144
void transfer (int word0, int type)
sys/dev/microcode/siop/ncr53cxxx.c
1150
if (type == 0 && reserved ("rel", i)) {
sys/dev/microcode/siop/ncr53cxxx.c
1160
else if (type != 1) {
sys/dev/microcode/siop/ncr53cxxx.c
1163
if (type == 0)
sys/dev/microcode/siop/ncr53cxxx.c
1171
if (tokens[i].type != ',')
sys/dev/microcode/siop/ncr53cxxx.c
1198
if (i < ntokens && tokens[i].type != ',') {
sys/dev/microcode/siop/ncr53cxxx.c
1212
if (tokens[i].type == ',')
sys/dev/microcode/siop/ncr53cxxx.c
122
short type;
sys/dev/microcode/siop/ncr53cxxx.c
1237
if (tokens[t++].type == ',') {
sys/dev/microcode/siop/ncr53cxxx.c
1313
if (tokens[tokenix].type != ',')
sys/dev/microcode/siop/ncr53cxxx.c
1343
else if (tokens[tokenix+1].type == '|')
sys/dev/microcode/siop/ncr53cxxx.c
1347
else if (tokens[tokenix+1].type == '&')
sys/dev/microcode/siop/ncr53cxxx.c
1349
else if (tokens[tokenix+1].type == '+')
sys/dev/microcode/siop/ncr53cxxx.c
1351
else if (tokens[tokenix+1].type == '-')
sys/dev/microcode/siop/ncr53cxxx.c
437
if (tokens[i].type)
sys/dev/microcode/siop/ncr53cxxx.c
438
fprintf (listfp,"'%c'\n", tokens[i].type);
sys/dev/microcode/siop/ncr53cxxx.c
443
if (ntokens >= 2 && tokens[0].type == 0 &&
sys/dev/microcode/siop/ncr53cxxx.c
444
tokens[1].type == ':') {
sys/dev/microcode/siop/ncr53cxxx.c
47
int type;
sys/dev/microcode/siop/ncr53cxxx.c
504
symbols[i].type != S_EXTERNAL) {
sys/dev/microcode/siop/ncr53cxxx.c
508
if (symbols[i].type == S_ABSOLUTE)
sys/dev/microcode/siop/ncr53cxxx.c
510
else if (symbols[i].type == S_RELATIVE)
sys/dev/microcode/siop/ncr53cxxx.c
512
else if (symbols[i].type == S_EXTERNAL)
sys/dev/microcode/siop/ncr53cxxx.c
544
stypes[symbols[i].type], symbols[i].name);
sys/dev/microcode/siop/ncr53cxxx.c
583
tokens[ntokens].type = 0;
sys/dev/microcode/siop/ncr53cxxx.c
586
tokens[ntokens].type = c;
sys/dev/microcode/siop/ncr53cxxx.c
597
if (tokens[tokenix].type) {
sys/dev/microcode/siop/ncr53cxxx.c
600
tokens[tokenix].type);
sys/dev/microcode/siop/ncr53cxxx.c
625
void define_symbol (char *name, u_int32_t value, short type, short flags)
sys/dev/microcode/siop/ncr53cxxx.c
631
if (symbols[i].type == type && strcmp (symbols[i].name, name) == 0) {
sys/dev/microcode/siop/ncr53cxxx.c
655
symbols[nsymbols].type = type;
sys/dev/microcode/siop/ncr53cxxx.c
712
if (tokens[t].type == 0 && strcmpi (tokens[t].name, string) == 0)
sys/dev/microcode/siop/ncr53cxxx.c
752
if (tokens[i].type == '+')
sys/dev/microcode/siop/ncr53cxxx.c
754
else if (tokens[i].type == '-')
sys/dev/microcode/siop/ncr53cxxx.c
769
if (tokens[t].type) {
sys/dev/microcode/siop/ncr53cxxx.c
848
symbols[nsymbols].type = S_LABEL; /* assume forward reference */
sys/dev/microcode/siop/ncr53cxxx.c
877
if (tokens[tokenix].type != 0 || tokens[tokenix + 1].type != ':')
sys/dev/microcode/siop/ncr53cxxx.c
895
short type;
sys/dev/microcode/siop/ncr53cxxx.c
898
type = strcmpi (tokens[tokenix-1].name, "ENTRY") ? S_EXTERNAL : S_LABEL;
sys/dev/microcode/siop/ncr53cxxx.c
899
flags = type == S_LABEL ? F_ENTRY : 0;
sys/dev/microcode/siop/ncr53cxxx.c
901
if (tokens[i].type != 0) {
sys/dev/microcode/siop/ncr53cxxx.c
905
define_symbol (tokens[i].name, 0, type, flags);
sys/dev/microcode/siop/ncr53cxxx.c
907
if (tokens[++i].type == ',')
sys/dev/microcode/siop/ncr53cxxx.c
924
int type;
sys/dev/microcode/siop/ncr53cxxx.c
926
type = strcmpi (tokens[tokenix-1].name, "ABSOLUTE") ? S_RELATIVE : S_ABSOLUTE;
sys/dev/microcode/siop/ncr53cxxx.c
929
if (tokens[i].type) {
sys/dev/microcode/siop/ncr53cxxx.c
933
if (tokens[i + 1].type != '=') {
sys/dev/microcode/siop/ncr53cxxx.c
940
define_symbol (name, value, type, F_DEFINED);
sys/dev/microcode/siop/ncr53cxxx.c
974
else if (reserved ("from", tokenix) || tokens[tokenix+1].type == ',')
sys/dev/midi.c
143
DPRINTFN(2,("midiprobe: type=%d sa=%p hw=%p\n", sa->type, sa,
sys/dev/midi.c
146
return sa->type == AUDIODEV_TYPE_MIDI;
sys/dev/midi.c
1895
arg.type = AUDIODEV_TYPE_MIDI;
sys/dev/mscp/mscp_disk.c
1032
rrmakelabel(struct disklabel *dl, long type)
sys/dev/mscp/mscp_disk.c
1040
dl->d_typename[p++] = MSCP_MID_CHAR(2, type);
sys/dev/mscp/mscp_disk.c
1041
dl->d_typename[p++] = MSCP_MID_CHAR(1, type);
sys/dev/mscp/mscp_disk.c
1042
if (MSCP_MID_ECH(0, type))
sys/dev/mscp/mscp_disk.c
1043
dl->d_typename[p++] = MSCP_MID_CHAR(0, type);
sys/dev/mscp/mscp_disk.c
1044
n = MSCP_MID_NUM(type);
sys/dev/mscp/mscp_subr.c
528
int type = mp->mscp_guse.guse_mediaid;
sys/dev/mscp/mscp_subr.c
531
aprint_normal("%c%c", MSCP_MID_CHAR(2, type),
sys/dev/mscp/mscp_subr.c
532
MSCP_MID_CHAR(1, type));
sys/dev/mscp/mscp_subr.c
533
if (MSCP_MID_ECH(0, type))
sys/dev/mscp/mscp_subr.c
534
aprint_normal("%c", MSCP_MID_CHAR(0, type));
sys/dev/mscp/mscp_subr.c
535
aprint_normal("%d at %s drive %d", MSCP_MID_NUM(type), name,
sys/dev/nand/nand.c
80
.type = FLASH_TYPE_NAND,
sys/dev/nor/cfi.c
252
#define CFI_QRY_UNPACK_COMMON(cfi, data, type) \
sys/dev/nor/cfi.c
264
type *pri_data = &data[qryp->addr_pri]; \
sys/dev/nor/nor.c
89
.type = FLASH_TYPE_NOR,
sys/dev/nvmm/nvmm.c
1130
nvmm_open(dev_t dev, int flags, int type, struct lwp *l)
sys/dev/nvmm/x86/nvmm_x86.c
100
.type = 3,
sys/dev/nvmm/x86/nvmm_x86.c
110
.type = 3,
sys/dev/nvmm/x86/nvmm_x86.c
120
.type = 2,
sys/dev/nvmm/x86/nvmm_x86.c
130
.type = 2,
sys/dev/nvmm/x86/nvmm_x86.c
140
.type = SDT_SYSLDT,
sys/dev/nvmm/x86/nvmm_x86.c
150
.type = SDT_SYS286BSY,
sys/dev/nvmm/x86/nvmm_x86.c
60
.type = 3,
sys/dev/nvmm/x86/nvmm_x86.c
70
.type = 3,
sys/dev/nvmm/x86/nvmm_x86.c
80
.type = 3,
sys/dev/nvmm/x86/nvmm_x86.c
90
.type = 3,
sys/dev/nvmm/x86/nvmm_x86.h
120
u_int type;
sys/dev/nvmm/x86/nvmm_x86.h
226
uint16_t type:4;
sys/dev/nvmm/x86/nvmm_x86_svm.c
1959
__SHIFTIN(seg->attrib.type, SVM_SEG_ATTRIB_TYPE) |
sys/dev/nvmm/x86/nvmm_x86_svm.c
1976
seg->attrib.type = __SHIFTOUT(vseg->attrib, SVM_SEG_ATTRIB_TYPE);
sys/dev/nvmm/x86/nvmm_x86_svm.c
758
int type = 0, err = 0;
sys/dev/nvmm/x86/nvmm_x86_svm.c
760
evtype = comm->event.type;
sys/dev/nvmm/x86/nvmm_x86_svm.c
767
type = SVM_EVENT_TYPE_EXC;
sys/dev/nvmm/x86/nvmm_x86_svm.c
778
type = SVM_EVENT_TYPE_HW_INT;
sys/dev/nvmm/x86/nvmm_x86_svm.c
780
type = SVM_EVENT_TYPE_NMI;
sys/dev/nvmm/x86/nvmm_x86_svm.c
791
__SHIFTIN(type, VMCB_CTRL_EVENTINJ_TYPE) |
sys/dev/nvmm/x86/nvmm_x86_svm.c
807
comm->event.type = NVMM_VCPU_EVENT_EXCP;
sys/dev/nvmm/x86/nvmm_x86_svm.c
821
comm->event.type = NVMM_VCPU_EVENT_EXCP;
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1091
int type = 0, err = 0, ret = EINVAL;
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1096
evtype = comm->event.type;
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1113
type = INTR_TYPE_HW_EXC;
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1117
type = INTR_TYPE_EXT_INT;
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1119
type = INTR_TYPE_NMI;
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1130
__SHIFTIN(type, INTR_INFO_TYPE) |
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1150
comm->event.type = NVMM_VCPU_EVENT_EXCP;
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1164
comm->event.type = NVMM_VCPU_EVENT_EXCP;
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1645
uint64_t type, gpr, oldcr0, realcr0, fakecr0;
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1648
type = __SHIFTOUT(qual, VMX_QUAL_CR_TYPE);
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1649
if (type != CR_TYPE_WRITE) {
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1714
uint64_t type, gpr, oldcr4, cr4;
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1716
type = __SHIFTOUT(qual, VMX_QUAL_CR_TYPE);
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1717
if (type != CR_TYPE_WRITE) {
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1753
uint64_t type, gpr;
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1756
type = __SHIFTOUT(qual, VMX_QUAL_CR_TYPE);
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1757
if (type == CR_TYPE_WRITE) {
sys/dev/nvmm/x86/nvmm_x86_vmx.c
1759
} else if (type == CR_TYPE_READ) {
sys/dev/nvmm/x86/nvmm_x86_vmx.c
2671
__SHIFTIN(segs[idx].attrib.type, VMX_SEG_ATTRIB_TYPE) |
sys/dev/nvmm/x86/nvmm_x86_vmx.c
2704
segs[idx].attrib.type = __SHIFTOUT(attrib, VMX_SEG_ATTRIB_TYPE);
sys/dev/ofisa/atppc_ofisa.c
143
sc->sc_iot = (reg.type == OFISA_REG_TYPE_IO) ? aa->iot : aa->memt;
sys/dev/ofisa/com_ofisa.c
144
iot = (reg.type == OFISA_REG_TYPE_IO) ? aa->iot : aa->memt;
sys/dev/ofisa/ess_ofisa.c
103
if (reg.type != OFISA_REG_TYPE_IO) {
sys/dev/ofisa/if_cs_ofisa.c
133
if (reg[i].type == OFISA_REG_TYPE_IO) {
sys/dev/ofisa/joy_ofisa.c
97
if (reg.type != OFISA_REG_TYPE_IO) {
sys/dev/ofisa/lpt_ofisa.c
132
sc->sc_iot = (reg.type == OFISA_REG_TYPE_IO) ? aa->iot : aa->memt;
sys/dev/ofisa/mcclock_ofisa.c
154
sc->sc_bst = (reg.type == OFISA_REG_TYPE_IO) ? aa->iot : aa->memt;
sys/dev/ofisa/ofisa.c
189
descp[i].type = OFISA_REG_TYPE_IO;
sys/dev/ofisa/ofisa.c
191
descp[i].type = OFISA_REG_TYPE_MEM;
sys/dev/ofisa/ofisa.c
215
descp[i].type == OFISA_REG_TYPE_IO ? "io" : "mem",
sys/dev/ofisa/ofisavar.h
52
int type; /* type. XXX aliasing modifiers? */
sys/dev/ofisa/pckbc_ofisa.c
123
if (n != 2 || regs[0].type != OFISA_REG_TYPE_IO || regs[1].type != OFISA_REG_TYPE_IO
sys/dev/ofisa/sb_ofisa.c
109
if (reg.type != OFISA_REG_TYPE_IO) {
sys/dev/ofisa/wdc_ofisa.c
136
wdr->cmd_iot = (reg[0].type == OFISA_REG_TYPE_IO) ? aa->iot : aa->memt;
sys/dev/ofisa/wdc_ofisa.c
137
wdr->ctl_iot = (reg[1].type == OFISA_REG_TYPE_IO) ? aa->iot : aa->memt;
sys/dev/ofw/ofbus.c
119
char name[64], type[64];
sys/dev/ofw/ofbus.c
135
type, sizeof(type));
sys/dev/ofw/ofbus.c
138
printf(": %s (%s)\n", type, name);
sys/dev/ofw/ofbus.c
168
type[0] = 0;
sys/dev/ofw/ofbus.c
169
if (OF_getprop(child, "device_type", type, sizeof(type)) <= 0)
sys/dev/ofw/ofbus.c
171
if (strncmp(type, "display", sizeof(type)) != 0)
sys/dev/ofw/ofbus.c
195
type[0] = 0;
sys/dev/ofw/ofbus.c
196
if (OF_getprop(child, "device_type", type, sizeof(type)) > 0) {
sys/dev/ofw/ofbus.c
197
if (strncmp(type, "display", sizeof(type)) == 0)
sys/dev/ofw/ofdisk.c
123
char type[8];
sys/dev/ofw/ofdisk.c
128
if ((l = OF_getprop(oba->oba_phandle, "device_type", type,
sys/dev/ofw/ofdisk.c
129
sizeof type - 1)) < 0)
sys/dev/ofw/ofdisk.c
131
if (l >= sizeof type)
sys/dev/ofw/ofdisk.c
133
type[l] = 0;
sys/dev/ofw/ofdisk.c
134
return strcmp(type, "block") == 0 || strcmp(type, "scsi") == 0;
sys/dev/ofw/ofnet.c
88
char type[32];
sys/dev/ofw/ofnet.c
93
if ((l = OF_getprop(oba->oba_phandle, "device_type", type,
sys/dev/ofw/ofnet.c
94
sizeof type - 1)) < 0)
sys/dev/ofw/ofnet.c
96
if (l >= sizeof type)
sys/dev/ofw/ofnet.c
98
type[l] = 0;
sys/dev/ofw/ofnet.c
99
if (strcmp(type, "network"))
sys/dev/ofw/ofrtc.c
103
char type[8];
sys/dev/ofw/ofrtc.c
108
if ((l = OF_getprop(oba->oba_phandle, "device_type", type,
sys/dev/ofw/ofrtc.c
109
sizeof type - 1)) < 0 ||
sys/dev/ofw/ofrtc.c
110
l >= sizeof type)
sys/dev/ofw/ofrtc.c
114
type[l] = 0;
sys/dev/ofw/ofrtc.c
115
return !strcmp(type, "rtc");
sys/dev/ofw/ofw_isa.h
94
uint32_t type;
sys/dev/ofw/ofw_subr.c
297
args->type = proptype;
sys/dev/ofw/ofw_subr.c
97
.type = DEVHANDLE_TYPE_OF,
sys/dev/onewire/onewire_subr.c
91
onewire_famname(int type)
sys/dev/onewire/onewire_subr.c
97
if (of->of_type == type)
sys/dev/pad/pad.c
697
di->type = AUDIO_MIXER_CLASS;
sys/dev/pad/pad.c
703
di->type = AUDIO_MIXER_CLASS;
sys/dev/pad/pad.c
709
di->type = AUDIO_MIXER_VALUE;
sys/dev/pad/pad.c
717
di->type = AUDIO_MIXER_VALUE;
sys/dev/pci/agp.c
1066
uint32_t type; /* 0 == normal, other devspec */
sys/dev/pci/agp.c
1078
aga.type = oaga->type;
sys/dev/pci/agp.c
1188
agp_alloc_memory(void *dev, int type, vsize_t bytes)
sys/dev/pci/agp.c
1192
return (void *)AGP_ALLOC_MEMORY(sc, type, bytes);
sys/dev/pci/agp.c
616
agp_generic_alloc_memory(struct agp_softc *sc, int type, vsize_t size)
sys/dev/pci/agp.c
626
if (type != 0) {
sys/dev/pci/agp.c
628
type);
sys/dev/pci/agp.c
929
alloc->type,
sys/dev/pci/agp_i810.c
1258
agp_i810_alloc_memory(struct agp_softc *sc, int type, vsize_t size)
sys/dev/pci/agp_i810.c
1264
DPRINTF(sc, "AGP: alloc(%d, 0x%"PRIxMAX")\n", type, (uintmax_t)size);
sys/dev/pci/agp_i810.c
1276
switch (type) {
sys/dev/pci/agp_i810.c
1299
mem->am_type = type;
sys/dev/pci/agp_i810.c
1301
switch (type) {
sys/dev/pci/agp_i810.c
1324
panic("invalid agp memory type: %d", type);
sys/dev/pci/amdccp_pci.c
105
pcireg_t type;
sys/dev/pci/amdccp_pci.c
112
type = pci_mapreg_type(pa->pa_pc, pa->pa_tag, AMDCCP_MEM_BAR);
sys/dev/pci/amdccp_pci.c
113
if (PCI_MAPREG_TYPE(type) != PCI_MAPREG_TYPE_MEM) {
sys/dev/pci/amdccp_pci.c
118
if (pci_mapreg_map(pa, AMDCCP_MEM_BAR, type, 0,
sys/dev/pci/atppc_puc.c
87
if (aa->type != PUC_PORT_TYPE_LPT)
sys/dev/pci/auixp.c
1068
sc->type = card->type;
sys/dev/pci/auixp.c
98
int type;
sys/dev/pci/auixpvar.h
86
int type;
sys/dev/pci/bktr/bktr_core.c
2674
if ((pf->type == METEOR_PIXTYPE_RGB) && (pf->Bpp == 3))
sys/dev/pci/bktr/bktr_core.c
3605
if (pf_int->public.type == METEOR_PIXTYPE_RGB) {
sys/dev/pci/bktr/bktr_core.c
3620
if (pf_int->public.type == METEOR_PIXTYPE_YUV) {
sys/dev/pci/bktr/bktr_core.c
3627
if (pf_int->public.type == METEOR_PIXTYPE_YUV_PACKED) {
sys/dev/pci/bktr/bktr_core.c
3634
if (pf_int->public.type == METEOR_PIXTYPE_YUV_12) {
sys/dev/pci/bktr/bktr_core.c
3653
start_capture(bktr_ptr_t bktr, unsigned type)
sys/dev/pci/bktr/bktr_core.c
3670
bktr->flags |= type;
sys/dev/pci/bktr/bktr_core.c
3688
if (type == METEOR_SINGLE) {
sys/dev/pci/bktr/bktr_core.c
3817
if ((pf1->type == pf2->type) &&
sys/dev/pci/bktr/bktr_core.c
440
static void start_capture(bktr_ptr_t bktr, unsigned type);
sys/dev/pci/bktr/bktr_mem.c
117
bktr_store_address(int unit, int type, vm_offset_t addr) {
sys/dev/pci/bktr/bktr_mem.c
121
,unit,type,addr);
sys/dev/pci/bktr/bktr_mem.c
125
switch (type) {
sys/dev/pci/bktr/bktr_mem.c
142
type,unit,addr);
sys/dev/pci/bktr/bktr_mem.c
150
bktr_retrieve_address(int unit, int type) {
sys/dev/pci/bktr/bktr_mem.c
153
printf("bktr_mem: Unit number %d too large for memory type %d\n",unit,type);
sys/dev/pci/bktr/bktr_mem.c
156
switch (type) {
sys/dev/pci/bktr/bktr_mem.c
162
default: printf("bktr_mem: Invalid memory type %d for bktr%d",type,unit);
sys/dev/pci/bktr/bktr_mem.c
71
bktr_mem_modevent(module_t mod, int type, void *unused) {
sys/dev/pci/bktr/bktr_mem.c
73
switch (type) {
sys/dev/pci/bktr/bktr_mem.h
61
void bktr_store_address(int unit, int type, vm_offset_t addr);
sys/dev/pci/bktr/bktr_mem.h
62
vm_offset_t bktr_retrieve_address(int unit, int type);
sys/dev/pci/bktr/bktr_os.c
299
unsigned int type = pci_get_devid(dev);
sys/dev/pci/bktr/bktr_os.c
302
if (PCI_VENDOR(type) == PCI_VENDOR_BROOKTREE)
sys/dev/pci/bktr/bktr_os.c
304
switch (PCI_PRODUCT(type)) {
sys/dev/pci/bktr/bktr_os.c
859
static const char* bktr_probe(pcici_t tag, pcidi_t type);
sys/dev/pci/bktr/bktr_os.c
911
bktr_probe(pcici_t tag, pcidi_t type)
sys/dev/pci/bktr/bktr_os.c
915
if (PCI_VENDOR(type) == PCI_VENDOR_BROOKTREE)
sys/dev/pci/bktr/bktr_os.c
917
switch (PCI_PRODUCT(type)) {
sys/dev/pci/bktr/bktr_reg.h
355
u_char type;
sys/dev/pci/bktr/bktr_tuner.c
779
tv_freq(bktr_ptr_t bktr, int frequency, int type)
sys/dev/pci/bktr/bktr_tuner.c
795
if (type == TV_FREQUENCY) {
sys/dev/pci/bktr/bktr_tuner.c
865
if (type == FM_RADIO_FREQUENCY) {
sys/dev/pci/bktr/bktr_tuner.h
91
int tv_freq(bktr_ptr_t bktr, int frequency, int type);
sys/dev/pci/cmpci.c
1376
if (cp->type != AUDIO_MIXER_VALUE)
sys/dev/pci/cmpci.c
1397
if (cp->type != AUDIO_MIXER_SET)
sys/dev/pci/cmpci.c
1429
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/pci/cmpci.c
1455
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/pci/cmpci.c
419
aa.type = AUDIODEV_TYPE_OPL;
sys/dev/pci/cmpci.c
425
aa.type = AUDIODEV_TYPE_MPU;
sys/dev/pci/cmpci.c
719
dip->type = AUDIO_MIXER_CLASS;
sys/dev/pci/cmpci.c
739
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/cmpci.c
756
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/cmpci.c
778
dip->type = AUDIO_MIXER_SET;
sys/dev/pci/cmpci.c
804
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/cmpci.c
814
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/cmpci.c
832
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/cmpci.c
843
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/cmpci.c
855
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/cmpci.c
866
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/cmpci.c
876
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/com_puc.c
82
if (aa->type != PUC_PORT_TYPE_COM)
sys/dev/pci/coram.c
609
info->type = FE_ATSC;
sys/dev/pci/cs4280.c
347
sc->type = TYPE_CS4280;
sys/dev/pci/cs4281.c
273
sc->type = TYPE_CS4281;
sys/dev/pci/cs428x.c
207
if (sc->type == TYPE_CS4280)
sys/dev/pci/cs428x.c
245
if (sc->type == TYPE_CS4280)
sys/dev/pci/cs428x.h
99
int type;
sys/dev/pci/cxdtv.c
505
info->type = FE_ATSC;
sys/dev/pci/cxgb/cxgb_adapter.h
241
int type;
sys/dev/pci/cxgb/cxgb_common.h
740
enum sge_context_type type, int respq, u64 base_addr,
sys/dev/pci/cxgb/cxgb_mvec.h
39
#define mbuf_vec_set_type(mv, i, type) \
sys/dev/pci/cxgb/cxgb_mvec.h
41
& ~MBUF_IOV_TYPE_MASK) | type)
sys/dev/pci/cxgb/cxgb_offload.c
1472
tdev->type = adapter->params.rev == 0 ?
sys/dev/pci/cxgb/cxgb_offload.c
584
if (tdev->type == T3A)
sys/dev/pci/cxgb/cxgb_osdep.c
105
void m_cljset(struct mbuf *m, void *cl, int type)
sys/dev/pci/cxgb/cxgb_osdep.c
113
int i, offset, type, first, len;
sys/dev/pci/cxgb/cxgb_osdep.c
134
type = mbuf_vec_get_type(mv, i);
sys/dev/pci/cxgb/cxgb_osdep.c
139
if (__predict_false(type == EXT_MBUF)) {
sys/dev/pci/cxgb/cxgb_osdep.c
158
m_cljset(m0, (uint8_t *)cl, type);
sys/dev/pci/cxgb/cxgb_osdep.c
168
type = mbuf_vec_get_type(mv, first);
sys/dev/pci/cxgb/cxgb_osdep.c
170
m_cljset(m, cl, type);
sys/dev/pci/cxgb/cxgb_osdep.h
275
#define max_t(type, a, b) (type)uimax((a), (b))
sys/dev/pci/cxgb/cxgb_osdep.h
68
void m_cljset(struct mbuf *m, void *cl, int type);
sys/dev/pci/cxgb/cxgb_sge.c
2219
m_cljset(m, sd->cl, fl->type);
sys/dev/pci/cxgb/cxgb_sge.c
2298
m_cljset(m, cl, fl->type);
sys/dev/pci/cxgb/cxgb_t3_hw.c
1880
unsigned int type)
sys/dev/pci/cxgb/cxgb_t3_hw.c
1887
V_CONTEXT_CMD_OPCODE(1) | type | V_CONTEXT(id));
sys/dev/pci/cxgb/cxgb_t3_hw.c
1910
enum sge_context_type type, int respq, u64 base_addr,
sys/dev/pci/cxgb/cxgb_t3_hw.c
1914
unsigned int credits = type == SGE_CNTXT_OFLD ? 0 : FW_WR_NUM;
sys/dev/pci/cxgb/cxgb_t3_hw.c
1931
V_EC_TYPE(type) | V_EC_GEN(gen) | V_EC_UP_TOKEN(token) |
sys/dev/pci/cxgb/cxgb_t3_hw.c
2203
static int t3_sge_read_context(unsigned int type, adapter_t *adapter,
sys/dev/pci/cxgb/cxgb_t3_hw.c
2210
V_CONTEXT_CMD_OPCODE(0) | type | V_CONTEXT(id));
sys/dev/pci/cxgb/cxgb_t3_hw.c
973
unsigned int type, major, minor;
sys/dev/pci/cxgb/cxgb_t3_hw.c
979
type = G_FW_VERSION_TYPE(vers);
sys/dev/pci/cxgb/cxgb_t3_hw.c
983
if (type == FW_VERSION_T3 && major == FW_VERSION_MAJOR &&
sys/dev/pci/cxgb/cxgb_toedev.h
88
enum toetype type;
sys/dev/pci/eap.c
1308
if (cp->type != AUDIO_MIXER_SET)
sys/dev/pci/eap.c
1331
if (cp->type != AUDIO_MIXER_SET)
sys/dev/pci/eap.c
1352
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/pci/eap.c
1360
if (cp->type != AUDIO_MIXER_VALUE)
sys/dev/pci/eap.c
1426
if (cp->type != AUDIO_MIXER_SET)
sys/dev/pci/eap.c
1431
if (cp->type != AUDIO_MIXER_SET)
sys/dev/pci/eap.c
1436
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/pci/eap.c
1491
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eap.c
1500
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eap.c
1510
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eap.c
1520
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eap.c
1530
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eap.c
1540
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eap.c
1550
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eap.c
1563
dip->type = AUDIO_MIXER_SET;
sys/dev/pci/eap.c
1582
dip->type = AUDIO_MIXER_SET;
sys/dev/pci/eap.c
1598
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/eap.c
1610
dip->type = AUDIO_MIXER_CLASS;
sys/dev/pci/eap.c
1616
dip->type = AUDIO_MIXER_CLASS;
sys/dev/pci/eap.c
1622
dip->type = AUDIO_MIXER_CLASS;
sys/dev/pci/eap.c
642
ctl.type = AUDIO_MIXER_SET;
sys/dev/pci/eap.c
648
ctl.type = AUDIO_MIXER_VALUE;
sys/dev/pci/eap.c
658
ctl.type = AUDIO_MIXER_ENUM;
sys/dev/pci/eap.c
662
ctl.type = AUDIO_MIXER_SET;
sys/dev/pci/esa.c
1034
if (revision == 0x10 && sc->type == ESS_MAESTRO3)
sys/dev/pci/esa.c
1377
if (sc->type == ESS_MAESTRO3) {
sys/dev/pci/esa.c
1384
if (sc->type == ESS_ALLEGRO1) {
sys/dev/pci/esa.c
1493
switch (sc->type) {
sys/dev/pci/esa.c
81
int type;
sys/dev/pci/esa.c
951
sc->type = card->type;
sys/dev/pci/esavar.h
134
int type; /* Allegro-1 or Maestro 3? */
sys/dev/pci/eso.c
1022
if (cp->type != AUDIO_MIXER_ENUM) {
sys/dev/pci/eso.c
1031
if (cp->type != AUDIO_MIXER_ENUM) {
sys/dev/pci/eso.c
1040
if (cp->type != AUDIO_MIXER_ENUM) {
sys/dev/pci/eso.c
1056
if (cp->type != AUDIO_MIXER_ENUM) {
sys/dev/pci/eso.c
1065
if (cp->type != AUDIO_MIXER_ENUM) {
sys/dev/pci/eso.c
1190
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1198
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1206
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1214
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1222
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1230
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1238
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1247
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/eso.c
1258
dip->type = AUDIO_MIXER_CLASS;
sys/dev/pci/eso.c
1265
dip->type = AUDIO_MIXER_CLASS;
sys/dev/pci/eso.c
1273
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1282
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/eso.c
1294
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1302
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/eso.c
1316
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/eso.c
1327
dip->type = AUDIO_MIXER_CLASS;
sys/dev/pci/eso.c
1335
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1344
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/eso.c
1356
dip->type = AUDIO_MIXER_CLASS;
sys/dev/pci/eso.c
1363
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/eso.c
1374
dip->type = AUDIO_MIXER_CLASS;
sys/dev/pci/eso.c
1381
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1388
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/eso.c
1403
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1411
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1419
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1427
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1435
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1443
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1451
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/eso.c
1459
dip->type = AUDIO_MIXER_CLASS;
sys/dev/pci/eso.c
426
aa.type = AUDIODEV_TYPE_OPL;
sys/dev/pci/eso.c
432
aa.type = AUDIODEV_TYPE_MPU;
sys/dev/pci/eso.c
446
aa.type = AUDIODEV_TYPE_AUX;
sys/dev/pci/eso.c
873
if (cp->type != AUDIO_MIXER_VALUE) {
sys/dev/pci/eso.c
907
if (cp->type != AUDIO_MIXER_VALUE) {
sys/dev/pci/eso.c
937
if (cp->type != AUDIO_MIXER_VALUE ||
sys/dev/pci/eso.c
952
if (cp->type != AUDIO_MIXER_VALUE ||
sys/dev/pci/eso.c
966
if (cp->type != AUDIO_MIXER_VALUE ||
sys/dev/pci/eso.c
980
if (cp->type != AUDIO_MIXER_ENUM) {
sys/dev/pci/eso.c
997
if (cp->type != AUDIO_MIXER_ENUM) {
sys/dev/pci/fms.c
325
aa.type = AUDIODEV_TYPE_OPL;
sys/dev/pci/fms.c
330
aa.type = AUDIODEV_TYPE_MPU;
sys/dev/pci/genfb_pci.c
104
int idx, bar, type;
sys/dev/pci/genfb_pci.c
165
pci_mapreg_probe(sc->sc_pc, sc->sc_pcitag, bar, &type)
sys/dev/pci/genfb_pci.c
174
if (PCI_MAPREG_TYPE(type) == PCI_MAPREG_TYPE_MEM ||
sys/dev/pci/genfb_pci.c
175
PCI_MAPREG_TYPE(type) == PCI_MAPREG_TYPE_ROM) {
sys/dev/pci/genfb_pci.c
176
pci_mapreg_info(sc->sc_pc, sc->sc_pcitag, bar, type,
sys/dev/pci/genfb_pci.c
182
if (PCI_MAPREG_TYPE(type) == PCI_MAPREG_TYPE_MEM &&
sys/dev/pci/genfb_pci.c
183
PCI_MAPREG_MEM_TYPE(type) == PCI_MAPREG_MEM_TYPE_64BIT)
sys/dev/pci/icp_pci.c
343
ha->type = ICP_PCI;
sys/dev/pci/icp_pci.c
417
ha->type = ICP_PCINEW;
sys/dev/pci/if_aq.c
1144
uint32_t type;
sys/dev/pci/if_aq.c
5512
rxd_type = le32toh(rxd->wb.type);
sys/dev/pci/if_bge.c
1893
bge_sig_pre_reset(struct bge_softc *sc, int type)
sys/dev/pci/if_bge.c
1903
switch (type) {
sys/dev/pci/if_bge.c
1919
if (type == BGE_RESET_START || type == BGE_RESET_SUSPEND)
sys/dev/pci/if_bge.c
1920
bge_ape_driver_state_change(sc, type);
sys/dev/pci/if_bge.c
1924
bge_sig_post_reset(struct bge_softc *sc, int type)
sys/dev/pci/if_bge.c
1928
switch (type) {
sys/dev/pci/if_bge.c
1941
if (type == BGE_RESET_SHUTDOWN)
sys/dev/pci/if_bge.c
1942
bge_ape_driver_state_change(sc, type);
sys/dev/pci/if_bge.c
1946
bge_sig_legacy(struct bge_softc *sc, int type)
sys/dev/pci/if_bge.c
1950
switch (type) {
sys/dev/pci/if_dge.c
2410
phwait(struct dge_softc *sc, int p, int r, int d, int type)
sys/dev/pci/if_dge.c
2415
MDIO_PHY(p) | MDIO_REG(r) | MDIO_DEV(d) | type | MDIO_CMD);
sys/dev/pci/if_hme_pci.c
120
int type;
sys/dev/pci/if_hme_pci.c
149
type = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_HME_BASEADDR);
sys/dev/pci/if_hme_pci.c
155
switch (type) {
sys/dev/pci/if_hme_pci.c
182
if (pci_mapreg_map(pa, PCI_HME_BASEADDR, type, 0,
sys/dev/pci/if_ipw.c
1183
switch (sbd->type) {
sys/dev/pci/if_ipw.c
1211
sbd->type = IPW_SBD_TYPE_NOASSOC;
sys/dev/pci/if_ipw.c
1232
if (sbd->type == IPW_SBD_TYPE_DATA)
sys/dev/pci/if_ipw.c
1308
ipw_cmd(struct ipw_softc *sc, uint32_t type, void *data, uint32_t len)
sys/dev/pci/if_ipw.c
1314
sc->cmd.type = htole32(type);
sys/dev/pci/if_ipw.c
1321
sbd->type = IPW_SBD_TYPE_COMMAND;
sys/dev/pci/if_ipw.c
1335
DPRINTFN(2, ("sending command (%u, %u, %u, %u)\n", type, 0, 0, len));
sys/dev/pci/if_ipw.c
1382
shdr->hdr->type = htole32(IPW_HDR_TYPE_SEND);
sys/dev/pci/if_ipw.c
1446
sbd->type = IPW_SBD_TYPE_HEADER;
sys/dev/pci/if_ipw.c
1455
shdr->hdr->type, shdr->hdr->subtype, shdr->hdr->encrypted,
sys/dev/pci/if_ipw.c
1478
sbd->type = IPW_SBD_TYPE_DATA;
sys/dev/pci/if_ipw.c
1482
sbd->type = IPW_SBD_TYPE_NOASSOC;
sys/dev/pci/if_ipw.c
583
sbd->type = IPW_SBD_TYPE_NOASSOC;
sys/dev/pci/if_ipw.c
632
sbd->type = IPW_SBD_TYPE_DATA;
sys/dev/pci/if_ipw.c
910
DPRINTFN(2, ("cmd ack'ed (%u, %u, %u, %u, %u)\n", le32toh(cmd->type),
sys/dev/pci/if_ipwreg.h
157
u_int32_t type;
sys/dev/pci/if_ipwreg.h
173
u_int32_t type;
sys/dev/pci/if_ipwvar.h
43
int type;
sys/dev/pci/if_iwi.c
1249
switch (notif->type) {
sys/dev/pci/if_iwi.c
1356
DPRINTFN(5, ("Notification (%u)\n", notif->type));
sys/dev/pci/if_iwi.c
1361
device_xname(sc->sc_dev), notif->type, notif->flags,
sys/dev/pci/if_iwi.c
1403
switch (hdr->type) {
sys/dev/pci/if_iwi.c
1416
hdr->type);
sys/dev/pci/if_iwi.c
1554
iwi_cmd(struct iwi_softc *sc, uint8_t type, void *data, uint8_t len,
sys/dev/pci/if_iwi.c
1561
desc->hdr.type = IWI_HDR_TYPE_COMMAND;
sys/dev/pci/if_iwi.c
1563
desc->type = type;
sys/dev/pci/if_iwi.c
1572
sc->cmdq.cur, type, len, async));
sys/dev/pci/if_iwi.c
1711
desc->hdr.type = IWI_HDR_TYPE_DATA;
sys/dev/pci/if_iwi.c
2419
rs.type = IWI_RATESET_TYPE_SUPPORTED;
sys/dev/pci/if_iwi.c
2429
rs.type = IWI_RATESET_TYPE_SUPPORTED;
sys/dev/pci/if_iwi.c
2508
uint32_t type;
sys/dev/pci/if_iwi.c
2530
type = IWI_SCAN_TYPE_ACTIVE_BDIRECT;
sys/dev/pci/if_iwi.c
2532
type = IWI_SCAN_TYPE_ACTIVE_BROADCAST;
sys/dev/pci/if_iwi.c
2543
iwi_scan_type_set(scan, idx, type);
sys/dev/pci/if_iwi.c
2558
iwi_scan_type_set(scan, idx, type);
sys/dev/pci/if_iwi.c
2612
rs.type = IWI_RATESET_TYPE_NEGOTIATED;
sys/dev/pci/if_iwi.c
2677
assoc.type = IWI_HC_IBSS_START;
sys/dev/pci/if_iwi.c
2679
assoc.type = IWI_HC_ASSOC;
sys/dev/pci/if_iwi.c
2705
assoc.type == IWI_HC_IBSS_START ? "Start" : "Join",
sys/dev/pci/if_iwireg.h
121
uint32_t type;
sys/dev/pci/if_iwireg.h
166
uint8_t type;
sys/dev/pci/if_iwireg.h
181
uint8_t type;
sys/dev/pci/if_iwireg.h
229
uint8_t type;
sys/dev/pci/if_iwireg.h
303
uint8_t type;
sys/dev/pci/if_iwireg.h
349
uint8_t type;
sys/dev/pci/if_iwireg.h
378
uint8_t type; /* request */
sys/dev/pci/if_iwireg.h
417
(s).type[(i) / 2].lsn = (t); \
sys/dev/pci/if_iwireg.h
419
(s).type[(i) / 2].msn = (t); \
sys/dev/pci/if_iwireg.h
437
} __packed type[IWI_SCAN_CHANNELS / 2];
sys/dev/pci/if_iwm.c
2313
iwm_phy_db_get_section(struct iwm_softc *sc, enum iwm_phy_db_section_type type,
sys/dev/pci/if_iwm.c
2318
if (type >= IWM_PHY_DB_MAX)
sys/dev/pci/if_iwm.c
2321
switch (type) {
sys/dev/pci/if_iwm.c
2345
enum iwm_phy_db_section_type type = le16toh(phy_db_notif->type);
sys/dev/pci/if_iwm.c
2348
if (type == IWM_PHY_DB_CALIB_CHG_PAPD ||
sys/dev/pci/if_iwm.c
2349
type == IWM_PHY_DB_CALIB_CHG_TXP)
sys/dev/pci/if_iwm.c
2352
entry = iwm_phy_db_get_section(sc, type, chg_id);
sys/dev/pci/if_iwm.c
2367
__func__, __LINE__, type, size, entry->data));
sys/dev/pci/if_iwm.c
2440
iwm_phy_db_get_section_data(struct iwm_softc *sc, uint32_t type, uint8_t **data,
sys/dev/pci/if_iwm.c
2446
if (type == IWM_PHY_DB_CALIB_CHG_PAPD)
sys/dev/pci/if_iwm.c
2448
else if (type == IWM_PHY_DB_CALIB_CHG_TXP)
sys/dev/pci/if_iwm.c
2451
entry = iwm_phy_db_get_section(sc, type, ch_group_id);
sys/dev/pci/if_iwm.c
2459
__func__, __LINE__, type, *size));
sys/dev/pci/if_iwm.c
2465
iwm_send_phy_db_cmd(struct iwm_softc *sc, uint16_t type, uint16_t length,
sys/dev/pci/if_iwm.c
2475
type, length));
sys/dev/pci/if_iwm.c
2477
phy_db_cmd.type = le16toh(type);
sys/dev/pci/if_iwm.c
2490
enum iwm_phy_db_section_type type, uint8_t max_ch_groups)
sys/dev/pci/if_iwm.c
2498
entry = iwm_phy_db_get_section(sc, type, i);
sys/dev/pci/if_iwm.c
2505
err = iwm_send_phy_db_cmd(sc, type, entry->size, entry->data);
sys/dev/pci/if_iwm.c
2508
"err %d\n", DEVNAME(sc), type, i, err));
sys/dev/pci/if_iwm.c
2513
DEVNAME(sc), type, i));
sys/dev/pci/if_iwm.c
2692
.type = htole16(section),
sys/dev/pci/if_iwm.c
4821
int type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
sys/dev/pci/if_iwm.c
4829
type != IEEE80211_FC0_TYPE_DATA) {
sys/dev/pci/if_iwm.c
4906
uint8_t tid, type, subtype;
sys/dev/pci/if_iwm.c
4914
type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
sys/dev/pci/if_iwm.c
4921
if (type == IEEE80211_FC0_TYPE_DATA)
sys/dev/pci/if_iwm.c
4954
type == IEEE80211_FC0_TYPE_DATA &&
sys/dev/pci/if_iwm.c
4995
type == IEEE80211_FC0_TYPE_DATA &&
sys/dev/pci/if_iwm.c
5025
if (type == IEEE80211_FC0_TYPE_DATA &&
sys/dev/pci/if_iwm.c
5032
type != IEEE80211_FC0_TYPE_DATA)
sys/dev/pci/if_iwm.c
5037
if (type == IEEE80211_FC0_TYPE_MGT) {
sys/dev/pci/if_iwm.c
5045
if (type == IEEE80211_FC0_TYPE_CTL &&
sys/dev/pci/if_iwm.c
5148
ring->qid, ring->cur, totlen, data->map->dm_nsegs, type,
sys/dev/pci/if_iwm.c
664
iwm_firmware_store_section(struct iwm_softc *sc, enum iwm_ucode_type type,
sys/dev/pci/if_iwm.c
670
if (type >= IWM_UCODE_TYPE_MAX)
sys/dev/pci/if_iwm.c
675
fws = &sc->sc_fw.fw_sects[type];
sys/dev/pci/if_iwm.c
810
tlv_type = le32toh(tlv.type);
sys/dev/pci/if_iwmreg.h
2126
uint16_t type;
sys/dev/pci/if_iwmreg.h
2141
uint16_t type;
sys/dev/pci/if_iwmreg.h
2278
uint16_t type;
sys/dev/pci/if_iwmreg.h
2337
uint16_t type;
sys/dev/pci/if_iwmreg.h
5242
uint32_t type;
sys/dev/pci/if_iwmreg.h
5713
uint32_t type[IWM_MAX_SCAN_CHANNELS];
sys/dev/pci/if_iwmreg.h
987
uint32_t type; /* see above */
sys/dev/pci/if_iwn.c
2137
if (desc->type == IWN_MPDU_RX_DONE) {
sys/dev/pci/if_iwn.c
2156
if (desc->type == IWN_MPDU_RX_DONE) {
sys/dev/pci/if_iwn.c
2280
uint8_t type, subtype;
sys/dev/pci/if_iwn.c
2281
type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
sys/dev/pci/if_iwn.c
2287
if (type == IEEE80211_FC0_TYPE_MGT &&
sys/dev/pci/if_iwn.c
2403
DPRINTFN(3, ("received statistics (cmd=%d)\n", desc->type));
sys/dev/pci/if_iwn.c
2418
if (desc->type != IWN_BEACON_STATISTICS)
sys/dev/pci/if_iwn.c
2572
desc->qid & 0xf, desc->idx, desc->flags, desc->type));
sys/dev/pci/if_iwn.c
2577
switch (desc->type) {
sys/dev/pci/if_iwn.c
2996
uint8_t tid, ridx, txant, type;
sys/dev/pci/if_iwn.c
3005
type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
sys/dev/pci/if_iwn.c
3030
type != IEEE80211_FC0_TYPE_DATA) {
sys/dev/pci/if_iwn.c
3123
type != IEEE80211_FC0_TYPE_DATA)
sys/dev/pci/if_iwn.c
3128
if (type == IEEE80211_FC0_TYPE_MGT) {
sys/dev/pci/if_iwn.c
4501
btprot.type = 1;
sys/dev/pci/if_iwn.c
5937
switch (le16toh(tlv->type)) {
sys/dev/pci/if_iwn.c
5962
le16toh(tlv->type), len);
sys/dev/pci/if_iwn.c
5971
le16toh(tlv->type), len);
sys/dev/pci/if_iwn.c
5989
le16toh(tlv->type)));
sys/dev/pci/if_iwnreg.h
1134
uint8_t type;
sys/dev/pci/if_iwnreg.h
1153
uint8_t type;
sys/dev/pci/if_iwnreg.h
1302
uint8_t type;
sys/dev/pci/if_iwnreg.h
1468
uint16_t type;
sys/dev/pci/if_iwnreg.h
392
uint8_t type;
sys/dev/pci/if_iwnreg.h
990
uint8_t type;
sys/dev/pci/if_ixl.c
1899
ixl_hmc_kva(struct ixl_softc *sc, enum ixl_hmc_types type, unsigned int i)
sys/dev/pci/if_ixl.c
1902
struct ixl_hmc_entry *e = &sc->sc_hmc_entries[type];
sys/dev/pci/if_ixl.c
1914
ixl_hmc_len(struct ixl_softc *sc, enum ixl_hmc_types type)
sys/dev/pci/if_ixl.c
1916
struct ixl_hmc_entry *e = &sc->sc_hmc_entries[type];
sys/dev/pci/if_ixl.c
4312
elm->type, elm->revision, le16toh(elm->seid));
sys/dev/pci/if_ixl.c
4913
const struct ixl_speed_type *type;
sys/dev/pci/if_ixl.c
4917
type = &ixl_speed_type_map[i];
sys/dev/pci/if_ixl.c
4919
if (ISSET(type->dev_speed, link_speed))
sys/dev/pci/if_ixl.c
4920
return type->net_speed;
sys/dev/pci/if_ixl.c
4929
const struct ixl_speed_type *type;
sys/dev/pci/if_ixl.c
4933
type = &ixl_speed_type_map[i];
sys/dev/pci/if_ixl.c
4935
if (type->net_speed == baudrate) {
sys/dev/pci/if_ixl.c
4936
return type->dev_speed;
sys/dev/pci/if_ixlvar.h
266
uint8_t type;
sys/dev/pci/if_mcx.c
3797
mcx_query_pages(struct mcx_softc *sc, uint16_t type,
sys/dev/pci/if_mcx.c
3809
in->cmd_op_mod = type;
sys/dev/pci/if_mcx.c
3952
mcx_pages(struct mcx_softc *sc, struct mcx_hwmem *mhm, uint16_t type)
sys/dev/pci/if_mcx.c
3957
if (mcx_query_pages(sc, type, &npages, &func_id) != 0) {
sys/dev/pci/if_mcx.c
8718
enum kstat_kv_type type;
sys/dev/pci/if_mcx.c
8772
kstat_kv_init(&kvs[i], tpl->name, tpl->type);
sys/dev/pci/if_rge.c
1889
rge_mac_config_mcu(struct rge_softc *sc, enum rge_mac_type type)
sys/dev/pci/if_rge.c
1894
if (type == MAC_R25) {
sys/dev/pci/if_rge.c
1927
} else if (type == MAC_R25B) {
sys/dev/pci/if_rge.c
1933
} else if (type == MAC_R25D_1) {
sys/dev/pci/if_rge.c
1971
} else if (type == MAC_R25D_2) {
sys/dev/pci/if_rge.c
2004
rge_mac_config_ext_mcu(struct rge_softc *sc, enum rge_mac_type type)
sys/dev/pci/if_rge.c
2019
if (type == MAC_R26_1) {
sys/dev/pci/if_rge.c
2038
} else if (type == MAC_R26_2) {
sys/dev/pci/if_rge.c
2061
} else if (type == MAC_R27) {
sys/dev/pci/if_rtwn.c
1139
int type;
sys/dev/pci/if_rtwn.c
1143
type = R92C_CR_NETTYPE_INFRA;
sys/dev/pci/if_rtwn.c
1147
type = R92C_CR_NETTYPE_AP;
sys/dev/pci/if_rtwn.c
1151
type = R92C_CR_NETTYPE_ADHOC;
sys/dev/pci/if_rtwn.c
1155
type = R92C_CR_NETTYPE_NOLINK;
sys/dev/pci/if_rtwn.c
1159
return type;
sys/dev/pci/if_rtwn.c
1163
rtwn_set_nettype0_msr(struct rtwn_softc *sc, uint8_t type)
sys/dev/pci/if_rtwn.c
1168
reg = RW(reg, R92C_CR_NETTYPE, type);
sys/dev/pci/if_rtwn.c
1835
uint8_t raid, type, tid, qid;
sys/dev/pci/if_rtwn.c
1841
type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
sys/dev/pci/if_rtwn.c
1856
} else if (type != IEEE80211_FC0_TYPE_DATA) {
sys/dev/pci/if_rtwn.c
1892
type == IEEE80211_FC0_TYPE_DATA) {
sys/dev/pci/if_rtwn.c
1920
} else if (type == IEEE80211_FC0_TYPE_MGT) {
sys/dev/pci/if_rtwn.c
2760
uint32_t reg, type;
sys/dev/pci/if_rtwn.c
2781
type = (reg >> off) & 0x10;
sys/dev/pci/if_rtwn.c
2821
reg &= ~(0x10 << off) | (type << off);
sys/dev/pci/if_vmx.c
549
vmxnet3_barrier(struct vmxnet3_softc *sc, vmxnet3_barrier_t type)
sys/dev/pci/if_vmx.c
552
switch (type) {
sys/dev/pci/if_vmx.c
560
panic("%s: bad barrier type %d", __func__, type);
sys/dev/pci/if_vmxreg.h
120
uint32_t type:7;
sys/dev/pci/if_vmxreg.h
166
uint32_t type:7;
sys/dev/pci/if_wpi.c
1720
desc->type, le32toh(desc->len)));
sys/dev/pci/if_wpi.c
1725
switch (desc->type) {
sys/dev/pci/if_wpi.c
2275
wpi_read_prom_data(sc, WPI_EEPROM_TYPE, &sc->type, 1);
sys/dev/pci/if_wpi.c
2278
sc->type));
sys/dev/pci/if_wpi.c
3184
if (sc->type > 1)
sys/dev/pci/if_wpireg.h
203
uint8_t type;
sys/dev/pci/if_wpireg.h
549
uint8_t type;
sys/dev/pci/if_wpivar.h
167
uint8_t type;
sys/dev/pci/igc/if_igc.c
1015
igc_queue_counters[cnt].type, NULL,
sys/dev/pci/igc/if_igc.c
2691
igc_set_queues(struct igc_softc *sc, uint32_t entry, uint32_t vector, int type)
sys/dev/pci/igc/if_igc.c
2697
if (type) {
sys/dev/pci/igc/if_igc.c
980
igc_global_counters[cnt].type, NULL,
sys/dev/pci/igc/if_igc.c
990
igc_driver_counters[cnt].type, NULL,
sys/dev/pci/igc/igc_api.c
127
mac->type = igc_i225;
sys/dev/pci/igc/igc_api.c
181
switch (hw->mac.type) {
sys/dev/pci/igc/igc_evcnt.h
50
int type;
sys/dev/pci/igc/igc_hw.h
273
enum igc_mac_type type;
sys/dev/pci/igc/igc_hw.h
300
enum igc_phy_type type;
sys/dev/pci/igc/igc_hw.h
323
enum igc_nvm_type type;
sys/dev/pci/igc/igc_hw.h
333
enum igc_bus_type type;
sys/dev/pci/igc/igc_i225.c
1122
if (hw->mac.type != igc_i225 ||
sys/dev/pci/igc/igc_i225.c
145
phy->type = igc_phy_none;
sys/dev/pci/igc/igc_i225.c
170
phy->type = igc_phy_i225;
sys/dev/pci/igc/igc_i225.c
54
nvm->type = igc_nvm_eeprom_spi;
sys/dev/pci/igc/igc_i225.c
65
hw->nvm.type = igc_nvm_flash_hw;
sys/dev/pci/igc/igc_i225.c
71
hw->nvm.type = igc_nvm_invm;
sys/dev/pci/igc/igc_mac.c
752
if ((hw->mac.type == igc_i225) &&
sys/dev/pci/igc/igc_phy.c
591
switch (phy->type) {
sys/dev/pci/ips.c
1455
int type = ((struct scsipi_inquiry_data *)xs->data)->device &
sys/dev/pci/ips.c
1458
if (type == T_DIRECT)
sys/dev/pci/ips.c
361
u_int16_t type;
sys/dev/pci/ips.c
632
int type, i;
sys/dev/pci/ips.c
753
type = htole16(pg5->type);
sys/dev/pci/ips.c
754
if (type < sizeof(ips_names) / sizeof(ips_names[0]) && ips_names[type])
sys/dev/pci/ips.c
755
printf(" %s", ips_names[type]);
sys/dev/pci/ips.c
799
if (type == T_PROCESSOR ||
sys/dev/pci/ips.c
800
type == T_ENCLOSURE)
sys/dev/pci/ixgbe/if_sriov.c
281
if (sc->hw.mac.type != ixgbe_mac_82599EB)
sys/dev/pci/ixgbe/ix_txrx.c
2251
int type = M_CSUM_TCPv4|M_CSUM_TCPv6|M_CSUM_UDPv4|M_CSUM_UDPv6;
sys/dev/pci/ixgbe/ix_txrx.c
2253
mp->m_pkthdr.csum_flags |= type;
sys/dev/pci/ixgbe/ix_txrx.c
2256
mp->m_pkthdr.csum_flags |= type | M_CSUM_TCP_UDP_BAD;
sys/dev/pci/ixgbe/ixgbe.c
1022
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
1049
if (hw->mac.type == ixgbe_mac_X540)
sys/dev/pci/ixgbe/ixgbe.c
1072
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
1082
if (hw->mac.type == ixgbe_mac_X540)
sys/dev/pci/ixgbe/ixgbe.c
1094
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
1126
switch (sc->hw.mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
1528
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
1530
if (hw->phy.type == ixgbe_phy_nl)
sys/dev/pci/ixgbe/ixgbe.c
1632
if (hw->mac.type >= ixgbe_mac_X550)
sys/dev/pci/ixgbe/ixgbe.c
1640
if (hw->mac.type >= ixgbe_mac_82599EB) {
sys/dev/pci/ixgbe/ixgbe.c
1671
if (hw->mac.type == ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe.c
1676
if (hw->mac.type >= ixgbe_mac_82599EB) {
sys/dev/pci/ixgbe/ixgbe.c
1698
if (hw->mac.type == ixgbe_mac_X550EM_a)
sys/dev/pci/ixgbe/ixgbe.c
1710
if (hw->mac.type != ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
1736
- ((hw->mac.type == ixgbe_mac_82598EB) ? bprc : 0));
sys/dev/pci/ixgbe/ixgbe.c
1769
if (hw->mac.type != ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
1858
if (hw->mac.type == ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe.c
1871
if (hw->mac.type >= ixgbe_mac_82599EB)
sys/dev/pci/ixgbe/ixgbe.c
2000
(hw->mac.type >= ixgbe_mac_82599EB))
sys/dev/pci/ixgbe/ixgbe.c
2048
if (hw->mac.type >= ixgbe_mac_X550)
sys/dev/pci/ixgbe/ixgbe.c
2057
if (hw->mac.type == ixgbe_mac_X550EM_a)
sys/dev/pci/ixgbe/ixgbe.c
2165
if (hw->mac.type == ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe.c
2173
if (hw->mac.type >= ixgbe_mac_82599EB)
sys/dev/pci/ixgbe/ixgbe.c
2203
if (hw->mac.type >= ixgbe_mac_82599EB)
sys/dev/pci/ixgbe/ixgbe.c
2223
if (hw->mac.type >= ixgbe_mac_X550)
sys/dev/pci/ixgbe/ixgbe.c
2228
if (hw->mac.type == ixgbe_mac_X550EM_a)
sys/dev/pci/ixgbe/ixgbe.c
2526
if (hw->mac.type != ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
2538
if (hw->mac.type == ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
2627
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
2722
if (hw->mac.type == ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
2757
if (hw->mac.type == ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
3204
if (hw->mac.type >= ixgbe_mac_X540)
sys/dev/pci/ixgbe/ixgbe.c
3222
if ((hw->mac.type == ixgbe_mac_82599EB) &&
sys/dev/pci/ixgbe/ixgbe.c
3229
if (sc->hw.mac.type != ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
3250
switch (sc->hw.mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
3297
if ((hw->phy.type == ixgbe_phy_x550em_ext_t) &&
sys/dev/pci/ixgbe/ixgbe.c
3315
if (sc->hw.mac.type == ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe.c
3524
if (hw->mac.type >= ixgbe_mac_X550)
sys/dev/pci/ixgbe/ixgbe.c
3576
if ((hw->mac.type == ixgbe_mac_X550EM_a)
sys/dev/pci/ixgbe/ixgbe.c
3577
&& (hw->phy.type == ixgbe_phy_fw))
sys/dev/pci/ixgbe/ixgbe.c
3781
if (hw->mac.type == ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe.c
3789
if (hw->mac.type >= ixgbe_mac_82599EB)
sys/dev/pci/ixgbe/ixgbe.c
3811
if (hw->mac.type >= ixgbe_mac_82599EB)
sys/dev/pci/ixgbe/ixgbe.c
3831
if (hw->mac.type >= ixgbe_mac_X550)
sys/dev/pci/ixgbe/ixgbe.c
3836
if (hw->mac.type == ixgbe_mac_X550EM_a)
sys/dev/pci/ixgbe/ixgbe.c
4163
if (hw->mac.type == ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
4215
if (hw->mac.type == ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe.c
4230
if (hw->mac.type == ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe.c
4248
if (hw->phy.type == ixgbe_phy_none) {
sys/dev/pci/ixgbe/ixgbe.c
4252
} else if (hw->phy.type == ixgbe_phy_sfp_unsupported)
sys/dev/pci/ixgbe/ixgbe.c
4335
ixgbe_set_ivar(struct ixgbe_softc *sc, u8 entry, u8 vector, s8 type)
sys/dev/pci/ixgbe/ixgbe.c
4342
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
4344
if (type == -1)
sys/dev/pci/ixgbe/ixgbe.c
4347
entry += (type * 64);
sys/dev/pci/ixgbe/ixgbe.c
4359
if (type == -1) { /* MISC IVAR */
sys/dev/pci/ixgbe/ixgbe.c
4366
index = (16 * (entry & 1)) + (8 * type);
sys/dev/pci/ixgbe/ixgbe.c
4448
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
446
switch (sc->hw.mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
4478
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
4494
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
4628
if (hw->mac.type == ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
4807
if ((hw->mac.type != ixgbe_mac_82598EB) &&
sys/dev/pci/ixgbe/ixgbe.c
4834
if (hw->mac.type == ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe.c
4863
if (hw->mac.type != ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
4956
if (hw->mac.type >= ixgbe_mac_X540)
sys/dev/pci/ixgbe/ixgbe.c
4965
(hw->mac.type == ixgbe_mac_82599EB))
sys/dev/pci/ixgbe/ixgbe.c
5031
if (hw->mac.type == ixgbe_mac_82599EB)
sys/dev/pci/ixgbe/ixgbe.c
5149
if (hw->mac.type < ixgbe_mac_X550 || !hw->mac.ops.dmac_config)
sys/dev/pci/ixgbe/ixgbe.c
5178
switch (sc->hw.mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
5207
if (hw->phy.type == ixgbe_phy_x550em_ext_t)
sys/dev/pci/ixgbe/ixgbe.c
559
if (sc->hw.mac.type == ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
5936
switch (sc->hw.mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
6148
switch (sc->hw.mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
6198
if (hw->mac.type != ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
6322
switch (sc->hw.mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
636
if (sc->hw.mac.type != ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
695
if (sc->hw.mac.type == ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe.c
719
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
7190
switch (sc->hw.mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
728
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
739
if (hw->mac.type != ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe.c
886
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe.c
914
if (hw->mac.type != ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe_82598.c
1151
if (hw->phy.type == ixgbe_phy_nl) {
sys/dev/pci/ixgbe/ixgbe_82598.c
1246
switch (hw->phy.type) {
sys/dev/pci/ixgbe/ixgbe_82598.c
1289
if (hw->phy.type == ixgbe_phy_nl) {
sys/dev/pci/ixgbe/ixgbe_82598.c
216
switch (hw->phy.type) {
sys/dev/pci/ixgbe/ixgbe_82598.c
368
switch (hw->phy.type) {
sys/dev/pci/ixgbe/ixgbe_82598.c
664
if (hw->phy.type == ixgbe_phy_nl) {
sys/dev/pci/ixgbe/ixgbe_82599.c
1440
if ((hw->mac.type == ixgbe_mac_X550) ||
sys/dev/pci/ixgbe/ixgbe_82599.c
1441
(hw->mac.type == ixgbe_mac_X550EM_x) ||
sys/dev/pci/ixgbe/ixgbe_82599.c
1442
(hw->mac.type == ixgbe_mac_X550EM_a))
sys/dev/pci/ixgbe/ixgbe_82599.c
166
switch (hw->phy.type) {
sys/dev/pci/ixgbe/ixgbe_82599.c
1852
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_82599.c
1875
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_82599.c
2188
if (hw->phy.type == ixgbe_phy_unknown) {
sys/dev/pci/ixgbe/ixgbe_82599.c
2189
hw->phy.type = ixgbe_phy_none;
sys/dev/pci/ixgbe/ixgbe_82599.c
2194
if (hw->phy.type == ixgbe_phy_sfp_unsupported)
sys/dev/pci/ixgbe/ixgbe_82599.c
2220
switch (hw->phy.type) {
sys/dev/pci/ixgbe/ixgbe_82599.c
2449
if ((eeprom->type == ixgbe_eeprom_spi) &&
sys/dev/pci/ixgbe/ixgbe_82599.c
2483
if ((eeprom->type == ixgbe_eeprom_spi) &&
sys/dev/pci/ixgbe/ixgbe_82599.c
541
switch (hw->phy.type) {
sys/dev/pci/ixgbe/ixgbe_82599.c
972
if (autoneg || hw->phy.type == ixgbe_phy_qsfp_intel)
sys/dev/pci/ixgbe/ixgbe_api.c
102
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_api.c
164
hw->mac.type = ixgbe_mac_82598EB;
sys/dev/pci/ixgbe/ixgbe_api.c
182
hw->mac.type = ixgbe_mac_82599EB;
sys/dev/pci/ixgbe/ixgbe_api.c
187
hw->mac.type = ixgbe_mac_X540;
sys/dev/pci/ixgbe/ixgbe_api.c
192
hw->mac.type = ixgbe_mac_X550;
sys/dev/pci/ixgbe/ixgbe_api.c
201
hw->mac.type = ixgbe_mac_X550EM_x;
sys/dev/pci/ixgbe/ixgbe_api.c
215
hw->mac.type = ixgbe_mac_X550EM_a;
sys/dev/pci/ixgbe/ixgbe_api.c
227
hw->mac.type, ret_val);
sys/dev/pci/ixgbe/ixgbe_api.c
482
if (hw->phy.type == ixgbe_phy_unknown) {
sys/dev/pci/ixgbe/ixgbe_api.c
498
if (hw->phy.type == ixgbe_phy_unknown) {
sys/dev/pci/ixgbe/ixgbe_common.c
1015
if (hw->bus.type == ixgbe_bus_type_unknown)
sys/dev/pci/ixgbe/ixgbe_common.c
1016
hw->bus.type = ixgbe_bus_type_pci_express;
sys/dev/pci/ixgbe/ixgbe_common.c
1212
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_common.c
1284
if (eeprom->type == ixgbe_eeprom_uninitialized) {
sys/dev/pci/ixgbe/ixgbe_common.c
1285
eeprom->type = ixgbe_eeprom_none;
sys/dev/pci/ixgbe/ixgbe_common.c
1298
eeprom->type = ixgbe_eeprom_spi;
sys/dev/pci/ixgbe/ixgbe_common.c
1315
"%d\n", eeprom->type, eeprom->word_size,
sys/dev/pci/ixgbe/ixgbe_common.c
3076
if (hw->mac.type == ixgbe_mac_82599EB) {
sys/dev/pci/ixgbe/ixgbe_common.c
3279
if (hw->mac.type >= ixgbe_mac_X550)
sys/dev/pci/ixgbe/ixgbe_common.c
350
if (hw->mac.type < ixgbe_mac_X540) {
sys/dev/pci/ixgbe/ixgbe_common.c
3706
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_common.c
4267
if ((hw->mac.type != ixgbe_mac_82598EB) &&
sys/dev/pci/ixgbe/ixgbe_common.c
429
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_common.c
4321
if (hw->mac.type >= ixgbe_mac_X550) {
sys/dev/pci/ixgbe/ixgbe_common.c
4331
if (hw->mac.type >= ixgbe_mac_X550) {
sys/dev/pci/ixgbe/ixgbe_common.c
4469
if (hw->mac.type == ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe_common.c
4493
if (hw->mac.type == ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe_common.c
4953
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_common.c
5313
if (hw->mac.type != ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe_common.c
5336
if (hw->mac.type != ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe_common.c
5354
if (hw->mac.type < ixgbe_mac_82599EB)
sys/dev/pci/ixgbe/ixgbe_common.c
5379
if (hw->mac.type <= ixgbe_mac_X540) {
sys/dev/pci/ixgbe/ixgbe_common.c
540
if (hw->mac.type >= ixgbe_mac_X550)
sys/dev/pci/ixgbe/ixgbe_common.c
547
if (hw->mac.type == ixgbe_mac_X550EM_a)
sys/dev/pci/ixgbe/ixgbe_common.c
552
if (hw->mac.type >= ixgbe_mac_82599EB) {
sys/dev/pci/ixgbe/ixgbe_common.c
563
if (hw->mac.type >= ixgbe_mac_82599EB) {
sys/dev/pci/ixgbe/ixgbe_common.c
571
if (hw->mac.type >= ixgbe_mac_82599EB)
sys/dev/pci/ixgbe/ixgbe_common.c
588
if (hw->mac.type == ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe_common.c
613
if (hw->mac.type >= ixgbe_mac_82599EB) {
sys/dev/pci/ixgbe/ixgbe_common.c
625
if (hw->mac.type == ixgbe_mac_X550 || hw->mac.type == ixgbe_mac_X540) {
sys/dev/pci/ixgbe/ixgbe_dcb.c
188
&& (hw->mac.type == ixgbe_mac_82598EB))
sys/dev/pci/ixgbe/ixgbe_dcb.c
406
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_dcb.c
435
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_dcb.c
475
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_dcb.c
514
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_dcb.c
556
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_dcb.c
593
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_dcb.c
620
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_dcb.c
665
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_dcb.c
699
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_dcb.c
719
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_dcb_82599.c
317
if (hw->mac.type >= ixgbe_mac_X540)
sys/dev/pci/ixgbe/ixgbe_mbx.c
1139
if (hw->mac.type != ixgbe_mac_82599EB &&
sys/dev/pci/ixgbe/ixgbe_mbx.c
1140
hw->mac.type != ixgbe_mac_X550 &&
sys/dev/pci/ixgbe/ixgbe_mbx.c
1141
hw->mac.type != ixgbe_mac_X550EM_x &&
sys/dev/pci/ixgbe/ixgbe_mbx.c
1142
hw->mac.type != ixgbe_mac_X550EM_a &&
sys/dev/pci/ixgbe/ixgbe_mbx.c
1143
hw->mac.type != ixgbe_mac_X540)
sys/dev/pci/ixgbe/ixgbe_mbx.c
1181
if (hw->mac.type != ixgbe_mac_82599EB &&
sys/dev/pci/ixgbe/ixgbe_mbx.c
1182
hw->mac.type != ixgbe_mac_X550 &&
sys/dev/pci/ixgbe/ixgbe_mbx.c
1183
hw->mac.type != ixgbe_mac_X550EM_x &&
sys/dev/pci/ixgbe/ixgbe_mbx.c
1184
hw->mac.type != ixgbe_mac_X550EM_a &&
sys/dev/pci/ixgbe/ixgbe_mbx.c
1185
hw->mac.type != ixgbe_mac_X540)
sys/dev/pci/ixgbe/ixgbe_mbx.c
829
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_phy.c
1299
KASSERT(hw->mac.type != ixgbe_mac_82598EB);
sys/dev/pci/ixgbe/ixgbe_phy.c
1301
if (hw->mac.type >= ixgbe_mac_X540)
sys/dev/pci/ixgbe/ixgbe_phy.c
1310
if (hw->mac.type == ixgbe_mac_X550EM_a) {
sys/dev/pci/ixgbe/ixgbe_phy.c
1331
if (hw->mac.type != ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe_phy.c
1394
if (hw->phy.type != ixgbe_phy_nl)
sys/dev/pci/ixgbe/ixgbe_phy.c
1395
hw->phy.type = ixgbe_phy_sfp_unsupported;
sys/dev/pci/ixgbe/ixgbe_phy.c
1434
if (hw->mac.type == ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe_phy.c
1514
if (hw->phy.type != ixgbe_phy_nl) {
sys/dev/pci/ixgbe/ixgbe_phy.c
1545
hw->phy.type =
sys/dev/pci/ixgbe/ixgbe_phy.c
1550
hw->phy.type = ixgbe_phy_sfp_ftl_active;
sys/dev/pci/ixgbe/ixgbe_phy.c
1552
hw->phy.type = ixgbe_phy_sfp_ftl;
sys/dev/pci/ixgbe/ixgbe_phy.c
1555
hw->phy.type = ixgbe_phy_sfp_avago;
sys/dev/pci/ixgbe/ixgbe_phy.c
1558
hw->phy.type = ixgbe_phy_sfp_intel;
sys/dev/pci/ixgbe/ixgbe_phy.c
1561
hw->phy.type = ixgbe_phy_sfp_unknown;
sys/dev/pci/ixgbe/ixgbe_phy.c
1572
if (hw->phy.type == ixgbe_phy_nl)
sys/dev/pci/ixgbe/ixgbe_phy.c
1576
hw->phy.type = ixgbe_phy_sfp_passive_unknown;
sys/dev/pci/ixgbe/ixgbe_phy.c
1578
hw->phy.type = ixgbe_phy_sfp_active_unknown;
sys/dev/pci/ixgbe/ixgbe_phy.c
1590
if (hw->phy.type != ixgbe_phy_nl)
sys/dev/pci/ixgbe/ixgbe_phy.c
1591
hw->phy.type = ixgbe_phy_sfp_unsupported;
sys/dev/pci/ixgbe/ixgbe_phy.c
1597
if (hw->mac.type == ixgbe_mac_82598EB) {
sys/dev/pci/ixgbe/ixgbe_phy.c
1611
if (hw->phy.type == ixgbe_phy_sfp_intel) {
sys/dev/pci/ixgbe/ixgbe_phy.c
1619
if (hw->phy.type != ixgbe_phy_nl)
sys/dev/pci/ixgbe/ixgbe_phy.c
1620
hw->phy.type =
sys/dev/pci/ixgbe/ixgbe_phy.c
1637
if (hw->phy.type != ixgbe_phy_nl) {
sys/dev/pci/ixgbe/ixgbe_phy.c
1639
hw->phy.type = ixgbe_phy_unknown;
sys/dev/pci/ixgbe/ixgbe_phy.c
1662
switch (hw->phy.type) {
sys/dev/pci/ixgbe/ixgbe_phy.c
1745
hw->phy.type = ixgbe_phy_sfp_unsupported;
sys/dev/pci/ixgbe/ixgbe_phy.c
1765
hw->phy.type = ixgbe_phy_qsfp_passive_unknown;
sys/dev/pci/ixgbe/ixgbe_phy.c
1804
hw->phy.type = ixgbe_phy_qsfp_active_unknown;
sys/dev/pci/ixgbe/ixgbe_phy.c
1813
hw->phy.type = ixgbe_phy_sfp_unsupported;
sys/dev/pci/ixgbe/ixgbe_phy.c
1860
hw->phy.type = ixgbe_phy_qsfp_intel;
sys/dev/pci/ixgbe/ixgbe_phy.c
1862
hw->phy.type = ixgbe_phy_qsfp_unknown;
sys/dev/pci/ixgbe/ixgbe_phy.c
1867
if (hw->phy.type == ixgbe_phy_qsfp_intel) {
sys/dev/pci/ixgbe/ixgbe_phy.c
1875
hw->phy.type =
sys/dev/pci/ixgbe/ixgbe_phy.c
1886
if (hw->phy.type == ixgbe_phy_sfp_unsupported)
sys/dev/pci/ixgbe/ixgbe_phy.c
1893
hw->phy.type = ixgbe_phy_unknown;
sys/dev/pci/ixgbe/ixgbe_phy.c
2083
if (hw->mac.type >= ixgbe_mac_X550)
sys/dev/pci/ixgbe/ixgbe_phy.c
307
hw->phy.type = ixgbe_get_phy_type_from_id(hw->phy.id);
sys/dev/pci/ixgbe/ixgbe_phy.c
309
if (hw->phy.type == ixgbe_phy_unknown) {
sys/dev/pci/ixgbe/ixgbe_phy.c
315
hw->phy.type = ixgbe_phy_cu_unknown;
sys/dev/pci/ixgbe/ixgbe_phy.c
317
hw->phy.type = ixgbe_phy_generic;
sys/dev/pci/ixgbe/ixgbe_phy.c
343
if (hw->phy.type != ixgbe_phy_unknown)
sys/dev/pci/ixgbe/ixgbe_phy.c
389
if (hw->mac.type == ixgbe_mac_82598EB)
sys/dev/pci/ixgbe/ixgbe_phy.c
510
if (hw->phy.type == ixgbe_phy_unknown)
sys/dev/pci/ixgbe/ixgbe_phy.c
513
if (status != IXGBE_SUCCESS || hw->phy.type == ixgbe_phy_none)
sys/dev/pci/ixgbe/ixgbe_phy.c
540
if (hw->phy.type == ixgbe_phy_x550em_ext_t) {
sys/dev/pci/ixgbe/ixgbe_phy.c
821
if (hw->mac.type == ixgbe_mac_X550) {
sys/dev/pci/ixgbe/ixgbe_phy.c
967
switch (hw->mac.type) {
sys/dev/pci/ixgbe/ixgbe_type.h
3876
enum ixgbe_bus_type type;
sys/dev/pci/ixgbe/ixgbe_type.h
4175
enum ixgbe_eeprom_type type;
sys/dev/pci/ixgbe/ixgbe_type.h
4188
enum ixgbe_mac_type type;
sys/dev/pci/ixgbe/ixgbe_type.h
4223
enum ixgbe_phy_type type;
sys/dev/pci/ixgbe/ixgbe_vf.c
676
if (mac->type == ixgbe_mac_82599_vf) {
sys/dev/pci/ixgbe/ixgbe_vf.c
691
if (hw->mac.type >= ixgbe_mac_X550_vf) {
sys/dev/pci/ixgbe/ixgbe_vf.c
701
if (hw->mac.type >= ixgbe_mac_X550_vf) {
sys/dev/pci/ixgbe/ixgbe_vf.c
709
if (hw->mac.type >= ixgbe_mac_X550_vf)
sys/dev/pci/ixgbe/ixgbe_x540.c
359
if (hw->mac.type == ixgbe_mac_X550) {
sys/dev/pci/ixgbe/ixgbe_x540.c
382
if (eeprom->type == ixgbe_eeprom_uninitialized) {
sys/dev/pci/ixgbe/ixgbe_x540.c
384
eeprom->type = ixgbe_flash;
sys/dev/pci/ixgbe/ixgbe_x540.c
393
eeprom->type, eeprom->word_size);
sys/dev/pci/ixgbe/ixgbe_x540.c
720
if (hw->mac.type == ixgbe_mac_X540 && hw->revision_id == 0) {
sys/dev/pci/ixgbe/ixgbe_x540.c
798
if (hw->mac.type >= ixgbe_mac_X550)
sys/dev/pci/ixgbe/ixgbe_x550.c
1198
if (eeprom->type == ixgbe_eeprom_uninitialized) {
sys/dev/pci/ixgbe/ixgbe_x550.c
1200
eeprom->type = ixgbe_flash;
sys/dev/pci/ixgbe/ixgbe_x550.c
1209
eeprom->type, eeprom->word_size);
sys/dev/pci/ixgbe/ixgbe_x550.c
1706
hw->phy.type = ixgbe_phy_sgmii;
sys/dev/pci/ixgbe/ixgbe_x550.c
1827
if (hw->mac.type == ixgbe_mac_X550EM_a) {
sys/dev/pci/ixgbe/ixgbe_x550.c
2024
if (hw->mac.type == ixgbe_mac_X550EM_a) {
sys/dev/pci/ixgbe/ixgbe_x550.c
2061
if (hw->phy.type == ixgbe_phy_fw) {
sys/dev/pci/ixgbe/ixgbe_x550.c
2091
switch (hw->phy.type) {
sys/dev/pci/ixgbe/ixgbe_x550.c
2102
if (hw->mac.type == ixgbe_mac_X550EM_a) {
sys/dev/pci/ixgbe/ixgbe_x550.c
2243
if (hw->mac.type != ixgbe_mac_X550EM_a) {
sys/dev/pci/ixgbe/ixgbe_x550.c
2349
if (hw->mac.type == ixgbe_mac_X550EM_a) {
sys/dev/pci/ixgbe/ixgbe_x550.c
2433
if (hw->mac.type == ixgbe_mac_X550EM_a &&
sys/dev/pci/ixgbe/ixgbe_x550.c
2514
switch (hw->phy.type) {
sys/dev/pci/ixgbe/ixgbe_x550.c
2544
if ((hw->mac.type == ixgbe_mac_X550EM_x) &&
sys/dev/pci/ixgbe/ixgbe_x550.c
2642
if (hw->phy.type == ixgbe_phy_x550em_ext_t) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3083
if (mac->type != ixgbe_mac_X550EM_x)
sys/dev/pci/ixgbe/ixgbe_x550.c
3116
if (hw->mac.type == ixgbe_mac_X550EM_x) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3182
if (hw->mac.type == ixgbe_mac_X550EM_x &&
sys/dev/pci/ixgbe/ixgbe_x550.c
3826
switch (hw->phy.type) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3828
if (hw->mac.type == ixgbe_mac_X550EM_a) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3965
if ((hw->mac.type == ixgbe_mac_X550EM_x) &&
sys/dev/pci/ixgbe/ixgbe_x550.c
465
hw->phy.type = ixgbe_phy_x550em_kx4;
sys/dev/pci/ixgbe/ixgbe_x550.c
4661
if (hw->mac.type == ixgbe_mac_X550EM_x &&
sys/dev/pci/ixgbe/ixgbe_x550.c
468
hw->phy.type = ixgbe_phy_x550em_xfi;
sys/dev/pci/ixgbe/ixgbe_x550.c
473
hw->phy.type = ixgbe_phy_x550em_kr;
sys/dev/pci/ixgbe/ixgbe_x550.c
479
hw->phy.type = ixgbe_phy_ext_1g_t;
sys/dev/pci/ixgbe/ixgbe_x550.c
483
hw->phy.type = ixgbe_phy_fw;
sys/dev/pci/ixgbe/ixgbe_x550.c
609
hw->phy.type = ixgbe_phy_fw;
sys/dev/pci/ixgbe/ixgbe_x550.c
751
hw->bus.type = ixgbe_bus_type_internal;
sys/dev/pci/ixgbe/ixv.c
1981
if (sc->hw.mac.type >= ixgbe_mac_X550_vf)
sys/dev/pci/ixgbe/ixv.c
2367
ixv_set_ivar(struct ixgbe_softc *sc, u8 entry, u8 vector, s8 type)
sys/dev/pci/ixgbe/ixv.c
2374
if (type == -1) { /* MISC IVAR */
sys/dev/pci/ixgbe/ixv.c
2380
index = (16 * (entry & 1)) + (8 * type);
sys/dev/pci/ixgbe/ixv.c
3041
switch (sc->hw.mac.type) {
sys/dev/pci/ixgbe/ixv.c
3502
if (sc->hw.mac.type == ixgbe_mac_82599_vf) {
sys/dev/pci/ixgbe/ixv.c
376
hw->mac.type = ixgbe_mac_82599_vf;
sys/dev/pci/ixgbe/ixv.c
380
hw->mac.type = ixgbe_mac_X540_vf;
sys/dev/pci/ixgbe/ixv.c
384
hw->mac.type = ixgbe_mac_X550_vf;
sys/dev/pci/ixgbe/ixv.c
388
hw->mac.type = ixgbe_mac_X550EM_x_vf;
sys/dev/pci/ixgbe/ixv.c
392
hw->mac.type = ixgbe_mac_X550EM_a_vf;
sys/dev/pci/joy_eap.c
59
aa.aa_aaa.type = AUDIODEV_TYPE_AUX;
sys/dev/pci/joy_eap.c
95
if (eaa->aa_aaa.type != AUDIODEV_TYPE_AUX)
sys/dev/pci/joy_eso.c
61
if (aa->type != AUDIODEV_TYPE_AUX)
sys/dev/pci/ld_virtio.c
1107
vr->vr_hdr.type = virtio_rw32(vsc, VIRTIO_BLK_T_DISCARD);
sys/dev/pci/ld_virtio.c
132
uint32_t type; /* VIRTIO_BLK_T_* */
sys/dev/pci/ld_virtio.c
542
vr->vr_hdr.type = virtio_rw32(vsc, VIRTIO_BLK_T_GET_ID);
sys/dev/pci/ld_virtio.c
649
vr->vr_hdr.type = virtio_rw32(vsc,
sys/dev/pci/ld_virtio.c
686
const uint32_t rt = virtio_rw32(vsc, vr->vr_hdr.type);
sys/dev/pci/ld_virtio.c
806
vr->vr_hdr.type = virtio_rw32(vsc, VIRTIO_BLK_T_OUT);
sys/dev/pci/ld_virtio.c
947
vr->vr_hdr.type = virtio_rw32(vsc, VIRTIO_BLK_T_FLUSH);
sys/dev/pci/lpt_puc.c
61
if (aa->type != PUC_PORT_TYPE_LPT)
sys/dev/pci/mfii.c
2766
uint16_t smid, uint8_t type, uint32_t flags)
sys/dev/pci/mfii.c
2775
req->task_type = type;
sys/dev/pci/mfii.c
3806
mfii_bio_hs(struct mfii_softc *sc, int volid, int type, void *bio_hs)
sys/dev/pci/mfii.c
3871
switch (type) {
sys/dev/pci/mlyreg.h
307
u_int8_t type; /* see 8.2 */
sys/dev/pci/mlyreg.h
632
u_int8_t type;
sys/dev/pci/mlyreg.h
909
u_int8_t type; /* see 8.2 */
sys/dev/pci/mlyreg.h
934
u_int8_t type; /* see 8.2 */
sys/dev/pci/mlyreg.h
951
u_int8_t type; /* see 8.2 */
sys/dev/pci/mpii.c
1763
u_int16_t type;
sys/dev/pci/mpii.c
1778
type = (le16toh(ce->element_flags) &
sys/dev/pci/mpii.c
1781
switch (type) {
sys/dev/pci/mpii.c
2253
mpii_req_cfg_header(struct mpii_softc *sc, u_int8_t type, u_int8_t number,
sys/dev/pci/mpii.c
2265
"address: 0x%08x flags: 0x%x\n", DEVNAME(sc), type, number,
sys/dev/pci/mpii.c
2276
etype = type;
sys/dev/pci/mpii.c
2277
type = MPII_CONFIG_REQ_PAGE_TYPE_EXTENDED;
sys/dev/pci/mpii.c
2287
cq->config_header.page_type = type;
sys/dev/pci/mpu_cmpci.c
62
if (aa->type != AUDIODEV_TYPE_MPU)
sys/dev/pci/mpu_eso.c
63
if (aa->type != AUDIODEV_TYPE_MPU)
sys/dev/pci/mpu_fms.c
64
if (aa->type != AUDIODEV_TYPE_MPU)
sys/dev/pci/mpu_yds.c
65
if (aa->type != AUDIODEV_TYPE_MPU)
sys/dev/pci/neo.c
127
uint32_t type;
sys/dev/pci/neo.c
306
switch (sc->type) {
sys/dev/pci/neo.c
420
switch (sc->type) {
sys/dev/pci/neo.c
566
sc->type = PCI_PRODUCT(pa->pa_id);
sys/dev/pci/neo.c
569
sc->type == PCI_PRODUCT_NEOMAGIC_NMMM256AV_AU ? "AV" : "ZX");
sys/dev/pci/oboe.c
696
#define SPEEDCASE(speed, type, divisor) \
sys/dev/pci/oboe.c
698
OUTB(sc, OBOE_PMDL_##type, OBOE_PMDL); \
sys/dev/pci/oboe.c
699
OUTB(sc, OBOE_SMDL_##type, OBOE_SMDL); \
sys/dev/pci/opl_cmpci.c
64
if (aa->type != AUDIODEV_TYPE_OPL)
sys/dev/pci/opl_eso.c
63
if (aa->type != AUDIODEV_TYPE_OPL)
sys/dev/pci/opl_fms.c
64
if (aa->type != AUDIODEV_TYPE_OPL)
sys/dev/pci/opl_sv.c
63
if (aa->type != AUDIODEV_TYPE_OPL)
sys/dev/pci/opl_yds.c
66
if (aa->type != AUDIODEV_TYPE_OPL)
sys/dev/pci/pccbb.c
2395
pccbb_pcmcia_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/dev/pci/pccbb.c
2404
if (type == PCMCIA_IFTYPE_IO)
sys/dev/pci/pccbb.c
2412
((type == PCMCIA_IFTYPE_IO) ? "io" : "mem"), intr));
sys/dev/pci/pci.c
346
pcireg_t type;
sys/dev/pci/pci.c
349
if (pci_mapreg_probe(pc, tag, bar, &type) == 0)
sys/dev/pci/pci.c
352
if (PCI_MAPREG_TYPE(type) == PCI_MAPREG_TYPE_MEM) {
sys/dev/pci/pci.c
353
if (PCI_MAPREG_MEM_TYPE(type) ==
sys/dev/pci/pci.c
358
if (pci_mapreg_info(pc, tag, bar, type,
sys/dev/pci/pci_map.c
113
pci_mem_find(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t type,
sys/dev/pci/pci_map.c
121
is64bit = (PCI_MAPREG_MEM_TYPE(type) == PCI_MAPREG_MEM_TYPE_64BIT);
sys/dev/pci/pci_map.c
185
PCI_MAPREG_MEM_TYPE(type) &&
sys/dev/pci/pci_map.c
190
PCI_MAPREG_MEM_TYPE(type),
sys/dev/pci/pci_map.c
248
bar_type_string(pcireg_t type)
sys/dev/pci/pci_map.c
250
if (PCI_MAPREG_TYPE(type) == PCI_MAPREG_TYPE_IO)
sys/dev/pci/pci_map.c
253
switch (PCI_MAPREG_MEM_TYPE(type)) {
sys/dev/pci/pci_map.c
393
int reg, pcireg_t type, bus_addr_t *basep, bus_size_t *sizep, int *flagsp,
sys/dev/pci/pci_map.c
403
if (PCI_MAPREG_TYPE(type) == PCI_MAPREG_TYPE_IO)
sys/dev/pci/pci_map.c
49
pci_io_find(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t type,
sys/dev/pci/pci_map.c
541
pci_mapreg_info(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t type,
sys/dev/pci/pci_map.c
547
return pci_ea_find(pc, tag, ea_cap_ptr, reg, type,
sys/dev/pci/pci_map.c
550
if (PCI_MAPREG_TYPE(type) == PCI_MAPREG_TYPE_IO)
sys/dev/pci/pci_map.c
551
return pci_io_find(pc, tag, reg, type, basep, sizep,
sys/dev/pci/pci_map.c
554
return pci_mem_find(pc, tag, reg, type, basep, sizep,
sys/dev/pci/pci_map.c
559
pci_mapreg_map(const struct pci_attach_args *pa, int reg, pcireg_t type,
sys/dev/pci/pci_map.c
563
return pci_mapreg_submap(pa, reg, type, busflags, 0, 0, tagp,
sys/dev/pci/pci_map.c
568
pci_mapreg_submap(const struct pci_attach_args *pa, int reg, pcireg_t type,
sys/dev/pci/pci_map.c
582
if (PCI_MAPREG_TYPE(type) == PCI_MAPREG_TYPE_IO) {
sys/dev/pci/pci_map.c
595
if (pci_ea_find(pa->pa_pc, pa->pa_tag, ea_cap_ptr, reg, type,
sys/dev/pci/pci_map.c
605
if (PCI_MAPREG_TYPE(type) == PCI_MAPREG_TYPE_IO) {
sys/dev/pci/pci_map.c
606
if (pci_io_find(pa->pa_pc, pa->pa_tag, reg, type,
sys/dev/pci/pci_map.c
610
if (pci_mem_find(pa->pa_pc, pa->pa_tag, reg, type,
sys/dev/pci/pci_map.c
656
csr |= (PCI_MAPREG_TYPE(type) == PCI_MAPREG_TYPE_IO) ?
sys/dev/pci/pci_map.c
676
bus_space_handle_t bsh, bus_size_t sz, int type,
sys/dev/pci/pci_map.c
740
(rom.rom_code_type == type)) {
sys/dev/pci/pci_resource.c
182
enum pci_range_type type, uint64_t start, uint64_t end)
sys/dev/pci/pci_resource.c
189
type, start, end);
sys/dev/pci/pci_resource.c
195
if (type == PCI_RANGE_BUS &&
sys/dev/pci/pci_resource.c
206
if ((arena = arenas[type]) == NULL) {
sys/dev/pci/pci_resource.c
207
arena = arenas[type] = kmem_zalloc(sizeof(*arenas[type]),
sys/dev/pci/pci_resource.c
209
arena->vmem = vmem_create(pci_resource_typename(type),
sys/dev/pci/pci_resource.c
223
pci_resource_typename(type), start, end);
sys/dev/pci/pci_resource.c
258
enum pci_range_type type, uint64_t start, uint64_t end)
sys/dev/pci/pci_resource.c
261
pci_resource_arena_add_range(info->ranges, type, start, end);
sys/dev/pci/pci_subr.c
1051
const char *type, *prefetch;
sys/dev/pci/pci_subr.c
1055
type = "32-bit";
sys/dev/pci/pci_subr.c
1058
type = "32-bit-1M";
sys/dev/pci/pci_subr.c
1061
type = "64-bit";
sys/dev/pci/pci_subr.c
1064
type = "unknown (XXX)";
sys/dev/pci/pci_subr.c
1071
printf("%s %sprefetchable memory\n", type, prefetch);
sys/dev/pci/pci_subr.c
3260
pci_conf_print_rclink_dcl_cap_elmtype(unsigned char type)
sys/dev/pci/pci_subr.c
3263
switch (type) {
sys/dev/pci/pciconf.c
120
int type;
sys/dev/pci/pciconf.c
1425
pciconf_resource_add(struct pciconf_resources *rs, int type,
sys/dev/pci/pciconf.c
1438
if (type < 0 || type >= PCICONF_RESOURCE_NTYPES)
sys/dev/pci/pciconf.c
1441
r = &rs->resources[type];
sys/dev/pci/pciconf.c
1445
r->arena = create_vmem_arena(pciconf_resource_names[type],
sys/dev/pci/pciconf.c
1461
switch (type) {
sys/dev/pci/pciconf.c
1481
if (rsvd->type != rsvd_type)
sys/dev/pci/pciconf.c
1504
pciconf_resource_reserve(int type, bus_addr_t start, bus_size_t size,
sys/dev/pci/pciconf.c
1510
rsvd->type = type;
sys/dev/pci/pciconf.c
522
pci_resource_is_reserved(int type, uint64_t addr, uint64_t size)
sys/dev/pci/pciconf.c
527
if (rsvd->type != type)
sys/dev/pci/pcireg.h
1222
#define PCIE_HAS_LINKREGS(type) (((type) != PCIE_XCAP_TYPE_RCIEP) && \
sys/dev/pci/pcireg.h
1223
((type) != PCIE_XCAP_TYPE_RC_EVNTC))
sys/dev/pci/pcireg.h
1226
#define PCIE_HAS_ROOTREGS(type) (((type) == PCIE_XCAP_TYPE_RP) || \
sys/dev/pci/pcireg.h
1227
((type) == PCIE_XCAP_TYPE_RC_EVNTC))
sys/dev/pci/pcireg.h
445
#define PCI_BHLC_CODE(bist,type,multi,latency,cacheline) \
sys/dev/pci/pcireg.h
447
(((type) & PCI_HDRTYPE_MASK) << PCI_HDRTYPE_SHIFT) | \
sys/dev/pci/puc.c
180
puc_port_type_name(sc->sc_desc->ports[i].type));
sys/dev/pci/puc.c
184
pcireg_t bar, type;
sys/dev/pci/puc.c
192
type = (PCI_MAPREG_TYPE(bar) == PCI_MAPREG_TYPE_IO ?
sys/dev/pci/puc.c
195
if (type == PCI_MAPREG_TYPE_IO) {
sys/dev/pci/puc.c
206
PCI_BAR(i), type, 0,
sys/dev/pci/puc.c
279
puc_port_type_name(sc->sc_desc->ports[i].type),
sys/dev/pci/puc.c
286
paa.type = sc->sc_desc->ports[i].type;
sys/dev/pci/puc.c
313
device_xname(self), paa.port, puc_port_type_name(paa.type),
sys/dev/pci/puc.c
335
aprint_normal("%s at %s", puc_port_type_name(paa->type), pnp);
sys/dev/pci/puc.c
363
puc_port_type_name(int type)
sys/dev/pci/puc.c
366
switch (type) {
sys/dev/pci/puc.c
372
panic("puc_port_type_name %d", type);
sys/dev/pci/puccn.c
170
if (desc->ports[i].type != PUC_PORT_TYPE_COM)
sys/dev/pci/pucvar.h
47
int type;
sys/dev/pci/pucvar.h
64
((port) < PUC_MAX_PORTS && (desc)->ports[(port)].type != PUC_PORT_TYPE_NONE)
sys/dev/pci/pucvar.h
93
int type;
sys/dev/pci/pvscsi.c
1213
switch (e->type) {
sys/dev/pci/pvscsi.c
1220
desc->type == PVSCSI_MSG_DEV_ADDED ? "addition" : "removal",
sys/dev/pci/pvscsi.c
1223
if (desc->type == PVSCSI_MSG_DEV_ADDED) {
sys/dev/pci/pvscsi.c
1242
aprint_normal_dev(sc->dev, "Unknown msg type 0x%x\n", e->type);
sys/dev/pci/pvscsi.h
208
uint32_t type;
sys/dev/pci/pvscsi.h
213
uint32_t type;
sys/dev/pci/qat/qat_ae.c
2146
#define ASSIGN_OBJ_TAB(np, typep, type, base, off, lim) \
sys/dev/pci/qat/qat_ae.c
2151
sizeof(type) * nent) \
sys/dev/pci/qat/qat_ae.c
2155
*(typep) = (type)((struct uof_obj_table *) \
sys/dev/pci/qat/qat_hw15.c
100
qat_msg_req_type_populate(struct arch_if_req_hdr *msg, enum arch_if_req type,
sys/dev/pci/qat/qat_hw15.c
107
msg->req_type = type;
sys/dev/pci/qat/qatvar.h
89
#define QAT_EVCNT_ATTACH(sc, ev, type, name, fmt, args...) \
sys/dev/pci/qat/qatvar.h
92
evcnt_attach_dynamic((ev), (type), NULL, \
sys/dev/pci/qat/qatvar.h
97
#define QAT_EVCNT_ATTACH(sc, ev, type, name, fmt, args...) /* nothing */
sys/dev/pci/sdhc_pci.c
420
pcireg_t type;
sys/dev/pci/sdhc_pci.c
422
type = pci_mapreg_type(pa->pa_pc, pa->pa_tag, reg);
sys/dev/pci/sdhc_pci.c
423
if (type == PCI_MAPREG_TYPE_IO)
sys/dev/pci/sdhc_pci.c
425
else if (PCI_MAPREG_MEM_TYPE(type)
sys/dev/pci/sdhc_pci.c
431
if (pci_mapreg_map(pa, reg, type, 0,
sys/dev/pci/sisfb.c
351
sisfb_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/dev/pci/siside.c
120
u_int8_t type;
sys/dev/pci/siside.c
238
if (sis_hostbr_type_match->type == SIS_TYPE_SOUTH) {
sys/dev/pci/siside.c
261
sc->sis_type = sis_hostbr_type_match->type;
sys/dev/pci/sv.c
1017
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/pci/sv.c
1040
if (cp->type != AUDIO_MIXER_VALUE)
sys/dev/pci/sv.c
1089
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/pci/sv.c
1117
if (cp->type != AUDIO_MIXER_VALUE)
sys/dev/pci/sv.c
1141
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/pci/sv.c
1157
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/pci/sv.c
1198
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/pci/sv.c
1205
if (cp->type != AUDIO_MIXER_VALUE ||
sys/dev/pci/sv.c
1245
if (cp->type != AUDIO_MIXER_ENUM) {
sys/dev/pci/sv.c
1256
if (cp->type != AUDIO_MIXER_VALUE) {
sys/dev/pci/sv.c
1272
if (cp->type != AUDIO_MIXER_ENUM) {
sys/dev/pci/sv.c
1281
if (cp->type != AUDIO_MIXER_ENUM) {
sys/dev/pci/sv.c
1303
cp.type = AUDIO_MIXER_ENUM;
sys/dev/pci/sv.c
1311
cp.type = AUDIO_MIXER_ENUM;
sys/dev/pci/sv.c
449
arg.type = AUDIODEV_TYPE_OPL;
sys/dev/pci/sv.c
905
dip->type = AUDIO_MIXER_CLASS;
sys/dev/pci/sv.c
923
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/sv.c
934
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/sv.c
955
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/sv.c
970
dip->type = AUDIO_MIXER_VALUE;
sys/dev/pci/sv.c
988
dip->type = AUDIO_MIXER_ENUM;
sys/dev/pci/tga.c
683
tga_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/dev/pci/tga_conf.c
140
int type;
sys/dev/pci/tga_conf.c
154
type = TGA_TYPE_UNKNOWN;
sys/dev/pci/tga_conf.c
163
type = TGA_TYPE_T8_01;
sys/dev/pci/tga_conf.c
165
type = TGA_TYPE_T8_02;
sys/dev/pci/tga_conf.c
170
type = TGA_TYPE_T8_22;
sys/dev/pci/tga_conf.c
175
type = TGA_TYPE_T8_44;
sys/dev/pci/tga_conf.c
181
type = TGA_TYPE_POWERSTORM_4D20;
sys/dev/pci/tga_conf.c
188
type = TGA_TYPE_T32_04;
sys/dev/pci/tga_conf.c
190
type = TGA_TYPE_T32_08;
sys/dev/pci/tga_conf.c
195
type = TGA_TYPE_T32_88;
sys/dev/pci/tga_conf.c
199
return (type);
sys/dev/pci/tga_conf.c
203
tga_getconf(int type)
sys/dev/pci/tga_conf.c
206
if (type >= 0 && type < TGA_TYPE_UNKNOWN)
sys/dev/pci/tga_conf.c
207
return &tga_configs[type];
sys/dev/pci/unichromefb.c
919
struct io_register *reg, int type)
sys/dev/pci/unichromefb.c
944
if (type == VIACR)
sys/dev/pci/viogpu.c
556
((struct virtio_gpu_ctrl_hdr *)sc->sc_cmd)->type);
sys/dev/pci/viogpu.c
557
resp_type = virtio_rw32(vsc, resp->type);
sys/dev/pci/viogpu.c
619
hdr.type = virtio_rw32(vsc, VIRTIO_GPU_CMD_GET_DISPLAY_INFO);
sys/dev/pci/viogpu.c
623
if (virtio_rw32(vsc, info.hdr.type) !=
sys/dev/pci/viogpu.c
648
res.hdr.type = virtio_rw32(vsc, VIRTIO_GPU_CMD_RESOURCE_CREATE_2D);
sys/dev/pci/viogpu.c
656
if (virtio_rw32(vsc, resp.type) != VIRTIO_GPU_RESP_OK_NODATA) {
sys/dev/pci/viogpu.c
658
virtio_rw32(vsc, resp.type));
sys/dev/pci/viogpu.c
673
ss.hdr.type = virtio_rw32(vsc, VIRTIO_GPU_CMD_SET_SCANOUT);
sys/dev/pci/viogpu.c
681
if (virtio_rw32(vsc, resp.type) != VIRTIO_GPU_RESP_OK_NODATA) {
sys/dev/pci/viogpu.c
683
virtio_rw32(vsc, resp.type));
sys/dev/pci/viogpu.c
698
backing.hdr.type = virtio_rw32(vsc,
sys/dev/pci/viogpu.c
717
if (virtio_rw32(vsc, resp.type) != VIRTIO_GPU_RESP_OK_NODATA) {
sys/dev/pci/viogpu.c
719
virtio_rw32(vsc, resp.type));
sys/dev/pci/viogpu.c
734
tth.hdr.type = virtio_rw32(vsc, VIRTIO_GPU_CMD_TRANSFER_TO_HOST_2D);
sys/dev/pci/viogpu.c
756
flush.hdr.type = virtio_rw32(vsc, VIRTIO_GPU_CMD_RESOURCE_FLUSH);
sys/dev/pci/viogpu.h
135
__le32 type;
sys/dev/pci/virtio_pci.c
480
pcireg_t type;
sys/dev/pci/virtio_pci.c
485
type = pci_mapreg_type(pc, tag, reg);
sys/dev/pci/virtio_pci.c
486
if (pci_mapreg_map(pa, reg, type, 0,
sys/dev/pci/voyager/vac.c
285
mc.type = AUDIO_MIXER_VALUE;
sys/dev/pci/voyager/vac.c
296
mc.type = AUDIO_MIXER_ENUM;
sys/dev/pci/xmm7360.c
1499
dev->type = ARPHRD_NONE;
sys/dev/pci/xmm7360.c
1886
xmm7360_tty_driver->type = TTY_DRIVER_TYPE_SERIAL;
sys/dev/pci/xmm7360.c
237
#define pci_mapreg_map(pa, reg, type, busfl, tp, hp, bp, szp, maxsize) \
sys/dev/pci/xmm7360.c
238
pci_mapreg_map(pa, reg, type, busfl, tp, hp, bp, szp)
sys/dev/pci/yds.c
593
aa.type = AUDIODEV_TYPE_OPL;
sys/dev/pci/yds.c
630
aa.type = AUDIODEV_TYPE_MPU;
sys/dev/pckbport/pckbd.c
1012
u_int type;
sys/dev/pckbport/pckbd.c
1025
if (pckbd_decode(sc->id, data, &type, &key))
sys/dev/pckbport/pckbd.c
1026
wskbd_input(sc->sc_wskbddev, type, key);
sys/dev/pckbport/pckbd.c
1125
pckbd_cngetc(void *v, u_int *type, int *data)
sys/dev/pckbport/pckbd.c
1133
*type = 0;
sys/dev/pckbport/pckbd.c
1142
if (pckbd_decode(t, val, type, data))
sys/dev/pckbport/pckbd.c
876
pckbd_decode(struct pckbd_internal *id, int datain, u_int *type, int *dataout)
sys/dev/pckbport/pckbd.c
931
*type = WSCONS_EVENT_KEY_UP;
sys/dev/pckbport/pckbd.c
937
*type = WSCONS_EVENT_KEY_DOWN;
sys/dev/pcmcia/btbc.c
369
p->type = HCI_CMD_PKT;
sys/dev/pcmcia/btbc.c
568
if (p->type == HCI_CMD_PKT &&
sys/dev/pcmcia/if_malo_pcmcia.c
1357
body_ssid->type = htole16(MALO_TLV_TYPE_SSID);
sys/dev/pcmcia/if_malo_pcmcia.c
1361
body_chanlist->type = htole16(MALO_TLV_TYPE_CHANLIST);
sys/dev/pcmcia/if_malo_pcmcia.c
1372
body_rates->type = htole16(MALO_TLV_TYPE_RATES);
sys/dev/pcmcia/if_malo_pcmcia.c
1833
body_ssid->type = htole16(MALO_TLV_TYPE_SSID);
sys/dev/pcmcia/if_malo_pcmcia.c
1841
body_phy->type = htole16(MALO_TLV_TYPE_PHY);
sys/dev/pcmcia/if_malo_pcmcia.c
1848
body_cf->type = htole16(MALO_TLV_TYPE_CF);
sys/dev/pcmcia/if_malo_pcmcia.c
1852
body_rates->type = htole16(MALO_TLV_TYPE_RATES);
sys/dev/pcmcia/if_malo_pcmcia.c
1861
body_passeid->type = htole16(MALO_TLV_TYPE_PASSEID);
sys/dev/pcmcia/if_malo_pcmciavar.h
262
uint16_t type;
sys/dev/pcmcia/if_malo_pcmciavar.h
268
uint16_t type;
sys/dev/pcmcia/if_malo_pcmciavar.h
274
uint16_t type;
sys/dev/pcmcia/if_malo_pcmciavar.h
280
uint16_t type;
sys/dev/pcmcia/if_malo_pcmciavar.h
291
uint16_t type;
sys/dev/pcmcia/if_malo_pcmciavar.h
306
uint16_t type;
sys/dev/pcmcia/if_malo_pcmciavar.h
312
uint16_t type;
sys/dev/pcmcia/if_malo_pcmciavar.h
318
uint16_t type;
sys/dev/pcmcia/if_ne_pcmcia.c
651
u_int8_t type;
sys/dev/pcmcia/if_ne_pcmcia.c
667
type = bus_space_read_1(nsc->sc_asict, nsc->sc_asich, 0x0f);
sys/dev/pcmcia/if_ne_pcmcia.c
668
if (type == 0x91 || type == 0x99) {
sys/dev/pcmcia/pcmcia.c
427
pcmcia_socket_settype(device_t dev, int type)
sys/dev/pcmcia/pcmcia.c
431
pcmcia_chip_socket_settype(sc->pct, sc->pch, type);
sys/dev/pcmcia/pcmcia_cis.c
952
int type = pcmcia_tuple_read_1(tuple, 0);
sys/dev/pcmcia/pcmcia_cis.c
963
if (type == PCMCIA_TPLFE_TYPE_DISK_DEVICE_INTERFACE) {
sys/dev/pcmcia/pcmcia_cis.c
969
if (type == PCMCIA_TPLFE_TYPE_LAN_NID) {
sys/dev/pcmcia/pcmciachip.h
139
#define pcmcia_chip_socket_settype(tag, handle, type) \
sys/dev/pcmcia/pcmciachip.h
140
((*(tag)->socket_settype)((handle), (type)))
sys/dev/ppbus/ppbus_msq.c
212
int param, ins, arg, type;
sys/dev/ppbus/ppbus_msq.c
223
type = MS_TYP(param);
sys/dev/ppbus/ppbus_msq.c
232
__func__, param, ins, arg, type);
sys/dev/ppbus/ppbus_msq.c
237
switch (type) {
sys/dev/pud/pud.c
311
pud_request(dev_t dev, void *data, size_t dlen, int class, int type)
sys/dev/pud/pud.c
326
pdr->pdr_reqtype = type;
sys/dev/pud/pud_dev.c
50
doopenclose(dev_t dev, int flags, int fmt, int class, int type)
sys/dev/pud/pud_dev.c
57
return pud_request(dev, &pc_oc, sizeof(pc_oc), class, type);
sys/dev/pud/pud_dev.c
62
doioctl(dev_t dev, u_long cmd, void *data, int flag, int class, int type)
sys/dev/pud/pud_dev.c
77
error = pud_request(dev, pc_ioctl, allocsize, class, type);
sys/dev/qbus/if_dmc.c
464
dmcload(struct dmc_softc *sc, int type, u_short w0, u_short w1)
sys/dev/qbus/if_dmc.c
477
qp->qp_cmd = (type | DMC_RQI);
sys/dev/qbus/if_dmc.c
482
if (type == DMC_READ) {
sys/dev/qbus/if_dmc.c
765
int type, error, s;
sys/dev/qbus/if_dmc.c
779
type = DMC_IPTYPE;
sys/dev/qbus/if_dmc.c
785
type = dh->dmc_type;
sys/dev/qbus/if_dmc.c
805
dh->dmc_type = htons((u_short)type);
sys/dev/qbus/rf.c
159
u_int8_t type; /* controller type, 1 or 2 */
sys/dev/qbus/rf.c
198
u_int8_t type; /* controller type, 1 or 2 */
sys/dev/qbus/rf.c
326
} while (rfc_sc->type == 2 && dens_flag++ == 0);
sys/dev/qbus/rf.c
385
rfc_sc->type = 2;
sys/dev/qbus/rf.c
386
rfc_aa.type = 2;
sys/dev/qbus/rf.c
388
rfc_sc->type = 1;
sys/dev/qbus/rf.c
389
rfc_aa.type = 1;
sys/dev/qbus/rf.c
391
printf(": RX0%d\n", rfc_sc->type);
sys/dev/qbus/rf.c
471
dl->d_typename[3] = rfc_sc->type == 1 ? '1' : '2'; /* type name */
sys/dev/qbus/rf.c
518
aprint_normal("RX0%d at %s", rfc_aa->type, name);
sys/dev/qbus/rf.c
674
if (rfc_sc->type == 2
sys/dev/qbus/rf.c
993
if (rfc_sc->type == 1
sys/dev/qbus/rl.c
177
ra->type & RLMP_DT ? '2' : '1', name);
sys/dev/qbus/rl.c
244
ra.type = RL_RREG(RL_MP);
sys/dev/qbus/rl.c
277
if (ra->type & RLMP_DT)
sys/dev/qbus/rl.c
282
dl->d_ncylinders = ra->type & RLMP_DT ? RL_TPS02 : RL_TPS01;
sys/dev/qbus/rlvar.h
61
u_int16_t type;
sys/dev/qbus/ts.c
827
tsopen(dev_t dev, int flag, int type, struct lwp *l)
sys/dev/qbus/ts.c
886
tsclose(dev_t dev, int flag, int type, struct lwp *l)
sys/dev/raidframe/raidframevar.h
571
void (*SelectionFunc) (RF_Raid_t * raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_aselect.c
107
RF_IoType_t type = desc->type;
sys/dev/raidframe/rf_aselect.c
161
(raidPtr->Layout.map->SelectionFunc) (raidPtr, type, asm_p, &(stripeFuncs->fp));
sys/dev/raidframe/rf_aselect.c
216
(raidPtr->Layout.map->SelectionFunc) (raidPtr, type, asm_up, &(vfple->fn));
sys/dev/raidframe/rf_aselect.c
259
(raidPtr->Layout.map->SelectionFunc) (raidPtr, type, asm_bp, &(vfple->fn));
sys/dev/raidframe/rf_chaindecluster.c
239
rf_RAIDCDagSelect(RF_Raid_t *raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_chaindecluster.c
247
RF_ASSERT(RF_IO_IS_R_OR_W(type));
sys/dev/raidframe/rf_chaindecluster.c
254
*createFunc = (type == RF_IO_TYPE_READ) ? (RF_VoidFuncPtr) rf_CreateFaultFreeReadDAG : (RF_VoidFuncPtr) rf_CreateRaidOneWriteDAG;
sys/dev/raidframe/rf_chaindecluster.c
256
if (type == RF_IO_TYPE_READ) {
sys/dev/raidframe/rf_chaindecluster.h
55
rf_RAIDCDagSelect(RF_Raid_t * raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_dagdegrd.c
1006
pda_p->type = RF_PDA_TYPE_DATA;
sys/dev/raidframe/rf_dagdegrd.c
743
pda_p->type = RF_PDA_TYPE_PARITY;
sys/dev/raidframe/rf_dagdegrd.c
747
pda_p->type = RF_PDA_TYPE_Q;
sys/dev/raidframe/rf_dagdegrd.c
757
pda_p->type = RF_PDA_TYPE_PARITY;
sys/dev/raidframe/rf_dagdegrd.c
760
pda_p->type = RF_PDA_TYPE_Q;
sys/dev/raidframe/rf_dagdegrd.c
768
pda_p->type = RF_PDA_TYPE_PARITY;
sys/dev/raidframe/rf_dagdegrd.c
771
pda_p->type = RF_PDA_TYPE_Q;
sys/dev/raidframe/rf_dagdegrd.c
774
pda_p->type = RF_PDA_TYPE_PARITY;
sys/dev/raidframe/rf_dagdegrd.c
777
pda_p->type = RF_PDA_TYPE_Q;
sys/dev/raidframe/rf_dagdegrd.c
837
pda_p->type = RF_PDA_TYPE_DATA;
sys/dev/raidframe/rf_dagdegrd.c
860
pda_p->type = RF_PDA_TYPE_DATA;
sys/dev/raidframe/rf_dagdegrd.c
983
pda_p->type = RF_PDA_TYPE_DATA;
sys/dev/raidframe/rf_dagdegwr.c
603
pda_p->type = RF_PDA_TYPE_PARITY;
sys/dev/raidframe/rf_dagdegwr.c
607
pda_p->type = RF_PDA_TYPE_Q;
sys/dev/raidframe/rf_dagdegwr.c
617
pda_p->type = RF_PDA_TYPE_PARITY;
sys/dev/raidframe/rf_dagdegwr.c
620
pda_p->type = RF_PDA_TYPE_Q;
sys/dev/raidframe/rf_dagdegwr.c
629
pda_p->type = RF_PDA_TYPE_PARITY;
sys/dev/raidframe/rf_dagdegwr.c
632
pda_p->type = RF_PDA_TYPE_Q;
sys/dev/raidframe/rf_dagdegwr.c
635
pda_p->type = RF_PDA_TYPE_PARITY;
sys/dev/raidframe/rf_dagdegwr.c
638
pda_p->type = RF_PDA_TYPE_Q;
sys/dev/raidframe/rf_dagdegwr.c
662
pda_p->type = RF_PDA_TYPE_DATA;
sys/dev/raidframe/rf_dagdegwr.c
685
pda_p->type = RF_PDA_TYPE_DATA;
sys/dev/raidframe/rf_dagffrd.c
130
RF_IoType_t type)
sys/dev/raidframe/rf_dagffrd.c
146
RF_ASSERT(RF_IO_IS_R_OR_W(type));
sys/dev/raidframe/rf_dagffrd.c
147
switch (type) {
sys/dev/raidframe/rf_dagffrd.c
207
switch (type) {
sys/dev/raidframe/rf_dagffrd.c
250
if (type == RF_IO_TYPE_READ) {
sys/dev/raidframe/rf_dagffrd.h
42
RF_AllocListElem_t * allocList, RF_IoType_t type);
sys/dev/raidframe/rf_dagffwr.c
84
RF_IoType_t type)
sys/dev/raidframe/rf_dagffwr.c
95
RF_IoType_t type)
sys/dev/raidframe/rf_dagffwr.h
39
RF_IoType_t type);
sys/dev/raidframe/rf_dagffwr.h
43
RF_AllocListElem_t * allocList, RF_IoType_t type);
sys/dev/raidframe/rf_desc.h
66
RF_IoType_t type; /* read or write */
sys/dev/raidframe/rf_diskqueue.c
296
RF_ASSERT(req->type == RF_IO_TYPE_NOP || req->numSector);
sys/dev/raidframe/rf_diskqueue.c
409
p->type = typ;
sys/dev/raidframe/rf_diskqueue.h
59
RF_IoType_t type; /* read/write/nop */
sys/dev/raidframe/rf_driver.c
579
rf_AllocRaidAccDesc(RF_Raid_t *raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_driver.c
604
desc->type = type;
sys/dev/raidframe/rf_driver.c
675
rf_DoAccess(RF_Raid_t * raidPtr, RF_IoType_t type, RF_RaidAddr_t raidAddress, RF_SectorCount_t numBlocks,
sys/dev/raidframe/rf_driver.c
690
(type == RF_IO_TYPE_READ) ? "READ" : "WRITE", (int) raidAddress,
sys/dev/raidframe/rf_driver.c
699
desc = rf_AllocRaidAccDesc(raidPtr, type, raidAddress,
sys/dev/raidframe/rf_driver.c
710
type == RF_IO_TYPE_WRITE)
sys/dev/raidframe/rf_evenodd.c
183
rf_EODagSelect(RF_Raid_t *raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_evenodd.c
191
RF_ASSERT(RF_IO_IS_R_OR_W(type));
sys/dev/raidframe/rf_evenodd.c
198
if (type == RF_IO_TYPE_READ) {
sys/dev/raidframe/rf_evenodd.c
210
if (asmap->failedPDAs[1]->type == RF_PDA_TYPE_PARITY)
sys/dev/raidframe/rf_evenodd.c
245
RF_ASSERT((asmap->failedPDAs[0]->type == RF_PDA_TYPE_PARITY) || (asmap->failedPDAs[0]->type == RF_PDA_TYPE_Q));
sys/dev/raidframe/rf_evenodd.c
246
if (asmap->failedPDAs[0]->type == RF_PDA_TYPE_Q) { /* q died, treat like
sys/dev/raidframe/rf_evenodd.c
289
RF_ASSERT(asmap->failedPDAs[0]->type == RF_PDA_TYPE_DATA);
sys/dev/raidframe/rf_evenodd.c
290
RF_ASSERT((asmap->failedPDAs[1]->type == RF_PDA_TYPE_PARITY) || (asmap->failedPDAs[1]->type == RF_PDA_TYPE_Q));
sys/dev/raidframe/rf_evenodd.c
291
if (asmap->failedPDAs[1]->type == RF_PDA_TYPE_Q) {
sys/dev/raidframe/rf_evenodd.h
48
rf_EODagSelect(RF_Raid_t * raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_evenodd_dagfuncs.c
115
RF_ASSERT(EPDA->type == RF_PDA_TYPE_Q);
sys/dev/raidframe/rf_evenodd_dagfuncs.c
164
RF_ASSERT(((RF_PhysDiskAddr_t *) node->params[2].p)->type == RF_PDA_TYPE_Q);
sys/dev/raidframe/rf_evenodd_dagfuncs.c
659
if (((RF_PhysDiskAddr_t *) node->params[i].p)->type != RF_PDA_TYPE_DATA) {
sys/dev/raidframe/rf_evenodd_dagfuncs.c
674
RF_ASSERT(ppda2->type == RF_PDA_TYPE_PARITY);
sys/dev/raidframe/rf_evenodd_dagfuncs.c
677
RF_ASSERT(epda2->type == RF_PDA_TYPE_Q);
sys/dev/raidframe/rf_interdecluster.c
255
RF_IoType_t type,
sys/dev/raidframe/rf_interdecluster.c
259
RF_ASSERT(RF_IO_IS_R_OR_W(type));
sys/dev/raidframe/rf_interdecluster.c
266
*createFunc = (type == RF_IO_TYPE_READ) ? (RF_VoidFuncPtr) rf_CreateFaultFreeReadDAG : (RF_VoidFuncPtr) rf_CreateRaidOneWriteDAG;
sys/dev/raidframe/rf_interdecluster.c
267
if (type == RF_IO_TYPE_READ) {
sys/dev/raidframe/rf_interdecluster.h
56
rf_RAIDIDagSelect(RF_Raid_t * raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_layout.h
105
int type; /* used by higher levels: currently, data,
sys/dev/raidframe/rf_map.c
168
pda_p->type = RF_PDA_TYPE_DATA;
sys/dev/raidframe/rf_map.c
205
pda_p->type = RF_PDA_TYPE_PARITY;
sys/dev/raidframe/rf_map.c
222
pda_p->type = RF_PDA_TYPE_PARITY;
sys/dev/raidframe/rf_map.c
227
pda_q->type = RF_PDA_TYPE_Q;
sys/dev/raidframe/rf_map.c
848
if (pda_p->type == RF_PDA_TYPE_DATA)
sys/dev/raidframe/rf_netbsdkintf.c
2132
int op = (req->type == RF_IO_TYPE_READ) ? B_READ : B_WRITE;
sys/dev/raidframe/rf_netbsdkintf.c
2138
switch (req->type) {
sys/dev/raidframe/rf_netbsdkintf.c
2176
req->type, queue->raidPtr->raidid,
sys/dev/raidframe/rf_paritylogging.c
812
RF_IoType_t type,
sys/dev/raidframe/rf_paritylogging.c
822
RF_ASSERT(RF_IO_IS_R_OR_W(type));
sys/dev/raidframe/rf_paritylogging.c
898
raidPtr->raidid, type, oc, (long) oo, failedPDA->col, (long) failedPDA->startSector);
sys/dev/raidframe/rf_paritylogging.c
903
if (type == RF_IO_TYPE_READ) {
sys/dev/raidframe/rf_paritylogging.h
66
rf_ParityLoggingDagSelect(RF_Raid_t * raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_pq.c
102
RF_IoType_t type,
sys/dev/raidframe/rf_pq.c
111
RF_ASSERT(RF_IO_IS_R_OR_W(type));
sys/dev/raidframe/rf_pq.c
118
if (type == RF_IO_TYPE_READ) {
sys/dev/raidframe/rf_pq.c
130
if (asmap->failedPDAs[1]->type == RF_PDA_TYPE_PARITY)
sys/dev/raidframe/rf_pq.c
165
RF_ASSERT((asmap->failedPDAs[0]->type == RF_PDA_TYPE_PARITY) || (asmap->failedPDAs[0]->type == RF_PDA_TYPE_Q));
sys/dev/raidframe/rf_pq.c
166
if (asmap->failedPDAs[0]->type == RF_PDA_TYPE_Q) { /* q died, treat like
sys/dev/raidframe/rf_pq.c
197
RF_ASSERT(asmap->failedPDAs[0]->type == RF_PDA_TYPE_DATA);
sys/dev/raidframe/rf_pq.c
198
RF_ASSERT((asmap->failedPDAs[1]->type == RF_PDA_TYPE_PARITY) || (asmap->failedPDAs[1]->type == RF_PDA_TYPE_Q));
sys/dev/raidframe/rf_pq.c
199
if (asmap->failedPDAs[1]->type == RF_PDA_TYPE_Q)
sys/dev/raidframe/rf_pq.h
52
rf_PQDagSelect(RF_Raid_t * raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_raid0.c
123
RF_IoType_t type,
sys/dev/raidframe/rf_raid0.c
131
*createFunc = ((type == RF_IO_TYPE_READ) ?
sys/dev/raidframe/rf_raid0.h
51
rf_RAID0DagSelect(RF_Raid_t * raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_raid1.c
176
rf_RAID1DagSelect(RF_Raid_t *raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_raid1.c
186
RF_ASSERT(RF_IO_IS_R_OR_W(type));
sys/dev/raidframe/rf_raid1.c
237
raidPtr->raidid, type, oc,
sys/dev/raidframe/rf_raid1.c
246
if (type == RF_IO_TYPE_READ) {
sys/dev/raidframe/rf_raid4.h
53
rf_RAID4DagSelect(RF_Raid_t * raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_raid5.c
163
rf_RaidFiveDagSelect(RF_Raid_t *raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_raid5.c
173
RF_ASSERT(RF_IO_IS_R_OR_W(type));
sys/dev/raidframe/rf_raid5.c
260
raidPtr->raidid, type, oc,
sys/dev/raidframe/rf_raid5.c
272
if (type == RF_IO_TYPE_READ) {
sys/dev/raidframe/rf_raid5.h
53
rf_RaidFiveDagSelect(RF_Raid_t * raidPtr, RF_IoType_t type,
sys/dev/raidframe/rf_reconbuffer.c
321
if (rbufs[i]->type == RF_RBUF_TYPE_FLOATING)
sys/dev/raidframe/rf_reconbuffer.c
324
if (rbufs[i]->type == RF_RBUF_TYPE_FORCED)
sys/dev/raidframe/rf_reconstruct.c
1028
if (rbuf->type == RF_RBUF_TYPE_FLOATING) {
sys/dev/raidframe/rf_reconstruct.c
1045
if (rbuf->type == RF_RBUF_TYPE_FORCED)
sys/dev/raidframe/rf_reconstruct.c
985
Dprintf1("RECON: ProcessReconEvent type %d\n", event->type);
sys/dev/raidframe/rf_reconstruct.c
987
switch (event->type) {
sys/dev/raidframe/rf_reconstruct.h
61
RF_RbufType_t type; /* FORCED or FLOATING */
sys/dev/raidframe/rf_reconstruct.h
96
RF_Revent_t type; /* what kind of event has occurred */
sys/dev/raidframe/rf_reconutil.c
228
rf_MakeReconBuffer(RF_Raid_t *raidPtr, RF_RowCol_t col, RF_RbufType_t type)
sys/dev/raidframe/rf_reconutil.c
239
t->type = type;
sys/dev/raidframe/rf_reconutil.c
280
if (rbuf && rbuf->type == RF_RBUF_TYPE_FLOATING)
sys/dev/raidframe/rf_reconutil.c
284
if (rbuf && rbuf->type == RF_RBUF_TYPE_FLOATING)
sys/dev/raidframe/rf_reconutil.c
290
if (rbuf->type == RF_RBUF_TYPE_FLOATING)
sys/dev/raidframe/rf_reconutil.c
299
if (rbuf->type == RF_RBUF_TYPE_FLOATING)
sys/dev/raidframe/rf_reconutil.c
304
if (rbuf->type == RF_RBUF_TYPE_FLOATING)
sys/dev/raidframe/rf_reconutil.c
309
if (rbuf->type == RF_RBUF_TYPE_FLOATING)
sys/dev/raidframe/rf_reconutil.h
47
rf_MakeReconBuffer(RF_Raid_t * raidPtr, RF_RowCol_t col, RF_RbufType_t type);
sys/dev/raidframe/rf_revent.c
168
RF_Revent_t type)
sys/dev/raidframe/rf_revent.c
171
RF_ReconEvent_t *event = GetReconEventDesc(raidPtr, col, arg, type);
sys/dev/raidframe/rf_revent.c
173
if (type == RF_REVENT_BUFCLEAR) {
sys/dev/raidframe/rf_revent.c
188
GetReconEventDesc(RF_Raid_t *raidPtr, RF_RowCol_t col, void *arg, RF_Revent_t type)
sys/dev/raidframe/rf_revent.c
195
t->type = type;
sys/dev/raidframe/rf_revent.c
54
GetReconEventDesc(RF_Raid_t *raidPtr, RF_RowCol_t col, void *arg, RF_Revent_t type);
sys/dev/raidframe/rf_states.c
201
desc->raidPtr->raidid, desc->type,
sys/dev/raidframe/rf_states.c
223
desc->type == RF_IO_TYPE_WRITE)
sys/dev/raidframe/rf_states.c
380
RF_ASSERT(RF_IO_IS_R_OR_W(desc->type));
sys/dev/raidframe/rf_states.c
390
RF_INIT_LOCK_REQ_DESC(asm_p->lockReqDesc, desc->type,
sys/dev/raidframe/rf_states.c
399
if (desc->type == RF_IO_TYPE_WRITE &&
sys/dev/raidframe/rf_stripelocks.c
144
( ( (((_cand)->type == RF_IO_TYPE_READ) && \
sys/dev/raidframe/rf_stripelocks.c
145
((_pred)->type == RF_IO_TYPE_WRITE)) || \
sys/dev/raidframe/rf_stripelocks.c
146
(((_cand)->type == RF_IO_TYPE_WRITE) && \
sys/dev/raidframe/rf_stripelocks.c
147
((_pred)->type == RF_IO_TYPE_READ)) || \
sys/dev/raidframe/rf_stripelocks.c
148
(((_cand)->type == RF_IO_TYPE_WRITE) && \
sys/dev/raidframe/rf_stripelocks.c
149
((_pred)->type == RF_IO_TYPE_WRITE)) \
sys/dev/raidframe/rf_stripelocks.c
265
RF_ASSERT(RF_IO_IS_R_OR_W(lockReqDesc->type));
sys/dev/raidframe/rf_stripelocks.c
273
tid, (unsigned long) lockTable, stripeID, lockReqDesc->type, lockReqDesc->start,
sys/dev/raidframe/rf_stripelocks.c
297
if (lockReqDesc->type == RF_IO_TYPE_WRITE)
sys/dev/raidframe/rf_stripelocks.c
303
tid, stripeID, lockReqDesc->type, lockReqDesc->start, lockReqDesc->stop, lockReqDesc->start2, lockReqDesc->stop2);
sys/dev/raidframe/rf_stripelocks.c
311
if (lockReqDesc->type == RF_IO_TYPE_WRITE)
sys/dev/raidframe/rf_stripelocks.c
322
tid, stripeID, lockReqDesc->type, lockReqDesc->start, lockReqDesc->stop, lockReqDesc->start2, lockReqDesc->stop2);
sys/dev/raidframe/rf_stripelocks.c
350
tid, stripeID, lockReqDesc->type, lockReqDesc->start, lockReqDesc->stop,
sys/dev/raidframe/rf_stripelocks.c
359
tid, stripeID, lockReqDesc->type, lockReqDesc->start, lockReqDesc->stop,
sys/dev/raidframe/rf_stripelocks.c
388
RF_ASSERT(RF_IO_IS_R_OR_W(lockReqDesc->type));
sys/dev/raidframe/rf_stripelocks.c
396
tid, stripeID, lockReqDesc->type, lockReqDesc->start, lockReqDesc->stop, lockReqDesc->start2, lockReqDesc->stop2, lockTable);
sys/dev/raidframe/rf_stripelocks.c
431
if (lockReqDesc->type == RF_IO_TYPE_WRITE)
sys/dev/raidframe/rf_stripelocks.c
464
RF_ASSERT(lr->type == RF_IO_TYPE_READ);
sys/dev/raidframe/rf_stripelocks.c
478
tid, stripeID, lr->type, lr->start, lr->stop, lr->start2, lr->stop2, (unsigned long) lockTable);
sys/dev/raidframe/rf_stripelocks.c
504
tid, stripeID, candidate->type, candidate->start, candidate->stop, candidate->start2, candidate->stop2,
sys/dev/raidframe/rf_stripelocks.c
524
tid, stripeID, candidate->type, candidate->start, candidate->stop, candidate->start2, candidate->stop2,
sys/dev/raidframe/rf_stripelocks.c
546
tid, stripeID, candidate->type, candidate->start, candidate->stop, candidate->start2, candidate->stop2,
sys/dev/raidframe/rf_stripelocks.c
561
tid, stripeID, candidate->type, candidate->start, candidate->stop, candidate->start2, candidate->stop2,
sys/dev/raidframe/rf_stripelocks.c
691
printf(" %c(%ld-%ld", q->type, (long) q->start, (long) q->stop);
sys/dev/raidframe/rf_stripelocks.c
712
printf("%c(%ld-%ld", q->type, (long) q->start, (long) q->stop);
sys/dev/raidframe/rf_stripelocks.h
54
RF_IoType_t type; /* read or write */
sys/dev/raidframe/rf_stripelocks.h
64
RF_ASSERT(RF_IO_IS_R_OR_W((_lr_)->type)); \
sys/dev/raidframe/rf_stripelocks.h
88
(_lrd).type = _typ; \
sys/dev/sbus/dbri.c
1764
di->type = AUDIO_MIXER_CLASS;
sys/dev/sbus/dbri.c
1770
di->type = AUDIO_MIXER_CLASS;
sys/dev/sbus/dbri.c
1776
di->type = AUDIO_MIXER_CLASS;
sys/dev/sbus/dbri.c
1783
di->type = AUDIO_MIXER_VALUE;
sys/dev/sbus/dbri.c
1792
di->type = AUDIO_MIXER_VALUE;
sys/dev/sbus/dbri.c
1800
di->type = AUDIO_MIXER_VALUE;
sys/dev/sbus/dbri.c
1808
di->type = AUDIO_MIXER_ENUM;
sys/dev/sbus/dbri.c
1819
di->type = AUDIO_MIXER_ENUM;
sys/dev/sbus/dbri.c
1830
di->type = AUDIO_MIXER_ENUM;
sys/dev/sbus/dbri.c
1840
di->type = AUDIO_MIXER_SET;
sys/dev/sbus/stp4020.c
964
stp4020_chip_socket_settype(pcmcia_chipset_handle_t pch, int type)
sys/dev/sbus/stp4020.c
976
if (type == PCMCIA_IFTYPE_IO) {
sys/dev/sbus/zx.c
630
zx_cross_loadwid(struct zx_softc *sc, u_int type, u_int index, u_int value)
sys/dev/sbus/zx.c
639
if (type == ZX_WID_DBL_8)
sys/dev/sbus/zx.c
641
else if (type == ZX_WID_DBL_24)
sys/dev/scsipi/atapi_wdc.c
318
sa.sa_inqbuf.type = ATAPI_CFG_TYPE(id->atap_config);
sys/dev/scsipi/atapiconf.c
315
dtype = scsipi_dtype(inqbuf->type & SID_TYPE);
sys/dev/scsipi/cd.c
1862
switch (a->type) {
sys/dev/scsipi/cd.c
1932
a->type = DVD_LU_SEND_KEY1;
sys/dev/scsipi/cd.c
1944
a->type = DVD_AUTH_FAILURE;
sys/dev/scsipi/cd.c
1947
a->type = DVD_AUTH_ESTABLISHED;
sys/dev/scsipi/cd.c
1967
a->lrpcs.type = (bf[4] >> 6) & 3;
sys/dev/scsipi/cd.c
2003
cmd.bytes[6] = s->type;
sys/dev/scsipi/cd.c
2041
cmd.bytes[6] = s->type;
sys/dev/scsipi/cd.c
2066
cmd.bytes[6] = s->type;
sys/dev/scsipi/cd.c
2088
cmd.bytes[6] = s->type;
sys/dev/scsipi/cd.c
2114
cmd.bytes[6] = s->type;
sys/dev/scsipi/cd.c
2134
switch (s->type) {
sys/dev/scsipi/if_dse.c
770
uint16_t type;
sys/dev/scsipi/if_dse.c
774
type = _2btol((uint8_t*)&(eh->ether_type));
sys/dev/scsipi/if_dse.c
778
if (type <= ETHERMTU) {
sys/dev/scsipi/if_dse.c
780
len += type;
sys/dev/scsipi/if_dse.c
783
switch (type) {
sys/dev/scsipi/if_se.c
841
se_set_media(struct se_softc *sc, int type)
sys/dev/scsipi/if_se.c
847
set_media_cmd.byte3 = type;
sys/dev/scsipi/scsi_changer.h
188
u_int8_t type; /* element type code; see type codes below */
sys/dev/scsipi/scsiconf.c
1004
sa.sa_inqbuf.type = inqbuf.device;
sys/dev/scsipi/scsiconf.c
556
u_int8_t type;
sys/dev/scsipi/scsiconf.c
568
type = inqbuf->type & SID_TYPE;
sys/dev/scsipi/scsiconf.c
570
dtype = scsipi_dtype(type);
sys/dev/scsipi/scsipi_base.c
1297
scsipi_prevent(struct scsipi_periph *periph, int type, int flags)
sys/dev/scsipi/scsipi_base.c
1306
cmd.how = type;
sys/dev/scsipi/scsipi_base.c
1318
scsipi_start(struct scsipi_periph *periph, int type, int flags)
sys/dev/scsipi/scsipi_base.c
1325
cmd.how = type;
sys/dev/scsipi/scsipi_base.c
1328
SCSIPIRETRIES, (type & SSS_START) ? 60000 : 10000, NULL, flags);
sys/dev/scsipi/scsipi_ioctl.c
400
sca->type = TYPE_SCSI;
sys/dev/scsipi/scsipi_ioctl.c
407
sca->type = TYPE_ATAPI;
sys/dev/scsipi/scsipiconf.c
175
u_int8_t type;
sys/dev/scsipi/scsipiconf.c
179
type = inqbuf->type;
sys/dev/scsipi/scsipiconf.c
186
if (type != match->type)
sys/dev/scsipi/scsipiconf.c
206
priority, match->type, match->removable,
sys/dev/scsipi/scsipiconf.c
219
scsipi_dtype(int type)
sys/dev/scsipi/scsipiconf.c
223
switch (type) {
sys/dev/scsipi/scsipiconf.h
646
u_int8_t type;
sys/dev/scsipi/sd.c
1837
if (sd->type == T_SIMPLE_DIRECT) {
sys/dev/scsipi/sd.c
1848
if (sd->type == T_OPTICAL)
sys/dev/scsipi/sd.c
264
sd->type = (sa->sa_inqbuf.type & SID_TYPE);
sys/dev/scsipi/sd.c
269
if (sd->type == T_SIMPLE_DIRECT) {
sys/dev/scsipi/sdvar.h
93
u_int8_t type;
sys/dev/scsipi/st.c
1924
st_load(struct st_softc *st, u_int type, int flags)
sys/dev/scsipi/st.c
1929
if (type != LD_LOAD) {
sys/dev/scsipi/st.c
1941
if (type == LD_LOAD)
sys/dev/scsipi/st.c
1954
cmd.how = type;
sys/dev/scsipi/st.c
1960
error, type);
sys/dev/smbios.c
260
smbios_find_table(uint8_t type, struct smbtable *st)
sys/dev/smbios.c
280
if ((st->cookie & 0xfff) == type && st->cookie >> 16) {
sys/dev/smbios.c
283
if (hdr->type == type) {
sys/dev/smbios.c
296
if (hdr->type == type) {
sys/dev/smbios.c
300
st->cookie = (tcount + 1) << 16 | type;
sys/dev/smbios.c
303
if (hdr->type == SMBIOS_TYPE_EOT)
sys/dev/smbios_platform.c
150
switch (pslot->type) {
sys/dev/smbiosvar.h
192
uint8_t type; /* board type */
sys/dev/smbiosvar.h
222
uint8_t type;
sys/dev/smbiosvar.h
254
uint8_t type;
sys/dev/smbiosvar.h
88
uint8_t type;
sys/dev/spi/mcp23xxxgpio_spi.c
100
.type = MCPGPIO_TYPE_23x08,
sys/dev/spi/mcp23xxxgpio_spi.c
105
.type = MCPGPIO_TYPE_23x17,
sys/dev/spi/mcp23xxxgpio_spi.c
110
.type = MCPGPIO_TYPE_23x18,
sys/dev/spi/mcp23xxxgpio_spi.c
268
if (sc->sc_variant->type == MCPGPIO_TYPE_23x08) {
sys/dev/spi/mcp23xxxgpio_spi.c
307
(sc->sc_variant->type == MCPGPIO_TYPE_23x08 &&
sys/dev/spi/mcp23xxxgpio_spi.c
309
(sc->sc_variant->type != MCPGPIO_TYPE_23x08 &&
sys/dev/spi/mcp23xxxgpio_spi.c
318
(sc->sc_variant->type == MCPGPIO_TYPE_23x08 ? MCP23x08_GPIO_NPINS
sys/dev/spi/mcp23xxxgpio_spi.c
328
if (sc->sc_variant->type != MCPGPIO_TYPE_23x08) {
sys/dev/spi/oj6sh.c
333
if (id->type != WSMOUSE_ID_TYPE_UIDSTR)
sys/dev/stbi/stb_image.c
2497
int final, type;
sys/dev/stbi/stb_image.c
2504
type = zreceive(a,2);
sys/dev/stbi/stb_image.c
2505
if (type == 0) {
sys/dev/stbi/stb_image.c
2507
} else if (type == 3) {
sys/dev/stbi/stb_image.c
2510
if (type == 1) {
sys/dev/stbi/stb_image.c
2657
uint32 type;
sys/dev/stbi/stb_image.c
2666
c.type = get32(s);
sys/dev/stbi/stb_image.c
2970
switch (c.type) {
sys/dev/stbi/stb_image.c
3086
if ((c.type & (1 << 29)) == 0) {
sys/dev/stbi/stb_image.c
3090
invalid_chunk[0] = (uint8) (c.type >> 24);
sys/dev/stbi/stb_image.c
3091
invalid_chunk[1] = (uint8) (c.type >> 16);
sys/dev/stbi/stb_image.c
3092
invalid_chunk[2] = (uint8) (c.type >> 8);
sys/dev/stbi/stb_image.c
3093
invalid_chunk[3] = (uint8) (c.type >> 0);
sys/dev/stbi/stb_image.c
4100
stbi_uc size,type,channel;
sys/dev/stbi/stb_image.c
4143
packet->type = get8u(s);
sys/dev/stbi/stb_image.c
4161
switch (packet->type) {
sys/dev/std/ieee1212.c
167
type = P1212_DIRENT_GET_KEYTYPE((ntohl(t[offset+i])));
sys/dev/std/ieee1212.c
169
switch (type) {
sys/dev/std/ieee1212.c
233
(unsigned short)type);
sys/dev/std/ieee1212.c
356
u_int8_t type, val;
sys/dev/std/ieee1212.c
403
type = P1212_DIRENT_GET_KEYTYPE(desc);
sys/dev/std/ieee1212.c
442
switch (type) {
sys/dev/std/ieee1212.c
485
(unsigned short)type);
sys/dev/std/ieee1212.c
586
if (type == P1212_KEYTYPE_Leaf) {
sys/dev/std/ieee1212.c
608
if ((type != P1212_KEYTYPE_Directory) &&
sys/dev/std/ieee1212.c
612
data->com.key.key_type = type;
sys/dev/std/ieee1212.c
627
if ((type == P1212_KEYTYPE_Immediate) ||
sys/dev/std/ieee1212.c
628
(type == P1212_KEYTYPE_Offset))
sys/dev/std/ieee1212.c
634
if (type == P1212_KEYTYPE_Leaf) {
sys/dev/std/ieee1212.c
644
if (type == P1212_KEYTYPE_Directory) {
sys/dev/std/ieee1212.c
649
sdir->com.key.key_type = type;
sys/dev/std/ieee1212.c
751
u_int8_t type, val;
sys/dev/std/ieee1212.c
777
type = P1212_DIRENT_GET_KEYTYPE(entry);
sys/dev/std/ieee1212.c
779
if ((type != P1212_KEYTYPE_Leaf) ||
sys/dev/std/ieee1212.c
784
p1212_keytype_strings[type],
sys/dev/std/ieee1212.c
851
p1212_find(struct p1212_dir *root, int type, int value, int flags)
sys/dev/std/ieee1212.c
861
if ((type < P1212_KEYTYPE_Immediate) ||
sys/dev/std/ieee1212.c
862
(type > P1212_KEYTYPE_Directory)) {
sys/dev/std/ieee1212.c
864
printf("p1212_find: invalid type - %d\n", type);
sys/dev/std/ieee1212.c
89
int complete, i, numdirs, type, val, *dirs;
sys/dev/std/ieee1212.c
897
if (type == P1212_KEYTYPE_Directory) {
sys/dev/std/ieee1212.c
916
if (((data->com.key.key_type == type) &&
sys/dev/std/ieee1212.c
918
((data->com.key.key_type == type) &&
sys/dev/sun/kbd.c
1037
sunkbd_wskbd_cngetc(void *v, u_int *type, int *data)
sys/dev/sun/kbd.c
1042
*type = WSCONS_EVENT_ASCII;
sys/dev/sun/kbd.c
925
int type, key;
sys/dev/sun/kbd.c
937
type = KEY_UP(code) ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/dev/sun/kbd.c
940
if (type == WSCONS_EVENT_KEY_DOWN) {
sys/dev/sun/kbd.c
964
wskbd_input(k->k_wskbd, type, key);
sys/dev/sysmon/swsensor.c
187
prop_type_t type;
sys/dev/sysmon/swsensor.c
217
type = prop_object_type(po);
sys/dev/sysmon/swsensor.c
218
if (type == PROP_TYPE_NUMBER)
sys/dev/sysmon/swsensor.c
223
if (type == PROP_TYPE_NUMBER) {
sys/dev/sysmon/swsensor.c
228
swsensor_edata.units = descr->type;
sys/dev/sysmon/swsensor.c
231
if (type != PROP_TYPE_STRING)
sys/dev/sysmon/swsensor.c
238
swsensor_edata.units = descr->type;
sys/dev/sysmon/swsensor.c
244
if (type != PROP_TYPE_NUMBER)
sys/dev/sysmon/swsensor.c
257
if (type != PROP_TYPE_NUMBER)
sys/dev/sysmon/swsensor.c
269
if (type != PROP_TYPE_NUMBER)
sys/dev/sysmon/swsensor.c
277
if (type != PROP_TYPE_NUMBER)
sys/dev/sysmon/swsensor.c
285
if (type != PROP_TYPE_NUMBER)
sys/dev/sysmon/swsensor.c
292
if (type != PROP_TYPE_NUMBER)
sys/dev/sysmon/swsensor.c
301
if (type != PROP_TYPE_BOOL)
sys/dev/sysmon/sysmon_envsys.c
1700
edata->sensor, sdt->type, sdt->desc, edata->flags));
sys/dev/sysmon/sysmon_envsys.c
1714
sdt->type, sdt->desc));
sys/dev/sysmon/sysmon_envsys.c
581
if (sdt_units == NULL || sdt_units->type == -1)
sys/dev/sysmon/sysmon_envsys.c
614
sdt_units->type, sdt_units->desc));
sys/dev/sysmon/sysmon_envsys_events.c
398
sme_event_unregister(struct sysmon_envsys *sme, const char *sensor, int type)
sys/dev/sysmon/sysmon_envsys_events.c
409
if (see->see_type == type) {
sys/dev/sysmon/sysmon_envsys_events.c
429
__func__, see->see_pes.pes_dvname, sensor, type));
sys/dev/sysmon/sysmon_envsys_events.c
988
if (sdt->type == -1)
sys/dev/sysmon/sysmon_envsys_tables.c
148
for (; table->type != -1; table++)
sys/dev/sysmon/sysmon_envsys_tables.c
149
if (table->type == key)
sys/dev/sysmon/sysmon_envsys_tables.c
161
for (; table->type != -1; table++)
sys/dev/sysmon/sysmon_envsysvar.h
99
int type;
sys/dev/sysmon/sysmon_power.c
109
int type;
sys/dev/sysmon/sysmon_power.c
686
int event, int type)
sys/dev/sysmon/sysmon_power.c
692
switch (type) {
sys/dev/sysmon/sysmon_power.c
719
for (i = 0; peevent[i].type != -1; i++)
sys/dev/sysmon/sysmon_power.c
720
if (peevent[i].type == event)
sys/dev/sysmon/sysmon_power.c
725
for (i = 0; petype[i].type != -1; i++)
sys/dev/sysmon/sysmon_power.c
726
if (petype[i].type == smpsw->smpsw_type)
sys/dev/sysmon/sysmon_power.c
750
for (i = 0; peevent[i].type != -1; i++)
sys/dev/sysmon/sysmon_power.c
751
if (peevent[i].type == event)
sys/dev/sysmon/sysmon_power.c
756
for (i = 0; petype[i].type != -1; i++)
sys/dev/sysmon/sysmon_power.c
757
if (petype[i].type == pes->pes_type)
sys/dev/sysmon/sysmon_power.c
809
sysmon_power_settype(const char *type)
sys/dev/sysmon/sysmon_power.c
817
(void)strlcpy(sysmon_power_type, type, sizeof(sysmon_power_type));
sys/dev/tc/cfb.c
447
cfb_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/dev/tc/mfb.c
411
mfb_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/dev/tc/sfb.c
494
sfb_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/dev/tc/sfbplus.c
516
sfb_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/dev/tc/stic.c
626
stic_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/dev/tc/tfb.c
485
tfb_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/dev/tc/xcfb.c
479
xcfb_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/dev/tc/zskbd.c
277
zskbd_cngetc(void *v, u_int *type, int *data)
sys/dev/tc/zskbd.c
284
} while (lk201_decode(&zsi->zsi_ks, 0, c, type, data) == LKD_NODATA);
sys/dev/tc/zskbd.c
337
u_int type;
sys/dev/tc/zskbd.c
343
data, &type, &val);
sys/dev/tc/zskbd.c
345
wskbd_input(sc->sc_wskbddev, type, val);
sys/dev/tprof/tprof.c
818
tprof_open(dev_t dev, int flags, int type, struct lwp *l)
sys/dev/tprof/tprof.c
836
tprof_close(dev_t dev, int flags, int type, struct lwp *l)
sys/dev/usb/auvitek.c
153
int dir, type;
sys/dev/usb/auvitek.c
163
type = UE_GET_XFERTYPE(ed->bmAttributes);
sys/dev/usb/auvitek.c
165
if (dir == UE_DIR_IN && type == UE_ISOCHRONOUS &&
sys/dev/usb/auvitek.c
198
int dir, type;
sys/dev/usb/auvitek.c
208
type = UE_GET_XFERTYPE(ed->bmAttributes);
sys/dev/usb/auvitek.c
210
if (dir == UE_DIR_IN && type == UE_BULK &&
sys/dev/usb/auvitek_dtv.c
133
info->type = FE_ATSC;
sys/dev/usb/auvitek_video.c
403
vi->type = VIDEO_INPUT_TYPE_BASEBAND;
sys/dev/usb/auvitek_video.c
408
vi->type = VIDEO_INPUT_TYPE_BASEBAND;
sys/dev/usb/auvitek_video.c
413
vi->type = VIDEO_INPUT_TYPE_TUNER;
sys/dev/usb/auvitek_video.c
418
vi->type = VIDEO_INPUT_TYPE_TUNER;
sys/dev/usb/ehci.c
1720
#define ehci_dump_link(link, type) do { \
sys/dev/usb/ehci.c
1724
if (type) { \
sys/dev/usb/emdtv_dtv.c
181
info->type = FE_ATSC;
sys/dev/usb/if_atu.c
283
atu_usb_request(struct atu_softc *sc, uint8_t type,
sys/dev/usb/if_atu.c
292
req.bmRequestType = type;
sys/dev/usb/if_atu.c
324
if (type & UT_READ) {
sys/dev/usb/if_atu.c
407
atu_send_mib(struct atu_softc *sc, uint8_t type, uint8_t size,
sys/dev/usb/if_atu.c
423
request.MIBType = type;
sys/dev/usb/if_atu.c
458
atu_get_mib(struct atu_softc *sc, uint8_t type, uint8_t size,
sys/dev/usb/if_atu.c
464
type << 8, index, size, buf);
sys/dev/usb/if_mue.c
956
uint16_t type, len = 0;
sys/dev/usb/if_mue.c
961
type = eh->ether_type;
sys/dev/usb/if_mue.c
964
sizeof(type), &type);
sys/dev/usb/if_mue.c
965
switch (type = htons(type)) {
sys/dev/usb/if_run.c
2541
uint8_t type, tid, qid;
sys/dev/usb/if_run.c
2560
type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
sys/dev/usb/if_run.c
2576
type != IEEE80211_FC0_TYPE_DATA) {
sys/dev/usb/if_run.c
2616
txwi->wcid = (type == IEEE80211_FC0_TYPE_DATA) ?
sys/dev/usb/if_umb.c
1188
uint32_t type;
sys/dev/usb/if_umb.c
1209
type = le32toh(hdr->type);
sys/dev/usb/if_umb.c
1210
switch (type) {
sys/dev/usb/if_umb.c
1224
DPRINTF("%s: <- rcv %s (tid %u)\n", DEVNAM(sc), umb_request2str(type),
sys/dev/usb/if_umb.c
1226
switch (type) {
sys/dev/usb/if_umb.c
1238
DEVNAM(sc), umb_request2str(type),
sys/dev/usb/if_umb.c
1259
umb_request2str(type));
sys/dev/usb/if_umb.c
1273
umb_request2str(le32toh(m->hdr.type)));
sys/dev/usb/if_umb.c
1278
DEVNAM(sc), umb_request2str(le32toh(m->hdr.type)),
sys/dev/usb/if_umb.c
1285
DEVNAM(sc), umb_request2str(le32toh(m->hdr.type)),
sys/dev/usb/if_umb.c
1530
switch (le32toh(pi->type)) {
sys/dev/usb/if_umb.c
1547
DEVNAM(sc), umb_pin_type(le32toh(pi->type)),
sys/dev/usb/if_umb.c
2114
hdr->type = htole32(req);
sys/dev/usb/if_umb.c
2190
cp.type = htole32(is_puk ? MBIM_PIN_TYPE_PUK1 : MBIM_PIN_TYPE_PIN1);
sys/dev/usb/if_umb.c
2390
umb_request2str(le32toh(cmd->hdr.type)));
sys/dev/usb/if_umb.c
2398
DEVNAM(sc), umb_request2str(le32toh(cmd->hdr.type)),
sys/dev/usb/if_upgt.c
1003
eeprom->header1.type = UPGT_H1_TYPE_CTRL;
sys/dev/usb/if_upgt.c
1009
eeprom->header2.type = htole16(UPGT_H2_TYPE_EEPROM);
sys/dev/usb/if_upgt.c
1064
le16toh(eeprom_option->type);
sys/dev/usb/if_upgt.c
1638
txdesc->header1.type = UPGT_H1_TYPE_TX_DATA;
sys/dev/usb/if_upgt.c
1642
txdesc->header2.type = htole16(UPGT_H2_TYPE_TX_ACK_YES);
sys/dev/usb/if_upgt.c
1653
txdesc->type = htole32(UPGT_TX_DESC_TYPE_DATA);
sys/dev/usb/if_upgt.c
1791
h1_type = header->header1.type;
sys/dev/usb/if_upgt.c
1792
h2_type = le16toh(header->header2.type);
sys/dev/usb/if_upgt.c
1836
device_xname(sc->sc_dev), header->header1.type);
sys/dev/usb/if_upgt.c
2029
filter->header1.type = UPGT_H1_TYPE_CTRL;
sys/dev/usb/if_upgt.c
2035
filter->header2.type = htole16(UPGT_H2_TYPE_MACFILTER);
sys/dev/usb/if_upgt.c
2043
filter->type = htole16(UPGT_FILTER_TYPE_RESET);
sys/dev/usb/if_upgt.c
2049
filter->type = htole16(UPGT_FILTER_TYPE_NONE);
sys/dev/usb/if_upgt.c
2062
filter->type = htole16(UPGT_FILTER_TYPE_STA);
sys/dev/usb/if_upgt.c
2113
chan->header1.type = UPGT_H1_TYPE_CTRL;
sys/dev/usb/if_upgt.c
2119
chan->header2.type = htole16(UPGT_H2_TYPE_CHANNEL);
sys/dev/usb/if_upgt.c
2172
led->header1.type = UPGT_H1_TYPE_CTRL;
sys/dev/usb/if_upgt.c
2178
led->header2.type = htole16(UPGT_H2_TYPE_LED);
sys/dev/usb/if_upgt.c
2254
stats->header1.type = UPGT_H1_TYPE_CTRL;
sys/dev/usb/if_upgt.c
2260
stats->header2.type = htole16(UPGT_H2_TYPE_STATS);
sys/dev/usb/if_upgt.c
768
bra_option_type = le32toh(bra_option->type);
sys/dev/usb/if_upgtvar.h
109
uint32_t type;
sys/dev/usb/if_upgtvar.h
160
uint16_t type;
sys/dev/usb/if_upgtvar.h
181
uint8_t type;
sys/dev/usb/if_upgtvar.h
213
uint8_t type;
sys/dev/usb/if_upgtvar.h
230
uint16_t type;
sys/dev/usb/if_upgtvar.h
262
uint16_t type;
sys/dev/usb/if_upgtvar.h
361
uint32_t type;
sys/dev/usb/if_ure.c
1077
uint16_t type;
sys/dev/usb/if_ure.c
1084
type = eh->ether_type;
sys/dev/usb/if_ure.c
1087
sizeof(type), &type);
sys/dev/usb/if_ure.c
1088
switch (type = htons(type)) {
sys/dev/usb/if_urndis.c
623
uint32_t type,
sys/dev/usb/if_urndis.c
639
param->rm_type = htole32(type);
sys/dev/usb/if_urtw.c
1822
urtw_led_on(struct urtw_softc *sc, int type)
sys/dev/usb/if_urtw.c
1826
if (type == URTW_LED_GPIO) {
sys/dev/usb/if_urtw.c
1838
panic("unsupported LED type %#x", type);
sys/dev/usb/if_urtw.c
1848
urtw_led_off(struct urtw_softc *sc, int type)
sys/dev/usb/if_urtw.c
1852
if (type == URTW_LED_GPIO) {
sys/dev/usb/if_urtw.c
1864
panic("unsupported LED type %#x", type);
sys/dev/usb/if_urtwn.c
1738
int type;
sys/dev/usb/if_urtwn.c
1744
type = R92C_CR_NETTYPE_INFRA;
sys/dev/usb/if_urtwn.c
1748
type = R92C_CR_NETTYPE_ADHOC;
sys/dev/usb/if_urtwn.c
1752
type = R92C_CR_NETTYPE_NOLINK;
sys/dev/usb/if_urtwn.c
1756
return type;
sys/dev/usb/if_urtwn.c
1760
urtwn_set_nettype0_msr(struct urtwn_softc *sc, uint8_t type)
sys/dev/usb/if_urtwn.c
1765
URTWNHIST_CALLARGS("type=%jd", type, 0, 0, 0);
sys/dev/usb/if_urtwn.c
1770
urtwn_write_1(sc, R92C_CR + 2, reg | type);
sys/dev/usb/if_urtwn.c
2708
uint8_t raid, type, tid;
sys/dev/usb/if_urtwn.c
2714
type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
sys/dev/usb/if_urtwn.c
2752
} else if (type != IEEE80211_FC0_TYPE_DATA) {
sys/dev/usb/if_urtwn.c
2786
type == IEEE80211_FC0_TYPE_DATA) {
sys/dev/usb/if_urtwn.c
2834
} else if (type == IEEE80211_FC0_TYPE_MGT) {
sys/dev/usb/if_urtwn.c
2960
uint8_t type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
sys/dev/usb/if_urtwn.c
2967
} else if (type != IEEE80211_FC0_TYPE_DATA) {
sys/dev/usb/if_zyd.c
1465
zyd_rf_attach(struct zyd_softc *sc, uint8_t type)
sys/dev/usb/if_zyd.c
1471
switch (type) {
sys/dev/usb/if_zyd.c
1520
device_xname(sc->sc_dev), zyd_rf_name(type));
sys/dev/usb/if_zyd.c
1527
zyd_rf_name(uint8_t type)
sys/dev/usb/if_zyd.c
1536
return zyd_rfs[(type > 15) ? 0 : type];
sys/dev/usb/irmce.c
170
int dir, type;
sys/dev/usb/irmce.c
180
type = UE_GET_XFERTYPE(ed->bmAttributes);
sys/dev/usb/irmce.c
182
if (type != UE_BULK)
sys/dev/usb/mbim.h
168
uint32_t type; /* message type */
sys/dev/usb/mbim.h
326
uint32_t type;
sys/dev/usb/mbim.h
342
uint32_t type;
sys/dev/usb/motg.c
1149
motg_type(uint8_t type)
sys/dev/usb/motg.c
1151
switch(type) {
sys/dev/usb/motg.c
1161
panic("motg: unknown type %d", type);
sys/dev/usb/uaudio.c
1092
mix.type = MIX_SIGNED_16;
sys/dev/usb/uaudio.c
1179
mix.type = MIX_SELECTOR;
sys/dev/usb/uaudio.c
120
uint8_t type;
sys/dev/usb/uaudio.c
1436
mc->type = MIX_ON_OFF;
sys/dev/usb/uaudio.c
1441
mc->type = MIX_SIGNED_16;
sys/dev/usb/uaudio.c
1446
mc->type = MIX_SIGNED_8;
sys/dev/usb/uaudio.c
1451
mc->type = MIX_SIGNED_8;
sys/dev/usb/uaudio.c
1456
mc->type = MIX_SIGNED_8;
sys/dev/usb/uaudio.c
1464
mc->type = MIX_ON_OFF;
sys/dev/usb/uaudio.c
1469
mc->type = MIX_UNSIGNED_16;
sys/dev/usb/uaudio.c
1474
mc->type = MIX_ON_OFF;
sys/dev/usb/uaudio.c
1479
mc->type = MIX_ON_OFF;
sys/dev/usb/uaudio.c
1484
mc->type = MIX_SIGNED_16;
sys/dev/usb/uaudio.c
1489
mc->type = MIX_SIGNED_16;
sys/dev/usb/uaudio.c
1494
mc->type = MIX_ON_OFF;
sys/dev/usb/uaudio.c
1499
mc->type = MIX_ON_OFF;
sys/dev/usb/uaudio.c
1504
mc->type = MIX_ON_OFF;
sys/dev/usb/uaudio.c
1677
mix.type = MIX_ON_OFF; /* XXX */
sys/dev/usb/uaudio.c
1709
mix.type = MIX_ON_OFF;
sys/dev/usb/uaudio.c
1765
mix.type = MIX_ON_OFF;
sys/dev/usb/uaudio.c
1786
mix.type = MIX_UNSIGNED_32;
sys/dev/usb/uaudio.c
1810
mix.type = MIX_SELECTOR;
sys/dev/usb/uaudio.c
2090
int dir, type, sync, epcount;
sys/dev/usb/uaudio.c
2239
type = UE_GET_ISO_TYPE(ed->bmAttributes);
sys/dev/usb/uaudio.c
2241
dir == UE_DIR_IN && type == UE_ISO_ADAPT)
sys/dev/usb/uaudio.c
2242
type = UE_ISO_ASYNC;
sys/dev/usb/uaudio.c
2245
if (dir == UE_DIR_IN && type == UE_ISO_ADAPT) {
sys/dev/usb/uaudio.c
2253
if (dir != UE_DIR_IN && type == UE_ISO_ASYNC) {
sys/dev/usb/uaudio.c
2986
mi->type = AUDIO_MIXER_CLASS;
sys/dev/usb/uaudio.c
2992
mi->type = AUDIO_MIXER_CLASS;
sys/dev/usb/uaudio.c
2998
mi->type = AUDIO_MIXER_CLASS;
sys/dev/usb/uaudio.c
3005
mi->type = AUDIO_MIXER_CLASS;
sys/dev/usb/uaudio.c
3022
switch (mc->type) {
sys/dev/usb/uaudio.c
3024
mi->type = AUDIO_MIXER_ENUM;
sys/dev/usb/uaudio.c
3036
mi->type = AUDIO_MIXER_ENUM;
sys/dev/usb/uaudio.c
3046
mi->type = AUDIO_MIXER_VALUE;
sys/dev/usb/uaudio.c
3219
uaudio_get(struct uaudio_softc *sc, int which, int type, int wValue,
sys/dev/usb/uaudio.c
3230
req.bmRequestType = type;
sys/dev/usb/uaudio.c
3237
type, which, wValue, wIndex, len);
sys/dev/usb/uaudio.c
3271
uaudio_getbuf(struct uaudio_softc *sc, int which, int type, int wValue,
sys/dev/usb/uaudio.c
3277
req.bmRequestType = type;
sys/dev/usb/uaudio.c
3284
type, which, wValue, wIndex, len);
sys/dev/usb/uaudio.c
3296
uaudio_set(struct uaudio_softc *sc, int which, int type, int wValue,
sys/dev/usb/uaudio.c
3306
req.bmRequestType = type;
sys/dev/usb/uaudio.c
3319
type, which, wValue, wIndex, len, val);
sys/dev/usb/uaudio.c
3328
uaudio_signext(int type, int val)
sys/dev/usb/uaudio.c
3330
if (MIX_UNSIGNED(type)) {
sys/dev/usb/uaudio.c
3331
switch (MIX_SIZE(type)) {
sys/dev/usb/uaudio.c
3346
switch (MIX_SIZE(type)) {
sys/dev/usb/uaudio.c
3368
mc->type, val, mc->ranges[0].minval, mc->ranges[0].maxval);
sys/dev/usb/uaudio.c
3369
if (mc->type == MIX_ON_OFF) {
sys/dev/usb/uaudio.c
3371
} else if (mc->type == MIX_SELECTOR) {
sys/dev/usb/uaudio.c
3377
val = ((uaudio_signext(mc->type, val) - mc->ranges[0].minval)
sys/dev/usb/uaudio.c
3391
mc->type, val, mc->ranges[0].minval, mc->ranges[0].maxval);
sys/dev/usb/uaudio.c
3392
if (mc->type == MIX_ON_OFF) {
sys/dev/usb/uaudio.c
3394
} else if (mc->type == MIX_SELECTOR) {
sys/dev/usb/uaudio.c
3465
DPRINTFN(5,"which=%d chan=%d ctl=%s type=%d\n", which, chan, mc->ctlname, mc->type);
sys/dev/usb/uaudio.c
3468
mc->wIndex, MIX_SIZE(mc->type));
sys/dev/usb/uaudio.c
3478
DPRINTFN(5,"which=%d chan=%d ctl=%s type=%d\n", which, chan, mc->ctlname, mc->type);
sys/dev/usb/uaudio.c
3482
mc->wIndex, MIX_SIZE(mc->type), val);
sys/dev/usb/uaudio.c
3506
if (mc->type == MIX_ON_OFF) {
sys/dev/usb/uaudio.c
3507
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/usb/uaudio.c
3510
} else if (mc->type == MIX_SELECTOR) {
sys/dev/usb/uaudio.c
3511
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/usb/uaudio.c
3515
if (cp->type != AUDIO_MIXER_VALUE)
sys/dev/usb/uaudio.c
3554
if (mc->type == MIX_ON_OFF) {
sys/dev/usb/uaudio.c
3555
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/usb/uaudio.c
3558
} else if (mc->type == MIX_SELECTOR) {
sys/dev/usb/uaudio.c
3559
if (cp->type != AUDIO_MIXER_ENUM)
sys/dev/usb/uaudio.c
3563
if (cp->type != AUDIO_MIXER_VALUE)
sys/dev/usb/uaudio.c
705
msz = MIX_SIZE(mc->type);
sys/dev/usb/uaudio.c
711
if (mc->type == MIX_ON_OFF) {
sys/dev/usb/uaudio.c
716
} else if (mc->type == MIX_SELECTOR) {
sys/dev/usb/uaudio.c
721
r->minval = uaudio_signext(mc->type,
sys/dev/usb/uaudio.c
724
r->maxval = uaudio_signext(mc->type,
sys/dev/usb/uaudio.c
799
mc->ranges[i].minval = uaudio_signext(mc->type, minval);
sys/dev/usb/uaudio.c
800
mc->ranges[i].maxval = uaudio_signext(mc->type, maxval);
sys/dev/usb/uaudio.c
801
mc->ranges[i].resval = uaudio_signext(mc->type, resval);
sys/dev/usb/uaudio.c
832
i, mc->wIndex, mc->type, mc->ctlname, mc->ctlunit,
sys/dev/usb/ubt.c
1515
ubt_mbufload(uint8_t *buf, int count, uint8_t type)
sys/dev/usb/ubt.c
1523
*mtod(m, uint8_t *) = type;
sys/dev/usb/ubt.c
541
int dir, type;
sys/dev/usb/ubt.c
552
type = UE_GET_XFERTYPE(ed->bmAttributes);
sys/dev/usb/ubt.c
554
if (dir == UE_DIR_IN && type == UE_INTERRUPT)
sys/dev/usb/ubt.c
556
else if (dir == UE_DIR_IN && type == UE_BULK)
sys/dev/usb/ubt.c
558
else if (dir == UE_DIR_OUT && type == UE_BULK)
sys/dev/usb/udl.c
724
udl_alloc_screen(void *v, const struct wsscreen_descr *type,
sys/dev/usb/uep.c
354
if (id->type != WSMOUSE_ID_TYPE_UIDSTR)
sys/dev/usb/uhidev.c
1043
uhidev_set_report(struct uhidev *scd, int type, void *data, int len)
sys/dev/usb/uhidev.c
1049
return usbd_set_report(scd->sc_parent->sc_iface, type,
sys/dev/usb/uhidev.c
1056
retstat = usbd_set_report(scd->sc_parent->sc_iface, type,
sys/dev/usb/uhidev.c
1065
uhidev_get_report(struct uhidev *scd, int type, void *data, int len)
sys/dev/usb/uhidev.c
1067
return usbd_get_report(scd->sc_parent->sc_iface, type,
sys/dev/usb/uhidev.c
1228
uhidev_hidev_set_report(void *cookie, int type, void *data, int len)
sys/dev/usb/uhidev.c
1230
return uhidev_set_report(cookie, type, data, len);
sys/dev/usb/uhidev.c
1234
uhidev_hidev_get_report(void *cookie, int type, void *data, int len)
sys/dev/usb/uhidev.c
1236
return uhidev_get_report(cookie, type, data, len);
sys/dev/usb/uhso.c
228
uint16_t type;
sys/dev/usb/uhso.c
642
switch (hd->type) {
sys/dev/usb/uhso.c
690
uhso_get_endpoint(struct usbd_interface *ifh, int type, int dir)
sys/dev/usb/uhso.c
701
&& UE_GET_XFERTYPE(ed->bmAttributes) == type
sys/dev/usb/uintuos.c
249
if (id->type != WSMOUSE_ID_TYPE_UIDSTR)
sys/dev/usb/uirda.c
895
usbd_get_class_desc(struct usbd_device *dev, int type, int index, int len, void *desc)
sys/dev/usb/uirda.c
900
type, index, len));
sys/dev/usb/uirda.c
904
USETW2(req.wValue, type, index);
sys/dev/usb/ukbd.c
1006
ukbd_cngetc(void *v, u_int *type, int *data)
sys/dev/usb/ukbd.c
1034
*type = c & RELEASE ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/dev/usb/ukbd.c
1038
*type = 0;
sys/dev/usb/umass.c
1957
sc->sbl.common.type, sc->sbl.common.value, 0);
sys/dev/usb/umass.c
1959
if (sc->sbl.common.type == IDB_TYPE_CCI) {
sys/dev/usb/umass_scsipi.c
574
sa.sa_inqbuf.type = inqbuf.device;
sys/dev/usb/umassvar.h
115
uByte type;
sys/dev/usb/umidi_quirks.c
636
for (q=p->quirks; q->type; q++)
sys/dev/usb/umidi_quirks.c
637
p->type_mask |= 1<<(q->type-1);
sys/dev/usb/umidi_quirks.c
663
for (qd=q->quirks; qd->type; qd++)
sys/dev/usb/umidi_quirks.c
664
printf("%s%s", quirk_name[qd->type],
sys/dev/usb/umidi_quirks.c
665
(qd+1)->type?", ":")\n");
sys/dev/usb/umidi_quirks.c
672
umidi_get_quirk_data_from_type(const struct umidi_quirk *q, uint32_t type)
sys/dev/usb/umidi_quirks.c
676
for (qd=q->quirks; qd->type; qd++)
sys/dev/usb/umidi_quirks.c
677
if (qd->type == type)
sys/dev/usb/umidi_quirks.h
41
int type;
sys/dev/usb/umidi_quirks.h
60
#define UMQ_ISTYPE(q, type) \
sys/dev/usb/umidi_quirks.h
61
((q)->sc_quirk && ((q)->sc_quirk->type_mask & (1<<((type)-1))))
sys/dev/usb/umidi_quirks.h
63
#define UMQ_TERMINATOR { .type = UMQ_TYPE_NONE, },
sys/dev/usb/usb.c
1260
usbd_add_dev_event(int type, struct usbd_device *udev)
sys/dev/usb/usb.c
1265
usb_add_event(type, ue);
sys/dev/usb/usb.c
1269
usbd_add_drv_event(int type, struct usbd_device *udev, device_t dev)
sys/dev/usb/usb.c
1276
usb_add_event(type, ue);
sys/dev/usb/usb.c
1293
usb_add_event(int type, struct usb_event *uep)
sys/dev/usb/usb.c
1304
ueq->ue.ue_type = type;
sys/dev/usb/usb_quirks.c
114
usbd_get_desc_fake(struct usbd_device *dev, int type, int index,
sys/dev/usb/usb_quirks.c
134
if (ub->bDescriptorType == type && i++ == index)
sys/dev/usb/usb_quirks.c
140
UGETW(dd->idVendor), UGETW(dd->idProduct), type, len);
sys/dev/usb/usb_quirks.c
150
type, ub->bLength);
sys/dev/usb/usb_quirks.c
157
type, 0);
sys/dev/usb/usb_quirks.c
163
dev->ud_quirks->desc[j]->bDescriptorType != type);
sys/dev/usb/usbdi_util.c
524
usbd_set_report(struct usbd_interface *iface, int type, int id, void *data,
sys/dev/usb/usbdi_util.c
539
USETW2(req.wValue, type, id);
sys/dev/usb/usbdi_util.c
546
usbd_get_report(struct usbd_interface *iface, int type, int id, void *data,
sys/dev/usb/usbdi_util.c
560
USETW2(req.wValue, type, id);
sys/dev/usb/usbdi_util.c
60
usbd_get_desc(struct usbd_device *dev, int type, int index, int len, void *desc)
sys/dev/usb/usbdi_util.c
67
type, index, len, 0);
sys/dev/usb/usbdi_util.c
75
if (type != UDESC_DEVICE &&
sys/dev/usb/usbdi_util.c
77
err = usbd_get_desc_fake(dev, type, index, len, desc);
sys/dev/usb/usbdi_util.c
797
usb_find_desc(struct usbd_device *dev, int type, int subtype)
sys/dev/usb/usbdi_util.c
807
if (desc->bDescriptorType != type)
sys/dev/usb/usbdi_util.c
821
usb_find_desc_if(struct usbd_device *dev, int type, int subtype,
sys/dev/usb/usbdi_util.c
828
return usb_find_desc(dev, type, subtype);
sys/dev/usb/usbdi_util.c
83
USETW2(req.wValue, type, index);
sys/dev/usb/usbdi_util.c
841
if (desc->bDescriptorType == type &&
sys/dev/usb/uvideo.c
445
#define GET(type, descp, field) (((const type *)(descp))->field)
sys/dev/usb/uvideo.c
446
#define GETP(type, descp, field) (&(((const type *)(descp))->field))
sys/dev/usb/vhci.c
1138
if (pkt->type.dat)
sys/dev/usb/vhci.c
193
} type;
sys/dev/usb/vhci.c
291
req->type.req = true;
sys/dev/usb/vhci.c
299
vxfer->reqbuf.type = VHCI_REQ_CTRL;
sys/dev/usb/vhci.c
310
res->type.res = true;
sys/dev/usb/vhci.c
328
dat->type.dat = true;
sys/dev/usb/vhci.c
993
vhci_fd_open(dev_t dev, int flags, int type, struct lwp *l)
sys/dev/usb/vhci.h
33
int type;
sys/dev/video.c
1092
switch (input->type) {
sys/dev/video.c
1094
vi->type = VIDEO_INPUT_TYPE_TUNER;
sys/dev/video.c
1097
vi->type = VIDEO_INPUT_TYPE_CAMERA;
sys/dev/video.c
1122
switch (vi->type) {
sys/dev/video.c
1124
input->type = V4L2_INPUT_TYPE_TUNER;
sys/dev/video.c
1127
input->type = V4L2_INPUT_TYPE_CAMERA;
sys/dev/video.c
1160
input->type = V4L2_INPUT_TYPE_CAMERA;
sys/dev/video.c
1430
freq->type = V4L2_TUNER_ANALOG_TV;
sys/dev/video.c
1446
if (freq->type != V4L2_TUNER_ANALOG_TV)
sys/dev/video.c
1502
if (req->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
sys/dev/video.c
1505
vs->vs_type = req->type;
sys/dev/video.c
1540
if (buf->type != vs->vs_type)
sys/dev/video.c
1559
if (userbuf->type != vs->vs_type) {
sys/dev/video.c
1561
userbuf->type, vs->vs_type));
sys/dev/video.c
1609
if (buf->type != vs->vs_type) {
sys/dev/video.c
1612
buf->type, vs->vs_type);
sys/dev/video.c
1663
video_stream_on(struct video_softc *sc, enum v4l2_buf_type type)
sys/dev/video.c
1671
if (type != vs->vs_type)
sys/dev/video.c
1688
video_stream_off(struct video_softc *sc, enum v4l2_buf_type type)
sys/dev/video.c
1696
if (type != vs->vs_type)
sys/dev/video.c
1940
buf->type = b50->type;
sys/dev/video.c
1961
b50->type = buf->type;
sys/dev/video.c
2039
if (fmtdesc->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
sys/dev/video.c
2607
buf->type = vs->vs_type;
sys/dev/video.c
549
control_type_to_v4l2type(enum video_control_type type) {
sys/dev/video.c
550
switch (type) {
sys/dev/video.c
582
query->type = control_type_to_v4l2type(desc.type);
sys/dev/video.c
637
dest->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
sys/dev/video.c
709
switch (src->type) {
sys/dev/video.c
778
src->type));
sys/dev/video.c
801
fmtdesc->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; /* TODO: only one type for now */
sys/dev/video.c
844
frmdesc->type = V4L2_FRMSIZE_TYPE_DISCRETE; /* TODO: only one type for now */
sys/dev/video.c
859
frmdesc->type = V4L2_FRMSIZE_TYPE_DISCRETE;
sys/dev/video.c
940
if (parm->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
sys/dev/video.c
967
if (parm->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
sys/dev/video_if.h
149
enum video_control_type type;
sys/dev/video_if.h
439
enum video_input_type type; /* input type */
sys/dev/vme/xd.c
1640
xdc_submit_iorq(struct xdc_softc *xdcsc, int iorqno, int type)
sys/dev/vme/xd.c
1647
iorqno, type);
sys/dev/vme/xd.c
1655
if (type == XD_SUB_NOQ)
sys/dev/vme/xd.c
1658
switch (type) {
sys/dev/vme/xd.c
1689
switch (type) {
sys/dev/vme/xy.c
1482
xyc_submit_iorq(struct xyc_softc *xycsc, struct xy_iorq *iorq, int type)
sys/dev/vme/xy.c
1488
device_xname(xycsc->sc_dev), iorq, type);
sys/dev/vme/xy.c
1496
if (type == XY_SUB_NOQ)
sys/dev/vme/xy.c
1498
switch (type) {
sys/dev/vme/xy.c
1520
if (type == XY_SUB_NORM || type == XY_SUB_NOQ)
sys/dev/vme/xy.c
1528
switch (type) {
sys/dev/wscons/wsbell.c
286
event.type = 0;
sys/dev/wscons/wsconsio.h
253
u_int type;
sys/dev/wscons/wsconsio.h
57
u_int type;
sys/dev/wscons/wsconsio.h
571
int type;
sys/dev/wscons/wsdisplay.c
1495
char *type, typebuf[16], *emul, emulbuf[16];
sys/dev/wscons/wsdisplay.c
1513
type = typebuf;
sys/dev/wscons/wsdisplay.c
1515
type = 0;
sys/dev/wscons/wsdisplay.c
1524
if ((error = wsdisplay_addscreen(sc, d->idx, type, emul)) == 0)
sys/dev/wscons/wsdisplay.c
1578
wsmuxdata.type = WSMUX_KBD;
sys/dev/wscons/wsdisplay.c
1583
wsmuxdata.type = WSMUX_KBD;
sys/dev/wscons/wsdisplay.c
1595
if (d->idx == -1 && d->type == WSMUX_KBD)
sys/dev/wscons/wsdisplay.c
1613
wsdisplay_stat_inject(device_t dv, u_int type, int value)
sys/dev/wscons/wsdisplay.c
1627
event.type = type;
sys/dev/wscons/wsdisplay.c
316
const struct wsscreen_descr *type, void *cookie, int ccol,
sys/dev/wscons/wsdisplay.c
335
dconf->emulops = type->textops;
sys/dev/wscons/wsdisplay.c
345
(*dconf->wsemul->attach)(0, type, cookie,
sys/dev/wscons/wsdisplay.c
349
dconf->scrdata = type;
sys/dev/wscons/wsdisplay.c
921
wsdisplay_cnattach(const struct wsscreen_descr *type, void *cookie,
sys/dev/wscons/wsdisplay.c
927
KASSERT(type->nrows > 0);
sys/dev/wscons/wsdisplay.c
928
KASSERT(type->ncols > 0);
sys/dev/wscons/wsdisplay.c
929
KASSERT(crow < type->nrows);
sys/dev/wscons/wsdisplay.c
930
KASSERT(ccol < type->ncols);
sys/dev/wscons/wsdisplay.c
932
wsdisplay_console_conf.emulops = type->textops;
sys/dev/wscons/wsdisplay.c
934
wsdisplay_console_conf.scrdata = type;
sys/dev/wscons/wsdisplay.c
938
wsdisplay_console_conf.wsemulcookie = (*wsemul->cnattach)(type, cookie,
sys/dev/wscons/wsdisplay.c
953
wsdisplay_preattach(const struct wsscreen_descr *type, void *cookie,
sys/dev/wscons/wsdisplay.c
959
KASSERT(type->nrows > 0);
sys/dev/wscons/wsdisplay.c
960
KASSERT(type->ncols > 0);
sys/dev/wscons/wsdisplay.c
961
KASSERT(crow < type->nrows);
sys/dev/wscons/wsdisplay.c
962
KASSERT(ccol < type->ncols);
sys/dev/wscons/wsdisplay.c
964
wsdisplay_console_conf.emulops = type->textops;
sys/dev/wscons/wsdisplay.c
966
wsdisplay_console_conf.scrdata = type;
sys/dev/wscons/wsdisplay.c
970
wsdisplay_console_conf.wsemulcookie = (*wsemul->cnattach)(type, cookie,
sys/dev/wscons/wsdisplay_vcons.c
639
if (vdp->currenttype != type) {
sys/dev/wscons/wsdisplay_vcons.c
640
vcons_set_screentype(vd, type);
sys/dev/wscons/wsdisplay_vcons.c
641
vdp->currenttype = type;
sys/dev/wscons/wsdisplay_vcons.c
882
vcons_alloc_screen(void *v, const struct wsscreen_descr *type, void **cookiep,
sys/dev/wscons/wsdisplay_vcons.c
888
struct wsscreen_descr *t = __UNCONST(type);
sys/dev/wscons/wsdisplay_vcons.c
898
scr->scr_type = __UNCONST(type);
sys/dev/wscons/wsdisplay_vcons.c
913
vdp->currenttype = type;
sys/dev/wscons/wsemul_dumb.c
101
wsemul_dumb_attach(int console, const struct wsscreen_descr *type,
sys/dev/wscons/wsemul_dumb.c
111
edp->emulops = type->textops;
sys/dev/wscons/wsemul_dumb.c
113
edp->nrows = type->nrows;
sys/dev/wscons/wsemul_dumb.c
114
edp->ncols = type->ncols;
sys/dev/wscons/wsemul_dumb.c
81
wsemul_dumb_cnattach(const struct wsscreen_descr *type, void *cookie,
sys/dev/wscons/wsemul_dumb.c
88
edp->emulops = type->textops;
sys/dev/wscons/wsemul_dumb.c
90
edp->nrows = type->nrows;
sys/dev/wscons/wsemul_dumb.c
91
edp->ncols = type->ncols;
sys/dev/wscons/wsemul_sun.c
116
wsemul_sun_cnattach(const struct wsscreen_descr *type, void *cookie,
sys/dev/wscons/wsemul_sun.c
124
edp->emulops = type->textops;
sys/dev/wscons/wsemul_sun.c
126
edp->scrcapabilities = type->capabilities;
sys/dev/wscons/wsemul_sun.c
127
edp->nrows = type->nrows;
sys/dev/wscons/wsemul_sun.c
128
edp->ncols = type->ncols;
sys/dev/wscons/wsemul_sun.c
146
if (type->capabilities & WSSCREEN_WSCOLORS)
sys/dev/wscons/wsemul_sun.c
172
wsemul_sun_attach(int console, const struct wsscreen_descr *type,
sys/dev/wscons/wsemul_sun.c
185
edp->emulops = type->textops;
sys/dev/wscons/wsemul_sun.c
187
edp->scrcapabilities = type->capabilities;
sys/dev/wscons/wsemul_sun.c
188
edp->nrows = type->nrows;
sys/dev/wscons/wsemul_sun.c
189
edp->ncols = type->ncols;
sys/dev/wscons/wsemul_vt100.c
1048
wsemul_vt100_setmsgattrs(void *cookie, const struct wsscreen_descr *type,
sys/dev/wscons/wsemul_vt100.c
1057
if (type->capabilities & WSSCREEN_WSCOLORS) {
sys/dev/wscons/wsemul_vt100.c
142
const struct wsscreen_descr *type, void *cookie, int ccol, int crow,
sys/dev/wscons/wsemul_vt100.c
148
vd->emulops = type->textops;
sys/dev/wscons/wsemul_vt100.c
150
vd->scrcapabilities = type->capabilities;
sys/dev/wscons/wsemul_vt100.c
151
vd->nrows = type->nrows;
sys/dev/wscons/wsemul_vt100.c
152
vd->ncols = type->ncols;
sys/dev/wscons/wsemul_vt100.c
161
if (type->capabilities & WSSCREEN_WSCOLORS) {
sys/dev/wscons/wsemul_vt100.c
216
wsemul_vt100_cnattach(const struct wsscreen_descr *type, void *cookie,
sys/dev/wscons/wsemul_vt100.c
224
wsemul_vt100_init(edp, type, cookie, ccol, crow, defattr);
sys/dev/wscons/wsemul_vt100.c
241
wsemul_vt100_attach(int console, const struct wsscreen_descr *type,
sys/dev/wscons/wsemul_vt100.c
252
wsemul_vt100_init(edp, type, cookie, ccol, crow, defattr);
sys/dev/wscons/wsemul_vt100.c
295
wsemul_vt100_resize(void * cookie, const struct wsscreen_descr *type)
sys/dev/wscons/wsemul_vt100.c
300
KASSERT(type->nrows >= 0);
sys/dev/wscons/wsemul_vt100.c
301
KASSERT(type->ncols >= 0);
sys/dev/wscons/wsemul_vt100.c
302
KASSERT(type->nrows <= 1024);
sys/dev/wscons/wsemul_vt100.c
303
KASSERT(type->ncols <= 1024);
sys/dev/wscons/wsemul_vt100.c
305
edp->bd.nrows = MAX(0, MIN(type->nrows, 1024));
sys/dev/wscons/wsemul_vt100.c
306
edp->bd.ncols = MAX(0, MIN(type->ncols, 1024));
sys/dev/wscons/wsevent.c
426
we->type = events[i].type;
sys/dev/wscons/wsevent_50.c
135
ev50.type = ev->type;
sys/dev/wscons/wseventvar.h
108
u_int type;
sys/dev/wscons/wskbd.c
1402
u_int type;
sys/dev/wscons/wskbd.c
1421
&type, &data);
sys/dev/wscons/wskbd.c
1422
if (type == 0) {
sys/dev/wscons/wskbd.c
1426
if (type == WSCONS_EVENT_ASCII) {
sys/dev/wscons/wskbd.c
1437
num = wskbd_translate(&wskbd_console_data, type, data);
sys/dev/wscons/wskbd.c
1494
update_modifier(struct wskbd_internal *id, u_int type, int toggle, int mask)
sys/dev/wscons/wskbd.c
1497
if (type == WSCONS_EVENT_KEY_DOWN)
sys/dev/wscons/wskbd.c
1500
if (type == WSCONS_EVENT_KEY_DOWN)
sys/dev/wscons/wskbd.c
1532
internal_command(struct wskbd_softc *sc, u_int *type, keysym_t ksym,
sys/dev/wscons/wskbd.c
1540
if (*type == WSCONS_EVENT_KEY_DOWN)
sys/dev/wscons/wskbd.c
1544
if (*type == WSCONS_EVENT_KEY_DOWN)
sys/dev/wscons/wskbd.c
1548
if (*type == WSCONS_EVENT_KEY_DOWN)
sys/dev/wscons/wskbd.c
1554
if (*type == WSCONS_EVENT_KEY_DOWN) {
sys/dev/wscons/wskbd.c
1560
update_modifier(sc->id, *type, 0, MOD_COMMAND);
sys/dev/wscons/wskbd.c
1570
update_modifier(sc->id, *type, 0, MOD_COMMAND);
sys/dev/wscons/wskbd.c
1575
if (*type == WSCONS_EVENT_KEY_DOWN) {
sys/dev/wscons/wskbd.c
1581
update_modifier(sc->id, *type, 0, MOD_COMMAND);
sys/dev/wscons/wskbd.c
1591
update_modifier(sc->id, *type, 0, MOD_COMMAND);
sys/dev/wscons/wskbd.c
1596
update_modifier(sc->id, *type, 0, MOD_COMMAND);
sys/dev/wscons/wskbd.c
1601
update_modifier(sc->id, *type, 0, MOD_COMMAND1);
sys/dev/wscons/wskbd.c
1605
update_modifier(sc->id, *type, 0, MOD_COMMAND2);
sys/dev/wscons/wskbd.c
1609
if (*type != WSCONS_EVENT_KEY_DOWN ||
sys/dev/wscons/wskbd.c
1625
*type = WSCONS_EVENT_KEY_UP;
sys/dev/wscons/wskbd.c
1706
wskbd_translate(struct wskbd_internal *id, u_int type, int value)
sys/dev/wscons/wskbd.c
1714
if (type == WSCONS_EVENT_ALL_KEYS_UP) {
sys/dev/wscons/wskbd.c
1727
type, value);
sys/dev/wscons/wskbd.c
1746
iscommand = internal_command(sc, &type, kp->command,
sys/dev/wscons/wskbd.c
1752
update_modifier(id, type, 0, MOD_SHIFT_L);
sys/dev/wscons/wskbd.c
1756
update_modifier(id, type, 0, MOD_SHIFT_R);
sys/dev/wscons/wskbd.c
1760
update_modifier(id, type, 1, MOD_SHIFTLOCK);
sys/dev/wscons/wskbd.c
1764
update_modifier(id, type, 1, MOD_CAPSLOCK);
sys/dev/wscons/wskbd.c
1768
update_modifier(id, type, 0, MOD_CONTROL_L);
sys/dev/wscons/wskbd.c
1772
update_modifier(id, type, 0, MOD_CONTROL_R);
sys/dev/wscons/wskbd.c
1776
update_modifier(id, type, 0, MOD_META_L);
sys/dev/wscons/wskbd.c
1780
update_modifier(id, type, 0, MOD_META_R);
sys/dev/wscons/wskbd.c
1784
update_modifier(id, type, 0, MOD_MODESHIFT);
sys/dev/wscons/wskbd.c
1788
update_modifier(id, type, 1, MOD_NUMLOCK);
sys/dev/wscons/wskbd.c
1794
update_modifier(id, type, 1, MOD_HOLDSCREEN);
sys/dev/wscons/wskbd.c
1802
if (type != WSCONS_EVENT_KEY_DOWN || iscommand) {
sys/dev/wscons/wskbd.c
278
static void wskbd_deliver_event(struct wskbd_softc *sc, u_int type, int value);
sys/dev/wscons/wskbd.c
639
event.type = 0;
sys/dev/wscons/wskbd.c
663
wskbd_input(device_t dev, u_int type, int value)
sys/dev/wscons/wskbd.c
683
num = wskbd_translate(sc->id, type, value);
sys/dev/wscons/wskbd.c
708
wskbd_deliver_event(sc, type, value);
sys/dev/wscons/wskbd.c
712
if (type == WSCONS_EVENT_KEY_DOWN && sc->sc_keyrepeat_data.del1 != 0) {
sys/dev/wscons/wskbd.c
713
sc->sc_repeat_type = type;
sys/dev/wscons/wskbd.c
728
wskbd_deliver_event(struct wskbd_softc *sc, u_int type, int value)
sys/dev/wscons/wskbd.c
740
event.type = type;
sys/dev/wscons/wsmouse.c
342
event.type = 0;
sys/dev/wscons/wsmouse.c
412
events[nevents].type = WSCONS_EVENT_MOUSE_ABSOLUTE_X;
sys/dev/wscons/wsmouse.c
418
events[nevents].type = WSCONS_EVENT_MOUSE_DELTA_X;
sys/dev/wscons/wsmouse.c
425
events[nevents].type = WSCONS_EVENT_MOUSE_ABSOLUTE_Y;
sys/dev/wscons/wsmouse.c
431
events[nevents].type = WSCONS_EVENT_MOUSE_DELTA_Y;
sys/dev/wscons/wsmouse.c
438
events[nevents].type = WSCONS_EVENT_MOUSE_ABSOLUTE_Z;
sys/dev/wscons/wsmouse.c
444
events[nevents].type = WSCONS_EVENT_MOUSE_DELTA_Z;
sys/dev/wscons/wsmouse.c
451
events[nevents].type = WSCONS_EVENT_MOUSE_ABSOLUTE_W;
sys/dev/wscons/wsmouse.c
457
events[nevents].type = WSCONS_EVENT_MOUSE_DELTA_W;
sys/dev/wscons/wsmouse.c
493
events[nevents].type =
sys/dev/wscons/wsmouse.c
551
events[nevents].type = WSCONS_EVENT_HSCROLL;
sys/dev/wscons/wsmouse.c
557
events[nevents].type = WSCONS_EVENT_VSCROLL;
sys/dev/wscons/wsmouse.c
589
events[0].type = WSCONS_EVENT_MOUSE_UP;
sys/dev/wscons/wsmouse.c
591
events[1].type = WSCONS_EVENT_MOUSE_DOWN;
sys/dev/wscons/wsmux.c
422
event.type = ((struct wscons_event *)data)->type;
sys/dev/wscons/wsmux.c
431
device_xname(sc->sc_base.me_dv), d->type, d->idx));
sys/dev/wscons/wsmux.c
432
switch (d->type) {
sys/dev/wscons/wsmux.c
450
device_xname(sc->sc_base.me_dv), d->type, d->idx));
sys/dev/wscons/wsmux.c
453
if (me->me_ops->type == d->type &&
sys/dev/wscons/wsmux.c
470
l->devices[n].type = me->me_ops->type;
sys/dev/wscons/wsmux.c
656
device_xname(sc->sc_base.me_dv), sc, me->me_ops->type));
sys/dev/wscons/wsmuxvar.h
50
int type; /* device type: WSMUX_{MOUSE,KBD,MUX} */
sys/dist/pf/net/pf.c
1165
if (aw->type != PF_ADDR_TABLE)
sys/dist/pf/net/pf.c
1175
if (aw->type != PF_ADDR_TABLE || aw->p.tbl == NULL)
sys/dist/pf/net/pf.c
1186
if (aw->type != PF_ADDR_TABLE || kt == NULL)
sys/dist/pf/net/pf.c
1374
if (aw1->type != aw2->type)
sys/dist/pf/net/pf.c
1376
switch (aw1->type) {
sys/dist/pf/net/pf.c
1393
printf("invalid address type: %d\n", aw1->type);
sys/dist/pf/net/pf.c
1851
pf_send_icmp(struct mbuf *m, u_int8_t type, u_int8_t code, sa_family_t af,
sys/dist/pf/net/pf.c
1905
icmp_error(m0, type, code, 0, 0);
sys/dist/pf/net/pf.c
1910
icmp6_error(m0, type, code, 0);
sys/dist/pf/net/pf.c
2283
if (rpool->cur->addr.type == PF_ADDR_NOROUTE)
sys/dist/pf/net/pf.c
2285
if (rpool->cur->addr.type == PF_ADDR_DYNIFTL) {
sys/dist/pf/net/pf.c
2308
} else if (rpool->cur->addr.type == PF_ADDR_TABLE) {
sys/dist/pf/net/pf.c
2368
if (rpool->cur->addr.type == PF_ADDR_TABLE) {
sys/dist/pf/net/pf.c
2373
} else if (rpool->cur->addr.type == PF_ADDR_DYNIFTL) {
sys/dist/pf/net/pf.c
2384
if (rpool->cur->addr.type == PF_ADDR_TABLE) {
sys/dist/pf/net/pf.c
2394
} else if (rpool->cur->addr.type == PF_ADDR_DYNIFTL) {
sys/dist/pf/net/pf.c
2646
if (r->rpool.cur->addr.type == PF_ADDR_DYNIFTL){
sys/dist/pf/net/pf.c
2682
if (r->src.addr.type == PF_ADDR_DYNIFTL) {
sys/dist/pf/net/pf.c
3287
else if (r->type && r->type != icmptype + 1)
sys/dist/pf/net/pf.c
3770
r->flagset || r->type || r->code ||
sys/dist/pf/net/pf.c
6041
if (tr->src.addr.type == PF_ADDR_TABLE)
sys/dist/pf/net/pf.c
6047
if (tr->dst.addr.type == PF_ADDR_TABLE)
sys/dist/pf/net/pf.c
6463
if (tr->src.addr.type == PF_ADDR_TABLE)
sys/dist/pf/net/pf.c
6468
if (tr->dst.addr.type == PF_ADDR_TABLE)
sys/dist/pf/net/pf_if.c
429
if (aw->type != PF_ADDR_DYNIFTL)
sys/dist/pf/net/pf_if.c
664
if (aw->type != PF_ADDR_DYNIFTL || aw->p.dyn == NULL ||
sys/dist/pf/net/pf_if.c
682
if (aw->type != PF_ADDR_DYNIFTL || aw->p.dyn == NULL ||
sys/dist/pf/net/pf_ioctl.c
1022
PF_MD5_UPD(rule, type);
sys/dist/pf/net/pf_ioctl.c
2402
if (pp->addr.addr.type != PF_ADDR_ADDRMASK &&
sys/dist/pf/net/pf_ioctl.c
2403
pp->addr.addr.type != PF_ADDR_DYNIFTL &&
sys/dist/pf/net/pf_ioctl.c
2404
pp->addr.addr.type != PF_ADDR_TABLE) {
sys/dist/pf/net/pf_ioctl.c
2485
if (pca->addr.addr.type != PF_ADDR_ADDRMASK &&
sys/dist/pf/net/pf_ioctl.c
2486
pca->addr.addr.type != PF_ADDR_DYNIFTL &&
sys/dist/pf/net/pf_ioctl.c
2487
pca->addr.addr.type != PF_ADDR_TABLE) {
sys/dist/pf/net/pf_ioctl.c
701
if (a->type == PF_ADDR_RTLABEL &&
sys/dist/pf/net/pf_ioctl.c
712
if (a->type == PF_ADDR_RTLABEL)
sys/dist/pf/net/pf_ioctl.c
723
if (a->type == PF_ADDR_RTLABEL && a->v.rtlabel) {
sys/dist/pf/net/pf_ioctl.c
967
PF_MD5_UPD(pfr, addr.type);
sys/dist/pf/net/pf_ioctl.c
968
switch (pfr->addr.type) {
sys/dist/pf/net/pf_table.c
86
#define SWAP(type, a1, a2) \
sys/dist/pf/net/pf_table.c
88
type tmp = a1; \
sys/dist/pf/net/pfvar.h
184
u_int8_t type; /* PF_ADDR_* */
sys/dist/pf/net/pfvar.h
341
(((aw)->type == PF_ADDR_NOROUTE && \
sys/dist/pf/net/pfvar.h
343
(((aw)->type == PF_ADDR_URPFFAILED && (ifp) != NULL && \
sys/dist/pf/net/pfvar.h
345
((aw)->type == PF_ADDR_RTLABEL && \
sys/dist/pf/net/pfvar.h
347
((aw)->type == PF_ADDR_TABLE && \
sys/dist/pf/net/pfvar.h
349
((aw)->type == PF_ADDR_DYNIFTL && \
sys/dist/pf/net/pfvar.h
351
((aw)->type == PF_ADDR_ADDRMASK && \
sys/dist/pf/net/pfvar.h
600
u_int8_t type;
sys/fs/adosfs/adosfs.h
76
enum anode_type type;
sys/fs/adosfs/advfsops.c
420
switch (ap->type = adosfs_getblktype(amp, bp)) {
sys/fs/adosfs/advfsops.c
520
if (ap->type == AFILE) {
sys/fs/adosfs/advfsops.c
524
} else if (ap->type == ALFILE) {
sys/fs/adosfs/advfsops.c
535
if (ap->type == AROOT) {
sys/fs/adosfs/advfsops.c
549
if ((ap->type == ADIR || ap->type == ALDIR) &&
sys/fs/adosfs/advnops.c
436
if (ap->type == AFILE)
sys/fs/adosfs/advnops.c
438
else if (ap->type == ALFILE)
sys/fs/cd9660/cd9660_rrip.c
325
return *p->h.type == 'C' ? ISO_SUSP_CLINK : ISO_SUSP_PLINK;
sys/fs/cd9660/cd9660_rrip.c
529
if (*phead->type == *ptable->type
sys/fs/cd9660/cd9660_rrip.c
530
&& phead->type[1] == ptable->type[1]) {
sys/fs/cd9660/cd9660_rrip.c
62
char type[2];
sys/fs/cd9660/cd9660_rrip.h
43
char type [ISODCL ( 0, 1)];
sys/fs/cd9660/cd9660_vfsops.c
445
switch (isonum_711(vdp->type)) {
sys/fs/cd9660/cd9660_vfsops.c
464
if (isonum_711 (vdp->type) == ISO_VD_END) {
sys/fs/cd9660/iso.h
107
char type [ISODCL ( 1, 1)]; /* 711 */
sys/fs/cd9660/iso.h
53
char type[ISODCL(1,1)]; /* 711 */
sys/fs/cd9660/iso.h
70
char type [ISODCL ( 1, 1)]; /* 711 */
sys/fs/hfs/hfs_subr.c
407
if (rec->type == HFS_REC_FILE) {
sys/fs/hfs/hfs_vnops.c
444
if (rec.type == HFS_REC_FILE
sys/fs/hfs/libhfs.c
1705
out_recdata->type = *inout_rectype;
sys/fs/hfs/libhfs.c
1707
switch(out_recdata->type)
sys/fs/hfs/libhfs.c
2694
|| metadata.type != HFS_REC_FLDR)
sys/fs/hfs/libhfs.h
475
int16_t type; /* type of record: folder, file, or thread */
sys/fs/nfs/client/nfs_clkdtrace.c
558
dtnfsclient_modevent(module_t mod __unused, int type, void *data __unused)
sys/fs/nfs/client/nfs_clkdtrace.c
562
switch (type) {
sys/fs/nfs/client/nfs_clport.c
1380
nfscl_modevent(module_t mod, int type, void *data)
sys/fs/nfs/client/nfs_clport.c
1385
switch (type) {
sys/fs/nfs/client/nfs_clrpcops.c
3839
int error, type, size;
sys/fs/nfs/client/nfs_clrpcops.c
3879
type = fxdr_unsigned(int, *tl++);
sys/fs/nfs/client/nfs_clrpcops.c
3880
if (type == NFSV4LOCKT_WRITE)
sys/fs/nfs/client/nfs_clrpcops.c
3910
u_int32_t type, struct ucred *cred, NFSPROC_T *p, int syscred)
sys/fs/nfs/client/nfs_clrpcops.c
3918
*tl++ = txdr_unsigned(type);
sys/fs/nfs/client/nfs_clrpcops.c
3961
int reclaim, u_int64_t off, u_int64_t len, short type, struct ucred *cred,
sys/fs/nfs/client/nfs_clrpcops.c
3970
if (type == F_RDLCK)
sys/fs/nfs/client/nfs_clrpcops.c
651
u_int32_t type = NFSV4LOCKT_READ;
sys/fs/nfs/client/nfs_clrpcops.c
665
type = NFSV4LOCKT_READ;
sys/fs/nfs/client/nfs_clrpcops.c
681
type = NFSV4LOCKT_WRITE;
sys/fs/nfs/client/nfs_clrpcops.c
683
type = NFSV4LOCKT_READ;
sys/fs/nfs/client/nfs_clrpcops.c
689
len, type, tcred, p, 0);
sys/fs/nfs/client/nfs_clstate.c
1007
(type == F_WRLCK &&
sys/fs/nfs/client/nfs_clstate.c
4112
u_int64_t off, u_int64_t len, short type, struct ucred *cred, NFSPROC_T *p)
sys/fs/nfs/client/nfs_clstate.c
4119
reclaim, off, len, type, cred, p, 0);
sys/fs/nfs/client/nfs_clstate.c
4131
newone, reclaim, off, len, type, cred, p, 1);
sys/fs/nfs/client/nfs_clstate.c
927
short type, struct ucred *cred, NFSPROC_T *p, struct nfsclclient *rclp,
sys/fs/nfs/client/nfs_clstate.c
962
nlop->nfslo_type = type;
sys/fs/nfs/common/nfs_commonacl.c
189
enum vtype type, acl_perm_t *permp)
sys/fs/nfs/common/nfs_commonacl.c
286
enum vtype type, int group, int owner, struct acl_entry *ace)
sys/fs/nfs/common/nfs_commonacl.c
325
if (type == VDIR) {
sys/fs/nfs/common/nfs_commonacl.c
394
nfsrv_buildacl(struct nfsrv_descript *nd, NFSACL_T *aclp, enum vtype type,
sys/fs/nfs/common/nfs_commonacl.c
40
enum vtype type, acl_perm_t *permp);
sys/fs/nfs/common/nfs_commonacl.c
442
retlen += nfsrv_buildace(nd, name, namelen, type, isgroup,
sys/fs/nfs/common/nfs_commonkrpc.c
448
nfs_feedback(int type, int proc, void *arg)
sys/fs/nfs/common/nfs_commonkrpc.c
454
switch (type) {
sys/fs/nfs/common/nfs_commonport.c
695
nfscommon_modevent(module_t mod, int type, void *data)
sys/fs/nfs/common/nfs_commonport.c
700
switch (type) {
sys/fs/nfs/common/nfs_lock.c
200
nfslock_modevent(module_t mod __unused, int type, void *data __unused)
sys/fs/nfs/common/nfs_lock.c
203
switch (type) {
sys/fs/nfs/common/nfs_nfssvc.c
121
nfssvc_modevent(module_t mod, int type, void *data)
sys/fs/nfs/common/nfs_nfssvc.c
126
switch (type) {
sys/fs/nfs/nlm/nlm.h
57
size_t srcsize, struct malloc_type *type);
sys/fs/nfs/nlm/nlm.h
63
struct malloc_type *type);
sys/fs/nfs/nlm/nlm_advlock.c
175
nlm_feedback(int type, int proc, void *arg)
sys/fs/nfs/nlm/nlm_advlock.c
180
switch (type) {
sys/fs/nfs/nlm/nlm_prot_impl.c
2420
nfslockd_modevent(module_t mod, int type, void *data)
sys/fs/nfs/nlm/nlm_prot_impl.c
2423
switch (type) {
sys/fs/nfs/nlm/nlm_prot_impl.c
329
struct malloc_type *type)
sys/fs/nfs/nlm/nlm_prot_impl.c
333
dst->n_bytes = malloc(srcsize, type, M_WAITOK);
sys/fs/nfs/nlm/nlm_prot_impl.c
342
struct malloc_type *type)
sys/fs/nfs/nlm/nlm_prot_impl.c
345
nlm_make_netobj(dst, src->n_bytes, src->n_len, type);
sys/fs/nfs/server/nfs_nfsdport.c
3349
nfsd_modevent(module_t mod, int type, void *data)
sys/fs/nfs/server/nfs_nfsdport.c
3354
switch (type) {
sys/fs/nfs/server/nfs_nfsdserv.c
1011
NFSVNO_SETATTRVAL(&nva, type, vtyp);
sys/fs/nfs/server/nfs_nfsdserv.c
1046
NFSVNO_SETATTRVAL(&nva, type, VREG);
sys/fs/nfs/server/nfs_nfsdserv.c
1938
NFSVNO_SETATTRVAL(nvap, type, VDIR);
sys/fs/ntfs/ntfs.h
277
#define NTFS_NEXTREC(s, type) ((type)(((char *) s) + (s)->reclen))
sys/fs/ntfs/ntfs_subr.c
112
struct ntvattr **vapp, u_int32_t type, const char *name, size_t namelen,
sys/fs/ntfs/ntfs_subr.c
135
if ((vap->va_type == type) &&
sys/fs/ntfs/ntfs_subr.c
157
ntfs_ntvattrget(struct ntfsmount *ntmp, struct ntnode *ip, u_int32_t type,
sys/fs/ntfs/ntfs_subr.c
172
__func__, (unsigned long long)ip->i_number, type, name,
sys/fs/ntfs/ntfs_subr.c
177
(unsigned long long)ip->i_number, type, (long long)vcn));
sys/fs/ntfs/ntfs_subr.c
182
error = ntfs_findvattr(ntmp, ip, &lvap, vapp, type, name, namelen, vcn);
sys/fs/ntfs/ntfs_subr.c
189
(unsigned long long)ip->i_number, type, name,
sys/fs/ntfs/ntfs_subr.c
217
if (!NTFS_AALPCMP(aalp, type, name, namelen) ||
sys/fs/ntfs/ntfs_subr.c
219
NTFS_AALPCMP(nextaalp, type, name, namelen)))
sys/fs/ntfs/ntfs_subr.c
229
aalp->al_inumber, ip->i_number, type, error);
sys/fs/ntfs/ntfs_subr.c
234
type, name, namelen, vcn);
sys/fs/ntfs/ntfs_subr.c
245
(unsigned long long)ip->i_number, type, (int)namelen,
sys/fs/ntfs/ntfs_subr.c
94
#define NTFS_AALPCMP(aalp,type,name,namelen) ( \
sys/fs/ntfs/ntfs_subr.c
95
(aalp->al_type == type) && (aalp->al_namelen == namelen) && \
sys/fs/ptyfs/ptyfs.h
143
#define PTYFS_FILENO(type, pty) \
sys/fs/ptyfs/ptyfs.h
144
((type == PTYFSroot) ? 2 : \
sys/fs/ptyfs/ptyfs.h
145
((((pty) + 1) * 2 + (((type) == PTYFSpts) ? 1 : 2))))
sys/fs/ptyfs/ptyfs_subr.c
110
ptyfs_allocvp(struct mount *mp, struct vnode **vpp, ptyfstype type, int pty)
sys/fs/ptyfs/ptyfs_subr.c
116
key.ptk_type = type;
sys/fs/ptyfs/ptyfs_subr.c
146
ptyfs_get_node(ptyfstype type, int pty)
sys/fs/ptyfs/ptyfs_subr.c
151
ppp = &ptyfs_node_tbl[PTYFS_FILENO(type, pty) & ptyfs_node_mask];
sys/fs/ptyfs/ptyfs_subr.c
155
if (pty == pp->ptyfs_pty && pp->ptyfs_type == type) {
sys/fs/ptyfs/ptyfs_subr.c
164
pp->ptyfs_type = type;
sys/fs/ptyfs/ptyfs_subr.c
165
pp->ptyfs_fileno = PTYFS_FILENO(type, pty);
sys/fs/ptyfs/ptyfs_vfsops.c
196
ptyfstype type;
sys/fs/ptyfs/ptyfs_vfsops.c
200
type = PTYFSptc;
sys/fs/ptyfs/ptyfs_vfsops.c
203
type = PTYFSpts;
sys/fs/ptyfs/ptyfs_vfsops.c
209
error = ptyfs_allocvp(mp, vpp, type, minor(dev));
sys/fs/ptyfs/ptyfs_vfsops.c
218
if (type == PTYFSptc)
sys/fs/puffs/puffs_msgif.c
291
puffs_msg_setinfo(struct puffs_msgpark *park, int opclass, int type,
sys/fs/puffs/puffs_msgif.c
296
park->park_preq->preq_optype = type;
sys/fs/puffs/puffs_node.c
114
vp->v_type = type;
sys/fs/puffs/puffs_node.c
115
if (type == VCHR || type == VBLK) {
sys/fs/puffs/puffs_node.c
118
} else if (type == VFIFO) {
sys/fs/puffs/puffs_node.c
135
puffs_getvnode(struct mount *mp, puffs_cookie_t ck, enum vtype type,
sys/fs/puffs/puffs_node.c
139
return puffs_getvnode1(mp, ck, type, vsize, rdev, true, vpp);
sys/fs/puffs/puffs_node.c
146
enum vtype type, dev_t rdev)
sys/fs/puffs/puffs_node.c
168
error = puffs_getvnode1(dvp->v_mount, ck, type, 0, rdev, false, vpp);
sys/fs/puffs/puffs_node.c
57
puffs_getvnode1(struct mount *mp, puffs_cookie_t ck, enum vtype type,
sys/fs/puffs/puffs_node.c
67
if (type <= VNON || type >= VBAD) {
sys/fs/puffs/puffs_subr.c
201
puffs_senderr(struct puffs_mount *pmp, int type, int error,
sys/fs/puffs/puffs_subr.c
209
puffs_msg_setinfo(park, PUFFSOP_ERROR, type, ck);
sys/fs/puffs/puffs_sys.h
325
#define PUFFS_MSG_VARS(type, a) \
sys/fs/puffs/puffs_sys.h
326
struct puffs_##type##msg_##a *a##_msg; \
sys/fs/puffs/puffs_sys.h
329
#define PUFFS_MSG_ALLOC(type, a) \
sys/fs/puffs/puffs_sys.h
330
puffs_msgmem_alloc(sizeof(struct puffs_##type##msg_##a), \
sys/fs/sysvbfs/bfs.c
397
inode->attr.type = 1;
sys/fs/sysvbfs/bfs.c
715
attr->type, attr->mode, attr->uid, attr->gid,
sys/fs/sysvbfs/bfs.h
75
uint32_t type;
sys/fs/udf/ecma167-udf.h
218
uint8_t type;
sys/fs/udf/ecma167-udf.h
224
uint8_t type;
sys/fs/udf/ecma167-udf.h
411
uint8_t type;
sys/fs/udf/ecma167-udf.h
420
uint8_t type;
sys/fs/udf/ecma167-udf.h
432
uint8_t type;
sys/fs/udf/ecma167-udf.h
444
uint8_t type;
sys/fs/udf/ecma167-udf.h
460
uint8_t type;
sys/fs/udf/ecma167-udf.h
676
uint32_t type;
sys/fs/udf/udf_subr.c
2238
charspec->type = 0;
sys/fs/udf/udf_subr.c
2437
udf_rw32(attrhdr->type),
sys/fs/udf/udf_subr.c
2442
if (udf_rw32(attrhdr->type) != sattr)
sys/fs/udf/udf_subr.c
2446
if (udf_rw32(attrhdr->type) < 2048) { /* Ecma-167 attribute */
sys/fs/udf/udf_subr.c
2536
if (udf_rw32(extattr->type) < 2048) {
sys/fs/udf/udf_subr.c
2542
if (udf_rw32(extattr->type) == 2048) {
sys/fs/udf/udf_subr.c
2553
assert(udf_rw32(extattr->type) != 65536);
sys/fs/udf/udf_subr.c
2561
if (udf_rw32(extattr->type) < 2048) {
sys/fs/udf/udf_subr.c
2565
if (udf_rw32(extattr->type) == 2048) {
sys/fs/udf/udf_subr.c
4209
is_osta_typ0 = (chsp->type == 0);
sys/fs/udf/udf_subr.c
4265
is_osta_typ0 = (chsp->type == 0);
sys/fs/udf/udf_subr.c
4715
ft_extattr->hdr.type = udf_rw32(UDF_FILETIMES_ATTR_NO);
sys/fs/udf/udf_vnops.c
1619
pathcomp.type = UDF_PATH_COMP_ROOT;
sys/fs/udf/udf_vnops.c
1626
pathcomp.type = UDF_PATH_COMP_MOUNTROOT;
sys/fs/udf/udf_vnops.c
1664
pathcomp.type = UDF_PATH_COMP_NAME;
sys/fs/udf/udf_vnops.c
1668
pathcomp.type = UDF_PATH_COMP_PARENTDIR;
sys/fs/udf/udf_vnops.c
1670
pathcomp.type = UDF_PATH_COMP_CURDIR;
sys/fs/udf/udf_vnops.c
1672
if (pathcomp.type == UDF_PATH_COMP_NAME) {
sys/fs/udf/udf_vnops.c
1796
switch (pathcomp.type) {
sys/fs/v7fs/v7fs_vnops.c
71
vtype_to_v7fs_mode(enum vtype type)
sys/fs/v7fs/v7fs_vnops.c
77
return table[type];
sys/kern/core_elf32.c
587
ELFNAMEEND(coredump_savenote)(struct note_state *ns, unsigned int type,
sys/kern/core_elf32.c
594
nhdr.n_type = type;
sys/kern/init_sysent.c
142
#define s(type) sizeof(type)
sys/kern/init_sysent.c
143
#define n(type) (sizeof(type)/sizeof (register_t))
sys/kern/init_sysent.c
144
#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
sys/kern/kern_descrip.c
1683
filedescopen(dev_t dev, int mode, int type, lwp_t *l)
sys/kern/kern_entropy.c
1792
rnd_attach_source(struct krndsource *rs, const char *name, uint32_t type,
sys/kern/kern_entropy.c
1810
switch (type) {
sys/kern/kern_entropy.c
1825
rs->type = type;
sys/kern/kern_entropy.c
2391
urs->type = rs->type;
sys/kern/kern_entropy.c
2734
if (rndctl->type != 0xff) {
sys/kern/kern_entropy.c
2735
if (rs->type != rndctl->type)
sys/kern/kern_event.c
121
static int filt_timertouch(struct knote *, struct kevent *, long type);
sys/kern/kern_event.c
125
static int filt_usertouch(struct knote *, struct kevent *, long type);
sys/kern/kern_event.c
1500
filt_timertouch(struct knote *kn, struct kevent *kev, long type)
sys/kern/kern_event.c
1509
switch (type) {
sys/kern/kern_event.c
1548
panic("%s: invalid type (%ld)", __func__, type);
sys/kern/kern_event.c
1608
filt_usertouch(struct knote *kn, struct kevent *kev, long type)
sys/kern/kern_event.c
1614
switch (type) {
sys/kern/kern_event.c
1661
panic("filt_usertouch() - invalid type (%ld)", type);
sys/kern/kern_event.c
620
filter_touch(struct knote *kn, struct kevent *kev, long type)
sys/kern/kern_event.c
635
return kn->kn_fop->f_touch(kn, kev, type);
sys/kern/kern_ksyms.c
195
findsym(const char *name, struct ksyms_symtab *table, int type)
sys/kern/kern_ksyms.c
232
if (type != KSYMS_EXTERN) {
sys/kern/kern_ksyms.c
638
unsigned long *val, int type)
sys/kern/kern_ksyms.c
654
if ((es = findsym(sym, st, type)) != NULL) {
sys/kern/kern_ksyms.c
667
ksyms_getval(const char *mod, const char *sym, unsigned long *val, int type)
sys/kern/kern_ksyms.c
674
return ksyms_getval_unlocked(mod, sym, NULL, val, type);
sys/kern/kern_ksyms.c
764
int type, i, sz;
sys/kern/kern_ksyms.c
776
type = ELF_ST_TYPE(les->st_info);
sys/kern/kern_ksyms.c
778
if ((f & KSYMS_PROC) && (type != STT_FUNC))
sys/kern/kern_ksyms.c
781
if (type == STT_NOTYPE)
sys/kern/kern_ksyms.c
785
(type != STT_FUNC) && (type != STT_OBJECT))
sys/kern/kern_ktrace.c
496
ktealloc(struct ktrace_entry **ktep, void **bufp, lwp_t *l, int type,
sys/kern/kern_ktrace.c
519
kth->ktr_type = type;
sys/kern/kern_ktrace.c
694
ktr_kmem(lwp_t *l, int type, const void *bf, size_t len)
sys/kern/kern_ktrace.c
699
if (ktealloc(&kte, &buf, l, type, len))
sys/kern/kern_mutex.c
353
_mutex_init(kmutex_t *mtx, kmutex_type_t type, int ipl,
sys/kern/kern_mutex.c
364
lockops = (type == MUTEX_NODEBUG ?
sys/kern/kern_mutex.c
369
lockops = (type == MUTEX_NODEBUG ?
sys/kern/kern_mutex.c
377
mutex_init(kmutex_t *mtx, kmutex_type_t type, int ipl)
sys/kern/kern_mutex.c
380
_mutex_init(mtx, type, ipl, (uintptr_t)__builtin_return_address(0));
sys/kern/kern_mutex_obj.c
56
mutex_obj_alloc(kmutex_type_t type, int ipl)
sys/kern/kern_mutex_obj.c
62
_mutex_init(&mo->mo_lock, type, ipl,
sys/kern/kern_mutex_obj.c
76
mutex_obj_tryalloc(kmutex_type_t type, int ipl)
sys/kern/kern_mutex_obj.c
83
_mutex_init(&mo->mo_lock, type, ipl,
sys/kern/kern_pmf.c
1016
input_activity_handler(device_t dv, devactive_t type)
sys/kern/kern_proc.c
1205
proc_free_pid_internal(pid_t pid, uintptr_t type __diagused)
sys/kern/kern_proc.c
1213
KASSERT(PT_GET_TYPE(pt->pt_slot) == type);
sys/kern/kern_proc.c
2078
int type, op, arg, error;
sys/kern/kern_proc.c
2091
type = rnode->sysctl_num;
sys/kern/kern_proc.c
2093
if (type == KERN_PROC) {
sys/kern/kern_proc.c
2247
(type == KERN_PROC || elem_count > 0)) {
sys/kern/kern_proc.c
2250
if (type == KERN_PROC) {
sys/kern/kern_proc.c
2359
int type, error;
sys/kern/kern_proc.c
2368
type = name[1];
sys/kern/kern_proc.c
2370
switch (type) {
sys/kern/kern_proc.c
2404
if (type == KERN_PROC_ARGV || type == KERN_PROC_NARGV)
sys/kern/kern_proc.c
2407
else if (type == KERN_PROC_ENV || type == KERN_PROC_NENV)
sys/kern/kern_proc.c
2418
if (type == KERN_PROC_NARGV || type == KERN_PROC_NENV)
sys/kern/kern_proc.c
2444
if (type == KERN_PROC_NARGV || type == KERN_PROC_NENV) {
sys/kern/kern_proc.c
2447
if (type == KERN_PROC_NARGV)
sys/kern/kern_proc.c
2457
error = copy_procargs(p, type, oldlenp,
sys/kern/kern_sdt.c
110
printf("%s ", (*argtype)->type);
sys/kern/kern_sysctl.c
1033
if (type != CTLTYPE_NODE) {
sys/kern/kern_sysctl.c
1098
if (type != CTLTYPE_NODE &&
sys/kern/kern_sysctl.c
1110
if (l != NULL && own == NULL && type != CTLTYPE_NODE &&
sys/kern/kern_sysctl.c
1188
node->sysctl_flags = SYSCTL_VERSION|type|flags; /* XXX other trees */
sys/kern/kern_sysctl.c
1197
switch (type) {
sys/kern/kern_sysctl.c
1971
int flags, int type, const char *namep, const char *descr,
sys/kern/kern_sysctl.c
1998
flags = SYSCTL_VERSION|SYSCTL_TYPE(type)|SYSCTL_FLAGS(flags);
sys/kern/kern_sysctl.c
2042
if (type == CTLTYPE_NODE) {
sys/kern/kern_sysctl.c
2049
switch (type) {
sys/kern/kern_sysctl.c
727
int error, ni, at, nm, type, nsz, sz, flags, anum, v;
sys/kern/kern_sysctl.c
841
type = SYSCTL_TYPE(nnode.sysctl_flags);
sys/kern/kern_sysctl.c
904
type != CTLTYPE_INT && type != CTLTYPE_QUAD && type != CTLTYPE_BOOL)
sys/kern/kern_sysctl.c
912
switch (type) {
sys/kern/kern_veriexec.c
1098
if (prop_dictionary_get_uint8(dict, "entry-type", &vfe->type) == FALSE)
sys/kern/kern_veriexec.c
1099
vfe->type = 0;
sys/kern/kern_veriexec.c
1103
extra_flags = vfe->type & ~(VERIEXEC_DIRECT |
sys/kern/kern_veriexec.c
1112
if (!(vfe->type & (VERIEXEC_DIRECT | VERIEXEC_INDIRECT |
sys/kern/kern_veriexec.c
1114
vfe->type |= VERIEXEC_DIRECT;
sys/kern/kern_veriexec.c
1124
(vfe->type & VERIEXEC_UNTRUSTED)) {
sys/kern/kern_veriexec.c
1142
if (vfe->type == ovfe->type &&
sys/kern/kern_veriexec.c
1224
prop_dictionary_set_uint8(rdict, "entry-type", vfe->type);
sys/kern/kern_veriexec.c
1227
prop_string_create_copy(vfe->ops->type));
sys/kern/kern_veriexec.c
249
ops->type = fp_type;
sys/kern/kern_veriexec.c
394
if (strcasecmp(name, ops->type) == 0)
sys/kern/kern_veriexec.c
586
(vfe->type & VERIEXEC_UNTRUSTED))
sys/kern/kern_veriexec.c
644
if (!(vfe->type & flag)) {
sys/kern/kern_veriexec.c
83
const char *type;
sys/kern/kern_veriexec.c
96
u_char type; /* Entry type. */
sys/kern/kgdb_stub.c
342
kgdb_trap(int type, db_regs_t *regs)
sys/kern/kgdb_stub.c
349
kgdb_entry_notice(type, regs);
sys/kern/kgdb_stub.c
364
type, (void*)PC_REGS(regs));
sys/kern/kgdb_stub.c
390
if (!IS_BREAKPOINT_TRAP(type, 0)) {
sys/kern/kgdb_stub.c
409
snprintf(buffer, sizeof(buffer), "S%02x", kgdb_signal(type));
sys/kern/kgdb_stub.c
438
kgdb_signal(type));
sys/kern/subr_asan.c
1154
kasan_dma_load(bus_dmamap_t map, void *buf, bus_size_t buflen, int type)
sys/kern/subr_asan.c
1158
map->dm_buftype = type;
sys/kern/subr_autoconf.c
3706
device_active(device_t dev, devactive_t type)
sys/kern/subr_autoconf.c
3716
(*dev->dv_activity_handlers[i])(dev, type);
sys/kern/subr_device.c
180
new_impl->type = super->type;
sys/kern/subr_device.c
482
args->type = objtype;
sys/kern/subr_device.c
484
switch (args->type) {
sys/kern/subr_device.c
55
return handlep->impl->type != DEVHANDLE_TYPE_INVALID;
sys/kern/subr_device.c
598
size_t buflen, prop_type_t type)
sys/kern/subr_device.c
604
.reqtype = type,
sys/kern/subr_device.c
608
KASSERT(type == PROP_TYPE_DATA || type == PROP_TYPE_STRING);
sys/kern/subr_device.c
641
prop_type_t type)
sys/kern/subr_device.c
645
.reqtype = type,
sys/kern/subr_device.c
650
KASSERT(type == PROP_TYPE_DATA || type == PROP_TYPE_STRING);
sys/kern/subr_device.c
776
return args.type;
sys/kern/subr_device.c
81
return handle.impl->type;
sys/kern/subr_disk.c
701
disk_set_info(device_t dev, struct disk *dk, const char *type)
sys/kern/subr_disk.c
767
if (type)
sys/kern/subr_disk.c
768
prop_dictionary_set_string_nocopy(disk_info, "type", type);
sys/kern/subr_evcnt.c
182
evcnt_attach_dynamic_nozero(struct evcnt *ev, int type,
sys/kern/subr_evcnt.c
186
ev->ev_type = type;
sys/kern/subr_evcnt.c
197
evcnt_attach_dynamic(struct evcnt *ev, int type, const struct evcnt *parent,
sys/kern/subr_evcnt.c
202
evcnt_attach_dynamic_nozero(ev, type, parent, group, name);
sys/kern/subr_iostat.c
141
iostat_alloc(int32_t type, void *parent, const char *name)
sys/kern/subr_iostat.c
146
stats->io_type = type;
sys/kern/subr_kcov.c
628
trace_cmp(uint64_t type, uint64_t arg1, uint64_t arg2, intptr_t pc)
sys/kern/subr_kcov.c
667
kd->buf[idx * 4 + 1] = type;
sys/kern/subr_kcov.c
760
uint64_t i, nbits, ncases, type;
sys/kern/subr_kcov.c
769
type = KCOV_CMP_SIZE(0);
sys/kern/subr_kcov.c
772
type = KCOV_CMP_SIZE(1);
sys/kern/subr_kcov.c
775
type = KCOV_CMP_SIZE(2);
sys/kern/subr_kcov.c
778
type = KCOV_CMP_SIZE(3);
sys/kern/subr_kcov.c
783
type |= KCOV_CMP_CONST;
sys/kern/subr_kcov.c
786
trace_cmp(type, cases[i + 2], val, pc);
sys/kern/subr_msan.c
124
kmsan_orig_name(int type)
sys/kern/subr_msan.c
126
switch (type) {
sys/kern/subr_msan.c
156
int type;
sys/kern/subr_msan.c
1604
kmsan_dma_load(bus_dmamap_t map, void *buf, bus_size_t buflen, int type)
sys/kern/subr_msan.c
1608
map->dm_buftype = type;
sys/kern/subr_msan.c
174
kmsan_md_orig_decode(*orig, &type, &ptr);
sys/kern/subr_msan.c
175
typename = kmsan_orig_name(type);
sys/kern/subr_msan.c
229
int type;
sys/kern/subr_msan.c
244
kmsan_md_orig_decode(orig, &type, &ptr);
sys/kern/subr_msan.c
245
typename = kmsan_orig_name(type);
sys/kern/subr_msan.c
515
kmsan_orig(void *addr, size_t size, int type, uintptr_t pc)
sys/kern/subr_msan.c
519
orig = kmsan_md_orig_encode(type, pc);
sys/kern/subr_vmem.c
1620
bt_type_string(int type)
sys/kern/subr_vmem.c
1629
if (type >= __arraycount(table)) {
sys/kern/subr_vmem.c
1632
return table[type];
sys/kern/systrace_args.c
1019
iarg[1] = SCARG(p, type); /* int */
sys/kern/systrace_args.c
175
uarg[0] = (intptr_t) SCARG(p, type); /* const char * */
sys/kern/systrace_args.c
2957
iarg[1] = SCARG(p, type); /* int */
sys/kern/systrace_args.c
3065
uarg[0] = (intptr_t) SCARG(p, type); /* const char * */
sys/kern/systrace_args.c
3781
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/kern/systrace_args.c
3790
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/kern/systrace_args.c
3799
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/kern/systrace_args.c
3807
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/kern/systrace_args.c
3816
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/kern/systrace_args.c
3825
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/kern/systrace_args.c
3834
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/kern/systrace_args.c
3843
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/kern/systrace_args.c
3852
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/kern/systrace_args.c
3860
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/kern/systrace_args.c
3868
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/kern/systrace_args.c
3877
iarg[1] = SCARG(p, type); /* acl_type_t */
sys/kern/systrace_args.c
715
iarg[1] = SCARG(p, type); /* int */
sys/kern/uipc_domain.c
186
pffindtype(int family, int type)
sys/kern/uipc_domain.c
196
if (pr->pr_type && pr->pr_type == type)
sys/kern/uipc_domain.c
203
pffindproto(int family, int protocol, int type)
sys/kern/uipc_domain.c
217
if ((pr->pr_protocol == protocol) && (pr->pr_type == type))
sys/kern/uipc_domain.c
220
if (type == SOCK_RAW && pr->pr_type == SOCK_RAW &&
sys/kern/uipc_domain.c
561
int error, elem_count, pf, type;
sys/kern/uipc_domain.c
589
type = oname[2];
sys/kern/uipc_domain.c
610
if (so->so_type != type)
sys/kern/uipc_mbuf.c
2205
mowner_init(struct mbuf *m, int type)
sys/kern/uipc_mbuf.c
2211
m->m_owner = mo = &unknown_mowners[type];
sys/kern/uipc_mbuf.c
2356
m_tag_get(int type, int len, int wait)
sys/kern/uipc_mbuf.c
2365
t->m_tag_id = type;
sys/kern/uipc_mbuf.c
2413
m_tag_find(const struct mbuf *m, int type)
sys/kern/uipc_mbuf.c
2421
if (p->m_tag_id == type)
sys/kern/uipc_mbuf.c
394
mbstat_type_add(int type, int diff)
sys/kern/uipc_mbuf.c
401
mb->m_mtypes[type] += diff;
sys/kern/uipc_mbuf.c
535
m_get(int how, int type)
sys/kern/uipc_mbuf.c
539
KASSERT(type != MT_FREE);
sys/kern/uipc_mbuf.c
551
mbstat_type_add(type, 1);
sys/kern/uipc_mbuf.c
553
mowner_init(m, type);
sys/kern/uipc_mbuf.c
555
m->m_type = type;
sys/kern/uipc_mbuf.c
566
m_gethdr(int how, int type)
sys/kern/uipc_mbuf.c
570
m = m_get(how, type);
sys/kern/uipc_mbuf.c
594
m_get_n(int how, int type, size_t alignbytes, size_t nbytes)
sys/kern/uipc_mbuf.c
600
if ((m = m_get(how, type)) == NULL)
sys/kern/uipc_mbuf.c
616
m_gethdr_n(int how, int type, size_t alignbytes, size_t nbytes)
sys/kern/uipc_mbuf.c
622
if ((m = m_gethdr(how, type)) == NULL)
sys/kern/uipc_mbuf.c
667
m_getcl(int how, int type, int flags)
sys/kern/uipc_mbuf.c
672
mp = m_gethdr(how, type);
sys/kern/uipc_mbuf.c
674
mp = m_get(how, type);
sys/kern/uipc_socket.c
1168
int atomic, flags, error, s, type;
sys/kern/uipc_socket.c
1179
type = 0;
sys/kern/uipc_socket.c
1402
type = mtod(cm, struct cmsghdr *)->cmsg_type;
sys/kern/uipc_socket.c
1405
type == SCM_RIGHTS) {
sys/kern/uipc_socket.c
1425
type == SCM_RIGHTS) {
sys/kern/uipc_socket.c
1442
type = m->m_type;
sys/kern/uipc_socket.c
1443
if (type == MT_OOBDATA)
sys/kern/uipc_socket.c
1457
if (type != MT_OOBDATA)
sys/kern/uipc_socket.c
1459
} else if (type == MT_OOBDATA) {
sys/kern/uipc_socket.c
492
socreate(int dom, struct socket **aso, int type, int proto, struct lwp *l,
sys/kern/uipc_socket.c
502
KAUTH_REQ_NETWORK_SOCKET_OPEN, KAUTH_ARG(dom), KAUTH_ARG(type),
sys/kern/uipc_socket.c
508
prp = pffindproto(dom, proto, type);
sys/kern/uipc_socket.c
510
prp = pffindtype(dom, type);
sys/kern/uipc_socket.c
516
if (proto == 0 && type != 0)
sys/kern/uipc_socket.c
522
if (prp->pr_type != type)
sys/kern/uipc_socket.c
526
so->so_type = type;
sys/kern/uipc_socket.c
586
fsocreate(int domain, struct socket **sop, int type, int proto, int *fdout,
sys/kern/uipc_socket.c
594
flags = type & SOCK_FLAGS_MASK;
sys/kern/uipc_socket.c
595
type &= ~SOCK_FLAGS_MASK;
sys/kern/uipc_socket.c
596
error = socreate(domain, &so, type, proto, l, lockso);
sys/kern/uipc_socket2.c
1423
sbcreatecontrol1(void **p, int size, int type, int level, int flags)
sys/kern/uipc_socket2.c
1451
cp->cmsg_type = type;
sys/kern/uipc_socket2.c
1460
sbcreatecontrol(void *p, int size, int type, int level)
sys/kern/uipc_socket2.c
1465
m = sbcreatecontrol1(&v, size, type, level, M_DONTWAIT);
sys/kern/uipc_syscalls.c
119
error = fsocreate(SCARG(uap, domain), NULL, SCARG(uap, type),
sys/kern/uipc_syscalls.c
1554
int type)
sys/kern/uipc_syscalls.c
1564
if (buflen > (type == MT_SONAME ? UCHAR_MAX : PAGE_SIZE))
sys/kern/uipc_syscalls.c
1570
if (type == MT_SONAME && buflen <= 2)
sys/kern/uipc_syscalls.c
1574
m = m_get(M_WAIT, type);
sys/kern/uipc_syscalls.c
1594
switch (type) {
sys/kern/uipc_syscalls.c
1596
ktrkuser(mbuftypes[type], mtod(m, void *), buflen);
sys/kern/uipc_syscalls.c
1622
ktrkuser(mbuftypes[type], cmsg, cmsg->cmsg_len);
sys/kern/uipc_syscalls.c
425
int flags = SCARG(uap, type) & SOCK_FLAGS_MASK;
sys/kern/uipc_syscalls.c
426
int type = SCARG(uap, type) & ~SOCK_FLAGS_MASK;
sys/kern/uipc_syscalls.c
430
error = fsocreate(domain, &so1, type|flags, proto, &fd, &fp1, NULL);
sys/kern/uipc_syscalls.c
435
error = fsocreate(domain, &so2, type|flags, proto, &fd, &fp2, so1);
sys/kern/uipc_syscalls.c
442
if (error == 0 && type == SOCK_DGRAM) {
sys/kern/vfs_acl.c
126
acl_copyin(const void *user_acl, struct acl *kernel_acl, acl_type_t type)
sys/kern/vfs_acl.c
131
switch (type) {
sys/kern/vfs_acl.c
150
acl_copyout(const struct acl *kernel_acl, void *user_acl, acl_type_t type)
sys/kern/vfs_acl.c
156
switch (type) {
sys/kern/vfs_acl.c
188
acl_type_unold(int type)
sys/kern/vfs_acl.c
190
switch (type) {
sys/kern/vfs_acl.c
198
return type;
sys/kern/vfs_acl.c
214
vacl_set_acl(struct lwp *l, struct vnode *vp, acl_type_t type,
sys/kern/vfs_acl.c
221
error = acl_copyin(aclp, inkernelacl, type);
sys/kern/vfs_acl.c
225
error = VOP_SETACL(vp, acl_type_unold(type), inkernelacl, l->l_cred);
sys/kern/vfs_acl.c
236
vacl_get_acl(struct lwp *l, struct vnode *vp, acl_type_t type,
sys/kern/vfs_acl.c
244
error = VOP_GETACL(vp, acl_type_unold(type), inkernelacl, l->l_cred);
sys/kern/vfs_acl.c
248
error = acl_copyout(inkernelacl, aclp, type);
sys/kern/vfs_acl.c
257
vacl_delete(struct lwp *l, struct vnode *vp, acl_type_t type)
sys/kern/vfs_acl.c
262
error = VOP_SETACL(vp, acl_type_unold(type), 0, l->l_cred);
sys/kern/vfs_acl.c
273
vacl_aclcheck(struct lwp *l, struct vnode *vp, acl_type_t type,
sys/kern/vfs_acl.c
280
error = acl_copyin(aclp, inkernelacl, type);
sys/kern/vfs_acl.c
283
error = VOP_ACLCHECK(vp, acl_type_unold(type), inkernelacl,
sys/kern/vfs_acl.c
303
return kern___acl_get_path(l, SCARG(uap, path), SCARG(uap, type),
sys/kern/vfs_acl.c
315
return kern___acl_get_path(l, SCARG(uap, path), SCARG(uap, type),
sys/kern/vfs_acl.c
320
kern___acl_get_path(struct lwp *l, const char *path, acl_type_t type,
sys/kern/vfs_acl.c
328
error = vacl_get_acl(l, path_vp, type, aclp);
sys/kern/vfs_acl.c
342
return kern___acl_set_path(l, SCARG(uap, path), SCARG(uap, type),
sys/kern/vfs_acl.c
354
return kern___acl_set_path(l, SCARG(uap, path), SCARG(uap, type),
sys/kern/vfs_acl.c
360
acl_type_t type, const struct acl *aclp, namei_simple_flags_t flags)
sys/kern/vfs_acl.c
367
error = vacl_set_acl(l, path_vp, type, aclp);
sys/kern/vfs_acl.c
384
error = vacl_get_acl(l, fp->f_vnode, SCARG(uap, type),
sys/kern/vfs_acl.c
403
error = vacl_set_acl(l, fp->f_vnode, SCARG(uap, type),
sys/kern/vfs_acl.c
418
return kern___acl_delete_path(l, SCARG(uap, path), SCARG(uap, type),
sys/kern/vfs_acl.c
430
return kern___acl_delete_path(l, SCARG(uap, path), SCARG(uap, type),
sys/kern/vfs_acl.c
436
acl_type_t type, namei_simple_flags_t flags)
sys/kern/vfs_acl.c
443
error = vacl_delete(l, path_vp, type);
sys/kern/vfs_acl.c
461
error = vacl_delete(l, fp->f_vnode, SCARG(uap, type));
sys/kern/vfs_acl.c
475
return kern___acl_aclcheck_path(l, SCARG(uap, path), SCARG(uap, type),
sys/kern/vfs_acl.c
487
SCARG(uap, type), SCARG(uap, aclp), NSM_NOFOLLOW_NOEMULROOT);
sys/kern/vfs_acl.c
491
kern___acl_aclcheck_path(struct lwp *l, const char *path, acl_type_t type,
sys/kern/vfs_acl.c
499
error = vacl_aclcheck(l, path_vp, type, aclp);
sys/kern/vfs_acl.c
518
error = vacl_aclcheck(l, fp->f_vnode, SCARG(uap, type),
sys/kern/vfs_lockf.c
234
lf_findoverlap(struct lockf *lf, struct lockf *lock, int type,
sys/kern/vfs_lockf.c
249
if (((type == SELF) && lf->lf_id != lock->lf_id) ||
sys/kern/vfs_lockf.c
250
((type == OTHERS) && lf->lf_id == lock->lf_id)) {
sys/kern/vfs_lockf.c
277
if ((type & SELF) && end != -1 && lf->lf_start > end)
sys/kern/vfs_mount.c
1548
makefstype(const char *type)
sys/kern/vfs_mount.c
1552
for (rv = 0; *type; type++) {
sys/kern/vfs_mount.c
1554
rv ^= *type;
sys/kern/vfs_mount.c
1560
mountlist_alloc(enum mountlist_type type, struct mount *mp)
sys/kern/vfs_mount.c
1566
me->me_type = type;
sys/kern/vfs_subr.c
546
vfinddev(dev_t dev, enum vtype type, vnode_t **vpp)
sys/kern/vfs_subr.c
549
return (spec_node_lookup_by_dev(type, dev, VDEAD_NOWAIT, vpp) == 0);
sys/kern/vfs_subr.c
557
vdevgone(int maj, int minl, int minh, enum vtype type)
sys/kern/vfs_subr.c
569
switch (type) {
sys/kern/vfs_subr.c
577
panic("invalid specnode type: %d", type);
sys/kern/vfs_subr.c
584
while (spec_node_lookup_by_dev(type, dev, 0, &vp) == 0) {
sys/kern/vfs_syscalls.c
310
int type;
sys/kern/vfs_syscalls.c
319
type = F_FLOCK;
sys/kern/vfs_syscalls.c
321
type |= F_WAIT;
sys/kern/vfs_syscalls.c
323
error = VOP_ADVLOCK(vp, fp, F_SETLK, &lf, type);
sys/kern/vfs_syscalls.c
558
return do_sys_mount(l, SCARG(uap, type), UIO_USERSPACE,
sys/kern/vfs_syscalls.c
565
do_sys_mount(struct lwp *l, const char *type, enum uio_seg type_seg,
sys/kern/vfs_syscalls.c
590
error = mount_get_vfsops(type, type_seg, &vfsops);
sys/kern/vfs_trans.c
502
const enum fstrans_lock_type type)
sys/kern/vfs_trans.c
509
if (fmi->fmi_state == FSTRANS_SUSPENDING && type == FSTRANS_LAZY)
sys/kern/vfs_vnode.c
1267
enum vtype type;
sys/kern/vfs_vnode.c
1284
type = vp->v_type;
sys/kern/vfs_vnode.c
1287
while (spec_node_lookup_by_dev(type, dev, VDEAD_NOWAIT, &vq)
sys/kern/vnode_if.c
2002
acl_type_t type,
sys/kern/vnode_if.c
2012
a.a_type = type;
sys/kern/vnode_if.c
2038
acl_type_t type,
sys/kern/vnode_if.c
2048
a.a_type = type;
sys/kern/vnode_if.c
2076
acl_type_t type,
sys/kern/vnode_if.c
2086
a.a_type = type;
sys/lib/libsa/cd9660.c
167
if (isonum_711(vd->type) == ISO_VD_END)
sys/lib/libsa/cd9660.c
169
if (isonum_711(vd->type) == ISO_VD_PRIMARY)
sys/lib/libsa/ls.c
174
uint32_t ino, const char *type)
sys/lib/libsa/ls.c
183
printf("%d: %.*s (%s)\n", ino, (int)namelen, name, type);
sys/lib/libsa/ls.c
188
n->e_type = type;
sys/miscfs/kernfs/kernfs.h
175
#define KERNFS_INITENTRY(dkt, type, name, data, tag, vtype, mode) do { \
sys/miscfs/kernfs/kernfs.h
176
(dkt)->dkt_kt.kt_type = (type); \
sys/miscfs/kernfs/kernfs_vnops.c
283
kernfs_try_fileop(kfstype type, kfsfileop fileop, void *v, int error)
sys/miscfs/kernfs/kernfs_vnops.c
287
skf.kf_type = type;
sys/miscfs/kernfs/kernfs_vnops.c
296
kernfs_try_xread(kfstype type, const struct kernfs_node *kfs, char **bfp,
sys/miscfs/kernfs/kernfs_vnops.c
301
skf.kf_type = type;
sys/miscfs/kernfs/kernfs_vnops.c
310
kernfs_try_xwrite(kfstype type, const struct kernfs_node *kfs, char *bf,
sys/miscfs/kernfs/kernfs_vnops.c
315
skf.kf_type = type;
sys/miscfs/procfs/procfs.h
203
#define PROCFS_FILENO(pid, type, fd) procfs_fileno(pid, type, fd)
sys/miscfs/procfs/procfs.h
205
#define PROCFS_TYPE(type) ((type) % PFSlast)
sys/miscfs/procfs/procfs_subr.c
128
pfstype type, int fd)
sys/miscfs/procfs/procfs_subr.c
133
key.pk_type = type;
sys/miscfs/procfs/procfs_vnops.c
1079
pfstype type;
sys/miscfs/procfs/procfs_vnops.c
1126
type = PFScurproc;
sys/miscfs/procfs/procfs_vnops.c
1130
type = PFSself;
sys/miscfs/procfs/procfs_vnops.c
1134
type = PFSproc;
sys/miscfs/procfs/procfs_vnops.c
1139
error = procfs_allocvp(dvp->v_mount, vpp, vnpid, type, -1);
sys/miscfs/specfs/spec_vnops.c
436
spec_node_lookup_by_dev(enum vtype type, dev_t dev, int flags, vnode_t **vpp)
sys/miscfs/specfs/spec_vnops.c
443
if (type == vp->v_type && dev == vp->v_rdev) {
sys/miscfs/specfs/spec_vnops.c
476
if (type == VBLK && vp->v_specnode->sn_dev->sd_bdevvp != NULL) {
sys/net/agr/ieee8023_tlv.h
46
#define TLV_SET(tlv, type, length) \
sys/net/agr/ieee8023_tlv.h
48
(tlv)->tlv_type = (type); \
sys/net/ether_sw_offload.c
101
switch (type = ntohs(ep->ether_type)) {
sys/net/ether_sw_offload.c
113
__func__, ifp->if_xname, type, flags);
sys/net/ether_sw_offload.c
82
uint16_t type;
sys/net/if.c
368
if_alloc(u_char type)
sys/net/if_arcsubr.c
487
arc_isphds(uint8_t type)
sys/net/if_arcsubr.c
489
return (type != ARCTYPE_IP_OLD &&
sys/net/if_arcsubr.c
490
type != ARCTYPE_ARP_OLD &&
sys/net/if_arcsubr.c
491
type != ARCTYPE_DIAGNOSE);
sys/net/if_gre.c
557
int flags, len, error, type;
sys/net/if_gre.c
566
type = 0;
sys/net/if_gre.c
644
type = m->m_type;
sys/net/if_gre.c
645
if (type == MT_OOBDATA)
sys/net/if_gre.c
657
if (type != MT_OOBDATA)
sys/net/if_gre.c
659
} else if (type == MT_OOBDATA)
sys/net/if_media.h
161
#define IFM_MAKEWORD(type, subtype, options, instance) \
sys/net/if_media.h
162
((type) | (subtype) | (options) | ((instance) << IFM_ISHIFT))
sys/net/if_ppp.c
1164
int type;
sys/net/if_ppp.c
1179
type = sl_compress_tcp(mp, ip, sc->sc_comp,
sys/net/if_ppp.c
1181
switch (type) {
sys/net/if_spppsubr.c
1484
sppp_cp_send(struct sppp *sp, u_short proto, u_char type,
sys/net/if_spppsubr.c
1517
lh->type = type;
sys/net/if_spppsubr.c
1529
cpname = sppp_cp_type_name(tbuf, sizeof(tbuf), lh->type);
sys/net/if_spppsubr.c
1681
cpname = sppp_cp_type_name(tbuf, sizeof(tbuf), h->type);
sys/net/if_spppsubr.c
1694
switch (h->type) {
sys/net/if_spppsubr.c
1752
cpname = sppp_cp_type_name(tbuf, sizeof(tbuf), h->type);
sys/net/if_spppsubr.c
1777
cpname = sppp_cp_type_name(tbuf, sizeof(tbuf), h->type);
sys/net/if_spppsubr.c
1860
cp->name, h->type);
sys/net/if_spppsubr.c
2094
enum cp_rcr_type type, uint8_t ident, size_t msglen, void *msg)
sys/net/if_spppsubr.c
2099
if (type == CP_RCR_ERR) {
sys/net/if_spppsubr.c
2103
} else if (type == CP_RCR_ACK) {
sys/net/if_spppsubr.c
2145
} else if (type == CP_RCR_NAK || type == CP_RCR_REJ) {
sys/net/if_spppsubr.c
2146
ctype = type == CP_RCR_NAK ? CONF_NAK : CONF_REJ;
sys/net/if_spppsubr.c
2196
enum cp_rcr_type type;
sys/net/if_spppsubr.c
2213
if (h->type != CONF_REQ) {
sys/net/if_spppsubr.c
2221
type = (cp->parse_confreq)(sp, h, len,
sys/net/if_spppsubr.c
2226
type = scp->rcr_type;
sys/net/if_spppsubr.c
2232
sppp_rcr_update_state(cp, sp, type, ident, rlen, (void *)buf);
sys/net/if_spppsubr.c
2303
switch (h->type) {
sys/net/if_spppsubr.c
241
uint8_t type;
sys/net/if_spppsubr.c
248
uint32_t type;
sys/net/if_spppsubr.c
2609
enum cp_rcr_type type;
sys/net/if_spppsubr.c
2621
type = CP_RCR_NONE;
sys/net/if_spppsubr.c
2622
type = 0;
sys/net/if_spppsubr.c
2658
type = CP_RCR_ERR;
sys/net/if_spppsubr.c
2757
type = CP_RCR_REJ;
sys/net/if_spppsubr.c
2935
type = CP_RCR_REJ;
sys/net/if_spppsubr.c
2937
type = CP_RCR_NAK;
sys/net/if_spppsubr.c
2940
type = CP_RCR_ACK;
sys/net/if_spppsubr.c
2951
if (type == CP_RCR_ERR || type == CP_RCR_DROP) {
sys/net/if_spppsubr.c
2960
return type;
sys/net/if_spppsubr.c
3513
enum cp_rcr_type type;
sys/net/if_spppsubr.c
3522
type = CP_RCR_NONE;
sys/net/if_spppsubr.c
3557
type = CP_RCR_ERR;
sys/net/if_spppsubr.c
3601
type = CP_RCR_REJ;
sys/net/if_spppsubr.c
3692
type = CP_RCR_NAK;
sys/net/if_spppsubr.c
3714
type = CP_RCR_NAK;
sys/net/if_spppsubr.c
3716
type = CP_RCR_ACK;
sys/net/if_spppsubr.c
3726
if (type == CP_RCR_ERR || type == CP_RCR_DROP) {
sys/net/if_spppsubr.c
3735
return type;
sys/net/if_spppsubr.c
4096
enum cp_rcr_type type;
sys/net/if_spppsubr.c
4106
type = CP_RCR_NONE;
sys/net/if_spppsubr.c
4142
type = CP_RCR_ERR;
sys/net/if_spppsubr.c
4187
type = CP_RCR_REJ;
sys/net/if_spppsubr.c
4201
type = CP_RCR_ACK;
sys/net/if_spppsubr.c
4228
type = CP_RCR_ACK;
sys/net/if_spppsubr.c
4248
type = CP_RCR_REJ;
sys/net/if_spppsubr.c
4256
type = CP_RCR_NAK;
sys/net/if_spppsubr.c
4261
int ctype = type == CP_RCR_REJ ? CONF_REJ : CONF_NAK;
sys/net/if_spppsubr.c
4281
if (type != CP_RCR_ACK) {
sys/net/if_spppsubr.c
4284
ctype = type == CP_RCR_REJ ?
sys/net/if_spppsubr.c
4292
if (type == CP_RCR_ACK)
sys/net/if_spppsubr.c
4296
if (type == CP_RCR_ACK) {
sys/net/if_spppsubr.c
4305
if (type == CP_RCR_ERR || type == CP_RCR_DROP) {
sys/net/if_spppsubr.c
4314
return type;
sys/net/if_spppsubr.c
4652
switch (h->type) {
sys/net/if_spppsubr.c
4669
sizeof(abuf), PPP_CHAP, h->type);
sys/net/if_spppsubr.c
4684
sizeof(abuf), PPP_CHAP, h->type);
sys/net/if_spppsubr.c
4795
sizeof(abuf), PPP_CHAP, h->type);
sys/net/if_spppsubr.c
4835
sizeof(abuf), PPP_CHAP, h->type);
sys/net/if_spppsubr.c
4886
h->type, h->ident, ntohs(h->len));
sys/net/if_spppsubr.c
5077
switch (h->type) {
sys/net/if_spppsubr.c
5093
sizeof(abuf), PPP_PAP, h->type);
sys/net/if_spppsubr.c
5106
sizeof(abuf), PPP_PAP, h->type);
sys/net/if_spppsubr.c
5202
h->type, h->ident, ntohs(h->len));
sys/net/if_spppsubr.c
5278
unsigned int type, unsigned int id,
sys/net/if_spppsubr.c
5313
lh->type = type;
sys/net/if_spppsubr.c
5342
sizeof(abuf), cp->proto, lh->type);
sys/net/if_spppsubr.c
5435
u_char type, mlen;
sys/net/if_spppsubr.c
5443
type = cp->proto == PPP_CHAP ? CHAP_SUCCESS : PAP_ACK;
sys/net/if_spppsubr.c
5449
type = cp->proto == PPP_CHAP ? CHAP_FAILURE : PAP_NAK;
sys/net/if_spppsubr.c
5459
sppp_auth_send(cp, sp, type, ident, mlen, (const u_char *)msg, 0);
sys/net/if_spppsubr.c
6258
sppp_cp_type_name(char *buf, size_t buflen, u_char type)
sys/net/if_spppsubr.c
6261
switch (type) {
sys/net/if_spppsubr.c
6275
snprintf(buf, buflen, "0x%02x", type);
sys/net/if_spppsubr.c
6280
sppp_auth_type_name(char *buf, size_t buflen, u_short proto, u_char type)
sys/net/if_spppsubr.c
6286
switch (type) {
sys/net/if_spppsubr.c
6296
switch (type) {
sys/net/if_spppsubr.c
6310
snprintf(buf, buflen, "%s(%#x) 0x%02x", name, proto, type);
sys/net/if_spppsubr.c
6495
sppp_screply(const struct cp *cp, struct sppp *sp, u_char type,
sys/net/if_spppsubr.c
6502
switch (type) {
sys/net/if_spppsubr.c
6515
cpname = sppp_cp_type_name(tbuf, sizeof(tbuf), type);
sys/net/if_spppsubr.c
6519
sppp_cp_send(sp, cp->proto, type, ident, msglen, msg);
sys/net/link_proto.c
460
sockaddr_dl_alloc(uint16_t ifindex, uint8_t type,
sys/net/link_proto.c
473
if (sockaddr_dl_init(satosdl(sa), len, ifindex, type, name, namelen,
sys/net/link_proto.c
484
uint8_t type, const void *name, uint8_t namelen, const void *addr,
sys/net/link_proto.c
502
sdl->sdl_type = type;
sys/net/nd.c
181
int type = ND_TIMER_RETRANS;
sys/net/nd.c
183
type = ND_TIMER_RETRANS_BACKOFF;
sys/net/nd.c
185
type = ND_TIMER_GC;
sys/net/nd.c
186
nd_set_timer(ln, type);
sys/net/nd.c
251
nd_set_timer(struct llentry *ln, int type)
sys/net/nd.c
262
switch (type) {
sys/net/npf/npf_alg_icmp.c
127
npfa_icmp4_inspect(const int type, npf_cache_t *npc, bool *hasqid)
sys/net/npf/npf_alg_icmp.c
132
switch (type) {
sys/net/npf/npf_alg_icmp.c
160
npfa_icmp6_inspect(const int type, npf_cache_t *npc, bool *hasqid)
sys/net/npf/npf_alg_icmp.c
165
switch (type) {
sys/net/npf/npf_alg_icmp.c
270
#define SWAP(type, x, y) { type tmp = x; x = y; y = tmp; }
sys/net/npf/npf_ctl.c
150
int type;
sys/net/npf/npf_ctl.c
163
type = dnvlist_get_number(req, "type", UINT64_MAX);
sys/net/npf/npf_ctl.c
164
error = npf_table_check(tblset, name, tid, type, replacing);
sys/net/npf/npf_ctl.c
172
if (type == NPF_TABLE_CONST && (blob == NULL || size == 0)) {
sys/net/npf/npf_ctl.c
178
t = npf_table_create(name, (unsigned)tid, type, blob, size);
sys/net/npf/npf_ctl.c
358
int type;
sys/net/npf/npf_ctl.c
360
type = dnvlist_get_number(req, "code-type", UINT64_MAX);
sys/net/npf/npf_ctl.c
361
if (type != NPF_CODE_BPF) {
sys/net/npf/npf_ctl.c
378
npf_rule_setcode(rl, type, bc, clen);
sys/net/npf/npf_ctl.c
58
int type, error, val;
sys/net/npf/npf_ctl.c
67
while ((name = nvlist_next(params, &type, &cookie)) != NULL) {
sys/net/npf/npf_ctl.c
68
if (type != NV_TYPE_NUMBER) {
sys/net/npf/npf_nat.c
382
npf_nat_which(const unsigned type, const npf_flow_t flow)
sys/net/npf/npf_nat.c
390
KASSERT(type == NPF_NATIN || type == NPF_NATOUT);
sys/net/npf/npf_nat.c
401
which = (type == NPF_NATOUT) ? flow : !flow;
sys/net/npf/npf_ruleset.c
729
npf_rule_setcode(npf_rule_t *rl, const int type, void *code, size_t size)
sys/net/npf/npf_ruleset.c
731
KASSERT(type == NPF_CODE_BPF);
sys/net/npf/npf_ruleset.c
733
rl->r_type = type;
sys/net/npf/npf_tableset.c
370
npf_table_create(const char *name, u_int tid, int type,
sys/net/npf/npf_tableset.c
378
switch (type) {
sys/net/npf/npf_tableset.c
414
t->t_type = type;
sys/net/npf/npf_tableset.c
465
uint64_t type, bool replacing)
sys/net/npf/npf_tableset.c
475
switch (type) {
sys/net/pfil.c
115
pfil_head_create(int type, void *key)
sys/net/pfil.c
119
if (pfil_head_get(type, key)) {
sys/net/pfil.c
123
ph->ph_type = type;
sys/net/pfil.c
155
pfil_head_get(int type, void *key)
sys/net/pfil.c
160
if (ph->ph_type == type && ph->ph_key == key)
sys/net/pktqueue.c
368
pktq_set_rps_hash_type(pktq_rps_hash_func_t *func, const char *type)
sys/net/pktqueue.c
371
if (strcmp(type, pktq_get_rps_hash_type(*func)) == 0)
sys/net/pktqueue.c
375
if (strcmp(type, pktq_rps_hash_tab[i].prh_type) == 0) {
sys/net/pktqueue.c
390
char type[PKTQ_RPS_HASH_NAME_LEN];
sys/net/pktqueue.c
395
strlcpy(type, pktq_get_rps_hash_type(*func), PKTQ_RPS_HASH_NAME_LEN);
sys/net/pktqueue.c
397
node.sysctl_data = &type;
sys/net/pktqueue.c
398
node.sysctl_size = sizeof(type);
sys/net/pktqueue.c
403
error = pktq_set_rps_hash_type(func, type);
sys/net/rtsock.c
119
rt_msg3(int type, struct rt_addrinfo *rtinfo, void *cpv, struct rt_walkarg *w,
sys/net/rtsock.c
122
return rt_msg2(type, rtinfo, cpv, w, lenp);
sys/net/rtsock.c
148
rt_clonedmsg(int type, const struct sockaddr *src, const struct sockaddr *dst,
sys/net/rtsock.c
162
if (type != RTM_MISS)
sys/net/rtsock.c
164
if (type == RTM_ADD || type == RTM_CHANGE)
sys/net/rtsock.c
173
rt_missmsg(type, &info, flags, 0);
sys/net/rtsock.c
275
sysctl_iflist(int af, struct rt_walkarg *w, int type)
sys/net/rtsock.c
285
switch (type) {
sys/net/rtsock.c
300
printf("%s: unsupported IFLIST type %d\n", __func__, type);
sys/net/rtsock.c
324
switch (type) {
sys/net/rtsock.c
362
switch (type) {
sys/net/rtsock_shared.c
1195
rt_getlen(int type)
sys/net/rtsock_shared.c
1202
switch (type) {
sys/net/rtsock_shared.c
1210
printf("%s: unsupported RTM type %d\n", __func__, type);
sys/net/rtsock_shared.c
1256
COMPATNAME(rt_msg1)(int type, struct rt_addrinfo *rtinfo, void *data, int datalen)
sys/net/rtsock_shared.c
1269
if ((len = rt_getlen(type)) == -1)
sys/net/rtsock_shared.c
1309
rtm->rtm_type = type;
sys/net/rtsock_shared.c
1330
rt_msg2(int type, struct rt_addrinfo *rtinfo, void *cpv, struct rt_walkarg *w,
sys/net/rtsock_shared.c
1339
if ((len = rt_getlen(type)) == -1)
sys/net/rtsock_shared.c
1387
rtm->rtm_type = type;
sys/net/rtsock_shared.c
1402
COMPATNAME(rt_missmsg)(int type, const struct rt_addrinfo *rtinfo, int flags,
sys/net/rtsock_shared.c
1410
COMPATCALL(rt_missmsg, (type, rtinfo, flags, error));
sys/net/rtsock_shared.c
1417
m = COMPATNAME(rt_msg1)(type, &info, &rtm, sizeof(rtm));
sys/net/rtsock_shared.c
1590
rt_makeifannouncemsg(struct ifnet *ifp, int type, int what,
sys/net/rtsock_shared.c
1600
return COMPATNAME(rt_msg1)(type, info, &ifan, sizeof(ifan));
sys/net/slcompress.c
428
sl_uncompress_tcp(u_char **bufp, int len, u_int type, struct slcompress *comp)
sys/net/slcompress.c
435
vjlen = sl_uncompress_tcp_core(cp, len, len, type, comp, &hdr, &hlen);
sys/net/slcompress.c
472
sl_uncompress_tcp_core(u_char *buf, int buflen, int total_len, u_int type,
sys/net/slcompress.c
483
switch (type) {
sys/net/zlib.c
199
# define fdopen(fd,type) _fdopen(fd,type)
sys/net80211/ieee80211_input.c
122
const struct ieee80211_frame *, const char *type, const char *fmt, ...);
sys/net80211/ieee80211_input.c
124
const struct ieee80211_frame *, const char *type, const char *fmt, ...);
sys/net80211/ieee80211_input.c
126
const u_int8_t mac[IEEE80211_ADDR_LEN], const char *type,
sys/net80211/ieee80211_input.c
3274
const char *type, const char *fmt, ...)
sys/net80211/ieee80211_input.c
3281
if (type != NULL)
sys/net80211/ieee80211_input.c
3282
printf("%s frame, ", type);
sys/net80211/ieee80211_input.c
3294
const char *type, const char *fmt, ...)
sys/net80211/ieee80211_input.c
3301
if (type != NULL)
sys/net80211/ieee80211_input.c
3302
printf("%s information element, ", type);
sys/net80211/ieee80211_input.c
3314
const char *type, const char *fmt, ...)
sys/net80211/ieee80211_input.c
3321
if (type != NULL)
sys/net80211/ieee80211_input.c
3322
printf("%s frame, ", type);
sys/net80211/ieee80211_input.c
514
#define HAS_SEQ(type) ((type & 0x4) == 0)
sys/net80211/ieee80211_input.c
517
u_int8_t dir, type;
sys/net80211/ieee80211_input.c
532
type = -1; /* undefined */
sys/net80211/ieee80211_input.c
566
type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
sys/net80211/ieee80211_input.c
603
else if (type == IEEE80211_FC0_TYPE_CTL)
sys/net80211/ieee80211_input.c
616
if (type != IEEE80211_FC0_TYPE_DATA)
sys/net80211/ieee80211_input.c
665
if (HAS_SEQ(type) && (ic->ic_opmode != IEEE80211_M_STA ||
sys/net80211/ieee80211_input.c
719
switch (type) {
sys/net80211/ieee80211_input.c
740
wh, NULL, "bad frame type 0x%x", type);
sys/net80211/ieee80211_input.c
753
return type;
sys/net80211/ieee80211_output.c
108
int type,
sys/net80211/ieee80211_output.c
115
wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | type;
sys/net80211/ieee80211_output.c
117
if ((type & IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_DATA) {
sys/net80211/ieee80211_output.c
1412
int type, int arg)
sys/net80211/ieee80211_output.c
1435
switch (type) {
sys/net80211/ieee80211_output.c
1673
if (type == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) {
sys/net80211/ieee80211_output.c
168
struct mbuf *m, int type, int timer)
sys/net80211/ieee80211_output.c
1761
ether_sprintf(ni->ni_macaddr), type);
sys/net80211/ieee80211_output.c
1765
ret = ieee80211_mgmt_output(ic, ni, m, type, timer);
sys/net80211/ieee80211_output.c
193
ieee80211_send_setup(ic, ni, wh, IEEE80211_FC0_TYPE_MGT | type,
sys/net80211/ieee80211_output.c
206
if ((ieee80211_msg_debug(ic) && doprint(ic, type)) ||
sys/net80211/ieee80211_output.c
211
(type & IEEE80211_FC0_SUBTYPE_MASK) >>
sys/net80211/ieee80211_proto.c
213
ieee80211_authenticator_register(int type,
sys/net80211/ieee80211_proto.c
216
if (type >= IEEE80211_AUTH_MAX)
sys/net80211/ieee80211_proto.c
218
authenticators[type] = auth;
sys/net80211/ieee80211_proto.c
222
ieee80211_authenticator_unregister(int type)
sys/net80211/ieee80211_proto.c
225
if (type >= IEEE80211_AUTH_MAX)
sys/net80211/ieee80211_proto.c
227
authenticators[type] = NULL;
sys/net80211/ieee80211_proto.h
154
void ieee80211_authenticator_register(int type,
sys/net80211/ieee80211_proto.h
156
void ieee80211_authenticator_unregister(int type);
sys/netbt/hci.h
1329
uint8_t type; /* Xmit level type */
sys/netbt/hci.h
1485
uint8_t type; /* inquiry scan type */
sys/netbt/hci.h
1491
uint8_t type; /* inquiry scan type */
sys/netbt/hci.h
1519
uint8_t type; /* page scan type */
sys/netbt/hci.h
1525
uint8_t type; /* page scan type */
sys/netbt/hci.h
1648
uint8_t type; /* notification type */
sys/netbt/hci.h
2117
uint8_t type; /* service type */
sys/netbt/hci.h
434
uint8_t type; /* MUST be 0x01 */
sys/netbt/hci.h
444
uint8_t type; /* MUST be 0x02 */
sys/netbt/hci.h
454
uint8_t type; /* MUST be 0x03 */
sys/netbt/hci.h
464
uint8_t type; /* MUST be 0x04 */
sys/netbt/hci_event.c
176
KASSERT(hdr.type == HCI_EVENT_PKT);
sys/netbt/hci_link.c
1027
hci_link_lookup_bdaddr(struct hci_unit *unit, bdaddr_t *bdaddr, uint8_t type)
sys/netbt/hci_link.c
1035
if (link->hl_type != type)
sys/netbt/hci_link.c
1038
if (type == HCI_LINK_SCO && link->hl_handle != 0)
sys/netbt/hci_link.c
441
KASSERT(hdr.type == HCI_ACL_DATA_PKT);
sys/netbt/hci_link.c
671
hdr->type = HCI_ACL_DATA_PKT;
sys/netbt/hci_link.c
848
KASSERT(hdr.type == HCI_SCO_DATA_PKT);
sys/netbt/hci_link.c
895
hci_link_alloc(struct hci_unit *unit, bdaddr_t *bdaddr, uint8_t type)
sys/netbt/hci_link.c
906
link->hl_type = type;
sys/netbt/hci_socket.c
223
if (hdr->type != HCI_CMD_PKT)
sys/netbt/hci_socket.c
633
if (hdr.type != HCI_CMD_PKT) {
sys/netbt/hci_socket.c
801
uint8_t type;
sys/netbt/hci_socket.c
805
KASSERT(m->m_len >= sizeof(type));
sys/netbt/hci_socket.c
807
type = *mtod(m, uint8_t *);
sys/netbt/hci_socket.c
825
if (hci_filter_test(type, &pcb->hp_pfilter) == 0)
sys/netbt/hci_socket.c
831
switch(type) {
sys/netbt/hci_socket.c
868
KAUTH_ARG(type), KAUTH_ARG(arg1), NULL, NULL) != 0)
sys/netbt/hci_unit.c
316
p->type = HCI_CMD_PKT;
sys/netbt/l2cap.h
160
#define L2CAP_OPT_HINT(type) ((type) & L2CAP_OPT_HINT_BIT)
sys/netbt/l2cap.h
284
uint8_t type;
sys/netbt/l2cap.h
321
uint16_t type; /* requested information type */
sys/netbt/l2cap.h
327
uint16_t type; /* requested information type */
sys/netbt/l2cap_signal.c
1151
opt->type = L2CAP_OPT_MTU;
sys/netbt/l2cap_signal.c
1163
opt->type = L2CAP_OPT_FLUSH_TIMO;
sys/netbt/l2cap_signal.c
483
switch(opt.type & L2CAP_OPT_HINT_MASK) {
sys/netbt/l2cap_signal.c
584
if (opt.type & L2CAP_OPT_HINT_BIT)
sys/netbt/l2cap_signal.c
598
buf[len++] = opt.type;
sys/netbt/l2cap_signal.c
727
switch (opt.type) {
sys/netbt/l2cap_signal.c
776
UNKNOWN(opt.type);
sys/netbt/l2cap_signal.c
816
switch(opt.type) {
sys/netbt/l2cap_signal.c
835
UNKNOWN(opt.type);
sys/netbt/l2cap_signal.c
952
cp.type = le16toh(cp.type);
sys/netbt/l2cap_signal.c
953
switch(cp.type) {
sys/netbt/l2cap_signal.c
970
le16enc(rsp + 0, cp.type);
sys/netbt/l2cap_signal.c
988
le16enc(rsp + 0, cp.type);
sys/netbt/l2cap_signal.c
996
le16enc(rsp + 0, cp.type);
sys/netbt/rfcomm.h
221
#define RFCOMM_MKCONTROL(type, pf) ((((type) & 0xef) | ((pf) << 4)))
sys/netbt/rfcomm.h
227
#define RFCOMM_MKMCC_TYPE(cr, type) ((((type) << 2) | ((cr) << 1) | 0x01))
sys/netbt/rfcomm_session.c
1004
int type, cr, len;
sys/netbt/rfcomm_session.c
1030
type = RFCOMM_MCC_TYPE(b);
sys/netbt/rfcomm_session.c
1053
(cr ? "command" : "response"), type, len);
sys/netbt/rfcomm_session.c
1058
switch(type) {
sys/netbt/rfcomm_session.c
1092
b = RFCOMM_MKMCC_TYPE(cr, type);
sys/netbt/rfcomm_session.c
1464
rfcomm_session_send_frame(struct rfcomm_session *rs, int type, int dlci)
sys/netbt/rfcomm_session.c
1488
if (type == RFCOMM_FRAME_UA || type == RFCOMM_FRAME_DM)
sys/netbt/rfcomm_session.c
1495
hdr->control = RFCOMM_MKCONTROL(type, 1); /* PF = 1 */
sys/netbt/rfcomm_session.c
1513
dlci, type, m->m_pkthdr.len, fcs);
sys/netbt/rfcomm_session.c
1641
uint8_t type, void *data, int len)
sys/netbt/rfcomm_session.c
1657
*hdr++ = RFCOMM_MKMCC_TYPE(cr, type);
sys/netbt/rfcomm_session.c
1701
(cr ? "command" : "response"), type, m->m_pkthdr.len);
sys/netbt/rfcomm_session.c
612
int dlci, len, type, pf;
sys/netbt/rfcomm_session.c
640
type = RFCOMM_TYPE(b);
sys/netbt/rfcomm_session.c
646
if (type != RFCOMM_FRAME_UIH)
sys/netbt/rfcomm_session.c
659
if (type != RFCOMM_FRAME_UIH)
sys/netbt/rfcomm_session.c
675
DPRINTFN(10, "dlci %d, type %2.2x, len = %d\n", dlci, type, len);
sys/netbt/rfcomm_session.c
677
switch (type) {
sys/netbt/rfcomm_session.c
702
UNKNOWN(type);
sys/netbt/sco_upper.c
302
hdr->type = HCI_SCO_DATA_PKT;
sys/netinet/dccp_tfrc.c
1050
if ((elm)->type == DCCP_TYPE_DATA || (elm)->type == DCCP_TYPE_DATAACK) \
sys/netinet/dccp_tfrc.c
1068
while ((elm) != NULL && (elm)->type != DCCP_TYPE_DATA && (elm)->type != DCCP_TYPE_DATAACK) { \
sys/netinet/dccp_tfrc.c
1349
TFRC_DEBUG((LOG_INFO, "TFRC - Adding packet (seq=%llu,win_count=%u,type=%u,ndp=%u) to history! (tfrc_recv_add_hist)\n", packet->seq, packet->win_count, packet->type, packet->ndp));
sys/netinet/dccp_tfrc.c
1361
if (elm->type == DCCP_TYPE_DATA || elm->type == DCCP_TYPE_DATAACK)
sys/netinet/dccp_tfrc.c
1376
if (elm->type == DCCP_TYPE_DATA || elm->type == DCCP_TYPE_DATAACK)
sys/netinet/dccp_tfrc.c
1486
if (elm->type == DCCP_TYPE_DATA || elm->type == DCCP_TYPE_DATAACK)
sys/netinet/dccp_tfrc.c
1733
packet->type = cb->pcb->type_rcv;
sys/netinet/dccp_tfrc.h
182
u_int8_t type; /* Packet type received */
sys/netinet/dccp_usrreq.c
1126
u_int8_t type;
sys/netinet/dccp_usrreq.c
1191
type = DCCP_TYPE_RESET;
sys/netinet/dccp_usrreq.c
1195
type = DCCP_TYPE_REQUEST;
sys/netinet/dccp_usrreq.c
1200
type = DCCP_TYPE_RESPONSE;
sys/netinet/dccp_usrreq.c
1205
type = DCCP_TYPE_ACK;
sys/netinet/dccp_usrreq.c
1215
type = DCCP_TYPE_DATAACK;
sys/netinet/dccp_usrreq.c
1225
type = DCCP_TYPE_ACK;
sys/netinet/dccp_usrreq.c
1234
type = DCCP_TYPE_DATA;
sys/netinet/dccp_usrreq.c
1242
type = DCCP_TYPE_CLOSE;
sys/netinet/dccp_usrreq.c
1246
type = DCCP_TYPE_CLOSEREQ;
sys/netinet/dccp_usrreq.c
1374
dh->dh_type = type;
sys/netinet/dccp_usrreq.c
2189
dccp_get_option(char *options, int optlen, int type, char *buffer, int buflen)
sys/netinet/dccp_usrreq.c
2198
if (t == type) {
sys/netinet/dccp_usrreq.c
2209
DCCP_DEBUG((LOG_INFO, "dccp_get_option option(%d) not found\n", type));
sys/netinet/icmp6.h
559
#define ICMP6_FILTER_SETPASS(type, filterp) \
sys/netinet/icmp6.h
560
(((filterp)->icmp6_filt[(type) >> 5]) |= (1 << ((type) & 31)))
sys/netinet/icmp6.h
561
#define ICMP6_FILTER_SETBLOCK(type, filterp) \
sys/netinet/icmp6.h
562
(((filterp)->icmp6_filt[(type) >> 5]) &= ~(1 << ((type) & 31)))
sys/netinet/icmp6.h
563
#define ICMP6_FILTER_WILLPASS(type, filterp) \
sys/netinet/icmp6.h
564
((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) != 0)
sys/netinet/icmp6.h
565
#define ICMP6_FILTER_WILLBLOCK(type, filterp) \
sys/netinet/icmp6.h
566
((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) == 0)
sys/netinet/icmp6.h
678
#define icmp6_ifoutstat_inc(ifp, type, code) \
sys/netinet/icmp6.h
681
switch(type) { \
sys/netinet/if_arp.c
1399
__unused int16_t type, struct mbuf *m)
sys/netinet/if_arp.c
1997
arp_stat_add(int type, uint64_t count)
sys/netinet/if_arp.c
1999
ARP_STATADD(type, count);
sys/netinet/igmp.c
594
igmp_sendpkt(struct in_multi *inm, int type)
sys/netinet/igmp.c
624
igmp->igmp_type = type;
sys/netinet/ip_carp.c
1347
carp_addrcount(struct carp_if *cif, struct in_ifaddr *ia, int type)
sys/netinet/ip_carp.c
1354
if ((type == CARP_COUNT_RUNNING &&
sys/netinet/ip_carp.c
1357
(type == CARP_COUNT_MASTER && vh->sc_state == MASTER)) {
sys/netinet/ip_carp.c
261
u_int8_t carp_version = CARP_VERSION, type = CARP_ADVERTISEMENT;
sys/netinet/ip_carp.c
282
SHA1Update(&sc->sc_sha1, (void *)&type, sizeof(type));
sys/netinet/ip_icmp.c
1317
icmp_ratelimit(const struct in_addr *dst, const int type,
sys/netinet/ip_icmp.c
253
icmp_error(struct mbuf *n, int type, int code, n_long dest, int destmtu)
sys/netinet/ip_icmp.c
263
if (type != ICMP_REDIRECT)
sys/netinet/ip_icmp.c
279
if (oip->ip_p == IPPROTO_ICMP && type != ICMP_REDIRECT &&
sys/netinet/ip_icmp.c
291
if (icmp_ratelimit(&oip->ip_src, type, code)) {
sys/netinet/ip_icmp.c
336
if ((u_int)type > ICMP_MAXTYPE)
sys/netinet/ip_icmp.c
338
ICMP_STATINC(ICMP_STAT_OUTHIST + type);
sys/netinet/ip_icmp.c
353
icp->icmp_type = type;
sys/netinet/ip_icmp.c
354
if (type == ICMP_REDIRECT) {
sys/netinet/ip_icmp.c
362
if (type == ICMP_PARAMPROB) {
sys/netinet/ip_icmp.c
365
} else if (type == ICMP_UNREACH &&
sys/netinet/ip_icmp.h
292
#define ICMP_INFOTYPE(type) \
sys/netinet/ip_icmp.h
293
((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || \
sys/netinet/ip_icmp.h
294
(type) == ICMP_ROUTERADVERT || (type) == ICMP_ROUTERSOLICIT || \
sys/netinet/ip_icmp.h
295
(type) == ICMP_TSTAMP || (type) == ICMP_TSTAMPREPLY || \
sys/netinet/ip_icmp.h
296
(type) == ICMP_IREQ || (type) == ICMP_IREQREPLY || \
sys/netinet/ip_icmp.h
297
(type) == ICMP_MASKREQ || (type) == ICMP_MASKREPLY)
sys/netinet/ip_input.c
1036
type = ICMP_UNREACH;
sys/netinet/ip_input.c
1152
type = ICMP_UNREACH;
sys/netinet/ip_input.c
1159
type = ICMP_UNREACH;
sys/netinet/ip_input.c
1169
icmp_error(m, type, code, 0, 0);
sys/netinet/ip_input.c
1340
int error, type = 0, code = 0, destmtu = 0;
sys/netinet/ip_input.c
1433
type = ICMP_REDIRECT;
sys/netinet/ip_input.c
1451
if (type) {
sys/netinet/ip_input.c
1487
type = ICMP_UNREACH;
sys/netinet/ip_input.c
1492
type = ICMP_UNREACH;
sys/netinet/ip_input.c
1517
icmp_error(mcopy, type, code, dest, destmtu);
sys/netinet/ip_input.c
860
int opt, optlen, cnt, off, code, type = ICMP_PARAMPROB, forward = 0;
sys/netinet/ip_input.c
913
type = ICMP_UNREACH;
sys/netinet/ip_input.c
936
type = ICMP_UNREACH;
sys/netinet/ip_input.c
979
type = ICMP_UNREACH;
sys/netinet/sctp_asconf.c
1012
if (type == SCTP_ADD_IP_ADDRESS) {
sys/netinet/sctp_asconf.c
1025
if (type == SCTP_DEL_IP_ADDRESS) {
sys/netinet/sctp_asconf.c
1048
uint16_t type)
sys/netinet/sctp_asconf.c
1070
if (aa->ap.aph.ph.param_type == type) {
sys/netinet/sctp_asconf.c
1082
if (type == SCTP_ADD_IP_ADDRESS &&
sys/netinet/sctp_asconf.c
1096
} else if (type == SCTP_DEL_IP_ADDRESS &&
sys/netinet/sctp_asconf.c
1103
sctp_asconf_addr_mgmt_ack(stcb, aa->ifa, type, 1);
sys/netinet/sctp_asconf.c
1128
aa->ap.aph.ph.param_type = type;
sys/netinet/sctp_asconf.c
1159
if (type == SCTP_ADD_IP_ADDRESS) {
sys/netinet/sctp_asconf.c
1172
if (type == SCTP_DEL_IP_ADDRESS) {
sys/netinet/sctp_asconf.c
1598
struct ifaddr *ifa, uint16_t type)
sys/netinet/sctp_asconf.c
1655
if (type == SCTP_ADD_IP_ADDRESS) {
sys/netinet/sctp_asconf.c
1766
status = sctp_asconf_queue_add(stcb, ifa, type);
sys/netinet/sctp_asconf.c
1783
if (type == SCTP_DEL_IP_ADDRESS) {
sys/netinet/sctp_asconf.c
1792
sctp_addr_mgmt_ep(struct sctp_inpcb *inp, struct ifaddr *ifa, uint16_t type)
sys/netinet/sctp_asconf.c
1842
if (type == SCTP_DEL_IP_ADDRESS) {
sys/netinet/sctp_asconf.c
1854
if (type == SCTP_ADD_IP_ADDRESS) {
sys/netinet/sctp_asconf.c
1867
sctp_addr_mgmt_assoc(inp, stcb, ifa, type);
sys/netinet/sctp_asconf.c
1915
sctp_addr_mgmt(struct ifaddr *ifa, uint16_t type) {
sys/netinet/sctp_asconf.c
1935
if (type == SCTP_ADD_IP_ADDRESS)
sys/netinet/sctp_asconf.c
1946
sctp_addr_mgmt_ep(inp, ifa, type);
sys/netinet/sctp_asconf.c
1949
if (type == SCTP_DEL_IP_ADDRESS)
sys/netinet/sctp_asconf.c
2861
sctp_addr_mgmt_ep_sa(struct sctp_inpcb *inp, struct sockaddr *sa, uint16_t type)
sys/netinet/sctp_asconf.c
2883
sctp_addr_mgmt_ep(inp, ifa, type);
sys/netinet/sctp_asconf.c
867
uint16_t type, uint32_t flag)
sys/netinet/sctp_asconf.c
898
sctp_asconf_queue_add(struct sctp_tcb *stcb, struct ifaddr *ifa, uint16_t type)
sys/netinet/sctp_asconf.c
922
if (aa->ap.aph.ph.param_type == type) {
sys/netinet/sctp_asconf.c
933
((type == SCTP_ADD_IP_ADDRESS &&
sys/netinet/sctp_asconf.c
936
(type == SCTP_DEL_IP_ADDRESS &&
sys/netinet/sctp_asconf.c
941
sctp_asconf_addr_mgmt_ack(stcb, aa->ifa, type, 1);
sys/netinet/sctp_asconf.c
967
aa->ap.aph.ph.param_type = type;
sys/netinet/sctp_pcb.c
1434
inp->sctp_ep.signature_change.type = SCTP_TIMER_TYPE_NEWCOOKIE;
sys/netinet/sctp_structs.h
52
int type;
sys/netinet/sctputil.c
1050
tmr->type);
sys/netinet/sctputil.c
1056
sctp_audit_log(0xF1, (u_int8_t)tmr->type);
sys/netinet/sctputil.c
1386
tmr->type = t_type;
sys/netinet/sctputil.c
1515
if ((tmr->type != t_type) && tmr->type) {
sys/netinet/sctputil.c
841
sctp_audit_log(0xF0, (u_int8_t)tmr->type);
sys/netinet/sctputil.c
865
printf("Timer type %d goes off\n", tmr->type);
sys/netinet/sctputil.c
880
switch (tmr->type) {
sys/netinet/tcp_subr.c
745
#define xchg(a,b,type) { type t; t=a; a=b; b=t; }
sys/netinet6/icmp6.c
2058
int type, code;
sys/netinet6/icmp6.c
2105
type = icmp6->icmp6_type; /* keep type for statistics */
sys/netinet6/icmp6.c
2220
icmp6_ifoutstat_inc(outif, type, code);
sys/netinet6/icmp6.c
232
icmp6_errcount(u_int base, int type, int code)
sys/netinet6/icmp6.c
234
switch (type) {
sys/netinet6/icmp6.c
2800
const int type, /* not used at this moment */
sys/netinet6/icmp6.c
320
icmp6_error2(struct mbuf *m, int type, int code, int param,
sys/netinet6/icmp6.c
341
icmp6_error(m, type, code, param);
sys/netinet6/icmp6.c
352
icmp6_error(struct mbuf *m, int type, int code, int param)
sys/netinet6/icmp6.c
363
icmp6_errcount(ICMP6_STAT_OUTERRHIST, type, code);
sys/netinet6/icmp6.c
388
(type != ICMP6_PACKET_TOO_BIG &&
sys/netinet6/icmp6.c
389
(type != ICMP6_PARAM_PROB ||
sys/netinet6/icmp6.c
435
if (icmp6_ratelimit(&oip6->ip6_src, type, code)) {
sys/netinet6/icmp6.c
464
icmp6->icmp6_type = type;
sys/netinet6/icmp6.c
477
ICMP6_STATINC(ICMP6_STAT_OUTHIST + type);
sys/netinet6/ip6_forward.c
124
int error = 0, type = 0, code = 0;
sys/netinet6/ip6_forward.c
334
type = ND_REDIRECT;
sys/netinet6/ip6_forward.c
406
if (type)
sys/netinet6/ip6_forward.c
426
if (type == ND_REDIRECT) {
sys/netinet6/ip6_forward.c
445
type = ICMP6_DST_UNREACH;
sys/netinet6/ip6_forward.c
449
icmp6_error(mcopy, type, code, 0);
sys/netinet6/ip6_output.c
2268
#define PKTOPT_EXTHDRCPY(type) \
sys/netinet6/ip6_output.c
2270
if (src->type) { \
sys/netinet6/ip6_output.c
2271
int hlen = (((struct ip6_ext *)src->type)->ip6e_len + 1) << 3;\
sys/netinet6/ip6_output.c
2272
dst->type = malloc(hlen, M_IP6OPT, canwait); \
sys/netinet6/ip6_output.c
2273
if (dst->type == NULL) \
sys/netinet6/ip6_output.c
2275
memcpy(dst->type, src->type, hlen); \
sys/netinet6/mld6.c
547
mld_sendpkt(struct in6_multi *in6m, int type, const struct in6_addr *dst)
sys/netinet6/mld6.c
580
mldh = mld_allocbuf(&mh, in6m, type);
sys/netinet6/mld6.c
611
ICMP6_STATINC(ICMP6_STAT_OUTHIST + type);
sys/netinet6/mld6.c
613
switch (type) {
sys/netinet6/mld6.c
635
mld_allocbuf(struct mbuf **mh, struct in6_multi *in6m, int type)
sys/netinet6/mld6.c
678
mldh->mld_type = type;
sys/netinet6/nd6.c
1329
int type, /* ICMP6 type */
sys/netinet6/nd6.c
1472
switch (type & 0xff) {
sys/netinet6/nd6.c
419
int16_t type, struct mbuf *m)
sys/netinet6/nd6.c
426
if (type == ND_LLINFO_PROBE) {
sys/netinet6/raw_ip6.c
377
int type, code; /* for ICMPv6 output statistics only */
sys/netinet6/raw_ip6.c
418
type = icmp6->icmp6_type;
sys/netinet6/raw_ip6.c
421
type = 0;
sys/netinet6/raw_ip6.c
511
icmp6_ifoutstat_inc(ret_oifp, type, code);
sys/netinet6/raw_ip6.c
512
ICMP6_STATINC(ICMP6_STAT_OUTHIST + type);
sys/netipsec/ipsec_output.c
388
#define IPSEC_OSTAT(type) \
sys/netipsec/ipsec_output.c
392
ESP_STATINC(ESP_STAT_ ## type); \
sys/netipsec/ipsec_output.c
395
AH_STATINC(AH_STAT_ ## type); \
sys/netipsec/ipsec_output.c
398
IPCOMP_STATINC(IPCOMP_STAT_ ## type); \
sys/netipsec/key.c
2996
struct sadb_x_nat_t_type *type;
sys/netipsec/key.c
3008
if ((mhp->extlen[SADB_X_EXT_NAT_T_TYPE] < sizeof(*type)) ||
sys/netipsec/key.c
3033
type = mhp->ext[SADB_X_EXT_NAT_T_TYPE];
sys/netipsec/key.c
3052
key_setdumpsp(struct secpolicy *sp, u_int8_t type, u_int32_t seq, pid_t pid)
sys/netipsec/key.c
3058
m = key_setsadbmsg(type, 0, SADB_SATYPE_UNSPEC, seq, pid,
sys/netipsec/key.c
3900
key_setdumpsa(struct secasvar *sav, u_int8_t type, u_int8_t satype,
sys/netipsec/key.c
3922
m = key_setsadbmsg(type, 0, satype, seq, pid, key_sa_refcnt(sav), M_WAITOK);
sys/netipsec/key.c
4077
key_setsadbxtype(u_int16_t type)
sys/netipsec/key.c
4093
p->sadb_x_nat_t_type_type = type;
sys/netipsec/key.c
4101
key_setsadbxport(u_int16_t port, u_int16_t type)
sys/netipsec/key.c
4116
p->sadb_x_nat_t_port_exttype = type;
sys/netipsec/key.c
4233
key_setsadbmsg(u_int8_t type, u_int16_t tlen, u_int8_t satype,
sys/netipsec/key.c
4254
p->sadb_msg_type = type;
sys/netipsec/key.c
4411
key_setsadbxpolicy(const u_int16_t type, const u_int8_t dir, const u_int32_t id,
sys/netipsec/key.c
4430
p->sadb_x_policy_type = type;
sys/netipsec/key.c
5595
struct sadb_x_nat_t_type *type;
sys/netipsec/key.c
5605
if (mhp->extlen[SADB_X_EXT_NAT_T_TYPE] < sizeof(*type)) {
sys/netipsec/key.c
5643
type = mhp->ext[SADB_X_EXT_NAT_T_TYPE];
sys/netipsec/key.c
5651
type->sadb_x_nat_t_type_type,
sys/netipsec/key.c
5655
sav->natt_type = type->sadb_x_nat_t_type_type;
sys/netipsec/key.c
5683
struct sadb_x_nat_t_type *type;
sys/netipsec/key.c
5687
if ((mhp->extlen[SADB_X_EXT_NAT_T_TYPE] < sizeof(*type)) ||
sys/netipsec/key.c
5694
type = mhp->ext[SADB_X_EXT_NAT_T_TYPE];
sys/netipsec/key.c
5702
type->sadb_x_nat_t_type_type,
sys/netipsec/key.c
594
#define LIST_INSERT_TAIL(head, elm, type, field) \
sys/netipsec/key.c
596
struct type *curelm = LIST_FIRST(head); \
sys/netipsec/xform_ah.c
1022
crda->crd_alg = ahx->type;
sys/netipsec/xform_ah.c
1066
skip, ahx->type, 1);
sys/netipsec/xform_ah.c
239
cria->cri_alg = sav->tdb_authalgxform->type;
sys/netipsec/xform_ah.c
609
crda->crd_alg = ahx->type;
sys/netipsec/xform_ah.c
649
skip, ahx->type, 0);
sys/netipsec/xform_esp.c
248
cria.cri_alg = sav->tdb_authalgxform->type;
sys/netipsec/xform_esp.c
258
crie.cri_alg = sav->tdb_encalgxform->type;
sys/netipsec/xform_esp.c
409
if (espx->type == CRYPTO_AES_GCM_16)
sys/netipsec/xform_esp.c
415
crda->crd_alg = esph->type;
sys/netipsec/xform_esp.c
416
if (espx->type == CRYPTO_AES_GCM_16 ||
sys/netipsec/xform_esp.c
417
espx->type == CRYPTO_AES_GMAC) {
sys/netipsec/xform_esp.c
469
if (espx->type == CRYPTO_AES_GMAC)
sys/netipsec/xform_esp.c
474
crde->crd_alg = espx->type;
sys/netipsec/xform_esp.c
853
if (espx->type == CRYPTO_AES_GMAC)
sys/netipsec/xform_esp.c
859
crde->crd_alg = espx->type;
sys/netipsec/xform_esp.c
913
if (espx->type == CRYPTO_AES_GCM_16)
sys/netipsec/xform_esp.c
920
crda->crd_alg = esph->type;
sys/netipsec/xform_esp.c
921
if (espx->type == CRYPTO_AES_GCM_16 ||
sys/netipsec/xform_esp.c
922
espx->type == CRYPTO_AES_GMAC) {
sys/netipsec/xform_ipcomp.c
118
cric.cri_alg = sav->tdb_compalgxform->type;
sys/netipsec/xform_ipcomp.c
192
crdc->crd_alg = sav->tdb_compalgxform->type;
sys/netipsec/xform_ipcomp.c
447
crdc->crd_alg = ipcompx->type;
sys/netmpls/mpls_ttl.c
159
mpls_icmp_error(struct mbuf *n, int type, int code, n_long dest,
sys/netmpls/mpls_ttl.c
180
if (type != ICMP_REDIRECT)
sys/netmpls/mpls_ttl.c
193
if (oip->ip_p == IPPROTO_ICMP && type != ICMP_REDIRECT &&
sys/netmpls/mpls_ttl.c
208
if (icmp_ratelimit(&oip->ip_src, type, code))
sys/netmpls/mpls_ttl.c
258
if ((u_int)type > ICMP_MAXTYPE)
sys/netmpls/mpls_ttl.c
260
ICMP_STATINC(ICMP_STAT_OUTHIST + type);
sys/netmpls/mpls_ttl.c
261
icp->icmp_type = type;
sys/netmpls/mpls_ttl.c
262
if (type == ICMP_REDIRECT)
sys/netmpls/mpls_ttl.c
270
if (type == ICMP_PARAMPROB) {
sys/netmpls/mpls_ttl.c
273
} else if (type == ICMP_UNREACH &&
sys/opencrypto/cryptodev.c
1647
cric.cri_alg = tcomp->type;
sys/opencrypto/cryptodev.c
1649
DPRINTF("tcomp->type = %d\n", tcomp->type);
sys/opencrypto/cryptodev.c
1660
crie.cri_alg = txform->type;
sys/opencrypto/cryptodev.c
1681
cria.cri_alg = thash->type;
sys/opencrypto/cryptosoft.c
1146
int type;
sys/opencrypto/cryptosoft.c
1164
type = CRYPTO_BUF_MBUF;
sys/opencrypto/cryptosoft.c
1166
type = CRYPTO_BUF_IOV;
sys/opencrypto/cryptosoft.c
1168
type = CRYPTO_BUF_CONTIG;
sys/opencrypto/cryptosoft.c
1204
crp->crp_buf, type)) != 0)
sys/opencrypto/cryptosoft.c
1226
crp->crp_buf, type)) != 0)
sys/opencrypto/cryptosoft.c
1235
crp->crp_etype = swcr_combined(crp, type);
sys/opencrypto/cryptosoft.c
1243
crp->crp_buf, type, &crp->crp_olen)) != 0)
sys/opencrypto/deflate.c
66
ocf_zalloc(void *nil, uint32_t type, uint32_t size)
sys/opencrypto/deflate.c
70
ptr = malloc(type *size, M_CRYPTO_DATA, M_NOWAIT);
sys/opencrypto/xform.c
103
.type = CRYPTO_DES_CBC,
sys/opencrypto/xform.c
112
.type = CRYPTO_3DES_CBC,
sys/opencrypto/xform.c
121
.type = CRYPTO_BLF_CBC,
sys/opencrypto/xform.c
130
.type = CRYPTO_CAST_CBC,
sys/opencrypto/xform.c
139
.type = CRYPTO_SKIPJACK_CBC,
sys/opencrypto/xform.c
148
.type = CRYPTO_AES_CBC,
sys/opencrypto/xform.c
157
.type = CRYPTO_ARC4,
sys/opencrypto/xform.c
166
.type = CRYPTO_CAMELLIA_CBC,
sys/opencrypto/xform.c
175
.type = CRYPTO_AES_CTR,
sys/opencrypto/xform.c
184
.type = CRYPTO_AES_GCM_16,
sys/opencrypto/xform.c
193
.type = CRYPTO_AES_GMAC,
sys/opencrypto/xform.c
203
.type = CRYPTO_NULL_HMAC,
sys/opencrypto/xform.c
212
.type = CRYPTO_MD5_HMAC,
sys/opencrypto/xform.c
221
.type = CRYPTO_SHA1_HMAC,
sys/opencrypto/xform.c
230
.type = CRYPTO_RIPEMD160_HMAC,
sys/opencrypto/xform.c
239
.type = CRYPTO_MD5_HMAC_96,
sys/opencrypto/xform.c
248
.type = CRYPTO_SHA1_HMAC_96,
sys/opencrypto/xform.c
257
.type = CRYPTO_RIPEMD160_HMAC_96,
sys/opencrypto/xform.c
266
.type = CRYPTO_MD5_KPDK,
sys/opencrypto/xform.c
275
.type = CRYPTO_SHA1_KPDK,
sys/opencrypto/xform.c
284
.type = CRYPTO_MD5,
sys/opencrypto/xform.c
293
.type = CRYPTO_SHA1,
sys/opencrypto/xform.c
302
.type = CRYPTO_SHA2_256_HMAC,
sys/opencrypto/xform.c
311
.type = CRYPTO_SHA2_384_HMAC,
sys/opencrypto/xform.c
320
.type = CRYPTO_SHA2_512_HMAC,
sys/opencrypto/xform.c
329
.type = CRYPTO_AES_XCBC_MAC_96,
sys/opencrypto/xform.c
338
.type = CRYPTO_AES_128_GMAC,
sys/opencrypto/xform.c
347
.type = CRYPTO_AES_192_GMAC,
sys/opencrypto/xform.c
356
.type = CRYPTO_AES_256_GMAC,
sys/opencrypto/xform.c
366
.type = CRYPTO_DEFLATE_COMP,
sys/opencrypto/xform.c
372
.type = CRYPTO_DEFLATE_COMP_NOGROW,
sys/opencrypto/xform.c
378
.type = CRYPTO_GZIP_COMP,
sys/opencrypto/xform.c
93
.type = CRYPTO_NULL_CBC,
sys/opencrypto/xform.h
33
int type;
sys/opencrypto/xform.h
45
int type;
sys/opencrypto/xform.h
54
int type;
sys/rump/include/rump-sys/kern.h
103
#define _RUMP_COMPONENT_REGISTER(type) \
sys/rump/include/rump-sys/kern.h
104
__link_set_add_rodata(rump_components, rumpcomp##type);
sys/rump/include/rump-sys/kern.h
107
#define RUMP_COMPONENT(type) \
sys/rump/include/rump-sys/kern.h
108
static void rumpcompinit##type(void); \
sys/rump/include/rump-sys/kern.h
109
static struct rump_component rumpcomp##type = { \
sys/rump/include/rump-sys/kern.h
110
.rc_type = type, \
sys/rump/include/rump-sys/kern.h
111
.rc_init = rumpcompinit##type, \
sys/rump/include/rump-sys/kern.h
113
_RUMP_COMPONENT_REGISTER(type) \
sys/rump/include/rump-sys/kern.h
114
static void rumpcompinit##type(void)
sys/rump/include/rump-sys/kern.h
89
#define _RUMP_COMPONENT_REGISTER(type) \
sys/rump/include/rump-sys/kern.h
90
static void rumpcomp_ctor##type(void) __attribute__((constructor)); \
sys/rump/include/rump-sys/kern.h
91
static void rumpcomp_ctor##type(void) \
sys/rump/include/rump-sys/kern.h
93
rump_component_load(&rumpcomp##type); \
sys/rump/include/rump-sys/kern.h
95
static void rumpcomp_dtor##type(void) __attribute__((destructor)); \
sys/rump/include/rump-sys/kern.h
96
static void rumpcomp_dtor##type(void) \
sys/rump/include/rump-sys/kern.h
98
rump_component_unload(&rumpcomp##type); \
sys/rump/librump/rumpkern/locks.c
109
_mutex_init(kmutex_t *mtx, kmutex_type_t type, int ipl,
sys/rump/librump/rumpkern/locks.c
125
if (type == MUTEX_SPIN) {
sys/rump/librump/rumpkern/locks.c
145
mutex_init(kmutex_t *mtx, kmutex_type_t type, int ipl)
sys/rump/librump/rumpkern/locks.c
148
_mutex_init(mtx, type, ipl, (uintptr_t)__builtin_return_address(0));
sys/rump/librump/rumpkern/locks_up.c
66
mutex_init(kmutex_t *mtx, kmutex_type_t type, int ipl)
sys/rump/librump/rumpkern/rump.c
594
rump_component_count(enum rump_component_type type)
sys/rump/librump/rumpkern/rump.c
598
KASSERT(type < RUMP_COMPONENT_MAX);
sys/rump/librump/rumpkern/rump.c
599
return compcounter[type];
sys/rump/librump/rumpkern/rump.c
603
rump_component_init(enum rump_component_type type)
sys/rump/librump/rumpkern/rump.c
608
KASSERT(!compinited[type]);
sys/rump/librump/rumpkern/rump.c
613
if (rc->rc_type == type) {
sys/rump/librump/rumpkern/rump.c
623
compinited[type] = 1;
sys/rump/librump/rumpkern/rump_syscalls.c
1883
rump___sysimpl_socketpair(int domain, int type, int protocol, int * rsv)
sys/rump/librump/rumpkern/rump_syscalls.c
1892
SPARG(&callarg, type) = type;
sys/rump/librump/rumpkern/rump_syscalls.c
4549
rump___sysimpl_socket30(int domain, int type, int protocol)
sys/rump/librump/rumpkern/rump_syscalls.c
4558
SPARG(&callarg, type) = type;
sys/rump/librump/rumpkern/rump_syscalls.c
4876
rump___sysimpl_mount50(const char * type, const char * path, int flags, void * data, size_t data_len)
sys/rump/librump/rumpkern/rump_syscalls.c
4884
SPARG(&callarg, type) = type;
sys/rump/librump/rumpkern/rump_syscalls.c
6710
#define s(type) sizeof(type)
sys/rump/librump/rumpkern/rump_syscalls.c
6711
#define n(type) (sizeof(type)/sizeof (register_t))
sys/rump/librump/rumpkern/rump_syscalls.c
6712
#define ns(type) n(type), s(type)
sys/rump/librump/rumpvfs/rumpvnode_if.c
700
acl_type_t type,
sys/rump/librump/rumpvfs/rumpvnode_if.c
707
error = VOP_GETACL(vp, type, aclp, cred);
sys/rump/librump/rumpvfs/rumpvnode_if.c
715
acl_type_t type,
sys/rump/librump/rumpvfs/rumpvnode_if.c
722
error = VOP_SETACL(vp, type, aclp, cred);
sys/rump/librump/rumpvfs/rumpvnode_if.c
730
acl_type_t type,
sys/rump/librump/rumpvfs/rumpvnode_if.c
737
error = VOP_ACLCHECK(vp, type, aclp, cred);
sys/rump/net/lib/libsockin/sockin.c
441
const int type = so->so_proto->pr_type;
sys/rump/net/lib/libsockin/sockin.c
453
error = rumpcomp_sockin_socket(family, type, 0, &news);
sys/rump/net/lib/libsockin/sockin.c
458
if (type == SOCK_DGRAM) {
sys/rump/net/lib/libsockin/sockin_user.c
405
rumpcomp_sockin_socket(int domain, int type, int proto, int *s)
sys/rump/net/lib/libsockin/sockin_user.c
413
*s = socket(domain, type, proto);
sys/stand/efiboot/efiblock.c
260
if (isonum_711(vd.type) == ISO_VD_END) {
sys/stand/efiboot/efiblock.c
263
if (isonum_711(vd.type) == ISO_VD_PRIMARY) {
sys/stand/efiboot/efiblock.c
275
bpart->type = EFI_BLOCK_PART_CD9660;
sys/stand/efiboot/efiblock.c
323
bpart->type = EFI_BLOCK_PART_DISKLABEL;
sys/stand/efiboot/efiblock.c
398
bpart->type = EFI_BLOCK_PART_GPT;
sys/stand/efiboot/efiblock.c
525
switch (bpart->type) {
sys/stand/efiboot/efiblock.c
587
switch (bpart->type) {
sys/stand/efiboot/efiblock.c
693
switch (bpart->type) {
sys/stand/efiboot/efiblock.h
66
enum efi_block_part_type type;
sys/stand/efiboot/efifdt.c
419
switch (bpart->type) {
sys/stand/efiboot/efinet.c
295
bi_netif.bus = eni->bus.type;
sys/stand/efiboot/efinet.c
59
int type;
sys/stand/efiboot/smbios.c
142
smbios_find_table(uint8_t type, struct smbtable *st)
sys/stand/efiboot/smbios.c
162
if ((st->cookie & 0xfff) == type && st->cookie >> 16) {
sys/stand/efiboot/smbios.c
165
if (hdr->type == type) {
sys/stand/efiboot/smbios.c
178
if (hdr->type == type) {
sys/stand/efiboot/smbios.c
182
st->cookie = (tcount + 1) << 16 | type;
sys/stand/efiboot/smbios.c
185
if (hdr->type == SMBIOS_TYPE_EOT)
sys/stand/efiboot/smbios.h
187
uint8_t type; /* board type */
sys/stand/efiboot/smbios.h
217
uint8_t type;
sys/stand/efiboot/smbios.h
249
uint8_t type;
sys/stand/efiboot/smbios.h
83
uint8_t type;
sys/sys/agpio.h
133
uint32_t type; /* 0 == normal, other devspec */
sys/sys/audioio.h
327
int type;
sys/sys/audioio.h
361
int type;
sys/sys/bootblock.h
1361
int32_t type;
sys/sys/cdefs_aout.h
106
#define __link_set_make_entry(set, sym, type) \
sys/sys/cdefs_aout.h
109
__asm(".stabs \"___link_set_" #set "\", " #type ", 0, 0, _" #sym)
sys/sys/cdefs_aout.h
111
#define __link_set_make_entry(set, sym, type) \
sys/sys/device.h
242
devhandle_type_t type;
sys/sys/device_calls.h
227
prop_type_t type; /* OUT */
sys/sys/disklabel_rdb.h
167
uint32_t type; /* zero */
sys/sys/dvdio.h
115
uint8_t type;
sys/sys/dvdio.h
120
uint8_t type;
sys/sys/dvdio.h
127
uint8_t type;
sys/sys/dvdio.h
134
uint8_t type;
sys/sys/dvdio.h
151
uint8_t type;
sys/sys/dvdio.h
162
uint8_t type;
sys/sys/dvdio.h
169
uint8_t type;
sys/sys/dvdio.h
174
uint8_t type : 2;
sys/sys/dvdio.h
182
uint8_t type;
sys/sys/dvdio.h
43
uint8_t type;
sys/sys/dvdio.h
49
uint8_t type;
sys/sys/dvdio.h
57
uint8_t type;
sys/sys/dvdio.h
64
uint8_t type;
sys/sys/dvdio.h
71
uint8_t type;
sys/sys/dvdio.h
79
uint8_t type;
sys/sys/evcnt.h
128
#define EVCNT_INITIALIZER(type, parent, group, name) \
sys/sys/evcnt.h
130
.ev_type = type, \
sys/sys/exec_elf.h
668
#define ELF32_R_INFO(sym, type) (((sym) << 8) + (unsigned char)(type))
sys/sys/exec_elf.h
687
#define ELF64_R_INFO(sym,type) (((sym) << 32) + (type))
sys/sys/exec_elf.h
874
#define ELF_ST_INFO(bind,type) ((Elf_Byte)(((bind) << 4) | \
sys/sys/exec_elf.h
875
((type) & 0xf)))
sys/sys/exec_elf.h
880
#define ELF32_ST_INFO(bind,type) ELF_ST_INFO(bind,type)
sys/sys/exec_elf.h
885
#define ELF64_ST_INFO(bind,type) ELF_ST_INFO(bind,type)
sys/sys/gcq.h
282
#define GCQ_ITEM(q, type, name) \
sys/sys/gcq.h
283
((type *)(void *)((uint8_t *)gcq_q(q) - offsetof(type, name)))
sys/sys/gcq.h
288
#define _GCQ_GDQ_TYPED(tvar, h, type, name, ptr, fn) \
sys/sys/gcq.h
290
type, name), true) : (tvar = NULL, false))
sys/sys/gcq.h
294
#define _GCQ_NP_TYPED(tvar, current, head, start, type, name, np, fn) \
sys/sys/gcq.h
296
(tvar = GCQ_ITEM(fn(np(current, head, start)), type, name), true) : \
sys/sys/gcq.h
303
#define _GCQ_GDQ_COND_TYPED(tvar, h, type, name, ptr, rem, cond) \
sys/sys/gcq.h
305
type, name), ((cond) ? (rem, true) : (tvar = NULL, false))) : \
sys/sys/gcq.h
311
#define _GCQ_NP_COND_TYPED(tvar, current, head, start, type, name, np, \
sys/sys/gcq.h
313
(tvar = GCQ_ITEM(fn(np(current, head, start)), type, name), \
sys/sys/gcq.h
321
#define GCQ_GOT_FIRST_TYPED(tvar, h, type, name) \
sys/sys/gcq.h
322
_GCQ_GDQ_TYPED(tvar, h, type, name, q_next, gcq_q)
sys/sys/gcq.h
323
#define GCQ_GOT_LAST_TYPED(tvar, h, type, name) \
sys/sys/gcq.h
324
_GCQ_GDQ_TYPED(tvar, h, type, name, q_prev, gcq_q)
sys/sys/gcq.h
325
#define GCQ_DEQUEUED_FIRST_TYPED(tvar, h, type, name) \
sys/sys/gcq.h
326
_GCQ_GDQ_TYPED(tvar, h, type, name, q_next, gcq_remove)
sys/sys/gcq.h
327
#define GCQ_DEQUEUED_LAST_TYPED(tvar, h, type, name) \
sys/sys/gcq.h
328
_GCQ_GDQ_TYPED(tvar, h, type, name, q_prev, gcq_remove)
sys/sys/gcq.h
337
#define GCQ_GOT_NEXT_TYPED(tvar, current, head, start, type, name) \
sys/sys/gcq.h
338
_GCQ_NP_TYPED(tvar, current, head, start, type, name, \
sys/sys/gcq.h
340
#define GCQ_GOT_PREV_TYPED(tvar, current, head, start, type, name) \
sys/sys/gcq.h
341
_GCQ_NP_TYPED(tvar, current, head, start, type, name, \
sys/sys/gcq.h
343
#define GCQ_DEQUEUED_NEXT_TYPED(tvar, current, head, start, type, name) \
sys/sys/gcq.h
344
_GCQ_NP_TYPED(tvar, current, head, start, type, name, \
sys/sys/gcq.h
346
#define GCQ_DEQUEUED_PREV_TYPED(tvar, current, head, start, type, name) \
sys/sys/gcq.h
347
_GCQ_NP_TYPED(tvar, current, head, start, type, name, \
sys/sys/gcq.h
358
#define GCQ_GOT_FIRST_COND_TYPED(tvar, h, type, name, cond) \
sys/sys/gcq.h
359
_GCQ_GDQ_COND_TYPED(tvar, h, type, name, q_next, ((void)0), cond)
sys/sys/gcq.h
360
#define GCQ_GOT_LAST_COND_TYPED(tvar, h, type, name, cond) \
sys/sys/gcq.h
361
_GCQ_GDQ_COND_TYPED(tvar, h, type, name, q_prev, ((void)0), cond)
sys/sys/gcq.h
362
#define GCQ_DEQUEUED_FIRST_COND_TYPED(tvar, h, type, name, cond) \
sys/sys/gcq.h
363
_GCQ_GDQ_COND_TYPED(tvar, h, type, name, q_next, \
sys/sys/gcq.h
365
#define GCQ_DEQUEUED_LAST_COND_TYPED(tvar, h, type, name, cond) \
sys/sys/gcq.h
366
_GCQ_GDQ_COND_TYPED(tvar, h, type, name, q_prev, \
sys/sys/gcq.h
378
#define GCQ_GOT_NEXT_COND_TYPED(tvar, current, head, start, type, name, \
sys/sys/gcq.h
379
cond) _GCQ_NP_COND_TYPED(tvar, current, head, start, type, name, \
sys/sys/gcq.h
381
#define GCQ_GOT_PREV_COND_TYPED(tvar, current, head, start, type, name, \
sys/sys/gcq.h
382
cond) _GCQ_NP_COND_TYPED(tvar, current, head, start, type, name, \
sys/sys/gcq.h
384
#define GCQ_DEQUEUED_NEXT_COND_TYPED(tvar, current, head, start, type, \
sys/sys/gcq.h
385
name, cond) _GCQ_NP_COND_TYPED(tvar, current, head, start, type, \
sys/sys/gcq.h
387
#define GCQ_DEQUEUED_PREV_COND_TYPED(tvar, current, head, start, type, \
sys/sys/gcq.h
388
name, cond) _GCQ_NP_COND_TYPED(tvar, current, head, start, type, \
sys/sys/gcq.h
423
#define GCQ_FOREACH_TYPED(var, h, tvar, type, name) \
sys/sys/gcq.h
424
_GCQ_FOREACH(var, h, (tvar)=NULL, (tvar)=GCQ_ITEM(var, type, name), \
sys/sys/gcq.h
426
#define GCQ_FOREACH_TYPED_REV(var, h, tvar, type, name) \
sys/sys/gcq.h
427
_GCQ_FOREACH(var, h, (tvar)=NULL, (tvar)=GCQ_ITEM(var, type, name), \
sys/sys/gcq.h
429
#define GCQ_FOREACH_NVAR_TYPED(var, nvar, h, tvar, type, name) \
sys/sys/gcq.h
431
(tvar)=GCQ_ITEM(var, type, name), \
sys/sys/gcq.h
433
#define GCQ_FOREACH_NVAR_REV_TYPED(var, nvar, h, tvar, type, name) \
sys/sys/gcq.h
435
(tvar)=GCQ_ITEM(var, type, name), \
sys/sys/gcq.h
437
#define GCQ_FOREACH_RO_TYPED(var, nvar, h, tvar, type, name) \
sys/sys/gcq.h
439
(tvar)=GCQ_ITEM(var, type, name), \
sys/sys/gcq.h
441
#define GCQ_FOREACH_RO_REV_TYPED(var, nvar, h, tvar, type, name) \
sys/sys/gcq.h
443
(tvar)=GCQ_ITEM(var, type, name), \
sys/sys/gcq.h
445
#define GCQ_FOREACH_DEQUEUED_TYPED(var, nvar, h, tvar, type, name) \
sys/sys/gcq.h
447
(tvar)=GCQ_ITEM(var, type, name), \
sys/sys/gcq.h
449
#define GCQ_FOREACH_DEQUEUED_REV_TYPED(var, nvar, h, tvar, type, name) \
sys/sys/gcq.h
451
(tvar)=GCQ_ITEM(var, type, name), \
sys/sys/gcq.h
458
#define GCQ_FIND_TYPED(var, h, tvar, type, name, cond) \
sys/sys/gcq.h
459
_GCQ_COND(GCQ_FOREACH_TYPED(var, h, tvar, type, name), cond)
sys/sys/gcq.h
460
#define GCQ_FIND_TYPED_REV(var, h, tvar, type, name, cond) \
sys/sys/gcq.h
461
_GCQ_COND(GCQ_FOREACH_REV_TYPED(var, h, tvar, type, name), cond)
sys/sys/iostat.h
54
int32_t type;
sys/sys/ktrace.h
107
#define KTRPOINT(p, type) \
sys/sys/ktrace.h
108
(((p)->p_traceflag & (1<<(type))) != 0)
sys/sys/malloc.h
70
#define malloc(size, type, flags) kern_malloc(size, flags)
sys/sys/malloc.h
71
#define free(addr, type) kern_free(addr)
sys/sys/malloc.h
72
#define realloc(ptr, size, type, flags) kern_realloc(ptr, size, flags)
sys/sys/mallocvar.h
46
#define MALLOC_JUSTDEFINE(type, shortdesc, longdesc)
sys/sys/mallocvar.h
47
#define MALLOC_DEFINE(type, shortdesc, longdesc)
sys/sys/mallocvar.h
48
#define MALLOC_DECLARE(type) \
sys/sys/mallocvar.h
49
static struct malloc_type *const __unused type = 0
sys/sys/mbuf.h
426
#define mowner_init(m, type) __nothing
sys/sys/mbuf.h
452
#define MGET(m, how, type) m = m_get((how), (type))
sys/sys/mbuf.h
453
#define MGETHDR(m, how, type) m = m_gethdr((how), (type))
sys/sys/mbuf.h
494
#define MEXTADD(m, buf, size, type, free, arg) \
sys/sys/mbuf.h
850
#define M_GET_ALIGNED_HDR(m, type, linkhdr) \
sys/sys/mbuf.h
851
m_get_aligned_hdr((m), __alignof(type) - 1, sizeof(type), (linkhdr))
sys/sys/module_hook.h
51
#define MODULE_HOOK(hook, type, args) \
sys/sys/module_hook.h
54
type (*f)args; \
sys/sys/namei.h
345
#define _NAMEI_CACHE_STATS(type) { \
sys/sys/namei.h
346
type ncs_goodhits; /* hits that we can really use */ \
sys/sys/namei.h
347
type ncs_neghits; /* negative hits that we can use */ \
sys/sys/namei.h
348
type ncs_badhits; /* hits we must drop */ \
sys/sys/namei.h
349
type ncs_falsehits; /* hits with id mismatch */ \
sys/sys/namei.h
350
type ncs_miss; /* misses */ \
sys/sys/namei.h
351
type ncs_long; /* long names that ignore cache */ \
sys/sys/namei.h
352
type ncs_pass2; /* names found with passes == 2 */ \
sys/sys/namei.h
353
type ncs_2passes; /* number of times we attempt it */ \
sys/sys/namei.h
354
type ncs_revhits; /* reverse-cache hits */ \
sys/sys/namei.h
355
type ncs_revmiss; /* reverse-cache misses */ \
sys/sys/namei.h
356
type ncs_denied; /* access denied */ \
sys/sys/queue.h
102
#define SLIST_HEAD(name, type) \
sys/sys/queue.h
104
struct type *slh_first; /* first element */ \
sys/sys/queue.h
110
#define SLIST_ENTRY(type) \
sys/sys/queue.h
112
struct type *sle_next; /* next element */ \
sys/sys/queue.h
160
#define SLIST_REMOVE(head, elm, type, field) do { \
sys/sys/queue.h
165
struct type *curelm = (head)->slh_first; \
sys/sys/queue.h
177
#define LIST_HEAD(name, type) \
sys/sys/queue.h
179
struct type *lh_first; /* first element */ \
sys/sys/queue.h
185
#define LIST_ENTRY(type) \
sys/sys/queue.h
187
struct type *le_next; /* next element */ \
sys/sys/queue.h
188
struct type **le_prev; /* address of previous next element */ \
sys/sys/queue.h
297
#define SIMPLEQ_HEAD(name, type) \
sys/sys/queue.h
299
struct type *sqh_first; /* first element */ \
sys/sys/queue.h
300
struct type **sqh_last; /* addr of last next element */ \
sys/sys/queue.h
306
#define SIMPLEQ_ENTRY(type) \
sys/sys/queue.h
308
struct type *sqe_next; /* next element */ \
sys/sys/queue.h
367
#define SIMPLEQ_REMOVE(head, elm, type, field) do { \
sys/sys/queue.h
371
struct type *curelm = (head)->sqh_first; \
sys/sys/queue.h
388
#define SIMPLEQ_LAST(head, type, field) \
sys/sys/queue.h
391
((struct type *)(void *) \
sys/sys/queue.h
392
((char *)((head)->sqh_last) - offsetof(struct type, field))))
sys/sys/queue.h
397
#define _TAILQ_HEAD(name, type, qual) \
sys/sys/queue.h
399
qual type *tqh_first; /* first element */ \
sys/sys/queue.h
400
qual type *qual *tqh_last; /* addr of last next element */ \
sys/sys/queue.h
402
#define TAILQ_HEAD(name, type) _TAILQ_HEAD(name, struct type,)
sys/sys/queue.h
407
#define _TAILQ_ENTRY(type, qual) \
sys/sys/queue.h
409
qual type *tqe_next; /* next element */ \
sys/sys/queue.h
410
qual type *qual *tqe_prev; /* address of previous next element */\
sys/sys/queue.h
412
#define TAILQ_ENTRY(type) _TAILQ_ENTRY(struct type,)
sys/sys/queue.h
565
#define STAILQ_HEAD(name, type) \
sys/sys/queue.h
567
struct type *stqh_first; /* first element */ \
sys/sys/queue.h
568
struct type **stqh_last; /* addr of last next element */ \
sys/sys/queue.h
574
#define STAILQ_ENTRY(type) \
sys/sys/queue.h
576
struct type *stqe_next; /* next element */ \
sys/sys/queue.h
618
#define STAILQ_REMOVE(head, elm, type, field) do { \
sys/sys/queue.h
622
struct type *curelm = (head)->stqh_first; \
sys/sys/queue.h
649
#define STAILQ_LAST(head, type, field) \
sys/sys/queue.h
652
((struct type *)(void *) \
sys/sys/queue.h
653
((char *)((head)->stqh_last) - offsetof(struct type, field))))
sys/sys/reboot.h
108
#define MAKEBOOTDEV(type, adaptor, controller, unit, partition) \
sys/sys/reboot.h
109
(((type) << B_TYPESHIFT) | ((adaptor) << B_ADAPTORSHIFT) | \
sys/sys/rndio.h
149
uint32_t type; /* the type of device we want */
sys/sys/rndio.h
69
uint32_t type; /* type */
sys/sys/rndsource.h
74
uint32_t type; /* type, RND_TYPE_* */
sys/sys/scsiio.h
58
int type; /* bus type */
sys/sys/sdt.h
107
#define SDT_PROBE_ARGTYPE(prov, mod, func, name, num, type, xtype)
sys/sys/sdt.h
236
#define SDT_PROBE_ARGTYPE(prov, mod, func, name, num, type, xtype) \
sys/sys/sdt.h
240
num, type, xtype, { NULL, NULL }, \
sys/sys/sdt.h
466
const char *type; /* Argument type string. */
sys/sys/stddef.h
145
#define offsetof(type, member) __builtin_offsetof(type, member)
sys/sys/stddef.h
147
#define offsetof(type, member) ((size_t)(unsigned long)(&((type *)0)->member))
sys/sys/stddef.h
152
#define offsetof(type, member) __offsetof__((reinterpret_cast<size_t> \
sys/sys/stddef.h
153
(&reinterpret_cast<const volatile char &>(static_cast<type *>(0)->member))))
sys/sys/syscallargs.h
172
syscallarg(const char *) type;
sys/sys/syscallargs.h
2560
syscallarg(int) type;
sys/sys/syscallargs.h
2646
syscallarg(const char *) type;
sys/sys/syscallargs.h
3251
syscallarg(acl_type_t) type;
sys/sys/syscallargs.h
3260
syscallarg(acl_type_t) type;
sys/sys/syscallargs.h
3269
syscallarg(acl_type_t) type;
sys/sys/syscallargs.h
3277
syscallarg(acl_type_t) type;
sys/sys/syscallargs.h
3286
syscallarg(acl_type_t) type;
sys/sys/syscallargs.h
3295
syscallarg(acl_type_t) type;
sys/sys/syscallargs.h
3304
syscallarg(acl_type_t) type;
sys/sys/syscallargs.h
3313
syscallarg(acl_type_t) type;
sys/sys/syscallargs.h
3322
syscallarg(acl_type_t) type;
sys/sys/syscallargs.h
3330
syscallarg(acl_type_t) type;
sys/sys/syscallargs.h
3338
syscallarg(acl_type_t) type;
sys/sys/syscallargs.h
3347
syscallarg(acl_type_t) type;
sys/sys/syscallargs.h
589
syscallarg(int) type;
sys/sys/syscallargs.h
860
syscallarg(int) type;
sys/sys/sysctl.h
1177
#define sysctl_createv(lg, cfl, rn, cn, fl, type, nm, desc, fn, qv, newp, ...) \
sys/sys/sysctl.h
1178
sysctl_createv(lg, cfl, rn, cn, fl, type, nm, desc, fn, qv, \
sys/sys/sysctl.h
1179
__sysctl_verify_##type##_arg(newp), __VA_ARGS__)
sys/sys/sysctl.h
1261
#define __sysc_pad(type) union { uint64_t __sysc_upad; \
sys/sys/sysctl.h
1262
struct { type __sysc_sdatum; } __sysc_ustr; }
sys/sys/sysctl.h
1264
#define __sysc_pad(type) union { uint64_t __sysc_upad; \
sys/sys/sysctl.h
1265
struct { uint32_t __sysc_spad; type __sysc_sdatum; } __sysc_ustr; }
sys/sys/tree.h
115
#define SPLAY_PROTOTYPE(name, type, field, cmp) \
sys/sys/tree.h
116
void name##_SPLAY(struct name *, struct type *); \
sys/sys/tree.h
118
struct type *name##_SPLAY_INSERT(struct name *, struct type *); \
sys/sys/tree.h
119
struct type *name##_SPLAY_REMOVE(struct name *, struct type *); \
sys/sys/tree.h
122
static __inline struct type * \
sys/sys/tree.h
123
name##_SPLAY_FIND(struct name *head, struct type *elm) \
sys/sys/tree.h
133
static __inline __unused struct type * \
sys/sys/tree.h
134
name##_SPLAY_NEXT(struct name *head, struct type *elm) \
sys/sys/tree.h
147
static __unused __inline struct type * \
sys/sys/tree.h
157
#define SPLAY_GENERATE(name, type, field, cmp) \
sys/sys/tree.h
158
struct type * \
sys/sys/tree.h
159
name##_SPLAY_INSERT(struct name *head, struct type *elm) \
sys/sys/tree.h
182
struct type * \
sys/sys/tree.h
183
name##_SPLAY_REMOVE(struct name *head, struct type *elm) \
sys/sys/tree.h
185
struct type *__tmp; \
sys/sys/tree.h
204
name##_SPLAY(struct name *head, struct type *elm) \
sys/sys/tree.h
206
struct type __node, *__left, *__right, *__tmp; \
sys/sys/tree.h
243
struct type __node, *__left, *__right, *__tmp; \
sys/sys/tree.h
292
#define RB_HEAD(name, type) \
sys/sys/tree.h
294
struct type *rbh_root; /* root of the tree */ \
sys/sys/tree.h
306
#define RB_ENTRY(type) \
sys/sys/tree.h
308
struct type *rbe_left; /* left element */ \
sys/sys/tree.h
309
struct type *rbe_right; /* right element */ \
sys/sys/tree.h
310
struct type *rbe_parent; /* parent element */ \
sys/sys/tree.h
377
#define RB_PROTOTYPE(name, type, field, cmp) \
sys/sys/tree.h
378
RB_PROTOTYPE_INTERNAL(name, type, field, cmp,)
sys/sys/tree.h
379
#define RB_PROTOTYPE_STATIC(name, type, field, cmp) \
sys/sys/tree.h
380
RB_PROTOTYPE_INTERNAL(name, type, field, cmp, __unused static)
sys/sys/tree.h
381
#define RB_PROTOTYPE_INTERNAL(name, type, field, cmp, attr) \
sys/sys/tree.h
382
attr void name##_RB_INSERT_COLOR(struct name *, struct type *); \
sys/sys/tree.h
383
attr void name##_RB_REMOVE_COLOR(struct name *, struct type *, struct type *);\
sys/sys/tree.h
384
attr struct type *name##_RB_REMOVE(struct name *, struct type *); \
sys/sys/tree.h
385
attr struct type *name##_RB_INSERT(struct name *, struct type *); \
sys/sys/tree.h
386
attr struct type *name##_RB_FIND(struct name *, struct type *); \
sys/sys/tree.h
387
attr struct type *name##_RB_NFIND(struct name *, struct type *); \
sys/sys/tree.h
388
attr struct type *name##_RB_NEXT(struct type *); \
sys/sys/tree.h
389
attr struct type *name##_RB_PREV(struct type *); \
sys/sys/tree.h
390
attr struct type *name##_RB_MINMAX(struct name *, int); \
sys/sys/tree.h
396
#define RB_GENERATE(name, type, field, cmp) \
sys/sys/tree.h
397
RB_GENERATE_INTERNAL(name, type, field, cmp,)
sys/sys/tree.h
398
#define RB_GENERATE_STATIC(name, type, field, cmp) \
sys/sys/tree.h
399
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
sys/sys/tree.h
400
#define RB_GENERATE_INTERNAL(name, type, field, cmp, attr) \
sys/sys/tree.h
402
name##_RB_INSERT_COLOR(struct name *head, struct type *elm) \
sys/sys/tree.h
404
struct type *parent, *gparent, *tmp; \
sys/sys/tree.h
446
name##_RB_REMOVE_COLOR(struct name *head, struct type *parent, struct type *elm) \
sys/sys/tree.h
448
struct type *tmp; \
sys/sys/tree.h
468
struct type *oleft; \
sys/sys/tree.h
501
struct type *oright; \
sys/sys/tree.h
523
attr struct type * \
sys/sys/tree.h
524
name##_RB_REMOVE(struct name *head, struct type *elm) \
sys/sys/tree.h
526
struct type *child, *parent, *old = elm; \
sys/sys/tree.h
533
struct type *left; \
sys/sys/tree.h
58
#define SPLAY_HEAD(name, type) \
sys/sys/tree.h
591
attr struct type * \
sys/sys/tree.h
592
name##_RB_INSERT(struct name *head, struct type *elm) \
sys/sys/tree.h
594
struct type *tmp; \
sys/sys/tree.h
595
struct type *parent = NULL; \
sys/sys/tree.h
60
struct type *sph_root; /* root of the tree */ \
sys/sys/tree.h
622
attr struct type * \
sys/sys/tree.h
623
name##_RB_FIND(struct name *head, struct type *elm) \
sys/sys/tree.h
625
struct type *tmp = RB_ROOT(head); \
sys/sys/tree.h
640
attr struct type * \
sys/sys/tree.h
641
name##_RB_NFIND(struct name *head, struct type *elm) \
sys/sys/tree.h
643
struct type *tmp = RB_ROOT(head); \
sys/sys/tree.h
644
struct type *res = NULL; \
sys/sys/tree.h
661
attr struct type * \
sys/sys/tree.h
662
name##_RB_NEXT(struct type *elm) \
sys/sys/tree.h
683
attr struct type * \
sys/sys/tree.h
684
name##_RB_PREV(struct type *elm) \
sys/sys/tree.h
70
#define SPLAY_ENTRY(type) \
sys/sys/tree.h
704
attr struct type * \
sys/sys/tree.h
707
struct type *tmp = RB_ROOT(head); \
sys/sys/tree.h
708
struct type *parent = NULL; \
sys/sys/tree.h
72
struct type *spe_left; /* left element */ \
sys/sys/tree.h
73
struct type *spe_right; /* right element */ \
sys/sys/videoio.h
1153
#define V4L2_TYPE_IS_MULTIPLANAR(type) \
sys/sys/videoio.h
1154
((type) == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE \
sys/sys/videoio.h
1155
|| (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE)
sys/sys/videoio.h
1157
#define V4L2_TYPE_IS_OUTPUT(type) \
sys/sys/videoio.h
1158
((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT \
sys/sys/videoio.h
1159
|| (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE \
sys/sys/videoio.h
1160
|| (type) == V4L2_BUF_TYPE_VIDEO_OVERLAY \
sys/sys/videoio.h
1161
|| (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY \
sys/sys/videoio.h
1162
|| (type) == V4L2_BUF_TYPE_VBI_OUTPUT \
sys/sys/videoio.h
1163
|| (type) == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT \
sys/sys/videoio.h
1164
|| (type) == V4L2_BUF_TYPE_SDR_OUTPUT)
sys/sys/videoio.h
1699
u_int32_t type; /* enum v4l2_buf_type */
sys/sys/videoio.h
1736
u_int32_t type; /* Frame size type the device supports. */
sys/sys/videoio.h
1766
u_int32_t type; /* Frame interval type the device supports. */
sys/sys/videoio.h
1780
u_int32_t type;
sys/sys/videoio.h
1838
u_int32_t type; /* enum v4l2_buf_type */
sys/sys/videoio.h
1907
u_int32_t type;
sys/sys/videoio.h
1931
enum v4l2_buf_type type;
sys/sys/videoio.h
2003
u_int32_t type; /* enum v4l2_buf_type */
sys/sys/videoio.h
2093
u_int32_t type; /* enum v4l2_buf_type */
sys/sys/videoio.h
2100
u_int32_t type; /* enum v4l2_buf_type */
sys/sys/videoio.h
2118
u_int32_t type;
sys/sys/videoio.h
2423
u_int32_t type;
sys/sys/videoio.h
2487
u_int32_t type;
sys/sys/videoio.h
2503
u_int32_t type; /* Type of input */
sys/sys/videoio.h
2555
u_int32_t type; /* Type of output */
sys/sys/videoio.h
2641
u_int32_t type; /* enum v4l2_ctrl_type */
sys/sys/videoio.h
2654
u_int32_t type;
sys/sys/videoio.h
2707
u_int32_t type; /* enum v4l2_tuner_type */
sys/sys/videoio.h
2725
u_int32_t type; /* enum v4l2_tuner_type */
sys/sys/videoio.h
2763
u_int32_t type; /* enum v4l2_tuner_type */
sys/sys/videoio.h
2774
u_int32_t type; /* enum v4l2_tuner_type */
sys/sys/videoio.h
2785
u_int32_t type; /* enum v4l2_tuner_type */
sys/sys/videoio.h
3002
u_int32_t type; /* enum v4l2_buf_type */
sys/sys/videoio.h
3133
u_int32_t type;
sys/sys/videoio.h
3148
u_int32_t type; /* enum v4l2_buf_type */
sys/sys/videoio.h
3182
u_int32_t type;
sys/sys/videoio.h
3220
u_int32_t type;
sys/sys/videoio.h
3240
u_int32_t type;
sys/sys/videoio.h
3265
u_int32_t type; /* Match type */
sys/sys/vnode.h
525
#define VOPARG_OFFSETOF(type, member) offsetof(type, member)
sys/sys/vnode.h
526
#define VOPARG_OFFSETTO(type,offset,sp) ((type)(((char *)(sp)) + (offset)))
sys/ufs/chfs/chfs.h
197
enum chtype type; /* type of the dirent */
sys/ufs/chfs/chfs_build.c
148
dbg(" ->type: %d\n", fd->type);
sys/ufs/chfs/chfs_build.c
345
} else if (fd->type == CHT_DIR) {
sys/ufs/chfs/chfs_build.c
88
if (fd->type == CHT_DIR) {
sys/ufs/chfs/chfs_gc.c
1042
if (le16toh(chfdn.type) != CHFS_NODETYPE_DIRENT)
sys/ufs/chfs/chfs_gc.c
746
switch(le16toh(nhdr->type)) {
sys/ufs/chfs/chfs_scan.c
342
fd->type = dirent->dtype;
sys/ufs/chfs/chfs_scan.c
494
switch (le16toh(nhdr->type)) {
sys/ufs/chfs/chfs_subr.c
136
int namelen, enum chtype type)
sys/ufs/chfs/chfs_subr.c
144
switch (type) {
sys/ufs/chfs/chfs_vnode.c
167
fd->type = chfdn.dtype;
sys/ufs/chfs/chfs_vnode.c
194
struct componentname *cnp, enum vtype type)
sys/ufs/chfs/chfs_vnode.c
224
if (type != VDIR)
sys/ufs/chfs/chfs_vnode.c
235
if (type == VDIR)
sys/ufs/chfs/chfs_vnode.c
249
vp->v_type = type; /* Rest init'd in chfs_loadvnode(). */
sys/ufs/chfs/chfs_vnode.c
288
nfd->type = ip->ch_type;
sys/ufs/chfs/chfs_vnops.c
1419
fd->name, fd->nsize, fd->type);
sys/ufs/chfs/chfs_vnops.c
147
if ((fd->type != CHT_DIR && fd->type != CHT_LNK) && !(cnp->cn_flags
sys/ufs/chfs/chfs_wbuf.c
80
padnode->type = htole16(CHFS_NODETYPE_PADDING);
sys/ufs/chfs/chfs_write.c
185
fdirent->type = htole16(CHFS_NODETYPE_DIRENT);
sys/ufs/chfs/chfs_write.c
194
fdirent->dtype = fd->type;
sys/ufs/chfs/chfs_write.c
305
dnode->type = htole16(CHFS_NODETYPE_DATA);
sys/ufs/chfs/chfs_write.c
415
chfs_do_link(struct chfs_inode *ip, struct chfs_inode *parent, const char *name, int namelen, enum chtype type)
sys/ufs/chfs/chfs_write.c
427
newfd->type = type;
sys/ufs/chfs/chfs_write.c
490
if (fd->type == CHT_DIR && ip->chvc->nlink == 2)
sys/ufs/chfs/chfs_write.c
495
fd->type = CHT_BLANK;
sys/ufs/chfs/chfs_write.c
70
fvnode->type = htole16(CHFS_NODETYPE_VNODE);
sys/ufs/chfs/ebh.c
1625
switch (ebh->flash_if->type) {
sys/ufs/chfs/ebh_misc.h
38
#define CHFS_GET_MEMBER_POS(type, member) \
sys/ufs/chfs/ebh_misc.h
39
((unsigned long)(&((type *)0)->member))
sys/ufs/chfs/ebh_misc.h
46
#define EBH_TREE_DESTROY(name, head, type) \
sys/ufs/chfs/ebh_misc.h
48
type *var, *nxt; \
sys/ufs/chfs/ebh_misc.h
52
kmem_free(var, sizeof(type)); \
sys/ufs/chfs/ebh_misc.h
57
#define EBH_TREE_DESTROY_MUTEX(name, head, type) \
sys/ufs/chfs/ebh_misc.h
59
type *var, *nxt; \
sys/ufs/chfs/ebh_misc.h
64
kmem_free(var, sizeof(type)); \
sys/ufs/chfs/ebh_misc.h
71
#define EBH_QUEUE_DESTROY(head, type, entry) \
sys/ufs/chfs/ebh_misc.h
73
type *var; \
sys/ufs/chfs/ebh_misc.h
76
kmem_free(var, sizeof(type)); \
sys/ufs/chfs/media.h
100
le16 type; /* node type (should be CHFS_NODETYPE_DATA) */
sys/ufs/chfs/media.h
119
le16 type; /* node type (should be CHFS_NODETYPE_DIRENT) */
sys/ufs/chfs/media.h
138
le16 type; /* node type (should be CHFS_NODETYPE_PADDING )*/
sys/ufs/chfs/media.h
71
le16 type; /* node type */
sys/ufs/chfs/media.h
80
le16 type; /* node type (should be CHFS_NODETYPE_VNODE) */
sys/ufs/ext2fs/ext2fs_dir.h
148
inot2ext2dt(uint16_t type)
sys/ufs/ext2fs/ext2fs_dir.h
151
switch (type) {
sys/ufs/ext2fs/ext2fs_dir.h
173
ext2dt2dt(uint8_t type)
sys/ufs/ext2fs/ext2fs_dir.h
175
switch (type) {
sys/ufs/ext2fs/ext2fs_extents.c
166
ext4_ext_put_cache(struct inode *ip, struct ext4_extent *ep, int type)
sys/ufs/ext2fs/ext2fs_extents.c
171
ecp->ec_type = type;
sys/ufs/lfs/lfs_accessors.h
1067
#define LFS_DEF_SS_ACCESSOR(type, type32, field) \
sys/ufs/lfs/lfs_accessors.h
1068
static __inline type \
sys/ufs/lfs/lfs_accessors.h
1078
lfs_ss_set##field(STRUCT_LFS *fs, SEGSUM *ssp, type val) \
sys/ufs/lfs/lfs_accessors.h
1081
type *p = &ssp->u_64.ss_##field; \
sys/ufs/lfs/lfs_accessors.h
1149
#define LFS_DEF_SB_ACCESSOR_FULL(type, type32, field) \
sys/ufs/lfs/lfs_accessors.h
1150
static __inline type \
sys/ufs/lfs/lfs_accessors.h
1160
lfs_sb_set##field(STRUCT_LFS *fs, type val) \
sys/ufs/lfs/lfs_accessors.h
1169
lfs_sb_add##field(STRUCT_LFS *fs, type val) \
sys/ufs/lfs/lfs_accessors.h
1172
type *p64 = &fs->lfs_dlfs_u.u_64.dlfs_##field; \
sys/ufs/lfs/lfs_accessors.h
1180
lfs_sb_sub##field(STRUCT_LFS *fs, type val) \
sys/ufs/lfs/lfs_accessors.h
1183
type *p64 = &fs->lfs_dlfs_u.u_64.dlfs_##field; \
sys/ufs/lfs/lfs_accessors.h
1193
#define LFS_DEF_SB_ACCESSOR_32ONLY(type, field, val64) \
sys/ufs/lfs/lfs_accessors.h
1194
static __inline type \
sys/ufs/lfs/lfs_accessors.h
366
lfs_dir_settype(const STRUCT_LFS *fs, LFS_DIRHEADER *dh, uint8_t type)
sys/ufs/lfs/lfs_accessors.h
370
dh->u_64.dh_type = type;
sys/ufs/lfs/lfs_accessors.h
375
dh->u_32.dh_type = type;
sys/ufs/lfs/lfs_accessors.h
465
#define LFS_DEF_DINO_ACCESSOR(type, type32, field) \
sys/ufs/lfs/lfs_accessors.h
466
static __inline type \
sys/ufs/lfs/lfs_accessors.h
470
return LFS_SWAP_##type(fs, dip->u_64.di_##field); \
sys/ufs/lfs/lfs_accessors.h
476
lfs_dino_set##field(STRUCT_LFS *fs, union lfs_dinode *dip, type val) \
sys/ufs/lfs/lfs_accessors.h
479
type *p = &dip->u_64.di_##field; \
sys/ufs/lfs/lfs_accessors.h
481
dip->u_64.di_##field = LFS_SWAP_##type(fs, val); \
sys/ufs/lfs/lfs_accessors.h
723
#define LFS_DEF_FI_ACCESSOR(type, type32, field) \
sys/ufs/lfs/lfs_accessors.h
724
static __inline type \
sys/ufs/lfs/lfs_accessors.h
734
lfs_fi_set##field(STRUCT_LFS *fs, FINFO *fip, type val) \
sys/ufs/lfs/lfs_accessors.h
737
type *p = &fip->u_64.fi_##field; \
sys/ufs/lfs/lfs_accessors.h
876
#define LFS_DEF_IF_ACCESSOR(type, type32, field) \
sys/ufs/lfs/lfs_accessors.h
877
static __inline type \
sys/ufs/lfs/lfs_accessors.h
887
lfs_if_set##field(STRUCT_LFS *fs, IFILE *ifp, type val) \
sys/ufs/lfs/lfs_accessors.h
890
type *p = &ifp->u_64.if_##field; \
sys/ufs/lfs/lfs_accessors.h
915
#define LFS_DEF_CI_ACCESSOR(type, type32, field) \
sys/ufs/lfs/lfs_accessors.h
916
static __inline type \
sys/ufs/lfs/lfs_accessors.h
926
lfs_ci_set##field(STRUCT_LFS *fs, CLEANERINFO *cip, type val) \
sys/ufs/lfs/lfs_accessors.h
929
type *p = &cip->u_64.field; \
sys/ufs/lfs/lfs_bio.c
757
lfs_newbuf(struct lfs *fs, struct vnode *vp, daddr_t daddr, size_t size, int type)
sys/ufs/lfs/lfs_bio.c
767
bp->b_data = lfs_malloc(fs, nbytes, type);
sys/ufs/lfs/lfs_subr.c
185
lfs_malloc(struct lfs *fs, size_t size, int type)
sys/ufs/lfs/lfs_subr.c
196
if (lfs_res_qty[type] == 0) {
sys/ufs/lfs/lfs_subr.c
215
for (i = 0, start = 0; i < type; i++)
sys/ufs/lfs/lfs_subr.c
218
for (i = 0; i < lfs_res_qty[type]; i++) {
sys/ufs/lfs/lfs_subr.c
231
lfs_res_names[type], lfs_res_qty[type]));
sys/ufs/lfs/lfs_subr.c
235
lfs_res_names[type]));
sys/ufs/lfs/lfs_subr.c
243
lfs_free(struct lfs *fs, void *p, int type)
sys/ufs/lfs/ulfs_quota.c
806
lfs_dqget(struct vnode *vp, u_long id, struct ulfsmount *ump, int type,
sys/ufs/lfs/ulfs_quota.c
822
dqvp = ump->um_quotas[type];
sys/ufs/lfs/ulfs_quota.c
825
if (dqvp == NULLVP || (ump->umq1_qflags[type] & QTF_CLOSING)) {
sys/ufs/lfs/ulfs_quota.c
868
ndq->dq_type = type;
sys/ufs/lfs/ulfs_quota.c
894
error = lfs_dq1get(dqvp, id, ump, type, dq);
sys/ufs/lfs/ulfs_quota.c
898
error = lfs_dq2get(dqvp, id, ump, type, dq);
sys/ufs/lfs/ulfs_quota1.c
120
chkdqchg(struct inode *ip, int64_t change, kauth_cred_t cred, int type)
sys/ufs/lfs/ulfs_quota1.c
122
struct dquot *dq = ip->i_dquot[type];
sys/ufs/lfs/ulfs_quota1.c
134
lfs_quotatypes[type]);
sys/ufs/lfs/ulfs_quota1.c
146
time_second + ip->i_ump->umq1_btime[type];
sys/ufs/lfs/ulfs_quota1.c
150
lfs_quotatypes[type], "disk quota exceeded");
sys/ufs/lfs/ulfs_quota1.c
158
lfs_quotatypes[type],
sys/ufs/lfs/ulfs_quota1.c
227
chkiqchg(struct inode *ip, int32_t change, kauth_cred_t cred, int type)
sys/ufs/lfs/ulfs_quota1.c
229
struct dquot *dq = ip->i_dquot[type];
sys/ufs/lfs/ulfs_quota1.c
241
lfs_quotatypes[type]);
sys/ufs/lfs/ulfs_quota1.c
253
time_second + ip->i_ump->umq1_itime[type];
sys/ufs/lfs/ulfs_quota1.c
257
lfs_quotatypes[type], "inode quota exceeded");
sys/ufs/lfs/ulfs_quota1.c
265
lfs_quotatypes[type],
sys/ufs/lfs/ulfs_quota1.c
305
lfsquota1_handle_cmd_quotaon(struct lwp *l, struct ulfsmount *ump, int type,
sys/ufs/lfs/ulfs_quota1.c
322
vpp = &ump->um_quotas[type];
sys/ufs/lfs/ulfs_quota1.c
341
lfsquota1_handle_cmd_quotaoff(l, ump, type);
sys/ufs/lfs/ulfs_quota1.c
343
while ((ump->umq1_qflags[type] & (QTF_CLOSING | QTF_OPENING)) != 0)
sys/ufs/lfs/ulfs_quota1.c
345
ump->umq1_qflags[type] |= QTF_OPENING;
sys/ufs/lfs/ulfs_quota1.c
355
ump->um_cred[type] = l->l_cred;
sys/ufs/lfs/ulfs_quota1.c
356
ump->umq1_btime[type] = MAX_DQ_TIME;
sys/ufs/lfs/ulfs_quota1.c
357
ump->umq1_itime[type] = MAX_IQ_TIME;
sys/ufs/lfs/ulfs_quota1.c
358
if (lfs_dqget(NULLVP, 0, ump, type, &dq) == 0) {
sys/ufs/lfs/ulfs_quota1.c
360
ump->umq1_btime[type] = dq->dq_btime;
sys/ufs/lfs/ulfs_quota1.c
362
ump->umq1_itime[type] = dq->dq_itime;
sys/ufs/lfs/ulfs_quota1.c
394
ump->umq1_qflags[type] &= ~QTF_OPENING;
sys/ufs/lfs/ulfs_quota1.c
400
lfsquota1_handle_cmd_quotaoff(l, ump, type);
sys/ufs/lfs/ulfs_quota1.c
408
lfsquota1_handle_cmd_quotaoff(struct lwp *l, struct ulfsmount *ump, int type)
sys/ufs/lfs/ulfs_quota1.c
421
while ((ump->umq1_qflags[type] & (QTF_CLOSING | QTF_OPENING)) != 0)
sys/ufs/lfs/ulfs_quota1.c
423
if ((qvp = ump->um_quotas[type]) == NULLVP) {
sys/ufs/lfs/ulfs_quota1.c
427
ump->umq1_qflags[type] |= QTF_CLOSING;
sys/ufs/lfs/ulfs_quota1.c
446
dq = ip->i_dquot[type];
sys/ufs/lfs/ulfs_quota1.c
447
ip->i_dquot[type] = NODQUOT;
sys/ufs/lfs/ulfs_quota1.c
458
ump->um_quotas[type] = NULLVP;
sys/ufs/lfs/ulfs_quota1.c
459
cred = ump->um_cred[type];
sys/ufs/lfs/ulfs_quota1.c
460
ump->um_cred[type] = NOCRED;
sys/ufs/lfs/ulfs_quota1.c
464
ump->umq1_qflags[type] &= ~QTF_CLOSING;
sys/ufs/lfs/ulfs_quota1.c
646
setquota1(struct mount *mp, u_long id, int type, struct dqblk *dqb)
sys/ufs/lfs/ulfs_quota1.c
653
if ((error = lfs_dqget(NULLVP, id, ump, type, &ndq)) != 0)
sys/ufs/lfs/ulfs_quota1.c
671
dqb->dqb_btime = time_second + ump->umq1_btime[type];
sys/ufs/lfs/ulfs_quota1.c
675
dqb->dqb_itime = time_second + ump->umq1_itime[type];
sys/ufs/lfs/ulfs_quota1.c
696
setuse(struct mount *mp, u_long id, int type, void *addr)
sys/ufs/lfs/ulfs_quota1.c
707
if ((error = lfs_dqget(NULLVP, id, ump, type, &ndq)) != 0)
sys/ufs/lfs/ulfs_quota1.c
717
dq->dq_btime = time_second + ump->umq1_btime[type];
sys/ufs/lfs/ulfs_quota1.c
720
dq->dq_itime = time_second + ump->umq1_itime[type];
sys/ufs/lfs/ulfs_quota1.c
791
lfs_dq1get(struct vnode *dqvp, u_long id, struct ulfsmount *ump, int type,
sys/ufs/lfs/ulfs_quota1.c
808
error = VOP_READ(dqvp, &auio, 0, ump->um_cred[type]);
sys/ufs/lfs/ulfs_quota1.c
827
dq->dq_btime = time_second + ump->umq1_btime[type];
sys/ufs/lfs/ulfs_quota1.c
829
dq->dq_itime = time_second + ump->umq1_itime[type];
sys/ufs/lfs/ulfs_quota1.h
72
#define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK))
sys/ufs/lfs/ulfs_quota2.c
142
getq2h(struct ulfsmount *ump, int type,
sys/ufs/lfs/ulfs_quota2.c
152
error = bread(ump->um_quotas[type], 0, ump->umq2_bsize, flags, &bp);
sys/ufs/lfs/ulfs_quota2.c
1526
lfs_dq2get(struct vnode *dqvp, u_long id, struct ulfsmount *ump, int type,
sys/ufs/lfs/ulfs_quota2.c
1541
error = getq2h(ump, type, &bp, &q2h, 0);
sys/ufs/lfs/ulfs_quota2.c
1547
error = quota2_walk_list(ump, bp, type, &offset, 0, (void *)&c,
sys/ufs/lfs/ulfs_quota2.c
156
panic("dq2get: %s quota file truncated", lfs_quotatypes[type]);
sys/ufs/lfs/ulfs_quota2.c
160
q2h->q2h_type != type)
sys/ufs/lfs/ulfs_quota2.c
161
panic("dq2get: corrupted %s quota header", lfs_quotatypes[type]);
sys/ufs/lfs/ulfs_quota2.c
168
getq2e(struct ulfsmount *ump, int type, daddr_t lblkno, int blkoffset,
sys/ufs/lfs/ulfs_quota2.c
176
lfs_quotatypes[type]);
sys/ufs/lfs/ulfs_quota2.c
178
error = bread(ump->um_quotas[type], lblkno, ump->umq2_bsize, flags, &bp);
sys/ufs/lfs/ulfs_quota2.c
183
lfs_quotatypes[type]);
sys/ufs/lfs/ulfs_quota2.c
194
quota2_walk_list(struct ulfsmount *ump, struct buf *hbp, int type,
sys/ufs/lfs/ulfs_quota2.c
218
ret = bread(ump->um_quotas[type], lblkno,
sys/ufs/lfs/ulfs_quota2.c
224
lfs_quotatypes[type]);
sys/ufs/lfs/ulfs_quota2.c
293
quota2_q2ealloc(struct ulfsmount *ump, int type, uid_t uid, struct dquot *dq)
sys/ufs/lfs/ulfs_quota2.c
306
error = getq2h(ump, type, &hbp, &q2h, B_MODIFY);
sys/ufs/lfs/ulfs_quota2.c
311
struct vnode *vp = ump->um_quotas[type];
sys/ufs/lfs/ulfs_quota2.c
316
ump->um_cred[type], B_CLRBUF | B_SYNC, &bp);
sys/ufs/lfs/ulfs_quota2.c
345
error = getq2e(ump, type, dq->dq2_lblkno,
sys/ufs/lfs/ulfs_quota2.h
100
#define FS_Q2_DO_TYPE(type) (0x01 << (type))
sys/ufs/lfs/ulfs_quota2_subr.c
64
lfsquota2_create_blk0(uint64_t bsize, void *bp, int q2h_hash_shift, int type,
sys/ufs/lfs/ulfs_quota2_subr.c
76
q2h->q2h_type = type;
sys/ufs/lfs/ulfs_vfsops.c
163
type = cmds & SUBCMDMASK;
sys/ufs/lfs/ulfs_vfsops.c
166
if ((u_int)type >= MAXQUOTAS)
sys/ufs/lfs/ulfs_vfsops.c
179
error = quotaon(l, mp, type, arg);
sys/ufs/lfs/ulfs_vfsops.c
183
error = quotaoff(l, mp, type);
sys/ufs/lfs/ulfs_vfsops.c
187
error = setquota(mp, uid, type, arg);
sys/ufs/lfs/ulfs_vfsops.c
191
error = setuse(mp, uid, type, arg);
sys/ufs/lfs/ulfs_vfsops.c
195
error = getquota(mp, uid, type, arg);
sys/ufs/ufs/acl.h
45
int ufs_setacl_posix1e(struct vnode *vp, int type, struct acl *aclp,
sys/ufs/ufs/quota1.h
71
#define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK))
sys/ufs/ufs/quota2.h
98
#define FS_Q2_DO_TYPE(type) (0x01 << (type))
sys/ufs/ufs/quota2_subr.c
61
quota2_create_blk0(uint64_t bsize, void *bp, int q2h_hash_shift, int type,
sys/ufs/ufs/quota2_subr.c
73
q2h->q2h_type = type;
sys/ufs/ufs/ufs_acl.c
237
ufs_get_oldacl(acl_type_t type, struct oldacl *old, struct vnode *vp,
sys/ufs/ufs/ufs_acl.c
246
switch (type) {
sys/ufs/ufs/ufs_acl.c
491
ufs_setacl_posix1e(struct vnode *vp, int type, struct acl *aclp,
sys/ufs/ufs/ufs_acl.c
510
error = VOP_ACLCHECK(vp, type, aclp, cred);
sys/ufs/ufs/ufs_acl.c
519
if (type != ACL_TYPE_DEFAULT)
sys/ufs/ufs/ufs_acl.c
540
switch(type) {
sys/ufs/ufs/ufs_acl.c
595
if (type == ACL_TYPE_ACCESS) {
sys/ufs/ufs/ufs_quota.c
793
dqget(struct vnode *vp, u_long id, struct ufsmount *ump, int type,
sys/ufs/ufs/ufs_quota.c
808
dqvp = ump->um_quotas[type];
sys/ufs/ufs/ufs_quota.c
811
if (dqvp == NULLVP || (ump->umq1_qflags[type] & QTF_CLOSING)) {
sys/ufs/ufs/ufs_quota.c
854
ndq->dq_type = type;
sys/ufs/ufs/ufs_quota.c
880
error = dq1get(dqvp, id, ump, type, dq);
sys/ufs/ufs/ufs_quota.c
884
error = dq2get(dqvp, id, ump, type, dq);
sys/ufs/ufs/ufs_quota1.c
122
chkdqchg(struct inode *ip, int64_t change, kauth_cred_t cred, int type)
sys/ufs/ufs/ufs_quota1.c
124
struct dquot *dq = ip->i_dquot[type];
sys/ufs/ufs/ufs_quota1.c
136
quotatypes[type]);
sys/ufs/ufs/ufs_quota1.c
148
time_second + ip->i_ump->umq1_btime[type];
sys/ufs/ufs/ufs_quota1.c
152
quotatypes[type], "disk quota exceeded");
sys/ufs/ufs/ufs_quota1.c
160
quotatypes[type],
sys/ufs/ufs/ufs_quota1.c
230
chkiqchg(struct inode *ip, int32_t change, kauth_cred_t cred, int type)
sys/ufs/ufs/ufs_quota1.c
232
struct dquot *dq = ip->i_dquot[type];
sys/ufs/ufs/ufs_quota1.c
244
quotatypes[type]);
sys/ufs/ufs/ufs_quota1.c
256
time_second + ip->i_ump->umq1_itime[type];
sys/ufs/ufs/ufs_quota1.c
260
quotatypes[type], "inode quota exceeded");
sys/ufs/ufs/ufs_quota1.c
268
quotatypes[type],
sys/ufs/ufs/ufs_quota1.c
307
quota1_handle_cmd_quotaon(struct lwp *l, struct ufsmount *ump, int type,
sys/ufs/ufs/ufs_quota1.c
317
if (type < 0 || type >= MAXQUOTAS)
sys/ufs/ufs/ufs_quota1.c
332
vpp = &ump->um_quotas[type];
sys/ufs/ufs/ufs_quota1.c
351
quota1_handle_cmd_quotaoff(l, ump, type);
sys/ufs/ufs/ufs_quota1.c
353
while ((ump->umq1_qflags[type] & (QTF_CLOSING | QTF_OPENING)) != 0)
sys/ufs/ufs/ufs_quota1.c
355
ump->umq1_qflags[type] |= QTF_OPENING;
sys/ufs/ufs/ufs_quota1.c
365
ump->um_cred[type] = l->l_cred;
sys/ufs/ufs/ufs_quota1.c
366
ump->umq1_btime[type] = MAX_DQ_TIME;
sys/ufs/ufs/ufs_quota1.c
367
ump->umq1_itime[type] = MAX_IQ_TIME;
sys/ufs/ufs/ufs_quota1.c
368
if (dqget(NULLVP, 0, ump, type, &dq) == 0) {
sys/ufs/ufs/ufs_quota1.c
370
ump->umq1_btime[type] = dq->dq_btime;
sys/ufs/ufs/ufs_quota1.c
372
ump->umq1_itime[type] = dq->dq_itime;
sys/ufs/ufs/ufs_quota1.c
404
ump->umq1_qflags[type] &= ~QTF_OPENING;
sys/ufs/ufs/ufs_quota1.c
410
quota1_handle_cmd_quotaoff(l, ump, type);
sys/ufs/ufs/ufs_quota1.c
418
quota1_handle_cmd_quotaoff(struct lwp *l, struct ufsmount *ump, int type)
sys/ufs/ufs/ufs_quota1.c
429
if (type < 0 || type >= MAXQUOTAS)
sys/ufs/ufs/ufs_quota1.c
433
while ((ump->umq1_qflags[type] & (QTF_CLOSING | QTF_OPENING)) != 0)
sys/ufs/ufs/ufs_quota1.c
435
if ((qvp = ump->um_quotas[type]) == NULLVP) {
sys/ufs/ufs/ufs_quota1.c
439
ump->umq1_qflags[type] |= QTF_CLOSING;
sys/ufs/ufs/ufs_quota1.c
457
dq = ip->i_dquot[type];
sys/ufs/ufs/ufs_quota1.c
458
ip->i_dquot[type] = NODQUOT;
sys/ufs/ufs/ufs_quota1.c
469
ump->um_quotas[type] = NULLVP;
sys/ufs/ufs/ufs_quota1.c
470
cred = ump->um_cred[type];
sys/ufs/ufs/ufs_quota1.c
471
ump->um_cred[type] = NOCRED;
sys/ufs/ufs/ufs_quota1.c
475
ump->umq1_qflags[type] &= ~QTF_CLOSING;
sys/ufs/ufs/ufs_quota1.c
659
setquota1(struct mount *mp, u_long id, int type, struct dqblk *dqb)
sys/ufs/ufs/ufs_quota1.c
666
if ((error = dqget(NULLVP, id, ump, type, &ndq)) != 0)
sys/ufs/ufs/ufs_quota1.c
684
dqb->dqb_btime = time_second + ump->umq1_btime[type];
sys/ufs/ufs/ufs_quota1.c
688
dqb->dqb_itime = time_second + ump->umq1_itime[type];
sys/ufs/ufs/ufs_quota1.c
709
setuse(struct mount *mp, u_long id, int type, void *addr)
sys/ufs/ufs/ufs_quota1.c
720
if ((error = dqget(NULLVP, id, ump, type, &ndq)) != 0)
sys/ufs/ufs/ufs_quota1.c
730
dq->dq_btime = time_second + ump->umq1_btime[type];
sys/ufs/ufs/ufs_quota1.c
733
dq->dq_itime = time_second + ump->umq1_itime[type];
sys/ufs/ufs/ufs_quota1.c
804
dq1get(struct vnode *dqvp, u_long id, struct ufsmount *ump, int type,
sys/ufs/ufs/ufs_quota1.c
821
error = VOP_READ(dqvp, &auio, 0, ump->um_cred[type]);
sys/ufs/ufs/ufs_quota1.c
840
dq->dq_btime = time_second + ump->umq1_btime[type];
sys/ufs/ufs/ufs_quota1.c
842
dq->dq_itime = time_second + ump->umq1_itime[type];
sys/ufs/ufs/ufs_quota2.c
140
getq2h(struct ufsmount *ump, int type,
sys/ufs/ufs/ufs_quota2.c
149
error = bread(ump->um_quotas[type], 0, ump->umq2_bsize,
sys/ufs/ufs/ufs_quota2.c
1530
dq2get(struct vnode *dqvp, u_long id, struct ufsmount *ump, int type,
sys/ufs/ufs/ufs_quota2.c
154
panic("dq2get: %s quota file truncated", quotatypes[type]);
sys/ufs/ufs/ufs_quota2.c
1545
error = getq2h(ump, type, &bp, &q2h, 0);
sys/ufs/ufs/ufs_quota2.c
1551
error = quota2_walk_list(ump, bp, type, &offset, 0, (void *)&c,
sys/ufs/ufs/ufs_quota2.c
158
q2h->q2h_type != type)
sys/ufs/ufs/ufs_quota2.c
159
panic("dq2get: corrupted %s quota header", quotatypes[type]);
sys/ufs/ufs/ufs_quota2.c
166
getq2e(struct ufsmount *ump, int type, daddr_t lblkno, int blkoffset,
sys/ufs/ufs/ufs_quota2.c
174
quotatypes[type]);
sys/ufs/ufs/ufs_quota2.c
176
error = bread(ump->um_quotas[type], lblkno, ump->umq2_bsize,
sys/ufs/ufs/ufs_quota2.c
182
quotatypes[type]);
sys/ufs/ufs/ufs_quota2.c
193
quota2_walk_list(struct ufsmount *ump, struct buf *hbp, int type,
sys/ufs/ufs/ufs_quota2.c
217
ret = bread(ump->um_quotas[type], lblkno,
sys/ufs/ufs/ufs_quota2.c
223
__func__, quotatypes[type]);
sys/ufs/ufs/ufs_quota2.c
291
quota2_q2ealloc(struct ufsmount *ump, int type, uid_t uid, struct dquot *dq)
sys/ufs/ufs/ufs_quota2.c
303
error = getq2h(ump, type, &hbp, &q2h, B_MODIFY);
sys/ufs/ufs/ufs_quota2.c
308
struct vnode *vp = ump->um_quotas[type];
sys/ufs/ufs/ufs_quota2.c
313
ump->um_cred[type], B_CLRBUF | B_SYNC, &bp);
sys/ufs/ufs/ufs_quota2.c
342
error = getq2e(ump, type, dq->dq2_lblkno,
sys/ufs/ufs/ufs_vfsops.c
187
type = cmds & SUBCMDMASK;
sys/ufs/ufs/ufs_vfsops.c
190
if ((u_int)type >= MAXQUOTAS)
sys/ufs/ufs/ufs_vfsops.c
203
error = quotaon(l, mp, type, arg);
sys/ufs/ufs/ufs_vfsops.c
207
error = quotaoff(l, mp, type);
sys/ufs/ufs/ufs_vfsops.c
211
error = setquota(mp, uid, type, arg);
sys/ufs/ufs/ufs_vfsops.c
215
error = setuse(mp, uid, type, arg);
sys/ufs/ufs/ufs_vfsops.c
219
error = getquota(mp, uid, type, arg);
sys/ufs/ufs/ufs_vnops.c
343
acl_type_t type;
sys/ufs/ufs/ufs_vnops.c
353
type = ACL_TYPE_NFS4;
sys/ufs/ufs/ufs_vnops.c
355
type = ACL_TYPE_ACCESS;
sys/ufs/ufs/ufs_vnops.c
358
if (type == ACL_TYPE_NFS4)
sys/ufs/ufs/ufs_vnops.c
361
error = VOP_GETACL(vp, type, acl, ap->a_cred);
sys/ufs/ufs/ufs_vnops.c
363
if (type == ACL_TYPE_NFS4) {
sys/uvm/uvm_map.c
200
#define UVM_ET_ISCOMPATIBLE(ent, type, uobj, meflags, \
sys/uvm/uvm_map.c
202
((ent)->etype == (type) && \
sys/uvm/uvm_map.c
4929
#define UVM_VOADDR_SET_OBJECT(voa, obj, type) \
sys/uvm/uvm_map.c
4932
(voa)->object = ((uintptr_t)(obj)) | (type); \
tests/dev/audio/audiotest.c
1358
(0 <= di.type && di.type <= 3) ? typename[di.type] : "",
tests/dev/audio/audiotest.c
1359
di.type, di.mixer_class, di.label.name);
tests/dev/audio/audiotest.c
1360
if (di.type == AUDIO_MIXER_CLASS &&
tests/dev/audio/audiotest.c
1366
if (di.type == AUDIO_MIXER_VALUE &&
tests/dev/audio/audiotest.c
5539
m.type = AUDIO_MIXER_VALUE;
tests/fs/common/h_fsmacros.h
110
#define ATF_TC_FSADD(fs,type,func,desc) \
tests/fs/common/h_fsmacros.h
114
atf_tc_set_md_var(tc, "descr", type " test for " desc); \
tests/fs/common/h_fsmacros.h
116
atf_tc_set_md_var(tc, "X-fs.mntname", type); \
tests/fs/puffs/h_dtfs/dtfs_subr.c
108
dtfs_baseattrs(&newpn->pn_va, type, dtm->dtm_nextfileid++);
tests/fs/puffs/h_dtfs/dtfs_subr.c
43
dtfs_baseattrs(struct vattr *vap, enum vtype type, ino_t id)
tests/fs/puffs/h_dtfs/dtfs_subr.c
51
vap->va_type = type;
tests/fs/puffs/h_dtfs/dtfs_subr.c
52
if (type == VDIR) {
tests/fs/puffs/h_dtfs/dtfs_subr.c
82
enum vtype type)
tests/fs/puffs/h_dtfs/dtfs_subr.c
98
if (type == VDIR) {
tests/lib/libc/db/h_db.c
146
type = dbtype(*argv++);
tests/lib/libc/db/h_db.c
159
infop = setinfo(type, p);
tests/lib/libc/db/h_db.c
177
oflags, S_IRUSR | S_IWUSR, type, infop)) == NULL)
tests/lib/libc/db/h_db.c
266
if (type != DB_RECNO)
tests/lib/libc/db/h_db.c
273
if (type == DB_RECNO)
tests/lib/libc/db/h_db.c
280
if (type == DB_RECNO) {
tests/lib/libc/db/h_db.c
296
if (type != DB_RECNO)
tests/lib/libc/db/h_db.c
305
if ((type != DB_RECNO) && (flags != R_CURSOR))
tests/lib/libc/db/h_db.c
311
if ((type != DB_RECNO) && (flags != R_CURSOR))
tests/lib/libc/db/h_db.c
339
if (type == DB_BTREE && oflags & DB_LOCK)
tests/lib/libc/db/h_db.c
89
static DBTYPE type; /* Database type. */
tests/lib/libc/gen/t_glob.c
143
dir.d_type = f->type == 'd' ? DT_DIR : DT_REG;
tests/lib/libc/gen/t_glob.c
176
ATF_CHECK(f->type != 'd'); // handled above
tests/lib/libc/gen/t_glob.c
60
char type; /* 'd' or '-', like in ls(1) */
tests/lib/libc/misc/t_ubsan.c
256
#define INVALID_BUILTIN(type) \
tests/lib/libc/misc/t_ubsan.c
257
UBSAN_TC(invalid_builtin_##type); \
tests/lib/libc/misc/t_ubsan.c
258
UBSAN_TC_HEAD(invalid_builtin_##type, tc) \
tests/lib/libc/misc/t_ubsan.c
265
test_invalid_builtin_##type(void) \
tests/lib/libc/misc/t_ubsan.c
269
volatile int b = __builtin_##type(a); \
tests/lib/libc/misc/t_ubsan.c
273
UBSAN_TC_BODY(invalid_builtin_##type, tc) \
tests/lib/libc/misc/t_ubsan.c
276
test_case(test_invalid_builtin_##type, \
tests/lib/libc/net/h_hostent.c
114
const char *type = "any";
tests/lib/libc/net/h_hostent.c
146
type = optarg;
tests/lib/libc/net/h_hostent.c
159
switch (*type) {
tests/lib/libc/net/h_hostent.c
174
errx(EXIT_FAILURE, "Unknown db type `%s'", type);
tests/lib/libc/net/h_hostent.c
183
if (*type == 'a')
tests/lib/libc/net/h_hostent.c
188
if (*type == 'a')
tests/lib/libc/regex/main.c
255
const char *type = (opts & REG_EXTENDED) ? "ERE" : "BRE";
tests/lib/libc/regex/main.c
271
line, type, eprint(err), len,
tests/lib/libc/regex/main.c
277
line, type, f2);
tests/lib/libc/regex/main.c
302
line, type, eprint(err), len,
tests/lib/libc/regex/main.c
310
line, type);
tests/lib/libc/regex/main.c
316
fprintf(stderr, "%d: %s %s\n", line, type, grump);
tests/lib/libc/regex/main.c
337
type, i, grump);
tests/lib/libc/regex/main.c
351
options(int type, char *s)
tests/lib/libc/regex/main.c
354
int o = (type == 'c') ? copts : eopts;
tests/lib/libc/regex/main.c
355
const char *legal = (type == 'c') ? "bisnmpg" : "^$#tl";
tests/lib/libc/regex/t_exhaust.c
197
int type;
tests/lib/libc/regex/t_exhaust.c
224
e = regcomp(&re, patterns[i], tests[i].type);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
110
switch (type) {
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
116
io.piod_offs = (type == BYTES_TRANSFER_TEXTIO) ?
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
123
io.piod_offs = (type == BYTES_TRANSFER_TEXTIO) ?
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
130
io.piod_offs = (type == BYTES_TRANSFER_TEXTIO) ?
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
137
io.piod_offs = (type == BYTES_TRANSFER_TEXTIO) ?
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
163
switch (type) {
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
206
switch (type) {
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
286
switch (type) {
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
327
switch (type) {
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
444
#define BYTES_TRANSFER(test, operation, size, type) \
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
450
" of type " #type); \
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
456
bytes_transfer(operation, size, BYTES_TRANSFER_##type); \
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
56
bytes_transfer(int operation, size_t size, enum bytes_transfer_type type)
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
85
switch (type) {
tests/lib/libc/sys/t_ptrace_kill_wait.h
30
ptrace_kill(const char *type)
tests/lib/libc/sys/t_ptrace_kill_wait.h
58
DPRINTF("Before killing the child process with %s\n", type);
tests/lib/libc/sys/t_ptrace_kill_wait.h
59
if (strcmp(type, "ptrace(PT_KILL)") == 0) {
tests/lib/libc/sys/t_ptrace_kill_wait.h
61
} else if (strcmp(type, "kill(SIGKILL)") == 0) {
tests/lib/libc/sys/t_ptrace_kill_wait.h
63
} else if (strcmp(type, "killpg(SIGKILL)") == 0) {
tests/lib/libc/sys/t_ptrace_kill_wait.h
77
#define PTRACE_KILL(test, type) \
tests/lib/libc/sys/t_ptrace_kill_wait.h
82
"Verify killing the child with " type); \
tests/lib/libc/sys/t_ptrace_kill_wait.h
88
ptrace_kill(type); \
tests/lib/libc/sys/t_ptrace_topology_wait.h
533
tracee_sees_its_original_parent(enum tracee_sees_its_original_parent_type type)
tests/lib/libc/sys/t_ptrace_topology_wait.h
557
if (type == TRACEE_SEES_ITS_ORIGINAL_PARENT_PROCFS_STATUS) {
tests/lib/libc/sys/t_ptrace_topology_wait.h
575
switch (type) {
tests/lib/libc/sys/t_ptrace_topology_wait.h
675
#define TRACEE_SEES_ITS_ORIGINAL_PARENT(test, type, descr) \
tests/lib/libc/sys/t_ptrace_topology_wait.h
687
tracee_sees_its_original_parent(type); \
tests/lib/libc/sys/t_sendmmsg.c
70
setsock(int fd, int type)
tests/lib/libc/sys/t_sendmmsg.c
75
ATF_REQUIRE_MSG(setsockopt(fd, SOL_SOCKET, type,
tests/lib/libc/sys/t_sendmmsg.c
77
type == SO_RCVBUF ? "rcv" : "snd", strerror(errno));
tests/lib/libcurses/director/testlang_parse.y
112
data_enum_t type;
tests/lib/libcurses/director/testlang_parse.y
1228
vars[command.returns[i].data_index].type =
tests/lib/libcurses/director/testlang_parse.y
1277
command.returns[1].data_type = vptr->type;
tests/lib/libcurses/director/testlang_parse.y
1279
if (vptr->type != data_cchar)
tests/lib/libcurses/director/testlang_parse.y
1295
(vars[command.returns[0].data_index].type != data_byte)))
tests/lib/libcurses/director/testlang_parse.y
1297
enum_names[vars[command.returns[0].data_index].type],
tests/lib/libcurses/director/testlang_parse.y
1298
vars[command.returns[0].data_index].type,
tests/lib/libcurses/director/testlang_parse.y
1305
validate_type(vars[command.returns[0].data_index].type,
tests/lib/libcurses/director/testlang_parse.y
1335
retvar.data_type = vptr->type;
tests/lib/libcurses/director/testlang_parse.y
1552
enum_names[varp->type],
tests/lib/libcurses/director/testlang_parse.y
1553
(varp->type != data_cchar && varp->type != data_wchar)
tests/lib/libcurses/director/testlang_parse.y
1557
switch (varp->type) {
tests/lib/libcurses/director/testlang_parse.y
1835
validate_variable(int ret, data_enum_t type, const void *value, int i,
tests/lib/libcurses/director/testlang_parse.y
1848
if (varptr->type != type)
tests/lib/libcurses/director/testlang_parse.y
1851
if (type != data_byte) {
tests/lib/libcurses/director/testlang_parse.y
1918
write_cmd_pipe_args(data_enum_t type, void *data)
tests/lib/libcurses/director/testlang_parse.y
1926
switch (type) {
tests/lib/libcurses/director/testlang_parse.y
1932
switch (var_data->type) {
tests/lib/libcurses/director/testlang_parse.y
1964
if (type == data_byte)
tests/lib/libcurses/director/testlang_parse.y
2010
int len, type;
tests/lib/libcurses/director/testlang_parse.y
2040
if (read(from_slave, &type, sizeof(int)) < 0)
tests/lib/libcurses/director/testlang_parse.y
2042
response->data_type = type;
tests/lib/libcurses/director/testlang_parse.y
2044
if ((type != data_ok) && (type != data_err) && (type != data_count)) {
tests/lib/libcurses/director/testlang_parse.y
2071
if (type == data_count) {
tests/lib/libcurses/director/testlang_parse.y
2080
enum_names[type]);
tests/lib/libcurses/director/testlang_parse.y
511
if (vars[i].type != data_number)
tests/lib/libcurses/director/testlang_parse.y
602
switch (vars[i].type) {
tests/lib/libcurses/director/testlang_parse.y
607
retval = add_to_vals(vars[i].type, vars[i].value);
tests/lib/libcurses/director/testlang_parse.y
639
set_var(data_enum_t type, const char *name, void *value)
tests/lib/libcurses/director/testlang_parse.y
649
vars[i].type = type;
tests/lib/libcurses/director/testlang_parse.y
650
if ((type == data_number) || (type == data_string)) {
tests/lib/libcurses/director/testlang_parse.y
691
vars[i].type = data_cchar;
tests/lib/libcurses/director/testlang_parse.y
716
vars[i].type = data_wchar;
tests/lib/libcurses/slave/commands.c
188
report_message(data_enum_t type, const char *status)
tests/lib/libcurses/slave/commands.c
191
write_to_director_type(type);
tests/lib/libcurses/slave/curses_commands.c
2210
ARG_MODIFIABLE_STRING(type);
tests/lib/libcurses/slave/curses_commands.c
2226
report_ptr(newterm(type, out, in));
tests/lib/libcurses/slave/slave.c
103
if (type == data_null)
tests/lib/libcurses/slave/slave.c
109
if (type != data_byte)
tests/lib/libcurses/slave/slave.c
130
int len, maxlen, argslen, i, type;
tests/lib/libcurses/slave/slave.c
137
while (try_read_from_director(&type, sizeof(type))) {
tests/lib/libcurses/slave/slave.c
138
if (type != data_string)
tests/lib/libcurses/slave/slave.c
139
errx(1, "Unexpected type for command, got %d", type);
tests/lib/libcurses/slave/slave.c
82
int type, len;
tests/lib/libcurses/slave/slave.c
85
read_from_director(&type, sizeof(type));
tests/lib/libcurses/slave/slave.c
95
if (type != data_null) {
tests/lib/libi386/t_user_ldt.c
72
build_desc(union descriptor *desc, void *basep, uint32_t limit, int type,
tests/lib/libi386/t_user_ldt.c
81
desc->sd.sd_type = type & 0x1F;
tests/lib/libnvmm/h_io_assist.c
102
#define PATENTRY(n, type) (type << ((n) * 8))
tests/lib/libnvmm/h_io_assist.c
57
init_seg(struct nvmm_x64_state_seg *seg, int type, int sel)
tests/lib/libnvmm/h_io_assist.c
60
seg->attrib.type = type;
tests/lib/libnvmm/h_io_assist.c
61
seg->attrib.s = (type & 0b10000) != 0;
tests/lib/libnvmm/h_mem_assist.c
202
init_seg(struct nvmm_x64_state_seg *seg, int type, int sel)
tests/lib/libnvmm/h_mem_assist.c
205
seg->attrib.type = type;
tests/lib/libnvmm/h_mem_assist.c
206
seg->attrib.s = (type & 0b10000) != 0;
tests/lib/libnvmm/h_mem_assist.c
250
#define PATENTRY(n, type) (type << ((n) * 8))
tests/lib/libpthread/t_cancellation.c
1068
int state, type;
tests/lib/libpthread/t_cancellation.c
1073
RZ(pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &type));
tests/lib/libpthread/t_cancellation.c
1079
ATF_CHECK_MSG(type == PTHREAD_CANCEL_DEFERRED,
tests/lib/libpthread/t_cancellation.c
1082
type, PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS);
tests/libexec/ld.elf_so/t_rtld_r_debug.c
43
getauxval(unsigned int type)
tests/libexec/ld.elf_so/t_rtld_r_debug.c
48
if (type == aux->a_type)
tests/net/inpcb/broadcast_bind.c
35
test_bind(char *paddr, struct in_addr *addr, u_int16_t port, int type,
tests/net/inpcb/broadcast_bind.c
47
s = socket(PF_INET, type, 0);
tests/net/inpcb/broadcast_bind.c
49
warn("socket(PF_INET, %d, 0)", type);
tests/net/inpcb/broadcast_bind.c
60
warn("bind(%s,%d) (type %d) expected %d, got %d", paddr, port, type,
tests/usr.bin/indent/fmt_decl.c
331
type identifier;
tests/usr.bin/indent/fmt_decl.c
332
type *pointer;
tests/usr.bin/indent/fmt_decl.c
348
type identifier;
tests/usr.bin/indent/fmt_decl.c
349
type *pointer;
tests/usr.bin/indent/fmt_decl.c
788
char str[sizeof(type**)];
tests/usr.bin/indent/fmt_decl.c
799
char str[sizeof(type **)];
tests/usr.bin/indent/fmt_expr.c
66
var = (type) { .member = value };
tests/usr.bin/indent/fmt_expr.c
67
var = (type) { value, value, value };
tests/usr.bin/indent/fmt_expr.c
75
var = (type) {
tests/usr.bin/indent/fmt_expr.c
78
var = (type) {
tests/usr.bin/indent/lsym_lparen_or_lbracket.c
365
type var = {
tests/usr.bin/indent/lsym_lparen_or_lbracket.c
375
type var = {
tests/usr.bin/xlint/lint1/d_c99_anon_struct.c
18
type z;
tests/usr.bin/xlint/lint1/init_c99.c
636
int type;
tests/usr.bin/xlint/lint1/init_c99.c
643
.type = 3,
tools/amiga-elf2bb/sys/exec_elf.h
437
#define ELF32_ST_INFO(bind,type) ((Elf_Byte)(((bind) << 4) | ((type) & 0xf)))
tools/amiga-elf2bb/sys/exec_elf.h
441
#define ELF64_ST_INFO(bind,type) ((Elf_Byte)(((bind) << 4) | ((type) & 0xf)))
tools/amiga-elf2bb/sys/exec_elf.h
480
#define ELF32_R_INFO(sym, type) (((sym) << 8) + (unsigned char)(type))
tools/amiga-elf2bb/sys/exec_elf.h
496
#define ELF64_R_INFO(sym,type) (((sym) << 32) + (type))
tools/arm-elf2aout/sys/exec_elf.h
1155
#define ELF32_ST_INFO(bind,type) ELF_ST_INFO(bind,type)
tools/arm-elf2aout/sys/exec_elf.h
1160
#define ELF64_ST_INFO(bind,type) ELF_ST_INFO(bind,type)
tools/arm-elf2aout/sys/exec_elf.h
548
#define ELF_ST_INFO(bind,type) ((Elf_Byte)(((bind) << 4) | \
tools/arm-elf2aout/sys/exec_elf.h
549
((type) & 0xf)))
tools/arm-elf2aout/sys/exec_elf.h
590
#define ELF32_R_INFO(sym, type) (((sym) << 8) + (unsigned char)(type))
tools/arm-elf2aout/sys/exec_elf.h
606
#define ELF64_R_INFO(sym,type) (((sym) << 32) + (type))
tools/m68k-elf2aout/sys/exec_elf.h
1155
#define ELF32_ST_INFO(bind,type) ELF_ST_INFO(bind,type)
tools/m68k-elf2aout/sys/exec_elf.h
1160
#define ELF64_ST_INFO(bind,type) ELF_ST_INFO(bind,type)
tools/m68k-elf2aout/sys/exec_elf.h
548
#define ELF_ST_INFO(bind,type) ((Elf_Byte)(((bind) << 4) | \
tools/m68k-elf2aout/sys/exec_elf.h
549
((type) & 0xf)))
tools/m68k-elf2aout/sys/exec_elf.h
590
#define ELF32_R_INFO(sym, type) (((sym) << 8) + (unsigned char)(type))
tools/m68k-elf2aout/sys/exec_elf.h
606
#define ELF64_R_INFO(sym,type) (((sym) << 32) + (type))
usr.bin/aiomixer/draw.c
104
switch (value.type) {
usr.bin/aiomixer/draw.c
351
switch (control->info.type) {
usr.bin/aiomixer/draw.c
86
value.type = control->info.type;
usr.bin/aiomixer/draw.c
87
if (value.type == AUDIO_MIXER_VALUE)
usr.bin/aiomixer/draw.c
96
if (value.type == AUDIO_MIXER_VALUE)
usr.bin/aiomixer/main.c
140
if (info->type != AUDIO_MIXER_SET) {
usr.bin/aiomixer/main.c
142
value.type = info->type;
usr.bin/aiomixer/main.c
143
if (info->type == AUDIO_MIXER_VALUE)
usr.bin/aiomixer/main.c
150
switch (info->type) {
usr.bin/aiomixer/main.c
204
if (info->type != AUDIO_MIXER_SET) {
usr.bin/aiomixer/main.c
220
ctrl.type = control->info.type;
usr.bin/aiomixer/main.c
222
if (control->info.type != AUDIO_MIXER_SET)
usr.bin/aiomixer/main.c
247
control->info.type == AUDIO_MIXER_VALUE &&
usr.bin/aiomixer/main.c
266
control->info.type == AUDIO_MIXER_VALUE &&
usr.bin/aiomixer/main.c
391
if (control->info.type == AUDIO_MIXER_VALUE)
usr.bin/aiomixer/parse.c
104
if (info.type != AUDIO_MIXER_CLASS)
usr.bin/aiomixer/parse.c
115
if (info.type == AUDIO_MIXER_CLASS)
usr.bin/aiomixer/parse.c
117
if (info.type == AUDIO_MIXER_VALUE) {
usr.bin/btkey/btkey.c
275
print_key(const char *type, const uint8_t *src)
usr.bin/btkey/btkey.c
279
printf("%10s: ", type);
usr.bin/btkey/btkey.c
288
print_addr(const char *type, const bdaddr_t *addr)
usr.bin/btkey/btkey.c
293
printf("%10s: %s", type, bt_ntoa(addr, NULL));
usr.bin/btkey/device.c
81
hdr->type = HCI_CMD_PKT;
usr.bin/config/main.c
1334
const char *name, const char *value, const char *type,
usr.bin/config/main.c
1347
cfgwarn("already have %s `%s=%s'", type, name,
usr.bin/config/main.c
1350
cfgwarn("already have %s `%s'", type, name);
usr.bin/config/main.c
1352
if (undo_option(ht, npp, next, name, type, 0))
usr.bin/config/main.c
1355
undo_option(stab, NULL, NULL, strtolower(name), type, 0))
usr.bin/config/main.c
1376
struct nvlist ***next, const char *name, const char *type, int nowarn)
usr.bin/config/main.c
1385
cfgwarn("%s `%s' is not defined", type, name);
usr.bin/config/main.c
1404
panic("%s `%s' is not defined in nvlist", type, name);
usr.bin/config/sem.c
101
int type;
usr.bin/config/sem.c
128
addvalue(int type, struct attr *a, void *value)
usr.bin/config/sem.c
131
vt->type = type;
usr.bin/config/sem.c
2129
switch (vt->type) {
usr.bin/config/util.c
387
condexpr_create(enum condexpr_types type)
usr.bin/config/util.c
392
cx->cx_type = type;
usr.bin/config/util.c
393
switch (type) {
usr.bin/config/util.c
414
panic("condexpr_create: invalid expr type %d", (int)type);
usr.bin/db/db.c
255
oi.type = argv[0];
usr.bin/db/db.c
285
if (strcmp(oi.type, "btree") == 0) {
usr.bin/db/db.c
297
} else if (strcmp(oi.type, "hash") == 0) {
usr.bin/db/db.c
308
warnx("Unknown database type `%s'", oi.type);
usr.bin/db/db.c
98
char *type;
usr.bin/dc/bcode.c
1459
compare_numbers(enum bcode_compare type, struct number *a, struct number *b)
usr.bin/dc/bcode.c
1476
switch (type) {
usr.bin/dc/bcode.c
1494
compare(enum bcode_compare type)
usr.bin/dc/bcode.c
1517
ok = compare_numbers(type, a, b);
usr.bin/dc/bcode.c
1527
switch(v->type) {
usr.bin/dc/bcode.c
523
switch (value->type) {
usr.bin/dc/bcode.c
680
switch (value->type) {
usr.bin/dc/bcode.c
729
switch (value->type) {
usr.bin/dc/bcode.c
758
switch (value->type) {
usr.bin/dc/bcode.c
893
if (v == NULL || v->type == BCODE_NONE) {
usr.bin/dc/bcode.h
51
enum stacktype type;
usr.bin/dc/inout.c
381
switch (value->type) {
usr.bin/dc/misc.c
53
CRYPTO_lock(int mode, int type, const char *file, int line)
usr.bin/dc/stack.c
147
stack->stack[stack->sp].type = BCODE_NUMBER;
usr.bin/dc/stack.c
156
stack->stack[stack->sp].type = BCODE_STRING;
usr.bin/dc/stack.c
164
switch (v->type) {
usr.bin/dc/stack.c
167
stack->stack[stack->sp].type = BCODE_NONE;
usr.bin/dc/stack.c
216
if (stack->stack[stack->sp].type != BCODE_NUMBER) {
usr.bin/dc/stack.c
230
if (stack->stack[stack->sp].type != BCODE_STRING) {
usr.bin/dc/stack.c
304
array->data[i].type = BCODE_NONE;
usr.bin/dc/stack.c
334
n.type = BCODE_NONE;
usr.bin/dc/stack.c
58
switch (v->type) {
usr.bin/dc/stack.c
76
copy->type = a->type;
usr.bin/dc/stack.c
78
switch (a->type) {
usr.bin/diff/diff.c
130
#define FORMAT_MISMATCHED(type) \
usr.bin/diff/diff.c
131
(diff_format != D_UNSET && diff_format != (type))
usr.bin/diff3/diff3.c
100
int type;
usr.bin/diff3/diff3.c
545
de[j].type = difftype;
usr.bin/diff3/diff3.c
642
if (de[n].type == DIFF_TYPE2) {
usr.bin/diff3/diff3.c
665
} else if (de[n].type == DIFF_TYPE3) {
usr.bin/diff3/diff3.c
731
if (de[n].type == DIFF_TYPE2) {
usr.bin/diff3/diff3.c
737
} else if (de[n].type == DIFF_TYPE3) {
usr.bin/diff3/diff3.c
786
if (de[n-1].type == DIFF_TYPE3)
usr.bin/eject/eject.c
102
int type;
usr.bin/eject/eject.c
169
devtype = devtypes[n].type;
usr.bin/eject/eject.c
244
return nicknames[n].type;
usr.bin/eject/eject.c
261
return nicknames[n].type;
usr.bin/eject/eject.c
269
return nicknames[n].type;
usr.bin/eject/eject.c
291
if ((nicknames[n].type & TYPEMASK) != TAPE)
usr.bin/eject/eject.c
314
if ((nicknames[n].type & TYPEMASK) != TAPE) {
usr.bin/eject/eject.c
316
if ((nicknames[n].type & FLOPPY) != FLOPPY)
usr.bin/eject/eject.c
67
int type; /* The type of device, for determining what
usr.bin/elf2aout/elf2aout.c
505
int binding, type;
usr.bin/elf2aout/elf2aout.c
537
type = ELF32_ST_TYPE(inbuf[i].st_info);
usr.bin/elf2aout/elf2aout.c
542
if (type == STT_FILE)
usr.bin/error/touch.c
240
int type;
usr.bin/error/touch.c
247
for (type = C_UNKNOWN; NOTSORTABLE(type); type++) {
usr.bin/error/touch.c
248
if (class_count[type] <= 0)
usr.bin/error/touch.c
250
if (type > C_SYNC)
usr.bin/error/touch.c
254
class_count[type], class_table[type]);
usr.bin/error/touch.c
257
class_count[type], class_table[type]);
usr.bin/error/touch.c
260
if (errorp->error_e_class == type) {
usr.bin/fgen/fgen.h
34
int type;
usr.bin/fgen/fgen.h
48
int type;
usr.bin/fgen/fgen.h
57
int type;
usr.bin/find/find.c
253
if (p->type == N_EXIT) {
usr.bin/find/find.c
294
if (p->type == N_EXPR || p->type == N_OR) {
usr.bin/find/find.h
66
enum ntype type; /* plan node type */
usr.bin/find/function.c
1668
c_regex_common(char ***argvp, int isok, enum ntype type, bool icase)
usr.bin/find/function.c
1695
new = palloc(type, f_regex);
usr.bin/find/function.c
2010
if (plan->type==N_EXEC && plan->ep_narg)
usr.bin/find/function.c
2024
new->type = t;
usr.bin/find/function.c
218
if ((p)->type == ttype && (p)->flags == F_LESSTHAN) \
usr.bin/find/operator.c
106
if (next->type == N_CLOSEPAREN) {
usr.bin/find/operator.c
110
node->type = N_EXPR;
usr.bin/find/operator.c
148
if (expr->type == N_CLOSEPAREN)
usr.bin/find/operator.c
182
if (next->type == N_EXPR)
usr.bin/find/operator.c
190
if (next->type == N_NOT) {
usr.bin/find/operator.c
194
while (node != NULL && node->type == N_NOT) {
usr.bin/find/operator.c
200
if (node->type == N_OR)
usr.bin/find/operator.c
202
if (node->type == N_EXPR)
usr.bin/find/operator.c
240
if (next->type == N_EXPR)
usr.bin/find/operator.c
244
if (next->type == N_NOT)
usr.bin/find/operator.c
252
if (next->type == N_OR) {
usr.bin/find/operator.c
95
if (node->type == N_OPENPAREN)
usr.bin/fstat/fstat.c
374
kdriver_search(int type, dev_t num)
usr.bin/fstat/fstat.c
382
if (type == VBLK) {
usr.bin/fstat/fstat.c
640
const char **type, const char **fname)
usr.bin/fstat/fstat.c
647
*type = vfilestat(vn, fst);
usr.bin/fstat/fstat.c
652
if (*type && *type != dead)
usr.bin/ftp/cmds.c
265
curtype = type = p->t_type;
usr.bin/ftp/ftp.c
1039
if (curtype != type)
usr.bin/ftp/ftp.c
1040
changetype(type, 0);
usr.bin/ftp/ftp.c
1876
ip->tpe = type;
usr.bin/ftp/ftp.c
1877
type = op->tpe;
usr.bin/ftp/ftp.c
1935
if ((prox_type = type) == 0) {
usr.bin/ftp/ftp.c
738
if (curtype != type)
usr.bin/ftp/ftp.c
739
changetype(type, 0);
usr.bin/ftp/ftp_var.h
234
GLOBAL int type; /* requested file transfer type */
usr.bin/ftp/util.c
151
type = TYPE_A;
usr.bin/ftp/util.c
229
type = 0;
usr.bin/getconf/getconf.c
235
if ((cp->type == PATHCONF) == (pathname != NULL)) {
usr.bin/getconf/getconf.c
279
switch (cp->type) {
usr.bin/getconf/getconf.c
47
enum { SYSCONF, CONFSTR, PATHCONF, CONSTANT } type;
usr.bin/hesinfo/hesinfo.c
41
char **list, **p, *bindname, *name, *type;
usr.bin/hesinfo/hesinfo.c
65
type = argv[optind + 1];
usr.bin/hesinfo/hesinfo.c
77
printf("hes_to_bind(%s, %s) expands to\n", name, type);
usr.bin/hesinfo/hesinfo.c
78
bindname = hesiod_to_bind(context, name, type);
usr.bin/hesinfo/hesinfo.c
97
list = hesiod_resolve(context, name, type);
usr.bin/hexdump/odsyntax.c
225
char *fmt, type, *tmp;
usr.bin/hexdump/odsyntax.c
229
switch ((type = *type_string++)) {
usr.bin/hexdump/odsyntax.c
291
for (odf = odftab; odf->type != 0; odf++)
usr.bin/hexdump/odsyntax.c
292
if (odf->type == type && odf->nbytes == nbytes)
usr.bin/hexdump/odsyntax.c
294
if (odf->type == 0)
usr.bin/hexdump/odsyntax.c
295
errx(1, "%c%d: format not supported", type, nbytes);
usr.bin/hexdump/odsyntax.c
59
char type;
usr.bin/hexdump/odsyntax.c
66
char type;
usr.bin/indent/args.c
55
#define get_offset(name, type) \
usr.bin/indent/args.c
56
_Generic((&opt.name), type *: offsetof(struct options, name))
usr.bin/indent/args.c
58
#define get_offset(name, type) (offsetof(struct options, name))
usr.bin/infocmp/infocmp.c
157
switch (ents[i].type) {
usr.bin/infocmp/infocmp.c
194
switch (ents[i].type) {
usr.bin/infocmp/infocmp.c
220
load_ents(TIENT *ents, TERMINAL *t, char type)
usr.bin/infocmp/infocmp.c
225
switch (type) {
usr.bin/infocmp/infocmp.c
238
switch (type) {
usr.bin/infocmp/infocmp.c
244
ents[n].type = 'f';
usr.bin/infocmp/infocmp.c
253
ents[n].type = 'n';
usr.bin/infocmp/infocmp.c
262
ents[n].type = 's';
usr.bin/infocmp/infocmp.c
272
if (ud->type == type) {
usr.bin/infocmp/infocmp.c
273
switch (type) {
usr.bin/infocmp/infocmp.c
291
ents[n].type = ud->type;
usr.bin/infocmp/infocmp.c
314
switch (ent->type) {
usr.bin/infocmp/infocmp.c
358
ee.type = 'f';
usr.bin/infocmp/infocmp.c
376
ee.type = e1->type;
usr.bin/infocmp/infocmp.c
381
ee.type = e2->type;
usr.bin/infocmp/infocmp.c
383
switch (e1->type) {
usr.bin/infocmp/infocmp.c
422
if (e1->type == 'f')
usr.bin/infocmp/infocmp.c
453
show_missing(TERMINAL *t1, TERMINAL *t2, char type)
usr.bin/infocmp/infocmp.c
458
switch (type) {
usr.bin/infocmp/infocmp.c
470
switch (type) {
usr.bin/infocmp/infocmp.c
48
char type;
usr.bin/infocmp/infocmp.c
595
switch (ud->type) {
usr.bin/infocmp/infocmp.c
597
if (tud->type == 'f' &&
usr.bin/infocmp/infocmp.c
602
if (tud->type == 'n' &&
usr.bin/infocmp/infocmp.c
607
if (tud->type == 's' &&
usr.bin/infocmp/infocmp.c
635
tud->type = terms[i]->_userdefs[j].flag;
usr.bin/kdump/kdump.c
436
const char *type;
usr.bin/kdump/kdump.c
447
type = "CALL";
usr.bin/kdump/kdump.c
450
type = "RET ";
usr.bin/kdump/kdump.c
453
type = "NAMI";
usr.bin/kdump/kdump.c
456
type = "GIO ";
usr.bin/kdump/kdump.c
459
type = "PSIG";
usr.bin/kdump/kdump.c
462
type = "CSW ";
usr.bin/kdump/kdump.c
465
type = "EMUL";
usr.bin/kdump/kdump.c
468
type = "MISC";
usr.bin/kdump/kdump.c
471
type = "ENV";
usr.bin/kdump/kdump.c
474
type = "ARG";
usr.bin/kdump/kdump.c
477
type = "FD";
usr.bin/kdump/kdump.c
480
type = "SAU";
usr.bin/kdump/kdump.c
483
type = "MIB";
usr.bin/kdump/kdump.c
486
type = "MASK";
usr.bin/kdump/kdump.c
491
type = unknown;
usr.bin/kdump/kdump.c
523
col += printf("%-4s ", type);
usr.bin/ktruss/dump.c
206
#define KTE_MATCH(kte, type, pid, lid) \
usr.bin/ktruss/dump.c
207
(KTE_TYPE(kte) == (type) && KTE_PID(kte) == (pid) && \
usr.bin/ktruss/dump.c
233
getpendq(struct ktr_header *us, int type, struct kteq *kteq)
usr.bin/ktruss/dump.c
242
if (KTE_MATCH(kte, type, pid, lid)) {
usr.bin/last/last.c
272
addarg(int type, const char *arg)
usr.bin/last/last.c
279
cur->type = type;
usr.bin/last/last.c
99
int type; /* type of arg */
usr.bin/last/want.c
287
switch(step->type) {
usr.bin/locate/locate/locate.c
99
# define NEW(type) (type *) malloc(sizeof (type))
usr.bin/m4/eval.c
628
if ((p->type & TYPEMASK) == MACROTYPE) {
usr.bin/m4/eval.c
664
if ((p->type & TYPEMASK) == MACROTYPE)
usr.bin/m4/gnum4.c
169
eval(argv+1, argc-1, p->type, is_traced(n));
usr.bin/m4/gnum4.c
743
char line[1024], *ptr, type;
usr.bin/m4/gnum4.c
772
if (sscanf(line, "%c%zu,%zu\n", &type, &nl, &dl) != 3)
usr.bin/m4/gnum4.c
778
switch (type) {
usr.bin/m4/gnum4.c
814
fname, lineno,type);
usr.bin/m4/look.c
128
d->type = macro_builtin_type(p);
usr.bin/m4/look.c
135
d->type = MACROTYPE;
usr.bin/m4/look.c
138
d->type |= RECDEF;
usr.bin/m4/look.c
233
setup_builtin(const char *name, unsigned int type)
usr.bin/m4/look.c
246
n->builtin_type = type;
usr.bin/m4/look.c
249
n->d->type = type;
usr.bin/m4/look.c
354
if (d->type & (NOARGS|NEEDARGS))
usr.bin/m4/look.c
357
(d->type & (NOARGS|NEEDARGS)) ? 'F' : 'T',
usr.bin/m4/main.c
504
(macro_getdef(p)->type & NEEDARGS) != 0))
usr.bin/m4/main.c
511
pushf(macro_getdef(p)->type); /* type of the call */
usr.bin/m4/main.c
716
unsigned int type;
usr.bin/m4/main.c
720
type = keywrds[i].ktyp & TYPEMASK;
usr.bin/m4/main.c
722
type |= NEEDARGS;
usr.bin/m4/main.c
723
setup_builtin(keywrds[i].knam, type);
usr.bin/m4/mdef.h
143
unsigned int type; /* type of the entry.. */
usr.bin/mail/cmd2.c
133
return type(list);
usr.bin/mail/cmd2.c
379
return type(list);
usr.bin/mail/cmdtab.c
66
/* R */ { "print", type, C, CMP(n) MSGLIST, 0, MMNDEL },
usr.bin/mail/cmdtab.c
68
/* R */ { "type", type, C, CMP(n) MSGLIST, 0, MMNDEL },
usr.bin/mail/cmdtab.c
81
/* R */ { "more", type, A, CMP(n) MSGLIST, 0, MMNDEL },
usr.bin/mail/cmdtab.c
83
/* R */ { "page", type, A, CMP(n) MSGLIST, 0, MMNDEL },
usr.bin/mail/extern.h
55
int type(void *);
usr.bin/make/arch.c
312
gn->type |= OP_ARCHV;
usr.bin/make/arch.c
336
gn->type |= OP_ARCHV;
usr.bin/make/arch.c
346
gn->type |= OP_ARCHV;
usr.bin/make/arch.c
821
if (pgn->type & OP_ARCHV) {
usr.bin/make/arch.c
932
if (gn->type & OP_PHONY)
usr.bin/make/compat.c
111
(gn->type & OP_PHONY) == 0) {
usr.bin/make/compat.c
254
silent = (gn->type & OP_SILENT) != OP_NONE;
usr.bin/make/compat.c
255
errCheck = !(gn->type & OP_IGNORE);
usr.bin/make/compat.c
272
if (gn->type & OP_SAVE_CMDS) {
usr.bin/make/compat.c
291
gn->type |= OP_SAVE_CMDS;
usr.bin/make/compat.c
486
if (nodes[i]->type & OP_WAIT) {
usr.bin/make/compat.c
532
if (!(gn->type & OP_MADE))
usr.bin/make/compat.c
578
gn->type |= OP_IGNORE;
usr.bin/make/compat.c
580
gn->type |= OP_SILENT;
usr.bin/make/compat.c
583
if (!opts.touch || (gn->type & OP_MAKE)) {
usr.bin/make/compat.c
592
Job_Touch(gn, (gn->type & OP_SILENT) != OP_NONE);
usr.bin/make/compat.c
613
if (!(gn->type & OP_EXEC)) {
usr.bin/make/compat.c
642
if (!(gn->type & OP_EXEC)) {
usr.bin/make/compat.c
648
if (!(gn->type & OP_EXEC))
usr.bin/make/compat.c
680
if (gn->made == UNMADE && (gn == pgn || !(pgn->type & OP_MADE))) {
usr.bin/make/dir.c
1384
if (fullName == NULL && !(gn->type & OP_NOPATH)) {
usr.bin/make/dir.c
1416
if (gn->type & OP_ARCHV) {
usr.bin/make/dir.c
1421
if (gn->type & OP_PHONY) {
usr.bin/make/dir.c
1429
if (gn->type & OP_MEMBER) {
usr.bin/make/job.c
1043
&& (job->node->type & (OP_MAKE | OP_SUBMAKE)) == 0) {
usr.bin/make/job.c
1045
job->node->type |= OP_SUBMAKE;
usr.bin/make/job.c
1142
job->node->type |= OP_SAVE_CMDS;
usr.bin/make/job.c
1410
if (gn->type &
usr.bin/make/job.c
1428
if (gn->type & OP_ARCHV)
usr.bin/make/job.c
1430
else if (gn->type & OP_LIB)
usr.bin/make/job.c
1456
if ((gn->type & OP_LIB) && !Lst_IsEmpty(&gn->children))
usr.bin/make/job.c
1464
!(gn->type & OP_SPECIAL)) {
usr.bin/make/job.c
1480
if (gn->mtime != 0 || (gn->type & OP_SPECIAL))
usr.bin/make/job.c
1500
if (gn->type & OP_OPTIONAL) {
usr.bin/make/job.c
1586
if (job->node->type & (OP_MAKE | OP_SUBMAKE)) {
usr.bin/make/job.c
1719
if (gn->type & OP_SILENT) /* might have changed */
usr.bin/make/job.c
1747
job->special = (gn->type & OP_SPECIAL) != OP_NONE;
usr.bin/make/job.c
1748
job->ignerr = opts.ignoreErrors || gn->type & OP_IGNORE;
usr.bin/make/job.c
1749
job->echo = !(opts.silent || gn->type & OP_SILENT);
usr.bin/make/job.c
1767
} else if (((gn->type & OP_MAKE) && !opts.noRecursiveExecute) ||
usr.bin/make/job.c
596
if (gn->type & OP_JOIN)
usr.bin/make/job.c
598
if (gn->type & OP_PHONY)
usr.bin/make/main.c
2048
quietly = gn != NULL && gn->type & OP_MAKE ? 1 : 0;
usr.bin/make/main.c
2136
errorNode->type |= OP_SPECIAL;
usr.bin/make/make.c
1070
if (gn->type & OP_JOIN) {
usr.bin/make/make.c
1219
if (gn->type & (OP_USE | OP_USEBEFORE))
usr.bin/make/make.c
1255
if (gn->type & OP_DOUBLEDEP)
usr.bin/make/make.c
1266
if (gn->type & OP_ARCHV) {
usr.bin/make/make.c
1284
if (!(gn->type & OP_MADE))
usr.bin/make/make.c
1334
pgn->type = OP_PHONY | OP_DEPENDS;
usr.bin/make/make.c
134
GNodeType_ToString(GNodeType type)
usr.bin/make/make.c
1366
if (pgn->type & OP_DOUBLEDEP)
usr.bin/make/make.c
1372
if (cgn->type & OP_WAIT) {
usr.bin/make/make.c
139
#define ADD(flag) Buf_AddFlag(&buf, (type & (flag)) != OP_NONE, #flag)
usr.bin/make/make.c
202
char *type = GNodeType_ToString(gn->type);
usr.bin/make/make.c
206
prefix, GNodeMade_Name(gn->made), type, flags, suffix);
usr.bin/make/make.c
207
free(type);
usr.bin/make/make.c
214
return !(gn->type & OP_MAKE
usr.bin/make/make.c
241
if (gn->mtime == 0 && !(gn->type & OP_OPTIONAL)) {
usr.bin/make/make.c
246
if (gn->type & OP_DOUBLEDEP) {
usr.bin/make/make.c
275
if (!(gn->type & (OP_JOIN | OP_USE | OP_USEBEFORE | OP_EXEC))) {
usr.bin/make/make.c
304
if (gn->type & (OP_USE | OP_USEBEFORE)) {
usr.bin/make/make.c
311
} else if ((gn->type & OP_LIB) && (gn->mtime == 0 || Arch_IsLib(gn))) {
usr.bin/make/make.c
319
(gn->youngestChild == NULL && (gn->type & OP_DOUBLEDEP));
usr.bin/make/make.c
320
} else if (gn->type & OP_JOIN) {
usr.bin/make/make.c
329
} else if (gn->type & (OP_FORCE | OP_EXEC | OP_PHONY)) {
usr.bin/make/make.c
336
if (gn->type & OP_FORCE)
usr.bin/make/make.c
338
else if (gn->type & OP_PHONY)
usr.bin/make/make.c
417
if (!(cgn->type & (OP_USE | OP_USEBEFORE | OP_TRANSFORM))) {
usr.bin/make/make.c
425
if ((cgn->type & (OP_USE | OP_USEBEFORE)) ||
usr.bin/make/make.c
427
if (cgn->type & OP_USEBEFORE) {
usr.bin/make/make.c
463
pgn->type |=
usr.bin/make/make.c
464
cgn->type & (unsigned)~(OP_OPMASK | OP_USE | OP_USEBEFORE | OP_TRANSFORM);
usr.bin/make/make.c
484
unmarked = !(cgn->type & OP_MARK);
usr.bin/make/make.c
485
cgn->type |= OP_MARK;
usr.bin/make/make.c
487
if (!(cgn->type & (OP_USE | OP_USEBEFORE)))
usr.bin/make/make.c
569
if (!GNode_ShouldExecute(gn) || (gn->type & OP_SAVE_CMDS) ||
usr.bin/make/make.c
570
(mtime == 0 && !(gn->type & OP_WAIT))) {
usr.bin/make/make.c
724
if (mtime == 0 && !(cgn->type & OP_WAIT))
usr.bin/make/make.c
735
if (pgn->type & OP_MADE) {
usr.bin/make/make.c
740
if (!(cgn->type & (OP_EXEC | OP_USE | OP_USEBEFORE))) {
usr.bin/make/make.c
774
if (pgn->unmade != 0 && !(centurion->type & OP_WAIT)
usr.bin/make/make.c
813
child->type &= (unsigned)~OP_MARK;
usr.bin/make/make.c
841
if (cgn->type & OP_MARK)
usr.bin/make/make.c
843
cgn->type |= OP_MARK;
usr.bin/make/make.c
845
if (cgn->type & (OP_EXEC | OP_USE | OP_USEBEFORE | OP_INVISIBLE))
usr.bin/make/make.c
848
if (cgn->type & OP_ARCHV)
usr.bin/make/make.c
853
if (cgn->type & OP_JOIN)
usr.bin/make/make.c
861
if (pgn->type & OP_JOIN) {
usr.bin/make/make.c
920
if (gn->type & OP_JOIN)
usr.bin/make/make.c
972
if (opts.randomizeTargets && !(cn->type & OP_WAIT))
usr.bin/make/make.c
991
return cn->type & OP_WAIT && cn->unmade > 0;
usr.bin/make/make.h
1100
return (gn->type & OP_OPMASK) != OP_NONE;
usr.bin/make/make.h
1136
return (gn->type & (OP_NOTMAIN | OP_USE | OP_USEBEFORE |
usr.bin/make/make.h
1145
return allPrecious || gn->type & (OP_PRECIOUS | OP_DOUBLEDEP);
usr.bin/make/make.h
440
GNodeType type;
usr.bin/make/meta.c
1652
!(gn->type & OP_NOMETA_CMP) &&
usr.bin/make/meta.c
1700
if (writeMeta && (metaMissing || (gn->type & OP_META))) {
usr.bin/make/meta.c
339
if ((gn->type & (flag))) { \
usr.bin/make/meta.c
364
if (!(gn->type & OP_META)) {
usr.bin/make/meta.c
385
&& (gn->type & (OP_MAKE | OP_META)) == 0) {
usr.bin/make/meta.c
388
gn->type |= OP_SUBMAKE;
usr.bin/make/meta.c
485
gn->type |= OP_META; /* in case anyone wants to know */
usr.bin/make/meta.c
487
gn->type |= OP_SILENT;
usr.bin/make/parse.c
1017
gn->type |= OP_NOTMAIN | OP_SPECIAL;
usr.bin/make/parse.c
1030
gn->type |= OP_NOTMAIN | OP_TRANSFORM;
usr.bin/make/parse.c
1735
VarAssignOp type;
usr.bin/make/parse.c
1740
type = VAR_APPEND;
usr.bin/make/parse.c
1744
type = VAR_DEFAULT;
usr.bin/make/parse.c
1748
type = VAR_SUBST;
usr.bin/make/parse.c
1752
type = VAR_SHELL;
usr.bin/make/parse.c
1755
type = VAR_NORMAL;
usr.bin/make/parse.c
1761
type = VAR_SHELL;
usr.bin/make/parse.c
1766
va.op = type;
usr.bin/make/parse.c
1987
if ((gn->type & OP_DOUBLEDEP) && gn->cohorts.last != NULL)
usr.bin/make/parse.c
1991
if (!(gn->type & OP_HAS_COMMANDS)) {
usr.bin/make/parse.c
2689
gn->type |= OP_HAS_COMMANDS;
usr.bin/make/parse.c
2993
if (mainNode->type & OP_DOUBLEDEP)
usr.bin/make/parse.c
683
if ((pgn->type & OP_DOUBLEDEP) && !Lst_IsEmpty(&pgn->cohorts))
usr.bin/make/parse.c
721
if ((op & OP_OPMASK) && (gn->type & OP_OPMASK) &&
usr.bin/make/parse.c
722
(op & OP_OPMASK) != (gn->type & OP_OPMASK)) {
usr.bin/make/parse.c
728
if (op == OP_DOUBLEDEP && (gn->type & OP_OPMASK) == OP_DOUBLEDEP) {
usr.bin/make/parse.c
746
gn->type |= op & (unsigned)~OP_OPMASK;
usr.bin/make/parse.c
760
cohort->type = op | OP_INVISIBLE;
usr.bin/make/parse.c
767
gn->type |= op; /* preserve any previous flags */
usr.bin/make/parse.c
802
gn->type = OP_WAIT | OP_PHONY | OP_DEPENDS | OP_NOTMAIN;
usr.bin/make/parse.c
888
gn->type |= targetAttr;
usr.bin/make/suff.c
1155
if (sgn->type & OP_OPTIONAL && Lst_IsEmpty(&tgn->commands)) {
usr.bin/make/suff.c
1330
if (cgn->type & OP_WAIT)
usr.bin/make/suff.c
1352
if (cgn->type & OP_ARCHV) {
usr.bin/make/suff.c
1613
gn->type |= OP_DEPENDS;
usr.bin/make/suff.c
1620
mem->type |= OP_MEMBER | OP_JOIN | OP_MADE;
usr.bin/make/suff.c
1715
if (gn->type & (OP_PHONY | OP_NOPATH))
usr.bin/make/suff.c
1804
if (!(gn->type & OP_PHONY)) {
usr.bin/make/suff.c
1866
gn->type |= OP_LIB;
usr.bin/make/suff.c
1927
targ->node->type |= OP_DEPS_FOUND;
usr.bin/make/suff.c
1990
if (gn->type & OP_DEPS_FOUND)
usr.bin/make/suff.c
1992
gn->type |= OP_DEPS_FOUND;
usr.bin/make/suff.c
2000
if (gn->type & OP_ARCHV)
usr.bin/make/suff.c
2002
else if (gn->type & OP_LIB)
usr.bin/make/suff.c
2107
Targ_PrintType(t->type);
usr.bin/make/suff.c
595
gn->type = OP_TRANSFORM;
usr.bin/make/suff.c
629
if ((gn->type & OP_DOUBLEDEP) && !Lst_IsEmpty(&gn->cohorts))
usr.bin/make/suff.c
632
if (!(gn->type & OP_TRANSFORM))
usr.bin/make/suff.c
738
if (target->type == OP_TRANSFORM)
usr.bin/make/suff.c
771
target->type = OP_TRANSFORM;
usr.bin/make/targ.c
189
gn->type = name[0] == '-' && name[1] == 'l' ? OP_LIB : OP_NONE;
usr.bin/make/targ.c
318
endNode->type = OP_SPECIAL;
usr.bin/make/targ.c
385
Targ_PrintType(GNodeType type)
usr.bin/make/targ.c
412
if (type & names[i].bit) {
usr.bin/make/targ.c
440
switch (gn->type & OP_OPMASK) {
usr.bin/make/targ.c
486
if (!(gn->type & (OP_JOIN | OP_USE | OP_USEBEFORE | OP_EXEC))) {
usr.bin/make/targ.c
508
Targ_PrintType(gn->type);
usr.bin/make/targ.c
513
if (gn->type & OP_DOUBLEDEP)
usr.bin/make/targ.c
537
Targ_PrintType(gn->type);
usr.bin/make/targ.c
590
GNodeType type = gn->type;
usr.bin/make/targ.c
592
if (!(type & OP_DOUBLEDEP))
usr.bin/make/targ.c
598
cohort->type |= type & (unsigned)~OP_OPMASK;
usr.bin/make/trace.c
106
char *type = GNodeType_ToString(gn->type);
usr.bin/make/trace.c
110
gn->name, Job_Pid(job), flags, type);
usr.bin/make/trace.c
111
free(type);
usr.bin/make/var.c
2628
if (gn == NULL || gn->type & OP_NOPATH)
usr.bin/man/manconf.c
106
char *p, *t, type;
usr.bin/man/manconf.c
190
type = (char)((TAILQ_FIRST(&tp->entrylist) != NULL) ?
usr.bin/man/manconf.c
196
if (type == 0)
usr.bin/man/manconf.c
197
type = *p;
usr.bin/man/manconf.c
200
if (*p != type) {
usr.bin/mixerctl/mixerctl.c
135
errx(EXIT_FAILURE, "Invalid format %d", m->type);
usr.bin/mixerctl/mixerctl.c
158
switch(m->type) {
usr.bin/mixerctl/mixerctl.c
211
errx(EXIT_FAILURE, "Invalid format %d", m->type);
usr.bin/mixerctl/mixerctl.c
224
switch(m->type) {
usr.bin/mixerctl/mixerctl.c
250
errx(EXIT_FAILURE, "Invalid format %d", m->type);
usr.bin/mixerctl/mixerctl.c
416
values[i].type = infos[i].type;
usr.bin/mixerctl/mixerctl.c
417
if (infos[i].type != AUDIO_MIXER_CLASS) {
usr.bin/mixerctl/mixerctl.c
429
if (infos[i].type != AUDIO_MIXER_CLASS &&
usr.bin/mixerctl/mixerctl.c
430
infos[i].type != -1) {
usr.bin/mixerctl/mixerctl.c
437
infos[pos].type = -1;
usr.bin/mixerctl/mixerctl.c
94
switch(m->type) {
usr.bin/mkcsmapper/yacc.y
132
| property type
usr.bin/mkcsmapper/yacc.y
140
type : R_TYPE types { set_type($2); }
usr.bin/mkcsmapper/yacc.y
419
set_type(int type)
usr.bin/mkcsmapper/yacc.y
427
map_type = type;
usr.bin/mklocale/mklocaledb.c
227
mklocaledb(const char *type, FILE *reader, FILE *writer)
usr.bin/mklocale/mklocaledb.c
238
_DIAGASSERT(type != NULL);
usr.bin/mklocale/mklocaledb.c
242
if (!strcasecmp(type, "MONETARY"))
usr.bin/mklocale/mklocaledb.c
244
else if (!strcasecmp(type, "NUMERIC"))
usr.bin/mklocale/mklocaledb.c
246
else if (!strcasecmp(type, "TIME"))
usr.bin/mklocale/mklocaledb.c
248
else if (!strcasecmp(type, "MESSAGES"))
usr.bin/mkubootimage/mkubootimage.c
189
enum uboot_image_type type;
usr.bin/mkubootimage/mkubootimage.c
207
return uboot_type[i].type;
usr.bin/mkubootimage/mkubootimage.c
214
get_type_name(enum uboot_image_type type)
usr.bin/mkubootimage/mkubootimage.c
219
if (uboot_type[i].type == type)
usr.bin/netstat/pfkey.c
119
int first, type;
usr.bin/netstat/pfkey.c
140
for (first = 1, type = 0; type < 256; type++) {
usr.bin/netstat/pfkey.c
141
if (pfkeystat[PFKEY_STAT_OUT_MSGTYPE + type] == 0)
usr.bin/netstat/pfkey.c
147
printf("\t\t%s: %llu\n", pfkey_msgtype_names(type),
usr.bin/netstat/pfkey.c
148
(unsigned long long)pfkeystat[PFKEY_STAT_OUT_MSGTYPE + type]);
usr.bin/netstat/pfkey.c
172
for (first = 1, type = 0; type < 256; type++) {
usr.bin/netstat/pfkey.c
173
if (pfkeystat[PFKEY_STAT_IN_MSGTYPE + type] == 0)
usr.bin/netstat/pfkey.c
179
printf("\t\t%s: %llu\n", pfkey_msgtype_names(type),
usr.bin/netstat/pfkey.c
180
(unsigned long long)pfkeystat[PFKEY_STAT_IN_MSGTYPE + type]);
usr.bin/nl/nl.c
307
switch (numbering_properties[section].type) {
usr.bin/nl/nl.c
365
numbering_properties[section].type = number_all;
usr.bin/nl/nl.c
368
numbering_properties[section].type = number_none;
usr.bin/nl/nl.c
371
numbering_properties[section].type = number_nonempty;
usr.bin/nl/nl.c
375
if (numbering_properties[section].type == number_regex)
usr.bin/nl/nl.c
378
numbering_properties[section].type = number_regex;
usr.bin/nl/nl.c
58
numbering_type type; /* numbering type */
usr.bin/pkill/pkill.c
584
makelist(struct listhead *head, enum listtype type, char *src)
usr.bin/pkill/pkill.c
608
if (*ep == '\0' && type != LT_TTY) {
usr.bin/pkill/pkill.c
609
switch (type) {
usr.bin/pkill/pkill.c
624
switch (type) {
usr.bin/pmap/pmap.c
431
#define V_DATA_IS(vp, type, d, i) do { \
usr.bin/pmap/pmap.c
434
S(&data) = sizeof(*D(&data, type)); \
usr.bin/pmap/pmap.c
436
dev = D(&data, type)->d; \
usr.bin/pmap/pmap.c
437
inode = D(&data, type)->i; \
usr.bin/quota/quotautil.c
104
qfextension[type]);
usr.bin/quota/quotautil.c
74
hasquota(char *buf, size_t len, struct fstab *fs, int type)
usr.bin/quota/quotautil.c
92
if (type == USRQUOTA && strcmp(opt, usrname) == 0)
usr.bin/quota/quotautil.c
94
if (type == GRPQUOTA && strcmp(opt, grpname) == 0)
usr.bin/rdist/gram.y
507
makesubcmd(int type)
usr.bin/rdist/gram.y
514
sc->sc_type = type;
usr.bin/rdist/server.c
749
recvf(char *cmd, int type)
usr.bin/rdist/server.c
805
if (type == S_IFDIR) {
usr.bin/rdist/server.c
863
if (type == S_IFLNK) {
usr.bin/resize/resize.c
114
int type;
usr.bin/resize/resize.c
400
shell_type = shell_list[i].type;
usr.bin/rpcgen/rpc_clntout.c
123
ptype(proc->args.decls->decl.prefix, proc->args.decls->decl.type, 1);
usr.bin/rpcgen/rpc_clntout.c
136
if (!streq(proc->args.decls->decl.type, "void")) {
usr.bin/rpcgen/rpc_clntout.c
156
ampr(const char *type)
usr.bin/rpcgen/rpc_clntout.c
158
if (isvectordef(type, REL_ALIAS)) {
usr.bin/rpcgen/rpc_clntout.c
166
aster(const char *type)
usr.bin/rpcgen/rpc_clntout.c
168
if (isvectordef(type, REL_ALIAS)) {
usr.bin/rpcgen/rpc_clntout.c
199
if (newstyle && !args2 && (streq(proc->args.decls->decl.type, "void"))) {
usr.bin/rpcgen/rpc_clntout.c
239
stringfix(proc->args.decls->decl.type),
usr.bin/rpcgen/rpc_clntout.c
247
stringfix(proc->args.decls->decl.type),
usr.bin/rpcgen/rpc_cout.c
123
findtype(definition *def, const char *type)
usr.bin/rpcgen/rpc_cout.c
129
return (streq(def->def_name, type));
usr.bin/rpcgen/rpc_cout.c
134
undefined(const char *type)
usr.bin/rpcgen/rpc_cout.c
138
def = (definition *) FINDVAL(defined, type, findtype);
usr.bin/rpcgen/rpc_cout.c
205
print_ifsizeof(const char *prefix, const char *type)
usr.bin/rpcgen/rpc_cout.c
207
if (streq(type, "bool")) {
usr.bin/rpcgen/rpc_cout.c
211
if (undefined(type) && prefix) {
usr.bin/rpcgen/rpc_cout.c
214
f_print(fout, "%s), (xdrproc_t)xdr_%s", type, type);
usr.bin/rpcgen/rpc_cout.c
227
print_ifstat(int indent, const char *prefix, const char *type, relation rel,
usr.bin/rpcgen/rpc_cout.c
237
print_ifsizeof(prefix, type);
usr.bin/rpcgen/rpc_cout.c
240
if (streq(type, "string")) {
usr.bin/rpcgen/rpc_cout.c
243
if (streq(type, "opaque")) {
usr.bin/rpcgen/rpc_cout.c
256
print_ifsizeof(prefix, type);
usr.bin/rpcgen/rpc_cout.c
260
if (streq(type, "string")) {
usr.bin/rpcgen/rpc_cout.c
263
if (streq(type, "opaque")) {
usr.bin/rpcgen/rpc_cout.c
266
if (streq(type, "string")) {
usr.bin/rpcgen/rpc_cout.c
286
print_ifsizeof(prefix, type);
usr.bin/rpcgen/rpc_cout.c
290
print_ifopen(indent, type);
usr.bin/rpcgen/rpc_cout.c
352
if (!streq(cs->type, "void")) {
usr.bin/rpcgen/rpc_cout.c
355
if (isvectordef(cs->type, cs->rel)) {
usr.bin/rpcgen/rpc_cout.c
362
print_ifstat(2, cs->prefix, cs->type, cs->rel,
usr.bin/rpcgen/rpc_cout.c
371
if (!streq(dflt->type, "void")) {
usr.bin/rpcgen/rpc_cout.c
374
if (isvectordef(dflt->type, dflt->rel)) {
usr.bin/rpcgen/rpc_cout.c
381
print_ifstat(2, dflt->prefix, dflt->type, dflt->rel,
usr.bin/rpcgen/rpc_cout.c
416
((ptr = find_type(dl->decl.type)) != NULL) &&
usr.bin/rpcgen/rpc_cout.c
455
if ((dl->decl.prefix == NULL) && ((ptr = find_type(dl->decl.type)) != NULL) && ((dl->decl.rel == REL_ALIAS) || (dl->decl.rel == REL_VECTOR))) {
usr.bin/rpcgen/rpc_cout.c
613
const char *type = def->def.ty.old_type;
usr.bin/rpcgen/rpc_cout.c
618
print_ifstat(1, prefix, type, rel, amax, "objp", def->def_name);
usr.bin/rpcgen/rpc_cout.c
625
const char *type = dec->type;
usr.bin/rpcgen/rpc_cout.c
630
if (isvectordef(type, rel)) {
usr.bin/rpcgen/rpc_cout.c
635
print_ifstat(indent, prefix, type, rel, amax, name, dec->name);
usr.bin/rpcgen/rpc_cout.c
652
f_print(fout, "\t\t\t\t%s *genp;\n", decl->type);
usr.bin/rpcgen/rpc_cout.c
683
upp_case = freeable = upcase(decl->type);
usr.bin/rpcgen/rpc_hout.c
238
if (streq(decl->type, "bool")) {
usr.bin/rpcgen/rpc_hout.c
241
f_print(fout, "\t%s %s;\n", decl->type, decl->name);
usr.bin/rpcgen/rpc_hout.c
249
if (decl && !streq(decl->type, "void")) {
usr.bin/rpcgen/rpc_hout.c
369
streq(proc->args.decls->decl.type, "void")) {
usr.bin/rpcgen/rpc_hout.c
373
ptype(dl->decl.prefix, dl->decl.type, 1);
usr.bin/rpcgen/rpc_hout.c
475
const char *type;
usr.bin/rpcgen/rpc_hout.c
477
if (streq(dec->type, "void")) {
usr.bin/rpcgen/rpc_hout.c
481
if (streq(dec->type, name) && !dec->prefix) {
usr.bin/rpcgen/rpc_hout.c
484
if (streq(dec->type, "string")) {
usr.bin/rpcgen/rpc_hout.c
488
if (streq(dec->type, "bool")) {
usr.bin/rpcgen/rpc_hout.c
489
type = "bool_t";
usr.bin/rpcgen/rpc_hout.c
491
if (streq(dec->type, "opaque")) {
usr.bin/rpcgen/rpc_hout.c
492
type = "char";
usr.bin/rpcgen/rpc_hout.c
498
type = dec->type;
usr.bin/rpcgen/rpc_hout.c
502
f_print(fout, "%s%s %s", prefix, type, dec->name);
usr.bin/rpcgen/rpc_hout.c
505
f_print(fout, "%s%s %s[%s]", prefix, type, dec->name,
usr.bin/rpcgen/rpc_hout.c
509
f_print(fout, "%s%s *%s", prefix, type, dec->name);
usr.bin/rpcgen/rpc_hout.c
516
f_print(fout, "\t%s%s *%s_val;\n", prefix, type, dec->name);
usr.bin/rpcgen/rpc_hout.c
526
undefined2(const char *type, const char *stop)
usr.bin/rpcgen/rpc_hout.c
537
if (streq(def->def_name, type)) {
usr.bin/rpcgen/rpc_parse.c
190
if (streq(dec.type, "void"))
usr.bin/rpcgen/rpc_parse.c
204
if (streq(dec.type, "void"))
usr.bin/rpcgen/rpc_parse.c
405
defp->def.ty.old_type = dec.type;
usr.bin/rpcgen/rpc_parse.c
415
get_type(&dec->prefix, &dec->type, dkind);
usr.bin/rpcgen/rpc_parse.c
417
if (streq(dec->type, "void")) {
usr.bin/rpcgen/rpc_parse.c
420
check_type_name(dec->type, 0);
usr.bin/rpcgen/rpc_parse.c
451
if (streq(dec->type, "opaque")) {
usr.bin/rpcgen/rpc_parse.c
456
if (streq(dec->type, "string")) {
usr.bin/rpcgen/rpc_parse.c
473
dec->type = "void";
usr.bin/rpcgen/rpc_parse.c
479
get_type(&dec->prefix, &dec->type, dkind);
usr.bin/rpcgen/rpc_parse.c
489
if (streq(dec->type, "void")) {
usr.bin/rpcgen/rpc_parse.c
492
if (streq(dec->type, "opaque")) {
usr.bin/rpcgen/rpc_parse.c
496
if (streq(dec->type, "string")) {
usr.bin/rpcgen/rpc_parse.c
504
if (!streq(dec->type, "string")) {
usr.bin/rpcgen/rpc_parse.c
517
if (streq(dec->type, "string")) {
usr.bin/rpcgen/rpc_parse.h
80
const char *type;
usr.bin/rpcgen/rpc_sample.c
103
if (streq(proc->args.decls->decl.type, "void"))
usr.bin/rpcgen/rpc_sample.c
107
ptype(proc->args.decls->decl.prefix, proc->args.decls->decl.type, 1);
usr.bin/rpcgen/rpc_sample.c
111
if (!streq(proc->args.decls->decl.type, "void")) {
usr.bin/rpcgen/rpc_sample.c
114
ptype(l->decl.prefix, l->decl.type, 1);
usr.bin/rpcgen/rpc_sample.c
154
if (streq(proc->args.decls->decl.type, "void")) /* cast to void* */
usr.bin/rpcgen/rpc_sample.c
160
if (streq(proc->args.decls->decl.type, "void")) {
usr.bin/rpcgen/rpc_svcout.c
312
proc->args.decls->decl.type, 0);
usr.bin/rpcgen/rpc_svcout.c
329
if (!streq(proc->args.decls->decl.type, "void"))
usr.bin/rpcgen/rpc_svcout.c
382
if (streq(proc->args.decls->decl.type,
usr.bin/rpcgen/rpc_svcout.c
389
proc->args.decls->decl.type, 0);
usr.bin/rpcgen/rpc_svcout.c
449
p_xdrfunc(ARG, proc->args.decls->decl.type);
usr.bin/rpcgen/rpc_svcout.c
970
aster(const char *type)
usr.bin/rpcgen/rpc_svcout.c
972
if (isvectordef(type, REL_ALIAS)) {
usr.bin/rpcgen/rpc_tblout.c
147
proc->args.decls->decl.type);
usr.bin/rpcgen/rpc_tblout.c
159
printit(const char *prefix, const char *type)
usr.bin/rpcgen/rpc_tblout.c
165
len = fprintf(fout, "\txdr_%s,", stringfix(type));
usr.bin/rpcgen/rpc_tblout.c
172
if (streq(type, "void")) {
usr.bin/rpcgen/rpc_tblout.c
177
ptype(prefix, type, 0);
usr.bin/rpcgen/rpc_util.c
135
findit(definition *def, const char *type)
usr.bin/rpcgen/rpc_util.c
137
return (streq(def->def_name, type));
usr.bin/rpcgen/rpc_util.c
141
fixit(const char *type, const char *orig)
usr.bin/rpcgen/rpc_util.c
145
def = (definition *) FINDVAL(defined, type, findit);
usr.bin/rpcgen/rpc_util.c
160
fixtype(const char *type)
usr.bin/rpcgen/rpc_util.c
162
return (fixit(type, type));
usr.bin/rpcgen/rpc_util.c
166
stringfix(const char *type)
usr.bin/rpcgen/rpc_util.c
168
if (streq(type, "string")) {
usr.bin/rpcgen/rpc_util.c
171
return (type);
usr.bin/rpcgen/rpc_util.c
176
ptype(const char *prefix, const char *type, int follow)
usr.bin/rpcgen/rpc_util.c
185
if (streq(type, "bool")) {
usr.bin/rpcgen/rpc_util.c
188
if (streq(type, "string")) {
usr.bin/rpcgen/rpc_util.c
191
f_print(fout, "%s ", follow ? fixtype(type) : type);
usr.bin/rpcgen/rpc_util.c
196
typedefed(definition *def, const char *type)
usr.bin/rpcgen/rpc_util.c
201
return (streq(def->def_name, type));
usr.bin/rpcgen/rpc_util.c
206
isvectordef(const char *type, relation rel)
usr.bin/rpcgen/rpc_util.c
213
return (!streq(type, "string"));
usr.bin/rpcgen/rpc_util.c
219
def = (definition *) FINDVAL(defined, type, typedefed);
usr.bin/rpcgen/rpc_util.c
223
type = def->def.ty.old_type;
usr.bin/rpcgen/rpc_util.c
445
add_type(int len, const char *type)
usr.bin/rpcgen/rpc_util.c
452
ptr->name = type;
usr.bin/rpcgen/rpc_util.c
465
find_type(const char *type)
usr.bin/rpcgen/rpc_util.c
473
if (strcmp(ptr->name, type) == 0)
usr.bin/rump_allserver/rump_allserver.c
125
enum rump_etfs_type type;
usr.bin/rump_allserver/rump_allserver.c
130
enum rump_etfs_type type;
usr.bin/rump_allserver/rump_allserver.c
276
ftype = etfstypes[i].type;
usr.bin/rump_allserver/rump_allserver.c
308
etfs[curetfs].type = ftype;
usr.bin/rump_allserver/rump_allserver.c
462
etfs[i].hostpath, etfs[i].type, foffset, flen)) != 0)
usr.bin/rump_dhcpclient/dhcp.c
164
valid_length(uint8_t option, int dl, int *type)
usr.bin/rump_dhcpclient/dhcp.c
176
if (type)
usr.bin/rump_dhcpclient/dhcp.c
177
*type = opt->type;
usr.bin/rump_dhcpclient/dhcp.c
179
if (opt->type == 0 ||
usr.bin/rump_dhcpclient/dhcp.c
180
opt->type & STRING ||
usr.bin/rump_dhcpclient/dhcp.c
181
opt->type & RFC3442)
usr.bin/rump_dhcpclient/dhcp.c
185
if (opt->type & UINT32 || opt->type & IPV4)
usr.bin/rump_dhcpclient/dhcp.c
187
if (opt->type & UINT16)
usr.bin/rump_dhcpclient/dhcp.c
189
if (opt->type & UINT8)
usr.bin/rump_dhcpclient/dhcp.c
191
if (opt->type & IPV4 || opt->type & ARRAY)
usr.bin/rump_dhcpclient/dhcp.c
210
get_option(const struct dhcp_message *dhcp, uint8_t opt, int *len, int *type)
usr.bin/rump_dhcpclient/dhcp.c
268
if (valid_length(opt, bl, type) == -1) {
usr.bin/rump_dhcpclient/dhcp.c
510
uint8_t type, struct in_addr addr)
usr.bin/rump_dhcpclient/dhcp.c
527
PUTADDR(type, addr);
usr.bin/rump_dhcpclient/dhcp.c
535
uint8_t type)
usr.bin/rump_dhcpclient/dhcp.c
553
if ((type == DHCP_INFORM || type == DHCP_RELEASE ||
usr.bin/rump_dhcpclient/dhcp.c
554
(type == DHCP_REQUEST &&
usr.bin/rump_dhcpclient/dhcp.c
561
if (type == DHCP_INFORM && iface->addr.s_addr == 0)
usr.bin/rump_dhcpclient/dhcp.c
577
type != DHCP_DECLINE &&
usr.bin/rump_dhcpclient/dhcp.c
578
type != DHCP_RELEASE)
usr.bin/rump_dhcpclient/dhcp.c
581
if (type != DHCP_DECLINE && type != DHCP_RELEASE) {
usr.bin/rump_dhcpclient/dhcp.c
592
*p++ = type;
usr.bin/rump_dhcpclient/dhcp.c
601
if (type == DHCP_DECLINE ||
usr.bin/rump_dhcpclient/dhcp.c
602
(type == DHCP_REQUEST &&
usr.bin/rump_dhcpclient/dhcp.c
610
if (type == DHCP_RELEASE) {
usr.bin/rump_dhcpclient/dhcp.c
616
if (type == DHCP_DECLINE) {
usr.bin/rump_dhcpclient/dhcp.c
624
if (type == DHCP_DISCOVER && ifo->options & DHCPCD_REQUEST)
usr.bin/rump_dhcpclient/dhcp.c
627
if (type == DHCP_DISCOVER ||
usr.bin/rump_dhcpclient/dhcp.c
628
type == DHCP_INFORM ||
usr.bin/rump_dhcpclient/dhcp.c
629
type == DHCP_REQUEST)
usr.bin/rump_dhcpclient/dhcp.c
63
int type;
usr.bin/rump_dhcpclient/dhcp.c
661
if (type != DHCP_INFORM) {
usr.bin/rump_dhcpclient/dhcp.c
720
if (!(opt->type & REQUEST ||
usr.bin/rump_dhcpclient/dhcp.c
723
if (type == DHCP_INFORM &&
usr.bin/rump_dhcpclient/main.c
191
uint8_t type;
usr.bin/rump_dhcpclient/main.c
195
get_option_uint8(&type, dhcp, DHO_MESSAGETYPE);
usr.bin/rump_dhcpclient/main.c
196
switch (type) {
usr.bin/rump_dhcpclient/main.c
217
uint8_t type;
usr.bin/rump_dhcpclient/main.c
220
get_option_uint8(&type, dhcp, DHO_MESSAGETYPE);
usr.bin/rump_dhcpclient/main.c
221
if (type != DHCP_ACK)
usr.bin/sdpquery/print.c
1401
uint8_t type;
usr.bin/sdpquery/print.c
1412
|| !sdp_get_uint8(&seq, &type)
usr.bin/sdpquery/print.c
1416
switch (type) {
usr.bin/sdpquery/print.c
1422
printf(" Type 0x%02x: %s\n", type, name);
usr.bin/sdpquery/print.c
1670
uint16_t type;
usr.bin/sdpquery/print.c
1679
|| !sdp_get_uint16(&feature, &type)
usr.bin/sdpquery/print.c
1685
switch(type) {
usr.bin/sdpquery/print.c
1714
default: printf("Type 0x%04x", type); break;
usr.bin/sed/compile.c
916
a->type = 0;
usr.bin/sed/compile.c
934
a->type = AT_RE;
usr.bin/sed/compile.c
938
a->type = AT_LAST;
usr.bin/sed/compile.c
942
a->type = AT_RELLINE;
usr.bin/sed/compile.c
948
if (a->type == 0)
usr.bin/sed/compile.c
949
a->type = AT_LINE;
usr.bin/sed/defs.h
131
enum {AP_STRING, AP_FILE} type;
usr.bin/sed/defs.h
53
enum e_atype type; /* Address type */
usr.bin/sed/main.c
261
switch (script->type) {
usr.bin/sed/main.c
494
add_compunit(enum e_cut type, char *s)
usr.bin/sed/main.c
499
cu->type = type;
usr.bin/sed/main.c
84
enum e_cut {CU_FILE, CU_STRING} type;
usr.bin/sed/process.c
134
appends[appendx].type = AP_STRING;
usr.bin/sed/process.c
227
appends[appendx].type = AP_FILE;
usr.bin/sed/process.c
292
((a)->type == AT_RE ? regexec_e((a)->u.r, ps, 0, 1, psl) : \
usr.bin/sed/process.c
293
(a)->type == AT_LINE ? linenum == (a)->u.l : lastline())
usr.bin/sed/process.c
309
switch (cp->a2->type) {
usr.bin/sed/process.c
323
} else if (cp->a2->type == AT_LINE &&
usr.bin/sed/process.c
343
if ((cp->a2->type == AT_LINE &&
usr.bin/sed/process.c
345
(cp->a2->type == AT_RELLINE && cp->a2->u.l == 0))
usr.bin/sed/process.c
561
switch (appends[i].type) {
usr.bin/showmount/showmount.c
123
if (type == 0) {
usr.bin/showmount/showmount.c
124
type = ALL;
usr.bin/showmount/showmount.c
130
if (type == 0) {
usr.bin/showmount/showmount.c
131
type = DIRS;
usr.bin/showmount/showmount.c
186
switch (type) {
usr.bin/showmount/showmount.c
309
switch (type) {
usr.bin/showmount/showmount.c
440
switch (type) {
usr.bin/showmount/showmount.c
93
static int type = 0;
usr.bin/systat/icmp.c
54
#define SHOW2(type, row) SHOW(ICMP_STAT_INHIST + type, row, 0); \
usr.bin/systat/icmp.c
55
SHOW(ICMP_STAT_OUTHIST + type, row, 35)
usr.bin/talk/ctl_transact.c
104
rp->type != type));
usr.bin/talk/ctl_transact.c
105
} while (rp->vers != TALK_VERSION || rp->type != type);
usr.bin/talk/ctl_transact.c
55
ctl_transact(struct in_addr target, CTL_MSG tmsg, int type, CTL_RESPONSE *rp)
usr.bin/talk/ctl_transact.c
61
tmsg.type = type;
usr.bin/talk/invite.c
173
msg.type = DELETE;
usr.bin/tcopy/tcopy.c
316
writeop(int fd, int type)
usr.bin/tcopy/tcopy.c
320
op.mt_op = type;
usr.bin/tic/tic.c
249
char flag, type;
usr.bin/tic/tic.c
303
type = *cap++;
usr.bin/tic/tic.c
306
switch (type) {
usr.bin/tic/tic.c
325
_ti_store_extra(rtic, 0, code, type, flag, num, str, num,
usr.bin/tset/map.c
146
mapp->type = arg;
usr.bin/tset/map.c
165
(void)printf("type: %s\n", mapp->type);
usr.bin/tset/map.c
189
mapped(const char *type)
usr.bin/tset/map.c
196
if (mapp->porttype == NULL || !strcmp(mapp->porttype, type)) {
usr.bin/tset/map.c
218
return (mapp->type);
usr.bin/tset/map.c
221
return (type);
usr.bin/tset/map.c
62
const char *type; /* Terminal type to select. */
usr.bin/tset/map.c
98
mapp->type = mapp->porttype;
usr.bin/videoctl/videoctl.c
249
fmtdesc.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
usr.bin/videoctl/videoctl.c
270
switch (framesize.type) {
usr.bin/videoctl/videoctl.c
291
framesize.type);
usr.bin/videoctl/videoctl.c
349
switch (input.type) {
usr.bin/videoctl/videoctl.c
357
printf("unknown (%d)\n", input.type);
usr.bin/videoctl/videoctl.c
380
switch (input.type) {
usr.bin/videoctl/videoctl.c
388
printf("unknown (%d)\n", input.type);
usr.bin/vmstat/vmstat.c
1293
doevcnt(int verbose, int type)
usr.bin/vmstat/vmstat.c
1306
const int mib[4] = { CTL_KERN, KERN_EVCNT, type,
usr.bin/vmstat/vmstat.c
1362
if (type != EVCNT_TYPE_ANY) {
usr.bin/vmstat/vmstat.c
1376
const char *evdesc = type == EVCNT_TYPE_ANY ?
usr.bin/vmstat/vmstat.c
1378
const char *typedesc = type == EVCNT_TYPE_ANY ?
usr.bin/vmstat/vmstat.c
1394
(void)printf(type == EVCNT_TYPE_ANY ?
usr.bin/vmstat/vmstat.c
1410
if (type != EVCNT_TYPE_ANY)
usr.bin/vmstat/vmstat.c
1418
if (type == EVCNT_TYPE_ANY)
usr.bin/vmstat/vmstat.c
1430
if (type != EVCNT_TYPE_ANY && evcnt.ev_type != type)
usr.bin/vmstat/vmstat.c
1438
(void)printf(type == EVCNT_TYPE_ANY ?
usr.bin/vmstat/vmstat.c
1450
if (type != EVCNT_TYPE_ANY)
usr.bin/vmstat/vmstat.c
1907
enum hashtype type; /* type of hash table */
usr.bin/vmstat/vmstat.c
1993
switch (curhash->type) {
usr.bin/vmstat/vmstat.c
2033
if (curhash->type == HASH_LIST) {
usr.bin/vmstat/vmstat.c
2037
} else if (curhash->type == HASH_SLIST) {
usr.bin/vmstat/vmstat.c
2047
if (curhash->type == HASH_LIST)
usr.bin/vmstat/vmstat.c
2049
else if (curhash->type == HASH_SLIST)
usr.bin/vmstat/vmstat.c
295
void doevcnt(int verbose, int type);
usr.bin/w/w.c
112
char type[2];
usr.bin/w/w.c
269
ep->type[0] = 'x';
usr.bin/w/w.c
417
ep->type, ep->name, ep->line, ep->host);
usr.bin/who/utmpentry.c
291
e->type = USER_PROCESS;
usr.bin/who/utmpentry.c
321
e->type = up->ut_type;
usr.bin/who/utmpentry.h
56
uint16_t type;
usr.bin/who/who.c
275
ep->term, ep->exit, ep->sess, ep->type);
usr.bin/who/who.c
280
pid_t pid, uint16_t term, uint16_t xit, uint16_t sess, uint16_t type)
usr.bin/who/who.c
293
for (i = 0; ut_type_names[i].type >= 0; i++) {
usr.bin/who/who.c
295
if (ut_type_names[i].type == type)
usr.bin/who/who.c
332
if (type == RUN_LVL)
usr.bin/who/who.c
74
uint16_t term, uint16_t xit, uint16_t sess, uint16_t type);
usr.bin/who/who.c
82
int type;
usr.bin/xinstall/xinstall.c
1246
metadata_log(const char *path, const char *type, struct timeval *tv,
usr.bin/xinstall/xinstall.c
1285
fprintf(metafp, ".%s%s type=%s", *p ? "/" : "", p, type);
usr.bin/xinstall/xinstall.c
1293
if (*type == 'f') /* type=file */
usr.bin/xlint/lint1/tree.c
777
build_op(op_t op, bool sys, type_t *type, tnode_t *ln, tnode_t *rn)
usr.bin/xlint/lint1/tree.c
782
ntn->tn_type = type;
usr.sbin/ac/ac.c
86
#define NEW(type) (type *)malloc(sizeof (type))
usr.sbin/acpitools/acpidump/acpi.c
112
static void acpi_print_srat_cpu(uint8_t type, uint32_t apic_id,
usr.sbin/acpitools/acpidump/acpi.c
3123
acpi_print_srat_cpu(uint8_t type, uint32_t apic_id, uint32_t proximity_domain,
usr.sbin/acpitools/acpidump/acpi.c
3134
(type == ACPI_SRAT_TYPE_GIC_ITS_AFFINITY) ? "ITS" : "APIC",
usr.sbin/acpitools/acpidump/acpi.c
3136
if (type == ACPI_SRAT_TYPE_CPU_AFFINITY)
usr.sbin/acpitools/acpidump/acpi.c
3139
if (type != ACPI_SRAT_TYPE_GIC_ITS_AFFINITY)
usr.sbin/acpitools/acpidump/acpi.c
3591
devscope_type2str(int type)
usr.sbin/acpitools/acpidump/acpi.c
3595
switch (type) {
usr.sbin/acpitools/acpidump/acpi.c
3607
snprintf(typebuf, sizeof(typebuf), "%d", type);
usr.sbin/acpitools/aml/aml_common.c
166
switch (obj->type) {
usr.sbin/acpitools/aml/aml_common.c
232
if (obj->package.objects[i]->type < 0) {
usr.sbin/acpitools/aml/aml_common.c
261
printf("UNK ID=%d\n", obj->type);
usr.sbin/acpitools/aml/aml_common.c
590
if (pci_info == NULL || pci_info->property->type != aml_t_num) {
usr.sbin/acpitools/aml/aml_common.c
601
if (pci_info == NULL || pci_info->property->type != aml_t_num) {
usr.sbin/acpitools/aml/aml_evalobj.c
104
if (env->tempobject.type == aml_t_regfield) {
usr.sbin/acpitools/aml/aml_evalobj.c
111
env->tempobject.type = aml_t_num;
usr.sbin/acpitools/aml/aml_evalobj.c
121
tobj.type = aml_t_num;
usr.sbin/acpitools/aml/aml_evalobj.c
126
env->tempobject.type = aml_t_num;
usr.sbin/acpitools/aml/aml_evalobj.c
143
num1.type = aml_t_num;
usr.sbin/acpitools/aml/aml_evalobj.c
149
switch (ref->type) {
usr.sbin/acpitools/aml/aml_evalobj.c
214
switch (aname->property->type) {
usr.sbin/acpitools/aml/aml_evalobj.c
280
env->tempobject.type = aml_t_num;
usr.sbin/acpitools/aml/aml_evalobj.c
293
env->tempobject.type = aml_t_num;
usr.sbin/acpitools/aml/aml_evalobj.c
300
aname->name, aname->property->type);
usr.sbin/acpitools/aml/aml_evalobj.c
338
if (name->property->type != aml_t_method) {
usr.sbin/acpitools/aml/aml_evalobj.c
355
if (obj != NULL && obj->type == aml_t_num) {
usr.sbin/acpitools/aml/aml_evalobj.c
402
name->property->type == aml_t_method) {
usr.sbin/acpitools/aml/aml_evalobj.c
410
aml_alloc_object(argv[i].type, &argv[i]);
usr.sbin/acpitools/aml/aml_evalobj.c
81
name->property->type != aml_t_field) {
usr.sbin/acpitools/aml/aml_evalobj.c
89
env->tempobject.type = aml_t_regfield;
usr.sbin/acpitools/aml/aml_evalobj.c
91
env->tempobject.type = aml_t_num;
usr.sbin/acpitools/aml/aml_evalobj.c
97
wname->property->type != aml_t_opregion) {
usr.sbin/acpitools/aml/aml_memman.h
143
#define MEMMAN_INITIALSTORAGE_DESC(type, name) \
usr.sbin/acpitools/aml/aml_memman.h
146
type realblock[MEMMAN_INITIAL_SIZE]; \
usr.sbin/acpitools/aml/aml_obj.c
101
} else if (orig->type == aml_t_string && orig->str.needfree != 0) {
usr.sbin/acpitools/aml/aml_obj.c
106
} else if (orig->type == aml_t_num) {
usr.sbin/acpitools/aml/aml_obj.c
111
env->tempobject.type = aml_t_null;
usr.sbin/acpitools/aml/aml_obj.c
123
aml_alloc_object(enum aml_objtype type, union aml_object *orig)
usr.sbin/acpitools/aml/aml_obj.c
129
type = orig->type;
usr.sbin/acpitools/aml/aml_obj.c
131
switch (type) {
usr.sbin/acpitools/aml/aml_obj.c
179
ret->type = type;
usr.sbin/acpitools/aml/aml_obj.c
192
if (obj->type == aml_t_buffer && obj->buffer.data != NULL) {
usr.sbin/acpitools/aml/aml_obj.c
196
if (obj->type == aml_t_string && obj->str.string != NULL) {
usr.sbin/acpitools/aml/aml_obj.c
202
if (obj->type == aml_t_package && obj->package.objects != NULL) {
usr.sbin/acpitools/aml/aml_obj.c
229
enum aml_objtype type;
usr.sbin/acpitools/aml/aml_obj.c
232
type = obj->type;
usr.sbin/acpitools/aml/aml_obj.c
233
switch (type) {
usr.sbin/acpitools/aml/aml_obj.c
67
switch (orig->type) {
usr.sbin/acpitools/aml/aml_obj.c
85
if (orig->type == aml_t_buffer) {
usr.sbin/acpitools/aml/aml_obj.c
92
} else if (orig->type == aml_t_package) {
usr.sbin/acpitools/aml/aml_obj.h
125
enum aml_objtype type;
usr.sbin/acpitools/aml/aml_obj.h
138
enum aml_objtype type; /* aml_t_bufferfield */
usr.sbin/acpitools/aml/aml_obj.h
148
enum aml_objtype type;
usr.sbin/acpitools/aml/aml_obj.h
155
enum aml_objtype type;
usr.sbin/acpitools/aml/aml_obj.h
161
enum aml_objtype type;
usr.sbin/acpitools/aml/aml_obj.h
172
enum aml_objtype type;
usr.sbin/acpitools/aml/aml_obj.h
179
enum aml_objtype type;
usr.sbin/acpitools/aml/aml_obj.h
189
enum aml_objtype type;
usr.sbin/acpitools/aml/aml_obj.h
198
enum aml_objtype type; /* aml_t_event */
usr.sbin/acpitools/aml/aml_obj.h
203
enum aml_objtype type;
usr.sbin/acpitools/aml/aml_obj.h
63
enum aml_objtype type; /* =aml_t_namestr */
usr.sbin/acpitools/aml/aml_obj.h
68
enum aml_objtype type;
usr.sbin/acpitools/aml/aml_obj.h
75
enum aml_objtype type; /* =aml_t_num */
usr.sbin/acpitools/aml/aml_obj.h
81
enum aml_objtype type;
usr.sbin/acpitools/aml/aml_obj.h
87
enum aml_objtype type; /* =aml_t_string */
usr.sbin/acpitools/aml/aml_obj.h
93
enum aml_objtype type; /* =aml_t_buffer */
usr.sbin/acpitools/aml/aml_parse.c
1217
if (srcbuf == NULL || srcbuf->type != aml_t_buffer) {
usr.sbin/acpitools/aml/aml_parse.c
1298
anum.type = aml_t_num;
usr.sbin/acpitools/aml/aml_parse.c
1318
ret->type = aml_t_namestr;
usr.sbin/acpitools/aml/aml_parse.c
1324
ret->type = aml_t_num;
usr.sbin/acpitools/aml/aml_parse.c
1331
ret->type = aml_t_num;
usr.sbin/acpitools/aml/aml_parse.c
1338
ret->type = aml_t_num;
usr.sbin/acpitools/aml/aml_parse.c
1345
ret->type = aml_t_string;
usr.sbin/acpitools/aml/aml_parse.c
1354
ret->type = aml_t_num;
usr.sbin/acpitools/aml/aml_parse.c
1361
ret->type = aml_t_num;
usr.sbin/acpitools/aml/aml_parse.c
1368
ret->type = aml_t_num;
usr.sbin/acpitools/aml/aml_parse.c
1381
tmpname->property->type != aml_t_namestr) {
usr.sbin/acpitools/aml/aml_parse.c
1474
src->property->type != aml_t_namestr) {
usr.sbin/acpitools/aml/aml_parse.c
1567
env->tempobject.type = aml_t_num;
usr.sbin/acpitools/aml/aml_parse.c
1573
env->tempobject.type = aml_t_debug;
usr.sbin/acpitools/aml/aml_parse.c
1663
src->property->type != aml_t_namestr) {
usr.sbin/acpitools/aml/aml_parse.c
1786
switch (objref->objref.ref->type) {
usr.sbin/acpitools/aml/aml_parse.c
1817
switch (tmpobj->type) {
usr.sbin/acpitools/aml/aml_parse.c
1847
switch (srcobj->type) {
usr.sbin/acpitools/aml/aml_parse.c
1868
if (obj->type != aml_t_package) {
usr.sbin/acpitools/aml/aml_parse.c
1935
env->tempobject.type = aml_t_num;
usr.sbin/acpitools/aml/aml_parse.c
1938
env->tempobject.type = aml_t_num;
usr.sbin/acpitools/aml/aml_parse.c
1939
env->tempobject.num.number = aname->property->type;
usr.sbin/acpitools/aml/aml_parse.c
1954
env->tempobject.type = aml_t_num; \
usr.sbin/acpitools/aml/aml_parse.c
1971
env->tempobject.type = aml_t_num;
usr.sbin/acpitools/aml/aml_parse.c
321
#define AML_ALLOC_OBJECT(dest, env, type, ret) do { \
usr.sbin/acpitools/aml/aml_parse.c
322
dest = aml_alloc_object(type, NULL); \
usr.sbin/acpitools/aml/aml_parse.c
391
obj->type = aml_t_buffer;
usr.sbin/acpitools/aml/aml_parse.c
413
obj->type = aml_t_buffer;
usr.sbin/acpitools/aml/aml_parse.c
435
if (tmpobj->type != aml_t_buffer) {
usr.sbin/acpitools/aml/aml_parse.c
444
resobj->buffer.type = aml_t_buffer;
usr.sbin/acpitools/aml/aml_parse.c
475
if (tmpobj->type != aml_t_string) {
usr.sbin/acpitools/aml/aml_parse.c
484
resobj->type = aml_t_buffer;
usr.sbin/acpitools/aml/aml_parse.c
513
switch (obj->type) {
usr.sbin/acpitools/aml/aml_parse.c
593
obj->type = aml_t_package;
usr.sbin/acpitools/aml/aml_parse.c
797
fieldtemplate.type = aml_t_field;
usr.sbin/acpitools/aml/aml_parse.c
843
template.type = aml_t_field;
usr.sbin/acpitools/aml/aml_parse.c
892
template.type = aml_t_field;
usr.sbin/acpitools/aml/aml_store.c
124
iobj.type = aml_t_num;
usr.sbin/acpitools/aml/aml_store.c
151
switch (obj->type) {
usr.sbin/acpitools/aml/aml_store.c
204
switch (dest->type) {
usr.sbin/acpitools/aml/aml_store.c
206
if (src->type == aml_t_num) {
usr.sbin/acpitools/aml/aml_store.c
224
switch (src->type) {
usr.sbin/acpitools/aml/aml_store.c
232
if (src->type == aml_t_buffer) {
usr.sbin/acpitools/aml/aml_store.c
255
AML_DEBUGPRINT("[Unimplemented %d]", dest->type);
usr.sbin/acpitools/aml/aml_store.c
268
r->objref.ref = aml_alloc_object(obj->type, NULL); /* XXX */
usr.sbin/acpitools/aml/aml_store.c
273
switch (ref->type) {
usr.sbin/acpitools/aml/aml_store.c
316
if (name->property->type == aml_t_namestr) {
usr.sbin/acpitools/aml/aml_store.c
324
if (name->property == NULL || name->property->type == aml_t_null) {
usr.sbin/acpitools/aml/aml_store.c
330
if (name->property != NULL && name->property->type == aml_t_num &&
usr.sbin/acpitools/aml/aml_store.c
335
if (obj->type == aml_t_objref && obj->objref.deref == 0) {
usr.sbin/acpitools/aml/aml_store.c
341
switch (name->property->type) {
usr.sbin/acpitools/aml/aml_store.c
76
wname->property->type != aml_t_opregion) {
usr.sbin/acpitools/aml/aml_store.c
83
switch (obj->type) {
usr.sbin/acpitools/aml/aml_store.c
94
if (obj->type == aml_t_buffer) {
usr.sbin/acpitools/amldb/debug.c
203
name->property->type != aml_t_method) {
usr.sbin/acpitools/amldb/debug.c
245
argv[i].type = aml_t_num;
usr.sbin/acpitools/amldb/debug.c
260
argv[i].type = aml_t_string;
usr.sbin/altq/altqstat/quip_client.c
468
enum nametype type;
usr.sbin/altq/altqstat/quip_client.c
491
type = INTERFACE;
usr.sbin/altq/altqstat/quip_client.c
493
type = CLASS;
usr.sbin/altq/altqstat/quip_client.c
495
type = FILTER;
usr.sbin/altq/altqstat/quip_client.c
497
switch (type) {
usr.sbin/altq/libaltq/altq_qop.h
233
#define IsDebug(type) (l_debug >= LOG_DEBUG && (m_debug & (type)))
usr.sbin/altq/libaltq/parser.c
1038
char type[MAX_WORD], w[MAX_WORD];
usr.sbin/altq/libaltq/parser.c
1074
if (!next_word(&cp, type)) {
usr.sbin/altq/libaltq/parser.c
1082
if (EQUAL(type, "conditioner")) {
usr.sbin/altq/libaltq/parser.c
1095
} else if (EQUAL(type, "pass")) {
usr.sbin/altq/libaltq/parser.c
1097
} else if (EQUAL(type, "drop")) {
usr.sbin/altq/libaltq/parser.c
1099
} else if (EQUAL(type, "mark")) {
usr.sbin/altq/libaltq/parser.c
1106
} else if (EQUAL(type, "tbmeter")) {
usr.sbin/altq/libaltq/parser.c
1125
} else if (EQUAL(type, "trtcm")) {
usr.sbin/altq/libaltq/parser.c
1158
} else if (EQUAL(type, "tswtcm")) {
usr.sbin/altq/libaltq/qop_hfsc.c
148
int type = 0, error;
usr.sbin/altq/libaltq/qop_hfsc.c
153
if (read_sc(&argc, &argv, &type, &m1, &d, &m2) != 0) {
usr.sbin/altq/libaltq/qop_hfsc.c
159
if (type & HFSC_REALTIMESC) {
usr.sbin/altq/libaltq/qop_hfsc.c
162
if (type & HFSC_LINKSHARINGSC) {
usr.sbin/altq/libaltq/qop_hfsc.c
165
if (type & HFSC_UPPERLIMITSC) {
usr.sbin/altq/libaltq/qop_hfsc.c
172
type |= HFSC_UPPERLIMITSC;
usr.sbin/altq/libaltq/qop_hfsc.c
183
type |= HFSC_LINKSHARINGSC;
usr.sbin/altq/libaltq/qop_hfsc.c
190
type |= HFSC_REALTIMESC;
usr.sbin/altq/libaltq/qop_hfsc.c
196
type |= (HFSC_REALTIMESC | HFSC_LINKSHARINGSC);
usr.sbin/altq/libaltq/qop_hfsc.c
237
if (type == 0) {
usr.sbin/altq/libaltq/qop_hfsc.c
262
m1 = fm1; d = fd; m2 = fm2; type = HFSC_LINKSHARINGSC;
usr.sbin/altq/libaltq/qop_hfsc.c
264
m1 = rm1; d = rd; m2 = rm2; type = HFSC_REALTIMESC;
usr.sbin/altq/libaltq/qop_hfsc.c
267
m1, d, m2, type);
usr.sbin/altq/libaltq/qop_hfsc.c
303
read_sc(int *argcp, char ***argvp, int *type, u_int *m1, u_int *d, u_int *m2)
usr.sbin/altq/libaltq/qop_hfsc.c
316
*type = HFSC_DEFAULTSC;
usr.sbin/altq/libaltq/qop_hfsc.c
318
*type = HFSC_REALTIMESC;
usr.sbin/altq/libaltq/qop_hfsc.c
320
*type = HFSC_LINKSHARINGSC;
usr.sbin/altq/libaltq/qop_hfsc.c
322
*type = HFSC_UPPERLIMITSC;
usr.sbin/apmd/apmd.c
450
syslog(LOG_DEBUG, "apmevent %04x index %d", apmevent.type,
usr.sbin/apmd/apmd.c
452
switch (apmevent.type) {
usr.sbin/bootp/common/hwaddr.h
30
#define haddrlength(type) ((hwinfolist[(int) (type)]).hlen)
usr.sbin/bootp/common/hwaddr.h
31
#define netname(type) ((hwinfolist[(int) (type)]).name)
usr.sbin/bta2dpd/bta2dpd/avdtp.c
44
avdtpSendCommand(int fd, uint8_t command, uint8_t type, uint8_t *data,
usr.sbin/bta2dpd/bta2dpd/avdtp.c
56
const uint8_t messageType = (type & 3);
usr.sbin/bta2dpd/bta2dpd/avdtp_signal.h
118
int avdtpSendCommand(int fd, uint8_t command, uint8_t type,
usr.sbin/btattach/btattach.c
166
const struct devtype *type;
usr.sbin/btattach/btattach.c
242
type = &types[i];
usr.sbin/btattach/btattach.c
243
if (strcasecmp(type->name, name) == 0)
usr.sbin/btattach/btattach.c
256
init_speed = (type->speed ? type->speed : speed);
usr.sbin/btattach/btattach.c
267
tio.c_cflag |= (cflag | type->cflag);
usr.sbin/btattach/btattach.c
276
if (type->init != NULL)
usr.sbin/btattach/btattach.c
277
(*type->init)(fd, speed);
usr.sbin/btattach/btattach.c
286
if (ioctl(fd, TIOCSLINED, type->line) < 0)
usr.sbin/btattach/btattach.c
287
err(EXIT_FAILURE, "%s", type->line);
usr.sbin/btattach/btattach.c
373
hdr.type = HCI_CMD_PKT;
usr.sbin/btattach/btattach.c
451
uint8_t type;
usr.sbin/btattach/btattach.c
457
type = uart_getc(fd, iov, ioc, &count);
usr.sbin/btattach/btattach.c
458
switch(type) {
usr.sbin/btattach/btattach.c
478
errx(EXIT_FAILURE, "unknown packet type 0x%2.2x", type);
usr.sbin/btattach/btattach.c
508
|| hdr.type != HCI_EVENT_PKT
usr.sbin/btattach/btattach.c
540
|| hdr.type != HCI_EVENT_PKT
usr.sbin/btattach/init_csr.c
50
uint16_t type;
usr.sbin/btattach/init_csr.c
92
cmd.message.type = htole16(CSR_BCCMD_MESSAGE_TYPE_SETREQ);
usr.sbin/btconfig/btconfig.c
163
enum { P_SET, P_CLR, P_STR, P_HEX, P_NUM, P_VAL } type;
usr.sbin/btconfig/btconfig.c
274
switch(p->type) {
usr.sbin/btdevctl/sdp.c
435
uintmax_t type;
usr.sbin/btdevctl/sdp.c
443
if (sdp_get_uint(&desc, &type)
usr.sbin/btdevctl/sdp.c
444
&& type == UDESC_REPORT
usr.sbin/bthcid/hci.c
138
if (event->type != HCI_EVENT_PKT) {
usr.sbin/bthcid/hci.c
140
"type=%#x", event->type);
usr.sbin/bthcid/hci.c
331
h->type = HCI_CMD_PKT;
usr.sbin/btpand/bnep.c
103
pkt->type = pkt->ptr;
usr.sbin/btpand/bnep.c
117
log_debug("dropped short packet (type 0x%2.2x)", type);
usr.sbin/btpand/bnep.c
123
pkt->type = pkt->ptr;
usr.sbin/btpand/bnep.c
129
log_debug("dropped short packet (type 0x%2.2x)", type);
usr.sbin/btpand/bnep.c
136
pkt->type = pkt->ptr;
usr.sbin/btpand/bnep.c
142
log_debug("dropped short packet (type 0x%2.2x)", type);
usr.sbin/btpand/bnep.c
149
pkt->type = pkt->ptr;
usr.sbin/btpand/bnep.c
159
log_debug("dropped packet with reserved type 0x%2.2x", type);
usr.sbin/btpand/bnep.c
163
if (BNEP_TYPE_EXT(type)
usr.sbin/btpand/bnep.c
167
if (BNEP_TYPE(type) == BNEP_CONTROL
usr.sbin/btpand/bnep.c
174
type, be16dec(pkt->type), pkt->len);
usr.sbin/btpand/bnep.c
184
uint8_t type;
usr.sbin/btpand/bnep.c
190
type = pkt->ptr[0];
usr.sbin/btpand/bnep.c
196
switch (type) {
usr.sbin/btpand/bnep.c
223
} while (BNEP_TYPE_EXT(type));
usr.sbin/btpand/bnep.c
231
uint8_t type;
usr.sbin/btpand/bnep.c
237
type = *ptr++;
usr.sbin/btpand/bnep.c
239
switch (type) {
usr.sbin/btpand/bnep.c
280
bnep_send_control(chan, BNEP_CONTROL_COMMAND_NOT_UNDERSTOOD, type);
usr.sbin/btpand/bnep.c
288
uint8_t type;
usr.sbin/btpand/bnep.c
293
type = *ptr++;
usr.sbin/btpand/bnep.c
294
log_err("received Control Command Not Understood (0x%2.2x)", type);
usr.sbin/btpand/bnep.c
590
bnep_send_control(channel_t *chan, int type, ...)
usr.sbin/btpand/bnep.c
603
va_start(ap, type);
usr.sbin/btpand/bnep.c
606
*p++ = type;
usr.sbin/btpand/bnep.c
608
switch(type) {
usr.sbin/btpand/bnep.c
635
log_err("Can't send control type 0x%2.2x", type);
usr.sbin/btpand/bnep.c
654
uint8_t *p, *type, *proto;
usr.sbin/btpand/bnep.c
659
if (pkt->type == NULL) {
usr.sbin/btpand/bnep.c
670
type = p;
usr.sbin/btpand/bnep.c
674
*type = BNEP_GENERAL_ETHERNET;
usr.sbin/btpand/bnep.c
676
*type = BNEP_COMPRESSED_ETHERNET_DST_ONLY;
usr.sbin/btpand/bnep.c
678
*type = BNEP_COMPRESSED_ETHERNET_SRC_ONLY;
usr.sbin/btpand/bnep.c
680
*type = BNEP_COMPRESSED_ETHERNET;
usr.sbin/btpand/bnep.c
693
memcpy(p, pkt->type, ETHER_TYPE_LEN);
usr.sbin/btpand/bnep.c
700
*type |= BNEP_EXT;
usr.sbin/btpand/bnep.c
701
type = p;
usr.sbin/btpand/bnep.c
707
*type &= ~BNEP_EXT;
usr.sbin/btpand/bnep.c
741
proto = be16dec(pkt->type);
usr.sbin/btpand/bnep.c
84
uint8_t type;
usr.sbin/btpand/bnep.c
89
type = pkt->ptr[0];
usr.sbin/btpand/bnep.c
92
switch (BNEP_TYPE(type)) {
usr.sbin/btpand/bnep.c
95
log_debug("dropped short packet (type 0x%2.2x)", type);
usr.sbin/btpand/btpand.c
159
if (strcasecmp(optarg, services[ul].type) == 0)
usr.sbin/btpand/btpand.c
167
service_type = services[ul].type;
usr.sbin/btpand/btpand.c
305
fprintf(stderr, "\t%s\t%s\n", services[n].type, services[n].name);
usr.sbin/btpand/btpand.c
62
const char * type;
usr.sbin/btpand/btpand.h
115
uint8_t * type; /* protocol type */
usr.sbin/btpand/tap.c
168
iov[2].iov_base = pkt->type;
usr.sbin/btpand/tap.c
191
pkt->type = pkt->ptr;
usr.sbin/cpuctl/arch/i386.c
1035
type = __SHIFTOUT(descs[3], CPUID_DATP_TCTYPE);
usr.sbin/cpuctl/arch/i386.c
1036
if (type == CPUID_DATP_TCTYPE_N)
usr.sbin/cpuctl/arch/i386.c
1042
if (type == CPUID_DATP_TCTYPE_I) {
usr.sbin/cpuctl/arch/i386.c
1061
} else if (type == CPUID_DATP_TCTYPE_D) {
usr.sbin/cpuctl/arch/i386.c
1080
} else if (type == CPUID_DATP_TCTYPE_L)
usr.sbin/cpuctl/arch/i386.c
1082
else if (type == CPUID_DATP_TCTYPE_S)
usr.sbin/cpuctl/arch/i386.c
1088
if (type == CPUID_DATP_TCTYPE_I)
usr.sbin/cpuctl/arch/i386.c
1090
else if (type == CPUID_DATP_TCTYPE_D)
usr.sbin/cpuctl/arch/i386.c
1092
else if (type == CPUID_DATP_TCTYPE_U) {
usr.sbin/cpuctl/arch/i386.c
1137
level, type);
usr.sbin/cpuctl/arch/i386.c
973
int type, level, ways, linesize, sets;
usr.sbin/dev_mkdb/dev_mkdb.c
131
compat_add_entry(dev_t dev, mode_t type, const char *relpath)
usr.sbin/dev_mkdb/dev_mkdb.c
140
mode_t type;
usr.sbin/dev_mkdb/dev_mkdb.c
144
mode_t type;
usr.sbin/dev_mkdb/dev_mkdb.c
154
bkey.type = type;
usr.sbin/dev_mkdb/dev_mkdb.c
172
obkey.type = type;
usr.sbin/dev_mkdb/dev_mkdb.c
89
cdb_add_entry(dev_t dev, mode_t type, const char *relpath)
usr.sbin/dev_mkdb/dev_mkdb.c
97
le16enc(buf + 8, type);
usr.sbin/emcfanctl/emcfanctl.h
82
const int type;
usr.sbin/emcfanctl/emcfanctlconst.h
3011
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3018
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3025
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3032
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3039
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3046
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3053
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3060
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3067
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3074
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3081
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3088
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3098
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3104
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3110
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3116
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3125
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3131
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3137
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3143
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3152
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3159
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3166
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3173
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3180
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3187
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3194
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3201
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3208
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3215
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3222
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3229
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3237
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3244
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3251
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3258
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3266
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3273
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3280
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3287
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3295
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3302
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3309
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3316
.type = EMCFAN_TRANSLATE_INT,
usr.sbin/emcfanctl/emcfanctlconst.h
3326
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3333
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3340
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3347
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3354
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3361
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3368
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3375
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3382
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3389
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3399
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3406
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3413
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3420
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3427
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3434
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3444
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/emcfanctl/emcfanctlconst.h
3450
.type = EMCFAN_TRANSLATE_STR,
usr.sbin/envstat/envstat.c
1013
if ((strcmp(sensor->type, "Indicator") == 0) ||
usr.sbin/envstat/envstat.c
1014
(strcmp(sensor->type, "Battery charge") == 0)) {
usr.sbin/envstat/envstat.c
1040
} else if (strcmp(sensor->type, "Temperature") == 0) {
usr.sbin/envstat/envstat.c
1065
} else if (strcmp(sensor->type, "Fan") == 0) {
usr.sbin/envstat/envstat.c
1111
} else if (strcmp(sensor->type, "Integer") == 0) {
usr.sbin/envstat/envstat.c
1169
} else if (strcmp(sensor->type, "Drive") == 0) {
usr.sbin/envstat/envstat.c
1174
} else if (strcmp(sensor->type, "Battery capacity") == 0) {
usr.sbin/envstat/envstat.c
1179
} else if (strcmp(sensor->type, "Illuminance") == 0) {
usr.sbin/envstat/envstat.c
1226
} else if (strcmp(sensor->type, "pressure") == 0) {
usr.sbin/envstat/envstat.c
1274
if (strcmp(sensor->type, "Voltage DC") == 0)
usr.sbin/envstat/envstat.c
1276
else if (strcmp(sensor->type, "Voltage AC") == 0)
usr.sbin/envstat/envstat.c
1278
else if (strcmp(sensor->type, "Ampere") == 0)
usr.sbin/envstat/envstat.c
1280
else if (strcmp(sensor->type, "Watts") == 0)
usr.sbin/envstat/envstat.c
1282
else if (strcmp(sensor->type, "Ohms") == 0)
usr.sbin/envstat/envstat.c
1284
else if (strcmp(sensor->type, "Watt hour") == 0)
usr.sbin/envstat/envstat.c
1286
else if (strcmp(sensor->type, "Ampere hour") == 0)
usr.sbin/envstat/envstat.c
1288
else if (strcmp(sensor->type, "relative Humidity") == 0)
usr.sbin/envstat/envstat.c
1429
sensor->type, strlen(sensor->type));
usr.sbin/envstat/envstat.c
1441
if ((strcmp(sensor->type, "Indicator") == 0) ||
usr.sbin/envstat/envstat.c
1442
(strcmp(sensor->type, "Battery charge") == 0)) {
usr.sbin/envstat/envstat.c
1469
} else if (strcmp(sensor->type, "Temperature") == 0) {
usr.sbin/envstat/envstat.c
1492
} else if (strcmp(sensor->type, "Fan") == 0) {
usr.sbin/envstat/envstat.c
1520
} else if (strcmp(sensor->type, "Integer") == 0) {
usr.sbin/envstat/envstat.c
1568
} else if (strcmp(sensor->type, "Drive") == 0) {
usr.sbin/envstat/envstat.c
1572
} else if (strcmp(sensor->type, "Battery capacity") == 0) {
usr.sbin/envstat/envstat.c
1576
} else if (strcmp(sensor->type, "Illuminance") == 0) {
usr.sbin/envstat/envstat.c
1605
} else if (strcmp(sensor->type, "pressure") == 0) {
usr.sbin/envstat/envstat.c
1635
if (strcmp(sensor->type, "Voltage DC") == 0)
usr.sbin/envstat/envstat.c
1637
else if (strcmp(sensor->type, "Voltage AC") == 0)
usr.sbin/envstat/envstat.c
1639
else if (strcmp(sensor->type, "Ampere") == 0)
usr.sbin/envstat/envstat.c
1641
else if (strcmp(sensor->type, "Watts") == 0)
usr.sbin/envstat/envstat.c
1643
else if (strcmp(sensor->type, "Ohms") == 0)
usr.sbin/envstat/envstat.c
1645
else if (strcmp(sensor->type, "Watt hour") == 0)
usr.sbin/envstat/envstat.c
1647
else if (strcmp(sensor->type, "Ampere hour") == 0)
usr.sbin/envstat/envstat.c
1649
else if (strcmp(sensor->type, "relative Humidity") == 0)
usr.sbin/envstat/envstat.c
675
(void)strlcpy(sensor->type,
usr.sbin/envstat/envstat.c
677
sizeof(sensor->type));
usr.sbin/envstat/envstat.c
79
char type[ENVSYS_DESCLEN];
usr.sbin/envstat/envstat.c
795
if ((strcmp(sensor->type, "Indicator") == 0) ||
usr.sbin/envstat/envstat.c
796
(strcmp(sensor->type, "Battery charge") == 0) ||
usr.sbin/envstat/envstat.c
797
(strcmp(sensor->type, "Drive") == 0))
usr.sbin/faithd/prefix.c
44
#define offsetof(type, member) ((size_t)(u_long)(&((type *)0)->member))
usr.sbin/fstyp/hammer2.c
210
switch (bref->type) {
usr.sbin/fstyp/hammer2.c
248
if (bscan[i].type != HAMMER2_BREF_TYPE_EMPTY) {
usr.sbin/fstyp/hammer2.c
309
broot.type = HAMMER2_BREF_TYPE_VOLUME;
usr.sbin/fstyp/hammer2.c
324
if (bref->type != HAMMER2_BREF_TYPE_INODE) {
usr.sbin/fstyp/hammer2_disk.h
558
uint8_t type; /* OBJTYPE_* */
usr.sbin/fstyp/hammer2_disk.h
626
uint8_t type; /* type of underlying item */
usr.sbin/fstyp/hammer2_disk.h
953
uint8_t type; /* 0050 object type */
usr.sbin/fstyp/hammer_disk.h
941
#define HAMMER_DATA_DOALIGN_WITH(type, offset) \
usr.sbin/fstyp/hammer_disk.h
942
(((type)(offset) + 15) & (~(type)15))
usr.sbin/fwctl/fwcontrol.c
202
asyreq->req.type = FWASREQNODE;
usr.sbin/fwctl/fwcontrol.c
205
asyreq->req.type = FWASREQEUI;
usr.sbin/fwctl/fwcontrol.c
255
asyreq->req.type = FWASREQNODE;
usr.sbin/fwctl/fwcontrol.c
282
asyreq->req.type = FWASREQNODE;
usr.sbin/fwctl/fwcontrol.c
301
asyreq->req.type = FWASREQNODE;
usr.sbin/gspa/gspa/gsp_act.c
112
o->type = EA;
usr.sbin/gspa/gspa/gsp_act.c
126
o->type = EA;
usr.sbin/gspa/gspa/gsp_act.c
48
if( op->type == EXPR ||
usr.sbin/gspa/gspa/gsp_act.c
49
(op->type == EA && op->mode >= M_INDEX) )
usr.sbin/gspa/gspa/gsp_act.c
73
o->type = REG;
usr.sbin/gspa/gspa/gsp_act.c
86
o->type = EXPR;
usr.sbin/gspa/gspa/gsp_act.c
99
o->type = STR_OPN;
usr.sbin/gspa/gspa/gsp_ass.h
92
char type;
usr.sbin/gspa/gspa/gsp_inst.c
300
if( (op->type & req) == 0 ){
usr.sbin/gspa/gspa/gsp_inst.c
346
if( op->type != EXPR )
usr.sbin/gspa/gspa/gsp_inst.c
433
#define USES_REG(op) ((op)->type == REG \
usr.sbin/gspa/gspa/gsp_inst.c
434
|| ((op)->type == EA && (op)->mode != M_ABSOLUTE))
usr.sbin/gspa/gspa/gsp_inst.c
435
#define USES_EXPR(op) ((op)->type == EXPR \
usr.sbin/gspa/gspa/gsp_inst.c
436
|| ((op)->type == EA && (op)->mode >= M_INDEX))
usr.sbin/gspa/gspa/gsp_inst.c
462
if (class == MOVE && op0 && op1 && op1->type == REG) {
usr.sbin/gspa/gspa/gsp_inst.c
463
if (op0->type == REG) {
usr.sbin/gspa/gspa/gsp_inst.c
469
} else if ( op0->type == EXPR )
usr.sbin/gspa/gspa/gsp_inst.c
474
if( op0->type == REG ){
usr.sbin/gspa/gspa/gsp_inst.c
493
if( op0 && op0->type == REG ){
usr.sbin/gspa/gspa/gsp_inst.c
559
if( op0 && op0->type == REG ){
usr.sbin/gspa/gspa/gsp_inst.c
582
if( op0 && op0->type == REG ){
usr.sbin/gspa/gspa/gsp_inst.c
673
else if( op1->type == REG ){
usr.sbin/gspa/gspa/gsp_inst.c
710
ms = op0 && op0->type == REG? M_REG: op0->mode;
usr.sbin/gspa/gspa/gsp_inst.c
712
md = op1->type == REG? M_REG: op1->mode;
usr.sbin/gspa/gspa/gsp_pseu.c
108
if( ops->type != STR_OPN ){
usr.sbin/gspa/gspa/gsp_pseu.c
119
if( ops->type != EXPR ){
usr.sbin/gspa/gspa/gsp_pseu.c
139
if( ops->type != EXPR ){
usr.sbin/gspa/gspa/gsp_pseu.c
53
if( ops->type != EXPR ){
usr.sbin/gspa/gspa/gsp_pseu.c
74
if( ops->type != EXPR ){
usr.sbin/gspa/gspa/gsp_pseu.c
86
if( o->type != EXPR ){
usr.sbin/hdaudioctl/graph.c
101
prop_dictionary_get_uint8(response, "type", &type);
usr.sbin/hdaudioctl/graph.c
106
switch (type) {
usr.sbin/hdaudioctl/graph.c
178
prop_dictionary_get_uint8(response, "type", &type);
usr.sbin/hdaudioctl/graph.c
183
switch (type) {
usr.sbin/hdaudioctl/graph.c
201
prop_dictionary_get_uint8(response, "type", &type);
usr.sbin/hdaudioctl/graph.c
206
switch (type) {
usr.sbin/hdaudioctl/graph.c
60
uint8_t type, nid;
usr.sbin/inetd/parse.c
165
#define SWAP(type, a, b) {type c = a; a = b; b = c;}
usr.sbin/inetd/parse_v2.c
689
char *type = next_value(values);
usr.sbin/inetd/parse_v2.c
690
if (type == NULL) {
usr.sbin/inetd/parse_v2.c
695
parse_socktype(type, sep);
usr.sbin/inetd/parse_v2.c
699
type);
usr.sbin/installboot/cd9660.c
86
if (ipd.type[0] != ISO_VD_PRIMARY ||
usr.sbin/installboot/installboot.c
103
#define OPTION(params, type, opt) (*(type *)((char *)(params) + (opt)->offset))
usr.sbin/installboot/installboot.c
419
if (opt->type == OPT_BOOL) {
usr.sbin/installboot/installboot.c
431
switch (opt->type) {
usr.sbin/installboot/installboot.c
452
opt->name, opt->type);
usr.sbin/installboot/installboot.c
471
switch (options[ndx].type) {
usr.sbin/installboot/installboot.c
81
} type;
usr.sbin/isibootd/isibootd.c
350
{ BPF_LD|BPF_H|BPF_ABS, 0, 0, offsetof(struct frame, type) },
usr.sbin/isibootd/isibootd.c
366
u_int type;
usr.sbin/isibootd/isibootd.c
396
ioctl(fd, BIOCGDLT, &type); /* XXX - should check whether EN10MB */
usr.sbin/isibootd/isibootd.c
70
uint16_t type;
usr.sbin/iteconfig/iteconfig.c
232
switch (cm->type) {
usr.sbin/ldpd/fsm.c
179
t->type = htons(LDP_ADDRESS);
usr.sbin/ldpd/fsm.c
68
debugp("Hello: Type: 0x%.4X Length: %.2d ID: %.8X\n", ht->type,
usr.sbin/ldpd/fsm.c
74
" Hold time: %d\n", ntohs(ht->ch.type), ntohs(ht->ch.length),
usr.sbin/ldpd/fsm.c
82
if (trtlv->type == htons(TLV_IPV4_TRANSPORT)) {
usr.sbin/ldpd/fsm.c
87
} else if (trtlv->type == htons(TLV_IPV6_TRANSPORT)) {
usr.sbin/ldpd/fsm.c
94
ntohs(trtlv->type));
usr.sbin/ldpd/ldp_peer.c
321
if ((ntohs(a->type) != TLV_ADDRESS_LIST) ||
usr.sbin/ldpd/ldp_peer.c
359
if (ntohs(a->type) != TLV_ADDRESS_LIST ||
usr.sbin/ldpd/mpls_routes.c
806
al_tlv.type = rg->m_rtm.rtm_type == RTM_NEWADDR ? htons(LDP_ADDRESS) :
usr.sbin/ldpd/notifications.c
54
t->type = htons(LDP_NOTIFICATION);
usr.sbin/ldpd/socketops.c
1066
ti.type = htons(LDP_INITIALIZE);
usr.sbin/ldpd/socketops.c
1086
kt.type = htons(LDP_KEEPALIVE);
usr.sbin/ldpd/socketops.c
1153
if ((ntohs(ttmp->type) != LDP_KEEPALIVE) &&
usr.sbin/ldpd/socketops.c
1154
(ntohs(ttmp->type) != LDP_LABEL_MAPPING)) {
usr.sbin/ldpd/socketops.c
1156
ntohs(ttmp->type), ntohs(ttmp->length),
usr.sbin/ldpd/socketops.c
1160
ntohs(ttmp->type), ntohs(ttmp->length),
usr.sbin/ldpd/socketops.c
1165
ntohs(ttmp->type) != LDP_INITIALIZE &&
usr.sbin/ldpd/socketops.c
1166
ntohs(ttmp->type) != LDP_KEEPALIVE &&
usr.sbin/ldpd/socketops.c
1167
ntohs(ttmp->type) != LDP_NOTIFICATION)
usr.sbin/ldpd/socketops.c
1170
switch (ntohs(ttmp->type)) {
usr.sbin/ldpd/socketops.c
1373
if ((ntohs(t->type) != 0x201) && (ntohs(t->type) != 0x400)) {
usr.sbin/ldpd/socketops.c
1375
ntohs(t->type), inet_ntoa(p->ldp_id), ntohs(t->length));
usr.sbin/ldpd/socketops.c
1379
ntohs(t->type), inet_ntoa(p->ldp_id), ntohs(t->length));
usr.sbin/ldpd/socketops.c
187
hs->type = AF_INET;
usr.sbin/ldpd/socketops.c
267
hs->type = AF_INET6;
usr.sbin/ldpd/socketops.c
451
t->type = htons(LDP_HELLO);
usr.sbin/ldpd/socketops.c
462
cht->type = htons(TLV_COMMON_HELLO);
usr.sbin/ldpd/socketops.c
473
trtlv->type = htons(TLV_IPV4_TRANSPORT);
usr.sbin/ldpd/socketops.c
486
if (hs->type == AF_INET) {
usr.sbin/ldpd/socketops.c
552
trtlv->type = htons(TLV_IPV6_TRANSPORT);
usr.sbin/ldpd/socketops.c
562
if (hs->type == AF_INET6) {
usr.sbin/ldpd/socketops.h
68
int type, socket;
usr.sbin/ldpd/tlv.c
55
if (ntohs(t->type) != LDP_HELLO)
usr.sbin/ldpd/tlv.c
62
t->type = ntohs(t->type);
usr.sbin/ldpd/tlv.c
73
warnp("TLV type %.4X, Length %d, Message ID %.8X\n", ntohs(t->type),
usr.sbin/ldpd/tlv.h
100
uint16_t type;
usr.sbin/ldpd/tlv.h
118
uint16_t type;
usr.sbin/ldpd/tlv.h
125
uint16_t type;
usr.sbin/ldpd/tlv.h
137
uint16_t type;
usr.sbin/ldpd/tlv.h
148
uint16_t type;
usr.sbin/ldpd/tlv.h
155
uint16_t type;
usr.sbin/ldpd/tlv.h
162
uint16_t type;
usr.sbin/ldpd/tlv.h
169
uint16_t type;
usr.sbin/ldpd/tlv.h
174
uint8_t type;
usr.sbin/ldpd/tlv.h
181
uint8_t type;
usr.sbin/ldpd/tlv.h
188
uint16_t type;
usr.sbin/ldpd/tlv.h
195
uint16_t type;
usr.sbin/ldpd/tlv.h
62
uint16_t type;
usr.sbin/ldpd/tlv.h
69
uint16_t type;
usr.sbin/ldpd/tlv.h
77
uint16_t type;
usr.sbin/ldpd/tlv.h
86
uint16_t type;
usr.sbin/ldpd/tlv_stack.c
109
"length %d)\n", ntohs(pref->af), pref->type,
usr.sbin/ldpd/tlv_stack.c
113
switch(pref->type) {
usr.sbin/ldpd/tlv_stack.c
146
fatalp("Unknown FEC type %d\n", pref->type);
usr.sbin/ldpd/tlv_stack.c
162
if (ntohs(f->type) != TLV_FEC) {
usr.sbin/ldpd/tlv_stack.c
181
ntohs(pref->af), pref->type, pref->prelen);
usr.sbin/ldpd/tlv_stack.c
184
switch(pref->type) {
usr.sbin/ldpd/tlv_stack.c
216
fatalp("Unknown FEC type %d\n", pref->type);
usr.sbin/ldpd/tlv_stack.c
235
t->type = htons(LDP_LABEL_RELEASE);
usr.sbin/ldpd/tlv_stack.c
273
lmt->type = htons(LDP_LABEL_MAPPING);
usr.sbin/ldpd/tlv_stack.c
284
fec->type = htons(TLV_FEC);
usr.sbin/ldpd/tlv_stack.c
295
p->type = FEC_PREFIX;
usr.sbin/ldpd/tlv_stack.c
305
l->type = htons(TLV_GENERIC_LABEL);
usr.sbin/ldpd/tlv_stack.c
368
lmt->type = htons(LDP_LABEL_WITHDRAW);
usr.sbin/ldpd/tlv_stack.c
377
fec->type = htons(TLV_FEC);
usr.sbin/ldpd/tlv_stack.c
389
p->type = FEC_PREFIX;
usr.sbin/ldpd/tlv_stack.c
417
if (ntohs(fec->type) != TLV_FEC || fec->length == 0) {
usr.sbin/ldpd/tlv_stack.c
435
switch (pref->type) {
usr.sbin/ldpd/tlv_stack.c
451
lrm.type = htons(TLV_LABEL_REQUEST);
usr.sbin/ldpd/tlv_stack.c
68
if (ntohs(f->type) != TLV_FEC) {
usr.sbin/ldpd/tlv_stack.c
72
if (ntohs(l->type) != TLV_GENERIC_LABEL) {
usr.sbin/ldpd/tlv_stack.c
73
debugp("Invalid LABEL TLV! (0x%.4X)\n", ntohs(l->type));
usr.sbin/lockstat/main.c
614
int type;
usr.sbin/lockstat/main.c
625
type = mask & LB_LOCK_MASK;
usr.sbin/lockstat/main.c
628
if (!xflag && (lb->lb_flags & LB_LOCK_MASK) != type)
usr.sbin/lpr/lpd/printjob.c
885
sendfile(int type, char *file)
usr.sbin/lpr/lpd/printjob.c
895
if (type == '\3' && rflag && (OF || IF)) {
usr.sbin/lpr/lpd/printjob.c
928
amt = snprintf(buf, sizeof(buf), "%c%lld %s\n", type,
usr.sbin/makefs/cd9660.c
1338
if ((cn->type & CD9660_TYPE_DIR) == 0)
usr.sbin/makefs/cd9660.c
1379
if ((S_ISDIR(root->type)) && (root->name[0] == '.')
usr.sbin/makefs/cd9660.c
1399
if (!S_ISDIR(iterator->type) ||
usr.sbin/makefs/cd9660.c
1408
if (S_ISDIR(iterator->type)) {
usr.sbin/makefs/cd9660.c
1410
this_node->type = CD9660_TYPE_DIR;
usr.sbin/makefs/cd9660.c
1467
this_node->type = CD9660_TYPE_FILE;
usr.sbin/makefs/cd9660.c
1587
if ((cn->type != CD9660_TYPE_DOT)
usr.sbin/makefs/cd9660.c
1588
&& (cn->type != CD9660_TYPE_DOTDOT)) {
usr.sbin/makefs/cd9660.c
1590
if (S_ISDIR(cn->node->type)) {
usr.sbin/makefs/cd9660.c
1855
if (node->type & CD9660_TYPE_DIR) {
usr.sbin/makefs/cd9660.c
1896
if (S_ISDIR(child->node->type)) {
usr.sbin/makefs/cd9660.c
1915
if (S_ISDIR(child->node->type))
usr.sbin/makefs/cd9660.c
2006
tfsnode->type = parent->node->type;
usr.sbin/makefs/cd9660.c
2010
tfsnode->type &= ~(S_IFMT);
usr.sbin/makefs/cd9660.c
2012
tfsnode->type |= S_IFREG;
usr.sbin/makefs/cd9660.c
2014
tfsnode->type |= S_IFDIR;
usr.sbin/makefs/cd9660.c
2036
temp->type = CD9660_TYPE_FILE | CD9660_TYPE_VIRTUAL;
usr.sbin/makefs/cd9660.c
2061
temp->node->type |= S_IFDIR;
usr.sbin/makefs/cd9660.c
2063
temp->type = CD9660_TYPE_DIR | CD9660_TYPE_VIRTUAL;
usr.sbin/makefs/cd9660.c
2074
cd9660_create_special_directory(iso9660_disk *diskStructure, u_char type,
usr.sbin/makefs/cd9660.c
2082
if (type == CD9660_TYPE_DOT)
usr.sbin/makefs/cd9660.c
2084
else if (type == CD9660_TYPE_DOTDOT)
usr.sbin/makefs/cd9660.c
2095
temp->type = type;
usr.sbin/makefs/cd9660.c
2098
if (type == CD9660_TYPE_DOT) {
usr.sbin/makefs/cd9660.c
2102
} else if (type == CD9660_TYPE_DOTDOT) {
usr.sbin/makefs/cd9660.c
2109
(first->type & CD9660_TYPE_DOT) == 0) {
usr.sbin/makefs/cd9660.c
539
real_root->type = CD9660_TYPE_DIR;
usr.sbin/makefs/cd9660.c
840
temp, !(S_ISDIR(newnode->node->type)));
usr.sbin/makefs/cd9660.c
843
if (S_ISDIR(newnode->node->type))
usr.sbin/makefs/cd9660.c
852
if (S_ISLNK(newnode->node->type))
usr.sbin/makefs/cd9660.c
880
if (!(S_ISDIR(node->type)))
usr.sbin/makefs/cd9660.h
152
u_char type;/* Used internally */
usr.sbin/makefs/cd9660/cd9660_archimedes.c
107
cd9660_731(0xfff00000 | (type << 8) | (stamp >> 32), arc->loadaddr);
usr.sbin/makefs/cd9660/cd9660_archimedes.c
84
int type = -1;
usr.sbin/makefs/cd9660/cd9660_archimedes.c
96
type = strtoul(node->node->name + len - 3, NULL, 16);
usr.sbin/makefs/cd9660/cd9660_archimedes.c
97
if (type == -1 && node->node->name[0] != '!')
usr.sbin/makefs/cd9660/cd9660_archimedes.c
99
if (type == -1) type = 0;
usr.sbin/makefs/cd9660/cd9660_debug.c
101
if (node->type & CD9660_TYPE_DOT) {
usr.sbin/makefs/cd9660/cd9660_debug.c
104
} else if (node->type & CD9660_TYPE_DOTDOT) {
usr.sbin/makefs/cd9660/cd9660_debug.c
415
((struct iso_primary_descriptor*)buf)->type, 711);
usr.sbin/makefs/cd9660/cd9660_debug.c
87
printf("%c%c: L:%i",t->attr.su_entry.SP.h.type[0],
usr.sbin/makefs/cd9660/cd9660_debug.c
88
t->attr.su_entry.SP.h.type[1],
usr.sbin/makefs/cd9660/cd9660_eltorito.c
543
off_t nsectors, int type)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
559
val = type; /* Part type */
usr.sbin/makefs/cd9660/cd9660_write.c
276
!(writenode->node->type & S_IFDIR)) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
313
if (node->type & CD9660_TYPE_DOT) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
380
if (node->type & CD9660_TYPE_DOT) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
397
} else if (node->type & CD9660_TYPE_DOTDOT) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
463
temp->attr.su_entry.SP.h.type[0] = type_id[0];
usr.sbin/makefs/cd9660/iso9660_rrip.c
464
temp->attr.su_entry.SP.h.type[1] = type_id[1];
usr.sbin/makefs/cd9660/iso9660_rrip.c
65
if (!(node->type & CD9660_TYPE_DOT) &&
usr.sbin/makefs/cd9660/iso9660_rrip.c
66
!(node->type & CD9660_TYPE_DOTDOT))
usr.sbin/makefs/cd9660/iso9660_rrip.c
663
p->attr.rr_entry.NM.h.type[0] = 'N';
usr.sbin/makefs/cd9660/iso9660_rrip.c
664
p->attr.rr_entry.NM.h.type[1] = 'M';
usr.sbin/makefs/cd9660/iso9660_rrip.c
713
p->attr.su_entry.ST.h.type[0] = 'S';
usr.sbin/makefs/cd9660/iso9660_rrip.c
714
p->attr.su_entry.ST.h.type[1] = 'T';
usr.sbin/makefs/cd9660/iso9660_rrip.h
206
int type;
usr.sbin/makefs/chfs.c
202
if (!S_ISDIR(cur->type & S_IFMT)) {
usr.sbin/makefs/chfs/chfs_mkfs.c
171
fvnode.type = htole16(CHFS_NODETYPE_VNODE);
usr.sbin/makefs/chfs/chfs_mkfs.c
203
fdirent.type = htole16(CHFS_NODETYPE_DIRENT);
usr.sbin/makefs/chfs/chfs_mkfs.c
217
fdirent.dtype = htole32(IFTOCHT(node->type & S_IFMT));
usr.sbin/makefs/chfs/chfs_mkfs.c
240
if (node->type == S_IFREG || node->type == S_IFSOCK) {
usr.sbin/makefs/chfs/chfs_mkfs.c
263
} else if (node->type == S_IFLNK) {
usr.sbin/makefs/chfs/chfs_mkfs.c
267
} else if (node->type == S_IFCHR || node->type == S_IFBLK ||
usr.sbin/makefs/chfs/chfs_mkfs.c
268
node->type == S_IFIFO) {
usr.sbin/makefs/chfs/chfs_mkfs.c
294
fdata.type = htole16(CHFS_NODETYPE_DATA);
usr.sbin/makefs/ffs.c
1047
de.d_type = IFTODT(node->type);
usr.sbin/makefs/ffs.c
634
if (node->type == S_IFREG)
usr.sbin/makefs/ffs.c
636
if (node->type == S_IFLNK) {
usr.sbin/makefs/ffs.c
647
if (node->type == S_IFDIR)
usr.sbin/makefs/ffs.c
691
} else if (S_ISBLK(cur->type) || S_ISCHR(cur->type)) {
usr.sbin/makefs/ffs.c
695
} else if (S_ISLNK(cur->type)) { /* symlink */
usr.sbin/makefs/ffs.c
744
} else if (S_ISBLK(cur->type) || S_ISCHR(cur->type)) {
usr.sbin/makefs/ffs.c
748
} else if (S_ISLNK(cur->type)) { /* symlink */
usr.sbin/makefs/ffs.c
838
(long long)cur->inode->ino, inode_type(cur->type));
usr.sbin/makefs/ffs.c
846
} else if (S_ISREG(cur->type)) {
usr.sbin/makefs/ffs.c
849
assert (! S_ISDIR(cur->type));
usr.sbin/makefs/makefs.c
361
switch (options[i].type) {
usr.sbin/makefs/makefs.c
388
warnx("Unknown type %d in option %s", options[i].type,
usr.sbin/makefs/makefs.c
402
#define NUM(type) \
usr.sbin/makefs/makefs.c
404
*(type *)options[i].value = 1; \
usr.sbin/makefs/makefs.c
407
*(type *)options[i].value = (type)strsuftoll(options[i].desc, val, \
usr.sbin/makefs/makefs.c
416
switch (options[i].type) {
usr.sbin/makefs/makefs.c
442
warnx("Unknown type %d in option %s", options[i].type,
usr.sbin/makefs/makefs.c
454
get_fstype(const char *type)
usr.sbin/makefs/makefs.c
458
for (i = 0; fstypes[i].type != NULL; i++)
usr.sbin/makefs/makefs.c
459
if (strcmp(fstypes[i].type, type) == 0)
usr.sbin/makefs/makefs.c
533
fprintf(stderr, "\n%s specific options:\n", fstype->type);
usr.sbin/makefs/makefs.c
66
const char *type;
usr.sbin/makefs/makefs.c
85
{ .type = NULL },
usr.sbin/makefs/makefs.h
113
uint32_t type; /* type of entry */
usr.sbin/makefs/makefs.h
144
opttype_t type; /* type of entry */
usr.sbin/makefs/msdos.c
261
} else if (!S_ISREG(cur->type)) {
usr.sbin/makefs/msdos.c
81
.type = _min == -1 ? OPT_STRPTR : \
usr.sbin/makefs/udf.c
717
switch (cur->type & S_IFMT) {
usr.sbin/makefs/udf.c
752
switch (cur->type & S_IFMT) {
usr.sbin/makefs/udf.c
923
switch (cur->type & S_IFMT) {
usr.sbin/makefs/v7fs/v7fs_estimate.c
137
switch (cur->type & S_IFMT) {
usr.sbin/makefs/v7fs/v7fs_populate.c
205
switch (cur->type & S_IFMT) {
usr.sbin/makefs/v7fs/v7fs_populate.c
71
attr->mode = node->type | st->st_mode;
usr.sbin/makefs/walk.c
149
if (S_ISDIR(cur->type) && S_ISDIR(st->st_mode)) {
usr.sbin/makefs/walk.c
166
inode_type(st->st_mode), path, inode_type(cur->type));
usr.sbin/makefs/walk.c
311
if (S_ISDIR(cur->type)) {
usr.sbin/makefs/walk.c
332
if (S_ISLNK(cur->type)) {
usr.sbin/makefs/walk.c
364
cur->type = stbuf->st_mode & S_IFMT;
usr.sbin/makefs/walk.c
466
assert(root->type == F_DIR);
usr.sbin/makefs/walk.c
490
if (specnode->type != F_DIR)
usr.sbin/makefs/walk.c
493
if (dirnode->type != S_IFDIR)
usr.sbin/makefs/walk.c
571
if (curnode->type == F_BLOCK || curnode->type == F_CHAR)
usr.sbin/makefs/walk.c
580
stbuf.st_mode = nodetoino(curnode->type);
usr.sbin/makefs/walk.c
594
if (curfsnode->type == S_IFDIR) {
usr.sbin/makefs/walk.c
601
if (curfsnode->type == S_IFLNK) {
usr.sbin/makefs/walk.c
608
if (curnode->type == F_DIR) {
usr.sbin/makefs/walk.c
609
if (curfsnode->type != S_IFDIR)
usr.sbin/makefs/walk.c
625
if (nodetoino(specnode->type) != dirnode->type)
usr.sbin/makefs/walk.c
628
dir, specnode->name, inode_type(nodetoino(specnode->type)),
usr.sbin/makefs/walk.c
629
inode_type(dirnode->type));
usr.sbin/makefs/walk.c
719
printf("%7s: %s", inode_type(cur->type), path);
usr.sbin/makefs/walk.c
720
if (S_ISLNK(cur->type)) {
usr.sbin/makefs/walk.c
731
assert(cur->type == S_IFDIR);
usr.sbin/makemandb/makemandb.c
1010
if (n->type == ROFFT_TEXT)
usr.sbin/makemandb/makemandb.c
1063
if (n->type == ROFFT_BLOCK)
usr.sbin/makemandb/makemandb.c
1075
if (n == NULL || (n->type != ROFFT_TEXT && n->tok == MDOC_MAX))
usr.sbin/makemandb/makemandb.c
1079
if (n->type == ROFFT_TEXT) {
usr.sbin/makemandb/makemandb.c
1160
switch (n->type) {
usr.sbin/makemandb/makemandb.c
1194
if (n->type == ROFFT_TEXT) {
usr.sbin/makemandb/makemandb.c
1259
head->type != ROFFT_TEXT)
usr.sbin/makemandb/makemandb.c
1359
head->next != NULL && head->next->type == ROFFT_TEXT &&
usr.sbin/makemandb/makemandb.c
1371
head->next != NULL && head->next->type == ROFFT_TEXT &&
usr.sbin/makemandb/makemandb.c
1392
if (n->type == ROFFT_TEXT)
usr.sbin/makemandb/makemandb.c
941
if (n->type == ROFFT_TEXT) {
usr.sbin/makemandb/makemandb.c
956
if (n->type == ROFFT_BODY)
usr.sbin/makemandb/makemandb.c
987
while (n->type != ROFFT_TEXT && n->next)
usr.sbin/makemandb/makemandb.c
990
if (n && n->type != ROFFT_TEXT)
usr.sbin/makemandb/makemandb.c
996
while (n->type != ROFFT_TEXT && n->next)
usr.sbin/makemandb/makemandb.c
999
if (n && n->type == ROFFT_TEXT) {
usr.sbin/mld6query/mld6.c
131
make_msg(ifindex, &maddr, type);
usr.sbin/mld6query/mld6.c
157
make_msg(int idx, struct in6_addr *addr, u_int type)
usr.sbin/mld6query/mld6.c
188
mldh.mld6_type = type & 0xff;
usr.sbin/mld6query/mld6.c
67
static void make_msg(int index, struct in6_addr *addr, u_int type);
usr.sbin/mld6query/mld6.c
80
u_int type;
usr.sbin/mld6query/mld6.c
83
type = MLD_LISTENER_QUERY;
usr.sbin/mld6query/mld6.c
87
type = MLD_LISTENER_DONE;
usr.sbin/mld6query/mld6.c
90
type = MLD_LISTENER_REPORT;
usr.sbin/mlxctl/dklist.c
163
if (data[i].type == IOSTAT_DISK)
usr.sbin/mlxctl/util.c
208
const char *type;
usr.sbin/mlxctl/util.c
213
type = "disk";
usr.sbin/mlxctl/util.c
217
type = "tape";
usr.sbin/mlxctl/util.c
221
type= "cdrom";
usr.sbin/mlxctl/util.c
226
type = "unknown";
usr.sbin/mlxctl/util.c
230
printf("%s%s%02d%02d ", prefix, type, chn, targ);
usr.sbin/mmcformat/mmcformat.c
835
if (saddr.type == USCSI_TYPE_SCSI) {
usr.sbin/mmcformat/uscsi_subr.c
183
if (raddr.type == 0) {
usr.sbin/mmcformat/uscsi_subr.c
184
saddr->type = USCSI_TYPE_SCSI;
usr.sbin/mmcformat/uscsi_subr.c
189
saddr->type = USCSI_TYPE_ATAPI;
usr.sbin/mmcformat/uscsi_subr.c
196
if (raddr.type == 0) {
usr.sbin/mmcformat/uscsi_subr.c
197
saddr->type = USCSI_TYPE_SCSI;
usr.sbin/mmcformat/uscsi_subr.c
202
saddr->type = USCSI_TYPE_ATAPI;
usr.sbin/mmcformat/uscsi_subr.c
337
saddr->type = USCSI_TYPE_SCSI;
usr.sbin/mmcformat/uscsi_subr.c
339
if (emulated) saddr->type = USCSI_TYPE_ATAPI;
usr.sbin/mmcformat/uscsi_subr.c
499
saddr->type = USCSI_TYPE_SCSI;
usr.sbin/mmcformat/uscsilib.h
53
int type; /* bus type */
usr.sbin/mopd/common/file.c
74
FileTypeName(mopd_imagetype type)
usr.sbin/mopd/common/file.c
77
switch (type) {
usr.sbin/moused/mouse.h
87
int type; /* mouse/track ball/pad... */
usr.sbin/moused/moused.c
1185
r_name(int type)
usr.sbin/moused/moused.c
1187
return ((type == MOUSE_PROTO_UNKNOWN)
usr.sbin/moused/moused.c
1188
|| (type > (int)(sizeof(rnames)/sizeof(rnames[0]) - 1)))
usr.sbin/moused/moused.c
1189
? "unknown" : rnames[type];
usr.sbin/moused/moused.c
447
static const char *r_if(int type);
usr.sbin/moused/moused.c
448
static const char *r_name(int type);
usr.sbin/moused/moused.c
837
ev.type = ty;
usr.sbin/mrouted/defs.h
153
extern void send_igmp(u_int32_t src, u_int32_t dst, int type,
usr.sbin/mrouted/igmp.c
280
igmp_log_level(u_int type, u_int code)
usr.sbin/mrouted/igmp.c
282
switch (type) {
usr.sbin/mrouted/igmp.c
302
send_igmp(u_int32_t src, u_int32_t dst, int type, int code, u_int32_t group,
usr.sbin/mrouted/igmp.c
317
igmp->igmp_type = type;
usr.sbin/mrouted/igmp.c
32
static const char * packet_kind(u_int type, u_int code);
usr.sbin/mrouted/igmp.c
326
if (type != IGMP_DVMRP) {
usr.sbin/mrouted/igmp.c
33
static int igmp_log_level(u_int type, u_int code);
usr.sbin/mrouted/igmp.c
343
logit(igmp_log_level(type, code), errno,
usr.sbin/mrouted/igmp.c
352
packet_kind(type, code), inet_fmt(src),
usr.sbin/mrouted/igmp.c
79
packet_kind(u_int type, u_int code)
usr.sbin/mrouted/igmp.c
81
switch (type) {
usr.sbin/mrouted/prune.c
1948
u_char type;
usr.sbin/mrouted/prune.c
1972
type = QUERY;
usr.sbin/mrouted/prune.c
1977
type = RESP;
usr.sbin/mrouted/prune.c
2026
if (type == QUERY) {
usr.sbin/mrouted/rsrr.c
164
switch (rsrr->type) {
usr.sbin/mrouted/rsrr.c
191
rsrr->type);
usr.sbin/mrouted/rsrr.c
226
rsrr->type = RSRR_INITIAL_REPLY;
usr.sbin/mrouted/rsrr.c
273
rsrr->type = RSRR_ROUTE_REPLY;
usr.sbin/mrouted/rsrr.h
84
u_char type; /* type of message, as defined above */
usr.sbin/mscdlabel/iso9660.c
55
if (isonum_711(vd->type) == ISO_VD_PRIMARY) {
usr.sbin/mscdlabel/iso9660.c
59
} else if (isonum_711(vd->type) == ISO_VD_END)
usr.sbin/mtrace/mtrace.c
143
const char * proto_type(u_int type);
usr.sbin/mtrace/mtrace.c
144
const char * flag_type(u_int type);
usr.sbin/mtrace/mtrace.c
150
int send_recv(u_int32_t dst, int type, int code,
usr.sbin/mtrace/mtrace.c
223
proto_type(u_int type)
usr.sbin/mtrace/mtrace.c
227
switch (type) {
usr.sbin/mtrace/mtrace.c
245
(void)snprintf(buf, sizeof buf, "Unknown protocol code %d", type);
usr.sbin/mtrace/mtrace.c
252
flag_type(u_int type)
usr.sbin/mtrace/mtrace.c
256
switch (type) {
usr.sbin/mtrace/mtrace.c
284
(void)snprintf(buf, sizeof buf, "Unknown error code %d", type);
usr.sbin/mtrace/mtrace.c
391
send_recv(u_int32_t dst, int type, int code, int tries, struct resp_buf *save)
usr.sbin/mtrace/mtrace.c
406
if (type == IGMP_MTRACE_QUERY) {
usr.sbin/mtrace/mtrace.c
454
send_igmp(local, dst, type, code, group, datalen);
usr.sbin/mtrace/mtrace.c
810
const char *type = "";
usr.sbin/mtrace/mtrace.c
814
type = "proteon/mrouted ";
usr.sbin/mtrace/mtrace.c
823
type = "mrouted ";
usr.sbin/mtrace/mtrace.c
827
type = "cisco ";
usr.sbin/mtrace/mtrace.c
830
type, version & 0xFF, (version >> 8) & 0xFF,
usr.sbin/mtree/compare.c
149
switch(s->type) {
usr.sbin/mtree/compare.c
183
nodetype(s->type), inotype(p->fts_statp->st_mode));
usr.sbin/mtree/compare.c
201
(s->type == F_BLOCK || s->type == F_CHAR) &&
usr.sbin/mtree/compare.c
212
s->st_mode | nodetoino(s->type),
usr.sbin/mtree/compare.c
303
if (s->flags & F_NLINK && s->type != F_DIR &&
usr.sbin/mtree/misc.c
248
nodetoino(u_int type)
usr.sbin/mtree/misc.c
251
switch (type) {
usr.sbin/mtree/misc.c
269
printf("unknown type %d", type);
usr.sbin/mtree/misc.c
276
nodetype(u_int type)
usr.sbin/mtree/misc.c
279
return (inotype(nodetoino(type)));
usr.sbin/mtree/misc.c
284
inotype(u_int type)
usr.sbin/mtree/misc.c
287
switch (type & S_IFMT) {
usr.sbin/mtree/mtree.h
105
int type; /* file type */
usr.sbin/mtree/spec.c
160
if (last->type != F_DIR || last->flags & F_DONE) {
usr.sbin/mtree/spec.c
195
if (cur == NULL || cur->type != F_DIR) {
usr.sbin/mtree/spec.c
225
if (strcmp(centry->name, ".") == 0 && centry->type == 0)
usr.sbin/mtree/spec.c
226
centry->type = F_DIR;
usr.sbin/mtree/spec.c
231
if (centry->type != F_DIR)
usr.sbin/mtree/spec.c
234
F_DIR, centry->type);
usr.sbin/mtree/spec.c
248
} else if (last->type == F_DIR && !(last->flags & F_DONE)) {
usr.sbin/mtree/spec.c
329
if (cur->type != F_DIR && !matchtags(cur))
usr.sbin/mtree/spec.c
343
nodetype(cur->type));
usr.sbin/mtree/spec.c
363
(cur->type == F_BLOCK || cur->type == F_CHAR))
usr.sbin/mtree/spec.c
493
if (cur->type != new->type) {
usr.sbin/mtree/spec.c
499
REPLACE(type);
usr.sbin/mtree/spec.c
506
cur->name, nodetype(cur->type),
usr.sbin/mtree/spec.c
507
nodetype(new->type));
usr.sbin/mtree/spec.c
543
int type, value;
usr.sbin/mtree/spec.c
555
ip->flags |= type = parsekey(kw, &value);
usr.sbin/mtree/spec.c
563
switch (type) {
usr.sbin/mtree/spec.c
655
ip->type = parsetype(val);
usr.sbin/mtree/spec.c
696
type);
usr.sbin/mtree/spec.c
849
if ((a->type & F_DIR) != 0) {
usr.sbin/mtree/spec.c
850
if ((b->type & F_DIR) == 0)
usr.sbin/mtree/spec.c
852
} else if ((b->type & F_DIR) != 0) {
usr.sbin/mtree/specspec.c
132
if (n1 != NULL && n1->type == F_LINK)
usr.sbin/mtree/specspec.c
134
if (n2 != NULL && n2->type == F_LINK)
usr.sbin/mtree/specspec.c
147
if (n1->type != n2->type) {
usr.sbin/mtree/specspec.c
216
if (c1->type != F_DIR && c2->type == F_DIR) {
usr.sbin/mtree/specspec.c
219
} else if (c1->type == F_DIR && c2->type != F_DIR) {
usr.sbin/mtree/specspec.c
233
if (c1 == NULL && c2->type == F_DIR) {
usr.sbin/mtree/specspec.c
238
} else if (c2 == NULL && c1->type == F_DIR) {
usr.sbin/mtree/specspec.c
245
} else if (c1->type == F_DIR && c2->type == F_DIR) {
usr.sbin/mtree/specspec.c
61
printf("%s%s %s", path, n->name, inotype(nodetoino(n->type)));
usr.sbin/mtree/verify.c
135
ep->type == F_DIR &&
usr.sbin/mtree/verify.c
183
const char *type;
usr.sbin/mtree/verify.c
189
if (p->type != F_DIR && (dflag || p->flags & F_VISIT))
usr.sbin/mtree/verify.c
203
switch (p->type) {
usr.sbin/mtree/verify.c
206
type = "device";
usr.sbin/mtree/verify.c
209
type = "directory";
usr.sbin/mtree/verify.c
212
type = "symlink";
usr.sbin/mtree/verify.c
221
if (mtree_Wflag || p->type == F_LINK)
usr.sbin/mtree/verify.c
225
" (%s not created: user not specified)", type);
usr.sbin/mtree/verify.c
228
" (%s not created: group not specified)", type);
usr.sbin/mtree/verify.c
231
" (%s not created: mode not specified)", type);
usr.sbin/mtree/verify.c
234
switch (p->type) {
usr.sbin/mtree/verify.c
242
type);
usr.sbin/mtree/verify.c
244
p->st_mode | nodetoino(p->type),
usr.sbin/mtree/verify.c
247
type, strerror(errno));
usr.sbin/mtree/verify.c
255
type);
usr.sbin/mtree/verify.c
259
type, strerror(errno));
usr.sbin/mtree/verify.c
272
nodetype(p->type));
usr.sbin/mtree/verify.c
277
if (p->type == F_DIR) {
usr.sbin/npf/npfctl/npf_bpf_comp.c
474
fetch_ether_type(npf_bpf_t *ctx, uint16_t type)
usr.sbin/npf/npfctl/npf_bpf_comp.c
476
if ((ctx->flags & FETCHED_L2) != 0 || (type && ctx->eth_type != 0))
usr.sbin/npf/npfctl/npf_bpf_comp.c
479
const uint8_t jt = type ? 0 : JUMP_MAGIC;
usr.sbin/npf/npfctl/npf_bpf_comp.c
480
const uint8_t jf = type ? JUMP_MAGIC : 0;
usr.sbin/npf/npfctl/npf_bpf_comp.c
494
type = ntohs(type);
usr.sbin/npf/npfctl/npf_bpf_comp.c
498
BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, type, jt, jf),
usr.sbin/npf/npfctl/npf_bpf_comp.c
502
ctx->eth_type = type;
usr.sbin/npf/npfctl/npf_bpf_comp.c
504
if (type) { /* bookmark ether type */
usr.sbin/npf/npfctl/npf_bpf_comp.c
505
uint32_t mwords[] = { BM_ETHER_TYPE, 1, htons(type) };
usr.sbin/npf/npfctl/npf_bpf_comp.c
844
npfctl_bpf_icmp(npf_bpf_t *ctx, int type, int code)
usr.sbin/npf/npfctl/npf_bpf_comp.c
852
assert(type != -1 || code != -1);
usr.sbin/npf/npfctl/npf_bpf_comp.c
857
if (type != -1) {
usr.sbin/npf/npfctl/npf_bpf_comp.c
860
BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, type, 0, JUMP_MAGIC),
usr.sbin/npf/npfctl/npf_bpf_comp.c
864
uint32_t mwords[] = { BM_ICMP_TYPE, 1, type };
usr.sbin/npf/npfctl/npf_build.c
1003
if ((type & NPF_NATIN) != 0 && ap1->ap_netaddr == NULL) {
usr.sbin/npf/npfctl/npf_build.c
1006
if ((type & NPF_NATOUT) != 0 && ap2->ap_netaddr == NULL) {
usr.sbin/npf/npfctl/npf_build.c
1014
binat = (NPF_NATIN | NPF_NATOUT) == type;
usr.sbin/npf/npfctl/npf_build.c
1024
if (type & NPF_NATIN) {
usr.sbin/npf/npfctl/npf_build.c
1027
if (type & NPF_NATOUT) {
usr.sbin/npf/npfctl/npf_build.c
1038
if (type & NPF_NATIN) {
usr.sbin/npf/npfctl/npf_build.c
1041
if (type & NPF_NATOUT) {
usr.sbin/npf/npfctl/npf_build.c
1092
if (type & NPF_NATIN) {
usr.sbin/npf/npfctl/npf_build.c
1099
if (type & NPF_NATOUT) {
usr.sbin/npf/npfctl/npf_build.c
1154
npfctl_fill_table(nl_table_t *tl, unsigned type, const char *fname, FILE *fp)
usr.sbin/npf/npfctl/npf_build.c
1175
if (type != NPF_TABLE_LPM && fam.fam_mask != NPF_NO_NETMASK) {
usr.sbin/npf/npfctl/npf_build.c
1190
npfctl_load_table(const char *tname, int tid, unsigned type,
usr.sbin/npf/npfctl/npf_build.c
1195
tl = npf_table_create(tname, tid, type);
usr.sbin/npf/npfctl/npf_build.c
1197
npfctl_fill_table(tl, type, fname, fp);
usr.sbin/npf/npfctl/npf_build.c
1208
npfctl_build_table(const char *tname, unsigned type, const char *fname)
usr.sbin/npf/npfctl/npf_build.c
1212
if (type == NPF_TABLE_CONST && !fname) {
usr.sbin/npf/npfctl/npf_build.c
1216
tl = npfctl_load_table(tname, npfctl_tid_counter++, type, fname, NULL);
usr.sbin/npf/npfctl/npf_build.c
317
const unsigned type = npfvar_getfilt_type(vars, i);
usr.sbin/npf/npfctl/npf_build.c
318
void *data = npfvar_getfilt_data(vars, type, i);
usr.sbin/npf/npfctl/npf_build.c
322
switch (type) {
usr.sbin/npf/npfctl/npf_build.c
354
yyerror("unexpected %s", npfvar_type(type));
usr.sbin/npf/npfctl/npf_build.c
906
npfctl_build_nat(int type, const char *ifname, const addr_port_t *ap,
usr.sbin/npf/npfctl/npf_build.c
927
nat = npf_nat_create(type, flags, ifname);
usr.sbin/npf/npfctl/npf_build.c
954
const unsigned type = npfvar_get_type(ap->ap_netaddr, 0);
usr.sbin/npf/npfctl/npf_build.c
959
if (type == NPFVAR_FAM) {
usr.sbin/npf/npfctl/npf_build.c
968
if (type != NPFVAR_FAM) {
usr.sbin/npf/npfctl/npf_build.c
987
npfctl_build_natseg(int sd, int type, unsigned mflags, const char *ifname,
usr.sbin/npf/npfctl/npf_cmd.c
205
unsigned type;
usr.sbin/npf/npfctl/npf_cmd.c
215
return tbltypes[i].type;
usr.sbin/npf/npfctl/npf_cmd.c
227
unsigned type = 0;
usr.sbin/npf/npfctl/npf_cmd.c
251
if (typename && (type = npfctl_table_type(typename)) == 0) {
usr.sbin/npf/npfctl/npf_cmd.c
276
if (!type) {
usr.sbin/npf/npfctl/npf_cmd.c
277
type = npf_table_gettype(t);
usr.sbin/npf/npfctl/npf_cmd.c
281
if ((t = npfctl_load_table(newname, tid, type, path, fp)) == NULL) {
usr.sbin/npf/npfctl/npf_data.c
339
int type = npfvar_get_type(vp, i);
usr.sbin/npf/npfctl/npf_data.c
340
void *data = npfvar_get_data(vp, type, i);
usr.sbin/npf/npfctl/npf_data.c
343
switch (type) {
usr.sbin/npf/npfctl/npf_data.c
361
"for port range", v, npfvar_type(type));
usr.sbin/npf/npfctl/npf_data.c
364
"inline list", npfvar_type(type));
usr.sbin/npf/npfctl/npf_data.c
539
npfctl_icmptype(int proto, const char *type)
usr.sbin/npf/npfctl/npf_data.c
547
if (strcmp(icmp_type[ul], type) == 0)
usr.sbin/npf/npfctl/npf_data.c
552
if (strcmp(icmp6_type_err[ul], type) == 0)
usr.sbin/npf/npfctl/npf_data.c
555
if (strcmp(icmp6_type_info[ul], type) == 0)
usr.sbin/npf/npfctl/npf_data.c
564
yyerror("unknown icmp-type %s", type);
usr.sbin/npf/npfctl/npf_data.c
569
npfctl_icmpcode(int proto, uint8_t type, const char *code)
usr.sbin/npf/npfctl/npf_data.c
576
switch (type) {
usr.sbin/npf/npfctl/npf_data.c
610
type, code);
usr.sbin/npf/npfctl/npf_data.c
615
switch (type) {
usr.sbin/npf/npfctl/npf_data.c
642
type, code);
usr.sbin/npf/npfctl/npf_data.c
657
yyerror("unknown code %s for icmp-type %d", code, type);
usr.sbin/npf/npfctl/npf_data.c
662
npfctl_parse_icmp(int proto __unused, int type, int code)
usr.sbin/npf/npfctl/npf_data.c
666
if (!npfvar_add_element(vp, NPFVAR_ICMP, &type, sizeof(type)))
usr.sbin/npf/npfctl/npf_parse.y
1010
$1, npfvar_type(type));
usr.sbin/npf/npfctl/npf_parse.y
835
int type = npfvar_get_type(vp, 0);
usr.sbin/npf/npfctl/npf_parse.y
838
switch (type) {
usr.sbin/npf/npfctl/npf_parse.y
843
type = npfvar_get_type(vp, 0);
usr.sbin/npf/npfctl/npf_parse.y
853
ifna = npfvar_get_data(vp, type, i);
usr.sbin/npf/npfctl/npf_parse.y
862
"or interface", $1, npfvar_type(type));
usr.sbin/npf/npfctl/npf_parse.y
977
const int type = npfvar_get_type(vp, 0);
usr.sbin/npf/npfctl/npf_parse.y
983
switch (type) {
usr.sbin/npf/npfctl/npf_parse.y
992
ifna = npfvar_get_data(vp, type, 0);
usr.sbin/npf/npfctl/npf_parse.y
996
tid = npfvar_get_data(vp, type, 0);
usr.sbin/npf/npfctl/npf_show.c
313
const uint8_t *type = (const uint8_t *)words;
usr.sbin/npf/npfctl/npf_show.c
316
_DIAGASSERT(type != NULL);
usr.sbin/npf/npfctl/npf_show.c
318
easprintf(&a, "Ex%02x%02x", type[0], type[1]);
usr.sbin/npf/npfctl/npf_show.c
563
int type;
usr.sbin/npf/npfctl/npf_show.c
566
if (!marks && (code = npf_rule_getcode(rl, &type, &len)) != NULL) {
usr.sbin/npf/npfctl/npf_show.c
572
ctx->fpos += fprintf(ctx->fp, "%s ", type == NPF_CODE_BPF ?
usr.sbin/npf/npfctl/npf_show.c
792
const unsigned type = npf_table_gettype(tl);
usr.sbin/npf/npfctl/npf_show.c
803
assert(type < __arraycount(table_types));
usr.sbin/npf/npfctl/npf_show.c
805
"table <%s> type %s\n", name, table_types[type]);
usr.sbin/npf/npfctl/npf_var.c
101
return npfvar_add_element(vp, type, data, len);
usr.sbin/npf/npfctl/npf_var.c
105
npfvar_create_from_string(unsigned type, const char *string)
usr.sbin/npf/npfctl/npf_var.c
107
return npfvar_create_element(type, string, strlen(string) + 1);
usr.sbin/npf/npfctl/npf_var.c
111
npfvar_add_element(npfvar_t *vp, unsigned type, const void *data, size_t len)
usr.sbin/npf/npfctl/npf_var.c
117
el->e_type = type;
usr.sbin/npf/npfctl/npf_var.c
201
int type = npfvar_get_type(vp, 0);
usr.sbin/npf/npfctl/npf_var.c
204
switch (type) {
usr.sbin/npf/npfctl/npf_var.c
220
var_id, npfvar_type(type), ridt);
usr.sbin/npf/npfctl/npf_var.c
268
npfvar_getfilt_data(const npfvar_t *vp, unsigned type, size_t idx)
usr.sbin/npf/npfctl/npf_var.c
275
if (el && NPFVAR_TYPE(el->e_type) != NPFVAR_TYPE(type)) {
usr.sbin/npf/npfctl/npf_var.c
278
idx, npfvar_type(el->e_type), npfvar_type(type));
usr.sbin/npf/npfctl/npf_var.c
313
npfvar_get_data(const npfvar_t *vp, unsigned type, size_t idx)
usr.sbin/npf/npfctl/npf_var.c
328
return npfvar_get_data(rvp, type, idx);
usr.sbin/npf/npfctl/npf_var.c
331
if (el && NPFVAR_TYPE(el->e_type) != NPFVAR_TYPE(type)) {
usr.sbin/npf/npfctl/npf_var.c
334
idx, npfvar_type(el->e_type), npfvar_type(type));
usr.sbin/npf/npfctl/npf_var.c
98
npfvar_create_element(unsigned type, const void *data, size_t len)
usr.sbin/npf/npftest/libnpftest/npf_mbuf_subr.c
308
mbuf_get_frame(const char *src, const char *dst, uint16_t type)
usr.sbin/npf/npftest/libnpftest/npf_mbuf_subr.c
321
ethdr->ether_type = type;
usr.sbin/pstat/pstat.c
408
const char *type;
usr.sbin/pstat/pstat.c
417
type = "non"; break;
usr.sbin/pstat/pstat.c
419
type = "reg"; break;
usr.sbin/pstat/pstat.c
421
type = "dir"; break;
usr.sbin/pstat/pstat.c
423
type = "blk"; break;
usr.sbin/pstat/pstat.c
425
type = "chr"; break;
usr.sbin/pstat/pstat.c
427
type = "lnk"; break;
usr.sbin/pstat/pstat.c
429
type = "soc"; break;
usr.sbin/pstat/pstat.c
431
type = "fif"; break;
usr.sbin/pstat/pstat.c
433
type = "bad"; break;
usr.sbin/pstat/pstat.c
435
type = "unk"; break;
usr.sbin/pstat/pstat.c
445
PRWORD(ovflw, " %*s", 4, 1, type);
usr.sbin/pstat/pstat.c
486
mode_t type;
usr.sbin/pstat/pstat.c
510
type = ip->i_mode & S_IFMT;
usr.sbin/pstat/pstat.c
513
(name = devname(rdev, type)) == NULL) {
usr.sbin/pstat/pstat.c
531
mode_t type;
usr.sbin/pstat/pstat.c
544
type = dip.e2di_mode & S_IFMT;
usr.sbin/pstat/pstat.c
547
(name = devname(dip.e2di_rdev, type)) == NULL) {
usr.sbin/pstat/pstat.c
583
mode_t type;
usr.sbin/pstat/pstat.c
593
type = S_IFCHR;
usr.sbin/pstat/pstat.c
597
type = S_IFBLK;
usr.sbin/pstat/pstat.c
599
if (usenumflag || (name = devname(va.va_rdev, type)) == NULL) {
usr.sbin/puffs/mount_9p/fs.c
128
if ((type = p9pbuf_get_type(pb)) != P9PROTO_R_ATTACH)
usr.sbin/puffs/mount_9p/fs.c
129
errx(1, "Rattach not received, got %d", type);
usr.sbin/puffs/mount_9p/fs.c
178
if ((type = p9pbuf_get_type(pb)) != P9PROTO_R_WALK)
usr.sbin/puffs/mount_9p/fs.c
179
errx(1, "Rwalk not received for rnode, got %d", type);
usr.sbin/puffs/mount_9p/fs.c
213
if ((type = p9pbuf_get_type(pb)) != P9PROTO_R_STAT)
usr.sbin/puffs/mount_9p/fs.c
214
errx(1, "Rstat not received, got %d", type);
usr.sbin/puffs/mount_9p/fs.c
75
uint8_t type;
usr.sbin/puffs/mount_9p/fs.c
91
if ((type = p9pbuf_get_type(pb)) != P9PROTO_R_VERSION)
usr.sbin/puffs/mount_9p/fs.c
92
errx(1, "server invalid response to Tversion: %d", type);
usr.sbin/puffs/mount_psshfs/fs.c
178
uint8_t type;
usr.sbin/puffs/mount_psshfs/fs.c
190
type = psbuf_get_type(pb);
usr.sbin/puffs/mount_psshfs/fs.c
191
if (type != SSH_FXP_EXTENDED_REPLY) {
usr.sbin/puffs/mount_psshfs/psbuf.c
456
uint8_t type;
usr.sbin/puffs/mount_psshfs/psbuf.c
458
type = psbuf_get_type(pb);
usr.sbin/puffs/mount_psshfs/psbuf.c
459
if (type == value)
usr.sbin/puffs/mount_psshfs/psbuf.c
462
if (type != SSH_FXP_STATUS)
usr.sbin/puffs/mount_psshfs/psbuf.c
576
psbuf_req_data(struct puffs_framebuf *pb, int type, uint32_t reqid,
usr.sbin/puffs/mount_psshfs/psbuf.c
580
psbuf_put_1(pb, type);
usr.sbin/puffs/mount_psshfs/psbuf.c
586
psbuf_req_str(struct puffs_framebuf *pb, int type, uint32_t reqid,
usr.sbin/puffs/mount_psshfs/psbuf.c
590
psbuf_req_data(pb, type, reqid, str, strlen(str));
usr.sbin/puffs/mount_psshfs/psbuf.c
66
uint8_t type;
usr.sbin/puffs/mount_psshfs/psbuf.c
68
puffs_framebuf_getdata_atoff(pb, SFTP_TYPEOFF, &type, 1);
usr.sbin/puffs/mount_psshfs/psbuf.c
69
return type;
usr.sbin/pwd_mkdb/pwd_mkdb.c
898
deldbent(struct pwddb *db, int type, void *keyp)
usr.sbin/pwd_mkdb/pwd_mkdb.c
907
switch (tbuf[0] = type) {
usr.sbin/pwd_mkdb/pwd_mkdb.c
929
getdbent(struct pwddb *db, int type, void *keyp, struct passwd **tpwd)
usr.sbin/pwd_mkdb/pwd_mkdb.c
943
switch (tbuf[0] = type) {
usr.sbin/quotacheck/quotacheck.c
316
chkquota(const char *type, const char *fsname, const char *mntpt, void *v,
usr.sbin/quotacheck/quotacheck.c
480
update(const char *fsname, const char *quotafile, int type)
usr.sbin/quotacheck/quotacheck.c
529
for (lastid = highid[type], id = 0; id <= lastid; id = nextid) {
usr.sbin/quotacheck/quotacheck.c
532
if ((fup = lookup(id, type)) == 0)
usr.sbin/quotacheck/quotacheck.c
535
nextid = subsequent(id, type);
usr.sbin/quotacheck/quotacheck.c
547
qfextension[type < MAXQUOTAS ? type : MAXQUOTAS],
usr.sbin/quotacheck/quotacheck.c
606
if (highid[type] != UINT32_MAX)
usr.sbin/quotacheck/quotacheck.c
608
(off_t)((highid[type] + 1) * sizeof(struct dqblk)));
usr.sbin/quotacheck/quotacheck.c
662
lookup(uint32_t id, int type)
usr.sbin/quotacheck/quotacheck.c
666
for (fup = fuhead[type][id & (FUHASH-1)]; fup != 0; fup = fup->fu_next)
usr.sbin/quotacheck/quotacheck.c
676
addid(uint32_t id, int type, const char *name)
usr.sbin/quotacheck/quotacheck.c
681
if ((fup = lookup(id, type)) != NULL)
usr.sbin/quotacheck/quotacheck.c
689
fhp = &fuhead[type][id & (FUHASH - 1)];
usr.sbin/quotacheck/quotacheck.c
693
if (id > highid[type])
usr.sbin/quotacheck/quotacheck.c
694
highid[type] = id;
usr.sbin/quotacheck/quotacheck.c
703
subsequent(uint32_t id, int type)
usr.sbin/quotacheck/quotacheck.c
708
next = highid[type] + 1;
usr.sbin/quotacheck/quotacheck.c
710
cup = iup = &fuhead[type][id & (FUHASH-1)];
usr.sbin/quotacheck/quotacheck.c
713
if (++cup >= &fuhead[type][FUHASH])
usr.sbin/quotacheck/quotacheck.c
714
cup = &fuhead[type][0];
usr.sbin/quotaon/quotaon.c
220
const char *type;
usr.sbin/quotaon/quotaon.c
227
type = quota_idtype_getname(qh, idtype);
usr.sbin/quotaon/quotaon.c
241
type = quota_idtype_getname(qh, idtype);
usr.sbin/quotaon/quotaon.c
246
fs->fs_file, type, mode);
usr.sbin/route6d/route6d.c
266
#define MALLOC(type) (malloc(sizeof(type)))
usr.sbin/route6d/route6d.c
3194
iff_find(struct ifc *ifcp, int type)
usr.sbin/route6d/route6d.c
3199
if (iffp->iff_type == type)
usr.sbin/rtadvd/if.c
193
#define FILTER_MATCH(type, filter) ((0x1 << type) & filter)
usr.sbin/rtadvd/if.h
33
#define RTADV_TYPE2BITMASK(type) (0x1 << type)
usr.sbin/rtadvd/rtadvd.c
463
int n, type, ifindex = 0, plen;
usr.sbin/rtadvd/rtadvd.c
522
type = rtmsg_type(next);
usr.sbin/rtadvd/rtadvd.c
523
switch (type) {
usr.sbin/rtadvd/rtadvd.c
563
__func__, type,
usr.sbin/rtadvd/rtadvd.c
582
switch (type) {
usr.sbin/rtadvd/rtadvd.c
686
__func__, type,
usr.sbin/sesd/srcs/eltsub.c
117
(void) sprintf(rbuf, "<Type 0x%x>", type);
usr.sbin/sesd/srcs/eltsub.c
48
geteltnm(int type)
usr.sbin/sesd/srcs/eltsub.c
52
switch (type) {
usr.sbin/sysinst/arch/i386/md.c
407
if (install->infos[i].type != PT_EFI_SYSTEM)
usr.sbin/sysinst/arch/i386/md.c
951
.type = BOOT_PART_TYPE,
usr.sbin/sysinst/arch/i386/md.c
990
if (info.nat_type->generic_ptype != boot->type)
usr.sbin/sysinst/arch/mac68k/md.c
1167
char buf[96], type;
usr.sbin/sysinst/arch/mac68k/md.c
1183
type = bzb->flags.part;
usr.sbin/sysinst/arch/mac68k/md.c
1184
if (type < 'a' || type > 'h') type = '?';
usr.sbin/sysinst/arch/mac68k/md.c
1186
sprintf(buf, " %02d:%c %08x %8s %10s %s", i+1, type,
usr.sbin/sysinst/arch/mac68k/md.c
618
int type, maxsiz, entry_type = MAP_OTHER;
usr.sbin/sysinst/arch/mac68k/md.c
632
while (map_entry->type != MAP_EOL) {
usr.sbin/sysinst/arch/mac68k/md.c
634
entry_type = map_entry->type;
usr.sbin/sysinst/arch/mac68k/md.c
644
type = 0;
usr.sbin/sysinst/arch/mac68k/md.c
647
type = 0;
usr.sbin/sysinst/arch/mac68k/md.c
648
else if (bzb->type == APPLE_BZB_TYPEFS) {
usr.sbin/sysinst/arch/mac68k/md.c
650
type = ROOT_PART;
usr.sbin/sysinst/arch/mac68k/md.c
652
type = UFS_PART;
usr.sbin/sysinst/arch/mac68k/md.c
654
type = SCRATCH_PART;
usr.sbin/sysinst/arch/mac68k/md.c
655
} else if (bzb->type == APPLE_BZB_TYPESWAP)
usr.sbin/sysinst/arch/mac68k/md.c
656
type = SWAP_PART;
usr.sbin/sysinst/arch/mac68k/md.c
658
type = SCRATCH_PART;
usr.sbin/sysinst/arch/mac68k/md.c
660
type = HFS_PART;
usr.sbin/sysinst/arch/mac68k/md.c
662
type = SCRATCH_PART;
usr.sbin/sysinst/arch/mac68k/md.c
663
return type;
usr.sbin/sysinst/arch/mac68k/md.c
667
getFstype(part, len_type, type)
usr.sbin/sysinst/arch/mac68k/md.c
670
char *type;
usr.sbin/sysinst/arch/mac68k/md.c
672
*type = '\0';
usr.sbin/sysinst/arch/mac68k/md.c
676
strncpy(type, "4.2BSD", len_type);
usr.sbin/sysinst/arch/mac68k/md.c
679
strncpy(type, "swap", len_type);
usr.sbin/sysinst/arch/mac68k/md.c
682
strncpy(type, "HFS", len_type);
usr.sbin/sysinst/arch/mac68k/md.c
688
return (type);
usr.sbin/sysinst/arch/mac68k/md.c
789
findStdType(num_parts, in_use, type, count, alt)
usr.sbin/sysinst/arch/mac68k/md.c
792
int type;
usr.sbin/sysinst/arch/mac68k/md.c
801
if (whichType(&map.blk[i]) != type || bzb->flags.used)
usr.sbin/sysinst/arch/mac68k/md.c
803
if (type == ROOT_PART) {
usr.sbin/sysinst/arch/mac68k/md.c
809
} else if (type == UFS_PART) {
usr.sbin/sysinst/arch/mac68k/md.c
816
} else if (type == SWAP_PART) {
usr.sbin/sysinst/arch/mac68k/md.c
864
bzb->type = 0;
usr.sbin/sysinst/arch/mac68k/md.h
109
u_int8_t type; /* 1=>Std FS, 2=>Autorecovery FS, 3=>SWAP FS */
usr.sbin/sysinst/arch/mac68k/md.h
55
int type; /* Entry type from above */
usr.sbin/sysinst/bsddisklabel.c
1008
if (wanted->infos[i].type == PT_undef &&
usr.sbin/sysinst/bsddisklabel.c
1015
wanted->infos[i].type = pt->generic_ptype;
usr.sbin/sysinst/bsddisklabel.c
1024
if (wanted->infos[i].type == PT_swap) {
usr.sbin/sysinst/bsddisklabel.c
1032
if (wanted->infos[i].type == PT_swap && swap > wanted->num)
usr.sbin/sysinst/bsddisklabel.c
1038
if (wanted->infos[i].type == PT_root) {
usr.sbin/sysinst/bsddisklabel.c
1300
infos[pno].type = info.nat_type->generic_ptype;
usr.sbin/sysinst/bsddisklabel.c
132
{ .size = DEFROOTSIZE*(MEG/512), .mount = "/", .type = PT_root,
usr.sbin/sysinst/bsddisklabel.c
138
.type = PT_swap, .fs_type = FS_SWAP },
usr.sbin/sysinst/bsddisklabel.c
140
{ .type = PT_root, .mount = "/tmp", .fs_type = FS_TMPFS,
usr.sbin/sysinst/bsddisklabel.c
143
{ .type = PT_root, .mount = "/tmp", .fs_type = FS_MFS,
usr.sbin/sysinst/bsddisklabel.c
146
{ .def_size = DEFUSRSIZE*(MEG/512), .mount = "/usr", .type = PT_root,
usr.sbin/sysinst/bsddisklabel.c
148
{ .def_size = DEFVARSIZE*(MEG/512), .mount = "/var", .type = PT_root,
usr.sbin/sysinst/bsddisklabel.c
1514
want->type, want->fs_type, want->fs_version);
usr.sbin/sysinst/bsddisklabel.c
1601
want->type, want->fs_type, want->fs_version);
usr.sbin/sysinst/bsddisklabel.c
1609
want->type != PT_swap) {
usr.sbin/sysinst/bsddisklabel.c
1662
get_fs_part_type(want->type, want->fs_type,
usr.sbin/sysinst/bsddisklabel.c
1689
want->type != PT_swap) {
usr.sbin/sysinst/bsddisklabel.c
1899
if (wanted.infos[i].type != PT_root ||
usr.sbin/sysinst/bsddisklabel.c
1920
wanted.infos[i].type == PT_EFI_SYSTEM) {
usr.sbin/sysinst/bsddisklabel.c
1932
if ((wanted.infos[i].type != PT_FAT &&
usr.sbin/sysinst/bsddisklabel.c
1933
wanted.infos[i].type != PT_EFI_SYSTEM) ||
usr.sbin/sysinst/bsddisklabel.c
2024
if (install->infos[i].type != PT_root)
usr.sbin/sysinst/bsddisklabel.c
252
if (pset->infos[opt].type == PT_swap) {
usr.sbin/sysinst/bsddisklabel.c
367
p->type = PT_root;
usr.sbin/sysinst/bsddisklabel.c
891
if (wanted->infos[i].type != info->nat_type->generic_ptype)
usr.sbin/sysinst/bsddisklabel.c
893
if (wanted->infos[i].type == PT_root &&
usr.sbin/sysinst/bsddisklabel.c
905
wanted->infos[i].type != PT_swap &&
usr.sbin/sysinst/bsddisklabel.c
936
infos->type = info->nat_type->generic_ptype;
usr.sbin/sysinst/bsddisklabel.c
990
if (wanted->infos[i].type != PT_root ||
usr.sbin/sysinst/defs.h
298
enum part_type type; /* PT_root/PT_swap/PT_EFI_SYSTEM */
usr.sbin/sysinst/defs.h
518
PM_RAID, PM_CGD, PM_VND, PM_LVM, PM_LVMLV} type;
usr.sbin/sysinst/disklabel.c
59
unsigned int type;
usr.sbin/sysinst/disklabel.c
631
return dl_custom_ptypes[i].type;
usr.sbin/sysinst/disklabel.c
659
disklabel_find_type(uint type, bool create_if_unknown)
usr.sbin/sysinst/disklabel.c
664
if (type < __arraycount(dl_types))
usr.sbin/sysinst/disklabel.c
665
return &dl_types[type];
usr.sbin/sysinst/disklabel.c
668
if (dl_custom_ptypes[i].type == type)
usr.sbin/sysinst/disklabel.c
681
nt->type = type;
usr.sbin/sysinst/disklabel.c
682
snprintf(nt->short_desc, sizeof(nt->short_desc), "%u", type);
usr.sbin/sysinst/disklabel.c
685
"%s (%u)", msg_string(MSG_custom_type), type);
usr.sbin/sysinst/disks.c
1242
if (pa->type == PT_swap)
usr.sbin/sysinst/disks.c
1244
if (pb->type == PT_swap)
usr.sbin/sysinst/disks.c
1246
if (pa->type < pb->type)
usr.sbin/sysinst/disks.c
1248
if (pa->type > pb->type)
usr.sbin/sysinst/disks.c
1333
if (ptn->size == 0 || parts == NULL|| ptn->type == PT_swap)
usr.sbin/sysinst/disks.c
1518
bool is_tmpfs = ptn->type == PT_root &&
usr.sbin/sysinst/disks.c
1522
if (!is_tmpfs && ptn->type != PT_swap &&
usr.sbin/sysinst/disks.c
2143
if (install->infos[i].type == PT_swap)
usr.sbin/sysinst/disks.c
2241
if (install->infos[i].type == PT_root) {
usr.sbin/sysinst/gpt.c
1925
{ .label = MSG_ptn_label, .type = pet_str },
usr.sbin/sysinst/gpt.c
1926
{ .label = MSG_ptn_uuid, .type = pet_str },
usr.sbin/sysinst/gpt.c
1927
{ .label = MSG_ptn_gpt_type, .type = pet_str },
usr.sbin/sysinst/gpt.c
1928
{ .label = MSG_ptn_boot, .type = pet_bool },
usr.sbin/sysinst/label.c
1010
edit.wanted->type =
usr.sbin/sysinst/label.c
1312
switch (edit->pset->parts->pscheme->custom_attributes[attr_no].type) {
usr.sbin/sysinst/label.c
521
(pset->infos[i].type ==
usr.sbin/sysinst/label.c
639
edit->wanted->type = edit->info.nat_type->generic_ptype;
usr.sbin/sysinst/label.c
743
edit->wanted->type = edit->info.nat_type->generic_ptype;
usr.sbin/sysinst/label.c
761
edit->wanted->type = edit->info.nat_type->generic_ptype;
usr.sbin/sysinst/mbr.c
3149
{ .label = MSG_ptn_active, .type = pet_bool },
usr.sbin/sysinst/mbr.c
3151
{ .label = MSG_boot_dflt, .type = pet_bool },
usr.sbin/sysinst/mbr.c
3152
{ .label = MSG_bootmenu, .type = pet_str,
usr.sbin/sysinst/part_edit.c
325
switch (marg->parts->pscheme->custom_attributes[attr_no].type) {
usr.sbin/sysinst/partitions.h
177
enum custom_attr_type type; /* bool, long, char* */
usr.sbin/sysinst/partman.c
1439
.dev_ptr = mypm, .type = PM_CGD };
usr.sbin/sysinst/partman.c
2198
if (pe->type == PM_DISK)
usr.sbin/sysinst/partman.c
2202
if (pe->type != PM_DISK)
usr.sbin/sysinst/partman.c
2435
if (pe->type == PM_DISK) {
usr.sbin/sysinst/partman.c
2443
} else if (pe->type == PM_PART) {
usr.sbin/sysinst/partman.c
2783
switch (cur_pe->type) {
usr.sbin/sysinst/partman.c
2805
switch (cur_pe->type) {
usr.sbin/sysinst/partman.c
2852
switch (((struct part_entry *)arg)[opt].type) {
usr.sbin/sysinst/partman.c
2929
((struct part_entry *)arg)[*i].type = d->pe_type;
usr.sbin/sysinst/partman.c
2951
((struct part_entry *)arg)[*i].type = d->pe_type;
usr.sbin/sysinst/partman.c
3005
cur_entry->type = PM_SPEC;
usr.sbin/sysinst/partman.c
3010
cur_entry->type = PM_DISK;
usr.sbin/sysinst/partman.c
3041
cur_entry->type = PM_PART;
usr.sbin/sysinst/partman.c
3064
cur_entry->type = PM_PART;
usr.sbin/sysinst/partman.c
3433
switch (pe->type) {
usr.sbin/sysinst/partman.c
349
pm_dev_list(int type)
usr.sbin/sysinst/partman.c
371
switch (type) {
usr.sbin/sysinst/target.c
460
target_fopen(const char *filename, const char *type)
usr.sbin/sysinst/target.c
463
return fopen(target_expand(filename), type);
usr.sbin/sysinst/util.c
2525
(*list)[no].type = info.nat_type->generic_ptype;
usr.sbin/sysinst/util.c
2526
if ((*list)[no].type == PT_swap) {
usr.sbin/sysinst/util.c
436
if (isonum_711((const unsigned char *)&vd->type)
usr.sbin/syslogd/tls.c
472
if (gn->type == GEN_IPADD
usr.sbin/syslogd/tls.c
483
if (gn->type == GEN_DNS) {
usr.sbin/tcpdchk/inetcf.c
305
void inet_set(char *name, int type)
usr.sbin/tcpdchk/inetcf.c
316
ip->type = type;
usr.sbin/tcpdchk/inetcf.c
331
return (ip->type);
usr.sbin/tcpdchk/inetcf.c
70
int type;
usr.sbin/timed/timed/acksend.c
49
xmit(int type, u_short seq, struct sockaddr_in *addr)
usr.sbin/timed/timed/acksend.c
53
msg.tsp_type = type;
usr.sbin/timed/timed/readmsg.c
120
if (LOOKAT(ptr->info, type, machfrom, netfrom, ptr->addr)) {
usr.sbin/timed/timed/readmsg.c
308
if (LOOKAT(msgin, type, machfrom, netfrom, from)) {
usr.sbin/timed/timed/readmsg.c
76
readmsg(int type, char *machfrom, struct timeval *intvl,
usr.sbin/timed/timed/readmsg.c
91
tsptype[type], machfrom == NULL ? "ANY" : machfrom,
usr.sbin/tpctl/data.c
123
elem->type = TPCTL_COMMENT;
usr.sbin/tpctl/data.c
131
elem->type = TPCTL_CALIBCOORDS;
usr.sbin/tpctl/data.c
290
switch (elem->type) {
usr.sbin/tpctl/data.c
345
switch (elem->type) {
usr.sbin/tpctl/data.c
364
if (elem->type == TPCTL_CALIBCOORDS &&
usr.sbin/tpctl/data.c
372
elem->type = TPCTL_CALIBCOORDS;
usr.sbin/tpctl/data.c
390
if (elem->type == TPCTL_CALIBCOORDS &&
usr.sbin/tpctl/tp.c
120
switch (ev.type) {
usr.sbin/tpctl/tp.c
159
switch (ev.type) {
usr.sbin/tpctl/tp.c
66
if (ioctl(tp->fd, WSMOUSEIO_GTYPE, &type) < 0)
usr.sbin/tpctl/tp.c
68
if (type != WSMOUSE_TYPE_TPANEL) {
usr.sbin/tpctl/tp.c
83
id.type = WSMOUSE_ID_TYPE_UIDSTR;
usr.sbin/tpctl/tpctl.h
61
enum tpctl_data_type type;
usr.sbin/traceroute/traceroute.c
1415
u_char type, code;
usr.sbin/traceroute/traceroute.c
1433
type = icp->icmp_type;
usr.sbin/traceroute/traceroute.c
1445
if ((type == ICMP_TIMXCEED && code == ICMP_TIMXCEED_INTRANS) ||
usr.sbin/traceroute/traceroute.c
1446
type == ICMP_UNREACH || type == ICMP_ECHOREPLY) {
usr.sbin/traceroute/traceroute.c
1458
if (type == ICMP_ECHOREPLY &&
usr.sbin/traceroute/traceroute.c
1469
return type == ICMP_TIMXCEED ? -1 : code + 1;
usr.sbin/traceroute/traceroute.c
1477
return type == ICMP_TIMXCEED ? -1 : code + 1;
usr.sbin/traceroute/traceroute.c
1487
inet_ntoa(ip->ip_dst), type, pr_type(type), icp->icmp_code);
usr.sbin/traceroute6/traceroute6.c
1008
printf(": icmp type %d (%s) code %d\n", type, pr_type(type),
usr.sbin/traceroute6/traceroute6.c
926
u_char type, code;
usr.sbin/traceroute6/traceroute6.c
971
type = icp->icmp6_type;
usr.sbin/traceroute6/traceroute6.c
973
if ((type == ICMP6_TIME_EXCEEDED && code == ICMP6_TIME_EXCEED_TRANSIT)
usr.sbin/traceroute6/traceroute6.c
974
|| type == ICMP6_DST_UNREACH) {
usr.sbin/traceroute6/traceroute6.c
987
return type == ICMP6_TIME_EXCEEDED ? -1 : code + 1;
usr.sbin/traceroute6/traceroute6.c
991
return type == ICMP6_TIME_EXCEEDED ? -1 : code + 1;
usr.sbin/traceroute6/traceroute6.c
992
} else if (useicmp && type == ICMP6_ECHO_REPLY) {
usr.sbin/user/defs.h
33
#define NEWARRAY(type,ptr,size,action) do { \
usr.sbin/user/defs.h
34
if ((ptr = (type *) calloc(sizeof(type), size)) == NULL) { \
usr.sbin/user/defs.h
35
warn("can't allocate %ld bytes", (long)(size * sizeof(type))); \
usr.sbin/user/defs.h
40
#define RENEW(type,ptr,size,action) do { \
usr.sbin/user/defs.h
41
if ((ptr = (type *) realloc(ptr, sizeof(type) * size)) == NULL) { \
usr.sbin/user/defs.h
42
warn("can't realloc %ld bytes", (long)(size * sizeof(type))); \
usr.sbin/user/defs.h
47
#define NEW(type, ptr, action) NEWARRAY(type, ptr, 1, action)
usr.sbin/user/user.c
929
const char *type; /* optional type descriptor */
usr.sbin/user/user.c
957
if (strncmp(newpasswd, pwtp->type, pwtp->desc_length) == 0) {
usr.sbin/wsconscfg/wsconscfg.c
138
wmd.type = mux ? WSMUX_MUX : WSMUX_KBD;
usr.sbin/wsmoused/action.c
122
if (IS_BUTTON_EVENT(evt.type)) {
usr.sbin/wsmoused/action.c
123
switch (evt.type) {
usr.sbin/wsmoused/config.c
102
b->b_type = type;
usr.sbin/wsmoused/config.c
95
block_new(int type)
usr.sbin/wsmoused/selection.c
232
if (IS_MOTION_EVENT(evt.type)) {
usr.sbin/wsmoused/selection.c
237
switch (evt.type) {
usr.sbin/wsmoused/selection.c
298
} else if (IS_BUTTON_EVENT(evt.type)) {
usr.sbin/wsmoused/selection.c
299
switch (evt.type) {
usr.sbin/wsmoused/selection.c
334
switch (evt.type) {
usr.sbin/wsmoused/wsmoused.c
329
"time=[%lld,%ld]\n", event.type,
usr.sbin/wsmoused/wsmoused.c
352
"time=[%lld,%ld]\n", event.type,
usr.sbin/wsmoused/wsmoused.c
382
switch (evt.type) {
usr.sbin/wsmoused/wsmoused.h
35
#define IS_MOTION_EVENT(type) (((type) == WSCONS_EVENT_MOUSE_DELTA_X) || \
usr.sbin/wsmoused/wsmoused.h
36
((type) == WSCONS_EVENT_MOUSE_DELTA_Y) || \
usr.sbin/wsmoused/wsmoused.h
37
((type) == WSCONS_EVENT_MOUSE_DELTA_Z) || \
usr.sbin/wsmoused/wsmoused.h
38
((type) == WSCONS_EVENT_MOUSE_DELTA_W) || \
usr.sbin/wsmoused/wsmoused.h
39
((type) == WSCONS_EVENT_MOUSE_ABSOLUTE_X) || \
usr.sbin/wsmoused/wsmoused.h
40
((type) == WSCONS_EVENT_MOUSE_ABSOLUTE_Y) || \
usr.sbin/wsmoused/wsmoused.h
41
((type) == WSCONS_EVENT_MOUSE_ABSOLUTE_Z) || \
usr.sbin/wsmoused/wsmoused.h
42
((type) == WSCONS_EVENT_MOUSE_ABSOLUTE_W))
usr.sbin/wsmoused/wsmoused.h
44
#define IS_BUTTON_EVENT(type) (((type) == WSCONS_EVENT_MOUSE_UP) || \
usr.sbin/wsmoused/wsmoused.h
45
((type) == WSCONS_EVENT_MOUSE_DOWN))
usr.sbin/wsmuxctl/wsmuxctl.c
61
mdev->type = WSMUX_MOUSE;
usr.sbin/wsmuxctl/wsmuxctl.c
65
mdev->type = WSMUX_KBD;
usr.sbin/wsmuxctl/wsmuxctl.c
69
mdev->type = WSMUX_MUX;
usr.sbin/wsmuxctl/wsmuxctl.c
73
mdev->type = WSMUX_BELL;
usr.sbin/wsmuxctl/wsmuxctl.c
90
switch (devs.devices[i].type) {
usr.sbin/wsmuxctl/wsmuxctl.c
98
if (rec && devs.devices[i].type == WSMUX_MUX) {
usr.sbin/ypserv/ypserv/ypserv.c
366
if ((s = socket(bs->family, bs->type, bs->proto)) == -1)
usr.sbin/ypserv/ypserv/ypserv.c
393
if (bs->type == SOCK_STREAM) {
usr.sbin/ypserv/ypserv/ypserv.c
83
int type;